id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.12030v1
http://arxiv.org/pdf/2406.12030v1
SPA-VL: A Comprehensive Safety Preference Alignment Dataset for Vision Language Model
2024-06-17T18:57:37
2024-06-17T18:57:37
Yongting Zhang, Lu Chen, Guodong Zheng, Yifeng Gao, Rui Zheng, Jinlan Fu, Zhenfei Yin, Senjie Jin, Yu Qiao, Xuanjing Huang, Feng Zhao, Tao Gui, Jing Shao
cs.CV
cs.CV, cs.AI, cs.CL
The emergence of Vision Language Models (VLMs) has brought unprecedented advances in understanding multimodal information. The combination of textual and visual semantics in VLMs is highly complex and diverse, making the safety alignment of these models challenging. Furthermore, due to the limited study on the safety alignment of VLMs, there is a lack of large-scale, high-quality datasets. To address these limitations, we propose a Safety Preference Alignment dataset for Vision Language Models named SPA-VL. In terms of breadth, SPA-VL covers 6 harmfulness domains, 13 categories, and 53 subcategories, and contains 100,788 samples of the quadruple (question, image, chosen response, rejected response). In terms of depth, the responses are collected from 12 open- (e.g., QwenVL) and closed-source (e.g., Gemini) VLMs to ensure diversity. The experimental results indicate that models trained with alignment techniques on the SPA-VL dataset exhibit substantial improvements in harmlessness and helpfulness while maintaining core capabilities. SPA-VL, as a large-scale, high-quality, and diverse dataset, represents a significant milestone in ensuring that VLMs achieve both harmlessness and helpfulness. We have made our code https://github.com/EchoseChen/SPA-VL-RLHF and SPA-VL dataset url https://huggingface.co/datasets/sqrti/SPA-VL publicly available.
[ 0.0324646011, 0.0545562841, -0.0001010124, 0.040948078, -0.0342247933, 0.0334776975, -0.0204135887, -0.0143269617, 0.0095598316, -0.0275699608, -0.0366508104, -0.0364633128, -0.0055596884, 0.0467267819, 0.0088441027, -0.0612788312, 0.0575319491, -0.0201906767, 0.0109545449, 0.0132974219, 0.0703387409, 0.0086844135, 0.0127388341, 0.0414987504, -0.0238612667, -0.0406002961, 0.0262991432, 0.0390826724, 0.0562885478, -0.0464032367, 0.017952621, 0.0497729369, 0.025733836, 0.0113938944, 0.0000019611, -0.045487836, 0.0013421648, 0.0007961902, 0.0236443263, -0.0409559086, 0.0595095158, -0.0455310084, 0.006825041, 0.0137820486, -0.0289663747, -0.0263617337, 0.1085373834, 0.0583597384, 0.053065598, 0.040757589, -0.0109898765, 0.0133926105, 0.0323089845, 0.0145713091, 0.0011067984, -0.0148919383, 0.060287945, -0.0074297092, -0.048846852, 0.0192897208, -0.0314584002, 0.0332436077, -0.0105333123, 0.0059345821, -0.0107402643, -0.0076659936, -0.0259606484, -0.0751482919, -0.0093962578, 0.1030359939, -0.0304482747, -0.0082846619, -0.0269111171, -0.0112429261, -0.0000535735, 0.0158410873, -0.0162481014, 0.0190260839, -0.0024969499, 0.0077398065, -0.0396338701, 0.0205861609, 0.0232466832, 0.0019519911, 0.063362442, 0.0311772041, 0.0210036989, 0.0088439686, 0.0190756619, -0.0257446114, -0.0150033878, -0.0291029252, -0.0279178731, -0.0440847762, -0.0090562776, 0.019700408, -0.0775707141, -0.0063828612, 0.049445577, -0.0636202246, 0.0617271364, 0.0014253135, -0.0528384298, 0.0294037033, 0.0187132824, 0.0321733244, -0.023678638, 0.0659837872, -0.0411079749, 0.0097334767, 0.023961829, 0.0050978372, 0.0144600943, -0.0180984791, -0.0244844016, 0.0121633373, -0.0677945614, 0.0136353988, -0.0537201054, 0.0186186302, -0.006259684, 0.0182434339, -0.0247548111, -0.0041118241, -0.0404527672, 0.0266458653, 0.0308238249, 0.0191152748, -0.0106464708, -0.049695868, 0.022423422, 0.029839687, 0.0009301231, -0.0530201681, -0.017629467, 0.1054833382, 0.0199023653, -0.011487917, -0.0407989211, -0.0261195544, -0.0495792478, -0.0139371622, 0.0152490148, -0.0584671795, 0.02274861, -0.0255659558, -0.0064236387, -0.0508853644, 0.0163191892, 0.0258011855, -0.0429562591, 0.0863114595, -0.047812283, -0.0308500212, -0.0401825607, 0.019534139, 0.0087110689, 0.0657225475, 0.0131842932, 0.0352760553, 0.0583173893, -0.0280533116, -0.0082207592, 0.0338041373, -0.0026604601, 0.021384066, -0.0861550942, 0.0289455932, 0.0195855126, -0.0070521217, -0.0032175686, 0.0520465374, -0.0056082606, -0.0915473476, 0.0957937911, 0.009700086, -0.0091852201, -0.0135696447, -0.0116281351, -0.0010512029, -0.0157381985, -0.0050272285, -0.0711255148, 0.0277996901, -0.0567999855, -0.003680568, -0.0318675078, 0.0470009036, -0.031317424, -0.0174332932, -0.041460447, -0.0270274412, 0.045306731, 0.0032820145, 0.0061886925, -0.0101480046, -0.0328025296, -0.0242879875, 0.036229074, -0.0312549993, -0.0199105348, -0.015863819, 0.0269437656, 0.0530298911, 0.036361061, -0.0099486122, -0.0689249411, -0.0456047915, 0.007184749, 0.0038794507, 0.0055288007, -0.0009710742, 0.0398856811, -0.0600413457, -0.076112479, 0.0193532892, -0.0224296376, -0.0177482236, 0.0219886173, -0.0170778707, -0.0234324615, 0.00179773, -0.0283428673, 0.0364026986, 0.0377249829, -0.0020810738, -0.0331603922, 0.0222854987, 0.0466659814, -0.0309040863, -0.0153373908, -0.0195561182, 0.0324616507, 0.0012576623, 0.0233544167, -0.0003475156, -0.0411848165, -0.0006755079, 0.054486908, -0.070288159, -0.0359964035, 0.0791299045, -0.0484813377, 0.0122913718, -0.0295178089, -0.0279140044, -0.0369327962, -0.0114777749, 0.0027717929, 0.0000281954, -0.0014441955, -0.0437174365, 0.0536935255, -0.0342714414, -0.0147099867, -0.0283306446, -0.0439116359, 0.0108303633, -0.0185324363, -0.0465237759, -0.0127138942, -0.0367041565, 0.0542401671, 0.0184050519, 0.006321969, -0.0470889807, 0.034750253, -0.0441918783, -0.022843333, -0.0115306573, -0.0194285382, 0.0034340939, -0.0174769722, -0.0056869565, -0.0244814474, -0.0193464756, 0.0597906001, -0.0112052094, 0.0393960774, 0.0233827829, -0.0184364356, -0.0044440497, -0.0325262547, -0.0259717368, -0.0216554627, 0.0485900417, -0.0104004154, -0.0327438377, -0.006846719, 0.033529833, -0.0507176481, 0.0470542647, -0.009985392, -0.0503000319, -0.0120260976, 0.0226516593, -0.0043505277, 0.0528230965, 0.0316264331, 0.0130468737, 0.0470921025, 0.0299340561, -0.0458984338, -0.0102403788, -0.0384845585, -0.0338751264, -0.0055457167, -0.0390194505, -0.0178468935, 0.0449837632, 0.0016373327, -0.0086590312, -0.0500458255, 0.0305768866, 0.0067566228, -0.0551417284, -0.0293550212, -0.0264435932, -0.0095208641, 0.0395757183, -0.0347474813, -0.0893841386, 0.0567672141, 0.0165644959, 0.0310012903, -0.003233755, -0.0067854393, 0.0114731472, 0.0455388911, 0.0286154728, 0.0492742807, 0.034766268, 0.0187442712, -0.0696840063, -0.0371355116, 0.0254144222, -0.0143387206, 0.0791099221, -0.0514848121, -0.0108133284, -0.0199815314, -0.0504956543, -0.0557963587, -0.046271611, 0.0087666456, -0.0251535624, -0.0584267899, 0.0097500086, -0.0433805995, 0.0075553218, 0.0144668808, -0.014777787, -0.0078592431, 0.0067394776, -0.0032307783, 0.0040145656, 0.1122570112, -0.0213097222, 0.0169746503, -0.0035998293, -0.0091078458, 0.0971907899, 0.0028234655, 0.0194495488, -0.039587114, 0.0252568275, 0.0418842323, 0.0464364104, -0.0043682712, 0.0395341814, 0.0453635044, -0.0118453177, 0.030303169, 0.0359541513, -0.006563263, -0.045981016, 0.0017307621, 0.0029876649, 0.0169916451, 0.0237470847, -0.0346962363, -0.0545067154, -0.0303861666, -0.0243460741, 0.0032137011, -0.0138042774, -0.0140759218, 0.0184343457, -0.0500065945, 0.0496234335, 0.0264000874, -0.0367814116, -0.0517615005, 0.0234308839, 0.0150214955, -0.0459282957, 0.026563393, -0.0077574071, -0.0226734169, -0.0305065941, 0.0011612228, 0.0115919644, -0.0451302491, 0.0300736018, -0.0409530662, 0.0252478272, 0.0680038854, 0.0025410464, -0.0153940041, -0.0599280447, 0.013432093, -0.0039802482, -0.0311055426, 0.0022632605, 0.0717966706, -0.0412727483, -0.0118931858, -0.0292700101, 0.0417953841, -0.0067319022, -0.0313478969, -0.0177863799, 0.0453024954, 0.0010879795, -0.0020671585, -0.0896823257, 0.0326770246, -0.0043093991, 0.0397558026, -0.0083675981, -0.0471795462, 0.0139865102, -0.0206872057, 0.0015118191, -0.0033376475, -0.0331640765, 0.0383172855, 0.0040171868, -0.0466697626, -0.0773442313, -0.0127436891, -0.0024669874, 0.0219552815, 0.0072603086, -0.0359977111, -0.0119314361, 0.0130752409, -0.0854090229, 0.0893019736, 0.0161224734, 0.0134368809, -0.0367084965, 0.0515034422, -0.0141478805, -0.0149082309, -0.0202751886, 0.0208058096, -0.0538567752, -0.0439908952, 0.0092487019, 0.0944836959, 0.0159560088, 0.0140040806, 0.0197839867, -0.0355897471, 0.0478329994, 0.0618588999, 0.0061648116, -0.0187289678, 0.0136622516, -0.0404973663, 0.0077250507, 0.0151149137, -0.0343383215, -0.0248201117, 0.057277713, -0.0010008262, -0.0262885224, -0.0206909943, 0.0342161246, 0.0106451372, 0.0756633207, -0.0096186558, 0.0101232994, -0.015319691, 0.0039518145, 0.0035553179, -0.0318433233, -0.0370341204, 0.0121705392, 0.045453161, -0.0079496214, -0.0151567934, -0.0147480071, -0.0344035253, 0.0194072071, -0.026333496, 0.0140538141, 0.0370271988, 0.0016071682, 0.0180409215, 0.035171628, -0.0413623676, 0.0112057282, -0.0280570704, 0.0150932018, 0.0173410121, 0.0540215485, -0.0003287536, 0.0230882503, -0.0015580959, 0.0660592541, 0.0084270947, -0.0240520705, -0.0582522303, -0.0132383863, 0.0059716627, -0.0152485808, 0.037134897, -0.0042744861, -0.0160634741, -0.0660687983, 0.0485220477, -0.0234597176, -0.0428809486, 0.0959621221, 0.025432786, -0.0207804013, -0.0330647379, 0.0725654513, 0.014343081, 0.0112869553, 0.0049797199, -0.0212199073, -0.0291498974, -0.0198387578, 0.0810077116, 0.017378388, -0.0354317538, -0.004194513, -0.0543460213, -0.0802877173, 0.0116796466, 0.0194542725, 0.0131785702, 0.0182550997, 0.0456385277, 0.0357452594, 0.0203725211, -0.038185399, -0.0033036883, -0.0410405509, -0.001813931, -0.0019185385, -0.0277924743, -5.740672864e-33, 0.003587675, -0.0051579778, 0.0071738479, -0.0188368019, -0.0002152115, 0.002234441, 0.0503876172, 0.0120460391, -0.0311465207, 0.0123095335, 0.0519486256, -0.0090725617, -0.0041964389, 0.0257257707, -0.0071824007, -0.0441176072, -0.0201084092, -0.0158869494, -0.0254946612, -0.0099557005, 0.0223661698, 0.0000648507, 0.0542791001, -0.1114524901, 0.0064957356, 0.045806624, -0.0268454105, -0.0077270237, -0.0280808304, 0.1189907566, 0.0041042636, 0.0613009855, 0.0184181537, 0.0241125487, -0.0134161906, 0.0369948484, -0.0099210469, 0.0009317123, 0.0455716401, 0.0205857921, -0.0893103406, -0.0152802272, 0.0443851389, -0.0298249833, -0.015364253, -0.0574314557, 0.0393613763, -0.0312048402, -0.025548121, 0.0067197909, -0.0424750261, 0.0044650864, 0.0109853521, -0.0315074027, 0.0191380084, 0.0841216892, 0.0295534506, 0.0490914211, -0.039334394, 0.0291197728, -0.0294906627, -0.0138247935, 0.0865368471, 0.0188102145, 0.0057724337, 0.0829192325, 0.0044957534, -0.0389507301, 0.020408364, -0.0298940502, 0.0052584345, 0.0872139335, 0.0345099978, 0.0807289109, -0.0043378803, 0.0071005612, -0.0669593513, 0.028414771, -0.0694767013, 0.070538938, 0.0235147364, 0.0102174468, -0.0350378193, 0.0072370823, -0.0329387821, 0.0089717889, -0.0508793183, -0.0130613809, 0.0690662637, -0.0020852995, -0.0131332148, 0.0282360073, 0.0154187744, -0.0370940343, 0.0055927834, 0.0114466297, 0.0032663515, 0.0202094335, 0.0122128334, 0.0370807499, -0.0343954712, 0.0119531313, 0.0292355102, -0.0576951802, 0.0156128807, 0.0191808455, 0.0812940598, 0.0198971163, -0.0556205809, 0.0040011969, -0.0271058548, 0.0109526841, 0.0078243613, 0.0448952243, 0.0540895984, 0.0048400401, -0.0169502981, 0.0284968093, 0.0353219062, -0.0155725433, -0.0507278703, -0.0390851051, -0.0272809397, 0.0304259509, 0.024137374, -0.0218042843, -0.0379943736, -0.0436354838, 0.014455745, -0.0411753282, 0.0137163717, 0.0073960843, 2.54e-7, 0.0329765789, 0.0336542949, 0.0216110405, 0.0366320685, -0.0044152606, 0.0852034464, -0.0094185462, 0.0735034272, 0.0154353455, -0.0134044876, 0.0091177858, -0.0083871922, 0.0393362641, 0.0180903673, 0.0164920669, 0.0273050163, -0.0233000163, -0.0083014918, -0.0263876077, 0.017958669, 0.0802025497, 0.094625935, -0.0024338241, -0.024313312, 0.0407925136, -0.0271670688, 0.0560356304, -0.079116039, -0.0126784369, -0.022424832, -0.006818431, 0.014045937, 0.0003583993, 0.0405823812, -0.0007544301, -0.0456412174, 0.0000433412, 0.0645853058, -0.0414800942, -0.0555717833, -0.0121615157, 0.0147271734, -0.0329127684, -0.0709581897, 0.0518042333, -0.0368621014, -0.027253516, -0.0027841276, -0.0317075737, 0.0192466639, 0.0441184938, -0.0294092074, -0.0284870937, -0.0151554029, 0.0494562723, 0.0013912596, -0.049245514, -0.0581182055, -0.010945145, 0.0008790042, -0.0161089059, -0.0534601174, -0.0299833696, 0.043457672, -0.0017348415, -0.0527750738, -0.0326595157, 2.405685005e-34, 0.0156108364, -0.0272631459, 0.0200551096, -0.0392395258, 0.0072838166, -0.0086624017, -0.0154500259, 0.0280367155, -0.0204461869, -0.0244815126, -0.0028472838 ]
http://arxiv.org/abs/2406.12023v1
http://arxiv.org/pdf/2406.12023v1
LiLiuM: eBay's Large Language Models for e-commerce
2024-06-17T18:45:41
2024-06-17T18:45:41
Christian Herold, Michael Kozielski, Leonid Ekimov, Pavel Petrushkov, Pierre-Yves Vandenbussche, Shahram Khadivi
cs.CL
cs.CL, cs.LG
We introduce the LiLiuM series of large language models (LLMs): 1B, 7B, and 13B parameter models developed 100% in-house to fit eBay's specific needs in the e-commerce domain. This gives eBay full control over all aspects of the models including license, data, vocabulary, and architecture. We expect these models to be used as a foundation for fine-tuning and instruction-tuning, eliminating dependencies to external models. The LiLiuM LLMs have been trained on 3 trillion tokens of multilingual text from general and e-commerce domain. They perform similar to the popular LLaMA-2 models on English natural language understanding (NLU) benchmarks. At the same time, we outperform LLaMA-2 on non-English NLU tasks, machine translation and on e-commerce specific downstream tasks. As part of our data mixture, we utilize the newly released RedPajama-V2 dataset for training and share our insights regarding data filtering and deduplication. We also discuss in detail how to serialize structured data for use in autoregressive language modeling. We provide insights on the effects of including code and parallel machine translation data in pre-training. Furthermore, we develop our own tokenizer and model vocabulary, customized towards e-commerce. This way, we can achieve up to 34% speed-up in text generation on eBay-specific downstream tasks compared to LLaMA-2. Finally, in relation to LLM pretraining, we show that checkpoint averaging can further improve over the best individual model checkpoint.
[ 0.060521733, 0.0644943491, -0.0278745461, 0.0283637717, -0.0142300529, 0.040712703, 0.0529629178, -0.0062520946, -0.0164934434, -0.0847624168, -0.0402476899, -0.072153762, -0.0040880255, 0.0643614158, 0.0115665514, -0.0136558106, 0.0263314489, -0.0346331112, 0.0013658975, -0.0106791053, 0.0303278379, 0.0422534347, 0.0032612246, 0.0254069474, 0.0273420699, -0.0211819746, -0.0082436549, 0.0005538883, -0.0117096193, -0.0227143001, 0.0538920574, 0.0347497277, 0.0308565367, 0.0315603428, 0.0000021143, -0.0609886348, -0.0416177213, -0.0329624787, -0.0426307097, 0.0590373427, 0.0571679398, -0.0110119255, 0.0227197874, 0.0404651687, -0.0349004194, -0.0092160357, 0.0540411696, 0.0636230484, 0.0387824029, 0.063454926, -0.0175017584, -0.0270482395, 0.0121479603, -0.0525411293, -0.0309646856, -0.0404160917, 0.026640512, 0.0181786083, -0.0025838413, 0.0059134765, 0.0005994302, 0.0107141891, 0.0052201743, 0.005783116, -0.0176810659, 0.041223567, 0.0052471496, -0.0224107932, -0.0222069379, 0.0759298503, -0.0148770362, -0.020608196, 0.0295031108, 0.017917987, -0.0356941745, -0.0536030009, -0.0302202459, 0.0626368895, 0.0286328625, 0.016865341, 0.0288089011, -0.0202850867, 0.0424028262, 0.0431670435, -0.0328088477, 0.018089937, 0.0328392498, 0.0008522099, -0.0363056771, -0.0162718855, -0.0285588782, -0.0581710897, 0.0319895968, 0.0306714289, -0.051502075, 0.015418103, -0.0405152254, 0.0158515647, 0.0017877901, -0.060987819, 0.016437741, 0.0412188284, -0.0046774452, 0.0388181657, -0.0251968522, 0.048299063, -0.0154514611, -0.0087673236, -0.0641278401, 0.0167389419, -0.0137283243, -0.0264433157, -0.0494701117, 0.0398380235, -0.0421722345, -0.044658307, -0.0438122079, 0.002599369, 0.0166013259, -0.0191895161, 0.0201850533, -0.0131843481, -0.0387053937, -0.0290510859, -0.0023219448, 0.0112958075, -0.0302333124, 0.0193250682, 0.0151750054, -0.0613532774, 0.0185873322, 0.0187452398, -0.0145342592, -0.0295740683, 0.0138137322, 0.050575912, -0.0048614168, -0.0141856018, -0.0893423334, -0.0389709845, -0.0099398643, -0.0648007914, -0.0135911312, -0.0642711371, 0.055452548, 0.0200450066, -0.0009291281, -0.0182432421, 0.0150024248, 0.0108134672, -0.0101188533, 0.06580396, -0.0175073408, -0.0150339212, 0.0179096479, -0.0255686957, 0.0541152619, 0.0632801354, 0.0202567317, 0.0340312943, 0.0420651212, -0.0029639415, 0.0015457427, 0.0598990656, -0.0259880591, -0.0198313817, -0.0328483917, 0.0173308551, 0.0063801473, 0.0095232138, 0.0703910962, 0.0508994125, -0.0384921283, 0.0279918052, 0.0739230737, 0.0114265904, -0.0064900774, 0.0412045345, 0.0685074702, 0.0147503735, -0.005158891, -0.0343440473, 0.0026639833, -0.0088530108, 0.0197868627, 0.0048789415, 0.0177928228, 0.0212474838, -0.0371161029, -0.0362268314, 0.0021001957, -0.0337448418, 0.0037770821, 0.0072384868, 0.0292051602, 0.0046909959, -0.0499525741, 0.0787863284, 0.0125112236, -0.0363964178, 0.016111305, -0.0314284302, 0.0229686946, 0.1204789802, 0.0467474759, 0.0192160681, -0.0344992243, -0.0498768315, -0.001010516, 0.0665469766, 0.0513397455, -0.0285022762, -0.0000044285, -0.0936354622, -0.0149485497, -0.0319908746, -0.0009446314, 0.0426305942, 0.00705462, -0.014256509, 0.0505447909, -0.0154073592, -0.0104056196, 0.031319689, -0.0490777977, -0.0357457735, -0.0030770497, -0.005496067, 0.0198644008, -0.0030428413, -0.0201029144, 0.0001564719, 0.0255732313, -0.0333604626, -0.0307280309, 0.0299848504, -0.0007001426, -0.0165100321, 0.0686684772, 0.0050519537, 0.0224951468, 0.0239395108, -0.035183616, -0.0565740317, -0.0014332631, -0.0389475003, 0.0493452214, -0.0446497686, 0.0314754955, 0.0039170156, 0.0466132276, -0.0149896238, 0.0356876031, 0.0240134355, 0.0177995469, 0.0173030421, -0.0227256231, 0.0259738248, -0.0268920399, -0.0323990807, 0.0210593659, -0.027111372, 0.034872476, 0.0344884768, 0.0287623052, -0.0310308971, -0.0090294098, -0.0869823694, 0.0207879413, -0.0191452, 0.037501689, 0.0240139943, 0.0100050494, -0.0082695764, 0.0019135037, -0.0198717322, -0.0001433505, -0.0018309815, 0.0240622479, 0.0406688936, -0.0108826989, -0.0504304208, -0.0177706648, -0.0113159548, 0.0104102669, 0.0369612537, 0.007619652, -0.0428177789, -0.0573655367, 0.0197680332, -0.0357518271, -0.0007385583, -0.0000579349, -0.0375542082, -0.0382057577, -0.0205187052, 0.0755411237, 0.0148509983, 0.0127229551, -0.0266749505, 0.0045233876, -0.0520409681, -0.0449186526, -0.0023199397, 0.0007349219, -0.027194405, -0.01223116, -0.02865302, 0.0095447777, 0.0796904415, -0.0252385736, -0.0269006416, -0.0411890633, -0.0260178, -0.0221112669, -0.0142528946, -0.0285994578, 0.0143197021, -0.0317928046, 0.028070448, -0.0324975736, -0.05821665, 0.0154180136, -0.0310103465, 0.0018459955, -0.0505906232, 0.0054995143, -0.041362904, 0.0031725478, -0.0051541636, 0.0387706645, -0.0347788185, -0.0522671677, -0.0164343566, 0.068989642, -0.0019796116, -0.0263707787, 0.0461446978, -0.0400254689, 0.037364848, -0.0247254185, -0.0320111029, -0.048278641, -0.0213951673, -0.0299175102, 0.0055052522, 0.0636859164, 0.0082504777, -0.0579774119, 0.0300661959, 0.0092223193, 0.0459421985, -0.0060946811, -0.0124688158, -0.0131146945, 0.0145582398, 0.0513661504, -0.0015518893, 0.015794158, -0.0612304062, -0.0008080541, 0.0002786396, 0.011845015, -0.0345612355, -0.0264784973, 0.0033247012, 0.0471412204, -0.05813054, -0.0183279589, 0.0468412302, -0.0069203628, -0.043898955, -0.0233743396, 0.1109330803, 0.0153587237, -0.0220165327, 0.0038705873, 0.0132193258, 0.0168515462, 0.0322056301, 0.0299854018, -0.0640268996, -0.0208270457, 0.0017633978, -0.0010766165, 0.0452325679, -0.0003161478, -0.0393104069, -0.1191670895, 0.0105047654, -0.0039767027, -0.0354397967, -0.0170450192, -0.0116352886, -0.0471376143, -0.0108304061, 0.0796755776, 0.0351751894, -0.0279970299, 0.0084434832, 0.0418096855, 0.0036382151, -0.0497625433, 0.004257136, -0.0423844941, 0.0584335886, 0.0290731359, 0.0238032956, -0.0107769109, 0.011348391, 0.0298502874, -0.0380292907, -0.0198024362, -0.0035074938, 0.0369769372, 0.0167239979, -0.0202625133, 0.0205396675, 0.0062777582, -0.0554064065, 0.0007454842, 0.0098532764, 0.0219700392, 0.0148798171, -0.0068723327, 0.0282338597, -0.0128580984, -0.0468322523, 0.0679174662, 0.0000828279, -0.0612902306, -0.0471650697, -0.0351215228, -0.0278159473, -0.072287336, 0.0179637428, 0.0145427911, -0.0143721392, -0.0249179322, -0.1017066389, -0.0479526334, 0.0040175202, 0.0541720837, 0.0445124991, 0.0303650368, -0.0127317673, -0.0119836936, -0.0479748063, 0.0083093951, -0.0648592785, 0.0293828398, -0.0753578469, 0.0501166992, 0.0143194459, -0.0716089383, -0.030495137, 0.0345848985, -0.087258637, -0.0776416436, 0.0105863418, 0.0498658307, 0.0201399159, 0.0306501687, -0.0021933927, -0.0607157238, 0.0125310337, 0.0241661426, -0.0365739912, -0.0092825796, 0.0218977313, 0.0535248183, -0.0212624539, 0.0416674986, -0.0458771475, 0.0148173766, 0.0000682724, 0.0716061518, 0.0281794965, -0.0077360156, 0.0315623246, 0.0395434238, -0.0203391463, -0.0399267115, 0.0058488962, -0.0504136086, 0.0516194925, 0.0092751458, -0.0167200137, -0.0499426648, 0.0065028602, 0.0407274552, -0.0036939336, -0.0052351654, 0.0367134213, 0.0074712057, -0.0123725124, 0.0197971743, -0.0075720595, -0.0525983572, 0.0274949148, 0.0229060818, -0.0242647398, 0.0008181615, 0.0202872436, 0.0153203271, 0.0157625638, -0.0448624976, 0.0616289601, 0.0101171331, -0.0031062311, -0.0379096456, 0.039209947, 0.0082563823, -0.0256691631, -0.0311767627, 0.0119347181, 0.0753623843, -0.0169913732, 0.0812018663, -0.0386034362, -0.0159681104, -0.0270655565, 0.0507087782, -0.004771594, -0.0150332572, 0.0294614527, 0.0038614299, -0.0554481782, 0.0165010188, 0.1095757931, 0.0024974882, 0.0401653722, 0.0009646812, 0.0009604621, -0.0561588965, -0.0117523381, 0.0230586212, -0.0145311225, -0.0435052551, -0.0271492247, 0.0026145822, -0.0399941243, -0.0141714327, -0.0014321391, 0.0097892862, -0.0101976898, 0.0437183529, 0.0889214352, 0.0102300281, 0.0284613241, -0.0445615463, 0.0157872308, -0.0109944399, -0.0001368698, -0.0337331817, -6.938333365e-33, 0.0116543667, -0.0203531086, 0.034733437, 0.0008309731, -0.0197412279, 0.0322933532, -0.0309799667, -0.0195157174, 0.0321535245, -0.0013857748, 0.0048828772, 0.0069248718, 0.0281996131, 0.0268602557, 0.0131457997, -0.0119683146, 0.0620785169, 0.0248589534, -0.0156206265, 0.0500369594, 0.0191276167, 0.0699569955, 0.0739656463, -0.0024886839, 0.0079832906, -0.0325463712, -0.025714105, 0.0253392141, 0.0251339767, 0.0728144646, -0.0523000695, 0.0253826398, 0.0244394392, -0.051091779, -0.0297935791, -0.0180385876, -0.0743724778, 0.0233890396, 0.0369914845, 0.0378002338, 0.0042915177, -0.0388414264, 0.0432494171, -0.0343643613, 0.0109801395, 0.0426969528, 0.0176106691, -0.0394467264, -0.0234246664, -0.0578756444, -0.0787020698, 0.009668869, -0.0207013432, -0.0016393153, 0.0578348637, 0.0803131685, -0.030205112, 0.0180918053, -0.0333414972, 0.037361607, -0.0037721407, 0.0279141366, 0.0762641355, 0.0138262678, 0.0003337424, 0.0330336429, 0.0001103642, -0.0058539817, 0.032808125, 0.0132653778, 0.019215839, 0.0468816534, 0.013845792, 0.0350346826, 0.0236671939, 0.0160098337, -0.0571864694, 0.035439238, 0.0233951043, 0.0206769072, 0.0215330366, -0.001511754, -0.0244573392, -0.0276592094, -0.021879863, -0.0059146751, -0.0373524949, -0.0247690752, 0.0551236086, 0.0306071155, -0.0419006124, -0.0205802638, 0.0489566624, -0.0433370396, -0.0945315063, 0.005302168, -0.0079976842, -0.0038333538, 0.0074969768, 0.0239727274, -0.0523770601, -0.0775241852, 0.0057713976, -0.0346187204, -0.0158369504, -0.0074408166, 0.031885609, 0.0237399545, -0.0790354908, 0.0332204923, -0.0173593964, 0.0193654168, 0.0042400039, 0.0396441221, 0.0404477976, -0.0121508231, -0.0092241727, 0.0406292006, 0.0331795774, -0.024170123, -0.0191304181, -0.0080109127, 0.0161577091, 0.0576366819, -0.0281455163, 0.0100931199, -0.0360963233, 0.0453919135, 0.0254343487, -0.0762574598, -0.0407178365, 0.0198865067, 2.915e-7, 0.0403668694, 0.076025106, -0.0022301641, 0.0246851724, 0.0050723031, 0.0332465321, -0.0208057873, 0.0378195643, -0.0105736265, 0.0257998742, 0.0111671444, 0.0162853729, 0.0659037754, 0.0000037298, -0.0654714778, -0.0137616359, -0.0426485837, 0.0250904225, -0.065625906, -0.0214171875, 0.0122797396, 0.1147834882, -0.0086527653, -0.0282225106, 0.0053017451, -0.0563275181, 0.0603337474, -0.040251229, -0.0009991444, 0.0404218696, 0.0150593976, 0.0613348782, -0.0469815135, -0.0106682787, -0.0298009105, 0.0303762108, 0.0182107612, 0.0766823962, 0.0320856385, 0.0270110741, 0.0230396893, -0.0377049334, -0.018572107, -0.0812918693, 0.0516594797, -0.0480405204, -0.02066979, -0.0385978073, -0.005657325, -0.0248904433, -0.0069457041, -0.0473965704, -0.0086632622, 0.0345659778, 0.0128896143, -0.0321525745, -0.0337955169, -0.0317556113, -0.0120421071, -0.0190980751, -0.043469537, 0.0076171602, -0.0327152722, 0.017610712, 0.0116039813, -0.0272014141, 0.0452891216, 2.770319449e-34, 0.0529687628, -0.0397007093, 0.0025128454, 0.0412064418, 0.033647608, -0.0309132542, -0.0162565261, 0.0034164756, -0.0166854393, -0.0821279883, -0.0200017393 ]
http://arxiv.org/abs/2406.12018v1
http://arxiv.org/pdf/2406.12018v1
CItruS: Chunked Instruction-aware State Eviction for Long Sequence Modeling
2024-06-17T18:34:58
2024-06-17T18:34:58
Yu Bai, Xiyuan Zou, Heyan Huang, Sanxing Chen, Marc-Antoine Rondeau, Yang Gao, Jackie Chi Kit Cheung
cs.CL
cs.CL
Long sequence modeling has gained broad interest as large language models (LLMs) continue to advance. Recent research has identified that a large portion of hidden states within the key-value caches of Transformer models can be discarded (also termed evicted) without affecting the perplexity performance in generating long sequences. However, we show that these methods, despite preserving perplexity performance, often drop information that is important for solving downstream tasks, a problem which we call information neglect. To address this issue, we introduce Chunked Instruction-aware State Eviction (CItruS), a novel modeling technique that integrates the attention preferences useful for a downstream task into the eviction process of hidden states. In addition, we design a method for chunked sequence processing to further improve efficiency. Our training-free method exhibits superior performance on long sequence comprehension and retrieval tasks over several strong baselines under the same memory budget, while preserving language modeling perplexity.
[ 0.0250963885, 0.0580831654, -0.0153487744, 0.0225389004, -0.0379401818, 0.0127690462, -0.0010440742, -0.010021246, -0.0040280852, -0.0370953083, -0.0133904042, -0.0612177029, 0.007025985, -0.005233096, -0.0094076758, -0.0424121171, 0.0633593723, -0.027950896, -0.0216453765, 0.0157110244, -0.0321264006, -0.0210839324, 0.0218624771, 0.0291857943, 0.0436887145, -0.0271089263, -0.0582920164, -0.0278804749, -0.0023971389, -0.0438862666, -0.0152005926, 0.0561240949, -0.0098233726, 0.010069225, 0.0000021176, -0.0028815658, -0.0013794341, -0.0012537648, -0.0247641206, 0.0504137352, 0.0018937351, 0.0280397516, -0.0101837544, 0.0076712985, -0.0240541082, -0.0106782345, 0.0490800925, 0.0184769146, 0.0705827251, 0.0493561327, 0.0056016729, -0.015209402, 0.0205736458, -0.0457010381, 0.0575630292, -0.0247291643, 0.0316313691, -0.037895795, 0.0086630415, -0.0071468875, -0.0521497168, 0.0470749773, 0.0507621355, 0.0298063792, -0.0183356851, 0.0358584151, 0.0101171453, -0.0202365853, -0.0226237085, 0.0255301148, -0.0508827381, 0.0002723009, 0.0323495045, 0.0033606736, 0.0059217145, -0.0212806277, -0.0380735435, 0.0238208957, -0.0140381688, 0.0094078071, 0.0115709994, -0.0223127324, 0.0244356617, -0.0230112467, -0.0559512898, 0.0282764249, 0.0371502377, -0.0405516922, -0.0751320794, -0.0442950241, -0.0186485462, -0.0788159147, 0.0276008993, 0.0674934685, 0.0012283748, 0.0153668774, -0.0301893223, -0.0424720347, 0.0109368032, -0.017899327, 0.0248373542, 0.0665647686, -0.0184305944, 0.0383351818, -0.0301501658, 0.0541894287, -0.0230741668, -0.0103211598, -0.0304108299, 0.0447504036, -0.0400584303, -0.008457982, -0.0146426018, 0.0455049165, -0.03836729, -0.0227527339, -0.0091138734, 0.0125140296, 0.0115860868, -0.0267202426, 0.0140827885, 0.0385205671, -0.0331857577, 0.0127187166, -0.0294325128, 0.0552731864, 0.0017340005, -0.0370438956, 0.0370373353, -0.0360424072, -0.059615545, 0.0042173006, -0.0025139889, -0.0375200473, -0.0153948348, 0.0490443781, -0.0055294349, -0.0568134151, -0.0278119333, -0.0069503179, 0.00179043, -0.0585311763, 0.0518533699, -0.0378139131, 0.0195971504, -0.0118355379, -0.0089366622, -0.0370828137, 0.0301755108, 0.0749378055, -0.0105743231, 0.036385797, 0.0056604319, -0.0302018803, -0.0215855055, 0.0364887267, 0.0418047868, 0.0271318592, 0.0182829164, 0.0383040681, -0.0109196827, -0.0321546048, 0.0182081182, 0.0207302179, 0.0226534605, -0.0145403715, -0.0103193782, 0.0059613003, 0.00653286, -0.0122146448, 0.0313215293, 0.0655385479, -0.0181906894, -0.0178582817, 0.0254260357, 0.0405276343, -0.0001285594, 0.0282808449, 0.0186339039, 0.0112074399, -0.0439959131, 0.0383955799, -0.0391981564, 0.0614559427, 0.0102164811, 0.040147692, 0.0562076867, 0.0518036969, -0.0264775343, -0.0297238193, -0.0074076974, -0.0149821928, 0.0286208, 0.0277944691, 0.0367692634, 0.0169511084, -0.0804821104, 0.0944750383, 0.0049971784, -0.0583338626, -0.0168554373, -0.0658088475, -0.0004894187, 0.0796496868, 0.0498436242, -0.0112581877, -0.0390115045, 0.0121422112, -0.0068813716, 0.0289513469, -0.0098311007, 0.032003291, 0.0101196794, -0.06189375, -0.0291731097, 0.0153713292, 0.0030758842, 0.0142000495, 0.0481130071, -0.015493487, 0.0587367751, -0.0152885672, -0.0102310497, 0.0186243951, -0.0482840054, -0.0460404716, -0.0087943655, 0.0045820824, 0.0199452005, -0.0147833461, 0.0038957673, 0.0352057517, 0.0723141804, -0.0229988638, 0.0163560789, -0.0265024137, -0.0987903252, -0.0544193462, 0.0314736515, 0.0167704523, 0.0184509084, 0.0530000553, -0.0146191018, -0.0584129766, 0.0215491205, -0.0807347819, 0.0669415221, -0.0231017582, 0.0677086264, 0.0349833108, 0.0592994355, -0.0331454463, 0.0531092361, -0.0745154694, 0.0166184194, 0.0147530911, 0.002544164, -0.0151219778, -0.0288034007, -0.0313824303, 0.016665535, -0.0203535035, -0.0282593071, -0.0061283712, -0.0248007346, -0.045358967, -0.0132370936, -0.0552336052, 0.0273444336, -0.0181576293, 0.0514340512, -0.0026799403, 0.0432992913, 0.0178343188, 0.0071149673, -0.006617215, -0.0206741579, -0.0001377911, 0.018642351, -0.0122345798, -0.0002962916, -0.0673733056, -0.0222994816, -0.0413632989, -0.0063449582, 0.0441469215, -0.0680932105, -0.0329421535, -0.0490709469, 0.0268222503, -0.0146966157, 0.0346857421, -0.041203741, -0.0165532157, -0.0106505984, -0.0257060099, 0.0689629614, 0.051387582, 0.0196491834, 0.0192398801, 0.0430180915, -0.0422009453, -0.0029717912, 0.0407076702, -0.0243458655, 0.0257623941, -0.0080560418, -0.0104326308, -0.0043474934, 0.0953187421, -0.0298034269, 0.0183219388, -0.0498740152, -0.035680715, 0.0073559997, -0.0118020801, 0.0320755057, -0.0107644768, -0.0516166463, 0.0015582636, -0.0644482449, -0.0386843085, 0.0625473037, -0.0495976098, -0.0077421134, -0.0460477993, 0.0398515426, -0.0275245309, 0.0788378492, 0.0173517428, -0.0077163046, -0.0048767696, -0.0212870371, 0.0041663898, 0.0229451433, -0.0622322634, -0.0469787046, 0.0502184294, -0.0172517821, -0.0061585684, -0.0110695995, -0.0200249739, -0.0414457098, 0.0013261741, 0.0067593255, 0.0086206337, 0.0841190666, -0.0283374451, -0.0364124551, 0.0472577773, 0.0406553783, 0.0569413714, -0.0006364544, 0.0266813319, -0.0294025689, 0.0162555054, 0.0557444841, -0.0059322114, 0.0131557407, -0.041356314, 0.038066335, 0.0675797239, 0.0663420409, -0.0155466702, 0.0216019414, -0.0015509917, 0.0434236117, -0.0436927304, -0.0237040706, 0.0572806112, 0.0271367244, -0.0888835266, -0.0626592413, 0.0984300449, 0.0424778052, -0.0669920146, 0.0132202683, -0.0064349431, 0.0390220918, 0.024015177, 0.024639776, -0.0778879672, -0.0360688195, 0.0097199157, -0.0108469222, 0.0045384332, -0.0148908943, -0.0138407322, -0.1169780791, 0.0023108637, 0.0016921032, -0.028026145, -0.0227927007, -0.0489229523, -0.0063445885, 0.0605415367, -0.0017638075, 0.0384061299, -0.0234359521, -0.006603708, 0.0303533617, -0.0037675782, -0.0265292153, 0.0206891336, 0.0036864118, 0.0002057157, 0.0759315714, -0.0062960838, 0.026055146, -0.0660991371, 0.0239754859, 0.0007876777, 0.035851948, -0.0111954464, 0.0030736334, -0.0038521409, -0.018761849, -0.0335337855, 0.0024263267, -0.0316245146, -0.0491841249, -0.0097428979, 0.0660323501, -0.0367894806, -0.0183560811, -0.0091395723, -0.0230409168, -0.001184093, 0.0643421784, 0.0573652424, -0.0376934111, -0.0510371514, -0.0110172266, -0.0204423442, -0.0480286404, 0.0063048941, 0.0096673882, 0.0329060704, -0.0572645664, -0.0337735265, -0.0366386287, 0.0108120805, 0.0321117416, 0.0055125654, 0.0149013447, 0.038696453, -0.0042048111, -0.0709660053, 0.0171689373, -0.02624809, 0.003041168, -0.0506257713, -0.0159229096, -0.0039460631, -0.0011441142, -0.014190956, 0.0188987348, -0.105349429, -0.0513779558, 0.0331417173, 0.0688680559, 0.0180643238, 0.0259308629, 0.0111690694, -0.0225516763, 0.0040803202, 0.0594413057, -0.0101276161, 0.0375260562, -0.0011873954, -0.0340857469, 0.0041086474, 0.0077995779, -0.0073286532, 0.0040023969, 0.0286152624, 0.0563828498, -0.0104420576, 0.0180469081, -0.0027505092, -0.0035523311, 0.049207747, 0.008934183, 0.0163320471, 0.0301658176, 0.0577854067, -0.0159937628, 0.0032901792, -0.0312026534, -0.0105148032, 0.0054006381, 0.0058831316, 0.013493225, 0.0176263079, 0.0221394263, -0.0400627665, -0.0286813676, 0.0165866725, -0.0247337781, -0.0333510228, 0.0264689848, -0.0099243522, -0.0254173912, -0.0029515058, 0.0107454285, 0.039806392, -0.0303761195, 0.0700544938, 0.0079737436, 0.027880162, -0.0475165807, 0.0517840832, -0.0442065746, -0.0182948578, -0.0370066203, -0.0202546585, 0.0547734648, -0.0348415673, 0.0292026475, 0.0117047466, 0.0107964007, -0.0205553137, 0.0089184092, 0.0053491499, -0.0611509271, 0.0021670407, 0.0457990915, 0.0013385226, -0.0213102624, 0.0821797177, 0.0135505497, 0.0499767624, 0.0039646998, -0.0160658881, -0.0205129627, -0.0516528375, -0.0170201678, 0.0276027136, -0.0181843452, -0.0339592919, -0.034674149, -0.0781996474, -0.0030420395, 0.0106035834, 0.0312544294, -0.0221009701, 0.0460111611, 0.0368915573, -0.0151478117, -0.0657449216, -0.0238947868, 0.0104341777, -0.0049195583, -0.0334445834, -0.0084732221, -6.322756361e-33, -0.0256468523, -0.0122372685, 0.0370262153, 0.0018031599, -0.0400380306, -0.0079661086, -0.0781661645, -0.0110024996, 0.0181829482, -0.0264883973, -0.0313888565, 0.0171708446, 0.0143452492, 0.035972435, 0.0030655279, -0.0175145734, 0.0602883212, 0.0350333042, -0.0220169704, 0.0417701192, 0.011978481, 0.0499174595, 0.0469566658, 0.0063478602, -0.031303551, -0.0058530034, 0.059662044, -0.0265396219, -0.0195041448, 0.0463619828, -0.0495075993, 0.0141110644, 0.0264237877, -0.1057422981, -0.0409924984, 0.015369284, -0.04405424, 0.0194889158, 0.0221640542, -0.0119778542, -0.005910859, -0.0675893575, 0.0338036418, 0.0475746244, 0.0028389606, 0.0045467932, 0.0154040707, -0.0167174824, -0.0652791932, 0.0141431121, -0.036297027, 0.0225163829, 0.0201278403, -0.0405679494, 0.0271385089, 0.0193927754, -0.0185459051, 0.010836958, -0.0325951278, -0.0071449191, 0.0556839891, 0.1002333015, 0.0774232596, 0.0619669706, 0.0521274842, 0.0432019085, 0.0382528268, 0.0134316338, -0.0449630581, 0.0087923901, 0.0345073454, 0.0304379482, -0.0019390598, -0.0713007525, 0.0648599863, -0.0123579884, -0.0374141783, -0.0066998648, -0.0202451106, 0.0712339804, 0.051853653, 0.0201605298, -0.0196497124, -0.0342473984, -0.0113673005, 0.0399754196, -0.0358084254, -0.0070409994, 0.0504949354, 0.0316932015, -0.0167221446, 0.0257807355, 0.0633282661, -0.0111298729, 0.0053998204, 0.0191127993, 0.0093601737, 0.0183295868, -0.0166677795, -0.002070613, -0.050501693, -0.0330440514, 0.009198091, -0.002468735, 0.0061646728, -0.0136096021, -0.0251953751, 0.0185233299, -0.0738855377, -0.0168864448, -0.0729988515, 0.0229200758, 0.0098415473, 0.0309089925, 0.0472549535, 0.0175401755, -0.0024749083, 0.0703009069, -0.0138962399, -0.0323989764, -0.0411181189, 0.0040390883, 0.0264268313, 0.0156142423, -0.0027281763, -0.0001410277, -0.0605267845, 0.0385766029, -0.0278028678, -0.0704488233, -0.0218530875, 0.0743204802, 2.832e-7, -0.0086289914, 0.0254411958, 0.0481604859, 0.0043903249, 0.0209063925, -0.0023333032, 0.0114211682, -0.0038875581, 0.0101759592, -0.0018799934, -0.0003069855, 0.0316839702, 0.0306154042, 0.0005313587, -0.0902976766, -0.0108969044, -0.0605235025, 0.0067617455, -0.0642144606, -0.0290102437, 0.0184869841, 0.081613414, -0.0118906591, 0.0044516176, 0.0367806368, 0.006273624, 0.0333965681, 0.0164529644, 0.0209442209, -0.0029816707, 0.0075077815, 0.0183122959, -0.0085694948, -0.0111300843, -0.0208903439, 0.0030719584, -0.0253983196, 0.0783590451, 0.0104973651, -0.0570521802, 0.0241190083, 0.0187494624, -0.0289500896, -0.0123418514, 0.0675101876, -0.0390440933, -0.0122492909, -0.0154286372, -0.0439442247, 0.0019271838, -0.0380558558, 0.0220194608, 0.0060733831, 0.0394408517, 0.005447662, -0.0260089878, -0.0136966715, -0.0773464218, -0.0274432525, -0.0266726371, -0.0861774981, -0.0127897011, -0.0920256227, -0.010284517, 0.0021531875, -0.0295977667, -0.0386585295, 3.086737503e-34, 0.0103385886, -0.04484386, 0.0179104339, 0.047969982, 0.0363433696, -0.0185749903, 0.0130428607, 0.0418362096, 0.0065626283, -0.106348224, -0.054849349 ]
http://arxiv.org/abs/2406.12009v1
http://arxiv.org/pdf/2406.12009v1
FinTruthQA: A Benchmark Dataset for Evaluating the Quality of Financial Information Disclosure
2024-06-17T18:25:02
2024-06-17T18:25:02
Ziyue Xu, Peilin Zhou, Xinyu Shi, Jiageng Wu, Yikang Jiang, Bin Ke, Jie Yang
cs.CL
cs.CL
Accurate and transparent financial information disclosure is crucial in the fields of accounting and finance, ensuring market efficiency and investor confidence. Among many information disclosure platforms, the Chinese stock exchanges' investor interactive platform provides a novel and interactive way for listed firms to disclose information of interest to investors through an online question-and-answer (Q&A) format. However, it is common for listed firms to respond to questions with limited or no substantive information, and automatically evaluating the quality of financial information disclosure on large amounts of Q&A pairs is challenging. This paper builds a benchmark FinTruthQA, that can evaluate advanced natural language processing (NLP) techniques for the automatic quality assessment of information disclosure in financial Q&A data. FinTruthQA comprises 6,000 real-world financial Q&A entries and each Q&A was manually annotated based on four conceptual dimensions of accounting. We benchmarked various NLP techniques on FinTruthQA, including statistical machine learning models, pre-trained language model and their fine-tuned versions, as well as the large language model GPT-4. Experiments showed that existing NLP models have strong predictive ability for real question identification and question relevance tasks, but are suboptimal for answer relevance and answer readability tasks. By establishing this benchmark, we provide a robust foundation for the automatic evaluation of information disclosure, significantly enhancing the transparency and quality of financial reporting. FinTruthQA can be used by auditors, regulators, and financial analysts for real-time monitoring and data-driven decision-making, as well as by researchers for advanced studies in accounting and finance, ultimately fostering greater trust and efficiency in the financial markets.
[ 0.0412603877, 0.0519357063, -0.0037908221, 0.0425996892, -0.0101753483, 0.0022231077, 0.010721718, 0.0306151286, 0.022652233, -0.0581647642, -0.0081906412, -0.0125124874, -0.0109281419, 0.0409656949, 0.0387043767, -0.0162881017, 0.0275152046, 0.0299009588, 0.0360683985, 0.0290487632, 0.0532219298, 0.0207861066, 0.0136158234, 0.0224929508, 0.0104838703, -0.0237764884, 0.0100020459, -0.0050816182, 0.0037934261, -0.0182685256, 0.0053594811, 0.0560008362, -0.0110826399, 0.0306308195, 0.0000015367, -0.0638804063, -0.042569343, 0.0119352527, -0.0487987846, 0.0312623382, 0.0315979421, -0.038574703, 0.0813042149, 0.0243927203, -0.0687232837, -0.0133978669, 0.0568617694, 0.0863792151, 0.0900357515, 0.0551558882, -0.0168387741, -0.0614932887, 0.0040555764, -0.0185786728, 0.0030079507, -0.1192728803, 0.0102861989, 0.026370516, -0.0124863358, -0.005111699, 0.0052690203, 0.0287798289, -0.008777678, -0.0025291787, 0.0325714089, -0.0165391713, -0.0409874916, -0.0028780664, -0.0499064475, 0.0884455144, 0.0430881754, 0.0169773884, -0.0002313171, -0.0434175134, 0.0266403966, 0.0138775036, -0.0063817729, 0.0152349947, -0.0566379018, -0.0125223361, 0.0132992929, -0.0052207676, -0.0009001326, 0.0219690129, 0.0110758767, 0.0136742704, -0.0228071772, -0.0385069437, 0.0428314209, 0.020343855, -0.0194130447, -0.0393837355, 0.0352438837, 0.0337021947, 0.0124831023, 0.0231121369, -0.0157050639, -0.0456108004, 0.0064191865, -0.0685742199, -0.0006502788, 0.0182328559, -0.0092593944, 0.0559265465, -0.0204872377, 0.0635075942, 0.03368425, -0.0017377428, -0.0140337273, -0.0012486904, -0.0109841144, -0.0158424675, -0.0229541566, 0.0933493823, -0.0866644084, -0.0270939134, -0.0428972431, -0.0026879236, 0.003460296, 0.0308384933, 0.0086373119, -0.005286945, 0.0024297603, -0.002363391, -0.0581442527, -0.0092145642, -0.0578723885, 0.0208130125, -0.0041778586, -0.0465021245, 0.022667218, 0.0190169793, 0.0139791975, -0.0179398805, -0.0144852186, 0.061775852, 0.036034584, -0.0284493156, -0.0223359764, -0.0465801284, 0.0066737859, -0.0146240378, -0.0446131229, 0.0160155743, 0.0357985832, -0.0018317921, -0.040404968, -0.0107205436, 0.0023150123, 0.0244056582, 0.0081930542, 0.0851815268, -0.0142197646, -0.0085202418, 0.0217863806, -0.0158527102, 0.0291999634, 0.0334164798, 0.0054619405, -0.0296106935, 0.063548483, -0.0043908013, 0.0314318538, 0.0139196068, 0.0045990231, -0.0606408156, 0.0440990776, 0.0923439562, -0.0283000544, 0.0153546957, 0.0106511516, 0.0544228964, -0.0110765956, -0.0377277583, 0.0489480384, 0.0309755635, 0.0333395936, 0.0182730798, -0.0094283745, 0.0580318198, 0.0459498428, 0.0002938916, 0.0150246732, 0.0102606965, -0.0173329376, 0.0255429298, 0.0324544013, -0.0239372663, -0.028417103, -0.0688142926, -0.0332480334, 0.0187444184, -0.017828688, 0.0159146991, -0.0136907641, -0.006149054, -0.0812967196, 0.0403567292, 0.0067787743, -0.0329764076, -0.0016434425, -0.0284391809, 0.0603765063, 0.0608141422, 0.0211190656, -0.0513610505, 0.0298812725, -0.0283653215, -0.0263442937, 0.0547799356, 0.0436747633, -0.0064356807, -0.0208744574, -0.030147491, -0.0184119493, 0.0187581088, 0.0080934409, -0.0123731429, -0.0086208396, 0.0046856119, 0.0101228273, -0.0356745869, -0.0309063625, 0.0688529536, 0.0364837572, -0.0660350919, 0.0362140201, -0.0042973184, 0.003828584, 0.0465003885, 0.0143214297, 0.0159526356, -0.0011102391, 0.0238172207, -0.0110769682, -0.0316134244, -0.0328855105, -0.015899362, -0.0013566, -0.0215040743, -0.0004350018, 0.0438716039, -0.0699310005, -0.0079106688, -0.0289274659, -0.0357124135, -0.0137109682, -0.0722555146, -0.0472737662, 0.0003879933, 0.025322536, -0.0369991548, 0.0782164633, -0.0050037634, 0.0534176454, -0.0622357577, -0.0183329806, 0.0086906087, -0.061607033, 0.0361078158, -0.0127765816, -0.0498029329, 0.0681196153, 0.0575496443, 0.0197794512, -0.024108585, 0.0138547942, -0.0806598812, -0.0255563892, -0.0198202003, 0.0224517267, 0.0166222099, 0.0072761644, -0.015025801, -0.0174786244, -0.0346078165, -0.0601332486, -0.0179944914, 0.0049623023, 0.0862988234, 0.0326883048, 0.0170908049, -0.0552232899, -0.0300458819, 0.0001708255, 0.0169644654, 0.0844664425, -0.043709822, -0.0450710617, -0.0134354904, -0.0168199055, -0.0137809478, 0.0205394011, 0.0403195508, -0.0086412681, 0.0286899023, -0.0311561879, 0.0490114726, 0.0167348031, 0.0559732914, -0.0607523471, 0.0482011624, -0.0376534835, 0.0324891061, -0.0379178375, 0.0076058619, -0.0098942798, -0.0226644464, 0.0545342453, 0.0037503447, -0.003716158, -0.0014572707, -0.0626710951, 0.0457214639, -0.0325319879, -0.0010030743, -0.0731698573, -0.0163777899, -0.0065381154, 0.0659482405, -0.0012574921, -0.0448752418, 0.0530782342, -0.0021570898, -0.0270336755, -0.0453774258, -0.0116476752, -0.0721066445, 0.0315598063, -0.0206089672, 0.0224417485, 0.0234221965, -0.063812159, 0.0023554454, -0.0472331084, 0.0405524559, -0.043904826, 0.033743225, -0.011500204, 0.0411167927, 0.0056851828, -0.0236541256, -0.0311435182, -0.0895437747, -0.0123556713, 0.0049495078, 0.0212657377, -0.0192077011, -0.0425973348, 0.0193322394, 0.0031814275, 0.0041147768, -0.0195405576, -0.0335961245, 0.0071343705, 0.0478896722, 0.0468715876, 0.0295562893, 0.07920935, -0.0273966715, 0.0367389396, 0.0148014706, 0.0302625336, 0.0265968814, 0.0349406116, -0.0205998961, -0.0278567653, -0.0452434942, 0.0264781415, 0.0146040488, 0.0231578741, -0.0530503467, -0.00484731, 0.086490944, 0.0224932302, 0.0518407114, -0.0104392376, 0.0450239182, -0.0136431744, -0.0083201202, 0.0593288168, -0.0998374745, -0.0242463518, -0.0341618769, 0.03988019, 0.0019081343, -0.0674466118, -0.0097030066, -0.1182336286, 0.0325308852, -0.0319842286, -0.025883548, -0.0561399087, -0.0663804784, -0.0249694232, -0.0660787001, 0.0402361825, -0.0066281329, -0.0092959609, 0.0106252301, 0.0041839089, -0.0976423174, 0.0070710434, -0.0094055794, -0.0220368337, -0.0316331387, 0.0556043349, 0.0289589204, -0.037817128, -0.0131797204, -0.0420773514, -0.0468645431, -0.0319907516, -0.0019930361, 0.0677631423, -0.031719815, -0.014226946, -0.0119577982, 0.0397922024, -0.0350410007, 0.0693639368, 0.0066155065, -0.0003712965, 0.0060316743, -0.0280781742, 0.0136921378, 0.0335664563, 0.0075426255, 0.1002726704, 0.0065017752, -0.008185491, -0.0305968951, -0.0412581973, 0.0198282357, -0.0806622431, 0.0163734779, -0.0017064892, 0.027980525, 0.0252119526, -0.1080887243, -0.0908671841, 0.0243151747, -0.0157975443, -0.0064720968, 0.0226003192, 0.0186357852, 0.0091070235, -0.0276908074, 0.006221782, -0.0291621834, 0.0268575735, -0.0372931324, 0.0239102878, -0.0127561884, 0.0140421968, -0.0712110028, 0.0549687967, -0.0354081281, -0.0109049175, -0.0247291774, -0.021315502, 0.0185269322, -0.0179575887, -0.0531772599, 0.0078188451, 0.0065126098, 0.0314847827, -0.0864538699, -0.0288911499, 0.0203190874, 0.0175265372, -0.0050767241, 0.0253065526, -0.0517339706, -0.0199723411, 0.000386235, 0.039917063, -0.0165450126, -0.0257066786, 0.0155010093, 0.0217115562, -0.0012241731, 0.0569647737, -0.0285253171, -0.0346565954, -0.0255399905, 0.0074481098, 0.0016061058, -0.0404483154, 0.004676776, 0.0374707989, 0.011120528, -0.0190238561, 0.0443123989, -0.050952021, 0.0001409955, -0.0592480563, 0.0103940498, 0.0221060682, 0.0000586933, -0.0382222086, -0.0205956548, -0.0179303773, -0.0047962284, 0.0649453849, 0.0209253542, 0.0269949529, -0.0026348955, 0.0153796235, 0.0231022369, 0.0299238078, -0.0116953086, -0.0252435505, -0.0263868403, -0.0190935209, 0.0418980755, -0.0126445955, -0.0135524664, -0.0391126908, -0.02601601, 0.0093953134, -0.0208120011, 0.0389616117, 0.0469996482, -0.0431000851, 0.0509040728, 0.0031872473, -0.0488354079, -0.0159047712, 0.0705059394, 0.0267085861, 0.0090906769, -0.0311964136, -0.0296522472, -0.0496728607, -0.0184842311, 0.0250170194, 0.0254220832, 0.004284319, 0.0208048895, -0.0634059235, -0.0482947901, 0.0275999457, -0.0151359597, -0.0219753925, -0.0132352505, 0.0222107563, 0.0638265088, 0.041979976, -0.004967269, -0.053442806, -0.0000226022, -0.0367398784, -0.0147566209, -0.0672563389, -5.44547207e-33, -0.0048566265, -0.0407576971, -0.0019793462, -0.0078978296, 0.0551263392, 0.034849491, -0.0287394114, -0.0275585391, -0.0500915535, 0.0166334026, 0.0094575267, 0.0422997773, 0.0183379762, 0.0115183797, -0.0445409939, -0.0402061157, 0.0253788419, -0.0257120766, -0.0206427798, -0.0114958761, -0.0005920709, 0.0431835204, 0.0312830321, -0.0375242643, 0.079945311, -0.0210915301, -0.0419925489, 0.0213597603, 0.0385897569, 0.0612456538, -0.0063173342, 0.0415097028, 0.0328511856, -0.0622086599, 0.0010966868, 0.0356965773, -0.0449542254, -0.0395722352, 0.0311710481, 0.0165997427, -0.0189631619, 0.0421858542, 0.0582270361, -0.0200082362, 0.0032215756, -0.0205039494, 0.0484655425, 0.0047843657, 0.007238395, -0.0454079323, -0.0607009716, 0.0325587094, -0.0213976055, 0.0478861965, 0.0238453876, 0.1099085808, -0.0113619994, 0.0033403549, -0.0283856187, -0.0338196568, 0.0456472896, 0.0034531606, 0.0020964325, 0.0059227487, -0.0059099454, 0.020691514, 0.0063656792, 0.0018372579, -0.0002295859, 0.0426403545, 0.011793714, 0.0263570752, 0.0754560903, 0.0288957004, 0.0079510259, -0.0022410341, -0.0727081224, 0.0341136456, -0.0189454593, 0.0251006484, 0.0206981786, -0.0131118167, -0.0642621294, -0.0179036893, -0.0408175103, 0.0373597704, -0.0483297966, 0.0239008218, 0.02627155, -0.0024244213, -0.0392059833, 0.0405069925, 0.0040281476, -0.0404268093, -0.0645152032, -0.0082313195, 0.0300761405, 0.0056142793, 0.0368870087, 0.0088462504, -0.0318254642, 0.0254003536, -0.0128553165, 0.0069898958, -0.0107370242, -0.0377232991, 0.0388234891, -0.021430172, -0.0391048715, 0.0087945089, 0.0324344784, 0.0281781927, -0.0094014043, 0.0258280765, -0.005636422, 0.0348299891, -0.0185064152, 0.0199130047, -0.0084586935, 0.0163423978, -0.0339463092, -0.0337761268, 0.010673332, 0.0364395492, -0.0106038256, -0.0125605166, 0.008900254, 0.0557254814, 0.0220533032, -0.0069928551, -0.0212292876, 0.0276255608, 2.239e-7, 0.0643975139, 0.0104153287, 0.0114208041, 0.0079536941, -0.0040693604, 0.0294479132, 0.0338496603, 0.03710787, -0.0228986312, -0.0376354791, 0.024826413, -0.002690644, 0.0735957325, -0.0043662004, -0.0574869625, -0.0545701385, -0.0436323024, 0.0227432754, -0.0496538877, 0.0580875799, 0.032479763, 0.0590815842, -0.0163137503, -0.0122892568, -0.0270450916, -0.0809147134, 0.0314052068, -0.0269127246, -0.0050811544, 0.0300931763, 0.0702061132, 0.0273538809, 0.0273376908, -0.0023628108, -0.0053854482, 0.0030172162, 0.0624030828, 0.0312946178, 0.0249371789, -0.0051729367, -0.0240625702, -0.0159026347, 0.0021319254, -0.0411710963, 0.0615491793, -0.0286092479, -0.0255072713, -0.0036632249, -0.0323484614, -0.0233955085, 0.0382333845, -0.0006861259, -0.0306963418, 0.0164933559, 0.0258908439, -0.0194683056, 0.0271551479, -0.0233729593, -0.001931628, 0.0166620705, -0.0018001788, 0.0340048559, -0.0245613754, -0.0137513205, 0.0137945451, -0.0402894691, 0.0304715689, 1.833137982e-34, 0.0438341238, -0.0264551714, -0.0239649378, 0.0411173552, 0.0939398929, 0.0201204196, -0.0198976249, 0.019142257, -0.0106271598, -0.0836454928, 0.0138993254 ]
http://arxiv.org/abs/2406.11978v1
http://arxiv.org/pdf/2406.11978v1
Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner
2024-06-17T18:01:32
2024-06-17T18:01:32
Kenneth Li, Yiming Wang, Fernanda Viégas, Martin Wattenberg
cs.CL
cs.CL, cs.AI, cs.LG
We present an approach called Dialogue Action Tokens (DAT) that adapts language model agents to plan goal-directed dialogues. The core idea is to treat each utterance as an action, thereby converting dialogues into games where existing approaches such as reinforcement learning can be applied. Specifically, we freeze a pretrained language model and train a small planner model that predicts a continuous action vector, used for controlled generation in each round. This design avoids the problem of language degradation under reward optimization. When evaluated on the Sotopia platform for social simulations, the DAT-steered LLaMA model surpasses GPT-4's performance. We also apply DAT to steer an attacker language model in a novel multi-turn red-teaming setting, revealing a potential new attack surface.
[ 0.0460250229, 0.0342455395, -0.0153282825, 0.0377139971, -0.0407110862, -0.0209697243, 0.0063614314, -0.0270922631, -0.0075067272, -0.035077773, -0.0319290832, -0.0019534684, -0.0493410267, 0.0637819543, 0.0443104245, -0.0496183448, 0.0582614616, -0.0817078426, 0.032075271, -0.0080009401, 0.0001093019, -0.0199905951, -0.038445048, 0.0681676641, -0.0272239987, 0.0021744156, -0.0688743442, 0.0064979298, 0.0268028062, -0.0121059697, 0.0081536593, 0.0063733119, 0.0380248576, 0.0382344313, 0.000002102, -0.0465450175, -0.0087646889, -0.0450330637, -0.0032820918, -0.0123822773, 0.015014722, -0.0030597192, -0.021859739, 0.034264788, -0.0409237444, 0.0046165902, 0.0337664671, 0.0739836469, 0.0853748694, 0.1062035486, 0.0127860932, -0.0391780213, 0.0009097473, -0.0290632602, -0.0328792743, -0.0694969967, -0.0144818267, -0.0023190274, 0.0212880988, 0.0177967306, -0.0148509592, -0.0065926076, 0.0071358471, -0.0233474188, -0.0632470697, 0.0498154648, -0.0293457266, 0.0242346004, -0.0303925239, 0.0415415801, -0.0482751839, -0.0134891942, 0.0246600229, -0.0042958762, 0.0043113129, -0.036492493, 0.0042811618, 0.0009191436, 0.0232752617, 0.0020409529, 0.0252001286, -0.0007389082, 0.0106028756, -0.0190897789, -0.018578615, 0.0910360292, -0.0104572345, -0.0200980976, -0.0183899682, -0.0388756432, 0.0178263541, -0.0768036544, -0.0219421461, 0.0387221202, -0.070701234, 0.0224307999, -0.0558087826, 0.0263884589, 0.0119744306, -0.0149484659, 0.0112659633, 0.0258971136, 0.0102760745, 0.0194475763, 0.0033584849, 0.0551532581, 0.0103067728, 0.0721938014, -0.0172182638, 0.0123295663, -0.0189535841, -0.0083120791, -0.0771889389, 0.0333620235, -0.0522411168, -0.0431938469, -0.0269833095, 0.0518746078, -0.0222070068, 0.0448378734, -0.0146774873, -0.0160195567, -0.0206939671, 0.0198239665, -0.0436406061, -0.0384677052, -0.0422665291, 0.0021137486, 0.0050858133, -0.0643798113, -0.0193966944, -0.005995526, -0.0380551107, -0.0214032792, 0.0013252099, 0.1420494467, -0.0323651992, -0.0425232463, 0.0174705647, -0.0390179567, 0.0001963317, -0.0662722439, -0.0022265036, -0.0581547581, 0.0492991731, -0.0097075952, -0.0146798268, -0.016438758, 0.018986905, -0.0084280251, -0.0186510049, 0.0894366801, 0.0487618707, 0.0175068025, 0.0148555934, 0.005836085, -0.0118290428, 0.0863111839, 0.0502456762, 0.0306652375, 0.0323685855, 0.0272353534, 0.049771931, 0.0842583627, 0.0126477787, 0.0250709318, 0.0440287665, 0.0087020304, 0.0402537957, 0.043825049, 0.0162007753, 0.0441462919, -0.0472491495, -0.0529612489, 0.0681003481, 0.060359478, -0.0158541538, 0.0093439259, 0.0449219421, 0.0247448217, -0.0207095519, -0.0204397719, -0.0305879153, 0.0379490294, -0.0209180526, -0.0055025006, 0.0145302573, 0.0136088766, -0.0227231402, -0.0212992374, 0.0351844653, -0.013358959, 0.0358261839, 0.0057078786, 0.0086214133, 0.0056184246, -0.0916297436, 0.0038019638, -0.0027989638, -0.0388313308, -0.0331236683, -0.0774920955, -0.0053510657, 0.0427090451, 0.0554241128, -0.0169940479, -0.0776998699, -0.0205906369, -0.0365372784, 0.0477611348, 0.0244452115, -0.0123223355, 0.0186148621, -0.0171652827, -0.0086487783, -0.0200733598, -0.0007385515, 0.0420984887, -0.0071245129, 0.0008052681, -0.0308528785, 0.0384664014, -0.0075206328, 0.0266765431, 0.0604189895, -0.033639092, 0.0025228437, -0.0013419032, 0.0950647891, -0.0059800344, -0.0266626533, 0.0131743876, 0.0381398536, 0.0047120936, 0.012399097, 0.0464048386, 0.0050879582, -0.0137737356, 0.019476248, 0.0145979235, 0.0183445606, 0.034492027, -0.0374142416, -0.026100738, 0.0496989861, -0.0302355401, 0.0301917996, 0.0043122028, 0.0005719621, 0.0307508577, 0.0158708021, -0.0088251885, 0.0102965767, 0.0068709869, -0.0401446372, -0.0080514066, 0.0125860721, 0.0071554799, -0.0937833488, -0.0035436391, 0.0515414476, 0.0182851721, -0.0022155838, 0.0341899134, 0.0272331256, -0.017277671, -0.0526155978, -0.0644650385, -0.007243013, -0.0396803021, -0.0070501138, 0.0145245595, -0.0130715566, -0.027675163, -0.0115250396, -0.0203016829, -0.0017199772, 0.0221139006, -0.0142381275, 0.0038856061, 0.0267777368, -0.0752460957, -0.0249778777, 0.020615194, 0.0032082566, -0.0003376496, -0.0162088796, -0.0228153802, -0.0349347703, -0.0143635646, -0.0453562699, 0.0473883301, -0.0378633589, -0.0789853632, 0.0525849313, -0.0085786507, 0.0290426705, 0.0498369485, 0.0170655753, 0.0410380363, 0.0542659238, -0.0463230945, -0.0723184422, 0.0432926379, -0.0304490309, -0.0260083936, -0.08510039, -0.0067824177, 0.0566377193, 0.0637557134, 0.0051080571, 0.0275906101, -0.0471016616, -0.0372274332, 0.0366891287, -0.0498366542, 0.0173193607, -0.0157426018, -0.0329029113, 0.0087671094, -0.0311582237, -0.0293740965, 0.0853178576, -0.0286174193, -0.0263095759, -0.0424431823, -0.0048147477, 0.0081202406, 0.0449895523, 0.0073778578, 0.013181271, -0.0142037831, -0.0055470024, -0.0158980824, -0.0700410232, -0.0061770561, -0.0111313481, 0.0519310646, -0.0466473661, 0.0195913184, 0.016032612, 0.0037549092, -0.0224974863, -0.0233052671, -0.0437224209, 0.021168977, 0.0129992329, -0.055540815, -0.036999166, -0.0006516348, 0.0485734493, 0.0461127572, -0.0013712781, 0.0048894407, -0.0297324955, -0.0353588089, 0.0569208972, -0.0224152431, -0.0181028917, -0.0381612778, 0.0493797809, 0.0494353063, 0.0578824431, -0.0497917682, -0.0235579684, -0.0262571648, 0.0287234671, -0.013585547, -0.0111181401, 0.0299370531, 0.0598788932, -0.0229883473, -0.0273195095, 0.0795097798, 0.0231853053, 0.0119366962, 0.0135409944, -0.0171610843, 0.0463160612, -0.0088727772, 0.0536254719, -0.0683604404, -0.0212291293, 0.0023656571, 0.0244491827, -0.021510886, -0.0241898336, -0.0211025067, -0.1005754247, 0.0213693473, 0.0034620631, -0.0661532208, 0.0102016665, -0.0135705164, 0.0045198514, 0.0133388462, 0.0350502655, 0.000590372, 0.0468817465, -0.0188506301, -0.01279891, -0.0295070596, 0.0402688682, 0.0116361482, -0.0238333717, 0.0961016193, 0.0645415634, 0.0427510105, -0.0046330737, -0.0104603954, 0.0246994849, 0.0341979638, 0.0030433794, -0.0066639776, 0.0036157316, -0.0255979132, -0.012296794, 0.0626415238, 0.028963102, 0.0306327064, -0.0338537879, 0.0365334302, 0.0306019299, -0.0580333807, -0.0078032487, -0.0144005287, 0.0301974192, 0.0411107801, 0.0452357419, -0.0201299042, -0.0331258141, -0.0426881164, -0.0327102728, -0.0296171214, -0.077196613, -0.0624370426, -0.0647818595, 0.0185573548, -0.0159979276, -0.0491183847, -0.0659192577, 0.0208665505, 0.0219953246, -0.0106742792, -0.0192071367, -0.0135220978, 0.0263192989, 0.0058219791, -0.0449924245, -0.0435523465, 0.0403637774, -0.0655794814, -0.0309790857, 0.0094635533, -0.0655040219, -0.0074507403, 0.0600356385, -0.0442342684, -0.0661664382, 0.0125517333, 0.0710392073, 0.0152429054, 0.0376524851, -0.0200539958, -0.0263688676, 0.0380002223, 0.008453778, -0.0211656708, 0.0351124667, 0.052660957, 0.0597693995, 0.0257151574, 0.0330931209, -0.0245032869, 0.0172138289, 0.0377815627, 0.0161151309, -0.076808922, -0.0199254043, 0.0031039161, -0.0067446334, 0.0434878021, -0.0174332447, 0.0169992484, 0.0110025117, 0.0197531171, -0.0635484383, -0.0105818436, -0.0279201418, 0.004393186, -0.0213203821, 0.0047858083, 0.0124005694, -0.032774061, -0.0473432466, -0.0207345132, 0.0126368972, 0.0206252914, 0.0740611628, 0.0080231866, 0.0085110096, -0.0078622689, 0.0209384821, 0.0092279287, 0.0000979596, 0.0026888952, 0.0311704632, 0.0528992452, 0.0266690552, -0.04274657, 0.0036135996, 0.031834878, -0.0828761235, -0.0639661402, 0.0542106591, 0.056367971, 0.0466990322, 0.0377686135, 0.0224072486, -0.0552074388, 0.0303218123, 0.0139434077, 0.0109161204, -0.0049795215, -0.0741523206, 0.0696041808, 0.0278935991, -0.0095070256, 0.0322514847, 0.0448876619, 0.0048609339, 0.0789524093, 0.0187923945, 0.0097174002, -0.0533159077, -0.038176734, 0.0164693743, 0.0319787301, -0.0087461974, -0.0283598397, -0.0476815701, -0.0256472491, 0.0006207144, 0.0491332151, 0.0150521873, -0.0068394532, 0.0450270958, 0.0252402313, 0.0070778499, -0.0034147273, -0.0585249998, -0.0064659924, 0.015806932, -0.0410870239, 0.0018823326, -6.228959993e-33, -0.0135240387, -0.028332023, 0.050241787, 0.0038439147, -0.0441676788, -0.0196676403, -0.0538166836, -0.0089605805, -0.0362889431, 0.0061491304, -0.0218110662, 0.0288619082, 0.016322758, 0.0057044011, -0.0277285241, -0.033077471, 0.0185106657, -0.0319008902, -0.0407220982, 0.0353454687, 0.060978204, -0.0314889327, 0.0205443222, -0.0567989424, 0.0014546419, -0.0091932984, -0.0633659139, 0.0344953276, -0.0288224295, 0.0248499122, 0.0161087289, -0.0074189682, -0.0198921878, -0.0394748524, 0.0042769406, 0.0240197238, 0.0125986999, -0.0264991242, 0.0108837876, -0.0027914559, -0.0313768163, -0.0534108877, 0.0017765397, -0.00362372, -0.0380362533, 0.0245955978, 0.0006327947, 0.0002299155, -0.0093534468, 0.0206685681, -0.0558531545, -0.0010287915, -0.0199040249, -0.0427267738, 0.0036868176, -0.0038062353, 0.0153331244, -0.0716210902, -0.0301112812, 0.0670924187, -0.0283185504, 0.0047169081, 0.0383912995, 0.0486443602, 0.0217922553, 0.0477154851, 0.0041745217, 0.0049504149, -0.0343339629, 0.022460185, 0.0125596961, 0.0424959883, 0.0348892622, 0.0141749326, -0.0390021503, -0.0354359522, -0.0486389361, -0.012370199, 0.0632471964, 0.0582945161, 0.0266074874, 0.0117645804, -0.0559188314, 0.0033446981, -0.0220860653, -0.0077856244, 0.0098056765, -0.0446366183, 0.0260476377, 0.0306701828, -0.0007416969, -0.0388995595, 0.0523170978, 0.0020994877, 0.0119005376, 0.0447166637, -0.0275578238, 0.0080906237, -0.0445682071, -0.0242038984, -0.0478540324, -0.0249160118, 0.0422196873, -0.0319524184, 0.022215426, 0.0056368476, -0.0089257481, 0.0524530821, -0.049684383, -0.0003910196, -0.0382387564, 0.0676814988, 0.0116561083, -0.0160359312, 0.0285789482, -0.0263834409, -0.0216876008, 0.0007210623, -0.0007819273, -0.1052016094, -0.0158101432, 0.0378140435, -0.0341911428, 0.0320167206, -0.0487292297, 0.0507407933, -0.0265364647, 0.047875829, -0.0014287917, -0.0397296175, -0.0186197944, -0.0285434518, 2.906e-7, -0.04831798, 0.0327640288, 0.0319139697, 0.0721020848, 0.001069824, 0.0618860424, -0.0110114859, 0.0791782737, 0.0234007034, 0.0076347883, 0.0119178863, 0.0588871092, 0.0111358538, 0.0170914829, -0.0697806776, 0.0020572026, -0.0460699499, -0.0220273677, -0.057406567, -0.0341196619, 0.0410689525, 0.0779567361, 0.0439993031, 0.0101758521, -0.0208897069, -0.014927567, 0.0211640801, -0.0239812918, -0.0112479106, 0.0169206038, -0.0108793136, -0.0062062708, -0.0372508503, 0.0235651881, -0.0162024125, 0.0205861237, -0.0243592225, 0.05215488, 0.010260581, -0.0633306652, -0.0253703818, -0.0198696796, -0.0177392606, -0.0310837459, 0.0431029797, -0.009540773, 0.0112862391, 0.0206520725, 0.0098817479, 0.0166850798, -0.0114498939, -0.0372416563, -0.0260338783, 0.0202771518, 0.0037942678, 0.0211460013, 0.0544320308, -0.0486869179, -0.0065291766, -0.0408249497, -0.0260899961, -0.0292072389, -0.002715047, 0.044530496, -0.011526675, -0.0079879537, -0.0290821027, 2.549651839e-34, 0.0085423896, -0.0293771364, -0.013653256, 0.0188351572, 0.0503060706, 0.013596545, 0.0220703464, 0.022519974, 0.0655448362, -0.0192841832, -0.0387169831 ]
http://arxiv.org/abs/2406.11977v1
http://arxiv.org/pdf/2406.11977v1
Reframing linguistic bootstrapping as joint inference using visually-grounded grammar induction models
2024-06-17T18:01:06
2024-06-17T18:01:06
Eva Portelance, Siva Reddy, Timothy J. O'Donnell
cs.CL
cs.CL, I.2.7; I.2.10; I.2.6; F.4.2
Semantic and syntactic bootstrapping posit that children use their prior knowledge of one linguistic domain, say syntactic relations, to help later acquire another, such as the meanings of new words. Empirical results supporting both theories may tempt us to believe that these are different learning strategies, where one may precede the other. Here, we argue that they are instead both contingent on a more general learning strategy for language acquisition: joint learning. Using a series of neural visually-grounded grammar induction models, we demonstrate that both syntactic and semantic bootstrapping effects are strongest when syntax and semantics are learnt simultaneously. Joint learning results in better grammar induction, realistic lexical category learning, and better interpretations of novel sentence and verb meanings. Joint learning makes language acquisition easier for learners by mutually constraining the hypotheses spaces for both syntax and semantics. Studying the dynamics of joint inference over many input sources and modalities represents an important new direction for language modeling and learning research in both cognitive sciences and AI, as it may help us explain how language can be acquired in more constrained learning settings.
[ 0.0194770321, 0.0375490263, -0.0306610279, 0.0163283795, -0.0389424041, 0.0266865157, -0.053774327, -0.0012619137, -0.0304248463, -0.0799048766, -0.032219436, -0.0381692015, 0.0266220476, -0.0003354783, 0.0399086475, -0.0349073038, 0.0562336259, -0.030907739, -0.0376822427, 0.0045974497, -0.0039994437, -0.0004952007, -0.0283251647, 0.0131414225, -0.0783214867, 0.011186312, 0.0157197192, -0.0363483801, -0.0620618723, -0.0135169309, -0.0119227981, 0.0310923904, 0.054355111, 0.0299886391, 0.0000016502, -0.0619477071, 0.0134615358, -0.0401859544, -0.0224049482, -0.0141677605, 0.027948007, -0.0479564965, 0.0091292821, -0.024337342, -0.0737796128, -0.0584869199, 0.0558533818, 0.0096942745, 0.0130939968, -0.0114075635, -0.0231084321, -0.0000139934, 0.0349152982, -0.0095043583, 0.0006666382, 0.0204537679, 0.0067003374, 0.0470712706, -0.0341875218, -0.0249007698, -0.0510833971, -0.004189319, 0.0376412459, 0.0046545514, -0.0051574344, 0.0654053167, -0.003264436, -0.0515240617, -0.0232277606, 0.0362804681, -0.0121252481, -0.035527721, -0.0270878337, 0.0219072755, 0.0133815557, 0.0772733837, -0.0533399582, 0.0844893977, -0.0179695711, 0.0760705993, 0.0531670563, -0.0437603779, 0.0075511909, 0.0173747502, 0.0138903148, 0.0781594142, -0.0173365101, -0.0270537604, 0.0582886264, 0.0722687021, -0.0255926978, -0.0398963764, -0.0450902358, -0.0115420287, 0.0198820923, 0.0362940766, -0.0237346143, 0.0181179028, -0.0073455088, -0.0158379395, 0.038449347, 0.0071426448, -0.0352023616, 0.0474703051, -0.0486328602, -0.0176072754, -0.0055076885, 0.0312431082, -0.0270789843, 0.032936912, -0.0296002515, -0.0500922464, -0.0222250298, 0.0219871644, -0.0397211537, -0.0106820799, -0.0086280992, 0.0056130541, -0.003537857, -0.0250589289, -0.0272953026, -0.0161643848, -0.0774930865, -0.0019064246, -0.0550311692, -0.0287141986, -0.014013445, 0.0733560547, -0.0095282961, -0.0585194826, -0.0419259369, 0.0207541492, 0.0138952183, 0.013638434, -0.0259399414, 0.0660368428, -0.0215441287, -0.0293831807, -0.0322461277, -0.031341657, -0.0152622741, -0.0111820344, 0.0510401279, -0.0551126935, -0.0411382206, 0.0100593176, -0.0007695865, -0.0611909814, 0.002627251, 0.0110786417, -0.0110131521, 0.03686212, -0.0013469215, -0.0172557812, -0.0232998691, -0.0163303502, 0.0088171912, 0.0638945028, -0.0016434697, -0.0128270248, -0.0184909366, 0.0081548775, -0.0039415117, 0.0112462463, 0.0077287965, 0.0245376043, -0.0772496834, -0.0442294106, 0.0233286973, 0.0184238516, -0.0101484712, 0.0153125748, -0.0293376744, 0.0307593141, 0.0324448943, 0.0498076603, 0.0034138232, 0.0090310713, 0.0848214179, -0.0427967682, -0.0059500518, 0.048861254, -0.059964899, 0.0057721711, -0.0161287021, 0.0028297121, -0.0683994368, 0.0026099719, -0.0047937878, -0.0345455743, -0.0042627202, -0.0176433846, -0.0064271884, 0.0001301275, 0.0509919077, 0.096696578, -0.0144357001, 0.0184502043, 0.095908232, -0.0521794185, 0.0032606865, -0.0150445979, -0.0060282433, -0.0292344131, -0.0118793054, -0.0132315699, -0.0350635797, -0.0025211682, 0.0167952534, 0.0613255501, -0.0126979025, 0.0144781973, 0.0047998857, -0.012066395, -0.0012865273, -0.0144295515, 0.0265257116, -0.0096168099, -0.0164930951, -0.0255312324, -0.0203560963, -0.0335355736, 0.0086774677, 0.0776158273, -0.0160272792, -0.0284995437, -0.036444407, 0.047332406, 0.0015710176, -0.0600905977, -0.0004207364, 0.008194006, 0.0187038463, -0.0313092321, 0.0156595148, 0.0452275015, -0.0764819086, -0.0522875972, 0.0105327386, -0.0023579709, -0.0144475512, -0.0126461657, 0.0213404968, 0.0000445386, 0.0443411544, -0.0356179141, 0.064844653, -0.0302222054, -0.0027467532, -0.0255472269, 0.0206091274, -0.0349461325, 0.0863824561, 0.005285054, -0.0134073654, -0.0296911839, 0.0048190886, 0.0108930031, -0.0008702615, 0.0234160013, -0.0210359227, -0.0007716882, -0.0180627592, -0.0093368581, 0.0012587273, -0.0824000314, -0.0006333686, -0.0478158332, -0.0162690226, 0.0088066179, 0.0118897362, 0.029510593, -0.0513945185, 0.0005798003, -0.0342866555, 0.0072899619, 0.0476530083, -0.0386701636, 0.0256605223, 0.0477221869, 0.0013872709, -0.0185108352, -0.0362036154, -0.0200086441, -0.052167315, 0.0748294443, 0.0527474396, -0.0105160624, -0.0368060246, 0.0025466869, -0.014396769, 0.0398937948, 0.0240301434, -0.0139928628, 0.0500366651, -0.0391569659, 0.0410892367, 0.0796477199, -0.0197337158, 0.0815156028, 0.0501773767, -0.011106099, -0.0512750931, -0.0278156251, -0.0503652096, -0.0192305986, -0.0151827084, 0.0020145937, -0.0264580082, 0.1083563268, 0.0001679772, -0.0114212744, -0.0363730155, 0.0464960225, -0.0337786935, 0.0016930274, -0.0402777605, -0.0445233174, -0.0365925692, 0.055635117, -0.048052296, -0.0649067238, 0.0677065477, -0.0005819547, -0.0007842085, -0.0365863591, 0.0047054524, 0.0030403922, 0.0630736127, 0.0526922718, 0.0168318208, 0.0378797911, -0.0072548101, -0.0860795528, 0.0071866745, 0.0689031258, 0.0190782361, 0.0425505228, -0.0684626997, 0.0077197878, 0.019221982, 0.0024194303, -0.0501883961, -0.0493093133, -0.025366528, -0.0096321665, -0.0859598443, 0.0208312031, 0.0565326996, -0.0055204965, 0.0089285756, -0.0010000801, 0.0139030525, -0.022580361, -0.0277718939, 0.0098590907, 0.0152350087, -0.0211036466, -0.0118957134, -0.0233453028, 0.0102009848, 0.0381058194, 0.0445845686, 0.0683104545, -0.0453773364, 0.0697230101, 0.0291838255, 0.0344235189, -0.0529476516, 0.0069126613, 0.0120530985, -0.0078318967, -0.0070102257, 0.0501159877, 0.0388678983, 0.0048242733, 0.0375153422, 0.0235541277, 0.0478451885, 0.0372580029, 0.0049805609, -0.057056006, -0.0234222095, 0.0119149173, -0.0325844698, 0.0081740841, -0.0401998349, -0.0077697081, -0.0934758708, 0.0044009895, -0.0070020859, -0.0456319116, 0.0278204139, -0.0279164631, 0.0146333463, 0.0525070839, -0.0174169652, -0.0045950371, -0.0316392779, 0.0351014324, 0.0250183661, 0.0660371631, -0.0178597923, -0.0107120601, -0.0421604291, 0.0324490108, 0.0035403094, -0.0111943781, -0.0333087742, -0.0302834399, 0.0848439112, -0.0304119587, 0.0084527908, -0.0160978865, 0.0225717779, 0.0298401862, -0.0182024054, -0.012524344, 0.038285289, -0.0106522366, -0.0391901359, -0.0315944254, 0.0848492756, 0.0197224524, -0.0111657055, 0.0416230857, 0.0356514454, -0.0196170956, 0.0194488503, 0.0679706186, -0.0467100777, 0.0103379488, -0.0549103171, 0.0169521011, 0.0003571141, -0.071047686, 0.0647032633, -0.0274629984, -0.0502967574, -0.0969699323, -0.0163258389, 0.0251230802, 0.0285108984, 0.0431585126, 0.0037141449, 0.0126215266, -0.0354051441, 0.0032956479, 0.069386892, -0.0159323625, -0.0269757006, -0.0122052934, -0.0177866872, 0.0240911189, -0.041626785, -0.0298128854, -0.053900227, 0.004602687, -0.0581092536, 0.0066558179, 0.0286088698, 0.0173685178, 0.0270440076, 0.0189740099, -0.0098150866, 0.011439031, 0.0520666316, 0.0010456927, 0.0311048739, -0.0021631082, -0.0393551104, 0.0235246867, 0.0256786868, -0.0212622434, 0.0305859931, 0.0211017504, -0.0035892101, -0.0159563459, 0.035928119, 0.0857795477, -0.0024732149, 0.1027351767, -0.0215766579, 0.0004533819, -0.0417717956, -0.0360892713, 0.0072769551, -0.0030247881, -0.0172795579, -0.0036287704, 0.0264664125, 0.0491839051, 0.0249875952, 0.0036737029, 0.0024650546, 0.0740154833, -0.0015499715, -0.0309852846, 0.0415463857, 0.0258248746, 0.0004586456, 0.058650896, 0.00546963, 0.0024051315, -0.052428782, 0.0282484591, -0.0190487988, 0.0256309919, 0.038344074, -0.0266568158, -0.0229709391, -0.0099568125, -0.0250106342, 0.0154115418, 0.011385628, 0.0027055244, 0.0593586452, -0.0734410957, 0.0163214393, -0.0592556968, 0.0297833104, 0.0229995903, 0.0106953643, -0.0003891276, -0.068772763, 0.0667354092, 0.0143445907, -0.0028780859, -0.0053527341, 0.0570963398, 0.0035811451, 0.0700190887, -0.0112376139, 0.0244662818, -0.0117549635, -0.0194617715, 0.0102756117, 0.0012957947, 0.0134714199, 0.0829792768, -0.0370797552, -0.0626673922, -0.0759077743, 0.0302213114, 0.007782293, -0.0143535072, 0.0507220067, 0.0410445295, -0.0086923521, 0.0049361619, -0.0225341339, 0.0463686362, 0.0159474611, 0.0179803204, -0.0096384706, -5.83184641e-33, -0.01874559, -0.0256645586, -0.0026721968, 0.0852917582, 0.0030058392, 0.0016790516, -0.0067718388, 0.0372655503, -0.031431593, 0.0387115702, 0.0280158464, 0.0094880797, -0.0027792056, 0.0092632538, 0.0070250235, 0.0125194676, -0.0278050173, -0.0325156115, -0.0090903873, -0.0453286171, -0.00533253, -0.0064671016, 0.0707014948, -0.0564673841, -0.0076394319, 0.0372424535, 0.0141179739, 0.0359616987, -0.0356708989, 0.0412666202, 0.0003636719, 0.0586887412, 0.0301080123, -0.0109559949, 0.0014010443, 0.0435093604, -0.0527109727, -0.0586962551, 0.0532206595, 0.0275755394, -0.1002163067, -0.000980402, 0.0342268385, -0.0224336088, -0.0090027824, 0.0071513066, 0.0281520132, -0.0102674626, -0.0039675888, 0.0297440309, -0.0688319877, -0.0307156108, 0.0303967204, -0.0411790796, 0.040150661, 0.0218335334, 0.0128497966, -0.0275630765, 0.0044182139, 0.0330523886, -0.0120027857, 0.0595068075, 0.0566962846, 0.0251785479, 0.0136861736, 0.0666160062, -0.0031789066, -0.023275312, -0.0147953732, 0.006020328, 0.0400387794, 0.0215928089, -0.0060005346, 0.0472069345, 0.0309207346, 0.0017184317, -0.0667059943, -0.0144261615, 0.0440053903, 0.0366462246, -0.022337418, -0.0164573919, 0.014691473, -0.0206476804, -0.0543709174, 0.0155509934, -0.0307169631, -0.0088032205, 0.0243348535, 0.0093109086, -0.0107212747, 0.0155574987, -0.0296493731, -0.0078193909, -0.0241471045, -0.0259539988, -0.0168011282, 0.0202527717, -0.0026159668, 0.0264901631, -0.000757304, -0.0622857586, 0.0256461836, 0.0050702989, 0.048981823, 0.0610873848, 0.0788302943, -0.0108305356, -0.007171256, -0.0083675859, -0.0367639288, -0.0379197933, 0.0577376746, -0.0513080135, 0.0554900467, 0.0349907167, -0.0459340848, -0.0053856107, 0.0471954681, 0.0137745561, -0.0349155255, -0.0275318455, -0.0594314411, 0.0493228771, -0.0303878803, -0.0410003439, -0.033254914, -0.0096033104, 0.0406099446, -0.0561813936, -0.0296864267, -0.0021674542, 2.516e-7, 0.0400424674, 0.0707319155, 0.0096409703, -0.0112000424, 0.0222998038, 0.036001686, -0.0124797272, -0.0178896505, 0.0042163474, -0.0700156689, -0.0876509547, 0.0220847558, 0.0035971452, 0.0012239737, -0.0188691448, -0.0130985947, 0.0097936159, 0.0519235134, -0.0223878305, 0.0141864792, 0.0740080327, 0.047389742, -0.007121033, -0.0333946869, -0.0130234482, -0.0459017009, 0.063402757, -0.0230352953, 0.0048852907, -0.0221865028, -0.0371469446, -0.0051101604, -0.0092996769, 0.0579298474, -0.0025787337, -0.0017491196, -0.004921875, -0.0373132713, -0.018193135, 0.0422415324, -0.0061223307, 0.0043922598, -0.028608175, -0.0384259969, 0.0465946607, -0.0816659629, -0.0208979398, 0.0128731178, -0.0119776465, 0.0051488904, -0.0017541097, 0.0128813516, -0.0381723978, -0.0164466575, 0.0253882743, -0.0031300066, -0.014405095, -0.0276746005, -0.0371129923, 0.0659256279, -0.0102620991, -0.0039714207, -0.007054029, -0.0386542529, 0.0346969813, -0.0404467359, -0.0228880625, 1.880696026e-34, -0.0264209844, -0.0163074061, 0.1089275777, 0.003891614, 0.000890774, -0.0280343983, -0.0115034757, 0.0371949263, 0.0359262265, -0.0432662517, -0.0022414231 ]
http://arxiv.org/abs/2406.11839v1
http://arxiv.org/pdf/2406.11839v1
mDPO: Conditional Preference Optimization for Multimodal Large Language Models
2024-06-17T17:59:58
2024-06-17T17:59:58
Fei Wang, Wenxuan Zhou, James Y. Huang, Nan Xu, Sheng Zhang, Hoifung Poon, Muhao Chen
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Direct preference optimization (DPO) has shown to be an effective method for large language model (LLM) alignment. Recent works have attempted to apply DPO to multimodal scenarios but have found it challenging to achieve consistent improvement. Through a comparative experiment, we identify the unconditional preference problem in multimodal preference optimization, where the model overlooks the image condition. To address this problem, we propose mDPO, a multimodal DPO objective that prevents the over-prioritization of language-only preferences by also optimizing image preference. Moreover, we introduce a reward anchor that forces the reward to be positive for chosen responses, thereby avoiding the decrease in their likelihood -- an intrinsic problem of relative preference optimization. Experiments on two multimodal LLMs of different sizes and three widely used benchmarks demonstrate that mDPO effectively addresses the unconditional preference problem in multimodal preference optimization and significantly improves model performance, particularly in reducing hallucination.
[ 0.016530538, 0.0725470185, 0.0123729911, 0.0386307202, -0.0335765518, 0.0126529401, 0.007362044, -0.0214799065, -0.01896891, -0.0386503749, -0.0700138509, -0.063383311, 0.000704702, -0.0330196768, 0.0325407162, -0.0734978244, 0.0347432382, -0.0545106195, -0.0257295053, -0.0310418028, 0.0406114496, 0.0099819489, -0.0136595378, 0.0242304932, 0.0036353997, -0.0371482335, 0.01651836, 0.0063916668, 0.03362244, -0.0173770394, -0.0055028726, 0.0549318679, 0.0143826762, 0.0036188769, 0.0000020988, -0.0523985922, -0.028284058, -0.0222535692, 0.0220403187, -0.00647187, 0.0587904193, 0.0155070499, 0.0055990485, -0.0106482944, -0.0109830219, 0.0057707969, 0.0921618193, 0.0419624187, 0.0290178619, 0.0332234427, -0.000125685, -0.0538485236, -0.0059554917, -0.0162208974, 0.0308527891, -0.0041147484, 0.0267709754, 0.0137959961, -0.0306024067, -0.0110000316, -0.0457158908, 0.029624451, -0.0192593746, 0.0261825193, 0.0447170362, 0.0282390434, -0.0089719873, -0.0464113094, -0.0168331191, 0.0838767216, -0.0146106444, -0.0075115496, -0.0260706469, -0.0221291184, 0.0004857498, 0.0132514955, -0.0328141563, 0.0133724352, 0.025060799, 0.0294311084, 0.009338174, 0.0114540439, 0.0156258661, 0.0164834838, -0.0349592716, 0.0689427406, 0.0448054709, -0.022704171, 0.0184188299, 0.0045798016, -0.0651878044, -0.0587352477, 0.0132851917, -0.0185989607, -0.0393542573, 0.0165609177, -0.0305328853, 0.0045286268, 0.0137120057, -0.0540309288, 0.0421489626, 0.0406795591, -0.0316626355, 0.0460801199, 0.0091592483, 0.0475720465, -0.0577997267, 0.0420223996, -0.0475784466, 0.0048329723, 0.0158011205, -0.0044135149, 0.0223128852, -0.0057589812, -0.0081181573, -0.0514850803, -0.0471427776, 0.0211432856, -0.0177967511, 0.0284536928, -0.0099476827, 0.028304249, -0.0285311583, -0.0212298986, -0.0371186361, 0.0925777107, -0.0073811682, 0.0019855374, 0.0029660386, 0.0202338211, 0.0341330357, 0.0523030646, -0.0183724612, -0.0581054688, -0.0160318967, 0.0785562769, -0.0034530119, 0.0113995522, 0.0249062739, 0.0031446095, -0.0507452451, -0.0673318729, 0.0225142296, -0.0556250811, 0.0321245305, 0.0177664012, 0.015004307, -0.025738325, 0.0036999627, -0.0144909173, -0.0094921449, 0.0770023093, 0.0498145185, 0.0025748287, -0.0037590151, -0.0054167695, -0.0163306426, 0.0865927339, 0.014599219, 0.065724358, 0.0371143892, -0.0309016798, -0.0214203801, 0.0782633871, -0.0196872819, 0.0161044355, -0.0605953671, 0.0268000588, 0.0609958321, 0.0522800945, 0.0615312569, 0.0167318042, -0.0203730464, -0.0237653535, 0.1004166082, 0.0065081026, 0.0140962731, -0.0511114709, -0.048370067, 0.0013322431, -0.0373315625, 0.0396232642, -0.065360859, 0.0780277997, -0.0267836824, 0.0304404348, 0.0733511299, 0.0608651377, -0.0033878956, 0.0054320744, -0.0104059894, -0.0000828554, -0.019576434, 0.0758228898, 0.0221259166, -0.0458231941, -0.0575709306, 0.0251527056, 0.0437389798, -0.0290555991, 0.0073224776, -0.0130069694, 0.0367379226, 0.0572634265, 0.0340772048, -0.0039459099, -0.0269997641, -0.005033243, -0.0003986715, 0.0838150308, 0.0290550217, -0.0042883684, 0.0076520252, -0.0566283241, -0.0514855422, 0.024092542, -0.0090560289, -0.0023318005, -0.0032550388, -0.0116574811, -0.0404372588, 0.0204411224, 0.0078787506, 0.0084406687, 0.0478958972, 0.0088100806, -0.0383407623, 0.0214941297, 0.0549906716, -0.0209288243, -0.0042402046, -0.0080485083, -0.0139307184, -0.0114803379, 0.0115750516, -0.0029882288, -0.062470641, -0.0313613899, 0.0498796105, -0.0437876172, -0.0486849323, 0.0296508577, -0.0216437988, 0.0001323792, -0.0144845108, 0.0063584102, 0.0416019261, -0.0131134642, 0.042784065, -0.015454107, 0.0083877826, -0.0858851671, 0.0535340346, -0.0151565922, 0.0164442658, 0.022412641, -0.0098818783, -0.0079761464, -0.0394258499, -0.0344978273, 0.0577482432, 0.0243740045, 0.0218572542, 0.015396866, -0.0005963647, -0.0548324436, -0.0321694091, -0.0692598969, 0.0173231084, -0.002048119, -0.0082159601, 0.0225947537, 0.0052612186, 0.0027621109, -0.0100612799, -0.0461901277, 0.0332075581, -0.0117661767, 0.0363021865, -0.0015512442, -0.015198946, 0.0055461898, -0.0435554571, -0.0126570351, 0.0073407651, 0.0270732138, -0.0312986299, 0.0144116729, -0.041980654, 0.035080906, -0.0727658346, 0.0096055986, 0.00223819, -0.0216528904, 0.005111333, -0.0148381386, 0.0608322211, 0.0764084682, 0.0172101818, -0.0345151424, 0.082468316, -0.0099210395, -0.0688776076, -0.0327576622, -0.0194628518, -0.0040420508, -0.0110902181, -0.0382221341, -0.0334291607, 0.0568837263, 0.020728739, 0.0020722349, -0.0545209423, 0.0130653372, -0.0156591479, -0.0164610222, -0.0414751209, 0.0177293513, -0.031588804, 0.0493040718, -0.0409754328, -0.0509580225, 0.0760703459, -0.0260986127, -0.0113534024, -0.0342668407, 0.0442324504, -0.0125054531, 0.0013678321, 0.0258056633, 0.0460855179, -0.0144091155, 0.0175255518, -0.0947759002, -0.0339786448, 0.0335199088, -0.0263554305, 0.0696122795, -0.0088935466, -0.0062570274, -0.0315360688, -0.0558707751, -0.0300605539, -0.0467915758, -0.0086195925, -0.0483440422, -0.0206786618, 0.0050039985, -0.0340710208, 0.0193387698, 0.0498364083, -0.0156826284, -0.0166103002, -0.0049343677, -0.0289925318, 0.033343982, 0.1205836684, 0.0186948441, -0.0025098857, -0.0484482832, -0.0283270776, 0.0411231741, 0.0461238772, 0.0119546736, -0.0276552849, 0.0327043012, 0.074498117, 0.0084277978, -0.0073708268, 0.0159049053, 0.0606591254, -0.003616242, 0.0629044995, 0.0780214071, 0.0166269708, -0.0888924673, -0.0239080209, -0.0206316747, 0.0761067942, 0.0034414493, 0.0185254905, -0.0556987897, -0.0466310419, -0.0081954235, -0.0166873224, 0.023224663, 0.0315219387, 0.0139686679, -0.1082108468, 0.0097134849, 0.0348464996, -0.0172358863, 0.0127449017, -0.0277096163, 0.0269444976, -0.0305982064, 0.0339579359, 0.0100914538, -0.0057208277, -0.0228657424, -0.0096685486, 0.0318065621, -0.0156355388, 0.0137387849, -0.0596798435, 0.0401641205, 0.0849801302, 0.0211498607, 0.0072501902, -0.0535147712, 0.0232413914, 0.0419178568, -0.0408951938, -0.0074471561, -0.0101577751, -0.0077415099, -0.0063671959, -0.0351038463, 0.0232938807, 0.0148053728, -0.0175076909, -0.0057439157, 0.0672421455, 0.0042736749, 0.0080329981, -0.0261286646, 0.0187320076, -0.006542312, 0.0453018211, 0.007863421, -0.0785402656, -0.0091519626, -0.0293930937, -0.0070838071, -0.0357760713, -0.0258737896, 0.0076607061, 0.00158542, 0.0126073565, -0.0599452369, -0.0073865801, -0.0076813782, 0.0143939974, 0.0245760772, 0.0136853792, -0.0264695063, -0.0293590948, -0.0053391182, 0.0689846352, -0.0371748246, 0.0139152687, -0.0482998639, -0.0030386297, 0.0192831904, -0.0371218845, 0.0000262996, 0.0203581993, -0.0450708754, -0.0723742619, -0.0244245641, 0.0456507355, 0.0139181018, 0.0477318689, 0.038425412, -0.0789891258, 0.0179851651, 0.005025845, 0.0299874973, 0.0155423479, -0.0087646348, 0.0126660466, -0.009499047, 0.0313343816, -0.0284087192, -0.0186247434, 0.0275420919, 0.0328053162, 0.0137025109, -0.0114570642, 0.0219065696, -0.0056314101, 0.0200514141, -0.0465579182, -0.0076095313, -0.0447470918, -0.0078851283, -0.0137684243, -0.0387984402, -0.0148377595, -0.0372962989, 0.0536291748, -0.0074376781, 0.0219473671, -0.0236627217, -0.0182113163, -0.0076242737, -0.0401725993, 0.0266049001, 0.0146916127, -0.0277685989, 0.0381669216, 0.0418767743, -0.0121501144, 0.0254806355, 0.0004645002, 0.0334536321, -0.0002860904, 0.0809246451, 0.0177576523, -0.0329763442, -0.01593359, 0.037559472, 0.0257157329, -0.0319521837, -0.033837527, -0.0135416603, 0.0723078027, -0.0185880158, 0.0798918381, 0.0066041844, -0.0170804802, -0.0185484532, 0.042103529, -0.0133835515, -0.0349997878, 0.0430987068, 0.012391679, -0.0082082665, 0.0299193282, 0.0500824228, -0.0103330165, 0.0026195596, -0.0319193602, 0.0096634561, -0.0176215116, -0.0244007856, 0.0234852061, 0.0164834764, -0.0592063628, -0.0039429702, -0.0426620767, -0.0583063029, -0.0326559246, 0.0101032304, -0.0388577916, 0.0100945411, 0.0485250838, 0.0319280587, -0.0356551707, -0.0286727585, -0.0335262604, -0.024084026, -0.0089539764, -0.0165748782, -0.0088368012, -6.696079408e-33, -0.0206658151, -0.0049192212, 0.021974422, -0.062684387, -0.0392250195, -0.0365076959, 0.0003124989, 0.0367075205, 0.0085783107, -0.0412166305, 0.008104274, -0.0459048785, 0.0127867432, 0.0234064981, 0.0166277271, 0.0158994049, 0.0121453637, 0.0011545763, -0.0546658412, -0.012461192, 0.0239254907, -0.0218934137, 0.0348400772, -0.0453721993, 0.0209964812, 0.0248572212, -0.0303261746, -0.006119418, -0.0240448397, 0.072184138, -0.0528785065, 0.0273024775, -0.0092893895, -0.0218468159, -0.0360550061, 0.0244399514, 0.0042638099, 0.0069156792, 0.0472170301, 0.0440157056, -0.0219831243, -0.0373084918, 0.0407622531, 0.000164961, -0.0366851129, -0.0180924069, 0.0420319587, -0.0207441319, -0.038356144, 0.0736562908, -0.0716435164, 0.0029615331, -0.0160123799, 0.0027243383, 0.039374359, 0.0613333993, 0.0078229606, 0.0674167126, -0.0518527217, 0.0603749305, -0.0144992461, 0.0163388774, 0.0983141437, 0.0484542213, 0.0247308407, 0.0601652376, 0.0556987189, -0.0532625392, 0.0502598397, -0.0467886962, 0.0167841669, 0.019046668, 0.0221339986, 0.0550880469, 0.0315332077, 0.0234253928, -0.0132130235, 0.0127870189, -0.0339786522, -0.0114582172, 0.0738808438, 0.070795767, -0.0109634381, -0.007973955, -0.0350651518, -0.0042636273, -0.0572576113, -0.0368986204, 0.0386476852, -0.001495035, -0.0163097009, 0.0087790834, 0.0967028365, -0.0438394099, -0.047002174, -0.0012308031, -0.0332130492, 0.064261958, 0.0045857038, 0.0065466729, -0.0442404449, -0.0061278762, 0.0028413851, -0.0406100973, -0.0097601982, 0.0445264913, -0.0040843245, -0.0148230409, -0.0426527336, 0.0164941661, -0.0337484293, -0.0553422347, 0.0164274666, 0.0096730841, 0.0584470741, -0.0283111036, -0.0203900933, 0.031310413, 0.0293826386, -0.0120987231, -0.0329981782, -0.0559038594, -0.0345960334, 0.0250530597, -0.018116951, 0.0238573272, -0.0304554328, -0.0293336082, 0.002835802, -0.0332689025, -0.0371700488, 0.006028519, 2.684e-7, 0.0293696895, 0.0450423174, -0.0338184349, 0.0179674849, -0.0019313747, 0.0525986589, -0.0118399262, 0.0058095553, 0.0399495587, -0.0170454979, -0.0254799277, 0.009708724, 0.0400133915, -0.0051094065, -0.0495851003, 0.005822029, -0.0026503124, 0.0326212384, -0.0481760018, -0.0031343605, 0.0164512321, 0.1004729643, -0.0149575388, -0.0150485495, 0.0156163108, 0.0204605199, 0.0808363259, -0.050703004, -0.0303908996, 0.0119046113, -0.0218819547, -0.0254235603, -0.0257792212, -0.0117340591, 0.0189094562, -0.0175639391, 0.0281568747, 0.047348056, -0.0093256859, -0.08540719, -0.0403294563, 0.0454804339, -0.0337759666, -0.0897100642, 0.0680381432, -0.048268538, -0.0520066768, -0.0141571499, -0.01685239, -0.0237597749, 0.0584339537, -0.0360899419, -0.018999951, 0.008481238, 0.0281911232, 0.0081807943, -0.0680591017, -0.0475764908, -0.0338037945, 0.0150382528, -0.0501239449, -0.043132484, -0.0167210922, 0.0248560067, 0.0048081735, -0.0579624958, -0.0259061847, 2.409056056e-34, 0.0234427955, -0.0095817698, 0.0514286533, -0.0185026005, 0.0141235907, -0.0193503387, -0.0099151414, 0.0230608676, 0.0118108075, -0.0791126937, -0.0171102546 ]
http://arxiv.org/abs/2406.11830v1
http://arxiv.org/pdf/2406.11830v1
Language Modeling with Editable External Knowledge
2024-06-17T17:59:35
2024-06-17T17:59:35
Belinda Z. Li, Emmy Liu, Alexis Ross, Abbas Zeitoun, Graham Neubig, Jacob Andreas
cs.CL
cs.CL, cs.AI
When the world changes, so does the text that humans write about it. How do we build language models that can be easily updated to reflect these changes? One popular approach is retrieval-augmented generation, in which new documents are inserted into a knowledge base and retrieved during prediction for downstream tasks. Most prior work on these systems have focused on improving behavior during prediction through better retrieval or reasoning. This paper introduces ERASE, which instead improves model behavior when new documents are acquired, by incrementally deleting or rewriting other entries in the knowledge base each time a document is added. In two new benchmark datasets evaluating models' ability to answer questions about a stream of news articles or conversations, ERASE improves accuracy relative to conventional retrieval-augmented generation by 7-13% (Mixtral-8x7B) and 6-10% (Llama-3-8B) absolute. Code and data are available at https://github.com/belindal/ERASE
[ 0.0712061152, 0.0627193972, -0.0282985847, 0.0335764848, -0.0410654917, -0.0195177197, -0.035960488, 0.000763308, 0.0189502165, -0.0513335727, 0.0145600317, -0.0274878554, -0.0502744876, 0.0567166954, -0.015695747, -0.0306361541, 0.0613866784, -0.0167916641, 0.0348007306, -0.0143043017, 0.0384729244, -0.0017231912, 0.023944689, 0.009527443, 0.017990509, -0.008602188, -0.0436136685, -0.0227027424, -0.030895777, 0.0142236063, 0.0310715083, 0.0752066225, 0.0152855897, 0.0462609492, 0.0000021061, -0.0584814139, -0.0151108196, -0.0182297081, -0.0332197584, -0.0078550298, 0.020758763, -0.0185998771, -0.0197925735, 0.0089598084, -0.0411534235, 0.0093829427, 0.0161940362, 0.0370256379, 0.0835782662, 0.0905549824, -0.0097965645, 0.0191818215, 0.031222254, -0.0102381734, 0.0577851422, -0.0086856047, 0.0339829251, 0.0152189238, 0.0025032079, 0.0225286148, 0.0052567055, 0.065188475, 0.0280787051, -0.0435929224, 0.0256031808, 0.0200731624, -0.0076490291, -0.0193689503, -0.0023768353, 0.0262427926, 0.0091550555, -0.0741136, 0.0095250942, -0.0059097758, 0.0022725889, 0.0009225513, -0.0619311295, 0.0045334306, -0.0162285306, -0.0033654671, -0.0105524231, -0.0543929748, 0.0181762166, 0.0338838287, 0.0265656263, 0.0684349984, 0.0205396116, -0.0264653731, -0.035680782, -0.008769148, 0.034035366, -0.0876282528, 0.012329394, 0.0735515431, -0.0299822632, 0.0285813119, -0.058248613, -0.0285830162, 0.0273528807, -0.066592671, 0.0330773853, 0.0411677063, 0.0130887926, 0.061453905, 0.0001847921, 0.037468683, 0.0055455868, -0.029870579, -0.0343207903, -0.0033430746, -0.0511626638, -0.0279240273, -0.0391716771, 0.0457376838, -0.0284702592, -0.0020389804, 0.000126525, 0.0428031161, -0.0074098138, -0.0041116537, -0.0053435871, 0.0114327325, -0.0478104204, -0.0191682503, -0.043511048, 0.0089096576, -0.0155830132, 0.0214192923, 0.0053513166, -0.0391718633, 0.0067079226, -0.0175755266, 0.0050734114, -0.0038029843, -0.0146306278, 0.0551760457, -0.0285381563, -0.0221029781, -0.0503036752, -0.0592184365, 0.0144203473, -0.0631731451, 0.0003925806, -0.0652913377, 0.0343293138, 0.0062126773, -0.0565112829, -0.0847168118, -0.004199374, 0.0494289212, -0.0275833011, 0.0394460931, -0.0393915549, 0.0222531185, 0.0568690337, 0.0126976585, 0.0048691351, 0.1000007913, 0.0211782269, 0.0173405018, 0.0445134863, 0.0108894492, 0.0134525634, 0.0417338014, 0.0139894383, -0.0082545886, -0.0157768037, 0.0393083952, -0.0191504993, 0.008213765, 0.0189779233, 0.0395911373, -0.0273642987, -0.0018485424, 0.0547206998, -0.0243837237, 0.008415495, 0.0196087733, 0.0353215374, 0.0232695062, -0.0010176806, 0.0041681961, -0.0372889414, 0.0413633808, -0.0251407772, 0.0096443361, -0.0097547853, 0.002110457, -0.0329389237, -0.0590138808, -0.0102197072, 0.0029219086, 0.02886484, 0.0011716698, 0.0480743907, 0.0349802859, -0.0133291362, 0.0671399534, 0.0171819199, -0.0749099553, -0.0104046911, -0.0415535867, 0.0490689576, 0.0668045953, 0.0727607831, -0.0021770173, -0.0520407371, 0.017028911, -0.0010247485, 0.0021920989, 0.0481660403, -0.0364750028, -0.0235165805, -0.05006589, -0.0337783694, -0.0106314104, 0.0218327567, 0.0164411776, 0.0680443645, 0.0000464391, 0.0320356004, -0.0313878842, -0.0226805359, 0.0248727743, -0.0715131536, -0.0155173428, -0.0364138782, -0.0180560276, -0.0107111456, 0.0086376145, 0.0139727928, 0.0137064261, 0.0635357276, -0.009396337, -0.0502864718, -0.0022389686, -0.0098716738, 0.0039113606, 0.0455854535, 0.0254172608, 0.0208957773, 0.0311755091, -0.0270947274, -0.0586468317, 0.0152256368, -0.0491623618, 0.0620276891, -0.0734357536, -0.009011318, -0.0198034979, -0.0230870731, 0.0033541427, 0.059364967, -0.0093500772, 0.0145260366, 0.0225074124, -0.0202011671, 0.0204963498, -0.0494999103, -0.0394461378, 0.004276704, -0.0125207696, 0.0388368033, 0.0589328408, -0.0063663493, -0.0574544109, -0.0268953778, -0.0811071098, 0.0213623289, -0.020680787, 0.0055199605, 0.0308251046, 0.0286751781, -0.0068876971, -0.0413205996, -0.0066600749, 0.015016621, 0.0445472486, 0.0451076068, 0.0080443034, 0.0376647301, 0.009185167, -0.0313658305, 0.0035977312, 0.0232072789, 0.0203702971, -0.0018353433, -0.0311737526, -0.054266911, 0.0162909217, -0.0873837546, 0.0413538143, -0.0202391446, -0.0081160674, -0.0181451309, -0.0247453228, 0.0267961007, 0.0211468413, 0.001194492, 0.0194559637, 0.0498323962, -0.0125055183, -0.0553628094, 0.0286228117, -0.002334629, -0.0201826468, -0.0154710133, 0.0023091098, -0.0133374864, 0.0642829165, -0.0175119471, -0.0331096463, -0.0259505138, 0.0521812476, -0.0186889265, -0.0307351779, -0.039730899, -0.04839129, -0.031226702, 0.0458682142, -0.0372888148, -0.0453844592, 0.0712908953, -0.0039862893, 0.0258582551, -0.0644254982, 0.0004508656, -0.0265285615, 0.0641665235, 0.0095042037, 0.0048958855, -0.004396738, 0.0144480523, -0.0690951347, -0.0227286573, 0.0212097671, -0.0512716696, 0.0468511134, -0.0679369569, 0.0403642356, 0.0215113275, -0.0296456832, -0.0602663904, -0.0190928951, -0.0292968545, 0.0056013134, -0.0048426241, 0.0077863657, -0.0454956368, -0.008384618, 0.063045457, 0.0541871451, -0.0113283545, 0.0115064271, -0.0063263327, 0.0171448588, 0.0803659931, -0.0093564, -0.0377324708, -0.0167998392, 0.0261724442, 0.0818889439, 0.0536378957, -0.0271716155, -0.0145898294, -0.0150919911, 0.0017001235, -0.0401396751, -0.0344425328, -0.0060259732, 0.0231426917, -0.0765436813, -0.0362124927, 0.1126641035, 0.0495456755, -0.0266967826, -0.0187787637, -0.0277294107, 0.023169823, 0.034013886, 0.0629650578, -0.057945963, -0.0175079443, 0.0440093018, 0.0242300462, 0.016137775, -0.0335964262, -0.0345820338, -0.1022243127, 0.0099799028, -0.021633774, -0.0179929212, 0.017540535, -0.0565056354, 0.0072830729, 0.0093581164, -0.026495263, 0.0374952815, 0.0246277247, 0.0330575109, -0.0049249893, -0.0287638493, -0.0352139175, -0.0004225986, 0.0020909074, 0.0235560033, 0.0559321977, 0.0520764925, 0.0143862832, -0.0061904117, 0.0282204524, -0.010066174, 0.0066311345, -0.004253916, 0.047648713, 0.0228898246, 0.019459201, -0.0252556577, 0.0151456119, 0.0087555079, -0.0378956124, 0.0149762658, 0.0759669766, -0.0199478604, -0.0182957631, -0.0375329927, -0.0155484891, 0.0362771936, 0.0802675039, 0.0190729722, -0.0288960226, -0.0138056837, -0.0371937901, -0.0116233462, -0.0143090561, -0.014533476, -0.0104963602, -0.0322278365, 0.0131752044, -0.090913035, -0.0732089728, 0.0065813581, -0.003102551, 0.0248186737, 0.0262895059, 0.0353749506, -0.0365221649, -0.056480702, -0.0078090313, -0.0314889848, -0.0089504011, -0.0014743248, -0.0108905965, 0.0140413856, -0.0339639783, -0.0257576648, 0.0374427997, -0.070617035, -0.0653572381, 0.0164007377, 0.0398537666, 0.0360804796, 0.0651822239, -0.0058558933, -0.063233912, 0.03563454, 0.0168150626, -0.0431150608, 0.0318700224, -0.0172320437, -0.0200527664, -0.0085045388, 0.052899383, -0.0737167448, 0.0164629128, -0.0162550956, 0.0302136391, -0.0075062905, -0.0172855183, 0.0055530793, 0.0203958135, 0.0140104638, 0.0336528979, -0.0231669396, -0.0285659488, 0.0293738637, -0.0315215699, -0.0337242447, -0.019582551, 0.0287010595, -0.014591719, 0.0138800824, -0.0141412588, 0.0332353003, -0.0220052581, 0.0326645896, -0.0136484988, -0.0480037294, 0.0318117179, 0.0175628513, 0.0511530116, 0.0031195164, -0.0234388448, 0.0368946865, -0.0006671906, 0.0250374153, -0.0287390184, 0.0249625668, 0.0285442416, -0.0078966105, -0.0019089449, -0.0067138574, -0.1016702056, -0.0693843588, -0.0289353672, 0.0292799324, 0.0170068126, -0.0113383634, 0.0597869866, -0.0353442729, -0.0239020959, -0.0406922661, 0.0253004339, 0.0337544419, -0.0792093948, 0.0162030365, 0.020454688, -0.0237938892, 0.0301267654, 0.0826908723, -0.0175283663, 0.0982604325, -0.0160426386, -0.0239954758, -0.0636352748, -0.0052613174, -0.000257606, 0.0294666979, -0.0244129226, -0.0067072739, -0.0442915559, -0.0605974682, 0.0314686075, 0.0260062087, -0.0148209026, -0.0186068937, 0.0374205187, 0.0808594301, 0.0094088586, -0.0112071848, -0.0319978967, 0.0146394745, -0.0989455357, -0.0329908468, -0.0227263365, -6.100823028e-33, -0.0182887781, 0.004943267, 0.0637405962, -0.0247719772, -0.01093842, 0.0077006952, -0.0696589574, -0.0201221481, -0.0154970353, 0.0078721372, -0.0307432469, 0.0278890058, -0.0016079266, 0.0175517835, 0.0071628569, 0.0122717824, 0.0529904291, -0.0293986965, -0.0168678034, 0.0343628712, 0.0659831762, 0.0567177646, 0.0573974177, -0.0238739811, 0.0426828191, -0.0190813132, -0.0135715231, 0.0462349914, -0.0138202468, 0.0718920901, -0.0335346162, 0.0430784672, 0.0162389316, -0.0047744019, -0.049830012, 0.0065357885, -0.0411177352, -0.0380228609, 0.0114556532, 0.0082240943, -0.0308470335, -0.0129064787, 0.0315435976, -0.0261235889, -0.0009055698, 0.0268601645, 0.0424056537, -0.0295085218, -0.0209411066, 0.0177850742, -0.0447523072, 0.0059031066, 0.0102586839, -0.0337260701, -0.0173567981, 0.0318266787, 0.0250659026, -0.0356311277, -0.0769026726, 0.0273391306, 0.022982128, 0.0630449876, 0.0559436344, -0.0224473085, -0.0056351181, 0.0423328802, 0.0045061032, 0.0055325059, 0.0012572875, -0.0104652662, 0.0471983626, 0.0276213903, 0.0346068293, 0.0606501661, 0.0403021872, 0.0046541323, -0.0302132629, 0.0349192359, -0.0013032421, 0.0810402334, 0.0041623274, 0.0324558243, -0.0184995923, -0.023401428, -0.0658152699, 0.0133445701, -0.0371132381, -0.0562203638, 0.0371316671, 0.0258120764, -0.0170922112, -0.0295622498, 0.0144952126, -0.0403470397, -0.0338386036, 0.0659319684, -0.0507610328, 0.0004324579, 0.0125198048, 0.0440863967, -0.0489936806, 0.0128813088, 0.0109122247, 0.0070988466, -0.0329872742, 0.022208944, 0.0275341347, 0.038797114, -0.064852044, 0.0191850029, -0.0518550836, 0.0532145202, -0.0000487406, -0.0009266534, 0.0104597183, 0.0196122564, -0.0039022693, 0.0506695025, 0.0549921282, 0.0082261749, -0.045549944, -0.0319066383, 0.0226523969, 0.0144666359, -0.0192791503, -0.0006140004, -0.0350880697, 0.0430795997, 0.0053632096, -0.0408190116, 0.0159872528, 0.0344970077, 2.819e-7, 0.0379268602, 0.0323881507, 0.017223604, 0.0331513509, 0.0233034398, 0.0230171625, -0.0400219709, 0.0221248996, 0.0210800283, -0.0029901408, -0.0285302885, 0.0173807777, 0.025494311, 0.0328888781, -0.1146142408, -0.005526898, -0.073448576, -0.0097792177, -0.0520180762, -0.0314656682, 0.0135423969, 0.0548560359, 0.0222292468, -0.0099968566, -0.0357121564, -0.0456238911, 0.0613931119, -0.0191869885, -0.0292654335, 0.0126528824, 0.0683141425, 0.044431407, 0.0030760684, -0.0035218592, -0.0537593737, -0.00305624, -0.0152292084, 0.029099144, -0.0033422336, -0.0018181499, 0.0109612411, 0.0061627515, -0.0054562297, -0.0530459359, 0.0975925922, -0.0124748256, 0.0164067727, -0.0311230645, -0.0361628681, -0.0126532065, -0.0229078885, -0.0174431894, -0.0230793152, 0.0122750718, 0.0043140738, 0.0229811706, -0.0075801904, -0.0539636016, -0.0392742679, -0.0269550085, -0.037327189, -0.038645532, -0.0735997409, 0.0000288204, 0.0006507451, -0.0907452628, 0.0356840789, 2.401737686e-34, 0.0242394693, 0.0212394223, -0.0013112344, 0.0042616511, 0.034074232, -0.0066121873, 0.0233172402, 0.0249730423, 0.0193796065, -0.0717642531, -0.0367770419 ]
http://arxiv.org/abs/2406.11827v1
http://arxiv.org/pdf/2406.11827v1
WPO: Enhancing RLHF with Weighted Preference Optimization
2024-06-17T17:59:13
2024-06-17T17:59:13
Wenxuan Zhou, Ravi Agrawal, Shujian Zhang, Sathish Reddy Indurthi, Sanqiang Zhao, Kaiqiang Song, Silei Xu, Chenguang Zhu
cs.CL
cs.CL, cs.AI, cs.LG
Reinforcement learning from human feedback (RLHF) is a promising solution to align large language models (LLMs) more closely with human values. Off-policy preference optimization, where the preference data is obtained from other models, is widely adopted due to its cost efficiency and scalability. However, off-policy preference optimization often suffers from a distributional gap between the policy used for data collection and the target policy, leading to suboptimal optimization. In this paper, we propose a novel strategy to mitigate this problem by simulating on-policy learning with off-policy preference data. Our Weighted Preference Optimization (WPO) method adapts off-policy data to resemble on-policy data more closely by reweighting preference pairs according to their probability under the current policy. This method not only addresses the distributional gap problem but also enhances the optimization process without incurring additional costs. We validate our method on instruction following benchmarks including Alpaca Eval 2 and MT-bench. WPO not only outperforms Direct Preference Optimization (DPO) by up to 5.6% on Alpaca Eval 2 but also establishes a remarkable length-controlled winning rate against GPT-4-turbo of 48.6% based on Llama-3-8B-Instruct, making it the strongest 8B model on the leaderboard. We will release the code and models at https://github.com/wzhouad/WPO.
[ 0.0228509866, 0.0839348286, -0.0106624477, 0.0221990943, -0.0172530711, -0.0142353754, -0.0616198778, -0.0007997139, -0.0311843567, -0.0153459357, -0.0466997549, -0.0638906807, 0.006034499, -0.0054804012, 0.0034604263, -0.0602580234, 0.0095951753, -0.0575578809, 0.0170191675, -0.0141896643, 0.0015104441, 0.0046676616, -0.0119437268, 0.0469350927, 0.0426772721, 0.0126828626, -0.0217298735, 0.0175867919, 0.0345517881, -0.0451481305, 0.0311824493, 0.0395034961, 0.0327333994, 0.0198046342, 0.0000023381, -0.0353000909, -0.0424306691, -0.01402847, 0.004861027, 0.0176902581, 0.0546447784, 0.041811727, -0.0692359582, 0.0467563793, -0.0146022588, 0.0314161703, 0.0594085269, -0.0116742384, 0.0420368947, 0.0745214373, 0.0284502916, -0.0248731393, 0.0149550624, -0.0328863002, 0.0281604547, -0.0419873632, 0.0142537793, -0.0188658834, 0.0289364699, -0.0179213379, -0.0425364636, -0.0232246537, 0.0164735112, 0.0092589092, -0.0334511623, 0.0283158887, -0.0233722664, 0.01188266, -0.0086330483, 0.0910502076, -0.0577977709, -0.0398946665, 0.0221678633, -0.0239085611, -0.0102989683, -0.0340993665, -0.0112830456, 0.0430219024, -0.000790105, 0.0570170172, 0.03370497, 0.0100932326, 0.025139831, 0.011156735, -0.0251605157, 0.0973544717, 0.0111193387, -0.0413512029, -0.0004681263, 0.0010129358, -0.0151531436, -0.0551042669, -0.0070196646, 0.0129744085, -0.0745246336, 0.0415474288, -0.0396064781, 0.015708046, 0.0139665715, -0.0531089194, 0.0666572973, 0.0626337901, 0.006550476, 0.0066835871, -0.0116681829, 0.0633381531, -0.0320811942, 0.0102044819, -0.0430259407, 0.0597611666, -0.0344796702, 0.0035815809, -0.005519209, 0.0357247852, -0.031237226, -0.0169848613, -0.0666060001, 0.002639987, -0.02055889, 0.0400068983, 0.0300934147, 0.0108177941, -0.0496890508, 0.0196701642, -0.0730002001, 0.0555785112, -0.0195477586, -0.0193249881, 0.010399404, -0.0208075158, 0.0272965226, -0.0031682199, -0.0521812849, -0.039742969, 0.0260470081, 0.0802578256, -0.0108242622, -0.0161958076, 0.0111802863, -0.003604339, -0.0022139174, -0.0741450936, 0.0033297893, -0.0674012303, 0.00061046, -0.038471017, -0.0052639865, -0.0142336292, 0.0276865736, 0.0305324104, -0.0047823437, 0.0592886582, 0.0299913511, -0.007926167, -0.0245155841, -0.0241707787, -0.0054954044, 0.0850527585, 0.0371975079, 0.0519072711, -0.0021659911, -0.0004561673, -0.0007045553, 0.0352598242, 0.036531806, 0.0103531545, -0.0358203575, -0.0085501764, -0.0010658761, 0.0437075533, 0.0793238431, 0.0394539163, -0.026033178, -0.0128467362, 0.0546537004, 0.0170302931, 0.0092595248, -0.0215324201, 0.0065624882, 0.0365521125, -0.0126936641, 0.0094263237, -0.0511364974, 0.0421780869, -0.0189744327, 0.043004889, 0.0261095129, 0.0504695922, 0.0057859803, -0.0563519113, 0.0111881038, -0.0096212495, -0.0104966182, 0.0421887524, 0.0547714531, -0.0335198194, -0.0770718977, 0.004999374, 0.064802967, -0.0203816127, -0.017175246, -0.0771803632, 0.0288581289, 0.0789397508, 0.042769134, -0.0190895367, -0.0241877344, -0.0123640979, -0.0567595996, 0.0358388312, 0.0293834899, -0.0082437396, -0.0241616387, -0.0448063873, -0.0446106754, 0.0326205641, 0.0102356998, 0.0639393404, 0.0185848698, -0.0080077928, -0.0152730253, 0.0031439178, -0.027817145, 0.0191784017, 0.0349354707, -0.0475008339, 0.0077976356, 0.0068894094, 0.0537668541, 0.0001024498, -0.0192580707, -0.001235133, 0.013240166, 0.0136814415, -0.0221434217, -0.0483998619, -0.069663547, -0.0141122816, 0.0621224158, -0.0079285437, 0.0234164484, 0.0445568226, -0.0319096856, -0.0205921289, 0.0171365365, -0.0069608535, 0.062665686, -0.004849894, 0.0371708721, -0.0186337922, -0.0012495583, -0.0803699866, 0.0573055111, -0.0115274787, 0.0108217727, 0.0128907757, 0.0100352457, -0.0032616004, -0.0662816763, -0.0094358949, 0.0622630566, 0.0075479643, 0.0314377695, 0.0238460656, 0.0549819022, -0.0251707528, -0.0255566332, -0.0324037522, 0.0214036964, -0.0340831727, 0.0157961342, 0.0252026282, -0.0113942241, -0.023960555, -0.0246621557, -0.0060394071, -0.0329786092, -0.0099897273, -0.0011634144, 0.0042364928, 0.015314782, -0.0412131734, -0.0599327199, -0.0353492685, -0.0101113748, -0.0120342625, -0.0403549373, 0.0439174622, -0.0334480554, 0.0176468734, -0.0227205902, 0.0493301377, -0.0108170165, -0.0559921935, 0.0250631142, -0.0315869674, 0.0351254381, 0.0838416368, -0.001724534, 0.0019814416, 0.0916034207, 0.0066624656, -0.0992948636, 0.0354976356, -0.0229902193, -0.0490517393, -0.045429904, 0.0051823757, 0.0043532988, 0.0780929849, -0.0111614019, -0.0013189978, -0.0673483685, -0.0311023444, -0.0042086551, -0.0153908534, -0.0159232914, 0.0068179448, -0.0671514645, 0.0198478587, -0.0202475376, -0.0628626868, 0.0920436606, -0.0341781639, 0.0150681166, -0.0965862796, 0.001822207, -0.0195133239, 0.0059099086, 0.0309614614, 0.0233119037, -0.0291021951, -0.0154078761, -0.0394111536, -0.0333203897, 0.0181200113, -0.0472067297, 0.0305256378, -0.0237766001, 0.0173534192, -0.0174317472, -0.0492865629, -0.0334283561, 0.0183660369, -0.0272754282, -0.0320939682, 0.043699652, -0.0589879714, 0.0260388702, -0.0016257288, 0.0274616797, 0.0378963538, -0.0296519883, -0.0078395028, -0.0198239964, 0.0047777784, 0.0807640254, -0.0356917605, 0.0002179873, -0.0239563584, 0.0165008251, 0.0185360741, 0.1055241972, -0.0158130452, -0.0271782819, 0.0153444028, 0.0475758761, -0.0473795421, -0.0082584787, 0.075980857, 0.050515309, -0.0474135615, 0.0193445869, 0.0896940455, 0.0307517126, -0.03546286, 0.0179646742, -0.0025028666, 0.09883973, 0.0052718627, 0.0749766678, -0.057995446, -0.008732398, 0.0155561594, 0.0532273762, -0.0112374667, -0.0167526472, 0.0140237929, -0.1549217701, -0.0013832202, -0.0010857638, -0.0315603279, -0.0046775416, -0.0404554978, 0.0044993656, -0.0384839885, 0.0349986851, 0.0181988962, 0.0012001797, 0.0092385393, 0.0191973764, 0.0126035307, -0.0086393524, 0.0193540771, -0.0205264278, 0.0536794215, 0.1056684181, 0.0052089579, 0.0060858927, -0.0418287627, 0.0062489673, 0.0164806601, -0.0317653827, -0.0172695722, 0.0073391465, -0.0099761421, -0.0173144806, -0.0196612012, 0.0362090655, 0.0048502116, 0.0079691643, 0.0075896461, 0.065792881, 0.0109868441, -0.0092329644, -0.0073885354, -0.0185229369, 0.0307090692, 0.0425296612, -0.0039334134, -0.0732870623, -0.0341360271, -0.0480659232, -0.04136163, -0.0840318277, -0.0394706987, -0.0194397625, 0.0116398875, 0.0075579253, -0.0583652705, -0.0285451971, -0.0180791244, 0.0384005234, -0.0044035311, 0.0332129635, 0.019043522, 0.018178124, -0.0034068786, -0.0036537941, -0.0404295102, 0.0523087122, -0.0787727982, -0.0342979357, 0.0177133139, -0.0151837552, -0.0135699799, -0.0044326601, -0.0081098517, -0.0735028759, -0.0015905515, 0.0625016987, 0.0175286513, 0.0388650894, -0.005065307, -0.0458656475, 0.0560390428, 0.0062290323, -0.0241532326, 0.0061271237, 0.0240290444, -0.0266866125, 0.0014288793, 0.0179055929, -0.0150006227, -0.0020653459, 0.0307126157, 0.0620967112, -0.0056341831, -0.0148798767, 0.0297724213, -0.0045645521, 0.0168249719, -0.0358142629, -0.0111755943, 0.0008583152, 0.0196562316, -0.0146461818, 0.0029616444, -0.0149355326, 0.0005513163, 0.0244564619, -0.0240599867, 0.0272960216, -0.0396843888, 0.0147219906, 0.017847551, 0.0163333472, 0.0423360877, 0.0315657333, 0.0573500656, 0.0571502633, 0.0095054926, 0.0293676257, 0.0000080727, 0.0302730408, 0.0652837008, 0.0196207389, 0.0320009962, 0.0192683507, -0.0388499945, 0.0015155801, 0.0150621627, -0.0225899164, -0.0215763822, -0.0516337007, 0.0176801663, 0.0776572451, -0.0041230046, 0.0208723769, -0.0274381395, 0.0038461797, -0.0016446505, -0.0233911555, -0.0529002696, -0.0094685601, 0.0329156443, 0.0402723216, -0.0048477831, 0.0073437491, 0.0548071191, 0.0622521639, 0.0587991364, -0.0043626656, 0.0345336683, -0.0337216184, -0.0415174365, 0.0096780546, 0.0506792963, -0.0540592149, -0.0298366044, -0.04262916, -0.0554982685, -0.0355441682, 0.0716607794, 0.0034072092, -0.0001046776, 0.0393147282, 0.0185116976, -0.0439282916, 0.0037850323, -0.0731359795, -0.0332427733, -0.0157911386, -0.018636385, -0.0049739382, -6.480833168e-33, -0.0332175158, -0.0045473049, 0.0365676582, -0.0265846159, -0.0357441269, -0.0327585563, -0.0090435864, 0.0145254228, 0.002302262, -0.031660635, -0.0428777598, -0.0254664309, 0.0217013303, 0.0356337801, 0.023249805, 0.0151801798, 0.0500212573, -0.0143629462, -0.0729657784, 0.0298507903, 0.0028903603, 0.0102228839, 0.0227170456, -0.0220616031, -0.0196775366, 0.0265465677, -0.0179686137, 0.0173060801, -0.0425626263, 0.0812560916, 0.0028169903, 0.0248847548, -0.0205426626, -0.0775464028, -0.0282097422, -0.0023407915, -0.0309963487, -0.0301508177, -0.0052172858, 0.0160227809, 0.0237738937, -0.0321572348, 0.0312886126, 0.0292616785, -0.0271141306, 0.0089653162, 0.0112044048, -0.0291452687, -0.0257360451, 0.0330893882, -0.0473969989, 0.0120663224, 0.0216615256, 0.0126012946, 0.0173609257, -0.013699932, -0.0012497671, 0.0158530157, -0.0373294838, 0.0366959386, 0.0302636772, 0.0527965948, 0.0946244523, 0.056956321, 0.0139261642, 0.0159594584, 0.0006996326, -0.0384960175, 0.0144366222, -0.0304821879, 0.0420801342, 0.0148824835, -0.0149490619, 0.039531637, 0.0598301403, -0.0193144493, -0.0275179204, 0.0323534124, 0.0561124794, 0.0248111244, 0.0215195436, 0.0354814418, -0.0880872533, -0.0044597755, -0.0474186726, 0.0008711902, -0.0163572039, -0.0802771151, 0.0322555639, 0.028608162, -0.0245606452, -0.0146426819, 0.0196898412, -0.0242273062, -0.0426869728, 0.016550472, -0.0285639539, 0.0263324734, -0.020376781, 0.0025239093, -0.0645656511, -0.0351825021, -0.0051530818, -0.028770091, -0.0180366542, 0.0051476425, -0.0059776935, 0.0204858799, -0.0608632043, 0.0225211252, -0.0362557136, -0.0097167846, 0.0164989177, 0.0535256825, 0.0278730541, -0.0413220078, 0.0009631186, 0.0413229279, -0.0142004723, -0.0364711545, -0.0273264032, -0.0121807158, -0.0164563004, 0.0122605367, -0.0330954939, 0.0168846194, -0.0560633764, 0.055259537, -0.0223565828, -0.0358949117, -0.0217198674, -0.0089461002, 3.024e-7, 0.0058097993, 0.0401599295, 0.0175301842, 0.0073037744, -0.0429508165, 0.0484621152, -0.0360192321, 0.0026706122, 0.0099345502, -0.0092307013, 0.0255442914, 0.025304364, 0.0123303169, 0.012132803, -0.0654188916, -0.0203128606, -0.0359940231, 0.0039747651, -0.056538824, -0.0466144979, 0.0279305987, 0.1159327328, 0.0318828747, -0.0293376967, 0.0351400226, 0.0682558939, 0.0128919082, -0.0229999814, -0.0088552106, -0.0094062239, -0.0300527811, -0.0118261678, -0.052485764, -0.0188753586, -0.014130448, 0.027054105, -0.0328087211, 0.0629396886, 0.0159490667, -0.0618674159, 0.0041526989, 0.0170788821, 0.004077855, -0.0574914664, 0.0524196103, -0.0097754616, 0.0117996251, 0.0021995839, -0.0077044913, -0.0196150783, -0.0187717862, -0.0397588871, -0.015341741, 0.021946447, -0.0137213888, 0.0043748431, 0.0051261061, -0.0437621176, -0.0035193753, 0.0143118463, -0.0198814683, -0.0464340895, -0.072458975, 0.0357649028, -0.0232059658, -0.0314381532, 0.0102702547, 3.030596169e-34, 0.0034193224, -0.044298742, 0.0334002413, -0.0347924493, 0.0148137482, 0.0388529748, -0.0116592422, 0.0266749859, 0.0550098121, -0.0572477654, -0.0361201689 ]
http://arxiv.org/abs/2406.11823v1
http://arxiv.org/pdf/2406.11823v1
On Efficient Language and Vision Assistants for Visually-Situated Natural Language Understanding: What Matters in Reading and Reasoning
2024-06-17T17:57:30
2024-06-17T17:57:30
Geewook Kim, Minjoon Seo
cs.CV
cs.CV, cs.CL
Recent advancements in language and vision assistants have showcased impressive capabilities but suffer from a lack of transparency, limiting broader research and reproducibility. While open-source models handle general image tasks effectively, they face challenges with the high computational demands of complex visually-situated text understanding. Such tasks often require increased token inputs and large vision modules to harness high-resolution information. Striking a balance between model size and data importance remains an open question. This study aims to redefine the design of vision-language models by identifying key components and creating efficient models with constrained inference costs. By strategically formulating datasets, optimizing vision modules, and enhancing supervision techniques, we achieve significant improvements in inference throughput while maintaining high performance. Extensive experiments across models ranging from 160M to 13B parameters offer insights into model optimization. We will fully open-source our codebase, models, and datasets at https://github.com/naver-ai/elva .
[ 0.0524284877, 0.0464974009, 0.0081060752, 0.074945353, -0.0225930996, 0.0051254788, 0.0206260812, -0.0406669639, 0.0369050317, -0.070213072, -0.021429833, -0.00905996, 0.0320266634, 0.0523902401, 0.0044399058, -0.0681315213, -0.0032151258, -0.071535252, 0.0135770533, 0.0205568708, 0.016922649, 0.0025227906, -0.0035407846, 0.0239443071, -0.0007940283, -0.0187880918, -0.0078356192, 0.0081535606, 0.0170639493, -0.0137251308, -0.0246258955, 0.0159809235, 0.0532931723, 0.0110966004, 0.0000018029, -0.0087527772, 0.0263504162, 0.0079764938, -0.0200054534, 0.002942902, 0.0209561996, -0.0810920224, 0.0176485516, -0.0078703845, -0.0077788807, -0.0258555897, 0.0651178882, 0.0232736096, 0.0615288951, 0.0398758464, -0.0152543224, -0.0099485703, 0.0083435019, -0.0259532668, 0.0135071911, -0.0470228083, 0.0118836639, 0.0194446351, 0.0053366767, 0.010806676, -0.0530462489, 0.0523642376, 0.0454194359, -0.025409149, -0.0036193118, 0.0476642847, -0.0489815697, -0.0493686683, -0.0122829145, 0.0844482854, -0.0211551636, -0.009639862, -0.0159482844, -0.002652324, -0.0249003414, -0.0396988951, -0.0434396714, 0.0503439568, -0.0319930799, 0.0197282247, -0.0127503872, -0.0123141631, 0.017382998, 0.0266142078, 0.0033487207, 0.0226855949, 0.0001310795, 0.0300466958, -0.0293947626, 0.0215003155, -0.0791650563, -0.0411191545, -0.0079325112, 0.0328001603, -0.0056392527, 0.0219212919, -0.0335633159, -0.030431075, -0.0119795147, -0.0238303393, 0.0427795686, 0.04771173, -0.0650702938, 0.1097570434, -0.0222567935, 0.0721810535, -0.0279233232, 0.0213577449, -0.007714347, -0.0495506786, 0.0178311374, 0.0034228878, -0.0427814685, -0.020321982, -0.0608661361, -0.0573291853, 0.0033919243, 0.0222718064, -0.0005864506, 0.0151006402, 0.0145251192, 0.0258661751, -0.0417569838, -0.0408656485, -0.0004430142, 0.0125739789, -0.0207005832, 0.0369171537, -0.0544635504, -0.0625626892, -0.016824225, 0.0615307987, 0.0339473113, -0.018452704, -0.025193641, 0.0680140629, -0.0107702194, -0.0665064976, -0.0165065173, 0.01592605, -0.0089899916, -0.0596582517, 0.0082981782, -0.050079491, 0.0342219137, -0.0033589585, -0.0026930773, -0.0295878313, 0.0035832259, 0.0279443245, -0.0385810509, 0.1054657772, -0.0141888075, -0.008543686, 0.0041261949, 0.0143655026, -0.0097452411, 0.0681717694, 0.0196740013, 0.0575445406, 0.0345978662, 0.0257521067, 0.0148874139, 0.023755759, -0.0144613888, 0.0124990288, -0.0319920406, 0.0219464786, -0.0336889066, 0.0255004354, 0.035995923, 0.0432962067, -0.0265435949, -0.0407512821, 0.0724934489, 0.0575851053, 0.0140164196, -0.0148623856, 0.0256853979, 0.0115478877, 0.0320348404, -0.0438333228, -0.0791272447, 0.0312175378, 0.0221530832, -0.0069744117, -0.0134795364, 0.0145297619, -0.0423583947, -0.0411548764, -0.0258527286, -0.0052036601, -0.0092805456, 0.0331915207, 0.0403759368, 0.0030228647, -0.0275894143, 0.0061423159, 0.0151414592, -0.0462760925, -0.0219711699, -0.0204586517, 0.0500237308, 0.0840693265, 0.0319796652, -0.0145019656, 0.0177594237, 0.0158409141, 0.0515467301, 0.0476467013, -0.0028875186, 0.0108159957, 0.0542394966, -0.0610744394, -0.0498836935, -0.0201785378, 0.0106706815, 0.0139344865, 0.0321545899, -0.0042776344, 0.0264385808, -0.0564375892, -0.0098008532, 0.035315074, 0.0227672122, -0.0069649606, -0.0297289398, 0.0167811755, -0.0039893356, -0.0080045471, 0.0058552059, -0.0165667795, -0.0026597241, -0.0400545336, 0.0472977273, 0.0206454489, -0.0266449153, -0.0465458445, 0.0340938419, -0.0537565984, -0.0182016902, 0.0225090515, -0.0583845638, -0.0060881572, 0.0205070376, -0.0492246598, -0.0072352416, -0.0325396024, -0.0120243011, 0.0344912037, 0.0530236624, -0.0088815559, 0.0345587656, -0.0214628763, -0.0249465015, 0.0366783962, 0.0175565854, 0.0244623721, -0.0186734945, 0.0099967187, -0.0410072319, 0.019045366, 0.0126985339, -0.0083106961, 0.0098218499, -0.0348850936, -0.0194897763, -0.0851102695, -0.0394373387, -0.0519728735, -0.0224145055, 0.0112601565, 0.0022784199, 0.0012035785, -0.0470440052, -0.0016544497, 0.0201529078, -0.0224556495, -0.0051912512, 0.0222344529, 0.0035949117, -0.0084450236, -0.0416159704, 0.0024247211, 0.0205815397, 0.0568850413, 0.0540075153, -0.04004151, -0.0529846624, 0.0040721511, 0.0082922, 0.0555579178, -0.0335835218, -0.0202314556, -0.0020668637, -0.0277203191, 0.0389934555, 0.0891727209, -0.0347213373, 0.0494876467, 0.0075846678, -0.0088154329, -0.0378873982, 0.0099614514, 0.0133932633, 0.0059178253, -0.0084821032, -0.0189587101, -0.0630021691, 0.0496535562, -0.0349874049, 0.0001320887, -0.0524762645, 0.025206279, 0.0107619446, -0.0427237637, -0.0418828502, -0.0059472295, 0.0184062403, 0.0407931581, -0.0665520355, -0.0744978487, 0.0317438208, -0.0609517545, -0.0081586605, 0.0037972042, -0.0086050211, -0.0734640807, 0.0896361992, 0.0434078798, -0.0084071551, -0.0397290289, -0.0116993627, -0.058309719, -0.0105318548, 0.0028308691, 0.0170771107, 0.0578533895, -0.0793743208, 0.047493875, -0.0442601144, -0.0117261708, -0.0355239846, -0.003973559, -0.0671425611, -0.0005597212, -0.0337795205, -0.014452721, -0.0364495367, 0.0489854515, 0.0235910267, 0.0561921187, 0.0126534719, 0.0021410417, -0.0313076414, 0.0289393719, 0.0729421601, 0.025365917, -0.0146393906, -0.0290694758, 0.0017623154, 0.066919215, 0.0038221604, -0.0001885423, -0.0555569157, 0.0443413407, 0.0307524391, 0.0390806682, 0.0114675974, -0.001881915, 0.0406075902, -0.0816396102, -0.0150465332, 0.0665460601, 0.007210548, -0.0408897623, -0.021329917, 0.0102120433, 0.0245296415, 0.0393219441, 0.0172658656, -0.0598755255, -0.0584227219, 0.0049638972, -0.0080043804, 0.0344198532, -0.000424067, -0.0557016358, -0.0686682016, 0.0468102284, -0.0242135637, -0.0155231413, -0.0706734061, 0.0223245565, 0.0196409654, -0.0361908004, -0.0006868939, -0.0023232594, 0.0080200415, 0.0044115242, -0.0184426699, 0.0205400437, 0.0262113065, 0.0319431499, -0.0425864756, -0.0164100397, -0.0026535206, 0.0060243048, 0.0366769023, -0.0483296514, 0.0437573604, -0.0247818958, 0.0095586739, -0.0022968692, 0.0604975522, -0.0335670076, -0.0560677424, 0.0081530269, 0.0555626899, -0.0443097614, -0.0290800128, -0.0328249596, 0.0254173633, 0.005276666, -0.0043846425, -0.0346251614, -0.0045956071, -0.0014128974, 0.04441664, 0.033013016, -0.0187246464, -0.0575180203, -0.0030570633, -0.0084964111, -0.0522362553, -0.0178619623, -0.0001425663, 0.0323121808, -0.0177004449, -0.026974963, -0.0276879445, 0.0397600196, 0.0531342328, -0.0097186221, -0.0060252161, 0.0088091921, 0.0186410099, -0.0462614708, 0.0945255235, -0.0320729911, 0.0286953859, -0.0213594195, 0.0019464471, 0.0187963862, -0.0362639502, -0.0181204099, 0.0267008152, -0.1060297117, -0.024215674, -0.016900979, 0.0596610159, 0.0214007199, 0.0667697042, -0.0051775216, -0.0644036457, -0.0043201121, 0.0118339183, -0.0099926069, 0.0185220316, -0.0121964347, -0.0095045799, 0.0138218738, 0.0339175873, -0.0222230498, 0.0177226812, 0.0175111163, 0.013853997, -0.027461201, -0.0163509808, -0.015656719, -0.0047907392, 0.0311618038, -0.0009972682, 0.0332069546, -0.0396355204, 0.0382737853, -0.0002201506, -0.0100206584, -0.0872487128, 0.015306999, 0.0117667802, -0.0061374032, -0.0075149578, -0.0011489167, 0.015479818, 0.0146514904, -0.0073898179, 0.0241708737, 0.01613071, -0.0077741928, 0.0078287302, -0.0004554311, -0.020302901, 0.0468494594, -0.0569909178, 0.040798977, 0.0069324714, 0.0343091488, 0.0272993203, -0.0453970432, -0.0391121991, 0.0180458054, -0.0251399912, -0.0429522842, -0.0086660534, 0.0744269639, 0.0307088252, -0.0083900373, 0.0103405938, -0.0175765138, -0.0232293513, -0.0115629015, 0.0542285629, 0.0150447842, -0.0401863344, 0.069518961, 0.0403198078, 0.0235654693, -0.00682254, 0.0613307543, 0.0597421266, 0.0287370291, -0.0003589071, 0.0000060313, -0.0301888157, -0.0268241968, 0.011030308, -0.0158806406, -0.0130330808, 0.0856768563, -0.0184538923, -0.0601276085, -0.0135381827, 0.0016439459, -0.0157677196, 0.0303455275, 0.0374780186, 0.0507562272, 0.0293132737, -0.0105186664, -0.0217321236, -0.0083507942, -0.0053232983, -0.0145226624, 0.0258859005, -5.955742413e-33, -0.0109184124, -0.0518608689, 0.0442471728, 0.0107761994, -0.0021115725, 0.0398735553, -0.0308163818, -0.0067597185, -0.0363827422, 0.0068653938, 0.0203410964, 0.0443175845, 0.0117766736, 0.0552116707, -0.0427799895, -0.0061797881, 0.0134264296, 0.0078328848, 0.003383788, -0.0108996155, 0.0022007385, 0.0144220274, 0.0229423158, -0.0365325361, -0.0100348499, 0.017218601, 0.0064625083, 0.0410769358, -0.0007185357, 0.0551220588, -0.0486934185, 0.0151822744, 0.0241844244, 0.012323238, -0.0223418418, 0.0541981012, -0.0907420143, -0.0060320538, 0.0143600106, 0.0726265907, -0.118032895, 0.0120726731, 0.031582661, -0.009097565, 0.0462149754, -0.0476980805, 0.0410752892, -0.0262074396, -0.0319299176, 0.0497191139, -0.0311499238, 0.0356951766, -0.0060520265, -0.024831729, 0.0707410872, 0.0261739343, 0.0427789316, 0.0463837869, -0.0316013955, -0.0267164651, -0.0113919275, 0.0176952332, 0.0702886656, 0.0339660011, -0.0065169963, 0.0413004272, 0.0045101964, -0.0480670519, -0.0538566299, -0.0203344133, 0.0018056754, 0.0600704066, 0.0480382368, 0.0419430025, -0.0197783373, 0.0483868234, -0.0688339323, -0.0337766223, -0.0248900522, 0.0933957994, 0.0086980294, -0.0041852789, -0.0113710817, -0.0024490296, -0.0494434722, -0.0392601341, -0.0665315762, 0.0364371799, 0.0579287969, 0.0459656827, -0.0401651524, 0.0222033374, 0.0484461859, -0.0514944047, -0.0091454675, 0.0375650562, -0.0011443389, 0.0330247656, 0.0161316227, 0.0612742975, -0.0575493947, -0.0034674641, 0.0267163105, 0.0174852852, -0.0001017934, -0.0231176112, 0.0374260731, 0.0182955731, -0.0404914096, -0.0089193359, -0.0609047003, 0.0247328822, -0.0146739446, 0.0483310968, 0.026322769, -0.0062502362, -0.0473669991, 0.0400826149, -0.0018196391, 0.0089900587, 0.0002545622, -0.0086538764, -0.0033627942, 0.0318378322, -0.020971885, -0.0143015683, -0.0222888105, -0.0194665175, 0.0228215139, -0.0703574345, -0.0111032203, 0.0447647125, 2.42e-7, 0.0467707776, 0.0172838196, 0.0355684757, 0.0062198015, 0.0252376683, 0.0425201468, -0.0106741134, 0.0204924699, -0.0256768353, -0.0172428563, -0.0073616258, 0.075771749, 0.0276486836, -0.0191728044, -0.0371134169, 0.0537894592, -0.0171410013, 0.0169528276, -0.0483609624, -0.0182054844, 0.0509490967, 0.0932179391, -0.0467225239, -0.0257571675, 0.0306255035, -0.0991403908, 0.0665084273, -0.0298261847, 0.0196806528, -0.0091165137, 0.0171757247, 0.060402561, -0.0215816684, -0.0121658128, 0.020614313, -0.0204816107, 0.0477610901, 0.0467706919, -0.0023781464, -0.0048607555, -0.0038229858, -0.0004854182, -0.0245728604, -0.0761033148, 0.0852926821, -0.0553892478, -0.0203288496, -0.0277957469, -0.0199570935, -0.0100930119, 0.0043114871, 0.011878225, -0.0079740947, 0.0133980317, 0.0448917672, -0.0732539743, -0.0379960984, -0.1012121886, -0.0441292524, -0.054036174, -0.0195558462, 0.0006337608, -0.0669890344, 0.006020728, 0.0581602566, -0.0285914186, -0.0529269911, 1.703625825e-34, 0.033064004, -0.0366700552, -0.0044777398, 0.0263925828, 0.0005501133, -0.0283230022, -0.0116876699, -0.0152792782, 0.006767916, -0.0785416439, -0.0112944767 ]
http://arxiv.org/abs/2406.11817v1
http://arxiv.org/pdf/2406.11817v1
Iterative Length-Regularized Direct Preference Optimization: A Case Study on Improving 7B Language Models to GPT-4 Level
2024-06-17T17:55:38
2024-06-17T17:55:38
Jie Liu, Zhanhui Zhou, Jiaheng Liu, Xingyuan Bu, Chao Yang, Han-Sen Zhong, Wanli Ouyang
cs.CL
cs.CL, cs.AI, cs.LG
Direct Preference Optimization (DPO), a standard method for aligning language models with human preferences, is traditionally applied to offline preferences. Recent studies show that DPO benefits from iterative training with online preferences labeled by a trained reward model. In this work, we identify a pitfall of vanilla iterative DPO - improved response quality can lead to increased verbosity. To address this, we introduce iterative length-regularized DPO (iLR-DPO) to penalize response length. Our empirical results show that iLR-DPO can enhance a 7B model to perform on par with GPT-4 without increasing verbosity. Specifically, our 7B model achieves a $50.5\%$ length-controlled win rate against $\texttt{GPT-4 Preview}$ on AlpacaEval 2.0, and excels across standard benchmarks including MT-Bench, Arena-Hard and OpenLLM Leaderboard. These results demonstrate the effectiveness of iterative DPO in aligning language models with human feedback.
[ 0.0347474217, 0.062639147, -0.0108771194, 0.0497755148, -0.014692693, -0.0144969262, -0.0379075073, 0.0165787507, -0.0283400398, 0.0014902848, -0.0350030363, -0.0562804043, 0.001973032, 0.025114553, 0.0055641555, -0.087456204, 0.0003394423, -0.0233615283, 0.009557589, -0.0352930054, 0.0146107581, -0.0099857496, 0.0000559763, 0.0300379172, 0.0433212928, 0.0042479336, -0.0392163917, 0.0072350809, -0.0159677323, -0.0642276406, 0.0110137202, 0.0437941737, 0.018736152, -0.0053677135, 0.0000022876, -0.0470037423, -0.0190983936, -0.0282115154, 0.0071206903, 0.04155045, 0.0254511386, 0.0138927288, 0.0132141216, 0.0205909163, -0.0246710591, -0.0004664201, 0.0490474254, 0.014781462, 0.0472194478, 0.0686543435, 0.0048778206, -0.0318724737, -0.001072931, -0.0568165295, -0.0114828954, -0.0362683311, 0.0042119506, -0.0407408662, 0.0057470873, 0.0112017533, -0.0358109921, -0.018657716, -0.0059756325, 0.0480789915, -0.0112330625, 0.0111305378, 0.0205435921, 0.0038480144, 0.0072519439, 0.0583204292, -0.0153058115, -0.0141439186, -0.0043886686, -0.0214521438, 0.0102002593, -0.0615641139, -0.0121164089, -0.0235070232, 0.0237083901, 0.019268116, -0.0019569362, 0.0153168431, -0.0024383944, -0.0132302232, -0.0295446943, 0.1035430655, 0.0122128585, -0.0707711205, -0.0231747068, -0.0151371239, -0.0247262977, -0.0525689125, -0.0019457688, 0.0050977441, -0.042863071, 0.0222952403, -0.0170039404, 0.0157010686, 0.0118287755, -0.0472299792, 0.0831285864, 0.0480384752, -0.0091649164, -0.008561979, -0.0230057295, 0.0671024248, 0.0203941595, 0.0183700453, -0.0548461229, 0.0364921615, -0.0095657185, -0.0030343791, -0.0090728411, 0.0162021257, -0.0356320888, -0.0062883408, -0.0653817803, -0.0007858998, 0.0233182907, 0.0192648116, 0.0151217449, 0.0251311082, -0.0297602527, -0.01610687, -0.0867491961, 0.0268677566, -0.0457520857, -0.0132301813, 0.0137028024, -0.0256622564, 0.0124529833, -0.0167538896, -0.0206144452, -0.0530410856, 0.0255560353, 0.1121406183, -0.001123537, -0.0227720421, 0.0423167534, 0.0059463638, -0.0474880449, -0.0733146593, -0.0286654569, -0.0442430638, 0.0253667627, -0.0282587148, -0.0142278764, -0.0369390287, 0.0048864456, 0.0004098663, -0.0267144796, 0.0467263497, -0.0015775698, 0.0138504934, -0.0374541804, -0.0214095097, 0.0058405371, 0.0689144284, 0.0389120281, 0.0696458295, 0.0332737714, -0.0357105993, -0.0211106967, 0.0408326201, 0.0295734294, 0.0260316227, -0.0657301918, 0.0292824972, 0.0186182354, 0.0520823896, 0.063368015, 0.0539624766, -0.0152841955, -0.0318858325, 0.112442553, 0.0181860868, 0.061561849, 0.0032208047, 0.0119523201, 0.0282485951, -0.0052925483, 0.0195921976, -0.0354281329, 0.0147626633, -0.0081540234, 0.0409128256, 0.0485378541, 0.0459739901, 0.004857847, -0.0684244484, -0.014165082, 0.0035526964, 0.0158757251, 0.0473025627, 0.0593152232, -0.0473338105, -0.073482886, -0.0109684467, 0.0316667892, -0.0432249866, -0.0155050261, -0.0484357141, 0.044252459, 0.0629245713, 0.0253075771, -0.0025549149, -0.0098024243, -0.0417337045, -0.0590476021, 0.0701185912, 0.0622822419, -0.0035240932, -0.0016325047, -0.0321284197, -0.0424648933, 0.019964844, 0.0101096556, 0.0496667139, -0.005953474, -0.0081124399, 0.0022517326, 0.0215598941, -0.0373105891, 0.0217221398, 0.030704055, -0.0769518912, 0.0235660933, 0.0025373369, 0.073375158, 0.0240105521, 0.0144171678, -0.0191986375, 0.0184386745, 0.0013388859, -0.0248242207, -0.0214166343, -0.0551333502, 0.0065720268, 0.0962974578, 0.0268089063, 0.0501376167, 0.0747586787, -0.0204334632, -0.0194719229, 0.0033128366, 0.0025691539, 0.0738886371, 0.0015355827, 0.0199743174, -0.0229633749, -0.001810084, -0.0731662065, 0.0266203322, 0.001422157, 0.0121841095, -0.0190240089, -0.0585621484, 0.0391154885, -0.0709997192, -0.0162624344, 0.088420786, 0.0100640915, 0.0248326957, 0.059483584, 0.0476595797, -0.0314631015, -0.0178349596, -0.0698709935, 0.0113190692, -0.0150469244, 0.0043360242, 0.025546968, 0.0015118136, -0.0307614896, -0.0082230428, -0.042532593, -0.0332453847, 0.000116363, 0.0187374037, 0.0113446256, 0.0333651379, -0.0246301368, -0.0544739366, -0.0280893892, 0.003573434, -0.0104114469, -0.0591133274, 0.0150623852, -0.0315160342, 0.0390615016, -0.0792652965, 0.0236727931, -0.0147707127, -0.0595126413, 0.0154052265, -0.0262052454, 0.0267041624, 0.0591814406, 0.0302703604, 0.0011533991, 0.0753176734, -0.0018914727, -0.0659493357, 0.0146344993, -0.0504037365, -0.0658955872, -0.0466629788, -0.0122211296, 0.029053567, 0.095041424, 0.0022616121, -0.0048981709, -0.0662187263, -0.0109960474, -0.0237605292, 0.0062924419, -0.0064705983, 0.0198961757, -0.0454993695, 0.0353712142, -0.0082928129, -0.046672754, 0.0700804815, -0.018334616, 0.0109685585, -0.082155779, -0.0118235601, -0.0144099519, 0.033851359, 0.0301519595, 0.0319677554, -0.0174380355, -0.0140753053, -0.0446586385, -0.0441476516, 0.0437965803, -0.0419672877, 0.0556455441, -0.0093779722, 0.0012109167, -0.022065999, -0.0730961412, -0.0098620467, -0.0097600985, -0.0215936117, -0.0340507887, 0.0325829983, -0.0321363732, 0.016822027, 0.014467679, 0.0366609916, 0.0295064766, -0.0236292146, -0.000761363, -0.0001549707, 0.008051347, 0.0909913108, 0.0097225942, 0.0040105172, -0.0307198949, -0.0030661304, 0.0121313129, 0.0649518296, -0.0288302097, 0.0158771053, 0.0014703325, 0.0473740175, -0.0527837276, -0.0450768135, 0.0588900708, 0.0315110609, -0.0572378486, 0.0441269949, 0.0887938589, 0.0196776129, -0.0406057686, 0.0267668962, -0.001737028, 0.0876000971, -0.009025122, 0.0481154732, -0.0680232048, -0.0196357332, 0.0024615186, 0.0460485853, -0.0016133464, -0.010165914, -0.0201829039, -0.124140963, -0.0336585082, 0.0099337725, -0.0473098382, -0.0016702904, -0.0050060055, 0.0023337449, -0.0394111909, 0.024203226, 0.0382375382, -0.0032973224, 0.0199801382, 0.0133108916, -0.0126593225, -0.0148078054, 0.0042632758, -0.0166294221, 0.0484644808, 0.0848341584, 0.0345305949, -0.0019123052, -0.0221435409, 0.03738866, 0.0235610623, -0.0113970274, -0.0222835857, 0.0273312349, -0.010894306, 0.0060209366, -0.0000034274, 0.0093162376, 0.0193958953, 0.0354084112, 0.0390383303, 0.0449364223, 0.0522697903, -0.0370013416, 0.0249813888, -0.0159593206, 0.0111284209, 0.048324611, 0.010115223, -0.0834828168, -0.0410201326, -0.0622608624, -0.0151887471, -0.0728292167, -0.0339727253, -0.0551790521, 0.0280137826, 0.0146470666, -0.0495403707, -0.0485081896, -0.0163927283, 0.0473236293, 0.0111322217, 0.0339774974, -0.0557284392, 0.0097169103, -0.0056433878, 0.0149782449, -0.0130889202, -0.00408067, -0.0990960598, -0.0365717337, 0.020403171, -0.036773704, -0.0091839554, 0.0221161209, 0.0051750941, -0.0559234247, -0.005694076, 0.0683806315, 0.0234448686, 0.0523288995, 0.0254148673, -0.0500538722, 0.033107318, -0.0169222411, -0.0250825919, 0.006068585, 0.0292648021, 0.0094766701, 0.010249842, 0.022668574, -0.0205757953, 0.0021902707, 0.0306290518, 0.0631141588, 0.0246283207, -0.0371906199, 0.0438805185, 0.0281197168, 0.0259268824, -0.0307881795, -0.053603299, 0.0003851277, 0.0203726441, -0.0629324839, 0.0068293945, -0.0333208963, -0.0062148795, 0.0134839667, 0.0101495599, 0.0066784481, -0.0443851948, -0.0437419042, -0.0090650776, -0.0306408945, 0.0247049984, 0.0211206358, 0.0074800323, 0.0626946092, 0.0322192051, 0.0016368721, 0.0121790506, 0.0378554277, 0.0451717004, 0.0010999545, 0.0066547347, 0.0314484052, -0.0152441533, 0.0127762351, 0.0404914133, 0.0183057748, -0.0065685851, -0.0424844995, -0.0282659903, 0.0607453138, -0.0023529551, 0.050926175, -0.0047268141, -0.0053506773, -0.0049252557, -0.0055119414, -0.0470640734, -0.03529891, -0.019811457, 0.0288999882, -0.03529834, 0.001995879, 0.0709503293, 0.0522601791, 0.0290836375, -0.01077173, 0.0051211156, -0.0459496938, 0.0107591106, 0.0117420331, 0.0769608021, -0.0517269485, -0.0339896306, -0.0494573154, -0.0539069176, -0.0153824706, 0.0381799899, 0.0132459141, -0.0059083751, 0.0395029299, 0.0383167826, -0.0486576632, -0.0242139418, -0.0667411163, -0.0375403427, -0.0132451896, -0.0189240985, -0.0127169862, -6.63450481e-33, -0.0272421073, 0.0055105495, 0.0295739286, -0.0076440633, -0.0535023324, -0.0282698814, -0.0000481984, 0.0301881861, 0.000083665, -0.0251480862, -0.0453299992, -0.0369536206, -0.0009142965, 0.0133857019, 0.022793252, -0.0023182405, 0.0445486009, -0.0259214099, -0.0681515634, 0.0154465334, 0.0198568404, 0.0150287086, 0.0370093696, -0.0429667123, 0.0189936515, 0.0613633655, -0.0208011661, 0.0025236178, -0.0112008657, 0.0592063367, -0.010469825, 0.0184880421, -0.0019969344, -0.0393357836, -0.011474791, -0.0320812836, -0.0400023833, -0.0072367731, -0.0025647746, 0.0059784674, 0.0157469492, -0.0157360323, 0.0302315298, 0.0143462792, -0.0422784165, -0.0291890576, 0.025535576, -0.0328334235, -0.0419984981, 0.0108726192, -0.0413409024, 0.0107471403, 0.0043617147, 0.0049574557, 0.0471114814, 0.052576866, -0.0068888459, 0.0402591676, -0.0302662253, 0.0554412343, 0.0380567275, 0.0383579843, 0.047711309, 0.0405367054, 0.0405732319, 0.005937492, 0.0436651073, -0.0182634816, 0.0149375768, -0.0074891835, 0.0428763963, -0.0026991707, 0.0415778793, 0.0099887634, 0.0669160262, -0.0241743755, -0.0325648896, 0.0231153034, 0.0240116138, -0.0140427779, 0.0182330813, 0.0532555431, -0.0594312958, -0.0238413364, -0.0201122817, -0.0292396359, -0.0227690134, -0.1081863642, 0.026097225, 0.0091133583, 0.00305461, -0.0176673904, 0.0466193594, 0.0097174663, -0.0435865931, 0.0095604686, -0.0523639172, 0.0416488983, -0.0014157564, -0.0071935398, -0.056601759, -0.0000233067, -0.0219462235, -0.0062726117, -0.0227448177, 0.0017704251, -0.0025169824, 0.0273558479, -0.057156682, 0.0205147956, -0.0081458129, -0.0102317128, 0.0297679733, 0.031233646, 0.0318042226, -0.0483104326, 0.0128368251, 0.0749383718, -0.0070051588, -0.0608145148, -0.0410413072, -0.0217411686, 0.0158031322, 0.0084744059, -0.0110383406, 0.0021919331, -0.0156788696, 0.0318391621, -0.0031606951, -0.0058432058, -0.0294831935, -0.0341771506, 3.07e-7, -0.0027890105, 0.0738106519, -0.0189152416, -0.0099339457, -0.0562905483, 0.0542641133, 0.0016765962, 0.0030427643, 0.0334109962, 0.0341241919, 0.0258655827, -0.0015998216, 0.0248105042, 0.0113610318, -0.0886117294, -0.0264496803, -0.0422363952, 0.0141930617, -0.0520334207, -0.0061365068, 0.0405919515, 0.0802802369, 0.0438630879, 0.0075044674, 0.0077276565, 0.0148287276, 0.0267425757, -0.0335857868, -0.0293161292, 0.0072888006, 0.0263169874, -0.0416499414, -0.0513293818, -0.0225114543, -0.0077752443, 0.0223221518, 0.014293869, 0.0517441556, -0.0053576352, -0.0436853468, 0.0103087779, 0.0254943334, -0.0159754511, -0.0633882061, 0.0596674941, -0.0116514424, -0.01658375, 0.008212314, -0.0328334309, -0.0592891462, 0.0176469274, -0.058822073, -0.0361494198, 0.0105067901, -0.0069482061, 0.026232373, 0.0115171475, -0.0489714444, -0.0049990895, 0.0306165107, -0.0297443923, -0.0323504545, -0.042074576, 0.0509456247, -0.0198145397, -0.0454732887, 0.013565002, 3.097555036e-34, 0.0035703396, -0.0077774236, 0.0202189274, -0.0563680492, 0.0308773462, -0.0048875869, 0.0517452545, 0.0262542423, 0.0628541782, -0.0653707162, -0.0255757794 ]
http://arxiv.org/abs/2406.11813v1
http://arxiv.org/pdf/2406.11813v1
How Do Large Language Models Acquire Factual Knowledge During Pretraining?
2024-06-17T17:54:40
2024-06-17T17:54:40
Hoyeon Chang, Jinho Park, Seonghyeon Ye, Sohee Yang, Youngkyung Seo, Du-Seong Chang, Minjoon Seo
cs.CL
cs.CL, I.2.7
Despite the recent observation that large language models (LLMs) can store substantial factual knowledge, there is a limited understanding of the mechanisms of how they acquire factual knowledge through pretraining. This work addresses this gap by studying how LLMs acquire factual knowledge during pretraining. The findings reveal several important insights into the dynamics of factual knowledge acquisition during pretraining. First, counterintuitively, we observe that pretraining on more data shows no significant improvement in the model's capability to acquire and maintain factual knowledge. Next, there is a power-law relationship between training steps and forgetting of memorization and generalization of factual knowledge, and LLMs trained with duplicated training data exhibit faster forgetting. Third, training LLMs with larger batch sizes can enhance the models' robustness to forgetting. Overall, our observations suggest that factual knowledge acquisition in LLM pretraining occurs by progressively increasing the probability of factual knowledge presented in the pretraining data at each step. However, this increase is diluted by subsequent forgetting. Based on this interpretation, we demonstrate that we can provide plausible explanations for recently observed behaviors of LLMs, such as the poor performance of LLMs on long-tail knowledge and the benefits of deduplicating the pretraining corpus.
[ 0.019137267, 0.0304788873, -0.0130104786, 0.0177193377, -0.0219381638, 0.032374993, -0.0100946287, -0.0046353769, -0.0281224325, -0.041010201, -0.0087712109, -0.0548948534, 0.0077690887, -0.0187086836, 0.0257437862, -0.0055779302, 0.0723822638, -0.0492121615, -0.0131028835, -0.0471839085, -0.0102578746, -0.0201295894, -0.0096816104, -0.0337223709, -0.0458692722, -0.0143811917, -0.0272225961, -0.0501557812, -0.0133499121, -0.0409571566, -0.009542428, 0.0302448664, 0.0377680138, 0.0502662435, 0.0000018545, -0.0680861026, 0.0060786461, -0.0213077515, -0.0891524553, 0.0656172633, -0.0096131461, 0.0162421893, -0.0086964434, -0.0003195563, -0.0289413165, -0.0444474258, 0.0264591482, 0.0369905904, 0.0189705864, 0.069032535, 0.0223835427, -0.0220368337, 0.0267313737, -0.0149747608, 0.0038296136, -0.0167566519, 0.0390871763, 0.0489004441, -0.04429847, -0.0199324526, -0.0285387598, 0.0088792574, 0.0171315894, 0.0622934513, 0.0002720809, 0.0996097103, 0.0192906838, -0.030477386, 0.0015141924, 0.0154264448, 0.0021437511, -0.0360492542, -0.0045655393, 0.0090464456, 0.000437878, 0.0042332001, -0.0364936814, 0.0458232872, -0.0332577601, 0.0284379013, -0.0013521675, -0.0389583856, 0.0655733049, 0.0085406741, -0.0459154174, 0.0379401632, -0.0028888488, -0.0637663528, 0.0152200079, 0.0187891796, -0.0032903478, -0.0665412396, -0.0084155314, 0.0311763305, 0.0226192549, 0.0608955324, -0.0256826635, 0.0078896908, 0.0399279408, -0.067286551, 0.0212405417, 0.0093823774, -0.0378572121, 0.0413712971, -0.04512842, 0.0370038524, -0.0051837959, 0.0183174089, -0.026105931, 0.0105130021, -0.0592149235, -0.0169591885, -0.0274147037, 0.0314221159, 0.0640089735, 0.0373315215, -0.0239742231, 0.0061690491, 0.0094750514, 0.0214361083, -0.0219405591, -0.0274741258, -0.0428127535, 0.0083968202, -0.0665290803, 0.0397761948, -0.026575299, 0.0395224355, 0.0055774455, -0.0523147024, -0.0450142175, -0.0343691409, 0.0069419681, 0.0020191281, 0.0213649869, -0.0237796232, -0.0294746999, -0.0573986918, -0.1152176857, -0.015551826, 0.0034907826, -0.1165823415, 0.0064012087, -0.0408100449, 0.032303758, 0.0186696593, 0.0010524529, -0.030499151, 0.0117011834, 0.0168574322, -0.0260147806, 0.0588732846, 0.0069349841, 0.0200636573, 0.0329252519, 0.0011842218, -0.0009036873, 0.0654413104, -0.0029391025, 0.0062143947, 0.0196948349, -0.0093375808, -0.0019124903, 0.0181609876, 0.0426356047, 0.0017599233, 0.0095341476, -0.011039515, 0.0338988006, 0.0270939674, 0.0541197248, 0.0247767307, -0.0356136598, 0.0008509073, 0.0783181712, 0.0294958446, -0.0045392415, 0.0351237431, 0.0349878184, -0.035386011, 0.0570824891, 0.061031729, -0.0620894916, -0.0074360124, -0.0083594406, 0.0377513021, -0.0256686732, 0.052197706, -0.050953798, -0.0244661439, -0.0056641381, -0.0175286699, -0.0126897087, 0.0027755669, 0.0606640317, 0.0079106474, -0.0185014065, 0.0894797444, 0.057503406, -0.02276708, 0.0287242681, -0.0232784972, 0.0368375368, 0.0294521246, 0.0101990122, -0.0219418816, -0.0261327438, 0.0181920677, 0.007639199, -0.03136665, 0.0793173835, -0.0038122991, 0.0225496609, -0.042593807, -0.0050477874, -0.0075125233, 0.0324496888, 0.0256647207, 0.0196851008, 0.0133716017, 0.0024590348, -0.0326718688, -0.0305087324, 0.0467418022, -0.0733080208, -0.0477460138, -0.0413801521, -0.0051108273, 0.0285367649, -0.0071163164, -0.0279186685, 0.0042214449, 0.0429957062, 0.0062129321, -0.0055418527, 0.0192362946, -0.0753681585, -0.0150614893, 0.0350680426, 0.0498078726, -0.0106225517, -0.0067121056, -0.0184059069, -0.0355200581, 0.0076389136, -0.0026269928, 0.0811168253, -0.0398400947, 0.0475235917, 0.0087958835, 0.0135675054, 0.0103891231, 0.0863679126, -0.0315870009, -0.0235352721, -0.030989578, -0.0111511238, 0.0122090103, -0.0376804546, -0.0039265594, 0.0296221375, 0.0013872327, 0.0250310302, -0.0142564094, -0.0590749346, -0.0610647686, 0.0158036612, -0.0636499748, -0.020382531, -0.0064875861, 0.0030145876, -0.0007011446, -0.0281888209, -0.0207806583, -0.0078926431, -0.0208554342, 0.0039976821, -0.0162586924, 0.0483044945, 0.0067890198, -0.0034150586, 0.0192761756, -0.0185319073, 0.0083869733, -0.0045953002, 0.0321133509, -0.0003376703, -0.0139857735, -0.0692102909, 0.0764508843, -0.0469030142, 0.0268875137, -0.0156745613, -0.0229360722, 0.0117949359, -0.0080652935, 0.0434134528, 0.0949499607, 0.014913979, 0.0348943137, 0.1060490161, -0.0098692654, -0.0401021577, 0.0143203298, -0.0450514629, -0.0477521755, -0.0507163927, -0.0089878617, -0.0150872972, 0.0488362983, 0.0228934512, 0.0114616742, -0.0009054351, -0.0179478303, -0.0529172681, -0.0315074064, -0.023358088, -0.0021806576, -0.0391648524, 0.0337480493, 0.0074811988, -0.0456694402, 0.0443581566, -0.0262452457, 0.0044844081, -0.0415974371, -0.0014357601, 0.0274821315, 0.0512411222, 0.0355423726, 0.0143967606, 0.0327797383, 0.0057160663, -0.0572829358, -0.0220290367, 0.0509989299, -0.0314208455, 0.0490389764, -0.0335159004, 0.0026311895, 0.0107709588, -0.0420026667, -0.0758803785, -0.030285513, -0.0221964233, -0.0207068231, -0.0489094593, -0.0056604454, -0.0127218375, -0.0358980559, 0.0694665611, 0.0282406788, 0.028652925, -0.0196021274, -0.000786524, 0.0024991385, 0.0024770321, 0.0113698021, 0.0271229297, -0.056750305, -0.0032109534, 0.0603563488, 0.0656416565, -0.0054731905, -0.0230209902, -0.0137404855, 0.0013709437, -0.0450192578, -0.0216410421, 0.0298476778, 0.0212394912, -0.0445114598, -0.0139017198, 0.0981748253, 0.0097634792, -0.004065807, 0.0162953455, 0.0159349386, 0.0276672244, 0.0330679677, -0.0112748621, -0.076136671, 0.0103478506, 0.0194617715, 0.0003874966, -0.0068268692, -0.0109009044, -0.0432888381, -0.1259922683, -0.0309022553, 0.0137634939, -0.0031506089, -0.0136010926, -0.0208716579, -0.02426726, -0.0164047442, 0.0511819422, 0.0313815773, -0.0337581709, 0.0170104187, 0.0463766605, -0.0126823001, -0.0628471226, 0.0400627591, -0.0564654693, 0.0643814206, 0.0193613954, 0.0113819456, -0.0245179199, -0.0228882618, 0.0183481406, 0.0010889149, 0.0205417816, 0.0170607567, 0.0383263379, 0.0025619653, -0.0115096448, 0.0080748824, 0.0211894456, 0.0145786228, -0.0226850566, 0.0151372114, 0.0361505039, -0.0020066549, -0.0596331879, 0.0370742269, -0.0003535041, -0.0376482122, 0.0960536227, 0.023230793, 0.0115312142, 0.0099536758, -0.0066375979, 0.0281952284, 0.0115553904, -0.0267785788, 0.0577278808, -0.0321355797, -0.0005846052, -0.0613646731, -0.0395830981, 0.0154486541, 0.0533323064, 0.0042495481, 0.0139136659, 0.0618607514, -0.0097779846, -0.0270826891, 0.0366395004, -0.0394170769, -0.0271875318, -0.0464509316, -0.0559590273, 0.0176572725, -0.0153964413, -0.0210901909, -0.0490762889, -0.0873487592, -0.0574305616, 0.0723576322, 0.0311366133, 0.0293850079, 0.0742123947, 0.0147961369, -0.0301936381, 0.0602416173, 0.0055269361, -0.0361988433, 0.0474194735, 0.0430832133, -0.0140596293, 0.0044266321, 0.0211372282, -0.0071050161, 0.0039513297, 0.0266901162, 0.007197821, -0.0358233899, 0.0211075768, 0.0369416364, 0.0265921131, 0.0449690931, -0.0139377499, 0.0056709438, -0.0427769609, 0.0348159261, 0.0180910062, 0.0024540212, 0.0071967798, -0.0189823657, 0.0307361446, 0.0437119566, -0.0104331914, -0.026215177, 0.0239580795, 0.0369807519, 0.0061709187, -0.063865833, 0.0130707566, 0.0059986403, 0.0594833121, 0.0111369183, -0.0416204929, 0.0473814867, -0.0391251855, 0.0266370475, -0.0127819935, 0.0494776964, 0.0049512619, -0.0063297586, -0.0488073975, -0.0179872978, -0.0775615498, -0.0229699649, -0.0015261325, 0.0144374277, 0.0665834248, -0.0680034235, 0.0135675576, -0.0768304095, 0.0107765207, -0.0217704773, -0.0185649171, -0.0200747792, -0.0022467421, 0.0147722512, 0.0054443497, -0.0321736261, 0.0218958799, 0.1028168127, 0.0023462947, 0.1053435281, -0.0183790196, 0.0106387166, -0.0125460466, -0.0520081744, -0.0031599873, -0.0163184702, -0.0370134003, 0.0012271079, -0.0764082223, -0.0688882172, -0.0061529833, -0.0241868868, 0.0118053043, -0.0407663733, 0.0151173929, 0.0554976761, -0.0360883586, 0.0027708057, -0.0052057295, 0.0333436355, 0.041408997, 0.0277385842, -0.0023996101, -6.298695461e-33, -0.0060100006, 0.0216290802, 0.045573283, 0.0212101452, -0.003896466, 0.0191148724, -0.0086829746, -0.0046271668, -0.0395184048, 0.0111546861, -0.0214952324, 0.0054115131, 0.0278600566, 0.0186945945, 0.0004735665, -0.0240047518, 0.0578308478, -0.0268314295, -0.0178853218, 0.0147837345, 0.0641028658, 0.0485325791, 0.0773366839, -0.0195822772, 0.0116785327, -0.0023510121, 0.0083287135, 0.0210945904, -0.0553265549, 0.0521993749, -0.0409985073, 0.0462777801, 0.0300895646, -0.0446796864, -0.0391535349, -0.0205619764, -0.0933343917, -0.0347794779, 0.0372343473, 0.0138325328, 0.0254108664, 0.0088555841, 0.0204906706, -0.0322380699, -0.0118103027, -0.0019600673, -0.002874641, -0.0110513857, -0.0687398538, -0.0251263287, -0.0275006276, 0.0011755965, 0.0402828716, -0.0051407283, 0.003923283, -0.0698540732, 0.0048699658, -0.0393417738, -0.0764513835, -0.0008098545, 0.0282213222, 0.0471230112, 0.0079937158, 0.009492442, 0.030404672, 0.0847273469, 0.0486300774, 0.0254295114, -0.020302292, 0.0163802374, 0.0584550686, -0.0114957225, -0.0054664188, 0.0174213368, 0.0467387848, -0.0239590537, -0.0521352962, -0.0363537185, 0.0278207622, 0.0590281971, 0.0177660976, 0.0000463604, -0.0214284156, -0.0410640016, -0.0628992692, 0.0225956142, -0.0204252042, 0.0192799754, 0.0017047464, 0.0375345424, 0.0183435604, -0.0271407291, 0.0047112377, 0.0015233381, -0.034554746, 0.0038126109, 0.0107552046, -0.0104915882, -0.024223391, 0.0194959044, -0.1037353575, -0.0240821484, -0.0277305264, 0.0159708969, -0.0122215524, 0.0335556492, 0.0553414598, 0.0330661945, -0.0388589427, 0.0014863712, -0.0327333026, -0.0114514427, 0.0517361462, -0.0199455842, 0.0587380715, 0.0417601652, -0.0039596767, 0.006095761, 0.0578883477, -0.0195236988, -0.0485777967, 0.0044411402, 0.0110151563, 0.0497853123, -0.0153590152, -0.0129389176, -0.0418065041, -0.0126697421, 0.0712902695, -0.0419755764, 0.0129246674, -0.0017708038, 2.554e-7, -0.007587688, 0.02873151, -0.0026704967, 0.0033221035, 0.0116581507, 0.0465501286, -0.0638479814, 0.0081992438, 0.0187435262, -0.0273420811, -0.0141310701, 0.0530558564, 0.0246892702, 0.0132113351, -0.0545639023, -0.0260776114, -0.0620911494, -0.0003464884, -0.0488800704, 0.0024521709, -0.0203023907, 0.0803252459, 0.0508689396, -0.0275984574, 0.0275572482, -0.0808755159, 0.075492017, -0.0055380659, 0.0023930697, -0.0014938914, 0.0495036952, 0.0302797873, 0.0080576492, 0.0403476246, -0.0196915306, -0.0002319089, -0.0345211066, 0.0361470468, 0.0254226532, 0.0039098044, -0.0325506181, -0.0067310017, -0.0323261656, -0.0411924571, 0.0677113235, -0.0612002201, -0.0237901546, -0.0278582964, 0.0170933995, -0.0036211743, -0.0022987367, 0.0277366303, -0.0218674131, 0.0344941989, -0.016891405, 0.0303890239, -0.01873192, -0.0917395577, -0.0207991805, 0.0239249542, -0.0342761502, -0.0933319703, -0.0165863559, -0.0348002389, 0.0481300242, -0.0438009575, 0.0099682296, 2.021768779e-34, 0.0299041793, -0.0203896463, 0.0133621814, 0.0221092291, 0.0210801214, -0.0354723521, 0.013662437, 0.0260425042, -0.0057080626, -0.0624024197, 0.0052383803 ]
http://arxiv.org/abs/2406.11811v1
http://arxiv.org/pdf/2406.11811v1
RepLiQA: A Question-Answering Dataset for Benchmarking LLMs on Unseen Reference Content
2024-06-17T17:52:54
2024-06-17T17:52:54
Joao Monteiro, Pierre-Andre Noel, Etienne Marcotte, Sai Rajeswar, Valentina Zantedeschi, David Vazquez, Nicolas Chapados, Christopher Pal, Perouz Taslakian
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are trained on vast amounts of data, most of which is automatically scraped from the internet. This data includes encyclopedic documents that harbor a vast amount of general knowledge (e.g., Wikipedia) but also potentially overlap with benchmark datasets used for evaluating LLMs. Consequently, evaluating models on test splits that might have leaked into the training set is prone to misleading conclusions. To foster sound evaluation of language models, we introduce a new test dataset named RepLiQA, suited for question-answering and topic retrieval tasks. RepLiQA is a collection of five splits of test sets, four of which have not been released to the internet or exposed to LLM APIs prior to this publication. Each sample in RepLiQA comprises (1) a reference document crafted by a human annotator and depicting an imaginary scenario (e.g., a news article) absent from the internet; (2) a question about the document's topic; (3) a ground-truth answer derived directly from the information in the document; and (4) the paragraph extracted from the reference document containing the answer. As such, accurate answers can only be generated if a model can find relevant content within the provided document. We run a large-scale benchmark comprising several state-of-the-art LLMs to uncover differences in performance across models of various types and sizes in a context-conditional language modeling setting. Released splits of RepLiQA can be found here: https://huggingface.co/datasets/ServiceNow/repliqa.
[ 0.0673538521, 0.036640536, 0.0176114962, 0.0579485781, -0.0276054107, 0.0146540692, -0.0269392859, 0.0265033729, 0.0009210711, -0.0742869526, -0.0446352325, -0.0028460021, -0.0460993461, -0.0213385765, 0.0232158992, 0.0162838735, 0.0430493243, -0.0020314967, 0.0079428786, 0.0051748333, 0.0182653032, 0.0340802856, 0.0116272615, 0.0186425373, -0.0128928572, -0.0145177124, 0.0142902201, 0.0148153678, -0.0019680841, -0.0095118741, 0.065577358, 0.0460026637, 0.0419629961, 0.0102296043, 0.0000014828, -0.036364574, 0.0169679634, -0.0100660073, -0.0396792069, 0.00857314, 0.0118016582, -0.0115335537, 0.0496350452, 0.0219502263, -0.0525906123, 0.0180413276, -0.0131273717, 0.0414592549, 0.0772443265, 0.0897170827, 0.016559016, -0.0089273574, 0.035068959, -0.0036691944, 0.0519835614, -0.0442497768, 0.0333695263, 0.0265638828, 0.0027073077, 0.0201596655, 0.0190271325, 0.024407424, 0.0306603163, -0.0033633965, 0.0086858887, 0.0121594621, -0.0624655634, 0.0075642788, 0.0054885121, 0.0942715183, 0.0259694047, -0.0279903319, 0.010801984, 0.0027771152, -0.0110956393, 0.0233512055, -0.0485724993, 0.017899977, -0.0123684406, -0.0039679417, 0.0164950229, -0.0200476665, 0.0212381836, 0.0303581692, 0.0108558899, 0.0900406316, 0.0114264023, -0.035292916, 0.0099133868, 0.0059239748, -0.0146827511, -0.0456864759, -0.0180886127, 0.0757962391, -0.0061605945, 0.0249716584, -0.0307254214, -0.006996165, 0.0671200007, -0.0566626303, -0.0001092293, 0.0123174861, -0.0163000934, 0.0767051354, -0.0308714174, 0.0243011899, -0.0242721159, 0.0172511041, -0.0443790331, -0.0434968919, -0.0112813869, -0.0271765683, -0.0179268308, 0.0362943634, -0.0298912004, -0.0187828913, 0.0102855228, 0.0313185863, 0.0098676067, 0.0129506793, 0.0080359913, 0.0064944285, -0.0247877296, 0.0022630126, -0.0575766377, 0.0073353914, -0.0395901129, 0.0433201678, -0.0013077861, -0.0893418938, -0.0173268728, 0.0067838617, 0.0066652102, -0.0313636921, 0.0398921557, 0.057804808, 0.011440048, -0.0449137762, -0.0334523469, -0.0371460803, 0.0182255004, -0.052200906, 0.0113441553, -0.0687952414, 0.0382778496, 0.0141499611, -0.0418450423, -0.0243850369, 0.0135570858, 0.0746524334, -0.009237783, 0.0420221239, -0.0113104675, 0.0057728891, 0.0564705916, 0.029104244, -0.0049298028, 0.0958757401, 0.0188891087, -0.006633271, 0.0630896315, 0.0399532951, 0.013365441, 0.0257518031, 0.0439791568, 0.0482720807, 0.0205544084, 0.0839580223, -0.004065475, 0.0258165244, 0.0319484286, 0.0280398279, -0.0172810107, -0.0593004525, 0.0416466817, 0.0502291583, -0.0208891537, 0.003400984, 0.0191494413, 0.0108727664, 0.0324017517, 0.0056075198, -0.0279269274, 0.0276071969, -0.0268480815, 0.0046947757, 0.0484203957, -0.0132615147, -0.0459348783, -0.0246289466, -0.0210682787, -0.0068855952, -0.0157066863, 0.0181124117, 0.0361223668, 0.0263643414, -0.0286104418, 0.0877331942, 0.0241535231, -0.0379915945, 0.003109253, -0.0436204597, 0.0817639828, 0.0113338009, 0.0555364899, -0.0539654195, -0.0401122198, -0.0074509475, 0.0537516773, 0.0389693566, 0.0288533978, -0.0195151363, 0.0189554803, -0.0160373878, -0.0077850623, -0.0542856455, 0.0139093548, -0.0217845589, 0.0704006031, 0.0046653957, 0.0325698666, -0.0760255083, 0.0036548334, 0.0441509299, -0.0419003181, -0.010388975, -0.0019155714, -0.0276042521, -0.0068441317, 0.0119271772, -0.0066418517, 0.0255627967, 0.0618871823, -0.0263656452, -0.02305343, -0.0416515321, -0.0157961063, -0.0251125898, 0.0490775071, -0.0521483682, -0.0148432311, 0.0578880943, -0.0616974644, -0.020812735, -0.0114162797, -0.0260365382, 0.0155668547, -0.0444918312, -0.0420776606, 0.0168139171, 0.0152062941, -0.0266421214, 0.0483557954, -0.0289310999, 0.06496948, 0.0255445186, 0.0125480872, 0.0159343965, -0.0400263518, -0.0083265854, -0.0183704644, -0.0036068505, 0.0142730437, 0.0243621059, 0.0267293807, -0.0686893314, -0.0270505436, -0.0771328062, 0.0193109363, -0.0429283008, 0.0321372524, 0.0456737652, -0.0047706477, -0.0046048793, -0.0328556076, -0.0548528954, -0.0153872175, 0.0341224931, 0.0256711431, 0.056552384, 0.0083574019, 0.0447653756, -0.0703951195, -0.02327751, 0.0029499573, 0.0402397178, -0.0053361622, 0.0193222556, -0.0363708623, 0.0129505135, -0.0594246946, 0.0057207104, -0.0289949607, -0.0175791532, -0.0034801571, -0.0343007334, -0.0025606554, 0.0490729176, 0.0112917032, -0.011972066, 0.0251968205, 0.0254369434, -0.0780771449, 0.0085713705, -0.0092329811, -0.0155721987, -0.0422591716, -0.0516941473, -0.0045817066, 0.0325974934, -0.0018592831, 0.0065188576, -0.0289269313, 0.0381863266, 0.0167446677, -0.0072975317, -0.0441032052, -0.000966284, -0.0055156732, 0.0567623936, -0.0427781865, -0.0231466461, 0.056658715, -0.0340903066, -0.0003950602, -0.0156654101, -0.0050546541, -0.0800528154, 0.0338498093, -0.0196047742, -0.0087398216, -0.0287375394, 0.0238339864, -0.0355485827, -0.0029500583, 0.0057476517, -0.0662996322, 0.0645745099, -0.0144508993, 0.0416184366, -0.03459711, -0.0348459557, -0.0573663861, -0.0590543188, -0.0271248948, 0.0060803709, -0.0327362604, -0.0042921598, -0.0108379638, -0.0278728977, 0.0355381817, 0.0256226808, -0.0225190166, -0.0139687676, -0.0086496752, 0.0784110129, 0.0887865722, 0.0465509892, 0.0326203965, -0.0088632042, 0.0078661311, 0.0509745069, 0.03201285, 0.032014858, -0.0140289236, -0.0189854968, 0.0071903151, -0.0294886325, 0.0126429358, -0.0095454864, 0.0332129523, -0.0510420538, -0.0323652737, 0.1018574089, 0.0285870954, -0.0332884751, -0.0229348652, -0.0317315198, 0.0158865042, 0.0319826901, 0.0221796613, -0.1018407792, -0.0216031969, -0.0285716653, 0.0278737377, 0.002619026, -0.0200137533, -0.0156408176, -0.1064585447, 0.0094477246, -0.0386636071, -0.0183608755, -0.0250673275, -0.0763908103, 0.0216549281, -0.0096759154, -0.0020669138, 0.0131593877, -0.0255144965, 0.0101424782, 0.0017592188, -0.011410729, -0.0291504748, 0.0375153646, -0.0195377562, 0.022177184, 0.0313229635, 0.0259386674, -0.0075580254, -0.0167276375, 0.0339445323, -0.0593822114, -0.0238630623, -0.010906375, 0.0663938075, -0.0365137383, 0.0054747239, -0.0124575235, 0.0257951207, -0.056212049, 0.0075752009, 0.0272586197, 0.0418920554, -0.0138161201, -0.0032479961, -0.0432729684, 0.00817947, 0.0093857227, 0.1195963547, 0.0537324958, -0.0034146204, -0.0296349823, -0.0134498673, -0.0034172183, -0.0320360176, -0.0385501795, 0.00898863, 0.0205499455, 0.0474614389, -0.0824473798, -0.0604218319, 0.0006563569, -0.0057305386, -0.0324142687, 0.0243585464, -0.0151393581, -0.0167778991, -0.0512009002, 0.0318142958, -0.0459812209, 0.002641204, -0.0336003639, 0.0000091168, 0.0521984585, -0.0237375963, -0.0325240195, -0.0021014977, -0.1046329811, -0.0433527939, -0.0243885666, 0.031475734, 0.0193433072, 0.0469913818, -0.0347936563, -0.0445020124, 0.04521209, 0.0304143894, -0.0641392842, 0.0159660317, 0.0143737132, 0.023780359, 0.0044487449, 0.0608790629, -0.0955905765, -0.0031127827, 0.0028934504, 0.0324788503, -0.0346292034, -0.0419750586, 0.0128575116, 0.0039965273, 0.0097903712, 0.0351521, 0.0101621877, -0.0216327477, 0.0262048319, -0.0094997017, -0.0187518001, -0.0415440947, 0.0102867233, 0.0016584572, -0.0424198173, -0.0214641504, 0.018471187, -0.0272461344, 0.0694993287, -0.0492566228, 0.0022999595, 0.0582559295, 0.0052121659, -0.0120914867, -0.0258043129, -0.0511752293, 0.001814489, -0.024887912, 0.0472001471, -0.0111395288, 0.0408914723, 0.0268641878, -0.0269414522, 0.0290891435, -0.0000679485, -0.0900196806, -0.0383758955, -0.0232382584, 0.0282022189, 0.0315358639, -0.0061574355, 0.0459491052, -0.0080180634, -0.0296517052, -0.0194988418, -0.0079200687, -0.008489944, -0.0010818697, 0.0669588521, 0.0298428256, -0.0122657502, 0.0532633401, 0.0871342272, 0.0268388987, 0.0500544459, 0.0119301705, 0.0006242533, -0.0165996104, -0.0205506179, -0.0191052593, 0.0143897263, -0.0005479042, 0.0060288063, -0.0315902717, -0.0626348034, 0.0115760323, 0.0206670575, -0.0311035309, 0.0023791105, 0.0167435482, 0.0597357266, 0.0334891267, -0.020101374, -0.0647838637, 0.0324627198, -0.0390693508, -0.0351607427, -0.0423320383, -6.136903725e-33, -0.0182996523, -0.0174942333, 0.0239430051, 0.0051726899, -0.0083334576, 0.026077399, -0.0411478244, -0.0218285844, -0.0627015457, -0.0149771553, -0.0222257841, 0.0549708977, -0.00457606, 0.035834834, -0.028658554, -0.0527388118, 0.0026895921, -0.029658597, -0.0363295339, 0.0251642391, 0.0158784911, 0.021971697, 0.0402807742, -0.0349887013, 0.0336335711, -0.0717384145, 0.00258789, 0.0416258015, -0.0226488449, 0.0818198174, -0.0293977503, 0.0451651886, 0.0475858562, -0.0198332481, -0.0048291334, 0.0395536907, -0.0943799391, -0.0483287014, 0.0047137984, -0.0321276747, -0.0609245338, -0.0078146048, 0.0538933277, 0.0012985859, 0.0288827624, -0.0089095468, 0.0465819277, -0.0077289031, -0.0089941248, -0.0228849128, -0.0125195039, 0.0169546809, 0.0056207418, 0.0003139041, -0.0240512602, 0.0670021772, 0.0027393745, 0.0518875495, -0.0660200492, 0.0042914706, -0.0157153383, 0.0327169858, 0.0418241657, -0.0173601806, -0.0030720311, 0.0488531031, 0.0043301522, 0.0002928406, -0.003694152, -0.046401117, 0.0027659379, 0.0197087657, 0.0354338475, 0.063335821, 0.0197618101, 0.0087907249, -0.0762531832, 0.0513598807, 0.0183303226, 0.029850876, 0.0144596491, -0.0207835864, -0.0016626543, 0.007934262, -0.0634418428, 0.0201556329, -0.0430733375, -0.0142351305, 0.0436058342, 0.0155740567, -0.0011035819, -0.0111557441, 0.0200667866, -0.0363542587, 0.0006968559, 0.0728464574, -0.0271178819, -0.0009382132, 0.0247872304, 0.0428216383, -0.0529344939, 0.0254665539, 0.0157852303, -0.0062619736, 0.000308488, 0.0059009367, 0.0268453211, -0.0057402747, -0.0442315489, -0.0090792356, -0.0392476358, 0.0166616011, -0.0359394886, -0.0056597362, 0.0122506125, 0.021527905, -0.0052114218, 0.0387868062, 0.0126180947, 0.01521709, -0.0292314086, -0.0594784431, 0.0036733993, 0.0143740326, -0.0329368263, 0.0211939197, -0.0302336104, 0.0564903393, -0.0189627297, -0.0447193794, 0.0103313159, 0.0592187755, 2.215e-7, 0.0749435052, 0.0044622719, 0.0217410047, 0.0467544608, 0.018274188, -0.0033281664, -0.020870015, 0.0465761572, 0.025138732, -0.0458038636, -0.0058808918, 0.0472729094, 0.0473298207, 0.0173371192, -0.0802206472, 0.003332373, -0.0955168232, -0.0197142418, -0.0381154753, -0.0322966836, 0.0154517973, 0.0790641457, -0.0047231554, -0.019372439, -0.0397317857, -0.0356976166, 0.0746198967, -0.0424686372, -0.0257858243, 0.0081845159, 0.052880995, 0.0522605292, 0.0373671204, -0.0051071602, -0.0225855839, 0.0172399301, 0.0131259812, 0.05613067, 0.0337458514, -0.0766540766, -0.019211933, -0.0374228917, 0.0338218026, -0.0409418568, 0.1020480916, -0.0219197646, 0.0046967822, -0.0399584286, -0.0384158753, -0.0238288101, 0.0247208867, -0.0259902943, -0.017691683, 0.0215411615, 0.0028669764, -0.0138335293, 0.0093664648, -0.0684246793, -0.0178004485, 0.011262414, -0.0598238185, -0.0406879149, -0.0344803743, 0.00763172, -0.0260211769, -0.0622618347, 0.0102307489, 1.918525708e-34, 0.0173881222, -0.016596375, -0.0118818413, 0.0369491763, 0.0199487563, 0.0064177308, -0.0239800997, -0.0335639231, 0.001222152, -0.0852902159, 0.0143021652 ]
http://arxiv.org/abs/2406.11944v1
http://arxiv.org/pdf/2406.11944v1
Transcoders Find Interpretable LLM Feature Circuits
2024-06-17T17:49:00
2024-06-17T17:49:00
Jacob Dunefsky, Philippe Chlenski, Neel Nanda
cs.LG
cs.LG, cs.CL
A key goal in mechanistic interpretability is circuit analysis: finding sparse subgraphs of models corresponding to specific behaviors or capabilities. However, MLP sublayers make fine-grained circuit analysis on transformer-based language models difficult. In particular, interpretable features -- such as those found by sparse autoencoders (SAEs) -- are typically linear combinations of extremely many neurons, each with its own nonlinearity to account for. Circuit analysis in this setting thus either yields intractably large circuits or fails to disentangle local and global behavior. To address this we explore transcoders, which seek to faithfully approximate a densely activating MLP layer with a wider, sparsely-activating MLP layer. We successfully train transcoders on language models with 120M, 410M, and 1.4B parameters, and find them to perform at least on par with SAEs in terms of sparsity, faithfulness, and human-interpretability. We then introduce a novel method for using transcoders to perform weights-based circuit analysis through MLP sublayers. The resulting circuits neatly factorize into input-dependent and input-invariant terms. Finally, we apply transcoders to reverse-engineer unknown circuits in the model, and we obtain novel insights regarding the greater-than circuit in GPT2-small. Our results suggest that transcoders can prove effective in decomposing model computations involving MLPs into interpretable circuits. Code is available at https://github.com/jacobdunefsky/transcoder_circuits.
[ -0.0330975205, 0.0696484521, -0.0204844866, 0.0836519226, 0.0126906773, 0.0029352363, 0.0336062908, 0.0103666289, -0.0182232726, -0.0153384851, -0.0366981253, 0.006507528, 0.0019813515, 0.0780028328, 0.0552915633, 0.008199201, 0.0163279641, -0.027622221, -0.0886308327, -0.0501030087, -0.0053813844, -0.0047323937, -0.008210158, 0.0726722479, 0.0463984162, 0.0300446991, -0.0162838697, -0.0126672694, 0.0251278169, 0.0631069168, -0.0604705811, 0.0293656047, 0.0464115515, 0.0344930366, 0.0000020121, 0.0234268419, 0.0045470754, -0.0153972032, -0.0799391419, 0.0072833775, -0.0298384801, -0.0420377813, -0.0207484048, -0.0254779384, 0.0106554674, -0.0592759438, 0.0777175128, 0.034719035, 0.0222163219, 0.0584144332, 0.0021525489, -0.0652889907, 0.0714597479, 0.0001075461, 0.0551392026, -0.0191535056, 0.0056541008, -0.0457451083, 0.0018204806, -0.0461575128, -0.0516018383, 0.0113629662, 0.0440226756, -0.0064549427, 0.0164305158, 0.0133147035, -0.0016326213, -0.0437675491, -0.0186836664, 0.0361014493, -0.0182458758, -0.0318294764, -0.0337240621, -0.0031943333, -0.0495776832, -0.0155560821, -0.0161305517, 0.0032230611, 0.0347829238, 0.0370866954, -0.0288304146, -0.0320877768, 0.0609467551, -0.0405467972, -0.0531655513, 0.0759036615, 0.0149172973, 0.012759557, -0.0240110755, 0.0003437617, -0.0050113802, 0.0150603205, 0.0495774373, 0.0121436045, 0.0329292975, -0.003060576, 0.0047652107, 0.0141637903, -0.05352211, 0.0027840475, 0.0722818226, 0.0390040465, -0.0025780811, -0.0247961283, -0.0471884795, 0.0682851747, -0.0606138594, 0.0377876945, -0.0203217976, 0.0142737525, -0.0469412915, -0.0520870052, 0.0278496891, 0.0482123792, 0.0092520518, -0.0290212501, -0.0168786664, 0.0145785287, -0.0475125685, -0.019707622, -0.0299519096, 0.0120456805, -0.0144114494, -0.0097354818, -0.0032341457, 0.0591727309, 0.0233063009, 0.0073002181, -0.0151930777, -0.03760539, -0.0253963806, 0.0242744647, 0.0340344533, -0.01872278, 0.0083170095, 0.0911813453, 0.0087007517, -0.0300100483, -0.0726587623, -0.0066388049, -0.0195434205, 0.0063947542, 0.0065154489, -0.0629439577, 0.0358202383, 0.0022887813, 0.0255865119, -0.0532161482, 0.0107386447, -0.0027945505, -0.0363727212, 0.089393504, 0.0169846714, -0.014988957, -0.0190130472, -0.0099679958, -0.0072305915, 0.0346220694, 0.045575615, 0.0423509069, -0.0217438061, -0.0138366902, 0.0056820647, 0.0410919115, 0.0289590675, -0.01118806, -0.0689953342, -0.071944356, -0.0302121267, -0.0212801863, 0.0490254499, 0.0224365331, -0.0253121983, -0.0269617252, 0.0315729789, 0.0526026376, 0.0441977344, 0.049513258, 0.0691933259, -0.0120261973, -0.0266789645, 0.0358031839, -0.0474288501, 0.04039336, -0.0601119734, -0.0020767364, -0.0132132182, 0.0106870914, -0.0193560403, -0.0284881648, -0.0162468888, -0.0086147888, 0.0014159717, -0.0010620054, 0.0403762311, -0.0065192571, -0.0493273176, 0.0941969976, 0.0217379835, -0.0285703, 0.0056169839, -0.0712765083, -0.0003111369, 0.0442313403, 0.0103193456, -0.01420986, 0.0265117716, -0.0213555284, -0.045306161, 0.0157230198, -0.0401681289, -0.0095229, 0.0550580136, -0.0142956115, -0.032181263, -0.0215286557, 0.0375548378, 0.0559286177, -0.0665223822, -0.0407965593, 0.024017211, -0.0270775966, -0.0134988064, -0.008507736, -0.0298193023, -0.0097988406, 0.0401122309, 0.0415699072, 0.0181622617, 0.029530054, -0.0007478257, 0.0058871326, 0.0327770226, -0.0849544555, 0.0119205862, -0.0044248542, -0.02643371, -0.0306318197, 0.0169619843, -0.050494682, -0.0114330091, 0.0501564704, 0.0113578346, -0.0589397922, 0.0211522412, -0.0733263567, 0.0368333794, -0.0240733586, -0.0149430148, -0.0002343379, 0.0097277444, -0.0040234644, 0.033674825, 0.0133892745, 0.0082630236, 0.0168565009, -0.015018072, 0.0297258981, -0.0291217621, -0.0363176502, 0.0225935671, 0.0037104688, -0.0302304942, 0.02596635, -0.0290168878, 0.0295141805, -0.0280311592, -0.0177221969, -0.047315076, -0.0165180154, 0.0098964293, 0.0149240848, 0.0279104803, 0.0418205559, 0.0450090431, -0.0088524176, 0.0265350062, -0.0227723885, 0.0333029069, 0.0386873782, -0.0044783344, -0.0357763357, -0.009288365, -0.0643047467, -0.0331703722, 0.0909417048, -0.0279128812, -0.0051263114, -0.042965699, 0.0235530827, 0.0552187748, 0.0186074749, -0.0039702998, -0.0748063922, 0.0325402431, -0.0285463277, 0.0058296639, 0.052091226, -0.0180398002, 0.0706781894, 0.065892987, -0.00709158, 0.0025529598, -0.0108324643, -0.0321054235, 0.0085666487, -0.0684920922, -0.0379502922, -0.0434775203, 0.0877176374, 0.017086599, -0.0000340046, -0.0738232285, -0.012224474, 0.023462737, -0.0402937792, -0.0084363669, -0.0137238018, -0.0276953634, 0.0705083609, -0.0109705832, -0.0092296768, 0.047691375, -0.0084553072, -0.0141603379, 0.0202208795, -0.0132308304, -0.0403432213, 0.0702763572, 0.0564296395, 0.0342179015, -0.0001172832, -0.0097437492, -0.0191149171, 0.0306373369, 0.0050028884, 0.0077459589, 0.0449877419, -0.0121669769, 0.0031235463, 0.0036917315, -0.0303689074, -0.0098950025, 0.0246425848, 0.0036222313, 0.0291825179, 0.0343436934, -0.0396685265, -0.0607333444, 0.0262935981, 0.0249486417, 0.0148202544, -0.0009061049, -0.0029189487, -0.0327789932, 0.0073937932, 0.0055782679, 0.0274468102, 0.0505536199, -0.0417215787, 0.0068929428, 0.0232911985, 0.00731949, 0.0050792578, -0.0473992415, 0.0645357743, 0.0321921706, 0.0325991213, 0.0070239259, -0.020337658, 0.0531613044, -0.0377401002, -0.0233852845, 0.0991572812, 0.0069819605, -0.0708522424, 0.0356083475, -0.0045712446, 0.0086650522, 0.0445338823, 0.0346866623, -0.0681149289, -0.0176554509, 0.0004595169, 0.0165841356, -0.0060609826, 0.0139343999, 0.0053761345, -0.0650769547, 0.0207489207, 0.0349455625, -0.0085969036, -0.0702205524, -0.0327806436, -0.0236242935, -0.0609527044, 0.0046118712, 0.009892419, -0.00102, 0.0022259217, -0.0124855815, -0.021475058, -0.0406582244, 0.0364561379, 0.0288558993, 0.0335404389, 0.057484746, -0.0045278077, -0.0311079957, -0.025234364, 0.0295012742, -0.0031371228, 0.0291803349, -0.0212319326, 0.0232356228, 0.0627647787, -0.0397288762, 0.0105735362, 0.0280132666, -0.0597733296, -0.0371875316, -0.0581280291, 0.0694027767, -0.0482230671, -0.0466247573, 0.0116844587, -0.0207933243, -0.0336657949, 0.0372511707, 0.0558331944, -0.014949997, -0.0441758335, -0.0520743914, -0.0207607877, -0.0578505844, -0.0960050672, 0.0041354927, 0.0607856885, -0.0561624393, 0.0303078536, 0.0049492661, 0.009530046, 0.026684206, 0.0130039006, -0.0671511516, 0.0344345532, -0.0444722548, -0.0458370596, 0.0149392113, 0.0053621889, 0.0026587753, -0.0562323853, -0.0505740568, 0.0161502101, -0.0583333634, -0.0317900628, -0.01914143, -0.0840163678, -0.0653230175, 0.0050820471, 0.0311963074, 0.0201920625, 0.0180194862, 0.0053917537, -0.0149759082, 0.0407752581, 0.0343357883, -0.0460925624, 0.0380624719, 0.0454475954, -0.029365303, -0.0024553849, 0.040649347, -0.0005998172, 0.0340996794, 0.0473511443, 0.0153312599, -0.0320733041, -0.0161286965, 0.0427544191, -0.0124444868, 0.0314478017, 0.0379851125, 0.0228691828, -0.0541467778, 0.019068934, 0.0196474493, 0.0310231447, -0.0756006986, -0.0247331522, 0.0484495424, -0.0047002551, -0.0001532245, -0.0681616664, 0.016674174, -0.0069508422, -0.054387819, 0.0712088794, 0.0146834133, -0.0317094512, 0.0149192521, 0.0164003521, -0.0274302624, 0.0521232523, 0.0035302991, 0.0380706228, 0.0226102471, -0.0116691953, 0.0210768338, 0.0251042992, -0.0632503182, 0.0214001443, -0.0679972172, -0.0558315627, -0.0152950818, 0.0074684671, 0.030911576, -0.0143706575, 0.0386879891, -0.0145634245, 0.0020063899, -0.0158726033, 0.0224876907, -0.002947202, -0.0093080085, 0.0327080972, 0.0323305763, 0.0164762046, -0.0462878644, 0.0540553108, 0.0326856226, 0.0305281933, 0.0027194344, 0.0292111877, -0.03214252, -0.0342578255, 0.0041934387, 0.02285349, -0.0390183032, 0.0309290737, 0.0076335063, -0.0713859499, 0.0097241057, -0.0399952978, 0.0210735463, -0.0250390042, -0.0027940255, 0.0200586542, 0.0026406569, 0.0105961999, 0.0045926017, -0.00125995, 0.048064135, -0.0176239461, 0.0034940713, -6.382959304e-33, -0.0362283736, -0.0399067365, -0.0050221989, 0.0600140691, 0.0083315065, 0.0142646842, -0.0912886411, 0.0028149267, -0.0098584425, 0.013679482, 0.0168216731, -0.0124643305, -0.0012147069, 0.0244914368, 0.0154388128, -0.0251898523, 0.0508020632, 0.0257225428, 0.0312681384, 0.0058947117, 0.0394351445, 0.0514770187, 0.0835396275, -0.0580316484, 0.0035183704, 0.0448040329, -0.0174219981, 0.0055656759, -0.0293285064, 0.0362291075, -0.0283410046, 0.0569810905, 0.0048003485, -0.0252539311, -0.0164701529, -0.0291227717, -0.0450007319, -0.0040456145, -0.0051389574, 0.0309758056, 0.0178876705, -0.0526164062, 0.0681203902, -0.0233248118, -0.0311028436, -0.065999791, 0.0257053766, -0.0320366696, 0.0128884995, -0.0136876991, -0.0637849644, 0.0056326538, -0.0154482024, -0.0129615758, 0.0544221699, 0.0119267786, -0.0353720821, 0.02183301, -0.0628769472, 0.0105947079, 0.0267539676, 0.0606503524, 0.0476194993, 0.0124142719, 0.0328713879, 0.019520577, 0.0429560244, -0.0195242781, -0.0280117746, 0.0049684793, 0.0307978187, 0.069733046, 0.0287995357, -0.0166924465, 0.0529820807, -0.0088540437, -0.03511592, -0.0074894154, -0.0100655947, 0.06043569, 0.0343015678, 0.0616634227, 0.000244787, -0.0319674201, 0.0147077767, -0.017866591, -0.0497755259, -0.0145662921, -0.0155958571, -0.0264705587, -0.0429521054, 0.0063124672, 0.0330065191, -0.0683129802, 0.0078716744, 0.0129834563, 0.0309718736, 0.0133377109, 0.0093939807, 0.0062204101, -0.0198599268, -0.0364063531, -0.014251546, -0.0184428282, 0.0175344963, 0.014236073, -0.0065089623, 0.0923264623, -0.0056265914, -0.071681127, -0.0693479702, -0.0286216475, 0.0129515426, 0.0966547877, 0.0165593866, 0.002731272, -0.0238938127, 0.0199491531, -0.0303518549, 0.0034116914, 0.0075211199, 0.0307871699, 0.0111279292, 0.0566231385, -0.0574734509, -0.0675315484, -0.0550474189, 0.0378445871, 0.0341886953, -0.0314501785, -0.0205827914, 0.0076241964, 2.821e-7, 0.0587628931, -0.0123637561, 0.0303188413, 0.0039170482, 0.0397711471, 0.0166279841, -0.0012347089, 0.0119715659, -0.0225328784, -0.060063459, 0.0327183306, 0.0406427495, 0.052288603, -0.0008000632, -0.0404090919, 0.0527151227, -0.0130064273, -0.0082674921, -0.0107978154, 0.0017798364, 0.0141565176, 0.0792379752, -0.0108552724, -0.0209434181, 0.0645863563, 0.0076321843, 0.0254577193, -0.0290238839, 0.033759702, -0.0247600731, -0.0267733075, -0.0407863967, 0.000016114, 0.0180378966, 0.0053756824, 0.0400831364, -0.0188633855, 0.0329229198, -0.0345182158, -0.0415876284, -0.0012729357, -0.032635916, -0.0031915766, -0.0310583077, 0.0359280221, -0.0305388104, -0.0698005557, -0.027443504, 0.0213261545, -0.041681163, 0.0087417476, -0.0231859442, 0.0408200212, -0.0215370543, -0.0024635068, -0.0385450907, -0.0100183785, -0.025386706, 0.0255693365, 0.0023145899, -0.064404279, 0.0072494475, -0.061833743, -0.0028067653, 0.0423512831, 0.0154938167, -0.0553937778, 2.799613595e-34, 0.0063753664, 0.007524027, 0.0112480344, 0.0494036153, 0.0598638952, -0.0196875259, -0.0064852019, -0.0194109622, -0.0150294127, -0.0831434131, -0.0604156032 ]
http://arxiv.org/abs/2406.11801v1
http://arxiv.org/pdf/2406.11801v1
Safety Arithmetic: A Framework for Test-time Safety Alignment of Language Models by Steering Parameters and Activations
2024-06-17T17:48:13
2024-06-17T17:48:13
Rima Hazra, Sayan Layek, Somnath Banerjee, Soujanya Poria
cs.CL
cs.CL
Ensuring the safe alignment of large language models (LLMs) with human values is critical as they become integral to applications like translation and question answering. Current alignment methods struggle with dynamic user intentions and complex objectives, making models vulnerable to generating harmful content. We propose Safety Arithmetic, a training-free framework enhancing LLM safety across different scenarios: Base models, Supervised fine-tuned models (SFT), and Edited models. Safety Arithmetic involves Harm Direction Removal to avoid harmful content and Safety Alignment to promote safe responses. Additionally, we present NoIntentEdit, a dataset highlighting edit instances that could compromise model safety if used unintentionally. Our experiments show that Safety Arithmetic significantly improves safety measures, reduces over-safety, and maintains model utility, outperforming existing methods in ensuring safe content generation.
[ 0.0217704847, 0.0649566725, -0.0029397269, 0.0389035866, -0.0066667804, 0.0148837259, -0.0300066844, -0.0164857693, -0.014679742, -0.0168796945, -0.049258817, -0.0369759984, -0.0270288326, 0.0149580082, 0.027021993, -0.0197098888, 0.0903093815, -0.0252886266, -0.0031502354, 0.014885311, 0.0426952206, 0.0191978272, 0.0032776897, 0.0458458327, -0.0140819028, -0.0277137887, -0.0134065542, 0.0425842069, 0.0606688336, 0.0028456363, 0.04638483, 0.0713845491, 0.0020433969, 0.0725505501, 0.0000015912, -0.0341978669, -0.0273692776, 0.0070734117, -0.0344841965, -0.0121850083, 0.0322201811, -0.0321708508, -0.0381456614, 0.0381357595, -0.0362220556, 0.0257456228, 0.0696496889, 0.041277431, 0.1044071764, 0.0798582435, -0.0005681173, 0.0247487556, 0.0313605182, -0.004571157, -0.0003813044, -0.0500369556, 0.0384723656, 0.0004952169, -0.0505588539, 0.024616437, -0.0032979371, 0.0266137142, -0.0019123792, -0.0423101969, -0.016891541, -0.0157593302, -0.0346242078, -0.0449546352, -0.0098206662, 0.083297275, -0.0345504507, -0.0293222759, -0.0150120761, -0.0187238753, 0.0079711685, -0.0171465259, -0.0130917234, 0.0099333832, 0.0134675428, 0.0027830775, 0.0170050617, -0.0261256415, 0.0442042314, 0.0363573171, 0.0666129515, 0.0521872081, 0.0314054415, -0.0278674979, -0.0009327988, -0.0048275078, -0.0280892812, -0.0502742529, 0.0041279453, 0.0083556864, -0.0369899273, 0.0430381335, -0.0828787908, -0.0347868428, 0.0535983108, -0.0782605261, 0.0144147174, 0.0394612551, 0.0190944746, 0.0332158618, 0.015157395, 0.0137586463, -0.0202843081, 0.0508945994, -0.0290103145, 0.0184703376, 0.0279995147, -0.0319982618, -0.0193964038, 0.0010502153, -0.0276776813, 0.0350210518, -0.0493301041, 0.0404668227, -0.0384146571, 0.0074231713, 0.0165077671, 0.0154435355, -0.0426062159, -0.0138363913, 0.0038917272, 0.0116245868, -0.0228650235, 0.0191270653, 0.0089781517, -0.0425806046, -0.0232290477, 0.0192536786, -0.0202134158, -0.0404881835, -0.0129492022, 0.0960737318, -0.0065652411, -0.0043140315, -0.0254793894, -0.0514052063, -0.0249644592, -0.0346182473, -0.007797719, -0.0554470979, 0.034649536, -0.0176244117, -0.0441533886, -0.0989965573, 0.0242208093, 0.0488840118, -0.0513077565, 0.0515566766, -0.0296746977, -0.0029460213, 0.0032623829, 0.0163302869, -0.0276838653, 0.0675835982, 0.0420166291, 0.0173331387, 0.0404004306, -0.0120141879, 0.0092586745, 0.0681494623, 0.021929305, 0.0442246459, -0.0388724655, 0.0219116826, 0.0205171779, 0.0182409454, -0.0044154865, 0.0632437244, -0.013477481, -0.023629941, 0.0753673166, 0.0102294246, -0.0342197008, 0.0327455588, 0.0142077748, -0.0164957698, -0.0246522576, -0.0030657125, -0.0819626972, 0.0095008304, -0.0792935789, -0.0073469304, 0.0116886478, 0.0308363512, -0.0135673154, -0.0090395911, -0.0259116292, -0.0037538665, 0.0652145222, -0.0101666534, 0.0021936535, 0.0094477003, -0.0283670593, 0.040625535, 0.0396000892, -0.0405646451, 0.0133371474, -0.0095672067, 0.0010146548, 0.0768729076, 0.0473648421, -0.0074832728, -0.0959033519, -0.0457016416, 0.0234531295, 0.0158631746, 0.0340664126, -0.0150410216, 0.0272770971, -0.0326541252, -0.0547370501, 0.0137444912, 0.0103376303, -0.0405164212, 0.0639977306, -0.0070723561, 0.0106448364, -0.0213631149, -0.0724084899, 0.0373295993, -0.0321379825, -0.046486564, -0.0329640023, 0.0112148291, 0.0011434194, -0.0096516078, -0.0148758311, -0.0121848276, 0.0252182316, 0.0213037897, -0.0000821901, -0.0076019657, -0.0448788591, 0.0022676461, 0.0630003214, -0.0238724574, -0.0614859946, 0.0596622229, -0.0480682813, 0.000042138, -0.0249767601, -0.0231077485, -0.0279722791, -0.0275281556, 0.0232221037, -0.0016795362, -0.0285586976, -0.0315996371, 0.0595220923, -0.0045928238, 0.0034127717, -0.0004953972, -0.0468987189, -0.0057993424, -0.0083247051, -0.0358284563, -0.0121781388, -0.0295190793, 0.0557205379, 0.0361265913, 0.0334550291, -0.0504693761, -0.0138563262, -0.0459110662, 0.0185171794, -0.031920407, 0.035826236, 0.0480684824, 0.0190762598, -0.0167886969, -0.0067809932, -0.0378080755, -0.0147176785, 0.0013020209, 0.0308210794, 0.0170192644, -0.0212608483, -0.0068483735, -0.0544136055, 0.0022213492, -0.0368901342, 0.0144060208, -0.0088103786, -0.0164885633, -0.0479326658, 0.0183232799, -0.0427032411, 0.037361823, 0.0167921856, -0.0661001429, -0.0111121722, 0.031201452, 0.008687404, 0.0634237155, 0.0349681489, 0.0090256641, 0.0483245291, 0.0311898254, -0.0598303303, 0.0229864977, -0.0130547825, -0.0499659553, -0.0165986642, -0.0285543595, -0.0089927968, 0.0482008755, -0.003251276, -0.0070044678, -0.0674967542, 0.0271455534, -0.0258898735, -0.0260988325, -0.0034733487, -0.0425322168, -0.0468735285, 0.0220446978, -0.0408322848, -0.0554278232, 0.0799339563, 0.0093905255, 0.0321797468, -0.0218875464, -0.0035701627, 0.0131575884, 0.0193693992, -0.0198520385, 0.0617803819, 0.0088529466, -0.0165468156, -0.07665544, -0.0171591286, 0.0425912999, -0.0450629815, 0.0606277175, -0.0516966209, 0.0022393924, -0.0211726576, -0.0593469888, -0.0695367754, -0.0958475918, 0.0056936615, -0.005574327, -0.0061591403, -0.0159030445, -0.0188393705, -0.0173566863, 0.0316330157, 0.0106190601, -0.0410399139, 0.0158868488, -0.0182863306, 0.0110707711, 0.1163080707, -0.0357560776, 0.0178126618, -0.0452017635, 0.0348549336, 0.0805925876, 0.0040188241, -0.000925819, -0.0141707407, -0.0191357695, 0.0350259766, -0.0155190052, 0.0112007912, 0.0277054422, 0.0617627762, -0.0142149087, -0.0162116531, 0.0670449585, 0.0202136189, -0.0087991795, 0.0090271123, -0.0286670178, 0.043874789, 0.0099846506, 0.0086838817, -0.0545541979, -0.0254913848, 0.0204016063, 0.0315490626, 0.0248725954, -0.0188648347, 0.0217585918, -0.0756989494, 0.0057254359, 0.0338065885, -0.0600214303, -0.0282663237, 0.0107719405, 0.0248247217, -0.0112072323, 0.0674206093, 0.0202886574, -0.0099050933, -0.0403561853, 0.0187057033, 0.0288749784, -0.050211899, 0.0027428148, -0.0563903004, 0.0588411428, 0.0812781304, -0.0038795869, -0.0061765905, -0.0389532559, 0.038113948, 0.0246536043, -0.0100965649, 0.0181676801, 0.0331572071, -0.0249102917, 0.0025752184, -0.0015922682, 0.0343755633, -0.0024238434, -0.0246958248, -0.0059644738, 0.0733230487, -0.0020226983, 0.014072164, -0.0317931995, 0.0147100734, 0.036625158, 0.0660633445, 0.0157336965, -0.0530225895, 0.0144070443, -0.0382392332, -0.0072420547, -0.0192247201, -0.0520468093, 0.008289515, -0.0158532243, -0.030807104, -0.0710893944, -0.0351206474, 0.0180841032, 0.019852547, 0.039464213, -0.016566528, -0.013224354, -0.0056324941, -0.0125720631, 0.0422481783, -0.0395107791, 0.022288667, -0.0365015715, 0.0471527949, -0.0080868853, 0.0041787326, -0.0042503569, 0.0315502509, -0.0695402995, -0.1080040932, 0.0265168268, 0.0834403038, 0.0213931054, 0.0323663205, -0.0301954933, -0.0519996211, 0.0208097063, 0.0353054777, -0.0427184664, -0.0104348725, 0.019251531, -0.0295793209, 0.004997578, 0.0347904153, -0.0583370924, -0.0502997898, 0.0395232923, 0.0471984483, -0.0496274233, -0.0531202145, 0.0161500107, 0.0044069244, 0.0352715291, -0.0130437762, 0.0077449563, -0.0163852647, 0.0161837526, -0.0159052368, -0.0490810461, 0.0048179636, 0.0346724577, 0.0322310291, -0.0221861675, -0.0044564269, -0.0043039275, -0.0288992114, 0.0445695817, -0.0327789932, -0.0155784031, -0.0003351519, 0.0278359558, 0.0380033664, 0.0280889533, -0.0402940996, 0.0363422744, 0.001842499, 0.0222069621, -0.0118734613, 0.0386557616, 0.0182794146, 0.0282519963, -0.006710012, 0.0433907583, -0.0183528606, -0.0550928898, -0.0685821921, -0.0139526138, 0.0243034028, -0.0096699363, 0.0571407489, -0.0163841564, -0.0356930941, -0.0290518794, 0.007542544, -0.0066141193, -0.0531855933, 0.028772587, 0.0220571812, -0.0112279439, -0.0077832188, 0.0663987771, -0.0131838908, 0.0525302552, 0.0020234117, -0.0273793079, -0.0225805715, -0.0066002402, 0.0425716452, 0.0038096549, -0.0469262451, -0.0215215012, -0.040373642, -0.0917270854, -0.0097892871, 0.025147086, -0.0229533017, 0.0165249128, 0.0374387503, 0.0434565395, -0.0131150158, 0.0027093652, -0.0195023548, -0.0150022348, 0.0000477934, -0.0177571829, -0.0540156364, -5.922612207e-33, 0.0077285753, -0.0066519068, 0.0008759103, -0.0120639978, -0.0158420503, -0.016616175, 0.001513919, 0.0291692484, -0.0211875308, 0.0064495909, -0.0138193276, 0.0301073939, -0.0037237271, 0.0132146263, -0.0111090383, -0.0534614511, 0.0212288778, -0.0074012494, -0.0324556231, 0.010416151, 0.018588908, 0.0021153269, 0.0726356432, -0.0913679153, 0.0412523821, 0.0102242408, -0.0296612494, 0.0301724263, -0.043027401, 0.0783423111, 0.0169123001, 0.0326988995, -0.0066959294, -0.0214231797, -0.0050055371, 0.0179428905, -0.0158773102, -0.0154073201, 0.0302723087, -0.0059559052, -0.0587940738, -0.0725378543, 0.0688556656, -0.0340478905, -0.0176270176, -0.0203747023, 0.0096674357, -0.0101590566, -0.0104639968, -0.0192289352, -0.0732104629, 0.0120527791, -0.0005107902, -0.0518955253, -0.0099730175, 0.03773579, 0.035032589, -0.0207315814, -0.0411056951, -0.0269225352, 0.0216636322, 0.0234382208, 0.0864587352, 0.006429879, -0.018479282, 0.0736618936, -0.0397335663, 0.0045748977, 0.013462306, -0.0146038644, 0.0054661655, 0.0243796296, 0.0378043279, 0.0753694251, 0.0059063551, -0.0046728295, -0.0739674717, 0.0473181233, -0.0609502047, 0.0629359186, 0.0158129595, -0.0004736625, -0.0476375669, 0.0139544178, -0.0430567898, 0.0148050506, -0.0392605253, -0.0357861519, 0.0192075092, -0.0026368299, -0.0444448441, -0.0258773305, 0.0002271767, -0.0262809638, 0.0322240852, 0.0542206205, 0.0090364218, -0.0270880442, -0.0022839736, 0.049231194, 0.0019363253, 0.0030861879, -0.0009560584, -0.0485572144, 0.0224582665, 0.0227761697, 0.0682014003, 0.0437666215, -0.0706775039, 0.0257327929, -0.0390305333, 0.0567162186, -0.0041973051, 0.002432591, 0.0578386784, 0.0024462498, 0.0113358703, 0.0288060531, 0.0708795488, 0.0272177774, -0.038391497, 0.0043520355, -0.0106818788, 0.0097312415, -0.0021685057, 0.0024224967, 0.0176467225, 0.0191469304, 0.0281523988, -0.0802288726, 0.0049386951, 0.0285848565, 2.397e-7, 0.0615694858, 0.0447075814, 0.0372034088, 0.0367844738, 0.0001784382, 0.0639620274, -0.016054431, 0.0533516519, 0.0199382603, 0.0146678025, 0.0299754851, -0.0025916831, 0.062179327, 0.0561385825, -0.0556033701, 0.0027330774, -0.0839746296, 0.0407048576, -0.0349572822, -0.0211473312, 0.0601495616, 0.0993188247, -0.0055174241, -0.0071690953, -0.0166507419, -0.0375512354, 0.0549224243, -0.0382636823, -0.0015766022, 0.0050075692, 0.0267880224, 0.0232052207, 0.0094223022, -0.0078673819, -0.0256416854, -0.0063430038, -0.0077445656, 0.0901156962, -0.0394994318, -0.025919972, -0.0186064318, -0.058731623, 0.0236033276, -0.048460938, 0.0485748686, -0.0368686616, 0.0147869624, -0.0182580166, -0.0286784768, 0.00682852, 0.0341667831, -0.0443464704, -0.0273955576, 0.0143713783, 0.027958842, 0.0322421566, -0.0350889489, -0.0416925848, -0.0434329882, 0.0047026342, -0.0057009179, -0.0608728491, -0.0124023482, 0.0275456551, -0.0213195328, -0.0849662349, 0.021881735, 2.110440084e-34, -0.0054771411, -0.0556656569, 0.0294648297, -0.0027737126, 0.0462160744, 0.0112585053, 0.0119964154, -0.0037429121, 0.0058202106, -0.0370941348, -0.0289770719 ]
http://arxiv.org/abs/2406.11794v3
http://arxiv.org/pdf/2406.11794v3
DataComp-LM: In search of the next generation of training sets for language models
2024-06-17T17:42:57
2024-06-20T17:43:05
Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Gadre, Hritik Bansal, Etash Guha, Sedrick Keh, Kushal Arora, Saurabh Garg, Rui Xin, Niklas Muennighoff, Reinhard Heckel, Jean Mercat, Mayee Chen, Suchin Gururangan, Mitchell Wortsman, Alon Albalak, Yonatan Bitton, Marianna Nezhurina, Amro Abbas, Cheng-Yu Hsieh, Dhruba Ghosh, Josh Gardner, Maciej Kilian, Hanlin Zhang, Rulin Shao, Sarah Pratt, Sunny Sanyal, Gabriel Ilharco, Giannis Daras, Kalyani Marathe, Aaron Gokaslan, Jieyu Zhang, Khyathi Chandu, Thao Nguyen, Igor Vasiljevic, Sham Kakade, Shuran Song, Sujay Sanghavi, Fartash Faghri, Sewoong Oh, Luke Zettlemoyer, Kyle Lo, Alaaeldin El-Nouby, Hadi Pouransari, Alexander Toshev, Stephanie Wang, Dirk Groeneveld, Luca Soldaini, Pang Wei Koh, Jenia Jitsev, Thomas Kollar, Alexandros G. Dimakis, Yair Carmon, Achal Dave, Ludwig Schmidt, Vaishaal Shankar
cs.LG
cs.LG, cs.CL
We introduce DataComp for Language Models (DCLM), a testbed for controlled dataset experiments with the goal of improving language models. As part of DCLM, we provide a standardized corpus of 240T tokens extracted from Common Crawl, effective pretraining recipes based on the OpenLM framework, and a broad suite of 53 downstream evaluations. Participants in the DCLM benchmark can experiment with data curation strategies such as deduplication, filtering, and data mixing at model scales ranging from 412M to 7B parameters. As a baseline for DCLM, we conduct extensive experiments and find that model-based filtering is key to assembling a high-quality training set. The resulting dataset, DCLM-Baseline enables training a 7B parameter language model from scratch to 64% 5-shot accuracy on MMLU with 2.6T training tokens. Compared to MAP-Neo, the previous state-of-the-art in open-data language models, DCLM-Baseline represents a 6.6 percentage point improvement on MMLU while being trained with 40% less compute. Our baseline model is also comparable to Mistral-7B-v0.3 and Llama 3 8B on MMLU (63% & 66%), and performs similarly on an average of 53 natural language understanding tasks while being trained with 6.6x less compute than Llama 3 8B. Our results highlight the importance of dataset design for training language models and offer a starting point for further research on data curation.
[ 0.024711879, 0.0859969035, 0.0054054414, 0.0189138632, -0.0105617922, 0.0075518093, 0.0123937801, -0.0020535872, 0.0044269185, -0.0512852333, -0.0217358898, -0.0138303703, -0.0181418322, 0.0458173305, 0.0169950053, -0.0282226261, 0.0414237455, -0.0265195202, -0.0142611153, -0.0041462765, -0.006279056, 0.0369004458, 0.0162545852, 0.0324665718, 0.0302664433, -0.0152619565, -0.0030024278, 0.0345972329, -0.0224122163, -0.030476395, 0.0078752916, 0.0390238278, 0.0498887748, 0.0670709088, 0.0000020677, -0.053875532, -0.0237095077, -0.0084230192, -0.0458763354, -0.0193143096, 0.0525529198, -0.0068885502, 0.0421725288, 0.0559419878, -0.0254131146, -0.0521787703, 0.0203535967, 0.0302400365, 0.0644369721, 0.0755071193, -0.00631188, -0.0434276462, 0.0266440269, -0.0310062729, -0.0435965508, -0.0020831181, 0.0331088938, 0.024231676, 0.0258100126, 0.0093179857, -0.0046561779, 0.0284697339, 0.0007340992, -0.0060165199, -0.0145190135, 0.0517436527, -0.0453473479, -0.0612584054, 0.008532553, 0.1066388041, -0.0528068505, -0.0524141267, -0.0035334823, -0.0079492591, -0.0257130619, -0.0077908821, -0.0471687131, 0.0209484547, 0.0223759878, 0.0500876829, 0.0098400302, -0.0309555884, 0.0626146048, 0.0256187674, -0.0353513993, 0.0394392237, 0.0252021495, -0.0288048591, 0.0166139714, -0.006537552, 0.0019514832, -0.0622918084, -0.0107096788, 0.0125789465, -0.0178066529, 0.0127822841, -0.0433316976, -0.029327536, 0.0383928306, -0.0192642454, 0.0583429746, 0.0398854986, -0.048439566, 0.073910147, -0.0238408297, 0.0260335729, 0.0009694105, 0.0455378518, -0.0444495529, -0.0321702212, -0.0294168759, 0.0068518906, -0.0319869444, 0.0345293544, -0.0486010984, -0.0024854743, 0.0038052539, 0.0014618114, 0.0036365942, -0.0092171188, 0.0313071012, -0.0234167408, -0.0224640705, 0.0069221235, -0.0026896875, -0.0044406978, -0.0184020922, 0.0478749238, 0.0082267839, -0.1087356061, -0.0426714011, -0.009242529, 0.0213087369, -0.0528215989, 0.0376955867, 0.0452977233, 0.0189478416, -0.0566225648, -0.0291161258, 0.007405146, 0.0247153305, -0.050116051, -0.0150393099, -0.0706564933, 0.048220478, -0.0239758473, 0.0358721875, -0.0429409742, -0.0059863734, 0.0352763981, -0.0406263173, 0.0914846286, -0.0550025068, 0.0118102953, -0.0151118105, -0.0218159761, -0.0003136931, 0.0988821536, 0.0034293921, 0.0139214164, 0.0546391085, 0.0012002683, -0.0161849521, 0.0060489881, 0.0357087925, 0.0140292933, -0.017431261, 0.0292928685, -0.0019880682, 0.0355142131, 0.0598075725, 0.0337681286, -0.0541404672, -0.0251644496, 0.0574611351, 0.0281980764, 0.050793115, -0.0064369063, 0.0084369173, 0.0294542871, 0.0147720883, -0.0343148448, -0.0487441421, -0.0132516241, 0.0022960906, 0.0104220621, 0.0165432114, 0.0387975574, -0.0452478714, -0.0169799235, -0.049098067, -0.0019572491, 0.0220306907, 0.0237300601, 0.0418363363, 0.0237798151, -0.0282629486, 0.0343789756, 0.0577136725, -0.0470692292, -0.0054780869, -0.0442383438, 0.030655548, 0.031953007, 0.0636922196, -0.0252990797, -0.0419389717, -0.0236482993, 0.046517279, 0.0376108885, 0.0402508415, -0.0216480047, 0.0621253885, -0.0735213906, -0.0235822313, -0.0336047076, -0.0043033152, 0.0096365875, 0.0150194438, -0.0090391105, 0.0000132905, -0.0456012189, -0.0368803181, 0.0606288351, -0.0223277565, -0.0287546273, -0.0069667064, -0.0153050693, 0.0411462486, 0.0129323173, -0.0076272902, -0.0053921659, 0.057547085, -0.0190215204, 0.0108317742, -0.0078809438, -0.0329461694, -0.0492431968, 0.0768192187, -0.0131014315, 0.0034384469, 0.0937391445, -0.0566803254, -0.0447759666, 0.0003448373, -0.0115513466, 0.0587902814, -0.0667146742, 0.0166320987, -0.0063863224, 0.0405048057, -0.025396103, 0.0331226438, -0.0151788509, 0.0194674954, 0.0079156151, 0.0094822124, 0.021048367, -0.0439617001, -0.0359830856, 0.0349816158, -0.0014208442, 0.0110075418, -0.0010467513, 0.0248734728, -0.042265933, -0.0096625192, -0.0720138848, 0.0071533583, -0.0351228267, 0.0033929299, 0.030565666, 0.0184640456, -0.021535309, -0.0236659758, -0.0085399123, -0.045346871, 0.0165416878, 0.0110481596, 0.0173984468, 0.0078740381, -0.0147804096, -0.051089637, -0.0449192561, -0.0048197871, 0.0578679144, -0.0426125862, -0.0125875203, 0.0001206844, 0.0133072287, -0.0423217639, 0.0290211421, -0.0155081963, -0.022312101, 0.0051512145, -0.0371687263, 0.0001961658, 0.0226173885, -0.0174905416, 0.0219418108, 0.0641478151, -0.0198059157, -0.0646446943, 0.003467798, -0.0289900396, -0.0067695887, -0.0201494694, 0.0140154511, -0.0023592559, 0.0595865697, -0.0373346508, -0.0136066843, -0.0427156016, 0.003350836, -0.020377107, -0.0367735848, -0.0444532521, 0.0218520202, -0.0262681749, 0.0173432827, -0.0673767105, -0.0504845902, 0.0512229875, -0.0484525077, -0.0161962584, -0.0471604615, -0.0140896831, -0.0405733883, 0.0378776155, 0.0039732317, 0.0138697177, -0.0086130826, -0.0214394424, -0.0268323217, 0.0238350183, 0.0087913759, -0.0496898033, 0.045705542, -0.0302102249, 0.0269683283, -0.0057749744, -0.0198181737, -0.0451740026, -0.0254298672, -0.0142760864, 0.0300692506, -0.0131628839, 0.0018989685, -0.033766333, -0.0022626857, -0.0246625915, 0.0700819641, 0.0028754899, 0.0064397384, -0.0224690456, 0.0205891393, 0.0446750261, 0.0149366986, 0.0302978121, -0.0053207329, 0.0299567785, 0.0296759699, 0.0671249032, -0.0256168451, -0.0263383035, 0.0414303765, 0.063472122, -0.0216036178, 0.0092796898, -0.0102725029, 0.0365980193, -0.0402977951, -0.0228423811, 0.1100877821, 0.0233473666, -0.0423738584, -0.0137272319, -0.0149575025, 0.0446785502, 0.0303438175, -0.0013181693, -0.0737035051, -0.0396387279, 0.0264577772, 0.0384396352, 0.0197236557, -0.0318433046, -0.038159769, -0.1049343199, 0.0075654299, -0.0109943561, -0.0470741987, -0.0249862745, -0.0825690851, -0.0088468762, -0.0480767228, 0.0455595478, 0.0219351351, -0.0243811533, -0.0094189439, 0.0257467572, 0.0093425633, -0.0816846713, 0.0369070582, -0.0426624566, 0.0636691377, 0.0170656648, 0.0480865762, 0.0084142536, -0.009526711, 0.053259559, -0.0287261624, -0.0227441434, -0.0182572734, 0.0509011522, -0.0429836921, -0.0100368112, 0.0078178924, 0.0285276454, -0.0548249222, -0.0199377891, -0.0278017428, 0.060466107, -0.0048479815, -0.0026068583, -0.0116346944, -0.0291918796, -0.0162819587, 0.0852334052, 0.0349471234, 0.0073604295, -0.018351227, 0.0066247149, -0.0201044939, -0.0036338484, 0.0174592678, 0.0327611193, -0.0352004804, -0.0000129208, -0.0358127393, -0.0559160821, 0.0550859123, 0.0394180492, 0.0108474446, 0.0238295849, -0.0112886662, -0.003786674, -0.0475554764, 0.0843936056, -0.044756718, 0.0126031907, -0.0621753894, -0.0248528495, -0.0032816313, 0.0009544311, -0.0299943946, 0.0422143377, -0.1165205464, -0.0670462623, 0.0174559951, 0.0339370146, 0.0332936309, 0.0510903709, -0.0311918929, -0.0476673953, 0.0194804259, -0.0038552538, -0.0433298685, -0.0041242596, 0.0351191871, -0.0542074926, 0.028709311, 0.0351459831, -0.0652240813, 0.0081296796, 0.0064532724, 0.0333065726, -0.0097616632, 0.0112558845, 0.034237951, 0.0343737863, 0.0560204349, -0.0165507961, 0.0081909643, -0.0783806071, 0.0258200672, -0.0262942556, 0.0085508917, -0.0421399437, 0.0431466103, 0.0379983149, 0.0013437557, -0.0217488278, 0.0014200989, -0.0420161895, 0.0550891049, -0.0449717753, 0.0126423966, 0.0045485846, 0.0021335636, 0.0241401605, -0.0081035877, -0.0214726608, 0.0156812668, -0.0268155131, 0.015669113, -0.0265022889, -0.0049312636, 0.0095432103, 0.0140848616, -0.0180376191, 0.0534809232, -0.0639761835, -0.0376999266, -0.0406016745, -0.003476752, 0.0512182154, -0.0194039438, 0.0671932548, -0.012660468, -0.0020522771, -0.0163333155, 0.0141889052, -0.0045259777, -0.0171900559, 0.0382659025, 0.02868196, -0.0397996418, -0.0045207273, 0.1053499877, 0.0251122974, 0.0563934408, 0.0029532448, 0.035817448, -0.0195428245, 0.0021684901, 0.0271023139, 0.062812224, -0.02455757, -0.0125832437, -0.0271938294, -0.0558935255, 0.0039873547, -0.0066173398, -0.0059526516, 0.0113027077, 0.0491345376, 0.0457942039, 0.0188914575, -0.0122299343, -0.0363601297, -0.0285197515, 0.037828669, -0.0134730758, 0.0144287571, -6.86947658e-33, -0.002653941, 0.0388455316, 0.0068905917, -0.0278148428, -0.0221134592, 0.0186063368, -0.0164924562, -0.0445936397, -0.0588164963, -0.0152738485, -0.0114892917, 0.0487517305, 0.0198886041, 0.0223839227, -0.0312240887, 0.0002993256, 0.0683092773, -0.012122212, -0.0085647777, -0.002388221, 0.0272428636, 0.0559376143, 0.059777692, -0.0144552262, -0.0077646133, -0.0042751604, 0.0066852379, 0.0207345467, 0.0182854924, 0.0403688811, -0.0243153796, 0.0318219364, 0.0280315429, -0.0236318596, -0.0470927134, -0.0170825664, -0.1046865508, -0.0281385817, 0.029992016, 0.0194152296, -0.0080169421, -0.0016847146, 0.0290440824, -0.0099967141, 0.01613071, 0.000842768, 0.0069316202, -0.0088771647, -0.0554967336, 0.0146892862, -0.0034015756, 0.041765064, 0.0038937738, -0.0097183222, 0.0471894667, 0.0428255312, -0.0063854759, 0.0604481064, -0.0588550791, 0.0246489421, 0.0136604253, 0.0157574564, 0.0559888966, 0.0148168309, 0.0570025817, 0.0693603083, 0.010169127, -0.0152609199, -0.0141572608, 0.0266062003, 0.0417036302, 0.0642635226, 0.0080283303, 0.0312525406, 0.0500964448, -0.0355476774, -0.0666980073, 0.0186425429, 0.0086508691, 0.046877142, -0.0028713718, 0.0369944833, -0.019848749, -0.0074370592, -0.0463507287, -0.0244001634, -0.0323768668, -0.0169655625, 0.0479752272, 0.0380933061, -0.0198015496, -0.0296295937, 0.0250829998, -0.045862034, -0.0274665169, 0.0129768597, 0.0010620636, -0.0378660746, 0.0039229346, 0.0431367718, -0.078528665, -0.0417400822, 0.0472451523, -0.0093385139, 0.0027532161, -0.0031890916, 0.0166859869, 0.0306952633, -0.0565547422, 0.008589088, -0.053865511, 0.0139096649, -0.0026397954, 0.0380189121, 0.051656846, 0.01753469, 0.0141357603, 0.0264476277, 0.0406459272, 0.0086658048, -0.0333649777, -0.0119444467, 0.0048168851, 0.0203859638, -0.0179337878, -0.0294112768, -0.0467653535, 0.0036793933, 0.053180173, -0.0626621097, -0.0146119464, 0.0333388448, 2.831e-7, 0.0323929936, 0.0360082351, 0.0253230855, 0.0342326574, -0.0090727257, -0.0101440698, -0.0378179289, 0.0325321369, -0.0033132231, -0.0098120216, -0.0236095544, 0.0113498485, 0.0470554829, 0.0455192886, -0.0940685123, -0.008037352, -0.071144931, -0.0214522593, -0.0517341383, -0.0527089424, 0.0200696997, 0.147961095, 0.0227446537, -0.0226547047, 0.0014068132, -0.0440302938, 0.0377733968, -0.035191834, -0.0273997206, -0.0140995681, 0.0685322657, 0.03882505, 0.0107862251, -0.0064753438, -0.0233809091, 0.0265110712, 0.0268900059, 0.037108466, -0.0137930363, -0.0302393697, 0.0269979332, -0.0391787142, -0.0322774798, -0.0885810778, 0.090646252, 0.0025336319, -0.0178157929, -0.0362959318, -0.0447975211, -0.0050102235, 0.0291917473, -0.0257933829, -0.0193591788, 0.0392054617, 0.0210351124, -0.0267372876, -0.019648239, -0.093913883, -0.0348632224, -0.0110991448, -0.0253018439, -0.0541178212, -0.03574083, -0.030580949, 0.0328047872, -0.0464655347, -0.004735467, 2.793569442e-34, 0.0372033678, -0.0029447614, 0.020136144, 0.0071756341, -0.0061487239, -0.0378189422, 0.0014946959, -0.0010521483, -0.0211170018, -0.090305917, 0.002542679 ]
http://arxiv.org/abs/2406.11785v1
http://arxiv.org/pdf/2406.11785v1
CELL your Model: Contrastive Explanation Methods for Large Language Models
2024-06-17T17:39:10
2024-06-17T17:39:10
Ronny Luss, Erik Miehling, Amit Dhurandhar
cs.CL
cs.CL, cs.AI, cs.LG
The advent of black-box deep neural network classification models has sparked the need to explain their decisions. However, in the case of generative AI such as large language models (LLMs), there is no class prediction to explain. Rather, one can ask why an LLM output a particular response to a given prompt. In this paper, we answer this question by proposing, to the best of our knowledge, the first contrastive explanation methods requiring simply black-box/query access. Our explanations suggest that an LLM outputs a reply to a given prompt because if the prompt was slightly modified, the LLM would have given a different response that is either less preferable or contradicts the original response. The key insight is that contrastive explanations simply require a distance function that has meaning to the user and not necessarily a real valued representation of a specific response (viz. class label). We offer two algorithms for finding contrastive explanations: i) A myopic algorithm, which although effective in creating contrasts, requires many model calls and ii) A budgeted algorithm, our main algorithmic contribution, which intelligently creates contrasts adhering to a query budget, necessary for longer contexts. We show the efficacy of these methods on diverse natural language tasks such as open-text generation, automated red teaming, and explaining conversational degradation.
[ 0.022955047, 0.0671441481, -0.015947666, 0.0316062905, -0.049096033, 0.0269037355, 0.0364826024, -0.0053705848, -0.0392984226, -0.0435397215, 0.0240552332, -0.0455360971, 0.0045712045, 0.0388935581, 0.0030617644, -0.0731686652, 0.0247626659, -0.0208674073, -0.005985063, -0.0072290031, -0.0193456765, 0.0287971981, -0.0040475498, 0.0532806143, 0.0245979298, -0.0211414117, -0.067425102, 0.019671062, 0.007852897, 0.0104854982, 0.0229905751, 0.0504634343, 0.0203428622, 0.0299382787, 0.0000021294, -0.0253643915, -0.0307744052, -0.0058797668, -0.0602492914, 0.0138584627, 0.0062640761, 0.0077323532, 0.0191542394, 0.0414627716, -0.0307025388, -0.0150586097, 0.0774620026, 0.0517630912, 0.0437647142, 0.0744518042, 0.0185962692, -0.0365144648, -0.0171135198, -0.0230287835, 0.0138125634, -0.0382066034, -0.0037931434, -0.0183672495, 0.0072354996, 0.0092454581, -0.0096519822, 0.0107688894, 0.0753279254, -0.0477148816, 0.001864466, 0.0191877689, -0.0130691379, -0.0141282938, 0.006593076, 0.0715788603, -0.0076808291, -0.0064278715, 0.0007620795, -0.0208672155, 2.205e-7, -0.027909277, -0.0297829695, 0.0002744641, 0.0129398936, 0.0168778952, 0.0146629503, 0.0177040733, 0.0431429036, 0.0594902225, -0.0411215127, 0.0370303653, -0.0194954108, -0.0074357213, -0.0358010195, -0.0008238112, -0.0064312448, -0.0809180737, 0.0294171106, 0.0786933675, -0.0489461459, 0.0074490309, -0.0094618406, -0.0354085714, 0.0064079515, -0.0013566241, 0.0396551974, 0.0321622752, -0.0486041568, 0.0335514285, -0.0195563193, 0.0458537005, -0.0352513529, 0.0051865894, -0.0169278979, -0.0262272302, -0.0560596026, -0.0277044605, -0.0254346319, -0.0009220249, -0.0556303822, 0.0082142502, -0.0295562893, 0.0183553044, -0.0207103994, 0.0083511183, 0.0121553326, 0.0402895026, -0.0293265209, -0.0509085804, -0.0333599225, -0.0033364177, -0.0512131192, -0.0267838612, 0.036869362, -0.0864949375, -0.0349828154, 0.0266003925, -0.0040048119, -0.0225394573, -0.005376183, 0.074770771, -0.0236395672, 0.0076574846, -0.0372239649, -0.0480304211, -0.0459434688, -0.0439491831, -0.0209813602, -0.0383589268, -0.0095152846, 0.0067667207, -0.0380928703, -0.0234634485, 0.0147895999, -0.0105912676, -0.0059982194, 0.0599282049, -0.0332769975, 0.0011521588, 0.0236950964, 0.0213762019, -0.0049222815, 0.0442779362, 0.0023205518, -0.0086669941, 0.0042514028, -0.0576231889, 0.0268967059, -0.0176231116, 0.0099471305, -0.0223148782, -0.0442885198, -0.0057203909, -0.0222213846, 0.0500213616, 0.0257838424, 0.0283634514, -0.0295754261, -0.0262678973, 0.0406010188, 0.0201651454, 0.0309784133, 0.0275682062, 0.0468084589, 0.0060035693, -0.0347139388, 0.0726267174, -0.0118772397, 0.0369842164, 0.0015266367, -0.0072210403, 0.0474296063, 0.0197551977, -0.0208640974, -0.1073293462, 0.0068352851, 0.0095991017, -0.0060018231, 0.0318529382, 0.0399479829, 0.0189497396, -0.0336619355, 0.0355466232, 0.0521302186, -0.0239248276, -0.0038202067, -0.09563604, 0.0395977311, 0.0979323164, 0.0356537253, -0.047010988, -0.0095733013, -0.0098551093, -0.0100342492, 0.0647783428, 0.0490575247, 0.000681119, 0.0211784374, -0.0781892687, -0.011591441, -0.0308074635, 0.0341581143, 0.0522970818, 0.0039935582, -0.0314643718, 0.044747442, -0.0138548268, -0.05324037, 0.0305577591, 0.0101741981, -0.0660343841, 0.0671526715, 0.0097192163, 0.0258752573, 0.0256370641, 0.0132735269, 0.0137971342, -0.0265043844, -0.0241431575, -0.0363012478, 0.0046947324, -0.0619499646, -0.0254565347, -0.0063870866, -0.0099623371, 0.0046904893, 0.0543786511, -0.0438975468, -0.0573692024, 0.031869106, -0.0465476699, 0.0541249439, -0.0354487896, 0.0210519657, 0.0054055168, 0.0221925024, -0.0310528353, 0.0609393679, 0.0008305164, 0.001432886, 0.026794754, 0.016269993, 0.0032669127, -0.0563627928, 0.0162106119, 0.0128296874, -0.0306828264, 0.0141314287, 0.0027629728, 0.0088466443, -0.0416317917, 0.0086004157, -0.0352423787, -0.0055262204, -0.0388990268, -0.0011003155, 0.0369752236, 0.0001503084, 0.0253905989, -0.0152578959, -0.0394429676, 0.0254861414, 0.0026835697, 0.0200023446, 0.0676558539, 0.0260473788, -0.0392601639, -0.0525263846, -0.000799331, -0.0006664594, 0.0781068504, 0.0116902059, 0.0128378291, -0.0617536195, 0.0238139257, -0.0100136343, 0.0193851925, -0.0127448123, -0.0642146841, 0.0390389822, -0.022496758, -0.0003891888, 0.0666523501, 0.0384425372, 0.0665583163, 0.0524787083, 0.0246606097, -0.0675700381, 0.0125084324, -0.0466216356, -0.022452876, -0.0144779244, -0.067870304, 0.0019637553, 0.1025213525, -0.0154680349, -0.0127156796, -0.0546121225, -0.0010823128, 0.0372599475, -0.033697933, -0.0108325249, -0.0119941588, -0.003530079, 0.0505475365, -0.0064806477, -0.0522150099, 0.0838934928, -0.0229223408, 0.0074418699, -0.0071193571, -0.0536594763, -0.0363620333, 0.0741691515, -0.0150754787, 0.0064381883, 0.0299872495, -0.0152526619, -0.02333677, -0.0355296582, 0.0185889043, -0.003592747, 0.0248957407, -0.0534675159, -0.024239732, 0.0151631776, -0.0398721844, -0.0537937023, -0.049507238, -0.0490384363, 0.0245343242, 0.0252765324, -0.0356842242, -0.0244571939, 0.0053419871, 0.0064742719, 0.0437544994, -0.0159397293, 0.0036829151, -0.0377514474, 0.0118613057, 0.0246706121, 0.0298420507, 0.0522543862, -0.0479602069, 0.0443906486, 0.0381927863, 0.0000802869, 0.0254953317, -0.051734224, -0.0307623819, 0.0009449265, -0.020644268, -0.0409459844, 0.0140256537, 0.0251319222, -0.101339221, -0.0113065634, 0.1178846583, 0.0216060169, -0.0493683107, 0.0138138784, -0.0413391069, 0.0456441715, -0.0143011352, 0.0264872592, -0.0375431217, -0.0518912338, 0.0082917269, 0.0346384645, -0.0291324109, -0.0053694714, -0.0143288868, -0.1218651161, 0.021696968, 0.0055525163, -0.0312033352, -0.0262669027, -0.0119405435, -0.0239183754, 0.0057629365, 0.0080302553, 0.0033074676, 0.0572449379, 0.010640203, 0.0420765691, -0.023336133, -0.037661396, 0.0051031746, -0.0029957655, 0.0294366907, 0.0437715799, 0.0232532155, 0.0007024302, -0.0137062604, 0.0357432812, -0.0377876498, 0.0367200263, -0.0125846928, 0.0806942061, 0.0237169359, -0.0271346457, -0.0179338232, 0.0371532403, -0.023251256, -0.0049917432, -0.0106339473, 0.02698786, -0.024751883, -0.0256927591, 0.0073441141, 0.0201190151, 0.059288539, 0.0778951794, 0.0535561703, -0.0472959317, -0.0549109913, -0.0338163078, 0.0084583694, -0.0957389921, 0.0047634109, -0.0090100951, 0.0297689401, -0.0215848964, -0.0272569433, -0.024579769, 0.0099185342, 0.0306699034, -0.0222888868, -0.0411783531, -0.0591780879, -0.0182580967, -0.0108491424, 0.0378326364, 0.0056691053, 0.0066486876, -0.0395292044, -0.0421541519, 0.0157273188, -0.0688420013, -0.0235207062, -0.014345726, -0.0282041505, -0.0548101775, 0.0017382799, 0.029108556, 0.0273661688, 0.0537247434, 0.0004012718, -0.115953058, 0.0077990228, 0.0525191054, 0.0057823379, -0.0154295415, 0.0574758872, 0.0175175387, -0.0038383419, 0.0528894588, -0.0241683424, 0.0157049764, 0.0119522521, 0.0031304155, -0.0642840117, -0.0253290497, 0.0304204635, -0.0185096841, 0.0415654071, -0.0034434861, -0.0463607684, -0.0182712581, 0.0299478974, -0.00830663, -0.0366658308, -0.0500368513, 0.0312044844, 0.001413285, -0.0165163185, 0.0193031207, -0.0321202539, -0.0210102554, 0.0054287198, -0.0224624798, 0.0165184382, 0.0439120308, -0.0034948764, 0.0132288132, 0.0075179795, -0.0166426692, 0.0280688908, 0.0104562566, 0.0610420704, 0.0264066495, 0.0830544978, 0.032011617, 0.013030665, -0.0025976489, 0.0039038749, -0.082502611, -0.0592684634, 0.0423356444, 0.0313084684, 0.0364712104, -0.0037080343, 0.0311077479, -0.008115516, -0.0269297976, -0.0205414314, 0.0851146802, 0.0362991057, -0.0274953246, 0.0158631075, 0.0364652909, -0.0299474914, 0.0028541062, 0.0635524467, 0.0133730639, 0.0384680778, 0.0152772134, 0.0008004389, -0.0078328662, -0.012207007, 0.0139199505, 0.0375984386, 0.019840518, 0.0114610773, -0.051097244, -0.0602337718, -0.0073466073, 0.0222091991, -0.0047036647, -0.0221119076, 0.0255048349, 0.068243593, 0.0048471293, -0.0144830337, -0.0376049504, 0.0506154038, -0.0493865609, 0.0041210642, -0.0211500879, -6.911868579e-33, -0.0225944258, -0.0908591747, -0.0147553366, -0.0411179028, 0.007415677, 0.0332483202, -0.0389283076, -0.0137734227, -0.0257462785, 0.0546129197, 0.007201036, 0.03025629, 0.0046414458, 0.0297987442, -0.0182192512, -0.0496499985, 0.0441402867, 0.0282869563, -0.0362891294, 0.0368351638, 0.0434357189, 0.0206555314, 0.0077808863, -0.0504596829, 0.0229040142, 0.0003405107, -0.0200978778, 0.0444147028, -0.0455775559, 0.0547592826, -0.0064622676, 0.0422816947, 0.0189752653, -0.029754838, -0.0160499904, 0.0590977445, -0.0232344791, 0.0088643609, 0.0160161089, 0.0027158353, -0.0931925252, -0.0574667603, 0.0382644013, 0.0173613504, 0.0135203879, -0.0508663952, 0.0269529112, -0.0282809008, -0.0037642915, 0.0135732088, -0.0122550102, 0.0449389108, -0.0478390977, -0.069901213, 0.0051813428, 0.0614958517, -0.0010474561, 0.0011133795, 0.0097467043, -0.0124468822, 0.0636635497, 0.0235087536, 0.0617158599, 0.0485342965, -0.0254509095, 0.0395580344, 0.0390793309, 0.0145296566, -0.0589118116, -0.0302451681, -0.047202602, 0.036188554, 0.0881012976, 0.038880676, 0.0279595945, 0.0247574057, -0.0495648906, -0.0016684013, -0.0090185963, 0.0043133539, 0.0438837223, 0.0065127853, -0.0380376056, -0.0256191827, -0.035834264, -0.0634519383, -0.0374485739, 0.0016286061, 0.0204311535, 0.0038876147, -0.057524018, -0.0347965099, -0.0065004905, -0.0298796073, 0.0340960473, 0.0201681536, -0.0294724014, -0.001388158, 0.0082326205, 0.0119436095, -0.0126887579, -0.0190349258, 0.0099146031, 0.0107832579, 0.0230895206, 0.0169530995, 0.0424535386, 0.0131891472, -0.0318679698, 0.001376141, -0.0479732193, 0.0256678388, -0.048943229, 0.0074531259, 0.008885392, -0.0136392154, -0.0385259427, 0.0846922621, 0.0198897943, 0.0056258729, -0.0227289461, -0.018008016, -0.0231269617, 0.0059166378, -0.0337830968, 0.0004663675, 0.0052626566, -0.0070381546, 0.0608845763, -0.0240776557, -0.0254777558, -0.0076387287, 2.715e-7, 0.0328457206, 0.0076257973, 0.0362459123, 0.0361107886, 0.0208891407, 0.0706842467, 0.041645091, -0.0116456887, -0.0070936969, -0.0120068565, 0.0088968351, 0.046109762, 0.0810116976, 0.0002357192, -0.019696584, -0.0102498811, -0.0888632536, -0.0195718836, -0.039346654, -0.028422229, 0.0842333883, 0.0463049337, 0.0113018267, -0.0178342871, 0.0319768749, -0.0192255601, 0.0364300646, -0.0281861331, 0.0239006411, 0.009814335, 0.040222194, 0.009752607, -0.0044151559, 0.0033043888, 0.0029693239, -0.0087825637, -0.0305886939, 0.0750981122, -0.00323481, -0.0547790192, -0.0179736763, -0.0079986304, 0.0154024735, -0.0691024587, 0.0831957906, -0.0058056945, -0.0135561842, -0.0345734395, 0.0014739037, -0.0367111713, -0.0016584026, -0.030470904, -0.0123757515, 0.0234634113, -0.0206233989, -0.0344231203, -0.0101993848, -0.0900278464, -0.0504325964, -0.0147774005, -0.0368640125, -0.0057736151, -0.0348618999, 0.0094313221, 0.0606431477, -0.0293324329, 0.0048039998, 2.538479591e-34, 0.0410141163, 0.0274415202, 0.0143984249, 0.0338937826, 0.0498993322, 0.0260848626, -0.0194459856, -0.0141275199, 0.0898395777, -0.0596675389, -0.0273465868 ]
http://arxiv.org/abs/2406.11784v1
http://arxiv.org/pdf/2406.11784v1
MDCR: A Dataset for Multi-Document Conditional Reasoning
2024-06-17T17:38:43
2024-06-17T17:38:43
Peter Baile Chen, Yi Zhang, Chunwei Liu, Sejal Gupta, Yoon Kim, Michael Cafarella
cs.CL
cs.CL, cs.AI
The same real-life questions posed to different individuals may lead to different answers based on their unique situations. For instance, whether a student is eligible for a scholarship depends on eligibility conditions, such as major or degree required. ConditionalQA was proposed to evaluate models' capability of reading a document and answering eligibility questions, considering unmentioned conditions. However, it is limited to questions on single documents, neglecting harder cases that may require cross-document reasoning and optimization, for example, "What is the maximum number of scholarships attainable?" Such questions over multiple documents are not only more challenging due to more context having to understand, but also because the model has to (1) explore all possible combinations of unmentioned conditions and (2) understand the relationship between conditions across documents, to reason about the optimal outcome. To evaluate models' capability of answering such questions, we propose a new dataset MDCR, which can reflect real-world challenges and serve as a new test bed for complex conditional reasoning that requires optimization. We evaluate this dataset using the most recent LLMs and demonstrate their limitations in solving this task. We believe this dataset will facilitate future research in answering optimization questions with unknown conditions.
[ 0.0251831822, 0.0580341369, 0.0108853932, 0.0353076719, -0.0454703644, 0.0420537293, 0.0254775286, 0.0202829745, 0.0217949059, -0.0026788283, -0.000938599, -0.0030546444, -0.0439083725, -0.0164794326, -0.0069335713, -0.0118767126, 0.0259334873, -0.0154429823, 0.0037295679, -0.0281061325, -0.0065746959, 0.0362888575, -0.0305310469, -0.0144218588, -0.0165332723, -0.0440172441, -0.0260663237, 0.0167358052, 0.0348932967, -0.013253957, 0.0083098691, 0.0413162485, 0.0305415764, -0.0497135185, 0.0000019523, -0.0579302981, -0.0472593047, -0.0204535797, -0.0441547409, -0.0506512113, 0.0209823102, 0.0067230468, 0.0540586375, 0.0094186291, -0.0487108715, 0.028417591, 0.001403295, 0.0698946938, 0.036045894, 0.081695579, 0.001651098, -0.0724887922, 0.0062438464, -0.0029508071, 0.0570884049, -0.0809660777, 0.0180376731, 0.0252271947, 0.0183491763, -0.0493661202, 0.0184784215, 0.0212842207, 0.0406658202, -0.0013597191, -0.015952386, 0.0198592134, -0.0292664673, -0.0003290294, -0.000919331, 0.0788503289, 0.034216851, 0.0173590295, 0.0270204283, -0.0386492684, 0.0274695363, 0.0412616767, -0.0087765306, -0.0026134914, -0.06439998, -0.0155555839, 0.0105303805, 0.0162658151, 0.0264592227, 0.022860609, -0.0528898351, 0.1051298827, -0.0306043327, -0.040821407, 0.0541115329, 0.0039967629, -0.0326875262, -0.0306628402, 0.0161522422, 0.0406612679, -0.0417354777, 0.0321428329, -0.009100371, -0.0129766492, 0.0302522164, -0.0212364886, 0.0546224527, 0.0271908864, 0.023601288, 0.0712195858, -0.0196095239, 0.0069733053, -0.0580657981, -0.0023876843, -0.0307546053, -0.0111291548, -0.0538795516, -0.0124885794, -0.0127334008, 0.0528755672, -0.0197006911, 0.0108929072, -0.0242740475, 0.0273646824, -0.0246420857, 0.0461680219, 0.0281049628, 0.0197518729, -0.0196377896, -0.0338903479, -0.0835819766, -0.0396461673, -0.0390138775, 0.0620861389, -0.0088934768, 0.02602938, 0.0108944904, -0.0079809213, 0.0135682933, -0.0635857731, 0.0263146088, 0.0931567103, 0.0265652183, 0.0066582025, -0.0689030588, -0.0725262389, 0.022230003, -0.0775707513, 0.029029591, -0.0475861803, 0.0498745106, 0.0091034407, -0.0361526683, -0.0154734561, -0.0107230498, 0.0131923566, 0.0312569253, 0.0883911327, 0.0773823336, -0.0235283431, 0.0497505255, 0.0094532706, -0.0290447995, 0.0834818259, 0.0347556211, 0.0308349412, 0.0260836966, 0.0061552133, -0.0201300252, 0.0252814107, 0.0023169324, 0.023726372, 0.0159336012, 0.0724310726, -0.001332122, 0.0473024622, -0.0414566919, -0.0283656977, -0.0392237902, -0.0516453795, -0.0038521702, 0.0475819856, 0.051758334, -0.0281193946, 0.001477537, 0.0320103504, 0.014749242, 0.0300540868, -0.003051477, 0.0456182994, -0.0226112194, -0.0014374388, -0.0235827137, 0.0070208488, -0.0165605377, -0.0741605759, -0.0268475953, -0.0028389392, -0.0382314399, 0.0335597321, 0.0500373505, -0.0193043649, -0.0284797847, 0.0237181783, 0.0119414032, -0.0376585498, -0.0393665582, -0.0247387625, 0.0386734158, 0.0140817687, 0.0617340617, -0.095812723, -0.0407380499, 0.0012910301, -0.0055005155, -0.0139439153, 0.0607193932, -0.0163123626, 0.0336680859, -0.0461594723, -0.0211790353, -0.0281744469, -0.0017822939, 0.025671687, 0.0251990594, -0.0027358078, -0.0208871644, -0.0106979059, 0.0379359163, 0.0380360559, -0.07254906, -0.0051052063, 0.0230683815, 0.0131074898, 0.0462221988, -0.0065131309, 0.0099061802, 0.0012283085, 0.0185082629, -0.0020712346, -0.0265040025, -0.0308419708, -0.032122869, -0.0077942302, 0.0172773078, -0.0616040528, -0.0379020311, 0.0374197923, -0.0586851276, -0.0359582379, -0.0195740853, 0.0082139913, -0.0050490103, -0.0373269618, -0.0164366178, 0.0120643377, -0.020945251, 0.0025656982, 0.0731522515, -0.0031671512, 0.0174637176, 0.011872286, -0.0142389899, 0.0367223136, -0.0444434397, 0.0532394089, -0.0341180116, 0.0039187754, -0.0066641094, 0.0127253085, 0.0279529709, -0.0635028034, -0.0375876166, -0.0206674617, 0.0396942571, -0.003142376, 0.0177814718, -0.0007055581, -0.016942028, -0.0059482818, 0.0123744877, -0.0548576228, 0.0181845315, -0.0044986741, -0.024261687, 0.0659138635, -0.0171259362, 0.058391545, -0.0190973245, -0.0130117042, -0.036773175, 0.0298991036, 0.047230158, 0.0062361606, -0.0084991325, 0.0464555435, -0.0086617824, 0.02407079, -0.0230504535, 0.0437882133, -0.0105068181, -0.0272553898, 0.0015895943, 0.0766036958, -0.0548196211, 0.0026854612, 0.0632855445, -0.0009404378, -0.0634039789, 0.0385133885, -0.0008634492, 0.0553867146, -0.0633996055, -0.0456141084, -0.0140030477, 0.0032815915, -0.0027563502, -0.0242807083, -0.0322781168, 0.0438696072, -0.002559047, -0.0339211486, -0.0521568209, 0.0207686052, 0.030594103, 0.0833420828, 0.0190542843, 0.0061332858, 0.1069657281, 0.0176045764, 0.0029129407, -0.0414225385, 0.0197640415, -0.0953140035, 0.0459744297, -0.0158217251, -0.0146082761, -0.0147229983, 0.0068382975, -0.0459128022, -0.014023128, 0.0395755209, -0.0194375571, 0.0628068745, -0.0535751395, 0.0049142828, -0.0443758033, -0.0373508483, -0.0098774573, -0.0451513119, 0.0162413511, -0.0019130399, -0.0084578404, -0.0290254839, -0.069625102, -0.0420934558, 0.0089578629, 0.0427906252, -0.0424376987, -0.023480624, -0.0269507114, 0.0470061228, 0.0363486968, 0.0004890206, 0.0067112548, -0.0488766953, 0.0200238582, 0.0338318124, 0.0129072862, -0.0129889892, 0.0305134505, 0.0397036038, 0.0203614105, -0.0422178358, 0.0612858273, -0.0123669785, 0.0179485735, -0.0895586535, 0.0144793913, 0.0766574591, 0.0414052904, -0.0432420261, -0.0074542719, -0.0849401057, 0.0046009338, 0.0133257639, 0.0515798964, -0.1017221659, -0.0324302092, -0.0141865602, 0.0130181173, -0.0247820318, -0.0315056778, -0.0141264163, -0.0401067324, 0.0355118178, -0.0137417922, 0.0291682109, 0.0214910451, -0.0159962382, -0.0401739329, -0.0477630012, -0.0202095378, -0.0238858629, 0.0092090601, -0.0202471204, -0.0232268237, 0.0157119799, -0.0095999064, 0.0474876277, 0.0151078086, -0.0119873621, 0.0044961581, 0.0485664159, -0.0141681787, -0.0599424802, 0.0121866148, 0.0060056881, -0.0426653177, 0.0039554457, 0.0138403894, 0.0034136341, 0.0172458999, -0.0240351707, 0.0349657908, -0.0279761478, -0.0182714649, 0.0784871951, 0.0482140146, -0.0411958992, -0.0239993334, -0.026863236, -0.0035766757, -0.0392761379, 0.0685417727, 0.0094493637, -0.0323433727, -0.0458521768, -0.0261542536, -0.035383977, -0.0667886809, 0.0391500331, 0.0008257899, -0.0227292608, 0.0544452369, -0.0158272814, -0.0321437493, 0.0465263464, 0.0107823424, -0.0337946974, -0.0217224471, 0.0457090512, -0.0202308279, -0.0471134, 0.0433999561, -0.0209949315, 0.0178080611, -0.0145047978, 0.0069476888, 0.0157112814, -0.0256307553, -0.0461729653, 0.0024516592, -0.0646954775, -0.0369201824, -0.0430982113, -0.0086452682, 0.0267089643, 0.0378084071, -0.0280132629, -0.0369961634, -0.0185365807, -0.0271527339, -0.012952528, -0.0212965664, 0.049567949, 0.0011918831, -0.0121604521, 0.023575021, -0.0258684941, 0.024977928, 0.0017719208, -0.0064500198, -0.0347324163, 0.0086477231, 0.0192222167, 0.0255455431, -0.0285537727, 0.0342905149, -0.0222023539, -0.0484747998, 0.0755310282, -0.0196636971, -0.0299542416, -0.0034441194, -0.0194859933, 0.0465346351, -0.0373919159, -0.0183568019, -0.0543259643, -0.0263549164, 0.0074866037, -0.0210925862, 0.0533453152, 0.0676083714, 0.0123905055, 0.0362500772, -0.0694702417, -0.0255752634, 0.010065604, -0.020061342, 0.0590256266, -0.009944276, 0.0534149781, 0.0525345728, 0.0066677895, -0.0006418777, -0.0310044158, -0.049676165, -0.0268567745, 0.0232503451, 0.0159976464, 0.0152433431, 0.0178892016, -0.0055801533, -0.0199621525, -0.0072818678, 0.027662456, 0.0040552653, 0.0043763844, -0.0182056502, 0.0515675619, 0.0451314971, 0.0014881248, -0.0007652715, 0.0396763273, 0.0079052215, 0.0414189883, -0.0553598851, -0.011355944, -0.055527214, -0.0403026007, 0.0188374501, 0.026432693, -0.0105212005, 0.0360883735, -0.0903802067, -0.0453517772, 0.0406646878, 0.0404964052, -0.0061605475, 0.0301498361, -0.0099798059, 0.0321118832, 0.0093591008, -0.0344946347, -0.0257369429, 0.0144872675, -0.0699347407, -0.0363712572, -0.016082719, -5.819406007e-33, -0.0135042854, -0.0302798543, 0.0665413961, -0.0197162498, 0.0253897253, 0.0010831914, -0.0089898333, -0.0600416251, -0.030249102, -0.0023374604, -0.0236791093, 0.0215343516, 0.0132620325, 0.0235737748, 0.0085757906, -0.0121616758, -0.0146599794, 0.0087892776, -0.035035301, 0.004747319, 0.0144701134, -0.0174573995, 0.027482301, -0.0127642984, 0.0414274633, -0.0224667899, -0.0131154023, 0.0351187922, -0.1006720513, 0.0524589196, -0.0160118081, -0.0155973881, 0.0418713763, -0.0146356113, 0.0364691019, 0.0275516789, -0.0802471563, -0.0396494009, 0.0220339969, -0.0046102912, -0.0547853708, -0.0273109004, -0.0141252708, 0.042468071, 0.0197711028, -0.0514023677, 0.0505782478, -0.0299922246, 0.0097080134, -0.0449909419, -0.0164393727, 0.0447296202, -0.043119859, 0.0417180546, -0.0071612196, 0.0867556259, -0.0160048548, 0.0472694375, -0.0300476085, 0.0023876135, -0.0052428101, -0.0025834821, 0.0516739823, -0.0294556282, -0.0156443361, 0.0392127149, 0.0155651784, -0.0028448976, -0.012868179, -0.0385266021, -0.0154899638, 0.0518152714, 0.0298190992, 0.0446266644, 0.0264018606, 0.017983323, -0.096170418, 0.0286958888, -0.0020735753, 0.050541386, 0.0352224894, -0.0211427603, -0.0004495955, 0.0024845013, -0.0655388162, 0.0341658071, -0.0388498828, 0.0356512032, 0.0296848062, -0.0365100466, 0.0033333539, 0.0183916576, 0.0142618008, -0.0373660438, -0.0074606175, 0.0498337112, 0.0231868438, 0.0271909181, -0.0060792868, 0.0813150555, -0.0335796699, -0.0153368702, 0.0058587827, -0.0422361828, 0.0433093011, 0.0226401892, 0.0674515441, -0.0169382915, -0.0270586964, -0.0387031585, -0.047021877, 0.0209085513, 0.0054961033, 0.0426407084, 0.0186091289, 0.0370056294, -0.0062414142, 0.0220420342, 0.0042958544, 0.0018745037, -0.0461741276, -0.0352860913, -0.0070073227, 0.0445957705, -0.0009973288, 0.0183271188, -0.0134541942, 0.0040746089, 0.0289566871, -0.0165731162, 0.010308926, 0.0812920034, 2.595e-7, 0.0582503676, 0.0373688489, -0.0182877555, 0.0351620354, -0.0185310002, 0.0212932117, -0.0726625919, 0.0049319896, 0.0141541185, 0.0058863382, 0.0266151354, 0.0346763805, 0.0374740101, 0.0445410311, -0.086201638, -0.0105375201, -0.0275897533, -0.0391227603, -0.0502214804, 0.019682724, 0.0708943084, 0.031247627, 0.0321980529, -0.0353842452, -0.0181940366, -0.0126833124, 0.027900992, -0.0400463976, -0.0092284987, 0.0127546424, 0.0543870218, -0.0380322598, 0.0233710706, 0.0395981707, -0.0102369236, 0.0464146398, -0.0090581402, 0.0897646844, 0.0123514729, -0.0433100238, 0.0025871084, -0.0416387059, 0.0100547932, -0.0159424506, 0.0954665616, -0.0114006214, -0.0416814834, -0.0211519748, -0.010106449, -0.0212542005, 0.0071047419, 0.0173731707, 0.0370050259, 0.0046117683, -0.0066287681, -0.0383066088, 0.0215231776, -0.0577426516, 0.0057605882, 0.0353205539, -0.0144892763, -0.0317650214, -0.0047442033, 0.024141632, 0.0452573448, -0.0903738439, -0.0297659785, 2.185037368e-34, 0.0392520428, 0.0126758385, -0.0089366557, 0.0223789234, 0.054828275, -0.0102716647, -0.045009125, 0.0215900093, -0.0086420719, -0.0899911895, 0.0037019288 ]
http://arxiv.org/abs/2406.11780v1
http://arxiv.org/pdf/2406.11780v1
Split, Unlearn, Merge: Leveraging Data Attributes for More Effective Unlearning in LLMs
2024-06-17T17:35:52
2024-06-17T17:35:52
Swanand Ravindra Kadhe, Farhan Ahmed, Dennis Wei, Nathalie Baracaldo, Inkit Padhi
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have shown to pose social and ethical risks such as generating toxic language or facilitating malicious use of hazardous knowledge. Machine unlearning is a promising approach to improve LLM safety by directly removing harmful behaviors and knowledge. In this paper, we propose "SPlit, UNlearn, MerGE" (SPUNGE), a framework that can be used with any unlearning method to amplify its effectiveness. SPUNGE leverages data attributes during unlearning by splitting unlearning data into subsets based on specific attribute values, unlearning each subset separately, and merging the unlearned models. We empirically demonstrate that SPUNGE significantly improves the performance of two recent unlearning methods on state-of-the-art LLMs while maintaining their general capabilities on standard academic benchmarks.
[ -0.022184791, 0.0887220576, -0.0155829843, 0.0535844788, -0.0338533148, 0.0334420241, 0.0169807691, 0.0159432162, 0.0257976018, -0.0308450162, -0.0239001121, 0.0339847915, -0.0071147331, 0.0323395766, 0.0095138419, -0.0060943011, 0.0595371425, -0.0323419124, 0.025143005, -0.0144170532, 0.0070766369, 0.0112560522, 0.0179740023, 0.0012984601, 0.0111311842, -0.0339943729, 0.0056901583, -0.0152403424, 0.0144247022, 0.0322433524, 0.0204619188, 0.0369045362, 0.0114178658, 0.0676326528, 0.0000021176, -0.0369918235, -0.0362207554, 0.0203219783, -0.0275577269, 0.0351366512, 0.0371940583, 0.0088442601, -0.0134115303, 0.0383003131, -0.0303256009, -0.016599454, 0.03952967, -0.0034320119, 0.0670094416, 0.0656002611, -0.0039603747, -0.0187119804, 0.0201836228, -0.0013774466, -0.0154417651, -0.0061438764, 0.0843617767, -0.0270250421, -0.0619487166, -0.0432068445, 0.0031924802, 0.0399436653, 0.0015370583, 0.0114930291, -0.0214127153, -0.004916369, -0.0466535017, -0.0085528521, -0.0205210317, 0.0634650812, -0.0401390456, -0.0228071492, 0.0554938503, -0.0083306571, 0.0052633067, -0.0084011499, -0.0313326083, 0.0169304702, -0.025702158, 0.0371683761, -0.0365663879, -0.0306101181, 0.0821285322, 0.0199368261, -0.0001840774, 0.0757248625, 0.0068071345, -0.0066484935, 0.0056300079, -0.0306533314, 0.0168364514, -0.0336389951, -0.0091420356, 0.0327087939, -0.0161448363, 0.0382805876, -0.0259028431, -0.0072184154, 0.0469887108, -0.0288071465, 0.0399966799, -0.0164244529, 0.0117903957, 0.0613833703, 0.0093376869, 0.0031309279, 0.0178724229, 0.0456447676, -0.0344769843, 0.0175160114, -0.022533346, -0.0300012659, 0.0336693488, 0.0506780408, 0.0131534953, 0.050984893, -0.0247766934, 0.0090198312, -0.0575898774, 0.0069362125, 0.0084945709, -0.0231289212, -0.0052140504, -0.0022081067, -0.023949828, 0.0147628374, 0.0050489465, 0.0113737816, 0.0129476935, -0.0575689077, -0.0047344747, -0.0129592763, -0.0108275926, 0.014000155, 0.0312965363, 0.0940082669, 0.0062589664, -0.0056697829, -0.0615107752, -0.0407052301, -0.008420296, -0.0544754267, 0.0145898359, -0.0678092018, 0.036988806, -0.0399027914, -0.0301316418, -0.087568976, -0.002508068, 0.0064002629, -0.0910804048, 0.0444656387, -0.0549703836, 0.0119104441, 0.0175449867, 0.0178417973, -0.0275063589, 0.0575720258, -0.0193667039, 0.0340774544, 0.0434540175, -0.0350730754, 0.0440339483, 0.0445613563, 0.0404931083, 0.0132606803, -0.0470701903, -0.028876368, 0.016879458, -0.04834738, -0.0205220561, 0.0538261384, -0.0034425692, -0.019083349, 0.040654704, -0.0046916748, -0.03488997, 0.0408961959, 0.0003335754, 0.013446779, 0.0052581308, 0.0212507509, -0.0627401695, -0.0298806801, -0.0728959814, 0.0033420138, -0.0029671746, 0.0844875053, -0.0388735123, -0.0621528551, -0.0180836432, -0.0495296083, 0.0589608662, 0.038585037, 0.0491618514, 0.0443786457, -0.0290149581, 0.0549523905, 0.1053894684, -0.0764124021, 0.0078587905, -0.0433805026, 0.0267734062, 0.0685230121, 0.0644866973, -0.0704691857, -0.0335928462, -0.0189003963, 0.0042313044, -0.0376416631, 0.0008237127, -0.0128145535, 0.0483301766, -0.0475892127, -0.0446401164, 0.0425075106, 0.0239134189, -0.0153794158, 0.0382083841, -0.0438676812, 0.0035190613, -0.0405400805, -0.0560394339, 0.0484259948, -0.0501007661, -0.0103328871, -0.0039477721, 0.0061149355, 0.0313274749, -0.0171892084, -0.012940974, -0.0220343489, 0.0575712845, -0.006348738, -0.0300356373, -0.0342893079, -0.0330885239, -0.0111347735, 0.0583290569, -0.0120914849, -0.0242657084, 0.04905558, -0.053383287, 0.0108399102, -0.0068904557, -0.0133777186, 0.0171968006, -0.0237049833, 0.0523249768, -0.0505005829, -0.0010723253, -0.0133549878, 0.0743492022, -0.0507406965, -0.0385204032, -0.0213073697, -0.0590387508, -0.0146697713, 0.006225762, -0.0486851148, -0.0155437281, -0.0307309423, 0.0405053087, 0.0014957651, -0.015983656, -0.0315662362, -0.0383045897, -0.0388933346, -0.020387264, -0.0043693497, 0.0106077623, 0.0100832935, -0.0042752465, -0.0080745555, -0.0048134192, -0.0019561024, 0.0119609628, -0.0006021706, 0.0195934996, 0.0102168899, -0.0266999975, -0.0477062874, -0.0051607145, -0.0161129553, -0.0156825911, 0.0522235036, -0.0237771198, -0.0200270079, -0.0090414407, 0.063374579, -0.0679811165, 0.0249960385, -0.0036186937, -0.0289623048, -0.0141945863, 0.0001869358, -0.0207069777, 0.0488030203, -0.0043535819, 0.044905901, 0.0773959458, -0.0079827234, -0.0378321633, -0.0008556434, -0.0248385835, -0.02293537, -0.0039349711, -0.0174387358, 0.0056579849, 0.0394868329, 0.0205249004, -0.0178863239, -0.0182534102, 0.0382944681, -0.0126189496, -0.0767347664, -0.0421152413, -0.0495589077, -0.0237692147, 0.0036724946, -0.0255735442, -0.0905374885, 0.0562113859, -0.0052394089, 0.0504926071, -0.0122472038, -0.0203338601, -0.0091553032, 0.0337332003, -0.0038981631, 0.0508775748, 0.0273802914, -0.0319250077, -0.023354793, -0.0274947863, 0.0311383326, -0.0569386221, 0.0452875979, -0.0711359754, 0.0048545501, 0.0312855877, -0.0309530422, -0.039347928, -0.0308099631, 0.0161589682, 0.0057166736, 0.0026512952, -0.0073843393, -0.0241872165, -0.050752297, 0.0351419225, -0.0306264181, 0.0319562256, 0.0218701735, 0.0001479994, -0.0077539375, 0.0314413272, -0.0557732135, 0.0063347346, -0.0167387072, 0.0392390303, 0.098257862, 0.0286949724, -0.0094687594, -0.00178705, 0.0039502531, 0.006911675, -0.0172173958, 0.0027710022, 0.0145010706, 0.0108463448, -0.0390501469, 0.0028691939, 0.0991529375, 0.0132945944, -0.0329012722, 0.0005659207, 0.0267744698, 0.0317376256, 0.0121614682, 0.0125094587, -0.0849856511, -0.0103557259, 0.0030095454, 0.0196797233, 0.0011248431, -0.0519503206, 0.0143726701, -0.0979837179, 0.0126828132, 0.0592083521, -0.0488770381, -0.0305772275, -0.0382940285, -0.0054773847, -0.0460658297, 0.0321021304, 0.0018138882, -0.0286180004, -0.0284394044, 0.0045501646, -0.0595540218, -0.0522254072, 0.0179244727, -0.0304692797, 0.0404836945, 0.034348961, 0.0107180066, -0.0456155911, -0.0301816668, 0.0218050666, 0.0159732793, -0.0058788205, -0.0229973905, 0.0672489926, 0.0042312797, -0.0090293698, -0.0132644819, 0.0528458245, -0.0070948196, -0.0355914459, 0.0251464639, 0.1040560976, 0.0325704962, -0.0294793285, -0.0185460243, -0.0341120996, -0.0068873633, 0.0905386657, 0.0085302442, -0.0289066788, -0.002946995, -0.0191903394, -0.0239201356, 0.0511482842, -0.0081070354, 0.0122775482, -0.0513741001, -0.0245577358, -0.0776095018, -0.0030719952, 0.0331155434, -0.0201398097, 0.0374524593, 0.0228187386, 0.0349945277, 0.0312252082, -0.0519612692, -0.0297086015, -0.027242044, -0.0197477322, -0.0263224058, 0.0014016024, -0.0045922399, 0.0259639472, -0.0072933645, 0.03398633, -0.0597409084, -0.1068053395, 0.0440525524, 0.0465947874, 0.024040712, 0.0363748744, 0.0009272411, -0.0416124538, 0.0834759101, 0.0500873029, -0.0392173715, 0.0300487764, 0.0254175831, -0.0180303976, 0.0267655235, 0.0328553729, -0.0489492826, 0.006481613, 0.0484130308, -0.0278383642, -0.1014352515, -0.0026635753, -0.0002227834, 0.0662143752, 0.0350596644, 0.0021684158, -0.0034756768, -0.0180863589, 0.0120788282, 0.011603714, -0.0409953333, -0.014915389, 0.0310883056, 0.0267924313, -0.0028283715, 0.0022161081, 0.0255051665, 0.0149890082, 0.011428426, -0.0091163637, -0.0107069351, 0.0089499587, 0.0251219105, 0.037264023, 0.0040642461, 0.0042029233, 0.0285966136, 0.0043380572, 0.017089529, -0.0143891759, 0.0284923632, -0.0104333172, 0.0454669483, -0.0251959562, 0.017467659, 0.0068565775, -0.0624761954, -0.0347352177, 0.0206466224, -0.0040154597, 0.0124122221, 0.0381648019, 0.0184270851, -0.0273619983, -0.0344724394, 0.0034513033, -0.0184874423, -0.0211824961, 0.002336524, 0.0239866227, -0.0622913279, 0.0056738863, 0.0955206528, 0.0005541531, 0.0552648194, -0.0025369916, -0.0027402071, -0.0455961078, -0.0452267826, 0.0457058772, -0.030158259, -0.0070174267, -0.0363756754, -0.0408693403, -0.0740031451, -0.0064983615, 0.007048083, 0.0218150187, -0.0007316208, 0.0050316877, 0.0745791197, -0.0052608144, 0.0080012921, -0.0541142859, -0.0078006177, 0.0316828489, -0.0459530689, 0.028032342, -6.01519708e-33, 0.0077547967, -0.011384137, -0.0137696061, 0.0486323349, 0.0059382864, -0.0110065937, 0.0231336895, -0.0089139538, -0.0327055715, 0.0226524267, -0.008468885, 0.012322397, 0.0034671971, 0.0017840324, -0.0057098223, -0.0243267529, 0.0369163454, -0.0227780174, -0.0152312955, 0.0327031203, 0.049503807, 0.0417661332, 0.0292818174, -0.1133792326, -0.0137835927, -0.0143275, -0.0333865546, 0.0483379997, -0.0197477285, 0.0261622071, -0.0044053942, 0.0339368023, 0.0115171298, -0.0145099768, -0.036361631, 0.0206835903, -0.0546947643, 0.0190697405, 0.0130315591, -0.0163089726, -0.0076108226, -0.053263355, 0.0784001797, -0.015636934, 0.0031284639, -0.0481433719, 0.0200133063, -0.0317946039, -0.0369165279, -0.0161318686, -0.0335257538, 0.0123590091, -0.0180615149, -0.0180174652, 0.0407287292, -0.0130633414, 0.0099109439, 0.0146072665, -0.0814158618, 0.0245726518, 0.0545594841, 0.0213962384, 0.0968144909, 0.0041480935, 0.0007383139, 0.1094538122, 0.0254392419, 0.01799253, 0.0023160169, -0.0001357755, 0.024649702, 0.096154578, 0.0300225299, 0.0380365364, 0.0145701449, -0.0660757571, -0.079014644, 0.0379688777, 0.0087337885, 0.0267896019, -0.0161521994, 0.0327945836, -0.0205605403, -0.0347854197, -0.0260575339, 0.0068602259, -0.0318294615, -0.0172460694, 0.0149912853, -0.0043418622, -0.0581062511, -0.0209697317, -0.0131373806, -0.0563653819, 0.0050708507, 0.0509261079, 0.0296761952, -0.0114504956, -0.0133016547, -0.0258895848, -0.0783397779, -0.0301443785, -0.0033183454, -0.013770896, 0.0342759155, -0.0140216732, 0.068848975, 0.0502218306, -0.0433171727, 0.0169530883, -0.0302287303, 0.0286332127, 0.0477711596, 0.0051857405, 0.0146518322, 0.0080254674, 0.0133828763, -0.0242904238, 0.0741383731, 0.0153500699, -0.0517009385, 0.0185721405, -0.0095248455, -0.0023157762, -0.0034302701, -0.0275056232, 0.006134423, 0.0000496899, 0.0787742659, -0.0380715095, 0.0098338444, 0.0050897407, 2.69e-7, 0.0231988076, 0.0169258621, 0.0197189059, -0.0252425857, 0.0180022418, 0.0533498861, -0.0249211174, 0.0269476101, 0.0025180259, -0.0324167721, 0.0171292648, 0.028852351, 0.0651769415, 0.0453791469, -0.0517225936, 0.0079784775, -0.0644469485, -0.0373141021, -0.0429487228, -0.0323165804, -0.000829018, 0.0770976841, 0.0471659377, -0.0608800054, -0.002198138, -0.0298272725, 0.0242455099, -0.0638401359, -0.0283370782, 0.0464457422, 0.0189784467, 0.0232403893, 0.0059957686, -0.0128523139, -0.0233423281, -0.0028343534, -0.0076322006, 0.091729477, 0.0181737598, -0.0170265865, 0.0007423613, -0.0227718782, 0.0037543955, -0.0099409521, 0.0734304041, -0.0062613855, -0.0170371942, -0.0198640395, -0.0241392739, -0.0274545141, 0.018302286, 0.0011439233, -0.0035037324, 0.0599046648, -0.0144625409, -0.0092563555, -0.0239045564, -0.0540535823, -0.0335291736, -0.0200844295, -0.0655796081, -0.0648891404, 0.0304641388, 0.0101233497, -0.0294503216, -0.0840198249, 0.0643060952, 2.486452946e-34, -0.0140712922, -0.0555585958, 0.0105643189, 0.0386491455, 0.0183559954, 0.0062616104, -0.0350468419, 0.0258099418, -0.0240498986, -0.0324317217, 0.036004588 ]
http://arxiv.org/abs/2406.11776v1
http://arxiv.org/pdf/2406.11776v1
Improving Multi-Agent Debate with Sparse Communication Topology
2024-06-17T17:33:09
2024-06-17T17:33:09
Yunxuan Li, Yibing Du, Jiageng Zhang, Le Hou, Peter Grabowski, Yeqing Li, Eugene Ie
cs.CL
cs.CL
Multi-agent debate has proven effective in improving large language models quality for reasoning and factuality tasks. While various role-playing strategies in multi-agent debates have been explored, in terms of the communication among agents, existing approaches adopt a brute force algorithm -- each agent can communicate with all other agents. In this paper, we systematically investigate the effect of communication connectivity in multi-agent systems. Our experiments on GPT and Mistral models reveal that multi-agent debates leveraging sparse communication topology can achieve comparable or superior performance while significantly reducing computational costs. Furthermore, we extend the multi-agent debate framework to multimodal reasoning and alignment labeling tasks, showcasing its broad applicability and effectiveness. Our findings underscore the importance of communication connectivity on enhancing the efficiency and effectiveness of the "society of minds" approach.
[ 0.0326106288, 0.0387477651, -0.0145692108, 0.0498450696, -0.078656882, -0.0192842856, 0.037735898, -0.0295998659, -0.0003906077, -0.0341992937, -0.013235894, -0.0570955388, 0.0116246855, 0.0026463298, 0.0166933425, -0.0297772214, 0.0570310578, -0.0315221027, 0.021554146, -0.0369576551, 0.0231330991, -0.0328018703, -0.0325762518, 0.0040171794, -0.0567721054, -0.0161841176, -0.0405382924, -0.0166995954, 0.0389768817, -0.0008898186, -0.0402239449, 0.0478450358, 0.0351722501, 0.0853592828, 0.0000018969, -0.0152891856, 0.001403925, -0.0019851078, -0.0451475233, -0.0062787249, 0.047149457, 0.02452356, 0.012136397, -0.0145793604, -0.0374500044, -0.0048843594, 0.0881619453, 0.0544219129, 0.1001340672, 0.0590396598, -0.0024474589, -0.0208542999, -0.0012766861, -0.0041428828, 0.0006816037, -0.0681789964, 0.0087125907, 0.0353890657, 0.025932068, -0.0110525042, -0.01943532, 0.0510651171, 0.0167183168, -0.0416655727, -0.0108014606, 0.0178703461, -0.0441452861, -0.0413961224, 0.0011873307, 0.0783309639, 0.0641089082, 0.0028765996, -0.0122474758, 0.0278617144, -0.0178424381, 0.0276385434, -0.0319253393, 0.029337734, -0.0122458367, -0.0006577185, 0.0213402528, -0.0027145317, 0.019196, 0.0013765185, -0.0317832902, 0.0870381147, -0.0129153859, -0.0194657352, -0.018499298, -0.0128402878, -0.0531947389, -0.084007062, -0.0098272106, -0.0109682102, -0.0647425428, 0.0196127892, -0.0311605893, -0.0143786808, -0.0033789419, -0.0110643329, 0.0227001905, 0.0200573802, 0.0297597889, 0.0757925734, 0.013609401, 0.03065289, -0.0163843408, 0.0427204892, 0.0191338416, -0.0389023647, -0.05278828, -0.023877481, -0.0332277641, 0.0473464504, -0.0281964093, -0.0241088718, 0.0212754104, 0.0123348692, -0.0499737933, 0.0319285356, 0.0004925593, 0.0066925352, -0.0178086124, -0.0428939536, -0.0472953878, 0.0320119187, -0.0336783789, 0.0119118867, 0.023734102, -0.0366167836, -0.0277201552, 0.0167518519, -0.0002739307, -0.0412613191, -0.035602048, 0.0479763448, -0.0423018485, 0.0083134156, 0.0288772359, -0.0121813929, -0.0090932976, -0.1182196513, -0.0216020755, -0.041786734, 0.0281172097, -0.01686332, -0.0189033467, -0.037483152, 0.0043779002, -0.0028620551, -0.0262074415, 0.1138999462, -0.0273471139, 0.0126165133, 0.0461748354, 0.0183645897, -0.0480554923, 0.0501916595, 0.048148904, 0.0010412727, 0.0256167091, 0.0234998465, -0.0032928293, 0.0323417559, 0.0195358396, 0.0276490077, 0.0472958311, -0.004354503, 0.0087630143, 0.0740878731, -0.0225684233, 0.0748442188, -0.0614331886, -0.0818097889, 0.0683018267, 0.0362923332, -0.0256335326, -0.0438511632, -0.0093497336, 0.0208943635, 0.0024884252, 0.0420431606, -0.0369614996, 0.0541519374, 0.0022622268, -0.0030308194, 0.0314907618, 0.0102072898, -0.0177981853, -0.0339132994, -0.0118077099, 0.028705731, 0.0402912013, 0.0220611487, 0.0213135034, -0.0301424786, -0.0602655895, 0.034200646, 0.03031593, -0.0434432626, -0.0419265777, -0.0348901153, 0.0272537638, 0.0004404635, 0.0522011593, -0.018427657, -0.0822079927, -0.0092118355, 0.0245541334, 0.0746143088, 0.0184801798, -0.0317824706, -0.0301965177, -0.075170733, -0.0328298584, 0.0012563679, 0.0034840198, 0.0269496106, -0.0157431047, -0.0365978703, -0.0255762804, 0.0025460224, 0.0081266733, -0.0054085506, 0.043842148, 0.0458395071, -0.0391695201, 0.0484242924, 0.0653169379, 0.0106194941, -0.0400375091, -0.0048868591, -0.0035008751, -0.0221146513, -0.0125698438, 0.005140915, -0.0305956695, -0.0620424971, 0.030739544, -0.0325447284, -0.0449178852, 0.009716318, -0.0252517108, -0.0363909192, 0.0190139227, -0.0632964075, -0.0302064866, -0.0373181999, -0.024396617, 0.0019504984, -0.0410430208, -0.050858479, 0.0695496053, 0.012507258, -0.0370229967, 0.018424388, 0.052184552, 0.0494005196, -0.0800279155, 0.0007803296, 0.0561623648, 0.0400734469, 0.021211341, 0.0516160503, -0.0376051515, -0.0069031636, -0.0417567678, -0.1090766788, -0.0230281055, 0.0027563961, -0.0035676234, -0.009736876, -0.0274154898, 0.0482179523, 0.0278201383, -0.0612924695, 0.0356563367, 0.0304707736, 0.0247752313, 0.0396714509, 0.035297472, -0.0370950103, -0.023069188, 0.0060864724, -0.0222718138, 0.0266390294, 0.0319927596, -0.03623119, -0.011433458, -0.0019926035, -0.0748767853, 0.0226080157, -0.0202014148, -0.0055722483, 0.0380068049, 0.0161679499, 0.0189874507, 0.0535464138, -0.0216496475, 0.0464930348, 0.0096339155, -0.0327670909, -0.0360984467, 0.0238799062, 0.0040666335, 0.0160968844, -0.0479502827, -0.0296109207, -0.0122046247, 0.0685281754, -0.0142844655, -0.0189350639, -0.0472330898, 0.0665166676, 0.0249876883, -0.0228950139, -0.0353772677, -0.00164363, -0.0040002721, 0.0512562804, -0.0802582949, 0.0104900729, 0.0959351063, -0.0176223218, 0.0095448606, -0.0341543183, 0.0130133452, -0.016129842, 0.0547683798, 0.023346059, 0.0376660377, -0.0023744293, -0.0182728209, -0.078029722, -0.0308623668, 0.0923203304, 0.0051497789, 0.0492767245, -0.0512157045, 0.0672887266, -0.0294507127, -0.0470006727, 0.0063952943, -0.0145607386, -0.0219606999, 0.025990909, 0.0152597995, 0.0119736781, -0.0828083828, 0.0349213295, 0.0249171201, -0.0183755569, 0.0188112576, 0.0093429973, -0.0422407389, 0.0232734531, 0.0148574188, 0.0596214049, 0.0097044222, -0.0435754061, -0.0014034774, 0.0588424318, 0.0243619662, -0.0432976782, 0.0009836876, -0.0214661211, -0.0068544536, 0.0120766917, 0.0074719959, -0.0322429091, 0.0638059676, -0.0376715511, 0.0136623075, 0.0614587031, 0.0333682783, -0.0035902935, -0.0323851965, -0.0033082541, 0.0526880398, 0.0031279295, -0.012008274, -0.0712359473, -0.0294358842, 0.0035116416, -0.0325984769, -0.0158822834, -0.0691721067, -0.0132958544, -0.0579858348, 0.0415333845, 0.0090111811, 0.0078999223, -0.0059838579, -0.0259811394, 0.0134852864, -0.0559391715, -0.0061173253, 0.0016505499, 0.0704658851, -0.0062252372, -0.0266527105, 0.0506658293, -0.0106697017, 0.0154035315, -0.0289565362, 0.0631418899, 0.0349827409, 0.036039751, 0.0045684678, -0.0867194012, 0.0028992856, 0.060907308, -0.0321183167, -0.0092553357, 0.0046264245, 0.0007989242, -0.0257839095, 0.0105489641, -0.0041390499, 0.0463477932, -0.01121403, -0.0112200398, 0.0527604073, -0.0192805398, -0.0003366602, 0.0165577736, 0.0043847007, 0.0205042381, 0.065213263, 0.0019493814, 0.0000078201, -0.0703648329, -0.0280264951, -0.0322152562, -0.0302743409, -0.0272595733, -0.0245810971, -0.0033874826, -0.0043212171, -0.0337366574, -0.0360240005, 0.0239980854, 0.0426524915, -0.022602044, -0.003935915, 0.0637147874, 0.0164066758, 0.0245866366, 0.0005312939, -0.0627990514, 0.0119906915, 0.0062441519, -0.0120258266, 0.0055487198, -0.0188843887, -0.017945122, 0.0273290612, -0.0602479503, -0.0762955025, -0.0147587173, 0.0377130359, 0.0232409872, 0.0286212042, 0.002730706, -0.0334171876, -0.0103949886, 0.0134141361, 0.0248749554, 0.0354473926, -0.0074960147, -0.0155000603, -0.0110706855, 0.0520069785, 0.0108940257, 0.0016489505, 0.0002743172, 0.0549518056, -0.0859114677, 0.0104497969, 0.0167692844, 0.0177919175, 0.0069110533, 0.0291193221, 0.01394621, -0.035242781, -0.0120093822, -0.0459727757, -0.0323308967, -0.0397224054, 0.0000700123, -0.0168792848, -0.032717485, 0.0586121604, -0.0058091492, 0.0229460336, 0.0277145337, 0.0391728543, 0.0023753701, 0.03356025, -0.0419181474, 0.0191771351, 0.0109796356, 0.0066354666, 0.0249863509, 0.0018552562, 0.0495048501, 0.0161281675, 0.0579214059, 0.0670401976, -0.0486516915, 0.0203666538, 0.0200063661, -0.0464286171, -0.0507829562, 0.0418457538, 0.0565695763, 0.0575670525, 0.061038319, -0.0034464251, -0.0406669192, -0.0221081264, 0.0057222126, 0.0166903883, 0.065596357, -0.0262548085, 0.0439161658, 0.0440775193, 0.0044823647, 0.0285531804, 0.0531048365, 0.015811896, 0.0331159495, -0.0029316896, -0.0210643616, -0.0430283844, -0.0337483883, -0.0376325548, 0.0505871065, -0.0033813112, 0.0517981313, -0.0572583266, -0.0319892354, 0.0057085766, 0.0515782647, 0.0238079038, -0.0050247312, 0.0573173314, 0.051018022, -0.0010286939, -0.0264239386, -0.0281560086, -0.0101858042, -0.0178769026, -0.0088570379, -0.0152007686, -6.544238599e-33, -0.0522683263, -0.0664559752, 0.0654187799, -0.0234093554, -0.0303533375, -0.0127869872, -0.0502464473, 0.0241871383, -0.0479096957, 0.0541658998, 0.0304832365, 0.0072061708, 0.0119336313, 0.010768705, -0.0324820094, -0.0248013586, 0.0220817085, 0.0037870398, -0.0242181793, -0.0045370627, 0.0179224312, -0.0501878709, 0.0112701636, -0.0576333627, 0.0068966756, 0.0272117835, -0.0184292886, 0.0599069744, -0.0399787799, 0.0374432169, -0.0183130242, 0.0271920189, -0.002050353, -0.0423662551, -0.0011180468, -0.0181636252, -0.0228843279, -0.0197990239, 0.0572193041, -0.020177789, -0.0482470989, -0.0369678475, -0.0085411966, 0.0017580058, -0.008254501, -0.0213756505, 0.0129449833, 0.0066311657, -0.0179084539, 0.0424340181, -0.0438713431, 0.0366237611, -0.0145069622, -0.0221048091, 0.0375118889, -0.0437588245, 0.0097461976, 0.0077840937, -0.1007934064, 0.0131738903, -0.0173355043, 0.0019896235, 0.0485469326, 0.0245455522, 0.0110038556, 0.0433590263, 0.0153953647, 0.0342118889, -0.0580918565, -0.0021746517, -0.0201912653, 0.0494920537, 0.0459229238, 0.0822852924, -0.0089617558, 0.026446484, -0.0354717337, -0.0267573483, 0.0082526356, 0.043402005, 0.0238932949, 0.0465050675, -0.0216201413, -0.0264695007, -0.0400514342, 0.0020734186, -0.0334299803, -0.0057344669, -0.0212845355, -0.0025060328, -0.0031582494, 0.0249028634, 0.0534779243, -0.0436838791, -0.0081828395, -0.0386395045, 0.0194809288, 0.0472706966, -0.0068179509, -0.0053542149, -0.0279129334, 0.0082095591, -0.0144387921, 0.0508256629, 0.0076413578, 0.0216675717, 0.0008546127, -0.0179557111, 0.0042269784, 0.0004922908, -0.0131909959, 0.0029902905, -0.0309406687, -0.0178674366, 0.0357176699, -0.0094962856, -0.0071467743, 0.0248476621, 0.0086914916, -0.0080760177, 0.0078389067, -0.0196587872, -0.0499958545, 0.0034574792, -0.0096541252, 0.0366660468, -0.053953588, -0.0243566558, 0.0080301408, -0.0138189672, -0.021519104, -0.0050824978, 2.709e-7, -0.0067340164, 0.0425547734, 0.0315860435, 0.020994382, 0.0214337744, 0.0704541728, 0.0015208805, -0.0124651827, -0.0031982493, -0.1169847175, -0.0038252827, 0.0665337145, 0.0250380989, 0.0356687345, -0.042622555, -0.0217935629, -0.037062645, -0.0485279001, -0.0447689556, 0.0141204083, 0.0618813708, 0.048509486, 0.0134081757, 0.019934848, 0.0003887443, 0.0003100096, 0.055506248, 0.0239592474, -0.0388300978, 0.0444903374, 0.047422301, -0.0850635394, -0.0022824698, 0.0494225509, 0.0422461294, -0.0007472733, -0.000332526, 0.0230885036, -0.0304813664, -0.0185454991, -0.0383600332, -0.0162109565, -0.0289485529, -0.0304147433, 0.0520676076, -0.0658413172, -0.0726083666, 0.004300958, 0.0006160773, 0.0000620773, 0.0340551995, 0.0010735799, -0.0512078442, 0.0057098726, -0.0039068907, -0.0111188432, 0.0262911227, -0.0489491671, 0.0050159101, 0.0315583274, -0.0473576039, -0.0558468923, 0.0345521308, -0.0179490205, 0.051940158, -0.0333325341, -0.0273371115, 2.245671755e-34, 0.0693685487, -0.0047514271, 0.0193108413, 0.0202648025, 0.0598104708, -0.0096826302, -0.0473540202, -0.0244891699, 0.0180667918, -0.0761513636, -0.0007335437 ]
http://arxiv.org/abs/2406.11768v1
http://arxiv.org/pdf/2406.11768v1
GAMA: A Large Audio-Language Model with Advanced Audio Understanding and Complex Reasoning Abilities
2024-06-17T17:31:01
2024-06-17T17:31:01
Sreyan Ghosh, Sonal Kumar, Ashish Seth, Chandra Kiran Reddy Evuru, Utkarsh Tyagi, S Sakshi, Oriol Nieto, Ramani Duraiswami, Dinesh Manocha
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS
Perceiving and understanding non-speech sounds and non-verbal speech is essential to making decisions that help us interact with our surroundings. In this paper, we propose GAMA, a novel General-purpose Large Audio-Language Model (LALM) with Advanced Audio Understanding and Complex Reasoning Abilities. We build GAMA by integrating an LLM with multiple types of audio representations, including features from a custom Audio Q-Former, a multi-layer aggregator that aggregates features from multiple layers of an audio encoder. We fine-tune GAMA on a large-scale audio-language dataset, which augments it with audio understanding capabilities. Next, we propose CompA-R (Instruction-Tuning for Complex Audio Reasoning), a synthetically generated instruction-tuning (IT) dataset with instructions that require the model to perform complex reasoning on the input audio. We instruction-tune GAMA with CompA-R to endow it with complex reasoning abilities, where we further add a soft prompt as input with high-level semantic evidence by leveraging event tags of the input audio. Finally, we also propose CompA-R-test, a human-labeled evaluation dataset for evaluating the capabilities of LALMs on open-ended audio question-answering that requires complex reasoning. Through automated and expert human evaluations, we show that GAMA outperforms all other LALMs in literature on diverse audio understanding tasks by margins of 1%-84%. Further, GAMA IT-ed on CompA-R proves to be superior in its complex reasoning and instruction following capabilities.
[ -0.006116393, 0.0181710105, -0.0048793484, 0.0423393808, 0.0145500712, 0.0109842308, 0.0255359877, -0.0348786861, -0.0096877813, -0.0134457173, -0.0589157641, 0.0051972093, -0.0118502686, 0.0415876918, 0.0268023517, -0.048499614, 0.0378873795, -0.0637720153, 0.038671229, -0.0114828711, 0.0014895584, 0.0172578581, -0.0516909994, 0.049889572, 0.0028906411, -0.0040893224, -0.0197830144, 0.0395355821, 0.020346716, -0.0215198565, -0.0137970885, 0.007684825, 0.0632996708, -0.0091109248, 0.0000016664, -0.0362275466, 0.0302268937, -0.0117228068, -0.0546111278, -0.0166328978, -0.0665308684, 0.0372566767, -0.0358524956, 0.0391606353, -0.0298345275, 0.0004447614, 0.014602256, 0.0189041346, 0.0505741686, 0.0842542276, -0.0064152703, -0.0762243494, 0.0134080462, -0.0231994577, 0.0285730157, -0.0624083951, -0.0065531223, 0.0072184722, 0.0474646576, 0.0114400871, -0.0144008175, 0.0373037569, 0.0423641615, -0.0027520705, -0.0052707777, 0.0315276757, -0.0344289467, -0.0079806149, -0.0284817014, 0.0877810866, 0.0253133588, 0.009543811, 0.0190791525, 0.0370152071, -0.0064409371, -0.0353617631, -0.0601983406, 0.0261073727, 0.0075438078, 0.0293360185, -0.0208878219, 0.0217069034, 0.0364635848, -0.0163763892, 0.0053033289, 0.0879970938, -0.0090402961, -0.0279686507, 0.0318630151, -0.0239870884, -0.044871252, -0.0348441191, 0.0309327524, 0.063544482, -0.0555609837, 0.0001837183, -0.0119257495, 0.0514907576, 0.0020015312, -0.0244782902, 0.0227543768, 0.0446170419, -0.0329511091, 0.1039096639, -0.0215532705, 0.0264723208, -0.0153526738, 0.0053624623, -0.0059563974, -0.0204711612, -0.0422042124, -0.0352086537, -0.0075847353, 0.026218405, -0.0241144132, -0.0275132228, -0.0161665156, 0.0125385523, -0.0574145205, 0.0368824974, -0.0042410819, 0.0099493861, 0.00968087, -0.0102538737, -0.0207553878, 0.0038611111, -0.0734777227, 0.0904283896, 0.0009388553, -0.0381027237, -0.0160239246, 0.0012078681, 0.0224306379, -0.0047449288, 0.0411858968, 0.0607464276, -0.0342113115, 0.0031199052, -0.0261777434, -0.0350674875, 0.0214238111, -0.0667351112, -0.0282174274, -0.0473057777, 0.0456548668, -0.0161147006, -0.0297016632, -0.0155162644, -0.0178847574, 0.0358830579, 0.0199222844, 0.0701201335, 0.0222770907, 0.0586321317, 0.0635606498, 0.0334484652, -0.0185818672, 0.0441049375, 0.0673275515, -0.0274378117, 0.0261179246, -0.0298747234, 0.0086276745, 0.0422242656, -0.0021694773, -0.0406105481, -0.0097910324, 0.0325561576, -0.0603831373, 0.0474640988, 0.0193185266, 0.0524418019, -0.0301969964, -0.048805695, 0.0285084266, 0.0533548109, -0.0117806038, -0.0204476491, 0.0291890725, 0.0026414192, 0.0200742073, 0.0122328028, -0.0344440639, 0.0793196559, -0.0309394225, 0.020522289, 0.0323945656, 0.006991894, -0.0333095565, -0.015781099, -0.0145458197, 0.0157312248, 0.0366074033, 0.0365295671, 0.0020653491, -0.0074310484, -0.0354253612, 0.0192558188, -0.0201991219, -0.0286682732, -0.013638217, -0.057740014, 0.0681525767, 0.086927779, 0.035211809, -0.0581501201, -0.0147611005, -0.0103773354, 0.0287535079, 0.0532444678, 0.0118415374, -0.0206232164, 0.0286915246, -0.0491585322, -0.0365655124, -0.0385671407, -0.0150338737, 0.0370446816, 0.0119791385, 0.0165552013, 0.006471491, -0.0019871679, 0.0448913723, -0.0109743485, -0.0074256859, -0.0370551459, -0.0143604083, 0.0061404351, 0.0343609117, 0.0295069888, -0.0103034871, 0.0190644674, 0.0363497324, -0.0191818364, -0.0108655784, -0.0044256025, -0.0827627555, -0.0188320857, 0.0422783196, -0.0536989085, -0.0170619376, 0.0368247144, -0.0241995286, -0.0602242798, 0.0366679206, -0.0291546285, 0.0202623084, -0.0477370434, -0.0059265867, 0.0328673013, 0.02738823, 0.0089315595, 0.0180129241, 0.0325614959, -0.0173227265, 0.0352417789, 0.0374077372, 0.0089159878, -0.0463630036, -0.0280335266, 0.0375593863, -0.0015478309, 0.0037018682, -0.033708021, -0.0235323906, -0.0666576773, -0.0138954092, -0.0835876316, 0.0319371969, -0.0115828291, 0.0123096863, 0.0055385558, -0.0321155041, -0.0030639011, -0.0481458977, -0.0671327412, -0.0131737106, 0.0200754795, 0.0091661662, -0.0432840101, -0.003606502, -0.0353448838, -0.0176094901, -0.0057736463, 0.0049379589, -0.0013162721, -0.0103209689, 0.0339306965, -0.0230607446, -0.0355379246, -0.0411335118, 0.0294748154, -0.0119431131, -0.0263192579, 0.011573622, 0.0040856032, 0.0152235078, 0.0624174029, -0.0018700071, 0.0050281649, 0.0412685238, -0.015757516, -0.0459983423, 0.0484389663, 0.0104818344, -0.0098639121, -0.0360218696, 0.018339647, -0.0284194853, 0.0528658219, 0.025672704, 0.0224839747, -0.0401963331, -0.0185999516, -0.0060833734, -0.0243016947, -0.0472089648, -0.0666415766, -0.0398609564, 0.0610099994, -0.0383207127, -0.0082564401, 0.1030189991, -0.0453326292, -0.0528198518, -0.0494478345, -0.0608718134, -0.0416894108, 0.0423466936, -0.0536627397, -0.0056064986, -0.0019129504, -0.0267814547, -0.0442492329, -0.0004882499, 0.0251222588, -0.0711235479, 0.019963935, -0.0322083682, 0.0012910378, 0.0100193089, -0.0303896647, -0.0369004719, -0.0061132507, -0.0242324192, 0.0232856646, -0.0184581485, -0.0090924772, -0.0325618871, 0.0231706724, 0.0353087634, 0.0433540978, 0.0001650185, 0.0027342383, -0.0194868483, 0.0324006192, 0.0479204096, 0.0665100068, -0.0356261693, -0.0105283614, 0.0518878214, 0.0239585415, 0.0387286656, -0.038525708, -0.0190968122, 0.0564586148, 0.0301892292, 0.0095516928, -0.0231109001, 0.0549617968, 0.0465535708, -0.0797538757, 0.0146650318, 0.1210236698, 0.0369977467, -0.0250479802, -0.0127250906, 0.0114976764, 0.0261003654, 0.0259485338, 0.0295939222, -0.0585467033, -0.0501538143, 0.039415326, 0.0382764339, 0.0148356892, 0.0297129583, 0.0060302517, -0.0872253105, 0.0440313332, 0.0001227477, -0.0346147679, -0.0319244452, -0.0175611079, 0.00511669, 0.0053895987, 0.0194052979, 0.0044893045, -0.0100364434, -0.014978799, 0.0221454594, -0.023159612, -0.0600281619, 0.089653641, -0.027745029, 0.0679938942, 0.073147051, 0.0174798779, -0.0139763467, -0.048335731, 0.029308401, -0.0179366674, 0.005228959, 0.0238355193, 0.0272726733, 0.0193115454, -0.0257270075, 0.002534444, 0.0498355553, -0.027412679, -0.0389635563, 0.0164844859, 0.089567326, -0.0178055353, 0.0134841427, -0.0256295167, 0.043321155, -0.0292117875, 0.0789424255, 0.0285243075, -0.0128816674, -0.0106169423, -0.0158577729, -0.0495981574, -0.0727272183, -0.0203262065, 0.0229328088, 0.0274515841, -0.017987892, -0.0330495052, -0.0028917305, 0.020573603, 0.0328425653, 0.008645176, -0.0067570778, 0.0092546158, 0.0182513762, -0.062939316, 0.0449475013, 0.0009619145, 0.062423531, -0.0426422022, -0.02633694, 0.0379952006, -0.0265083499, -0.0256028231, 0.0271316972, -0.0324912444, -0.0611153319, -0.0109818354, 0.0193364415, 0.0298503451, 0.0375997424, -0.0197415184, -0.0515110679, 0.0180319902, -0.003939752, -0.0660964102, 0.0398864634, 0.0361199528, -0.0016199263, -0.0012390915, 0.0380619727, -0.0733605549, 0.0291237365, -0.0176160876, 0.0442356393, -0.0340680443, -0.0161302872, 0.0065262555, -0.0335063897, 0.0167020429, 0.0128027489, 0.029518526, -0.0323897712, 0.0465438291, 0.0042426451, 0.0200361554, -0.0403839834, -0.012242456, 0.0131359361, -0.0216709469, -0.0272328127, 0.0006892227, -0.0038351887, -0.0063359998, -0.0278659835, 0.043202471, 0.0263916776, -0.0486420095, 0.0065647112, -0.0155996839, 0.0058381651, 0.0035207453, 0.0031685461, 0.0373578854, 0.0456155688, 0.0669773519, 0.0013393842, -0.0069321357, -0.0076348092, 0.0227869861, -0.0654269755, -0.0279347599, 0.0230389498, 0.0354823805, 0.0442237705, 0.0040706312, -0.0065560839, 0.0308468491, 0.004004552, 0.0015622559, 0.0044306531, -0.0162717346, -0.0241403263, 0.0464791059, 0.0527042337, -0.0218930617, -0.0098664491, 0.0471503213, -0.0345960073, 0.0253647529, -0.0658120513, 0.0466034263, -0.0255469885, -0.0365292318, -0.0286304466, 0.0415244959, 0.0034808244, 0.0073702503, -0.0170540046, -0.0777019039, -0.0407158807, 0.0103703924, 0.0086697945, -0.0159879643, 0.0369371921, 0.0375968069, 0.0027904687, -0.0146113774, 0.0333145261, -0.0465971231, -0.0516057685, -0.0148043577, 0.0056711058, -5.988078793e-33, -0.0400350392, -0.0227150898, 0.0212629344, -0.0234070756, -0.0034119352, -0.0065693348, -0.0635405034, -0.0077757756, -0.0099425809, -0.0026192644, -0.0032564541, 0.012625576, 0.0266343821, 0.0208257083, 0.0126084033, -0.0422325023, 0.0398513637, -0.014650167, -0.0250538979, 0.0107176453, 0.0457498282, 0.0099293254, 0.0007795308, -0.0562630035, -0.0333043225, 0.0027068143, -0.0287520289, 0.0117544048, -0.0426031388, 0.0980368629, 0.0115019204, 0.0036081616, 0.0105466638, -0.0665697455, -0.005446176, 0.0434599854, -0.1016904935, -0.0105548203, 0.0307109058, 0.0331314169, -0.0131268296, -0.0270738117, 0.0276266541, 0.0108665954, -0.0060673854, -0.0334140025, 0.0217410531, -0.0189134125, 0.014151915, -0.0444105901, -0.007423698, 0.0060293381, -0.0542117134, -0.0553946793, 0.0189547855, 0.0406197235, -0.0208124947, 0.0198428929, -0.0433306247, 0.0223533399, -0.0219014119, 0.0011904553, 0.0656631887, 0.0295086503, -0.0248097032, 0.0421816707, 0.0372377299, -0.0455585532, -0.0628462508, -0.0069826473, -0.0116081396, 0.0479791984, 0.0182297453, -0.0093575697, 0.0368667133, 0.0130856037, -0.018494321, 0.0171868484, -0.0139572406, 0.033754535, 0.0224821772, 0.0577327162, -0.042826388, -0.0047240104, -0.0544224828, 0.04990777, -0.0596434325, -0.0233214963, 0.0733377784, 0.0022026522, 0.0166080054, -0.0061070076, 0.0248188302, -0.0268108584, 0.0343769193, 0.005502095, -0.0239658784, 0.0117056882, 0.0133131063, 0.0177034959, -0.0045845779, 0.0054268008, 0.107453011, -0.0257996153, 0.0354055129, -0.0102150897, 0.0047728764, 0.0809741765, -0.0595087409, -0.0032243175, -0.0192138944, 0.012430666, -0.0059782304, 0.0158150941, 0.0065377546, 0.0294783097, -0.0455961227, 0.0300486702, -0.0571408123, 0.0207626596, -0.0375145152, -0.039293047, -0.0485969558, 0.0412586555, -0.0358214602, 0.0287014581, -0.0214788076, -0.0547612235, -0.0267760083, -0.0476591736, -0.011800197, 0.0446837321, 2.646e-7, -0.0260080658, -0.0128717469, 0.0023208095, 0.0419144519, 0.0323493034, 0.0229253974, -0.0577617697, -0.0100717787, 0.0296866037, -0.0262022521, 0.0072461306, 0.0637553632, 0.0770026147, 0.011981938, -0.1076656953, -0.0182013605, -0.0523453243, -0.0002190753, -0.0544529669, -0.0002979637, 0.0900483951, 0.1040669158, 0.023056386, -0.0157560837, 0.0360999443, -0.0389479958, 0.0198229346, -0.0023327225, 0.0144354729, -0.053894747, 0.0233555567, 0.0015607155, -0.0135171162, 0.0311072525, -0.0490177833, 0.023994159, 0.018007962, 0.0907504186, 0.027384175, -0.089868769, -0.0136861252, 0.0107364561, -0.0017112937, -0.0191134382, 0.0997703448, -0.0163158868, -0.0488477498, 0.0025282383, -0.0454053506, -0.0461176485, -0.0128644779, -0.0104587069, 0.0145798903, -0.0417742245, 0.0037893574, -0.0172290727, -0.0005201265, -0.0915131196, -0.0005345101, 0.0528505594, -0.0669003949, -0.0088705542, -0.0363082476, -0.0178496018, 0.0334164761, -0.0346780047, -0.0257792957, 2.002087514e-34, 0.032738056, -0.038865298, 0.0279772766, 0.0299437549, 0.0285040904, 0.0086720688, -0.0275343228, -0.0077878023, 0.0390450768, -0.0576824918, -0.0080658449 ]
http://arxiv.org/abs/2406.11939v1
http://arxiv.org/pdf/2406.11939v1
From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipeline
2024-06-17T17:26:10
2024-06-17T17:26:10
Tianle Li, Wei-Lin Chiang, Evan Frick, Lisa Dunlap, Tianhao Wu, Banghua Zhu, Joseph E. Gonzalez, Ion Stoica
cs.LG
cs.LG, cs.AI, cs.CL
The rapid evolution of language models has necessitated the development of more challenging benchmarks. Current static benchmarks often struggle to consistently distinguish between the capabilities of different models and fail to align with real-world user preferences. On the other hand, live crowd-sourced platforms like the Chatbot Arena collect a wide range of natural prompts and user feedback. However, these prompts vary in sophistication and the feedback cannot be applied offline to new models. In order to ensure that benchmarks keep up with the pace of LLM development, we address how one can evaluate benchmarks on their ability to confidently separate models and their alignment with human preference. Under these principles, we developed BenchBuilder, a living benchmark that filters high-quality prompts from live data sources to enable offline evaluation on fresh, challenging prompts. BenchBuilder identifies seven indicators of a high-quality prompt, such as the requirement for domain knowledge, and utilizes an LLM annotator to select a high-quality subset of prompts from various topic clusters. The LLM evaluation process employs an LLM judge to ensure a fully automated, high-quality, and constantly updating benchmark. We apply BenchBuilder on prompts from the Chatbot Arena to create Arena-Hard-Auto v0.1: 500 challenging user prompts from a wide range of tasks. Arena-Hard-Auto v0.1 offers 3x tighter confidence intervals than MT-Bench and achieves a state-of-the-art 89.1% agreement with human preference rankings, all at a cost of only $25 and without human labelers. The BenchBuilder pipeline enhances evaluation benchmarks and provides a valuable tool for developers, enabling them to extract high-quality benchmarks from extensive data with minimal effort.
[ 0.0508490503, 0.0357269198, -0.0164627377, 0.0502987653, -0.0398958996, -0.0010742338, -0.0169535074, 0.0092725987, 0.0193093047, -0.0315004624, -0.0636581928, -0.0267152879, -0.0067681824, 0.034678068, 0.0128819244, -0.0409515947, 0.0218378529, -0.0366337858, 0.0016401459, 0.0184540767, 0.0139294248, 0.017438652, -0.044428505, 0.0853489563, -0.0013420149, -0.0032565312, 0.0039349394, 0.0149025247, -0.0175469555, -0.0563551262, 0.025918046, 0.0646137372, -0.0192929748, -0.001459343, 0.0000022053, -0.0669129267, 0.0079903714, -0.019654911, -0.0445930958, -0.0193401128, 0.038208317, 0.0537594967, -0.014634138, 0.0123533485, -0.047721073, 0.0211703256, 0.0248733461, -0.0145178372, 0.054178264, 0.0619010217, 0.011900574, 0.0470746644, 0.0021824483, -0.0184453521, 0.0076961126, -0.0709409565, -0.0240505412, -0.009978015, 0.0663145036, 0.0106772985, 0.0190632045, 0.009050834, 0.0168936998, -0.0218099039, 0.0354542509, 0.0110973623, -0.0740681067, -0.0389576554, -0.0255568251, 0.1044514328, 0.0121001108, -0.0160227809, 0.0106468135, -0.0188222472, 0.0243942402, 0.0206762496, -0.0486112684, 0.0011205298, 0.0032898656, -0.0038145769, -0.026923025, 0.0023110278, 0.0095407553, 0.0076404638, 0.0339363292, 0.0824406818, 0.0133871362, -0.0030563592, 0.0204632338, 0.0156051265, 0.013822915, -0.086500518, 0.0171773508, 0.0037538703, -0.0735869706, 0.0114846053, -0.0222448334, -0.0072518755, 0.0329320431, -0.0318903662, 0.0328112133, 0.0461069569, -0.0397534296, 0.057379555, 0.0149022928, 0.0575408377, 0.0307642501, 0.0111362375, -0.0223056637, 0.005683783, -0.0258303247, 0.0115099726, -0.0223021004, 0.0217225291, -0.0145774065, 0.0019553376, -0.0312792771, 0.0357330963, -0.0248954017, 0.0324185863, 0.0139212664, -0.0011850331, -0.0210881662, -0.0082385847, -0.0534368977, -0.0128079196, -0.0726795867, 0.0094905896, 0.0506170727, -0.1096345633, 0.0207808819, 0.0254647564, -0.02400079, -0.0168111417, 0.0018528214, 0.0798404366, 0.0069072517, -0.0156913977, -0.0192757677, -0.0159177631, -0.0036271384, -0.056254711, -0.0040401681, -0.0788383707, 0.0241049696, 0.0108252373, -0.0121368608, -0.049142316, 0.0010576916, 0.0336377025, 0.0076067853, 0.0490641557, -0.0257036854, 0.000280904, 0.0451934524, 0.0283999704, -0.0636783764, 0.0719534382, 0.0152135435, 0.0478846356, 0.0551446378, -0.0001065146, 0.0266048145, 0.0560019799, -0.0224227197, 0.0046973913, -0.0139448261, 0.0251753405, -0.0170544125, 0.0558144599, 0.01081484, 0.0494582057, -0.0202779714, -0.0041707349, 0.0714562535, 0.0742923841, -0.0199999232, -0.0303194877, 0.031969782, 0.0265015252, 0.041741468, 0.0039059815, -0.051631514, 0.0316915251, -0.0325715281, -0.0101851169, 0.0252031181, 0.0042367545, -0.0059481198, -0.0412827022, -0.0100754965, -0.0024302751, -0.0031431075, -0.0049204445, 0.0458003543, 0.0140753109, -0.0292128064, 0.0495710783, 0.0099383052, -0.0524812452, -0.0226046797, -0.0366705135, 0.0205985848, 0.054635454, 0.0572322048, -0.0273778532, -0.0608709529, 0.0051248665, 0.0032145816, 0.0704723522, 0.0612318404, -0.0146522969, -0.0229338575, -0.0356477872, -0.0253868811, 0.0030922405, 0.0009283983, -0.0033896507, 0.0405704416, 0.0021054989, -0.0107579017, -0.0679878816, -0.0373942927, 0.0337761752, -0.0308796037, -0.0058983183, -0.0253480319, -0.0168825891, 0.0325921886, 0.0254534781, 0.0051043523, 0.0087489365, 0.0386487469, -0.0110244406, 0.0006880959, 0.0158036128, -0.0436335243, 0.0010043592, 0.0484197251, -0.0310303029, -0.0581741668, 0.0534965843, -0.0142805316, -0.000207293, -0.0280518308, -0.0187341161, 0.0244446788, -0.0266268719, 0.041424375, -0.0249122307, -0.0197386723, -0.0336748287, 0.0396363027, -0.0126950471, 0.0128006572, 0.0267081652, 0.0081374943, -0.0070495578, -0.038037274, -0.026480414, 0.0439367555, -0.018048821, 0.0240103714, 0.0308764707, 0.0332551114, -0.0965722054, -0.0106142228, -0.1015435681, 0.0148867294, -0.0213308781, -0.0015888847, 0.0113955652, -0.00151271, -0.0177634452, -0.0228593312, -0.0457216389, -0.028448401, -0.0014874403, 0.0397450477, 0.046248015, -0.0124575589, -0.0004854733, -0.0555890277, 0.0197366867, 0.0028941368, 0.0155846588, 0.0047458378, 0.0066179377, -0.0243104305, 0.0400537178, -0.0275623444, 0.0015946706, -0.0131798368, -0.0311304796, 0.0505077951, 0.0021949224, 0.0392375365, 0.044269748, 0.040759109, 0.0125143733, 0.0420922339, 0.0059615644, -0.0784487128, -0.0165348724, 0.0199802686, -0.0237697866, -0.0207271501, -0.0298397802, 0.0450601876, 0.0524202771, -0.0090575749, 0.0316718668, -0.0539859124, 0.0156201106, -0.0283805802, -0.0335673243, -0.0551668331, 0.0090120025, -0.0539882965, 0.0590340942, -0.0260718074, -0.0548136719, 0.0789014325, -0.0540833287, -0.005202041, -0.0149571793, -0.0272047333, -0.0378650241, 0.0318039358, -0.0157965869, 0.0107410979, -0.0014018052, -0.0063054054, -0.0366218351, 0.0078461561, 0.0342607014, -0.0676162988, 0.0269792862, -0.0608872175, 0.0112937316, 0.0091600772, -0.0468396321, -0.0514012948, -0.0337862596, -0.0661359876, -0.012140369, 0.0401439518, -0.0289474037, 0.0014229324, -0.0115919095, -0.0092211682, 0.0516207814, 0.0075236945, -0.0183126442, 0.0032840311, 0.0139857931, 0.027519824, 0.0574325249, -0.0178694148, -0.0193301309, 0.0075791222, 0.0486350618, 0.0537046343, -0.0225504022, -0.0403131843, 0.0081864884, 0.0537902974, -0.0460110009, -0.0164068118, 0.0396912098, 0.0615564026, -0.0428176895, 0.007820297, 0.1118132696, 0.0143021289, -0.0423761606, 0.009041423, -0.0364291035, 0.0449269898, 0.0404777303, 0.0209874604, -0.1135885641, -0.0413361751, 0.0286455359, 0.0559641793, 0.0001616185, -0.0427739546, -0.0095225824, -0.1449060291, 0.0288837627, -0.0227664635, -0.0408415608, 0.0282917488, -0.0477965996, 0.0138613209, -0.0225069821, 0.0204818081, 0.0196687318, 0.0020015268, 0.0095726438, 0.0119295623, -0.0687048137, -0.050534144, 0.0605132729, -0.055872824, 0.0989845246, 0.0561335869, 0.0410188325, 0.0134034315, -0.0385585539, 0.0618956126, 0.0387958921, 0.0140783237, -0.0151337981, 0.051980678, -0.0089572603, -0.0052249897, -0.0189554673, 0.0047699162, -0.0252185557, -0.0096139601, 0.0255106594, 0.0421249792, -0.0081259757, 0.010835276, -0.0188285578, 0.0145931281, 0.0083985357, 0.079283841, 0.0494816415, -0.0489482582, -0.0163519587, -0.0478912294, -0.0153526887, -0.0260175765, -0.0709755197, -0.0083456216, -0.0174334981, -0.0020510333, -0.0850515515, -0.0352281183, 0.0320684537, 0.024849534, 0.0044780644, 0.016258195, -0.0091949711, -0.0079019787, -0.0169037823, 0.0660332292, -0.0297391284, 0.0217361897, -0.1071939766, -0.0023835383, 0.0338942967, -0.0366660729, -0.0116984276, 0.0424126722, -0.0636690035, -0.0567981862, 0.0039003203, 0.0325757153, 0.0241014734, 0.0191971995, -0.0208056066, -0.0713596046, -0.0100711221, 0.0256293286, -0.0476220846, 0.0081191333, 0.0055710454, 0.026596779, -0.0122952033, 0.0096188486, -0.0690607131, 0.0059539275, -0.0039415648, 0.0349390469, -0.0056662001, -0.0805951878, 0.0226100013, 0.0643909574, 0.0407972559, -0.0149709722, -0.0419098139, -0.0116580091, -0.001090916, 0.0067114932, -0.0326911844, -0.0475650951, -0.0081436187, -0.0015034579, -0.0209498219, 0.0199280307, 0.0573104806, -0.0369651802, 0.0483106896, -0.0378871001, 0.0141698252, 0.03595737, 0.0389219448, 0.0140123907, 0.005641202, -0.0146200052, 0.0063428101, -0.0157322381, 0.0856607929, -0.0029654859, 0.0312648304, 0.0046985745, -0.0149065303, 0.0583932698, 0.0517834723, -0.0416255705, -0.0625013933, -0.0080285249, 0.0534321778, 0.0587501675, 0.0167798903, 0.0379253849, -0.0011875074, 0.0033727081, -0.0262182932, -0.0019465868, -0.0105334753, -0.0133914426, -0.0035813903, 0.0260383151, -0.0228377581, 0.0263984948, 0.0602875017, 0.0071912333, 0.0183432661, -0.0030584743, 0.0176227987, -0.0518849939, 0.0065646069, 0.0093115894, 0.0082700206, -0.0079387734, -0.042531535, -0.0686357021, -0.0485749692, 0.0106631583, 0.0299944449, -0.0137563301, 0.0012249496, 0.0614055991, 0.0545415133, -0.0282377284, 0.0013230526, -0.0461606868, -0.0156714823, -0.0315107144, -0.0062998631, -0.0363281071, -6.382153356e-33, -0.0285799168, -0.0626581758, 0.0237296559, -0.0192917157, -0.0180653483, -0.009640323, -0.0325468034, 0.0237643458, -0.0087366505, -0.0078542773, -0.0360971317, -0.0014512721, 0.0157781001, -0.0212114286, 0.0143252127, -0.0324355438, 0.0387426391, -0.0172643773, -0.0654981956, 0.008056527, -0.0057312972, 0.0133837098, 0.0214230753, -0.0779646933, 0.0544496737, 0.0041924291, -0.0216476098, 0.0135509372, 0.0216130204, 0.0580474734, 0.014634354, 0.0433480814, 0.014261364, -0.041508235, -0.0209245421, -0.0096737333, -0.0331213623, -0.0420710109, 0.0200934913, 0.0095664831, -0.0339085571, -0.0210250523, 0.0348927528, -0.0064809462, -0.0446290001, 0.0402201265, 0.0363267325, -0.0323832184, -0.0049336455, 0.009042657, -0.0371278487, 0.0254529491, -0.0212085322, -0.0329212062, -0.00402926, 0.0532568134, -0.0207801405, 0.0376756452, -0.0525171012, 0.0450708121, -0.032209266, 0.0131993797, 0.1191199273, 0.0053006406, -0.0150864376, 0.0924287289, 0.0224113483, 0.0354812481, 0.0208923928, -0.0302354898, 0.0306312982, 0.0938294977, 0.0466561876, 0.0681644231, 0.008459758, 0.0005395927, 0.0084222602, 0.0872564167, 0.0442854315, -0.009987927, -0.0084530627, 0.0342342928, -0.0621140786, -0.0056282543, -0.0402695984, 0.0190963466, -0.0381879434, -0.0239355154, 0.0551925711, -0.0207309425, -0.0141364643, -0.0364324488, -0.0015988821, -0.0203836262, -0.0091088815, -0.0004645897, -0.0251477119, 0.0287533272, 0.0101543125, 0.0222008694, -0.0290748533, 0.004517396, 0.0035133273, 0.0359028801, 0.0540162176, 0.0064756558, -0.0175330639, 0.0034149545, -0.0442335084, 0.0083585316, -0.0266391858, 0.0080740061, -0.0210893154, 0.0079506552, 0.0304753259, -0.0335120223, -0.0368611477, 0.07725209, -0.0001360462, -0.0038561928, -0.0533844009, 0.0157142635, -0.0015833856, -0.0181757342, -0.0215268843, -0.0104613025, -0.0252230316, 0.0248720907, 0.0403490588, -0.0119244475, -0.0172875095, -0.0258250628, 2.767e-7, 0.0208987519, 0.058439929, 0.0181418695, 0.0267614517, -0.0332140774, 0.0477945022, -0.0348152556, 0.0079421541, 0.0266195443, -0.0155150285, -0.0247595478, 0.0266463067, 0.0724852681, 0.0400993675, -0.0956709757, -0.0197906755, -0.0629657432, 0.0092775095, -0.0413577482, -0.0081134513, 0.0277762823, 0.0220015105, -0.0071446993, -0.015475749, -0.0106695658, -0.0413846709, 0.0204110406, -0.0639622286, -0.0220229682, 0.0393804908, 0.0411825702, 0.025212286, 0.0043174545, -0.004133781, -0.0215296112, -0.0264618043, 0.033469893, 0.0588774048, 0.0257379021, -0.041186966, -0.0008745433, -0.0129109472, 0.0034381787, -0.0336982086, 0.04635638, -0.0179556347, -0.0103745125, -0.0605507568, -0.0238057394, -0.0309740771, 0.0242393985, -0.0386685431, -0.0156906322, -0.000601562, 0.0122057796, -0.0067972336, -0.0496137254, -0.0269623194, -0.029416956, 0.0000012888, -0.0420567952, -0.0845698565, -0.052799236, 0.0012456056, -0.0364792086, -0.0435118228, 0.0118703982, 2.487783413e-34, 0.0157478936, 0.0114194015, 0.0382469818, 0.0521891862, 0.0358150341, 0.0301800612, 0.0007652641, 0.0108999796, 0.0023334306, -0.034239281, 0.0161694791 ]
http://arxiv.org/abs/2406.11757v1
http://arxiv.org/pdf/2406.11757v1
STAR: SocioTechnical Approach to Red Teaming Language Models
2024-06-17T17:16:45
2024-06-17T17:16:45
Laura Weidinger, John Mellor, Bernat Guillen Pegueroles, Nahema Marchal, Ravin Kumar, Kristian Lum, Canfer Akbulut, Mark Diaz, Stevie Bergman, Mikel Rodriguez, Verena Rieser, William Isaac
cs.AI
cs.AI, cs.CL, cs.CY, cs.HC
This research introduces STAR, a sociotechnical framework that improves on current best practices for red teaming safety of large language models. STAR makes two key contributions: it enhances steerability by generating parameterised instructions for human red teamers, leading to improved coverage of the risk surface. Parameterised instructions also provide more detailed insights into model failures at no increased cost. Second, STAR improves signal quality by matching demographics to assess harms for specific groups, resulting in more sensitive annotations. STAR further employs a novel step of arbitration to leverage diverse viewpoints and improve label reliability, treating disagreement not as noise but as a valuable contribution to signal quality.
[ 0.0166199654, 0.0358656794, -0.0075876848, -0.0021683597, -0.0209776424, 0.0011850897, 0.0210866574, -0.0170326866, -0.0082740821, -0.0682184994, -0.0093004135, 0.0010969285, 0.0032440422, 0.0039620418, 0.0248810388, -0.0486875214, 0.0636289045, -0.0541340113, 0.0223462693, 0.0008921367, 0.0392968655, 0.0222183168, 0.0089071142, 0.0701140836, -0.0268516727, -0.0150803691, 0.008603923, 0.0074758925, 0.0464512371, -0.0094873523, 0.0336712785, 0.0714814141, -0.0094219046, 0.0506398529, 0.0000020231, -0.0208757184, -0.0304436628, 0.037189994, 0.0093411002, 0.0162895471, 0.0280794036, 0.0038701908, -0.0401055142, 0.0513356775, -0.0161516257, 0.0030331856, 0.0849629641, -0.0037168192, 0.0784586743, 0.0317951664, -0.0147545282, 0.0401444845, 0.0091486657, -0.0074951816, -0.0306728631, -0.0273354929, 0.0427496396, 0.0273376908, 0.0232346412, -0.0026108325, 0.0069768964, 0.0537391081, 0.0257701911, -0.0417301469, -0.0557590686, -0.0021729306, -0.0376599319, -0.0343486443, -0.019512618, 0.0333624743, 0.0031240119, -0.0157471187, -0.0160082523, 0.0062251911, -0.0076972316, 0.0026415242, -0.0112550668, 0.0308036674, -0.0256883986, 0.0026168223, 0.0213330928, 0.0201518405, 0.018771328, -0.0193610676, 0.0200895071, 0.0893469676, -0.0085290819, -0.010145288, -0.0168518759, 0.0234559942, -0.0087153995, -0.02727402, 0.0211331509, -0.0217076968, -0.0373137891, 0.0220847614, -0.0259123296, -0.0437497832, 0.0667682961, -0.0835609958, 0.022883445, 0.0125381127, 0.0243929662, 0.028857993, 0.0419831797, -0.0400908776, 0.0204016976, 0.0127416132, 0.0008980696, 0.0132245133, -0.0181239955, -0.0075098248, -0.0524084754, -0.021240877, -0.0015850501, 0.0279353335, -0.0200143028, 0.020437805, -0.0336330384, -0.0031004923, 0.0117109399, -0.0378591418, -0.0401139334, 0.0014245642, 0.0277381986, -0.0050908634, -0.0247997325, 0.0220414307, -0.0012665085, -0.0871561244, 0.0175567325, 0.0028444561, -0.0773313493, -0.0300818961, -0.0425036475, 0.0778799951, 0.0249963701, 0.0158462692, -0.0085457293, -0.0644691586, -0.0414852649, -0.0347739793, -0.0156737287, -0.073924616, -0.0185419712, 0.0080623673, -0.0134579735, -0.0601933226, 0.006716935, -0.010558228, -0.0348840915, 0.0446545109, -0.0476976857, 0.0021898011, -0.0083273249, 0.0417439453, -0.0130204987, 0.090162605, 0.0435251668, -0.0327968858, 0.0223660432, -0.026782345, 0.0266297124, 0.0670109913, -0.0053398125, 0.0477675684, -0.0301073864, -0.0243555065, 0.0356138572, -0.0218072534, 0.0027104334, 0.0796679556, -0.0257825088, -0.0276779123, 0.0465149358, 0.0057858871, 0.0119345766, 0.0233551655, 0.0130768586, 0.0341979414, -0.0304537117, -0.0234491304, -0.0348877981, 0.0102772312, -0.0501912683, -0.0388124622, 0.0046750647, 0.0376035422, -0.0116407415, -0.0160381142, -0.0301199425, 0.0052489634, 0.055402603, -0.0004015573, 0.0167665277, -0.0111556305, -0.0146207213, 0.0367700383, 0.0410788581, -0.0501820445, -0.0204586312, -0.0436095484, -0.0181340184, 0.0381169394, 0.0376652926, -0.0388362557, -0.0251228046, -0.0273166951, -0.0040085563, 0.006840392, 0.0499060974, 0.0112187052, 0.0032970004, -0.0514894165, -0.0324714594, 0.0712043047, 0.0079177935, 0.0189482421, 0.0231860187, -0.0072614066, -0.0377192385, 0.0081150634, -0.1010792181, 0.0250866991, 0.0056939623, -0.00894826, -0.0400722362, 0.0046608518, 0.0201653484, 0.0018777348, -0.0417267978, 0.0276885256, 0.0163163394, 0.0223373435, -0.003622313, 0.0296286251, 0.0035946546, 0.0114901047, 0.0275265258, -0.0392752998, -0.0349723659, 0.0348828956, -0.0123467771, 0.0108401086, 0.0309149344, -0.0717089772, 0.0128999176, 0.0178344697, 0.0024515854, -0.0110435048, 0.0161642954, -0.0268588625, -0.0042793113, -0.013429773, -0.0395153649, -0.0503431447, -0.0552816652, 0.0258721597, -0.0765842274, -0.0369968265, 0.0173548162, -0.001218599, 0.0599858277, 0.0298234019, 0.0267596077, -0.0103654526, -0.0035004599, -0.0432517566, -0.0256171618, -0.0218150839, 0.0232105199, 0.0039156172, -0.020929141, -0.0226512533, -0.0128995087, 0.0220311414, -0.0036044961, -0.0259451717, 0.0251932424, 0.0028138608, -0.0149624115, -0.0700558499, -0.0141201559, -0.0317796692, -0.0463660732, 0.0509736761, 0.0497866347, -0.0643909201, -0.0937261805, 0.0197144449, -0.0288060829, 0.0169281214, 0.0198533144, -0.0679141134, 0.0303747654, 0.0268402714, 0.0313056558, 0.0139000956, -0.0409077518, 0.0367641039, 0.0692697093, -0.0162666291, -0.0335902721, -0.0123932622, -0.0111476649, -0.0327664204, 0.0090178624, -0.0664646924, -0.009683283, 0.0795820206, 0.0014656316, -0.031083053, -0.0566652007, -0.03231382, -0.0534064025, -0.0467612408, -0.002930576, -0.0823343843, -0.0138924187, 0.0300338492, -0.0159648247, -0.0503677502, 0.0803217217, -0.0111029176, 0.0119151995, -0.08305154, -0.0417182483, -0.0140102459, 0.0128907636, -0.0371941924, 0.0215691384, 0.0558431558, -0.0018586501, -0.0001376416, -0.018454494, 0.0360152163, -0.0188999586, 0.040890485, -0.0901509598, 0.0168565437, 0.0002514024, -0.0111001572, -0.0039735287, -0.0180423968, -0.0480376408, 0.0190677214, 0.0439920612, 0.0072052157, -0.03549942, 0.0500829965, 0.0342209339, -0.0083157551, 0.0030024978, -0.0090903705, 0.0065378984, -0.0433417074, 0.0008397469, -0.0548951104, 0.0632154346, -0.0486756265, 0.020274505, 0.0916678905, 0.0361904167, -0.0028399222, -0.0326932631, -0.0300866421, 0.0473203957, 0.0263862666, -0.0405402556, 0.0309077259, 0.0695582777, -0.0728690103, -0.0012612208, 0.0436656959, 0.0184606146, -0.0358171426, 0.0235212222, -0.0350735225, 0.0629687905, -0.0094978632, 0.0229543783, -0.0628950968, 0.0076074502, 0.0171186198, 0.0200400539, -0.0215536542, -0.0187341757, -0.0032221533, -0.0586940423, 0.0535028651, 0.0364301875, -0.0950525105, -0.007313008, -0.0348923318, -0.0014471347, -0.0209138375, 0.0742141008, 0.0098619964, 0.0104386276, -0.020197304, 0.0510093644, -0.0992281288, -0.0369516015, 0.0203876924, -0.056238763, 0.1077944189, 0.0421570949, -0.0097083524, -0.030839676, -0.0097168712, 0.0376587808, 0.0192068573, -0.0056883488, -0.0111227054, 0.0485536829, 0.0031401543, -0.0142145259, -0.0327989571, 0.0139957322, -0.024859935, -0.0245950464, -0.008872712, 0.0670688972, -0.024450615, -0.0245442148, -0.0366078205, 0.0557768904, 0.0473324731, 0.0591860823, 0.016767079, -0.0396108627, -0.0323114432, -0.0561460257, 0.0193415266, -0.0398917347, -0.0688143149, 0.0103213703, -0.0454846099, -0.0936892629, -0.0292917509, -0.041866336, 0.045409523, 0.0259173978, 0.0231650546, -0.007596836, 0.0219718143, -0.0045307404, 0.0052597164, 0.0519913062, -0.0161551572, 0.0513236783, -0.0667423457, 0.0277526639, -0.0289133899, 0.0344368555, -0.0124662435, 0.0565086231, -0.0250541531, -0.0925518498, 0.0563672259, 0.0602916218, 0.035483405, -0.0223204661, -0.0328136012, -0.1020932794, -0.0017312869, 0.0235036518, -0.0001631903, 0.0124930246, 0.0488520488, -0.0397094712, 0.0122046936, 0.0116862664, -0.0283220876, 0.0187470466, -0.0048773452, 0.0095391441, -0.0828270167, -0.013952977, -0.0075051272, 0.0144164721, 0.0296086464, -0.0400651544, -0.0072159199, -0.006577475, -0.0126912175, -0.0411852561, -0.009559894, -0.0142700728, 0.0305976793, -0.0176383741, -0.0234705079, 0.0076544522, 0.0236352943, -0.04067472, 0.0114544434, -0.0069878572, 0.0656845197, 0.016119495, 0.0361952782, 0.0409781411, 0.0170669686, -0.0012675184, 0.0126709426, -0.014828302, 0.0284795277, 0.0330899209, 0.0243519936, 0.0143837007, -0.0182478148, 0.0360569097, 0.025213385, -0.0068234676, -0.0770738423, -0.0044962717, 0.0216522925, 0.0176440217, 0.0524595603, 0.0703315437, -0.0432650112, -0.0071217804, -0.0518432409, 0.0251411553, -0.0078466879, -0.0042114328, 0.0379193015, 0.021851534, -0.0175927747, -0.0056239152, 0.052445475, 0.0411902517, 0.0454491787, -0.043015264, -0.0346457176, -0.015199868, -0.0197068248, 0.0105419112, -0.0051495554, -0.0532619692, -0.0333926268, -0.1084965169, -0.0708600283, -0.0084837954, 0.0495002605, 0.012449611, 0.0032539391, -0.0024257316, 0.0273025353, -0.003377344, -0.0096363071, -0.0270445868, 0.0054464033, -0.0326901898, -0.0106598642, 0.0031216091, -6.536212176e-33, -0.0217992011, -0.0479978919, 0.016325729, 0.0118629131, -0.0104754809, 0.0250855815, -0.0251940917, 0.0424389429, 0.0005786648, 0.0489851125, 0.0445214137, 0.0015410435, 0.020308217, -0.026302008, 0.0210016128, -0.0150672067, 0.0018720101, 0.0161118004, -0.0024665927, -0.0153661491, 0.0159879159, -0.0131908208, 0.0501116104, -0.1280539334, 0.0598615445, 0.0204506889, -0.0368395187, 0.0222500321, -0.0381716378, 0.0629789531, 0.0284997635, 0.0388705656, -0.010951208, -0.0341144204, -0.0201181099, 0.041070316, -0.0365983732, -0.0030949756, 0.0253885351, 0.0051606083, -0.0550990179, -0.0231264532, 0.0425222255, 0.0207179338, -0.0450331494, -0.0092682745, 0.0204208698, -0.0118408902, -0.0160762109, 0.0299039874, -0.0319750868, 0.042502638, -0.0128055094, -0.021660028, 0.0197850671, 0.0423435569, 0.00081983, -0.0146362837, -0.0532431453, 0.0210417286, -0.0135394353, -0.0091355955, 0.072302483, 0.0107781803, -0.0166783221, 0.0516472608, -0.0160606969, 0.0156983696, -0.0142719578, -0.0525104292, 0.0270166509, 0.0405712463, 0.037752375, 0.0449464694, -0.0449752547, -0.0048178816, -0.0622489341, 0.0283638965, 0.0357816517, 0.0247898716, -0.0024010646, 0.0425250269, -0.1160893962, -0.042950701, -0.0161132868, -0.0171609037, -0.0047230963, -0.0250873957, 0.0150120864, -0.0397075228, -0.0562173165, 0.0353273414, 0.0193016417, -0.0065191234, 0.0070170639, 0.0014511265, 0.0130771324, 0.0075557381, -0.0295475237, 0.0331038907, -0.0408140793, 0.0244362745, 0.0239295661, -0.0020399068, 0.0505599305, -0.0048826342, 0.0413732268, 0.041660212, -0.0528364927, 0.0071821068, -0.0184987355, 0.0563671291, 0.0366959013, -0.0230031963, 0.0374364406, 0.0014770725, 0.0261371136, 0.0532527938, 0.0534167625, 0.0051370491, 0.0023900014, 0.0603489131, -0.0512116812, -0.0101529956, -0.0179778226, 0.0046257847, 0.0104882931, -0.011855552, 0.0862039775, -0.0362731256, -0.0313393213, -0.041600965, 2.702e-7, 0.0783907026, 0.0779633746, 0.0548865087, -0.0058926577, 0.0245597363, 0.0651312023, 0.0005419943, 0.0474845544, 0.0589384697, 0.0380255505, -0.0127672628, 0.0198566262, 0.0487943776, 0.0876354054, -0.002115401, -0.0262217857, -0.0651488379, 0.0165154338, -0.0352499895, -0.0291367956, 0.0569196008, 0.0308171213, 0.0368822552, -0.0136837363, -0.0270641167, -0.0217950772, 0.0039600949, -0.043379195, -0.018714197, 0.0341544859, 0.008651494, 0.0047621406, 0.0195327103, 0.0596227311, 0.0013470175, -0.0427013859, 0.0050303461, 0.0623815395, -0.0294106174, -0.0078851534, 0.0133471349, -0.0484791137, -0.0071970522, -0.0312424339, 0.0360562764, -0.0137226768, -0.0272564162, -0.0192535035, -0.0094207069, -0.0203545503, 0.0337889567, -0.0140843187, -0.0077375378, 0.0272500888, 0.0004026963, 0.0131082917, -0.0204121284, -0.0222556535, -0.0368587039, 0.0167578645, -0.0159872603, -0.0748549253, 0.0309957955, 0.0248403642, -0.0406937934, -0.0601644963, 0.0277293455, 2.663617394e-34, 0.0318708904, -0.0216005743, 0.0002606983, -0.0063347509, 0.0484857894, 0.0014075154, -0.0320510976, 0.007881728, 0.029966969, -0.0018451046, -0.02210759 ]
http://arxiv.org/abs/2406.11753v1
http://arxiv.org/pdf/2406.11753v1
A Semantic-based Layer Freezing Approach to Efficient Fine-Tuning of Language Models
2024-06-17T17:13:08
2024-06-17T17:13:08
Jian Gu, Aldeida Aleti, Chunyang Chen, Hongyu Zhang
cs.CL
cs.CL, cs.LG
Finetuning language models (LMs) is crucial for adapting the models to downstream data and tasks. However, full finetuning is usually costly. Existing work, such as parameter-efficient finetuning (PEFT), often focuses on \textit{how to finetune} but neglects the issue of \textit{where to finetune}. As a pioneering work on answering where to finetune (at the layer level), we conduct a semantic analysis of the LM inference process. We first propose a virtual transition of the latent representation and then trace its factual transition. Based on the deviation in transitions, we estimate the gain of finetuning each model layer, and further, narrow down the scope for finetuning. We perform extensive experiments across well-known LMs and datasets. The results show that our approach is effective and efficient, and outperforms the existing baselines. Our approach is orthogonal to existing efficient techniques, such as PEFT methods, offering practical values on LM finetuning.
[ 0.0080555277, 0.0624978729, -0.0396507569, 0.0680976659, -0.0395424105, 0.0206915513, -0.0172637478, -0.035572961, -0.0637261644, -0.0381294861, -0.0039064633, -0.0099099474, 0.0307611451, -0.0049921949, 0.0296832379, -0.0632008389, 0.0273981579, -0.0487149023, -0.0187707655, -0.0007174309, 0.0067366529, 0.0121080568, 0.0303904396, 0.0443002619, 0.0507383905, 0.0014044259, 0.0071295928, 0.0216623228, 0.028283067, 0.0111633353, -0.0005257744, 0.0556481443, 0.0089724036, 0.0264820438, 0.0000022033, -0.0339868441, -0.0184653737, -0.0170143414, -0.0000249256, 0.0481467284, 0.0682405978, -0.04177057, -0.0148163494, 0.0000127489, -0.0128093576, -0.0079427399, 0.0667234808, 0.0189930927, 0.0175623298, 0.0321964137, -0.006748959, -0.0002852051, -0.0192663707, -0.0305356607, -0.0563467145, -0.0713035092, 0.0393546671, -0.0180493519, -0.0329932049, -0.036833819, -0.0507906638, 0.0671160221, -0.0123934988, 0.0209858268, -0.055909954, 0.0394695587, -0.0179160163, -0.0214172136, 0.0275302753, 0.0612950474, -0.0690288171, -0.0358953737, 0.0381182469, -0.0350436866, -0.0097062876, 0.0249587521, -0.0407374017, -0.003691812, 0.0176276732, 0.0179521982, 0.0752832517, -0.0208463892, 0.0650920197, 0.0392338634, -0.0302387588, 0.0667572394, 0.0180488061, -0.0004071338, -0.0219723172, -0.0244982969, -0.0323400609, -0.0323980525, -0.0365190394, -0.0151557149, -0.0094311517, 0.0026359144, -0.0483359545, 0.0042947922, -0.0047674146, -0.0024694835, 0.0827226266, 0.0349479914, -0.0014689025, 0.0380846076, -0.0090714116, 0.0061700391, -0.0103384117, 0.0242879763, -0.0575995818, -0.0043980028, 0.0229918044, 0.0108038504, -0.0536133945, -0.0219040439, -0.0228287056, 0.0044392385, -0.021331396, 0.0081861643, 0.0015932849, -0.0201063603, -0.0238383133, -0.0232718345, -0.0421228409, 0.000215731, 0.0017410165, 0.0244178977, -0.0370258912, 0.0458803698, -0.0210773591, -0.0631710663, -0.0230637714, 0.0210295878, 0.0136788534, -0.0093895206, -0.0091341976, 0.0450215489, 0.0154826846, -0.013316175, -0.0477065407, -0.0113473479, -0.0144069819, -0.0698324367, 0.0252947286, -0.068065539, 0.0082825022, 0.0049515534, 0.0232251771, -0.0673922747, -0.0483457111, -0.018311603, -0.065984644, 0.0868134797, -0.033305537, 0.0129897464, -0.0001710811, -0.0053753424, 0.0100523913, 0.0959852114, 0.0540977344, 0.0176517963, 0.043945346, -0.0436323695, -0.0126850903, 0.0584030449, 0.0251996964, 0.0312492624, -0.0590580478, -0.0177754462, -0.0036875193, 0.0017581854, 0.0311354008, 0.0208358746, -0.0232341047, -0.0221401937, 0.0437976159, 0.0440714061, 0.0090491734, 0.0011684798, 0.0516873896, 0.0051582917, -0.0443554111, 0.0427138954, -0.0656706467, 0.0436553285, -0.0086959833, 0.0036706864, 0.0298930481, 0.040150214, -0.0216584746, -0.0156753454, -0.0097283116, 0.0059786839, 0.0099578621, -0.0158700161, 0.0099344067, 0.016522022, -0.0080338968, 0.0650216043, 0.053888388, -0.007430579, 0.0157338008, -0.0606396645, -0.0038676921, 0.0555198975, 0.0154957399, -0.0073825107, -0.0310818646, 0.0153425541, 0.0581115447, 0.0073947809, 0.0486080758, -0.0105370255, 0.028481612, -0.0625973716, -0.0122762052, -0.0236992668, 0.0547825322, -0.0151612964, -0.0041540544, 0.000325739, 0.0347397327, -0.077195093, -0.0041660559, 0.0345893838, -0.0430945046, 0.0155193638, -0.0059421505, -0.0108686741, 0.0212392844, -0.0420375988, -0.0126004955, 0.0117956996, 0.0073007201, -0.0234746914, -0.0034124157, 0.0094717182, 0.0112451715, -0.0197798442, 0.0038502901, -0.0251296032, 0.0324152708, 0.0238183718, -0.083140932, -0.0448318049, 0.0546836108, 0.0066536632, 0.0229397491, -0.0287833437, 0.0275863297, -0.0376942754, 0.0328477472, -0.0358319543, 0.0206611343, -0.0244562905, 0.0527632907, 0.0235114656, 0.0148062436, 0.0077140345, -0.0250489712, -0.027881518, 0.0350727439, -0.004411072, 0.0235353075, 0.0108092958, 0.0048147589, -0.0130457059, -0.0276528839, -0.0337889604, 0.0131712165, -0.0432345308, 0.0256868992, 0.038360104, 0.0255879518, -0.0056774965, 0.0139080519, 0.0161151756, 0.0280161593, -0.0071913917, 0.0351975895, 0.0030100299, -0.006244489, -0.0506251715, -0.0652025416, -0.0290821884, 0.003303515, 0.0369948968, -0.051373031, -0.0192335639, -0.0585920475, -0.0261135716, -0.0549833104, 0.0262943152, -0.0349289738, -0.0365138128, -0.0114571517, -0.0174672995, 0.0130363926, 0.0612794347, 0.0027671771, 0.0522657596, 0.0778571963, -0.0190668665, -0.0284634754, -0.0101260366, -0.041869428, 0.0048448197, -0.0559204891, -0.0198074337, -0.0141415559, 0.081393227, -0.0081754504, 0.0075199232, -0.0702386647, 0.0529203899, -0.0589528307, 0.0018047994, 0.0310580246, 0.0473345369, -0.0128465481, 0.0460242182, -0.0241738949, -0.0449184328, 0.0725203305, -0.0430755951, 0.030939931, -0.0062197931, -0.0215280596, -0.0203251932, 0.0482721105, 0.0044714836, 0.012894704, 0.0072934707, 0.0120032076, -0.0696293265, -0.0032454752, 0.0554386154, -0.0131258778, 0.0433561504, -0.048365958, 0.0138158584, -0.0203407966, -0.0232727211, 0.0136021106, -0.0596601367, -0.0565558709, 0.0303876158, 0.0211740211, -0.0134307547, -0.0250653774, 0.0046360246, -0.0375754163, 0.0508975163, -0.0237216931, 0.0209100991, -0.0473232605, -0.0039873971, 0.0819748789, 0.0339287221, 0.0244744457, -0.0212246701, 0.0381443948, -0.0002042207, -0.0002215908, 0.0459337942, -0.0348146185, 0.0009252951, 0.0678191334, 0.0014218541, -0.0350307226, 0.0290433615, 0.040595457, -0.056793347, -0.0259313211, 0.1004348621, 0.0034195045, 0.0112234391, 0.0432819091, 0.0153131178, 0.0557030551, 0.0132070007, 0.0098040197, -0.0439139009, -0.0471656062, 0.0271906704, 0.0442431644, -0.0053981189, -0.0140841296, -0.0006751433, -0.0613695905, 0.0535734333, 0.0083890278, -0.0440476201, -0.0021084065, -0.0556240641, 0.0298286695, -0.0186517686, 0.0125266537, -0.0050872643, -0.026919147, 0.0044516516, 0.0014017853, -0.0176455155, -0.0898957476, 0.0338857286, -0.0341809057, 0.0727223158, 0.0613379516, 0.0421353206, -0.0211688094, -0.0366838761, 0.0694916993, -0.0731169358, -0.0276537109, -0.0396170914, 0.0479400903, 0.025549572, -0.0162144247, 0.0266073924, 0.0247627497, 0.010700156, -0.0019500778, -0.0308295339, 0.0511635132, -0.0296205226, -0.062254224, 0.0095487963, 0.0175968949, -0.0278745629, 0.0684315637, 0.0497491881, -0.0306688938, -0.0288430694, -0.03023085, -0.0102637727, -0.0216254238, -0.0243630409, 0.0153067205, -0.0135310227, -0.0214159768, -0.0255934782, 0.0033354657, 0.0229656566, 0.0166362673, 0.0000015517, 0.035282217, 0.0202780291, -0.0083590262, -0.0533936545, 0.0364536829, -0.0462380536, 0.0378463492, -0.0092258481, 0.0056139873, 0.0711412504, -0.0074849199, -0.0127097843, 0.017822342, -0.0745814592, -0.0864805728, 0.0155434133, 0.0102472436, 0.0208449904, 0.044258412, -0.0208831113, -0.1099338159, 0.0394289047, 0.0296048038, -0.0329501107, 0.0465298072, 0.0248237364, -0.0398375839, -0.0175821204, 0.0707505196, -0.0452978574, 0.0231885016, 0.0304792654, 0.0340573564, -0.0193491131, -0.0674325824, -0.0048424979, -0.0003011972, 0.0570505001, -0.019620249, -0.0335483551, -0.0450964011, -0.0021413213, 0.0200910866, -0.0328611843, -0.0520023033, -0.0250739828, 0.012970943, 0.0388139561, -0.016140623, 0.0145452917, 0.0043918062, 0.0378781855, -0.0494495146, 0.0143533703, 0.0206917878, 0.0136376312, 0.0365482904, 0.0178669523, -0.0126459254, 0.0576860085, -0.0323615894, 0.0248396285, -0.0423331968, 0.0176636688, 0.058127936, 0.0491700321, -0.0576290824, 0.0352141298, -0.0476665497, -0.0583354235, -0.0312885679, -0.005266204, 0.0529777855, -0.0208427049, 0.0886804312, -0.0070487959, -0.0190673862, -0.025805397, 0.04789472, 0.0247205254, -0.0533375517, 0.0545264743, 0.0301659517, -0.033862669, 0.0093247779, 0.0545048453, 0.0395738333, 0.0430556089, -0.0182150286, -0.0045692562, 0.000096915, -0.0245393775, -0.0258403141, 0.0226446874, -0.0153724682, -0.0039041843, -0.0577947609, -0.1018694714, -0.0336816683, 0.0057661003, -0.0130981179, -0.0358374827, -0.010701647, 0.0861235783, 0.0162164997, -0.0150237223, -0.0534247495, -0.0403594337, 0.0337814055, -0.0320306085, -0.0280642994, -7.223089525e-33, -0.0247963481, 0.010595616, -0.0001044437, 0.0573312566, -0.0181856789, -0.0063819676, -0.0375627391, 0.0093176812, -0.0185131673, 0.0090831676, 0.0110994568, -0.0051160348, 0.0181797352, 0.0047485395, -0.0253166314, -0.0230330732, 0.0771121457, 0.0041456372, -0.0289196745, 0.009416909, 0.0045835185, -0.0020068323, 0.0407143012, -0.026914008, 0.0161777213, -0.0103872959, -0.0191771649, 0.0211290233, -0.0202217568, 0.0277668573, -0.0111695854, 0.0234074816, 0.0302496366, -0.0406388007, -0.0235832855, -0.0257119462, -0.0941071808, -0.0250059012, 0.0556643568, -0.0079410756, -0.0489619263, -0.0279207975, 0.0467668138, 0.0026301283, -0.0238500424, -0.0091635073, 0.0193344932, -0.0119841415, -0.0297707412, -0.0403500795, -0.0789965093, 0.0441561043, 0.001724557, -0.0314382091, 0.0585251488, -0.0151537601, 0.0092936978, 0.0214789845, -0.058574494, -0.0108830184, 0.0117269447, 0.0626659468, 0.0620369874, 0.0516482815, -0.0171803962, 0.0264623221, -0.028291909, 0.0165907666, 0.0114683723, 0.0045798644, 0.1096266285, 0.0367789343, 0.017876476, 0.007371447, 0.0240616892, -0.0347782969, -0.0449756272, 0.0022610598, 0.000129682, 0.0187845938, 0.0342573971, 0.0207185205, 0.0043137679, -0.0641222969, -0.1173306182, -0.0181739498, -0.0279939566, 0.0284633953, 0.0276247673, 0.0146881221, -0.0392179266, -0.0147279324, 0.0240394287, -0.0442820936, -0.0191199519, -0.0221655928, -0.0284179654, 0.0081449877, 0.0113363098, 0.040962588, -0.0303359907, -0.0582683012, -0.0024169558, -0.0275599789, 0.0378973037, -0.0043732193, 0.0360814296, 0.0261091013, -0.0450374335, 0.0000955509, -0.032756824, -0.0068719755, -0.009639062, 0.0135247847, 0.019211065, 0.0030326478, 0.0017270322, 0.0036122377, 0.0496719368, 0.011712837, -0.0141456909, 0.0256620403, 0.0128391469, 0.0344360657, -0.0367993154, -0.0194826573, -0.0371447876, -0.0091806296, 0.0629387945, -0.0435749218, -0.035579592, 0.0245824363, 2.912e-7, 0.0412848033, 0.0285892729, -0.0191071015, 0.0249553882, 0.0139306234, 0.0285724662, -0.0110279974, 0.0066625974, 0.0455073602, -0.0195795409, -0.0115358094, 0.0185815804, 0.0573685169, 0.0293335449, -0.0628767386, 0.0103582321, -0.0502072461, 0.0255345963, -0.0263715517, -0.0229435563, -0.0042480575, 0.105676949, 0.0269146245, 0.0151070049, -0.0164255425, -0.0181449056, 0.0462640151, -0.0463531688, 0.0145158181, 0.0471274741, 0.039556127, 0.019203743, -0.0048195869, 0.0125253657, -0.0086536072, 0.0383897088, 0.0035925186, 0.06954813, 0.0062478599, 0.0131333983, -0.0146227786, -0.0402770638, -0.0035137073, -0.0812567547, 0.0916943476, -0.0919243619, -0.0431300215, -0.0469870083, 0.0182358269, 0.0328297429, 0.019474702, -0.0086065261, -0.00510001, 0.0407146178, 0.0379400812, 0.0031142449, -0.0315498412, -0.0698727816, -0.0301440991, 0.01934525, -0.0219225585, -0.0475465469, -0.0184390526, -0.027333254, 0.0286604036, -0.0459607914, 0.0337162912, 2.921397565e-34, 0.0523232892, -0.028350139, 0.0134840086, -0.0250361077, 0.0263520274, -0.0101775695, 0.0214925911, 0.028401522, 0.0002967378, -0.0979242176, -0.0053184615 ]
http://arxiv.org/abs/2406.11745v1
http://arxiv.org/pdf/2406.11745v1
Multi-Layer Ranking with Large Language Models for News Source Recommendation
2024-06-17T17:02:34
2024-06-17T17:02:34
Wenjia Zhang, Lin Gui, Rob Procter, Yulan He
cs.IR
cs.IR, cs.CL
To seek reliable information sources for news events, we introduce a novel task of expert recommendation, which aims to identify trustworthy sources based on their previously quoted statements. To achieve this, we built a novel dataset, called NewsQuote, consisting of 23,571 quote-speaker pairs sourced from a collection of news articles. We formulate the recommendation task as the retrieval of experts based on their likelihood of being associated with a given query. We also propose a multi-layer ranking framework employing Large Language Models to improve the recommendation performance. Our results show that employing an in-context learning based LLM ranker and a multi-layer ranking-based filter significantly improve both the predictive quality and behavioural quality of the recommender system.
[ 0.033353094, 0.0351973288, 0.013672106, 0.0380451381, 0.0144151766, -0.0573263764, 0.0228624474, 0.0117058894, 0.0937671587, -0.0220844131, -0.057273522, 0.0079675242, -0.0341218077, 0.0009991848, -0.0071076979, -0.003216269, 0.0073697199, -0.0340635963, 0.0396467783, -0.0154397348, -0.0081346678, 0.0507023185, 0.0301140696, 0.0202378128, 0.0442478172, -0.0088411644, 0.0182867441, 0.009187378, 0.0455049463, -0.0021255368, -0.0070956405, -0.0194001812, 0.010703681, -0.0211139508, 0.0000016539, -0.0314920731, -0.0310929623, -0.0470732525, -0.0044330158, -0.0140747828, -0.0137857702, 0.0183100309, 0.0051034489, 0.0280363336, -0.0423063934, 0.0557462163, -0.0192522854, 0.039033819, 0.0653797984, 0.0562622696, -0.0257989056, 0.0140499137, 0.034638118, -0.0123447319, 0.0343538858, -0.0446381234, 0.0477808677, -0.019617632, -0.0044430345, 0.0632539392, 0.0348751992, -0.0032580253, -0.0177711342, -0.0495118871, 0.0625453293, 0.0070165815, -0.0098328609, 0.0153295845, 0.0004622849, 0.0737432986, -0.0181879047, 0.0038233302, -0.0052644433, 0.0279567037, 0.0163564142, 0.0762383565, -0.0463180244, -0.005331371, -0.029601546, 0.0020153853, 0.0082960166, -0.0166357365, 0.0360483043, 0.0440495834, 0.0117619662, 0.1051484793, 0.0034020052, -0.0266523845, 0.0280275829, -0.0083379783, 0.0222449936, -0.0558299609, 0.0405097827, -0.0190091264, -0.0604393557, 0.0128807714, 0.008260292, 0.0808858052, -0.013395031, -0.0980602726, -0.0474120341, 0.0089586247, 0.0132757127, 0.0725426152, -0.0168103594, -0.024233656, -0.0195459258, -0.0083085885, -0.0117204273, -0.0285523348, -0.026581578, 0.0087843472, 0.0181325097, 0.0540062934, -0.0253880396, -0.0236950815, -0.0672440007, 0.0369673558, -0.0141565902, 0.0334065817, 0.0198335666, 0.0201626346, 0.012898122, -0.0077776341, -0.072618857, 0.0083029205, 0.0068370989, 0.0311179403, -0.0234094132, 0.0156309213, 0.0223783739, 0.0226476155, -0.0194370188, -0.0371802375, 0.0093946094, 0.0177426711, -0.0092770401, -0.0282080825, -0.0252489801, -0.009832073, -0.0040243454, -0.0380751602, -0.0278525334, -0.0498681776, -0.0042522643, 0.019347176, 0.0280959122, -0.0598357469, 0.0208721776, -0.0019638045, -0.0374164358, 0.0385043733, 0.0357715338, -0.0069218357, 0.0284124892, 0.0219449122, -0.0015103722, 0.0086355386, -0.0081498623, 0.0423381329, 0.0559014417, 0.0411004238, -0.0176587999, 0.0195598174, -0.0042165397, 0.0512134843, -0.0275920313, 0.0273049083, -0.0572515614, 0.02325828, 0.0436539315, 0.015468156, -0.0517309308, -0.0105542177, 0.052537553, 0.0052119144, 0.0254299548, 0.0233153868, 0.0187030174, 0.0200279672, 0.0049573509, -0.0206604581, 0.0047339438, 0.0638161302, -0.001554416, -0.0429491811, 0.0620510317, 0.0384649709, -0.0264926385, -0.0167744253, 0.0110968864, -0.015979046, -0.0285869837, 0.0592521913, 0.0050299959, -0.0541575365, -0.0362802893, 0.0566403419, 0.0097828731, -0.0158584509, -0.0216023307, -0.0140291518, 0.0381767899, 0.0960478559, 0.0088608218, -0.0034874715, 0.0311967228, -0.0276161022, -0.0031185807, -0.049188707, -0.0219454728, -0.0119335037, 0.028777644, -0.0161410868, -0.0495519079, 0.0343931317, 0.0026882109, 0.0335418656, 0.0223066639, 0.0594512373, 0.0089509105, -0.0054266243, -0.0215006322, -0.0175575595, -0.026716603, 0.0120697431, 0.0403662771, -0.0103920829, 0.0320455767, 0.0396051407, 0.0108353924, -0.0266200881, 0.030367896, -0.0161904935, -0.0370038003, -0.0082659507, -0.0168153457, 0.0050331042, 0.0429989658, -0.0580101125, 0.019184079, 0.0292236414, 0.0143529065, -0.0278677568, -0.0201954506, 0.0149758793, 0.0153150335, -0.0272717979, -0.0109944306, -0.0098951263, 0.0011133302, -0.0479576625, 0.0778215304, -0.0157708097, 0.0128014768, 0.0466143116, 0.0358489044, -0.0193285216, -0.0292476639, -0.0258844905, 0.0027069685, 0.0599895306, 0.0272753835, 0.011088497, -0.0167586152, -0.0442465506, -0.0290890224, -0.0673656985, 0.0195950493, 0.0165727064, -0.031509649, -0.0260108653, 0.007778144, 0.0243737623, 0.0004794956, -0.0527883917, -0.0233014897, -0.0123685095, -0.0227526482, -0.0043250029, 0.0153647838, -0.031032715, -0.0229251739, -0.006362882, -0.0076781954, 0.0622812398, 0.0093287574, -0.0151893059, -0.0550756939, 0.0087663215, -0.0662745088, -0.0351462848, -0.0286526624, 0.0224106517, -0.0265365578, -0.0056469883, -0.0058890018, 0.0400080308, 0.0108420076, 0.0156649295, 0.051029399, 0.0067623369, -0.076494284, -0.0054148212, 0.0053435327, 0.0196696259, -0.0434743427, 0.0085461652, -0.0171978492, -0.0552829206, 0.0040689693, -0.0037652971, -0.019560948, 0.0497566089, 0.045812279, 0.0237838738, -0.0132973408, -0.050253205, 0.0094763674, 0.0641149953, 0.0048567071, -0.0072171809, 0.0526426509, 0.0086959144, 0.0269173812, -0.0064504603, -0.0740755871, -0.0735128745, -0.0352999531, -0.0327883773, 0.0261122324, -0.0779632479, 0.0077732503, -0.0335359238, 0.0093755554, 0.046117276, -0.0413189791, 0.0469238237, 0.0028568401, 0.0230325367, 0.0501533337, -0.049821943, -0.0305446424, -0.0323012061, -0.0334624834, -0.0192454197, 0.0110222418, -0.0178007651, -0.047159154, -0.0302793123, 0.0372732244, -0.0036536222, -0.0160725135, -0.0380364358, 0.0322536379, 0.0372404195, 0.0137530789, -0.0378749371, -0.0063567013, 0.0001261107, 0.0482995547, 0.0103050135, -0.0067239767, -0.0158565734, -0.0262971539, -0.0149506964, 0.0706940144, -0.0082877353, -0.0285651758, 0.0193547569, -0.0139953587, 0.0246340465, 0.021373529, 0.0861438215, 0.0401541032, -0.0947754979, -0.0177876428, -0.0333174206, 0.0070327143, 0.0362752043, 0.0395839475, -0.0808888003, 0.0124156792, 0.0035463716, 0.0052007982, 0.0339893587, -0.0346098654, -0.0153064132, -0.0923298076, 0.0581304356, -0.0027316685, 0.0202323683, -0.0134968041, -0.0897974223, -0.003764248, -0.0426958986, -0.0184720904, 0.0218153708, -0.012179764, -0.0011703832, 0.0015668882, 0.0008201162, -0.0377808064, 0.030466862, -0.0359865129, 0.0042059408, 0.0396428965, 0.045867078, -0.0261599813, -0.0190829448, -0.0256009586, -0.0001575232, -0.0203589182, -0.009814187, 0.0392873734, -0.0508974157, 0.020500984, -0.046783179, 0.0092619583, 0.0251396038, 0.0200672131, 0.0017002214, 0.0343498811, -0.0356329679, 0.0324819908, 0.0063351304, 0.0121867172, 0.0107326843, 0.0695348084, -0.01045023, -0.046983771, 0.032443881, -0.044026725, -0.0137488022, 0.0331816003, -0.055338271, 0.0513418801, -0.020573562, 0.0036435064, -0.0504347831, 0.018762432, -0.0046020024, 0.0103404205, -0.0020710046, 0.0901773646, 0.0152618615, -0.0260063466, 0.0177089479, 0.0139880059, 0.0151722468, 0.0104777087, -0.0205468815, 0.0330584981, 0.0915766507, -0.0579165183, -0.0048594987, -0.0142594269, -0.0162097011, -0.0426770933, -0.0567613058, 0.0461270548, 0.0234381035, 0.0602521338, -0.0166764855, -0.0498981737, 0.066239655, 0.0417634211, -0.0281502679, -0.0132183079, 0.0012459393, 0.035770122, 0.0140522635, 0.0374286994, -0.0785261542, 0.0008313328, -0.0292616021, -0.0432364605, -0.0628437176, -0.0552552044, 0.0258357357, 0.013504562, 0.0217686053, 0.0020149674, 0.0321135484, -0.0264665727, 0.038002152, -0.0384024903, -0.0353126079, -0.0302653629, 0.0453916192, 0.0683276653, -0.0279942472, -0.0056212055, -0.0345936604, 0.0049618683, 0.04654897, -0.0473018661, 0.016618425, -0.0100081218, -0.0575763546, 0.0140671991, 0.0026166451, -0.0108012678, -0.0040849769, 0.0393283442, 0.0108460207, -0.0074799364, -0.0179056488, 0.0092579741, -0.0149441408, 0.0071126153, 0.0123243378, -0.1032438949, -0.094917722, -0.024180416, 0.0045768456, 0.0551469214, -0.0221776869, 0.060353294, -0.0071665575, -0.0053022476, -0.013124139, -0.0044494146, 0.0035256343, 0.0109202815, 0.0329748131, 0.0367788635, -0.0102828508, 0.0684439465, 0.0763257295, 0.0125984447, -0.0284311343, -0.0033873229, -0.080819279, -0.0390582457, -0.0226074848, -0.0144928228, 0.0563254803, -0.0271075685, -0.0241002347, 0.0153900646, -0.0138423042, 0.0293544475, -0.0465042107, -0.0080056544, -0.044824753, 0.0227397699, 0.0736124143, 0.0246525872, 0.0382972173, -0.0656137094, -0.0738386884, -0.010929171, -0.0540165529, -0.0079997983, -5.587371136e-33, 0.020159876, -0.0443967506, 0.0013464069, 0.0074760006, 0.0064243842, 0.0057771346, 0.0236663111, -0.0168019552, -0.0132971322, 0.0039743539, -0.0051359781, 0.023959605, 0.0104567129, -0.0095804138, 0.0179825276, -0.0104564121, 0.0437319092, 0.0291135684, 0.0083365738, 0.0249690097, 0.0363519602, 0.0493903607, 0.019453641, -0.1057957336, 0.0394314565, -0.0019596559, -0.0270634126, -0.0188150331, 0.0170044675, 0.0786167756, 0.0293713938, 0.0450145118, 0.0114702201, -0.0745554492, 0.0418639667, 0.0015890383, -0.032169465, 0.0152363814, 0.0342206731, -0.0358841307, -0.0052956473, -0.0073328456, 0.0245606303, 0.0080523323, 0.0034584769, -0.0261200797, 0.0574872643, -0.0273870118, -0.0480707102, -0.0595478229, 0.0372125693, 0.018698426, -0.0386214405, 0.0247608013, -0.0054855035, 0.0617846623, -0.0403973535, 0.0645995587, -0.0649045035, 0.0321609825, -0.0649752021, 0.0334155522, -0.014655876, -0.0200154055, -0.064910315, 0.0410254709, 0.0098914178, -0.0345802493, 0.0184266809, -0.0522578135, -0.0385751091, 0.0534298196, -0.0044418355, 0.0803609639, -0.0144869918, -0.0313418545, -0.1100686342, 0.0422361121, 0.061345946, -0.012705517, 0.0154857244, 0.0283373222, 0.0058119874, -0.018282719, -0.0039220764, -0.0088502131, -0.0456906669, -0.0372309685, -0.0106733115, 0.0306326095, 0.030751951, 0.0177028887, 0.0128657185, -0.059702158, -0.0434770323, 0.0416165181, -0.0721867308, -0.0148146776, 0.0323866419, 0.038921129, -0.0567955673, 0.0065180296, -0.0366536751, -0.0267799944, -0.0133306915, 0.0110057583, 0.0233353693, -0.0073627345, -0.0380727984, 0.0061726016, 0.020542372, -0.0350025967, -0.0355064794, 0.0482342504, -0.0177581385, 0.0267098062, -0.006196151, 0.0564633533, 0.0256130677, 0.0402442999, 0.0114231808, -0.0779380277, 0.0203275997, -0.0124882068, -0.0396104343, -0.0304143913, 0.0144027499, 0.0113605671, 0.025209127, -0.0647877231, -0.0360733941, -0.0490490384, 2.53e-7, -0.0028715499, 0.0453907177, -0.0672460049, 0.0170111675, 0.0115911691, -0.0088013234, 0.0136261862, 0.0516858771, 0.0349132791, -0.0052207205, 0.0194110908, -0.0079013016, 0.0108261025, 0.0260725897, -0.1118016914, -0.0494976193, -0.0994133726, -0.0384128578, -0.0686356425, -0.0277698617, 0.0148545979, 0.0811122805, 0.0229518041, 0.0066003622, -0.0178291369, -0.0345732905, 0.0838095099, -0.0473758876, -0.0436297953, -0.0150362616, 0.0936524123, 0.0066505098, -0.0248678178, 0.0382948183, -0.0154480273, 0.0415363722, 0.0251657758, 0.0532677285, -0.0105319023, -0.0118615655, 0.0105529604, 0.0153904678, 0.0223434623, -0.0387349054, 0.0564635135, 0.0152441356, 0.0066923364, 0.0005626476, -0.0717939511, -0.0300776083, 0.070090577, -0.0212613326, -0.0100209517, 0.0051335674, 0.0030101226, -0.013714348, 0.0196365863, -0.0203222763, 0.0050081951, -0.0037908785, -0.0238837432, -0.0669327602, 0.0148993824, -0.0290889014, 0.011226479, -0.0521989278, 0.0620563552, 1.873711478e-34, 0.0211112108, 0.0632642433, -0.0015298423, 0.038560383, 0.0288728494, 0.0050244094, -0.0709790736, 0.0107033132, 0.0451078154, -0.0256095845, 0.011871974 ]
http://arxiv.org/abs/2406.11736v1
http://arxiv.org/pdf/2406.11736v1
Interactive Evolution: A Neural-Symbolic Self-Training Framework For Large Language Models
2024-06-17T16:52:56
2024-06-17T16:52:56
Fangzhi Xu, Qiushi Sun, Kanzhi Cheng, Jun Liu, Yu Qiao, Zhiyong Wu
cs.CL
cs.CL, cs.AI
One of the primary driving forces contributing to the superior performance of Large Language Models (LLMs) is the extensive availability of human-annotated natural language data, which is used for alignment fine-tuning. This inspired researchers to investigate self-training methods to mitigate the extensive reliance on human annotations. However, the current success of self-training has been primarily observed in natural language scenarios, rather than in the increasingly important neural-symbolic scenarios. To this end, we propose an environment-guided neural-symbolic self-training framework named ENVISIONS. It aims to overcome two main challenges: (1) the scarcity of symbolic data, and (2) the limited proficiency of LLMs in processing symbolic language. Extensive evaluations conducted on three distinct domains demonstrate the effectiveness of our approach. Additionally, we have conducted a comprehensive analysis to uncover the factors contributing to ENVISIONS's success, thereby offering valuable insights for future research in this area. Code will be available at \url{https://github.com/xufangzhi/ENVISIONS}.
[ 0.0158356, 0.0640264228, -0.0390543677, 0.045561213, -0.0364110917, 0.0291953739, -0.0031635154, -0.0192101337, 0.012825083, -0.0014965819, -0.0315390639, 0.0218263194, -0.0252982061, 0.0344700254, 0.0578454174, -0.0065272939, 0.0752717331, -0.011594384, -0.0103329131, -0.0060436409, -0.0139852818, -0.0005981703, 0.0131052509, 0.0077095511, -0.0265273806, -0.0385446697, -0.0263027865, 0.0168267582, 0.0126881292, -0.0285837054, -0.0067592533, 0.0432324335, 0.0476210862, 0.0922610983, 0.0000018873, -0.0637371913, 0.00000714, -0.013478525, -0.032740932, 0.0161972586, 0.0384387933, -0.0161428321, -0.0187889133, -0.0142741762, -0.0469939299, -0.0137771824, 0.0538590848, -0.0112668658, 0.0785818398, 0.0653018579, 0.0018738011, -0.0271017849, 0.0040847203, -0.0210940614, -0.0109391296, 0.0230904873, 0.0242696702, -0.0132313464, -0.0288502742, -0.0249013435, -0.0084417667, 0.0532911718, 0.040890146, -0.0001430375, 0.0007439081, 0.0331856906, -0.0427851751, -0.0216036774, -0.028951278, 0.0626373291, -0.0369779915, -0.0433860198, -0.0167213939, -0.018005101, 0.0355589539, -0.0218803901, -0.0235825349, 0.0022230691, 0.003497459, 0.0469189361, 0.0434247851, -0.0030081416, 0.0432957262, 0.0043160827, -0.0215958245, 0.0628463402, 0.0158586912, -0.0208325218, -0.0180303659, -0.0292267185, -0.0413344763, -0.0338564627, 0.0160951819, 0.0303933155, 0.0155263692, 0.0268247202, -0.0830032602, -0.0302492622, 0.0133179091, -0.0649956986, 0.0504291654, 0.049256511, 0.0120192496, 0.0490925424, -0.0252860337, 0.0632601976, -0.0101997042, 0.0255473666, -0.0345552787, 0.0135508925, -0.0395041779, -0.0059747784, -0.0525708273, 0.0223161168, -0.0207243171, -0.0141048813, -0.0184234623, 0.0316900574, 0.0253739879, 0.0048964079, -0.0079098362, -0.0035218436, -0.046506308, 0.0046052029, -0.0270312913, -0.0034697989, -0.0285068359, -0.033826869, -0.0025464541, -0.0236896202, -0.0067799171, -0.0024534864, -0.0090950588, -0.0217198133, -0.0136077041, 0.1118442789, 0.0129422592, -0.0381558351, -0.0200248621, 0.0191452503, -0.0259239133, -0.0370946564, 0.0192156527, -0.0408714525, 0.0471752845, -0.0229707099, -0.0248399954, -0.0511855222, 0.0227952972, -0.0188185312, 0.0350861214, 0.0608767904, -0.0540833138, 0.0158150233, 0.0463480763, -0.0294894204, 0.0317299627, 0.0696173161, 0.068398416, -0.0063316151, 0.003979465, 0.0038386933, -0.0251665674, 0.0771798044, 0.0014024136, 0.0080275601, -0.0309676882, 0.002821418, 0.0075055934, 0.1040746793, 0.023018701, 0.04249366, -0.0234414265, -0.0505598299, 0.0490026399, 0.0534832515, 0.0654670298, 0.0278951451, 0.0381456688, 0.0049073389, 0.0197762251, -0.0232345387, -0.0672441795, 0.0410234518, -0.0034508442, 0.0171067696, -0.0278707687, 0.0467243269, -0.0063349418, -0.0475518219, -0.0221003126, 0.0070183948, 0.002600091, -0.025575215, 0.0415221788, 0.0195165984, -0.0136777759, 0.016446067, 0.0602454282, -0.0321046822, 0.012080159, -0.0242576245, 0.0513264947, 0.0597853065, 0.0524967164, -0.0333983265, -0.0552842878, -0.001188282, -0.0252027977, 0.0768492445, 0.0359832793, -0.0180182829, -0.0066117039, -0.0275069028, -0.0145088593, -0.0315876454, -0.0007651931, 0.0286048166, 0.0092326682, -0.0240251608, 0.0017853446, -0.0150089068, -0.0388854854, 0.0846407041, -0.0545130931, -0.0307111088, -0.0004607113, 0.0037051195, 0.0456702039, 0.0061099627, -0.0372929201, 0.006125852, 0.0197626799, -0.0402028188, -0.0093981838, 0.0215046909, -0.0592051446, -0.0606205389, 0.0846710354, 0.0039168973, -0.0309520867, 0.0107605653, -0.0408783592, -0.0456481092, 0.0334167853, -0.065044038, 0.035793703, -0.0448824018, 0.0475003272, -0.0154927485, 0.001615635, -0.0396085829, 0.0512362383, 0.0189698618, -0.0224123504, 0.0064819269, 0.0246849731, 0.020081725, -0.0405762643, -0.0131329903, -0.0149717415, -0.0029729658, 0.0024169856, -0.0126521606, 0.0146902651, -0.0518536717, -0.0111498972, -0.0796130151, 0.0231232177, -0.0155268917, 0.0350462981, 0.0531042852, -0.0160374418, -0.0298387222, -0.0214255024, -0.0262093078, 0.0268434789, -0.0288652442, -0.0116855409, 0.0685111359, -0.0110117113, -0.0197475515, -0.0585820302, -0.0199663192, -0.0651116446, 0.027991144, 0.0344785117, -0.015233011, -0.0760068297, -0.0228908546, -0.0460609943, 0.0472474508, -0.0007979106, -0.0404238105, -0.006175804, -0.0023890645, 0.0286635663, 0.0450587645, 0.0078716753, -0.0195058789, 0.0563460439, 0.010524055, -0.0682343915, 0.0077971527, -0.0196707901, 0.0394963175, -0.0178836156, 0.0013752914, 0.0008208337, 0.0839662701, -0.020355748, -0.015881585, -0.0531291366, 0.0549905114, -0.0012208011, -0.0280068293, -0.0165500976, -0.0003023508, -0.0328687951, 0.003065458, -0.0602496229, -0.0519601218, 0.1008269042, -0.0261513945, -0.0069342107, -0.0329323225, -0.0110830823, -0.0508129001, 0.0767806694, 0.0253561642, 0.0166720822, 0.0504304543, -0.0293698702, -0.0559817888, 0.0098808613, -0.0022234267, -0.0061884169, 0.0277407002, -0.053436555, 0.0171794128, 0.0054201651, -0.0634535253, -0.0196603108, -0.0484860614, -0.0090980232, -0.0009553734, -0.0113940509, -0.0191192925, 0.0166509729, 0.0053351955, -0.0281431098, 0.0699231029, -0.0091505572, -0.0088540688, -0.0428603068, 0.0065649007, 0.0487785004, 0.0452831648, 0.0392998345, -0.0185245145, 0.022406118, 0.0182983801, 0.0173668079, -0.0016821971, -0.0578089394, 0.0130689219, 0.0011268446, -0.0710139349, -0.0047436492, -0.0037225662, 0.0143490294, -0.077564612, -0.0114442008, 0.0943860263, 0.0333044715, -0.009664109, 0.027009042, -0.0276510883, 0.0258180331, 0.0610730648, 0.0525972247, -0.0843677744, -0.031282898, 0.0042613777, -0.0053275544, 0.0238195639, -0.0372550935, 0.0083691273, -0.0950251222, 0.0125001892, 0.0422570631, -0.055494424, 0.027768258, -0.01307071, -0.0005014582, -0.0341974571, 0.0080740247, 0.045659177, -0.0087623261, -0.0129861301, 0.0024672777, -0.0136689413, -0.0412211306, 0.0099526728, -0.0921443552, 0.0581502616, 0.0565748028, 0.0326425061, 0.007693009, -0.0168872923, 0.067139864, -0.0086362232, 0.0245026723, -0.0095343478, 0.0464259125, -0.0039992169, -0.0286943931, -0.0039395923, 0.0449930131, -0.0428920835, 0.0098283952, 0.0000630971, 0.0692933574, 0.0081145158, 0.0200473592, -0.0250586569, -0.035610795, -0.0134809241, 0.0310873669, 0.0375631377, -0.0507339425, -0.0404054075, -0.0166772269, 0.014474025, -0.0051391618, -0.0477008447, 0.0019856782, 0.004176083, -0.0353635736, -0.0966552123, -0.0386723764, 0.034258347, 0.0567297712, 0.025684949, -0.0163792931, 0.001413269, -0.0300171152, -0.0477288552, 0.0449978858, -0.0526573695, -0.0053311144, 0.0085503235, 0.0039989697, 0.0201440789, -0.0221068207, 0.0149523821, -0.0001921, -0.0818802118, -0.0958599821, -0.0050787698, 0.0807562694, 0.0197002869, 0.0767401978, -0.0442685001, -0.0485610701, 0.0500112139, 0.0466982722, 0.0062886965, -0.0154413925, 0.0024155232, 0.0184788145, 0.0001056144, 0.0404897332, -0.0059157596, -0.0047585783, -0.0048821601, 0.0548962913, -0.0102388393, 0.005601068, 0.038912978, 0.0034667242, 0.0270352568, -0.0509633981, -0.0341996513, -0.0497284643, -0.0005096293, -0.0371717401, -0.0398057811, -0.0280332621, 0.0082156695, 0.002354956, 0.0166717302, 0.0045847474, -0.0163068753, 0.0155390631, 0.0150595205, -0.028260991, -0.0115629137, 0.0323384479, 0.0149120502, 0.0163917243, 0.0226786658, 0.0103486041, 0.0432166234, -0.0148851713, 0.0237699691, -0.0376797952, 0.0422659516, 0.0198159907, 0.013724139, -0.0409783125, 0.0210194755, -0.010991211, -0.0058795684, -0.0395579301, 0.0296630971, 0.0835140646, -0.0015647684, 0.0458223112, -0.0044234158, -0.0312402919, -0.000924214, 0.0075619887, -0.0560302176, -0.0210601818, 0.0333697051, 0.0192621332, -0.0377614982, -0.0104894144, 0.0336666778, -0.0108594457, 0.059770111, 0.0112016117, 0.0407340974, -0.0442739166, -0.01027436, -0.0061218138, -0.0272835083, -0.0410351083, -0.0294456966, -0.0343531929, -0.0792345777, 0.0154078631, 0.0908154547, -0.0225041509, 0.0072376882, 0.0321662016, 0.0454376228, -0.0332153849, -0.0276482832, -0.0135630565, -0.0033000803, -0.0062024756, -0.0458720289, -0.0214027725, -5.774591019e-33, -0.0341515057, 0.0151165277, 0.0377893634, -0.0066649029, -0.0352227837, -0.0253678113, -0.0399550237, 0.0147115104, -0.000503942, -0.0040798192, -0.0105125336, -0.0008540267, 0.0006564014, -0.0176303629, 0.0196507424, -0.0165313147, 0.0326777846, -0.0461689495, -0.0250437055, -0.0149279172, 0.005036925, 0.0300385561, 0.0399518684, -0.0508333705, -0.0257470049, 0.0443530567, 0.0174083617, 0.043740876, -0.0383621901, 0.0481917374, -0.0131794279, -0.0024324281, 0.0035226066, 0.0167614873, -0.0292957593, -0.0145718204, -0.0717897862, -0.0336462073, -0.0083791735, -0.002627373, -0.0465855561, -0.0483998172, 0.0834595039, -0.0118896682, -0.02852582, 0.0361888967, 0.0355390199, -0.0180011708, -0.0147780972, -0.0426233783, -0.0646104962, 0.0246872939, -0.0161176194, 0.0031221951, 0.0227595419, 0.0036564413, 0.0205495395, -0.0076055932, -0.0507224202, -0.0026199862, 0.0187597275, 0.0201536361, 0.0706388131, -0.0045893532, 0.0496118888, 0.0433692709, 0.0565662384, -0.0246877261, -0.0035860823, 0.0188228954, 0.0687689781, 0.0196598545, 0.05903624, 0.0306248385, 0.0285936091, 0.0146009345, -0.0460108556, -0.0061562797, 0.0272627771, 0.0112573653, -0.0083361184, 0.0597657375, -0.0162637029, 0.0125019867, -0.0477507748, -0.048036851, -0.0297486205, -0.0387995578, 0.0072066123, -0.0085221594, -0.0330486186, -0.0040752389, 0.0033185552, -0.0470145084, -0.0290256701, -0.0093417717, -0.0117692165, 0.0305117164, 0.0032950644, 0.0569589399, -0.0329893343, -0.035651844, -0.0077248998, 0.0289062709, 0.0597389564, -0.0072354572, 0.0350612439, 0.0447222628, -0.0488129333, 0.0149458274, -0.0323611945, -0.0085013323, 0.0177513063, -0.0256465804, 0.0457294546, 0.0001237778, 0.0109150261, 0.0155538768, 0.0649964139, -0.0114690531, -0.0416064113, 0.050362017, 0.0043512699, 0.0270537417, 0.0139177684, 0.0026527969, -0.0235933363, 0.0283114854, 0.0268659256, -0.0676501095, -0.0011299824, 0.0289573632, 2.512e-7, 0.038659744, 0.0622433051, 0.0606184117, -0.0126125412, 0.0638138205, 0.0274146944, -0.0235582869, 0.0108603565, 0.0144570814, -0.0101585407, 0.0109563302, 0.0267610997, 0.0366078131, 0.009553575, -0.095295094, 0.0233923215, -0.0777722523, 0.0344908088, -0.0737094954, 0.0030795292, 0.0051234649, 0.1247843578, 0.0432662703, -0.0061417636, -0.0202703439, -0.0381145068, 0.0535222962, -0.024061013, 0.0008541187, 0.0326358825, -0.0392930135, 0.0109270727, -0.0271258783, -0.0178947411, 0.0034426057, 0.0694109425, -0.0136814788, 0.0536088645, 0.0062923897, 0.012360313, 0.0142430868, 0.0109026153, -0.0001317721, -0.0345350094, 0.0742311031, -0.115584597, -0.0394528918, -0.0265000034, -0.0176365152, 0.0042798114, 0.0075923651, -0.025857104, -0.0085681248, 0.0550345406, 0.0272512976, -0.0203208979, -0.0331871398, -0.0708396286, -0.0455744192, 0.0044768737, -0.0638315901, 0.0145429457, -0.0525124371, 0.0280647874, 0.0177075081, -0.0503217056, -0.0075550335, 2.154476122e-34, 0.0011465399, -0.0220669247, 0.0305666309, 0.0276681483, 0.029088717, -0.0184373576, -0.0161864664, 0.0104979314, 0.0265337024, -0.055317156, -0.0242076963 ]
http://arxiv.org/abs/2406.11727v2
http://arxiv.org/pdf/2406.11727v2
1000 African Voices: Advancing inclusive multi-speaker multi-accent speech synthesis
2024-06-17T16:46:10
2024-06-27T08:52:54
Sewade Ogun, Abraham T. Owodunni, Tobi Olatunji, Eniola Alese, Babatunde Oladimeji, Tejumade Afonja, Kayode Olaleye, Naome A. Etori, Tosin Adewumi
eess.AS
eess.AS, cs.CL
Recent advances in speech synthesis have enabled many useful applications like audio directions in Google Maps, screen readers, and automated content generation on platforms like TikTok. However, these systems are mostly dominated by voices sourced from data-rich geographies with personas representative of their source data. Although 3000 of the world's languages are domiciled in Africa, African voices and personas are under-represented in these systems. As speech synthesis becomes increasingly democratized, it is desirable to increase the representation of African English accents. We present Afro-TTS, the first pan-African accented English speech synthesis system able to generate speech in 86 African accents, with 1000 personas representing the rich phonological diversity across the continent for downstream application in Education, Public Health, and Automated Content Creation. Speaker interpolation retains naturalness and accentedness, enabling the creation of new voices.
[ 0.0204446688, 0.0526483916, -0.0102817332, -0.0352354869, 0.0334349647, -0.036328651, 0.0544158556, -0.0309982877, -0.039710287, 0.0305693783, -0.0343905017, -0.0926537812, 0.0528578497, 0.0081666028, 0.0382563807, -0.1187246144, -0.0148417363, -0.0309992004, -0.0413739197, -0.0319360904, 0.0032647119, 0.0622964837, -0.0158397797, 0.0610147715, -0.0204171836, 0.0268253908, -0.0315830484, -0.0084247841, 0.0043572392, 0.053005442, -0.0281199962, -0.0025901813, -0.0162503067, 0.0112746786, 0.0000019619, -0.0267842524, -0.0241872184, 0.0015932558, -0.0530928075, 0.0381833203, 0.0526709259, 0.0695491806, -0.0582079142, 0.0422724672, -0.0301704574, 0.0082419105, 0.0689907372, -0.0428168774, 0.0620920733, 0.0300978869, -0.0056419927, -0.0282652806, -0.0133097703, -0.0062395292, -0.009316003, 0.0129901515, -0.0242649596, -0.0625036135, 0.0240129698, -0.0103833973, 0.0179288518, 0.0194354039, 0.0071910839, -0.0053049857, -0.007323477, -0.0287237819, -0.0153726125, -0.0845539272, -0.0154717239, 0.0507412143, 0.0008652562, 0.0154809095, 0.0139578711, 0.0546903238, -0.0023625616, -0.0450104252, -0.0207733363, 0.0094344914, -0.0121210525, 0.0032654228, -0.0304017626, 0.0521409251, 0.0156375989, -0.0315272734, -0.0382409729, 0.0068302481, 0.0205276199, -0.0108409422, -0.0076755038, 0.0189069677, -0.0040288866, 0.0107183689, 0.0498540439, 0.0097307302, -0.015303188, -0.0129868919, 0.0159943644, -0.0240526386, -0.0192275308, 0.023260247, 0.0642175004, 0.0207514241, -0.0158954747, -0.0578648522, 0.0187768806, -0.0039108996, -0.0163468141, -0.0278968439, -0.0123325083, -0.0231603868, 0.0126794251, -0.0380714312, -0.0168189704, -0.0121979313, -0.0607077032, 0.0445087738, -0.0375216119, 0.0018548837, -0.0473710485, 0.0076185944, 0.0283657983, 0.0207689311, -0.0279980153, -0.0668384284, 0.0454394035, 0.0101592559, -0.0131390207, 0.0526295751, -0.0301177651, -0.0991871133, 0.0306838788, -0.0343528464, 0.0228689592, 0.0667012855, 0.0114161698, 0.0118171219, 0.0049114865, 0.0069948183, -0.0447175801, -0.0610792004, -0.0236080736, 0.0029842688, -0.0441477671, -0.0574418418, -0.0151886353, -0.0241326205, 0.0068790205, -0.0162646715, -0.0191446878, 0.0077606654, 0.0636923462, -0.0053161113, -0.0100170802, 0.0457296409, 0.0771687105, 0.0034495865, 0.029918531, 0.0242771674, 0.0431002267, -0.0276249591, -0.0137487287, -0.0092765559, -0.0247489065, 0.0622429401, 0.0493831784, 0.0092974221, -0.0102155171, -0.0509459376, -0.0167021751, 0.0270275082, 0.0399800315, 0.047605671, -0.0096197464, -0.0126958154, 0.0450652689, 0.0175607167, 0.0210403111, 0.0141164111, 0.0938872546, -0.0061519328, 0.0056040413, -0.0294411201, 0.0108925011, -0.011617207, 0.0290159527, -0.0140535589, 0.0542443991, 0.1076362804, -0.0437716171, 0.0082726628, 0.0523417741, -0.0165255908, -0.0032437935, -0.0170309842, -0.0137548726, 0.0307746809, -0.0172932856, 0.0165153015, 0.0052325828, -0.0975242108, 0.0307796877, -0.0287813991, -0.0165875759, 0.0478805602, -0.0369652361, 0.0422273427, 0.0405863039, -0.0545298904, -0.0036624265, 0.0393549465, -0.0051120715, -0.0374693125, 0.0513896421, -0.0728985667, 0.0265590437, 0.0316930823, -0.0237804055, 0.0420246385, -0.0148018729, 0.0788269937, 0.0129470369, -0.0242898837, 0.038581308, -0.0335917138, -0.0641678721, 0.0123111075, 0.0271420144, 0.0156781115, 0.0363635495, 0.0721398517, -0.0327383913, 0.0177898798, -0.0300203394, -0.0575844385, 0.0004505466, 0.0526861586, -0.0587901212, 0.0121567026, 0.0315215364, -0.0645747185, 0.0265757721, 0.0045055845, 0.0617820732, -0.0809904113, 0.0946038887, 0.0008192883, 0.0292525124, -0.0048041306, 0.0153212734, 0.0278791357, 0.0238471832, 0.0297595281, -0.0420778133, 0.0497024395, -0.032223057, 0.0489269271, 0.0666621551, -0.0110823186, -0.0178904869, 0.032829091, 0.0251807272, -0.0097142728, 0.0118104937, -0.0436137319, -0.030077314, -0.0259068869, -0.0211433284, -0.0796416849, 0.01129709, 0.0019491112, -0.0082078958, -0.0296605956, 0.0680325776, -0.0041707722, 0.0028454266, -0.0483772531, -0.0654845461, 0.0135182422, -0.0458076745, -0.0502301715, -0.0506128147, -0.0205608271, -0.0183891468, 0.0030703822, 0.0342817232, 0.011558488, -0.0148063544, 0.0144896647, -0.0062798695, -0.0941459164, 0.0275393371, 0.0130171767, 0.0304739121, -0.0342030525, -0.016265491, 0.0055269385, 0.0349814892, -0.0105068432, -0.0025084638, -0.0347661041, -0.0020659848, -0.0439670794, -0.0225728676, -0.0065610302, 0.0190153886, 0.0590524487, -0.0074619702, -0.0257802587, -0.0010479447, 0.0158037655, 0.0714087263, 0.0171423629, -0.065519169, 0.0248604827, 0.0040573678, -0.0409286581, 0.0422286652, -0.0262632705, -0.0230796877, -0.0136315422, -0.0514992438, -0.0071845511, 0.0320510752, -0.0265285335, -0.0560969971, -0.0001035823, 0.0062836036, -0.0119955018, -0.0134647926, -0.0463167168, 0.0360205546, -0.0047382507, 0.0004100967, 0.0073627024, 0.0745159239, 0.0167553201, -0.0589710064, 0.0074156364, -0.0190829895, -0.033099208, -0.0130597278, -0.0449649878, 0.026392024, -0.0067586568, -0.0482446775, 0.0056848563, 0.0584336184, -0.028308006, 0.0395797193, 0.0345867872, 0.0553090088, 0.0470095575, 0.0187426358, 0.0209944025, 0.005092816, -0.0325802825, -0.0156492423, 0.047291249, -0.0290022399, -0.0411491655, 0.0452157818, -0.0274277441, 0.0257712826, 0.0247473177, -0.0201587901, 0.0130982241, 0.0386014506, 0.0097480668, -0.036149215, 0.0057439404, 0.0553282574, 0.0159650743, 0.0427769721, 0.0663206056, -0.0251780841, 0.00987266, 0.0260686018, -0.0235389024, 0.0596518628, -0.0132560246, -0.0229524169, -0.0692555755, -0.0127286995, 0.0465924628, 0.0326801613, -0.0497693941, 0.0217176508, -0.0267062709, -0.0870615914, 0.0555566549, 0.060742043, 0.0103845699, -0.0102308448, -0.0045967069, -0.051864218, 0.0283933654, -0.013503531, 0.0320546627, 0.019279018, -0.0256475918, 0.0630277991, -0.0879493356, -0.0492939539, -0.0100248568, -0.0471409224, 0.0977870673, 0.038578961, 0.004453165, 0.0156669188, -0.0554194376, -0.077215828, -0.0303021148, 0.0020951815, -0.0177151114, -0.0068656844, 0.070751965, -0.0275916625, 0.0055174152, 0.0626725033, -0.0319612883, 0.0205379706, -0.0045917202, 0.0241216645, -0.0121448459, 0.0205613412, -0.024705166, 0.0379654393, 0.0155459419, 0.029149821, 0.0262082126, -0.0880561396, 0.0010927803, -0.018596407, 0.0223581214, -0.077893436, -0.0301090404, 0.0651953891, 0.0204628166, -0.0483083874, -0.0319834761, -0.0083307009, -0.0074701449, 0.0391061492, 0.0269019045, -0.0468787812, 0.0106842639, -0.0152200637, 0.0008678178, -0.0416526347, -0.0074480823, 0.0684077144, -0.0122832479, -0.0097593553, 0.0071317079, -0.0428831764, 0.0309016313, 0.0110868048, -0.0222160872, -0.065465726, 0.070824638, 0.0160913803, 0.0242303871, 0.0389138348, 0.0244917925, -0.0547550172, 0.0654973015, -0.0172330011, 0.0539772399, 0.0396785587, 0.0710178316, 0.0141949989, 0.0012776776, 0.0190489739, 0.0025688212, 0.0512720197, -0.0192785971, -0.0182637405, -0.0118476218, -0.0516204312, -0.0268215276, -0.0150320483, -0.0241471324, -0.0350425169, 0.0291406401, -0.0305766948, 0.0056258924, -0.0097756693, 0.0438268334, -0.0414959751, -0.0187438093, 0.0524418205, 0.0293722227, 0.0079509048, -0.0143805491, -0.0045390604, -0.0219586045, 0.0240597408, 0.0490082428, 0.0125026554, 0.0122771347, 0.0322817378, 0.0234151054, -0.029180862, 0.0434880406, -0.0106211836, 0.0156308785, -0.0106329601, -0.0282090213, -0.0035072428, -0.0096802283, -0.0228182916, 0.0170197524, -0.0025875776, 0.0321202949, -0.0317652822, 0.0006502976, 0.0626956001, 0.0538099259, 0.0988679901, 0.0128353341, 0.031052608, 0.0156272594, -0.0063195415, -0.0465600565, -0.0118524414, -0.0245752484, -0.0368655361, -0.0157096609, 0.0171598196, 0.0231402125, -0.0479367487, 0.0248533096, -0.0233173966, 0.0294934511, -0.003706539, -0.0237287488, -0.0358988494, -0.0390978083, -0.0231233872, -0.0039232736, -0.0222474299, -0.0189762879, 0.0666343197, 0.0001648419, -0.0047561708, -0.0295206476, 0.0277455002, -0.0474159345, -0.0389114507, 0.0242394693, 0.001197145, -0.0507730134, -0.0416750088, -0.0242356099, 0.0582927465, -6.03826432e-33, -0.0049992362, 0.0577107556, -0.013775602, 0.0040647313, -0.0697897375, -0.0331626385, -0.0251736958, 0.0061630309, -0.0261882804, -0.0088825915, -0.0336143188, -0.0257475488, 0.012278609, 0.047823064, 0.0076926318, 0.053754624, 0.0627915859, 0.0094730062, 0.0041065412, 0.0377719551, 0.0275721382, 0.0418276638, -0.0022022813, -0.0121355318, -0.0144212479, -0.0162837971, -0.0470138788, -0.0301906355, -0.0014541977, 0.0291514099, 0.0075022979, 0.0590759665, -0.024168577, -0.0161258616, -0.0337816253, 0.0091035208, -0.0342130065, -0.0237941016, -0.019557938, 0.0433685519, -0.0328316391, -0.0417153537, 0.0324663445, 0.0028273666, -0.0573528036, 0.0307558738, -0.0180056486, -0.0521928743, 0.0046676588, -0.0212032348, -0.0246259067, 0.0251844954, -0.0016427074, 0.0059641236, 0.0035155113, 0.053639181, -0.0537173226, -0.0812134892, -0.0424286537, 0.0319826044, 0.0362631939, 0.0285568163, 0.0162619054, 0.0509680398, -0.0135980668, 0.0058182068, 0.056265898, -0.0969548672, -0.0117313713, 0.0041776788, 0.0418692306, -0.0013469466, 0.0282069854, 0.0697667599, 0.0022721877, -0.0372716971, 0.0114615355, 0.0154112875, 0.0608003363, -0.0276666284, -0.0217301548, 0.0264297724, 0.0144631611, -0.0095278788, -0.0490484312, -0.0320422463, 0.0084320856, -0.0315829143, 0.0386352576, -0.0347410664, 0.0077444958, 0.0458409749, 0.0412623584, 0.0264074653, -0.0230863094, -0.0493133962, -0.056358356, 0.0219389498, 0.0139318882, -0.0047508124, -0.0295477603, -0.0036072384, 0.0261387825, 0.0416455306, 0.0032227982, 0.008399507, -0.0349256694, 0.0485268347, -0.0676504299, 0.0201273095, 0.0020025633, 0.063157104, 0.0110427076, -0.0114598749, 0.0209691282, -0.0345435105, 0.0103896949, 0.0078529883, 0.0140251629, 0.0004418464, 0.0507617965, -0.0199042037, -0.0041469834, 0.019308053, -0.0745811015, 0.0214970522, 0.001738425, -0.0239030458, 0.0115608852, -0.0359267853, -0.0193314273, -0.0246933512, 2.665e-7, -0.0638774782, -0.0281085353, 0.0576966852, -0.0433068052, 0.0323493667, 0.0086494219, 0.0206100941, 0.0050985287, -0.0015875982, 0.0460950583, -0.0136366691, -0.0281915106, 0.1158039644, 0.0305138603, -0.0882268474, -0.0046230787, -0.0620094016, 0.0128226131, -0.0351919457, 0.0077600502, -0.0101938853, 0.0795506462, -0.0118129039, -0.0648756772, -0.0138586536, -0.0019318914, 0.018061148, -0.0087730745, 0.0142292175, -0.0255974121, 0.0579175092, -0.0379501805, 0.0044606146, -0.0115869706, -0.0451381952, 0.0386381522, 0.0179099776, 0.0351825617, -0.0172462463, 0.0268607549, 0.0159410033, -0.0037531308, -0.0694940761, 0.0125367735, 0.027281018, 0.0609432943, -0.0140954955, -0.0403463095, -0.0379766636, -0.0083703892, -0.0148629723, -0.0471379235, 0.0099925045, -0.0012861879, 0.0049564908, -0.0138618043, 0.0059984955, -0.0225059856, -0.0199930165, 0.0127741965, -0.036945574, -0.0063696131, -0.0079699764, 0.0404136032, -0.0080560045, -0.0128244096, 0.0296137501, 2.193897657e-34, -0.0040573585, -0.0241221022, 0.0719407573, -0.0005721482, -0.0252649877, -0.0211935658, 0.0487008207, 0.0294294301, 0.0202938784, 0.0131948162, -0.0543783754 ]
http://arxiv.org/abs/2406.11721v1
http://arxiv.org/pdf/2406.11721v1
Zero-Shot Generalization during Instruction Tuning: Insights from Similarity and Granularity
2024-06-17T16:40:21
2024-06-17T16:40:21
Bingxiang He, Ning Ding, Cheng Qian, Jia Deng, Ganqu Cui, Lifan Yuan, Huan-ang Gao, Huimin Chen, Zhiyuan Liu, Maosong Sun
cs.CL
cs.CL, cs.AI, cs.LG
Understanding alignment techniques begins with comprehending zero-shot generalization brought by instruction tuning, but little of the mechanism has been understood. Existing work has largely been confined to the task level, without considering that tasks are artificially defined and, to LLMs, merely consist of tokens and representations. This line of research has been limited to examining transfer between tasks from a task-pair perspective, with few studies focusing on understanding zero-shot generalization from the perspective of the data itself. To bridge this gap, we first demonstrate through multiple metrics that zero-shot generalization during instruction tuning happens very early. Next, we investigate the facilitation of zero-shot generalization from both data similarity and granularity perspectives, confirming that encountering highly similar and fine-grained training data earlier during instruction tuning, without the constraints of defined "tasks", enables better generalization. Finally, we propose a more grounded training data arrangement method, Test-centric Multi-turn Arrangement, and show its effectiveness in promoting continual learning and further loss reduction. For the first time, we show that zero-shot generalization during instruction tuning is a form of similarity-based generalization between training and test data at the instance level. We hope our analysis will advance the understanding of zero-shot generalization during instruction tuning and contribute to the development of more aligned LLMs. Our code is released at https://github.com/HBX-hbx/dynamics_of_zero-shot_generalization.
[ -0.0222773794, -0.0073490315, -0.0121674323, 0.0500334017, -0.0005326166, 0.0342178605, 0.0122103821, 0.0102172028, -0.0804253444, -0.0002713328, -0.0486381501, -0.0098592313, 0.0046452135, -0.0517908968, 0.0353549942, -0.0438769087, 0.0872653946, 0.0031310308, -0.046631556, -0.0058432682, 0.0132776788, -0.0277318247, -0.0201187767, 0.0105557907, 0.0026393102, -0.0256974269, -0.044279255, 0.056749668, 0.0321758687, -0.0161028281, -0.0100287367, -0.0035977652, 0.0259890221, 0.0449037477, 0.000001707, -0.0360231586, 0.0064789746, 0.000105934, -0.0272564609, -0.0040287273, -0.0218093023, -0.0064657386, -0.0047731986, -0.0144907022, -0.0000662729, -0.0356177464, 0.0757427365, 0.0050078603, 0.0621563271, 0.1085512787, 0.0010097207, -0.035743583, -0.0185973123, 0.0124908993, 0.0834845379, -0.0242192782, -0.0134218708, -0.007577735, -0.0401362702, -0.0094169024, -0.0427289046, -0.0126614859, 0.0132485814, 0.047297433, 0.0125631606, 0.0432850569, -0.0644633397, -0.0100831026, -0.0089903744, 0.0297345109, -0.0554466993, -0.0239439607, 0.0019948424, -0.0058432515, 0.0134744132, -0.0195048358, -0.0500638895, 0.0320705399, 0.0061209584, 0.0358337983, -0.0255161952, -0.0267118942, 0.0211925264, -0.0534198433, -0.0215360448, 0.0618545152, 0.0005468382, -0.0411520414, -0.0214019082, 0.0097218687, -0.0035273936, -0.0315240994, -0.0516273938, 0.0604182668, -0.0255333669, 0.0122892363, -0.0746603087, -0.0008847151, 0.0006519663, 0.0038089245, 0.1018197238, 0.0638582334, -0.0153464181, 0.0086775534, -0.0749326423, 0.0743546635, -0.0258842744, 0.0656255111, -0.0618674681, 0.0321259163, -0.094907172, 0.0169837195, 0.0007276231, 0.0516614988, 0.0097169299, 0.0144190658, -0.0305042248, 0.0647672638, -0.0070560318, 0.036333207, -0.0232453477, -0.008055456, -0.0703058019, 0.0396455005, -0.0077037923, 0.035383746, -0.0540359579, 0.012700526, -0.0068390393, -0.0052728062, -0.0438169464, 0.0133122541, -0.0224044845, -0.0256143361, 0.0244347174, 0.069997184, -0.0287940577, -0.0037987044, -0.0286803599, 0.0000056975, 0.0194137227, -0.0440010168, 0.0402614884, -0.025695961, 0.0451716334, 0.0186855961, -0.0083395746, 0.0066184755, -0.0079301829, -0.0121837538, -0.0249826536, 0.0543066561, 0.0311647356, 0.0003131338, -0.0079889204, -0.0004988447, -0.0071698143, 0.0714754462, 0.0212087985, -0.0129017793, 0.0046479483, -0.022997912, -0.0085366815, 0.0198161751, 0.0204076283, 0.0152939875, 0.0144555867, -0.0114266127, 0.0411725976, 0.047112003, 0.077542834, -0.0210457724, -0.0365715548, -0.015854314, 0.0159674939, 0.0584363714, 0.0427693687, 0.0030884237, 0.044495184, -0.0243987255, -0.009635021, 0.0746259764, -0.0695803314, 0.0419063605, -0.0163562763, 0.0244662054, -0.0036292672, 0.0308247805, -0.0596862584, -0.022804549, -0.0172682218, 0.0192751028, -0.0337355882, -0.0376329385, 0.0171624608, -0.0093362248, -0.0434633307, 0.0513770804, 0.0250340085, -0.0457945801, -0.022023391, -0.0389456972, -0.0164859369, 0.0109298769, 0.0169024356, -0.0418621451, -0.1061962619, 0.018796904, 0.0337649211, -0.0128300702, 0.0184285883, -0.011934272, 0.0477558225, -0.0342962481, -0.0505649485, -0.0257973, -0.0143376598, 0.0113124317, 0.0117541961, -0.0390047804, 0.0001592282, -0.024954468, -0.0294292811, 0.0486592799, 0.00825099, -0.0425887853, -0.0080490001, 0.028483171, -0.0017020758, -0.015192911, -0.0324566923, -0.0174055006, 0.0509144329, 0.0082112802, 0.052988179, -0.0008691254, -0.0697971135, -0.0238467846, 0.0266397633, -0.0340402238, -0.0018870196, -0.0132879429, -0.0764755309, -0.0656755865, 0.0081167463, 0.0045080339, 0.0263880286, 0.0444248617, 0.0541142523, -0.0137972552, -0.0156770907, -0.0420839936, 0.0358346924, 0.0085026221, 0.0006753012, -0.0100655695, 0.0249333028, 0.0117713241, -0.058478754, -0.0120009221, 0.0089409333, 0.0063221306, 0.0276695695, -0.0077732047, -0.0092442418, -0.0593742877, -0.0122973714, -0.0658859834, 0.0405418649, 0.0104213431, 0.0655041859, 0.0535303541, -0.0232004598, -0.0011875919, -0.0184584837, -0.0194350127, 0.0336949751, -0.0262748562, -0.002980293, 0.0578157566, 0.0108668311, -0.0317700692, -0.0151401609, -0.0078777848, -0.0244433824, 0.0131441876, -0.0512291081, 0.0313590989, -0.0881180987, 0.0469040275, -0.0250872895, 0.0163511839, 0.0031409818, -0.0002064979, 0.0328081548, 0.0223134253, -0.0194130205, 0.1063578874, -0.0577180944, 0.026092872, 0.0331127271, 0.0212794319, -0.0545932241, -0.0023742404, -0.0184546113, -0.0666833147, -0.0406301804, -0.0109640649, -0.0147681311, 0.092434749, -0.0160943884, 0.0039638509, -0.0553981289, 0.0032807158, 0.0158643909, 0.0007044993, -0.0005000007, 0.0095536876, -0.0346798748, -0.0390542224, -0.0673340634, -0.0822212398, 0.0521281511, 0.0103579899, -0.0080935238, -0.0191030912, -0.0024592956, -0.0163247604, 0.0267058816, 0.0248252917, 0.0068329978, -0.004108056, -0.0163712576, -0.0969986767, 0.019176295, 0.0218185019, 0.0112946127, 0.0715128109, -0.0298787914, -0.0278861206, -0.0525045283, -0.0163914394, -0.0294944495, 0.0439085625, 0.056431897, 0.013789692, -0.0093263518, -0.025088245, -0.0409544967, -0.0425016023, 0.0287414603, 0.0348916613, -0.025747342, -0.0191355515, -0.0606425665, -0.0060808905, -0.0008232623, -0.0170653835, -0.0378853716, -0.0418614149, -0.0063117589, 0.0231214073, 0.0669945106, -0.0063629295, -0.0463009961, 0.0051354864, 0.0081922328, -0.0606962182, -0.0379208289, 0.0402623527, 0.0933397859, -0.0392133817, -0.0276333038, 0.0468492582, 0.0166087709, -0.0363173373, 0.01012001, -0.0011426971, 0.0186810791, 0.0629251078, 0.0405519418, -0.0627453402, -0.028232703, -0.0053086197, 0.015120076, 0.0090311114, 0.0052973526, 0.0078260526, -0.0943872035, -0.0201486386, 0.0465343632, -0.0942673907, -0.0238002315, 0.0239250567, 0.017455237, -0.0113252476, 0.0470297448, 0.001253386, -0.0289924387, 0.0161204506, 0.0575952679, 0.0536599904, -0.021946691, -0.0123932594, -0.0551486574, 0.06296774, 0.0659383237, -0.025911428, 0.0131374765, -0.0350208208, 0.0323233232, 0.0228038635, 0.0601485297, 0.005028097, 0.0515420847, -0.0082568238, 0.0062307296, 0.0308056343, 0.0122615583, 0.0167164672, 0.0142013235, 0.0142735047, 0.0686506182, -0.015363602, -0.0093583716, -0.0158693809, -0.059226308, -0.0217232257, 0.0230122823, 0.0255966634, -0.0020161706, -0.0280369278, -0.029836487, -0.0097224452, -0.0359671861, -0.003632969, 0.0361095406, -0.0505166724, -0.0162800346, -0.036084976, -0.0206428282, 0.0196126457, 0.0452019274, 0.0206351522, -0.0562568419, -0.0393579602, -0.0279543456, -0.0474988185, 0.0282923039, -0.0034582443, 0.0074291201, -0.0716461837, -0.0505247042, -0.0043001999, 0.0035618395, 0.0111510353, -0.0432211347, -0.0793120041, -0.0638307333, -0.0034016226, 0.0765731931, 0.0158200394, 0.0941540226, 0.0345859453, -0.0179571416, 0.0547903255, 0.0383252129, 0.0067511108, 0.0461829379, 0.0540690757, -0.0236516856, 0.0189425573, 0.0101871742, -0.0337490588, 0.0167936124, 0.0734935552, -0.0153918201, -0.0236391835, 0.0410640612, 0.0103000347, -0.0099713933, 0.0601757877, 0.0203338508, 0.0127902869, 0.0101798819, 0.0313339904, 0.0102175046, 0.0096653476, -0.0152700329, -0.044990994, 0.0019890973, 0.0200197175, 0.0504298173, 0.0228978377, 0.0056409459, 0.0425889567, -0.0562599748, 0.0083615612, -0.0028311834, 0.0164338164, 0.0121415481, 0.0552688986, 0.0017826004, 0.0395794772, 0.0111612855, 0.0491572954, 0.0035582061, 0.036605794, 0.058515083, 0.0824240372, -0.0560843013, 0.0301894136, -0.0596131831, -0.0205805283, -0.0400192738, -0.0174631458, 0.0485879593, -0.0331324339, 0.0268416442, 0.0328021049, 0.004795196, 0.0213150717, 0.0063492619, -0.0424899235, 0.0005513762, -0.0099552535, 0.0473183095, 0.0297572967, -0.0240759775, 0.0823628828, -0.0360635705, 0.0536809005, -0.0478759259, 0.0271160454, -0.0272985846, 0.0066663139, 0.0741644204, 0.0002901056, 0.0029545366, -0.0427220166, -0.0098399846, -0.0328670219, -0.0203307364, 0.0048152274, 0.0340656154, -0.0279710218, 0.0405016616, 0.0150381215, -0.0299103297, -0.0338492654, 0.025699446, -0.0248124078, 0.0407703333, -0.0161201954, -0.027100049, -5.381841826e-33, -0.0452304967, 0.0111617884, 0.0275526792, -0.0005757261, -0.029512044, 0.009190239, -0.0066615543, -0.0103778159, -0.0261803493, -0.0119800968, -0.0029189389, -0.0099505996, 0.0085797999, -0.0183702558, 0.0562211126, -0.0370695218, 0.0238066949, -0.0301529039, -0.0537180342, 0.010769669, 0.0243294816, 0.0246096458, 0.0853163376, -0.0088220602, 0.0050183097, -0.0034539236, 0.010955302, 0.0141793508, -0.006570695, 0.0244124215, 0.016203871, 0.0025933108, 0.0102964016, -0.0442493781, -0.047036089, -0.016817119, -0.0417582393, -0.0645834878, -0.0072781001, 0.0147584248, -0.0524524078, -0.0469644554, 0.0739497095, -0.0054669795, -0.0573544353, -0.0359593518, 0.0349206626, -0.0095744021, -0.0310376193, -0.0105126807, -0.0815183222, -0.0203624349, -0.0085429586, -0.0399005152, 0.0244570188, 0.0140981926, 0.0100896657, 0.0085997563, -0.0537231304, 0.0203932021, -0.0155939385, 0.0500701033, 0.0819089413, 0.0701626614, 0.0238237083, 0.0264451802, 0.0592482425, 0.0092439661, -0.0047832276, 0.0031058029, 0.0110507747, 0.0193207413, -0.0196676385, -0.0303753428, 0.0800312683, 0.0100894906, -0.038445726, 0.0191019755, -0.0121711455, 0.0570249371, -0.0340029411, 0.050428886, -0.0465835035, -0.0166393034, 0.0040671928, -0.0145774139, -0.0201589726, -0.026295362, 0.018220704, -0.0088524781, 0.002608109, 0.0291821249, 0.0201707631, -0.0200393908, 0.0226952024, -0.0222113132, -0.0324529484, 0.0247519854, 0.0019454552, -0.0170418303, -0.0704266876, -0.1008744091, 0.0130111557, -0.0077739079, 0.0758390054, 0.0161010325, 0.0759992227, 0.0128419073, -0.0398829468, -0.0132242329, -0.0491906703, -0.032305751, 0.0137316901, -0.0087955454, 0.023599172, 0.0278546773, -0.0041268333, 0.0574904121, 0.0334984325, -0.0455658026, -0.0488123447, -0.0098314928, -0.0212057848, 0.0262495223, -0.0008165439, 0.029096676, -0.0245450754, -0.0177427977, 0.0031979172, -0.0620847046, -0.0413649715, 0.0137747144, 2.479e-7, 0.0226880033, 0.0269970223, 0.0276770461, 0.0174099226, 0.003867456, 0.0277221948, -0.0333651863, 0.0481820442, -0.001277686, -0.0180024002, 0.0274830684, 0.0399377979, 0.0050041694, 0.0000277808, -0.0349109322, 0.0237172563, -0.0093022361, 0.0454559997, -0.0398620255, 0.0465465337, -0.0060834642, 0.0543313399, 0.0256658327, 0.0064595193, 0.0348196328, 0.0185303502, 0.02328372, 0.0077663129, 0.0410799496, 0.024431793, -0.0257425699, -0.0123054311, -0.036953833, 0.0386591628, -0.0039103283, 0.0406650081, -0.0246244334, 0.0194602087, -0.0418363288, -0.0102098864, -0.0145447338, -0.0200216938, -0.0038919298, -0.0164168961, 0.060948886, -0.0729282349, 0.0000653005, -0.0052021276, -0.0017885066, 0.0311917961, 0.0003585025, 0.0308314506, 0.0187905263, 0.0314897262, 0.0217360966, 0.0034226887, -0.0595206954, -0.0509971343, -0.0299227294, 0.0581793077, -0.0265579876, -0.0514599346, -0.0213161036, -0.0127907842, 0.0063249571, -0.0438844487, -0.0553924739, 2.308979013e-34, -0.0283193327, -0.0180661995, 0.0858866274, 0.0305132028, -0.0146564553, -0.0471711755, -0.0496472232, 0.0255997423, 0.0244736262, -0.013826835, -0.014244468 ]
http://arxiv.org/abs/2406.11717v1
http://arxiv.org/pdf/2406.11717v1
Refusal in Language Models Is Mediated by a Single Direction
2024-06-17T16:36:12
2024-06-17T16:36:12
Andy Arditi, Oscar Obeso, Aaquib Syed, Daniel Paleka, Nina Rimsky, Wes Gurnee, Neel Nanda
cs.LG
cs.LG, cs.AI, cs.CL
Conversational large language models are fine-tuned for both instruction-following and safety, resulting in models that obey benign requests but refuse harmful ones. While this refusal behavior is widespread across chat models, its underlying mechanisms remain poorly understood. In this work, we show that refusal is mediated by a one-dimensional subspace, across 13 popular open-source chat models up to 72B parameters in size. Specifically, for each model, we find a single direction such that erasing this direction from the model's residual stream activations prevents it from refusing harmful instructions, while adding this direction elicits refusal on even harmless instructions. Leveraging this insight, we propose a novel white-box jailbreak method that surgically disables refusal with minimal effect on other capabilities. Finally, we mechanistically analyze how adversarial suffixes suppress propagation of the refusal-mediating direction. Our findings underscore the brittleness of current safety fine-tuning methods. More broadly, our work showcases how an understanding of model internals can be leveraged to develop practical methods for controlling model behavior.
[ 0.0541894622, 0.0923715308, -0.0254071336, 0.0296244025, -0.0267549325, 0.0149841104, -0.0011410464, 0.0092010414, 0.050409805, -0.021281017, -0.0421381444, -0.0724660158, -0.0072081843, 0.0488428436, 0.0301216226, -0.0159254204, 0.0676938668, -0.0161900036, 0.0033829717, -0.0190240964, 0.0227670278, -0.0160790775, 0.0126256021, 0.0561890341, 0.0322402157, -0.0028455162, -0.0239359699, -0.0000275401, -0.0529425219, -0.0099939257, 0.026780542, 0.0769551843, -0.0087203151, 0.0824660957, 0.0000022406, -0.0180942304, -0.0104030631, -0.0196812581, -0.0304220729, 0.0292463005, 0.0079186885, -0.067217201, -0.0402383618, 0.0083987061, -0.0298754647, 0.0062485314, 0.0554133318, 0.0690576881, 0.0663316548, 0.0692803934, 0.0083194952, 0.0111773238, 0.0404052995, -0.0463230386, 0.011390415, -0.0915144831, 0.0220411196, -0.0223698299, -0.0053884778, 0.0256316531, -0.0472968854, 0.0224024523, 0.0373675264, -0.0286765043, -0.0437083133, -0.0102910465, -0.0193163883, -0.0638536662, -0.0042709075, 0.0817515478, -0.017130699, -0.0013202127, 0.0095869247, 0.0034734874, 0.009819014, -0.0194171816, -0.0730377212, 0.0087734889, 0.0321624205, -0.026359614, -0.0356002524, -0.0181668475, 0.0515358895, 0.0093655195, 0.0255701579, 0.0047547966, 0.0217588656, -0.020099612, -0.0233487692, -0.0077398475, -0.0040853033, -0.0674427748, 0.013361156, -0.0134039363, -0.0574297383, 0.004109174, -0.0561429076, 0.0142660365, 0.0439239107, -0.0364014469, 0.0360457189, 0.0189235602, 0.0131661892, 0.03937364, 0.0139546711, -0.0171901435, -0.0569552891, 0.0437120199, 0.0009202916, 0.0284130722, -0.0097139291, -0.0272611976, -0.0146937575, -0.0037547322, -0.0527476147, -0.0167639237, -0.019134691, 0.0319333933, -0.0154285375, 0.0033796444, -0.0463758893, 0.0165003259, -0.0110775819, 0.0054158135, 0.0256625395, -0.0171669219, -0.0266313087, -0.0062796376, 0.0230793431, -0.0705276504, -0.0453647189, -0.0021058994, -0.0440743193, -0.0284320116, -0.0241610035, 0.0927171931, 0.0155872228, -0.0114640873, -0.0163585581, -0.0409368351, -0.0450571552, -0.0506775677, 0.0289793275, -0.0161730517, -0.0008034795, -0.0048346063, -0.0379887111, -0.0770594552, 0.0002623382, -0.0071759648, -0.05296994, 0.0746818334, 0.054836113, -0.0369351842, -0.0129801724, 0.0736586303, 0.0041338406, 0.0455138832, 0.00414884, 0.029468555, 0.051372584, -0.0051730336, 0.0560970753, 0.0415777788, 0.0580674931, 0.0343949236, -0.0614036396, 0.0063977335, 0.0346461199, 0.0103297895, -0.01687981, 0.055607684, -0.0381919332, -0.0751897767, 0.0877426714, 0.0098532559, -0.0594026037, 0.0450985916, -0.0069429926, 0.0092375726, -0.0260813162, 0.0354428925, -0.0798231289, 0.0267012175, -0.0683300495, -0.0226203538, 0.0321655273, 0.0381207876, -0.0334406048, -0.0208734982, 0.0323354267, -0.0033863329, 0.0468548052, -0.0019995878, 0.0144560626, 0.0276974086, -0.0274419896, 0.0099767782, 0.0344727896, -0.0354855508, -0.0378257744, -0.0794063359, 0.013723691, 0.0384811983, 0.079380624, -0.0060247956, 0.0101951389, -0.0105021587, 0.0242834166, 0.0192302708, 0.057998199, -0.0059762765, 0.0483607501, -0.0456674993, -0.0263579693, 0.0140588935, 0.0350793079, 0.0113716545, 0.0084057469, -0.0215621665, -0.0224181637, 0.00771371, -0.027978573, 0.0209826771, -0.0192287397, -0.053466551, -0.0039965278, -0.0015912169, 0.0259589758, -0.0125378203, -0.000089988, 0.0149038676, 0.0317188054, 0.0076962654, -0.0170151293, 0.0094007449, -0.083643958, -0.0317367651, 0.0189755429, 0.0053311391, -0.0377700664, 0.0681542307, -0.0229997486, -0.0149701973, 0.0832368582, -0.0219812319, 0.0512363352, -0.0038097785, 0.0069703199, -0.0121094026, 0.0410984568, -0.0223306138, -0.0003136162, -0.0272897519, -0.0009699155, 0.0305941012, 0.0080550425, -0.0026727109, -0.0135400919, -0.0441857576, 0.0440842509, -0.0201879721, 0.0473586582, 0.012942438, -0.007364579, -0.0280518401, -0.0252058934, -0.0207074396, -0.0152641479, -0.0077065635, -0.0059624906, 0.0163589641, 0.0144354841, -0.0097674746, -0.022157101, 0.014441303, -0.0100899702, -0.0038727494, 0.0436208919, -0.0050181882, -0.0067370948, -0.0511796325, -0.0650533661, -0.0296329334, 0.0248337593, 0.0439846553, -0.0271636788, 0.0124234036, 0.0097341137, -0.0104186134, -0.016238803, 0.051801376, -0.0340004824, -0.0685672536, 0.0263670702, -0.0012407628, -0.0166534688, 0.0899654627, 0.0160553269, 0.0762118101, 0.0507523902, 0.0050732982, -0.0457533486, 0.0018615205, -0.0033693665, -0.0260425694, -0.0173826162, 0.0003945746, -0.0247597359, 0.0751380548, 0.0196063071, -0.0035787127, -0.0547935478, 0.0517350659, 0.0018747927, -0.0667779297, -0.0060315751, -0.0036636565, -0.047856044, 0.0224090591, -0.0218372717, -0.0550535768, 0.0823138803, -0.0319008939, -0.0093783801, 0.0039214119, -0.024867082, 0.0189537294, 0.0831691027, -0.0101350984, 0.0032986307, 0.0860496163, -0.0060694688, -0.0484174713, -0.02493551, 0.0324676782, -0.0206379164, 0.0004968882, -0.0352469794, -0.0059853131, 0.0083210804, -0.0274424087, -0.0375403799, -0.0817530602, 0.0068200855, -0.0019719016, 0.047744479, -0.0268730242, -0.0270494409, 0.0101821152, 0.0063620559, 0.0145257413, -0.0336590335, 0.0134303207, -0.0556219891, -0.0028497013, 0.0672885329, -0.0154195307, 0.0325941592, -0.0423922166, 0.0459889323, 0.0754174739, -0.0230785441, 0.0417559855, 0.0146374917, 0.0223878901, 0.01769186, 0.0481469408, -0.0316317528, 0.0122761661, 0.0786239132, -0.043121621, -0.0423599407, 0.0538420305, 0.0241613016, -0.025689587, 0.0320952982, -0.0005454203, 0.0727065653, 0.0023757496, 0.0093860924, -0.0458984524, -0.0383882113, 0.0197313447, 0.0348937176, -0.0079959445, -0.0303407442, -0.0029645269, -0.0830559954, 0.0115545727, 0.0172555689, -0.0189186446, -0.0313804224, -0.0192247666, -0.0129066119, -0.0059448951, 0.0758940727, -0.0221864805, 0.0164402518, -0.006206831, 0.0000144811, 0.0226114225, -0.0282336306, 0.053418912, -0.04690101, 0.092279613, 0.0701240003, 0.022169387, -0.001172456, 0.0059970547, 0.0506852642, 0.0079938965, -0.0169663243, 0.0076458957, 0.0332615338, 0.0177603438, 0.0045566862, -0.0287831146, 0.034561187, 0.0060173124, -0.0193108805, 0.0041043297, 0.0451337062, -0.0109466854, -0.0290505514, -0.0187648498, 0.0362511463, 0.0476658717, 0.0792556852, 0.0500440001, -0.0600226484, -0.043574594, -0.0690826848, -0.0237713177, -0.0242419634, -0.0526143163, -0.0153977247, 0.0234091971, -0.0247255974, -0.0576628037, -0.0251093283, -0.0014834715, 0.0022059372, 0.0109534422, -0.0220245272, -0.0124597754, -0.0103403116, 0.03498042, 0.0075040194, -0.0150872786, 0.0205103196, -0.0503029302, 0.0072847223, 0.0034499306, -0.0232341327, -0.007742526, 0.026183201, -0.0465534516, -0.1023557633, 0.0153113622, 0.0439120755, 0.0246422347, 0.0272547752, -0.0325341485, -0.0589282215, -0.0062736189, 0.0602530427, -0.0194228124, 0.0273649972, 0.0942280516, -0.0211613495, 0.0021005596, 0.0502788238, -0.0155636948, 0.0040930738, 0.0607356541, 0.0112726837, -0.0415317081, -0.0012357507, 0.0189938117, -0.00150398, -0.0028712726, 0.0176259149, -0.0404055566, -0.0008252033, 0.0153779984, -0.0012142122, -0.0079831341, -0.0496687628, -0.0009061623, 0.0262228753, -0.0200678315, 0.0014978348, -0.0085716052, 0.0197221674, 0.0047155651, -0.0549804866, 0.0161556154, 0.0130657712, 0.0046348721, 0.0333236828, 0.0141992765, -0.0144572239, 0.0693244711, -0.0092516514, 0.0086364755, -0.0123271998, 0.0534644797, 0.0233998001, -0.0054733139, -0.0137275606, 0.0524548441, -0.0994761363, -0.0494055189, 0.010167066, 0.0710250363, 0.0100743873, -0.0143726738, 0.0185171645, 0.0045997244, -0.0074905502, -0.0319199115, 0.0367987491, 0.0031612334, -0.0607675649, 0.0242231134, 0.0144894002, -0.004146399, 0.0170377064, 0.0532844365, 0.0256368537, 0.0875376612, 0.0200097766, 0.0144590447, -0.0275130384, -0.0473280922, 0.0753933489, 0.0061114221, -0.0323623791, 0.0165020917, -0.0658223853, -0.0848203376, -0.079992868, 0.0176976956, 0.0189797692, -0.0420935266, -0.0150892772, 0.0444412418, 0.0232044179, -0.0100632161, -0.0324394479, -0.0142335501, 0.0161770564, -0.0322908685, -0.0152573092, -7.239356163e-33, -0.0044359984, -0.0126629006, -0.0186567102, -0.0346642956, 0.0124602346, -0.0321901478, -0.041549813, -0.007801028, -0.0342343412, -0.0171182659, -0.0346105732, 0.0338247381, -0.0032823966, 0.0207576398, 0.0024364076, -0.0322587229, 0.0403515846, -0.0144228954, -0.0373026393, 0.0462626852, 0.0317260921, -0.0010572851, -0.008575703, -0.0471584275, 0.0470380522, -0.0262746401, -0.0354309231, 0.0160902906, -0.049331475, 0.0570635609, -0.0186764635, -0.0144037018, -0.0148724252, -0.0421731435, -0.0224583019, 0.0426667444, -0.0136901038, 0.0008780781, 0.0190816708, -0.0259048641, -0.0203928016, -0.0094382567, 0.0466670655, -0.0157153104, -0.0212546028, -0.0192747526, -0.0256895721, 0.0061988374, -0.0183370579, 0.0326870047, -0.0651983693, 0.0100705698, -0.0293498971, -0.084539108, 0.0066847918, 0.0038319791, 0.0143169668, -0.0164753795, -0.0204790924, 0.0170503017, 0.0170173738, 0.0295513123, 0.0324652568, -0.015836766, -0.0041938936, 0.0420199335, -0.001372912, 0.0143082682, -0.0070920666, -0.0486711599, 0.0255609136, 0.0557315312, 0.039306324, 0.0273437761, 0.0340463221, -0.055522304, -0.0370019637, -0.0152377086, 0.0321961306, 0.030069083, 0.0355450585, 0.0146877533, -0.0188549496, -0.0328085013, -0.0221921913, -0.059695892, -0.0270766821, -0.0161120333, 0.0320422091, 0.0344404392, -0.0055930489, -0.0383718163, 0.0230669752, -0.0704137012, -0.0267971717, 0.0358022563, 0.0149935381, -0.0195401087, 0.0168938506, 0.010933131, -0.0534530543, -0.0143045941, 0.0286545847, -0.0412034951, 0.0032031916, 0.013281838, 0.0671391115, 0.0336868539, -0.0431911275, -0.0081977723, -0.0300227478, 0.0623148642, 0.0025530017, 0.0127323261, 0.0341017134, -0.0184783563, -0.0178524945, 0.0155092776, 0.0096696103, 0.023498565, -0.0859366208, 0.0103173573, -0.0159707349, 0.0269196723, -0.0343280695, -0.0248849746, -0.041681435, -0.0189774577, 0.0740048215, -0.0860253647, -0.0162656419, -0.0473839007, 3.009e-7, -0.0291363243, 0.0411788076, 0.0207632724, 0.0213681944, 0.0389389358, 0.0886141062, -0.0248759761, 0.0697818398, -0.0184467714, -0.0103765363, -0.0021643911, 0.0027225371, 0.0546804965, 0.019024983, -0.0443056524, 0.0255221296, -0.0984665677, -0.0067852288, -0.012491202, -0.0313653797, 0.0242367424, 0.118598789, 0.008262842, -0.0021438687, 0.0289769657, -0.02260991, 0.0466969758, -0.0389114395, 0.020643197, -0.0017797992, 0.0206876602, -0.0156199168, 0.0281372517, -0.0097158356, -0.0140859, -0.00261764, -0.0325146616, 0.1012187004, 0.0001582982, -0.0276881363, -0.0305582862, -0.0159010403, -0.0325898677, -0.0465428196, 0.0534770563, -0.0147690224, -0.0386096165, -0.0405053198, 0.053636726, -0.0071700206, 0.0232233703, 0.0068224547, -0.0173971932, -0.0049171355, 0.0055758175, 0.0108420216, 0.0399238989, -0.0598776527, -0.0124697266, -0.0327447802, -0.0245310739, -0.0504768379, -0.0172824636, -0.0054874872, 0.012852638, -0.0299770962, -0.0059922333, 2.878896097e-34, 0.0420034565, -0.0202073343, 0.0388514064, 0.0018908835, 0.0429954641, 0.00218091, 0.0586223416, 0.0113724424, 0.0457866192, -0.0281797033, -0.0358530954 ]
http://arxiv.org/abs/2406.11715v1
http://arxiv.org/pdf/2406.11715v1
Measuring memorization in RLHF for code completion
2024-06-17T16:33:35
2024-06-17T16:33:35
Aneesh Pappu, Billy Porter, Ilia Shumailov, Jamie Hayes
cs.LG
cs.LG, cs.CL, cs.SE
Reinforcement learning with human feedback (RLHF) has become the dominant method to align large models to user preferences. Unlike fine-tuning, for which there are many studies regarding training data memorization, it is not clear how memorization is affected by or introduced in the RLHF alignment process. Understanding this relationship is important as real user data may be collected and used to align large models; if user data is memorized during RLHF and later regurgitated, this could raise privacy concerns. In this work, we analyze how training data memorization can surface and propagate through each phase of RLHF. We focus our study on code completion models, as code completion is one of the most popular use cases for large language models. We find that RLHF significantly decreases the chance that data used for reward modeling and reinforcement learning is memorized, in comparison to aligning via directly fine-tuning on this data, but that examples already memorized during the fine-tuning stage of RLHF, will, in the majority of cases, remain memorized after RLHF.
[ 0.0255298316, 0.0813183412, -0.0344811492, -0.005877133, -0.0181301143, 0.0088915676, -0.0445573889, -0.0184538271, -0.0081994031, 0.0483376011, -0.0448043942, 0.0111413393, 0.0317340344, -0.0178700518, -0.0007784155, -0.0291944258, 0.0335746668, -0.050990548, -0.0262794234, -0.01954275, -0.0060762935, -0.0078870626, 0.0166918524, 0.0405218825, 0.0260274746, -0.0244701728, -0.0216375049, -0.0040003653, -0.0018643917, -0.0318236426, 0.0276740044, 0.076014474, 0.0207829084, 0.0252424777, 0.0000021795, -0.031661883, -0.0341356397, -0.0109266462, -0.0376910158, 0.0316937007, 0.0061418763, 0.034012001, 0.0005239049, 0.0049645239, -0.0255961046, 0.0096004633, 0.0810077637, 0.0074016927, 0.0350042321, 0.0229074266, 0.0222669113, 0.0109654563, 0.0026631451, -0.0059104883, 0.0593767948, -0.027350286, 0.0180058163, 0.0351075083, 0.0082409084, -0.0360874943, -0.0266900323, 0.0164184179, 0.0352905095, 0.0449749045, 0.0256163981, 0.032796517, 0.000096595, -0.0024797306, 0.0048828591, 0.034694735, -0.0048035663, -0.046121262, 0.0241966583, 0.0154968444, -0.0045818994, 0.0045607202, -0.0317828916, 0.0046108644, -0.0528585799, 0.0024605878, -0.0107653495, -0.0530722253, 0.0307333898, 0.0019949207, -0.0038011125, 0.0471487753, -0.0080547193, -0.0314540192, -0.0291473027, -0.0086825117, 0.0456863046, -0.0739882737, -0.007092318, 0.0230624322, -0.0212691408, 0.0319360495, -0.0447712429, -0.0085657407, 0.0249357186, -0.0250170231, 0.0265851915, 0.0433512442, 0.0127524538, 0.0121745924, -0.0377544984, 0.0663721859, -0.0320032202, 0.0038437815, -0.0204051416, 0.0370337293, -0.0544463992, -0.00487416, -0.0262986906, 0.0614590608, 0.0457549542, 0.009897585, -0.0512395203, 0.0563615225, -0.0031032292, 0.0885668769, -0.0448695533, -0.0095039969, -0.0550197437, 0.0283339024, -0.033927694, -0.0265878867, -0.0536979139, -0.0277483892, 0.012358183, 0.0021081439, 0.0044837245, -0.0544906035, -0.030918302, -0.0224492457, 0.008580802, 0.0448950045, 0.0262450408, 0.0312726274, -0.0297835562, -0.0567244589, 0.0325626172, -0.0430197045, -0.0210154653, -0.0849056244, -0.0318565816, 0.0168987792, -0.0065465719, -0.047763247, -0.016931938, 0.025137648, -0.0298511703, 0.0748305544, -0.0080755791, 0.0026050748, 0.0047984389, -0.0010359305, -0.0271332767, 0.0461515486, 0.0281977076, 0.0630167052, 0.0172632355, -0.0651726648, 0.0447391011, 0.0074362271, 0.0291708075, 0.0039176219, -0.0120882904, 0.0122490665, 0.0455275066, -0.0173752941, 0.0440170616, 0.0012752053, -0.0321932286, 0.0171060469, 0.0447012521, 0.0600865856, 0.0319523588, -0.0001032835, -0.0173890982, 0.0027478463, 0.0147181852, 0.0454796553, -0.0785272419, 0.0452356897, -0.0252922457, 0.0334872901, 0.007033031, 0.0088101216, -0.0226317421, -0.0511027463, 0.0076174848, -0.0217387099, 0.027862601, 0.0588847362, 0.0367378071, 0.0156426746, -0.022950232, 0.010297765, 0.0360251702, -0.0482612029, -0.0062961089, -0.0337767936, 0.0765656829, 0.087858744, 0.0366546735, -0.0415240638, 0.010898808, -0.0215374865, -0.0126472572, -0.0571349673, 0.0502823628, -0.0010710876, 0.0084580826, -0.0266905371, -0.0635722727, -0.0124645559, -0.0089830616, 0.0500872768, 0.0370701514, -0.044083856, -0.0230153017, 0.0187327899, -0.0813066587, 0.0215591583, -0.0078757703, -0.0151272612, -0.0138726421, 0.0217433404, 0.0374304689, -0.0176138394, -0.0045904955, 0.0054335403, 0.0117110349, 0.0491318218, 0.0146052614, -0.0325013362, -0.0349165723, 0.0154716941, -0.0000727112, -0.0155432476, -0.0006780776, 0.0424886793, 0.0079249348, -0.0130727114, 0.0226120371, 0.0069158645, 0.0856265649, 0.0197113454, 0.042181693, -0.0257875808, -0.041005116, -0.0427033305, 0.0339591056, -0.0075167455, 0.0336800627, -0.0311879274, 0.0063438853, 0.0102995271, -0.0388017036, -0.0328409076, 0.0447699428, -0.0297629889, 0.048936896, 0.042493023, -0.0083667701, -0.0542420819, -0.0055423011, -0.038243264, 0.0067524388, -0.0077330223, 0.0168861412, 0.0091204736, 0.0276954379, -0.0045441417, -0.0464002937, -0.0337821767, -0.0322027542, -0.0386802442, 0.047354646, 0.020326741, 0.0089358818, -0.0327838063, -0.0519037582, -0.0354355164, -0.0104132164, 0.0267246645, -0.0026354664, 0.0239309967, -0.04945454, 0.0305884052, -0.0152854631, 0.0129658422, -0.0141526246, -0.0502136946, 0.0357877351, -0.0027787604, 0.0377479941, 0.0959811285, -0.0170514155, 0.0093893996, 0.0585624203, 0.0261305738, -0.0831261948, 0.0084087467, -0.0297570229, -0.1119454503, -0.0390239246, -0.0132611692, 0.0399312116, 0.0655703768, -0.0115917651, 0.0116136819, -0.056062609, 0.0019236393, -0.0048028706, -0.0257027168, -0.0260736365, -0.0081002349, -0.0331041925, 0.0621109009, -0.0341467299, -0.1255235523, 0.0848435089, -0.0063152905, 0.0122021837, -0.0091035906, -0.0204838477, 0.0037811529, 0.032373365, 0.0203693174, 0.0498442315, 0.0164325405, -0.0586845316, -0.0361256301, -0.0487333871, 0.0392624773, -0.0480858162, 0.0376719497, -0.0178249106, -0.028233489, 0.0132693257, -0.0373641364, -0.0578054376, -0.0048495154, -0.0147252847, -0.046043992, 0.0170757845, -0.0381156653, 0.0323766619, -0.0322775617, 0.0727056786, 0.006939684, 0.0111520458, -0.0338901356, -0.0141892498, -0.0593743548, 0.0214873869, -0.0625816211, -0.013896687, -0.0523658395, -0.0211974941, 0.0211762488, 0.1064528152, 0.0451775156, -0.0248936228, 0.0122760814, 0.0423776358, -0.0255934149, -0.0104060955, 0.0833457187, 0.0375398323, -0.0283620916, 0.0228427257, 0.0527419224, 0.0309430156, -0.0802999139, 0.0134595288, -0.0166614186, 0.0771102682, 0.0399232171, 0.0324490815, -0.0519332401, 0.0228961855, 0.0155361062, 0.0643745288, -0.0236032344, -0.0236573406, -0.0020770666, -0.0880429819, -0.0136106228, 0.0189554263, -0.0592654236, -0.0302370396, -0.0183504242, 0.0046330309, -0.0074766511, -0.0187983215, 0.0206064247, -0.0065591447, 0.0256077554, 0.0318705812, -0.0219838116, 0.0119941328, 0.0124780228, -0.0644827187, 0.0431035832, 0.1037789062, -0.0161275379, -0.0008295158, -0.0294663757, -0.036569126, 0.0434443355, 0.0090187564, -0.002091093, 0.0601220503, -0.0082630729, -0.0119680008, -0.0090625081, 0.0518082194, 0.0006915961, -0.0161504988, 0.0379471593, 0.0377668552, 0.0042094057, 0.0128728952, 0.0159844588, -0.0270234831, -0.0145998737, 0.0429632068, 0.0283058267, -0.0405873284, -0.0043297186, -0.0488503352, 0.0199811868, -0.0412056595, 0.0086750323, 0.0053462633, -0.0249509886, -0.0026288435, -0.0499719083, -0.0327970795, 0.0068789129, 0.0491635017, 0.0258437451, 0.0152871702, 0.0309858862, -0.0058171195, -0.0475880392, 0.0355131179, -0.0410850756, 0.023842914, -0.0700297654, -0.0468379855, -0.0233264472, -0.0546652861, 0.0009369683, -0.0305682588, -0.0556910336, -0.0292626005, -0.0005748905, 0.0714244843, 0.0265720151, 0.0733776391, 0.002138284, -0.0544917099, -0.004047194, -0.0184816737, -0.0669029132, 0.0247464534, 0.0408576094, -0.000419695, -0.0008490725, -0.0071697398, -0.0603203252, -0.0489848368, 0.0592595562, -0.0211237874, 0.0001554728, 0.0208009072, 0.0461584255, 0.0169041175, 0.031662073, 0.0040962668, -0.019744128, 0.0072994255, -0.0005944095, 0.0414873771, -0.0282347873, -0.0140832113, -0.0262419265, 0.0501021743, 0.0128240827, 0.0372541621, -0.0582989976, 0.0266977549, 0.0430543125, -0.0265914928, 0.0064995093, 0.0203150436, 0.0510743074, 0.0764304101, 0.0369985625, -0.037169233, 0.0288800038, 0.0046703774, 0.0379806533, 0.0204318725, 0.0584390797, 0.0148908831, 0.0257133879, -0.0047719344, 0.0051459591, -0.0612227172, -0.0818784758, -0.0089721624, -0.0459940061, 0.0280107595, -0.0000490355, 0.0051146289, -0.0185541436, 0.0161317419, -0.0233650208, 0.0014129936, -0.0264045708, -0.0061367527, -0.0226470549, 0.0305314586, -0.0253045782, -0.0232565459, 0.0891764462, -0.0069708889, 0.0453127027, -0.0753742233, -0.0245211422, -0.0185787175, 0.0009741501, 0.0885152593, 0.0265784487, -0.0405538268, -0.0532725342, -0.0286964867, -0.0737496614, -0.018217219, 0.0290487353, -0.0107003693, -0.0212787036, 0.0407937951, 0.0529674329, -0.0407306291, -0.0173525326, -0.0518064648, -0.0130362809, 0.0090316841, -0.0258086771, -0.0329583436, -5.748128437e-33, -0.0199645013, -0.0066634556, 0.0117394459, 0.0250574034, -0.0031077117, -0.0019803371, -0.0287191216, 0.0140141789, 0.0012135837, -0.0635562241, -0.0142142391, -0.0138454922, 0.0006865316, -0.000485596, 0.0574478619, -0.0161528569, 0.0509930663, 0.0204821974, -0.0698716566, 0.0325796083, -0.011400586, 0.0332196467, 0.0239893328, -0.057262145, 0.0245035123, 0.0181201939, 0.0052395291, -0.0125518367, -0.046401944, 0.0760058016, -0.0057135015, 0.0035413441, -0.0257622488, -0.0597763062, -0.0394928418, 0.010570012, -0.0729374513, -0.0427114777, 0.0320037305, 0.0078075547, -0.0220935903, -0.0430904329, 0.0815933347, -0.0347549878, -0.0176857077, 0.0022653525, 0.0303644855, -0.0045892457, -0.0552692376, -0.0047040354, -0.0302920118, 0.0048715761, -0.015845241, -0.0063195508, 0.0403243564, 0.0248548836, -0.0102952197, 0.0349921621, -0.0355833769, 0.0317331366, 0.0205185991, 0.0085255168, 0.0832823664, 0.0654611364, 0.0570161231, 0.0331542715, 0.0514060147, 0.0286747105, -0.0004537011, 0.0051491666, 0.0286737606, 0.0265783817, -0.0173752606, 0.0067784092, 0.0352836289, -0.0117725562, 0.0424508452, 0.0051744548, -0.0337745026, 0.0467053428, 0.0343838111, 0.0427572243, -0.0931987241, -0.030436188, -0.084780708, 0.0154631352, -0.0229524858, -0.0543632209, 0.0263559408, 0.0034861583, -0.0344888456, -0.0388897806, -0.0011294166, -0.0413419455, -0.0129219117, 0.0291972086, -0.0115421554, 0.0192170665, -0.0217358824, 0.000966113, -0.0571340919, 0.0223209783, -0.0290847272, -0.0393017866, 0.036667347, 0.0447367914, 0.0301734377, 0.0214303974, -0.0632353798, 0.0070616025, -0.0387676097, -0.0253931098, 0.0425699502, -0.0039974265, 0.0701763481, -0.0002604013, 0.0053942036, 0.0443001501, -0.0099897282, -0.0384284779, -0.0793216676, -0.0088552861, -0.0281134378, -0.0052239411, 0.0115525993, -0.0430814847, -0.048681628, 0.0507920496, 0.0668769479, -0.0058802348, -0.0104827434, 0.0038299391, 2.888e-7, -0.0525079034, -0.0020409005, 0.0177538525, 0.008414316, -0.0187501404, 0.0583451651, -0.0216534398, 0.0206308998, 0.0286461506, 0.0041423636, 0.0036444105, 0.0033911671, 0.0432140455, 0.0268445387, -0.0421256833, -0.0452275686, -0.0383137502, 0.0218253564, -0.0440585613, 0.0037626969, -0.0036933082, 0.0563335679, 0.0572454073, 0.0188702121, 0.0425659791, 0.0015460704, 0.0197842177, -0.0623375848, 0.0042266892, 0.0094493348, -0.034113612, 0.0389681347, -0.0098535689, -0.0136059877, -0.0038039847, -0.0193575863, 0.0005305875, 0.0453738049, 0.0106886523, 0.0196822826, -0.0338166282, -0.0102602122, -0.0037560223, -0.0680330545, 0.0265668314, -0.0326276198, 0.0056711887, -0.0024902527, 0.0387958549, -0.0577165782, 0.0074864631, 0.0085884985, 0.0498325154, -0.0008564206, -0.008489199, 0.0225106999, -0.0306449365, -0.0554527231, -0.0284699649, 0.0369986705, -0.0211828072, -0.0360446535, -0.0559359044, 0.0224385131, -0.0254239216, -0.0746881515, 0.0332530178, 2.456686077e-34, 0.0043079634, -0.0512097105, 0.0316789076, -0.0005141572, 0.0533290468, -0.013340801, 0.0202094857, 0.034558069, 0.0647560582, -0.0389872976, -0.0122034615 ]
http://arxiv.org/abs/2406.11709v2
http://arxiv.org/pdf/2406.11709v2
Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debugging
2024-06-17T16:28:21
2024-06-25T21:17:41
Priyanka Kargupta, Ishika Agarwal, Dilek Hakkani-Tur, Jiawei Han
cs.CL
cs.CL, cs.MA
Socratic questioning is an effective teaching strategy, encouraging critical thinking and problem-solving. The conversational capabilities of large language models (LLMs) show great potential for providing scalable, real-time student guidance. However, current LLMs often give away solutions directly, making them ineffective instructors. We tackle this issue in the code debugging domain with TreeInstruct, an Instructor agent guided by a novel state space-based planning algorithm. TreeInstruct asks probing questions to help students independently identify and resolve errors. It estimates a student's conceptual and syntactical knowledge to dynamically construct a question tree based on their responses and current knowledge state, effectively addressing both independent and dependent mistakes concurrently in a multi-turn interaction setting. In addition to using an existing single-bug debugging benchmark, we construct a more challenging multi-bug dataset of 150 coding problems, incorrect solutions, and bug fixes -- all carefully constructed and annotated by experts. Extensive evaluation shows TreeInstruct's state-of-the-art performance on both datasets, proving it to be a more effective instructor than baselines. Furthermore, a real-world case study with five students of varying skill levels further demonstrates TreeInstruct's ability to guide students to debug their code efficiently with minimal turns and highly Socratic questioning.
[ 0.0349416696, -0.0082234601, -0.0445396453, 0.0243114568, -0.0257252585, 0.0186705198, -0.0324836783, -0.0224556103, 0.0045232479, -0.0261641964, 0.0420969613, 0.0086284783, -0.0291738175, -0.0237318259, 0.0097784819, -0.0654559731, 0.0383518264, -0.066101931, 0.0162741132, 0.0180947743, 0.0146471933, 0.0030772702, -0.077905722, 0.0513163917, -0.0096501326, -0.0561820865, -0.0737924874, 0.0212182421, -0.0003687083, -0.038508065, -0.0104853492, 0.0232683662, 0.0088840239, 0.0057431408, 0.0000023465, -0.0255625062, -0.0213001408, -0.0099925883, -0.0347737409, 0.0048220037, -0.0583303981, 0.0511543117, -0.0066861212, 0.0456100106, -0.0654797703, -0.0037421549, 0.0150990477, -0.0093504516, 0.108380273, 0.0512811653, 0.0366822779, 0.0006651806, 0.0093850074, 0.0375136845, 0.047503259, -0.067232497, 0.0078828093, 0.0857770965, 0.0352302268, 0.0290202107, -0.0425048135, 0.0089209573, 0.0364896208, -0.0638367906, -0.0025425348, -0.0004877925, -0.0102865547, -0.0068842666, 0.0043438156, 0.0468500145, -0.0207236968, -0.0015440081, 0.009823584, -0.015540652, 0.0149994809, 0.0264806282, -0.0395779014, 0.0163863506, -0.0368764997, -0.0312631354, 0.0039704544, -0.0762788355, -0.0151548162, -0.0031256848, -0.0052297185, 0.0482977517, -0.0515677817, -0.0368944257, -0.0188321937, 0.0215142556, 0.0242900327, -0.0361369289, -0.0109731508, 0.0847834349, -0.0589767024, 0.0572966412, 0.0087209372, 0.0187098142, 0.0154248141, 0.0039335657, -0.024179358, 0.0272464361, 0.0350908078, 0.0017964483, 0.0143288299, 0.0574141964, 0.0254135747, 0.0228955038, -0.020601457, 0.024880968, -0.0817959011, -0.0054542837, -0.0551035404, 0.0347219557, 0.0151358778, 0.0376220047, -0.0082888976, 0.0569017418, 0.0080796378, 0.0686964914, -0.0348971225, -0.015196979, -0.0107079493, 0.0236281846, -0.0041928864, 0.0096470555, -0.0087379608, -0.019420458, 0.001475279, -0.05007888, -0.021575911, 0.008921315, -0.0261862855, 0.0079937987, -0.021972293, 0.0337682217, -0.0156907309, 0.0145504186, -0.0057568797, -0.0536865592, -0.0057215993, 0.0096512893, -0.0145335309, -0.0757085308, -0.0413501859, 0.0099407174, -0.0016294742, -0.0201353561, 0.0340715759, 0.0124857752, 0.0236255955, 0.0395697802, -0.0243044272, 0.0362191945, 0.0584176555, 0.036739096, -0.0062557892, 0.0426209942, 0.044158265, -0.0212992057, 0.0153774759, -0.0305723045, 0.0777187422, 0.0197568126, -0.0101626767, 0.0267276894, 0.039150998, 0.0056682709, 0.0028021592, 0.033790525, -0.0198815372, 0.0028176173, -0.0131086409, 0.0369019434, -0.012549676, 0.0342298821, -0.0378815643, 0.0186652187, 0.0355362631, 0.0269713234, 0.0090102004, -0.0199563, -0.0257768854, 0.036213357, -0.0096679535, -0.0093608443, -0.0150658907, -0.0115258992, 0.0219278485, -0.0647486523, -0.0036745518, 0.0513630845, -0.0192046128, 0.0269541014, 0.033996705, 0.0076756566, -0.0360522494, 0.0385415927, 0.005852981, -0.0553864986, -0.0295259692, -0.0486133993, 0.0359289236, 0.0472573526, 0.0631742999, -0.073375836, -0.1023396924, -0.002600102, 0.0135799851, -0.010491441, 0.0574237965, -0.0447560549, -0.023093963, -0.0302859489, -0.0275016911, -0.0190218482, 0.0001751342, 0.0170484278, 0.0314922705, -0.0372571796, 0.0022473587, -0.0097806351, -0.0363523029, 0.037690375, 0.0030209785, -0.0192829408, -0.0295022652, -0.0129149677, -0.0020986481, 0.0063352031, -0.0202654544, 0.00625906, 0.0473507866, 0.0199403502, -0.0097798929, -0.0162070394, -0.0556469932, -0.0746246353, 0.0498491153, -0.0542789921, -0.0491126701, 0.018834386, -0.0552912317, -0.0199419875, 0.0447223894, -0.0260770898, 0.0104221776, 0.0106542241, 0.025230987, -0.0348057523, -0.0610518344, -0.0412532203, 0.0170622822, 0.0240463689, 0.0049782707, -0.028718058, 0.0650775358, 0.0047721965, -0.0301133487, 0.0094270129, 0.0276193731, -0.0034033654, 0.0139880041, -0.0068202452, 0.0307889655, -0.0473435782, -0.0210288763, -0.0770244896, -0.0129930563, -0.008621634, 0.0219752919, 0.0068924506, 0.0014421705, -0.0155793726, -0.0260401815, -0.0264583696, 0.0011712356, 0.0037215869, -0.0297650937, 0.0293336418, 0.0189896971, -0.0417213812, -0.0653371438, 0.0029360629, -0.062933147, -0.0163963847, 0.0286324956, -0.0299880411, -0.066417329, 0.0727491751, -0.0159678329, 0.030074453, -0.0115506789, -0.035386011, 0.0265447125, -0.041357547, 0.0408306718, 0.0568504333, -0.0392649621, 0.0351561643, 0.0526134856, -0.0240123775, -0.0812613219, 0.0561474934, 0.0504553467, -0.0315081701, -0.043699339, -0.0354280025, 0.0135979755, 0.0772295147, 0.0035497742, -0.0113408407, -0.0202212222, 0.0172079001, -0.0049072513, 0.0143994205, 0.002976089, -0.0444372669, -0.0041925535, 0.0030145103, -0.0205166917, -0.0601009801, 0.087555483, -0.0141514186, -0.0507857725, -0.0259373803, -0.0398357175, -0.0361291394, 0.0710408315, -0.0072987806, 0.0091446023, -0.0079206582, -0.0256137867, -0.0152375819, 0.0171736162, 0.0394748338, -0.0320111625, 0.0519588552, -0.1159486473, -0.0201520678, 0.0181956813, -0.0296613649, -0.036325369, 0.0014033909, -0.0283143427, -0.0288455132, 0.0464468747, -0.0117545184, 0.0006471091, -0.0189086217, 0.0470364727, 0.0414251201, -0.0092985379, -0.0498982817, -0.001588403, -0.0274542812, -0.0291059092, -0.0016806648, 0.0115113612, -0.0533268526, 0.0803884864, 0.0577197634, 0.0756203383, 0.0186345167, 0.0001886258, -0.0207369067, 0.0226703752, -0.0116256867, -0.0166792218, 0.0327196941, 0.0713298991, -0.0622606352, -0.0709545985, 0.0895354748, 0.0690609962, -0.0684410408, 0.0133275213, -0.0344360024, 0.0324391276, 0.0636816472, 0.0584132299, -0.0706557184, -0.034313634, -0.0125920558, 0.0239788704, -0.0182720385, -0.0404909998, -0.0058793537, -0.1025036424, -0.0038359738, 0.0092342542, 0.0237460025, 0.0025476341, -0.0188630559, -0.0071352622, 0.0256065018, -0.0251766145, 0.0386067964, 0.0136157852, 0.029993156, 0.0626996979, -0.0778044909, 0.0096634924, 0.0342500545, 0.0196045544, 0.0345838405, 0.0621547773, -0.0065311394, 0.009133569, 0.0264915749, 0.0193278994, 0.0101152342, 0.0261427835, -0.0396474339, 0.0184574891, -0.0251583997, 0.0066718375, 0.0089576486, 0.0258363746, -0.0448991098, -0.0063354634, 0.0982622877, 0.0616014414, -0.0430337675, 0.0214570202, -0.0341618583, -0.0047888164, 0.0075841821, -0.0112164021, 0.0388304852, -0.018885823, -0.01157826, -0.0881742537, -0.0157403369, -0.0190159157, -0.010460455, 0.0088090282, 0.0154311871, 0.0660257563, -0.0240572654, -0.0322503224, 0.0812307373, 0.0500650816, -0.0145993391, -0.0709521845, -0.0031002341, 0.037643373, 0.0003829901, -0.00663519, -0.0029469628, 0.0136598554, -0.0212224517, -0.0107627884, -0.0062998543, 0.0153179737, 0.0000685511, 0.0095136072, -0.0476178452, -0.0674802288, -0.0144494828, 0.0532911234, 0.020571636, 0.0286389943, -0.0219027624, -0.0377955884, -0.0586869307, -0.0287004653, -0.0209155604, -0.0046906881, -0.0041517578, 0.034903992, 0.0258698277, 0.0028398412, -0.0442970023, -0.0056255669, -0.0126870554, 0.013217004, -0.0982835516, -0.028555382, 0.0148009295, 0.0195583347, 0.0290201213, 0.0480799489, -0.011505371, 0.0090439636, 0.0482097715, -0.018683698, -0.0387220979, -0.0403818265, 0.0514935665, 0.0026446481, -0.0780378729, 0.0508168787, 0.007694162, -0.020471802, 0.0185655728, 0.0031223299, 0.0571515188, 0.0505685359, -0.022692116, 0.0489127673, 0.005657352, -0.0088850614, -0.0108287027, 0.0508075282, 0.0404721685, 0.0618776157, 0.0978522897, 0.0168098435, 0.0140049206, 0.0242499374, -0.0373897068, -0.0546047427, -0.1067770198, 0.0391235985, 0.0396809541, 0.0396021791, 0.0709643736, -0.0069822497, -0.0096766222, 0.0387000665, 0.0463707559, 0.0246128254, -0.0171027575, -0.0642025173, 0.0450520851, 0.0525867343, 0.0387914404, -0.0210386198, 0.0492103472, 0.0145885888, 0.0261028372, -0.0183913875, -0.0192681272, -0.0460906141, 0.0073246639, 0.0389440581, -0.0073950887, 0.0218610987, 0.0156122986, -0.0632727072, -0.052567374, -0.0404165871, 0.0538072065, 0.0244823694, -0.0340834446, 0.0214710645, 0.0462527163, -0.0130204381, -0.0393378548, -0.0225387905, 0.0060210484, -0.0381792337, -0.0257746708, -0.0364723429, -5.416718744e-33, -0.0685496628, -0.0829348862, 0.0342302509, 0.0049507306, -0.005343094, -0.033022806, -0.0439881384, 0.0490368083, -0.0129387304, 0.0176247638, -0.0002045415, 0.0701676905, -0.013517756, -0.0377829671, 0.0461165309, 0.0104315365, 0.0211050939, 0.0550762489, -0.0320831835, 0.0532534383, -0.0145200295, 0.0186019, 0.0073400489, -0.035008803, 0.0194411259, -0.0388888232, 0.0207125284, 0.065150775, -0.0336479284, -0.0023425885, 0.0255753193, -0.0145895137, -0.0176583827, 0.0067799827, -0.0181923322, -0.0091250828, 0.0097103836, -0.0575145967, 0.0048986832, -0.0057191988, -0.0114560621, -0.0152332233, 0.0280396231, 0.0294761099, 0.0131631037, 0.0027679445, 0.0348332748, 0.024926953, 0.001585253, 0.0070337532, -0.0209868457, 0.0214825403, -0.0975315347, -0.0478789061, -0.0402029045, 0.0828358084, 0.0068406556, -0.0456443466, 0.0401444174, 0.0338675119, 0.034229096, -0.0076614865, 0.0245321076, 0.0085860565, -0.028433146, 0.0254378989, 0.0389718376, 0.0291245505, -0.0046693194, -0.0254079401, 0.0026880768, 0.0246321298, 0.0461720414, 0.0325696878, -0.0068847118, 0.0282593109, -0.0535055175, 0.0260823388, 0.0405734591, 0.0262333658, -0.0337523147, 0.0016676553, -0.0517029651, -0.0137206931, -0.0744058639, 0.0204986446, 0.0225061253, -0.0247032605, 0.0191593505, -0.0219562016, -0.0039847353, -0.0069671469, -0.0090246312, 0.0047587594, -0.0051066172, -0.0070872842, -0.0283914283, 0.0487774462, -0.0539772324, 0.0273814108, -0.02681702, -0.0093703084, -0.0158529151, -0.0038167471, 0.0590943843, 0.002442908, -0.0217440948, 0.0204931889, -0.0463167764, -0.0212191604, -0.0581944399, -0.0057715615, -0.0274597295, 0.021923162, 0.0039845305, -0.0002815175, -0.0283422954, 0.0417930596, 0.0054838425, -0.0545165055, -0.0444569811, -0.020340817, -0.0202859882, -0.0260154568, -0.0417476408, -0.0630807132, -0.0200015791, 0.0211142953, 0.0120086353, -0.0839833096, -0.0037968731, 0.0405878723, 3.02e-7, 0.0000818539, 0.0802848935, 0.0060139536, 0.0010821179, 0.0113804741, 0.0181298405, -0.0165583603, -0.0250509884, 0.0634717122, -0.0119366786, -0.0072479304, 0.0287555177, 0.0267432034, 0.0444952212, -0.088754274, -0.0322600007, -0.0119639067, -0.0038398427, -0.0533217154, 0.0331305973, 0.0472496897, 0.0072719771, 0.0270173009, 0.0223353058, 0.0193524845, -0.0105863316, -0.0124677941, 0.0036150818, 0.0155066466, 0.0534101538, -0.0325066447, -0.0170291904, 0.0054364023, 0.0383453406, 0.02674843, -0.0300048813, -0.0469453074, 0.0525288545, -0.0013086599, 0.0141885914, -0.0049194018, 0.0134896059, 0.0042716656, -0.0414798222, -0.0050247204, -0.017364895, 0.0151325362, 0.0455829166, 0.020717904, -0.0342332758, -0.0415281169, 0.023831008, 0.0297947861, 0.0202285666, -0.0420312881, -0.0472934321, 0.0254881419, -0.019185517, -0.0192809943, -0.0012904477, -0.0130159454, -0.0381550454, -0.0089498907, -0.0209577549, -0.0295240618, -0.0054950342, 0.0233047921, 2.762432387e-34, 0.0038389363, -0.0208073203, 0.0427068956, 0.0421429425, 0.0411182754, 0.0153755648, 0.0133452071, 0.0430745222, 0.0549927689, -0.0202352069, -0.0391291156 ]
http://arxiv.org/abs/2406.11706v1
http://arxiv.org/pdf/2406.11706v1
Prompts as Auto-Optimized Training Hyperparameters: Training Best-in-Class IR Models from Scratch with 10 Gold Labels
2024-06-17T16:25:55
2024-06-17T16:25:55
Jasper Xian, Saron Samuel, Faraz Khoubsirat, Ronak Pradeep, Md Arafat Sultan, Radu Florian, Salim Roukos, Avirup Sil, Christopher Potts, Omar Khattab
cs.IR
cs.IR, cs.CL, cs.LG
We develop a method for training small-scale (under 100M parameter) neural information retrieval models with as few as 10 gold relevance labels. The method depends on generating synthetic queries for documents using a language model (LM), and the key step is that we automatically optimize the LM prompt that is used to generate these queries based on training quality. In experiments with the BIRCO benchmark, we find that models trained with our method outperform RankZephyr and are competitive with RankLLama, both of which are 7B parameter models trained on over 100K labels. These findings point to the power of automatic prompt optimization for synthetic dataset generation.
[ 0.0622544177, 0.0279539283, 0.0128088295, 0.0059214816, 0.0149751967, 0.0046572136, 0.0328757465, 0.0164725073, 0.0406526178, -0.0399389789, -0.0613252632, -0.0045717927, -0.0628246292, -0.0092365863, 0.0007967952, -0.0127931526, 0.059128698, -0.0037020885, 0.0375680849, -0.0097298333, -0.0334234945, 0.0192147177, 0.0291177481, 0.0149389962, 0.0081616556, -0.0076654116, -0.0031282541, 0.0520670637, -0.0188910887, -0.0346217528, 0.0169546772, 0.0469679944, 0.0111271162, 0.0317232721, 0.0000018738, -0.0472458303, -0.0144847836, -0.0013235204, -0.053744901, 0.0250189062, 0.0527214669, 0.018558979, 0.051615268, 0.0214187931, -0.0262107905, -0.0097827092, -0.0045420369, 0.0328268819, 0.0381200872, 0.06761498, 0.0080601592, 0.0097439392, 0.0071970359, -0.0447978824, 0.0442869216, -0.0406956263, 0.0130070951, -0.0496895537, 0.0173255634, 0.087769419, 0.0257802326, 0.0268261712, 0.0113481702, -0.0326749831, 0.0523220897, 0.0170401372, -0.0590692312, -0.0070703407, 0.0149372499, 0.0445019193, -0.0604170524, -0.0279134754, -0.0153069077, 0.0028512378, 0.0197863653, -0.0129042547, -0.024827227, 0.0064313607, -0.0137520479, -0.0060350117, -0.0031354332, 0.0125053702, 0.0174556635, -0.0024587864, -0.0022355316, 0.0321953744, 0.0064610369, -0.0374945961, 0.0271138307, -0.0310245249, -0.0322007202, 0.0138844987, -0.0069114622, 0.0212287474, -0.0382432565, -0.0116162617, -0.0178584568, -0.0116698071, 0.0523952506, -0.0550666004, 0.0307238027, 0.0219668187, -0.0104172723, 0.0796457902, -0.0127134472, 0.0293067377, 0.0029365243, 0.0241349116, -0.0520058163, -0.0220648237, -0.0087448359, -0.0127247125, -0.0602762103, 0.0158502329, -0.041320052, -0.0181158315, -0.0052389689, 0.0253610797, 0.0330468006, -0.0181717351, 0.0309896357, 0.0216708463, -0.0776192546, 0.0007911833, -0.0695183128, -0.0130097959, -0.0145316999, -0.0070183449, -0.0044170585, -0.0610355586, -0.0068034283, -0.0006218857, -0.0067449682, -0.0384082384, 0.0444757715, 0.0070563825, -0.0275215041, -0.0301473066, -0.0437692553, -0.0362290479, 0.0382305123, -0.022149507, 0.0118560279, -0.0181151554, 0.0480312183, -0.0267725885, 0.0019236237, -0.0228228103, -0.0096358703, 0.035772454, -0.0128283184, 0.0605895929, -0.0054436806, 0.0062101651, 0.0443132259, -0.0165846925, 0.0074244738, 0.0495000146, -0.0154357469, 0.0538950525, 0.0495982654, -0.0002598811, 0.0092153279, -0.0052676462, 0.0222079307, 0.0066097211, -0.0018490768, 0.0368809737, 0.0265402142, 0.0443305075, 0.0239334516, 0.0404189825, -0.0259051491, -0.0338411629, 0.0335697457, 0.0308142006, 0.0629887953, -0.0144650498, 0.0457336456, 0.0109487223, -0.012092975, -0.0380755216, -0.0232678857, 0.0286034644, -0.0038506915, 0.0055526788, 0.0668469146, -0.0077850344, -0.0569280721, -0.0480197743, 0.0068399603, 0.0423769765, -0.0913469344, 0.0289564207, 0.010598856, 0.0179919414, -0.0253516678, 0.0146969175, 0.0122821312, -0.0188969504, 0.0104893902, -0.0582226291, 0.0240864456, 0.0519000925, 0.0677047223, -0.0685156807, 0.0513428822, -0.013856641, 0.009030926, 0.0301717687, 0.0640384182, -0.0237981752, 0.0184481088, -0.0438691713, -0.0245073158, -0.0002999439, 0.0072479448, 0.0182065256, -0.0238932017, 0.0198638812, 0.032607995, -0.0518220924, -0.0806239843, 0.044956509, -0.0161459055, -0.1058492437, 0.0457359329, 0.0001503883, 0.0038805506, -0.0133065525, -0.0170187633, 0.0225272402, 0.0450852253, 0.0007671817, 0.0201789755, -0.0876468867, -0.0137482425, -0.0147743952, -0.0011394601, -0.0240542572, 0.0608665831, 0.0316302814, -0.0207456965, -0.0155794984, -0.0436495058, 0.0081138276, 0.0148810446, -0.0529440865, 0.0136967963, 0.00784011, 0.0349627696, -0.0558760166, 0.0430335775, 0.0396906286, 0.061239142, 0.0168920346, 0.0197432432, 0.0250567086, -0.0883051977, -0.0115054678, 0.0064750621, -0.0057602488, 0.026586486, 0.0103953592, 0.0339953378, -0.0132909156, -0.0272410884, -0.0778944269, -0.0032936034, -0.0206566025, -0.0368788876, 0.0072783269, 0.008323337, -0.0020911149, -0.0374206118, -0.0124871582, -0.042606473, -0.0127224894, 0.0343516245, 0.019606594, 0.0213470552, 0.0080175372, -0.0438949652, -0.0458308868, 0.0057743383, 0.0632174909, 0.0308824554, 0.0122873746, -0.0065118107, 0.0225462839, -0.0124744596, 0.0447566174, -0.0139267612, -0.0110940896, 0.0166863613, -0.0822223052, -0.0073839976, 0.0828008801, 0.0442937538, -0.0278367754, 0.0314600877, 0.0241134893, -0.1124087945, 0.0277384892, -0.0570197701, -0.0311087035, 0.0311744381, -0.046357315, 0.0673574284, 0.0139699448, -0.0169122443, 0.0031728034, -0.0512243584, 0.027978953, 0.0387915075, -0.0050325878, -0.0981807113, 0.0187359825, 0.0145375319, 0.0577655025, -0.0123351086, -0.04036396, 0.0424579866, -0.0367146879, 0.0045634131, -0.0372944213, -0.0093329502, -0.0426405892, 0.0295900349, -0.0017593625, 0.0241701007, -0.0031725063, 0.0228775796, -0.0133569073, 0.0351799242, 0.0399592519, -0.0231473465, -0.0011548818, 0.0125153428, 0.0479320586, -0.0068162163, -0.0541957095, -0.0573058315, -0.0769844726, 0.0431610718, 0.0076807197, 0.0168664474, 0.0225029867, -0.026051417, 0.0320808925, 0.0125993323, 0.0718859956, -0.0346902199, -0.0450297371, 0.0168963857, 0.0153490193, 0.0378257148, -0.0542736351, -0.0178941656, 0.0155332675, 0.0484070107, -0.0270938259, 0.0510825403, -0.004397314, -0.0004902709, 0.0015093707, 0.0580238625, -0.0209282786, -0.0095393015, -0.0028231528, -0.0272341557, -0.0061755832, -0.0346948728, 0.077582553, 0.0258820318, -0.0881318524, -0.0253167953, -0.0454064794, 0.0363311507, 0.0399068967, 0.0697452351, -0.031840045, 0.0076010926, 0.0121066757, 0.0769960284, -0.0145257199, -0.0177220479, -0.0277102999, -0.1139400974, 0.0606027879, -0.0269629695, -0.0046229707, -0.0220428817, -0.0266979095, -0.0244983863, -0.0075010723, 0.0002163176, 0.0630904138, -0.0380594693, -0.0075114183, 0.0058068293, 0.0387405828, -0.052653268, -0.0104753235, -0.0211077482, 0.0204754006, 0.0105220638, 0.0143293105, 0.025537461, -0.0682250783, 0.0118579622, -0.0337829813, 0.0176712815, -0.0435038731, 0.0714630559, -0.0170543361, -0.0245559718, 0.0123281414, -0.0059882565, -0.0088595534, 0.0377235338, -0.0073098042, 0.0290384088, -0.0495725758, 0.0088340826, -0.0315377787, -0.035039112, 0.0071698688, 0.0709806234, 0.0178497043, 0.0024932914, 0.0039685522, -0.0158934947, 0.0222189035, -0.0425994694, -0.0274761841, 0.039611645, -0.034059111, -0.0083969263, -0.0248501413, -0.0395877957, 0.0037636838, 0.0500919297, 0.0001779925, 0.0060626203, -0.0787721649, 0.0043305932, -0.0186550729, 0.0811109245, -0.0292763934, -0.0442887545, -0.078932479, 0.0025176303, 0.0564670116, -0.0550349578, -0.0449739359, -0.0175860394, 0.0172175802, -0.040047247, -0.0093213143, 0.0496284291, 0.0192038435, 0.0389203988, -0.046417471, -0.0878983364, 0.0374912918, 0.0662059262, -0.0565357246, -0.0217868462, 0.0095504457, -0.0343299098, -0.0354199484, 0.0112625761, -0.0777104571, 0.0750273168, 0.0116241165, 0.024497699, -0.012118821, -0.0633147657, 0.0650207624, 0.0537799522, 0.0561417453, -0.004410387, 0.0000631059, -0.0491474606, 0.0192799978, 0.0055292356, -0.0144525161, -0.0284560826, 0.0294354577, 0.0371914469, -0.0160233546, -0.0049605453, 0.0152721889, -0.0189807266, 0.0465977639, -0.042917762, -0.0629662648, -0.0181552749, 0.0290043112, 0.0308221634, -0.0211283155, -0.0592849553, 0.0536404252, 0.0035716887, 0.0411630683, -0.0187806636, 0.0067059938, 0.0382519104, 0.019604655, -0.0268065128, 0.0049412949, -0.0776223391, -0.0968062133, -0.0542704053, 0.0052635679, 0.046170447, 0.0300754569, -0.032347966, -0.0115053169, -0.0197725017, -0.0132752955, -0.0185519997, 0.0678318515, -0.0091524338, 0.0295947399, 0.0520123765, -0.0040937182, 0.0201634727, 0.0659013763, 0.0180287585, 0.0215983912, -0.0429879799, -0.0322179385, -0.0469569676, 0.008460559, 0.0309149288, 0.036840681, -0.003528296, -0.0167402755, -0.016778212, -0.0181627255, 0.0097327633, 0.0102120601, -0.0298308935, -0.0030456756, 0.0582150742, 0.0751622394, -0.019523656, 0.0117825735, -0.0359221734, -0.0028170897, -0.0266047344, -0.0131068118, -0.0240459032, -6.439356584e-33, 0.0029398212, 0.0189393088, 0.0184725858, -0.0081905155, 0.007553014, 0.0022094729, -0.003592537, -0.055263903, -0.0451876931, -0.0024975056, -0.067238614, -0.0027944176, 0.015687421, 0.0000642645, -0.0082921293, 0.0037309076, 0.0695596337, -0.0194243286, -0.0324212536, 0.0151385544, 0.0126564587, 0.0344090909, -0.0100817727, -0.0479844734, -0.01582966, -0.0148075931, -0.0178163312, 0.0569647588, 0.0062395302, 0.0496982373, -0.0312364381, 0.0572964512, 0.0185083859, -0.0719949007, 0.0289431307, 0.0279691983, -0.0712503046, -0.055419106, -0.0195884742, -0.0163856894, -0.0389126912, -0.0195341967, 0.0310934167, -0.0118252765, -0.0292830374, 0.031113293, 0.0511178114, 0.0064163171, -0.0505590886, -0.0663040951, -0.0055201221, -0.004250986, 0.0397362523, 0.0092261843, 0.0079175737, 0.0780757591, 0.004444309, 0.0734668449, -0.0339783728, 0.0191155821, -0.005784099, 0.0606543161, 0.0113249077, 0.0211668536, 0.0049680057, 0.0330300182, 0.0213809162, 0.0322850011, 0.0391904749, -0.0141826021, 0.0319967195, 0.0158339441, 0.0485749319, 0.0703185201, 0.0315875523, -0.0204197243, -0.050997559, 0.0394804887, 0.0066168415, -0.0066117975, 0.0246978328, 0.0031310881, -0.0425070934, -0.0334938653, -0.0516629405, -0.0311347768, -0.0598869585, 0.0084986789, 0.06053349, 0.0614049584, -0.0176219828, -0.0412985869, 0.0424455293, 0.015116618, -0.0134779112, 0.0281899367, 0.0156239616, -0.0047772233, 0.0007969255, -0.0114725688, 0.0024834936, -0.0225104187, 0.0413402729, -0.006252171, -0.003635084, 0.0113274148, 0.0044276193, 0.011040478, -0.0495014898, -0.0046395804, -0.000614209, 0.0307197478, 0.0074640168, 0.0120188668, 0.0000184734, -0.0010517035, 0.0009729535, 0.0595412143, 0.0097210128, 0.0205175038, 0.0154220341, -0.0443145819, 0.0126831429, 0.0168572329, -0.0108965524, 0.017785605, -0.0400140509, 0.034015622, 0.0351680741, -0.0506262518, -0.0141410893, 0.0626309663, 2.692e-7, 0.017384151, 0.014791525, -0.030675482, 0.0124858776, -0.0118453791, 0.0210458804, 0.0193853844, 0.0103034424, 0.0446578972, -0.0183414724, 0.0235984195, -0.0042973682, 0.0242865123, -0.0030637423, -0.1031788662, -0.0647639781, -0.0619041957, 0.0116098532, -0.0619205609, -0.0498090498, 0.023262741, 0.1018951237, -0.010343981, -0.0243868101, 0.0127737718, -0.0851405337, 0.0238247495, -0.017597951, -0.0116132889, 0.0311042778, 0.0867163613, 0.0104882084, -0.0276907329, 0.011363429, -0.0104834186, 0.0124797896, 0.0035077089, 0.0388908423, -0.0096770572, -0.0322167985, 0.0335545838, -0.0087047368, 0.004372987, -0.0815172791, 0.0721542984, -0.0197244249, 0.0419266447, 0.0332570188, -0.014376929, -0.0213408116, 0.0279662237, -0.0725375339, -0.0242362395, -0.0118464455, 0.0038320322, 0.0097469771, -0.0099642929, -0.0757131651, 0.017130645, -0.0254451502, -0.0258388482, -0.0306967571, -0.0320368595, 0.0152951619, 0.0013750759, -0.0158701744, 0.0175633915, 2.392793367e-34, 0.0381319225, -0.0127108684, 0.033831235, -0.0099955471, -0.003363084, 0.0125979483, -0.0283551216, 0.0181830674, 0.0450840108, -0.1087005064, -0.0288577564 ]
http://arxiv.org/abs/2406.11704v1
http://arxiv.org/pdf/2406.11704v1
Nemotron-4 340B Technical Report
2024-06-17T16:25:04
2024-06-17T16:25:04
Nvidia, :, Bo Adler, Niket Agarwal, Ashwath Aithal, Dong H. Anh, Pallab Bhattacharya, Annika Brundyn, Jared Casper, Bryan Catanzaro, Sharon Clay, Jonathan Cohen, Sirshak Das, Ayush Dattagupta, Olivier Delalleau, Leon Derczynski, Yi Dong, Daniel Egert, Ellie Evans, Aleksander Ficek, Denys Fridman, Shaona Ghosh, Boris Ginsburg, Igor Gitman, Tomasz Grzegorzek, Robert Hero, Jining Huang, Vibhu Jawa, Joseph Jennings, Aastha Jhunjhunwala, John Kamalu, Sadaf Khan, Oleksii Kuchaiev, Patrick LeGresley, Hui Li, Jiwei Liu, Zihan Liu, Eileen Long, Ameya Sunil Mahabaleshwarkar, Somshubra Majumdar, James Maki, Miguel Martinez, Maer Rodrigues de Melo, Ivan Moshkov, Deepak Narayanan, Sean Narenthiran, Jesus Navarro, Phong Nguyen, Osvald Nitski, Vahid Noroozi, Guruprasad Nutheti, Christopher Parisien, Jupinder Parmar, Mostofa Patwary, Krzysztof Pawelec, Wei Ping, Shrimai Prabhumoye, Rajarshi Roy, Trisha Saar, Vasanth Rao Naik Sabavat, Sanjeev Satheesh, Jane Polak Scowcroft, Jason Sewall, Pavel Shamis, Gerald Shen, Mohammad Shoeybi, Dave Sizer, Misha Smelyanskiy, Felipe Soares, Makesh Narsimhan Sreedhar, Dan Su, Sandeep Subramanian, Shengyang Sun, Shubham Toshniwal, Hao Wang, Zhilin Wang, Jiaxuan You, Jiaqi Zeng, Jimmy Zhang, Jing Zhang, Vivienne Zhang, Yian Zhang, Chen Zhu
cs.CL
cs.CL, cs.AI, cs.LG
We release the Nemotron-4 340B model family, including Nemotron-4-340B-Base, Nemotron-4-340B-Instruct, and Nemotron-4-340B-Reward. Our models are open access under the NVIDIA Open Model License Agreement, a permissive model license that allows distribution, modification, and use of the models and its outputs. These models perform competitively to open access models on a wide range of evaluation benchmarks, and were sized to fit on a single DGX H100 with 8 GPUs when deployed in FP8 precision. We believe that the community can benefit from these models in various research studies and commercial applications, especially for generating synthetic data to train smaller language models. Notably, over 98% of data used in our model alignment process is synthetically generated, showcasing the effectiveness of these models in generating synthetic data. To further support open research and facilitate model development, we are also open-sourcing the synthetic data generation pipeline used in our model alignment process.
[ -0.0236168038, 0.0554264747, -0.0173665807, 0.0508040711, -0.0296024345, -0.005940814, 0.0031849565, -0.0385799445, -0.0848551169, -0.0222937167, -0.0358969085, -0.0621226542, 0.0297067873, 0.0575322658, 0.0703065395, -0.0273865554, 0.0663062409, -0.0328445025, -0.0056677428, 0.0069388435, 0.0030537455, 0.0168876834, -0.0101655275, 0.0312576443, -0.0107047977, -0.0118144033, -0.0217353646, 0.0155304167, -0.00044846, -0.020905586, 0.0195715949, 0.0643705353, 0.020954363, 0.0774324313, 0.0000021763, -0.0617749095, -0.0019112632, -0.0032390496, -0.0133911967, 0.0086124241, 0.0772538707, -0.0500967763, -0.0500650741, 0.0012318747, -0.0072583128, -0.0358844362, 0.0674348101, -0.0237281006, 0.0431144387, 0.0926683396, -0.0226385836, -0.0373746194, 0.0243686736, -0.0270570219, -0.0052507441, 0.0168550275, 0.0153758489, -0.0176207293, -0.0199529994, -0.0142026991, -0.0124462536, 0.0114187878, 0.0008060889, -0.0055926759, 0.0265130904, 0.0420269445, -0.0186185893, -0.0152012287, 0.0020929715, 0.0350268446, -0.0321499854, -0.0212489553, 0.0048088501, 0.0103456117, -0.0302198511, -0.0502738059, -0.035830766, 0.0153832249, 0.0083440486, 0.0016172077, 0.0314471088, -0.0178375449, 0.0356428623, -0.0281310063, -0.0148702906, 0.0213421732, 0.0542264022, -0.0198329929, -0.0368376337, 0.0080558546, 0.0016684189, -0.0224914588, 0.0246087983, 0.0118253641, 0.0002350204, 0.0236154869, -0.0735499039, -0.016165331, 0.0211634915, -0.041834943, 0.060531985, 0.0461077727, 0.0314104892, 0.0141623057, -0.0609044954, 0.0204508584, -0.0155821033, -0.0049107526, -0.0363539234, 0.0180407297, -0.0072791968, 0.0051594884, -0.0099666603, 0.0059471135, -0.0828272626, -0.0451979078, -0.0373946689, 0.029587822, 0.0239061564, -0.0116408067, 0.0415865369, -0.0012323153, -0.0322795101, 0.0320175961, -0.0297335498, 0.0430969149, 0.0080582937, -0.0107117984, -0.0119854994, -0.0956076384, 0.01031176, -0.0186230801, -0.0134567367, -0.0325926319, 0.022147039, 0.0779252872, -0.0078514563, -0.0135114416, -0.0181734357, 0.0250522345, 0.0090271449, -0.0733698756, -0.0062207971, -0.0711343139, 0.055464264, 0.0099882763, -0.0085438928, -0.0178368036, 0.0135926092, 0.0016528431, 0.0218203645, 0.0470095538, -0.0523673035, 0.0032156175, 0.033886604, -0.0340803675, 0.0341469608, 0.0611473732, 0.0351747461, 0.0030366292, 0.02889538, -0.0199207682, -0.0073487367, 0.0573625639, 0.0200382993, 0.0007153795, -0.0388459079, -0.0217476077, 0.0098061413, 0.0678037405, 0.0672310889, 0.0628605261, -0.0262702424, -0.034757331, 0.1022206768, 0.024355948, 0.005644538, -0.0002957208, 0.017236853, -0.0343554653, 0.0165893529, -0.0573962703, -0.0291167982, 0.0033625704, -0.0139365885, 0.0572688207, 0.0203314219, 0.0826590657, -0.009041979, -0.0300386976, -0.010379469, 0.0016490205, -0.0047921194, -0.022175692, 0.066262655, -0.0416873842, -0.0633353069, 0.0633872226, 0.0084386999, -0.0645310655, -0.0040768795, -0.0407179929, 0.0620033033, 0.0684076995, 0.0433782823, 0.0113435304, -0.1003406346, -0.0120223658, -0.0915416554, 0.0874747187, 0.0299045928, -0.004336467, 0.021597771, -0.077701807, 0.0084181046, -0.0076371073, 0.0285114311, 0.0259590615, 0.0158444103, -0.0071333074, -0.0036874674, 0.0112370988, -0.0488644578, 0.0503843725, -0.0395919867, -0.0010306607, -0.0343562104, -0.0231305528, 0.0343760923, 0.006809148, 0.000774609, 0.0160010681, 0.048763752, -0.0255321395, 0.0344934613, -0.0221644081, -0.0693869889, -0.04574164, 0.0831844583, -0.0144395418, 0.0471600965, 0.0333639905, -0.0199683663, -0.0653703958, 0.0357936174, -0.0379885435, -0.003560053, -0.0501589552, 0.0447643921, -0.0065412056, 0.031769488, -0.0045693, 0.0456509143, -0.0082763033, 0.0086296843, 0.031559743, -0.0066816756, 0.0189345386, -0.0540096089, -0.0462842137, 0.0006686068, -0.0140345152, 0.0224730931, -0.0027005565, -0.0248711463, -0.0229467042, -0.0069627934, -0.0648372546, 0.0297948737, -0.0140262321, 0.0450292192, 0.0576312542, -0.013141687, -0.021265896, -0.0028134102, -0.0193616543, -0.0148489783, 0.0134793175, 0.0041736914, 0.0229528695, -0.0021364251, -0.0422566459, -0.0500455387, -0.0403288007, -0.0261072665, 0.0546344742, -0.0230300836, -0.0453578047, -0.0367134847, -0.0026659654, -0.0345137753, 0.0483606718, -0.0036952777, -0.0327983722, 0.0315984488, -0.0101253996, 0.0340573713, 0.0432779938, 0.0018614499, 0.0078532156, 0.0244006328, -0.0040208912, -0.0200153422, -0.0062239622, -0.0292600133, 0.0082214717, -0.0550210476, -0.0756853148, -0.0306939743, 0.1117445976, -0.0095981825, -0.0117096798, -0.0633947253, -0.0189010669, -0.0066700927, -0.0013091607, -0.0015189048, -0.0017888229, -0.0250872858, 0.0249976311, -0.0484763421, -0.0709569976, 0.0279527009, -0.0659374297, -0.0129799088, -0.0484434478, -0.0099037336, -0.0251023397, 0.0329805948, 0.0354872607, 0.009337361, 0.0061249649, -0.0163562205, 0.0087313224, 0.0084844017, 0.0116128689, -0.0376668945, 0.0546290651, -0.0283630565, 0.0106309801, -0.0369679779, -0.0106393015, -0.0046364963, 0.0196215119, -0.0012640256, 0.0186521672, 0.0430347137, -0.0218110569, -0.0352252685, 0.0345924832, -0.0113566294, 0.0799184367, -0.0357378349, 0.0145908492, -0.0325900391, 0.0277354289, 0.0637600422, -0.0099398708, -0.010147715, -0.0388528295, -0.0032178017, 0.0216809325, 0.001953329, 0.0239791404, -0.1047163308, -0.0147285424, 0.0498753898, -0.0020458521, -0.0191611238, 0.0119205834, 0.0174304917, -0.0457440875, 0.0375343822, 0.0925631896, -0.0148477601, -0.0389920771, -0.0016228555, 0.0050317617, 0.0691033602, 0.0429120138, 0.0202082973, -0.0664894879, -0.00120174, 0.0335870087, 0.0033815585, 0.0147459982, -0.0033565178, -0.0050056325, -0.1164806783, 0.0282696579, 0.0159293003, -0.085964635, -0.0116399536, -0.042868603, 0.0111850565, -0.0364078172, -0.0034453198, 0.0432840735, 0.0096311765, -0.008195553, 0.0254712719, -0.0124576353, -0.0598495081, -0.0060656019, -0.0275993142, 0.0572053008, 0.0299963448, 0.0159571692, 0.0079400949, -0.0474152416, 0.0147835156, 0.0052369293, 0.0036762895, -0.0127794556, 0.0673536062, -0.0128815956, 0.0050333585, -0.0154580204, 0.0255864095, -0.0197922196, 0.0056581371, -0.0435872525, 0.063537918, 0.0048489925, -0.0107072685, -0.0205138754, -0.0072550918, 0.0052520819, 0.0446356013, 0.0127608906, -0.0030757764, -0.0388974547, -0.0007968568, 0.0113711786, -0.0297368281, -0.0139286956, -0.0241139755, 0.0087521328, -0.0432789288, -0.0343429074, -0.022677226, 0.0163236838, 0.0677062199, 0.0241208579, 0.0092171188, -0.024125034, -0.0235741418, -0.0561376661, 0.0702890977, -0.0025195996, 0.0493084826, -0.0887372121, -0.0221121963, 0.005918134, -0.0166041367, -0.0155601902, 0.0259644408, -0.0396769904, -0.0785864964, -0.0127718411, 0.060595803, 0.0267521832, 0.0534489006, 0.0046830727, -0.0150088575, 0.0174422655, 0.0411340371, -0.059777882, 0.0253938511, 0.028998727, -0.0460363589, -0.0287107639, 0.0013854194, 0.0093126548, 0.0131999282, -0.0070536495, 0.0479974076, 0.0252820887, -0.0492319651, 0.0298665706, -0.021460006, 0.0494236313, -0.0361700356, -0.0080795586, -0.0541854501, 0.0046058409, -0.0106744617, 0.0438921712, -0.0175028965, -0.0143997259, 0.0632070899, 0.0164170805, 0.0216124151, -0.0305741075, 0.0052823992, 0.0274790525, -0.0308726355, -0.0090199979, 0.0362210944, 0.0122220274, -0.0045056459, 0.0081018405, -0.0177078135, -0.010410849, -0.0427059457, 0.0462837331, -0.0438555703, 0.0358169824, -0.0047398643, 0.0020783604, -0.018740572, 0.0395116396, -0.0052206609, 0.0254891459, -0.0751820728, -0.0130774369, 0.0724159181, 0.0232106168, 0.0966724604, -0.0042411699, -0.0082515376, -0.0409276709, 0.0175460055, -0.0323424302, -0.0087963343, 0.0267602205, 0.0158906672, -0.0097763184, -0.0363779217, 0.0339283571, 0.0188852903, 0.0524921194, 0.0078181997, 0.0040042433, -0.0210452005, -0.0149235362, 0.0410501659, -0.0190600958, -0.059909422, -0.0510085672, -0.0193132032, -0.0455390327, 0.0076913256, 0.0542788543, -0.0197804291, -0.0059056734, 0.0309795178, 0.0420251302, -0.0208005328, -0.0372607894, -0.0195217542, 0.0179883018, -0.0318377465, 0.0114949103, 0.0029814586, -6.612271069e-33, -0.0236514583, 0.0399670042, 0.038817361, -0.0287952423, -0.0508727022, -0.0108653009, -0.0303725712, -0.00990343, 0.0012081534, -0.0215453338, -0.0070804274, -0.0307961609, 0.0319014527, 0.0242641345, 0.0029294165, 0.0283741876, 0.0632884949, -0.0164396614, -0.0247952268, 0.0095652547, 0.0286492258, 0.0574815832, 0.0956729203, -0.0194607601, 0.0059195412, -0.036794208, -0.0137791559, 0.0086043105, -0.0145953856, 0.0582809485, -0.0531517528, 0.0235215686, 0.0263260379, -0.0640512332, -0.0194022693, -0.0018865648, -0.0477245413, 0.0022097642, 0.0577065945, 0.027117528, -0.0613381006, -0.0375260226, 0.0042763855, -0.0029805922, -0.0327540487, -0.0195864644, 0.0104987351, -0.0410753749, -0.0413614139, 0.0132502923, -0.0746052638, 0.0248600859, 0.0150914676, 0.0137663307, 0.0283055119, 0.010072384, -0.006573501, -0.0215777848, -0.0337692127, 0.0359350741, 0.0112546775, 0.0935391039, 0.1047983244, 0.0746300295, 0.036784064, 0.0531526804, 0.0559704192, -0.0234413631, 0.0192289688, 0.0290223192, 0.0654774159, 0.0097483369, 0.0431101322, 0.0472132303, 0.0494272932, -0.0160646848, -0.0011721021, 0.0190998428, 0.0211034287, 0.0156818423, 0.0226667542, 0.0216363948, -0.0215287711, -0.0047394037, -0.0289705489, -0.0560210012, -0.0254451521, -0.0356629491, 0.0416564047, 0.0122311115, -0.0125562688, -0.0023179683, 0.0548304319, -0.0101673119, 0.0218733773, 0.029318843, 0.0063380147, 0.03795176, -0.0280526839, 0.0193935465, -0.0255876239, -0.0451630093, 0.0312542617, 0.0032907492, 0.010975318, -0.0179450456, -0.0050367983, 0.0771617368, -0.0464629531, 0.0271202233, -0.0481184646, 0.0143104941, -0.0173177887, 0.0596180521, 0.0221129712, -0.0155935073, -0.0135384714, 0.0064820782, -0.0053655813, 0.0026545059, -0.0191975664, 0.0057472452, 0.0179691203, 0.0427475609, -0.0105616832, 0.0226636585, -0.0632500648, 0.0598412715, 0.0266943313, -0.0502109192, -0.0178176668, 0.03167722, 2.796e-7, 0.0240428019, 0.0225545242, 0.0257132091, -0.0027929486, 0.0156617071, -0.0170217492, -0.0437897481, 0.0049075317, 0.0372095406, -0.0165932123, 0.0091586569, -0.0136523861, 0.0505373329, 0.0049735247, -0.0721259415, -0.010394332, -0.0611860044, 0.0308097918, -0.0535424948, 0.0160439741, -0.0264690556, 0.1382987648, -0.0161144063, -0.0293761324, 0.004520895, 0.0023742565, 0.0244884789, -0.0232053306, -0.0034499422, 0.0441263355, 0.0344535634, -0.0129531324, -0.0296374783, 0.0092562707, -0.0039931005, 0.0210683923, -0.029234482, 0.0781069249, -0.0359195173, -0.0035025508, 0.0427625366, -0.0124524925, -0.0415004678, -0.083812885, 0.0042875707, 0.0384002291, 0.0036615967, -0.0462827943, -0.0563396439, 0.0012471331, -0.0056550219, -0.0562351011, 0.0246470235, 0.0031086169, 0.025979476, -0.0352876224, -0.0370319262, -0.0187670086, -0.0397752188, -0.003259233, -0.0545397326, -0.0444576666, -0.0415631793, 0.0075402251, 0.0368836001, -0.0331087671, -0.0029759305, 2.774035573e-34, 0.0259505548, 0.0094226468, -0.0015311952, 0.0389468968, 0.0060324892, -0.0443289429, -0.0133336382, 0.0249967333, -0.0231025722, -0.0669784695, -0.0447270349 ]
http://arxiv.org/abs/2406.11698v1
http://arxiv.org/pdf/2406.11698v1
Meta Reasoning for Large Language Models
2024-06-17T16:14:11
2024-06-17T16:14:11
Peizhong Gao, Ao Xie, Shaoguang Mao, Wenshan Wu, Yan Xia, Haipeng Mi, Furu Wei
cs.CL
cs.CL
We introduce Meta-Reasoning Prompting (MRP), a novel and efficient system prompting method for large language models (LLMs) inspired by human meta-reasoning. Traditional in-context learning-based reasoning techniques, such as Tree-of-Thoughts, show promise but lack consistent state-of-the-art performance across diverse tasks due to their specialized nature. MRP addresses this limitation by guiding LLMs to dynamically select and apply different reasoning methods based on the specific requirements of each task, optimizing both performance and computational efficiency. With MRP, LLM reasoning operates in two phases. Initially, the LLM identifies the most appropriate reasoning method using task input cues and objective descriptions of available methods. Subsequently, it applies the chosen method to complete the task. This dynamic strategy mirrors human meta-reasoning, allowing the model to excel in a wide range of problem domains. We evaluate the effectiveness of MRP through comprehensive benchmarks. The results demonstrate that MRP achieves or approaches state-of-the-art performance across diverse tasks. MRP represents a significant advancement in enabling LLMs to identify cognitive challenges across problems and leverage benefits across different reasoning approaches, enhancing their ability to handle diverse and complex problem domains efficiently. Every LLM deserves a Meta-Reasoning Prompting to unlock its full potential and ensure adaptability in an ever-evolving landscape of challenges and applications.
[ 0.0702011809, -0.0093215574, -0.0105515067, 0.0311070159, -0.06758333, 0.0410113037, -0.0107189966, -0.024876656, -0.0265003983, -0.045373641, -0.0019037367, 0.0029533794, 0.0094499877, 0.0097405259, -0.0095963506, -0.0552255251, 0.0464099012, -0.0906336978, 0.022115251, -0.0255593304, -0.0133219259, 0.0196491722, -0.0207852889, 0.0350084752, 0.0083237113, -0.0409092046, -0.0266526788, 0.0172742847, 0.0061576432, -0.0349915475, -0.0194301866, 0.036409054, 0.0298806075, 0.0394892879, 0.0000025415, -0.0533857644, -0.0320428722, -0.0196211692, -0.0574634783, -0.0385467, 0.0271616485, 0.0436529443, -0.0074513867, 0.0450989902, -0.0364294387, 0.0057662991, 0.0344781242, 0.0229370706, 0.051697623, 0.0427792445, -0.0026516197, -0.0038137701, -0.0249268822, 0.002268777, 0.0259499531, -0.0325216055, 0.0221942794, -0.0057179984, 0.0412121341, 0.0037832903, 0.0134517476, 0.0305255931, 0.0314626582, -0.002230084, -0.0309561584, 0.036942821, -0.0073786411, -0.0084157502, -0.0294208732, 0.0624545999, -0.0037995176, -0.0159947407, -0.0064483737, 0.0048143426, 0.0036859862, 0.0325860828, -0.0470379181, 0.0476589203, -0.0405768603, -0.0054641813, -0.0022573639, 0.0092359744, 0.0265625957, 0.0306450706, -0.0613176748, 0.0849281549, 0.0109567018, -0.0371058397, 0.0360045172, -0.0320736021, -0.032293126, -0.0631530285, 0.0013361261, 0.040674746, -0.0602836497, 0.0380281731, -0.0029271205, -0.0167699791, 0.0024466382, -0.0096652629, 0.0515695624, 0.0679249391, 0.0060437219, 0.0655815601, -0.0240423623, 0.0267800204, -0.0162959397, 0.0122520104, -0.0316492245, -0.0122104995, -0.0921865106, -0.0206718035, -0.0332271494, 0.0500624254, -0.0207736343, -0.0046760594, -0.0168149006, 0.0502662472, 0.006117336, 0.0189579129, 0.0267251916, 0.0009155007, 0.0195242073, -0.0538696498, -0.0490273125, 0.0104033286, -0.0540430322, 0.0073945732, 0.0342802331, -0.0166877955, -0.0013451758, -0.0026673058, -0.0308718719, -0.0327680372, 0.0217616297, 0.0521892123, 0.0156443492, -0.0117179323, -0.0594433583, -0.0172205921, -0.0257827044, -0.0917965248, 0.0217990614, -0.0765778571, -0.001685498, 0.0257524773, -0.0182420705, 0.017657822, 0.0165770799, 0.0225174408, -0.0133738499, 0.0759348124, -0.0323198102, 0.0305359308, 0.024615081, 0.0167574249, -0.0533050522, 0.0783347338, 0.0353593938, 0.0318480134, -0.013047521, 0.0405705795, 0.0025205533, -0.0033783561, 0.0023485329, -0.0249453485, -0.016258819, 0.0041103079, -0.0086953519, 0.017557336, -0.0332793184, 0.0498970523, -0.0067449058, 0.0225554463, 0.0454927385, 0.0638566986, -0.0280754529, -0.0039755106, 0.0411102735, 0.0007114377, -0.00331297, -0.0290472414, -0.0705334693, 0.0635764003, -0.0634718686, -0.0057253093, -0.0151930554, 0.0454662852, -0.0252127852, -0.042523399, -0.0280327089, 0.0148571609, -0.0343144909, 0.0555966683, 0.0362202749, 0.0060130861, -0.0102255233, 0.0191767197, 0.0121874874, -0.0142060602, -0.0466445573, -0.075672552, 0.0350387581, 0.0897905529, 0.051512707, -0.0386062041, -0.0453090481, -0.0125609459, 0.0348404869, 0.0395697691, 0.0036314772, -0.0171976183, -0.01926638, -0.0504967868, -0.0211792029, 0.013787725, -0.0089829108, 0.0064773606, 0.007814575, -0.0307994131, 0.0035337287, -0.0432874486, -0.0113288248, 0.0171813592, -0.028538892, 0.0093464553, -0.0218608864, 0.0355818234, -0.0066661621, -0.0092260474, 0.0110872798, 0.0270316433, 0.0122230379, -0.0380975269, -0.0236317459, 0.0332470238, -0.0718992278, -0.0493281558, 0.0379142575, 0.0095611978, -0.0377548672, -0.018021455, -0.0303539578, -0.0417772047, -0.0096720699, -0.0071371864, 0.0526382178, -0.0415424556, 0.0324819274, -0.0020046118, -0.0456581749, -0.0327596739, 0.0864699185, -0.0127247674, -0.0120200235, 0.082709752, -0.0245236736, 0.0099698417, -0.0156803634, -0.0213773511, 0.0473687425, -0.020718066, -0.0161047801, -0.0100786658, 0.0088535314, -0.0667246729, -0.0099777039, -0.080870524, 0.0002705026, -0.0156280603, 0.0043789926, -0.0014613497, 0.0101944124, -0.0084602963, -0.0088846404, -0.0145555148, 0.0003638512, 0.0127199739, 0.0450985767, 0.0086917337, -0.0069558104, 0.0104051279, -0.0074240896, -0.0067121293, -0.0276974328, 0.0610199422, -0.0069212611, -0.0037526672, -0.0264796596, 0.0042213732, -0.0393484458, 0.0048649027, -0.009412935, -0.000439827, 0.0072632642, -0.0526361093, 0.0651510879, 0.0678463727, -0.0037849785, -0.0104266834, 0.0699834526, 0.0010044316, -0.0713491216, 0.0307624806, 0.0161995143, 0.0093363645, -0.0022650643, -0.0099021476, -0.0268164687, 0.045471251, -0.0164040085, 0.0005823592, -0.0550863743, 0.051927235, -0.0050570052, -0.024939822, -0.0724104568, -0.0106435223, 0.0060558156, 0.0693788379, -0.0463768169, -0.0288037714, 0.0964126736, 0.0083620204, -0.0017301167, -0.0459436662, 0.0173266996, -0.0181724392, 0.0693841204, -0.0384758338, 0.0234951004, 0.0200410467, -0.0078828922, -0.0679995939, -0.0282586943, 0.0249525309, -0.0263119433, 0.0392934419, -0.0722037628, 0.0172752142, 0.008651644, -0.0612752549, -0.0695830435, 0.0240978207, -0.0584432743, 0.0067242826, -0.0393496305, -0.006066415, -0.0145324115, -0.0069918046, 0.0326621234, 0.017331617, -0.0127763804, -0.0344608426, -0.0115326745, 0.0050847982, 0.032802213, 0.0167801827, 0.024360111, -0.0081573343, 0.0869619623, 0.0326641314, 0.0513531715, -0.0026696401, -0.0348087698, 0.0312811993, 0.0247670319, -0.0059709162, -0.0062839105, 0.0431316644, 0.0093971742, -0.0840456411, -0.006512641, 0.1274382919, 0.0748367608, -0.054966379, -0.0272265524, -0.0591964945, 0.0454300642, 0.047600206, 0.0459331721, -0.0401833393, -0.0641364306, 0.0465012603, -0.0043774582, -0.0058572222, -0.0309389904, -0.0153963408, -0.0873927251, 0.0423175432, -0.0220452417, -0.0038720414, -0.0153716654, -0.0288589168, 0.0082494104, 0.0358685218, -0.0336875021, 0.0367028676, -0.0147064421, -0.0008930246, 0.0237997714, 0.0004291662, -0.0560462475, 0.0497707874, -0.009279564, 0.0468620025, 0.0762767419, 0.0143752377, 0.0486179851, -0.0543550663, 0.0639926568, 0.0303303599, 0.0251249988, -0.0444770455, 0.0377630107, 0.0111573394, 0.0211139582, -0.0343621112, 0.0215014182, -0.034955889, -0.0421022139, 0.0142942136, 0.1310058534, -0.0238944925, 0.0090740081, -0.0111115836, 0.0061970195, 0.0006150306, 0.0831577778, 0.026977649, -0.0411842056, -0.0373653062, -0.0358345732, -0.0705259964, -0.0251383204, 0.0058727842, 0.0417983793, 0.0421059839, -0.0013082532, -0.0573508851, 0.0097315116, 0.0642214715, 0.0454191603, 0.0197750479, 0.0072080968, 0.0006096521, 0.034599971, -0.0466291867, -0.0021845319, -0.057789173, 0.0191682931, -0.0478536487, 0.0131312748, 0.047695864, -0.0503182076, -0.0191745907, -0.0057334853, -0.0576492287, -0.0636503249, -0.0313219205, 0.0483805351, 0.0279034954, 0.036243856, -0.0098022725, -0.055444926, 0.0405311696, 0.0024692432, -0.0115789706, -0.0284853578, 0.0501673818, 0.0158808958, 0.0004582052, 0.0521577597, -0.035509713, 0.0265334416, 0.0216001552, 0.03214458, -0.0159290135, 0.0176854841, 0.0493591055, 0.0246195085, 0.0075252508, -0.0140227498, -0.0394166969, -0.0395519882, 0.0243277103, 0.004408868, -0.061263524, -0.023763746, 0.0504963994, -0.0014706922, -0.0175286252, 0.0200413521, -0.023037333, 0.0006266347, -0.0119800605, 0.0389511697, 0.0081719616, -0.0019110284, 0.0633269846, 0.0471487381, 0.0000130592, -0.000327784, 0.0104200942, 0.014918793, 0.0235870536, -0.0532989129, 0.1107000411, 0.0389399268, -0.031301368, -0.063997224, 0.018486809, -0.0770274177, -0.0884421468, 0.0522893518, 0.0425640047, 0.0492042862, 0.0305861402, -0.0177581552, -0.0415032394, -0.0027077349, 0.0038797469, 0.024536211, 0.0400123298, -0.0215299092, 0.0118836034, 0.0443080813, -0.0131313074, -0.0089292722, 0.0284839235, -0.0547860973, 0.0120997392, 0.0139581123, -0.0139677795, -0.0285085738, -0.0244245995, -0.055059664, 0.0321992338, -0.0160572212, 0.044102259, -0.0955920666, -0.0483641364, 0.0196790285, 0.0211765189, -0.0050956691, 0.0060671624, 0.0496438406, 0.0591088198, 0.0059767845, -0.0459710248, -0.0164442267, -0.0070812004, -0.0249534827, -0.0104703708, -0.0404719748, -6.850253574e-33, -0.0022870961, -0.0371769071, 0.0642894432, -0.0252617933, 0.0050908392, -0.0424481519, -0.0456930585, 0.0101412032, -0.028981084, 0.0078896098, -0.0440182239, 0.0162164029, 0.0089913337, 0.0235261079, 0.0190388113, -0.0181077216, 0.027194608, 0.0068397783, -0.0352631174, 0.0132494569, 0.0543830879, 0.0120454747, 0.0022170278, -0.0239294041, -0.0071811061, 0.0416513458, 0.010449525, 0.0465599373, -0.0658659637, 0.0315261483, -0.0089630382, 0.0222340543, 0.0344518125, -0.026347518, -0.0056882561, 0.0257504769, -0.0624843761, -0.030316785, 0.0494362004, -0.0418371558, -0.0365769193, -0.0357332081, -0.0172391906, 0.0075865933, 0.0197419412, -0.0123852687, 0.0282589179, -0.0430074148, -0.0223742258, 0.0134717301, -0.0452830791, 0.0137348138, -0.0165919624, -0.0193547029, 0.036457099, 0.0676879361, -0.0247208867, 0.0332709588, -0.0085690012, 0.0506263524, -0.0021464124, 0.0075727981, 0.0763173997, 0.0301538389, -0.0133698434, 0.0463770851, -0.0010595309, 0.0113912374, -0.002555151, -0.0003912872, 0.0024539945, 0.0610712655, 0.0319957212, 0.0357052758, 0.0381449014, 0.0048978571, -0.0455372855, -0.0090273898, 0.0151551953, 0.0341009125, 0.0556758009, 0.0063150199, -0.0410456806, -0.0348828807, -0.0581725128, 0.0198922399, -0.0708381534, -0.0087133069, 0.0546105318, -0.003903413, -0.0284429602, -0.026692709, 0.0310598202, -0.0204460323, 0.0123623079, 0.0246823113, -0.0034237853, 0.0105543714, -0.0119625665, 0.0426354036, -0.043533612, -0.020938389, 0.014741444, 0.002292532, 0.000066164, 0.0105153313, 0.0334411338, 0.0088885641, -0.0419870205, -0.0061047417, -0.0747862533, 0.0309951194, -0.0041702231, -0.0124292197, 0.0124586532, 0.0270334054, -0.0038041938, 0.0194230359, 0.0000090796, -0.0432481244, -0.0413425006, 0.0140195992, -0.0354437269, 0.0075954404, -0.0141362343, 0.0047217715, -0.0550485291, -0.00204544, 0.0285747033, -0.0461752377, -0.006991467, 0.0379381031, 3.145e-7, 0.0034735457, 0.0602659397, -0.0067591849, 0.0027467357, 0.0184177421, 0.022946449, -0.0249236915, -0.0544306189, 0.0515234657, -0.03910283, 0.0107938712, 0.065705359, 0.0511046089, 0.0395613872, -0.0741365999, 0.0072098156, -0.0353127532, -0.0204452053, -0.0440434255, 0.0064859297, 0.0554252751, 0.0476604663, 0.0104238102, -0.0182406735, 0.0153886368, -0.0302104689, 0.0448190309, -0.0369269922, 0.0303418301, -0.0062706321, -0.0186719056, 0.0072009149, 0.0007856595, 0.0407566018, 0.0210381802, -0.0003034706, -0.0214592088, 0.0465375185, -0.0032557903, -0.0230940282, -0.0232503507, -0.0055818595, 0.0131568294, -0.0320268422, 0.0827125385, -0.0591325797, -0.0072236806, -0.0248480234, 0.0423229598, -0.004640331, -0.0236946624, -0.0204477124, -0.028072793, 0.0109951803, -0.0129170744, -0.0232879687, -0.0071960702, -0.087215282, -0.0114003429, 0.0044238856, -0.0251597017, -0.0404382907, -0.0501352809, -0.0167014804, 0.0550955795, -0.0719516054, -0.007025599, 3.195158261e-34, 0.0279909763, -0.0069963289, 0.0070447773, 0.0392329395, 0.0128473807, 0.0108952643, -0.0630864203, 0.0020128386, 0.0349093676, -0.092154637, -0.037411239 ]
http://arxiv.org/abs/2406.11695v1
http://arxiv.org/pdf/2406.11695v1
Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs
2024-06-17T16:12:03
2024-06-17T16:12:03
Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, Omar Khattab
cs.CL
cs.CL, cs.AI, cs.LG
Language Model Programs, i.e. sophisticated pipelines of modular language model (LM) calls, are increasingly advancing NLP tasks, but they require crafting prompts that are jointly effective for all modules. We study prompt optimization for LM programs, i.e. how to update these prompts to maximize a downstream metric without access to module-level labels or gradients. To make this tractable, we factorize our problem into optimizing the free-form instructions and few-shot demonstrations of every module and introduce several strategies to craft task-grounded instructions and navigate credit assignment across modules. Our strategies include (i) program- and data-aware techniques for proposing effective instructions, (ii) a stochastic mini-batch evaluation function for learning a surrogate model of our objective, and (iii) a meta-optimization procedure in which we refine how LMs construct proposals over time. Using these insights we develop MIPRO, a novel optimizer that outperforms baselines on five of six diverse LM programs using a best-in-class open-source model (Llama-3-8B), by as high as 12.9% accuracy. We will release our new optimizers and benchmark in DSPy at https://github.com/stanfordnlp/dspy
[ 0.0373185165, 0.0391003489, -0.01657735, 0.0185632501, -0.03594248, -0.0000626721, 0.023765238, -0.0186368991, 0.0162031353, -0.0309592243, -0.0389105789, -0.0079158656, 0.0343467519, 0.0027603139, 0.050002303, -0.073420845, 0.0392459594, -0.0701303482, -0.0166966114, 0.0076063792, -0.0034678574, -0.0017027006, -0.0364280269, 0.0616203174, -0.0131301358, -0.0195772368, -0.0117211463, 0.0108451089, 0.0007449051, -0.0564973801, 0.0224709846, 0.072363168, -0.0013094223, 0.0076463073, 0.0000022709, -0.0283305049, 0.0003624171, -0.0039834888, -0.0425790325, 0.0281979255, 0.0664850026, 0.0088444147, -0.0002940428, 0.0423286185, -0.016000839, -0.0011949833, 0.0459802076, 0.0014085789, 0.0547440797, 0.0650962219, 0.017682841, 0.0133328615, -0.0157786123, -0.0226914231, 0.0056785666, -0.0141638312, 0.0137123102, -0.0039705154, 0.0499958396, 0.0036624051, -0.0104597835, 0.0364915244, 0.0231061541, -0.0177171864, 0.022399025, 0.0439906269, 0.015235112, -0.0274402425, -0.0479383804, 0.0695582777, -0.0207771696, -0.0425913259, -0.0032332921, -0.0358661599, -0.0152900005, -0.0171826743, -0.0590536818, 0.0371087082, 0.0252840277, -0.0095326649, 0.0393464975, -0.0246278979, 0.0434132554, -0.003830089, 0.0122440122, 0.0864827782, 0.0289616697, -0.029467836, 0.0146563426, 0.0112526817, -0.0019092215, -0.0795070976, 0.0010869412, 0.0468058065, -0.0442999862, 0.0393831693, -0.0226962641, -0.0306358282, 0.0154300714, -0.0142236054, 0.099379532, 0.0340006612, 0.0067145652, 0.0374351554, -0.0090017673, 0.0710206404, 0.0192110687, 0.0260082837, -0.0323533453, 0.0225147214, -0.0637051314, 0.009574187, -0.0457713418, 0.0232401453, -0.029525701, 0.00457248, 0.0009545243, 0.0397910252, -0.016443843, 0.0205395613, 0.0270355213, -0.0211671498, -0.0545506291, 0.023270864, -0.022232186, 0.030105589, -0.0535730496, -0.0168527588, 0.0101419874, -0.0178182516, -0.063113533, 0.031591475, -0.0275638606, -0.0204444937, 0.0325809307, 0.067996718, -0.0149692558, -0.0500789694, -0.0041229916, -0.0227961764, 0.0001706895, -0.0714441165, 0.0155554786, -0.0736564323, 0.0327114724, 0.0170509834, 0.0121826101, -0.0117410924, -0.0021595247, 0.0166341923, -0.0112852082, 0.0668988302, 0.0343304388, 0.0213230811, -0.0063524856, 0.0027688292, -0.032859657, 0.0820920393, 0.0260931049, 0.0436231159, 0.036356125, 0.0087816101, 0.0331214517, 0.0621895827, 0.021448927, 0.0416061915, 0.0092533743, -0.0052171205, 0.0441220738, 0.009116183, 0.0225130189, 0.0185389165, -0.0119736195, 0.0516747013, 0.0251806956, 0.031401936, 0.0072528995, -0.0706109479, 0.0819410011, 0.0073026801, 0.0204760991, -0.0089089191, -0.0600866303, 0.0331415534, -0.0312753282, -0.0009980144, 0.0189578328, 0.0272676833, -0.0240748618, -0.0128482552, -0.0361025929, -0.0070561054, 0.0113858264, 0.0286741797, 0.0095045306, 0.0269634463, -0.0684687495, 0.0430517755, 0.0477082469, -0.0196313895, 0.0126221757, -0.0503567941, 0.0181870162, 0.0699387342, 0.0452679545, -0.0288419016, -0.0172330271, -0.0081899632, 0.0151367662, 0.0494523644, 0.0350907929, -0.047875464, 0.0382523611, -0.0250823759, -0.0216706917, -0.034036018, 0.0282024723, 0.0287304688, 0.0665235445, -0.0398005992, -0.0027423969, -0.0353325717, -0.0068470309, 0.0609069318, -0.0646202788, -0.0294036921, 0.0061576017, 0.0011749162, 0.0307284873, 0.0066367923, 0.0124392165, -0.0036551633, 0.0317986757, -0.0086933002, 0.0099963993, -0.026479302, -0.0347622596, -0.0799994692, 0.0300535653, 0.0071756197, -0.0160929039, 0.0136541026, -0.0331109129, -0.0395273454, 0.0343062989, -0.030340679, 0.0094243512, -0.0169117954, 0.0389024541, 0.0080720941, 0.0011536494, -0.0346944109, 0.0334326886, -0.0040714997, 0.0384490825, 0.0726329237, 0.0244634375, 0.0094545064, -0.0303657018, -0.0059293844, 0.0219180807, -0.008601795, 0.0118452702, 0.0217837933, 0.0615945905, -0.0191845521, -0.0442077741, -0.0889051855, 0.0321629681, -0.0377388895, 0.0193721522, 0.0274034068, 0.0015289984, -0.0066538169, -0.0010898927, 0.0073195565, -0.0187083501, -0.0317223445, 0.019023668, 0.0223872419, 0.0272715427, -0.0581387952, -0.0272724759, -0.0096643586, -0.0098022046, 0.0444596969, -0.0173453987, 0.0242219176, -0.0537776202, -0.0246049166, 0.0052762562, 0.0124901924, -0.0040796837, -0.0020051422, 0.0222172141, -0.0009000373, 0.0622680634, 0.0438285917, -0.0459871888, 0.0405141711, 0.064630948, -0.0034555073, -0.077409409, 0.0237312187, -0.0201400407, 0.0009295991, -0.0184786171, -0.0633672625, 0.0157194119, 0.111681506, 0.0006214357, 0.0056836656, -0.0597987808, -0.0119719254, -0.0264417119, -0.0450465493, 0.0211800896, -0.0019509937, -0.0220157895, 0.0056668539, -0.0172498841, -0.0608800836, 0.0841592401, -0.0615565218, -0.0360427164, -0.0464962833, -0.0083914921, -0.0350181758, 0.056655962, -0.0008763324, -0.0096550463, -0.0043922858, -0.0514970608, -0.0293742325, 0.0265732761, 0.0262574721, -0.0134212347, 0.0337232836, -0.072292462, 0.0068727727, -0.0188936498, -0.0265566651, -0.0375962667, 0.013601223, 0.0032320498, 0.0433260351, 0.0039800601, -0.0049146344, -0.0201658029, 0.0003654232, 0.0393847004, 0.0425296687, -0.0257152673, 0.0137339411, -0.0385725498, -0.0307033546, 0.0129931392, -0.0053399573, -0.0026947302, -0.0585366599, 0.0202644318, -0.0149334269, 0.0714988708, 0.0184140019, -0.0195076969, 0.0052135913, 0.0493772849, -0.0527521111, -0.0088462308, 0.0599283949, 0.0634643957, -0.0679475591, -0.0300985053, 0.0951316357, 0.0630754605, -0.0526268259, 0.0256194528, 0.0132833682, 0.0413125679, 0.0329368003, 0.0482086129, -0.0681976825, -0.0347499251, 0.017771462, 0.046932511, -0.0058342176, -0.0081517287, -0.0357855931, -0.1292761713, 0.0214882754, -0.0060061994, -0.042459026, -0.0145303952, -0.0762131587, -0.0046617333, -0.0009119897, 0.0437735207, 0.0138736861, -0.0351611041, 0.0240741577, 0.0088042794, -0.016170349, -0.0354471728, 0.0132169919, -0.0026538672, 0.0707780942, 0.0517981052, -0.0181959029, 0.0047639636, 0.0102241281, 0.0541299544, -0.0363904983, -0.015213782, -0.05660142, 0.0155550409, 0.0020024902, -0.0020350011, 0.0270110182, 0.018461477, -0.039950192, -0.0294578504, -0.0051046722, 0.0641164929, -0.0187595319, -0.0017670499, -0.013170206, 0.0198398158, 0.0474932157, 0.0847760439, 0.0394352712, -0.0496382788, -0.0216494761, -0.0390070826, -0.044837255, -0.0622732379, -0.0095361685, 0.0034206351, -0.0186634511, 0.0225992724, -0.0613361262, -0.0407788306, 0.0776884928, 0.0292731486, 0.0190381017, -0.0084013268, -0.0439522155, -0.0242054444, -0.0369320586, 0.0327428244, -0.044752188, 0.0325080045, -0.0852955356, -0.0556728914, 0.015878519, -0.0330931544, -0.0114377281, 0.0473557226, -0.1180887148, -0.0751744062, -0.0257687978, 0.0778108686, 0.0175792407, 0.0454888493, -0.044097241, -0.0478903055, 0.0310140979, 0.0350285023, -0.0069683488, 0.0060264976, 0.024074439, 0.0049550273, -0.010179529, 0.016069416, -0.0295217689, 0.0129407756, 0.0316932909, 0.0740296692, 0.0188467689, -0.0231551062, 0.0227930173, 0.0282020662, 0.0231493022, -0.0277455412, -0.0640611872, -0.0542408861, 0.0061351466, -0.0151505787, -0.0213949531, -0.0410302095, 0.0123099172, -0.0039990204, -0.0167972464, 0.0184864737, -0.0028890108, -0.0335812084, 0.059793368, -0.0261199102, 0.0353949331, -0.0193721354, -0.0096073942, 0.0065574558, 0.0109695047, -0.0171191115, 0.0085367765, 0.0068324883, 0.0176358949, -0.0325846486, 0.0468867235, 0.0078543723, -0.00250281, -0.0186898988, 0.0327268317, -0.0312603414, -0.0365403183, -0.0359319709, 0.0512278154, 0.0562466308, 0.0049799006, 0.0637241304, -0.0490314141, 0.0018165782, -0.0083571794, 0.0222267397, 0.0020245793, -0.0588924922, 0.038593173, 0.0419848114, 0.0075685885, -0.0179974828, 0.0638355389, 0.0125153223, 0.037455719, 0.0170943514, 0.0366971381, -0.0538856983, -0.0604804195, 0.0308439806, 0.0004483692, -0.037952289, 0.0074669127, -0.0560660698, -0.0390037857, -0.0339678898, 0.0108386716, -0.0361128747, -0.0151028438, 0.0439492762, 0.033147756, -0.0128256492, -0.0125981234, -0.0447592996, -0.0196546409, 0.0354324989, -0.0508244708, -0.0077104042, -6.763865024e-33, -0.0635377318, -0.0272346344, 0.0333711095, 0.013146095, -0.0110577475, -0.0009217758, -0.0615962222, 0.0290028583, -0.0011603798, -0.0206782799, -0.0260558613, -0.0167404786, 0.017339116, -0.0067337765, -0.0035227959, -0.0003704302, 0.0331594609, -0.0036963834, -0.0749903172, 0.0247448143, -0.0118031986, 0.0071004224, 0.0538135208, -0.0073694442, 0.0353485756, 0.0198117495, -0.0428443588, -0.0073832506, -0.0128238872, 0.0564859137, -0.0192224886, 0.0298203211, 0.0164648239, -0.091574721, -0.023399245, -0.0024023154, -0.036130745, -0.0469843112, 0.0309870727, 0.0057018567, -0.0671335906, -0.050706666, 0.0208431575, -0.0173969474, -0.037457902, 0.0184841622, 0.0270831212, 0.0034924641, -0.027162049, 0.0173061211, -0.0661896095, -0.0042165807, 0.0131063722, -0.032060504, 0.020847192, 0.0297529567, 0.0087699471, -0.0013104418, -0.0009019389, 0.0272268467, 0.0188714582, 0.0590273552, 0.0745595992, 0.0283623338, 0.0047981776, 0.0190578662, 0.0136177512, 0.0224742368, 0.0393976793, -0.0025336696, 0.0484322459, 0.0085048936, 0.0460064486, -0.0136400228, 0.012164237, 0.0251429901, -0.016420573, 0.0213783383, 0.0654238835, 0.0033730543, 0.0200870354, 0.0043643317, -0.0227225069, -0.0172335524, -0.0810263976, -0.0070429128, -0.0285241567, -0.0270385668, 0.0319963321, 0.0406919718, -0.0504106618, -0.0037778958, 0.0323384441, -0.022403324, -0.0310053639, -0.0167674795, -0.0092676505, 0.0475734472, 0.0118184658, 0.03571954, -0.0629215315, -0.047552038, 0.0424686559, -0.0358988866, 0.0268936753, 0.0205858704, 0.0059116618, 0.0366576724, -0.0651386231, 0.0107072899, -0.0555966161, 0.0433835238, -0.0051748627, 0.0457103401, 0.0271769017, 0.0000997818, -0.0155358016, 0.0243742503, 0.0295640286, -0.04388915, -0.0277062356, 0.0193824712, -0.0125993602, 0.0228798594, -0.0404615141, 0.02141295, -0.0494840257, -0.03126904, 0.0235170685, -0.0346268639, -0.0331907123, 0.0170714241, 2.902e-7, 0.0264056325, 0.0686482862, 0.0058021303, 0.0783459544, 0.0033682105, 0.0170063693, -0.0536088571, 0.0045668576, 0.001916268, -0.0369590968, -0.0242407527, 0.0193755031, 0.0384322666, 0.020208165, -0.0966748521, 0.0246332083, 0.019052038, 0.0262535065, -0.0743211806, -0.0280903131, -0.0225370266, 0.0789766163, 0.0109748058, 0.0053438833, -0.0287880767, -0.0194607712, 0.037833564, -0.0099721039, -0.0132820439, 0.0449885167, 0.0115098571, 0.0288535506, 0.0024594849, 0.0161639247, -0.035716258, -0.0183590297, -0.0151753966, 0.0897548497, 0.0182059072, -0.0735514089, 0.0239527114, -0.0174781661, 0.0120587219, -0.045260217, 0.046222914, -0.0175240207, 0.0050970512, -0.0329826064, 0.0057253423, -0.0042439243, -0.0051035285, -0.0289967861, -0.0175203513, 0.0507769585, 0.0095163779, 0.0025667252, -0.0351079777, -0.0480720997, -0.0452243648, -0.028379323, -0.027093837, -0.0498625189, -0.0214230288, 0.0049230312, -0.0397980735, -0.1145429015, -0.0239645019, 3.596381344e-34, 0.0457465611, -0.0345055275, 0.0275103301, 0.028251674, 0.0214668363, -0.0036657858, -0.0333983861, 0.0090523716, 0.0193085074, -0.0758900568, -0.0392270125 ]
http://arxiv.org/abs/2406.11687v1
http://arxiv.org/pdf/2406.11687v1
Tokenization Falling Short: The Curse of Tokenization
2024-06-17T16:05:32
2024-06-17T16:05:32
Yekun Chai, Yewei Fang, Qiwei Peng, Xuhong Li
cs.CL
cs.CL
Language models typically tokenize raw text into sequences of subword identifiers from a predefined vocabulary, a process inherently sensitive to typographical errors, length variations, and largely oblivious to the internal structure of tokens-issues we term the curse of tokenization. In this study, we delve into these drawbacks and demonstrate that large language models (LLMs) remain susceptible to these problems. This study systematically investigates these challenges and their impact on LLMs through three critical research questions: (1) complex problem solving, (2) token structure probing, and (3) resilience to typographical variation. Our findings reveal that scaling model parameters can mitigate the issue of tokenization; however, LLMs still suffer from biases induced by typos and other text format variations. Our experiments show that subword regularization such as BPE-dropout can mitigate this issue. We will release our code and data to facilitate further research.
[ 0.0479512587, 0.0592849962, -0.0381114744, 0.0461973548, -0.0620726719, 0.0004419893, 0.0072395033, 0.0347651504, -0.0232214909, -0.0399049409, 0.007456569, -0.0547516495, -0.0074749533, 0.0698556527, 0.0419391543, -0.0632068589, 0.0562358573, -0.053982988, 0.0353786983, 0.0184533745, 0.0273009595, -0.0015143069, 0.0206801165, 0.054515481, -0.0400101095, -0.0093258573, -0.0003775756, 0.0323066227, -0.0216100644, -0.0123374276, -0.0076855398, 0.0361550488, -0.0064823343, 0.0722199455, 0.0000019828, -0.0479801148, -0.0377536602, -0.0091180904, -0.0031772794, 0.0428959802, 0.060458038, -0.03459692, -0.0206718575, 0.0443951488, 0.016603725, -0.020822674, 0.0419449285, 0.0413477197, 0.0191882141, 0.0445320718, -0.0178570319, 0.0267125946, 0.0071247811, -0.0171488039, -0.0246430673, -0.0397288203, 0.031733688, -0.0126592638, 0.0347592495, -0.0230218936, -0.0143957874, 0.0053557679, -0.0088387504, -0.0044189142, -0.0053885868, 0.0298803449, -0.0237882584, -0.0357071236, -0.0172557514, 0.0423845313, -0.0361994505, -0.0142159434, 0.0161628891, -0.0309606101, -0.010752731, -0.0249811877, -0.0492745526, 0.0279414132, -0.0010649514, 0.0066560134, 0.004294191, -0.0212324653, 0.0457563102, -0.0077543091, -0.0425559655, 0.0806862041, 0.0277939364, -0.030380886, -0.0541469194, -0.0223625321, -0.0335931852, -0.0997996777, 0.0528862476, 0.0064097797, -0.0570852198, 0.0187344253, -0.0441363379, -0.0469770581, 0.0198590457, -0.011635243, 0.0136459358, 0.0154065946, 0.0077910898, 0.014124291, 0.0078576505, 0.0648190603, -0.0129095893, 0.0113859829, -0.04733558, -0.0085815731, -0.0270737931, -0.0440792739, -0.059972994, 0.0584208332, -0.0170238297, -0.0335834138, 0.0058036521, 0.0282460749, 0.0245904811, -0.0086112879, -0.0144933378, -0.0249224659, -0.0192434806, -0.0186487325, -0.0012775747, 0.025847191, -0.0419099778, 0.002495005, -0.0001019999, -0.0327332243, -0.0065080673, 0.0093209026, 0.0181226712, -0.0475027412, -0.0195635278, 0.081626609, -0.0079396935, -0.0262483843, -0.0240717269, -0.0200266689, -0.0241466891, -0.0442834049, -0.0613950528, -0.0794497281, 0.0048620822, 0.0271216948, -0.0132467682, -0.0590328388, -0.002466453, 0.0022244942, -0.0465990901, 0.0709491298, -0.0072626113, 0.0137615353, 0.0314763598, -0.0051933234, 0.0208108611, 0.0730357915, 0.0581848361, 0.0366151184, 0.0592231527, -0.0106901089, 0.0058065499, 0.0766273215, -0.0161079653, -0.0083183665, -0.0431789197, -0.0303353779, 0.0221237354, 0.0460526012, 0.0271340758, 0.1127360761, -0.0115258433, 0.0355400331, 0.0350352153, 0.0979420617, -0.0112317577, 0.0244578049, 0.0237614084, 0.0028684102, -0.0218483247, 0.0128079699, -0.0316096582, -0.0245312657, 0.0162731353, 0.0065365536, 0.0304204766, 0.0421227515, -0.012493995, -0.0434614718, -0.0623223707, 0.0077042631, 0.011706139, -0.0485169142, 0.0455099903, -0.0092468439, -0.0523020737, 0.068434976, 0.005954897, -0.0422986783, 0.020441521, -0.0510144792, 0.020498028, 0.0739575997, 0.0843219832, -0.0371203981, -0.0124428039, 0.0073582768, 0.0278062038, 0.0384469591, 0.0384195559, -0.0232011788, -0.0102212178, -0.032052841, -0.0079691745, 0.0125725493, 0.0133695528, 0.0039628563, -0.0134518687, -0.0078416914, 0.003293633, -0.0712873936, -0.030843908, 0.0404319428, -0.041131068, -0.0138497707, -0.0169028156, -0.0049966001, 0.0137573052, 0.0030875797, -0.024261333, 0.0490278341, 0.0122656748, -0.0439995117, -0.01836868, -0.0082407491, -0.0146573372, 0.0142153343, 0.0672228634, 0.0089530759, 0.0124876099, -0.0045531131, -0.0019136484, -0.0488466173, 0.0470909663, -0.0332751945, 0.0834799483, -0.0008515383, 0.064054206, -0.0251459125, -0.0193005726, -0.0608582757, 0.0279531088, -0.0016255195, 0.0178520046, -0.0207103007, -0.0228381716, 0.0281441472, -0.0266379528, -0.0273311753, 0.0355255678, -0.0167831723, -0.0044987476, 0.0342749096, 0.0053011244, -0.0232575238, -0.0417052768, -0.0773397237, 0.0076532615, -0.0061126151, 0.0246408377, -0.0026213906, 0.0521529987, -0.0318109691, 0.0115712974, 0.0109076267, -0.0454946831, -0.0159661137, 0.032529857, 0.0558801666, 0.0107140783, -0.0330339782, -0.0688804463, -0.0299933385, -0.0359103903, 0.0383224525, -0.0061353035, -0.0179053415, -0.0587289184, 0.0195238553, -0.0303346738, 0.0219458602, 0.0118463561, -0.0355746634, 0.0115695717, -0.009104237, 0.0905019939, 0.0339455679, -0.0121746436, 0.0324885696, 0.0344817974, -0.032444872, -0.0520429052, -0.0095281899, 0.0316773094, 0.0060513602, -0.0080978367, -0.0637253076, -0.0070610833, 0.0931273922, -0.008160051, 0.0078981295, -0.0440885238, 0.037296243, -0.0454187989, -0.0154688163, 0.0023011151, -0.0338646397, -0.027238518, 0.0351148099, -0.029232014, -0.0612259917, 0.0640770197, -0.0500613265, 0.0217519589, -0.038082242, 0.0227357484, -0.0425021201, 0.0523656048, 0.0027863083, 0.0118630761, 0.0020820296, -0.0618257746, -0.0352580324, 0.0023540244, -0.0123799983, -0.0060738535, 0.0443174988, -0.0478032008, 0.0201750882, 0.0017954177, -0.0471031256, -0.0178735815, -0.0258631986, -0.0524423867, 0.0220444892, 0.0823814943, -0.0110752806, -0.0292387716, 0.0444644839, 0.0170477293, 0.0349470228, -0.0109679447, 0.0165401492, -0.0262784883, 0.0351572968, 0.03974168, -0.0357766598, 0.0442069769, -0.0438617319, 0.0044635097, 0.0368944108, 0.0744429156, -0.0174652152, -0.0107082613, -0.0289391205, 0.0370531753, -0.0585971922, -0.0467920527, 0.0007696216, 0.0614314191, -0.0314588994, -0.0413888656, 0.1320404559, 0.0557107888, -0.0378612205, 0.0358602703, -0.0521161892, 0.0835784301, 0.0170123763, 0.0188683122, -0.0399630889, -0.0214179587, 0.0490095168, -0.0084135039, 0.0033438366, -0.0342231244, 0.0051219291, -0.0982405543, 0.012920971, 0.0249423198, -0.0298871361, 0.0012081459, -0.0382127278, 0.0048197196, -0.0036681695, 0.05829335, 0.0451003648, -0.0388450772, 0.0009284898, 0.0387817174, -0.0590791926, -0.0087591559, 0.0033755498, -0.0606942028, 0.0325645879, 0.0614114888, 0.0051557184, -0.0147425514, 0.004494546, 0.0924333632, 0.0316300169, 0.0165852141, -0.0392262712, -0.0062868712, -0.0043506105, -0.0041395961, 0.0093024988, 0.0076090144, -0.03629601, -0.0354643241, 0.0132023459, 0.0562734008, 0.0159076732, -0.0134554775, -0.0282563046, -0.0515459292, 0.0003627882, 0.0677918792, 0.0494737625, -0.040507745, -0.0710941181, -0.0420062952, 0.0097746179, -0.0362489969, 0.0027438635, -0.0396328345, 0.006073223, -0.0055203382, -0.0555848926, -0.0179344937, 0.0460892059, 0.0359526575, 0.0043931138, 0.0024228597, -0.0237646792, -0.0065166154, -0.0347215608, 0.0053285621, -0.0153556541, 0.033953134, -0.1010118872, 0.0177739672, -0.0153465448, -0.0096940883, -0.0181614459, 0.0018459258, -0.1150738671, -0.0688662827, 0.0041535879, 0.0399894081, 0.0225882698, 0.0245098937, -0.0178351253, -0.1008721218, 0.0181985628, 0.0252687614, -0.0258057509, 0.0058515691, -0.0072294595, -0.0062308121, 0.0089948783, 0.031004414, -0.0396222956, -0.0103091598, 0.0037446071, 0.0835035071, 0.0048434432, -0.0059363656, -0.0005099354, 0.0431166366, 0.0258254725, -0.0274404865, -0.0250893645, -0.0259825829, -0.004851324, -0.0490614437, -0.0065052132, -0.0424431637, 0.0187132955, -0.0043715043, 0.0082197264, -0.0139675224, -0.0325946249, -0.059117049, 0.0446938798, 0.0096818246, 0.0221876707, -0.0055561294, 0.0034016948, 0.0604727753, -0.0163961295, 0.0081492839, 0.0215383731, -0.0190813821, 0.0069968877, -0.0327797718, -0.0092472993, -0.0010757945, 0.0191772562, -0.05530826, 0.0277120881, -0.0152868563, -0.0266080219, -0.0185455624, 0.0349344425, 0.0183663499, -0.0163722299, 0.0326189436, -0.0136502497, -0.0117482943, -0.0233647358, -0.0116851255, 0.0071690949, -0.0273463354, 0.0243103355, 0.0413609259, -0.046602767, -0.0107683744, 0.1061048359, 0.048456274, 0.0224139523, -0.0030535001, -0.0222188588, -0.0355666354, 0.0285627786, 0.0256045461, 0.0457474776, -0.047662016, -0.0099717453, -0.0881535113, -0.073407568, 0.0261274707, 0.0238847416, 0.0033991223, -0.0011912398, -0.003000105, 0.0716732144, 0.0061913477, -0.0127220238, -0.0157224573, -0.0064533912, 0.0372363403, -0.04913304, 0.0267378874, -6.292377179e-33, -0.0172209479, -0.0255662873, -0.0026918217, -0.0082542663, -0.0070701498, 0.0074005057, -0.0479222722, 0.0301940627, 0.0401519798, -0.022391662, -0.0372825898, 0.0021749143, 0.0134722013, 0.0178880021, 0.0572722703, 0.0088142483, 0.0620852783, -0.0121484557, -0.0293170791, -0.0072479583, 0.01300136, 0.0375451855, 0.0316690169, -0.0152603192, 0.0173905436, -0.0069121942, -0.016106857, 0.0484529361, 0.0417122729, 0.0707223415, -0.0226453431, 0.0198199302, 0.0199891422, 0.0055337232, -0.0510728657, 0.0019800826, -0.0477416664, -0.0267035645, 0.0313722827, 0.002475318, 0.0004485655, -0.0645081773, 0.0528255962, -0.0051500024, -0.0275837649, 0.0285776984, 0.0222779475, 0.0144981332, -0.0287956297, 0.024649119, -0.0751619563, 0.0233649835, -0.0085487152, 0.0036226667, 0.0363340229, -0.0272764079, 0.0034633582, 0.0284715015, -0.0074797003, 0.0238665175, 0.0333028287, 0.0582653247, 0.0788220093, 0.0357884243, -0.0107617816, 0.0405823626, 0.0339672081, 0.0199451316, -0.0119859921, -0.0029471335, 0.0567301735, 0.0256098695, 0.0366124399, 0.0169754829, 0.0299872141, -0.017234195, -0.0325797684, -0.001776928, 0.0131376218, 0.0353961959, 0.0201226734, 0.0734483898, -0.0423489846, -0.0339593887, -0.0146432603, -0.0405670479, -0.0377909057, -0.0282285493, 0.0329249762, -0.0043139444, -0.0109704118, -0.0086748088, 0.0356346965, -0.0236905664, -0.0553709865, -0.0146599626, 0.0020542373, 0.0323211811, -0.0155462157, 0.0346784368, -0.0661977381, -0.0360418521, -0.0083037997, 0.0131945275, 0.0162284058, 0.0088171698, -0.0099242143, 0.0106906798, -0.0682958663, -0.0113754198, -0.0245638229, 0.0018375095, 0.0060631167, 0.013275994, 0.0316733085, -0.0217821971, 0.0110023282, 0.0122426748, 0.0369947925, -0.0504076965, -0.0139777204, 0.0355167799, -0.0093702972, 0.0119647412, -0.0195860043, -0.0239286572, -0.0396081656, 0.0249065422, 0.0503772087, -0.0296201352, -0.0248277485, 0.0007981178, 2.66e-7, 0.040335983, 0.0886841565, 0.0658555999, -0.0274947826, 0.0240260083, 0.0201970413, -0.0226240009, 0.0115849609, -0.016251009, 0.0302080512, 0.0280301347, 0.0099122208, 0.038794633, 0.030657202, -0.0865087509, 0.0307338964, -0.0721034482, 0.039995417, -0.0717606843, -0.0238670837, -0.0029184737, 0.0893511698, 0.0081856344, 0.0116408905, -0.0509241819, -0.0718502924, 0.0079120332, -0.0287031028, 0.0089786816, 0.0537544228, 0.0183285642, 0.0080002993, 0.035967689, 0.0131558375, -0.0106923506, 0.00328294, 0.0685276687, 0.0452517606, -0.0193352588, 0.0172382556, -0.0001104404, -0.0301757306, 0.0015121906, -0.0831155181, 0.0530303381, -0.0056876619, 0.0048258831, -0.0469629504, 0.0020752824, -0.0126570603, -0.0076631447, -0.0181776788, -0.0190505199, 0.0716127232, 0.0213213004, 0.004180734, -0.0174125489, -0.0473124199, -0.0370302498, -0.0096321115, -0.0481523015, -0.0178387631, -0.0493840799, 0.0286197234, 0.0124302264, -0.0294293091, -0.0156942923, 2.917942484e-34, 0.0554632284, -0.0278898943, -0.0027313868, 0.0476256534, 0.0411383212, -0.016397519, -0.0062250476, 0.0336877108, -0.0123376977, -0.0703089982, -0.0127235185 ]
http://arxiv.org/abs/2406.11683v1
http://arxiv.org/pdf/2406.11683v1
HoLLMwood: Unleashing the Creativity of Large Language Models in Screenwriting via Role Playing
2024-06-17T16:01:33
2024-06-17T16:01:33
Jing Chen, Xinyu Zhu, Cheng Yang, Chufan Shi, Yadong Xi, Yuxiang Zhang, Junjie Wang, Jiashu Pu, Rongsheng Zhang, Yujiu Yang, Tian Feng
cs.CL
cs.CL
Generative AI has demonstrated unprecedented creativity in the field of computer vision, yet such phenomena have not been observed in natural language processing. In particular, large language models (LLMs) can hardly produce written works at the level of human experts due to the extremely high complexity of literature writing. In this paper, we present HoLLMwood, an automated framework for unleashing the creativity of LLMs and exploring their potential in screenwriting, which is a highly demanding task. Mimicking the human creative process, we assign LLMs to different roles involved in the real-world scenario. In addition to the common practice of treating LLMs as ${Writer}$, we also apply LLMs as ${Editor}$, who is responsible for providing feedback and revision advice to ${Writer}$. Besides, to enrich the characters and deepen the plots, we introduce a role-playing mechanism and adopt LLMs as ${Actors}$ that can communicate and interact with each other. Evaluations on automatically generated screenplays show that HoLLMwood substantially outperforms strong baselines in terms of coherence, relevance, interestingness and overall quality.
[ 0.0677195191, 0.005055171, -0.0016674947, 0.0157269444, -0.0525207072, -0.0200079624, 0.0008942954, 0.010257666, 0.0283603687, -0.0518201888, -0.0040618242, -0.0431662947, -0.0058826422, 0.0781632066, -0.0101255514, -0.0664671361, -0.0436230004, -0.0381929502, 0.0659640282, 0.00913723, -0.008734758, 0.0439344943, 0.015320573, 0.0498616993, -0.0219445806, -0.0274679922, 0.0094586685, 0.0219735987, 0.038118314, 0.0040414366, -0.0241916254, 0.0304928459, 0.0424439646, 0.0393164419, 0.0000017923, -0.0785575062, 0.0328264311, -0.0235128943, 0.0448209159, -0.000877336, 0.0425225906, 0.002534807, -0.0156472344, -0.0201105382, -0.0264704004, 0.0262118112, 0.0477906279, 0.0276090279, 0.0777038112, 0.0795146823, -0.0290668346, -0.0462711193, -0.0168046728, -0.0025833675, 0.0310000367, 0.0047070985, -0.0070787678, 0.0177716631, 0.0616743043, -0.0210554339, -0.0320985168, 0.0089222323, 0.0038078532, -0.0965588838, 0.0137242703, 0.0664491579, -0.0248343032, 0.0018283513, 0.0084667793, 0.033056207, -0.0183735024, -0.0140645988, -0.0179752391, -0.0236852262, 0.0065237037, 0.0185398571, -0.0541730933, 0.052639816, -0.0159695316, 0.0130339973, 0.0242397506, 0.0022671435, 0.0071933079, 0.0002816647, 0.0588257648, -0.0029825196, 0.0337351337, -0.0048031625, -0.0503489375, 0.0034993009, -0.0119271446, -0.085473299, 0.0173998233, 0.0357987173, 0.0008929172, 0.0080245212, -0.0622742586, -0.0075426837, -0.0298100505, -0.0537646934, 0.0790446773, 0.0186841786, 0.012670083, 0.053291142, 0.0067631835, 0.0418811366, 0.0221086554, 0.0062835608, 0.0133608701, 0.0237907004, -0.0436070934, -0.0221393313, -0.052303765, 0.0066248151, -0.036852207, -0.0254890304, -0.0073549519, 0.0294676218, -0.0123248445, 0.0338922143, 0.0192181505, 0.0486221761, -0.0245991368, -0.0322893523, -0.0490900762, 0.013928663, 0.0138686141, -0.0200107284, 0.003865923, 0.0108520007, -0.0010386943, 0.0070150951, 0.0161525086, -0.0147153633, 0.0305706449, 0.0649049282, -0.0255853552, -0.0026527757, -0.0337872356, -0.0073515405, -0.0053676851, -0.0510703065, -0.05378801, -0.056234546, 0.053990528, -0.0216734391, -0.0031318762, -0.0554110743, 0.0153478058, 0.0069249286, -0.0078261914, 0.0525005944, -0.0133092841, 0.0185777936, 0.0455742888, 0.0139768785, -0.0142742023, 0.0123007111, 0.095652923, 0.0702724084, 0.0201200172, 0.0053154812, 0.0737103, 0.0318924189, -0.0728520378, 0.0103276419, -0.0289874282, -0.0271929037, -0.0288302545, 0.0647054687, 0.0116660753, 0.065238066, -0.0008818368, 0.0244228207, 0.0944432765, 0.051955577, 0.0300630443, 0.0398768596, 0.1123985946, 0.0142016169, 0.0098598227, 0.0147501044, -0.0006239846, 0.0537869856, 0.0416578762, 0.002371686, -0.030645581, 0.0088794651, -0.0003943213, -0.0170373488, 0.0093540149, 0.0048462725, -0.0317439027, -0.0408383347, -0.0020794591, 0.0190541856, -0.0717957765, -0.0421162322, 0.0154709499, -0.0695471168, 0.0797698051, -0.0153040374, 0.0397554785, 0.1370723844, 0.0657700673, -0.0296567678, -0.0100685162, -0.0265223254, -0.0163734984, 0.0323294774, -0.0009888021, -0.0483516045, 0.0064219167, -0.0256163981, 0.0310186353, -0.0244573429, 0.0131419795, 0.046971526, -0.05790646, -0.0034440302, -0.0211955104, 0.0143397041, -0.0618556999, 0.0318521075, -0.0434698947, -0.035632655, -0.0112691643, -0.0072809206, -0.0038852657, -0.0088542886, -0.0765027255, -0.0076105758, 0.0221621916, -0.0391020067, -0.0494313128, 0.0546967275, -0.0244202539, -0.0026789901, 0.0044784304, -0.0573259071, -0.0021157626, 0.0152680445, -0.0074880412, -0.0455320328, 0.008958987, -0.04162376, -0.0119525744, -0.0483711883, 0.0304687656, -0.0047978614, -0.0014866876, -0.035675019, 0.0463871732, 0.010481691, -0.004940466, 0.0228969753, 0.0244232081, -0.0042928024, -0.0234405957, 0.0249748994, 0.0216264911, 0.0489400104, 0.0191833135, 0.0423203409, 0.0041810879, -0.0068313736, -0.0697625875, -0.0491151214, -0.0200371873, 0.0016079361, -0.0206677765, 0.0380779505, -0.0083175981, -0.041175317, 0.008098769, -0.0182416718, -0.0315473936, 0.0292717647, -0.0499453694, 0.0384462513, 0.0062586172, 0.0061420458, -0.0092762867, 0.0194207672, -0.015303202, 0.0484372303, 0.0793553218, 0.0010152146, -0.031413395, 0.0219663624, 0.0159679987, -0.000924352, -0.0155674042, -0.0126901362, -0.0073019383, -0.0111951344, 0.0242113415, 0.0578529313, 0.0277946051, 0.0151207754, 0.0897083804, -0.0257974025, 0.0021437816, 0.0119773829, 0.0249301977, 0.0123981321, -0.0450238474, -0.0386257544, 0.0286258832, 0.0309388731, 0.0372208171, 0.0238566138, -0.057616815, 0.0723967478, 0.0147535568, -0.0344651192, 0.0291879848, -0.049668178, -0.0336244665, 0.0513658151, -0.0264032688, -0.0293724872, 0.0553738475, -0.0497401506, -0.0249571428, -0.0038105231, 0.0053933049, -0.0478233173, 0.0878060609, 0.0262154676, 0.0466347747, -0.0181393698, 0.0050794911, -0.0553930178, 0.0029744587, 0.0707028583, -0.0103511885, 0.0072267549, -0.0338692963, 0.0034354159, -0.0155829703, -0.0032147001, -0.0362629965, -0.0194926485, -0.0265579801, 0.0041899728, 0.055716835, -0.0440986603, -0.0120871998, 0.0354141667, 0.0071908804, 0.0561398007, 0.0118603567, -0.0355734341, -0.0198140964, 0.0295832995, 0.0563725233, -0.0305564888, -0.0626193583, -0.0109987389, 0.0852596909, -0.0005389821, -0.0711659119, 0.0091955382, -0.032387767, 0.0358292684, 0.015707707, -0.0246111564, 0.0123934979, -0.0152340839, 0.0317642167, -0.0722571537, -0.0157374498, 0.1263832897, 0.0294620991, -0.0421847999, 0.000310983, -0.0236719921, 0.0029829789, 0.0322906561, 0.0361527056, -0.0418595523, 0.0101423599, -0.0002059126, -0.0006575552, -0.0019320593, -0.0386197157, -0.0362627916, -0.0967737585, 0.1137517393, 0.0095094657, 0.0099063003, -0.002154704, -0.0080635557, -0.0066665011, -0.0072250003, -0.0542998798, 0.0042897565, -0.0062874486, -0.007800654, -0.0460123643, -0.0059463144, -0.0142582534, 0.0224157572, -0.0533047728, 0.0530784465, 0.0730338022, 0.0808695629, -0.0182470717, 0.0114139058, -0.0471957847, 0.0080801025, 0.0104448693, -0.0069960267, 0.0339650102, -0.0296953414, -0.0173016414, -0.0179800559, 0.0444855131, 0.0365626179, -0.0512175635, 0.0096068894, 0.056258712, -0.0387777723, -0.0505785085, -0.0157583952, 0.0357322097, 0.0076307273, 0.0449259244, 0.0241617579, -0.0838523954, -0.0294310879, -0.0215515457, -0.0035322327, -0.0709828958, -0.0605740137, -0.0233602803, -0.023049619, 0.0056636161, -0.0658466071, -0.0187154151, 0.0293542948, 0.0590441823, 0.0365727171, -0.0054552965, -0.0365980007, -0.0190021899, -0.0382845327, -0.0323682688, -0.0073595745, 0.0009039671, -0.0123889353, -0.0326947309, 0.00636, -0.0671302527, -0.0101469625, 0.0015176235, -0.042102512, -0.0767505616, -0.0080067432, 0.0447255261, 0.0201601721, 0.0267145429, 0.0163190048, -0.0707349032, 0.0479819067, 0.0025353506, 0.0024927638, 0.0433760025, -0.0321043245, 0.0304840766, -0.0324214473, 0.0321222246, -0.032931447, 0.0183786247, 0.0051501333, 0.0352942348, -0.003056278, -0.0415507816, 0.0181786958, 0.0191213246, -0.0454291478, -0.0668258891, 0.0267154612, -0.0790519267, -0.0365607552, -0.0385727398, -0.03471696, -0.0526329838, 0.014535469, 0.0286219921, -0.0191500485, -0.0207144767, 0.0312025957, -0.062270768, -0.0105416179, -0.0264780205, -0.0064261407, 0.0352285169, -0.0009133267, 0.0434484109, 0.0162251908, -0.0044796267, 0.0368036777, -0.0554156229, 0.0336031988, 0.0146061238, 0.024478782, 0.0166419595, -0.0222523119, 0.0036617487, 0.0343958959, -0.032143347, -0.042601455, -0.0110362824, 0.0515064187, 0.0907968581, -0.0268507339, 0.0342340767, -0.0662018806, 0.0184010696, -0.0179222506, 0.0251528472, 0.031623628, -0.0577898882, -0.0208295472, 0.0252175238, -0.0175375845, 0.0258204304, 0.0699735582, 0.0010604716, 0.0311319437, 0.0331771895, -0.0414870456, -0.0234753527, -0.0199350491, 0.0100259176, -0.0054756831, 0.0059658024, 0.0255766883, -0.0605104528, -0.0272701364, 0.0496551394, -0.0061473711, 0.0314147994, -0.0316816978, 0.0102372803, 0.0251020566, 0.0069672312, 0.0446571037, -0.0466313846, 0.0033930168, -0.0294371508, -0.0138107622, -0.0460045226, -5.0645208e-33, -0.0418298766, -0.0424452089, 0.0016047382, 0.0192194805, -0.0476799682, -0.0088856863, -0.0241817553, -0.0052402024, 0.052078668, 0.0443700142, 0.0049703736, -0.0087446189, -0.0099476893, -0.0031665945, 0.0122973602, -0.0021388372, 0.0630827919, 0.0265956447, -0.0649794117, 0.0090490021, 0.02327732, 0.0256868266, 0.0088677611, -0.0232148338, -0.028338246, -0.068269074, -0.048541978, 0.0078778537, 0.0162901338, 0.0193082578, 0.0100900671, 0.0383088402, 0.0252288133, -0.0108823795, -0.0055627595, 0.0154642127, -0.0042204596, -0.0093520619, 0.0175991151, -0.0022275818, -0.0010110468, -0.0395235047, 0.0088587906, -0.0294726659, 0.0048778234, -0.024380384, 0.0569344871, -0.0186431017, 0.0255578179, -0.0127001423, -0.112962082, -0.0074784206, -0.0416212343, -0.0613503382, 0.0050689862, 0.0027727985, 0.0238869432, -0.0202914309, -0.0590541549, 0.0246697273, -0.0213528089, 0.0463363715, 0.0374152139, 0.0276113022, -0.0085544651, 0.0758643597, -0.0063205869, 0.0164203085, -0.0676182285, 0.0125323934, -0.0285219736, 0.0392971598, 0.0109639913, 0.0641038045, 0.0019252864, -0.0086052539, -0.0284537543, 0.0425748117, -0.0437193699, 0.0317248181, 0.0423834845, 0.0381876938, 0.0206144638, -0.0338916481, -0.0331434235, -0.0284121856, -0.0127302222, -0.0414788313, -0.002002426, -0.0124014411, -0.001229512, -0.0089731775, 0.015046725, -0.0329582691, 0.0429008156, 0.0043415488, -0.0789248124, 0.0765526369, -0.0043384056, 0.0187168475, 0.0302561186, -0.006133717, 0.0405065343, 0.0328119956, 0.0461451113, 0.0338185318, 0.0049194163, 0.0596439317, -0.0306426324, -0.0108319558, -0.02981125, 0.025043115, 0.0038833697, 0.0194007065, -0.0152857853, -0.0137890568, -0.0289818048, -0.0115705384, 0.0054311585, -0.014823555, 0.0023497038, 0.0157658663, -0.0330287814, -0.000704871, -0.0540353209, 0.0563766286, -0.0142741818, -0.0186653808, 0.0464897975, -0.0393326581, -0.0112054842, -0.0330261812, 2.507e-7, -0.0009305024, 0.0220329594, 0.0232541058, 0.021902265, 0.0187470969, 0.0416229293, -0.0341356993, 0.0359090827, 0.017313337, -0.0146805579, 0.0390331522, 0.0195831042, 0.015768962, 0.0170125905, -0.0907647088, 0.0227740761, -0.0773471743, -0.0332843103, -0.0671092421, -0.0237276424, 0.0422195084, -0.0055399295, 0.0430058651, -0.0434146337, 0.0018617598, -0.0845282599, 0.0696441457, -0.0101051712, -0.0258610807, 0.0348254368, 0.0279469714, -0.0115422793, -0.0209756903, 0.0030281586, -0.0141115319, -0.0031370039, 0.0106060077, 0.0386415236, -0.0533614829, 0.0362581536, 0.0230167173, 0.0081297355, -0.0106170531, -0.0208100006, 0.0400086939, -0.0102645112, -0.0315675065, -0.0564371943, 0.0017755496, 0.0045222337, -0.0025146836, -0.053556893, -0.018580677, 0.0162624735, 0.0227112249, 0.0203929376, -0.0011669961, -0.0393818431, -0.0277997572, -0.008302927, -0.0280372649, 0.0050098202, -0.0111742038, -0.009708738, 0.0194017496, -0.0640428811, 0.0275312103, 2.221912993e-34, 0.0307737887, 0.0170301273, -0.0130420756, 0.009130328, 0.048929397, 0.0318675786, 0.0229735896, 0.0205700751, 0.0122186635, -0.0274268892, -0.0385637209 ]
http://arxiv.org/abs/2406.11682v1
http://arxiv.org/pdf/2406.11682v1
Knowledge-to-Jailbreak: One Knowledge Point Worth One Attack
2024-06-17T15:59:59
2024-06-17T15:59:59
Shangqing Tu, Zhuoran Pan, Wenxuan Wang, Zhexin Zhang, Yuliang Sun, Jifan Yu, Hongning Wang, Lei Hou, Juanzi Li
cs.CL
cs.CL, cs.AI, cs.CR
Large language models (LLMs) have been increasingly applied to various domains, which triggers increasing concerns about LLMs' safety on specialized domains, e.g. medicine. However, testing the domain-specific safety of LLMs is challenging due to the lack of domain knowledge-driven attacks in existing benchmarks. To bridge this gap, we propose a new task, knowledge-to-jailbreak, which aims to generate jailbreaks from domain knowledge to evaluate the safety of LLMs when applied to those domains. We collect a large-scale dataset with 12,974 knowledge-jailbreak pairs and fine-tune a large language model as jailbreak-generator, to produce domain knowledge-specific jailbreaks. Experiments on 13 domains and 8 target LLMs demonstrate the effectiveness of jailbreak-generator in generating jailbreaks that are both relevant to the given knowledge and harmful to the target LLMs. We also apply our method to an out-of-domain knowledge base, showing that jailbreak-generator can generate jailbreaks that are comparable in harmfulness to those crafted by human experts. Data and code: https://github.com/THU-KEG/Knowledge-to-Jailbreak/.
[ 0.0303198602, 0.083071433, -0.0198343322, 0.0486605316, -0.0370102637, -0.023297213, 0.0281888451, 0.01137463, 0.0500799455, -0.0092555908, -0.0017038984, 0.0023054723, 0.0180771109, 0.0268593449, 0.0562619306, 0.0127242627, 0.0493614748, -0.0513634942, -0.0144713363, 0.0120850299, 0.0087309098, -0.000578525, 0.0169265233, 0.0276341345, 0.0127996402, -0.0208903141, -0.0012311984, 0.0005644257, 0.0323699489, -0.0377093144, 0.0057108304, 0.0315766148, -0.0237647779, 0.0329310261, 0.0000021653, -0.0089555485, -0.0190543849, 0.0494239628, -0.023636803, 0.0385933109, -0.0082352329, -0.0746169761, -0.0139328679, -0.0092905406, -0.027623767, 0.0036861422, 0.0179088246, 0.0172226056, 0.0704089925, 0.0757112131, 0.0119820246, 0.0128430547, 0.0379616283, -0.0114665302, 0.0286569726, -0.0527005531, 0.0120393392, -0.0046338867, -0.0001985972, 0.0145859886, 0.0170230083, -0.0032527412, -0.0002405825, -0.0012632466, -0.0529505126, -0.0218338855, -0.0321987532, -0.0051750038, 0.0055757025, 0.035450384, -0.0327698439, -0.0277466774, 0.0333545767, 0.01980903, 0.0089551657, 0.029288169, 0.0209670719, 0.0280629303, -0.0153381517, -0.0338323563, 0.0300151594, -0.0109994495, 0.0825344026, -0.0137046939, -0.0089137089, 0.0533708893, -0.0031823821, -0.0245089922, 0.0152334217, -0.071818158, -0.0257352311, -0.0487098321, -0.0214772113, -0.0111915246, 0.0185814444, 0.0160755515, -0.0617845692, -0.0237291157, 0.0723118559, -0.0463605002, -0.0357730649, 0.0026755859, 0.0071104048, 0.0154352617, 0.0070643974, -0.0004241646, -0.0092903832, 0.0055904877, -0.0129897492, 0.0037219818, -0.0269235391, -0.013641132, 0.0150979245, 0.0347151197, 0.0011991254, 0.034614902, -0.0418837517, 0.0057334746, -0.0543188117, 0.0479947366, -0.0272083543, -0.0017723987, 0.0011177174, 0.0061824378, 0.050219059, -0.0232781116, -0.0206633788, 0.0021623562, 0.0124308234, -0.0429470688, -0.0127263917, -0.00622604, -0.0935839489, -0.0103756329, -0.0054887924, 0.1383209229, 0.0423792303, 0.0055457302, -0.0894684419, -0.1157452911, -0.0332312062, -0.0301215015, 0.0085228384, -0.1069521531, -0.0243676528, -0.0092154369, 0.0118916044, -0.1082053408, 0.0032381981, -0.0303713288, -0.0700551644, 0.0470649339, -0.0301973969, -0.0133930743, 0.0129393814, 0.0753768906, 0.0046780892, 0.0591643304, -0.0133192139, 0.0343032815, 0.0341543928, -0.0158148706, 0.0199424736, 0.0398285948, 0.0148454504, 0.0277368184, 0.001856965, 0.0050226455, 0.0640428737, 0.0045278501, -0.0300596282, 0.0211757906, -0.013161472, -0.0222346634, 0.0566342659, 0.0371457636, -0.0068379105, 0.0438041985, 0.009655782, -0.0391420275, 0.0258896518, -0.0293828081, -0.0562052876, -0.0159807578, -0.0842913464, -0.0176528245, -0.0395921208, 0.027470706, -0.0007984923, 0.0220591091, 0.0105032949, -0.0175769422, -0.036640767, -0.0066252318, 0.0130330361, 0.0279972833, 0.000863804, 0.0855970457, 0.0418215916, -0.0314517766, -0.0452803075, -0.0493835509, -0.0266859066, 0.0449933074, 0.0598878227, -0.027345771, -0.027623428, 0.0030757221, -0.0088348268, 0.0133460956, -0.0045059579, -0.0143322293, 0.0224370975, 0.0076655066, 0.0092416098, -0.038463477, 0.0478204787, 0.0156852826, 0.0207700506, 0.0255523007, 0.0089404918, -0.0765049532, -0.0275437441, 0.0073816855, -0.0494678579, 0.0205879305, 0.0290040541, 0.0122139985, 0.0018437434, 0.0122206444, -0.0418185927, 0.0234379936, 0.0649673268, -0.0256571732, 0.0358006395, 0.0019700709, 0.0017437738, -0.0103350114, 0.0283688903, -0.0689333975, 0.0069314996, 0.0447645523, -0.0382911786, 0.0061610905, 0.0666795596, -0.0062882402, 0.03973414, 0.0375168882, 0.0346385501, 0.0001046782, -0.0053847115, -0.020690389, 0.0086524738, -0.0268004611, 0.0059607667, -0.0287173223, 0.0018802192, 0.0065610665, 0.0423959754, -0.0542092621, -0.0135755073, -0.0533165894, 0.0375914276, -0.0037452581, 0.0002836514, -0.0102833994, -0.0303495377, -0.0497903079, -0.0203492548, -0.0111003462, 0.0374487713, 0.0387628637, 0.0356793106, -0.0064237183, -0.0174046401, 0.0063881618, -0.0114681078, -0.0165578313, 0.0086279381, -0.0149544133, 0.0165824667, -0.0381032489, -0.0161697473, 0.0009941243, -0.0108554401, 0.0693830699, -0.0345225073, 0.0193325542, -0.0176218376, 0.0260586012, -0.0149447164, 0.0049027521, -0.0322233588, -0.0380185023, 0.0177954845, -0.0013891151, -0.0154076358, 0.0277410168, -0.0114316829, 0.0296290684, 0.0748100281, -0.0100579476, -0.0125299348, -0.0367971621, 0.0528491363, -0.0393835306, -0.0254479293, -0.082638815, 0.0364334956, 0.0783334002, 0.0279111564, -0.0052938513, -0.0151657164, 0.0203176215, -0.0276382789, -0.0296332575, 0.0015383578, -0.0104386378, -0.0105016334, 0.0126264505, -0.0107751526, -0.0579073392, 0.0535719432, -0.0444723666, 0.0597026646, -0.0302776452, -0.0382004417, -0.0151515426, 0.0313015059, -0.032852035, 0.029610889, 0.0791426972, 0.007180647, -0.0208498109, -0.0117038768, 0.0169572476, -0.0098012956, 0.0723582208, -0.0765960068, -0.0012587666, 0.0039030819, -0.0401928872, -0.0349921137, -0.0178804342, -0.0133903865, -0.0218370147, 0.068089895, -0.0428013615, 0.0075865779, -0.0238554757, 0.0306086447, 0.0019074237, 0.0307448208, -0.0237777773, 0.0071563865, 0.0117605533, 0.005107807, -0.089950718, -0.0031021833, -0.0011900011, 0.0377674922, 0.0845626295, 0.0551089682, 0.0240525547, -0.0233800337, 0.0143168932, -0.010417725, -0.0129491752, -0.0200236104, 0.0280756615, 0.0265740473, -0.0501516685, -0.0278613381, 0.0533418991, 0.0216589887, -0.0020313205, 0.043896731, 0.0165847652, -0.0034850403, 0.0171937514, 0.0466418341, -0.1037147269, -0.0286981203, -0.0025240865, 0.061543826, -0.0214356519, -0.0511554964, -0.0178196523, -0.0798287466, -0.0041066371, 0.0388923436, -0.010674878, -0.0218757018, -0.0521182977, -0.0432982631, 0.0148491561, -0.0152138313, -0.0077772918, -0.0044339914, -0.0147124985, -0.0121344645, -0.068459928, -0.0430561714, 0.0447361469, -0.0158450846, 0.0627704337, 0.0907736644, -0.0151045518, -0.0439959466, 0.0430933312, 0.0136046689, 0.0093699805, -0.0074636107, -0.0044798316, 0.0319893733, 0.0477073118, -0.0098339329, 0.0297320802, 0.0425116494, -0.047404144, -0.0466039591, 0.0566329062, 0.0525781736, -0.0010666428, -0.0435770154, -0.0257726144, -0.0130392928, 0.0156280901, 0.039316006, 0.0216721389, -0.0118635893, -0.0369389802, -0.0657249689, -0.0291355662, -0.0449245982, -0.0359206237, 0.0307323933, 0.0199306179, -0.0121996114, -0.0508321747, 0.0295112114, -0.0035324404, 0.0308045186, 0.053795401, 0.008409678, -0.028911382, 0.0174725167, -0.0539604798, -0.0078823054, 0.0161258001, 0.0440834127, -0.0543497242, 0.0098965941, 0.0087790042, 0.0053767655, -0.0056472518, 0.0355820805, -0.0546183437, -0.0858923569, 0.0153830191, 0.0681719556, 0.0217755307, 0.0023216854, -0.0410337523, -0.0393584743, 0.0753656849, 0.0917425901, -0.0807356089, 0.0047421134, 0.0461541377, -0.0419770479, 0.0176944118, 0.0185705032, -0.0477626882, -0.0164127592, 0.0695615411, -0.0129637579, -0.048184894, 0.0285369121, 0.0134374108, 0.0362088457, 0.0055079097, -0.0002980757, 0.0179034602, 0.0448054448, 0.0156288017, 0.0102730282, -0.0429131947, 0.0066011171, -0.0049563083, 0.0185116306, -0.0274760835, 0.0482671261, 0.0452481434, 0.0221811552, -0.0135659054, -0.0013602076, 0.0288244579, 0.0480763912, 0.0747969374, 0.0997471958, 0.0030549658, 0.00416773, 0.019100396, -0.0477788225, 0.0543723293, -0.0277364962, 0.0309899822, -0.0178292003, 0.0039205649, 0.0021736687, 0.0357681848, -0.0359527282, -0.0599256121, 0.000927972, 0.0640127659, -0.0074059721, 0.0235175528, 0.0163353607, -0.0345912464, 0.0221896097, -0.0559046455, -0.0138229271, -0.0356623419, -0.0228574574, 0.0195059236, 0.007438038, -0.0116244564, 0.0071080071, 0.1258763373, 0.0391914286, 0.0825932175, 0.027840782, -0.0370916687, -0.0521916933, -0.0104548568, 0.0624117479, 0.0031773602, -0.0643727034, -0.042252887, -0.0841047242, -0.0825358033, -0.0154345501, -0.0113716247, 0.0290125012, 0.0406037122, -0.0377147049, 0.0657710582, 0.0245348476, 0.0231740829, -0.0664678663, 0.0454338193, -0.0203787256, -0.0767924786, 0.0461366512, -5.988609602e-33, 0.0429649279, -0.0233994387, -0.0562098511, -0.0330185033, 0.0149833411, 0.0077744373, -0.0438448973, 0.019435063, -0.0147057585, -0.0072837304, 0.0016211105, -0.0081615495, -0.0097064683, -0.0076650991, -0.0087698698, -0.0057506287, -0.0024149946, 0.0361655541, -0.0204992574, 0.0549044721, 0.0406545699, 0.0355075225, 0.0266343374, -0.0425209701, 0.0399602689, -0.0254979301, -0.0045750127, 0.0166516621, -0.0290491637, 0.0463990867, 0.0231609847, 0.0275986344, -0.0068180352, -0.0437071435, -0.002368141, -0.0332806781, -0.0087044276, 0.017441351, 0.0129842833, -0.0250924062, 0.0098272217, -0.0754445195, 0.0301854461, 0.0228096507, 0.0181237869, -0.0308221895, -0.0070181228, -0.0238170605, -0.0044384534, -0.0416179858, -0.0053106165, 0.0123204626, -0.0516461097, 0.0021580036, -0.0273707379, -0.0350754261, 0.007490532, -0.0129834721, -0.0220858045, 0.0499492101, 0.0614961311, 0.0191403143, 0.054121051, -0.0341756679, -0.0191318914, 0.0498602353, -0.0474579148, -0.0020719136, 0.0509573705, 0.0297899004, -0.0086124977, 0.0959641561, 0.0433520228, 0.0814814717, 0.0499694385, -0.0349216834, -0.0900887251, 0.0062093227, -0.0323003344, 0.0167132597, 0.0086886268, -0.0163642522, -0.0349419899, -0.0156334117, -0.0027546964, 0.0132303257, -0.0154323615, -0.0541774146, 0.0035013151, -0.0149848731, -0.0322368294, -0.0181430504, -0.0124637885, -0.0798247755, 0.0272578094, 0.0210567843, -0.0153965699, -0.00886444, -0.0212746747, 0.0133170476, -0.0310103409, 0.0078525236, -0.0083969673, -0.0323238373, 0.0591258779, 0.0033915008, 0.0384754576, -0.0035803847, -0.0544079877, -0.0151726836, -0.0221470445, 0.0316372812, 0.0173838921, 0.010880339, 0.0050285575, -0.0052113086, 0.0058682053, -0.0408317931, 0.0430010855, -0.0146753769, -0.0376857705, 0.0396934822, -0.0237563811, 0.0184098352, -0.0166160762, -0.0306146815, -0.002825768, 0.0010210352, 0.0492655449, -0.0410245284, -0.0201596245, -0.0084411232, 2.915e-7, -0.0009805127, -0.0111540705, -0.0043077287, -0.0046626236, 0.0101235844, 0.0641395524, -0.0362849571, 0.0576063544, -0.0277120713, -0.059799321, -0.054132767, -0.0241474696, 0.0685443357, 0.0527491868, -0.0565352328, 0.0316028707, -0.0176034756, -0.0301280394, -0.0637931898, -0.0335192233, -0.0148131363, 0.0413591191, -0.0067128576, -0.0500739105, 0.0041551651, -0.0315897167, -0.01528004, -0.0026807711, 0.0096437205, 0.0354873165, 0.0017402775, 0.0374695323, 0.0001159365, 0.0479063615, -0.0531412773, -0.0492347963, -0.0481546596, 0.0381949432, 0.0323504359, 0.0317090675, -0.0232986994, -0.0531207621, 0.0053210501, -0.0407911986, 0.0591957346, 0.0018972858, -0.0263921078, -0.0002641705, 0.0123455608, -0.0357842892, -0.0137150018, -0.0275264103, 0.0163320284, -0.0079691373, 0.015572587, 0.0294477455, 0.0200629905, -0.0363144316, -0.0184522569, 0.0506823808, -0.023719212, -0.0439648293, 0.0050212741, 0.017228391, 0.0225728825, -0.0612835027, 0.0362523086, 2.84591843e-34, -0.012859269, -0.0228308775, -0.005618725, -0.0032911366, 0.0390798636, -0.0210423041, 0.001092682, 0.0094789369, -0.0306427255, -0.0234348457, -0.0053575537 ]
http://arxiv.org/abs/2406.11681v1
http://arxiv.org/pdf/2406.11681v1
R-Eval: A Unified Toolkit for Evaluating Domain Knowledge of Retrieval Augmented Large Language Models
2024-06-17T15:59:49
2024-06-17T15:59:49
Shangqing Tu, Yuanchun Wang, Jifan Yu, Yuyang Xie, Yaran Shi, Xiaozhi Wang, Jing Zhang, Lei Hou, Juanzi Li
cs.CL
cs.CL, cs.AI
Large language models have achieved remarkable success on general NLP tasks, but they may fall short for domain-specific problems. Recently, various Retrieval-Augmented Large Language Models (RALLMs) are proposed to address this shortcoming. However, existing evaluation tools only provide a few baselines and evaluate them on various domains without mining the depth of domain knowledge. In this paper, we address the challenges of evaluating RALLMs by introducing the R-Eval toolkit, a Python toolkit designed to streamline the evaluation of different RAG workflows in conjunction with LLMs. Our toolkit, which supports popular built-in RAG workflows and allows for the incorporation of customized testing data on the specific domain, is designed to be user-friendly, modular, and extensible. We conduct an evaluation of 21 RALLMs across three task levels and two representative domains, revealing significant variations in the effectiveness of RALLMs across different tasks and domains. Our analysis emphasizes the importance of considering both task and domain requirements when choosing a RAG workflow and LLM combination. We are committed to continuously maintaining our platform at https://github.com/THU-KEG/R-Eval to facilitate both the industry and the researchers.
[ 0.0491215624, 0.0083862348, 0.0013005189, 0.0300740134, -0.0360102914, 0.0019987943, -0.0014429919, 0.0139085595, 0.0185200479, -0.0542525426, -0.0514325052, -0.012706588, -0.0238723755, 0.0435277224, -0.0075776852, 0.0166956373, 0.0369200818, -0.0097634373, -0.0206724405, 0.0470236018, 0.005529284, 0.0148833739, 0.0172085091, 0.0435386673, 0.0208057817, -0.0267596748, 0.0212626085, 0.0194373596, 0.0192181226, -0.0190779716, 0.0419961736, 0.0402894877, 0.033422213, 0.038469065, 0.0000017676, -0.0654033422, -0.0333814174, 0.030436093, -0.0082162097, 0.0206510164, 0.0822504237, 0.022507675, 0.0415903628, 0.0283656865, -0.0224608164, -0.0428330302, 0.0002174816, 0.0473783277, 0.0334017016, 0.0628510788, 0.00339794, -0.0103871096, 0.0077607627, -0.0465644933, 0.0138974227, -0.0650193468, 0.0499589406, 0.0267590303, 0.0329787135, 0.0269134436, 0.0101556461, 0.0542610362, -0.0170754883, 0.0026054031, 0.0261501856, -0.0047240914, -0.0339193605, -0.0256086066, -0.0065056719, 0.0411923304, 0.035213206, -0.0195561424, 0.0080049252, 0.0357059799, -0.0035084567, 0.0568449125, -0.0451581553, 0.0266819187, -0.0022183601, 0.0028091457, -0.0347941853, 0.007691246, 0.0271351226, 0.0447084643, 0.003807486, 0.0762615427, 0.034091875, -0.0355151258, 0.0022508358, -0.0032108466, 0.0009630668, -0.0148102986, 0.0067769582, -0.0026160451, -0.0313135087, 0.010832075, 0.0310781486, -0.0337868109, 0.0730571598, -0.0053522368, 0.0252066702, -0.0195630901, -0.0272145979, 0.0577377938, -0.0265732892, 0.0570904687, -0.0186374336, -0.0307832249, -0.0197202917, -0.0281522851, -0.0434840471, -0.0365025625, -0.0088271983, 0.0009914177, -0.0515810326, -0.0355553962, -0.0304279607, 0.0089051742, -0.0165640432, -0.0112746432, 0.0261348914, 0.0127610546, -0.0366510227, 0.0063758232, -0.0463433117, 0.0428127497, -0.0078695714, -0.0020085215, 0.0053522051, -0.0307143591, -0.0039917212, 0.00525301, 0.0052678329, -0.0459420793, 0.039876014, 0.0368730165, 0.0370462574, -0.0452514142, 0.0058976277, -0.0311238114, -0.0110123279, -0.0754981712, 0.0046215244, -0.0787766203, -0.0128969969, 0.0298125409, 0.0169596858, -0.043472562, 0.0072258539, 0.0502807796, -0.0263985135, 0.0460649766, 0.0269640312, 0.0230901446, 0.0245349966, 0.0176404882, 0.0255619697, 0.0538493581, -0.0388972312, 0.0439715497, 0.0546216294, -0.0088484921, 0.0190200526, 0.0213175286, 0.0007990549, 0.0087139513, -0.0093986532, 0.0519195609, -0.0058523999, 0.015953552, 0.0291460026, 0.0434345864, -0.0212948266, 0.0045589334, 0.0061911489, 0.0535629168, 0.0440356843, -0.0162060354, 0.0239273198, 0.042978067, 0.0110376738, -0.0617389791, -0.0138218766, 0.0179011989, -0.0464194641, 0.0256704111, 0.0340085849, 0.0502319932, -0.0066791144, -0.0187698305, -0.0522155501, 0.0203858651, -0.0019862861, 0.0203811936, 0.0719218105, 0.0010489207, -0.032847181, 0.0288998969, 0.021425344, -0.0468911678, 0.0084151402, -0.0493735783, 0.0267307032, 0.035076607, 0.0910244435, -0.0600060299, 0.0017970314, -0.0015507182, 0.0071993526, 0.0424827375, 0.0212059226, -0.0052702017, -0.0136070531, -0.0314876549, -0.0360840857, 0.0002257793, 0.0139746396, 0.0016613856, 0.0675800443, -0.0237457361, 0.03015057, -0.0451291129, -0.0314621516, 0.0327292718, -0.0233098492, -0.0287001971, -0.0076843677, -0.0128011247, 0.0068421466, -0.0021541517, -0.0248605609, 0.0343952551, 0.0507021174, -0.0165903084, -0.0208535399, -0.0529177897, 0.0206180215, -0.015116876, 0.0245737731, 0.0048813568, 0.0156742632, 0.0568310246, -0.0155308349, 0.0069264392, -0.0081398506, 0.0058465819, 0.0046553025, -0.0646333247, 0.0271986313, -0.0078636007, 0.0075831073, -0.0964524075, 0.0544481091, 0.0398130938, 0.0425893478, 0.0064258925, 0.0051559983, -0.012259772, -0.0236749258, -0.0563144833, -0.0206753798, -0.0358286835, 0.0416581221, 0.060433466, 0.0183527973, -0.0727135241, -0.0111109652, -0.0807829201, 0.0493374132, -0.0121641979, 0.0019067653, -0.0078221625, 0.0190087296, -0.0236948021, -0.0053748637, -0.0065125362, -0.0393782556, 0.0369907729, 0.0296269171, 0.0093113128, -0.0047544972, 0.0003690013, -0.0244720411, -0.0336659513, 0.0255967621, 0.0746480301, -0.0086588655, 0.0120008355, -0.0354916789, 0.0578682311, -0.035307195, -0.0119206933, -0.0063260701, 0.0086707855, -0.0195759051, -0.0252196062, 0.0419607498, 0.0125204446, -0.0229093283, 0.0083400253, 0.0244214442, -0.0442660972, -0.0809811503, 0.0053160945, -0.0067236358, -0.0585542545, -0.0005789955, -0.0199211612, 0.0176545717, 0.0193771031, -0.0084288381, -0.010591411, -0.0203453172, 0.0025677537, -0.034604758, -0.0153211141, -0.0574713871, 0.0037057931, -0.0103810057, 0.0378461815, -0.0313056782, -0.0586195812, 0.055586379, -0.0342193097, -0.0379398353, -0.0689800978, -0.0132345129, -0.0742132887, 0.0720564649, -0.0323375985, -0.0044165957, -0.0414851084, -0.0155970082, 0.0007140666, -0.0039559784, -0.0169033073, -0.0805016607, 0.0903506204, 0.0027663647, 0.0316403061, -0.0024082146, -0.0190880913, -0.0404965505, -0.0276278388, -0.0186751094, 0.0100048399, -0.024477642, -0.0160968341, -0.0492683016, 0.0144092273, 0.0531483516, -0.0184702855, -0.0212399028, -0.0185718536, 0.0046991487, 0.0313802585, 0.078558892, -0.0165423062, -0.0059717661, 0.008488954, 0.0149048483, 0.0348189548, 0.0231484864, 0.0085273562, -0.0254286844, -0.011973653, 0.0516194627, -0.0349743515, 0.0379903987, 0.0159275122, 0.0166442059, -0.0613571405, -0.0261351876, 0.0699932724, 0.0298981387, -0.0479652286, -0.0456872247, -0.049476631, 0.0456613377, 0.0445784442, 0.0490428619, -0.0369859785, -0.0339890644, 0.0202363301, 0.0219321903, 0.0182308201, 0.0023060166, 0.027831018, -0.1272967607, 0.0479182489, -0.0204146188, 0.0135221565, -0.0437200256, -0.0493095517, 0.0279212203, 0.0063868607, 0.0308344085, 0.0533825345, -0.0713657141, -0.0164069273, 0.0167249646, -0.000698609, -0.0565652288, 0.0567057431, -0.0663842559, 0.012977683, 0.0943628773, 0.0009546771, -0.0030810372, -0.0198583491, 0.019314466, 0.0043811216, -0.0025910113, -0.0268455986, 0.0391548686, 0.0112996111, -0.0053207679, -0.0451506525, -0.0168637391, -0.0359900631, -0.0124697201, 0.0149107901, 0.0615406819, -0.0219520256, 0.0045540589, -0.0396855883, -0.0244746897, -0.016364092, 0.1029961854, 0.0199774113, 0.0003372942, -0.0268297978, 0.0120506315, -0.0039082235, -0.0072658304, -0.0777788237, 0.0101736374, -0.0174411833, 0.0134803439, -0.0568294786, -0.0253731944, 0.0463636965, -0.0119394464, -0.0012909368, 0.0419659652, -0.0631468073, 0.0203558598, -0.0793475881, 0.0679002702, -0.0561181419, 0.0388688892, -0.0577946976, 0.0287046935, 0.0813337713, -0.0362015627, -0.0289498232, 0.0322381705, -0.0809368715, -0.03770395, -0.0136741521, 0.0002688548, 0.020685751, -0.0077419188, -0.0267242324, -0.0531654842, 0.0605247058, 0.0108114211, -0.0620073341, 0.0005984289, -0.0162356962, -0.0188176502, -0.0409060158, 0.0213027596, -0.0767819583, 0.0074534183, -0.0007519177, 0.1000403091, 0.0307031963, -0.0476729721, 0.0189716481, 0.007941368, 0.0851831436, 0.0131687988, -0.0533440374, -0.0376559496, -0.0318248011, -0.0432702936, -0.0204176139, -0.0160100814, 0.0228432138, 0.0142894927, -0.0131233018, -0.0017207511, 0.0360437594, -0.0195135437, 0.0719458908, -0.0356449708, 0.0207710601, -0.0054365573, -0.0169651099, 0.0279901493, 0.0150303524, -0.0317152515, 0.0035335806, -0.0171302315, 0.0330402441, -0.0071402369, 0.0364672616, -0.0090319384, -0.0280426592, -0.0186563581, 0.0154411402, -0.0391185805, -0.0321142189, 0.0215745494, 0.0226742905, 0.0455448143, -0.0147546902, 0.0602003299, -0.0221662112, -0.0238792915, -0.0502532348, -0.0031883873, -0.0198286697, -0.0012490193, 0.0307880472, 0.0401759632, -0.0381347127, 0.0120678032, 0.0340558216, 0.0240922291, 0.0045080744, -0.0088232495, -0.0678109303, -0.013698875, -0.0493822582, 0.0384083949, -0.0038182875, -0.0410122387, -0.0190871581, -0.0691156387, -0.0659372509, 0.021476632, -0.0154521558, -0.0408154503, -0.0267437343, 0.0231211483, 0.0941568315, 0.0251594596, -0.0044942056, -0.0687125549, 0.0287598241, -0.0541655421, -0.0278780609, -0.0189733915, -6.230862825e-33, -0.0007857445, -0.0422401056, 0.0249509402, -0.0679420307, -0.0027061065, 0.0421683118, 0.0000987997, 0.0042717727, -0.0111392625, -0.0048256852, -0.0147401188, -0.0009484561, 0.0123690693, 0.0006949942, 0.0156878438, 0.0044556265, 0.0221506078, 0.0223718286, -0.0215158947, 0.0037416366, 0.0276893117, 0.0636963248, 0.021477608, -0.0398234129, 0.0301903486, -0.0180189461, 0.0071887439, 0.0171857812, -0.0204641428, 0.0976262391, -0.0288917888, 0.0477551073, 0.0327568129, -0.0584220923, 0.0058453586, 0.0367164649, -0.0753885508, 0.009345145, 0.0216919314, -0.0289698187, -0.0280950163, 0.004411574, 0.0313892886, -0.0072854026, -0.0083520561, -0.0065534916, 0.0519164205, -0.024315061, -0.033902403, -0.0425568409, -0.0327140354, 0.027519729, 0.0406581089, -0.0340121686, 0.0355988368, 0.0319918692, 0.0090643922, 0.0712991431, -0.0598647334, 0.0023475471, -0.0396096632, 0.0509662032, 0.0630331412, 0.0256958548, -0.0045622266, 0.0534291118, -0.0274122786, -0.0141044809, 0.0090205632, -0.0508608855, 0.0289099533, 0.0692026168, 0.0057105199, 0.0427261144, 0.0019015612, 0.0110814376, -0.0371684805, 0.0411217809, -0.014500211, 0.0851560161, 0.0467850938, 0.0054176594, -0.0498818792, 0.0023195804, -0.0393774472, 0.0579672121, -0.0795215666, -0.028679138, 0.0527829528, 0.0351190567, -0.0259507988, 0.0372441709, 0.0559630916, -0.0220007095, -0.0205607433, 0.0503437705, 0.003599674, 0.0113870651, -0.0293171387, 0.0505722873, 0.0010443198, 0.0145529779, 0.001752653, -0.0380616151, -0.022094056, -0.0265659448, -0.015429398, -0.0140968496, -0.0725606754, -0.0137509527, -0.0030721377, 0.0106897708, -0.0436129458, 0.055265367, -0.0042110663, 0.0368223004, 0.0095124496, 0.0490177497, 0.0476532355, -0.0200174283, -0.0374160409, -0.0098701324, 0.0272263102, -0.0421370119, -0.0062635923, 0.034422446, -0.0381959416, 0.0275476053, 0.0319812447, 0.0272734165, 0.0091956193, 0.0112292245, 2.596e-7, 0.0428365208, 0.0388766192, 0.0096430993, 0.0411636867, -0.0287623703, 0.0104195587, -0.0269574374, 0.0071773636, 0.0651235059, 0.0089963879, -0.0298950411, 0.0137696238, 0.0834112838, 0.0098655252, -0.0738429725, -0.0191370249, -0.0377833657, -0.0170700829, -0.0579635166, -0.0241694357, 0.0125846751, 0.0847703442, 0.026685277, -0.0165118817, -0.041837655, -0.0588570386, 0.0500394627, -0.0329872407, -0.0284953788, 0.0446114205, 0.0172554348, 0.0076206424, 0.0385865569, -0.0270243715, 0.0160203986, 0.0051284032, 0.0354465395, 0.0697911829, 0.0059128702, -0.035390798, -0.0107875224, 0.0039708233, 0.0073827221, -0.0539276414, 0.0480123609, -0.0314785428, -0.0026627062, -0.0279238001, -0.0110379625, -0.0148835201, 0.0103468001, -0.0405693464, -0.0255615674, 0.0040015997, 0.0012159526, 0.0074119098, -0.049458608, -0.0739026889, -0.0163665824, -0.0003476836, -0.0617789663, -0.0513849035, -0.0409883484, -0.0039948877, -0.0245817285, -0.0686633363, 0.01382084, 2.832661746e-34, 0.0374280103, 0.0191799123, -0.0157718081, 0.0367657878, 0.0540938079, -0.005021465, -0.050362993, 0.0445819199, -0.0264852066, -0.1271402091, 0.019212313 ]
http://arxiv.org/abs/2406.11678v1
http://arxiv.org/pdf/2406.11678v1
TourRank: Utilizing Large Language Models for Documents Ranking with a Tournament-Inspired Strategy
2024-06-17T15:58:22
2024-06-17T15:58:22
Yiqun Chen, Qi Liu, Yi Zhang, Weiwei Sun, Daiting Shi, Jiaxin Mao, Dawei Yin
cs.IR
cs.IR, cs.CL
Large Language Models (LLMs) are increasingly employed in zero-shot documents ranking, yielding commendable results. However, several significant challenges still persist in LLMs for ranking: (1) LLMs are constrained by limited input length, precluding them from processing a large number of documents simultaneously; (2) The output document sequence is influenced by the input order of documents, resulting in inconsistent ranking outcomes; (3) Achieving a balance between cost and ranking performance is quite challenging. To tackle these issues, we introduce a novel documents ranking method called TourRank, which is inspired by the tournament mechanism. This approach alleviates the impact of LLM's limited input length through intelligent grouping, while the tournament-like points system ensures robust ranking, mitigating the influence of the document input sequence. We test TourRank with different LLMs on the TREC DL datasets and the BEIR benchmark. Experimental results show that TourRank achieves state-of-the-art performance at a reasonable cost.
[ 0.0315359719, 0.0321491323, -0.0028629329, 0.0464963391, -0.0196573995, -0.0130596533, 0.0261169225, 0.0007099605, 0.0439317934, -0.0631402507, -0.0255173948, -0.0070356964, -0.0115764141, 0.0032039878, 0.0078315437, -0.0438241176, -0.0012152743, -0.0425713509, 0.0090180235, -0.0314819217, -0.0158271678, 0.0017470076, 0.0210784413, -0.0209994223, 0.0931367055, 0.021989679, -0.0275083277, 0.0052844766, 0.0079103205, -0.0192990061, -0.0500940196, 0.011952877, 0.0217670482, 0.0747819245, 0.0000017388, -0.0677929819, -0.067037344, -0.0058147218, -0.0031493953, 0.024123216, 0.011364066, 0.0296463519, 0.0274301432, -0.0016935086, -0.0281240251, 0.0025729004, -0.0231321342, 0.007677014, 0.0554774776, 0.0540898927, -0.0076348432, -0.0352377072, 0.0158311408, -0.0460916609, -0.0004365096, -0.0588594675, 0.0148367081, -0.0266661327, 0.0520267561, 0.0459697172, -0.013105344, -0.0045068939, -0.029249426, -0.0267005339, 0.0416201837, 0.0324128531, -0.0813077763, 0.0130621595, 0.0024487507, 0.0687188208, -0.0453075916, -0.0085395817, 0.0371376537, 0.0044743125, -0.0040599951, 0.0255841967, -0.0606487319, 0.0266954545, 0.0214742497, 0.0014694203, 0.0084369462, 0.0491817817, 0.0212394744, 0.0378270857, -0.029512208, 0.0397371277, 0.0108540803, -0.0335450955, -0.0245774277, 0.000173861, -0.014775971, -0.0414273217, 0.0035229747, 0.0097945193, -0.0254542436, -0.0023065656, 0.002434205, 0.0330346152, 0.017212119, -0.0772533789, -0.0176258758, -0.0300615076, 0.0354617722, 0.129136458, -0.0063409805, 0.0420131423, 0.0037290759, -0.0236217324, -0.0326128937, 0.0053490717, -0.0190730616, -0.0103318635, 0.0413251817, 0.0199396275, -0.0239406973, -0.0316978469, -0.0307407528, 0.0031165876, 0.0024316253, 0.0347651765, 0.0614397824, 0.0021630309, -0.0041346634, -0.0189167652, 0.0189769175, -0.0037313958, -0.0082537029, -0.0048376042, -0.0412704088, 0.0187437721, 0.0128404507, 0.011095101, -0.0078633931, -0.0096486509, 0.026492022, 0.0467726216, 0.0094390996, -0.0110117607, 0.021864878, -0.0304076523, 0.0250615478, -0.0445234105, -0.0030709179, -0.058594726, 0.0522679277, 0.0157271139, 0.0346885696, 0.0287779868, -0.0072857016, -0.0037619413, -0.0763394982, 0.0441652685, 0.0205133948, -0.0013845703, 0.0428508669, 0.010558608, 0.0082747117, 0.0117628789, -0.0091541335, 0.0252065193, 0.0645156577, 0.0018063027, -0.0155342994, 0.0469531305, 0.0009061443, 0.0076333708, -0.0104383761, 0.0225044508, -0.0084680365, 0.0275760144, -0.0199139751, -0.0037684902, -0.0422461666, -0.0231883097, 0.0516252108, 0.0472691618, 0.0661604255, 0.0072498284, -0.0480920114, -0.0111535601, -0.0224431362, -0.0326699018, 0.0135938488, -0.0127879558, -0.0169936754, -0.0094107026, 0.0718531534, 0.0146828694, -0.0324082561, 0.0060187429, -0.0195710342, 0.0530635081, -0.0122136297, 0.01188445, 0.0350073315, -0.0457115769, 0.0105788447, 0.0417694002, -0.0005380017, -0.0442767926, 0.0166469384, -0.0167920049, -0.019928202, 0.0872778147, 0.0733703822, -0.0560559966, 0.0227894317, 0.0033586011, 0.0414672233, -0.00809089, 0.0398306847, -0.0165940393, -0.0116023188, -0.0385533869, -0.031103557, 0.0684336051, -0.0133477403, 0.0182189252, -0.0208207928, 0.0438260138, 0.0146667808, -0.0408740155, -0.0205753166, 0.0045732027, -0.0053653931, -0.0234340169, 0.0212021433, -0.0372389778, 0.0249969307, 0.0196032897, -0.0091949385, -0.0109272432, 0.0638531595, -0.0170374904, 0.0129563743, -0.0496982262, 0.0251932107, -0.0242531653, 0.036578577, -0.0093120458, 0.0122292824, 0.0445163287, -0.0573504418, -0.0286954157, -0.0161424186, 0.0194412824, 0.0083921636, 0.002875095, 0.04756549, -0.0120238885, -0.0276853405, -0.0530441515, 0.0850303993, 0.0003776501, 0.067155607, 0.0323102511, -0.0130286589, -0.0137970457, -0.0335984342, -0.0471053869, 0.0837364867, 0.0341028869, -0.0017250649, 0.0405120254, -0.0044803829, -0.0159386713, -0.0247610565, -0.0886128023, 0.0148896733, 0.0297167171, 0.0022831282, -0.0049903854, -0.0206345525, 0.0020798403, -0.0070104003, -0.0486984216, -0.0220128, 0.0133761158, -0.0072470997, 0.0039839852, -0.0197722726, -0.023615934, -0.0332139507, -0.0797244981, 0.0058325012, 0.0788512081, 0.002387706, -0.0116731962, -0.0499586798, 0.0164252799, -0.0629117116, 0.0065830899, -0.0340670869, 0.0132208662, -0.0407148451, -0.043241296, -0.0341059752, 0.0454929322, 0.0311990175, -0.028567126, 0.0476378985, -0.015904557, -0.0772550628, -0.0121771656, 0.0055941958, 0.0468869992, -0.0043816534, -0.001055503, -0.0152212819, -0.0108434157, -0.0409534872, -0.0060230563, -0.0067524598, 0.0158989672, -0.0243975688, 0.0164450053, -0.0866760388, -0.0187640376, 0.0177067667, -0.0073006423, 0.0033483324, -0.0139745716, 0.0265910197, -0.0264721029, 0.0208683368, -0.0551507771, 0.0159620643, -0.0674406514, 0.0272527654, 0.0518165566, 0.0122913085, -0.1074609533, 0.0242225118, -0.0025051117, 0.0237422623, 0.0264871046, -0.0645612776, -0.0098021841, 0.0196240991, 0.0220023077, -0.0165414792, -0.0518007725, 0.0021521803, -0.0318692662, 0.0059704627, -0.0007510665, 0.0170547292, -0.0177150406, -0.061649397, 0.0351682678, 0.0346469246, 0.0573574007, -0.0217285808, -0.0096739838, 0.0212734193, 0.0958394185, 0.0319960713, -0.0243197959, 0.0178756732, -0.032538496, 0.0375058465, 0.0508717895, 0.0615473911, -0.0091155935, 0.0199704543, 0.0098351603, 0.050507728, -0.0588771701, -0.041179806, -0.009167904, -0.0345769413, -0.0029964875, 0.0051965364, 0.1046634167, 0.0583675988, -0.0822557956, -0.0019883984, -0.0023356616, 0.0497091636, 0.0075238957, 0.037281584, -0.0571155176, 0.0202060044, 0.0129233245, 0.0428189524, 0.0050918832, -0.0373719037, -0.0136365322, -0.1096625701, 0.0405981392, 0.0168880764, 0.0268305577, 0.0499768741, -0.0634852201, -0.0030146339, -0.0297022462, -0.0552968569, 0.0384730957, -0.0146728028, -0.0022480772, -0.0114304358, -0.019746827, -0.0031979873, 0.01965902, -0.0209312942, 0.0147213135, -0.0020817125, 0.0424259603, -0.0193277225, -0.0175448973, 0.0346050747, 0.0073307813, -0.0231146552, -0.0303043704, 0.027706651, -0.021546308, 0.0344806239, -0.0037617036, -0.0168172624, 0.0167421438, 0.047962416, 0.0148233538, 0.06384442, 0.0143559761, 0.0060043768, -0.025601849, -0.0373431928, -0.0489666834, 0.0460249856, -0.0371056795, -0.0360815451, -0.0061765201, -0.0490194894, 0.0422529168, 0.0354549326, -0.0512194075, -0.0015703704, -0.0202379692, -0.0602103472, -0.0520646386, -0.0149210924, -0.0076274709, 0.0213980358, -0.0207083132, 0.046708066, -0.038560681, -0.0168086588, -0.0503682382, -0.0116797201, 0.0361105427, -0.0039112605, -0.0560479909, 0.045922406, 0.0761546344, -0.0293598287, -0.04831459, -0.005108926, -0.0262494441, -0.0534256175, 0.0014166074, 0.0532711782, 0.0224274304, 0.0183808934, -0.0072076549, -0.0841428712, 0.0506394282, 0.0459720641, -0.0078080297, -0.0045863427, -0.0043829056, -0.0400925279, -0.0343452767, 0.017798489, -0.0785848573, 0.0343976393, -0.0108119734, 0.024318343, -0.0368082337, -0.0298380964, -0.0005539355, 0.0581793673, 0.05562675, 0.0109722931, -0.0042976425, -0.0033431456, 0.0651490241, -0.0579244941, -0.0576163568, 0.0067016413, 0.0129322521, 0.046109207, -0.0043594618, -0.0288606975, 0.0230771508, 0.0241818689, -0.0061141164, -0.0858887136, 0.0189358704, 0.0278842598, -0.0349665135, -0.0054193707, -0.0042946944, -0.0133590251, 0.0037870803, -0.0019980168, 0.0301841833, -0.0497240126, -0.0341636911, 0.0271853022, 0.0089519396, -0.0371775404, 0.0687726662, -0.0830180496, -0.0083147744, -0.0141219366, 0.026595559, 0.0763767585, 0.0030160868, 0.0382063761, -0.0004027855, -0.0204698518, -0.0051553166, -0.0715568662, 0.0219583046, -0.0150516191, -0.0444113202, 0.0683280677, 0.0164934322, 0.0799120516, 0.0890328512, 0.0498867296, -0.0384503417, 0.0205496754, -0.0495951846, -0.025745267, 0.034171313, 0.0041277446, 0.045958519, -0.0015243813, -0.0112043032, -0.0096874414, 0.0127783585, 0.0282079484, -0.0068072295, 0.0182775278, -0.0300445743, 0.0354311988, 0.0734818652, 0.0035859509, 0.0032294744, -0.0488463938, 0.0198703129, -0.010342747, -0.0549106523, -0.0101150218, -5.898568939e-33, 0.0242358539, -0.0453367978, -0.0135887368, -0.0135152098, -0.0004389161, 0.0021689823, 0.0274917502, -0.0361490585, 0.0150940781, -0.0185641609, -0.0498205274, 0.0196505077, 0.0121521829, 0.0209555887, 0.0497200266, 0.0253313743, 0.0258855578, 0.0038666774, -0.0360669158, 0.0025660701, 0.0197735149, 0.0244559851, -0.019984968, -0.0442818962, 0.0101571735, -0.0385321975, -0.0012226764, -0.0179832522, 0.0302752107, 0.0541682653, 0.0204472262, -0.0046688104, 0.0356466509, -0.0809021741, 0.0217081234, -0.0167204775, -0.0174097829, -0.0125435367, -0.0087065082, -0.0084795933, 0.0267614983, 0.0158708654, 0.0121362284, 0.0247151423, -0.0150632951, -0.0229152106, 0.0376929827, 0.0030222037, -0.0617875122, -0.0498405471, 0.0366758108, 0.036556419, -0.0244734325, 0.0274488349, 0.0552129336, 0.0148699861, -0.0330409482, 0.0843493342, -0.0499902479, 0.0538178831, -0.024153363, 0.0793019012, 0.0254056621, -0.0168781746, -0.0168489441, 0.0598497428, 0.0005345473, 0.0006735526, 0.0251426231, -0.04090764, -0.0328934789, -0.0172864441, 0.0525767691, 0.0096122241, 0.030346401, 0.0265454967, -0.0780757219, 0.0380528532, 0.0296593178, -0.0150562618, 0.0067555802, 0.0311641693, -0.0520214401, -0.0201186817, 0.0181985479, 0.0025181193, -0.0318583548, -0.004986573, 0.0065136193, 0.0170502756, -0.0443007275, -0.002980035, 0.0351635925, -0.0199969374, -0.0889544487, 0.0690849498, 0.0105017889, 0.0387300029, -0.0163688399, 0.0308403168, -0.0542710014, -0.0172555223, -0.0083709257, -0.0191651154, -0.0283555202, -0.031155467, -0.0117458776, -0.0140709206, -0.0167840812, 0.0119749056, 0.0458069555, -0.0347858481, -0.0461635403, 0.036367435, 0.0098489169, 0.0052755359, 0.0168927573, 0.0402570628, 0.0365743823, -0.0009641332, 0.0064932718, -0.0175748579, -0.0205583703, -0.027870832, 0.0081127509, 0.0156422742, -0.0071582757, 0.0478456207, 0.0118819326, -0.051812686, -0.0213715658, -0.0041729049, 2.626e-7, 0.0262569282, 0.0969588161, -0.0379525721, 0.0088619506, 0.0147627471, -0.0272453707, -0.0234305412, 0.0877135321, 0.0320822299, 0.0538869053, 0.0079115871, -0.0052702986, 0.0232396554, 0.0382940546, -0.073194541, -0.0239214581, -0.1111903042, -0.0010092999, -0.0683288723, -0.0749390796, 0.0252596121, 0.0978816971, -0.0127855632, 0.0218766481, -0.0296715945, -0.0686535686, 0.024390446, -0.0162561182, -0.0273383409, -0.0283350609, 0.0835278332, -0.0253168102, -0.0569572337, -0.0141872382, -0.0221111197, 0.0685531273, 0.0489598438, 0.0179333948, -0.0503818765, -0.0042856201, 0.0111392522, -0.0329334624, -0.0039012232, -0.0410792902, 0.0729116425, 0.0024013403, 0.0031245782, 0.0161477495, -0.0616992526, -0.0432788618, 0.0288384482, -0.0018188704, -0.0335793719, 0.0456694551, -0.0150574539, -0.0340356641, 0.0225543883, -0.0312348884, -0.0162498299, -0.0180244613, -0.036900077, -0.0210774746, -0.006814722, 0.0086936066, -0.0183407292, -0.0348519608, 0.0150753176, 2.348797507e-34, 0.0701837614, 0.0117165456, -0.0132936062, -0.0277018361, 0.0046701441, -0.0127020003, -0.032832168, 0.0314046293, 0.033549495, -0.1108853444, -0.0027707631 ]
http://arxiv.org/abs/2406.11675v2
http://arxiv.org/pdf/2406.11675v2
BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models
2024-06-17T15:55:38
2024-06-18T15:15:04
Yibin Wang, Haizhou Shi, Ligong Han, Dimitris Metaxas, Hao Wang
cs.LG
cs.LG, cs.AI, cs.CL, stat.ML
Large Language Models (LLMs) often suffer from overconfidence during inference, particularly when adapted to downstream domain-specific tasks with limited data. Previous work addresses this issue by employing approximate Bayesian estimation after the LLMs are trained, enabling them to quantify uncertainty. However, such post-training approaches' performance is severely limited by the parameters learned during training. In this paper, we go beyond post-training Bayesianization and propose Bayesian Low-Rank Adaptation by Backpropagation (BLoB), an algorithm that continuously and jointly adjusts both the mean and covariance of LLM parameters throughout the whole fine-tuning process. Our empirical results verify the effectiveness of BLoB in terms of generalization and uncertainty estimation, when evaluated on both in-distribution and out-of-distribution data.
[ 0.0094113955, 0.090016529, 0.0030784323, 0.0221753437, 0.0309143178, 0.0332628712, -0.0198252518, -0.0128225628, -0.0391875952, -0.0368598737, -0.0572234057, -0.0576561876, 0.0253399834, -0.0065727094, 0.0556718521, -0.0137666063, 0.0214013942, -0.0549825281, 0.0225313511, -0.0325554311, -0.0319937244, 0.0182935316, -0.0236375071, 0.006260416, 0.0445591584, 0.0150104677, 0.0143606961, 0.0243338365, 0.0357688591, 0.0161577333, 0.0135020912, 0.0527999923, 0.0192001034, 0.0354920812, 0.0000017159, -0.0414748602, -0.0081807598, -0.0269397497, -0.0110334791, 0.0252896976, 0.0356773213, 0.0193609018, -0.031574659, 0.0222898554, -0.00065227, -0.0153400423, 0.0560787246, 0.0126231704, 0.0209575333, 0.077369146, 0.0007449934, -0.0046481211, -0.0060395198, -0.0591642857, -0.0094908345, -0.0891851634, 0.0337596163, -0.0086582527, -0.010024488, 0.0066437824, -0.0454079732, 0.0379366539, -0.0385109633, 0.0284423996, -0.0122843627, 0.0276878122, 0.0082269274, 0.0267292168, -0.0118703768, 0.0479647294, -0.0511640906, -0.0218666252, 0.003125156, -0.0223035477, 0.0159778595, 0.0037965751, -0.0465696044, 0.0314309895, 0.0458724722, 0.0119717, 0.0064175692, -0.0548101328, 0.0678068027, 0.0088172713, -0.0420925617, 0.0649857149, 0.0384193286, -0.0121479416, -0.0094695259, -0.0081471521, -0.0447892137, 0.0026666264, -0.0243713968, 0.0254781134, -0.0293812435, 0.0279167015, -0.0427578725, -0.0568466559, -0.0056932666, -0.0549627952, 0.0300563835, 0.0367368162, -0.0062634284, 0.0535359792, -0.0194750149, 0.0242825449, -0.0163862426, -0.003741086, -0.0401512086, -0.0144220693, -0.0144862849, 0.0298257582, -0.019410396, -0.0136871804, -0.0223170798, 0.0070273699, -0.0283259805, 0.0191226881, 0.0241130479, -0.00458042, 0.0326281972, 0.001462534, -0.0492649376, -0.0442320965, 0.0026045302, 0.0573516972, 0.0045255078, 0.0188956819, -0.0054259421, -0.0160776768, 0.0013513379, -0.0198588222, 0.0484503061, -0.0329789408, 0.0294360369, 0.0396507792, -0.0258621667, -0.0343318284, -0.0382907614, 0.081757918, -0.0573438331, -0.0699228495, 0.0147398226, -0.0433237627, -0.002344843, 0.0010486548, 0.0279819388, -0.0759861767, -0.0036306637, -0.0159633476, -0.0877046213, 0.0656558275, 0.0117092626, 0.0062143165, 0.0533013828, -0.0121571319, -0.0179521348, 0.0786151588, 0.0449879654, -0.0006674761, 0.0153033435, 0.003052098, -0.0245587174, 0.0453567915, 0.0009828315, 0.0497314744, -0.050678879, -0.0206224453, 0.0273181237, 0.0291424729, 0.0323258527, 0.012714358, 0.0018695523, -0.0144774206, 0.0772347152, 0.0192769095, 0.0334641449, 0.0147310169, 0.0077411244, -0.0248610228, 0.0022496199, -0.0269167498, -0.0393064618, 0.0102337692, -0.0268107224, -0.0026872754, 0.0307056773, 0.0458179638, -0.0180119723, -0.0295377038, -0.0294857547, 0.018000938, -0.025709182, 0.0282695778, 0.1032984555, 0.0025227203, 0.0001159153, 0.0084306626, 0.0379805453, -0.0171532966, 0.0142085869, -0.049852971, 0.0239078235, 0.017137656, 0.0165795311, -0.0466237664, -0.0178496372, -0.0171167385, 0.0017428308, -0.0021127567, 0.0132681821, 0.0197886899, 0.024831621, -0.0472690351, 0.0010128344, -0.0029093248, 0.052947361, 0.0438258611, -0.0298439469, 0.010506561, 0.0304136444, -0.0467162989, -0.0352012292, 0.0315246321, -0.0310480651, -0.0357291847, 0.0423026718, -0.0311494339, 0.0373739004, -0.0252697617, -0.0123179844, 0.002574882, 0.0201582052, -0.0029557219, 0.0015623779, -0.0292986576, 0.0295773856, -0.0156926736, 0.0608386844, -0.0010309574, 0.0187700428, 0.0298228469, -0.0439004675, -0.0650295317, 0.0665251389, -0.0203686263, 0.002729984, -0.0157331154, 0.0539312139, -0.019183185, 0.059735287, -0.0332091898, 0.0230679587, 0.0000866047, -0.0059934286, 0.0306331906, 0.041769091, -0.0187928453, -0.0256538019, -0.0504765213, 0.0343713686, -0.0076356279, 0.0256916098, 0.0082092257, 0.0180159938, -0.0087749129, 0.0054959315, -0.0859672427, 0.0398897342, -0.0549769513, 0.0189583637, 0.0405183807, 0.0255550966, -0.0204643086, -0.0287569873, -0.0071495115, 0.0158475041, -0.0102620693, -0.0034274142, 0.0061510438, 0.0292662513, 0.0034102427, -0.0526690483, -0.0242218766, 0.014832899, 0.0392626077, -0.0319139436, -0.0059860134, -0.086391516, 0.0443064123, -0.0277772415, 0.0550170913, -0.0286916606, -0.0443771034, -0.041825369, -0.0588841923, 0.0603192337, 0.0613262765, -0.0006086209, -0.0243625827, 0.1151590422, 0.0113319596, -0.0230323486, 0.0107881315, -0.034979675, -0.0516140312, -0.0403847061, -0.022594735, -0.0075320862, 0.0554615632, -0.0343625471, -0.0367375501, -0.0544580743, 0.0219769944, -0.0148145454, 0.003524842, -0.0756793544, 0.0412303023, -0.0310098454, 0.0189722665, 0.0097488528, -0.0400666669, 0.0363506339, -0.0312211681, -0.0014144692, -0.0415963233, -0.0370609947, -0.0027305547, 0.0268403478, -0.0125689814, 0.0023680953, -0.0327367038, -0.0065345005, -0.0828759447, 0.0261279792, 0.0249384642, -0.0211275239, 0.0196592156, -0.053018976, 0.0071886056, -0.0208257586, -0.0133333299, -0.0204010494, -0.042449709, -0.0423593968, 0.0021686866, 0.0213109311, -0.070946604, -0.0138917705, -0.0051747444, 0.0080693364, 0.0630009919, -0.0250803307, 0.0010547581, -0.0185655039, 0.0076673725, 0.0707655102, 0.0254644956, 0.0717845336, -0.022326408, -0.0206768978, -0.0149255861, 0.0620167889, -0.0210634675, -0.0225464962, 0.0027546224, 0.0434885882, 0.0103792036, -0.0100662531, 0.052797161, 0.0183170047, -0.0251798294, -0.0404824056, 0.0901122913, -0.0060124332, -0.0748755038, -0.0067534726, -0.0160008054, 0.0374777056, 0.0166219845, 0.0617113188, -0.0109634427, -0.0219776426, 0.0121544544, 0.0195397269, 0.0278378595, -0.0051606609, -0.0129148923, -0.1016216129, 0.0165254846, 0.0232200399, -0.0223907717, -0.0219997726, -0.0387415476, 0.0323511809, -0.0171271563, 0.0381968059, 0.0236831643, -0.0203084107, -0.0219364502, 0.0376059003, -0.0134237241, -0.1018540338, -0.021181481, -0.0301911421, 0.0772675648, 0.0271519739, 0.0266809314, -0.0320012197, -0.0191714745, 0.0290965941, -0.0335754305, -0.0452995934, -0.0098374542, 0.0323298424, 0.0030114572, 0.0021271345, 0.0671221763, 0.0285475347, -0.0264778789, 0.0158568975, 0.0075041889, 0.0612082109, -0.0153776184, -0.0180997252, 0.0144747375, -0.0208224058, -0.0216595288, 0.0139696728, 0.0119088264, -0.0340653099, 0.007188783, -0.0163859688, -0.0226292741, 0.0105380453, 0.0149500491, 0.0286576487, -0.0352708921, -0.0198511034, -0.0604943447, 0.0341561697, 0.0265741963, 0.0224723034, -0.00026493, 0.0161974113, -0.0149295228, 0.0174268875, -0.0382087864, 0.0394225121, -0.0246833265, 0.011899326, -0.020877881, 0.0110628214, 0.0412168913, -0.0232526343, -0.0145383533, 0.0087967031, -0.0839862153, -0.0831997693, -0.0079247756, 0.0548753887, 0.0227617901, 0.0177816749, -0.022792099, -0.0989133641, 0.0294687171, -0.0119050937, 0.0216191933, 0.0311489534, 0.0378511734, 0.0016994725, -0.0183127429, 0.035506662, -0.083045572, -0.0032015117, 0.0519991815, 0.0258941371, 0.0034845998, -0.0519970357, -0.0303107612, 0.0087359715, 0.0527415834, -0.0360779688, -0.0506628565, -0.0554910526, 0.0156183578, -0.0242275707, -0.0006992152, -0.0274509136, -0.0023678038, 0.0397893712, -0.0007019429, -0.0143649383, 0.0015855427, 0.025755208, 0.0125788469, -0.0527533926, -0.0252492987, 0.0120554678, 0.0000418938, 0.0621415712, 0.0034346527, -0.0083876755, -0.0082996171, 0.0673189908, 0.0293260068, -0.0013194029, 0.0174475182, 0.0254921112, -0.0481156558, -0.0799960345, 0.000628998, -0.0997468382, -0.0791313797, -0.0441937894, 0.0439386107, 0.0792735517, 0.0145557504, 0.0835363939, -0.0099242758, -0.0237219185, -0.020282317, -0.0056784195, 0.0043008137, 0.0406407937, 0.0518311784, 0.0027674031, -0.0143659515, 0.0524275899, 0.0651087612, 0.0747080371, 0.0462216176, -0.0420361236, -0.0064603291, -0.0161471199, -0.0149846524, -0.0114283739, 0.0455452241, -0.0350855291, -0.0004372104, -0.0032874222, -0.0812566504, -0.034660168, -0.0048120408, 0.0019087009, -0.0392068066, -0.0127047924, 0.035264425, -0.0217037071, 0.0172729716, -0.0359551124, -0.0313919, 0.0073510385, 0.0044909222, -0.0150404572, -6.521411233e-33, -0.031395983, 0.0019442006, -0.0110348724, -0.0318293422, -0.012210588, -0.02125182, -0.0058858586, 0.023245329, 0.0043729418, 0.0226870049, -0.0245671961, 0.0300177038, 0.0179604478, 0.0232364312, 0.0229781102, 0.0078873169, 0.0630626678, -0.0025125367, -0.00992228, 0.0122784385, 0.0394312553, 0.0623218678, 0.0768956169, -0.0070752925, 0.0105951289, 0.001704777, -0.055627577, 0.0285154786, -0.0018965527, 0.0173440725, -0.0188197512, 0.0434423089, 0.0096376622, -0.0011935506, -0.0382900201, 0.0244482402, -0.0475955531, 0.0036798934, 0.0022659702, -0.0021927576, -0.0005700244, 0.0031577772, 0.0065385965, 0.0421140045, -0.0129375206, -0.0210887268, 0.0295587853, -0.0605089478, -0.0187363233, -0.0232924055, -0.0141531685, 0.0252100471, 0.00771055, 0.0117244534, 0.0209575165, 0.0365547389, -0.0233583879, 0.0041479184, -0.0222866312, -0.0114950463, 0.0259985831, 0.0670809746, 0.0649988577, 0.0694199279, -0.0138805555, 0.009394452, -0.0012065551, 0.0031018839, 0.020173803, -0.0211917274, 0.0612750985, 0.0136265932, 0.0331376381, 0.0299901683, 0.0224481374, -0.0081554083, -0.0838488117, -0.0059546577, 0.0166603457, 0.0142820273, 0.0225267038, 0.0437057093, -0.016957799, -0.0166244786, -0.0635168999, -0.0139174461, -0.0234747808, 0.0141862882, 0.0081975646, 0.0210855529, -0.0331370011, -0.0161636248, 0.0263989437, -0.0485366285, -0.000752287, -0.0045839814, -0.0157980081, 0.0049092523, 0.010042673, 0.0578605533, -0.0337393656, -0.0616890602, 0.0022349576, 0.0057474165, -0.0096488735, -0.0107268859, 0.0248882156, 0.0130221406, -0.0662911236, -0.0030703279, -0.0148073416, 0.0154421963, 0.0065047918, 0.0788905621, -0.005814435, -0.0253577475, 0.0075164367, 0.0664833486, 0.0559164844, 0.0147532308, 0.043614585, -0.0140432836, 0.0173958782, -0.0039219111, -0.0610808916, -0.0146541605, 0.0115366178, 0.0110995201, 0.0648137182, -0.0590905063, -0.0249927305, 0.017065404, 2.59e-7, 0.0496171042, 0.0575820692, -0.0538523532, -0.0204693265, 0.0298626851, 0.0261360854, -0.0316612758, 0.0042839712, 0.0450155288, -0.0016374475, 0.0519595742, -0.0064842002, 0.0786513016, 0.0082229357, -0.0600155331, -0.0749513209, -0.0707151145, 0.0297475159, -0.0288175847, -0.0326298662, -0.0140972668, 0.120324716, 0.0104111172, -0.0111010429, -0.0049919854, -0.0306770205, 0.0711910054, -0.0389814489, -0.0087090842, 0.0138926283, 0.0474159755, 0.0232888907, -0.021406889, 0.0001589563, -0.0302171204, 0.0886812806, -0.0298617072, 0.0694304854, -0.0070723924, 0.0169213656, 0.0220877174, 0.0435126498, 0.0196944419, -0.0556601956, 0.0527296849, -0.0806478858, -0.0161131807, -0.0599795729, -0.0061205411, -0.0303504597, 0.0442567356, -0.0565814674, -0.0188956037, -0.0174642131, 0.0238319542, -0.0097303381, -0.0253794994, -0.1069660112, 0.0063917101, 0.0516826212, -0.0636367723, -0.0550260134, -0.0043014912, -0.041416537, 0.0351160765, -0.0680031627, 0.0367645696, 2.141718335e-34, 0.0687765926, -0.0232829861, -0.0282723773, 0.023947347, 0.0236914419, -0.0308655854, -0.001574979, 0.0081420746, 0.0402931534, -0.1003689915, -0.0154144801 ]
http://arxiv.org/abs/2406.11674v1
http://arxiv.org/pdf/2406.11674v1
Endor: Hardware-Friendly Sparse Format for Offloaded LLM Inference
2024-06-17T15:55:08
2024-06-17T15:55:08
Donghyeon Joo, Ramyad Hadidi, Soheil Feizi, Bahar Asgari
cs.CL
cs.CL
The increasing size of large language models (LLMs) challenges their usage on resource-constrained platforms. For example, memory on modern GPUs is insufficient to hold LLMs that are hundreds of Gigabytes in size. Offloading is a popular method to escape this constraint by storing weights of an LLM model to host CPU memory and SSD, then loading each weight to GPU before every use. In our case study of offloaded inference, we found that due to the low bandwidth between storage devices and GPU, the latency of transferring large model weights from its offloaded location to GPU memory becomes the critical bottleneck with actual compute taking nearly 0% of runtime. To effectively reduce the weight transfer latency, we propose a novel sparse format that compresses the unstructured sparse pattern of pruned LLM weights to non-zero values with high compression ratio and low decompression overhead. Endor achieves this by expressing the positions of non-zero elements with a bitmap. Compared to offloaded inference using the popular Huggingface Accelerate, applying Endor accelerates OPT-66B by 1.70x and Llama2-70B by 1.78x. When direct weight transfer from SSD to GPU is leveraged, Endor achieves 2.25x speedup on OPT-66B and 2.37x speedup on Llama2-70B.
[ -0.0011388974, 0.024989184, -0.0143834688, 0.0661450922, -0.0333965905, -0.0014766477, 0.0215108693, 0.0433426425, 0.0022879262, -0.0144991614, 0.0241580307, -0.0192146003, 0.0185164697, -0.0353841297, 0.002764059, -0.0239781439, 0.0331197791, -0.0321392901, -0.0185553655, -0.0307801813, 0.0294186976, 0.0316739082, -0.0002947937, -0.0124627342, 0.004773654, -0.0178412851, -0.0562329255, 0.0195870791, 0.0103037311, -0.0110037792, -0.03411505, 0.0164077356, 0.036188487, 0.0256454051, 0.0000024029, -0.0154553009, -0.0208276659, 0.0062349061, -0.0393272005, 0.0455869585, 0.0965978205, -0.0172767211, -0.0417932756, -0.0117925461, 0.0028122233, -0.0179804824, 0.0637004822, -0.0165045876, 0.0059615802, 0.032391116, -0.0136001064, 0.0044730962, 0.0137430653, -0.0159174688, -0.0026450332, -0.0084367516, -0.0010164618, -0.0191245582, 0.0025922945, -0.0068853595, -0.0209267568, -0.0092444709, 0.015470379, 0.0157195739, -0.0215568002, 0.0331906825, -0.0408604965, -0.0205758624, -0.0018699756, 0.0284965523, -0.052704528, -0.0481220409, 0.0136654545, -0.0229053814, -0.0170765184, 0.0022256996, -0.0397685021, 0.0816965029, -0.0132082319, 0.0306991152, 0.0602043532, -0.0187245198, 0.0152769554, -0.0005400506, -0.0422231816, 0.0612132363, 0.0439168625, 0.0142499441, -0.0490109213, -0.0058950139, -0.0574459508, -0.0528593399, 0.0202812292, 0.0257326569, 0.0079471618, 0.0109024756, -0.0870801285, -0.0512480438, 0.017923696, -0.0518688746, 0.1066924483, 0.0758355483, -0.009466297, 0.0072405231, -0.0433006845, 0.0063434965, -0.0213287696, -0.0389900208, -0.0269772857, 0.0222309139, 0.0372557044, 0.0142823895, -0.0398063399, 0.0607864559, -0.0662299544, -0.0223305617, -0.0279538091, 0.0110949315, -0.0188345145, -0.0438539386, 0.0028246855, 0.017671017, -0.0072898618, 0.0247184914, 0.0029188066, 0.0272302944, -0.0019522565, 0.0190389492, -0.0208651088, -0.0952734351, -0.0166681092, 0.0471921675, 0.0352292992, -0.0355315767, 0.0402224958, 0.0257617049, 0.0085320724, -0.0565103218, -0.0320188738, -0.0142106889, 0.0501516052, -0.0581737719, 0.0151340608, -0.0984276608, 0.0303088855, 0.0203824639, 0.0037139435, -0.0110146664, 0.0233487971, 0.049905505, -0.0290689822, 0.0342145078, -0.0424915217, -0.0195242409, -0.0115706688, -0.0149372593, 0.0102274232, 0.0737300143, 0.0158004165, 0.0425959006, 0.0132486969, -0.0004281978, -0.0522211492, 0.0382462703, 0.0376069844, 0.0335459821, -0.074843891, -0.0003472554, 0.0042941915, 0.0185196698, 0.0743462071, 0.0508238226, -0.0284125395, -0.0291446038, 0.0264131837, 0.0761997923, -0.0353874192, 0.0368372761, -0.0163613092, 0.0251650978, -0.0057267677, -0.004654028, -0.0116576143, 0.0319644772, -0.022914296, 0.0055912235, 0.0793935508, 0.0668495074, 0.017044127, 0.0113010695, -0.032789968, -0.0111895287, 0.0121731916, 0.0233878605, 0.0183944795, -0.0169790424, -0.0333601907, 0.0854355469, 0.070957996, -0.0933507308, -0.0970877334, -0.0326438695, 0.0383302569, 0.0157338958, 0.007220306, 0.0170233324, -0.0700343922, 0.0507536307, -0.0028646917, 0.0240253955, -0.0206613708, 0.0257741418, 0.0216785558, -0.0652601495, 0.0159687568, 0.0370565876, 0.0145610049, 0.0335723422, 0.0418778844, 0.0322422981, -0.0019015626, -0.039330747, -0.0290472135, 0.0089738704, 0.0067229145, 0.0142969834, -0.0017513011, -0.015414496, 0.0051954244, -0.0262945723, 0.0065512322, -0.0277260672, 0.0743712634, -0.0458451323, 0.0352533758, -0.0496512763, -0.0353563726, 0.0178940855, 0.0498938225, 0.0047081555, 0.0255099908, 0.0474860594, -0.0344919227, -0.0409494191, 0.0193395223, -0.0077135121, 0.0381708667, -0.0540739745, 0.0070406185, 0.0078828838, 0.055838529, 0.0051516891, 0.0605130829, -0.0386230424, 0.0588002428, 0.0380612053, 0.0073301261, 0.0282251686, -0.030040754, -0.0241658892, 0.0059213447, -0.0053462973, -0.0158980247, -0.0213419572, -0.0082879821, 0.0262455475, 0.0271530431, -0.1202307045, 0.0334343389, -0.0247312747, 0.0384763367, 0.0378439911, 0.045774065, 0.0040911809, -0.0140925692, -0.0008480994, 0.0546091497, 0.0171497967, 0.0158194955, -0.0106756976, -0.0250312202, -0.0176729802, 0.0112797963, -0.0280546676, -0.0078383228, 0.0338652097, -0.0198858641, -0.0291380715, -0.0366175286, 0.0576482899, -0.022126792, 0.0638745576, -0.0042589391, -0.0050111129, 0.0172374714, -0.0477599949, 0.0186035428, 0.0558680296, -0.0235752687, 0.0070950594, 0.0624256842, 0.0036214744, -0.0384009331, 0.0174310077, 0.0046703322, 0.0115338787, -0.0062143723, -0.0342238918, -0.0746468231, 0.0700793564, -0.0206878893, -0.0385822803, -0.0046396502, -0.0531110205, 0.0076514329, 0.0011531564, -0.0207978413, 0.0241413265, -0.0243149586, 0.0229965411, -0.0160849206, -0.0714634135, 0.0138485264, -0.0634489879, -0.000614399, 0.034188278, -0.0479831509, -0.0484269969, 0.058304105, 0.0212227516, 0.0090164943, -0.0340197012, 0.0230597835, 0.0318203159, 0.0358114503, -0.0006639318, -0.0404052734, 0.0011046064, -0.0378633626, 0.0322592333, -0.0552965999, 0.0004034184, 0.0253605247, 0.037244603, -0.0437079519, -0.0059976759, -0.0060053812, -0.0551596731, -0.0031968409, 0.0226705726, -0.0175055936, 0.0412051976, -0.0280157365, 0.0191124771, -0.0137907136, -0.014521502, 0.0496527851, 0.0509653017, -0.008259139, -0.0063127438, -0.0643544719, 0.0590644814, 0.0213294458, -0.0012203885, -0.0960858539, 0.0033294631, 0.0910989195, 0.0155831585, -0.0439519063, 0.0539920554, 0.0244226046, -0.0573198833, 0.0036924244, 0.060121052, 0.0125939129, -0.0360005796, -0.0019583451, 0.0004165464, 0.0682377294, 0.0385422669, 0.0487253554, -0.0956137627, -0.044724144, 0.0107715912, -0.0030804144, 0.0044369902, -0.0179656446, -0.0020459287, -0.1093672588, 0.0673591271, 0.000840169, -0.0025969397, 0.0235185809, -0.0686932057, -0.0180611406, 0.0300895832, -0.0278115161, -0.0041937977, -0.007430282, 0.0147130853, 0.0125913462, 0.0034386516, 0.0428829901, -0.0131545374, 0.0083198017, 0.0061720097, 0.0042389249, 0.0139243565, -0.0158626698, -0.0844099671, 0.0418494195, 0.0115632145, -0.0174619481, -0.0498198494, -0.0130206021, 0.0148149831, 0.0147292772, -0.0356545486, -0.0063633774, -0.0122652426, -0.0201499667, -0.0469122566, 0.117252022, -0.0209404659, 0.0048591755, -0.0078783017, -0.0467152074, -0.0145501019, 0.015082526, 0.0009440971, 0.0223581865, -0.0357206017, -0.0498974435, -0.0298460275, 0.0133781731, -0.0236227233, -0.0052340147, -0.0189296547, -0.0287293531, 0.031077059, 0.0492386222, 0.0120142605, 0.0386464521, -0.0063621588, 0.0163044203, 0.0016496669, -0.0337911136, -0.1077190712, 0.0138573041, -0.0284631364, 0.0457587913, -0.0350206345, -0.0011177768, 0.0050920467, -0.0048181922, 0.0105840471, 0.0247810073, -0.0975005776, -0.0609451011, -0.0103641022, 0.0282949954, 0.0200664178, 0.0303696357, 0.0071899835, -0.0485920422, 0.0211960431, 0.0490802638, -0.0336853564, 0.0705470368, -0.0188314617, -0.0689694583, 0.0217049122, 0.0156700723, 0.0085976608, 0.0076385983, 0.0021200143, 0.0264746286, 0.0059495205, -0.0417376794, -0.0165466983, 0.0436941013, 0.0245999992, -0.0151572274, -0.0528272353, 0.0100747095, 0.0541638695, 0.0047987523, 0.0154612223, -0.022941485, 0.0065485206, 0.0049434765, 0.0116798803, 0.0017358679, -0.0032591885, 0.0481791385, 0.0153935719, -0.0287839938, 0.0329308957, -0.0023125596, -0.0354721099, 0.0283180363, -0.0083726887, 0.0074326205, -0.0211994369, 0.0028948362, 0.0714291856, -0.0444627367, -0.0000289403, 0.0117198052, 0.0209643003, -0.033181183, 0.0097418437, -0.0041552875, -0.0485483296, -0.02201524, -0.0040728571, 0.0314567313, 0.0001971715, 0.0274141058, -0.0039218795, 0.0135209067, -0.0250097606, 0.0541253835, -0.0369395241, -0.0402935781, 0.0525073744, 0.0274985973, 0.0000634308, 0.0303683616, 0.0246252455, 0.0258973017, 0.0361644402, 0.0255333949, -0.0023926948, -0.0201773029, -0.0485392138, -0.0090957396, 0.0154377921, -0.0030717198, -0.0064116153, -0.0038373475, -0.0413296483, 0.0280270949, 0.0160634182, -0.0067129154, -0.0594584458, 0.0158876423, 0.0343994088, 0.0162603687, -0.0229886509, -0.0135605028, 0.0204346981, -0.0089376615, -0.0182080846, -0.0083902869, -7.074288103e-33, -0.0038201853, -0.022721421, 0.0390020423, -0.0155741842, -0.0235044323, 0.0039733411, -0.024352232, -0.0019431496, 0.0102409525, -0.00734916, -0.0302302092, 0.0012734106, 0.0130813755, 0.0087994011, -0.027233135, 0.034202151, 0.0003211805, 0.0205283072, -0.0290822107, 0.0074932114, 0.0371595733, 0.032852497, 0.0311272852, -0.016259972, -0.032498952, -0.0390803441, 0.0546790957, -0.0150963925, -0.0202216003, 0.0207968708, -0.0446274392, 0.0168651491, 0.0058194757, -0.0285572764, 0.0138825085, -0.0098171839, -0.0699772835, -0.0312705263, 0.0624958314, 0.032482557, -0.0229876488, -0.0541843772, -0.0218242817, 0.0564839914, -0.0186843444, -0.0108423382, -0.0232567545, -0.0171975382, -0.0637362897, -0.0000938806, -0.0459980331, 0.0305822417, 0.0597368553, 0.0532568246, 0.0584797673, -0.0523383543, -0.0385892428, -0.0019973873, -0.036750827, -0.0146979252, 0.0314421728, 0.0793517381, 0.0670316815, 0.0001217825, 0.0254153479, 0.0251148213, -0.0033927534, -0.0370765887, -0.0370632075, 0.0522233658, 0.054515738, 0.0287050847, -0.0299299788, -0.0171519686, 0.1041828543, -0.0040341704, -0.0543915257, -0.0087358085, 0.0488938838, 0.0035816077, 0.0384731293, 0.03039838, 0.0067730984, -0.0623958111, 0.0098701138, -0.0004042588, -0.0404985398, -0.0217580758, 0.0010623472, 0.0253749713, -0.0363209397, -0.0134135177, 0.0193279702, -0.0153036043, -0.008016414, -0.0404860564, 0.0175161753, 0.0160492342, 0.0341861993, 0.0288963299, -0.0227099638, -0.0492955036, -0.0022037446, -0.0544244498, 0.056070365, -0.0107398648, 0.0351506025, 0.0408053249, -0.0586450621, -0.0049083633, -0.0517546833, -0.0049417792, 0.0115921032, 0.0705811977, 0.0319937281, 0.0042124721, 0.0317981318, 0.0238572247, -0.0237812828, 0.0157995336, -0.0536323786, -0.0337185971, -0.012375216, 0.0114312852, -0.0652986988, -0.0107750446, -0.058166869, 0.0250793193, -0.003993758, -0.0713668317, -0.0456368737, 0.0655626878, 3.162e-7, 0.0121496171, 0.0085702389, 0.0145382592, 0.0389620066, -0.0190232079, -0.0090603353, 0.0167267099, 0.0162504315, 0.0215783436, -0.0362767056, -0.0280209891, 0.0332156457, 0.030345127, 0.0038715808, -0.0460138917, 0.0116810631, 0.0063327788, -0.024311753, -0.0098738838, -0.0108199809, -0.0289615355, 0.1048856825, -0.0172460992, -0.0246764403, 0.0466298833, 0.0286525618, 0.008893095, -0.0051962482, 0.0362170599, -0.0621455126, 0.0174010154, -0.0021788257, -0.0625491664, 0.0007046991, 0.0241195187, -0.0135921547, -0.0658257753, 0.0670266524, -0.0283433553, 0.0216980353, 0.0352666527, -0.0394238271, -0.0340054743, -0.0153214196, 0.0522266477, 0.0551031157, -0.0018020117, -0.0789510831, -0.01018239, 0.0047421316, -0.0353062823, 0.0145726195, 0.0781557038, 0.0295158643, 0.0330984071, -0.0653583258, -0.0360215865, -0.0268879533, -0.0595870726, 0.011366237, -0.0324932858, -0.0615241937, -0.0773137882, 0.0132880807, 0.0120120533, -0.0458133891, -0.016731821, 3.377583275e-34, 0.0198312234, 0.0270086657, -0.0108808903, 0.0919092074, 0.0093300808, -0.0509762652, -0.0123977056, 0.0459432974, -0.0383651182, -0.091779381, -0.041815117 ]
http://arxiv.org/abs/2406.11670v1
http://arxiv.org/pdf/2406.11670v1
Benchmarking of LLM Detection: Comparing Two Competing Approaches
2024-06-17T15:51:46
2024-06-17T15:51:46
Thorsten Pröhl, Erik Putzier, Rüdiger Zarnekow
cs.CL
cs.CL, cs.AI
This article gives an overview of the field of LLM text recognition. Different approaches and implemented detectors for the recognition of LLM-generated text are presented. In addition to discussing the implementations, the article focuses on benchmarking the detectors. Although there are numerous software products for the recognition of LLM-generated text, with a focus on ChatGPT-like LLMs, the quality of the recognition (recognition rate) is not clear. Furthermore, while it can be seen that scientific contributions presenting their novel approaches strive for some kind of comparison with other approaches, the construction and independence of the evaluation dataset is often not comprehensible. As a result, discrepancies in the performance evaluation of LLM detectors are often visible due to the different benchmarking datasets. This article describes the creation of an evaluation dataset and uses this dataset to investigate the different detectors. The selected detectors are benchmarked against each other.
[ -0.0126169063, -0.0517888404, 0.0343074389, 0.125404492, -0.0669769123, 0.027618112, -0.0088739293, 0.1105253398, 0.0407631211, -0.0252272431, -0.0254305005, 0.0193335637, -0.00323644, -0.0122582968, -0.0069104205, 0.0293407515, -0.0113960383, -0.0393704623, -0.0068494454, 0.0179538373, -0.0087335538, -0.0222014226, -0.0135466419, -0.0031626613, -0.0107448604, 0.0002056656, -0.0098024271, 0.044731833, 0.0677497685, -0.0500479527, -0.044131048, -0.0158054177, -0.0013791168, 0.0402934961, 0.0000016775, -0.0710855424, -0.0349421464, 0.0075679994, -0.0010031724, -0.0273596812, 0.0813404396, 0.0138940169, -0.057478115, 0.0026195638, -0.0018033166, 0.0593894422, 0.0200502202, 0.0722603872, -0.0246282909, 0.0916003436, -0.0292370617, -0.0283819381, 0.0602722876, 0.0145043237, 0.0090448996, -0.0096332617, 0.030565301, 0.0145661328, 0.020825021, 0.0146873286, 0.0235471074, 0.0076090842, -0.0006480113, -0.0263923481, -0.0082669528, 0.0261252001, -0.0219691508, 0.0109995939, -0.0804898292, 0.0174076073, -0.038403172, -0.0051739337, 0.0422539823, -0.0302533135, -0.0170098469, 0.0043452359, -0.0047231717, 0.0363373607, -0.0503011942, 0.0385904163, -0.0093472544, 0.0159936436, -0.0089173764, -0.0122772083, -0.0214061569, 0.0621339642, 0.0220276341, -0.0429439135, 0.0083427243, -0.0080144675, 0.016417563, -0.0076927198, 0.0522054918, 0.0365483724, 0.0885021538, -0.0043408368, -0.0429705419, -0.0526627898, 0.0272179767, -0.0515107736, 0.025213087, 0.0201390292, -0.0344387554, 0.0464137197, -0.1143640131, 0.0777689517, -0.0370701812, 0.0818719938, -0.0022515613, 0.0354258046, -0.0004135217, 0.0185438748, 0.0085142236, 0.0130255884, 0.0189031549, -0.0028258855, -0.0361979641, 0.0189329684, 0.0646742359, 0.0149120186, 0.0096433852, -0.0824626535, -0.0047133891, -0.0162062608, 0.006976869, -0.0443989709, 0.0241858233, -0.0120566087, -0.0234151985, -0.0707231686, 0.0179216247, 0.0905546099, 0.0391160846, 0.0028017249, 0.0360702276, 0.084707737, -0.0335944742, -0.0769813433, -0.0488534495, 0.0159677807, -0.0286103711, -0.0008116876, 0.0410764478, -0.043207556, -0.018110916, -0.02268029, 0.0122277709, 0.0160330981, 0.0140732275, 0.0022920449, 0.0336442739, 0.0509356968, -0.052254796, -0.03330753, 0.0474645831, 0.0129406154, -0.0096323043, 0.0480558537, 0.0341057628, 0.0720042959, 0.030814318, 0.0022424066, 0.011922325, 0.0881945565, -0.044390142, 0.0043726512, 0.0052583376, -0.0393047035, 0.0025682375, 0.007399281, 0.0460715629, 0.0423126854, 0.0012398628, -0.013975325, 0.0565379411, 0.1027813926, 0.0424684174, -0.0122282244, -0.0501410253, 0.0230869427, 0.016412776, 0.0212347303, 0.0168385021, -0.0111341225, -0.0478520617, 0.0084912488, 0.0072921421, 0.0362205543, 0.0127627216, -0.0236311816, -0.0432685688, -0.0056929281, -0.022873098, -0.0588187762, 0.0903898478, -0.0334148891, -0.0806439221, 0.0144921942, -0.0181430709, -0.03678298, -0.0456202887, -0.0887541026, 0.0341189206, 0.0314109437, 0.0702169463, -0.0646424517, 0.0188044198, 0.0164309666, -0.0292522013, 0.0477918275, -0.0352341421, 0.0657268763, -0.0016637474, -0.0632704422, -0.0488615409, 0.0209389664, -0.0323896855, 0.0516662374, 0.0087446989, 0.0575547107, -0.0080703581, -0.0065333415, -0.0142113091, 0.0470965356, 0.0252903029, -0.0288544055, -0.0301306713, 0.0001950059, 0.0290719438, 0.0176730547, -0.0310442932, -0.0112095717, 0.0445750467, -0.0517529957, 0.0064298925, 0.0050437483, 0.009436965, -0.0324056447, 0.0697769821, -0.0498682596, -0.0037500381, -0.0054126554, -0.0178231616, -0.0089330524, -0.0458158925, 0.0041463682, 0.017660927, -0.0693225563, 0.0282694865, -0.0047523882, 0.0166847613, -0.0497408845, 0.0535650626, -0.0371144339, -0.0022613425, 0.0267262757, -0.0006729295, 0.0344140939, -0.0375790708, -0.004401641, 0.0297517218, -0.0221343711, 0.0216261875, -0.0206335727, 0.0593948551, -0.0222165175, -0.0726914555, -0.0191686787, -0.0010903483, -0.0310473889, 0.0365186185, 0.0308961403, -0.0535391867, -0.0175680593, -0.0183871537, -0.0278234687, 0.0217599813, 0.0004433774, -0.05922883, 0.0557269156, -0.0318606012, -0.01949214, 0.0223473404, 0.0301183593, 0.019786194, -0.0152237406, 0.0158123672, -0.1023481339, -0.083298251, 0.0682940111, 0.0303356275, -0.0262838602, -0.0209283736, -0.0239595734, 0.0098575894, -0.0329196379, 0.0061639016, 0.04914454, 0.0214420035, -0.0300472043, -0.0011099064, 0.0252418611, -0.0254468936, -0.0127475774, 0.0270360876, 0.0226004496, 0.0044380599, -0.0471681543, 0.0271915756, 0.0132416543, -0.0289202463, 0.0700284392, 0.0114859734, -0.0450636223, -0.0334708728, -0.0348350629, -0.0168062449, 0.0241437983, -0.0595062226, 0.0166668966, -0.003522079, -0.0650064275, -0.0334800296, -0.0828526616, -0.0234556124, 0.0083502335, -0.0223419573, -0.0533711314, -0.0064869267, -0.0019236936, -0.0018211245, -0.0197018236, -0.0548415408, 0.0052305227, 0.0011821924, 0.0311169531, -0.042282261, 0.0419250913, 0.0019102771, 0.0566196628, -0.068278484, 0.0219500475, -0.01108074, 0.007766597, -0.0096666627, -0.0334822424, 0.0055599413, -0.0224992484, -0.0029399372, 0.054455936, -0.0161712393, 0.0463990644, 0.002239408, 0.0157876033, -0.0372709706, 0.0833062604, -0.0398564935, -0.0216138382, 0.0187272672, -0.0165858977, -0.0076199402, 0.0387367308, -0.0112398658, -0.0211997498, -0.0317602195, 0.0075645447, 0.0303077269, -0.0018579101, 0.0216067005, -0.0057616513, 0.038720917, -0.0081537571, 0.0353437178, 0.0496749766, -0.0044291476, -0.0548664816, -0.0692074373, -0.0257181656, -0.0164125413, -0.0243922267, -0.0409297086, -0.069417417, -0.0100079216, 0.0357480831, 0.0154332276, -0.0211435948, 0.0242977459, -0.0195280164, -0.0304542203, 0.0299069416, 0.0259190761, 0.0200752933, -0.0088180974, 0.0262881424, 0.0125558721, 0.0281296652, -0.0183467865, 0.0031695561, -0.0084593715, -0.0276388861, -0.0034863797, -0.0495727696, 0.0176837053, -0.0452438295, -0.0061018798, -0.0192495771, 0.0438407958, 0.0490590334, -0.0193570722, -0.0391911827, 0.0419384204, -0.009919459, 0.0132317627, -0.0384211466, 0.0129462685, 0.0029491992, -0.0108525185, -0.0288315378, 0.0201432034, 0.0226932932, 0.0028411364, 0.0234306604, -0.0075603183, -0.0382226072, 0.0014299392, -0.0097835427, -0.0010916005, -0.0172562283, 0.0293822624, 0.011185579, 0.0108023519, -0.0617543608, -0.0339367203, 0.0252110884, -0.0292172134, -0.0373411737, -0.0000031477, -0.0223303679, -0.0142846275, -0.0440318584, 0.0251426436, -0.0413958691, 0.0113797784, -0.0027941945, 0.0365480371, -0.0279555824, 0.034165021, -0.0474646464, -0.0450846478, -0.0343706533, 0.0050748792, -0.1048014536, 0.0539882705, -0.0045650396, -0.0502862185, -0.0157385934, 0.0000131233, -0.0676944479, -0.0387766287, 0.0014556732, 0.0052698087, 0.0204336401, -0.0223691445, -0.0327237211, -0.0237359647, 0.0604088455, 0.0462022536, 0.0374496281, 0.0087812226, 0.0152531294, 0.0355026238, -0.0455839932, 0.004315645, -0.0323545001, 0.0134694362, 0.0199514348, -0.0505453385, -0.0297550391, -0.0426429957, -0.0246026162, 0.0448405072, -0.0058587696, -0.0295715462, 0.0061860043, -0.0055546323, 0.0313933231, -0.0002621269, 0.0245214272, -0.0241925865, 0.0293496177, 0.006476426, -0.0412976444, -0.0116456738, -0.0118368277, -0.0222653672, 0.0077355374, -0.0243200324, 0.0999977589, -0.0027998318, 0.020280065, 0.0017737509, -0.0122256018, 0.0144633725, 0.0339349806, 0.0105614522, 0.0205166731, 0.0284393355, 0.035199713, -0.0032450627, -0.0073004048, 0.038608782, 0.0554992817, -0.0292889327, 0.0079351831, -0.0310858618, 0.0693103895, 0.1044679731, 0.0506641418, 0.0495162234, -0.0534955189, -0.0026393167, -0.026485052, 0.0067822067, 0.0237641186, 0.0330789648, -0.0062486646, -0.0157172177, -0.0044587096, -0.0026481147, 0.0274530295, 0.0131751858, -0.0146844434, 0.0160913561, -0.0142235281, -0.0684026927, -0.0043774643, 0.0138720619, -0.0398975909, 0.0074716313, 0.0046760528, -0.0097425785, 0.0263880901, 0.0753638521, 0.0127524231, 0.0160964169, -0.0175767913, -0.0051855156, -0.0043353038, 0.0082082069, 0.0071459468, 0.0225350186, -0.0072044036, 0.0045570531, -0.0103628058, 0.0017691964, -5.139959986e-33, -0.0068872739, -0.0856269747, -0.0193943568, 0.0151410578, -0.0222491175, 0.0220242683, 0.0200875569, -0.0324953273, 0.0401080549, -0.0419999659, -0.0372486673, -0.010517478, 0.0554033406, -0.016306093, -0.0531627275, -0.0252933688, 0.0050861668, -0.0346690267, -0.0232982542, -0.047754012, 0.016491022, 0.0322047882, 0.072623305, -0.0586627722, 0.0068377005, -0.0244569704, -0.0250404347, -0.0439350344, 0.0027233833, 0.0350490697, -0.0114003923, 0.0094081033, 0.0403010845, 0.0104309907, 0.0025823794, 0.0484267473, -0.014547932, 0.020934293, -0.0421086587, 0.0803184956, 0.0180594604, -0.0599491, 0.0254435446, -0.032582581, -0.063881442, -0.0027192731, 0.0034454549, -0.0524214692, -0.0218644552, -0.040163964, -0.0231431089, 0.0723143667, 0.045230072, 0.0078786425, 0.0988343582, -0.0426431224, 0.0153790824, 0.0192079544, -0.0487327576, -0.0029701905, 0.0462878272, 0.0241775569, 0.0418900959, 0.0366149433, -0.0234378651, 0.0405056886, 0.0068038837, -0.0059450967, 0.0241023749, -0.0521260388, 0.0112464204, 0.0318608545, 0.0580095984, 0.0336217023, 0.0438924022, 0.0034594028, -0.0186392386, 0.0408865362, 0.0318900347, -0.0029052999, 0.022526104, 0.0350142531, -0.0339852087, 0.0135968048, 0.0316444226, -0.0226710849, -0.0201539285, -0.0183131304, 0.0494636707, 0.0144780688, 0.0017380085, -0.0251113791, 0.0271977689, -0.0081114201, 0.0109756738, -0.0463089123, 0.0127496608, 0.0357951894, -0.0057146819, -0.0256354827, -0.03794083, -0.0459361523, 0.0349946395, 0.0077490923, 0.0053761834, -0.0424591899, -0.0076817316, -0.0103765465, -0.0789805725, 0.0205697641, 0.0036702736, -0.0016254029, 0.0461299047, 0.0215175562, 0.0221899617, -0.0950850621, 0.0332679562, 0.0202078745, 0.017387744, -0.0076384256, -0.0050222399, -0.0039450554, -0.0199893229, 0.0407887846, -0.0378433801, 0.0663577318, -0.0021093914, 0.0205567218, -0.011076035, -0.0021586865, 0.0061578425, 0.0063540367, 2.24e-7, 0.041369997, 0.0229111053, 0.0790217221, 0.0119087473, 0.0036094, -0.0020221488, -0.0515098013, 0.0053608045, -0.0311912782, -0.0085325362, 0.0091642011, -0.0142109143, 0.0939591154, -0.0295768268, -0.0430689566, 0.0292086639, -0.0190214012, 0.0117931738, -0.04789472, 0.0473325737, 0.0914177299, 0.0057934779, -0.0366842337, -0.0227561761, 0.0230877958, -0.0689105168, 0.0215451922, -0.0540007837, 0.0472570322, -0.0201162845, 0.0654592812, 0.027585173, -0.0151095185, 0.0122972, 0.0165295657, -0.0315977782, 0.0252601504, 0.0284109805, -0.0058908486, 0.0133780623, 0.0086012166, -0.0025907836, 0.007265117, -0.0163266398, 0.0458358824, 0.0549341664, 0.0189269111, -0.0188178588, -0.0138425818, -0.0699966699, 0.0129771112, -0.0229857806, -0.0022732676, 0.0314428881, 0.0257618185, -0.029986497, -0.0482493937, -0.0268812086, -0.0137220398, -0.0475355461, -0.0127853239, -0.0428232029, -0.0664559677, 0.0636224523, 0.0214389153, -0.0396318138, -0.0538886227, 2.112678344e-34, -0.0200784151, -0.0496609956, -0.0186129492, 0.0601787232, -0.0114258835, 0.0156772472, 0.0045001912, -0.0152331432, -0.0573041439, -0.0304226205, 0.0338936709 ]
http://arxiv.org/abs/2406.11668v1
http://arxiv.org/pdf/2406.11668v1
"Not Aligned" is Not "Malicious": Being Careful about Hallucinations of Large Language Models' Jailbreak
2024-06-17T15:51:01
2024-06-17T15:51:01
Lingrui Mei, Shenghua Liu, Yiwei Wang, Baolong Bi, Jiayi Mao, Xueqi Cheng
cs.CL
cs.CL
"Jailbreak" is a major safety concern of Large Language Models (LLMs), which occurs when malicious prompts lead LLMs to produce harmful outputs, raising issues about the reliability and safety of LLMs. Therefore, an effective evaluation of jailbreaks is very crucial to develop its mitigation strategies. However, our research reveals that many jailbreaks identified by current evaluations may actually be hallucinations-erroneous outputs that are mistaken for genuine safety breaches. This finding suggests that some perceived vulnerabilities might not represent actual threats, indicating a need for more precise red teaming benchmarks. To address this problem, we propose the $\textbf{B}$enchmark for reli$\textbf{AB}$ilit$\textbf{Y}$ and jail$\textbf{B}$reak ha$\textbf{L}$l$\textbf{U}$cination $\textbf{E}$valuation (BabyBLUE). BabyBLUE introduces a specialized validation framework including various evaluators to enhance existing jailbreak benchmarks, ensuring outputs are useful malicious instructions. Additionally, BabyBLUE presents a new dataset as an augmentation to the existing red teaming benchmarks, specifically addressing hallucinations in jailbreaks, aiming to evaluate the true potential of jailbroken LLM outputs to cause harm to human society.
[ -0.0058277659, 0.0391954556, -0.012123825, 0.0238456, -0.0507983938, -0.0249391403, 0.0098128654, -0.0110312384, 0.0413286462, -0.0141316336, -0.02140457, -0.0302934535, 0.0284086298, 0.021559041, 0.0250836518, 0.016732404, 0.0728551596, -0.0430279449, -0.0126339514, 0.0250150394, 0.0088204267, -0.0125171393, 0.0157702621, 0.0443294309, 0.0002396025, -0.0184968095, -0.0109326169, 0.0334202684, 0.0353268944, -0.0408757664, -0.0174918883, 0.030125441, -0.0587549694, 0.0470094532, 0.0000022888, -0.03903988, -0.0304524489, 0.0311640278, -0.0034101533, 0.0479774512, -0.0046738395, -0.0236830711, -0.0385608636, 0.0372362807, -0.0101773972, 0.0061890311, 0.041071251, 0.0229742676, 0.0576229468, 0.0621469468, 0.0154274181, 0.03245667, 0.0529177822, 0.0119798305, 0.0341589153, -0.0216521118, -0.005398016, 0.0054368665, -0.0056852135, 0.0225586258, 0.0181271378, -0.0469282083, 0.0420968235, -0.014343515, -0.0661650524, 0.0048099249, -0.0609744228, -0.0196389742, -0.0037971672, 0.0345569663, -0.0465811379, -0.0270413309, 0.0115309069, 0.0024870732, -0.0144925173, -0.018122578, 0.0396791175, 0.0389158837, -0.0254183002, -0.0064075789, 0.0540765114, 0.0253674611, 0.0742891207, -0.0200521462, -0.0120983683, 0.0778074339, 0.0031943968, -0.0205519255, 0.0177135337, -0.0465699323, 0.0071643461, -0.05542472, -0.0377960801, -0.0285073277, -0.0044804439, 0.018975459, -0.0623561591, -0.0299555268, 0.0623372756, -0.0782367736, -0.0443468764, 0.0245780256, -0.0153742544, 0.0121978456, -0.008753553, 0.0049559786, -0.0047567296, 0.0452558324, 0.0128053557, 0.0464697741, 0.0150950514, 0.0027721738, -0.0087434519, 0.0174321141, 0.0266973674, 0.0358688943, -0.0432310775, 0.0231530555, -0.0594355017, 0.0494716018, -0.0467007831, -0.0144403148, 0.0231992472, 0.0227373205, 0.0496505424, -0.0514422581, -0.0291459691, -0.0389941111, 0.0035511651, -0.0949905589, 0.003486318, -0.01315975, -0.107664071, -0.0396814942, -0.017551519, 0.1140638664, 0.059999045, 0.006792374, -0.0550946407, -0.0775569975, -0.0518465117, -0.0260297433, -0.0102238851, -0.0784439147, -0.0731280446, -0.0151957786, -0.0020161506, -0.0531801581, 0.0131885745, -0.0306794848, -0.0447811075, 0.0366525613, -0.0179713964, -0.0223677494, -0.0352697372, 0.0681928247, 0.0162397213, 0.074345313, 0.0115505792, 0.0560326502, 0.0424180217, -0.0478926934, 0.0461167693, 0.0509240516, -0.0272586439, 0.053310737, -0.0337182954, -0.0115930093, 0.0736818612, -0.0381134301, -0.0352751911, 0.0422972701, -0.0036861356, -0.0126628382, 0.051720053, 0.0010894032, -0.0316179246, 0.0311282109, -0.0329160169, -0.0310304035, -0.0064629754, -0.0121253375, -0.067740649, 0.0196995474, -0.0931111798, -0.0128028989, -0.0029411179, 0.0336770788, -0.0038532668, 0.0066003883, -0.0140823517, -0.0054094885, -0.009900365, -0.0150603624, 0.0082533099, -0.0032680612, -0.0189744588, 0.0456540473, 0.0367076695, -0.0416076034, -0.0425055474, -0.0844820663, -0.0095602376, 0.065042451, 0.0386677086, -0.0169197675, -0.0110342223, -0.0020783525, -0.0351746231, -0.0130467871, 0.0085076448, 0.0247982256, 0.0205447786, -0.0116019193, 0.0135257188, -0.0216307938, 0.043561779, 0.024085125, -0.0209612194, 0.0146268336, -0.0118482187, -0.028729273, -0.0750557929, 0.0164759178, 0.027104469, 0.0245562214, 0.0007466726, 0.0314488225, 0.0040398738, -0.0057894741, -0.0525985993, 0.0309714694, 0.0398509614, 0.0213872064, 0.0277077369, 0.0313228965, -0.0229525901, 0.0182918478, 0.031777855, -0.0339621082, 0.0263699181, 0.0763440058, -0.0205282439, -0.0064499145, 0.0778638348, -0.0285787079, 0.0047001895, 0.0305242874, 0.0537026636, -0.0293306541, 0.022906838, -0.0126063265, -0.0037093516, -0.026031075, 0.0286978874, -0.0574566573, 0.0192865282, 0.0151484478, 0.0267271344, -0.078254953, 0.018951837, -0.0388197862, 0.0414479412, 0.0092186611, 0.0351604596, -0.0296865087, -0.0334204696, -0.0541397706, -0.0094282143, -0.0359516814, 0.0371941067, 0.0599522069, 0.0200738087, -0.0163132288, -0.0093258722, 0.0172660928, -0.0157399122, 0.0227063727, 0.0377715454, -0.0032328113, -0.0330634266, -0.071998179, -0.0127915433, -0.0054855151, -0.0138947796, 0.0635702014, -0.0164915863, 0.0047410848, -0.0252571683, 0.0242129117, -0.001619107, -0.0161752794, -0.0223597046, -0.0696234331, 0.0374008715, 0.0061067152, -0.0019470829, 0.0352304317, -0.0010007613, 0.0488433056, 0.0825362727, 0.0080560818, -0.0464408286, -0.0416044071, 0.0594494976, -0.0497436672, -0.0134113608, -0.1016451865, 0.0161905084, 0.0617874116, 0.0000441939, -0.0145001346, -0.0280358437, -0.0123854475, -0.0180697255, -0.0369145498, 0.018409593, -0.0483327433, -0.0336182006, 0.0109353792, -0.0331692845, -0.097711876, 0.0339743197, -0.0578685477, 0.0226701554, -0.0175283086, -0.023833774, -0.0199654605, 0.0361562371, -0.0437671542, 0.0122710029, 0.033606343, -0.0205035433, -0.0022908298, -0.0059931935, 0.0019836049, -0.0273979362, 0.0399436206, -0.0390224978, -0.004083836, -0.0103803119, -0.0043133828, -0.0288522076, -0.038734775, -0.0030533446, -0.0366849154, 0.0372968353, -0.0159196649, 0.0097450465, -0.0039924383, 0.0173127241, -0.016835114, 0.0154273622, -0.0199433863, -0.0056808065, -0.0305111986, 0.0032489023, -0.1034439802, 0.0565429479, -0.0057634446, 0.044527337, 0.0729450062, 0.0488666333, 0.0282028075, -0.0633756593, -0.003882722, 0.0175426193, -0.0025213244, -0.0182670746, 0.0575068742, 0.0532235913, -0.0181545019, -0.0372996666, 0.0414312854, 0.0220112782, -0.0028265798, 0.055134166, -0.0169791337, 0.0695402771, 0.029671587, 0.0196987484, -0.070789583, -0.0029045516, 0.0156125817, 0.0433722697, -0.0359607786, -0.0393619239, 0.0046718116, -0.0923404992, 0.003356382, 0.0442010239, -0.0375878923, 0.0183606129, -0.0477119349, -0.0264972672, 0.0143252406, 0.0238993224, 0.0037152821, 0.0061415513, 0.0025245352, 0.0081852274, -0.0849530101, 0.0021093467, 0.04627119, -0.0292209983, 0.057083834, 0.0732527375, -0.0376038626, -0.0547091216, 0.0126940282, 0.0481201708, -0.0029158304, -0.0138290329, 0.0257921685, 0.0343053415, 0.0500890128, -0.0208803415, 0.015392188, 0.0044616214, -0.0264576245, -0.0275152083, 0.0380613953, 0.0322131962, -0.0203243326, -0.0381471179, -0.0052177329, -0.0082206596, 0.0416901484, 0.0257476531, 0.0173697919, -0.0362094752, -0.0437430851, -0.0490875468, -0.0097479261, -0.0517006479, -0.0221540593, 0.0288948566, 0.0106356945, -0.038883768, -0.0394383222, -0.0029022736, -0.0441745371, 0.0559226386, 0.0479064733, -0.0289900228, -0.0410833023, 0.0261263885, -0.0097839879, 0.0107273068, 0.0216803327, 0.0726700351, -0.0635366663, 0.0543299019, -0.035838075, 0.0080075292, -0.0074127656, 0.0390506499, -0.0729309991, -0.0877001956, 0.029697001, 0.0832007378, 0.0315260217, -0.0440322049, -0.0516288206, -0.0391750708, 0.0214816593, 0.0454097092, -0.0426789112, 0.0166122615, 0.0600731261, -0.0414449535, 0.0149979135, -0.0045150346, -0.0215280261, -0.0218507182, 0.0689026564, -0.0040736455, -0.0487428457, 0.0237637516, 0.0053951284, 0.0528268628, 0.015381895, -0.0286567062, 0.025716316, 0.0446839072, 0.0189023074, -0.0093590682, -0.019306995, 0.0097061479, 0.0091590313, 0.0355234817, -0.0427777804, 0.0174370911, 0.0269823577, 0.011882483, -0.0076702288, 0.0136136692, 0.040353395, 0.0265406519, 0.0884143487, 0.0819928423, 0.022863593, -0.0224537458, 0.0358626582, -0.0082633039, 0.0513949767, 0.007844693, 0.0219390783, -0.0229435209, -0.0066426662, 0.0127203492, 0.0638313964, -0.0431482755, -0.0594024435, 0.0118445624, 0.0633570254, -0.0047698906, 0.0528053083, 0.0322610289, -0.0037205385, 0.0188193545, -0.0723217279, -0.0078081754, -0.0288061723, -0.0792260394, -0.0029643974, -0.0162423383, -0.0190653447, 0.0108705191, 0.0616895631, -0.0025294272, 0.0478612855, 0.0237954017, 0.0006408708, -0.0223050676, -0.0056534545, 0.0291718263, 0.0127098123, -0.0538053438, -0.0669922829, -0.0892439708, -0.0749834627, 0.0025808713, 0.001504316, 0.0601869859, 0.0337665677, -0.0347842164, 0.0417259559, -0.0065724007, 0.0426370502, -0.0576202944, -0.0302792806, -0.0229180399, -0.0275032502, 0.0139406417, -6.113659059e-33, 0.0328514241, -0.0319767036, -0.0405588262, -0.0388405025, -0.0102179116, 0.0119016403, -0.0401280895, 0.0409612693, -0.0222972259, -0.0387403667, 0.0092420829, -0.0188071188, 0.0102803623, -0.0207022969, -0.0008121947, -0.011959712, -0.01032364, 0.0346996002, -0.0521808751, 0.0217787232, 0.0483261161, -0.0075127124, 0.0172987152, -0.0587993599, 0.0358112045, -0.0309925172, -0.0338488519, 0.0234026406, -0.0362459905, 0.0360773914, 0.0394565687, 0.0004575563, -0.00297653, -0.0307560787, -0.0007178954, 0.0203573797, 0.0242787544, -0.0091166906, 0.0096049765, -0.0042496785, -0.0210188963, -0.0419252776, 0.016197918, 0.0310090259, 0.0080208629, -0.0284958724, -0.015527471, -0.0161769632, -0.0223210976, 0.0187075399, 0.0044601657, 0.0038343752, -0.0498787202, 0.0310043674, -0.0158775356, -0.0039666416, -0.008760483, -0.0196415279, -0.0305379797, 0.0235281121, 0.0350651704, -0.0107853496, 0.0598147772, -0.0000179562, -0.0146769779, 0.0634528697, -0.0076681133, 0.0028391145, 0.0181607753, -0.0009613243, 0.0339109041, 0.081365481, 0.0314021073, 0.061415486, 0.0490000471, -0.0211256761, -0.0718203336, 0.0215555131, 0.0200946536, 0.023311073, 0.0143645499, -0.0182323679, -0.0724186227, -0.0083872592, -0.0161582716, -0.001641222, -0.0179501772, -0.0607161745, 0.0097864326, -0.0274949148, -0.0375851579, -0.0290627144, 0.0087991133, -0.039278429, 0.0019353619, 0.0316098034, -0.0098696006, 0.0110834679, -0.035775125, 0.0240236428, 0.0196144655, -0.0091775954, -0.0047501745, -0.0272203013, 0.067062825, -0.0044434746, 0.0507061034, 0.0051864842, -0.0680776387, 0.0112820212, -0.0258990563, 0.0438550711, 0.0050965031, 0.0156260971, 0.0184479784, -0.0361283943, -0.0076476745, -0.0111250784, 0.0404734984, 0.0152540049, -0.0441618189, 0.0579352863, -0.0201488379, 0.0239296649, 0.0149907349, -0.0008573438, -0.0032041001, -0.0065509346, 0.0554426871, -0.051444076, -0.0221588984, 0.001590143, 3.116e-7, -0.0310366713, 0.0011474518, 0.0385815427, 0.0071134041, 0.007665277, 0.0831804574, -0.0340172313, 0.0670153648, -0.0000095968, -0.0346722603, -0.043495506, -0.0172709078, 0.0688371956, 0.0655456409, 0.0076644123, 0.0245243143, -0.0751039386, 0.005654518, -0.0565737337, -0.023129357, 0.0248942748, 0.0315450765, 0.0087684421, -0.0433678143, 0.0091974707, -0.0477485843, -0.0233888123, -0.0101083349, 0.0002161229, 0.0201909188, -0.0042231795, 0.0369337015, 0.0121858688, 0.039036952, -0.0230939314, -0.0467058159, -0.0375417285, 0.0187584907, 0.0083034132, 0.0017931428, -0.0407514721, -0.0439466648, -0.0061086612, -0.0434219092, 0.0563020632, 0.0501316637, -0.009336534, -0.026363736, -0.0144486735, -0.025108112, 0.0330548882, -0.0046936763, 0.0157160424, 0.011479497, 0.010806608, 0.0160559546, 0.0126239983, -0.0190525558, -0.0316214524, 0.0156540107, -0.001942926, -0.0487447679, 0.0029843035, 0.0921011716, 0.007587804, -0.0304919854, 0.0307061076, 3.247379368e-34, -0.0005275086, -0.0597691461, 0.0334864557, -0.0106676295, 0.0402838103, 0.0135492915, -0.0086521134, 0.0190746766, -0.0238368083, -0.0040379791, -0.0020775695 ]
http://arxiv.org/abs/2406.11665v1
http://arxiv.org/pdf/2406.11665v1
See It from My Perspective: Diagnosing the Western Cultural Bias of Large Vision-Language Models in Image Understanding
2024-06-17T15:49:51
2024-06-17T15:49:51
Amith Ananthram, Elias Stengel-Eskin, Carl Vondrick, Mohit Bansal, Kathleen McKeown
cs.CL
cs.CL, cs.AI, cs.CV
Vision-language models (VLMs) can respond to queries about images in many languages. However, beyond language, culture affects how we see things. For example, individuals from Western cultures focus more on the central figure in an image while individuals from Eastern cultures attend more to scene context. In this work, we present a novel investigation that demonstrates and localizes VLMs' Western bias in image understanding. We evaluate large VLMs across subjective and objective visual tasks with culturally diverse images and annotations. We find that VLMs perform better on the Western subset than the Eastern subset of each task. Controlled experimentation tracing the source of this bias highlights the importance of a diverse language mix in text-only pre-training for building equitable VLMs, even when inference is performed in English. Moreover, while prompting in the language of a target culture can lead to reductions in bias, it is not a substitute for building AI more representative of the world's languages.
[ -0.0089257583, 0.0609462783, -0.0225225445, 0.0519082807, -0.0126365479, 0.0635314509, 0.0543295331, -0.0237505287, 0.0267713722, -0.0655096322, -0.0705531389, -0.0674178675, 0.0030567145, -0.0005194478, 0.00161236, -0.0911916345, -0.0007736821, -0.0268828385, 0.0033402143, -0.0328496285, -0.0176948402, -0.0018190289, 0.0328828357, 0.010232646, -0.0172654502, -0.0085733468, 0.0349983349, -0.0134492312, 0.028036112, 0.001267886, -0.0274522454, 0.0176132843, 0.0094221206, -0.0220961552, 0.0000020513, -0.0518915839, 0.0466259271, -0.018931549, 0.0636596009, 0.0346397422, 0.0284701996, -0.0251901001, -0.0110717509, -0.0413606241, -0.0376074314, -0.0445851125, 0.0687160417, 0.0667650029, 0.012876817, 0.0184761025, -0.0006881329, -0.0541810207, -0.078379482, -0.0187159944, 0.0034336664, -0.0275128689, 0.049344264, 0.026145041, -0.0356365032, -0.0165085066, -0.0879490152, 0.0220014956, 0.0399932005, 0.0228643697, -0.035985373, 0.0451794863, -0.041356355, -0.0430716611, 0.0150205093, 0.0474357866, 0.0077796401, -0.0193067584, -0.0112268524, -0.0105235847, -0.0136744045, -0.0320734531, -0.0307587665, 0.0995382145, -0.0139249889, 0.021650387, -0.0135517875, 0.0141910966, 0.0190076139, 0.0067330971, -0.0169680621, 0.0390882343, 0.0049281986, 0.010385029, 0.0020525996, 0.0487033203, -0.0229844339, -0.044695545, 0.0170624945, -0.0154388566, 0.0043978682, -0.0038642441, -0.0214040559, 0.0086454032, -0.0199061129, -0.0444671661, 0.0131396754, 0.034889929, -0.0711268932, 0.0441823043, -0.0074455575, 0.0795078725, -0.0269013233, 0.0156968851, -0.0539928935, -0.0446344092, 0.0137524446, 0.0221918002, 0.0542429797, -0.0607117675, -0.021942772, -0.0013987848, -0.0721448734, -0.0105091855, -0.0392012782, 0.0033726927, 0.0060636098, -0.0194447655, -0.0159366783, 0.0065429262, -0.0285293106, 0.0627366304, -0.0235113297, -0.0152520444, -0.0789735019, -0.072561346, 0.0248002149, 0.0453074202, -0.0301260687, -0.0371469408, -0.0060294657, 0.0306057446, -0.0038069163, 0.0002957898, -0.0522598363, 0.0189763941, 0.0088764522, -0.0395251662, 0.0654259846, -0.0315148868, 0.0010768108, 0.0064352849, 0.0328262374, -0.0198082048, -0.0074863979, 0.0055250521, -0.0495360345, 0.0438668728, 0.0262402203, 0.0252471585, 0.0293475818, 0.0087732356, -0.0103099877, 0.0956653655, -0.0282545015, 0.0441710725, 0.0391163975, -0.008801695, -0.006954778, 0.0487325266, -0.0348084755, -0.018479757, -0.0520955957, 0.006272811, 0.0105164945, -0.0147247994, 0.0575442277, 0.0143725062, -0.0089829387, -0.0258114133, 0.0522190034, 0.0634200051, -0.0223664362, 0.0018958534, 0.0316421762, -0.0298467036, -0.0118858442, 0.0252922345, -0.0744496882, 0.0553139187, 0.0156478453, -0.0090639684, -0.0334240161, 0.0741452575, -0.0582296774, -0.022643609, -0.0031202068, -0.0189656001, 0.0114291888, 0.0357341208, 0.0477110483, -0.0096615963, 0.0465339795, -0.0141525166, 0.0451399721, -0.0309021678, -0.0024145518, -0.0265366398, 0.0319611654, 0.0033351579, -0.048539456, 0.0070711095, 0.0299563911, 0.0110799689, 0.0569120273, 0.0458244719, 0.0462988056, 0.0324164219, 0.0327090696, -0.0362761393, -0.0481349342, -0.0233243871, 0.0040533491, 0.0500079542, 0.0068575405, 0.0201299321, 0.0099199731, -0.0143695381, -0.0385605395, 0.0097713824, -0.008973782, -0.0051669511, -0.0228960849, 0.0351863354, 0.00278041, 0.0072069648, -0.0474429801, -0.0014011671, -0.0266175717, -0.0294300709, 0.0377362743, 0.0738688856, -0.0574252158, 0.0261203889, 0.0389733389, -0.1051145718, -0.0394346826, -0.0195188466, -0.002989983, 0.0012467951, 0.0573135465, 0.0143213188, -0.0033843091, -0.0361458771, -0.0289460644, -0.0274619181, 0.0099661574, -0.0127008958, 0.0412793271, -0.0210643522, 0.0055535897, 0.0047530564, -0.0154582784, 0.0390783176, -0.0038636143, -0.0462216362, 0.0325884335, 0.0276168678, -0.0081492802, 0.0394879319, 0.0227853525, -0.0236581843, 0.0435361713, -0.087744996, -0.0254922509, -0.0391743518, -0.0287064631, -0.0171117168, -0.0062994608, -0.0411234535, -0.0572819188, -0.0661304146, 0.01048622, -0.0070602074, 0.0535620935, 0.0027481269, -0.0232711006, 0.0431145653, 0.0039051857, -0.0108295223, 0.0215839539, 0.0593484603, 0.0394550376, -0.0161872581, -0.0482118987, 0.0258680508, -0.0287058745, 0.0415924378, -0.0358774923, -0.0354318805, 0.0094571151, 0.0012862325, 0.0355008245, 0.1212670505, -0.0253073052, -0.0014783321, 0.0819014385, 0.0047238902, -0.0153740151, -0.0285190176, 0.0572572127, -0.028023582, 0.0156185254, -0.0771012232, -0.0166929979, 0.052120693, -0.0216612518, -0.0093290517, -0.0503808223, 0.0391813479, -0.0702387542, -0.0788765177, -0.0386063457, -0.0091814725, 0.0269583929, 0.0889965892, -0.0367857926, -0.0476949699, 0.0597695261, -0.002728834, -0.0262077209, 0.0038969736, 0.0235921089, -0.0384380668, 0.0389047191, 0.0231428128, 0.0584100671, 0.0112563558, 0.0046079331, -0.0587785468, -0.0141117191, 0.0330931433, 0.0023660029, 0.0351715274, -0.0319593698, -0.0424043275, -0.0531488433, -0.0201651771, -0.040542461, 0.0194653124, -0.0297345109, -0.0044701826, -0.0145052988, 0.0126505401, -0.0071461704, 0.0119809285, 0.0647845939, -0.0067090788, -0.0119812628, 0.0389759056, 0.0331803747, -0.0446891263, 0.043614015, -0.0011533211, 0.0210074112, -0.0510161035, -0.0047356975, 0.0321223289, 0.0441091992, -0.0256749205, -0.0381216221, 0.0491735153, 0.0324266404, 0.0225011632, -0.0262453277, 0.0021535645, 0.0785288364, -0.0179583821, 0.0416992903, 0.0790245682, -0.0024490345, -0.071604006, -0.017521387, -0.015638303, -0.0303063728, 0.055607222, 0.03301806, -0.0981897712, 0.0184659734, -0.0220390372, -0.0280502755, 0.0009795624, -0.0158791989, -0.015429819, -0.1063965112, 0.0341960341, 0.0316417105, -0.0275688414, -0.0300828721, 0.0147046959, -0.0120674577, -0.0357964486, 0.0120480871, -0.0250446405, -0.0071682693, -0.0024981995, -0.006987338, 0.0226651058, -0.0276431106, 0.014464343, -0.0726183131, -0.0151817175, 0.0441825576, -0.0030169981, 0.0016260032, -0.0578754432, 0.0192801636, 0.0096884705, 0.0219848566, -0.0211078711, 0.0035091864, -0.0033240551, -0.0707270429, 0.0084629674, -0.0017942926, 0.0055244137, -0.0166397691, 0.0110875526, 0.0288018491, 0.0126233231, -0.0229048971, -0.0266563315, 0.0165984854, -0.0214530434, 0.0289964303, 0.0202358682, -0.0454265662, -0.0133326845, -0.0317449942, -0.0226094816, 0.0203969702, -0.0670052469, 0.0510852188, -0.0443778336, -0.0439374745, -0.0326220617, -0.0646068305, 0.0042852173, 0.00554652, 0.0241925567, -0.0813257396, 0.004609603, 0.0004797489, -0.0467244871, 0.0976967439, -0.0227196477, 0.0167318769, 0.0248918664, -0.0048007099, 0.0220488757, -0.0622533672, 0.0102161868, -0.0111950915, -0.0225233715, -0.0382019803, -0.0002450488, 0.0820575282, 0.0037565029, 0.0203815289, 0.0417276062, -0.0455840938, -0.004303921, 0.0013253746, 0.0588212498, 0.029428862, -0.0058860322, -0.0077693928, 0.0135316094, 0.0192267094, -0.0320122615, 0.0573199801, 0.0812425464, -0.0210795812, -0.0182216298, 0.0127505763, -0.0042443019, 0.0161219779, 0.0524996072, -0.0325478204, 0.0310675129, -0.0302321129, -0.0126225846, -0.0280569047, -0.0337228887, -0.0117390081, -0.0407217965, -0.00434343, 0.0143224923, 0.0094393203, 0.0222961921, 0.0057480959, -0.0195919499, -0.0502902083, 0.031571079, 0.0456637666, -0.0032205947, -0.0280140955, 0.0442188978, -0.0115585597, 0.040639203, 0.0062415246, 0.0498339273, 0.0234733243, 0.0777197853, 0.0087238783, 0.0000025476, -0.0184234716, 0.003655833, -0.0190382022, -0.0677749515, 0.0466996804, 0.0317482427, 0.1103222296, -0.1025308445, 0.0265326388, 0.0066907317, 0.0064225439, -0.01748785, 0.0057114842, 0.0406288765, -0.0240436364, 0.0398743823, -0.0116793998, 0.0059248442, -0.0336721614, 0.0621328242, -0.0260406733, 0.007647675, 0.0202739798, -0.015329048, -0.0178492442, -0.034266796, 0.0662745684, -0.0291156061, -0.0380878523, 0.0449327677, -0.0468659066, -0.067078419, -0.0417150632, 0.0332127102, -0.0078296531, 0.029821489, 0.0290810931, 0.0610199273, 0.0047089071, -0.0400417745, -0.019635722, -0.0100002959, -0.0306895841, -0.0075024739, 0.0370980017, -6.316666566e-33, -0.0203534141, 0.0113966838, 0.0172338299, -0.0161496717, 0.003687192, -0.0055781826, -0.0060187792, 0.019515913, -0.0445213467, 0.0336761102, 0.0034832605, -0.0102936933, 0.0050293971, 0.0088545186, 0.0229276959, 0.0153329019, 0.0222659539, 0.0216770936, -0.0096639218, -0.0283803195, 0.0123709543, 0.0050934716, 0.0734153911, -0.0807428509, 0.0042963382, 0.0281486921, 0.0213807281, 0.0141202826, 0.0360405967, 0.0467193946, -0.0366168395, 0.0325961746, 0.0434778407, 0.0001984261, -0.0345314294, -0.0005540308, -0.0399118289, -0.0371992998, 0.0355598256, 0.07568378, -0.0010938987, -0.0181867015, 0.0302675553, -0.0345259979, -0.029484313, -0.0051173219, 0.0385053195, -0.0433533862, 0.0167956892, 0.0358922891, -0.0244121291, -0.0040629231, -0.0064326026, 0.0289404057, 0.0607871264, 0.0244823098, -0.0036809477, 0.0401597843, -0.0142859658, 0.0506898239, 0.0185661633, -0.0037931446, 0.0940075293, 0.0443738699, 0.0317119248, 0.0494213402, 0.0816558525, -0.0018325481, -0.0121043157, -0.089020513, 0.0331467241, -0.0137035372, -0.0077223587, 0.0969808474, 0.0146969557, 0.0258827917, -0.0676402599, -0.0160866603, -0.0165227167, 0.0562096462, 0.0098740794, 0.006274255, 0.0018088623, -0.023890337, -0.0264298748, -0.0527913794, -0.0357622392, -0.0069706948, 0.033184737, -0.0076874471, 0.0097682606, 0.0242618937, 0.055043593, -0.0592834763, 0.0221237242, -0.0132426675, 0.0203767717, -0.0019492758, 0.0133077661, -0.0053618322, -0.056766592, -0.0042098016, -0.0001843383, 0.0088837026, -0.008415699, 0.0252125524, 0.0189926475, -0.0162017643, -0.0244319495, -0.0206653439, -0.046373751, -0.0438262746, 0.0217273422, 0.0432013795, 0.0456296355, 0.0177771058, -0.0354816318, -0.0006918784, 0.0258669648, -0.0321497731, -0.0267410465, -0.0620003082, -0.0060667787, 0.0440918617, -0.0427152738, -0.0170531422, -0.0246739257, 0.0249284171, 0.0367596038, -0.0659859404, -0.0243620574, 0.0004009522, 2.667e-7, 0.0366538204, 0.0284833331, -0.0125301797, 0.0423842408, 0.0309377257, 0.0285782497, -0.0425812528, 0.0101663675, 0.032039497, -0.0215083249, -0.0289299861, 0.0475995429, 0.0224861801, 0.0011193474, -0.0385704599, 0.015396175, -0.0319250487, 0.0126743894, -0.0470521003, 0.0164197776, -0.0010602473, 0.0622525588, -0.0366298929, 0.0056842705, 0.0175552294, -0.0339351855, 0.0877474025, -0.0800248384, 0.002411505, -0.0313714258, -0.0182036664, -0.0150117883, 0.0008641517, 0.0447486378, 0.0125485584, -0.0020713471, 0.0400329083, 0.019404415, -0.0102704093, 0.035175588, -0.0088414606, 0.0640726984, -0.0281027611, -0.0870176032, 0.0607309006, -0.0310894623, -0.0347119272, -0.040312767, 0.0008151896, -0.0116865858, 0.0763463303, 0.003017023, -0.0008625756, 0.009071066, 0.0287428759, 0.0004033344, -0.0173313785, -0.0356382802, -0.0257801898, -0.0374621004, -0.0008991605, -0.0180355795, -0.0218219869, -0.0197461322, 0.0297770221, 0.0353440195, -0.0255835652, 1.728308681e-34, 0.0245658383, -0.007037905, 0.0219176393, -0.0059929495, 0.0070934198, -0.0225634463, -0.0106302071, -0.0046622637, -0.0070526223, -0.0020179802, 0.0040272828 ]
http://arxiv.org/abs/2406.11661v2
http://arxiv.org/pdf/2406.11661v2
Cultural Conditioning or Placebo? On the Effectiveness of Socio-Demographic Prompting
2024-06-17T15:43:45
2024-06-20T08:25:08
Sagnik Mukherjee, Muhammad Farid Adilazuarda, Sunayana Sitaram, Kalika Bali, Alham Fikri Aji, Monojit Choudhury
cs.CL
cs.CL
Socio-demographic prompting is a commonly employed approach to study cultural biases in LLMs as well as for aligning models to certain cultures. In this paper, we systematically probe four LLMs (Llama 3, Mistral v0.2, GPT-3.5 Turbo and GPT-4) with prompts that are conditioned on culturally sensitive and non-sensitive cues, on datasets that are supposed to be culturally sensitive (EtiCor and CALI) or neutral (MMLU and ETHICS). We observe that all models except GPT-4 show significant variations in their responses on both kinds of datasets for both kinds of prompts, casting doubt on the robustness of the culturally-conditioned prompting as a method for eliciting cultural bias in models or as an alignment strategy. The work also calls rethinking the control experiment design to tease apart the cultural conditioning of responses from "placebo effect", i.e., random perturbations of model responses due to arbitrary tokens in the prompt.
[ -0.0062066647, 0.0588099696, -0.0417875685, 0.0009897903, -0.0177776236, 0.0408629924, 0.0639244914, -0.0076181018, 0.0574820936, 0.0244240295, -0.0212035552, -0.02705184, 0.0221625194, -0.0073939594, 0.0395857692, 0.0046413713, 0.0379552804, 0.0176066179, 0.0238280073, -0.0111534223, -0.0108543653, 0.0122328112, 0.0496996343, 0.0100859283, 0.0212666541, -0.0077729383, 0.0204360448, 0.01293106, 0.0366795473, -0.0687822178, 0.0440270267, 0.0243954062, 0.0211955234, -0.0115776621, 0.0000020417, -0.0924832523, -0.0231824238, -0.0105100144, -0.0277640298, 0.0348791406, 0.0517559089, 0.006948336, -0.0031485339, 0.0017591314, -0.0499187708, 0.0336176269, 0.0104560563, -0.0048287688, -0.0411184579, 0.0150471358, 0.0116109671, 0.0089653106, -0.0748740882, -0.0092550786, -0.0023495494, 0.0260828398, 0.0262945741, -0.0206058621, -0.0407200232, -0.0027410572, -0.0265747365, -0.0103071937, -0.0080201877, 0.0304274932, -0.020993812, -0.0233627874, 0.0052457051, -0.024186017, 0.002865806, 0.0294933412, 0.1044028625, 0.0341311283, 0.0085470947, 0.0022276284, 0.0495828837, 0.023012137, -0.0058547491, -0.0058354833, 0.0101286722, 0.0125573967, 0.0512451865, -0.0030254689, -0.0009066647, 0.0077895354, 0.0296468325, 0.1037331671, -0.0048586074, -0.0308813881, -0.0372320786, -0.0084273964, 0.0457390174, -0.061668735, -0.0310577564, 0.0176584031, -0.0032716531, 0.0014590295, 0.0183464158, 0.0662288889, 0.0342071205, -0.0111454232, 0.0050789276, 0.0923489258, -0.0495016128, -0.025977606, 0.0137994345, 0.067337133, -0.0266585313, 0.0030534999, 0.0023676064, 0.0297524296, 0.0257315505, 0.0142632397, 0.0834632739, -0.0377233922, 0.0003856246, 0.0464768149, -0.0930881351, 0.0099959886, -0.0254633781, 0.0418171585, -0.0413111784, -0.0361884274, -0.0001268464, 0.0016532663, -0.055465024, 0.048592329, -0.0378441364, 0.0244359579, -0.0139918504, -0.0677617863, 0.0099058365, 0.0118422396, -0.0039930739, -0.0278363042, 0.0181570593, 0.0390328653, 0.0076628961, 0.0166428033, -0.0724946782, 0.0109647643, 0.0099922922, -0.0450003259, 0.0449850149, -0.0379759334, 0.0227511525, 0.0255350545, 0.002058473, -0.0450574011, 0.0038035905, 0.0237186644, -0.0171182714, 0.0518386401, 0.035720557, 0.0264962688, 0.0238659084, 0.0295608081, -0.0423557311, 0.0637189224, 0.0024391911, -0.0090887826, 0.0388630778, -0.0274809599, 0.002429137, 0.0473936275, -0.0148436911, 0.0632612258, -0.0240373388, 0.0283553097, 0.0122837508, -0.028900547, 0.0837291628, -0.0151464818, 0.0163089298, 0.0338409804, 0.0250509251, 0.0688921958, -0.0070202597, 0.018335579, -0.0007332771, -0.0263855737, -0.0558600873, 0.0472246408, -0.1008407474, 0.0082157142, -0.0426883623, 0.0241495334, -0.0344244875, 0.054567378, -0.0330092423, -0.0020540883, -0.0340932645, 0.0152270766, 0.0188928246, 0.0423086211, -0.0115856035, -0.0608553477, 0.0330148451, 0.0177958254, 0.0138737131, -0.0149478773, -0.041586142, -0.0309838559, 0.0761067793, 0.0275758374, -0.0395893008, 0.0040176692, 0.025623152, -0.0245212559, 0.0244172197, 0.0320895277, 0.0458701365, 0.0366010927, -0.0379163623, -0.0249338038, -0.0454644412, -0.0077890619, -0.0279270709, 0.0396599881, 0.0158326309, 0.0405153893, -0.016379023, 0.0267849825, 0.0168135744, 0.0152496696, -0.0304587167, -0.0253852364, -0.063390784, 0.004239392, 0.069601588, 0.0042799367, 0.0146556674, -0.0183495507, -0.0320385695, -0.0021370957, 0.0515088327, 0.0203144252, -0.0296324492, 0.0215155929, 0.0135719068, 0.002248781, -0.0386965051, -0.0138283111, -0.0104885967, 0.0326559618, 0.0085557373, 0.0561429448, 0.043813806, 0.0058764801, -0.0024235232, -0.0035913598, 0.0079996819, -0.0245091785, 0.0137352664, -0.0537984185, -0.0028202075, 0.0146912616, -0.0023395766, 0.0126200346, -0.0372572988, -0.010711045, 0.0335857943, -0.0161696896, -0.034572944, -0.0032183581, 0.0190471206, -0.0467245914, -0.0087649692, -0.0601884089, 0.0176178645, 0.019367395, 0.0076521407, -0.0085945344, -0.0148061533, -0.0718277693, 0.0192527696, -0.0955042019, -0.0285948105, 0.0752258673, 0.077440232, 0.0251073986, -0.0462194085, -0.0178242475, -0.008917301, -0.0142917531, -0.0302923862, 0.0128793763, -0.0112542659, -0.0347281396, -0.0417975895, -0.024929069, -0.0620157458, -0.0161929615, -0.0225862451, -0.035781417, -0.0080012893, 0.0715716705, 0.0883618295, 0.0370950028, -0.0149666872, 0.0035480643, 0.030950604, 0.0013204309, -0.0541090183, -0.0232412238, 0.013652496, -0.0084781293, 0.0175624583, -0.1248432621, -0.0477119274, 0.0430193432, 0.0143493954, 0.0183100179, 0.0064447368, 0.060568057, -0.0418503061, -0.0258831605, 0.006390064, -0.0249471627, -0.0202688295, 0.0876833647, -0.0332254209, -0.0782110319, -0.0047310139, 0.036716111, -0.0156279504, 0.0179085508, -0.0128636761, -0.0344440192, -0.0163884908, -0.037240427, -0.0080172829, 0.0263305362, 0.0004960556, -0.0482095219, -0.0455500707, 0.008040145, -0.0343010016, 0.0437565483, 0.0024993026, -0.0220413283, -0.04335263, -0.0273928549, -0.034680292, 0.0113311335, -0.0069445618, 0.0148143321, -0.0030088348, 0.0162073784, 0.0170262717, -0.0233080983, 0.0530117154, -0.0320126079, -0.0133426702, 0.0183558557, -0.0066339131, -0.0451348238, 0.0146511327, 0.0402916968, 0.0273644645, -0.0648742989, 0.022220334, -0.0338330194, -0.0004949743, -0.0419547148, 0.0053126412, 0.0518759601, 0.0644083172, 0.0325430781, 0.0098017417, 0.0395877101, 0.0732140467, 0.0034522119, 0.0688015074, 0.0504689105, -0.0292486176, -0.006840704, -0.022460755, -0.0707498714, 0.0269245822, 0.0161143914, 0.0040571797, -0.0744697452, 0.0581218451, 0.0307806805, 0.0115080401, -0.0596082285, 0.002407968, -0.0326704197, -0.0550737642, 0.0371169709, 0.019581141, -0.0133010056, -0.0100660492, 0.0297914091, 0.0239919964, -0.0192683823, 0.0476559959, -0.0005606887, -0.0105178617, -0.0186276753, -0.0044136401, -0.0553798974, -0.0324034542, -0.0149657819, -0.0492672026, 0.0442518219, 0.0465545617, -0.0044187591, 0.0087983096, -0.0930082947, 0.0271363016, 0.0193374138, -0.0187501945, 0.0008830585, -0.03644187, -0.015784191, 0.0086460747, -0.0349326916, 0.0132371215, 0.0121128885, -0.0078128213, 0.0236509647, -0.0021511072, 0.0072476855, -0.0152559811, 0.0077296323, 0.0186113399, -0.0282012783, 0.0515390858, -0.0074961586, -0.0352785997, 0.0451278389, -0.0597772002, -0.0581124686, 0.0642692223, -0.0346700959, 0.0147902919, -0.0704128966, 0.0058121732, 0.0197268147, -0.0780853108, -0.0099404734, -0.0127412174, 0.0232253782, -0.0361077078, 0.003259639, -0.0287333541, 0.0152172716, 0.0589043349, -0.0429391526, 0.0070511363, 0.0094393436, -0.0149237039, -0.0103920624, -0.0380952284, 0.0220191162, -0.0273559, -0.0307477713, -0.027970897, 0.0453286953, 0.0431431271, 0.0285402536, 0.0302349906, 0.0635510385, 0.0651189983, 0.0005377646, 0.0137591027, 0.037540134, 0.0463577062, -0.0118982019, 0.1086627916, -0.0086871283, -0.009810891, -0.0069020879, 0.0174015313, 0.0695918798, -0.0043049678, -0.0476628058, -0.017237924, 0.0247206427, 0.0156929698, 0.0425323434, -0.0571623705, -0.00876523, -0.0330710784, -0.0285338871, -0.0175403841, 0.0001376119, 0.0184993725, -0.0755179226, 0.0250445213, 0.0027597211, 0.0161677804, -0.0216504801, -0.0535843149, -0.0043816664, -0.0939725861, 0.0841678903, -0.0134933684, 0.0290733036, -0.0154163493, 0.0277412739, -0.0175919607, 0.0692527592, -0.010340197, 0.0150304176, 0.0321304426, 0.1240414381, 0.0102248015, 0.0104231471, 0.0170338415, 0.019251544, -0.0056462884, -0.0102707567, 0.0009505691, 0.0135889156, 0.0032595028, -0.076683186, -0.0014068236, 0.027803069, -0.0030837343, -0.02360842, -0.002479227, 0.0123967705, -0.0113242185, 0.0561376363, -0.0197908245, -0.0547076091, -0.0219784658, -0.0123406006, -0.0201645028, 0.0057393028, -0.0477065891, -0.0233271476, -0.0225423798, -0.0340297632, 0.0993327945, -0.0625745058, -0.0413972065, -0.0216791891, -0.0929181725, -0.0346523784, -0.0275692418, -0.0159080606, -0.0164239816, -0.0374431238, -0.0233400092, 0.0402568504, -0.0421852507, -0.0386827029, 0.0190727338, -0.021379916, -0.027531242, -0.0282234456, -0.0259919427, -6.319966766e-33, -0.0474603474, -0.0227713585, 0.020778235, -0.0118763391, -0.0038124768, -0.0336496383, -0.0060748793, 0.0169307869, -0.0142879393, -0.0353139974, -0.0251040272, -0.0196076743, 0.0195705928, -0.0526566021, 0.0311529003, -0.0367200263, -0.0181404389, 0.0032816324, -0.0265291128, -0.0616497733, -0.0415477864, 0.0036719732, 0.0427770689, -0.060163267, 0.0839923248, -0.0139172198, 0.008700069, -0.0355581716, -0.0023831003, 0.0207709502, -0.0417051502, -0.0091862809, 0.0349992104, -0.015690973, -0.000895132, 0.0659615919, 0.004780056, -0.041963581, 0.0587628335, -0.0041367267, 0.0441859104, -0.081189692, -0.0114890495, 0.0131292595, -0.0795955509, 0.0315593891, 0.0251285173, -0.0274906531, 0.0294191539, 0.0018342139, -0.0241107848, -0.0046589398, 0.0047940616, 0.044452969, -0.0277237669, 0.1063895822, -0.0138601121, 0.0516019538, -0.0239089001, 0.0118197603, 0.0347085819, -0.0255378261, 0.0683913156, 0.0329682492, 0.0151431095, 0.0169021823, -0.0007142473, 0.0439330339, -0.0464087687, -0.0613824427, 0.0187346935, -0.0348732509, 0.01457405, 0.066682674, -0.0177036207, -0.0217908658, -0.0119888959, 0.012702547, 0.0680043101, -0.0247753989, 0.003397743, 0.0381784216, -0.0241594315, -0.0133188954, 0.0136021813, -0.0322557762, -0.0062058559, -0.0436475351, 0.0471639968, -0.0131148901, 0.0303605758, -0.0454350822, 0.0622230954, -0.0029654102, -0.0159331914, -0.0524654277, 0.0045147724, -0.0367206223, 0.035815157, -0.0147613883, -0.0313206799, 0.0106731122, -0.0403426886, 0.0193056222, 0.0282741953, 0.0415449925, -0.0071651456, -0.0165188611, -0.0773693323, 0.0109217875, -0.0106197065, 0.0049102874, 0.0301426053, -0.0660723969, 0.05905338, -0.0105274003, 0.0450588092, -0.0253067128, 0.0497892275, -0.0105518214, -0.0337991491, -0.0160668865, -0.0461564884, 0.0539021157, -0.0292199496, 0.0129933581, 0.0277154446, 0.070472464, 0.0074680545, 0.0099421348, -0.0099613648, -0.043745853, 2.673e-7, -0.0407110266, 0.037220493, -0.0158458874, 0.0343944356, 0.0075003868, 0.0061905007, -0.0653142333, 0.04021658, 0.0644707978, -0.0401932821, 0.0287829824, -0.026277164, 0.0267794915, -0.0088396119, -0.0561951399, -0.0085302889, -0.0163210575, 0.0092166234, -0.0226916131, 0.0389003009, -0.0136362882, 0.0069672959, -0.023442803, 0.0151622016, -0.0531659573, 0.0288863201, 0.0311390124, -0.1064756364, -0.0329126529, -0.0177341513, 0.0315901302, -0.0320532285, -0.0054582222, 0.0277204756, 0.0210189708, 0.0017210355, -0.0094787069, 0.0717173964, 0.024684066, 0.0069109593, -0.0048350655, -0.0202553272, -0.011496882, -0.0776704773, 0.0309003312, 0.0205563903, -0.0280928444, -0.0140251154, -0.0111043854, -0.0319189467, 0.0676792637, -0.0024210331, 0.0097436914, 0.0101039242, 0.0325627066, 0.0145049542, 0.0132768145, 0.0088668661, -0.000614667, 0.0012106437, -0.0038715568, -0.0812102929, -0.0241292752, 0.0601283647, -0.0172452107, -0.009704113, -0.0319957323, 2.473042438e-34, 0.0092936745, -0.0114508169, 0.0085229082, -0.0052062487, 0.0259834006, 0.0104462076, 0.0017359793, 0.0322831459, 0.0231674667, -0.0350864977, 0.018307941 ]
http://arxiv.org/abs/2406.11657v1
http://arxiv.org/pdf/2406.11657v1
Can LLM be a Personalized Judge?
2024-06-17T15:41:30
2024-06-17T15:41:30
Yijiang River Dong, Tiancheng Hu, Nigel Collier
cs.CL
cs.CL, cs.CY
Ensuring that large language models (LLMs) reflect diverse user values and preferences is crucial as their user bases expand globally. It is therefore encouraging to see the growing interest in LLM personalization within the research community. However, current works often rely on the LLM-as-a-Judge approach for evaluation without thoroughly examining its validity. In this paper, we investigate the reliability of LLM-as-a-Personalized-Judge, asking LLMs to judge user preferences based on personas. Our findings suggest that directly applying LLM-as-a-Personalized-Judge is less reliable than previously assumed, showing low and inconsistent agreement with human ground truth. The personas typically used are often overly simplistic, resulting in low predictive power. To address these issues, we introduce verbal uncertainty estimation into the LLM-as-a-Personalized-Judge pipeline, allowing the model to express low confidence on uncertain judgments. This adjustment leads to much higher agreement (above 80%) on high-certainty samples for binary tasks. Through human evaluation, we find that the LLM-as-a-Personalized-Judge achieves comparable performance to third-party humans evaluation and even surpasses human performance on high-certainty samples. Our work indicates that certainty-enhanced LLM-as-a-Personalized-Judge offers a promising direction for developing more reliable and scalable methods for evaluating LLM personalization.
[ 0.0653530806, 0.0840457007, -0.0230491497, 0.0125668403, -0.0260013863, -0.0162323806, 0.0006821806, -0.0495567843, 0.0022737174, -0.040689528, -0.070273824, -0.0703746229, 0.0127487471, 0.0216698218, 0.013302017, -0.0782264546, 0.0284271389, -0.0198598094, 0.0366781913, -0.0122531541, 0.0236735363, 0.0160892308, 0.0034998911, 0.0468428098, 0.0039137737, -0.0026386117, 0.0247691385, -0.0016991879, 0.0216924474, -0.0215237681, 0.0312351175, 0.0721376389, 0.00366546, -0.0351769067, 0.0000023129, -0.0481454991, 0.0242877845, -0.0438307188, -0.0025670708, 0.0325350985, 0.0317509361, 0.1036247015, -0.01588572, 0.017000068, -0.0332082696, 0.0178780314, 0.0139318798, 0.0081681674, 0.0168176629, 0.0130705563, -0.0049819457, 0.024214169, -0.0219461024, -0.001111659, 0.0281731635, -0.0264184754, -0.0063438909, -0.0403263457, -0.0037044112, 0.0141792307, 0.0162655059, 0.0115232253, -0.002657573, 0.0136114843, 0.0158918574, -0.0000966646, -0.0092403507, -0.0417376757, -0.0014662039, 0.0470722653, 0.0487607978, 0.0004644078, -0.0269775279, -0.01778147, 0.0246854629, 0.0143122692, -0.0058016093, 0.0133604696, -0.0182548948, 0.0069108061, -0.0437522307, 0.0330745578, 0.0206208508, 0.0349286981, -0.0126889823, 0.1305293739, 0.004689184, -0.0074089863, 0.036178913, 0.033460699, 0.0026994578, -0.0362806581, 0.0302949343, -0.0053076525, -0.0749834031, 0.0273214038, -0.0375943817, 0.0253196191, 0.0242751241, -0.0509911329, 0.0316293724, 0.0602656342, -0.0031311389, 0.0141888969, 0.0105084497, 0.0407135338, 0.0177871659, -0.0000555802, -0.0247321874, 0.0117447246, -0.0150870197, 0.0031396945, 0.0275544114, 0.0083833346, 0.0065187751, 0.0058120703, -0.0882482678, 0.0294398479, -0.0305542927, 0.0197553448, -0.0067724371, 0.0405421443, -0.0017154537, -0.0069609568, -0.0903971344, 0.0217419043, -0.048313681, 0.0477289893, 0.0115717407, -0.038332466, 0.0580960065, 0.0146153802, -0.0142450389, -0.0086893989, 0.0041670809, 0.0461340733, -0.0277586076, -0.014399196, -0.0161689799, -0.0216117669, -0.0329685099, -0.0663969964, -0.0490954556, -0.0825626254, -0.0055713989, 0.0412083529, 0.0141085479, -0.0358640812, 0.0067802169, 0.0327975042, -0.0209552627, 0.067941159, 0.0154268742, 0.0215829238, 0.0094685778, 0.0210234337, -0.0358798914, 0.0439493284, 0.0227018259, 0.0687073842, 0.0385778397, 0.003837009, 0.0085946824, 0.0318666548, -0.0588846467, -0.0034204673, -0.0169413555, -0.0045522307, -0.0263813622, -0.0004785055, 0.0576274246, 0.0870094597, -0.0130063063, 0.0070096627, 0.1208465919, 0.0425488129, -0.0207943413, 0.0086173937, 0.0361838304, 0.0297838561, 0.0368240327, -0.0002840045, -0.0548991263, 0.0151477102, -0.0307839606, -0.0059802784, 0.0293468125, 0.0328912586, -0.0023861835, -0.0673443079, -0.015901722, -0.0077166869, 0.040652208, 0.0280503351, 0.0265488774, -0.0289841574, -0.0068435525, 0.0309895072, 0.0197825246, -0.0478987545, 0.010523241, -0.0418899283, 0.0381898955, 0.1140703559, 0.0251490194, 0.0224869382, 0.0087968213, -0.0073640868, -0.0338041671, 0.0249618907, 0.0549565926, -0.0013054176, -0.0038439941, -0.0487428717, -0.0258918218, 0.0101981619, -0.0072812955, 0.0329214893, 0.0449963696, 0.0016435215, 0.0117260981, -0.0137364585, -0.0327668115, -0.0104185799, -0.0153085683, -0.0121219521, 0.0276198313, 0.0069116843, 0.0322957411, 0.0228425432, 0.0346189402, 0.0197146665, -0.0049046087, 0.0250681546, -0.024349574, 0.0031450919, -0.0314332992, 0.0471462719, 0.0422584973, 0.0094018811, -0.0219492, 0.0032745083, 0.0015824813, -0.0093117496, 0.0095408186, -0.0170433763, 0.0000207726, -0.031536404, 0.0342943519, -0.0113534089, -0.0172224753, -0.0471797958, 0.0337593816, -0.0220235512, -0.0066751107, 0.0098880762, -0.0053605735, 0.0108021498, -0.0394404754, -0.0881150365, -0.0225446746, 0.0057649352, 0.0298139062, 0.0503962748, -0.0017634459, -0.0601303503, -0.0137896799, -0.100039497, -0.0166243128, -0.0027510021, 0.0029988023, -0.0136791775, 0.0023796491, -0.002400083, -0.0136148501, -0.0444091819, -0.0308657773, -0.022580415, 0.0266076699, 0.0091667017, 0.001658004, 0.0060183583, -0.055531688, 0.0073094, -0.010770414, -0.0089452555, -0.0028147369, 0.0010347678, -0.0437432267, 0.0298112724, -0.0499584116, 0.0083883004, -0.0130834496, -0.0130759366, 0.0338760689, 0.0035115862, 0.0591814667, 0.0336167999, 0.0132308844, -0.0037380557, 0.0658443496, -0.0117308106, -0.0650794059, -0.000282816, -0.014233321, -0.0375860929, -0.0150706526, -0.0739104003, 0.0219897926, 0.0292088371, 0.0290078986, 0.0148638058, -0.055388134, 0.0184900165, -0.0326393619, -0.0216709431, -0.0224264059, -0.0080070505, -0.0282603763, 0.0730877668, 0.0134833409, -0.0527166948, 0.1067749485, -0.0089775193, 0.0214992501, 0.0027186107, -0.0198044889, -0.0087134372, 0.0121363811, -0.0087685883, 0.0071216458, -0.0209342316, 0.0017446697, -0.0556155443, -0.0490168221, 0.0214082431, -0.0654679462, 0.0563225038, -0.0823160708, -0.0159417652, 0.0284263715, -0.0664298162, -0.0363092646, -0.0308360029, -0.0490450561, -0.0339238346, 0.0712609068, -0.023263108, -0.0308495294, -0.0205131378, 0.023795275, -0.0222478844, -0.0335853063, -0.0240739509, 0.0063859909, -0.0282825734, 0.042454876, 0.0216060039, 0.0251776129, -0.0233060382, -0.0329618827, 0.0433080532, 0.0214683097, -0.0225864016, -0.017214179, -0.0076154796, 0.0725582018, 0.0003708281, -0.0371677317, 0.0710672215, 0.0800836161, -0.0192928649, 0.016025085, 0.1217069849, 0.0195362698, -0.0676265433, -0.0071349135, -0.0342393517, 0.0305816252, 0.0213100445, 0.0304286741, -0.0497637168, -0.0221183524, 0.0061626616, 0.0445060804, -0.0382534787, -0.0024719161, -0.0110662542, -0.102163367, 0.0138948187, 0.0027001735, -0.0127986027, 0.0233239438, -0.0348767787, 0.0183658078, -0.0308791455, 0.0559915714, -0.0081551773, 0.0014828901, 0.0231446624, 0.0189872105, -0.0642604455, -0.0611214712, 0.0312367827, -0.0476563536, 0.0628785193, 0.0457015112, 0.0130029405, 0.0011070712, -0.060904935, -0.0173690543, 0.0270394646, 0.0124936206, -0.0207879469, 0.0358085036, -0.0134353321, 0.0091631543, -0.0672852844, -0.0055010263, 0.0012565264, -0.023741018, 0.0081656985, 0.0298597217, -0.0301524233, -0.0020305638, -0.0259335823, 0.002675097, 0.0153286671, 0.0676535442, 0.0077957101, -0.1042834148, -0.0101858722, -0.0550688878, -0.0161196515, -0.0357648246, -0.0535306409, 0.0002074988, -0.0034199385, -0.0293181799, -0.047291249, -0.0311275497, 0.007473947, 0.0094244648, 0.0020038022, -0.0010053219, 0.0261951908, -0.003532954, -0.0123043545, 0.0437348858, -0.0077031632, 0.0733556226, -0.0950208977, 0.0003523608, 0.0454587601, -0.029117614, 0.0201808494, 0.0232594348, -0.0494311973, -0.0699416026, -0.014391602, 0.0806759521, 0.0246747117, 0.0093867881, -0.0104089882, -0.1155286431, 0.0318670273, 0.014847165, -0.0360254832, 0.0064163734, 0.0163583513, 0.0758720189, -0.022062514, 0.0278650932, -0.0253576934, -0.0008876725, 0.0183211435, 0.0078997733, -0.0126886582, -0.0896552652, 0.0174143501, 0.0184416268, 0.0496710911, -0.0332966633, 0.0350767039, 0.0004661508, -0.019077722, -0.0167578254, -0.0340200178, -0.0201482922, -0.043177329, 0.0284776147, -0.0091407774, -0.0319099985, -0.0338393115, -0.0392140448, 0.0165896975, -0.0261931717, -0.0053646485, 0.000373794, 0.0029096184, 0.0378106572, 0.0020574857, -0.03542725, -0.0000640548, 0.0005427885, 0.0503194258, 0.031334471, 0.0467983857, -0.0167441629, -0.0296506137, -0.0164109915, 0.0109909391, -0.0160265248, -0.0723482445, -0.0096912393, 0.0051784897, 0.0059341486, -0.000730033, 0.0303725656, -0.0380215757, 0.0115894191, -0.0407985188, -0.0106800422, -0.001294486, 0.0049223136, 0.0336926579, 0.0093606319, -0.0306712184, -0.0107946852, 0.0608508065, -0.0024400179, -0.0182555094, -0.0656642765, -0.0822606757, -0.0503718443, -0.0188331306, -0.0171778444, 0.0421925671, -0.0597690791, -0.0395278037, -0.0800446495, -0.0606191345, 0.0117093176, 0.0258492902, 0.0093030278, -0.0463838875, 0.0078577157, 0.0556251667, -0.0142368758, -0.0146990186, -0.0581758134, -0.0191317573, -0.0021441542, 0.0256342087, -0.0589565523, -6.924214943e-33, -0.0165718105, -0.0368089899, 0.0006402969, -0.0229450539, 0.0194472987, -0.0370513834, -0.0034293914, 0.0737545341, 0.0141392052, -0.0051394631, -0.0237938184, -0.0329541862, 0.020089699, -0.0000961008, 0.0670499951, 0.0095581813, 0.0524756461, 0.029424075, -0.0517304465, -0.0159582272, 0.0354640521, -0.0109025137, 0.0388756655, -0.0947560966, 0.0711718574, 0.0392673761, -0.0334511735, -0.0069289757, -0.0156589933, 0.0613265894, 0.0108936625, 0.046564281, 0.0032091041, -0.0133453105, -0.0312002674, 0.0048773387, -0.0424108133, -0.0335915945, 0.0551642105, 0.0533437133, -0.0114365127, -0.0185527112, 0.0307044331, -0.0119029107, -0.0696607903, 0.0468402468, 0.0380373299, -0.0084465994, 0.0074959812, -0.0240106583, -0.0117608765, 0.0017312797, 0.0183601696, 0.0086395796, -0.0114867231, 0.0441111922, -0.060867846, 0.0044407384, -0.0704702884, 0.061767336, -0.0273401309, -0.005496474, 0.0745123625, 0.0289169811, -0.017685065, 0.0586363822, 0.0195625089, 0.0200719777, -0.0282019749, -0.0402193628, 0.0301813558, 0.0429646075, 0.0177657399, 0.0541580617, 0.0038129259, -0.0167917069, 0.011744122, 0.061602518, 0.0523914658, 0.0243226457, 0.0764360949, 0.0534599498, -0.0698842257, -0.058962699, -0.0239195991, -0.0220416244, -0.0502868295, -0.0485362709, 0.0178327318, -0.0083006369, -0.0251587126, -0.021436628, 0.0165105294, -0.0203375872, -0.0420765504, -0.0145413848, -0.0365387462, 0.0422436669, 0.0135799218, 0.0010950444, -0.0529671051, 0.0279575493, 0.004662646, -0.0069410652, -0.0077105272, 0.0191932227, -0.0074063251, 0.0215868875, -0.0644723251, -0.006262661, -0.0112768952, 0.002755298, 0.0064918459, 0.0206176341, 0.0543736145, 0.0067239106, -0.0455107391, 0.0571909063, -0.0339946933, 0.0056516454, -0.0266743805, -0.03519205, 0.0183132291, -0.0034967312, -0.036157649, -0.033024922, -0.0207776427, -0.0197502673, 0.0060768924, -0.0122072957, -0.0127892541, 0.0060215276, 2.993e-7, 0.0293584075, 0.0500130355, -0.0490938053, 0.0338429026, -0.0003784839, 0.0640149415, 0.0066189375, -0.004489528, 0.0495261773, -0.014732209, 0.0034475061, 0.0212148968, 0.0531985685, 0.043043606, -0.0570306815, -0.0108502237, 0.0069446475, 0.0355215073, -0.0164340492, 0.0323694311, 0.0678754002, 0.03794007, 0.0335292108, 0.0045077903, 0.0114582116, 0.010941078, 0.0523344949, -0.0612715743, -0.0408379659, 0.0160720125, 0.0712784007, 0.0025979285, -0.0025023974, 0.0369513892, -0.009845661, -0.0067852805, -0.0067669214, 0.0764756128, 0.0037193371, -0.0123877311, -0.0226174612, 0.0017374974, 0.0253481008, -0.0430524498, 0.0435583107, -0.0315150842, -0.0395608358, -0.0099022575, -0.0093416348, -0.0148083922, 0.0528743528, -0.0306880902, -0.0443004668, 0.0157158654, 0.0145678921, 0.0083242571, -0.0505054221, -0.0543709658, -0.0111498712, 0.0036533149, -0.0360484719, -0.0603763722, -0.0348998569, 0.0210162885, -0.001538793, -0.0661527589, 0.0450716689, 2.558654013e-34, 0.0436278731, 0.0439711735, 0.0269147828, -0.0252662823, 0.0539099388, 0.0453287326, 0.0076622097, 0.0390597358, 0.0606700517, -0.0423205942, -0.0146302814 ]
http://arxiv.org/abs/2406.11654v1
http://arxiv.org/pdf/2406.11654v1
Ruby Teaming: Improving Quality Diversity Search with Memory for Automated Red Teaming
2024-06-17T15:36:14
2024-06-17T15:36:14
Vernon Toh Yan Han, Rishabh Bhardwaj, Soujanya Poria
cs.CL
cs.CL
We propose Ruby Teaming, a method that improves on Rainbow Teaming by including a memory cache as its third dimension. The memory dimension provides cues to the mutator to yield better-quality prompts, both in terms of attack success rate (ASR) and quality diversity. The prompt archive generated by Ruby Teaming has an ASR of 74%, which is 20% higher than the baseline. In terms of quality diversity, Ruby Teaming outperforms Rainbow Teaming by 6% and 3% on Shannon's Evenness Index (SEI) and Simpson's Diversity Index (SDI), respectively.
[ -0.008289515, -0.0223394297, 0.0072427788, -0.0008285153, -0.056025032, -0.0375370383, 0.0519315191, -0.0329021439, -0.0466540419, -0.0054900036, 0.0113068083, -0.002718912, -0.012530203, 0.0275111552, 0.0153247342, 0.0145259611, 0.0644685775, -0.0367990062, -0.0506368354, 0.00888272, -0.013320406, -0.0273589399, -0.0122535974, 0.0266693626, -0.0082945963, -0.0183463562, -0.0557725802, 0.0491017848, 0.0456429198, -0.0233890917, -0.0049651694, 0.0153993834, -0.0408944748, -0.0052060355, 0.0000020024, -0.0231049508, -0.0365686528, 0.0183170699, -0.0279606842, 0.0387702063, -0.0343622863, -0.0015657694, -0.0084454883, 0.0474318787, -0.0025837289, 0.020798929, 0.0108305039, 0.0414288267, 0.0607567839, 0.0439942963, 0.0281204879, 0.0567726456, 0.0083688339, -0.0297265854, 0.0196312554, -0.0086755659, -0.0210458916, -0.0337982811, 0.0279498212, 0.0440538898, 0.0005644863, -0.0752939135, -0.009673073, -0.0112236217, -0.0716911703, 0.0285241026, -0.0034601775, 0.0162712652, -0.0274278801, -0.0254346523, -0.0726121143, 0.0340411365, -0.0109397899, 0.0201672763, -0.0149766579, 0.0051533263, 0.0386449732, 0.0368765891, -0.0459948406, -0.0486801267, -0.065199554, 0.012849831, 0.0026417235, -0.0493004173, 0.0126304217, 0.0583684705, 0.0233324841, -0.0484685376, -0.0179870985, -0.0446277894, 0.0414781384, -0.0059746723, -0.0331632867, -0.0272866189, -0.0331284441, -0.0192553028, -0.0524966717, -0.0492395759, 0.0453568138, 0.0262529831, 0.0175457876, 0.0181791913, -0.022020163, -0.0024153448, -0.0065058703, -0.0233207643, -0.0095050205, -0.0097402595, -0.0021861608, 0.0078802602, -0.032954827, 0.0281609129, 0.0190544147, 0.0042486032, 0.0388463214, -0.0152623346, -0.0317317173, 0.0347288065, -0.0349998586, 0.0086469511, -0.0008646568, -0.0008956837, -0.0203505512, 0.0564000458, 0.0051172907, -0.0564031899, -0.0503361113, -0.0375685804, -0.0240440033, -0.0647842288, -0.0206523482, -0.0072394568, -0.0414494574, -0.0682137758, -0.0245987903, 0.0493054874, 0.0159236398, -0.0263469536, 0.0014561219, -0.0193222277, 0.0476974919, 0.0128180431, -0.0083067883, -0.0171765387, -0.0093271052, -0.0144578144, -0.0137181366, 0.030556934, -0.0183471534, -0.0187220145, -0.0158576854, 0.038325157, 0.0280357618, -0.0038907595, -0.0089058168, 0.0020952155, -0.0770687163, 0.0426390879, -0.0437480845, 0.0417867377, -0.0015827463, -0.0187867247, 0.0184601899, -0.0197372194, -0.0499442369, -0.0057652257, 0.036207702, 0.0383684598, 0.0844977424, -0.0082201622, 0.019466402, 0.0272483043, -0.0208800044, -0.0779714808, 0.0252256505, -0.0113908872, 0.0841949657, 0.0536733493, 0.0150152138, 0.0510631949, -0.0524089858, -0.0075452114, -0.0047398945, 0.0546147414, -0.0855192095, -0.0089465138, 0.0303326901, 0.088610284, -0.0315965638, 0.0360144936, -0.0489427485, -0.0092212167, -0.0377403386, -0.0621476099, 0.0132240336, 0.0116370935, -0.0277169552, 0.0229803994, 0.0283610709, -0.022731971, -0.0376774482, -0.0669539347, -0.012729235, 0.0151081206, 0.0302971341, -0.0175677333, -0.0360260457, -0.0009518226, -0.0476442687, -0.0247836579, 0.0091828853, 0.0698439777, 0.0197259802, -0.0640547499, -0.0471044816, 0.0093282377, 0.0016585357, 0.0456860662, -0.002068752, 0.0044734483, -0.0217796545, 0.0599682629, 0.0120756663, -0.0030444181, 0.054790698, -0.008448693, 0.0438724086, 0.0231863391, 0.0504449978, 0.0056003081, -0.0303850733, 0.0418834724, 0.015150087, 0.0384446979, 0.0048935297, -0.0090662483, 0.075082764, 0.036220368, -0.022747986, -0.0158756878, 0.0399379693, 0.0466290452, -0.0277737416, -0.0027813916, 0.0658739954, -0.0460131578, -0.0515383668, 0.0220317189, -0.0015597099, -0.0012768535, 0.0362727866, -0.0096011478, 0.0335480571, 0.019656999, -0.0265115462, -0.0869970769, 0.0022369137, 0.0200903751, -0.0831109583, 0.0004602363, 0.0169326589, -0.0076027149, 0.0273541752, 0.030667441, 0.0325409845, -0.0136355888, -0.066442363, 0.0174030513, 0.0387858637, 0.0014817173, 0.0284492932, -0.0116138225, -0.0024552378, -0.0133750886, 0.0007054126, 0.0338698253, -0.0325161554, -0.0443688519, 0.012620653, -0.0386380628, 0.0220935531, -0.0919113085, 0.0287604406, -0.0266571939, 0.0094412705, 0.0532211214, 0.0225441735, -0.0226320792, -0.0589237884, -0.0072556944, -0.0104731014, -0.0439932607, 0.0185272377, -0.0247689858, 0.0367357172, -0.0418152623, -0.019697886, 0.0097352425, 0.0341243036, 0.0080325473, 0.079275839, 0.0224526208, -0.0564100929, -0.0011918022, -0.0011981393, -0.019257836, 0.0249028858, -0.0133147091, 0.0336377844, 0.0089239869, 0.0291764941, -0.0217439458, -0.0100586312, -0.0463226959, 0.0608344302, -0.0008181945, -0.0375585482, -0.0512110442, -0.0036381462, -0.0086047594, -0.0300623011, -0.0336317234, 0.0452630334, -0.0050897729, 0.0287326425, -0.0982267261, -0.0026828677, -0.0390044227, -0.0140897017, -0.0643257871, 0.0007107162, -0.0161494836, -0.019143464, 0.0206894968, -0.0872031897, 0.0382235982, -0.0308375917, -0.04822395, -0.0123566026, -0.0011038053, 0.0076829139, 0.0305533037, -0.0607908592, 0.0069064074, 0.0287589543, -0.0346026979, -0.0135071687, 0.0048809433, -0.0438255966, 0.0094191888, 0.0763147995, -0.0103235031, -0.014308922, -0.0319548361, 0.0382944196, 0.0000036602, -0.0162225589, -0.0427184515, 0.0414723009, -0.0084203621, 0.0454332083, 0.0445522144, 0.081553027, -0.0112375533, -0.0238368548, 0.0065292143, 0.0220369548, -0.0316881947, 0.0067116041, 0.0293495972, -0.008525799, 0.0166061763, 0.0172806624, 0.013007585, 0.0241078343, -0.0472442359, 0.004827376, -0.0443317443, 0.0025572272, -0.0040216707, 0.0518542118, -0.0471507981, 0.0109904157, 0.0028938612, 0.0379268602, -0.0257233791, -0.0436696298, -0.0225429703, -0.0849312022, -0.0257302392, 0.0034885525, -0.0499382243, -0.0222454499, -0.0271614008, 0.0098916758, 0.017198218, 0.0923650637, 0.0153822806, 0.0157959666, 0.0106813638, 0.0081865136, 0.0013314866, -0.0511010587, -0.0356757678, -0.0527429841, 0.008234228, 0.0646715462, -0.0293506086, 0.0035880231, 0.0091348616, 0.0296697542, 0.0325367041, 0.0387272723, -0.0176546648, 0.0380284488, 0.0162501894, -0.0008454947, -0.0100973789, -0.0204381403, 0.0400475189, -0.0249850731, 0.0427540541, -0.0369910225, -0.0503178276, 0.0041545643, -0.0182125233, -0.0083753904, 0.0548377, 0.0620261058, 0.0159167796, -0.0149837835, 0.0257873703, -0.019392956, 0.0162613168, -0.0724062398, -0.0356122218, 0.0263344962, 0.01044962, 0.0034966413, -0.0144808851, -0.0230025053, 0.0306312237, 0.0481456518, 0.0160344448, -0.0257185344, -0.0817373246, 0.0468138792, -0.0130900284, -0.0311669651, 0.016407948, 0.003676442, -0.0481685363, -0.0130486162, -0.0581251122, -0.033888299, -0.0063806255, -0.0018555265, -0.0404696539, -0.0141754281, 0.0672006086, 0.0588449948, 0.0342632644, -0.028984597, 0.0083116051, -0.0225858465, 0.0256049912, 0.0355673544, -0.019072758, 0.0247187428, 0.0217123162, -0.0359557308, -0.0032737665, -0.026262138, -0.0378395207, 0.0308077149, 0.0452083908, 0.016629234, -0.0233440306, 0.0007303761, -0.0071369647, 0.0127738239, 0.0048362911, -0.0031595272, 0.0141992439, 0.0404137522, 0.0642424077, -0.0642007217, 0.0247269832, 0.0232344512, 0.0146894362, -0.0356822722, -0.0215952545, 0.040550001, 0.0749793127, 0.020713266, -0.0176765304, 0.0098101525, 0.0240541305, 0.0485407002, 0.0233267341, 0.0418151692, 0.0089568114, -0.0116674881, 0.012533633, 0.0298533887, 0.0205794685, 0.0239037145, -0.0029280493, 0.0154890819, -0.0158476923, 0.0222666245, 0.0240375791, -0.0715227798, -0.0827857926, 0.1043126434, 0.030674288, 0.0426065996, 0.0387030318, -0.0187845379, -0.0095335757, 0.0254520401, -0.0239096172, 0.0004560805, -0.0034821348, 0.0480511673, -0.0045437347, 0.0077853091, 0.0086734248, 0.0460941121, 0.0093015721, -0.0773406401, 0.046755854, -0.0239292644, -0.0028685511, -0.0421392284, 0.0356305353, -0.0171307903, 0.0738161653, -0.0079280119, -0.0665847212, -0.0541988723, 0.0411741212, 0.0209044665, 0.0262711421, 0.0637886748, 0.0438281074, -0.0039158422, 0.0320299044, -0.006844942, 0.0427945778, -0.0259563159, 0.0160296187, -0.0349503756, -0.0318344049, 0.0340262055, -5.900539361e-33, 0.0404936038, -0.0106942253, -0.0268317927, -0.0725419968, 0.0024799274, 0.0593352355, -0.0222035255, -0.0091753602, -0.0086820889, -0.0306753796, -0.0176039059, -0.0152040021, 0.0340921357, -0.0111099305, -0.0004161954, 0.0211801864, 0.0052250912, 0.0340848565, -0.0208096895, 0.0011164923, 0.088584587, 0.0163959824, -0.055550836, -0.0186101347, -0.0338229649, -0.0043989038, -0.0206236187, 0.0061380933, -0.0409654006, -0.0021287974, 0.0350359529, -0.0063207629, -0.0473184101, -0.0448264703, -0.0008102898, 0.0042697145, 0.0163430702, -0.0389487781, -0.0420744196, -0.0550414808, -0.0066731377, -0.0250754375, -0.0418048799, 0.0404867567, -0.0335205123, -0.007169819, 0.0163154379, 0.0143087264, -0.038727127, -0.0130438646, 0.0576136112, 0.0322912484, -0.0208959859, -0.0002821497, -0.0399180539, -0.0618961304, 0.0139445094, -0.0192370061, -0.0416911282, 0.0644178987, -0.0351387039, 0.0178663116, 0.0083886357, 0.0186322983, -0.0300793014, 0.0362631008, 0.0098978672, 0.0354984999, 0.061513789, 0.0189848095, -0.0285454188, 0.0138874138, 0.0619015247, 0.0058545563, 0.0306629036, -0.0179542452, -0.0035565742, 0.0353260972, 0.1469251215, 0.0148862842, 0.0246123672, 0.0030108904, -0.0933373049, 0.0192884691, 0.0373433866, 0.0158372279, -0.0166229494, -0.0751214921, 0.0204640683, 0.0116738565, -0.0618831553, 0.0505065098, 0.0331351459, 0.0570568368, 0.0564102679, 0.0715267882, -0.0088456273, -0.016143119, -0.0612249002, -0.0427965336, 0.0524927527, -0.0185858794, 0.0483221784, -0.0503391586, 0.0419082046, -0.0316717513, 0.0079552075, 0.0247020777, -0.0650899336, -0.0049337693, -0.0211006012, 0.0830447674, 0.01195776, -0.0622461885, 0.0058463844, -0.0115883211, 0.0019008956, 0.0169569589, 0.0227169283, -0.0846235231, -0.0191494655, 0.0284659863, -0.0010831632, 0.0373722948, 0.0075824773, 0.0554686822, -0.0175657999, -0.0274613798, 0.0006979997, -0.0117569938, -0.0304690674, -0.0473081693, 2.876e-7, -0.0007976472, 0.0109138694, 0.0774031878, 0.0113665517, -0.0471271388, 0.0364235267, -0.0201625917, 0.0779370889, -0.0034564734, -0.002205692, -0.0518328436, 0.0298094153, -0.0010207692, 0.0225939211, 0.0087282797, -0.0331456549, -0.0382277742, 0.0656261295, -0.0729092509, -0.0040595885, 0.0597153828, 0.0241049919, 0.0384983942, -0.0228385627, -0.0207252651, -0.0492109396, 0.0057193139, 0.0465162657, -0.0239666551, 0.0110592619, 0.0330552161, -0.0778906047, -0.0641028732, 0.0727569833, -0.010865733, -0.0507834032, -0.0489875935, -0.0101955449, 0.0517087318, -0.0547790527, 0.0239433777, 0.0323902927, -0.0115509862, 0.038621828, 0.0513210595, 0.080587104, -0.0137683237, -0.0159069691, -0.0077810804, -0.0332353152, 0.0344952792, -0.004506629, 0.0139660593, 0.0359017029, -0.0209967885, -0.0058257012, 0.0597848706, -0.0515035279, -0.0081969248, -0.0303971339, -0.0377057716, -0.0450795591, 0.0411255434, 0.0761452466, 0.0527518615, 0.0167490076, -0.0335078575, 2.760181959e-34, 0.0051821726, -0.0127411187, 0.0153026078, -0.0038879195, 0.0276601464, 0.0121795814, -0.0584398955, -0.0109498426, 0.0193340182, 0.0129714161, -0.0320654139 ]
http://arxiv.org/abs/2406.11651v1
http://arxiv.org/pdf/2406.11651v1
A Two-dimensional Zero-shot Dialogue State Tracking Evaluation Method using GPT-4
2024-06-17T15:32:17
2024-06-17T15:32:17
Ming Gu, Yan Yang
cs.CL
cs.CL
Dialogue state tracking (DST) is evaluated by exact matching methods, which rely on large amounts of labeled data and ignore semantic consistency, leading to over-evaluation. Currently, leveraging large language models (LLM) in evaluating natural language processing tasks has achieved promising results. However, using LLM for DST evaluation is still under explored. In this paper, we propose a two-dimensional zero-shot evaluation method for DST using GPT-4, which divides the evaluation into two dimensions: accuracy and completeness. Furthermore, we also design two manual reasoning paths in prompting to further improve the accuracy of evaluation. Experimental results show that our method achieves better performance compared to the baselines, and is consistent with traditional exact matching based methods.
[ 0.0058939462, 0.0538855642, 0.0137542253, 0.0720324218, -0.0505837388, 0.0032201381, 0.0018870798, 0.0271958895, 0.0262723342, -0.0770539045, -0.0390814953, -0.077292867, 0.0058474364, 0.0254834387, -0.0254119355, -0.0600244962, 0.0392262675, -0.0301730223, -0.0141342012, 0.0200600103, 0.0221033785, 0.0111570209, -0.0533738732, 0.0465324223, -0.008492711, -0.0317778587, -0.0093529988, -0.014614664, 0.0420089923, -0.0539618246, -0.0456179455, 0.0241282266, 0.0369536802, 0.0251168683, 0.0000018956, -0.0504058339, 0.0040358943, 0.0041618031, -0.039113842, 0.0121377334, -0.0030513776, 0.0052496255, 0.0006845036, 0.013092353, -0.0215520263, -0.0196117628, 0.0311424136, 0.0567997396, 0.0916122049, 0.0560133308, -0.0117449537, -0.044470761, 0.026130259, 0.0020179385, 0.0326831341, -0.0943304077, 0.0220002942, 0.0158341266, 0.0468139872, 0.0193455033, -0.0137084145, 0.0379671156, -0.0127702784, -0.0147454999, -0.0346907601, 0.0204878505, -0.0598011129, 0.023903586, -0.0382647812, 0.1013664603, 0.0495365821, 0.0530041158, 0.0180590674, -0.0240554232, -0.0330670476, -0.0223585367, -0.0662907958, -0.0413942933, -0.0030600894, -0.0003593262, -0.0292388853, 0.0283020437, -0.0149462782, -0.0096314987, -0.0107632689, 0.08671657, 0.0239174366, -0.0516758673, -0.0477044843, 0.0028536245, 0.0105503062, -0.0673996508, 0.0101525979, 0.0193655174, -0.0252854228, 0.0263928548, -0.045581799, 0.0049700672, -0.0207582396, -0.0232471377, 0.0069229193, 0.0676645562, -0.0206611976, 0.0819829702, 0.0162647814, 0.1141909584, -0.0170101095, -0.0191759989, -0.032809075, -0.0045334669, -0.090277575, 0.0083790692, -0.0516275316, 0.0077138338, -0.0088961497, -0.0812934637, -0.0232980866, 0.0112657202, -0.0080347247, 0.0287505127, -0.0206912141, -0.0039572567, 0.0160263311, -0.024391612, -0.0228091367, 0.0642819181, -0.0186817311, 0.0060552079, -0.0186050367, -0.0214576926, -0.0071416991, 0.02233156, 0.0508580245, 0.0025161142, 0.0026711021, 0.0523595028, 0.0083226319, -0.0492486432, 0.0012793267, 0.0053856289, -0.0505001694, -0.0636400506, -0.0424711704, -0.0307853743, 0.0306085125, 0.0040293122, 0.0036403525, 0.0022594596, 0.0021260616, 0.0185477212, -0.0236177482, 0.0761854872, 0.0234853253, 0.013781379, 0.0046686186, 0.0137682995, 0.0051857289, 0.0256304983, 0.0404991619, -0.0006578365, 0.0235829633, -0.0134951258, 0.0537617765, 0.0528475866, -0.0152114993, 0.011637426, -0.052979026, 0.0426054671, -0.0048648901, 0.0229587462, -0.0000143218, 0.043261826, -0.0599760264, 0.0103761777, 0.0567877963, 0.0831715465, -0.0239847358, -0.0298976041, 0.0358960181, 0.0540036559, -0.0040387111, 0.0069048004, -0.0010259143, 0.0078979805, -0.0189735834, 0.0012507, 0.061745327, -0.0220276974, -0.0389186814, -0.0038624872, -0.0107487496, 0.0079847565, 0.0199620966, -0.0029274574, 0.0405808352, -0.0198585298, -0.085304074, 0.0347541198, -0.0359969698, -0.0313517042, -0.0379659235, -0.0318810195, 0.0200012736, 0.0793844536, 0.0578774959, -0.0058572786, -0.0698012784, -0.0451120324, 0.0103244092, 0.0326402858, 0.0009863679, -0.007409072, 0.0126913777, -0.0751969814, -0.0197701938, 0.0134438211, 0.0032744452, 0.0002412874, 0.0023565535, 0.0051284949, 0.028172031, 0.0116912676, 0.0278748348, 0.0070114341, 0.0391975567, -0.0534231849, 0.0154847698, -0.0089177657, 0.064883545, 0.0387429185, -0.0041452595, -0.0143305054, 0.0094763981, 0.0118096005, -0.0090813329, 0.0206521284, -0.064647913, -0.0506531745, 0.0183534212, 0.0249713324, -0.0292392075, 0.0166733004, -0.0316256806, -0.0792479813, -0.0182611514, -0.0189522058, -0.0078793904, -0.0386939831, 0.0400933772, 0.0366066992, -0.0141562941, -0.040075019, 0.0348833501, 0.0159126185, 0.014633432, 0.0223737806, 0.0225206912, 0.0335335843, -0.0517623723, -0.0276645534, 0.0437094122, -0.0045778621, 0.0111644166, 0.0029305499, -0.0127792424, -0.0601725169, -0.0011995101, -0.0974306464, 0.0164204128, -0.00730995, 0.0258382615, 0.0198259819, -0.0083026327, -0.0342298597, -0.0169427004, -0.0376787931, -0.0124398237, 0.0569389611, -0.0286795702, 0.0033709041, 0.0190312937, -0.0319544673, -0.0344346724, 0.0345721282, -0.010323884, 0.0067659724, -0.013196297, -0.0092506753, -0.0540070459, 0.0186578333, -0.0044391113, 0.0360198058, -0.0068313293, -0.0311553162, 0.0353261083, 0.0191890076, -0.0133878672, 0.0288328994, -0.0188292135, -0.0144405058, 0.0092190793, -0.0497430749, -0.0421761461, 0.031906642, 0.0003072402, 0.0151673025, -0.0133058969, 0.0236630589, -0.0080005229, 0.0250042472, 0.0373363681, 0.0599147081, -0.062983714, -0.0072265565, -0.0222295206, 0.0241681412, -0.0257088859, -0.0224315058, -0.0568651333, 0.0230804924, -0.0024285107, -0.0188213214, 0.035225369, -0.1054287031, -0.0466871299, -0.0306542665, 0.0183580425, -0.009053654, 0.0738729164, -0.0040704212, 0.0044899508, -0.0057305684, -0.0272436105, 0.0118482597, -0.0558915995, 0.019092517, -0.0306549035, 0.0505716018, -0.0436110236, 0.0620783158, 0.0008473493, -0.0200538021, -0.0450126119, -0.0532251336, -0.0572218485, 0.0012715835, -0.0364312381, -0.0383043587, 0.010921767, 0.0629288778, 0.018554436, 0.0535293892, -0.0103946477, 0.003006835, -0.0367237292, 0.0457779504, 0.0405817591, -0.02286667, -0.0634757951, 0.0103206011, 0.072219722, 0.0240962412, 0.0341358855, 0.0670808405, -0.0337426253, -0.0128712393, 0.0107324887, -0.0015654702, -0.0145566082, 0.0162763093, 0.062734805, -0.0645639971, 0.0103665618, 0.1301438212, 0.0355118699, -0.0272927452, -0.0404598936, -0.0103731705, -0.0395981781, 0.0218975823, 0.0075254319, -0.0750461221, -0.0680291802, -0.0004201929, 0.0194229353, -0.0095171258, -0.0268683136, -0.0056085917, -0.1239426881, 0.0352208503, -0.0061080488, -0.0453503691, -0.0310642701, -0.0097706215, 0.0522361919, 0.0000243854, 0.0017300403, 0.0021045245, 0.0077443202, -0.0253903978, 0.0120804608, -0.0213477127, -0.0326675922, 0.0668106228, -0.0192571115, 0.0911738425, 0.084547624, 0.0644246638, 0.0027396122, -0.0279141981, 0.0196504109, -0.0143365609, -0.007435692, 0.0109054595, 0.0275945421, -0.0203817841, -0.0161223579, -0.0204533748, 0.0092738112, 0.023066951, -0.0078584198, 0.009294617, 0.0478160866, -0.0544252545, 0.0408795103, 0.0008548828, 0.0275611561, 0.0130337374, 0.0876613185, 0.024272915, -0.0152510339, -0.0101995496, 0.0157317817, -0.0282477103, -0.02209194, -0.0091131395, -0.0151490951, 0.0033292423, 0.0363167785, -0.0808308423, -0.0172736868, 0.0619351715, 0.0360379741, -0.0373140611, 0.0211433433, -0.0090873567, 0.0119257495, 0.0342063867, 0.0092542553, -0.0337995701, 0.024171412, -0.0620939359, 0.0171351936, 0.0528495051, 0.0154130608, -0.0224252604, 0.0504669063, -0.044063732, -0.0419720449, -0.0428065993, 0.0175678432, 0.0146693131, 0.0465248749, -0.0118960021, -0.0039545982, -0.0304771215, 0.0005883368, 0.009297071, -0.0150774345, 0.031418547, 0.0561240315, -0.0420427918, 0.0125543186, 0.0181182865, 0.0373254009, -0.0184416007, 0.0420521498, -0.0685455576, -0.0858371332, 0.0047318875, 0.0278374478, 0.0734958723, 0.0124616642, -0.0029314556, 0.0032824529, 0.0208810847, -0.0391528755, -0.02175612, -0.0613214374, -0.0169331059, 0.0094457939, -0.0518646874, -0.0242335126, -0.0150800357, -0.0556527674, -0.0042063948, -0.02771849, -0.0223079398, -0.0002742235, -0.0295009762, 0.000147364, -0.0157633442, -0.0112539856, 0.0126525508, 0.0316080824, 0.0283097122, 0.0054891165, 0.132932052, -0.0011744912, -0.0128323399, 0.0078263097, 0.0447702892, -0.0436590724, -0.0574789979, -0.023943983, 0.0523305126, 0.0633438975, -0.018087931, 0.044587817, -0.0117263757, 0.0068210498, -0.0242393706, 0.0465165563, 0.0189804137, -0.0283061191, 0.0254190024, 0.0387040563, -0.0075832321, 0.0085818321, 0.0513516292, 0.01306233, 0.0331147835, 0.0149645759, -0.0115114572, -0.0363764986, 0.002567465, 0.023150688, 0.0178348795, -0.0102405176, 0.012934071, -0.0402702689, -0.0387873128, 0.0092118159, 0.0005934802, -0.0118586682, -0.0091199586, 0.0502652489, 0.0160675347, -0.0226993691, 0.0129452776, -0.0375134088, -0.0533660911, 0.0092197889, -0.0050365133, -0.0473819338, -5.867031528e-33, -0.0426403694, -0.0399271846, 0.0392696075, -0.0174839105, -0.0382304229, -0.0038059475, -0.026925128, 0.0058836141, 0.0214496143, -0.0205761176, -0.0088054305, 0.0164697748, 0.0140803428, 0.0026038643, -0.0245227385, -0.0569630973, 0.0437410958, 0.0094273491, -0.0407476388, 0.0119510107, 0.0433818437, 0.0007740205, 0.0435279571, -0.0789045319, 0.0238748845, -0.006836216, -0.0380263664, -0.0055041006, -0.0026188486, 0.0290044956, -0.0350735448, 0.0136627536, 0.022781739, -0.0756834522, -0.0102178156, 0.0376498289, 0.0108983023, -0.0244641323, 0.0298814904, -0.0012129614, 0.0122042745, 0.0301665794, -0.0130106648, 0.001628808, -0.0225647427, 0.0154754398, -0.0039377147, -0.003530208, 0.0102755288, 0.0170366708, -0.0614481829, 0.0509985164, -0.0110734422, -0.0766049922, 0.040879149, 0.076209493, 0.0178190637, -0.009517096, -0.055117406, -0.0121331336, 0.0000900622, -0.0004841526, 0.0543006212, 0.0117546571, 0.0166021734, 0.0783426017, -0.010895228, -0.0314574577, -0.0416287892, -0.0600589961, -0.0162211061, 0.0279342569, 0.0610721782, 0.0128129916, 0.0298248269, 0.0179520212, -0.0177486464, 0.0209082384, -0.0044914861, 0.0576123223, 0.0090692472, 0.0313614532, -0.0621832982, -0.0011431878, -0.0317105204, 0.009254491, -0.0316722766, -0.0166097768, 0.0415067188, 0.0082500689, -0.01176407, 0.0009206278, 0.0753106922, -0.0251218285, 0.0029865922, 0.000361556, -0.0382132195, 0.0393393077, -0.0146400956, 0.0179548636, -0.0256629772, -0.0264464654, 0.0339080691, 0.0253388807, 0.0243184213, -0.0116495891, -0.0038128323, 0.0039796946, -0.0532185398, 0.0031841558, -0.0132311052, 0.0037329092, -0.0715535283, 0.0308563933, 0.0290083345, 0.0189031456, -0.0116227707, 0.0901333243, -0.0088669304, -0.0332633555, -0.0030239492, -0.0440043397, -0.0032417648, -0.009884052, -0.025454659, 0.0240963288, 0.006329508, -0.0349169485, 0.0042454596, -0.0176164247, 0.0101480177, 0.0190778673, 2.693e-7, -0.0029365644, 0.0489013381, 0.0089989491, 0.0037433789, 0.0063468455, 0.0619042516, -0.0424262211, 0.0158120357, 0.0168471243, -0.0103312228, 0.0450834259, 0.0034676921, 0.0667698383, 0.0075547677, -0.1088984609, -0.0229939036, -0.0556898601, -0.010335261, -0.0672709197, 0.0493272319, 0.0893362612, 0.0313394964, 0.0121513903, 0.0372335911, 0.0250969864, -0.036236845, 0.0502143688, 0.0087208627, 0.0062868227, 0.0056148572, 0.0362999476, -0.0088456692, -0.0101198955, 0.0213421676, 0.0122329341, 0.0282180887, 0.0229614563, 0.0999121889, -0.0265528969, -0.0137550114, -0.053982757, 0.0118772034, -0.0074213501, -0.0416234173, 0.0705709234, -0.0274044052, -0.0090335207, -0.0329598039, -0.0335286781, -0.0135945249, 0.0398095064, 0.0478357896, -0.0119424257, 0.0059676063, 0.0269639436, -0.0177785493, -0.0254954994, -0.0879857019, 0.0010337102, -0.0367789641, -0.0399422757, -0.0099766562, -0.0216117911, -0.0258651339, 0.0030507834, -0.0401490927, -0.0280750468, 2.223385116e-34, 0.0105341971, -0.0022901264, 0.0201115366, -0.0022829422, 0.0244194865, 0.0214651972, -0.0131525593, 0.0177443195, 0.0110878609, -0.098984547, 0.0154216234 ]
http://arxiv.org/abs/2407.00066v1
http://arxiv.org/pdf/2407.00066v1
Compress then Serve: Serving Thousands of LoRA Adapters with Little Overhead
2024-06-17T15:21:35
2024-06-17T15:21:35
Rickard Brüel-Gabrielsson, Jiacheng Zhu, Onkar Bhardwaj, Leshem Choshen, Kristjan Greenewald, Mikhail Yurochkin, Justin Solomon
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
Fine-tuning large language models (LLMs) with low-rank adapters (LoRAs) has become common practice, often yielding numerous copies of the same LLM differing only in their LoRA updates. This paradigm presents challenges for systems that serve real-time responses to queries that each involve a different LoRA. Prior works optimize the design of such systems but still require continuous loading and offloading of LoRAs, as it is infeasible to store thousands of LoRAs in GPU memory. To mitigate this issue, we investigate the efficacy of compression when serving LoRA adapters. We consider compressing adapters individually via SVD and propose a method for joint compression of LoRAs into a shared basis paired with LoRA-specific scaling matrices. Our experiments with up to 500 LoRAs demonstrate that compressed LoRAs preserve performance while offering major throughput gains in realistic serving scenarios with over a thousand LoRAs, maintaining 75% of the throughput of serving a single LoRA.
[ -0.0034817848, 0.0503936261, -0.0345189236, 0.0488943979, 0.0033592363, 0.0216578711, 0.0404878668, 0.050876718, 0.0159630198, -0.0106552765, 0.0133759575, -0.0370342992, 0.0149761159, 0.038792666, -0.0061388128, -0.0352401026, 0.0153081212, -0.0319877453, -0.0451546758, -0.0216307845, -0.0170470178, 0.0245372746, 0.051792305, 0.0282006301, 0.0452736095, -0.0255824123, -0.028408153, -0.0190449655, -0.0068878434, 0.0321323015, -0.0125126289, 0.0158632919, 0.064980045, 0.0407922082, 0.0000023011, -0.0036425744, -0.0221713278, 0.0088984622, -0.0380406529, 0.0607118309, 0.0504520014, -0.0529340953, -0.018265795, 0.0437609889, -0.0333866179, -0.0559033938, 0.0426890813, -0.0246048048, 0.0362681746, -0.0095902421, -0.017109612, -0.0403393023, -0.0038412681, -0.0240727942, -0.0497523025, -0.0315771811, -0.0102341315, -0.0031274499, -0.0056183371, -0.0117984712, -0.0296040997, 0.0257738177, 0.0016674545, -0.0302055236, -0.0082267113, 0.0020914557, -0.0509737097, 0.0070904084, -0.0117658898, 0.0109285787, -0.0366155691, -0.0346330591, 0.0193684157, 0.013578319, -0.0532326587, -0.0354581214, -0.0111666564, 0.0232649092, 0.0017929273, 0.0271885954, -0.0253595877, -0.0396365225, -0.0059683993, -0.030577071, -0.0787593573, 0.024234999, 0.0519273952, 0.0156363621, -0.0459008999, -0.0167661551, 0.0042697424, -0.0576232933, 0.0300642438, 0.0254265293, -0.040029075, -0.0028260665, -0.0911381021, -0.068336308, 0.0419452004, -0.0372292809, 0.118861109, 0.0594926439, 0.0146680241, 0.0272504184, -0.0368600599, 0.0501380302, -0.0418560095, -0.0423578247, -0.0534306169, -0.0277181901, 0.0235259533, -0.0037378029, -0.0297524892, 0.0499142781, -0.0940935463, -0.0260100104, -0.0027630383, 0.0550323091, 0.0364068113, 0.0120194079, -0.0456183739, 0.0097462628, -0.0018828495, 0.0101622408, 0.0171673279, 0.0647339672, 0.0196500178, -0.0276922677, -0.0478716642, -0.0607718751, -0.0003968024, 0.0108034667, 0.0393445902, 0.0042052157, 0.0146457311, 0.0265498646, -0.0067689689, -0.0264008362, 0.0086771604, -0.0303824954, 0.0491766892, -0.0408037789, -0.0261179432, -0.0210274365, 0.0405563973, 0.0256564505, 0.0261829495, 0.0108598853, -0.0190117471, 0.0296476316, -0.0418642424, 0.0527654923, 0.0133871138, 0.028545659, 0.0193999093, -0.0211961325, 0.0863215849, 0.0613170043, 0.0372683667, 0.0129322922, -0.0016094551, -0.0331244357, -0.037597578, 0.0433460288, -0.0048247017, 0.0358844846, -0.0661967024, 0.0390994623, 0.0492448285, 0.007330602, 0.0446644463, 0.0552893691, -0.0296404194, -0.0385977551, 0.0442884378, 0.0665257648, 0.0073182741, 0.0470658094, 0.0330776051, 0.0051211552, -0.0003814825, -0.0184886102, 0.0012348341, 0.0503854565, 0.0029140858, -0.007003597, 0.0425435007, 0.0765513033, -0.0212304611, 0.0004750899, -0.0473983549, -0.007793129, -0.0410146415, 0.0025122981, 0.02098093, -0.0220796727, -0.051043354, 0.0521462969, 0.0347800292, -0.086587064, -0.0052036839, -0.0485612787, -0.0027271314, 0.0641229749, 0.0492356606, 0.023959687, -0.0560243167, -0.0012494549, -0.0017411213, 0.0401509106, 0.0336092785, 0.0060744509, -0.0209824611, -0.0463306718, -0.0097574471, 0.0574940518, 0.0135343382, 0.0171924792, -0.0037388529, 0.0381219685, -0.027458543, -0.0081297467, -0.0346639119, 0.0116908913, -0.0112013146, 0.0111726755, 0.0436371751, -0.0121476371, 0.0226746984, -0.0355800427, -0.0015656431, -0.0437388457, 0.0645703301, -0.0507115573, 0.0264281165, -0.0202954486, -0.0136848185, 0.012913662, 0.0171993785, 0.0203268006, 0.0452553853, 0.0566987954, -0.0369278602, -0.0351985283, 0.0210139975, -0.0285856444, 0.0284071043, -0.0010835757, 0.0143129639, -0.0159600899, 0.0465294793, -0.0077479081, -0.0007778617, -0.0192117281, 0.0437069051, 0.0408858582, 0.0034106788, 0.0519863144, -0.0256797094, -0.0351484902, 0.0005828776, -0.0072071259, 0.0292657204, -0.0025427537, 0.0021103905, 0.02667813, -0.0198966563, -0.0594948418, -0.0204344783, -0.0207468085, 0.0392002463, 0.0400474332, 0.0356628448, 0.0391059034, -0.04016928, -0.0114135807, 0.0656506419, -0.0004703831, 0.0352442935, -0.0100309998, -0.0090947747, -0.0561440848, -0.025401568, -0.02142803, 0.0097723864, 0.0544568077, -0.0241281241, -0.0199087765, -0.0583547577, -0.013704719, -0.0064149201, 0.0577744991, -0.0096828258, -0.0577574596, 0.0144090466, -0.0092121279, 0.0343655869, 0.0606430173, 0.0146341408, -0.0290964991, 0.0776642635, 0.02053589, -0.0578811988, 0.0127695743, -0.0316241793, -0.0505505614, -0.0663701594, -0.0043143001, -0.0204187855, 0.0391861424, -0.0222420823, -0.0045099789, -0.0373665541, -0.0428175814, -0.0082604857, -0.0242524426, -0.0378385819, -0.003153892, -0.0083178412, 0.0208719354, -0.0011180695, -0.0684967935, 0.0078185713, -0.0344114602, -0.0247394051, 0.0085487608, -0.040675886, -0.0592433065, 0.0476544052, 0.0388449393, 0.0439061932, -0.0872592926, -0.0141157433, 0.0163962971, 0.0343152322, -0.033483278, -0.0521812476, 0.0433607548, -0.029222494, 0.0086404309, -0.0473886579, -0.0694657862, -0.0085003721, 0.0105718877, -0.0097353952, -0.0070447368, -0.000966806, -0.053030517, -0.0351355113, 0.0577711537, -0.003590788, 0.0690685436, -0.0038761143, -0.0055442089, -0.0208294392, 0.0136088422, 0.0513537526, 0.0768671557, -0.00167676, 0.0270704627, 0.0087206922, 0.0369127579, 0.0885320827, -0.0206311215, -0.038735535, 0.022057062, 0.0991178825, 0.0144231999, -0.0208094101, 0.0229974706, -0.027493855, -0.0284015033, -0.0387027897, 0.0628368929, 0.0230345577, -0.0669006258, -0.0079388088, -0.0085826665, 0.0766752511, 0.0409550928, 0.0610753261, -0.0790324584, 0.0104953144, 0.0044660829, 0.0003152561, 0.0234763566, 0.0077178637, -0.0247408785, -0.1095062345, 0.0397756584, 0.0073781512, -0.0029135197, -0.0205435194, -0.0552078858, 0.0062433905, 0.0072737075, 0.0441285819, 0.0288879722, -0.0130260428, 0.0038405315, 0.006176074, -0.0143131111, 0.0015102084, -0.0109802801, 0.0023473012, 0.0452131666, 0.0362027586, 0.01746439, 0.0412342399, -0.0389082842, -0.0392934941, 0.0230757073, -0.0206406359, -0.0380917005, -0.0094444314, 0.0346069671, -0.0392450467, -0.0088626668, -0.0128604705, -0.0344030708, 0.0112592578, -0.0452911817, 0.0847227499, -0.0074196411, -0.0067365235, -0.0098026702, -0.0521419048, -0.0189516228, 0.0289611612, 0.0042024939, -0.0203348584, -0.0086030951, 0.00144563, -0.0467651933, 0.0241795536, -0.0728805512, 0.0148968669, -0.0191594679, -0.0044541084, 0.0120351361, 0.0393592492, 0.0285062287, 0.0240165833, -0.009560287, 0.00706062, 0.0141217606, 0.0042267451, -0.0274382047, -0.0284993388, -0.068020992, -0.0209052376, -0.0459988229, -0.0070808176, 0.0173688103, 0.006484692, -0.0279102996, 0.0013825047, -0.0605891459, -0.0426781625, 0.0335036702, 0.0529412702, 0.0312236529, 0.0152615421, 0.0112336706, -0.0724350438, 0.0243961178, 0.0543707162, -0.0400529467, 0.0905604661, -0.025205262, -0.0552261211, 0.0044670468, 0.0471293144, -0.0391493589, -0.0068484289, -0.005395222, -0.0186379105, 0.0046800775, -0.0497634038, -0.009862693, 0.063238658, -0.0202835072, 0.0159916263, -0.0520565026, 0.0369132906, 0.0868178084, -0.0351689607, 0.0164924599, -0.033723034, -0.0234655775, -0.0121996319, -0.0128264064, -0.0261826999, 0.0048868014, 0.0526785515, -0.0167959519, -0.0315574631, -0.0109881302, 0.0207538698, -0.0505445935, 0.0803584158, 0.0211072899, 0.0026069046, -0.0150884017, 0.0156475864, 0.0473928265, -0.0673923641, -0.063951984, -0.0071058716, 0.0043012649, -0.0128864609, 0.0512870699, -0.0081863357, -0.112897113, -0.0235827919, -0.0080305394, 0.0244955085, 0.0221698526, 0.0825323462, 0.0146998428, 0.0203311816, -0.0140558546, -0.0140229827, 0.0093544293, 0.0216766391, 0.023146674, 0.0026199108, -0.0211198088, 0.0356915109, 0.0316121392, -0.0000394413, 0.0425966121, 0.004171107, -0.0129974457, -0.0152276, 0.009189018, -0.0438969433, 0.0188931879, -0.0033915685, -0.0666998178, -0.0233346429, -0.0454697832, 0.0015776595, 0.026630301, -0.0140399942, -0.0284762941, -0.0141138881, 0.0431656539, 0.0335071646, 0.0279684979, -0.0103876684, 0.0203921273, -0.0312832631, -0.0213092752, 0.0447369814, -7.084938817e-33, -0.0161518492, -0.0135162324, 0.0377446972, -0.0279996321, 0.0132316416, 0.0216818489, -0.0198769048, -0.0455428213, 0.0123453271, -0.0258663669, -0.0365911387, 0.0095575936, 0.0248718038, 0.0058653462, 0.0185906589, 0.0088224346, 0.0473514237, 0.0063822446, -0.0213021841, 0.0238109492, 0.0432108007, 0.0047738282, -0.0012263001, -0.0320687406, -0.0606054962, -0.0205559488, 0.0261320081, 0.0055063148, 0.000474429, 0.0571384132, -0.0683894604, 0.0556888543, -0.0085936477, -0.0379847437, -0.0071544694, 0.013546953, -0.070961304, -0.009870749, 0.0294624809, 0.015717322, -0.0023265064, 0.0093400665, 0.0175025649, 0.039025452, -0.0192556344, 0.0063775526, -0.010605922, 0.0271152779, -0.0472149141, 0.017550258, -0.0376426578, -0.0054480811, 0.0255612414, 0.0481479429, 0.0798408687, -0.0299046524, -0.005690882, 0.0410078354, -0.0674832612, 0.0151651064, -0.0003062333, 0.0656057447, 0.0556595325, -0.0149967931, -0.0007957604, 0.0473357588, 0.0030994439, -0.0288110971, 0.0284720603, 0.0285824593, 0.0163410567, 0.004869944, 0.0121219829, 0.0149686225, 0.0290992185, -0.0320492424, -0.0620257035, -0.0205224697, 0.0377269089, -0.0034069563, 0.0348343886, 0.003767096, 0.0057619014, -0.0255147796, -0.0326998532, -0.0074408539, -0.0423541442, -0.0190252662, 0.0214592833, 0.0439793281, -0.0245579313, 0.0054279692, 0.0355015211, -0.016655894, -0.0233181771, -0.0118113291, 0.0129843215, 0.0085391626, 0.0267598201, 0.0489170328, -0.0118682347, -0.0339541286, -0.0032416764, -0.0655348226, -0.0051491461, -0.0069609582, 0.0145396041, 0.0473847538, -0.1115020588, 0.0213521235, -0.0352632627, 0.0078561278, 0.0286237244, 0.0350947417, 0.0421458408, 0.0071445801, 0.0215700623, 0.0372054763, -0.0053360332, 0.0066014798, 0.0094483988, -0.0524229258, 0.0054775425, 0.0064813755, -0.0255406499, 0.0155535284, -0.0608873107, 0.0502877273, 0.054381147, -0.0349398218, -0.0122590382, 0.0209344029, 3.062e-7, -0.0131467069, 0.0485481583, -0.0082041351, -0.0458863527, 0.0182758383, 0.0128513984, 0.0383934602, 0.0548790731, 0.0272393283, 0.0010414385, -0.0607139878, -0.0021917815, 0.0144617707, 0.0208479781, -0.0680882037, 0.0209153816, -0.0602024607, -0.0092255259, -0.0265499707, -0.0480155423, -0.0110673653, 0.1201229542, -0.0171310883, -0.0507357828, 0.009262505, -0.009260009, 0.0070098219, 0.0040062414, -0.0122959567, -0.0117567945, 0.0302465651, -0.004449687, -0.0474754199, 0.005632346, -0.0068389801, 0.0213408116, -0.0921581313, 0.0396771729, -0.0398487113, 0.0302930083, 0.0455433503, -0.0609528571, -0.0433765687, -0.0233058445, 0.0615910627, 0.0202452261, -0.0075015547, -0.0114818448, 0.033493422, -0.0217955448, -0.0103132725, -0.0115871429, 0.0404292606, 0.0416803397, -0.0017245244, -0.0425001085, 0.0127670094, -0.0763823017, -0.0026636547, 0.0106666619, -0.0234866925, -0.0228536446, -0.0621876195, -0.0020649056, 0.0319101661, -0.0233463999, -0.0100558596, 3.27081923e-34, 0.0075396504, 0.0519158356, 0.0283249114, 0.0991665348, -0.0047121742, -0.0376231372, -0.020216018, 0.0104506975, -0.0189337935, -0.1473460048, -0.0375905037 ]
http://arxiv.org/abs/2406.11634v1
http://arxiv.org/pdf/2406.11634v1
The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance
2024-06-17T15:14:10
2024-06-17T15:14:10
Kyle Moore, Jesse Roberts, Thao Pham, Oseremhen Ewaleifoh, Doug Fisher
cs.CL
cs.CL, cs.AI
Cloze testing is a common method for measuring the behavior of large language models on a number of benchmark tasks. Using the MMLU dataset, we show that the base-rate probability (BRP) differences across answer tokens are significant and affect task performance ie. guess A if uncertain. We find that counterfactual prompting does sufficiently mitigate the BRP effect. The BRP effect is found to have a similar effect to test taking strategies employed by humans leading to the conflation of task performance and test-taking ability. We propose the Nvr-X-MMLU task, a variation of MMLU, which helps to disambiguate test-taking ability from task performance and reports the latter.
[ 0.0255176667, 0.0301484428, -0.01549323, 0.042124562, -0.0658054277, 0.0035247551, -0.0013192907, 0.0341807827, 0.0057907547, -0.0499457344, -0.031601537, -0.0834287927, -0.0117925964, 0.0274983142, 0.0627233982, 0.0334306844, 0.048270639, -0.0637251586, 0.0555111021, -0.0469077975, -0.0240589362, -0.0391786657, -0.0177000184, 0.0255361851, 0.0267413221, 0.0063155214, 0.0108387303, -0.001349026, -0.0451517105, -0.033524476, -0.0010765471, 0.0654369295, -0.002817435, 0.0130008208, 0.0000019401, -0.0765260756, 0.0459179915, -0.0212489944, -0.0569660477, 0.0076710014, -0.0123596275, 0.0458583981, 0.0166157838, 0.046875421, -0.0193375535, 0.0132806189, 0.0027963964, 0.0213901922, -0.0160244871, 0.088259615, 0.0168716814, 0.0475421026, 0.0101716509, -0.0335199125, 0.0445923992, -0.0318109281, 0.0055598393, 0.0237727351, 0.0411715284, -0.0241822507, -0.0216197148, 0.0018236749, 0.026942227, 0.0299412403, -0.0233513787, 0.0533052236, 0.0221549515, -0.0055332836, -0.0431696177, 0.0323944949, -0.0075202724, -0.0195440035, 0.0010002187, -0.0169771109, 0.0093286475, 0.0234560072, -0.0436259061, 0.0446963832, -0.0080265068, -0.0105523812, 0.0225890335, -0.0109724961, 0.046263013, -0.0193936862, 0.0035646562, 0.1074485108, 0.0122544393, -0.0580173768, 0.0306238234, 0.0319007039, -0.0254824273, -0.0901671275, -0.0043055261, 0.0254725423, -0.0518280491, -0.0018385357, -0.0167062841, -0.0005992248, 0.0682807863, -0.0185650829, 0.0572538003, 0.0613584518, -0.0246367473, 0.0016018219, -0.0396832749, 0.1061707437, 0.0147808408, 0.0389081575, -0.0117246537, 0.0081019495, -0.0326061286, -0.0113436105, 0.0284314957, 0.0297818184, -0.0249394327, -0.0000906039, -0.0443361625, 0.0187441967, -0.0088105928, 0.006251811, -0.0068725613, -0.0060736528, -0.020339543, 0.0425304137, -0.0812818483, -0.0093824556, -0.0474157408, 0.0313808918, 0.0113040172, -0.0850798339, -0.0345337018, -0.0186444055, -0.0098795323, -0.0349367484, 0.0372156836, 0.0899777487, -0.0243845005, -0.0242154095, 0.0277563818, -0.0383439586, -0.0092925234, -0.0580359846, 0.0209926926, -0.0694304332, 0.0230632499, 0.0282731447, -0.0134929661, -0.0005252117, 0.0042930399, 0.0222123377, -0.0029130599, 0.0263524819, 0.0607106462, 0.0088885343, -0.011888898, 0.0025814711, -0.0463603884, 0.0906730369, 0.0146232704, 0.0015566949, 0.0324847549, -0.0173324738, 0.0226594377, 0.0658100992, 0.0210207794, 0.0053928592, 0.0035774568, 0.0098560806, 0.0115387794, 0.0362848043, 0.0954589397, 0.0208498724, -0.0158248749, -0.038837634, 0.0587853603, 0.0730960667, -0.01827945, -0.0529442057, 0.0002674158, -0.006307832, 0.0115969777, 0.0484684817, -0.0735005438, 0.0142271183, -0.0202013291, 0.0481596664, 0.0086471485, 0.0158660859, -0.0240560938, -0.0146089392, -0.0469714999, 0.013844071, -0.0150656737, 0.0450954922, 0.0411888435, -0.0189395659, -0.0414397679, 0.0817993954, 0.0173409749, -0.0231512785, 0.0093705356, -0.0895403326, 0.0369409285, 0.0108703002, 0.0267294385, 0.0110485777, -0.0353524424, 0.0098676421, -0.0128489379, 0.0611190647, 0.0350273289, 0.0001199726, 0.0373295136, 0.0049107629, 0.0124375019, -0.0196398292, -0.0014721935, 0.0083602834, -0.0001089045, -0.0195269939, 0.0002504323, -0.0483414903, -0.0190775488, 0.0380991884, -0.0153971929, -0.0065775733, -0.0101457471, -0.0273533687, 0.0267078504, -0.0125275049, -0.0089174667, 0.0214216989, 0.0361650027, -0.0198901705, -0.0072195483, -0.0016147876, -0.0464042276, -0.0616363548, 0.0475760438, 0.0120161762, -0.0351091363, 0.039945025, -0.0119535495, -0.0455659106, -0.0099818334, -0.0284950882, 0.0725691691, -0.026002707, 0.0314023942, -0.0162570085, 0.0030532875, -0.0307597723, 0.0592155084, -0.0306626838, 0.0549272113, 0.0170565378, 0.01474794, -0.0183727462, -0.0829672515, -0.0139455004, 0.0142179336, -0.0262160636, -0.0031197048, -0.0027294138, 0.0171802435, -0.0716779381, -0.015931949, -0.0724578574, 0.0054365858, -0.0177868493, 0.050841935, 0.0168824624, -0.0038060576, -0.0341237187, -0.0241991207, -0.033982981, -0.0331893004, 0.0426918939, 0.057808999, 0.0017184124, -0.0019487272, -0.0044091977, -0.0433787517, -0.011005925, -0.0337688439, 0.0105677955, -0.0092897508, 0.0173361562, -0.0318079852, 0.0371037051, -0.0150538171, -0.0016743342, -0.0151995383, -0.0156428125, 0.0411364958, 0.0036151698, 0.0415235609, 0.0695030838, -0.0207253397, 0.0080603557, 0.0474893637, -0.0222906806, -0.0669878423, 0.0146510014, -0.0148356762, -0.0223890245, -0.0311925281, -0.0758637413, -0.0050394232, 0.0648984686, 0.0185025316, 0.0174187906, -0.0153713254, 0.0257100109, -0.0130189573, -0.0468509607, -0.0284765158, 0.015689496, -0.0385650173, 0.0516040102, -0.0319039524, -0.0607386231, 0.0561840907, -0.0425866805, -0.0177187044, -0.0254238732, 0.0133545017, -0.0366550237, 0.0253887419, 0.0171572492, -0.0367860012, -0.009692735, -0.0472203605, -0.0251503624, 0.0055549862, -0.0308556706, -0.0347535834, 0.0386868566, -0.0642928332, 0.0082737282, -0.0114207454, -0.0488138534, -0.0482487008, -0.0027385061, -0.0301250946, 0.0152339237, -0.0058644642, -0.0254031196, 0.0211961903, -0.0053597856, -0.0043663993, -0.0012174295, -0.0580220409, 0.005847903, -0.0230330825, 0.0467899442, 0.0559483394, 0.0903199911, 0.0532076955, -0.0369813554, -0.012363038, 0.0445063226, 0.0798726454, 0.0358854681, -0.0088717816, 0.0278688408, 0.018437786, -0.0307925791, -0.0181074794, 0.0567956381, 0.0428466015, -0.0332493857, -0.0368156843, 0.1155063435, 0.0230612718, -0.0005843107, 0.0163636003, -0.0269317385, 0.0547078326, 0.0289699566, 0.0223813877, -0.0560692921, -0.0430921838, 0.0172048323, 0.0310976971, -0.0493706279, -0.0117329024, -0.0048443726, -0.115971908, 0.0095192846, -0.0349741876, -0.0393022299, 0.0171331409, -0.0523395203, 0.0218073409, -0.0021523046, 0.0636515021, 0.0236696899, -0.0154458731, 0.0094524426, 0.0276876874, -0.038718164, -0.0766891316, 0.0563786402, -0.0366093628, 0.0658278912, 0.0315621905, 0.0040532984, -0.0448031835, -0.0232676584, 0.038474381, -0.0197302252, 0.0288345404, -0.0403247811, 0.0143182091, 0.0206461959, 0.0093779899, -0.0176233351, -0.0062951758, -0.027008336, 0.009008483, 0.0164407529, 0.0545293987, -0.0244638417, -0.0263092369, -0.0154310884, 0.0008764657, 0.0067580943, 0.1059892401, 0.0388698988, -0.0480094329, -0.0364226624, -0.0121866344, -0.0268626567, -0.0423146039, -0.0257072411, -0.0103924191, -0.0065898201, 0.0392231494, -0.0539198257, -0.0542950816, 0.0301274881, 0.0305541977, -0.003940532, 0.0084664188, -0.0320812017, 0.0008941262, -0.0115738716, 0.0447718985, -0.000829735, 0.0258830208, -0.0788612738, 0.0023458772, 0.0048107384, -0.0065800068, -0.0309962165, 0.0406814925, -0.1259654313, -0.0591553375, -0.0046536392, 0.0317972898, 0.0327246264, 0.0093233185, 0.0157918539, -0.0552241057, 0.0231557246, -0.0385005437, -0.0384657755, 0.0859310776, 0.0156018985, -0.0159685742, -0.0059301364, 0.0244932119, -0.0483375527, -0.0205352418, 0.0224406458, 0.0534255505, -0.0036339138, -0.0131894238, 0.0088797342, 0.0288599785, 0.0310984701, 0.0049210852, 0.0046943892, -0.0129905455, 0.0314936489, -0.0104855448, 0.0225852672, 0.0002829228, -0.0348416641, -0.009223518, -0.0025322284, -0.0043524862, -0.0323549621, -0.0610214882, 0.0352652743, -0.0320317298, -0.001075903, 0.0335431509, 0.0012589903, 0.0173880327, 0.0014232412, -0.0122725619, -0.0203977879, 0.0184260048, 0.0731152147, 0.0112281023, 0.0437130257, -0.01697677, -0.0368006937, 0.0140888849, -0.0185946152, -0.0688209683, -0.0615169667, 0.0142702786, 0.0167931803, 0.0099865114, -0.0134088043, 0.0421256386, -0.0405687392, 0.0343832523, -0.036338672, -0.0306701735, -0.0054103509, 0.0021332577, 0.0672108978, 0.0069359974, -0.0149186784, 0.0076321792, 0.0703078359, 0.0609567687, 0.0276605785, -0.018742742, 0.0254096091, -0.0293370355, -0.0339700654, 0.0207780823, 0.0295043848, 0.0010240629, -0.0268586762, -0.0781319365, -0.0444292016, 0.0600036122, 0.0287714433, 0.0207496919, -0.022638863, 0.0043039722, 0.0589550324, -0.0010528697, -0.0560177937, -0.0305024963, 0.0174165331, -0.0005756156, -0.0040213917, -0.0477512628, -6.775996126e-33, -0.0309044123, -0.0535199977, 0.0319370925, -0.0319694206, 0.0241619293, 0.0261200033, -0.0288718306, 0.0251744259, -0.0153916534, -0.0334871747, -0.0490327403, 0.0052376804, 0.0313586183, 0.0172440913, 0.0181245338, -0.0177506097, 0.0223089438, -0.0131996442, -0.0412011035, -0.0186422169, 0.0213711988, 0.0193080138, 0.0635987744, -0.0156654045, 0.042633716, -0.0123567441, 0.0289133862, 0.0035327957, -0.0506665148, 0.0620707497, -0.0197695773, 0.0527615994, 0.0395307504, -0.0293811988, -0.0242207423, 0.0008215823, -0.0355937965, -0.0530864783, 0.0613690317, 0.0122375712, -0.0098347468, 0.0066413097, 0.0380501524, 0.0017203304, -0.0570463352, -0.0068031782, 0.0055948435, -0.0103877615, -0.0362579599, 0.0069166808, -0.0289769154, 0.0006054478, 0.017427709, 0.0036774024, 0.0017848895, 0.0290025342, -0.027302349, -0.0156444758, -0.0294088721, 0.0241926964, 0.0210189186, 0.0522236228, 0.0837743804, 0.0353659242, -0.0136119658, 0.0575595908, 0.0413426794, 0.0087092621, 0.0460255407, -0.0125995362, 0.0594959892, 0.0135730505, 0.041957356, 0.0442113504, 0.0850862786, 0.0063053267, -0.0539500229, 0.0336456001, 0.1036813185, 0.0080432678, 0.0257655047, -0.00075077, -0.0493306555, -0.0348557383, -0.0299316868, 0.0192118157, -0.0361803919, -0.0239284448, 0.0532714166, -0.0241172146, 0.0299152955, -0.0151982047, 0.048198279, 0.0077893962, -0.0185527187, -0.0353773013, -0.0142283738, 0.0348392129, 0.0030909567, 0.0095683448, -0.0733139962, -0.0053192368, 0.0062397304, -0.0001769537, 0.0205330849, 0.0041410583, -0.0133360969, -0.0011118987, -0.0443477482, -0.0086359391, -0.0463139862, 0.0277660247, 0.0254610088, -0.0136786904, 0.0617303625, -0.0161280222, 0.0001082196, 0.0117462035, -0.0097057726, -0.0678212568, -0.0473548621, 0.0196851753, -0.0053371498, 0.0401002094, -0.0322489813, 0.0027933684, -0.0141216107, 0.0426920652, -0.0249370467, -0.0442854315, -0.0026384268, 0.0286399275, 2.688e-7, 0.0390608273, 0.0501577184, -0.0000372908, 0.0354837924, 0.0043550413, 0.0100362105, -0.066527456, 0.0107309716, 0.0495813563, -0.0275601298, -0.0257030465, -0.0061220038, 0.046268668, 0.0147255687, -0.0610269159, -0.0034311814, -0.0634446442, 0.0183589961, -0.0164776668, -0.0052629923, 0.0030784928, 0.039012365, -0.0292526223, -0.0410995297, -0.0147936912, -0.0412914455, 0.047635369, -0.0430637151, -0.0346244983, 0.0073058894, 0.0231803227, 0.0187260062, 0.0263980199, 0.0820988119, 0.0056275479, -0.0008772089, -0.0165679902, 0.0325464495, 0.0140436729, -0.0740373656, -0.0221015066, -0.0241233557, 0.0225556027, -0.0170432534, 0.0539502688, 0.0173679441, -0.0226478614, -0.0335411392, 0.0217197705, -0.0220758114, 0.009841267, -0.0179472324, -0.0058198189, 0.015686458, 0.0149204507, -0.0102049857, -0.0272970926, -0.0505846366, -0.0274245869, 0.0199361034, -0.0500412621, -0.0992737338, -0.0494259857, -0.0054056356, -0.0100659803, -0.0814147815, -0.0463257767, 2.881532465e-34, 0.01917121, 0.0243336167, 0.0383793451, 0.0737659782, 0.0178253204, 0.0030981328, -0.0299528018, 0.021555949, -0.0114078801, -0.0469744727, -0.0284646582 ]
http://arxiv.org/abs/2406.11632v1
http://arxiv.org/pdf/2406.11632v1
Unveiling the Power of Source: Source-based Minimum Bayes Risk Decoding for Neural Machine Translation
2024-06-17T15:13:52
2024-06-17T15:13:52
Boxuan Lyu, Hidetaka Kamigaito, Kotaro Funakoshi, Manabu Okumura
cs.CL
cs.CL, cs.AI
Maximum a posteriori decoding, a commonly used method for neural machine translation (NMT), aims to maximize the estimated posterior probability. However, high estimated probability does not always lead to high translation quality. Minimum Bayes Risk (MBR) decoding offers an alternative by seeking hypotheses with the highest expected utility. In this work, we show that Quality Estimation (QE) reranking, which uses a QE model as a reranker, can be viewed as a variant of MBR. Inspired by this, we propose source-based MBR (sMBR) decoding, a novel approach that utilizes synthetic sources generated by backward translation as ``support hypotheses'' and a reference-free quality estimation metric as the utility function, marking the first work to solely use sources in MBR decoding. Experiments show that sMBR significantly outperforms QE reranking and is competitive with standard MBR decoding. Furthermore, sMBR calls the utility function fewer times compared to MBR. Our findings suggest that sMBR is a promising approach for high-quality NMT decoding.
[ -0.0119436709, 0.058479961, 0.0400987491, 0.003541009, 0.0198006742, -0.0014751144, -0.0177483186, 0.021929672, -0.0495679453, 0.0084303971, -0.0227781069, -0.0109790536, 0.0205539949, -0.0116999, 0.0330192149, -0.0053225034, 0.0037139973, 0.0050750487, 0.0000065428, 0.0202589054, -0.0585913397, -0.0087548736, 0.0034832777, 0.060559269, 0.0004047, 0.0039105038, 0.0110425623, 0.0404446386, 0.0692894608, -0.0247454308, -0.0344589688, 0.0214808602, -0.0065182336, 0.016512949, 0.0000020078, 0.0061236555, -0.0573590025, 0.0259967148, -0.0038803485, -0.0148075856, -0.0069386517, -0.0276794918, -0.050394021, 0.0201490037, -0.0148042282, -0.0198396295, 0.0744212866, 0.0126693342, 0.0621103495, 0.1009262353, 0.000191769, -0.0151608316, 0.0132446494, -0.0694802031, 0.0104398075, -0.0504856333, -0.0210499708, 0.0145710818, -0.0697425157, 0.0047537992, -0.0157273002, 0.0543363206, 0.047097452, 0.0044389088, 0.0132794669, 0.0169935673, 0.0404310636, -0.0029661818, -0.0048271981, 0.0542214178, -0.0539163649, 0.0016016803, -0.0378771573, -0.0313037671, 0.0003510492, -0.0161742549, -0.0111097125, 0.0595676899, -0.0003205371, 0.0464951769, 0.0271076374, 0.0661157891, 0.0517255217, -0.015448492, -0.0366288126, 0.0292358771, 0.0001870997, -0.0244083088, -0.042079147, 0.0281272978, 0.0086910566, 0.0283739343, 0.0495174341, -0.0430852734, 0.0346494354, 0.0270267501, -0.0231345166, -0.0408958234, -0.0313849188, -0.0545026436, -0.0039197933, 0.0659353808, 0.0054032858, 0.0207184833, 0.0125650363, 0.0358892344, -0.0233346075, 0.0139303701, -0.036162518, 0.0249562785, 0.0210181903, 0.0276252441, -0.0042273607, -0.0145284412, -0.0404431932, -0.024983177, -0.0131524168, -0.0181322377, 0.0068508899, -0.0273003653, 0.0594722666, 0.0053021261, -0.0880869105, -0.0193686653, 0.0003399552, 0.0429315604, 0.0258669108, -0.0168792587, 0.0188615434, -0.0442721061, -0.0472375862, 0.0007239703, -0.0206973813, -0.025633119, -0.0216623619, 0.0693529919, -0.0244766474, -0.0004686377, -0.0168514811, 0.0008194565, -0.0271579903, 0.0090434523, 0.0404898264, -0.0327258334, 0.0483365692, -0.0252567474, 0.0242244489, -0.0434951074, 0.0010099582, -0.0170335732, -0.0149497939, 0.0344570465, -0.0129073849, -0.0248570293, 0.0312849432, 0.0221859347, -0.0087423678, 0.0785402507, 0.0521759503, 0.0329867415, -0.0013439244, 0.0137607139, -0.017973613, 0.0297864769, 0.0082581248, 0.0302577969, -0.0215117633, -0.0354012959, -0.023397021, 0.0177975297, 0.0598868728, 0.0325584449, -0.0838219374, 0.0029267748, 0.0692625269, -0.0046925219, 0.0435644388, 0.0237264521, 0.0278910939, 0.0089308703, -0.0264721699, 0.0107641993, -0.013231636, 0.0537099317, 0.0286697894, 0.0049604643, 0.0832713991, 0.0461882986, 0.0262507088, -0.0628015324, 0.0177719519, -0.0432388075, -0.0316496231, -0.0302975569, 0.03972321, 0.0359358266, -0.0432434455, 0.0257013105, -0.0267238244, -0.0405462794, 0.008938035, -0.029643178, -0.0155269522, 0.0387792177, 0.0549488999, 0.0053842654, -0.031842798, -0.0157210901, -0.0678421035, 0.0343460999, 0.0037777124, 0.0380664356, 0.0734611303, -0.0546939932, -0.0305679049, 0.0035403315, 0.0349770524, 0.0477325283, -0.0356857516, -0.0007224462, 0.0317199044, 0.0023130898, -0.0447485745, 0.0242235158, 0.0390329547, -0.0263877995, 0.0572106093, 0.0109734116, 0.0525583103, -0.0023221106, -0.0357908942, 0.0417194329, 0.0019798996, -0.0339184627, -0.0381115936, 0.0209621452, -0.0622953326, -0.0670554489, 0.0110565601, -0.0620297156, 0.0073717525, 0.0230917353, -0.0320509896, -0.0407344997, 0.0095053129, -0.0553277731, -0.0218922719, -0.0357748009, 0.0277749784, 0.0165252257, -0.0079426421, -0.0226996187, 0.0333136879, -0.0465435348, -0.0272255111, 0.0208703969, -0.0504185595, 0.0144765852, -0.0635406971, 0.0063365283, 0.0387781858, 0.00573189, 0.0316518173, 0.0403324217, 0.0479715914, -0.0050036614, -0.0162341371, 0.0088767968, 0.0072216084, -0.0185922328, 0.0320589356, 0.0400944538, 0.0343029201, 0.0088826148, -0.0250121318, -0.0058888346, -0.0359646268, -0.0340691134, -0.0027953736, 0.0111137182, 0.0237609409, 0.0652968585, -0.0118176183, -0.0376953743, 0.0134557206, 0.074390322, -0.0265504457, -0.0037943751, -0.1095787808, 0.0462795235, -0.0251098145, -0.0086045302, 0.0045834887, -0.0540558472, 0.0287084058, -0.0178501401, 0.0368536189, 0.0511848107, -0.0119441971, -0.0102450196, 0.0542398244, 0.0240418408, -0.0698356479, 0.0079515371, -0.0275105946, 0.0027018127, -0.0080707707, -0.0885988846, 0.0332826078, 0.0220274739, 0.0328905955, 0.0090550967, -0.1080029756, 0.0531535111, 0.0078805564, -0.054437615, -0.0119084744, 0.0096505089, 0.0145482002, 0.0192665122, -0.0082527017, -0.0495471582, 0.0697368085, -0.0370704047, 0.0221872497, -0.0605890304, 0.0131867444, -0.0114978487, -0.0388976075, -0.0508490205, 0.0342057757, -0.0296447743, -0.0465224832, -0.0241927169, 0.026344616, 0.0252694469, -0.0147465505, -0.0065881102, -0.0439879335, -0.0437013805, -0.0303956177, -0.0074463258, 0.0079543432, 0.0147254504, 0.0273443423, -0.0286465269, 0.0103193698, -0.0110838227, 0.0139729148, 0.0151256863, 0.0128942067, 0.0580085926, -0.0203439016, 0.0048047211, -0.0055399579, 0.0390512645, -0.0046794168, -0.0265827756, 0.0585968159, -0.024634799, 0.012512357, 0.0332966782, 0.0255430844, -0.0036722543, -0.0480570272, -0.0179380197, 0.0256791618, 0.0534753315, -0.0176718179, 0.0080955448, 0.0224958565, -0.054233361, -0.002960518, 0.0801972076, -0.0033635781, -0.0461779051, -0.0100826342, -0.008483449, 0.024213776, -0.0183408726, 0.0155619234, -0.0434516706, -0.0076835342, -0.0072710952, 0.0532382801, 0.0170867871, -0.0002540869, -0.0304690022, -0.0749794394, 0.0416726992, 0.069357045, -0.0222817603, -0.0453917794, -0.0129224863, -0.0613921098, -0.0630669445, 0.0061317929, 0.0194517802, 0.0580454171, 0.0052092648, 0.0131584294, 0.0014290812, -0.0819767192, -0.0709182173, -0.0413637422, 0.0161409061, 0.0843239874, 0.0074759503, 0.0111506106, -0.0131011764, -0.0341157988, -0.057517238, 0.0147028798, 0.0052062897, 0.0318612903, -0.0130313858, -0.0160366166, 0.0404126272, -0.0389574207, 0.0065925252, 0.020165205, -0.0215707552, 0.0435148291, -0.0438080281, 0.0019716963, -0.0025292973, -0.0144120296, 0.0257997774, 0.0219756421, 0.0412955545, -0.0318366587, 0.0111131631, -0.0559015796, 0.029167356, -0.052125603, 0.011425049, 0.0169716403, 0.0039019608, -0.1070368662, -0.1153461635, -0.0379851088, -0.0321393311, 0.027747497, -0.0355459861, -0.0135110635, 0.0204582941, -0.0084517496, -0.0066017839, 0.0275539756, 0.0060228985, -0.0354664922, -0.0137130143, 0.0472788475, 0.0090213371, -0.0233851112, 0.0010580494, 0.0172078647, -0.0306992903, -0.0655789599, -0.0519756824, 0.0838976204, 0.0187166017, 0.0041023381, -0.0495986529, -0.0456614047, -0.0115741091, -0.0064673969, -0.022165902, 0.010480036, 0.0404680334, -0.0214458853, -0.0210331064, 0.0191517398, -0.0388411023, -0.0114826309, -0.0303143505, 0.0548378825, -0.0098183611, 0.0138277151, 0.0384257734, -0.0107711647, 0.0397189856, -0.0653581992, -0.0295369755, -0.041097749, 0.0156032406, -0.0412160903, -0.0006192661, -0.0602349676, 0.0362970829, 0.0637489706, 0.009919974, -0.0032524085, -0.0002765063, -0.0022900952, -0.0232602023, -0.0040758564, 0.006672611, 0.0056545124, 0.0005659866, 0.0106387613, 0.0071034292, -0.0125448303, 0.0065857461, 0.0073359949, -0.0070947832, -0.0310933534, 0.0140862549, 0.0060742474, -0.0178130902, 0.0235660374, 0.0634908229, -0.0696331784, -0.0349929221, -0.0578097627, -0.0005553889, 0.070555985, 0.0561902113, 0.1534069628, 0.0223696046, -0.0007250811, -0.0273447223, 0.0384552106, 0.0349118747, -0.0322775543, 0.0023959517, -0.0028270171, 0.0027817918, 0.0293870177, 0.0677531585, -0.003080704, -0.0105771441, -0.057370916, -0.0041149254, -0.0201672856, -0.0165979713, -0.029238617, -0.0117002483, -0.0091217496, -0.0312818438, -0.0222325418, -0.0351619907, 0.0086882068, 0.020408364, 0.01767537, -0.0100870281, 0.0011376458, 0.0368739478, -0.0686867461, 0.0034465683, -0.0338732973, -0.0435492881, -0.0283558443, -0.0163269974, -0.020538019, -6.373614859e-33, -0.0133744273, -0.0092475293, -0.0056843939, -0.1061577126, -0.0183675978, 0.0059788087, -0.0473680384, -0.0372059047, 0.0226349905, 0.0088944826, 0.0178915113, 0.0398284979, 0.0273324084, -0.0013111966, -0.0087443171, 0.0238196366, 0.0533454083, -0.0001381272, -0.054133907, 0.0055040591, 0.0365606733, 0.01227412, 0.0842064768, -0.0398737453, 0.0092937136, 0.0294449814, -0.0421335064, -0.0062306365, 0.0114787798, 0.0480759852, 0.0209885165, 0.0152348839, 0.0165222175, -0.0700609982, -0.0259026848, -0.0530102849, -0.0349479131, 0.0055149822, -0.0346659273, 0.0087006483, -0.0204372741, -0.0453038663, 0.0374447182, 0.003706034, -0.0283975173, -0.0301615484, -0.0219637435, -0.0649831295, -0.0368585512, -0.0696074143, 0.0154361315, 0.0554514118, -0.0132103898, 0.0130079472, 0.0299596023, 0.0561775081, -0.0382798314, -0.0235871878, -0.0442278199, 0.0421009511, 0.0147420997, 0.0276030619, 0.0738317743, 0.0066426443, -0.0168038998, -0.0074508442, 0.0344465524, -0.0464948751, 0.0362270959, -0.0085691856, 0.0077523855, 0.0224548448, 0.0728161857, 0.0402448624, 0.0319724455, 0.0157129373, -0.0738255456, 0.0626107529, -0.0137427673, -0.0035899491, 0.0006441762, 0.0519437455, -0.0290322881, -0.0175694935, -0.0583311655, -0.0763662159, -0.0069598327, -0.016813824, 0.0173789877, 0.0246332306, -0.0387669764, -0.0209734477, 0.0870910659, -0.0127704907, 0.0801613852, 0.0242404453, -0.0128172683, 0.0148958554, -0.0078915553, 0.0230398923, 0.0061260401, 0.0446876213, 0.0625477955, 0.0105938576, 0.0002163245, -0.0247435849, 0.0191848446, 0.0299341269, -0.0116698295, 0.0078151375, -0.0227855369, -0.0055794944, 0.031074781, 0.0347388759, 0.0374095514, -0.0532472022, -0.0090151811, 0.0485415645, 0.0168418009, 0.0586728416, -0.0013638184, 0.03374248, 0.0423713923, 0.0202702787, -0.0260639116, 0.022203071, 0.0090039466, 0.0351694115, 0.0802525878, -0.0587988161, -0.0648678392, 0.0515537336, 2.702e-7, 0.0539641418, 0.034057267, 0.0203926861, -0.0081455037, 0.0198491272, 0.0400634333, -0.0233195946, 0.0195105039, 0.0084382314, 0.049459476, 0.0297083929, -0.0124637065, 0.0765420571, 0.0326292701, -0.0777332708, -0.052964367, -0.0559559576, 0.0087367948, -0.0203967001, -0.0391126014, 0.0070040929, 0.074325189, -0.0565341637, 0.0118139647, 0.0172663238, -0.0029147794, 0.0527171604, -0.0178488325, -0.007743706, -0.0137846256, 0.0454170816, 0.006079461, -0.0171102658, -0.059189748, -0.0296874512, 0.0001858935, 0.0384002402, 0.0703743994, -0.0012738411, -0.0534231775, 0.039192602, 0.0516074561, -0.0035526091, -0.0068859356, 0.0065894234, -0.053741172, -0.0278189573, 0.0167601667, -0.0528371036, 0.0110053737, 0.0221357457, -0.0413078144, -0.0192162283, -0.0090805693, 0.0150819104, 0.0219296552, -0.0065451595, -0.0425822437, -0.0336927213, -0.0272164866, -0.0065701297, -0.0505833253, 0.0003738228, -0.0173140839, 0.0541320555, -0.0383402631, -0.0165494345, 2.273199445e-34, 0.0489890762, -0.0338801332, 0.0455642715, 0.0194595773, 0.0457109027, -0.0191840399, -0.0136664445, -0.0011906011, 0.0052541853, -0.0313160159, -0.0643000305 ]
http://arxiv.org/abs/2406.11629v3
http://arxiv.org/pdf/2406.11629v3
Can Many-Shot In-Context Learning Help Long-Context LLM Judges? See More, Judge Better!
2024-06-17T15:11:58
2024-06-30T13:31:24
Mingyang Song, Mao Zheng, Xuan Luo
cs.CL
cs.CL
Leveraging Large Language Models (LLMs) as judges for judging the performance of LLMs has recently garnered attention. However, this type of approach is affected by the potential biases in LLMs, raising concerns about the reliability of the evaluation results. To mitigate this issue, we propose and study two versions of many-shot in-context prompts, which rely on two existing settings of many-shot ICL for helping GPT-4o-as-a-Judge in single answer grading to mitigate the potential biases in LLMs, Reinforced ICL and Unsupervised ICL. Concretely, the former utilizes in-context examples with model-generated rationales, and the latter without. Based on the designed prompts, we investigate the impact of scaling the number of in-context examples on the consistency and quality of the judgment results. Furthermore, we reveal the symbol bias hidden in the pairwise comparison of GPT-4o-as-a-Judge and propose a simple yet effective approach to mitigate it. Experimental results show that advanced long-context LLMs, such as GPT-4o, perform better in the many-shot regime than in the zero-shot regime. Meanwhile, the experimental results further verify the effectiveness of the symbol bias mitigation approach.
[ 0.0047363457, 0.0342090391, 0.0020920064, 0.0451429524, -0.033476945, 0.0257613584, 0.0488238409, 0.0228109527, -0.0134814698, -0.0628922731, -0.0506315157, -0.0385063849, -0.0316539705, -0.0366250239, 0.0044630477, -0.0352346897, 0.0319614299, -0.0342525691, 0.059311308, -0.0195786767, -0.0027396732, -0.0048062643, 0.0125384042, 0.0178573579, 0.0144597888, -0.0697888657, 0.0199312046, -0.0093074441, 0.0071548228, -0.0411698334, -0.0061703897, 0.0891675726, 0.0014788705, 0.0263272021, 0.0000021696, -0.0602917485, 0.0073626232, 0.005078184, -0.0302389432, 0.0451571047, -0.014948315, 0.030482294, 0.0063850135, 0.0082174586, -0.0443306491, -0.0027425915, 0.0019274013, 0.0219982415, 0.0521825925, 0.0543717183, 0.0308466423, -0.0432819203, 0.0131595777, 0.0014475834, 0.0291476678, -0.0344268344, 0.024661256, 0.0475712307, 0.013103296, 0.0275429636, -0.0367587097, 0.0108236894, 0.0510747209, -0.0191682614, 0.002046555, 0.0269152019, 0.0038307989, 0.0292865932, 0.0082605351, 0.0631587654, 0.007615854, -0.0234378669, -0.0563103557, -0.0316279829, 0.058955621, 0.0083417566, -0.0753073394, 0.0318453759, 0.0059930952, 0.0117269214, 0.0327687226, 0.0191359967, 0.0264330916, 0.0279972125, -0.0172077976, 0.0501615703, 0.0250840895, -0.0504145809, 0.0074555222, 0.0371172875, -0.0304426886, -0.0407238454, -0.0326926894, 0.0502074324, -0.0442481115, 0.0367522426, -0.0004674727, 0.0372247249, 0.0257510655, -0.0227409787, 0.0278400499, 0.0205822419, -0.0109544881, 0.0361756273, -0.0407413393, 0.041251, 0.0219946541, 0.0294285137, -0.023397563, 0.0020639903, -0.0484924279, -0.0139618907, 0.0131358802, 0.0424290784, -0.0070167114, 0.0337451398, -0.0730981529, 0.0249837432, -0.0682205781, 0.0046428223, 0.0140561331, -0.0120206568, 0.0313138254, 0.0060591986, -0.0451107323, 0.0380163714, -0.0307515748, 0.0220932364, 0.000596442, -0.0625432357, -0.0119344499, 0.0096640568, -0.0015434438, -0.0224200916, 0.0141634708, 0.0713245794, 0.0075531187, -0.0448208936, -0.0075155403, -0.0485324338, -0.0367815681, -0.0747949556, -0.0354168229, -0.0875545591, -0.0210965518, -0.0015225084, 0.0147527726, -0.0318130665, -0.0029030535, 0.0316278078, 0.0093535669, 0.0524353385, 0.0114232637, -0.0053403755, -0.0170544796, 0.0284081418, -0.0183644611, 0.0609829314, 0.016848715, -0.036563985, 0.0185368992, -0.0452883355, 0.0586311035, 0.0254006553, 0.0200002808, 0.0351542272, -0.0054550902, 0.0342081338, 0.0088178953, 0.0209074467, 0.0087878499, 0.0260918122, -0.0270056985, 0.0145238647, 0.0589738227, 0.0376801454, 0.0384220034, -0.0018193744, 0.0196692161, -0.0432487093, 0.0128091648, 0.0341470428, -0.0737231821, 0.0152797503, -0.0480724275, 0.021380499, 0.0096710576, 0.0201064553, -0.0277544912, -0.0562279373, 0.0035672484, 0.0324979648, -0.0470382422, 0.0546820797, 0.030255083, -0.0020777786, -0.0274083447, 0.0096456967, 0.026699543, -0.0354476273, 0.0118588218, -0.0705317035, 0.0595789514, 0.0302559026, 0.065075852, -0.0063674231, -0.0407546908, -0.0202083439, -0.0044761887, 0.0262447428, 0.0305786934, -0.0283354204, -0.0231381021, -0.0239125844, -0.0395420976, -0.0099894106, 0.001143817, 0.0025857759, 0.0182302855, 0.0412923582, -0.0063806698, -0.0549986027, -0.0060973745, 0.0195476525, 0.0187603645, -0.0676736608, 0.0001126722, -0.0157514159, 0.0287979618, 0.0493322536, -0.0037131188, 0.0193697698, 0.017889509, -0.0056290696, -0.0210650936, -0.0286857747, -0.0966855437, -0.0577472486, 0.0443154052, -0.0224378109, -0.0188644323, -0.0557452962, -0.0384235121, -0.0310448054, -0.0236590952, 0.0057083457, 0.0372142754, -0.0207000896, 0.0188218616, -0.0423389971, -0.018604368, -0.0824385211, 0.0581190363, 0.0329829119, 0.0126832686, 0.0300612208, 0.0395948626, 0.0115997223, -0.0129310014, -0.0264084041, 0.0131947082, 0.0146110598, 0.0065270923, 0.0143438568, 0.0302704014, -0.0593702942, -0.0208305288, -0.0726010799, -0.0076529332, -0.0327645279, -0.0024823386, 0.011207832, -0.0244195908, -0.0016054724, 0.0113839041, -0.0571544394, -0.0287365317, 0.0326243863, 0.0451243222, 0.0047849296, 0.0103336014, -0.0238050614, -0.0040316391, -0.023846386, -0.0402619988, 0.0348870791, 0.0256839804, 0.0251519475, -0.0639055744, 0.048766315, -0.0089527871, -0.0357334316, 0.0247621965, 0.0047632162, 0.0386781655, 0.0079139527, 0.0180321652, 0.0418301076, 0.0046051354, -0.0041423771, 0.0711290464, -0.0145764193, -0.1000515893, -0.0075272461, 0.0198196862, -0.0238501281, -0.0256294459, 0.0149748214, -0.0086010275, 0.0307922773, 0.0221215207, -0.0241764151, -0.0423803553, 0.0507086813, -0.0283506177, -0.0336979181, -0.0453031436, -0.0409085974, -0.0145821236, 0.0221858397, 0.0239141528, -0.0606641322, 0.0841257051, -0.0081358906, 0.0128365653, -0.019471867, 0.0189516637, -0.0729498193, 0.0285528153, -0.0271346327, -0.0272849724, -0.0289326794, 0.0027638827, -0.022521019, -0.0305597614, 0.0058786594, -0.0255568698, 0.0729378238, -0.0419683494, -0.0208876524, -0.0267720167, -0.0411343612, -0.0432871506, -0.0156571772, -0.02862183, 0.0105701778, -0.0317712761, 0.0283093154, 0.0240412913, -0.0045780917, 0.010835289, -0.0151955802, -0.0452545956, -0.0197272282, -0.000415409, 0.044494614, 0.0177454408, -0.0204855278, 0.0390970707, -0.0426289439, 0.0813793987, 0.0460523069, 0.0502767041, -0.0268302839, -0.0160056371, 0.0073176846, 0.0560009219, -0.0447787195, -0.0068838764, 0.0496495068, 0.0640824884, -0.0634559244, 0.0079514347, 0.1285452098, -0.000417846, -0.0879419222, -0.0052469978, -0.0254858844, 0.0099422978, 0.0181819163, 0.0184760205, -0.1141790673, -0.0432453342, -0.0055993125, 0.0070531731, -0.0302466862, -0.0092220791, 0.0011727141, -0.1525115222, 0.044867672, 0.0201451071, -0.0280568898, -0.0135574201, -0.0417339429, 0.0128663946, -0.011028992, 0.0293200128, 0.0510545298, -0.0208818633, 0.0073066959, 0.0304318368, 0.0070162346, -0.0063730925, 0.0735163912, -0.0375292413, 0.0413302407, 0.0256510526, 0.0155261988, -0.017817989, -0.0546611883, 0.0435477532, -0.0632593259, 0.016493842, -0.0299341474, 0.0094143897, -0.020255914, 0.0226524826, -0.0385489054, 0.0383771285, 0.0026767214, -0.0385493487, 0.0519840941, 0.1048090905, -0.0237024371, -0.0225525834, -0.0505288765, -0.0106830215, -0.0229386892, 0.0870548189, 0.0472476929, -0.0671769157, -0.0376351774, -0.0227725841, -0.0364656337, -0.0195813999, -0.0325242504, -0.0007624575, -0.0197428372, 0.0332144201, -0.0167505387, -0.0389875807, 0.0242155902, 0.0433332175, -0.0101002064, 0.0319934636, -0.0648728162, 0.0348767005, 0.050851766, 0.024761565, -0.0547164381, 0.0324490964, -0.0531120114, 0.0491574034, 0.0153244482, -0.0266484208, 0.0043086233, 0.0039541177, -0.0265745725, -0.0482967123, -0.0066146306, 0.0228243694, 0.0190502368, 0.0344096608, 0.0200022012, -0.0271860436, 0.107370317, 0.0036161251, 0.0274693631, 0.0105871828, 0.0269938447, 0.0264432859, 0.0182776302, 0.0029568512, -0.0289425459, 0.0281222425, 0.065655835, 0.0387007743, -0.0256291069, -0.0243378747, 0.0404362977, 0.0138076721, 0.033709012, -0.015308246, -0.0111284312, 0.0041549248, 0.0333657898, -0.0397709645, -0.015786387, 0.0061832401, -0.0125432136, 0.014056759, -0.0600741729, -0.0189242028, -0.0029169496, -0.0196673796, 0.0456785709, -0.0200730488, 0.0553636216, 0.0529660024, -0.0395284258, -0.0175103489, -0.0120485844, -0.0368182845, -0.0136699639, -0.0102757923, 0.0342143737, 0.0045561395, 0.0922802463, -0.0035837851, 0.0039542327, -0.0048903399, 0.0064947708, -0.0828202814, 0.0050660362, -0.0266310014, 0.0260502454, 0.0509677231, 0.0137587739, 0.0350638181, 0.0077094496, 0.001361663, -0.0235384777, -0.007451335, 0.0094246361, -0.004051364, 0.0564634278, 0.0451816134, 0.0014916323, 0.0023325384, 0.0437837355, -0.0266274959, 0.0434070751, -0.0136380438, 0.0027038814, -0.0099943243, -0.0265418775, 0.0085906014, 0.0089666042, 0.013830266, -0.0485406965, -0.0897935852, -0.0379032455, -0.0140395528, 0.0389499851, 0.001618954, -0.0138259334, 0.0010028458, 0.0552041978, 0.0014732149, -0.0436253659, -0.0261785407, -0.0012012798, 0.0101361535, -0.0119038196, -0.0409083702, -5.937925225e-33, -0.0262204036, -0.0473445281, 0.0337306224, 0.0009317556, -0.0037756991, -0.0022267699, 0.0072606108, 0.0151511943, -0.0170619916, 0.0262429602, -0.0358218737, 0.0007830244, 0.0033300042, -0.004214847, 0.0563738309, -0.0313192792, 0.0266793948, 0.0209129937, -0.009676531, 0.0202329867, -0.0249776114, -0.0247901231, 0.0475541875, -0.037360128, 0.0732001513, 0.014199473, 0.0003591078, -0.0086013377, -0.0899813771, 0.0666553155, -0.0031328215, 0.0602546036, 0.0364183187, -0.0410221517, -0.0252445638, 0.0256663747, -0.0452086143, -0.013930968, 0.0357160829, -0.0185491629, -0.0109006315, -0.0781535655, 0.0301909819, 0.0101053966, -0.0848504081, -0.0294100344, 0.0126799084, -0.0467364006, -0.0118569667, -0.0344103761, -0.0423860587, 0.0260926932, -0.0175093673, 0.0250252541, -0.0143238986, 0.031732481, -0.0088530378, 0.0656755641, -0.0284219384, 0.0308108591, 0.0234821457, 0.011342831, 0.0709212944, 0.0079193944, -0.0130486824, 0.0510763191, 0.012692349, 0.0013618639, 0.0049778763, -0.0752009302, 0.0064721974, 0.0226329844, 0.0902099684, 0.1095641553, 0.0704636797, 0.0180475153, -0.0808235407, 0.0096199587, 0.0276875459, 0.0146640288, 0.0403391607, -0.0120478272, -0.0537936464, -0.0228807572, -0.0531290807, -0.0213483013, -0.0437627472, -0.0303518698, 0.0401118658, -0.0299570262, 0.0191694777, -0.0132089695, 0.0380579121, -0.0497483164, -0.0257894136, 0.0252538938, -0.0128102861, 0.0265109949, 0.0060209893, -0.0027601873, -0.0309885591, 0.010803896, -0.0115259644, -0.0104052927, 0.0132800927, 0.0016230937, 0.0497884415, -0.0021967127, -0.0612011515, -0.0307303183, -0.0218290221, -0.0370347053, 0.0205141846, -0.0342022032, 0.024541162, 0.0143461116, 0.0085752876, 0.0387986898, 0.0134734856, -0.0059785829, -0.0089427894, -0.0302453469, -0.0187718086, 0.0035727508, -0.0131733222, -0.0162948687, 0.0079208957, 0.0055089588, 0.0110350205, -0.0404640138, -0.0098366756, 0.026500579, 2.692e-7, 0.0486564599, 0.0480825454, -0.009370584, -0.0021736294, 0.0269185547, 0.0247836877, -0.0102798436, -0.0025846723, 0.0559337661, 0.0124688251, 0.029012695, 0.0213612653, 0.0309197009, 0.0449032299, -0.0543161668, 0.0122034345, -0.0601063892, -0.0079479627, -0.043559093, 0.0151989432, 0.0778942332, 0.0578814335, 0.0179036371, -0.0150082782, -0.0170134641, -0.0267540365, 0.0554066375, -0.0322735608, -0.0170864426, 0.0205493066, 0.0322503783, -0.0525148548, 0.0547660217, 0.0405169278, 0.0231565982, 0.010910566, -0.0177305546, 0.0612859167, 0.0116869528, -0.0249165278, -0.0072850552, -0.0228713844, 0.0140607283, -0.0562298745, 0.0766085312, -0.0357938893, -0.0262323469, -0.0465939865, -0.0476701669, -0.0630926043, 0.0321861207, -0.0025888099, -0.0063284254, 0.0211226046, -0.0088364948, 0.0024730086, -0.020539945, -0.0504971147, -0.0375546962, 0.0245973915, -0.015414183, -0.0593824461, -0.0090126181, -0.0252399649, 0.0243250933, -0.0905226469, -0.0158571005, 2.628995641e-34, 0.0353008769, -0.0339083821, 0.0553313419, 0.0437120721, 0.0008420156, 0.0326714851, -0.010182362, 0.0011481497, 0.0472383313, -0.0867425278, -0.0118052559 ]
http://arxiv.org/abs/2406.11624v1
http://arxiv.org/pdf/2406.11624v1
Words in Motion: Representation Engineering for Motion Forecasting
2024-06-17T15:07:55
2024-06-17T15:07:55
Omer Sahin Tas, Royden Wagner
cs.LG
cs.LG, cs.CL, cs.CV
Motion forecasting transforms sequences of past movements and environment context into future motion. Recent methods rely on learned representations, resulting in hidden states that are difficult to interpret. In this work, we use natural language to quantize motion features in a human-interpretable way, and measure the degree to which they are embedded in hidden states. Our experiments reveal that hidden states of motion sequences are arranged with respect to our discrete sets of motion features. Following these insights, we fit control vectors to motion features, which allow for controlling motion forecasts at inference. Consequently, our method enables controlling transformer-based motion forecasting models with textual inputs, providing a unique interface to interact with and understand these models. Our implementation is available at https://github.com/kit-mrt/future-motion
[ -0.0018338178, 0.0815861225, 0.0021165756, 0.0367858522, 0.004034657, -0.0206753574, 0.0104370043, 0.0351796709, -0.0002677528, -0.0386577919, 0.0077504311, -0.0086617963, 0.0029507391, 0.0268564541, -0.0073762904, -0.1115476117, 0.0419252738, -0.0279512405, -0.0300030913, 0.0148911821, -0.0009593267, -0.0153700737, -0.0082181701, 0.0575460233, -0.0329144858, -0.0114505403, -0.0223450307, -0.032310918, 0.0338866413, -0.0363616087, -0.0155225117, 0.0459324047, 0.1110528111, 0.023840636, 0.0000019875, -0.0202041753, 0.0217824727, -0.0138687771, 0.0232912935, -0.0486341938, 0.0136573035, -0.046136301, 0.0308886077, -0.0096388496, -0.0489607081, 0.0062891645, 0.0511167012, -0.0082240887, 0.0550489537, 0.0413091816, -0.016437009, -0.0549983904, -0.0100420965, 0.0013739306, 0.0396157987, 0.0153720975, 0.0083131799, -0.03119733, 0.0391528979, 0.029088961, -0.081917204, 0.0171024762, 0.0065739681, 0.0195548218, 0.0149835106, 0.052684404, 0.020680327, -0.027976308, -0.0607433915, 0.0321465731, -0.0006011163, -0.0304101817, 0.011501818, -0.002920609, -0.0035855381, 0.0470262766, -0.0521866977, 0.0081202313, 0.0311331283, -0.0083419578, -0.0587959439, 0.0612209439, 0.0058156494, -0.0053605558, 0.0145171909, 0.0750757381, 0.0315302424, 0.0099219978, -0.0648232102, -0.0156476013, 0.0586021021, -0.053740751, 0.0295515526, 0.0267152991, 0.0128461616, 0.0074114823, -0.0142672928, 0.0005234775, -0.0526532754, -0.0316365063, 0.0394006073, 0.0524259061, 0.0269357264, 0.0197419114, -0.0007353543, 0.0648262501, -0.031665612, -0.0253794827, -0.0136535447, 0.0281666704, -0.0512145832, -0.0186426565, -0.0423575975, -0.0271021426, -0.03622251, -0.0413015373, -0.0158219486, 0.0102464436, -0.0338063277, -0.0136109143, -0.0028512902, 0.0751535594, -0.0136222085, -0.0379531197, -0.056837894, 0.0209224783, -0.0138879288, 0.0113795958, -0.0217683129, -0.0266544446, -0.0065051783, -0.0010879104, -0.003776368, 0.0088425884, -0.0226098914, 0.0913390666, 0.0216925107, -0.0016275493, 0.0017191654, -0.0607276633, -0.013042178, -0.0188861769, 0.0320522524, -0.0520196892, 0.0028008765, 0.0226210058, 0.0184055492, -0.0357959494, 0.013928812, 0.0036030123, -0.0146619976, 0.0723249391, -0.0024981089, -0.0070285494, -0.0174923055, 0.0166123547, 0.0343581699, 0.0525509194, 0.0499026068, 0.0563235469, 0.0069244425, 0.0134802992, 0.0300367959, 0.0157066006, -0.024636725, -0.0306187961, -0.042437505, -0.0272968207, -0.0112752086, 0.0333631933, 0.0169622451, 0.0047078291, -0.0085252095, -0.0135321375, 0.038795948, 0.0750498101, -0.0170162972, 0.0481125936, 0.0667754114, 0.0063246782, -0.0419642963, -0.0235753339, -0.0046691103, 0.0923292264, -0.0053879581, -0.0172103997, -0.015720835, 0.0428624451, -0.027311679, -0.0384019949, 0.0066107768, -0.0210606288, 0.0583697855, -0.0427727401, 0.018633144, 0.0077847233, -0.0367305577, 0.059695933, -0.0112600792, -0.0327165127, 0.0185680278, 0.0137420362, 0.002354295, 0.0878119916, -0.0024877042, -0.0094975512, 0.0006110837, 0.000731712, 0.0144834118, 0.0175249968, -0.0193884429, 0.0079668313, -0.0160036739, -0.0413508676, -0.034921091, 0.0362817422, 0.0239298865, 0.0097023603, -0.0321135782, 0.0424702875, 0.0315547697, -0.0127520999, -0.0417596027, 0.0253861379, -0.0026821832, -0.0139179435, -0.0273211636, -0.0036358288, 0.0240910649, -0.0119587937, 0.0238148905, 0.0280597135, 0.0519971214, -0.0172782205, -0.0226689558, 0.0815401152, -0.0411899723, 0.0109400507, 0.013272725, -0.064937748, 0.0235031042, 0.0205461029, -0.0270759873, -0.0278828051, 0.0404858664, -0.048186861, 0.0231517032, 0.0225538127, -0.0231834035, 0.0342493281, -0.0010828186, 0.0113381445, 0.0243641417, 0.0221262574, 0.0074620191, 0.0047238162, -0.0170933343, 0.0100740939, 0.0016736425, -0.0141314249, 0.0217402317, 0.0056681326, -0.0003123425, 0.0326364003, -0.0369492806, -0.0227651969, 0.0196039323, -0.058010567, -0.0452794731, -0.0118035935, -0.0099102873, 0.0009279764, -0.0167380553, -0.0026487382, -0.0188659653, 0.0011010248, 0.0279400572, 0.0064868219, -0.0317934491, 0.0170120373, -0.0261909962, -0.0447653644, -0.0105141681, 0.0060377899, -0.0441624336, 0.0532740541, 0.0444222912, -0.0122285699, -0.0428480394, -0.0319900662, -0.021407973, 0.0179782268, -0.0069421912, -0.0395642072, 0.0332108028, -0.0165369101, 0.0052954736, -0.014682617, 0.0162695497, 0.0340879895, 0.0551790111, -0.0518020615, -0.0114191566, 0.0004715331, -0.0586318076, 0.0045785126, -0.0538171604, -0.0071536442, 0.0091461744, 0.0750521868, 0.0246913545, 0.0160156153, -0.0879527479, -0.0098289158, -0.0327516757, -0.0012498556, -0.0185461994, 0.0198135097, -0.0256364513, 0.0577428266, 0.0148757789, -0.0638317242, 0.0634914562, -0.0011650117, -0.0270238947, -0.0056971209, 0.0264397729, -0.0128309056, 0.0672230646, 0.017213773, 0.0097852461, 0.0207717903, 0.033075247, -0.0320918933, -0.0064027109, -0.0041071014, 0.0109495427, -0.0069396854, -0.0674865544, 0.0017061982, 0.052503366, 0.0154722705, -0.0285925884, -0.0318217427, -0.0530971549, -0.0257142, -0.0360556655, -0.0527920276, -0.0026753559, 0.0113750221, -0.0197011847, 0.0185340047, -0.0029117856, -0.028630631, -0.0088449223, 0.0115156872, 0.063805759, 0.0533509143, -0.0345951952, -0.0057198983, 0.000184649, 0.0470019057, 0.0176527202, -0.0095206108, -0.0806701928, 0.0642690882, 0.0317828134, -0.0112058586, -0.0042458442, 0.072178416, 0.039466314, -0.0484754965, -0.0325057246, 0.0853398666, 0.0500989519, -0.0099384347, 0.0368423127, -0.0086338539, 0.0373412222, 0.0240291171, 0.0156493392, -0.0429089107, -0.0429406464, -0.0357135311, -0.0053562764, 0.0338531658, -0.0405218378, -0.0073860101, -0.0682146698, 0.0492481776, 0.0329951495, 0.0224606376, -0.0528338589, -0.0312417112, -0.0095294975, -0.0179577954, -0.0591355041, -0.0302484408, 0.0024035946, 0.0295584276, 0.0068042283, -0.1091030985, -0.0234495681, 0.0250491519, -0.0032839461, -0.0084519368, 0.0410326533, 0.0486276112, -0.0323606506, -0.07120689, -0.0657735914, -0.0360961594, 0.0541219786, -0.0149140293, 0.0337147415, -0.0193413999, -0.0133687146, -0.0273840632, 0.0557733513, -0.0368692912, -0.0752650648, -0.0142786866, 0.1169237867, -0.0513523258, -0.0442070961, -0.0460285768, 0.0040776618, 0.0233458374, 0.0456851944, -0.0158814117, -0.0217179991, -0.008764145, -0.0478673317, 0.0322162472, 0.0222883597, -0.0848401114, -0.0529317521, 0.0186370667, -0.0303557683, -0.0681706071, -0.0193002559, 0.0282329936, 0.0251186788, 0.0082612298, -0.0286226831, 0.0516875461, -0.0107532144, -0.0810258016, 0.0370898433, 0.0131459599, 0.0120468326, 0.0148913097, -0.0270726625, 0.0258549824, 0.0385191739, -0.027679706, 0.019362526, -0.0904025286, -0.0536509231, 0.0174876358, 0.0505480506, 0.0289234631, 0.0141351111, 0.0098003894, -0.0064597623, 0.0786231309, 0.0281720236, -0.0264923405, 0.0239883885, 0.0016605991, 0.0129530756, -0.0063190144, 0.0186866689, -0.0163237862, 0.0065185656, -0.055159457, -0.0018926105, -0.0908223316, -0.0247039907, 0.0154463015, -0.0386828817, 0.0899118781, -0.0285598226, -0.0005609604, 0.0090796323, -0.0524425395, -0.02021439, 0.0023713692, -0.0573877357, -0.0025074645, 0.0313341208, 0.0082973531, -0.0296685677, 0.0314203165, -0.0115792388, -0.0856505483, 0.0118080564, 0.0239659008, 0.0646508113, -0.0122281369, -0.0013725845, 0.010993097, 0.041943416, -0.0211258531, -0.0607129782, 0.0319165774, 0.0080073988, 0.0213790331, 0.0241029672, 0.0497291349, -0.0478099883, -0.010207342, -0.0682233796, -0.0592825189, -0.0135476599, 0.0584109426, 0.0201045256, -0.0516245291, -0.0059818602, -0.0756160542, 0.0267022215, 0.020435784, 0.0410095826, -0.0095860027, -0.0217405837, 0.0678276122, -0.0017745262, -0.035566926, -0.0210091397, 0.0565523207, -0.0262301713, 0.052839864, 0.0169071984, -0.0344909467, -0.0368581787, -0.0045396853, -0.0032776084, -0.0165253673, 0.0273021962, 0.012474807, -0.0530195646, -0.0519965142, 0.0462921932, -0.0141123217, 0.0068268278, -0.0607260987, 0.070123747, -0.0057299961, -0.0213818122, 0.0052789948, -0.0056962804, -0.0251871664, -0.0384974219, -0.0315293074, -0.093427062, -5.773854866e-33, -0.0507563092, -0.0437573977, 0.0192971043, -0.0030926655, -0.0043465439, -0.0121900151, -0.0566602387, -0.0045364052, 0.0241089668, 0.0504738837, 0.0154068479, 0.0034917919, 0.0123585211, -0.0010628235, 0.0503886491, -0.0293170046, 0.0239725988, -0.0350160785, -0.01121841, -0.0335334726, 0.080022648, 0.0250722114, 0.0443948582, -0.0494870245, 0.0027872087, 0.0069131358, -0.0274611041, -0.019818224, 0.0433241054, 0.0032370861, -0.0320758037, 0.0118090529, 0.0214754269, -0.0157584269, -0.0488912202, 0.0488846116, 0.0088316705, -0.0614336468, -0.0050586159, 0.0377974585, -0.0312622786, 0.0075715412, 0.0445542783, -0.0208826326, -0.051453691, 0.0079277018, 0.0597027093, -0.0113124549, 0.0172496196, -0.0169472042, -0.0384953618, -0.0015097579, -0.0508536734, -0.0287331305, 0.0673519, 0.045031365, 0.018124368, -0.0209297687, -0.0436094478, 0.0291780792, -0.0515561737, 0.05077466, 0.0781624541, 0.0038380784, 0.0349760018, 0.0756273642, 0.0067765582, -0.0849829614, -0.0533535741, 0.0687424019, 0.0211195853, 0.0638082251, 0.0296708569, 0.0189806242, 0.0581105463, -0.0211020727, 0.0130585721, 0.0248598307, -0.0497483909, 0.0807071626, 0.0142273307, 0.0332545005, -0.0088150222, -0.0381473638, -0.0058902954, -0.0112058409, 0.0155320298, -0.0182740092, 0.0059371549, -0.0212590676, 0.0216381811, 0.0171538629, 0.030932527, -0.0281967763, -0.0001291191, 0.047676608, -0.0105249565, 0.0233949814, 0.0344011597, 0.0230217613, -0.0328706168, -0.0018613591, 0.0222890321, 0.0313920826, 0.0379525684, 0.0030879425, -0.0417125374, 0.0681820214, -0.0411476381, -0.0314479657, -0.007570087, -0.0493881591, 0.0191396475, -0.0410884283, 0.0732752904, 0.0157047454, -0.0542242154, 0.0183962062, -0.044212833, -0.0023960425, 0.001581346, 0.0429095887, -0.0027778987, 0.0417955443, -0.0326493308, -0.0163751394, -0.0420669615, -0.0050333017, 0.0497168042, -0.0537657887, -0.0367902629, 0.0377080105, 2.771e-7, 0.0198006742, 0.0429999568, 0.0194805358, 0.0135599934, 0.0316337645, 0.0350896493, -0.0059762308, 0.0227556154, 0.0146432854, -0.022548873, 0.0286805928, 0.0295940861, 0.0344270132, 0.0164198596, -0.0339502729, -0.0180973932, -0.031222662, 0.0238038003, -0.03083116, -0.0189749114, 0.0998661891, 0.0845062211, 0.03374153, 0.0541926175, 0.0265337229, -0.0144831538, 0.059233699, -0.033062309, 0.0262839086, -0.029589504, -0.0105864508, -0.0034214172, -0.0317778625, -0.0422190838, -0.0335442536, -0.0046824561, -0.0114223901, 0.0237180162, -0.0399629809, -0.0130306985, -0.0293646511, 0.0101777278, -0.0166723207, 0.003084979, 0.0267577153, -0.0494383201, -0.0070201177, -0.0289092697, -0.0357045308, 0.0282352157, -0.0122088324, 0.0386680029, -0.0273490604, -0.011549239, 0.0127841458, -0.0156853218, -0.0033813445, -0.08223553, -0.0208742302, -0.0089292722, -0.0622286908, 0.0148547757, -0.057192985, -0.0247160215, 0.0335229561, -0.0157306846, -0.0373606347, 2.292719539e-34, 0.0219744109, 0.0216689389, -0.0117081739, 0.0000454331, 0.0168101173, -0.0144126024, 0.0467846245, 0.0463168547, 0.056662444, -0.0319218524, -0.050785318 ]
http://arxiv.org/abs/2406.11622v1
http://arxiv.org/pdf/2406.11622v1
Building Knowledge-Guided Lexica to Model Cultural Variation
2024-06-17T15:05:43
2024-06-17T15:05:43
Shreya Havaldar, Salvatore Giorgi, Sunny Rai, Thomas Talhelm, Sharath Chandra Guntuku, Lyle Ungar
cs.CL
cs.CL
Cultural variation exists between nations (e.g., the United States vs. China), but also within regions (e.g., California vs. Texas, Los Angeles vs. San Francisco). Measuring this regional cultural variation can illuminate how and why people think and behave differently. Historically, it has been difficult to computationally model cultural variation due to a lack of training data and scalability constraints. In this work, we introduce a new research problem for the NLP community: How do we measure variation in cultural constructs across regions using language? We then provide a scalable solution: building knowledge-guided lexica to model cultural variation, encouraging future work at the intersection of NLP and cultural understanding. We also highlight modern LLMs' failure to measure cultural variation or generate culturally varied language.
[ 0.0486975051, 0.0878460109, -0.0575025864, 0.0407264531, -0.0252702255, 0.0019480608, 0.0065310523, -0.0019624198, -0.0012883809, -0.0301610753, -0.0000329321, -0.0439045355, 0.0180420596, 0.0122327097, 0.005894152, -0.0668275356, 0.03593117, 0.0325842649, -0.0091010863, -0.0186859164, 0.0128727481, 0.0255756304, 0.0024993692, 0.010394535, -0.0276987087, 0.0097183445, 0.0188047271, -0.0213414431, 0.018163994, -0.0100626834, 0.0392528921, 0.0206039473, -0.0035510154, -0.0128439246, 0.000001939, -0.0343231, -0.0136791682, -0.0456105061, 0.045587562, 0.0394084007, 0.072228007, 0.0267342869, -0.0113313869, -0.0212963279, -0.0478710718, -0.0177693497, 0.0335435309, 0.0002210387, -0.0016804207, 0.0403814465, 0.0062015872, -0.0278362781, -0.1034594178, -0.0068730353, -0.0373497345, 0.0265438613, 0.0095332498, 0.0527883619, 0.0014906824, -0.0091466149, -0.0800900012, 0.0161744896, -0.0035882748, 0.0167628042, -0.0220082048, -0.0091007082, -0.0607914403, 0.0122903753, 0.0047516054, 0.0363561325, 0.0815707818, -0.0033087891, 0.0429424122, 0.0006417442, -0.0275778435, 0.0447266027, -0.0058677206, -0.0001470169, 0.0038959826, 0.0134607907, 0.0135216787, 0.0042401645, 0.0005073507, 0.0442417227, 0.0032973958, 0.0907837972, 0.0190229453, -0.0054836087, -0.0909447372, -0.0048076515, -0.0182583183, -0.0497032367, 0.0298157744, 0.0299408287, 0.0000622412, 0.0307382904, 0.0254618861, 0.0076802196, 0.0291809589, -0.0274462607, 0.0086846901, 0.0150066549, -0.0538014397, -0.0023661428, 0.0397949405, 0.039034009, 0.0070707668, -0.0017848116, -0.0308640357, -0.0279052742, -0.0737980902, 0.0171104576, 0.0522067063, -0.0432403982, -0.0076653911, 0.038924139, -0.0583217964, -0.001058538, -0.0596320033, 0.0198555179, -0.0122001916, -0.001814582, 0.0229016244, 0.0070205233, -0.0406454541, 0.0451050624, -0.081808731, 0.0023565963, -0.0443767756, -0.0099905059, 0.0528952107, 0.0039135194, -0.0305826496, 0.0072415206, 0.0049013714, -0.0057644891, 0.0314744301, 0.0162718091, -0.0270261653, 0.0174687915, -0.0351455621, -0.015902942, 0.0208056699, -0.0879250914, 0.0444312505, -0.0031514852, 0.0480188914, -0.0754423141, -0.0122368811, -0.0151422611, -0.0135693429, 0.0220789779, -0.0026066371, 0.0307368934, 0.0596951954, 0.0038130924, 0.0148668587, 0.0971160308, 0.0107194018, -0.0241435189, 0.1263332516, -0.0111843776, -0.0643970072, 0.0113102132, -0.0057633715, 0.0301161334, -0.0388517492, -0.0082545429, 0.0259166695, -0.0146141332, 0.0356195644, 0.057878267, -0.0233009551, -0.0113700023, 0.0174262971, 0.1132746488, -0.0027466188, 0.0170424655, 0.0489786342, 0.0438780524, -0.0320072025, -0.0132349394, -0.0060416525, -0.0332739986, -0.0183219872, -0.0276414007, -0.0246513635, 0.0704000741, -0.0602338128, -0.036905013, -0.0538679846, 0.0289477967, 0.0480597392, -0.0110541144, 0.0218158085, -0.0117469523, 0.0961098596, 0.0459425822, 0.0663757622, -0.0576252677, 0.0027546233, -0.0143197095, 0.0291697308, 0.0494828857, 0.0028197386, -0.0033385775, 0.0340613462, 0.0533475429, 0.0231403597, 0.0506533422, 0.0527475029, -0.0185023881, -0.0005092272, -0.0406703688, 0.0053740651, -0.002554473, 0.0109752445, -0.0172752924, 0.0864654481, 0.0211506858, 0.0088940235, -0.0358705148, 0.0074792947, -0.003830801, -0.0416293219, 0.012743148, 0.0011937746, -0.0021926775, 0.0402887464, 0.0430307239, -0.0022768166, -0.0156347398, -0.0412024036, -0.0205257349, -0.0114599513, 0.0457279794, 0.0107402718, -0.0149552543, 0.0367787704, -0.0637272969, -0.0084541971, -0.0267355777, -0.0093750963, -0.0203627218, 0.0095362803, -0.0001253888, 0.0580795072, -0.0360429697, 0.0135980062, -0.0273546763, -0.0091729546, -0.0564946868, 0.0595798083, -0.0457454026, 0.0412087962, -0.0365911834, 0.0023218356, 0.033795733, 0.0033144476, -0.046279788, -0.0186880454, 0.0102705602, -0.0145085268, 0.0160234999, 0.0176059883, -0.0350484103, -0.0065416712, -0.090427652, -0.0025676093, -0.025824707, 0.001931401, 0.0189790111, 0.0072741825, -0.0315950215, 0.0240893792, -0.0564279892, 0.0081439847, 0.0219821166, 0.0511073284, 0.0334716588, -0.0507222749, 0.0014522516, 0.0008668891, -0.021089768, -0.0044164415, 0.0255601332, -0.0763556138, -0.0083861174, -0.0192530099, 0.0076203444, -0.1010460332, 0.0011796568, -0.0177257676, -0.0314725563, 0.0247571822, 0.0374045596, 0.0602523796, 0.0173209775, 0.0139625836, -0.020380646, 0.0384172723, -0.0297119655, -0.0348205455, -0.0187577829, -0.0140831368, 0.0371849872, -0.005100749, -0.1122981608, -0.001015169, 0.0819598883, 0.0143110659, -0.0247204285, -0.0074070771, 0.0305539854, -0.0732985437, -0.0289273895, 0.0071914364, 0.0322044864, -0.0127445459, 0.0730844215, -0.0192971937, -0.0220448896, 0.0295285471, 0.0236342736, 0.0333250985, -0.0067816866, -0.0137431594, -0.0603011847, 0.0550966226, -0.0337437019, 0.0137630384, -0.0097571583, -0.0033765477, -0.0048620752, -0.0252484214, 0.046633862, -0.0405778475, 0.0787654519, -0.0670989603, -0.014678753, 0.0054446571, -0.0441312455, -0.0318455957, 0.0503737256, 0.0033093605, 0.0230804402, 0.0812431052, -0.0203354396, 0.0478931852, 0.0149662718, 0.0300450847, -0.0168978106, 0.0070932787, 0.0250577591, 0.0178885125, 0.0164489727, 0.0360970944, 0.0455226637, 0.0079190107, 0.0203805864, -0.048508998, 0.0242601112, 0.0383125693, -0.0218470823, 0.0458590165, 0.0337351114, 0.0355594791, -0.0592491403, -0.0189377647, 0.0302246343, 0.0652344152, -0.0006983777, -0.0145587847, 0.0529919267, 0.0602096952, -0.0372829251, 0.0135268597, -0.0563356765, 0.0296919495, 0.0493550263, 0.0515535846, -0.0927530453, 0.0366996489, -0.0362243578, -0.0322157517, -0.0437898226, -0.0398372561, -0.0202565435, -0.0790389851, -0.0070047579, 0.0231329724, -0.0172743089, -0.0440042391, 0.0012948264, 0.0041657202, 0.0024154426, -0.008910452, -0.0297474042, -0.0065430123, -0.0116402274, 0.0179424677, -0.0584747456, -0.0353891514, 0.0286454316, -0.0325680859, 0.0429417305, 0.0064138123, 0.0348469876, -0.0016679364, -0.0633391812, -0.0616261326, 0.015248782, 0.0062228888, -0.0210062228, -0.0181833524, 0.0139752571, -0.033588931, -0.0169312116, -0.0322890021, -0.0031358665, -0.0079406034, 0.0325722806, 0.0204754174, 0.011743376, 0.0140674179, -0.0252639074, 0.0164468065, 0.0285353437, 0.0505034961, 0.0133706238, -0.0588775426, 0.0330843031, -0.030580692, -0.0384656154, -0.0051938668, -0.0821977258, 0.016176708, -0.0430522673, -0.0165014081, -0.0359679721, -0.0484154113, 0.003462458, 0.0359429941, 0.0359209403, -0.0388971567, 0.0436156541, -0.0059275674, -0.0685593858, 0.0167110842, -0.0596717149, -0.0034459678, 0.0445127189, -0.0690157339, 0.0275645517, 0.0048903567, 0.006301824, 0.0283005983, -0.0747765154, -0.0368895717, 0.0586108565, 0.0235436112, 0.0086700581, -0.0062442296, 0.0097898059, -0.0253761616, 0.0404035673, -0.0074644079, 0.0272103101, 0.0180358365, -0.0042683939, 0.0400199406, 0.0186843928, 0.0173292607, -0.011557064, 0.0454234444, 0.0482703149, 0.0690611452, -0.0849903077, -0.0200937688, -0.0113583393, -0.0119929863, -0.0079316786, -0.0459853336, -0.0162126143, -0.019750772, -0.0479559749, -0.0335050374, -0.0381513759, -0.0014777093, -0.0607526712, 0.0005793952, -0.0222640298, -0.0475615002, 0.0228951238, -0.0154012591, 0.0416107997, -0.0313214287, 0.0201850776, 0.0264099296, 0.0222593136, -0.0354560688, 0.0292504635, -0.0135470834, 0.047471609, -0.0258462541, 0.0521209352, -0.0011391884, 0.0857966617, -0.0019578463, 0.0025788338, -0.0395183228, -0.0006739362, -0.0234830081, -0.0130753033, 0.0339651145, 0.001980569, 0.0589470714, -0.0669354647, 0.0253156051, 0.0240199137, -0.0143632479, -0.0015414899, 0.0278119761, 0.0253926553, -0.0673014224, 0.0116510568, 0.0079444712, -0.0000210004, -0.0168448947, 0.0458652824, -0.0508233756, -0.0223383587, 0.016275527, -0.0630854517, -0.0052140406, -0.0218549352, 0.0618714131, 0.0205107462, -0.0099530611, -0.002877272, -0.0983144641, -0.0619605333, -0.0026264288, -0.0175509155, 0.0430047549, 0.0061893328, 0.0301312711, 0.0815401226, -0.002913442, -0.0370019749, -0.0542067215, -0.0034401293, -0.0340304673, -0.0131401811, 0.0074996152, -6.221502216e-33, -0.0355661921, -0.0503589213, 0.005340782, -0.026922565, -0.028244691, 0.0002844672, 0.0093328394, 0.0265990831, -0.0410991721, 0.0202098992, -0.0478770174, 0.0156567637, 0.0147335175, 0.0018808962, 0.0740286186, 0.0354629271, -0.0121369874, 0.0352114476, 0.0069668517, -0.0284562372, 0.0598097928, -0.0318819769, 0.0851359293, -0.0447220951, 0.0542729832, 0.0494477153, 0.0031664006, 0.0078996038, 0.0426526703, 0.0115578799, -0.0270312, 0.0645616725, 0.0387686752, -0.0189447794, -0.0160380919, -0.0518567078, -0.0356171653, -0.0862220451, 0.0645979717, -0.0025091569, 0.0126834372, -0.0416201502, 0.0159540903, -0.0061889221, -0.0229944643, 0.0250048973, 0.045639284, 0.0140343755, -0.0024278297, -0.0240610875, -0.0349051915, 0.0273490865, 0.0062662293, 0.0517361313, -0.0111074597, -0.016281385, -0.0197295994, -0.0068712388, -0.0364352018, 0.0409139656, 0.0280185845, 0.0454728343, 0.0429094993, 0.0046853973, 0.0069156033, 0.0402953587, 0.0139551936, 0.0486449115, -0.009121838, -0.0105006741, 0.0515852757, 0.0052664476, -0.0103363702, 0.109250769, 0.007057427, -0.0423944704, -0.0230741668, -0.0101744691, 0.0546621494, -0.0197062958, 0.0021649455, 0.0135243144, -0.0460026115, -0.024949016, -0.0144736841, -0.0295052063, 0.0035140589, -0.0403630733, 0.012485235, -0.0052942038, -0.0102270311, 0.0056924513, 0.0280217584, -0.0532191955, -0.0101513313, -0.0016334996, 0.0003285848, -0.0209711622, 0.0074373833, -0.0221299045, -0.0701037645, -0.0326086245, -0.0501923263, 0.029984463, -0.0111318193, 0.0009488001, -0.0122629264, -0.0040598931, -0.0552962571, -0.0180249941, -0.0014385392, -0.0257891268, -0.0660658851, -0.0213513896, 0.0270957109, 0.0272362847, -0.0143995732, -0.0274403077, 0.0762932822, -0.0317522585, -0.0008049694, -0.068823114, -0.0352365747, 0.0396988951, -0.0277072545, -0.0089646494, -0.0429262593, 0.0323001593, 0.0157904904, -0.0027501299, 0.0132205794, -0.0397269912, 2.603e-7, 0.0326448977, 0.0573580265, -0.0309962686, 0.0822882578, 0.026089089, -0.0372399166, 0.0304318462, -0.0172913037, -0.0073778625, -0.0422090739, 0.0209016092, 0.028064914, 0.039112322, 0.0556524023, -0.0949083269, 0.0015266537, -0.0015725659, 0.016692901, -0.0132086063, -0.0087200431, 0.0233719628, 0.0226686168, 0.0469256975, -0.0090603633, -0.04721516, 0.0211940221, 0.0295700151, -0.0524000563, -0.0188218709, 0.0504763834, 0.0390683115, -0.0552249141, 0.0253042243, 0.0128027424, -0.0081885578, 0.0152783012, 0.0140990866, 0.0625882819, -0.0048957765, 0.0031421063, -0.021272514, -0.0206470452, -0.0098937973, -0.0811988637, 0.0296487324, 0.0214855429, -0.0087625403, -0.028247647, 0.0013846601, 0.0036359616, 0.0357666537, -0.0242762994, -0.0271381829, 0.0045339749, 0.0182074718, -0.0065130834, -0.014481524, -0.0729362816, -0.0384224206, -0.0114727253, 0.0198467467, -0.0696081519, 0.0093717389, -0.0152336145, -0.0124845216, 0.0091752131, 0.0073368708, 2.136813861e-34, 0.0126551203, 0.031849172, 0.0046776459, 0.0079882201, 0.0724865943, -0.0039941072, -0.0233893842, -0.0055998373, 0.0096128033, -0.0113442196, 0.0099382671 ]
http://arxiv.org/abs/2406.11617v1
http://arxiv.org/pdf/2406.11617v1
DELLA-Merging: Reducing Interference in Model Merging through Magnitude-Based Sampling
2024-06-17T15:02:45
2024-06-17T15:02:45
Pala Tej Deep, Rishabh Bhardwaj, Soujanya Poria
cs.CL
cs.CL
With the proliferation of domain-specific models, model merging has emerged as a set of techniques that combine the capabilities of multiple models into one that can multitask without the cost of additional training. In this paper, we propose a new model merging technique, Drop and rEscaLe via sampLing with mAgnitude (DELLA-Merging), that employs a novel pruning technique, MAGPRUNE, which shows significant advantages over DARE and TIES. MAGPRUNE first ranks the parameters in order of their magnitude and assigns higher dropout probabilities (p) to parameters with lower ranks corresponding to lower magnitudes. To approximate the original embeddings, MAGPRUNE employs a rescaling operation on the parameters that survive the random dropping by 1/(1 - p). On three different expert models considered for merging (LM, Math, Code) and corresponding benchmark datasets (AlpacaEval, GSM8K, MBPP), DELLA shows an average improvement of 2.4 points over baseline methods employing delta parameter pruning (an improvement of 3.6 points over TIES, 1.2 points over DARE), and 11.1 points over the no-pruning baseline (TA). We release the source code at: https://github.com/declare-lab/della.
[ -0.062691167, 0.065813303, -0.0271573812, 0.0077599064, -0.0053297738, 0.0216771774, 0.0263852086, -0.0035550192, -0.0165740177, -0.0004470847, 0.0006254281, 0.0230111741, 0.0292191338, 0.0538973063, 0.0224479232, -0.0356031656, 0.0371585302, -0.0263297614, -0.0189674199, -0.0094528412, -0.031670589, -0.0000312622, 0.0343880653, 0.0380025543, 0.0638942644, -0.0042155357, -0.010312533, 0.009391102, 0.0438087918, 0.0238758791, 0.0098070381, 0.065000467, 0.0230668578, 0.0500017144, 0.0000023299, -0.025627844, -0.0258820746, 0.050253991, -0.0206082538, 0.0448307879, 0.0102011692, 0.0186416656, 0.0186133031, 0.0209791996, -0.0199629366, -0.0291114748, 0.0176432468, 0.0526229255, 0.0535042398, 0.0286220498, 0.0225989483, -0.0457206219, 0.0222016424, -0.0288845319, -0.0468131118, 0.0015029086, 0.0612534508, 0.059089765, -0.0273243655, -0.0065119001, 0.0188190881, 0.006331786, 0.0201867446, 0.0201676562, 0.0397467427, 0.0296430439, 0.0564505011, -0.0099276174, 0.0082677631, 0.0473273881, -0.0481825359, -0.0272309557, 0.00946745, -0.0267904475, 0.0166190974, 0.0505987294, -0.0704716817, -0.0613603555, 0.0091073727, 0.027263606, 0.0052596722, 0.0019076616, 0.0209649503, -0.0408056565, -0.0313049629, -0.0023284305, 0.0312332977, -0.0095209293, -0.0158409998, -0.0441599824, -0.0508175045, -0.0393830873, -0.0037277045, -0.0268134009, 0.0158295855, -0.0438806191, -0.0549462251, -0.0444348603, 0.0156316366, 0.0021503947, 0.0787807629, 0.009572641, 0.0266190562, 0.0141444961, -0.0211176686, 0.0393703356, -0.005997505, 0.0107934587, -0.0491381735, 0.0477014706, -0.0627628565, 0.0051288251, 0.0374746621, 0.0443400368, -0.0308077391, 0.0077223117, -0.0584144183, 0.0056521557, -0.0362042189, -0.0150080277, 0.0301074367, 0.0149379829, -0.0022585555, 0.0126178423, -0.0119469408, 0.0263871215, -0.0162728541, 0.0131672975, 0.0069002411, 0.0024894834, -0.0078573208, -0.0374094881, -0.0275947452, -0.0134263802, 0.0047400231, 0.0517666824, -0.0021188171, 0.0162472744, -0.0413747504, -0.0479858555, 0.033166647, -0.0404240116, 0.0185430814, -0.0775287673, 0.0596838742, -0.0431797504, 0.0046297563, -0.0809625313, -0.0236025639, -0.0003831291, -0.0101872003, 0.0682368279, -0.0024767485, 0.0095124915, 0.0508436076, 0.0127667682, -0.0708571598, 0.0690117702, -0.0039464151, -0.0086016562, -0.0250511747, -0.0586072169, 0.0100358743, 0.0169241894, 0.0226765051, 0.0054389257, -0.0419129767, -0.0248072483, 0.0209165905, -0.019170491, 0.0494033322, -0.0222407132, -0.0644110292, -0.0299093146, 0.0141791357, -0.0111939609, 0.071101822, 0.0495508276, 0.042283278, 0.0255669579, 0.0210151728, 0.0071790935, -0.0568972155, -0.0005243263, -0.0328762904, 0.0339606702, 0.015397165, 0.1098255739, -0.0284082964, -0.0846289322, -0.005481822, 0.0031501716, -0.05632177, 0.009780149, 0.0549306311, -0.0110644959, -0.01685757, 0.0092157545, 0.0230058003, -0.0361327119, -0.0420828573, -0.041961465, -0.0404145643, -0.0239813048, 0.0213844664, -0.0396973863, -0.0232405271, 0.0113384984, -0.0172000695, -0.0576068014, 0.0366284326, -0.0007879348, 0.0139071755, -0.0652514473, -0.063510038, -0.0090176985, 0.0135812014, 0.0358120985, 0.0125248926, -0.0181884058, 0.032181967, -0.0682699382, -0.0379903428, 0.0250032973, -0.0662001595, -0.0250850953, 0.0151296994, -0.0180215761, 0.0368294157, 0.0140946545, -0.0147030922, 0.007282279, 0.0480235852, 0.0104293711, -0.0556251667, -0.0277214423, -0.0121992091, -0.0055352272, 0.056156259, -0.0321841538, 0.0133107044, 0.0429050922, -0.0509162322, -0.048987966, 0.001446208, 0.0110028572, 0.0519750863, 0.0010307922, 0.0761136413, -0.026577197, 0.0215476118, -0.0051982598, 0.0624879934, -0.0194179453, -0.007158224, 0.0110488981, 0.0239530299, 0.0178469624, 0.0251706131, -0.0109419497, -0.015033585, -0.0283256397, 0.0309075527, -0.0157898702, -0.0331983194, -0.011604337, -0.0223629717, -0.0514203273, 0.0092417421, 0.0505821779, 0.0261240471, 0.0034462058, 0.0052011264, -0.0116650602, 0.0154492455, 0.046082668, -0.0403932929, -0.0462119915, 0.0152009251, -0.029384857, -0.0336027518, -0.0488432236, -0.0136269098, -0.0409737006, -0.0461686999, 0.0986178666, -0.0199358668, -0.0130963279, -0.0421927124, 0.0812964886, -0.0598107874, -0.0079187844, -0.0166524965, -0.0402302109, -0.032738816, -0.0088888248, 0.0468639024, 0.0707517862, -0.0536115132, 0.0010504186, 0.0767512769, -0.014155468, -0.0492068641, 0.007303799, 0.0017906869, 0.0267587062, 0.0202086065, -0.0425566696, -0.0191571936, 0.0459631011, -0.0125138871, -0.0272590872, -0.0193915945, 0.01381958, -0.0049143173, -0.0081821615, 0.0318446308, 0.0017043033, -0.0163077638, 0.0364570953, -0.0098322844, -0.0731054172, 0.0622388199, -0.0284534115, 0.022854181, -0.03924492, -0.0388625637, -0.0389433056, -0.0284194369, -0.0151847182, -0.005283766, 0.0076448391, 0.0015525706, -0.0265378617, 0.0186943784, 0.032731723, -0.0330582634, 0.0210335944, -0.0320462771, 0.0108011495, 0.0077932281, -0.0210812017, -0.0084580155, 0.0055991323, -0.0134796984, 0.0339945816, 0.0069443765, -0.0558286309, -0.0275622644, 0.0066923192, -0.0157172605, 0.0076174345, -0.0184693541, -0.0247179233, -0.0027034129, 0.0229337085, 0.0174726285, -0.001115336, 0.0100107277, -0.0287450217, 0.0701735094, -0.0090539707, 0.0629320592, 0.0072153662, -0.1005093679, -0.0173540879, 0.003436699, -0.0312063973, -0.0188631564, 0.0171214342, -0.0052165459, -0.0165046565, 0.0601283759, 0.0786378756, 0.0136579471, -0.017744353, -0.0200865678, -0.0437277444, 0.097859554, 0.026892174, 0.0303562693, -0.0217718259, -0.0030820151, 0.0281870365, -0.0078404415, 0.011126087, -0.0057542324, 0.0114185177, -0.1188935786, 0.020436611, 0.0625709519, 0.013720613, -0.0145927425, -0.048808746, 0.0189847331, -0.0524917431, -0.0230070278, -0.0130531872, -0.0357052721, 0.0044733034, 0.0293127187, -0.0143967895, -0.0637244061, -0.0151258809, -0.0386587121, 0.0230760761, 0.0102802375, 0.0180523042, 0.0007461586, -0.0234765708, 0.0603420399, 0.0234818459, -0.003171728, -0.0170974713, 0.068785578, 0.0298628155, 0.0325541869, 0.0115773324, 0.0528278276, 0.0000110787, -0.0140231466, 0.0112323146, 0.1069663092, -0.0084294779, -0.0326429605, -0.0617580973, -0.0071430472, -0.052861575, 0.0376284011, 0.0297106337, -0.0087062931, 0.0029475547, -0.0071156556, -0.0184147581, 0.0608634092, 0.0072648567, 0.0112927109, -0.0158688538, -0.0533874668, -0.0038588212, 0.0142175918, 0.0354101323, 0.0549243987, 0.0219543185, 0.0129391504, -0.0312167462, 0.0032912486, -0.0557645261, 0.0191521533, -0.0104038613, 0.0083547737, -0.0257968474, 0.0318963453, 0.0244002864, -0.0028865666, -0.0710593387, -0.0178726409, -0.1077472046, -0.0760754719, -0.0263456162, 0.050819546, 0.0267719217, 0.0435848311, -0.0150544159, -0.0497117117, 0.0496044792, 0.0138013959, 0.010420315, 0.0225866903, 0.0354021788, -0.0547081195, 0.0092744911, -0.0151547855, -0.0249615349, 0.0107733821, 0.0118750781, -0.0523857549, -0.0521028973, -0.0222677458, -0.0123967901, 0.0267460514, 0.0371785834, 0.0206465032, -0.0388358384, -0.0380018204, 0.0125145558, -0.0095634423, 0.002812597, -0.043482136, 0.0292045511, 0.0078555457, 0.0508602485, 0.0420549922, 0.0209217984, 0.0511967801, -0.0317986831, 0.0061505567, -0.0086869774, 0.0039169593, 0.0296282917, 0.0154237822, -0.0195792262, 0.0043673739, -0.0345671177, 0.01493413, 0.0105862711, -0.0280183293, 0.0377792642, 0.0020612704, 0.0646042675, -0.0263026264, 0.0204094835, -0.0506586991, -0.1035027131, -0.046865847, -0.0227106512, 0.0315844715, 0.0179575775, 0.0543077886, 0.0096376007, 0.0016376192, -0.0334848724, 0.0385900252, -0.0106917145, 0.04558561, 0.0339617282, 0.0074714469, -0.01256801, 0.0114746671, 0.060800653, 0.0343386531, 0.0282168146, -0.0432821326, 0.0035877666, -0.029113235, -0.0151776737, 0.0420438461, 0.0243166424, 0.0006756168, -0.0815483481, -0.0772187337, -0.0598131754, 0.0245362669, -0.0053559542, -0.025935268, 0.0131846191, 0.014326226, 0.0364619084, -0.0349420272, 0.0150376419, 0.020263629, -0.0624465235, 0.0008717894, -0.0493723378, 0.0108403843, -6.176820941e-33, -0.0079368604, -0.0007174811, -0.0067653758, -0.0497744009, -0.0438861586, 0.0160082094, 0.0357335433, -0.003818824, -0.0044234395, -0.021531621, -0.020357769, 0.0077206092, 0.0126146898, -0.0348300152, 0.0342800207, 0.0236955285, 0.0631523579, 0.0020940732, 0.004406882, 0.0261850301, -0.0587124713, 0.0409739874, -0.0088068601, -0.0603628755, -0.031148484, 0.0317332111, -0.0006426673, -0.0165071599, -0.0073686894, 0.0450707749, -0.0067946324, -0.005669584, -0.0045241518, -0.0358096957, -0.0774678588, -0.0287533142, -0.027318079, -0.052630838, 0.0205553249, -0.0288034361, 0.020758586, -0.037262287, 0.056739971, 0.0419077873, -0.0103631308, -0.1113408431, 0.0696054846, 0.0074630342, -0.0538931899, 0.0071289917, -0.0316662565, 0.0259553064, -0.0007220075, 0.0007124346, 0.0460025519, 0.0275029745, 0.0258222725, 0.024054816, -0.0109844925, 0.0241044182, 0.0908477232, 0.0431651734, 0.0693906099, 0.0200222712, 0.0049165511, 0.0462307744, 0.0164338257, -0.0409325585, 0.013814155, -0.0302016009, 0.0238902085, 0.1078378856, 0.0323923342, 0.0483113341, 0.0449553207, 0.0127328159, -0.0530995913, 0.0648965761, -0.0002335467, -0.0191051234, -0.0146826236, 0.0402271114, -0.0369531438, -0.0067488584, -0.0255663656, -0.016144678, -0.029894162, -0.0376299657, 0.0124513172, -0.0184073541, -0.0512174629, 0.0208956879, 0.0065512653, -0.063738808, -0.0074014096, 0.0038862345, -0.0179065391, 0.0413902849, 0.0048509054, -0.013890245, 0.0044002137, -0.0417087935, 0.0068528811, 0.0046750861, 0.0630950108, -0.0336264446, -0.0082345372, -0.0055324794, -0.0385388918, -0.0051593301, -0.0300347805, -0.0481519029, 0.0424139164, 0.0646006614, 0.0554108955, 0.0164287817, 0.0106564388, -0.0292622223, 0.0308980234, 0.0217970591, -0.0532027036, 0.0695858151, 0.0158441588, 0.0384358838, 0.0158225503, -0.0156131228, -0.0237668846, -0.0274031088, 0.0577047206, -0.0197177511, -0.073934488, 0.0307198353, 2.951e-7, -0.0006986686, 0.0035834427, -0.0073297536, -0.0293807164, -0.0212052576, 0.0599228777, -0.026714677, -0.0025705134, 0.0436777547, 0.0266267117, 0.0273404978, 0.0077362843, 0.0598095544, 0.014567907, -0.067409344, -0.0491402522, -0.0061202482, 0.0069731539, -0.0686610341, -0.042873051, 0.0135062123, 0.0875289366, 0.0566192903, 0.005820815, -0.0098715173, -0.0043984847, 0.0251504518, -0.0241671931, -0.0012444303, 0.0472031273, -0.0251229722, -0.0170061085, -0.0059990594, 0.0196034014, -0.0110378684, 0.0263803303, 0.0386624224, 0.0639427975, 0.0126384385, 0.0429541655, 0.0504426919, 0.0132183759, -0.0113072451, -0.0518979505, 0.059148185, -0.0434118286, -0.0317351632, -0.039893657, -0.0587482825, -0.0471121855, 0.0423863269, -0.0081078894, 0.038428016, 0.0384300724, -0.0238702167, -0.0135407159, -0.0059185391, -0.0127397422, -0.0204865299, 0.028644789, -0.0825091004, -0.0577151068, -0.0124160275, -0.0033220341, 0.0645005628, -0.0516863652, -0.0028903377, 3.435074821e-34, 0.0394276157, -0.0246687327, 0.0616020225, 0.0821356699, -0.0123856151, -0.0196669083, -0.0086812163, 0.0283420254, -0.0098331543, -0.0460200086, -0.0028900146 ]
http://arxiv.org/abs/2406.11614v1
http://arxiv.org/pdf/2406.11614v1
Intrinsic Evaluation of Unlearning Using Parametric Knowledge Traces
2024-06-17T15:00:35
2024-06-17T15:00:35
Yihuai Hong, Lei Yu, Shauli Ravfogel, Haiqin Yang, Mor Geva
cs.CL
cs.CL, cs.AI
The task of "unlearning" certain concepts in large language models (LLMs) has attracted immense attention recently, due to its importance for mitigating undesirable model behaviours, such as the generation of harmful, private, or incorrect information. Current protocols to evaluate unlearning methods largely rely on behavioral tests, without monitoring the presence of unlearned knowledge within the model's parameters. This residual knowledge can be adversarially exploited to recover the erased information post-unlearning. We argue that unlearning should also be evaluated internally, by considering changes in the parametric knowledge traces of the unlearned concepts. To this end, we propose a general methodology for eliciting directions in the parameter space (termed "concept vectors") that encode concrete concepts, and construct ConceptVectors, a benchmark dataset containing hundreds of common concepts and their parametric knowledge traces within two open-source LLMs. Evaluation on ConceptVectors shows that existing unlearning methods minimally impact concept vectors, while directly ablating these vectors demonstrably removes the associated knowledge from the LLMs and significantly reduces their susceptibility to adversarial manipulation. Our results highlight limitations in behavioral-based unlearning evaluations and call for future work to include parametric-based evaluations. To support this, we release our code and benchmark at https://github.com/yihuaihong/ConceptVectors.
[ 0.0112826461, 0.0949029028, -0.0314647406, 0.082579203, -0.0475184247, 0.0150711611, -0.0207372811, 0.02365526, -0.0495235175, -0.0200448185, -0.0361175612, -0.0101284562, 0.0266230013, 0.01828002, 0.0512310006, -0.009280744, 0.0340781175, -0.0398402996, -0.0030007679, 0.0005102378, -0.0037343416, -0.0112857819, 0.0068491814, 0.0201716628, 0.0169103052, -0.0624844544, -0.0164566245, -0.0305253416, -0.0125001082, 0.0035504622, 0.0257188827, 0.0367323309, 0.0038516519, 0.0842475817, 0.0000021509, -0.0287146214, -0.0480397604, 0.0016536358, -0.0181621946, 0.0845946372, 0.010877667, -0.0129824514, 0.003334593, 0.0128791258, -0.0271365512, -0.0042968201, 0.0229774639, 0.020199148, 0.049385082, 0.0576263852, 0.0055383453, -0.0019583199, 0.0136045525, -0.0294524841, 0.0008077304, 0.0023613342, 0.0490952246, -0.0532131754, -0.0964272171, -0.0242889132, -0.0195841417, 0.024342183, 0.0205646101, 0.0283691362, -0.0031154258, 0.0217560045, -0.0033775358, 0.0000440444, 0.0084330654, 0.0626736283, -0.0227774139, -0.0230611637, 0.0265222657, -0.0025814271, 0.008964899, 0.0040819407, -0.0422054119, -0.0132228611, -0.0046672765, -0.0121534104, -0.0311657432, -0.0266907439, 0.0661688671, 0.0175099056, 0.0114742555, 0.0500629954, 0.0282454491, -0.0164368153, -0.0256416742, -0.0304854698, -0.0214413311, -0.0343013816, -0.0057143257, 0.00396227, 0.0262557119, 0.0474523567, -0.0287873577, -0.0352592841, 0.0476387367, -0.035844855, 0.0760788396, -0.0014432613, -0.0097106369, 0.0404567085, -0.0406208597, 0.0697196275, -0.0134196766, 0.0518504344, -0.0112724751, 0.0345985666, -0.0316982903, -0.0111490535, 0.0154871698, 0.0444742851, 0.0551273301, 0.0343990438, 0.0039135804, 0.0122133782, -0.0427986756, 0.0419312939, -0.0539747365, -0.0158503596, 0.0079777688, 0.0097037889, -0.025164254, 0.0028706321, -0.0179810077, -0.0079047009, 0.0041572414, -0.0564392507, -0.0422074795, -0.0053530345, -0.0216638818, -0.0239810366, 0.0110383891, 0.064526692, 0.0035361112, -0.0317691788, -0.0629261881, -0.0472327098, -0.0087761758, -0.0650509447, 0.0200617611, -0.066681765, -0.0073676193, -0.0140678277, -0.0228951517, -0.0878082365, -0.0137409754, 0.0135317091, -0.0545455068, 0.0550045483, 0.0394604579, -0.0134421093, 0.0103000514, 0.0419382788, -0.0150977932, 0.0601489916, -0.0035873554, 0.0393331125, 0.045412153, -0.0296237804, 0.0317054763, 0.0389670394, 0.0819798112, 0.0272667855, -0.0424072221, 0.004561238, 0.046400737, -0.0084143449, 0.017736759, 0.0399879888, -0.03345621, -0.0396625288, 0.071024023, 0.0020275323, -0.0324876457, 0.0447522476, 0.0217891578, -0.0298031885, 0.0329904892, 0.0459975302, -0.0544508919, -0.02375881, -0.0739845634, -0.0167634301, 0.0119956238, 0.0087445173, -0.0353637226, -0.0407956615, 0.015940519, -0.0238302983, 0.062009763, -0.0043414268, 0.0671743527, 0.0546876192, -0.0062394184, 0.0451995656, 0.0392067395, -0.0565026738, 0.0186721217, -0.0509960242, 0.0344910398, 0.0260862987, 0.1054033041, -0.0480645597, -0.0119406162, 0.018993279, -0.0363756716, -0.0250819121, 0.024749497, -0.0217408184, 0.0433283895, -0.0292098094, -0.0318197496, -0.0293098018, 0.0379155874, 0.0073178769, 0.0477236472, -0.0146133583, 0.0155793242, -0.0908412188, -0.034727674, 0.0422717705, -0.023544861, -0.0294774808, 0.0004546636, 0.0084629515, 0.0120456843, 0.0069004465, -0.0053580897, 0.0095493495, 0.0550945774, 0.0029345779, -0.0200156961, -0.0348779075, -0.0236898679, -0.0224820599, 0.0300797839, -0.0002579024, 0.0024198745, 0.0595294014, -0.0340056829, -0.0083626378, 0.0537974164, -0.0098471064, 0.0587540418, -0.0262260213, 0.0402507037, -0.0504709519, 0.028360337, 0.0050824159, 0.0590876117, -0.0333606377, 0.0125804981, -0.0160868689, -0.0076731211, -0.0201035924, 0.0015167226, -0.0441196263, 0.0089576924, -0.0272232965, 0.0283094849, 0.0160279777, -0.0384248756, -0.0540175028, -0.0063101426, -0.0445138142, -0.0074805776, -0.0144922296, 0.0268440284, 0.0301733427, -0.0136689702, 0.0147412717, -0.0096953735, -0.0104217306, 0.0030470584, -0.0423657857, 0.0319639333, -0.0066033565, 0.0080954004, -0.0301718209, -0.024021294, 0.0024487444, 0.0091189099, 0.0727283806, -0.03279626, 0.0225221273, -0.0086193727, 0.0574203469, -0.0471519865, 0.0407608263, -0.0264732577, -0.0464323238, 0.0023741941, -0.0027527658, -0.0198985506, 0.0377080664, 0.002242014, 0.0507787094, 0.0871167928, 0.0152218547, -0.0437678173, -0.014477618, -0.0221443214, -0.0370291322, -0.0203008913, 0.0304563232, -0.0112450253, 0.0593850389, 0.0184800848, -0.0286314934, -0.0390946977, 0.0366350263, -0.036864046, -0.0391993448, -0.0673645735, -0.0130446702, -0.0149266915, 0.001943514, -0.0375022329, -0.0843849182, 0.0718925148, -0.0385920256, 0.0141419098, -0.00524374, -0.0043152836, 0.0053753331, 0.0753586963, 0.0006000639, 0.0102130361, 0.0671555176, -0.0012310568, -0.0604413971, -0.0134957805, 0.0329838246, -0.0421757326, 0.0387223363, -0.0613092259, -0.0121222259, 0.037007235, -0.012196973, -0.0633527488, -0.0233395044, 0.0414046608, 0.006125784, 0.0101763858, -0.0259458665, 0.0102748517, -0.0531334057, 0.0489382111, 0.023033563, 0.0207806267, 0.0011553935, -0.0209580604, 0.0172219202, 0.0454250015, -0.0547135882, 0.0060300855, -0.0403810441, 0.0123158982, 0.0976643413, 0.0182558931, -0.0031221344, -0.0010868869, -0.0060150144, -0.0029476739, -0.0094327359, -0.0073672072, 0.0222325176, -0.0014043842, -0.0501200035, -0.0319550335, 0.0929740667, 0.0091076307, -0.0422186293, 0.0219827499, 0.0113075757, 0.032813251, 0.0028283529, -0.0227710567, -0.0713123083, 0.0124361962, 0.0090624643, 0.0332679339, -0.0116480729, -0.0454458334, -0.0013256025, -0.1035295501, -0.0141191399, 0.0257797204, -0.0268617347, -0.0438312963, -0.0461841784, -0.0079318061, -0.0236351285, 0.0194355883, 0.0055020959, 0.007306654, 0.0138789807, -0.0159900356, -0.0678486973, -0.0511537567, 0.0543488711, -0.0271102507, 0.0145918643, 0.0361121707, 0.0290599633, -0.0121486951, -0.0402804017, -0.021691883, -0.0527274758, -0.0095381541, 0.0142544499, 0.0720886439, 0.002386231, -0.001191676, 0.0286967419, 0.0624250099, -0.0387795232, -0.0275325775, 0.0272841919, 0.0609565601, -0.0008753282, -0.0390154831, 0.0120322499, -0.0658553168, 0.0170866307, 0.0938910022, 0.0362965167, -0.0298869535, -0.0148812355, -0.0212870426, 0.0197133645, 0.0149080316, -0.0396729149, 0.0146866841, 0.0257455297, -0.0272302441, -0.0813379958, -0.019115068, 0.0032386475, 0.0053421459, 0.0123898732, 0.0323593095, -0.0054379595, -0.0113059906, -0.0633936152, -0.0075992676, -0.0305278432, 0.0132100331, -0.0195716713, -0.0311165694, -0.0255243368, -0.0055854004, -0.0216910113, 0.019647859, -0.0930885151, -0.0889977515, 0.0146549502, 0.0349683352, 0.0186819956, 0.0718352273, -0.038403891, -0.0337262303, 0.1006497815, 0.0074112928, -0.0263801664, 0.0230667274, 0.0417143479, -0.0158086419, 0.0059875729, 0.0552509092, -0.040968556, -0.0291780252, 0.0696020126, -0.0116274683, -0.0391061828, 0.0251757763, 0.0212448891, 0.0382782966, 0.1103449985, -0.000948876, -0.0082960101, -0.0064865705, -0.0072919838, 0.0117884418, -0.0348782912, -0.0253866408, -0.0085836835, 0.0494877659, 0.0255801678, 0.0055892821, -0.0139202774, 0.0296279099, 0.0078946464, -0.0046847104, -0.0281034485, 0.0381102301, 0.0345298648, 0.0581186451, 0.0153395301, 0.001830763, 0.0304396823, -0.043600481, 0.0177916754, -0.0179862864, 0.045696184, 0.0157905277, 0.0152090918, -0.0098912362, 0.0142813446, -0.0321086422, -0.0428219587, -0.0459952429, 0.0257717408, 0.0168457106, 0.0121462699, 0.0111303609, -0.0330165997, -0.0052797822, -0.0337961651, 0.0060642269, -0.034981139, -0.0324744992, 0.0125597073, 0.0202017445, -0.0233741384, 0.0287191961, 0.0942439288, -0.0174608789, 0.1068727374, -0.0169092119, 0.0014711019, -0.0342756957, -0.0104609113, 0.0308144279, -0.0120873945, -0.0300512351, 0.0078801587, -0.0338272564, -0.085529834, -0.0117105814, 0.0147739295, 0.0076331799, -0.0046180319, 0.0223112404, 0.0743644014, -0.0247244611, 0.0181862004, -0.06557291, 0.0014645919, -0.002480248, -0.0330514014, -0.0232251212, -6.716852597e-33, 0.0121807437, -0.0084341262, -0.0150806643, 0.034022592, 0.0137832696, 0.0166883655, -0.0174227804, -0.0044021276, -0.0256283805, 0.0003656549, 0.0013891266, 0.0233629812, -0.0235311426, 0.0038373296, -0.0153929377, -0.038888447, 0.0569597259, -0.0163032282, -0.0486203581, 0.0365313366, 0.0782888383, 0.0300060064, 0.0625949055, -0.0684044808, 0.0283870194, -0.0105738575, -0.0389174297, 0.030795943, -0.0379585139, 0.0546813086, -0.019089628, 0.0228255931, -0.008788703, -0.0208934527, -0.0277401153, -0.0291881282, -0.0491911396, -0.0186863262, 0.0077012274, 0.013985225, -0.0409504995, -0.0406616777, 0.0503843874, -0.0188881885, -0.0020074781, -0.0100458786, 0.0030823718, 0.0021991828, -0.0164673533, 0.0160116777, -0.018499082, 0.0068866475, -0.0275970381, -0.0377889201, 0.0351363011, -0.0048898575, 0.0200882964, -0.0233392064, -0.1102477759, 0.0094558401, 0.0149471527, 0.0318829641, 0.0707014799, 0.0157636609, 0.0210448876, 0.0827771798, 0.0248586815, 0.0235353932, -0.0015624516, -0.0027037517, 0.0674303025, 0.0345573053, 0.0414374955, 0.0357375778, 0.0475391224, -0.0381730907, -0.0347728282, 0.0177610647, -0.0019630131, 0.0474314392, 0.0024485569, 0.038349133, -0.0160480216, -0.0222881194, -0.0588401295, -0.0411974341, -0.0550637804, -0.0167577211, 0.0219831187, 0.0135392426, -0.040166758, -0.0492341705, -0.0148435589, -0.0467732027, 0.0008667739, 0.0733359307, -0.0263200458, 0.0177761, 0.0120884394, -0.0099239442, -0.0629505143, -0.0273827631, 0.0121688815, -0.0205658041, 0.032088425, 0.0041516027, 0.0783568695, 0.0589099638, -0.0351233035, -0.0014747524, -0.0496699363, 0.0148043251, 0.0397964083, -0.0303487517, 0.0163932182, 0.0106388722, -0.0226294566, -0.0257741045, 0.0571828224, 0.0308937561, -0.0515676811, 0.0071865874, -0.0044947607, 0.0044852579, -0.0113745965, -0.0588511378, 0.0107112788, -0.0081172371, 0.1005728617, -0.0231024157, 0.0159476288, -0.0085601918, 2.89e-7, 0.0036190965, 0.0209671762, -0.0018223134, 0.0053907153, 0.047236342, 0.0716120824, -0.0501806624, 0.0417852737, -0.0211329814, -0.0511517636, 0.0016989544, 0.017443506, 0.0591457374, 0.0322433673, -0.0708848983, 0.0154844327, -0.0608138032, -0.0297114234, -0.0198209863, -0.0252462514, -0.0060123857, 0.0815141946, 0.0580893867, -0.0013591229, 0.0019553779, -0.0359516516, 0.0378317796, -0.0331227593, -0.0059927469, 0.0012544885, 0.0358717442, 0.0317466706, 0.0280374046, 0.0112103336, -0.0270240661, 0.0003934279, 0.0083430521, 0.0554699413, 0.0264822226, -0.0174837839, -0.0563410521, 0.00329012, -0.0132890865, -0.049120456, 0.075403519, 0.0010397189, -0.0269453265, -0.0183927752, 0.0024989005, -0.0224152319, 0.0366959274, 0.0281482693, -0.0431571715, 0.0204377305, -0.0144087616, 0.0061986637, -0.01068985, -0.0521023534, -0.0441168733, 0.0006983849, -0.0336751975, -0.0506122522, -0.0179696213, -0.027812358, -0.0231386609, -0.0748042762, 0.0324691013, 2.587770916e-34, -0.0117482701, -0.0403712317, 0.0003065266, -0.0149195008, 0.0393129624, -0.0432381555, 0.00509449, 0.0155542251, -0.0057550697, -0.052626498, 0.0105698807 ]
http://arxiv.org/abs/2406.11598v1
http://arxiv.org/pdf/2406.11598v1
Understanding "Democratization" in NLP and ML Research
2024-06-17T14:47:06
2024-06-17T14:47:06
Arjun Subramonian, Vagrant Gautam, Dietrich Klakow, Zeerak Talat
cs.CL
cs.CL, cs.CY
Recent improvements in natural language processing (NLP) and machine learning (ML) and increased mainstream adoption have led to researchers frequently discussing the "democratization" of artificial intelligence. In this paper, we seek to clarify how democratization is understood in NLP and ML publications, through large-scale mixed-methods analyses of papers using the keyword "democra*" published in NLP and adjacent venues. We find that democratization is most frequently used to convey (ease of) access to or use of technologies, without meaningfully engaging with theories of democratization, while research using other invocations of "democra*" tends to be grounded in theories of deliberation and debate. Based on our findings, we call for researchers to enrich their use of the term democratization with appropriate theory, towards democratic technologies beyond superficial access.
[ 0.025962498, 0.094420895, -0.0324220136, -0.0392956808, -0.0494617373, -0.0013150384, 0.028354777, -0.0281736664, 0.0111156134, -0.0519478396, 0.0350212529, 0.0596547201, 0.0336925797, 0.0337347686, -0.0321517102, -0.0554631576, -0.0061280509, 0.03608156, 0.0001531064, 0.0038927065, -0.0110418545, -0.0129294032, 0.0094250301, 0.0559382588, 0.0254771281, -0.0152849127, 0.0035745599, -0.023710411, -0.0173778068, -0.0043419292, -0.0004716092, 0.0212033093, 0.0044945912, 0.0156820938, 0.0000018989, -0.0322224312, 0.0000016097, 0.0430740044, -0.0263808873, 0.0082434351, 0.0565540232, 0.0088167926, 0.002901583, -0.0033463549, -0.0486671478, -0.0095757367, 0.0350787491, -0.0363259017, -0.0100302519, 0.0221033171, 0.0145714711, -0.0297162961, 0.0195614807, 0.018160928, -0.0477163494, 0.0322046913, -0.0005563405, -0.0019482143, 0.0172051452, 0.0113402149, 0.0030335605, 0.0245950092, 0.0310360827, 0.0354035459, 0.0157176349, 0.0017781263, 0.0431514457, -0.0447852127, 0.0177991427, 0.0437192954, 0.0866335332, 0.0162133481, 0.0286168195, 0.014109171, 0.0215393603, 0.0310345385, -0.0426066592, 0.0387869775, -0.0135259088, -0.0189606193, 0.0053635584, -0.0160104427, 0.0327952653, 0.0449934602, -0.0113557493, 0.0949627832, -0.0336386487, -0.0089676706, 0.038748879, -0.0059635835, 0.0575063042, -0.0023064273, 0.0076261088, -0.0038562894, 0.0351875052, 0.0090501159, -0.0254649017, -0.0382404849, 0.031097291, -0.0129662063, 0.0196281169, -0.0334920511, 0.0262734313, 0.0149408933, 0.073906675, -0.0469813496, -0.0528446585, 0.0752077326, -0.0109442221, 0.0333422422, -0.0448481664, 0.0099423165, 0.0107286442, 0.001437966, -0.0357437618, 0.0098126158, 0.023340812, 0.0109231286, -0.0323350765, -0.0201327056, -0.0749934241, 0.0397740752, 0.0143958265, 0.0224314407, -0.0625324175, -0.0019990185, -0.0356721617, 0.0397597626, -0.0136868414, -0.0265435129, 0.0479795262, 0.0123738032, 0.0074459421, -0.0196708683, -0.0007331318, 0.04674403, 0.0167352967, -0.029123066, -0.0123505993, -0.0326363333, 0.0160627272, -0.0357937366, 0.0194121245, -0.0444472618, -0.017795518, 0.0430199765, 0.001534144, -0.0681547076, -0.009927284, 0.0239696521, -0.0274329949, 0.0627829805, -0.0757609829, -0.0181491431, 0.0770045742, 0.0336375535, -0.0272205267, 0.0412011482, 0.0154428966, -0.0060503674, 0.0413750708, 0.0233142506, 0.0663050041, 0.0007958339, -0.0445000008, 0.0004817852, -0.0091689527, 0.0243050288, -0.0555584505, -0.0308901165, 0.0117511004, 0.0566889867, -0.028862901, 0.0500714779, 0.0479553007, 0.0602006875, -0.0235544071, -0.0258504134, -0.0163178779, 0.0201152004, 0.0083718617, 0.0089818304, -0.0224281456, -0.0231559612, 0.002348731, -0.043503087, -0.0092229974, 0.0381097943, -0.0054060635, -0.0704388693, 0.0193107016, -0.0356316008, 0.0958530828, -0.008497552, 0.021637395, -0.0030392532, 0.0418333039, 0.0032677245, -0.0066414783, 0.0233885739, -0.0166638866, -0.0791802853, -0.0210127886, 0.0082362974, 0.0311753172, -0.0069065941, 0.051720202, -0.0524553917, 0.0176812913, 0.0282141771, -0.0057992633, -0.0114175081, -0.0664237067, 0.0135188708, -0.0242550522, -0.0212646984, 0.01090327, 0.0115750432, -0.0151598109, 0.0296540037, -0.0476414636, -0.0362582356, -0.0469546244, 0.0255286526, 0.0421197675, -0.0229119137, -0.0242345799, 0.0459355265, 0.0208635703, 0.0411390327, -0.0160288792, 0.0130199026, 0.0318606906, -0.0121339448, -0.0405560061, -0.0007595317, 0.0503946356, 0.0623293854, 0.012968109, -0.0356837288, -0.0048629423, 0.0439511575, 0.0177649111, 0.0018684461, 0.0631500408, -0.0202942751, 0.0068926057, 0.0081150169, 0.0007346313, -0.0320421159, -0.0046679666, -0.0727642253, 0.0171360709, -0.0373969823, -0.0131193679, 0.0098623578, -0.0096620917, 0.0358817168, 0.0774653628, -0.0081898766, 0.0861263946, -0.0038439876, 0.0500697605, 0.0432852991, -0.0532489792, -0.0101021128, 0.0100627868, 0.0295250881, -0.0440975912, -0.025529094, 0.0085235098, 0.0053268922, -0.0199301988, 0.0114095239, 0.0057182065, -0.0037714287, -0.0095858648, -0.0320760086, 0.0197537709, 0.0486081503, 0.0296291746, -0.0306575652, -0.0037041723, -0.0128505034, 0.02159792, 0.0158678293, -0.0006081421, -0.0225639958, -0.0018662756, -0.063473098, -0.0078965006, -0.0279153734, -0.0236739032, 0.0273928717, 0.0378841795, 0.0621729679, -0.0422436334, 0.0390276685, -0.0083506471, 0.0691512004, 0.0551206693, 0.0627522841, -0.0398049727, -0.0280857719, 0.0135473525, -0.0052000098, 0.0047892141, -0.0239892621, 0.0601491295, -0.0037031125, -0.0025384061, 0.0101138391, 0.0044677244, 0.0795284435, -0.0801671445, -0.0600310005, -0.0318978019, -0.054729823, -0.0233319234, 0.0493764207, -0.0027454628, -0.043877434, 0.0220779497, 0.0044010109, 0.0202158038, -0.0587433539, -0.0600398965, -0.0076776454, 0.0577548109, -0.0005268702, 0.0343161896, 0.0509586297, -0.0346503109, -0.0162285063, -0.0177032594, 0.0489141643, -0.0788213313, 0.0778825581, -0.0371302962, -0.0005379919, -0.0057840594, -0.0353863128, 0.000907293, -0.0181914866, 0.0018547199, 0.0273368191, 0.0607847124, -0.0201106258, -0.0789658353, -0.0234111995, 0.0459687822, 0.0040519992, 0.054048758, -0.0240136087, -0.0108917588, -0.0019003181, 0.0052058357, -0.0022595276, 0.0471623242, 0.0383931026, -0.017625222, 0.067441918, 0.0547787659, 0.0116788931, -0.010018643, -0.0346782431, 0.0046654814, -0.0613134578, 0.0081597036, -0.0149684921, 0.024787927, -0.0180559568, 0.0391566381, -0.0011305129, -0.0109757446, -0.0696419552, -0.0123995207, 0.0085500525, -0.0133804977, 0.0375011005, -0.0139757451, -0.1001346931, 0.042016279, 0.0255416017, 0.061936345, -0.0582722314, -0.0285307076, -0.0171060972, -0.0872881785, 0.0145205306, -0.0207692217, -0.0086784335, -0.0047300234, -0.0495779999, 0.0215449389, -0.0282946415, 0.0725582242, -0.0275527425, 0.0067670112, 0.0266689751, 0.0264947005, -0.0812024921, -0.057798516, -0.0283866562, -0.0342139304, 0.0372959152, 0.0541156307, 0.027801754, -0.0395483151, 0.0247747228, 0.0245159902, 0.0116392998, -0.0098849395, 0.0161686894, 0.0259197764, -0.0361499973, 0.0222102813, -0.000712525, 0.0012255567, -0.0014126274, -0.0212891232, 0.0214141496, 0.0145265702, 0.003698119, -0.0367992222, -0.0456074104, -0.0712796673, 0.0274648983, 0.0093388222, 0.0086592445, -0.0351864211, -0.0079448968, -0.0339109711, -0.0038034292, 0.0898426324, -0.0802543163, 0.0111897448, -0.0024941536, -0.01859219, -0.0239383895, -0.072822623, 0.0101758502, 0.0496993139, 0.0405270383, 0.0293326993, 0.0310098436, -0.0311151631, -0.0492489561, 0.0069890567, 0.0147325611, -0.0131895561, -0.0020500717, -0.0717624649, -0.0466828197, 0.0561034605, -0.0091453101, -0.0152271762, 0.0591637306, -0.037757013, 0.0129685774, 0.0144959893, 0.0338522233, -0.0306238905, -0.0028241703, -0.0405682996, 0.0370996892, 0.0850115269, 0.0081550628, 0.0179158449, 0.0280432347, -0.0063900743, -0.0115715051, -0.0050316062, 0.0197399221, -0.0340525135, 0.0051828125, -0.0399010293, -0.0290484037, -0.0031066006, 0.0153504414, -0.0012998536, 0.0484145135, -0.028744759, -0.0057122307, -0.003278841, -0.068168737, 0.0316798761, -0.0227260645, -0.011476906, -0.0368408896, 0.01663596, 0.0111113871, -0.0328799225, 0.0438158289, -0.0085801128, 0.0230085161, -0.0396674164, 0.0521499254, 0.0160659999, 0.0322520733, 0.0159586128, -0.00669281, -0.0134097068, 0.0245671347, -0.029126063, 0.0359476879, 0.0192793757, -0.0059059719, 0.006127602, 0.0145289376, 0.0226451643, 0.0214799009, -0.0472160988, -0.0983446538, 0.0376348309, 0.0494862758, -0.0219923202, -0.0046726717, 0.0060533751, 0.0413660593, -0.0094880713, -0.0115179634, -0.0420535617, 0.0275643207, 0.0108161978, 0.0195013154, 0.0060712085, -0.0462249331, 0.0101621002, 0.0122984909, -0.0063556614, 0.0394544601, -0.0282743834, 0.0131595908, -0.0103581045, -0.0843142867, -0.0047038053, 0.0246245898, -0.0117840143, -0.0633403063, -0.0513252169, -0.0261120014, -0.0170432441, -0.0100630326, 0.0077490383, -0.0404425003, -0.0229283795, 0.0588113554, 0.0282405913, -0.0405755267, -0.035916131, 0.0316028707, -0.1001404971, -0.0201285481, 0.0477063805, -5.757445332e-33, 0.0228736885, -0.062250711, 0.0175400078, -0.0577436388, -0.0142157618, 0.0203196518, 0.044543054, 0.0439276323, -0.0474131294, 0.0179328136, -0.0281878915, -0.0113054952, 0.0033880065, -0.0214524865, 0.0269429889, 0.0030084767, 0.006586384, -0.0347970054, -0.0183259696, -0.005679871, -0.0138630774, -0.0099490872, -0.028498942, -0.0796669647, 0.0826994777, 0.0385892726, -0.0208759606, -0.0403180458, 0.0102743423, 0.0329331718, -0.0064345901, 0.0422786102, 0.009333971, -0.0464164689, -0.0183101669, 0.0951717049, -0.0424029492, 0.0475448444, 0.0132718496, 0.0232297909, 0.0015536847, -0.0008501213, 0.049799595, -0.0186353195, -0.0276523251, 0.0398129858, 0.0463937148, -0.057816457, -0.0382686071, -0.0428089499, -0.0325676873, -0.0036509305, -0.0413182266, 0.0490775444, -0.0053103054, 0.0458957776, -0.0012120677, -0.0192312114, -0.0967575833, 0.0085731409, -0.0116750514, -0.0160160027, 0.0476435311, -0.0075207357, 0.0287280455, 0.0620620251, 0.0567366891, 0.0305885747, -0.0626215786, -0.0361830033, 0.0307956338, 0.0467421152, -0.010751727, 0.0395880714, 0.0229606349, -0.0362850316, -0.0342920087, -0.0048724758, -0.0017454667, -0.0274360888, 0.0354264304, -0.0208148081, -0.0878073946, -0.0431063697, -0.0410735682, -0.0217806026, -0.0080676479, -0.0248906165, -0.0181223843, 0.0166942365, -0.0536493324, -0.0072652386, -0.0017802001, -0.0702330545, -0.0611344613, 0.0130745256, -0.0042467071, 0.0092366347, 0.0057902718, -0.034469679, -0.0626556128, -0.0273890123, -0.0774429664, 0.0631812513, 0.0359473377, 0.0033806679, -0.0136302682, -0.0076502096, -0.0490873642, -0.0319296159, 0.0000129907, 0.0249941349, 0.0238884538, 0.0116104269, 0.0711430907, 0.0035025307, 0.0381169394, -0.0033528388, 0.0274984688, 0.033692129, -0.015237649, 0.0317155607, -0.0790464953, -0.0191121027, -0.0132859116, -0.0044625117, -0.0465998761, 0.0532414429, 0.0649598166, -0.0165239461, 0.0006211686, -0.0694726035, 2.536e-7, 0.0343637429, 0.0315891914, -0.0358967073, -0.014939527, 0.000566136, 0.0342525467, 0.0414917506, 0.0189836398, -0.0438825265, -0.0819369704, -0.006253663, 0.0305278264, -0.0057632634, 0.0184282362, -0.0450705104, -0.0379030369, -0.006252062, 0.0603112988, -0.0645850375, 0.0350171253, -0.0040545235, -0.0167845357, -0.015197196, -0.0003549782, -0.0639295876, -0.0445342138, 0.001556645, -0.0494811498, 0.0242253989, 0.0090010623, 0.072250925, 0.0360785984, 0.028855931, -0.0005576311, 0.0323866159, -0.0052388152, -0.0137026506, 0.0527583733, 0.0386759862, 0.0067510982, 0.0083934702, -0.0641326383, 0.0052977805, 0.0237099957, 0.0875689536, -0.0202079955, -0.0506790727, -0.0851173475, -0.0179631077, -0.0329829529, 0.0920235589, -0.0021245342, -0.0141145363, 0.0013546594, -0.0196149722, -0.0182016212, 0.0139710559, -0.0646180287, 0.0165118314, -0.0170939565, 0.0263084751, -0.0307613108, 0.0138656665, 0.029221328, 0.0338162817, 0.0361512825, 0.0235339832, 1.940007867e-34, 0.0214265622, -0.0181491151, 0.0278263856, 0.0082864389, 0.0371414088, 0.0136308288, 0.0703749508, -0.0591675602, -0.0100533823, -0.0379616283, 0.0276396777 ]
http://arxiv.org/abs/2406.11581v1
http://arxiv.org/pdf/2406.11581v1
Style Transfer with Multi-iteration Preference Optimization
2024-06-17T14:20:53
2024-06-17T14:20:53
Shuai Liu, Jonathan May
cs.CL
cs.CL
Numerous recent techniques for text style transfer characterize their approaches as variants of reinforcement learning and preference optimization. In this work, we consider the relationship between these approaches and a class of optimization approaches developed primarily for (non-neural) statistical machine translation, formerly known as 'tuning'. Inspired by these techniques from the past, we improve upon established preference optimization approaches, incorporating multiple iterations of exploration and optimization, and choosing contrastive examples by following a 'hope' vs 'fear' sampling strategy. Cognizant of the difference between machine translation and style transfer, however, we further tailor our framework with a new pseudo-parallel generation method and a dynamic weighted reward aggregation method to tackle the lack of parallel data and the need for a multi-objective reward. We evaluate our model on two commonly used text style transfer datasets. Through automatic and human evaluation results we show the effectiveness and the superiority of our model compared to state-of-the-art baselines.
[ 0.0393171199, 0.0743969008, -0.0081856726, -0.0088114021, -0.025948463, 0.0211200677, -0.0173489209, 0.013679143, -0.0630847067, -0.0041922918, -0.0635217875, -0.0384274758, 0.016209811, -0.0479343459, 0.0302248802, -0.0977185518, -0.0268857721, -0.010548125, 0.0158789884, -0.0160049405, 0.0639071092, 0.0367891006, 0.0023938755, -0.0030845418, 0.0162696671, 0.0063244323, 0.0149005791, 0.0582370535, 0.0679680035, 0.0023785864, 0.0097559728, 0.0166350864, 0.0015169122, 0.008130556, 0.0000019598, -0.0275831744, -0.0313860774, -0.016616622, 0.0964099169, -0.0249338225, 0.1097545847, -0.031560123, -0.0245822631, -0.002602601, 0.000868441, 0.000293355, 0.0800218284, 0.0317942463, 0.0563911647, 0.0858324319, -0.0336188339, -0.046051275, -0.0287808795, -0.0573209636, 0.0023843171, -0.0069305403, 0.0143402424, -0.040495418, -0.020397678, 0.0055471803, -0.0018030335, 0.0278866161, -0.0187361315, -0.0262986496, -0.0087559056, -0.0113007938, -0.0083605601, 0.0263287351, -0.0223095585, 0.0699610859, -0.0421796627, 0.0146013293, 0.0198819172, -0.0277585313, 0.0017530727, 0.0159125403, -0.0715992302, 0.0054363338, -0.011801756, 0.0330529734, 0.0038714153, 0.0379662327, -0.0103998892, -0.0297365244, -0.0259097088, -0.0264913067, 0.0073160105, -0.0298312213, 0.0300860591, 0.0306417607, -0.0359964482, -0.036399398, 0.0629304871, -0.0290460438, -0.0290834662, 0.0180309117, -0.0737834498, -0.0658934042, -0.0077660806, -0.0186974797, 0.1031856686, 0.0247659478, 0.0241714735, 0.0160338972, -0.0156556536, 0.0354624689, -0.0302380677, 0.0016661369, -0.0660352036, 0.0212354716, -0.045750685, 0.0221425649, -0.01337591, -0.0102170873, 0.0102370465, -0.0274157207, -0.0152089354, -0.0104375891, -0.0128641697, -0.0029007767, 0.0155824795, 0.0022333593, -0.0710263029, -0.0066059567, 0.0161109529, 0.0123743182, 0.0120807011, 0.0109551959, 0.0120886052, 0.0285973791, -0.0311112404, 0.0264554713, 0.0224087965, -0.0329911821, -0.0277364012, 0.0533233471, -0.07445997, 0.0225357879, -0.0074324263, -0.0033385162, -0.0257845633, -0.0088985302, 0.0092420597, -0.0612934828, 0.001244131, -0.0304808579, 0.0143687958, -0.0280976221, -0.0095514106, 0.0081097446, -0.0449073538, 0.0398283526, 0.0575647987, -0.0110471109, 0.0076517635, -0.0162119307, -0.0061040069, 0.0499599613, 0.0434402712, 0.1040944159, 0.0000438197, 0.0047476469, -0.0327118784, 0.0590295121, 0.0406910442, 0.063005887, -0.0539472215, -0.0577613898, 0.0172777418, 0.0518494584, 0.055707071, 0.0523762852, -0.0227168985, -0.0013547082, 0.0878947452, -0.0034424462, 0.0552360862, -0.0010209257, 0.037511196, 0.0181079786, -0.0142719084, 0.040318504, 0.0205534399, 0.0408425033, -0.0006972882, 0.0275175907, 0.0413255915, 0.0487230755, -0.0118006757, -0.0072485805, 0.0230712462, 0.0120785711, -0.0048330626, -0.0138230035, 0.0185750909, 0.0642171726, -0.0751301348, -0.0793490857, 0.0024227772, -0.038570378, 0.015209537, -0.0090530943, 0.0146553246, 0.1162313893, 0.0450277142, 0.0120020397, 0.012588894, -0.0066508674, -0.0035422118, 0.0351996496, 0.0415415205, -0.0257962681, 0.022803979, -0.0624026805, -0.0143676884, 0.0002090259, -0.0171758458, 0.0513897724, -0.0287995655, 0.0433023386, -0.0139415078, 0.0281638335, -0.0551383831, 0.0320602804, 0.0020269989, -0.0306430385, 0.0563836806, 0.0079000136, 0.001454481, -0.0224980805, -0.0501261503, -0.013467011, -0.0457941703, -0.0457777865, -0.0177948158, 0.0282561816, -0.0389126092, -0.0651065335, -0.0289497152, -0.0652355701, 0.020297695, 0.0213139076, -0.0537821874, -0.056018386, -0.0129607031, -0.018328039, 0.0335611328, -0.0022336836, 0.0239637978, 0.0301113427, 0.01582711, -0.0738377944, 0.0142275458, 0.0016227515, -0.0323662683, 0.001864239, -0.0111163128, -0.0164611358, -0.0471192636, 0.0198691729, -0.0066187633, 0.0253437608, 0.010678187, 0.0251175128, 0.0429912731, -0.044562079, -0.0681742951, -0.0290021785, 0.0244132057, -0.0091193235, 0.03636178, 0.0253240187, 0.0233346839, -0.0124566685, -0.0029230781, -0.0473621003, 0.0267176013, -0.0363302417, 0.0207228214, 0.0352356099, 0.008731259, 0.017190598, -0.0367967188, -0.0287639778, 0.0261367466, 0.029736191, 0.026834989, 0.0334142856, -0.0601714812, 0.0344529822, -0.0251380391, -0.0391507223, 0.0234153606, -0.032223817, -0.0088397861, -0.0445252545, 0.0474210382, 0.076616697, 0.052381698, -0.014569818, -0.0053472412, -0.0103072142, -0.0402773954, 0.0003229186, -0.0372555554, 0.0049484586, 0.0147861047, -0.0458669215, 0.0443528444, 0.039724309, 0.0375969, -0.0034435298, -0.0627193078, 0.0232134555, 0.0426281802, -0.0406370088, 0.0147573631, 0.0379088037, 0.0145584596, 0.0120227328, -0.0263297036, -0.0308764223, 0.0803668499, 0.0007522864, 0.0074503208, -0.0232955292, 0.003984408, -0.0202297866, 0.0051259715, -0.0099908328, 0.02519246, 0.0104604894, -0.0095553501, -0.0481764041, -0.0245871376, 0.0584439784, 0.0008569317, 0.021923447, -0.0391624756, -0.0084624728, -0.0292749237, -0.0271594115, -0.0166162048, -0.0187652688, 0.0125067243, -0.0384590738, 0.0728755221, -0.0465130694, -0.0036822751, 0.0029683262, 0.0028215833, 0.076825358, -0.0327352434, -0.0413450226, -0.0031012534, 0.0453748181, 0.0314749889, -0.0300758537, -0.013976275, -0.0540897623, -0.0242675189, 0.0138118397, 0.0316621289, 0.0095705343, -0.021634778, 0.0034755776, 0.0377025045, -0.0197383761, -0.0210375134, -0.0156335887, 0.031992618, -0.0262770988, -0.0090637701, 0.0781644806, 0.02767835, -0.0545440614, -0.0332370289, 0.0074974406, 0.0724618435, -0.0236507934, 0.05107693, -0.0519839451, -0.0150058558, -0.0203097258, 0.0493476801, 0.0192855317, -0.0029720187, -0.0267514512, -0.0286881514, 0.0127653824, 0.034179125, -0.0748925731, 0.0274184067, -0.0168933645, 0.017145833, -0.0350041464, -0.0298465639, -0.0069206329, 0.0076258932, 0.0108213034, 0.0119993323, 0.0358578525, -0.0249259751, -0.0102288593, 0.0017291825, -0.0013452031, 0.1163250059, 0.0386341885, -0.0015831726, -0.0635797158, -0.0243005436, -0.0088853147, -0.0090067293, -0.0408195294, 0.0279648174, 0.0186225511, -0.002422543, -0.0105204973, 0.034450952, 0.0089144129, 0.0225578696, 0.0507507473, -0.0170665029, -0.0017191347, -0.0386985987, -0.0174531098, -0.013405663, 0.0436585434, 0.0128240045, 0.0293565188, -0.086005114, -0.0043330183, -0.0676061958, -0.0213245656, -0.1396705955, -0.0090983203, -0.0370738767, -0.0350366458, 0.0069807395, -0.1444117725, 0.0170250311, -0.0204609875, 0.0682645738, 0.0229061171, -0.032325875, -0.0152115654, -0.028271284, -0.0271624792, -0.0397457406, -0.0067307134, 0.0133525645, -0.0087909847, -0.0118170734, 0.0202828664, -0.074337922, -0.0051278146, -0.0107926829, -0.0663159117, -0.0455362238, -0.0273875911, 0.0929574817, 0.0060032937, 0.0249977279, -0.0138238212, -0.0661855787, 0.0678135082, 0.0601559803, 0.0470031686, -0.0093021896, 0.0361962058, 0.0118481219, 0.0018161961, 0.0293934979, 0.0038403142, 0.0265340135, 0.0297647584, 0.0278197825, 0.028487429, -0.027670864, 0.0079726884, -0.0078769038, -0.0195965655, -0.022062026, -0.0144762015, -0.0178987011, 0.0122642564, 0.0001969197, -0.0129199019, -0.0602800176, -0.0358280428, 0.0409891084, 0.024075143, -0.0235873871, -0.0023388546, 0.0419753343, -0.0044397218, -0.058959879, -0.0012831866, 0.0138632655, 0.0695860833, 0.008303728, 0.0452189222, 0.01753157, 0.0227169972, 0.0191180035, 0.0483012199, -0.0176022723, 0.0332934111, 0.054729417, 0.0111093801, 0.0093720248, 0.0317048058, -0.0531465597, -0.0028429653, -0.0412409678, -0.0572532378, 0.033662241, -0.0204545557, 0.1129020378, 0.0141030597, 0.0000089864, 0.0056572706, 0.0277072769, -0.0188611727, -0.0013767631, -0.0281360261, 0.0081814537, 0.0400698222, 0.0100220293, 0.075335525, -0.0430285372, -0.0113372384, -0.005192948, -0.0113810534, -0.0305022318, 0.0007824081, 0.0230392125, 0.0026909627, 0.0409272946, -0.0454316512, -0.0007464795, -0.030959174, 0.0315099172, -0.0066265725, 0.0300366152, 0.0069654756, 0.0458758026, 0.0434230044, -0.0508606285, 0.0385229327, -0.0456946902, -0.0101792132, -0.0046490473, -0.0262891445, -0.0177328307, -5.722335152e-33, -0.0355122276, -0.0193105061, -0.0106210308, -0.0109564066, -0.0376187153, -0.0428467244, -0.0310529303, -0.0655807108, 0.0272361897, 0.015289519, -0.0260189753, -0.042534098, 0.0143126883, 0.0364193954, 0.0371508636, 0.0538233072, 0.0496260896, 0.0136964517, -0.0724513009, 0.0251755789, 0.043456886, 0.0154444957, 0.0707116723, -0.056426812, -0.0077517927, 0.0369890742, -0.0425974801, -0.0181400906, 0.0261778962, 0.0233086199, 0.0414826833, -0.0077047003, -0.0152482809, -0.0751480982, -0.0456322655, -0.0198763814, -0.0382680148, -0.0512900576, 0.0154457968, 0.0036565249, -0.0224225, -0.0390335582, 0.0431248471, -0.0281490367, 0.0237355083, -0.0080695786, 0.050671827, -0.0497277789, -0.0210569203, -0.0264970604, -0.0403846763, -0.0001244446, -0.0253580231, -0.025266679, 0.037403401, 0.0104834307, -0.0047921017, 0.0278632697, -0.0410801917, 0.0444497764, -0.0038734023, 0.0227126349, 0.0375670157, 0.057645876, 0.0180564299, 0.0094633298, 0.000097808, 0.0311285201, 0.0011906667, 0.0025600011, 0.0319507606, 0.0065659243, 0.0093057426, 0.0516745113, 0.0181490742, -0.012452241, -0.0141041484, 0.0707371011, 0.0190278124, -0.0206613466, 0.0236821584, 0.0683383793, 0.001576751, 0.0065709818, -0.0451956503, -0.0622021556, -0.0177552886, -0.0255823173, -0.0115684485, 0.0329195857, -0.0428741574, -0.0011580709, 0.0316980369, 0.0195878018, -0.0188044533, -0.0243957173, -0.0675090775, 0.0458275229, -0.0400844738, -0.0476992391, -0.0339112617, -0.0160815585, 0.0580831617, 0.0273497347, -0.008117754, -0.0036596144, 0.063169688, 0.0435291566, -0.0590412915, -0.0072835074, -0.0119148158, 0.0216607433, 0.007822738, -0.0154266777, 0.0045625912, -0.0267857332, -0.0242828019, 0.0209697336, 0.0642905608, -0.0403173827, -0.0223374423, -0.0232203584, -0.0034956806, 0.0119839488, -0.0616061278, 0.0098185735, -0.006160764, -0.0284755472, -0.0067784879, -0.0515123382, -0.0526200198, -0.0034604296, 2.599e-7, 0.0032174923, 0.024956746, 0.0074813692, 0.0165840201, 0.0150818601, 0.0254362375, -0.0005311057, 0.04966316, 0.0206633676, 0.0453996845, 0.0264859051, 0.0190623887, 0.0651700944, -0.008146856, -0.0751574188, -0.0246994123, -0.01806641, 0.0481747948, -0.0178861022, -0.0568448603, 0.038267076, 0.0333993174, 0.0491775498, -0.0134693626, 0.0354679227, 0.0427603163, 0.0737790987, -0.0155999605, 0.0213739648, -0.0000831964, 0.0028756242, -0.0353979245, -0.0808813125, 0.0093925698, -0.011733342, -0.0024176829, 0.0405402742, 0.0579796247, 0.0291791689, 0.0119693354, 0.0122668752, 0.0220917612, 0.0310991947, -0.0314213037, 0.0338072516, -0.0240284633, -0.013914736, -0.0273904353, -0.0324785039, -0.0088189347, 0.0256075785, -0.0268236566, -0.0234242547, 0.0187264383, 0.0221898407, 0.0736794546, -0.0301099084, -0.049648013, -0.0187078267, 0.0002366676, 0.0047390573, -0.0158124194, -0.0246041957, 0.0656995773, -0.0434096083, -0.0391775295, 0.0041566761, 2.171483138e-34, 0.0186787099, -0.0468733534, 0.0043867701, -0.0236422922, 0.0225680135, 0.0199926868, -0.0331562012, 0.0018064751, 0.031477239, -0.0744516775, -0.0373074561 ]
http://arxiv.org/abs/2406.11580v1
http://arxiv.org/pdf/2406.11580v1
Error Span Annotation: A Balanced Approach for Human Evaluation of Machine Translation
2024-06-17T14:20:47
2024-06-17T14:20:47
Tom Kocmi, Vilém Zouhar, Eleftherios Avramidis, Roman Grundkiewicz, Marzena Karpinska, Maja Popović, Mrinmaya Sachan, Mariya Shmatova
cs.CL
cs.CL
High-quality Machine Translation (MT) evaluation relies heavily on human judgments. Comprehensive error classification methods, such as Multidimensional Quality Metrics (MQM), are expensive as they are time-consuming and can only be done by experts, whose availability may be limited especially for low-resource languages. On the other hand, just assigning overall scores, like Direct Assessment (DA), is simpler and faster and can be done by translators of any level, but are less reliable. In this paper, we introduce Error Span Annotation (ESA), a human evaluation protocol which combines the continuous rating of DA with the high-level error severity span marking of MQM. We validate ESA by comparing it to MQM and DA for 12 MT systems and one human reference translation (English to German) from WMT23. The results show that ESA offers faster and cheaper annotations than MQM at the same quality level, without the requirement of expensive MQM experts.
[ 0.0126879606, -0.0234116986, 0.0068397322, 0.0399599411, 0.0067792251, 0.0318883061, 0.0229159966, -0.0069186892, -0.0072979014, -0.0165062714, -0.0182187706, -0.0306537561, 0.0538582727, -0.0273151137, 0.0368848033, -0.0793115571, 0.0210741498, 0.0071940925, 0.0065075075, 0.0170370601, 0.0215935912, -0.0081211179, -0.0136763686, 0.0371243246, -0.0145022189, 0.0234509502, 0.024320351, 0.0310770348, 0.0803242475, -0.062296778, -0.0059987004, 0.0530624129, -0.0192115214, 0.0677562058, 0.0000019695, -0.0489739068, -0.031406004, 0.0417830274, 0.0113293324, 0.0420065597, 0.027673224, -0.0277473405, -0.0295251869, -0.0058514629, -0.0125975935, -0.0092634866, 0.0509070009, 0.0021324414, 0.1083640084, 0.0262816865, -0.0188444518, 0.0004920035, -0.011773183, -0.0196085852, -0.0214507524, -0.0737427846, -0.0413803421, 0.0398647822, -0.0209264383, 0.0012459687, 0.0080263102, 0.0317037813, 0.0235962234, -0.0147296693, -0.0018138164, -0.0220306516, -0.0323483013, -0.0344010927, 0.0112749478, 0.0562012047, 0.0085470714, 0.0197316501, -0.0370194614, -0.0135848522, 0.0083208149, -0.0321796872, 0.0015595643, 0.0051284661, -0.0024007368, -0.0059882589, -0.0184115916, 0.0669882819, 0.0125029944, -0.0119796284, -0.0245112441, 0.0028446023, -0.005595257, -0.0355930477, 0.0030714921, 0.0499325916, -0.0195925273, -0.0027646136, 0.0523146242, -0.0322450586, -0.0285535436, -0.0115856044, -0.0311350059, -0.0723850876, 0.0341929682, -0.0593487024, 0.0285496581, 0.0325803198, -0.0227107089, 0.0266020242, -0.0180382747, 0.0759143382, 0.0093787098, 0.0036830772, -0.0444814265, -0.0031277228, -0.0051555918, 0.0505190492, -0.0278324671, -0.0268322527, -0.0386248082, 0.0317944437, -0.088764593, 0.0069053345, -0.0210460611, 0.0381119475, 0.0050575985, -0.032721322, -0.015224807, 0.004528787, 0.0024254411, 0.0261479821, -0.0350245461, -0.01141054, -0.0045975479, -0.0408345014, 0.0044107004, 0.0438283756, -0.0155022144, -0.0031487579, -0.0038430069, 0.0710899234, 0.0115170125, -0.0306657627, 0.0308577083, -0.0116158649, -0.0229513291, -0.0262370743, -0.021043634, -0.0498702079, 0.0364662409, 0.0078263171, 0.025196882, 0.0088281799, 0.0089511788, -0.0123344986, 0.0149693238, 0.0429867506, -0.0390040465, -0.0188941639, 0.0074141803, -0.002426564, -0.0285540055, 0.0233467836, 0.0663420558, 0.0212833975, 0.0287600644, 0.0201609656, 0.01005466, 0.0322682858, -0.0193916988, 0.0017493378, -0.0138258161, -0.0129221501, -0.0256237704, 0.0296823103, 0.0285296757, 0.0680865943, -0.0346837603, 0.0496473648, 0.0297534913, 0.0322588496, 0.0075893877, 0.0181829594, 0.0299769696, 0.0002124518, 0.0094522843, -0.007179338, -0.0155954761, 0.0187101271, -0.0029956417, -0.0117089674, 0.0709327459, 0.0069354628, 0.0216615573, -0.0740064904, -0.022689065, -0.0167684797, 0.0226796698, -0.0456398055, 0.0270867627, -0.0179849677, -0.0304985419, 0.0420655645, -0.0401330963, -0.0791082829, 0.0145716509, -0.0135494862, -0.036078535, 0.0930846259, 0.0319119543, 0.0071216063, 0.0090501551, -0.0000898283, 0.0142371515, 0.0284927376, 0.0669530481, 0.0065993429, -0.0111866174, -0.038089443, -0.0316053666, 0.0527756885, 0.0060042432, 0.0272080284, -0.0136426575, 0.0124613736, 0.0035300602, -0.0536759682, -0.1215995923, 0.0102352481, 0.0700965151, -0.0015289274, 0.0129212039, 0.0121296933, 0.0437242649, 0.0702147111, -0.0326261446, -0.0025458892, 0.0084276423, -0.0160548892, -0.0459501259, 0.0293623414, -0.0059281085, 0.0013508353, 0.0118323779, -0.07800401, -0.0507649183, 0.0092289383, -0.0437114276, -0.028186135, -0.0620269291, -0.0772536546, -0.0391540565, -0.040816348, 0.0293040294, -0.0154939797, -0.0206089355, -0.0578889251, 0.0183183774, -0.0036849249, 0.025973253, -0.013293053, -0.0143518196, 0.0329117924, -0.0193152688, -0.0747638717, 0.0319701917, 0.0158402845, 0.0607024245, 0.0340517201, 0.0337038338, -0.0382400639, -0.0196526367, -0.0537502393, -0.0143557023, -0.0113849351, 0.0446616262, 0.0268420484, -0.0166289117, 0.0206457041, -0.015133529, 0.0076365792, -0.0160842389, 0.0242715236, -0.0094112251, 0.0435187854, -0.0009332633, 0.0266243052, -0.0250051264, 0.0129098548, 0.0223208927, 0.0215642191, 0.0690596253, -0.016643418, -0.0891819447, 0.0195470192, -0.0303835217, -0.0268897116, 0.0645965561, -0.073902227, 0.0173775163, 0.0218601767, -0.0373884588, 0.0107965963, -0.0003248877, 0.0049991277, 0.0231579691, 0.0162948966, -0.0234849826, -0.0064840275, 0.0037631975, -0.0250488073, 0.0020352784, -0.0508792959, 0.0205321833, -0.0176389292, 0.0024512422, 0.0194789805, -0.062158104, -0.0276354253, -0.0400289111, -0.0233830232, -0.0027829239, -0.0032491363, -0.0043586218, 0.0604582727, 0.015433332, -0.0448420681, 0.0652379915, -0.0433600545, -0.0208892245, -0.0457153246, 0.0428056084, -0.0073943036, 0.0157175343, -0.0441831648, 0.0195149872, -0.0676338077, -0.0177282859, 0.0202428922, 0.0213816874, 0.0635739416, -0.0397711657, 0.0052121379, -0.0836643875, -0.0134291854, -0.0147969164, 0.0074147382, -0.0030589339, 0.0236578099, -0.0366863608, -0.0156604201, 0.0014930587, -0.0197706576, -0.0163694806, 0.0350354463, 0.0481730998, 0.0509447902, 0.0057417639, -0.0142069003, 0.005268144, -0.0031768784, -0.0691107437, 0.0328231789, 0.0330400467, -0.0411698148, 0.0237478297, 0.0452999435, -0.0225819517, 0.0296821054, -0.0088337259, -0.0170493294, 0.0499417074, 0.0068493686, -0.0367563181, 0.0055595771, 0.0405541509, -0.0662479699, 0.0106461383, 0.1006975025, 0.0243932065, -0.0407067463, -0.0170304272, -0.0182194132, 0.007726321, 0.0182128288, 0.0049014711, -0.0822513252, -0.0016639694, 0.0056611397, 0.0810361207, 0.0236039795, 0.0112652658, 0.0158080421, -0.0675665885, 0.0296732839, 0.0486995354, -0.0786171854, -0.042529013, -0.0168303289, -0.0210976563, -0.0214950051, 0.0315007642, -0.0074442592, 0.0557847619, 0.0013576032, 0.0373512767, -0.0294169765, -0.0904365107, 0.0103580337, -0.0439951085, 0.0516182408, 0.0771163255, 0.0368084051, -0.0168191195, -0.0537414141, 0.0126676066, -0.0295050144, -0.008062345, -0.0140510676, 0.0486214161, 0.016903881, -0.0159307271, -0.0012926526, -0.0281313919, 0.0061477618, -0.0018756147, -0.0124476068, 0.0577809848, -0.0014477562, 0.0475709513, 0.0370546132, -0.0204655938, -0.0114634819, 0.018214494, 0.018559806, -0.05143876, -0.0116639268, -0.0248350222, -0.0057304301, -0.0917798281, -0.0076094707, 0.0417351648, -0.0722938254, -0.0737775043, -0.0837784484, -0.0494867004, 0.0014839778, 0.0514973477, -0.0086506363, -0.0283534378, 0.0002592888, 0.0284931976, -0.0105444631, 0.0114026535, 0.0123089878, 0.0271899235, -0.0373621844, 0.0357027911, -0.0300771613, 0.0231287032, -0.0075718504, 0.026302252, 0.0117740184, -0.0412193462, -0.007005393, 0.057514783, 0.0181063954, -0.0050739185, -0.0499924682, -0.061221052, 0.0046954546, 0.0013038251, -0.0010903637, -0.0016747782, 0.0409359746, 0.0159770921, -0.0287704021, 0.0077313553, -0.0347290561, -0.0046375399, -0.0323324278, 0.0340492353, -0.0000924449, -0.0571200103, -0.0020608294, 0.0436970741, 0.0243131295, -0.0768953934, -0.0573803112, -0.0011574426, -0.0069898642, -0.0118338363, -0.0389023982, -0.0340484791, 0.0061828517, 0.0136087881, -0.0467851199, -0.006288765, 0.0194950812, -0.0275576208, -0.0324425027, 0.0019820065, 0.0298771318, 0.002432361, 0.0435135439, -0.0223946404, 0.0294854473, -0.0320038721, -0.0396804512, 0.0131216114, 0.0097088283, -0.0202233605, 0.0227695666, 0.005517412, 0.0160402898, 0.067833975, 0.0558116734, -0.0027985536, 0.0340966396, -0.044753965, 0.0135451378, 0.0899475962, 0.0508916192, 0.1550020278, 0.0024813705, -0.0081965607, -0.0221594274, 0.0472721346, -0.0040118829, -0.0068775164, -0.0284510553, -0.0048255352, 0.0104396325, 0.0084960507, 0.0030771026, -0.0479351059, -0.0240731332, -0.0694622472, -0.047925543, -0.0394102596, 0.0015999372, -0.0507317856, -0.0474344119, -0.0207632948, -0.0446522981, -0.0576250218, -0.0404089354, 0.0139145935, 0.0705201626, 0.0346516743, -0.006195616, 0.0058616549, 0.0682534352, -0.0281034298, 0.0157071389, -0.0234084688, -0.0384010263, 0.0092536416, -0.0092953155, -0.0386907272, -5.744221755e-33, -0.0384001173, -0.0812296942, -0.0364610031, -0.0591336265, -0.0159633532, 0.0044235149, -0.0209853426, 0.0168671831, 0.0530102961, 0.0323321633, 0.0342270508, -0.0362494253, 0.0304173157, -0.0396487713, 0.0389540419, 0.0162903424, 0.0315121375, 0.0101507334, -0.0596893057, -0.0019157344, 0.0290684532, -0.0274729878, 0.0796683729, -0.0744178072, 0.0939360037, -0.0166598763, -0.0642869249, 0.0097343009, 0.0456079282, 0.0397905223, 0.0313872471, 0.0237662233, 0.0279396493, -0.0164935999, -0.0121388016, -0.0253698248, -0.0617457405, 0.0049124681, 0.0074676825, 0.0622846968, -0.0380638726, -0.0000473945, 0.0279913507, -0.0514770038, -0.0542575531, 0.0168344248, 0.0258634109, -0.0535044149, -0.0015051462, -0.0346312188, -0.019106593, 0.0530529246, -0.0196154397, -0.0045036133, 0.0135510126, 0.074663192, -0.0305669084, -0.0246374477, -0.0778993964, 0.008216016, -0.0213222075, -0.0280041024, 0.0580183342, -0.0334267467, -0.0442053713, -0.0036233079, 0.0083492184, -0.0213664882, 0.0578580052, -0.0090191718, 0.026697563, -0.024135191, 0.0986507609, 0.0692869648, 0.0074468418, -0.0003786963, -0.0355137438, 0.0817732364, -0.0438625626, 0.0163358469, -0.0025322705, -0.0013124553, -0.0476180688, -0.0069253785, -0.052116394, -0.0328507908, -0.0318942741, -0.0359071642, 0.0053333589, -0.008908961, -0.0252823345, -0.0083513493, 0.0645355135, 0.016036056, 0.0100917201, -0.0338599533, -0.0113326125, 0.0455465801, -0.0184679255, 0.0105468528, 0.0340907015, 0.0004327037, 0.0042006918, 0.0467233434, 0.039125219, -0.0503075346, 0.0581138134, 0.0193788037, -0.0484530218, 0.045110248, -0.0056860391, -0.020532025, -0.024507463, 0.0039311652, 0.0129717784, -0.0448498689, -0.0143618966, 0.0343783759, -0.0141865984, 0.0368628502, -0.051086124, 0.0123820528, 0.0165624786, 0.0147418734, -0.0462043136, 0.0308694597, 0.0231242888, 0.0056253979, 0.0191813577, -0.0111203874, -0.0235221684, -0.0270203855, 2.616e-7, 0.0540059768, 0.0728961825, 0.0194917358, -0.0049724504, 0.0018901548, 0.0195657779, -0.0195354726, 0.0113438964, -0.0119305793, 0.0669828355, 0.0334672444, -0.0293784793, 0.0804672539, 0.0795793533, -0.0250299647, -0.0633010045, -0.0335444361, 0.0302436296, -0.0063377935, 0.0190699622, 0.1122173667, 0.0383982472, -0.005076481, 0.0121962968, -0.0101221157, -0.0301977675, 0.0490367226, 0.0127119273, -0.0049131103, -0.0129372217, 0.0787138864, 0.0223145224, -0.0178930033, 0.0200846717, -0.0151550323, -0.0252760686, 0.0533978492, 0.0617396384, 0.0020526461, -0.0245139804, 0.0188592374, -0.005651969, 0.0084571335, -0.0167688075, 0.0036273799, -0.0168786738, -0.0163818151, 0.0470570624, -0.0125660142, -0.0064536659, 0.0715268701, -0.010746222, -0.0298034754, 0.0258343555, 0.0385964811, 0.0081284055, -0.0266703963, -0.0289493296, -0.0310235862, 0.0105902087, 0.0128109409, -0.0727388039, 0.0182767455, -0.0014848405, -0.0055222157, -0.0184677187, -0.0010033321, 2.101279493e-34, 0.0626056492, -0.0476527885, 0.0195949245, -0.0288147405, 0.040933717, 0.0309209339, -0.0264920462, -0.0208966769, 0.0126808453, -0.0030800197, -0.0055735088 ]
http://arxiv.org/abs/2406.11577v1
http://arxiv.org/pdf/2406.11577v1
Mathematical Entities: Corpora and Benchmarks
2024-06-17T14:11:00
2024-06-17T14:11:00
Jacob Collard, Valeria de Paiva, Eswaran Subrahmanian
cs.CL
cs.CL, math.HO
Mathematics is a highly specialized domain with its own unique set of challenges. Despite this, there has been relatively little research on natural language processing for mathematical texts, and there are few mathematical language resources aimed at NLP. In this paper, we aim to provide annotated corpora that can be used to study the language of mathematics in different contexts, ranging from fundamental concepts found in textbooks to advanced research mathematics. We preprocess the corpora with a neural parsing model and some manual intervention to provide part-of-speech tags, lemmas, and dependency trees. In total, we provide 182397 sentences across three corpora. We then aim to test and evaluate several noteworthy natural language processing models using these corpora, to show how well they can adapt to the domain of mathematics and provide useful tools for exploring mathematical language. We evaluate several neural and symbolic models against benchmarks that we extract from the corpus metadata to show that terminology extraction and definition extraction do not easily generalize to mathematics, and that additional work is needed to achieve good performance on these metrics. Finally, we provide a learning assistant that grants access to the content of these corpora in a context-sensitive manner, utilizing text search and entity linking. Though our corpora and benchmarks provide useful metrics for evaluating mathematical language processing, further work is necessary to adapt models to mathematics in order to provide more effective learning assistants and apply NLP methods to different mathematical domains.
[ -0.0516245402, 0.0790956765, -0.0111315129, 0.0792892128, -0.0154766813, 0.0120888986, -0.0134730916, -0.0141890766, -0.0641542822, -0.0525188446, 0.0015422719, 0.0237931423, -0.0102621671, 0.0313428082, 0.0455649644, -0.0804189071, 0.00953406, -0.0096075581, 0.0133231925, 0.0175827965, -0.0178871881, -0.0144541273, -0.020851342, 0.0063286591, -0.0633318201, -0.0437367409, 0.0235919971, -0.0499161892, 0.0197263379, -0.0419303663, -0.018529471, 0.0299381763, -0.0198243782, 0.0193567034, 0.0000019968, -0.0593122318, -0.0356572121, 0.0050537298, -0.0385985263, 0.0082490742, -0.0049815048, -0.0479000919, 0.0148875555, -0.0492473766, -0.0786245912, 0.0320091732, 0.00386731, -0.0058758743, 0.049663417, 0.0644795075, -0.017890621, -0.0970586911, 0.0348776244, -0.0145214526, 0.0236944091, -0.0666071773, 0.0066072061, -0.017967755, 0.0333973132, 0.0414193869, -0.0318500251, 0.0511394739, 0.065072, 0.0116932793, 0.0545736589, 0.0020792007, -0.0258650519, 0.0137250228, -0.0031785381, 0.0613639392, 0.0029480609, 0.0021112782, 0.0471337698, 0.0160059333, -0.0145047931, 0.0392786413, -0.0426469557, 0.0144686271, -0.0243345927, -0.0080342516, -0.0094797788, 0.0145091824, 0.0272459183, 0.0037021614, -0.0407772176, 0.0667929277, 0.0089743994, -0.054711774, -0.0180320945, 0.0132631334, -0.0832344517, -0.0369236134, 0.0478379987, 0.0147950118, 0.089806661, 0.0322058275, -0.0544317514, -0.0884425268, -0.0404118523, -0.0565056168, -0.0234994199, 0.0438113622, 0.009826988, 0.0156914815, -0.0057169609, 0.0125470096, -0.0114203515, 0.0023943435, -0.0101040844, 0.0307078045, -0.0400621295, 0.0051667825, -0.0194572154, 0.0596192889, 0.0072479793, 0.0108295707, -0.0663631111, 0.004890806, -0.0354007259, 0.0209175367, -0.0165304989, -0.0523336232, 0.0000555942, -0.0124257905, -0.0501454249, -0.0578618348, -0.0514889434, -0.0312798023, -0.0244960822, -0.0324629284, -0.0246456265, 0.016926799, -0.0214287471, -0.045313973, 0.0006406754, 0.0839843974, 0.0863931328, -0.0219534039, 0.0190393236, -0.0331422798, 0.048572436, -0.0123723792, 0.001156843, -0.0750900432, 0.0496440306, 0.0145703526, -0.0195918921, -0.0441849753, -0.0009313127, 0.0404897556, 0.002909831, 0.0819636956, -0.0326303802, -0.0205551907, 0.060230311, -0.0143189486, -0.0168994255, -0.0074857529, 0.0652761832, -0.0468856022, 0.0499783047, 0.0046888413, 0.013092489, 0.0415831357, 0.0316828005, -0.0573494993, 0.0102178063, 0.0199064761, -0.0152519513, 0.050834734, -0.0088609587, 0.0444099866, -0.0441498272, -0.0569397211, -0.0572221428, 0.0833413824, -0.0230146889, 0.01122142, 0.0307509732, 0.0047746343, 0.0545390844, -0.012295424, -0.0551910214, -0.0080610728, -0.0016443449, 0.0198625922, 0.0017359752, -0.0092679029, 0.0244679023, -0.0652699843, -0.0310260914, -0.0251351949, -0.0199442841, -0.0380670056, 0.0712625906, -0.008939852, 0.0178638045, 0.0659274161, 0.0105313426, -0.025067335, 0.0035243088, 0.0195631292, 0.0003457298, -0.0081078392, 0.0322268568, -0.0562815554, -0.0103303771, -0.0230171587, -0.0014200838, 0.0553006269, -0.0185957197, -0.0128737343, -0.0155396396, -0.0277223699, 0.0197133161, -0.0060412767, 0.0219906475, -0.0096435808, -0.0030730981, 0.018625753, 0.0374815129, -0.0190157332, 0.0128645329, 0.0585617125, -0.0253978185, -0.0706944764, -0.0031230778, -0.0079937382, 0.0150215328, 0.0090749525, 0.0086860135, 0.0422524102, -0.0090927491, -0.0584974065, 0.0190839637, -0.0081811612, -0.025001511, -0.0422966518, 0.0454394668, -0.0634815767, -0.0077532246, -0.0017696272, -0.0456152894, 0.0007476383, 0.048202537, -0.0243421178, 0.0033893434, 0.0137003716, -0.0103568835, 0.041385714, -0.0072923126, -0.010188153, 0.0822027177, 0.0185900331, 0.0467323922, 0.004320635, -0.0104064588, 0.0185735989, -0.002024261, -0.0119411638, -0.0416755676, 0.0058224211, -0.0038978844, -0.0126463026, -0.0182008017, 0.0027740051, 0.0269527417, 0.0243444424, 0.0191582441, -0.0134895742, 0.0891001821, 0.0228654388, -0.0350562856, -0.0100496328, -0.0173482317, 0.0188587196, -0.0147654004, -0.0421838015, -0.0499912277, 0.0531576052, 0.0237826705, -0.0152199455, -0.0715852901, -0.0251689237, -0.0593707822, 0.0521421731, 0.0433861725, -0.0137086753, 0.0151547231, 0.0259402618, -0.0210384484, 0.0083773304, -0.0155677926, 0.0628459081, 0.010465038, -0.0197287742, 0.0228942838, 0.0471518897, -0.0193040315, 0.0554285347, -0.0285573676, -0.0256014373, -0.0522330105, 0.0036907902, -0.0091282418, 0.0702327192, -0.0302645434, -0.0030499732, 0.0655299053, 0.0841820315, -0.03460728, -0.0200950541, -0.0125293145, 0.0454373062, -0.0531841591, 0.0323437862, -0.0171227101, 0.017927343, -0.0213531069, 0.0254030656, 0.0145449694, -0.0337567255, 0.0341953598, 0.018759653, -0.0190567505, -0.0745001286, -0.0011183706, -0.0768591687, 0.0000257374, 0.0380915515, -0.0358763002, 0.0171644557, -0.0292929355, 0.0286937263, 0.045801919, 0.0161780268, -0.0023667449, 0.011461081, -0.0285100397, 0.0512276553, -0.0334123373, -0.0033042568, -0.0117743872, 0.0265560634, -0.0048658317, 0.0230185315, 0.0016810463, -0.0284783691, -0.0110599939, -0.0235917568, 0.0090976292, 0.0144765023, -0.0098261097, -0.0188127495, -0.0293698404, -0.0053400421, 0.0261497665, 0.007495455, 0.0203348864, -0.0435847081, -0.0180847887, 0.0000555369, 0.0275949668, 0.0101947831, -0.0237717666, -0.0267983731, -0.0284854081, -0.0873598903, -0.0495984331, 0.0190966744, -0.0596211925, -0.047845874, 0.0032220718, 0.0888811201, 0.0343344584, 0.0042731822, 0.0002171073, -0.0502684414, 0.0013966903, -0.0044299536, 0.0040358356, -0.1182750091, 0.000725087, -0.0015125133, -0.0022173699, 0.0432133004, -0.0386500247, 0.0374947377, -0.0844716802, -0.0167517178, -0.0182638019, -0.0193555243, 0.0016908976, -0.0275337361, 0.0046992591, -0.0141573818, -0.0304710846, -0.0132321939, -0.0257047005, 0.0616542585, 0.0213048905, -0.0235443022, -0.076011382, -0.032880716, -0.0557840914, -0.0456263907, -0.0174971893, 0.0393655375, -0.0480986312, -0.0316608734, -0.0169362128, 0.0401827544, -0.0313753635, 0.0032806462, 0.0114069255, -0.0393879786, -0.0183563791, -0.002282284, 0.0539656579, -0.078953959, -0.0166329462, 0.0371201709, 0.0625184998, 0.0085595697, 0.0506751463, -0.0427593254, -0.0186150856, -0.0414738022, 0.0563921444, 0.0155471722, 0.0130637372, -0.0384494998, -0.0244279504, 0.0228712838, -0.0452009551, -0.0325185545, -0.0266797561, 0.0249889512, -0.0019991649, -0.0533388183, -0.0520455465, 0.018006688, 0.0155103169, 0.0142265307, -0.0298490133, 0.045962058, -0.0079860669, -0.0308540091, 0.0669652149, -0.0160689931, 0.0248494763, -0.0211399421, 0.0242007878, -0.0057616234, 0.0528790094, -0.0601570532, 0.0230442993, -0.0678702295, -0.0436052717, 0.0033321499, 0.0340584666, 0.0096166646, -0.0114396252, -0.0282966234, -0.0081647802, -0.0153481439, 0.0669085681, -0.0763588175, 0.0204674937, 0.0357087851, 0.0340149663, 0.0107672466, 0.018316308, 0.0152969668, 0.0086946404, -0.0367685333, 0.0340329632, -0.0707449615, -0.0293693133, 0.0096687088, 0.0200454723, 0.0023555611, 0.018078221, 0.01438489, 0.0287167672, -0.0073266672, -0.0268546082, 0.0223043747, -0.026310781, 0.0056041041, -0.0039492785, 0.0297713447, -0.0179647375, -0.0026903101, 0.0400134698, 0.0266059246, 0.0258202031, 0.0726370662, -0.0076986784, 0.0186406206, 0.001004613, -0.0061203903, 0.061757274, -0.0348361842, -0.032572154, 0.0392524712, -0.0164211448, -0.0214098394, 0.035707742, 0.0257549267, -0.0084821358, 0.006615371, -0.0280998275, -0.0364440456, 0.017810978, 0.0260770731, 0.0255064666, 0.0251693279, 0.0125114638, -0.031358134, 0.0095194839, 0.0070137721, 0.0251843911, 0.0016718417, 0.0165035073, 0.0391736142, 0.0368817337, 0.013557435, -0.075013876, 0.0505546555, -0.0318039134, 0.0178425964, 0.0241996627, 0.0325733013, -0.031843666, 0.0137727996, -0.020428475, -0.010508527, 0.003715382, 0.0120436084, -0.0634002164, -0.0541233122, 0.0803754479, -0.0100526959, -0.0152435126, 0.0219492503, 0.0791254342, 0.0441099666, -0.0175237767, 0.019146774, 0.012063521, 0.044459559, -0.0500805117, -0.0698498338, -0.0455171615, -5.373732752e-33, -0.0485076271, -0.0172175393, 0.0165281799, 0.052525498, 0.0311250314, -0.0089638503, -0.022878902, 0.0147557613, 0.0018575224, -0.0099757751, 0.0178690385, 0.0283136033, -0.0065441118, 0.0034539001, -0.0013946024, -0.0144688264, 0.0112230927, -0.0283635538, 0.0025079842, -0.0586841963, 0.0256189629, 0.0508164987, 0.1160742268, -0.0656730533, 0.0425354019, 0.0032588039, 0.0415211767, -0.0081038913, 0.0251772329, 0.073128514, -0.0368504897, 0.0080360947, 0.0069311145, -0.0292114895, -0.0162069295, 0.0327635966, -0.0357761905, -0.0451777354, -0.0222558603, 0.0378174633, -0.0421005152, -0.0461934432, 0.0556046441, 0.0042522238, -0.0486086309, 0.0213731993, 0.0684232265, 0.0120695801, -0.0131735932, -0.019977266, -0.0684772506, 0.073577486, -0.0278020669, 0.0220162831, 0.0603765845, -0.0142441522, -0.0149714602, 0.022869112, -0.0196440332, -0.0255142003, -0.0026889208, 0.0203697328, -0.0263707079, -0.0705500916, 0.032962665, 0.038166333, 0.0114593096, -0.0388375744, -0.0085010119, 0.0291597359, 0.0606112331, 0.0577997677, 0.0503892675, 0.0132005904, 0.0695894584, 0.0499409474, -0.0377153084, 0.0120257605, -0.0139523586, 0.0259111747, -0.0385474451, -0.0041952413, -0.0517877936, 0.0348491296, -0.0170197673, -0.0018089748, -0.0174779054, -0.0199844334, -0.0067733335, -0.0433792062, 0.0041251821, 0.0671380311, 0.0068259318, -0.0232706945, -0.0362296067, -0.0201032199, 0.0213872585, 0.0140630687, 0.017931981, 0.0109103406, -0.0814157203, -0.0056994832, -0.0369233005, -0.0017011004, 0.0535250902, -0.0255905967, -0.0047623306, 0.0073392713, -0.005656912, -0.0147488695, -0.0016018219, -0.0256720353, 0.0038486763, 0.0812340826, 0.0376939289, 0.0695667416, 0.0089627262, 0.0367511287, 0.0137923202, -0.0030650517, -0.0296270512, 0.0618992187, 0.0127450936, 0.029010063, -0.0043117907, -0.0461335704, -0.0047118743, 0.0153592424, 0.039720118, -0.0782291219, 0.0137813995, 0.0047300425, 2.725e-7, 0.0544334687, 0.0525474325, 0.0357343033, 0.0183220692, 0.0031122051, -0.003285069, 0.0090360977, 0.0213205405, -0.0199211612, -0.0358163044, -0.0287637673, 0.0236658696, -0.0036695532, 0.0267875623, -0.1002574563, 0.0177387223, -0.0389715284, -0.0125128729, -0.0439181328, 0.0194089822, 0.049675256, 0.0649114847, 0.0435682759, 0.0299036261, -0.022976283, -0.0350001864, 0.0372773595, 0.0120085105, -0.003587849, 0.0210965779, -0.0006857972, 0.0214481726, 0.016200779, -0.0090140197, -0.0013778701, 0.0825771838, 0.0525305122, 0.0389856584, 0.0333636738, 0.0326362103, -0.0227403045, -0.0360070951, -0.0142013878, 0.0152466036, 0.0129371043, -0.0494317114, -0.0416180976, -0.0183060709, -0.0376654007, 0.0172958411, 0.0382482708, 0.0125347124, 0.0095476033, -0.0053113857, 0.0457187295, -0.0408896022, -0.0012485642, -0.0449426584, 0.0190064646, 0.0373211093, -0.0549035817, 0.0267298054, -0.0661802217, 0.0055370661, 0.0114540001, 0.022599807, -0.0351619981, 2.332563287e-34, 0.0204700921, -0.0163247269, 0.0247703996, 0.0784291551, 0.0061328709, -0.01077131, -0.0777277946, 0.0273981187, 0.001876532, -0.0452677086, 0.0268156808 ]
http://arxiv.org/abs/2406.11568v1
http://arxiv.org/pdf/2406.11568v1
Towards an End-to-End Framework for Invasive Brain Signal Decoding with Large Language Models
2024-06-17T14:04:18
2024-06-17T14:04:18
Sheng Feng, Heyang Liu, Yu Wang, Yanfeng Wang
cs.CL
cs.CL, cs.SD, eess.AS, q-bio.NC
In this paper, we introduce a groundbreaking end-to-end (E2E) framework for decoding invasive brain signals, marking a significant advancement in the field of speech neuroprosthesis. Our methodology leverages the comprehensive reasoning abilities of large language models (LLMs) to facilitate direct decoding. By fully integrating LLMs, we achieve results comparable to the state-of-the-art cascade models. Our findings underscore the immense potential of E2E frameworks in speech neuroprosthesis, particularly as the technology behind brain-computer interfaces (BCIs) and the availability of relevant datasets continue to evolve. This work not only showcases the efficacy of combining LLMs with E2E decoding for enhancing speech neuroprosthesis but also sets a new direction for future research in BCI applications, underscoring the impact of LLMs in decoding complex neural signals for communication restoration. Code will be made available at https://github.com/FsFrancis15/BrainLLM.
[ -0.0233428627, 0.1013709977, -0.0035263074, 0.0472812168, -0.0093076946, 0.0127013214, 0.0080745332, 0.0377478525, -0.0233069807, -0.0057880851, -0.013732871, -0.0415793285, 0.0715611801, 0.0882981494, 0.0632191077, -0.0103458781, 0.0548343882, -0.0530748554, 0.0028761935, -0.0402974896, -0.0071271299, -0.0064374618, -0.0832024142, 0.0540824942, 0.0309687443, 0.016926229, -0.0124565586, -0.0200589933, -0.0223752838, -0.020905612, -0.0604413301, 0.0298069809, 0.0297320988, 0.0122145368, 0.0000018923, -0.0075328331, 0.0245030764, -0.0109584751, -0.0788766146, -0.0183981247, 0.005292106, -0.0030031514, 0.0088082906, 0.0172521472, -0.0026963912, -0.0160997268, 0.052993279, 0.030848952, 0.0467850417, 0.0347994529, -0.0150969271, -0.0359984264, 0.0927741006, -0.0171535965, -0.0070320428, -0.018852029, 0.0331160463, -0.0588587448, 0.0039045648, -0.0166959595, -0.0388643965, 0.0460082404, 0.0209511928, 0.0179335251, 0.0388559923, 0.0250441823, 0.0236739982, -0.0460394584, -0.0571872517, 0.025805125, 0.0150743332, 0.0090500405, -0.0061710095, 0.0341079719, -0.0185393207, -0.0256652925, -0.0310408399, 0.0100074224, 0.0192159973, 0.0423448645, 0.0105853975, -0.0756230429, 0.045927532, 0.0009272053, -0.0685272962, 0.0631578863, 0.0188078117, 0.0090195173, 0.0417857468, 0.0059931022, -0.0266054589, -0.028579453, 0.0526521094, 0.0427384451, -0.0701519549, -0.0070057302, -0.0226273276, -0.0378022417, -0.0397843048, 0.0000049455, -0.0112529909, 0.0376589783, 0.0020236636, 0.0087534627, -0.0137179419, 0.0185247008, -0.0647677705, 0.007136527, 0.0058203023, -0.0377302319, -0.0116555048, -0.0263893679, 0.0248896591, 0.0239523556, -0.0581387393, -0.0471098162, -0.0254306607, 0.0143295964, -0.0079929279, -0.0241954848, -0.0029210495, 0.0134589113, -0.0063506081, -0.0368646868, 0.0007075877, 0.0710899606, 0.0368686765, 0.057632219, 0.0084630419, -0.0531635173, -0.0474342071, 0.0272518136, 0.0125896065, -0.0186679065, -0.0269221701, 0.0651699454, 0.0195795912, -0.0000649629, -0.034394972, 0.0120199192, -0.0304496083, 0.0201196335, 0.0342728496, -0.054804828, 0.0185578335, 0.0097840037, 0.0069219046, -0.0772641152, 0.0165608283, -0.037851546, -0.0247251969, 0.0386786088, -0.0633832365, 0.0073341425, 0.0519523285, 0.00588765, -0.0157259684, 0.0122657679, 0.0427041911, -0.0272883866, -0.0239870604, -0.0502472818, -0.0056793448, 0.0561739691, 0.039023798, -0.0155201629, -0.1067821234, -0.0535604209, 0.0184332505, 0.0294125844, 0.0311713088, 0.0592986532, -0.0231777895, -0.0185535941, 0.0682437569, 0.0713648573, 0.0047556944, 0.0298411977, 0.0075409748, -0.0072394097, -0.0129633183, -0.0380026996, -0.0226909257, 0.0243085604, -0.0206406917, -0.0090874014, 0.0050658165, -0.0024555824, -0.0085017914, -0.0158042032, 0.0201636106, -0.0408839844, 0.0030493797, 0.0576881766, 0.0866732448, -0.0199441053, -0.0099614263, 0.0387834981, 0.0149479005, -0.0292378776, 0.0579554997, -0.0654350743, -0.0072281449, 0.0289799031, 0.0196990576, -0.0120629389, 0.0014968998, -0.0229344815, -0.0207808334, 0.0734060779, -0.073823832, 0.0310785361, 0.0578985661, -0.0430864729, -0.0326562524, 0.069728829, -0.0102044512, -0.0121074459, -0.019744603, 0.0054133544, -0.0404429361, 0.0330534354, 0.0041366951, 0.0160244741, -0.044017937, 0.0072331545, 0.0085680783, -0.0023839804, 0.019237332, 0.0077860905, -0.0282962546, 0.0251782555, 0.0116620949, -0.0870399997, -0.0531514063, -0.0224411432, -0.0373388156, -0.035067793, 0.0284325704, 0.0253501292, -0.0050308653, 0.0385122709, 0.0078947572, -0.0551946051, 0.0254101232, -0.0562820919, 0.0702289343, -0.0518767759, -0.0062369485, 0.0041870782, 0.0084466357, -0.0235504508, -0.0083758254, -0.0217666496, -0.0276209451, 0.0228611398, -0.0342466608, -0.0093851052, -0.0608754493, -0.067897141, 0.0568535849, -0.0516289994, 0.0010702021, -0.010146617, -0.0182063356, -0.0211862903, -0.0236785058, -0.0788780004, -0.0317827389, 0.0177415516, 0.0293663293, 0.0033449868, 0.0264673941, 0.0115317283, 0.0177418832, -0.0164882187, -0.0171149131, 0.0181252845, -0.0037116827, -0.0189936385, 0.0251184572, -0.0335885435, -0.0017495988, -0.025220599, -0.0268842969, 0.0691548884, -0.0478871875, -0.0375045761, -0.0681535751, 0.0401807204, 0.0251964871, 0.0302386917, -0.0030328163, 0.0048922161, 0.0252968501, -0.0386785865, 0.0087424275, 0.0634910837, 0.0182555132, -0.0166387949, 0.0468054563, -0.0287748687, 0.0021423299, -0.0098472489, -0.0104171215, 0.000468743, -0.0647132769, 0.0030101696, 0.0141214952, 0.0489324406, 0.0471977852, -0.0095325112, -0.0456657223, -0.0044274861, -0.036937099, -0.0278566685, -0.0472668037, -0.0275412332, -0.0357385315, 0.0605506524, -0.0230028462, -0.0222466998, 0.0507198647, -0.0499681756, 0.0082425885, 0.0000957846, -0.0161391515, -0.0012767781, 0.0267425571, -0.0182250887, 0.00660278, -0.0518596135, -0.0452979431, -0.0148356594, 0.0134271393, -0.0579752326, -0.0326125398, 0.0182567667, -0.0393431596, -0.0149478614, 0.013701464, -0.0068944534, -0.0446204171, 0.0072013028, -0.018578779, -0.0037270053, 0.0247713402, -0.0012086105, -0.0183285289, -0.0162854735, 0.0387608744, 0.040137656, -0.0238256846, 0.0004128528, -0.0372320041, 0.0682078451, 0.0156635754, 0.0520986579, 0.009316083, -0.0320264064, -0.0021010695, 0.0459595472, 0.0280225463, 0.0658883676, -0.0770512521, 0.0108269574, 0.0309418198, 0.0280158333, 0.0267959032, 0.0397683457, -0.0004789566, -0.0235584415, 0.0105412314, 0.1183729619, 0.0006411636, -0.1171110943, -0.0076334276, -0.0125516821, 0.006886974, -0.0035048374, -0.0092106154, -0.0440849736, -0.0185341854, 0.0133751333, 0.0179385711, 0.0116925547, 0.0269112624, -0.0270721894, -0.0510533936, 0.0216665957, 0.0179108381, 0.0034135871, -0.0257283915, -0.0526857153, 0.0122778285, 0.0153084667, 0.0440719128, 0.0322926193, -0.0039481181, 0.0005733841, 0.0099399947, -0.0109039238, -0.0726538524, 0.0176017098, -0.0093228593, 0.1166324466, 0.0760408863, -0.0045547439, -0.0479029156, 0.0193409957, 0.0364801139, 0.0043547614, -0.0369496271, -0.0049190572, 0.0140329413, 0.0387374721, -0.0251881331, -0.0026568405, 0.0638369247, -0.054945033, -0.0472575612, -0.0197596718, 0.0746828243, -0.0585248061, -0.0017320091, 0.0040880945, 0.0021162697, 0.0186499003, 0.0473605841, 0.0493934453, -0.0922071561, 0.0178126357, 0.0036081367, 0.0017689181, 0.0337107964, -0.0581805483, 0.0160707589, 0.0420152098, -0.0406752788, -0.013046586, 0.0289231651, 0.0281394441, 0.0210939627, 0.0440190956, 0.0646842942, 0.0875959694, -0.0046818848, -0.0063696629, 0.0280301515, -0.0048783883, 0.0165636577, -0.0567129105, 0.0422747284, 0.0008397318, -0.0323457383, -0.0320036709, 0.0346200205, -0.0414204523, -0.0509852581, 0.0401018858, -0.0245084409, 0.026383318, 0.012014064, -0.0266750716, -0.0649606586, 0.0361823328, 0.0352626331, -0.025616888, 0.070696339, 0.0233116597, 0.0298121516, 0.019477943, 0.0345671996, -0.0334782898, 0.0127107939, -0.0274606347, 0.0468482003, 0.0046166535, 0.0035822538, 0.0185149889, 0.0337462351, 0.0618115216, 0.0060116695, 0.0493829958, -0.0141507555, 0.027328603, 0.0085656513, 0.0818083808, -0.030888088, -0.0071020653, 0.0560208559, -0.0057786191, 0.0123913996, -0.0469461605, 0.0155468583, -0.022606492, 0.0037916475, 0.0206775405, -0.0356714241, 0.0051897829, 0.0128795141, 0.016435042, 0.0015867397, 0.0287408512, -0.0190211218, 0.00533592, -0.043633908, 0.0601876788, 0.035509374, -0.0420388393, -0.0405730605, 0.0301189385, -0.0122561343, -0.0746222064, 0.0718721449, 0.0111769764, 0.0075689415, 0.0582627989, 0.0148394024, 0.0024969412, 0.0172895715, -0.0305069853, 0.052304294, -0.033766076, 0.0326631404, 0.0403028429, 0.0171936229, 0.0050709411, -0.0201419219, -0.0027242976, -0.0071944571, -0.0066665919, -0.0107074194, 0.0398426093, 0.0009306041, -0.0618077554, -0.0326018669, -0.0189054087, -0.068738617, 0.0164456423, -0.0053796275, -0.0587040037, 0.0052050729, -0.0029960799, 0.0129459752, -0.0551714003, -0.0094171539, -0.0041306, -0.01574523, -0.0059842044, 0.037563283, -0.0101009877, 0.0033231159, -0.0833772942, -0.0135325417, -6.207186165e-33, -0.0129815927, -0.0106344754, 0.0207321066, 0.0028772794, -0.0406731404, 0.0080364347, -0.0483057238, 0.0365614444, 0.0195590686, -0.0232204925, -0.0311820731, 0.011279867, 0.0141654555, 0.0665649474, 0.0102522671, 0.0259751044, -0.0070392806, -0.0192446895, 0.022283107, 0.0079869889, 0.0442274213, 0.0392844155, 0.0473204404, -0.0458166152, 0.0020843905, 0.0292087011, 0.0020823223, 0.0151849193, -0.0194452424, 0.0123748658, -0.0724441037, 0.051727429, 0.0382421799, -0.0067812903, 0.0083473288, 0.022189118, -0.037921913, 0.0371347927, 0.0237057675, -0.0395747088, -0.0640476122, -0.0343579873, 0.0766927674, 0.0086658448, -0.0063802665, -0.0022823422, 0.0065084621, -0.0495897792, 0.0026331877, 0.0168668348, -0.0039529749, -0.0162656959, -0.0174600277, 0.014020022, 0.042277012, 0.0105315614, -0.066272825, 0.0303124376, -0.0509245843, 0.0162942745, 0.0163627099, 0.0436054878, 0.0244568791, -0.0206868034, 0.0222256389, 0.0533922054, 0.0795604214, -0.0210767407, -0.0367368199, -0.0358772799, 0.0779969245, 0.0594059937, 0.05374562, 0.0022264661, 0.0200823788, -0.0448989086, -0.060776893, -0.0198681951, 0.0031030416, 0.03960751, 0.0400056653, 0.0084336735, -0.0051277382, -0.0103533668, -0.0608248562, -0.01139862, -0.0288126655, 0.0177497938, 0.0345585383, -0.0370135903, -0.0177333429, -0.0410064496, 0.0583033226, -0.0308612846, 0.0373424254, -0.0078317458, 0.0084120203, 0.0162222311, 0.0190463681, 0.0262907892, -0.0126232887, -0.0087385699, 0.0151980752, -0.0172881577, 0.0341417603, -0.0322631858, -0.0753565654, 0.0423235595, -0.0156725366, -0.0323753059, -0.0336283594, -0.0077023106, 0.0226532519, 0.0062176781, 0.043852821, -0.0112219304, 0.0067403214, -0.0136391884, -0.071116209, 0.0301388353, -0.016432358, 0.0019225341, 0.0272949226, 0.0423042066, -0.0171543341, 0.0054880185, -0.0049879691, 0.0206519645, 0.0494290255, -0.0433626771, -0.0269289128, 0.0108538847, 2.746e-7, 0.0099331932, 0.0282057133, 0.0298498459, 0.0371498689, 0.056451939, 0.000432438, -0.0298966896, 0.0003987366, 0.0194543358, -0.053667739, -0.0439145416, 0.0735939369, 0.0607583188, -0.0343901254, -0.0230191946, -0.0411207564, -0.0386951789, -0.0054348684, -0.045050282, -0.0028075015, 0.048829671, 0.0274957418, -0.0203451458, -0.0475233272, 0.0563285537, 0.020117199, 0.0522393323, -0.0331159756, 0.0152088497, -0.0184814725, -0.0212441329, -0.0463983454, 0.0367078148, 0.051144246, 0.0271146297, 0.0342669338, -0.0280365292, 0.0489616469, -0.0565881319, -0.0416546799, 0.0094134351, 0.0414978601, -0.0247698352, -0.0175823234, 0.0317417383, -0.0529924594, -0.0544524305, -0.0525581241, -0.0236951038, -0.0084034847, 0.0279954374, -0.0327149406, 0.0082261274, -0.0576186664, -0.0337882787, -0.0146822995, 0.0152177066, -0.0238104332, 0.006108948, 0.0553452969, -0.0991966799, -0.0161124878, -0.0244195592, -0.0015430392, 0.0157868862, -0.0496164821, 0.0141906068, 2.203353728e-34, -0.017844703, 0.0025896584, 0.042042762, 0.0474912785, 0.0105584869, -0.032130558, 0.012839119, 0.0118920803, -0.0337147154, -0.0980196893, -0.0542417429 ]
http://arxiv.org/abs/2406.11566v1
http://arxiv.org/pdf/2406.11566v1
MEMLA: Enhancing Multilingual Knowledge Editing with Neuron-Masked Low-Rank Adaptation
2024-06-17T14:03:50
2024-06-17T14:03:50
Jiakuan Xie, Pengfei Cao, Yuheng Chen, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL
Knowledge editing aims to adjust the knowledge within large language models (LLMs) to prevent their responses from becoming obsolete or inaccurate. However, existing works on knowledge editing are primarily conducted in a single language, which is inadequate for multilingual language models. In this paper, we focus on multilingual knowledge editing (MKE), which requires propagating updates across multiple languages. This necessity poses a significant challenge for the task. Furthermore, the limited availability of a comprehensive dataset for MKE exacerbates this challenge, hindering progress in this area. Hence, we introduce the Multilingual Knowledge Editing Benchmark (MKEB), a novel dataset comprising 12 languages and providing a complete evaluation framework. Additionally, we propose a method that enhances Multilingual knowledge Editing with neuron-Masked Low-Rank Adaptation (MEMLA). Specifically, we identify two categories of knowledge neurons to improve editing precision. Moreover, we perform LoRA-based editing with neuron masks to efficiently modify parameters and facilitate the propagation of updates across multiple languages. Experiments demonstrate that our method outperforms existing baselines and significantly enhances the multi-hop reasoning capability of the edited model, with minimal impact on its downstream task performance. The dataset and code will be made publicly available.
[ 0.0402902626, 0.0338654332, -0.0261600204, 0.0625290051, -0.0208137315, -0.0042062113, 0.0238259267, -0.0359666012, -0.0062187053, -0.039893385, -0.0721483827, -0.0358757637, 0.0221996922, 0.0131004518, 0.0466017611, -0.0284861252, 0.0704333112, -0.0450707786, -0.0291987453, -0.0156748928, -0.0237627905, -0.0009745953, 0.0209348164, -0.0065815183, 0.0257870499, -0.0359333269, -0.0093851471, -0.0042387983, 0.0300066005, 0.0308784507, 0.0046397797, 0.0602273643, -0.0195785835, 0.0689249262, 0.0000021511, -0.0446643345, -0.0281315502, -0.0015145204, 0.003257192, 0.0114657097, 0.0015485989, -0.0442097746, -0.0499481075, -0.0396067686, -0.0069887689, 0.0372425541, 0.0723699704, 0.0132636717, 0.0711304843, 0.0978882164, 0.0048547443, -0.0050721592, 0.0176373981, -0.0533417277, -0.0039057166, -0.0071296534, 0.0424954742, 0.0132483141, -0.0751793087, -0.0127004031, -0.0363017358, 0.0513085835, 0.0045383, -0.0396813154, -0.0131414551, -0.0137847988, -0.0303084552, 0.0069645452, 0.0107289748, 0.0448435359, -0.0521337874, -0.0105792545, -0.0256482232, 0.0020935028, 0.0259864237, -0.0539762303, -0.0321230255, -0.0115673319, 0.0448011495, 0.0068056015, 0.006608516, -0.0970919356, 0.0616635829, 0.0056600231, -0.0084382081, 0.0763952285, 0.052122876, -0.0257613808, -0.0291111153, -0.0244979709, -0.0095094861, -0.0572054908, 0.0005957385, 0.0292671397, -0.0371264257, 0.0181703903, -0.0376509055, -0.0491472892, 0.0018776839, -0.0624737218, 0.0609896183, 0.0435564891, 0.0098304199, 0.0570619293, -0.0442661457, 0.0237765964, 0.0044947872, 0.0211288817, -0.0047970908, -0.0101788482, -0.0325797051, -0.0060812184, -0.0146869803, 0.0303110108, -0.0656968504, 0.0380577222, -0.0385457724, 0.0111883357, -0.026194185, 0.0200422704, -0.0171003006, -0.0221318863, -0.0161542203, -0.0356668606, -0.0195187181, 0.0587226599, 0.0032654323, 0.020588493, -0.0108968392, -0.0126463585, -0.0168496352, -0.0142611051, 0.0117328502, -0.0582531318, 0.0352612026, 0.0569500513, -0.0548442043, -0.0105833998, -0.0507429652, -0.0249487963, 0.0021032523, -0.0511747748, 0.0129119819, -0.0640686378, 0.0719813481, -0.0307157729, -0.0198436975, -0.0679524988, 0.000649719, -0.011601327, -0.0349508412, 0.0740385577, -0.0300404336, -0.0062277489, 0.0508479364, 0.0172393732, -0.0705532432, 0.0565985255, 0.035585057, -0.0235779732, 0.0669245571, -0.0098200459, -0.0416805223, 0.0595040098, 0.0143865012, 0.0220561605, 0.0137556354, -0.0043202983, 0.0123479804, 0.036133036, 0.0529961027, 0.0189567544, -0.0320319571, -0.0071619195, 0.0904068872, -0.0090065598, 0.034039367, 0.0357154123, 0.0066466499, -0.0669750646, -0.0033519987, -0.0376655757, -0.0238600653, 0.0437527597, -0.029778149, 0.0073092384, 0.0084641837, 0.0398698673, -0.0110357599, -0.0338065326, 0.0150730638, 0.0260843337, 0.0268039573, -0.0147225726, 0.0375368223, 0.0083987154, -0.0141352816, 0.040931385, 0.0273730922, -0.0269632861, 0.0243622176, -0.0311670154, -0.0053152521, 0.0407520272, 0.0307718571, -0.0383844562, -0.0752012804, -0.0260242913, -0.0278422646, 0.0354877636, 0.0398445353, -0.0218308996, 0.0333316997, -0.0320978835, 0.0002206316, -0.0666786581, 0.0143209007, 0.0380932204, 0.0193595774, 0.0061918972, 0.013297433, -0.0165981986, -0.0134193599, 0.0041882903, -0.0604727641, 0.0059267958, 0.0208494645, 0.0154095981, 0.0044860495, -0.0145925218, -0.0062901247, -0.0155906249, -0.0364447124, -0.0406892672, -0.0056486959, -0.0152115328, -0.0085493801, -0.0590214916, 0.0883795395, -0.0030798314, -0.0344128683, 0.0587267578, -0.0414939746, -0.0282092728, 0.0180473533, -0.004475032, 0.0290339608, -0.0434497148, 0.0157391857, 0.0142956888, -0.0055446988, 0.0068294536, 0.0278018285, -0.0010393487, 0.0191175248, 0.0309949126, 0.0107047139, 0.0146126673, -0.0310978424, -0.0492568649, 0.0432967879, 0.006590765, -0.0055690724, -0.0131203411, 0.0226102639, -0.0252509154, -0.0158034582, -0.0650489181, -0.0147218108, -0.0140880402, 0.005450042, 0.0366241299, 0.0085773692, -0.0014525122, -0.0124613047, -0.0387993827, 0.0079039251, -0.007727779, 0.0503764302, 0.0370383933, 0.0256986935, 0.008641935, -0.0547881275, -0.0091965953, 0.0147138378, 0.0525400229, -0.0195447318, -0.0389163308, -0.052576758, 0.0226985198, -0.0935765505, 0.0213960204, -0.0107439077, -0.0248873401, -0.0432255752, 0.0094924513, 0.0840542614, 0.0345571786, -0.0469473712, -0.0250548851, 0.086577177, -0.0312719159, -0.0006677818, 0.0220028162, 0.0135359392, 0.0200637896, -0.0363119654, -0.0199456923, 0.0038537616, 0.0546749979, -0.0080633275, -0.0751757026, -0.0360953398, 0.019911781, -0.0038729103, -0.0389797278, -0.0749762207, 0.0053334613, 0.0028269009, 0.0190224331, -0.0678438917, 0.0006133237, 0.067725122, -0.0082741613, 0.0022928587, -0.0386792272, -0.0028288157, -0.0249134991, 0.0403762199, -0.0205332898, 0.064849183, -0.0709988028, 0.0059856786, -0.0872051492, -0.0056851543, 0.020500971, -0.001448515, 0.0410493277, -0.0706577152, 0.0003967909, -0.0306808744, -0.0389026403, 0.0166877154, 0.0243494902, 0.0090165818, 0.05513677, 0.0482707471, -0.0264302902, -0.016633071, -0.0133779068, 0.0565515719, 0.1080757603, -0.0093452632, -0.0055957795, -0.0244321767, 0.0022753128, 0.038105581, 0.0406586491, 0.0331883729, -0.0121676456, 0.0458488986, 0.0340935253, 0.0161993243, -0.0699155256, 0.0072088833, 0.0433174334, 0.0004745781, -0.0603154898, -0.0127848666, -0.0410260037, 0.0498448722, -0.0432942696, -0.000075196, 0.0762002468, 0.0291529745, -0.0449123681, 0.017815236, -0.0964718238, 0.0004200908, 0.0497484952, 0.0667155907, -0.0805552751, -0.0031805688, 0.0330169685, -0.0097346622, 0.0161896944, -0.0527939759, -0.0076881694, -0.0990698189, 0.0051275818, 0.0222012177, -0.0639659911, -0.0544212647, -0.0255204588, 0.0025348603, 0.0187131967, 0.0160611868, 0.0263980832, 0.0319903903, -0.0404578783, -0.0441058762, 0.0236370079, -0.0334997512, 0.0291402005, -0.0104133943, 0.0559656993, 0.0070208353, 0.0352593921, -0.0172067992, -0.0248173364, 0.0271421019, 0.021006722, 0.0046866094, -0.019438006, 0.0099970018, 0.0307684261, -0.0173265729, 0.0309862942, -0.0048080985, 0.0139983986, -0.034597937, 0.0200655889, 0.0908833221, -0.0035583342, 0.0182056017, 0.0387942307, -0.0402531438, -0.0263074376, 0.0301196743, 0.0132548315, -0.0101631386, 0.0194981694, -0.0407731608, -0.039899867, -0.0408629216, 0.0024525323, -0.0049259705, -0.0615181662, 0.0328805633, -0.0552753992, -0.0578575358, 0.0461610965, -0.0246623661, 0.0538768545, 0.0108257132, 0.0048325458, -0.0295673981, -0.015654793, 0.0114095584, -0.0427214168, 0.0076515931, -0.0474320799, 0.0033707167, -0.0030030063, -0.0497687869, -0.015841281, -0.0079879994, -0.0285862014, -0.0547603853, -0.0038400267, 0.0716056079, 0.0081032617, 0.0487783365, 0.0145268636, -0.047336407, 0.0296156481, -0.0087975375, 0.0040501659, 0.052811645, 0.0201433804, 0.0093867332, -0.0198583454, 0.0556900278, -0.0564331524, 0.0011196106, 0.0516033322, 0.0625494346, -0.0207936168, 0.0019264404, -0.0038938494, 0.0299856476, -0.0121244891, 0.0330665112, -0.0165850278, -0.0732794106, 0.0759434626, -0.0512657724, -0.0217874181, -0.0094678821, 0.0039283717, 0.0004581452, -0.0198647454, -0.0179000031, 0.0230532829, 0.0385352969, -0.0137394778, -0.016343439, -0.0427053571, 0.0161209963, 0.0081001855, 0.0347547606, 0.0313012637, -0.0322317593, 0.0240167119, 0.0081771724, 0.0157095194, -0.0364184603, -0.0073122978, 0.0138236908, -0.0449744985, -0.0602820478, 0.04026917, -0.0311424434, -0.0334155299, -0.0108721741, -0.0129474476, 0.0776837841, 0.0403205939, 0.0575005859, -0.0167691801, -0.0594452024, -0.0028393611, 0.0144526418, 0.0447847545, -0.0152530344, 0.01857052, -0.0098652514, 0.0240311176, 0.0276991092, 0.0578138977, -0.0107153365, 0.0963403657, -0.0228658784, -0.0062316228, -0.0459827408, -0.0203765463, -0.0038817707, 0.0171621144, -0.0382561237, -0.0373297185, -0.0168270096, -0.0819057524, 0.0046375492, 0.0222205129, -0.037475992, 0.0401139073, -0.0222002156, 0.0629846528, 0.0172441993, -0.0121250059, -0.0185154527, -0.0017679315, 0.0088946875, -0.0076613966, 0.0175646674, -6.146602655e-33, -0.0207472164, 0.0205765925, 0.053376969, 0.010886509, -0.0155184269, -0.0214291643, -0.0275121704, -0.0038619435, 0.0010008332, 0.0166134499, -0.0190115459, 0.0017417171, -0.0183713045, 0.0038756044, 0.0116160521, 0.0345812067, 0.061990153, 0.0352884941, -0.0094751883, -0.0032767195, 0.033903487, 0.0423213504, 0.0904599801, -0.0013196274, 0.0667218938, 0.0435698889, -0.0061998181, 0.0362372547, -0.0674292967, 0.0288822167, -0.0291649401, 0.0347509235, 0.0249509383, -0.0274967458, -0.0343728289, -0.0452734903, -0.04566627, -0.0256476216, 0.0312156472, 0.0410353653, -0.0033497096, -0.0725637674, 0.0384182334, 0.0165022556, -0.0012822945, -0.0194438882, 0.0108401524, -0.059231814, 0.0091564702, -0.003552801, -0.0716726333, 0.0117818415, 0.0195656884, -0.0040883659, -0.0016704547, 0.0297672059, 0.0052050138, -0.0183043964, -0.1441615522, 0.0040729679, 0.0056091934, 0.0676758066, 0.0660729185, -0.0099181589, -0.021167567, 0.0296344347, 0.0148148639, 0.0240228344, 0.0304854438, 0.0105771925, 0.0137185585, 0.0132991318, 0.0498877913, 0.0604833998, 0.0059256847, -0.0132085802, -0.0856592804, -0.0105761774, -0.0514724627, 0.0299669877, -0.0205238126, 0.0287934858, 0.0315561965, -0.0012860609, -0.056176573, -0.0061718104, -0.0613891408, -0.0211848915, 0.0125560351, 0.0009092788, 0.0010690801, 0.0137912044, 0.0149261765, -0.0118942894, 0.0058683096, -0.0059180562, 0.0002767594, 0.0397632346, 0.0149634434, 0.0023947638, -0.0241130833, 0.0116138011, 0.0042355959, -0.0243594497, 0.0136283953, -0.0063435193, 0.0716335624, 0.037601728, -0.0589947924, 0.0256516486, -0.020799147, 0.0325807855, 0.0077563273, 0.0252478626, -0.0252939612, -0.0333403572, -0.0012656398, 0.0079658823, 0.0804326013, 0.0118944375, 0.0221449807, 0.028685458, 0.0040357541, 0.0439591222, -0.0130713321, 0.0190007351, -0.0253089666, 0.0288278665, 0.0154517051, -0.0465617925, -0.0160226692, -0.0045945798, 2.902e-7, 0.0453309231, 0.0535671487, -0.0135446228, 0.0038734765, 0.0274512451, 0.0208586212, -0.0456002504, 0.0107860323, 0.0089060375, 0.0216713678, -0.0054627643, 0.0124779446, 0.0037082224, 0.0454907604, -0.0357293226, -0.0132613201, -0.0248880126, 0.007140222, -0.0450614654, -0.0437309593, 0.0062022698, 0.0497355163, 0.0115512982, -0.0215579253, -0.0144190649, -0.0356976651, 0.0927161276, -0.0205548815, -0.0258787815, 0.0000167094, 0.0579241849, 0.0127563579, 0.0134156765, 0.0241554938, -0.032949239, 0.0176748987, -0.0217343997, 0.0546738505, -0.0391022265, 0.0197588857, 0.0151678389, 0.0195068773, -0.0277102031, -0.0715618879, 0.0659271404, -0.0258227829, 0.0102738682, 0.015910672, -0.0182544477, 0.0143446922, 0.0409745947, -0.0711587816, -0.0122636231, -0.0104720732, 0.0274009723, 0.0447571576, -0.0257566404, -0.0456687883, -0.0508486107, 0.0071086292, 0.0125709726, -0.0549153984, -0.035006579, -0.0650930479, 0.0289130192, -0.0767730922, 0.0149022508, 2.410090124e-34, 0.0001922837, 0.0165837128, 0.0249079242, 0.0268703103, 0.047212664, -0.0306974296, -0.0175986234, -0.0110002337, -0.0155658731, -0.0680396706, -0.0460618213 ]
http://arxiv.org/abs/2406.11565v2
http://arxiv.org/pdf/2406.11565v2
Extrinsic Evaluation of Cultural Competence in Large Language Models
2024-06-17T14:03:27
2024-06-19T05:18:56
Shaily Bhatt, Fernando Diaz
cs.CL
cs.CL, cs.CY
Productive interactions between diverse users and language technologies require outputs from the latter to be culturally relevant and sensitive. Prior works have evaluated models' knowledge of cultural norms, values, and artifacts, without considering how this knowledge manifests in downstream applications. In this work, we focus on extrinsic evaluation of cultural competence in two text generation tasks, open-ended question answering and story generation. We quantitatively and qualitatively evaluate model outputs when an explicit cue of culture, specifically nationality, is perturbed in the prompts. Although we find that model outputs do vary when varying nationalities and feature culturally relevant words, we also find weak correlations between text similarity of outputs for different countries and the cultural values of these countries. Finally, we discuss important considerations in designing comprehensive evaluation of cultural competence in user-facing tasks.
[ 0.0252096821, 0.0090083191, -0.0394770205, 0.0094553549, -0.0305959508, 0.0208314694, 0.0597488135, -0.0324897878, -0.0066278172, -0.0128698312, -0.046811264, -0.0708518699, 0.0113166589, 0.046010267, 0.0058204406, -0.0238108281, 0.0096894549, -0.0083576953, 0.0216879547, -0.0110970633, 0.0187734924, 0.0487849079, 0.0195589662, 0.0785308331, -0.0141512724, -0.0074926754, 0.0269838888, -0.0145979179, 0.0536094606, -0.0036862395, 0.0159307718, 0.0223210771, -0.0197814293, 0.0181762595, 0.0000020405, -0.0596230216, 0.0022317972, -0.0297630467, 0.0186150763, 0.0125916973, 0.0666890144, 0.0443466417, -0.0165265929, 0.0165838283, -0.0369568169, 0.0226384345, 0.0434185788, -0.0020993839, 0.0124097271, 0.012466806, 0.00544438, 0.0601624995, -0.0496445186, -0.002902129, -0.0232324302, 0.0241360888, -0.0286350455, 0.0406852178, 0.0230710469, -0.004015326, 0.0025643122, 0.0504414923, 0.0336959325, -0.0050049135, -0.0257140156, 0.0169915315, -0.0038290415, -0.0110615268, 0.0286660064, 0.0400451608, 0.0644219816, 0.0112940297, -0.0010108368, -0.003024397, 0.0040773619, 0.0171142258, -0.0227761883, 0.0500959158, -0.0024048989, -0.0155202886, 0.0390188731, -0.0016361591, 0.0103568071, 0.0364959985, 0.0424596891, 0.0680214912, 0.015255522, 0.0107710194, -0.0725157931, -0.0054220459, -0.006243777, -0.0842006654, 0.0436149426, 0.0284803566, -0.051909633, 0.0095803896, -0.020605484, 0.016610384, 0.0118176294, -0.029566234, 0.0218276829, 0.0553723238, -0.0235092137, 0.0027434635, -0.0112833092, 0.0625537559, -0.0152838873, -0.0209296476, -0.0381125472, -0.0285228323, -0.0125023965, -0.0347202681, 0.0275485441, -0.0185197107, -0.0171429832, 0.0023673966, -0.0448421948, 0.0361388735, -0.0060690022, 0.0168496408, -0.0221570842, -0.0067341211, -0.0421911106, -0.0031681713, -0.0254200939, 0.0558761247, -0.083987318, -0.0280015171, 0.0093498603, -0.0594164468, 0.0374890119, -0.0030197559, -0.0175911803, -0.0239884388, -0.0142779881, 0.0075677456, 0.002039833, 0.0164644271, -0.0242896061, -0.0348465033, -0.0023609025, -0.056542296, -0.0099709611, -0.089805752, 0.0142498659, 0.0398257375, 0.0013239175, -0.0582633428, 0.0177891068, 0.0439129733, -0.0013578758, -0.0060664024, 0.023803914, 0.0320309848, 0.0873443484, 0.0119284401, -0.0230727419, 0.0541918874, 0.0408063121, 0.0179825407, 0.0585676841, -0.0145344408, -0.0142383762, 0.0499167107, -0.0349867903, -0.0248621665, -0.0447161347, 0.0268874876, 0.0294098891, -0.0018225049, 0.0212713145, 0.053563457, -0.0121667683, 0.0356318802, 0.0495249778, 0.0688350648, -0.032930214, 0.003325212, 0.1018412337, -0.0282170177, -0.0358958282, 0.0624122359, -0.0264646783, 0.0312757082, -0.0068219965, 0.0100501943, 0.0128995795, 0.0887670368, -0.04766839, -0.0456635281, -0.0022592312, 0.0115500651, 0.032304015, 0.0180301238, 0.011326042, 0.0070444979, 0.0190296471, -0.0018624839, 0.0169242118, -0.0886210576, 0.0228098501, -0.0221400596, 0.0617363453, 0.084927544, 0.042032592, 0.0123583386, 0.0113331862, -0.0093462616, 0.0118421651, 0.0437745377, 0.0623045564, -0.0234482456, 0.0032601519, -0.0378826074, -0.0046927365, -0.0066151735, -0.0245535728, 0.0280085746, 0.0333813131, 0.0498570427, 0.0376123041, -0.0192694869, -0.0406386368, -0.0106521118, -0.1024263352, -0.0089344708, -0.0134009309, 0.0104538184, -0.0276513547, 0.0402832106, -0.032102488, 0.0051608253, -0.0300047435, -0.0247700009, -0.0133075593, 0.0412974022, -0.0758356676, 0.0004387714, 0.0123875104, -0.046140641, -0.0029348622, 0.0164650157, 0.0461874157, -0.0292091072, 0.0373007096, -0.0158195142, -0.0280411579, -0.0522669107, -0.0091652153, -0.021945782, 0.0012590868, -0.027702447, 0.034714058, -0.0214272682, 0.0386896357, 0.0003009844, -0.0127532668, 0.0154477526, -0.0203227419, -0.0511256866, 0.0544675142, -0.0005579719, -0.0041821115, 0.0621752813, 0.014474283, -0.0305359848, -0.0062170592, -0.103620775, 0.0072540636, -0.0276138168, 0.0131421657, 0.0502157211, 0.0424571037, -0.0238400623, -0.0019749834, -0.0924916565, -0.032650508, 0.0828551054, 0.050687246, 0.0319793895, -0.0140829077, -0.0058469502, 0.008522558, -0.0134907467, 0.0162043534, 0.0355467014, 0.0044873264, 0.0222570114, -0.0491822027, -0.020576667, -0.0814136937, -0.0339504033, -0.0073874849, -0.0466701649, 0.0215947926, 0.0354175605, 0.0891309679, 0.0208031628, 0.0190024655, -0.0142890075, 0.0390006192, -0.0240667053, -0.0188547485, -0.0259245187, 0.0047823596, 0.0325178728, 0.0289016329, -0.1077271104, 0.0095559731, 0.0573189221, 0.011774065, -0.003859112, -0.0186302196, 0.0366207957, -0.0792231858, -0.0490686633, -0.0108510768, -0.0278094877, 0.0017431474, 0.0630333871, -0.0286886562, -0.0427369401, 0.0655134171, -0.0305102877, -0.0081282062, -0.0179491267, -0.0156168891, -0.0415835306, 0.053805057, -0.0265519489, 0.0728739277, 0.0074227909, -0.0239444766, -0.0552874245, -0.0029717472, 0.0354754031, -0.038234245, 0.0167914983, -0.047033038, -0.0518803932, -0.0041620778, -0.0243681781, -0.041042719, 0.0133872461, 0.0250040255, 0.0335228108, 0.0318458863, -0.0058989027, 0.0379251838, 0.0049350373, 0.0906587318, 0.006616469, -0.0470974073, 0.0178314894, 0.0032894381, 0.0424978249, 0.0607509278, 0.0178192109, 0.0346636437, -0.0493071489, 0.0341058262, -0.0032771453, 0.044323951, -0.044301223, 0.0399953872, 0.0056026815, 0.0396156013, -0.0128077706, -0.0546413623, 0.0347137563, 0.1054766476, -0.0399137512, -0.0016724722, 0.0812642351, 0.0317357183, -0.0054326449, 0.0059909699, -0.054608278, 0.0210093316, 0.038868092, 0.0460110344, -0.0731312409, 0.0312633961, 0.012858307, -0.0020792442, -0.0593587644, -0.039902743, -0.0330564119, -0.1000029072, 0.0279276259, -0.00586741, -0.0613423586, -0.0239530001, 0.0164005179, -0.0215990208, 0.0393608026, 0.0357437916, -0.0102102384, -0.0094209751, 0.0034605006, -0.0040464355, -0.0323838666, -0.0490329489, 0.0216202233, -0.0381122679, 0.0303726941, 0.0727784932, 0.0294368956, 0.0148717202, -0.0548889935, -0.0226009972, -0.0202562474, 0.0257368628, 0.0039814478, -0.022283081, 0.0283859987, -0.0245620962, -0.0317297652, 0.0006534538, 0.0007844269, -0.0209255964, 0.0107384128, 0.0457163304, -0.003763611, -0.0199744999, -0.0098209325, 0.0171426423, 0.013031045, 0.0587752797, 0.0443035848, -0.0803397819, -0.0297939163, -0.028830735, -0.0347457565, -0.0402564295, -0.0300639793, 0.0133081842, -0.0037989691, -0.035158284, -0.087789081, -0.0854843855, 0.0162494797, -0.0065633231, 0.0126424413, -0.0357205458, -0.0276744198, -0.0020893377, -0.0022839638, 0.0227583218, -0.0478014685, 0.0479939394, -0.0181470904, 0.0158132687, -0.0256458409, -0.0827827379, 0.0055704224, 0.0193037614, -0.0167703163, -0.0341523066, 0.021246545, 0.0343242288, 0.0122669498, -0.0087598497, 0.0194583237, -0.0441150889, 0.0046869232, -0.0193471052, -0.0382520445, -0.000552559, -0.0106953122, 0.0260780584, -0.0139423124, 0.0202940889, -0.010011551, 0.0432322845, 0.0135663152, 0.0471418165, -0.0026262398, -0.0233871564, 0.0011040512, 0.0293145757, -0.0337336585, -0.0343147889, -0.0299171228, -0.0455878153, -0.039084103, -0.0323147029, -0.0362389833, -0.0321009941, -0.0240649618, 0.0044411421, 0.0066994997, 0.0262944531, -0.0012260068, -0.0019090915, 0.0100687938, -0.0417067967, 0.0257989354, 0.0008512855, 0.0668131337, -0.0036532159, 0.0180341844, -0.0551587455, 0.0117898453, -0.029281294, 0.0402605273, -0.0196784716, 0.1161435023, -0.020678699, -0.00150168, 0.0483966842, 0.0301720928, -0.0401465259, -0.0196441505, 0.0282784384, 0.0176024009, 0.0536126979, -0.0403327271, 0.0483843461, 0.0116133867, 0.0152015286, -0.0337583981, 0.0184668191, 0.054543037, -0.0642474517, -0.0184540022, 0.0037313688, -0.0220392048, -0.0359827988, 0.0749669373, -0.0520988666, 0.0032526141, -0.02159, -0.0536766686, -0.0153790321, -0.0364817008, 0.0257718917, -0.0154512022, -0.0266113225, 0.0229890514, -0.0690388009, -0.0518231392, -0.0372541584, 0.0328695513, 0.0121471966, -0.033464212, 0.015194308, 0.0793316066, -0.0221144054, -0.0053918618, -0.0644007847, -0.007746248, -0.0634364411, 0.0134387845, -0.0142196873, -6.267212784e-33, -0.0278224479, -0.0580891296, 0.0183894597, -0.0114293955, -0.0037004077, -0.0154482489, -0.0437612645, 0.0135611109, 0.0006569345, -0.0000466186, -0.0238935929, -0.0251115523, 0.0011017243, 0.0052339919, 0.0064726043, 0.0142685389, 0.0360469744, 0.0244910438, -0.0523765385, 0.0374982171, 0.0530627109, -0.0102593685, 0.0424513742, -0.0308142565, 0.0536610819, -0.0315493979, 0.0183871053, -0.0031793227, 0.0380307995, 0.0463754199, -0.0363547057, 0.0388357602, 0.0479679033, -0.0561217777, -0.0259242281, 0.0159906391, -0.0231578872, -0.0285459906, 0.0247479957, 0.0002513915, 0.0009731634, -0.0643138289, 0.0008831593, -0.040478766, -0.037156105, 0.0196066462, 0.0350672044, -0.0093360431, 0.0504479669, -0.0137101579, -0.0586870834, 0.038000796, -0.0084209135, -0.0096359039, -0.0492929332, 0.1133584976, -0.0180437677, -0.0444975011, -0.0060760477, 0.0202830452, 0.0055375989, 0.0261636544, 0.1079505384, 0.0167075805, -0.0121141691, 0.0451257192, -0.0116914418, 0.0340607986, -0.0178443715, -0.0233102776, 0.0181533974, -0.0097802486, 0.0281861573, 0.0803570449, -0.0185702909, -0.0142843062, -0.0135873165, 0.0319151767, 0.0450294353, -0.0324163027, 0.0320626982, -0.0426784791, -0.0125134233, -0.0191640239, -0.0234237239, 0.0191272981, -0.0245036092, -0.0669141039, 0.0521504991, -0.0139973238, 0.0056151659, -0.0257414989, 0.0361655466, -0.0125945713, -0.0075944276, 0.0109370416, -0.0216862299, -0.0046456191, 0.0325802155, 0.0258340184, -0.0268585924, 0.0177151095, -0.0242207665, 0.0076077376, -0.0014671802, 0.0380879454, -0.0116344132, 0.0343028642, -0.0625664964, 0.01244424, -0.0372480489, 0.0661824271, -0.0127838971, -0.0122678988, 0.0376576781, -0.0194826759, -0.0396132767, -0.0087804254, 0.0289989114, -0.0129841547, -0.0291581582, -0.0714025274, -0.0072539994, 0.0378262959, -0.0632478371, 0.0000633409, -0.0429396629, 0.0675283149, 0.0063686837, 0.0212609619, -0.0278945994, -0.0251852088, 2.755e-7, 0.0020477774, -0.0136757493, -0.0101172095, 0.0553742312, 0.0129003851, 0.0028131921, -0.0050273286, 0.0102765039, 0.0421821885, -0.0029874803, 0.0036418114, 0.0109499525, 0.0634314269, 0.0709744468, -0.0807485208, -0.0076988786, -0.0491284281, 0.046609398, -0.0444480032, 0.0088836011, 0.0204474833, -0.018297838, -0.0268332232, -0.0048932168, -0.0469878241, -0.036297366, 0.0413837619, -0.0434302129, -0.0022332792, -0.0046243649, 0.0010115484, -0.0384594835, 0.0286456235, 0.0002611044, 0.0076241116, 0.0164340232, 0.0556581989, 0.0513220318, 0.0324148312, 0.014122854, 0.0332821161, 0.0016078092, 0.002924057, -0.1163296625, 0.0614962652, 0.0304604284, -0.0182244685, -0.0401990041, 0.0235406701, -0.0260466654, 0.0363389999, -0.0377306975, -0.0205171295, 0.0272891447, 0.0167032015, 0.0022512826, 0.0178654529, 0.0032670775, -0.0255258065, -0.0098544825, -0.0056951134, -0.0789358765, -0.0468727872, -0.0128736654, -0.0539301597, -0.0184341893, 0.0209948905, 2.413055951e-34, -0.0018731949, 0.022401765, 0.0190887731, 0.0002882646, 0.0720460191, 0.0044960668, 0.01109045, -0.0008637531, 0.0273631047, -0.0214462876, -0.0362830013 ]
http://arxiv.org/abs/2406.11555v1
http://arxiv.org/pdf/2406.11555v1
Input Conditioned Graph Generation for Language Agents
2024-06-17T13:53:15
2024-06-17T13:53:15
Lukas Vierling, Jie Fu, Kai Chen
cs.CL
cs.CL, cs.AI
Recent progress in Large Language Models (LLMs) and language agents has demonstrated significant promise for various future applications across multiple disciplines. While traditional approaches to language agents often rely on fixed, handcrafted designs, our research aims to develop both learnable and dynamic agents. Our method uses an existing framework that abstracts language agents as graphs. Within this graph framework, we aim to learn a model that can generate edges for every given input to the language agent. This allows us to generate edges that represent the flow of communication within the graph based on the given input, thereby adjusting the internal communication of a language agent. We learn to generate these edges using a pretrained LLM that is fine-tuned with reinforcement learning. This LLM can be fine-tuned on several datasets simultaneously, and we hypothesize that the model learns to adapt to these different domains during training, achieving good overall performance when encountering data from different domains during deployment. We demonstrate that our approach surpasses the previous static approach by nearly 6% accuracy on a combined dataset of MMLU and CMMLU, and by more than 10% when trained with a sparsity-inducing loss. It also performs superior in additional experiments conducted with the MMLU and Mini Crossword Puzzles datasets. The code is available at https://github.com/lukasVierling/DynamicGPTSwarm.
[ 0.0358860865, 0.0281693526, -0.0350985341, 0.0306702647, -0.0249587391, -0.0138014834, 0.0077897375, -0.0042199409, 0.0347165912, -0.0009743206, -0.0151091805, -0.013655494, -0.0241817851, 0.0641462728, 0.0326731391, -0.0339313745, 0.0384935029, -0.0528245829, -0.0107056061, -0.0210747216, -0.0042403946, 0.0311202034, 0.0141233709, 0.0318502225, -0.0345237888, 0.0025056219, -0.0663337857, 0.0056739831, -0.0046104393, -0.0411949754, -0.0210621245, 0.0153585766, 0.0278785136, 0.0611759648, 0.0000022012, -0.0063012289, -0.008040458, -0.0424775891, -0.0246578641, -0.0460596681, 0.0588269494, -0.0427044481, -0.0127473036, 0.0155049516, -0.0566235185, -0.0476049334, 0.06061415, 0.0256499685, 0.0914072394, 0.1092155799, -0.0039868969, -0.0146271335, -0.0009418248, -0.0328770876, -0.0120792864, -0.0455251299, 0.0128246676, -0.0026534658, 0.0097292773, -0.0363010913, -0.0753453523, 0.0043795761, 0.0320572257, -0.0144853108, 0.014342933, 0.0448162593, 0.0147957876, -0.0441379845, -0.021337945, 0.1286142617, -0.0395501591, -0.0105051147, 0.0227464773, -0.0249657333, 0.0028417073, 0.0230953861, -0.0290406421, -0.0044409288, 0.019340612, 0.0162701067, -0.0279084835, -0.0526404418, 0.0379273184, -0.0139228962, -0.0473909229, 0.0779944509, -0.0025009657, -0.0142372437, 0.002912428, -0.0177909248, 0.0152423959, -0.0598574504, -0.006144837, 0.0528098568, -0.0684972927, 0.042542059, -0.0691581145, -0.0146704772, -0.0056721289, 0.0004140389, 0.0484728739, -0.0172564983, 0.0396537222, 0.0183097497, -0.0235347804, 0.0500213876, -0.026558768, 0.0794762075, -0.0394505188, 0.0041920766, -0.0421467423, 0.0094126593, -0.0417127162, 0.0553000644, 0.0161197931, -0.0455473252, -0.0411424898, 0.0732857957, -0.0119539145, 0.0426230505, 0.0133308973, 0.0003246868, -0.0350314751, -0.0237483103, -0.0074602119, 0.0070468788, -0.0224866234, 0.0207337234, 0.0032411909, -0.0173639003, -0.0117159691, 0.0062084766, 0.0279461741, -0.0346894786, 0.0147752762, 0.137881577, -0.0034314306, -0.0464763157, -0.0167082883, -0.016982751, -0.0161596481, -0.0535704903, 0.021487236, -0.0670303106, 0.0348345861, -0.0156723615, 0.0054505719, -0.0896136314, 0.0237269979, -0.0174403358, -0.0364161767, 0.0775780901, -0.0120606478, 0.0320422351, 0.0027227895, -0.0358462632, 0.0088304197, 0.0519411452, 0.0760673806, 0.0381949544, 0.0282467585, -0.0011785651, 0.0098028574, 0.0762553886, 0.0367535017, 0.0402783453, 0.0034708192, -0.0225307886, 0.0005048385, 0.0439195186, 0.0435070507, 0.0449754857, -0.0363014825, -0.0177154858, 0.0518602021, 0.0440800637, 0.0310596097, 0.0124780945, 0.0624296404, 0.0397757627, -0.041421853, 0.0108363684, -0.0362254754, 0.0192257352, 0.0264246725, 0.0179102961, -0.0235410128, -0.0019983505, -0.0282453652, -0.0209449865, 0.0477070622, -0.0219326857, 0.0823962614, -0.0052455589, 0.0780214965, 0.053624209, -0.0536522083, 0.0010950179, 0.0284825992, -0.0438004881, 0.0055739274, -0.0507469289, 0.0080329943, 0.0717189983, 0.0535052493, 0.0157421585, -0.0303287506, -0.0050225309, 0.0003537986, 0.0817899778, 0.0378359333, -0.0311758313, 0.0105492342, -0.0453751683, -0.0234915614, -0.0115637891, -0.0161730889, 0.0560610443, 0.0088896407, 0.0134976665, -0.0049382066, -0.0478194058, -0.0504301004, 0.0371409617, -0.0265821721, -0.0194126181, 0.030050233, -0.0047183465, 0.0314156748, -0.0021022698, -0.0247621257, -0.0012284049, 0.0175801609, -0.0008379466, -0.0060869399, -0.0011419109, -0.0441537797, -0.0209028851, 0.0648600608, -0.0244627241, -0.0301888697, 0.013085329, -0.059216287, -0.0598390698, 0.0582970418, -0.0479593799, 0.0384898707, -0.0038551365, 0.0072765048, 0.0015203825, -0.0128779076, -0.0065339063, 0.0218783263, 0.0180608537, -0.021196615, -0.0006160553, 0.0462461896, -0.0167556591, -0.0509511456, 0.0132437581, 0.0158075634, 0.0281041376, 0.0192791447, 0.032690797, 0.0372815244, -0.0336100943, -0.0315659754, -0.0491524115, -0.0149537968, -0.0127575854, -0.0261845849, 0.0030294047, 0.0119310813, -0.0203536507, -0.0342564061, -0.0414405242, 0.0414758548, 0.0279781427, 0.0099937823, 0.0369053818, 0.0154440962, -0.0407042652, -0.049415648, -0.0264329799, -0.0090959296, 0.0352804177, 0.0159682222, -0.0157510433, -0.0288373828, 0.0618628375, -0.0338760801, 0.0663625076, -0.0162045248, -0.0633200482, 0.0148884244, -0.0353499949, -0.0014528773, 0.0561421849, 0.0005107743, 0.0413143933, 0.0721242055, -0.0476820692, -0.0510513186, 0.0293235071, -0.0639945194, -0.0139106838, -0.0703053027, -0.022394482, 0.0024027147, 0.0524405874, 0.0112398155, 0.0002057452, -0.080156222, -0.0034983237, 0.036464043, -0.0471312553, -0.0096493019, -0.0122317728, -0.0377886668, 0.0311492495, -0.0408090129, -0.0510356799, 0.0681917667, -0.0269205645, -0.0052447515, -0.0056271409, -0.0312155411, -0.041145023, 0.0571155809, 0.0469438657, 0.0225811135, -0.0107784355, -0.0218354557, -0.07285133, 0.0078876019, 0.0483934544, -0.0224146899, 0.0173929464, -0.0497222506, 0.0159294065, 0.0178032201, -0.0298434552, -0.0317157805, 0.0460365042, -0.0119184973, -0.0042626872, -0.0167372487, -0.0603080317, -0.0014804688, -0.0131033743, 0.0095282998, 0.0238317121, -0.0179605875, 0.0107589252, -0.0497017242, 0.0156336091, 0.0848432779, 0.0231018718, -0.0328232683, -0.067382589, 0.0192554053, 0.0233699828, 0.0570644103, -0.019802805, -0.0397535637, 0.0154212043, 0.0063528619, -0.0000368475, 0.011820958, 0.0121981576, 0.0290536117, -0.0468805991, -0.0088868001, 0.0953779146, 0.0141335009, -0.0701203644, -0.0095040184, 0.0235954169, 0.0423336998, 0.0291100945, 0.0299506746, -0.0788899437, -0.0194821786, 0.0027822161, 0.0143397488, 0.0043975273, -0.0362446308, -0.01785581, -0.1452248245, 0.0140837403, 0.0476354882, 0.0015412726, -0.0163112935, -0.0436020978, -0.0128198639, 0.0084359311, 0.0029332964, -0.0165662654, 0.0016069814, -0.0176229328, 0.0077935108, -0.0068801516, -0.0280469581, 0.0074749035, -0.025714647, 0.0551310293, 0.0641111284, 0.0348178893, -0.0258120336, -0.0131203197, 0.0713928491, 0.0440754704, -0.0174842943, -0.0038656208, 0.041369155, 0.0109805055, -0.0185356252, -0.0088343825, 0.00641248, -0.0174254943, 0.0025923774, 0.0200896226, 0.0992445871, -0.0332540236, -0.0326396115, -0.0028695099, -0.0238262322, 0.0018103794, 0.0123695433, 0.0224380791, -0.0384163521, -0.0703130662, -0.0400504246, 0.0020931787, -0.0537965931, -0.070414111, 0.0131063433, -0.035020642, -0.0126768388, -0.0559742562, -0.0554511957, 0.0487345904, 0.0198702998, 0.0316458084, -0.0159721244, 0.0385195315, -0.0093961461, -0.0499219, -0.0079011461, -0.0453489535, 0.0366219729, -0.0542690158, -0.0469360128, -0.0021965678, -0.0545802489, 0.0067401296, 0.0112201208, -0.0474845469, -0.0915363133, -0.0204117075, 0.031652011, 0.0196452234, 0.0943051428, -0.0160458256, 0.0023961808, 0.0616874062, 0.0029359297, -0.0471988469, -0.0045591965, 0.0335392356, -0.0250472408, 0.0005972066, 0.0303257629, -0.0647763014, 0.0198520049, 0.0273081642, 0.0346694328, -0.0456504822, -0.018087998, 0.0200817306, 0.0147418948, 0.012083157, -0.0053786198, 0.015400731, -0.0601782091, 0.0059741172, -0.0074878964, -0.0138138486, -0.0427027866, -0.0147556821, 0.0311118085, 0.010964998, 0.0417254753, -0.0397489406, 0.000614037, 0.0394826829, -0.0104086818, 0.0194087643, 0.0032347068, 0.0096604163, 0.0643216521, 0.0225410368, 0.0148224579, 0.0601952262, 0.0093069263, 0.0308771599, 0.026606366, 0.0272434056, 0.0365105756, -0.0207848903, -0.0232796595, 0.004557299, -0.0639263615, -0.0428711809, -0.0175732113, 0.0323550738, 0.0536412001, 0.0450676195, 0.0480425507, -0.0433586538, 0.023093842, -0.0004735881, 0.0297530033, -0.0026604279, -0.061063502, 0.0356242098, 0.0248799808, -0.0001622855, -0.0147787025, 0.0696572289, 0.0395356007, 0.0509979837, -0.0150911845, 0.0005283022, -0.0439820029, -0.0175238494, -0.0115972934, 0.0137980226, -0.0117403707, 0.0242266022, -0.041355174, -0.1003909558, -0.0185750742, 0.0314710774, 0.0209486149, -0.0069259992, 0.0563339293, 0.0305425078, 0.0004501986, 0.0198189318, -0.0498095043, 0.004145945, 0.004891648, -0.0391230546, -0.0011050422, -6.199705612e-33, -0.0285955332, -0.0451900661, 0.0422181413, 0.0396234021, -0.0525627993, -0.0105765872, -0.0709803477, -0.0152139878, -0.0228963792, 0.0134812491, -0.0206675008, 0.0370953269, 0.0085269045, 0.0215116385, 0.0042596678, -0.0023947519, 0.047048077, -0.0132318074, -0.0128593855, 0.0483791269, 0.0202927571, 0.0090744309, 0.0203279667, -0.0379040763, 0.0128743248, 0.0084673017, -0.0079190806, 0.0410181023, -0.0030887695, 0.0384360999, -0.012649117, 0.0301235169, 0.0058091432, 0.0256819762, -0.0258104801, 0.0020639743, -0.0780009031, -0.033537358, -0.0179031324, 0.0287834201, -0.0574352108, -0.0413379781, 0.0221862476, -0.0173954535, -0.0040817554, -0.0058389939, 0.0510779396, -0.0172589626, -0.0289052725, 0.004075998, -0.0274939612, 0.0194518063, 0.0000472942, -0.0159057397, 0.0340482481, -0.0159594174, 0.0224454887, -0.0379689448, -0.0403673425, 0.067238532, 0.0013535299, -0.0024118815, 0.044460278, 0.0296336617, 0.016528843, 0.0519511029, 0.031076191, 0.0040896288, 0.0124048535, 0.0240607727, 0.0310054347, 0.0365950391, 0.0169172008, 0.0301438067, -0.0345475972, -0.0418153629, -0.0302754622, -0.0215566568, 0.0315094031, 0.0522313975, 0.0014318875, 0.0012366187, -0.0068967063, -0.0248503964, -0.0313798711, 0.0089672757, -0.0208304357, -0.0595444553, 0.0273786765, 0.0397309326, 0.0129218763, -0.057698261, 0.0052926131, -0.0296432227, -0.0238275435, 0.0207191128, -0.0291370451, 0.0255710613, -0.0015902091, 0.0025520364, -0.0045428686, -0.0540863872, 0.0032891287, -0.0231087338, 0.0163507313, 0.0309576225, 0.0081619676, 0.0573293231, -0.0408237055, -0.006762261, -0.0533163957, 0.0111613804, 0.000825415, -0.0147083448, 0.0237706471, 0.0020779567, -0.0255548526, 0.0089391451, 0.0214651357, -0.0191557556, -0.0122912005, 0.0143550262, -0.0194974206, 0.0478292853, -0.0763176754, -0.0244025327, -0.0724786445, 0.0615527183, 0.0471898355, -0.0665807799, -0.0105693275, -0.0124813411, 2.963e-7, 0.0227657426, 0.0330601968, 0.0274244081, 0.0881277397, 0.0184361711, 0.0281844735, -0.0680846199, 0.0250534229, -0.0119756013, -0.0036345937, 0.0207131207, 0.0566881411, 0.020189736, 0.0228070226, -0.0939609557, 0.0435522422, -0.0327870585, -0.0186395869, -0.0459189527, 0.0002492456, 0.0253453888, 0.0648467541, 0.0389599428, -0.0098446347, -0.0073029278, -0.0491681173, 0.0321697257, -0.0213423576, 0.0160142239, 0.0089411279, -0.0548874214, -0.0091584669, -0.0334018357, 0.0288165025, -0.0019858181, 0.0411931761, -0.0216915365, 0.0173981618, -0.0122122569, -0.0160004646, 0.0349287428, -0.01496688, -0.001994733, -0.0171234217, 0.0487713777, -0.038985908, -0.0159350447, -0.015605526, 0.0022166166, -0.017450016, -0.0113174841, -0.0377253443, -0.0402037911, 0.021313889, 0.0185237136, 0.0040324633, 0.0345804654, -0.0591038167, 0.007461058, 0.0047250846, -0.0396721177, -0.0473080985, -0.0500869751, 0.0315120146, 0.008821005, 0.0007129257, 0.0130856084, 2.608300742e-34, 0.0343494192, 0.004120457, -0.0153660029, 0.0307854973, 0.0248843729, -0.032268554, -0.0166955125, 0.0211089645, 0.0570606552, -0.0713413358, -0.0556969307 ]
http://arxiv.org/abs/2406.11547v1
http://arxiv.org/pdf/2406.11547v1
GECOBench: A Gender-Controlled Text Dataset and Benchmark for Quantifying Biases in Explanations
2024-06-17T13:44:37
2024-06-17T13:44:37
Rick Wilming, Artur Dox, Hjalmar Schulz, Marta Oliveira, Benedict Clark, Stefan Haufe
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY
Large pre-trained language models have become popular for many applications and form an important backbone of many downstream tasks in natural language processing (NLP). Applying 'explainable artificial intelligence' (XAI) techniques to enrich such models' outputs is considered crucial for assuring their quality and shedding light on their inner workings. However, large language models are trained on a plethora of data containing a variety of biases, such as gender biases, affecting model weights and, potentially, behavior. Currently, it is unclear to what extent such biases also impact model explanations in possibly unfavorable ways. We create a gender-controlled text dataset, GECO, in which otherwise identical sentences appear in male and female forms. This gives rise to ground-truth 'world explanations' for gender classification tasks, enabling the objective evaluation of the correctness of XAI methods. We also provide GECOBench, a rigorous quantitative evaluation framework benchmarking popular XAI methods, applying them to pre-trained language models fine-tuned to different degrees. This allows us to investigate how pre-training induces undesirable bias in model explanations and to what extent fine-tuning can mitigate such explanation bias. We show a clear dependency between explanation performance and the number of fine-tuned layers, where XAI methods are observed to particularly benefit from fine-tuning or complete retraining of embedding layers. Remarkably, this relationship holds for models achieving similar classification performance on the same task. With that, we highlight the utility of the proposed gender-controlled dataset and novel benchmarking approach for research and development of novel XAI methods. All code including dataset generation, model training, evaluation and visualization is available at: https://github.com/braindatalab/gecobench
[ 0.0249939188, 0.0728238523, -0.0338728912, 0.0146100614, 0.017317716, 0.0361627787, 0.0425824709, -0.0352560319, -0.0235210154, -0.0152142774, -0.0002662192, -0.0425221287, 0.0404551923, 0.0207083561, 0.0196568258, -0.0265389215, -0.005402552, 0.0009061096, 0.0053547863, -0.0042576264, 0.0081098787, 0.0364811607, 0.0193045102, 0.0649231672, 0.0188276637, -0.0252179205, -0.0149714025, 0.0074237837, -0.0174320638, 0.0141068259, 0.0268746633, 0.0169498231, 0.0132271424, 0.018301148, 0.0000020976, -0.0515191108, 0.014437967, 0.0406083576, -0.0756276771, 0.0399662405, -0.0182500314, -0.0200976916, 0.0088722203, 0.0140651306, 0.0054660188, -0.0120469267, 0.0453381576, 0.0702046975, 0.0469094329, 0.0383084416, -0.0075397375, -0.0161084775, -0.0380021334, -0.0332749709, -0.0045960839, -0.0075875618, -0.0024554585, -0.0295101404, -0.0342339985, 0.0093887746, -0.0242951494, -0.0132086519, 0.0201972798, -0.0339962691, -0.0043265093, 0.0188274849, -0.017506402, -0.0515887961, -0.0017309543, 0.0671115294, -0.0184039623, -0.0082456786, -0.0065006134, -0.0224909279, -0.0065108994, 0.006087204, -0.0332461856, -0.0044972301, 0.0250770263, 0.0183495451, -0.0015640625, -0.0304295905, 0.0805988386, 0.0631070212, -0.0239544977, 0.0918589234, -0.0139237205, -0.0117232688, 0.0118695395, -0.0008969749, -0.0096158981, -0.0433692299, -0.0066192951, 0.010317022, -0.0062841433, -0.0022946375, 0.0129777091, -0.0060109883, 0.0159471761, -0.0393283553, 0.050313171, 0.0349415094, -0.0028200587, 0.027533967, -0.0481116362, 0.0653304085, 0.0009674973, 0.0185489282, -0.0064106937, -0.0590244494, -0.056543, -0.0334921665, -0.0067930617, -0.0189882815, -0.049410671, 0.0228291787, -0.0423358679, -0.0058970451, -0.0382249765, 0.0005598229, 0.0379168503, 0.0269641932, -0.0176802035, -0.0172306374, -0.01564987, -0.0099783633, -0.0819801092, 0.0480515398, -0.0114089707, -0.0833766907, -0.0421335809, 0.0283512734, 0.0056732614, -0.028167434, 0.0086243264, 0.0204210784, 0.0250662565, -0.0411549024, -0.0163016226, -0.0156813432, -0.0360356756, -0.0766058713, -0.0060419263, -0.0210019946, 0.0155283697, 0.0201951619, -0.0076326113, -0.0334633105, 0.0008571894, -0.0188775733, -0.0397243947, 0.0872423872, 0.0317382477, 0.0093784388, 0.0187395848, 0.0089327041, -0.0134909116, 0.0766456425, 0.0670485198, -0.0128843021, 0.0244076215, -0.0193330869, 0.0296370275, 0.0119138081, 0.0636598766, 0.0302490443, -0.0021540062, 0.0293728169, -0.0492997132, 0.060889028, 0.0556072295, -0.0496016257, 0.0258088596, -0.0043440983, 0.0433024578, 0.0483211502, 0.0381200872, 0.0539591871, 0.0469833016, -0.0133638717, -0.0119182495, 0.0239826478, -0.0665661916, 0.0105657317, 0.004733915, -0.0301592574, -0.0116838682, 0.0005430524, -0.0379322618, -0.0801052973, -0.0138952369, -0.0173985679, 0.0118694538, 0.019193029, 0.041260194, 0.0239239335, -0.0170668717, 0.0578674339, 0.0526272841, -0.0712765679, -0.0206531193, -0.0820975751, 0.0344832465, 0.0500168391, -0.0011588942, -0.0483611859, 0.0136097958, -0.0167507958, 0.0099567128, 0.0172289945, 0.0563980527, 0.0273273513, 0.0730137378, -0.0408202447, -0.0296659563, -0.0389741659, 0.0464131311, 0.0154448524, 0.0472504571, 0.0146924825, 0.0369001329, -0.0777537972, -0.0722735822, 0.0606980696, -0.0108445389, -0.0510642529, 0.0613588654, 0.002095215, 0.0210804585, 0.0234820507, -0.0142292306, -0.0042011221, -0.0034730746, -0.0082168877, -0.0118345376, 0.0221156422, -0.0069328519, -0.0235692654, 0.0016098155, -0.0638872385, -0.0473222136, 0.0499143526, -0.0395112857, -0.0331404023, 0.035212148, -0.013414355, 0.015857324, -0.0406930447, -0.0015210373, -0.0115706278, 0.0620717369, -0.0000023691, 0.0176928062, -0.0046910155, -0.0348911844, -0.0098084044, -0.0097614434, 0.0112838168, -0.0391893201, -0.0035675408, 0.002527592, 0.0072484151, -0.0101941153, -0.0029458953, -0.0340952314, 0.0001624649, -0.0138776144, -0.0552797727, -0.0078102848, -0.0303105637, -0.0208921377, -0.0095344102, 0.0013943024, -0.0072701257, -0.0174509976, -0.0166945327, -0.0040989686, -0.0000666996, 0.0093406262, 0.0546867587, -0.0217306968, -0.0008074804, -0.0591755919, -0.0158711448, -0.0335781761, 0.1028212681, 0.0218243431, 0.0071401177, -0.0524800271, -0.0081455335, -0.0073209903, -0.0175201222, -0.0289530475, -0.0609526597, 0.0061148112, 0.0355350114, -0.0167147275, 0.0759171247, 0.0024470598, 0.0736173466, 0.040393576, 0.0590584427, -0.0449618287, -0.0110015878, -0.005814224, 0.0136491293, -0.0098902844, -0.0477294363, -0.0168135967, 0.0636565462, -0.0071499492, -0.0265078489, -0.0561050922, 0.028720336, -0.0117873205, -0.0449703597, -0.0343965217, -0.0516366549, 0.0208790712, 0.0482234582, -0.0478802249, -0.0580273978, 0.0363659598, -0.0482800081, 0.0009153214, 0.0009658338, -0.0468832478, -0.0686285347, 0.0642289594, -0.0214065239, 0.0125540867, 0.026237959, 0.0141929416, -0.0471638851, -0.0583813861, 0.0246293489, 0.0123285605, -0.0120545384, -0.0369913951, 0.0106990431, 0.0270065647, -0.0174673442, -0.0313952938, -0.0482972264, -0.0106441155, -0.0040064957, 0.0275319684, -0.020917438, -0.0021544965, 0.0360128582, -0.0004250318, 0.0151829533, -0.0228799526, 0.006794895, -0.0124336872, 0.0005498901, 0.0117591498, 0.0347047485, 0.053981822, -0.042472519, 0.0011178637, 0.0073349727, -0.0240304377, 0.0221106987, -0.0427431241, 0.0320259184, 0.0059442949, -0.0414592922, -0.0175768305, -0.0208245087, 0.0635897294, -0.0962752253, -0.0075029563, 0.1048899963, 0.0337318256, -0.0453986265, 0.0234661438, 0.0182458721, -0.0022459775, 0.0139830392, 0.0066162478, -0.0261681341, -0.0181831345, 0.0366509557, 0.0066358987, -0.0066394759, -0.0039541498, -0.0137926163, -0.1106992811, 0.027684737, -0.0040772427, -0.0472551063, -0.0303553008, -0.0699815303, -0.0177321229, -0.0304399971, 0.0096363658, -0.0150659531, 0.0428112, 0.0175186656, 0.0123132886, -0.0395875797, -0.0435534976, 0.053363435, -0.057743609, 0.0502277017, 0.0482164696, 0.0763070509, -0.0106718475, -0.0121331885, 0.0326125585, -0.0070954873, 0.0279531907, -0.0047885734, 0.0744518563, 0.0004756669, -0.0339014493, -0.0458777361, 0.0635104477, 0.0062605892, -0.0040951236, -0.029531749, 0.0215321481, 0.0109091448, -0.0170475207, -0.0198126677, -0.0343841463, 0.0077912072, 0.0912017971, 0.0412812009, -0.0355853662, -0.0855875164, -0.0495114326, -0.0156344976, -0.015094622, -0.0388323888, 0.011837136, 0.0724299699, -0.0239642374, 0.0158800911, -0.0570397563, 0.0064062099, 0.0012812339, 0.0040845992, -0.0550837368, -0.0068416432, 0.0047277943, -0.0399941169, 0.0668632612, 0.0099582635, 0.0142609216, 0.0153623875, -0.0280915871, -0.0178699456, -0.0495151393, -0.0226946305, 0.0015773219, -0.0203787535, -0.0353720002, 0.0114874449, 0.0402042754, 0.0247795619, 0.0715000406, -0.0154204266, -0.0774903744, 0.0344499312, 0.0171344224, -0.0337143093, -0.0074070254, 0.0623852275, -0.0093515217, 0.0261730216, 0.0715748966, -0.0214245431, 0.0131177325, 0.0139254443, -0.0139737446, -0.0186179336, -0.0206987895, 0.0051353606, -0.0080512008, 0.0129375681, -0.0402404666, -0.0228030067, -0.0376081839, 0.0078123128, -0.0073252209, -0.0202464238, -0.0213343184, -0.0195730347, 0.0325122029, -0.0118414983, -0.0088860849, -0.0182692446, -0.0272270329, 0.0006322442, -0.0331023484, 0.0259430949, 0.0158216041, 0.0222835932, -0.0218175109, 0.0355790034, 0.0007719955, 0.0037019572, -0.0483124778, 0.0310241003, 0.0343299061, 0.030210929, -0.0050347736, 0.0348864272, -0.0338543616, -0.0076382491, -0.0748519525, -0.0210115816, -0.0086897667, -0.0025974, 0.0166655239, -0.0684285164, 0.0679180399, 0.0286945961, -0.0295465551, 0.0283165351, 0.0690931827, 0.0106733283, 0.0114571285, -0.0086715315, 0.0102031697, -0.0421244577, -0.0287145004, 0.0604940206, 0.0703142062, 0.0486853905, -0.0030754472, -0.0217945576, -0.0092389863, -0.0189557001, 0.0129025215, 0.001631003, -0.0153743224, 0.0174650867, -0.0573218539, -0.0525120199, -0.0148908999, -0.0321693458, 0.0024876962, 0.0064549507, -0.0006715013, 0.0490750074, -0.0191080961, -0.0354883634, -0.045625966, -0.0241859891, 0.0038467385, 0.0244300161, -0.0227127224, -6.171615706e-33, -0.0010881299, -0.0389290415, -0.0247201007, -0.0412340648, 0.0096344352, 0.0279460344, -0.0464696884, -0.0207735822, -0.0273114853, 0.0658790171, 0.0073445472, 0.0741526484, 0.0126232589, 0.0274952296, -0.0180733725, -0.0257964544, 0.0552131832, 0.0307219457, -0.0289763808, -0.0098933801, -0.0007336212, 0.0602865703, 0.0494380482, -0.0722284913, 0.1076809987, 0.0091613783, -0.014878762, 0.0094176084, -0.034754429, 0.0329357535, -0.0254334267, 0.0644786507, 0.0087710684, -0.0476149693, 0.0293035507, 0.0424768068, -0.0737097859, -0.023905769, 0.0087701101, 0.0405687131, 0.0053463387, -0.012558979, 0.0386297926, 0.0225250069, -0.0145024993, -0.0538297482, 0.0633921623, 0.0114213098, 0.0392122678, 0.0434898436, -0.030724898, 0.0406972766, -0.0601781607, -0.0332420357, 0.0284876227, 0.0211975649, -0.0194806103, 0.0292354058, -0.0749988779, -0.0052148211, 0.0199589282, -0.0071259164, 0.0171793886, -0.0083580008, 0.027310729, 0.0377579369, 0.0651250109, 0.0304746665, -0.0875293761, -0.0273044948, 0.0064871581, 0.0077433595, 0.0845907852, 0.029895477, 0.0348195545, 0.0093143424, -0.1065463573, -0.0359107815, -0.0267501008, 0.0134372814, 0.0167380888, -0.0147999078, -0.0820311159, -0.0328428596, -0.0415303335, -0.0686245859, -0.0205814056, 0.0086084092, 0.0064741955, -0.0273720212, -0.0784945637, -0.0134960227, -0.040388193, -0.0719275326, -0.0179857668, 0.0057697878, 0.0001682271, -0.0495946333, 0.0552538708, -0.0044998857, -0.0152002163, 0.0036273259, -0.0119739678, 0.0173978675, 0.0576745123, 0.0053031831, 0.0387250036, 0.028620448, -0.0472212806, -0.0063172602, -0.057324823, -0.0313142538, -0.0159434453, 0.0561927147, 0.0166077968, 0.0666732341, -0.0458235703, 0.0117293829, 0.0464360863, 0.038559489, 0.0043880362, -0.0350299329, -0.0095182387, 0.0353125557, -0.0016851018, -0.0310199838, -0.0110502793, -0.0011982376, 0.0556565858, -0.0728736296, -0.0024420691, -0.0035403327, 2.546e-7, 0.0366401151, 0.0414492823, 0.0475335307, 0.0225917231, 0.0200085398, 0.0379872508, 0.0086375484, -0.0022425873, -0.0016246766, -0.0038278485, -0.0050467174, 0.0635806993, 0.049004361, 0.0051294058, -0.0212772675, 0.0073181568, -0.0704950243, -0.0129014356, -0.0161086991, 0.0283006001, 0.0141808866, 0.0918005556, 0.050540138, 0.003276885, 0.0139589161, -0.0170192663, 0.0554687828, -0.0276615974, 0.0370714404, 0.0166467726, 0.0101342052, 0.0240044445, 0.0197700094, -0.0008151667, -0.0135262785, 0.01772964, -0.0026159433, 0.0310517009, -0.0366683677, 0.0051117167, -0.0188872758, -0.0124685355, 0.0006907254, -0.0741497055, 0.0982552767, -0.0004584828, -0.0598722175, -0.0347458571, -0.0034483422, -0.0072820559, 0.0717185959, -0.0020150165, 0.0412592068, 0.0364851281, -0.0039352374, -0.0219567977, 0.0064865812, -0.0847050026, -0.0733996183, -0.0074424292, -0.00386332, 0.0200550091, -0.0267006755, 0.0181665849, 0.0850985795, -0.0627587512, 0.0188042838, 2.249765322e-34, 0.0014424836, 0.0276125986, 0.0106338859, 0.006577434, 0.0267534312, 0.0111818761, 0.0100052496, -0.0167469755, 0.0669321045, 0.0097560873, -0.0009928293 ]
http://arxiv.org/abs/2406.11546v1
http://arxiv.org/pdf/2406.11546v1
GigaSpeech 2: An Evolving, Large-Scale and Multi-domain ASR Corpus for Low-Resource Languages with Automated Crawling, Transcription and Refinement
2024-06-17T13:44:20
2024-06-17T13:44:20
Yifan Yang, Zheshu Song, Jianheng Zhuo, Mingyu Cui, Jinpeng Li, Bo Yang, Yexing Du, Ziyang Ma, Xunying Liu, Ziyuan Wang, Ke Li, Shuai Fan, Kai Yu, Wei-Qiang Zhang, Guoguo Chen, Xie Chen
eess.AS
eess.AS, cs.CL, cs.SD
The evolution of speech technology has been spurred by the rapid increase in dataset sizes. Traditional speech models generally depend on a large amount of labeled training data, which is scarce for low-resource languages. This paper presents GigaSpeech 2, a large-scale, multi-domain, multilingual speech recognition corpus. It is designed for low-resource languages and does not rely on paired speech and text data. GigaSpeech 2 comprises about 30,000 hours of automatically transcribed speech, including Thai, Indonesian, and Vietnamese, gathered from unlabeled YouTube videos. We also introduce an automated pipeline for data crawling, transcription, and label refinement. Specifically, this pipeline uses Whisper for initial transcription and TorchAudio for forced alignment, combined with multi-dimensional filtering for data quality assurance. A modified Noisy Student Training is developed to further refine flawed pseudo labels iteratively, thus enhancing model performance. Experimental results on our manually transcribed evaluation set and two public test sets from Common Voice and FLEURS confirm our corpus's high quality and broad applicability. Notably, ASR models trained on GigaSpeech 2 can reduce the word error rate for Thai, Indonesian, and Vietnamese on our challenging and realistic YouTube test set by 25% to 40% compared to the Whisper large-v3 model, with merely 10% model parameters. Furthermore, our ASR models trained on Gigaspeech 2 yield superior performance compared to commercial services. We believe that our newly introduced corpus and pipeline will open a new avenue for low-resource speech recognition and significantly facilitate research in this area.
[ -0.0069763274, 0.0567634106, 0.0224932414, -0.0037707146, -0.0063041947, -0.002349694, 0.0543526597, -0.0095139146, -0.008402979, -0.0068392991, -0.0717958733, -0.0503512211, 0.0335910134, 0.0133873438, 0.0313397534, -0.0420034416, 0.0237718225, -0.065885067, 0.039753139, -0.0198606532, 0.0233294237, -0.0088438671, -0.0470735878, 0.0356423706, -0.0239373595, 0.0111024994, -0.0089121768, 0.0141938441, 0.0228438787, -0.037185967, 0.0026512037, 0.0112804146, 0.0254876651, 0.0610751733, 0.0000019849, -0.0272823945, -0.0294684637, 0.0249204636, -0.0656043515, 0.0269983467, 0.0384286307, 0.0190090798, -0.0296478011, 0.0712883547, -0.0233723987, -0.0663193539, 0.0593278334, -0.0014421616, 0.0126412343, 0.0475249775, -0.0257950649, -0.063097477, -0.0025967672, -0.0339230709, -0.0287487339, -0.0550558381, -0.01490031, -0.0141706513, 0.0156665202, 0.0029119763, -0.0078988615, 0.0556631908, -0.0082265092, -0.0476824716, 0.0229639523, -0.0224746559, -0.0590452924, -0.0992046893, 0.0126119927, 0.0427327752, -0.0093194917, -0.0187479071, 0.031829197, 0.0092814192, -0.0227603968, -0.0326337591, 0.0034198614, 0.0172227174, 0.0218329336, -0.0093686087, -0.0056347675, 0.0389275365, 0.036249321, -0.0408906788, 0.0431745462, -0.0191260427, 0.0076366193, -0.0376082435, -0.0103052864, -0.0307776686, 0.0341075771, 0.0000521589, 0.045141913, -0.016118601, 0.0082661025, -0.0017872404, -0.0194637906, -0.0343255363, 0.0049274741, -0.0238734372, 0.0350836366, 0.0577558167, -0.0826834142, 0.0195158459, -0.0070456588, 0.0728158802, 0.011913904, 0.0240401234, -0.0177091677, -0.0067588487, 0.0162088964, 0.0220583081, -0.0394947901, 0.0052885427, -0.0293836482, -0.0301711019, -0.0452593267, 0.0131742209, -0.0036692908, 0.0104898792, 0.0362342, -0.0453057289, -0.0371677838, -0.0049094516, 0.039480608, 0.0447444469, 0.0336923674, 0.0553564206, 0.0115549071, -0.0844649449, -0.0172295384, 0.0282880645, 0.0525474474, 0.003451749, 0.0268353578, 0.0383907743, -0.0160580147, -0.0245740507, -0.044328317, 0.0361873507, -0.0380643867, -0.0340248197, -0.0232986398, -0.045197688, 0.0613306165, 0.0163194202, 0.0062063378, -0.0345302671, 0.0030756451, -0.0290823933, 0.0274823364, 0.0634687692, -0.0122288372, 0.050873369, 0.0163997728, -0.0001658386, -0.0068634087, 0.0375281461, 0.0547564924, -0.0194551554, 0.0425818786, -0.0411304012, -0.0012861044, 0.0619699173, -0.0100662811, 0.024693666, 0.013546586, -0.0253310408, 0.056551639, 0.0268221591, 0.0192129482, 0.064788878, -0.0022182905, -0.0055714143, 0.0447671674, 0.0155100515, 0.0029416915, 0.0268092416, 0.0396600291, 0.0377362333, 0.0152228121, -0.0307330955, 0.0140004959, -0.0034682872, 0.0228154399, 0.0198113695, 0.083540298, 0.0516988076, -0.034799438, -0.0002815774, -0.0295308381, -0.0089237969, -0.0247647204, 0.0504890904, 0.0543550029, 0.0069193733, -0.053474877, 0.022787042, 0.0142142484, -0.0589558221, 0.0059457449, -0.0372414365, -0.0207123663, 0.0266313925, 0.0073875049, -0.0376432911, -0.0243415534, -0.0387605019, 0.0061667501, 0.0458482765, -0.0102735702, -0.0065792832, 0.0489863046, -0.0942109898, -0.0086742016, 0.0761361644, -0.0000617184, 0.0530844741, 0.0128093464, 0.0089073582, 0.0197946038, -0.0483141541, -0.030880088, -0.0245013479, -0.0265392214, -0.0006621407, 0.0155629227, 0.0405971259, 0.0903900638, 0.0333481058, -0.0313251726, -0.0204816684, 0.0258665811, -0.021195231, 0.0339499936, 0.0160353985, -0.0179440193, -0.0062176557, 0.0860108212, -0.0240304377, 0.0073930835, 0.0663252696, 0.0192615483, -0.0739612132, 0.034323018, -0.0020544978, 0.020569114, -0.0461354293, 0.0730691329, 0.004123155, 0.0297616906, 0.0234541409, -0.0384828225, 0.0298980288, 0.0079736011, -0.0021380943, -0.0029809854, 0.021494057, -0.0751936808, -0.0412060432, 0.0217489079, -0.0451742336, 0.0268340781, -0.0067765568, -0.0110601094, -0.0019266927, -0.0055568963, -0.0604808144, -0.0128956642, -0.017160356, 0.0273304656, -0.0470934212, 0.0309102442, -0.0121578621, -0.0429079086, 0.0025874025, -0.0266023576, 0.001735381, -0.001157932, -0.0489323325, -0.0162462164, -0.0071810796, -0.0134631107, -0.0114512332, 0.0241394956, -0.0179953948, -0.0049693901, -0.0525073372, -0.026468141, 0.0341046862, 0.0220841449, 0.0064367768, -0.0076861759, -0.0522913747, -0.0222650822, 0.0272217579, 0.0034914329, 0.0015852987, -0.0405745618, -0.0269880071, 0.0034444076, 0.0071715354, -0.047370825, -0.0143890958, 0.0371389985, -0.031167727, -0.0124784969, 0.0198696386, -0.0539524481, 0.025613077, 0.0134084309, 0.03801075, -0.0388211831, -0.0534729064, -0.0338280573, -0.0066462043, 0.019442372, -0.0096420292, -0.030164782, -0.0052150511, -0.0067761182, -0.0163444337, 0.0292488225, -0.0688486472, -0.0663744733, -0.0424730889, -0.0664496273, -0.0112165296, -0.0098236213, -0.0286064409, 0.0175414961, 0.0116735604, -0.0552789196, -0.002954002, 0.0453944691, 0.0244708043, -0.051960554, 0.0225488171, -0.010959452, 0.0346177854, -0.0301223192, -0.064476192, -0.0172123406, -0.0299257189, -0.0195843317, 0.0152925337, 0.005308121, -0.046418082, -0.0468600392, 0.0617602281, 0.0230456237, 0.0577383861, 0.0109089203, 0.0408556201, -0.0188720189, 0.0473052002, 0.0337494649, -0.0167003125, -0.0051119328, -0.0121964607, 0.0605838336, 0.0007098127, 0.0716471076, -0.0202669352, -0.0316884071, -0.0142726935, 0.0465707146, 0.0236773249, 0.0138802147, -0.00389456, 0.0301863179, -0.0132109514, 0.026199894, 0.0940940529, -0.0215621125, -0.024459295, -0.0209068768, 0.0062406724, 0.0284563992, 0.0179658644, -0.0103070922, -0.0755568594, -0.0131781418, 0.0864093825, 0.0490050875, 0.0228638034, 0.0201600697, -0.0174172465, -0.1197081134, 0.0376077034, 0.0374506861, -0.0435083769, -0.0278242603, -0.053707581, -0.020309329, -0.0367112048, 0.0574348755, 0.0287084635, -0.0051864092, -0.0323810354, 0.0621839762, -0.041546043, -0.0775875598, 0.0296719167, -0.0434040911, 0.1000885591, 0.0138399098, 0.0040426869, -0.0095666898, -0.0295515191, 0.0470262654, 0.0097367996, -0.0130007556, 0.0026497554, -0.001677942, 0.0041167624, -0.0183986872, 0.0358227193, 0.0252092592, -0.0221159309, 0.0204136241, 0.0105501143, 0.0754849762, -0.0096095689, 0.008418736, 0.0484485701, -0.00715562, 0.0104320748, 0.0467145145, -0.0014651943, -0.0354449153, 0.0261516217, 0.0365462303, 0.0140242232, -0.0038783273, -0.0152451145, 0.0289088618, -0.0269629676, -0.0570675209, 0.0120150289, 0.0018715564, 0.0092868265, 0.0271850936, 0.033459533, -0.032207109, 0.0071217339, 0.0302642323, -0.0472189747, 0.0001321397, -0.0126217175, 0.0108124781, -0.0761577934, -0.0323223695, 0.0265402123, -0.0447957478, -0.0149115548, 0.0119057521, -0.0590871722, -0.0678099617, 0.0304060131, 0.0045764721, 0.0216611344, 0.0337663516, -0.0405510589, -0.0230136421, 0.0269967467, 0.0235865731, -0.0552449115, 0.0059127901, 0.0397397205, -0.0159340855, -0.0112730209, 0.0315113403, -0.0559812374, 0.0215063561, -0.0400460102, 0.018706955, -0.0308968052, -0.0624590926, -0.0222699605, 0.0387037508, 0.0601666868, -0.0233612098, -0.0212505907, -0.0560896248, 0.0138130318, 0.0084284637, 0.0447644293, -0.0399142317, 0.0012434674, 0.0396969467, 0.0300021153, -0.0064098509, 0.0193466917, -0.0106729157, -0.0575776137, -0.0090769222, 0.0505331866, -0.0159761328, 0.0141747473, 0.0356622152, 0.006370673, 0.0133087328, 0.0512806065, 0.0534630306, 0.0019992231, 0.0203150641, -0.0003720813, 0.0026406203, 0.0334822088, 0.0379967317, 0.0225685481, -0.0159696937, -0.0286411233, -0.0086313952, 0.0042961352, 0.0564342029, 0.0076474906, 0.0773832947, 0.0092432629, 0.0120451907, -0.0491407588, 0.036651168, -0.0209909063, -0.0361692458, 0.0040762485, 0.0010311876, -0.0343758352, 0.0866949558, 0.0594508275, 0.0224389117, 0.0136868544, -0.0113234119, 0.0574039444, -0.0261072628, -0.0364276357, -0.0351536535, 0.0131494328, -0.0546792857, -0.0431626774, -0.0054824497, -0.0844005644, -0.0077224723, -0.0253977608, -0.0197642986, -0.0284599327, -0.0043638879, -0.0062163984, -0.033133395, 0.0289402492, 0.0021060624, -0.0810701773, -0.0241875481, -0.0242173132, 0.0527740642, -6.534733992e-33, 0.0093734581, 0.0273580812, -0.0141409328, 0.004686716, -0.0405313112, 0.0298240185, -0.0233963095, 0.0168229435, -0.0159647856, -0.0215524789, -0.0304307565, 0.0199863967, 0.0532865562, 0.0009711381, 0.0187701732, -0.0179958157, 0.0889173299, -0.0058685066, -0.0015851187, -0.0095253056, 0.0180464312, 0.0507299788, 0.031126732, -0.0959891379, -0.0310051925, 0.0168207493, -0.0260258187, -0.0238556396, 0.0269541703, 0.0471677072, 0.0075374427, 0.0522606596, -0.0390974581, -0.0241135154, -0.013981943, -0.0088392571, -0.0950813964, 0.0489310622, -0.0186505914, 0.0928716958, 0.0247941464, -0.0210507829, 0.014143019, 0.0017696713, -0.0592460558, -0.0110738194, 0.0180823915, -0.0351304747, -0.0155713651, -0.0496952794, 0.0111508481, 0.0440678857, -0.0033774856, -0.0422539972, 0.0804828778, 0.0636744574, -0.0114794997, -0.0301103462, -0.1043789983, 0.0463163257, -0.0196113009, 0.0504127517, 0.0422242805, 0.0168036148, -0.0043331999, 0.0008327652, 0.056678161, -0.0907246992, 0.0625908747, -0.0622051395, 0.0219603311, 0.0105969757, -0.0244835597, 0.0056306385, 0.0229148716, -0.0700695887, -0.0238588899, -0.032078553, 0.0207302496, 0.0137431445, 0.0268843509, 0.0337547101, -0.0662629977, -0.0007759328, -0.0393452458, -0.0499694198, -0.0375579633, -0.0187937673, 0.0419852287, 0.0203056224, 0.0206231512, 0.0174915846, 0.064811267, -0.0295868013, 0.0249245875, -0.0054845866, -0.0054850671, 0.0070016063, -0.0227500889, 0.0304142516, -0.0513324104, -0.0399497673, 0.0165103134, 0.0440798365, 0.0025710212, -0.0415743887, -0.0050461339, 0.0748532191, -0.0762757584, -0.0030902959, 0.003557388, 0.0273172334, 0.0036309371, 0.036304716, 0.0481395088, -0.0034479555, 0.0050064437, 0.0584623925, 0.010874005, 0.055009976, -0.0002831786, 0.0118629131, -0.0072311303, -0.0196514595, -0.0540579334, 0.0323359855, -0.0143929264, -0.012015136, 0.002263196, -0.0221061539, -0.0106574558, 0.0015195925, 2.941e-7, -0.0608094819, 0.0262518954, 0.0456174277, -0.0482279025, 0.0005628595, 0.0275550112, -0.0031170461, -0.0375223234, -0.0309204776, 0.011255295, 0.0078160558, -0.0040806984, 0.1314193755, 0.0182921477, -0.1208194345, -0.0438767038, -0.0565530509, 0.0086155944, -0.0028187467, 0.0074043106, -0.0266125519, 0.1169707328, -0.0105020059, -0.0362452976, 0.0137735913, -0.0178005435, 0.0156054487, 0.0468787141, -0.020464031, -0.0030964613, 0.0029808679, 0.0157928187, -0.0148673672, -0.019349413, -0.0480593927, 0.0250899754, 0.0207282659, 0.068318516, -0.0153360199, -0.0287128258, -0.0025635422, 0.0549065098, -0.0440316647, -0.0373191349, 0.0357166529, 0.0498849526, -0.032726083, -0.0208813846, -0.0417828262, -0.0075746588, -0.0105352979, -0.0143800015, 0.0024483264, 0.0164158978, 0.0288937371, -0.0380534716, -0.0442722887, -0.0183631573, -0.0002943133, -0.0154970745, -0.0347103775, -0.0059716199, -0.0040927078, 0.0311294403, 0.0254883263, 0.0061319629, 0.0201347843, 2.218683369e-34, 0.053520266, -0.0374173671, 0.0250879228, -0.0237918496, -0.0039704833, -0.0373317562, 0.0021116131, 0.0114473142, -0.0201097466, -0.0149274757, -0.0364370272 ]
http://arxiv.org/abs/2406.11514v1
http://arxiv.org/pdf/2406.11514v1
Counterfactual Debating with Preset Stances for Hallucination Elimination of LLMs
2024-06-17T13:21:23
2024-06-17T13:21:23
Yi Fang, Moxin Li, Wenjie Wang, Hui Lin, Fuli Feng
cs.CL
cs.CL
Large Language Models (LLMs) excel in various natural language processing tasks but struggle with hallucination issues. Existing solutions have considered utilizing LLMs' inherent reasoning abilities to alleviate hallucination, such as self-correction and diverse sampling methods. However, these methods often overtrust LLMs' initial answers due to inherent biases. The key to alleviating this issue lies in overriding LLMs' inherent biases for answer inspection. To this end, we propose a CounterFactual Multi-Agent Debate (CFMAD) framework. CFMAD presets the stances of LLMs to override their inherent biases by compelling LLMs to generate justifications for a predetermined answer's correctness. The LLMs with different predetermined stances are engaged with a skeptical critic for counterfactual debate on the rationality of generated justifications. Finally, the debate process is evaluated by a third-party judge to determine the final answer. Extensive experiments on four datasets of three tasks demonstrate the superiority of CFMAD over existing methods.
[ 0.046444755, 0.0751262456, -0.0239057243, 0.0319785886, -0.0827974677, 0.0060273916, 0.0144719258, -0.0229399279, 0.0147407018, -0.0568941385, -0.0135438731, -0.0272712074, -0.014031345, -0.0345565006, 0.0215370767, -0.0139821861, 0.0634735152, -0.0471458696, 0.0515212901, -0.0548772104, 0.0082392804, -0.0092855887, -0.0192477778, 0.0091459546, -0.0065703322, -0.0301910602, -0.0025372833, -0.0337188654, 0.0009646103, -0.0136236874, -0.0000630222, 0.0632926971, -0.0043150801, 0.0602443777, 0.0000020358, -0.0622715019, -0.0305702966, -0.0198400933, -0.0451771952, -0.0152199538, 0.0222564675, 0.0497040749, 0.0004641985, 0.0045337658, -0.054067824, 0.0432483219, 0.0177105926, 0.0722572878, 0.0738577247, 0.0593259744, 0.0260705911, -0.0446381979, -0.0003109727, 0.0190980323, -0.0136505896, -0.002487696, 0.019890273, 0.0296929348, -0.0325423069, -0.0123228552, -0.0061126589, 0.0199653711, 0.0035000697, 0.0036319003, -0.0154191656, -0.0219046492, -0.0784357637, -0.0300766118, -0.0158696659, 0.0494431034, 0.0345167443, -0.0570005476, 0.0088250516, -0.0214339402, 0.0209177658, 0.0538676754, -0.0442545377, 0.0411536284, -0.0182392467, 0.0188421607, 0.0247491151, 0.006814546, 0.0281501114, 0.0243241284, -0.0346472375, 0.1006661803, -0.0118441032, -0.0349284336, 0.0449423902, 0.0225046519, 0.0170899797, -0.0467284508, 0.009822228, 0.0053533041, -0.0737382025, 0.0299750715, 0.0254120994, -0.0128465956, 0.0411880799, -0.0761687979, -0.0194854792, -0.0102302013, -0.0072856694, 0.0653623343, -0.0289568547, -0.0010343468, -0.0422108695, 0.0795159563, 0.0054128645, -0.0113389855, -0.0247722156, -0.0310714468, -0.0318680331, 0.0471051075, -0.0191836674, 0.0213182922, 0.0227513816, -0.0029128608, -0.0849585161, 0.0151463188, -0.0016240161, 0.0601238459, 0.0215618424, -0.035596434, -0.081208311, 0.0443351045, -0.032512255, 0.0200528819, 0.0273144972, -0.0610251166, -0.0261886101, 0.0169142019, -0.0117601193, -0.0123623004, 0.015585606, 0.0635849908, -0.0080661345, 0.0119273122, -0.0148846097, -0.0516179018, -0.0211429261, -0.098635681, -0.0013184315, -0.0575551279, 0.0026295104, -0.0258247908, -0.0111711361, -0.0483003668, 0.0203194357, 0.0098183323, 0.0053384928, 0.1141947284, 0.0095166573, -0.0051436373, 0.0554313436, 0.0236087181, -0.0517889597, 0.0769953579, 0.0092214104, -0.0095942961, 0.0362279341, 0.0122021819, 0.0445822105, -0.003417728, 0.0338213146, -0.0149368988, -0.0096440632, 0.0123457229, -0.0445536301, 0.0301510468, -0.0146101797, 0.068184562, -0.0280209351, -0.0543544441, 0.0643892959, 0.0428629257, -0.0224518366, -0.0145816766, -0.0096354242, -0.0125784511, 0.0002826388, 0.0459843203, -0.0340145677, 0.0332208835, -0.0202371813, -0.0307831857, 0.0394806974, -0.0008627091, -0.015945375, -0.0521937646, 0.0102481227, 0.0069839074, 0.0538032725, 0.0515365042, 0.0248300936, 0.0276770294, -0.0269897394, 0.0154882111, -0.0123406723, -0.0395780541, -0.0111094546, -0.0699857473, 0.0250947084, 0.0379551351, 0.0592753477, -0.0230000634, -0.0053428253, -0.0323612802, 0.0344390757, 0.0610940903, 0.0628331304, -0.0157724656, -0.0297515355, -0.0413937643, -0.0342466161, -0.0124582537, 0.0223173518, 0.0130223632, -0.0114955474, -0.0213986132, -0.0013576503, 0.0183634367, -0.0026692599, 0.0376062281, 0.0173271913, -0.0077627478, -0.030166287, 0.0022557029, 0.0549989268, 0.0251240786, -0.0072061392, 0.0384788662, 0.0382667258, -0.0054964302, -0.0367173292, 0.0292271487, -0.023483837, -0.0451383106, 0.035868194, -0.0500596426, -0.0181126092, -0.0019072617, -0.0066043972, -0.0293952711, 0.0360574611, -0.0159819499, 0.0152066061, -0.0453741997, 0.0248657539, -0.0148868402, -0.0064325617, -0.0415290333, 0.0566888824, 0.0041024527, -0.0107777491, 0.0288618021, 0.0204796903, -0.0051684608, -0.0496099703, -0.0149898045, 0.0262394026, 0.0380425192, 0.0024181656, 0.0427727848, -0.0670545474, -0.0540816933, -0.0167229418, -0.0720358118, -0.0142032588, -0.0179669615, 0.0008783631, -0.0066201175, -0.0560406372, 0.009908963, -0.0051861596, -0.040850509, -0.0152053023, 0.0349523574, 0.037633881, 0.0174067095, -0.0053004306, 0.0055263522, -0.0023990548, 0.0242980644, -0.0244365092, 0.0404480845, 0.0209368952, -0.0365214907, -0.0694990978, -0.0161812454, -0.0655496493, 0.0132233799, -0.0018601487, -0.0069730598, 0.0597545281, 0.0382591076, -0.0052388851, 0.0778337717, 0.0305073131, 0.0068320716, 0.0618465319, -0.0032672384, -0.0789003894, -0.0084757442, 0.004462298, 0.0463245325, -0.0086883353, -0.0408211909, -0.0002465948, 0.062892206, 0.0193801243, -0.0088257277, -0.0496328846, 0.0960858464, -0.0046181357, -0.053147357, 0.028451873, -0.0767531544, -0.0548205264, 0.0612675697, -0.0295722857, -0.0298264883, 0.0954376534, -0.0158150736, 0.0037706243, -0.031360466, 0.0222930405, -0.0268301796, 0.0376502834, -0.0116489865, -0.0084718876, 0.0052980902, 0.030802073, -0.0482196994, -0.047289703, 0.0428225249, -0.0526793413, 0.0320185199, -0.061280217, 0.0076547367, 0.0067187855, 0.0020853803, -0.0499699786, -0.0425509773, -0.0352548212, -0.0156338755, -0.0147410249, 0.0519376136, -0.0228261668, 0.0197749175, 0.0030282107, 0.003498381, 0.0145708648, 0.0000507674, -0.0024763986, -0.0240924172, 0.0186522976, 0.0480874851, 0.0739002228, -0.0058783651, 0.0527544655, 0.0849467665, 0.0387683548, -0.0046827947, 0.0038101138, -0.0275981948, 0.0013435089, -0.0145697044, 0.0135477381, -0.0092556635, 0.0478148125, -0.0416215248, 0.0193390492, 0.0691497922, 0.0477456339, -0.0211005211, -0.0137479417, -0.0291941985, 0.0179145709, 0.0124381408, -0.0255220402, -0.0886000693, -0.0105131455, -0.0000525721, 0.0010629373, -0.064162612, -0.0471566729, -0.0265891887, -0.1154238433, 0.0233652908, 0.029280439, 0.0219511967, 0.0405613892, -0.0191653632, 0.0179367904, -0.0266065095, 0.0087444782, 0.0097095249, 0.0454316884, -0.0084141167, 0.0221961699, -0.0075347773, 0.0162149575, 0.0179060735, -0.0293443576, 0.0883982852, 0.0417563133, 0.026758112, 0.0313833319, -0.0546985082, 0.0462035798, -0.037233524, -0.0083365496, -0.0137546733, 0.0167592019, -0.010503483, 0.0090351598, -0.0230638739, 0.0302482136, 0.0082821753, -0.0578122996, 0.0158534609, 0.0638721734, -0.0463152751, -0.0304702222, -0.0093654664, 0.0484713875, -0.0043275608, 0.086965166, 0.0323971212, -0.0209339522, -0.0641858876, -0.0445861742, -0.0087260017, -0.04612647, -0.0486242436, 0.0096340673, 0.0531732813, 0.0203291159, -0.065440841, -0.0620692149, 0.0050501223, 0.0246600192, -0.0188383404, 0.0324314721, 0.0006240128, 0.0174620748, 0.0122634079, 0.0127154337, -0.0452184863, 0.0146513665, 0.003516179, -0.0262743682, -0.0089225136, -0.0179109592, -0.0018069431, 0.0271911062, -0.0403670333, -0.0876763687, 0.0126733361, 0.0431038849, 0.0322868079, 0.0541840345, -0.000655604, -0.0330027044, 0.0233262926, 0.0121342978, -0.0021630423, 0.0133002233, 0.043960128, 0.0050953217, -0.0021000151, 0.0327783152, 0.021087829, -0.0007764836, 0.0261504278, 0.0576058924, -0.0470420457, -0.0136930561, 0.0462628715, -0.0082834242, 0.0364637077, -0.0019858163, 0.0258182716, -0.0283733178, 0.0158224311, -0.0402680822, -0.0426297709, -0.0005882441, -0.0030458516, -0.0101864496, -0.0577273965, 0.0127671901, -0.0131107103, -0.0582907647, 0.0197982136, 0.032643456, 0.0461310372, 0.0272825677, 0.0060133073, -0.0260475986, -0.011099861, -0.0052649509, 0.0346397683, 0.0013377179, 0.0527788103, 0.0270595327, 0.0716626793, 0.0179942474, -0.0302463602, -0.0108129466, 0.0015591137, -0.072776027, -0.0421934575, 0.0160553884, 0.0258752406, -0.0069366079, 0.0145165892, 0.0196416955, -0.0017982391, 0.0097685382, 0.0198004805, -0.0109916348, 0.0512554981, -0.0084183104, 0.011101569, 0.0273393672, -0.0331683792, -0.0185784698, 0.0537523031, -0.0383212902, 0.0350747891, -0.0206611156, -0.0170341656, -0.0415859818, -0.109424755, -0.0603271089, -0.013678561, -0.026213279, -0.0314809047, -0.0716509447, -0.0376805067, -0.035518121, 0.0356949568, 0.0091300635, -0.0230742935, 0.0061041513, 0.0532911681, -0.0118545201, -0.0229154825, -0.0316782594, 0.0201738514, 0.03673096, 0.0234968085, -0.0205933638, -6.241496641e-33, -0.0214927439, -0.0630700216, 0.0278565492, -0.0577481948, 0.0044264635, -0.0485061258, -0.0023399966, 0.0110812522, -0.020011209, 0.0161670558, -0.0072496934, 0.026324125, 0.0320288911, -0.0178473778, -0.0053367717, -0.0402696244, 0.0296515096, -0.0072634555, -0.0539638251, -0.0127134258, -0.0050569936, -0.0256356951, 0.0249738768, -0.065705359, 0.0714897066, 0.0093104616, -0.0119888019, 0.0423387662, -0.0690642595, 0.0413369648, 0.0004421194, 0.0329780616, 0.0229565632, -0.0546678454, -0.0224681124, 0.017930897, -0.0147535624, -0.013997172, 0.0643951893, 0.0179334953, 0.0125467069, -0.0227086209, 0.0286931302, -0.0068142721, -0.033436086, 0.0297779255, -0.008107191, -0.0486712605, 0.0154055124, 0.048036661, -0.0365118757, 0.012551791, -0.0119631924, 0.0027780454, 0.0073251957, 0.034801852, -0.0078456504, -0.0057512964, -0.086433202, 0.0504808202, 0.0274021775, -0.0572121963, 0.0573630929, 0.000422236, 0.0281633157, 0.0721345395, 0.0521765314, 0.0436243638, -0.0777103901, -0.0764599144, -0.0122434152, 0.0309441518, 0.088127546, 0.0755416676, 0.0375939272, -0.0104592033, -0.0367310829, -0.0175184011, 0.003313882, 0.0165977795, 0.0506546013, 0.017649686, -0.023936471, -0.0250079464, -0.0549065322, -0.0248852465, -0.0279142372, -0.0235928502, 0.0056956364, 0.009708832, -0.0496197045, 0.0022598959, 0.0327645876, -0.0590572357, -0.0065136789, 0.0187898166, 0.0301959421, -0.0175760314, -0.0078275036, -0.0098217884, -0.0254491456, 0.029844854, 0.014141283, 0.0311953984, 0.0383529924, -0.0113770394, -0.0159769598, -0.0315881185, -0.0467067473, 0.0138107985, -0.0391867645, 0.0205313601, 0.0076338132, -0.0113689322, 0.0557824709, 0.0285530444, -0.0183819756, 0.0060592121, 0.0044698035, -0.0259528235, -0.0350459144, 0.0407152325, -0.0277973153, 0.0159120094, -0.0257169288, 0.0068572857, -0.0136056999, 0.0127561018, 0.0013813999, -0.0383279175, -0.0046208403, 0.0043436764, 2.736e-7, 0.0136237899, 0.0446821377, 0.0160303786, 0.0004012904, 0.0340934508, 0.0188134257, -0.0121541321, -0.0141388196, 0.020440191, -0.071938023, 0.0096503422, 0.0459424257, 0.0370349959, 0.0619385727, -0.0486071557, -0.0336587206, -0.0491339788, -0.0076661231, -0.0398908779, -0.0098945387, 0.0542335324, 0.037726447, -0.000413959, 0.0066804569, -0.0295711271, -0.0221427921, 0.0651744157, -0.0155487657, 0.0104358122, 0.0253574438, 0.0283285379, -0.0529359281, 0.0179428607, 0.0624666773, 0.028837692, -0.0183903091, -0.0251042321, 0.030191483, -0.0003054485, -0.0923414081, -0.0497042835, -0.0068914448, 0.0161014143, -0.0392145365, 0.0660360903, -0.0365362428, -0.0280357748, -0.022634415, -0.0313480608, -0.0567349307, 0.0502959304, -0.0015335317, -0.0363852903, 0.0150228096, 0.0055704466, 0.0309890509, 0.0112756127, -0.0778357461, -0.0374424271, -0.0061749173, -0.0402021669, -0.0359086581, 0.0112669822, -0.0060041295, 0.0094626602, -0.0713693053, 0.0086024832, 2.247451297e-34, 0.0299487468, 0.0236980189, 0.0214181263, 0.0307591688, 0.0437664427, 0.0323065072, 0.0171657614, 0.0013451905, 0.0494644679, -0.0349462591, -0.0169900097 ]
http://arxiv.org/abs/2406.11930v1
http://arxiv.org/pdf/2406.11930v1
A Critical Study of What Code-LLMs (Do Not) Learn
2024-06-17T13:11:17
2024-06-17T13:11:17
Abhinav Anand, Shweta Verma, Krishna Narasimhan, Mira Mezini
cs.SE
cs.SE, cs.AI, cs.CL
Large Language Models trained on code corpora (code-LLMs) have demonstrated impressive performance in various coding assistance tasks. However, despite their increased size and training dataset, code-LLMs still have limitations such as suggesting codes with syntactic errors, variable misuse etc. Some studies argue that code-LLMs perform well on coding tasks because they use self-attention and hidden representations to encode relations among input tokens. However, previous works have not studied what code properties are not encoded by code-LLMs. In this paper, we conduct a fine-grained analysis of attention maps and hidden representations of code-LLMs. Our study indicates that code-LLMs only encode relations among specific subsets of input tokens. Specifically, by categorizing input tokens into syntactic tokens and identifiers, we found that models encode relations among syntactic tokens and among identifiers, but they fail to encode relations between syntactic tokens and identifiers. We also found that fine-tuned models encode these relations poorly compared to their pre-trained counterparts. Additionally, larger models with billions of parameters encode significantly less information about code than models with only a few hundred million parameters.
[ 0.0221157651, 0.0417586789, -0.0292745698, 0.0495857894, 0.0032927208, 0.0428413339, -0.0526573174, 0.0228555966, 0.0019125027, -0.0394653752, -0.0561244003, 0.0290709231, 0.0033105423, 0.0255714227, 0.063179642, -0.0059493599, 0.0563399009, -0.0309451278, -0.0261468478, 0.023347903, -0.0045078914, 0.0010532909, 0.0265335813, 0.0521376543, -0.0087710265, -0.0246275123, 0.00687224, 0.005440216, -0.0290259924, -0.0241086744, 0.0204069447, 0.0518136211, 0.003586778, 0.0172382481, 0.0000018368, -0.0382753573, 0.0051042815, -0.054653462, -0.0356490426, 0.0305839572, -0.0183920059, -0.0441392548, -0.0049130507, 0.009991033, -0.0313178785, -0.0335639268, 0.0935849026, -0.0260952003, 0.0384013653, 0.0671741888, 0.0120592369, 0.0036282858, 0.0262112413, -0.0346358977, 0.0460896268, -0.0185907278, 0.0199767333, 0.0049798293, -0.0041592149, 0.0363062099, -0.0230279285, 0.0251817498, 0.0167928711, -0.0029130182, 0.0571765862, 0.0496063977, -0.0501650125, -0.0193841215, 0.0008102346, 0.0456384383, -0.0562982634, -0.0489129759, -0.0086449087, -0.0068673114, 0.0136314416, -0.0616181716, -0.0250495858, 0.0265906658, -0.0213486664, 0.0381861292, 0.0334387608, -0.0142203318, 0.0337043256, -0.0063185329, -0.0210569073, 0.040998619, -0.0199233945, -0.0051710568, -0.0154509107, -0.0098348632, 0.0109276194, -0.0809459686, 0.010022128, 0.0465662368, 0.033598382, 0.0074348003, -0.0388499051, -0.016456956, 0.030676648, -0.0633485392, 0.029687304, 0.0294528808, -0.0595980994, 0.0407957025, -0.0875088722, 0.0704729035, -0.0153915482, 0.0554049984, -0.026101768, -0.0059142462, -0.04430658, -0.0188297164, -0.0581882298, 0.0843725204, 0.0203966573, 0.0085789869, -0.0021976628, 0.0488698147, 0.0090321423, 0.0437414944, -0.0368485525, -0.0174382962, -0.0195298493, 0.0055146301, -0.0098265223, -0.0204891395, -0.0260565095, -0.0288833715, -0.0235274564, -0.061088413, -0.020705983, 0.0273881368, -0.0174345449, -0.0384361669, 0.0177826304, 0.0872692019, 0.0259029884, -0.0100101838, -0.0562556535, -0.0039707716, 0.0010125623, -0.0099031376, -0.0015548145, -0.0775789618, -0.0428948589, 0.0553842783, 0.0064741955, -0.1033103764, 0.0157716386, -0.0028865244, -0.0423384383, 0.0794431567, -0.0342516899, -0.0029971928, -0.0029547415, 0.0153705375, -0.0407238603, 0.0364091285, 0.0165436324, 0.0102509214, 0.0132226609, -0.0603004843, 0.0395289175, -0.0128264353, -0.0052872212, 0.0024538545, -0.0270868018, 0.0268908832, 0.0505501889, -0.0027061636, 0.0804410651, 0.0150919631, 0.0061057806, -0.0486486927, 0.0176976714, 0.0489908271, 0.0453775227, 0.0663721338, 0.0532576256, -0.0115053561, 0.0102283796, 0.008144442, -0.088900432, 0.0523692518, -0.0128570935, 0.010282876, 0.0334126987, -0.0150725665, -0.0188464653, -0.0621309876, -0.0254602004, -0.018390758, 0.0126927719, -0.0110944724, 0.0217313897, -0.0130916918, -0.0237153675, 0.0410899185, 0.0249256101, -0.0323646031, 0.0097090136, -0.0431521833, 0.0233022217, 0.0500725135, 0.0214858931, -0.049693279, -0.0250897147, -0.0083632767, -0.0031634611, -0.0146849221, 0.0185115524, 0.0158931594, 0.0343168862, -0.0263304207, -0.0089750895, -0.0441767536, 0.0050965608, 0.0436828546, -0.003856519, -0.0254193004, 0.01644901, -0.0001557847, -0.0441842526, 0.043361783, 0.0280936528, -0.0144837778, -0.00057209, 0.0038145042, 0.0311617609, -0.0141404485, -0.0018430183, 0.0399625264, 0.0228762049, -0.0249599628, 0.0137989372, -0.0361336246, -0.0374989696, -0.0331247225, 0.0191310663, -0.0196978115, -0.0176990703, 0.0379917435, 0.0193158779, -0.0131914252, 0.0559749827, -0.0620335601, 0.070796594, -0.0047272178, 0.036912661, 0.0209311508, 0.0108488547, -0.0100115864, 0.0530713573, -0.0061428258, 0.050886564, -0.0116298562, 0.0694721937, 0.0161771644, 0.0035574634, 0.0233925059, 0.0029846367, -0.0301482361, 0.0133696767, -0.0103023322, 0.0076002399, -0.0307408534, -0.0217692237, -0.0517906249, 0.0005951501, -0.0129902977, 0.0148193184, 0.0079145832, -0.0090056323, -0.0032401392, -0.0376367904, -0.0235404428, 0.0056873756, -0.0593051538, 0.002475027, 0.0555956736, 0.0014272601, -0.0358680747, -0.0570665486, -0.0092378063, -0.0414734036, 0.0326874331, -0.0139432373, -0.0451521166, -0.0666858777, 0.0564792417, 0.002549876, 0.020638641, -0.0040374948, -0.0946490169, 0.0169423334, -0.023489682, 0.0152474539, 0.0660439953, -0.0186338183, 0.0132957911, 0.0602697693, -0.0110225175, -0.0634795576, 0.0196009614, 0.0219506864, -0.032000035, -0.0306721088, -0.0061662323, 0.0306805708, 0.1032054499, 0.0048582912, -0.000965773, -0.0678539649, 0.0042476836, 0.0295048337, 0.018293066, 0.0010372299, -0.0291022323, -0.0145123526, 0.0504616499, -0.0348475538, -0.1068756208, 0.073632203, -0.0471319109, -0.0443417057, -0.0148657616, -0.0140214395, -0.0490370914, 0.0503120981, 0.0082648657, 0.0326344408, 0.0497970134, -0.0884936824, -0.0257371739, 0.0224137884, -0.0301750619, -0.0063275266, 0.0382390842, -0.0253354143, 0.0098230941, 0.012924144, -0.0249712467, -0.0455203094, -0.0294031482, -0.0144370552, -0.0088308919, 0.0391769744, -0.0049245111, 0.0296666175, 0.0068656486, 0.0130211934, 0.0420158841, 0.0247007404, -0.0283571389, -0.0235015228, -0.0438507721, -0.026838351, -0.0194713268, 0.0044848225, 0.000354901, -0.0321472362, 0.0092394045, 0.0170096699, 0.0386677235, -0.0294590071, 0.0487386584, 0.0464270301, -0.03186737, -0.0460767634, 0.0245982409, 0.0376467034, -0.0424725153, -0.0144118816, 0.101019159, 0.0501499176, -0.0849896893, 0.0289993156, -0.0343468599, -0.0052414737, 0.0655117035, 0.0114133973, -0.0553610362, -0.0293211099, -0.0006356046, 0.0132130003, -0.0035696183, -0.0241378993, -0.0081300857, -0.0895572901, 0.0040921606, 0.0273422841, -0.039899718, -0.0930821598, -0.0211506579, 0.0103504304, -0.0000214448, -0.028194787, 0.0168665629, -0.0349311754, -0.0082436735, 0.0128437243, -0.0333595015, 0.0030523404, 0.0093946019, -0.0475837886, 0.0614967532, 0.1004235521, -0.0031870299, -0.0049887132, 0.0039630705, 0.0234419387, -0.0112743229, 0.0304164477, -0.0312303659, 0.0470622741, -0.0338409916, -0.0239509679, 0.0326864608, 0.037735302, -0.0613995492, -0.0098995287, 0.019996725, 0.0526460744, -0.0169421565, -0.0143314991, 0.0008751356, -0.0099891899, -0.0323877148, 0.052695442, 0.0933509395, -0.0095862625, -0.0236470923, -0.0596768633, 0.0230573881, -0.0164391529, 0.0061619123, 0.0118554765, 0.0112585379, -0.0316133872, -0.0704693422, -0.0532213897, 0.0421726704, 0.0043085809, 0.0014633685, 0.0054026549, -0.0152012557, -0.0064768083, -0.0414424688, 0.0348031819, -0.0350948535, -0.0084809642, -0.0681846812, -0.0344422236, 0.0152528426, -0.0238915123, -0.0002585415, -0.0280889776, -0.0892569721, -0.0262661818, -0.0135331163, 0.0619368367, 0.0172159988, 0.0415440463, -0.0584468134, -0.0678675175, -0.0562768877, 0.0054477877, -0.0864304528, 0.0163060464, 0.0493923016, 0.0044686883, 0.0209109802, 0.0427052937, -0.0422296859, -0.0040616328, 0.0269436911, -0.0030939977, -0.0482442491, -0.0133545902, 0.0400483124, -0.0210738853, 0.04882247, 0.024494905, 0.0084034763, 0.0007105113, 0.0173445567, 0.0188300628, -0.0085151521, -0.0306075197, 0.0004971999, 0.0406495892, -0.0236406103, 0.0304578915, -0.0235712416, -0.0296700615, 0.0310812723, -0.0023254594, 0.0812515244, 0.0155756436, 0.037263792, 0.041525878, 0.0052400641, -0.0271043926, 0.0153701259, -0.0021914137, 0.0190655626, -0.021050591, 0.0142585728, -0.002393994, 0.0054381341, 0.0076591596, 0.0121276891, -0.0332333148, -0.0547566377, -0.0019209774, 0.0031559879, 0.0543195829, 0.0070723649, -0.0027000983, -0.0211462751, 0.0203335267, -0.0260930117, 0.0342889056, -0.0308689065, -0.0146305664, 0.0280970633, 0.0404625349, -0.024903249, -0.0376318097, 0.10523884, 0.0105185611, 0.0265097469, -0.0154823428, -0.0176911503, -0.0367250293, 0.0366739221, 0.0441211797, 0.0227483008, -0.0210775677, 0.031711299, -0.0204598308, -0.0693207681, 0.0084855333, -0.0132303294, 0.005753106, -0.023627419, 0.0214716233, 0.0737532303, 0.0155361965, -0.0143758999, -0.0308468305, 0.0232554749, 0.027593147, -0.0326483287, -0.0329462253, -6.055931633e-33, -0.0377694368, -0.0469044894, -0.0275946539, 0.0132571403, 0.009100752, 0.0169597846, -0.0593351759, -0.0051289313, -0.0364546403, -0.0398771316, 0.006335095, 0.046275612, -0.0149598476, -0.0224857628, 0.0875301808, -0.0245301072, 0.022306418, 0.018076472, -0.0407886915, 0.0112175131, -0.0124109276, 0.022695791, 0.062801674, -0.034517996, 0.0126480218, -0.0068641421, 0.024744885, 0.0168365631, 0.0350480191, 0.0783820674, -0.0093903895, 0.0211293921, 0.0218420755, -0.0078549329, -0.0418753847, 0.0037170851, -0.0599772371, -0.0456387699, 0.0380391628, 0.0049174298, 0.0231003501, -0.1120047122, 0.0921126902, -0.0016879839, 0.0209409911, -0.0099116582, 0.0283159669, -0.0104916273, -0.0177934468, -0.0026644296, -0.0374445543, 0.0377351865, -0.0489243902, -0.0149449939, 0.0311717354, 0.0017359309, -0.0015297001, 0.0550370701, -0.008971842, -0.0099159647, 0.0151625108, 0.0862288475, 0.0418757796, 0.0061748298, -0.0002247567, 0.0314059369, 0.0283761676, -0.0053194058, -0.0211111847, 0.0274448059, 0.0433578677, 0.0491239056, 0.0336907059, -0.0081229676, 0.0213795677, 0.0249483939, -0.0222286545, -0.0169049706, -0.0249221809, 0.0657634959, -0.0010075052, 0.0468412973, -0.0574508868, -0.0191105213, -0.0103361644, -0.0338898748, -0.0431680121, -0.064352721, 0.0304708518, -0.0297738053, -0.0022102864, 0.0318050385, 0.0199149027, -0.0319307223, -0.0075668748, 0.0176429469, 0.0071392581, 0.0511520803, 0.0157957301, 0.0146361925, -0.0726716295, -0.015354584, 0.0238456503, -0.0190468691, 0.069984518, 0.0307202097, 0.0410991348, 0.0230089966, -0.0535071865, -0.045871947, -0.0412523001, -0.0323214233, -0.0289711487, 0.0081691649, 0.0373396389, 0.0113837849, -0.0012072162, 0.0302108154, -0.0256112646, -0.0069678514, -0.0545576699, 0.0056631127, -0.0192676187, 0.0394473188, -0.0417254306, -0.0580997244, -0.0595972687, 0.0584718809, 0.0552640855, -0.0078379391, -0.030488234, 0.0238911584, 2.646e-7, 0.0565524958, 0.0467280634, 0.0309211873, 0.0262278691, -0.0014629704, 0.0408642814, -0.0334653519, 0.0275543462, 0.0065627117, -0.0220359545, -0.0128148636, 0.015895335, 0.0321454331, 0.0183304865, -0.0573277771, 0.0203703102, -0.0180909242, 0.0029908125, -0.0276774038, -0.0085043609, 0.0455395579, 0.1113119423, 0.00543465, 0.0231329966, 0.0133702569, -0.0480759069, 0.009014369, -0.0382658988, 0.0367140137, 0.0043856781, -0.0530063957, 0.0342894383, -0.0197483711, 0.0038457292, -0.0009687185, 0.0054906583, 0.0020523332, 0.0609478988, -0.0446360856, -0.0076697897, -0.0092558758, -0.0098398197, 0.0055836262, -0.0898287594, 0.0464920662, -0.0389371365, 0.0053821076, 0.0206509531, 0.0248365141, 0.0287037287, -0.015601648, -0.0045582689, -0.0127820233, 0.0209027026, -0.0024284171, -0.0448357575, -0.0125001958, -0.0786091238, -0.052612558, 0.0203147084, -0.0052831625, -0.0294598285, -0.0665914044, 0.0025694694, 0.0575606562, -0.0371555462, 0.0033312987, 2.34014821e-34, 0.0011619686, -0.0552586354, 0.0223918036, 0.06144014, 0.0414839499, -0.0235986002, -0.035515368, 0.0556160733, 0.0319958329, -0.0229386762, -0.0038760568 ]
http://arxiv.org/abs/2406.11503v1
http://arxiv.org/pdf/2406.11503v1
GeoGPT4V: Towards Geometric Multi-modal Large Language Models with Geometric Image Generation
2024-06-17T13:04:27
2024-06-17T13:04:27
Shihao Cai, Keqin Bao, Hangyu Guo, Jizhi Zhang, Jun Song, Bo Zheng
cs.CV
cs.CV, cs.CL
Large language models have seen widespread adoption in math problem-solving. However, in geometry problems that usually require visual aids for better understanding, even the most advanced multi-modal models currently still face challenges in effectively using image information. High-quality data is crucial for enhancing the geometric capabilities of multi-modal models, yet existing open-source datasets and related efforts are either too challenging for direct model learning or suffer from misalignment between text and images. To overcome this issue, we introduce a novel pipeline that leverages GPT-4 and GPT-4V to generate relatively basic geometry problems with aligned text and images, facilitating model learning. We have produced a dataset of 4.9K geometry problems and combined it with 19K open-source data to form our GeoGPT4V dataset. Experimental results demonstrate that the GeoGPT4V dataset significantly improves the geometry performance of various models on the MathVista and MathVision benchmarks. The code is available at https://github.com/Lanyu0303/GeoGPT4V_Project
[ -0.0492013134, 0.1123985723, -0.0111151664, 0.0836902857, -0.0503309034, 0.0103464853, 0.0291563943, 0.0088102659, -0.0154658984, -0.023949476, 0.0017028518, -0.0149237337, 0.0022865427, 0.0299980044, 0.04572317, -0.0890379176, -0.045393616, -0.0866685584, -0.0135744335, -0.0299937166, -0.0077286968, 0.0323419198, -0.0246972796, 0.0159693789, -0.0738858879, -0.0615432449, -0.0282518156, 0.0034474873, 0.0262029525, -0.0294245183, -0.0125326067, 0.0748746917, 0.0466961712, 0.0720157549, 0.0000021535, -0.0001383816, -0.0149305407, 0.0541512482, 0.0307892766, 0.0264065377, 0.0293714255, -0.0741838291, -0.0249604974, -0.0479340814, -0.0446217321, 0.0001220787, 0.0308165718, 0.0286637619, 0.0701356828, 0.0451911613, -0.0274883229, -0.0404856056, 0.0305784103, -0.0331112593, 0.0211238693, -0.0410379469, 0.0181380119, 0.0491254292, -0.0127903922, 0.0534647405, -0.0325691476, 0.0358095504, 0.0319196656, 0.0122379484, -0.0579646789, 0.0216963626, -0.0070395707, 0.0143364491, -0.0274164472, 0.082916446, -0.0136294467, -0.0134368073, -0.0084021725, -0.0096976664, -0.0123545919, 0.0491843447, -0.0958918706, 0.0213262457, -0.0118224528, -0.0123265833, -0.0600189492, -0.042504549, -0.0244579222, -0.0268689469, -0.0003206926, -0.0093807299, 0.0614358895, 0.0040196292, -0.0699889958, 0.0199904945, -0.0725516304, -0.0444391295, 0.0177447125, 0.0172651708, 0.0290376768, 0.0119939325, -0.0564150363, -0.0481534079, -0.00521809, -0.0119677391, 0.0776012093, 0.0255543832, -0.0021314495, 0.0299567934, -0.0617339164, 0.0388211012, -0.0359012224, 0.0461059026, -0.0217555761, 0.0138208205, -0.0076540671, 0.0046878816, -0.0611912683, -0.0336865038, -0.0114919459, 0.0150909731, -0.0090668304, 0.0185219124, 0.0041673156, 0.0230224282, 0.0292493198, -0.0021451544, -0.071709998, -0.0601275824, 0.0096452916, 0.0106762704, -0.0130263446, 0.0152752232, -0.0269079376, -0.0375405774, -0.0090039233, 0.0109145604, 0.040191602, -0.0247878991, 0.0099136475, 0.0646945313, -0.0159015115, -0.0290412512, -0.0019119151, -0.0238994434, -0.0141532524, -0.0873248652, 0.0197665561, -0.0577466786, 0.006237437, 0.0115859136, -0.0087133441, -0.0107769668, 0.0060500451, 0.0075591807, 0.0156472828, 0.0708824396, 0.0312079955, -0.0160584394, 0.0159722473, -0.0068187048, -0.0076027699, 0.073725678, 0.0551404804, 0.022020841, 0.0140124755, -0.0239758324, 0.0029711102, 0.0589161739, 0.0387974493, 0.0644693822, -0.0356950611, 0.0035530399, 0.0385295488, 0.0489951372, 0.0091530858, 0.0539585426, -0.0363750383, 0.0068976767, 0.0478569679, 0.0371926762, 0.0137259495, 0.0342538878, 0.036472261, 0.0253224354, 0.0081752427, -0.0199383255, -0.0497989804, 0.0210335758, -0.0120498175, 0.0364587866, -0.0207218882, 0.070854947, 0.0071711871, -0.0199761465, 0.00513244, -0.010177712, -0.0240596086, -0.0072337841, 0.0987398326, -0.0006076366, -0.0138770491, 0.0414386503, 0.0124188839, -0.0532913692, -0.0325191021, 0.0044069877, 0.0261763372, -0.050928656, 0.0336458646, -0.0154717127, -0.0493601523, 0.0007794848, 0.0390361808, 0.0384220146, 0.0448116362, 0.0337616354, -0.0026303388, -0.0298685618, -0.0305102542, -0.0032196685, 0.024208799, 0.0061588623, 0.0307138953, 0.0081232823, 0.0269721188, -0.0477454029, 0.0119837336, 0.0244361013, -0.0037116839, -0.0174248107, -0.0501784831, 0.0100442944, -0.0162108913, -0.0163322333, 0.0187839288, 0.0022974615, 0.0576823875, -0.038720116, 0.0385179892, 0.0020749439, -0.0509021096, -0.0358397812, 0.0695642307, -0.0661676675, -0.0319927521, -0.0043654977, -0.0411589257, -0.0266815871, 0.0362218283, -0.0136153223, 0.0234928187, -0.0151294796, -0.0126858894, -0.0049571698, -0.0183073748, -0.0218235757, 0.0550232306, 0.0170993432, 0.0373250619, 0.0033971933, 0.0350484811, -0.0037902924, 0.0334547982, 0.0058630728, -0.0081639038, 0.0143151274, 0.0312859677, -0.0464499928, 0.0406959951, -0.0163966641, -0.0335789919, -0.0685179904, 0.0038327489, -0.0091340672, 0.0275166407, 0.0282094013, -0.0230350103, -0.0311826691, -0.0248041004, -0.0393873304, 0.0241130237, 0.0056091421, -0.023530867, -0.0088302055, -0.0053499057, -0.0118943546, -0.0080098473, -0.0144843068, -0.0341591239, 0.0335953496, 0.0433625355, 0.0260470975, -0.0331627056, 0.0113713779, -0.0032033587, 0.0235024784, -0.0134948231, -0.0048226789, 0.0119689014, -0.0495539941, 0.077476941, 0.0287318304, -0.0060902345, 0.0078002168, 0.0094732959, -0.0524288304, -0.0472264439, 0.0143415947, -0.0476807803, -0.0310654286, -0.015754424, -0.0173732694, -0.029373914, 0.0525243133, -0.0315148085, -0.0173528418, -0.0334049724, 0.0543449596, -0.0059152613, 0.0368604213, -0.0337353274, 0.0365775041, -0.0060227141, 0.0321152471, 0.014704911, -0.0564898252, 0.0193027724, -0.0711513162, -0.0264914464, -0.0212615132, 0.0142658874, -0.0650395006, 0.0559301302, 0.0317128636, 0.0169861168, 0.0025110657, 0.0125354202, -0.0548221879, 0.0409251451, 0.0375072919, -0.0077157752, 0.0510710664, -0.0506719798, 0.0322708078, -0.0529935844, -0.054258801, 0.0010359487, 0.0215860959, -0.0104590133, -0.0209701844, -0.0091472669, -0.0694993362, 0.0172400214, 0.020831462, 0.0075764363, 0.0217080861, -0.0613523349, -0.0128640048, -0.041137971, 0.0521536283, 0.0630946308, 0.0311652794, -0.0404005721, -0.0572525971, -0.0262952521, 0.0443591252, 0.0187921561, 0.0032170904, -0.0286806859, 0.0309245195, 0.0391894579, 0.0516501442, -0.0045781275, -0.0001668806, 0.0478133596, -0.024831051, -0.0209631026, 0.0489213467, 0.0130316643, -0.0479463898, -0.0437802598, -0.0348017104, 0.0725234076, 0.0144731048, -0.0083801225, -0.073903054, -0.0237401668, 0.0270352904, -0.0345608369, 0.0606552809, -0.0096277045, -0.0112841241, -0.0797529295, 0.069413878, 0.0275912955, -0.0344320983, -0.0251647253, 0.0035395226, 0.0217605885, -0.0120764682, -0.0272879228, -0.0277912896, -0.0288524274, 0.0363680534, 0.0130762216, 0.034136083, -0.0220937449, -0.0047662407, -0.0231420361, -0.0492708869, -0.0221689716, 0.0389182046, -0.0051100901, -0.1072317436, 0.0514410473, 0.0670247823, -0.0371190533, 0.0024881728, 0.017867269, 0.0290664043, -0.0192132872, -0.0016137977, 0.0625455827, -0.069220908, -0.0343343727, 0.0076829884, 0.0828851163, 0.0157932974, 0.0297269728, -0.0201260839, -0.0217807628, -0.0111672524, 0.0157159548, 0.0075302743, -0.0121722566, -0.0590607449, -0.0463456176, 0.0541508719, -0.0291161835, -0.0327112935, -0.0003822449, 0.0539982766, -0.0142552163, -0.007663988, 0.0201516878, 0.0532267764, 0.0609717816, 0.0085810553, -0.0285698436, 0.0061771176, -0.0194023959, -0.0411068946, 0.0523418188, -0.0544380955, 0.0468812399, -0.0492725596, 0.0097217485, 0.0165663101, -0.0140392222, -0.0299893264, 0.0541765615, -0.124388285, -0.0200774949, -0.0351803191, 0.0465908051, 0.0142991291, 0.0368862562, -0.0107625872, 0.014429789, -0.0125323255, -0.0021017024, -0.0278175436, -0.0068268836, -0.0136397341, -0.0050979909, -0.0014044034, 0.0068454691, 0.0312268399, -0.004749761, -0.0094545176, 0.0012048373, 0.0048575848, -0.0303063132, 0.0379651524, 0.0235752147, 0.034153156, 0.0053949989, 0.0231830031, -0.0531480201, -0.0131910723, -0.0392409116, -0.0161987059, -0.0503835902, 0.0320008807, 0.0048641525, -0.0490124449, 0.0148320971, -0.0262086429, 0.0200581364, 0.042378366, -0.0360756256, 0.0377219692, 0.012131053, -0.0207328442, 0.0918513983, -0.0072658295, 0.0473796576, 0.0023160647, -0.041824434, 0.0336664729, -0.0251897629, 0.0269764513, 0.0020873682, -0.033075586, 0.0022304887, 0.0209952351, -0.025169095, -0.0915824696, -0.0779298469, 0.0136815282, 0.061275918, 0.0301357824, 0.0361571386, -0.078460373, -0.0302035753, -0.0015895523, 0.0474980436, 0.028211873, -0.0146465087, 0.0705364868, 0.0083071468, -0.0086255874, -0.0461773537, 0.0780967548, -0.0086434241, 0.0263354201, 0.0273086652, 0.0098223137, -0.0550878979, -0.0171555541, 0.021162523, 0.0007385571, 0.0129406815, 0.0157188475, -0.0418599844, -0.0671839565, -0.0254185237, 0.0260377508, -0.0461962037, 0.0247242339, 0.0555475354, 0.0573388748, -0.0397906341, -0.0216803662, -0.0012045378, 0.0376693681, -0.0214259699, -0.0271782968, 0.0127524873, -5.22757105e-33, -0.0158979855, -0.0186820365, 0.0250184666, -0.0130049773, -0.0016324013, -0.0213151164, -0.0090254359, 0.0380232297, 0.0253127646, -0.0006613466, 0.0275749154, -0.0112139834, 0.008603612, 0.0455932394, 0.0015556194, 0.0230310541, 0.0156930014, -0.0154031245, -0.0134264398, 0.0392294489, -0.013728369, 0.0150515633, 0.0646548271, -0.0582089163, -0.0239746328, 0.0137966527, -0.0298540201, 0.0016836805, -0.0383052193, 0.0629424378, -0.0359170064, 0.0379279815, 0.0141969994, -0.0014465546, -0.0237115342, 0.0105316294, -0.0266761146, -0.0116666351, -0.0254010875, 0.0434158966, -0.102847673, -0.0296189375, -0.0074060778, -0.0278955158, -0.0239172336, -0.0427950472, 0.0339586213, -0.019382257, -0.0222268701, 0.019523168, -0.0484405383, 0.0369110182, -0.0258135386, -0.0349320956, 0.0293980297, 0.0258972608, 0.0520554967, 0.0372021385, 0.0053067058, 0.0329615436, 0.0387491137, 0.027370479, 0.0612722002, -0.0042227441, -0.0024277973, 0.0228491649, 0.0189221855, -0.0868367851, -0.0078234654, 0.0079778004, 0.0462859459, 0.0644770116, 0.0513324365, 0.0374730341, -0.0152084213, 0.0092991358, -0.0096939085, 0.0172637794, -0.0706213787, 0.0023102383, 0.004198405, 0.0116039496, 0.0007216957, -0.0009399983, -0.0497583859, -0.0307850763, -0.03447989, 0.0217074063, 0.0129132252, 0.002708216, 0.0022626028, 0.0386321731, 0.0110861007, -0.014710648, -0.0562741496, 0.0203002691, -0.0478273816, 0.0361262485, -0.0124369571, 0.0520436876, -0.0135483127, -0.0135538336, 0.0111139873, 0.0114002032, -0.0016069795, -0.0140299955, 0.0151480557, 0.0200856309, -0.0485155135, 0.0157529507, -0.064263247, -0.0094531262, 0.0458214283, 0.0336930119, 0.0466714464, -0.0010894984, -0.0144651709, 0.0446908325, 0.0233370326, 0.0045249262, -0.0299184676, -0.0015214096, -0.0478967801, 0.008423131, 0.0001095581, -0.0169485062, -0.0255784653, -0.037234582, 0.0930358618, -0.0521587208, -0.0146333026, 0.0067522274, 2.641e-7, 0.0595994405, 0.0638260245, 0.0396442339, -0.0061775642, 0.0197034962, 0.0582567528, -0.0546263084, 0.0015441397, -0.0041136728, 0.0169454422, -0.0042398572, 0.0148199927, 0.0706677884, 0.0539723411, -0.027250858, 0.0807552338, -0.0143611459, -0.0202423725, -0.0826902539, 0.0233048648, 0.078765139, 0.0660365894, -0.0203273594, -0.0228800979, 0.0140432091, -0.0255953744, 0.0664172396, -0.0314831845, -0.0208269302, 0.0143252052, -0.0325135328, -0.0293663982, -0.0184122697, -0.0118793566, 0.0014387025, -0.0123951929, 0.026813576, 0.042515263, 0.0213744398, 0.052728042, 0.0016420519, -0.0101663535, -0.0234517362, -0.0675291047, 0.0382433832, -0.0297740139, -0.0083613032, -0.0516971275, -0.0023243311, -0.0081768949, 0.0349787064, -0.0272476561, -0.0158101469, 0.0161903948, 0.0385680012, -0.0247122087, 0.0003208969, -0.045164533, -0.0199637227, 0.0219507571, -0.0549685247, -0.009993393, -0.0645731539, 0.0162889753, 0.0300057493, -0.0384538919, -0.0090060374, 2.754403669e-34, 0.0074256933, -0.0112160733, 0.0496215336, 0.0321707614, 0.0029095241, -0.0177052263, 0.0396612361, 0.0003709372, -0.0463524573, -0.0653051138, -0.0254587624 ]
http://arxiv.org/abs/2406.11497v2
http://arxiv.org/pdf/2406.11497v2
CrAM: Credibility-Aware Attention Modification in LLMs for Combating Misinformation in RAG
2024-06-17T13:01:12
2024-06-27T10:18:53
Boyi Deng, Wenjie Wang, Fengbin Zhu, Qifan Wang, Fuli Feng
cs.CL
cs.CL
Retrieval-Augmented Generation (RAG) can alleviate hallucinations of Large Language Models (LLMs) by referencing external documents. However, the misinformation in external documents may mislead LLMs' generation. To address this issue, we explore the task of "credibility-aware RAG", in which LLMs automatically adjust the influence of retrieved documents based on their credibility scores to counteract misinformation. To this end, we introduce a plug-and-play method named $\textbf{Cr}$edibility-aware $\textbf{A}$ttention $\textbf{M}$odification (CrAM). CrAM identifies influential attention heads in LLMs and adjusts their attention weights based on the credibility of the documents, thereby reducing the impact of low-credibility documents. Experiments on Natual Questions and TriviaQA using Llama2-13B, Llama3-8B, and Qwen-7B show that CrAM improves the RAG performance of LLMs against misinformation pollution by over 20%, even surpassing supervised fine-tuning methods.
[ 0.0500598066, 0.0180766191, -0.0142724039, 0.0439612642, -0.0187807269, -0.0231826659, -0.0402463637, 0.0000359554, -0.0169855226, -0.0617381185, -0.0300916899, -0.0189814027, -0.0105865858, -0.0344552584, 0.0455643311, 0.0083507821, 0.0857649595, 0.0007099044, 0.0197985582, -0.0040474394, 0.012538515, 0.0182449911, 0.015471397, 0.0189626608, 0.0090627996, -0.026388824, 0.0402060598, 0.0168104991, 0.0042606909, -0.0135215251, 0.0157053676, 0.0586355776, 0.0010485349, 0.0518129617, 0.000002066, -0.0498343185, -0.0175733399, -0.0213938989, -0.0455783233, 0.0482508168, 0.0273800343, 0.0362970494, 0.0040137675, 0.0308643486, -0.0175221786, 0.0327227078, 0.0272297151, 0.0555349179, 0.0801813304, 0.0728017166, 0.0211775117, 0.0074980352, 0.0376467668, -0.0269390214, 0.0806433484, -0.0196601469, 0.0242249593, 0.0280858502, -0.033522889, 0.0471274666, 0.0032126354, 0.0417443924, 0.0022106373, -0.0140765356, 0.0336679853, 0.0062535335, -0.0576662123, -0.0084458934, 0.0171972103, 0.0676336959, 0.0133780651, -0.0740679055, -0.009939786, 0.0082749436, 0.0375348739, 0.0447946377, -0.0246520955, 0.0219500754, -0.027196167, 0.0153827686, 0.0424984433, -0.0268046651, 0.0411827937, 0.0365852937, 0.0138204712, 0.063790381, 0.0032824753, -0.0297176689, 0.0213704556, -0.0021188043, -0.0024770421, -0.0662316233, 0.0057643205, 0.0136567187, -0.0124192145, 0.0237086397, -0.0207623504, -0.0328410417, 0.057114657, -0.0590183474, -0.029044548, 0.0225278828, -0.0467351116, 0.0339727774, -0.0204187818, 0.0240668785, -0.0343050398, 0.0464441776, -0.0054154494, 0.0078876326, 0.0018381858, -0.0016049553, -0.0156317726, 0.0190580655, -0.0179811567, 0.0272974037, -0.0422387756, -0.0090564135, -0.0284257568, 0.0035273987, -0.0107116876, 0.013646883, -0.0597928651, -0.0186434425, -0.0569849424, 0.051766295, -0.0083342874, 0.0173434317, 0.0133769931, -0.0684136823, -0.0318690874, 0.0348819084, -0.0225515217, -0.008317031, -0.0065778331, 0.0086889574, -0.0112729017, -0.028092606, -0.0440999791, -0.0478197969, -0.0073834909, -0.0534607805, 0.022504257, -0.0542708598, -0.0072093122, -0.0234802123, -0.004334989, -0.0321081057, 0.0162207298, 0.0450504273, -0.0429562703, 0.0293894913, 0.0096349269, -0.0042948918, 0.0542864166, 0.0346690454, 0.0047915867, 0.0466622338, 0.0025243803, 0.0409503169, 0.0471422002, 0.0165041201, 0.0178583004, -0.0001723599, 0.0613070503, 0.0082072252, 0.001353971, 0.016039975, 0.0024297596, 0.0062210183, 0.0262849741, 0.0416387431, -0.0294681452, -0.0344745144, 0.0720452592, -0.0562175289, -0.0042085792, 0.0071754819, 0.0135366526, -0.0021721236, 0.0092247101, 0.0625326931, -0.0718999803, 0.0605592802, -0.0649218112, -0.0005079565, 0.0744180307, 0.0443923622, -0.0130724059, -0.0553660132, -0.0048554642, 0.0051703257, -0.0453156792, 0.0137480656, 0.0023471208, 0.0208688378, -0.0365206935, 0.0753674507, 0.0416584387, -0.0260372944, 0.0262932796, -0.0403822511, 0.0513500161, 0.0217669215, 0.0619694032, -0.0135181826, -0.0325268731, -0.0298577063, 0.0159032177, 0.0713431686, 0.0349687971, 0.0024929638, -0.0337341614, -0.030117929, -0.0000151858, -0.0415321477, 0.029926246, 0.0074876291, 0.0430117808, -0.0025244958, 0.0251412597, -0.0356660523, -0.0621963516, 0.0290624667, -0.0039463341, -0.0462163649, -0.0291794837, 0.0041881003, 0.0351545475, -0.000523702, -0.001100104, 0.0239740517, 0.0527874455, -0.0154412128, 0.0076220217, -0.0225875601, -0.0096547818, 0.0083334101, 0.0428635031, 0.0005063974, -0.0291300882, 0.0138350949, -0.0257680081, -0.013707919, 0.0158111732, -0.0639863536, 0.0284931585, -0.0512510724, 0.0038327838, 0.0017545823, 0.0388457477, -0.0248608217, 0.0692709312, -0.0402223393, 0.0119977137, 0.0378879867, 0.004478693, -0.0022380932, -0.0099046268, 0.0207894444, -0.0222271271, 0.0049440381, 0.0089357505, 0.0471372828, -0.0378682502, -0.0471709408, -0.0251432229, -0.013827607, -0.0003804258, -0.0300400965, 0.0035670078, 0.0339770168, -0.018841885, 0.0080633704, 0.0031099981, -0.038935326, -0.0051196599, 0.0152236158, 0.0207741279, 0.0062801735, 0.0042117322, 0.022208618, -0.0337093845, 0.0126904538, -0.0050053773, 0.0202217791, 0.0218003895, -0.0461783782, -0.0876732618, -0.003949428, -0.0783605054, -0.0036584919, -0.0125911068, -0.0275031216, -0.012507475, 0.017533496, 0.0376207158, 0.0405843109, 0.0317193642, -0.0357851274, 0.0848623589, 0.010359141, -0.0635984614, -0.0045028417, -0.0100082131, -0.037528757, -0.0089338971, -0.0811727419, 0.0468577072, 0.0208220556, 0.012587795, -0.0031849823, -0.0132885389, 0.0282702651, 0.0175774843, -0.0332395397, 0.0371201262, -0.0344796404, -0.0395581461, 0.0349492729, -0.0468611233, -0.0682670027, 0.0884639025, -0.0525364466, 0.0166535433, -0.0520898327, 0.0518430397, -0.0045319926, -0.0421221666, -0.0196412597, 0.0280616675, 0.0179296061, -0.0045041982, -0.0322773531, -0.0309014525, 0.035233248, -0.0555364788, 0.0484212339, -0.0179067161, 0.0050443225, 0.0233812444, 0.0032084591, -0.0682266578, -0.0468786545, 0.0203910358, -0.0332194827, -0.0391953811, 0.0076108542, -0.0765727684, -0.0549307987, 0.0686616078, 0.0010068215, -0.0369123705, -0.0098149562, 0.0061984891, 0.0361892097, 0.0549263209, 0.0363174714, 0.0757942945, -0.0162699204, -0.0360928811, 0.0587788522, -0.0058575715, -0.0304573961, 0.0324604623, -0.0541271269, 0.0269563347, -0.0393870398, -0.0071366439, 0.0115986448, 0.0176415797, -0.0660920441, -0.0287120622, 0.0791845247, 0.0342519768, -0.0351767577, -0.029074423, -0.0461176485, 0.0141430534, 0.0350066274, 0.0346135832, -0.0530621707, -0.0115931164, -0.0033618871, 0.0380919725, -0.0112934513, -0.0000445278, -0.0090546282, -0.1263898909, 0.0566217564, 0.0192076527, 0.007017782, -0.0111670997, -0.0503917299, 0.0066688838, 0.0326433145, 0.0347829126, 0.0424679853, 0.0145548349, -0.0003591651, -0.0024353457, 0.0305609535, -0.022313416, -0.0071227271, -0.0038010322, 0.0430689529, 0.0473960899, 0.0185834728, -0.0097761396, -0.1264247447, 0.0248169154, -0.0109280385, -0.019353224, -0.0272548757, 0.0572555736, -0.0086806556, 0.006448559, -0.0156137012, 0.0052005397, 0.028142551, 0.004826467, -0.0139092626, 0.0722811818, -0.0168510433, -0.0118749635, -0.0288233161, 0.0211491361, 0.0231652483, 0.0663944483, 0.0290967152, 0.0102714719, 0.0177625511, -0.0379625112, 0.0266675763, 0.0075297127, -0.0399611518, 0.0550178401, -0.0161052663, -0.0627414957, -0.0969483927, -0.0304159876, -0.0337227434, 0.0120056355, -0.0005641302, 0.0206480324, 0.0004270886, -0.0200258717, -0.0205503963, 0.0306051616, -0.0836643726, -0.0004832598, -0.0376061834, 0.0205757711, 0.0266226865, -0.0233579818, 0.0099441232, 0.0520692095, -0.0084545249, -0.0578014851, 0.0097371219, 0.0594754852, 0.0239386652, 0.0431071296, -0.0243994519, -0.0505529046, 0.017725138, 0.003675642, -0.0484245084, 0.0493354872, 0.0049356613, -0.0153239816, 0.0027900189, 0.0450857431, -0.0511292554, 0.0295619201, 0.004340081, 0.0179705955, -0.0226665046, -0.0254237615, 0.0378473699, 0.0346500613, 0.0641618073, 0.0106703145, 0.0323353633, -0.0202765949, 0.0285027456, -0.0201903917, -0.0325248539, 0.0168698076, 0.0329083055, 0.0159175843, -0.0340444408, 0.0303212609, 0.0188845005, -0.0648632497, 0.0464779139, -0.0216823891, -0.0039266464, -0.0307143573, 0.0581301786, -0.0047306567, -0.0153893866, -0.03900107, 0.0048164288, 0.0084221205, 0.0747420564, -0.0093547422, 0.0261306632, 0.0019058591, -0.0407251306, 0.0029546265, -0.0117922118, -0.0348738916, -0.0103863636, -0.0350811034, 0.0107102729, 0.0208884869, 0.0161664113, 0.0677424073, 0.0093560144, -0.0102058183, -0.0095454892, -0.0269384533, 0.019409012, -0.023907505, 0.0358816981, -0.008570483, -0.015916707, 0.0209905487, 0.0417265072, -0.0314273201, 0.0111653339, -0.0011495512, -0.0528358594, -0.0393206328, -0.0699870065, -0.0649587363, 0.0396775417, -0.0280569177, -0.0002863663, -0.0680810958, -0.0622471496, 0.045067858, 0.030419359, -0.0206371527, -0.0317352191, -0.0130468104, 0.0723797977, 0.0005059426, -0.018111676, -0.0451968759, 0.0213963315, -0.0519626178, -0.0062586307, 0.0142890019, -6.839981222e-33, -0.025132563, -0.0611642972, -0.0032263838, -0.0412333608, -0.0132144941, 0.0239525288, -0.0444715247, -0.0048944862, -0.0472919084, 0.0100477263, -0.0026548845, 0.0367162526, 0.0026590456, -0.0198045317, -0.0242129937, 0.0133907776, 0.0569700263, 0.0028485879, -0.0551144071, 0.045311626, 0.057835646, -0.013617808, 0.0617116205, -0.0725674406, 0.0730799139, -0.0117304642, -0.0123122539, 0.0216122866, -0.0615429915, 0.0618069023, -0.0148188835, 0.0508853123, 0.0132341646, -0.0447495356, 0.0017198693, 0.0012434901, -0.0624748245, -0.0354379267, 0.0657712668, -0.0376275219, -0.0235770307, -0.043904148, 0.0634730607, -0.0000382992, 0.0120943692, 0.0178656243, 0.0177856125, -0.042046465, -0.0266644508, 0.004858484, -0.0477002598, 0.0087721944, 0.0322104804, 0.0064342981, -0.0351164155, 0.053454157, 0.014085195, 0.0621981174, -0.0880593285, -0.0041237748, -0.0355701745, 0.0526574403, 0.0583895743, -0.0309684183, -0.0128885172, 0.0406018682, -0.0287852548, 0.0117155537, -0.0190181993, -0.0470108725, 0.0092361923, 0.013766408, 0.0768392384, 0.1003676578, 0.0236202776, -0.0368356332, -0.1015074328, 0.0452522375, 0.0111152548, 0.0584335104, 0.020487722, -0.019461263, -0.0342323072, 0.0196448732, -0.0250006914, 0.0037631337, -0.0520224459, -0.0079570748, 0.0184827149, 0.0419087969, -0.0418617763, 0.0305832382, 0.0101207495, 0.0081991227, -0.0092127938, 0.0214995872, -0.0169552956, -0.0213480014, 0.0026850426, 0.0212652981, -0.0511568934, 0.044324711, 0.0097812433, -0.010977339, -0.0105334474, 0.0395317413, 0.0459092669, -0.0301072132, -0.0497841127, 0.0347511992, -0.0357295796, 0.0510089844, -0.0145714087, -0.0341214761, 0.0460370108, -0.0059896982, -0.003196954, 0.0079246489, 0.0236991663, 0.0126203476, -0.0317744501, -0.0107228002, 0.0050331699, 0.0454563089, -0.0561474413, -0.0002118596, -0.0001621092, 0.0572449788, 0.0025128541, -0.0544302538, -0.0173727274, -0.0144897345, 2.858e-7, 0.0148302307, 0.0626051649, 0.0048120804, 0.0074856742, 0.0039633294, 0.0135046048, -0.0059962976, 0.0138051212, 0.0382138751, -0.0863798261, -0.0430646725, -0.0013883231, 0.0156207597, 0.0313294269, -0.0759375393, -0.0086057857, -0.0315904468, 0.0094329221, -0.0218991209, -0.0517613441, 0.0196083542, 0.0766886175, 0.0087996852, -0.0145942159, -0.0310237091, -0.0495275334, 0.0608614907, 0.0040057623, -0.0373483486, 0.0213820115, 0.10576763, 0.0055734459, -0.0064947517, -0.0189753976, -0.0347449891, 0.0257793274, -0.022666797, 0.0292636752, -0.0056617553, -0.0731156617, -0.0294077098, -0.0291505121, 0.0322761238, -0.0622410923, 0.0405524857, -0.0165717751, -0.0032414587, -0.0074273576, -0.0683625489, 0.0141449003, 0.0275858101, -0.0148818111, -0.0290746167, 0.0071976082, -0.0203965399, 0.0235558059, -0.0040499596, -0.0539521538, -0.0497196168, -0.0085214293, -0.0247880183, -0.0596130788, -0.0197751559, -0.0467002764, -0.0194958989, -0.0715213418, 0.0308771003, 2.742001515e-34, 0.0578416511, -0.0111363977, 0.0419055298, 0.0025010321, 0.0373442322, 0.0033542665, -0.0164340399, -0.0020012066, 0.0220745504, -0.0675824434, -0.0071057547 ]
http://arxiv.org/abs/2406.11486v1
http://arxiv.org/pdf/2406.11486v1
Analysing zero-shot temporal relation extraction on clinical notes using temporal consistency
2024-06-17T12:53:21
2024-06-17T12:53:21
Vasiliki Kougia, Anastasiia Sedova, Andreas Stephan, Klim Zaporojets, Benjamin Roth
cs.CL
cs.CL, cs.LG
This paper presents the first study for temporal relation extraction in a zero-shot setting focusing on biomedical text. We employ two types of prompts and five LLMs (GPT-3.5, Mixtral, Llama 2, Gemma, and PMC-LLaMA) to obtain responses about the temporal relations between two events. Our experiments demonstrate that LLMs struggle in the zero-shot setting performing worse than fine-tuned specialized models in terms of F1 score, showing that this is a challenging task for LLMs. We further contribute a novel comprehensive temporal analysis by calculating consistency scores for each LLM. Our findings reveal that LLMs face challenges in providing responses consistent to the temporal properties of uniqueness and transitivity. Moreover, we study the relation between the temporal consistency of an LLM and its accuracy and whether the latter can be improved by solving temporal inconsistencies. Our analysis shows that even when temporal consistency is achieved, the predictions can remain inaccurate.
[ 0.0332082361, 0.0317316353, 0.0195361767, 0.0262329485, -0.0569628514, -0.0015814983, 0.0130726816, 0.0563115589, -0.0177916419, -0.0208132081, -0.0053972537, -0.0747540444, 0.0314199068, 0.0170815699, -0.055777669, -0.0595727302, 0.0638007894, 0.0351952091, 0.0142193818, 0.0406672582, -0.0207981784, -0.0276301969, -0.0725253671, 0.0202067513, -0.0072487211, -0.0252184551, 0.0090321498, -0.0356425345, 0.0619311295, -0.1071576029, -0.0417375937, 0.0360513218, -0.0309461039, 0.0301718526, 0.0000019816, -0.0372386649, -0.0093989, -0.0021579014, -0.0591026321, -0.0314416215, -0.0118811037, -0.0330003686, -0.0083978819, -0.0336932912, -0.0573515892, -0.0451381467, 0.0051575233, 0.024043655, 0.0129775647, 0.0856469795, -0.0401522741, 0.023779653, 0.0606994368, -0.0152254924, 0.0507485345, -0.0436369963, 0.0196169578, -0.0177586414, 0.0573305339, -0.0127665959, 0.0212161224, 0.03049374, 0.0117779905, 0.031251058, 0.0295368284, 0.0704544634, -0.0356788039, 0.0111653134, -0.0238928068, 0.0705163106, 0.0384516977, 0.0041290335, 0.0314195827, 0.0049155736, -0.0487813801, -0.0031951691, -0.0483134203, -0.0102806902, -0.0308592133, 0.0001616224, 0.0031351722, 0.0393620469, 0.0189221613, -0.0133709097, -0.0047893706, 0.0491933152, 0.0134076485, -0.0267064404, -0.0329725146, 0.0273616649, 0.0459140576, -0.044135768, 0.0110972757, 0.0844032988, -0.0073715756, -0.0062071937, -0.0278060846, -0.0056047617, 0.0376799032, -0.0445124619, 0.0157034136, 0.0123381, -0.0360453799, 0.0499784239, -0.0353382938, 0.0493453741, -0.036171902, 0.0133459596, -0.001567419, 0.046608638, -0.0560697727, 0.0137039535, 0.0376111902, 0.0310414732, -0.017665254, 0.0054481016, -0.0581553392, 0.0049997517, 0.0083869556, 0.0318318121, -0.0292372592, -0.0030418793, -0.0292518176, -0.0078429412, -0.0255653448, 0.0206019916, 0.0046163583, -0.0065060393, -0.0504133478, -0.0479980782, -0.0260831285, 0.0126138357, 0.0379661918, -0.0369972028, -0.0132108079, 0.0797556043, -0.0293130428, -0.0308875162, -0.0389133766, -0.0472105816, -0.0220893137, -0.0452825651, 0.0044905869, -0.0272647943, 0.0379421115, 0.0170506202, -0.0158473421, -0.0027366837, 0.0194028635, 0.0055562686, -0.0340977609, 0.0719844997, -0.0252879262, -0.0003640832, -0.0067233881, 0.027930297, 0.0302573815, 0.0066830586, 0.0430459455, -0.0492641665, 0.0126242917, 0.0319083519, 0.0013285138, 0.018865684, -0.0020715625, -0.0522394292, -0.0548567027, -0.0070295143, 0.037279252, 0.0268756617, 0.0089222332, 0.0311054327, -0.014527279, -0.041397281, 0.03949821, 0.0382525735, 0.034257859, -0.0373209193, 0.0598004311, -0.0816270486, 0.0304065868, 0.0279440228, -0.0288248621, 0.0036583743, 0.0006704216, 0.03988114, -0.0757395849, -0.0150178624, -0.0095791835, -0.0054518543, -0.0421107672, -0.0275178496, -0.060105022, -0.0515602008, 0.0686701313, -0.0318861268, -0.0348014124, 0.0647821724, 0.0257439408, -0.0065599359, -0.0249405857, -0.0080271652, 0.0153529113, 0.092578873, 0.0641207024, -0.0539199188, -0.0682659, -0.0111989379, -0.0096885664, 0.0344519317, 0.0224759094, -0.0301564373, 0.0331209935, -0.0274782162, -0.0150331873, 0.0350766666, 0.0063975975, -0.02865104, 0.0269519668, 0.0599413961, -0.0044801771, 0.0269835573, 0.04680942, 0.0372885428, -0.051612813, -0.0484763794, -0.0356097706, -0.0021861726, 0.0283851177, 0.0354045443, -0.0274988618, 0.0133099472, 0.0568864904, -0.0527942106, 0.0275854133, 0.0385898799, -0.0662374943, -0.0632292181, 0.0256864652, 0.0310943015, -0.0218020882, -0.0349401683, -0.0228208397, -0.0264346208, -0.0394657217, 0.045148503, 0.0203813184, -0.0093422951, 0.0425897837, 0.0629257858, -0.0079783173, -0.0422946773, 0.039080102, -0.0257823523, -0.0095355092, 0.0039063683, -0.0355542414, 0.010179163, -0.0519328639, -0.0095732966, 0.0661508739, 0.0092592333, -0.0541067682, -0.0433606841, -0.0077034403, -0.0474373698, -0.031916108, -0.0912941471, 0.0062594297, 0.014979885, 0.0418613851, 0.0198333077, 0.0108383037, -0.0132401856, -0.010832007, -0.0119978273, -0.0079669571, 0.0086993175, 0.0211258419, 0.0782164261, 0.0653257146, -0.0002162781, -0.0469199605, 0.002856551, -0.065082401, 0.0429789387, 0.0087246597, -0.0577648543, 0.0184350014, -0.0159772225, -0.0438726768, -0.0022961898, -0.0072983075, 0.0257436931, 0.0345288105, -0.0154699972, 0.0046306197, 0.0333408453, -0.0116457744, 0.0604587197, 0.0198798925, -0.030756982, -0.0014182242, 0.012254375, -0.0284314249, 0.0230582617, 0.0193123333, -0.0167879835, -0.0309329815, 0.0890913159, -0.0045676441, 0.0453894585, -0.0152823273, -0.0055863671, -0.0213581938, 0.0315247364, -0.0029681094, 0.0284893662, -0.0511130095, 0.0072142789, -0.0397152975, -0.0192302559, 0.0497374609, -0.0153520443, 0.0076450272, 0.0226668194, -0.00959587, -0.0495375693, 0.0605850182, -0.0002122078, -0.0113394912, 0.0159141254, -0.0200329591, -0.0242248122, -0.0267879907, 0.0181215331, -0.0358609408, 0.0553023331, -0.0239724945, 0.0495283417, -0.0400214382, 0.0087671317, -0.0394891091, -0.0644709393, -0.0301453918, 0.013776022, -0.0936835781, 0.0287083071, -0.0367216952, 0.0352348462, -0.034515325, 0.0635682344, -0.0192515533, -0.0174230486, -0.0347623713, 0.0821410567, 0.032520894, -0.0322819538, -0.0212537684, -0.0210938174, 0.0356198214, 0.0346533358, 0.0194300413, 0.0439573638, -0.021058768, -0.0026528314, -0.0514744408, -0.0604803599, -0.020558171, 0.0152724925, -0.0070311436, -0.0822915435, 0.0047334405, 0.1010600179, 0.0308884513, -0.0360351391, 0.0005309311, -0.0053313966, -0.0566513501, -0.019643642, -0.0228090137, -0.0884239748, -0.0166631378, -0.0072283261, -0.0089026531, -0.0319175348, -0.0570125952, -0.0061388351, -0.0571602471, 0.0040214346, -0.0023523681, -0.0373793356, 0.0167404115, -0.0177809913, 0.0152016208, -0.0119512463, 0.0174976606, 0.0238990411, -0.0285454951, -0.0027388199, -0.0053260201, -0.0320544206, -0.0644794554, 0.0391384475, 0.0216195136, 0.0460695811, 0.0409937426, 0.0272237845, -0.0106458599, -0.0243008137, 0.0169863533, 0.0030388669, 0.0124872848, -0.033397004, 0.0728475302, -0.0028541463, -0.0006099073, -0.0257655457, -0.0101710949, 0.0286364406, -0.0410760008, -0.0197631773, 0.0799464136, -0.0374104641, -0.0219792183, -0.0300578568, 0.0061949417, -0.0043501812, 0.0417568795, -0.008337331, 0.0269535556, -0.0610318407, 0.0439937077, 0.0216326825, -0.0459167324, -0.0202996992, 0.0017885552, -0.0484494939, -0.0037658946, -0.0593122058, -0.0538235642, -0.0189867578, 0.0147642726, -0.0191125311, 0.0298177879, 0.0050587179, 0.0067843804, -0.0563555472, 0.0280890688, 0.0143097267, -0.0054413234, -0.0577337295, 0.0298256576, 0.0316423215, 0.01671944, -0.0042023514, -0.0027439084, -0.0437611043, -0.0057918672, -0.0072818412, 0.0091078682, 0.0238758326, 0.0370232575, 0.0284122881, 0.027181128, 0.0434666239, 0.0575016811, 0.0051531401, 0.0229402669, 0.0051931329, 0.0103354035, -0.0250805058, 0.0032572569, 0.0075229346, 0.0165642705, 0.0006066293, 0.0198775586, -0.0143142436, -0.010752053, -0.009816519, 0.0106629385, 0.0778881907, 0.0277863983, 0.002196769, -0.000168953, 0.0227159001, -0.0575565137, 0.0509531721, -0.0055221985, -0.0045879409, -0.0071179834, 0.0067437915, -0.0265510585, -0.027716741, -0.0696393475, -0.0069167325, -0.0377245359, 0.0173510611, 0.0159497932, -0.0038147774, 0.0181118865, -0.0075090858, -0.0154669126, 0.0400125906, -0.0052647172, 0.0107647981, -0.0090361871, 0.0432570353, 0.0011834538, 0.0385155939, -0.0100358268, 0.0178607982, -0.066605702, 0.0648613945, -0.021619495, 0.0122226682, 0.0711696669, -0.0192924719, 0.0544439554, -0.0020095981, 0.0092050936, -0.0072502992, 0.0430516005, 0.0090223933, 0.0488222837, 0.0198961012, 0.025121484, 0.0000113192, 0.0309364237, 0.0881699696, -0.0183106642, 0.0561144464, 0.0314161032, -0.0293668974, -0.0333197154, -0.0280091651, -0.0073473924, -0.0493130758, -0.0361252651, -0.0259935334, -0.0968784317, -0.0015234004, 0.1316350549, -0.0113162016, -0.0333320871, -0.0056569488, -0.0072800936, 0.0098627601, 0.0452087186, -0.0306411106, 0.005496881, 0.0634184554, 0.0213231705, -0.0322994292, -0.0176012646, -6.248778828e-33, -0.0336542279, -0.0575116985, 0.0212338865, 0.0179173462, -0.050842084, 0.0682864562, -0.0632486492, -0.0059745484, -0.0004671816, 0.016317727, -0.0288839955, -0.0020032655, 0.0326104201, -0.0238573886, 0.0157260485, -0.0384558178, 0.0113911191, -0.0051561054, 0.0025744746, 0.0080117816, 0.0417901874, 0.0556648821, 0.0516818613, -0.0677773282, 0.0413641483, -0.0113115795, 0.0236793403, -0.0004787252, 0.0117433416, 0.0633192137, -0.0424529575, -0.0035631417, 0.0672473386, -0.0178613514, -0.0067321388, -0.0156797506, -0.1096767262, -0.0335082337, -0.0003427135, -0.0167664103, -0.0092276037, -0.0422269069, 0.0065348563, -0.0232735742, -0.0266052857, -0.045635052, 0.0155326165, -0.0323903896, -0.0317176506, -0.0592198968, -0.0545319878, 0.0558483414, 0.0187617932, 0.0050408402, 0.0605515689, 0.0097735841, 0.0190035831, 0.014518912, -0.0396040492, -0.0293868855, -0.0028588932, 0.0180352535, -0.0046471939, -0.0113670016, -0.0199699476, 0.0728886947, -0.0105658062, -0.0073037222, -0.0394275486, 0.0247511454, -0.0291379262, 0.031985417, 0.0335488133, 0.0136032747, 0.0279081017, 0.0151159409, -0.1022509709, 0.0222301614, -0.0001180194, 0.0325393565, -0.0176600721, -0.0150812306, -0.0307626817, 0.0310692824, 0.0321285836, -0.0083730351, -0.003065936, -0.0297636054, 0.0254194196, -0.0005203592, 0.0537531376, 0.0449946448, 0.0381144136, 0.0061387043, -0.0095652463, -0.0228645168, -0.0095652724, 0.0434138775, -0.0092749195, -0.0186085384, -0.0586295314, -0.0194458775, 0.0172018409, 0.0124030588, 0.0492581278, 0.0048224521, 0.0333656184, -0.0150768962, -0.027379524, -0.0357567593, 0.0187609736, -0.0139036803, 0.00626182, -0.0071055084, 0.0443127863, -0.0063020959, -0.0019128615, 0.0933716521, -0.0058293361, 0.0378110111, -0.0090945726, 0.0203570146, 0.0192082543, 0.0273983926, -0.0215812419, 0.0010678641, -0.0040970487, 0.0626263618, -0.0032721928, -0.0127533022, 0.0056643779, -0.0038758167, 2.634e-7, 0.0592477955, 0.0208602194, 0.057785742, 0.0074754246, 0.0260741469, -0.0190326814, -0.0280670337, 0.0105985729, -0.0383754224, 0.0103019038, 0.0545986183, 0.0106268385, 0.0508450568, 0.0344459079, -0.0234388001, -0.0256769359, -0.0890638605, -0.0523435995, -0.0500925295, -0.0179577209, 0.0831754729, 0.0138473641, -0.0077267946, -0.0043197125, -0.0035268834, -0.0194249675, 0.0661744103, -0.0084426329, -0.0129968012, 0.0297968145, 0.0411463901, -0.0337933153, -0.0033371581, 0.0313178413, -0.0154316342, -0.0260992404, -0.0204076245, 0.0957817212, -0.078780666, -0.0134887416, 0.0206775423, -0.0157356337, 0.0101902364, -0.0022960317, 0.0932686254, -0.0300943349, -0.0177997109, -0.0124184974, -0.0282543544, 0.0277639069, 0.0559183545, 0.0343027711, 0.0028317801, 0.046113193, 0.0209675673, 0.0166039057, -0.0712763369, -0.0654296353, -0.036997214, 0.0643073395, 0.0004668635, -0.0141792558, 0.0229202677, -0.0433493294, -0.0034810274, -0.0774601698, -0.0348418877, 2.357256474e-34, 0.0185322203, 0.0200501103, -0.0049964166, 0.0470223315, -0.0162387546, -0.0145589532, -0.0141004063, 0.0327512659, 0.0055877795, -0.0583133474, 0.0148075325 ]
http://arxiv.org/abs/2406.11477v1
http://arxiv.org/pdf/2406.11477v1
Vocabulary Expansion for Low-resource Cross-lingual Transfer
2024-06-17T12:42:34
2024-06-17T12:42:34
Atsuki Yamaguchi, Aline Villavicencio, Nikolaos Aletras
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown remarkable capabilities in many languages beyond English. Yet, LLMs require more inference steps when generating non-English text due to their reliance on English-centric tokenizers, vocabulary, and pre-training data, resulting in higher usage costs to non-English speakers. Vocabulary expansion with target language tokens is a widely used cross-lingual vocabulary adaptation approach to remedy this issue. Despite its effectiveness in inference speedup, the majority of previous work has focused on high-resource settings assuming access to a substantial amount of target language data to effectively initialize the embeddings of the new tokens and adapt the LLM to the target language. However, vocabulary expansion for LLMs in low-resource settings (i.e. languages and compute) has yet to be explored. In this paper, we investigate sample-efficient adaptation strategies from different angles, including target vocabulary size and initialization methods, and the amount of target data available for adaptation. Extensive experiments across typologically diverse languages, tasks and models show that simpler heuristic-based embedding initialization is more efficient and robust to changes in target vocabulary size and adaptation data in low-resource settings, outperforming a popular random initialization and a more sophisticated state-of-the-art approach that relies on external data and model.
[ 0.006853546, 0.0542118289, -0.0040613855, 0.024636114, -0.033762604, 0.0143472748, 0.0044944477, -0.0039944188, -0.0298294779, -0.0353516042, -0.0351324081, -0.0468073674, -0.0140818218, -0.0205507725, 0.0414321907, -0.0371231176, 0.0623027198, -0.0638155192, -0.0514860973, -0.0320019871, -0.024274027, 0.0084354542, 0.0235721096, 0.010236321, 0.0001346264, 0.0101854736, 0.008733985, 0.0113537814, -0.0025697742, -0.0114079276, -0.0438432619, 0.0362159349, 0.0145458374, 0.0415926762, 0.0000019509, -0.0553586595, -0.0231207684, -0.0043108645, 0.0044837445, 0.0342695899, 0.0987946019, -0.0330437012, -0.0005651105, 0.0337887555, -0.0102486154, -0.0488151833, 0.0692424551, -0.0069894413, -0.0005284238, 0.0698790178, -0.0156922489, -0.0129603986, 0.0001871119, -0.030847948, -0.0105891386, -0.0422774516, 0.0352266394, 0.006997277, -0.0067979624, -0.0026802355, -0.0530515201, 0.0259764884, -0.0015103985, 0.014563906, 0.0179077052, 0.022456117, -0.0167241041, -0.0121718254, -0.0235296544, 0.0565611534, -0.0199486706, -0.0270898994, -0.0092057697, 0.0075439312, -0.0083015049, 0.0155908372, -0.0504717268, 0.0209155288, 0.0379918367, 0.0240033474, 0.0723518506, -0.0318263173, 0.0454712026, 0.0078608533, -0.078953743, 0.0210301783, 0.0649631247, -0.0178687926, 0.0242516175, 0.0126645137, -0.0119959293, -0.0556227677, 0.0101513742, 0.0027359105, 0.0002756917, 0.0311656483, -0.0670650229, -0.0757555664, -0.0018697381, -0.001256876, 0.0414588824, 0.0367795303, 0.0082502272, 0.0465678461, -0.0683441386, 0.0102639515, -0.0221716687, 0.0128740622, -0.0799037144, -0.0443778224, -0.0221685097, 0.0050362838, -0.0389644429, 0.0094978204, -0.0409505889, -0.0120871067, -0.035742484, 0.0411367677, 0.0280758683, -0.0271555725, 0.0197547041, -0.0560684055, -0.0427461341, 0.0101471487, -0.0072541474, 0.0331745781, -0.0276640225, 0.0041867108, -0.0154834976, -0.0514170267, -0.0239614025, 0.0146353804, 0.0258229412, -0.0464570113, 0.0155285671, 0.0789054483, -0.0212956797, -0.0418417305, -0.0436617658, 0.0414827168, 0.0038243667, -0.0250724424, 0.0289833564, -0.0653158873, 0.0324313231, 0.0168459062, 0.0264419727, -0.0213865098, -0.003702248, 0.0112079931, -0.0626320317, 0.0549653322, -0.0326613523, 0.0265608765, -0.0009761122, -0.0429032184, 0.0126352422, 0.0969953164, 0.0017028642, -0.0110254725, 0.0522601418, -0.0179857779, -0.0555779561, 0.072268948, 0.0424370579, 0.0504472181, -0.0410397016, -0.0255349018, 0.0548693351, 0.0245021321, 0.0590438992, 0.0414983146, -0.027969962, 0.0462680757, 0.0195203181, 0.0798132122, -0.0022355795, 0.0357266366, 0.0705707595, 0.0029257578, -0.0636809766, -0.0188498516, -0.0225178767, -0.0101565076, -0.0098444391, -0.0050846096, 0.0570120774, 0.0671818554, -0.036743138, -0.0058370698, -0.0077432222, -0.0245260783, 0.0342994817, -0.0177473053, 0.0657958388, 0.0303247012, -0.0025080428, 0.0773665383, 0.077221252, -0.032757327, 0.0329165868, -0.0249916483, 0.0206890237, 0.0366669148, 0.0087240711, 0.0115760667, -0.0038081452, 0.0138365123, 0.0523907207, 0.0288930703, 0.0635855943, -0.0069652279, 0.0100611039, -0.0721056759, 0.0061740945, 0.0105773807, -0.0032022218, 0.0635194033, 0.0232612193, 0.051599972, 0.0360778756, -0.0648301244, -0.0358802341, 0.0233028661, -0.084218882, -0.0269558858, 0.0425135233, 0.0047647152, 0.0277718492, 0.0283702221, -0.0022051476, -0.0099374428, -0.0031988858, -0.0456021987, 0.0056212684, 0.0121549917, -0.0591728836, -0.0348161533, 0.0325879343, -0.0129679274, 0.0260820147, -0.00485203, -0.0310206246, -0.0411228128, 0.0377402492, -0.0133016109, 0.0515176579, -0.0520043559, 0.0328573026, -0.0124905976, 0.0431970246, -0.0132038705, 0.029733086, 0.0226925109, 0.0113516636, 0.0168588143, 0.0117138922, 0.0072585428, -0.0199356731, -0.0338997394, 0.0398289971, -0.0022500325, -0.0043824189, 0.0177582707, 0.0086934781, -0.0232781973, -0.0081172604, -0.1100708395, 0.0008950834, -0.0098510385, 0.019268889, 0.0184328519, 0.038620621, -0.0093160011, -0.0075441445, -0.0442648381, 0.0195019208, 0.0092594279, 0.0646136552, -0.0104355784, -0.0038655666, 0.002567129, 0.0013311065, -0.0116962949, 0.0328487977, 0.0610018186, -0.0265261214, -0.0192701668, -0.0529801697, 0.0245937891, -0.0393422022, 0.0083616162, 0.0010969266, -0.0220013279, -0.0355233476, -0.0149066811, 0.0702849478, 0.0146784568, -0.011418459, -0.0364231132, 0.0426211096, -0.0357757434, -0.053017132, -0.0040807724, 0.0029135763, -0.0483311489, -0.0528501384, -0.0543605909, -0.0021541796, 0.0719334856, -0.048057463, -0.0350715257, -0.0679859743, -0.0162027441, -0.0577332228, -0.03476144, -0.0127155809, 0.0280028582, -0.0163404793, 0.0043346984, -0.0045867255, -0.0203340705, 0.0538906157, -0.0512031876, 0.0055416245, -0.0711876526, -0.0118976096, -0.0336029008, 0.0183283072, 0.0170121398, 0.030934846, -0.0361464582, -0.0047578677, -0.0349964239, 0.014892281, 0.0095150732, -0.0145710595, 0.0445486344, -0.0373596698, -0.0112643531, -0.0194619745, -0.0243885294, -0.0219563115, -0.0341223851, -0.0172122195, 0.0031817639, 0.0497149117, 0.0034223832, -0.0255260188, 0.0197041463, 0.0348439552, 0.0547504053, -0.0033600046, 0.0373120233, -0.0162959769, 0.006038853, 0.0376822576, 0.0188634228, 0.0026515441, -0.0468678437, 0.0269448254, -0.0060421317, 0.0539012328, -0.0412963033, -0.0183471087, 0.0061284299, 0.0438999906, -0.0143615762, -0.0294375625, 0.0064409655, 0.0538745672, 0.0158771239, -0.0204248168, 0.0779303461, -0.003833245, -0.0511165373, 0.01599098, -0.0491446853, 0.0463224128, 0.017717462, 0.04227769, -0.0731630251, -0.0130554382, 0.0317037255, 0.0012309678, 0.0211996697, -0.0299578309, -0.0272769369, -0.1533249617, 0.0076075317, 0.0347131677, -0.0768385306, -0.0098009659, -0.0614620708, -0.0027735422, -0.0066439859, 0.0358395353, -0.0197585914, -0.020836072, 0.000730381, 0.0166233536, 0.0060846047, -0.0657592043, -0.0204651337, -0.0325104706, 0.0576890297, 0.0095107825, -0.0009405252, -0.0304186549, -0.0043430924, 0.0517207049, -0.0044311075, -0.0250644758, -0.0333814099, 0.012142173, 0.0010675628, -0.0013408992, 0.0532185063, 0.0053446572, -0.0123579046, -0.0121838413, 0.0327149034, 0.0853258669, 0.053484071, -0.0041285641, 0.0150796212, -0.0266236905, 0.0219028201, 0.0646548867, 0.0425259769, -0.0734365359, 0.0045655421, 0.0136160916, -0.0399801843, -0.0286655482, 0.0032008621, 0.018908402, -0.0556886904, -0.0445171967, -0.0620815828, -0.0262997709, 0.0177177191, 0.0507763065, 0.0510168299, 0.0503011495, -0.0231404845, -0.0091325128, -0.0155175505, 0.0291147809, -0.0622923858, -0.0017030132, -0.0515682176, -0.0088166771, 0.0022863632, -0.0348034278, -0.0050458242, -0.0093322182, -0.0124494452, -0.0582229011, -0.0136888111, 0.0251196139, 0.0051211701, 0.0581571758, 0.0031738468, -0.0411297567, 0.091373235, -0.0053770705, -0.0061653792, 0.0311890263, 0.0264819618, 0.00740916, 0.0075393287, 0.0532025322, -0.0468866117, 0.021439543, 0.0278121512, 0.0536249541, -0.0003417182, -0.0126212547, -0.0269267857, 0.0554253682, 0.0134174451, -0.0363734663, -0.005960532, -0.0290350318, 0.0275991, -0.0357744694, 0.0009342258, -0.0299988352, -0.0137453107, 0.0426433533, 0.0096105421, 0.0044749603, -0.0225421749, 0.0147995651, 0.0281929933, 0.0058122124, 0.0226454139, -0.0202327333, 0.0388081186, 0.047768455, 0.0380536355, -0.0187683124, -0.0393721722, 0.0094816377, 0.0287222099, -0.0861289352, 0.0174656659, 0.0016812987, -0.0171153042, -0.0197434071, 0.016128853, -0.0069648293, -0.0186634809, -0.0116949128, 0.0185037535, 0.057085257, -0.0453585945, 0.0838505328, -0.0152824791, -0.0200699344, -0.0314277075, 0.0068135788, -0.0219591074, -0.0287786964, 0.0268379506, -0.0122803543, -0.0269309971, 0.0153018599, 0.061405912, 0.0388366394, 0.0044716429, -0.0161952097, 0.0236529093, -0.024355771, -0.0113626979, 0.0383333787, 0.0000956194, -0.028032016, 0.0154096382, -0.016340645, -0.0904668942, -0.0077253948, -0.0357660204, -0.0461732335, 0.0186652988, 0.0251461547, 0.0771186873, -0.0226781387, 0.0108606005, -0.0413690619, 0.0195781328, 0.0008747691, -0.044466015, 0.0385925174, -6.117671535e-33, -0.0266910158, 0.0343781337, 0.0251794718, -0.0344038643, -0.0185806081, 0.0127574448, -0.0227916893, -0.0129131088, 0.0016425813, -0.0075197713, -0.04177697, -0.0219368059, 0.0274889935, 0.0476722308, -0.0107770413, 0.0312666483, 0.0321618766, -0.0023944108, -0.0008560416, 0.0287560951, 0.0237853825, 0.0512304157, 0.0734722838, -0.0297154728, -0.0171346366, 0.0363590978, 0.0555579364, 0.0035746049, 0.0483866818, 0.0200244598, -0.0188723672, 0.0437274314, 0.0049354895, -0.0356967486, -0.0262647159, 0.0261399057, -0.0759070888, -0.0427716486, 0.0528026447, 0.0156613216, -0.0110549303, -0.0593740344, -0.0018626048, -0.0072950614, -0.0168825537, 0.0197988953, -0.0019157317, -0.0299842134, -0.0386224277, 0.017576566, -0.0701623708, 0.037760172, 0.0361059494, 0.039124839, 0.061137259, 0.0274383891, -0.0009952319, -0.0186863095, -0.0239712354, 0.0320428833, 0.0033998624, 0.0352485664, 0.0833904073, 0.0312911235, 0.0021208921, 0.0369119607, 0.0249269139, -0.0190911721, 0.0326846018, -0.0045000361, 0.0374052674, -0.0169064123, -0.0036194799, 0.063872464, 0.020561859, -0.0442474, -0.0752656981, -0.0007797684, 0.0011607409, 0.0073207854, 0.0583342128, 0.0062845652, -0.0222595371, -0.0266010221, -0.0643749312, 0.004403478, -0.0350715593, -0.0514730178, 0.0423749797, 0.0012150174, -0.0293962248, -0.0248702895, 0.0646193177, -0.0374203324, -0.0465523377, 0.0137045542, 0.0061100195, -0.0201680623, -0.0285070743, 0.0355540141, -0.06297528, -0.0740381852, 0.0032495284, -0.0319328159, 0.0100097526, -0.0032070645, 0.019714212, 0.0023264284, -0.0714745894, -0.0064018006, -0.0316277929, -0.0079392577, -0.0014391497, 0.0367803052, 0.0447180569, 0.0204968899, 0.0082210833, 0.0178258829, 0.0631438792, -0.0315723866, 0.0101865977, -0.0595273376, 0.0093496889, 0.0322223417, -0.038419418, 0.011456891, -0.0147693865, 0.0169043969, 0.048430074, -0.0575151332, -0.0192227717, 0.0117530003, 2.775e-7, 0.0333173014, 0.0471037664, -0.0134703116, -0.0443700105, -0.0082891574, -0.0123359123, -0.0194520801, 0.0372767895, 0.0087615149, 0.0178417414, 0.0072100251, 0.0396238454, 0.0550142899, 0.0268579032, -0.099357225, -0.0038344567, -0.0417355336, 0.0583141148, -0.0413728878, 0.0175754763, -0.0129334889, 0.1020177528, -0.0099539934, -0.0164993461, -0.0166425351, -0.0838885307, 0.0541502796, -0.0708650127, -0.0330367796, 0.0112024378, 0.0082863262, 0.0418603197, -0.0058991085, 0.024715811, -0.0390835591, 0.0605332032, 0.0311600119, 0.0255701859, -0.0021633578, 0.0132815978, 0.0004862694, -0.0152178435, -0.026616428, -0.056457784, 0.0510548428, -0.0471832268, -0.0286998414, -0.0164561067, -0.0177644249, 0.0094835656, 0.0028939836, -0.010955763, -0.0155062946, 0.0205365717, 0.0713806897, 0.0270693097, -0.0598306842, -0.0543302074, 0.0235189013, 0.0266283918, -0.0352538526, -0.0603210479, -0.0467737764, 0.0100972876, 0.0177448392, -0.0058437721, 0.0468021892, 2.727579898e-34, 0.0334364958, -0.0315483287, 0.017536588, 0.0022909208, 0.0294225682, -0.0459507853, 0.0391133092, 0.0224394687, -0.0123527702, -0.1158014387, -0.0150410375 ]
http://arxiv.org/abs/2406.11474v1
http://arxiv.org/pdf/2406.11474v1
How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment
2024-06-17T12:38:48
2024-06-17T12:38:48
Heyan Huang, Yinghao Li, Huashan Sun, Yu Bai, Yang Gao
cs.CL
cs.CL, cs.AI
Recent studies have demonstrated that In-Context Learning (ICL), through the use of specific demonstrations, can align Large Language Models (LLMs) with human preferences known as In-Context Alignment (ICA), indicating that models can comprehend human instructions without requiring parameter adjustments. However, the exploration of the mechanism and applicability of ICA remains limited. In this paper, we begin by dividing the context text used in ICA into three categories: format, system prompt, and example. Through ablation experiments, we investigate the effectiveness of each part in enabling ICA to function effectively. We then examine how variants in these parts impact the model's alignment performance. Our findings indicate that the example part is crucial for enhancing the model's alignment capabilities, with changes in examples significantly affecting alignment performance. We also conduct a comprehensive evaluation of ICA's zero-shot capabilities in various alignment tasks. The results indicate that compared to parameter fine-tuning methods, ICA demonstrates superior performance in knowledge-based tasks and tool-use tasks. However, it still exhibits certain limitations in areas such as multi-turn dialogues and instruction following.
[ 0.0188997947, 0.0023426532, -0.0173693094, 0.0192903802, -0.0632380992, 0.0125784166, 0.0001862762, -0.0383635424, -0.0506537184, -0.0110344617, -0.0607256889, -0.0291893389, 0.0311675537, -0.0086856429, 0.0236389767, -0.0461932942, 0.0799897239, -0.0069450019, -0.0123973051, 0.0298522301, 0.0271094702, 0.0038615603, -0.0398871936, 0.0385619812, -0.0044726953, -0.04093365, -0.0614377037, 0.0323229842, 0.0236452688, -0.0164721645, -0.0037185024, 0.0467388406, 0.0355853513, 0.0430361181, 0.0000017577, -0.0598536469, 0.0161705296, -0.0165823251, -0.0719480067, 0.0165607072, 0.0250704922, -0.0149484444, -0.0198968872, 0.0136322295, -0.0550036319, 0.0129836407, 0.0634465665, 0.0136312433, 0.0215672124, 0.0671288669, -0.0072738705, 0.0007667907, -0.0050770948, -0.0075920974, -0.008302873, -0.0420381241, -0.0004120694, -0.0264473278, 0.034200374, -0.0071747536, -0.0179182868, 0.0458206572, 0.0177201834, -0.0014812545, -0.0110450545, 0.0272729471, -0.0527036525, -0.0213328637, -0.038745869, 0.0776077509, 0.0023543467, -0.0418675058, -0.0169192627, -0.0186070055, 0.0335772522, -0.024282638, -0.0423434786, -0.0206333734, 0.006152824, 0.0302086025, -0.003042531, -0.0104835164, 0.0295955483, -0.0059811245, 0.0201605726, 0.0554827973, 0.0070998063, -0.0539044328, -0.0102463579, -0.0061811772, -0.0162646901, -0.0575066172, -0.0213756282, 0.0416628085, -0.0677934214, 0.060806077, -0.0992770195, 0.0064456803, 0.0178308412, -0.036461331, 0.015798036, 0.098019816, 0.0125766983, 0.0490638092, 0.0095717162, 0.0990651175, -0.0113061378, 0.0420447178, -0.0330533087, 0.0260413475, -0.0217111427, -0.0161770936, -0.0177641194, -0.0173584409, -0.0288152117, -0.0451461673, -0.0281223375, 0.0805857256, 0.0088403495, 0.0637342408, -0.0272043031, -0.0169174057, -0.0492141694, -0.0127812689, -0.0058651543, 0.0357026905, -0.0163245928, 0.0154511053, 0.0288049597, -0.0396589302, -0.0302973241, 0.0126200477, -0.0148875043, -0.035674423, -0.0317795053, 0.0554245226, -0.0468387641, -0.0435217097, 0.0020313507, 0.0102082044, -0.0237371866, -0.0589061677, -0.0261067804, -0.052105315, 0.0414452702, 0.0424059145, -0.0235314518, -0.0288967863, 0.002870637, 0.0302691571, -0.0033464329, 0.050143566, 0.0020094758, 0.0444942303, 0.0316578075, -0.0190941356, -0.0012935596, 0.0686854124, 0.0314461812, -0.0054831808, -0.0011779544, -0.0066345301, -0.0010622336, 0.0637033135, 0.014969036, 0.005780356, -0.0324744582, 0.0254634041, 0.0378464498, 0.064223282, 0.0449471548, 0.022995133, -0.0120156771, 0.0137143154, 0.0768035576, 0.0347831398, 0.0051731453, -0.0238589589, 0.0074258614, 0.0165931676, 0.0058314633, 0.0286802482, -0.0935456157, 0.0153018441, -0.0370050445, 0.0765288919, 0.0065734899, 0.0227643568, -0.0244230274, -0.0178751592, -0.0334432833, 0.0172361396, 0.0130631607, 0.0075164507, 0.0260235481, 0.005013118, -0.0745364204, 0.0131800221, 0.0196039826, -0.0119303474, -0.0233517345, -0.0189644508, 0.0302046984, 0.0627985075, 0.0368021242, -0.0273942128, -0.0537764989, 0.0129469978, 0.0271286182, 0.0533308536, 0.0545681864, -0.0107393116, -0.0076091085, -0.0433595181, -0.0225502495, -0.0236129221, -0.013849074, -0.0038217087, 0.0364686288, -0.0139512001, -0.0127938176, -0.020958785, -0.0066076727, 0.0450978354, -0.0402430259, -0.039184127, -0.070339568, 0.0435458422, 0.0177448839, -0.0131820925, -0.0019742954, -0.0110072484, 0.0280349944, 0.017119009, 0.0631865859, 0.0429789685, -0.093600221, -0.0400065295, 0.034624476, 0.0066848127, -0.0507211052, -0.0018313153, -0.0121069159, -0.0378373303, -0.0328655913, -0.0087929685, 0.0567390136, -0.0036021338, 0.0548144728, -0.0084572863, -0.0395150259, -0.055182226, 0.048949331, 0.0089349458, -0.0007521729, 0.0427103192, 0.0027688236, -0.0093208775, -0.0432598256, -0.0072303093, -0.0011713563, -0.0168166012, -0.0054107793, -0.0088560879, 0.0068421238, -0.0579580553, -0.0021981548, -0.1020144597, 0.0263896305, -0.0313834511, 0.0201760978, 0.0561159439, 0.0082508875, -0.0252755005, -0.0182242487, -0.0323667042, -0.0196032915, -0.0165107977, 0.0030912794, 0.0430160463, 0.0272091255, -0.0362010561, -0.0682689399, 0.0142251467, -0.0272575933, 0.0157150477, -0.0203242972, 0.0037172216, -0.0550193824, 0.0468053967, 0.0223450381, 0.014413246, -0.0196638983, -0.0126978317, 0.029662719, 0.042196881, 0.0702619106, 0.0891139284, -0.0031477837, 0.0260583349, 0.037815176, 0.0239457991, -0.0691858307, 0.0171921793, -0.0153792379, -0.0220045857, -0.0507284924, -0.0049054157, -0.0166390501, 0.06119949, 0.0158932917, 0.0430011526, -0.077102758, 0.0099932542, 0.0211739894, -0.0451335981, -0.0354056209, -0.0345881842, -0.0628654659, 0.0041642278, -0.0602507032, -0.0640697926, 0.0665151924, -0.0349305384, -0.0214827824, -0.0233506579, -0.0020255947, -0.0089911511, 0.0239123534, -0.0223396942, 0.010829147, -0.0044419058, -0.0415196754, -0.0684034079, 0.0153065473, 0.0044453684, -0.0117708584, 0.0606984943, -0.0610411912, 0.0043652542, -0.0106415711, -0.0466629229, -0.0625970662, -0.0393620096, -0.0039359373, 0.0070858407, 0.0067163692, 0.0031721457, -0.0455198064, 0.0060764737, 0.0587198474, 0.0505847521, -0.0087353671, 0.0113832373, -0.0445478447, -0.0018231116, 0.0552458689, 0.0160541367, -0.0292990226, -0.0294592772, 0.0336936563, 0.0097933467, 0.0668041334, -0.0187574942, -0.0362419374, -0.0268179439, 0.0305161215, -0.040258646, -0.0027005842, 0.0453014895, 0.0785064772, -0.0304790344, -0.0253831111, 0.111352779, 0.0400156267, -0.0369386934, 0.013994745, -0.0189263187, 0.0169236027, 0.0307026003, 0.0238614269, -0.081003733, -0.0236379858, 0.0258366, 0.0076283226, 0.0250286534, 0.0288901906, -0.0087402994, -0.1266117841, -0.0017057345, 0.0276683662, -0.0820596814, -0.0441890843, -0.0005025464, 0.0487591811, -0.0059694392, 0.0792134553, 0.039240092, -0.0164028592, -0.0102735208, 0.0148952706, 0.0182807352, -0.0694011077, 0.0041972147, -0.0365318954, 0.0543695241, 0.0730976835, 0.0002076954, 0.0349670164, -0.0212741438, 0.0371894985, 0.0026704315, 0.0393736549, 0.0084027518, 0.0162659101, -0.0205373503, -0.0009347288, -0.002837433, 0.0514819138, -0.0065546152, -0.027559774, -0.0025726552, 0.0560248047, -0.022531148, 0.0413539223, 0.0039250534, -0.0272167828, 0.0346077532, 0.0684165955, 0.0371394753, -0.0515200943, -0.0191516522, -0.0050298763, -0.0133978352, -0.0069697429, 0.0089425296, 0.0016337691, -0.0278784633, 0.0167763922, -0.0450074412, -0.0334513783, 0.0300110653, 0.0742029697, 0.0409456454, -0.0168073494, -0.0036308367, -0.0232500862, -0.0017342337, 0.0241407603, -0.0125561887, 0.0322061963, -0.0712120906, -0.0136135714, -0.0154562937, -0.0507879853, 0.0004016578, 0.0152222477, -0.0547450334, -0.1032527313, 0.0117475558, 0.0157586262, 0.0265206657, 0.1032074615, -0.004319767, -0.0168176163, 0.0241001584, 0.0202254597, 0.0001142798, 0.0297766626, 0.0044680191, 0.0203981679, -0.0077206325, 0.0248945486, -0.0331082195, -0.0319861881, 0.0154813733, 0.0422038399, -0.0574092716, -0.0287703797, 0.0434544571, -0.0190883111, 0.042014841, -0.0081506409, -0.0166965872, -0.015433304, 0.0280997604, -0.0221176185, -0.0191567875, 0.0044274391, -0.0654093251, 0.0064257598, 0.0031548801, 0.0306559056, -0.0171769653, -0.0168914236, 0.0399058573, -0.0375566892, -0.0190893207, 0.0045126574, 0.0245395526, 0.0262106378, 0.047524754, -0.0297142733, 0.0427160971, -0.0021854704, 0.043074701, -0.0048656226, 0.0940301493, 0.0429470912, 0.0063802097, -0.0159433484, 0.0308924671, -0.0380364731, 0.0168300234, -0.0211296584, -0.000972958, 0.0435354412, -0.0409097038, 0.0265383199, -0.0262015667, -0.0048141601, -0.009239885, 0.0341204628, -0.0284688547, -0.0232691634, 0.025424799, 0.0339849629, -0.0150008136, 0.0009205701, 0.0459396429, -0.0129066426, 0.0245788731, -0.0171586256, 0.0308278408, -0.0409376621, -0.0018285376, 0.0617189519, 0.0140317231, -0.043484658, -0.0264779609, -0.0414440706, -0.0247101989, -0.0001263138, 0.0431725122, -0.0318133384, -0.0205913931, 0.045776017, 0.0569036081, -0.0421543084, -0.0391804948, 0.0060133445, -0.0068197139, -0.0058528716, -0.021377461, -0.0681184381, -5.722017769e-33, -0.050240621, -0.008982406, 0.0468411669, -0.0023460258, -0.0304514207, -0.0229292847, -0.0309606735, 0.022318732, -0.0030433312, -0.0148329409, -0.021481026, -0.0206689835, 0.0178226512, -0.0021830099, -0.0002826804, -0.024992099, 0.0334765352, -0.0036183007, -0.0539793186, -0.014576179, 0.0126636242, 0.013779196, 0.0478525646, -0.0525150336, 0.0251984689, -0.0061140726, -0.0141790146, -0.0032966838, -0.045001179, 0.0619075373, 0.00695174, 0.0125110783, 0.0007472691, -0.007466258, -0.018673135, 0.0595619567, -0.038952928, -0.0036597822, 0.063597776, 0.038794037, -0.0163619872, -0.0421233624, 0.0482339785, -0.0366148911, -0.0429917686, 0.0194018651, 0.0374406986, -0.0117018037, -0.0271394625, 0.0104139186, -0.1003329605, -0.0127818305, -0.0339911804, -0.0441218838, -0.0033003353, 0.0429508463, 0.0039758007, 0.0006754557, -0.0688155964, 0.0344492905, 0.0067122648, 0.0217631347, 0.1200778484, 0.0382172801, 0.016046308, 0.0417877026, -0.0151404794, -0.0031414751, 0.0351371318, -0.0353608727, 0.0454103462, 0.0165998135, 0.0010422671, 0.0500907749, 0.0033062114, 0.022660356, -0.0079902029, 0.0099205729, -0.0054583824, 0.0251628552, 0.0197965764, 0.046502579, -0.0867683366, 0.0002303979, -0.0353683569, 0.0047609555, -0.0235050227, -0.0455129594, 0.0430289395, 0.006911851, 0.0209444165, 0.0032356996, 0.0339072235, -0.0016727063, -0.0023955444, 0.0089381188, -0.0275921896, 0.0291376449, -0.0306124929, 0.0070053921, -0.0928260088, -0.0562943965, 0.0085733207, 0.0331376903, 0.0345948339, 0.0169517547, 0.0312406942, 0.028226329, -0.0615388975, 0.0155454427, -0.0233263746, 0.0148662366, -0.0003688993, -0.0586109422, 0.0690232441, 0.013556717, -0.0275270771, 0.0467980951, 0.0020128544, -0.063513726, -0.0399572477, -0.0418964922, -0.0353046507, -0.0079263104, -0.0317142978, 0.0131976716, -0.0045147925, 0.0142184347, 0.0102900118, -0.0206053127, -0.0031543551, 0.0369887203, 2.502e-7, 0.0339962244, 0.0371611677, 0.0548562557, 0.0072077513, 0.0054222564, 0.0209337641, -0.0392607488, 0.0206602886, 0.0175265111, -0.0089617996, 0.039810814, 0.0078591108, 0.045060277, -0.0197800025, -0.083458893, 0.025361903, -0.0547471903, 0.0408085659, -0.0504138321, 0.0528573133, 0.0069444091, 0.0808520466, -0.0029275906, 0.037672881, -0.0086219553, -0.020356115, 0.0392489098, -0.0467333905, -0.0047724098, 0.0154572129, -0.0356192663, -0.0087754214, -0.0156699307, 0.0250681862, 0.002386489, 0.0464468077, -0.0233735219, 0.0709930584, -0.0269270986, -0.028975673, -0.0160991997, 0.0157763567, -0.0101570478, -0.075605318, 0.0434790328, -0.0654179752, -0.0016203008, -0.0123832254, -0.0107414443, -0.0065259063, -0.0153363477, 0.017017737, 0.0147905489, 0.0180360153, 0.0295427069, 0.0003327787, -0.044049859, -0.0422050767, -0.0480850488, 0.0348686688, -0.0417773835, -0.0293297656, -0.030417433, 0.0000820554, 0.0219718348, -0.0426894687, -0.0168515854, 2.180427226e-34, -0.0129575348, -0.0164599977, 0.0626918003, 0.0583921969, -0.0133361658, -0.0098639149, -0.0059323241, 0.0409511514, 0.0595267564, -0.0713918284, -0.0046251649 ]
http://arxiv.org/abs/2406.11473v1
http://arxiv.org/pdf/2406.11473v1
Promises, Outlooks and Challenges of Diffusion Language Modeling
2024-06-17T12:38:38
2024-06-17T12:38:38
Justin Deschenaux, Caglar Gulcehre
cs.CL
cs.CL, cs.AI
The modern autoregressive Large Language Models (LLMs) have achieved outstanding performance on NLP benchmarks, and they are deployed in the real world. However, they still suffer from limitations of the autoregressive training paradigm. For example, autoregressive token generation is notably slow and can be prone to \textit{exposure bias}. The diffusion-based language models were proposed as an alternative to autoregressive generation to address some of these limitations. We evaluate the recently proposed Score Entropy Discrete Diffusion (SEDD) approach and show it is a promising alternative to autoregressive generation but it has some short-comings too. We empirically demonstrate the advantages and challenges of SEDD, and observe that SEDD generally matches autoregressive models in perplexity and on benchmarks such as HellaSwag, Arc or WinoGrande. Additionally, we show that in terms of inference latency, SEDD can be up to 4.5$\times$ more efficient than GPT-2. While SEDD allows conditioning on tokens at abitrary positions, SEDD appears slightly weaker than GPT-2 for conditional generation given short prompts. Finally, we reproduced the main results from the original SEDD paper.
[ 0.0274010897, 0.0610131696, 0.001120905, -0.0086962739, -0.0389671251, -0.0109985229, 0.007652286, 0.0139974654, 0.0009048912, -0.0323105715, 0.0006124322, -0.0631083995, 0.0061939508, 0.0287274253, 0.0511241481, -0.0199960414, 0.0449292846, -0.0380999781, -0.0391937569, -0.0216119662, 0.00049927, -0.0007764471, -0.0024947983, 0.0399952009, -0.0378421284, -0.0158536937, -0.018442288, 0.0094756065, 0.0136700217, -0.0297358651, -0.0027129487, 0.078362897, 0.0247870889, 0.015158833, 0.000002131, -0.0377369411, 0.0055375998, 0.010025261, 0.0076907757, 0.0196541362, 0.0298181307, 0.0229137372, 0.008040552, 0.0421506241, -0.0136139272, -0.0304691605, 0.0444532558, 0.04617396, 0.0425196886, 0.0674083382, -0.0104088541, -0.0784351155, 0.0492143147, -0.0548661575, 0.0254551582, -0.0253013205, 0.0306040067, 0.0057526221, -0.0063491901, -0.0059083723, -0.0424566679, 0.0429008193, 0.0242400225, -0.0054456014, 0.0613726042, 0.0808580294, 0.0354919732, -0.0222112518, -0.0349631794, 0.0751048848, -0.0146179805, -0.0253801923, 0.0438342765, -0.0056742802, -0.0314149223, 0.0001982508, -0.0279878005, -0.0131047228, 0.0200225357, 0.0379708298, 0.0372994617, -0.0272070821, 0.0412285812, 0.0096152928, -0.0146901542, 0.0454009064, 0.0409146212, -0.0309494212, -0.0022543236, -0.0195802543, -0.0408984497, -0.0631529838, -0.0095687686, 0.0168165248, -0.033764489, 0.0191914588, -0.0242943987, -0.0269933026, 0.0426846519, 0.0036225233, 0.0269092489, 0.0023266743, 0.0431466326, 0.0143807996, -0.0469763838, 0.0393081009, 0.0022201119, -0.0196322743, -0.0365458988, 0.0160440188, -0.0212452263, -0.0078663109, -0.0503377728, 0.0607754029, 0.0078993514, -0.0352699719, -0.0508477241, 0.0047634258, 0.0040478194, -0.0446556546, 0.0601411499, -0.0034994029, -0.0337097086, 0.0029832099, -0.0035588592, 0.0173404794, -0.0431170575, -0.0120448908, 0.023089502, 0.0039400263, -0.0312681943, 0.0198283866, 0.0139225842, -0.0060558468, -0.0080973841, 0.0316104665, -0.0040283431, -0.0241994392, -0.0052792472, -0.019346565, -0.0507984497, -0.0608519465, -0.0120170675, -0.0994805917, 0.010638332, 0.029318843, -0.0001154755, -0.010073158, 0.0108064581, 0.0249447413, -0.0327762216, 0.0245120246, 0.0009330763, 0.0374222025, 0.0180417746, -0.0205208939, 0.0303353295, 0.078159906, 0.0197816323, 0.0255006421, -0.0105428919, 0.0007190224, -0.0212146696, 0.0261006169, 0.0609046221, 0.0361734293, 0.0128499065, -0.0164194517, 0.0243684314, 0.0245601628, 0.0741525292, 0.0796554312, -0.0494434461, -0.0116024492, 0.0555486865, 0.0487838425, 0.0005190578, -0.0429438353, 0.0750568435, 0.0146830529, -0.0449974611, 0.0149657046, 0.0026909332, -0.0150860734, 0.0366951413, 0.0079394467, 0.0940978006, 0.0061878548, -0.0436299257, -0.0289094336, 0.0079978267, -0.0109453984, 0.0355372019, -0.007834346, 0.0364746563, 0.0213978961, -0.0488414131, 0.0743617862, 0.0178874284, -0.0469955653, 0.0072007058, -0.0740769878, 0.0254646577, 0.0616785698, 0.0667393655, 0.0184713062, 0.0396822803, -0.0310041029, 0.029785376, 0.0333564021, 0.0394343249, 0.0200756062, 0.0083302148, -0.0486627482, 0.0227629896, 0.0195976254, 0.0354692377, 0.0440215766, -0.0095389793, 0.0246292334, 0.0283595342, -0.035023056, -0.019135816, 0.0246358365, -0.0259101558, -0.029625522, 0.0453497842, -0.0178953744, 0.0151164029, 0.0042868927, -0.0255499892, 0.023941014, -0.0054490366, -0.039994549, -0.0440656655, -0.0107189212, -0.0879740715, -0.050910376, 0.0222641081, -0.0057716356, 0.000039777, 0.0039815628, -0.0277804229, -0.040787708, 0.0386251658, -0.0454847477, 0.0426081978, -0.0549470112, 0.0176515784, 0.0360187776, 0.037637867, -0.0290745348, 0.0605299957, -0.0287803765, 0.0335267894, -0.0370136984, 0.0320678651, 0.0244588275, -0.023639448, -0.0014409118, -0.0411131345, -0.0162732247, 0.006922103, 0.0095091835, 0.0112968693, -0.0291931387, -0.017585434, -0.0974367857, 0.0167011917, -0.0462506041, -0.0084620733, 0.0125465142, 0.0348807946, 0.0030568421, 0.018360883, -0.0417872183, 0.0045638885, 0.0127504477, 0.0115447566, 0.0194337144, -0.0074480698, -0.0165551547, -0.0354439244, -0.0196977854, -0.0244312547, 0.0391369015, -0.0274210069, -0.0039358274, -0.0382611491, 0.0763790905, -0.0022652496, 0.0080491034, -0.0101790521, -0.0489690788, 0.0002138657, -0.0145988893, 0.1109463051, 0.0124264723, 0.035433881, 0.0171875712, -0.0158254858, -0.0268876236, -0.0303397104, 0.0098597277, -0.0611781739, 0.0260540508, -0.0222416893, -0.0601479933, -0.0030218668, 0.0474050045, 0.0402730331, -0.0276606046, -0.0745972395, -0.0236426387, -0.0378225856, -0.0434105881, -0.0142316334, -0.0051836884, -0.0284991693, -0.0301855728, -0.0437581725, -0.0520322025, 0.0581968129, -0.0473271348, 0.0126025053, -0.06428992, -0.0046817642, -0.0323560648, 0.0128714591, 0.0358058736, 0.0171762574, -0.0015505445, -0.04092291, -0.0187679585, 0.0042058481, -0.0036516117, -0.0189709589, 0.0380056091, -0.0001043568, 0.0431770235, 0.012151354, -0.0136886248, -0.0191368908, -0.1049939618, 0.0321963094, 0.0209456291, 0.0073725767, -0.0103443908, 0.0195838232, 0.0476191565, -0.005936028, 0.0161865223, -0.0161828157, 0.0027514624, -0.0132735968, 0.0334475823, 0.1055264696, -0.0178031176, -0.0046347668, -0.0294796247, 0.039295163, 0.0414747074, 0.0714874342, 0.0234350357, -0.0317984521, -0.0038097254, -0.0207389258, -0.0382149294, -0.0120563619, 0.0148446243, 0.0733029321, -0.0247631874, -0.018887369, 0.1039861441, 0.0098029198, -0.0342579186, 0.01339084, 0.0185257085, 0.1081993505, -0.0120499479, -0.0147563862, -0.0622065626, -0.0368516482, 0.0177003331, -0.0006956584, -0.0195799321, -0.0387447476, -0.0034458553, -0.1206310466, 0.0502034388, 0.0054003624, -0.0161900148, -0.0138753168, -0.0761296675, -0.0280904304, 0.0279328004, 0.0006123891, -0.0016537707, -0.0150220031, 0.017268464, 0.0502686575, -0.0235104412, -0.0446022712, 0.0034507227, -0.0480422415, 0.0310357679, 0.0875357017, 0.0237788931, 0.0091557018, -0.0565480925, 0.0654918328, -0.0328125656, -0.0140722524, -0.0233165324, 0.0349894762, -0.0085036438, -0.009712371, -0.0055514546, 0.0293588545, -0.0254633818, 0.0132969534, -0.0197063945, 0.0792455673, 0.0071792249, -0.0558198094, -0.0220909957, 0.0005318686, 0.0415669568, 0.100282535, 0.0361422673, -0.0546841808, -0.0770170689, -0.0121868504, 0.0599217713, -0.0034041649, -0.0273129325, -0.0037106208, 0.0121434676, -0.1032765955, -0.0808361471, -0.0372374021, 0.0005095268, 0.0692692623, -0.0091946246, 0.071404919, -0.0434526727, -0.0304810386, -0.0378782451, -0.0091264537, -0.0090584746, 0.0167372171, -0.0780379847, -0.0141556403, 0.0313907079, 0.0016498014, -0.0403932445, 0.0088950042, -0.1084392965, -0.0877765641, -0.0179134365, 0.0292559713, 0.0164780933, 0.0192088522, -0.0311679523, -0.0500296317, 0.0820478573, 0.033548899, 0.0124307042, 0.0252079107, -0.0069165477, -0.0344396569, 0.0148489904, 0.0327052064, -0.0226975642, 0.0214391872, 0.0087468876, 0.0888339579, 0.0065072565, 0.0407116599, -0.0062938873, 0.0137488581, 0.0234435033, -0.0268134195, 0.0274107046, -0.0428603813, 0.0145477057, -0.0253659058, 0.0138156954, -0.0403339304, 0.0070553008, 0.0412466638, 0.0164727885, -0.0332573391, -0.0220616534, 0.0031061606, 0.0294355005, 0.0218090918, 0.0045835888, -0.0150972093, 0.0231350455, 0.0367328562, -0.022887338, -0.0125122368, -0.0253969599, 0.0125169, 0.0055527831, -0.0183694027, 0.0300891958, 0.0150313322, -0.0216687396, -0.0026612876, 0.0250041485, -0.0476306304, -0.0220343918, -0.0248793736, 0.0204690155, 0.0604198612, 0.0327491537, 0.0692411214, -0.0291055236, 0.0228993762, -0.0267362893, 0.02766167, 0.0080883969, -0.0081427302, 0.0355594121, 0.0208119247, -0.0239345338, 0.0271427575, 0.0808933452, 0.0191409383, 0.022705527, 0.005177456, -0.0169278812, -0.0083564753, -0.0082561783, -0.0329911485, -0.0094909118, -0.0008817422, 0.0351107344, -0.0352974162, -0.09053877, -0.0369272493, 0.0010992715, 0.0172085688, 0.003376038, 0.0507783256, 0.0673960894, -0.00212909, -0.0225068647, -0.0813812912, 0.015673602, -0.0129850246, -0.0441193655, -0.0188282542, -7.245272573e-33, -0.0052331919, -0.0277541671, 0.0153722269, -0.0292963181, -0.0538494252, -0.0148793571, -0.052760452, -0.0061845267, -0.0049761245, 0.0246165078, -0.0227699671, 0.0108463466, 0.0046517495, 0.0276959613, -0.0184774455, 0.000852659, 0.061325904, -0.0141493008, -0.0000857974, 0.0377734117, 0.0159373339, 0.0316977724, 0.0067612999, 0.0142685799, -0.0213060156, 0.0058969851, 0.0030655372, -0.0330852047, 0.0105195036, 0.0174068939, -0.0445591398, 0.0536389574, 0.034600202, -0.0134114902, -0.0119510097, 0.0332658105, -0.0780817345, -0.0341663323, 0.0162436869, -0.024950454, -0.0119360853, -0.0167411584, 0.0548555776, 0.0057236124, -0.0368094258, 0.0273693297, 0.0243505351, 0.0283161905, -0.0117401853, -0.0174422096, -0.0304755606, 0.0427436978, 0.0112404395, -0.0049049226, -0.0210871566, -0.0021069266, -0.0174870249, 0.0341067575, -0.0610797033, 0.0090350416, 0.0112612834, 0.0676871315, 0.0231217444, 0.0095093613, 0.0353800282, 0.039901372, 0.0422450304, 0.0115242228, 0.0120826289, -0.0098080607, 0.0255283285, -0.0020185164, -0.0046610716, -0.034191031, 0.0443015397, -0.0355161354, -0.0871169418, 0.0082475645, -0.0086852321, 0.0421902537, 0.0525651723, -0.0108170277, -0.0591398105, -0.0128002921, -0.0445976406, -0.0157416109, -0.0000776209, -0.0504407883, 0.0531492569, 0.0280049164, 0.0087498873, -0.0431508012, 0.0545214042, -0.0077562514, -0.0753694698, 0.011479334, -0.0081143426, 0.0165289976, -0.0124077182, 0.0386776961, -0.0697463974, -0.0304976609, -0.0088292509, 0.0455973707, -0.0210885238, -0.0132152075, -0.0125304237, -0.0128408233, -0.0675624087, 0.0034303297, -0.0312501378, 0.031211352, -0.0284527894, 0.0120991385, 0.0284200422, 0.0055733034, 0.0019527002, 0.0504493825, 0.0072972532, -0.0143604688, 0.0071292189, 0.0140548395, 0.0108773317, 0.0401016288, -0.014311308, 0.0129774194, -0.0130520612, 0.0560479127, 0.0406387709, -0.054449942, -0.0265332926, 0.0330496281, 2.952e-7, 0.0175179224, 0.0236674268, -0.0094915498, 0.0277679972, 0.0183433648, 0.0295305718, -0.0057420437, 0.0236594137, 0.0093357833, -0.0095849847, -0.0154198594, 0.0119613092, 0.0372349694, -0.0315746851, -0.120305486, 0.0129530933, -0.0493454486, 0.0307400711, -0.0417706743, -0.0134080835, 0.0040747221, 0.0915119275, -0.0137011074, 0.0049059703, 0.0111400951, -0.019669421, 0.0632025301, 0.0064586722, -0.0294247288, 0.0356045887, 0.0172868334, -0.0393629186, 0.0130687952, 0.016312344, -0.0379666574, 0.026550699, 0.0119366813, 0.0209754892, -0.0233106259, -0.0796224922, 0.0242603626, -0.007602111, 0.0079181055, -0.0662135482, 0.0648680404, -0.0091170631, -0.0259065423, -0.0088757593, -0.0725226402, 0.0076657003, 0.034820091, -0.0182559472, -0.0652353317, 0.0176599417, 0.0168595947, -0.0139866956, -0.0208828915, -0.0766041279, 0.0125963408, -0.0296110269, -0.0492422357, -0.059914846, -0.0450324528, 0.0286397971, -0.0000104795, -0.0098485043, -0.0222661495, 2.879399126e-34, 0.0763912648, -0.0452956557, 0.0221944526, 0.025546167, 0.0288239233, -0.0141838836, -0.0162439942, 0.0200552773, 0.0225498471, -0.0917421281, -0.039953094 ]
http://arxiv.org/abs/2406.11464v1
http://arxiv.org/pdf/2406.11464v1
Automating Easy Read Text Segmentation
2024-06-17T12:25:25
2024-06-17T12:25:25
Jesús Calleja, Thierry Etchegoyhen, David Ponce
cs.CL
cs.CL
Easy Read text is one of the main forms of access to information for people with reading difficulties. One of the key characteristics of this type of text is the requirement to split sentences into smaller grammatical segments, to facilitate reading. Automated segmentation methods could foster the creation of Easy Read content, but their viability has yet to be addressed. In this work, we study novel methods for the task, leveraging masked and generative language models, along with constituent parsing. We conduct comprehensive automatic and human evaluations in three languages, analysing the strengths and weaknesses of the proposed alternatives, under scarce resource limitations. Our results highlight the viability of automated ER segmentation and remaining deficiencies compared to expert-driven human segmentation.
[ 0.0076722829, -0.0003062692, -0.016945878, 0.0389864109, -0.0587670133, 0.0022376433, 0.0474259332, 0.0053709387, 0.0077849673, -0.0488478281, 0.0235092286, -0.0177046694, 0.0171888489, 0.015474014, 0.0023870494, -0.1190843508, 0.0217549186, -0.0497447588, -0.0050435094, 0.0237746052, 0.0508302562, -0.0007762385, 0.0221849494, 0.0079886969, 0.0310006849, -0.0039951191, 0.0124931168, 0.0040863766, 0.023079535, -0.0079865744, 0.0011107902, 0.0342024267, -0.0328578018, 0.0200462062, 0.0000018503, -0.0378044471, -0.0820074603, 0.0077812481, 0.0068840478, 0.0284005236, 0.0729981363, -0.0678533539, -0.027665494, -0.0033718115, 0.0192407686, 0.0127588185, 0.0023831339, 0.0406164341, 0.0553622879, 0.0774293393, -0.0246612988, -0.0286280531, 0.0179154668, 0.0095523596, -0.0105025601, -0.0028666717, 0.0275561512, -0.0352597572, -0.0246107187, -0.007495054, 0.0118881185, 0.0358351469, 0.004590645, -0.0090623647, 0.0139272017, 0.0370623842, 0.007565577, -0.024982648, -0.0066596372, 0.0194526166, -0.037381541, -0.0149623668, 0.04720366, -0.0154398773, -0.0242625698, 0.0255276896, -0.0277005248, 0.0197025482, -0.0146630472, 0.0287150722, 0.0338153765, 0.0317608379, -0.0024578522, -0.011199899, -0.040909756, 0.0326581299, 0.0331904814, -0.059681695, 0.0110388575, 0.0181978084, -0.0096298847, -0.0338373296, 0.0493306629, -0.001061443, 0.0481858626, 0.0178216882, -0.0688992143, -0.1063783094, -0.0112398732, 0.0306900349, -0.0119447112, 0.0152871413, 0.0047283266, 0.0286002159, -0.0323524326, 0.0055450015, 0.0298684426, 0.0144473081, -0.0265065972, 0.023848433, 0.0138238845, -0.0120853484, -0.0656810105, -0.0014026337, -0.0573867857, -0.0324719436, -0.0273137782, -0.0135266008, 0.0135619882, 0.0044213459, 0.0388374589, -0.0391754285, -0.0124147348, -0.005176689, 0.0462714173, -0.0526660085, -0.0704985186, -0.0239437222, 0.0064414348, -0.0218222011, 0.0175152421, 0.0329042785, 0.0103325704, -0.0242503844, -0.0311125629, 0.0044169421, -0.0446228869, -0.0482956134, -0.0474340729, -0.024110524, -0.0127821099, -0.0253535546, -0.0013819436, -0.0715319663, -0.011201812, 0.0013214211, 0.0428717025, -0.0173266698, -0.0056808256, 0.0047927001, -0.0122671304, 0.0702634081, -0.0117871072, 0.0128711229, 0.0788469613, 0.0182603598, 0.0500318557, 0.0519200191, 0.0384750366, -0.0012387256, 0.0820900053, 0.0104751186, 0.0313482657, 0.0828068852, -0.0362407528, -0.0247480646, 0.0191461761, -0.0550225601, -0.0449299477, -0.0242400132, 0.0191616286, 0.0833193883, -0.0109223472, -0.0073983255, 0.0209079944, 0.0509802252, 0.0086209942, 0.0411200896, 0.0362715274, 0.0280253515, 0.0144833382, 0.0711248219, 0.0350991376, -0.0599422455, 0.0030625083, 0.0385811813, 0.0017012907, 0.042792093, 0.0160487778, -0.0223088041, 0.0150334258, 0.0026342203, 0.0370720886, -0.0449898019, 0.0881823003, 0.0233134497, -0.0796418935, -0.0104589304, -0.0000687802, -0.0824556872, 0.0262949392, -0.0418546125, 0.0107498029, 0.0201977883, 0.0538099036, -0.0388283171, 0.0430275612, 0.0393318869, 0.0150842872, 0.0244814623, -0.0130300457, 0.0032218434, -0.0185528472, -0.0655885935, 0.0306702256, 0.0272410065, 0.0200497471, -0.0024689331, 0.0077713034, 0.0088231955, 0.0309908893, -0.0379516669, -0.0079289228, 0.06503319, -0.0294431094, 0.0205494631, -0.0298888423, 0.0237236489, -0.0412220098, 0.0211494677, -0.0200846139, 0.0042500892, -0.008924529, -0.0505861044, 0.0543969423, 0.0141379246, -0.0251757428, -0.037604887, -0.0352607183, -0.0799351037, -0.0011259986, 0.0116689894, 0.002391682, -0.0302636083, -0.0200602021, -0.0302848481, 0.0071104923, -0.0384608805, 0.0485366657, 0.0157143474, -0.0395828746, -0.0573164187, 0.057897646, -0.0101081952, 0.015090487, -0.010212549, -0.0308152493, 0.0050727585, -0.0590791181, -0.0127909379, -0.016967034, -0.0016226481, -0.0268202033, -0.0110005243, 0.0031373242, -0.0140409255, -0.0293619353, -0.0847462863, -0.0469724163, -0.0416584201, 0.0122741451, 0.0288548358, -0.0071603335, -0.0259924605, 0.0065137376, -0.000727957, -0.0048818584, 0.0176471546, -0.0113952644, 0.0532380454, -0.0254526921, -0.0187930912, -0.0463185422, -0.0247882642, -0.0078548929, 0.0341523699, 0.0658916458, -0.0620436594, -0.0755126923, 0.0152755249, 0.0541893281, 0.009181357, 0.0172687806, -0.0322055593, -0.0292289648, -0.022013288, 0.0834238976, 0.0811867118, 0.0175298974, 0.0423342772, 0.0032467989, -0.0177972429, 0.0130109536, -0.0087924413, -0.0246969573, 0.057615418, -0.0083109578, -0.0981908664, 0.0590787902, 0.0888029858, 0.0148436092, 0.0005924705, -0.028870808, -0.0241536312, -0.0826996937, -0.0461582802, -0.0398799144, -0.0088451672, -0.0399287753, 0.0338170528, -0.0154214967, -0.0252521988, 0.0641002804, -0.0599120297, -0.007936934, -0.060506735, -0.0304286238, -0.0423151068, 0.0065725436, 0.0371932462, 0.0197924059, 0.0107638948, -0.0471824668, -0.0409086682, 0.0557064638, 0.0316031091, 0.022864366, 0.034236826, -0.0650089979, -0.0128939012, -0.0029794623, -0.0117532434, -0.0043955608, -0.0208772011, 0.0078178234, -0.0166767575, 0.081550926, -0.0028407096, -0.0182660129, 0.054425098, 0.0008282983, 0.086132206, 0.0045133159, -0.0027590578, -0.0180591494, 0.0862067044, 0.0246990509, -0.0462346002, -0.0074275038, -0.0813023597, 0.0304534361, 0.0348632708, 0.0337324664, -0.0140315592, 0.0367538258, 0.0023509283, 0.0148296906, -0.0723824352, 0.0107990699, -0.0185062177, 0.0465488359, -0.0627093613, -0.0257451944, 0.1013792753, 0.0420594811, -0.0324002653, -0.0279884823, -0.0343693942, 0.0241867304, -0.0491438061, -0.0086890254, -0.0495830663, 0.0016716167, 0.0234847274, 0.07143756, -0.0218678061, -0.0123690767, 0.0381975733, -0.0698956922, 0.036177963, 0.0158420485, -0.0055083488, -0.0107121076, -0.006335631, -0.0152722429, 0.0052430606, -0.0256931558, 0.0103972284, -0.0320620462, -0.0044970592, 0.0201951116, -0.080720365, -0.0035144791, -0.0332616828, -0.0219502021, -0.0120071666, 0.0488019325, -0.0001740082, -0.0040864991, -0.0033814076, 0.0674228445, -0.070145689, -0.0106920786, -0.0063734595, 0.0333942883, -0.0107257292, -0.003881129, -0.022517737, 0.0684946477, 0.0376275331, -0.0161299612, 0.0261842925, -0.0032326917, 0.02106544, -0.0294657722, -0.0161373671, -0.0014649844, 0.0142613202, 0.0643704534, 0.0292956401, -0.0277783386, -0.0641538128, -0.0468857251, 0.0624223687, -0.0771283582, -0.0324142613, 0.0330767557, -0.0425506122, -0.0675017908, -0.0994973779, -0.0533806235, 0.0689553693, 0.0247304067, 0.0275498573, -0.0275997594, 0.0286347847, 0.0073234099, -0.0087335408, -0.0145271048, 0.0008105055, -0.0024594665, -0.1084556207, -0.036542505, -0.0337667502, -0.0186460838, -0.0358211026, -0.0101176109, -0.0537191331, -0.0319815129, 0.051958371, 0.0350431576, 0.022345392, 0.0053082532, -0.0241617672, -0.0552985147, 0.0320533402, 0.013260127, -0.0278272983, 0.0154897282, 0.0024480815, 0.0168437492, -0.0268019922, -0.0049016951, 0.0075358325, 0.029284507, -0.0051871282, 0.0141045731, -0.0702638552, 0.0006254254, -0.0206132587, 0.0228069238, 0.0449167341, -0.0416192524, 0.0309499595, -0.0680448264, -0.0083454559, -0.0483694226, 0.0118089151, -0.0386844911, 0.0124224955, 0.0314823724, 0.0214949884, -0.0317133926, 0.0644804463, -0.00586484, 0.002192396, -0.0671226084, 0.0467669591, 0.0115681672, 0.0418199226, 0.013817125, -0.0063505, 0.0049344739, 0.0200337321, -0.0536512807, 0.0289835185, 0.0170876309, 0.0755446032, 0.0284544956, -0.046084296, 0.0044378685, 0.0459690988, 0.0065063797, 0.0488300212, -0.0561933629, 0.0080269799, 0.0137301432, -0.0043146447, 0.0628361031, -0.0199340936, -0.0282813162, -0.0115696695, 0.0234779399, 0.0513114184, -0.0149612688, -0.0243121162, -0.0003908418, 0.0002419996, -0.0431558564, 0.0690195411, 0.0264307242, -0.0164513215, 0.0389465801, -0.0148347057, -0.0410560109, 0.0113517866, -0.0033283911, -0.0086597558, -0.0156552438, -0.0145518761, -0.0621412694, -0.0003858927, -0.0119129037, 0.0320816822, 0.0167067926, 0.0135427341, 0.0005269497, 0.0430050008, -0.0254424401, -0.0115721002, -0.0458001047, 0.0123324385, -0.0148867853, -0.0359525904, 0.0237513799, -5.880748812e-33, -0.0187501479, -0.0338601544, -0.021239141, -0.0178207923, -0.002575217, 0.0158420019, -0.0469382294, 0.005282538, 0.057775002, 0.0079644499, -0.0026846835, -0.0314752497, 0.0502308831, 0.0494718552, -0.0274512079, 0.0216744877, 0.0552428253, -0.0203212686, -0.0292269308, 0.0007622516, 0.0051660626, 0.0391430445, -0.0008443626, -0.0204324275, 0.0447119959, -0.0455337428, -0.0260980055, 0.0211459901, 0.0592236184, 0.0221806355, -0.0123957768, -0.0186308734, 0.0318401381, -0.0128117129, -0.0018574656, 0.0757964551, -0.1045655608, 0.0091791553, 0.0139591824, 0.0073737167, -0.066448845, -0.0184061136, 0.0258755237, -0.0178986955, 0.0442185514, 0.0240889266, 0.050777372, -0.0093473727, 0.0141926352, -0.0161036178, -0.070511654, 0.0660618842, -0.014246136, 0.0166504513, 0.0730312169, 0.0279032346, 0.0127976425, 0.0040096371, -0.0717828572, 0.0106673595, 0.057479687, 0.0071689044, 0.0441019684, 0.0098386016, -0.0129547156, 0.0256487131, -0.0009127763, -0.0086481487, -0.0283744819, 0.0331747383, 0.0402092077, 0.0005865689, 0.0375677198, -0.0143513298, 0.0136427684, -0.0049841795, -0.0318404511, 0.0442735888, -0.0019109345, -0.0132702766, 0.0278879963, 0.014258896, -0.0711940154, -0.0017594314, 0.0179135203, -0.0242890641, -0.0048501953, 0.0138348136, 0.0090014003, 0.0164933763, -0.0838813335, -0.0059935651, 0.0186955743, 0.0198568329, 0.0106249778, -0.036167644, 0.0006592915, 0.0577955544, -0.0466476642, 0.0121350372, -0.0397524163, -0.0104254065, 0.0152632352, 0.0285025463, -0.0051627941, -0.0080155339, -0.0202101097, -0.0425510928, -0.0514793731, 0.016584428, -0.0028999532, 0.0396580324, -0.0130147468, 0.0859534964, 0.0218621697, -0.0103821093, -0.014064108, 0.0305266101, 0.0362562947, -0.0253498014, -0.0339138322, 0.0513157919, 0.0012276979, 0.0443971939, -0.0269493144, 0.0092372, 0.0197019633, -0.0094762538, 0.0598097071, 0.0054030037, 0.0243568104, 0.0073778555, 2.301e-7, 0.0482426919, 0.0340292305, 0.0597519912, 0.0027601996, -0.0120357703, 0.020293735, 0.017283855, 0.0053021465, -0.0003920717, 0.0064738644, 0.0224031452, -0.0110278772, 0.0557833537, 0.0091708871, -0.0806880966, -0.0165324621, 0.0051232479, 0.0079504177, -0.0386306643, 0.0033620324, 0.0433894694, 0.0230262168, -0.0032929108, 0.0268892702, -0.0104834735, -0.0505161062, -0.0034533984, -0.0210816152, 0.0070882426, 0.0492635593, 0.0719131678, 0.0180206131, -0.0324594788, 0.0099431938, -0.0137215862, -0.0067957575, 0.0755823851, 0.0675534829, 0.0206189994, 0.0340964533, 0.0385699309, -0.0070117204, -0.0250733532, -0.0585794002, 0.046434138, -0.0372011662, 0.0446636043, 0.0426106267, -0.030737238, -0.0052740034, -0.0422956198, -0.0192154404, -0.0415811017, 0.0627398416, 0.0304882918, -0.0301692169, 0.0073667034, -0.0589813925, -0.030311225, 0.0026046962, -0.0260879118, -0.0255635306, -0.0303631034, 0.0273550246, -0.0237869173, -0.072956048, -0.0049614632, 2.341352403e-34, 0.0101378746, 0.0010099263, -0.0480634347, 0.052020777, 0.0298092868, -0.0175789911, -0.0102627277, 0.0063497294, -0.0339668654, -0.0721950158, 0.0000570518 ]
http://arxiv.org/abs/2406.11460v1
http://arxiv.org/pdf/2406.11460v1
TRACE the Evidence: Constructing Knowledge-Grounded Reasoning Chains for Retrieval-Augmented Generation
2024-06-17T12:23:32
2024-06-17T12:23:32
Jinyuan Fang, Zaiqiao Meng, Craig Macdonald
cs.CL
cs.CL, cs.AI
Retrieval-augmented generation (RAG) offers an effective approach for addressing question answering (QA) tasks. However, the imperfections of the retrievers in RAG models often result in the retrieval of irrelevant information, which could introduce noises and degrade the performance, especially when handling multi-hop questions that require multiple steps of reasoning. To enhance the multi-hop reasoning ability of RAG models, we propose TRACE. TRACE constructs knowledge-grounded reasoning chains, which are a series of logically connected knowledge triples, to identify and integrate supporting evidence from the retrieved documents for answering questions. Specifically, TRACE employs a KG Generator to create a knowledge graph (KG) from the retrieved documents, and then uses an Autoregressive Reasoning Chain Constructor to build reasoning chains. Experimental results on three multi-hop QA datasets show that TRACE achieves an average performance improvement of up to 14.03% compared to using all the retrieved documents. Moreover, the results indicate that using reasoning chains as context, rather than the entire documents, is often sufficient to correctly answer questions.
[ 0.0364989154, -0.0086543737, 0.0021348381, 0.0027866615, -0.0394724123, 0.0011485794, -0.0196210127, -0.0214169193, 0.0167250056, -0.0344874188, 0.0252444483, 0.0307156127, -0.0430529043, 0.0136033949, 0.0107854009, -0.0129431756, 0.0568187647, 0.0009551456, 0.0001575234, -0.0038309526, 0.0021586646, 0.021704942, -0.0444405153, 0.0109149171, -0.0338489898, -0.034457162, -0.0218976531, -0.0126018468, 0.0184920672, -0.0305240881, -0.000250851, 0.0265676957, 0.0337092169, -0.0034475869, 0.0000019918, -0.0375137739, -0.0102269016, -0.0063981144, -0.0701700598, -0.044964999, -0.0708200037, 0.0759275034, 0.0237949602, 0.0377530903, -0.0595856234, 0.0101486463, 0.0039965599, 0.0546699427, 0.0550612733, 0.0423249677, 0.0053945058, -0.0361642875, 0.0243996046, 0.0032424836, 0.0698255301, -0.0189108811, 0.0026865571, 0.0965308994, 0.0353134833, 0.0372403041, -0.0038979971, 0.0429544672, 0.0265999474, -0.0180994589, 0.019865334, 0.0190506354, -0.0199564788, -0.0018527107, 0.0154459951, 0.0894191712, 0.0715267956, -0.0254908502, -0.0040383358, 0.0165147595, 0.0282125939, 0.0489289425, -0.0452805385, 0.0123780379, -0.0746750161, -0.0242707469, -0.0050490657, 0.0081640314, 0.0244065896, 0.0078012445, -0.0051481444, 0.1004833281, -0.0155480318, -0.0333536491, 0.0059617055, 0.0260351021, 0.0057907705, -0.0083794445, 0.0098108985, 0.0422842801, -0.0089255357, 0.0425773673, 0.0170351751, -0.0016342642, 0.0273083989, 0.0186838862, -0.0026707891, 0.0258864053, -0.0062648994, 0.0451486632, -0.0669737011, 0.0117069343, -0.0430010892, -0.0330392718, -0.0407659598, -0.0051913066, -0.0621007942, -0.0391475074, -0.0483683646, 0.0564893968, -0.0519401021, -0.0121900691, -0.0008933712, 0.0533722825, -0.0020622325, -0.0170338433, 0.0014719816, 0.0522476807, -0.0022070426, -0.0027716281, -0.0657214001, 0.0273897275, -0.0869303346, 0.0501925536, 0.0688250214, -0.0150644472, -0.0070736073, 0.0119230244, 0.0366704203, -0.0207561515, 0.0095810555, 0.0079237744, -0.0185750686, 0.0085803661, -0.0609077848, -0.0950969383, 0.0107419295, -0.0447779261, 0.0246675592, -0.0551762357, 0.0380584076, 0.0209235959, -0.0374803655, 0.0107328473, 0.0003663772, 0.0492729023, -0.0276576858, 0.0326333568, -0.0214334484, -0.0129095456, 0.0280622914, 0.029471036, -0.0105200009, 0.0316540264, 0.0155696226, 0.0275083985, 0.0381315909, 0.0185612496, -0.0162135847, -0.0553445593, 0.0481934398, -0.0039257999, 0.0253077485, 0.0431643166, -0.0453683548, 0.0117553826, -0.0056746113, 0.0130907642, -0.0503995232, 0.0108617907, -0.001613335, 0.0142607549, 0.0431904085, 0.0151338736, 0.05457123, -0.0195089336, 0.0145329405, 0.0231690109, -0.0010514463, 0.0429463722, -0.0697725862, 0.0391299687, -0.0058035939, 0.0368916877, -0.0485903397, -0.0403213985, -0.0128759798, 0.027510846, 0.0157064535, 0.0202116631, 0.0240224507, 0.0324591585, -0.0458616465, 0.0058238925, -0.0145574994, -0.0620588548, -0.006103605, -0.0347851887, 0.0721091703, 0.0373020507, 0.0795684233, -0.0070905462, -0.05132908, -0.0023402071, 0.0098049194, -0.0096790604, -0.0055549801, -0.032894671, -0.0210475065, -0.0495093502, -0.0405180976, -0.0124383783, -0.0245880131, 0.0170299485, 0.0419323854, 0.011655665, 0.0279073361, -0.0606960915, 0.0392558388, 0.0065987092, -0.0408207662, -0.0230268463, -0.0066517089, 0.0137332343, 0.0032164657, 0.0493747257, 0.0175256077, 0.0434934385, 0.0328648947, -0.0158050843, -0.0484177805, 0.0341722742, -0.0469955429, -0.0485040396, -0.0086813653, -0.0058880835, 0.0224779285, -0.0255252905, -0.0253153257, -0.0844944119, 0.005632103, -0.0425999276, 0.0103829186, -0.0453987755, -0.0498563536, 0.0631192848, -0.0249120463, -0.0226296932, 0.1017977372, 0.0049075317, 0.0040294062, -0.0065315436, 0.0464185886, 0.0296559837, -0.0300322883, 0.0437837318, -0.0142634707, -0.0102727544, 0.0212498903, 0.0557602681, -0.0177515242, -0.0803395063, 0.0259429608, -0.0394599847, 0.0379516706, 0.0077783996, 0.0333182737, 0.0014626619, 0.0095694223, -0.0005359563, -0.0241004024, -0.0694731027, 0.0332324244, 0.0407859385, 0.0207947213, 0.0070456169, 0.0286783949, 0.0241579525, -0.0043605589, -0.0069008772, -0.0098681394, 0.0194550548, 0.0221751016, -0.0016998801, -0.0355486348, 0.0074518323, -0.0767409876, 0.0206911284, -0.0057102372, 0.0054898928, 0.020991005, -0.0199171007, 0.0328177474, 0.0588582978, -0.0165568963, -0.0005690673, 0.0090197837, -0.0357788503, -0.0568995886, 0.0516640879, -0.0494000912, 0.038859766, 0.0255860277, -0.0112055941, 0.0072440961, 0.0287825502, 0.0222826898, -0.020635508, -0.0404651724, -0.001589213, 0.0384948142, -0.0046599563, -0.0473191217, -0.0361994058, 0.0190520845, 0.0589669347, -0.030588204, -0.006258674, 0.0749459416, 0.0036829791, 0.0167315844, -0.0581314936, 0.0237239078, -0.0278474577, 0.0457975678, -0.0192716196, 0.0092415921, -0.0262974035, 0.0002383993, -0.0060679261, -0.0229064375, 0.054211963, -0.0534374751, 0.0027766766, -0.0503401496, 0.0322508402, 0.029296143, -0.0234194789, -0.063090615, 0.0175956134, 0.0003544398, -0.0081772646, -0.0569182262, -0.0069003622, -0.0225445777, -0.0085187862, 0.06900388, 0.0108029079, -0.0198794995, -0.0136254905, -0.0130156372, 0.0691399202, 0.0505624488, -0.0235265549, 0.0444014072, 0.0163821951, 0.0455405153, 0.0678773597, 0.0334148221, -0.0136522613, 0.019583961, -0.006725267, -0.0190450046, -0.0080025671, -0.0245315973, 0.0053986227, 0.0218434781, -0.0586420782, -0.044072289, 0.0576723479, 0.051838778, 0.0108794877, -0.0326032527, -0.0358353555, 0.0494730882, 0.020522492, 0.0477027856, -0.0908682793, -0.0265836846, 0.0036835393, 0.0353412554, -0.0285368357, -0.0505889282, 0.0080687553, -0.1121656373, 0.0286905672, -0.0056216666, -0.0048964391, -0.0396801494, -0.0547760949, -0.0084089302, 0.0433795825, -0.0410352834, 0.0332093909, 0.0006571694, 0.0277805477, 0.0345728174, 0.01173326, -0.0212791376, 0.0241093338, 0.0050366498, 0.008504075, 0.0708803609, 0.0175492223, 0.0136358058, -0.0760837942, -0.0249608587, -0.0190320984, 0.0426916257, -0.0185940769, 0.0112137701, 0.0122999279, 0.0297562443, -0.0580275171, 0.0293366779, -0.0571104735, -0.0274096616, 0.0323050953, 0.1026142463, -0.0517019816, -0.0129645448, -0.0356502719, 0.0151435062, -0.0006333237, 0.0575491264, 0.0204747673, 0.0066042719, -0.0131481523, -0.0133769205, 0.0123444777, -0.0710582584, 0.0105035556, 0.0386355966, -0.0059942733, 0.0510629676, -0.0941690654, -0.0513629243, 0.0213325527, 0.0612824969, -0.0415824801, 0.020568965, -0.0024212939, -0.0053754235, -0.0610516258, 0.0215754248, -0.029037565, -0.0043046474, -0.0071340259, 0.0259219967, 0.0128430892, -0.0339326039, -0.0183571707, 0.0167954452, -0.0197861157, -0.0359433554, -0.0155278789, 0.0435008258, 0.0246042758, 0.0229210015, -0.0061627985, -0.0086884024, -0.0058905371, 0.0019184216, -0.030947635, -0.0137101403, 0.0119374562, -0.03913486, -0.0210515261, 0.0089979675, -0.0647498816, 0.0263930093, -0.038397003, 0.0645648092, -0.0268230941, -0.0308290254, 0.035616193, 0.0119759412, 0.0086245416, 0.0268087853, 0.0019875602, -0.0266050417, 0.0089456076, -0.0197345242, -0.015159905, -0.0119128302, 0.0473931581, -0.0162302516, -0.0597709529, 0.0234696846, -0.0133733703, -0.0066599282, 0.0600225292, -0.0130381593, -0.0214708876, 0.0078538796, 0.0222304761, 0.0088158185, -0.0261966512, -0.038445171, -0.0020670567, 0.0253700241, 0.0693160668, -0.0106292153, 0.080188565, 0.0313178748, -0.0235550962, -0.0128286313, -0.0069609745, -0.0979957879, -0.0118926382, -0.0127697093, -0.0113947997, -0.0018528474, 0.0274926256, 0.0169178117, -0.0147358952, -0.0157852843, 0.0214374345, 0.0142567633, 0.0380413495, -0.0242743343, 0.0479617268, 0.0372614153, -0.0110236071, -0.0098122815, 0.0537057482, -0.0420155153, 0.0444536097, -0.0438162647, -0.0498420596, -0.0357324071, -0.0393120721, -0.0486306921, 0.0297391526, -0.0026782218, 0.0300129373, -0.0539899543, -0.0446157977, -0.0379978083, 0.0235780776, 0.0030534177, -0.0086798714, 0.0380739719, 0.0640500039, 0.0323816985, -0.0583895296, -0.0261233822, 0.0411937572, -0.1156797409, -0.0000287816, 0.0084657902, -6.088587601e-33, -0.0219130721, -0.0391685888, 0.0601790659, -0.037632186, -0.0202350412, 0.0026520446, -0.0288555119, -0.0069324099, -0.048948165, 0.019371476, -0.0138231805, 0.0061283521, 0.00351839, 0.0171851292, -0.0149363615, 0.0318420716, 0.0023866734, 0.0177683849, -0.0193069689, 0.0583661385, 0.0847844481, 0.0017793678, 0.0225776993, -0.0360775404, 0.0086357426, -0.0460874699, 0.0021451821, 0.0408677571, -0.0399999544, 0.0735546872, 0.0040094857, 0.0056698648, 0.0332560465, -0.0329535753, 0.0153721888, 0.0453777425, -0.1331616193, -0.056933105, 0.0245826114, -0.031870801, -0.0885758549, -0.0161548518, -0.0150942188, -0.0098594148, 0.0553089119, -0.016524246, 0.0185119845, -0.0144992275, -0.031764064, -0.0526908226, -0.0388075151, 0.0070129293, -0.0122131873, -0.0187797006, -0.0549468584, 0.1016677469, 0.0007478046, -0.0193698164, -0.0538106002, -0.0084571019, -0.0295759477, 0.0139223998, 0.0509872995, 0.0250413958, -0.0118931876, 0.0251691863, -0.0115346154, -0.028647529, -0.069908835, 0.0031774372, -0.0312139317, 0.0507015139, 0.0461056456, 0.0330073759, 0.0100546647, -0.0030588994, -0.0788924769, 0.0454249084, 0.0262381546, 0.0565021001, 0.004302389, -0.020808693, -0.0491755493, -0.0155835738, -0.0523011908, 0.0151676424, -0.0233693309, -0.0421168022, 0.0425144024, 0.0152681107, -0.0286499187, -0.0040544951, 0.024963025, -0.0002843833, 0.0309546571, 0.0681134164, -0.0166728981, 0.0199165456, -0.0320021436, 0.0445620678, -0.0325822607, 0.0106550623, 0.0316497348, -0.0030520535, -0.0066129407, 0.0299734585, 0.038604077, -0.0153494636, -0.0358867124, -0.0015978583, -0.0541707389, 0.0584788285, -0.003911959, -0.0457496531, 0.0226795301, 0.0682763755, -0.0139281582, 0.059891656, 0.0164875649, 0.0093243066, -0.0153710479, -0.04185801, -0.0115126241, 0.0097301416, -0.0187014155, 0.0227929335, -0.0270440299, 0.0448808894, 0.0039878506, -0.0559066907, -0.004515674, 0.0692849606, 2.731e-7, 0.0301859695, -0.0059317835, 0.0583761781, 0.0091787046, -0.0051014354, 0.0160186011, 0.0307131037, -0.0158472247, 0.043537721, -0.0490911677, -0.0091521954, 0.0353342108, 0.0061429245, 0.0586106181, -0.046309825, -0.0350830369, -0.0372078568, -0.0581738092, -0.026439948, -0.0209276676, 0.066001378, 0.0075253495, -0.0019390417, -0.0335897654, 0.0007370549, -0.0335546471, 0.0475634933, 0.0459330641, -0.0038833753, -0.0081232199, 0.0738362893, -0.0172901526, 0.019572258, 0.057231836, -0.0016910138, 0.0234939381, -0.0373382494, 0.000840332, -0.0030092073, -0.0477953255, -0.003230006, -0.0414617024, 0.0383003503, -0.0324152559, 0.0813675597, -0.0215484351, 0.0011279873, 0.007624873, -0.0426148623, -0.0086046914, -0.0227239486, -0.0067148069, 0.0030847914, -0.0099122133, 0.0055304165, 0.0022477848, 0.0176223665, -0.0797637478, 0.0113973962, 0.0236465186, -0.0263756383, -0.0290767327, -0.0055542458, -0.0237492491, 0.009494788, -0.0539392866, -0.0196770988, 2.360713162e-34, 0.0112544242, 0.0222187024, 0.0289179422, 0.0099270437, 0.0537249707, -0.0096164411, -0.0246983171, -0.0051905871, 0.0317170657, -0.1018146724, -0.0317081623 ]
http://arxiv.org/abs/2406.11455v1
http://arxiv.org/pdf/2406.11455v1
Adaptive Reinforcement Learning Planning: Harnessing Large Language Models for Complex Information Extraction
2024-06-17T12:11:01
2024-06-17T12:11:01
Zepeng Ding, Ruiyang Ke, Wenhao Huang, Guochao Jiang, Yanda Li, Deqing Yang, Yanghua Xiao, Jiaqing Liang
cs.CL
cs.CL, cs.AI
Existing research on large language models (LLMs) shows that they can solve information extraction tasks through multi-step planning. However, their extraction behavior on complex sentences and tasks is unstable, emerging issues such as false positives and missing elements. We observe that decomposing complex extraction tasks and extracting them step by step can effectively improve LLMs' performance, and the extraction orders of entities significantly affect the final results of LLMs. This paper proposes a two-stage multi-step method for LLM-based information extraction and adopts the RL framework to execute the multi-step planning. We regard sequential extraction as a Markov decision process, build an LLM-based extraction environment, design a decision module to adaptively provide the optimal order for sequential entity extraction on different sentences, and utilize the DDQN algorithm to train the decision model. We also design the rewards and evaluation metrics suitable for the extraction results of LLMs. We conduct extensive experiments on multiple public datasets to demonstrate the effectiveness of our method in improving the information extraction capabilities of LLMs.
[ 0.0684747547, 0.0379706472, 0.0009474553, 0.0046730577, -0.0592786521, 0.0484129004, -0.028551558, 0.0018487721, 0.0155146746, -0.0423461273, 0.0010296435, 0.0114191035, -0.0286035445, -0.0215276834, -0.0361493342, -0.0423452146, 0.0302170478, -0.0356073976, 0.0454910807, 0.0447892398, 0.0102003142, -0.0018653814, -0.0165194403, -0.018301066, 0.0215141289, 0.0137528926, -0.0023512498, -0.0387831517, 0.0576103814, -0.0618115962, -0.0053341533, -0.009068979, -0.0107417293, 0.0258232933, 0.0000016848, -0.0541105345, -0.0481478535, 0.0072953501, -0.027503496, -0.0433998331, 0.0081478097, -0.0216847863, -0.0156189688, 0.0057277665, -0.0282690059, -0.039028395, 0.0023185078, 0.0657590106, 0.0388088264, 0.0915373787, -0.0065027932, -0.036421515, 0.0055414964, -0.0224474948, -0.0050439984, -0.0573017262, 0.0950827673, 0.0248676632, 0.0594309904, -0.004035553, 0.0254087914, 0.0245753359, 0.0020772829, 0.014130611, -0.0544728488, 0.039939709, 0.046134755, -0.022892639, -0.0250052046, 0.0790635049, -0.0106843878, 0.0515142679, 0.0812529996, -0.0175674129, -0.0047651576, 0.0035224764, -0.0364533551, 0.0433130115, -0.0339144655, 0.0179871041, 0.029985873, -0.0138721438, 0.0214102454, 0.0187311321, -0.0805391669, 0.0783330575, -0.0223743971, -0.0796802863, 0.0443083085, 0.0141237238, 0.0238044243, -0.0267335363, 0.0330896676, 0.0369593427, -0.0487561636, 0.0606137551, -0.002728523, -0.0381887481, -0.0025900821, -0.0357002914, 0.0127159869, -0.0005892453, 0.0224782191, 0.0698288754, -0.033088237, 0.0516117103, -0.0076625454, 0.0090402123, -0.0011841862, 0.0008648286, -0.0599710941, 0.0182762574, -0.0091114799, 0.0708938092, -0.0272400398, -0.0250708349, -0.0148400059, 0.0423531383, -0.0101776402, 0.0497602038, 0.0342119373, -0.0367922857, -0.023767462, -0.0157127418, -0.055090297, -0.0145118469, -0.030385999, 0.0006062045, 0.0088046836, -0.0035223975, -0.0058961916, -0.0265199896, 0.0370073095, -0.0586854219, 0.0109228967, 0.079458043, 0.0063783973, -0.0272607747, -0.0364682972, -0.0132064437, 0.0096087949, -0.0556524955, 0.0174081791, -0.029993169, 0.0412997007, -0.0058198101, -0.0162140019, -0.0102554038, 0.0249963906, 0.0060989312, -0.0661453232, 0.0387981124, 0.0020943675, 0.0118413717, -0.0127542242, -0.0314875878, 0.0056184437, 0.0686978027, 0.0613312721, 0.0327462517, 0.0462130979, 0.0339209661, 0.010089946, 0.0590646602, -0.0196277555, -0.0230636746, 0.0044097183, 0.0186061282, -0.0284371302, 0.0214649774, 0.0370898061, 0.0222714897, -0.0204477664, 0.0564855188, 0.0132176317, 0.0224554185, 0.0267118551, -0.0336661339, 0.0341598727, 0.0279413257, 0.0043505402, 0.0019784304, -0.0187303834, -0.0095690871, -0.0183812156, 0.0332636908, -0.0397047773, 0.0600856058, 0.0288903769, -0.0351313166, 0.0058046319, -0.0151350088, 0.0396836028, 0.0434947424, 0.0753970221, 0.004724015, -0.0653894171, -0.0087292865, 0.0348811895, 0.0019150948, -0.0127850613, -0.0321191065, 0.0369360633, 0.0509515852, 0.0357468165, -0.0867048651, -0.0083257612, -0.0042450735, -0.0297555067, 0.0278554335, 0.0032858297, -0.0386387073, 0.008152537, -0.0201414619, -0.0669471174, 0.0519357249, 0.0007935919, 0.020167226, 0.0664245337, 0.0129593732, -0.0199809391, 0.0372492373, -0.0355934091, 0.0526437908, -0.0518031046, -0.0568319932, 0.0182464253, 0.0055854637, 0.0461360514, 0.0016284138, -0.0407567807, -0.0093014622, 0.0367716998, -0.0090375496, -0.0180854443, -0.0316142999, -0.0173350219, -0.0340392217, 0.0224647895, 0.0420386344, -0.0207375102, -0.0186580773, -0.0407442003, -0.0096727489, -0.0486662872, 0.0226033628, 0.0202366859, -0.0117559694, 0.002918968, 0.0462134704, -0.0105608432, -0.0765062943, 0.0744642988, -0.0033468127, -0.0013309233, 0.0201782342, -0.0255328733, -0.0567444824, -0.0385076255, 0.0000769386, 0.0291612688, 0.0073812166, 0.0041627893, 0.044406727, 0.0292038918, -0.0399919599, -0.0544724017, -0.0309082251, 0.0294164717, -0.0271080565, 0.0321008265, 0.0030786977, 0.0224404167, -0.028835468, -0.0198451355, -0.0037881285, 0.0004318519, -0.0002531757, -0.0201258622, 0.0424888059, 0.0630896986, -0.0073042838, -0.036017891, 0.0041391361, -0.0038661431, 0.0149673056, 0.0053546312, -0.0213833787, -0.0530776605, 0.0061581978, 0.0022218816, 0.0313108414, -0.0037456735, -0.0034280377, -0.0438521914, -0.0390215181, 0.0400160551, 0.0701263696, -0.0045370944, 0.0585331358, 0.0079333428, -0.0310899634, -0.0515097678, 0.0433168001, -0.0610476919, 0.0208915547, -0.0602366254, -0.0244593844, 0.0633414686, 0.0593409166, -0.0247899275, 0.044527825, -0.0225516073, -0.0100463564, 0.00468949, -0.0458711721, 0.014893719, 0.0461002663, -0.0280019455, 0.0262176655, -0.0381008536, 0.0115836561, 0.0679767206, 0.0088619785, 0.0008932696, -0.0349498689, -0.0321905091, -0.0482590869, 0.039453689, 0.0120999916, 0.0196977034, 0.0086408174, -0.0312650949, -0.0147098824, -0.0276576225, 0.0099664796, -0.0197272431, 0.0586725324, -0.0359933153, 0.0049328245, -0.0029468054, -0.0363935232, -0.0548005141, -0.0071729091, -0.0177553687, -0.0006693254, -0.0082423138, -0.0142449476, -0.046309039, 0.0049909586, 0.0505766459, 0.0318442658, -0.0158382803, -0.0040050396, -0.0310352985, 0.0330167599, 0.0551221073, 0.0189528782, 0.0241115969, -0.0216176547, 0.0491906814, 0.0169649515, 0.0321926884, -0.0205851439, 0.0223049466, -0.0075521986, 0.0294915121, -0.0872343034, 0.0281720459, 0.0410234258, 0.0003915345, -0.0574955717, -0.0168410093, 0.078857474, 0.0155936247, -0.0089223972, -0.0252346415, 0.0096456911, 0.0009997603, -0.0099434927, 0.0632014051, -0.0487607606, -0.0045887069, 0.021740362, 0.0058934167, -0.0010921282, -0.0684440359, 0.0024655224, -0.1237190515, 0.0221256074, -0.019484017, -0.05237877, -0.0327555537, -0.0357044153, 0.0171554908, -0.0294435248, 0.0184487607, 0.0484459512, -0.0591175109, 0.0058125295, 0.0219579358, -0.0369753726, -0.0346527994, -0.0086912578, -0.0098132398, 0.0135396142, 0.0998402461, 0.0225992091, -0.0179720242, 0.0274520367, -0.0155579615, -0.035074994, -0.04753948, -0.0204178281, 0.0178429931, -0.0300157554, -0.0023013547, -0.0296996534, 0.0074751968, 0.0214091036, -0.01935816, 0.0492780209, 0.081922628, -0.0068676341, -0.0314676464, 0.0081723025, -0.031461753, 0.0092625162, 0.0731883794, -0.0266408976, -0.0516343638, -0.0506851114, 0.0185489357, -0.0554295368, -0.0814649537, 0.0160968881, 0.008654058, -0.0809582323, 0.039810773, -0.0797816515, -0.0636004657, 0.05580163, 0.0219487268, 0.0203259718, 0.0184772033, 0.0519739352, 0.0450611338, -0.0273324158, -0.0148001881, -0.0230157115, -0.0002774869, -0.0647380203, 0.0040696808, 0.0038955188, -0.0223804787, -0.0526062734, -0.0086499592, -0.0423437357, -0.0335281938, 0.0093761487, 0.0244260374, 0.0082868617, 0.0551825166, 0.0071366983, -0.0130032087, 0.0389590226, -0.0121823819, -0.0382663012, -0.0231073797, 0.0252415333, 0.0448263325, -0.004767817, 0.0291910693, -0.0666296184, 0.0205074847, -0.0170428064, 0.0485029407, -0.0772993341, -0.0214589052, 0.0073224897, 0.0321499109, 0.0418152586, -0.0129250428, -0.0445957296, -0.0631963611, 0.0046593691, -0.022482397, -0.0445546657, -0.0399739631, 0.0393875614, 0.0316902697, -0.0039706412, 0.0039114845, 0.0129020726, 0.0430748537, -0.0158147141, -0.0377861485, 0.0058677797, 0.0126750153, 0.0015354952, 0.0406386591, -0.0300587025, 0.0206229687, 0.016283514, 0.0431826524, 0.0436663069, -0.0352152102, 0.0372808836, 0.0434171855, -0.0202511549, -0.012313568, -0.024636915, -0.0205834359, 0.0021855498, 0.0045006839, 0.0482746437, 0.0667445213, 0.0070303739, 0.0618895143, -0.0285403337, -0.0140782055, -0.0014255338, -0.0103405891, -0.0123891737, 0.0342263617, 0.0243095439, 0.0349776335, -0.0336534977, 0.0032056498, 0.0389635861, 0.0117113059, 0.0354018956, -0.0040141512, -0.0159969013, -0.0623468682, -0.0336793326, -0.0023319337, 0.008993485, -0.0475188792, -0.0249900427, -0.044903066, -0.0154217714, -0.0022339821, 0.016744189, -0.0306612905, -0.0171703678, 0.0342002735, 0.0258385278, 0.00871618, -0.0213954672, -0.0978796706, -0.0220309608, -0.0085334675, -0.0491684936, 0.0371031202, -5.742692878e-33, -0.0417152904, -0.0239174217, 0.0647003055, -0.0116434386, -0.0266177878, 0.003346713, -0.0097546065, -0.0394600034, 0.0214892756, 0.015714908, -0.0172019079, -0.0379594229, 0.0339080729, 0.0087217754, 0.0017710136, 0.0027921223, 0.0230954122, -0.0077212504, -0.0026532689, -0.0019902985, 0.0435794368, 0.0674747825, 0.0291880742, -0.060845606, 0.0235287622, 0.0162687432, -0.0054634996, 0.0344844982, 0.0376866274, 0.0747849345, 0.0085271681, -0.0197852049, 0.0050097248, -0.042598933, 0.0045587518, 0.0369578414, -0.1427169144, -0.0055442732, -0.0079971747, 0.0087097343, -0.033685755, -0.0176527221, 0.0054333573, -0.0133819534, 0.018037077, 0.0103479177, 0.0461636968, -0.0305967871, -0.0055707078, -0.0192197189, -0.0446060896, 0.0423763096, 0.028127037, 0.0454257317, 0.0891780555, 0.0066499328, 0.0118424827, 0.0235940218, -0.012019434, -0.022809254, -0.0112781748, 0.0207636319, 0.0205813628, 0.0785921291, 0.0252899863, 0.0543313064, 0.013829845, -0.028868245, 0.0286003128, 0.0001832704, -0.0046746233, 0.0643447116, -0.0603590831, 0.02933079, 0.006528982, 0.0246131439, -0.0908169895, 0.0137395049, 0.0536381267, 0.0564254187, 0.0141733149, -0.0184697416, -0.0564345531, 0.0348557681, -0.002256247, 0.0363652371, 0.0057602096, -0.0256177429, 0.0511022992, 0.0572030358, -0.012306706, 0.0093810475, 0.0345594846, -0.0205450878, -0.038647864, -0.0018098797, -0.0271424707, -0.0080924677, -0.025561275, -0.0150490487, -0.0776720792, -0.0494545959, -0.0187136419, -0.0351929031, -0.0137296459, 0.0234429911, 0.0006830542, -0.0161004625, -0.060195677, 0.0172987003, -0.0200603455, 0.045129396, -0.0035812522, 0.0466756225, 0.0226811431, 0.0032604425, -0.011523963, -0.0060460456, 0.0624290779, -0.0461383462, -0.0044263266, 0.0166442208, 0.0079595493, -0.0100661162, -0.0079272911, 0.0031998164, -0.0358436927, 0.0242147353, -0.0134424539, -0.0458063409, 0.0258580782, 0.0564907901, 2.498e-7, -0.0060411971, 0.0725108534, 0.0369506702, 0.0204027239, -0.0018837266, 0.010122369, -0.0310069975, -0.0057201479, -0.0105768843, 0.0396801271, 0.0491107143, 0.0072789737, 0.005577263, 0.0207570642, -0.1025059298, -0.0547958799, -0.040524479, -0.0282057729, -0.071684137, -0.0228339862, -0.0003648096, 0.0574287362, 0.0297987983, 0.011076129, -0.0311728697, -0.057175763, 0.0194440223, -0.0199405141, 0.0037247818, 0.0350427926, 0.0372321978, 0.0140700974, -0.0236018207, -0.013119773, 0.0125170927, 0.0591947027, 0.003387264, 0.1035343185, 0.0230198633, -0.0086955279, -0.0049941605, -0.0433964096, 0.0274618566, -0.0085672503, 0.0589554496, -0.0563192219, 0.0049754535, -0.0148338182, -0.0200027898, -0.0334499888, -0.060459666, -0.0000242158, -0.0082938382, 0.0367838964, 0.0134375971, 0.0138036497, -0.0409688689, -0.0865302011, 0.0156617928, 0.0553672425, -0.0111995153, -0.036701262, -0.0134164952, 0.0166324023, -0.0162988901, -0.083716996, -0.005730005, 2.417512039e-34, -0.0349381417, 0.0087612206, -0.0470319875, 0.0431813411, 0.017729396, 0.015752485, -0.054964833, 0.0487616882, -0.010683028, -0.0868120864, -0.0010087283 ]
http://arxiv.org/abs/2406.11431v1
http://arxiv.org/pdf/2406.11431v1
Super(ficial)-alignment: Strong Models May Deceive Weak Models in Weak-to-Strong Generalization
2024-06-17T11:36:39
2024-06-17T11:36:39
Wenkai Yang, Shiqi Shen, Guangyao Shen, Zhi Gong, Yankai Lin
cs.CL
cs.CL, cs.AI
Superalignment, where humans are weak supervisors of superhuman models, has become an important and widely discussed issue in the current era of rapid development of Large Language Models (LLMs). The recent work preliminarily studies this problem by using weak models to supervise strong models. It discovers that weakly supervised strong students can consistently outperform weak teachers towards the alignment target, leading to a weak-to-strong generalization phenomenon. However, we are concerned that behind such a promising phenomenon, whether there exists an issue of weak-to-strong deception, where strong models may deceive weak models by exhibiting well-aligned in areas known to weak models but producing misaligned behaviors in cases weak models do not know. We then take an initial step towards exploring this security issue in a specific but realistic multi-objective alignment case, where there may be some alignment targets conflicting with each other (e.g., helpfulness v.s. harmlessness). Such a conflict is likely to cause strong models to deceive weak models in one alignment dimension to gain high reward in other alignment dimension. Our experiments on both the reward modeling task and the preference optimization scenario indicate: (1) the weak-to-strong deception exists; (2) the deception phenomenon may intensify as the capability gap between weak and strong models increases. We also discuss potential solutions and find bootstrapping with an intermediate model can mitigate the deception to some extent. Our work highlights the urgent need to pay more attention to the true reliability of superalignment.
[ 0.0431374386, 0.0697860718, -0.0344367698, 0.0297584292, -0.0273548365, 0.02258146, -0.013812826, -0.020370964, -0.0343751833, 0.0169992726, -0.078640826, -0.0372562073, 0.0261556003, -0.0124652628, 0.0617642738, -0.0443929657, 0.0621545687, -0.0506119803, 0.0338076241, -0.0120106107, -0.0048932233, -0.0387592092, 0.0076183882, 0.0139756138, -0.00005374, -0.0239460599, -0.0142861074, -0.007107676, 0.0328307934, -0.0024728375, 0.0022478458, 0.0434068777, 0.0261812415, 0.0722744763, 0.0000019381, -0.0393302888, -0.002720817, -0.0199503284, -0.0386475548, 0.0127954874, -0.0133830691, -0.055680491, -0.0120758191, -0.0187528953, -0.0516187362, -0.0000523955, 0.0447290093, 0.0454312228, 0.0531406179, 0.0640617087, 0.0306587182, -0.0186301377, 0.0318087712, -0.0424593687, 0.0059682853, -0.0906270519, 0.0221730974, -0.007746879, -0.0387802757, 0.004084988, -0.0288328007, -0.0062881629, -0.017594032, 0.0062649678, 0.0089833764, 0.0037435435, -0.0181038026, -0.023952527, -0.0088972393, 0.0298799369, -0.0338073745, -0.0010266212, -0.0049153725, -0.0069920123, 0.0452007204, 0.0258530304, -0.0071646012, 0.025745539, 0.0128848804, 0.0083027491, 0.0238549113, -0.0028323072, 0.0460562557, 0.0021219822, 0.029220609, 0.0451262221, 0.0053916862, -0.0566223785, -0.0069460608, 0.016632814, -0.0975862965, -0.0768203661, -0.0425439216, 0.0224130973, -0.0691526756, 0.0200011507, -0.0570664108, -0.0037212076, 0.0014027889, -0.0179939792, 0.0339946896, 0.017251756, 0.0210674126, 0.0284302253, 0.0092781819, 0.1208484173, -0.0605992265, 0.0454016738, -0.0265186112, 0.0493352376, -0.0030868638, -0.0426486284, 0.033892706, 0.0167252012, -0.0050736316, -0.0141328666, -0.055853527, 0.0137942815, -0.0444971547, 0.0430923626, -0.0423139594, 0.0151531212, -0.0504958071, -0.0222247262, -0.0344866104, 0.0079013761, -0.0213848911, 0.0297914948, 0.0119934585, -0.0120135052, -0.0260886438, 0.0034030064, -0.0561838187, -0.0362354815, -0.0213765241, 0.0957235917, -0.0218441579, -0.0011762403, -0.0202658959, -0.0107225636, -0.0422379524, -0.0739733949, 0.001900187, -0.0401866809, 0.0015527782, -0.0114266863, -0.028813472, -0.0596982799, -0.0078095915, -0.0332753174, -0.0323996916, 0.0240543168, 0.0294914935, 0.033683829, -0.001476025, -0.0009920107, -0.0630217344, 0.064839527, 0.007097587, 0.0286070108, 0.011790392, -0.0003447953, 0.0191554222, 0.0378302969, 0.0169669185, 0.0260498133, -0.0033787445, -0.0159201548, 0.0574017912, 0.0651931837, 0.0270481948, 0.0370387062, -0.0082941595, 0.0028569158, 0.0984010696, 0.0252453499, 0.0028350949, 0.0032517039, -0.0237274654, -0.0137711121, -0.0119799869, 0.0720536858, -0.0990669429, 0.0095770704, -0.0467284471, 0.00294056, -0.0463555865, 0.0355901457, -0.0187713858, -0.0121184848, -0.0196084492, -0.0238633417, -0.0184371285, 0.0290907267, 0.0399828181, -0.001222202, -0.0245734472, -0.0119683035, 0.0276129264, -0.0260324534, 0.0105939591, -0.0691938251, 0.0269564111, 0.0134169394, 0.0211302079, -0.0028211391, -0.0030392527, 0.0000431234, 0.0013888053, 0.0466266721, 0.0396390259, -0.0127138849, 0.0090042641, -0.0138502633, -0.0237722099, -0.0313610733, 0.0260018539, -0.0023032264, -0.0220893379, -0.0441176519, -0.0167734642, -0.0115663344, -0.0115783159, 0.0607310347, -0.0233668257, -0.0100845136, -0.0760922804, 0.0283658206, 0.017943278, 0.0068593179, -0.0258872248, 0.0171008985, 0.025445126, -0.0006396587, 0.0186515674, -0.0209977068, -0.0498965867, 0.0291557983, 0.0363177396, -0.0530123562, -0.0262964591, 0.0463358089, 0.0073958379, -0.0327727757, 0.0261777863, -0.015743982, 0.024525838, 0.0187401343, 0.0777034611, -0.0498463064, 0.0112835513, -0.0485121869, 0.0747461691, 0.0131650809, 0.0256984718, 0.0186129157, -0.0092097828, -0.0064603584, -0.0528478995, -0.0107766446, 0.0136108296, 0.0053238459, 0.027585905, 0.0349921957, 0.0000889611, -0.0286439862, -0.0653840676, -0.0275918283, 0.0027767872, -0.0085483259, 0.0052561192, 0.0316746011, -0.0450165831, -0.0084493943, 0.0303311646, -0.0486332364, -0.0235809181, -0.009139522, 0.0010300254, 0.0216099247, 0.0032355618, -0.0100092096, -0.0330231525, -0.0123062646, -0.0135763008, 0.0203056913, 0.0216536131, 0.0185382422, -0.0677581206, 0.0431932881, -0.0166100394, 0.040991284, -0.0181093123, -0.0419190414, 0.0330381878, 0.0349398367, 0.0409447663, 0.1260756999, 0.0008537228, 0.0158921201, 0.0551351979, 0.0292913821, -0.0510485955, -0.010321998, 0.0209978111, -0.0620545112, -0.073265478, -0.0236990117, -0.0283666439, 0.080012247, 0.0272395462, 0.0003532547, -0.0500536337, 0.0256381091, -0.0091465525, -0.0757962093, 0.0070708361, -0.0244154055, -0.0399251059, 0.0223365929, -0.0523043461, -0.052083306, 0.0899923816, -0.0211775489, 0.0005807643, 0.0308096297, 0.0154175339, 0.0059060412, 0.0415958799, -0.0060365251, 0.0223542489, 0.0012312478, -0.0138514088, -0.1043614671, -0.0290888716, 0.0433463305, -0.0266987961, 0.0200030152, -0.0175862145, -0.0274445098, -0.0354555994, -0.0623020381, -0.0558150746, -0.0325234644, -0.0055068126, -0.005854704, 0.0120626995, -0.0236573815, -0.0543196425, -0.0317727737, 0.0320385881, -0.018436579, -0.0294974148, 0.0120064924, -0.0362906009, -0.0343513787, 0.0666928887, 0.0012653806, 0.0162923019, -0.1020642743, -0.0102875745, 0.0256266147, 0.0401900485, 0.0286039039, 0.0054412885, -0.0030873159, 0.0483827814, 0.0249284822, -0.0032736931, 0.0164793376, 0.0632966533, 0.0008189291, 0.0108439317, 0.0716684088, 0.0172419809, 0.0027912236, 0.0372252539, -0.003703648, 0.0415920317, 0.0193295944, -0.003101255, -0.0234661251, -0.0099105891, 0.0097972667, 0.0473968387, -0.0028284367, -0.0288564153, 0.0094823875, -0.100417681, -0.0240508113, 0.0545019396, -0.0240470245, -0.0268160347, 0.0174404178, 0.0032919843, -0.0317556597, 0.048212111, 0.0244359318, 0.0317133442, -0.0038317703, 0.01350547, 0.0655137077, -0.0295086857, -0.0117340209, -0.0452878065, 0.0672602728, 0.0815152675, 0.0099717947, -0.025565166, -0.0514058061, 0.0217886381, 0.0320763998, 0.0041568307, 0.0495759584, 0.0051825349, -0.0255116448, -0.0227458607, -0.0166264083, 0.0443931818, 0.0252409391, -0.0056067901, 0.0079001123, 0.0833943039, 0.0129885552, -0.0260694828, -0.000096803, -0.0372024998, 0.0030257625, 0.0622110367, -0.001211261, -0.0616155602, -0.0006662621, -0.0050372127, 0.0004719934, 0.0261515584, -0.0504878238, 0.0746969506, 0.0335820168, -0.0151044307, -0.0604957119, -0.0148172732, -0.0226662252, 0.0513693951, 0.0467230827, -0.014132902, -0.0083255954, -0.0260190424, 0.0183170158, 0.0184017122, -0.0251368154, 0.0383503623, -0.0658650473, -0.0184839852, -0.0063469494, -0.0637447387, 0.0137798805, -0.0139322858, -0.0469186455, -0.1078546196, 0.0208793245, 0.0288436785, 0.0354248844, 0.0502757989, 0.015786279, -0.030353602, 0.026518045, 0.0300681833, -0.0302056465, 0.0525002331, 0.038600035, -0.0339907333, 0.0010763302, 0.033344496, -0.0471562669, -0.0051990305, 0.082312271, 0.0173951071, 0.0024401026, 0.0070492313, 0.0602606535, 0.0020038644, 0.0717394203, -0.0365261845, 0.0144462753, -0.0092891585, -0.007824257, -0.001220272, -0.0277742539, -0.013166368, -0.0373814367, 0.0624242797, 0.0487416312, 0.0612048283, -0.0196324289, 0.0199756362, 0.0361257307, -0.0492230169, 0.0080700275, -0.0132248746, 0.0197838172, 0.0192664359, 0.0503727645, -0.0101767797, 0.0548389927, -0.0419178419, 0.029218547, 0.0548802428, 0.0618032962, 0.0375445262, 0.0128650749, -0.0210934114, 0.012107606, -0.0742675439, -0.0407023653, -0.0057459865, -0.0103391437, 0.0391729549, -0.011779543, 0.0243656449, -0.0108488118, 0.0051300982, -0.0056971805, 0.0171741191, -0.0361548141, -0.031365294, 0.0360317975, 0.0237222761, -0.0066022705, 0.0060158568, 0.0461823978, -0.0219894536, 0.0441785604, -0.0740313232, -0.002301266, -0.0036365211, -0.0450916849, 0.0447336771, 0.0068998877, -0.021040909, -0.0175512843, -0.0501867756, -0.0710384473, -0.0302059166, 0.0342765376, 0.0259222556, -0.0185908638, 0.014784364, 0.051233016, -0.0564757027, 0.0031390407, -0.023112705, -0.0371394679, 0.0584818311, 0.0216556787, -0.0254027676, -6.213483876e-33, -0.0060792649, -0.0080356644, -0.0259651653, -0.0215169583, -0.0148729431, -0.0050455476, 0.0034872328, 0.0271536168, -0.0597069003, -0.0260961894, -0.0033358559, -0.0148863653, 0.0048591467, 0.0025811638, 0.0025272081, 0.0137470858, 0.0170499291, -0.0129010445, -0.0536181778, -0.0241551474, 0.0143911252, 0.014607409, 0.0599474944, -0.0805741921, 0.057805907, -0.0414706618, -0.0580116175, 0.020767821, -0.0419923738, 0.0517839678, -0.0098119043, -0.006091536, -0.0082785189, -0.0237935055, -0.01560059, 0.0193687379, 0.0188074894, -0.0139376093, 0.0500014313, -0.0078583928, -0.0271210689, -0.048423253, 0.0353298932, -0.0166716315, -0.0599810295, -0.0103301667, 0.0081958231, -0.0238034036, -0.018263489, 0.0281542074, -0.0785904303, -0.0118980203, -0.0228061676, 0.000170424, -0.004732423, -0.0017963583, 0.0001682417, -0.0351435319, -0.0037953835, 0.0511991493, 0.0404143929, 0.0223071016, 0.0956194028, 0.0685259029, 0.0099279489, 0.0717602596, 0.0188836027, 0.0139993699, 0.0325562917, -0.0361944661, 0.0019483975, 0.0398773998, 0.0747004151, 0.0593588054, 0.0298975483, -0.0081574852, 0.0016500881, -0.0404608361, 0.0206485447, -0.0105996616, 0.0191941764, 0.0544606075, -0.0651305914, -0.0181848146, -0.0327316225, -0.0300791971, -0.0261251368, -0.0292252582, 0.018286651, 0.0185411312, 0.0091765039, -0.0024055638, 0.0240198597, -0.0427494422, 0.0035423189, 0.0003738305, -0.0191118009, 0.0076510212, -0.0299055278, 0.0000315881, -0.062658526, -0.0553367324, 0.0187127069, 0.0370160192, 0.0495258979, 0.057008069, 0.0536996461, -0.0005624157, -0.0261328351, 0.0045922063, -0.0239197277, -0.0195151903, 0.0443272926, -0.0837085843, 0.087434791, -0.0608129837, -0.0321749151, 0.0298326854, 0.0208317079, -0.0225265101, -0.062509805, 0.0365600251, -0.02464775, 0.006787675, -0.0011865866, -0.0132040381, 0.0054772114, 0.0232517291, 0.0233018044, -0.0508792661, -0.0135518061, -0.0202319585, 2.791e-7, -0.0150383711, 0.0101716202, -0.0008149866, -0.0078481985, -0.0080223456, 0.0772013664, -0.0567213595, 0.0437764227, 0.0073011648, -0.0272462424, 0.0087932833, 0.0129064601, 0.0223293956, -0.0019993365, -0.0319109187, 0.0347627997, -0.0693073347, 0.016879214, -0.0319111384, 0.0184387285, 0.0470800586, 0.083648093, 0.0204019304, -0.0035190242, -0.0259059221, -0.0659699216, 0.0326896794, -0.0075763944, -0.0008734487, 0.0039342311, 0.0143373199, -0.0126279108, -0.0383021422, 0.0264292508, 0.0169523191, 0.0422161855, -0.0063926661, 0.0285709593, -0.035635259, 0.0112726679, -0.0315582566, 0.0241920352, -0.0104103228, -0.0256952476, 0.0450950414, -0.0543403327, -0.055205185, -0.0270375665, 0.0114823962, -0.0021761453, -0.0108798649, -0.0113024982, 0.0475258306, 0.0303001013, -0.0060253739, 0.0526399016, -0.0191051867, -0.0444684587, -0.0409741923, 0.0325086787, -0.0311595555, -0.0713199452, 0.0121419271, 0.0723124966, 0.007306362, -0.0662479252, 0.0036605841, 2.416874242e-34, -0.0100936079, -0.0225049611, 0.0502899624, -0.0154412873, 0.0413100906, -0.0285533778, -0.0179120339, 0.0357287675, 0.0493197851, -0.0060784356, -0.0286130253 ]
http://arxiv.org/abs/2406.11430v1
http://arxiv.org/pdf/2406.11430v1
A Simple and Effective $L_2$ Norm-Based Strategy for KV Cache Compression
2024-06-17T11:35:16
2024-06-17T11:35:16
Alessio Devoto, Yu Zhao, Simone Scardapane, Pasquale Minervini
cs.CL
cs.CL, cs.AI
The deployment of large language models (LLMs) is often hindered by the extensive memory requirements of the Key-Value (KV) cache, especially as context lengths increase. Existing approaches to reduce the KV cache size involve either fine-tuning the model to learn a compression strategy or leveraging attention scores to reduce the sequence length. We analyse the attention distributions in decoder-only Transformers-based models and observe that attention allocation patterns stay consistent across most layers. Surprisingly, we find a clear correlation between the $L_2$ and the attention scores over cached KV pairs, where a low $L_2$ of a key embedding usually leads to a high attention score during decoding. This finding indicates that the influence of a KV pair is potentially determined by the key embedding itself before being queried. Based on this observation, we compress the KV cache based on the $L_2$ of key embeddings. Our experimental results show that this simple strategy can reduce the KV cache size by 50% on language modelling and needle-in-a-haystack tasks and 90% on passkey retrieval tasks without losing accuracy.
[ 0.0215566717, 0.0406738222, -0.0043377466, 0.0252873376, -0.0280342624, 0.0201189499, -0.0174029134, 0.014166072, -0.0070133931, -0.0198600683, -0.004721168, -0.0735244527, 0.0007611864, 0.0062684566, 0.0116472393, -0.0065824995, 0.0510341972, -0.0327365622, -0.0003494908, 0.0047427886, -0.0417708978, -0.0036356281, 0.0441650413, 0.0352031849, 0.0292110723, 0.0157529414, -0.0304448716, -0.0007299916, -0.0041796346, -0.0105564808, -0.0165764857, 0.0697485432, 0.018967703, -0.0032261778, 0.0000021694, -0.0020607836, 0.0023298846, -0.0008622051, -0.0673585609, 0.0796368048, 0.0663096756, -0.0043522022, -0.0241096206, 0.0147236111, 0.0032512429, -0.0336517766, 0.0658652037, 0.0042692805, 0.0345616825, 0.0218435377, 0.0067848037, -0.0430241898, 0.0069808247, -0.0356426351, 0.0191987474, -0.079074204, 0.013486715, -0.0308333244, -0.0309957862, 0.0278165452, -0.0298938546, 0.0690398961, 0.0325682089, 0.033004608, 0.0508777499, 0.0484132543, -0.0233185701, -0.0097219655, -0.0114166867, 0.0225039553, -0.061250452, -0.0444698632, -0.0005746143, 0.0041199056, -0.0104096662, -0.0205559824, -0.0391670801, 0.0138765005, -0.0063094874, -0.0163122285, 0.0122581897, -0.0143032381, 0.0322278887, -0.0308317114, -0.0479048789, -0.0326838046, 0.0390603133, -0.0337698013, -0.0382715017, -0.0210221317, 0.0024834822, -0.0418380164, 0.0047335345, 0.0334310271, 0.0278661717, 0.0259217527, -0.0358721986, -0.0161113869, 0.0077729612, -0.0843918473, 0.0560509264, 0.0572143868, 0.0022340023, 0.0155720254, -0.042531196, 0.0832910016, -0.0203270335, 0.0127349244, -0.0364172868, -0.0136483386, -0.0360385701, -0.0274178181, -0.0293655675, 0.0133754155, 0.0126119563, -0.0150479721, -0.011228242, 0.0362468734, 0.0691097304, -0.0003661521, 0.0086177541, 0.0176894516, -0.0126041705, 0.0206743404, 0.0341396853, 0.0464644954, 0.0003070326, -0.0416210853, -0.0028402731, -0.0480809547, -0.0395430401, -0.0086883297, 0.0101981424, -0.0330425799, 0.0041886698, 0.047746107, 0.001596023, -0.0431695469, -0.0110577494, -0.0018123799, 0.004946054, -0.0124246022, 0.0281382799, -0.0414465815, 0.0061612143, 0.0128105925, -0.0250661671, -0.0310602505, -0.0007313815, 0.0450993143, -0.0584162809, 0.0332820565, 0.0702329725, 0.0053904518, 0.0122814449, 0.0113442214, 0.0310314484, 0.039948225, 0.0286242347, 0.017231198, 0.001507166, -0.0595470257, -0.0060518719, 0.0240042843, 0.054735899, 0.0102292616, -0.011733124, 0.0141269099, 0.0367892422, -0.0078270854, 0.0332297236, 0.0613438003, -0.0294628739, -0.04219063, 0.0385320708, 0.0684845448, 0.03980349, 0.0232165512, -0.015493542, 0.0286985822, -0.0165447108, -0.0142216142, -0.0519700646, 0.073090069, -0.0009217722, 0.0151559953, 0.0440976061, 0.0164136235, -0.0274443831, -0.0139118088, -0.029157592, -0.0098353913, 0.0280369297, 0.009341646, 0.0231743362, -0.0212086532, -0.0568925664, 0.0864537284, 0.0005736069, -0.0667999238, -0.0108722402, -0.0354222544, -0.0321899801, 0.0581951514, 0.0484112315, 0.0695445314, -0.0056289579, 0.0193883236, -0.0172096509, -0.0112237167, 0.0347630195, 0.0152831972, 0.003548695, -0.0722990185, -0.0106763719, -0.0015814458, -0.0055424334, -0.0073117041, 0.027789304, 0.00445484, 0.0420775004, -0.022590844, 0.0107736327, -0.0066934032, -0.0352092758, -0.0429152586, -0.0151062179, 0.0163934473, 0.0025012465, -0.0030548107, -0.0145968851, 0.0378512926, 0.0491327792, -0.0415395387, 0.0296337306, -0.0269898623, -0.0691953599, -0.0003698615, 0.0261074863, 0.0178167727, 0.0395743661, 0.0574049801, 0.0063949204, -0.0224418752, 0.0334223546, -0.0601424128, 0.0855545923, -0.0080804294, 0.0033306009, -0.0165353827, 0.0319983922, -0.0414176024, 0.0389014594, -0.0558504574, 0.0010465205, -0.0114748655, 0.0137820747, -0.0025688405, 0.0116426153, -0.0210975446, 0.0283109657, -0.0258312225, 0.0303827524, 0.0128691867, -0.0289817434, -0.0034692755, -0.0146696018, -0.0500896834, -0.0117711667, -0.0247870442, 0.0473933667, 0.0088392785, 0.0196095966, 0.0118205855, -0.0134083303, -0.0283273663, -0.0292269997, -0.0205970351, 0.0327462032, -0.0342770778, -0.0235055331, -0.0156920012, -0.027686039, -0.0606653877, 0.0013659018, 0.0558333769, -0.0516817868, -0.0308684148, -0.0246033389, 0.0719311163, 0.0043959706, -0.0112861805, -0.0076426356, -0.0747383684, -0.0012199121, -0.0256208591, 0.0480457246, 0.0711070076, 0.0157418214, 0.0026815259, 0.0678934678, -0.0369758233, -0.0248101093, 0.0043549971, -0.0175557323, -0.0540708676, -0.0410225131, -0.0235632658, 0.0016097411, 0.1108792275, -0.0273615792, 0.0052876491, -0.0853727013, -0.0567092784, -0.0046065394, -0.0101801371, -0.0280818753, 0.0084614819, -0.0325755998, 0.0365521871, -0.0186490063, -0.035915371, 0.0518439189, -0.031432502, -0.0156621672, -0.0381014906, 0.0109741753, -0.0032955057, 0.0537216291, -0.0106854811, 0.0266513862, -0.0316762514, -0.0332224555, -0.0382427722, 0.005031528, -0.0177561566, -0.0627528876, 0.048743289, -0.0075156149, -0.0122657157, -0.0351038985, -0.0100906091, -0.0416328162, 0.010285846, -0.0240830984, -0.0025808432, 0.0575788058, -0.0232348405, 0.007275431, 0.0438591205, 0.0275557898, 0.0426801704, 0.017436387, 0.0133858575, 0.0031493728, -0.0005569161, 0.0297117867, 0.0231842175, 0.0143356035, -0.0219581481, 0.0147385942, 0.0681072176, 0.0656367838, 0.015972117, 0.0050766477, 0.0047190678, 0.0573425815, 0.0087445686, -0.0254038945, 0.0506424569, 0.0175661258, -0.0851283222, -0.0291769393, 0.0765638649, 0.0377972759, -0.0948699787, -0.0040821112, -0.0351008922, 0.0274573006, 0.0182847325, 0.0364136957, -0.0619767271, -0.024162367, 0.0309712812, 0.0376745909, 0.0194335971, 0.0077235647, -0.0048980797, -0.1282916665, 0.0093550039, 0.030765919, -0.0147542004, -0.0522883423, -0.0595021546, -0.0285632107, 0.0049987156, 0.0174532309, 0.0298373718, 0.0014045399, -0.0141271194, 0.019462496, 0.0113187013, -0.0756543204, 0.0560880415, 0.0002169159, 0.0433461331, 0.068433091, -0.0098977285, 0.0291621014, -0.0458996184, -0.0052147037, 0.0010840965, 0.0089527788, 0.0063784556, -0.0048665488, -0.0143596269, -0.0179430749, -0.0353945345, -0.011918067, -0.0229584482, 0.0095185386, -0.0202838797, 0.0710363314, 0.0024504086, -0.0309111234, -0.0171431564, -0.0425083414, -0.0332558043, 0.0660022497, 0.0710011348, -0.0113376454, -0.0286194161, -0.0305862203, 0.0146307722, -0.0494863316, -0.0795597807, 0.0478472747, 0.0097687338, -0.052855663, -0.0312426649, -0.0223471597, -0.0081239324, -0.0034054806, -0.0186631605, 0.0063618501, 0.0321407616, -0.0080603193, -0.1100067943, 0.0092913136, -0.041034054, 0.0044501033, -0.0677528381, -0.0021405469, -0.0198897086, -0.0148549909, -0.0146039883, -0.0104472851, -0.1038692519, -0.0509877205, 0.0273014642, 0.0675831512, 0.0134010799, 0.0446591079, -0.0059751044, -0.0764357373, 0.0355649926, 0.0026961686, -0.0795547441, 0.050797686, 0.0085385554, -0.0483194217, 0.010263579, 0.0209524818, -0.0579900965, 0.00459173, 0.0005769165, 0.0375781655, -0.0059913537, -0.0298297629, 0.0018112772, -0.006638092, 0.0165064652, 0.024442073, 0.0065466333, 0.0412517302, 0.0568090901, 0.005259004, 0.0202752091, -0.0050465777, -0.0174865946, -0.0070243566, -0.0030472565, 0.0210894048, 0.0145322969, 0.0370594002, 0.0212451741, -0.0076220399, 0.0288652852, -0.0101139918, 0.0031487958, 0.0671459362, 0.0142675415, -0.0505829901, -0.0226581451, -0.0025674242, 0.0316211358, -0.0363069512, -0.0120529151, 0.0025143716, 0.0156393591, -0.0166898705, 0.0489522144, -0.0654544532, -0.0341385119, 0.0282596201, -0.0614985265, 0.0453999527, -0.029210506, 0.0248384755, -0.028696375, 0.008489321, -0.0488601141, 0.00652176, -0.0095522571, -0.0116989883, 0.0156401154, 0.026681982, 0.0049460344, -0.0067184493, 0.0611687973, 0.0172324665, 0.0478743613, -0.0366539396, -0.0056512225, -0.0181753933, 0.0029224313, 0.0000153053, 0.0327803753, -0.0275044125, -0.0150012067, -0.0586599521, -0.0857846215, 0.0035968176, -0.0278190989, -0.0040338594, -0.0335841104, 0.0171882473, 0.0422336794, 0.0017329904, -0.0234052204, -0.009422916, 0.0168644544, -0.0532564297, -0.0280561019, 0.0213874765, -6.678577032e-33, -0.0175445471, 0.0188258309, 0.0157409944, -0.0394330285, -0.0350213051, 0.0267754085, -0.0523385294, -0.0075964541, -0.0514362305, -0.0364922136, -0.0408667624, 0.0094372947, 0.0166888367, 0.0115578463, 0.0275849011, -0.0133098764, 0.0504900478, 0.0139767705, -0.0100693172, 0.0585873909, 0.0298825447, 0.0366268419, 0.0677291751, -0.0115556465, -0.0287365653, 0.0012527835, 0.0743115917, -0.0241060015, -0.0051750815, 0.0579378158, -0.0300170854, 0.0274412539, 0.0097309984, -0.0711957067, -0.0317772068, 0.0084307734, -0.0523239933, 0.0168711711, 0.0069340877, 0.0082161911, 0.0346283279, -0.0724628717, 0.0177631881, 0.0251411814, 0.0129332915, -0.0320946313, -0.0039448314, -0.0026192989, -0.0969138667, -0.0105096558, -0.015319597, 0.0224858318, 0.0139172291, -0.011444659, 0.0589240864, 0.0266040731, -0.0180660505, 0.039680507, -0.0698062181, 0.0090796594, 0.0198820811, 0.1089087948, 0.074039869, 0.0405194387, 0.0077776611, 0.0256625563, 0.0190454163, -0.0102662854, -0.0692925826, 0.0287480298, 0.0524135567, 0.0029482055, 0.0228881426, -0.009081061, 0.0506312028, -0.0496389456, -0.032208208, -0.0428201109, 0.0091424892, 0.0737181753, 0.0656689107, 0.0182687081, -0.0533040911, -0.0350989737, -0.0552669205, 0.0387897231, -0.0526554994, -0.0321009867, 0.0367529839, 0.0188260842, -0.025104899, -0.017881019, 0.083820574, -0.0251624025, 0.0330760553, 0.0383448564, 0.0133877425, 0.047313977, -0.0119262012, 0.0349872522, -0.0560864583, 0.0159987994, 0.0142326728, -0.0400492884, 0.0019059317, 0.0148683246, -0.0406257249, 0.0375638418, -0.0374806561, -0.0274535865, -0.0533256456, -0.0261647142, 0.0186384041, 0.0597751252, 0.0557974018, 0.0150742354, 0.0183793455, 0.0562207848, -0.026969634, 0.0125977434, 0.010368404, -0.0168811753, 0.0162796471, 0.0301219486, -0.0104759997, 0.0126463976, -0.1010600701, 0.0434678309, 0.029758282, -0.0147961266, -0.0186704211, 0.0398926139, 2.867e-7, 0.0172560606, 0.0498927385, 0.0275647249, 0.0258453339, -0.0146132382, 0.0217271186, 0.0104121175, 0.0262340065, -0.015247019, -0.0122684436, -0.02701943, 0.0432574712, 0.0521024466, 0.0073762578, -0.0766403601, -0.0257213172, -0.0583968051, 0.0236582775, -0.0189718362, -0.0018937496, 0.0317006148, 0.1216347739, -0.0226890445, 0.002050221, 0.0391652472, 0.0293174218, 0.0362280197, -0.0128176631, -0.008624211, -0.0221312176, 0.0157287568, 0.0316673182, -0.027479142, 0.0059307879, -0.0223967917, -0.0080640316, -0.0221326388, 0.0633592531, -0.0015658807, -0.0747044384, 0.0192988012, -0.0217758454, -0.044844389, -0.0440436266, 0.0683870763, -0.0270128287, -0.0203408953, -0.045843821, -0.004883647, 0.0095533542, -0.0374263935, -0.0039371708, 0.0185319856, 0.0139726894, 0.0086370222, -0.0171008185, 0.0267559979, -0.0956268534, -0.0304020178, -0.0075115236, -0.003339337, -0.0112570599, -0.0880772546, -0.0208444167, 0.0482445247, 0.004947864, -0.0021845731, 2.850826348e-34, 0.03106457, -0.0270832442, 0.0256646965, 0.0454760417, 0.0080802552, -0.0295799654, 0.0092848567, 0.0471705832, 0.0144852716, -0.0990502238, -0.0462285168 ]
http://arxiv.org/abs/2406.11429v1
http://arxiv.org/pdf/2406.11429v1
Fusion Makes Perfection: An Efficient Multi-Grained Matching Approach for Zero-Shot Relation Extraction
2024-06-17T11:31:48
2024-06-17T11:31:48
Shilong Li, Ge Bai, Zhang Zhang, Ying Liu, Chenji Lu, Daichi Guo, Ruifang Liu, Yong Sun
cs.CL
cs.CL, cs.AI
Predicting unseen relations that cannot be observed during the training phase is a challenging task in relation extraction. Previous works have made progress by matching the semantics between input instances and label descriptions. However, fine-grained matching often requires laborious manual annotation, and rich interactions between instances and label descriptions come with significant computational overhead. In this work, we propose an efficient multi-grained matching approach that uses virtual entity matching to reduce manual annotation cost, and fuses coarse-grained recall and fine-grained classification for rich interactions with guaranteed inference speed. Experimental results show that our approach outperforms the previous State Of The Art (SOTA) methods, and achieves a balance between inference efficiency and prediction accuracy in zero-shot relation extraction tasks. Our code is available at https://github.com/longls777/EMMA.
[ 0.0258643366, 0.0257938877, 0.0230669919, 0.0952998102, 0.016940318, 0.0284373183, -0.0288329516, 0.0131634912, 0.0170036852, -0.0638942868, -0.0376658775, 0.0089484984, -0.0056354473, -0.0071505001, -0.0046396945, -0.0280042887, 0.0390490703, 0.0563329011, -0.0060365037, 0.0432950109, 0.0137144877, 0.044002004, -0.0349566676, 0.0038799455, -0.0417474955, 0.0017614326, 0.0190767515, 0.0144367442, 0.0531375445, -0.0507671237, -0.0143345138, 0.0309516024, 0.0107466159, 0.0130807711, 0.0000018377, -0.0396094732, -0.0066201342, 0.0135314316, -0.0320107974, -0.0217482578, -0.0152503699, -0.0451092571, 0.0448636375, -0.0120719038, -0.0421559364, -0.0680443123, 0.0393943638, 0.065855585, -0.0091661541, 0.0256191008, -0.0599500276, -0.0626058802, 0.0160520729, -0.0329500996, 0.0323508307, -0.0448094197, 0.0229496174, -0.0265521705, 0.008214226, 0.000764002, 0.0103019327, 0.0097723538, 0.0057434924, -0.0005861751, 0.0373759568, 0.0661633462, -0.0660861284, -0.0022773566, 0.0058987369, 0.127422452, 0.0440415069, 0.0168582238, 0.0255744793, 0.000155728, -0.0133092571, -0.0191271603, 0.0086882506, -0.0308722481, -0.0295143798, 0.00615633, -0.0301802121, 0.0167462137, 0.0139653543, 0.0130519234, 0.0022867129, 0.0089435726, 0.0003597673, -0.0240411758, 0.0085969819, 0.0348703898, 0.0121361678, -0.0429441221, -0.0283838287, 0.0360197574, -0.0199519377, 0.0073344409, -0.0495244302, 0.009249323, -0.0020449155, -0.0085241748, 0.0090569565, 0.0184808616, 0.0017968727, 0.0788507089, -0.0447330289, -0.0136473365, -0.0060361186, -0.0218653847, -0.0107387081, -0.0000629279, -0.0802720338, 0.0441688485, -0.041478388, 0.0883619338, -0.0246047862, -0.026559297, -0.0263587851, -0.0108622927, -0.0217399187, 0.0473960191, -0.0247832611, 0.0155789312, -0.0057568369, 0.0028900132, -0.0138697568, 0.0509059653, -0.0714161396, 0.0000761096, -0.0323929451, -0.0296683293, -0.0289926324, -0.0157170482, 0.0421652831, -0.0513517968, 0.0166494604, 0.0818231925, 0.0033476513, -0.0604398064, -0.0220162757, -0.0411685519, 0.0139040574, -0.0501496494, 0.0022740343, -0.0089153852, 0.0849746317, 0.0152848763, -0.0106091565, 0.007421297, 0.040260084, -0.0065294947, -0.0892470479, 0.0908771902, -0.0024504247, -0.0165946539, -0.0256870706, 0.0223971643, 0.0323601775, 0.0720096529, 0.0009713754, 0.0027136598, 0.006453176, 0.0187705718, 0.0031961873, 0.0371939205, 0.0230485164, -0.0060661966, -0.0144315064, 0.0049402686, 0.0249041468, 0.0146349007, 0.0443520881, 0.0070538535, -0.0515967868, -0.0353682265, 0.0211707279, 0.0289265141, -0.025138421, 0.0050819647, 0.0390009917, 0.0166464355, 0.0094090104, 0.0207863823, -0.0824176967, 0.0602180064, -0.0450723805, -0.0011543335, -0.0054489709, 0.0204916913, -0.0366312638, 0.0212472808, 0.0105156777, -0.0181191023, -0.0155124972, 0.0163375549, 0.0403838865, 0.0164589491, -0.034038119, 0.0594547279, 0.075024806, 0.006233193, -0.0401024967, 0.0061504375, -0.0134288222, 0.047774706, 0.0489066243, -0.0314924456, -0.0722470656, 0.0010530765, -0.017441703, 0.0414453596, 0.041443903, -0.0417398289, 0.0437070131, -0.0288925264, -0.043413721, 0.0160884652, -0.004534137, 0.0028958281, 0.0482214093, 0.0154980607, 0.0182990767, 0.0026934315, 0.0240352415, 0.0373173729, -0.0158069413, -0.0432854332, 0.0139166564, 0.0407492444, -0.0007086489, 0.0306667034, -0.0144446641, -0.0189359691, 0.0324722305, -0.0251385216, 0.0197662134, 0.0215097293, -0.0024214112, -0.0403896756, 0.0312343724, 0.0087652216, -0.0388321914, -0.0603553988, -0.0565395281, -0.0084393676, -0.0103078438, 0.0364559814, 0.0522687435, 0.0066454499, -0.0212587733, 0.0371531621, 0.0062955706, -0.0238371417, 0.0666217953, 0.0083413301, -0.010904233, 0.0023404728, -0.0491249636, 0.0045745773, -0.0000976028, -0.0106538767, 0.0056749964, -0.0168556422, -0.0145210549, -0.0092077935, -0.0177272819, -0.0701973662, -0.0064002546, -0.075453423, 0.0252828393, 0.0396173373, 0.0216210466, -0.0056325658, 0.0148903169, -0.0007216194, -0.0290696826, -0.0074451268, 0.0581344888, -0.0339623205, -0.008327852, 0.0368982255, 0.040189907, 0.0042522606, -0.0311799813, 0.007144216, -0.0480448604, 0.0529001728, -0.0029102175, -0.0188035052, 0.0052049668, 0.0181820672, -0.0587130003, 0.0513652638, 0.014404594, -0.0018497582, -0.0225524604, 0.0099770827, -0.0360113755, 0.0394539833, -0.0183719918, 0.0287652053, -0.0114796255, -0.0075335023, -0.0388051346, 0.038007088, -0.0025350342, 0.0143853473, 0.0010135337, 0.0259689447, -0.0410765223, 0.0418807603, -0.0317719467, 0.0340460204, -0.0361047462, 0.0244763196, 0.0532599911, 0.0030916973, -0.0112238489, 0.0564242564, 0.0329777636, -0.0208090451, -0.0819822401, 0.0353110135, 0.0666195452, -0.0206591096, -0.0158036277, 0.0204347819, 0.0247119032, -0.0191537086, 0.0808730721, 0.000040085, 0.0143378628, 0.0483653247, -0.0012798628, -0.0188858639, -0.029122822, 0.0415543616, 0.0044211834, 0.0244550705, -0.0183703881, 0.0525875054, -0.0409441628, -0.0152289607, -0.0375913419, -0.030910356, -0.0522897802, 0.0180865843, -0.0785543919, -0.0168961398, -0.0291289091, 0.0139661226, -0.0006890696, 0.0200890005, -0.0092474837, -0.0246667415, -0.0209241323, 0.0660917908, 0.0902152061, -0.0170027222, -0.0354589485, 0.0281222295, 0.0203373283, 0.0557550862, 0.0064882827, 0.0165916998, -0.0012983179, -0.0185975861, -0.0013913865, -0.021159865, 0.0183303747, -0.0023241721, 0.0135791693, -0.0575128347, 0.0083465204, 0.1013828442, 0.019717887, -0.0273708198, -0.0126175769, 0.0398716293, 0.0216745809, 0.0512731448, 0.0305936802, -0.1182231903, -0.0649246499, -0.0168193579, -0.0166366547, 0.0206250604, -0.0892942026, -0.0140615711, -0.1319941282, 0.0000927347, -0.0059249075, -0.0439282097, -0.019834552, -0.0460610539, 0.0272491686, -0.0269155726, -0.0347546004, -0.0341729969, -0.0321779251, -0.0052587697, -0.0325292014, 0.0547524206, -0.0485491678, 0.0604170263, -0.0462983735, 0.0335181542, 0.0345117711, 0.0454945378, 0.0089629674, -0.0189731028, -0.0133572016, -0.0182171091, -0.029897796, -0.0340670757, 0.1023956686, -0.0697829351, -0.0239973534, 0.0156314671, 0.0097015752, -0.0154399993, -0.0091692852, -0.0132215992, 0.0464981273, 0.007056741, 0.0065644789, 0.0004202632, -0.0145106995, 0.0127119925, 0.0713996068, 0.0137178553, 0.0091217523, -0.0216062404, 0.022028869, 0.0006320496, -0.0382789709, -0.0105279088, -0.0073800194, -0.0589025356, -0.0257448051, -0.0541568547, -0.0562371463, 0.0696434453, 0.0510200262, 0.0027252629, 0.0040145046, 0.0165183581, 0.0207377188, -0.0716580749, 0.0224785823, -0.0544504561, 0.0142463446, 0.0233866051, 0.0144258244, 0.0365856998, -0.0091266371, -0.0171069987, -0.0174327083, -0.0561897121, -0.0386498272, -0.0546626411, 0.0332954191, 0.0132832909, 0.0683414862, -0.0024662297, 0.0045768931, -0.0176512673, 0.0918806717, -0.0426677875, -0.005476302, 0.001738857, -0.0254803021, -0.0071729105, 0.0446926802, -0.0274154171, 0.0301987808, 0.0117926793, 0.0326984487, -0.0532798879, -0.0492139682, 0.0036631259, 0.0019061641, 0.0560340993, 0.006185316, 0.025005294, -0.0118693775, 0.0136720426, -0.0301265083, -0.021417493, -0.0404107571, -0.016124865, -0.0221765433, 0.0075639207, 0.0108848494, -0.0180832576, -0.0286140367, 0.0754572526, -0.0273404047, -0.0515010171, 0.0059965393, -0.0244051702, 0.0163885597, -0.0214043465, -0.0184108671, 0.0267881025, 0.0209474415, 0.0358335525, -0.0546652898, 0.0527571626, 0.0202394575, -0.0019494612, -0.035961818, 0.003203921, -0.0003350209, 0.0314705335, -0.038128864, 0.0408745594, 0.0652732104, -0.0631439313, 0.0124672158, 0.0001357239, -0.0091914563, 0.0182309244, 0.0307645295, -0.0479504429, -0.0204103403, 0.0200425219, 0.0377302319, -0.0098540802, 0.0252570827, 0.0883527175, -0.0522744432, 0.0796983019, 0.0367408097, -0.002124622, -0.0398636013, -0.0092469007, 0.011507283, 0.0237029474, 0.000595738, 0.0069876742, -0.0704243109, -0.0521002933, -0.0014600107, -0.0551640801, -0.0451965891, 0.0221862849, 0.0229262765, -0.010380554, 0.0571961664, -0.0210886262, -0.0130718863, -0.0139605748, -0.0194335766, -0.0074168104, -0.0276029594, -6.238953899e-33, -0.0594619699, -0.0278092977, 0.0241424572, 0.0031245933, -0.0603686497, 0.0329299122, -0.0223370884, -0.0277468786, -0.0531983636, 0.0155258151, -0.0102071185, -0.0087921582, 0.0027531704, -0.0130590983, -0.017857112, -0.0347730182, 0.0116122961, 0.0059955148, 0.0037105551, 0.0202837773, 0.0037044743, 0.0288362373, 0.051352486, -0.0808262825, 0.0033209417, 0.0076629776, -0.0086841462, 0.0306330062, 0.0509464145, 0.0229498018, -0.0350812376, 0.0033243836, 0.0253326837, -0.0103779761, 0.0412368365, -0.0232544318, -0.1372959316, -0.0011669748, -0.0193520039, -0.0200033057, -0.0010542115, 0.0128233004, 0.018656956, 0.0006171018, 0.0624878481, -0.0569024049, 0.0099649271, -0.0504965931, -0.007446371, -0.0541196838, -0.0933497697, 0.0100717712, 0.0196897499, -0.0316015556, 0.0587506406, -0.003128838, 0.0481057614, 0.0199247152, -0.0544078425, -0.0400594436, -0.027129041, 0.0091989413, 0.0156386811, 0.0178144276, 0.0104961721, 0.0657392889, 0.0086536091, -0.0015389202, -0.0404469557, -0.0007957845, 0.0127380183, 0.048900865, -0.0367521942, 0.0410875902, 0.0648171306, -0.0022004214, -0.0758024976, 0.008907401, 0.0142302141, 0.0537795424, -0.0609387159, 0.0041864319, -0.018376451, 0.0041200803, 0.001999863, -0.0032643818, -0.0354673602, -0.0173984263, -0.0119821317, 0.004245773, -0.0326866992, 0.058086995, -0.000623515, -0.0406926051, -0.0245240182, 0.0215089265, -0.0066725677, 0.0142821753, -0.0011186603, -0.0188714135, -0.0495952368, -0.0715709031, 0.0163740274, -0.0073467558, 0.0359065533, 0.0470949076, 0.0786458254, -0.0449028835, -0.0467226505, -0.0195308905, -0.0385912769, -0.002640977, -0.0309965461, -0.0038410039, 0.0235010944, 0.0444033891, 0.0058400827, 0.0357996225, 0.0505791083, -0.0008414747, -0.0076449839, 0.0493475683, 0.031883385, 0.0189555362, 0.0327066369, 0.008686332, -0.0027693983, -0.0309429541, 0.0088550868, -0.0320179947, -0.012532223, -0.0042185849, 2.584e-7, 0.0106952311, 0.0101488829, 0.0399788506, 0.0241334997, -0.0125663271, 0.0738177449, 0.0266216882, 0.0611346178, -0.0111874491, -0.0292812642, 0.0229357742, 0.0202888716, 0.0175911691, 0.0386715755, -0.0608854294, -0.0040048631, -0.0585157983, -0.0701553598, -0.0546895117, -0.0214712974, 0.0653988719, 0.0353616215, 0.0496781096, 0.0128439525, -0.004548355, -0.0055383719, 0.0595473498, 0.0011731037, 0.0168647524, 0.0205945186, -0.0369470716, 0.0325244367, -0.0329843536, 0.0692683384, -0.0234858133, 0.0236891992, -0.0070423912, 0.027970301, -0.0620455481, -0.006812525, -0.020512199, -0.026844047, 0.0086974101, 0.0103771584, 0.0892219171, -0.0726958439, -0.007957668, -0.0251939353, -0.0257028807, 0.0464582294, -0.0252447817, 0.0429385751, -0.0018904669, 0.0300223678, 0.0317416713, -0.0016418163, -0.0530082621, -0.0871533826, 0.0035795916, 0.066140756, 0.0197483953, -3.277e-7, 0.0206188262, -0.0467048027, 0.006804937, -0.0498706661, -0.0228256043, 2.168041832e-34, -0.0360509232, 0.0174781326, 0.0173257682, 0.0487391241, 0.0237755477, -0.0321114585, -0.0665531754, -0.0003711871, -0.0018260197, -0.0470440462, 0.0368866511 ]
http://arxiv.org/abs/2406.11427v1
http://arxiv.org/pdf/2406.11427v1
DiTTo-TTS: Efficient and Scalable Zero-Shot Text-to-Speech with Diffusion Transformer
2024-06-17T11:25:57
2024-06-17T11:25:57
Keon Lee, Dong Won Kim, Jaehyeon Kim, Jaewoong Cho
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Large-scale diffusion models have shown outstanding generative abilities across multiple modalities including images, videos, and audio. However, text-to-speech (TTS) systems typically involve domain-specific modeling factors (e.g., phonemes and phoneme-level durations) to ensure precise temporal alignments between text and speech, which hinders the efficiency and scalability of diffusion models for TTS. In this work, we present an efficient and scalable Diffusion Transformer (DiT) that utilizes off-the-shelf pre-trained text and speech encoders. Our approach addresses the challenge of text-speech alignment via cross-attention mechanisms with the prediction of the total length of speech representations. To achieve this, we enhance the DiT architecture to suit TTS and improve the alignment by incorporating semantic guidance into the latent space of speech. We scale the training dataset and the model size to 82K hours and 790M parameters, respectively. Our extensive experiments demonstrate that the large-scale diffusion model for TTS without domain-specific modeling not only simplifies the training pipeline but also yields superior or comparable zero-shot performance to state-of-the-art TTS models in terms of naturalness, intelligibility, and speaker similarity. Our speech samples are available at https://ditto-tts.github.io.
[ -0.0524517633, 0.0460695773, 0.0320427455, 0.008236276, 0.014800705, -0.0421352424, 0.0476656072, -0.0031044628, -0.06364692, 0.0186996255, -0.0753744394, -0.0345062912, 0.022112811, 0.0071544903, 0.0328641161, -0.0771490857, 0.0045152805, -0.0025411989, -0.0270371139, -0.0010031578, 0.0642843321, 0.0038802729, -0.0298480615, 0.0121391816, -0.029500138, -0.0404942408, -0.0247653797, 0.0336765796, 0.0594823398, -0.0313285515, -0.0259187669, 0.0188818015, 0.0603276715, 0.0425859056, 0.0000019376, 0.0084972009, -0.0110147493, 0.0170221739, -0.0243988745, -0.0059216497, 0.0263424274, -0.0226839166, -0.0201098453, 0.0292362999, 0.0249260254, -0.0088767121, 0.0625074878, 0.0344679989, 0.0442597419, 0.0906315744, -0.0249880049, -0.074597232, 0.0463749915, -0.0367127433, 0.0340479165, -0.0068352306, -0.0287715457, -0.0190314408, -0.0051783053, -0.0215781145, -0.0570706092, 0.0446098037, 0.0038471799, 0.0079169087, 0.0302728694, 0.0441045873, 0.0132772429, -0.0394268632, -0.0009502906, 0.1185993776, -0.018468231, -0.0043301042, 0.0302488804, -0.0032034928, -0.0331353769, -0.014867004, -0.0210761391, -0.0134114325, 0.040187642, 0.0017781075, -0.0510580279, 0.0518113412, 0.0154837137, -0.056650158, -0.017368516, -0.0070815692, 0.035475947, -0.0384443738, -0.0352381654, -0.0149726048, 0.0072865328, -0.0442670174, 0.048836261, 0.0150812836, 0.0040978319, -0.0114435293, -0.0573388785, -0.0353542082, -0.0332254097, 0.0125978785, 0.031911619, 0.0570096411, -0.0372898094, 0.0029186516, -0.0183996614, 0.0587834492, -0.0539295785, -0.0131336916, -0.0232658237, -0.0258876551, -0.0191700403, 0.036625389, -0.0340754017, -0.0105710924, -0.0191967394, -0.0341062099, -0.0354009047, -0.0016188725, -0.0144052701, 0.0110263955, 0.0555873439, 0.022187328, -0.0609831437, -0.0498996787, -0.0019697563, 0.0782453567, -0.010900219, 0.0178108364, 0.026766317, -0.0023521008, -0.0508923382, 0.0435449891, 0.0623396151, -0.0213478673, 0.0083209071, 0.0369680338, -0.0295483563, -0.0257117841, -0.0164368637, 0.0114326039, -0.0433866158, -0.0643157437, -0.0075343465, -0.0649651214, 0.0534278676, -0.0244410392, -0.0024908076, -0.0313233063, -0.0108344015, 0.0122531224, 0.0098761935, 0.0695615411, 0.0128593817, 0.0229031723, 0.0366385803, -0.0112217357, 0.0111804642, 0.0246557016, 0.0573757626, -0.0052809757, -0.0250219144, 0.000099873, 0.0126089603, 0.0603760332, 0.0601129755, 0.0380375423, -0.0120882522, 0.0065698782, -0.0216275547, 0.0625993758, 0.0984545648, 0.0347481482, -0.0273071397, -0.0212945659, 0.0866990164, 0.0647245869, 0.0323194899, -0.0158181228, 0.0747357979, 0.0676571876, -0.0534494221, -0.0379472151, 0.0004165595, 0.0558555871, 0.0287253, 0.0323455818, 0.0749987438, 0.0187184364, -0.0712111443, 0.0085726026, 0.009628077, -0.0389635339, -0.0073457998, -0.0040584421, 0.0053635221, 0.0162540507, -0.0808035806, 0.077513732, -0.0179087147, -0.0630529895, -0.0078025819, 0.0088554937, 0.0226983111, 0.05065009, -0.0048210854, 0.0024057366, -0.0112536829, -0.0240035579, 0.010050551, 0.065894872, -0.0365242101, 0.0230410956, 0.0390920155, -0.0822015107, 0.0085056648, 0.033391308, -0.0124235572, 0.0042085368, -0.0049908771, 0.0828605741, 0.0236012302, -0.0200641267, 0.0345428549, 0.0047621778, -0.0510861985, -0.0221659113, -0.0121153146, 0.0341586508, 0.0336094163, -0.0093167508, -0.0480975024, -0.0172445979, -0.0029323262, -0.0160237737, 0.0010326662, 0.0211081076, -0.056936197, -0.0356184244, 0.0254530124, -0.0565548688, 0.006324701, 0.047444962, 0.0099574402, -0.0536810793, 0.0433265194, -0.0134351673, 0.0155646773, -0.0129738618, 0.032447841, 0.0444787666, 0.0320277661, 0.0331950597, -0.001381942, 0.0110499375, -0.014731532, 0.0011750497, 0.0359217823, 0.0068531274, -0.0340289436, 0.0096951155, -0.0190062337, -0.0016690562, 0.0396976359, -0.0272254441, -0.0179420635, -0.0328680165, -0.0222372804, -0.068477571, 0.0613129362, 0.0023275609, 0.0216374695, 0.0136194732, 0.0183974281, -0.0036753537, 0.0084584365, -0.0527605824, 0.0019987272, 0.0021851386, -0.0394736379, 0.0129975984, -0.0401921645, -0.017322138, -0.0498420298, 0.0129822241, 0.0177935753, -0.0019266972, -0.0675190166, 0.0067134821, 0.0123937195, 0.0453293398, 0.0176246632, 0.0070772106, 0.0109429574, -0.0395710319, -0.0139523176, 0.0391545594, 0.0739076957, 0.0219931826, 0.0082739592, -0.0270881094, -0.0336636268, -0.0266279615, -0.0467143171, 0.0081277294, -0.0015551863, 0.035370674, -0.0345519595, 0.0015615068, -0.0492052138, 0.0665791705, -0.0163494851, 0.023220975, -0.0906519219, -0.0228792857, 0.0228344072, 0.0009126269, 0.039903421, 0.0122568589, -0.0295247436, -0.014488739, -0.0509024747, -0.0386055335, 0.0349085741, -0.0848544911, -0.0697338581, -0.0308043603, -0.0163051914, 0.002836589, -0.0082745515, -0.0026534379, 0.0175532997, 0.0035417641, -0.0160841905, -0.0462473147, 0.0024666979, 0.0074832202, -0.0296945535, 0.034533225, 0.0360746123, 0.0091123097, -0.0395929664, -0.0047841417, -0.0163612198, -0.051628314, -0.0235560294, -0.0099637378, -0.0534965284, -0.0504542775, -0.0479544699, -0.0116084693, 0.0294216014, 0.0372943021, 0.0112542007, 0.0061647468, -0.0343742296, 0.069367528, 0.0304288696, -0.0088558579, -0.0412825197, -0.0334926732, 0.0334292166, 0.0315328464, 0.0261544827, 0.0214890633, -0.0437779278, -0.0412337668, 0.0075914385, 0.0139319673, 0.0131455176, 0.0053707617, 0.1002966836, -0.0221321546, 0.006212546, 0.0902021378, -0.0175722875, -0.0193923395, 0.0062758005, 0.0163133033, 0.0683241189, -0.0088889636, -0.0215861313, -0.0719938949, -0.0685056448, 0.0256596971, 0.0139296828, 0.0288742166, 0.0189218745, -0.0231637843, -0.0941997096, 0.0023240109, 0.0299973544, 0.0158871394, -0.0091653429, 0.0087630292, -0.0239714142, -0.0033063984, 0.0344393551, 0.0054113041, 0.0103425235, -0.0001818794, 0.0223502144, -0.0240986031, -0.0433852598, 0.0117519367, -0.0475088991, 0.0635808259, 0.0411226451, 0.0258072019, 0.0216721278, -0.0784369111, 0.0093464321, 0.0073412922, -0.0338713154, 0.0477461442, 0.0470094904, -0.0407599956, -0.0122717237, -0.0011059034, 0.0590123609, -0.0202240814, 0.0003078488, -0.0029420347, 0.0715028495, 0.0308754295, 0.0087996973, -0.0100640515, 0.0373797677, 0.0080654901, 0.0622690096, 0.0059975432, -0.0333059654, -0.028532777, 0.0173986442, 0.0245301612, -0.0412374623, -0.0888389051, 0.0161846727, -0.0020639526, -0.076634638, -0.0346904136, -0.0092461109, -0.0264273752, 0.0450436771, -0.0116005186, -0.0502653345, -0.0072598485, 0.0008332205, -0.0482047163, 0.0338688344, -0.0209522024, 0.0398924798, -0.0711693913, 0.021959085, 0.0272236951, -0.0103385784, -0.001723724, 0.0233742204, -0.122219786, -0.0573045425, -0.0510402806, -0.0238071065, 0.0094938697, 0.0765639022, -0.0287394207, 0.0013215038, 0.127885446, -0.01260796, -0.0180891901, 0.0234371033, 0.0588511676, -0.033228036, 0.0137430783, 0.0150754172, -0.0311998893, 0.0306730662, -0.0093875732, -0.0117718913, -0.0373243988, 0.0119585311, -0.012697326, -0.0130567458, 0.036864832, 0.00410478, 0.078914851, -0.017200375, 0.009174224, -0.0056126211, 0.0441203974, -0.0491378866, -0.0380720645, 0.0501180552, 0.0088209547, 0.0044495389, 0.0007726159, -0.0281879567, -0.0318120234, -0.0084664458, 0.0207292996, 0.004940216, 0.0206276122, 0.0047640218, -0.0085826637, 0.0114478813, -0.0057533029, -0.0208305828, 0.0332146622, -0.0097471913, 0.0232363977, 0.0065985722, 0.0186358858, -0.0074414397, 0.0182483848, 0.0065529183, -0.0000611126, -0.0276178699, -0.0140074678, 0.0315224156, 0.0121859331, 0.0720514804, 0.0374124721, 0.0253223535, -0.0028610565, 0.0271528848, -0.0643362924, 0.0121359071, 0.0067261299, -0.0058962232, -0.0008236506, 0.008510951, 0.034371268, -0.0082341572, -0.0071207993, -0.0302441642, 0.0321675427, -0.0046889842, -0.0288006999, -0.0638461113, -0.0166927967, 0.0090519162, -0.0131959775, -0.0213761274, -0.0649970621, 0.0117324656, -0.0032650321, -0.021262845, -0.0174437314, 0.0323547274, -0.0339768864, -0.0152880857, 0.0040150126, 0.0196904074, -0.0365270786, 0.0089823185, -0.0201917309, -0.0024746424, -5.967661191e-33, -0.0246357638, 0.0458314195, 0.0277865529, -0.0280688163, -0.1022774875, -0.0033937348, -0.0390327871, -0.0066325152, -0.0086510628, 0.0082590757, -0.02510776, 0.0391122848, 0.0143850921, 0.0532816239, -0.0396600775, 0.0046141623, 0.0705927983, -0.0319733322, -0.0231937803, 0.0210851841, 0.0324890763, 0.0170703735, 0.0228122175, -0.0329268873, -0.0425605737, -0.0154567715, -0.0008213872, -0.0270140786, 0.0687345341, 0.0149241854, 0.0014108954, 0.0116560319, -0.0335626565, -0.0460567921, -0.0319326706, 0.0415920764, -0.0583960116, 0.0284820143, -0.0252562258, 0.0337250195, -0.0346654803, -0.0319951586, 0.0516293608, 0.0029848728, 0.0038544757, -0.0460348763, 0.0224272944, -0.0196195375, 0.0320331641, -0.0117555419, -0.0611898936, 0.0314287208, -0.0494542308, -0.0485795848, 0.0510907248, 0.0474088453, 0.0170831699, 0.0326384939, -0.0979925394, 0.0130179962, -0.0238116719, 0.0547147579, 0.0566702634, 0.0027600594, 0.0143130785, 0.0335044116, 0.0439860784, -0.0388651788, 0.0209570006, -0.0100377342, 0.0193653926, 0.0321686715, 0.011020367, 0.0194130838, 0.0491580628, -0.0261385925, -0.0431174003, 0.0112622809, -0.0429371819, -0.0112829832, 0.0052860421, 0.0362620912, 0.0047244937, 0.0127645107, -0.0178426988, -0.0283389743, -0.0096283965, -0.0310221855, 0.0372814834, 0.0162295364, 0.0394522958, -0.0064428914, 0.0949023813, -0.0054419385, 0.0197544582, -0.0088020684, -0.0409891456, 0.0150854327, 0.0071980795, 0.0363272987, -0.0522223897, -0.0183630716, 0.0493795872, 0.0638010278, 0.0155606205, 0.0158532057, 0.0063113528, 0.011917633, -0.0634918064, -0.0113071483, -0.021966191, 0.0193859991, -0.0434771776, 0.0210702326, 0.0273131263, 0.0015502447, -0.0049848235, 0.0543848611, -0.0313396491, -0.012644344, 0.0209597163, 0.0163823366, 0.0140207857, 0.0214960985, -0.0517179146, 0.0324144401, -0.0142847085, 0.005003965, 0.0559723973, -0.0429414436, -0.0160980485, 0.0277650114, 2.665e-7, -0.0358291678, -0.0302077644, 0.0345418826, -0.0092177223, 0.0264448281, 0.0447416045, -0.0055384259, 0.0541200005, -0.0283534396, -0.0455323569, 0.0230929628, 0.0192438886, 0.0863131583, -0.0051973895, -0.0774672404, -0.05309733, -0.0503179878, 0.024176022, -0.01223177, -0.0025856374, -0.0052593271, 0.0870961398, 0.0052190623, 0.0039347433, 0.0535398573, 0.0067321607, 0.0428625904, 0.0278629307, 0.0130614648, -0.0074783652, -0.0369685926, -0.0553930849, -0.0418501943, -0.0156157073, -0.0341053605, 0.0457792096, 0.0064966008, 0.0695611387, -0.0342059657, -0.0773834139, -0.0282346364, 0.0330670662, -0.0647051856, 0.0098458203, 0.0586193725, -0.0397205763, -0.0215231031, 0.0165323466, -0.0842424035, 0.0273345988, 0.0148864929, 0.007102571, -0.0307559595, 0.0106807332, 0.0415991545, -0.0033670103, -0.0212594755, -0.0527030341, -0.0198720023, 0.004468827, -0.0498771071, -0.0381048732, -0.0471538007, -0.0332059599, 0.0467598401, -0.0055141943, -0.0262718219, 2.041730832e-34, 0.0163621102, -0.0146511123, 0.0437025912, -0.0071425629, -0.0088017322, -0.0370484479, 0.0015689234, -0.0339711122, 0.0277054682, -0.0436034575, -0.0292634591 ]
http://arxiv.org/abs/2406.11424v1
http://arxiv.org/pdf/2406.11424v1
Evaluating the Efficacy of Open-Source LLMs in Enterprise-Specific RAG Systems: A Comparative Study of Performance and Scalability
2024-06-17T11:22:25
2024-06-17T11:22:25
Gautam B, Anupam Purwar
cs.IR
cs.IR, cs.CL
This paper presents an analysis of open-source large language models (LLMs) and their application in Retrieval-Augmented Generation (RAG) tasks, specific for enterprise-specific data sets scraped from their websites. With the increasing reliance on LLMs in natural language processing, it is crucial to evaluate their performance, accessibility, and integration within specific organizational contexts. This study examines various open-source LLMs, explores their integration into RAG frameworks using enterprise-specific data, and assesses the performance of different open-source embeddings in enhancing the retrieval and generation process. Our findings indicate that open-source LLMs, combined with effective embedding techniques, can significantly improve the accuracy and efficiency of RAG systems, offering a viable alternative to proprietary solutions for enterprises.
[ 0.0598532073, 0.0512821302, -0.0040368554, 0.0313164704, -0.043764554, -0.0135920113, 0.0049143676, 0.0004579553, 0.0443956293, -0.0776102245, -0.0181225874, -0.0244145449, -0.0217467416, 0.0118202139, 0.0152841369, 0.0443706438, 0.0281601287, -0.0016927095, -0.0380843841, 0.0058204122, 0.0039656274, 0.045255851, 0.0207693428, 0.0448549539, 0.0343730301, 0.0290877633, 0.0178124253, 0.0190291721, -0.0235267524, -0.003608092, -0.0120473364, 0.0216206778, 0.0464966148, 0.0637321472, 0.0000014891, -0.1052361503, -0.0367389359, 0.013015761, -0.0057024462, 0.0448613912, 0.0935762301, 0.0190151203, -0.0207928307, 0.0401472636, -0.0214449186, -0.0086111929, 0.0296632294, 0.0202958174, 0.0466357842, 0.0533412807, -0.0039219405, -0.0576614141, -0.0017966448, -0.0118087605, -0.0081257122, -0.0130175827, 0.0318685472, 0.0083235614, 0.0275194477, -0.0066552474, 0.0391130075, 0.017768696, -0.0269396026, -0.0047796676, 0.0293330494, 0.017452389, -0.0712536648, -0.0149213141, -0.0067939409, 0.0651189312, 0.0506255217, -0.0045465915, -0.0001746188, 0.0089815212, 0.0189345032, 0.0363269001, -0.040542163, 0.0601919889, 0.0146040823, 0.0422286578, -0.0205648281, 0.0008597988, -0.0116870226, 0.0426673405, -0.0403961539, 0.0513439402, 0.0321897268, -0.036840491, 0.0256922413, -0.0067376844, -0.007697314, 0.009970108, 0.0300692506, 0.0082826549, 0.0039069452, 0.052597031, -0.0423819311, -0.0131540354, 0.0549612306, -0.0176406316, 0.0209134128, 0.0118084718, -0.0100814877, 0.0195110776, -0.0531791374, 0.0226839129, -0.0260031093, -0.0293247662, -0.0430020206, -0.0129873864, -0.0646667853, -0.0234221201, -0.0438644253, 0.0261015184, -0.0537346341, -0.0470338129, -0.0587238073, 0.0368743092, 0.0109452493, 0.0232508406, 0.0200950354, 0.0275606737, 0.0011238026, -0.0016376699, -0.0305408668, -0.0037342377, 0.0233623832, -0.0026252728, 0.010348659, -0.0848832354, 0.0241951421, 0.0229380634, 0.0212782826, -0.018547032, 0.0088912249, 0.0267360024, 0.0356570035, -0.0345313214, -0.0801839978, -0.0543614328, -0.0181643665, -0.026427526, -0.0286196601, -0.0671847761, 0.0301789735, 0.0230069309, -0.0295173731, -0.0433662161, 0.0383436866, 0.0341372453, -0.0671252757, 0.0318254121, -0.0439337008, 0.0332986787, 0.0133797694, -0.0169626251, 0.0789069682, 0.0572444536, 0.0146872792, 0.0279619601, 0.0627382025, -0.0210384186, -0.0157503411, 0.0545004457, -0.0175546519, -0.010020812, -0.0347717963, 0.0365255624, -0.0293204654, 0.0397073068, 0.0347653367, 0.0679235458, -0.0095607387, 0.0431762189, 0.0442120992, 0.0574412569, 0.0443805307, 0.0161122363, 0.054803621, 0.0552429259, -0.0187233854, -0.0487784483, 0.003953482, -0.0332041979, -0.0251822509, 0.0505068302, 0.0341048613, 0.0430191718, -0.011059612, -0.007192607, -0.0449505597, -0.0021782112, -0.0347122028, -0.0149647575, 0.0805482417, 0.001456784, -0.0493230335, 0.0379205495, 0.0248530302, -0.0656747743, 0.0264190901, -0.0254886113, 0.0001468745, 0.1205622628, 0.0943383351, -0.0226471964, 0.0229131505, -0.0231155623, -0.0087286336, 0.0531432293, 0.0421560034, 0.0065842601, -0.0530693606, -0.0807824433, -0.03735644, -0.0013356652, -0.0092587145, 0.0118286405, 0.0239680298, -0.0039822413, 0.0686686411, -0.0295196399, -0.0374546647, 0.0346823111, -0.0372179747, -0.0026059272, -0.005781475, -0.002116177, 0.0061747977, 0.0623000376, -0.030993849, 0.0380863138, 0.0273500569, -0.028808834, -0.0324136354, -0.0116002429, 0.0184708759, 0.0121360496, 0.0154586127, 0.008476981, 0.0267710146, 0.0107754488, -0.0223995056, -0.0248103943, 0.0012586628, -0.0412920564, 0.0293318722, -0.0669492558, -0.0095173297, -0.0027099212, 0.0294486899, -0.0690527707, 0.0439818949, -0.0015855384, 0.0566648245, 0.0478208922, -0.0105483774, 0.014570402, -0.0535118878, -0.0409880206, 0.0031956888, -0.018772332, 0.0387094207, 0.0146025904, 0.0056274696, -0.0563183688, -0.0265470371, -0.0605072826, 0.0199056957, -0.002227172, 0.0248568822, 0.0182249453, 0.0259790476, -0.0309194792, 0.0082407193, -0.0108284168, -0.0306488611, 0.0494891666, 0.0422414057, 0.0269144345, -0.0051897489, -0.0412270948, -0.0122520123, 0.0007572268, 0.0307770129, 0.0439460725, 0.0065212832, -0.0096397353, -0.1004699022, 0.0570206717, -0.059314426, -0.014080002, 0.0289871003, -0.0099929506, -0.0098038819, -0.0332006849, 0.056216836, -0.0217867345, 0.0138323512, -0.0029004416, 0.031992536, -0.0381755345, -0.054654263, -0.0441665463, -0.0357297808, -0.0583673641, -0.0158831272, -0.0406220853, 0.0229129884, -0.0117010083, 0.0258054435, -0.0155632216, -0.0216495153, -0.0010019307, -0.0302468073, -0.0154212192, -0.0310341865, -0.0064129229, -0.0188615732, 0.0274849962, 0.0375149697, -0.045126047, 0.0360040143, -0.0464810804, 0.0047100792, -0.020482488, -0.026002584, -0.0518984459, 0.0313324928, -0.0432902016, 0.0126150465, -0.0076536541, -0.0485411212, -0.0070429821, 0.0381653123, 0.0027762626, -0.0654934421, 0.0366354622, -0.0196392126, 0.0197678953, -0.0119011439, 0.0339164063, -0.035651803, -0.0332565568, -0.0161711778, 0.016235074, 0.0303368904, 0.0329059623, -0.041244965, 0.0552809276, 0.0130792735, -0.0086576007, 0.0097931512, -0.017821854, -0.007076175, 0.0034533695, 0.0409167781, 0.0097755436, 0.034324877, 0.0331503935, -0.005657203, 0.0094189802, 0.0492181256, -0.0418656506, -0.0347568169, -0.0335167721, 0.0225710087, -0.0659831315, 0.012299587, 0.0114555014, -0.0058012181, -0.0185984429, -0.0133957267, 0.0819557831, 0.0390657932, 0.0077427817, -0.0069457032, -0.0168534275, 0.035816811, 0.0471505076, 0.0364205651, -0.0623029508, -0.0105501572, -0.0090627717, 0.0489528775, 0.0114237601, -0.0191849284, -0.0154675152, -0.1597853303, 0.083484076, 0.0078722555, -0.0078491475, -0.0372893587, -0.0342013463, -0.0211428963, -0.010605786, 0.004098577, 0.047543738, -0.0519983061, 0.0025211433, 0.0208313577, -0.0389545672, -0.0756746233, -0.0232864618, -0.0417330526, 0.0101291789, 0.0565789044, 0.0025074922, 0.0110062985, -0.0154772867, 0.0030924422, -0.0584313348, 0.0234263092, -0.0093546342, 0.0367903672, 0.0072597107, -0.0021161276, -0.0299157724, 0.0064312583, -0.0350654423, 0.0177032091, -0.0044578193, 0.0576701164, -0.0149149308, 0.0552531928, -0.02391099, 0.0014420915, 0.0041720024, 0.0889407471, 0.0011752412, -0.0269411914, -0.025412159, 0.0025739088, 0.0044098725, -0.0061938255, -0.0242714249, 0.0483257659, -0.0624105185, -0.0344472192, -0.0757690519, -0.0589616448, 0.0375827961, 0.0145420451, 0.0006019479, 0.0374187864, -0.0161652043, -0.0033258055, -0.0484921299, -0.0004790434, -0.0660479516, 0.0282205623, -0.0395837836, -0.0055947779, 0.0320327878, -0.0321618319, -0.0032124042, -0.0043227156, -0.0452266857, -0.0719354972, -0.0108785359, -0.0032768964, 0.0254227985, 0.0086221052, 0.0180612877, -0.0616438501, 0.0708993822, 0.034536805, -0.0550595671, 0.0080754831, -0.0125714317, 0.0335219689, -0.0289273635, 0.0328145809, -0.0746830478, -0.0041426793, -0.0298703313, 0.0763582066, 0.0509842485, -0.0429215543, 0.0390985608, 0.0526966304, 0.0022039514, -0.0334903635, 0.0280595142, -0.0593426488, 0.006563663, -0.0325133614, -0.0201949794, -0.0365386717, 0.0244285762, 0.0375397317, -0.0371360555, 0.0286468063, 0.0142793227, -0.0533233285, 0.0682501942, -0.0395226739, 0.0233185776, -0.0012343611, -0.0045767208, 0.0313182622, -0.0074906331, -0.0502466075, 0.0035488019, -0.0370552205, 0.0068047787, -0.0297796261, 0.0476974733, -0.0171958506, -0.0072817784, 0.0006930768, 0.0308688544, -0.0228491053, -0.0229473747, -0.0119727897, -0.0180398747, 0.0527054071, 0.0180582125, 0.0660390183, -0.0318792611, 0.0011655734, -0.0246354379, 0.0293113645, 0.0154078184, -0.0346409045, 0.0334617831, 0.008122487, -0.0546518378, 0.0257986169, 0.0644948035, 0.0331438668, 0.0231019538, -0.0620209426, -0.0494142361, -0.061203409, -0.0608693771, 0.0246813409, 0.011580742, -0.0583790466, -0.0431765243, -0.073276937, -0.0347448736, -0.0125132604, 0.0090814689, -0.0293696616, 0.0030621183, 0.0327606387, 0.0780699998, 0.0188912265, 0.0114567271, -0.0504986756, 0.0104781147, -0.0820022002, -0.0128928795, -0.007681279, -5.685338304e-33, -0.019826483, -0.0286768675, 0.0437615067, -0.0539378338, -0.0277099051, 0.0115550747, 0.016296545, -0.0000277096, 0.00277626, -0.0475883894, 0.0045373323, -0.0229949653, 0.0302782934, 0.0210454892, 0.0124176387, 0.0127096334, 0.0248661004, 0.0033018305, -0.0032944416, 0.0120916367, 0.0593364649, 0.0461428016, 0.0553844348, -0.0222658738, 0.021379821, -0.022376243, -0.0007162602, 0.0008015963, 0.0351766422, 0.0553128682, -0.0220914017, 0.053893812, 0.0048964494, -0.0217470042, -0.0041680569, 0.0226667505, -0.0298627261, 0.0125484485, 0.0238693785, -0.0141943386, 0.0296195969, 0.0145481154, 0.0582104512, -0.0449952856, -0.0064031328, 0.0527147464, 0.0350176543, -0.048562061, -0.0337086022, -0.0367869176, -0.050024163, 0.0280233398, 0.0117707541, 0.0348758474, 0.0249278042, 0.0460941941, -0.0059748725, 0.0412572958, -0.0261468366, 0.0316980816, -0.0201333761, 0.0083533628, 0.0948468745, 0.0228678118, 0.0109293647, 0.0459313728, -0.0043026609, -0.0158961155, -0.0014857277, -0.0237531848, 0.015235018, 0.0767121837, -0.0079602068, 0.06099426, -0.0179478936, -0.0246743243, -0.0228349846, 0.0287349597, 0.0014835816, 0.0140744997, 0.054356318, 0.0164819025, -0.0378944576, -0.006031713, -0.0127632823, 0.0392644703, -0.043088682, -0.0482200943, 0.0614508055, 0.0365710929, -0.0558180697, 0.0282453112, 0.0445705242, -0.0190010834, -0.0375667065, 0.0185465384, -0.0149693806, 0.0016837411, -0.0422669649, -0.0208827965, -0.0691162273, -0.0335225165, 0.0117867487, -0.0308441166, -0.0230134819, -0.0031701685, -0.0088602686, -0.0071150591, -0.0587056242, 0.0330744199, -0.02713296, 0.0188496169, -0.0528506562, -0.0557023995, 0.0337610394, -0.0005921547, 0.0008033471, 0.0441173315, 0.0487971418, 0.0041204263, -0.0163582452, -0.0359492935, 0.0546323806, 0.0125272973, -0.016062798, 0.0497429147, 0.010030929, 0.0399959348, 0.0449927896, 0.0056523248, -0.0083555998, 0.0077572907, 2.378e-7, 0.0612872243, 0.0446329303, 0.025948856, 0.0143544003, -0.0196539145, -0.0126650389, 0.0207431652, 0.0148735484, -0.0029690636, 0.0112601956, 0.0046751713, -0.0218138713, 0.0436115339, 0.0153121734, -0.0669833943, -0.013387423, -0.0582997352, -0.0123475371, -0.0815892592, -0.0026501804, 0.080830507, 0.0442598574, 0.0133870663, -0.0183235481, -0.049924884, -0.0728983879, 0.0540361442, -0.0373011939, -0.0349637829, 0.0423488766, 0.0320909061, 0.0577546917, -0.0135751311, -0.021084439, -0.0041170996, 0.022891419, 0.0219457671, 0.0120923789, 0.0132366726, 0.0065296339, 0.0028273836, -0.0784240216, -0.0147975907, -0.0444088094, 0.0468338877, -0.0447470434, -0.0234877821, -0.0046594278, -0.038623143, -0.0222452432, -0.0269758366, -0.0406836048, -0.0069915047, 0.003746307, -0.0046737618, -0.0158216543, -0.0223932266, -0.068091765, 0.0199158974, 0.0000179153, -0.04776958, -0.0466815382, -0.019971028, 0.0088655073, 0.0157087408, -0.0048325751, 0.0178488493, 2.285674378e-34, 0.0301615689, 0.0046229665, -0.0018904739, 0.0320660546, 0.0525039881, -0.0042916373, 0.0095016705, 0.0402382165, -0.043241255, -0.0943225026, -0.0092433468 ]
http://arxiv.org/abs/2406.11423v1
http://arxiv.org/pdf/2406.11423v1
Dredge Word, Social Media, and Webgraph Networks for Unreliable Website Classification and Identification
2024-06-17T11:22:04
2024-06-17T11:22:04
Evan M. Williams, Peter Carragher, Kathleen M. Carley
cs.SI
cs.SI, cs.AI, cs.CL, cs.CY, cs.LG
In an attempt to mimic the complex paths through which unreliable content spreads between search engines and social media, we explore the impact of incorporating both webgraph and large-scale social media contexts into website credibility classification and discovery systems. We further explore the usage of what we define as \textit{dredge words} on social media -- terms or phrases for which unreliable domains rank highly. Through comprehensive graph neural network ablations, we demonstrate that curriculum-based heterogeneous graph models that leverage context from both webgraphs and social media data outperform homogeneous and single-mode approaches. We further demonstrate that the incorporation of dredge words into our model strongly associates unreliable websites with social media and online commerce platforms. Finally, we show our heterogeneous model greatly outperforms competing systems in the top-k identification of unlabeled unreliable websites. We demonstrate the strong unreliability signals present in the diverse paths that users follow to uncover unreliable content, and we release a novel dataset of dredge words.
[ 0.0620948374, 0.0278388914, -0.0130126588, 0.0147612644, -0.0188352149, 0.0041835615, 0.0247465055, 0.0034444181, 0.0247192103, -0.048787348, -0.0012423629, -0.0126980739, 0.0118716462, 0.0736689344, 0.0250029471, 0.0485053323, 0.0240876898, 0.0213881005, 0.0353908166, -0.033473324, -0.0048090331, 0.0198087674, -0.0097056152, 0.0321732908, -0.0059890212, -0.0143257147, 0.0348095968, 0.0330990143, -0.008614392, -0.0540536419, 0.0396955535, 0.0324109755, -0.0334799737, 0.0794101059, 0.0000019096, -0.0263899267, 0.0050462689, -0.0405470282, -0.0316391028, -0.0130936271, 0.019839434, 0.0306153428, 0.0132161491, 0.0168117844, -0.0100887679, -0.013205478, 0.0492420122, 0.0245727301, 0.0476490781, 0.0575661436, -0.0040670554, 0.0330329463, 0.0026815173, -0.0020285242, -0.0214045048, -0.0163551457, 0.0558546558, 0.0179934483, -0.0307388119, -0.0419034287, -0.0176779795, -0.0081597352, -0.0076231509, -0.0240121298, 0.0437562875, -0.0206987467, -0.0116716279, -0.0117272995, 0.0279415045, 0.0818468481, -0.0013401471, -0.027175026, 0.0226532128, -0.0060403175, 0.013026502, 0.0591824651, -0.0409523547, 0.0575733855, -0.0190482493, 0.00231863, -0.0428521372, -0.0049956422, 0.0743484795, 0.0484064296, -0.0080938442, 0.0563859418, -0.0202405155, -0.0005831972, 0.0487385541, 0.0286068842, -0.0052883457, -0.0211768709, 0.0178351104, -0.020807324, -0.0566527955, 0.0109257391, -0.0237795301, 0.0161720812, 0.0248966757, -0.0448045172, -0.0134703526, -0.0134172784, -0.022252474, 0.038299486, 0.0033544512, -0.0119526535, 0.0027790109, 0.0364682972, 0.0400391929, 0.0321668945, -0.0312322155, 0.0223915875, 0.0189166386, 0.0170032382, 0.0547309518, -0.0223309938, -0.0668601617, 0.0311339479, -0.0960839689, 0.0318433419, 0.0120857563, 0.0550687052, -0.0074665756, -0.0015743581, -0.0384588204, -0.0036201582, 0.0254424848, 0.0358456969, 0.0005841486, -0.0110872611, 0.0085630445, 0.0239305496, 0.0180243831, -0.013650924, -0.0005068128, 0.0313285775, 0.0537359864, -0.0435117222, -0.0947990417, -0.0671876147, -0.0572888032, -0.0012217732, 0.0085072899, -0.0688935518, -0.0266204514, 0.0144356117, -0.0039997054, -0.050450854, 0.0044759065, -0.0088037858, -0.0946527719, -0.0003558766, -0.0473779477, 0.0083483588, 0.0080785211, 0.0073269471, -0.0277809966, 0.0082887439, -0.0070958813, 0.0883959085, 0.0669592395, 0.0216919594, -0.0007524377, 0.0150242755, 0.0452271737, 0.0065197847, 0.0008992994, -0.0438639075, -0.0081017548, -0.027462706, -0.0045027933, 0.051224485, -0.0199744422, -0.0155183431, 0.083421804, -0.0315246396, -0.0290291961, 0.0027724321, 0.0424821116, 0.004674301, -0.0204807464, 0.0058070272, -0.0884019807, -0.0251878332, -0.0394982472, -0.0294536334, 0.048913192, 0.050837718, -0.0134387128, -0.0408528186, -0.0256168209, -0.0256869178, 0.0294266008, -0.0224024449, 0.0613052957, -0.0144725358, -0.0334927328, -0.0134342769, 0.0320414975, 0.0244121514, -0.0095062135, -0.0148183564, 0.0110493461, 0.0670297369, 0.0204219781, 0.0012773291, 0.0217676591, -0.0310628805, 0.0071230452, -0.0016023146, 0.0107829133, -0.0227891561, -0.0579823442, 0.0025536655, -0.0584674738, -0.0112577789, 0.0329215713, 0.0022566079, 0.0325020365, 0.0249036457, 0.0012385332, -0.0919288993, -0.0564756133, -0.0213145446, -0.0020864659, 0.0347607322, -0.0303875133, 0.0228907112, 0.0045637134, 0.0370474011, 0.0071883807, -0.0265824907, 0.0207649991, 0.0473170504, -0.0782652572, -0.0435016304, 0.0293994471, 0.048575595, 0.0685247555, -0.066598624, -0.0136134224, 0.040950153, -0.0072619445, -0.0184129514, 0.0605334342, -0.062429823, 0.0264392383, 0.0203287918, 0.0088784266, -0.0065092864, 0.0212696884, -0.0096164653, 0.0795481354, -0.0253424514, 0.0475311577, -0.0022439372, -0.0333250612, -0.0163931306, -0.0098787956, -0.002361529, -0.0126452884, -0.069728151, 0.0321525075, 0.0398161784, -0.0667594597, -0.0550826304, 0.0168956947, -0.0312273595, -0.0631209388, -0.0077023874, -0.0306653269, -0.0170534756, -0.0338467658, 0.0012591265, 0.0172192212, 0.0081858318, 0.0342646129, 0.0371405855, 0.0177370925, 0.0079707718, -0.0208694134, -0.0173119884, 0.0034835553, -0.0452153496, -0.0224172007, 0.0587059632, 0.0320122726, -0.0811001807, -0.0515898988, 0.0033377537, -0.0574367419, -0.0483466089, -0.0295993835, 0.0015834189, -0.0182256103, 0.0342101902, -0.0557688102, -0.00659806, 0.0083521446, 0.0274263527, 0.047854133, 0.009814824, -0.0287024807, -0.0600447804, -0.0428492017, -0.0111278463, 0.0097723268, -0.0032794334, 0.0094030676, -0.0152855841, 0.0605350398, -0.000364323, 0.0052800812, 0.0438732989, -0.0150411269, 0.0340500511, 0.0087938067, -0.0543386675, 0.0059046024, 0.0282042269, -0.0131635126, -0.0212367047, 0.0563597046, 0.0261407308, 0.0887220949, 0.0572989918, -0.0533579029, 0.0445154756, -0.0631673038, 0.0234648809, 0.0314967521, 0.0589738972, -0.0130288955, 0.0031378267, 0.0003380862, 0.0768574774, -0.0495323986, -0.013503287, 0.026757706, 0.0236037858, 0.0292169638, -0.027588414, -0.0447828658, -0.0348284543, -0.0154106049, -0.0190384854, 0.020867208, -0.0326732881, -0.0358926244, -0.0466863886, -0.030480681, -0.0367660448, -0.0427607447, -0.0361151099, 0.000817696, 0.061599806, 0.0057492889, -0.0151270917, 0.0761907175, -0.0049744477, -0.0519685298, 0.02167904, 0.0135551738, -0.0327368006, -0.0198398065, -0.0250710603, 0.0000960799, -0.0103773577, 0.0162731633, -0.0043051718, -0.0162053891, -0.0079319105, 0.0155277811, 0.0574203506, 0.0128268059, -0.0242374279, -0.0044287527, 0.0324056186, -0.0144550931, 0.0301268995, -0.0306013338, -0.0792216137, 0.0044643767, -0.0131616555, 0.0482911952, 0.0222715605, -0.0404489562, 0.0299752988, -0.0717650577, 0.0358259641, 0.0222325251, 0.0405403078, 0.004544192, -0.0443175063, -0.0112808803, -0.0231058672, 0.0266524609, -0.0126188407, -0.0072754277, -0.0126850735, 0.0146449218, -0.0070224707, -0.0515603088, 0.0226042829, -0.0241281129, 0.0581456572, -0.0235125516, -0.0249323361, -0.0459569134, -0.0245712139, 0.0485904254, 0.0148063414, -0.0363095514, -0.0056368136, 0.099308677, -0.0205959715, 0.0122159161, -0.0017071038, 0.0375498459, -0.0503952615, 0.0019561935, -0.0603880025, 0.0502439104, 0.0087385168, -0.047629226, -0.0108112171, -0.0385213047, 0.0169678126, 0.0294811726, 0.0207575299, -0.0057087136, -0.04340446, -0.0434004441, -0.0044999756, -0.0004234183, -0.0178804044, 0.0440993868, -0.0213631857, -0.0365153663, -0.0576529875, 0.0191534739, -0.0122553799, -0.01676636, -0.0003303788, -0.041764807, 0.0526584871, -0.0138065713, -0.0897917449, 0.0175805893, -0.020483302, 0.0353561901, -0.0584957935, 0.029721247, 0.0243097935, -0.035276264, -0.0056054629, 0.0232895687, -0.03263551, -0.078477107, 0.0265424829, -0.0113518815, 0.0197415706, 0.0131866131, -0.0502540469, -0.0203554183, 0.0386058688, 0.0429722071, -0.0324721262, -0.0196319614, 0.0474647582, 0.0051723458, -0.0125206662, 0.0178216957, -0.0521232001, 0.0163676701, 0.0113298902, -0.0051890109, -0.0182980206, 0.011206137, 0.0336860307, 0.0296224896, 0.0930224136, -0.0145184603, -0.0180474296, -0.0426683947, -0.0488050692, 0.0397202335, -0.0325510614, 0.0298974141, 0.0466704071, 0.030934697, -0.0089717889, -0.0089220386, -0.0444930382, -0.0154331904, -0.0039392719, -0.0660467669, -0.073592253, 0.0074501247, 0.0004895361, 0.0091135427, -0.0021861901, 0.0103802653, 0.0096656578, 0.0322453119, 0.0282780901, -0.0151783591, 0.0025109649, 0.0152137494, -0.0200821981, 0.0098409159, -0.0162480436, -0.0193829536, -0.0118119679, -0.0471976362, -0.0219584648, 0.0716866031, -0.0105096688, -0.0150239849, -0.0041606892, -0.0021462301, -0.0096353134, -0.0050360961, 0.0288165659, -0.0217086822, 0.0144487536, 0.0086848559, -0.0408721417, 0.0709908232, 0.0171793327, 0.0357873142, 0.0069028656, -0.0043921866, -0.0690630227, -0.0073574153, -0.0343896337, -0.0177093185, 0.1083895415, -0.0185724683, -0.0369163491, -0.0443975329, -0.0711068586, 0.0329760052, 0.026071623, 0.0390849337, 0.0372224748, -0.0450333096, 0.0775971562, 0.0265459977, 0.0685983598, -0.0274527073, 0.0011884735, 0.0055474802, -0.0175047386, -0.007048449, -6.615879836e-33, 0.0763491094, -0.0941468105, -0.0442058034, -0.0051706028, -0.0055455812, 0.030007368, -0.0095902532, 0.0348294377, -0.0300510861, 0.0293098632, 0.0241198372, 0.0346606709, -0.0006001576, 0.0142360236, -0.0053199721, -0.0252141915, 0.000863751, 0.0339946859, -0.0218811166, 0.0457869433, 0.0906447545, -0.0135492748, 0.0147834979, -0.1029866561, 0.0537607484, -0.0364155434, -0.0046378667, 0.0115311788, 0.0339693613, 0.0517570004, -0.0207311176, 0.0803419948, 0.013972356, -0.0143436287, 0.0541519262, -0.0314426236, -0.071368508, -0.0008987202, -0.0157327745, -0.0023355668, 0.0142250303, 0.0198132619, 0.0609324649, -0.0122174229, -0.0138399545, -0.000011366, 0.0553200133, 0.0126232468, -0.0468573086, -0.0396879278, -0.0317241251, 0.0146995718, -0.022526592, 0.0167125966, -0.0205056053, 0.0261017587, 0.02845948, 0.0306912158, -0.0895631462, 0.006529666, -0.0850995928, -0.0420739092, 0.0203196239, -0.0404375084, -0.0771176964, 0.0803442821, -0.0326929949, 0.0171578526, 0.0344424993, -0.0238900688, -0.0008854672, 0.0585434251, 0.0340128317, 0.0728792176, 0.0184503496, -0.0706857219, -0.0525062159, 0.0073036291, 0.0578105934, -0.020528812, 0.0193765704, -0.0333220288, -0.0216741897, -0.0206519701, 0.0009184862, -0.0324289314, -0.0656127334, 0.0109462989, -0.0204062946, 0.0110230325, -0.044878602, 0.0411702171, -0.0173139125, -0.0837450027, -0.054421369, 0.0743758827, -0.0021610695, 0.0321652777, 0.0140368892, 0.0046407892, 0.0034969533, 0.0013328997, -0.0350234881, 0.0141078476, 0.014081507, -0.0102014327, 0.0324229673, -0.0020936504, -0.0098960837, 0.029193297, -0.0150687145, -0.0018559627, -0.0225029681, -0.0692360699, 0.0377602465, 0.0216892455, -0.0166978315, 0.0175391827, 0.0841840655, 0.0701742992, 0.0022161293, 0.019814996, -0.0456062704, 0.0129738525, -0.0395780578, -0.0390036851, -0.0010746928, 0.0494526289, 0.003318487, -0.0741141587, 0.0165844541, -0.0141519895, 2.777e-7, 0.0162788648, 0.0702900589, -0.0160446502, -0.0168437008, 0.0381254405, 0.0061579254, 0.0256825928, 0.0028988549, -0.0127621097, -0.0746064186, -0.0025471351, -0.0083173709, -0.0038272489, 0.0126120457, -0.0050067566, 0.0241278782, -0.0318445377, 0.0047545633, -0.0394853726, 0.0258074477, 0.0024495781, 0.0406079032, 0.0714073479, -0.0405392013, -0.0285788551, -0.0276015792, 0.0227072518, 0.0263563804, 0.0092270868, -0.0071818912, 0.0428817533, 0.0032232527, -0.0093479846, -0.0083425222, -0.0208321474, 0.0227524582, 0.0019450315, -0.018714685, 0.0378935821, 0.01525182, -0.0288413931, -0.0495636128, 0.0693978295, -0.0390302539, 0.0508614816, -0.0135560483, -0.0185476765, -0.0238445643, -0.036344815, 0.0001817569, 0.0629137754, 0.0085698217, -0.0147444978, 0.0257692728, -0.0113423523, 0.0386881493, 0.0101501131, -0.0818705931, 0.0486892127, 0.0033146555, -0.0093625169, -0.0336717293, 0.0519587435, -0.0174692087, 0.0703444406, -0.0435342453, 0.032907255, 2.284002513e-34, 0.0626871362, -0.0283340886, 0.003603976, -0.0474926084, 0.0202871561, 0.001454892, -0.0308239013, -0.0025015147, 0.0123773534, -0.0102702426, 0.0365842208 ]
http://arxiv.org/abs/2406.11418v1
http://arxiv.org/pdf/2406.11418v1
BAMBINO-LM: (Bilingual-)Human-Inspired Continual Pretraining of BabyLM
2024-06-17T11:08:08
2024-06-17T11:08:08
Zhewen Shen, Aditya Joshi, Ruey-Cheng Chen
cs.CL
cs.CL
Children from bilingual backgrounds benefit from interactions with parents and teachers to re-acquire their heritage language. In this paper, we investigate how this insight from behavioral study can be incorporated into the learning of small-scale language models. We introduce BAMBINO-LM, a continual pretraining strategy for BabyLM that uses a novel combination of alternation and PPO-based perplexity reward induced from a parent Italian model. Upon evaluation on zero-shot classification tasks for English and Italian, BAMBINO-LM improves the Italian language capability of a BabyLM baseline. Our ablation analysis demonstrates that employing both the alternation strategy and PPO-based modeling is key to this effectiveness gain. We also show that, as a side effect, the proposed method leads to similar degradation in L1 effectiveness as human children would have had in an equivalent learning scenario.
[ -0.0186419897, 0.0654698163, -0.0466774777, 0.0161051061, -0.038001541, 0.0407161266, 0.0305239689, -0.0056865825, -0.0347905718, 0.0211830717, -0.0421338603, -0.0222612843, -0.0024817628, -0.0224052351, -0.019041108, -0.0675256029, 0.0531607196, -0.0103812004, -0.0162858553, -0.0285793319, -0.0132246036, -0.0148928883, -0.0283929911, 0.0271437597, 0.0091152154, 0.0160827655, -0.0093044769, -0.0210786387, -0.0027653645, -0.0371565036, -0.0184420627, 0.0805736408, 0.0431644246, 0.0090550957, 0.0000020087, -0.0604981668, 0.017896045, -0.0344896875, 0.0040285657, -0.0274893381, 0.0226188432, 0.0344726741, -0.0155892223, -0.0150562273, -0.0167480074, 0.0274202786, 0.0592680424, 0.0308206212, -0.0200785864, 0.0177764762, 0.0020298557, -0.0121887261, 0.0346788354, 0.0015321937, 0.0815711692, 0.0089727025, -0.018396765, -0.0148706883, 0.0100327088, -0.0383500457, -0.0347965211, 0.0386591144, 0.0707305595, 0.0059245671, -0.0399417803, 0.0325222239, 0.0566595085, -0.0500006676, -0.0067484602, -0.0083560236, -0.033311218, -0.0259779319, -0.0072047799, 0.0286064819, 0.0193733014, -0.0162453745, -0.0469332896, 0.0097792419, 0.0128647219, 0.0487185121, 0.041039966, -0.0272311792, 0.0467083342, -0.0147929378, 0.0077502057, 0.0622896329, 0.0136165963, -0.0513822995, 0.0222538672, 0.0411605574, 0.0408378392, -0.0299016293, -0.010247184, -0.0056000641, 0.0012842448, 0.0401051827, -0.0198318921, 0.0178077221, 0.0026160271, -0.0303798076, 0.0401791893, 0.0213534292, -0.068454951, 0.0088723982, 0.0137824211, 0.0308348704, 0.0220105443, 0.0002294277, -0.0176894926, 0.0386684984, -0.067269817, -0.0366011634, -0.0268626008, 0.0229639076, -0.0162901878, 0.0279264394, -0.0317875482, 0.0181025378, -0.0191448797, -0.0271295179, -0.0108152414, -0.0321219824, -0.0149228079, -0.0076518501, -0.0328489877, 0.043196056, -0.0041434146, -0.0099006435, -0.0048580682, -0.0503723882, -0.0086156856, -0.0046720533, -0.0326689854, -0.012585761, 0.0078029153, 0.0190824121, -0.0440661535, -0.0560367331, -0.0284853857, 0.0324504264, 0.0038664241, -0.0777276754, 0.0267955009, -0.0548879951, 0.0092197238, -0.0355574638, 0.0022142064, -0.064921163, -0.0130154993, -0.0199391842, 0.0216541402, 0.0167245287, 0.0132321091, -0.0061501549, 0.003877566, 0.0065752431, 0.0257602874, 0.1078506783, 0.0255458672, -0.0850766599, 0.0055887783, -0.0262674578, -0.0370840877, 0.0388552174, 0.0631312728, 0.034595836, -0.0155289657, -0.0361139849, 0.0353725292, 0.0072592222, 0.0361905731, -0.0338305719, -0.0489126891, 0.0425300635, 0.0768776238, 0.0444102921, -0.0235089548, 0.0364549942, 0.0275703184, 0.0037122376, 0.0239415541, 0.0317332186, -0.0366112627, 0.0225235373, -0.0464346558, -0.0135208787, -0.016379578, 0.0487575829, -0.058825992, -0.0393812619, 0.017738374, -0.0212997012, 0.0487487428, 0.0298927333, 0.0619717166, 0.0222331136, -0.0220723208, 0.0236172378, 0.0679576546, -0.0259988904, 0.0517926924, -0.0761778653, -0.0195364077, 0.0447060727, -0.0281395111, -0.0158256907, -0.0016051352, 0.0075122616, -0.0055998932, 0.0485702679, -0.0004726702, 0.0220529083, 0.0426978543, -0.0090899654, -0.0003025015, 0.0320116878, 0.010395702, 0.0117532536, 0.0062117931, -0.0031667168, -0.0333883949, 0.023166215, -0.0018679167, 0.0303014256, -0.0832325816, -0.0038981931, 0.0175380465, -0.0048907041, 0.0009013026, 0.0128347985, 0.0020795476, -0.0268959254, 0.0379466377, -0.005282972, 0.0352030955, 0.0657195896, -0.051166255, -0.0535155162, 0.0212985184, 0.0255037509, -0.0135502052, -0.0238737594, 0.0050628963, 0.0107842339, 0.0626672432, -0.0090734204, 0.0689449236, -0.0165152606, 0.0400597863, -0.0787313506, -0.0198981967, -0.0522890389, 0.0288389139, -0.0189519506, 0.0019814358, -0.0151839368, -0.0307595972, 0.0265270006, -0.0753479525, -0.0298495572, 0.0120876152, -0.015281029, 0.0183937997, -0.0033691584, 0.0544823594, -0.0670004115, -0.0211389903, -0.0651980191, -0.0025346046, 0.0005354445, 0.0169561431, -0.0105671063, -0.0275199637, -0.0014257069, -0.0221755244, -0.0280845556, 0.0166646019, -0.0213988889, 0.02308161, -0.0033166676, -0.0175312255, -0.0537458062, 0.0028223437, -0.0358022712, 0.0248760395, 0.002447868, -0.0191683806, 0.0405520238, -0.0352222957, -0.0127498712, -0.0276501365, 0.0089852512, -0.0236758776, -0.0100865867, 0.0598946325, 0.0390607789, 0.0559650026, 0.096212022, -0.0217561815, 0.0061532692, 0.0414978005, -0.0167660005, -0.0454151221, -0.0133737326, -0.017442055, -0.0508942902, -0.0704611912, -0.0082016988, -0.0227800477, 0.0765108019, -0.0032020633, 0.0097260578, -0.0683565661, 0.0001286529, -0.0180189926, -0.0690591857, -0.0334692374, -0.0192686617, -0.0262924209, 0.0311368033, -0.0231831633, -0.0590450615, 0.0538480803, 0.0176294968, -0.0132349283, -0.0679494813, 0.016955832, 0.0335594155, 0.0251931902, -0.0040067756, 0.0196577497, -0.0511920527, -0.0014802899, -0.0577328242, -0.0143603906, -0.0094254287, -0.0154049015, 0.027929958, -0.0437158942, -0.021311041, 0.0345234759, -0.0498053208, -0.0422063731, 0.054212749, -0.0127648897, -0.0004477033, -0.0327453054, -0.000577887, -0.0313087553, -0.0381586701, 0.065618962, 0.0065842303, -0.0155361118, 0.023514038, -0.0039780783, -0.081620954, 0.0018710864, -0.0091119995, 0.0219077244, -0.048841808, 0.0111224344, 0.0082296198, 0.0193256009, -0.0313157961, 0.0031853155, 0.0605270825, 0.0160832778, 0.0314466543, -0.0585456491, 0.0404814035, 0.0179678649, -0.0354145281, -0.0268190671, 0.0460068323, 0.0197246224, -0.0521801151, -0.0093495483, -0.0427924357, 0.0636118799, 0.0003367328, 0.0286229588, -0.0573610961, 0.0268750321, 0.0087974491, 0.0138069522, 0.014717021, 0.0209599938, -0.0062164972, -0.0496314764, 0.0049520209, 0.0279895719, -0.0600084774, 0.0099790199, -0.0372558348, -0.0271606054, 0.0360260308, 0.0344975814, 0.0267228577, 0.0059460867, -0.023766214, 0.0160260368, 0.0333059914, -0.071474351, 0.0152277388, -0.0108467154, 0.0139157986, 0.0519643463, -0.0160891339, -0.0199025162, -0.0567060374, 0.0469108745, 0.0244457927, -0.0326591842, -0.0276367273, 0.0025350368, 0.0334444717, 0.010515986, -0.0204440299, 0.0252469778, 0.0026323767, -0.0456857048, 0.004092806, 0.0669488385, 0.0049464484, 0.0096740481, 0.0450444594, 0.0050383597, 0.0145734828, 0.0354300104, 0.0433499329, -0.0989016593, 0.0244580265, 0.0051584761, -0.0258894507, -0.0500530563, -0.0330738463, 0.0315796807, -0.046655301, -0.0345457979, -0.0482950062, 0.0050272383, -0.0033871501, 0.0637908056, 0.0199217331, 0.0028546972, -0.0122292507, -0.0278632492, 0.0159184709, 0.0555665791, 0.0048350217, -0.0082142213, -0.0859842896, -0.0633638874, -0.0066646272, -0.0724050477, 0.0008860622, -0.0535604097, -0.0558183193, -0.0447721332, 0.0434044152, 0.0551628508, 0.0272079278, 0.0535937101, 0.0389730409, -0.070572719, 0.0147998491, 0.0393600613, 0.0631782338, 0.0199559852, 0.0205760095, -0.0040343618, 0.0378792994, 0.0136332149, -0.002481608, 0.014044472, 0.0182427019, 0.0084150294, -0.0082297325, 0.0356802717, 0.0207633208, -0.0235149376, 0.055200845, -0.0505218394, -0.0016568875, -0.0613493212, 0.0232874844, -0.0271139462, 0.028023148, -0.0091591179, -0.0631127656, 0.0312974304, 0.0203973483, 0.0365766622, -0.0592455156, -0.0247587617, 0.0036497358, 0.0011980926, 0.0053431499, -0.0253222603, 0.0238899607, 0.002370253, 0.0937373266, 0.0103162173, 0.0463153645, -0.0069861589, 0.0604527518, -0.0205243304, 0.0461934283, 0.0205003265, -0.0070551601, -0.0494512916, 0.010815843, 0.0089919604, -0.0097848112, 0.0105087012, -0.0073211235, 0.080498606, -0.001120856, 0.0744055957, -0.0084080715, -0.0015644822, -0.0138429934, -0.0114918472, -0.0382285193, -0.0305779241, 0.0021817619, -0.022324698, 0.0174837876, 0.0009729723, 0.0038959836, -0.034563411, 0.0171269681, -0.0395568497, 0.0866360813, -0.0119760074, 0.0129639944, 0.0659625232, 0.0260511599, -0.0537913479, 0.0064185639, -0.0316875763, -0.0389559567, -0.0559863932, 0.0272164661, -0.0050401366, -0.0095649129, 0.0360827409, 0.0340323523, -0.0581975952, -0.0307922382, -0.0160135906, 0.0110788858, 0.0624108873, -0.0217189323, 0.0007010343, -6.171227058e-33, -0.0242504012, 0.001431735, 0.0505556092, 0.017845571, 0.0108405147, -0.0123303924, -0.0163399782, 0.0507236868, -0.0009709947, -0.0147170313, 0.0113401143, -0.0569051728, 0.0060671442, -0.0034806691, 0.0318793133, 0.0091601377, 0.0013657279, -0.0255774967, 0.0056118849, 0.0037494039, -0.0019093122, -0.0117188133, 0.0601193197, -0.0531988777, 0.0293771308, -0.0021328093, -0.004762792, 0.0266084354, -0.0288619511, 0.0671451017, 0.0090360492, 0.0050382754, 0.0114023015, 0.0364445597, -0.0334428288, -0.0032007569, -0.0624865554, -0.0382904522, 0.0349604636, 0.0158032291, -0.0549442358, -0.0303641148, 0.0297528915, 0.0039061701, -0.0436461009, 0.0107880579, -0.0057777949, -0.0199969932, -0.021789385, 0.0549182929, -0.0715302154, -0.0161837675, 0.0045207338, -0.003980604, 0.0545172915, 0.023982672, -0.081495598, -0.017634809, -0.0319881812, 0.0214243289, 0.0586130656, 0.0249815769, 0.0927404463, 0.0509692915, 0.0798205733, 0.0045324904, 0.1045070589, 0.0446802936, 0.0459535792, 0.0145299146, 0.1315296888, -0.0427899398, 0.0280862227, 0.0138086835, 0.0362470672, 0.0056724674, -0.0577169433, -0.0302357394, 0.0564328916, 0.0090355296, 0.0235780217, 0.008235123, 0.0171455704, -0.0217792895, -0.0696594566, -0.0448136292, 0.0065856958, -0.079117842, 0.0200940035, 0.0091445977, 0.0175148137, -0.0461161248, 0.0490987785, -0.0007890573, -0.0142293703, -0.0354326814, -0.016957989, 0.0135780182, 0.0221025441, 0.0195541028, -0.0798311979, -0.0571612045, -0.0076257293, -0.0112512028, 0.0150306709, 0.0507626459, 0.0596305355, 0.0232151635, -0.026391441, 0.042418085, -0.0372182466, -0.0007523643, 0.1080754772, 0.0196811445, -0.0080168108, 0.0119465468, -0.00350643, 0.0375583172, 0.0914163291, -0.0729780644, -0.0677609071, 0.0419254266, -0.0271809734, 0.0592074469, -0.0051513836, 0.0007096569, -0.0320125595, 0.0312987566, 0.0166022014, -0.0693354011, -0.0230960976, 0.0025589974, 2.761e-7, 0.0017908349, 0.0599775426, -0.0181836244, -0.0088711046, 0.0551020317, -0.0044358652, -0.0611556321, -0.0139458412, 0.0340805128, 0.0330929607, -0.0033947749, 0.036755342, 0.0427446701, -0.0085300514, -0.0502428114, -0.0184080638, -0.0186027475, 0.0358950645, -0.0455834679, 0.0293264445, 0.0021113537, 0.023825014, 0.0321101695, -0.0275222864, -0.0047887145, 0.0250337683, 0.0449701287, -0.0278764684, -0.0145396991, -0.0181423295, -0.0319625437, 0.0144028636, 0.0240296181, -0.0093099643, -0.0221117325, 0.044198595, -0.0617925934, 0.0248823781, -0.0454636216, -0.0393232144, 0.0294674709, 0.0139968274, -0.0626574457, -0.0830961242, 0.0246977396, -0.0162823349, 0.0106157018, 0.0310361981, -0.0215938687, -0.0441892743, 0.0460323691, -0.0393778235, -0.0544155836, 0.0270488653, 0.0025493049, 0.0206072032, -0.0019447876, 0.0200855546, -0.0074452935, 0.0367289968, -0.0537156612, -0.0522536524, -0.0140963132, 0.0304019954, -0.0606343821, 0.0436577052, 0.0231228434, 2.061294777e-34, -0.0101386141, -0.0288178585, 0.0555891916, 0.0178857278, 0.0113211721, -0.0203281045, -0.0540561639, 0.0231724661, 0.021373421, -0.0180662908, 0.0148153156 ]
http://arxiv.org/abs/2406.15486v2
http://arxiv.org/pdf/2406.15486v2
SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attention
2024-06-17T11:05:15
2024-06-28T08:55:17
Qianchao Zhu, Jiangfei Duan, Chang Chen, Siran Liu, Xiuhong Li, Guanyu Feng, Xin Lv, Huanqi Cao, Xiao Chuanfu, Xingcheng Zhang, Dahua Lin, Chao Yang
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) now support extremely long context windows, but the quadratic complexity of vanilla attention results in significantly long Time-to-First-Token (TTFT) latency. Existing approaches to address this complexity require additional pretraining or finetuning, and often sacrifice model accuracy. In this paper, we first provide both theoretical and empirical foundations for near-lossless sparse attention. We find dynamically capturing head-specific sparse patterns at runtime with low overhead is crucial. To address this, we propose SampleAttention, an adaptive structured and near-lossless sparse attention. Leveraging observed significant sparse patterns, SampleAttention attends to a fixed percentage of adjacent tokens to capture local window patterns, and employs a two-stage query-guided key-value filtering approach, which adaptively select a minimum set of key-values with low overhead, to capture column stripe patterns. Comprehensive evaluations show that SampleAttention can seamlessly replace vanilla attention in off-the-shelf LLMs with nearly no accuracy loss, and reduces TTFT by up to $2.42\times$ compared with FlashAttention.
[ 0.0066213869, 0.0724202171, 0.008979802, 0.0628724843, -0.0188529529, 0.0014174286, -0.0069924328, 0.010560235, -0.0345590413, -0.0492083989, -0.0294742752, -0.0535407923, -0.0030897276, 0.0359380171, 0.045669172, -0.0127592972, 0.0387241989, -0.0496204421, -0.00690905, 0.0197030753, 0.0060496964, 0.0139045883, -0.0086629167, 0.021168936, 0.0135206757, -0.0161964893, -0.0370373242, 0.0037525501, 0.0072198221, -0.0296450928, -0.0097515751, 0.0412908085, 0.0003660613, 0.0307138134, 0.0000021066, -0.0272417981, 0.0274457913, -0.003569047, -0.0222201645, 0.0494663492, 0.0331176519, 0.0287743825, -0.0002433302, -0.0098679801, 0.0080969715, -0.0139368335, 0.0582450107, 0.0189724695, 0.009845254, 0.0427990928, -0.005876991, 0.0184254535, 0.0050470452, -0.0623304173, 0.034091711, -0.0666371435, 0.0129155694, -0.0908120126, 0.0069273165, -0.0019669686, -0.0157655273, 0.0478052683, 0.0297198612, 0.002521283, -0.0027294019, 0.0416532047, -0.0640754476, 0.0043863393, -0.0081462935, 0.0640176758, -0.0304159373, -0.0269445814, 0.0002689393, -0.0137891863, 0.0002936335, -0.0583441481, -0.0507654399, 0.0297520775, 0.0054046414, 0.0086272471, 0.0811194703, 0.0096874824, 0.0380496308, 0.0168720391, -0.0600361563, 0.045554094, 0.0261661764, -0.0175048411, -0.0139576746, 0.0028352519, -0.0368555337, -0.0513147153, -0.0172082447, 0.0264650192, -0.0187399816, -0.001315812, -0.0561698452, -0.0322588719, 0.004735101, -0.0120720277, 0.034889169, 0.0845642611, -0.0552752391, 0.0510274805, -0.0472580232, -0.0095051844, -0.0352172256, 0.0169423819, -0.0256832, 0.006467713, 0.0432668515, 0.0222476553, -0.027839968, 0.0262980107, -0.0626227409, -0.0044326135, 0.0072801001, 0.0294408109, 0.0019604207, -0.0301564578, -0.0341702737, 0.0084759807, -0.0384947099, 0.0113797104, 0.0274394639, 0.0341186151, -0.0368572064, 0.0020102169, 0.0131420596, -0.0719376206, -0.0698001161, 0.0452426635, 0.0125816949, -0.0486676395, 0.009382912, 0.072837323, -0.0036147968, -0.0576718077, -0.0621574298, 0.0069502019, -0.0152378585, -0.0410149433, 0.008398057, -0.0683125183, 0.0151884034, 0.0076962844, -0.0107551524, 0.0035262913, 0.0051120631, 0.0365017578, -0.038589552, 0.0298139751, 0.0072169653, -0.0096330838, -0.0531976819, -0.0025834974, 0.0243338421, 0.0877868161, 0.0013123308, 0.028912425, -0.003473684, 0.0007511879, -0.0446773879, 0.0508888438, 0.0635998473, 0.0336315371, -0.0782302395, 0.0205567367, 0.0178906359, 0.0095288483, 0.0970032439, 0.0257386751, -0.034382429, -0.0297981184, 0.0313247703, 0.0884776264, -0.0136172418, 0.0086910343, 0.0464395061, -0.0144495796, -0.0313726664, 0.0065248101, -0.0775203183, 0.0462248102, 0.025004765, 0.0276335292, 0.0771880075, 0.0343333706, -0.0356938392, 0.0004900031, -0.01008844, 0.0306853857, -0.0263371188, 0.0602850281, 0.0330372378, -0.0197544582, -0.0400381573, 0.0789958909, 0.0419986658, -0.033832904, -0.0477097295, -0.058497183, 0.0344001241, 0.0568595715, 0.034198124, -0.0262297336, -0.0399941728, -0.0074204463, 0.021306755, 0.0180912856, 0.0160498042, 0.0146318814, 0.0659010783, -0.0222397652, 0.0051556192, 0.0018944237, 0.0278866794, 0.0121840332, 0.0282306392, 0.0242494997, 0.0202080496, -0.0341550335, -0.0026675267, 0.0283150189, 0.0191368964, -0.03835636, -0.015195773, 0.0038928459, 0.0592829138, -0.001123767, 0.0054561244, 0.0064571784, 0.0458664969, -0.0507884584, 0.0734091252, -0.0215967242, -0.0826980844, -0.049819205, 0.0135993743, 0.0180933625, -0.0185252447, 0.0207824428, -0.0320085064, -0.0325521827, 0.0171756018, -0.015339043, 0.0514521599, -0.0334437378, 0.0151446396, 0.0246088747, 0.0310596768, -0.0332069062, 0.0515206009, -0.0432511978, 0.0207666289, 0.0234822072, -0.0014907172, -0.0218509715, -0.0493475236, -0.0295151882, -0.0047464096, -0.0244745798, -0.0273022484, -0.0207063407, -0.0081750918, -0.0108949412, 0.0068805604, -0.0427268296, 0.0201449171, -0.0431503803, 0.0463574156, 0.0113491612, 0.0635497794, 0.0009972978, -0.0202552453, -0.0203272291, -0.0200830158, -0.0069136089, 0.03640927, -0.0121343574, 0.0134622138, -0.0336736888, -0.0515397824, -0.0358834118, -0.0027986406, 0.0323444419, -0.0407443419, -0.0662228242, -0.0411502756, 0.0366275422, 0.0291987918, 0.0420745388, -0.0298315454, -0.0060903421, -0.0101626264, -0.0631555766, 0.0202008784, 0.0874407068, -0.0131144673, 0.0007539155, 0.0311462246, -0.0220992547, -0.0297423527, 0.0477413386, 0.0176513568, 0.0186457187, -0.0208933838, 0.0014792577, 0.0152810784, 0.116122365, -0.0377984941, -0.0135905016, -0.0332291648, -0.0385240242, 0.032432273, -0.01584775, -0.031031847, 0.0392488837, -0.0272047818, 0.0142775653, -0.0497365743, -0.0411181748, 0.0529791974, -0.0504207984, -0.0194654223, 0.0124334591, 0.0091181323, -0.0246861205, 0.0482195839, 0.0179849807, -0.0145452823, -0.0222220831, -0.0524702705, -0.0371281877, 0.0027026914, -0.0353235491, -0.008955502, 0.1133041233, -0.0158627592, 0.0225464758, -0.0565209277, -0.0028500371, -0.0340524167, -0.0251485463, -0.0511439592, 0.0019084639, 0.0276845396, -0.0082670562, -0.0350078307, 0.0228410438, 0.0090609565, 0.1018164828, -0.0082454467, 0.0213417765, -0.0204828549, 0.0154732065, 0.0505286753, 0.0354141667, 0.0008193938, -0.0341852903, -0.0164339505, 0.0761781931, 0.0617417991, 0.0047783148, -0.0016539171, -0.0052656019, 0.0505140014, -0.0020705492, -0.0046396796, 0.0504831448, 0.0430925526, -0.1115259677, -0.009368646, 0.0750575587, 0.0030456968, -0.0587667115, 0.0015634876, -0.0162959788, 0.0692724884, 0.0352977738, 0.032008972, -0.0838459879, -0.053755492, 0.0248238239, 0.0231499765, 0.0192883089, -0.0305013787, 0.0041292408, -0.0796334818, 0.0214646384, -0.0025133726, -0.0738279894, -0.0132713318, -0.0196477417, 0.0310152117, 0.0157877412, 0.0069685425, 0.0544687174, -0.0215105992, -0.008284634, 0.008130189, 0.0258787889, -0.0156612061, 0.0441316068, -0.0127592403, 0.0398749039, 0.0563003682, -0.0123471245, 0.0077812844, -0.0437932424, 0.025403006, -0.0477635786, -0.0149773126, -0.0205062162, 0.0179263037, -0.0249208435, -0.0222911313, 0.0078367991, 0.0353416614, -0.0207667202, 0.0092268037, -0.0087931985, 0.0779577494, -0.0001864639, 0.0196033902, -0.0067665684, -0.0318189673, -0.0154769104, 0.0612875037, 0.0773326531, -0.0027437636, -0.052136749, -0.0165961329, -0.0285243057, -0.0739237443, -0.018044427, 0.0079675699, 0.0079451799, -0.0255876109, -0.0116059557, -0.011242074, 0.0492353626, 0.0425797254, -0.0392516963, 0.0353403874, -0.0311794151, -0.029848963, -0.0597594827, 0.0532290749, -0.0559445769, 0.0177905541, -0.0629190728, -0.011554555, -0.0269081499, -0.0249819476, 0.0075082746, 0.0413593054, -0.1293724775, -0.0421142876, 0.0085791396, -0.003674486, 0.0077031008, 0.0510279909, -0.026086349, -0.0323855653, 0.0019083157, 0.0030234018, -0.0168091655, 0.0504807942, 0.008114187, -0.006384145, 0.0168355741, 0.0539423935, -0.0456795692, -0.0039731176, 0.0311196446, 0.0408930704, -0.0149546647, -0.006941122, -0.0231735315, -0.0000696392, 0.0388862342, -0.0142231695, 0.0188396517, 0.0040314733, 0.0579402968, 0.0190973803, 0.0075839809, -0.037722148, -0.0078395689, -0.0234447774, -0.0101034772, 0.0088321418, -0.0031245814, -0.0005645451, 0.0134467417, -0.04948432, 0.0511869676, -0.0149983186, -0.0261186808, 0.0355883092, 0.0039733211, -0.0295250434, -0.0359229259, 0.0011620927, 0.0562760308, -0.0457782149, 0.0252979863, 0.0208611898, -0.0122594712, -0.0180804841, 0.0007498562, -0.0567997806, -0.0060452982, -0.0127550168, 0.0083869128, 0.035611853, -0.0640075207, 0.0311363097, 0.0264251325, -0.0068572671, -0.0280618723, 0.0251927376, -0.0035965405, -0.0176296383, 0.0229368154, 0.0428049527, 0.0140062999, 0.0096932584, 0.0682363734, 0.0703167841, 0.028240636, 0.0283775032, -0.0077360077, -0.0152524887, -0.0312614366, 0.001555632, 0.0293495804, -0.0158145167, 0.0151821757, -0.0254234131, -0.0643725693, 0.0197601486, -0.0306083262, -0.0257251542, -0.044771079, 0.0070426012, 0.0365339629, 0.0201123804, -0.0340420939, -0.0067185471, 0.0257571805, 0.041072011, -0.0450559855, -0.0154043799, -7.121586322e-33, -0.0232741423, 0.0023412993, 0.0000199662, -0.0290209278, -0.0639414564, 0.0214204751, -0.0589995719, -0.0308581032, -0.0184009373, -0.0062444787, -0.0194959752, 0.0102693541, 0.0109256022, 0.0371350124, -0.0026675879, -0.0283573419, 0.029594915, 0.0140231196, 0.0022106499, 0.0266768839, 0.0131096495, 0.0281816777, 0.0657657161, 0.0058259699, -0.0051155761, -0.0174300298, 0.0446347073, -0.0018592378, -0.0092205899, 0.0349827707, -0.0182781797, 0.0156775359, 0.0257405471, -0.0439676531, -0.030710429, -0.0097230002, -0.0912529901, -0.0138396872, 0.0343383029, -0.0040527661, -0.0089150295, -0.0411541052, 0.0251488499, 0.0406192169, 0.0510106869, -0.0301458184, -0.021343641, -0.0252281483, -0.0716707706, -0.0101775592, -0.0411500372, 0.0345686786, 0.0018476775, 0.0091805141, 0.0428536981, -0.0053741559, -0.0126688229, 0.0320708454, -0.0247782543, -0.0198770836, 0.0345562436, 0.0888670385, 0.0492594652, 0.0570274964, 0.0073255152, 0.0202473141, 0.0227909535, -0.0141380122, -0.0155735854, 0.0139964111, 0.0533618666, 0.0213854183, -0.0117486445, -0.0055885119, 0.0767880455, 0.0213623047, -0.0697717071, -0.0257029776, 0.0179441441, 0.0663226992, 0.0445167609, 0.0150906742, -0.0339819938, -0.0353171155, -0.0027192193, 0.007397688, -0.063959226, 0.0298832543, 0.0447506644, 0.0307080429, -0.0092214094, 0.0067605665, 0.075682193, -0.0048967525, 0.0185726825, -0.0097114732, 0.005445112, 0.0176797435, 0.0001789918, 0.02611476, -0.0649833307, -0.0044285068, 0.0133033684, -0.0166402757, 0.0089992937, -0.0218036845, 0.0504652821, 0.0044180383, -0.0661202893, -0.0399334617, -0.0369737707, 0.0223675258, -0.0155510725, 0.0317930989, 0.0600462332, -0.0125006875, 0.0209280271, 0.0921671763, -0.0082116975, -0.0301080421, -0.0087745264, -0.0105482852, 0.0134563036, 0.0245442856, -0.0484612547, 0.0017476386, -0.0395608991, 0.0169462115, 0.0014057984, -0.0628471747, -0.0273640677, 0.037606895, 2.826e-7, 0.019584462, -0.023235105, 0.0170705076, 0.0106811691, 0.0150666879, 0.0041993298, 0.0321177281, 0.0150204096, -0.0119070811, -0.0213734359, -0.0196052045, 0.0214588139, 0.0474010855, 0.0012445379, -0.0897774622, -0.0041716765, -0.0481261872, 0.0193315018, -0.0358559601, -0.0454217568, -0.0055052144, 0.1092550457, -0.0366055593, -0.010505138, 0.0605365969, -0.0013959965, 0.0193239115, 0.0091887023, 0.0062985672, -0.0113226213, 0.0042988556, 0.0066755419, -0.0088385539, -0.0014346982, -0.0095534651, 0.0359625369, -0.0252523143, 0.0819447041, -0.015144838, -0.0395379476, 0.0069583142, -0.0177026801, 0.0115778334, -0.0262814816, 0.0787067935, -0.0311781317, -0.0102500645, -0.0365459286, -0.0048470679, 0.0146494433, -0.0690966919, 0.023130592, 0.01639078, 0.0121816974, 0.0283048209, -0.0758038834, -0.0345491394, -0.0966691077, -0.0374476202, -0.0303567387, -0.042077329, -0.0430938117, -0.0868853703, -0.0233096797, 0.0252791829, -0.022204766, -0.0200627111, 3.0898544e-34, 0.0362699591, -0.0225432087, 0.0012686277, 0.0777075887, 0.0105160605, -0.0322499871, -0.0042338176, 0.0090367673, 0.0217199009, -0.0829514861, -0.0426722877 ]
http://arxiv.org/abs/2406.15485v2
http://arxiv.org/pdf/2406.15485v2
SegHist: A General Segmentation-based Framework for Chinese Historical Document Text Line Detection
2024-06-17T11:00:04
2024-06-25T07:37:22
Xingjian Hu, Baole Wei, Liangcai Gao
cs.CL
cs.CL, cs.CV
Text line detection is a key task in historical document analysis facing many challenges of arbitrary-shaped text lines, dense texts, and text lines with high aspect ratios, etc. In this paper, we propose a general framework for historical document text detection (SegHist), enabling existing segmentation-based text detection methods to effectively address the challenges, especially text lines with high aspect ratios. Integrating the SegHist framework with the commonly used method DB++, we develop DB-SegHist. This approach achieves SOTA on the CHDAC, MTHv2, and competitive results on HDRC datasets, with a significant improvement of 1.19% on the most challenging CHDAC dataset which features more text lines with high aspect ratios. Moreover, our method attains SOTA on rotated MTHv2 and rotated HDRC, demonstrating its rotational robustness. The code is available at https://github.com/LumionHXJ/SegHist.
[ 0.0071166079, 0.0404187962, -0.002067961, 0.0556538142, -0.0504178815, 0.0060070753, 0.0232795235, 0.0732580498, 0.0054962179, 0.0136624798, 0.028969178, -0.0377455838, 0.0373975821, 0.0181006566, -0.0581807196, -0.0529978536, -0.0207890421, -0.0034625484, 0.0075988458, 0.0571735166, 0.0052638561, -0.0384565182, -0.0209242068, -0.0611251518, -0.0613813251, -0.0029867897, -0.0494874641, 0.0261726175, 0.0641031861, -0.0273113921, 0.016012786, 0.0057063065, 0.0249926802, 0.0545223542, 0.0000019709, -0.0493912771, -0.0522734076, -0.0017911713, -0.0053830105, 0.0034371931, 0.091516614, -0.0231754165, -0.0700040609, -0.0562115796, 0.0134231988, 0.0032176801, 0.0055406643, 0.1262719631, -0.0043753618, 0.109146513, -0.0295686498, -0.0524252728, 0.0408126712, -0.0167686082, 0.0067116325, 0.0241551958, 0.0255711488, 0.0423778072, -0.041627869, 0.0303367823, -0.0016123704, 0.0239668582, 0.0149778137, -0.0383384451, -0.0385195278, 0.0244189557, -0.0309958979, 0.0598647781, -0.0220706742, 0.0413752981, -0.0320780613, 0.0122733666, 0.0422346704, -0.0089259483, -0.0461888835, -0.0236252062, -0.0242687892, 0.0157025196, -0.0655027777, 0.0068065133, -0.0466664657, 0.0168639626, -0.0368081145, -0.0193895716, -0.0166812949, 0.0358850658, -0.0123527832, -0.0688080117, -0.002935841, -0.0189461056, 0.0186427664, 0.004841181, 0.0738085732, 0.02545649, 0.058768589, -0.0336329974, 0.009301234, -0.0577070042, 0.0010581192, -0.0159968548, -0.016745884, 0.0079682022, 0.0134469466, 0.0536007062, -0.0533211902, 0.0525473878, -0.0271688793, 0.0008512671, -0.0240058675, 0.0447967947, 0.0066100061, 0.0033097577, -0.0376640819, -0.0577015728, -0.0384551585, -0.0345241688, 0.0299449749, -0.010830977, 0.0614585094, -0.0036056982, -0.0115069663, -0.0487503968, -0.0298956539, -0.0220509637, 0.0319179781, 0.0009192007, -0.0097519448, -0.0072014206, -0.0286693219, 0.0080709616, 0.0183418822, 0.0193077028, 0.0721600056, -0.0046985871, 0.020136239, -0.023045022, -0.0528330505, -0.0410869159, -0.0471293144, -0.0086097037, -0.0526418239, -0.0398749448, 0.0313533731, -0.0168388039, -0.0155319041, -0.0560522377, 0.0273855943, 0.0719770715, 0.0049329447, -0.0088534113, 0.0049283709, 0.0264615379, 0.0013682627, -0.0021420699, 0.0251338314, 0.0281801596, 0.0093986737, 0.04958269, 0.0124853104, 0.0874494612, 0.0797012076, 0.0407645889, 0.0112533392, 0.0227664188, -0.0342121795, -0.0134525849, -0.0249643438, -0.0014684675, -0.0177440066, -0.0019827206, 0.007880453, 0.0130048683, -0.0093995351, 0.0000733606, 0.0414776988, 0.0305365678, 0.0212510973, 0.0058629666, -0.0170995779, 0.0279918853, -0.0034669996, 0.0536822602, 0.0116785485, -0.0241766032, -0.0000848081, 0.0190205798, -0.0390198492, 0.0186775178, 0.0074135098, -0.0210403223, 0.0040208488, 0.0204840153, -0.0183039717, -0.0557316765, 0.0819586962, -0.0225271862, -0.02916345, -0.0431037545, -0.0016333673, -0.0765550286, -0.0340857618, -0.002267149, 0.0476792306, 0.0417290814, 0.0763862431, -0.078131035, 0.0345609523, 0.0195689816, 0.0360330828, 0.0194406584, 0.0313012153, -0.0092663011, 0.0044352929, -0.0422757939, -0.0445877276, 0.0503034256, 0.004842266, -0.0044075958, 0.0220813695, 0.0613626093, -0.0151071241, -0.0141443685, 0.0048111933, 0.0471983589, 0.0199329667, 0.0158190988, -0.026728224, 0.0505421571, -0.0182886049, 0.0345045589, -0.0453860313, -0.029314287, 0.060516227, -0.0226094276, 0.0059564454, -0.0367885046, -0.022556711, -0.0420227088, 0.0158206206, -0.0336438715, -0.0187519826, -0.0336640403, -0.0321560465, -0.0201619025, -0.0167539287, 0.0158270374, -0.0245374944, -0.0191130079, 0.0434315763, -0.0438809805, 0.0223469958, -0.0342241302, 0.0692409053, -0.015148988, -0.0011618948, -0.006722027, -0.0330937281, 0.0223898273, -0.0163669046, -0.0238133222, -0.0120192347, -0.0106081385, 0.0204374008, 0.0162672363, 0.0360618867, -0.0187130682, -0.0483998396, -0.0469080433, 0.0049399189, -0.0567907207, 0.0084430417, 0.0217323359, -0.0186642073, -0.0122595578, -0.0408272333, -0.012692946, -0.0254347846, -0.0407952406, -0.0377288163, 0.0485593677, -0.0329036564, -0.0031751092, 0.0101024723, -0.0060951961, -0.0018270899, -0.0270528737, 0.0305712707, -0.0452147871, -0.0222398303, -0.0410468988, 0.0529322289, 0.0203730315, -0.0316593759, 0.0012279708, -0.036124438, -0.0208705105, 0.0315208994, 0.1358100772, 0.0240966324, -0.0282928012, -0.0236716866, 0.0218305476, 0.0333123952, 0.0397395827, -0.021567082, 0.0797588676, 0.003681069, -0.0432842895, 0.041401688, 0.0116891973, -0.0038456982, 0.0436604582, 0.0419678278, -0.089032039, -0.0270964298, 0.0398593806, -0.0082520256, -0.0110219456, -0.05001086, 0.0078352345, -0.0206792876, -0.0023052134, -0.0090548573, -0.0460315496, -0.0580935106, -0.0491512716, 0.0031756498, -0.0474942774, 0.0292810053, 0.0389703214, -0.0028628292, 0.0088952128, -0.0400843918, 0.0104675675, 0.0340834744, 0.0159924012, -0.0105881561, 0.0087469444, 0.0075812885, -0.0012437535, -0.0362550505, 0.0060713231, -0.0116430307, 0.0007770958, 0.0051114531, -0.0333937481, 0.0447612591, -0.0517975725, -0.0025005494, 0.0769849569, -0.0146238506, 0.0878515318, -0.0063956962, 0.0018140728, -0.0472042263, 0.0804036111, 0.0155527182, -0.0694324896, -0.0079784179, -0.016446868, 0.0129770711, 0.0608591363, -0.0056729084, -0.0212630872, 0.0294544231, 0.001393993, -0.0081236707, -0.0064448402, 0.0251901466, -0.048893258, 0.0344090946, -0.0640498549, -0.0052611995, 0.0645345077, 0.0275727399, -0.0492675379, -0.0607716851, -0.0210161284, -0.0080835493, -0.0314178951, -0.0599847771, -0.045795396, 0.0071097566, 0.0142242936, -0.0226416308, 0.0095895445, 0.0090068821, 0.0213301852, 0.0208277497, 0.0402416848, 0.0069785691, -0.0157965999, -0.0121470625, -0.027265748, 0.0409266241, -0.0216399319, -0.0367577523, 0.0162999351, -0.0302026998, -0.0454540774, -0.0352296457, -0.0354546346, 0.0595181659, -0.0033914249, -0.0095229978, -0.0927769914, 0.0359837115, 0.0695897788, 0.0366711691, -0.0081181023, 0.0724111125, -0.0207519587, 0.0125408145, -0.0082436306, 0.098499693, 0.0218810551, 0.0315822922, -0.0071704909, 0.0284756478, 0.0101066334, 0.0314294398, 0.0455989875, -0.0091777612, 0.0302130096, -0.0216533467, -0.0103003979, -0.0108540161, -0.0139262062, 0.0056227311, -0.0065911766, -0.0110182203, -0.0616275519, -0.022366235, 0.0355372801, -0.0546740927, -0.0017788114, -0.0237198919, -0.06066994, -0.0482884832, -0.0513023064, 0.0105250087, -0.0291327871, 0.0388854109, 0.0316127278, -0.0171829388, 0.0198528059, -0.0019362052, -0.0450481474, -0.0523669943, -0.0475707427, -0.0038054171, -0.082546629, 0.0435762107, -0.0224155951, -0.0393634215, 0.0087557053, -0.026426265, -0.0927640274, -0.0003132555, 0.0261892676, -0.048857253, -0.0015049676, 0.0097185858, -0.0366718024, 0.0264161825, 0.0456959121, -0.0100832218, 0.0048329099, -0.0651422963, -0.030737089, -0.0269040298, -0.039382074, 0.0190553106, 0.0256647337, 0.0010460896, 0.0195765328, -0.0756321996, -0.034203086, -0.0170342624, -0.0404075943, 0.0100504812, 0.0543822423, 0.0297546368, 0.0012958688, -0.0062922407, 0.0281252712, -0.0130276447, -0.0110151526, 0.0200958084, 0.0222786702, -0.0140693774, 0.0067140111, -0.0143052172, 0.059326604, 0.0355839133, 0.0246890113, -0.0375693068, 0.0169731639, 0.037973173, 0.0551412068, 0.0218593646, -0.0156644471, 0.0690967441, 0.0207690205, -0.0133306468, 0.0532965511, 0.0029483773, 0.1022128612, 0.0090806959, -0.0333035849, 0.0101537993, -0.0045626229, -0.0713725612, 0.0484766811, -0.0624498315, 0.00789678, 0.0751049519, -0.0283295531, 0.056200549, -0.0352947637, -0.0180807151, -0.0228411704, 0.0029714848, 0.0695830509, -0.0129814399, -0.04492075, 0.0136907483, -0.0197424237, 0.0320229344, 0.0102219265, -0.0165798273, -0.0053593325, 0.0635934845, -0.078393355, -0.0351079218, 0.0202341545, 0.0542372502, -0.0276304372, -0.0330520123, 0.0222464092, 0.0147135211, 0.0564625114, 0.0376158021, 0.000187476, -0.0048641707, 0.0601490848, -0.0255907774, 0.0030485799, -0.0136779873, -0.0133736916, -0.0177716091, 0.0336571895, 0.0134041663, -0.0116529223, -0.0002266775, -5.842815977e-33, 0.0282113403, -0.0256310478, -0.0232136231, -0.0436574854, -0.0478025302, 0.0139673119, -0.0070386892, -0.0192815233, -0.0049159219, -0.0056936406, -0.0205039382, 0.0071888561, 0.0403842703, 0.0090970742, -0.044092495, 0.0140526304, 0.0461376384, -0.0188478623, -0.0393762849, 0.0203920789, 0.0316202827, 0.0187934171, 0.0526000299, -0.025895806, 0.0027378311, -0.002218741, 0.0027247367, 0.011436888, 0.0008627351, -0.0041198223, 0.0005212605, -0.0558253713, 0.0422460921, 0.0193589628, -0.0002433031, 0.020360373, -0.0985929817, 0.0325088203, -0.0620850697, 0.1073186398, 0.050965488, 0.0040002987, -0.0165433083, -0.0462219343, 0.0246280972, -0.025097454, 0.0386251137, -0.0526891723, -0.0184286237, -0.0272670146, -0.0182238482, 0.0608198792, -0.0141110588, -0.0078315204, 0.0389359519, -0.0115476707, 0.0342415385, 0.0092447177, -0.0468196757, 0.0109785842, 0.0229045469, 0.0250170007, -0.0309324581, 0.0189272948, -0.0027453103, 0.0059051616, 0.0221647583, -0.0258708373, 0.0053653084, 0.007244051, -0.0080710026, -0.0322421454, -0.0246918984, 0.0063059274, 0.0547984317, -0.0223306064, -0.005241714, 0.0323320813, 0.0178175252, 0.0180380121, 0.0260910671, 0.0453250445, -0.0869371369, 0.038256079, 0.0551372916, -0.0393533483, -0.0111835953, 0.006966833, -0.0062171686, 0.0759364292, -0.0148738967, 0.0073485696, 0.0200513136, 0.006651408, 0.0230668522, -0.0039576227, -0.0486115664, 0.0327377133, -0.0169612523, -0.065852575, -0.0229662322, -0.0213652421, 0.0481557734, 0.027062336, -0.0228888784, -0.031704586, 0.0638256595, 0.0055343658, -0.0465823561, 0.0094737187, 0.0257571731, -0.0150821507, 0.0775294453, 0.0910605863, -0.0268145036, -0.0512179844, 0.0166157503, 0.0854787901, 0.0411307588, 0.0012062335, -0.0382729471, 0.0078889942, -0.0175491832, 0.0048191412, -0.0230699033, 0.033191599, 0.0159018729, -0.0264991429, -0.0032097681, -0.0448730104, 0.0010258965, -0.0151840411, 2.421e-7, 0.01956187, -0.0126651796, 0.0701067597, -0.0040427269, 0.0354313105, 0.0060508014, -0.0573526993, -0.0235079527, -0.0538885891, 0.068723239, 0.0371469036, -0.0263579134, 0.0710435286, -0.0177191719, -0.0360845849, 0.006799839, -0.0018848919, -0.0485156365, -0.0645757243, 0.0009610354, 0.0250345096, 0.0315346457, -0.0349712446, -0.0069296071, 0.0135816699, -0.049458921, -0.020539308, 0.0104904901, 0.0192769151, 0.0430837497, 0.0136454646, -0.0138065191, -0.0677455962, -0.0001361856, 0.013658125, 0.0396527126, 0.0296828318, 0.0739959478, 0.0200855918, 0.0563085563, 0.0239413213, -0.0019476494, -0.00074518, -0.0243655164, 0.0575276054, 0.0931337401, 0.0289772004, -0.0108297961, -0.0010521491, 0.0135695925, 0.0113720838, 0.0127561213, 0.0050059087, 0.0449488498, 0.0188181791, 0.0028733294, 0.0184595212, -0.0331547931, -0.0098825628, -0.0284399856, -0.0041602701, -0.0233826451, -0.0022365656, 0.033264935, -0.0255935621, -0.0087621063, -0.0202526655, 2.451020975e-34, 0.0165174436, -0.0048611131, -0.0530056134, 0.0071847057, 0.0465658009, -0.0196280219, 0.0459104031, -0.0723926201, -0.0610033385, -0.0268022101, 0.0091010034 ]
http://arxiv.org/abs/2406.11410v2
http://arxiv.org/pdf/2406.11410v2
HARE: HumAn pRiors, a key to small language model Efficiency
2024-06-17T10:56:03
2024-06-18T11:59:03
Lingyun Zhang, Bin jin, Gaojian Ge, Lunhui Liu, Xuewen Shen, Mingyong Wu, Houqian Zhang, Yongneng Jiang, Shiqi Chen, Shi Pu
cs.CL
cs.CL, cs.AI
Human priors play a crucial role in efficiently utilizing data in deep learning. However, with the development of large language models (LLMs), there is an increasing emphasis on scaling both model size and data volume, which often diminishes the importance of human priors in data construction. Influenced by these trends, existing Small Language Models (SLMs) mainly rely on web-scraped large-scale training data, neglecting the proper incorporation of human priors. This oversight limits the training efficiency of language models in resource-constrained settings. In this paper, we propose a principle to leverage human priors for data construction. This principle emphasizes achieving high-performance SLMs by training on a concise dataset that accommodates both semantic diversity and data quality consistency, while avoiding benchmark data leakage. Following this principle, we train an SLM named HARE-1.1B. Extensive experiments on large-scale benchmark datasets demonstrate that HARE-1.1B performs favorably against state-of-the-art SLMs, validating the effectiveness of the proposed principle. Additionally, this provides new insights into efficient language model training in resource-constrained environments from the view of human priors.
[ 0.0326021388, 0.1252130419, -0.0003040343, 0.0612471662, -0.0064956159, 0.0031678861, 0.0073549976, -0.0015182246, -0.0403278843, -0.0469696112, -0.0633771718, -0.0648246855, 0.0180145744, -0.0066948445, 0.0237848181, -0.0466739163, 0.0136743961, -0.0405747443, -0.0213045757, -0.0369632766, -0.0150566511, 0.0138899144, 0.0261991508, 0.033535827, -0.0171442889, -0.002729008, 0.0022920144, 0.0292698964, -0.0059458562, -0.0248709023, 0.0085110888, 0.0610036142, 0.0215662289, 0.0284089558, 0.0000020103, -0.0296623297, 0.0027163427, 0.0103608603, -0.0216449201, 0.0236312039, 0.0700726062, -0.0259000082, -0.0164961778, 0.0102596181, -0.002736866, -0.0395025313, 0.071348235, 0.0326612853, 0.0479953215, 0.0827662349, -0.0065299352, -0.0108612962, 0.0185656361, -0.0566168316, -0.0096463608, -0.044115603, 0.028995771, -0.0153678181, -0.0208338294, 0.0237337127, -0.0075234435, 0.0062990212, 0.0069907978, 0.0326187275, -0.0282099079, 0.0443969741, -0.0007508922, -0.0274203308, 0.0216842424, 0.0876859576, -0.0281017236, -0.0137566971, -0.0063657206, -0.0226432383, -0.0036291759, 0.0084275883, -0.0367868058, 0.0560230091, 0.0262511596, 0.0429667942, 0.0000449261, -0.0191591736, 0.0633637011, 0.0507625267, -0.0109110549, 0.0462962128, 0.0153271155, -0.0001607642, 0.0034690222, 0.0023513366, -0.0068450333, -0.0346531309, -0.021928329, 0.0197185017, 0.0018046764, 0.0327967852, -0.0648002923, -0.0452499017, 0.0492557697, -0.0527407862, 0.037770126, 0.0103364196, -0.0359566361, 0.0355738625, -0.0221335497, -0.0020753557, -0.0111825876, 0.0222329088, -0.0416634306, -0.0281998646, -0.0070911688, 0.0264301375, -0.0110641969, 0.0100388164, -0.0423695855, -0.003267321, -0.0084964121, 0.0193455555, -0.0222928133, -0.0071562841, 0.0213187635, 0.0224962924, -0.045065362, -0.0225987043, -0.0174722336, 0.0065311179, -0.0257800017, 0.0462995991, -0.0079825222, -0.0917019993, -0.021751117, 0.0069865398, 0.0164486319, -0.0261580907, 0.0331193283, 0.0745716691, -0.0030547515, -0.0159767177, -0.0556672029, 0.0053682383, -0.0190719217, -0.0551825501, -0.0173014104, -0.0843326449, 0.0345356762, 0.0006318257, 0.0101416167, -0.0833867043, 0.0228786469, 0.0388927385, -0.0666966513, 0.0543047599, -0.0581169985, 0.0097723836, 0.0111706164, -0.0040231124, 0.0145680811, 0.1111954823, 0.0472990163, 0.0387716405, 0.0191284399, -0.0105423564, -0.048275236, 0.02636135, 0.039493259, 0.0219640415, -0.0265883263, -0.0004669995, -0.0029163559, 0.0233666953, 0.0540635325, 0.0851890445, -0.0196055081, -0.0328866355, 0.0786650777, 0.0565725602, -0.0241855159, 0.0372853018, 0.0082535688, 0.028036274, 0.0011873448, -0.0412915722, -0.054150667, -0.0145698879, 0.0111843143, -0.0117261037, 0.0217472687, 0.0359814391, -0.0171015114, -0.0281234849, -0.0358190984, -0.0089534484, -0.0027108165, 0.0228221975, 0.0455577746, 0.0188755933, 0.0251574647, 0.0937554762, 0.0871317014, -0.0122859096, 0.0168466568, -0.0253536925, 0.0034077903, 0.0322872326, 0.0000168103, -0.0075465036, -0.0070951823, -0.0175897926, 0.047743272, 0.027299352, 0.0618718788, -0.008631452, 0.0387761444, -0.0465332456, -0.0132140052, 0.0036592132, 0.019010473, 0.0314719863, 0.0169096068, -0.001676104, 0.0360730886, -0.0542079546, -0.0531438626, 0.0572195277, -0.0281272195, -0.0211760085, 0.0442450196, -0.003555252, 0.0371390395, -0.008594214, -0.0185870137, 0.00263518, 0.0329415984, -0.014087406, 0.0014580853, -0.0394242331, -0.0334191099, 0.0002255212, 0.0483160131, -0.0123566296, 0.0121181784, 0.0553341545, -0.0454955213, -0.0298934765, 0.0181431826, -0.0235194582, 0.0134662809, -0.0482648313, 0.0054701963, -0.0002905541, 0.061257869, -0.0244399197, 0.0668890476, -0.0255823005, 0.0065206159, 0.0217266288, 0.0250579957, 0.0124904159, -0.049828425, -0.014364724, 0.0151261436, -0.0273559168, 0.046002727, 0.0054716738, 0.0337478742, -0.02457661, 0.0197949093, -0.0750427991, -0.0102809537, -0.039429456, 0.0092911497, -0.0039012588, -0.0035040898, -0.0016258036, -0.0240780339, -0.0365221687, -0.0184256844, -0.0351561718, 0.0369435921, 0.0237379, 0.0286996663, 0.0006637515, -0.034879826, -0.0258801393, 0.0264174342, 0.0357158706, -0.0172824711, 0.0300264563, -0.0466161296, 0.0189283043, -0.0276972912, 0.0152209252, -0.0055577867, -0.0257285908, -0.0185467489, -0.029843796, 0.0162093639, 0.0062001674, 0.0076235873, 0.0063558966, 0.0766941383, 0.0394886099, -0.0583726317, 0.0031194536, -0.009566878, -0.010322284, -0.0526279099, -0.048376441, -0.0324127674, 0.0376636349, -0.024454806, -0.0010649135, -0.0376966633, 0.0243079141, -0.0000905073, -0.0411507227, -0.0540570281, 0.0223816279, -0.0318934619, 0.0236156713, -0.0367344581, -0.0511488356, 0.0407020487, -0.0279230438, 0.0029381148, -0.0068562655, -0.0260684099, -0.0305566546, 0.0497650579, 0.0202665627, 0.0306190662, -0.0183538739, -0.0015346501, -0.0655319244, 0.0251010545, 0.0242462438, -0.0138054369, 0.0527793355, -0.0475182459, 0.0233307444, -0.0376963392, -0.0462086909, -0.0602177866, -0.0621308163, -0.0395716727, 0.0129511794, 0.0298702177, -0.018903153, -0.01086812, -0.0082781231, -0.0039672866, 0.0409500599, 0.0043184925, 0.0187650267, 0.013825302, 0.0020791565, 0.0666333586, -0.0015685501, 0.0497057736, -0.0367069654, -0.011856894, 0.0569632351, 0.073095426, -0.0145203313, -0.0240602419, -0.0055134832, 0.0313148052, 0.0199522357, -0.0118156699, 0.0454245433, 0.0301806964, -0.0435809679, -0.0160695463, 0.0908714533, -0.0286508575, -0.0702302307, 0.0225696769, 0.0167329609, 0.0633612648, 0.0078285784, 0.0023111631, -0.0481082946, -0.0518037528, 0.0195499994, 0.0261580292, 0.0213506725, -0.0382031314, -0.0285723414, -0.0988739356, 0.0153438505, 0.0043182336, -0.047052905, 0.0265539233, -0.0700558648, 0.014222418, -0.0642324761, 0.0309218932, -0.0097645083, -0.028468553, -0.0237750839, 0.0388044305, -0.0133677302, -0.1055996865, 0.0036105504, -0.0432219952, 0.0532588102, -0.0009267275, 0.004220644, -0.0323112942, -0.0301955715, 0.0424614064, -0.0114582004, -0.0244695731, -0.0031799835, 0.0584567487, -0.0324648172, -0.0144060263, 0.0537247099, 0.0420033559, -0.0631565526, -0.0072041024, -0.0114856604, 0.0534151942, 0.0043969508, -0.0124072172, 0.004345479, -0.043879129, 0.0162672456, 0.0887262449, 0.0127577139, -0.040170148, 0.0081644552, -0.0106189437, -0.015104088, -0.0194794573, -0.0309694074, 0.0187813286, -0.0114063835, -0.0656712875, -0.0517245643, -0.0417286716, 0.0079942141, 0.0259303953, 0.0012687721, 0.0006256612, -0.0131485201, 0.0241678134, -0.0534154251, 0.0683205202, -0.0567789525, 0.0034626375, -0.0654654652, -0.0335596539, 0.0209190585, -0.0210965667, -0.0237208754, 0.0050560851, -0.1617484242, -0.0562950224, 0.0225435682, 0.0282799192, 0.0168106314, 0.042334266, 0.016708428, -0.0807350203, 0.0502704196, 0.0413019769, -0.0450122803, -0.0228764452, 0.0496287905, -0.039092008, -0.0013639372, 0.060988389, -0.0617932715, 0.0481199175, 0.0390699804, 0.0290127918, -0.0274247918, -0.0041608727, 0.0147543764, 0.0059328671, 0.0423054732, -0.0485919453, -0.0248721112, -0.0385285169, 0.0060054623, -0.0091403695, -0.0201799627, -0.0455743372, -0.0019777766, 0.0199719369, 0.0061029047, -0.0170260742, -0.0034091263, 0.0259560626, 0.017353639, -0.0051218942, -0.0005153581, 0.0390097089, 0.0210208464, 0.0528014936, 0.0153541015, -0.0272238888, 0.0328581259, -0.0166968405, 0.0384084284, -0.0211867206, -0.0251231547, 0.0205508247, -0.0061927773, -0.0277587138, 0.0010911694, -0.055826176, -0.0785821229, -0.0523935035, -0.0127869667, 0.0559770353, -0.0161255002, 0.0377665684, -0.0363562405, -0.0123943612, -0.043588385, 0.0010024401, -0.0130333202, -0.0289548505, 0.0209901389, 0.0184027236, -0.0359726027, 0.0335848182, 0.1034489125, 0.0446254164, 0.033324413, -0.0244788695, 0.012967323, -0.0338410288, -0.0288173687, -0.010409154, 0.0364858657, -0.015171825, 0.0037400899, -0.036904294, -0.0916384682, -0.03790861, -0.0339391977, 0.0077087563, 0.000340153, 0.0490547754, 0.053076718, -0.0119161978, 0.0202312004, -0.0373028405, -0.0032994372, 0.0152936019, -0.0093043623, -0.0323141478, -6.812725916e-33, 0.0253622457, 0.0072398172, -0.0088421544, -0.0484594889, 0.0263167676, 0.0061492813, -0.0016911356, 0.0098994952, -0.0633829162, 0.0289696474, -0.0172553733, 0.008461671, 0.0193934906, 0.0614853762, -0.0023753417, -0.00828001, 0.0670637339, -0.0130141042, -0.0073386747, 0.0159933046, 0.0280691478, 0.0329027809, 0.050443165, -0.0200298708, -0.005214544, -0.0082231276, -0.0224611759, 0.0315834507, 0.0349524803, 0.0465577208, -0.0255780146, 0.0650104061, 0.0276166555, -0.0098629706, -0.0309867971, -0.0205727648, -0.0825068876, -0.0160403959, -0.0086229406, 0.0111860447, -0.0282167979, -0.007589052, 0.0589371361, -0.0032447532, 0.0171791222, -0.0196012855, 0.026688613, -0.0430121943, -0.0555300862, 0.0289477929, -0.0251102578, 0.0374226086, 0.0124007454, 0.009852197, 0.0299894921, 0.0088792844, -0.0173768643, -0.0145131154, -0.0365536101, 0.0070962026, 0.0220460966, 0.024392426, 0.0532197133, 0.056859646, -0.0022108827, 0.0819827542, 0.0494127274, 0.0340860896, 0.0068811621, -0.0179243889, 0.0473128222, 0.0456535332, 0.0185794961, 0.0617193021, 0.0320766047, -0.0208398644, -0.0808763057, 0.0026218044, 0.0100634182, 0.0256300569, 0.0227661561, 0.0087982304, -0.0328585505, -0.0398992337, -0.0421492867, -0.0131387571, -0.0270042531, -0.005394828, 0.0134639293, 0.0299029015, -0.0290624686, 0.0056630415, 0.0322528481, -0.0490393899, -0.0280665252, 0.0438565761, 0.0155977774, -0.0249601901, 0.0219305102, 0.0055377721, -0.0789728463, -0.0224597827, 0.0072173276, -0.0073519512, 0.0084994528, 0.0023989216, 0.0558221042, 0.0119970283, -0.060636837, -0.0157556497, -0.0472155549, 0.0112081775, 0.0125796311, 0.0383029506, 0.0507827662, -0.0209947992, -0.0022381349, 0.0824735612, 0.026291687, 0.0033428404, -0.0158263389, -0.0250865035, 0.0022786094, 0.0024727096, -0.0204949398, -0.0053965077, -0.0196969435, -0.0212265085, 0.0811373964, -0.0495373905, -0.0192891713, -0.0118829701, 2.627e-7, 0.0299245361, 0.0181391984, -0.0169806294, 0.0159546193, 0.0103720259, 0.0352406725, -0.019621538, 0.0282636397, -0.034161374, -0.0035673338, 0.0088883927, 0.0396779813, 0.0770558938, 0.042118419, -0.0707593709, -0.0282330904, -0.0858246833, 0.0121503165, -0.0066093653, -0.0084608262, 0.0052827816, 0.1447629184, 0.0207189918, -0.0592224635, 0.0198799074, -0.0231175628, 0.064892441, -0.0675789937, 0.0058497228, 0.0293619595, 0.0213505719, 0.0567242168, 0.0016184649, -0.0022158327, -0.0287939869, 0.0112493085, -0.0064034066, 0.0540620685, -0.0039258171, 0.0123696858, -0.0175782498, -0.0256867167, -0.0061620022, -0.0331492685, 0.0611913502, -0.0185406953, -0.0253912695, -0.0365279168, -0.0193021502, -0.0068873689, -0.0105814785, -0.0232251901, -0.02780178, 0.0167550948, 0.0185692217, -0.0130506009, -0.034466695, -0.0763119161, -0.0185118541, 0.005674317, -0.0555793792, -0.0409829691, -0.0166004226, -0.0454499014, 0.0588877723, -0.0487197116, 0.0252043214, 2.327435422e-34, 0.0499780029, -0.0147760715, -0.0272900034, 0.0112745538, 0.0147701912, -0.0069595496, 0.0381574295, -0.0068096216, -0.002206146, -0.0582783669, -0.0247883648 ]
http://arxiv.org/abs/2406.11409v2
http://arxiv.org/pdf/2406.11409v2
CodeGemma: Open Code Models Based on Gemma
2024-06-17T10:54:35
2024-06-19T02:37:50
CodeGemma Team, Heri Zhao, Jeffrey Hui, Joshua Howland, Nam Nguyen, Siqi Zuo, Andrea Hu, Christopher A. Choquette-Choo, Jingyue Shen, Joe Kelley, Kshitij Bansal, Luke Vilnis, Mateo Wirth, Paul Michel, Peter Choy, Pratik Joshi, Ravin Kumar, Sarmad Hashmi, Shubham Agrawal, Zhitao Gong, Jane Fine, Tris Warkentin, Ale Jakse Hartman, Bin Ni, Kathy Korevec, Kelly Schaefer, Scott Huffman
cs.CL
cs.CL, cs.AI
This paper introduces CodeGemma, a collection of specialized open code models built on top of Gemma, capable of a variety of code and natural language generation tasks. We release three model variants. CodeGemma 7B pretrained (PT) and instruction-tuned (IT) variants have remarkably resilient natural language understanding, excel in mathematical reasoning, and match code capabilities of other open models. CodeGemma 2B is a state-of-the-art code completion model designed for fast code infilling and open-ended generation in latency-sensitive settings.
[ 0.005740134, 0.1073596403, -0.0037790418, 0.006271719, -0.0142814983, 0.0018447068, -0.041490864, -0.0247806385, 0.0026060028, 0.006548143, -0.0096430881, 0.0220612194, -0.0271238629, 0.1192241088, 0.0206066128, 0.0043888367, 0.0344533212, -0.0347998627, -0.0431867391, 0.0053814785, -0.0055282083, 0.0305182636, 0.008547239, 0.0600980818, 0.0182523578, -0.0433673821, -0.0385923982, 0.010596728, -0.0191332176, -0.0189251024, 0.037977729, 0.0515457354, 0.0071562626, -0.0153539935, 0.0000020628, -0.0214267392, -0.0085116504, 0.0056998222, -0.0100634638, 0.0195508637, 0.0031386816, -0.0203860439, 0.0008071592, 0.0337627977, -0.0647933707, 0.005261742, 0.0625839382, -0.0384513438, 0.0656391531, 0.0655921325, 0.0003622693, -0.0403134786, 0.040364027, -0.0280095171, 0.023586385, -0.0437147655, -0.006782426, 0.03403043, 0.0460372418, -0.0096730441, 0.0064837257, 0.0191325229, 0.0412298217, -0.0177475382, 0.0164232515, 0.0425472669, 0.0098389946, 0.0005493489, -0.0248074736, 0.0451627709, -0.0205685943, -0.0241383556, 0.0148877045, -0.0157675296, -0.0189383589, -0.0782517865, -0.0389596671, 0.0605642684, -0.0140759377, 0.0175473243, 0.0110443886, -0.0076756091, 0.0035525996, 0.0056098765, -0.0174875539, 0.0603810959, 0.0349955708, 0.0038053249, -0.0643987507, -0.0052011129, -0.053514272, -0.0715341568, 0.0104707154, 0.0784392282, -0.0157910157, -0.0028769849, -0.0879952163, -0.0149302958, 0.0069967541, -0.0374170132, 0.0504244417, 0.0753537416, -0.0194968898, 0.0017072151, -0.0389857255, 0.01806584, -0.0267665014, 0.0051671127, -0.0192354247, 0.0215631779, -0.0508736596, -0.0047552641, -0.0584899299, 0.0444210321, -0.0535704009, -0.0073574404, -0.023708187, 0.08284159, 0.0211538952, 0.014316882, 0.0339122303, 0.0462294742, -0.0343001559, -0.0054714326, 0.0090723, -0.0400050953, -0.0119373426, -0.0503495298, 0.0261005331, -0.080288589, -0.0106523205, 0.0230962019, -0.0120515963, -0.0132979136, 0.0241505038, 0.0571057014, 0.0004994283, -0.0101251034, -0.04892819, -0.0510209315, 0.0079128994, -0.0802736729, -0.0051371362, -0.0731297806, -0.0373469256, 0.0311912689, -0.0179471858, -0.0860919505, 0.0240903124, 0.0403274968, 0.0112314606, 0.0146847609, -0.0756686106, -0.0247861203, 0.0045859609, -0.0185872391, 0.0111589003, 0.0194651, 0.0276702326, -0.0191830713, -0.0307892002, -0.0149831912, 0.0092790667, 0.011428169, 0.0111208195, -0.0231571253, 0.0095985597, 0.027253693, 0.0518171526, 0.022563491, 0.0534778833, 0.0514359251, -0.0135440528, -0.0030059067, 0.0167435613, -0.0117242401, 0.0141484179, 0.0610570349, 0.0888924375, 0.0035503388, 0.0011744265, -0.0066539417, -0.0336659625, 0.0652591139, -0.0160552263, 0.0398883596, 0.0115990043, 0.0293319765, -0.014912528, -0.0716267377, 0.009824967, -0.0274032708, 0.0327982418, -0.0430979468, 0.0169368554, 0.0095844418, -0.0706517771, -0.0008554857, 0.0057869726, -0.0567675233, -0.030459499, -0.0489638671, 0.0199179109, 0.0366992839, 0.0493752584, -0.020881502, -0.0390320048, -0.0183783416, -0.0114804544, 0.0214088261, 0.006924781, 0.0235877726, -0.0179731045, -0.0472548977, 0.0102391085, -0.0451264828, 0.0022616906, 0.0387738831, 0.0367877036, -0.0227867961, 0.0294966046, 0.0579448901, -0.0760912076, 0.045297686, 0.0028452033, -0.0183978602, 0.0016641737, -0.0288505349, 0.0469401591, -0.0422046594, -0.0354970209, 0.0450960882, 0.0152213853, -0.0171863008, -0.0182423871, -0.0145661039, -0.0499378368, -0.0305180326, 0.0167159233, -0.0251612011, -0.0058818134, 0.0444214568, -0.0098495288, -0.0307453834, 0.0601786114, -0.0464629568, 0.033045128, -0.0707389712, 0.0101828137, 0.039135661, -0.0150427287, 0.0004675623, 0.0503293052, -0.023371283, -0.0028996684, 0.0274302717, 0.0427719355, 0.0134524871, -0.0036173295, -0.0108013321, 0.010206555, -0.035415452, 0.0369265676, -0.0201232303, 0.0512756407, -0.0056220549, -0.0473303422, -0.0924027711, 0.0455996916, -0.0284163151, -0.0001737294, 0.0178727489, 0.0239073429, -0.0076106084, 0.0047638039, -0.040446762, 0.0162788834, 0.0315948166, -0.0131925615, 0.014272023, 0.0137683321, -0.0500446036, -0.0284749847, 0.011381682, -0.0109752053, 0.0457695648, 0.0215304643, 0.0210177172, -0.0515869968, 0.0520383343, -0.0379657112, 0.0421909764, 0.0071765152, -0.0417353213, 0.027600307, -0.036123611, 0.0416064858, 0.0024240911, -0.0070155049, -0.0101516061, 0.0234045666, -0.0107068662, -0.0226910058, 0.0368760973, -0.0068263537, -0.0781099424, -0.0015571336, -0.0035698689, 0.0317144953, 0.1063125059, 0.0025844921, -0.0383403935, -0.0726285353, 0.0024321661, 0.0207953062, 0.009693197, 0.0104457717, -0.0286179632, -0.0211431235, 0.0399985835, -0.0347484052, -0.0870203525, 0.0416861363, -0.0346450582, -0.0041280664, -0.0347711071, -0.0226662569, -0.0499424338, 0.0231738277, 0.004161512, 0.0404731333, 0.0367515385, -0.0380741619, -0.0225434005, 0.0405525677, -0.0262984168, -0.0068236748, 0.002470091, -0.0239488557, 0.0333561599, 0.018245101, -0.0312936604, -0.038547527, -0.0057889507, -0.0210948605, 0.0146417292, 0.0725467131, -0.027264066, 0.0238125324, 0.0012280372, -0.0390756801, 0.0517195649, -0.0112892073, -0.037593618, -0.0315986685, -0.0259912964, 0.006108026, -0.0169429556, -0.0162126757, -0.0209626369, -0.0439382941, 0.0296057649, 0.0034684262, 0.0515176319, -0.0784641132, 0.0439210609, 0.0108602792, -0.0142946551, -0.0588956401, 0.0731509849, 0.0260041989, -0.0412960947, -0.0503828973, 0.0920613483, 0.0217159372, -0.0402633697, 0.009351748, -0.0376215614, 0.0666335449, 0.0540061854, 0.0297845341, -0.0915111154, -0.0173886679, -0.0028751704, 0.0277285594, -0.0049679372, -0.0208231658, -0.037473578, -0.0664611161, 0.0403693728, 0.0168559011, -0.0556448735, -0.0376808532, 0.0261995401, -0.0316426679, 0.0251040496, -0.0468818471, 0.0593338013, -0.0256940126, 0.0409429818, 0.0110623566, -0.0108461743, 0.0055927439, 0.0205309372, -0.0296062678, 0.0516673997, 0.0849311948, -0.0065397224, 0.0441970751, -0.021510303, 0.0407481901, 0.0048745172, 0.0528827347, -0.0332812667, 0.0072070509, 0.0105675859, -0.0332829468, -0.0031776275, 0.0373567753, -0.064523682, -0.0066193575, -0.0139931487, 0.0519996583, -0.0086526806, 0.0246220455, -0.0290350448, 0.0083218217, 0.0136014894, 0.0069629797, 0.042233441, -0.0232325941, -0.0613579303, -0.0422527343, 0.0299701523, -0.0684353784, 0.0002301438, 0.004172062, 0.0319224894, -0.0426191203, -0.0480967872, -0.0066907038, 0.0146799684, 0.0518782027, -0.0058213528, -0.0467704199, 0.0030103931, -0.0336232148, -0.0833904669, 0.0018746015, -0.044155892, -0.000326402, -0.0657715127, -0.0310204979, -0.0097646005, -0.0275718495, -0.0270028841, 0.0508845039, -0.0951104611, -0.0520943105, -0.0173862427, 0.0885086581, 0.027442649, 0.0268074814, -0.0319303349, -0.0316512659, -0.0552906655, -0.0070113437, -0.0526222214, 0.0429746211, 0.0557361394, 0.0083540203, 0.019750325, 0.0116237905, -0.0167809892, -0.0138968239, 0.0087070977, 0.0336090922, 0.0177987088, -0.0116765574, 0.0574182011, 0.0079917554, -0.0152992876, 0.0110937124, -0.0056882817, -0.0163694359, 0.00755574, 0.0124309054, 0.0031636998, -0.0752917826, 0.0117460238, 0.0098788114, -0.0228064489, 0.0292668641, -0.0135269929, -0.0255869906, 0.0793817788, 0.0082319444, 0.0134710018, 0.0267927144, 0.0594734587, 0.065545328, -0.0146912206, -0.0245660767, 0.0186814796, -0.0200128965, 0.0133845154, -0.0149371577, 0.0446334332, 0.0028311971, 0.0586044416, 0.0161327496, -0.0006202203, -0.04452895, -0.0674790367, -0.0538733974, -0.0133654047, 0.0482910424, 0.0845226049, 0.0156842377, -0.0262875985, 0.0188548993, -0.0215667412, 0.0810837969, -0.0120386444, -0.0540630333, 0.0022871122, 0.00275178, -0.0059087779, -0.0681370199, 0.0950666443, 0.0068338248, 0.0711323693, -0.0260432735, 0.0249763653, -0.0484263301, -0.0000674592, 0.0326613635, 0.0213038363, 0.015549873, 0.0031894343, 0.0105593232, -0.051658053, 0.0324066281, 0.0449157953, 0.0115727494, 0.0082243839, 0.0548535474, 0.0576492846, -0.0084546208, -0.0428485125, -0.0136807635, -0.0029131144, 0.0203297008, -0.0502365232, -0.0138298701, -6.323712185e-33, -0.0412187241, -0.0231580604, 0.0412100367, 0.0129932165, -0.0195260849, -0.0123734837, -0.0585207306, 0.0246732086, 0.0275317058, -0.0277474895, 0.0422761105, 0.0462529734, -0.00773919, 0.0179170631, 0.024961926, 0.0034404702, 0.0429080687, -0.0011566724, -0.0175597537, 0.033242099, -0.0152224591, 0.0566706359, 0.0084125819, -0.0111720702, 0.0088484362, -0.0206643622, -0.0194661431, -0.0252769496, 0.002276385, 0.0515034385, -0.0256161317, 0.0141064059, -0.0053836708, 0.0137436548, -0.0355073847, -0.0058476399, -0.0133108217, -0.0240288004, 0.01961568, -0.0033226099, -0.0139927529, -0.0850391164, 0.0353103206, -0.0225929189, -0.0362734161, 0.0042646951, 0.0123685366, -0.0066788318, 0.0018338618, -0.0103455652, -0.0658646747, 0.0136328042, -0.0348421149, -0.0224281251, -0.0430103615, 0.001482323, -0.0319062658, -0.0045975405, 0.0329607986, 0.003027115, 0.0340106636, 0.0516222604, 0.0219084304, -0.0243477412, 0.0249898415, 0.0073841373, 0.0400609784, -0.019412268, -0.0718399212, 0.055713322, 0.0240269117, 0.0685620531, 0.0281624142, -0.0069055296, -0.0096590724, 0.0208223779, -0.0632317364, 0.0093595888, -0.0595739782, 0.0335520022, 0.001679969, 0.0340568945, -0.0200574882, -0.0020415969, -0.0284315143, -0.0526404157, -0.0314652584, -0.0578865036, 0.0572811998, 0.0062110717, -0.0454607978, -0.00279594, 0.025042003, -0.0297843479, 0.0139151085, 0.0295720119, -0.0220965277, 0.0234438814, -0.027578298, 0.0470029227, -0.0128185069, -0.013556269, 0.0487385876, -0.0388901941, 0.0554836653, 0.0253254119, -0.004738926, 0.0686316788, -0.053984046, 0.0037740222, -0.0630687922, 0.0325994045, 0.0156423468, 0.0214899089, 0.0316362567, -0.0189871565, -0.0035687999, 0.0622214042, -0.0266836453, 0.0094280383, -0.0669168234, -0.0125586521, 0.0302357487, 0.0542107187, -0.0236314368, -0.0085047157, -0.0369964428, 0.0283474978, 0.0088159116, -0.0252455361, -0.0421766229, 0.0579001606, 2.775e-7, 0.0583252944, 0.0113413418, 0.0316937938, 0.073264502, -0.0045628576, -0.0063217562, -0.0087940283, 0.0091787092, 0.0104684597, -0.0213152058, -0.0250168871, 0.0357155092, 0.0303488318, 0.0066687479, -0.0185736753, 0.0501756631, -0.0085285362, 0.0088012302, -0.066137448, -0.0180957802, 0.0525356866, 0.0530683957, -0.0198445786, 0.0085447039, 0.035730198, -0.0149370916, 0.0450161621, 0.0155558493, 0.0006081359, 0.0056823245, -0.0406502075, 0.0622431003, -0.0304770544, -0.03824028, 0.0150049869, -0.014660907, 0.0080935908, 0.0613832735, -0.0005622501, 0.0304540284, 0.0510958061, -0.010638155, -0.0168469679, -0.0506852306, 0.0570498295, -0.0441327691, -0.0040413756, -0.0037203124, -0.0212102216, -0.015713606, 0.0048846328, -0.0400235467, 0.02285132, 0.0014278662, 0.0219726618, -0.0207125694, -0.0175429173, -0.0438269824, -0.0409624018, -0.0022197957, -0.0439526178, -0.0157314017, -0.062444035, 0.0352358744, 0.0587475225, -0.0039182999, 0.0008691514, 2.613509651e-34, 0.0301624537, -0.0271248259, 0.0187281072, 0.0630661547, 0.0405610166, -0.0080920253, 0.0069297319, 0.0135266874, -0.0057403375, -0.0768588856, -0.0655491576 ]
http://arxiv.org/abs/2406.11403v1
http://arxiv.org/pdf/2406.11403v1
Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Report
2024-06-17T10:45:47
2024-06-17T10:45:47
Franz Louis Cesista
cs.CV
cs.CV, cs.CL
Multimodal Foundation Models (MMFMs) have shown remarkable performance on various computer vision and natural language processing tasks. However, their performance on particular tasks such as document understanding is still limited. They also require more compute, time, and engineering resources to finetune and deploy compared to traditional, unimodal models. In this report, we present Multimodal Structured Generation, a general framework which constrains the output logits of frozen MMFMs to force them to reason before responding with structured outputs that downstream APIs can parse and use. We provide a detailed account of our approach, including the technical details, theoretical discussions, and final evaluation results in the 2nd Multimodal Foundation Models Challenge hosted by the Computer Vision and Pattern Recognition (CVPR) conference. Our approach achieved the second highest score in the hidden test set for Phase 2 and third highest overall. This shows the method's ability to generalize to unseen tasks. And that simple engineering can beat expensive & complicated modelling steps as we first discussed in our paper, Retrieval Augmented Structured Generation: Business Document Information Extraction as Tool Use. All of our scripts, deployment steps, and evaluation results can be accessed in https://github.com/leloykun/MMFM-Challenge
[ 0.037566416, 0.0793098286, 0.0183381233, 0.044719696, -0.0325167291, 0.000877144, -0.0006642287, 0.018514052, -0.0189917702, -0.0903375521, -0.0272890516, -0.0297398679, -0.0156888235, 0.0631399304, 0.0186836421, -0.0859791189, 0.0077045276, -0.0215736311, -0.0199458674, 0.0317549966, 0.02517391, 0.0321379192, -0.0160694811, 0.0132252844, -0.0479097664, -0.0250173844, -0.0282399971, 0.0388650298, -0.0234522894, -0.0398441367, -0.0109264227, 0.0126438113, 0.0589900166, 0.0310910102, 0.0000022741, -0.0593169741, -0.0373581052, 0.0238085631, 0.0063629569, -0.051056169, 0.0496208407, -0.0450699814, -0.0004065942, -0.0300146677, -0.0205035005, -0.0332281478, 0.0310137253, 0.0522466563, 0.0602060258, 0.0579891503, -0.03595718, -0.0600312166, 0.0310903974, 0.0070466995, -0.0196789298, -0.0261203032, -0.0280787144, 0.0251747463, 0.0062728799, 0.0015419298, 0.0070199813, 0.0222359188, 0.0017487779, -0.0058458135, 0.0219984446, 0.0466613434, -0.0321575478, -0.0573823489, -0.0385562517, 0.0767032057, 0.020356182, 0.0316104852, 0.0466558076, -0.020324355, -0.0260906052, 0.0170907024, -0.0655505061, 0.0588571467, -0.056383349, -0.014889583, -0.0056806826, 0.0139960134, 0.010649954, 0.0274946261, 0.0122998031, 0.0160398073, 0.0010499777, -0.0115294522, -0.0101290178, 0.0199373476, -0.0036925024, -0.0294817202, -0.0097099515, 0.0263079964, 0.0122496383, 0.0006038278, -0.0578251891, -0.0558728762, -0.0043227221, -0.0370372348, 0.0410670005, -0.0027586671, -0.039214436, 0.0598827824, -0.0454615057, 0.0111203659, -0.0515741669, 0.0122950654, -0.0239679255, 0.0178633723, -0.0544898808, -0.0176958051, -0.0153133404, 0.0097795129, -0.0732191056, -0.0553604923, 0.0148196742, 0.0362550728, -0.0126329353, 0.0332346559, -0.0159051213, 0.009654901, -0.0485038571, -0.0105524892, -0.012710806, 0.0140042733, -0.002047128, -0.0104328319, 0.0321099758, -0.0542794652, 0.0290259644, 0.0669312701, 0.0179977566, 0.0000658498, 0.0016922761, 0.0949325264, -0.0322595052, -0.0185101312, -0.0560935587, -0.0859869346, 0.0155315856, -0.0726336017, 0.0697494447, -0.0392127074, 0.0529767983, -0.0082745515, -0.0096920161, 0.0033686452, 0.0134230526, -0.0103796646, -0.0116761848, 0.0703215003, -0.0176644213, -0.0019698185, 0.0522225648, 0.0040373136, 0.0021444126, 0.0720311552, 0.0179862808, 0.0548268147, 0.0619730055, -0.0246523302, 0.0016329607, 0.0309097506, -0.0099251391, -0.0344918445, -0.0084102089, 0.0145431617, -0.0236029923, 0.0083025303, 0.0312030036, 0.0171925705, -0.0233370084, 0.0318804421, 0.0305323191, 0.0013929289, 0.0174786523, 0.0032149842, 0.0700715408, -0.0247712936, -0.0043071499, 0.0264182072, -0.0189077463, 0.020589726, -0.0383224562, 0.0398557968, -0.0147194583, 0.0180186592, -0.0114066452, -0.0103127975, 0.0072505702, -0.0027863316, -0.0211139414, -0.0290616713, 0.0821635723, 0.0299109519, -0.0661967322, 0.0232235491, -0.0345568992, -0.0692174584, 0.0204106178, -0.0171369612, -0.0059742192, 0.0670256391, 0.0963397026, -0.0109238001, -0.0144273937, 0.0175231006, -0.0185372904, 0.0458375327, 0.0384061262, -0.0322768129, 0.0205093157, -0.0735408291, -0.0434331857, -0.0225244351, -0.0087276278, 0.0046341205, -0.0051787198, -0.018090656, 0.0410419144, -0.0326644666, 0.0209037792, 0.0436862707, 0.008739071, -0.0153510794, -0.0098866839, 0.0181033332, 0.0293574557, 0.0233058147, -0.0393956862, 0.0256922729, 0.0293391496, -0.0409187116, 0.0296536256, 0.0295410417, -0.0183776375, -0.0079534547, -0.0254927296, -0.0182864647, 0.0039820285, -0.0053346124, -0.0586481616, -0.0489868224, 0.0113557652, -0.0094210366, -0.0000197296, -0.0464006215, -0.004585484, 0.0743134394, 0.0028589081, -0.0264197346, 0.0611972585, -0.0192032419, -0.021392785, 0.01063783, -0.0194521714, 0.014028267, -0.056426689, 0.0339810066, 0.0514727123, -0.0032129679, 0.0033206271, 0.0242113434, 0.0113461167, -0.0405292213, -0.0255070683, -0.0800947621, -0.0280495323, 0.0113219824, 0.0146575645, 0.0179996956, 0.032720644, 0.0080827055, -0.0282892101, -0.0277094208, 0.0345346779, 0.0554551072, 0.0029041439, 0.0312666558, 0.0370260477, -0.0054738922, -0.0181120224, -0.0194436181, 0.0031917198, 0.0396305099, 0.0313447192, -0.042671483, -0.0586410314, -0.0123902373, -0.0281513352, 0.0265121143, -0.0182205066, 0.0333833024, 0.0331364758, -0.0843160152, 0.0099063423, 0.0646232143, 0.0123431133, 0.0600838661, -0.0210374724, -0.0477187708, -0.0301851463, 0.0235724133, -0.0216954295, 0.0527547747, 0.0077575399, -0.0372256748, 0.0350245237, 0.0334838293, 0.0134184957, 0.051690001, -0.0268423054, 0.0263068732, 0.0279849041, -0.0496877581, -0.0308129713, 0.0088327173, 0.0143652754, 0.0512780212, -0.0119348709, -0.0514805838, 0.0321643502, -0.071892485, -0.0102649163, 0.0105297407, 0.032983914, -0.0363612957, 0.1172391623, 0.02154053, 0.0284424778, 0.0116607249, -0.0186849795, -0.0341111682, -0.0258131064, 0.0519927554, -0.0120582655, 0.0048029847, -0.0664230809, 0.0185275432, -0.0389262661, -0.0074521173, -0.028505927, -0.0267322492, -0.0061551197, -0.0087253628, 0.0106360344, 0.0094033973, -0.0541251972, 0.0296289492, 0.0020069445, 0.0464864224, 0.0128961317, -0.0209238864, -0.0375371091, 0.0829378143, 0.0250593107, 0.0248904712, -0.028723428, -0.0716188997, -0.0158166178, 0.0592325963, 0.0403563119, -0.0072872951, -0.0421391055, 0.0134972902, 0.014996537, 0.0160017647, -0.0203311294, -0.0043205889, 0.0417603999, -0.0834056139, -0.0039835414, 0.0409354344, 0.013490025, 0.0154687865, -0.0149846142, 0.0387674235, 0.0411587693, 0.0019353268, 0.0311946906, -0.0695605725, -0.0379703902, 0.0230331458, 0.054584749, 0.0071443771, -0.0246098302, -0.0249677841, -0.0825176686, 0.0920057371, 0.0063995314, -0.0142296953, -0.0086195432, -0.0223851837, -0.0221834816, 0.0280793086, -0.0648082271, 0.0330110565, -0.0106622633, -0.0044372138, 0.0089468593, -0.0276643634, -0.037484955, -0.0238054283, 0.0068957945, -0.0193353072, 0.0627352148, -0.0058024018, 0.0181197599, -0.0407288969, 0.0348694026, -0.0011374712, 0.0266292021, -0.0451145619, 0.0291230939, -0.0144857047, -0.0085298158, 0.000234835, 0.0179687776, -0.0091036065, -0.012985466, -0.0140071735, 0.0280867778, -0.0412120782, 0.0076813032, -0.0648043826, 0.0121701462, 0.0028015401, 0.0463786684, -0.013195863, -0.0052353977, -0.0580440983, -0.0193434414, 0.0322512239, -0.0685790107, 0.0232773945, 0.0117751285, -0.0311105046, -0.0188361313, -0.0684483647, -0.030922085, 0.0019594135, 0.068032138, -0.0381408259, -0.048593618, -0.0073722941, 0.0315371193, -0.061438363, 0.0388510115, 0.0109723043, 0.0042476086, -0.0651575401, -0.0139528578, 0.0041701393, -0.0608383529, -0.021858979, 0.0600680858, -0.0531645939, -0.0228412058, -0.0374838822, 0.0693168491, 0.0202031173, 0.0322514623, 0.0291180704, 0.0090522552, 0.0018477632, 0.0375303663, -0.0335913338, -0.0096014086, 0.0281130672, -0.0236178301, -0.0195451919, -0.0105686784, -0.0617627427, 0.0321021937, -0.0181808695, 0.0711454749, 0.0352073871, -0.0192903019, 0.0077183037, 0.0428375825, -0.0030404932, -0.0382021889, 0.0342448764, -0.0449056216, -0.0161759257, -0.0078193704, -0.0592230074, -0.0854354277, 0.0223004706, -0.0092710769, -0.0001391092, 0.0439238027, 0.029146798, -0.0080766119, 0.0716760084, 0.0182377715, 0.0110079814, 0.0438142121, 0.0083976155, -0.007641315, -0.032479208, -0.0200047363, 0.0416032523, -0.0330195762, 0.041834712, -0.0403619409, 0.1070456728, 0.0127754286, 0.0021509768, -0.0399779864, 0.029373575, -0.0169386659, -0.0075108106, -0.0578952543, 0.0021721823, 0.034324117, 0.0069817929, 0.0584467351, -0.061486695, 0.0006513585, -0.0230402257, 0.0657803565, 0.065437071, -0.0473649614, 0.022000296, 0.0103916386, 0.0010707673, -0.0202213991, 0.0722677708, 0.0171979778, 0.0175167769, -0.028457284, -0.0274120737, -0.0884195864, -0.0433554687, 0.0547244251, 0.0167104825, -0.001278504, 0.0081849676, -0.0453099087, -0.00440046, 0.0261798482, 0.0383080654, -0.0030099638, 0.020329887, 0.0351336114, 0.0860413611, 0.027111169, -0.0302897114, -0.0672961101, 0.0247210506, -0.0131753897, -0.0088401781, 0.0129252588, -6.552233429e-33, -0.03432706, -0.0396039337, 0.0366961174, -0.0173661951, -0.025008874, 0.0156083265, -0.0475202501, -0.0066817426, 0.0326217785, -0.0369117148, 0.0156471319, -0.0489700213, 0.0249626357, 0.0377336442, -0.0053401096, 0.0259537566, 0.0227766316, -0.0167664159, -0.0293196458, 0.010679015, 0.0578773804, 0.0275872424, 0.0353635512, -0.0986675397, 0.0143509973, 0.0031552319, -0.0503202938, -0.0005820029, 0.0180814229, 0.0473394543, -0.0196079314, -0.0051836865, 0.0332959369, -0.0116139585, -0.0217087101, 0.0221005417, -0.0858183578, 0.0393415615, -0.0172593463, 0.0362244248, -0.0993111506, 0.002981456, 0.0464933291, -0.0503455885, 0.0346835516, -0.004992527, 0.0322835855, -0.0303479936, 0.0066883359, -0.0535231493, -0.0546661951, 0.0444245152, 0.0099225016, -0.0108635556, 0.0486084856, 0.05541851, 0.0268244185, 0.001707411, -0.052969534, 0.036840342, -0.0282536615, 0.003848546, 0.0921497494, 0.0462406501, 0.0086510973, 0.0442538522, 0.007447267, -0.0242044292, -0.0045407848, 0.0058858013, 0.0049215341, 0.1051460803, -0.0194897316, 0.0510229953, -0.0039004199, 0.0271401498, -0.0214985795, 0.0494451299, -0.0046769073, 0.0329998955, 0.0095186019, -0.0046527488, -0.0119079286, 0.0204640273, 0.0058530173, -0.0443389714, -0.0190308951, 0.0043804524, 0.0395585671, 0.0496298075, -0.0360547416, -0.0044057406, 0.0723574013, -0.0127534671, -0.012316972, -0.0196964256, -0.017241234, 0.0577730536, -0.0203818828, -0.0296669342, -0.031148959, -0.0655957088, 0.0450529084, 0.0035642954, 0.0008643821, 0.0142032392, 0.0068998397, 0.0301075242, -0.0204262547, 0.0061930157, -0.0304797534, 0.0357807912, -0.0135775208, 0.0462181829, 0.0364584252, -0.039037548, -0.045073919, 0.01342599, -0.0061621633, 0.0259956643, -0.0189127382, -0.0262310766, 0.0264006555, 0.066202417, -0.017766986, 0.0352690555, -0.0383796953, -0.0553352237, 0.046902027, -0.0206122454, 0.0020322178, 0.0387193337, 2.9e-7, 0.0334635526, 0.0052682469, 0.0248256028, 0.002048702, 0.0402784012, 0.0536455102, -0.0119269928, 0.0122992797, -0.0623791069, -0.0559463501, -0.0003254315, -0.0113939596, 0.0600208156, 0.0128715634, -0.0223305468, 0.004518922, -0.0248065386, -0.0098488862, -0.0518316887, 0.0055126818, 0.038388107, 0.0202511381, -0.0499400906, -0.0431509539, 0.0166264437, -0.0445898138, 0.0727116689, 0.0236481577, -0.00531044, -0.0054508084, 0.0356305987, 0.0117800888, -0.0255572982, -0.0240136255, -0.0138344998, -0.0343460664, 0.0509535894, 0.060221903, -0.001922725, -0.0116968099, 0.0154445972, -0.0062048826, -0.0139558855, -0.0255747307, 0.0478799753, 0.0043880814, -0.0228859633, -0.0126738511, -0.0715292841, 0.020579299, -0.0640022382, 0.0047954824, -0.044006899, 0.048978854, 0.0269120224, -0.0379171409, -0.0300318915, -0.0417658128, 0.0071863313, -0.0357621536, -0.0432493649, -0.01187135, -0.0322769992, -0.0079294657, 0.0111365849, -0.0313878581, -0.083327502, 2.863600895e-34, 0.024930831, 0.0107392119, -0.0160406157, -0.0028980626, 0.0347118117, -0.007468354, -0.0390289873, 0.0049426593, -0.0208743121, -0.0540214404, -0.0193957053 ]
http://arxiv.org/abs/2406.11402v1
http://arxiv.org/pdf/2406.11402v1
Evaluating Open Language Models Across Task Types, Application Domains, and Reasoning Types: An In-Depth Experimental Analysis
2024-06-17T10:45:36
2024-06-17T10:45:36
Neelabh Sinha, Vinija Jain, Aman Chadha
cs.CL
cs.CL, cs.AI, cs.LG
The rapid rise of Language Models (LMs) has expanded their use in several applications. Yet, due to constraints of model size, associated cost, or proprietary restrictions, utilizing state-of-the-art (SOTA) LLMs is not always feasible. With open, smaller LMs emerging, more applications can leverage their capabilities, but selecting the right LM can be challenging. This work conducts an in-depth experimental analysis of the semantic correctness of outputs of 10 smaller, open LMs across three aspects: task types, application domains and reasoning types, using diverse prompt styles. We demonstrate that most effective models and prompt styles vary depending on the specific requirements. Our analysis provides a comparative assessment of LMs and prompt styles using a proposed three-tier schema of aspects for their strategic selection based on use-case and other constraints. We also show that if utilized appropriately, these LMs can compete with, and sometimes outperform, SOTA LLMs like DeepSeek-v2, GPT-3.5-Turbo, and GPT-4o.
[ 0.0448389649, 0.0038729259, -0.0210723411, 0.0493906885, -0.0888922513, -0.0362883508, 0.0024985028, 0.0043795719, 0.0212470312, -0.0594314858, -0.0189502444, -0.036189653, -0.0205079932, 0.0686699525, -0.0028651794, -0.0416058861, 0.0671392381, -0.0502898358, -0.0050743376, 0.0142377, -0.0123899551, 0.0405758247, -0.0014494092, 0.0617448315, 0.0238852128, -0.0245514046, -0.02704807, 0.0149010876, -0.0192452092, -0.0089588696, -0.0095990645, 0.0412350148, 0.0077106762, 0.0468434356, 0.0000023829, -0.0894691423, -0.0150696337, -0.0029715747, -0.0473161861, 0.0215438269, 0.0425661579, 0.0194344744, -0.035590928, 0.0145049347, -0.0248604305, -0.0222466215, 0.0358851813, -0.0062407996, 0.0388773754, 0.0410635993, 0.0023189478, -0.0109587982, 0.044729609, -0.0102212103, -0.0143183637, -0.0250110142, 0.0035855304, -0.0158214588, 0.0464207307, 0.0214990228, 0.0238675401, 0.0215696041, 0.0254551023, -0.00307948, -0.0272314418, 0.0304729193, -0.0106312875, -0.0256406255, -0.0396422036, 0.0506951138, 0.0128472187, 0.0063249581, -0.0202416796, -0.0449536145, -0.0171016809, -0.0185211003, -0.0225263704, 0.0658142716, -0.0068656253, 0.0158941969, 0.0273571331, 0.0235843565, 0.026112752, 0.0267488454, -0.0101208938, 0.1274498403, 0.0298509374, -0.0229932237, 0.017101096, -0.0376576558, -0.0236804187, -0.0845291093, -0.0124248443, 0.0206100959, -0.0419659838, 0.0523662046, -0.0466414802, 0.0071573402, 0.0459481813, -0.0109898197, 0.0751562119, 0.0577767268, -0.0293590706, 0.0438451916, 0.0031472032, 0.0557054766, -0.0058553815, 0.0427085608, -0.0172361061, -0.0151042268, -0.0379843004, -0.0165059473, -0.0402784497, 0.0347385928, -0.0643909052, -0.0055076275, -0.0076281535, 0.0577126853, -0.0022136003, 0.0184618011, 0.0391974822, -0.0311754681, -0.032216005, -0.0340107456, -0.0889509991, -0.0014137013, -0.0070386692, 0.0277709197, 0.0126776882, -0.1071628854, 0.0153639968, 0.0184651949, -0.0450694971, -0.0226681437, -0.00757998, 0.0556028336, 0.0295122918, -0.0119245509, -0.0686893612, -0.0551369451, -0.0107248332, -0.0538285375, -0.0422830917, -0.0957990736, -0.0188514236, 0.0229684468, -0.0172018465, -0.0515354387, 0.0018084215, 0.0385391898, -0.0233112853, 0.0584788248, -0.0403794572, 0.0087658446, 0.0174761526, 0.0122920079, 0.0038751662, 0.0752357617, 0.0047440808, 0.033798974, 0.0422890149, 0.0010476062, -0.0168703329, 0.0487249829, -0.0338996463, -0.0137330983, 0.0011277478, 0.0534160435, 0.0268300008, 0.0478375927, -0.0037119067, 0.0605736114, 0.0320434682, 0.0150668202, 0.0554563776, 0.0490797088, 0.0287709925, -0.029657105, 0.073909618, 0.0156583153, -0.0183517002, -0.0289582331, -0.0508981347, -0.0086996956, -0.0387408696, 0.0458427742, -0.0029045534, 0.0245195441, -0.020169856, -0.0495462492, -0.0377957076, -0.013590496, -0.0020276057, -0.0088459169, 0.0418086722, 0.0081796879, -0.0609065555, 0.0734040886, 0.0254963469, -0.0248173866, -0.0329102986, -0.0846360698, 0.0576017238, 0.0501003303, 0.0479503348, -0.0249709953, -0.0222465415, -0.0092211217, 0.0015421973, 0.0548929088, 0.0953002274, 0.0198983084, -0.0230021365, -0.0485418774, -0.0080657247, -0.0204576459, 0.0240725745, 0.0186765827, 0.0050673196, 0.0011064864, 0.0178555995, -0.0415507965, 0.0026626682, 0.010584184, -0.0137951067, -0.0025820131, -0.026346093, -0.0022660163, 0.0074839354, 0.0332727097, 0.0232862476, 0.0337016173, 0.0283009484, -0.0044453014, -0.0087219439, -0.019496087, -0.045083303, 0.0505702607, 0.0300625693, 0.0222110003, -0.0033398611, 0.034956418, -0.027413832, -0.0394107662, 0.0201610699, 0.0059416341, 0.0115188472, -0.0711360946, 0.0287470687, -0.0091565466, -0.0398296379, -0.047622662, 0.0621336997, 0.0121818585, 0.0063249478, 0.0382297039, -0.0035847814, 0.0226515587, -0.0369264334, -0.0357621051, 0.0310501717, -0.020538887, 0.0256282203, -0.0054102642, 0.0233721193, -0.0609470531, -0.0327865705, -0.0837331638, 0.0554878488, -0.0365042835, 0.0253160931, 0.0220423117, 0.0328427739, -0.0222889446, 0.0179229546, -0.0087098656, -0.0009124147, 0.0296129342, 0.0172279552, 0.022055544, 0.0028462363, -0.033341486, -0.0159464981, -0.0103897825, -0.0308456291, 0.0126447519, -0.0255081896, 0.0367471166, -0.0422349311, 0.045198746, -0.0373110808, 0.0078746453, 0.0050950637, 0.0233513676, 0.0241919681, -0.0167904142, 0.0464192405, 0.0127048884, -0.0088537652, 0.0203504264, 0.0350623876, -0.0117083089, -0.0398863293, -0.001760197, 0.0070490432, -0.0611571185, -0.0227332916, -0.0257226545, 0.0181177221, 0.0471542031, 0.0147031089, 0.017145237, -0.0615155473, 0.0058753733, -0.0377651751, -0.0017377132, -0.0350842439, -0.0189555101, -0.0318404548, 0.0693459585, 0.00250259, -0.0434491113, 0.0662349239, -0.033059828, 0.0256441291, -0.0391130485, -0.016095344, -0.0600585938, 0.0813134536, -0.0585842095, -0.0151305674, 0.0669261366, -0.0356591567, -0.0388734378, -0.0055830847, 0.0108077154, -0.0335149281, 0.0891329572, -0.0790125057, -0.0035840066, -0.0258928612, -0.0022241434, -0.0290628839, -0.0572471693, -0.0673869923, 0.0611484274, 0.0038916373, 0.0474434234, -0.0022109586, 0.0305319522, -0.0134188421, 0.0268264059, -0.0053841881, -0.0045408653, -0.0601644441, -0.0233065989, 0.0266220346, 0.01946388, -0.013275722, -0.0081454841, 0.04412416, 0.0191973858, 0.0168858394, -0.0266424492, -0.026463598, -0.0099602491, 0.0406219289, -0.0571540073, -0.0628830791, 0.0623497181, 0.0484271571, -0.0744783655, -0.0024232389, 0.1272009909, 0.040579848, -0.0042534815, 0.004966469, -0.0490138568, 0.039214626, 0.0256815087, 0.020370042, -0.1021765321, -0.0477989465, -0.0089845341, 0.0085739065, 0.0068830699, -0.009258789, -0.0182018466, -0.1332738549, 0.0383866206, -0.0129067423, -0.0273024924, -0.0024235512, -0.0243252888, 0.0119063472, -0.002026458, 0.0281862002, 0.0366952419, -0.0123495292, -0.0192804616, 0.008927864, -0.0115733109, -0.0312332921, 0.0565902367, -0.0343673266, 0.0490312614, 0.0645136982, -0.0247621648, -0.0116504831, -0.0743266046, 0.0460272878, 0.0051598181, 0.0114381779, -0.0262204595, -0.0103250714, 0.0008692585, 0.0103680687, -0.0224384777, -0.001428291, -0.0352897495, -0.0196879804, 0.0067624766, 0.0967997238, -0.0352604985, -0.0008614893, -0.0215175897, -0.0204611924, 0.0071299719, 0.0857158974, 0.0002275992, -0.0274432171, -0.0508125536, -0.0235914644, -0.0273728222, -0.0076326542, -0.0324076489, 0.0136173805, 0.0100472718, -0.0258199349, 0.0011655383, -0.0422711931, 0.0343916863, -0.0034695952, 0.0114933318, 0.0094284145, -0.0072907205, 0.0004535555, -0.0170931425, 0.0242034215, -0.0545627661, 0.0737095103, -0.0755095258, 0.0287178513, 0.0256074797, -0.043109823, -0.0051897801, -0.0031362565, -0.0476123579, -0.0464375876, -0.0135426568, 0.0417501964, 0.0305697918, -0.0152772665, -0.0286018364, -0.0434079953, -0.0126627563, -0.0022794604, -0.0232706089, 0.0121069793, 0.0289181136, 0.000037798, 0.0108167287, 0.0523129851, -0.0390429534, -0.004840211, -0.0192384701, 0.0339496359, 0.0236211289, -0.069510825, 0.0352301784, 0.0375859439, 0.0547697283, -0.0148656843, -0.0143089229, -0.0230839718, 0.0185904596, -0.043661382, -0.0289836228, -0.0203540009, 0.0270896573, -0.0014246119, -0.011051489, 0.0209764782, -0.0140469875, -0.0562967658, 0.0502216071, -0.0434393287, 0.0111726718, 0.0130539434, 0.0476983674, 0.0095934831, 0.0058652801, -0.0495552681, 0.0190278664, -0.0509179644, 0.0356129929, -0.0272544175, 0.084583886, -0.0043353406, 0.0111782597, 0.0022302419, 0.0492542014, -0.0311460793, -0.0519678853, 0.0360341892, 0.0471598692, 0.0389749259, 0.015814418, 0.0225892756, -0.038362287, 0.0054265964, -0.0310226418, 0.0282435957, 0.0621520057, -0.0502030067, 0.0626769811, 0.0239042267, -0.0269981641, -0.0275827758, 0.0477715135, -0.030681435, 0.0175601095, -0.0035039755, -0.0105560347, -0.0417066328, 0.0034720749, 0.0152502498, 0.0372861698, -0.0342123024, -0.0285291057, -0.1166109815, -0.0320278592, 0.0006204658, 0.0423203111, -0.0009392056, -0.0066737635, 0.0465455204, 0.0811998993, 0.0499483682, -0.0394243784, -0.0384366252, -0.0156531669, -0.0321610719, -0.0120599773, -0.0238066502, -6.471073626e-33, -0.0244384874, 0.015668612, 0.026667824, -0.0182032771, -0.012644982, -0.0117992433, -0.0167053025, 0.0138795935, -0.0430508815, -0.0254880767, -0.0084371064, -0.0022899765, 0.0226680338, 0.0103408266, 0.0137289017, -0.0155142462, 0.0224835481, -0.0009261065, -0.0269399621, -0.0094593577, 0.0291712321, -0.0281758886, 0.0348785929, -0.0382619537, 0.0714032724, -0.0025012342, -0.0057336036, 0.0065872674, -0.0392187014, 0.0568687879, -0.0022929024, 0.0583168752, 0.0042868168, -0.0746164247, -0.020223001, 0.0268210787, -0.0208194219, -0.0240577571, 0.0746446103, -0.0192367304, -0.0497255288, -0.0511584766, -0.0181333274, 0.0070936829, -0.0285871997, 0.0058942446, 0.0059256507, -0.0145036206, -0.0008209816, 0.0404801369, -0.0302691944, 0.02668746, 0.0202176161, -0.0292396266, -0.0059851985, 0.0142443283, -0.0131501341, 0.009396825, -0.0079065999, 0.031822335, 0.033112321, 0.002844888, 0.108817026, 0.0177828968, -0.0297142062, 0.024089396, -0.0346430726, 0.0147776231, -0.0317394957, 0.0082551185, 0.0087039089, 0.0784206614, 0.0373327881, 0.0164366849, -0.0186539106, -0.0056362581, -0.0433574654, 0.0117064714, 0.0209606607, 0.0064171958, 0.0287530366, 0.0220280625, -0.0508859977, -0.0157293193, -0.0466339067, 0.0248479154, -0.040563304, -0.0487911329, 0.0559868328, -0.0464033782, -0.0030166972, -0.0145818181, 0.0176649168, -0.0339506492, 0.0127472356, -0.0108731315, -0.0220462773, 0.0199205149, -0.0234902203, 0.0419995785, -0.0513402969, 0.0037933057, 0.0028951187, 0.0052895937, -0.0100386692, 0.0299875643, -0.0348326415, 0.0187391508, -0.0404168032, 0.0197225902, -0.0449341983, 0.0291509125, -0.0154509451, -0.0149359899, 0.030202033, -0.0103351036, 0.0045162602, 0.0725403279, 0.0091377161, -0.0621873252, -0.0543472618, -0.02136546, 0.0121821184, 0.0008458602, 0.004517524, 0.0159058124, -0.0182649214, 0.0211240575, 0.0135321114, 0.0292858593, -0.007372533, 0.0270149391, 3.03e-7, 0.0400616266, 0.0013721691, 0.0151749207, 0.0837677941, -0.020231409, 0.0440024212, 0.010986181, 0.0404867716, 0.0054651983, -0.0329284109, -0.0179218054, 0.0108706094, 0.0436163992, 0.0044560749, -0.0544617362, 0.0161936022, -0.0366920792, 0.0214197244, -0.0783460885, 0.0251922943, 0.0953861922, 0.067301698, 0.0071885469, 0.0015805868, -0.0432672761, -0.0045811543, 0.0118742529, -0.0476542749, -0.018367758, 0.0303436872, 0.0441083163, 0.0027420751, 0.0234393962, 0.0472830869, 0.0271452703, 0.0113092465, 0.0004831548, 0.0599720366, 0.0018212261, -0.0506118387, -0.016396204, -0.064058952, -0.0033269422, -0.0806581751, 0.0722752735, 0.0006084611, -0.0263937656, -0.0100701358, -0.0100145731, 0.0025802467, -0.0044974224, -0.0277105682, -0.0180487074, -0.0059893886, 0.001040732, -0.016191747, -0.0162832364, -0.0276687834, -0.0355008505, -0.0028161618, -0.014947406, -0.0593298487, -0.0352410078, 0.0184644628, 0.0313792415, -0.0578124486, -0.012655478, 2.969033326e-34, 0.0234248843, 0.0097028371, 0.0218064338, 0.0093256263, 0.0243749935, 0.0375585705, 0.0143620297, 0.0192540139, 0.0100386925, -0.0820512995, -0.0317969136 ]
http://arxiv.org/abs/2406.11400v1
http://arxiv.org/pdf/2406.11400v1
Large Language Models and Knowledge Graphs for Astronomical Entity Disambiguation
2024-06-17T10:38:03
2024-06-17T10:38:03
Golnaz Shapurian
cs.CL
cs.CL, astro-ph.IM
This paper presents an experiment conducted during a hackathon, focusing on using large language models (LLMs) and knowledge graph clustering to extract entities and relationships from astronomical text. The study demonstrates an approach to disambiguate entities that can appear in various contexts within the astronomical domain. By collecting excerpts around specific entities and leveraging the GPT-4 language model, relevant entities and relationships are extracted. The extracted information is then used to construct a knowledge graph, which is clustered using the Leiden algorithm. The resulting Leiden communities are utilized to identify the percentage of association of unknown excerpts to each community, thereby enabling disambiguation. The experiment showcases the potential of combining LLMs and knowledge graph clustering techniques for information extraction in astronomical research. The results highlight the effectiveness of the approach in identifying and disambiguating entities, as well as grouping them into meaningful clusters based on their relationships.
[ 0.0527617112, -0.013650368, -0.0041365162, 0.0470426194, -0.0378441103, 0.0203164034, 0.0036595846, 0.0373682939, 0.0826404616, -0.0410291515, 0.0064178831, -0.0029960484, -0.0036849582, -0.03892456, 0.0033266393, -0.0468910784, 0.051697731, -0.032421276, 0.0383152291, -0.0189680383, -0.0333643407, 0.0022170192, -0.0072438573, -0.0510290377, -0.0113070542, -0.0213452876, 0.0244510695, -0.0144791072, 0.0533769056, -0.0243086293, -0.0429590791, 0.037877623, -0.0159122683, 0.093975611, 0.0000014823, -0.0669018924, -0.0480090417, 0.0365020894, -0.0151588339, 0.0478456356, 0.0335420668, 0.0011847159, 0.0204495098, -0.0459136963, 0.0065581473, -0.0220653675, 0.0369341411, -0.0190821942, 0.0208200105, -0.0005565666, -0.0118659595, -0.0620615669, -0.0204994101, -0.0007072854, -0.0023739692, 0.0078706313, 0.0700411573, 0.0666473657, 0.0193864815, 0.0398892462, -0.0243827701, 0.0715218708, -0.0358310342, 0.0072130733, 0.0349466987, 0.0195731334, -0.0714104474, 0.0004721243, 0.0492122583, 0.0264899842, 0.0745012239, -0.0451467596, 0.0692918375, 0.0190816578, -0.0429428406, 0.1171699464, -0.0399898589, 0.0178931449, -0.0164378192, 0.0055768536, 0.0059996024, -0.0488914438, 0.039643988, 0.0192013085, -0.039388191, 0.0844888762, 0.0341994315, -0.0328090042, -0.0049845474, 0.0143052042, -0.0010983874, -0.0417978391, 0.0449286662, 0.0262603555, 0.0374341905, 0.0459021814, 0.0065437495, 0.0242193118, 0.0285227522, -0.0436972938, -0.0554672815, -0.0132276928, 0.0245465282, 0.0887102857, -0.0071660979, -0.0054434501, 0.0051796492, -0.0395766534, 0.0255856887, -0.0385529511, -0.074011907, -0.0122222565, -0.0221882202, 0.0227816142, 0.0016830981, 0.0224222094, -0.0202677585, -0.008016713, 0.0189804845, 0.0324037224, 0.009545275, -0.0298139136, -0.0278295185, -0.0304296985, -0.0418761224, 0.0233921614, 0.0085660592, 0.0083729625, -0.037500035, -0.0379081033, 0.0123136751, 0.0537921898, 0.0133482497, -0.0344897322, -0.0024277736, 0.0808449984, 0.0538126752, -0.0492648445, -0.0321664177, -0.0460296497, 0.000788752, -0.0382406227, 0.0121807167, -0.0627234876, 0.0209851917, 0.0463300906, 0.0074736727, -0.0339680761, 0.0112097338, -0.0146392714, -0.0605514683, 0.0340442359, -0.0830293894, 0.0059605725, 0.062936306, 0.027456753, 0.008170886, 0.0096470062, 0.0659308732, 0.0030350541, 0.0753790811, -0.0107075647, 0.0063421414, 0.0186834149, -0.0003366397, -0.0182783902, 0.017110901, 0.0075073009, -0.0519029535, -0.019414952, -0.0149887176, 0.0676935315, -0.0226249751, 0.020389732, -0.0230038054, 0.0316399559, -0.0100095477, 0.0582680069, -0.02077589, 0.0104548726, 0.0271384604, -0.0477923378, -0.0042389282, 0.0140462453, -0.0246898308, 0.0100592319, 0.0107562663, 0.047554329, 0.0168199148, 0.0186375771, -0.0012792055, 0.0021289983, 0.0031098488, -0.0281220935, 0.0791892037, -0.0310235489, -0.0157149825, 0.0585009716, 0.0610230938, -0.0168702547, 0.0460682511, 0.0113106184, 0.016172478, 0.0221040919, 0.022213608, -0.0496986322, -0.0207548793, 0.0389626175, -0.0325806066, 0.0573942214, -0.0158282574, -0.0473311543, -0.040233437, -0.0355801545, -0.0362359509, 0.0295497384, -0.0040813936, 0.017890105, 0.0319963917, 0.0118039018, 0.0165371709, -0.0859332755, 0.0007793035, 0.0119161541, -0.0476242267, -0.016789956, -0.0511688069, -0.010906755, -0.0079577724, 0.0238379911, -0.0144906072, -0.0048435489, 0.0267194528, -0.0044442415, 0.0130302925, -0.0091836331, 0.0600098111, 0.013116546, 0.0460725836, -0.0620984137, -0.0245978255, -0.0198990721, 0.0028234918, -0.0496306121, 0.0184259545, -0.030160632, 0.0430832617, 0.0138038881, 0.0088699674, -0.0217261966, -0.0375698023, -0.0538874865, 0.0588859059, 0.006847146, 0.0520891249, 0.0081815561, -0.0083729737, 0.0288075637, -0.0105327833, -0.0179036949, -0.006039741, 0.0434986241, -0.0147784688, 0.0479565375, -0.0450024046, -0.0345040746, -0.045741532, -0.0683891773, -0.0027683787, 0.0025194976, 0.0120249409, 0.0233151764, -0.0007020801, -0.026650317, 0.009296936, 0.0417054594, 0.0236291271, -0.0128614362, -0.0308127329, 0.0548123829, 0.0008746348, -0.0244974531, -0.0323276818, -0.0168786626, -0.0279911589, 0.0567347519, 0.060591206, -0.0759292245, -0.0630017966, 0.0739607066, -0.0678282678, -0.034471225, -0.0137338545, -0.0122884177, -0.0133890845, -0.01558802, 0.0273616202, 0.0145177543, -0.0207358841, -0.0184525922, 0.0451257825, -0.0540019944, 0.0209123697, -0.028148137, -0.048555892, 0.0359756723, -0.0232189707, -0.0066022449, 0.022549741, -0.0084323138, 0.0043280441, -0.027046809, 0.0225370359, -0.0046696528, -0.0484711751, 0.0376824625, 0.0302664656, 0.0151385702, -0.027035648, -0.0113750473, 0.024352489, -0.0232482273, 0.0348024257, -0.0368172452, 0.0297435708, -0.0350522101, -0.0175227746, -0.0122017469, -0.0064030113, -0.0067864368, 0.026880227, -0.0051421192, -0.0194252692, -0.017086193, 0.033068005, 0.0045659593, -0.0160255134, 0.0526193008, -0.0570330247, 0.0177020691, 0.010083409, 0.0527678058, -0.0179366115, 0.0392603874, -0.0204799864, 0.0335609354, 0.0562971719, -0.0461339243, -0.0064883563, 0.0198511072, 0.0585695356, -0.0485037789, 0.0089164358, -0.0006704711, -0.0316045359, 0.058063522, 0.0564189665, -0.0364453867, 0.0461732484, -0.0230531003, -0.0336471461, 0.0342692211, 0.0089740669, -0.0477416702, 0.0207071416, -0.0615404546, 0.013756969, -0.0754658878, -0.0188857485, -0.0223554, 0.0313178524, -0.0022342564, 0.0080423746, 0.101424627, 0.0311044548, -0.0581990778, -0.0080938982, 0.0369652286, -0.0129391607, 0.0349214748, -0.0189405438, -0.0727050155, 0.0417261906, -0.0346550979, -0.0100526614, 0.0392551757, -0.0586112477, -0.0070798248, -0.0561155751, 0.0152109265, 0.0209881272, -0.0645869598, -0.0478714295, -0.0846930966, 0.0050538345, -0.0175154097, -0.0680288821, -0.0024347377, -0.0134581672, 0.003596952, 0.0120737692, -0.0344698094, -0.0627987087, -0.018668808, -0.0479711406, 0.0425963216, -0.0183435511, 0.0503044389, -0.0327036902, 0.0456797294, -0.0219629928, -0.0439670421, -0.0293547306, -0.0095688151, -0.0020664372, 0.0394553915, 0.0060138274, -0.0243586432, 0.0197658036, -0.0442656204, -0.0099736722, 0.0273981038, 0.0746173114, -0.0068060723, -0.0202437192, -0.0096822632, -0.0196003672, 0.012444838, 0.0649550408, -0.048636917, 0.0283055957, -0.0199570395, -0.0072597647, 0.0174320266, 0.0342655666, 0.0091148745, -0.0094048083, -0.0151311429, 0.0186458714, -0.01535857, -0.0020141844, 0.0110780792, 0.0150361573, 0.0230378732, 0.0413286984, 0.0647288784, -0.0027544843, -0.0441312902, 0.0178172328, -0.0711883083, -0.0198395941, -0.0270548258, -0.0489855334, 0.0439069718, 0.0244380459, -0.031409584, -0.0022427717, -0.0853044167, -0.0410565473, 0.0107448399, -0.0331271254, 0.0279125776, 0.0374423899, -0.0155916335, -0.0416459031, 0.0131024318, 0.0031663859, -0.0132653555, 0.0264347605, -0.0849188045, 0.0254260544, -0.0103171086, -0.0142279053, -0.0306153949, 0.0098373052, 0.0069128452, 0.0056365174, -0.1144465208, -0.0509053804, -0.0107023641, 0.0693867132, 0.0128375702, -0.0685479492, 0.0097139031, -0.0010952761, -0.0217278879, -0.0260967128, 0.0232702307, 0.0442659892, 0.0208957326, 0.0055268081, 0.0040658079, 0.0272255074, 0.0270675067, 0.0351441354, 0.0027686041, -0.0269419607, 0.0115190791, 0.0293250829, -0.0008377514, 0.0317452177, -0.0123103838, 0.0188883394, -0.02950974, -0.0116212443, 0.0061099781, -0.0343159735, 0.0263735522, 0.0386530198, -0.0196586009, -0.0158031657, 0.0129832169, -0.0723595172, -0.0024818198, -0.0101572052, 0.0324554108, 0.0537362285, 0.0349121764, 0.0383313783, -0.0828311965, -0.0352931693, 0.0100416755, 0.0385691635, 0.0087679671, 0.0392961353, 0.0312136747, 0.021067366, -0.0326336697, 0.0472175926, 0.057968881, 0.0086356653, 0.0174139496, 0.0300429426, -0.0105126388, -0.0408721827, -0.0267091934, -0.0424751788, -0.0227996018, -0.0279694758, -0.0000134143, -0.059567567, -0.0202781726, 0.0095914993, 0.0083011976, 0.0093515674, -0.0284813084, 0.0566623099, 0.0311991237, -0.0038713387, -0.0210394617, -0.0267242733, 0.016080318, -0.0472418368, -0.026438918, 0.0035378113, -5.79954456e-33, -0.0347864032, -0.0403655171, 0.0082048625, -0.0049080481, -0.0412047431, -0.0116351694, -0.0352339149, -0.0318050943, -0.0069572139, 0.0303325262, 0.0418585129, 0.0195009634, 0.0025759521, -0.0203983895, 0.0020909647, 0.0160581563, 0.0309972614, 0.0426184684, -0.0132618789, 0.0598390587, 0.0771982968, 0.0177872721, 0.0241052024, -0.0955953971, 0.0448785461, 0.0089076338, 0.0212415513, 0.0119585963, 0.0153600061, 0.0601438321, -0.0472686552, 0.0354333445, -0.0003585282, 0.0115591744, 0.0297814365, -0.026910983, -0.0640898272, 0.0019162215, 0.0269560907, 0.014019697, 0.0517058484, -0.0370926782, 0.0010976051, -0.0006790737, -0.0053566899, -0.0026325197, 0.0636482611, -0.0048097717, -0.0691950694, -0.0433925651, -0.0021901163, 0.0358811319, -0.0220249891, 0.0598645434, 0.0609679073, -0.0618085638, -0.0157913845, 0.0968872011, -0.0444359891, 0.0488161556, -0.0004260479, 0.0179150533, -0.0140037974, 0.0071062073, 0.0262865275, 0.0513298064, -0.0455127992, -0.0307121649, 0.0326091945, 0.0358076245, 0.0001535616, 0.0435308628, -0.0080626942, 0.0328737982, -0.0303912498, -0.0274677332, -0.0741092116, -0.0159821175, -0.0216788426, -0.0427729413, -0.0115708848, 0.0147885187, -0.0021305648, -0.0069459667, 0.0275695585, -0.0310887787, 0.0225215815, -0.0350663215, -0.0720739961, -0.045493409, -0.0506820381, 0.036956694, -0.0151572032, -0.0612772778, -0.0514731109, 0.0388369896, -0.0015563524, 0.0367307141, -0.0205884594, 0.0176973324, -0.0721681267, -0.0378477462, 0.0085741142, 0.0065747672, -0.0077857743, 0.0030846323, -0.049769938, -0.0008416879, -0.0318102539, 0.019158978, 0.0462252237, -0.0611493625, -0.003106233, -0.0200219676, 0.0025590132, 0.0218783263, 0.0654121116, 0.0324922055, 0.0758629218, 0.0432503894, 0.0547143854, 0.0427051857, -0.0350971855, -0.0056501236, 0.0167836789, 0.0054208995, -0.0079884697, 0.0192197431, 0.0095831482, -0.0194161776, 0.0043374053, 0.009546089, 2.453e-7, 0.0634659603, 0.074223347, 0.0379793793, -0.0036242781, 0.0103449579, -0.0346656926, 0.0001280119, -0.0059891227, 0.0109207332, -0.0052199201, -0.0306103528, -0.0403640419, -0.0059107421, 0.0627477989, -0.0449592769, -0.0132462811, -0.0058759288, -0.071354799, -0.058559563, 0.0202905517, 0.0030303746, 0.0365319252, 0.0220979881, 0.0043598479, -0.0399332903, -0.0398859419, 0.0252292082, -0.0217080098, -0.0092290035, 0.0821727216, -0.0072638704, -0.003205342, 0.0007195795, 0.0624814108, -0.0056099393, 0.0003227399, 0.0093462812, -0.0009091651, 0.0227905586, 0.0417876504, 0.017437093, -0.0412848704, 0.0467065834, -0.0368139967, 0.0216874834, -0.0073537021, -0.0189754013, 0.0704702586, -0.0331733376, -0.0376364253, -0.040664386, -0.010317307, -0.0009736161, -0.0034459655, -0.0394717269, 0.023937922, -0.0013660121, -0.0557605438, 0.03590196, 0.0827351287, -0.0446205959, -0.0587248355, 0.0560669526, -0.0785692483, 0.0077466196, 0.0049681994, 0.0172603484, 2.00897885e-34, 0.0252457932, 0.0195269808, -0.0473062173, 0.0156009169, 0.0129771819, -0.0395243615, -0.0444096029, 0.0332571827, -0.0144115472, -0.0642265677, 0.0398673825 ]
http://arxiv.org/abs/2406.11385v2
http://arxiv.org/pdf/2406.11385v2
MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmetic
2024-06-17T10:12:45
2024-06-27T16:01:28
Yuyan Zhou, Liang Song, Bingning Wang, Weipeng Chen
cs.CL
cs.CL
The advent of large language models (LLMs) like GPT-4 has catalyzed the exploration of multi-task learning (MTL), in which a single model demonstrates proficiency across diverse tasks. Task arithmetic has emerged as a cost-effective approach for MTL. It enables performance enhancement across multiple tasks by adding their corresponding task vectors to a pre-trained model. However, the current lack of a method that can simultaneously achieve optimal performance, computational efficiency, and data privacy limits their application to LLMs. In this paper, we propose \textbf{M}odel \textbf{E}xclusive \textbf{T}ask \textbf{A}rithmetic for merging \textbf{GPT}-scale models, which formalizes the objective of model merging into a multi-task learning framework, aiming to minimize the average loss difference between the merged model and each individual task model. Since data privacy limits the use of multi-task training data, we leverage LLMs' local linearity and task vectors' orthogonality to separate the data term and scaling coefficients term and derive a model-exclusive task arithmetic method. Our proposed MetaGPT is data-agnostic and bypasses the heavy search process, making it cost-effective and easy to implement for LLMs.Extensive experiments demonstrate that MetaGPT leads to improvements in task arithmetic and achieves state-of-the-art performance on multiple tasks.
[ -0.0240124483, 0.0810272843, 0.001196213, 0.0520308204, -0.0396901071, 0.032594163, 0.0520428307, -0.0419957303, -0.0058518318, 0.0038729988, -0.0778817832, -0.045724228, 0.0053205481, 0.0025309559, 0.0420068018, 0.0091185393, 0.0176220722, -0.0296978448, -0.0207609162, -0.0090587698, -0.028556861, 0.0252719391, 0.0316723026, 0.0311053135, 0.0403916799, -0.0155280177, -0.0143071497, -0.0022562291, 0.0598781034, 0.0188029036, 0.0233839117, 0.0593935698, 0.0511225015, 0.0892487839, 0.0000021268, -0.0307136215, -0.0565984808, 0.0255215596, -0.0154406643, 0.0129944971, 0.0206097402, 0.0097151874, 0.0106259771, 0.0203371439, -0.0376265608, -0.0375413001, 0.0660663843, 0.0689145327, 0.0724306852, 0.0737907887, -0.0039683026, -0.0143203987, 0.0245361459, -0.0716028139, 0.0024894834, -0.0695400983, 0.0622191727, 0.0017349019, -0.0354846492, 0.0284985714, 0.0159468912, 0.0256942902, 0.0014798787, 0.0243373923, -0.0137077207, 0.0268889796, 0.0256851334, -0.0092399744, -0.0222885776, 0.0291899256, -0.0349682383, -0.0158296395, 0.0310738403, 0.0082267681, 0.0068653468, 0.0049802577, -0.0715296045, 0.0042112651, 0.0027058609, 0.0286047384, -0.005080949, -0.0341239795, 0.0404922888, 0.0144880526, 0.0019416901, 0.0426582806, 0.0349017307, -0.0180439223, -0.0154934181, -0.0094959661, -0.0722915977, -0.0370569192, 0.0094068097, 0.006746511, -0.0108969826, 0.005896003, -0.0531374104, -0.0829341784, 0.0032566686, -0.029619595, 0.0911295563, 0.0062630624, 0.0101637449, 0.0634663925, -0.0047355285, 0.0728238299, -0.0433777086, 0.0291007143, -0.0551344827, 0.0151366647, -0.0627853945, -0.0043464862, -0.0082858438, 0.0479812101, -0.0674825311, 0.0336545706, -0.0240679495, 0.0507769696, -0.0321980491, -0.0147911264, 0.0637114123, -0.0290526655, -0.0438338667, -0.0292457994, 0.0200108588, -0.0025120617, 0.0268068872, 0.0442414209, -0.0061340956, -0.0107961399, -0.0467936583, -0.0216032267, 0.0084165717, -0.050247103, -0.0001874289, 0.0520259812, -0.0095533514, -0.0272213928, -0.0053654769, -0.04416335, 0.0068385797, -0.0937853903, -0.0043754862, -0.0488250852, 0.0560540855, -0.0486165024, 0.0014709779, -0.0259259008, -0.0238661226, 0.0182811096, -0.0364039987, 0.0848301873, 0.0144558819, 0.0084548797, 0.0237948615, 0.0255620684, -0.0250535514, 0.0649667978, 0.0025112724, 0.0174891055, 0.0184342042, 0.0052873213, -0.0013260911, 0.0127459699, 0.0447307862, 0.0530671291, 0.0224815514, -0.0077385665, 0.0739529878, -0.0564458519, -0.0080186417, 0.0589428619, -0.0295036938, -0.0006096851, 0.0761847869, 0.0278720334, -0.0101710455, 0.0083621219, -0.0031996993, 0.0330708697, -0.021474408, 0.0181786213, -0.0822259635, -0.0074953442, -0.0583248436, -0.0239755027, 0.0330385119, 0.0679292381, -0.0356371216, -0.0152447065, -0.0029367711, -0.0490778983, 0.0118683828, 0.0327803232, 0.0482845269, -0.036964234, -0.0537965372, 0.0153014511, 0.0457933024, -0.0760207176, 0.0109039443, -0.0622981675, 0.0042879749, -0.0054055895, 0.0107627418, -0.0208053142, -0.0354020223, -0.0267857946, 0.0135085955, -0.0088574532, -0.0070395675, 0.0021914137, 0.051089216, -0.0524654873, -0.0737845525, 0.0005742395, 0.0279658996, 0.017461881, -0.0059111123, -0.0251969099, 0.0298998412, -0.0483573265, 0.0014220863, 0.0296868328, -0.0430850759, -0.0344008319, 0.0128763653, 0.0048641814, 0.0377536751, 0.0129430825, -0.007303216, 0.008779576, 0.0270560607, 0.0059560426, -0.0235385653, 0.0093851388, -0.0222245529, -0.0147364223, 0.015358327, 0.0096132709, 0.01998307, 0.0817417428, -0.0388218723, -0.066006504, -0.0453194007, 0.000067014, 0.0271670371, -0.0332190618, 0.0216865521, -0.0118402923, 0.004933137, -0.0304240398, 0.0476310439, -0.0264180191, -0.0256105494, -0.0118831815, -0.0322584845, -0.0086736949, -0.0328383446, -0.0377852991, 0.014775835, 0.003599304, 0.0370635986, 0.0014192691, 0.0074921385, 0.0054917135, -0.0392938368, -0.0978337452, 0.0261938814, -0.0262147188, 0.0492632277, 0.0258781947, -0.0026698958, -0.0045591202, 0.0057379939, -0.0192388948, -0.0223525967, -0.018308362, 0.0229467694, -0.0049548307, 0.0172290523, -0.0297976062, -0.002459595, -0.0518360324, -0.0134043302, 0.017602101, -0.0352990367, -0.0113976514, -0.0368174762, 0.0368135832, -0.0218918622, 0.0403190553, -0.029365994, 0.0003462359, -0.0179929025, -0.0347485654, 0.0519121848, 0.0402679965, -0.0292298403, -0.0116455844, 0.0822422802, -0.0257220455, -0.0062108566, 0.0313263535, -0.0147427013, -0.0253323838, -0.0280013699, -0.0078107989, 0.0101496838, 0.0528147332, -0.0178946387, -0.0714629814, -0.054191228, 0.0040678792, -0.0097651891, -0.0284428969, -0.0212278776, -0.0070953392, -0.0272099879, 0.0094780335, -0.0277705286, -0.0647033229, 0.048744861, -0.0236226004, -0.0129240314, -0.0495472439, -0.0177759435, -0.0216494538, 0.0518752895, -0.0058767605, 0.0296543147, 0.0459006429, -0.0516467988, -0.0574420616, -0.0027029486, 0.0573247112, -0.0470321923, 0.0787013546, -0.0524709336, 0.0196290389, -0.0229586381, -0.0404314622, -0.0146517502, -0.0227758661, 0.0165313166, 0.0146055417, -0.0151622947, -0.0413486883, -0.0433769301, -0.0225649271, 0.0232368615, 0.0267055836, -0.0187353138, 0.0219708979, -0.0183704812, 0.0280171074, 0.0484221429, 0.0222471096, -0.0204802789, -0.0403312556, 0.0059270831, 0.0467047915, 0.1064864844, -0.0158027615, 0.0116052674, -0.0353981815, 0.04983766, 0.0023281849, -0.0173727851, 0.0129535226, 0.0387578234, -0.0256484672, 0.0231020134, 0.0970820785, -0.0030327865, -0.0605367608, -0.0540823638, 0.0329564027, 0.0285705719, -0.0049190414, -0.0016719559, -0.0498318523, -0.0044565536, 0.0343988873, -0.0015221247, 0.0220792275, -0.0253368597, -0.0472400151, -0.0945521221, -0.0030239085, 0.036326509, 0.006129093, -0.0074132914, -0.0490680374, 0.013462604, -0.0461754911, 0.0159559455, -0.0156755652, -0.0182127357, -0.0310434327, -0.0053526014, 0.0309462119, -0.0380989127, 0.0058635743, -0.0234205425, 0.0304637644, 0.0492393337, 0.0291917622, -0.0111125531, -0.048630666, 0.0517886467, 0.0463331342, -0.0627759844, 0.0024470328, 0.0230471902, -0.0082336953, 0.0083607631, 0.0012290406, 0.0554555207, -0.0092751486, -0.0044710981, -0.0021371653, 0.0852698013, 0.0139310434, 0.0166084226, 0.0169280078, -0.0520474464, 0.0144793242, 0.0712489933, -0.0297841337, -0.0253068786, 0.0080613717, 0.03199986, -0.0224013515, 0.0096486723, 0.0114376796, 0.016360281, -0.0226254594, -0.0170912165, -0.0339089632, 0.0045876, 0.015646657, 0.036683701, 0.0141267832, 0.0340517052, 0.0179254133, -0.0043533156, -0.0694372505, 0.0204532631, -0.0621032305, 0.0261080377, -0.0450153798, 0.0265277717, 0.0353908055, -0.0045482866, -0.0281009469, 0.032410413, -0.1563287526, -0.1003339514, -0.0311368518, 0.0129826684, 0.0150302006, 0.0138355279, -0.0096514989, -0.0322751962, 0.0411261283, -0.0002181723, -0.024387449, 0.0381228589, 0.0763844624, -0.0409097187, -0.0109741483, 0.0327320658, -0.0341174863, -0.0121022314, 0.0363088734, -0.0160244871, -0.0346054584, -0.0079695815, 0.0050335722, 0.0238806307, 0.0749546736, -0.0090353163, 0.0159628429, -0.061752636, 0.024769105, -0.0257029068, 0.0130007183, -0.0444331318, 0.0060828771, 0.0416484773, 0.003247974, 0.0366372354, 0.0487454385, 0.0531817302, -0.0132959802, -0.0681231767, -0.0142273111, -0.0611171611, -0.0430009328, 0.0375886299, 0.0150111429, -0.0160504077, 0.0057539698, 0.0399277583, 0.0029572579, -0.0135112619, 0.0343815796, -0.0021250653, 0.0214838572, 0.0054114065, 0.0747604445, -0.06077547, -0.0552105941, -0.0354178697, 0.0075551881, 0.0557176471, 0.0142404083, 0.0767925754, -0.0267167948, -0.0167431142, -0.0587013997, 0.012827401, -0.0116349282, 0.020094119, 0.0275705531, 0.0053875423, 0.0125265243, -0.0064355033, 0.099996686, 0.0176924057, 0.0099384328, -0.007287378, -0.0043851165, -0.034691859, -0.0650761798, 0.0222023893, -0.0066104922, -0.0476398356, -0.0278176442, -0.0116953515, -0.079327397, -0.0081835221, -0.0148254465, -0.0353727862, 0.0053293607, 0.0255308077, 0.0254805759, -0.0482203327, -0.0178832319, -0.0235984474, -0.0601987876, 0.0191119183, -0.0126662124, 0.0282183494, -6.301754685e-33, -0.0092888474, 0.0098929629, 0.0012591728, -0.0162327364, -0.0215044972, 0.0338092521, 0.0303703658, -0.0057123736, -0.0029949495, -0.0312183909, -0.0122550866, 0.0141737768, 0.009512064, 0.0286122765, -0.0135218492, -0.0071637738, 0.0652874708, -0.0057802354, 0.0072207106, 0.0448455773, 0.0103070596, 0.0126914149, 0.0503615513, -0.0591197833, 0.0650799647, -0.0042069242, -0.0500995442, 0.0315688215, -0.035666775, 0.0448987447, -0.0203245506, -0.000271304, 0.0284983683, -0.0386473536, -0.0536203571, 0.0270167906, -0.0456128344, -0.00020811, 0.0221380424, -0.0413875468, -0.042712763, -0.0256361533, 0.0160104353, 0.0144622326, -0.0020136004, -0.053980343, 0.0034685922, 0.0036967522, -0.0009376591, 0.0183717497, -0.0088238753, 0.0046577523, 0.0193677917, -0.0195478089, 0.0989030302, 0.0025078093, 0.0273940992, -0.035101641, -0.0299043581, 0.0262846835, -0.0012993123, 0.0086068921, 0.072426632, 0.0425038636, 0.0051242411, 0.0247726068, 0.0094759809, 0.020573888, -0.0042661205, -0.0243981127, -0.0031943149, 0.0564969741, 0.0230330471, 0.0135760177, -0.0051731924, 0.0101471795, -0.0528812744, 0.0402030833, 0.0181484707, 0.0113806212, 0.0134805944, 0.03722433, -0.0224465467, 0.0065855025, -0.041813489, 0.0194478128, -0.0446069315, 0.0147716207, 0.0003227486, 0.0283003058, -0.0059279087, 0.0187429283, 0.0418363139, -0.0490261465, -0.009907675, 0.0423026606, 0.017207237, -0.0133014517, -0.0135206468, 0.027554445, -0.0396068431, -0.0212421659, 0.0139512178, 0.0073414827, -0.0149149755, -0.0098530101, 0.033397641, 0.0251276493, -0.0681469738, -0.0000573182, -0.0321356431, 0.0130415233, 0.031625282, 0.0534098968, 0.081798397, -0.0155496774, 0.0175237544, 0.0274823997, 0.0404263958, -0.0204646587, -0.0478113554, 0.0311388597, -0.0206326079, -0.0012579311, 0.0349664614, 0.0031477143, 0.0184086934, -0.0116113275, 0.0996586755, -0.0091293156, -0.0138961868, -0.009053221, 2.856e-7, -0.0296356194, -0.0058448319, -0.0125962263, -0.0086616334, -0.0089470828, 0.0661828816, -0.0507548898, 0.0672661364, 0.0062567019, -0.0017280444, -0.0015508686, 0.0134577639, 0.067759119, 0.0091374358, -0.0504193045, -0.0148545681, -0.017107036, 0.0231077, -0.0468819737, 0.0006348627, 0.032365676, 0.0846447796, 0.0529283583, -0.0176054928, -0.0319786631, -0.0186233427, 0.0787793323, -0.0543266647, -0.0394515879, 0.0193395298, 0.006023061, 0.0303453207, -0.0179329235, 0.0166619159, -0.034626551, 0.0337805562, 0.0110513745, 0.1246082634, 0.0059337434, 0.0092824688, 0.0050419872, 0.0114535065, -0.0380493365, -0.012470562, 0.0681056827, -0.0241581891, -0.0259523913, -0.0205981042, 0.0310287382, -0.0270757955, 0.04380624, -0.0012787255, 0.0124804294, 0.0213588607, -0.003330633, -0.0065999352, 0.0059200861, -0.0856063887, -0.0166720971, 0.012355255, -0.075206548, -0.0537629947, 0.0024186205, -0.018786991, 0.0286222566, -0.0709491968, 0.0338164642, 2.839149924e-34, 0.0009278464, -0.0346237235, 0.0454509556, 0.0304965656, -0.0127649773, -0.0229496565, -0.0470643118, 0.0101664374, 0.0114419861, -0.0784827694, -0.027793169 ]
http://arxiv.org/abs/2406.11380v1
http://arxiv.org/pdf/2406.11380v1
A Realistic Evaluation of LLMs for Quotation Attribution in Literary Texts: A Case Study of LLaMa3
2024-06-17T09:56:46
2024-06-17T09:56:46
Gaspard Michel, Elena V. Epure, Romain Hennequin, Christophe Cerisara
cs.CL
cs.CL
Large Language Models (LLMs) zero-shot and few-shot performance are subject to memorization and data contamination, complicating the assessment of their validity. In literary tasks, the performance of LLMs is often correlated to the degree of book memorization. In this work, we carry out a realistic evaluation of LLMs for quotation attribution in novels, taking the instruction fined-tuned version of Llama3 as an example. We design a task-specific memorization measure and use it to show that Llama3's ability to perform quotation attribution is positively correlated to the novel degree of memorization. However, Llama3 still performs impressively well on books it has not memorized nor seen. Data and code will be made publicly available.
[ 0.047376737, 0.0109493807, -0.0336753502, 0.072883971, -0.0373744108, 0.0238424223, 0.0237946752, -0.0078565339, 0.0213171747, -0.0652141571, -0.0450015441, -0.0016506544, 0.0383084938, -0.0629720613, 0.047528021, 0.0130647989, 0.0291162226, -0.0543658473, 0.0316124223, 0.0005238802, 0.006201521, -0.006799012, 0.0264351089, 0.0152959079, 0.0228825435, -0.0278822929, 0.0366277061, 0.0050271968, 0.0280161779, -0.0201729592, -0.0099615781, -0.0215522293, -0.0337226801, 0.0192842055, 0.0000018197, -0.0617928058, 0.0086428504, -0.0348176286, -0.0221247282, 0.0679124668, 0.0588128977, 0.0264835469, 0.0030040478, -0.0073889759, -0.0069179735, 0.0353962891, 0.0248610564, 0.0275149718, 0.0524431989, 0.0586026087, -0.0127937561, -0.0328965038, 0.0204530172, -0.0065565198, 0.0224563628, -0.0223415475, 0.0355095491, 0.0432415381, -0.0155219184, 0.0500775911, -0.0339510478, 0.0680355579, -0.0120782079, 0.0212048888, 0.0318571515, 0.0175921172, -0.0130473934, 0.0513495542, -0.0299375188, 0.0583569258, 0.0433896594, -0.0402976684, 0.0010489278, -0.0134650609, -0.0109260883, -0.0051448257, -0.083167769, 0.0258185361, -0.0208594762, 0.0348658562, 0.0220162347, -0.0064589889, 0.0317839831, 0.0069839898, 0.0130785424, 0.0303302277, 0.0075792531, -0.01647567, 0.0155770825, -0.0144669954, -0.0353170261, -0.046435941, 0.0123427045, 0.0294333156, 0.0444963053, 0.0206553489, -0.0324240066, -0.023867419, 0.0287546664, -0.0384684838, 0.1011795104, 0.032652203, -0.0173693504, 0.0418930613, -0.0423535481, 0.0760224089, -0.0438807756, 0.0517238863, -0.0160600003, 0.0103305858, -0.0571516491, -0.0225414895, -0.0221123416, 0.0291657224, 0.0366435088, -0.0348403491, -0.0607327446, 0.0071497178, 0.0303945355, -0.0107286423, -0.0219746009, 0.0075734179, -0.007926574, 0.0254424959, -0.0131042814, -0.0112518528, -0.0318568572, 0.0361479446, -0.0195524246, -0.0497492813, -0.0485987253, 0.0271731559, -0.0025177447, -0.0361235365, 0.0202479791, 0.0896560475, -0.0131762987, -0.0370548628, -0.0527017228, -0.0312761255, -0.0243394636, -0.0502348468, -0.016238844, -0.045165021, 0.0315536372, 0.0027143757, 0.0208971072, -0.0433446728, 0.0219607968, 0.0466122031, -0.0737379566, 0.0274052117, 0.0360130966, 0.0204777662, -0.0034311698, -0.0102076279, -0.0149544869, 0.0304773785, 0.1021692678, 0.0398037136, 0.0349264704, 0.0430282354, 0.0116064334, 0.0486424118, 0.0091995196, 0.0327435769, -0.0305608492, -0.0273194928, 0.0047888188, 0.0133504244, 0.0603760593, 0.0834648758, -0.0294121094, -0.0079864552, 0.1153473035, 0.0675075054, -0.0049995757, 0.0098909186, 0.03115784, -0.0134858107, 0.0760636851, -0.0048088455, -0.041047249, 0.0379907452, 0.0196009707, 0.0335706249, 0.0013887668, 0.0216656905, 0.0038771429, 0.0092066964, -0.0159841329, -0.0025732068, -0.0458152071, 0.0001770625, -0.0065316418, -0.0080182478, -0.0504458621, 0.0362968966, -0.020874802, -0.0454287827, -0.0189884696, -0.0464274697, 0.027806256, 0.0722814798, 0.0595754236, 0.0003326848, 0.0062023867, -0.0265299622, -0.0041618659, -0.0113557102, -0.0087362844, -0.0190377422, 0.0339534692, -0.0626268685, -0.0063800411, -0.0381276719, 0.0030973472, 0.0465047657, -0.0321728587, 0.011874808, 0.0192616321, -0.0183890965, -0.0278210212, 0.0496266074, -0.0219116714, -0.05369078, -0.0355448164, -0.0095899003, 0.0195018221, 0.015577578, -0.0125408918, -0.0111543927, 0.0162669662, -0.0516315773, 0.0206869449, 0.0428826287, -0.0407931842, -0.0056422385, 0.0570413098, -0.0159544349, 0.0325253345, 0.0224132221, -0.0101363044, -0.0531503595, -0.0229747705, -0.0326126702, 0.0350650102, -0.0155477766, 0.0404949039, -0.0141906179, 0.0321218632, -0.0439673364, 0.047351215, -0.0028096219, 0.0105633438, 0.0258750729, -0.0190337375, 0.0281990804, -0.0014672583, -0.0483134054, -0.0215813946, 0.0557782799, 0.0091632726, -0.0110775586, -0.0290845558, -0.0355682187, -0.0430065729, -0.0420863405, 0.043842569, -0.0023318485, 0.0245576892, 0.0046439581, -0.0098268101, -0.032568194, -0.0031717352, -0.0230206829, -0.0175055638, -0.0238527693, 0.0007253599, 0.039744325, 0.0132471565, -0.0121608591, -0.0526114106, 0.0084560942, -0.0305200163, 0.0354892313, 0.0263536647, -0.0107158246, -0.0431094915, 0.0468723886, -0.0211773012, -0.038015347, -0.0260655005, -0.0321066938, -0.0124672232, 0.0097928122, 0.0397301987, 0.1022596732, -0.0489993989, -0.0280435681, 0.0500845388, -0.0306259636, -0.0473067202, -0.0034549665, 0.0210111495, -0.0394652598, -0.0583479665, -0.0440522842, 0.0023550468, 0.0429758281, 0.0387770943, -7.57e-7, -0.0075940457, 0.0288949274, 0.0076971594, -0.0401888527, 0.0176755954, -0.0021956507, -0.0478419811, 0.0225648843, -0.0247542914, -0.0431007855, 0.0080208648, -0.0611383133, -0.0165136345, 0.003034059, 0.0228223056, -0.0550670959, 0.036332313, -0.0084377201, 0.0088016195, -0.0004135158, -0.0411755852, -0.0201124027, -0.0346377194, 0.0604588836, -0.0268978626, 0.0552067161, -0.0192248337, -0.0088896006, 0.0048303464, 0.0041183485, -0.0113494797, -0.0152980257, -0.0650934279, -0.000160811, 0.0011832786, 0.0127310324, -0.0221163407, -0.0455428697, 0.0467168763, 0.0067450171, -0.0245508198, -0.0169528332, -0.0263197031, 0.010836239, 0.0352673754, -0.0193822198, 0.0233059898, -0.0582719147, 0.0061878203, 0.001423264, 0.005607517, 0.0428191982, -0.0422727615, 0.017203575, 0.0203818642, -0.0342141837, -0.0160733815, 0.0163564924, 0.0577329621, -0.0574172325, -0.0002655958, 0.0764230564, -0.0069323517, -0.0574941114, -0.0288464874, -0.0113525828, 0.0090271533, 0.0154018961, -0.0216200501, -0.0973719433, -0.0242101587, 0.0058032959, 0.0450045988, 0.0114650503, -0.0333133265, -0.012657267, -0.1141858473, 0.0252367463, 0.0026326103, -0.0040964815, 0.0101527208, -0.003841463, 0.0029332615, -0.0176033322, -0.0088364184, -0.0007720984, -0.0467115454, 0.0149911642, 0.0004575163, 0.026914157, -0.0025503389, 0.0301922429, -0.0242112, 0.0770054385, 0.032414794, 0.0610177852, -0.0056524756, -0.0139158508, -0.0375593826, -0.0295822397, -0.0133530796, -0.0072435122, 0.0409229025, -0.0102433311, -0.0004268959, -0.0248452667, 0.0319805406, 0.0038792915, -0.0140765999, 0.0389389284, 0.0279130023, 0.0196634047, 0.019243354, -0.0077854996, 0.0182856675, -0.018851243, 0.0778028443, 0.0321883224, 0.001250072, -0.0446834676, -0.0213332549, -0.0170935914, -0.0902641788, -0.0317365862, 0.0206713285, -0.0576416738, -0.0005457771, -0.1009527892, -0.0024566411, -0.0028669878, 0.018297134, 0.082263954, 0.0490546376, 0.0239912812, -0.0273891333, -0.023738414, -0.0453345999, -0.0820667595, 0.0069569536, -0.0268622246, 0.0134107666, 0.0739050135, -0.0307787973, 0.0252157394, 0.013741876, -0.1244219244, -0.0532453954, 0.0199775845, 0.0775249377, 0.0281694755, 0.0331655852, 0.0085647246, -0.0381808318, 0.0572028533, 0.0057630464, -0.009774589, 0.0855004415, 0.0186618473, 0.0365683325, -0.0291075148, 0.0307355728, -0.0167975426, 0.0179735478, 0.0414182283, 0.0018897344, -0.0176472906, -0.0125209969, -0.0106915152, 0.0172121711, 0.003736261, -0.0323047414, -0.0108171357, -0.0110438336, 0.0384280607, -0.020951679, 0.0144600682, -0.0288634188, 0.0164703242, 0.0412379988, -0.0136308046, -0.0295227431, -0.052927535, 0.0087790629, 0.0394353308, -0.0271438025, 0.0195625406, 0.0038648923, 0.008047387, -0.0374539569, 0.0201019235, -0.0073778694, 0.0173069015, -0.0097478069, 0.0608134903, 0.0203642584, 0.0519729443, 0.0043250644, -0.0359029844, -0.0413638763, 0.0312437136, -0.0963789448, 0.0174130667, 0.0208234377, -0.0017988277, 0.0582557432, -0.0468213893, 0.0952401683, -0.0193229653, 0.0139697101, -0.0012957859, 0.0351719484, -0.0099246856, 0.0297932718, -0.0350383036, 0.0046929126, -0.0008310376, 0.0624971315, 0.050611414, 0.014256902, 0.020909505, 0.0152216461, -0.0422759466, -0.0274703521, -0.0370021313, 0.0294266194, -0.0179066435, 0.0316488743, -0.040235851, -0.0643937141, -0.0646352544, 0.0745682195, 0.0153517155, 0.0367012769, -0.0419181027, 0.0210443195, 0.0374280475, -0.0077363714, -0.0117885806, -0.0630529672, 0.0255170651, -0.0113269137, -0.0208134837, -0.0404082611, -5.435759181e-33, -0.0533679537, 0.0174716692, 0.0034941516, 0.0589248836, -0.0664133579, -0.0009204993, -0.0416404344, -0.0466195792, 0.0061160442, -0.0111629702, -0.0336900242, -0.000203073, 0.0160510335, -0.0316243693, 0.0303382948, -0.0182824582, 0.0293420032, -0.0098866988, -0.0603956096, 0.0020324143, 0.0673960969, 0.0286647044, 0.0400930494, -0.0480017401, 0.0390362479, -0.0605718046, -0.0275220033, -0.0414073579, 0.0047775605, 0.0678000525, -0.0053589302, 0.029348094, 0.0126394639, -0.0345005915, -0.0128821116, 0.012596908, -0.0975117534, -0.0308208782, 0.059501294, 0.0023832347, 0.0621203296, -0.0833996087, 0.0490414053, -0.0190354828, -0.0041501005, 0.0037295318, 0.0573926158, -0.0295065809, -0.0390271284, -0.0466613695, -0.0577331968, -0.0276478771, -0.0359618068, -0.0003138764, 0.0391214527, -0.0350334942, 0.0039881486, 0.0361870863, -0.042410206, 0.00134303, 0.0067177443, 0.0121248011, -0.0009763427, 0.0534054451, 0.0370460749, 0.0630003437, 0.0199260674, -0.0081195915, 0.0075684581, 0.0067168828, 0.0424383581, -0.0029101041, 0.009982218, 0.0842765793, 0.0231737159, 0.0105176624, -0.0424442776, -0.0193601903, 0.03808612, 0.0250722002, 0.0242723003, -0.0017814394, -0.0410211347, -0.0200956855, -0.0301373396, -0.0057421806, -0.008739939, -0.0306756347, 0.0289059654, -0.0275147967, -0.0342213362, -0.0081803314, 0.0477817543, -0.0397211388, -0.0114325387, -0.015725987, -0.0322849602, 0.0781267732, -0.0241233893, 0.0031929826, -0.0448758602, -0.0067581511, -0.0014196443, 0.0074834484, 0.0667537004, 0.0144272884, 0.047911346, 0.0194168184, -0.0849544033, -0.007402489, -0.0176439006, -0.021840632, -0.0110458927, 0.0147453109, 0.0014710636, 0.0121175321, 0.0089200335, 0.0246453751, 0.0071195015, -0.0216343626, -0.0351764522, -0.0258164778, -0.0160365682, 0.0000628378, -0.0651790574, 0.0121156275, 0.000663834, 0.0335002802, -0.0185350962, -0.0530527197, -0.0024376062, 0.0016839154, 2.472e-7, 0.023326477, 0.0390729196, 0.0196716916, -0.0024604837, -0.0216765869, 0.0130696297, -0.0307676513, 0.0349442177, 0.0053929333, -0.0215939786, 0.0250583012, 0.0504958443, 0.0239447467, 0.0080888839, -0.1120005995, 0.0268470552, -0.0301717557, -0.0120919561, -0.0428488888, -0.0341591612, 0.0219690334, 0.0508657694, 0.0586508885, -0.0043695676, -0.0288821254, -0.0758113191, 0.0656002313, -0.0327519365, -0.0349353626, 0.0421312042, 0.0862754285, 0.0317844115, -0.0298817698, 0.0200572778, 0.0146662844, 0.0112912338, 0.0281621609, 0.0612281412, 0.0224542785, -0.0275500603, -0.0421578176, -0.0546787754, -0.0004348904, -0.0146687701, 0.0293295216, 0.0420081317, 0.0076685986, -0.0149964392, -0.019276632, -0.0104679586, 0.0391432419, -0.0209539663, -0.0031230827, 0.0158250723, -0.0110851135, 0.0092365425, -0.0072198459, -0.0732985958, -0.018841099, -0.0264942627, 0.0018355893, -0.0628383458, -0.0066204676, -0.0454566777, 0.0170800686, -0.1175065637, 0.0280161276, 1.974144498e-34, 0.0274356455, -0.0510819964, 0.0348345377, 0.0601310432, 0.0196377225, -0.0015769957, 0.0236929543, 0.0341219343, -0.0007823753, -0.0695650876, 0.0014058463 ]
http://arxiv.org/abs/2406.11375v1
http://arxiv.org/pdf/2406.11375v1
Boosting Scientific Concepts Understanding: Can Analogy from Teacher Models Empower Student Models?
2024-06-17T09:51:38
2024-06-17T09:51:38
Siyu Yuan, Cheng Jiayang, Lin Qiu, Deqing Yang
cs.CL
cs.CL, cs.AI
Analogical reasoning plays a critical role in human cognition, enabling us to understand new concepts by associating them with familiar ones. Previous research in the AI community has mainly focused on identifying and generating analogies and then examining their quality under human evaluation, which overlooks the practical application of these analogies in real-world settings. Inspired by the human education process, in this paper, we propose to investigate how analogies created by teacher language models (LMs) can assist student LMs in understanding scientific concepts, thereby aligning more closely with practical scenarios. Our results suggest that free-form analogies can indeed aid LMs in understanding concepts. Additionally, analogies generated by student LMs can improve their own performance on scientific question answering, demonstrating their capability to use analogies for self-learning new knowledge. Resources are available at https://github.com/siyuyuan/SCUA.
[ 0.0313348025, 0.0119774258, -0.0196852535, 0.0341096893, -0.0047522648, -0.0052885851, 0.0018509299, -0.0215614941, -0.0222999305, -0.0495851971, -0.0547895767, 0.0133152949, -0.0217864737, -0.039081309, 0.0073172026, -0.1126027629, 0.0207305234, -0.0297909658, -0.0055165547, -0.0037585679, -0.0151554113, 0.0060689575, -0.0536461361, 0.0109009407, 0.0396446325, -0.0379595719, 0.0245107468, -0.0228676591, 0.0618429296, -0.0307300147, -0.0227318648, 0.0155578982, 0.0425748155, -0.0234277956, 0.0000018957, -0.0696948692, 0.0247658491, -0.0000898718, -0.0228959564, 0.0495955087, 0.0267772693, 0.0252037738, 0.0196790025, -0.0129428385, -0.0479317009, 0.0008604035, 0.0412414856, -0.0001704399, 0.0285100136, -0.0221458618, 0.0168302227, -0.0554466471, -0.0055851089, 0.0261787809, 0.0467209145, -0.0005470397, 0.022757059, 0.0641327053, 0.0345486961, 0.0206324439, -0.0192781556, 0.0291615017, 0.0261553265, -0.0101932706, 0.0341643691, 0.0353497006, 0.0033334652, 0.0405931361, 0.0425826348, 0.06772919, 0.0113565037, -0.069620572, -0.0121207554, -0.0016185907, 0.0077163521, 0.0950283632, -0.1101640761, 0.0205988344, -0.0067102774, 0.0355443805, 0.0232022218, 0.0383022055, 0.0075092264, 0.065041855, 0.0248828493, 0.0345452018, -0.0076697846, -0.003014839, -0.0042300676, -0.0124606527, -0.009021013, -0.0110043865, -0.0002986211, 0.0780335516, 0.0436395407, 0.0456496738, -0.0367553271, -0.0278450903, 0.009939013, -0.0529544391, 0.0705136955, 0.0642471537, 0.0299769659, 0.0446671136, -0.0622056052, 0.0558193102, 0.0027305933, 0.0784664378, -0.0283542778, 0.0134714833, -0.0981732383, -0.0281581227, -0.0477151945, 0.0398018882, 0.0740264282, -0.0044966545, -0.0010346189, -0.0041803857, -0.0427011773, -0.0362332538, -0.0406316631, 0.0329637453, -0.002617562, -0.013151058, -0.0844875276, 0.0081487922, -0.060571909, 0.0380221047, -0.027613217, -0.0569099188, -0.0189725012, 0.0008192472, -0.0222984608, -0.0076136044, -0.0043009012, 0.0345354825, -0.0002343269, 0.0177513603, -0.0412688516, -0.0207166728, 0.0623647347, -0.0129561098, 0.0119546736, -0.0650927424, 0.0255123433, 0.014768553, 0.0102162063, -0.0592355728, 0.0138937645, 0.0259518065, -0.0248084422, 0.064352341, -0.0186333079, 0.0113327485, 0.0354888365, 0.0522354692, -0.03137476, 0.0159979407, 0.0463381186, -0.0600848608, -0.0075293169, -0.0318316296, -0.004975134, -0.0470838547, 0.020830987, 0.0083835581, -0.0346420296, 0.0064649712, -0.0282338243, 0.0779215917, 0.034929838, 0.0346985385, -0.0076213269, -0.0063955863, 0.0110103013, 0.062782824, -0.0019488776, 0.0403251201, 0.0565057583, -0.0224838872, 0.0456015579, 0.0414303318, -0.012895992, 0.0475654267, 0.004203367, 0.0095788613, -0.0074334946, 0.0358076692, -0.0272096191, -0.0400304534, -0.024165934, 0.0138972281, -0.0207074434, -0.0291325897, 0.0172476415, 0.0183086712, 0.0600143708, 0.0232576076, 0.0299650449, -0.0228829458, 0.0577593893, -0.0609977469, -0.0013764278, 0.0533308983, 0.0341018625, -0.0486946627, -0.0508746132, 0.0236517098, 0.0176812168, 0.0231850874, 0.0740262121, -0.0330649428, -0.0586968958, -0.0250307787, -0.0077908188, -0.0419265255, 0.0084961792, -0.011991147, 0.014116806, 0.0396822765, 0.0249700285, -0.077252157, -0.0374049097, 0.0422734357, -0.0641397163, -0.0347839631, -0.034409754, -0.0219879244, 0.003687423, 0.0019928166, 0.0114413826, 0.0351004414, 0.0212515648, -0.0503379107, -0.0280309636, 0.0559589528, -0.0451571308, 0.0036708734, 0.0376279131, -0.0880042389, 0.0142022269, 0.0069517763, -0.0283645988, -0.0364945084, 0.0622929558, -0.0042148205, 0.066913113, 0.0132963024, -0.0041583977, -0.0108300466, -0.0003483124, -0.0055897115, 0.0256032646, 0.0297822431, 0.0341903567, 0.0442211255, 0.0446738824, 0.0075297542, 0.0046553328, 0.0155450413, -0.0597360656, 0.0251061376, -0.0294072535, -0.0129223261, -0.0617887452, -0.0598370247, 0.0562258586, 0.0011194897, -0.0339065827, 0.0377466604, 0.0111203305, 0.0306161381, -0.030795427, -0.0044983206, -0.0109335296, 0.0031734533, -0.0056136772, -0.0384795032, -0.0208403654, 0.0601371415, -0.0027004464, -0.0085376957, -0.0467398651, 0.0236320067, -0.0820625499, 0.0474864542, 0.0513712019, 0.0541467406, -0.0486346297, 0.0178333037, -0.0204709172, 0.0159939118, -0.0012666871, -0.0221016388, 0.0281303469, -0.002481401, 0.0129323434, 0.0885403976, 0.0420074165, 0.0215640999, 0.0855472013, 0.0241993926, -0.0881181806, -0.0036634379, 0.0112942774, -0.0030544472, 0.0063729705, -0.0273513701, -0.0008934988, 0.0227559879, -0.0059041725, -0.0062649217, -0.035344284, 0.0995484963, -0.0027739205, 0.0062526017, -0.013207186, -0.0203766935, 0.0022733181, 0.0087315841, 0.026951585, -0.0144294202, 0.0953712463, -0.0043778168, 0.0328284018, -0.0238668416, 0.0198284164, -0.0330480263, 0.0323219411, -0.0223708767, 0.0055905036, 0.0251738932, 0.0637986958, -0.036217019, 0.0027481725, 0.0053429301, -0.0090411836, 0.0129787279, -0.0902385339, 0.0106477523, -0.0072918562, 0.018857209, -0.0451493002, 0.0269669965, -0.036717996, 0.028716905, -0.0477166139, -0.0198171642, -0.0501045324, 0.0027404807, 0.0477491245, -0.0146505209, 0.001499371, -0.0227691643, -0.0005433392, 0.0181952566, 0.080313012, -0.000698065, -0.0101044672, -0.0201802049, 0.0695510507, 0.0328606889, 0.0321829915, -0.0016563154, -0.037342906, -0.0177288651, 0.0093813613, -0.026783295, 0.0245311521, 0.0215760525, -0.0034994048, -0.042191308, -0.0286275353, 0.0739920512, 0.0303870216, -0.0105090346, 0.0170835536, -0.0344893299, 0.035075143, 0.0153690865, 0.0224441718, -0.0746312588, -0.0272027366, -0.0301368367, -0.0083606988, 0.0018673552, -0.0296438187, -0.0126891481, -0.0827297494, -0.0013295618, 0.0243166108, -0.0784041658, -0.0430136621, -0.0513374805, 0.0176584404, -0.0002157947, -0.0392839015, -0.0103670545, -0.0260641836, 0.0385937095, 0.0451449752, 0.0015520786, -0.0523447506, 0.0070814826, -0.0187407862, 0.0573435687, 0.0139779598, 0.0055453391, -0.0259063281, -0.0640986636, -0.0530367307, -0.0179873742, 0.0054170121, 0.0040704142, -0.0085621001, 0.0055010575, 0.0058203992, -0.0026039563, 0.0680004805, -0.058907453, -0.0442090742, 0.0255752783, 0.1020252705, -0.0206947625, -0.0393341668, -0.0956609175, 0.012378104, -0.0333869755, 0.1071566045, 0.0576738603, -0.0230857227, 0.0073482115, -0.0145526519, 0.0097260661, -0.0212530289, -0.0641876161, 0.0191298369, -0.0230246056, 0.0421563871, -0.0389466435, -0.014571853, 0.0308529995, 0.0072291349, 0.0191693734, -0.0176960584, -0.0035911344, -0.0084666386, 0.0038187886, 0.0231942236, -0.0484107919, 0.0078081288, -0.0079509364, -0.0500934906, 0.072321102, -0.020527415, -0.0385864452, 0.0070549306, -0.0259437375, -0.0368921496, -0.0134921158, 0.0537060164, 0.0251962487, -0.0156648066, 0.0452906527, -0.0216345098, 0.0191667732, 0.0195245221, 0.0333107375, -0.0083984546, -0.0331851952, 0.0072125448, 0.0335501954, -0.0114096534, -0.015848387, 0.0266609322, 0.0058459807, 0.0312044211, -0.0451506376, -0.0385814421, 0.0485012121, 0.0126898382, 0.0210313462, 0.0084216706, -0.0360978693, -0.006212465, 0.0050593638, 0.015354746, -0.0007852516, 0.002918113, 0.0169050526, 0.0127790449, 0.0292999297, 0.0081840577, -0.0763427913, -0.0453870595, 0.0225850753, 0.0289862528, 0.0236284658, 0.0234653875, 0.003559733, -0.0036127472, -0.0210353546, -0.0194908176, -0.0186833236, -0.0216181707, 0.0494294316, 0.0021531947, 0.0312920325, 0.0565016605, 0.0262015387, -0.0107554141, 0.0039008101, -0.0717107803, -0.0679682493, -0.042141147, 0.0155169303, 0.0031822445, -0.0065660947, -0.0204339456, -0.05384776, 0.0144700846, 0.0199624915, -0.0221165642, -0.0077564926, -0.0054555698, 0.0852995366, 0.0434980616, 0.0434773937, 0.016539922, 0.0464841351, -0.0661359802, 0.0836231709, -0.0207305253, 0.0036048437, 0.0131682586, 0.0050245798, -0.0077958275, 0.0034797913, 0.0163252652, -0.0124877337, -0.045067694, -0.0425857827, -0.0007517648, 0.0407351367, -0.0146120731, -0.0274338387, 0.0780920535, 0.0125582824, -0.0340257883, -0.0112084672, 0.0222995691, 0.0494726487, -0.0661969334, -0.0369514413, -0.0662126765, -5.977429549e-33, -0.0362121575, -0.0080082845, 0.0189382117, 0.0342464, 0.0051033073, -0.0205705855, -0.0527110696, -0.0073444457, -0.0758311152, 0.0250687115, 0.0178661682, -0.0270347651, -0.022515038, -0.0192695316, 0.0370588452, -0.0024884825, 0.0001667324, 0.0092398534, -0.0194347799, 0.0041944627, 0.0023128048, -0.0327060707, 0.0137624731, -0.048304148, 0.0061799604, -0.0231163837, 0.0264787655, 0.0025866951, -0.0348927081, 0.0618524551, -0.0170141477, 0.0398095027, 0.0226888023, -0.0049405843, -0.0014279231, -0.002015732, -0.0416183732, -0.0510837436, 0.0305243339, -0.0262804981, -0.0138082337, -0.0379727706, 0.0685560703, 0.0127532817, -0.0131582813, 0.001500639, 0.0746964961, -0.0361659527, 0.024642447, 0.0080041252, -0.0584531575, -0.0139187267, -0.0411964878, -0.0156897008, -0.0403635539, 0.0461585037, -0.0211109314, 0.0637437105, -0.034543246, 0.0762956068, 0.0552033745, 0.000360616, 0.0478391238, 0.0000313518, 0.0158843212, 0.0571690239, 0.0224068202, -0.0506657511, -0.0409657173, -0.0325042941, 0.0275119655, -0.0011501244, 0.06630712, 0.0445199572, 0.0709067583, 0.0389008112, -0.0505976975, 0.0221459884, 0.023611879, 0.0352352075, 0.0005262903, 0.0057786894, -0.0103123235, 0.0129147833, -0.0579763539, -0.0161801148, -0.023377344, -0.0502093546, -0.005457588, -0.0590707175, -0.0382205844, -0.0007119962, -0.0088952398, -0.0194175262, -0.0012033165, -0.021940086, 0.0190088805, 0.0129700005, -0.0243083928, -0.0061851246, -0.0603234395, -0.0336324014, 0.002203414, 0.005424527, 0.0481929109, 0.027641844, 0.0122027835, -0.0170995351, -0.0122822877, -0.0353084207, -0.0381623283, -0.0867225975, 0.0211489741, -0.1057034433, -0.0221163742, 0.0487614572, -0.0020975936, 0.029122021, 0.0089001488, -0.0359817185, -0.0213237666, -0.0019966329, -0.0442826599, 0.0042120987, -0.0212081335, -0.0153337549, -0.0262560695, 0.0024955317, -0.0025869999, -0.0866296813, -0.0190390106, 0.0181352179, 2.626e-7, 0.0473715849, 0.0067531224, 0.0112140616, -0.0382927954, -0.0072033703, 0.0176513251, -0.0176343713, -0.0146517577, 0.0242258981, -0.0118684685, 0.0049434355, 0.0722078905, -0.0220450163, 0.032281246, -0.0601610541, 0.0074765817, -0.0769313127, -0.0378086343, -0.0073444908, -0.0140815238, 0.0668722466, -0.0236547031, 0.0497582257, -0.0080810394, -0.012783614, -0.0421480909, 0.0260324664, -0.0301207975, 0.0564003922, 0.0409545153, 0.0094897561, 0.0097277621, 0.0070733083, 0.0442563556, 0.0235038139, -0.0145052839, 0.0048855273, -0.018091321, 0.0102654202, -0.0221268274, -0.0170668606, -0.0266832747, 0.0161053576, -0.0802177638, 0.0230218563, -0.078883484, 0.0214026477, 0.009103992, -0.0122282598, 0.0327078216, -0.017923424, -0.0166546181, -0.0339577273, -0.0090585351, -0.0101863006, 0.010541602, -0.0170631949, -0.038618803, -0.0211725049, 0.0178601798, -0.0422694422, 0.0009485224, -0.0270165075, -0.0252501704, 0.0149928667, 0.0048212581, -0.0068724458, 1.455905773e-34, 0.0144582111, 0.0123128872, 0.0335460193, 0.0399750397, 0.0262973383, 0.0048968676, 0.0147439782, 0.0230560806, 0.0499626547, -0.043892324, -0.0257698316 ]
http://arxiv.org/abs/2406.11370v1
http://arxiv.org/pdf/2406.11370v1
Fairer Preferences Elicit Improved Human-Aligned Large Language Model Judgments
2024-06-17T09:48:53
2024-06-17T09:48:53
Han Zhou, Xingchen Wan, Yinhong Liu, Nigel Collier, Ivan Vulić, Anna Korhonen
cs.CL
cs.CL, cs.AI, cs.CY, cs.LG
Large language models (LLMs) have shown promising abilities as cost-effective and reference-free evaluators for assessing language generation quality. In particular, pairwise LLM evaluators, which compare two generated texts and determine the preferred one, have been employed in a wide range of applications. However, LLMs exhibit preference biases and worrying sensitivity to prompt designs. In this work, we first reveal that the predictive preference of LLMs can be highly brittle and skewed, even with semantically equivalent instructions. We find that fairer predictive preferences from LLMs consistently lead to judgments that are better aligned with humans. Motivated by this phenomenon, we propose an automatic Zero-shot Evaluation-oriented Prompt Optimization framework, ZEPO, which aims to produce fairer preference decisions and improve the alignment of LLM evaluators with human judgments. To this end, we propose a zero-shot learning objective based on the preference decision fairness. ZEPO demonstrates substantial performance improvements over state-of-the-art LLM evaluators, without requiring labeled data, on representative meta-evaluation benchmarks. Our findings underscore the critical correlation between preference fairness and human alignment, positioning ZEPO as an efficient prompt optimizer for bridging the gap between LLM evaluators and human judgments.
[ 0.0286346115, 0.0807445273, 0.006315642, 0.0321109369, -0.0277111083, 0.0088219661, 0.0467680506, -0.0226301122, -0.0239021406, -0.0469292998, -0.0422153994, -0.0526877195, 0.0141183548, 0.0128226997, 0.0137072885, -0.04090124, 0.022319518, -0.0254267529, 0.0223368295, -0.0285565853, -0.0034855369, -0.0008671452, 0.0157289691, 0.0491072647, 0.0182017125, -0.0070167519, 0.0161718018, 0.0148729449, 0.0251101144, -0.0262908582, 0.0053430656, 0.0974930748, -0.0322242863, 0.0493351743, 0.0000021352, -0.0616392903, -0.0124131711, 0.0004248831, -0.019558752, 0.0456119552, 0.0587879121, 0.0155878682, -0.0329600386, 0.0174420998, -0.00081128, -0.016309239, 0.0385134853, -0.0130605008, 0.0433076844, 0.0364110135, 0.0095386272, 0.0151446592, -0.0350161158, -0.0443866961, 0.0167390741, -0.0104817972, 0.010404855, -0.0524506606, -0.0141130015, 0.0086880689, 0.0043223361, 0.0001749775, 0.0125011234, -0.0166335832, 0.0283137579, 0.029331645, -0.0316226743, -0.0456210822, -0.0259199888, 0.0885345936, 0.0078966292, -0.0148192318, -0.0100696385, -0.0503771454, 0.0259234086, 0.0064190687, -0.0102457888, 0.0689071342, -0.0071132239, 0.0228081942, 0.005038966, 0.0137695279, 0.0206902046, 0.0366194136, -0.0212189015, 0.0875025466, 0.0215651225, -0.0280257259, 0.0238757562, 0.0461050943, -0.0446648896, -0.0680613369, 0.0017798711, -0.0067350972, -0.0851473585, 0.0035864979, -0.0421379767, -0.0174848884, 0.0389954299, -0.0133148134, 0.0600448027, 0.0341763943, -0.0100490879, -0.0013791285, -0.0071149487, 0.0754250884, 0.0249064304, 0.0019680308, -0.0721771345, 0.0299677774, 0.0182173923, 0.0046308851, 0.0041364436, 0.0164410491, -0.0648729131, 0.0108412346, -0.0583162233, 0.0124593833, -0.0262016114, 0.0282365531, 0.0207258184, 0.0281799007, -0.0356680341, 0.0118315564, -0.0404593162, 0.0145464726, -0.0438669287, 0.0163402688, 0.0385701433, -0.0298334155, -0.0004824902, 0.0312398486, -0.0219110753, -0.0179039612, 0.0043979236, 0.0560538918, -0.0131411813, -0.0174651649, 0.0005399465, -0.0458616801, -0.0444759317, -0.0614679977, -0.0284083188, -0.071891129, 0.0054932199, 0.0117972856, -0.0130514912, -0.0321583897, -0.0074958275, 0.0263763033, -0.0228099376, 0.0213660765, 0.0163949709, -0.0005961622, -0.0068972013, 0.0037688713, -0.0159521513, 0.0635798052, 0.0319606587, 0.0640048087, 0.0112288967, 0.0074352794, -0.0307701975, 0.0254599433, 0.0205974355, 0.0244696662, -0.0346748158, -0.0052133999, 0.0266068019, 0.0501091182, 0.0532514043, 0.0773887038, -0.0301659983, -0.0023120327, 0.0634131506, -0.0009089463, -0.0030779247, -0.0185625143, 0.073943302, 0.0201800447, -0.0522699319, 0.040147908, -0.0417490266, 0.0144783584, -0.0310954787, 0.0204085298, 0.0623579435, 0.0467036031, -0.0090194847, -0.0437776968, 0.0023468828, 0.0001212495, -0.0134904124, 0.0201181378, -0.0004655916, 0.0000826225, -0.0644680336, -0.0099450601, 0.0370973274, -0.0599971153, 0.0192976799, -0.0586326793, 0.0796855688, 0.0890976787, 0.05064198, 0.0288201924, -0.0038553141, 0.0014867802, -0.0315663628, 0.067599088, 0.0739659443, -0.0326675363, -0.0040988573, -0.058376655, -0.0439962894, 0.010515525, 0.0093430271, 0.0449267551, -0.0066595217, 0.0048181359, 0.0402645804, -0.0094559342, -0.0440299064, 0.036060147, -0.0114406664, -0.0323088579, 0.0369368307, 0.009687609, 0.0363235883, -0.0090265768, -0.0252321456, 0.0138641503, -0.0051744068, -0.0083105639, -0.0072280527, -0.0052784132, -0.0810074583, -0.0444930233, 0.0028281047, -0.0261629112, -0.0038158169, -0.0028803265, -0.0314156748, -0.0147923417, -0.0170713421, 0.0061782994, -0.0129945222, -0.0538047478, 0.0518727154, -0.0070796874, -0.0070450143, -0.0938006565, 0.0557639934, 0.0013769026, 0.0122722369, 0.0695970207, 0.0023440067, -0.0000273635, -0.0253645163, -0.0349819139, 0.0352243409, -0.000308309, 0.0179584082, 0.0537126064, 0.0541178398, -0.040639434, -0.0450006574, -0.0810229853, 0.0387896076, -0.0192336142, 0.0044901422, 0.0130599625, 0.0007490179, -0.00519817, 0.0343925282, -0.0378391109, -0.0181248225, 0.0209517758, 0.0301377866, 0.0189548619, 0.0147223445, 0.0049077449, -0.0306598693, -0.0057181842, 0.0096836304, 0.0409456901, 0.0422443599, 0.0739691257, -0.0475355908, 0.0548359156, -0.0512719937, -0.0284984969, 0.035045471, -0.0188949816, 0.0087111071, 0.0042392989, 0.0446111076, 0.0600512549, 0.0271457192, 0.0044626505, 0.077548407, 0.0109318886, -0.0708736107, -0.0215331819, -0.0124581633, -0.0247364379, 0.0188309606, -0.0391695313, 0.0185631979, 0.073690854, 0.0207217, -0.0124244764, -0.0634347573, 0.0480342917, -0.0333776958, -0.0492506996, -0.0242870133, -0.0297515094, -0.0130568743, 0.0537262075, -0.0295149386, -0.0733983517, 0.1016284078, -0.0348302796, 0.0218019579, -0.0464407019, 0.0425911397, -0.0373147018, -0.0043269, -0.0090191467, 0.0304398667, 0.0134729613, 0.0063452185, -0.0734845176, 0.0017471717, 0.0657687709, -0.0279041678, 0.015643267, -0.0641934425, -0.0017413094, -0.0312433448, -0.0689133629, -0.0609641671, -0.0666760281, 0.0014183394, 0.0107076187, 0.052617237, 0.0055044759, 0.0161124729, -0.0021079378, 0.0009477307, 0.0340911821, -0.0235954709, -0.0087392703, -0.0123479562, 0.00764122, 0.054599259, -0.0080533056, 0.0382180773, -0.0293263644, 0.0247000288, 0.0220930874, 0.0180418212, 0.0494449548, 0.0026844274, 0.0229860526, 0.0453040004, -0.0161656439, -0.0239592809, 0.0509333313, 0.0433334075, -0.0293665119, -0.0072780782, 0.1197748482, 0.0417408682, -0.0472318567, 0.0137529457, -0.0127597991, 0.0809331238, 0.0052390629, 0.0136579638, -0.0574479774, -0.0340901799, 0.0170459282, 0.0588101372, -0.0514879897, -0.0256395061, -0.009173153, -0.1398200393, 0.0405270196, 0.0233068988, -0.0239299759, 0.0057154298, -0.0288735256, -0.0068409638, -0.0212217029, 0.050784979, 0.0435968079, -0.0143845063, 0.03030218, 0.0189011432, 0.02929678, -0.0527922362, 0.0195050761, -0.0313604735, 0.056765493, 0.0913123265, 0.0054215295, 0.0264973734, -0.035775274, 0.0233312119, -0.0272943247, -0.0114766518, -0.0282964353, 0.0066019464, 0.0102785155, 0.0023988399, -0.0458265021, 0.0300041493, 0.0037305674, 0.0002395388, -0.0016263538, 0.0409202613, 0.0081008496, -0.0293830708, -0.0182799213, 0.0191603526, 0.0155484639, 0.0770847425, 0.0346419476, -0.0689200014, -0.035969466, -0.0286259595, -0.0365481079, -0.0822006091, -0.0292692017, 0.0346287005, 0.0050441013, -0.0271517802, -0.0985269621, -0.0334179923, -0.0035653436, 0.0246257819, 0.0068653901, -0.0416165441, -0.0383655988, -0.0219014324, -0.0131871654, 0.0232697446, -0.0262194779, 0.0094686095, -0.0888092071, 0.0028525109, 0.010235549, -0.0474123396, -0.0191080477, 0.0344733447, -0.0288020223, -0.0715134069, -0.0253226366, 0.050933037, 0.0183176622, 0.0368950106, 0.0022718934, -0.0520267785, 0.0622972809, 0.090815179, -0.0098981792, 0.0270663965, 0.0102896094, 0.0003203408, -0.0064865812, 0.0175954662, -0.0279655047, 0.0175677575, 0.0343013257, 0.0333136469, 0.0539149418, -0.0452879071, 0.0392542966, 0.0528225265, 0.0248923469, -0.0880364627, 0.0025768962, -0.0403966382, -0.0085386652, -0.0255093798, -0.0357514694, -0.0308145024, -0.011647597, 0.018313041, -0.0126666566, -0.0021585012, -0.0011128305, -0.0232628975, 0.048730962, -0.0400068276, 0.0151709188, -0.0316183865, 0.0311722774, 0.0396078117, 0.0046384018, -0.0180523377, 0.0045362897, -0.0073414161, 0.055208046, -0.0077981418, 0.0535153635, 0.0238720886, 0.0250532571, -0.0004536919, 0.0394836068, -0.0261570998, -0.0300497971, -0.0374498554, -0.0009716817, 0.0323504992, -0.0035211269, 0.0547228828, -0.0133379549, 0.0059259436, -0.0413224101, 0.017192401, 0.012147407, -0.051158879, 0.0084337723, 0.0090093855, -0.0266993903, -0.0118492357, 0.0645553768, 0.0080822175, 0.014309546, -0.0426326208, 0.0073576686, -0.044913508, -0.0472592972, -0.0066982773, -0.0268836804, -0.0357559845, -0.0188908651, -0.0834107772, -0.048858244, -0.0221931543, 0.0357319117, 0.0320071913, -0.0137549276, 0.0371563248, 0.0482636467, -0.0560903624, 0.0033678587, -0.0504658967, -0.0070167314, -0.0275239702, -0.0160698779, -0.0323059037, -6.62046206e-33, -0.0463990346, -0.018313285, 0.0077849394, -0.0566928498, -0.0117407944, -0.0062003033, -0.0229033343, 0.0208582729, 0.0138374129, -0.0105168233, -0.0018206174, -0.0504544526, 0.0095766708, 0.018260451, 0.0226789061, -0.0139843309, 0.0661604553, 0.0081470087, -0.099188976, 0.0153000709, 0.0177577734, -0.0246060658, -0.0186403207, -0.0007746299, 0.0236117542, 0.008873459, -0.0188653115, -0.0035166715, -0.0310214143, 0.0539305843, 0.0006478908, 0.0503871925, 0.0111533143, -0.0209925901, -0.0282510631, 0.009681615, -0.0205137581, -0.0149385957, 0.0071469434, -0.0175902508, -0.0123934923, -0.0529866703, 0.0230255183, 0.008225386, -0.0717360526, 0.0026094876, 0.0075541153, -0.0211551953, -0.0331872813, 0.0016745433, -0.0437929928, 0.0083492091, -0.0354938842, -0.0327352881, 0.0089508258, 0.060396269, -0.0144146038, 0.0616800897, -0.0075011346, 0.0482095852, 0.016950557, 0.0327574573, 0.0814520344, 0.0132098114, -0.0116810743, 0.0488554686, 0.0252963882, 0.0109515656, 0.0101502333, -0.02521066, 0.0266465377, 0.0068602487, 0.0183100142, 0.0845167562, 0.0221477635, -0.0285469387, -0.0558243096, 0.0647778586, 0.0122913113, -0.022016177, 0.0396098495, -0.0104811955, -0.0225628298, -0.0405019261, -0.0712857619, -0.0502087139, -0.0601772293, 0.0012639, 0.0455184542, 0.021282427, -0.0473428182, -0.057477247, 0.0489329509, -0.0146427089, -0.0025683455, 0.0261367802, -0.0664379001, -0.0016548022, -0.00785264, 0.0157741848, -0.0573111139, -0.0184253585, 0.043524906, 0.0198584106, 0.0020193767, 0.0271424353, 0.001917481, -0.0024691871, -0.052341558, 0.0382598639, -0.0548227653, 0.0349909738, 0.0084497947, -0.0181033071, 0.0174098834, -0.0191741958, -0.0128571037, 0.0347800292, 0.0091725774, -0.0266433209, -0.0375606194, -0.0196834691, -0.0144089842, 0.0145061724, -0.032410223, 0.0195663031, 0.0086774258, 0.0055218074, 0.0332713202, -0.0233889688, -0.034950722, -0.0145720076, 2.757e-7, -0.0050706617, 0.0564097315, -0.0078140553, 0.0281713922, -0.0147185, 0.0617506877, 0.0147862593, 0.0343829058, 0.0316517502, 0.0151529275, 0.0205751881, -0.001360523, 0.0322964825, 0.0187708009, -0.0592251569, 0.0382911935, -0.0790857449, 0.0196233634, -0.0503836647, -0.036293231, 0.0605178624, 0.0349171646, -0.0254069641, -0.0190138239, 0.038782496, 0.0068774954, 0.0496244244, -0.0320161022, -0.0020121818, 0.0232763346, 0.0121437144, -0.0394916646, 0.0023650201, 0.0214329865, 0.0103134774, -0.0044398722, -0.0004561677, 0.0707894638, 0.0397323966, -0.0176051389, 0.0065747062, -0.0106513314, 0.0156856235, -0.0668664202, 0.0733027831, -0.0117950384, -0.0196878258, -0.0211427454, -0.0198339354, -0.0213055406, 0.0295555387, -0.0607180335, -0.0111853387, 0.0240948871, 0.0045508021, 0.0466949195, -0.0133590223, -0.0206356272, -0.0410998277, -0.0193613842, -0.0292345583, -0.0659755617, -0.0390682258, 0.0303075798, -0.0081776371, -0.0578846857, 0.0157459471, 2.661692522e-34, 0.0385487005, -0.0205029882, 0.0362486504, -0.0448774248, 0.0267696995, 0.0240356512, -0.0067477226, 0.0052352026, 0.029654786, -0.0576244779, -0.0166648123 ]
http://arxiv.org/abs/2406.11368v1
http://arxiv.org/pdf/2406.11368v1
Improving Quotation Attribution with Fictional Character Embeddings
2024-06-17T09:46:35
2024-06-17T09:46:35
Gaspard Michel, Elena V. Epure, Romain Hennequin, Christophe Cerisara
cs.CL
cs.CL
Humans naturally attribute utterances of direct speech to their speaker in literary works. When attributing quotes, we process contextual information but also access mental representations of characters that we build and revise throughout the narrative. Recent methods to automatically attribute such utterances have explored simulating human logic with deterministic rules or learning new implicit rules with neural networks when processing contextual information. However, these systems inherently lack \textit{character} representations, which often leads to errors on more challenging examples of attribution: anaphoric and implicit quotes. In this work, we propose to augment a popular quotation attribution system, BookNLP, with character embeddings that encode global information of characters. To build these embeddings, we create DramaCV, a corpus of English drama plays from the 15th to 20th century focused on Character Verification (CV), a task similar to Authorship Verification (AV), that aims at analyzing fictional characters. We train a model similar to the recently proposed AV model, Universal Authorship Representation (UAR), on this dataset, showing that it outperforms concurrent methods of characters embeddings on the CV task and generalizes better to literary novels. Then, through an extensive evaluation on 22 novels, we show that combining BookNLP's contextual information with our proposed global character embeddings improves the identification of speakers for anaphoric and implicit quotes, reaching state-of-the-art performance. Code and data will be made publicly available.
[ 0.0369090773, 0.0610664003, -0.0337688103, 0.0586351231, -0.0315464512, -0.0102547267, 0.0229522977, 0.0144419037, 0.0409236513, -0.0204721894, 0.0228558592, -0.0136895236, 0.0281978175, 0.0006067203, 0.0485530607, 0.0124526238, -0.0013893805, -0.0043988763, 0.064694427, 0.0018227343, 0.0019377682, 0.0396399572, 0.0155245503, 0.0605161227, -0.0184406452, -0.0468927957, 0.0314104557, 0.012371256, 0.0667834729, 0.0148083642, 0.0090438658, 0.0047833687, 0.0103502022, 0.0324395411, 0.0000015192, -0.0221720189, 0.0566712543, -0.0375298485, -0.0153683573, 0.0022830428, 0.0371276997, 0.0580978096, -0.0016739037, 0.0020431681, -0.0021667301, 0.0007490648, 0.0181982405, 0.0583557039, 0.0397651084, 0.0616055243, -0.0278181359, -0.0660631582, -0.0014982217, 0.004083904, -0.0008007485, -0.0027705254, 0.0263385549, -0.0148016252, -0.014114853, 0.0326544195, -0.0185588896, 0.0421944819, -0.0033392801, 0.0027326643, 0.0024622357, 0.0221639145, -0.0090075312, 0.0611579828, 0.001630615, 0.0680602491, 0.0380447656, -0.0348835848, -0.0072431071, 0.0077958857, 0.0169568658, 0.0105690146, 0.0035639615, 0.0198256373, -0.0207666829, -0.0087168906, 0.0195934437, 0.0103155421, 0.0403619446, 0.0284129512, 0.0263275001, -0.024011299, 0.006102866, -0.0032848078, 0.0007379886, -0.0372120515, -0.0485104769, -0.0481999815, 0.030317314, 0.0105482079, 0.0389048867, -0.0077907867, -0.023981262, -0.0026586747, -0.0204325877, -0.0301807206, 0.0503249317, 0.0211280007, -0.0253738053, 0.0293706302, -0.0302175563, 0.0559251197, -0.0378313921, 0.0438770577, 0.0028181595, -0.0222881138, -0.0607132092, -0.0291693434, -0.0488736778, -0.0004413955, 0.0159938857, -0.0139181213, -0.0359144881, -0.0167984087, -0.0196322724, 0.017664561, -0.0375428163, 0.0480111837, 0.0037214579, 0.0128440121, -0.0308781583, 0.013292782, -0.0412767194, 0.0009608766, -0.0345232673, 0.0039358982, -0.0438631475, 0.0056728222, 0.0198852867, -0.0292089768, 0.0538073964, 0.0665565282, 0.0075425715, -0.0287737213, 0.0036438198, -0.023552658, -0.0427457057, -0.0502696857, -0.0380816832, -0.0079810219, 0.0404413119, -0.0359659642, 0.0078835171, -0.0609993748, -0.0041814968, 0.0375644714, -0.0494587086, 0.059839882, 0.0525790453, -0.0026642529, 0.0145118451, -0.0119010527, -0.0019418903, -0.0166782681, 0.108384259, 0.0243351478, 0.0069557438, 0.0275116246, 0.0228017811, 0.0280913748, 0.0094943754, -0.0015622268, -0.0302611012, -0.0212118998, 0.0055190339, 0.0570903271, 0.012976951, 0.0513973311, -0.041262731, -0.0568595044, 0.0849078819, 0.0452813506, 0.0083439248, 0.0205435473, 0.0881831944, 0.0129743265, 0.0393636562, -0.0387298353, -0.0408520103, 0.015623576, 0.0520248078, -0.0020025056, -0.0621670894, 0.0069233598, 0.0018631252, 0.0225134399, -0.0022730255, 0.0009438535, -0.0115435198, 0.0005492474, -0.0259010848, -0.0027483674, -0.0471421741, 0.015919691, 0.0027632797, -0.075778529, -0.0066644563, -0.0193281863, 0.011442191, 0.0704330951, 0.0788883716, -0.0298236106, 0.0051642349, -0.0642523542, -0.0270495191, 0.0166643802, -0.0009214623, -0.0444474854, 0.0673070326, -0.035405647, 0.0356234722, 0.0039205248, 0.0009040748, 0.059492629, -0.0284029394, 0.0019682697, -0.0033410122, -0.0230645612, -0.0249761753, 0.0491204895, -0.0513857529, -0.0442353934, -0.0121525889, 0.0446255356, 0.0181953833, 0.0440669619, -0.0271748286, -0.0409062989, 0.0203402359, -0.0649380162, -0.0361464731, 0.0610112324, -0.0638486296, -0.0251170322, 0.0587689541, -0.0713610575, -0.0060502938, 0.0319124945, -0.0060833469, -0.0410424694, 0.0101102302, -0.0306776408, 0.0134852892, -0.0437769517, -0.0138130495, -0.0230978988, 0.0253449865, -0.0338862799, 0.0404852144, 0.0360694714, 0.0165685844, 0.0351159014, 0.0027577004, 0.0325440243, -0.0184718128, -0.0337032937, -0.0456429273, 0.0381465107, 0.0178041477, 0.0069944859, -0.0512668788, -0.0051794979, -0.0386623479, -0.0696195364, 0.0146013955, 0.0172147453, -0.0212810449, -0.0054415548, -0.0015608796, -0.0058762715, 0.0033792115, -0.0440606959, -0.0409417748, -0.0310049281, -0.0362103693, 0.0459955484, 0.0115648964, -0.0290305596, -0.0159569327, 0.017672861, -0.0705475733, 0.0469325744, 0.0161359701, 0.0330088064, -0.0210916195, -0.0060674744, 0.0227709468, -0.0002800765, -0.0197892897, -0.0247539449, -0.0094549526, 0.0068690563, -0.0163118728, 0.0593691729, -0.0318820998, -0.016590761, 0.0172566175, -0.0544836149, -0.048194766, 0.0283212047, 0.0309057087, 0.0041768923, -0.0567509867, -0.0327351838, -0.0249551181, 0.0409437045, 0.0169848409, -0.0161494687, -0.0457261465, 0.0478869714, 0.0414228365, -0.0362266749, 0.0390026197, -0.0505910031, -0.0342033915, -0.0116231721, -0.0206021797, 0.0350501053, 0.0615016222, -0.0517094843, -0.0164399613, -0.0012956207, 0.012012952, -0.0423727445, 0.0495932736, 0.004618417, 0.0325726084, 0.0313138887, -0.0487192012, -0.0318057053, -0.0052675875, 0.0594083816, -0.0242398735, 0.0331900939, 0.028669145, -0.0082008308, 0.0154020507, 0.0009300698, -0.0356115028, -0.0630904585, -0.0465299487, -0.0029597487, -0.0283593852, -0.0483105816, -0.0199061055, -0.0439550467, 0.0037921469, 0.0066622621, 0.0076488922, -0.0150803197, -0.0347224735, 0.0049747238, -0.0099918647, 0.0342125446, -0.0203743502, -0.0022060082, 0.0354428925, -0.0201603901, -0.0319117308, 0.0347077772, -0.0550231896, 0.0091219051, 0.0032119555, -0.0273519512, 0.0148191778, -0.0225513559, 0.0399517827, -0.055229675, 0.0029102629, 0.1016284302, -0.012146363, -0.0313770175, -0.0174055658, 0.0027337337, -0.0053160568, 0.0266652107, 0.0069152857, -0.0687311292, -0.0378666259, 0.0200885553, 0.0146458987, 0.0021344917, -0.0694544017, -0.022905048, -0.0887536928, 0.0322992988, -0.0039625643, -0.0125247324, -0.0029516916, 0.0162049998, -0.0130323321, -0.034547098, 0.0046074335, -0.0150699178, -0.0127816154, 0.0011496621, -0.040653795, 0.0177291054, 0.0137858614, 0.044956632, -0.0638933182, 0.0542292036, -0.0072066798, 0.0963669419, -0.0255195741, 0.0109449178, -0.0678083301, -0.0245392714, -0.028514374, 0.0170682613, 0.1003144234, -0.049842339, -0.013370798, -0.028219834, 0.0227067079, 0.0028601019, -0.0543791689, 0.023161212, 0.0629436746, 0.0172409136, 0.0143721541, -0.0055739875, 0.0503223799, 0.0013838352, 0.0769404098, -0.0006814752, -0.0209854506, -0.0490628742, -0.0086349305, 0.0189244747, -0.0590996742, -0.0603343695, 0.0309402123, -0.0111011835, -0.0379557051, -0.0640546083, -0.0220071133, -0.0284879301, 0.0242630988, 0.0912193209, 0.0126382019, 0.0094216336, -0.001518568, -0.0498205237, -0.0103649916, -0.0600734018, 0.023637047, 0.040018253, 0.035785187, 0.0449189954, -0.0385042466, 0.0176620819, 0.0636804998, -0.0482391529, -0.0508795008, 0.030651655, -0.0141215743, 0.0152770681, 0.0583740026, -0.0462959521, -0.0400469154, 0.0798033401, 0.0134043954, -0.0202009417, 0.0479326583, 0.0164524131, 0.000663506, -0.0500426963, 0.0280664749, -0.0058927485, 0.0211518463, -0.0029008437, -0.0151174273, -0.0282402057, -0.0142709529, -0.0012785497, 0.0069066146, -0.0169632155, -0.036198318, 0.0245442055, -0.0365086719, -0.0051674712, -0.0249163806, 0.0053090611, -0.0003384228, 0.0153629873, 0.0424071103, -0.0243196581, -0.0192508921, -0.0541149192, 0.0044235331, 0.0441496745, 0.0015659268, -0.0099048223, 0.0563029274, 0.0357755572, -0.0475058556, 0.0366551839, -0.0040137335, 0.0103875306, -0.0322765671, 0.0634967312, 0.0027949933, 0.0100442134, 0.0375970565, -0.0190133359, -0.0449023843, 0.0064117368, -0.1013418213, -0.0001725003, 0.0191255528, -0.0380534902, 0.0472215638, -0.0442728437, 0.0458583795, -0.0311986245, 0.0297792405, 0.024342211, 0.0162832476, -0.0123468861, 0.0238542389, -0.0406347327, 0.0276238769, -0.0195407998, 0.047119651, 0.0022073542, 0.0061803097, 0.0367115289, -0.0010034039, -0.057404045, -0.0476864576, -0.0505426191, 0.0184664652, 0.0167664383, 0.0177261997, 0.013010907, -0.0664457083, -0.064276807, 0.0839968175, -0.0122453291, 0.0415058956, -0.0273019131, -0.0074874931, 0.0159533899, 0.0265702903, -0.014638003, -0.0425321199, 0.0608308874, 0.0061287684, -0.0312812179, -0.0408658609, -4.509442449e-33, -0.0499793179, 0.0268357601, -0.0253559314, 0.0543165281, -0.0766540915, 0.0044868314, -0.0216007996, -0.0550344922, 0.0115628317, 0.0483943708, -0.0325854905, 0.0343689732, 0.0019377264, -0.025076814, 0.0210122783, -0.0413622707, 0.0611896478, 0.0212179963, -0.0291022193, -0.0143518038, 0.1024113521, 0.029031517, 0.0520926565, -0.1043957174, 0.0250278823, -0.0552322641, -0.045458369, -0.0067620929, 0.0211481713, 0.0432330668, -0.0188968033, 0.0312152673, -0.006617574, -0.0096290046, 0.0048692417, 0.038260445, -0.1076573581, -0.0219955184, 0.0202390421, 0.0332259424, 0.0280467626, -0.0761176422, 0.0158544257, -0.026941061, 0.0055775288, -0.0267154351, 0.0744979158, -0.0190617684, 0.0500232391, -0.0200996622, -0.0609666072, -0.0214391258, -0.0417555608, 0.000773778, 0.0367780775, 0.0007367325, 0.0164753553, -0.0091797607, -0.0778151751, -0.0103797987, -0.0594656803, -0.0186809637, -0.0502567105, 0.0430225059, -0.0109793684, 0.0773746967, 0.0435213856, -0.0228365641, -0.0167823825, 0.0216457956, 0.0348763801, 0.0074066874, 0.0368429944, 0.1171891168, 0.0139251985, 0.0029274507, -0.0459984839, -0.0254646186, 0.0422620438, 0.0244379397, 0.022989396, -0.0294499621, -0.0327629894, -0.0265518874, -0.0420758165, -0.0455224216, -0.0021516543, -0.0158268455, 0.0032187675, -0.040875975, -0.0109495884, -0.0104590664, 0.0377642661, -0.0861769021, 0.0074853553, -0.0020378772, -0.015095233, 0.0516852215, 0.0151965907, 0.0339712948, 0.015236794, 0.0028375811, 0.0258858521, 0.0138930241, 0.0639952198, 0.0107879424, 0.0620367154, 0.0407022946, -0.0486818366, -0.0258858353, 0.0021259724, -0.0141937342, -0.0444197319, 0.0327835307, -0.0062628626, 0.0623922423, 0.0070280824, 0.0031807784, 0.0103452886, 0.017130509, -0.0167709012, 0.0039893566, 0.0247827135, -0.0004981194, -0.0372287221, -0.0218647588, 0.0235204566, -0.0038980336, -0.015071041, -0.0709135085, 0.0119831534, -0.0402795151, 2.27e-7, 0.0198282022, -0.0102769928, 0.06997253, 0.0156411193, -0.004920898, 0.0522592589, 0.0126636298, 0.0206784327, -0.0113855731, -0.0361127034, 0.0472965129, 0.0360255986, 0.0301444754, 0.0228698384, -0.1076642573, 0.0051106964, -0.0175105948, -0.0244900063, -0.0148387384, 0.0100649558, 0.050155472, 0.0394026339, 0.0899373218, -0.0359935239, -0.0150347082, -0.0679211989, 0.051050581, -0.0134168724, -0.0277071409, 0.0270737167, 0.0386191197, -0.0232886244, 0.0041826661, 0.0414122082, 0.012234875, 0.0415700078, 0.0053075673, 0.0296926368, -0.0241797529, -0.0072909705, -0.0693714246, -0.0345875286, 0.0005928896, -0.0058434932, 0.0152999917, 0.0297858734, -0.00580701, -0.0165082533, -0.023087386, 0.007687293, 0.0435460061, 0.0306254122, -0.0329814218, 0.0088200606, 0.0158959217, 0.010403879, 0.0172109827, -0.0974095389, -0.0185468048, 0.009540977, -0.0550807379, -0.0044603697, 0.0322264694, -0.0272122808, 0.0559940338, -0.0996903554, 0.0241646301, 2.134582947e-34, 0.0224743001, 0.0075208973, 0.0257950723, 0.0518220477, 0.024670437, 0.0030911819, 0.0217621438, 0.0232117213, 0.0276037399, -0.0158757195, -0.0157128945 ]
http://arxiv.org/abs/2406.16937v1
http://arxiv.org/pdf/2406.16937v1
A Complete Survey on LLM-based AI Chatbots
2024-06-17T09:39:34
2024-06-17T09:39:34
Sumit Kumar Dam, Choong Seon Hong, Yu Qiao, Chaoning Zhang
cs.CL
cs.CL, cs.AI
The past few decades have witnessed an upsurge in data, forming the foundation for data-hungry, learning-based AI technology. Conversational agents, often referred to as AI chatbots, rely heavily on such data to train large language models (LLMs) and generate new content (knowledge) in response to user prompts. With the advent of OpenAI's ChatGPT, LLM-based chatbots have set new standards in the AI community. This paper presents a complete survey of the evolution and deployment of LLM-based chatbots in various sectors. We first summarize the development of foundational chatbots, followed by the evolution of LLMs, and then provide an overview of LLM-based chatbots currently in use and those in the development phase. Recognizing AI chatbots as tools for generating new knowledge, we explore their diverse applications across various industries. We then discuss the open challenges, considering how the data used to train the LLMs and the misuse of the generated knowledge can cause several issues. Finally, we explore the future outlook to augment their efficiency and reliability in numerous applications. By addressing key milestones and the present-day context of LLM-based chatbots, our survey invites readers to delve deeper into this realm, reflecting on how their next generation will reshape conversational AI.
[ 0.0660525337, 0.0229222346, -0.0374099612, 0.0183453206, -0.0442006402, -0.0021248548, -0.009551011, 0.0146655738, 0.0738360062, -0.0559429675, -0.0383613557, -0.0071368371, -0.0223879833, 0.0422911085, 0.0089169843, -0.0145152388, 0.0277680624, -0.0369245671, 0.0200197212, -0.0016488507, -0.0061587789, 0.0188491773, -0.0401381552, 0.0712038949, -0.0558720529, -0.0093506789, -0.0484414771, -0.0046638115, -0.0073607978, -0.0056806789, 0.0011938267, 0.0049442924, 0.0275242217, 0.0406632982, 0.0000019515, -0.0327518173, 0.0085512158, -0.0109874969, -0.0548175834, -0.0435108393, 0.041601941, 0.0061374949, -0.0296053104, 0.0485730693, -0.0700242221, 0.0211241823, 0.019303618, 0.0307771545, 0.0537302941, 0.0862239003, 0.0018288711, 0.0126565471, 0.0514309444, -0.0035288883, 0.01127721, -0.0430461653, 0.003555167, 0.0214230791, 0.01373275, 0.0148923527, -0.0123948706, 0.0214330796, 0.03079696, -0.0352131389, -0.0124265468, 0.0401233919, -0.0333485492, -0.0391565375, -0.0507500917, 0.096124351, 0.0314282142, -0.0132972226, 0.0079365745, 0.008045516, 0.0213597212, -0.0151284626, -0.0409729518, 0.0463836119, 0.0128448624, 0.023146363, -0.0117877685, -0.0322096162, 0.0046888837, 0.0228907298, -0.0175715573, 0.0407908931, -0.0059446511, -0.0255543813, 0.0115553793, -0.0078676362, 0.0010776952, -0.0823750198, -0.0129677383, 0.0681769028, -0.0267630871, 0.0481884629, -0.0498166718, -0.0075796773, 0.006015609, -0.0420212634, -0.0125605874, 0.048551172, -0.0213759337, 0.0433389395, -0.020225931, 0.0712327212, -0.0013601171, 0.0307819955, -0.011730466, -0.0421977639, -0.0456985012, -0.0201703627, -0.0152563518, 0.047018785, -0.0047195605, -0.0490297936, -0.0272366088, 0.0884170979, -0.0018348615, 0.0553573407, 0.010078636, 0.0007544166, -0.0086167594, -0.0078179408, -0.059065152, -0.0029442706, -0.0075948555, 0.0309480913, 0.0327790007, -0.0827211216, -0.0039277324, 0.0482069515, -0.0103406673, 0.0146457329, 0.0045855492, 0.0848676711, -0.0014299067, -0.049807284, -0.0207974743, -0.0200686827, -0.0206698887, -0.0642749295, 0.0133605879, -0.0344489552, 0.0472265035, -0.005671137, -0.0134630492, -0.0398407653, 0.0336571671, 0.0240099896, -0.0366892554, 0.0369744375, -0.0461948067, 0.0384487733, 0.0398403928, 0.0002756386, -0.0267432313, 0.0627887323, 0.056993708, 0.0298783854, 0.0461484157, 0.0088134082, 0.0234332196, 0.0426134765, 0.0040258043, -0.0154773295, 0.0048815934, 0.0156220105, -0.0122505212, 0.0364279933, 0.0027392788, 0.045711983, -0.0349404253, 0.0013713469, 0.0742607042, 0.0656028837, -0.0223867986, 0.0122297518, 0.0264651496, 0.0331328474, 0.0372689627, -0.0232466627, -0.0371077321, 0.0204236694, -0.0410806686, -0.0096229101, 0.002484035, -0.0015464324, -0.0402538739, -0.0512292199, 0.0067473762, -0.036999777, 0.029912319, 0.0178824514, 0.0357161053, 0.0186677221, -0.0359946601, 0.031200815, 0.031008387, -0.063880913, -0.0627536774, -0.0832019523, 0.0388398319, 0.0733722597, 0.0625869036, -0.0135174757, -0.0488438644, -0.0017480643, -0.0097763659, 0.0754357725, 0.038047865, 0.0047036055, -0.0042778472, -0.0486870632, 0.0089975707, -0.0218443945, -0.00886996, -0.0028048556, 0.0335851535, 0.0094815083, -0.0234473199, -0.0008069669, -0.0041642394, 0.0373074114, -0.0363807492, 0.014456803, -0.0140618375, -0.0099650873, 0.0497777723, 0.0207521748, 0.0027644732, -0.0229313895, 0.0527527183, 0.0020219956, -0.0272132456, 0.0401302278, -0.0152093098, -0.0345205478, 0.0401445553, 0.0120638153, -0.0143584451, 0.0194971133, -0.0209046695, -0.0266663861, 0.0160209369, -0.0425114073, 0.052613534, -0.0496761911, 0.0117858266, -0.0039890986, 0.0277788043, -0.0056668255, 0.0393213555, -0.0039117588, -0.0545363724, 0.0379739143, 0.0417639576, -0.0074029141, -0.0488915369, -0.0090571661, 0.0199810509, 0.0197527036, 0.0016724957, 0.0148798525, 0.0219328124, -0.0489632562, -0.0390295647, -0.1244617254, -0.006964542, 0.0015350654, -0.0303137153, -0.0137709016, -0.0090201674, -0.0205740724, -0.0151920915, -0.0458893515, 0.0543890186, 0.0493340567, -0.0034741713, 0.0467539318, 0.0041500232, -0.0486639068, -0.0478952974, 0.0555183366, 0.0216813963, 0.009365771, 0.0092528043, -0.014643061, -0.0626563653, 0.063465938, -0.0542727225, 0.0512102023, -0.0372358896, -0.0565894172, 0.0398047902, -0.0277408715, -0.005148578, 0.0490105413, 0.0264976174, 0.0388921723, 0.0400785394, -0.0161967073, -0.092081733, 0.0456524566, -0.0136748841, -0.0245796666, -0.0336021706, -0.0154659804, 0.0067216516, 0.0278399959, -0.0028451642, 0.0293474421, -0.0599157065, 0.0172509942, 0.0463847555, -0.0692483932, -0.0029671651, 0.0050287084, -0.0458474047, 0.0337936878, 0.0030049344, -0.0530538484, 0.0549068451, -0.0341833159, 0.001972432, -0.0122717833, -0.046585869, -0.0323267542, 0.0592145287, -0.0251007117, 0.006566504, -0.0143645229, -0.0033881497, -0.0391306393, 0.0037788798, -0.0339560136, -0.0591194928, 0.0131505998, -0.0442865379, 0.0171949286, 0.0319592841, -0.0379538722, -0.071718812, -0.0182519387, -0.0266356468, -0.0063466658, 0.0209147297, -0.0412882641, -0.0224523768, -0.016205702, 0.0183326937, 0.0261192545, 0.004348442, -0.0056314468, -0.0349798687, -0.0123126945, 0.0432251915, 0.0428513736, 0.0018507492, 0.0080531435, 0.0576871634, 0.062388096, 0.0264855754, 0.0117130568, -0.0319785066, -0.0323302336, 0.0170931462, 0.0143854041, 0.0015281209, 0.0073049953, 0.0231597796, -0.035246212, -0.0184689667, 0.1132727116, 0.018931238, -0.047900293, 0.0017224977, -0.0159137845, 0.004547528, -0.0083118863, 0.0392518528, -0.1071306542, -0.039116852, 0.0153193111, 0.0197662935, -0.0402748473, -0.0322126113, -0.0236929152, -0.1130736619, 0.03396843, -0.0192335509, -0.0269944333, -0.0487492271, -0.0190764051, -0.0017991458, 0.0088076713, 0.0516030528, 0.0008538126, 0.0015104354, -0.0348485038, -0.0027497301, -0.0482979566, -0.03396089, 0.0141464612, -0.0219104327, 0.0919326693, 0.0642343238, 0.0521323904, 0.0235951226, 0.0081972554, 0.0097309127, 0.040073473, 0.0285733547, 0.0074991351, 0.042977225, -0.0285580065, -0.0134516973, -0.0172748975, 0.0232586563, -0.0244736336, 0.0115633886, 0.0178053621, 0.0447575636, -0.066366151, 0.0112505825, 0.0004313964, 0.0310600586, 0.0115113799, 0.0797102526, 0.0229886957, -0.058567632, -0.0303562805, -0.0289216079, -0.0080612237, 0.0097505506, -0.027480796, -0.0051247138, -0.0106055802, 0.0123022962, -0.0861837864, -0.0618440397, 0.0419318937, -0.0272631589, 0.0187609661, -0.0140444618, 0.0054442524, 0.0109711485, 0.0161913913, -0.0126759447, -0.0630576164, -0.0058108154, -0.0583960786, -0.031466879, 0.0438912921, -0.0757900104, 0.0091207055, 0.0221077502, -0.0796093419, -0.0527524687, -0.0086246962, 0.0539951324, 0.0251502693, 0.0383575335, 0.0000762235, -0.0186131895, 0.027813077, 0.0479360968, -0.0460923202, 0.023246672, 0.0174868293, 0.066814281, 0.0078745419, 0.0439447388, -0.0733780265, -0.0085368827, -0.0081356959, 0.0257621873, -0.0460301004, -0.0639623255, 0.0290672015, 0.0304620881, -0.0123844035, 0.0223980602, -0.0174141005, -0.013712056, 0.0387723595, -0.0321581252, -0.0016299901, -0.0739930943, 0.0093086744, -0.0158962943, -0.0037660999, 0.0254777744, 0.001164064, -0.0366146453, 0.0401409604, -0.0073672193, -0.0232416689, 0.0071967198, 0.0096538402, 0.0034492873, -0.0019191143, -0.0196300615, 0.0427942351, -0.003024936, 0.0194217712, 0.0125711681, 0.080902122, 0.0055060349, -0.0595421083, 0.0010989814, 0.0499152914, -0.0829941928, -0.0943771601, 0.0336470194, 0.0932055712, 0.0635484979, 0.0541273169, 0.0397445448, -0.0804837868, 0.0179213304, -0.0009487353, 0.0425783955, -0.01220538, -0.0252752434, 0.012156439, -0.0003564459, -0.030419223, 0.0158572458, 0.0637757182, -0.0046025347, 0.0522126295, -0.0244567692, 0.0019837348, -0.0435503125, -0.0265358035, 0.04730222, 0.0031123671, -0.0042529656, 0.0162388626, -0.0206745081, -0.0444708392, -0.0272355154, -0.0005228498, -0.0250275787, -0.0340460017, 0.0463192463, 0.0498704687, -0.0007475194, -0.0026330762, -0.0557213426, -0.0191914197, -0.0369216837, -0.0121070845, -0.0116551351, -5.938636766e-33, -0.0269901436, -0.0297934227, 0.0428834073, 0.0481738113, -0.0394515358, -0.0116566624, -0.0265769046, -0.0054320544, -0.0371203646, -0.0071715782, -0.0414853133, 0.0421066731, 0.003136775, 0.009071785, -0.0021913375, -0.0267447215, 0.0249428693, -0.0336777382, -0.0029306391, 0.0323749557, 0.0442664959, 0.0069360416, 0.020425722, -0.063407816, 0.0169970989, -0.0065796673, -0.0163144395, 0.0241598692, -0.0093969749, 0.0427406952, -0.0113928774, 0.0428837873, 0.0141016915, 0.0084181707, -0.0159167945, 0.0155254491, -0.0133303776, -0.0135627193, 0.0010924833, 0.0158530567, -0.0341729112, -0.0303137042, 0.0278070699, -0.0281105898, -0.0177541934, 0.0477950647, 0.0138892094, -0.0374005809, 0.0038468142, 0.0254551936, -0.0303691179, -0.0069796671, -0.0057460209, -0.0618260056, -0.0066307327, 0.0425214432, 0.004918993, 0.0171522293, -0.0462896973, 0.0633643642, 0.0069019911, -0.0414376333, 0.0708156899, 0.0030107955, 0.0297420081, 0.0662473515, 0.0527226329, 0.0210925061, -0.0285197608, -0.0345717818, 0.0116332304, 0.0582297482, 0.0110348808, 0.0218051281, -0.0475162081, -0.0115503054, -0.0276661888, 0.0095118461, 0.0807652175, 0.0293812733, 0.0265796464, -0.0026038464, -0.0546377078, 0.0032004653, -0.024488939, 0.0297939219, -0.0143702244, -0.0339969583, 0.031109402, 0.0389018469, 0.0190742426, -0.0595016144, 0.0229654647, -0.0551045202, 0.0173721798, 0.021182524, -0.0405011289, 0.0222696736, -0.0033503857, 0.000464074, -0.0616048239, -0.0292803049, 0.0358139984, -0.0360447951, 0.0174108837, 0.0289652161, -0.0231058765, 0.0474312305, -0.018800104, 0.0049072099, -0.0268566478, 0.045665253, -0.0072778179, -0.0246057287, 0.0082085431, 0.0218029823, -0.0207600612, 0.0481896885, -0.0050284564, 0.0349355191, -0.0212633722, -0.0380858183, -0.0031739993, -0.0081300465, -0.058645796, 0.0034882785, -0.0315262005, 0.0051523102, -0.0065898518, -0.0643771589, 0.000413347, -0.0037955688, 2.648e-7, -0.003856621, 0.0373449251, 0.0010035456, 0.0495967716, 0.0159132741, 0.0388280787, -0.0226419643, 0.0099666556, 0.0003107461, -0.0025565184, 0.017739011, 0.0690312535, 0.0603027716, -0.0011453932, -0.1042976603, -0.0389867611, -0.0533723421, -0.0473668724, -0.0464311205, -0.0036388594, 0.0490538329, 0.0799509138, 0.0033686396, -0.0205322616, -0.0005748961, -0.0275049694, 0.0644042343, -0.0636116713, -0.0209827572, 0.0349213108, 0.03601446, 0.0468106307, -0.0119024552, 0.0156916156, 0.0377707034, 0.0379774719, -0.0124926483, 0.0546824522, 0.0231885407, -0.0562914722, 0.0095172171, 0.0158528294, -0.012284725, -0.0382843316, 0.0633108169, -0.0426115729, -0.0339083932, -0.0319111086, 0.0333674625, -0.0181759093, -0.0023658748, -0.040328078, -0.0024350733, 0.0148032438, -0.0090160752, 0.0039214804, 0.0015560918, -0.0628300682, 0.0213981699, -0.0393391587, -0.0657225773, -0.0707732439, -0.0311366897, -0.0133310203, 0.0075134886, -0.0398061089, 0.0246021822, 2.15824574e-34, 0.0062593552, -0.0004753214, -0.0133121777, 0.0868672356, 0.0202928744, 0.0117409052, 0.0271726027, 0.0072229165, 0.0109414971, -0.0686396882, -0.0173356142 ]
http://arxiv.org/abs/2406.11357v2
http://arxiv.org/pdf/2406.11357v2
Refiner: Restructure Retrieval Content Efficiently to Advance Question-Answering Capabilities
2024-06-17T09:25:10
2024-06-18T02:44:27
Zhonghao Li, Xuming Hu, Aiwei Liu, Kening Zheng, Sirui Huang, Hui Xiong
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are limited by their parametric knowledge, leading to hallucinations in knowledge-extensive tasks. To address this, Retrieval-Augmented Generation (RAG) incorporates external document chunks to expand LLM knowledge. Furthermore, compressing information from document chunks through extraction or summarization can improve LLM performance. Nonetheless, LLMs still struggle to notice and utilize scattered key information, a problem known as the "lost-in-the-middle" syndrome. Therefore, we typically need to restructure the content for LLM to recognize the key information. We propose $\textit{Refiner}$, an end-to-end extract-and-restructure paradigm that operates in the post-retrieval process of RAG. $\textit{Refiner}$ leverages a single decoder-only LLM to adaptively extract query-relevant contents verbatim along with the necessary context, and section them based on their interconnectedness, thereby highlights information distinction, and aligns downstream LLMs with the original context effectively. Experiments show that a trained $\textit{Refiner}$ (with 7B parameters) exhibits significant gain to downstream LLM in improving answer accuracy, and outperforms other state-of-the-art advanced RAG and concurrent compressing approaches in various single-hop and multi-hop QA tasks. Notably, $\textit{Refiner}$ achieves a 80.5% tokens reduction and a 1.6-7.0% improvement margin in multi-hop tasks compared to the next best solution. $\textit{Refiner}$ is a plug-and-play solution that can be seamlessly integrated with RAG systems, facilitating its application across diverse open-source frameworks.
[ 0.0387765244, 0.0498148203, 0.0052656964, 0.0109833553, -0.0141091784, -0.0075238198, -0.0528398454, -0.0009787104, -0.0370136425, -0.0542895533, -0.0252512246, 0.0110678822, -0.0373722501, -0.007328019, 0.0245438963, -0.0070485314, 0.0529798344, -0.0134227797, -0.0008281846, 0.017562734, 0.0122470092, 0.0312315561, 0.0243918318, 0.0218045469, 0.0013919576, -0.0238466021, -0.02116777, 0.0176051352, 0.0005555039, 0.0078702951, 0.0282508507, 0.0354034789, 0.0335632302, 0.0051844772, 0.0000019012, -0.0368488804, -0.0472355373, 0.0133469878, -0.027211342, 0.0115961032, 0.0382223688, 0.006704831, 0.0268229637, 0.0388269238, -0.0417566448, -0.009419092, 0.0046626218, 0.060369391, 0.0760630593, 0.060353037, 0.0071908543, -0.0271016527, 0.0482268445, -0.0172855202, 0.0374259837, -0.0118602347, 0.007867394, 0.0162205528, 0.0266024824, 0.0252690073, -0.016548356, 0.0463564396, 0.0456803516, -0.0226169638, 0.0002541626, 0.010530618, -0.0720168501, 0.0143631417, -0.0073701106, 0.0653903857, -0.0024177691, -0.0168692693, 0.0089171445, 0.0303591285, 0.0309996698, 0.0023889001, -0.0785469338, 0.0130848018, -0.0173493139, 0.0202221349, -0.0016640994, -0.0117238825, -0.0020823351, 0.0177787077, -0.0368335471, 0.0202058479, 0.0113246264, -0.0204767119, -0.0166872591, 0.0281814728, -0.0233466141, -0.0225087963, -0.0018030872, 0.0706674531, -0.0069398512, 0.0198997464, -0.0480076857, -0.0518352538, 0.0481527038, 0.0165046453, -0.0082817823, 0.0412912443, -0.0247599632, 0.0444425568, -0.0454833917, 0.0426133312, -0.0216922499, 0.0133476797, -0.0758521184, -0.0272867884, -0.0445316285, -0.0535032265, -0.0550997481, 0.0606276132, -0.0661290884, -0.0128890555, -0.0144967651, 0.0547201112, 0.0178572182, -0.0257034861, 0.0077015022, 0.0278033558, -0.008276362, 0.0055790646, -0.0101163238, 0.0538387299, -0.0284212809, -0.0017200029, 0.0572647043, -0.061676193, -0.0397033058, 0.0244120918, 0.0208025258, -0.0157300811, -0.0042451932, 0.0080926744, -0.0553608388, -0.0282593034, -0.0325263217, -0.0676393658, 0.0009832717, -0.0378761925, 0.010383822, -0.0668744519, 0.0597440153, 0.0113481097, -0.0369875506, -0.0111020468, 0.0102369068, 0.0569947623, -0.0298829284, 0.0210876781, -0.0041552018, 0.0002492094, 0.0476926826, 0.0262716636, 0.0469554216, 0.0512536913, 0.0006122326, 0.0250922628, 0.0457039401, -0.0011549819, 0.007735766, 0.00909233, 0.0473950729, 0.0017182924, 0.0021656298, 0.0400550812, 0.0090294657, -0.0205775537, 0.0610304587, 0.054129824, -0.0542804152, -0.0183499027, 0.0197290275, 0.0034648837, 0.0165888965, 0.0211474523, 0.0285672657, 0.0372734144, 0.014012563, 0.0433762148, -0.0263572391, 0.0364658497, -0.0352191366, 0.0258230139, 0.0854306892, 0.0469592921, -0.0434766933, -0.0307329558, -0.0141323712, 0.0021503284, -0.0092740953, 0.0286501907, 0.0229979008, 0.0466677919, -0.0436237492, 0.0650943071, 0.0026096811, -0.054666847, 0.0302983951, -0.0379583873, 0.0305937082, 0.036088232, 0.0807100311, -0.044486884, -0.0237115473, 0.0028951201, -0.0009732606, 0.0070614158, 0.0334839486, -0.0155767808, -0.009317833, -0.057620395, -0.0174512137, -0.0528264903, -0.0015552295, -0.0034239755, 0.0522180945, -0.0175999794, 0.0430112705, -0.0240598619, 0.0115990993, 0.0318729207, -0.005422974, -0.0427156202, 0.0045299549, -0.0279298685, -0.0079744328, 0.007902788, -0.0041127852, 0.0292051528, 0.0577676594, -0.040082369, -0.0222316347, -0.0142896352, -0.0311393421, -0.0568279661, 0.0209352523, 0.0166004766, 0.012774081, 0.0377314389, -0.05610485, -0.0450663641, 0.0059113898, -0.0459853113, 0.0185715873, -0.0644789413, -0.007602632, 0.0528838821, 0.0456862748, -0.0537853912, 0.0517995693, -0.0091483127, 0.0045801224, 0.0277296435, -0.0261670463, 0.0106607787, -0.0404435433, 0.0028287037, -0.0177113954, -0.0435123444, 0.0121151628, 0.028282186, -0.000243985, -0.0454889983, -0.0355389379, -0.0791183189, 0.030006988, -0.0270258617, 0.0303907394, 0.0353090242, 0.0409404635, -0.0013539725, -0.0190592464, -0.0581643432, -0.005865322, 0.0516999476, 0.0340186246, 0.0180827938, 0.0318609625, 0.0121401763, -0.0241703819, -0.027497964, 0.0141515303, 0.0481424294, -0.009172881, 0.0202517081, -0.055548232, 0.004427928, -0.0441641808, 0.0047960849, -0.0110821342, -0.0182308797, -0.0250342507, -0.0369379595, 0.0553746559, 0.0426637381, 0.0166361947, 0.0161473341, 0.0359633565, -0.0076544574, -0.0582610369, 0.0308637563, -0.0343581922, -0.0393639393, 0.0022949832, -0.0300718993, 0.0415126272, 0.0370528437, 0.0092425076, -0.0034099745, -0.0230759699, 0.0115837445, 0.0147203505, -0.041150894, -0.0510040112, -0.0248971507, 0.0071499469, 0.0128381383, -0.0266993064, -0.0166115165, 0.0708414912, -0.021539893, -0.0058922949, -0.0344937555, 0.0119859045, -0.0827565342, 0.0361057967, -0.0142901242, -0.0021258274, -0.0270436779, -0.0205141157, -0.0458419658, -0.0075285635, -0.0374266021, -0.0789980143, 0.0339243673, -0.0440201834, 0.0146059198, -0.0290099122, -0.0591092966, -0.044595167, -0.0426852517, 0.0344381481, 0.0166250039, 0.0091066435, 0.0026951495, -0.0298361201, 0.0053729797, 0.0557258427, 0.0318041518, -0.043340385, -0.0101973321, -0.010498439, 0.0855292901, 0.0931248665, 0.0361958072, 0.0420192443, -0.0203389041, 0.0099519622, 0.089661777, 0.0634811595, -0.0297859181, 0.0184024274, -0.0162289292, 0.0232255235, -0.0298875179, 0.0061708181, -0.0188809074, 0.0619084835, -0.0589664467, -0.0376267247, 0.0817367882, 0.0397020169, -0.0270569101, -0.0265211817, -0.0459024943, 0.0573269166, 0.0131143173, 0.0825964734, -0.0957204923, -0.0337094702, -0.0156950764, 0.0500977859, 0.0087126317, -0.0126614133, -0.0114934202, -0.1064183041, 0.0476529486, -0.0125268213, -0.0580698848, -0.011729612, -0.0224470515, -0.0135000208, 0.0355191045, 0.0150420079, 0.0551563837, -0.0400787853, 0.010464997, 0.0140907075, 0.0132144494, 0.0111661963, -0.0205993038, 0.0061085327, -0.026010951, 0.0437261611, -0.0101223057, 0.0371286124, -0.0023333104, 0.0225790031, -0.0782723725, 0.0153866187, -0.0058737085, 0.0513368994, -0.0092341499, 0.0154192867, -0.0160156563, 0.0239215735, -0.0301117469, -0.013463283, 0.0019215132, 0.0606915429, -0.0018134748, 0.0141027831, -0.0478095263, -0.001031387, -0.0178217608, 0.0770767033, 0.0360636972, 0.0033447188, -0.0509335212, -0.0014256744, 0.0079096993, -0.0509933233, -0.0005879424, 0.0286269803, -0.0122017609, 0.0069940398, -0.0854915604, -0.0453470312, 0.0236252621, 0.0236687232, -0.0352598466, 0.0175561085, -0.0333803557, -0.0101968562, -0.0824419856, 0.0237577148, -0.0537789389, -0.0325067565, -0.0300698038, 0.0110785542, 0.0115544135, -0.0556866787, -0.002508827, 0.0345119163, -0.0801794305, -0.0380545519, -0.0126222959, 0.0343636461, 0.0197290126, 0.0629167557, -0.0010902772, -0.0516797006, 0.0274700578, 0.0201606099, -0.0802925378, 0.0486604311, -0.0158775877, -0.0082493322, -0.0194659866, 0.0282788016, -0.0937214121, 0.0081029152, -0.0225430802, 0.0522809401, 0.0062805242, -0.0116650648, 0.0419705212, 0.0330077857, -0.0070498022, 0.0276721418, 0.0464687534, 0.0038933596, 0.0294918735, -0.0214640256, -0.0151764248, -0.0314135589, 0.0382867232, 0.0067784376, -0.0363620855, 0.0167819988, 0.0307956915, 0.0124056563, 0.0689071566, -0.0331413075, -0.0425009988, -0.0164387375, -0.0238250773, 0.0085847937, -0.0131300213, -0.0330877006, -0.005604683, 0.0046267794, 0.0570129678, -0.0347453915, 0.0620482303, 0.01518887, -0.0133869387, -0.0071958969, 0.0290137287, -0.0901473388, -0.0298127662, -0.0241657235, -0.008520497, -0.0094359675, 0.011321676, 0.0537652075, 0.0069275242, -0.0248144064, -0.0243486669, -0.004960685, 0.0014542035, -0.0145060048, 0.0285260659, 0.040105775, -0.0087284902, 0.0044147312, 0.0688210502, -0.0160052422, 0.0290294793, -0.0404496901, -0.0179111566, -0.0364522748, -0.0404801145, -0.014639196, 0.0252418797, -0.0091370866, -0.0165558401, -0.0296209194, -0.0257261433, 0.0005597618, 0.0137923295, -0.0183099397, -0.0125457747, 0.0285706297, 0.0668514296, 0.0004615785, -0.064502351, -0.0461233929, 0.0443699732, -0.0519522019, -0.0250192694, 0.0311382171, -6.61606865e-33, -0.0319293849, -0.0035326791, 0.0512461066, -0.0300010554, -0.0357935578, 0.0052167829, -0.0384101607, -0.0339699201, -0.0200952031, -0.0313549004, -0.0173425619, 0.0024205605, 0.0012467854, 0.044578664, -0.0136428056, 0.0018348605, 0.0511695892, 0.0046120794, -0.0394342653, 0.0427988768, 0.0426063351, 0.0221835598, 0.0274284501, -0.0060135773, -0.0225458406, -0.0227192175, 0.0118015911, 0.0335235558, 0.0089699356, 0.0642229393, -0.0143196629, 0.0139172189, 0.0345363617, -0.0377485827, -0.0196372513, 0.0229523145, -0.1319240481, -0.0218461119, 0.0089759044, -0.0196428429, -0.0719798431, -0.0465481058, 0.0516594201, -0.0313838087, 0.0389426649, -0.0191647299, 0.0083244536, -0.0184082277, -0.01582052, -0.0205281582, -0.024200961, 0.0122545613, 0.0012324121, -0.0154524231, -0.0235018618, 0.0913784653, 0.0093068583, 0.0463729016, -0.0504342839, 0.0024337713, -0.0081119575, 0.0648809299, 0.0554719046, 0.0143875768, -0.0053674122, 0.0315278508, 0.0100972597, -0.022432344, -0.0301608965, -0.0198776536, -0.0070606354, 0.0240506828, 0.0204841979, 0.0413072817, 0.0375132151, 0.017468188, -0.0573792607, 0.0544089116, 0.0048066587, 0.051885467, 0.0051606274, 0.0113381576, -0.0091726938, -0.0025486893, -0.0278189443, 0.0504789315, -0.0371311046, -0.0183446631, 0.0546996333, 0.0633237064, -0.0304417331, -0.0000739681, 0.0563616566, -0.0209858529, 0.026070876, 0.0538596213, -0.0294713732, 0.0287637711, -0.0211608186, 0.0111499848, -0.0262776613, 0.0145281581, 0.0645376444, -0.0452666059, -0.0307142325, 0.0240171757, 0.028225664, 0.0075478712, -0.0479621887, 0.0221115351, -0.0261288714, 0.0563738123, -0.0295816977, -0.0294397529, 0.0264082067, 0.0508586913, -0.0043000705, 0.0408484042, 0.0271693673, 0.013974688, -0.0295101386, -0.0435033552, 0.0427587256, 0.006084763, -0.0045383247, 0.0297480188, -0.0065077599, 0.0275597647, -0.0279154778, -0.0560252853, 0.0032762371, 0.0566962361, 2.708e-7, 0.0701828226, 0.01293144, 0.0702662244, -0.0089950189, -0.004501462, -0.0136366747, 0.0072246897, 0.0184007902, 0.0395049863, 0.0011478896, -0.0201480892, 0.0345251672, 0.0488551371, 0.0135587575, -0.0993303955, -0.0001141265, -0.062063098, -0.054362651, -0.0412545353, -0.0496820621, 0.0685790032, 0.0850985572, -0.0295232218, -0.0184257198, -0.0446891263, -0.0276974235, 0.0650184676, 0.0237804502, -0.0499383509, 0.0256906152, 0.0371283703, 0.0023632357, 0.0066904533, -0.0295421425, -0.0182224084, 0.038616024, -0.0010561773, 0.0539477654, 0.0215915721, -0.0711623803, 0.0103102177, -0.0135822091, 0.0159910955, -0.0490630493, 0.0716278628, -0.0386527441, 0.0098094083, -0.0046247831, -0.0592725426, -0.010921441, -0.003294454, -0.015024879, -0.0081139123, 0.049603533, -0.0037319863, 0.0088867657, -0.01809581, -0.0930436105, -0.0270114802, 0.0118372245, -0.0402287655, -0.008335596, -0.0505182408, -0.003501693, -0.0156193739, -0.0779279694, -0.0079399757, 2.822033624e-34, 0.0312437546, -0.0009081486, -0.0021709402, 0.0435277484, 0.0370504782, -0.0170491952, -0.0365524665, 0.0350485258, 0.0010259955, -0.1279463619, -0.0147092557 ]
http://arxiv.org/abs/2406.12937v1
http://arxiv.org/pdf/2406.12937v1
Self-Train Before You Transcribe
2024-06-17T09:21:00
2024-06-17T09:21:00
Robert Flynn, Anton Ragni
eess.AS
eess.AS, cs.CL, cs.LG, cs.SD
When there is a mismatch between the training and test domains, current speech recognition systems show significant performance degradation. Self-training methods, such as noisy student teacher training, can help address this and enable the adaptation of models under such domain shifts. However, self-training typically requires a collection of unlabelled target domain data. For settings where this is not practical, we investigate the benefit of performing noisy student teacher training on recordings in the test set as a test-time adaptation approach. Similarly to the dynamic evaluation approach in language modelling, this enables the transfer of information across utterance boundaries and functions as a method of domain adaptation. A range of in-domain and out-of-domain datasets are used for experiments demonstrating large relative gains of up to 32.2%. Interestingly, our method showed larger gains than the typical self-training setup that utilises separate adaptation data.
[ 0.0009306612, 0.0186704751, -0.0174990352, 0.0117155295, -0.0198820196, -0.0008558032, 0.0642413124, -0.0306089167, -0.0224114992, -0.0414845385, -0.0829056054, -0.0305150989, 0.0143531663, 0.0122366333, 0.0097993333, -0.069091484, 0.0309570953, -0.075305678, -0.0463045351, 0.0047542285, -0.0219613072, -0.0207163505, -0.0699041635, 0.0072045503, -0.0008683905, 0.0055845459, 0.0011422058, 0.0244419072, 0.0073744054, -0.0097392136, 0.0097136432, 0.0542092212, 0.0277581755, 0.0016817817, 0.0000019058, -0.0324933156, -0.0288500581, -0.0079619279, -0.0244989935, 0.0060838978, 0.0389513709, 0.0010183813, -0.018945802, 0.0423050709, -0.0375295207, -0.0343834795, 0.0444046184, 0.0021526227, 0.0252288766, 0.0706836879, -0.0131958192, -0.0205505937, -0.0279378388, -0.0128143542, -0.0465844423, -0.0576719306, 0.0170703661, -0.0159486011, -0.0134958886, -0.0469732545, -0.0298523884, 0.0321005136, -0.0123051507, -0.0461936854, 0.0146595677, 0.0049087852, -0.0120405918, -0.0061911801, -0.0256305244, 0.0228518229, 0.0482538901, -0.0089417435, 0.0203920957, 0.0084260814, -0.004379658, 0.0184793416, 0.00213982, -0.0311215073, 0.0287047159, -0.0005023269, -0.0290927794, 0.0415697768, 0.0098219644, -0.005953921, -0.0202666335, -0.0019649265, -0.0222187489, -0.0560768992, 0.0132148508, 0.0433300845, 0.0256525688, -0.0010894602, 0.0492770188, 0.0195234846, 0.022147635, 0.0017103207, -0.0801460817, -0.0639744624, -0.0297456775, 0.0044519142, 0.0188869368, 0.0579662696, -0.048386842, -0.0102258846, -0.0140319746, 0.0470996797, 0.025818117, 0.0171218999, -0.0400156789, 0.0224285349, -0.0721050724, 0.0158903003, -0.0653438643, 0.030100489, 0.003558198, 0.0109541416, -0.059725631, 0.0103054978, -0.0146959843, -0.0503870584, -0.009062741, -0.0425976627, -0.0930499062, 0.0075547374, 0.0054611932, 0.0433408357, 0.0299980547, 0.0614561103, 0.0284569133, -0.055312451, -0.0234829616, -0.0159455538, 0.0277856085, -0.0057719601, -0.0103256516, 0.1008804739, -0.0241563208, -0.0330626853, -0.0442771614, 0.022820605, -0.0430916101, -0.0352988653, 0.0289603472, -0.0422515459, -0.0014043212, 0.0082301386, 0.011216728, -0.0547700338, -0.0245965216, -0.0380690843, 0.0284619555, 0.0584624372, 0.0032498052, 0.0154610593, 0.0742980838, 0.0043177134, -0.0021856441, 0.0686134845, 0.0415867604, -0.0478644371, -0.014932231, -0.035508927, 0.0122730779, 0.0647898093, 0.0442506336, 0.0230756328, -0.0159172993, 0.0081996433, 0.0412248038, 0.0299266111, 0.0454498492, -0.0039794636, -0.0160343591, 0.0056036436, 0.0780196413, 0.0321136713, 0.0390746146, -0.0084437802, -0.0021065928, -0.0154218795, 0.0165682249, 0.0273156296, -0.0399622247, -0.0551088899, 0.0071111987, 0.0156835448, 0.0094875311, 0.0186025295, -0.0127451057, -0.0320998989, -0.0057115927, -0.0172726028, 0.0056721014, 0.0123122847, 0.0731121302, 0.0511004589, -0.0167272352, 0.0513007827, 0.0247085001, -0.0338851437, 0.0469027534, -0.0422425754, -0.0466438197, 0.0356095396, 0.0091020027, -0.0892524421, -0.0370604917, -0.0155305797, 0.0291962121, 0.0623429641, 0.0377953835, 0.0229763724, 0.0273795594, -0.0606820695, -0.0083999978, 0.0326729938, -0.0049029598, 0.040826384, -0.0055099269, 0.0428558253, -0.0072968518, -0.0486232154, -0.0367341042, 0.0162138641, -0.0467355214, -0.0386551917, 0.0364310481, 0.0074928352, 0.0422696546, 0.0155914184, -0.045367647, -0.0227969885, 0.0056132246, -0.0179090388, 0.0050643561, 0.012134728, -0.0898862854, -0.0099605536, 0.0501651131, -0.0294109564, 0.0057253358, 0.0281165857, 0.0061450014, -0.0635730475, 0.0278768875, -0.0304270927, 0.0081055043, -0.0210672263, 0.038689293, 0.0118562514, 0.0108474968, -0.0094898818, -0.0302860625, 0.0575571284, -0.0648363382, -0.0134420032, 0.0230391175, 0.0129985362, -0.0436805412, -0.0028143791, 0.0144616337, -0.049623318, 0.0557920896, -0.0390044898, -0.0072704633, -0.0434159487, -0.0193948857, -0.0350106619, -0.0110433744, -0.0074302931, 0.0609603263, 0.0128220916, 0.0188174173, -0.0271146353, -0.0490301028, -0.02110257, -0.0323236883, -0.0270992387, 0.0027724695, -0.0108362185, 0.0088448552, 0.0299239457, -0.0055674305, 0.0140640019, -0.0090051871, -0.0004628415, -0.0231317785, -0.0285184458, -0.0586907938, 0.0762015879, 0.0371232033, 0.027017504, 0.028637534, -0.0205471274, -0.0201177094, 0.0334365629, 0.0475014225, 0.0191152059, -0.0206607301, -0.0120120617, 0.0436609648, -0.0153113808, -0.0374064632, 0.0176935624, 0.0203453973, 0.0102480929, -0.0346521176, -0.0001025251, -0.0446151234, 0.0093524409, 0.0253594127, 0.0207266156, -0.0530293025, -0.0107944598, -0.0560102277, -0.0502565503, -0.0246614628, -0.0272761583, -0.0211540964, -0.0030900117, 0.0004634373, 0.002926948, 0.0322529823, -0.0635295659, -0.0028023776, -0.0705464706, -0.0432450734, 0.0118296882, 0.0028849877, -0.043820288, -0.0258130953, 0.052471716, -0.05071868, -0.0127139855, -0.0245583579, 0.0487795696, -0.0360449366, 0.0374456085, -0.0587015375, 0.0263157748, -0.0199941173, -0.0554086789, -0.021611467, 0.0086511821, 0.0002452175, -0.002720695, -0.0450001992, -0.0169992894, -0.0229969677, 0.0239461549, -0.0114732282, 0.106253624, -0.028810164, 0.0065880059, -0.0050107162, 0.0599669106, -0.0084022637, 0.0753759965, -0.0382376164, -0.0275828801, 0.0143925874, -0.0131627591, 0.0837329701, -0.0082519585, -0.0465656891, -0.0146600883, 0.0170247033, -0.0056547178, 0.0098570297, 0.0179120097, 0.0735570639, -0.0521443076, -0.0359355584, 0.0638344288, -0.0123871481, -0.0197131895, -0.0254491754, -0.0099033872, 0.0237012133, -0.0003713189, 0.022278877, -0.0359054841, -0.0246580523, 0.039217677, 0.080523327, 0.0085997237, 0.0186345298, 0.018800728, -0.0930529907, 0.036740344, 0.0262351353, -0.0558717661, -0.0345599093, -0.0420372747, 0.0083312299, -0.0263139326, 0.0645999834, -0.0398327932, -0.0232573152, -0.0138335051, 0.0917833075, -0.0494959205, -0.0785693228, -0.0223598331, -0.0086059356, 0.0938871577, 0.08518181, -0.0139975566, -0.0139048537, -0.0055645891, 0.0583648756, 0.0187302604, 0.0420148745, -0.0153480889, 0.0741937906, 0.0189246368, -0.0125238048, 0.0514265075, 0.0118727898, -0.0334876664, -0.0001873163, 0.0532685444, 0.0639219657, -0.0093562678, 0.0240634084, -0.0019337528, 0.0372910164, 0.0472683907, 0.0460557751, 0.0071147671, -0.0513912365, -0.0029357497, 0.0082977004, 0.0211320948, -0.0383400097, -0.0333345495, 0.0185240675, -0.0417473167, -0.0428328328, -0.0303220265, -0.0428460836, -0.0103994021, 0.0617273524, 0.0482670031, -0.005244541, 0.0180915687, 0.0462673418, -0.0199292414, 0.0110812914, -0.0178533066, 0.0113070915, -0.0591229536, -0.0304247886, 0.0278431419, -0.0449558236, 0.0013843653, -0.0057364632, -0.053790044, -0.054988414, 0.0533890389, -0.0010723557, 0.0184380841, 0.068933934, -0.0142548522, -0.0234766174, 0.071996741, 0.0427125618, -0.061922878, 0.0351690389, 0.0905447602, -0.0459580682, -0.0244987439, 0.0074697621, -0.0233058948, 0.0355576351, 0.0181335863, -0.0286372192, -0.0027557043, -0.0276993793, -0.010898442, -0.0080531426, 0.0874074996, 0.0267383438, -0.0181716289, -0.0324381329, 0.0489465185, 0.004924424, 0.0382529348, -0.0219608676, -0.0163501166, 0.0428216122, 0.0363466144, 0.0031557754, 0.0097342571, -0.0258735269, -0.021603452, -0.0300215371, 0.0453233272, 0.0113829812, 0.0588474944, 0.0029491917, 0.0225020796, -0.0062460387, 0.0214064065, 0.0384137221, 0.0269623604, -0.0051337993, 0.0137000112, 0.0259801932, 0.0232154541, 0.0596926324, -0.0120143713, -0.0459199399, 0.0111412304, -0.0612283945, -0.0145108933, -0.0059018969, -0.0030933858, 0.0547419563, -0.0041171373, 0.012523395, -0.0069177286, -0.0028171022, -0.0217403881, 0.0666183531, -0.0006915, -0.0219836067, 0.0211806502, 0.0234501753, 0.0404846855, 0.0060833916, 0.0494460501, 0.0042781471, 0.0518454462, -0.0393237285, -0.037523482, -0.0034475687, -0.0141935814, -0.0158737525, -0.0069511812, 0.0219212603, -0.0522270314, 0.0377075411, -0.0223131664, 0.0174037851, -0.0487841889, 0.0287085939, 0.0082975179, -0.0365498997, 0.0156844798, 0.0129759153, -0.011735999, 0.0467728339, -0.0125046596, 0.010760081, -6.093646635e-33, -0.0557042062, 0.0167950038, 0.0314859971, 0.0244677495, -0.019361563, -0.0053191353, -0.0164102484, 0.0146377087, 0.0225087125, 0.0103494897, -0.0306007117, 0.0217282865, 0.0694273263, 0.0122427046, -0.0070736082, -0.0168564301, 0.1032983586, -0.0638566241, -0.0012786106, -0.0096987179, 0.0032073921, 0.058345098, 0.0391587354, -0.1212981939, -0.0177117549, 0.0237611365, 0.0049116267, -0.0240255911, 0.01597373, 0.0222865045, 0.0037661714, 0.0367769711, -0.0087399799, -0.0702685192, -0.0339709632, 0.0217624251, -0.0961165354, -0.0006565444, -0.0370784625, 0.060483899, 0.0111714117, -0.0258828513, 0.0326355733, 0.0227526166, -0.0383621678, -0.0537936538, 0.031714052, -0.0552050844, -0.0020980714, -0.0210504346, -0.0412319079, 0.0406856053, -0.0076385089, -0.0370281078, 0.0577586405, 0.0727507547, -0.0303271543, -0.0884858444, -0.0745032951, 0.0444094203, 0.0391502939, 0.0751834884, 0.0264502279, 0.026731424, -0.0588783659, 0.0073140929, 0.0481694415, -0.0161991585, 0.0744102299, -0.0559967346, 0.0495887548, -0.017978292, 0.0123391459, 0.0332898572, 0.0254552085, -0.0406669676, -0.0441916101, 0.0190852899, -0.0061356034, -0.0799813643, 0.0172754861, 0.0028332598, -0.0283770412, 0.0071199532, -0.0162382908, 0.0034058695, -0.0057968441, -0.0056007304, 0.0551034547, -0.0043523903, -0.0182338208, -0.0075309854, 0.046115838, -0.0352823623, 0.0136762504, -0.0424809381, -0.015170807, -0.0136494366, -0.0437759086, -0.0040744506, -0.0494741462, -0.0706387237, 0.0359916016, 0.0821203738, 0.0163393002, -0.0269530658, 0.0383978784, 0.0524537042, -0.0649200454, -0.0142388726, 0.0046066693, 0.048503492, 0.0227598026, 0.0216763038, 0.009117662, -0.0103133814, 0.0091040814, 0.0318884999, 0.0146480249, -0.0395243652, -0.0417847969, 0.0666453391, 0.0008691698, 0.0403317921, -0.0258282684, -0.0120593812, 0.0089707086, -0.0083104251, 0.0170525108, -0.0479250439, -0.0141648296, -0.0024845169, 2.695e-7, 0.0061711795, 0.0397851877, 0.0274292473, -0.0409264304, 0.0267382134, 0.0333093964, -0.0547598749, 0.0430385284, 0.0511336327, 0.0527310781, 0.0233934969, 0.0021060323, 0.0863883495, 0.0373785608, -0.064852342, -0.0602955818, -0.0350379124, 0.0477772579, -0.0020462158, 0.0317061171, -0.0197244827, 0.0419231132, -0.0132618425, -0.0406344607, -0.007429156, -0.0388761014, 0.0262442306, 0.0008629414, 0.0332156606, 0.0132394303, 0.0007663932, 0.0048704823, -0.0134713585, 0.0569046214, -0.0538396165, 0.0401983112, -0.0005053871, 0.0126920361, -0.0101799909, -0.0227550734, 0.0044956771, 0.0563262627, -0.0086685587, 0.0230032243, 0.0183870289, -0.072552219, 0.0005556743, 0.002469063, -0.0358538777, -0.0276571829, 0.0001559138, 0.0097367177, 0.0224468093, 0.0152885243, 0.0258839093, 0.0316765606, -0.0539122932, -0.0219973624, 0.0113913044, 0.0057366085, -0.0458975136, -0.0062808958, -0.0500903577, 0.0047415975, 0.0053726011, -0.0519532636, 0.0126894452, 2.063354188e-34, 0.0114136804, -0.0153220035, 0.0225044712, -0.0020124549, -0.0304261055, -0.0168677792, 0.0209000744, 0.0129072107, 0.0075272154, -0.0250821952, -0.0255184043 ]