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.3298496902, -0.3434074819, 0.1790491194, 0.094726041, -0.0961677283, -0.1239910126, 0.1400907338, -0.5728731155, -0.2641246617, 0.8914022446, -0.4294802248, -0.6835506558, -0.5682740211, -0.1936921626, -0.3935483992, 1.1609034538, 0.1768195778, 0.185285598, 0.1403510123, -0.4073535502, -0.5217046738, -0.5162549615, -0.2167626917, 0.2466293573, 0.7649841309, 0.2212286592, 0.8992367983, 0.9273993969, 0.7533000708, 0.3035569191, -0.0603016689, 0.263177067, -0.4759807885, -0.0311907176, -0.3780881763, 0.0075257267, -0.6570958495, -0.3275623024, 0.6793689132, 0.6542520523, -0.1786180735, 0.0940695331, 0.0498066396, 0.7787656784, -0.783213079, -0.1667294055, -0.6242470145, 0.0407811776, -0.3114765584, 0.0951371938, -0.5084146261, -0.4145300984, 0.5487912893, -0.5496702194, -0.0387344249, 0.3799352348, 1.0416259766, 0.4244891405, -0.5750150681, 0.2940520942, -0.4305676818, 0.7109538317, -0.4373720288, 0.4936649501, -0.0672214404, 0.4117294252, 0.0504531525, -0.2628789842, -0.4142372608, 0.0121210422, 0.0455276333, -0.145699963, -0.1039514765, 0.0335796587, 0.0811511353, -0.1506948322, -0.9458215237, 0.1310760081, -0.3048038781, -0.2726374269, 0.6053248644, 0.505920589, 0.3121199608, 0.2040738463, -0.7743950486, -0.1405786872, -0.8952050209, -0.0430701487, 0.22070086, 0.4840627313, -0.2287359834, 0.9611206055, -0.2063427418, 1.2510033846, -0.2307987362, -0.0179690421, 0.8165061474, -0.5244604349, -0.3084655702, 0.1396380663, 0.7647298574, 0.884313345, 0.4872221053, 0.1929570585, -0.0762571022, 0.1434116364, 0.4276215732, -0.334702462, 0.0810744688, 0.0788984597, -0.0190597828, -0.5207449198, 0.0603898391, -0.9336278439, -0.6361662149, -0.5649141073, 0.3293063641, -0.414023608, -0.359392643, 0.5704603195, 0.0444008335, 0.3372505009, 0.3388622999, -0.6511702538, 0.0418896154, 0.5917729139, 0.5492656827, -0.5061351657, -0.5569158196, -0.5663033128, 0.3308306932, -0.3332243562, 0.6211901903, -0.4289603531, -0.2481291145, 0.0033739335, 0.2302527279, -0.1299269497, -0.3397906125, 0.32122311, -0.264913559, 0.1452133507, -0.234471038, -0.2038620114, 0.0022519662, 0.1908308566, -0.6256538033, 0.8757705688, -0.0043904344, -0.9599214792, 0.6029638648, -0.4502722621, -0.1766390949, 0.0623269305, -0.2648107708, -0.6089225411, -0.2314376682, 0.0970061868, 0.2101085186, 0.0854148939, 0.3147462904, -0.6681377292, -0.2509149909, 0.5155656338, -0.4941105843, 0.8025166988, 0.2383978665, -0.3620222211, 0.4428147972, -0.6215825677, 0.0422977507, 0.0274750944, -0.0127675906, -0.4539862275, -0.2474691719, 0.2465890795, 0.4581819177, 0.4420412183, -0.4109645188, -0.0381197669, -0.4753211141, -0.12511307, 1.0206720829, -0.314494729, 0.3236849606, -0.1524825245, 0.1904754192, 0.3567384779, 0.832264483, 0.2435875833, -0.4418810606, -0.8126513362, -0.2728191018, 0.0084539503, 0.6273238063, -0.5910994411, 0.5853452682, -0.4221828282, -0.3225156963, -0.6755049229, -0.04668428, 0.9013559818, 0.6099666357, 0.3009541929, -0.2002292722, -0.4254125655, -1.1382645369, -0.021414496, 0.0355274081, 0.4771023989, 0.4547407031, 0.082329005, -0.2650223672, 1.0051350594, -0.5109968185, -0.1782152057, 0.007366457, -0.449980706, 0.0117667355, 0.3625296354, 0.8527374268, -1.1778618097, -0.4172175527, 0.2517597377, -0.7087535262, -0.0329407826, 0.5007891059, -0.5586561561, 0.5102163553, -0.0738456175, -0.3850750625, 0.3546646833, 0.6673474908, -0.8297126889, 0.3698812425, 0.023312619, 0.1485490352, -1.1537578106, 0.2339468449, 0.3562109172, -0.1901600212, -0.8159536123, 0.0325852819, 0.0765367523, 0.1201659366, -0.9921197891, 0.5520969033, -0.196035713, -0.299169153, -0.0026325874, -0.024100814, -0.0888315067, 0.1893284172, 0.4225644469, 0.8247359395, 0.8073494434, -0.4335201979, 0.296526581, 0.2609607875, -0.0635844469, 0.4656739235, -0.3892580867, -0.2126400769, -0.2282956094, -0.2546757758, -0.6525754929, -0.1972588003, 0.4858051538, -0.2260671407, 0.2449122965, -0.185864225, -0.0483081602, -0.169467628, -0.1685227752, 0.4790685773, 0.3629460335, -0.3893668652, 0.2572543025, 0.8838956952, -0.2407752872, -1.3271532059, -0.3527210057, 0.0439636409, -0.3675810695, -0.5810950994, -0.1008340344, -0.1859636456, -0.2409101576, 0.1618362069, -0.0411009826, 0.0575958639, -0.2754428685, 0.3497682214, 1.0522896051, -0.2970322967, -0.1557699442, -0.1759088188, -0.5094941854, -0.4542148113, -0.2103766501, 0.4687822163, -0.5612976551, -0.4315221906, -0.0476257429, 0.3398808241, 0.7215951085, -0.4260834157, 0.6929053664, 0.3096155524, -0.3289604485, 0.1075123996, -0.4908446074, 0.3440788686, -0.4436138868, 0.3538859189, -0.1275280416, -1.1504696608, -0.1271852553, 0.256577909, 0.1876634359, 0.306215167, 0.5875563622, -0.0123184985, 1.1140435934, 0.7631564736, -0.2342515588, 0.390191406, 0.0875636265, 0.1403912455, -0.4502987862, -0.4225024879, -0.445507586, 0.2218142599, -0.3146277666, -0.2801366746, 0.4563122988, -0.4912852347, -0.52656883, 0.4464528263, -0.7100248337, 0.5860714316, 0.1867859811, 0.0701724961, 0.0863863006, 0.3113851249, 0.0224135276, -0.201803118, -0.2891501486, -0.545147121, 1.0198742151, 0.3331261873, 0.9784436822, 0.2730855346, 0.5146846175, 0.1031900868, -0.0534574203, -0.3267258704, 0.6458678842, -0.4582759142, -0.5540992022, -0.4572523832, -0.2855564356, -0.7313202024, 0.4649965167, -0.4236709177, -0.8407751322, 0.2016295493, 0.3202968836, -0.4408118725, -0.0395616665, -0.6427993774, 1.130071044, -0.7118350863, -0.482439667, 0.0537020899, -1.0372568369, 0.4089566171, -0.1164931133, 0.213980481, -0.2699872255, -0.08989162, 0.3204098642, -0.1722955108, 0.8809096813, -0.0515027158, -0.0958940163, -0.0441677421, -0.2202339768, 0.1843371838, -0.2852427363, 0.0564324483, 0.389626354, 0.0438187905, -0.2378805131, -0.2119362205, 0.7969477177, -0.8258245587, -0.4250249565, -0.6972398758, -0.5021427274, -0.2803645432, 0.4602104425, 0.284337014, 0.3998428285, 0.0283849631, 0.0814694911, 1.1360501051, -0.2469493002, 0.1367902607, 0.6202488542, -0.5177602768, -0.4773415029, 1.2301126719, 0.0406572223, 0.3940703869, 0.2042089999, -0.2552382052, -0.587477088, -0.4631008804, -0.7442911863, 0.0896726176, -0.7232379317, -0.1124733463, -0.696321249, -0.6007594466, -0.4645519257, -0.226565361, -0.4073677063, -0.1367622316, 0.0263043828, -0.1520788223, 0.2436908484, 0.585088253, 0.1317705363, -0.1559891254, -0.930118978, 0.3700956404, -0.0578900054, 0.3717432022, -0.6800821424, -0.1250434071, -0.071100913, -0.0755676478, 0.0366664566, -0.6822292209, 0.3914069831, -0.1531024575, 0.7380205393, 0.4144544899, 0.0294815004, 0.640026629, -0.5041045547, 0.752880156, 0.5389018655, -0.632216692, 0.4866680801, -0.3177468479, -0.2906413972, 0.477725774, 0.260907501, -0.3903876841, -0.2091427743, -0.3756482899, -0.8875828385, 0.4541172683, 0.2117089182, -0.2008522451, 0.3093370497, -0.0483300202, 0.319049865, 0.2225585133, -0.6908584237, -0.2052653283, -0.3136977553, -0.5916883945, -0.1350072771, -0.2762734294, -0.4689541161, -0.0023189604, 0.687104404, -0.2366310805, -0.0521379411, -0.1435789913, 0.1082641333, -0.1287651211, 0.2314707339, 0.668032825, 0.482993722, 0.0431389101, 0.2844907641, 0.1957046092, -0.4450334907, 0.2891325653, 0.0312281009, -0.2189154476, -0.264659971, 0.0760505274, 0.7240431905, 0.005084177, -0.8555625081, 0.825820744, -0.1018436104, 0.0732434317, -0.2162679136, 0.4798263609, -0.217623353, 0.2244036496, -0.1502473503, 0.2731668949, 0.2995093465, 0.0156082204, 0.4250213206, 0.5218837857, -0.4436429441, 0.133855924, 0.3836198449, 0.0741662234, 0.0549889095, 0.3921870887, 0.3276548386, -0.2341588885, 0.5046865344, 0.2731087506, 0.7012704015, -0.17377913, 0.2230654806, 0.1964607388, 0.3882600069, -0.0227918401, 0.3832119405, 0.3805502951, -0.8838645816, -0.2433559448, -0.8074947596, -0.2612667084, -0.0237352774, -0.6179283261, 0.4121033549, -0.2634111047, -0.2417330593, -0.1104989126, -0.5226939321, -0.4360390604, 0.3500521183, 0.3328445256, 0.8271120787, -1.0721871853, 0.9522182345, 0.7294636965, -0.3378657401, -0.5815147758, -0.1169359535, 0.4041231275, -0.9579653144, 0.4478337169, 0.2361741215, -0.4364073873, -0.1544112265, -0.6137129068, -1.0489441156, 0.9498174787, 0.4835036397, -0.8857530355, -0.1176456884, 0.4811964333, 0.4880836904, -0.3794056177, -0.4666144252, 0.3353269994, 0.4473814368, 0.2586659193, -0.9720595479, -0.0473345928, -0.3849325776, 0.2642542422, 0.292452246, -0.6050271392, 0.3568616509, -0.3937360644, 0.0202460606, 0.1354197264, 0.3777957261, 0.666785419, 0.3364007771, 0.5906480551, 0.642986536, 0.3949782848, -0.166891396, 0.6077321172, -0.213985309, 0.31859079, 1.0634012222, -0.5341498852, 0.6529418826, 0.625259161, 0.0831649229, -0.0979493707, 0.5195871592, -0.0464340933, 0.7728916407, -0.2019894123, -0.2804696858, -0.6648893952, -0.2284178585, -0.581618309, 0.2379149497, 0.375648886, -0.2666004598, -0.0991727784, 0.087455608, -0.2971983552, -0.3241250217, -0.0996862426, 0.7782896161, -0.0960419253, -0.4620021582, 0.2568075359, -0.5146424174, 0.4425650835, -0.5728948116, -0.1202760041, 0.1191231459, 0.2879057527, -0.258933574, -1.5060083866, 0.2953437567, 0.0509729385, -0.0265688784, 0.1015299857, 0.7558776736, -0.4274771512, -0.379239738, 0.3492531776, 0.2310549468, 0.0706053525, 0.538801074, -0.843968153, 0.3340548575, 0.0285022035, -0.1627358049, 0.5311565995, 0.2896476686, -0.255251199, 0.7668642402, 0.6032708287, 0.021603778, 0.3933169246, -0.0269519594, 0.9623222947, -0.4050504565, -0.4150853753, -0.7217658758, 1.0141997337, -0.2535304725, -0.4323179424, 0.6006729603, 0.6666125655, 0.7877462506, -0.0530866012, 0.9094753861, 0.0153626762, 0.2365959734, -0.710831821, 0.5968873501, -0.6150690317, 0.0431465395, -0.4758169353, -0.7624001503, -0.4818641245, 0.5044307113, -0.1208532676, -0.090751715, 0.2305577695, 1.0992825031, -0.089493759, -0.1329223663, 0.5440913439, -0.0497704335, 0.1446550041, 0.5732383728, 0.7815660834, -0.0260160025, 0.4751393199, -0.2203597128, -0.4981893897, -0.3778017759, -0.9083833694, -0.5968381166, -0.7713090777, -0.3047121167, -0.5880679488, 0.4754824042, 0.8648614287, 0.6162691116, -0.7129608393, 0.0018945748, 0.0706066638, -0.112007007, -0.1488704234, -0.1577931494, 0.2240564227, -0.0547225475, -0.4705653489, 0.2602501214, 0.6561065316, 0.3342552781, -0.1295677722, -0.3758653104, 0.1626237035, -0.1702074409, 0.5250914693, 0.3034441769, -0.8871598244, -0.5397778749, 0.0626437962, -0.558152616, -0.0411453359, 0.3364052176, -0.1293415874, 0.4949711561, 0.4176277816, 0.5242774487, 0.0314440057, -0.242813006, 0.4883545637, -0.3597336113, 0.0087286644, -0.0694517791, 0.7955456972, 0.2893993556, -0.5401428342, 0.5483360887, 0.1736492962, -0.4891942143, -0.718788743, 0.358643055, -1.4554764032, -0.1082867607, 1.3339574337, -0.0145259593, -0.2880792916, -0.1777463257, -0.7412773967, 0.16727525, -0.29907161, 0.4854328334, 0.4133636057, -0.1002403051, -0.3357248008, -0.0882212892, 0.3891519904, 0.2029183358, -0.7042089701, 0.3578796685, 0.9235510826, 0.6816205978, 0.1152126715, 0.459393084, -0.4642907977, 0.4574041069, -0.2939742208, 0.2963531315, -0.061347153, -0.7634288669, -0.5112364292, 0.2653841376, 0.0744368434, -0.341538012 ]
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.204658553, -0.7289928198, 0.2584224343, 0.1643953174, -0.4157935679, 0.0487751216, -0.189739719, -0.9999361038, 0.3270712793, 0.4043011963, -0.6823720932, -0.3455865085, -0.3148141205, 0.2707005143, -0.6510784626, 1.0802608728, 0.1271724999, 0.0133321593, 0.0838312209, -0.0310570262, -0.0834771767, -0.4822263718, -0.7471364737, 0.0045650927, 0.6802092195, 0.4122629464, 0.5615548491, 0.8284181952, 0.5139552951, 0.3102547824, 0.1816292703, 0.1452776492, -0.6896100044, 0.292455703, -0.0681989491, -0.739269793, -0.794712007, -0.3161290586, 0.2291032225, 0.4873942733, -0.4694456458, 0.3676247895, -0.1642881632, 0.537065804, -0.5279179811, 0.0188681725, -0.5883342028, -0.0696576089, -0.1227772385, -0.0616068654, -0.3898542225, -0.2358019203, -0.0557040945, -0.9121392965, 0.1540738791, 0.3652867079, 1.0559369326, 0.1130634546, -0.3897642493, -0.392839402, -0.8843259811, 1.1429376602, -0.6128757596, 0.5324143171, 0.3578009903, 0.0908138007, -0.1338393241, -1.0702445507, -0.4475942552, -0.1140459329, -0.1000522897, 0.354657948, -0.2607918978, 0.0433810726, 0.2006976455, 0.4829801023, -0.6871517301, 0.2701048851, -0.4081976712, 0.1201552674, 0.5909089446, 0.399802357, 0.4259741604, 0.1251867712, -0.2948341668, 0.0605185218, -0.8684299588, -0.2014440149, 0.4320576489, 0.343611747, -0.0954208821, 0.1641443223, -0.5775416493, 0.8248484731, -0.1192142069, -0.5931172967, 0.028373871, -0.4135237634, -0.4022230208, -0.1578793824, 0.5210614204, 0.25028947, -0.0935337096, -0.0759754702, -0.3703530133, -0.1160984784, 0.0348397195, -0.8830093741, -0.2475207746, 0.4154267907, -0.6774383783, -0.0532821082, -0.0074263685, -0.5706551671, -0.0454905778, -0.5911963582, 0.4534437358, 0.2008744776, -0.250554949, 0.2802349329, 0.027597053, 0.1784587055, 0.3605360985, -1.0676094294, 0.5990695953, 0.7452697754, 0.6904821396, 0.0453839898, -0.3147303462, -0.4523121417, 0.4900540411, -0.1948350668, 0.6277061701, -0.2264564484, -0.0855746418, 0.1726277322, 0.1479328424, 0.2940674126, -0.6533168554, 0.5037501454, -0.8205314875, -0.0181516912, -0.1379728019, -0.5901406407, -0.2443196476, 0.4760055542, -0.7487649918, 0.585030973, 0.017606955, -0.3964271247, 0.3339151442, -0.2168525308, -0.5051509738, 0.2160716355, -0.013418206, -0.4278178215, 0.0784724727, 0.1655174643, 0.3880263567, -0.5922454596, -0.2088551372, -0.3377966583, -0.4648841619, 0.0516096316, -0.218118012, 0.837520659, 0.2992801368, -0.2918535173, -0.1247416958, -0.6266152263, -0.2134279013, 0.2563750446, -0.2428091466, -0.314732492, -0.0504490882, 0.3827776909, 0.0777694434, 0.5290008187, -0.3743062019, 0.2310719341, -0.4037773609, 0.4136368036, 0.6617109776, -0.2901585698, 0.1367326528, -0.3972754776, 0.8679522872, -0.06114823, 0.4864753187, -0.390945822, -0.608002007, -1.1319702864, -0.3098471463, 0.2955665886, 0.6050371528, -0.3637989461, 0.1597961783, -0.2656930089, -0.4495106637, -0.4493741393, 0.4033289552, 0.0906555578, 0.0323128924, 0.1925177276, -0.3264928758, -0.3707064986, -1.1276409626, -0.1513074189, -0.3637813628, 0.0812364891, 0.2202763259, 0.2135658711, -0.4784747958, 0.6005474925, -0.4625914395, -0.3939167857, -0.5072146058, 0.1782108098, 0.4909558296, 0.1596503854, 0.3832840919, -0.6435956359, -0.5651760697, 0.1981386095, -0.4175667465, -0.1584289223, -0.2434230894, -0.1990904063, 0.3610961139, 0.4591183066, -0.7336027622, 0.2688206136, 0.5422233939, 0.0671806261, 0.2427557558, -0.4025256038, 0.2278567702, -1.2298146486, -0.2915341556, 0.1321772486, -0.3422101438, -0.602360189, 0.3304721415, 0.2405514568, 0.1642054915, -0.5299524665, 0.2559390962, -0.5356777906, -0.3334877789, -0.2688129842, 0.4149459898, 0.3003725111, 0.1854546368, -0.123050645, 0.6723709106, 0.1747414023, -0.9537934661, 0.6557378769, 0.191038698, -0.5797916651, 0.3467759192, -0.7615530491, -0.0368356891, -0.004770604, 0.0782483593, -0.7573622465, -0.0852115378, 0.1333057135, -0.2387336642, 0.4320905805, -0.1901802123, -0.8317781687, -0.3627538085, -0.153939411, 0.2414980382, 0.5671016574, -0.7025156021, 0.481498152, 0.395889461, -0.3095290363, -0.5331327319, -0.8318695426, 0.1330667436, -0.4242608249, -0.4887645245, 0.5166588426, -0.3534376025, -0.2729961872, -0.2252200842, 0.4806318581, -0.0122091146, 0.4999578893, -0.2267194986, 0.2696573734, -0.1861356497, 0.3018447161, 0.0808733553, -0.2089594305, 0.0665166751, -0.282928437, 0.4399902225, 0.2937175333, -0.3235061765, -0.6661245227, 0.1016050428, 0.3391632438, -0.0183349214, 0.8495237827, 0.4188016951, -0.3769270778, -0.4657454491, -0.3551276922, -0.3398703337, -0.4989161789, 0.6017274261, -0.4241384864, -0.8095909953, 0.4154833555, 0.1714182496, 0.3065774739, 0.3025557399, 0.8487430811, -0.0875839293, 1.1305713654, 0.9595341086, -0.4876482785, 0.403314501, -0.0221186802, 0.622517705, -0.4468984008, -0.061701335, -0.5330210924, -0.3629247844, -0.6994075775, -0.2356644124, -0.029283518, 0.3189202249, -0.3436257243, 0.3359049857, -0.0688385218, 0.5617392659, 0.5429182649, -0.0939511284, 0.5910694003, 0.3909065425, 0.4893105626, -0.0087060165, -0.597741127, -0.4946397841, 1.2640028, 0.3139742911, 0.9277489185, 0.5036967397, 0.4801749885, 0.2468152344, 0.4257483184, -0.9592094421, 0.3961791992, -0.258803159, -0.64884305, 0.0870550945, -0.3222561777, -0.8893994093, 0.1203733981, 0.2123584449, -0.5373237729, -0.1480237544, -0.0248781983, -0.5936077833, 0.3239691257, -0.4139139652, 0.6370491982, -0.518155098, -0.4687958658, -0.4491131008, -0.1534422487, 0.3848278224, -0.2057773024, 0.2843165398, -0.006147054, -0.494115591, 0.6477338076, -0.3111859262, 0.6927037835, 0.3161390126, -0.3449195921, 0.0670285895, 0.0893834531, 0.5893949866, 0.0144826304, 0.1940999627, 0.1539853662, -0.0948893428, -0.4233009517, -0.426215291, 0.8347979784, -0.955354929, -0.6605657339, -0.2919547856, -0.3129738867, -0.100563854, -0.0445399024, 0.12689659, 0.2533552945, -0.1477213204, 0.1873734891, 0.6461236477, -0.3619005978, 0.4411008656, 0.8199568391, -0.5114356279, -0.2979788482, 1.0286333561, 0.0339347422, 0.3070817888, 0.5977030396, 0.0605405159, -0.2265540212, -0.5694778562, -0.7015758157, 0.4600261748, -0.7877830863, -0.2494344264, -0.7090135813, 0.0239803772, -0.3769635558, 0.1402608454, -0.2182287872, -0.5241237879, -0.5848169327, -0.2400434911, 0.4412069917, 1.1308076382, 0.0080911126, 0.5559882522, -1.1330574751, 0.2883095145, 0.5173707008, 0.1286702752, 0.0150004057, -0.8465060592, -0.7996416688, -0.0201680325, -0.2332922071, -0.5787406564, 0.576256156, 0.190500468, 0.4856683016, 0.8054668307, -0.2250795662, 0.7619582415, -0.3688313365, 0.909751296, 0.1176250279, -0.8286668062, 0.4272580445, -0.5376440287, -0.0837555006, 0.2641612589, 0.6318642497, -0.6183437109, -0.2838226557, -0.3750667572, -0.9717555642, 0.775578022, 0.011947562, 0.3072859645, -0.1266836822, 0.2905223072, 0.1613039672, 0.4292709529, -0.828525126, -0.4582100213, 0.334363848, -0.4247093499, -0.1889729202, -0.4664320946, 0.0075326692, -0.2137289196, 0.9189283848, 0.0550752282, 0.0313291326, -0.2696429193, -0.3864011765, -0.2577055097, 0.0338547416, 0.6221182942, 0.8912755251, -0.0447039269, -0.4477163851, -0.0505442023, -0.5202437043, 0.0602285936, 0.0386274643, -0.2825073302, -0.0901212543, 0.1753701717, 0.4131642878, -0.0317405276, -0.8799524307, 0.3543711901, -0.2354188859, 0.0549204759, -0.5781639218, -0.0867800266, 0.1621008366, 0.3248157501, 0.1975193173, -0.6216979623, 0.4290565252, -0.5714074969, 0.1287236959, 0.1955557317, 0.0594883412, -0.3683753312, 0.6416783929, 0.193402335, -0.0386900827, 0.7455384731, -0.2970922589, -0.5024450421, 0.7828765512, 0.6665545702, 0.8088294268, -0.2663157582, 0.1776158214, 0.4761739671, 0.6852476001, -0.204917714, 0.3457335234, 0.1124033332, -0.7730329037, -0.3390831351, -0.8125082254, -0.6141021252, 0.2416309565, -0.6954188347, 0.3397005796, -0.5274507403, -0.1256727576, -0.4642445445, 0.1868196279, -0.6308866143, 0.29886958, 0.2836495936, 0.5918107033, -0.7521554828, 0.8757408261, 0.5667501688, -0.4788635075, -0.616558075, -0.2203247547, -0.0664408132, -0.5065439343, 0.9059367776, 0.1810368747, -0.0590387993, 0.0378227159, -0.1812769324, -1.057107091, 1.2116863728, 0.1293044239, -1.1449792385, 0.3784564734, 0.262840569, 0.304248929, -0.4059740901, 0.4867712557, 0.8373277187, 0.132221669, -0.3694693148, -0.6216417551, -0.3295490742, -0.1391219497, -0.0008733105, 0.3536238074, -0.9194735885, 1.1440250874, 0.0396536849, -0.1439896077, 0.5078362823, 0.6390649676, 0.3358588517, 0.1206134334, 0.3632793725, 0.9942712784, 0.9576640725, -0.022591278, 1.110462904, -0.5800722837, 0.2844207585, 1.1543343067, -0.4103403687, 1.1295204163, 0.2059995681, -0.4327396154, 0.7240846753, 0.8223534226, 0.1536853611, 0.3090291619, 0.1700149328, -0.3624984026, -0.1778568774, -0.2036840916, -0.2723101377, 0.1014950871, 0.501406014, -0.362788409, 0.2030165344, -0.1031195894, -0.0796391815, -0.2573755085, -0.4728794098, 0.6027323604, 0.1898436248, -0.0928341299, 0.2417949438, 0.3337384164, 0.6586048007, -0.6115348935, 0.196234405, -0.5856123567, 0.3638121486, -0.1043914333, -0.0603680424, -0.1079972237, -0.0676703304, -0.1657746136, -0.1800924242, 0.5403011441, -0.4512526691, -0.7247752547, 0.5116986036, 0.5023745298, 0.144011721, 0.1718121469, -0.8714387417, 0.2418823242, -0.0433836989, -0.4984325469, 0.4343657792, 0.3813414574, 0.2644173503, 0.6658149362, 0.5381157398, 0.2610362172, 0.1582457125, 0.409239918, 0.5408780575, -0.8622529507, -0.6649776101, -0.6266278625, 0.3564747274, -0.1339673996, -0.1868206561, 0.9416618347, 0.61005193, 1.196564436, -0.0219906233, 0.7087657452, 0.4313221872, 0.5089589357, -0.4684974253, 0.703551054, -1.0154881477, 0.3451469243, 0.0420205034, -1.1807545424, -0.1445228308, 0.6178260446, 0.1023560539, 0.1755824238, 0.6524685025, 0.9118404984, -0.045075193, 0.1193095222, 0.6007112861, 0.4457117617, 0.2595852315, 0.6497892737, 0.9707598686, -0.7867397666, 0.5596398115, -0.3536874354, -0.0809342936, -0.4222044051, -0.6215167046, -0.7194997072, -0.1833516508, -0.610393703, -0.042347569, -0.1733803749, 1.0420398712, 0.531377852, -0.7157480121, -0.7824438214, 0.0561431013, -0.1318308264, -0.0984238982, -0.1135807708, 0.0851646811, -0.4485843182, -1.0947221518, 0.3975223303, 0.5616224408, 0.2624264956, -0.4913307428, -0.0962511674, 0.0257275142, 0.16254282, 0.7739371061, 0.0178224668, -0.7068129182, 0.2524468601, -0.0425189175, -0.097051464, -0.1402016133, 0.7647727132, -0.5993812084, 0.2330573946, 0.46829018, 0.6284887195, 0.3677989244, -0.2393472642, 0.5321464539, -0.0950720385, 0.4488096237, 0.0186400879, 0.5465099216, 0.2653548717, -0.1366660148, 0.2567634881, 0.1506622136, -0.5602331161, -0.6230728626, 0.3669579625, -0.5872623324, -0.4281568825, 0.960003078, -0.1904955357, -0.4813145101, -0.2790881693, 0.2088147402, 0.0772055089, -0.1081170961, 0.7618104815, 0.5623063445, 0.3553594649, -0.3269109726, -0.7847412229, 0.2971441746, 0.4869640768, -0.9120877981, -0.1364807039, 0.6173528433, 0.1213567406, -0.1877229959, 0.608956039, 0.2515203953, 0.2483120263, -0.2169942111, -0.0107340934, 0.298951894, -0.6293084025, -0.3318500221, 0.0604961365, 0.4275821447, 0.0488843769 ]
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.0448055193, -0.5999765992, 0.6106800437, 0.2847694159, -0.2240029275, 0.1099008918, -0.2545138001, -0.2821232975, 0.2867916524, 0.5551149845, -0.4018616974, -0.1664347053, -0.5642663836, -0.090449512, -0.8300830126, 0.7968656421, -0.0044053094, -0.5555856824, -0.0945677683, 0.3653846681, -0.4319162965, -0.2363357693, -0.4514261782, -0.0656465366, 0.4495784938, 0.585778296, 0.5706607699, 0.9000079632, 0.2460974604, 0.237521261, -0.4849618375, -0.1782079935, -0.7597544193, 0.2390596718, -0.2732145786, -0.566660583, -0.2932897806, -0.2295696139, 0.7152069807, 0.2973668277, -0.1796797365, 0.1102306396, -0.0352694057, 0.8099286556, -1.0158680677, 0.0661882013, -0.7418009639, 0.2860884368, -0.2563397288, -0.1774983108, -0.5469003916, -0.2890630066, 0.1012832895, -0.3763910234, 0.5818326473, -0.0508163981, 0.8435028791, 0.3879356086, -0.1979488283, -0.028435614, -0.8378482461, 0.675825417, -0.3031765819, 0.1727875322, 0.244227916, 0.2202845663, -0.1360401064, -0.5204768777, -0.430683881, -0.1259890199, 0.1803983599, 0.1627520174, -0.3123606741, 0.256864965, 0.3268239796, 0.5779123306, -0.2586939037, 0.0567152649, -0.4558130801, -0.0916530862, 0.4121493697, 0.0754729882, 0.0922176689, -0.2775283456, -0.7459515333, 0.0927461237, -1.1460493803, 0.1832651645, 0.261020869, 0.235547483, 0.2736111283, 0.6286841631, -0.2318243682, 0.2011065483, 0.2580924928, 0.3180733323, 0.0599090606, 0.1040574014, -0.3106454909, 0.4364542067, 0.6923058629, -0.1108990461, -0.0348719358, -0.1108104736, -0.5044374466, -0.2925459743, 0.4707402289, -0.7378128767, -0.2678174078, 0.5554812551, -0.3481979072, -0.0715281218, -0.038720075, -0.7000442147, -0.5689631104, -0.0604483038, 0.1083854213, -0.6161593199, -0.5063871145, -0.2007717043, -0.3555669188, 0.351421535, 0.5466291308, -0.8514130116, 0.3406811357, 0.8737561703, 0.608533442, -0.3869432509, 0.0537650175, -0.5780748725, 0.0625971854, -0.351323396, 0.3465167582, -0.6282870173, -0.258420825, -0.1458721161, -0.1000669375, -0.2567676306, -0.9467650652, 0.057626076, -0.8112536669, -0.4429734647, -0.1595992148, -0.6536954045, -0.2787466347, 0.2825684845, -0.984008193, 1.2420102358, 0.1212137267, -0.6455747485, 0.0118063502, -0.7111558914, -0.4034075439, 0.133993566, -0.0119622862, -0.4423494041, 0.4648890197, 0.0764990225, 0.4012742043, -0.0024242632, 0.4506636262, 0.0148073472, -0.4683178663, 0.001897105, -0.6443800926, 0.4014252722, 0.3996338248, -0.4879513681, 0.3551570177, -0.6399941444, -0.3689469993, 0.2405176312, -0.3759209216, -0.3929307163, 0.2982735634, -0.1064063683, 0.1859004945, 0.4143241942, -0.6942769289, 0.0447492152, -0.2368447632, 0.2471512854, 0.8219608665, -0.1543712318, 0.3483315706, -0.1381063908, 0.8193441033, 0.6686109304, -0.0762365982, -0.4130682349, -0.2147544622, -1.0041399002, -0.4856383801, 0.169779107, 0.7226819992, -0.6690292954, 0.295538038, -0.462249279, -0.0897412077, -0.3188134432, -0.0967068896, 0.5194705725, 0.1475224793, 0.3746237755, -0.3090859056, -0.188564375, -0.8126302361, -0.4063971937, 0.3477046192, 0.2231580913, 0.1269002706, 0.4295732677, 0.1688782424, 1.1239460707, -0.4380064905, -0.0221744142, -0.630071342, 0.0175762828, 0.1180872321, 0.5523802638, 0.1116294712, -0.7396783829, -0.2214894146, -0.1431799233, -0.1950176954, 0.3591659069, -0.1861841828, 0.0130288322, 0.1238387972, 0.4563487172, -0.5910538435, 1.0038200617, 0.1767977774, -0.2010736912, 0.7482541203, -0.0619450249, -0.19075872, -0.9915989041, 0.0600200519, -0.0579893142, -0.6632375121, -0.5749744773, 0.1157661155, 0.4275915325, -0.1176101938, -0.7458949685, 0.3833091855, -0.7229297757, -0.0754410177, -0.2976376712, -0.1450575143, -0.277713716, 0.3255284727, 0.3738978207, 0.7774090767, 0.3011836708, -0.7421554923, 0.1411144584, -0.0633613244, -0.2381613255, 0.1511799395, -0.3057084978, 0.109261781, -0.3892941177, 0.0335652977, -1.0072288513, -0.1301868409, 0.0787164718, -0.0595768504, 0.6241155267, -0.2483908981, -0.3066901565, -0.424299866, -0.2853702009, 0.5260169506, 0.3965839148, -0.5963519812, 0.4891728461, 0.263717711, -0.3579873443, -0.6416823268, -0.3207900524, -0.0976123065, -0.2690491378, -0.0809703916, 0.3359811604, 0.3317376971, 0.1687828004, 0.0895419046, -0.3886435926, -0.370005697, 0.1925049871, 0.260335505, 0.0258488078, -0.2899884284, 0.4366843104, 0.350620389, -0.0007868918, 0.1849939674, -0.2354252636, 0.6315540671, 0.0265374277, -0.3668860197, -0.3856871426, 0.4893592298, 0.5587469935, -0.4790113568, 0.7281610966, 0.4001154602, -0.4001814723, -0.1710986942, -0.5835747719, 0.0031982823, -0.4544065893, 0.6994211078, -0.3046142161, -1.0130013227, 0.30205971, -0.3723060787, 0.1328617334, 0.3773756921, 0.1256520599, 0.0095615778, 0.6106047034, 0.7993975878, -0.4314979911, 0.7889170051, -0.385019958, 0.2365983278, -1.1036887169, -0.0200941674, -0.4386891723, -0.445862323, -0.2344689369, -0.6609945297, 0.3045227528, -0.065545395, -0.3826536536, 0.2006022632, -0.4470136464, 0.8502647877, 0.5924478769, 0.2479919195, 0.0296646226, -0.1159709916, -0.1177930459, 0.1667376161, -0.6870673299, -0.2583067119, 0.8621783853, 0.2793571651, 0.8149388433, -0.1376657039, 1.0880476236, 0.216807425, 0.1070825681, -0.9335534573, 0.4828986824, -0.10533645, -0.447676748, -0.4660429657, -0.5226724148, -1.0714701414, 0.2704557478, 0.3587744534, -1.1505980492, 0.0787560344, 0.4733712673, -0.647669971, 0.5721356869, -0.3128001392, 0.9509994388, -0.1552804261, -0.2878752649, -0.5195510983, -0.7848962545, 0.5751280785, 0.2002766877, -0.0311299767, -0.2674600184, 0.1783650219, 0.7674893141, -0.6083212495, 0.8081761599, -0.289803654, -0.0149521502, 0.4372494221, 0.372641325, 0.8303188682, -0.2976261675, 0.0413211174, -0.2580656111, -0.1152060255, -0.2559247017, -0.276943177, 0.4938167036, -0.5533568859, -0.7396624088, -0.50841254, -0.6487060785, 0.075532347, 0.2250383645, 0.2434838116, 0.2127458155, -0.1051896289, 0.0566624291, 1.2160359621, -0.3162993193, 0.7635844946, 0.098411873, -0.2117720097, -0.1013196036, 1.0573461056, -0.1804074049, 0.3398619294, 0.7836425304, 0.3366386592, -0.3643667698, -0.3946911693, -0.1672353894, 0.0462775938, -0.4621682167, -0.1904033571, -0.5779600143, -0.4680680633, -0.1330364347, 0.1597657502, -0.9437546134, -0.5025445223, -0.6016684175, -0.1825994402, 0.2468698323, 0.8628380895, 0.2572695315, 0.3137787879, -0.9515300989, 0.5095834136, 0.0909346491, 0.2742764056, 0.2213294059, -0.4625920057, -0.2744657695, -0.0013451761, -0.6089701056, -1.0097277164, 0.4513861537, 0.078986004, 0.3546810746, 0.6365280747, 0.2845753133, 0.8181319833, -0.4752900898, 0.7814127803, 0.1500041187, -1.1456449032, 0.6410375834, -0.1041039675, 0.546461165, 0.2728459537, 0.3025722504, -0.5163753629, -0.5234764814, -0.4721492231, -1.3533821106, 0.8060621023, -0.0574006587, 0.0493745878, -0.2119653523, -0.0193027761, -0.0544505902, 0.3820411861, -0.5572197437, -0.015282386, -0.1108499914, -0.2628528476, 0.2666040063, -0.5350997448, 0.1380727142, -0.2547473609, 0.603027463, 0.0833425, 0.5561016798, 0.2032050341, -0.5117653608, 0.0955818221, 0.5817215443, 0.5416274071, 0.2838474512, 0.1120376065, 0.0570444427, -0.1608156711, -0.5918716192, 0.2674905658, -0.0555308349, -0.2024945021, -0.2888619602, -0.1839326322, 0.7936902642, 0.3710202277, -0.5491640568, 0.5946515203, 0.1027880535, 0.0638915971, -0.416215688, 0.1036197916, 0.0219948273, 0.0942947119, 0.3768777847, 0.0242779218, 0.2512955368, -0.1855268776, 0.0563917309, 0.2842954695, -0.6747005582, -0.2048230469, 0.6819164157, 0.1288585514, 0.1090374738, 1.2040590048, -0.3538180292, -0.835288465, 0.9753736258, 0.7038750052, 1.1009863615, -0.2630266547, 0.0305072088, 0.153908968, 0.3144719303, -0.1089198664, 0.4695329666, -0.3480385244, -0.4804216325, -0.3326514661, -0.5070931315, -0.1713302732, 0.2189128101, -0.7424596548, -0.1773448437, -0.4100217223, -0.00924771, -0.536375463, -0.4067385793, -0.627386868, 0.0965594202, 0.430870533, 1.1371887922, -0.7778143883, 0.8165480494, 0.4617844224, 0.0610502772, -1.0245784521, 0.1898736805, 0.1714811623, -0.3706782162, 0.5429018736, 0.5905356407, -0.1442569494, -0.055474069, -0.3972269893, -1.141449213, 0.8137575984, 0.2791039646, -0.7033447027, 0.0765510499, 0.1135596111, 0.1043455824, 0.0658434555, 0.2970530391, 0.8447992802, 0.2117371857, 0.264044106, -0.8578528166, 0.1496228874, -0.1922419071, 0.2689482272, 0.4712838829, -0.74871099, 0.8938683271, -0.4433236718, -0.2902920544, 0.2327294946, 1.0524379015, 0.0342854634, 0.0500545651, 0.5088143349, 0.6780421138, 0.9562351108, -0.1850310415, 0.8055469394, -0.2448693812, 0.1881555021, 1.2642220259, -0.4196753502, 1.0583080053, 0.4144285023, -0.1793581098, 0.3070153594, 0.4825851321, 0.4956102073, 0.537771225, 0.5196322203, -0.3921265006, -0.1989009678, 0.1860328168, -0.0152844954, 0.4681348801, 0.6791161299, -0.3920400739, -0.2188189477, -0.1270429045, 0.2025561035, -0.1882154644, -0.6322202086, 0.7400118113, -0.1214082688, -0.9369869828, 0.496145457, -0.167136088, 0.4613302946, -0.4350655675, -0.1845464259, -0.3092459142, 0.3146884143, -0.1996222734, -0.608181119, 0.2304631025, 0.160869211, -0.420786798, -0.2799657285, 0.4827460647, -0.6745328903, -0.2616568208, -0.0015897704, 0.0671346262, 0.3326521516, -0.5325744748, -0.2797312438, -0.147540763, -0.198443383, -0.4367631972, 0.3666289747, 0.2906486094, -0.320132345, 0.740473628, 0.2268514782, 0.0414172746, 0.6769323945, -0.0505613871, 0.9434508085, -1.0045366287, -0.7202410698, -0.7791529298, 0.4578209221, -0.0023983265, 0.026316708, 0.5359496474, 0.9274936318, 0.6448106766, -0.242345199, 0.9576789141, -0.0790993646, 0.5148355961, -0.4630845189, 0.6696834564, -0.364528507, 0.2782669067, -0.1999216527, -0.6812793612, 0.1045416743, 0.1686549634, -0.3062984943, 0.0702633485, 0.6885719895, 0.587937057, -0.215120852, 0.1320013553, 0.2302035242, 0.0739611462, 0.4270854592, 0.8658335209, 1.1198860407, -0.0621186793, 0.2039915323, -0.3864583969, -0.0787422583, -0.4555717111, -0.9266541004, -0.5206301808, -0.2055961788, -0.3099537194, -0.0229652282, 0.116479218, 1.0418998003, 0.6125382185, -0.8710918427, -0.2697395086, -0.0835705176, 0.4372082353, -0.5358791351, -0.2786997855, 0.4879499972, -0.472668618, -0.530438602, 0.6031374335, 0.493180722, -0.056652125, -0.0196532998, 0.3140877187, -0.1924959868, 0.0026376629, 0.5231009722, 0.5772190094, -0.7843703628, -0.2351638973, -0.168090716, -0.0245334562, 0.3456303179, 0.8445849419, -0.885763824, 0.4890991151, 0.4028462768, 0.6602184772, 0.596006453, 0.3704036474, 0.4149830043, -1.1179326773, 0.1511690021, 0.3812815845, 0.336579144, 0.1889939904, -0.6249523163, 0.0501468889, 0.029873047, -0.3370135128, -0.4284652472, 0.2317230254, -0.817158103, -0.1069952771, 1.054766655, -0.4417234659, -0.6715428829, 0.0128706424, 0.0114629446, 0.2777430415, -0.6512463093, 0.5569846034, 0.3500047028, -0.1541135758, -0.4071260393, -0.2355341315, 0.3830812275, 0.4087381959, -0.680157721, 0.3453431427, 0.4560116529, 0.374568522, 0.0769001171, 0.5641857982, -0.0380428992, 0.6092278361, -0.0829722732, 0.2187518924, -0.1800033748, -0.845662415, -0.4530873597, 0.2214211524, 0.0435628928, -0.6271170378 ]
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.2731298804, -0.5722950101, -0.0374803692, 0.43415609, -0.235532105, 0.2381607592, -0.0981555656, -0.7527549863, -0.1424339265, 0.387403667, -0.5232319236, -0.5108267665, -0.3132976294, -0.0559169054, -0.4371013343, 0.7927997708, -0.0679288954, 0.185069859, -0.1692732573, -0.1183855012, -0.4321224689, -0.2807678878, -0.8664866686, 0.0967433006, 0.1185903624, 0.1212321296, 0.7548434734, 0.7500998974, 0.8562467098, 0.3065012395, 0.1850427091, -0.0136897825, -0.1207198128, -0.0029532397, -0.2636991143, -0.1411729455, -0.5026204586, 0.330139488, 0.5577584505, 0.4642394483, -0.2858526111, 0.8385742903, 0.15509139, 0.6570438147, -0.6661698818, 0.4058746397, -0.1492262185, -0.001967991, -0.0515949801, -0.0637281686, -0.0899618715, -0.804982245, 0.4778482318, -0.6917870641, 0.0791137964, 0.3266422451, 0.9540410042, 0.1972888559, -0.2376434058, -0.4455060363, -0.4645245671, 0.5940647721, -0.8053373694, 0.4770588577, 0.4540715516, 0.6889369488, 0.3906967938, -0.7734966278, -0.6413597465, 0.0231166929, -0.1805876046, 0.1224276051, -0.4696043134, -0.0762194619, 0.0899749026, 0.3334156275, -0.783841908, -0.0924992189, -0.3327657282, -0.4078818858, 0.5893707871, -0.056353651, -0.0454634316, -0.1389555782, -0.5360093713, -0.770357132, -0.1715361774, 0.2623409629, 0.5356317759, 0.3200870454, -0.0573538728, 0.2017358989, -0.3177980483, 0.7335719466, 0.063368775, -0.1722325683, 0.2696602345, -0.6595906615, -0.2622853518, 0.0264806282, 0.6461654305, 0.5300721526, -0.1266250312, -0.0289795753, -0.2568274736, -0.3617455661, 0.1960102171, -0.6477021575, -0.0457077399, 0.4279813766, -0.5007227063, 0.0695459694, 0.5305230618, -0.741160512, -0.0832675025, -0.2692872882, 0.6365047097, -0.2591895759, -0.194540754, 0.2152631581, -0.3666079044, 0.4020684063, 0.3661735356, -0.5003711581, 0.5578925014, 0.8707873821, 0.4567187726, -0.145822987, 0.0733030587, -0.8567153215, -0.0123201767, -0.3202687502, 0.8034043908, -0.2679076493, 0.3741577268, -0.0260633286, -0.3266392946, -0.1991592646, -0.7224448323, 0.5225340724, -0.6740096211, 0.3184211552, -0.2622459531, -0.6201946735, -0.519862175, 0.2080938816, -0.6884326935, 0.7397264242, 0.3345049024, -0.8132938147, 0.4921645522, -0.6237113476, 0.0473110303, 0.154288888, -0.1271877289, -0.2639017999, -0.6930034161, 0.35486269, 0.3686047196, -0.5673261285, 0.5599912405, 0.1239128187, -0.4340500832, 0.4344424307, -0.5064429045, 0.5607799292, 0.0882279649, -0.4633327425, 0.0117260665, -0.5937128663, 0.2979538739, -0.1289002448, 0.1092378497, -0.1829687208, -0.65170753, 0.2214764059, 0.1718677878, 0.4783878326, -0.5492967963, -0.3629418612, -0.4542783201, 0.3631606996, 0.5663568377, 0.1376141906, 0.0282785706, -0.5692787766, 0.6118471622, -0.0946217179, 0.4822820723, -0.0285834819, -0.2280088514, -0.3962056935, -0.0500776917, 0.8740383983, 0.678293705, -0.4354977012, 0.426122576, 0.0430049077, -0.5997580886, -0.8355664015, 0.2471482605, 0.5694630742, 0.7042620778, 0.3748870492, -0.2725760639, -0.1935908794, -1.233746767, -0.5381420255, -0.4046190381, -0.3515064418, 0.2508168221, 0.2161096185, 0.2659773231, 0.6876184344, -0.2723699808, -0.3094312251, -0.0507928357, 0.549747169, 0.3672050834, 0.4514924288, 0.5362539887, -1.0964524746, -0.1803985238, -0.3239659071, -0.4451099634, 0.1484838575, -0.428520143, -0.2055626661, -0.1478291303, 0.1193200499, -0.1793815941, 0.3975246549, 0.5343686938, -0.5318156481, 0.3872352839, -0.1211712211, 0.4416907728, -0.6085594296, 0.5208628774, 0.1747436523, -0.300144136, -0.346488297, 0.0828116238, 0.2785835266, 0.1661887318, -0.3112365603, 0.7033516169, -0.0703953803, -0.4828208685, 0.0568835028, 0.5131931305, 0.2506096065, 0.4908116162, -0.2261537015, 0.9235340357, 0.1784199625, -0.6692995429, 0.4288100898, 0.6389533281, -0.451287061, 0.4591042697, -0.494538784, -0.1316542178, 0.0805915147, 0.2070381194, -1.1454131603, -0.0671157911, 0.3049820065, -0.5987495184, -0.0528959334, 0.3294281662, -0.6202357411, -0.2423625141, -0.454210043, 0.3723783493, 0.0189718176, -0.475473702, 0.4851745963, 0.2302120477, -0.6461863518, -0.7252041101, -0.8010786772, 0.1391889751, 0.155305624, -0.6818578839, 0.4124448895, -0.160221234, -0.3909281492, 0.0707933381, -0.3620052338, -0.2281692177, 0.0238978043, -0.0054781544, 0.5835719109, -0.4709828198, 0.1387673169, -0.0228010863, -0.4023731649, 0.08728946, -0.0143269887, 0.3351823688, -0.4836156666, -0.2666056752, -0.9426711798, -0.0200340878, 0.0098073408, -0.3023366928, 0.5000876188, 0.5417890549, -0.3026802242, 0.0910836235, -0.7801043987, 0.0091950502, -0.4960606992, -0.0356606469, 0.1188948676, -0.9249375463, 0.5620899796, 0.178596437, 0.4529576302, 0.8418183923, 0.1513919234, 0.1357843131, 0.537837863, 0.6390818954, -0.0380640067, 0.1307915896, -0.0835641995, 0.2355028838, -0.2797580063, -0.2868148386, -0.6914824247, -0.2094943076, -0.3955358565, -0.4333337247, 0.2461139113, 0.1225413978, -0.4766699374, 0.5423133373, -0.5261692405, 0.2640419006, 0.584674418, -0.1677177101, 0.5354788303, -0.4423135817, -0.1290514022, -0.0282532983, -0.47016415, -0.5267770886, 0.8564587831, 0.5435224771, 0.3949615359, 0.0149774682, 0.3295517266, 0.7241972685, 0.2890083194, -0.3673745692, 0.2952711582, -0.069592312, -0.2714398801, -0.5218732953, -0.6691288352, -0.3037953079, -0.031894438, -0.1699973941, -0.3609706163, 0.4555819035, 0.0284551643, -0.8810981512, 0.07138367, -0.4223891795, 0.87044245, -0.121649228, -0.0657236204, 0.0213777516, -0.6712224483, 0.4555426836, -0.3682334125, 0.332909137, -0.2011446506, -0.3341074586, 1.1247065067, -0.2238453478, 0.5109762549, -0.2139377594, -0.2220488042, 0.2810227573, -0.0869661868, 0.3027750552, 0.4166455567, -0.2551830411, 0.1201743111, 0.4504802227, -0.1270094365, -0.6654444337, 0.2456797212, -0.5337535143, -0.1668037474, -0.4281279445, -0.2329197377, -0.4042238593, 0.0884435847, 0.0105039794, 0.310029, -0.2201736867, 0.0924923271, 0.3922200799, -0.2937433422, 0.3755853772, 0.5917862654, -0.0718380436, -0.6110982895, 0.5765500665, 0.034457799, 0.0000180469, 0.4579733312, 0.0655130148, -0.6693333983, -0.3425965905, -0.3764979541, 0.2457816005, -0.664703548, -0.6697844863, -0.415553838, -0.6382018924, -0.509606123, 0.0664562806, -0.4274305105, -0.6485885978, 0.001105673, -0.349509716, 0.3997660577, 0.5381740332, -0.2927865386, 0.0836305991, -0.8447803855, 0.6803249121, 0.4877117276, 0.584918797, 0.1128217503, -0.4710409939, -0.2053254247, 0.1440796256, 0.1329675615, -0.2347315401, 0.1715734005, 0.2041597813, 0.6027922034, 0.5837471485, 0.5277282, 0.6128235459, 0.3476047218, 0.6270378828, -0.0087584974, -1.0122208595, 0.3405650258, -0.1159130558, 0.161337927, 1.0004132986, 0.3546996713, -0.7104924321, -0.7163699865, -0.7382898331, -0.9521681666, 0.581602633, 0.265360564, -0.1273780465, 0.2582712471, 0.4975634217, 0.4505801797, 0.56611377, -0.3776987493, -0.2507477105, -0.3517468274, 0.007946087, 0.0896844044, -0.1839726716, -0.0131932804, -0.0991379917, 0.6347408891, 0.0261427015, 0.1410673112, 0.2896278799, 0.2563897669, -0.1341516525, 0.1115689203, 0.1770607978, 1.09288311, -0.4422799647, -0.184685111, -0.1120224968, -0.4589010477, -0.1261483282, 0.373544246, -0.0771930888, 0.1167069525, 0.4140901864, 0.2857397795, 0.2789625227, -1.0854347944, 0.810106039, -0.4047328532, -0.5235450864, -0.4431114495, 0.1624915749, -0.0707229748, 0.5233647823, 0.9061642289, 0.0336320512, 0.2980567813, -0.45103392, 0.6988666654, -0.0272395685, -0.4051215351, 0.0706989318, 0.8054737449, -0.0632884949, 0.1037972793, 0.6477679014, 0.0532093272, -0.2848320305, 0.5261552334, -0.0541174076, 0.8322313428, -0.2231194377, 0.5143084526, 0.5927154422, 0.2485915273, -0.1697703153, 0.3438267708, -0.217584148, -0.4960120618, -0.3799206316, -0.6540445089, -0.8330543637, 0.1017677337, -1.1541759968, -0.1432602555, -0.7461396456, -0.378888309, 0.335110575, 0.2944507301, -0.7017597556, 0.3849684894, -0.1031881049, 1.260545373, -0.4569010735, 0.2260120511, 0.0552148148, -0.2205989808, -0.4975547194, 0.0180063844, -0.0538543686, -0.682921946, 0.5819838047, 0.1974750459, -0.1249255687, -0.2828631997, -0.6136723161, -0.8677543998, 1.0630869865, 0.2397169173, -0.5417243838, 0.1066668257, 0.3795056641, 0.414868623, -0.3161553741, 0.0001385994, 0.604293704, 0.9169380665, 0.25803864, -1.027328968, 0.0937358886, -0.4374848604, -0.2504757047, -0.1581511647, -0.7375410795, 0.7728322148, 0.0083778724, -0.3184978664, 0.0535846204, 0.7208541036, 0.0932297856, 0.4181534946, 0.5002627969, 0.0188855603, 0.8570023775, -0.0443557501, 0.5869492888, -0.4463453591, -0.0547712557, 1.122361064, -0.1641064137, 1.3171510696, 0.1274002045, 0.0165735297, 0.1684530973, 0.5959637165, -0.4097633064, 0.2476246357, 0.2140513211, 0.1131726503, -0.2202468812, -0.2453183085, -0.1757311076, 0.4358284771, 0.2002275139, -0.1342521906, -0.1981003582, -0.0681227073, -0.2714119852, 0.2405590117, -0.1053432226, 0.7470590472, -0.0283323731, -0.4422181547, 0.2529006004, 0.380843997, 0.5527688265, -0.7614133954, -0.0686487705, -0.2790964842, -0.1971584707, -0.0497075133, -0.8361601233, 0.3643102348, 0.2112747431, 0.1668675691, -0.3804108202, 0.3830079734, -0.2313144952, -0.264577806, 0.2812111676, 0.4540383518, -0.110264942, -0.2116190642, -0.8416230083, -0.3879171312, -0.1541644633, -0.2425297499, 0.2063368261, 0.2692542672, 0.1470785588, 0.9272513986, 0.7275047898, -0.0960968286, -0.4006733596, 0.0010769755, 0.8024362326, -1.002632618, -0.7413378954, -0.2783571184, 0.0957712829, -0.2107500285, -0.4709885418, 0.7334213257, 0.872764647, 0.8918052912, 0.3999229372, 0.5827552676, 0.3140524328, 0.9431167245, -0.5609653592, 0.9014520049, -0.2189384848, 0.3557744324, -0.2488904148, -0.736196816, -0.1613378674, 0.5023049712, -0.1143337265, -0.0758412033, 0.3893352449, 0.3801546395, 0.1362802684, 0.4812767804, 0.1486155242, 0.1395804286, -0.1322424263, 0.1651283056, 0.3278118074, -0.748999536, 0.6324847937, -0.5272136331, -0.0284576789, -0.2300182581, -0.7489466071, -0.4574094713, -0.7198398709, -0.6120749116, -0.0736680105, 0.0077836099, 0.7471544743, 0.2597640157, -0.8730902672, -0.2992488444, 0.6656232476, -0.0267825015, -0.6222477555, -0.2737576067, 0.7329802513, -0.0511707701, -0.2520897985, 0.1274615675, 0.5456578732, 0.2188660651, -0.3023481667, 0.2119365782, 0.0124732209, 0.0236081686, 0.1896730512, 0.2619113028, -0.1841878742, -0.0145215625, 0.016541604, -0.1464604586, 0.0778593719, 0.5506321192, -0.4636892974, 0.1676017046, 0.3337809145, 0.7256651521, 0.3103870153, 0.5006511807, 0.7747207284, -0.3625706732, -0.0750345066, 0.5448521972, -0.191587463, 0.0694456846, -0.381747067, 0.3876880705, -0.360801667, -0.1910797805, -0.5219191909, -0.6206813455, -0.9886737466, -0.2539111674, 0.6032776833, -0.1810302883, -0.4990600049, -0.328110218, 0.1598301381, 0.0759213045, -0.651632905, 0.5944700837, 0.5844640732, 0.0036188182, -0.0866479576, -1.012604475, 0.7797209024, -0.0957086086, -0.6520512104, 0.5125558376, 0.1901655793, 0.0859906897, 0.0719158426, 0.6063105464, -0.2041955143, 0.6281279922, 0.0265862402, -0.1310191453, -0.2102193236, -0.1712999791, -0.0607788377, 0.228126511, -0.1939820051, -0.0614896528 ]
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.1133089215, -0.9664006829, 0.5734096766, 0.3035818338, -0.2796799839, 0.3732936382, -0.1170514673, -0.0087842494, 0.5400233865, 0.7552266717, -0.893765986, -0.5870253444, -0.5148807764, -0.0508456565, -0.3091432452, 1.0259916782, -0.0207854174, 0.3218994439, 0.2240179628, -0.1394126415, -0.918317914, -0.6555224657, -1.1207871437, -0.2827476263, 0.5252954364, 0.4414963424, 0.5985109806, 0.2742629945, 0.4369848073, 0.3521804512, 0.1639981419, -0.0731052309, -0.6176561713, 0.3602373898, -0.1014772654, -0.6094521284, -0.6353082061, -0.0267371386, 0.4526093006, 0.5417311192, -0.3914966881, -0.31377092, -0.4090186656, 0.1951000839, -0.1100848019, 0.340339452, -0.7018264532, -0.0834048167, 0.0501852632, -0.1453566104, -0.469437778, -0.1828148216, 0.0419128276, -0.6281244159, -0.1197830364, 0.0883539319, 0.3783121407, 0.1696972549, -0.1100669801, -0.3517671227, -0.836619854, 0.7002547383, -0.6116735935, 0.058057908, 0.2172709703, 0.41187644, -0.4939193428, -0.651057601, -0.6618942022, -0.129943952, 0.2576518953, 0.254693687, -0.2639113069, 0.4914270937, 0.1703651845, -0.204064101, -0.2210273594, 0.2189869434, -0.3302204609, -0.0551717244, 0.7336480021, 0.4591195583, 0.1520467401, -0.1712967306, -0.5764191747, -0.1929829121, -0.7386939526, -0.0833137855, 0.4207201898, 0.6508635879, -0.2492342591, 0.8067768216, -0.2004172504, 0.4836984277, 0.1376492381, -0.1865579039, -0.1571943164, -0.6253644228, -0.2890686989, 0.1857334524, 0.7976698279, 0.4711571038, 0.1481164247, -0.0154212853, -0.259916544, 0.2011589259, 0.4598200619, -0.6213670969, -0.2613945603, 0.4121246338, -0.3043707311, -0.4200660884, -0.2457480729, -0.8549420834, -0.3435724676, -0.2870232165, 0.3809536397, -0.560598731, -0.431997478, 0.2301915437, -0.3066690266, 0.5878096819, 0.3893031776, -0.9199114442, 0.5890815854, 0.8818970323, 0.8709350228, -0.3311029673, -0.3321841061, -0.8259428144, 0.3673644066, -0.5313578248, 0.7312158346, -0.8297563791, -0.9135000706, 0.2204385996, -0.3436655998, -0.1766471714, -0.1673433483, 0.4614354372, -0.2239826918, 0.1416310668, -0.1265820116, -0.3293600082, -0.1279088408, 0.3799082339, -0.4958882332, 0.79662925, -0.0781983733, -0.4036255777, 0.4162189364, -1.2150219679, -0.4830064476, 0.0914926231, -0.3091271222, -0.2634720802, 0.0508523397, 0.0877804756, 0.3300406635, -0.2040181607, 0.3575380743, -0.0797399879, -0.204954356, 0.1467475891, -0.3765404522, 0.6053782105, -0.0005389698, -0.2281007916, 0.9364584088, -0.3618572652, -0.1309401542, 0.2431703061, -0.1863203496, -0.0850505531, 0.2009879351, -0.3196707368, 0.2465372086, -0.1257510781, -0.4576660395, 0.4377577305, -0.2154133469, 0.2531147599, 0.8039638996, 0.115351595, 0.5694627762, -0.1482599229, 0.7858989239, -0.0734569058, 0.3872790635, -0.1193608195, -0.787193954, -0.9415628314, -0.2927792966, 0.047475297, 0.414468199, -1.0213136673, 0.1455622166, -0.3100605011, -0.4645778835, -0.4854748249, -0.2918075621, 0.436116457, 0.0052067763, 0.2790592611, -0.4901595414, -0.3743596971, -0.5457627177, -0.1511010528, -0.6793097854, 0.2249105573, 0.2759777308, 0.3145763278, -0.1170645058, 0.9657631516, -0.4091027081, -0.188823849, -0.9732781649, 0.455558002, -0.0899978653, 0.3666662872, 0.5392406583, -0.7520307302, -0.4463326931, -0.1560244858, -0.4353377223, 0.0101318369, -0.314024508, -0.2006905079, 0.1876321137, 0.6456101537, -0.8762013316, 0.6083428264, 0.5178151727, -0.3163880706, 0.6024544239, 0.0638656542, -0.0145504354, -1.0532910824, -0.2055214047, -0.3121438026, -0.1996414214, -1.172391057, -0.2090489864, -0.3868304193, -0.3526136875, -0.525677979, 0.7166187763, -0.0328249112, -0.3896022439, -0.2643623054, 0.1341922283, -0.3679319024, 0.9157365561, 0.3442975879, 0.7746269703, 0.4532041252, -0.820302248, 0.4450637996, 0.5275417566, -0.0870320052, 0.7839989662, -0.5972976089, 0.2131055444, 0.0570264794, 0.3545375466, -0.9343775511, -0.1469584703, 0.4351980686, -0.4989037514, 0.2757914364, -0.3100654185, -0.0306099821, -0.2876230776, -0.2440048754, 0.0526224971, 0.2618761361, -0.2303356677, 0.8113905191, 0.5371130705, -0.4451529682, -0.3785946071, -0.2497799397, 0.2240490466, -0.4345908165, -0.1878805161, 0.4350269437, -0.0682073534, -0.4389128685, -0.3036253452, 0.127865836, 0.0274033416, 0.1339163482, 0.2344565988, 0.1858400851, 0.0773002282, 0.0307651758, -0.1129687428, -0.2988489866, 0.1014059111, -0.3489073217, 1.0514628887, 0.3344631195, -0.5388593674, -0.4319081604, 0.5818494558, 0.5707566738, -0.2087742388, 0.5870303512, 0.2930480242, 0.0143008325, 0.1358884871, -0.1648949534, -0.2945464849, -0.4787421227, 0.5618349314, -0.5478695631, -0.5141456723, 0.4267682731, -0.3463846445, 0.4349053502, 0.1635358036, 0.655728817, -0.0382537618, 1.1081180573, 0.7755426168, -0.1176715866, 0.9243332148, -0.1916306913, 0.4048581421, -0.6980050206, -0.219322145, -0.4628292024, -0.2806138396, -0.4535977542, -0.5718756318, 0.159151718, 0.0173417199, -0.3185611963, 0.4029739201, -0.0093669444, 0.1686370969, 0.597625792, -0.3280790448, 0.0558432341, -0.3052983284, -0.2906418741, 0.1943118572, -0.9711896777, -0.4677038789, 1.0313965082, 0.3038732409, 0.7062638998, 0.1533689648, 0.8519898057, 0.1220948622, 0.2522800267, -0.9381121397, 0.816690743, 0.3958568573, -0.4528037608, -0.7264633775, -0.2170511931, -0.9293923974, 0.0708330572, -0.0905881003, -0.7835198641, -0.0555456467, -0.1615079194, -0.3837543726, 0.2907786965, -0.7441307902, 0.9418450594, -0.4649737477, -0.0724732876, -0.549020946, -0.4334535897, 0.055458121, 0.2230693549, 0.0842321813, -0.2213561088, 0.156306535, 0.8209184408, -0.4880487621, 1.0712252855, -0.601247251, -0.0857900009, 0.3642491996, 0.3030518889, 0.7606996298, -0.0988785997, 0.0295605641, -0.0036384466, -0.3756238818, -0.3523273766, -0.5032120943, 0.2801843286, -0.6016510725, -0.8369035721, -0.2371190339, -0.3804747164, -0.2044343948, 0.1715530306, -0.181272611, 0.4350159168, -0.773163259, -0.2138624191, 0.2100228816, -0.239470318, 0.7059218287, 0.5472803712, -0.3021017015, -0.3718073666, 0.8453258872, -0.3823482692, 0.7339444757, 0.3048441708, -0.0337467305, -0.353695482, -0.7727775574, -0.4132873118, 0.1546971202, -0.5273163319, -0.259411782, -0.488812685, -0.0564187318, -0.2030807585, -0.193491742, -0.4844623208, -0.469994247, 0.0517871976, -0.3390225768, 0.5910297036, 1.0794407129, -0.0998469442, 0.8469353914, -0.2915093005, 0.1540703475, 0.2680974305, 0.2937618196, -0.3634369075, -0.1930896342, -0.0511395745, 0.1284640878, -0.3661983609, -0.9062268138, 0.5978978276, -0.0230190735, 0.5436714292, 0.2547927797, 0.047328189, 0.6554370522, -0.6590393782, 0.9728973508, 0.464122802, -0.8484060764, 0.5622026324, -0.5308571458, 0.1915756464, 0.3030669689, 0.1800994724, -0.8087021708, -0.4706350267, -0.7123849988, -0.4985882938, 0.9945244193, 0.1577128619, 0.2437672168, -0.2097527832, 0.0857255831, -0.0538713597, 0.3148345947, -0.4606927633, -0.1951823235, -0.324894309, -0.1334257573, -0.044493597, -0.2069298625, -0.3420747817, 0.2030333877, 0.4649806619, -0.4123211801, 0.7266044021, -0.1198607981, 0.1533730626, 0.0546112061, 0.1417778879, 0.7699111104, 0.3787348568, 0.1132913157, -0.3066548109, 0.2708488703, -0.5165982246, 0.1202924699, -0.1635801792, -0.063046217, -0.0712643638, 0.2228395492, 1.0650951862, 0.5305581093, -0.2819858789, 0.4217405915, -0.2619498372, -0.2697658539, -0.1877309084, 0.1576020569, -0.0933324099, 0.3157801926, 0.0640850365, -0.0668857172, -0.267260462, -0.7165679336, -0.0059195575, 0.5349190235, -0.7595319152, -0.4617324769, 0.4619862139, 0.7087265849, -0.7694024444, 0.4614593983, -0.2017947733, -0.8665297627, 0.417316854, 0.6487256885, 1.0528217554, -0.3248799741, 0.5503085852, 0.124231562, 0.0595520325, 0.0947089866, 0.3891228735, -0.0311173853, -0.841498673, -0.5703658462, -0.3613638282, -0.754365921, -0.0375608243, -0.4537694752, 0.4119657576, -0.4733256996, -0.1597606838, -0.1047495082, -0.0255336594, -0.5845559835, -0.0880731791, -0.0636033118, 0.7593387961, -0.5880578756, 0.9830679297, 0.3590815365, -0.5668541789, -0.6080768108, -0.0008131656, 0.0297008455, -0.7580879927, 0.6984365582, -0.1200695038, -0.2802044153, 0.0781820491, -0.5204806328, -0.7920626998, 0.9693443179, 0.1344918013, -0.3897764981, -0.1042386964, 0.1643614024, 0.2497935742, -0.4649414718, 0.1471555084, 0.8098746538, 0.3879871368, 0.2902140319, -1.0397694111, -0.3450366557, 0.1637808979, -0.2267456502, 0.2254693359, -0.6717193127, 0.6588491797, -0.206186071, -0.3360703886, 0.2089621276, 0.7080854774, 0.2250414938, -0.0694803447, 0.4313785434, 0.182726413, 0.7624377012, -0.2885288298, 1.2432504892, -0.0523223989, -0.1109086573, 0.8961839676, -0.5687975883, 0.8724420667, 0.3728059232, -0.1056528166, 0.4388326108, 0.2072806507, 0.5435279608, 0.6530787945, 0.159289673, -0.221920386, -0.2311330289, -0.1459733844, 0.1930046231, 0.8025114536, 0.6416595578, 0.2919289172, 0.0214239545, -0.0639735833, 0.2056943327, -0.0380382277, -0.2845999599, 1.1770343781, -0.0838424414, -0.8075889945, 0.1803929657, 0.0786445737, 0.4582687616, -0.8262214661, -0.1179196313, -0.2895922959, 0.1643586606, 0.3375851214, -0.6973559856, 0.1957784146, 0.0531424731, 0.1783586293, -0.3366256654, 0.4819139242, -0.4411925375, -0.2466686964, 0.365044415, 0.5286980867, 0.1191803217, 0.2176821381, -0.8934157491, 0.3090415597, 0.0846898332, 0.0185797531, 0.2178854644, 0.4834397435, -0.2930757105, 0.7875856161, 0.5632445216, 0.1633232534, 0.0391625054, 0.2813026011, 0.8849663734, -0.7388040423, -0.494530797, -0.659904182, 0.4140904248, -0.4163688123, -0.2678235471, 0.5317056179, 0.3232668936, 0.6323621869, 0.1392921805, 0.8300223351, 0.0106414333, 0.3819350004, -0.6574739814, 0.3071469665, -0.0011964006, 0.0444119349, -0.4091231823, -0.7543824911, -0.2149885297, 0.6788038015, -0.4026507735, 0.0468305498, 0.5669093728, 0.6071174741, 0.2750696838, -0.0026005635, 0.4509364367, 0.0996803045, 0.9102172852, 0.3768106997, 0.9379971027, -0.1534520984, 0.5772830844, 0.2474140376, -0.0697716773, -0.3242786825, -0.765345335, -1.1213155985, -0.6025398374, -0.1480320394, -0.0365436897, 0.2552500069, 1.0008850098, 0.7488335967, -0.6915719509, -0.4414806068, -0.2977372706, 0.2410086989, -0.1935254186, -0.1355526745, 0.1858813167, -0.5533335209, -0.8980050087, 0.7146952152, 0.4538300931, 0.1805408895, -0.4340778589, -0.3690519929, -0.2836478651, 0.3172518611, 0.5286812782, 0.4269459248, -0.8040726781, -0.4336196184, 0.057105802, 0.104278177, -0.0136295846, 1.1184016466, -0.6814005375, 0.4759126604, 0.0866578296, 0.3703554571, 0.5628117919, 0.002728069, 1.3669015169, -0.6962838173, 0.5067028999, 0.3341150582, 0.216259867, 0.2959637046, 0.1106961817, 0.5231336355, -0.0862770826, -0.1914450228, -0.6813163757, 0.4588417113, -0.692374289, -0.036595542, 1.248912096, -0.0236960258, -0.2001785487, -0.292670548, -0.6862815022, 0.1841032803, -0.5551659465, 0.4463291466, 0.6216657758, -0.0939139873, -0.057740245, -0.5248209834, 1.0347739458, 0.3250713348, -0.796261549, 0.4252666235, 0.3926208019, -0.3248097897, 0.1537438482, 0.9349660277, 0.0122427829, 0.175697729, 0.1880046129, -0.0165436883, 0.2698091865, -0.6934444904, -0.1311096847, -0.3198426962, 0.2183526307, -0.2843814492 ]
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.0264175385, -0.8233875036, 0.6866919994, 0.0741858929, -0.2308457643, 0.2119642347, -0.3873152137, -0.5776270032, 0.0312623568, 0.1176620796, -0.5381903052, -0.2133048773, -0.6712164283, -0.0889320076, -0.3502328098, 0.621137917, -0.0808120295, 0.3030213118, -0.6397861838, -0.071432896, -0.6159752011, -0.2798662782, -0.3514074683, -0.3515850604, 0.6374154687, 0.428262949, 0.7664027214, 0.6656139493, 0.2406241745, 0.4024718404, 0.245571062, -0.2605080903, -0.0887453705, 0.4525008202, -0.3775210381, -0.8607714772, 0.2356002927, 0.1630853117, 0.6053962708, 1.3527520895, -0.0385308452, 0.1417592168, -0.0482247658, 0.6348641515, -1.0321958065, 0.4836660624, -0.6248451471, -0.0742644295, 0.0218539666, -0.1952287555, -0.506043613, -0.045548778, 0.299862057, -0.9339817762, 0.1744702756, -0.0265785977, 1.0316419601, 0.2351839244, -0.337975949, -0.032430131, -0.6268286705, 0.7137143612, -0.0709682703, 0.8212617636, 0.5745649934, 0.3181083798, -0.1430952251, -1.0497242212, -0.534531951, -0.1993891895, -0.3902727365, 0.0498150177, 0.1466078907, 0.0043884162, 0.2327248901, 0.0951565281, -0.2751560807, -0.0038782279, -0.4078398645, -0.0822485909, 0.280366689, -0.208435908, 0.7381103635, -0.0886122808, -0.5897364616, -0.2888603508, -0.8073540926, 0.1305160522, 0.0828932896, 0.5700918436, -0.222796157, 0.3110417724, -0.3610727489, 0.8324936032, 0.0466452539, -0.3915681541, 0.3815007806, -0.4345979989, -0.2948012054, -0.1112110317, 0.5339989066, 0.1487877667, 0.3523230553, -0.6118745804, 0.0075642033, 0.5919489861, 0.2066524178, -0.1743943393, -0.1828769147, -0.095248431, -0.2967392504, -0.1827126145, 0.0857746452, -0.9712815881, -0.128602311, -0.6297985315, 0.5326988697, -0.4541553557, -0.6331720352, 0.1511729658, -0.4736375809, 0.3672170639, 0.2313378453, -1.295838356, 0.6193632483, 0.8080404997, 0.2708770335, 0.051576741, -0.8289473057, -0.5397727489, 0.1231237724, -0.2858448029, 0.7577842474, -0.8713248968, 0.1400987804, 0.2108451873, 0.2087317556, -0.3176234365, -0.3446659148, -0.2290644795, -0.7229228616, 0.3860863447, -0.3834439516, -0.2837583721, -0.3461622, -0.1508677006, -0.519693315, 0.6314912438, 0.1205396354, -0.5968136787, 1.2967272997, 0.0522693731, -0.558242619, 0.0670054704, -0.6145834923, -0.0373256877, 0.2099497169, 0.1330765486, 0.5058241487, -0.2877965868, 0.5629651546, -0.2135692686, -0.0190104228, 0.0555609241, -0.0823925287, 0.785774529, -0.1022914499, -0.5243381858, 0.0613607466, -0.6068406105, -0.0060686809, 0.3895074725, -0.1571408361, -0.487521112, 0.1209364906, -0.2425126284, 0.2757825851, -0.2272887528, -0.30547297, -0.0293558501, -0.295871824, 0.1794395, 0.2950269282, -0.0016919634, 0.8054201603, -0.1205873862, 0.461719662, -0.0525569282, -0.2802465558, -0.2658357322, -0.2944701314, -0.8721744418, -0.1286972314, 0.5874189138, 0.3180041313, -1.1415110826, 0.0815113857, -0.0513289645, 0.1832659096, -0.5842954516, 0.2059026957, 0.5476048589, 0.2724208236, 0.3435400426, -0.421754837, -0.4073454738, -0.6946303248, -0.3585198224, -0.5417343974, 0.1824972779, -0.2534214854, 0.3867507875, 0.4257535636, 0.6871134639, 0.0256781001, 0.2127725333, -0.5351045728, 0.2706750333, -0.4618425071, 0.4206114113, 0.6394810081, -0.8738715649, -0.257098645, -0.1659611762, -0.8031019568, 0.0641153529, -0.4420159161, -0.3749854863, 0.1773086041, 0.6647863388, -0.636928916, 0.5476024747, 0.2091516852, -0.4552324712, 0.2696315944, 0.155405432, -0.0740388408, -0.8222463727, -0.2918713093, -0.1150648966, -0.3175587058, -0.4418777227, 0.5486115217, 0.0663982108, 0.389895618, -0.4390061796, 0.2225351036, -0.9309055209, -0.1939230263, -0.1733978093, 0.32206586, -0.0269817617, 0.4540174305, 0.2203049213, 0.515574038, 0.8068159819, -0.5155316591, 0.3473035991, -0.0996024534, -0.4713286161, 0.2464500815, -0.2828425765, -0.1583698392, -0.2231715471, 0.1237358004, -1.1547186375, -0.44327268, 0.3177324533, -0.4082365632, 0.7608958483, -0.1696941853, -0.623916626, 0.0181799959, 0.1080970615, 0.4150420725, 0.5517755151, -0.8656808138, 0.393424511, 0.4725260735, 0.0738988146, -0.6386397481, -0.6927855611, -0.0865082368, -0.1369617134, -0.4009611905, 0.2087819576, 0.6609822512, -0.6496701241, 0.2104331106, -0.2103050202, -0.1709887236, 0.229202345, 0.3320200741, 0.3409588933, -0.3545000255, 0.6419091225, -0.0005518546, -0.354227066, 0.2284904122, -0.449870348, 0.5251569152, 0.1329113245, -0.4102279842, -0.2682632506, 0.3123728931, 0.4861453474, -0.210685432, 0.9922710657, 0.3796388507, -0.2424004376, -0.3362310529, -0.4647630751, -0.3232445419, -0.3906491995, 0.1581267565, -0.4177467227, -0.6186188459, -0.000701921, -0.3338729143, -0.2351733893, 0.3907001317, 0.4449994564, 0.0652912855, 0.2924339175, 0.8333393335, 0.1645065993, 0.4256885648, -0.1398405284, 0.0513352826, -0.3587507606, -0.4704517424, -0.3875986636, -0.3096405268, -0.5651906133, -0.2645605206, -0.27623564, 0.1708843857, 0.0642901659, 0.2361911386, -0.0897572488, 0.6585142016, 0.8064835072, 0.1562480778, 0.3214994371, 0.2243965268, -0.5298572183, -0.0535603054, -0.8164072633, -0.0807531178, 0.9696974158, 0.007072181, 0.5362748504, -0.0035602693, 0.7326140404, -0.5442504287, 0.1625540107, -0.7412711978, 0.5201578736, 0.3003472984, -0.5609345436, -0.0475171879, -0.1524567455, -0.90480268, 0.3808695376, -0.5913579464, -0.8542587161, 0.3249592781, 0.0188660882, -0.1567528546, 0.2869267166, -1.0704109669, 0.7600978017, -0.1386178881, -0.8760223985, -0.2394617945, -0.9829973578, 0.3744924664, 0.0746006668, 0.0842159316, 0.0022001355, -0.1511608809, 0.5859621167, -0.2927565575, 1.0921174288, -0.1891869903, 0.3194721937, 0.4141202867, 0.0849057883, -0.0407534875, -0.1243973449, 0.4040866494, -0.0881288499, 0.1108172908, -0.5458601117, -0.7164794803, 0.4684110284, -0.6777136326, -0.6712968946, -0.539899528, -0.5645563602, -0.4604708552, 0.1191744879, 0.256048739, 0.2499708235, -0.0110062631, 0.1349431127, 0.0922133327, -0.0827928334, 0.4690476358, 0.4181916416, -0.4735726416, -0.2425301969, 0.7643629909, -0.0768037662, 0.9274372458, 0.4362110496, 0.0106005985, -0.1878402829, -0.4556891024, -0.1435837299, 0.4471929669, -0.7530277967, 0.0059160804, -0.3268627822, -0.0085496735, -0.275033921, -0.1853615046, -0.1337492913, -0.7482537031, 0.2476955056, -0.3567995429, 0.2967299521, 0.6635462046, -0.0584178194, 0.2814993858, -0.287171036, 0.5671444535, 0.4886693358, 0.2695784271, 0.0210902616, -0.1463632286, 0.009444884, 0.0189138409, -0.0689402595, -0.9294247031, 0.0479544215, 0.1282725781, 0.5697899461, 0.1371846795, -0.1984811425, 0.8521309495, -0.6241538525, 0.5908313394, 0.5206890702, -0.6889809966, 0.3864184618, -0.1456271559, 0.3216679692, 0.8599690795, 0.4917450547, -0.3726892173, -0.3436482251, -0.8240112662, -0.7854076624, 0.5649585128, -0.1097296402, -0.1020258963, -0.1608529091, 0.2885964215, 0.4464478791, 0.2686049044, -0.7315253019, -0.204717502, 0.1894207746, -0.023371147, -0.057023719, -0.2406255752, -0.0291003007, -0.6525788307, 0.353666693, 0.0394442976, 0.2812407017, -0.1425256729, -0.441467464, -0.3619972765, 0.1926283687, 0.010252255, 0.783808887, 0.1633866429, 0.4497446716, -0.067061089, -0.2072920054, 0.1205976233, -0.10467574, -0.033505965, 0.0535097234, 0.860871911, 0.7465267181, 0.5232971907, -0.3891583979, 0.5166804194, 0.0119513115, -0.3885591328, -0.0227409564, 0.0820093974, 0.2791469097, 0.2203402668, 0.030854715, 0.1465929896, -0.2064569741, -0.8646686077, 0.52588588, 0.4433259666, -0.0551155843, -0.393129319, 0.5288252234, -0.0304444097, -0.0732824579, 0.5153599977, -0.0844544321, -0.311686784, 0.5312410593, 0.8929994702, 0.9770380855, -0.1904409975, 0.359508872, 0.3524708152, 0.2924618125, -0.1549320668, 0.1081036776, -0.5071241856, -0.7792781591, -0.6380774379, -0.6204805374, -0.1721581072, -0.0322100483, -0.8522122502, 0.2714208364, -0.4278565645, 0.2211335748, 0.3110643029, -0.3450505137, -0.7605140209, 0.1467404813, 0.3657699525, 0.6290522814, -1.1260260344, 0.8215318322, 0.6436620355, -0.7700092196, -0.9524992704, 0.2954110205, 0.1344455034, -1.0337039232, 0.9942483902, 0.2326939255, -0.167124182, -0.2255457789, -0.7101515532, -0.9464777708, 0.837295115, 0.324165076, -0.3075542152, -0.1971087903, 0.0867236704, 0.3931255043, -0.4674283266, -0.0641396344, 0.7672438622, 0.1526348442, 0.2752834857, -0.7274542451, 0.2063043565, -0.1174498647, -0.2159690857, 0.4416221976, -0.3159019351, 0.6078279614, -0.2311413139, -0.5377396941, 0.0359676108, 0.6637087464, -0.0425604694, 0.4536042809, 0.5816017389, 0.5140008926, 0.4205881655, -0.2296539843, 0.9612863064, -0.2242222279, 0.0557838343, 1.1942746639, 0.0243157875, 0.9831209183, 0.8367681503, -0.2733769715, 0.7644946575, 0.3551421762, 0.4945783913, 0.5953369737, -0.0793613344, -0.2536126375, -0.4104549587, -0.0821607858, -0.29344818, 0.5915859938, 0.6679289341, -0.4679373801, -0.4503084719, -0.0865801424, 0.1294137985, 0.3667875826, 0.0673297346, 0.7661694288, 0.0492264032, -0.9189231992, 0.5993529558, -0.4133477211, 0.1814819127, -0.4923900068, -0.2574451566, 0.0617729165, -0.0594408102, -0.1258114278, -0.4541403949, 0.0900042057, -0.2333058715, 0.0908693001, -0.3845472932, 0.8220155835, -0.7018571496, -0.5686150789, 0.5498900414, 0.8419106603, -0.0774775669, 0.4813072085, -0.4126268029, -0.027897168, -0.2290920317, 0.0287701674, 0.5246933103, 0.5338104367, 0.1859290451, 0.3769612312, 0.484964788, 0.2710830271, 0.329133153, 0.0495521873, 0.8572918773, -0.6176184416, -0.3387455046, -0.7199673057, 0.5962149501, 0.1411187202, -0.1282539219, 0.634663403, 0.0668403581, 1.2069636583, 0.0267816987, 0.5939150453, -0.1419532299, 0.2140054703, -0.9091136456, 0.2776690423, -0.5894328356, 0.0215043034, -0.3818275332, -0.6922192574, -0.5858572721, 0.7000182867, -0.6200410724, 0.108170934, 1.2188534737, 0.381868273, -0.1156454831, 0.1177529767, 0.2799551487, -0.0251048449, -0.1763983816, 0.5575723052, 1.0551227331, -0.2157725692, -0.0288890041, -0.6835077405, -0.2694797814, 0.198083505, -0.5275793672, -0.9441533089, -0.7687108517, -0.3006238639, -0.3278159201, 0.361035794, 0.9635961652, 0.6499812603, -0.4585878551, -0.3118602633, -0.4778753817, 0.1790247113, -0.374748379, -0.2005491108, 0.1758220345, -1.168581605, -0.5580205917, 0.4209176302, 0.241319418, -0.2413440496, -0.0918751955, 0.1899032593, -0.6525268555, -0.367459029, 0.4352594614, 0.422798723, -0.9701568484, -0.3333331048, -0.2519210577, -0.0236342195, 0.052861657, 0.8694352508, -1.2488870621, 0.6826167703, 0.5829657316, 0.7723175287, 0.3373597562, -0.1250381321, 0.8083088994, -0.6466224194, 0.7962733507, -0.2232058793, 0.3958593011, 0.1724072695, -0.0715014338, 0.359095633, 0.63293612, -0.0966219828, -0.6242069602, 0.4438616633, -0.598025918, -0.4244814515, 1.1638950109, 0.0626760051, -0.4900373816, -0.0952187032, 0.2489949018, 0.3862128556, -0.0292419195, 0.5140241981, 0.6965520382, 0.2178276628, -0.2654773593, -0.6445319653, 0.5378165245, 0.7473759651, -0.5023965836, -0.0292836055, 0.4444116056, 0.1810985804, 0.2738735378, 0.2656797767, 0.0215210337, 0.5575638413, 0.5672892332, -0.0229768455, 0.1572642326, -0.8635635972, -0.2850809097, 0.1798387021, 0.1639029235, -0.5881845951 ]
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.4903047979, -0.4870889187, 0.8844309449, 0.3037443459, -0.3574803174, -0.006051498, -0.4072723389, -0.2070407718, 0.229097113, 0.4327497482, -0.6129021645, -0.2320208699, -0.7363587618, 0.1004857719, 0.232040152, 0.4802645147, -0.0810311511, 0.0930886343, -0.5377064943, -0.1154376492, -0.4270764589, -0.4328339398, -0.7460263968, -0.3773060739, 0.7591918707, 0.6280220747, 0.7475082874, 0.7104372382, 0.6417928934, 0.3295300901, 0.1522152871, 0.5032923222, -0.2564456165, 0.1622721553, -0.1436074525, -0.2839260399, -0.4415515363, 0.0832833946, 0.6058430076, 0.5258690119, -0.1124783009, -0.1588160396, -0.1829163283, 1.0250121355, -0.9343003631, -0.0117777744, -0.6689040661, 0.1035327017, 0.0302572567, -0.5758660436, -0.4887161553, -0.1435288042, 0.0877110958, -0.5089974999, -0.3455122113, 0.0752338693, 0.5596135855, 0.4423224926, -0.9087871313, 0.0138689233, -0.5231318474, 1.0081782341, -0.3708240986, 0.4013230503, 0.4088315368, 0.0852628574, -0.2209767848, -0.1165445074, -0.927071929, -0.379491806, 0.13816908, 0.1154022291, -0.0711944774, 0.3898532391, 0.1529028118, 0.3185100555, -0.5131998062, 0.0958527103, 0.1265335232, -0.2441372722, 0.2916291058, -0.091188401, 0.3238004446, -0.2235547304, -0.5953342915, -0.0953418091, -0.5917640924, 0.3262556195, 0.5128836632, 0.1798944473, -0.0328807123, 0.9843444824, -0.3341385424, 0.7771375775, 0.3076441288, -0.6316401958, 0.3493703902, -0.196060732, -0.0477458872, 0.1453706622, 0.6138645411, 0.8696801066, 0.2180404514, 0.0199140627, -0.2531712055, 0.3655882776, 0.0907149985, -0.7195446491, 0.1879727542, 0.4248597026, -0.5218459368, -0.3094928861, -0.3134602904, -0.7710254788, -0.4834901989, -0.5719679594, 0.3234756589, -0.1854124069, -0.3695904016, 0.230749622, -0.2053949535, -0.0580065511, 0.0663511381, -1.207875371, -0.0250785034, 0.6381762028, 0.7427182794, -0.3084160089, -0.4671993256, -0.7163370848, 0.3890994191, -0.2465961426, 0.8459539413, -0.9335980415, -0.309422493, -0.1122294515, -0.0465951152, -0.0701845065, -0.2420844138, 0.7598162293, -0.2624584734, 0.1906805933, -0.3204345405, -0.4897973239, 0.1239082813, 0.4412631392, -0.4076435566, 0.5425921082, -0.243898958, -0.7233372331, 0.6446452737, -0.4797719419, -0.3729651272, -0.4632082283, -0.3032760322, -0.1691697687, 0.3652728498, 0.1470186561, 0.2117196023, -0.2721435428, 0.353030771, -0.5696828961, -0.2454629838, 0.2630381584, -0.2858380973, 0.2493300885, 0.1692699939, -0.2919374704, 0.4178454876, -0.7402738929, -0.0621513948, 0.2675665617, -0.3721004725, -0.6810750365, 0.2398096025, -0.286870867, 0.4136311114, 0.3803088069, -0.5989643931, 0.6863051653, -0.1025269553, 0.2258767188, 1.1738016605, -0.3344684541, 0.6625503302, -0.1960239708, 0.520113647, -0.0298994556, 0.4795119166, 0.0531190336, -0.3188738525, -0.7714521885, -0.8018183708, 0.0946646482, 0.2452517599, -0.8847875595, 0.290355891, -0.1601512879, -0.0092421919, -0.4018383622, 0.0663420483, 0.4784938395, 0.7091234922, 0.1749776006, -0.2073308676, -0.6258320212, -1.4203377962, 0.277361095, -0.0608107485, 0.1574158669, 0.4851047099, -0.0177699365, -0.3928357363, 0.634188354, -0.7685858011, -0.3299937248, -0.0360673852, -0.0925826579, 0.2357224226, 0.3876098096, 0.7324668765, -1.0494043827, -0.460901767, -0.1457144171, -0.2372799218, -0.0737527311, -0.0140748043, -0.2439240664, 0.4245206416, 0.0614612848, -0.7960419059, -0.0899822041, 0.9520862699, -0.224993363, 0.2898043692, -0.4921714962, 0.672200501, -0.9428809881, -0.0227962453, 0.0579794943, -0.1036679149, -0.3550310135, -0.199504748, 0.3072728515, -0.3234632313, -0.2910832465, 0.6131243706, -0.381765455, 0.1060738936, -0.5102466345, 0.0191526562, 0.1343167126, 0.6561846137, 0.52940166, 0.6407096982, 0.7674347758, -0.50541538, 0.2474157512, 0.1946000606, -0.0988951698, 0.8450783491, -0.5218379498, 0.348167032, -0.2139821947, 0.1250993758, -1.2424063683, -0.0664267465, 0.1831445694, -0.2795708179, 0.6348118782, -0.4788106978, -0.4346230328, -0.2631016374, -0.5642216802, 0.5762949586, 0.1164378822, -0.6972025633, 0.3812902868, 0.5426446795, 0.0535118207, -0.9346826673, -0.2255930603, 0.0948328376, -0.2516779602, -0.5399186611, 0.4394639134, -0.3123701215, -0.0981930271, -0.3465030193, -0.2681064606, 0.0481443703, -0.2420122921, 0.1762537509, 0.3760769963, 0.1209798455, 0.18697837, 0.0502866097, -0.4405591786, -0.3239423335, -0.2526125908, 0.8490787745, 0.1378487945, -0.3351076245, -0.3146001399, 0.6641229391, 0.7199070454, -0.2102174312, 0.5745283961, 0.2058601528, -0.109486334, 0.1219154447, -0.5987890959, -0.0001671029, -0.5059886575, 0.1554497778, -0.7253700495, -0.5621988177, -0.0162598602, 0.0664673001, -0.2663836181, 0.0504684262, 0.4584454596, -0.0419128947, 1.5903023481, 0.9387456179, -0.0951753706, 0.7156486511, 0.1896796077, 0.1878316402, -0.7796484232, -0.1668421477, -0.4440695047, -0.5083612204, -0.5767570138, -0.2795470953, 0.2719447613, -0.1911322325, -0.0310454741, 0.1518603712, -0.4723528624, 0.4289791584, 0.5764824748, 0.2183345705, 0.3228468597, 0.0528242253, -0.2908903956, -0.2664606571, -0.4012181163, -0.3907667994, 0.9526589513, 0.1331579238, 0.7746169567, 0.1646811217, 0.5855591297, 0.1256135702, -0.0427995361, -0.9263894558, 0.5000327229, -0.2754856646, -0.5675342679, -0.1568855494, -0.5449556112, -0.818220675, 0.3139845729, -0.3036144376, -0.6544433236, 0.5960256457, 0.4566282928, -0.0040450408, 0.1062971503, -0.7585201859, 0.8429287672, -0.5662593246, -0.4271828234, -0.3900243938, -0.5353108048, 0.3107580841, -0.0588753112, 0.0893852934, -0.4504443109, -0.3512876034, 0.2322798669, -0.0806583762, 0.383797735, -0.1855077595, -0.1287452579, -0.3102671802, -0.0306773204, 0.4911107123, 0.0682623759, -0.1025383621, -0.0629542917, -0.0715275779, -0.3674576581, -0.6491044164, 1.0395737886, -0.6670302749, -0.7209078074, -0.4594227672, -0.6524900794, -0.4640206695, 0.2598575652, 0.0434955582, 0.4660301507, 0.1559168994, 0.1531386375, 0.6019893885, -0.221565932, 0.4604811072, 0.4998983443, -0.2735276222, -0.5736141801, 0.7459142208, -0.2606044412, 0.5262357593, 0.7458077073, 0.489009589, -0.5926580429, -0.5459830761, -0.3634072542, 0.2444858402, -0.6777246594, -0.0081163822, -0.6451265812, 0.4854468703, -0.401006937, -0.2002499849, -0.6299517751, -0.5058295131, 0.0650028139, 0.1848551482, 0.033556547, -0.0053704656, -0.1262583882, -0.1492126137, -0.4315237105, 0.762067616, 0.4936878085, 0.563436389, -0.3989741802, -0.3778679371, 0.3362911046, 0.1214935258, -0.251003921, -0.4901442528, 0.1946896166, 0.0918836892, 0.7273191214, 0.7837051749, 0.0968941152, 0.7747706771, -0.5430010557, 0.169753328, 0.6078827381, -0.7843008041, 0.6558035016, -0.3723444641, 0.246067524, 0.6748690605, 0.6024240255, -0.5643724799, 0.0638756976, -0.102783829, -0.6331773996, 0.3710598648, 0.0087000262, 0.2936816514, -0.208676815, 0.2605094314, 0.1127806455, 0.4910160005, -0.9269419312, -0.3978207409, -0.0527695864, 0.0613298565, -0.3892396986, -0.6281285286, -0.4315354824, -0.1776793897, 0.4615401924, -0.290170759, 0.1832803041, 0.2178730816, -0.0788517818, -0.277855128, 0.2744429111, 0.9850369096, 0.875186801, -0.5340256095, 0.2959825695, -0.4499976039, -0.1363254935, 0.4519118965, -0.0396917425, -0.1162480265, -0.2975566089, -0.0588579029, 0.7344284654, 0.1087710336, -0.7266437411, 0.5858076215, -0.2969047427, -0.0928376615, 0.0478844531, -0.0979799256, -0.0400137715, 0.1590622962, 0.2194608897, 0.1640324891, 0.2001278996, -0.8642954826, 0.0910808221, 0.7720301151, -0.3122738004, 0.0467179753, 0.5369494557, 0.245853588, -0.1883883774, 0.2703913152, 0.0042545083, -0.4204777181, 0.4239391685, 0.6653017998, 0.6278955936, -0.083071053, 0.2099810541, 0.1904945672, 0.2033637315, -0.0196088012, 0.1979735494, -0.1590426117, -1.0131158829, -0.3650609553, -0.462310046, -0.5285032392, -0.0661339164, -0.420468241, 0.4196988344, -0.394102335, -0.2213709652, 0.0918480605, -0.1033170223, -0.4622575641, 0.1981539428, 0.3546174765, 0.4483965635, -0.6112798452, 1.0696297884, 0.7116725445, -0.2942736745, -0.2604346275, -0.0422280766, 0.1527174264, -0.9294771552, 0.5985193849, 0.2089911997, -0.4232573211, -0.1898693889, -0.2522839904, -0.8049313426, 0.6581199765, 0.636854291, -0.6643308997, 0.3845355213, -0.001658858, 0.2894889414, -0.52811414, 0.0517257825, 0.3012049794, 0.7313375473, 0.334975332, -0.8836216927, -0.0102189425, -0.1481844634, -0.0525942333, 0.5088179111, -0.853091538, 0.3906146884, -0.3804289997, 0.030490445, -0.0415915027, 0.1877880245, 0.4047583938, 0.1827284396, 0.9606300592, 0.5949373841, 0.6417533159, 0.016758617, 1.2699363232, -0.2401151359, 0.2127916217, 0.9097588062, -0.550465405, 0.6941421032, 1.1363162994, -0.0515029654, -0.1086261049, 0.8201816678, 0.1658972055, 1.0913000107, 0.0160879586, -0.2070163339, -0.4331591129, -0.3659308851, -0.38089028, 0.6785537601, -0.2396107018, -0.1293518841, 0.274979502, 0.0740112215, -0.099345006, 0.2001320273, -0.2581743598, 0.5419133902, -0.1723501682, -0.9311906695, 0.5190365314, -0.0765560865, 0.9288442731, -0.7404100299, 0.1622910053, -0.4136927724, 0.3935356438, -0.0784479678, -0.5061120391, 0.0036836851, -0.3396522701, -0.5468798876, -0.3275057375, 0.6159216166, -0.5851092339, -0.4892809987, 0.4173937738, 0.0118230162, -0.3053731918, -0.2296580523, -0.6429847479, 0.1936530918, 0.0751325563, -0.2771208584, 0.4879894853, 0.1822636575, 0.1501548439, 0.9624879956, 0.6964191794, 0.1015690938, -0.335934788, 0.1600561738, 0.7502589226, -0.4477594793, -0.179240182, -1.0041782856, 0.4419902265, -0.2014641166, -0.3633850813, 0.5935952067, 0.6148636937, 0.5950939059, -0.1750301272, 0.4418618977, 0.0233478229, 0.0869351253, -0.8125565648, 0.3183410764, -1.0736047029, 0.0163502619, -0.5842429996, -1.2659640312, -0.2300692499, 0.5063014627, -0.2633616626, -0.1381983757, 0.9042354822, 0.750828445, -0.190222159, -0.6016554832, 0.5875708461, -0.3697719574, 0.178296715, 0.5691933632, 0.9728024006, 0.2095664144, 0.5700163245, -0.6974700689, -0.4063175321, 0.0226499718, -1.3600071669, -0.7986016273, -0.6671187282, -0.3865135908, 0.0381437317, -0.1083407849, 1.1011551619, 0.8663196564, -0.5876566172, -0.1384389848, 0.4883893132, 0.4068768322, -0.0517882407, -0.1207079738, 0.1526731402, -0.2160115093, -1.0849773884, 0.5245818496, 0.7751019001, 0.13143152, -0.089049004, -0.1402292997, -0.4219958484, 0.1350750327, 0.6606588364, 0.1557177305, -0.6604071259, -0.497759968, 0.0889193937, -0.2318657637, 0.4322550297, 1.0303426981, -0.1293325573, 0.7703425288, 0.5291637778, 0.5148534179, 0.5371928811, -0.053611815, 0.8749316335, -0.6558301449, 0.7316026092, -0.0804359466, 0.784645617, 0.215485096, -0.3661614358, 0.2983010113, 0.1577181816, -0.5049418211, -0.777441442, 0.3881989121, -1.3852586746, -0.3492535651, 1.256747961, 0.1821786165, 0.0881192312, 0.3135871589, -0.5805245638, -0.0261675827, -0.5591289401, 0.9904173613, 0.7234802246, -0.1558631063, -0.3583909571, -0.3975639045, 0.4052239656, 0.6141353846, -0.6048691869, -0.2056911588, 0.7142070532, 0.1340420097, 0.0823456198, 0.7277571559, 0.0841876045, 0.1467680484, -0.3360811472, 0.3935483396, -0.1102032661, -0.4299066365, -0.2492909729, 0.0285047293, 0.2823211253, -0.5059011579 ]
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.3598380387, -1.0424029827, 0.5122615099, -0.1574935019, 0.2212003171, 0.2185733616, -0.2814507186, -0.7326890826, 0.0692351758, 0.6177255511, -0.3515013158, -0.1571499407, -0.4931360185, -0.0962782875, -0.7531453967, 0.9063711762, 0.0154767195, -0.3917945027, -0.4184556603, 0.0541860498, -0.4031366706, -0.352964133, -0.8632303476, -0.3864236176, 0.3697992861, 0.4026370049, 0.9057446718, 0.9987068176, 0.2433357388, 0.3816690445, -0.6182199717, 0.3507122695, -0.6515944004, 0.4280875921, -0.1991220862, -0.3583259881, -0.3363111019, -0.3942214549, 0.7493021488, 0.7880049348, -0.3236283958, -0.1623418331, 0.0941876322, 0.6581491828, -0.4918282628, 0.1381344348, -0.9495937824, -0.3582722545, 0.1067901552, 0.0966942757, -0.3167110682, -0.4788549244, 0.1065044701, -0.7413875461, 0.3034041822, -0.0874782056, 0.8032690287, -0.0596411414, -0.2804660797, -0.4880501926, -0.7253055573, 0.4230426848, -0.5717728734, 0.6882327199, 0.6470556259, -0.2322352678, -0.3510537446, -0.7309394479, -0.5902647376, -0.224162221, -0.1301135868, -0.0316272601, -0.1825236827, -0.0999353752, 0.3013863862, 0.1147306785, -0.0842578039, -0.0468362533, -0.6549108624, -0.1937475652, 0.3936754465, 0.0804538801, 0.3706702888, -0.2577956915, -0.0128144678, 0.3195087612, -1.0970728397, -0.0460166894, 0.5383374691, 0.4138700068, 0.3996083736, 0.6294661164, -0.5804128647, 0.6899058223, 0.2777580023, -0.0877216831, 0.2400231361, -0.2857018411, -0.0790229887, -0.0804093182, 0.2274750769, 0.2792059481, 0.0636400953, -0.0445931107, -0.3611177504, -0.2994252443, 0.2807539403, -0.6483384371, -0.4459172785, 0.1875199825, -0.4004052281, -0.1823518276, -0.329128027, -0.2093500942, -0.9447057843, -0.612947166, 0.4612968862, -0.7544805408, -0.2652547657, -0.0503492206, -0.1895034164, -0.2573333085, 0.8301627636, -0.8679680824, 0.3944213986, 0.5416258574, 0.3716472685, 0.1619173884, -0.2940897346, -0.6210868359, 0.2210923135, -0.347548306, 0.7517907023, -0.5970628262, -0.435130775, -0.006583266, -0.0907312557, 0.102647014, -0.6609424949, 0.3016190827, -0.7606870532, 0.4235112965, -0.5133116841, -0.8491563797, -0.3797266185, 0.293674916, -0.6736611724, 1.0815961361, 0.0376924686, -0.5811712742, 0.3466912508, -0.5069970489, -0.3766430318, -0.0453804284, 0.4186944962, -0.3377212882, 0.0441843197, 0.176524505, -0.0514998734, -0.0287321508, 0.5557108521, -0.1280978173, -0.2635379136, 0.1271721125, -0.3475385904, 0.7327493429, 0.2752131224, 0.0281990599, -0.0182928257, -0.919695735, -0.1715251207, -0.1311603338, -0.603947401, -0.611574173, 0.3505447507, -0.2953378856, 0.131834358, 0.2384661138, -0.6877456307, 0.2433803678, -0.4397951961, 0.1468463689, 0.8234696984, 0.3464312553, 0.568379879, -0.5777888298, 0.1577926874, 0.1314123869, 0.1955354661, -0.5918444991, -0.4758703709, -1.0710799694, -0.2493089288, 0.0772112459, 0.3154335916, -0.6975361109, 0.0404397808, -0.2014605105, -0.5310407877, -0.4239510298, 0.4717251062, 0.3334218562, 0.8614013195, 0.2901051342, -0.0030802449, -0.6482114196, -0.6168299913, -0.5614286661, -0.184446305, 0.1721059978, 0.0713086873, 0.2935665548, -0.1359953284, 1.0221441984, -0.4433842897, 0.1386631727, -0.0821009278, 0.0849887058, -0.1777268946, 0.5339305997, 0.0699682757, -0.7890259027, -0.3025348783, -0.1588589847, -0.7489474416, -0.338180542, 0.1095678508, -0.1090126857, 0.3744563162, 0.6232814789, -0.5800675154, 0.4656780064, 0.0552311949, -0.3515809476, 0.2600159943, -0.4328112006, 0.3206469417, -0.8800147176, 0.1525411904, -0.1944584399, -0.2331070006, -0.8278663158, 0.0679936484, 0.3075123429, -0.1163860708, -0.5737016201, 0.8766557574, -0.633918643, 0.0490464121, -0.2712746859, 0.3560561836, 0.2459648848, 0.2908160388, 0.1774007976, 0.4721471071, 0.0641740188, -0.729739964, 0.0177747384, 0.5063370466, -0.5489100814, 0.2401594669, -0.2860095203, 0.1388410777, -0.4931675196, -0.0056893872, -0.9121145606, -0.1049036309, 0.0464554913, -0.1654417962, 0.1688718349, -0.1442197412, -0.5733252764, 0.0503847413, -0.2412081212, -0.0859951526, 0.3900816143, -0.6250324845, 0.6184524894, 0.5395790339, -0.5683689713, -0.4979710281, -0.3193327487, 0.0654116943, 0.0069151218, -0.4604921639, 0.2024271041, -0.1932989508, -0.4569452405, 0.3479066193, 0.0983884484, -0.2638662159, 0.2440069318, 0.272747457, 0.2142908871, 0.0172709934, 0.6564160585, 0.1711764038, 0.0512250289, -0.264166832, 0.0910739824, 0.4046055079, 0.2373010665, -0.3773854971, -0.0874512568, 0.0787858218, 0.3933900297, -0.4203357697, 0.8079140186, 0.2341879904, -0.6594163179, -0.0146149127, -0.7462820411, -0.0773528591, -0.5249342322, 0.514942646, -0.4761574566, -0.6284794807, 0.7585685849, 0.1487394273, 0.3863303363, 0.3643402755, 0.3073424697, -0.0599286668, 0.9184250832, 0.6233360171, 0.2218958586, 0.9137145877, -0.0347002521, 0.2136282772, -0.9614435434, -0.3102003932, -0.4703715444, -0.001674842, -0.383742094, -0.2550331056, -0.0175747536, 0.4089288712, -0.3759811521, 0.4448079467, -0.3654484451, 0.4863616526, 0.8153514266, 0.2324259579, 0.6941176653, -0.2036014944, -0.010178281, -0.0909069404, -0.5271939635, -0.3559480906, 1.1054993868, 0.1646339446, 0.6720536947, -0.0251922514, 0.7753849626, 0.2335604578, 0.7144143581, -0.2809991241, 0.4768955112, 0.0728969797, -0.7054727674, -0.2570352852, -0.3648392856, -0.683157444, 0.295625329, -0.358577311, -0.734402895, 0.1451292187, 0.396423161, -0.0384838469, 0.6259263158, -0.9249658585, 0.5986292958, 0.0094769495, -0.4509449899, -0.2073757499, -0.1927918643, 0.3675167263, -0.2935622931, 0.3743222952, -0.1829934567, -0.1059220135, 0.5239153504, -0.5259471536, 0.8145419359, -0.4104935229, -0.1982548833, 0.5967853665, 0.4341866076, 0.8816552758, -0.1425102949, -0.5036451817, -0.1575358957, -0.0218867324, 0.0031641987, -0.6755651832, 0.7419979572, -0.4072169662, -0.6203482151, -0.1032756045, -0.7573272586, -0.1812327355, 0.2965953946, -0.0636237636, 0.6512202621, -0.3094086051, 0.0762937739, 0.5759518147, -0.5501987338, 0.4484192431, 0.8462060094, -0.527826786, -0.2139229774, 0.9019629359, 0.3656454086, 0.4425928891, 0.4203619659, 0.1372179538, -0.2726071477, -0.6237155199, -0.0447074659, 0.1273996234, -0.9518018365, -0.1243771389, -0.9929878712, -0.0998644903, -0.5122286081, -0.1401943713, -0.261592567, -0.6928246617, -0.1336642653, -0.2238365263, 0.4755702913, 0.873983562, -0.2218320817, 0.3094663322, -0.7478428483, 0.4330764115, 0.116028212, 0.4561730027, 0.0316068791, -0.675023675, -0.331635654, 0.2294943929, -0.3825841546, -0.5069532394, 0.3749147356, 0.272102803, 0.4944447279, 0.0534357876, -0.0813884661, 0.8155550957, -0.4880235195, 0.5192052722, -0.1802883744, -1.0697039366, 0.4942930639, -0.4959354401, 0.4344855249, 0.4815840125, 0.0230081845, -1.0694521666, -0.9548217654, -0.7240288854, -0.8469359875, 0.6371176243, -0.0664707124, 0.2045852095, -0.1793063879, 0.5427871346, 0.1767888069, 0.451402247, -0.5559486747, -0.1193355471, 0.0958488211, -0.3910238147, 0.1210314855, -0.5241183043, 0.2939959168, -0.1734386683, 1.0652827024, 0.3284745812, 0.0517841354, -0.0732144788, -0.4729601741, -0.1731640995, 0.105817765, 0.4571615756, 0.7745002508, -0.1968827844, -0.0492539667, 0.2365571111, -0.4365837872, -0.0191266723, -0.0326820612, -0.6890650988, -0.1602148861, 0.3814379871, 0.4193184674, 0.3590554595, -0.8295483589, 0.1150024459, 0.08740554, -0.1706316918, -0.1940569431, 0.2365885228, 0.3831779957, 0.0616873689, 0.2765608728, 0.3412563205, -0.0233413503, -0.5686689019, 0.2841764987, 0.1127122194, -0.3440223336, -0.3387600183, 0.7334177494, 0.1742510349, -0.3866179287, 0.8905370831, -0.278916657, -0.5439303517, 0.4077378511, 0.3567635715, 0.5158999562, -0.3217372894, 0.0855088457, 0.346162349, 0.4471720457, -0.0481419079, 0.3058395088, 0.2722964287, -1.0777739286, -0.3585541248, -0.3871061504, -0.4104043543, 0.1448534429, -0.2847236991, 0.1494149417, -0.3720711768, 0.0301890224, 0.2094510049, 0.0642338842, -0.6242563128, 0.4586706161, -0.0844734684, 0.742869854, -0.7631668448, 0.9045190215, 0.445130378, -0.5105674267, -0.5541785955, -0.3408945501, 0.0829795152, -0.6210647225, 0.5564263463, -0.0752817988, 0.0717558935, -0.0058626463, -0.3801252544, -1.2633574009, 0.6332454085, 0.6123723984, -0.1805091649, 0.0901992396, -0.3637570143, 0.4830467701, -0.0400511995, 0.2004444748, 0.4385375381, 0.5052465796, -0.2322500497, -0.6612532139, -0.1950664818, -0.419724375, -0.234276861, 0.4985359609, -0.3475858271, 1.0582823753, -0.3254354, -0.2200328112, 0.1781875044, 0.5513309836, -0.0082422877, 0.0506116264, 0.4485765696, 0.5122715831, 1.1006984711, -0.1936473995, 0.9933664799, -0.3289296329, 0.0158415753, 1.7975196838, -0.5140505433, 0.8843726516, 0.3898641467, 0.1174968854, 0.4837254882, 0.367100805, 0.2832459807, 0.4371210039, 0.0856337994, -0.4483128786, 0.0093689691, -0.1134621873, -0.0170308836, 0.3742597401, 0.2049433589, -0.2602190375, 0.0085648363, 0.1398093849, 0.320902884, 0.3501442373, -0.1132585183, 0.9079049826, -0.3726670742, -0.9247025251, 0.2528804243, 0.1404318064, 0.1575651467, -0.5229070783, -0.1589491814, -0.4441159368, 0.3367370963, -0.129978925, -0.7086812258, 0.3936805129, 0.0360889398, -0.488371402, -0.3337648809, 0.8043125272, -0.7808747292, -0.4249179363, 0.2353813946, 0.5518018603, -0.0330738053, -0.0857660174, -0.4734170139, 0.0783820003, 0.0648648217, -0.5070180893, 0.2846423388, 0.3630211055, -0.2455322891, 1.1240575314, 0.7772410512, 0.2420434505, 0.305351764, 0.0713825077, 0.8032616973, -0.5735422373, -0.3289486766, -0.4783796072, 0.5286641717, -0.1837147921, -0.0689913109, 0.6970368028, 0.8228574395, 0.7571408153, 0.1549376696, 0.9006818533, -0.1934665591, 1.1425162554, -0.3495076895, 0.6816210151, -0.3385477662, 0.3283296525, -0.3670697212, -0.7582727075, -0.1965043247, 0.307711333, -0.3617632389, 0.1774644405, 0.6053450704, 1.0519756079, -0.0000951204, 0.0294530038, 0.2157379389, 0.4091944098, 0.5584203601, 0.1695642024, 0.9546721578, -0.5723193884, 0.4862243235, -0.4684886038, 0.1939253658, 0.0201091655, -0.9081134796, -0.3760423958, -0.6077988148, -0.457031101, -0.2451938093, 0.3011484444, 0.6670345664, 0.2998484075, -0.7460826039, -0.1653904915, 0.0397348814, 0.3942213655, -0.2789184153, -0.1770371348, 0.4775455594, -0.4704051018, -0.7811374068, 0.465934068, 0.0616563931, 0.0611134693, 0.1860854179, 0.0456439331, -0.5419247746, 0.1391191334, 0.5312146544, 0.3710929453, -0.5617316961, -0.6339252591, -0.0304593686, -0.0453821011, 0.1134171337, 0.5063762665, -0.8768389821, 0.8863097429, 0.5866837502, 0.4291304052, 0.5327256918, 0.3814271688, 0.7283488512, -0.6578364968, 0.134229973, -0.2231399864, 0.418691963, 0.6367974281, -0.2896741033, 0.3654707372, 0.1839367151, -0.3844378591, -0.7134093046, -0.0543740243, -0.2143135667, -0.3244017065, 0.9267380238, -0.0320251696, -0.1081502438, -0.281154871, -0.4495054483, 0.3394387662, -0.3137710989, 0.7081770301, 0.6177259684, 0.1404326111, -0.0573347099, -0.42182675, 0.5847170949, 0.1592326164, -0.9501675963, 0.4638085365, 0.9352427125, 0.5831074119, -0.0410487577, 1.0189211369, -0.0346238613, 0.2671798468, 0.0253287088, 0.3813174963, -0.4042729437, -0.3243093193, -0.2334264815, 0.1867022514, 0.1919031441, 0.1100606173 ]
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.4785722196, -0.6221610904, 0.3261116445, 0.164628759, -0.1962518543, -0.0482906364, -0.4273785055, -0.2522054315, 0.299664259, 0.4578850865, -0.7171791792, 0.0121620698, -0.4463918209, -0.1037673503, 0.5294745564, 0.8951499462, 0.0532910042, -0.004684899, -0.2696548998, -0.2754281163, -0.2891415656, -0.3360714316, -0.4984153211, -0.9542688727, 0.4809690714, 0.5229858756, 0.716965735, 0.5432008505, 0.253788203, 0.2093190402, 0.0401096269, 0.3588807285, -0.5862025619, -0.1269356012, 0.0900330842, -0.3392591476, -0.3466509283, -0.0329181477, 0.5136076212, 0.5867708325, -0.8176114559, 0.0909602717, 0.0154339345, 0.8447588682, -0.9513578415, 0.1049791202, -0.4522054493, 0.4180957973, 0.0902522206, -0.475543946, -0.5136807561, -0.4895859361, 0.3130385876, -0.973560214, -0.2507003248, 0.3459909856, 0.8115126491, 0.3327090442, -0.2179683596, -0.1038599163, -0.4999991357, 0.9397815466, -0.6650684476, 0.3965216279, 0.5085368752, 0.0938095078, -0.3829549253, -0.225202933, -0.6052812338, -0.54270643, 0.1938480586, 0.2900968492, 0.0440588668, 0.066430144, 0.2265379131, -0.054870978, -0.3429665864, 0.1742548496, -0.1144257337, -0.1222565994, 0.6589121222, -0.2481841147, -0.1747349352, -0.0162600633, -0.5058944225, -0.4924843609, -0.7047924995, 0.3027405441, 0.8266476989, 0.1870564371, -0.0822683573, 0.4594334364, -0.3016569316, 0.6774230599, 0.1417835951, -0.408397764, 0.522051394, 0.386549145, -0.1615555584, 0.0702410638, 0.7107346654, 0.4036286473, 0.3495065272, -0.0048135263, -0.3544839025, -0.2569946945, 0.1147371158, -0.811211288, 0.1942582279, -0.0142375985, -0.639495492, -0.6167218089, 0.0612448081, -0.7849552631, -0.203057155, -0.0929075703, 0.3854274452, -0.0646693707, -0.2208894789, 0.2078544647, -0.0801804662, 0.2027478367, 0.0615921728, -1.1763417721, 0.3055413365, 0.6003254652, 0.6561825275, -0.2081266046, -0.4055139422, -0.7436294556, 0.1344216317, -0.3944256008, 0.5842359662, -0.4160754979, -0.3907223344, 0.1436962783, -0.2787471712, 0.1418479383, -0.534419179, 0.5030221939, -0.5675022006, 0.4113455713, -0.4039036036, -0.5115795732, 0.0988423303, 0.4306341708, -0.669737339, 1.1929652691, 0.1918997914, -0.7489829659, 0.4155170023, -0.6861053705, -0.3557680547, -0.1950286627, -0.0538850687, -0.7281018496, 0.0145579549, 0.1528906822, 0.080451943, -0.1445643306, 0.1937480718, -0.6803108454, -0.5896764994, 0.1403182149, -0.1906191707, 0.4930490851, 0.0281960033, -0.3655641973, 0.2145749778, -0.8561131358, 0.0955068097, 0.2749528885, -0.4465922415, -0.4704204798, 0.0391730741, -0.1792508513, 0.2355667204, 0.1587898731, -0.6430217624, 0.443838805, -0.6075959206, 0.2898100317, 0.9468510151, -0.0586673655, 0.5827611089, -0.286896944, 0.7669133544, -0.3890189826, 0.4770511687, 0.5516982079, -0.4732951224, -0.291395694, 0.0205384884, 0.3056824207, 0.5501120687, -0.7506426573, 0.605410099, -0.1250901371, -0.0556422994, -0.4201698899, 0.0619390123, 0.347324729, 0.8303939104, 0.2778404653, -0.2769885659, -0.3963622749, -0.710493505, 0.1342347711, -0.2946821153, 0.046735581, 0.4936110079, 0.1481821537, -0.012803725, 0.9981040955, -0.9518592358, -0.3568641543, -0.4044753015, -0.0658161268, 0.0171174295, 0.1724137515, 0.3513323367, -0.5886847973, -0.2992009223, -0.2118199468, -0.3364710808, -0.2174564898, 0.2290156186, -0.2422297895, 0.3193140328, 0.075249508, -0.4791171849, 0.2107286602, 0.6346629858, -0.256323576, 0.454152137, -0.6744360924, 0.0346275903, -0.6661071777, -0.0515805557, -0.0263446793, -0.1852829158, -0.2356165051, -0.155053243, -0.0313635394, -0.0396788493, -0.5517495871, 0.5269903541, -0.1402622163, -0.2864723206, -0.4934833348, 0.0207100473, 0.1076093316, 0.934209764, 0.1347398907, 0.6778027415, 0.1877475679, -0.4077784717, 0.337675482, 0.1489465237, -0.1968505234, 0.3001894057, -0.5279902816, -0.1383833736, -0.2002307624, 0.5611473918, -0.463386178, 0.0370681733, 0.3131864071, -0.1344848275, 0.1640438735, 0.0529310666, -0.248161912, -0.2022536397, -0.8295866847, 0.4004064202, 0.6850364208, -0.6262587905, 0.401917845, 0.4962221384, 0.2988097966, -0.9549051523, -0.2896218598, -0.5241392851, -0.4002890289, -0.2692157328, 0.5222508311, -0.0062026139, -0.0178419463, -0.215653047, 0.0536758862, 0.3531508446, 0.0123261465, 0.0580669045, 0.3482050002, 0.3098292351, 0.2056147158, -0.1107527167, -0.107047841, -0.114386864, -0.4108634293, 0.6879629493, 0.1917829365, -0.1737959236, -0.3623820245, 0.131645754, 0.1819308847, -0.0708561838, 0.6523369551, 0.6957948208, -0.0849935636, -0.5382372141, -0.2380463183, -0.4987721741, -0.4625799954, 0.4273647666, -0.3167546391, -0.6525262594, 0.1832962334, -0.0525118373, 0.0349407494, 0.0776439086, 0.4770427048, -0.1235610247, 1.1439521313, 0.7102546692, -0.3663407564, 0.8165518641, -0.2806005776, 0.0113757085, -0.8312698603, -0.2499847114, -0.1403934807, -0.424254477, -0.6775245667, -0.2167264819, 0.3813128471, 0.086904116, -0.258221209, 0.080570057, -0.4514184892, 0.2076508552, 0.5728301406, 0.2864657938, 0.1605606377, 0.1691065282, -0.0893066451, -0.0674574822, -0.6902670264, 0.041368138, 1.2007027864, 0.39867571, 0.946662724, -0.0762473941, 0.7175275683, 0.7364838719, 0.2917639315, -0.8867654204, 0.3662786782, -0.0252652876, 0.0977076739, -0.5758730173, -0.7240256667, -0.8813794255, 0.5120762587, -0.2059196532, -0.3876029849, 0.2264059484, 0.5996974707, -0.2599681616, 0.1813897043, -0.4928203225, 0.5654855371, -0.1808837205, -0.3049596846, -0.3851683736, -0.5552031398, 0.3360018134, 0.3179459572, 0.2627691329, -0.2317126244, -0.2812455893, 0.880910635, -0.7468194962, 0.4556052387, -0.5326094031, -0.4122443497, 0.2168013752, -0.4192000628, 0.8980636597, -0.0156774782, -0.1363604814, -0.1313257664, -0.2599791586, -0.4293993413, -0.6928606629, 0.526802659, -0.9977448583, -0.3281759024, -0.3925663531, -0.4599624574, -0.5916926265, -0.099271208, 0.2225546986, 0.3402044475, -0.1079462618, -0.1501844376, 0.7024338841, -0.0995218977, 0.519764185, 0.4231049716, -0.2212436199, -0.6835398674, 0.9909802079, -0.1222996935, 0.4089394808, 0.5801789761, 0.8667662144, -0.547183454, -0.18555969, -0.6378276944, 0.2312122285, -0.4414964616, -0.1854498237, -0.3371287286, 0.2248216122, -0.3993689418, 0.0783349127, -0.3511260152, -0.5358375907, 0.0659030899, -0.046322301, 0.2785786688, 0.3399974108, -0.0441266857, 0.3723675609, -0.2413380593, 0.1430397779, 0.3362658322, 0.3482739329, 0.2420511544, -0.5842745304, -0.1258139908, -0.0022583278, -0.5243875384, -0.763243854, 0.3110546172, 0.3294680119, 0.3995646536, 0.6032087207, 0.1270163655, 0.6229852438, -0.4017060399, 0.2232078314, 0.2437083125, -0.7117527127, 0.500354588, -0.1120949164, 0.1580695212, 0.4962257743, 0.210543409, -0.3694708049, -0.0032230522, -0.6413335204, -0.6510961056, 0.7839257121, -0.103128776, -0.0979175121, 0.300034076, 0.4081617594, -0.0775093362, 0.2805193365, -0.7961981893, -0.1496323645, -0.164560169, -0.1258459538, 0.2775798142, -0.1077950075, -0.1747752726, 0.0016370851, 0.9972746372, -0.455217272, -0.1426121145, 0.0586703718, 0.0950142965, -0.2364724427, 0.1968530566, 0.7758308649, 0.6137570143, -0.4023454785, -0.1435468495, 0.2934411168, -0.5625556707, 0.2984368503, -0.0972704366, -0.3951197565, -0.4399235249, 0.3629997373, 0.8960773945, 0.2283274084, -0.9758392572, 0.6479634643, -0.0160258804, -0.2304526567, -0.0586181991, 0.0405941084, -0.1256117076, 0.0085177226, 0.2815746069, -0.1419705898, 0.0323852897, -0.5465986729, 0.2672028244, 0.5767078996, -0.4455153942, -0.1424684972, 0.2794428766, 0.208900854, -0.2068304867, 0.2137910873, -0.3934258819, -0.5867271423, 0.5520861149, 0.7210279703, 0.3674939275, -0.167579934, 0.3988448977, 0.2862369716, 0.0870841518, -0.3545095623, 0.3546636701, -0.2856759429, -0.8698374629, -0.383510232, -0.7310345173, -0.5342251062, -0.0471200868, -0.8285696507, 0.2913348973, -0.5801640153, -0.2019558549, -0.4942289293, 0.3430110216, -0.2614851296, 0.0754894838, -0.0100620249, 0.6290089488, -0.9411309958, 1.0715544224, 0.4458602965, -0.2394257337, -0.8161293864, 0.200507611, -0.2134418786, -1.2254880667, 0.3965867162, -0.1193994731, -0.1582065672, 0.0188815445, -0.1212120652, -0.8294785023, 1.1254148483, 0.3653143644, -0.5683615804, 0.084005855, -0.0334131084, 0.2768830955, -0.4035931528, 0.371049881, 0.5886340141, 0.4745344222, 0.1822781116, -0.6412416697, 0.1039076671, 0.4348601699, 0.201978147, 0.3457584083, -0.9973880053, 0.4487839341, -0.457047224, 0.2550749481, -0.3390772045, 0.7425320148, 0.8366427422, -0.0402481556, 0.9903976917, 0.9441191554, 0.588003397, 0.265955627, 0.9438463449, 0.0906539634, 0.5376362205, 0.9082997441, -0.6996700764, 1.0473089218, 0.6850676537, -0.4282908738, 0.5551298857, 0.6843078732, 0.0220094789, 1.0673505068, 0.5319702029, -0.2204265594, -0.1097189933, -0.3429303765, -0.2287866026, 0.4040920138, -0.1292142421, 0.0475051887, -0.1053219959, 0.2975206077, 0.104191795, 0.1401045322, -0.2420569211, 0.8124405742, -0.1232430413, -0.9410399199, 0.5496825576, 0.2063451856, 1.0349434614, -0.8575654626, -0.1527327597, -0.2703333795, 0.3107088506, -0.149297595, -0.3674302399, 0.021970408, -0.3950682878, -0.2563807368, -0.2103277296, 0.5828170776, -0.6071299911, -0.3599903286, 0.5709474087, 0.0993177369, -0.3075005114, 0.1927118897, -0.776388824, 0.1926746219, 0.0801073536, -0.5336550474, 0.5338667631, 0.1064040959, -0.2661384046, 0.7391863465, 0.7202840447, 0.5382831693, -0.1666207612, 0.5675483942, 0.4929752052, -0.36248523, -0.912394464, -0.7940474153, -0.0698827282, -0.1606859118, -0.3314248919, 0.2790756822, 0.4658241272, 0.7604520321, -0.0036763989, 0.5751861334, -0.1370891631, 0.2572154105, -0.5168072581, 0.6305772662, -0.7076079845, 0.1469451487, -0.0439710841, -0.8987472653, 0.1973353177, 0.4611265361, -0.0289814025, 0.1005580872, 0.5554512739, 0.8379480243, -0.0004251579, -0.2501653731, 0.3967575431, -0.3326576948, 0.2398353517, 0.7051426768, 0.6219992042, -0.2860023379, 0.6867620349, -0.4379842579, -0.6121556163, -0.2075704187, -1.0014623404, -0.6349068284, -0.2915469706, -0.136322096, -0.2612188756, 0.0897089839, 1.1534190178, 0.9929119945, -0.5259135365, -0.2837331891, -0.0077912286, 0.3070391417, -0.5130471587, -0.2646304965, 0.4975627959, -0.2471467257, -0.6033086181, 0.3006364703, 0.1814343184, -0.106585227, -0.5225141048, -0.5603770614, -0.0444008, 0.1446672529, 0.5262854099, 0.3966174126, -0.6710347533, -0.262306571, -0.3218572736, -0.0013383795, -0.042404931, 0.9986323714, -0.7671320438, 0.0836132467, 0.5752739906, 0.6016172171, 0.4411328435, 0.2895431221, 0.5980622768, -0.9108113647, 0.4914517701, 0.0877550915, 0.4280949831, 0.2354503572, -0.5247745514, 0.3821027875, 0.3750549257, -0.5085811019, -0.8092132807, 0.220233351, -0.9069705606, -0.2186155468, 1.0749797821, -0.0699450672, -0.1933419704, 0.3460054994, -0.0003671183, 0.0913517252, -0.7313418984, 1.0081107616, 0.5340582728, -0.4596790671, -0.1823084056, -0.5120877028, 0.7895234227, 0.6602219939, -0.9618287086, -0.0331055559, 0.1372535676, 0.3305829465, -0.2204728127, 0.8854861856, 0.1563373953, 0.1627840847, -0.3821647167, 0.2147879303, -0.253739059, -0.2257400751, -0.2234605104, 0.2520728111, 0.1509893388, -0.4339666963 ]
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.3343245089, -0.7828989625, 0.7317690849, 0.1428331435, -0.1788650304, -0.4217170477, -0.1765421778, -0.8807255626, -0.2160582989, 0.6916503906, -0.2531569004, -0.4110023975, -0.3972657323, 0.0441649072, -0.2379053682, 0.3672687113, -0.1019203067, -0.0509970896, -0.436771512, -0.4077116251, -0.3172824979, -0.0208582208, -0.4858094752, 0.0274810363, 0.5548657179, 0.3723556697, 0.7066697478, 0.9652898908, 0.6399798393, 0.3767745495, -0.2174279988, 0.3724780381, -0.1762095243, 0.0594407506, -0.2585027218, -0.4584294856, -0.3959690034, -0.1853867769, 0.538880229, 0.8089035749, -0.0150760403, 0.155705899, 0.1282776296, 0.8410784006, -1.0257273912, 0.4920834303, -0.3534249067, -0.1943261474, -0.0625222549, 0.08533369, -0.6811048985, -0.1637932062, 0.5048045516, -1.1828862429, 0.2384295315, 0.2089338601, 0.887341857, 0.5762749314, -0.2932762206, -0.1441820264, -0.56242311, 0.7881627083, -0.3877389431, 0.6923054457, 0.5182650685, 0.2452725172, 0.2337659597, -0.5252656341, -0.47815907, 0.0085256267, -0.1894252747, 0.10102126, -0.3311645091, 0.2555888295, 0.1328155994, 0.1358620822, -0.6068825722, 0.0326877981, -0.423230499, 0.1410827339, 0.3437891603, -0.0528834574, 0.3952646255, -0.2419868261, 0.0395180024, -0.1658119261, -0.3815062344, -0.1552744806, 0.1910445839, 0.0399316922, -0.1422517896, 0.641946137, -0.3295091689, 1.1838899851, -0.1729940772, 0.0320966356, 0.1477457434, -0.6556427479, -0.4254908562, -0.3498620689, 0.3436794281, 0.3299486339, 0.4682920277, -0.138868168, -0.0222967174, 0.1035857126, 0.4690715969, -0.5377779603, -0.2714320719, 0.1916367114, -0.3388309777, -0.2030486763, -0.0920395106, -0.8032456636, -0.510841608, -0.7251161337, 0.6059315801, -0.2772951126, -0.039801944, 0.3010991216, -0.2196499109, 0.265902102, 0.7279619575, -0.9297536016, 0.1343462318, 0.402615875, 0.7656039, -0.0059107663, -0.0677591488, -0.5873653293, 0.2231595516, -0.388910681, 0.6016969085, -0.5937260389, -0.0689245984, -0.1274350882, -0.0916649774, -0.3763167858, -0.3052004874, 0.5216189623, -0.4464276433, 0.2041099966, 0.0206382498, -0.3693407774, -0.2777867615, 0.1221434176, -1.0255124569, 0.656450808, -0.1487996578, -0.7667202353, 0.4318542182, -0.8289664984, -0.3896482885, 0.1111903861, -0.2097243071, -0.2905710936, 0.301489532, 0.7445786595, 0.3186960816, -0.1437274814, 0.1465710998, 0.0216001328, -0.3286546767, -0.1034092978, -0.3607290089, 0.7097755075, 0.1316584051, -0.2906249464, 0.2352154702, -0.8848994374, -0.1747790426, 0.14687033, -0.3051427305, -0.7800190449, 0.3005414307, 0.0311548728, -0.4022870362, 0.2005532831, -0.5132057667, -0.1160361171, -0.5316880345, 0.2555441856, 0.605815649, -0.2794960439, 0.9123240709, 0.2936606407, 0.4760448635, -0.1921679974, 0.5254431963, -0.2737891972, -0.4204646945, -0.8996810317, -0.6205128431, 0.0714385435, 0.4859461486, -1.0565716028, 0.104073748, -0.1375766397, -0.3514074385, -0.7927407622, 0.0476208664, 0.5018479824, 0.7121668458, 0.3769856989, 0.0019470806, -0.2536119521, -0.9570562243, -0.3632994592, -0.1974350512, 0.0260799248, 0.5360494256, 0.3602615893, -0.1921334565, 0.8146746755, -0.5315359831, -0.0900354311, -0.3195488155, -0.1251639873, 0.0727365464, 0.2729319036, 0.5634977818, -1.1252845526, -0.3241065443, 0.3927991986, -0.7896066308, -0.3791428506, -0.1678811759, -0.338119179, 0.3132088184, 0.4781826735, -0.5221956968, 0.7587396502, 0.7328038216, -0.4610096216, 0.370665282, -0.3617962897, 0.0458054617, -0.7619732618, 0.1703870296, 0.336263895, -0.1069045663, -0.6553949714, 0.4212297797, 0.2087267786, -0.0332935974, -0.3089076877, 0.6919364333, -0.764724791, -0.1036779061, 0.0303601474, 0.3043819964, 0.4738272727, 0.5310029387, 0.2303135246, 0.8207172751, 0.5606498122, -0.4951258898, -0.0058612511, 0.3151766658, -0.5309356451, 0.4836111963, -0.868792057, -0.1641062647, -0.2211890221, -0.1921719611, -0.7522186637, -0.3289208412, 0.291063875, -0.1838530153, 0.220365718, -0.1294098645, -0.4485256076, -0.0000636763, -0.1271398962, 0.4418311119, 0.205551222, -0.9243912101, 1.1109426022, 0.5272455812, -0.0044899951, -0.5727382302, -0.7635466456, -0.0799269676, -0.0223778505, -0.7294294238, 0.1307656616, 0.2517165244, -0.6145446897, 0.0515210629, -0.0918310732, -0.1579614431, -0.073872678, 0.1395546645, 0.3827863932, -0.0954683051, 0.3652848601, 0.0146107096, -0.1245397553, -0.2222580165, -0.3189589381, -0.0168866348, -0.2715914845, -0.4615648985, -0.4970553517, 0.4485658705, 0.6807300448, -0.7417629957, 0.7982437015, 0.2978980839, -0.2625560462, -0.2330930531, -0.440073818, 0.2124773711, -0.4765484631, 0.5222886205, -0.3444561064, -0.6989855766, 0.2067521513, 0.3053133786, 0.3355942369, 0.1778887808, 0.3346544504, -0.0133168679, 1.0113259554, 0.6103524566, 0.4257112443, 0.7760528326, 0.0676863045, 0.2668749988, -0.6624577045, -0.3622429073, -0.432928592, 0.036643263, -0.3189715445, -0.7626487613, 0.3683734536, -0.2048037052, -0.00535892, 0.2733546793, -0.6302433014, 0.7295325994, 0.7414792776, 0.2578016818, 0.4432225823, -0.0110860132, 0.0033510646, 0.0308996513, -0.7656912208, -0.5629422069, 0.8939806819, 0.357719034, 0.9692723751, 0.2707298398, 0.2042488456, -0.0658040568, -0.170881018, -0.8045194745, 0.5274766088, -0.1739252061, -0.5065498948, -0.4261286855, -0.3920820653, -0.8889488578, 0.5937785506, -0.0619764961, -0.6503608823, 0.5761173368, 0.3704827428, 0.0343757607, 0.2040608823, -1.2816463709, 1.0634617805, -0.0611581132, -0.5328193307, -0.2902302742, -0.6204930544, 0.2311018407, -0.0137623884, 0.1292972118, 0.2163579762, -0.196823433, 0.4007827044, -0.2916553617, 0.9260874391, -0.0176788941, -0.0495758653, 0.3975312114, -0.1010744646, 0.2420704216, -0.1519771665, -0.1437883377, 0.1249607503, -0.0314211994, -0.5444129109, -0.5806829929, 0.371288687, -0.627951026, -0.3716413677, -0.1267047226, -0.5111683011, 0.0551805869, 0.1608114243, 0.0216242578, 0.8342702389, -0.1001757979, 0.4093040228, 0.9200826287, -0.4318569601, 0.1942099035, 0.3042227626, -0.2216704488, -0.1128122658, 0.8223825097, 0.0680891424, 0.5084387064, 0.63344419, 0.0085518397, -0.3415126503, -0.4621626139, -0.6065796018, 0.2320691794, -0.8774176836, 0.2424300313, -0.5927475691, 0.1536521018, -0.2832050622, -0.234354645, -0.3023752868, -0.2790678144, -0.4654710293, -0.110627085, 0.3859345019, 0.5478320718, -0.0140158646, 0.2497344762, -0.4213121235, 0.5272149444, 0.3478529453, 0.3689569831, 0.1216393113, -0.2302586883, -0.3594214022, -0.3033629954, 0.2030458301, -0.7678593993, 0.3967184126, 0.2158915401, 0.577481389, 0.3665055335, -0.1000489965, 0.5452390313, -0.4764535725, 0.4154205918, -0.0275662933, -0.8613730073, 0.7077898979, -0.2411230057, 0.5940940976, 0.4787881672, -0.0407314301, -0.163073197, -0.3584380448, -0.2250322104, -0.8325363398, 0.6071455479, 0.3018190563, -0.3367055058, 0.0820028707, 0.2556311488, -0.0284472089, -0.0957929865, -0.429666698, 0.1774001867, -0.2244426757, -0.4708753526, 0.0326291174, 0.0100408532, 0.1295179129, -0.5324581265, 0.4903271496, -0.3030779362, 0.0000951009, 0.36568892, -0.3475019634, 0.2684325278, 0.1129982471, 0.3238520026, 0.707480967, 0.0602833442, 0.1666497439, 0.0457877293, -0.7536604404, -0.3166882992, 0.0385840088, -0.2586576045, -0.0035112763, 0.4984081984, 0.9950649142, 0.1665888578, -0.985807538, 0.3788904548, -0.3248584867, -0.1668372899, -0.0007145618, 0.3264784217, 0.1050773859, 0.3557462096, 0.0625055879, 0.1678504795, 0.1134582236, -0.315964967, -0.1466776431, 0.1720523536, -0.1627669781, -0.0742765665, 0.7062046528, 0.4119167328, -0.1194258183, 0.5681595206, 0.1780474484, -0.1753358096, 0.6043940187, 0.0615032427, 0.630176127, 0.1496260017, 0.2804035842, 0.2376722395, 0.4260704517, -0.0229746792, 0.132499069, -0.3416926265, -0.7324485779, -0.6477282047, -0.5967447162, -0.6077247262, -0.3166065216, -0.7392068505, 0.0754370242, -0.225019142, 0.0810288861, 0.0697189718, -0.1780360341, -0.6187805533, 0.2660868764, -0.0120738298, 1.0036745071, -0.7110795379, 0.6475576162, 0.5551944375, -0.4357412457, -0.6453848481, -0.2165217102, -0.129414618, -0.6551501155, 0.3183794916, 0.154181242, -0.3813738525, 0.001630759, -0.7099258304, -0.6114509702, 0.9197496772, 0.4597619176, -0.6538987756, -0.1885494888, -0.2543743849, 0.594180584, -0.1076038629, 0.0769939497, 0.5241811275, 0.4476656616, 0.0226460863, -0.7391747236, -0.3087479174, -0.3119303584, -0.0812195987, 0.3110482991, -0.3723376393, 0.5629686713, -0.3140114546, -0.1538902074, 0.129450202, 0.5042229295, 0.2643739879, 0.2728324533, 0.4443576336, 0.5735538602, 0.7848848104, -0.0061252974, 1.2476160526, 0.0356938168, -0.0129119027, 1.097474575, -0.0325868987, 0.8559758663, 0.692799747, 0.221820876, 0.3064321578, 0.4500385821, 0.0801159292, 0.4577655792, -0.2208849937, -0.2325164527, -0.3579812646, -0.1761073023, 0.1111883149, 0.4908864796, 0.3542903364, -0.4437609613, -0.0105294185, -0.0748575851, -0.4119538665, 0.2687324882, -0.309766084, 0.6393746734, -0.0570679046, -0.5792239904, 0.1617457122, -0.2376872897, 0.2586042285, -0.441098094, -0.082716547, -0.0212107655, 0.3795555234, -0.0337513536, -0.8009755611, 0.2789713144, 0.30646649, -0.16457057, -0.2112246603, 0.7483958602, -0.2773011625, -0.5391266942, 0.3200207055, 0.5573426485, 0.1379148513, -0.1439622939, -0.4567489326, 0.2017961442, -0.0499950126, -0.3763180971, -0.0126684308, 0.5103988647, -0.15243949, 0.7268657088, 0.6010299921, 0.1128795445, 0.1324812323, 0.4106267989, 0.6188641787, -0.3952171504, -0.4496789873, -0.6668334603, 0.5943213105, -0.2190638036, -0.3777470589, 0.5569909215, 0.3725384176, 0.6688061357, -0.0711782202, 0.4640710354, 0.1298962682, 0.3655090332, -0.5979762077, 0.7666620612, -0.8811041713, 0.0669539571, -0.430354178, -0.7733944058, -0.6419149637, 0.8448559046, -0.4762032032, -0.1894084364, 0.3546433449, 0.7737496495, -0.1107402146, 0.0736993253, 0.2574437857, 0.0570762157, 0.3295850158, 0.4442548454, 0.4969176948, -0.2096368819, 0.6037279963, -0.0074538887, -0.3043033481, -0.2192796618, -0.7431657314, -0.9025985003, -0.4900411367, -0.3693102598, 0.1848371327, 0.1351868361, 0.4500630498, 0.7901315689, -0.3407370448, 0.1660230458, -0.5222122669, 0.1911102831, -0.0632867068, -0.2012626082, 0.4951627254, -0.018889932, -0.9669625759, 0.2976673543, 0.5099260807, 0.0770674199, -0.3625625074, -0.0994800627, -0.3091141284, 0.3303436935, 0.7792131901, 0.281439513, -0.8479425311, -0.2497786731, 0.1149241552, -0.2139819711, -0.059710063, 0.2111284882, -0.7427953482, 0.9682949781, 0.8101205826, 0.9399467707, 0.469155699, 0.1502566189, 0.7021782994, -0.6041887999, 0.2048363239, 0.0626767874, 0.4369029999, 0.4446482956, -0.2678478956, 0.7986005545, 0.0365661755, -0.4219369888, -0.7160379887, 0.1969477832, -1.0212898254, -0.5413253903, 0.9653656483, 0.0197097622, -0.7048165798, -0.083788529, -0.5168355703, 0.1600469351, -0.0999101251, 0.3649860322, 0.5299633741, -0.1342497021, -0.5321858525, -0.6699066758, 0.1397689879, 0.4416232407, -0.9170069695, 0.1563539356, 0.6356408, -0.1836752594, 0.0535317212, 0.3220525384, -0.0239137281, 0.3848130405, 0.2198996842, 0.1037272662, 0.0182523634, -0.6917595863, -0.3259066343, 0.0351046026, -0.1997244805, -0.4370802939 ]
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.5024197102, -0.5372958779, 0.5965969563, 0.2714615464, -0.5068619847, 0.1008839533, -0.5138687491, -0.4407788217, 0.1471280605, 0.3431422114, -0.3066658378, -0.2738823593, -0.6721900702, 0.3916147649, 0.1518636793, 0.7339923978, -0.0996401012, -0.074196443, -0.0159733985, 0.190604642, -0.7435845137, -0.4232502878, -0.7507255673, -0.2296191007, 0.5648764968, 0.6344708204, 0.8243495226, 1.0095272064, 0.6846824288, 0.2601231039, -0.1201493144, 0.0376445279, -0.7474087477, -0.0635360405, 0.0744122714, -0.2076801807, -0.5917586088, 0.0083813304, 0.6813440919, 0.5871738791, -0.5215754509, -0.1158261225, -0.0334446803, 0.9446902275, -0.4171880484, 0.2196517438, -0.6723368168, -0.0736568198, -0.1310274154, -0.3255755305, -0.3454591334, -0.5721185207, 0.334448427, -0.6231735945, 0.2609494627, 0.0599556044, 1.0153723955, 0.4360079169, -0.0964980349, -0.3016365469, -0.7756346464, 0.7025680542, -0.9842352867, 0.393942982, 0.5400910974, 0.3164891601, -0.1809242368, -0.3002835214, -0.5060277581, -0.6290528178, 0.1005061716, 0.1547016054, 0.0244431086, 0.5274378061, 0.1787814051, 0.5114864111, -0.4681013525, 0.3249438405, -0.6591333151, 0.0462776087, 0.5739767551, -0.0100762388, -0.1994345784, -0.0192586333, -0.0909978375, -0.0890391469, -0.5491381288, 0.3454160988, 0.7798841596, 0.4001412094, 0.2776025236, 0.4765884876, -0.5409449339, 1.0665307045, 0.4401344359, -0.4224616587, 0.0317978263, -0.1155962273, 0.1413341612, 0.2410560101, 0.5511585474, 0.6099728346, 0.1942523867, -0.2460199296, -0.2316068709, 0.349691242, 0.253757298, -0.9112635255, 0.0612561889, 0.2594501674, -0.3302600384, -0.293820411, -0.1051817238, -0.7099722028, -0.1804047823, -0.3922868669, 0.3317693472, -0.270953387, -0.1980753988, 0.5172027349, -0.0762522891, 0.0060452339, 0.2375565469, -1.1343861818, 0.5148200989, 0.5266065001, 0.814514637, -0.3812756836, -0.1545005143, -0.6311805844, -0.0575429723, -0.4389809668, 0.7072765231, -0.7074750066, -0.4655868113, -0.1675362885, -0.5483518839, 0.027341105, -0.5216729045, 0.752823174, -0.4682691693, 0.3342751563, -0.25491485, -0.5959357619, 0.0267095454, 0.3576826453, -0.6882435679, 0.973682344, -0.1079887226, -0.6669845581, 0.4285092354, -0.6745377779, -0.1166428924, -0.214879021, -0.1120300293, -0.4354890883, 0.3295888305, 0.1765310317, 0.1707750112, -0.3941308856, 0.5059352517, -0.3887393773, -0.7089251876, -0.1012973338, -0.1571712345, 0.1157816872, 0.1674271524, -0.6455623507, 0.2893617749, -0.857940197, 0.0143758887, 0.083483845, -0.6424886584, -0.1875490248, -0.0012673677, -0.6005322337, 0.2027183771, 0.2137455195, -0.660323143, 0.5995599627, -0.700642705, 0.2156632245, 1.0581823587, -0.3953257203, 0.6094971895, -0.1740581542, 0.5031983256, -0.2441778183, 0.5407099724, 0.4379354715, -0.4709640741, -0.7750245929, -0.4263004363, 0.3640643358, 0.1475225687, -0.6298123002, 0.4889518917, -0.4195123911, -0.369866401, -0.5841773748, 0.0626578107, 0.1725733578, 0.688860774, 0.465634197, -0.332769841, -0.2173288465, -0.9870500565, -0.0030155729, -0.1619294137, 0.0691386238, 0.3030359745, -0.1215595528, -0.1665489078, 1.0598366261, -0.6017130613, -0.3394670188, -0.2885857522, -0.1462757289, 0.2595542967, 0.1581334025, 0.6192538142, -0.511095345, -0.5928955078, -0.234879747, -0.1359249353, -0.2853501141, 0.3527268469, 0.0407164134, 0.2585855722, -0.334474504, -0.3742825389, 0.4336951971, 0.6566329598, -0.2033879757, 0.1626163423, -0.319465518, 0.4498911798, -0.7965340614, -0.0715150982, -0.1585013568, -0.0160888284, -0.5292950273, -0.2910748124, 0.032684911, -0.150451228, -0.127617076, 0.63830024, -0.5315874815, -0.2083519548, -0.5543904305, 0.1878639013, 0.1128272042, 0.5119401217, 0.2521996796, 0.5747842193, 0.3293886781, -0.6955935359, 0.3655944765, 0.2021104842, 0.0576522239, 0.1838483512, -0.6712027192, 0.3849955797, -0.1752577573, 0.1699534655, -0.9006996751, -0.1007981449, 0.1934157014, -0.3644449413, 0.389341265, -0.1388255954, -0.3732011616, -0.4184455276, -0.6930676103, 0.3020904958, 0.5021092296, -0.5216910243, 0.3344567716, -0.0637349635, -0.2178090811, -0.7368841767, 0.0016612693, -0.0225602947, -0.3487745225, -0.7060374022, 0.428914547, -0.4192555547, -0.1408755481, -0.3821364343, -0.1710054427, 0.0002297261, 0.041344326, -0.0683252141, 0.1644576341, 0.0995742455, 0.0025615136, 0.0529351383, -0.0211925469, -0.4295935035, -0.086323157, 0.7055929303, -0.2335194498, -0.0726474598, -0.4866544306, 0.4198430181, 0.0160611998, -0.1570804417, 0.3954837918, 0.2167114168, -0.170315817, 0.1228471175, -0.8090612888, -0.4243472815, -0.4954151213, 0.1600984335, -0.6995407939, -0.9131245613, 0.3343628943, 0.1456036866, -0.0780807883, 0.3329896033, 0.4111612439, 0.4453627765, 1.2608497143, 0.8997499347, -0.0714049041, 0.6931474805, -0.0573135354, 0.091771394, -0.4309540391, -0.072556667, -0.4945507944, -0.2423947603, -0.5415215492, -0.15396218, 0.1799032539, 0.194739759, -0.1868483424, 0.1655717641, -0.6686669588, 0.3414633274, 0.437377423, 0.2513353527, 0.5108488202, 0.0341854319, -0.0401538648, -0.1772780716, -0.7035095692, -0.3832146525, 0.8675358295, 0.4811490476, 1.0093044043, 0.3571666777, 0.7574430704, 0.1652745605, 0.2764613628, -0.9360386729, 0.2329486459, 0.0400668792, -0.4160589576, -0.2770797908, -0.5218225121, -0.9212462902, -0.0934422463, 0.2035724819, -0.7853271961, 0.2623520494, 0.6349797249, -0.3639286458, -0.0540791973, -0.5895009041, 0.7127366662, -0.372393012, -0.5864127874, -0.1456056833, -0.7372415066, 0.1876958013, 0.0953315347, -0.0506443083, -0.3824266493, -0.0965274796, 0.5770978332, -0.4389448464, 0.5196550488, -0.1914785206, -0.1405369192, 0.0129091972, 0.0047895792, 0.6600345373, 0.0800117552, -0.2277067006, 0.0108561115, -0.2466488332, -0.5055346489, -0.4806750417, 0.9678952694, -0.8950899243, -0.9381946325, -0.5198156238, -0.2926869988, -0.4567920268, 0.0842028782, 0.3713642061, 0.4450472593, 0.0733309835, -0.0170517545, 0.6088600159, -0.0716831163, 0.4676183164, 0.5148459673, -0.1454764754, -0.508559823, 0.6396383047, -0.0056682169, 0.5635212064, 0.4033891559, 0.6832008958, -0.6864232421, -0.5998740196, -0.5879783034, 0.2845623493, -0.7030835748, -0.187058121, -0.4733071327, 0.3228375316, -0.5493471622, -0.0795645788, -0.669238925, -0.3928688467, -0.1429603696, -0.2068081945, 0.4557997882, 0.8014612198, -0.0821357146, 0.3333451748, -0.6142832041, 0.1479177326, 0.0737346932, 0.7639733553, -0.2384193242, -0.8428607583, -0.0410041623, -0.041841194, -0.226725772, -0.9071263671, 0.3579534292, 0.2594237924, 0.5780359507, 0.3247573078, 0.0119173527, 0.7057397962, -0.5841189623, 0.5480853319, 0.1635269225, -0.7630755305, 0.5844218135, -0.42675969, 0.2359101027, 0.6055045128, 0.6289506555, -0.3410945237, 0.0625419393, -0.5171128511, -0.8302276134, 0.510940969, 0.1881579757, 0.1016705185, -0.1234255061, 0.6771607995, 0.2635219097, 0.4559088647, -0.6389611959, -0.1471102387, -0.5394353271, -0.1421794891, 0.0381689779, -0.4773159325, -0.1862937808, -0.0610152818, 0.7437531352, -0.3808649182, 0.333114028, 0.188864097, 0.0631591529, -0.0124728857, 0.3563397825, 0.8004900813, 1.0817468166, -0.5970332623, -0.1758852899, -0.2171201557, -0.2647242546, 0.3187676668, 0.4285346568, 0.0708837733, -0.0467014387, -0.1227837503, 1.0566864014, -0.2786444724, -0.4652388096, 0.4880034029, -0.3361429274, 0.0123610785, 0.0152200963, -0.1979553699, -0.1990177929, -0.1112764552, 0.2870659828, -0.268620342, 0.5344981551, -0.4960389733, -0.1275703758, 0.176187247, -0.4240064919, -0.2546429038, 0.6001397967, 0.4465497136, 0.0205152724, 0.2314285785, -0.2072801739, -0.4749470651, 0.4298831522, 0.5078305602, 0.5422421098, -0.2740502357, 0.1196188033, 0.4781931937, 0.1034825593, -0.5125111341, 0.130976215, -0.0153179457, -0.6533559561, -0.5135771036, -0.6377472281, -0.5291005373, 0.0864237025, -0.5426217318, 0.4315393865, -0.6461670399, -0.2688753605, -0.1856441498, 0.1038532406, -0.5950121284, 0.2065405101, -0.0204909239, 0.5918009281, -0.4811099768, 0.7037277222, 0.4156672359, -0.5079812407, -1.1121251583, -0.0066057476, -0.1744401753, -0.5889671445, 0.6611258984, 0.2981606126, -0.1147301719, 0.3089465797, -0.1503054053, -1.0181976557, 0.9840216637, 0.4425269663, -0.8465872407, 0.0136194499, 0.1793351471, 0.4067611694, -0.1993112564, 0.3179515898, 0.6381093264, 0.3765702248, 0.1224465519, -1.266474843, 0.0563021973, 0.0771141648, 0.3129884899, 0.2648164928, -0.9061542153, 0.5079830289, -0.2778518498, 0.0989740416, 0.0838778913, 0.3669194579, 0.2372667938, -0.1660515964, 0.5002698898, 0.5609155297, 0.6155429482, -0.1532717496, 1.1163309813, -0.2302468419, 0.468121171, 1.0568968058, -0.4608591199, 0.5926587582, 0.5345702767, 0.042382732, 0.1783050448, 1.1275817156, 0.3973448575, 0.8245082498, 0.5194676518, -0.2210426629, -0.0770394057, -0.1377516091, -0.4556227028, 0.4520704448, -0.1003628075, 0.0060480395, 0.0625293106, 0.0048959861, 0.224448964, 0.1877582073, -0.2775267363, 0.869971633, -0.2310555577, -0.9170389771, 0.8308577538, 0.0732780397, 0.9382104278, -0.6922909021, 0.0487805903, -0.6919418573, 0.5023548007, -0.01400619, -0.3067080379, 0.0543576628, -0.0708299205, -0.2110482752, 0.0503033064, 0.6790313125, -0.430205375, -0.1577038467, 0.4183285832, 0.1167649254, -0.1131570563, -0.2636303902, -0.6035715938, 0.3429050148, -0.0128390128, -0.5023610592, 0.3031388521, 0.1680320352, -0.1637605131, 0.6008989215, 0.4559796453, 0.04018059, 0.0671791658, 0.2402624041, 1.0911138058, -0.4898454547, -0.4822107255, -0.9392098784, 0.3310854733, -0.3549022377, -0.1917440444, 0.4802561402, 0.6026970148, 0.824375689, -0.1145012677, 0.5916361809, -0.0368868187, 0.505967617, -0.535194993, 0.1187404394, -0.5015592575, 0.3904236853, -0.1733040363, -1.0931588411, -0.0685644895, 0.4962524176, -0.3922168314, 0.114539139, 0.6897966862, 0.7125448585, 0.102287136, -0.4670777619, 0.5336547494, -0.0202564113, 0.4922057986, 0.3385690749, 0.6302915215, -0.1609045565, 0.7479707003, -0.4459355474, -0.5473145247, -0.2580084503, -1.0309137106, -0.8645994067, -0.2518255711, -0.1713629216, -0.3288034499, 0.3414285779, 0.9877513051, 0.4485076666, -0.3239922523, -0.3279039264, 0.085113056, -0.2312516272, -0.0227366351, -0.2687265277, 0.1827914417, -0.3050540984, -0.8232497573, 0.3362745345, 0.3023502231, 0.1130290106, -0.0660816208, -0.2571788728, -0.1698258817, 0.0613600276, 0.3843026757, 0.1205625981, -0.8787205219, -0.5205612779, 0.3228627145, -0.021402102, 0.4021905959, 0.7460157275, -0.4223306179, 0.6678395271, 0.5069038868, 0.6188820004, 0.5834549665, 0.1776098013, 0.9407855272, -0.7585451007, 0.3011777103, 0.3005459309, 0.3693300784, 0.6742300391, -0.5339428186, 0.6012716889, 0.2719514668, -0.6349287033, -0.5164792538, 0.2352584749, -1.0748091936, -0.0585567057, 1.4438611269, -0.1028624848, 0.1179863065, 0.2107492089, -0.5447463989, 0.1266616434, -0.8303273916, 1.192666769, 0.6056079268, -0.3476978242, -0.0982238129, -0.5520807505, 0.9993053675, 0.297044605, -0.8697865009, -0.1001271904, 0.6419551373, 0.3519921005, 0.0910686105, 1.047593236, 0.0584621653, 0.1727916151, -0.3007377386, 0.1742233336, -0.1309472471, -0.2433876842, -0.1930979192, -0.2066375762, 0.6599709988, -0.1719023883 ]
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.2121628076, -0.7334625721, 1.1433297396, -0.297403127, -0.2683446109, 0.0709572434, -0.4163078368, -0.3751306236, -0.1421407908, 0.4586906731, -0.4657430053, -0.2206623107, -0.8662829399, -0.1930393875, -0.2766146958, 1.2256603241, 0.0375459194, 0.0291926842, -0.4664913416, -0.071028471, -0.4450412393, -0.8249195218, -0.3112812042, -0.4793618321, 0.6826196313, 0.2292496711, 0.3643121421, 0.6131668687, 0.254555881, 0.2850070298, -0.0269158389, -0.1081737652, -0.8982308507, -0.0064088004, -0.2255641669, -1.1107221842, -0.2619225383, 0.1363942623, 1.1358340979, 0.7712013125, -0.3979453146, 0.1708672792, -0.1645951271, 0.6525617838, -0.7788252234, 0.2387437373, -0.8500082493, 0.1280645579, -0.3178388476, -0.4509809911, -0.4856103361, -0.3454993963, 0.2539232969, -0.4969141483, 0.3575229347, 0.1950897872, 0.9268455505, 0.1819725931, -0.4933324754, -0.4972506762, -0.8324224353, 0.7727941871, -0.4417175055, 0.7083103657, 0.4781408012, 0.0022575757, -0.0116983438, -0.7543520927, -0.7586948872, -0.4504814744, -0.1531345695, -0.0381107405, 0.2271851301, 0.0085816449, 0.7124910951, 0.3359003365, -0.3250828981, 0.1371666342, -0.4241938889, -0.1858489066, 0.3244972229, -0.0349951647, 0.1633197069, 0.2439367771, -0.3025654852, 0.1084912196, -1.1076219082, -0.0847062767, 0.0740748346, 0.0996371433, -0.0712795556, 0.3604803979, 0.111566484, 0.5281592011, 0.0531569533, -0.4647496045, 0.2338914722, -0.2757763267, -0.1817031652, 0.2995421588, 0.5328280926, -0.2204433382, 0.5114552379, -0.2744718492, -0.3102003336, -0.4422736466, 0.323823005, -0.7464751005, -0.2196169794, -0.0844717473, -0.2101381123, -0.0364209525, -0.0450376309, -0.3686243594, -0.3170114458, -0.5712820292, 0.688229382, -0.4342698455, -0.279732734, 0.2164734453, -0.0416460298, 0.2001401633, 0.3477191925, -1.0019444227, 0.2243794799, 0.6639940739, 0.5872607827, -0.0493038036, -0.3990229666, -0.5895171165, 0.1716110855, -0.4479082823, 0.4769751132, -0.1916823685, -0.0533812046, 0.0927762985, 0.0328298472, -0.4087694287, -0.6346535087, 0.1385238767, -1.229010582, 0.0474922806, -0.8147511482, -0.7605522871, -0.0951674208, 0.350084126, -0.415581286, 0.6149402857, -0.4456626177, -0.9609171748, 0.7690335512, -0.2281003892, -0.3979201615, -0.1812763512, -0.2409117967, -0.3583722711, 0.405369401, -0.2753354013, 0.6366581321, -0.1635621786, 0.3251106739, -0.3356939852, -0.3051407635, 0.4757887125, -0.3060349524, 0.5748690367, -0.0273112487, -0.1003259197, -0.3147782385, -0.7289791107, -0.4563538134, 0.3354352415, -0.6033012271, -0.2211661637, 0.1818227768, -0.9075827003, 0.2231761515, 0.2967578769, -0.4172346592, 0.091181241, -0.031802021, -0.1169574559, 0.6909989715, 0.2598501742, 0.3159484267, -0.2626385391, 0.2330468744, 0.368040204, -0.3286733329, -0.2966257036, 0.0579861663, -1.0378204584, -0.0181825869, 0.2790479362, 0.4600092769, -0.4563195705, 0.115381293, -0.4304736853, -0.1775642037, 0.1474609077, 0.5103168488, 0.3265342712, 0.5534307957, 0.2554245889, -0.1395584792, -0.4104688168, -0.5047570467, -0.0998648927, -0.258205086, 0.1716462225, 0.0166268442, 0.6239972711, -0.069096081, 0.8953363895, -0.5353819728, 0.1261136085, -0.3567329049, 0.3308588564, 0.1636864096, 0.4583898485, 0.5803685188, -0.6246331334, 0.0101668937, -0.1711303443, -0.8541506529, 0.2025472969, -0.2482866049, -0.008450265, 0.268189162, 0.7517048717, -0.9040805697, 0.1994362175, 0.3801901042, 0.0244893748, 0.9316904545, -0.3951257467, -0.2544764876, -0.6265855432, -0.0415932722, -0.3242744207, -0.3394284546, -0.5009803772, -0.2856968641, 0.0327257551, 0.2748957574, -0.2394758016, 0.2157307416, -0.6591765285, -0.1702349037, -0.1334083974, 0.2466403246, -0.0933353603, 0.4263195097, 0.2958407104, 0.6806694269, 0.5585894585, -1.0929834843, 0.1724093258, -0.0736730769, -0.5511996746, 0.0377122723, -0.3794055283, 0.2244634777, -0.4141505361, 0.1971670538, -0.8321784139, -0.1842309535, -0.1549028456, -0.1397667676, 0.7377365232, -0.2350217998, -0.5906908512, -0.2243234813, 0.2308503389, 0.2566868067, 0.5698802471, -0.5616668463, 0.546184361, 0.2764179409, -0.2683008909, -0.6742874384, -0.5234891176, -0.2521307468, -0.2127598971, -0.2771705389, -0.1184349731, 0.149308607, -0.3447624445, -0.1687510908, -0.2210329473, -0.1846066415, 0.0911813378, 0.0557225682, 0.2520529926, -0.420378685, 0.5953467488, -0.2047343999, 0.0262366664, 0.6401165724, -0.5255014896, 0.5562654734, -0.0571081676, -0.3833959997, -0.265635103, -0.3263612092, 0.6773717403, -0.2582209706, 1.355612278, 0.4797540903, -0.1854065955, -0.1925083548, -0.9662564993, -0.18481341, -0.401557833, 0.571411252, -0.3806923032, -0.7865761518, 0.5073591471, -0.3593642116, 0.0635774061, 0.2954330146, 0.5996419787, -0.2056586593, 0.602871716, 0.7096366882, 0.043780338, 0.4565560818, -0.321719259, 0.0479843579, -0.4902206957, -0.4271510243, -0.2644089758, 0.0691782311, -0.326888144, -0.4290016294, 0.0461968072, 0.3171488941, -0.4353388846, -0.2149877399, 0.422103852, 0.5850102305, 0.4038449824, 0.0934073403, 0.3477716148, -0.0324018337, -0.3047264814, 0.048856657, -0.8843226433, -0.3737930954, 1.103775382, 0.4866908789, 0.7059666514, -0.0390269607, 0.645719409, -0.0866248608, 0.3923677206, -0.6058104634, 0.4406632781, 0.1805583984, -0.7730357647, -0.1963827163, -0.5407473445, -0.6859906912, -0.1187935844, -0.4442081749, -0.5693830252, 0.2024057209, 0.5332664251, -0.5140015483, 0.4880677462, -0.5950719714, 0.749991715, -0.5138977766, -0.4998498261, -0.5583350062, -0.741910398, 0.5639132857, -0.5440211296, 0.273861289, 0.0215269532, 0.298668474, 0.8112568259, -0.2806228697, 0.782895267, -0.3947856724, -0.2063648552, 0.2693571448, 0.0142322229, 0.5189114213, 0.0443002954, 0.0333316661, 0.0534383841, -0.1083222479, -0.5069093108, -0.6385874152, 0.1345056146, -0.9027699232, -0.6403561831, -0.4337618649, -0.3349093497, -0.4196431041, 0.1502116174, 0.4442246854, 0.4284034967, -0.3469856381, 0.3399289846, 1.2742962837, -0.2889695168, 0.2476420999, 0.6696916223, -0.4287978411, 0.1420576423, 0.8208703399, 0.4234647751, 0.6425801516, 0.4594483674, 0.0510481745, -0.3590374589, -0.8695412278, 0.0962603316, 0.5715821385, -0.8341539502, 0.0821336731, -0.7038246393, -0.2368836999, -0.3275561333, 0.1536163241, -0.4168165922, -0.2739279568, -0.0839698017, -0.4358661771, 0.1644286811, 0.9639369249, -0.2568935156, 0.5709953308, -0.8028648496, 0.194328025, 0.592492044, 0.1420276463, 0.1851356775, -0.7533919215, -0.6900535226, 0.0260335281, -0.1272427142, -0.4936979413, 0.1098136753, 0.0858664215, 0.6552397609, 0.7066286206, -0.2569130659, 0.5896622539, -0.590698719, 0.5395044684, 0.2018580884, -0.6053605676, 0.3022705615, -0.2361357659, 0.1948328763, 0.493370086, 0.6957600713, -0.2716388702, -0.078242071, -0.5821941495, -0.4518398643, 0.836730063, -0.270758599, 0.1558439583, 0.0262408797, 0.5916196108, -0.0167746395, 0.5023536682, -0.7232732177, -0.1381134987, -0.1856080443, 0.1773110479, -0.3639973998, -0.7685140967, -0.2499693185, -0.351013869, 0.6876866817, 0.145311594, 0.2813481092, -0.127221927, -0.6809853911, 0.2175409496, 0.1119638905, 0.6469703913, 0.9339162707, -0.2638101578, 0.2572942376, 0.5827900767, -0.6082274318, 0.0402373224, -0.2082085013, 0.1107684374, -0.1275590956, 0.7236653566, 1.1690679789, 0.2814455628, -0.5564675927, 0.605592072, -0.0210025795, -0.1743213534, -0.621191442, 0.2001949996, 0.1806316376, 0.0160113517, 0.3995003402, 0.0752820224, -0.4325874448, -0.8527163267, 0.2793022692, 0.2243354768, -0.0836650133, -0.613743484, 0.4266801775, -0.1171183437, 0.2680003345, 0.8973964453, -0.1385177225, -0.7197548747, 0.365087837, 0.67169559, 0.4944429994, -0.1920080185, -0.0553746969, 0.4885086715, 0.1957379878, -0.3288172483, -0.1527810842, -0.24724783, -1.0596244335, -0.6753650308, -0.820148766, -0.1702133715, 0.1640312076, -0.6322411895, 0.2410852015, -0.7270952463, -0.0968477279, -0.379095912, 0.0700311363, -0.9543808103, 0.5480504036, 0.4356460571, 0.7840874791, -0.8008249402, 0.9254510999, 0.3355185091, -0.255222708, -1.1883840561, 0.1935557574, 0.0401590839, -1.077922225, 1.0979269743, 0.0290575158, -0.0319254324, 0.0083813649, -0.5992574692, -1.088973403, 1.0182318687, 0.5376391411, -0.684150219, -0.1891480684, 0.1863372922, 0.4032512009, -0.2676244676, 0.0990295261, 0.7874142528, 0.3934356272, 0.3954116702, -0.6609659195, -0.0320635028, 0.1648754776, -0.4608301818, 0.0870344937, -0.5483986139, 1.0427218676, -0.4898712933, -0.2208043635, -0.3319149315, 0.6629587412, 0.2709876597, 0.1582611948, 0.4156609178, 0.6907294393, 1.1856765747, 0.022745749, 1.1794615984, -0.286344856, 0.2095740139, 1.1141132116, -0.2600251436, 0.6768329144, 0.2078708708, -0.1349174231, 0.7103930116, 0.3560797274, 0.2695070505, 0.41909796, 0.0179692078, -0.4039312303, -0.6397607923, 0.1946368217, -0.3864349127, 0.4994492233, 0.4637537599, -0.2933674157, -0.0667423233, 0.0121015878, 0.3036390543, -0.3819243014, -0.3939151764, 0.7812072635, 0.3105497956, -0.6775545478, 0.6462218761, -0.3291902542, 0.2472795695, -0.8926890492, 0.2793129086, 0.019797992, 0.2289555371, -0.0488743223, -0.4669635594, 0.144620344, -0.0903599337, -0.3734897375, -0.2448078692, 0.6264073849, -0.4324948788, -0.2686789334, 0.0977625549, 0.6095966101, 0.1475182623, 0.0213445034, -0.2977946997, 0.1792043746, -0.1191338226, -0.3941840529, 0.4322485626, 0.8577153087, 0.0965975896, 0.65099895, 0.6338717937, 0.3527855575, 0.5138953924, -0.0023281325, 0.7492238879, -0.5741454363, -0.3037983775, -0.9826936126, 0.3242813945, 0.0363696367, 0.0007266313, 0.7822625637, 0.4277249575, 0.8215584159, -0.0513639338, 0.6406002641, 0.1310847998, 0.555860281, -1.0713943243, 0.8543756604, -0.4253944159, 0.2514591515, 0.1922896355, -0.7418020368, -0.0366607532, 0.5485175252, -0.7321665287, 0.1193031371, 0.9068611264, 0.5427911878, -0.0728194937, -0.0750702769, 0.330614388, 0.7854343057, 0.1954971403, 0.3151365817, 1.0406252146, 0.1105919555, 0.3245636225, 0.0101975081, -0.05734374, -0.0371428691, -0.8831080794, -0.9427798986, -0.3957304358, -0.1525256187, -0.1879363358, 0.0614559874, 0.853708446, 0.7102847695, -0.6885299087, -0.1855714619, -0.1688640863, 0.2138116062, 0.3327205181, -0.1231688336, 0.1723556221, -0.8272680044, -0.1969663799, 0.1858073622, 0.0558242537, 0.1995935887, 0.0262241885, -0.1341418475, -0.3221149445, 0.1285841614, 0.5801643133, 0.5567068458, -0.1989701688, -0.2218809724, -0.2608153522, 0.0579634123, 0.0526745692, 1.0504875183, -0.976190269, 0.1883386672, 0.3636214137, 0.6028478146, 0.7885186672, -0.0121967234, 0.6555185914, -0.8110578656, 0.3764013946, -0.0588045716, 0.4617094994, 0.2790190876, -0.1587976217, -0.0589645319, 0.5993079543, -0.6451035142, -0.8887587786, 0.1119479164, -0.4862698913, -0.1918345988, 0.8693748713, -0.3372235, -0.133308202, -0.0396863781, 0.2040576041, 0.4870341122, 0.148573637, 0.8028410673, 0.9785627723, 0.0963155776, -0.0929213092, -0.7348767519, 0.6647718549, 0.4225887656, -0.5113887787, 0.1944556534, 0.4978953004, 0.6523201466, 0.2413923591, 0.7436668277, 0.0602349415, 0.1115795299, -0.0023083512, -0.3045636415, 0.0876607522, -0.7155674696, -0.1307453215, 0.0412369743, 0.2712939978, 0.0664192215 ]
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.5677736998, -0.5149022937, 0.4572927058, 0.0364650264, -0.1686884314, 0.0705473274, -0.0853395686, -0.2715080976, -0.0932075307, 0.7341943383, -0.8192391396, -0.266752094, -0.3515782952, 0.2925597727, -0.7189853787, 0.6968785524, -0.1230938286, 0.1505329162, -0.6736388206, -0.3886681497, -0.2290189266, -0.3965077698, -0.3266511559, -0.2840402424, 0.5778862238, 0.4592802525, 0.4474782348, 0.4955406189, 0.3734574616, 0.2286118567, -0.0276138596, 0.329234153, -0.5576496124, 0.3755709529, -0.3493566811, -0.4217736721, 0.0546457879, 0.2442534864, 0.8407079577, 0.4813980162, -0.0770953447, 0.5933988094, -0.1134581268, 0.6097329259, -0.7850868702, -0.2747131884, -0.5963072777, -0.1427995414, -0.0831120238, 0.009243886, -0.3850734532, -0.6628336906, 0.1232041121, -0.4982749224, 0.1109195501, 0.1034829766, 1.0346125364, 0.5144673586, -0.4424772263, -0.2005290091, -0.4076322913, 0.7398965359, -0.7400666475, 0.7549176812, 0.2775329649, 0.5219241381, -0.0402811989, -0.9338539839, -0.7550340295, -0.2195382863, 0.0400138721, 0.0730184466, -0.0603166781, -0.3066108227, 0.3374387622, 0.5133519769, -0.725148797, -0.1400035024, -0.1524977535, -0.1454156041, 0.5043401718, 0.0792325139, 0.3040300608, -0.2077123672, -0.2606661916, -0.2636547387, -1.035680294, -0.0503653623, 0.3258094788, 0.1247997433, 0.0227446556, 0.7045266032, -0.4189843833, 0.6684382558, -0.0120520303, -0.2524350882, 0.2865426242, -0.2330859154, -0.2310452312, -0.2172540575, 0.5832905769, 0.2092905492, 0.4611475468, -0.251714468, -0.118712835, -0.3984726369, 0.1392912418, -1.0275489092, -0.1904033422, 0.2269429415, -0.2776117027, -0.1049183458, -0.0219630618, -0.6957422495, -0.5522349477, -0.1365549862, 0.2945956588, -0.1922088116, -0.1386929303, -0.2361670583, -0.1294035465, 0.3374237418, 0.1051827669, -0.535715282, 0.3466323018, 0.6660096049, 0.4905736744, -0.3026863337, -0.2179119885, -0.7975276113, -0.1519139409, -0.3397773802, 0.9463829398, -0.6596847177, -0.2743002176, 0.1744968593, 0.2261451185, 0.0054695839, -0.8065677881, 0.7334137559, -0.9242123961, 0.4101908505, -0.497007221, -0.7873750925, -0.231952697, 0.4819592535, -0.9019984007, 1.3462126255, 0.2546952367, -0.9488700032, -0.017318612, -0.2434393317, -0.0217893738, -0.0378869474, -0.3163298965, -0.2354549617, -0.0769217089, 0.2330465019, 0.0855089799, -0.788929224, 0.027461011, -0.2912781239, -0.4816672802, 0.6575154662, -0.4790515602, 0.5616372228, 0.2440247238, -0.1931621581, -0.2282968462, -0.6222638488, 0.418125689, 0.0025474427, -0.4669027328, -0.347568363, -0.1729317904, -0.1318375021, 0.2894430161, 0.3453772068, -0.5895074606, 0.0178663973, -0.3150702417, 0.1361534595, 0.5382421017, 0.3121829629, 0.1780625433, -0.4996211827, 0.7200294137, -0.1629358679, 0.0018822387, -0.1443412304, -0.2727876902, -0.984266758, -0.0501467288, 0.779437542, 0.4672768116, -0.8579105735, -0.0187984798, -0.3079043031, -0.4958254695, -0.8658108115, 0.1231834218, 0.5617008209, 0.6063529849, 0.3813042641, 0.0042898152, -0.4945564866, -1.17291224, -0.4479137659, -0.2471468449, -0.1286708415, 0.4692897499, 0.5063425303, 0.0362083167, 0.8225984573, -0.3764526248, 0.2920676768, 0.0555787683, 0.0686050504, 0.0787663162, 0.10544274, 0.0878093541, -1.04510355, -0.2913440466, -0.3062300384, -0.6270567775, -0.4374513924, 0.1179776862, -0.0748437867, 0.0017886583, 0.4904438257, -0.4011339247, 0.1521427631, 0.7814604044, -0.1453957856, 0.6452268958, 0.1073667109, 0.2982604504, -1.1003400087, 0.1895843446, -0.1968002915, -0.2037329674, -0.4081557393, 0.3153838515, 0.2632662952, 0.0877611786, -0.5461108685, 0.7685376406, -0.3749385178, -0.3340364993, -0.2385885268, 0.302744925, 0.2658586502, 0.2897987366, -0.074949652, 1.2461990118, 0.0210858323, -0.3326595724, 0.2511284351, 0.3393849432, -0.5197724104, 0.2829865813, -0.6846914887, 0.3317936361, 0.0899279416, 0.104875572, -1.0059192181, -0.1190070137, 0.1447148621, -0.4524365664, -0.0597795136, -0.1003814191, -0.6781969666, -0.1636041105, -0.1773673445, 0.5402240157, 0.4513281584, -0.576895535, 0.4702495039, 0.4482847452, -0.267144084, -0.8784793615, -0.6407506466, -0.1694664955, -0.1607546657, -0.3550157547, 0.0930662528, -0.3960271478, -0.3868011236, 0.1344152838, -0.1536797583, -0.4088607728, 0.1203240082, 0.5088866949, 0.1283271462, -0.2754862309, 0.4758301675, -0.1111936197, 0.1671574414, 0.1501047909, -0.0915405005, 0.5269190073, -0.1414136291, -0.4929155409, -0.1227512732, 0.1637050807, 0.5604768991, -0.4024444222, 0.5244366527, 0.2717543244, -0.3077103794, -0.2095949948, -0.7825987935, -0.0078556221, -0.457754463, 0.167942062, -0.4313396215, -0.9520885348, 0.3899923861, -0.1314579397, 0.1105233356, 0.3224321604, 0.6467421055, -0.0166716054, 0.6488236785, 0.3764231503, -0.1444974691, 0.1272023469, -0.0492688268, -0.0112456763, -0.8818393946, -0.2696455717, -0.6967551112, -0.0786211267, -0.6733496189, -0.6584194899, 0.0050707329, 0.059540648, -0.4340871274, 0.1546555609, -0.2721557617, 0.5839630961, 0.5940586329, 0.0039699166, 0.6108611226, -0.1401949376, -0.3150867224, -0.0576773547, -0.5940685868, -0.5899022818, 1.2286150455, 0.2900824845, 0.6120797992, 0.053337425, 0.5160855651, 0.267952323, 0.7260465622, -0.4881278872, 0.5453551412, 0.0160815157, -0.7894499302, -0.3258267641, -0.5268189311, -0.6151307225, 0.2845632136, -0.1850641519, -0.3917104304, 0.2431731075, -0.2509583533, -0.1728767157, 0.1663853079, -0.4123954177, 0.7183901072, -0.1574094743, -0.3595874012, 0.1381819844, -0.2026310265, 0.5263351798, -0.368137449, 0.1534251571, -0.3056195378, -0.1938990206, 0.8448063731, -0.2383906692, 0.3656752706, 0.0278369635, -0.165108338, 0.3994976282, 0.1308974922, 0.3387425542, 0.2373585999, -0.3348338604, -0.1082018092, 0.3673569262, -0.354659915, -0.7123998404, 0.7282085419, -0.861469388, -0.6183165908, -0.3684388101, -0.6266610622, -0.4997749031, 0.2865908444, 0.2295291126, 0.4582073092, -0.2515822351, 0.3416088223, 0.8037695289, -0.3131434023, 0.0721006915, 0.9527598619, -0.3727824688, -0.3234894574, 0.6848245263, 0.0337600559, 0.1729138047, 0.3998180032, -0.0793163404, -0.5754055977, -0.5104292631, -0.2990861237, 0.3876794875, -0.7736392021, -0.1900357902, -0.3437349498, -0.4506644309, -0.2844357491, 0.5074412227, -0.3492932022, -0.3615086377, 0.014361403, -0.0273167994, 0.2302850783, 0.6405704618, 0.1956459284, -0.1260810196, -0.6991635561, 0.4082861543, 0.6117153168, 0.2127151936, -0.1671677828, -0.8164716363, -0.0834247023, 0.227674216, -0.0377468579, -0.8800374269, 0.2289082706, 0.152288273, 0.5835103989, 0.0697373822, 0.314930588, 0.5800047517, -0.5999693871, 0.6594125032, -0.2557719648, -0.6535033584, 0.214880839, -0.1748458594, 0.3276921511, 0.9030587077, 0.633128345, -0.7555798292, -0.3997348845, -0.5267708898, -0.5090424418, 0.2386946529, 0.2216007859, -0.0091691576, -0.0014267974, 0.6020458937, 0.061978627, 0.4056538343, -0.6237228513, -0.3279602528, 0.029838223, -0.1290127337, -0.0362884924, -0.3956772983, -0.3434313536, -0.0630383864, 0.6652087569, -0.07817287, 0.0526601225, 0.255892247, -0.1956044137, -0.039591223, 0.2545674741, 0.2956262827, 0.787689209, -0.2325440347, 0.1459289044, 0.3395950496, -0.4016489685, 0.2418082505, 0.1813599169, -0.288541019, 0.100492917, 0.4601171315, 0.3426894546, 0.2698888183, -1.2556755543, 0.4679526389, -0.2976022959, -0.3273956776, -0.5422929525, 0.0671929345, 0.350466311, 0.4853464365, 0.5622301102, -0.5720715523, 0.0880124569, -0.4250228703, 0.5538244843, 0.1965222508, -0.3930472732, -0.0353966728, 0.3980307877, 0.0198433157, -0.2539947629, 0.7270935774, -0.0366562754, -0.4410721958, 0.5522100925, 0.2100425363, 0.6487516165, -0.1094214395, 0.3887301385, 0.2098522633, 0.3135898411, 0.0548302941, 0.3743826151, 0.0785928518, -0.8002056479, -0.4867623746, -0.6601905227, -0.7765548825, 0.5023971796, -0.795869112, -0.0850173607, -0.1616710722, 0.1388284862, -0.1449454874, 0.2686901391, -0.6277771592, 0.471854955, 0.1017228514, 1.3798135519, -0.682649672, 0.9489628077, 0.5844685435, -0.3604893982, -0.8930653334, 0.3538275063, -0.2250887454, -0.8211647272, 0.7189466953, 0.0471302271, 0.0399402454, -0.0348870084, -0.4583832324, -1.0017848015, 1.1321743727, 0.5179482698, -0.4651787579, 0.017606359, 0.2510518432, 0.5146171451, -0.4358992577, 0.3342243433, 0.6929594874, 0.4770880938, 0.0715484098, -0.7241663337, 0.1625638753, -0.4175873101, -0.1960366219, -0.0605956391, -0.6522753835, 1.0053395033, 0.2192493677, -0.2865791023, 0.3834401667, 0.6054901481, 0.592876792, 0.1134369969, 0.5681538582, 0.5890982747, 0.978856802, -0.1198091283, 1.0662624836, -0.3651534617, 0.2581119835, 1.4667941332, -0.3683302999, 1.255002737, 0.4677781463, -0.0683900565, 0.6319485307, 0.8317859173, 0.0173158962, 0.5840883851, 0.3445397913, -0.3149208724, -0.4135771692, -0.3339368701, -0.51902318, 0.3576796353, 0.0280451644, -0.3381786644, -0.3801099956, -0.2012130469, -0.2401342988, 0.2514834404, -0.0840911865, 0.5141504407, 0.060036961, -0.7856704593, 0.7569643259, -0.0952688828, 0.1255520135, -0.3768373132, -0.1075088605, -0.5813593268, -0.0767541751, 0.0367769301, -0.7576788664, 0.0346847177, 0.2721021175, -0.1693346947, 0.0873957276, 0.6509798765, -0.4469861388, -0.4007057846, 0.2019763291, 0.7656265497, 0.255132705, -0.222235769, -0.7797816992, 0.1843401939, -0.0423532836, -0.4127337635, 0.3482759297, 0.4576572478, 0.0346395485, 0.9872187972, 0.5524244905, -0.0287139174, 0.0103844292, 0.0779796913, 1.141258955, -0.5360332131, -0.2468493432, -0.4533578753, 0.220553413, -0.2082856447, -0.4176934958, 0.9405505657, 0.7845625281, 0.6777639389, 0.2131211609, 0.8681921363, 0.2907953858, 0.9475874901, -0.5152503252, 0.6132239699, -0.7157371044, 0.2930250168, 0.0114053823, -0.8807026744, 0.1812640727, 0.2574843168, -0.4193660319, -0.0753526613, 0.665946722, 0.8405631185, 0.1135659516, 0.0703420937, 0.329728961, 0.123688221, -0.0349732004, 0.5774905682, 1.1945774555, -0.6362380981, 0.7524539232, -0.197609812, 0.1251216829, -0.0700806156, -0.7386330962, -0.9533793926, -0.6256532073, -0.1610159129, -0.3509093821, 0.3151623309, 0.546426475, 0.624928236, -0.9501047134, -0.1019959748, 0.1700796038, 0.1939802915, 0.1604464352, -0.1904687285, 0.2913948894, -0.0412047021, -0.7046306729, 0.4881558418, -0.0953199565, -0.1354287565, -0.485861659, -0.1402539164, -0.4022828937, 0.2199936509, 0.1523093134, 0.4365011752, -0.6066352129, -0.3719916642, 0.2334809452, -0.2209338397, -0.1151839569, 0.6603726745, -0.871802628, 0.1824601293, 0.5001725554, 1.0194858313, 0.5515356064, 0.2750830352, 0.5675361156, -0.7445963621, 0.0393561833, 0.2133633494, 0.1788837463, 0.4636712968, -0.075037159, 0.6035792232, -0.0337714739, -0.5520581007, -0.9680985212, 0.1724192351, -0.5886825919, -0.4351014495, 1.1623407602, -0.4191500545, -0.2502889037, -0.0400804617, 0.1005813703, 0.1505229175, -0.1057424918, 0.6838800311, 0.908051312, 0.1952130795, -0.4561609328, -0.7994933128, 0.4829374254, 0.4084215164, -0.9245275259, 0.0877214372, 0.4326466322, 0.5378319025, 0.0568135343, 0.4351668954, -0.0851547569, 0.3592368066, -0.1655571163, 0.0065448848, -0.0570604987, -0.2454331815, -0.2706034184, 0.3197230101, 0.1877620667, -0.1449396759 ]
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.4046167135, -0.4229216576, 0.5060725212, 0.2480870038, -0.0250365417, -0.0675597265, -0.0510971397, -0.4451335371, 0.2048555315, 0.5590550303, -0.5950505733, 0.1093814149, -0.842212081, -0.0197724868, -0.7357378006, 0.8316630721, -0.2147332579, 0.0498063862, 0.1511365324, -0.1038147882, -0.2589643598, -0.5783364177, -0.284540683, -0.5906180143, 0.4948744476, -0.1923750192, 0.7979606986, 0.2824173868, 0.220229432, 0.2836472392, -0.3027342856, 0.144801721, -0.1881821752, -0.1517134756, -0.0512924753, -0.2723430097, -0.2556196749, -0.0862112865, 0.6104275584, 0.9572951198, 0.0935279429, 0.1371575743, 0.4647937119, 0.4584426284, -0.4112083912, 0.1821027696, -0.6873066425, 0.3054742813, 0.1097975895, -0.3798472285, -0.4929675758, 0.1943743974, -0.0953141302, -0.1899999231, 0.3916876316, -0.1475191414, 0.8009677529, 0.2873371243, -0.3107511997, -0.3914922774, -0.9564647079, 0.614967823, -0.4024945498, 0.6048012972, 0.1365439147, 0.1493166685, -0.2976521552, -0.8207219839, -0.3988751173, -0.2043061256, -0.5577465296, -0.2014509737, -0.36768803, 0.1319529116, 0.4529543221, 0.4127125442, -0.5859731436, -0.0304259583, -0.3921003342, -0.3666139841, 0.3637862504, 0.171380654, 0.3865436316, -0.2755687535, -0.1835917383, 0.3001592755, -0.6323904395, 0.0074503953, 0.1675387472, 0.0432622321, 0.0364530906, 0.6475327611, 0.18697837, 0.5995007753, 0.0733345002, 0.3324963748, -0.0647745878, -0.2466833293, -0.308581382, -0.1713270992, 0.6771813631, -0.1111573279, 0.3975553513, -0.3726137877, -0.4192213118, -0.3835507631, 0.4003720582, -0.7889178991, -0.4384136498, 0.0899069235, -0.7299599648, -0.0709320307, 0.0114619005, -0.4529135227, -0.3287131786, -0.2963905931, 0.6094315648, -0.1393226087, -0.0418465883, 0.1883975267, -0.0993772075, 0.3942236602, -0.0369197503, -1.3551235199, 0.7357768416, 0.4705955088, 1.0112606287, 0.0015268613, -0.3439870179, -0.3843536377, -0.029273171, -0.15107584, 0.4617359936, -0.3608002365, -0.2306873053, -0.3998318911, 0.275875926, -0.1529348493, -0.6635908484, 0.4562610388, -0.7605440021, -0.2483272254, -0.1890396178, -0.2818587124, 0.1244059205, -0.0687752813, -0.8802267909, 0.7965674996, 0.3120381236, -0.5807533264, 0.0923761055, -0.6079026461, -0.5588078499, -0.3591752648, -0.1073467359, -0.296253711, 0.5735413432, 0.3944156468, 0.5247439146, -0.0977283344, 0.0947788879, -0.2275520265, -0.570341289, 0.5802386999, -0.7764105201, 0.7960470915, 0.236591652, -0.4292213917, 0.0728219226, -0.5670135617, 0.0142170265, 0.1967477649, -0.1892523319, -0.0745004714, -0.0640107244, 0.1290832907, 0.341252923, 0.067277506, -0.4248844683, 0.2014189959, -0.493604809, 0.9602308273, 0.7317185998, -0.0256310329, 0.5776630044, 0.1590482891, 0.2269986719, -0.0865379572, 0.3445799351, -0.0470595174, -0.3785619438, -0.8240283728, -0.0574649423, 0.4007423818, 0.3575669527, -0.6280636191, 0.5815532804, -0.2587853372, -0.1325870901, -0.5489940643, 0.3639644682, 0.1606886238, 0.1989322156, 0.6838853955, -0.3102161586, -0.2901757956, -1.0850259066, -0.3741745353, 0.2029494345, -0.3879018426, 0.1180291772, 0.4474720657, -0.3343910277, 0.615206182, -0.3696721196, -0.0902494118, -0.4575053453, 0.0930612013, 0.1187628359, 0.5514814258, 0.2688938677, -0.5826182365, -0.0680013746, -0.0826669931, -0.6285769343, -0.1410554498, -0.5008009672, 0.1335670054, -0.2344017476, 0.4746247828, -0.7043741345, 0.4376470149, 0.3433250487, 0.0397085361, 0.1782569289, -0.419152379, -0.1226416677, -0.4345014691, 0.0087241512, -0.0198702551, -0.2625536323, -0.5619485974, 0.0120479008, 0.0958463103, -0.0601783097, -0.0676895455, 0.5568262935, -0.7040081024, -0.7326388359, -0.3666596413, -0.1642422229, 0.1480338871, 0.6562453508, -0.0023883271, 0.7288336158, 0.300783366, -0.3098931611, 0.2306772619, -0.0713017881, -0.3661312759, -0.0088503938, -0.8798896074, 0.0374666527, -0.0308321137, 0.0952071473, -0.7533425689, -0.0646798089, 0.3527709246, -0.2059603035, 0.5279492736, -0.3761267364, -0.5684722662, -0.4086429775, -0.1850845963, 0.5895425081, 0.6276254058, -0.6558610201, 0.739944458, 0.3974837661, 0.1033855006, -0.3530563712, -1.0649255514, 0.126398012, 0.265617311, -0.3998175263, 0.0997953787, 0.1007859856, 0.0813974366, 0.1347425729, -0.1925551891, -0.1641113758, 0.1769267321, 0.3061330318, -0.0501465462, -0.1935392916, -0.1542027593, 0.256721586, -0.4112297595, 0.3226241171, -0.5439580679, 0.6767634749, -0.3423642218, -0.6844277382, -0.4623993933, 0.1498987675, 0.5137978792, -0.2115286887, 0.4212968349, 0.6512032747, -0.5019906163, -0.369012624, -0.2191172391, -0.1897155046, -0.5391495228, 0.4712554514, -0.6012122631, -0.7814198136, 0.4896833897, -0.1919733435, -0.2919528186, 0.4982338548, 0.5805937648, -0.1518576592, 1.1516407728, 0.4850484133, -0.0594168827, 0.3653160036, -0.4769906402, 0.3325051367, -1.0015501976, -0.3654825091, -0.0338980556, -0.7298246622, -0.4611223936, -0.4998081923, 0.3956744075, -0.0110703893, -0.0903643519, 0.2875725627, -0.6335784197, 0.7511911988, 0.4246322513, 0.1804733574, 0.0180303659, 0.2608505785, -0.2151308805, -0.1732299179, -0.7822521329, -0.3993351161, 0.7238289714, 0.5972735286, 0.9866107106, -0.2982777655, 0.4192970693, 0.2956903875, 0.2038820982, -0.7677186728, 0.3452526331, -0.3956111372, -0.4470764697, -0.1282583326, -0.491111666, -0.8079283834, 0.1719768494, -0.1908124983, -0.7615622878, 0.3522874713, 0.1576844752, -0.1625719368, 0.5534011126, -0.680405736, 0.9078053832, -0.564622879, -0.1958671808, -0.0393974707, -0.7366036773, 0.4553447068, 0.1354845315, 0.0696090385, 0.4295399487, 0.0491025969, 0.261528492, -0.5516394377, 0.8531215787, -0.1222602054, -0.243871212, 0.2995837033, 0.3556118608, 0.3186644018, -0.0518317409, -0.0007419025, 0.4347247481, -0.1165076867, -0.454855442, -0.9403028488, 0.7597970366, -0.7860213518, -0.223465547, -0.109329246, -0.6019856334, -0.1164793149, 0.0362506323, 0.2967578471, 0.5904331207, 0.0557652526, -0.1848080456, 0.7563253045, -0.1417950094, 0.164857462, -0.0780386925, -0.2136843055, -0.1736273766, 1.150229454, 0.2517064512, 0.2545284331, 0.4431257844, -0.0135344053, -0.1398503631, -0.6940289736, -0.7095170617, 0.145800814, -0.7024621964, 0.0843973681, -0.6910970211, -0.7256163359, 0.1676630527, -0.0263360366, -0.4184817076, -0.817784667, -0.2910261154, -0.0303650461, -0.2163985074, 0.9757321477, -0.1241813749, 0.3983055651, -0.8147243857, 0.5822302699, 0.48356089, 0.4431422651, 0.2176029235, -0.7818135023, -0.3076610863, 0.0702114776, -0.1488717943, -0.5788094997, 0.2336263061, 0.0198541004, 0.5326596498, 0.2271108776, -0.3931775689, 0.6389837265, -0.4630460739, 0.5803580284, -0.0377357304, -1.30491364, 0.4540423751, 0.2808642983, 0.1035500914, 0.2132563889, 0.2216128856, -0.2905417383, -0.2331360132, -0.5096078515, -0.6778544784, 0.5618326068, 0.5238351226, 0.4097642004, 0.2606493533, 0.8000917435, 0.0856704339, -0.0116205318, -1.0075012445, -0.2875144184, -0.3602009118, -0.3776552081, 0.1907556802, -0.5728304386, 0.0073977076, -0.1146231592, 0.3175349832, -0.0457177125, 0.5081790686, 0.1615536511, -0.3114350438, -0.1503561586, 0.3263776898, 0.5625665188, 0.4684502482, -0.1633103043, 0.650118053, 0.2003376186, -0.5348740816, 0.209995985, 0.1667998731, -0.4488230646, -0.0336793326, 0.7376568317, 0.6878973842, 0.1588973701, -0.4664652646, 0.6381444335, -0.2056083679, -0.0562774613, -0.0467673503, 0.2129654437, -0.0451233536, 0.2790261209, 0.2306152731, 0.3687762022, 0.3647946417, -0.4264316261, 0.3738316298, 0.6635026932, -0.751429081, -0.6217049956, 0.6687355638, 0.0665986985, -0.0150467819, 0.6156867743, -0.1480625272, -0.6223731637, 0.6189107299, 0.4783959687, 1.0018151999, 0.0768613964, -0.0812716708, 0.2264788449, 0.9761455059, 0.035541676, -0.0149518829, -0.0539439544, -0.6846258044, -0.586851716, -0.7389758229, -0.0401629098, 0.239095211, -0.5482766032, 0.1236188412, -0.7834967971, 0.1832315326, 0.1486953646, -0.3799823523, -0.4858783484, 0.1682428718, 0.1851253957, 0.8574777842, -0.9684742689, 0.9005507231, 0.3289373517, -0.2648874521, -0.7357230186, 0.0856896713, -0.2795600295, -1.1014070511, 0.8331853747, 0.1058263108, -0.2777559757, -0.2077639848, -0.6078186035, -0.5970308185, 0.8776679635, 0.4408720136, -0.5924662352, 0.0496426187, 0.3446975648, 0.647377491, -0.1932871044, 0.4273456335, 0.6122998595, 0.3633903563, 0.011152193, -0.8537253737, 0.2894444764, -0.23646155, -0.059610419, 0.3837437332, -0.4838353395, 0.7259019017, -0.3118286133, -0.0502700061, 0.156433329, 0.5891302824, -0.1122715995, 0.2773964405, 0.4373446405, 0.252764225, 0.528519392, 0.0805437863, 1.0520093441, -0.2654413879, 0.4467914402, 0.990739882, -0.0158148389, 0.524512589, 0.5919296741, -0.2451797873, 0.3861969113, 0.3764260411, -0.2548967302, 0.4726930857, 0.4557991624, -0.0292864963, -0.5109215975, 0.1090481952, -0.0895424932, 0.2885915339, 0.4195871651, -0.738894403, -0.1082410812, 0.0215420611, -0.3809739053, -0.1900856048, -0.4219118059, 0.5187067986, 0.315720588, -0.1018499359, 0.4785456955, 0.2173119485, 0.4185113311, -0.5742326379, -0.2703380883, -0.0749198049, 0.1143284217, -0.4204700291, -0.8569512963, 0.5858563781, -0.1052693054, -0.2131187022, -0.2435731739, 1.1391385794, -0.2405319661, -0.7031514645, 0.4375975728, 0.5582424998, 0.0886596814, -0.1437322348, -0.6236876845, 0.0658873692, -0.0660012439, -0.2995626032, 0.4020435512, 0.5638210773, -0.0399534069, 0.794588089, 0.4401730299, 0.1769125164, 0.1449986249, 0.1402626932, 1.107329607, -0.7854177952, 0.0295766722, -0.9299619794, 0.3746239245, 0.1898312718, 0.1005765125, 0.4119828939, 0.6155598164, 0.6603916883, -0.1087203845, 0.650746882, -0.0070064175, 0.0682215095, -0.8212635517, 0.5908751488, -0.5501993299, 0.6973966956, 0.0889348313, -0.8915644288, -0.3175700009, 0.703204155, -0.2069037557, 0.2321577817, 0.4608561397, 0.898943305, -0.5863132477, 0.0328631252, 0.3219262362, 0.4771103263, 0.1890740097, 0.720879972, 1.0225465298, -0.6588203907, 0.7158518434, -0.3204592466, -0.0613249727, 0.0665205196, -0.7002275586, -0.9286190271, -0.3368409872, -0.0174644869, -0.282361567, -0.1968944818, 0.7013463974, 0.5879431367, -0.9695459604, -0.1090402976, -0.2658996582, 0.4106688201, -0.1645561606, -0.1998830438, 0.3376516998, -0.2219877541, -0.417201817, 0.2313340753, 0.4549188018, 0.1640283465, -0.5978944898, -0.1733740121, 0.2138623148, -0.0271551646, 0.6228892803, 0.216559127, -0.7437463403, -0.3092031181, 0.0695935115, -0.1159002855, -0.1255129576, 1.1927382946, -0.6875783801, 0.2304601818, 0.3181904852, 0.6826524138, 0.7916802764, -0.1930685639, 0.4174087942, -0.8124600649, 0.0174000096, 0.0630147383, 0.5484330654, 0.2798173726, -0.353585273, 0.5068386197, 0.2933235765, -0.5185008049, -0.6072458625, 0.2794745862, -1.097102046, -0.4289759099, 0.9868630767, -0.0538795255, -0.2623083591, -0.150916934, -0.0799694434, -0.0809936672, 0.1221150681, 0.5779574513, 0.5246569514, -0.5256538391, -0.3817144632, -0.6378338337, 0.3532044888, 0.3262828588, -0.5600986481, 0.2392240614, 0.2967429161, 0.3272987902, 0.2571676373, 0.5085803866, -0.0455828011, 0.1364389807, 0.0458168685, -0.1074727327, -0.144482553, -0.3885932565, -0.626506567, 0.1562986523, 0.2050181627, 0.0814165697 ]
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.0684423447, -0.6568191648, 0.2552633882, 0.1931365281, -0.125244841, -0.0882829055, 0.1946834922, -0.4449265599, -0.3906112313, 0.5951806307, -0.3734949529, -0.5432673693, -0.4842749834, -0.2143238783, -0.6918241978, 1.0463927984, -0.0558574274, 0.0223806519, -0.3043298721, -0.2501309216, -0.180307135, -0.7197337151, -0.8142921925, 0.0076017925, 0.5405010581, 0.365824312, 1.0588454008, 1.0422317982, 0.5561579466, 0.3585943282, 0.1264800727, 0.0251548514, -0.4796150923, -0.0184504874, -0.1793667823, -0.3273949027, -1.0640205145, -0.0479187407, 0.4571811259, 0.7452543378, -0.3388423622, -0.1865443289, -0.1033407822, 0.7195715308, -0.7746992111, 0.0079766195, -0.5025705695, -0.1174258292, 0.1124356464, -0.2010289431, -0.5742502809, -0.824760437, -0.2109573483, -0.5443255305, -0.1427188218, 0.1902972162, 0.6463592649, 0.4386330843, -0.7877591252, -0.0503133908, -0.2958411872, 0.7928599715, -0.8226940036, 0.4891724885, 0.2881376743, 0.0671532378, -0.4758706093, 0.0212307088, -0.6154797077, 0.116951324, 0.1246985346, -0.1931729913, 0.0693174824, 0.5142042637, 0.2103236169, 0.0812990814, -0.6423573494, 0.3411231041, -0.2084852308, -0.1568994671, 0.9727593064, 0.4414010048, 0.7534099221, -0.0256346781, -0.30214715, -0.2407537103, -1.2341958284, 0.0135791209, 0.5797362924, 0.2797937989, -0.2177725583, 0.759773314, -0.2582963407, 0.6371130943, 0.0057411809, -0.3299813271, 0.1928425878, -0.3052255809, -0.2909145355, 0.4310445786, 0.9153313041, 0.6610550284, 0.5303815007, -0.2062914222, -0.1672658026, 0.2150688767, 0.3447344303, -0.9616299868, 0.0097351596, 0.0964445323, 0.0721237138, -1.041741848, -0.1761751473, -0.389867872, -0.313875556, -0.2992158532, 0.3819045126, -0.5535436273, -0.2532448173, 0.5631551743, 0.4244473279, 0.1300133169, 0.0679561943, -1.2208842039, 0.142767936, 0.9954233766, 0.2758687437, -0.1613993049, -0.1533056498, -0.7318021059, 0.4708597362, -0.7235991955, 0.369710207, -0.2202982605, -0.4520440102, 0.0370159931, 0.1601707786, -0.1002975181, -0.0839536935, 0.5730464458, -0.7050674558, 0.1839370579, 0.0966958702, -0.649454236, -0.2422020435, 0.1964758784, -0.5242450833, 0.8439719677, -0.1325007081, -0.6832286716, 0.3080175221, -0.6208581328, -0.7186249495, -0.2735450864, -0.0505843461, -0.4482253194, 0.0077382056, 0.1147902161, 0.2300324738, 0.1358121932, 0.4439508617, -0.3703452349, -0.1176316068, 0.3214179873, -0.6829414964, 0.9341663718, -0.0113195125, -0.1683478057, 0.4764940739, -0.7780325413, 0.1123814136, -0.0464406572, -0.6139661074, -0.4890252948, 0.0984804705, -0.2366636097, 0.3992592692, 0.1076449826, -0.5003925562, -0.1205834821, -0.6491271257, 0.1468251944, 0.742459178, 0.2319839597, 0.6962034106, -0.3410594165, 0.4377700686, 0.072732456, 0.2583561242, 0.0342978798, -0.2906869948, -0.8699258566, 0.0830348134, 0.3817909956, 0.8425965905, -0.5078120828, 0.633444488, -0.4984933138, -0.2789782584, -0.3330155909, 0.2252937257, 0.7096644044, 0.6439428926, 0.0838019997, -0.1081732884, -0.2789431214, -0.6348864436, -0.1162858754, -0.4439505339, -0.1191144735, -0.1620905697, 0.0171647314, -0.1684635282, 0.6764327884, -0.257473886, 0.3591684401, -0.0271471031, 0.1518743783, -0.2685324252, 0.7835244536, 0.6180137992, -0.7618312836, -0.249205932, -0.1131412312, -0.8290640116, -0.1492004842, 0.0592589267, -0.4463088214, 0.5319278836, 0.3817478418, -0.6751624346, 0.3072988987, 0.5927350521, -0.3028205037, 0.2218034118, 0.0184427425, 0.2820564508, -1.1226732731, -0.1237119064, -0.1092487946, -0.4122137725, -0.8111306429, 0.3142487407, 0.4723642766, -0.1452840418, -0.8813254237, 0.3560624421, -0.0939424187, 0.306545347, -0.205713287, 0.0610965453, 0.0147914756, 0.1767655313, -0.005207316, 0.9321779609, 0.1938728839, -0.5175639391, -0.0484552234, 0.2760798633, -0.2958427966, 0.5260098577, -0.529435873, 0.2576903999, -0.0854107514, -0.2630726695, -0.7747222185, -0.4500811994, 0.123947531, -0.3018957973, 0.4216423333, -0.1886203885, -0.4760137498, 0.2324656397, -0.2914940715, 0.6349406242, 0.5398333073, -0.1783854961, 0.3268823624, 0.6654338837, -0.4353018403, -0.732617259, -0.3626469374, -0.1333417594, -0.4819605052, -0.9759028554, 0.0017999584, -0.2272402197, -0.3816686571, -0.1423235089, -0.2398861498, -0.1435500979, 0.4827016294, 0.4541256726, 0.5095182061, -0.14901793, 0.1006929055, 0.4012686908, -0.4224155247, 0.1666933149, 0.1182159483, 0.1986237466, -0.0230970439, -0.4736298621, -0.2321050018, 0.3992224932, 0.6015958786, -0.0432994813, 0.562780261, -0.0324551314, -0.5801060796, 0.193751201, -0.3394413292, -0.1480946541, -0.579985261, 0.3234620392, 0.0879120156, -0.8989723921, -0.0681862161, 0.2692869902, 0.5292731524, 0.230808422, 0.4077935517, -0.1236587018, 1.4329811335, 0.6786949635, -0.0011587233, 0.2888745666, 0.3665398657, 0.3690975606, -0.2224705666, -0.0801706612, -0.3686106801, -0.1077263206, -0.4173277617, -0.3876109719, 0.3498339057, 0.2455206364, -0.5700719953, 0.3572291732, -0.1745816469, 0.7683814168, 0.2175532132, -0.0321001224, 0.359383136, 0.0085385293, -0.0716395453, -0.1589360088, -0.4363926351, -0.631939888, 0.9489955902, 0.2825151086, 1.0435144901, 0.4119361639, 0.6898078322, -0.0567593426, 0.5320525765, -0.6889701486, 0.741623342, -0.1160353348, -0.9620251656, -0.4775687456, -0.4611397088, -0.6010244489, 0.0334713608, -0.4104070067, -0.504542172, -0.075288713, 0.2266807705, -0.5944327712, 0.1926026046, -0.7370659709, 0.7909581065, -0.7787218094, -0.3948926926, -0.2635141611, -0.6592057943, 0.5807366371, -0.2190741897, 0.4063521028, -0.4844955206, -0.1588137448, 0.5081599951, -0.4011280239, 0.90929842, 0.1315526217, -0.2826620638, 0.0508023538, 0.5813891292, 0.5591934323, -0.1151598319, -0.2790106237, 0.1619030684, -0.0117470231, -0.2763986588, -0.4507858455, 0.7374805808, -0.4952061474, -0.7921812534, -0.3697271943, -0.9972667694, -0.3247552216, 0.4319112897, -0.1360065639, 0.2090338171, -0.0726490766, 0.2424277067, 0.8839300871, -0.1523438841, 0.607901454, 0.6625372171, -0.0554753803, -0.4675790071, 0.7773448229, -0.1482481211, 0.6375027895, 0.4282850921, -0.1178262755, -0.5018225312, -0.681220293, -0.621352613, -0.0473559499, -0.8221020699, -0.2793914974, -0.6279272437, -0.3552341163, -0.3430517316, -0.396489501, -0.237320289, -0.9121311903, -0.1267874986, -0.723654449, 0.3898658454, 0.4792020917, -0.1895005852, 0.2676004767, -1.0589581728, 0.052783411, 0.2450432479, 0.2966810167, -0.3146122396, -0.126482293, -0.0913837105, 0.0960057974, -0.3856692612, -0.6285269856, 0.2997303903, 0.0109745683, 0.3642088473, 0.5957311988, 0.3211072385, 0.5388527513, -0.7091276646, 0.5186959505, 0.4819258749, -0.852778852, 0.1568994224, -0.5893249512, -0.1633184105, 0.7533541322, 0.4083017409, -0.4339036345, -0.2523263395, -0.3359196186, -0.8791037798, 0.3219947517, 0.0637492388, 0.3382095993, -0.2351631671, 0.2347916812, 0.0225456152, 0.2297363281, -0.6272774339, 0.0769146606, 0.0663437545, -0.6473859549, 0.158931151, -0.4275350571, -0.4200515747, -0.095288083, 0.7380682826, -0.1033218578, -0.1719705313, -0.3400008082, -0.2377897352, -0.4627710879, 0.495041728, 0.6798005104, 0.5306433439, -0.0551154725, 0.2085340768, 0.3804991543, -0.2562409639, 0.578101635, -0.0919351056, -0.3080698252, -0.5116197467, 0.2269875854, 0.4817590714, 0.7606711984, -0.5786299109, 0.4810069799, 0.0338417441, -0.1406539232, -0.0623938963, 0.8114842176, 0.2216286808, -0.2344993204, -0.0832434744, -0.0357474573, -0.031741824, -0.1646429449, 0.3944483399, 0.352309078, -0.4887975454, -0.2543790936, 1.0052508116, 0.5278974771, -0.5179534554, 0.4270604551, 0.0050795618, -0.2766894698, 0.4852276146, 0.4175518453, 0.8987085223, -0.452984035, -0.0590303428, 0.2626508474, 0.5082562566, -0.0240932386, 0.456487745, 0.4528050721, -0.7455714345, -0.4558236003, -0.5981596112, -0.4083086252, -0.0486911349, -0.4322387874, 0.1991990805, -0.4726424813, 0.0858610794, -0.1403564066, -0.4178818762, -0.1440902054, 0.3363629282, -0.0051619532, 1.0088165998, -0.8388177156, 0.8273069859, 0.5019987822, -0.2720859349, -0.9312705398, -0.1283551902, 0.3408649862, -0.6323072314, 0.2261426002, 0.2682808638, -0.2417455316, 0.0721012875, -0.4157442749, -0.6956573129, 0.8920935392, 0.7199786901, -0.7299638987, -0.2237181664, 0.7185427547, 0.3346836865, -0.2621034086, -0.2565701902, 0.4866782129, 0.2345425785, -0.0146882711, -0.6612145305, 0.2764616609, -0.2009835541, -0.1643805802, 0.5006861687, -0.299800843, 0.4826435447, -0.4450716376, -0.2669551373, 0.2185052484, 0.3814282119, 0.4709130526, 0.2123263776, 0.6279949546, 0.8417560458, 0.6375815272, -0.1800927222, 1.0136752129, -0.5703393221, -0.027064465, 0.8811977506, -0.1916480064, 0.7863335013, 0.3889662921, 0.0474930666, 0.2749581635, 0.5939644575, 0.6612051129, 0.6007328033, -0.1490801126, -0.5301182866, -0.6333926916, 0.1001476571, -0.3263102472, 0.0871462449, 0.3040744066, -0.2021666318, -0.1125334799, -0.5068512559, 0.3903144896, -0.140020147, -0.0160508081, 0.8114927411, 0.1862612069, -0.5817745328, 0.4053233862, -0.0076350668, 0.2541348338, -0.4187332094, 0.0318457149, -0.2409007996, 0.2345722765, -0.2061035335, -0.9495418668, 0.3965768218, -0.0151873492, -0.0892369747, -0.069062829, 0.5058328509, -0.5183568597, -0.6696428657, 0.0263569709, 0.1359283626, -0.1321032941, 0.3000305295, -0.6039528251, -0.1497527063, -0.1979983896, -0.0663390756, 0.5621801615, 0.4438367784, -0.4550692141, 0.6232089996, 0.8775106668, -0.3377564549, 0.1994637549, -0.1369694769, 0.5919384956, -0.6930713654, -0.5880233049, -0.8655146956, 0.8733812571, -0.0068003889, 0.0466537885, 0.5930225849, 0.4896200001, 0.6626223326, 0.04627854, 0.7011674643, 0.1429664195, 0.0573274232, -0.5834050179, 1.1161789894, -0.4405432642, 0.2412261516, -0.1793095022, -0.6327639222, -0.6561381817, 0.3907728791, -0.3755760193, -0.2458766848, 0.4162568152, 1.0067826509, -0.150167346, 0.1026457995, 0.3830291927, -0.0942926705, 0.4887658954, 0.6072943807, 0.6881014705, -0.4670106769, 0.6274057031, -0.3271877468, -0.2241536677, -0.065833196, -1.402884841, -0.8453469276, -0.0412664972, -0.4381328225, -0.3405784667, 0.2444778085, 0.8984494805, 0.8233632445, -1.0673797131, -0.114633292, -0.2031013668, 0.2377124429, 0.0262226369, -0.1447675526, 0.1670245081, -0.1272554696, -0.6453624368, 0.6231814623, 0.4672332704, 0.3669114411, 0.0170807559, -0.379034549, 0.0359415896, 0.3925082982, 0.4061208367, 0.3587502241, -0.3801036477, -0.5720827579, -0.0079550408, -0.4027923942, -0.0026961172, 0.425968796, -0.0711641014, 0.3022495508, 0.5901922584, 0.8507524729, -0.2149597853, 0.3104740381, 0.8398890495, -0.8313170671, 0.3100600839, 0.0068383641, 0.4827471972, 0.5233649611, -0.6019822955, 0.6648014784, -0.0675358325, -0.561640501, -0.9209740758, 0.353304714, -0.8246611953, 0.2271416634, 1.1799999475, -0.1626341045, -0.2082133591, -0.1374695748, 0.0349145606, 0.1876404285, -0.2715163827, 0.985691011, 0.5333635211, 0.0248936638, -0.1305937171, -0.4622532725, 0.5407027602, 0.4703382254, -1.0332540274, 0.108721137, 0.6724023223, 0.6630460024, 0.0175434723, 0.2109008729, -0.5063350201, 0.5268388987, -0.3269658089, 0.0579757281, -0.1899391562, -0.3021731973, -0.2964028716, 0.098593004, 0.172840029, -0.170199275 ]
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.3840751052, -0.7096797228, 0.3048983514, -0.1333581805, -0.1820856184, 0.3032336831, -0.3192958534, -0.1119647473, -0.36577034, 0.5960382819, -0.5701571107, -0.7432522178, -0.573243618, 0.0755413026, -0.6639484167, 0.8260958791, -0.0477698371, 0.1636057645, -0.1820099503, -0.0967242792, -0.523863554, -0.7420572042, -0.7760211825, -0.3575238883, 0.6810721755, 0.4777920842, 0.7736290097, 0.8061109185, 0.4737691879, 0.1231749207, -0.0855038315, 0.212383762, -0.7875035405, 0.0353665538, 0.0419317894, -0.4855227768, -0.4651907384, 0.4473405182, 0.6486461759, 1.2102917433, -0.3112699986, 0.1233582944, -0.0486398824, 0.741083324, -0.594369173, 0.2292714566, -0.8580068946, -0.0691851005, -0.2513152957, -0.1267428547, -0.6542265415, -0.2646165192, -0.359387666, -0.5064529777, 0.3920584023, 0.3280975223, 0.6253554821, 0.3342858553, -0.2722680271, -0.1178135872, -0.4993624091, 0.8836343884, -0.8603169322, 0.6799531579, 0.6945720911, 0.33313936, -0.37481457, -0.788957715, -0.6018612981, -0.2494147718, -0.071125403, -0.0697187632, -0.2264136523, 0.0448977128, 0.5063605905, 0.4692291617, -0.7427278161, 0.3753315508, -0.2952548265, -0.0291483775, 0.5861625075, 0.3835964501, -0.00396364, 0.2562030256, 0.0210715085, -0.2093577385, -1.0314842463, -0.1305688024, 0.4307506084, 0.6724638939, -0.1378462315, 0.4741143584, -0.4264183939, 1.148252368, -0.2613898218, 0.0554215573, 0.1557517648, -0.5286155939, -0.3755273223, -0.3003642261, 0.5783976316, 0.2947372198, 0.3673945963, -0.2046384513, -0.3426071405, 0.1135984063, 0.1988081783, -0.7861788273, -0.4753686786, 0.2816167772, -0.4334495068, -0.5273347497, -0.1249481291, -0.6044285297, -0.4920426607, -0.7701743841, -0.0683421791, -0.0528179668, -0.3314477503, 0.3896007836, 0.0676581115, 0.0129490821, 0.2858296037, -0.875046432, 0.6843264699, 0.7203720808, 0.6291809082, -0.4518978298, -0.2576570511, -0.7945303321, -0.3061269224, -0.6057668924, 0.626306355, -0.6807028055, -0.279466182, 0.1993254274, -0.0476731956, -0.1610588133, -0.7970823646, 0.5565052629, -0.5636662245, 0.3019428253, -0.2092663646, -0.8514630198, -0.0158377606, 0.194656238, -0.8407629132, 1.2099479437, 0.2976675928, -0.7627570033, 0.4938367307, -0.5069285035, -0.1875248253, 0.0614805818, -0.171471253, -0.2793579102, 0.0866707638, 0.2386775613, 0.3517275751, -0.4290198386, 0.4577134252, -0.5751796365, -0.5261402726, 0.227261737, -0.5391052365, 0.9461148977, 0.3261520267, 0.0742519572, 0.0474265665, -0.9574671388, 0.0713344738, 0.0718966946, -0.4216175973, -0.1949645728, -0.0391198657, 0.1404413134, 0.2631495595, 0.0155602498, -0.4937064648, 0.1290018409, -0.2520697713, 0.2933959067, 0.644377768, -0.3258621693, 0.2736690342, -0.3421721458, 0.5147996545, 0.0590376966, 0.2378908098, -0.090668194, -0.234028846, -0.8772041202, -0.3070291877, 0.3968991339, 0.2115007937, -0.5801888108, 0.5648955703, -0.2134245038, -0.5769522786, -0.7897814512, 0.2482502013, 0.1650824249, 0.6110655069, 0.3936777711, -0.2324719578, -0.76924932, -0.6825191975, 0.0406637713, -0.1645416766, 0.144838959, 0.0696701854, 0.3339892924, -0.1118472517, 1.0995869637, -0.4689165354, -0.0165487379, -0.502517581, -0.0412330367, 0.6150658131, 0.2192552686, 0.4222787917, -0.5707994103, -0.4558194876, -0.191351667, -0.5288740396, -0.3879712522, 0.1803750098, -0.0009350293, 0.2771918476, 0.6008908153, -0.427462548, 0.4274039567, 0.8146815896, -0.1892605871, 0.4902590513, -0.1432947069, 0.011021954, -0.9279366136, 0.3076996803, -0.2798973918, -0.351842612, -0.86877352, -0.0385808349, 0.1715200394, -0.1173514724, -0.5526764393, 0.755998373, -0.3113570511, -0.0269859657, -0.5451356173, 0.2060277015, 0.0956187025, 0.4524525106, 0.1305091232, 0.7543674111, 0.70403862, -0.6095053554, 0.4311788678, 0.2107194066, -0.4958834946, 0.281268388, -0.5923908949, 0.2849485278, 0.0365351625, 0.3263342381, -0.9360150099, 0.1976350695, -0.0160427894, -0.1720859408, 0.2880368531, -0.0952917114, -0.7114316225, -0.5147022009, -0.1368561685, 0.0947537124, 0.4511331618, -0.6808329821, -0.0808936059, 0.4480210543, -0.0348047577, -0.6588968039, -0.4603377283, 0.1405678838, -0.1246337295, -0.2081717253, 0.0204916541, -0.3430635035, -0.4202514589, -0.2175342441, 0.0304901656, -0.1897782087, 0.291549623, 0.1344582587, 0.3266712725, -0.0263097044, 0.168715775, -0.3592259586, -0.1559581012, -0.0244197957, -0.0374700278, 0.9295959473, 0.2198971361, -0.3715600967, -0.1461691409, 0.2107172012, 0.2683372796, -0.1950659007, 0.7064889073, 0.3719571233, -0.3454622328, -0.2748321295, -0.3350814283, -0.2407765239, -0.4184743762, 0.3230346441, -0.4078605175, -0.875613451, 0.4383500218, 0.178113699, 0.2911101282, 0.2377647012, 0.6868518591, 0.0040591867, 0.9926599264, 0.6552980542, -0.4625980258, 0.4588997364, -0.2989285588, 0.1066225395, -0.6406581402, -0.000049506, -0.6659939885, -0.1598137766, -0.481933862, -0.4551026225, -0.2292226702, 0.040983256, -0.2294439226, 0.472365737, -0.12790142, 0.3254358768, 0.6083132029, 0.0203277785, 0.4977863431, -0.0519004464, -0.0921339989, 0.0185619816, -0.8334922791, -0.4097138047, 1.4332652092, 0.3498522639, 1.0801984072, -0.3535435498, 0.4999631643, 0.3127216399, 0.3203712702, -0.6698105931, 0.5209953785, -0.3164249957, -0.5738346577, -0.2103130668, -0.5144443512, -1.0005565882, 0.0973143652, 0.028889494, -0.2797790468, 0.091032654, 0.0965508446, -0.0525405779, 0.2878119648, -0.4114242196, 0.822830081, 0.0420214683, -0.1238908917, -0.2679639757, -0.4662920237, 0.196068123, -0.2755791843, 0.2532006204, -0.3761763275, 0.1076519489, 0.5331939459, -0.388288945, 0.7553961873, -0.175795868, -0.2049170136, 0.0891377926, 0.0003829864, 0.4145477414, -0.1093715802, -0.3641072214, 0.1844816208, -0.2355998904, -0.3184460104, -0.5513105989, 0.5193174481, -0.6574477553, -0.3570582271, -0.2711590827, -0.9053869247, -0.1544603556, 0.0820615888, -0.0562999882, 0.6694793105, -0.2612451017, 0.4277694523, 0.4890564382, -0.1737398207, 0.3389900327, 0.7797885537, -0.3775442839, -0.2582382858, 0.5973958969, -0.0293278284, 0.5299406648, 0.4789561331, 0.051652275, -0.3470700085, -0.8505435586, -0.1164138019, 0.0879526511, -0.6943475604, -0.2838020027, -0.5835714936, -0.4105223119, -0.4757665694, 0.2777336538, -0.423805356, -0.4176514447, -0.1675748527, -0.1520062089, 0.3802454174, 0.5907195807, -0.0140638081, 0.3395150304, -0.4093829393, 0.3247639239, 0.051690761, 0.3416727185, -0.3268371522, -0.8442953229, -0.482390821, 0.2360854, 0.0048447326, -0.3501352668, 0.4508032501, 0.1954024136, 0.759765923, 0.021612186, 0.0353691541, 0.6055377126, -0.5845028162, 0.5967792273, -0.0744091272, -0.5967187881, 0.5652112365, -0.2246603966, 0.4119433463, 0.7425513268, 0.3479291499, -0.811214447, -0.591843605, -0.6236615777, -0.4104441702, 0.7370682955, 0.1802994907, 0.0454335585, -0.015734354, 0.2578731179, 0.3391004205, 0.4193816781, -0.5240131617, -0.3710355461, 0.0870745331, -0.3617883921, -0.3677683175, -0.0864322856, -0.1192914471, -0.4219270051, 0.6318495274, -0.1601356417, -0.0774678141, -0.353725642, -0.1651189178, -0.0969519317, -0.0073786913, 0.3616459072, 0.9118115902, -0.4391742647, 0.2747344375, 0.0423877127, -0.6068032384, -0.0017372029, 0.2654792964, -0.0706295744, 0.0861104801, 0.4123552442, 0.9833871126, -0.0456982553, -0.680185914, 0.3647406399, -0.2056952417, -0.2052446008, -0.0240210909, 0.214962244, -0.0669748038, -0.2006551772, 0.0631655604, -0.2194721699, 0.0814356357, -0.4721108377, 0.4848194718, 0.294254601, -0.4234697521, -0.2339785397, 0.5195271969, -0.0016430428, -0.0258313771, 0.9228357077, 0.0404948667, -0.2255699784, 0.5192829967, 0.4924014807, 0.607413888, -0.1215664074, 0.2238644511, 0.4527532458, 0.2709899545, -0.1426195055, 0.4367935359, 0.1863675863, -0.870872736, -0.4163123667, -0.7236428261, -0.7100060582, 0.4945123494, -0.58734864, 0.7252116799, -0.2477397919, 0.1488966048, -0.1596953869, 0.3289178908, -0.9293583035, 0.3894442916, 0.0766775459, 1.2197072506, -0.9888148904, 1.3095569611, 0.3738994002, -0.3078507185, -0.5894758701, -0.4408958852, -0.0518345945, -1.0102143288, 0.6546658278, 0.1921966076, 0.3611053824, 0.1732998937, -0.6540218592, -0.7171080112, 0.9224953651, 0.3991520703, -0.7554308176, 0.178909272, 0.4873420298, 0.5617507696, -0.5748569965, 0.2281123102, 0.9536380768, 0.3443567455, 0.0355506614, -0.7303994894, -0.1044266, -0.2564620674, -0.1099255234, 0.1053312123, -0.220810622, 0.9525936246, -0.0164439473, -0.0215538293, 0.0226024538, 0.4057195485, 0.4863512516, 0.0638096556, 0.6322540641, 0.7455273867, 0.7607621551, -0.1160972267, 1.0470839739, -0.2163285017, 0.342933774, 1.5649346113, -0.3685288131, 0.908924818, 0.4558297098, -0.356007576, 0.2226262391, 0.9114682078, -0.0485379584, 0.6343058348, 0.5682524443, -0.0899964124, -0.1473426223, -0.2836100459, -0.2003529966, 0.3378433585, 0.1773821712, -0.338478893, -0.3141275048, 0.0457760245, 0.0450476632, 0.169923678, -0.0362992585, 0.6363273859, 0.1239074469, -0.4876469374, 0.7087602019, -0.3687421083, 0.3770914674, -0.5445635915, -0.0082896277, -0.6800686121, 0.2203387171, 0.0084025059, -0.8185963035, 0.2158432305, 0.100231044, -0.1345522553, -0.3549611568, 0.6068076491, -0.7821436524, -0.4381768405, 0.338572681, 0.5942409039, 0.3716470897, -0.1735795885, -0.7319261432, 0.395648092, -0.2197949737, -0.2833975255, 0.1523863673, 0.3409448266, 0.1486909688, 0.6384795904, 0.7392802835, 0.417652458, 0.1099279225, 0.7962981462, 1.0003076792, -0.4927513897, -0.0618714169, -0.7515410781, 0.4825051725, -0.1843587905, -0.1897748858, 0.5392614603, 0.8015158772, 1.0224692822, 0.0374500118, 0.7985326052, -0.0505677909, 0.765933454, -0.5060294271, 0.6081201434, -0.4858465791, 0.1613119096, 0.0978798494, -1.0967806578, -0.3817411959, 0.2518300414, -0.0915456861, 0.0037683561, 0.7627120018, 0.9751014113, -0.0889196545, -0.0806565434, 0.5735992193, 0.1120515168, 0.6030786633, 0.5336517692, 0.7247290015, -0.5534023643, 0.4307224154, -0.3729999661, -0.1655902416, -0.0477167964, -0.8837866783, -1.1775012016, -0.5554233193, -0.3385771215, 0.0004443375, -0.0022486181, 0.7534132004, 0.7463772893, -0.9560306668, -0.5432212949, -0.3209407628, -0.0449891202, -0.2436870933, -0.1571108699, 0.2124160379, -0.7206534743, -0.871337235, 0.5960485935, 0.0105633, -0.0555983372, -0.3815015554, -0.134602204, -0.3201754093, -0.1627793759, 0.4801766574, -0.0161165725, -0.4665569365, -0.2554715574, 0.07535512, -0.3597359657, 0.0642731115, 0.7725892067, -0.7199572921, 0.5385606289, 0.4547183216, 0.629537344, 0.3906518817, -0.3049015105, 0.9180199504, -0.8190123439, 0.297868669, 0.0526751727, 0.4258956313, 0.5395596027, 0.0674163252, 0.9132380486, 0.2001277208, -0.48823753, -1.0481086969, 0.1303204149, -0.8755517006, -0.0892990083, 1.2401374578, -0.0108614052, 0.0459581278, -0.1854431778, -0.2379599512, 0.4306617379, -0.1482674479, 0.601762116, 0.9058263302, 0.2106766403, -0.2577626109, -0.9019536972, 0.6900376678, 0.0879467726, -1.0875056982, 0.654576838, 0.4008893967, 0.0224289764, -0.3142390847, 0.6764836907, -0.1749097407, 0.0773972198, 0.0091152946, 0.0954294205, -0.1452798843, -0.4310620725, -0.3751296401, -0.1754336953, 0.1924236715, -0.1470715851 ]
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.5120928884, -0.7962343097, 0.6318552494, 0.1636485159, -0.2309836596, -0.0061006914, -0.3001076877, -0.4507491887, 0.0958796069, 0.3123490214, -0.7391909361, -0.4369622767, -0.233989656, 0.0937945172, -0.5065306425, 0.8967173696, 0.1575887501, 0.0743597373, -0.4953229725, -0.0318117663, -0.4056429267, -0.4109119177, -0.8535635471, -0.7748334408, 0.8760359287, 0.5311844945, 0.6323055625, 0.7253018618, 0.238289386, 0.4101360738, -0.3739489019, -0.0279346425, -0.2664161921, -0.0012408877, -0.1684368253, -0.6800635457, -0.0220718645, -0.2648614645, 0.3444415927, 0.9235981703, 0.133794114, -0.0369252674, 0.0719806477, 0.9049071074, -0.5794447064, -0.00288533, -0.6911178231, 0.3205870986, -0.0108059142, -0.2166752815, -0.4446330369, -0.1262494922, 0.162420541, -0.3445064425, 0.4539051354, -0.1193423495, 0.7728919387, 0.1283327937, -0.3052796721, -0.3549349606, -0.8434608579, 0.7456299663, -0.6483323574, -0.0175498128, 0.1559941471, 0.5724003911, 0.0155024566, -0.7488567829, -0.7303952575, -0.3838281631, -0.2974341214, 0.426591903, -0.2459783703, 0.1605262011, 0.1550717354, 0.4886955917, -0.5061975121, 0.4275028706, -0.3914572001, -0.3054090738, 0.5558283925, 0.3113475442, 0.0362704583, -0.0197790563, -0.3771718442, 0.115418002, -0.6809923053, -0.0790091753, 0.3613208234, 0.0862520635, -0.3789483607, 0.5626001358, -0.1924484521, 0.6668866873, -0.0381135121, 0.3370814919, -0.1405238509, -0.2573715448, -0.3108549118, 0.2008382529, 0.7192401886, 0.3527151942, 0.1858998686, -0.2538433075, -0.0720989332, 0.1520099044, 0.2064510882, -1.0450998545, -0.1778700352, 0.3969117403, -0.5865502954, -0.3928149939, -0.4082694948, -1.157820344, -0.5647834539, -0.3884361386, 0.1783928424, -0.0649006516, -0.052398622, -0.161549598, 0.078870289, 0.1379243433, 0.3825995326, -0.990439415, 0.3817962408, 0.3949083686, 0.8615207672, -0.069831267, -0.0272671822, -0.4613929987, -0.1137509122, -0.5058805346, 0.8081972003, -0.5782936811, -0.3761095107, 0.184559837, -0.2387603968, 0.1413244307, -0.6577315927, 0.4339945018, -0.5088874102, 0.3827900887, -0.2806547582, -0.4540948868, -0.2204110324, -0.0435019806, -0.4504510164, 0.5546838641, -0.2160948068, -0.8504399061, 0.0238044914, -0.9400987029, -0.288564682, 0.2713734806, -0.2075165808, -0.4086787403, 0.2198811918, 0.2318865806, 0.4189969003, -0.2927175462, 0.143106252, -0.3470989466, -0.31197083, 0.5780658126, -0.4684121609, 0.7073241472, 0.4611376226, -0.3812344074, 0.3753060997, -0.6039178371, -0.0751847029, 0.3185397983, -0.150972724, -0.1302007437, 0.3168171048, -0.065641433, 0.0097278226, 0.1136825085, -0.3365198374, -0.185938254, -0.4752041399, 0.6001701951, 0.7599847317, -0.3311235607, 0.433595717, -0.2224092185, 0.5149920583, 0.1659285426, -0.2784152627, -0.472605437, -0.2696422935, -0.6443061233, 0.0290375669, 0.200865835, 0.2846957147, -0.5575956106, 0.0561099052, 0.0097466018, -0.1568127573, -0.5271729231, 0.0464514829, 0.4945125878, 0.8399381042, 0.3894315064, 0.1499423385, -0.5261089802, -1.3897252083, -0.1434939057, -0.1661729664, -0.0992742702, 0.602637589, 0.5024198294, -0.180395171, 0.7807453871, -0.6373156905, 0.1988489628, -0.3702928722, 0.1523389816, 0.0990912318, 0.1693147719, 0.4394199848, -1.0599942207, -0.1095080748, 0.0639245212, -0.5475609899, -0.3189604878, -0.1531297714, 0.0506310649, 0.0774280131, 0.7600780129, -0.4203726053, 0.1738187075, 0.510189712, -0.1235704422, 0.7581819296, -0.2326877415, -0.1881322116, -1.1359659433, -0.0158730168, 0.2127871662, -0.2180181891, -0.7119163275, 0.1814105958, -0.1924554259, -0.2370852083, -0.2132300436, 0.7284836173, -0.312202394, -0.1303238422, -0.3897052407, 0.5010371804, -0.0596951358, 0.3460533917, -0.0498607494, 0.7852720618, 0.4736391604, -0.8326121569, 0.3736336529, 0.2465127259, -0.1794146895, 0.2350975871, -0.7941744328, 0.1469452679, -0.4595727921, 0.2331693172, -1.3693703413, -0.3290397525, 0.3639069796, -0.3960625529, 0.079887107, -0.2714440823, -0.1219950765, -0.532194674, -0.0569127314, 0.3769953251, 0.4242447317, -1.0413367748, 0.3487720191, -0.1014905497, -0.2498293072, -0.5016135573, -0.7780591249, 0.0681994557, -0.4149184823, -0.4678160846, 0.6720713377, -0.5231794119, -0.637904942, -0.0730292052, -0.2828399837, -0.2848300934, 0.4374655783, 0.2646021843, 0.2400661558, -0.5872821808, 0.4981957972, 0.0127400532, -0.049788788, 0.3756226897, -0.046075765, 0.5386655331, -0.0922521949, -0.0097613381, -0.2497999221, 0.3431195915, 0.3891018629, -0.2440928817, 0.6725761294, 0.5092509389, -0.2426213771, -0.360850811, -0.4603756666, -0.1971359104, -0.4876308739, 0.3939392269, -0.3526372313, -0.790594697, 0.5883097649, -0.0376249887, -0.0829438865, 0.4194239676, 0.8071078062, 0.0398768745, 1.0549479723, 0.4495593905, 0.0916204527, 0.5803087354, 0.0673705116, 0.1946128011, -0.5647383928, -0.4181708097, -0.9113342762, -0.3414655328, -0.6073242426, -0.1223454103, 0.0256708711, 0.1929621696, -0.027560411, -0.1647758931, -0.5436722636, 0.7191845775, 0.3431805968, 0.0823195577, 0.0478254519, 0.1345934868, -0.0098609114, 0.1264130175, -0.6466977596, -0.5836971402, 0.6089980602, 0.3284932673, 0.6298777461, -0.0379761532, 0.8196954131, 0.0038820212, 0.4896185398, -0.9021017551, 0.6085258722, -0.1388446838, -0.4583380222, -0.2311457843, -0.6552117467, -1.1330732107, 0.6224645972, -0.279936552, -0.8189772367, -0.1057292372, 0.3662669063, -0.2604188621, 0.1256091744, -0.8920865655, 0.8268144727, -0.1817148477, -0.5801067352, -0.3114406466, -0.5215602517, 0.5806487203, 0.0479746945, 0.1636645347, 0.030394746, 0.0028898434, 0.7334625125, -0.4364679158, 0.9017789364, -0.1024597213, 0.0369521677, 0.1310366839, 0.0422862358, 0.2402331382, 0.0839768946, -0.2206617594, -0.2550994158, -0.3331417143, -0.5388992429, -0.687525332, 0.8456034064, -0.4310852587, -0.78345263, 0.1218725964, -0.638569057, -0.0111060617, -0.009436572, 0.3649540842, 0.6450781226, -0.0932928547, 0.1292167753, 0.6186971664, -0.5796973109, 0.787458837, 0.3801896572, -0.1309865266, -0.0119605279, 0.7788487077, -0.2078053504, 0.0522073954, 0.4994814098, 0.8020572662, -0.4985125363, -0.9453445077, -0.5028248429, 0.0634227917, -0.7054378986, -0.0419932492, -0.4414469302, -0.049239967, -0.0377236567, -0.3269537091, 0.091372557, -0.260881573, -0.3374727964, -0.1760797054, 0.180150643, 0.7891849279, 0.1419267803, 0.3805254996, -0.5212813616, 0.4812658727, 0.4252029061, 0.2619412541, 0.1971493512, -0.3293981552, -0.2472900301, 0.2033525854, -0.378975749, -1.0374019146, 0.3513171971, 0.0289241765, 0.5021397471, 0.4122223258, -0.066064015, 0.7318071127, -0.4086253345, 0.7966936231, 0.3141101897, -0.9611382484, 0.4976395667, -0.0493884943, 0.2936427593, 0.1253041476, 0.3252636492, -0.3498658836, -0.30669415, -0.4900817871, -0.8658123016, 0.4907721281, 0.2797400355, 0.271014303, -0.0614490323, 0.6378425956, 0.1229867563, 0.1415084302, -0.9830711484, -0.4770924747, -0.2786422372, -0.2299271226, -0.3525663614, -0.2553659379, -0.2017863691, 0.2288390696, 0.3703136742, -0.2960707843, 0.3056153953, 0.3915736675, -0.114392668, -0.141249001, 0.6456398368, 0.8702155352, 0.8958607912, 0.0808207616, 0.3090036809, 0.2046670765, 0.0868400931, -0.1357664466, 0.2698524296, -0.0294062421, 0.1833333671, 0.612641871, 0.6984897852, -0.036682982, -0.5543082952, 0.3705616295, 0.0619784221, -0.3533244431, -0.0520064868, -0.0196726955, 0.2854759395, 0.3013769388, 0.1775191873, -0.3424894512, 0.2632214129, -0.6362290978, -0.0603261515, 0.6366503835, -0.4681498706, -0.1951180995, 0.7700725198, 0.1293175519, -0.5598675609, 0.358723104, 0.0817351937, -0.554741025, 1.0373952389, 0.7147756219, 0.9689250588, -0.1712408513, 0.4904673994, 0.181231454, -0.0874072537, 0.2114674151, -0.0819927827, -0.1851842999, -0.6901271939, -0.5472714901, -0.5295789242, -0.5330966115, 0.4640773833, -0.655305028, -0.2508562505, -0.3808178604, 0.3923627138, 0.7614181042, -0.0203244351, -0.4663196504, 0.5119200349, 0.2355158031, 0.894972384, -0.6703346372, 0.4935464859, 0.5671724081, -0.4258572757, -0.6006795168, 0.163690418, -0.0559310466, -0.8764743805, 0.8835636377, 0.2272381783, -0.2426454723, -0.2884079218, -0.9430155158, -0.1235986352, 0.7307415009, 0.3440666199, -0.8074462414, 0.1198976785, -0.0966540873, 0.7573575377, -0.6147599816, 0.3434482217, 0.3578016758, 0.3785919249, 0.1791275591, -0.2671202719, 0.1941746473, -0.0911933258, 0.0288152695, 0.3025783896, -0.396615535, 0.6237446666, -0.6170080304, -0.1256374121, 0.3596790433, 0.5870293379, -0.1180330589, 0.7026650906, 0.4223606884, 0.2116143554, 0.7854222059, -0.1131390184, 1.4236690998, 0.0260361154, 0.062474709, 1.0447776318, -0.1101468503, 0.569619596, 0.4639082253, 0.0128901936, 0.5383330584, 0.7770611644, -0.1102179736, 0.3614529371, 0.8060287237, -0.3929240406, -0.2211757004, -0.1018314362, -0.2722060382, 0.0968246013, 0.2260883749, -0.4808326066, -0.2904880047, -0.1153672412, -0.2829251289, 0.3146504462, -0.5893573761, 0.9604221582, 0.1311770678, -0.7091785669, 0.6567812562, -0.0026161755, 0.2164854407, -0.3838051856, -0.0706036314, -0.5181612968, 0.1623173505, -0.4246435165, -0.6376124024, 0.2701328397, -0.0937850699, -0.4104482532, -0.0731360093, 0.5280553102, -0.5716794133, -0.2626335323, 0.3772422671, 0.3633155823, 0.2173124254, 0.0754877254, -0.7790966034, -0.1396391541, -0.0193844587, -0.0015006271, 0.2994576991, 0.3782835007, 0.0038784172, 0.9082669616, 0.5343132019, -0.0383127443, -0.0978591442, 0.2289928347, 0.8264117241, -0.7290915847, -0.38690418, -1.130869031, 0.4141224623, -0.0281701628, -0.1568483114, 0.342662394, 0.5578605533, 0.5479602814, -0.0351630449, 0.7738277912, 0.3912718296, 0.3191525638, -0.897567749, 0.3156478107, -0.7416708469, 0.5130627155, -0.0918996781, -0.9010568261, -0.2260659486, 0.4973123968, -0.3601674736, 0.0166551769, 0.9077064395, 0.8972608447, -0.0431585908, 0.0953901112, 0.4227942526, 0.5770750642, 0.2240991145, 0.3987863958, 1.0401718616, 0.0573504828, 1.0605200529, -0.220366329, -0.0475863554, -0.3049173951, -0.8894199729, -1.1306868792, -0.3957219124, -0.5444176793, -0.5267350674, 0.3141216636, 0.7211784124, 0.7308754921, -0.7557241917, -0.301587075, -0.4413442016, 0.5798488259, -0.1474870294, -0.2169473171, 0.3033748567, -0.5525477529, -0.7095378041, 0.4784710407, 0.1609575897, 0.2676104605, -0.0607585497, -0.0739271417, 0.3201295137, 0.2067344338, 0.5564382672, 0.2979182303, -0.928374052, -0.1070621386, -0.3888553977, 0.0545114987, 0.3286860883, 0.9552893043, -0.6493282318, 0.4194900692, 0.2780357599, 0.7361540198, 0.6956740618, -0.0081893438, 0.7217927575, -0.5183458924, -0.0316173509, 0.2248099744, 0.3367073834, 0.3856217265, -0.3115787208, 0.3277710378, -0.095465906, -0.3584648371, -0.7314150929, 0.6853365302, -1.0279753208, -0.6526315212, 1.018974185, -0.0750982761, -0.2197440416, -0.0952364057, -0.4297678173, 0.0518690236, -0.2915004194, 0.9072004557, 0.5999084711, 0.0095961634, -0.3896625638, -0.3680167496, 0.4922087193, 0.5984148979, -1.1346166134, 0.338659972, 0.5195525885, 0.0955722332, 0.1909025908, 0.1691385657, -0.0011975643, 0.2269665301, -0.0169413127, -0.2149125934, -0.0844287574, -0.2011808157, -0.7879462242, 0.3352213204, 0.0116763739, -0.3022438288 ]
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.4632113874, -0.6092410684, 0.9120678306, -0.1756113172, -0.0104531012, 0.2000395656, -0.2171052396, -0.033086244, -0.180063352, 0.5292788744, -1.0661714077, -0.2642823458, -0.6493319869, 0.425385654, -0.3766458929, 0.8043872118, -0.4417660534, 0.3941149712, -0.7294345498, -0.270927459, -0.6129823923, -0.522325635, -0.4052618742, 0.0170144551, 0.4997422695, 0.6592032909, 0.0794281065, 0.1571592987, 0.9678881168, 0.2940799594, 0.3544050157, 0.3824186623, -0.3168728054, 0.338780731, -0.0682660341, -0.5431601405, -0.1749153435, 0.3098213375, 0.5094171762, 0.6596201062, -0.1889953017, 0.2865633965, 0.0721909776, 0.671308279, -0.6985216141, 0.0018846191, -0.6463816166, 0.1287304908, 0.0216850135, -0.3042764664, -0.377959162, -0.316067636, 0.1385994405, -0.7678647637, 0.3779653311, -0.0899016857, 0.6484575868, 0.4276501834, -0.8042916656, -0.4851300716, -0.4859093726, 0.6403548717, -0.2814245224, 0.3822118938, 0.3880296946, 0.7253462076, -0.0886107609, -0.9288854003, -0.7704913616, -0.178991124, -0.1052488163, 0.2919547856, 0.2403420806, 0.2580496371, 0.3774877787, 0.3299801648, -0.5521415472, -0.3420687616, -0.6167318821, -0.410897404, 0.2274168134, 0.5156919956, 0.1531534195, -0.2602185011, -0.3335316777, -0.0628143102, -0.1930674762, 0.3295225501, 0.3809048533, 0.3181012273, -0.158593446, 1.0316429138, -0.2714447677, 0.905264318, -0.1055249646, -0.1632585973, -0.0195485111, -0.6100541353, -0.1328110397, -0.1188523248, 0.0809817463, 0.29498294, 0.1247256398, 0.1886248738, -0.2537787557, 0.2350396216, 0.2283469737, -0.7126412392, 0.0665428638, 0.4587337673, -0.5986706614, -0.1476220042, 0.150807932, -0.7772920132, -0.4280593693, -0.6404417157, 0.4307482541, -0.1495751441, 0.2010591328, 0.3665593863, -0.3976988494, 0.2440565228, 0.3203967512, -0.4258759916, 0.3309893906, 0.4652594924, 0.6276091933, -0.2118154317, -0.3288881779, -0.5553035736, -0.0532852262, 0.0074457722, 0.8383386731, -0.837998867, -0.2776758671, -0.1079305783, -0.0388525724, -0.4485105574, -0.0634881929, 1.0770665407, -0.4779304564, 0.4453239441, -0.490709424, -0.5311317444, -0.0797288045, 0.5426037908, -0.668322742, 0.5181191564, 0.4269354045, -0.9605163932, 0.5010842085, -0.5618118644, -0.3392318487, -0.1077120379, -0.4411927164, -0.203334555, -0.1598879099, 0.1169245839, 0.1969613731, -0.8582729101, 0.4054355919, -0.307286799, -0.2900415361, 0.3230648935, -0.5112163424, 0.5011391044, 0.3773051202, -0.1344545782, -0.175933674, -0.8424548507, 0.3701322675, -0.0482829213, -0.8271147609, -0.0823524296, -0.041003529, -0.3637650907, 0.2994218767, 0.3709275723, -0.6181969643, 0.3217508495, 0.1510509998, 0.3694243729, 0.7247058153, 0.1956996322, 0.3060126305, -0.67633605, 0.8664270639, -0.0392330177, 0.3884505332, 0.0469837226, -0.3087778389, -0.931865871, -0.3965740204, 0.5096088648, 0.6251565814, -0.8223469853, -0.0651051477, 0.0634081364, -0.0186427291, -0.6664184332, -0.1473011971, 0.4863764346, 0.8208035231, 0.4224939644, 0.0215492733, -1.0463491678, -1.1170073748, -0.2199419141, 0.2993641198, 0.2955512106, 0.5121584535, 0.6374130845, -0.138560161, 0.7328677773, -0.6546775699, -0.4357472062, -0.4589614272, -0.1370025128, 0.4029427171, 0.3242372274, 0.2961021662, -1.0443890095, -0.2950133979, -0.3933202922, -0.6879070997, -0.0490864478, -0.440459609, -0.1525661945, 0.1111568287, 0.3364074826, -0.754979372, 0.5740624666, 0.6183488369, -0.308187604, 0.5714196563, -0.4143522382, 0.6654362082, -0.724234879, 0.0542964041, 0.0442500003, 0.1972342581, -0.3536398709, 0.1342843473, 0.0679647177, -0.3667485118, -0.0806377158, 0.6536824703, -0.6446591616, 0.0669389814, 0.0023050958, 0.0557867102, 0.258566767, 0.4571733475, -0.1017132625, 0.7646970749, 0.5242956877, -0.5306258798, 0.1186110228, 0.4317383468, -0.5887595415, 0.735617578, -0.4972209632, 0.0155221736, -0.1778357029, 0.4717004597, -0.9062889218, -0.3431170881, 0.0908356011, -0.5150151253, 0.075641796, -0.2293367535, -0.4208895862, -0.5287646651, -0.1647331119, 0.4129924476, 0.0080864495, -0.3836548924, 0.9334859252, 0.2898532152, 0.0121571561, -0.6373217106, -0.5681135654, -0.0773183927, 0.0093095498, -0.612097919, 0.0758428797, -0.4538173079, -0.196202144, -0.0734427273, -0.2791346312, -0.2886882126, -0.1329872459, 0.3208937049, 0.4590021968, -0.0195880365, -0.1558223218, 0.3432828188, -0.0405585356, 0.0252184812, -0.255453974, 0.4584746659, 0.2139362693, -0.4100282788, -0.177038148, 0.7367671132, 0.558283627, -0.4501636326, 0.6127918959, 0.0343535468, -0.4202621877, -0.2869850397, -0.589433372, 0.0215213485, -0.4871203005, 0.0983771831, -1.0456410646, -0.7970446944, 0.4454798698, 0.2698923945, -0.0241613071, 0.3943869174, 0.6694302559, -0.0587947555, 1.076406002, 0.4187939763, 0.3988087475, -0.0769139081, -0.3911660612, 0.1474990845, -0.9087168574, -0.6923022866, -0.7123106718, -0.2881828249, -0.319142431, -0.547234118, 0.3524046242, -0.217032373, -0.1947496831, 0.1482904404, -0.6378048658, 0.4510162175, 0.5901539326, 0.3589809537, 0.2449291795, -0.2970627546, -0.7718413472, 0.0261934586, -0.6024844646, -0.3547941446, 1.2994519472, -0.1446463317, 0.4515934289, 0.1129684299, 0.3892687857, 0.5503392816, 0.1888943911, -0.6799639463, 0.518596828, -0.0898184553, -1.0089284182, -0.0622550026, -0.6511442065, -0.8270573616, 0.2272715867, -0.3934875429, -0.3857877254, 0.4321433306, -0.1150264144, -0.1400767714, 0.1848068833, -0.516330719, 0.6563184857, -0.3666785955, -0.0744988844, -0.0690754056, -0.8478958011, 0.4641639292, -0.4745975137, 0.3101491332, -0.0465168804, 0.0423186906, 0.699554801, -0.3371361196, 0.4908259809, -0.2521514297, 0.3887831271, 0.3828047514, 0.1171096414, 0.3494494855, 0.0422217585, -0.5559850335, -0.3398659825, 0.4650523663, -0.4098848701, -0.5420833826, 0.6794556975, -0.5937842131, -0.6873244047, -0.6782234907, -0.7088202834, -0.4885797799, 0.4138099253, 0.1701286584, 0.5623559952, -0.0373182334, 0.1286247075, 0.3863438666, 0.003570392, -0.0734652877, 0.6945371628, 0.2155068517, -0.3468570411, 0.6006621718, 0.0479914881, 0.064717494, 0.4723652005, 0.1494821608, -0.4244384766, -0.7403370738, -0.2724668682, 0.0958370864, -1.1399558783, -0.324824959, -0.6905735135, -0.1393902302, -0.3156548142, -0.1534282267, 0.2039837986, -0.6420155168, -0.2209398448, -0.2186885476, -0.1318778247, 0.420835048, -0.1105341464, -0.241825074, -0.598457396, 0.6849085689, 0.3378538787, 0.2172614038, -0.1547633559, -0.7971534133, -0.0067157764, 0.1165457517, -0.174484238, -0.703327775, -0.1205065325, 0.2958742082, 1.0749742985, 0.0341032334, 0.4057047665, 0.4268786907, -0.4151481986, 0.2318623513, 0.1180923432, -0.7166618705, 0.4461546838, -0.2618918121, -0.0525369979, 1.2018111944, 0.6069398522, -0.2755493224, -0.1165783182, -0.4402821958, -0.4763884544, 0.4900257587, 0.2278648913, -0.0493284948, 0.1443858445, 0.605486691, 0.161705792, 0.2042701244, -0.4966582656, -0.194067657, -0.0645240322, -0.2982541919, 0.0587636642, -0.2173306048, -0.4499832392, -0.4917305112, 0.3886014819, -0.1099562868, 0.1683192849, 0.3668539822, -0.1197972149, 0.0189170837, 0.193427667, 0.6856151223, 0.8055666089, -0.4812312722, -0.0267431457, 0.1085661054, -0.3334919214, 0.3694116175, 0.2865880132, 0.0080201346, -0.4084692299, 0.3047077358, 0.4026902616, -0.2070712745, -0.8674349189, 0.6509856582, -0.5343723297, -0.6727686524, -0.3221139312, 0.1281843781, -0.1378946751, 0.205400154, 0.4425532222, 0.3115889132, 0.3314751387, -0.720369339, 0.4460715353, 0.2871748507, -0.4614686072, 0.2789503038, 0.6620978713, 0.2223529667, -0.1380711049, 0.8177402616, -0.0071335435, -0.6429633498, 0.9324832559, 0.3781337142, 0.3133376539, 0.2474966049, 0.2938647568, 0.4407109916, 0.3174246848, 0.0587582774, 0.608577013, -0.078635484, -0.7600332499, -0.1660274416, -0.6881721616, -0.6251906157, -0.2439040393, -0.8383638859, 0.4108505249, -0.5222821236, -0.1059578434, 0.0621291138, 0.21137923, -0.8836278319, 0.7666671872, -0.186188221, 1.1770164967, -0.5727857351, 0.8924406171, 0.393707037, -0.5094203949, -0.8156502843, -0.2416263074, 0.1023020446, -0.8524398208, 0.5930067301, 0.2355126441, -0.2257103771, -0.1153440773, -0.3142415881, -0.537060082, 1.0808333158, 0.2961272597, -0.6737369895, -0.0684647337, 0.1289864033, 0.2542902231, -0.608502984, 0.0480539389, 0.7129430175, 0.8144352436, 0.1907483786, -0.5248677731, 0.2205020636, -0.3479630947, -0.4956612885, 0.1714856625, -0.5178487897, 0.9187477827, -0.6746342778, -0.1020427868, 0.2792242765, 0.2371604741, 0.5363640189, 0.5610266328, 0.6180843711, 0.6113796234, 0.9586226344, -0.1848213673, 1.4336016178, -0.2304894775, 0.3178606927, 1.1316306591, -0.4752273858, 0.497192353, 0.4115498364, -0.1169409677, 0.2997507751, 0.8574457765, -0.1726741195, 0.8588926792, 0.6000953317, -0.4033308029, -0.6450312138, 0.0128599694, -0.3914809823, 0.5874392986, 0.2446966916, -0.1563891023, -0.004593431, 0.1661940366, -0.3107070625, 0.1085739583, -0.0788234845, 0.3362997472, 0.0927498937, -0.7528551817, 0.2319190651, 0.2317395955, 0.3690852523, -0.6138130426, -0.1563255936, -0.5482450724, 0.1693226397, -0.1681378186, -0.7529411912, 0.1089414135, 0.0274191163, -0.5093174577, 0.2016669959, 0.6188708544, 0.0311481971, -0.8953502178, 0.2070795447, 0.5020186901, 0.0093798861, 0.1894777715, -0.9486578107, 0.0765509158, 0.073523514, -0.144040063, 0.3385018706, 0.4944721162, 0.214843601, 1.0127102137, 0.8183222413, 0.1861531287, -0.0259036832, 0.144711569, 1.093977809, -0.4605666101, -0.1857703477, -0.383520335, 0.4497329295, -0.0481752716, -0.499630928, 0.5435190201, 0.831349194, 0.5345335007, 0.2089391947, 1.0628728867, -0.2036824524, 0.7519872189, -0.8166166544, 0.4027208388, -0.8868829012, 0.4293975234, 0.023405809, -0.687471211, -0.1955664009, 0.4552402794, -0.1709073484, 0.0666118562, 1.0443778038, 0.6171934605, -0.1860886961, -0.0667525157, 0.2178545445, -0.1963048577, 0.1862421036, 0.7417834401, 1.0168318748, -0.3043312728, 0.9444360733, -0.195726335, -0.1492684782, 0.079869695, -0.7261329889, -0.9438018203, -0.8475904465, -0.1037442386, -0.5091861486, 0.2365142554, 0.6510218978, 0.5174983144, -0.7508038878, -0.0359397009, 0.1258714795, 0.2133449763, 0.1646785587, -0.1795295328, 0.345274508, -0.1247511655, -0.4318107367, 0.4338859916, 0.0062525813, -0.1022129804, -0.1358195096, -0.1285600364, -0.3029312789, 0.5119395256, 0.2493029982, 0.2164551914, -0.2817964554, -0.2799328268, 0.0494722724, -0.2459596545, 0.1559174955, 1.3909415007, -0.4972566962, 0.3904159367, 0.488784641, 0.694878459, 0.6851574183, 0.0655805543, 0.5675644875, -0.3057608604, 0.0967051312, 0.4213533998, 0.638697207, 0.128154546, -0.351596117, 0.421166569, 0.0559054092, -0.6177194715, -0.8399761319, 0.3245729208, -1.2730253935, -0.638671279, 0.7853369713, -0.1526103914, 0.1996840984, -0.3647444844, -0.2815476954, 0.1456250995, -0.2495535165, 0.6946423054, 0.7450668812, -0.2821009457, -0.4255589545, -0.8643994927, 0.2185019404, 0.3735359609, -1.0659792423, -0.2376960665, 0.5260203481, 0.4066440165, -0.4172554016, 0.8273183107, -0.0125121959, 0.3708848357, 0.0457137749, -0.2733485997, -0.11650116, -0.609918654, 0.0415835455, 0.2774575651, 0.0096890964, -0.1497479081 ]
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.2919432223, -0.6021078825, 0.3388310969, -0.3637621999, -0.2572574914, 0.6100685596, -0.4785698056, -0.4192431569, -0.2355304658, 0.679728806, -0.57822299, -0.4869350791, -0.6244575381, -0.4310823381, -0.7615880966, 1.1944384575, 0.3370776772, 0.2171418518, -0.4530396163, -0.0774546713, -0.1501517743, -0.4111780822, -0.5342122316, -0.7218235135, 0.7740846872, 0.8585354686, 0.6893410683, 0.5579773784, 0.3980361819, 0.2833499312, -0.2038799226, 0.6552386284, -0.6817129254, 0.3591559827, -0.3031340241, -0.3749126792, -0.4348675609, 0.4224963784, 0.4640714824, 1.2331591845, -0.424623847, 0.1938566566, 0.3904109001, 1.0318713188, -0.6491618156, -0.1581130773, -0.5058447719, -0.0054054535, -0.0386221446, -0.0324923433, -0.4430941641, -0.5695691109, 0.087589778, -0.379780829, -0.0468343981, 0.057409972, 0.4051105082, 0.1280813664, -0.379580617, -0.1136504188, -0.8218912482, 1.0142936707, -0.7178131938, 0.4731653035, 0.1613364369, 0.0360621661, -0.3954630494, -0.511493206, -0.542535007, 0.0836619958, 0.0985282436, -0.1809268594, -0.1250777692, 0.0204534605, 0.0667110384, 0.4381183982, -0.3983795345, 0.8060839176, -0.6836140752, -0.1138876304, 0.8723816276, 0.0077167707, 0.2785672843, 0.1943770647, -0.4625912309, -0.3319083452, -0.9827461839, -0.1358959973, 0.7403292656, 0.4193166792, 0.2734135389, 0.6175485253, -0.0328341797, 0.3052784801, 0.0676145777, -0.4680270553, 0.5005220175, 0.2671748698, -0.168051675, 0.0903642997, 0.7059221864, 0.4499017596, 0.1640066803, -0.5930575728, -0.1317240149, -0.2959090471, 0.2352979481, -0.62320292, -0.1093170121, 0.3616643548, -0.5958527923, -0.7174991369, 0.0493998565, -0.9862676859, -0.6437572837, -0.5336310267, 0.2975235879, -0.6391974688, -0.5437654853, 0.0854544565, -0.0816777945, 0.2015126497, 0.2277941704, -0.4900215268, 0.1930144876, 1.0229264498, 0.5429198146, -0.5694314837, -0.38173154, -0.50894171, 0.0007020019, -0.2231980115, 0.5090453625, -0.3884149492, -0.5204666853, 0.1365488023, -0.1628918499, 0.1959614456, -0.6791794896, 0.3458374441, -0.601778686, 0.6141763926, -0.001008879, -0.9250680804, -0.581248343, -0.0267813858, -0.6476550102, 1.2116470337, 0.0460589454, -0.6345828772, 0.6539534926, -0.6838455796, -0.5792219043, 0.0156516209, 0.204684034, -0.6228738427, 0.2426768988, -0.042451188, 0.5918708444, -0.3548001349, 0.3747715056, -0.6399694085, -0.0857138783, 0.2939060926, -0.5170484185, 0.8732885718, 0.4354679883, 0.0347874276, 0.1582790166, -0.8075816035, 0.328453213, -0.015454025, -0.3170908988, -0.3768104911, 0.0857588053, 0.1216801628, 0.0849146321, 0.2507404089, -0.5075148344, 0.2903874516, -0.1782868057, 0.1200175658, 0.7709820867, -0.2156946957, 0.861328721, -0.4201922119, 0.2503180504, 0.1805626303, -0.0169210881, 0.2030376047, -0.1019266099, -0.9432575107, -0.5039854646, 0.2147927284, 0.5181975961, -0.7030089498, 0.6998588443, 0.0575897247, -0.6046199203, -0.7044661045, 0.4783453941, 0.5277507305, 0.4493423998, 0.3992479146, -0.0267131738, -0.4618169665, -0.6127278209, -0.3007143438, -0.2808601558, -0.1344592869, -0.1025154218, 0.2471612841, -0.3591073453, 0.8567873836, -0.5502714515, -0.0696927682, -0.4838176668, 0.4863528311, 0.0210849736, 0.5047041178, -0.03066344, -0.6259691119, -0.1286779046, 0.1168277785, -0.9747866392, 0.027529249, 0.2000389844, -0.0380220115, 0.4158197939, 0.5172291994, -0.3215394318, 0.3393967748, 0.3065971732, -0.0242578145, 0.4407266676, -0.3128503263, 0.1787612289, -1.2285963297, -0.1407669187, -0.3292399347, -0.2875917852, -0.8832223415, -0.0243098047, 0.0236049872, 0.0159616489, -0.6951330304, 0.2325280756, -0.6913415194, -0.0453252569, -0.5499200821, -0.0803196132, -0.2539696395, 0.2102402598, -0.1981974393, 0.653329432, 0.5116440654, -0.6005271673, 0.3774967492, 0.1238912717, -0.3703062236, 0.6325117946, -0.2662924528, 0.3569257259, -0.2969901264, -0.1647839248, -0.6095083356, -0.0852861702, -0.352225095, -0.3532458842, 0.5756266713, -0.0510697551, -0.6267863512, -0.0939706936, -0.5117245913, 0.3939027786, 0.7733038664, -0.8985153437, 0.7271615863, 0.6319362521, 0.1068699732, -0.6510112286, -0.366373688, 0.0126738884, -0.7467440367, -0.6969016194, 0.3128605187, 0.1749369949, -0.2425790876, 0.1081833765, -0.0108885039, -0.0345076472, 0.1889770776, 0.4323079288, 0.4780104756, 0.0279181022, 0.2800782025, -0.0862202123, -0.2429817021, -0.1431800425, -0.407450676, 0.5599193573, 0.0641571805, -0.375551939, -0.0583825484, 0.4225257635, 0.725648284, -0.2078471333, 1.0706105232, 0.5574076176, -0.4320223331, -0.585852325, -0.5898858905, -0.1584627777, -0.5411175489, 0.3226565421, 0.3185232878, -1.371180892, 0.2545917928, -0.5012919903, 0.3829585314, -0.0185687952, 0.5170544982, -0.5295695066, 0.8516069055, 0.9602924585, -0.4165467024, 0.3056321144, -0.1235252172, 0.6241026521, -0.8493433595, -0.6128760576, -0.3477541208, -0.4117851555, -0.7247868776, -0.4609321952, 0.2850740552, 0.3281002641, -0.4470999241, 0.1737178862, -0.3662343025, 0.5925364494, 0.5173392296, 0.1110000387, 0.5030657649, 0.2474050373, -0.0717058778, 0.180989936, -0.4713734388, -0.643914938, 1.2511539459, 0.3855197132, 1.09757936, 0.1208865419, 0.8988904953, 0.3289321363, 0.2657993734, -0.6750392914, 0.6623548269, -0.4505598247, -0.4095810354, -0.3946473002, -0.5236218572, -0.8263733387, 0.2749341428, -0.4759043753, -0.912106812, -0.1508998871, 0.0006733326, 0.0373330303, 0.7112876773, -0.4914777875, 0.2163570523, -0.4688382447, -0.2136758715, -0.3810997903, -0.2110091895, 0.6070560217, -0.2934467494, 0.3215404451, -0.2691687644, 0.1244483441, 1.0015710592, -0.4733986557, 0.8197309971, 0.1863338351, -0.0616536662, 0.1532882303, 0.1351763606, 0.283249706, -0.3136850595, 0.1114305854, 0.2535684705, -0.1357764751, -0.0817835331, -0.5880392194, 0.6681813002, -0.8267783523, -0.428817004, -0.3999033868, -0.8044531941, -0.432156086, 0.1661251187, 0.1797363609, -0.0494401678, -0.2133404166, 0.2237857431, 0.9337301254, -0.1451332718, 0.4865979254, 0.7980552316, -0.4214669168, -0.5532307625, 0.9538818002, -0.111900717, 0.260458827, 0.0678791925, 0.127338171, -0.3714977205, -0.4687230289, 0.3025952876, 0.3287053704, -0.6123699546, -0.4358282685, -0.4146471024, -0.2566409707, -0.2991687059, -0.2637422681, -0.4504964948, -0.4233075976, -0.3902071416, -0.4120416045, 0.7256777883, 0.8215906024, -0.3716644049, 0.5300888419, -0.8767148256, -0.0694372803, 0.0732518509, 0.4743059576, 0.0339751095, -0.6099838614, -0.1277544498, -0.0457841232, -0.1687180102, -0.6750779748, 0.3295278847, 0.0243606921, 0.6378500462, 0.4521413445, 0.039370697, 0.5835669041, -0.4055674076, 0.3701925278, 0.7057518959, -0.728639245, 0.1939850301, -0.1815913767, -0.2578647435, 0.7053622603, 0.3960823715, -0.7642549276, -0.2955795527, -0.6276379824, -1.2235096693, 0.5366269946, -0.2252322882, -0.216187492, 0.3272595704, 0.1923750639, 0.2469049245, 0.3216252923, -0.3103981912, -0.3135581613, 0.3555960655, -0.4074905217, -0.1289452761, -0.2405764014, -0.3147488534, -0.3134628534, 0.7687777281, 0.0834359229, -0.208723709, -0.6890215874, -0.3894608617, -0.0106993904, 0.4217950106, -0.1359349787, 0.338006109, 0.0242619943, 0.3725376427, 0.3258401752, -0.3993777931, 0.320553571, -0.2745631337, -0.2096923739, -0.6098576784, 0.5179879665, 0.3324474692, 0.2396644205, -0.5935077071, 0.2320357114, 0.2285254896, -0.289159745, -0.1031128019, 0.3919546008, 0.2252243906, 0.3623303473, 0.2432902157, -0.3465258777, -0.0288655981, -0.4982396066, 0.6532490849, 0.5779318213, -0.1560548395, 0.0686795637, 0.2500151396, 0.3063742816, -0.2200760841, 0.8635830283, 0.0527662449, -0.6549518704, 0.255687952, 0.3742490709, 0.9185518026, -0.1359984726, 0.3154063225, -0.0492692031, 0.3150894344, -0.3095750213, 0.0530456975, 0.1904444993, -0.8584631085, -0.4413942993, -0.5620212555, -0.4159645438, 0.3033246696, -0.8504759073, 0.1081159785, -0.442222625, 0.0721621439, -0.0404829793, 0.1259743124, -0.5903654099, 0.0659318417, 0.1209183782, 0.7683303356, -1.0273810625, 0.6313486695, 0.6841247082, -0.4282594919, -0.8928191662, -0.1229059175, 0.3952397704, -0.8543877006, 0.660281837, 0.1467924565, -0.1332309842, -0.3372204006, -0.5973749161, -0.8431914449, 1.0835729837, 0.2512589991, -0.4173526466, 0.2257141769, 0.4754942954, 0.2309757769, -0.4916564524, 0.2055330575, 0.9633084536, 0.2561142147, 0.2742775381, -0.6440450549, -0.1141124517, 0.0995610952, -0.1817640066, 0.3487249315, -0.3643876314, 0.6786628366, -0.3648405671, -0.1787394285, -0.3232323229, 0.9525704384, 0.0213529598, 0.287437886, 0.7466438413, 0.7037243843, 1.3922719955, -0.1168970987, 0.2054087371, -0.0527418777, 0.4372362196, 1.1511771679, -0.4902945757, 0.7888759375, 0.3779225647, -0.2214352638, 0.3321055472, 0.2893313468, 0.1612546742, 0.4805422723, -0.0635643229, -0.5183695555, -0.3253314197, 0.0220873132, -0.0347537957, 0.6488045454, 0.1594953835, -0.214336738, -0.5183451772, 0.204608053, 0.6252216101, 0.0562894642, -0.2302675992, 0.9931688309, -0.0534012206, -0.4761078954, 0.1819958538, -0.0639148504, 0.8603194952, -0.308981806, -0.0652683228, -0.241940245, 0.5311424732, -0.5543984175, -1.0148699284, 0.2024499476, 0.2836606801, -0.2728070617, -0.2805584669, 0.8641322255, -0.887185514, -0.6589281559, 0.4423800707, 0.5461825132, 0.158205539, 0.2098397911, -0.5085714459, -0.1413498372, 0.1095215753, 0.0242574885, 0.7749433517, 0.4593273103, -0.0188150499, 0.9434817433, 1.0751552582, 0.1324109733, -0.1223183647, 0.0867832676, 1.0876246691, -0.5921680331, -0.1038017273, -0.7411056757, 0.6803665757, -0.3085143268, -0.0224509295, 0.7039042711, 0.574674964, 0.8248024583, 0.4697971046, 0.8357217908, 0.1058648229, 0.8345170617, -0.5517235398, 1.0827742815, -0.5658317804, 0.5124021173, 0.0238225926, -0.8118984103, -0.0484744422, 0.2990908027, -0.0888440683, 0.1743836105, 0.5535933971, 0.7645892501, 0.0665002465, -0.0166954212, 0.5234258771, -0.1596537679, 0.5240904689, 0.2984810472, 0.8261729479, 0.0340212025, 0.1836867929, -0.289526403, -0.4780273438, -0.0929688215, -1.0738170147, -1.1425834894, -0.4438425004, -0.3341761231, -0.3999819458, 0.1553822458, 1.0415692329, 0.5340825915, -0.6335509419, -0.2583838403, 0.2707816958, 0.4113481343, -0.0686869994, -0.1631672382, 0.312987119, -0.4738938808, -0.4852765799, 0.4320756495, 0.2201413661, -0.1746949852, -0.4863394499, -0.0234981813, 0.0579776242, -0.0251782201, 0.6151214838, 0.293153137, -0.2851587236, -0.2175406218, -0.1329132468, 0.0672704726, -0.2989333868, 0.8664324284, -0.6322948337, 0.0482734516, 0.4257586002, 0.6618355513, 0.215723902, 0.0128908763, 0.6430270076, -0.703543067, 0.0313878022, 0.060765747, 0.3612008393, 0.3968096375, -0.4086054862, 0.4794357419, -0.0391337611, -0.4559625089, -1.0719577074, 0.105853267, -0.7253465056, -0.4685249031, 1.3159956932, 0.0417695194, -0.1512064636, -0.0193694942, 0.2472612858, 0.5069289804, -0.3445346653, 0.6451279521, 0.5471214056, -0.0628026873, -0.1015561298, -0.2162312269, 0.4486590922, 0.2603392899, -1.126947999, 0.3520790339, 0.5167198777, 0.607673645, -0.0758435354, -0.0158021748, -0.3640151024, 0.1006968543, -0.4980642796, 0.3916493058, -0.4397136867, -0.5966338515, -0.3794410825, -0.0236176476, 0.0157369394, -0.164078936 ]
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.8924534917, -1.0454614162, 0.7721531987, -0.121754773, -0.1174944788, 0.0540929101, -0.2027864009, -0.4688165188, 0.4693554342, 0.318844676, -0.4583507776, -0.1452849805, -0.5896331668, 0.103903234, -0.0490775667, 0.706037879, 0.3839853108, -0.1470184624, -0.3927140832, -0.5972778797, -0.5579217076, -0.5642908216, -0.7290514112, -0.3611719608, 0.858051002, 0.2687840462, 1.0774922371, 0.5311713815, 0.4320780337, 0.5522925854, -0.1649291515, 0.5825667977, -0.6727488041, 0.5644309521, -0.3038282096, -0.2999925017, -0.5488058925, -0.0405872278, 0.8703401089, 0.6885994673, -0.1583048105, -0.2759082317, 0.1600043774, 0.5536674261, -0.4300915599, 0.1322930455, -0.7473415136, -0.469592154, -0.2205723524, -0.431763649, -0.3829109371, -0.1219602451, 0.1395246983, -0.7757070065, 0.0256179124, -0.0090030804, 0.8923043013, 0.4992871583, -0.5621283054, -0.1866570115, -0.7216483355, 0.215513885, -0.3402577341, 0.3222379386, 0.1522762924, 0.1548224986, -0.3939954638, -0.5952621102, -0.5778439641, -0.0308389105, 0.0135005936, 0.1654304713, -0.3041306138, 0.4758783877, 0.1995038241, -0.2514961064, -0.2574856877, -0.3071137071, -0.3477351069, -0.1471133977, 0.508090198, 0.1622564197, 0.0265260953, 0.1901377589, -0.1469454616, -0.0552585237, -0.4738041461, -0.1354103684, 0.3025111258, 0.217176035, 0.1085254773, 0.1904734373, -0.2430021167, 0.7422161102, 0.0127742169, -0.1952404231, -0.2299496979, -0.6219604015, -0.0810925588, -0.3250447214, 0.522911787, 0.2895511687, -0.0872249529, -0.3037019074, 0.1326133162, 0.2178997695, 0.4030606449, -0.5133431554, -0.2947544456, 0.1421103776, -0.2216565609, 0.244451642, -0.2469427288, -0.5765917897, -0.548817873, -0.2659898102, 0.4933072031, -0.2467949688, -0.5530284047, 0.0536422841, -0.3297452331, -0.0427165478, 0.9016894102, -0.5608740449, 0.4923097491, 0.5891789794, 0.9089689255, 0.2673965394, -0.4662281573, -0.3989238739, 0.3855830431, -0.5482071042, 1.2950636148, -0.4613534212, -0.1168331206, -0.5155194402, -0.0294062346, -0.5047091246, -0.2754556239, 0.1847721189, -0.4208259881, -0.1770952791, -0.7461467385, -0.4469795823, 0.066180177, 0.4783470035, -0.9594095349, 0.3056252301, -0.4805684984, -0.6164046526, 0.1227337793, -0.7286861539, -0.314340204, 0.1384462118, -0.127244547, -0.2237917781, -0.2027906477, 0.1340856403, 0.2489818484, -0.3582056463, 0.1781248897, -0.5510261059, -0.4397307038, 0.3411529958, -0.3236857355, 0.55877316, 0.2853343189, -0.3485889733, 0.1157869324, -0.1734047979, -0.2191530913, -0.0987274125, -0.0615871884, -0.2982361317, 0.2192390114, -0.5185046196, 0.1456438303, -0.289528966, -0.3181726635, 0.3378060162, -0.3936375678, 0.5749123096, 0.8036023378, -0.1639717519, 0.6103138328, -0.692496419, 0.2615312338, -0.0452191234, 0.2123416364, -0.0603568852, -0.8326599002, -0.6836012006, -0.4397441745, 0.118433021, 0.3068779409, -1.2011619806, -0.177851215, -0.3096336424, -0.4760611057, -0.5141988397, -0.2971488535, 0.1500042677, 0.3061054945, 0.2094154954, -0.2439380437, 0.0233673099, -0.4797313213, -0.0769101605, -0.4272194505, 0.5292101502, 0.6544745564, 0.2544130683, -0.012014213, 0.9307436943, -0.3782971501, 0.0806014165, -0.1201599464, 0.2259462029, -0.314207375, 0.3407397568, 0.3223930895, -0.609785974, -0.4258421659, 0.0434629731, -0.5501039624, 0.1890523881, -0.3255662322, -0.3457047641, 0.4154400527, 0.438721776, -1.1231375933, 0.3492849767, 0.3423007727, -0.353384614, 0.5181112289, -0.1615898162, 0.686612606, -0.8770037889, -0.1165788546, -0.0630551502, -0.1587939113, -0.784612298, 0.1638715118, -0.4815598726, -0.1455338895, -0.1362939775, 0.4765505195, -0.5808247328, 0.1168585345, -0.2041440904, 0.5217095017, 0.2011456043, 0.5666521788, -0.0407342426, 1.042797327, 0.5513637662, -0.3796370327, 0.450997591, 0.2290169299, 0.1186146811, 0.9323182106, -0.7238910794, 0.3017702103, -0.4157441556, 0.5438893437, -1.4842362404, 0.0109232021, 0.3463757932, -0.5578981638, 0.0194841828, -0.2373170108, -0.389839977, 0.0927888677, -0.2489428371, 0.5182077289, -0.1290238649, -0.3106476665, 0.5728753805, 0.6307394505, -0.2303159833, -0.6373313665, -0.1803041846, 0.5333992243, -0.3586147428, -1.0411684513, -0.0835390687, -0.1024876162, -0.2990016639, -0.0660284758, -0.001627681, -0.3682286441, 0.1391685009, 0.0239137337, 0.0006365372, -0.1594157517, 0.5787847638, 0.1814653426, 0.0608352199, -0.0599483997, -0.3231869936, 0.3600735962, -0.2364512682, -0.4893621206, -0.229203999, 0.7227100134, 0.4987927973, -0.1600437313, 1.0057829618, 0.2947382927, -0.1398314387, -0.2136832178, -0.9314390421, -0.513584435, -0.4832665324, 0.2623997629, -0.5061060786, -1.2190133333, 0.3138572276, -0.591242671, -0.1048780084, 0.1543997675, 0.2544896603, -0.1493782401, 0.9955124259, 0.5673463345, 0.217691794, 0.1116360575, 0.0536041893, 0.2599357069, -0.4421445429, -0.0997932106, -0.7666665912, -0.1355514079, -0.4316577017, -0.6508959532, 0.7995058894, -0.1857777983, -0.1453040987, 0.2961118817, -0.5721460581, 0.3922127187, 0.2821506262, 0.1068076566, 0.3677215576, 0.195239529, -0.1390089244, 0.1073603854, -1.0480504036, -0.3894956708, 0.6526141763, 0.1662401855, 0.6375904083, 0.4542623758, 0.3784732223, 0.2032251805, 0.1452089101, -0.4518437684, 0.5594083071, 0.3817914426, -0.5308477879, -0.73855865, -0.6167955399, -1.3590825796, 0.8392600417, -0.3462978899, -0.8741487861, 0.4016014934, -0.1247586831, -0.2842240334, 0.3739154935, -0.7935089469, 0.8156852126, 0.5754852891, -0.5116127133, -0.5672920942, -0.7952148318, 0.2945224345, 0.3016681075, 0.2791714966, 0.0037618263, 0.1043530479, 0.5426614881, -0.4692623615, 0.7177584171, 0.2146187425, -0.1985330135, 0.6310210824, -0.287914902, 0.4351130426, 0.1385782659, 0.2005079389, 0.2223004252, 0.0894814506, -0.4161313474, -0.6646873951, 0.5434850454, -1.0139143467, -0.8182076216, -0.2221267819, -0.7400022745, -0.2503345311, -0.0235785116, -0.0828749686, 0.7402917147, -0.19711487, 0.0458485447, 0.8351308703, 0.1606490165, 0.2388560027, 0.3268083632, 0.5624036789, -0.4690197408, 0.9643697739, 0.4076472223, 0.612342298, -0.04182126, -0.1840965599, -0.472500205, -0.0530703813, -0.5644863248, 0.4299458563, -0.8735646605, -0.2355931401, -1.0048360825, -0.1846535206, -0.4718494713, -0.0701778084, -0.4071500003, -0.5760543942, 0.1821088642, 0.2449656278, -0.0029755905, 0.7290338278, -0.2123166919, 0.4126237035, -0.5600558519, 0.109019123, 0.6399800181, 0.2591405809, 0.2720491588, -0.009546618, -0.3145967126, 0.1413725466, -0.6785575151, -1.1804744005, -0.193415761, 0.1115626767, 0.6421610713, 0.2468003482, 0.0626507476, 0.8171365857, -0.3446002603, 0.4703705013, 0.1141813323, -0.8857251406, 0.1493422687, -0.6058948636, 0.1654519439, 0.2116811723, 0.0571258664, -0.538198173, -0.6341938376, -0.6309199929, -0.4088688791, 0.6639842391, 0.4479194283, -0.2719897032, -0.0535270609, 0.2173763216, -0.295619607, 0.2547824383, -0.3683881462, -0.3478733599, -0.0951969102, 0.4218675792, 0.0359542593, 0.0039028036, -0.6511254311, -0.3906489611, 0.2261129618, -0.4050847292, 0.4616574347, 0.3766955435, 0.1768677235, -0.1702965349, 0.5005477071, 0.8728289604, 0.9152743816, 0.3331531286, 0.3779835105, 0.138867408, -0.2509325147, 0.4123198092, 0.2543109059, 0.1864128709, -0.0487965941, 0.3040245473, 0.8115078211, -0.3532913029, -0.183145985, 0.3804160953, -0.3186307549, -0.5456985831, 0.5103379488, 0.0958262086, 0.5005124211, 0.6359626055, 0.1674423367, 0.4088673592, 0.3184262216, -0.5226832032, 0.2631772757, 0.8784384131, -0.1126090884, -0.100925222, 0.4912481308, 0.3588140309, 0.013660145, 0.314155072, -0.2233400941, -0.3440391123, 0.8946502209, 0.4310316145, 0.4551831782, -0.3204323649, 0.6686523557, 0.1313904524, 0.7675591707, -0.1123455092, -0.0078568896, -0.2157663107, -0.7718324065, -0.7931777239, 0.0323565044, -0.6389474869, -0.2945842445, -0.0519541837, -0.1352962106, -0.2742692232, -0.4902304411, 0.0280737095, 0.2201476395, -0.3062671423, -0.2388923317, 0.2096032649, 0.5190223455, -0.7400247455, 0.7376200557, 0.8772526979, -0.0502570271, -0.793350637, -0.1288197786, 0.05685113, -0.1689473987, 0.3130151629, 0.0817420408, -0.6955822706, 0.0266931672, -0.7396773696, -1.0426126719, 1.0097569227, 0.6466608644, -0.1682686657, 0.4098674655, 0.1256011873, 0.5010024309, -0.1316768229, 0.7450194359, 0.2533073723, 0.515997529, 0.3901403248, -1.208168745, 0.1382984519, -0.341176182, -0.2602795064, 0.2086087316, -1.0615746975, 1.0125901699, -0.1112029627, -0.6146438122, 0.0075901337, 0.7852887511, 0.2372142971, 0.426058054, 0.6489770412, 0.4325924516, 0.9833205938, -0.2016775906, 0.4495513737, -0.2290799469, 0.4014205635, 0.5821802616, -0.3484266996, 0.1882568896, 0.2380886227, 0.0398609042, 0.3896768391, 0.2355619371, 0.4548524022, 0.1280380487, 0.1228266582, -0.3283034861, -0.6218611598, -0.408374846, -0.4079526365, 0.2560322285, 0.5084645152, 0.801089108, -0.4820990264, -0.1553556621, 0.2192054838, 0.0880628154, 0.0268278439, 0.8680042624, -0.2054416686, -0.8667304516, 0.8343003392, -0.0557900332, 0.3385535777, -0.3579953313, -0.4078700244, -0.2079891413, -0.0923539102, -0.0173866041, -0.4129881859, 0.2813887894, -0.6620676517, 0.1964798123, 0.2251724005, 0.9899510145, -0.7031962276, 0.1782616824, 0.2903727591, 0.855889976, 0.1940138638, -0.0507803783, -0.7445408106, 0.2703475654, -0.6567551494, 0.0137008177, 0.3708959818, 0.7283055186, -0.1889843494, 0.9226258993, 0.5778964162, 0.0075234268, -0.0310258809, -0.1649743915, 1.4761220217, -0.2472079396, -0.5907660723, -0.7577495575, 0.3691025972, -0.4665626585, 0.0299031753, 0.7083098888, 0.0824746415, 0.4900437295, 0.3885012567, 0.5418162346, 0.1237666234, 0.1012097374, -0.169971168, 0.804718852, -0.4801907241, 0.0270585846, -0.4573880732, -0.6360250115, -0.054122258, 0.6602327228, 0.0794830769, 0.0361500718, 1.0150407553, 0.8832250834, -0.0821491927, 0.203938067, 0.3465333581, 0.159742251, 0.3872347474, 0.6724383831, 0.9355878234, -0.268460989, 0.4889435768, 0.0648357049, -0.4858694971, 0.1704102904, -0.5322554111, -1.1749428511, -0.826977253, -0.2518036366, -0.4352344573, 0.6120049357, 0.7034132481, 0.9009699225, -0.1104258001, -0.4345030785, 0.2656588256, 0.6460033059, -0.4652240574, -0.1385043114, 0.2597664297, -0.5946135521, -0.5435549021, 0.2786542773, 0.4724485874, -0.4838693142, -0.1980264485, -0.1748252362, -0.5077585578, 0.5951749086, 0.6373561025, 0.1696683168, -0.5828740001, -0.3430740535, -0.1428428441, -0.2434508353, 0.1346261352, 0.8411672711, -0.6098088622, 0.4285932183, 0.4446145594, 0.7230909467, 0.0670338497, 0.4278462231, 0.4455426335, -0.3879432082, 0.2787128091, -0.1071790457, 0.0180235468, 0.1895147562, -0.3405978382, 0.3005461097, 0.6824005246, -0.9689484239, -0.5128077269, 0.2833033204, -0.7869731784, -0.5400391221, 1.0555870533, -0.0944621861, -0.1968322545, -0.7153031826, -0.3872392774, 0.2235293686, -0.5244306922, 0.605690062, 0.8536979556, -0.1190751046, -0.3706499934, -0.4942538738, 0.566003561, 0.5495163202, -0.8750718236, -0.0178515818, 0.68323493, -0.0559285805, 0.2561338544, 1.3359212875, 0.3369130194, 0.2128432542, 0.2705852687, -0.2774959505, 0.1090804189, -0.855085969, 0.0923383236, 0.3599537909, -0.0045329984, 0.0140206236 ]
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.6350906491, -1.1902170181, 0.7881093025, 0.0534220263, 0.0391016304, 0.1405159384, -0.4396966398, -0.5393177867, -0.1489755809, 0.3139323592, -0.6280822754, -0.6442725658, -0.5547194481, -0.2855234444, -0.4805061221, 0.5184258223, 0.3589403927, 0.0934784263, -0.1236279085, -0.2266008705, -0.6632499695, -0.4260492623, -0.6898558736, -0.436609596, 0.1924443841, 0.6547377706, 0.8204177022, 0.406850934, 0.2800286114, 0.212806344, -0.1354375333, 0.5855150819, -0.083599925, -0.0121747497, -0.1649006307, -0.6009784937, -0.8682927489, -0.0687926114, 0.3404170275, 0.6167284846, -0.2932054698, 0.4261760116, -0.3631610274, 0.2818505168, -0.418636173, 0.0926368162, -0.6566038132, 0.0033290733, 0.2997391522, -0.5227531791, -0.5349162817, 0.185596019, 0.0103859175, -0.7469301224, 0.27056247, 0.2686062455, 0.8387366533, 0.4663315713, -0.1234871224, -0.6062167287, -1.1131484509, 0.8485484123, -0.5888751149, 0.4965364933, 0.5505375266, 0.7795103788, -0.1481683105, -0.4109908938, -0.8143274784, -0.2453319281, 0.4204808474, 0.0442151055, -0.2119673043, -0.0081669688, 0.1683786958, 0.5492278934, -0.6827754378, -0.175834313, -0.1007282734, 0.2240963727, 0.6606106162, 0.2402452976, 0.83639884, 0.3878952861, -0.2499209493, 0.067198582, -0.6390971541, 0.1004440114, 0.2468940765, 0.1551899612, -0.1227328777, 0.2755871117, -0.0630203336, 0.8536812067, -0.0155018242, -0.2613832057, 0.2169143707, -0.2087624073, -0.5534825921, 0.2146861404, 0.6124286652, -0.0474663414, 0.279424578, -0.2637332976, -0.087549679, 0.1190042049, 0.0905077979, -0.291709125, -0.1757348329, 0.3249135315, -0.2249063849, 0.1935563236, -0.1078672558, -0.5122822523, -0.2528513074, -0.6618784666, 0.8038468957, -0.2683271766, -0.1970036477, 0.7960711122, 0.1810714006, 0.2284785509, 0.4213517904, -1.0340764523, 0.3719406426, 0.7897306681, 0.7296050787, 0.2523251772, -0.0033882463, -0.8594250083, 0.5020602942, -0.1195431426, 0.7617383003, -1.033315897, -0.3046276867, -0.4599196613, -0.1924495995, -0.0355852284, -0.5799317956, 0.9581221342, -0.3776105642, 0.312834233, 0.0441998765, -0.4171977341, -0.7707876563, 0.1145072281, -0.2632856965, 0.412124902, -0.1741575748, -0.0443063118, 0.2628194392, -0.7854757905, -0.313149929, -0.0891857147, -0.1550038457, -0.4484793246, -0.0597253516, 0.470960021, 0.345530957, -0.6105997562, 0.5216029286, -0.3375438452, -0.7171778083, 0.1340738386, -0.4595608413, 0.4926301837, 0.3421484232, -0.4252175689, 0.2625648975, -0.8282630444, 0.0314081423, 0.1073235422, -0.2201876491, -0.0412012674, 0.1543764919, -0.0536658354, 0.2450879514, -0.0284982454, -0.3645374179, 0.0431027338, -0.1048099101, 0.660633564, 0.2732747197, -0.1198851168, 0.5037891865, -0.362249583, 0.5581607819, -0.1132312119, 0.1332569122, -0.3140301108, -0.6049726605, -0.9267337322, -0.4656472206, -0.0836179033, 0.662794292, 0.1565982848, 0.4308613539, 0.0599163398, -0.3835415244, -0.763761282, 0.2435299754, 0.2517906129, 0.4966356158, 0.6417914629, 0.2648717463, -0.6223288774, -0.8168565035, -0.1463138759, 0.022215981, -0.3529930413, 0.6000272632, 0.1770709604, -0.5687061548, 0.7089114785, -0.4342186451, -0.3937443495, -0.2041534036, 0.2289195061, 0.4729514718, 0.3495351672, 0.2776689827, -0.4501982629, 0.0113583989, 0.1942628026, -0.6777184606, -0.3084364533, -0.3885144293, 0.0100025358, -0.2600796223, 0.3235029578, -0.7523658276, -0.0574913248, 0.3755209148, -0.4447143674, 0.4478506744, -0.3373030722, 0.1989671588, -0.6765386462, -0.0457006507, -0.0708850771, -0.1771414429, -0.5860698223, 0.1045027375, -0.227342695, -0.1531239748, -0.1289723068, 0.5012441278, -0.5012890697, -0.2944374681, -0.3374594152, 0.3319188654, 0.1709227711, 0.5704177022, 0.0772131383, 0.8615826964, 0.6526634097, -0.6290569305, 0.3524205089, 0.2822487056, -0.7198408246, 0.2405636907, -0.8183338642, 0.4978899658, -0.0201295651, 0.0766875818, -0.8928287029, -0.0465108156, 0.1800119132, -0.4804765582, 0.2652181685, -0.0226104166, -0.391076982, 0.0156271961, 0.4854691327, 0.2794469893, 0.4025120139, -0.5450829268, 0.9487051368, 0.6583138108, -0.3042640686, -0.4155406356, -0.5189402699, 0.3157609403, -0.3617228866, -0.8773984909, -0.130138889, -0.0781060606, -0.4537228346, -0.271559, -0.1321097016, -0.1033419892, 0.2557970583, 0.2446599156, 0.2441777587, -0.3380138278, 0.0969650149, 0.0276866294, -0.0947187543, 0.2509560585, -0.1699287593, 0.5278363824, -0.577534914, -0.5040289164, -0.3336809278, 0.4472463131, 0.6206707358, -0.4179483652, 0.119218342, 0.6520498991, -0.0062650759, -0.5209828019, -0.3574859202, 0.1739559472, -0.4010864198, 0.4690691233, -0.5769351125, -0.8568503261, 0.4707168937, 0.0106150378, 0.1255518198, 0.0766785666, 0.8828040361, -0.2230447233, 1.5597416162, 0.0299306791, 0.2085715383, 0.1349391192, -0.4187541306, 0.353746146, -0.7352391481, -0.4825698435, -0.5004790425, -0.4402737319, 0.0499946252, -0.5488702059, 0.1216545776, -0.0180239398, -0.418500483, -0.0109365797, -0.362747103, 0.5593300462, 0.4908431172, -0.0686515719, 0.5508809686, -0.3150795698, 0.0881069675, 0.5869126916, -0.4780820608, -0.7101995349, 0.7273076177, 0.6377614141, 0.8329444528, 0.2638878226, 0.063369669, 0.1732085198, -0.3139434755, -0.9543155432, 0.4799269736, 0.0080687031, -0.5586643815, -0.1386544406, -0.2086083144, -0.5749872327, 0.384211272, -0.3654940128, -0.5156448483, 0.0657020882, 0.1194618344, -0.3748519123, 0.2204068303, -1.0170359612, 0.4480788708, -0.3629654944, -0.002288833, -0.5124645233, -0.4849081635, 0.4849746823, 0.2051352262, 0.5175021887, -0.4039355218, -0.0594105907, 0.2795504332, 0.0120872008, 0.2175156325, -0.2288112938, -0.1417718977, 0.2649554312, 0.1095652431, 0.0897044167, 0.3957017362, 0.1400926262, 0.3465188742, -0.12833336, -0.1914507449, -0.8569149375, 0.6739757061, -0.9723371863, -0.9039478898, -0.1347186565, -1.0430685282, -0.6502126455, -0.0903925225, -0.1293201745, 0.4608765543, 0.0583995357, 0.2368688732, 0.8909894228, -0.3063601255, 0.0912323296, 0.4816597104, -0.3139530718, -0.2327418178, 0.9563300014, -0.231677115, 0.2508511245, 0.3662662208, 0.2339060903, -0.3695263565, -0.7403406501, -0.5994000435, -0.0140670678, -0.595346272, 0.2577499449, -0.8634366393, 0.0416578278, 0.1396956146, -0.0307787396, 0.0429969281, -0.4188423157, -0.3244176507, -0.0837643594, 0.02524524, 0.4818535745, 0.0634169951, 0.2775474191, -0.7413083315, 0.8021692634, 0.5508176684, 0.1403440386, 0.075776957, -0.7416563034, -0.2754140496, 0.1992998868, -0.0163945388, -0.5645714998, 0.3194960654, 0.5298364162, 0.7094435692, 0.4784764946, -0.3972238898, 0.6460382938, -0.4896236956, 0.440376997, -0.0442153998, -1.000531435, 0.4433385432, -0.5804165006, 0.4857246876, 0.384580195, -0.1003256738, -0.4207574427, -0.4616765678, -0.3237771988, -0.6812558174, 0.5412854552, -0.026961023, 0.0157179404, 0.1188429296, 0.0243671257, 0.1811237782, -0.097410515, -0.1424300522, -0.1773023158, -0.2347645015, -0.0361280479, -0.2058853358, -0.0915933177, -0.1463403851, -0.4320950806, 0.7428124547, -0.0869786516, 0.2174457312, 0.1021720096, -0.2542889714, -0.0415388606, 0.7107751369, 0.9348967671, 0.5606430173, -0.3741766214, 0.1873964816, 0.21604307, -0.4765424728, 0.4791690707, -0.3484405279, 0.0333508663, -0.0949887857, 0.1759005338, 1.0726510286, 0.1300191432, -1.0086804628, 0.1860947609, -0.3269388676, -0.3424068689, -0.3490730226, 0.6094809771, 0.6516796947, 0.2339445651, 0.44771263, 0.1894707382, 0.4058862627, -0.713091433, 0.2379178703, 0.3956103623, -0.2932910323, -0.2535553277, 0.8048599958, 0.1070795879, -0.296146661, 0.315618366, -0.0866094604, -0.0541833639, 0.6103172898, 0.6221982241, 0.8796249628, -0.0190215725, -0.0282274056, 0.3276107907, 0.2013649195, 0.1130165085, 0.5380880833, -0.3197193742, -0.5224885941, -0.6923449636, -0.631383419, -0.6967738271, 0.3392570317, -0.4762820005, 0.3388608396, -0.8626889586, -0.0044227522, 0.0631998777, -0.1604111642, -0.4903743565, 0.4668417871, 0.38649562, 0.8919816017, -0.7603445649, 0.7265373468, 0.7114302516, -0.363973856, -0.9061018825, -0.1707590669, -0.1152107269, -0.8574470878, 0.4954722226, 0.0851128846, -0.5699596405, -0.0435558669, -0.6034092903, -0.6242380142, 0.943891108, 0.7359312177, -0.902464807, -0.0916933417, 0.0044525308, 0.4071350992, -0.4461987615, 0.508533895, 0.762753129, 0.5416654348, 0.3903279901, -0.7027289867, -0.2904728651, -0.3339127004, -0.4836958349, 0.1782355905, -0.4442334473, 0.7459686399, -0.4483183026, -0.1734914333, -0.2088465095, 0.5858329535, 0.3542727828, 0.498434484, 0.6400685906, 0.7366973162, 0.8784028888, -0.1745589823, 0.733728826, 0.030757295, 0.1625749916, 1.4744305611, 0.0132240448, 0.6909803748, 0.1359881461, 0.0356674641, 0.6415201426, 0.4367237687, -0.0037659393, 0.389636308, 0.0801708773, -0.548905611, -0.8822618127, -0.0849241391, -0.3132952452, 0.9818118215, 0.4990066588, -0.2351995558, -0.0341517553, -0.0105902534, -0.098740086, 0.0897103399, -0.5103161335, 0.8013827205, 0.306263417, -0.2788944542, 0.5155712366, -0.2254657, 0.4791727066, -0.4261690378, -0.1547609419, 0.2501887083, 0.0883023515, -0.4418652654, -0.8114272952, 0.4929473996, 0.0367859304, -0.4141331315, 0.1203644574, 0.506552279, -0.6316531301, -0.2381663769, 0.3168042004, 0.3597494066, 0.0952062011, 0.0062287133, -0.6574633718, -0.008253729, -0.3081075251, -0.0142215379, 0.1907579154, 0.2939468026, 0.0287851859, 0.9229454398, 0.8700230122, 0.1708717644, -0.1246531308, 0.4428857565, 0.2971795797, -0.6414881945, -0.7313667536, -0.6965723038, 0.2256158292, 0.2576218843, 0.0338481851, 0.4798265696, 0.3230016828, 0.5501593947, -0.0372140221, 0.8811739087, 0.3651490808, 0.4799933434, -0.6136729717, 0.7462012172, -0.5928777456, 0.3128718436, -0.1180954576, -0.798686862, -0.3850547671, 0.744169116, -0.4433046281, -0.0581490025, 0.2670464814, 0.7702378035, -0.2599726021, 0.5198078156, 0.5088700056, 0.1669672132, 0.5713136196, 0.8957175016, 1.0016536713, -0.1490516365, 0.5742912889, 0.3170650601, -0.1394514889, -0.120514974, -0.5961962342, -0.8268973231, -0.4582499862, -0.0610316098, 0.0688590109, -0.1114297286, 1.0457154512, 0.8022875786, -0.8857499361, -0.2055998892, -0.0697126761, 0.1303329617, -0.3285252154, -0.1743469238, 0.1348835826, -0.3315067291, -0.891356051, 0.9781839848, 0.6072188616, -0.3522520661, -0.323433876, -0.4206709862, -0.3311840594, 0.3185340464, 0.5847572088, 0.3123481274, -0.7500624061, -0.3720724583, 0.0396042988, 0.105760105, 0.2296946347, 0.4738585651, -0.55349195, 0.8479411602, 0.6762946844, 0.7185986042, 0.3947205544, -0.0911285803, 0.7305362225, -0.2094898671, -0.005703418, 0.2596218288, 0.49300161, 0.208681643, -0.2333057225, 0.3295454979, -0.2259770185, -0.7160952687, -0.6698054671, 0.1358886063, -1.3026899099, -0.2202692777, 1.2545403242, -0.1097971871, -0.1489476413, -0.5082891583, -0.5664615631, 0.320086807, -0.4409625828, 0.6538519263, 0.6844626665, -0.2348686606, -0.3450403214, -0.7614468932, 0.1142019406, 0.4152649045, -0.805647552, -0.0567576364, 0.5516239405, 0.1618847698, 0.0854699835, 0.3531910777, -0.1361237764, 0.7173424959, -0.1826003641, -0.0693795681, -0.6998201013, -0.6080870628, -0.403018713, 0.3646270335, 0.1824977696, -0.326143086 ]
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.4941114187, -0.5170242786, 0.3669779599, 0.3304568827, 0.0713718459, 0.3489997685, -0.3770750761, -0.3397717476, -0.2379645854, 0.4660158455, -0.5256636739, -0.4216904044, -0.3880045414, 0.1541215479, -0.2230223119, 0.7450481057, -0.1023896113, -0.0578480549, -0.6433695555, -0.2647660971, -0.4209257662, -0.5654373169, -0.4226216376, -0.293828249, 0.4476259947, 0.4236746132, 0.8188050985, 0.9534962177, 0.4435515106, 0.3679100871, 0.0613395721, 0.0650621951, -0.7453680038, 0.3216121495, -0.0885607973, -0.3136258125, -0.2950166166, 0.127358377, 0.3797267973, 0.4681673646, -0.3455792367, 0.3891816735, 0.1959615648, 0.58206743, -0.5560837984, 0.321890682, -0.5699152946, -0.1233414635, -0.4332886934, 0.017575087, -0.2739735842, -0.5254724622, -0.2799934149, -0.565666616, 0.2157877386, 0.2129087001, 0.9921622872, 0.5085843801, -0.1448978633, 0.1069353744, -0.4480068088, 0.7255426645, -0.4341785312, 0.6206384897, 0.3711107969, 0.7817969918, -0.3224029541, -0.843200922, -0.4119791389, -0.2447264194, 0.1370960474, 0.0454429016, -0.3497403264, -0.2658183277, 0.1568010747, 0.1316553652, -0.4708431661, 0.3248358369, -0.259831816, -0.3007234335, 0.809885323, 0.2850421071, -0.1143777147, -0.420301795, -0.4384378195, -0.3983216882, -0.6679849625, 0.1732255816, 0.2823994756, 0.1452450007, 0.147637859, 0.360566169, -0.5063161254, 0.5669261217, 0.1895248592, -0.1582852453, 0.3063558042, 0.01669484, -0.04484725, -0.3284650147, 0.9128220081, 0.5108423233, 0.1153998151, -0.4129783511, -0.2597572803, 0.1769283116, 0.2352998257, -0.7214087844, -0.0531645007, 0.4600380063, -0.4664450586, -0.2694181204, -0.1833166927, -0.7242673635, -0.73364079, -0.3977017403, 0.1461648941, -0.1113436595, -0.1265922636, -0.291175127, -0.0684117675, 0.048075784, 0.4013879299, -0.6787922978, 0.4013020396, 0.9865160584, 0.5053776503, -0.457021594, -0.3607003391, -0.9546496272, -0.1723452359, -0.1309559196, 1.2444438934, -0.5861922503, -0.398149997, 0.0106248455, -0.0433630459, 0.3285816014, -1.002874732, 0.7280695438, -0.3537887633, 0.1597859114, -0.243799895, -0.7466201186, 0.2649069428, 0.2424490452, -0.4882427156, 1.3158031702, 0.3155954778, -0.0948711112, 0.6396542192, -0.426289767, -0.0373728871, 0.5529210567, -0.3388813436, -0.1444763243, 0.0830512345, 0.2902461886, 0.4742625952, -0.5736137629, 0.6019240618, -0.4962007105, -0.1843163967, 0.4715559185, -0.3955288231, 0.49045524, 0.3787176311, -0.3891118467, 0.3482007384, -0.9041304588, 0.2483815998, -0.2087980211, -0.3812820315, 0.155096665, 0.1759519428, 0.2917831838, 0.3431638181, 0.049913194, -0.3848118782, 0.0129898069, -0.0848497823, 0.3130372763, 0.8472841978, -0.0986075029, 0.1618778855, -0.485075593, 0.6045783162, -0.4567915201, 0.2377279401, 0.2414104044, -0.4243422449, -0.5914991498, -0.407632947, 0.4623056948, 0.5289093256, -0.3410690129, 0.5353603959, -0.2267571688, -0.8725824356, -1.2145406008, 0.5870071054, 0.387355715, 0.5014506578, 0.2490191311, -0.5036539435, -0.4902576208, -0.8020762205, -0.2920348942, -0.3180064857, -0.3914153874, 0.569642365, -0.0214357823, -0.0464327484, 1.0945756435, -0.3364857137, -0.1584165096, -0.0812363923, 0.428894639, 0.3054776788, 0.3098966181, 0.157868281, -0.5586034656, -0.5717362165, -0.2297126055, -0.7294158936, -0.5761417747, 0.1437953115, -0.2082849592, -0.0273106787, 0.4894773662, -0.6139142513, 0.1745544672, 0.4929560423, -0.117238678, 0.3297660649, 0.0184722487, 0.1578285396, -0.8606534004, 0.1490453035, -0.0381590091, -0.2938892245, -0.1995176822, 0.1841439605, 0.0817100182, -0.1871967763, -0.5205469728, 0.9458289742, -0.4127472937, -0.0987885371, -0.218890965, 0.3965110779, 0.0228910912, 0.3486629426, 0.0093992734, 0.6859239936, 0.3075063527, -0.3403899968, 0.7064830065, 0.392005533, -0.6457583904, 0.7780447006, -0.7753993273, 0.1643674225, 0.1263903081, 0.2731416225, -0.9834529161, -0.3059540689, 0.1214246228, -0.4498723745, 0.013862635, -0.2900013328, -0.8172537088, -0.3186039031, -0.1765330583, -0.1207227111, 0.8101187944, -0.5068896413, 0.3480229378, 0.5322530866, -0.2739328444, -0.3605432808, -0.2272757739, 0.1106212586, -0.0920278206, -0.6725875139, 0.2258461863, -0.2826635838, -0.4927032292, -0.0990064368, 0.0009446965, -0.0994892493, 0.2136934251, 0.6301929951, 0.3201777935, -0.0981980413, 0.1543962061, -0.3514218926, -0.4156965911, 0.1160888672, 0.0431865193, 0.4057650566, -0.0517647229, -0.37960729, -0.2844480872, -0.0273532178, 0.4373114407, -0.3339858949, 0.3875495493, 0.6200005412, -0.1787298173, 0.0649336427, -1.081636548, -0.0693827942, -0.4768392742, 0.1649204195, -0.3574695885, -0.8573471308, 0.4854392707, -0.2335773259, 0.174828127, 0.4283084869, 0.6867574453, -0.0681684613, 1.0614125729, 0.1268712282, -0.139851287, 0.178747803, 0.1699932218, -0.3444925547, -0.7263404727, -0.1884300113, -0.7516306639, -0.4026869237, -0.5638921261, -0.5787416697, 0.2557258308, 0.1390034854, -0.0615124516, 0.2832837105, -0.5219661593, 0.6118813753, 0.5226952434, -0.0140701886, 0.2550998628, -0.2042495012, -0.0383414701, -0.168916896, -0.5353690386, -0.6230263114, 1.0411295891, 0.3387385011, 0.6475784779, 0.1220015138, 0.6761474609, 0.347071439, 0.8272859454, -0.4297968447, 0.5253878832, 0.2148002386, -1.0329329967, -0.3474987447, -0.4199234247, -0.9964222908, 0.2343357652, -0.3886331916, -0.8006958961, 0.2692612708, 0.0029153179, -0.3527116477, 0.0476685241, -0.6095446944, 1.0716403723, -0.2143972516, -0.9137820005, -0.0272439644, -0.5704767108, 0.0614294037, -0.1058772728, 0.3862863183, -0.5219813585, -0.052709464, 0.5230865479, -0.7198587656, 0.7105383873, -0.2268850803, 0.1002332568, 0.3783707023, 0.081229955, 0.6953420639, 0.2324416041, -0.4459205866, 0.0601375625, -0.1620848924, -0.4693830013, -0.5170804858, 0.8152039051, -0.9203874469, -0.7091048956, -0.23467803, -0.3292302787, -0.5169865489, 0.0277117323, 0.1216171384, 0.3812235594, -0.4269579649, 0.3548201621, 0.3122639954, -0.0358159579, 0.2747829854, 0.6879807115, -0.3132764995, -0.5229231119, 0.7386260629, -0.0705364943, 0.0640790239, 0.3580881953, 0.0890531167, -0.4644256532, -0.4009487331, -0.6436011791, -0.0180090275, -0.5309258699, -0.3732297122, -0.5171468854, -0.0592566207, -0.311208874, -0.219585374, -0.4711169004, -0.2922166586, -0.0950979143, -0.1277246326, 0.3931509256, 0.4400509, -0.0974679515, -0.0101591926, -0.8991313577, 0.2221525013, 0.5589954853, 0.4744887948, -0.144813776, -0.4253673255, -0.0217384081, -0.1935391724, -0.2501525283, -0.5514751077, 0.4005676508, -0.0866786316, 0.7961570621, 0.3067353964, 0.153065294, 0.7366104126, -0.3782246113, 0.5695699453, -0.0287663061, -0.8363200426, 0.3671537936, -0.3427881896, 0.4209091663, 1.0672107935, 0.3296736181, -0.4686754942, -0.4200693369, -0.6028301716, -0.7024879456, 0.5897216201, 0.1912434399, -0.0178918708, -0.091868028, 0.0374500379, 0.3635951579, 0.2752738595, -0.4197297096, -0.1688058376, -0.2567285299, 0.0255026501, -0.2230402529, -0.1037047282, -0.1793039292, -0.0969837308, 0.4609772563, -0.0554612502, -0.1123303771, -0.2498072833, -0.1973320842, -0.3524526358, 0.5680570602, 0.0436026454, 0.8791425824, -0.5173637271, -0.0894233435, 0.3169363439, -0.040850658, 0.181348905, 0.6315846443, -0.0104105314, 0.0280363318, 0.2496905476, 0.7617632747, 0.5347797871, -0.8884758353, 0.4935791492, -0.0672349632, -0.1068102941, -0.0381260179, 0.1608217061, 0.2640758455, 0.2733614147, 0.5215338469, 0.003727295, -0.0280385464, -0.4289854467, 0.1941244602, 0.1704027206, -0.6080213189, -0.1950802505, 0.8416452408, 0.658184886, -0.5207306147, 0.6097496748, -0.208957687, -0.1241735369, 0.3649801016, 0.0860059857, 0.8979695439, -0.1742957234, 0.2719223201, 0.2334754318, -0.0519721955, -0.0041335127, 0.1449646801, -0.1579542607, -0.4706210792, -0.2980442345, -0.6644411087, -0.8158690929, 0.0143956942, -0.6422646046, 0.4157964885, -0.5274754167, -0.2613225281, 0.1553208232, 0.1035949811, -0.9119958878, 0.1421617419, 0.092254281, 0.9374101758, -0.4419972897, 0.5411216021, 0.5594311953, -0.4262183011, -0.7452971935, -0.3955232203, 0.3712272644, -0.9728236198, 0.5627422929, -0.0014266262, 0.3701939583, 0.0337934978, -0.6361618042, -0.7805354595, 1.1029911041, 0.2738020718, -0.7597016096, 0.2591461241, -0.0002981315, 0.7027750015, -0.3248606324, 0.499030143, 0.2899562418, 0.5926134586, 0.1529393643, -0.9820193648, 0.1030157134, -0.3760105968, -0.2069370896, 0.238038376, -0.8927666545, 0.4953809381, 0.1559650898, -0.1590398699, -0.0208575558, 0.5597347617, 0.6223015785, 0.3765197992, 0.454845041, 0.4274154603, 0.7318705916, -0.186657697, 1.0930825472, -0.5690146089, 0.0655802786, 1.1006356478, -0.7070310116, 1.3159453869, 0.2975248098, -0.3997055292, 0.6221128702, 0.6344719529, -0.3406717777, 0.2977687418, 0.4810242653, -0.1145541742, -0.4858162403, -0.4122522771, -0.4606055319, 0.3945739865, -0.0755720362, -0.0318763144, -0.1247340813, -0.3091525137, 0.0426128246, 0.2106109858, 0.0163123719, 0.8569880724, -0.1007036269, -1.0208234787, 0.6717781425, -0.1032932252, 0.4970541298, -0.5681526661, 0.2052689046, -0.5025085807, 0.1787183881, -0.1643868536, -0.6113587022, -0.1764639467, 0.2930326164, -0.0224483833, -0.5759069324, 0.667678237, -0.1381502897, -0.4209980965, 0.1251573712, 0.8156599998, 0.3851663768, -0.2169651836, -0.7274380326, 0.4272683561, -0.281678915, -0.2401448041, 0.4142047465, 0.4988539517, 0.0078400141, 0.7659742236, 0.7694664001, -0.0441966206, -0.2322786152, 0.2248236835, 0.9528781176, -0.6504539251, -0.2342604101, -0.6203818917, 0.5709915757, -0.2720185816, -0.5797257423, 0.7221030593, 0.7789092064, 0.6438590288, 0.1461388469, 0.6899103522, 0.0271763969, 0.8074462414, -0.1707623899, 0.8088242412, -0.3948932588, 0.3617262542, -0.2668120265, -1.1489197016, -0.036384061, 0.1830407381, -0.1667397916, -0.0097984644, 0.4563230276, 0.8381357789, 0.091185227, -0.1646349132, 0.2226256132, 0.1393208951, 0.2194927931, 0.4136923254, 0.9799461365, -0.2892819345, 0.9581164718, -0.0887900963, -0.3515532613, -0.3743045628, -0.9356393814, -0.8739616871, -0.4368851185, -0.4786004424, -0.4180240929, 0.1075615287, 1.0989207029, 1.0426710844, -0.8212997913, -0.5342495441, 0.1662210226, 0.1520370096, -0.2899383008, -0.2827546299, 0.0732095391, -0.3166934848, -0.5923793316, 0.5221213698, 0.2586607933, -0.2669121027, -0.4355176091, -0.2993846834, 0.0579433441, 0.0202098284, 0.3219012916, 0.4610501528, -0.8102055788, -0.1715505421, 0.2199487835, -0.3888401091, 0.2079299688, 0.3619580567, -1.1523569822, 0.4759580791, 0.3615815043, 0.6967226863, 0.6752052903, 0.256023705, 0.7227399945, -0.6541002989, -0.1956668049, 0.1136243567, 0.0902127624, 0.5969563723, -0.0364952348, 0.7777356505, 0.2036264837, -0.6587954164, -0.9071627855, -0.1191850081, -0.8470021486, -0.0115149086, 1.0802233219, -0.0012372732, -0.2553731501, -0.1607467979, -0.2419035137, -0.0462343805, -0.6466097236, 1.0855354071, 0.9118800759, -0.1528908163, -0.2902930677, -0.4486836791, 0.5726405382, 0.3395283222, -1.0916385651, 0.2177812606, 0.6173870564, 0.1304971725, 0.0672141388, 0.5502074957, -0.0263978094, 0.302455008, 0.099174507, 0.2013117671, -0.1653537601, 0.0928934366, 0.0220009778, 0.4403134584, 0.3247997165, 0.1544246525 ]
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.2131556869, -0.6980269551, 0.2499888539, 0.2488868088, 0.1842713058, 0.4400933981, -0.2916768491, -0.9504737854, 0.4221822917, 0.4850458503, -0.3884240687, -0.5427013636, -0.6960834265, -0.086245738, -0.2022433579, 1.1402155161, 0.1906913221, 0.0853010193, 0.1689182967, 0.0113558918, -0.4209104478, -0.6576915979, -0.7125550508, -0.1446430236, 0.7031331062, 0.7692697048, 1.0646010637, 0.6696560383, 0.9074546695, 0.3210813999, -0.2675406337, -0.31375283, -0.5456804633, 0.1973022223, -0.1259417534, -0.3290039301, -0.5923432112, 0.1253573149, 0.3197970688, 0.9380063415, -0.0269347709, 0.2706036866, 0.1262000352, 0.6990271807, -0.6786901355, 0.3265123963, -0.4283739626, -0.2980791926, -0.0766317695, -0.2619584501, -0.5380750299, -0.196149379, 0.0063418727, -0.5686956048, 0.0926932916, 0.1093838438, 0.8347927928, 0.2317279428, -0.267323643, -0.0622819886, -0.9762621522, 0.7081003189, -0.3935766518, 0.374504447, 0.4862338901, 0.9466786385, 0.0594210476, -0.5698660612, -0.2567841709, -0.1542413235, -0.0965382531, 0.1933730245, 0.1238221228, 0.4705079198, -0.0665224344, -0.2463462949, -0.3358123302, 0.3369126618, -0.6780830622, -0.308044821, 1.0587946177, -0.0241869334, 0.3817543387, -0.2321108282, -0.4837695062, -0.1732984483, -0.7240557075, 0.0051001175, 0.4976200163, 0.5775948763, -0.5126796365, 0.2486328483, -0.4358616769, 0.6120896935, -0.1134412289, 0.0480363443, 0.045242548, -0.5083414316, -0.0185328517, 0.1404958665, 0.5381068587, 0.820030272, 0.3743287325, -0.1971256584, -0.2378000617, 0.4503999054, 0.2350973934, -0.2986060679, -0.5620189905, 0.3812568784, -0.4370331764, -0.6344406605, -0.0249318369, -0.8309541941, -0.3948852718, -0.4307663143, 0.3467185795, -0.3465023935, -0.4923204482, 0.1151248589, -0.0809173286, 0.2376234382, 0.287147373, -0.92788589, 0.1829186529, 0.7889268994, 0.4732617438, 0.2949320078, -0.3995031714, -0.8366668224, 0.2093243152, -0.3841586411, 0.9968545437, -0.6808336973, -0.2166049629, -0.0636118278, -0.2815029025, -0.0238428358, -0.2877595723, 0.0621874295, -0.5355800986, -0.0154937701, -0.2293098271, -0.1216453984, -0.2448629588, -0.0226083994, -0.4335252047, 0.7988886237, 0.1496548355, -0.5590138435, 0.799330771, -0.9912383556, -0.3057046235, 0.5444267392, 0.038793616, -0.1663375795, -0.2965137362, -0.1599900872, 0.7301748991, 0.0463793501, 0.2328615785, -0.4409123957, -0.2791149318, 0.0126860477, 0.3117488623, 0.6960754991, 0.3267059922, -0.3182086647, 0.9075059295, -0.457138747, 0.0492348187, -0.183897838, -0.1186374575, -0.3841726184, 0.1860767156, 0.6652614474, 0.2807164192, -0.114379026, -0.5531284809, -0.3326882124, -0.2048150152, 0.6925345659, 0.6360730529, 0.0967358574, 0.5613493323, -0.2805143893, 0.4640712142, -0.3141676784, 0.7070217729, 0.1937387884, -0.338832736, -0.6692154408, -0.3232348859, 0.4438995123, 0.5574699044, -1.0050270557, 0.4082649052, 0.0122732529, -0.7330904603, -0.3940924406, -0.0686292946, 0.6856666803, 0.2947035134, 0.3085374534, 0.1275005788, -0.8559811711, -1.1219507456, 0.0012440615, -0.518612802, 0.4106224477, 0.1300391108, 0.6002988219, -0.5507688522, 0.7021235228, -0.0586645342, -0.0802437812, -0.6560737491, -0.0867191032, 0.026334025, 0.505559206, 0.5414594412, -0.9205399156, -0.6507259607, 0.1642072946, -0.8949917555, -0.0155063691, -0.0540903173, -0.1973277479, 0.5501973629, 0.6276803017, -0.1789685488, 0.2504189909, 0.9494395256, -0.8541958332, 0.7112957835, 0.0921592489, 0.3768554032, -0.9199184775, 0.0990132317, 0.4606337547, -0.3110775948, -0.9228197932, 0.4874584079, -0.0469751172, -0.1941959113, -0.6715998054, 0.3983625472, -0.3717854619, -0.1255026609, -0.2314532101, 0.2710116804, -0.5026165247, 0.135556981, 0.1290444881, 0.8230184317, 0.6028229594, -0.759608984, 0.1278455704, 0.0933732018, -0.163927272, 0.5539980531, -0.8727251291, -0.2721604109, -0.1350737959, -0.0546184964, -0.9738622308, -0.4384616911, 0.2450359911, -0.7267781496, 0.3000335693, -0.088923797, -0.5164840817, -0.0512960255, -0.2131815553, 0.3172343969, 0.634188652, -0.2377094477, 0.177931115, 1.0696027279, -0.3348360956, -0.3753491342, -0.2119319141, 0.3094540536, -0.2984528542, -0.7910118103, 0.2315095514, 0.1141757965, -0.7089647651, -0.0454145148, 0.1670258194, -0.2558761239, 0.4289236069, 0.0854618475, 0.4472627044, -0.1166745722, 0.0919735804, -0.3008909523, -0.5738832951, 0.0728132874, 0.200041011, 0.4593873322, -0.3416319489, 0.1556750685, -0.5843419433, 0.5957548618, 0.4938513935, -0.1831713915, 0.8998626471, 0.3772960901, -0.3367142975, -0.2307170033, -0.4575536847, -0.5148915648, -0.4994770288, 0.5297583938, -0.0425964631, -0.9225149155, 0.4926222563, 0.1501006782, 0.2011884898, 0.5065863729, 0.2735791802, -0.6347127557, 0.7057573199, 1.0804686546, 0.0037592913, 0.3175182641, 0.0293186959, 0.0031540899, -0.5172197223, -0.2889247835, -0.6276676655, -0.2921285331, -0.2735126317, -0.3317606747, 0.5646565557, 0.2889743149, -0.3851856589, 0.6399730444, -0.7648568153, 0.3462660909, 0.3268827498, 0.1480838805, 0.1121858433, -0.272271812, 0.1939487308, -0.0788188577, -1.1874667406, -0.7560540438, 0.7679787278, 0.7734565735, 0.6971861124, 0.3600144684, 0.8074938655, 0.3912373185, 0.5897529125, -0.5431720614, 0.6477110386, 0.2030933201, -0.8401299715, -0.492605567, -0.3643057644, -0.833014667, -0.0411069356, -0.7108209133, -0.7098813653, -0.018283911, 0.4559432864, -0.3717284203, 0.0971953049, -0.9433138967, 0.8034041524, -0.1952019334, -0.2934483588, -0.2737642229, -0.6597369909, 0.3994264901, 0.0716828853, 0.4928500354, 0.0964633599, -0.0114226574, 1.1533939838, -0.2824851871, 1.4641128778, -0.2098596841, 0.1780959964, 0.1933661997, 0.1294650584, 0.4789932966, 0.0012000841, 0.0284930151, 0.3738313019, 0.0679944679, -0.4645710588, -0.3128991723, 0.4649692476, -0.71363765, -0.5939950347, -0.3768550158, -0.6226806641, -0.142580688, 0.0038810952, 0.0135882394, 0.1309801936, 0.1531393528, 0.3172779083, 0.3602074981, -0.2927951813, 0.5002220273, 0.4671087861, -0.1482762247, -0.4559129775, 0.6648388505, -0.1147953495, 0.6073373556, 0.1729402095, -0.0925383568, -0.3725815713, -0.658331573, -0.2404415905, 0.4001689851, -0.9397048354, -0.1447845846, -0.5513864756, -0.3213532269, -0.2998836339, -0.5639148951, -0.6484417319, -0.4716270268, 0.1769165695, -0.2083173841, 0.5719198585, 0.9635228515, -0.009557711, 0.3188099265, -0.9160754681, -0.0829587951, -0.0818651542, 0.5722826719, -0.3946564794, -0.1691642702, -0.4525225461, -0.1298502535, 0.1769814938, -0.9398104548, 0.1588201523, -0.1630299836, 1.0077762604, -0.1206630245, 0.2702761889, 0.402304709, -0.3562066555, 0.7214779258, 0.571844101, -0.9732544422, 0.8316434026, -0.7748985291, -0.2015299797, 0.5636456609, 0.3223879039, -0.6064519882, -0.379116714, -0.7576956153, -0.8282192349, 0.396214813, 0.2229753584, -0.3794947565, -0.0695000663, 0.3505784869, -0.0732655227, -0.2377799004, -0.6184425354, -0.267891705, -0.0299924035, -0.0657660067, -0.5404696465, -0.4138052762, -0.3303802013, 0.1146278679, 0.5502465367, -0.114682883, 0.2831472158, 0.0917960852, -0.0470481813, -0.1968749166, 0.1288169175, 0.6881912351, 0.7727389932, -0.0363076553, 0.0954484046, 0.1701314896, -0.1677339375, 0.0801549405, -0.0976957008, -0.0565333068, -0.1927658021, 0.8455430865, 0.3641178608, 0.6646841764, -0.4558844268, 0.2068015486, 0.3656951785, -0.5286281109, -0.2258717418, 0.3841666877, -0.0870075598, 0.3272973299, 0.1696298718, 0.3878950775, -0.0846628547, -0.598703444, 0.6502833962, 0.3078305125, -0.9009758234, -0.4633482695, 0.9104738832, 0.9297698736, -0.6497737765, -0.0853959993, 0.1044436097, -0.5514361262, 0.712064743, 0.2799571455, 0.7198890448, -0.2231284082, 0.5278641582, 0.4254437983, 0.4725546539, 0.0162186082, 0.3083798885, 0.2195770144, -0.6299799085, -0.7407147288, -0.3761901259, -0.6016407013, -0.3456213772, -0.5505542755, 0.1313949525, -0.6889601946, -0.1963294894, 0.088564612, -0.1799034476, -0.3198789656, 0.1844836622, 0.0349370986, 0.9041580558, -0.9990953803, 0.69728899, 1.0143419504, -0.4604432881, -0.8118629456, -0.2196059376, 0.2287617624, -0.5120485425, 1.2955327034, -0.0851971954, -0.1947878003, -0.1158927009, -0.207252562, -0.8357319236, 1.0346037149, 0.1327055246, -0.4941599369, 0.2581087649, -0.1136796325, 0.5499550104, -0.2788896859, 0.0437919348, 0.179583028, 0.5502072573, -0.0058147768, -1.2237657309, 0.1315307021, -0.2931713164, -0.170002982, 0.1894685179, -0.6178086996, 0.5573133826, -0.391243875, -0.4083360732, -0.3575492203, 0.5671239495, 0.3174037933, 0.0993287563, 0.6693096161, -0.2231794149, 0.5675005317, 0.0756812096, 1.322815299, -0.5401754379, 0.3397061527, 0.6279899478, -0.2874538302, 0.9126870632, 0.4855256379, -0.1340269595, 0.152325213, 0.6232930422, 0.3162166476, 0.2240250111, -0.0778613314, -0.0404276364, -0.5902453065, -0.0013407685, -0.3904735744, 0.5938816667, 0.0877780914, -0.2585644126, -0.1786189824, -0.2204672098, 0.0339973867, 0.6683307886, -0.3142779768, 0.6106664538, -0.1387395561, -0.6741138101, 0.5389779806, -0.0209164061, 0.7177093625, -0.3180610538, -0.1528331786, 0.0531561337, 0.2189579606, -0.403709203, -0.9855249524, 0.6671273708, -0.1019975245, -0.2687702179, -0.1987809986, 0.7438589334, -0.18879731, -0.5303123593, 0.5749678016, 0.3730556667, 0.0307682548, 0.2020290941, -0.6772601604, 0.2661592066, -0.0515236668, 0.0946541131, 0.2491447926, -0.0354559906, -0.1402209699, 0.9994961619, 0.5707062483, 0.3114279509, -0.1774903387, 0.0237480439, 0.8714732528, -1.0131115913, -0.6201693416, -0.5789909363, 0.8780871034, -0.1618466675, -0.2868036032, 0.7271522284, 0.2260201126, 0.5762604475, -0.1372125596, 0.687911272, -0.025351027, 0.4620609283, -0.6550931334, 1.2617884874, -0.0551754646, 0.5574100614, -0.5563579798, -0.8703433871, -0.8689851761, 0.6691225767, -0.3922331035, 0.1094590724, 0.6930815578, 0.8830096126, 0.2462002188, 0.0621256195, 0.5382684469, 0.048317723, 0.4686928093, 0.642789185, 0.999812603, -0.4962571263, 0.6453691721, -0.123829715, -0.6331880093, -0.2155697197, -0.7596728802, -1.1310228109, -0.6471323967, -0.68023175, -0.3418656588, 0.5292487144, 0.7681922317, 1.2344447374, -0.6673913598, -0.2612555921, 0.125084728, -0.052525159, -0.4039452374, -0.2586385608, 0.0438582227, -0.792077899, -0.3322823942, 0.2619898021, 0.2225025743, -0.3016753793, -0.2692141533, -0.4402106106, -0.2347818613, -0.2886816859, 0.8229901791, 0.2235486507, -0.5915187597, -0.9190417528, -0.1418830901, -0.145052582, -0.26259166, 0.422013998, -0.5207989812, -0.0010756979, 0.3403541446, 0.5713005066, -0.0463930331, -0.2464676499, 0.7492018342, -0.3712488413, 0.1779709309, 0.3170881867, 0.2497557551, 0.1861231774, -0.6189522743, 0.8133375049, 0.3297793269, -0.7000789046, -0.7328323126, 0.3811691999, -1.211294055, -0.3389237225, 1.6241852045, 0.0770935789, -0.2419579774, -0.5423423648, -0.0428890064, 0.0526827052, -0.4053295255, 0.9058359861, 0.4101781249, -0.1277251542, -0.4703858793, -0.6942121983, 0.7071568966, 0.2978741825, -0.8136031032, 0.2857179642, 0.408572942, 0.3639802039, 0.1711973995, 0.4829827249, -0.1177234948, 0.7052096725, 0.2933548689, 0.3598977327, -0.3298482299, -0.7312676311, -0.0253720582, 0.3161032498, 0.0838062465, -0.1691816598 ]
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.650601387, -1.1960084438, 0.6688848138, -0.1667728722, -0.1237311289, -0.1655090898, -0.4462553561, -0.2651974261, -0.299051106, 0.7888857126, -0.7373004556, -0.5539466143, -0.2833899856, -0.3282865286, -0.3615957201, 0.75956738, 0.1778634936, -0.1460901499, -0.1052498147, 0.1632543504, -0.2300592512, -0.1435125619, -0.6750950813, -0.5734238625, 0.5087903738, 0.7677383423, 0.7887003422, 0.8990220428, 0.1694139391, 0.2732551098, -0.1924993992, 0.2426840365, -0.6016241908, 0.1322534531, -0.2895949483, -0.5366379023, -0.2946032584, 0.1262783557, 0.4022583365, 1.070014596, -0.1526084244, 0.0590100661, 0.1688196361, 0.7291133404, -0.7571943402, 0.0062428568, -1.0954385996, 0.0981380567, -0.2756533623, -0.1710707843, -0.4154856205, 0.0670780092, 0.3407870233, -0.5788766742, 0.452940017, -0.1555013955, 0.9794496894, 0.4464415312, -0.1303417236, 0.2595983148, -0.9129164219, 0.9592409134, -0.9081721902, 0.6969630122, 0.6134728789, 0.3348297477, -0.164421007, -0.7502520084, -0.4604748487, -0.231335327, 0.1447282135, 0.0032876809, 0.0368686877, 0.2738719881, 0.0110073164, 0.3767338693, -0.1675959826, 0.3204985857, -0.1273682415, -0.3397656977, 0.305542022, 0.0930887014, 0.3103901744, 0.0963702276, -0.2488140464, -0.0339473747, -0.4746317863, -0.0832981765, 0.191164881, 0.6750725508, -0.0140270228, 0.4064292014, -0.4495152533, 0.9290999174, 0.282823354, 0.0006414621, -0.0147355646, -0.170100525, -0.4400734603, 0.1218688041, 0.4232279658, 0.5626906753, 0.2361905277, -0.5274050236, -0.2639673054, 0.0013173604, 0.0755149126, -0.8062209487, -0.5360181928, 0.4250919819, -0.1954843849, -0.2195257097, -0.3071107864, -0.3029246628, -0.2939876616, -0.6400424242, 0.3897351623, -0.6552475095, -0.4145188928, 0.2368072271, 0.0553945154, 0.4795642495, 0.2865647674, -0.8787558675, 0.6809108853, 0.9515901208, 0.7647019625, 0.0373443626, -0.2545430362, -0.7491586804, 0.1535169184, -0.5417884588, 0.8442512155, -0.4170572758, 0.1913678795, -0.2196858376, -0.0528615527, 0.0220673941, -0.6158289909, 0.7026007175, -0.6112870574, 0.1635637134, 0.0335306115, -0.862191081, 0.0277877059, 0.2014106214, -0.6720032096, 0.8073428273, -0.1568126827, -0.6120316982, 0.2955625355, -0.2866515517, -0.1079180464, -0.0341416337, 0.1308598369, -0.2711440921, 0.2297123373, 0.3030330241, 0.8378612995, -0.5732131004, 0.1501622051, -0.2518586516, 0.1350786686, 0.0395164602, -0.2468266785, 0.5349422693, 0.561409235, -0.156808123, 0.0389986597, -0.8922908306, 0.3945222795, -0.0041946275, -0.1670674682, -0.7619552016, 0.1925702244, 0.1002188772, -0.0404201411, 0.0302757826, -0.5744205713, -0.058564119, -0.9074353576, 0.6123859286, 0.607867837, -0.2424835861, 0.7962886095, -0.1108464822, 0.1019704938, 0.110844031, -0.0606290214, 0.0438139774, -0.1679335833, -0.9791656137, -0.0967493132, 0.5691962838, 0.5363224745, -0.734647572, 0.2186961025, 0.0596811026, -0.5059635639, -0.5996029973, 0.17934753, 0.4620222449, 0.5522514582, 0.3717793524, -0.0155887846, -0.0940249488, -1.0299440622, -0.3970472813, 0.1450134963, -0.0310969278, 0.0806641281, -0.0770453289, 0.1696256846, 0.993925035, -0.4827928543, -0.1485374719, -0.0536691211, 0.0760757029, 0.2206262797, 0.840810895, 0.4827613831, -0.7241466641, -0.4128936231, 0.366084069, -0.280176878, -0.2646411955, -0.1198739335, -0.3114035726, 0.2716748714, 0.8714647293, -0.5214646459, -0.1356995702, 0.5486805439, -0.4597890079, 0.2181145102, -0.2197525203, -0.1966422051, -0.7333673835, -0.1799429208, 0.0437691286, -0.4448637366, -1.0275914669, 0.2654394209, 0.1056832746, -0.1209060326, -0.3805682957, 0.4522645772, -0.6590881348, 0.3087695837, -0.0855777562, 0.2083867341, -0.099557735, 0.3435047865, -0.1102571487, 0.2831735611, 0.6821838021, -0.7311842442, 0.067614384, -0.3805668056, -0.4763200581, 0.4546618462, -0.5439121127, 0.3515771627, -0.2647988796, -0.2941854, -0.8416954875, -0.0950548574, 0.2862004936, -0.0672773346, 0.3521186411, -0.6883372664, -0.391430974, 0.1932159215, -0.0551330969, 0.2391783893, 0.3607479632, -0.2737786174, 0.6031067967, 0.4977397323, 0.0197918024, -0.2093647867, -0.6728536487, 0.0700283349, -0.4568683505, -0.8264108896, 0.667339623, -0.1035280451, -0.3533094227, -0.0095150564, -0.2464024723, -0.427880913, 0.4175112545, -0.2180896997, -0.1100698709, -0.5959391594, -0.0412934572, 0.2299330682, -0.3620839715, -0.1095189676, -0.7337741852, 0.6165298223, -0.1681802273, -0.0298556183, -0.4148532152, 0.2911429703, 0.4556442797, -0.3011134267, 0.8896790147, 0.7294874787, -0.6218107939, -0.6912814975, -0.7550125718, -0.2062357664, -0.4842262268, 0.1851503104, -0.5805592537, -0.7711192369, 0.7712751627, -0.2404220551, 0.0447827168, 0.4425884187, 0.4199171662, 0.0302757882, 0.9392894506, 0.9494250417, 0.4001086354, 0.5374444127, -0.3508833647, 0.1315840036, -0.4634597003, -0.0581814237, -0.630087316, -0.1554623246, -0.566619873, -0.5764619708, 0.1146027297, 0.658693254, -0.2496662289, 0.2189307511, -0.3730723858, 0.8433387876, 0.3249361813, 0.1492608488, 0.1784215122, 0.1173017621, -0.3610257208, -0.123016566, -0.9120900631, -0.3698328137, 0.4971590638, 0.4045368433, 0.6349335313, 0.1841724068, 0.6060231924, -0.0666250885, -0.2538284361, -1.0254784822, 0.4624380469, -0.4226330519, -0.3265752494, -0.5747633576, -0.4067206085, -0.7911540866, 0.1589685977, -0.1847570091, -0.7063378096, 0.1935506463, 0.4458416402, -0.3640125692, 0.2635498643, -1.0118750334, 0.9923080802, 0.0106985057, -0.5694684982, -0.2427425086, -0.6253634691, 0.1641145349, -0.0338560082, 0.2209595293, -0.5969683528, -0.1230951324, 0.6170336008, -0.7137188315, 0.9215699434, -0.4355409443, -0.3415082395, 0.1566588879, 0.5197378397, 0.3944032788, -0.2052263916, -0.3523961306, -0.0587674007, 0.3456549048, -0.4809825718, -0.7226885557, 1.0352869034, -0.7282347679, -0.5421836972, 0.034812659, -0.6665190458, -0.5030696988, 0.4110662341, -0.0259909295, 0.477701813, -0.0773988366, 0.0472561605, 0.8131986856, -0.2007543445, 0.2176554799, 0.4842500389, -0.047428038, -0.0744710714, 0.9403922558, 0.3790717423, 0.5495302677, 0.5306655169, 0.6786181927, -0.0101943035, -0.8357014656, -0.3914080858, 0.0776105598, -0.6714916229, -0.2068734169, -0.5091457367, -0.2802113891, -0.1858214736, -0.0925092846, -0.7103426456, -0.5718035102, -0.1594641954, 0.0827542469, 0.5648872852, 0.2555195987, -0.0302362312, 0.1465649754, -0.6984828115, 0.1584469676, 0.2014192641, 0.6573873162, 0.1003742218, -0.4073316753, -0.2969865203, 0.0739931241, 0.0599488951, -0.5196284652, 0.2020010352, 0.6717486382, 0.7534745932, 0.2121536732, 0.4115695059, 0.8223279715, -0.6455659866, 0.704380095, -0.0395546034, -1.1198562384, 0.5145044327, -0.3974437416, 0.4329141378, 0.4827902913, 0.115366444, -0.4213052094, -0.555108726, -0.5176122785, -1.2088142633, 0.6493790746, 0.1990976185, 0.4088671207, 0.2042315751, 0.6052005887, 0.2086212188, -0.1645041257, -0.3892044425, -0.2728413045, -0.0687064826, -0.0304040276, -0.0611428209, -0.2707798481, -0.0550296418, -0.3462890089, 0.4716437459, -0.24662292, 0.014043049, 0.2040479779, -0.2263844758, -0.095857814, 0.2489043623, 0.3478903174, 0.7133432627, -0.2430812567, 0.6214093566, 0.3016715646, -0.1199864522, -0.2274039239, 0.0059868456, -0.2296260446, -0.1763202995, 0.3201906681, 0.8438506722, 0.186052382, -0.4543779194, 0.1313963383, 0.1595786959, -0.1788689643, -0.1721967161, 0.2507072091, 0.1720887721, 0.4092040062, 0.0123306159, -0.0607389435, 0.1015832722, -0.4676347375, 0.3272311985, 0.3155755401, -0.6278952956, -0.1283963919, 0.5618716478, -0.0017440971, -0.1439066529, 0.5072327852, 0.2179854959, -0.2155581117, 0.4116395116, 0.6480544209, 0.8766255379, -0.1561874002, 0.1593769789, 0.1600020826, 0.1978428364, -0.0967494622, 0.0739628375, -0.1346685737, -1.0430634022, -0.6395719051, -0.7395656705, -0.104996942, 0.1940697879, -0.6723916531, 0.3687850535, -0.7031628489, -0.012870281, 0.4844542146, -0.1789234579, -0.5883340836, 0.292345345, 0.3981868625, 1.066554904, -0.7578636408, 0.978879869, 0.5766639113, -0.069497779, -0.7698200345, 0.1397905052, -0.0264174473, -0.7575719953, 0.4325573146, -0.1776559651, -0.4072322547, 0.2595327795, -0.7685475349, -0.7981671691, 0.7352089286, 0.7813033462, -0.5299960375, 0.1506360769, -0.0220861267, 0.5666543841, -0.2554805577, -0.1470312923, 0.911152482, 0.2273416817, -0.0168467201, -0.9551393986, -0.0279416554, -0.2712611854, 0.1656149775, 0.3738842905, -0.3985289931, 0.8703754544, -0.0524663106, -0.3142712116, 0.0402888991, 0.6620205641, -0.1757419854, 0.1813215017, 0.7762102485, 0.4584161043, 0.7259579897, -0.0573602319, 0.9098297954, -0.4102667868, 0.6681268215, 1.1465785503, 0.1426691264, 0.8566845059, 0.6154259443, 0.2116484046, 0.1941891462, 0.5458551049, 0.2942472398, 0.8510731459, 0.3899235725, 0.0124681322, -0.780364275, -0.2380587608, -0.0736507401, 0.3241636455, 0.4860889316, -0.1403565407, -0.374488771, 0.0301770791, 0.2971899509, 0.2478569597, -0.3802723587, 0.858392179, 0.2234971821, -0.4367438555, 1.1141201258, 0.2133443803, 0.3136231899, -0.4003732502, 0.0529746525, -0.2361761183, 0.389138341, -0.2782479227, -0.8167060018, 0.4358190596, -0.0429032482, -0.2304890901, -0.3685920537, 0.7287887335, -0.5894136429, -0.549695015, 0.3334438503, 0.6494252682, 0.2084474266, -0.0099124303, -0.6999585032, 0.0874267444, -0.2420985848, -0.1955999732, 0.2294329852, 0.7598465085, -0.0828197673, 0.5189785957, 0.5424964428, 0.0995342806, 0.1042720377, 0.3284521699, 0.9126157165, -0.5703761578, -0.4590459466, -0.858776629, 0.6727371812, 0.1206957474, -0.1378388405, 0.4712837636, 0.3447653651, 1.1247525215, 0.0515464619, 0.456574589, 0.0153597519, 0.4344053566, -1.2425432205, 0.8578392267, -0.6835251451, 0.4745594859, -0.5241017342, -0.9482607841, -0.6076070666, 0.5760859847, -0.3694816232, -0.2121973634, 0.4832131565, 0.9464886785, -0.6596746445, -0.2045770288, 0.5386990309, 0.6737567186, 0.1284905076, 0.3166612089, 0.7605933547, -0.362187475, 0.2259744853, -0.7253593802, -0.1784967482, 0.1420300752, -1.0970858335, -0.7914671898, -0.7371997237, -0.5899917483, -0.38492167, 0.058157675, 0.841942966, 0.9335734248, -1.0310535431, -0.2903707027, -0.219067663, 0.037379209, -0.3253414333, -0.1936237961, 0.4657402635, -0.4651594758, -0.6281566024, 0.306519866, -0.0178432968, -0.1030147895, -0.2193339169, 0.0671159029, 0.0192359779, 0.117593579, 0.6641857624, 0.0133440662, -1.0040668249, -0.5373687744, -0.2081638575, 0.0730052739, -0.0828280672, 0.8013363481, -0.6941741705, 0.4528473318, 0.6126903296, 0.773136735, 0.6153278947, -0.2618971169, 0.815043807, -0.5606946945, 0.2889064848, 0.1220329478, 0.0497931205, 0.3405021131, -0.1921624243, 0.1766988337, 0.0319410115, -0.3836557865, -0.823469162, 0.2857191265, -1.0629366636, -0.4336139858, 0.8869982362, 0.0204527471, -0.3069335222, -0.2036463022, -0.2092048377, 0.2152469009, -0.2093750983, 0.5124077797, 0.5102677941, -0.0038318511, -0.5067858696, -0.7259392142, 0.6663064361, 0.5214468241, -0.5653794408, 0.4232144356, 0.4021618962, 0.504378736, 0.0292679258, 0.2390168309, 0.1461839378, -0.1209883168, -0.1582166702, -0.294429183, -0.0250191893, -0.3708174825, -0.2212867141, 0.1843400449, 0.3467851281, 0.1465419382 ]
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.3029673398, -0.5807110667, 0.7735335827, -0.0381612852, -0.3826580644, 0.2817368507, -0.1308030933, -0.7363225222, 0.2278998941, 0.5972335339, -0.2917089164, -0.5894265771, -0.6577033997, -0.3177343309, -0.3370819092, 1.0476256609, 0.2742449641, 0.1993652433, -0.2138813138, -0.0602632314, -0.2206124812, -0.535353303, -0.9608319998, -0.2779433131, 0.6254876256, 0.5363079309, 0.930015564, 0.2855368853, 0.4907630384, 0.1944534779, -0.1729798019, 0.2094213963, -0.3534915149, 0.1737003177, -0.4299795628, -0.2025734335, -0.1772274226, 0.2494483143, 0.6827564836, 0.4589149058, -0.2483207434, 0.0115637071, -0.0627122968, 0.6973513961, -0.4009254277, 0.1167135909, -0.7606114745, 0.0055726883, -0.0759829655, -0.2853449881, -0.5024543405, -0.5857720971, 0.3340466619, -0.4054539502, -0.0541547872, 0.1618731022, 0.3254245222, -0.1697857976, -0.6309892535, -0.0714252368, -0.5107796192, 0.8672611713, -0.7017551661, 0.4737907052, 0.537581861, 0.4421360791, -0.200408861, -0.4740944803, -0.1203709319, -0.6296873093, -0.0515525751, -0.1044263989, 0.1445080191, -0.2513900399, 0.0132995294, -0.0519872159, -0.3532035947, -0.0299789794, -0.2589965463, -0.1399949193, 0.6911045313, -0.3789481521, 0.1027359813, -0.170963183, -0.4187402427, 0.0913555771, -0.4279114306, -0.0633749813, 0.4732811749, 0.4238097966, 0.2498093098, 0.4339369833, -0.4185508192, 0.608148694, -0.0592277125, -0.4571190774, 0.3051033914, -0.302311182, 0.1862121075, 0.3537498713, 0.578558743, 0.520197928, 0.2469927669, -0.379301697, -0.0011187393, -0.5446816683, 0.3203580976, -0.5678233504, -0.3280434012, -0.0068534054, -0.4447165132, -0.4756256342, 0.4282699227, -0.7714522481, -0.6309210658, -0.1817211956, 0.4389509261, -0.2613809705, -0.3925568163, -0.0214417018, -0.2402240187, -0.0117670335, 0.4667590857, -0.3898316026, 0.0027784966, 0.3337040544, 0.7104147077, -0.1563378721, -0.35948506, -0.7702379227, 0.4433685839, -0.2427914739, 1.0097612143, -0.820261538, -0.1706918627, 0.0563026108, -0.1524636149, 0.1774133593, -0.3429034352, 0.9585154653, -0.6210128069, 0.3229524791, -0.3720646501, -0.4622507691, -0.248310864, 0.0154469628, -0.6572739482, 1.1489309072, 0.0605391748, -0.6547855139, 0.4155148268, -0.4810074568, -0.6983003616, 0.079457432, 0.0565835088, -0.1442410499, -0.0808022916, 0.5765839815, 0.6460425854, -0.3173502386, 0.4000678062, -0.4604023397, -0.1434677839, 0.0249565691, -0.2546034455, 0.4511656463, 0.1627884209, -0.1723410934, 0.0614038222, -0.803188026, -0.0660986081, -0.2240760177, -0.5782274604, -0.6182469726, 0.242571488, 0.2122321874, 0.3982561529, 0.2203679383, -0.6023386717, 0.2318059802, -0.0923218876, 0.685924232, 0.741371274, 0.3225679994, 0.4977456629, -0.3834110796, 0.1766702533, 0.2073035836, 0.1099719182, -0.0749869943, -0.4854049683, -0.4671071768, -0.0205076057, 0.1117404476, 0.4637919664, -0.8460449576, 0.4359197021, -0.0073145512, -0.4892237484, -0.3505932987, 0.3202338815, 0.2877158523, 0.4580072463, 0.5286436081, -0.0242581479, -0.5494586825, -0.9713514447, -0.6067331433, -0.213395521, 0.2153581828, 0.2614808083, 0.1465273947, 0.048701942, 0.7997245789, -0.3649223149, -0.2820268273, -0.1836865246, 0.0251598135, 0.3282603323, 0.3393647373, 0.5998208523, -0.7842903137, -0.3132264316, 0.0055584069, -0.4718430638, 0.1446904838, 0.0681813583, -0.3334098458, 0.0727542341, 0.5639839172, -0.3856166005, -0.0927334428, 0.4121389985, -0.4331661463, 0.2759062648, -0.0277590379, 0.2990540266, -1.5067330599, -0.2208188623, 0.4179418087, -0.5189473033, -0.3332251012, -0.0745817274, -0.0536188968, -0.0097200666, -0.5598008633, 0.655015409, -0.1820724159, 0.0119220894, -0.2138181776, 0.3455080688, 0.1182652414, 0.4127135873, -0.043620877, 0.5007453561, 0.5561147332, -0.4725924134, 0.3875690103, 0.0715883151, -0.8656874895, 0.7337311506, -0.437438786, 0.1902636737, 0.0880699158, 0.4913124442, -0.9496582747, 0.027905982, -0.2531715631, -0.1803658158, -0.0842306986, -0.3052146733, -0.5483270288, -0.1730674356, -0.3574296534, 0.2703509331, 0.055153776, -0.5690755844, 0.3808737695, 0.5789868236, -0.4780987203, -0.8582959175, -0.5826485753, 0.3433592916, 0.1630348861, -0.466099292, 0.3796080053, -0.1908441186, -0.1651566625, 0.2178799659, -0.1342690885, -0.236140132, 0.0555566922, 0.079851754, 0.1768115163, -0.1444402784, 0.0115018319, 0.1450842172, 0.1201266348, -0.0302613247, -0.3811839819, 0.2541769147, -0.0044847927, -0.413364321, -0.4266271889, 0.582182169, 0.9054267406, -0.3581510484, 1.0162502527, 0.8046163917, -0.2867384255, -0.1382103562, -0.9501888156, -0.1470862925, -0.3976818323, 0.5417536497, -0.1468859613, -1.0098273754, 0.3624205887, 0.2248661518, -0.0866022334, 0.5796855092, 0.426238656, 0.0620573685, 1.1650676727, 0.3695574403, -0.8471216559, 0.7249290943, -0.1163075641, 0.1162295192, -0.428060025, -0.3875196874, -0.5979231596, -0.2405063361, -0.1988318413, -0.0594108328, 0.3360913098, 0.091534324, -0.1501300335, 0.1458040029, -0.3392137289, 0.6864349842, 1.0500952005, 0.3267260492, 0.5325288773, 0.0282891095, -0.4109662175, 0.4480968714, -0.503423512, -0.3497881591, 0.7657337785, 0.1731218249, 0.7952335477, 0.2846566737, 0.3295380175, 0.5585662127, -0.0960196033, -0.6365196705, 0.4688263535, -0.0073845428, -0.6639344096, -0.3298071027, -0.3825335205, -0.5114961267, 0.1331108958, -0.3612361252, -0.5701446533, 0.3637250066, -0.5324115157, -0.1993087679, 0.4112481773, -0.5877378583, 0.4004659057, -0.2746019959, -0.24283804, -0.5540066957, -0.3993184268, 0.3582767844, -0.0531723425, 0.4025354683, -0.2028738111, 0.2218695879, 0.8100904226, 0.0750892833, 0.4918390512, -0.323469758, 0.1109328121, 0.1329364032, -0.0714718327, 0.819355011, 0.4636538923, -0.6814762354, 0.136756286, -0.011983512, -0.4006668627, -0.3549655378, 1.0784555674, -1.0198974609, -0.6574564576, -0.2657950222, -0.5629911423, -0.2628326416, 0.4018908739, -0.0497403331, 0.6628866196, -0.0420623571, 0.7754131556, 0.2453321666, -0.0113527663, 0.4686859846, 0.6367777586, 0.0249925703, -0.6880353689, 0.6448696256, 0.2416814268, -0.1757126302, 0.6127759218, 0.063966006, -0.3877929449, -0.828121841, -0.1987322122, -0.0089065246, -0.6923940182, -0.2444754839, -0.6253695488, -0.3361750543, -0.4999424517, -0.0560678728, -0.3697310984, -0.5603294373, -0.0676340684, -0.4148605168, 0.3913806677, 0.7839578986, 0.3471655548, 0.0712256283, -0.6166607738, 0.3255354762, 0.2570225, 0.6984821558, -0.1472377479, -0.4644071162, -0.8465998769, -0.2112504244, -0.3914319575, -0.7111582756, 0.1463036388, 0.1937462538, 1.2647241354, 0.3895915151, 0.3632076383, 0.2843230367, -0.6266716719, 0.8746849895, 0.0637120083, -0.7391011119, 0.6924113035, -0.4828598201, -0.0157891791, 0.7091673613, 0.3212376237, -0.2205842584, -0.6501981616, -0.3836486042, -0.8252306581, 0.8086690903, 0.0117010744, 0.0382418185, -0.0115256291, 0.6484730244, 0.1215734482, 0.3460404575, -0.7391312122, -0.2750852704, -0.2514856458, 0.1054028794, -0.4807609022, -0.6294541955, -0.232907638, -0.3741103411, 0.8295125365, 0.0382403471, 0.1036888584, 0.2054453641, -0.1647473127, -0.4102080762, 0.2998989522, 0.6274777055, 0.9514347315, -0.3345323801, 0.1343644708, 0.0102254339, -0.1907563359, 0.1483449191, 0.2928308547, 0.0090715112, 0.0072680973, 0.2368237972, 0.7680101395, 0.4107149541, -0.3259987235, 0.4101994336, 0.0517283008, -0.2562412024, -0.3324316144, 0.1074424386, 0.1236648187, 0.6102626324, 1.0242413282, 0.2490007281, 0.2727841139, -0.7008491158, 0.4555699527, 0.5788202286, -0.4611198604, -0.0041499194, 0.6375060081, 0.3992895782, -0.2665285766, 0.3894992769, 0.3121893108, -0.3632545769, 0.2856172621, 0.2073776871, 0.6885830164, -0.3079836369, 0.4320509732, 0.2236878425, 0.3204462528, -0.5307317376, 0.0278424453, 0.0961371958, -0.8442951441, -0.4705433846, -0.5539060235, -0.7176951766, 0.1791983247, -0.6405161023, 0.4602036774, -0.317671895, -0.1436666697, 0.1917016357, 0.4458578229, -0.4297567308, 0.1613179445, 0.1921905875, 1.0621958971, -0.7589675188, 1.1952997446, 0.887444675, -0.4456349909, -0.5599726439, 0.1805611104, -0.2481048852, -0.4340291321, 0.1493292451, 0.012900291, -0.0210594404, 0.080071114, -0.2801805437, -1.2212386131, 1.0619004965, 0.8228551149, -0.2901354134, 0.1063395143, -0.3887090087, 0.3014059365, -0.528896153, 0.594417274, 0.0907442421, 0.6388235092, 0.1445180327, -0.9095261693, -0.1246938035, -0.3258222342, -0.0683986247, 0.0468645804, -0.8819799423, 0.7852640152, -0.1429414451, 0.4064779878, -0.1778812408, 0.6441405416, 0.1894730628, 0.3682923615, 0.507406354, 0.2229670286, 0.7335478663, 0.2877573371, 1.1928321123, -0.5218664408, 0.2227850407, 1.1113232374, -0.1654067338, 1.1780167818, 0.2314430326, -0.031627737, 1.0338600874, 0.6305661201, -0.0288504735, 0.8730857372, -0.3378554285, 0.0066096317, -0.2671114802, -0.2196121514, -0.4805263877, 0.2697094381, 0.0428526811, -0.6217930913, -0.2512120605, 0.1228289604, -0.1852849126, -0.039007172, -0.418271035, 0.7819993496, -0.028046988, -0.6675092578, 0.1161092445, 0.1300291419, 0.4727097452, -0.4839272797, -0.0004599065, -0.1292302012, 0.0964839309, -0.2863928974, -0.8751885295, -0.1572809517, -0.4706040025, -0.6020456553, -0.1038262174, 0.8249809742, -0.5652138591, -0.7982320786, 0.4035188556, 0.6196171641, 0.0104853772, -0.3911596537, -0.7623102665, -0.2806444764, -0.2058019191, -0.6866607666, 0.5754467845, 0.2496322095, -0.0196986813, 0.7448456883, 0.7949477434, 0.0486222245, -0.118980743, 0.325725913, 0.8343738317, -0.7552888393, -0.5799372196, -0.7070713639, 0.1805475354, -0.2212072164, 0.0416425839, 0.918558538, 0.6487243176, 0.8550602794, 0.2109345049, 1.0015347004, 0.4268707633, 0.6901242137, -0.4847385585, 0.7327410579, -0.3979871869, 0.4623787999, -0.4909730256, -1.1338152885, -0.2523625195, 0.4530827701, -0.2799297571, 0.3678506017, 0.6884202361, 0.688015759, -0.027338801, -0.0199716389, 0.3592106104, 0.2738052607, 0.2415831536, 0.3507071137, 0.7650379539, -0.1312779933, 0.6146634817, -0.2497872114, 0.0461023897, -0.5184579492, -1.0198421478, -0.9413282871, -0.6257126927, -0.3561682403, -0.218873933, 0.2267809212, 1.1431570053, 0.9584963918, -0.9657909274, -0.0704213232, 0.1301566511, 0.448703289, -0.3328517675, -0.2396077812, 0.468747586, -0.3088027239, -0.720818758, 0.8510152102, 0.1830880791, -0.4974686801, -0.4314713776, 0.0268842038, -0.5334266424, -0.0328962207, 0.6903130412, -0.3055838346, -0.7757093906, -0.5399557948, -0.4581766725, -0.1904817522, -0.1925962269, 0.7519679666, -0.838331461, 0.1432499588, 0.3764076233, 0.4743306339, 0.3823418617, 0.0230382737, 0.577750206, -0.8622570634, 0.0991885141, -0.0483866856, 0.3942931592, 0.2828359008, -0.6825100183, 0.3842749894, 0.1213729233, -0.6496598125, -0.7652187347, -0.0080614658, -1.0837866068, -0.3941055536, 1.434399724, -0.0752089843, 0.1771423221, -0.3936215043, -0.2807651758, -0.0312953666, -1.0147063732, 0.7164254785, 0.8862655163, -0.0282812882, -0.5654225945, -0.7435277104, 0.3385408223, 0.1598041654, -0.3423957229, -0.234591037, 0.3629751503, 0.3191431463, 0.034785036, 0.3826848269, 0.0163586307, 0.0400092714, -0.5095792413, -0.0954099596, -0.3417235017, -0.4643501043, 0.0591297597, 0.5990059376, 0.3289702237, 0.0967482328 ]
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.2432887256, -0.7095466852, 0.5827829242, 0.393907398, -0.257773906, 0.154384017, -0.4299070239, -0.4191028178, 0.3691155016, 0.3561253846, -0.8121209741, -0.2899178267, -0.5300469995, 0.4433603883, -0.3154861629, 0.6132524014, -0.1651527733, 0.0072675841, -0.3573450148, -0.0760541186, -0.3241452873, -0.292838037, -0.8866916299, -0.2733854055, 0.324342072, 0.129544735, 0.7367164493, 1.213837266, 0.1973014623, 0.3987526894, -0.0200472511, 0.3128345609, -0.3039530218, 0.6287941337, 0.2039518803, -0.3022400439, -0.0812941268, -0.1948898286, 0.8388698697, 0.4623730183, -0.2233322561, 0.1849619448, 0.2468482107, 0.3621999025, -0.5151044726, 0.2750591934, -0.696483314, 0.350133121, -0.0667900443, -0.2039495707, -0.1454901546, -0.0689585954, 0.3240441382, -0.7769547105, -0.2238012105, 0.192311421, 0.5843664408, 0.5745685101, -0.2485970408, -0.2557790577, -0.4183271825, 0.6340744495, -0.7515656352, 0.5990812182, 0.0662184283, 0.2877149284, -0.4120627642, -0.7037983537, -0.6685529947, -0.2193365395, 0.0873888582, 0.1971215904, -0.0814130902, 0.2004159689, 0.2204710841, -0.1253098398, -0.4802646339, 0.4140450656, -0.2408170253, 0.0086998586, 0.6205851436, 0.1947318763, 0.4554876387, -0.0808087885, -0.3548620045, -0.0964149758, -0.7852479219, -0.0496078581, 0.4569949806, 0.4105003178, -0.3230392933, 0.4231128693, -0.2182441801, 0.7842870951, 0.096336551, 0.1990390122, 0.3425786793, 0.0422697626, -0.3223819435, 0.3479863107, 0.82530725, -0.0836924314, 0.4158052504, -0.2866775095, -0.1927113533, -0.2009714842, 0.3945773542, -0.8036753535, -0.1692802757, 0.1812811941, -0.2844742835, -0.2841582894, -0.2988572419, -0.8355049491, -0.5393066406, -0.9395856857, 0.3590717912, -0.5601318479, -0.2083491981, 0.1888338178, -0.0201423671, 0.1072580814, 0.5569735169, -1.226342082, 0.182243973, 0.6578539014, 0.9199871421, -0.1486070901, -0.5261514783, -0.269605726, 0.2466130555, -0.2419479191, 0.6573883891, -0.7554244399, -0.071490787, 0.068891041, -0.3660742044, -0.1192651913, -0.4219911397, 0.1468977034, -0.2549958527, 0.0015475963, -0.1448858082, -0.4675032496, -0.0560725667, 0.4030941427, -0.4719532728, 1.0765688419, -0.058536604, -0.5413159728, 0.2531716824, -0.8394447565, -0.295752883, 0.1308486164, -0.6618885994, -0.2876679301, 0.1233685836, 0.2419747561, 0.3575012684, -0.3184542954, 0.230491057, -0.5561283827, -0.1502592415, 0.0207108743, -0.2324650586, 0.8482472301, 0.3525424898, -0.5854908824, 0.2871828377, -0.637835741, 0.1858272254, 0.4174351394, -0.0993127301, -0.3657361567, 0.1292470098, -0.1973819286, 0.4178721607, 0.3219848275, -0.4939953685, 0.4163387716, -0.6576933861, 0.5127971768, 1.0167706013, -0.0810414627, 0.5703498721, 0.0184991211, 0.7050725818, 0.0320459194, 0.3612825871, -0.1547857225, -0.3226336837, -1.0593042374, -0.1472434849, 0.1196775064, 0.3028221428, -0.710685432, 0.5279006362, -0.3154260814, -0.4116466641, -0.6918040514, 0.3815034032, 0.2381849736, 0.1313651353, 0.3170593381, -0.2019331753, -0.7712076902, -1.2159160376, -0.3338083923, -0.039932359, 0.1737271398, 0.0821565837, 0.5520837903, -0.3466769755, 1.1482231617, -0.1572866738, -0.1871529371, -0.2022420615, 0.0944260135, -0.1718058884, 0.5865947008, 0.5919254422, -0.5273709893, -0.2894808948, -0.0021868008, -0.9189608693, -0.0597173348, -0.4763836265, -0.3251160979, -0.1541502774, 0.5627640486, -0.6351047754, 0.1616428047, 0.6687035561, -0.0802573711, 0.2305938452, -0.2945378721, -0.2588749528, -1.1307564974, -0.2714656889, 0.1583163589, 0.0378199741, -0.5528311133, 0.0361725427, 0.0375497565, -0.0242913235, -0.1946045458, 0.6184914112, -0.7525267005, 0.0082231909, -0.1590332091, 0.2352202684, -0.450684607, 0.5222656131, 0.1444930136, 0.5257912278, 0.7989630103, -0.4616295993, 0.3120112121, 0.4199375212, -0.1450079083, 0.3964290321, -0.492076695, 0.3881074786, -0.2838537991, 0.0406678468, -0.5943524837, -0.2566167712, 0.3424080312, -0.2847804725, 0.4748930335, 0.0118615953, -0.6648555398, -0.198945716, -0.2215076983, 0.3300937712, 0.4595325887, -0.9291185737, 0.9101875424, 0.3644062281, -0.1430859715, -0.3927819133, -0.562163949, 0.4655183554, -0.4072051644, -0.5152378678, 0.1520012766, -0.0999148116, -0.1616987288, -0.2126234919, 0.0126992892, 0.1788145155, 0.2674565017, 0.3631279767, -0.0777673051, -0.1576031595, 0.2644600868, 0.2543216348, 0.055300232, 0.4448094666, -0.5165316463, 0.4940515459, -0.1743356884, -0.5669973493, -0.3993522823, 0.0401158929, 0.3431153297, -0.4070141912, 0.5510893464, 0.2134327292, -0.6864957213, -0.6501963735, -0.3939804435, -0.1573257148, -0.6182023883, 0.5205050111, -0.1590961814, -0.8337422609, 0.296980679, -0.3364016712, 0.2863586545, 0.3349568546, 0.4622379243, -0.1768526882, 1.1394673586, 0.5418198705, 0.1569990218, 0.5767152309, -0.1293075681, 0.1664857566, -0.907438159, -0.4338110387, -0.3059077263, -0.6205072403, -0.5241273046, -0.1043814346, 0.3088221252, -0.0493872613, -0.6426185966, 0.3459320664, -0.6264507771, 0.301772505, 0.5569426417, 0.0843134969, 0.0140940836, -0.015443786, -0.1093168184, -0.31153211, -0.818877399, -0.4986034036, 0.8589311242, 0.4767448604, 0.7803926468, 0.0241379291, 1.0072802305, -0.0197059624, 0.3219860792, -0.5098598003, 0.6500129104, 0.2792217731, -0.3998712003, -0.3983166218, -0.287178576, -1.0152647495, 0.236285612, -0.3882981241, -0.7940084934, 0.1297947019, 0.3828706145, -0.3385545909, 0.1899240464, -0.5218403935, 0.9984515905, -0.9557628036, -0.2061548829, -0.2066640854, -0.6905763149, 0.0811234266, -0.4300189614, 0.0296989512, 0.0711747631, -0.2052052766, 0.7395499349, -0.0631688386, 1.1065654755, -0.1723867357, -0.0080001689, 0.2122399956, 0.2008288354, 0.6688275337, 0.0020243251, 0.0415470712, 0.0822977126, -0.2903784215, -0.0664372891, -0.7612819076, 0.7092915773, -0.6657110453, -0.6280167699, -0.497620523, -0.4322049618, -0.396459043, 0.1769455373, 0.0413345397, 0.1712416708, -0.0308402497, 0.1957224905, 0.4438070953, -0.2985442877, 0.4938662946, 0.2666779459, -0.1851214021, -0.4904551208, 0.6380186081, 0.0342083052, 0.1894896626, -0.0039611734, 0.1952817589, -0.3212750256, -0.7786030769, -0.6348487735, 0.2074422836, -0.770003438, -0.2059351504, -0.6981664896, -0.2984570265, -0.3106196225, -0.1332511902, -0.4476706982, -0.1194010228, -0.4197097123, -0.1313730478, 0.4369734824, 0.9380537271, 0.0938700736, 0.3567354679, -0.410587728, -0.1310840398, 0.1693046242, 0.3972167373, 0.1454831809, -0.6145436168, -0.3059174418, 0.3796626031, -0.4508997798, -0.7452444434, 0.6488419771, 0.4528899789, 0.7661036849, 0.4319371283, -0.0954988748, 1.0199280977, -0.6172811985, 0.5813060999, 0.1950437874, -0.8347820044, 0.7463803291, -0.3720749319, 0.2613106966, 0.5797778964, 0.287014842, -0.549295783, -0.5596583486, -0.6318629384, -0.6919794083, 0.627892077, 0.3470802009, 0.3578635752, -0.1234624609, 0.620889008, 0.0368181914, 0.2069254369, -0.7950763702, -0.201549679, -0.1679361165, -0.5902433991, 0.1583694518, 0.0847238973, 0.0483349673, -0.5573507547, 0.637973249, -0.3896291256, 0.2584432065, 0.088719964, -0.1271990538, -0.1384829432, -0.0399784558, 0.4370895028, 0.4055033326, 0.193942979, 0.0951970071, 0.5067289472, -0.3028841019, 0.0119836861, -0.0127812205, -0.1682263613, -0.2583526075, 0.2796854973, 0.9618558288, 0.4573732615, -0.6850988865, 0.2414435893, 0.1252440959, -0.0389167592, -0.6870684028, 0.1781282425, 0.2342821509, 0.5367117524, 0.117615059, 0.0538355894, 0.0437421426, -0.3424583077, 0.0805838183, 0.5143874884, -0.3214664757, -0.5158113837, 0.8343201876, 0.1584252864, -0.490814954, 0.8806468248, -0.2324197292, -0.6102846265, 0.7269089818, 0.8678315878, 1.2316002846, -0.1698614359, -0.032162372, 0.3718221784, 0.4085312188, -0.2283116579, 0.1486412436, -0.037928436, -0.6133385301, -0.2424765676, -0.8694338202, -0.3136793673, 0.0812631398, -0.2629729509, 0.4750515819, -0.5424494743, 0.0266723353, -0.0887251273, -0.4705251753, -0.7585950494, 0.1725583822, 0.4323402643, 0.8631275296, -0.6319986582, 0.8798134327, 0.7423836589, -0.2429144382, -0.5841306448, -0.0860168412, 0.1039756984, -0.9354056716, 0.9238249063, 0.3340699077, -0.1904895157, 0.2897156179, -0.6601439714, -1.1354875565, 1.1416009665, 0.81310606, -0.5322608352, -0.2454258651, 0.1897573173, 0.7704484463, -0.6391577721, -0.0025216662, 0.3908309937, 0.5333752036, -0.2042589486, -0.7702254057, 0.0481105819, -0.3891744614, 0.0674001798, 0.2400759012, -0.5360669494, 0.505100131, -0.2076784223, -0.3606568277, 0.0217595398, 0.7976663113, 0.0385420322, -0.0474861674, 0.5507162809, 0.6348661184, 0.4036443532, -0.0969521403, 0.8627166748, -0.4440310001, 0.2743751109, 1.1538453102, -0.155075267, 0.8991169333, 0.5024877191, -0.0531080291, 0.419126004, 0.9196016192, -0.1343885362, 0.4674648941, 0.4011140168, -0.1074407026, -0.5054396391, 0.0749226138, -0.2041436881, 0.7170128822, 0.3857212663, -0.4498238564, -0.3099882603, -0.1053119674, -0.2949742973, 0.0824910104, 0.0442010798, 0.7201583385, 0.1503601074, -0.6376311779, 0.3514571786, -0.2332052439, 0.76855129, -0.8210228682, -0.1782855839, 0.0018375296, -0.0306905657, -0.0848946646, -0.6870942712, 0.1918663532, -0.2118413448, 0.5494511127, -0.6067633629, 0.4832581878, -0.4855113029, -0.245296821, 0.4141687453, 0.5246861577, -0.038195543, -0.0143452827, -0.8413664103, -0.168416515, -0.1562418342, -0.4296723604, 0.4575389922, 0.5501553416, 0.0516362078, 0.8517203927, 0.4913416207, -0.0294827558, 0.1414848864, -0.0691367686, 0.7644382715, -0.6580630541, -0.6098479629, -1.1471606493, 0.2374805808, -0.3343502283, -0.6325876117, 0.7396358848, 0.6387142539, 0.8256812096, -0.0537116751, 0.7093025446, 0.0899192691, -0.1525050104, -0.5047774911, 0.8160935044, -0.5882412791, 0.0950650051, -0.1118511036, -1.0188289881, -0.2849727273, 0.7984007597, -0.158699289, 0.2348777205, 0.5235106945, 0.5384203792, -0.0999173522, 0.1946487725, 0.0970471948, 0.1368777156, 0.188513577, 0.4182080925, 1.047228694, 0.0407789387, 0.2717911899, -0.3006581664, -0.1119454727, 0.0823437795, -1.0068025589, -0.9607710838, -0.7072386146, -0.3518324494, 0.0552794784, 0.2629280686, 1.5524646044, 0.7318743467, -0.525360465, -0.1918696016, -0.3830886781, -0.5144869685, -0.0792149454, -0.0652971417, 0.2456026226, -0.6111895442, -0.7147449255, 0.4262420535, 0.4977765977, 0.3861376941, -0.5315297246, -0.3218197525, -0.0336810313, 0.0593827739, 0.4434654415, 0.3878630996, -0.8400433064, -0.55127424, 0.0616102591, -0.0915905759, 0.1746463627, 0.5069818497, -0.8542754054, 0.7870056629, 0.056982439, 1.0420767069, 0.2524167597, -0.1938601285, 0.7525599599, -0.8475258946, 0.0769444555, 0.2879941463, 0.5790359974, 0.3426500261, -0.3965087533, 0.5540394783, 0.0277271513, -0.3939038813, -0.7932828069, 0.1675055027, -0.8618434668, -0.0108285919, 1.3395484686, 0.1979753375, -0.2457199693, 0.0050915424, -0.2025386542, 0.2575118542, -0.2096954584, 1.1179512739, 0.5605777502, -0.3162755966, -0.0811492503, -0.6856927872, 0.6083267927, 0.4833876491, -1.1237169504, 0.1565451473, 0.4830305576, 0.1071720198, 0.104844518, 0.1461816877, 0.2467074543, 0.0825832039, -0.1323111951, 0.2873670757, -0.285264194, -0.3047671914, -0.6238493323, -0.1518435776, 0.2588138282, -0.1976348907 ]
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.
[ -1.0412346125, -0.3221873343, 0.3177231848, 0.5631875992, -0.1040797159, 0.5302410126, -0.2248375714, -0.4846705198, 0.8754921556, 0.2850693166, -0.6740638614, -0.3298178017, -0.3906323314, 0.5081533194, -0.3906896114, 0.5513996482, 0.7967854142, 0.0056531839, 0.4460238218, -0.3105822206, -0.1866005063, -0.7930352092, -0.6712309122, 0.1405522823, 0.5440974832, 0.7790591121, 0.5837191939, -0.0121434256, -0.458311975, 0.3294526041, 0.1412923932, 0.5429705977, -0.1168233752, 0.2747181952, 0.166871205, 0.051210802, -0.7114578485, -0.2266235501, 0.2888608277, 0.7738186717, 0.173691377, -0.0744159967, 0.2896790206, 0.2821516693, -0.2697742879, -0.0966428518, -0.6013436317, -0.36389184, -0.2037889659, -0.2201903164, -0.2401246876, -0.4819211662, 0.1631608307, -0.523938179, 0.2390225828, -0.1739753634, 0.2306512296, -0.151676774, -0.4238861203, -0.2947708964, -0.6775996685, 0.4805780649, -0.7717582583, 0.537843883, 0.1441864073, 0.3405725956, -0.2700678408, -0.8646551371, -0.8605203629, -0.0939220637, 0.4131800532, -0.098710604, 0.0506757721, 0.0912892371, -0.1747072935, 0.1146742478, -0.2098072618, 0.0313902274, -0.3646895885, -0.3519386649, 0.9008809924, -0.133811444, 0.3395358026, -0.2526026666, 0.0545989685, -0.0843956321, -0.6931170821, -0.0849644616, 0.7039683461, 0.9678040147, 0.0040834034, 0.4183474183, -0.0813359469, 0.3198352158, -0.0868110433, -0.2505505085, 0.3743008971, -0.0485561527, 0.2126340121, 0.4616402686, 0.7817878127, 0.1784356982, 0.5330913067, -0.155348748, -0.0018569595, -0.1388507336, 0.298129797, -0.634732008, 0.2206802368, 0.3231876791, 0.0241464004, 0.2090005875, 0.0252856277, -1.2100099325, -0.4970652163, -0.1768841445, 0.4057906866, -0.4993690848, -0.3085367084, -0.1379278898, -0.0158295296, -0.0955595076, 0.1643987745, -1.1050319672, 0.3771172762, 0.4723205566, 0.7024124861, 0.1011311859, -0.4342939556, -0.1954291165, 0.1227419153, -0.2493212968, 0.3812557161, -0.3438957334, -0.8282772899, 0.0713785291, 0.0617710948, 0.3958030939, -0.4715772271, 0.4520705044, -0.0017106533, -0.1632604748, -0.4582251012, -0.1393038779, -0.0769460872, -0.3648821115, -0.5454877019, 1.0130375624, 0.2312469929, 0.0383458585, 0.3352273405, -0.4908289313, -0.7387700081, 0.2587480843, -0.117693454, -0.1295454204, 0.2746248543, 0.6897539496, 0.1506497264, -0.1312063187, -0.0714161023, -0.0894579813, -0.2109469324, 0.1211409196, -0.5111375451, 0.7876340747, 0.3654809296, -0.7414508462, -0.2036728561, -0.989995122, 0.1541588008, -0.0061007319, 0.0857744291, -0.1024954095, -0.226411894, 0.3457814753, 0.1190670356, -0.090392597, -0.7277246714, 0.0725784451, -0.424957186, 0.5758547783, 0.4788295925, 0.2608300745, 0.141256541, -0.0913280696, 0.5755288005, -0.26248613, -0.1214377955, -0.4115686119, -1.065104723, -0.6686110497, -0.3366499245, 0.2968125939, 0.3896018565, -0.5875455141, 0.5436471105, -0.2986216545, -0.4316460788, -0.9393331409, -0.162372604, -0.124173671, 0.2547736764, 0.34308213, -0.3224864304, -0.8506681323, -0.931157589, -0.1467110813, -0.0764978752, -0.50149858, 0.2695018351, 0.0696595088, 0.0069947396, 0.8189117312, 0.1481358409, -0.2604217827, -0.1922450215, 0.0523911603, -0.1560695618, 0.3096129, 0.8317318559, -0.5573235154, -0.5190520883, -0.0290821884, -0.1302939206, -0.4025522768, 0.0418511704, 0.1384080052, 0.1495124996, 0.3849526942, -0.36616081, 0.4355219603, 0.7257379293, -0.1186844409, 0.303201884, 0.0046813688, 0.5598899126, -1.1662551165, -0.0583680682, -0.3516595066, -0.2690547705, -0.6435537338, -0.2867228389, -0.3673284054, -0.6910178661, -0.3581219912, 0.4260822237, -0.5143457055, -0.4062763155, -0.0626493543, 0.3087095618, 0.1905058324, 0.5610403419, -0.0905463248, 1.2549155951, 0.2247179449, -0.5451230407, 0.2025619447, 0.4660168886, -0.3448081613, 0.7587900758, -0.6222465038, 0.4236541986, 0.1268840283, 0.1563424617, -1.3641666174, -0.1019386575, -0.3286286592, -0.8308529854, 0.0469151475, 0.1027381644, -0.139347136, -0.3659365177, -0.0482962318, 0.2596845031, 0.3773579597, -0.6476033926, 0.6297338605, 0.8283065557, -1.0114344358, -0.3020874262, -0.7215796709, 0.7178908587, 0.0547625385, -0.6128228903, 0.3004713655, 0.0514162034, -0.0475577489, -0.2397148758, 0.0838808492, -0.0816126093, -0.1249440834, 0.1988531947, -0.3396440148, -0.0492785983, -0.1201010793, 0.2351085842, 0.1353286952, -0.1327903867, -0.4568599761, 0.7678393126, 0.1502933949, -0.2601203322, -0.3156275451, 0.9951758981, 0.9625669122, -0.3016843498, 0.6168004274, 0.2068553716, -0.3780291378, -0.2794158459, -0.5644227862, -0.2785052657, -0.5033428073, 0.4650684297, -0.5025669336, -0.7130788565, 0.7231445312, -0.0710868835, 0.1708054394, 0.2576514184, 0.4952884912, -0.0090810778, 1.0052138567, 0.277725935, 0.1585244089, 0.3421132565, -0.0938707069, 0.3024675846, -0.6629163623, -0.2919772863, -0.8203456402, -0.4794609249, -0.7801886797, -0.0031887006, 0.8189197183, -0.5453494191, -0.1696870029, 0.3143993616, -0.548918128, 0.1472348869, 0.9592036009, 0.1803919673, -0.0227473956, 0.174315393, -0.2559980154, -0.3061975837, -0.4788543284, -0.4988597035, 1.0220930576, -0.0747096092, 0.1934500188, 0.2191221714, 0.7149997354, 0.4656005502, 0.0675965995, -0.4835626781, 0.6023231149, -0.3354138732, -0.5712468028, -0.5061517954, -0.1302009374, -1.0137002468, 0.158426404, -0.2537733912, -0.6759802103, 0.466858685, 0.0140131908, -0.4364866018, 0.2436672896, -0.7393146157, 0.4502837062, -0.1181399673, -0.1525271088, -0.1693794131, -0.7259361744, -0.0619219355, 0.0115213227, 0.3577385247, 0.0662661865, 0.1521295458, 0.4764117002, -0.6110295653, 0.4743909538, -0.3793970942, 0.0054350849, 0.4397093654, 0.0710892156, 0.2058663666, 0.0006572647, -0.3311658204, 0.3916067779, -0.2686490715, -0.2275748998, -0.2526312768, 0.7141578794, -0.8858237267, -0.4964468181, 0.0334232636, -0.5090774894, -0.8045514822, 0.1440599561, 0.4043534398, 0.7458389997, -0.3423694372, 0.2057754397, 0.2293226123, -0.4771093726, 0.5068850517, 0.1445746273, -0.0074741468, -1.1764427423, 0.6540700197, 0.276579231, 0.3758620322, 0.0283302553, -0.2147034556, -0.5060327649, -0.5094057918, -0.5043187737, 0.2177608609, -0.5434146523, 0.0143133057, -0.7078554034, -0.074545756, -0.952221632, -0.3342941105, -0.3838185668, -0.9542785287, 0.0378262438, -0.3308888674, 0.2736449838, 0.7921594977, -0.3151910603, 0.6162440777, -0.6244705915, 0.6473133564, 0.6614429951, 0.203700915, 0.0128225842, -0.4044072628, -0.213374123, 0.2071415484, -0.2260589004, -1.2140690088, 0.7257676125, 0.4605415463, 0.4881939888, 0.1437710524, 0.0316677131, 0.6966657043, -0.8245227337, 1.0434936285, 0.0426600911, -1.1312236786, 0.3200190067, -0.0966437086, 0.4518505931, 0.6003350019, 0.2269539386, -0.6897956729, -0.7325813174, -0.502828896, -1.164629817, 0.4832448065, 0.2452999204, 0.2048647106, -0.1405908167, 0.0540564582, 0.4974530339, 0.3252585232, -0.30459705, -0.5113458633, -0.6431298256, -0.2237800658, -0.2642705441, -0.260017097, -0.1275160909, -0.2635970712, 0.9697203636, -0.173697874, 0.4335266352, 0.3197126091, 0.0744248331, 0.0282291826, 0.4812723696, 0.6416406631, 0.6305839419, -0.0855141655, 0.0435227603, -0.0628774986, -0.6779705882, 0.4723853171, 0.4349143505, -0.2410948873, 0.48165676, 0.0130827362, 0.8962975144, 0.1094077975, -0.3163223565, 0.1020520106, -0.0573892966, -0.0643901825, -0.4179564416, -0.2909535468, 0.2416158468, -0.0983576849, 0.8710846901, -0.15339984, 0.0783224329, -0.5383346677, 0.2779461145, 0.3666277528, -0.095856674, -0.3829208016, 1.0838720798, 0.8520208597, -0.7410722971, 0.4434841275, -0.0146318404, -0.367310077, 0.5130044818, 0.3760416508, 1.2157412767, -0.772860229, 0.1442565471, 0.3426272273, 0.4954476953, 0.5274317265, 0.6081587076, 0.1563706547, -0.3997834921, -0.2386086136, -0.5139927864, -0.7251725197, 0.1234367043, -0.4779357016, 0.3150973022, -0.3215856254, -0.5477246046, 0.2290319353, -0.2475051135, -0.5200282335, 0.2945028841, 0.4157431126, 0.6616851091, -0.8076121211, 0.6450204849, 0.4637636542, -0.2150043547, -0.6783858538, -0.1568403542, 0.0829143301, -0.5532380939, -0.015682077, 0.1417575926, -0.189394623, 0.2498104721, -0.2194666117, -0.4845966399, 0.624707222, 0.6991947889, -0.6454834938, 0.1752718389, 0.8227126598, 0.4275695384, -0.4737334847, 0.3721360266, 0.3920783103, 0.5031021833, -0.022049062, -1.2127143145, -0.43334952, -0.1272495836, -0.0632896721, 0.0100392196, -0.5178520083, 0.848454535, -0.1073522344, -0.1734502614, 0.1974887848, 0.5705654621, 0.2391673476, 0.1571997255, 0.5363795757, 0.2344133258, 0.7206261158, -0.26897493, 0.7306549549, -0.5303636789, -0.3209260106, 0.9157944322, -0.3869588673, 0.4026331306, 0.3799756169, -0.4011079073, 0.5679832101, 0.3879966438, 0.7056760192, 0.4857642055, -0.242830351, -0.7068448067, 0.0999720022, -0.1742684543, -0.4596120119, 0.553319931, 0.6999168396, 0.0578040406, 0.1332817376, 0.2342531681, -0.1892294139, 0.1249573678, -0.3132868409, 0.6660603285, 0.074087441, -0.5735541582, 0.4106957614, -0.3449244499, 0.3754708469, -1.0219398737, -0.1371061951, -0.421325475, -0.1319750994, -0.0879610181, -0.6348204613, 0.0426179767, -0.1715013087, 0.0260779131, -0.2220330089, 0.2015524954, -0.6798792481, -0.2896265686, 0.2989756167, 0.4265912175, 0.032891117, -0.1855228543, -0.1145717651, 0.0907025263, 0.1262457371, -0.0708919168, 0.0739893615, 0.7035964131, -0.0884303749, 0.4343794286, 0.5660853386, 0.549626112, 0.4152615666, 0.2335181534, 0.4579518735, -0.590695858, -1.0570816994, -0.3922749758, 0.6599237919, 0.0243396834, -0.3343648016, 0.8970159292, 0.4525766075, 0.6120119691, -0.0261968058, 1.2079594135, -0.1639925838, 0.7150653005, 0.0179588255, 0.5074023604, -0.3652908504, -0.0226471964, -0.479057312, -1.254801631, 0.0331783891, 0.2200056911, 0.4576374888, -0.0269383807, 0.3480437398, 0.7804877758, 0.1517260075, 0.2507691681, 0.4625674784, 0.0269818716, 0.4732476771, 0.1596271843, 0.4273198843, -0.3424854279, 0.5138193965, -0.2439306974, -0.1995038241, -0.0149834445, -0.6152822375, -0.1818825603, -0.7352386713, 0.0792984739, -0.4046578705, 0.049146425, 0.9986734986, 0.880236268, -1.2195496559, -0.383376658, 0.3469732106, -0.1870294511, -0.3901849091, -0.2373163253, 0.0985039175, 0.1851895154, -1.1797282696, 0.8829103708, 0.3948360682, 0.1169699132, -0.5045337081, -0.0102037108, -0.1467836499, 0.3947797418, 0.5524739027, 0.6489804983, -0.6362080574, -0.364593029, -0.0929641128, 0.1269555837, 0.2736359537, 0.8029116392, -0.8170641065, 0.7841094732, 0.1337266713, 0.691226542, 0.4600192606, -0.0638620108, 0.8394955993, -1.2798541784, 0.7292544246, 0.4355573952, 0.4307560325, 0.6693294048, -0.068821311, 0.3073119819, 0.0834143311, -0.5986872911, -0.6546415091, 0.1400754452, -0.9622200131, 0.0604674853, 1.0518569946, 0.0777430907, 0.2168757319, -0.3142212629, -0.3392239809, 0.25418818, -0.739315033, 0.6761593819, 0.5313575864, -0.0817608833, -0.1797297299, -0.5784993172, 0.4552948177, 0.2312576175, -0.855273962, -0.1395661831, 0.6782659292, -0.1464126706, 0.275451988, 0.6339133382, -0.0539869815, 0.1499845088, 0.1813987792, 0.5279291272, 0.0157367736, -0.4434577823, -0.2585440278, 0.3196390569, -0.0275216252, -0.378988862 ]
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.2222274691, -1.0482873917, 0.6071138978, -0.2881088555, -0.0838148966, -0.1276324838, -0.190464139, -0.2437072992, -0.0565525293, 0.2689108253, -0.7150447965, -0.7019093037, -0.3936781585, -0.4429862201, -0.524645865, 1.2160630226, -0.0953761339, -0.0601152219, -0.4464695156, -0.1310135126, -0.688906014, -0.2489368021, -0.2737692595, -0.6246697903, 0.4880464375, 0.6898450255, 0.3265780509, 1.1322555542, 0.5395314693, 0.2198668122, 0.1009353325, -0.3232225776, -0.5904419422, 0.1384350508, 0.0300946515, -0.7622713447, -0.550018847, 0.1026324853, 0.6700610518, 0.9260185361, -0.1038189307, 0.3021962047, 0.1108463109, 0.555775106, -0.7718868852, -0.0379334018, -0.6510820389, 0.3498699367, -0.2731115222, -0.3345915675, -0.1575756222, -0.1965922862, -0.1077652201, -0.6896677613, 0.7333166003, -0.0767032504, 0.7546785474, 0.2664962709, -0.3537412286, -0.0570162274, -0.9640675187, 0.8857750893, -0.298512429, 0.1970161051, 0.1263721287, 0.2893284857, 0.0257782396, -0.1267762333, -0.44707793, -0.0071237404, 0.1737550944, 0.1280298829, 0.1922123879, 0.2882815599, 0.4254871905, 0.5506099463, -0.7223495841, 0.2837170064, -0.2493363619, -0.0593829975, 0.5116063952, 0.3075474203, -0.0841984302, 0.4105456471, -0.4674999714, -0.0859708786, -0.6875867248, 0.184319973, 0.2689023018, 0.223091796, -0.1425970644, 0.3885314763, -0.4470018148, 0.9836865664, 0.5669216514, -0.0082466993, 0.2362021059, -0.3393587768, -0.3159928918, 0.1927008033, 0.4746745825, 0.5030868053, 0.3113369942, -0.4925272763, 0.0331384651, 0.0530791692, 0.5653588176, -0.7475281954, 0.1286985576, 0.0800273046, -0.1675336361, -0.4742615223, 0.1602819562, -0.4786266088, -0.017118156, -0.7277532816, 0.5728216171, -0.3957945406, 0.2593037188, 0.0818822011, -0.0434010178, 0.9645829797, 0.1127709001, -1.0801138878, 0.3816198707, 1.1726588011, 0.8038727045, -0.2181704044, -0.5884429812, -0.5836927891, 0.462485224, -0.505048871, 0.7965331078, -0.5063655376, -0.2505847514, 0.0478045866, 0.07349585, -0.2529439628, -0.5400000811, 0.0106310016, -0.4000837207, 0.1603665203, -0.1023637056, -0.7787468433, -0.0287674777, 0.4228506386, -0.0093231387, 0.8415067196, 0.044894997, -0.2804358006, 0.610707283, -0.4385472536, -0.4889084697, -0.1482622474, -0.4849701524, -0.6350533366, 0.5690794587, -0.1377462596, 0.4557469487, 0.1892989427, -0.2187329829, -0.518129766, -0.9344403744, 0.0136523275, -0.0556862541, 0.2577009201, -0.1335156858, -0.4857901335, -0.0035663368, -0.448409766, 0.2308790237, -0.0902360529, 0.0536605753, -0.2097154707, -0.2800790668, -0.5645956993, -0.0726987273, 0.2743352354, -0.4620342851, 0.6490556002, -0.1616472006, -0.0584133677, 0.5717859864, 0.0127018029, 0.7815563083, -0.3864901066, 0.6032716632, 0.240046218, 0.2796051204, -0.3721531034, -0.229586795, -0.7311806083, 0.3627783358, 0.2736704648, 0.7318179011, -0.3466785252, 0.4015034437, -0.330219388, -0.263112247, -0.499843061, 0.1231638193, 0.6272623539, 0.5990345478, 0.4166954458, -0.4904052317, -0.084896259, -0.7888867855, -0.1065555811, 0.2336506993, -0.1483651251, 0.2151612341, 0.2140866816, -0.0377763063, 0.7555280924, -0.7399191856, -0.2798374593, 0.1676760018, 0.4259418249, 0.0940033793, 0.6728276014, 0.4715869427, -0.301911056, -0.4900188148, 0.2815573215, -0.6652783751, -0.0914864615, -0.3722057045, -0.3555756509, 0.1288924068, 0.5992621779, -0.2348398864, 0.4992250502, 0.2648944557, -0.1113941669, 0.4916484654, -0.1496725529, 0.3233806491, -0.8596296906, -0.1593725383, -0.2760691047, -0.1817325652, -0.8392711282, 0.0465609729, 0.0577295832, 0.0072932127, -0.189284578, 0.0890702456, -0.3930820823, -0.31468606, -0.4762842655, 0.0724085495, -0.0295448359, 0.5076949, -0.1404230595, 0.895851016, 0.7952591181, -0.5700880885, 0.2165188044, 0.1481919289, 0.0594431013, 1.0053377151, -0.6812912226, 0.4041395485, -0.2027290165, -0.0901286379, -0.5893463492, -0.0929626971, 0.2770040333, -0.3983775675, 0.7564573288, -0.3763795495, 0.145118624, -0.0027053875, -0.4721862376, 0.4981229901, 0.5109314322, -0.0833728984, 0.1072636619, -0.0266615134, 0.0912956372, -0.6392060518, -0.7249495983, -0.2888860404, -0.2751323283, -0.2769035399, 0.6486620903, -0.1693443209, 0.0839420035, -0.1002735049, -0.5759987235, -0.320320338, 0.0479837395, 0.4052195549, 0.2051911801, -0.3716214895, 0.1253200471, 0.3066099882, -0.1822706759, -0.0481765382, -0.3798221052, 0.4069604278, -0.0122725684, -0.5941867232, -0.4981565177, 0.3465490043, 0.2293258011, 0.2122818083, 0.6339346766, 0.7185262442, 0.1698092818, -0.0983802304, -0.4673520327, -0.2100761235, -0.4395696223, 0.1715858728, -0.1971371025, -0.8555941582, 0.3073495924, -0.0450251177, 0.0955680013, 0.1099684238, 0.342572391, -0.4200576246, 0.6293126941, 0.6709375978, -0.1527580619, 0.7596148252, -0.5001814365, -0.0535840541, -0.8634291291, -0.26561445, -0.4515261054, -0.7927424312, -0.4793058336, -0.437489748, 0.1295355111, 0.2500466704, -0.2788032889, 0.2141265124, -0.4524278343, 0.9031642675, 0.5481461883, 0.0617460422, 0.0623953678, 0.1507395059, 0.0708358139, 0.0771536455, -0.5443120599, -0.1880450696, 1.153429389, -0.0739655942, 0.6354042292, -0.3398891985, 1.1216139793, 0.1119666025, -0.0777446404, -1.118314743, 0.3951752782, -0.1553507, -0.2568889558, -0.2690532506, -0.4732621908, -1.1420190334, -0.0801406726, -0.0611688457, -0.6026213169, 0.0251558684, 0.2392473072, -0.4798060358, 0.1354840696, -0.6476388574, 0.8457099795, -0.246470958, -0.4025140107, -0.1888555735, -0.6631436348, 0.2358058542, 0.2299175113, -0.0356105454, -0.0110436659, -0.1419100612, 0.433519721, -0.1723318547, 0.6541011333, -0.2160541117, -0.10326536, 0.1002633125, 0.0793429464, 0.0763912052, -0.3324443996, 0.2145366669, 0.1537358165, 0.0465930365, -0.8111337423, -0.8655110598, 0.8411111832, -0.7801580429, -0.4307363331, -0.2548332512, -0.8254991174, -0.2633919716, 0.1769511402, 0.1338862479, 0.4602146447, -0.0955599844, 0.1510432214, 1.0053364038, 0.3415748477, 0.3859253526, 0.4533693194, 0.003708167, 0.0313381031, 1.0463209152, 0.190539062, 0.4277374446, 0.5696524382, -0.0183564704, 0.0861842856, -0.7144427896, -0.3616923988, 0.0401312374, -0.2285347283, -0.2973633409, 0.0729744434, -0.0877891406, -0.429888308, -0.4365426004, -0.2921108902, -0.4168606997, -0.3662475049, 0.0490324721, 0.1144731715, 0.6536723375, 0.0603785664, 0.6365594864, -0.7788360715, 0.2244493365, 0.443670392, 0.567381382, -0.1518405527, -0.6718212962, -0.531720221, 0.1397122145, -0.7359317541, -0.6495740414, -0.1933369935, 0.4350901246, 0.3723118901, 0.6980105042, -0.3530062735, 1.0679020882, -0.6530460715, 0.6827862859, 0.0752876103, -0.8838816285, 0.5640880466, -0.3624309003, 0.4090892971, 0.7641891837, 0.3482794166, -0.4705396891, -0.0303013716, -0.466579318, -0.5916725993, 0.8856762648, -0.000310346, 0.2867379785, 0.3020904362, 0.7665557861, 0.3262642324, 0.3260371983, -0.2121710479, -0.3640895188, -0.0626939833, -0.1659269482, 0.0031196831, 0.1003391892, -0.3642094433, -0.2926996946, 0.4113727808, -0.3489294648, 0.5247350335, -0.0881908461, -0.1888864785, -0.2135078013, 0.3625174761, 0.7246833444, 0.3346853256, -0.1857295781, -0.0582210682, 0.1975373179, -0.4066725671, 0.3237800896, -0.0855318457, -0.4832878113, -0.3190764487, 0.4783345461, 0.9656091928, 0.5080960989, 0.0905496776, 0.5089471936, 0.2184374481, -0.3903516829, 0.1082026213, 0.6060554385, -0.3026760817, 0.2520916164, 0.0465132892, -0.144845292, 0.073793754, -0.5988245606, 0.2050177455, 0.7240787745, -0.4403261542, -0.5842248797, 0.3328130543, -0.0316470079, -0.344760716, 0.6288936138, -0.2556492686, -0.1085325554, 0.6106549501, 0.4769436419, 0.9180158973, -0.1573219895, 0.5216624737, 0.1332729012, -0.0150414938, 0.2374264747, 0.201749742, -0.5342525244, -0.6074876189, -0.4426153898, -0.4373660982, -0.4415262938, -0.1072172746, -1.1352963448, 0.1711018831, -0.4558255672, 0.1173114404, -0.2059099823, 0.0600404814, -0.6751058698, -0.1218482926, 0.3694937527, 0.4732041359, -0.8570373654, 0.6941903234, 0.8519104123, -0.1897424608, -0.5452225804, 0.3362082243, 0.0401650853, -1.0018433332, 0.127323404, 0.2862137854, -0.0268243868, -0.0636771694, -0.6151653528, -0.5932573676, 1.5435141325, 0.2236712128, -0.7481303811, -0.2283883095, 0.4761783779, 0.4365031719, -0.4541559219, 0.232447803, 0.7493466735, 0.2869751155, 0.4906916618, -0.5967905521, -0.2253684253, 0.2574138939, 0.0283199064, 0.486990571, -0.6697721481, 0.5791177154, -0.0644091368, -0.028526973, -0.0995462984, 0.3537183404, -0.0578835718, 0.7244843245, 0.1690382957, 0.833876431, 0.4874102473, -0.1462812424, 0.8502986431, -0.2522555292, 0.4312082827, 1.1871898174, -0.2516583502, 0.5462239981, 0.5780914426, -0.2692649066, 0.5072835684, 0.307023555, -0.0290617645, 0.3442822099, 0.0953856409, -0.1800897568, -0.1620194465, -0.1012204215, -0.4127652347, 0.5151600838, 0.1210052595, -0.0734806955, -0.3817846477, -0.2607153654, -0.1259089857, -0.1986790597, -0.5613453984, 1.1228201389, -0.2042288035, -0.4664693475, 0.6944204569, -0.4737156332, 0.5557110906, -0.6326465607, 0.0066809966, -0.336701721, 0.0775262341, -0.2097395957, -0.818959713, 0.4686302543, -0.3381045163, -0.4294395447, -0.269651562, 0.4262343645, -0.612339139, -0.2684116662, -0.0729259625, 0.4464840293, 0.2080655545, -0.0333813876, -0.6719350815, -0.016835222, -0.0291272607, -0.046223335, 0.822357893, 0.4919362962, 0.0240825135, 0.1433642507, 0.26730299, 0.1101586446, 0.3404189944, 0.0115594575, 0.6681919098, -0.7240101695, 0.0298895445, -0.6758723855, 0.2865579426, 0.0623657443, -0.3118452132, 0.5305919051, 0.5149840117, 1.0285615921, -0.1621921808, 0.3755894601, 0.0947548226, 0.0969332382, -0.5746736526, 0.3629385531, -0.5441192985, -0.0851768479, 0.0480487086, -1.0462218523, -0.3129502833, 0.3513021469, -0.4601547122, 0.0171107464, 0.5958330631, 0.8442710042, -0.3604604304, -0.3251469135, 0.5051555037, -0.0376637653, 0.0749028325, 0.5437903404, 0.4909044504, -0.390304476, 0.5373492837, -0.494176805, -0.332379967, -0.1978430003, -0.6769143343, -0.6424767971, -0.2604027987, -0.4765284657, 0.3071626127, 0.0718593746, 0.5119448304, 0.7260195613, -0.9342595935, -0.4352117479, -0.3872168362, 0.1413601935, -0.4452549815, -0.2572769225, 0.0780334845, -0.8243593574, -0.6796180606, 0.3584706485, 0.3000515997, 0.2665186822, 0.0403272733, 0.0443683155, 0.0565706752, -0.0105955712, 0.4331637323, 0.4060557783, -0.3885437846, -0.3373664021, 0.1520513147, 0.1899536848, 0.2394299954, 1.174957037, -0.7766455412, 0.4447049201, 0.2394677252, 0.6383255124, 0.4021072984, 0.2690713704, 0.3478062153, -1.0441572666, 0.0964963734, -0.0257508066, -0.1116321161, 0.0346241109, -0.3673991561, 0.3513614237, 0.1771331578, -0.8165791631, -0.5693112612, 0.4205547273, -0.9832163453, 0.149063766, 0.8081770539, -0.0951253846, -0.1735725254, 0.1718834192, -0.0908586979, 0.4278255105, -0.3062244654, 1.0615152121, 0.7024466395, -0.6583529115, 0.0271413829, -0.3321665227, 0.287308991, 0.6277261972, -0.8325368762, -0.0503513329, 0.5022141337, 0.2680526674, 0.0531170741, 0.1758879721, 0.1245063767, 0.3463799357, -0.1584753245, -0.0646941587, -0.3178684413, -0.3994672, -0.7391644716, 0.0528478995, -0.1206572056, -0.7062363625 ]
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.3779267669, -1.1690444946, 0.4894081652, 0.141884461, -0.1186886728, -0.0133740455, -0.2147176266, 0.0534490608, 0.1437625289, 0.8290019631, -1.001034379, -0.3279141188, -0.3973026872, -0.3558811843, -0.4945092499, 1.1358908415, 0.2162833959, -0.1149510965, -0.1997112781, -0.1225693524, -0.6324046254, -0.4147826433, -0.6995950937, -0.2116369754, 0.7346790433, 0.7486890554, 1.2464011908, 0.5207872391, 0.1935572475, 0.3490695357, -0.2830159068, -0.203618899, -0.763277173, 0.1561797708, -0.1273665875, -0.5988886356, -0.4635649323, 0.2724591494, 0.445869863, 0.8308961391, -0.1293009669, -0.048201438, 0.2562306225, 0.8972310424, -0.5081176162, -0.225789398, -1.0001684427, -0.1089559495, -0.1337122023, -0.1172939762, -0.8360652924, -0.105252184, 0.175590232, -0.4892384708, 0.1577457637, -0.2001581043, 0.7785314918, -0.1219870523, -0.121626623, -0.3969447315, -0.8287370205, 0.506675601, -0.5383895636, 0.4788815677, 0.8409073353, 0.183135584, -0.3488391042, -0.4120144546, -0.3931978941, -0.5668897629, -0.1019206569, -0.3666455448, -0.4521768987, 0.4168171287, 0.1734170169, -0.2622317672, -0.4018664956, 0.3777009249, -1.0002359152, -0.0116334623, 0.2633432448, 0.1340887696, 0.5710874796, -0.0798734874, -0.4672194421, -0.0553838834, -1.0263357162, 0.0922640711, 0.5743499398, 0.4907383621, -0.2322710603, 0.449865371, -0.2253636122, 0.3989271522, -0.0833237022, 0.2874943316, -0.1912545115, 0.0466064811, -0.3355176449, -0.105039686, 1.0108833313, 0.179432869, 0.059990298, -0.1545338482, 0.0758196265, -0.1618297845, 0.6298539639, -0.6835212708, -0.1041515395, 0.5611464381, -0.7434405684, -0.5240595341, -0.1822724491, -0.7630888224, -0.5443797112, -0.1640665084, 0.4746208489, -0.790461421, -0.2649060786, 0.0092706149, -0.1455094367, 0.2367244959, 0.1346542835, -1.0169178247, 0.5400032401, 0.7256486416, 0.9035926461, 0.3108735979, -0.4484724402, -0.3938979805, -0.3452225029, -0.6029133797, 0.2533898354, -0.4891472757, -0.5368468165, -0.3516504467, -0.137917161, -0.0063458728, -0.4615558386, 0.4944221079, -0.7137249112, -0.2706921697, -0.2687583268, 0.0179625209, -0.4922158122, 0.0726736486, -0.4430441856, -0.0120300865, -0.2774410546, -0.4868821204, 0.217698738, -0.4157225192, -0.3499325812, -0.2132926136, -0.0939489156, -0.5102444291, 0.3852118254, -0.0728894249, 0.3204420805, 0.0482526943, 0.2631058693, -0.8925962448, -0.135279417, 0.4576147795, -1.1452685595, 1.0393747091, 0.4590566456, 0.0276741795, 0.3851475716, -0.8513801694, -0.2298344374, 0.3759853244, 0.0215666443, -0.6489257216, 0.515149653, -0.1632503122, 0.3751131892, -0.2730056047, -0.5330481529, 0.0778722912, -0.4123420119, 0.7134849429, 0.9537312984, -0.2677734792, 0.5153666139, -0.1327881515, 0.6417393684, -0.248621881, 0.4583949447, -0.0013354524, -0.1809925437, -0.7976256013, -0.2010995746, -0.0500802547, 0.2980730534, -0.583363235, -0.1233893111, 0.0463122167, -0.4718616605, -0.7920595407, 0.1428193897, 0.5332201123, 0.1857132316, 0.1076292247, -0.0071130595, -0.3874220252, -1.1041806936, -0.0352742597, -0.4031012654, 0.1952816695, 0.0498958416, 0.101518333, 0.1587607265, 0.6668848991, -0.1143216044, -0.192498222, -0.3282468617, 0.0025771973, 0.1077354923, 0.5714763403, 0.8970860243, -0.9409711957, -0.175490275, -0.1076066047, -0.6716804504, 0.2198593318, -0.1829460859, -0.1021498963, 0.0861240029, 0.8883965015, -0.4222523272, 0.8570608497, 0.687205255, -0.4906753004, 0.5529005527, -0.1709929407, -0.0001793014, -0.6244687438, -0.2060294002, -0.2702794969, 0.0650842264, -0.9216691256, 0.4226887226, 0.0149977906, -0.3115630746, -0.8100486994, 0.3269668818, -0.2050070167, 0.5828427076, -0.4812202752, -0.0104693128, -0.28431952, 0.3461430371, -0.094033733, 0.4640393257, 0.8287657499, -0.937602222, 0.0417156629, 0.4799357057, 0.2235722393, 0.3048247695, -0.8640885353, 0.1620520055, -0.3969950676, -0.049730204, -1.4912019968, -0.0567102395, 0.3303527534, -0.5232354403, 0.1189293265, -0.6178815365, -0.0386561453, -0.3383737206, -0.2315639704, 0.147976622, 0.4437265396, -0.538310647, 0.4984283447, 0.1252613217, -0.2145888954, -0.3039733768, -0.8192406893, 0.0182963423, -0.2247558385, -0.3458223641, -0.034993507, -0.2737822533, -0.3406508863, -0.1882617921, 0.0054155556, -0.1281687319, 0.4124771357, 0.688649416, 0.4725163281, 0.0270261895, -0.2348605543, 0.1813119799, -0.1252406389, 0.2778338492, -0.0742988884, 0.5151480436, 0.1400145441, -0.6611007452, -0.5915269852, 0.3545663357, 1.0464084148, -0.2123468667, 1.046199441, 0.0017861235, -0.1352876276, -0.1952050328, -0.1788611114, -0.425046891, -0.5983896852, 0.2258249223, -0.5447743535, -0.8070477247, 0.5035277605, 0.3823580444, 0.2225514054, -0.0287298951, 0.313352108, 0.2631212175, 1.0333439112, 0.429081589, -0.2589072585, 0.2918846309, 0.0856129378, 0.4641872346, -0.4074114561, -0.0334338583, -0.938947618, -0.1858813465, -0.7229715586, 0.1155344695, 0.3964459896, 0.1793872267, 0.0358213633, 0.3250114322, -0.2723493278, 0.4594372809, 0.2273384631, 0.4178745747, 0.1902443469, 0.077734299, -0.2572308779, -0.1815089434, -0.7005253434, -0.3781546056, 0.7359975576, 0.7425276637, 0.8491415977, 0.2941041887, 0.3476774395, -0.189432472, 0.2066195905, -0.7846277356, 0.8822713494, -0.1014412194, -0.8189023137, -0.2186852992, -0.3787241578, -0.9484087825, 0.5755221844, -0.222749263, -1.076879859, -0.078275919, 0.2054784298, -0.4373138845, 0.443664819, -0.8907598257, 0.7126049399, 0.0895949453, -0.4585627913, -0.5015230179, -0.2825503945, 0.4267080724, 0.2203182727, 0.4385743439, -0.2475295663, 0.4592620134, 0.3880500197, -0.6715696454, 1.1556715965, -0.1151968688, -0.1756642163, 0.4792763591, 1.1361531019, 0.495216012, 0.2090666294, -0.3068554699, 0.0099762511, -0.0508754663, -0.3427973986, -0.4371278882, 0.8147053719, -0.439881444, -0.9161376953, 0.0399688967, -0.5000346303, -0.1654813141, 0.4381526113, 0.3026646376, 0.4917028546, -0.3010309339, 0.3278822899, 0.4982873201, -0.5243223906, 0.5195567608, 0.7167754769, -0.5392767191, 0.1697316915, 0.8556621075, 0.0952925682, 0.9151754379, -0.0525828898, 0.2302920371, 0.0051512574, -0.8656266928, -0.3261779249, -0.15543966, -0.5196599364, 0.1873919517, -0.4663998783, -0.5281707048, -0.1627399176, -0.2516858578, -0.7298902273, -0.1550215632, -0.1688710302, -0.3064011037, 0.2176588625, 0.7229524851, 0.0537833869, -0.0412497409, -0.7169929743, 0.2372539788, 0.3372663558, 0.6530476213, 0.279871136, -0.6495440602, 0.4186372161, 0.2064584345, -0.3600490689, -0.7030079365, 0.1900861561, -0.2410023808, 0.2366189063, 0.6135097146, 0.3719781041, 0.603290379, -0.7278405428, 0.4967403412, 0.1226949468, -0.9383680224, 0.7162222266, -0.6906560659, 0.0208481364, 0.4503792226, 0.48154369, -0.4205530584, -0.8662363291, -0.5798725486, -0.8252151608, 0.8195641637, 0.3399334848, 0.8376970887, -0.0107322847, 0.195617184, 0.2912193537, 0.0030482418, -0.7246665359, -0.4564653635, 0.0970414504, 0.3405697942, 0.2624627054, -0.2433273345, -0.2043284923, -0.1650178134, 0.51812464, 0.0694724172, 0.1356800348, 0.0219518859, 0.2365694344, -0.1179734766, 0.6425461769, 0.6199212074, 0.7345873117, -0.1699921042, 0.0228804778, 0.0318641551, -0.3361726999, 0.1495124549, -0.1134009659, -0.5895141363, -0.0833461061, 0.0421832316, 0.9397290349, 0.1276340038, -0.4596264064, 0.3430550098, -0.1048046872, -0.4188680947, 0.0756362975, 0.1897473484, -0.2633718848, -0.0177894831, 0.1291764081, 0.2520250976, 0.1050165892, -0.6255383492, 0.1611888409, 0.9226423502, -0.8566929102, -0.4281244576, 0.9063463807, -0.0844439715, -0.2484775037, 0.5350899696, -0.3118648529, -0.317437619, 0.3990972638, 0.4947839677, 0.8018724322, 0.0065728817, 0.7443497181, 0.1770018786, 0.4482301772, 0.0878209844, -0.0507705845, 0.2987015843, -0.7449288964, -0.1785831153, -0.3058617115, -0.2619519234, 0.402512908, -0.7616191506, 0.2074886262, -0.9960169792, 0.1088506207, 0.1458696276, -0.8083073497, -0.4360359907, -0.2382498384, 0.2842279971, 0.9122017026, -0.6610341072, 0.683128953, 0.4220645726, -0.3057828844, -0.8979480863, 0.0383541062, 0.5978919268, -0.5508918166, 0.2806549966, -0.032662984, -0.1071474627, -0.272998035, -0.9289965034, -0.6144722104, 0.396667093, 0.3809286058, -0.5193217993, 0.1013559252, -0.1822597533, 0.3136370778, 0.2096585184, 0.0701971799, 0.5307188034, 0.0830446184, 0.1571132243, -0.9831409454, 0.2539419532, 0.1129180938, 0.0269784778, 0.1664154381, -1.0291019678, 0.5765466094, -0.4370233715, -0.142049998, 0.3950514197, 0.4952918291, 0.3530253768, 0.0445486195, 0.6258689165, 0.1432536095, 0.1804311872, -0.0048767203, 0.9726988673, 0.0885158107, 0.217806235, 0.8310682178, -0.0911928415, 0.8839241266, 0.5413689613, -0.0872044936, 0.3560428619, 0.0427319482, 0.4053607583, 0.6251347065, 0.0835837647, -0.029758947, -0.0508108214, -0.0504190698, 0.0473743342, 0.7738749981, 0.5945463181, -0.1977352351, -0.321964711, 0.412599355, 0.3594254553, 0.2409944385, -0.4670946598, 0.5016429424, 0.1164913177, -0.8250945807, 0.8472195268, -0.0358868688, 0.2492489368, -0.7824826241, 0.088585712, -0.0059465431, 0.0837476701, -0.0677355751, -0.7192598581, 0.3710568547, -0.1760535538, -0.0228645597, -0.2064774334, 0.8142691255, -0.1349160075, -0.1176612452, 0.6058292389, 0.267439872, -0.2819458842, 0.1513577402, -0.6769599915, 0.2875111699, 0.0101479189, -0.3664824069, 0.5539674163, 0.3284824193, 0.0334995985, 0.9186916351, 0.6969843507, 0.0313281566, -0.2288600206, -0.017252503, 0.9702783227, -0.3916151226, -0.6150255799, -1.1414179802, 0.516448319, 0.4882097542, 0.0168921985, 0.7530263662, -0.0657537803, 0.9048685431, 0.1543724537, 0.8002429605, -0.3580003679, 0.1747852117, -0.7676126957, 0.9622465968, -0.4570322037, 0.5099706054, -0.4835306704, -0.2076532841, -0.0740341842, 0.2553084493, -0.3271777928, -0.1009217799, 0.4655049145, 0.8543093204, -0.0962379873, 0.209603399, 0.4954813719, 0.4195239544, 0.3462993503, 0.3465666473, 0.8738234043, -0.2061515599, 0.6496097445, -0.2546986341, -0.0647065341, -0.1946434528, -0.4484289885, -1.1941654682, -0.6200658083, -0.1391088516, -0.8827821612, 0.1513226628, 1.0284366608, 0.9735763669, -0.6509400606, 0.01236552, -0.243505165, 0.3565972149, -0.2828663588, -0.1897736937, -0.0296913143, -0.3675219715, -0.4123528004, 0.5766324997, 0.3520619571, 0.1371976137, -0.4058339894, 0.0899958313, -0.1102000996, 0.2070317417, 0.5720889568, 0.6377398372, -0.7898355722, -0.4390618503, -0.0663440675, -0.2054757327, -0.037157096, 0.7598523498, -0.4449455738, 0.6432542801, 0.3765247166, 0.2948417366, -0.1650008857, -0.1907608956, 0.6004497409, -0.8470762372, 0.6499237418, -0.0761269554, 0.0636837929, -0.1228068247, -0.3548956811, 0.0200972501, 0.0660638958, -0.3073491454, -0.570414722, 0.3139739633, -0.4426700473, -0.704015851, 1.0570414066, 0.1202318966, -0.2476768196, -0.0438010916, -0.475492835, -0.223507151, -0.3963795006, 0.6633369327, 0.8663840294, 0.1957561374, -0.3627333641, -1.0838690996, 0.4867414832, 0.63082546, -0.1276196241, 0.3900643289, 0.3942638338, 0.3776482046, 0.0948185846, 0.7829556465, -0.2163466811, 0.2800242901, -0.1026569828, -0.3074516058, -0.1394997984, -0.7094262838, -0.6025898457, 0.328494221, 0.4638999104, -0.2427780479 ]
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.3668406606, -0.5820839405, 0.3243516088, -0.0334145948, -0.0950456783, 0.1123621166, -0.4199343622, -0.4625627995, -0.2252242714, 0.6229289174, -0.6472937465, -0.5663406849, -0.1189861, -0.086527206, -0.3019218743, 1.4033913612, -0.3609051108, -0.1196922511, -0.4991173744, -0.2934435308, -0.5038023591, -0.9080783725, -0.2892929912, -0.8493510485, 0.7354006171, 0.5230895877, 0.6822463274, 1.1310254335, 0.4191353917, 0.2134417444, 0.0537883416, 0.0268596895, -0.7426505089, 0.1811202914, -0.0804663152, -0.6117394567, -0.3109911382, -0.0760400295, 0.7462261319, 0.6363472342, -0.5793656111, 0.323659569, 0.0358795188, 1.1084920168, -0.6590735316, 0.2643351257, -0.163801387, 0.3857837915, 0.1526088268, -0.3675189316, -0.3928180039, -0.4747997224, 0.2281798124, -0.5659692883, 0.4199888408, 0.1584509909, 0.7175968885, 0.2385301143, -0.233083114, -0.3079628944, -0.8680329919, 0.6780026555, -0.5078420639, 0.5349217653, 0.6364811063, 0.1465026289, -0.1282374114, -0.3789127469, -0.3781324923, -0.4726284444, -0.2394147068, 0.1504805684, 0.3841508329, 0.3625999689, 0.6818063259, 0.35859254, -0.432880044, -0.056807179, -0.5060665607, -0.3880293369, 0.6162831783, 0.4118424058, 0.0562868044, -0.0052977982, -0.5827251077, -0.3428863585, -0.7680236697, 0.3386816084, 0.3439651728, 0.114802219, -0.0686361119, 0.3753174841, -0.072174117, 0.6398020387, -0.0368126072, -0.298515439, 0.1958372593, -0.3331389725, -0.274027735, 0.0143020302, 0.6319795847, 0.3716238439, 0.5854758024, -0.2388471365, -0.4534311593, -0.2354379743, 0.5516765714, -0.7692602277, -0.2755678594, 0.1416174471, -0.5128837228, 0.0446941368, 0.2411143035, -0.271440804, -0.3688935339, -0.4772348404, 0.274266839, -0.3052203357, -0.1615990847, -0.0140509345, -0.0806410313, 0.0609463453, 0.1418808848, -0.9288503528, 0.3480367064, 1.0760680437, 0.5040457249, -0.2184621692, -0.8135874867, -0.506922543, 0.0062112976, -0.4974599779, 0.3576654494, -0.2365338057, -0.4668784142, 0.1736441404, 0.0045023644, -0.4450193048, -0.8972733617, 0.2561589479, -0.7426518202, 0.0110710682, -0.3401924968, -0.8686732054, -0.4076291621, 0.3410756886, -0.5211945176, 0.8770871758, 0.1141127273, -0.5868524313, 0.5944547653, -0.117983371, -0.2570890486, -0.2948318422, -0.1181699634, -1.0139518976, 0.1589124352, -0.2339709401, 0.400331825, 0.1754869521, 0.3199217618, -0.384611398, -0.7096285224, 0.6815442443, -0.0668563917, -0.1074193865, 0.2007716745, -0.2048734128, 0.3248607516, -0.5225113034, -0.0136131393, -0.2066969723, -0.7033069134, -0.1143565252, 0.0446414873, 0.0982087106, 0.1814884841, 0.1442021877, -0.1870825589, 0.1656705439, -0.0734709576, 0.3304152787, 0.6362912655, 0.3841335177, 0.486505717, -0.7262819409, 0.792819798, 0.1949588805, 0.0146498848, -0.2305625975, -0.1063613817, -0.5571559072, 0.030490702, 0.4943188429, 0.4207130671, 0.0011569749, 0.1904766113, -0.1061750129, -0.2175928354, -0.3079786599, 0.374368459, 0.9894006848, 0.4424873292, 0.1387193501, -0.5045153499, -0.3934836686, -0.9311137795, -0.2838970721, -0.2273276448, 0.1385108232, 0.5655340552, 0.4088863134, -0.1248472854, 0.7463663816, -0.3029728532, -0.3206753135, -0.1525162905, 0.226620093, -0.1146313176, 0.5988668799, 0.0427656807, -0.4924007058, -0.2570337951, 0.043538034, -0.465016067, 0.3594572842, -0.3575706184, 0.0241578557, 0.4851650596, 0.6543823481, -0.1613498628, 0.4659296274, 0.3191745877, -0.4481019974, 0.3539072871, -0.6748824716, 0.3642302454, -0.4130785167, 0.1276769191, -0.2670098543, -0.526915133, -0.4923853576, 0.1130637527, 0.3772107065, 0.0206810012, -0.187009722, 0.2611091137, -0.407794416, -0.4349413812, -0.1819404513, 0.0411269441, -0.2690077722, 0.8791899681, 0.2226239294, 0.8918654919, 0.031349238, -0.7214787006, -0.1290357262, 0.1374458671, -0.4999842644, 0.1884329915, -0.5874596834, 0.1933027804, -0.0948747024, 0.2273939848, -0.9571248293, -0.1919716001, 0.0120115047, -0.422994256, 0.1740020514, -0.2000744939, -0.3846395016, -0.168848902, -0.1879586726, 0.6235723495, 0.5822295547, -0.4664708376, 0.2399620563, 0.2915535867, 0.353526026, -0.612324357, -0.352501601, -0.4262923598, -0.4510286748, -0.2883328199, 0.0981260911, -0.0554157197, 0.1283764839, -0.2547880113, -0.2748227715, -0.0215904228, 0.2915602624, 0.6528400779, 0.2449415922, -0.0330500752, 0.2227518857, -0.3836638331, -0.0767574236, 0.2652978599, 0.0072067748, 0.535199523, -0.1032164618, -0.4380969405, -0.5144743919, 0.0084827067, 0.5526240468, -0.2198691219, 0.6811648011, 0.526060462, -0.2228085995, -0.4270953238, -0.4811440706, -0.3264449239, -0.3602422476, 0.3726707399, -0.1889439374, -0.8201501966, 0.9387856722, 0.1934650391, 0.0724312663, -0.0205754638, 0.3825202584, -0.2844176888, 1.0364279747, 0.6719024777, -0.0506260954, 0.7029385567, -0.2193749547, -0.1123508289, -0.8413691521, -0.3440000713, -0.3014992774, -0.5917921066, -0.538082242, -0.123521015, 0.0893259346, 0.5358585119, -0.3309569061, 0.2981328964, -0.2494057715, 0.564666748, 0.6373224854, 0.3807991743, 0.4439311922, -0.0541694053, 0.1063019633, -0.0656734332, -0.5875581503, -0.1388541758, 1.1239577532, 0.6124671102, 0.7873577476, -0.2080486119, 1.0569944382, 0.2217848003, 0.2232723832, -0.6713069081, 0.3100446761, 0.1627861559, -0.4050169587, -0.356552124, -0.4979951084, -0.8270745277, 0.0386885405, 0.003389254, -0.4867962599, 0.1075924486, 0.7845364809, -0.4845844507, -0.0088137835, -0.6551481485, 1.0368088484, 0.1278006583, -0.3065258563, -0.5866624117, -0.604060173, 0.4582092464, 0.0948265195, 0.2010384649, -0.0135984616, 0.0506746136, 1.0942364931, -0.4350117445, 0.8093608022, -0.2899335623, -0.1605635136, 0.1854366958, 0.0610565543, 0.584792316, 0.1181749403, 0.2993318439, -0.2536997199, 0.1713024974, -0.2106813788, -0.4956883788, 0.544311285, -0.7953427434, -0.3180024326, -0.3206958175, -0.6637778878, -0.2475935966, -0.1379168183, 0.0741483048, 0.3345523477, -0.0898759291, 0.0794848055, 1.0280425549, -0.1154739261, 0.2793905735, 0.4663489461, -0.5130345821, -0.3923573196, 1.029740572, 0.1053715274, 0.5352426171, 0.2476497293, 0.071373269, -0.3039371073, -0.4983821809, -0.3404483199, 0.3676622808, -0.7204027176, -0.1015462503, -0.447232753, -0.2673499584, 0.0322325826, -0.0071763606, -0.2903911471, -0.3348067105, -0.2138841748, -0.2093871832, 0.3724919558, 0.7398092747, 0.0397267491, 0.185474053, -0.7775495648, 0.3328309953, 0.2382831872, 0.7067294717, 0.2117281258, -0.6675503254, -0.6442263126, -0.1210044324, -0.006968935, -0.5444470048, 0.1274704039, 0.0885675475, 0.3169532418, 0.2419128418, -0.1504154652, 0.9026511312, -0.194409579, 0.4787151217, 0.0572401173, -0.7639219761, 0.2070862651, -0.3999308944, 0.3868201971, 0.8258693218, -0.1026125327, -0.8712937832, -0.353598237, -0.5085895061, -0.6361952424, 0.9437136054, -0.418715477, -0.0924641564, 0.1647763848, 0.4921742082, -0.084015213, 0.273630321, -0.5528467298, -0.3264894187, -0.0208296292, 0.011500041, -0.1262613535, -0.3518679142, -0.2219102383, -0.2073899508, 0.5047261119, 0.1032941341, 0.0800398514, 0.073936455, -0.2657143772, -0.4064041078, 0.156000331, 0.9481495023, 0.8023135662, -0.3904536963, -0.2208258957, -0.0522012711, -0.5900812149, 0.0641215444, -0.2894175947, -0.2078186572, -0.3446426988, 0.4807537496, 0.857008338, 0.5850412846, -0.8048409224, 0.463619113, -0.0375575721, -0.5234106779, -0.473148644, 0.5410379171, 0.1922406256, 0.2273830771, 0.1262365878, 0.0375546627, -0.1368516386, -0.5331313014, 0.5312871933, 0.1983603835, -0.7161005139, -0.0790916607, 0.5890314579, -0.2467364222, -0.3782328665, 0.9545350671, 0.0794876516, -0.6146832705, 0.866892159, 0.4304584265, 0.731605649, -0.0970291942, 0.1592638493, 0.7181273103, -0.0721585602, -0.4375502765, 0.2762846947, -0.494554311, -0.4277596772, -0.2512048781, -0.5134243965, -0.3742605746, -0.1208343431, -1.1670665741, -0.0855448395, -0.6952598095, -0.1136583686, -0.3838743865, 0.0294471476, -0.6386274695, 0.1973301917, 0.1536734402, 0.7251334786, -0.6415632367, 0.9314970374, 0.3796902001, -0.4280135036, -1.1264219284, 0.0574178845, -0.0697203204, -0.9539481997, 0.5796346664, 0.1826623082, 0.0626039803, -0.0572961308, -0.1641220748, -0.6851294637, 1.1908221245, -0.0743802711, -0.6286554933, -0.0043650046, 0.0903223753, 0.6335352063, -0.2105730027, 0.0576852784, 0.9236501455, 0.406892091, -0.1132218689, -1.0241550207, -0.0860528201, 0.113956973, 0.117166169, 0.4600405097, -0.5167863965, 0.6853808761, -0.503318727, -0.4332042634, -0.0507446602, 0.6261482835, 0.4065921009, 0.2883163095, 0.561452806, 0.6284862757, 0.6562758088, -0.0100020496, 0.840474546, -0.227470547, 0.5610915422, 1.1893706322, 0.009982504, 1.0501886606, 0.4550993741, -0.2726347148, 0.328248471, 0.6074733138, 0.0410324484, 0.4276916981, 0.6463959813, 0.0738788471, -0.2608010471, 0.0657536164, -0.485191226, 0.083105363, 0.2069327682, -0.3858130574, -0.0443883166, 0.2125122994, -0.0687507764, 0.4104755223, -0.3394725025, 1.1960484982, 0.0183274467, -1.2598809004, 0.9244028926, -0.1899137795, 0.4061128199, -0.6020240188, 0.0430033654, -0.6196252704, 0.5957468748, -0.4571680129, -0.7687574625, 0.3198597133, -0.2579506636, -0.4897479713, -0.3176275492, 0.0288919695, -0.9547727108, 0.001869913, 0.389113605, 0.1135327369, -0.0044503836, 0.1570292413, -0.528013289, 0.12298958, 0.2099981606, -0.3834924698, 0.6874527335, -0.0029656, 0.019330591, 0.7791031599, 0.4056396186, -0.0433338657, 0.246139437, 0.2745142579, 0.400302738, -0.8856683969, -0.5572628975, -0.7104049325, 0.3000146747, 0.269480437, -0.4480678141, 0.674990654, 0.6240958571, 1.0312293768, -0.2052871734, 0.4783381224, 0.3840402961, 0.6790672541, -0.6770296693, 0.6234865189, -0.3554247916, 0.299518615, 0.0094536198, -0.6874647141, -0.1781267524, 0.4167316258, -0.1516307294, 0.0107902642, 0.5706813335, 0.9488779902, -0.104991518, -0.0503280573, 0.3372324705, -0.1792228222, 0.1862127781, 0.8081319332, 0.8664723635, -0.3405733705, 0.5479640365, -0.546387732, -0.0831251219, -0.2694687545, -0.5940100551, -1.0248713493, -0.6475819945, -0.3819252849, -0.4542417824, 0.0251418334, 0.8742720485, 0.6393892169, -1.0090810061, -0.5599101186, -0.2627943158, 0.3251602352, -0.5715833902, -0.187665984, 0.3940467536, -0.5812252164, -0.3432231247, 0.0170912594, 0.0311006363, 0.0287683699, -0.3500878811, -0.4328390658, 0.1380660534, -0.2938885689, 0.0698757768, 0.7428805828, -0.7165821195, -0.2404196858, 0.027472252, -0.3379360735, 0.2169333547, 1.3025331497, -0.9006453156, 0.4367985725, 0.4959884584, 0.6452256441, 0.6404898167, 0.3607192039, 0.68524158, -0.7085660696, -0.0809035152, -0.0481650047, 0.2722636163, 0.0455762446, -0.4092522264, 0.2490160316, -0.0841472968, -0.956715405, -0.8326490521, 0.219162792, -0.6796717644, -0.0940258354, 0.8463428617, -0.164940536, -0.1370671242, -0.0783634558, 0.0090273526, 0.0165662654, -0.3979347944, 0.9258694053, 0.7919301391, -0.1440898925, -0.1921137571, -0.6369207501, 1.0475314856, 0.6200734973, -0.5048609972, 0.6962385774, 0.5570584536, 0.3642204106, 0.0024642728, 0.7875159979, 0.0134492572, 0.6198515892, -0.4012271762, -0.1791586131, -0.2448125184, -0.525683701, -0.6713631153, 0.1263672113, 0.3923416734, -0.2561393678 ]
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.0969098657, -0.8766265512, 0.5131642222, 0.232657671, 0.0188883692, 0.7955908775, -0.0320281573, -0.3363418579, 0.106630519, 0.2777511179, -0.5113001466, -0.6867184043, -0.2592860758, -0.1693819314, -0.4800154567, 0.9654114246, -0.0287791416, -0.0029635034, -0.5118188858, 0.1442382187, -0.386366725, -0.4632267654, -0.7297537923, 0.042572964, -0.0766649246, 1.084030509, 0.7618660927, 0.0731220171, 0.1889107972, 0.2538202405, -0.2022419274, 0.2123601437, -0.2546437979, 0.0734149292, 0.1868793219, -0.5891424417, -0.2964891195, -0.3976115882, 0.3498784006, 0.5207825899, -0.2185098678, 0.2218096405, 0.2068044692, 0.4655478895, -0.499316901, 0.2134298086, -0.6994440556, 0.0187679268, 0.1451618522, -0.2250838727, -0.5999578238, -0.8163695335, -0.2722587287, -0.4164374471, 0.1381789893, -0.2439998537, 0.4025760889, 0.5787510872, -0.5360351801, -0.2011727244, -0.6877130866, 0.4467146993, -0.7210544944, -0.0346456841, 0.5038332343, 0.3278007507, -0.4211420119, -0.3063102961, -0.3185603619, -0.1524928659, 0.0808973312, 0.0952905416, 0.0415988192, 0.1288809478, 0.2706754506, 0.1099109873, -0.5630584359, 0.1619129181, -0.3765947223, -0.1305680573, 0.5537378788, 0.1300512105, 0.4091090858, -0.2927272916, -0.2176693678, -0.0682051405, -0.9072567821, 0.4574458599, 0.2774508297, 0.0375279225, 0.1064727157, 0.2922555804, 0.1560518593, 0.5417564511, 0.1937291473, -0.3378561735, -0.0992529765, -0.1740197539, -0.1312101334, 0.3832337856, 0.3194174469, 0.305393666, 0.366997689, -0.1971223354, -0.0466568395, 0.1465480477, 0.3108989298, -0.7240616083, -0.4212594628, 0.3792831004, 0.0992579684, -0.3155204654, -0.2315767109, -0.8781505227, -0.5047113299, -0.1886803061, 0.3852291107, -0.5505056977, -0.2709620297, 0.0316801593, 0.1106509343, 0.277854681, 0.3249043226, -0.4564262629, 0.2637290955, 0.5790616274, 0.7312781215, 0.2078933567, -0.2359707057, -0.6592693329, 0.21348764, -0.5306617618, 0.7404718399, -0.6879449487, -0.6272583604, -0.0693871826, 0.1873071045, -0.0566905588, -0.6264954209, 0.037000753, -0.1292690188, -0.0424998067, -0.0082680499, -0.310670048, -0.1885123104, 0.3977366984, -0.1304714084, 1.2414755821, 0.356544733, -0.5344562531, 0.0792087689, -0.5028547049, -0.2944674194, 0.223021701, -0.6220288277, -0.4846050441, -0.182161808, 0.309564203, 0.2610183656, 0.1726494282, 0.3450296223, -0.0080363546, -0.5434723496, -0.1087705046, 0.1076740399, 1.2425519228, -0.1740193218, -0.7363988757, 0.3325642049, -0.6051661372, 0.4003247619, 0.1034469381, -0.1270083934, -0.4006136656, 0.2164758891, -0.3269151151, -0.0607319213, -0.2411653697, -0.5407343507, 0.7628971934, -0.2387572676, 0.285061568, 0.8614470363, 0.242252335, 0.2873522043, -0.2706052363, 1.152815938, -0.0818876848, 0.3343775272, -0.0190791711, -0.3484573364, -0.7186419964, -0.0633268282, -0.1578906775, 0.6326935887, -0.9785405397, -0.0532248355, 0.1928491443, -0.7202369571, -0.3695172668, -0.0868077725, 0.428812772, 0.351905942, 0.4360483885, 0.0673175603, -0.3612655103, -0.6902775168, 0.0792341381, -0.4533932209, 0.4547557235, -0.034083385, 0.5276672244, -0.1810613424, 0.7922818661, -0.677749455, -0.0001440793, -0.2934353352, 0.0226920489, -0.0449198261, 0.5878536701, 0.5832881331, -0.3936426938, -0.7042030692, -0.2559544742, -0.3185072839, 0.0213268325, -0.2943507135, 0.0243487302, 0.3091543615, 0.66175282, -0.3699999452, 0.5643065572, 0.565897882, -0.5804165602, 0.801777184, -0.2725763619, 0.0961476266, -0.9724031687, -0.3397239745, -0.2533111572, -0.0614375509, -0.2527795434, 0.1812716722, 0.2168031633, -0.2605032325, -0.1803663075, -0.0956869125, -0.5338341594, -0.2407525629, -0.0302710161, 0.0111303553, -0.1114080697, 0.7149943709, -0.4236126244, 0.9731287956, 0.6492746472, -0.4617106915, 0.2501729429, 0.2638218105, -0.5372259617, 0.5464034677, -0.5785271525, 0.4961994886, -0.3239521384, 0.1737305969, -1.2056703568, 0.1605425179, 0.2861300111, -0.430387795, 0.303211242, -0.6547774076, -0.6315372586, -0.2272034138, -0.4569623172, 0.2793640494, 0.3038992882, -0.689496398, 0.2059360296, 0.2342099994, -0.1792006642, -0.6168355346, -0.3169044554, -0.0439927913, -0.2630185485, -0.3910453916, 0.3169938326, -0.4283456802, -0.3072896898, 0.086361371, -0.502146244, -0.3617112041, 0.4434567094, 0.5183662176, 0.2196032554, -0.0429106914, 0.2482144386, 0.3351464868, -0.0089866426, 0.4322488606, 0.1275804937, 0.1906164885, -0.3352464437, -0.6138983369, -0.1993298829, 0.2777669728, 0.7726646066, -0.5031181574, 0.1580607742, -0.0159110315, -0.1802768856, -0.6348481774, -0.1205756366, -0.2676327527, -0.4573782086, 0.4917532504, -0.2232236117, -0.6688597202, 0.0941112861, -0.2217469513, 0.4263049066, -0.1799666137, -0.0674725771, 0.0107507417, 1.1441558599, 0.8096630573, -0.0811154172, 0.3066738844, -0.7003985047, 0.2493686378, -0.5604023933, -0.5721276402, -0.8177915812, -0.2524620295, -0.2647759914, -0.5266844034, 0.5607101917, 0.1570905447, -0.2597067654, 0.3692137301, -0.8680231571, 0.6499672532, 0.4446467459, 0.0217751469, 0.542016089, -0.1532461792, 0.0634606332, -0.0007203615, -0.9515891671, -0.4050311744, 0.7473342419, 0.0871597007, 0.7838950753, 0.2925590873, 0.9483237267, -0.0018657343, 0.2152545452, -1.1391249895, 0.7028666735, 0.2864251733, -0.5407095551, -0.395042181, -0.1600684673, -0.9296889305, 0.2316233516, 0.059165094, -0.7050192952, 0.096293956, 0.2509376109, -0.5083521008, 0.545022428, -0.9078937769, 1.0235829353, -0.5687857866, -0.1788855046, -0.4373000264, -0.3282788992, 0.2149440199, 0.0850868449, 0.3050149679, -0.0024052791, 0.1000737026, 0.6377368569, -0.5127484202, 1.0807330608, -0.4661286175, -0.1121208593, 0.6277067065, 0.5841317773, 0.5475564003, 0.2672362328, 0.1637154818, -0.4858929813, 0.744166553, -0.4326330125, -0.6877066493, 0.6530905962, -0.7633125186, -0.7011638284, -0.5902721286, -0.3131216168, -0.450517416, -0.1217891648, -0.1335334778, 0.7343304753, -0.0500514209, 0.1372471005, 0.4465441406, -0.3684059083, 0.6428915858, 0.6312211156, -0.3771788478, -0.0182934105, 0.6894720793, 0.1543689221, 0.248671174, -0.0069703152, 0.1401538551, 0.1444889158, -0.5357294083, -0.5392987728, -0.0491723679, -0.5714805722, -0.6196653843, -0.3355971873, -0.2296263725, -0.0896739289, -0.3217756152, -0.3712194562, -0.3177996278, 0.2170989364, -0.3422719538, 0.5189414024, 0.8377451301, 0.1948625743, 0.3634276688, -0.6996636391, -0.1075984165, 0.2399923056, 0.1339402795, 0.0557188056, -0.1927702725, -0.3332379758, -0.0396146029, -0.5449965, -1.2711869478, 0.1454685479, -0.0749714896, 0.4336353242, 0.2506133318, 0.4312478602, 0.8769194484, -0.2218950838, 0.5734227896, -0.0668923929, -0.9267811179, 0.7782614231, 0.1741312444, 0.4832755029, 0.6283642054, 0.5435339808, -0.4969108403, -0.8580720425, -0.7532868385, -0.7516099215, 0.846767664, -0.1404617727, -0.0594731383, 0.0226890612, 0.2921331525, 0.0400070325, -0.0895047858, -0.5827456117, -0.1745183766, -0.094039768, -0.0345772393, 0.0150585463, -0.2019369155, 0.0189383794, -0.541662097, 0.585144937, -0.4095201492, -0.0251598004, 0.2842381001, -0.1898194402, -0.2610087991, 0.4807631671, 0.4508823156, 0.9944520593, -0.2051620781, 0.3895206749, 0.1907004267, -0.2506521642, 0.2588934898, -0.1049274206, -0.2408120483, 0.0079810433, 0.3269679546, 0.1855233014, 0.417652458, -0.7163951993, 0.462803632, 0.2452409863, -0.1692054719, -0.433523953, 0.1235980168, 0.0513504781, 0.3131298423, 0.302193284, -0.0611193702, -0.0312777497, -0.643655777, 0.0135184573, 0.5183284283, -0.3620269001, -0.4307783246, 0.2085241973, 0.2271056026, -0.3785665631, 0.7709477544, -0.2625337541, -0.811866343, 1.1855541468, 0.6504670978, 0.6667076945, -0.3702225685, 0.8411596417, 0.6203194261, 0.5540143847, 0.2831555605, 0.4203016162, -0.2128548324, -0.4671243429, -0.6862017512, 0.1020284221, -0.5638226867, 0.1143961698, -0.3535741568, 0.0263505373, -0.799931705, 0.1202653646, -0.2438604385, 0.1505073309, -0.0242568608, -0.1198513731, -0.2530019879, 0.8447877765, -0.7011781335, 0.9160099626, 1.0154464245, -0.3709654808, -1.045836091, 0.1544158757, 0.1845387965, -0.5694411993, 0.5534256101, 0.1601687521, -0.2530489564, 0.0859626904, -0.9493447542, -0.5845012665, 1.0166473389, 0.397179395, -0.4072400331, -0.1693191975, -0.2329550683, 0.4306986332, -0.0610531531, 0.365109086, 0.0674799159, 0.3178364336, 0.0801770762, -0.8392708898, 0.0672736615, 0.0348512791, -0.407861799, 0.5379756093, -0.7742593288, 0.4671157002, -0.6296393275, -0.3341109455, -0.2500268221, 0.2869089842, 0.0414249115, 0.4355627, 0.7687427402, 0.3203817606, 0.87740165, 0.1795790941, 0.6454700828, -0.4731914699, 0.2297706753, 1.3436703682, 0.2044759095, 0.7290856242, 0.5957622528, -0.2344722003, 0.7978672981, 0.645773232, 0.1753489077, 0.3065835536, 0.3681578636, -0.1634005606, -0.4128352702, 0.0541594885, -0.4501281977, 0.463753432, 0.1397433579, 0.3314766288, -0.4081033468, -0.2518508732, 0.278293103, 0.2224209756, -0.207012549, 0.4550326467, -0.0490589216, -0.8491363525, 0.6299708486, -0.1224444956, 0.1818311065, -0.4351909459, -0.2841691375, -0.6345483065, 0.2581492662, -0.5988558531, -0.7756026983, 0.5092785358, 0.0136036575, 0.2992333174, -0.2750928402, 0.2121423632, -0.4140205383, -0.2576099634, 0.243902266, 0.4866793454, 0.2615341842, -0.1467635632, -0.5280943513, -0.2631988525, 0.3020866513, 0.2459495962, 0.170967564, 0.4563415647, -0.1987788379, 0.8224753737, 0.1990757585, -0.2547945082, -0.0274462588, -0.1399360299, 0.9476084113, -0.5310203433, -0.1934049577, -0.6243200898, 0.7180586457, 0.0420472287, -0.2639696598, 0.8771039844, 0.7097218633, 0.9329138398, -0.0053006336, 0.4946346879, -0.1380523443, 0.1914273202, -0.3331954777, 0.2060320526, -0.4440580308, 0.4143609703, -0.3938579261, -0.9260702133, 0.0077184965, 0.6054480672, -0.2369189411, -0.2833995521, 0.8636470437, 1.0048452616, 0.1056200564, -0.1387450397, 0.1285037994, 0.1780685037, 0.538148582, 0.9880029559, 1.1683362722, -0.0684097707, 0.8789471984, -0.4247843325, -0.545935452, -0.1285519749, -0.4444110692, -1.0301239491, -0.4378848672, -0.7450505495, -0.3877374828, 0.0750631467, 0.9647498727, 0.7111060023, -0.7085670829, -0.4307274222, -0.1202870086, 0.5661800504, -0.3372039199, -0.258556813, 0.4189098179, -0.4426207542, -0.6173060536, 0.7244473696, 0.1191239953, 0.0695033371, -0.3941391408, -0.0505047627, -0.2195602357, -0.3149288297, 0.5748147368, 0.2261182219, -0.4570267797, -0.4559045434, 0.2321006805, -0.0247031841, 0.0404139683, 0.9056740999, -0.7881679535, 0.4910796285, 0.2079058737, 0.7790722847, 0.5731316209, -0.0299029872, 0.2706230879, -0.5305090547, 0.0898916051, 0.4259658754, -0.0046830969, 0.0381984785, -0.4852436781, 0.6968128085, 0.0153854601, -0.6698368192, -0.7531433702, 0.2884787023, -0.738602519, -0.52506423, 0.983738184, -0.0748416707, 0.0123521378, -0.1387231499, -0.7451338768, -0.0541578196, -0.1867340803, 0.9504941106, 0.5659175515, -0.3279060423, -0.3910420835, -0.3731776476, 0.6799189448, 0.6199650168, -0.9999936223, -0.0689462423, 0.7514609694, 0.1455733031, -0.0182652231, 0.5622928739, 0.0554958247, 0.1388198882, 0.057290189, 0.0235908087, -0.2445407063, -0.6989776492, -0.2002480179, 0.1329064369, 0.4266935289, -0.4355712533 ]
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.5489569902, -0.4867022038, 0.6049937606, -0.0897466838, 0.0081182355, -0.1321291476, -0.1233734936, -0.2336619496, -0.0856030062, 0.4096575975, -0.5527185798, -0.2411682755, -0.3990690708, 0.4885649383, -0.201988712, 1.2090123892, 0.3260711133, 0.2853472233, -0.1675588787, -0.1339374185, -0.3609595001, -0.4857355058, -0.7632321715, -0.2100047767, 0.9618374705, 0.5051190257, 0.6261249185, 0.808840394, 0.5381781459, 0.3030072153, -0.0089753335, 0.3754044473, -0.2457975596, 0.3678610623, -0.0428684875, -0.4750632048, 0.1305009574, 0.2490644455, 0.5171170235, 0.7539952397, 0.1671125144, 0.3298784494, 0.0369594283, 0.6774666309, -0.6120280027, -0.0375542939, -0.6947972178, -0.0577553399, 0.1077813134, -0.5875291824, -0.7030729055, -0.6223595738, 0.2419063002, -0.5737032294, 0.4524365067, 0.5133035183, 1.150057435, 0.3552945554, -0.2733509243, -0.3134031892, -0.641921103, 0.5938586593, -0.433265835, 0.1878522784, 0.4640288949, 0.7149394751, -0.1487385929, -1.0813030005, -0.3474365473, -0.4617158771, -0.1552166045, -0.1481930465, -0.153774187, 0.2274895012, 0.5703769922, 0.1620141268, -0.8635131121, 0.0570580736, -0.3168024719, -0.188696444, 0.3906988502, 0.4445704222, 0.0128222359, -0.2047543079, -0.2547886074, -0.3342504203, -0.4925392568, 0.0607396364, 0.3744443953, 0.5175999403, 0.4511944354, 0.5283083916, -0.3229965568, 1.2554959059, 0.3558024466, 0.1346850693, -0.084498845, -0.3597287834, -0.0896453783, 0.0852619037, 0.8627261519, 0.2142114639, 0.1660565436, -0.3315792084, -0.4638188779, -0.0360893682, 0.2667625844, -0.8938441277, -0.3543376029, -0.019722335, -0.3629528284, -0.2597089112, -0.189651221, -0.5750504136, -0.1747861654, -0.7133380771, 0.8129314184, -0.2379333228, 0.5000944734, -0.0098791197, -0.3119231462, 0.1301797926, 0.311819315, -0.9239941835, 0.0598176643, 0.2386876345, 0.6293679476, -0.0782656297, -0.2008274049, -0.83504951, -0.1508916318, -0.5001924038, 1.1270976067, -0.5012732744, -0.2988120019, -0.0280884206, 0.0931251049, -0.2317666262, -0.6762150526, 0.3088372052, -0.8076547384, 0.3910633028, -0.4023067355, -0.4588432908, 0.1428687572, 0.3418214023, -0.5434112549, 1.4107578993, 0.2990185022, -0.5013864636, 0.4635164142, -0.5866982937, 0.048409164, 0.246105969, 0.0379725546, -0.1072377115, -0.04945096, 0.2051152289, 0.1407129914, -0.7399621606, 0.2724927068, 0.0893780887, -0.1598976701, 0.2191017717, -0.1422940344, 0.7168396711, 0.4605436623, -0.2538382113, 0.1632130593, -0.8584284782, 0.3902946413, -0.0374697074, -0.5774959326, -0.2816221714, -0.5066923499, -0.0090242289, 0.1996362656, 0.3559744358, -0.3697066307, 0.2464903593, -0.5150957108, 0.2463225424, 0.5800797343, 0.1855189949, 0.3268693388, -0.2654249072, 0.5545951724, -0.1696432382, 0.2168890983, -0.2785440087, -0.3333068788, -0.958334744, 0.0122458916, 0.5571992397, 0.4800485075, -0.5938118696, 0.6515933871, 0.1821300685, -0.7581017017, -0.6312618852, 0.2462495416, 0.4029979706, 0.9408116341, 0.4009748697, 0.1056405231, -0.4587779641, -1.0247499943, -0.5493636131, -0.151605159, 0.100808315, 0.2481628507, 0.5463192463, -0.2201431841, 1.21613276, -0.4155000746, -0.104914397, -0.2536343038, 0.5473060608, 0.2943521142, 0.474457413, 0.5676599741, -0.7240763307, -0.7649155259, -0.3705760837, -0.7220156193, -0.2733044028, -0.1499521583, -0.4130885601, 0.0668342933, 0.7667360306, -0.513681829, 0.2196783423, 0.0537523068, -0.2496290058, 0.424572736, -0.4867912233, 0.1658331901, -1.0114076138, 0.2656183541, 0.2716229558, 0.0042889207, -0.3952353299, -0.2174137533, 0.2416781634, -0.5799779296, -0.2644800246, 0.8722539544, -0.6393319964, -0.0351214483, -0.2918450832, -0.0862374604, 0.3358239233, 0.5483391881, 0.0179700572, 1.0059286356, 0.5059197545, -0.8288038969, 0.4018731713, 0.2360351831, -0.3599430919, 0.4974016845, -0.9731196165, 0.1264553219, -0.3800635636, -0.0330445468, -1.4445562363, -0.4174393117, -0.0391538478, -0.4501746893, 0.2596965432, -0.2230608761, -0.7296972275, -0.4891424179, -0.0530613326, 0.2934015691, 0.533839941, -0.7976200581, 0.3505286574, 0.144703269, -0.1667023301, -0.3593390286, -0.3817221224, 0.0785688087, -0.2020794153, -0.3990419507, 0.2602627873, -0.3572210371, -0.0019030856, -0.253756851, 0.318053782, 0.0797891989, -0.0825077817, 0.0086743217, 0.2165901661, -0.0947616473, 0.1712384522, -0.0018464429, -0.3887254298, 0.036776267, -0.3129630685, 0.5541430116, -0.3725774288, -0.1439956278, -0.5909335613, 0.2526713312, 0.317661345, -0.2964353263, 0.6516155601, 0.2620449066, -0.1985193044, -0.1383811235, -0.5807126164, -0.4615375102, -0.5540195107, 0.0449191406, -0.3032520115, -0.4748538733, 0.4745445549, -0.003454786, -0.0354898125, 0.4710598588, 0.48934412, -0.0029058359, 1.6495718956, 0.4503819942, 0.0776365399, 0.5458673835, -0.3480895162, -0.0910151526, -0.52947855, -0.475669533, -1.0178905725, -0.2139572948, -0.5543881655, -0.1574162841, 0.901143074, -0.1195184067, -0.5002281666, 0.3166391551, -0.9142730236, 0.6780255437, 0.9989640117, 0.0002859803, -0.0626344532, 0.1588787287, -0.3068049848, -0.0500660613, -0.9381203055, -0.4427603483, 0.9105504751, -0.0050788573, 0.966606915, -0.4739626348, 0.621691823, 0.3656075895, 0.1325205117, -0.990496397, 0.5272111297, 0.283893168, -0.7369094491, -0.1541506499, -0.3364284635, -1.1573809385, -0.0467385352, 0.0013361803, -0.4258915782, 0.5046605468, 0.2253703773, -0.6944369674, -0.2269220799, -0.691260159, 0.8753995299, -0.4116457105, -0.2916139662, 0.3837155998, -0.8671459556, -0.2560158074, 0.0805065557, -0.2377410233, 0.0770215467, -0.072849609, 0.9480106235, -0.4776773453, 0.4702145159, -0.3752031624, 0.2922863662, 0.4072441161, 0.0521333329, 0.5873368979, -0.174375236, -0.396710366, -0.3752962053, -0.1057281494, -0.3776026964, -0.5474337339, 0.4457118809, -0.7917713523, -0.4329559505, -0.592484355, -0.5399389863, -0.4523103833, 0.2705485225, 0.7457674146, 0.6106899381, 0.1135240719, 0.2483776063, 0.8472488523, -0.2425106019, 0.5078477263, 0.6224848628, 0.2949714959, -0.5619130731, 0.8293709159, 0.1880698204, 0.1011448801, 0.2250246406, 0.3050352931, -0.4298540056, -0.4262839854, -0.5922728777, 0.2275373936, -0.872535646, -0.5104693174, -0.7907786965, -0.2680109441, -0.4297167957, -0.073305957, -0.1795608848, -0.2363162041, -0.4255436659, 0.0376238078, 0.5340035558, 0.4958935678, -0.1036208197, 0.6017858982, -0.8991825581, 0.285653919, 0.338344872, -0.0194873586, -0.2291457504, -0.8388209343, -0.494468838, -0.1037168801, -0.1507043093, -0.6883488297, 0.7555227876, 0.266910851, 0.7882153988, 0.2271781117, 0.1638410538, 0.4875410199, -0.4296842515, 0.7864818573, -0.0373876244, -0.3598009348, 1.0330319405, -0.5405218601, 0.3533227742, 1.0381108522, 0.9431058168, -0.2541467845, -0.2163328826, -0.5786587, -0.8136883974, 0.998278439, -0.0993548855, 0.0675469041, -0.3261007965, 0.5484322906, 0.1699629277, 0.249752298, -0.4103753269, -0.4087192714, 0.0134258438, -0.3688695431, 0.0469094887, -0.3725027442, -0.2066076547, -0.4131845236, 0.7147536278, -0.3532941341, 0.4592623413, 0.3015139997, -0.0242391825, -0.2449602932, -0.2502602041, 0.2960229814, 0.6794365048, -0.3591057956, -0.0746092796, -0.1985030472, -0.131799683, 0.387224853, 0.167247057, -0.3580926359, 0.1804417819, -0.0978441387, 0.9403094053, -0.07464917, -0.6079102159, 0.1206972674, -0.211522162, -0.1135747135, -0.2394482344, 0.4706842005, -0.2857325971, 0.1640008986, 0.6011657715, -0.0487850159, 0.321475774, -0.4966367483, 0.2033472508, 0.4200499058, -0.3464839458, -0.0983342975, 0.8391355276, 0.009726217, -0.4070381224, 0.6374827027, -0.0936903059, -0.4028213322, 0.7283415198, 0.345919162, 0.7047607899, -0.2461245358, 0.2489733696, 0.6863576174, 0.0999953151, -0.3052729368, 0.2060142308, -0.0666135401, -0.3200467825, 0.1493718475, -0.7470023036, -0.6003938317, 0.1283721179, -0.8823205233, 0.4016749263, -0.5397481322, -0.3904848695, 0.3840259016, 0.1628208607, -0.7375856042, 0.6288140416, -0.1769675016, 1.0448725224, -0.6306535006, 0.5788034201, 0.6762527227, -0.58153826, -0.8079223633, -0.3383404016, -0.314476192, -0.7570494413, 1.1738250256, 0.1530930996, 0.209955886, 0.3481840491, -0.7629067898, -0.8955388665, 0.7680230737, 0.4645164013, -0.3816972077, -0.3672600389, 0.1779262424, 0.5896723866, -0.4714932442, 0.5247454643, 0.5088293552, 0.5136680603, -0.0411198139, -0.5768150687, -0.2444870174, -0.4574468434, 0.1706758291, 0.0579765476, -0.5632933378, 0.8953778744, -0.0975882635, 0.1543061584, 0.3265315294, 0.6134244204, 0.2323355973, 0.3554977179, 0.3792119324, 0.3403250277, 0.8031526208, -0.1260239482, 1.1946915388, -0.6045023203, 0.175514251, 0.9200559258, -0.120026134, 0.3723316789, 0.4288864732, 0.1127047986, 0.3955940008, 1.1965945959, -0.3026797175, 0.813542366, 0.0853942633, -0.1942381114, -0.4392760694, -0.2451556921, -0.3946292102, 0.2312152088, 0.3659223616, -0.7180530429, -0.4364486933, 0.2864621878, -0.3204420507, -0.0701500773, -0.2440712452, 0.970996201, -0.1858922988, -1.1228426695, 1.0159827471, -0.0430926196, 0.3428368568, -0.7361372709, 0.0844521597, -0.5080794096, 0.0554371886, 0.0354741327, -0.3200852573, -0.2452304959, 0.0316090658, -0.3411183059, -0.2414062321, 0.7658472657, -0.4242579043, -0.5110014677, 0.0129813375, 0.4280326068, 0.2357432842, -0.0453730971, -0.923818171, -0.3120774329, -0.2421008646, -0.6838893294, 0.5727216005, 0.7057812214, 0.0327861719, 0.7714098096, 0.726596117, 0.1116097271, 0.1495084316, -0.0420413539, 0.9654598832, -0.7749890089, -0.4792307913, -0.5405230522, 0.3081522286, 0.0183325335, -0.3537402749, 0.6919739842, 0.7469187379, 0.6419343948, -0.2281580418, 0.7591980696, 0.1471424997, 0.6345533133, -0.4335173666, 0.6481588483, -0.7053620815, 0.1184521094, 0.1577887386, -1.1032221317, 0.0204315037, 0.5740830302, -0.2108216435, 0.2522417903, 0.5726338625, 1.1859025955, 0.0377659388, -0.2877767384, 0.2237994224, -0.2841986418, 0.1105158105, 0.2839321494, 0.8553584218, -0.6191031337, 0.6117132306, -0.3239502609, 0.0438338444, -0.5500332713, -0.7035629153, -0.9566129446, -0.6412001252, -0.3203530014, -0.5260292888, 0.176844731, 1.0945901871, 0.7966384292, -0.6631215811, -0.2069262415, -0.1114463955, -0.2942749858, 0.1608794481, -0.2925368547, 0.4051830471, -0.9484282732, -0.8262123466, 0.5580735803, -0.0201784223, 0.2852929831, -0.2307862937, -0.1805783361, -0.2332635522, 0.1705423146, 0.3463806212, 0.3416095972, -0.1881462634, -0.0607997626, 0.2919265032, -0.584749639, 0.1396843642, 0.8478611112, -1.0724093914, 0.5668343902, 0.7397276759, 0.7320629954, 0.3621394932, 0.1398751587, 0.5968670249, -0.7139663696, 0.1635105461, 0.5036569834, 0.1437187642, 0.3233225346, -0.5006231666, 0.5593203902, 0.0898121819, -0.7957347631, -1.136398077, -0.1025330797, -0.725736618, -0.1223534271, 1.1363568306, 0.0999686643, -0.4044550061, -0.0428124592, -0.3541949689, 0.3108049929, -0.4228945076, 0.8005953431, 0.3208974302, -0.404902041, -0.0631422549, -0.5975459814, 0.9084880948, 0.6287866831, -0.8700354099, -0.0212814063, 0.5119553804, 0.1038579866, 0.1005968377, 0.3643425703, 0.0152433002, 0.4323444366, -0.0055195931, -0.018413499, -0.3121161759, -0.6573892832, -0.1727277488, 0.1164810136, 0.2919462621, -0.030006364 ]
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.4830032289, -0.2444198728, 0.4208781421, 0.1015999615, -0.0601777136, -0.2363303155, 0.1809290349, -0.5366506577, -0.1600935608, 0.8153895736, -0.5507670641, -0.2242526561, -0.3337628543, 0.1451750249, -0.2330077887, 0.93032974, -0.2128972262, 0.1944788098, -0.2137058079, -0.0606167987, -0.3103247583, -0.7301860452, -0.5182713866, -0.4025165141, 0.579159081, 0.4197204709, 0.730346024, 0.8607937098, 0.8149768114, 0.200639829, -0.0861401856, 0.0561770424, -0.3535559177, -0.0676493794, -0.4066467285, -0.0640812516, -1.3544173241, 0.0965821072, 0.6823843718, 0.3737723529, -0.4202919602, 0.3408660293, -0.2883099616, 0.3896884322, -0.4615474939, 0.2418711483, -0.3143996298, -0.059125077, -0.6748233438, 0.2214821279, -0.4386362731, -0.5974974036, 0.0290670935, -0.8762245774, 0.4107672572, 0.2368588746, 1.0193532705, 0.0180892684, -0.2695223987, -0.0682765916, -0.5207984447, 0.644656837, -1.0862902403, 0.4154514074, 0.1223694757, 0.8090556264, -0.1234181225, -0.8905717134, -0.5590842366, -0.1043370515, 0.2607896924, 0.0679787248, -0.4800721705, 0.022270089, 0.2283238471, 0.7368084192, -0.4950790405, 0.1253228188, -0.8042861819, -0.2035784423, 0.6057435274, 0.3856678605, 0.1520647705, -0.1453463435, -0.3740587831, -0.0641142726, -0.9427596331, -0.6454328299, 0.805318892, 0.2092633694, -0.2487056702, 0.7629445195, -0.2659542859, 0.9892050624, 0.1995237172, 0.2542649209, 0.6304711699, -0.5335912108, -0.3286148906, -0.077536948, 0.6004356742, 0.4346901476, -0.1080569178, 0.039464213, -0.485820055, -0.1370091587, 0.5397046208, -0.9061130881, -0.0447860733, 0.2238768786, -0.3791062236, -0.24702622, -0.0028788052, -1.0484158993, -0.1705268919, -0.2310605347, 0.4172676206, -0.3546578884, -0.3990315199, 0.3097231388, -0.3543699086, 0.3978269994, 0.3605893552, -1.2938343287, 0.6819362044, 0.466242671, 0.9043226838, -0.3154473305, -0.0181194451, -0.3014047444, 0.3199466169, -0.135455966, 0.5180383325, -0.2812100649, -0.316115886, -0.0264723916, 0.1651227623, 0.1603370309, -0.8294280767, 0.5029159188, -0.5966904163, 0.2238261402, 0.0747120157, -0.4783166051, -0.3448617458, 0.171096772, -1.028640151, 0.7361772656, 0.3726780415, -0.4589288533, -0.050728824, -0.823572278, 0.2332772762, 0.3080850244, -0.0769370869, -0.3258607984, 0.2523785233, -0.0236586202, 0.0853359327, -0.8102837205, 0.2439129204, -0.3144749999, 0.0675966665, -0.0796475038, -0.1745666564, 0.4819632471, 0.3900583684, -0.2595986426, 0.1111847833, -0.4486641884, -0.2302339673, 0.1681039184, 0.0993921012, 0.329536587, -0.5821430683, 0.0169838034, 0.385553956, 0.3374061286, -0.9615167379, 0.1505870968, -0.3813212514, 0.3165142238, 0.744191587, -0.0182710998, 0.6032209992, -0.4874002934, 0.9499499798, -0.0764204413, 0.3723073602, -0.0880091712, -0.6642406583, -0.3180130124, -0.2744566202, 0.2164932787, 0.0722565129, -0.5197070241, -0.1328195482, -0.0497305617, -0.7072843909, -0.2458150387, -0.1352539808, 0.5483880043, 0.7051830888, 0.3116374612, -0.3118989766, -0.4138903916, -1.1009423733, 0.1196934208, 0.223380819, 0.1089609936, 0.3250046372, 0.6758444309, -0.290730983, 0.6032502651, -0.6540384293, -0.1255843639, -0.165380612, 0.095630154, 0.4200002551, 0.6650066972, 0.8493589163, -0.4681846201, -0.2201357037, 0.2293035686, -0.5839368701, 0.0658179522, 0.5920160413, -0.4233970046, 0.5118653178, 0.2447782755, -0.4132759571, 0.4693076611, 0.9572002888, 0.0061730347, 0.3169133961, -0.2976542711, -0.0914337188, -1.0390042067, 0.1760961413, 0.0551186465, 0.093775928, -0.5163258314, -0.2052385807, 0.3235245645, -0.0654184073, -0.5899247527, 0.6951791048, -0.3881226182, -0.0580330975, -0.2693218589, 0.0614928901, 0.0335602947, 0.1893513948, 0.0957757086, 0.547467351, 0.3614066839, -0.6076661348, 0.5960431099, 0.4539509416, -0.0077459468, 0.2370926291, -0.9622755051, 0.177753076, 0.0566553697, 0.2108535469, -0.3997020423, -0.7512315512, 0.3177554011, -0.6313009858, 0.1541442573, -0.2310260981, -0.5267685652, -0.2334729731, 0.1210579053, 0.8363948464, 0.6945522428, -0.625241816, 0.6150731444, 0.6548835039, -0.1421942264, -0.201968357, -0.7261654735, -0.5427619219, 0.0327657908, -0.8722913861, 0.7681438923, 0.0798711851, -0.1904605478, 0.2029890418, 0.0044323597, -0.2567943037, -0.3349149823, 0.4838932455, 0.7457659841, -0.3174352646, 0.032567326, -0.2208292186, -0.1640368402, 0.0255235061, -0.3054354191, 0.5995764136, -0.1329284459, -0.2113205194, -0.3172387183, -0.0734837651, 0.4313592613, -0.4052420557, 0.6482265592, 0.0805419162, -0.7847313285, -0.1340071112, -0.1888289601, -0.3114458025, -0.4957636595, 0.2997418344, -0.1578217298, -0.4584460557, 0.223813504, 0.1631201059, 0.3355598748, 0.6310318112, 0.6437466145, 0.459807843, 0.91553092, 0.5871430635, 0.5102165937, 0.3192098439, -0.0663385615, 0.009889733, -0.9674401879, -0.5875847936, -0.4295585454, -0.0736007467, -0.3579536974, -0.5875610709, 0.23198919, -0.4479222, -0.4045459926, 0.4568880796, -0.4373571277, 0.1481214613, 0.5191317797, -0.2838777304, 0.0585170053, -0.0701882914, -0.1270681173, -0.0823817998, -0.4369344115, -0.6307220459, 1.2474076748, 0.23354882, 0.553360641, 0.469817549, 0.6830191612, -0.1171803027, 0.6752806902, -0.3169437647, 0.2224053591, 0.0525329225, -1.2817190886, -0.0901854411, -0.3486854136, -0.8637671471, 0.0529158637, -0.0041521783, -0.3856599927, 0.0287813302, 0.365832448, -0.499972105, 0.3648970723, -0.6030579805, 1.0848250389, -0.1163121909, -0.4478630424, -0.0491451509, -0.2382065058, 0.6250044703, -0.3132174909, 0.1437169015, -0.2909828722, 0.0840945989, 0.5271040797, -0.4869321883, 0.3884102404, -0.2327261716, 0.0108806239, -0.0508947, -0.1739320606, 0.1913346946, 0.1251040399, -0.5134527683, 0.4354397953, -0.2861142159, -0.3696500063, -0.4087213576, 0.7357010841, -0.8186715245, -0.4406508803, -0.8603534102, -0.6982771754, -0.1823946834, 0.2876380384, 0.2203585505, 0.6859816909, -0.1018959954, 0.2332454622, 0.4183837771, -0.3785568476, 0.4263901114, 0.5380833745, -0.5385462642, -0.8304082155, 0.705555737, 0.1432213187, 0.7168610692, -0.019275805, -0.2195473015, -0.139776811, -0.6670531034, -0.5648415089, 0.6279767752, -0.2970891297, -0.2697266638, -0.2319550812, -0.409560442, -0.6950315237, 0.0011473465, -0.70634377, -0.5303337574, -0.1980149448, -0.1962357908, 0.3548863828, 1.3393973112, -0.0976789668, 0.5218092799, -0.8452136517, 0.3416669965, -0.1795698851, 0.4807947278, -0.2639822066, -0.749085784, -0.2842386961, 0.1925740242, -0.8069123626, -0.7651016712, 0.9132522345, -0.3075221777, 0.8393230438, -0.0919856355, -0.144253388, 0.4498913884, -0.5757442117, 0.7102449536, 0.2877921164, -1.0401520729, 0.3411617577, -0.6174622774, 0.3254952133, 0.0028112864, 0.4158198237, -0.181983307, -0.0836833343, -0.8403137922, -0.7832854986, 1.0775362253, 0.361961782, -0.0563102327, 0.0221253838, 0.4248229861, 0.2722765505, 0.2831230164, -0.6034888625, -0.1431967765, -0.4490049183, -0.3298968971, -0.1373934597, -0.0760781616, -0.2271648198, -0.0536463931, 0.8515188098, -0.0532463975, 0.2359294891, 0.0737857297, 0.167313695, 0.0365112685, -0.2596499622, 0.6018036604, 0.5651694536, -0.6194817424, -0.1402373016, -0.0872354284, -0.6003396511, -0.114126578, 0.3394228518, 0.0749325156, -0.1217964292, -0.1843575388, 0.590982914, 0.1310156286, -0.4871230721, 0.392211169, -0.1016310975, -0.5637307763, -0.4065380991, -0.105985187, 0.2640957832, 0.1696079075, -0.0903188214, 0.1134742945, 0.0840334594, -0.199706316, 0.3196968436, 0.1314913034, -0.2998411357, -0.5838540196, 0.8447197676, 0.293825984, -0.0320452601, 0.8867938519, -0.1940020025, 0.0493272431, 0.6926259995, 0.692192018, 0.8014944792, -0.1575129032, 0.1536172479, 0.7198711634, 0.2169999331, -0.2367773503, 0.3375092149, 0.5258712173, -0.7949461937, -0.096481666, -0.5637158751, -0.8622672558, -0.2315745354, -0.9583489299, 0.3957565427, -0.5994033217, -0.3391910791, 0.4028522074, -0.3451341689, -0.4059763551, 0.1522952318, 0.3565994501, 0.9840129614, -0.4187389016, 1.2337566614, 0.5403006077, -0.7263355255, -0.8798112273, -0.1895019114, 0.1134312525, -0.5673058033, 0.8966769576, 0.0608299561, -0.0506800115, -0.0203763656, -0.5838346481, -1.0896348953, 1.4933402538, 0.780356884, -0.2536928356, -0.089458257, 0.0005511573, 0.2439126819, -0.4576352239, 0.2945677638, 0.2135475278, 0.4996184707, 0.2512619793, -0.9750512242, 0.0396607593, -0.4165075421, -0.1018104032, 0.41746068, -0.7594035864, 1.4626810551, 0.0582071282, 0.0196474046, 0.1496946067, 0.5936629176, 0.6468814015, 0.2813116908, 0.0220208336, 0.4307797849, 0.726051271, -0.1867025644, 1.338945508, -0.3779548705, 0.1660217643, 1.0976762772, -0.6634999514, 0.6039664149, 0.5597534776, 0.3661869764, 0.4958204627, 0.3487657905, -0.1280922145, 0.3132966757, 0.3060772717, -0.1632602662, 0.1173807159, -0.1191225648, -0.4388202429, 0.0233698785, 0.3123495579, -0.3311935961, -0.2244376987, -0.4162136614, 0.0542589091, -0.1904228479, -0.3701176345, 0.3017185628, 0.0209014527, -0.8982411027, 0.4450083971, 0.193230316, 0.3001966178, -0.6902472377, -0.2830342352, -0.0860963315, 0.6195223927, -0.4099434912, -0.5769268274, 0.5384181142, 0.0150642525, -0.2979522645, -0.3000864685, 0.2154243886, 0.070946008, -0.109343186, 0.2741010189, 0.0810320377, 0.051858183, 0.1109476909, -0.1586572081, 0.1326363087, -0.060350664, -0.0407783128, 0.3221516311, 0.1259926856, -0.1691391021, 0.4511836469, 0.5386475325, -0.097032465, 0.5684063435, -0.2537256479, 0.8268545866, -0.8295721412, 0.1237008348, -0.4797224104, 0.5647502542, -0.2808825374, -0.7085393071, 1.1302938461, 0.8588094115, 0.8527105451, -0.1543748975, 0.7938506603, -0.0313949063, 0.289537847, -0.3908010125, 0.1929608881, -0.4463816285, -0.0541249141, 0.0184438564, -0.653249979, -0.2622981668, 0.1786065251, -0.2565010488, -0.0090195388, 0.8457875252, 0.9054195285, -0.1061665639, 0.4956573248, 0.2768742442, 0.0493311659, 0.5640244484, 0.553170979, 0.5719611049, -0.3685213327, 0.3249705732, -0.4406551123, -0.3984804451, -0.203198418, -0.8770915866, -0.583148241, -0.3025419712, -0.2530362606, -0.3912243545, -0.0367311724, 0.6832229495, 0.7835001945, -0.7036883831, -0.5210476518, -0.3605107367, -0.2117946595, 0.0608326234, -0.1423263252, -0.1210060567, -0.23470667, -1.1139041185, 0.3332342207, 0.4197914898, 0.1933623105, -0.186473608, -0.4613032043, -0.20319134, 0.3418209851, -0.0908403248, 0.3303898573, -0.5032879114, -0.0207458194, 0.2945764661, -0.3540108204, -0.0965405628, 0.4398000538, -0.3970999122, 0.4321782589, 0.7338321805, 0.5392701626, 0.7738280296, -0.1678258479, 1.2794311047, -0.3365838528, 0.1813413948, 0.3554501235, 0.6632599235, 0.1209910959, -0.0054037026, 0.5638119578, 0.0073588742, -0.8300561309, -1.0191164017, 0.3735737205, -1.1219849586, 0.1639605463, 1.2399501801, -0.1512624025, -0.5007948875, 0.2658978999, -0.1885962933, 0.28944242, -0.3553889394, -0.0986979157, 0.5322725177, -0.2583732605, 0.2185190022, -1.0934684277, 0.4010511637, 0.1685309559, -0.889313817, -0.2100732476, 0.7445736527, 0.2261728197, 0.1252931356, 0.2321106344, -0.8816791773, 0.4364560843, 0.0137365647, 0.7717691064, -0.1274672449, -0.0610393509, -0.5660102367, 0.248737514, 0.0001988195, -0.3413416147 ]
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.4780264795, -0.7364791036, 0.7222219706, 0.2338746786, -0.0216486454, 0.1518512666, -0.3850823641, -0.2298161536, -0.0789910033, 0.2703429461, -0.9313655496, -0.4314589798, -0.2525688112, 0.419157654, 0.0867921114, 0.4853150547, 0.1444767416, -0.1739200205, -0.3996472359, 0.0193300005, -0.9217331409, -0.2401110977, -0.8424525261, -0.5171835423, 0.6253401041, 0.7649838328, 0.4789130986, 0.3185094893, 0.142521888, 0.2898802161, -0.1149173379, 0.6653603315, 0.0835244134, 0.5530284643, -0.6040505767, -0.2692924738, -0.4546838999, -0.2645691335, 0.5697365403, 0.6686740518, -0.3852337897, 0.5265832543, 0.254231602, 0.6562987566, -1.0278161764, 0.1016884372, -0.746999979, 0.0805877745, -0.0080666747, -0.4078333974, -0.7433641553, 0.0372558609, 0.0172808096, -0.4440879226, -0.1076965109, -0.0999723971, 0.3984463215, 0.4084534347, -0.3301827312, -0.245170936, -0.7624791265, 0.6440176368, -0.4993830025, 0.5449589491, 0.2826938033, 0.4588471055, -0.1887514144, -0.6124024391, -0.6220169663, -0.1817142665, 0.1065904349, -0.0625351071, -0.1016517356, -0.0773801059, 0.5176164508, -0.1650755554, -0.728303194, -0.1260260046, 0.1314105242, -0.0467791781, 0.3132323325, 0.3477753699, 0.17639561, -0.2775193453, -0.0568189658, 0.0082104923, -0.7670764327, 0.0505623147, -0.0213206932, 0.4866520464, 0.2403375655, 0.3495002985, -0.3238946199, 0.9022302628, 0.0665436685, -0.2768123746, -0.0311759952, -0.0543999039, -0.2955049574, -0.2960677445, 0.9064866304, 0.115171656, 0.3247126639, 0.270113796, -0.2104843855, -0.3716827333, 0.1338974535, -0.3723847866, 0.0524040945, 0.2602245212, -0.4757892191, -0.0826517344, -0.1689865589, -1.1142793894, -0.2046636343, -0.2921819985, 0.3435180187, -0.4874951243, -0.4450258911, 0.3011840582, 0.060379263, 0.141420573, 0.3430342376, -1.2674888372, -0.0402028188, 0.7551836371, 0.6254623532, 0.1299912632, -0.2708328366, -0.4810328484, 0.459554255, -0.1958875209, 0.8464360833, -0.9976351261, -0.3684314787, -0.003988076, -0.2241449952, -0.2421785593, -0.7905397415, 0.8410579562, -0.4803242385, 0.1975244582, -0.6201241016, -0.009443948, -0.2095032334, 0.5766099095, -0.3625579178, 1.1885153055, -0.0971818417, -0.6893849373, 0.3885917366, -0.9312752485, -0.4203501046, 0.2443077713, -0.1622725576, -0.0146175036, 0.0453977138, 0.5358303785, 0.3930616379, -0.3842835128, 0.3860275149, -0.3554926813, -0.0879665688, 0.0861503631, -0.5354965925, 0.7084002495, 0.5046463013, -0.2509934902, 0.1455405653, -0.5504034758, 0.3536092639, 0.2481191605, -0.4503112733, -0.2871133387, 0.2275061905, -0.3262996078, 0.3798885047, 0.1698064804, -0.1031398624, 0.5583377481, -0.0758918747, 0.6460115314, 0.7260671258, -0.1333888471, 0.1242508218, -0.024271274, 0.7198365331, -0.233572796, 0.0956852734, -0.6721376181, -0.4821520448, -0.4693842232, -0.3973190784, 0.3116798699, 0.9460217953, -0.8218466043, 0.5486822724, -0.1992265582, -0.0317106657, -0.2855430841, -0.1169381142, 0.23991175, 0.5328107476, 0.4231389761, 0.2631697953, -0.6192714572, -0.7580554485, -0.5143717527, -0.1738728136, -0.0963437259, 0.5022768378, 0.5001758337, -0.4540908635, 1.0994626284, -0.5505539179, 0.141125381, -0.4355970323, 0.2470807582, 0.1750717461, 0.2941698134, 0.1864479929, -0.5161216259, -0.619592011, -0.1692047119, -0.761100769, -0.5300272703, -0.2062779814, -0.0181147233, 0.2259107381, 0.5793767571, -0.8425488472, -0.0083407639, 0.4570568502, -0.3102455139, 0.8072417974, -0.1781452894, 0.2686514556, -1.0246317387, 0.3743983209, -0.3862086535, -0.372564584, -0.346491009, 0.2229811549, 0.0444289967, -0.3566756845, -0.1309846044, 0.6100285649, -0.4617854655, 0.0724437237, -0.3351687193, -0.0719693825, -0.0496202298, 0.365227133, 0.2683401406, 0.7504987717, 0.5890488029, -0.7324883938, 0.5024024844, 0.07865455, -0.0644591451, 0.7370844483, -0.5003922582, 0.0941959321, -0.115362525, 0.5747954845, -0.876650095, -0.1601810455, 0.3690977991, -0.4403474927, 0.3537858427, -0.1418881267, -0.7499483824, -0.6954900622, 0.0797203332, 0.4640956521, 0.3689534366, -0.581276536, 0.8532980084, -0.0451175794, -0.2108732611, -0.8851513267, -0.4515859485, 0.4033375084, -0.1814072281, -0.6383894682, 0.0975334942, -0.0296091847, -0.0201519709, -0.1700376421, -0.0735052228, 0.0846115872, 0.0361486003, 0.039899122, 0.1006614119, -0.1864217669, 0.3213834465, 0.1658978015, -0.4844366908, 0.2446834594, -0.5999162793, 0.684974134, -0.0845028982, -0.6544789076, -0.5215947628, 0.5095470548, 0.6465720534, -0.3912260532, 0.5625214577, 0.5644601583, -0.3723343611, -0.4716319442, -0.5625447631, -0.3824799657, -0.4850814044, 0.1922898442, -0.7995599508, -0.7612923384, 0.3526597917, -0.39213866, 0.14819628, 0.3601802289, 0.6857308745, -0.0706499144, 1.2121305466, 0.4053040147, 0.1116947532, 0.4356432557, -0.0488997474, 0.0571714565, -0.9300941825, -0.3279780447, -0.5709335804, -0.2193192691, -0.1216557398, -0.6471982598, 0.3515961766, -0.0972796381, -0.1109193638, 0.1397126913, -0.567038238, 0.6280521154, 0.5270476937, 0.0146642104, 0.3021976352, -0.1977097094, -0.5777695775, -0.0007944467, -0.9225962758, -0.6857042909, 0.9461467266, 0.295784235, 0.6726403236, 0.0205169711, 0.5333312154, 0.2491925955, 0.1622875333, -0.6629567742, 0.8625371456, 0.2440541089, -0.8188946843, -0.3482089341, -0.5649709702, -0.953607738, 0.485637784, -0.3240005672, -0.6229329705, -0.085862726, 0.4916744232, -0.5519242883, 0.3923943639, -0.4802283645, 0.9758101702, -0.0884136632, -0.3217428625, -0.494905591, -0.6700057983, 0.4955514967, 0.1897138059, 0.2788814604, 0.0580675676, -0.1469769925, 0.398506552, -0.0726228505, 0.8320385218, -0.2963662446, -0.1931897253, 0.4606651366, 0.3464567959, 0.5896181464, 0.0295199342, -0.0658658221, -0.1946493387, 0.0388976857, -0.172386989, -0.7153818011, 0.4668790996, -0.1647569686, -0.7685164809, -0.3679035604, -0.6235685945, -0.4006415009, 0.2175910771, 0.0198797602, 0.2807471156, -0.109403342, 0.0542555824, 0.9752904177, -0.4786799848, 0.4150123894, 0.659027338, -0.2930361927, -0.5348488092, 0.7448228002, -0.2248450518, 0.4152997434, 0.689001441, 0.4732861519, -0.3021396697, -0.3368405104, -0.6210389137, 0.3602200747, -0.8346847892, -0.1721758246, -0.8169568777, 0.0373239219, -0.4371811748, 0.0445196703, -0.1877289861, -0.3428169191, -0.0298858378, 0.145490706, -0.1913457513, 0.5097980499, -0.1982002854, -0.0226321761, -1.090955019, 0.4255427718, 0.7904999852, 0.2265264094, 0.1512029767, -0.5841190815, -0.0791890025, -0.0795595795, -0.6760635376, -0.8982518315, 0.0140604088, 0.1329276711, 0.8045469522, 0.661196053, 0.0115202386, 0.6108155847, -0.8721168041, 0.7048704028, -0.0485208891, -1.081371069, 0.7323858738, -0.6038852334, 0.6586636901, 0.5233451128, 0.2312483341, -0.8554113507, -0.1935596168, -0.5870521069, -0.525262773, 0.5852704048, -0.356743902, 0.0245625842, -0.1630757749, 0.4796780646, -0.0376623645, 0.1591005623, -0.7871107459, -0.1420690417, 0.0960893333, -0.1560021639, 0.2303930968, -0.4376780689, -0.1759240627, -0.2780575156, 0.5934284329, -0.5074958801, 0.243781805, 0.1591954529, -0.0056687738, -0.354920119, 0.4573132992, 1.0362348557, 0.9401633739, -0.0209048223, 0.2774866819, 0.6356596351, -0.1898145676, 0.1215448603, -0.3650176525, -0.0992864668, -0.1063046455, 0.5954956412, 0.4465128481, 0.0824571997, -0.8280954361, 0.3326667547, 0.1549189985, -0.3306480646, 0.0832168013, 0.1309846193, 0.3297227919, 0.3939590752, 0.4488296211, -0.0420555435, 0.0578206331, -0.6341608167, 0.047469262, 0.7866579294, -0.1188021749, -0.2259766757, 0.5650994778, 0.3371949196, -0.4487015903, 0.5169122219, -0.1894657612, -0.7832282782, 0.2267708182, 0.6500128508, 1.0331749916, -0.5493208766, 0.2832973599, 0.6093022227, 0.5230684876, -0.2108969241, 0.3285435438, -0.4215755463, -0.5687314868, -0.8078001738, -0.4336859882, -0.5728653669, 0.1079849005, -0.3453164697, 0.3518363833, -0.4968911707, -0.0982480943, -0.4102049768, -0.3075209856, -0.1482399404, 0.2173131406, 0.5556894541, 1.2747251987, -1.0097856522, 0.5986864567, 0.6358350515, 0.0048227301, -0.5751402378, 0.1883841902, 0.0866863281, -0.7112753391, 0.7651333213, 0.1607240289, -0.3633067608, -0.2154208571, -0.5595443845, -0.7057560682, 1.0379664898, 0.4441399276, -0.503064096, 0.0137552274, 0.0791677833, 0.3538725078, -0.508589685, 0.2752636373, 0.3828518391, 0.8351128697, 0.5069937706, -0.930132091, 0.3279633224, 0.1603845507, -0.2439752966, 0.312406987, -0.5485983491, 0.5826301575, -0.53202492, -0.2372409254, -0.2742325068, 0.6056929231, 0.7583317161, 0.4189455807, 0.8224198222, 0.6971785426, 0.8598197103, 0.0743398145, 0.6749917269, -0.1514539272, 0.090579316, 1.0023459196, -0.3727925122, 0.9385855794, 0.4794004261, -0.3044425249, 0.842867136, 0.7857592106, 0.2757018209, 0.2679629028, 0.0445367731, -0.4053938389, -0.7018849254, 0.188055709, -0.3952611089, 0.2262178063, 0.5386881232, -0.1994125694, -0.2980787456, 0.0354269855, -0.0088313809, -0.0531623736, -0.1045470536, 0.6489229202, 0.1524000466, -1.0573406219, 0.619333446, 0.0847281069, 0.4500079155, -0.7187058926, -0.0586541444, 0.1885364205, 0.0506039485, -0.3018611372, -0.7620781064, 0.4596422017, -0.0672999099, -0.4414806664, -0.6252399683, 0.5801161528, -0.4431076348, -0.2204160094, 0.1351953, 0.5950021744, 0.0028529835, -0.2785212398, -1.0494462252, -0.0312658623, 0.0262054801, -0.2968230844, 0.1387580484, 0.7885959744, -0.1295031756, 1.1694139242, 0.7597610354, -0.00753826, -0.2816643417, 0.1540853381, 0.7622820139, -0.7766590714, -0.4671263695, -1.1507722139, 0.596963048, 0.1356245875, 0.0074841683, 0.511475563, 0.3498613834, 0.2920964658, -0.1624802649, 0.744538188, -0.0998777226, 0.7347322106, -0.5547067523, 0.2036516666, -0.5977168679, 0.3908770382, -0.2552275956, -0.974522233, -0.2814828753, 0.5563762188, -0.3632603586, 0.2453826964, 1.0082722902, 0.6388593316, -0.1585554481, -0.068781063, 0.2045850456, -0.1595858634, 0.3828951418, 0.7608543634, 0.9998531938, 0.1850696951, 0.6695775986, 0.3981176317, -0.4316307604, -0.3744255602, -1.1942853928, -0.9224345684, -0.4737519324, -0.1567135453, -0.2485983372, -0.1265729815, 1.2773947716, 0.8824239373, -0.6688598394, -0.1803947836, -0.0654099956, 0.454485327, -0.4927380979, -0.2745757997, -0.070667468, -0.5964382291, -0.5526468158, 0.5497120619, 0.4084019959, -0.3034515977, -0.4076845348, 0.0178033654, -0.3901706636, 0.2781755328, 0.7204444408, 0.4385624826, -0.7937229276, -0.2099801302, -0.0609345809, -0.1184415594, -0.1430286318, 1.1553285122, -0.847736001, 0.2945127189, 0.8255384564, 0.5539129972, 0.196135655, -0.0343599431, 0.6356457472, -0.5706657767, -0.0710242763, 0.2371165156, 0.2622441053, 0.2591871917, -0.2442894131, 0.3805703223, 0.4178952277, -0.7023756504, -1.0123170614, 0.676214993, -0.6526606083, -0.4874775708, 1.0881516933, 0.0290372651, 0.0115224058, -0.0934595242, -0.2567929327, -0.1038753539, -0.4123798013, 0.6629501581, 0.8607512116, -0.3027915061, -0.5108588934, -0.6277703643, 0.4989925921, 0.5781043768, -0.9364195466, 0.5202142, 0.3694484234, 0.3826482892, 0.2287538201, 0.5497122407, 0.0722165406, 0.1838927567, -0.1769051999, 0.1093364432, -0.195870176, -0.7355975509, -0.2629505396, 0.2963469326, -0.031821806, -0.0405097008 ]
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.2284344435, -0.7347896099, 0.6672330499, 0.4476107955, -0.0443655737, 0.0312234946, -0.3023971021, 0.1185886264, -0.2054282129, 0.4028812647, -0.9205960035, -0.7028137445, -0.2733157873, -0.0007429675, -0.1198259443, 0.9878320098, 0.0854679644, 0.0013451354, -0.3767230213, -0.0381827205, -0.3699349165, -0.0640633032, -0.7567512989, -0.3264383972, 0.6666272879, 0.7092115879, 0.2865180671, 0.6325880289, 0.1906357855, 0.2226736099, -0.0594599359, 0.3397898376, -0.0606710166, 0.2463564575, -0.0200262237, -0.3987861276, -0.3184108436, -0.1950427294, 0.6100156307, 0.647774756, -0.1928633302, 0.3738859594, 0.0830973908, 0.5958123803, -0.7844228745, 0.3656591475, -0.4071240723, -0.1354225725, -0.0124212606, -0.4041878283, -0.717507422, -0.4759559333, -0.0653917938, -0.4272030592, -0.0212869141, -0.062289726, 0.3876656294, 0.1050202996, -0.1300572008, -0.2882541716, -0.5651615262, 0.9497804642, -0.9266065955, -0.1343212724, 0.1125839502, 0.3331932425, -0.4081940353, -0.5739732385, -0.0944309607, -0.7094619274, 0.1456323564, 0.0445132032, -0.2728052139, 0.3922930956, 0.4501484931, 0.0381961912, -0.5318425894, 0.3725297451, -0.3266432285, -0.1474360079, 0.4172031283, 0.2550136745, 0.2974284887, -0.1043192148, -0.3234241307, -0.0605417565, -0.6104277372, 0.1932112873, 0.5738601089, 0.5755949616, 0.072014384, 0.6624212861, -0.4212576449, 0.7546887398, -0.0835390761, -0.0394645035, 0.0145118022, -0.2202456445, 0.0440168455, -0.2201986164, 0.7037833929, 0.2967767119, -0.0624050014, 0.190016374, -0.4969270825, -0.0976286456, 0.2618351281, -0.625074625, -0.0170725007, 0.3729943335, -0.4057221413, -0.2599282563, -0.2450824678, -0.5998131633, -0.1335807592, -0.5248491168, 0.8322430849, -0.336522758, 0.0541007556, 0.1332556754, -0.0747351646, 0.119483754, 0.2729997039, -0.970795095, 0.3173407316, 0.8310046196, 0.8314025998, -0.0299122278, -0.253842175, -1.0126485825, -0.0428632237, -0.3786201775, 0.5755006075, -0.4607623518, -0.2889208794, 0.0443016924, -0.1753239632, -0.3507820368, -0.3456729352, 0.5549742579, -0.1297279447, 0.2698167861, 0.0330388322, -0.5214120746, -0.0012938952, -0.0864058509, -0.5865927935, 0.9893109798, 0.0964761302, -0.5408223867, -0.0879701376, -1.078473568, -0.0882578194, -0.0637755245, -0.0388786308, -0.1302778274, 0.4213599861, 0.3657441139, 0.5013740063, -0.0275308844, 0.1831060201, -0.0288780872, -0.5151382089, -0.0042790398, -0.2988350391, 0.718134284, 0.1191469952, -0.4168075621, 0.5498085022, -0.6898185015, -0.0136281354, -0.0538138077, -0.443367064, -0.1249427125, 0.0894952491, -0.2959371805, 0.0268274639, 0.0821827725, -0.2553379834, 0.5632908344, -0.3362998664, 0.4469479322, 0.8347924352, -0.249579221, 0.4703501165, -0.3077691495, 0.8388436437, -0.2003358901, 0.4763810635, -0.7542567849, -0.5931318402, -0.9118791223, -0.1936069131, -0.0541404448, 0.4715344012, -0.5938631296, 0.1552483141, 0.1483359784, -0.4284307659, -0.6210129857, 0.0246700551, 0.2579927146, 0.5244425535, 0.4743447006, -0.0480808578, -0.2651329935, -1.216329813, -0.2377223074, -0.0804183334, 0.0879415572, 0.0161507819, 0.321385622, -0.0612559617, 0.6743134856, -0.3895739913, 0.2191528827, -0.6429190636, 0.4733150005, 0.6565849781, 0.4930486679, 0.4057898819, -0.1451388597, -0.358733356, -0.1962392926, -0.0938407034, -0.6355744004, -0.4376541972, -0.0673522428, 0.2710460424, 0.3971357644, -0.6929879785, 0.0665389895, 0.5188115835, 0.0715237185, 0.8934818506, -0.4366523623, -0.0422367901, -0.8039046526, 0.0412762165, -0.0756517574, -0.1547017395, -0.672431469, 0.2501328588, 0.1595315635, -0.2248895317, -0.4673884511, 0.484806776, -0.524762392, 0.0552669205, -0.4134077728, 0.1645947695, 0.0103986003, 0.6858670115, -0.0978938937, 0.7391871214, 0.7705515027, -0.5360713601, 0.165476352, -0.1947624534, -0.4616677165, 0.2460654974, -0.5838567019, 0.2904548943, -0.2987613678, 0.1958549172, -0.888120532, 0.1359792203, 0.350259304, -0.1243528277, 0.3574070632, -0.1977657229, -0.1436883509, -0.2318184227, -0.6494153142, 0.1269174665, 0.3785403371, -0.4448520541, 0.5212045312, -0.1301023811, -0.2758506835, -0.8676382303, -0.3276428282, -0.0133907776, -0.2465523481, -0.2958465219, 0.2791206241, -0.2513453066, -0.0951831341, -0.2604647577, -0.1693908274, 0.1702384949, 0.1401821673, 0.0635023043, 0.2312233299, -0.2954151928, 0.0198316667, 0.2961848676, -0.4386232495, 0.1386405379, -0.5165551305, 0.5989092588, -0.0223573651, -0.5940929651, -0.7498213649, 0.595610857, 0.4190578163, 0.0206891354, 0.5596145391, 0.6038038731, -0.1505941451, -0.5178740621, -0.3640478551, -0.1939922571, -0.4716295004, 0.3917533159, -0.3995864689, -0.6453337669, 0.1365010291, -0.1388763934, 0.4720636308, 0.1638794541, 0.4595959485, 0.1519234329, 1.1555948257, 0.5810762644, 0.1025753841, 0.5999973416, -0.2090399116, 0.1098156869, -0.7545389533, -0.1833226979, -0.779659152, -0.2131164223, -0.2074568868, -0.8073282242, 0.2918350697, 0.377641499, -0.0180963352, 0.5955963731, -0.2094980925, 0.6251815557, 1.0238066912, -0.0384084359, 0.0387704782, -0.1124436855, -0.3650101125, -0.1560204625, -0.9448623061, -0.7670073509, 0.8525419831, 0.410571754, 0.7105683684, -0.211350143, 0.7998785377, 0.2720947564, 0.0972500518, -0.7492516041, 0.6088191867, -0.1433097422, -0.1696261764, -0.1138710827, -0.3924967349, -0.504984796, 0.1043295786, -0.0169316065, -0.8819604516, -0.2067718655, 0.2973535657, -0.4096731246, 0.082617335, -0.5693737268, 1.0825346708, -0.1591174304, -0.2640111148, -0.4822199941, -0.6771485209, 0.2094700038, 0.1040084213, 0.1874515265, -0.2242731601, -0.0912392437, 0.3171496093, -0.3341154456, 0.7148008347, -0.3901622295, -0.2397493571, 0.214999631, -0.0225306153, 0.4926018417, -0.223041296, -0.1462640464, -0.2346276641, -0.0159378294, -0.2942999899, -0.662096262, 0.5339143872, -0.3656309843, -0.655397296, 0.1340082288, -0.5459094644, -0.0393206403, -0.1749961972, -0.0906320736, 0.8346164823, -0.0087418696, 0.0804788321, 0.4656354189, -0.8046884537, 0.7260065675, 0.1834380925, -0.1934515536, -0.2266727835, 0.8957881331, -0.2842507064, 0.6467828751, 0.609313488, 0.5387839675, -0.2863276601, -0.6986764669, -0.5953081846, 0.1388974637, -0.900306344, -0.0965614393, -0.5539685488, 0.0360991694, -0.285009861, -0.0258304495, -0.2815060616, -0.8774271607, -0.1440480798, -0.0771631151, 0.0329464674, 0.4740256071, -0.2225680649, 0.5353799462, -0.8126447797, 0.052115418, 0.2353089899, -0.1096728668, -0.0304861274, -0.3670713902, -0.300345391, -0.0373279192, -0.3282933831, -0.8058092594, 0.1967180669, 0.3262436986, 0.8473981619, 0.4134744704, 0.0164167508, 0.5671752095, -0.5089964867, 0.804952383, 0.0648526475, -1.1481796503, 0.9474931359, -0.4480614066, 0.3966493011, 0.3745037615, 0.2848388553, -0.5568581223, -0.6797683239, -0.2932367921, -0.8985594511, 0.9876616597, 0.0155826705, 0.4772568345, -0.0641758367, 0.3095641732, 0.2845193744, 0.2708621919, -0.5393664241, -0.188266173, 0.1911005527, -0.3246754408, 0.1548184752, -0.3147163093, -0.2041726708, -0.0278925765, 0.6741907597, -0.459076196, 0.0674007833, -0.1281101555, -0.0829524547, 0.1973495483, 0.4522786736, 1.0983263254, 0.8325073123, -0.0550320037, -0.0266447235, 0.0302399993, -0.2341507524, -0.046175167, -0.0373197682, -0.3287392557, 0.1602695882, 0.463504225, 1.0644245148, 0.2024591714, -0.6646597385, 0.4679020345, 0.1062951684, -0.1132855937, 0.1054351926, 0.3238034844, 0.1633618921, 0.533839345, 0.3661552966, -0.0584023967, 0.1123513058, -0.3660308421, 0.0933583751, 0.2816080749, -0.1108864993, -0.2911081314, 0.6749667525, 0.1451368183, -0.5302092433, 0.4130491614, -0.013243841, -0.4026751816, 0.573625505, 0.5605382919, 0.9722251296, -0.2524043918, 0.6582474113, 0.4697405696, 0.2835835218, -0.2621524036, 0.1739825308, -0.2924684882, -0.3832033873, -0.667820096, -0.6134454012, -0.597418189, -0.073343806, -0.6049080491, 0.5535290837, -0.4269792438, -0.0777442679, -0.290915072, 0.0075287367, -0.2840735614, -0.1518692523, 0.2741452456, 1.0944335461, -0.7978377342, 0.6778839231, 0.4543520212, -0.2545247972, -0.7190334201, -0.3068904281, 0.0484576114, -0.7243523002, 0.534776926, 0.562122345, -0.1857100129, 0.0868314952, -0.4971503019, -0.3299436271, 0.8227775693, 0.6020619273, -0.7117320895, -0.1166397631, -0.0680319667, 0.1198434755, -0.5664046407, 0.4947951734, 0.3530076742, 0.4135516584, -0.1047359854, -0.6655494571, -0.1080120727, -0.0587166026, 0.0150685208, 0.0501270816, -0.385298878, 0.6545597315, -0.418150425, -0.1417463571, 0.3094293177, 0.5858062506, 0.5601550341, 0.2210458219, 0.6350421906, 0.3105974495, 0.5506613851, -0.032210581, 0.8875326514, -0.2299171686, 0.1757118702, 1.1159232855, 0.0153499339, 0.7336831689, 0.7104116082, -0.0166798979, 0.5615670681, 0.7291371822, 0.102721408, 0.5593887568, 0.5723178387, -0.4447554946, -0.1844149828, -0.1734942347, 0.05162967, 0.1368207633, 0.2931885421, -0.261570245, -0.2907915711, 0.0247640237, -0.0225138217, -0.0350887887, -0.1712371409, 0.4849039018, 0.0355936252, -0.6581344008, 0.2749460638, 0.1887263656, 0.5010414124, -0.83745718, -0.037805602, -0.4600017667, 0.050573539, -0.0787747353, -0.2792951167, 0.2318705618, 0.0507998057, 0.0466229133, -0.4821995795, 0.4603417814, -0.5186986327, -0.2637706697, 0.2542113066, 0.4613674879, 0.3161034584, 0.0848983824, -0.7840320468, 0.0687263235, -0.1466653347, -0.4429937899, 0.0722248629, 0.1964041591, -0.0774321333, 0.8816900253, 0.5117937922, 0.2686654925, 0.218554914, 0.6680470705, 0.7391088009, -0.4927866459, -0.0868545398, -0.9479900599, 0.8135394454, 0.06346035, -0.1638781577, 0.4825407863, 0.4677288234, 0.7029840946, -0.2622303665, 0.4396998882, 0.1491872072, 0.121601142, -0.86550349, 0.1648811102, -0.5335558057, 0.3997837901, -0.3303405344, -1.2597022057, -0.2889100611, 0.5603487492, 0.0899883807, -0.0913187414, 0.7025313973, 1.0636343956, -0.0102294041, -0.0133751938, 0.1337742209, -0.3292452693, 0.2949749231, 0.7754510045, 1.1787743568, -0.1162814796, 0.4402571023, -0.3291406333, -0.3321747482, -0.0882602856, -1.1509987116, -0.7419669628, -0.3494106829, -0.6042875648, 0.1269682944, 0.0946990699, 1.2654297352, 0.7163675427, -0.63113451, -0.5704133511, -0.0031723932, 0.1412262022, -0.5414649844, -0.1924822479, 0.2494465262, -0.913914144, -0.957722187, 0.937857151, 0.4832728505, -0.1317757964, -0.3755163848, -0.0425310321, -0.1492451876, 0.1043046787, 0.533251524, 0.0034176349, -0.6051228642, -0.2803365588, 0.161728099, -0.0852620453, -0.0195121747, 1.1181848049, -0.3608399928, 0.34818542, 0.5783296824, 0.7014167905, 0.2412541956, 0.1479735523, 0.8691521883, -0.8766329885, -0.0375367142, 0.1017749682, 0.2018209249, 0.3485531509, 0.0418111272, 0.3298445344, -0.0554570109, -0.5233371258, -0.8302072287, 0.2326315045, -0.8646551371, -0.3648100793, 1.0223944187, -0.3049173653, -0.1497377157, 0.1323488206, -0.3674892485, 0.1320385039, -0.4064158499, 0.5444620848, 0.6709992886, -0.4017329812, -0.4176379442, -0.9487887621, 0.4848371744, 0.4408465326, -0.6525774598, 0.2676907182, 0.6190834045, 0.0371230356, 0.0137748299, 0.6945937872, 0.1123318672, 0.0020700865, -0.1154479459, -0.0680757016, -0.1953942329, -0.6661912799, -0.5910528898, 0.1171912104, 0.1505098343, -0.4492760003 ]
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.1215056926, -0.8028686047, 0.5615836978, 0.0793685988, -0.4417783618, 0.2617834806, -0.1469078362, -0.5108292699, 0.1278814673, 0.5038545728, -0.3435299098, -0.0051754736, -0.9294210672, 0.2196789533, -0.337248683, 1.2663476467, -0.1093469635, 0.1056055576, -0.3155241907, -0.0687295645, -0.8073373437, -0.8688050508, -0.7125304341, -0.1635242254, 0.5152573586, 0.3439385891, 0.7150914073, 0.6791294813, 0.912486732, 0.1552674323, -0.3671225905, -0.1228037477, -0.6150839329, 0.0481046811, -0.1048798561, -0.8215675354, -0.1892194152, 0.009245907, 0.8261393309, 1.0201009512, 0.193559885, 0.2985198796, -0.103613928, 0.6142318845, -0.4499656856, -0.0592751019, -0.7653605342, -0.0926904753, -0.6759036183, 0.0553600639, -0.4698975086, -0.0728818327, 0.0432488434, -0.1994520873, 0.2895048261, 0.3538245559, 0.923058629, 0.3571621776, -0.3115469813, -0.4357983172, -0.6749465466, 0.8141056895, -0.7975718379, 0.2356957495, 0.3681398332, -0.0541149303, -0.1518184692, -0.6815630794, -0.3493689895, -0.3699444532, 0.1737584919, -0.2680979669, -0.0434399508, 0.0848910958, 0.2376568019, 0.4833555818, -0.2000315338, 0.3678816557, -0.5959376097, -0.3147436976, 0.0871246979, 0.3701098859, 0.6052008867, -0.4475590587, -0.2063916475, 0.1852216423, -0.8279405832, -0.0499828495, 0.4811281264, 0.5415952206, 0.157365948, 0.6988755465, 0.5941804647, 0.3300186694, -0.1518342793, -0.0231611058, -0.1449442506, -0.3390429616, -0.1826349348, -0.1995943934, 0.4230388105, 0.2166683227, 0.3656485081, -0.2299094349, -0.2565909624, -0.1638565361, 0.1737497151, -0.6355763674, 0.0307142735, 0.2689701915, -0.6178201437, -0.2176520377, -0.0230772924, -0.4930076301, -0.5369372964, -0.0067881378, 0.2507877946, -0.4198727012, -0.0878744125, 0.0524640083, -0.3980075121, -0.107922174, 0.1209256947, -0.9724997878, 0.3373430669, 0.7210330367, 1.0448120832, -0.3469846547, -0.1799747348, -0.3621985316, 0.0759215802, -0.3914609849, 0.3731155396, -0.5965768695, -0.6534805298, -0.1604019254, 0.0090244245, -0.1756605506, -0.6922896504, 0.5926943421, -0.2817578912, -0.0000551219, -0.2768287659, -0.7247504592, 0.2209272236, 0.1093876064, -0.6899796724, 0.7836011648, 0.0861087739, -1.0155736208, 0.289511025, -0.3616485596, -0.3439644873, 0.0811816677, -0.1294824481, -0.3909745812, 0.8603671789, -0.108445242, 0.175911963, -0.4380781651, 0.0628442615, -0.1416236609, -0.4694329798, 0.2499241531, -0.4764183462, 0.4250189662, -0.0600742809, -0.1595235914, -0.1241479516, -0.7651456594, -0.1494124979, 0.4187469184, -0.5086212754, -0.6030646563, -0.0052450579, 0.3765494227, 0.0378347374, 0.2910657227, -0.4441754222, 0.3370997012, -0.4380397201, 0.6600449085, 0.8902660012, -0.1073350161, 0.351626128, -0.2488241792, 0.680949688, 0.2472014874, 0.4087099731, -0.0449764542, -0.4207288325, -0.7768363357, -0.119136937, 0.6413447261, 0.3793628216, -0.5721788406, -0.0477633439, -0.3751938343, -0.2508606315, -0.2782718241, -0.1273379624, 0.5046742558, 0.273583442, 0.0577463061, -0.4674165249, -0.4706826508, -0.9469213486, -0.4152204394, -0.2406981438, 0.0565519966, 0.2041129023, 0.7512376904, -0.1468906701, 1.0804296732, -0.3648181558, -0.3823587894, -0.3003824949, 0.1345995069, 0.0380282588, 0.6164919734, 0.5998057127, -0.6181772947, -0.1385768801, -0.2959412634, -0.0802132785, -0.1492878199, 0.012635312, 0.4374254048, 0.4891798496, 0.585051775, -0.6001396775, 0.4847028852, 0.5685616136, -0.4350770116, 0.9044417143, -0.0467884131, -0.3215951622, -1.1253808737, 0.1712816656, -0.3730828166, 0.0184439737, -0.5893323421, -0.0421759076, -0.0549375862, -0.077093482, -0.2170574665, 0.5461006761, -0.4576430917, -0.0862698406, -0.239996478, -0.165451318, 0.0423765816, 0.035084933, -0.2202456892, 0.8593357205, 0.248298496, -0.3654675782, -0.0073399679, -0.0940324441, -0.1714730859, 0.2081745118, -0.7788435221, 0.1312247813, -0.298325032, 0.2056975812, -0.9487462044, -0.2424176782, -0.025593916, -0.4105080962, 0.4804671705, -0.3439725041, -0.7541770339, -0.4900069833, -0.3244028389, 0.6859601736, 0.2646294236, -0.2466516644, 0.2960247993, 0.2263548821, -0.0885817856, -0.5298144817, -0.8657548428, 0.3957049251, -0.3076252341, -0.495123893, 0.1692112684, -0.1888325661, -0.4011418223, -0.0499111935, -0.1975534409, 0.1384050399, 0.1398265064, 0.2290497422, 0.2040859312, -0.129298389, 0.3968628943, -0.241719082, 0.0866563618, 0.097366102, -0.3660318553, 0.7719397545, -0.1176313311, -0.313047111, -0.2563790679, 0.3522880077, 0.8440926075, -0.0638523698, 0.9604151249, 0.2554762959, -0.4727209806, -0.131645754, -0.7033004165, -0.0679992214, -0.4418054223, 0.5178343654, -0.4247568548, -0.9788556099, 0.8512691259, 0.0511116497, -0.0806237459, 0.3976110816, 0.3467697203, 0.1632161736, 0.7728503346, 0.9254621267, -0.064567782, 0.531445682, -0.0042818296, 0.5319336057, -0.7553572059, -0.0912956819, -0.4697912037, -0.1053177789, -0.5908151865, -0.4956243038, 0.264434427, 0.231219992, 0.1890748441, 0.0578870326, -0.2767079473, 0.6088446975, 0.436303705, -0.3169373572, 0.2028654218, -0.2487598807, -0.2414170504, -0.4003811181, -0.5563308001, -0.672719419, 0.9768960476, 0.5670905709, 0.630438149, 0.0294205621, 0.5555118322, 0.3044401109, 0.0785633698, -0.7672132254, 0.217918396, -0.2537008226, -0.7187687755, -0.3672069907, -0.4920479655, -0.8753235936, 0.0737971887, 0.0101035815, -0.817348063, 0.1865039617, 0.0741457343, -0.2494043559, 0.5574874282, -0.7559886575, 0.825063765, -0.1374754757, -0.1184208691, 0.1778222173, -0.7293511629, 0.3431420922, -0.3421686292, 0.5183058381, -0.2193604261, -0.0664537102, 0.8361318111, -0.6953309178, 0.9336544275, 0.1391033083, -0.2908259928, 0.2005649805, 0.239350751, 0.6261936426, 0.0268330574, 0.1704443097, 0.0374859683, 0.1457174569, -0.7559274435, -0.3859072328, 0.4847132564, -0.5575637817, -0.5907181501, -0.2665632069, -0.4906013906, -0.370590359, 0.1883458495, 0.6081141829, 0.5062143803, -0.1267501414, -0.0082463892, 0.519616127, -0.3250117004, 0.6262081265, 0.0858060345, -0.3014787138, -0.3666720092, 0.9307279587, 0.4921311736, 0.5576836467, 0.0312012359, 0.3031966388, -0.0841680169, -0.9325512052, -0.100789085, 0.4063313901, -0.7637435794, -0.0230456982, -0.3135706782, -0.1217030212, -0.5842918754, 0.0316397138, -0.4757777452, -0.5557605624, -0.6415051222, -0.1520314366, 0.112273477, 1.0167438984, 0.0434453115, 0.2301261872, -0.7824180126, -0.0347114652, 0.1312836558, 0.471357137, 0.1404328644, -0.8145931363, -0.2825836241, -0.4068586826, 0.0060118372, -0.5355769396, 0.1143852249, 0.0581491664, 0.0735123754, 0.3796580434, -0.1299765557, 0.5461134315, -0.7633565068, 1.0132814646, 0.3302096128, -1.0716081858, 0.3409001231, -0.4228353798, 0.298011899, 0.4664690197, 0.0407122113, -0.8358719945, -0.5062340498, -0.4967266321, -1.1004670858, 0.434912771, 0.2284917533, 0.5062769651, -0.3847972453, 0.7301399112, 0.2665231526, 0.1055574566, -0.6868834496, -0.2531637251, -0.0381305665, -0.0315197222, 0.0335240327, -0.7873934507, 0.1084813029, -0.0157891847, 0.4031995833, -0.0967050046, -0.1981431842, 0.0121976836, -0.1797385067, -0.0502373129, 0.285092473, 0.8292928934, 0.737701714, 0.0530871041, 0.1939403564, 0.037412975, -0.6476918459, -0.0880634487, -0.2409226447, -0.1252186894, 0.1102289706, 0.5366025567, 0.8731104136, 0.156837061, -0.8766692281, 0.5439099073, -0.0737244859, 0.0212276857, -0.2668528557, -0.4120319188, 0.0901442096, -0.1039406732, 0.5817388296, -0.0525981337, -0.0444073305, -0.6192062497, -0.1039244086, 0.4634062648, -0.3105413914, -0.3870328367, 0.6628633142, 0.1072346047, -0.397962898, 0.6301873326, 0.1878436059, -0.5342850089, 0.8737076521, 0.6918434501, 0.7506173849, 0.1543746442, -0.0288626458, -0.1665277332, 0.7081461549, -0.1290459931, -0.01207761, 0.4712669551, -0.5073155165, -0.3926208913, -0.8133388162, -0.4537873864, 0.2549841106, -0.4924808145, 0.0698099509, -0.6654314995, -0.551846087, -0.2561562359, -0.0985531509, -0.3875749111, 0.1236970648, 0.2376999408, 0.8089925051, -0.7488121986, 0.4505676329, 0.4191541076, -0.6050359011, -0.5848472118, 0.1832279116, -0.1972922683, -0.6963813305, 0.7527837157, 0.1681799591, 0.1747170687, -0.0451248176, -0.6774504781, -1.0941492319, 0.5803920031, 0.4665603042, -0.5906991363, -0.2373186648, 0.4426366091, 0.6044102907, -0.0509646088, -0.1904785931, 0.7590388656, 0.5399364233, -0.1254054159, -1.2418340445, 0.1743202507, 0.0503640324, 0.4127781093, 0.3742188513, -0.8639491796, 0.9901926517, -0.330640316, -0.2078847587, 0.1954502314, 0.336550951, -0.0297863521, 0.0465459675, 0.225037992, 0.7661210299, 0.6070019007, -0.0498846956, 1.0262807608, -0.1709736586, 0.3517615795, 0.8900693655, -0.1454880685, 0.6439269185, 0.9335306287, -0.160403356, 0.143680349, 0.755323112, -0.0321429782, 0.1360023022, 0.712890029, -0.1168715656, -0.0156114465, -0.276273787, -0.1757180542, 0.3684780896, 0.4128024578, -0.3210300207, -0.0175123531, 0.23649019, 0.1675015241, 0.0131295966, -0.4228951931, 0.4696677625, 0.3444042504, -0.2722886205, 0.3969519138, 0.1382695585, 0.835059762, -0.3958115578, 0.2737771273, -0.5180943608, 0.07292521, -0.0453783646, -0.2026904523, 0.3759329021, -0.1093657315, -0.4505937099, 0.0383690335, 0.5053445697, -0.1477271467, -0.5726027489, 0.1782434583, 0.4819182158, 0.2217525244, 0.0582953282, -0.3415136039, 0.4525257945, -0.4820677638, -0.2458709031, 0.4783191383, 0.507391572, -0.327575624, 0.7044618726, 0.4870835841, 0.2397179157, 0.4769417346, 0.3496728837, 0.6592060328, -0.7171351314, -0.2342768461, -1.1307580471, 0.1016700342, 0.0764452219, -0.4826332331, 0.7074750662, 0.5163531303, 0.6020742059, -0.1786462665, 0.6837046146, 0.0265109632, 0.3973632753, -0.3910298347, 0.818598032, -0.5793141127, 0.2910941541, -0.2150818557, -0.7202743888, -0.5792135, -0.1349483579, -0.2224741876, 0.0791930631, 0.9119637012, 0.3932829797, 0.2528953254, -0.5459084511, 0.3719662726, 0.1599764675, 0.3335774839, 0.2628733516, 0.7017098069, -0.3284830749, 0.778971374, 0.1481475532, 0.1543628275, -0.3792577684, -0.7570118308, -0.9673178196, -0.5145971775, -0.2072443366, -0.3743783832, 0.2014012933, 0.6838310957, 0.4066464305, -0.7188267708, -0.0147353625, -0.2973897457, 0.297976613, 0.2209233493, -0.3072050214, 0.475314796, -0.592664957, -0.814522624, -0.0129551142, 0.3746154308, 0.4879546165, -0.3538552523, 0.3563001752, 0.1521418393, 0.5412768722, 0.3831531703, 0.2451456487, -0.9173074961, -0.5752940178, -0.2648971081, -0.2822915316, 0.0209833998, 1.0946216583, -0.3066220582, 0.1876344532, 0.3917265832, 0.7342200875, -0.0307105351, -0.1135006323, 0.5576061606, -0.9582713842, 0.0326517709, 0.3075425625, 0.4175875187, 0.4395137727, -0.368049562, 0.3158097267, 0.6168839335, -0.3975567222, -1.1986472607, 0.4147464931, -0.5741994381, -0.6354463696, 0.9863998294, 0.1103454083, -0.3275682628, -0.0911517963, -0.1919316649, 0.0658891127, -0.0009107826, 0.8962677121, 1.2216836214, 0.2284929156, -0.2028967291, -0.3499943018, 0.6215125322, 0.6571593881, -0.4138832688, 0.3071402013, 0.4241214395, 0.4882041216, 0.2271578461, 0.7378157377, -0.1516277492, -0.0513130017, 0.058610674, -0.0155792283, 0.0934044644, -0.2460099757, -0.4193332493, 0.3159665465, 0.41451177, -0.1159702763 ]
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.1157223135, -0.9115809202, 0.7735998631, 0.145801574, -0.0849960223, 0.3183170259, -0.1453825831, -0.1754072011, 0.0960152224, 1.0176705122, -0.6426917315, -0.6145902872, -0.4408506453, 0.0046497257, -0.2490903586, 0.8078087568, -0.2427498102, -0.2153097689, -0.4125017524, 0.0725825951, -0.3400168121, -0.2588439882, -0.4985630214, -0.0765220597, 0.7084386945, 0.2010769695, 0.7050797939, 0.6049694419, 0.451694876, 0.359980166, 0.3048465848, 0.3428176045, -0.4755033255, 0.6632559896, -0.1383551508, -0.3837244809, -0.4324477613, -0.0048598545, 0.5195226669, 0.4296164513, -0.1580785662, 0.2094974965, 0.2264239788, 0.4479283392, -0.3847766519, 0.2517027855, -0.7012254, 0.2531147897, -0.128226608, -0.3263838887, -0.3952659667, -0.3195960224, -0.0553301796, -0.7230217457, 0.3417171538, 0.2252299339, 0.6339575648, 0.3011683822, -0.1455671638, -0.5270708799, -0.9503279328, 0.6707603931, -0.9307549, -0.519352138, 0.2752245367, 0.255744189, -0.1703393608, -0.4182286859, -0.5940868855, -0.522939086, 0.2255443335, 0.1825758368, 0.2006047219, 0.1643905044, 0.4082171619, 0.6346270442, -0.6104887724, 0.2771033347, -0.1245225295, 0.0124628851, 0.9226046205, 0.3443896174, 0.5352640152, -0.0418450274, 0.0271957535, 0.0542197488, -0.4679647386, 0.0456410125, 0.4525190592, -0.1869668514, 0.157947436, 0.9254925847, 0.1238771826, 0.6155099869, 0.007260954, 0.010431041, -0.452727735, 0.2227966487, -0.2679049373, 0.190310508, 0.7527123094, 0.6715933681, 0.1511602849, 0.2183116376, -0.295370847, 0.1580600142, 0.2917568982, -0.6223537922, -0.0839341283, 0.2240357697, -0.328466773, -0.5366649628, 0.0191433039, -0.6179563999, -1.0481871367, -0.2569361627, 0.7339112163, -0.1651711762, -0.2188952565, -0.2091871798, -0.2866864204, 0.1385831833, 0.2850821614, -0.9905954003, -0.0362119339, 0.3876262009, 0.516525805, -0.1855272502, -0.4673780203, -0.5663248301, 0.4884770811, -0.6384071708, 0.5880718231, -0.2845552862, -0.4208486378, -0.0158420391, -0.3785553575, 0.0551113375, -0.6458138227, 0.2088612616, -0.2981873453, 0.2814131379, 0.4478791952, -0.4004465044, 0.1355593503, 0.2225886434, -0.968010366, 0.8273194432, 0.1460893452, -0.2308395207, 0.1959967613, -0.6462054849, -0.5274630189, 0.1497504115, -0.0769074857, -0.4412128925, 0.4254336357, 0.233354196, 0.7191302776, -0.3794291317, 0.6977691054, -0.1783628166, -0.5042130947, 0.5341718197, -0.5329796076, 0.370251298, 0.1873873621, -0.5326682925, 0.3569969833, -0.6415698528, 0.0115008662, 0.0622649528, -0.4297836125, -0.0262944084, -0.0892560184, 0.1107731611, 0.239012152, -0.0225732327, -0.3663578928, 0.2449611872, -0.5493134856, 0.6433458924, 0.5257575512, 0.0562106259, 0.4605674744, -0.8300474882, 0.5531615615, -0.3778164089, 0.0351672024, -0.2440911531, -0.349477917, -0.6904908419, -0.251237452, -0.1360224932, 0.4757071733, -0.8102584481, 0.4899866283, 0.1153740734, -0.6434415579, -0.9018873572, 0.4340629876, 0.2847832739, -0.0084013585, 0.1861389577, -0.2944645286, -0.6398351789, -0.6102567911, -0.5866026282, -0.0269457512, -0.0082653295, 0.0504760966, 0.0378449559, -0.2305411845, 0.9274419546, -0.3695214391, -0.7798596025, -0.7183039188, 0.3204758465, 0.4502051175, 0.438464731, -0.0308574475, -0.5172017813, -0.8642438054, -0.0257083792, -1.124499321, -0.269163847, -0.5386071801, -0.116301775, 0.5254533291, 0.7185661793, -0.8997064829, 0.618686676, 0.6986963749, -0.2012828737, 0.5547135472, -0.4551858902, 0.1222730875, -1.0845206976, 0.1463255733, -0.3398956358, 0.0442781374, -0.2666960657, 0.1098784208, -0.5919625163, -0.4480299056, -0.085500218, 0.5884776711, -0.8171326518, 0.0554708205, -0.2744331062, 0.3724834323, 0.2269796133, 0.6061920524, -0.0670579523, 0.2363746911, 0.5551151037, -0.3510253131, 0.7054466605, -0.0065454766, -0.6488651037, 0.3672719002, -0.534848392, 0.025741471, -0.4833766222, 0.2952415943, -0.9655160308, -0.4043180346, -0.2544394433, -0.069535099, 0.0336647891, -0.125292182, -0.3880774379, -0.2588422894, -0.2428658456, -0.1630426347, 0.7749258876, -0.205252111, 1.0021541119, 0.5544361472, -0.4010802209, -0.23706837, -0.5500362515, 0.3565786183, -0.4772768915, -0.4895002544, 0.6293777823, -0.2528635561, -0.5444651842, -0.0354747996, 0.2948298454, 0.026209252, -0.0691540241, 0.6470860839, 0.3409009874, -0.1124468669, -0.2152783871, 0.0355021022, 0.0911654681, -0.0036540837, -0.1576851755, 0.5162038803, 0.2190196663, -0.2552450597, -0.3866157234, 0.5525654554, 0.8083173037, -0.3441046178, 0.4246213734, 0.6086752415, -0.1541547477, -0.5775976181, -0.5302093029, 0.1643882692, -0.4610069096, 0.3343253136, -0.1949429065, -0.9547427893, 0.1129693761, 0.0433193184, 0.405508399, 0.6442634463, 0.675755918, -0.3314032257, 1.1457943916, 0.4916822612, 0.3605216444, 0.3601532578, -0.4370020628, 0.278062731, -0.7751230597, -0.1335376203, -0.0441436917, -0.4068593681, -0.3191007376, -0.5493708253, 0.3957097232, 0.2631242573, 0.0653533116, 0.3550571203, -0.3936806619, 0.7632921934, 0.5421645641, -0.2018731087, 0.4289958477, -0.1184884757, -0.353767246, -0.0857888758, -0.6369029284, -0.7752040029, 0.8413153887, 0.2010074109, 1.0573883057, 0.3381140828, 0.7737787962, 0.4658475816, 0.6162051558, -0.6631088257, 0.7608556151, -0.2250153124, -0.6441223025, -0.8094770908, 0.0034697368, -0.7007299066, 0.0578311868, -0.4411059916, -0.3774751425, -0.274913609, 0.4100289345, -0.568520546, 0.2804007232, -0.6909614801, 0.96118325, -0.3125448525, -0.8676766157, -0.5657982826, -0.5008915663, 0.2061180174, -0.0149019333, 0.3304582834, -0.2245251685, 0.4827458858, 0.5164581537, -0.2669927478, 0.9964896441, -0.1837998033, -0.2819220126, 0.7992225289, 0.6355606318, 0.3835714459, 0.0837443173, -0.2449344248, -0.2323711962, 0.0362315662, -0.0638061091, -0.5337145925, 0.8404330015, -0.4985589683, -0.7269763947, -0.3741973639, -0.7601928711, -0.2161303759, 0.1403678656, 0.3016315103, 0.6589483619, -0.8126379848, 0.1796857268, 0.2747135162, -0.3359645605, 0.8462085724, 0.0668103695, -0.5771611929, -0.3257895112, 0.8862775564, -0.0463982299, 0.1902170181, 0.4015782773, 0.0051124161, -0.333401382, -0.374232024, -0.5723572969, 0.145517543, -0.6268002987, 0.1483498067, -0.5552579165, -0.3010910749, -0.2907997668, -0.5435966849, 0.0560669899, -0.3516588807, -0.0949946046, -0.0339627638, 0.0740324333, 0.9951917529, 0.0323077552, 0.2662849426, -0.8849838376, 0.2614441216, 0.5716636181, 0.2233794332, 0.2231633365, -0.3410939574, -0.365067184, -0.1341841966, -0.4786410034, -0.3553161919, 0.6690297723, 0.3699641526, 0.5601999164, 0.2256146669, -0.1070858017, 0.4959621429, -0.4252061844, 0.8186101317, 0.0531694628, -0.906729877, 0.3840865791, -0.4539537132, 0.4763935506, 0.5061907172, 0.1480446905, -0.6935759187, -0.5760247111, -0.5002987981, -0.7289389968, 0.4786135554, -0.0018752818, 0.3284523487, 0.2731031477, -0.1851322651, 0.1378691345, 0.3820447922, -0.6958542466, 0.6484870315, -0.2021930069, -0.5600003004, -0.4064606726, -0.1932429075, -0.0642169788, -0.1665955186, 0.638466239, -0.1398888826, -0.0058315177, 0.2781676054, -0.4421582222, -0.3108991086, 0.2256792933, 0.4648866057, 0.4454170167, -0.0446864404, 0.4216042161, -0.094060801, -0.3547481596, 0.0191563014, -0.2429251373, -0.0454747044, -0.0703146458, 0.7486182451, 0.9265873432, 0.0865420029, -1.0589950085, 0.2236997336, 0.1632155478, -0.3830839396, -0.4500932097, 0.4593769908, 0.2525150478, 0.1723523885, 0.2218919843, 0.1161915809, -0.1662054509, -0.9815856218, 0.0840305313, 0.4277228415, -0.4981928766, -0.0208456777, 0.7428531051, 0.3756400049, -0.8419036865, 0.4765173197, 0.0025143134, -0.3075901568, 0.6931535006, 0.5760669112, 0.9129955769, -0.1891535521, 0.4270887971, 0.2109736502, 0.1068177372, 0.012544808, 0.0325358547, 0.1751095653, -0.6290173531, -0.4705080092, -0.7957958579, -0.3332583606, 0.0965476632, -0.1056122631, 0.2312910259, -0.7024498582, -0.0948657021, 0.0005349634, -0.2131124139, -0.1747829616, 0.0194068551, 0.1629924178, 0.3182370663, -0.3562296331, 0.6601825356, 0.4982787669, -0.3023740053, -0.708861053, 0.1524988711, 0.0490947627, -0.4923467934, 0.4477929771, 0.470631361, -0.1081978381, 0.6410422325, -0.412597537, -0.4770470858, 1.2107737064, -0.0375406407, -0.489138931, -0.299420923, 0.1984940916, 0.7680530548, -0.7350379229, 0.0920738503, 0.2227396071, 0.2989508808, 0.2511351109, -0.7025262117, -0.2274002582, -0.3721297085, 0.1034201756, -0.0785222873, -0.1732407808, 0.6881117225, -0.4349172711, -0.1121244133, 0.2846980691, 0.4326452315, 0.3071472347, 0.1937163919, 0.4667390287, 0.156467095, 0.4490526021, 0.2008617967, 0.7794550061, -0.1268037409, 0.0580322668, 0.874417901, -0.7518721223, 0.7443954945, 0.4117926657, 0.0937637687, 0.7461400628, 0.1342124939, -0.1714321673, 0.3117701113, 0.6328943968, -0.4744930267, -0.3257208467, -0.1812281162, 0.3792136312, 0.4140083194, 0.1224190146, -0.3884162009, -0.0978958011, 0.2697689831, -0.0959797204, 0.6915253997, -0.3600020111, 0.8108216524, 0.2199736536, -1.2016507387, 0.3815933168, 0.179966718, 0.5762655735, -0.6536900997, -0.4482466578, -0.080477424, 0.39980793, -0.1717288643, -0.938685298, 0.3860393167, 0.0953622311, -0.1495705396, -0.5610837936, 0.5592847466, -0.7951955795, -0.4023730159, -0.0124541428, 0.1453403085, 0.091044113, -0.1615889519, -0.463345319, 0.1548578441, -0.1356157362, 0.1183570251, 0.0730530173, 0.3533636332, -0.2992630899, 0.5544204712, 0.7772764564, 0.0727031231, -0.148044914, 0.1630856097, 0.3473058939, -0.5500738621, -0.5445777178, -1.0485569239, 0.8356310725, -0.308000803, -0.3386116624, 0.804677844, 0.5443618298, 0.3487583697, -0.6218254566, 0.8502959609, -0.1785420477, 0.2789047658, -0.8183084726, 1.1128703356, -0.1977449208, 0.2463598549, -0.2534735203, -1.2053771019, -0.3243949711, 0.5365413427, -0.0424357653, -0.1690487415, 0.7605205178, 1.0776615143, 0.3047273457, -0.2799197733, 0.6799666286, 0.3517715335, 0.2952440083, 0.6820225716, 1.1695437431, -0.0090339435, 0.2583518624, 0.0967784375, -0.3873303533, -0.3197112083, -0.9793280363, -1.3527694941, -0.6455515027, -0.1475108415, -0.2793110609, -0.2235498875, 1.0186784267, 0.4417059124, -0.4787968099, -0.698936522, -0.1935328543, -0.0298921708, -0.3106508553, -0.2177996784, 0.1459232867, 0.1592165083, -0.7264332771, 0.4945815504, 0.549767077, 0.0661157072, -0.7873977423, -0.0040112096, -0.0597185791, 0.4366236627, 0.7964039445, -0.000705198, -0.6590464115, 0.2871354222, -0.0329868942, -0.4229560792, -0.3299029171, 0.9908687472, -0.5178799629, 0.3174730241, 0.3165240288, 0.4425677359, 0.5742253065, -0.154339239, 0.8953283429, -0.5014641285, -0.067726396, 0.4102341235, -0.1120262146, 0.444031775, -0.5629595518, 0.1866712868, 0.2434203476, -0.4966837168, -0.6468795538, 0.2255043089, -0.8390348554, -0.3171783388, 1.0700275898, 0.0905054435, -0.2349703908, -0.1268413067, -0.9107025266, 0.0819337741, 0.1338955611, 0.9044275284, 0.762252152, -0.0915102661, -0.2464499772, -0.4080789983, 0.833795011, 0.283969909, -0.9413931966, 0.2982050478, 0.5617339611, -0.1272072345, -0.0329820886, 0.8463317156, -0.0103857461, -0.06186511, -0.1371810138, 0.2315988988, -0.2224578112, -0.4180774093, -0.1458371282, 0.193179369, 0.482470125, 0.5704038143 ]
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.2682323158, -0.8284702897, 0.6909354925, 0.0625394806, -0.0558669865, 0.0844492838, -0.3367516696, -0.4702040553, -0.000092302, 0.9647318721, -0.3827127516, -0.6926832795, -0.7735257745, -0.1770673543, -0.5054125786, 1.091686368, 0.0103634065, -0.2940903306, -0.163612172, 0.1575657427, -0.7219671607, -0.7139738202, -0.2132303566, 0.0337659419, 0.4799344838, 0.5623211265, 0.3279381692, 0.3444371819, 0.5742297769, 0.139194265, -0.0565384738, 0.1529012918, -0.6234234571, 0.1614533663, -0.4842728376, -0.3102474511, -0.4711383879, -0.0130013805, -0.0929252133, 0.4886894524, -0.0580808222, 0.1355814934, -0.2629319429, 0.9436693192, -0.7083417773, -0.3093452454, -1.1409693956, -0.2568082809, -0.3096326888, 0.0520066693, -0.7169706821, -0.5079575181, 0.0004074439, -0.2302651107, -0.0592844263, 0.2941715419, 0.5756380558, 0.0987358242, -0.4194588959, -0.1880229712, -0.3645476699, 0.5454708338, -0.72310853, 0.3046753109, 0.5421814919, 0.4593579173, -0.4134891629, -0.5827202201, -0.4341794848, -0.4766794145, 0.1643472016, -0.3268258274, -0.0668543056, -0.1740786731, 0.2043234706, -0.0540184155, -0.4638911188, -0.0212500002, -0.4906389117, -0.004140574, 0.7281585932, 0.0723919943, 0.5864849687, -0.1448576599, -0.4867580235, 0.2081072181, -1.4077394009, -0.4173950553, 0.3836014271, 0.2236357331, 0.1062550396, 0.641082406, 0.1079521179, 0.8835958838, 0.0151499631, -0.4586653709, 0.0372563414, -0.1698399037, -0.167713657, 0.1004428864, 0.7623417377, 0.6129454374, 0.5054386854, -0.7094925642, -0.0292683076, -0.230249539, 0.5743407011, -0.8850558996, -0.3423244655, 0.1355052441, -0.0359467976, -0.6495811343, -0.1038584784, -0.5143000484, -0.8296058774, 0.3155197501, 0.4541675746, -0.7831839919, -0.1924283057, 0.1888410002, -0.2242255211, -0.1136870235, -0.0197159797, -0.9010027051, 0.2528258264, 0.5884134173, 0.6055697799, -0.2077358812, -0.47568959, -0.3595089018, 0.5057332516, -0.2313617915, 0.7076237202, -0.0986724794, -0.4283241332, -0.1962003708, -0.3643522263, -0.0989064947, -0.8440639973, 0.033262562, -0.7258474827, -0.4735328555, -0.117266573, -0.908719182, 0.0253298078, 0.4022225142, -0.6815221906, 0.366292119, 0.155356884, -0.8316179514, 0.4911687076, -0.5287858844, -0.7635055184, -0.1923475266, 0.1104549542, -0.4511005878, -0.0526182353, 0.1452997923, 0.5185988545, -0.436953634, 0.6410363317, -0.4150207937, 0.0258403569, 0.4556548297, 0.0453041233, 0.7750530839, 0.155866757, -0.4153878987, -0.3228588104, -0.7109401226, -0.0475073792, 0.5035002232, -0.3354280889, -0.6394148469, 0.1192540824, -0.2581578791, 0.2459014058, 0.3055035472, -0.6868474483, 0.2781957686, -0.3929259181, 0.5424789786, 0.5889469385, 0.4651910067, 0.1871427596, -0.2366207391, 0.2983219624, -0.0172909964, 0.2960893512, 0.0336127616, -0.4347483516, -0.2468830794, -0.0422405973, 0.3980647922, 0.5279954076, -0.5731473565, 0.6060475111, -0.1203805432, -0.621483624, -0.1988599002, 0.4563911259, 0.5403217673, 0.6325962543, 0.430983454, -0.2992291451, -0.4695488811, -0.5822633505, -0.7403755784, -0.2739116251, 0.1967661381, 0.2095168084, 0.5929179788, -0.3841225207, 0.9514548182, -0.7129531503, -0.2474547327, -0.3338829279, -0.3461113572, -0.0378549993, 0.5489593744, 0.768386364, -0.4243479073, -0.2537105978, -0.2074059695, -0.8567528725, 0.0346080512, 0.2620503008, -0.0029288416, -0.1301560104, 0.6250964999, -0.6265927553, 0.2662241161, 0.4102929831, -0.6499972343, 0.8707315326, 0.042091988, 0.0768358633, -1.0993394852, 0.0840369761, -0.0826946869, -0.0496270657, -0.8184761405, 0.4375392497, 0.2054279298, -0.0654837564, -0.6568621993, 0.5037556291, -0.0393858701, 0.1975254864, -0.1258086562, 0.1490490884, -0.0092088366, 0.0551741756, -0.2889460027, 0.7845419049, 0.3254477084, -0.2821035683, 0.2999264598, 0.3503139913, -0.8075931668, 0.0769265667, -0.441921711, 0.4316825569, 0.326676935, -0.1778781414, -0.6828245521, -0.2929091156, -0.1018807441, -0.4798033535, 0.2000136822, -0.4155697823, -0.5693753958, -0.2285129279, -0.1402131468, 0.3923429251, 0.5997874737, -0.6760200262, 0.103417173, 0.8662490845, -0.2560704648, -0.5876819491, -0.5929241776, 0.2899619341, -0.4952003658, -0.9057738781, 0.1002042666, -0.0230094679, -0.5827202201, -0.1533016711, -0.0155699095, -0.1096521616, 0.4702575207, 0.4381989837, 0.3551487029, 0.17374596, 0.0463595502, 0.1402963847, 0.065545164, 0.5221288204, -0.5825798512, 0.3940002918, 0.1052951291, -0.3601202369, 0.1387985647, 0.2064300925, 0.5530544519, -0.3253379762, 0.8602971435, -0.1818539053, -0.2660964727, -0.4980948269, -0.6053498387, -0.1303611547, -0.4731682837, 0.3333961666, -0.2888244689, -1.038345933, 0.1898005754, -0.7191771269, 0.0702167749, 0.2057903856, 0.5477612019, 0.0375402756, 0.6505668759, 0.8034952283, -0.448382616, 0.0860971138, -0.1004090309, 0.5820145011, -0.5061050057, -0.3734250963, -0.3887081742, 0.0468080118, -0.0476093814, -0.3256604671, 0.4436044395, 0.3778484464, -0.3682389259, 0.6664301753, -0.1336057484, 0.6626139283, 0.279655844, 0.299066484, 0.4129656851, -0.0860430226, -0.2711553872, 0.1353594214, -0.5049592257, -0.4378580749, 1.5621752739, 0.2302142829, 0.8637919426, 0.1773569137, 0.9567583203, 0.476685375, 0.452067256, -0.7207865119, 0.5053924918, -0.2050399482, -0.7548629642, -0.2240071744, -0.4170592725, -0.6135126352, -0.2191877961, 0.0081565818, -0.9265027046, -0.2720194161, 0.2208468467, -0.3285775483, 0.5241701603, -0.8256287575, 1.0146412849, -0.4775736332, -0.1990353912, -0.2228366137, -0.6809996367, 0.9091837406, -0.5887898803, 0.5521887541, -0.1778652072, 0.5582636595, 0.8572375178, -0.8104855418, 0.8457140326, -0.3812383115, -0.2164325267, 0.3264276981, 0.4556590915, 0.5042972565, 0.2371064574, -0.1518987566, 0.0523556024, -0.41708529, -0.2075615823, -0.5058149695, 0.7523255944, -0.7607001066, -0.9493852258, 0.1119175628, -0.679988265, -0.5654278398, 0.2156987637, 0.2425749302, 0.1241036057, -0.2226523012, -0.3141810298, 0.9007367492, -0.3967598379, 0.0238958653, 0.5983338952, -0.3559142947, -0.3192758858, 1.0107320547, -0.1823196113, 0.4217405319, 0.0878038779, 0.1570955366, -0.042162098, -0.9695541263, -0.4656194746, 0.0113771176, -0.6735727191, -0.5517795086, -0.4010136724, -0.4206240773, -0.4694262743, -0.2966815829, -0.4999789596, -0.365649581, 0.1695767641, -0.3596375585, 0.8259776831, 0.8230183721, -0.0361741073, 0.1227007285, -0.9597361088, 0.3516352177, 0.498260051, 0.2042780071, -0.2996426225, -0.5166603923, -0.2926261723, -0.2992044091, -0.1586433053, -0.997585237, 0.3559567034, 0.0512168407, 0.3321231306, 0.4364326596, 0.2636815608, 0.4765531719, -0.9024184346, 0.6652767658, 0.5040182471, -0.9217447639, 1.0506887436, -0.3331874907, -0.2331258804, 0.8417636156, 0.1915938258, -0.3182855546, -0.8060830235, -0.4935686588, -1.0137987137, 0.2385413349, -0.0240677595, 0.061594259, -0.1461616307, 0.4783307016, 0.3486179411, 0.1454720497, -0.4969192147, -0.287784636, 0.0198506378, 0.0248995703, 0.1844068468, -0.1259686798, -0.3759880364, -0.1722082794, 0.6034671068, 0.1752460301, 0.023080308, -0.1931513846, -0.4731692076, -0.1635527611, 0.3568743765, 0.3049523234, 0.7495649457, -0.3083316982, 0.2622229159, 0.0725081563, -0.717954278, 0.4090889096, 0.0160334818, -0.1674025357, -0.3294946253, 0.2494269907, 0.5432437062, -0.1017523408, -1.2277853489, 0.7601511478, 0.0288797244, -0.2954819202, -0.2514563501, 0.3921550214, 0.2201305777, 0.2187530398, 0.1721836776, 0.2013179213, -0.1932516247, -0.5157848597, 0.5821411014, 0.2903720737, -0.0590816662, -0.1822223216, 0.7948773503, 0.1750764102, -0.1502779871, 0.5865806937, -0.1726302356, -0.560169518, 0.6100671291, 0.7758674622, 0.6194754243, -0.1856258065, -0.0136872409, 0.1293106675, 0.4828148186, 0.0221860036, 0.1272483766, 0.3733086288, -0.8666551709, -0.4561801851, -0.4127370119, -0.3709448278, 0.3381519318, -0.5005586147, 0.0797007531, -0.6134139895, -0.2532070577, -0.028389005, -0.2240469158, -0.3158608079, 0.2308448255, -0.0296656415, 1.319404006, -0.7469390631, 1.2346068621, 0.6088181138, -0.0496210307, -0.8525710702, 0.1427687407, -0.0114243813, -0.8146876097, 0.8070576787, 0.0829524696, 0.0045998204, -0.1100757793, -0.7498424649, -0.6781500578, 0.9867551327, 0.5850614905, -0.8881101608, 0.037396688, 0.2196049094, 0.0538234413, -0.1972503364, -0.5996810794, 1.0626922846, 0.5105040669, -0.3657748401, -0.7952734232, 0.2823269367, -0.2187359184, -0.393448174, 0.5521436334, -0.3308704495, 0.5805794001, -0.8516792655, 0.3091126978, -0.0161884893, 0.3203122616, 0.6957276464, 0.1516290754, 0.4848739505, 0.8910656571, 0.6340286732, 0.1047390029, 0.9006074071, -0.6190485954, 0.2076537013, 1.1388553381, -0.440667063, 0.7567287683, 0.5961936712, 0.011152789, 0.3543599546, 0.0524010696, -0.139164269, 0.9887732267, 0.6002346277, -0.4034255147, -0.1914914101, 0.3272586763, -0.2077501863, 0.1941071153, 0.561380446, -0.410644412, -0.1605230868, 0.3412635624, 0.4783830047, -0.000039556, -0.2936362326, 0.7605237365, 0.3665055633, -0.6068723202, 0.6632225513, 0.386582315, 0.3798003197, -0.5861160755, 0.2316585332, -0.0797497779, 0.1966094971, -0.1357846558, -0.6988829374, 0.251735121, 0.5975098014, -0.0944795087, 0.086830467, 1.2776223421, -0.1531801522, -0.1348725855, 0.6367165446, 0.6399257183, 0.067124851, -0.3311594129, -0.2871862948, -0.1493307054, -0.0819300413, -0.3685904443, 0.7700346708, 0.1636254489, -0.0164557099, 0.6000427604, 0.4998466671, 0.2755579054, 0.2383899838, 0.0434542932, 1.2434421778, -0.8753828406, -0.159279719, -1.0175987482, 0.3249732554, 0.038993787, -0.2182666808, 0.7583761811, 0.393694371, 0.7265039086, -0.145781979, 1.3585573435, -0.4268935323, 0.3289811611, -0.5624919534, 1.2417860031, -0.3322694898, 0.5245453119, -0.2987671196, -0.303008467, -0.3243383169, 0.2298682034, -0.5316585302, -0.3528196812, 0.7040544748, 0.6952812076, 0.2941544056, -0.123821862, 0.4555488825, 0.2810305059, 0.1968938857, 0.8504740596, 1.0285160542, -0.3704280257, 0.5520739555, -0.3627272248, -0.1922546625, -0.0433123596, -0.8419097662, -1.3144487143, -0.2446823418, -0.1523527652, -0.6681414247, 0.541408658, 0.6516376138, 0.6451330781, -0.7953261733, -0.1582228839, -0.2063377202, 0.2422685772, -0.1070267409, -0.1343853623, 0.2751038671, -0.3958848119, -0.0729821026, 0.8983739018, 0.2450987995, -0.2326503545, 0.027632501, -0.0699965283, 0.1284111142, -0.067125842, 0.7062439322, 0.1942202747, -0.3418718576, -0.3238510489, -0.1061738431, -0.0935403109, -0.1871462911, 1.0296865702, -0.7162755728, 0.0771388933, 0.1961933374, 0.8101735711, 0.2344694883, -0.0783355013, 0.6487919092, -0.9368182421, -0.1162201464, 0.0493510552, 0.4115008712, 0.0600928031, -0.3958873153, 0.4333994687, 0.2753415406, -0.5439316034, -0.7825812697, 0.3470606506, -0.6835774183, -0.7397636175, 1.2235540152, -0.4638116062, -0.2807955742, -0.4112134278, 0.1195003912, 0.0003433416, -0.2653309405, 1.1248995066, 0.3246174455, 0.2149514854, 0.2000919431, -0.5884541869, 0.651561439, 0.0231787432, -1.2055239677, 0.3637243211, 0.1436006427, 0.918092072, 0.0384096801, 0.4815211594, -0.3788343072, 0.3303210735, -0.1371388733, 0.2118265182, -0.276984334, -0.5745660663, 0.128474921, 0.4247334301, 0.480001241, 0.2621746659 ]
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.4175177217, -0.876529336, 0.3640807271, 0.2336561233, -0.0345083885, 0.4592424631, -0.5682424903, -0.3405152857, 0.0854261667, 0.7360100746, -0.3158583343, -0.5013812184, -0.5898496509, 0.2635681033, -0.3076678514, 1.1292434931, -0.1656142175, -0.1863303483, -0.4867765307, -0.1414467692, -0.5870518088, -0.284185499, -0.3343530595, -0.8037785888, 0.7075244784, 0.2733661234, 0.5176878572, 0.1388512701, 0.8245990276, 0.1955494583, -0.0725147277, 0.2970162332, -0.3338756561, 0.6096550226, -0.5414874554, -0.1671138555, -0.5507914424, -0.1560306698, 0.4693805873, 0.6919574738, -0.3667659461, 0.60108006, 0.16282776, 0.7380481958, -0.9861954451, -0.0089629367, -0.5472096801, -0.024952963, -0.0926119089, -0.3467181921, -0.54862535, -0.1432587504, 0.0787461624, -0.3144589961, -0.0584798679, 0.2586811483, 0.7116270065, 0.2429456264, -0.1833423674, -0.1546004415, -0.7430505157, 1.0132017136, -0.6493190527, 0.4492420852, 0.4790981114, 0.2750268877, -0.2462257743, -0.8111638427, -0.2304252684, -0.3253754973, -0.2001395673, -0.0285539404, -0.3294765353, 0.0470139906, 0.1956311017, 0.3922019601, -0.9348338842, 0.0264151935, -0.2573766112, -0.067347303, 0.526561141, 0.3671757281, 0.3223308325, -0.104507111, -0.4437156916, -0.1195501909, -0.6643447876, -0.2886108756, 0.1186349541, 0.2589222491, 0.0691117942, 0.6688784361, -0.0416079909, 0.8251027465, -0.3805068731, -0.178639695, 0.2987750471, -0.0716645345, -0.3224043846, -0.4971609712, 0.7889003754, 0.0604937859, 0.1433022767, -0.2128024846, -0.539470315, -0.1091545597, 0.5086800456, -0.7044445276, -0.0903746113, 0.2667579651, -0.3193217218, -0.0641494468, -0.0221032202, -0.9236189127, -0.3083895743, -0.3410630226, 0.5977371931, -0.2752897143, -0.4315693378, 0.1633499861, -0.0893112943, 0.173821345, 0.3845701218, -0.3869210482, 0.3534463942, 1.1227618456, 0.7511882782, -0.5149410963, -0.4011567831, -0.7948573828, -0.3653190434, -0.3306141496, 0.812179327, -0.955060184, -0.2831303179, 0.0662893727, -0.1841576248, -0.2630904913, -0.770152688, 0.5980591774, -0.8656203151, -0.0049594156, 0.2212652266, -0.5327029228, -0.1845211983, 0.3366381824, -0.5921462774, 1.2648339272, 0.307495296, -0.6314666867, 0.1047038659, -0.6219856739, -0.4746355712, 0.4733988941, 0.0544123389, -0.3956777155, 0.0832731649, -0.0223451257, 0.61472857, -0.5276594162, 0.1774328947, -0.3419944644, -0.394446671, 0.2515288293, -0.2620187104, 0.5964915156, 0.3546954691, -0.0339776129, 0.1199676394, -0.5735986829, 0.4197529256, -0.0889674723, -0.401458025, -0.4572895169, -0.2897552848, 0.3408280611, -0.0199271347, 0.1233249605, -0.2731364369, 0.2230298668, -0.3286803365, 0.2132426202, 0.4918361008, 0.0261757746, 0.3585814834, -0.2356413752, 1.1589736938, -0.5513961315, -0.0324451476, -0.187608242, -0.4558606446, -0.5635333657, -0.3406675458, 0.4628698826, 0.5097172856, -0.5770573616, 0.5148302317, -0.2252108008, -0.5981052518, -0.5858907104, 0.3420121074, 0.6555560827, 0.0639865324, 0.2500752509, -0.1671401858, -0.5458469987, -0.7943564653, -0.3150027692, 0.0508336313, 0.016776545, 0.4642609358, 0.8555049896, -0.5724174976, 0.9855125546, -0.5209384561, -0.5181618929, -0.6175642014, 0.2756232023, 0.2889811695, 0.1845990121, 0.2031005919, -0.6769222617, -0.5765478015, 0.2738954425, -0.3347417712, -0.3027919233, 0.3361205459, 0.0765221119, 0.3387270272, -0.012962129, -0.6204490066, 0.4657157063, 0.6966677904, -0.123192139, 0.8322287202, -0.2824496329, 0.2426172346, -0.7661580443, 0.3756960332, 0.1074025705, -0.2452187985, -0.559587121, 0.3757913709, 0.3017621934, -0.0566860028, -0.3350548744, 1.0095331669, -0.3982513547, -0.2897126079, -0.3146992326, 0.1520470679, 0.4193290472, 0.2549052835, 0.0461277887, 1.0261766911, 0.4045429528, -0.5495253801, 0.3588497341, 0.0899629593, -0.5189096332, 0.4025887251, -0.4710002244, 0.3743447065, 0.2415995449, 0.208856672, -0.5531680584, -0.1994273216, -0.0217181835, -0.4436517358, 0.4065327048, -0.3641431332, -0.3863373101, -0.413228035, -0.313637048, 0.3827278614, 0.6914212704, -0.6473987103, 0.8767132163, 0.442445606, -0.2036069185, -1.1179717779, -0.2815811634, 0.3076709211, -0.4443126917, -0.4753875732, 0.1360921413, -0.0630424991, -0.5601441264, 0.0816479176, -0.1364348382, -0.2151231617, 0.0998053327, 0.177530691, 0.2853323519, -0.1439740062, -0.0695306286, -0.3367757797, -0.098236233, 0.0685313568, 0.0426675789, 0.5200724006, -0.2246441543, -0.3829865456, -0.1773599237, -0.0132461162, 0.3773649931, -0.4911844134, 0.2941149175, 0.6205448508, -0.2536726594, -0.9956450462, -0.6630139351, 0.0133828903, -0.4279974401, 0.5195246935, -0.319193989, -0.8617115021, 0.4002508223, -0.2303680778, 0.0204509757, 0.2421603203, 0.7333991528, 0.1081881747, 0.6873579025, 0.4868292212, -0.0130642792, 0.0160530694, -0.4076550901, 0.3880268633, -1.2416731119, -0.2074827105, -0.6461278796, 0.0801121742, 0.0696902573, -0.7135490179, 0.3457600176, 0.0868561938, -0.0048088762, 0.3287521005, -0.4215163887, 0.6226561069, 0.1371115595, -0.2399703264, 0.331397742, -0.0973751619, 0.0421601385, 0.028468335, -0.6191916466, -0.5899841785, 1.2378399372, 0.194382906, 1.2810742855, -0.1635084301, 0.6517093778, 0.7539913058, 0.4585121274, -0.9526478052, 0.5869663358, 0.0067923097, -0.3367018402, -0.1111907139, -0.3654857576, -1.2040451765, 0.4828883708, -0.0978677571, -0.5859110951, -0.3160073161, -0.0587892532, -0.3596149981, 0.2839001715, -0.442940414, 0.8097331524, -0.1419069916, -0.3493013978, -0.3909082413, -0.1754529923, 0.4485529363, -0.2973935902, 0.4215807319, -0.0699701309, 0.0139598139, 0.7401503325, -0.2876543701, 0.522557497, 0.0481191725, -0.1270147413, 0.27966851, 0.2928525805, 0.3865226507, 0.0375228301, 0.0141498055, 0.1844853461, 0.0929684266, 0.0960319489, -0.7569137812, 0.8196959496, -0.4388855398, -0.5344436169, -0.6093979478, -0.6271547079, -0.2062021345, 0.0867722407, -0.3507207036, 0.5656413436, -0.2385260016, 0.3891973495, 0.5986448526, -0.4317212701, 0.1064656973, 0.6130087972, -0.6978206635, -0.3449648619, 0.8611761332, -0.3041497469, 0.308157891, 0.3027128279, 0.3146921694, -0.3340929151, -0.4731032848, -0.3514147997, 0.1250914931, -0.7927503586, -0.6055403948, -0.6664494872, -0.1907452047, -0.2171259671, -0.0026533685, -0.399345845, -0.2232199162, -0.0262149107, 0.2277619243, 0.4590848386, 1.0201365948, -0.081872046, -0.2284564525, -0.7905707955, 0.4091024101, 0.1142486855, 0.4644620121, 0.1103886068, -0.7347719073, -0.3354951143, -0.1981973797, -0.0957473814, -0.424293071, 0.61558038, 0.2921467721, 0.5263510346, 0.0363450199, 0.1144511029, 0.5966636539, -0.6707328558, 0.6756129861, -0.0782281384, -0.6904292703, 0.4012357593, -0.0578130968, -0.1680127084, 0.3017118573, 0.2042544186, -0.557041347, -0.3762745559, -0.5007106066, -1.0021369457, 0.6045973301, 0.0203010179, 0.0937651172, 0.1376412809, 0.2660197318, 0.2900899947, -0.0695375651, -0.4390701652, -0.2734971941, 0.3700312078, 0.0014264947, 0.115379706, -0.1617464274, -0.2149477899, -0.1359273791, 0.8503508568, 0.0673046112, -0.1017603949, -0.0206952803, -0.3889706135, -0.1154920459, 0.6048759818, 0.3089207709, 1.1090062857, -0.345266968, 0.0838439912, 0.224452585, -0.4975273013, 0.0762291774, -0.0666672438, 0.1371712834, 0.0201286506, 0.5361625552, 0.6141580343, 0.312415123, -1.0851137638, 0.4976274371, -0.0281136595, -0.1422900856, -0.340521276, 0.3445048034, -0.0360342413, 0.18441315, 0.5559847355, -0.0245759357, 0.0386358015, -0.3015094101, 0.4124583602, 0.607878983, -0.0325034671, -0.2000906616, 0.3659422994, -0.0327657908, -0.8234604001, 0.2097702026, -0.2360955179, -0.6186872721, 0.5431417823, 0.5170377493, 0.9525113106, -0.2059020996, 0.2076277733, 0.3248611689, 0.1815382689, -0.0944000557, 0.0414158143, 0.1236392334, -0.5107597113, -0.8816379309, -0.9355069399, -0.7090402246, 0.4711153805, -0.9302650094, 0.2106672078, -0.0558723658, -0.018562464, -0.1240225285, 0.1357517391, -0.8535141945, 0.0698532239, -0.2227783203, 0.8638063669, -0.5924399495, 0.865044415, 0.8858928084, -0.2099753469, -0.5502259135, -0.2358070612, -0.245943591, -0.9681135416, 0.9901664853, -0.052414272, -0.2621485889, -0.0931693986, -0.146551609, -0.7400853038, 0.9312004447, -0.0633114353, -0.4285520613, 0.3615959585, 0.1292392313, 0.5514804125, -0.4365511239, 0.3313974142, 0.6780986786, 0.6270067692, -0.1210903674, -1.1445465088, -0.140659228, -0.2272680849, 0.1003209949, 0.2136426717, -0.0869634524, 0.5357455015, -0.2978852391, -0.1781401485, 0.1183345914, 0.3189117014, 0.3741087019, 0.2400911301, 0.4570417106, 0.7686609626, 0.4700596631, 0.0580352694, 1.0811929703, -0.3540785909, 0.7264644504, 1.0529663563, -0.6242814064, 1.0991870165, 0.2794612348, -0.4674840868, 0.2723272443, 0.1650098562, 0.0821085796, 0.1542008668, 0.3064270616, -0.1981612444, -0.3554944992, -0.0079587232, -0.2220540345, 0.3753930926, 0.5017203689, 0.0497084372, -0.5497379303, 0.2460736781, -0.1418544501, 0.1977974474, -0.2309529781, 0.6362072229, 0.2421851158, -0.7593666315, 0.7643377185, -0.0119909039, 0.7667902112, -0.7136656642, -0.2877852023, -0.144038409, 0.3267972469, -0.2533193529, -1.1218867302, 0.2846269906, 0.2829515636, 0.0091168052, -0.3538152575, 1.0555524826, -0.3411049843, -0.2673214674, 0.6089573503, 0.6480702758, 0.2443464249, -0.1065824926, -0.9916618466, 0.4605529904, -0.1902499199, -0.7038880587, 0.5952866077, 0.1466616392, 0.1488355547, 0.8932809234, 0.6230334044, 0.3101354539, -0.217955038, 0.3326580226, 0.6733990908, -0.5215831399, 0.0867124647, -0.7969356775, 0.4542306066, 0.2458788007, -0.148651883, 0.8580878377, 0.6564596295, 0.6311539412, -0.0133785363, 0.9049207568, -0.1630778015, 0.7701663375, -0.3703612089, 0.7421060205, -0.6839010715, 0.3479049802, -0.1802061647, -1.181147337, -0.3915902674, 0.6959239841, -0.149797827, 0.0585142896, 0.7615054846, 0.8920965195, -0.0975443646, -0.1779839396, 0.4010782838, 0.0543439202, 0.3259448111, 0.2728774846, 1.0103203058, -0.1585583389, 0.4377068877, -0.2501577735, -0.1376412213, -0.2306440026, -1.0376268625, -0.9055541158, -0.5946555734, -0.2837142944, -0.5010390282, 0.1018680334, 1.0089985132, 0.4725331366, -0.5851669908, -0.3789521456, 0.3417882621, 0.266356051, -0.1707151532, -0.323192656, 0.4804093242, -0.7125692964, -0.6142406464, 0.6608208418, 0.526306808, -0.6196634173, -0.4809173346, -0.2263606191, -0.1017891616, -0.0923213661, 0.6570070982, 0.2908472121, -0.8505991697, -0.2396281213, -0.0884309486, 0.0526937097, 0.0232727658, 0.8179901838, -0.8383684158, 0.3269720078, 0.3913935125, 0.9144694209, 0.2895039022, -0.0106125651, 0.4184873402, -0.5888774991, -0.2689580619, 0.4990904331, 0.4152089655, 0.2294728905, -0.0371402502, 0.7571668625, -0.0933404416, -0.903519094, -1.2000428438, -0.0116518242, -0.9410206676, -0.3389124572, 1.599470377, -0.2903959155, -0.2556779981, -0.2417159677, -0.115830332, -0.3314906061, -0.1514715999, 0.5488650203, 0.6192119122, -0.0461641103, 0.0317000598, -0.8843469024, 0.4614124894, 0.3122285008, -0.7458050251, 0.4156008363, 0.3811295033, 0.6017728448, 0.102718547, 0.4905518293, 0.1137548462, 0.1884948611, -0.4341668487, 0.2910908759, -0.08364968, -0.4568585455, -0.4538979232, 0.108076632, 0.1031709239, 0.3537839949 ]
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.2549721897, -0.804905355, 0.6593680978, 0.0505949818, -0.198606804, 0.4810726345, -0.3993816376, -0.3725474775, 0.2763235867, 0.3577073812, -0.4276483059, -0.8365299702, -0.9457598329, 0.1651369929, -0.4282376468, 0.8821766973, 0.122247681, 0.0135418847, -0.2347650081, -0.1750467867, -0.2717572749, -0.5213365555, -0.6771073937, -0.4184958637, 0.9441997409, 0.4701032639, 0.5789045095, 0.7075893879, 0.9980021119, 0.3481937647, -0.0689635053, 0.2764851153, -0.9409415126, 0.4178504348, 0.0561183244, -0.6111842394, -0.3550644219, 0.0568075776, 0.9083650708, 0.6364720464, -0.0897859558, 0.0257441346, 0.0749116689, 0.414765954, -0.4280540645, 0.1985381097, -0.726290822, -0.1378530711, -0.7160836458, -0.5790177584, -0.7631467581, -0.5508134961, -0.109354116, -0.3482382894, 0.0967261046, 0.1431256831, 0.8321421146, -0.0392567702, -0.2869173884, -0.2367031574, -0.6415812373, 0.5699108243, -0.5327811837, 0.2667793036, 0.0520715006, 0.387707442, -0.2208067328, -0.391377598, -0.3487866819, -0.0152186658, 0.3933875263, 0.1706817895, 0.0416757166, 0.1109650731, 0.1547635943, 0.2071350962, -1.0318522453, 0.4298969209, -0.2019064724, 0.1629375368, 0.6616120338, 0.0391654, 0.3626694977, 0.185785085, -0.0575768277, -0.2433513552, -0.7751715779, 0.0897450373, 0.45959723, 0.5136293769, 0.4000783265, 0.6745753288, -0.3631915152, 0.687985003, -0.0307789817, -0.2198305279, 0.0267524235, 0.0941472873, -0.1213700771, 0.2878980935, 0.7136976719, 0.4653933942, 0.2782728076, -0.5829336047, -0.3299800754, -0.0941452533, 0.0035531027, -0.8906373978, -0.1310250759, -0.1086061597, -0.2381087691, -0.5175144672, 0.188315019, -0.6854817867, -0.2195734531, 0.1214364618, 0.8371756077, -0.345954746, 0.0032207076, -0.0627408251, -0.1823399216, 0.3928040564, 0.5319452286, -0.836078465, 0.2764440775, 0.8459348679, 1.2224203348, -0.3732648492, -0.37495175, -0.869287312, 0.2819914818, -0.4207148552, 1.1010104418, -0.884716332, -0.8436778188, 0.1389717609, -0.3032096326, -0.2191849798, -0.5347511768, 0.4893198311, -0.7792487144, 0.1577702463, -0.1633872539, -0.8437293172, 0.081001848, 0.3626659214, -0.5251084566, 1.0895044804, -0.0472159348, -0.3824990392, 0.2500710189, -0.649125576, -0.5939641595, 0.4951819479, -0.0746879652, -0.3186226785, 0.1814240813, 0.0817877874, 0.2333769351, -0.2451736182, 0.2240028083, -0.5278847814, -0.7386078835, -0.1110847145, -0.3777677417, 0.5828262568, 0.0729319006, -0.0684845299, 0.1046603993, -0.3971941769, -0.0282612871, 0.287158072, -0.5025084615, -0.4550660849, -0.0732452199, -0.2021160424, 0.1317963898, 0.2231794447, -0.5711321235, 0.8161051273, -0.5197607279, 0.2844367623, 0.9051716924, 0.1393597871, 0.5548199415, -0.4572138786, 0.5649400949, -0.3968634605, 0.1335531622, 0.0601592846, -0.5440490842, -0.7883976102, -0.0902938992, 0.6421963573, 0.2746819258, -0.5590600967, 0.2900847793, -0.782903254, -0.7352672219, -0.4739439785, 0.1462039798, 0.1069582179, 0.2052773088, 0.0669926181, -0.2404199541, -0.0749612525, -0.6126026511, -0.1102258489, -0.2080368996, 0.0520343408, 0.3106477857, 0.2752527297, 0.1946438104, 0.5452446342, -0.723507762, -0.5256789327, -0.4417956173, 0.304525286, 0.2121461332, 0.2197743058, 0.4197352529, -0.5258451104, -0.3562533259, -0.2941645682, -0.5143731833, -0.1441709101, 0.2472635359, -0.1863104105, 0.4561620653, 0.5645886064, -0.4024111629, 0.2124162614, 0.4198716581, -0.0364054777, 0.2135506123, -0.2584380209, 0.3163715303, -0.839384973, -0.3091389835, 0.0562068969, -0.2546970844, -0.1359544396, 0.2831281126, -0.1952119619, -0.320514828, -0.2252972871, 0.5683373809, -0.1373932213, 0.0977283046, -0.261662066, 0.4495648444, 0.0007183891, 0.4745154381, 0.0547818094, 0.6785094738, 0.4010024965, -0.3328634202, 0.2148481756, 0.1320737004, -0.3124871254, 0.5422014594, -0.5207239389, 0.026728075, 0.0113762813, 0.340777874, -1.1345206499, 0.1097901613, -0.3163191378, -0.4489290416, 0.6557067037, -0.3498849273, -0.7822535634, -0.3467502296, -0.5133096576, 0.3422074914, 0.3400252163, -0.500870645, 0.3426360786, 0.463642925, -0.3773491383, -0.1469605118, -0.2940922976, 0.3964587152, -0.2320350707, -0.7757083178, 0.4558869898, -0.2808695436, -0.0020171448, -0.2075627297, -0.078947328, 0.338658303, 0.1250859648, 0.2423291653, 0.1610676795, -0.1720953435, 0.2292252332, -0.104083322, -0.0763734803, -0.2017914504, -0.4351932108, 0.7660931945, -0.0262274016, -0.3527656496, -0.0699771717, 0.4098401964, 0.5523467064, -0.5064660907, 0.6568549275, 0.1799866408, -0.2037338465, -0.4475356638, -0.6545847654, -0.0224115513, -0.4717856944, 0.1912573874, -0.4938747883, -1.0102149248, 0.3671040535, -0.2609218955, 0.0956967771, 0.5381797552, 0.5542864799, -0.2632923126, 1.1013419628, 0.6750693917, -0.3209853768, 0.4537895918, -0.4183561206, 0.3361802101, -0.6176580787, -0.2890251577, -0.9359765649, -0.5897606015, -0.936352551, -0.4206656218, 0.5411408544, -0.0834054202, -0.1780454516, 0.1940971166, -0.3786939383, 0.6474032998, 0.9406552315, 0.0676951781, 0.5108829737, -0.0565544814, -0.3447336257, 0.2349197865, -0.7601174116, -0.2656069696, 1.1456749439, -0.0295502637, 0.8208459616, 0.4998477399, 1.2212314606, 0.5498182178, 0.049892243, -0.9252977371, 0.7972384095, -0.2439720035, -0.1859933883, -0.604840517, -0.4306118488, -0.9389083385, 0.1546922475, -0.0907734931, -0.7825419307, -0.1220661551, -0.552303195, -0.1798029989, 0.3266217709, -0.3502178192, 0.5746079087, -0.1979282498, -0.4038706422, -0.1012270674, -0.3738469779, 0.2364050001, 0.0002844048, 0.0569323748, 0.0707009956, 0.2564403415, 0.9540854692, -0.4713823795, 0.2455613613, 0.0130495345, 0.058607284, -0.033720836, 0.4297702312, 0.6289672852, 0.0577527694, -0.3669759035, 0.1497058123, -0.1608222127, -0.3338958323, -0.6173149943, 1.2836346626, -0.823599875, -0.9645249844, -0.5905547142, -0.4887630343, -0.2365524322, 0.5419903398, 0.2492554039, 0.7001824975, -0.1556061506, 0.3876158893, 0.8780075908, -0.0299495943, 0.6875516772, 0.5460560918, -0.3026952446, -0.2250664979, 1.1377913952, 0.4865688384, 0.0758120194, 0.7750511169, 0.1467307508, -0.4802497923, -0.9486758113, -0.2864356041, 0.2483638227, -0.5131351948, -0.2307635695, -0.6210528016, -0.4208256006, -0.6625438333, -0.3832594752, -0.1695919186, -0.5206423998, 0.1489271671, -0.2409872413, 0.1137522608, 0.7807568312, 0.1685528904, 0.1005289853, -0.5991097093, 0.0693476498, 0.1704742759, 0.7035985589, -0.0344736241, -0.6103378534, -0.1997465044, -0.4516631067, -0.4363258779, -0.6543062925, 0.2156927884, 0.0960027203, 0.7658095956, 0.5144706964, 0.1812452823, 0.541462183, -0.6722455621, 0.5965399742, -0.2130114436, -0.6170777082, 0.6094230413, -0.611585021, 0.3854858279, 0.7261444926, 0.1642053723, -0.415971756, -0.7229282856, -0.6552023888, -0.7147169113, 0.6573232412, 0.1395362616, -0.0686038956, -0.08586137, 0.0463785566, -0.1639396846, -0.0143988142, -0.5791552663, -0.1151849031, 0.2124294639, -0.2880633771, -0.2433187217, -0.3240880668, -0.001409999, 0.0986189097, 0.8886256218, 0.1162633747, -0.0150470603, 0.0316897072, -0.232753545, -0.2255707979, 0.0795008838, 0.7007543445, 0.4143836498, -0.4472901821, -0.0044058319, -0.1672314554, -0.1959447563, 0.21589908, 0.0603215732, -0.4893426597, 0.0357990041, 0.3959532678, 0.3313429058, 0.3173384666, -0.4833236337, 0.5368811488, -0.101674825, -0.2425819933, 0.1436207443, 0.1373032331, 0.1149246246, 0.1882810742, 0.4437225461, -0.300804615, 0.2015660256, -0.3680510819, 0.1754782796, 0.6180180311, -0.3741326332, 0.0697345361, 0.6100277901, 0.4855676889, -0.645694077, 0.5868579149, -0.2080786228, -0.4668175578, 0.391767174, 0.2812148631, 0.6912197471, -0.1280478537, 0.4715194106, 0.1661241949, 0.4198560119, -0.2801543474, -0.0984468758, 0.0457218662, -0.4135788381, -0.1596330255, -0.8431490064, -0.5122901797, -0.0005122418, -0.3594458997, 0.5047975779, -0.2944641113, 0.0019264102, -0.1296785176, 0.4978178442, -0.554253161, -0.0337256975, 0.3443320096, 1.1074699163, -0.5333934426, 0.7999569178, 0.2883163095, -0.527710855, -0.6857843399, 0.0979364291, 0.1401578933, -0.692828238, 0.5406509638, 0.222511977, -0.2118291259, 0.3423264027, -0.2570560575, -0.8896411657, 1.0805733204, 0.1357136071, -0.6116337776, -0.3232967257, 0.1803470999, 0.3036545813, -0.1773171276, 0.3070446849, 0.143417567, 0.4484500587, 0.4521435499, -0.669239521, -0.2251308113, -0.1017517447, 0.0441452116, 0.4376628399, -0.9135655165, 0.361676842, -0.1444569975, -0.1428452879, 0.0756868422, 0.5042113662, 0.298735559, 0.2679849267, 0.3333519101, 0.7703341842, 0.8396645188, -0.3590548933, 0.9416271448, -0.2191511691, 0.4165063798, 1.07374084, -0.7372465134, 0.9351596236, 0.0317146555, -0.0146247083, 0.4987395108, 0.6980734468, -0.2101425529, 0.6300938725, 0.4781947732, -0.1204268113, -0.4537054896, -0.3047352731, -0.2364008427, 0.8519242406, -0.009893572, -0.1583916247, -0.6800275445, -0.1386760473, -0.0381440483, 0.057873968, -0.345395714, 0.9872956276, -0.1591483951, -0.6481659412, 0.2408611029, 0.1833718568, 0.5863367319, -0.7414839864, -0.0212788284, -0.4516284764, 0.0772902668, 0.3678134978, -0.7083887458, -0.2990755141, 0.0040675816, -0.1357480735, -0.4269482791, 0.571668148, -0.4629075229, -0.9198331237, 0.2302016169, 0.3999918997, 0.1048880145, -0.1106002033, -0.2898756564, 0.2300709039, -0.3936940432, -0.2446143925, 0.6913978457, 0.5777631402, -0.1626467705, 0.6806629896, 0.5410558581, 0.1538354903, -0.1629867256, 0.3492702246, 0.6317683458, -0.5151965618, -0.4841411114, -0.9382898211, -0.1542773843, -0.1560178697, 0.0105647715, 0.7116968036, 0.911801219, 0.9043710828, 0.343241632, 0.6147661805, 0.4323965013, 0.1396684051, -0.436689049, 0.9183701873, -0.6236974001, 0.2012555301, -0.3223146498, -1.0225616693, -0.5473822355, 0.1819763035, -0.3112869859, -0.0556309596, 0.525871098, 0.7662806511, 0.2485141307, -0.1872717589, 0.576033175, 0.1772135347, 0.7149977088, 0.7080055475, 0.4164676964, -0.2115017325, 0.9286078811, 0.0424196832, -0.2097547054, -0.5569031835, -0.8177233934, -0.815797925, -0.3959557414, -0.3068368137, -0.2105953842, 0.2919836342, 0.6794577241, 0.5933536887, -0.4778284431, -0.236853227, 0.2520525455, 0.440377295, -0.079854615, -0.2565090656, 0.4211626649, -0.3249913752, -0.957601428, 0.4448444843, 0.7741671801, -0.1530637145, -0.267858237, 0.0404046364, -0.5134891868, 0.289170593, 0.5433136821, -0.0489663184, -0.6428662539, -0.2563081682, 0.2627096474, -0.295786798, -0.0472409874, 0.6809686422, -0.620151341, 0.3844850063, 0.5501878262, 0.6285936832, 0.4325998127, -0.0150363455, 0.4977551997, -0.5271157622, -0.4490593672, 0.1421490759, 0.3514294326, 0.1835142672, -0.2811164856, 0.6298108101, 0.2372455448, -0.6244013906, -0.953656435, -0.1056357846, -1.2183235884, -0.2112583816, 1.1538338661, 0.0128135616, 0.0380972102, 0.2985908389, 0.0356198959, 0.1831765026, -0.5210770965, 0.998924017, 0.9834648967, 0.0372041985, -0.1060010195, -0.2151802629, 0.0936055481, 0.0146898599, -0.515052557, -0.0640732422, 0.3105641007, 0.2066523135, 0.113911733, 0.5832887292, -0.1898342967, -0.1267105639, -0.3208521307, -0.2481460571, -0.2693559527, -0.6236877441, -0.091737479, 0.6364664435, 0.3132493794, 0.0131255742 ]
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.2185429037, -0.8065010905, 0.6051664352, 0.1843708754, -0.1511816233, 0.0762489736, -0.5461207628, -0.13715069, -0.1321412772, 0.4421854913, -0.4685071409, -0.7467122674, -1.0091633797, -0.4007128477, 0.0662817806, 0.9276405573, 0.2548323572, -0.000295447, -0.0050635012, -0.0670989305, -0.5272706151, -0.3229488134, -0.5765631795, -0.2002792358, 0.6013023257, 0.4593662024, 0.9635843039, 0.1598495394, 0.4105621874, 0.0795892552, 0.1052719727, 0.0484130383, -0.7382864356, 0.0893895403, -0.6492806673, -0.6476697326, -0.4388832152, -0.1062040552, 1.0406618118, 1.122974515, -0.259375006, 0.2695377171, 0.0415766574, 0.686940372, -1.1492789984, 0.1329341829, -0.8816319108, -0.2507341206, 0.1799721122, 0.0110498732, -0.4993489087, -0.5360660553, -0.0464832783, -0.4433823824, 0.0234743301, 0.1867843121, 0.6638599634, 0.6120285988, -0.1262903512, -0.1758341491, -0.7228505611, 0.8621270657, -0.8406030536, 0.644510746, 0.492416501, 0.2418414652, -0.5918446779, -0.1527349651, -0.3492863178, -0.130298391, 0.1097693443, 0.2871047258, -0.2053461969, 0.1656492054, 0.136023581, 0.125680536, -0.6550285816, 0.5031303763, -0.1350352913, 0.0417148769, 0.6690658927, -0.3067446649, -0.1566229314, 0.3658519089, -0.0448509492, -0.2696011961, -0.6496021748, 0.0197463911, 0.2394613028, 0.2967858016, -0.1930440217, 0.3793842494, -0.2532121837, 0.8081054091, 0.2115240395, -0.0724788979, 0.0675431788, 0.210390076, -0.2120072693, 0.2038496733, 0.3118477166, 0.2085635215, 0.1601375937, -0.212710768, -0.0924639851, -0.2074121088, 0.1661399901, -0.7181094289, -0.267334342, 0.3830450177, -0.3691704273, 0.05790646, -0.096437946, -0.9085142612, -0.3420585394, 0.1218288243, 0.9157889485, -0.065075241, -0.0835557655, 0.0799969509, -0.0116595393, 0.1622958779, 0.4379621148, -1.0348709822, 0.361340344, 0.6668661237, 0.9191836119, -0.298070997, -0.497630924, -0.8008170724, 0.5212619901, -0.6880874038, 0.6128525734, -0.5464990735, -0.2706964612, -0.2085316628, 0.0898635313, -0.3825707138, -0.5497714281, 0.1094986275, -0.4644332826, -0.2056135982, 0.2785816789, -0.5974336863, -0.1775019467, 0.021143483, -0.2471640408, 0.8662278652, 0.2836871147, -0.435944885, 0.5278787613, -0.2988454103, -0.1661121398, -0.0908618122, 0.1920285076, -0.6949643493, 0.5680930018, 0.2991627455, 0.6308120489, -0.2930642664, 0.2033892423, -0.8426656723, -0.4454606175, 0.2208440006, -0.1500604451, 0.4769702554, -0.1302733272, 0.0689833015, -0.0130861262, -0.7714535594, -0.0506557301, -0.283680439, -0.3176250756, -0.481043905, 0.0855321437, -0.4703872204, 0.0701151788, 0.365000695, -0.5073278546, 0.4565288424, -0.477697134, 0.079457663, 0.6388376355, 0.1477306038, 0.5771926641, -0.2532492876, 0.3183557391, -0.1902010441, 0.0158221778, 0.2354451567, -0.5067828894, -0.5853718519, -0.3305474222, 0.471464932, 0.5814713836, -0.3552818, 0.6684910059, -0.5960807204, -0.7182140946, -0.5106114149, 0.2853975594, 0.2219861746, 0.1550592929, 0.5894436836, -0.3686595559, -0.0960966274, -0.6126989722, -0.0512475446, -0.3023222387, -0.2236724794, 0.1062146425, 0.6191890836, -0.2443457097, 0.585347116, -0.6402073503, -0.0951485708, -0.1545877159, 0.3658361733, 0.322042346, 0.5791949034, 0.3470744789, -0.3637354672, -0.2576853335, -0.0023508777, -0.3738761246, -0.2444570661, -0.2546215653, -0.3008379936, 0.4336391985, 0.5420108438, -0.3922602236, 0.4050343335, 1.2363802195, -0.074003838, 0.3935899138, -0.6449779272, -0.1686129868, -0.9272654653, -0.0459488556, -0.0597383603, -0.196831882, -0.2766393721, 0.0036347399, 0.0110780653, -0.191462487, 0.1112845689, 0.7765799761, -0.5075580478, -0.5459494591, -0.3977973163, -0.016136311, -0.213145256, 0.6546307206, 0.1586185694, 0.4924925864, 0.5983256698, -0.4149129987, 0.2224345058, 0.2198022157, -0.3301632702, 0.5154923797, -0.3060175776, 0.0309334323, -0.033298675, 0.3971262276, -1.1963659525, -0.2130597234, 0.1723348796, -0.3277014792, 0.453214854, -0.8124035001, -0.3402922153, -0.0326488875, -0.0898647979, 0.0681003556, 0.6142635345, -0.5494276285, 0.3382389247, 0.2807052433, -0.5353565812, -0.3192936182, -0.7251684666, 0.0296159666, 0.0221878644, -0.2753891349, 0.3450961709, -0.1189523339, 0.0871486887, -0.2013768405, -0.2323624194, -0.2637418807, 0.2033633143, 0.403729707, -0.1081384644, -0.3234966993, 0.1779915988, 0.6631521583, 0.0251121949, -0.1249460876, -0.2812908292, 0.2805278301, 0.2380797714, -0.3824470639, -0.2411676198, 0.2640147209, 0.3345710635, 0.1336158216, 1.0035529137, 0.5400626659, -0.2659884989, -0.5748557448, -0.5332180262, -0.1891364902, -0.3771388233, 0.4823390543, -0.3071130812, -0.7041512132, 0.4484806061, -0.225558728, -0.2762920558, -0.0275242589, 0.7407853007, -0.2117739469, 0.7572832108, 0.8378489614, -0.1450576931, 0.4155986309, -0.0174726713, -0.0163964015, -0.6951674819, 0.1351318955, -0.4183591008, -0.3377994299, -0.9220151305, -0.4139570296, 0.2968637049, 0.4303756058, -0.233667016, 0.0026079339, -0.0401247032, 0.0786677748, 0.5229328275, 0.3817019463, 0.1535939276, -0.028809946, 0.3244419694, 0.1145103574, -0.7675266266, -0.0240301806, 1.0722618103, 0.3723105788, 0.9740243554, 0.3273588717, 0.6803719401, 0.1179797053, 0.3760541379, -0.8244706392, 0.163337633, -0.3592983782, -0.5585516095, -0.6770380139, -0.4061107337, -0.9319968224, 0.2886054516, -0.2669670582, -1.1018667221, 0.5855569839, 0.3611264527, -0.4086371958, -0.0298042241, -0.7598230839, 1.0068975687, -0.0595071726, -0.5323605537, -0.4533622265, -0.6729841828, -0.0139241321, -0.4391713738, 0.2303745747, -0.1101329774, -0.1738924086, 0.5919620395, -0.1813610792, 0.8399427533, -0.397377789, -0.1194593981, -0.084944047, 0.1134375334, 0.6956940293, 0.1212443411, -0.2563139796, 0.3546731174, 0.138595134, -0.8120472431, -0.877976656, 0.5008512735, -0.7266148925, -0.6774419546, -0.3149695098, -0.8335953951, -0.6489601135, 0.0629027262, 0.0984098613, 0.0427554026, 0.0269519053, 0.3596975207, 0.4476786554, -0.5351038575, 0.4766023755, 0.373660773, -0.0378186628, -0.3196111321, 0.8204923868, 0.3168248236, 0.5547005534, 0.6053163409, 0.3635345995, -0.2254945636, -1.1783291101, -0.398362726, 0.2800358832, -0.4361279905, -0.0220171865, -0.2218118161, -0.1770362109, -0.3944281638, -0.425350666, -0.4349865913, -0.3337880969, -0.0137051577, 0.208232373, 0.3276843429, 0.3289003372, -0.1477836967, 0.8521462679, -0.7906616926, 0.1717161983, 0.2707505822, 0.3446215391, -0.2851302624, -1.0638891459, -0.5773153305, 0.1680222899, -0.0922468752, -0.6671594381, 0.4549076259, 0.5538133383, 0.5837849379, -0.1123943254, -0.1135757193, 0.7486160398, -0.2910854816, 0.4088355303, -0.0907217786, -0.7714803219, 0.4926732481, -0.3807754219, 0.3966713548, 0.4322106242, 0.4863765538, -0.1352365613, -0.4400823712, -0.357765168, -0.6609728932, 0.5254313946, 0.0369169079, 0.0389111489, 0.5683115125, 0.5238675475, 0.2617764771, 0.4417354763, -0.4211978316, 0.144522503, -0.0616248026, -0.245264858, -0.5169648528, -0.3013496697, 0.1549769789, -0.1335107535, 0.6267957687, -0.3998959959, 0.142711252, -0.1830205321, -0.5745687485, -0.1419182867, 0.3142768145, 0.537204802, 0.9927363396, -0.6797465682, 0.0455368795, 0.5032359362, -0.388846755, 0.0282331929, 0.1442887187, 0.0528541356, -0.189928934, 0.436812371, 0.7778599858, 0.4365172088, -0.3295166194, 0.578040719, 0.4576380849, 0.0877111703, -0.0750434697, 0.1927833706, -0.0285932496, 0.5383327603, 0.4631254077, -0.0105562648, -0.1123443916, -0.6474570036, 0.220365569, 0.2902029157, -0.2699536085, -0.2914430797, 0.3530177474, -0.1345185786, -0.0279254057, 0.0219276641, -0.1624653488, -0.0965949148, 0.2541315854, 0.5698276758, 0.6064947844, -0.3981891572, 0.2201959938, 0.1503398567, 0.216627568, -0.3997765481, 0.1703840792, 0.1437105089, -0.9353820086, -0.6800995469, -0.9148526192, -0.7839152813, 0.0711020604, -0.7046352029, 0.1507604122, -0.6802543402, -0.0408563502, -0.0423369594, 0.1101947054, -0.2749275863, 0.3423553407, 0.1568763405, 0.6400017142, -0.8855414987, 1.1486657858, 0.5653473139, -0.3151080906, -0.3306334913, 0.3150581419, -0.371663183, -0.8131181002, 0.6282865405, -0.3002091944, -0.1143611744, 0.4251303971, -0.6260281801, -0.9843946695, 0.7625491023, 0.6915135384, -0.6250613332, -0.0453505628, -0.1240268275, 0.5767061114, -0.3034854531, -0.0493717939, 0.5725976825, 0.4028632641, 0.0353661403, -0.8896613717, 0.0881811082, 0.4020517468, 0.0487280041, 0.1248237193, -0.7379111648, 0.6524258852, -0.146471113, 0.2895740867, 0.1176781803, 0.6388844252, 0.422363013, 0.2551791966, 0.3648427725, 0.400051713, 0.646709919, 0.0449241474, 0.84104985, -0.1147041395, 0.5096893907, 1.3400541544, -0.1210820451, 1.1512022018, 0.4541932642, -0.1914146841, 0.5446053147, 0.6289228201, -0.2484314889, 0.6877602935, 0.1546732038, 0.1116535217, -0.3773259521, 0.1842174679, -0.2050878108, 0.3613744676, 0.6832402945, -0.2372840643, -0.1874762774, -0.0414982028, 0.00633401, -0.1255268455, -0.6190564036, 0.6347001195, 0.2259276509, -0.6286590695, 0.9120371342, -0.126613915, 0.4661138654, -0.2892125845, 0.076810658, -0.1725336462, 0.2696483433, -0.2299447805, -0.6730818152, 0.1964260638, -0.3629532158, -0.0621015541, -0.0312675424, 0.4445248842, -0.4954663515, -0.7467147708, 0.4182636738, 0.5029317737, 0.2941429913, -0.2702858448, -0.6742738485, 0.0649308413, -0.4098353982, -0.3826906681, 0.4622569382, 0.4350761175, -0.1817342788, 0.8159082532, 0.4787130654, 0.6777665615, 0.2938638926, 0.0307040866, 0.4969980419, -0.5374634266, -0.3142839968, -0.6717620492, 0.2106881589, 0.2287006527, -0.2073919326, 0.404437989, 0.3310038745, 0.9331530929, -0.0013340097, 0.8043991327, 0.2219352275, 0.4548085928, -0.837816298, 0.6646031737, -0.6534861326, -0.0020861095, -0.373924017, -1.0120176077, -0.5470000505, 0.7291968465, -0.7844662666, -0.0070375502, 0.6033099294, 1.0281145573, -0.2462798804, -0.4851562381, 0.7475262284, 0.4521730542, -0.0777668133, 0.7394782305, 0.425837934, -0.3651699424, 0.3924170136, -0.1564907432, -0.2872520983, -0.6679109931, -0.8352864385, -0.911806047, -0.2755733132, -0.3801029027, -0.2013242394, 0.660605073, 0.8359681964, 0.7925035357, -1.1055183411, -0.3866356015, 0.047840789, 0.1798829436, -0.2888017893, -0.0420596972, 0.5331372023, -0.2980159521, -0.6596229672, 0.3285796046, 0.3027894795, 0.013292498, -0.0728676543, 0.0162855834, -0.3024526834, -0.0214683246, 0.5123322606, 0.1968158484, -0.410679251, -0.832234025, -0.5602532625, -0.0184144154, 0.1578451693, 0.3296941221, -0.3763842583, 0.2994376421, 0.3520332575, 0.7673196197, 0.7566318512, 0.230545491, 0.7393119931, -0.7912456393, 0.4378500581, -0.1049741581, 0.1914149672, 0.2617901266, -0.2477069497, 0.3934862912, 0.1456715763, -0.6209417582, -0.9217626452, 0.2163875103, -1.011438489, -0.5571140647, 1.2792482376, -0.3506237566, -0.2037129104, -0.1103402004, 0.1159882545, 0.4752862453, -0.5185045004, 0.8880816102, 0.711818099, -0.034057375, -0.4233908653, -0.6585611105, 0.2960451543, 0.3456475735, -0.7143356204, 0.1579522789, 0.3089568615, 0.431463331, -0.159150362, 0.1451696903, 0.4049630463, 0.1878641248, 0.0260102842, 0.0761967599, 0.2730089128, -0.3874818981, -0.4880454242, 0.1792669594, 0.4427052736, -0.1375193298 ]
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.2697323561, -0.833057642, 0.4707916081, 0.1819898039, -0.5766135454, -0.1280873269, -0.3146588802, -0.2799058259, 0.3911189139, 0.5272156, -0.3210826814, 0.0772747099, -0.5190008283, -0.1863146871, -0.4598914087, 0.8808190227, -0.1908307225, -0.3195951283, -0.5069041848, -0.2555860281, -0.0432573333, -0.4446420968, -0.7796078324, -0.1613334864, 0.2864211798, 0.1387524009, 0.8923224807, 0.8673637509, 0.3846369386, 0.4133959413, -0.1569142491, -0.076103434, -0.6642848253, 0.0961738601, 0.2896407545, -0.3481612802, -0.4854531586, -0.2808690369, 0.716453433, 0.6916170716, -0.5303000212, 0.3554219902, -0.0104047032, 0.5224754214, -0.8183426857, 0.0594188794, -0.3126662374, -0.1364485472, -0.3224410117, -0.2646187246, -0.4193337858, -0.1951567978, -0.4106812477, -1.0581811666, 0.2351537198, 0.4111886024, 0.7261021733, 0.8309683204, -0.0089293318, 0.0967063904, -0.7023340464, 0.7377756834, -0.4656533003, 0.3782969117, 0.2353600115, 0.3896704912, -0.2883889377, -0.6419007778, -0.6553707123, 0.3111790717, 0.1465608627, 0.1056600064, -0.2989604473, 0.2451201677, 0.2735163569, 0.394376725, -0.6106838584, 0.051946681, -0.1759784967, 0.052472949, 0.4762815833, -0.2405547649, 0.1242257282, 0.3079046607, -0.3139759302, -0.0800301507, -0.8440846801, -0.360004425, 0.4020785987, 0.0360810868, -0.3390831053, 0.4185936153, 0.0988434926, 1.0819270611, -0.0487774462, -0.0608398505, -0.0206994414, -0.0122342436, -0.4397446811, 0.3260191977, 0.551358521, 0.4892686605, 0.0571353287, -0.3532469273, -0.3245957196, -0.064154759, -0.0049267528, -1.3463089466, -0.1925155669, 0.1345059574, -0.7582061291, -0.028355116, -0.3965625465, -1.031137228, -0.2505573928, 0.0490365513, 0.3796541393, 0.0362133682, -0.1065092534, 0.2375320345, 0.0974654555, 0.1664506644, 0.4372504056, -1.059545517, 0.7645791769, 0.4169672728, 1.1315801144, -0.3064648509, 0.473385483, -0.89598912, 0.2614894211, -0.2152169496, 0.8452341557, -0.4934079051, -0.3449691534, -0.3176068962, 0.058950901, 0.0897954777, -0.6685546637, 0.4432819486, -0.4927285612, -0.0499544218, -0.1845103204, -0.4067305923, -0.2849911451, -0.0250380952, -0.7707083225, 1.3397315741, 0.4555178881, -0.5396622419, 0.3145038188, -0.1666967273, -0.3031052649, 0.1866652668, -0.2991124392, -0.6043491364, 0.3639492691, -0.0455019623, 0.3208675385, -0.5914112926, 0.2430237085, -0.549511075, -0.759337008, 0.0094133196, -0.3061951399, 0.5180567503, 0.3617850542, -0.1537611783, 0.1229008734, -0.9574607611, -0.1258597672, 0.2011446804, -0.3020016551, -0.3414410949, 0.008340436, 0.2276930958, 0.1805832982, 0.3515522182, -0.9719830751, 0.1316715479, -0.1005548686, 0.4791495502, 0.7235656381, -0.5347002745, 0.3670848012, -0.3698167205, 0.530218184, -0.4002849162, -0.0646128058, 0.081139043, -0.4202984869, -0.8047325015, -0.7284104824, 0.0229816344, 0.5956368446, -0.5437919497, 0.291513592, -0.1578056663, -0.2824548185, -0.5276119709, 0.3361862004, 0.3410692513, 0.5885838866, 0.4566134512, -0.2246000618, -0.5533388853, -0.5815014243, 0.3056019247, -0.1406656653, -0.0166095607, 0.5193160772, 0.1632265002, 0.2300004959, 0.7344933152, -0.6034206152, -0.2086790055, -0.3553878665, -0.0055559902, 0.228843689, 0.5484256148, 0.6878684163, -0.5334421992, -0.2948458791, -0.0414478667, -0.6086336374, -0.5227848887, -0.3438917398, -0.3613895476, 0.2292847782, 0.6247242093, -0.6581127048, 0.2493045628, 0.8009742498, -0.3234774768, 0.3048456013, -0.6487392187, -0.1720630974, -1.0369950533, 0.0702570528, -0.0236420203, -0.4236338437, -0.3065213859, -0.2141045183, -0.0231406745, 0.0611722358, -0.2281595021, 0.6395366788, -0.5034456849, -0.4639535844, -0.2064447105, -0.0970466658, 0.0647458732, 0.3417501748, 0.1910083145, 0.9955418706, 0.40881145, -0.3730393648, 0.343378067, 0.1277976483, -0.0233700927, 0.3966236711, -1.0095620155, 0.0207690615, -0.3265577555, 0.0532224774, -1.2059322596, 0.0959931612, 0.1533126682, -0.0782051682, 0.8415474892, -0.3353216946, -0.5656144023, 0.0133484332, -0.2980347574, 0.566640079, 0.7929552197, -0.5984969139, 0.4957213402, 0.2532257438, -0.3162493408, -0.4001556933, -0.8246398568, 0.0066152341, -0.3375992775, -0.4855429232, 0.6116861105, -0.3136486709, -0.2665582895, 0.1172939166, -0.0665944219, -0.1394226849, 0.0768440589, 0.5042780042, 0.5501096845, -0.433137089, -0.3982902169, 0.1469668895, -0.1861946285, -0.1667717099, -0.2719967663, 0.4351215065, 0.1136875749, -0.3700659573, -0.1488834471, 0.4234507382, 0.3987104595, 0.3794163764, 0.8376331925, 0.3691001534, -0.4258361757, -0.0699930713, -0.5529014468, 0.0560100302, -0.4768174887, 0.4289138317, -0.1484212279, -0.8105559945, 0.501986444, -0.0842923746, 0.1209952906, 0.1335710585, 0.5682864189, 0.1563699543, 0.8103991151, 0.7835533023, 0.0840948001, 0.4598895609, -0.1832912266, 0.1150134802, -0.6719409823, -0.218137309, -0.4720194638, -0.6146655679, -0.2682445347, -0.8865858316, 0.0130527774, 0.3147375882, -0.108328782, 0.2153915763, -0.6046164632, 0.3483750522, 0.1093385071, -0.1932045072, 0.2878780663, 0.3041982949, 0.1200589612, -0.1276455373, -0.5410093665, -0.2999556065, 0.8709076643, 0.0150946984, 1.2118797302, 0.2760495842, 0.4121380746, 0.2053330541, 0.5030249953, -0.6226760149, 0.6264775395, -0.3847518563, -0.2641713023, -0.1343270689, -0.5329639316, -0.5564621687, 0.2281048596, 0.0624509603, -0.8281934857, 0.0937833637, 0.2819038332, -0.5535536408, 0.5926006436, -0.5871403217, 0.6567865014, -0.3247300982, -0.8513527513, -0.025487043, -0.4391490817, 0.2011275589, -0.0832149833, 0.0262480211, -0.1717193425, -0.4104251564, 0.8705965281, -0.7863024473, 0.6632137895, -0.3414365351, -0.0474328846, 0.4113176465, 0.3128422201, 0.6179887056, -0.1284065396, -0.111964561, 0.2671850324, 0.0170595758, -0.2650066018, -0.7179707289, 0.6791784167, -0.8511404991, -0.2194161862, -0.3530166447, -0.7712721229, 0.1578836888, 0.0773701891, 0.1579648405, 0.3894924223, 0.1054919362, 0.0345109403, 0.8834750652, -0.2810491621, 0.7212967277, 0.5158393979, -0.0187944043, -0.195029512, 1.1770892143, 0.2515023053, 0.2662474811, 0.379276216, -0.040867351, -0.4958205223, -0.777910471, -1.0469181538, 0.2249515355, -0.3159455061, -0.3053770959, -0.5364241004, -0.1167485714, 0.0104113473, -0.6310213804, -0.6988986731, -0.7286530137, -0.4196495116, 0.1860519499, 0.6299394369, 0.5097586513, -0.0913044214, 0.8072507977, -0.3842921555, 0.332959801, -0.2059368491, 0.450776726, -0.1496867687, -0.9289200902, 0.0746215954, -0.4105927944, -0.1280243397, -0.4869773388, 0.6184248924, 0.5818226933, 0.4590520561, 0.7985979915, 0.0626943633, 1.0202559233, -0.1426405758, 0.3557937443, 0.3497898579, -0.6031329036, 0.0325266942, 0.0099859824, -0.2250393033, 0.3319715559, 0.4714567065, -0.3356024027, 0.1425053626, -0.2450664937, -0.9097210765, 0.5854100585, -0.0551903248, -0.0894168541, -0.0228314176, 0.5683221221, 0.295791328, 0.2062458396, -0.44548437, -0.334939301, -0.2169272155, -0.3038632572, -0.0667999536, -0.4862384498, 0.0994624272, -0.0387957245, 0.5299691558, -0.3824767172, 0.4170802534, 0.2981596887, -0.3534621894, -0.2527991533, 0.1172069833, 0.4134214818, 0.3405225873, -0.5820155144, 0.3263840675, 0.0405520201, -0.4948278069, 0.2088868022, 0.4401242137, -0.4810341597, -0.1792393625, -0.0951665342, 0.6375240088, 0.2659450769, -0.7790150046, 0.2861125469, -0.1907700151, -0.0995357335, -0.1512777209, -0.2035771906, -0.0075128926, 0.0103278328, 0.1252841353, -0.0711593255, 0.0963179246, -0.0330143571, 0.151390478, 0.5466043949, -0.42796579, -0.4570173919, 1.2309693098, 0.0434823222, 0.3005163968, 0.5405020118, -0.4655424654, 0.0517804511, 0.4645849466, 1.0538657904, 0.6277557611, -0.0124038691, -0.096716173, 0.3713492751, 0.2736203074, -0.1858093739, 0.568459332, -0.4435912371, -0.6419335008, -0.9405382276, -1.1981468201, -0.1507225931, -0.0715994164, -0.4996220469, 0.0548062027, -0.7737915516, 0.068216458, -0.4012490809, -0.0239926465, -0.1098637879, -0.1352760047, 0.4773123264, 0.9376493096, -0.8293050528, 0.7276290059, 0.4810788929, -0.128684327, -0.3247518241, -0.7059400678, 0.1938006431, -0.9104757309, 0.5733303428, 0.1583265066, -0.1282947361, 0.0904923677, -0.2192015797, -1.0357494354, 0.9436805844, 0.7672604322, -0.760204196, 0.054507643, 0.0976683795, 0.0355028734, -0.2481088042, 0.6363854408, 0.4045704305, 0.3602356315, 0.6363172531, -0.5540800095, 0.587657094, -0.3907192349, 0.0672835708, 0.3195235729, -0.9031504393, 0.9802351594, -0.4819001853, -0.0595189705, 0.3766585886, 0.9173992276, 0.2360678315, 0.1761606932, 0.4775153995, 1.0037835836, 0.7596328855, -0.102651991, 0.8977113366, -0.4550069869, 0.0930730626, 0.9488551021, -0.4909326434, 0.8342247605, 0.6794568896, -0.2192835361, 0.2701376677, 0.8466951847, 0.0464101546, 0.44378528, 0.516902566, -0.4003659189, -0.3439204395, -0.362619251, -0.2783502936, 0.2791932225, 0.3979935348, -0.0583335944, -0.4347828329, -0.295879364, 0.425427109, -0.235072881, -0.3930449486, 0.3347170353, -0.0263384245, -0.400726974, 0.5888103843, 0.0016380723, 0.9506043792, -0.6114351153, -0.2517224252, -0.2200418711, 0.3534839153, -0.3382364213, -0.4576304555, 0.5118914247, -0.0884276479, -0.1831125319, -0.4947642982, 0.7860609293, -0.4486045241, -0.6336631775, 0.3319232166, 0.3681617975, 0.5295200944, -0.2344166785, -0.4536571205, 0.3859062493, -0.221854642, -0.4753879309, 0.6931871772, 0.1934616268, -0.2430932373, 0.7842374444, 0.9266571999, 0.4776878357, 0.2807702124, -0.0123857735, 1.0488110781, -0.4751724005, -0.3691954911, -0.6973585486, -0.0014589571, 0.026767889, -0.0891695768, 0.5271941423, 0.9103083611, 0.4791114628, 0.4945611656, 0.5540940762, -0.4234850705, -0.035472896, -0.4055887461, 0.7266087532, -0.6507663727, 0.0863866135, 0.177872777, -0.8015172482, -0.2198633701, 0.6233325005, 0.0563975535, 0.1749737263, 0.3157972097, 0.88278687, -0.116452232, -0.1673616767, 0.5009509921, 0.1309383661, 0.0785453096, 0.6284775138, 0.2451872975, -0.2695399523, 0.7557244897, -0.2378004938, -0.4823889732, -0.2406342775, -0.9728881717, -0.6570157409, -0.1882451028, -0.5029730201, -0.2945040166, 0.0378582887, 0.5856276155, 0.9394495487, -0.5605053902, -0.2774163187, -0.0631713942, -0.1373010725, -0.1051675752, -0.1745618433, 0.3050698936, -0.0293697305, -0.5173929334, 0.2636037171, 0.5043907762, 0.1343191713, -0.157423839, -0.3129687607, 0.0565158948, -0.0451810025, 0.5827004313, 0.5299494863, -0.3212954104, 0.0013183954, -0.0787109882, 0.2524968684, 0.1190768331, 0.8687306643, -0.9338632226, 0.3075487614, 0.4606231749, 0.7924607396, 0.6376888752, 0.0379126891, 0.3864597082, -0.6628832221, 0.5729080439, -0.1095545664, 0.6580950022, 0.4085083902, -0.4526239932, 0.3267305493, 0.5240802765, -0.4758981764, -0.8260678649, -0.2453027219, -1.3419139385, -0.0901745111, 1.0837435722, -0.2831843495, -0.6979797482, -0.1820921004, 0.0411377922, 0.3974632919, -0.478700012, 0.5259298086, 0.3461391628, -0.3665724099, -0.421738714, -0.9131761193, 0.308091104, 0.4737038016, -0.7249180079, 0.2524066865, 0.3933199048, 0.0304669812, -0.0970869064, 0.6224635839, -0.1679751426, 0.008112873, 0.3432645798, 0.2762801647, -0.409101963, -0.10912624, -0.1687369347, 0.0570675731, -0.1508351117, -0.3126492202 ]
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.2017240673, -0.3610774875, 0.6688663363, -0.0633704588, -0.342572242, 0.2995778024, -0.2000527978, -0.7039430737, -0.0612018742, 0.2647502422, -0.3304947615, -0.5569500327, -0.8222583532, 0.441506654, -0.4115299881, 0.6615071893, -0.2721832097, 0.2451958358, -0.2580899298, -0.1728061289, -0.4001238048, -0.5399435163, -0.8826873302, -0.5957235694, 0.2137980461, 0.0630865544, 0.1063481048, 0.5642017722, 0.8645781279, 0.3253279626, -0.3231565356, 0.1469876766, -0.477612555, 0.1410583854, 0.1176945716, -0.5016915202, -0.0081886034, 0.135490045, 0.8809986115, -0.0553696342, 0.093405053, 0.0066718026, 0.0381898023, 0.5590330958, -0.6992287636, -0.0806289315, -0.7853072286, 0.2645191252, -0.6186359525, -0.3689168394, -0.4279719293, -0.3834447563, -0.1198130101, -0.0409124084, 0.4240097106, 0.0843887255, 0.5368237495, 0.0529689975, -0.3240932524, -0.8876415491, -0.6941248178, 0.855674386, -0.648907721, 0.27543208, 0.1343389452, 0.6496081352, -0.0941341892, -0.6741788387, -0.4818690121, -0.3021839261, 0.1408223212, 0.4136493206, -0.3790682256, -0.3439921737, 0.2785468996, 0.6347348094, -0.8142759204, 0.3813060224, -0.1369988024, -0.5067594051, 0.6220772266, 0.3831441104, -0.0528154448, -0.109454222, -0.4565393627, -0.1983168274, -0.8050316572, -0.1522277296, 0.5267521143, -0.0472605713, 0.1072763801, 0.5666775107, -0.3415329158, 0.4702609479, -0.3459129632, -0.326505065, 0.4520878494, -0.2504083812, -0.2256027013, 0.0588606112, 1.0070958138, 0.5098313093, 0.2187767923, -0.0733619332, -0.6638053656, 0.2946856916, 0.0941353217, -0.8322709799, -0.1235019788, -0.0136142056, -0.8286237717, -0.6269047856, -0.079783991, -0.4920221865, -0.6167016625, 0.0074380254, 0.4967687428, -0.1509514153, -0.1498517394, 0.1203074604, -0.1627047062, 0.3825549483, 0.2292326242, -0.67576015, 0.4356161058, 0.7384090424, 0.8041818142, -0.5512429476, -0.0115882475, -0.2357190251, -0.1986691952, -0.1928182393, 1.3128561974, -0.2342266887, -0.5341687202, -0.0193246994, -0.1968124807, 0.1004492044, -1.0197125673, 0.9312518835, -0.4695967138, 0.0744159669, -0.2399319708, -0.8384675384, -0.0087236417, 0.4486900866, -0.7259916663, 1.3162177801, -0.0642725527, -0.9569631219, 0.6348499656, -0.2023223042, -0.2273003757, 0.2887018323, -0.2415450215, -0.7952218652, 0.1463375241, 0.1323830485, 0.353022635, -0.3999356627, -0.0851337984, -0.1196828261, -0.6441656351, 0.6658321619, -0.7539801002, 0.5876380801, 0.4243019521, -0.0723374337, -0.1661867201, -0.9323413372, 0.0038528235, 0.2668056786, -0.6272934079, -0.046604, 0.2744380832, 0.2474202216, -0.2029183656, 0.4288140535, -0.6346578002, -0.0536732115, -0.1386414468, 0.3083716035, 0.6063256264, 0.0679785162, -0.0229746047, -0.5013131499, 0.2537414134, -0.0397176966, 0.0391712599, -0.1412378699, -0.3808283508, -0.7193733454, -0.1359584779, 0.3635655046, 0.6517021656, -0.6624805927, 0.2168006897, 0.0608138405, -0.5648790002, -0.2391983569, 0.0970053002, 0.5793977976, 0.3988437355, 0.1068001613, -0.4735209942, -0.736575067, -0.805131197, -0.5876758695, -0.3451429009, -0.1957836747, 0.5402370095, 0.4854093194, 0.0185237546, 0.6183231473, -0.5814583898, -0.0289045162, -0.220605731, 0.1318295449, 0.3968938291, 0.2537136972, 0.5125240684, -0.5874834657, -0.614584744, -0.0387263857, -0.9503780007, -0.459438771, 0.165725112, 0.3002895713, 0.029452147, 0.7603796721, -0.0815052539, 0.4394057691, 0.487616539, 0.1858893186, 0.7352522016, -0.033649046, 0.3045985401, -0.9736154675, -0.2976344824, 0.076371491, -0.428152591, -0.5694233179, -0.0441897288, 0.1698213518, 0.1212313771, -0.6148120165, 0.3370163143, -0.4644221067, -0.5562599897, -0.7398853302, 0.2622647583, -0.1322725266, 0.1486933678, 0.048036091, 1.0600827932, 0.3356841505, -0.4321035743, 0.4339284897, 0.0127095627, -0.7212764621, 0.6762650609, -0.7571107149, 0.210933134, 0.1935923845, 0.1577881575, -1.0666013956, 0.1492705345, 0.5726596117, -0.4654406011, 0.2150954455, -0.2266356945, -0.8479767442, -0.3408646882, -0.5501366854, 0.4108545482, 0.6581544876, -0.6709855795, 0.124533236, 0.3516231179, 0.084875077, -0.3672842085, -0.6370731592, 0.1741349548, -0.4195940793, -0.2327163368, 0.4078625441, -0.1226588264, -0.179863587, -0.214055717, -0.1116155013, 0.090924412, 0.0893399864, 0.1097784564, 0.1278232485, -0.2802804112, 0.1223576292, -0.4077081382, -0.4099740386, 0.1149591431, -0.0520455614, 0.4156028032, 0.0880094394, -0.5068532825, -0.4514758587, 0.0506881922, 0.054311268, 0.0780804679, 0.255921483, 0.6287530661, -0.3552042544, 0.0547697879, -0.7228502631, 0.1048405319, -0.4986076653, 0.0344283022, -0.4488655925, -0.6479591131, 0.3919964433, -0.2812284827, -0.2682216763, 0.4626109302, 0.9231085181, -0.2266991585, 0.6648752689, 0.3920193017, -0.1981888711, 0.529856205, 0.1884196252, 0.0237682611, -0.9417680502, -0.0852004066, -0.7876718044, -0.1598486751, -0.8561295271, -0.2520897686, 0.0988327637, 0.0191872362, 0.0483748727, 0.6222017407, -0.6455847621, 0.6948398352, 0.3240219951, 0.3637972176, 0.5931204557, -0.0072202072, -0.2387069911, -0.0021965406, -0.4849947095, -0.9831550121, 1.4870501757, 0.161111623, 0.8582258224, -0.0835054889, 0.8723621964, 0.5539771318, 0.5793220401, -0.7347053885, 0.6202668548, -0.2746714056, -0.3236569762, 0.2184776217, -0.4783447981, -1.0800489187, 0.2420410514, -0.4218680561, -0.8073456883, -0.0665910169, -0.2386149466, 0.3366034925, 0.2825879455, -0.6584507823, 0.594796598, -0.119370997, -0.1019136012, -0.0616985187, -0.2383668274, 0.3005788326, -0.0397634171, -0.1282666922, -0.540648222, 0.0874135047, 0.7702487111, -0.0499921329, 0.5679894686, 0.112992242, -0.0872712061, 0.4463219345, -0.2249113023, 0.3265329301, 0.0183186997, -0.2611998916, 0.1121854633, -0.1804308444, -0.1948128343, -0.0524468534, 0.5581732392, -0.628631711, -0.2874236703, -0.6220849752, -0.4229108691, 0.0616034642, 0.1229548454, 0.6417495608, 0.545111537, -0.7053002715, -0.1633784324, 0.5631738305, -0.149191916, 0.5658451319, 0.6796061397, -0.1896664947, -0.5034800172, 0.7850701809, -0.1324852854, 0.064356409, 0.777344346, -0.0061214524, -0.3942387104, -0.9688185453, -0.2247914821, -0.0450082682, -0.9180911183, -0.4139294028, -0.3457738459, -0.5314211845, -0.1926438659, 0.0807355791, -0.1279179901, -0.1446311027, -0.2275316715, 0.2237065583, 0.398627311, 0.845389545, 0.1162359193, 0.5236607194, -0.4715308547, 0.3340118825, 0.1461490691, 0.4088498056, -0.1245061532, -0.3672541678, -0.3084627092, -0.2569226623, -0.6144148707, -0.6820118427, 0.1628327966, -0.1101055443, 0.7766361833, 0.3004499078, -0.2212500125, 0.2234043181, -0.4747121036, 0.4283752739, 0.0499831848, -0.9364914298, 0.5638462901, 0.1599941105, 0.2761104703, 0.5248645544, 0.2354315072, -0.4579352736, -0.3711781502, -0.2768112123, -0.3641363084, 0.4405281842, 0.5186641812, -0.2087682039, 0.1765049249, 0.2310270369, 0.2157981098, 0.0478399061, -0.7615751624, -0.0177701749, 0.2351826876, -0.2111658901, -0.1931317896, -0.4069629014, -0.1408193856, 0.3233534694, 0.3381953239, 0.0911815763, 0.4549172819, 0.1167288423, -0.4689851105, 0.2853185534, 0.0900436789, 0.4344789088, 0.335055083, -0.2172264308, 0.191163376, 0.3006934822, -0.7832181454, 0.2604872584, -0.0767014325, -0.0848463848, 0.2142177373, 0.7686727047, 0.591874063, 0.0380310267, -0.5430811644, 0.4820534587, -0.3361132741, -0.3613381386, -0.1520069838, 0.2192622572, 0.082187742, 0.4366382062, 0.355232805, -0.0766107291, 0.4006255567, -0.371983707, 0.20884417, 0.5402109027, -0.0551805533, -0.0154946139, 0.6326814294, 0.0937804878, -0.5907559395, 0.4372955561, -0.342097193, -0.7254987955, 0.9339613318, 0.4514983594, 1.0788103342, -0.0708701909, -0.2011823356, 0.3376150131, 0.1771364212, 0.06114088, 0.3366851211, -0.2794494927, -1.0233092308, -0.0362678617, -0.4645049274, -0.8671937585, 0.0303412843, -0.568790257, 0.4472493231, -0.1965555251, -0.2523293197, 0.3527344465, 0.405689925, -0.6005387902, 0.1158846766, 0.1632520854, 0.9066708088, -0.8844048977, 0.697445333, 0.3816564381, 0.1004957333, -0.1589281708, 0.2092992663, 0.2794105411, -1.0531418324, 0.3827039599, 0.4095463753, -0.2335859239, -0.2299149483, -0.3253972828, -0.3364130557, 1.2562673092, -0.0624157451, -0.5287738442, 0.7422648072, 0.1987677664, 0.6779798269, -0.3887581229, 0.4817942083, 0.5971508622, 0.2871952057, 0.0707219467, -0.7766584754, -0.0716604069, -0.1156533808, 0.1705066115, 0.0947060809, -0.5210050941, 0.787740171, 0.2551024556, -0.6155153513, 0.4385360181, 0.2902441621, 0.5629172921, 0.8106795549, 0.2569360733, 0.5929657817, 0.4368071258, -0.2432646751, 0.7814387083, -0.1925623417, 0.5155618787, 0.8667708635, -0.6524128914, 0.8742604852, 0.2686851323, -0.7376973629, 0.1313576847, 0.8814244866, -0.4335045815, 0.5230098963, 0.4730783701, -0.7095751762, 0.209970206, -0.0332803987, -0.4507319629, 0.350092262, 0.2676567137, -0.4342657924, -0.4635433555, -0.2766362727, -0.3182869256, 0.0806526318, -0.3605111539, 0.8714684844, 0.0683120936, -0.3685786426, 0.5534576774, 0.1792017817, 0.9217193127, -0.3767588437, 0.2808556557, -0.1137811318, 0.2714293003, -0.2559190094, -1.053047061, 0.2802298963, 0.3461493552, -0.1430382878, -0.2236987799, 1.2354388237, -0.1062376797, -0.3104850352, 0.2126359046, 0.6488823891, 0.6026794314, 0.2480041385, -0.6770153642, 0.4899264574, -0.1227795109, -0.1156313494, 0.3346828222, 0.4227083325, 0.1754557788, 0.4925682843, 0.574578464, -0.0596031509, -0.0359828956, 0.2386337072, 0.7612367272, -0.6499328017, -0.1040677577, -1.0269212723, -0.1654866189, -0.1294715554, -0.2637521029, 0.7951021791, 0.9839645624, 0.7863857746, -0.1350157857, 0.5411549211, 0.183713004, 0.5216533542, -0.8393337727, 0.4463941157, -0.3545309007, 0.571318388, -0.2772652209, -0.9618473053, -0.2865435779, 0.6956766248, -0.1090641096, 0.0714794025, 0.7620749474, 0.8258318901, 0.0623481832, 0.0659879893, 0.3313490152, -0.0626371652, 0.3508330286, 0.8659957051, 1.1679612398, -0.7286376953, 0.6196249127, 0.0593105555, -0.1023305058, -0.2906919718, -1.3060827255, -0.7938057184, -0.4699210227, -0.2930568159, -0.11732997, 0.0820688978, 0.2057367712, 0.4623663723, -0.7272257209, -0.3218848109, -0.2135153562, 0.2453006208, -0.1477542222, -0.210813418, 0.2004270256, -0.0837678984, -0.8334396482, 0.4267012775, 0.4499091506, 0.3494002521, -0.1691436023, 0.0592536516, 0.0900798962, 0.0466726124, 0.4704812467, 0.2375611216, -0.3831457198, -0.1742775738, -0.3370757997, -0.4741551876, 0.4487679899, 0.8916995525, -0.9401980042, 0.1910578609, 0.7808766365, 0.5173363686, 0.9888851047, -0.3196826577, 0.1736680865, -0.573830843, 0.0306220446, 0.1305126399, 0.382792145, 0.3565486968, -0.2279945612, 0.7944338918, 0.3544267416, -0.9066483378, -0.8717806339, 0.4185004532, -1.0618107319, -0.0929690823, 0.8794023991, -0.1632555574, -0.054764986, 0.0318663605, -0.2211738229, 0.1396321803, -0.1448023766, 0.5721009374, 0.9369375706, -0.3751279712, 0.0082174186, -0.5867920518, 0.2558046281, 0.0071771457, -0.8949064612, -0.2028435469, 0.0757523999, 0.5357429981, -0.2048075348, 0.9081415534, -0.2633816302, 0.15295057, 0.3317799568, -0.0424492136, 0.2039595544, 0.1594726294, -0.407137692, -0.1009444296, 0.1399908662, -0.4412538707 ]
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.092040062, -0.5924169421, 0.2155848742, 0.4570464492, -0.2304162085, 0.2977258563, -0.3770633936, -0.8188117743, 0.4062474966, 0.5742256045, -0.4577047527, -0.4369439781, -0.5521326661, -0.0445871949, -0.5458779335, 0.9841977358, 0.1338020116, -0.1411149055, -0.0851119384, -0.2142715752, -0.8367729783, -0.2930983007, -0.2636972666, -0.1424970627, 0.2814481854, 0.3372469246, 0.7591751218, 0.4763323665, 0.7468639612, 0.2631502748, 0.0074848179, -0.0292881038, -0.5899313688, 0.6284584403, -0.0876898393, -0.1457104683, -0.2274960726, 0.0614643805, 0.1445061713, 0.3902460635, -0.2667923868, 0.0562361404, -0.2888736725, 0.9038847685, -1.056040287, -0.4026249349, -0.8570247889, 0.1285600066, -0.2251330167, 0.1852550358, -0.8006120324, -0.4607500732, -0.0852321312, -0.2970175445, -0.1289658993, 0.4490437508, 1.0001437664, 0.6236789823, -0.1150508374, -0.0581163354, -0.6273260713, 0.8076124787, -0.6359085441, 0.4275830388, 0.3611249328, 0.5231977701, -0.3827186525, -0.2759182155, -0.1342428029, -0.4776363671, 0.0658908859, 0.0535949729, -0.3499954641, -0.0435792096, 0.3260698617, 0.0198509227, -0.6243792772, 0.4368165135, -0.4906637371, -0.3936434984, 1.042075634, 0.1429729313, 0.4691778123, 0.1243786365, -0.5262432694, -0.0177058391, -0.8241432905, -0.2548340261, 0.5359268785, 0.2915319204, -0.4854777455, 0.5952966213, 0.1823664159, 0.7379466891, 0.1380971223, 0.0908159465, 0.4449693263, -0.0735041872, -0.3342338204, 0.4345494807, 0.9613977671, 0.7940633297, 0.494882077, -0.6645383835, -0.2373478711, 0.4050407708, 0.7796449661, -0.740391016, -0.4426377118, 0.3086047769, -0.3081170917, -0.43313694, 0.1303175986, -1.1015371084, -0.9214136004, 0.2762764394, 0.4491842985, -0.3705762029, -0.2689596117, -0.0553431548, -0.1308803707, 0.2150384635, 0.055778984, -0.9265078902, 0.303308785, 0.7955893874, 0.6049702168, -0.2641057968, -0.2812031209, -0.3747945428, 0.0914699063, -0.4421157241, 0.6960392594, -0.5085684657, -0.3941886127, -0.0546750128, -0.1077608317, -0.1587247252, -0.8591942191, 0.4255236685, -0.3596761823, -0.2592185736, -0.1158719361, -0.4063111246, 0.0702922642, 0.2826201022, -0.6764787436, 0.7662854791, 0.0579033494, -0.6892492175, 0.6546295881, -0.3371139169, -0.7099927068, 0.0766805857, -0.1326042563, -0.6757540703, 0.0615721531, -0.0357046612, -0.0016865989, -0.2081472576, 0.4138403237, -0.4562013745, -0.4853134751, 0.336124599, -0.2095108032, 0.8293743134, 0.1664864421, -0.6148686409, 0.1754439175, -0.7473753095, 0.2314922363, 0.0190841928, -0.0819414631, -0.4278785586, -0.0056684962, -0.0234299581, -0.0219233539, 0.3387395442, -0.650393486, 0.0143752713, -0.4387439191, 0.3890828192, 0.6750271916, -0.0704992861, 0.3222904801, -0.4023492336, 0.5570576191, -0.0735779405, 0.3680171967, 0.3334079981, -0.443487972, -0.5072304606, -0.3249038458, 0.2345236093, 0.6046459079, -0.357780844, 0.6426721811, 0.0200832896, -0.7903955579, -0.5557262301, -0.0216224752, 0.7872367501, 0.3204729557, 0.4855481386, -0.229058817, -1.0080451965, -1.1865069866, -0.5224764943, -0.4553474188, 0.5180689096, 0.000108982, 0.5979565382, -0.3545313776, 0.6268609762, -0.1032465845, -0.1397610009, -0.2687340081, -0.0220786668, 0.1409282237, 0.6318082809, 0.3757631481, -0.507889092, -0.4447620213, -0.1895737499, -0.781303525, -0.4287341535, -0.0083761867, -0.0384180732, 0.4260564744, 0.5336652994, -0.5154201388, 0.3072202206, 0.8907206655, -0.5928294063, 0.783538878, -0.014080449, 0.1075397804, -0.7663639188, -0.0001239784, 0.059203051, 0.0357669182, -0.6472929716, 0.2660211325, 0.2521646023, 0.1008671969, -0.5047943592, 0.4843351841, -0.3236036003, -0.1261421591, -0.1153194234, 0.1989617795, -0.053832408, -0.0433376506, -0.4434198737, 0.9007635713, 0.3628646433, -0.0583422855, 0.3910510838, -0.0099620512, -0.4966616333, 0.4377957284, -0.46138677, 0.173637107, 0.2589032054, -0.1245206222, -0.6758311987, -0.1383264661, 0.2401824296, -0.4228293896, 0.4108614624, -0.187080875, -0.681938231, -0.3456474543, -0.4041683674, 0.5231651068, 0.5865603089, -0.3762225509, 0.1356249899, 0.6966792941, 0.4767031968, -0.8410500288, -0.7758221626, 0.1815718859, -0.5564953685, -0.7547639012, 0.4149979055, 0.2227938622, -0.6351243258, 0.1061319932, -0.2891021967, -0.1067078784, 0.4024915695, 0.5369218588, 0.5095418096, -0.0933378115, -0.1538627297, -0.1393118352, -0.1705567688, 0.26380077, 0.1567217857, 0.4430262744, -0.1399248987, -0.3042930961, -0.1136860624, 0.0079096472, 0.6356161833, -0.1608826667, 0.8693561554, 0.1299739331, -0.5363004804, -0.3296692669, -0.7729572058, -0.1521003097, -0.4678872526, 0.2129615992, -0.0249877404, -0.9160994887, 0.6033902168, 0.3947946429, 0.0176894683, 0.1980800927, 0.480114013, -0.0123256948, 0.7883386016, 0.5229768753, -0.2806544304, 0.1690821797, 0.2234289497, 0.4900852442, -0.8411288261, -0.5276557207, -0.5053352714, -0.4557244182, -0.757268846, -0.0957814083, 0.0287101045, 0.1094645858, -0.4833800197, 0.8269164562, -0.7098914385, 0.6617124081, 0.3060458899, -0.1493332088, 0.023129059, -0.2524367571, -0.1859143525, -0.2433304638, -0.3801736832, -0.3287469447, 1.0868848562, 0.344455719, 1.1012203693, 0.2774219811, 0.932031095, 0.2176730782, 0.3528211117, -0.6102185249, 0.704022944, -0.1085313484, -0.8807809949, -0.1749109179, -0.3778938353, -1.1405433416, 0.2017220557, -0.309084177, -1.326405406, -0.0024834294, 0.0666150898, -0.4492312372, 0.132335633, -0.8414929509, 1.0265442133, -0.4194435775, -0.57982409, -0.2481898218, -0.6186097264, 0.5346338749, -0.1951403618, 0.2572134137, -0.2391971797, 0.1684956551, 0.8444749117, -0.4257961214, 0.6949919462, -0.2472155094, 0.1285174787, 0.2404391021, 0.4356105924, 0.3419705629, -0.1053819582, -0.1198926866, 0.1199207455, -0.1958664209, -0.1143942997, -0.3848417997, 0.9065805078, -0.6632694006, -0.8170760274, -0.5451288223, -0.6015518308, -0.2664723396, 0.193458721, 0.2186206877, 0.0283208489, 0.0175491888, 0.2262024134, 0.4631361067, -0.3725214303, 0.3716332614, 0.4213734865, -0.2806023061, -0.5412647724, 0.7252060771, -0.0326896757, 0.2070218623, -0.0725539327, 0.0608004071, -0.2272691131, -0.7922723889, -0.419975996, 0.3900917172, -0.5501262546, -0.4070062339, -0.3040851057, -0.4330253303, -0.3602527976, -0.372428745, -0.5435699224, -0.0665983036, 0.1558379233, -0.2106523365, 0.3444680274, 0.5149695277, -0.089463003, 0.0539859571, -0.7572582364, 0.082403563, -0.1199976131, 0.439478755, -0.1623773277, -0.562520206, -0.3806094825, -0.2255029529, -0.3834500611, -1.083032012, 0.3168867826, -0.3446773291, 0.7079190612, 0.3640974164, 0.400419414, 0.934908092, -0.4489561319, 0.6394482255, 0.3582666218, -0.9552519917, 0.6124629378, -0.2424280345, -0.223052159, 1.0603893995, -0.0978838727, -0.3045235574, -0.7209735513, -0.7306956053, -0.9838529229, 0.5118669271, 0.2903248966, -0.0525760166, -0.091113016, 0.0626081005, -0.0938848481, 0.3795959353, -0.9365437627, -0.2055566162, 0.0226250738, -0.1640372574, 0.2588113844, -0.2325776368, -0.1206375584, -0.11473988, 0.607776165, 0.4603408575, 0.003759172, -0.0719359517, -0.2172216326, -0.4758509994, 0.1475498378, 0.624060154, 0.5042055845, -0.3410445452, 0.0979895592, 0.0568372793, -0.4669068456, 0.2493357658, -0.1116517708, -0.0676975399, -0.2469150424, 0.6563313603, 0.6759046912, 0.2488657087, -1.0040992498, 0.6316102147, 0.1667263061, -0.081648685, -0.4259676039, 0.3430485725, -0.1144702807, 0.3428403735, -0.0065345829, 0.1745708585, -0.1014439687, -0.5895119905, 0.2692964375, 0.6843934655, -0.5561388731, -0.2903171778, 0.7526190877, 0.2351963669, -0.5355857015, 0.9287988544, -0.2319964319, -0.5593378544, 0.8778865933, 0.7426237464, 1.1339749098, -0.3183228076, -0.0377338827, 0.4972355664, 0.8103854656, -0.1517418921, 0.1539521515, 0.308306396, -0.8501116633, -0.372792691, -0.5199995637, -0.3256818652, 0.2477669418, -0.7740610242, 0.3487589061, -0.6789527535, -0.2347270101, -0.1921458691, -0.1818712801, 0.0264882445, 0.1053302661, 0.2755628824, 1.0173383951, -0.9714265466, 0.8765162826, 0.5320115685, -0.121023789, -0.7520278692, 0.173069343, 0.0886038914, -0.7453523278, 0.552493751, 0.7039599419, -0.0266413987, -0.4329075813, -0.3770806193, -0.5441805124, 0.7042757273, 0.4462481737, -0.8940470219, 0.114836663, -0.1322282255, 0.5412284136, -0.3358442187, -0.0749461427, 0.7822671533, 0.731143415, -0.0929481834, -0.980135262, 0.3252284527, -0.311427474, -0.3935029507, 0.7046433091, -0.555634141, 0.6393722296, -0.5921624303, -0.3197419643, 0.0969262868, 0.1417187601, 0.5936172605, 0.4232984781, 0.5027933717, 0.9865153432, 0.4380310476, -0.2464990169, 0.8245811462, -0.3373546004, 0.2111269385, 1.2120194435, -0.5819590688, 0.779240787, 0.8128229976, -0.1101767793, 0.4871667922, 0.3703147173, -0.6402463317, 0.7769441605, 0.4275077879, -0.0078493301, -0.2893835306, 0.154350087, -0.2942779958, 0.2704696655, 0.3056124747, -0.3850438595, -0.0584162213, -0.2861460149, 0.242798835, 0.3762393594, -0.0186499991, 0.7535094023, 0.1302960068, -0.93309623, 0.5957760215, 0.0155842202, 0.5823304057, -0.2349371761, 0.1804416776, -0.1013088673, 0.1358570904, -0.4646661282, -0.6630788445, 0.6184168458, 0.2669275701, 0.1011700183, 0.11200203, 0.5745209455, -0.0335934237, -0.3247813582, 0.8297321796, 0.1736361384, 0.050701201, 0.1455114782, -0.740658462, 0.4043654799, 0.0112398854, 0.0653781295, 0.2659891844, 0.0498715229, -0.135231182, 0.7903783321, 0.4551073909, 0.2632816732, 0.1531245261, 0.1438680738, 0.73904562, -0.773706913, -0.2410869449, -1.3538321257, 0.5565686822, -0.0770269036, -0.3107325137, 0.7734047174, 0.7484084964, 0.7170994282, 0.1781821549, 0.492105633, -0.1483398825, 0.1352228075, -0.4069838524, 1.0380218029, -0.4418162107, 0.4769860506, -0.4058842659, -1.0190393925, -0.450173527, 0.8408926725, -0.4314161539, -0.0350350142, 0.8472802639, 0.9888675213, 0.3060637712, 0.0748285577, 0.4173260629, 0.3421940804, 0.1352220029, 0.7133716941, 1.1447855234, -0.3465208709, 0.4429883659, -0.3526781797, -0.1331890225, -0.3285540044, -0.9095019698, -1.041154027, -0.2134446502, -0.4820292592, -0.7055209875, 0.4244259, 0.969303906, 0.528737843, -0.8856756091, -0.2921940088, -0.1802367419, 0.095698759, -0.1693447381, -0.1893122494, -0.0455946103, -0.2301939726, -0.3195846379, 0.5338938236, 0.4242854118, 0.0225980561, -0.3291244507, -0.0560617261, 0.1129712611, -0.0680881143, 0.1946709603, 0.196867764, -0.7693101764, -0.575073719, -0.1399124116, -0.2296185791, 0.1202554405, 0.5421226025, -0.6464034319, 0.3338335156, 0.1661287248, 0.666922152, 0.0637353733, -0.0356848873, 0.4388130307, -0.5786424279, 0.348810643, 0.4345045388, 0.4140891433, 0.3367466629, -0.3234723806, 0.565361619, 0.00219503, -0.5877265334, -1.3143578768, 0.2431641072, -0.8846853971, -0.222457692, 1.2224521637, -0.2194644213, -0.3583293855, -0.1449643672, 0.3142106533, 0.1246046647, -0.5018804073, 1.1495376825, 0.6247759461, 0.0781395882, -0.0003078419, -0.4545223713, 0.368480742, 0.4708755314, -0.7464145422, 0.239371419, 0.4094766974, 0.1247023121, 0.243130371, 0.1122089252, -0.2907356322, 0.4189494252, 0.1012396291, 0.0230949372, -0.1553648263, -0.5360418558, -0.1744786203, 0.0317367464, 0.1768345088, -0.1912920773 ]
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.6093233824, -0.4270373881, 0.4066835344, 0.1786799282, -0.3091754615, -0.1638989002, -0.4238762558, -1.0020161867, 0.0571597517, 0.5153727531, -0.6630570889, -0.3323202431, -0.6290113926, 0.0142963808, -0.099253878, 0.6522186399, -0.1019405052, 0.6486459374, -0.1765020639, -0.5697665215, -0.3223868608, -0.5241571665, -0.3456721008, -0.2378109097, 0.3488768935, 0.0617495365, 0.6685768962, 0.5014207959, 0.4743016958, 0.2634460032, -0.0793552175, 0.0499610342, -0.4684992135, -0.0370879881, -0.1580293626, -0.6842135191, 0.2209150344, 0.064139232, 0.3507671356, 0.8187076449, 0.2459145784, 0.5557855368, 0.0071292641, 0.5642391443, -0.983651042, 0.0462423414, -0.5617699623, 0.3863119483, -0.0918957815, 0.0747694373, -0.5140470862, 0.2203266919, 0.5319282413, -0.5465948582, 0.2130018324, 0.0253154431, 1.0423846245, 0.3273472786, -0.613702774, 0.172831893, -0.7975168228, 0.9434899092, -0.1339607686, 0.5372984409, 0.372482121, 0.3688463569, 0.2921726704, -0.3855314255, -0.4347782433, 0.0264607426, -0.2680112123, 0.1344033778, -0.1533742547, -0.3352347314, 0.4370407164, 0.147971943, -0.425015837, -0.0033174697, -0.5279642344, -0.4633789062, 0.5944487453, -0.1173891798, 0.4656811059, 0.1373429447, -0.3221075833, 0.0264980085, -0.6167989373, 0.1686571091, 0.0313810743, -0.1080422476, -0.2745085955, 0.3349463046, -0.262491703, 1.099916935, -0.3222259283, -0.224874109, 0.0741924569, -0.2040372789, -0.3620887399, -0.1039689928, 0.3754321337, 0.8646556139, 0.6877740026, 0.0935012773, -0.0132980542, 0.2794075906, 0.2097723633, -0.6178375483, 0.0096126264, -0.3881751895, -0.8423641324, -0.1432581097, -0.1304496229, -0.3150616288, -0.6177715063, -0.4474036098, 0.2872174084, -0.077138491, -0.1900378168, -0.2237544656, -0.3059753478, 0.6412935257, 0.4750858247, -0.5818228126, -0.1041582227, 0.2287381142, 0.5777769685, 0.1475102752, -0.4952905476, -0.5331255198, 0.0367921777, -0.5150653124, 0.8147730827, -0.6680474281, -0.2673727572, 0.2329621315, 0.1082012355, 0.3173806965, -0.5123984218, 0.1981631964, -0.4484060705, 0.3579956889, -0.7251946926, 0.3242861629, -0.3106416762, 0.3926972449, -0.4316293895, 0.5838531256, -0.1382268071, -0.8432692289, 0.9924055934, -0.2352155298, -0.5697693229, -0.0058367136, -0.5294443369, 0.1664767712, 0.3774755895, 0.5758988857, 0.1740253419, -0.1623211503, 0.0023786391, -0.294817239, -0.4166142642, 0.1317543536, -0.3168041408, 0.7205476165, 0.3885928094, -0.3248825073, 0.1204191074, -0.6753562093, -0.1613312066, 0.3841928244, 0.0674150214, -0.9778507948, 0.1200971529, 0.2179847807, 0.3639270067, 0.0742156208, -0.4096388519, -0.09277343, -0.0523473211, 0.1926272213, 0.7362716198, -0.5353246927, 0.6288756132, -0.0125845717, 0.3052521348, 0.2949911356, 0.3382556736, -0.3232049346, -0.3430584967, -0.8863157034, -0.2231066525, -0.2229521126, 0.354799509, -1.0725449324, -0.3451787233, -0.0597363114, -0.2157742381, -0.7037354112, 0.076165013, 0.4772405326, 0.5919665098, 0.1315791607, -0.6120266914, -0.5190497041, -1.3090786934, -0.4797894061, -0.2089419514, -0.1768387705, 0.3776772618, 0.2580817938, -0.1516970694, 0.7065160275, -0.5332987309, -0.3761622012, -0.2183349282, -0.1709720045, -0.0459261052, 0.1396394372, 0.7115155458, -0.8824642301, -0.5510960817, 0.1217824593, -0.9379583001, -0.0524635874, 0.0303276349, -0.382417351, 0.3430020809, 0.4450637996, 0.0868006796, 0.6893912554, 0.5183769464, -0.6742756963, 0.224863708, -0.307633847, 0.2399741858, -0.6222765446, -0.1611855626, 0.5240927935, -0.2565086484, -0.3712726533, 0.2230498493, 0.1461449116, 0.1436956376, -0.4981153607, 0.3702857196, -0.6167716384, -0.3876335323, -0.0966040939, 0.1006045863, 0.0576271676, 0.2677085102, 0.704446435, 0.5139632225, 0.8206089139, -0.4036999345, -0.1438798755, 0.0745737553, -0.6288059354, 1.014975667, -0.3629751503, -0.0348750576, -0.6979852915, 0.2251992524, -0.7718407512, -0.0996661708, 0.1613592952, -0.2230139375, 0.1556757838, -0.3598482609, -0.053330712, -0.4168407619, -0.011985112, 0.5994809866, 0.7652910352, -0.7192943692, 0.5082925558, 0.3068174422, 0.2749236822, -0.9166737199, -1.017401576, 0.0027745208, -0.132540077, -0.8461740017, -0.0905307382, 0.17094405, -0.8416554928, -0.0964330509, -0.1262634695, -0.1888157576, 0.1287422925, 0.1758706421, 0.3986393511, -0.4523842037, -0.1852332801, -0.3074123859, 0.1969516724, 0.0514034666, -0.558526516, 0.3556308448, 0.0448844135, -0.3541559577, -0.2312988788, 0.4641256928, 0.6890592575, -0.7163017392, 0.8229855895, 0.715908289, -0.1837381423, -0.0958871394, -0.5639694333, -0.0687265545, -0.3935694396, 0.5264046788, -0.3940979242, -0.5781183839, 0.5166484118, 0.3398970962, 0.1175483242, 0.2294364274, 0.4801377654, -0.1461354345, 1.0230193138, 0.9898246527, 0.0002664172, 0.6370541453, -0.2557820678, 0.2615711093, -0.6646466255, -0.3391959071, -0.4062968493, -0.4726644754, -0.461266309, -0.5446137786, 0.3872005939, -0.3319253325, -0.0809002742, -0.3194832504, -0.4459167421, 0.8113982677, 0.5053044558, 0.0451676995, 0.4372124076, 0.2234449238, 0.022301944, -0.4219491184, -0.5177893043, -0.4525509179, 0.8842755556, 0.2794949412, 0.8177865744, -0.1110104248, 0.3967172205, 0.0575820282, 0.591023922, -0.8235551715, 0.3707813919, -0.1539361775, -0.6648331285, 0.0424527302, -0.0089573385, -0.6481897235, 0.8668757677, -0.1330158263, -0.7974904776, 0.1553339958, 0.2624818683, 0.1275496185, 0.2318376005, -0.8399306536, 0.8379593492, -0.205405429, -0.460470736, -0.2028407305, -0.7372502685, 0.6239443421, 0.2045337707, 0.7808435559, 0.1143628135, 0.03597169, 0.4505940378, -0.2427903265, 0.8474858999, -0.3489740491, -0.225593403, 0.0611383878, 0.1716071814, 0.0248205978, -0.0479377992, 0.2778593898, 0.3402527273, 0.0561849512, -0.7772980332, -0.4195913374, 0.5323583484, -0.8783257604, -0.6625946164, -0.3337071836, -0.5939007401, -0.2212601751, 0.0994031578, 0.4296573997, 0.5898025036, -0.1325982511, -0.1110771075, 0.4999273121, -0.4527236819, 0.4042705297, 0.6445376873, -0.5517215133, 0.2187537849, 0.6239068508, 0.2181199044, 0.420480907, 0.116185829, 0.056436196, 0.086838074, -0.3618064225, -0.6043350697, 0.0906981453, -1.1679891348, 0.3963028789, -0.4780398011, 0.1711942106, -0.0557048768, -0.3440792561, -0.1950835884, 0.0760582909, 0.3105440736, 0.0596230067, 0.0642789677, 0.8652492166, 0.058032643, 0.2067994624, -0.5526211262, 0.2316513509, 0.3047423065, 0.2887407541, 0.1200218573, -0.4620865285, -0.3963687718, 0.0803427175, 0.0327210277, -0.7011178136, 0.4464910626, 0.0380949192, 0.59525913, 0.493994534, -0.084826, 0.8131107092, -0.5529450774, 1.0309699774, 0.117564708, -0.8259320855, 0.5307025909, -0.0927020013, 0.5445193052, 0.2533946931, 0.3204797208, -0.7383342385, -0.6911839843, -0.3128118217, -0.6952968836, 0.7499750257, -0.2220789492, 0.2771243453, 0.1589040905, -0.1113549843, 0.1549065709, 0.0076110908, -1.0553497076, -0.4353329241, -0.2920326889, -0.0464305878, -0.2121146023, -0.0943598971, -0.3465976417, -0.4004815817, 0.2493855953, -0.2952349186, 0.0245061796, 0.592015624, -0.7540854812, -0.2975279391, -0.0826837867, 0.5895197988, 0.9451149106, 0.213234663, 0.2684087157, 0.2617129982, -0.5814875364, -0.1876714677, -0.2040078491, -0.3620412648, 0.079610467, 0.6714838743, 0.9736016393, -0.2427349389, -0.7676448226, 0.4023988545, -0.5513397455, -0.0474511907, -0.3249609768, -0.2496444583, -0.2719059885, 0.4506282806, 0.5801725388, 0.3319725692, 0.1419065744, -0.8085988164, -0.2461093068, 0.6263090968, -0.7490618825, -0.2217923552, 0.5488219857, 0.1621573865, -0.053188242, 0.4254367054, 0.0804866403, -0.7490891218, 0.7715460658, 0.4876934588, 0.4684737325, 0.1767744124, 0.2622522712, 0.1765758991, 0.5770943761, 0.1658855379, 0.2152592987, -0.2725942433, -0.9093105197, -0.672365725, -0.5711160302, 0.0273690987, -0.1148372665, -0.6624735594, 0.1721543819, -0.2096155584, 0.1422148794, -0.0333134457, -0.4861615002, -1.0637376308, 0.4692225456, 0.838409543, 0.7686647773, -1.0713465214, 0.8463674188, 1.0061728954, -0.2232715338, -0.706592381, 0.3088183105, 0.0149424756, -1.1859717369, 1.1147947311, 0.3972828388, -0.0337031335, -0.4353148043, -0.6731004715, -0.6848771572, 0.6987487674, 0.2629931569, -0.3517315984, 0.2492775321, -0.2216616273, 0.613722682, -0.4583784342, 0.4009696245, 0.5636709332, 0.3464761376, 0.085275948, -1.0414298773, -0.1222927719, -0.1755268425, 0.0874213725, 0.17191571, -0.6735793948, 0.4493891895, -0.4892736971, 0.1310846359, -0.3136788607, 0.5590672493, -0.0499967821, 0.4430415332, 0.5531994104, 0.0799435005, 0.524248302, -0.1387898326, 1.3153505325, -0.0670550242, -0.0253756996, 0.8101395369, -0.2021264881, 0.5250284076, 0.7682855129, -0.0323003754, 0.4375964701, 0.6220420599, 0.2191616595, 0.6895015836, 0.2317203283, -0.1171163172, -0.3484713733, -0.5007542968, -0.3829900026, 0.6839278936, 0.1392232478, -0.5553719997, -0.084233582, 0.2674188614, -0.1344376057, 0.220923543, -0.6245798469, 0.6828077435, 0.0343081728, -0.7796547413, 0.6222251058, -0.3071931899, 0.8181207776, -0.4296725392, 0.219884187, -0.2162355185, -0.0053279228, -0.1885039657, -0.6831824183, 0.2657269835, 0.0815946832, -0.2805387676, -0.2912691832, 0.6555639505, -0.3735029995, -0.5115234256, 0.4056024253, 0.5558120012, 0.0539775826, 0.0587333664, -0.2768308818, 0.2619798183, 0.3020751774, -0.1666846871, 0.3720009029, 0.432711035, -0.5244559646, 0.4299630225, 0.349950254, 0.081733413, 0.0264465995, 0.2227656096, 0.4187383354, -0.5013591051, -0.4845192432, -0.9342196584, 0.5330712199, -0.2778186798, -0.1304958612, 0.4395601451, 0.1400014758, 1.3045682907, -0.3429442942, 0.9523644447, -0.0307706073, -0.1572106183, -0.4263986349, 0.8095229864, -0.977098465, -0.134852916, -0.1967661381, -0.871630311, -0.2459231615, 0.9084326029, -0.6751279831, -0.2790776193, 0.6188530922, 0.3927226365, 0.1176117733, -0.0692331046, 0.5449818969, 0.2547468245, 0.0937343985, 0.2753893435, 1.2608042955, 0.0699116141, 0.4584583938, -0.3696079254, -0.2774361074, 0.1007191539, -0.7477686405, -0.8980758786, -0.4940434396, -0.1693068296, -0.2083359212, -0.2976707816, 0.848793149, 0.8690448999, -0.432361573, -0.1306094825, 0.4751830399, 0.2168612927, -0.0646820217, -0.1489557028, -0.1364072561, -0.2018992901, -0.8602603078, -0.1300375015, 0.3737460375, -0.0126444446, -0.4486453533, 0.0500023179, 0.3551667333, -0.1150593832, 0.8200773001, 0.0651733577, -0.9313760996, -0.2788949907, 0.0429738387, -0.0670846924, 0.1046807319, 0.7895823717, -0.7666206956, 0.7639113665, 0.3633276224, 0.3641156852, 0.5174577236, -0.4898756146, 0.973295629, -0.4598951042, 0.8226414323, -0.0646734387, 0.6733157635, 0.461306721, -0.2976543009, 0.3844221234, 0.3240458965, -0.1774637699, -0.764333427, 0.4398965836, -0.6571415067, -0.5038949847, 0.922413528, -0.0132688703, -0.5340428352, 0.0319465362, -0.69457829, 0.0481885821, 0.0346943475, 0.5343307853, 0.7967987657, 0.2474308163, -0.1061991155, -0.8418157697, 0.3108122349, 0.6944852471, -0.3240429759, -0.1839265972, 0.8221902251, 0.2591500878, 0.0483725108, 0.498819828, 0.0411350019, 0.2923133671, -0.2221230865, 0.0669034347, 0.3911413252, -0.1396031231, -0.2841568887, -0.0790647045, 0.4011242688, -0.1963503361 ]
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.2175343484, -0.7158933878, 0.2986465096, 0.4417141974, -0.2562722862, 0.1839413047, -0.151937753, -0.1784307808, 0.4506222308, 0.0600314178, -0.5970376134, -0.374462992, -0.3528716266, 0.2942381501, 0.2301656008, 0.9590942264, -0.146751821, 0.5549110174, -0.017644424, -0.1607345343, -0.615018189, -0.7916245461, -0.4176211357, -0.536694169, 0.6414731741, 0.5188507438, 0.5907841325, -0.0252228752, 0.1726309806, 0.108494781, -0.2120249271, -0.0663922802, -0.7264357805, -0.0734545887, -0.0178929865, -0.6778595448, -0.2029657364, 0.295232147, 0.1316556782, 0.5813862085, -0.229747653, 0.5269758105, 0.1913157254, 0.313883841, -0.5579791665, -0.4147226512, -0.3802515864, 0.1168609709, -0.0987015739, -0.5155048966, -0.3072372377, -0.6496772766, -0.1558264494, -0.5362877846, 0.4969320595, 0.0730595961, 0.5742313266, 0.4784380496, -0.8365107179, 0.0470541082, -0.9117126465, 0.6408939362, -0.4246477485, -0.0169385727, 0.7284012437, -0.02336118, -0.2747929096, -0.2660121918, -0.4413991868, -0.3044934273, 0.1577162594, 0.5974295735, 0.2664794922, -0.3514122367, 0.594137609, 0.0718028992, -0.4253726006, 0.221194163, -0.7441539168, -0.4285445809, 0.391410172, 0.3333340585, 0.1780560166, -0.1454764307, -0.5827290416, 0.067073904, -1.0174976587, 0.357714057, 0.5058275461, 0.1843931675, -0.3930416703, 0.5387792587, -0.1279778332, 0.3226172328, 0.4465555251, 0.0583960861, -0.0932284296, -0.4506100118, 0.0986824557, 0.1906482875, 0.4331924021, 0.8323959708, 0.6382997036, 0.2206775248, 0.0923602805, 0.4428949654, 0.222382918, -0.7006560564, 0.0263309143, 0.0367662534, -0.4528814256, -0.5561779737, -0.0970650986, -0.4602217674, -0.3939842582, -0.3038921356, 0.1389689595, -0.1118903533, -0.1380602121, -0.2312405407, -0.2589581907, 0.6542754769, 0.2437682748, -0.8905472159, -0.091270797, 0.4202969372, 0.7337870598, -0.2640535235, -0.0671754181, -0.0993732214, 0.0859752819, -0.6110776067, 0.8184062243, -0.7339447141, -0.9698868394, -0.1370592564, 0.0939582288, -0.0539977662, -0.3957866728, 0.4348479807, -0.5057868361, 0.2378730774, -1.096065402, -0.0954268724, 0.1426021457, 0.2546163201, -0.429279834, 1.0180338621, 0.164362058, -0.5509754419, 0.9782438278, -0.0090934876, -0.4297759533, 0.127482757, -0.3795457184, -0.0151656447, 0.0769371092, 0.183123216, -0.0924723372, -0.2588279843, 0.3336536288, -0.8323609829, -0.7978308201, 0.4215476513, -0.4059043527, 0.831107378, 0.4898324907, -0.3977009952, -0.0380520485, -0.1116078123, -0.3721357882, 0.2223432958, -0.304361999, -0.301401794, -0.0963595137, -0.3442372382, 0.2318532318, 0.0896572098, -0.477699101, 0.2687748075, 0.1501262784, 0.4700883329, 0.7745884657, 0.164552629, 0.5189635754, -0.6967650652, 1.064599514, 0.033825431, 0.2902662158, 0.1356375366, -0.4511429667, -0.2850258052, -0.0041968818, 0.2527675629, 0.6712738872, -0.9116068482, -0.0795800462, 0.1948336214, -0.5476632118, -0.4556989074, -0.0814367756, 0.0892305598, 0.8118329644, -0.0898103341, -0.2038234174, -0.1982089877, -0.8456206918, -0.3324832916, -0.2075680047, -0.054263588, 0.2310531437, 0.5422181487, 0.2452727109, 0.8151785731, -0.2992638648, 0.0903117508, 0.0933634341, -0.0276217833, 0.1649433821, 0.3928183317, 0.8632819653, -0.7424158454, -0.301656425, -0.3941437006, -0.5793338418, -0.451041013, 0.2341418564, -0.1540976316, 0.062114384, 0.3319158852, -0.3078292012, 0.675203681, 0.4515124559, -0.2039479911, 0.7801887989, 0.0271518137, 0.56512779, -0.8581428528, -0.0122154132, 0.1398434937, 0.2443874776, -0.7553775907, -0.3417161107, 0.3155106604, -0.2207901925, -0.5167363882, 0.5560802221, -0.2386525571, 0.1283611506, -0.060635861, -0.0363258608, -0.0749029964, 0.2764394581, 0.1309910715, 0.9253329039, 0.199999854, -0.7689461112, 0.0043891198, 0.1767493933, -0.1250990331, 1.0120192766, -0.7072651982, 0.4375453889, -0.4433142543, 0.96943295, -1.0758640766, -0.4430764318, 0.4986979961, -0.4824337065, -0.2632901371, -0.1628091037, -0.0191145074, -0.5832765102, -0.494746089, 0.6124668121, 0.6791330576, -0.2572675347, 0.41598472, -0.0484722592, -0.1848462522, -0.537078321, -0.6514057517, -0.1700869501, -0.8832976818, -0.4803114831, 0.2671729624, -0.2198616713, -0.4044140279, -0.4462867379, -0.2554565072, 0.4295780361, 0.2791313827, 0.1114162579, 0.3907515407, -0.0114646396, -0.1630663872, -0.1099909991, -0.0471562743, 0.0187133271, 0.0500248298, 0.4409473538, 0.3665616512, -0.5578893423, -0.399395436, 0.1842217743, 0.2639277279, -0.107829608, 0.5602665544, 0.4675451517, -0.184831053, 0.2169547379, -0.5700745583, -0.5392628908, -0.4499847889, -0.3344772756, -0.3261177242, -0.9949183464, 0.9220910072, 0.0619429536, -0.1837370545, 0.1373446137, 0.8957027793, -0.1361953467, 1.0349001884, 0.1124031916, -0.0649666265, 0.6886297464, 0.0565512031, 0.1214393079, -0.7814770937, -0.3411032557, -0.6420685053, -0.7575950027, -0.7026157379, -0.2413416207, 0.3818913996, -0.0827302113, -0.4028269351, -0.3661259115, -0.3254392147, 0.4090604484, 0.5001001358, 0.2031477988, -0.078483969, -0.0274136346, -0.1803091764, -0.138808921, -0.8566349745, -0.3865824044, 0.7879407406, 0.1113836542, 1.1879246235, 0.1587775797, 0.4432628751, 0.2386959195, 0.7887884974, -0.6061628461, 0.1534140855, 0.0624192879, -0.9993489981, 0.152924031, -0.1239272282, -0.9286535978, 0.2935234308, -0.0015213283, -0.7102357745, 0.7651484013, 0.5494792461, -0.6553345919, -0.2046254575, -0.8867948055, 0.3428159058, -0.456507206, -0.5752691627, 0.2142644376, -0.7307466269, 0.5035072565, -0.1311572939, 0.3484935164, -0.3722489774, 0.1438377351, 0.5824179649, -0.1556963027, 1.2249568701, -0.6145085692, -0.2372051775, 0.1709735394, 0.1448421627, 0.289218843, 0.1508656591, -0.2933770418, 0.0510626957, 0.2111445516, -0.597826004, -0.352098316, 0.5065897703, -0.8458451033, -0.9461569786, -0.364901036, -0.4105790257, -0.1214838699, -0.2718817294, 0.5338795185, 0.4138864577, -0.2992523909, 0.1379265189, 0.4698357582, -0.4008876979, -0.058172103, 0.7150309086, -0.0318769217, -0.393802315, 0.1589783877, 0.1870224178, 0.4821791947, -0.2512558997, 0.2953240275, -0.2266045958, -0.0046311952, -0.1778125018, 0.1862487495, -0.6096762419, -0.0764371008, -0.0145610794, 0.160437122, -0.9128888249, -0.3101752996, 0.3702836335, -0.1085416973, -0.2250210494, -0.2701968849, 0.4404222965, 0.7049347758, -0.0095598856, 0.4408482611, -0.2746452689, 0.1180423722, -0.019886611, 0.011898539, -0.0330238007, -0.7654160261, 0.1502519101, 0.0912812799, -0.0238187052, -1.1052076817, 0.0718438104, -0.1944834441, 0.5559964776, 0.5839981437, 0.3703249097, 0.8165924549, -0.2509786189, 1.1124788523, -0.2339525223, -0.461594671, 0.5158129334, -0.5287706852, 0.5783363581, 0.4864813089, 0.5777269602, -0.6854425073, -0.4822286367, -0.6626957059, -0.7619819045, 0.6948419809, -0.1589766294, 0.2266205251, -0.3242917955, 0.6314496398, 0.1220821515, 0.1983735263, -0.5898656845, -0.1296893358, -0.2632141709, -0.0737151429, -0.051398281, -0.424854666, -0.6265413761, 0.0212862473, 0.2431854904, -0.0436402187, -0.0736210793, 0.4623622596, -0.1947601736, -0.2664141059, 0.1793291271, 0.7953315377, 0.7576930523, -0.1744731218, 0.0780702233, 0.6320763826, -0.3453354537, 0.5868510604, -0.2600431442, -0.3837383986, -0.4851566851, 0.3845779896, 0.5609987378, 0.1491565257, 0.1433511078, 0.1677839905, -0.2364457399, -0.3539225161, -0.4278512597, 0.1048692167, -0.0622764342, 0.0273385756, 0.2212198228, -0.3368614018, -0.1742372811, -0.5041897893, -0.2799851596, 0.4367038906, -0.3987067342, -0.3944727182, 1.065879941, 0.3592671454, -0.4008927047, 0.6927002668, 0.1612966061, -0.5895194411, 0.7889493108, 0.7324739695, 0.2669704854, -0.6548555493, 0.3927817047, 0.3053200543, 0.387581557, 0.0375877433, 0.4581410587, -0.2024615109, -1.2793929577, -0.5508632064, -0.3307938874, -0.3361377716, -0.0725004077, -0.981777966, 0.0872337967, -0.2643104196, -0.6504936814, -0.3300723732, -0.1709153652, -0.805422008, 0.0678070784, 0.202577427, 0.9778879881, -1.3490222692, 0.6201839447, 0.8426311016, -0.2890869677, -0.97664994, 0.062581569, 0.5354560018, -1.0221165419, 0.665029645, 0.0151181035, -0.1099602282, -0.1820839942, -0.7132243514, -0.9230938554, 1.0062758923, 0.2668213248, -0.1603665203, 0.3528979421, -0.067383267, 0.4559576809, -0.144976899, 0.3356799483, 1.0000061989, 0.7371703982, 0.193456322, -0.6772351861, 0.1312638968, -0.3070786297, 0.1719897538, -0.0933619365, -0.9965940118, 0.5650137663, -0.3086674809, -0.0801094249, -0.0780652016, 0.4792909622, 0.9319905639, 0.4390770793, 0.768114984, 0.1150779948, 0.774025321, -0.3402664959, 1.4015853405, -0.3560193181, -0.0265795514, 0.537566781, -0.8940688372, 0.2702499926, 0.6254754663, -0.21634534, 0.2737977803, 1.5365993977, 0.1220708415, 0.4382141829, 0.2232223153, -0.1171249151, -0.0767170489, -0.4316090643, -0.4117738605, 0.3602840006, 0.3828936815, 0.1532773376, 0.1175080538, -0.0791751891, 0.3905026317, -0.262442559, -0.0619348399, 0.599601984, 0.2982999086, -0.9687339664, 0.4091337025, -0.2162946612, 0.6838995814, -0.7335321307, 0.3601906896, -0.7940052748, -0.2631093264, -0.3426572382, -0.3071176708, -0.1073382795, -0.0333695225, -0.1241544336, -0.2825531363, 0.7335447073, -0.3447398543, -0.2210956067, 0.1519462764, 0.4313177764, 0.1092199162, 0.3708608747, -0.5238286853, -0.1327265799, 0.1123579144, -0.4785827398, 0.2156481594, 0.4984455705, -0.5058817267, 0.5300351381, 0.8271436691, 0.3944733441, -0.1585300267, 0.5951852798, 0.417865634, -0.7030312419, -0.6107853055, -0.8573074937, 0.3811983168, -0.0001427436, -0.3183332086, 0.8890595436, -0.1029945984, 0.5044671893, 0.0483909771, 0.6983380914, -0.0880002305, -0.0711931363, -0.623457253, 0.3799533546, -0.4217193723, 0.1181176677, 0.0037515122, -0.8678183556, 0.0614364147, 0.4035137892, -0.77210778, 0.6220135093, 0.728228271, 0.9540480971, 0.4304077029, 0.1366253048, 0.0436787866, 0.0219035503, 0.2436623871, 0.0449555665, 1.4126167297, 0.5718281865, 0.1306356192, -0.0741180405, -0.4873105884, -0.1868322492, -0.8303862214, -0.517542243, -0.2042266279, 0.0011653281, -0.4178614616, -0.1422961205, 0.954523921, 0.3251924813, -0.6163332462, -0.1953262687, 0.9077326655, 0.0129967006, -0.2740104198, -0.2014075965, 0.1470327973, 0.0201524086, -0.675944984, 0.1652273238, -0.0005178131, 0.1906152517, -0.2439408004, 0.1325062811, 0.0930250734, 0.0521744229, 0.3826541603, 0.0050937971, -0.6619528532, -0.3748428822, 0.0873393118, 0.108041659, -0.1104550362, 1.0800420046, -0.5567573309, 0.0418319553, 0.4285615087, 0.0303815734, 0.2588021457, 0.6051957607, 0.8748924136, -0.6996532679, 0.5008118153, 0.0517305061, 0.4829165637, 0.4029254615, -0.6089423299, 0.5900555253, 0.2118050307, -0.7808942795, -0.6489295959, 0.3592758477, -0.5453398824, -0.1618168056, 1.4443348646, 0.2667712867, -0.3057944477, -0.001756695, -0.3438648283, 0.3203447461, -0.4990083873, 0.9861763716, 1.0012187958, -0.1357609183, 0.2014140338, -0.8653668761, 0.3900953233, 0.7662824988, -0.3357867002, -0.2741318941, 0.4884161949, 0.5392670035, -0.1805855036, 0.9493989348, -0.0757555291, 0.2284270376, -0.321972698, -0.0679440573, 0.3420610428, 0.1318400204, -0.7143835425, -0.2842825055, 0.1154157296, 0.2293539345 ]
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.2829670012, -0.5442960858, 1.1356011629, 0.321241349, -0.0685188919, 0.2031005025, -0.6568008065, -0.4016728997, 0.211974889, 0.327113688, -0.2260725051, -0.7074648738, -0.8324490786, 0.153827101, -0.129355222, 0.6558988094, 0.2937494814, 0.2203522027, -0.355761826, -0.0377515331, -0.4298121035, -0.6993386149, -0.4044588208, -0.6040716767, 0.7445447445, 0.485937655, 0.8400143981, 0.2909384668, 0.3545129597, 0.3405148685, -0.3488161266, 0.0878578424, -0.1677696556, 0.1165063009, -0.4442735314, -0.69230932, -0.6467087865, 0.1606801748, 0.2668702602, 0.8106631041, -0.2620571256, -0.0195652395, -0.019139817, 0.5390066504, -0.5749955773, -0.0131998537, -0.6313228607, 0.0504326001, -0.2187193334, -0.0185931399, -0.6617097259, -0.5637917519, 0.1066560298, -0.5764383674, -0.2107281238, 0.266392678, 0.6405269504, 0.2656823993, -0.7137177587, -0.2295026928, -0.9862390757, 0.741145432, -0.8180812597, 0.2678177655, 0.6486417055, 0.5525256991, -0.0902216956, -0.6127682924, -0.4679409862, -0.6467374563, -0.0720731243, 0.1802413315, -0.1396259964, 0.0933989659, 0.0890385434, 0.0443434864, -0.1586389393, 0.5170307755, 0.2464479357, -0.2004797161, 0.6165965796, 0.1390019059, -0.0869388357, -0.3021095693, -0.3612136543, 0.2467461377, -0.4055022001, 0.286585927, 0.6440351605, 0.1500691772, 0.0822901279, 0.6516622305, -0.662460506, 0.6651772857, 0.4393553138, -0.3158811629, 0.2229433358, 0.0568756573, -0.0657767877, -0.164129287, 0.9594694376, 0.6095243692, 0.4365035295, -0.3494459987, -0.2364185601, -0.2564021349, 0.4535239935, -0.5794828534, 0.0068170787, 0.4533413053, -0.3436003923, -0.3784298301, 0.314055115, -0.4631389976, -0.7057652473, -0.4548217654, 0.3666021228, -0.320946753, 0.341899395, 0.2813355923, 0.2908156812, -0.2481737435, 0.7283507586, -0.850897193, 0.3066045642, 0.714941442, 0.4774561524, -0.361261636, -0.36081025, -0.6829928756, 0.0171929039, -0.1743555963, 0.8442035317, -0.6477476954, -0.4665900171, -0.2240561992, -0.3793151677, 0.1524453461, -0.6131786704, 0.6648216248, -0.6328545213, 0.0700322837, -0.5657278299, -0.6027135849, 0.0536010042, 0.3443922698, -0.1674006432, 0.4485509992, 0.0897209942, -0.6526277065, 0.5767244101, -0.0891517624, -0.1885967255, 0.1385002583, -0.3637769222, -0.2426700741, 0.2636913657, 0.2037255019, 0.5683755279, -0.2728070617, 0.6598184109, -0.8251922131, -0.707583189, 0.6538951397, -0.4108248949, 0.2724259794, 0.2386962473, -0.3339722753, 0.1819684058, -0.6732885838, 0.0106900753, -0.1359234452, -0.7545856237, -0.1198129579, 0.1404099315, 0.0974825174, 0.0718582273, 0.5348058343, -0.8518545628, 0.0461367741, -0.5351772904, 0.0365292579, 1.1660817862, -0.1659992039, 0.4196766019, -0.3773203492, 0.5102803707, -0.1960053742, -0.0094774226, 0.1452252716, -0.5920279026, -0.7417244911, -0.0742720515, 0.6120920181, 0.5818305016, -0.2011737227, 0.8943915963, -0.5067104101, -0.4151049852, -0.2174698859, 0.3217038214, 0.5037063956, 0.388484925, 0.0483827516, -0.5585998893, -0.3330853581, -0.999162674, -0.5811425447, -0.3324102461, -0.3499390185, 0.6340433359, 0.2232989818, -0.4874785841, 1.2018364668, -0.4030757248, -0.0309248008, -0.114697881, -0.1389642954, 0.2515047193, 0.1907941103, 0.4375682175, -0.5917298794, -0.6290535331, 0.2270577997, -0.704017818, -0.216996327, 0.0170350429, -0.0699157566, -0.1727124006, -0.0522584319, -0.536958158, 0.3335793018, 0.35764727, -0.5742970109, 0.651915729, -0.4285577536, 0.1926993877, -0.7531710267, 0.1075915769, 0.1176721156, -0.633256495, -0.4591647387, -0.0081631029, -0.0125040375, 0.4143552482, -0.2227037251, 0.8251556158, 0.1101286411, -0.2770400345, -0.452683419, 0.2351707369, -0.0180033445, 0.3678102791, -0.1733118147, 0.3881246448, 0.1965714544, -0.4851046503, 0.3810493946, 0.3576671183, -0.4938983023, 1.0735310316, -0.6376180053, 0.4141865671, -0.0246598367, 0.3467565775, -0.6767905354, -0.4863443375, 0.2538213134, -0.3921453059, 0.1821988672, -0.165168643, -0.4932147861, -0.149714902, -0.2533862293, -0.1802570224, 0.35900563, -0.651974678, 0.6068865061, 0.2231656462, -0.1964819133, -0.5177602172, -0.5935080051, 0.2930457592, -0.0904368833, -0.7848861217, 0.318325609, -0.5067874193, -0.597661078, -0.3217804134, -0.2069621384, 0.1956946552, 0.4479336143, 0.5763186812, -0.048197981, 0.0772468895, -0.0527477302, -0.069745332, -0.19881396, 0.027873544, 0.0077582481, 0.4714399874, -0.3006667793, -0.749347806, -0.6135559082, 0.0314156562, 0.4096030891, 0.0923455805, 0.5519216657, 0.4343368709, -0.1797509491, 0.0232002269, -0.940710187, -0.0050413287, -0.4902530611, 0.0179556273, -0.6013655066, -1.1269441843, 0.4612675309, -0.1626818627, -0.0718776286, 0.1656453609, 0.7421604991, -0.5945361853, 0.8630126715, 0.2874440253, -0.1869026273, 0.2541217506, 0.3521602154, -0.090445362, -0.9139264822, -0.4112284184, -0.4793910384, -0.4713740051, -0.5076526999, -0.1468602121, 0.2626372874, -0.2052645683, -0.5022408962, -0.1186448261, -0.0558765307, 0.2217503786, 0.6777544022, 0.4932613671, 0.5982401371, -0.1309883893, -0.288862139, -0.128178373, 0.0044940962, -0.9241917133, 1.1522650719, 0.4644771814, 0.8841318488, 0.2335323244, 0.752258122, 0.4105728865, 0.3609013855, -0.7286683917, 0.4666570127, -0.2588968277, -0.4135999084, -0.1841297597, -0.3870352805, -0.7062764764, 0.575393796, -0.2731639147, -1.1299879551, 0.276992321, 0.3881992996, -0.6771841049, 0.2411158979, -0.6811389327, 0.5888164043, -0.5204916, -0.2979531288, -0.138657853, -0.6961584091, 0.3458746076, -0.4066138268, 0.3804141283, -0.2957989872, -0.1803554446, 0.373218298, -0.4164501429, 0.987444222, -0.2243648022, 0.155248791, -0.249186337, 0.2545771301, 0.7461968064, 0.3753704429, -0.4723035693, 0.0156152071, -0.318020165, -0.2288394421, -0.7816491723, 0.9107310176, -0.8238840699, -1.0011228323, -0.4141418636, -0.2439094186, -0.6333418489, 0.0311885606, 0.0902727917, -0.1916964948, -0.3221839368, 0.2975927293, 0.447378397, -0.281603694, -0.0211933479, 0.6566034555, -0.303583622, -0.3756817281, 0.6889442801, -0.2152744085, 0.0540416464, 0.4062607288, 0.6330571175, -0.1246293187, -0.7836720943, -0.3275158107, 0.0527672991, -0.6960423589, 0.1110709235, -0.6275867224, 0.1823931634, -0.0172982085, -0.2692969441, -0.4186287522, -0.2656936646, -0.3506360948, -0.1504458785, 0.0880756155, 0.666906476, 0.3146060407, 0.553407073, -0.4545353651, 0.3798558712, 0.5975407362, 0.4652998447, -0.3609354496, -0.8708419204, 0.0627394617, -0.0641162097, -0.0471991487, -0.5924073458, 0.2018433362, -0.0161926635, 0.6600572467, 0.50026685, -0.1784227341, 0.4682809114, -0.4906624258, 0.5729935765, 0.0688101277, -0.908223927, 0.5857691169, -0.3448860645, 0.313360095, 0.896722436, -0.0058412789, -0.5523678064, -0.3521601558, -0.4431958795, -0.5725244284, 0.6860132217, 0.0545175448, 0.2680706084, 0.3240176439, 0.7165783048, 0.1947192252, 0.5419376493, -0.5701351166, -0.246943891, 0.053036008, 0.0021798275, -0.4006845355, -0.5582824945, 0.0873354375, -0.1181107834, 0.3887522817, -0.2709982991, -0.0514103398, -0.0434123911, -0.0274251308, -0.0668235049, 0.5654731393, 0.3916374743, 0.6768840551, -0.5904877186, 0.1615469456, 0.2248920947, -0.2056977749, 0.2996918261, -0.0282080639, -0.4168335199, -0.2590770721, 0.2022983432, 0.8086829782, 0.5039942861, -0.7138927579, 0.800319016, -0.2914625108, 0.0044557182, -0.5057454705, 0.101188764, 0.34185341, 0.305003196, 0.0576987974, 0.4955333173, 0.1123203263, -0.2616292834, 0.0979296416, 0.3943630457, -0.3818177879, -0.3814605772, 0.898267746, 0.1179186478, -0.3569661677, 0.2942146063, -0.2340620905, -0.1885875612, 0.2377322912, 0.1231826395, 0.83078444, -0.2118146867, 0.1520164758, -0.0032738182, 0.1061148718, -0.20041354, 0.112538293, 0.1029550582, -0.9614260793, -0.1396417171, -0.9253008366, -0.8359262943, -0.2242887616, -0.4706912935, 0.169007659, -0.8042758703, -0.6265487075, -0.1158956066, 0.0371048599, -0.6911189556, 0.4434296489, 0.1783271879, 0.6651552916, -0.4208445847, 0.7946265936, 0.769767344, 0.1110795364, -0.5518117547, 0.1089866981, 0.128708005, -0.6444633603, 0.6874308586, 0.0718401149, -0.1918296367, -0.4350624382, -0.286062628, -0.6214997172, 1.258914113, 0.7843003273, -0.8915379047, 0.1427747458, -0.0082651153, 0.7424235344, -0.3705149293, 0.4447695017, 0.6246573329, 0.749469161, 0.3095450103, -0.9104343653, -0.0707825124, -0.0944114327, 0.2452292591, -0.4892408848, -0.8567244411, 0.5526067615, -0.322008729, 0.219647035, 0.0393780097, 0.7093433142, 0.5017853379, 0.3096457422, 0.6594609022, 0.4611217082, 1.0187058449, 0.0818824172, 1.4173446894, -0.3049015403, 0.1958151311, 1.5691930056, -0.5096871853, 0.8371025324, 0.3500835001, -0.3987832367, 0.5461659431, 0.6626360416, 0.0008805761, 0.1702365875, 0.1398466229, -0.3120813072, -0.6443019509, -0.0665440261, 0.2470187694, 0.5527502894, 0.0516304485, -0.4734653831, 0.1650669724, -0.1429565251, 0.0433532819, 0.4953912497, -0.1143005341, 0.4927579463, 0.266784519, -0.6235953569, -0.0180470068, 0.5979725718, 1.0102256536, -0.5271027684, 0.5677961707, -0.170925349, 0.0711067915, -0.3418601453, -0.7391412854, -0.0296826083, 0.1338812262, -0.0828989148, -0.2843199372, 0.801084578, 0.1255217493, -0.512911737, 0.3764248192, 0.6991635561, 0.0554662906, -0.3135088086, -0.4306015074, 0.0217685476, 0.0901220441, -0.7277344465, 0.569942832, -0.1422649622, 0.0231423974, 1.0885847807, 0.5572675467, 0.2259449959, 0.0021502387, 0.3824939728, 0.7259085178, -0.5467429161, -0.286783278, -0.9507852793, 0.3630048633, 0.1110775396, -0.2471281141, 0.7362139225, 0.5204117894, 0.7249535322, -0.1169007644, 0.9332731962, 0.1426046491, 0.4443949461, -0.395434916, 0.578071177, -0.3900574744, 0.6931527257, -0.1051546335, -0.740711391, -0.2281908244, 0.4591624141, -0.5237419605, 0.4236210585, 0.3266812265, 0.4593476653, -0.0197643973, -0.1664951146, 0.7222049236, 0.2441408038, 0.3693530262, 0.4463711083, 0.7738240957, 0.0568255298, 0.2360731959, -0.5295110941, -0.1730923951, -0.3548851907, -0.5457918048, -0.9590371251, -0.1332953423, -0.1474997848, -0.2214033604, -0.0901719779, 1.1008430719, 0.7631988525, -0.749096036, -0.2477415204, 0.3399762213, 0.1367368698, 0.2212347388, -0.1195568666, -0.008916798, -0.1899904609, -0.9251869917, 0.5234527588, 0.341134429, -0.1285822242, -0.2773665786, -0.3529992104, 0.2762200534, 0.0190111175, 0.4747706652, -0.0593465976, -1.1071509123, -0.7290926576, -0.1767045259, -0.3037728369, 0.335206002, 0.451197952, -0.7314637303, 0.7381231785, 0.1522349417, 0.4410550892, 0.6628678441, 0.5120343566, 0.6365676522, -0.6576278806, -0.1244868115, 0.2853128314, 0.4998783469, 0.4347870052, -0.6668950319, 0.299636066, 0.1883521676, -0.6106093526, -0.3977590203, 0.3593357801, -1.280831933, 0.0624262057, 1.3650056124, -0.5132197142, 0.0319980867, -0.1307002455, -0.2474634796, -0.3061422408, -0.6568172574, 0.71154356, 0.802164495, -0.3117496669, 0.0143325189, -0.5042469501, 0.1303848773, 0.3000371158, -0.8093115687, -0.2351967543, 0.3175959885, 0.6864728332, 0.0929067358, 0.7618148923, 0.1051391363, 0.1030799076, -0.463655889, 0.0580009632, 0.0005628566, -0.0013447168, -0.5232039094, 0.255202651, 0.8447890878, 0.3573259413 ]
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.6583871841, -0.2419130653, 0.3361894786, 0.5540936589, 0.0682713017, 0.7764111757, 0.1837372631, -0.4282325506, 0.4321610332, -0.0065113218, -0.5359595418, -0.1082092896, -0.6073560715, -0.0429838225, -0.1878602952, 1.2386131287, 0.0900765583, 0.0878986865, 0.2112104595, -0.5267475247, -0.9710341692, -0.3767496049, -0.823803246, -0.2030871958, 0.6387607455, 0.8668044806, 0.8082441092, 0.4196589887, 0.8918943405, 0.3853408098, -0.0392116122, -0.0691747218, -0.7153929472, 0.33326599, -0.0554000735, -0.5592624545, -0.39583987, 0.1688351333, 0.8078209758, 0.2750921249, -0.3234597147, 0.0976967216, -0.1245139465, 0.8621628284, -0.7833484411, -0.6035523415, -0.7076413631, 0.1077212095, -0.3045306504, -0.6397718191, -0.1065137759, -0.4381915927, 0.1773112267, -0.3441350758, 0.7485382557, 0.4929725528, 0.813210845, 0.0257450659, -0.0668351129, -0.2155911028, -0.7326030731, 1.0911232233, 0.0438427292, 0.0599745959, 0.2947793007, 0.5994103551, 0.0646049008, -0.2243433893, -0.5382013917, 0.1966272444, 0.1871759742, 0.3831585944, -0.4239926934, -0.1488670856, 0.1792454869, 0.834534049, -0.8970996141, 0.0003587578, -0.716676712, 0.1093525738, 0.698000133, 0.6764333844, 0.6561523676, 0.2244169265, -0.4936426282, -0.3862944245, -0.0572435781, 0.1752333343, 0.4548645318, -0.092878662, 0.0800127909, 0.2575960457, -0.162910983, 0.4407378733, 0.1824582666, 0.1774365008, 0.4471150935, -0.6964715123, -0.0442635342, -0.2125230432, 0.5647295713, 0.6532667875, -0.3212850392, -0.2038148046, -0.6416260004, 0.2834695876, 0.45242396, -0.5696726441, -0.7637696862, 0.3939185143, -0.6095475554, 0.1309569031, 0.072675474, -0.7927108407, -0.1632512212, 0.2185102701, 0.8122667074, -0.9796600342, -0.2014896572, -0.0591553524, -1.169392705, 0.4388081133, 0.2333390564, -0.9777985811, 0.4298346639, 0.5181211233, 0.8805025816, -0.5088151097, -0.7308206558, -0.7803608179, 0.1118240878, -0.0954073444, 1.0628064871, -0.5512885451, -0.3666873872, -0.6528759003, -0.5409679413, 0.2383683175, -0.6180042028, -0.2296310961, -0.7061341405, 0.2863278687, -0.5270210505, -0.1072365344, -0.0571005233, 0.2355305701, -0.8124837279, 1.0836356878, 0.2618876398, -0.2995098531, 0.9997708797, -0.9803067446, -0.335221678, 0.4938863218, 0.1623190492, -0.458365351, -0.1426369995, 0.1344771385, 0.0593122058, -0.2160796523, -0.1731919795, -0.1831311733, -0.3999856412, 0.3790346682, 0.0695036203, 0.7520851493, 0.4065375328, -0.2874608934, 0.2780683935, -0.6013892293, 0.3320939541, -0.1288449466, -0.4797784686, -0.2183165103, -0.1325678825, -0.0076322486, -0.042459961, 0.089809373, -0.4600743949, -0.1066226289, 0.0351650007, 0.1688352674, 0.7543033957, 0.0536995195, 0.7376483679, -0.8985898495, 0.516564846, -0.0246222094, 0.5898011327, 0.1923187077, -0.7132713795, -0.7145223022, -0.5331875086, 0.0402083509, 0.622233212, -0.6882378459, 0.388099879, -0.1797516793, -0.3648607135, -0.587229073, 0.3861655593, 0.6238759756, -0.3144958019, 0.5621635318, -0.6583807468, -0.8048755527, -0.9192387462, -0.2522145212, -0.185710758, -0.0605569519, 0.1282012761, 0.721090138, -0.2797704637, 0.9220519066, -0.2440932691, -0.3732236922, -0.5602680445, 0.5058266521, 0.3470261097, 0.702904284, 0.4618323445, -0.9020311832, -0.772770226, -0.5077320933, -0.3839074075, 0.2275966555, 0.0122173987, -0.3220591843, 0.4653401077, -0.2905525267, -0.2479774356, 0.1840143353, 0.7035041451, -0.5082811117, 0.1875270158, -0.2780373394, 0.7556497455, -0.896749258, 0.0123829935, 0.0395565592, 0.0810069963, -0.7614638805, 0.2964502871, 0.1076375321, -0.0260506812, -0.1193837672, 0.1633558273, -0.9126496911, -0.3328496814, -0.0026383295, 0.215478003, -0.0357944034, 0.1413106173, -0.3191967309, 0.9975932837, 0.3911472857, -0.7377246022, 0.5361686945, 0.1181436628, -0.2478487939, 0.7021314502, -0.5219104886, 0.0000235456, -0.1071939692, 0.1644582152, -1.0553500652, -0.0857105553, -0.3510724008, -0.8816213012, 0.2750375271, 0.1484621167, -0.7105308175, -0.5146375299, -0.7671727538, 0.72091043, 0.7632188201, -0.5567174554, 0.2642646432, 0.5954186916, 0.256375134, -0.6433842778, -0.8369884491, 0.0270699505, -0.2893471718, -0.8783085942, 0.3125206232, -0.3809729218, -0.3667857945, 0.0174637064, -0.1351921856, -0.4148103595, 0.1290452182, -0.0158170518, 0.3892822266, -0.3741481006, -0.1956591159, -0.7175519466, -0.2610470355, -0.3264350295, 0.0335612819, 0.7775319219, -0.2491991669, -0.0764241591, -0.173210904, 0.7846356034, 0.1867121756, -0.1856033504, 1.1330163479, 0.6412207484, 0.0154360104, -0.2437968254, -0.9889788628, -0.149815321, -0.5395421982, 0.0042181229, -0.2495047003, -1.076977253, 0.8102520704, 0.8393546939, -0.1062372327, 0.3723397255, 0.1795826554, -0.5112447739, 1.0170454979, 0.5950809717, -0.2895583212, 0.501011312, -0.3010461628, -0.0302591491, -0.8526912928, -0.2591720223, -0.4169122875, -0.8423341513, -0.3787587285, -0.5999686122, 0.6181416512, 0.2435896993, -0.5170968175, 0.407762289, -0.7781210542, 0.6878638864, 1.0160948038, 0.2214658856, -0.035228461, -0.1780697405, 0.4337559044, -0.2143705338, -0.678717196, 0.1930304319, 0.7531711459, 0.2800648212, 0.6952728629, 0.78605479, 0.8794023991, 0.3082324564, -0.0540458076, -0.3325467408, 0.5554972291, 0.0081609497, -0.9022656679, -0.5231412649, -0.6023266315, -1.0751137733, -0.000228348, -0.3745698929, -0.5869444609, 0.0633267239, 0.1852318794, -0.7737986445, 0.3166308105, -0.6257236004, 0.3890744746, -0.2663082182, -0.0940406248, -0.5692424774, -0.5606719255, 0.4318277836, 0.1209618822, -0.2462854236, 0.0421124212, -0.1348950565, 0.8547077179, -0.3155882359, 0.4330518544, -0.0980970711, 0.4770813584, 0.0943909585, 0.180245176, 0.3442362249, -0.0460103713, -0.0172719248, -0.0807669833, -0.4925231934, -0.6742070913, -0.5977978706, 0.4886755943, -0.9481130242, -0.6733089089, -0.4142847955, -0.7648693919, 0.076169692, -0.158189863, 0.2384550124, 0.4370695353, 0.1895264983, 0.4724944234, 1.0083024502, -0.4779066145, 0.5438183546, 0.7667691708, 0.2381934077, -0.6454694271, 1.1949002743, 0.0409645066, 0.6440384984, 0.5338519812, -0.0720132813, -0.0660654455, -0.7106733918, -0.1803755611, -0.0243003257, -0.6903401613, -0.3981727064, -0.8880342841, -0.2460943311, -0.2029449344, -0.4700381458, -0.2443304509, -0.2886680365, 0.0923238471, 0.3116928339, 0.7591391206, 0.5895652771, -0.3760592043, 0.2115374357, -0.9413845539, 0.4541403651, 0.5204339623, 0.5947979093, -0.3530881703, -0.4569329321, -0.1293765008, -0.3691280782, -0.4123017192, -0.8830748796, 0.4361000955, -0.1001448035, 1.0495105982, 0.0401882865, -0.1376822591, 1.0424861908, -0.0006502884, 1.0033251047, 0.6244434714, -1.0719342232, 0.9637886882, -0.5363661647, 0.2444112748, 0.6284823418, 0.2625498176, -0.2345732599, -0.7319072485, -0.8575590849, -0.7219256759, 0.8937382102, 0.3814832568, -0.3821434379, -0.0517109148, -0.1734510809, -0.309065789, -0.1121754944, -0.6956332326, -0.6024591327, -0.0544193015, 0.1912493259, -0.2966305017, -0.3812078834, -0.0745036229, -0.0737137944, 0.4328663945, 0.2471310198, 0.508844316, 0.0484549515, -0.0597314015, -0.3401626945, 0.1332477033, 0.50267905, 0.5017798543, -0.3174309731, 0.0795116127, 0.8054131269, -0.3400896192, 0.1876392961, -0.385843128, 0.266196996, -0.2365384847, 0.17316401, 0.4558582008, 0.0236606076, -0.3049685061, 0.529481411, -0.1525567621, -0.1155572608, -0.0461115353, 0.6617637873, -0.2829771042, 0.5067973137, 0.6626894474, 0.4484279752, 0.4340619743, -1.0293152332, 0.2957863808, 0.8896671534, -0.2448956519, 0.0134730907, 0.537229538, 0.2733419538, -0.4644884169, 0.642794311, -0.3612941504, -0.8028427362, 0.6591579318, 0.6484165788, 0.6539894342, -0.6046293974, 0.0292090755, 0.5550458431, 0.4944030643, -0.4323135912, 0.448336035, -0.0235415883, -0.749327302, -0.0893614814, -0.3574849367, -0.5339778066, -0.1092143804, -0.8236893415, 0.1849493235, -0.5112866163, 0.0427540615, -0.2957441211, 0.327722013, -0.521232605, 0.2492802888, 0.0090059396, 0.837877214, -0.5171936154, 0.7709497809, 0.6482006311, -0.6306490898, -0.5928714275, -0.1012131348, 0.0504174978, -0.8393509388, 0.9001156688, 0.0369989127, -0.233668834, -0.182393387, -0.4854207337, -1.0780342817, 1.4743140936, -0.2084863484, -0.1005262583, 0.3200454414, -0.2144436389, 0.3278807402, -0.1750653386, 0.6050361395, 0.5169974566, 0.4487818182, 0.13546139, -0.7899883986, 0.006085597, -0.6593822241, 0.3648145497, 0.4075914025, -0.7198737264, 1.3592011929, -0.3569977283, -0.6689499021, -0.03162219, 0.7113765478, 0.8259807825, 0.1575331688, 0.5844364166, 0.4262210429, 0.8383288383, -0.0454230607, 1.1227655411, -0.0615588054, -0.0628052279, 0.7572471499, -0.0279707052, 0.8349468112, 0.3858598471, -0.2777307928, 0.4886036813, 0.2675956488, -0.336496532, 0.5130012035, 0.1335498244, -0.3484081924, -0.2005618364, 0.6457657814, -0.2701743841, 0.0075616078, 0.2822775841, -0.0853349715, 0.0146294245, -0.1565672606, -0.4641726911, 0.0362003595, -0.3219400942, 0.846599102, -0.4679836929, -0.9365321994, 0.5086295605, -0.2965309024, 1.2474029064, -0.2792253494, -0.0543771833, -0.4686080217, 0.2649891078, -0.3456028402, -1.4523379803, 0.3554093242, -0.1321499944, -0.9301356673, -0.1426177472, 0.458896637, -0.1869800687, 0.1119268313, 0.5043911934, 0.2251738161, 0.1688563824, 0.2151656747, -0.7097697258, 0.1947603077, -0.0501797013, 0.2251623869, 0.5580348969, 0.4932158589, 0.3740338981, 1.0227484703, 0.6383693814, 0.0560668372, 0.2890831828, -0.1730837673, 0.832695365, -0.9518722296, -0.5480758548, -0.8816049695, 0.5340331793, -0.4071307182, -0.3107560873, 1.0998663902, 0.8264881968, 0.4440416396, 0.0675846264, 0.5700252652, -0.0950814933, 0.558593452, -0.3033308685, 0.8229459524, -0.4212782383, 0.240652889, -0.3186936975, -0.7974043489, -0.4079492986, 0.6439849138, 0.0910551623, 0.0430661924, 0.9876689315, 0.9565185308, -0.0604416803, 0.2435213774, 0.2874869108, -0.1058691144, 0.2893069088, 0.8477838635, 1.2661572695, -0.499607265, 0.8913739324, 0.1386786401, -0.4830807745, -0.1462671608, -0.5350455046, -0.9709300399, -0.6854096651, -0.1858971566, -0.5756314397, 0.202677384, 0.5850612521, 0.6431456804, -0.8356404305, -0.3152463734, -0.0518720187, -0.0095808478, -0.2355431318, -0.2997514904, -0.4220153093, -0.8344340324, -0.2940200567, 0.3981942534, 0.3591637015, -0.2224915475, -0.1382012814, -0.3643256724, -0.1747603267, -0.1416781098, 0.44586128, 0.2183673084, -0.4794619977, -0.4676813185, -0.1227160022, -0.4011727571, 0.1753113866, 0.6783336401, -0.6598631144, 0.1215707958, 0.7434157729, 0.3919818401, 0.3386880457, -0.1072955579, 0.8702830076, -0.6165733337, -0.3275873959, 0.2740040123, 0.2102446556, 0.160210222, -0.2263540179, 0.5889577866, 0.1562462747, -0.8828155994, -0.7139011621, -0.1584669203, -0.989557445, -0.1771617234, 1.3633531332, 0.1634499133, -0.2192164361, -0.4165619016, 0.005800629, 0.0203454811, -0.7325023413, 0.7702929378, 0.2647992969, -0.2272080034, -0.3971774578, -0.3514633775, 0.5755699277, 0.4942245483, -0.650524199, -0.4497467577, 0.4218614995, 0.3968210816, 0.5393521786, 0.9184262753, 0.028118806, 0.7715740204, 0.394257009, 0.3727737069, 0.403546989, -0.4171504676, -0.2193825692, 0.3170087934, -0.1707009524, -0.3745949864 ]
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.1455634236, -0.9227077365, 1.2123966217, -0.0275641456, -0.5657895207, 0.2681461871, -0.0696535856, -0.2425130159, 0.0319081768, 0.4015002251, -0.7327517867, -0.579986155, -0.5314173102, 0.0063790842, -0.0385986008, 1.0889055729, -0.3144402802, -0.0302985869, 0.0037009437, 0.0525779985, -0.7125311494, -0.2952974737, -0.6072702408, -0.0901526585, 0.0608892553, 0.0171073843, 0.3861870468, 0.519482553, 0.3812604249, 0.2262859195, -0.1211745292, -0.0085818861, -0.3612037003, 0.186823085, -0.1161157563, -0.2925589979, -0.5413153768, 0.2275287062, 0.7527601719, 0.0305901133, -0.0073866448, 0.2779679, -0.1423845142, 0.4275619388, -0.4896712303, 0.530842185, -0.387955457, 0.0782779902, -0.0443877913, -0.4337172508, -0.0047237873, -0.7986635566, 0.3537668288, -0.4301624, 0.1334713697, -0.3081472218, 0.4777759612, 0.3031264544, -0.7542979717, -0.3953593373, -0.6799544692, 0.6340279579, -0.8854088783, 0.2197953165, 0.4936090708, 0.4740439653, 0.0623543262, -0.3449474871, -0.7496585846, -0.331165731, 0.2348484695, 0.3106583655, -0.1425023824, 0.171703741, 0.4586078227, 0.2476406842, -0.6213779449, -0.0352538526, -0.1763787568, -0.318423003, 0.4293265641, 0.3606168628, 0.4260728061, -0.1921293437, -0.4336417615, 0.1187351495, -0.2313463241, -0.0690768361, 0.2249059826, 0.3433949053, -0.1100368574, 0.5418060422, -0.2621676028, 0.8679436445, 0.1029115096, -0.2536526918, 0.1500732899, -0.9295101762, -0.2507801056, -0.0699544325, 0.8098320961, 0.8059993386, -0.0367160775, -0.1322824061, -0.0464242026, 0.275262624, 0.2504577339, -0.9772146344, 0.1234122366, 0.1065051854, 0.0738598257, -0.1036860943, -0.4906480014, -0.9464554191, -0.2091869265, -0.4979025722, 0.7163447738, -0.5051187277, -0.3033609688, 0.1215200573, 0.0477155335, 0.4813144505, 0.6098979712, -0.904620707, 0.3148508966, 1.019746542, 1.2794624567, -0.0546575785, 0.1694515944, -0.5208202004, -0.0551223531, -0.4882848263, 0.9677434564, -0.4405665696, -0.0103975991, -0.1490798295, -0.3772033751, -0.2693554759, -0.036033988, 0.7523549199, -0.4205448925, 0.5111519098, -0.4522554278, -0.6872404814, -0.3161885142, 0.6310344338, -0.3325421214, 0.8959490657, 0.2418124527, -0.5803402662, 0.3876896799, -0.7357171178, -0.1800002456, 0.2241247147, -0.3949182034, -0.328417182, -0.0718515664, 0.2723220587, -0.0129326181, -0.2003769428, 0.0668108612, -0.2458772659, -0.8266720176, -0.2889796197, -0.7007620335, 0.7218170762, 0.0173593815, -0.5623749495, -0.17766954, -0.4959928691, 0.3015122414, 0.0505454764, -0.2647345364, -0.0520066284, -0.2947097123, -0.3375920653, 0.3863004148, 0.3278865516, -1.0047478676, 0.344407022, -0.4216629267, 0.3087777197, 0.5647608638, 0.3103086948, 0.3658372462, -0.0193054471, 0.7871645093, -0.2672545314, 0.0394715331, -0.1691734642, -0.5728048086, -0.4664836824, -0.3631223142, 0.0126591539, 0.7597573996, -0.66711694, 0.4804327786, -0.1033789665, -0.4248074889, -0.4706412852, -0.2529805005, 0.6501121521, 0.4191968143, 0.2620336115, -0.2725773752, -0.3069028258, -0.6441372037, -0.2629060149, -0.1413447559, -0.2315590233, 0.1582128555, 0.3000071645, 0.0000915486, 1.0619359016, -0.6470435262, -0.4142451584, -0.2088847011, 0.2722107172, 0.1751582325, 0.1584767252, 0.5597753525, -0.0461408123, -0.6637817621, -0.0823922381, -0.7404138446, -0.1783123314, -0.0112410663, -0.0779285654, 0.4172048271, -0.0148437312, -0.7771759629, 0.8656806946, 0.3762580156, -0.4289515018, 0.3611387908, -0.1153303906, 0.5498676896, -0.9605639577, -0.18856664, 0.2370000184, -0.3719473183, -0.8283693194, -0.3303835094, 0.1169827431, -0.2134428471, -0.0769906193, 0.4417938292, -0.3946413994, -0.3852297366, -0.3314491212, 0.6050866842, 0.0317726023, 0.6434772611, -0.0558749512, 0.7418622375, 0.5127410889, -0.0611735657, 0.6482904553, 0.3386294544, -0.6766076088, 1.0191298723, -0.4399763942, 0.6577194333, -0.160150677, 0.7480182052, -1.3744642735, 0.2856848538, 0.2983574867, -0.286115855, 0.3019747436, -0.3766741753, -0.5055494905, -0.3656361103, -0.4821333289, 0.3084828258, 0.3886841834, -0.250793159, 0.2040663213, 0.0135247177, -0.3845105171, -0.1053390726, -0.3918783963, 0.2805865109, -0.1253510118, -0.5172067285, -0.0096679498, -0.1012961715, 0.2219205499, -0.3621603549, -0.6976675391, -0.169995144, -0.2805862427, -0.0673115477, 0.4069594443, -0.1114655212, -0.3161995113, -0.1308117509, -0.4278138876, -0.0777365342, -0.3298430443, 0.4953091741, -0.0483281985, -0.4737969637, -1.2752004862, 0.2005731612, 0.5844493508, -0.0292067286, 0.1015623659, 0.6349371672, -0.2778141797, 0.1233305931, -0.635430038, -0.139036119, -0.3707656562, 0.4064778686, -0.4933820069, -0.8237122893, 0.0648141354, 0.1565552801, 0.1725430042, 0.1309601814, 0.4843383133, 0.0622102842, 1.3108451366, 0.33268556, 0.0507803112, 0.2508096397, 0.0200415403, 0.7492554188, -1.0736714602, -0.2486151755, -0.4724902809, -0.0964237005, -0.1928615719, -0.5264006257, 0.3616279066, 0.2169227451, -0.3200265169, 0.6733702421, -0.4961936772, 0.3675697744, 0.2951224446, -0.0441040173, 0.5273065567, 0.0926067308, -0.2209505886, -0.2790580988, -0.1256144196, -0.6116888523, 0.8547866344, 0.5431850553, 0.442837894, 0.3894955814, 0.353107065, 0.2456617802, -0.1044987887, -1.0304020643, 0.5058246851, 0.0917473361, -0.4774778187, -0.5030605197, -0.5138044953, -0.4102000594, 0.4761698842, 0.2012433708, -1.1965539455, -0.4784695506, -0.1138024554, -0.6713479161, 0.1737290621, -0.6398259997, 0.7141682506, -0.2445245534, 0.0956692025, -0.1814376414, -0.3469925225, 0.3724586964, -0.3121148944, -0.2536156476, -0.4117869735, 0.2069271654, 0.6851415038, -0.4424080551, 0.6564262509, -0.4071096778, -0.3751771748, 0.2892041206, 0.316136688, 0.4508689344, 0.0039246823, -0.1077912673, 0.1895366013, 0.5428686738, -0.3997202218, -1.0215004683, 0.6808996201, -0.5307064652, -0.5426076651, -0.6896061301, -0.5504153371, -0.4074094892, 0.0864080489, 0.1349377483, 0.6511442065, -0.1107399613, -0.2365282327, 0.1556369364, -0.1108842567, 0.4091095626, 0.9566519856, -0.1964351088, -0.2901696861, 0.592551887, 0.1512310058, 0.2922677696, 0.2233383954, 0.1152252406, -0.8239915371, -0.2695114315, -0.8342222571, 0.1949002892, -0.319191128, -0.2901212573, -0.6015405655, -0.2666053474, -0.5858995914, 0.0091345962, -0.3007680774, -0.3499759436, 0.1438831687, -0.2429928929, 0.3468337953, 0.8925641775, 0.0713259131, 0.1263819933, -0.4239071906, 0.4843859673, 0.4999333322, 0.8313161135, -0.2534205019, -0.7383137941, 0.0968677029, 0.3801288605, -0.5391572714, -0.767213881, -0.1012732759, 0.0031376777, 0.4018393159, 0.1313087046, -0.1655679494, 0.7882852554, -0.678304553, 0.918027997, 0.4380231798, -1.1234382391, 0.7223419547, -0.4106248915, 0.6575444341, 0.4899559617, -0.0284628645, -0.5636678934, -0.1967432052, -0.2237516642, -0.321570605, 1.147616148, 0.4463731647, 0.0469894297, -0.0489640608, 0.3229150474, -0.3166649044, -0.1179273278, -0.1513656676, 0.0628213137, -0.2444594502, -0.0253252536, 0.0904963315, -0.4319286644, 0.0121504338, -0.1092013121, 0.4449859858, -0.1333880574, 0.4590882361, 0.0326992497, 0.1504407227, -0.2337032109, 0.3954720199, 0.6370892525, 0.6666877866, -0.570573926, -0.2576414347, 0.2869434953, -0.3783451617, 0.3347464204, 0.0883661211, -0.3906300962, 0.1867587715, 0.0823729262, 1.038790226, -0.0021585498, -0.20622091, 1.0372579098, -0.1762442142, -0.3234449327, -0.2907936573, -0.133150816, -0.0743827745, 0.374699831, 0.053245049, -0.0858150572, 0.1652347445, -0.5265548229, 0.2562125921, 0.5039466023, -0.7686115503, -0.4990072548, 0.4221173525, 0.0911479667, -0.4413097501, 0.6766175628, -0.4751317501, -0.6138263941, 0.4584240019, 0.7606572509, 0.9978888631, -0.4313428998, 0.5170698762, 0.5323122144, 0.1106472537, -0.1604703218, 0.3161404133, -0.3660229743, -0.5251084566, -0.8587571383, -0.7489424944, -0.3742091358, 0.2697032392, -0.7635944486, 0.3355459273, -0.5155844092, -0.2363020927, 0.0020616334, 0.2724653184, -0.6218613386, 0.0763094202, 0.2584038079, 0.717640996, -0.7300516963, 0.8345547318, 0.3020907044, -0.310336411, -0.5615680814, 0.2221592218, 0.7295363545, -0.7115330696, 0.3818496764, 0.4049224854, -0.4745079279, -0.1785174161, -0.1786834747, -0.9089211822, 1.0377501249, 0.302818805, -0.7054634094, 0.1829501092, 0.0360647887, 0.864002943, -0.0479333289, 0.6368281841, 1.2371479273, 0.4032593668, 0.4770590365, -1.2321105003, 0.078879185, 0.0340949222, 0.2355220914, 0.403470546, -0.5125625134, 0.2463524342, -0.0995086282, -0.5477349162, 0.3056833446, 0.1276324689, 0.2748947144, 0.3606657684, 0.5102844834, 0.7585056424, 0.4212342203, -0.1021636277, 0.7588102221, -0.009137148, 0.8343659043, 1.2805113792, -0.7924531698, 0.638610661, -0.0133781573, -0.3744275868, 0.2397201061, 0.2819367945, -0.0618621297, 0.6952489614, 0.3365817666, -0.5092285275, 0.0805622935, -0.0001243151, -0.0976650417, 0.6657937765, 0.262270391, 0.2055909485, -0.7465015054, -0.2874712348, 0.3615334332, -0.0485207066, -0.013287277, 1.0128409863, -0.137115106, -0.7896152735, 0.5730707645, -0.038511835, 0.3694020808, -0.4494192004, -0.187583372, -0.3387162387, -0.0215028934, -0.0198219419, -1.0299246311, 0.4070064127, 0.5001984835, 0.1830503494, -0.1807116419, 0.2346496135, -0.4598397017, -0.3716706932, 0.4137941003, 0.1443048716, 0.4312034845, -0.210518837, -0.6379326582, -0.0826948881, 0.4278731644, -0.1475406289, 0.2548352182, 0.4337307215, -0.1090346649, 0.2812224627, 0.5032738447, 0.0523088351, -0.2298844308, 0.3469158709, 0.5281741023, -0.6724662781, -0.3447610736, -0.919908762, 0.1952132732, -0.171491608, -0.3754424155, 0.6136835217, 0.6857790351, 0.3449234664, 0.392537266, 1.0116260052, 0.0001114321, 0.9211138487, -0.4254501164, 0.2703232467, -0.093813017, 0.3064185977, -0.4041317105, -1.3769543171, -0.2382884324, 0.6747250557, -0.4825051427, -0.0030438886, 0.8306965232, 0.686076045, -0.1162246093, 0.2616299093, 0.6034527421, 0.3237289488, 0.519589901, 0.6489954591, 0.7519689798, -0.5056477189, 0.4848746061, -0.1079124734, -0.6971728206, 0.0358802229, -0.8589627743, -0.8942480087, -0.4917002022, -0.4586329758, -0.2490684986, -0.0112640625, 0.6991225481, 0.5626467466, -0.6461039186, 0.0863741264, 0.0583918542, -0.46739465, -0.0727628917, -0.2090394497, 0.4650824368, -0.2581033409, -0.8486273885, 0.622574091, 0.8750705123, -0.0654348433, -0.2718561292, 0.2447628826, -0.1327805221, 0.0772549063, 0.7759101391, 0.0576245338, -0.8928133249, -0.6351038814, -0.2558296025, -0.1981795877, -0.0472362377, 0.7060400248, -0.5855164528, 0.8314684629, 0.5252330303, 0.3742093146, 0.9689734578, 0.4147035778, 0.6784935594, -0.4412490129, -0.0219130963, 0.1753917485, 0.0794645697, 0.3890039027, -0.3641951382, 0.5409722328, 0.0131651033, -0.7448679209, -0.4166950285, 0.3381201029, -1.0326024294, 0.0573254637, 1.1961362362, -0.3337694407, 0.2991390228, -0.3690087497, -0.3380682766, 0.3683517277, -0.4678487182, 0.7975900173, 0.7302289605, -0.3010288179, -0.2585939467, -0.9676612616, 0.4853032827, 0.2102753669, -0.6292755008, -0.1997966915, 0.53462708, 0.6376701593, 0.0665909871, 1.0407009125, -0.2711160481, 0.0412164666, -0.1912760884, -0.3311042488, 0.1697018743, 0.046225097, -0.6665156484, -0.3846027255, -0.2955419123, -0.3977713883 ]
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.6028857827, -0.5765377879, 0.3924657106, 0.2169922739, -0.3591780365, -0.1321959049, -0.2624221742, -0.5414863825, 0.6435952783, 0.7618086934, -0.3977382779, 0.0163826384, -0.5339189172, -0.0327239819, -0.1611872166, 0.5220373273, 0.2462956458, -0.24391222, -0.1473725587, -0.5466423035, -0.7164930701, -0.3899872303, -0.832221508, -0.1068951339, 0.6295098066, 0.7559289932, 0.8195106387, 0.6680096388, 0.6787240505, 0.3450872898, -0.0802413449, 0.2475355268, -0.8369128108, 0.6030272245, 0.1233768389, -0.6948100924, -0.4850423038, -0.3747619987, 0.5493029356, 0.8001487851, -0.5483718514, 0.4405171275, 0.1595652997, 0.7789909244, -0.6796605587, -0.263218075, -0.6893982291, -0.0692319945, -0.1791826785, -0.0911624283, -0.600338757, -0.658819437, -0.2742142081, -0.6153364182, -0.1799031198, 0.2642453611, 0.7656428218, 0.762306869, 0.1231530979, 0.3301878572, -0.7333238721, 0.5202305913, -0.6052805781, 0.0769579113, 0.0479639396, 0.6890046597, -0.3966798484, -0.5164967775, -0.4230686128, 0.4898675382, 0.124489069, -0.3140328526, -0.4714201093, -0.1686963886, 0.4650289416, 0.4582595527, -0.3297590911, 0.5024071336, -0.2292910218, 0.3026696742, 0.1792140305, 0.0368777663, 0.0169741604, 0.1828223169, -0.2146462649, -0.0954886749, -1.1361095905, -0.0819332227, 0.1535318941, 0.5343945026, 0.0468520932, 0.7074674964, -0.2674934566, 1.0321081877, 0.0553789176, 0.0516805425, -0.1579155922, -0.0077807461, -0.4084696472, -0.1220396087, 0.743399322, 0.2511624694, 0.1286450475, -0.1882765442, -0.1407842785, 0.4364004731, 0.3981752098, -0.8509290814, 0.1017351747, 0.1256743968, -0.4247744381, -0.3414340615, -0.2384223193, -0.8928284645, -0.488009572, -0.1145894304, 0.7966543436, 0.1145913824, 0.2654229701, 0.2512362003, -0.0696990192, -0.0068134037, 0.2659347951, -1.0885307789, 0.7944539785, 0.5147097707, 0.88542521, -0.0751185492, -0.0050027538, -1.3607882261, 0.0896083117, 0.0812874213, 1.2739545107, -0.3483507633, -0.3750840127, 0.0661078542, 0.1341590881, 0.3230611682, -0.8442228436, 0.6520142555, -0.6433352828, -0.3855159283, -0.5178540349, -0.258166343, 0.4486646652, 0.1706804335, -0.9234027863, 0.9208684564, 0.2058737278, -0.4113457203, 0.1038254201, -0.489143461, -0.4778603315, 0.0956962556, -0.3650732338, -0.2962096632, 0.5935974121, 0.3761286736, 0.2969516516, -0.5490708947, -0.5204809308, -0.3140768707, -0.6400856972, -0.0583033487, 0.0010534941, 0.2529402077, 0.2144802809, 0.1224948317, -0.0481986552, -0.482940942, 0.1898049712, 0.161517337, -0.9150464535, -0.3332264721, 0.1767350584, -0.0830600113, 0.0247752499, 0.2762908638, -0.6175128222, 0.9693248868, -0.3462657332, 0.6110931635, 0.7711889744, -0.3143247366, 0.2310508341, -0.4167018831, 0.5002686381, -0.1797835678, 0.3973051608, 0.1461358368, -0.3905007243, -1.0996749401, -0.0680318102, 0.1815738231, 0.1699106544, -0.8801476955, 0.3614429533, -0.7916387916, -0.6394258142, -0.8455478549, 0.1361199617, 0.0797762424, 0.2258709073, 0.2530751228, -0.2262282372, -0.4728488922, -0.933118999, -0.2863327563, 0.2374162972, 0.193227917, 0.3830993772, -0.0543478094, -0.0147694182, 0.9249721766, -0.8727315068, -0.4204439819, -0.1912026703, -0.13954328, 0.6594069004, 0.3265309334, 0.5811260939, -0.5422890186, -0.5665796995, -0.0235225689, -0.4948261678, -0.0429355353, 0.495292753, 0.0458028018, 0.1212279201, 0.4582351148, -0.4567526579, 0.1117861792, 1.0916403532, -0.2891222835, 0.1291399598, -0.7722887397, 0.1460883021, -1.0193878412, -0.1563947499, -0.3857343793, -0.4876061976, -0.2960753739, 0.1011059582, -0.2830598652, -0.4276820421, -0.43525213, 0.3569200039, -0.3329435885, -0.4915230274, -0.2773893178, 0.0887300298, 0.0721191242, 0.283110112, -0.2476176023, 0.9827837348, 0.3694829941, -0.9002406597, 0.2941587865, 0.1110411584, -0.4095718563, 0.5783592463, -0.9673541188, 0.23624672, -0.1026163027, 0.3126752079, -0.7901195884, -0.0931296051, -0.0259771738, 0.0607352033, -0.1436378807, -0.6827070117, -0.7196107507, -0.2957345247, -0.280318886, 0.4159733653, 0.6954576373, -0.9758232236, 0.6730616093, 0.5478716493, -0.0289667249, -0.5178833604, -0.8041349649, -0.063229315, -0.2339784652, -0.5516366363, 0.3234061599, -0.4807508588, -0.1979075968, 0.0184955373, -0.0204670746, 0.116056487, 0.1772845984, 0.627007544, 0.1198972464, -0.334903419, -0.2268794477, 0.1255975664, -0.2253901511, -0.4959489703, -0.5359487534, 0.9388112426, -0.0171591882, -0.5383515954, -0.2219403982, 0.495239526, 0.8204991221, 0.2600905597, 1.0015296936, 0.2823038101, -0.3240578175, -0.0437941924, -0.6282323599, 0.1235641614, -0.5574393868, -0.1314817667, -0.6200108528, -0.7579777837, 0.5132642388, -0.188022092, 0.2455886006, 0.3438124061, 0.3235965967, -0.1805136502, 0.5326622128, 0.6935314536, -0.3264425993, 0.6467465758, -0.2440618873, 0.2435691804, -0.7672564387, 0.2170578092, -0.9271570444, -0.715592742, -0.5945405364, -0.6959320307, 0.6486563683, 0.0269221216, 0.0660381168, 0.5335196853, -0.7366607785, 1.0287264585, 0.2844461203, 0.0433478504, 0.5061287284, 0.2804661691, 0.2302645147, 0.0602114163, -0.7274531722, -0.2338560224, 0.7561737895, -0.0449093878, 1.2457658052, 0.6259590387, 0.6708366871, 0.482637465, -0.0062997006, -0.8055695891, 0.5548129082, -0.6878991723, 0.030595284, -0.2295990288, -0.3748035133, -1.1321855783, 0.3915367424, -0.1989740878, -0.697296679, 0.3214502931, 0.1908447891, -0.7202033401, 0.3419760168, -0.7676888704, 0.3232742846, 0.0894727781, -0.3178491294, -0.4653791189, -0.3073936105, -0.1237533167, 0.1445207, 0.1380882561, 0.2072356492, -0.0316789001, 0.7368681431, -0.5347138047, 0.6036883593, -0.1919161081, -0.1322152764, -0.2469953597, 0.0849329308, 0.7366682291, 0.0466729067, -0.1980766505, -0.1553786993, 0.2077955157, -0.5924614072, -0.7752537727, 1.2483744621, -0.8843117952, -0.4884218574, -0.3154504597, -0.3713837266, -0.0986256823, 0.1719909608, 0.1996811777, 0.5373274684, -0.1445389837, 0.1003147662, 1.0588089228, 0.0209310316, 0.4149366915, 0.4211189747, -0.264682889, -0.1065200642, 0.8783947825, 0.2899490893, 0.5494385362, 0.3782996237, 0.1030494049, 0.2025754303, -0.4043340087, -0.4730213284, 0.2682037055, -0.7783160806, -0.3839767575, -0.4054066241, 0.0886485577, -0.3939781487, -0.2172383219, -0.7093729973, -0.5438995957, -0.1833604276, 0.6130496264, 0.469702214, 0.9574716091, 0.0927709714, 0.6089648008, -0.6884720325, 0.7015902996, 0.3026114702, 0.4885926545, -0.1683962792, -0.4514851868, -0.2486586124, -0.1618472189, 0.150872767, -0.3297940791, 0.3512012362, 0.1955394, 0.3716519773, 0.5398145318, 0.1983947307, 0.9125310779, -0.6462049484, 0.7429177165, -0.1305185258, -0.4592877626, 0.500677526, -0.0709042624, 0.4415906668, 0.7877882123, 0.2216110528, -0.4905632734, 0.2435021847, -0.3301020265, -0.725830853, 0.5125164986, -0.3628197908, 0.1485860646, 0.1967956126, 0.5532920361, 0.2536255121, -0.0538862795, -0.4167059064, -0.4451637864, 0.2642918229, 0.088963449, 0.0156820677, -0.2460066378, -0.4143978059, -0.0370884202, 0.4438880384, -0.3546553254, 0.5491037369, -0.1483309418, -0.0514132641, -0.0760813579, 0.4062914848, 0.5364156365, 0.2581526339, -0.3013912439, 0.3366886079, 0.0463032573, -0.3321901858, 0.1512282044, -0.0310045891, -0.0254792571, -0.0968423337, -0.1594986767, 0.8655366302, 0.274174571, -0.7010965943, 0.2285244614, -0.6959099174, 0.3222020268, -0.096985139, 0.2435128987, 0.0976831242, 0.1353559941, 0.0254956093, 0.3649516404, -0.3303257227, -0.4750023782, -0.3759693205, 0.4316131473, -0.158500433, -0.0740244836, 0.3514667451, 0.1834481061, -0.4043114483, 0.3953903913, 0.1390046328, -0.2778357267, 0.0843094885, 0.5801776648, 0.3520469964, 0.0466584526, -0.3811117113, 0.0280584414, 0.1540537924, -0.442956239, 0.2802302837, -0.0898433328, -0.6211651564, -0.4067099392, -0.708835125, -0.466989845, -0.0537503622, -0.820661664, 0.5221303701, -0.3798058331, -0.1197919622, -0.0997017473, -0.0274242759, -0.6057010293, -0.2818992138, 0.0093543259, 1.1606330872, -0.8131457567, 1.0842117071, 0.448312223, -0.3304244578, -0.5064569116, -0.3064852357, -0.2584986091, -0.7320902348, 0.5632140636, -0.3905957341, -0.440820545, 0.1039239243, -0.2068308145, -0.9985819459, 0.9938245416, 0.6150970459, -0.7267600894, -0.1889401227, 0.2342438698, 0.3171707392, -0.2363588959, 0.0093939258, 0.4712469578, 0.332095176, 0.1094935462, -0.8435428143, 0.0600628555, -0.0308472179, -0.2175019681, 0.2366065532, -0.7141541243, 0.7201755047, -0.1067729741, -0.0078142518, 0.1824686974, 0.5855062604, 0.1858307719, -0.4809060395, 0.7611246705, 0.9183489084, 0.8578565121, 0.0263394788, 1.2535024881, -0.0483747311, 0.0949833915, 1.1473076344, -0.2813042104, 1.2486554384, 0.9381399155, -0.035636276, 0.3408092558, 0.3521957994, 0.195900932, 0.5939107537, 0.2646145523, -0.3460827768, -0.2375197113, -0.4693415165, -0.4437113404, 0.1631237715, 0.1848438382, 0.0455309749, -0.2272259742, 0.015126274, 0.0596258864, -0.012667953, -0.2110565603, 0.6200701594, -0.0037353449, -0.8768253922, 0.9632380009, -0.316185087, 0.8922139406, -0.4733678997, 0.0644771531, -0.3814289868, 0.2401794493, -0.1682824492, -0.4994391799, 0.2016980499, -0.0545159206, -0.6436484456, -0.2803082764, 0.5380269289, -0.1219659448, -0.2201374769, 0.2344367802, 0.3641120195, 0.1551658809, 0.0719626471, -0.0259064529, 0.8372952342, -0.2661832273, -0.0761272982, 0.8861954212, 0.0492155701, 0.1384657919, 0.9041883349, 0.5876894593, 0.5621231794, 0.1680654138, 0.2080151588, 1.4397792816, -0.2748834193, -0.4798791111, -0.5738440156, -0.0215089526, -0.0437926799, 0.0836508051, 0.2692426741, 0.4669368565, 0.3398011029, -0.0179596376, 0.7029426098, -0.2584457994, 0.314376682, -0.6196861267, 0.7821357846, -0.5570642352, 0.4705609679, 0.2148790359, -0.8796277642, -0.1958322525, 0.4064397216, 0.0618132949, -0.6083535552, 0.4252324104, 0.6152011752, -0.3554240167, -0.3551282287, 0.4191432595, 0.283400178, 0.5749613643, 0.552798152, 0.3914806545, -0.7416731119, 0.6289730072, -0.0024575922, -0.0019463575, -0.4703595936, -0.8652911186, -0.5508468151, -0.3444291949, -0.1660833955, -0.5291189551, 0.0160715152, 0.9137275219, 0.8787611127, -0.4473101497, -0.1974938959, 0.3089553416, 0.0629438534, -0.3553872705, -0.1093096212, 0.2432626784, -0.2332641333, -0.7074035406, 0.7424570322, 0.1662427336, -0.2566373348, -0.3504861593, 0.0071231052, -0.0504806675, 0.1990904957, 0.5701007843, 0.4630473256, -0.5209581852, -0.4138914645, -0.1836461574, -0.1809302866, 0.2131874263, 0.7819908261, -1.373120904, 0.1553740352, 0.6661216617, 0.7900989056, 0.499456048, -0.0859974101, 0.378516227, -0.75739187, 0.2257234901, -0.1323813349, 0.5546808243, 0.0747035667, -0.3700642884, 0.5337542295, -0.1068329439, -0.8201674819, -0.9618564844, 0.338620156, -1.4988732338, -0.0720202997, 0.9281019568, -0.2856116891, -0.2351151556, 0.0345089398, -0.104849197, -0.013574956, -0.446733743, 0.6433054805, 0.2889356613, -0.3223749101, -0.0578154176, -0.5213004947, 0.4156910479, 0.2754442394, -0.9940499067, 0.3144876957, 0.1600946635, 0.1793841422, 0.1327503175, 0.5167860389, 0.2205412686, -0.1534254849, -0.2502066195, -0.1430654377, 0.088214986, -0.0751327053, -0.4886336625, 0.418579042, 0.4799872041, -0.1588182747 ]
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.6196225286, -0.9650720954, 0.0802708715, 0.0552128814, -0.1345521808, -0.1853721738, -0.1275800914, -0.5165287852, -0.0119376536, 0.047147084, -0.5957124233, -0.0484943241, -0.5942299962, 0.127844736, -0.1255630702, 0.6052129865, 0.0064499076, 0.0845456347, -0.2845385373, -0.1534358412, -0.8717767, -0.5792223811, -0.5501925945, -0.5833996534, 0.6395725608, 0.5122586489, 0.5320158601, 0.3520081639, 0.3716044426, 0.1293161809, -0.0719759613, -0.2536281943, -0.5873592496, 0.1983324289, -0.2133184969, -1.2981626987, -0.3929052949, 0.2672227323, 0.6048833132, 0.6294912696, -0.2310130596, 0.4228174388, 0.1642406434, 0.7044689655, -0.701239109, -0.0389807858, -0.7042165399, -0.1506979913, -0.2155581266, -0.4168019593, -0.5990973115, -0.1016502157, -0.0009706492, -0.1954109222, 0.5716860294, 0.1987385005, 0.5164183974, 0.2205145508, -0.1308967918, -0.2622425556, -0.2678715289, 0.8321210146, -0.643075943, 0.6057986021, 0.28438133, 0.0031698695, -0.2301144749, -0.230915308, -0.6105347276, -0.5400936604, -0.099179402, -0.0017946804, -0.2039051801, -0.1048387885, 0.938305676, 0.4619898796, -0.8375213146, 0.1131624579, -0.4248882234, -0.0629803538, 0.4817096293, 0.2318550199, 0.1737584621, 0.1397779286, -0.2801225781, -0.1698433757, -1.0739513636, 0.568533361, 0.2706020474, 0.2083551288, 0.2627546191, 0.6581913829, -0.5546018481, 0.7512332201, 0.1274362653, -0.148884356, 0.4696162045, -0.3546587527, -0.5201998949, 0.1213779524, 0.1698697656, 0.4651405513, 0.3120659292, -0.0390815698, 0.0147927674, 0.452090174, -0.0198495593, -0.8986610174, 0.0848223343, 0.1881396174, -0.2461383045, -0.0648578852, -0.2605373859, -0.8394685984, -0.2363481224, -0.2059379816, 0.4609231949, -0.3391502202, -0.0394396596, 0.1188082695, -0.4352670312, 0.3253555298, -0.1076242924, -0.7901237011, 0.534521997, 0.4233134687, 0.7595983744, -0.3430456519, -0.4074482024, -0.9765909314, -0.2287432402, -0.1606660187, 0.5867338181, -0.36883986, -0.8666959405, -0.2513410151, -0.0839118958, -0.3631642759, -0.9506096244, 0.3444751501, -0.4874237478, -0.0077164448, -0.6982721686, -0.6601437926, -0.1962139606, 0.3047691286, -0.6503578424, 1.1256312132, 0.0421632417, -0.5864604115, 0.7420418262, -0.6090885997, -0.5998285413, -0.0342028923, -0.1372616887, -0.1475098133, 0.0842369124, 0.033981882, 0.3134411275, -0.076078333, -0.3418221772, -0.2173379958, -0.6568949223, 0.3626045287, -0.3660004139, 0.7241012454, -0.0690050572, -0.812487781, -0.306073755, -0.6809338331, 0.2265141755, 0.1508274823, -0.4065158367, -0.4707034826, -0.062893413, -0.3651658297, 0.2467020303, 0.0893300101, -0.6027010679, 0.2815873623, -0.3143649101, -0.0269982535, 0.541221559, 0.0676855817, 0.1857931763, -0.7003657818, 0.4807956219, -0.0749405921, 0.1457870901, 0.0491225794, -0.7654650807, -0.5714913011, -0.0709776431, 0.1310754269, 0.7678179741, -0.2082545757, -0.1602262557, 0.1113639623, -0.475966841, -0.4872145057, 0.5232509375, 0.5763241053, 0.6444463134, 0.3635047078, -0.5952726603, -0.3623651266, -0.8189883232, -0.289316982, -0.2024341375, 0.0032297855, 0.254675597, 0.4557748437, 0.0712557137, 0.8592629433, -0.7001376152, -0.0524136908, -0.2938681543, 0.4415909052, 0.2571270466, 0.3815546036, 0.5450882912, -0.7893006206, -0.4479083419, -0.3833832741, -0.2353633344, -0.6386346221, 0.135588333, 0.0621533468, 0.4249979556, 0.4392569065, -0.7482715249, 0.6288801432, 0.3132362068, -0.0958585814, 0.9925635457, -0.1265558153, 0.3812337816, -0.4938555658, 0.1806738973, -0.0143773276, -0.0077027413, -0.6305833459, 0.2505651712, 0.2229198366, 0.3625024557, -0.6704206467, 0.4808810055, -0.3022045195, -0.193477869, -0.2816949785, 0.1272003949, -0.016844878, 0.3625860214, -0.1300836056, 1.2086038589, 0.3372143209, -0.8606569767, -0.032691922, 0.1497750729, -0.2272478938, 0.6402605772, -0.5771909356, 0.0816183686, 0.0112005491, 0.0064493166, -1.1789638996, 0.3167217672, -0.0276361257, -0.4471789896, 0.2139386088, -0.009918116, -0.6198083162, -0.3539343476, -0.3002175093, 0.3419953585, 0.7536385059, -0.2910145223, 0.1392459273, -0.2478434443, -0.155144304, -1.0159451962, -0.7452203035, -0.3379519284, -0.3319049776, -0.3997039795, 0.2785338163, -0.4401185513, -0.4868988097, -0.488743186, -0.2239313573, -0.1103222072, 0.3768044114, 0.6331877112, 0.2747613192, -0.1772676408, -0.0237717684, -0.3222129941, -0.0016681744, 0.2828920782, 0.3434812129, 0.7274965048, -0.0246149972, -0.3259705007, -0.2572824657, 0.206885621, 0.4746101499, -0.272520721, 0.5555369258, 0.4080382884, -0.0432834402, -0.3213682771, -0.5970175266, -0.3538267612, -0.4487898648, 0.1393229216, -0.4857766628, -0.714168489, 0.5277037024, 0.0517756529, 0.1610663235, 0.1082169786, 0.9089646935, -0.1865573227, 0.7422640324, 0.2922247052, -0.1272708476, 0.4751750231, -0.2596210241, 0.0225272141, -0.8666757941, 0.2816171944, -0.4089765251, -0.3832394779, -0.3075029254, -0.3810016215, 0.06251885, 0.0883889794, 0.0597440489, 0.3023875058, -0.0793684646, 0.406922847, 0.6806177497, 0.1842262298, 0.4110248387, -0.4012401998, -0.2760964632, -0.0190111306, -0.4543963373, -0.0787578598, 1.3345892429, -0.0746356323, 0.5101773143, 0.0545332618, 0.508585155, 0.5848097205, 0.5642568469, -0.5290271044, 0.6513414383, 0.2446391582, -0.9873690009, -0.2648091018, -0.2841903269, -1.0219188929, 0.4324213266, -0.0827725604, -0.8867504001, 0.0223814864, 0.2661413848, -0.3559432924, 0.0807856247, -0.7714857459, 0.6462646127, -0.1494148523, -0.423807621, -0.4090348482, -0.383189559, 0.3931124508, 0.0260437466, 0.0667985529, -0.3240245581, 0.2089441866, 0.4545431137, 0.124867186, 0.8812041879, -0.4697372615, 0.3369924724, 0.3059560955, 0.4130668342, 0.5139291883, -0.1409862787, -0.1050396413, -0.0648087859, -0.0238645151, -0.5296393633, -0.5348933339, 0.5330446959, -0.3423604667, -0.7943559885, -0.1707196385, -0.873097837, -0.2924701869, 0.0860690773, 0.3631868958, 0.5128824115, -0.2948286533, 0.0815823153, 0.6580167413, 0.1357632279, 0.3438876271, 0.7504274845, -0.1128966734, 0.1580442637, 0.4225356877, 0.3979626596, 0.7279475927, 0.3357369006, 0.3200902939, -0.4365624785, -0.6577115655, -0.2071761042, 0.1167915016, -0.7673652768, 0.2053908408, -0.319021672, 0.2920791209, -0.2069872022, -0.273707509, 0.0278479122, -0.2844580114, 0.016387077, -0.2794521153, 0.1231791526, 0.4191015065, -0.1129787713, 0.4508011937, -0.2663243711, 0.1880879849, 0.336850822, -0.0176037047, 0.1012117639, -0.3535446823, 0.0250487085, 0.0159187987, -0.2913362086, -0.7088287473, 0.0468168892, -0.0269393362, 1.0054376125, 0.1629939377, 0.0808558241, 0.7183488011, -0.3749233484, 0.8624822497, 0.2308007181, -0.854524076, 0.3501284122, -0.067697145, 0.1942729801, 0.6961044669, 0.3160604835, -0.524918437, -0.2907628417, -0.4301213324, -0.5018689632, 0.1452673078, 0.3003310859, -0.1824418604, -0.0856164768, 0.2470831573, 0.2599583864, 0.412578851, -0.6581538916, -0.5275602341, 0.2928151786, 0.2111258656, -0.1920234114, -0.2279880345, -0.1587274671, -0.2242282033, 0.5094006062, 0.0383381657, 0.0680566058, 0.622564137, -0.5230361819, -0.080508396, 0.5032992363, 0.8743283749, 0.7969365716, -0.6681448817, -0.07994923, 0.5343854427, -0.5341803432, 0.2822823226, -0.0871033072, -0.1392748058, 0.021813821, 0.2340224981, 0.3665841222, 0.2096761018, -0.8126094937, 0.4003308713, 0.119692713, -0.4254608154, 0.0142968614, 0.5851699114, -0.0274726003, 0.0061249658, 0.4680514634, -0.1460099369, 0.2383349538, -0.6216979623, 0.7187597156, 0.3758645356, -0.3658245504, -0.1338036507, 0.7447932363, 0.0132072847, -0.4963352978, 0.3910965919, -0.2550727427, -0.4583229423, 0.8390309811, 0.6490269899, 0.3205560446, -0.4111006558, 0.069525823, 0.2331065834, 0.3154082596, 0.1297800243, 0.4776652753, -0.0172382239, -0.6068211794, -0.6125353575, -0.1007876396, -0.5234259367, 0.2131809294, -0.7596994042, -0.0879937857, -0.2203361839, -0.3686983883, 0.0979216397, 0.1452186108, -1.0369153023, 0.377199322, 0.3864946663, 1.17773664, -0.7893877029, 0.7123448849, 0.3984534442, -0.2903256416, -0.5340034962, -0.1486963034, -0.0272679869, -0.9758206606, 0.9258218408, 0.4328536689, 0.0671312064, -0.1962206364, -0.2566349506, -0.7129921913, 1.0888510942, 0.1432919055, -0.4945971072, 0.2250064462, 0.5513694882, 0.4096128941, -0.3539774418, 0.3722113371, 0.8910470605, 0.4481578767, -0.3360549212, -1.1254255772, 0.1852429062, -0.114470616, -0.3377584815, 0.2229261696, -0.593031466, 0.8748955131, -0.2764693797, -0.1607479304, -0.1111244187, 0.0891336352, 0.6327409744, 0.8283011913, 0.7183358669, 0.6375490427, 0.7490265369, 0.1037695259, 1.0565373898, -0.1877085865, 0.290899545, 1.1042797565, -0.6755173802, 1.1158727407, 0.8746984601, -0.3561422825, 0.5348980427, 0.3758935034, 0.1021464467, 0.4510216117, 0.5657637119, -0.1354448497, 0.0478957817, 0.0003913513, -0.2554062605, 0.285699755, 0.2467881143, -0.2722222507, -0.3582768738, -0.0827064142, 0.0544297025, -0.1377409846, -0.3902131915, 0.1525666416, 0.024387015, -0.7952817082, 0.708063066, -0.4244235754, 0.5943192244, -0.5152474046, -0.043062672, -0.1926504225, 0.1363203228, -0.0676319674, -0.8131858706, 0.1666105837, -0.3005812168, -0.3853981197, 0.1021091864, 0.5833261013, -0.2082748413, -0.1000890583, 0.6012812853, 0.834414959, 0.061965432, -0.2436778247, -0.7451840639, -0.2527577877, 0.025796352, -0.4206603169, 0.5097451806, -0.2073270679, -0.0763505325, 0.7820365429, 1.0192569494, -0.0931788981, 0.4822527468, -0.0511584133, 0.4618887603, -0.5293613076, -0.522592783, -1.0379412174, 0.3631070256, -0.0539704189, -0.3816157579, 0.720173955, 0.7514361143, 0.8898755312, -0.0919460133, 0.8069276214, -0.1650300175, 0.5303280354, -0.3639152944, 0.3208883405, -0.4994847476, -0.051692225, 0.0799825937, -0.6736630201, 0.1402314454, 0.0838597119, -0.3961838186, -0.4174462855, 0.9474390745, 0.9213998318, 0.074986279, -0.1024430469, 0.5617927313, 0.078427732, 0.2533834279, 0.7809313536, 0.6460154057, -0.3195194006, 0.4262737632, -0.3859762549, -0.1217309758, -0.3976907134, -0.7308316231, -1.0308750868, -0.4383206964, -0.2630811334, -0.2988016009, 0.0471180454, 0.6549178958, 0.4689925909, -0.6726105213, -0.3539870083, 0.0275433436, 0.0191443376, -0.7480356693, -0.2559395432, 0.136821121, -0.2585765123, -0.5121427774, 0.4369862974, -0.0695272535, 0.0076605277, -0.0876929462, 0.0196180288, -0.15888457, 0.2486631274, 0.4660126865, 0.3233233392, -0.6761988997, -0.2437661439, 0.2200239301, -0.0972226858, 0.4770118594, 0.8325591683, -0.7911137938, 0.4062899947, 0.5408783555, 0.459176302, 0.4375761151, 0.1467839032, 0.585558176, -0.6486300826, 0.1746533513, -0.1859605014, 0.6289725304, 0.0334962532, -0.5959456563, 0.6412510872, 0.4807378352, -0.5448168516, -0.9132640362, 0.2962732315, -1.0202578306, -0.1963271648, 1.3130697012, -0.1196734682, -0.3406878412, -0.1969085485, -0.276920855, 0.1036238819, -0.4261878133, 0.707420826, 1.0632743835, -0.3564687371, -0.140447095, -1.1408398151, 0.3167434037, 0.6880680919, -0.4957765341, 0.082161501, 0.2272886783, 0.6425283551, 0.2311800122, 0.6342324018, 0.273652494, 0.6298391819, 0.1300258785, 0.1864079982, -0.1629173309, 0.1698890179, -0.1090894118, 0.2318872958, 0.057551939, -0.3554551005 ]
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.0475654975, -0.1211725101, 0.5434350371, 0.1490917802, -0.5427630544, 0.1536628604, 0.088136822, 0.0855650753, 0.1157869026, 0.5760336518, -0.4842779338, -0.4250338078, -0.8890365362, 0.0527513623, -0.224026531, 0.9594026208, 0.2298986763, 0.2994706631, 0.0138461702, 0.0448878482, -0.4624272883, -0.6561987996, -0.7158784866, -0.0587963238, 0.7989003658, 0.2456265241, 0.9302877188, 0.791970253, 0.8047164679, 0.2408850193, -0.0643828288, 0.0232687164, -0.4282233119, 0.069416292, -0.3000285625, -0.5747154355, -0.2323702425, 0.1017032415, 0.8065766692, 0.5373128653, -0.2720037699, 0.3165642917, -0.0066108, 0.866153419, -0.8269824386, 0.1948426217, -0.7900384665, 0.0143696219, 0.0394922979, -0.5085427761, -0.8993244171, -0.4838289022, -0.20673953, -0.0690031275, 0.2221613973, 0.0162885413, 0.7209731936, 0.4151592553, -0.6843037009, 0.259237349, -0.4586205184, 0.7794135213, -0.6424266696, 0.5676432848, 0.2509152889, 0.6674530506, -0.2529254854, -0.5010097027, -0.3858190179, -0.0519800112, -0.0764972046, -0.0472908542, -0.612580061, -0.05375297, 0.1025657877, 0.2599903345, -0.3139020205, -0.2569135129, -0.4587979615, -0.360109359, 0.6928369999, -0.1435533762, 0.1320481151, -0.5306132436, -0.0741776749, -0.3674478531, -0.8821860552, 0.0435203649, 0.1983269751, 0.1810456216, 0.4311355352, 0.7090038061, 0.0397875234, 0.5945404768, -0.078014046, -0.0999032259, 0.1763411313, -0.2609078586, -0.3181518912, 0.1152156293, 0.8873823881, 0.4720302224, -0.1427676529, -0.4616075456, -0.13809596, -0.4572944939, 0.477165401, -0.7107790112, -0.1976216882, -0.1344011873, -0.7558858991, -0.3739127815, -0.0443606488, -0.653940618, -0.1552956998, -0.0721962079, 0.8316937089, -0.5250252485, -0.1996026635, -0.1173723862, -0.3614189327, 0.3249658942, -0.2111437917, -0.692291379, 0.0002155201, 0.3581063151, 1.1242437363, 0.0439782105, -0.0182900541, -0.6991713643, 0.1602116227, -0.4574016929, 0.664591372, 0.0638236776, -0.5019907951, -0.2355949879, 0.0532363392, 0.0951875225, -0.3483793736, 0.7073902488, -0.6507356763, -0.2122469991, -0.4603654146, -0.2751474977, -0.1975579113, -0.3075572252, -0.6946111321, 0.3779237568, 0.3518596888, -0.6873751879, 0.3392072916, -0.3792238832, -0.5604474545, -0.2403761595, 0.026534427, -0.3586297333, 0.5927843451, 0.3982057571, 0.483084619, -0.1057987511, 0.4215326309, -0.1054349914, -0.1812772453, 0.4764299691, -0.9160494804, 0.7682397962, 0.4694462121, -0.1588997692, 0.0031990111, -0.829453826, 0.0670532882, 0.2777052522, -0.2322503924, -0.3664126694, 0.3544043303, -0.2458392084, 0.2581564188, -0.0307670962, -0.7336443067, -0.0327473283, -0.4567902982, 0.7340388894, 0.874147892, 0.1989042014, 0.4832897484, -0.3148546517, 0.2846729457, 0.0358351767, 0.0741231292, 0.0163540617, -0.5511402488, -0.3685385883, -0.2240884602, 0.5090317726, 0.5053565502, -0.982373476, 0.3075590432, -0.5626733899, -0.5122743249, -1.1056929827, -0.1087630093, 0.4432571828, 0.5026404262, 0.539732933, -0.0263563544, -0.4102580845, -1.2117543221, -0.4913698435, -0.0867212564, -0.1751071662, -0.099143438, -0.0727233291, -0.0267317742, 0.880224824, -0.4677316546, -0.0898863003, -0.4066223204, -0.0089065339, 0.6003192663, 0.7647835016, 0.295314014, -0.699691236, -0.3383097053, -0.2784335613, -0.4847297668, -0.0105571747, -0.25579831, -0.6441944838, 0.1642739177, 0.4131874144, -0.3865370452, 0.2135091573, 0.8968836665, -0.1435178667, 0.1948426217, -0.2906971574, 0.2381462008, -1.311517477, 0.1947920471, -0.0581351966, -0.1249169558, -0.4542036057, 0.2748154402, 0.2767847478, -0.1727516949, -0.3773848116, 0.083089754, -0.4728997946, 0.0247905497, -0.4397387505, -0.2931493819, -0.0160104651, 0.2514562607, 0.0855870917, 0.8587693572, 0.1231649816, -0.4227802455, -0.0424065478, 0.2068019509, -0.282276094, 0.2905644774, -0.7023525834, 0.0879418328, -0.2230036557, -0.0036710361, -0.9040859938, 0.1663570255, 0.2208384722, -0.7212843895, 0.5491414666, -0.484092772, -0.4979229867, -0.1863822937, -0.083890073, 0.2800064385, 0.7694151998, -0.6702153087, 0.4346815646, 0.4254671037, -0.2718049288, -0.7270538211, -1.0412515402, 0.2384993434, 0.2356271297, -0.6606302261, 0.4477959573, -0.1303388923, 0.2289303392, 0.1245805919, -0.5238141418, -0.2981249094, -0.1193971783, 0.2903426588, 0.3006118536, -0.3749623597, -0.246315062, 0.6831483245, -0.4960587621, 0.2510329187, -0.4550535083, 0.0227195118, 0.1759783775, -0.3307077587, -0.1749840677, 0.5949087739, 0.4555158615, -0.134364903, 1.0340117216, 0.5167255402, -0.2688076496, 0.0126510719, -0.558003962, -0.1274211258, -0.5370823145, 0.1515984684, -0.4940347075, -0.7771257758, 0.1691274196, 0.1520004869, -0.117993094, 0.5589514971, 0.2691733241, -0.1543436646, 1.3361809254, 0.7220495939, -0.1893477291, 0.3995003402, -0.3297213316, 0.3911297321, -0.7457391024, -0.3822055161, -0.4276372194, -0.4213453233, -0.8361201286, -0.3904439509, 0.5342917442, 0.0692244694, -0.0727062449, 0.5916712284, -0.6014581323, 0.6741710305, 1.0755975246, 0.3995661139, 0.4176966846, 0.2737992406, -0.1537759751, -0.2407156676, -0.9862287641, -0.2704264224, 1.2111662626, 0.3681541383, 0.4913179278, 0.3423963785, 0.7991779447, 0.1414965838, 0.517973125, -0.7959829569, 0.4486207664, -0.0877760351, -0.6920545697, -0.2219331414, -0.9699984789, -0.9336741567, 0.489985317, -0.1912993938, -0.2866739035, 0.5447267294, 0.1213199571, -0.314974457, 0.3727763593, -0.49948892, 0.9065212607, 0.116465278, -0.1050058082, -0.1547715217, -0.7208788991, 0.4835937321, 0.1584304422, 0.2337084115, 0.1554074585, 0.001662688, 0.5328252316, -0.2756474316, 0.3376608193, -0.1790495813, 0.0045966199, 0.1974107027, 0.4621237516, 0.4638724923, 0.2948220968, -0.1633871198, 0.4595682621, 0.2387723774, -0.6849461198, -0.546225965, 0.5394484401, -0.6427007914, -0.5577389002, -0.6969773173, -0.3000710309, -0.1869772375, 0.366091609, 0.674662292, 0.0515455268, -0.071498841, 0.4398745894, 0.6155394912, -0.1986718923, 0.3600314558, 0.6158736348, 0.2628254294, -0.8477441072, 1.2856205702, -0.0734448507, 0.2503280342, 0.7816153765, 0.2167992145, -0.3865386546, -0.9278162122, -0.4379395247, 0.2496609688, -0.6400911808, -0.6165680289, -0.5557146668, -0.567728579, -0.3313083947, -0.2078548223, -0.5200840831, -0.1641394347, 0.0263303109, -0.2714763284, -0.1133641377, 0.1602030545, -0.5445102453, 0.4944103062, -1.3241659403, 0.3173936903, 0.1454211026, 0.2741497159, -0.3798944056, -0.5372367501, -0.390179038, 0.1561715156, -0.3364228904, -1.2841804028, 0.8926483989, -0.0934919417, 0.8234090209, 0.0667791888, 0.0567624643, 0.232793197, -0.8827432394, 0.519092977, 0.3032076657, -0.9875665903, 0.5904198289, -0.0471960343, -0.0496652238, 0.6303503513, 0.4875132143, -0.4953094125, -0.1902062744, -0.6099127531, -0.7277582288, 0.444762826, 0.3186178803, 0.1082332209, -0.2070963979, 0.2807362974, -0.0064713587, 0.3195420504, -0.638448, -0.1172037795, -0.444508642, -0.2316473722, -0.5695411563, -0.2534030378, 0.1467228383, -0.1901084036, 0.6280102134, 0.0314601697, 0.5962033868, 0.4255824685, -0.2901673913, -0.3391750157, 0.3528936207, 0.2631332278, 0.103285566, -0.6016290784, 0.1922174394, -0.1543274075, -0.35596928, 0.4161195159, -0.0359913521, -0.402359426, 0.3672656715, 0.1348039508, 0.5886260867, 0.3511299789, -0.4612183571, 0.6005084515, 0.0997124463, -0.102454327, 0.1239459664, -0.088827312, -0.0432559364, 0.2540884316, 0.4203176498, 0.4189575315, 0.3973641992, -0.3773063123, 0.3482503295, 0.3192941546, -0.2737556696, -0.2119896561, 0.5890267491, -0.0280782562, -0.0639676005, 0.6943522692, -0.2309764028, -0.0666706711, 0.3120207489, 0.6663401127, 0.9026346207, -0.3821111321, 0.2965683341, 0.5371561646, 0.7874438763, -0.1141409129, 0.3351973891, 0.3055919111, -0.4810162187, -0.8878291249, -0.617153883, -0.3642438054, -0.0768987834, -0.8094879985, -0.1600589305, -0.3526967168, -0.2714573443, -0.1511189044, -0.3181528449, -0.3475215137, -0.0031925114, -0.1844400764, 0.9586706758, -0.4471556842, 0.9045202732, 0.2199036181, -0.548994422, -0.6441500783, 0.0021240513, -0.0377019383, -0.6686311364, 0.6825432181, -0.224541828, -0.0392701291, 0.3974919319, -0.4975084662, -1.226875186, 1.2036774158, 0.8469929695, -0.4118326008, -0.1420448571, -0.150216952, 0.1198379621, -0.0846921504, -0.1862792373, 0.3459428847, 0.2958509922, -0.0031981657, -0.4540357888, 0.2782110274, -0.1942373216, 0.3172409236, 0.2965332568, -0.3213286996, 0.5334830284, -0.4212370217, -0.3943577707, -0.0906325802, 0.7256912589, 0.0642273501, 0.3996223211, -0.0960506871, 0.1441604197, 0.2351956517, 0.0386977084, 1.1955763102, -0.2120865881, 0.1020045429, 0.8850793242, 0.4909619987, 1.3167273998, 0.5646361709, -0.2094591558, 0.3643511534, 0.4772846997, 0.0012074404, 1.0124486685, 0.3029454052, 0.0639948547, -0.1042430475, 0.238627851, -0.3965333402, 0.0978380665, 0.1351167262, -0.784517765, -0.1573668718, -0.0879247487, -0.2851326466, 0.0334395133, -0.2918106914, 0.6517276168, 0.3405101001, -0.4321379662, 0.6619436145, 0.301220268, 0.5656264424, -0.5026333928, 0.0587240644, -0.2939833999, -0.0000440511, 0.0871104151, -0.6241802573, 0.6420146227, -0.2652355731, -0.3849423528, -0.2536506355, 0.5707727671, -0.2990181744, -0.5569498539, -0.0060920818, 0.5729133487, 0.1319559366, -0.6007768512, -0.4426206946, -0.2298080474, -0.1485833228, -0.1356005818, 0.6244764924, 0.4131403267, 0.4913685918, 0.6583254337, 1.0495451689, 0.1642436534, 0.2324102968, -0.3762551844, 0.5470422506, -0.8671995401, -0.3619737625, -0.9149744511, 0.3982729912, 0.0540511571, 0.0279342402, 0.6307429075, 0.3474363983, 0.7313800454, -0.3987434506, 0.6755171418, 0.3359771669, 0.1517602503, -0.6653425694, 0.9941341281, -0.3294405937, -0.0917715207, -0.1191930249, -0.8957335949, -0.3274137378, 0.7770159841, 0.0556030869, -0.4279431999, 0.8569852114, 0.6991339922, -0.0568696484, -0.1280331165, 0.6269881129, 0.0999825895, 0.1993476748, 0.7758802772, 0.4713975787, -0.630053997, 0.8092357516, -0.3110415339, -0.3037965298, -0.2776648402, -1.0703834295, -0.5246458054, -0.488781184, -0.148055315, -0.6148443818, 0.1519703269, 0.8724291921, 0.6027427912, -0.8371036649, 0.000103025, -0.1057245582, 0.2579053044, -0.6550973654, -0.1205902845, 0.2814084888, -0.3742775321, -0.4403348267, 0.7887912989, 0.2039794922, 0.0243087709, 0.03050231, -0.1402269751, 0.0802773461, 0.2485683113, 0.7556852698, 0.1277952343, -0.4398236275, -0.0355595537, 0.1312113255, -0.2598547935, 0.0057553193, 0.9141736627, -0.4538672864, 0.0933444574, 0.6760281324, 1.0353368521, 0.3162336946, -0.2984834611, 0.7781493664, -0.6125148535, -0.2785311043, 0.2786337137, 0.4431252778, 0.0336241163, -0.4799079001, 0.4723369479, 0.4147061408, -0.5100929141, -0.8560299873, 0.2305015177, -1.1461749077, -0.3914406896, 0.9528982639, -0.2022870034, -0.3393460214, 0.3375249207, -0.2167803347, 0.460001111, -0.5059277415, 0.6415048242, 0.5037637949, 0.2160435021, -0.3071794212, -0.7275182605, 0.316729635, 0.3341953456, -0.263425678, -0.1496547759, 0.4939984381, 0.4180043638, 0.1734607071, 0.5209795237, -0.2973976135, 0.2349132001, 0.2123818547, -0.078248933, -0.4114837945, -0.3456510305, -0.5167155266, 0.4082186818, 0.0880528018, -0.2889445722 ]
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.4334945679, -0.5147017241, 0.9025990367, 0.2708021998, -0.4459919631, -0.1979373842, -0.4177382886, -0.4866036177, -0.2804800272, 0.2979904711, -0.2535875738, -0.4541969895, -0.6544121504, 0.2194494605, 0.0508781485, 1.2470611334, -0.1689638346, 0.4930133522, -0.2047013491, -0.3829636276, -0.6733656526, -0.5883702636, -0.8289912939, -0.5175802112, 0.5073529482, 0.4327241182, 0.3315258622, 0.0920913443, 0.410523355, 0.1910332888, -0.2388142347, 0.0375177898, -0.2971003056, 0.1153194755, -0.099909544, -0.4273101091, -0.3997558057, 0.2076777071, 0.7821356654, 0.4333785474, 0.031712763, -0.0602748245, 0.3241977692, 0.5621843934, -0.6889889836, 0.232578367, -0.4344250262, 0.0958584175, -0.1170852482, -0.1570351422, -0.7457488179, -0.2108000219, 0.0119327968, -0.6460876465, -0.2374863774, 0.0657128915, 0.427618742, 0.1738645881, -0.9024037123, -0.2069117427, -0.436124146, 0.984823823, -0.8445510268, -0.0683468431, 0.4002908468, 0.7409355044, -0.1303058565, -0.3905502856, -0.3642103076, -0.3024825156, -0.0658943877, 0.3168772757, 0.1638703495, 0.1967023164, 0.6235018373, -0.1625484973, -0.3122128844, 0.4008369744, -0.0150380051, -0.3379912078, 0.3045773208, 0.0208558477, -0.1925063878, -0.1762848645, -0.4905149043, -0.0733297765, -1.1767076254, 0.2919255197, 0.3168444932, 0.3400466442, -0.0899708569, 0.248324573, -0.2319096774, 0.737067759, 0.1148468256, -0.3739089668, 0.1350237131, -0.2511431873, -0.1385670751, 0.0745849386, 0.5920770168, 0.8438410163, 0.4454813898, 0.067154929, -0.2318085879, -0.1708334386, -0.0830782577, -0.9253910184, 0.2451317906, -0.0601858534, -0.296338439, -0.0789118409, 0.1376431584, -0.7782417536, -0.3239684999, -0.4638893008, 0.6247870326, -0.1648385972, 0.2114184648, -0.0772621855, -0.2349985093, 0.3303351402, 0.7194169164, -0.6009227633, 0.1023708507, 0.568128109, 0.6705652475, -0.1240234375, -0.3825737536, -1.0319279432, 0.1417274922, -0.296823293, 0.7505996823, -0.6672847867, -0.2759297788, 0.1115341187, -0.3386568725, 0.295753181, -0.6062395573, 0.5926663876, -0.4677198529, 0.1989807785, -0.5961163044, -0.5077970028, 0.0968213528, 0.611458838, -0.4540809989, 0.7592475414, 0.0638022944, -0.6238949299, 1.0463728905, -0.5230759978, -0.3613458872, -0.110148333, -0.5461830497, -0.4754356444, 0.0186116006, 0.5890569091, 0.3731786907, -0.1926921904, 0.2355797887, -0.4980805516, -0.7228460908, 0.1008796021, -0.685231328, 0.4414560497, 0.1338097155, -0.4613763988, 0.1920566559, -0.5374910235, 0.0074080266, -0.2825537026, -0.534489274, -0.2283641398, -0.2028560787, -0.0348551013, 0.555562377, -0.4347730279, -0.5867753029, 0.2554601431, -0.3157201409, 0.3410443068, 1.0600661039, 0.0299774054, 0.4209418595, -0.335730046, 0.5266132951, 0.2272118181, 0.0910915881, -0.5297288299, -0.4034336209, -0.541411221, -0.5378762484, 0.004579186, 0.0575959235, -0.91046381, 0.1351816803, -0.1075180918, -0.0506288968, -0.1792425513, 0.2117726207, 0.6328197122, 0.6867759824, 0.4416057169, -0.2097641677, -0.1105648428, -0.6948645711, -0.5410221219, -0.0311059877, -0.135319978, 0.4871207476, 0.4824873805, 0.2420844436, 1.0518125296, -0.1502227038, -0.2270206809, -0.0945631266, 0.0502016991, 0.2597303987, 0.2485883236, 0.7517451048, -0.3600049019, -0.5251013041, -0.2974252999, -0.8398649096, -0.2149661332, -0.0962132961, -0.0527073704, 0.0794988647, 0.5376017094, -0.5721871853, 0.3892257512, 0.1450152546, -0.4576373994, 0.7152963281, -0.0168808438, 0.3158251643, -0.8483107686, -0.2129972279, 0.2354773581, -0.4180862308, -0.3444910049, 0.1690215468, 0.2854726613, 0.1820966601, -0.8790197968, 0.8254120946, -0.307867527, -0.0888155624, -0.4302927256, 0.1334006488, 0.1774728298, 0.3867259324, -0.1258979887, 0.7687935233, 0.6453812718, -0.6944995522, 0.2124257684, -0.0500446856, -0.4922641218, 1.1583532095, -0.3957268298, 0.1358491033, -0.241273284, 0.9642034173, -0.7696164846, -0.045562204, 0.1462375969, -0.0812164098, 0.6124736071, -0.5193277001, -0.5103563666, -0.3166872561, -0.6962940097, 0.6361399889, 0.0570662059, -1.0604200363, 0.18761383, -0.2517829835, 0.0791348144, -0.8275933862, -0.5875831246, 0.1610021442, -0.5669952035, -0.3701860905, 0.1368470341, -0.371722281, -0.4171568751, -0.5748024583, -0.1409352571, 0.2912589312, 0.0989250392, 0.1507237107, 0.1975582689, -0.1174632311, 0.4608701169, 0.011457637, -0.1704995185, 0.096919477, -0.2009883523, 0.2475377172, -0.2256250829, -0.7309089303, -0.3272038996, 0.328217268, 0.7027605772, -0.0333889909, 0.4166086614, 0.1638124883, -0.1210824624, -0.3111814559, -0.6202069521, -0.3048041165, -0.4616564512, 0.2125563323, -0.5013677478, -1.059124589, 0.2532055974, -0.2073642313, 0.1915718168, 0.3156570494, 0.669991076, -0.1901317984, 0.822717607, 0.2840105891, -0.3541252911, 0.6355617642, -0.0873210207, 0.110222809, -1.1280472279, 0.0632189587, -0.3034429848, -0.4219355285, -0.3479165137, -0.2867594659, 0.6613907814, 0.1879421622, -0.5788320303, -0.2382665128, -0.1700113416, 0.7631418109, 0.432429105, 0.1930754185, 0.3524653316, -0.0208011046, -0.4634146094, 0.1929485947, -0.4580735266, -0.6163825989, 1.3457247019, 0.3594665527, 0.7187725902, 0.1845687926, 0.7013569474, -0.0501733273, 0.6297333837, -0.8717222214, 0.2671463788, 0.2651055157, -0.5965391994, -0.3157557547, -0.3174402118, -0.5720934868, 0.5928578377, 0.0039975517, -0.6399270892, -0.1000003368, 0.1467508227, -0.4835976958, 0.1463561505, -0.7155536413, 0.7108914852, -0.2616664171, -0.6512758732, -0.0643742979, -0.6970635653, 0.2913044691, -0.2094371915, 0.3343990743, -0.0631594062, 0.2164050788, 0.4465557635, -0.4142893255, 1.0214884281, -0.3690529764, -0.0005749066, 0.4438276887, -0.1332307309, 0.583812356, 0.3999558091, -0.4117671251, -0.0512098931, -0.2497113347, -0.3967551589, -0.5675772429, 0.8309306502, -0.6086289287, -0.5855919719, -0.462245822, -0.3717709482, -0.4188616872, -0.0523128621, 0.3593461215, 0.5380036235, 0.0260529853, 0.2027212232, 0.2648674548, -0.153614834, 0.7947521806, 0.6042771935, 0.0198623314, -0.1817864776, 0.243206799, 0.0104466323, 0.4162766933, 0.2071343362, 0.3621776104, -0.2062630206, -0.4598552287, -0.6571672559, 0.1674764901, -1.1354696751, -0.5140407085, -0.080455333, 0.2278787345, -0.2220708281, -0.2802850902, -0.0707824677, -0.2137121558, -0.2040100843, -0.367811799, 0.2965411842, 0.5587367415, 0.2556515634, 0.427950561, -0.4635616541, 0.029652888, 0.4369212091, 0.5921506286, 0.0715840012, -0.8860894442, -0.1415378898, -0.1491743624, -0.4116206765, -0.5326732993, 0.0362680517, 0.2203106433, 0.6188365221, 0.5566759706, -0.0903906599, 0.8295325637, -0.6998165846, 0.8728578687, 0.3588901162, -0.7769479156, 0.6672888398, -0.2979032397, 0.583525002, 0.6680250764, 0.1471445858, -0.4620493054, -0.5612488985, -0.0745262727, -0.6599742174, 0.8940601945, -0.1980523169, 0.2499702722, -0.2827817202, 0.5746316314, 0.1626630425, 0.1521436572, -1.0089608431, -0.0109220268, -0.1776266396, 0.0424531773, -0.1401489377, -0.350094527, -0.2859114707, -0.2115814239, 0.4264617264, -0.5174963474, -0.1970650703, 0.2063408047, -0.3148681521, -0.045037698, 0.6520251036, 0.5950024724, 0.7748494744, -0.0798403174, 0.3433560431, 0.3991098702, 0.0261695087, 0.079357028, -0.3558546901, -0.1432355791, -0.3017724156, 0.5800945759, 0.7979312539, 0.3533218205, -0.5916681886, 0.8250233531, 0.1176577806, -0.1419328004, -0.1083309352, -0.2393777817, -0.2099387199, 0.3458473682, 0.3295091391, -0.145328477, 0.1016405076, -0.758670032, 0.2932086289, 0.521497786, -0.4113678634, -0.0383678377, 0.4741862118, 0.2027734816, 0.1064648181, 0.6585888267, -0.3029505014, -0.4620787501, 0.5552746654, 0.7798121572, 0.615991056, 0.0322068222, -0.1110802591, 0.3498718739, -0.0039799968, -0.3116488755, -0.1495839208, -0.2013520449, -0.6608332992, -0.4404415488, -0.5818780661, -0.4429716766, -0.0546922795, -0.4508089721, 0.4695652127, -0.5638316274, -0.3259230852, -0.2389145195, -0.1945395321, -0.7025592923, 0.0451298058, 0.3764544725, 0.7166574597, -0.973651886, 0.8891677856, 0.4831232429, -0.4089336097, -0.7417280674, 0.0543420203, 0.3525844514, -0.545825839, 0.8747795224, 0.5755614042, -0.2297479659, -0.3934013247, -0.488868475, -0.5968401432, 1.1820909977, 0.4460055828, -0.5802512169, 0.2195307165, -0.184503302, 0.5916461945, -0.3414402604, 0.8944200873, 0.5470026135, 0.623278141, 0.3018727601, -1.1822417974, -0.0110766208, 0.049438864, -0.188738212, 0.0071233851, -0.6720919609, 0.558932066, -0.1975088269, 0.0917981192, -0.2651143968, 0.3563838303, 0.5813534856, 0.5729256868, 0.4645166099, 0.5070750713, 0.5516495705, -0.0586568043, 1.1990044117, 0.0070205014, 0.3202050626, 1.4436546564, -0.5537484884, 0.688970685, 0.7566974163, -0.1166187823, 0.2934510708, 0.4496110082, -0.007430919, 0.3599309027, 0.3805319667, -0.4906624556, -0.2386762947, -0.0471202508, -0.1156100407, 0.3821881413, 0.093145743, -0.272808224, -0.539419353, 0.2347830832, 0.1457191557, 0.1183546558, -0.4540051222, 0.6579614878, 0.3838524222, -0.8324173093, 0.3026746511, 0.064509429, 1.0444142818, -0.4540970922, -0.1136044338, -0.3373934329, 0.1576482207, -0.2195623517, -0.8277938962, -0.0444648452, 0.110369049, -0.1665724665, -0.2707921267, 0.3641624749, -0.1699246317, -0.3541739881, 0.4129112661, 0.3112350404, 0.226499632, -0.3475347459, -0.4790391326, -0.1547033936, -0.3080290854, -0.3053222001, 0.6855263114, 0.4242813587, -0.506457746, 0.6552730203, 0.376570642, -0.0596549697, 0.0602413006, 0.615001142, 0.8966815472, -0.5717867017, -0.3293893039, -1.159271121, 0.2691965401, -0.1263202429, -0.3376173973, 0.7378337383, 0.598972261, 0.9343878627, 0.1343155354, 0.5696891546, 0.4548940659, 0.1988361776, -0.7349591255, 0.5441459417, -0.407743901, 0.5149745345, -0.3179550171, -0.8398500681, -0.6066195965, 0.5917302966, -0.3652505875, 0.3891449571, 0.84188205, 0.6209101081, 0.1239515096, -0.4044907987, 0.5026475787, -0.1626283228, 0.7496304512, 0.7320680618, 0.926830411, -0.2261840999, 0.5249015093, 0.0944067389, -0.2772006691, -0.3732071817, -1.0063899755, -1.0195707083, 0.0557813235, -0.1923649907, -0.1395402998, -0.0265386347, 1.0393213034, 0.7345238328, -0.7028696537, -0.1369449943, 0.2844207287, 0.2125683278, -0.1031427905, -0.1707472205, 0.3740000427, -0.5878457427, -0.6605546474, 0.5095342994, 0.4714173377, -0.1861068159, 0.1639677286, -0.2483018488, 0.1573424786, -0.2258077711, 1.0454288721, -0.0370729119, -0.9659531713, -0.6983270049, -0.401450485, -0.1408637911, 0.4337905049, 0.7908902764, -0.9355357289, 0.7274576426, 0.1803425848, 0.3286855519, 0.5565706491, 0.0602390245, 0.5200694203, -0.9913074374, 0.1272342652, 0.2949984372, 0.6475152373, 0.1913586855, -0.1701136529, 0.2470349669, -0.0079665706, -0.5007011294, -0.4745463431, 0.3428136408, -1.0112295151, -0.3784193993, 1.4834603071, -0.2449747175, 0.2057208866, 0.0217519961, -0.3403423727, 0.1126296595, -0.5338907242, 0.7210350633, 1.1296466589, -0.162241146, -0.1570848078, -0.6201496124, 0.3242744803, 0.5160936117, -0.7393218875, 0.0405234247, 0.7830681801, 0.4564207792, -0.2454871237, 0.6574242711, -0.3932283819, 0.3330913484, -0.5257358551, -0.1359351724, -0.0040361979, -0.4160323441, -0.8349041343, 0.0091898888, 0.4814041555, 0.1716088355 ]
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.1947691292, -0.102528505, 0.7402237058, 0.2272914946, -0.3119919598, 0.3732307553, 0.4144607782, -0.4719523489, 0.5097542405, 0.6090308428, -0.9274902344, -0.1201421097, -0.7283940911, -0.3116663992, -0.8249877691, 0.5824939609, -0.3513482809, 0.1850768477, -0.1028150618, -0.089650102, -0.8681375384, -0.392473042, -0.0268953033, -0.7713688016, 0.0230230857, 0.0072462438, 1.0134536028, 0.6155780554, 0.493155092, 0.3411067128, -0.0372624546, -0.0812519938, -0.0383972488, 0.3051607311, -0.1528425813, -0.4310422242, -0.1872789264, 0.0982900411, 0.5291761756, 0.482537955, -0.1043273434, 0.0265331585, 0.0309458915, 0.5935865641, -0.5689758658, 0.5297990441, -0.0949907377, 0.4696478546, 0.1183692962, -0.1472148299, -0.0905872285, -0.456430912, 0.0349647254, -0.5438939929, 0.1847038865, 0.2765838802, 0.9006891251, 0.5784212351, -0.2309204489, -0.2699986398, -1.0758641958, 0.7693683505, -0.3711797595, 0.8226848841, 0.3746593595, 0.6917482615, -0.1018127725, -0.8648466468, -0.5503925681, -0.11994908, -0.3832770288, 0.3573752642, -0.0606855489, 0.0089714136, 0.3193069696, 0.2045879364, -0.5760373473, -0.2568089068, -0.0060250266, -0.317772001, 0.7751905918, 0.4883233011, 0.0018551953, -0.1090966985, -0.3874145746, -0.4181847572, -0.3269323111, 0.0747875646, 0.0616806857, 0.0456753485, -0.3461589813, 0.76286906, -0.0292483196, 0.2846014798, 0.1029279903, 0.027405642, 0.1284165233, 0.2754917145, -0.3594330251, 0.0524805784, 0.7168930769, 0.3142640889, 0.0020779476, -0.2713184357, -0.4533265233, 0.0658009425, 0.2617610991, -0.5114580393, -0.2203225642, -0.0453242287, -0.2995670736, -0.1772367209, 0.4519853592, -1.0444355011, -0.7865434885, -0.6181001663, 0.562879622, -0.5176234841, -0.0092761153, 0.1274331063, -0.5092990994, 0.3437558115, 0.0540353209, -1.0553555489, 0.3227375746, 0.7406324744, 0.7671955228, 0.1821559072, -0.1159512028, -0.1566518247, 0.3259446323, -0.4502178431, 0.7278614044, -0.8045999408, -0.7656402588, -0.0426225066, 0.1545900404, 0.0478444807, -0.244948566, 0.2819694877, -0.5482997298, 0.4341597557, 0.0329702124, -0.4618307948, -0.5917482376, -0.1594231725, -0.6974208355, 0.9075039029, 0.0017195232, -0.4724960327, 0.4634912312, -1.126401782, -0.5148796439, 0.0241450425, -0.1418975443, -0.2952378988, 0.3550032377, 0.3606217504, 0.5396988392, 0.2377930582, 0.2861063778, 0.1542981267, -0.2691206038, 0.2376490533, -0.6377230883, 0.0847886577, 0.2703852355, -0.3308743536, 0.3828355074, -0.726883471, -0.1198298931, 0.1466080546, 0.0078486204, 0.0093499683, 0.5567004085, -0.2649374604, 0.0238836128, 0.2257307172, -0.2551074922, -0.0395825952, -0.5646428466, 0.4889227152, 0.5935357809, -0.0187791884, 0.93565768, -0.1954369992, 1.0573644638, 0.0040823338, 0.1546930224, -0.4772931933, -0.6695153713, -0.6595169306, 0.3217171729, -0.0354478918, 0.7048757076, -0.9275089502, 0.1872297227, -0.6111113429, -0.4063049555, -0.2133352757, -0.4893171191, 0.0447528027, 0.1705036461, 0.4722604454, 0.1717477143, -0.5708249807, -0.3510857522, -0.3395503163, 0.0311719365, -0.4817845523, -0.1965769827, 0.4106636941, -0.1953616142, 1.1805210114, -0.7780596018, 0.2340155244, -0.2137285173, 0.5408605933, 0.1463926584, 0.2891503572, 0.1833589971, -1.0433348417, -0.1842477471, -0.0973705053, -0.5751199126, 0.2492946237, -0.2875025272, -0.0544809215, -0.2956451178, 0.5248506069, -0.4463610947, 0.6714727879, 0.783618331, -0.6722091436, 0.2684132755, -0.0976804495, -0.1121153608, -0.8905103803, -0.2526032627, 0.0197877157, -0.3909198642, -0.2225175798, -0.1140410975, 0.1737182736, -0.5498696566, -0.4079036713, 0.4837653339, -0.5021677017, -0.1554227918, -0.2237365097, -0.0041450872, 0.1088665202, 0.2772438824, 0.1500203013, 0.8435447216, 0.315644443, -0.6857404113, 0.3379619122, 0.2390041947, -0.3808128238, 0.1571803987, -0.3080020547, 0.0944453403, -0.2890401185, -0.2345333695, -0.4067097604, -0.5116547942, 0.2793112993, -0.4770126045, 0.5973839164, 0.0024914884, -0.174951449, -0.6476070881, 0.0033411561, -0.2152710408, 0.6427415013, -0.3521344066, 1.0386021137, 0.4444427192, 0.1724882126, -0.3314602077, -0.944601953, 0.0941951275, -0.2988764346, -0.2258403152, 0.5654780865, 0.0017484515, -0.1490421742, -0.0707939342, -0.0619558953, -0.088135168, 0.0204415135, 0.7601417303, 0.1024022326, -0.0440087765, 0.2041880488, 0.1464029402, -0.3800829053, 0.1934282184, -0.4015032947, 0.54529953, 0.0132506648, -0.4737375081, -0.3435968459, 0.3162390888, 0.8676591516, -0.2917559147, 0.4641164541, 0.5434598327, -0.4297858477, -0.036779128, 0.076786764, -0.2457665056, -0.5773794651, 0.3892217577, -0.2188770175, -0.7384414673, 0.3695034683, -0.2731663287, -0.0342769139, 0.4420487583, 0.2206167281, -0.4902987182, 1.1916842461, 1.194342494, -0.023078436, 0.6838354468, -0.4101379514, 0.3423457444, -0.703908205, -0.4319224656, -0.2651034594, -0.7256320715, -0.6502472162, -0.5016713142, 0.1736028045, 0.1049164534, -0.4797821343, 0.7440903187, -0.6547771096, 0.5330904126, 0.529191196, 0.1105711684, -0.0854288414, -0.3953412771, -0.1353599429, -0.1992166638, -0.4669379294, -0.7090984583, 0.5662565231, 0.5105986595, 0.8721479177, -0.1866898537, 0.4499007165, 0.1769413352, 0.3526317775, -1.0970253944, 0.5839626193, -0.1535622478, -0.3379802406, -0.3771885931, -0.0215964317, -0.7938057184, -0.0342025757, -0.2788241506, -0.7920525074, 0.3545868695, 0.2512740791, -0.5367228389, 0.4457235336, -0.5892834067, 0.5753777027, -0.4642195702, 0.2090432793, -0.0890955999, -0.6604686379, 0.0389249735, 0.1200745776, 0.1974275708, -0.1884054542, 0.0353948101, 0.673432827, -0.3144011199, 0.8381002545, -0.1683693677, 0.1645120233, 0.3558836877, 0.110622175, 0.4849640131, -0.2465046495, -0.08137732, 0.1460949779, -0.0041829837, -0.0429618396, -0.699700892, 0.2401765436, -0.2757221758, -0.2915482223, -0.4623807669, -0.4450129569, -0.1648734808, 0.0585079752, 0.4537225962, 0.3847130835, -0.1190366969, -0.2710283995, 0.4230892956, -0.1305842698, 1.1228108406, 0.234874472, -0.4927071631, -0.4685453176, 0.9404756427, 0.0111285206, -0.1177137792, 1.0269912481, 0.4593806565, -0.4744614661, -0.4185954034, -0.322983712, -0.008293841, -0.5275425315, -0.3031264246, -0.2476951033, -0.1101591811, -0.3397913277, -0.12035238, -0.1847258955, -0.5235906243, -0.4797222912, -0.387460798, 0.2251705527, 1.3253692389, 0.1226057112, 0.8275290132, -0.9896230102, 0.2575434148, 0.4972933829, 0.4690694511, -0.4054617584, -0.3213395178, -0.6068153977, 0.0881143138, -0.9812354445, -0.8607119918, 0.8922502398, 0.1686323732, 0.4303148389, 0.5603684783, -0.1490710974, 0.8341988921, -0.7216513157, 1.1809436083, 0.3616820574, -1.0812802315, 0.7558603287, -0.0540452339, 0.5064110756, -0.1270355582, 0.448497951, -0.5210446715, -0.1530193388, -0.561909318, -0.4466954172, 0.318519026, -0.0111050755, 0.4409148097, 0.1555423737, 0.1414867789, -0.144677788, 0.4131453335, -0.5233052373, -0.2396161407, -0.6385201812, -0.2830410898, -0.1382083446, -0.5387715101, 0.1763900369, -0.10260766, 0.3098359406, -0.1142763644, 0.8045104742, -0.1274400353, 0.1019009054, -0.2463745028, 0.0066889212, 0.9165136218, 0.4439053833, -0.0012705915, -0.0444278941, 0.0996657163, -0.8893802166, 0.0809460804, -0.0075876671, -0.1137839481, 0.4178189337, 0.4292939305, 0.8950292468, 0.4708450437, -0.3576184213, 0.2627365887, 0.1090288088, 0.0647215322, -0.4239697158, 0.0265364274, -0.0371105336, 0.518856585, 0.3188596964, 0.5546739101, 0.1266192347, -0.28163293, -0.0512700081, 0.1388419569, -0.9463268518, -0.6813753247, 1.2060278654, -0.0329463445, -0.3958094418, 0.3688140213, -0.1843810976, -0.7333719134, 0.4359391928, 0.2804422975, 1.3837918043, -0.3645795584, 0.1271149963, 0.2580609024, 0.2655659616, -0.2730220556, 0.5374065042, 0.2301600873, -0.8137267828, -0.6533382535, -0.7816086411, -0.4429530203, -0.2120707184, -0.5916953087, 0.4051153064, -0.3681496382, -0.4157642126, -0.2587919235, -0.4169872105, -0.6231445074, 0.4578476846, 0.4564638138, 0.9545622468, -0.8492388129, 0.657342732, 0.790707767, -0.2071374059, -0.7251170278, 0.1868506521, -0.0695805848, -0.630640626, 0.4953977764, 0.158712253, -0.2458462566, -0.1859986186, -0.7327594161, -1.0512697697, 1.3461008072, 0.5491425991, -0.5468602777, -0.1820061654, 0.2057539821, 0.307885617, 0.001279074, -0.031727735, 0.3347256482, 0.6423584223, 0.305930227, -0.6175817847, -0.4297128618, 0.1568659842, 0.0906274989, 0.6729072332, -0.1795043498, 0.5640124679, -0.048725415, -0.5427398682, 0.0189085379, 1.0484074354, -0.2452859879, 0.6113488674, 0.1431968659, 0.4782619476, 0.8498405814, -0.5290713906, 1.1803129911, -0.4416555166, 0.2861316502, 1.261469245, 0.0379459858, 0.8029367924, 0.35844329, -0.5170418024, 0.8391275406, 0.4052528143, 0.0986002386, 0.862704277, -0.2121159434, -0.2483914942, -0.0897102654, 0.3124583066, 0.0033672249, 0.609685421, 0.5173301101, -0.3044439554, -0.0108860759, 0.3916074634, -0.2303000391, 0.2051656842, -0.5328832269, 0.6228792667, 0.2058500648, -0.2296727747, -0.0969032347, -0.0786907449, 0.5066438913, -0.6906964779, -0.3839933276, -0.1181917191, -0.1350910813, -0.0082752872, -1.08129704, 0.8098592162, -0.3038842678, -0.1919122636, -0.7001777291, 0.3902345002, 0.0193966161, -0.6725432873, 0.0625129715, 0.1339900047, -0.009746368, -0.3226482272, -0.4947212338, -0.3263483942, -0.1592527479, -0.0779532343, 0.0063689426, 0.5937213302, -0.3427672386, 1.1808232069, 0.1051195115, 0.0852182806, 0.2191171646, -0.1531878412, 0.7078724504, -1.0306073427, -0.6035514474, -0.6815845966, 0.7657763958, 0.1875317544, -0.0068505215, 0.4492380917, 0.3070640862, 0.5737380981, -0.3237050772, 0.4688450098, 0.0471307375, 0.542460382, -0.659278214, 0.8009285331, -0.1060005128, 0.1340828985, 0.0018259863, -0.6219272017, -0.2796367407, 0.4001721442, -0.397184819, -0.067103222, 0.6915867329, 0.4116735458, 0.0992592499, 0.2897012234, 0.7221782804, -0.0707834437, 0.2365843654, 0.1600834727, 0.9056108594, -0.4325221181, 0.1978747398, -0.5579767227, 0.1100419462, 0.0645588711, -1.2563021183, -0.4299148619, -0.6707391143, -0.2212672085, -0.0144460239, -0.2376309335, 0.8588503003, 0.8677765131, -1.2022565603, -0.1333488375, -0.2376875877, 0.1630651504, -0.4949771762, -0.2422039956, 0.2005689293, 0.0313012153, -0.7067635655, 0.8481105566, 0.2308459729, 0.6183858514, -0.3831793964, -0.1346572042, 0.4338441193, -0.1360853761, 0.789270401, 0.1213440001, -0.5355481505, -0.4240236282, 0.0039146137, 0.3459999263, 0.0829261318, 0.9604038, -1.1972655058, 0.4318339229, 0.3770053983, 0.0466211289, 0.5136345029, 0.0851827189, 0.9296869636, -0.7360244989, 0.2652930021, 0.4496054649, 0.5369893312, 0.2581294179, -0.477977097, 0.4564692676, 0.1358884424, -0.4043827057, -0.1921533644, 0.2245938927, -0.697589457, -0.0753647536, 0.4450608194, 0.1082173362, -0.1094964668, 0.0937730744, -0.0460641719, 0.3030878007, -0.2168942541, 0.60683465, 0.3880512118, -0.3352436125, -0.5494533181, -0.7810424566, 0.4029320776, -0.3001461327, -0.3389261365, -0.2985828817, 0.2315720618, -0.2830724418, 0.3799223602, -0.2837745845, -0.0948976576, -0.2072435915, -0.0938971266, 0.0554357208, -0.0154004162, -0.3845044971, -0.5778889656, -0.0213999823, -0.2086008191, -0.5465530753 ]
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.5290727615, -0.6963902116, 0.4662665725, 0.283741802, -0.0567021035, 0.4442743957, -0.2130133808, -0.6687021852, 0.6827261448, 0.2856693268, -0.6853265166, -0.5094477534, -0.7128884792, 0.0850993246, -0.0696589202, 0.6975137591, -0.0832709298, 0.1973866969, -0.1344456375, -0.5355117917, -0.4304461181, -0.5842838883, -0.4848415554, -0.4861632586, 0.4107507467, 0.5469167233, 0.8724506497, 0.5055055618, 0.544223547, 0.1674388796, -0.6910871267, 0.4392473102, -0.3123173714, -0.1373784095, -0.2882722616, -0.8294936419, -0.1124930307, -0.1250565648, 0.515791893, 1.219191432, -0.2471115589, 0.2348657846, -0.2297909856, 0.6757031679, -0.5332620144, -0.1778289229, -0.6523640752, 0.4985843003, -0.2655873597, -0.1439128965, 0.220318839, -0.3672947288, 0.320487231, -0.4526780248, 0.4173295498, -0.0724616945, 0.767005682, 0.3498359621, -0.662691772, -0.3349908888, -0.938369751, 0.8064115047, -0.6327079535, 0.17515935, 0.5109701157, 0.0511843376, -0.2257591337, -0.6616256833, -0.328561157, -0.1198652685, 0.266623795, 0.0714335814, 0.1041165143, -0.5540705323, 0.2966491878, 0.689399004, -0.283149302, 0.1860470921, -0.3706072271, -0.2617121637, 0.5016325116, 0.4874236882, 0.7319620252, 0.0315895304, -0.230660364, -0.120792143, -0.8023644686, 0.2851783037, 0.2832081616, 0.2327373922, -0.1855944842, 0.3392435312, -0.2094410658, 0.5047661662, -0.3091098666, -0.1954887509, 0.2511204183, -0.2750840485, 0.0206522346, -0.3867994845, 0.3348126411, 0.3872509897, -0.1676039994, -0.1463869661, 0.0508107208, 0.034040872, -0.0044491789, -0.4628253281, -0.0973364413, -0.1334943473, -0.3190726936, 0.0199552588, -0.1928211004, -0.7573913932, -0.7347914577, -0.1832592636, 0.0053893747, -0.2128526866, -0.5489934683, 0.2705642581, -0.3029416502, 0.5070902705, 0.0728203654, -1.2434062958, 0.3377830088, 0.6044564843, 1.0326875448, -0.3035453856, -0.3745122254, 0.1913580149, -0.1851352304, -0.6959118843, 0.6603115797, -0.4764043987, -0.6480398178, 0.0944912806, -0.1654468179, 0.3425998688, -0.6509722471, 0.2673102319, -0.3206793666, 0.1334589869, -0.9277119637, -0.5233339071, -0.2880616188, 0.3837217391, -0.7360158563, 0.965459764, 0.2726208866, -0.9885653257, 0.7083719373, -0.4128809273, -0.2181522399, 0.2978512049, -0.456666708, -0.0956475884, 0.3327049315, 0.3290743232, 0.1305421442, -0.578315258, 0.1851606816, -0.306889236, -0.3150741458, 0.1865262836, -0.184164077, 1.1240452528, 0.3500430286, -0.3024479151, -0.2186949551, -0.6598679423, -0.1430937052, 0.206563741, -0.4412517548, -0.5105578899, 0.361115396, -0.1295634508, 0.0927546769, 0.5847079754, -0.43871665, 0.2809809148, -0.4061141312, 0.3302800953, 0.2849150002, -0.1192338839, 0.6128896475, -0.5113947988, 0.8341537118, -0.0143091744, 0.0505667701, 0.3271743059, -0.6070272923, -0.865188539, 0.1483993977, 0.1072503552, 0.4047067165, -1.0248823166, 0.1253574491, -0.1593161374, -0.8277464509, -0.4821017981, 0.0570977256, -0.0688797235, 0.5113325715, 0.1603874415, -0.6576468945, -0.4720903933, -0.7522735, -0.0225947592, -0.050895907, -0.2080933303, 0.221717447, 0.3103806973, -0.0888346657, 1.0244899988, -0.6283718944, -0.267503202, -0.538738966, 0.1478253007, 0.146407634, 0.2744448185, 0.5472208858, -0.6976571083, -0.3920466602, 0.0992325172, -0.5915253162, -0.0374998748, -0.0377405286, -0.1458463222, 0.0643533915, 0.4523289204, 0.1998467594, 0.3938586116, 0.6863521934, -0.4569303095, 0.4606513679, -0.2056933641, 0.0647455901, -1.4861898422, -0.2296099514, 0.0137232114, 0.1689535826, -0.6330059171, 0.2342025787, 0.081954293, 0.0569598787, -0.4031140506, 0.3793188334, -0.2969155908, -0.1700681001, -0.1351980716, -0.0222142152, -0.1940738857, 0.3540115058, 0.398093015, 0.7152606249, 0.6942277551, -0.5797066689, 0.1650703251, 0.0692673028, -0.7784475684, 0.5298544168, -0.4156018198, -0.0757991225, -0.1076784506, 0.3377461731, -0.4920485318, -0.2427683324, -0.2215434313, -0.2394053638, -0.1510774642, -0.1252267063, -0.509986937, -0.2180238217, -0.0178349186, 0.4690672755, 0.5150860548, -0.4523319006, 0.5787927508, 0.460583359, -0.0442729853, -0.7590410709, -0.9971576333, 0.1225001663, -0.5632041097, -0.7791929245, 0.3453815579, -0.3226397336, -0.4490942359, -0.3286369145, -0.140343532, -0.2956480682, 0.4363930821, -0.0026575341, -0.0998444632, -0.2954660952, 0.3182160258, -0.0591967404, 0.3685187101, 0.2352694124, -0.1905034184, 0.7286705971, -0.2472814322, -0.4764533937, -0.077800259, 0.5282899141, 0.3319645822, -0.3187445402, 0.861953795, 0.6351106167, -0.3202746212, -0.4102884829, -0.542929709, -0.0268193986, -0.4615150988, 0.5206445456, -0.1014425978, -1.0686926842, 1.0446903706, -0.2080753148, 0.1416306794, 0.3554381132, 0.8128684759, -0.0292002037, 0.4882702231, 1.1386196613, -0.0329170488, 0.4748420119, -0.1304612011, 0.0764477402, -0.5070682764, -0.2283942401, -0.5018037558, -0.5936670303, -0.970708549, -0.5908865333, 0.4319579899, -0.0608658642, -0.2281534225, 0.0280384943, -0.1902439594, 0.764419198, 0.740359664, 0.03775841, 0.3036925793, 0.0365056768, -0.3422548473, -0.300177902, -0.8713448048, -0.307290554, 1.098811388, 0.42483145, 0.7987293601, 0.4157290757, 0.8735541105, 0.1286719292, 0.1723140627, -0.8323816657, 0.2409499884, -0.3130770028, -0.6043284535, -0.3394068778, -0.372240454, -0.8206502795, 0.2574053705, -0.2260849774, -0.5667179227, 0.2524674535, 0.0134429364, -0.1149709746, 0.672796905, -0.470973134, 0.4399707913, -0.0995692536, 0.0795888752, 0.0508811772, -0.6816236377, 0.3132760823, -0.0590732582, 0.3032053709, -0.2265584469, 0.0685008988, 0.6334249973, -0.3741629124, 1.0599625111, 0.1823508888, -0.3786732256, 0.3357612193, 0.4223365486, -0.0732533857, 0.1764139384, -0.012479689, 0.2323224843, 0.0226483755, -0.5503104925, -0.4728815556, 0.5171834826, -1.010425806, -0.5204856396, -0.1882996261, -0.9896419644, -0.3438563943, -0.2921584547, 0.4521995485, 0.1831956208, -0.260122925, 0.2715783417, 0.8089630604, -0.3457303643, 0.5826419592, 0.6564708352, 0.0039881435, -0.1755499393, 0.7125717998, 0.2915122509, 0.237100333, 0.3948538005, 0.4807013273, -0.0031306273, -0.3375775218, -0.1369223893, 0.0787471384, -0.9210053086, 0.219898507, -0.2241389006, -0.0437401496, -0.2382997423, -0.352891922, -0.2942247093, -0.328278631, -0.2733818889, -0.124016583, 0.2269578874, 0.9288105369, -0.3595102131, 0.3713851273, -0.5114537477, -0.1679544002, 0.4590124488, 0.3161831498, 0.0734895691, -0.6004830003, -0.3044084311, -0.0554460846, -0.1675207317, -1.0292134285, 0.5527175665, -0.0742620304, 0.4532338083, 0.1718806624, 0.0426624008, 0.6868599653, -0.2882649004, 1.1143064499, 0.0763466433, -0.9016682506, 0.4765296578, -0.1503221691, 0.6959002018, 0.403329134, 0.5624284744, -1.0553135872, -0.5503441095, -0.588922739, -0.9786109924, 0.3051050007, -0.1098329872, 0.3532635868, -0.1195897013, 0.1922952831, 0.0796062946, -0.1525025517, -0.9973601699, -0.3752168119, -0.001095862, 0.1005200073, -0.0990676954, -0.2394329011, -0.4836304188, -0.1283789873, 0.3293929994, -0.0942941681, -0.1498274952, 0.204924345, -0.0792222321, -0.0299187899, 0.1519140899, 0.6076617241, 0.8554120064, 0.1266645491, 0.1274564862, 0.5578788519, -0.4367817044, -0.0991608128, -0.2459964454, -0.1971003413, -0.1155913696, 0.473449707, 0.670014143, -0.2288701087, -0.4854703546, 0.1653846502, -0.2749835849, -0.3471269011, -0.4622350931, 0.0442969501, 0.4864186347, 0.3915109634, 0.3171960115, -0.3127914369, -0.0863276199, -0.5184943676, 0.0382889397, 0.3330475688, -0.2687599659, 0.0409771912, 0.4307081699, 0.1556397825, -0.3286517859, 0.7061869502, -0.2199157476, -0.3873206675, 1.136947751, 0.571148634, 0.4934331477, -0.0425547808, 0.3604273796, 0.1965163499, 0.51976794, -0.1567728966, 0.513479054, -0.1421603709, -1.0177688599, -0.4853999615, -0.6361089945, -0.7883614302, 0.0174277853, -0.7351379395, 0.1997894943, -0.3827175796, -0.2130225599, -0.3552393019, 0.0976848304, -0.9083449244, 0.3000980616, 0.3089021146, 0.9135379195, -1.2632493973, 0.6756794453, 0.7567355633, -0.2776185274, -0.993792057, 0.1967253238, -0.0155864796, -0.8036172986, 0.6018010378, -0.1543454677, -0.0856919438, -0.3661415279, -0.820980072, -1.2348541021, 1.2015399933, 0.0492793247, -0.2478627414, 0.2615348995, 0.301525712, 0.9296404123, -0.3957664073, -0.0374595821, 0.5973290205, -0.0378222801, 0.2840459049, -0.7326076627, -0.2976571321, 0.0274476223, 0.2457806468, 0.0995824337, -0.6294376254, 0.9702631235, -0.1277955025, -0.0843852162, -0.2053328902, 0.8875439167, 0.229157567, 0.2173845321, 0.4601996541, 0.5694528222, 1.0379029512, -0.1696884632, 0.819621563, -0.2628649175, 0.3630014956, 1.2249382734, -0.1018347666, 0.6030625105, 0.3479623795, -0.3113226891, 0.6852124929, 0.9825487733, -0.0899874717, 0.1117787585, 0.5800384879, -0.4980400503, -0.196493268, -0.3436951637, -0.4139207602, 0.8366946578, 0.7456975579, -0.2692649066, -0.1918301135, -0.2983734012, 0.2450196892, 0.1198399439, -0.3232282996, 0.5894966125, -0.0968719125, -0.5987930894, 0.581866622, 0.0549775101, 0.9516013861, -0.7221330404, 0.2780164778, -0.8816866279, -0.5235410929, -0.2230526358, -0.6220381856, 0.4578890502, -0.0571826175, -0.2127532512, -0.0132688442, 0.2181473672, -0.4477077723, -0.5333274603, 0.205274716, 0.882486701, 0.2317401022, 0.4093279243, -0.3685726821, -0.1899176985, 0.1820308417, -0.1216253191, 0.4811380208, 0.6515568495, -0.3058137298, 0.8426643014, 0.4445207715, 0.2286161482, 0.2449183464, 0.2700037062, 0.4200110137, -0.5564460754, -0.6332865357, -0.6658867598, 0.1624132097, -0.1008832827, -0.6197037697, 0.415680021, 0.0388750955, 1.0120111704, 0.0619650707, 0.6021307111, -0.447245419, 0.3103843033, -0.3866717815, 0.6631703973, -0.8752141595, 0.2962836325, 0.1034900621, -0.809589684, -0.4816085398, 0.4701000154, -0.0653096139, -0.100511305, 0.8788512349, 0.7459990978, 0.3128147125, 0.0003095778, 0.4837968349, 0.084402211, 0.3714640141, 0.4482810199, 0.6481149793, 0.3082865775, 0.4659626782, -0.6623384356, -0.2636784613, 0.2638941109, -1.1268957853, -0.5843477249, -0.75010252, -0.2211006731, -0.2796187699, -0.4631789923, 0.9395790696, 0.462230891, -0.5374251008, -0.5933964849, 0.0785005242, 0.2974425554, -0.3849344254, -0.2278446704, 0.2540934086, -0.3994012475, -0.9519017339, 0.3125378489, 0.0218117014, 0.2769549191, -0.6751247048, 0.4207467139, -0.0033352645, 0.1656011641, 0.4232029319, 0.4291689694, -0.8041359186, -0.1802786887, -0.1585296094, -0.0056400299, 0.0132282572, 0.9414369464, -0.4961580932, 0.5229692459, 0.5877974629, 0.846128583, 0.2983908653, -0.4053123295, 0.7889912128, -1.0519970655, 0.0880163461, 0.1846161038, 0.5362962484, 0.5602199435, -0.2479798496, 0.7400739193, 0.2431146652, -0.686804533, -0.201146856, 0.6879963875, -0.8532302976, -0.4158675671, 1.2104393244, -0.1105558649, 0.092012845, -0.168364048, 0.1275300235, 0.1193944067, 0.0093925605, 1.3036204576, 1.074493289, -0.0803707391, 0.2316890061, -0.6002708673, 0.5979205966, 0.6459999681, -0.7605440021, -0.2602843046, 0.4395526648, 0.5761094689, 0.2332871407, 0.5614758134, 0.0859462172, 0.0703902841, 0.0380057953, 0.2518805861, 0.4743531346, -0.0506793186, -0.2979224324, 0.1921511441, 0.0814104378, 0.1513566971 ]
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.9630795121, -0.4060118198, 0.1776594818, -0.0622741766, -0.100717023, -0.2945750654, -0.037167944, -0.4046082497, 0.078352958, 0.4084367752, -0.93583709, -0.1776173711, -0.338830471, -0.0843434185, -0.7211485505, 1.04738307, 0.2315305024, 0.1788438261, -0.321359247, 0.1307233125, -0.2390990704, -0.5391916633, -0.5553888083, -0.0719948336, 0.6712419391, 0.3469360769, 0.5464803576, 0.2826986313, 1.0035282373, 0.2643079162, -0.2956953347, 0.8441408277, -0.6931126118, -0.1291027963, -0.1733248979, -0.5384177566, -0.7019144893, 0.5481805205, 0.7996413708, 0.7846125364, -0.1501422375, 0.2640849948, 0.1495907903, 0.6597054601, -0.9035989642, -0.2677973211, -0.3821133971, 0.2652057111, 0.0398077145, -0.1656560451, -0.6384502053, -0.6272732019, 0.0413715579, -0.3797610402, 0.591047287, -0.1805393398, 1.0379480124, 0.5009694695, -0.5854914188, 0.5485365391, -0.9485993385, 1.0578912497, -0.6815450788, 0.3615131378, 0.3648964465, 0.2466764301, -0.1505248249, -0.4313887954, -0.3183635771, 0.0256944001, 0.0809364691, -0.01297013, 0.0391827896, -0.1625576168, 0.0124849835, 0.5493121147, 0.1069027334, 0.1064245552, -0.8258682489, -0.1535508484, 0.9551150799, 0.1362355798, -0.1411423534, 0.0945945606, -0.3468743861, -0.1700077355, -0.9047387242, -0.1633164585, 0.4428253174, 0.3607962728, 0.1308691502, 0.6802967191, -0.1650454849, 0.8478317261, 0.5091987252, -0.1342082322, 0.3791984916, -0.6188285351, -0.2742248476, -0.5687708259, 0.5987715721, 0.8586762547, 0.0434041843, 0.0978552327, 0.0795088187, -0.6961807609, 0.4685601592, -0.9535232186, -0.5754887462, 0.1955349892, -0.5410889983, -0.6388322115, 0.1308073103, -0.6265027523, -0.3555538356, -0.4182921648, 0.4739974439, -0.312749356, -0.3859660029, -0.125905484, -0.0567644201, 0.0309707634, 0.5201559067, -0.4026063681, 0.0177453998, 0.7127119303, 0.7773208618, -0.1160684377, -0.3137332797, -0.9016400576, -0.1474091858, -0.4425542355, 0.4973556101, -0.251619786, -1.0123543739, -0.2646858096, -0.0930681527, -0.150325194, -0.6253884435, 0.7266353369, -0.4312445223, 0.3843495846, -0.3633043468, -0.5564491153, -0.7122988701, 0.1140411347, -0.8256984353, 0.8325179815, 0.0571158119, -0.6445198655, 0.5733559728, -0.1677874625, -0.0337272026, -0.1731696725, -0.0187394544, -0.7158865333, 0.390594691, 0.222284779, 0.4069679379, -0.4689637423, 0.0409747139, -0.3945504427, -0.3262878358, 0.1376634091, -0.4079350531, 0.5632026196, 0.2836088538, 0.225386709, 0.1390209794, -0.628947556, 0.3556186557, -0.3888301849, -0.1287763119, -0.0656313598, -0.0707035884, 0.0508925542, 0.1585012227, 0.2209991962, -0.1664678603, 0.5773358941, -0.3206744492, 0.1843465716, 0.3101133108, 0.2382722497, 0.8852561116, -0.8448214531, 0.3068770766, 0.0672430322, 0.5124278069, 0.2409664243, -0.5286875963, -0.6528226733, -0.8445575237, 0.8859883547, 0.2742801011, -0.4311704636, 0.7101191282, -0.3688752353, -0.8883917332, -0.6539142728, -0.2092466056, 0.2404973805, 0.5570976138, 0.3627336025, -0.4352560639, -0.156299904, -1.150359869, 0.0598871149, -0.0445906296, -0.4575937092, 0.2889273763, 0.0842671543, 0.2876545489, 1.2951434851, -0.7416271567, -0.5808274746, 0.0061697089, 0.3704092205, 0.185038805, 0.7829388976, 0.6846615076, -1.0103749037, -0.3875670433, -0.0661980808, -0.3982078433, -0.0936255902, 0.1150107309, 0.0624255873, -0.1426211596, -0.0326565057, -0.6536717415, 0.678040266, 0.5118548274, 0.0362882838, 0.7790449858, -0.1727545112, 0.8819410801, -1.3987746239, -0.0120504219, 0.0264293738, 0.1141660511, -0.9473116994, 0.2351307571, 0.3788062036, -0.0942306146, -0.7806124091, 0.2078127414, -0.5561485887, 0.0830334499, -0.2259650677, -0.2652179003, 0.1871316284, 0.2662660778, -0.0835036933, 0.8138788342, 0.3227445483, -0.6076762676, 0.131258294, 0.2144187987, -0.0711835697, 0.3977263868, -0.3041446507, -0.0626979545, 0.0687592775, 0.1406001151, -0.7182314992, -0.0579995327, 0.116723083, -0.5110659599, 0.2111324072, -0.5267130136, -0.3700356781, -0.2048199624, -0.6886425018, 0.4589818418, 0.5830569267, -0.4381426573, 0.8403764367, 0.2724338472, -0.1038763449, -0.4930808246, -0.6329007745, -0.3333339691, -0.5253163576, -0.7552120686, 0.5733655095, -0.1621762961, -0.030748466, 0.0730058104, -0.1683612317, -0.632217288, -0.2005486488, 0.2455365956, 0.7523325682, 0.324277252, 0.3990795314, 0.2539308071, -0.001771395, -0.2223933786, 0.107355535, 0.3644770682, 0.290384233, -0.3769363463, -0.8439545631, 0.2743956149, 0.9161248803, -0.3736815453, 0.9695520997, 0.619776845, -0.1015853211, -0.1335191727, -0.7715178132, -0.6658491492, -0.4081420004, 0.2938901186, -0.6727679372, -0.630926609, 0.669480741, -0.4122965336, 0.5875811577, 0.2939099669, 0.2415486276, 0.1606741697, 0.8924770951, 0.9489766359, -0.1825005561, 0.4392187297, -0.5464645624, 0.6563534737, -0.8629395962, -0.288903296, -0.6098700762, -0.5728749633, -0.2084483951, -0.9043357968, 0.2733095586, 0.2954612374, 0.175163433, 0.3063752651, -0.7795732021, 0.4152227044, 0.5157395601, 0.1043216959, 0.3867110312, 0.3166172802, 0.1814590245, -0.338647604, -0.7625735402, 0.172906965, 1.1010454893, 0.0924492404, 0.5390495658, -0.0985993296, 1.0014110804, -0.0432442427, 0.3309318423, -1.0483791828, 0.717099309, -0.0992449895, -0.4153093398, -0.2404618412, -0.7910935879, -0.4737304151, 0.6372014284, -0.5991185308, -0.365514487, 0.7059027553, 0.1202571094, -0.6974388957, 0.4436213672, -0.7859102488, 0.1988020539, 0.5460980535, -0.2591528296, -0.4586952329, -0.1064422205, 0.5700370073, -0.5397165418, 0.2929136455, -0.3723501563, -0.2608069777, 0.5257077813, -0.773480773, 0.5602225661, 0.0801360086, -0.1879051924, 0.203741774, 0.3947557807, 0.6078573465, -0.1791294813, -0.2113898396, 0.3716975451, -0.1414090842, 0.0050047655, -0.7775580287, 0.8132363558, -0.58175385, -0.4037281573, 0.0461041182, -1.013201952, -0.1510656178, -0.1553730518, 0.3894344568, 0.6981453896, 0.2619485557, 0.3308882117, 0.1854032576, 0.3790540993, 0.1402597725, 0.6185119748, -0.3982129097, -0.6703985333, 0.6983444691, 0.4152899384, 0.216980502, -0.0151862148, -0.0608185269, -0.2500093579, -0.5412015915, 0.0906446278, 0.3271577954, -0.2983237505, -0.5302119851, -0.3323269188, -0.4825927615, -0.2013378441, -0.234306857, -0.4967515469, -0.6025027633, -0.1597260088, 0.157760039, 0.4884086847, 0.2863512635, -0.4415948391, 0.2867775261, -1.3419049978, -0.1680138409, 0.1312189102, -0.1609291881, -0.0174319521, -0.7239687443, -0.1739032865, 0.0993237793, -0.0906265676, -0.9824552536, 0.7517651916, 0.1794174165, 0.3820619881, 0.3777704239, 0.4150136709, 0.9655814171, -0.2720276117, 0.5863256454, 0.5374167562, -0.7319267988, 0.4284986854, -0.2456689775, 0.0091169141, 0.6594100595, 0.5367432237, -0.1374447048, -0.532289803, -0.608851552, -0.8639596105, 0.6542981267, 0.4055474699, -0.373385191, 0.136152029, 0.3532039225, -0.276491046, 0.2775338888, -0.0234240275, -0.1808452308, 0.6256518364, -0.1512816101, 0.0200692341, -0.116024211, -0.6500858665, -0.6035972834, 0.4299114347, 0.1446748078, -0.1906565577, 0.0822019652, 0.1033982188, 0.0479734279, -0.1347411275, 0.2207881212, 0.6432616115, -0.0507248119, -0.173305735, 0.3284110129, -0.4948375225, -0.0015751309, -0.0074758925, -0.4826100171, -0.0230930764, -0.0088439221, 0.1412348449, 0.4967814982, -0.2104740888, 0.2913696468, -0.0634605438, -0.8366670609, 0.1935442388, 0.1229454949, -0.1008506268, 0.3099615276, 0.4960605502, 0.5808581114, 0.3824027777, 0.0318909436, 0.3468058705, 0.2844923437, -0.1447747797, -0.1609359831, 0.4165306687, 0.5939122438, -0.1656394005, 1.0643098354, -0.0859661624, -0.206465587, 0.737899065, -0.0795253515, 0.7720533013, -0.2651762068, 0.0845647454, 0.6799026728, -0.0318859741, -0.2109593302, -0.043785166, -0.1679569185, -0.7035204768, -0.8987161517, -0.3472953141, -0.3918727338, 0.0245461296, -1.022887826, 0.3074377775, -0.2144354582, -0.7926861048, -0.103324078, 0.3607958853, -0.3179742396, -0.1191363633, -0.3641325831, 0.9000065327, -0.8480088711, 0.7920303345, 0.517472446, -0.3611873388, -1.0508041382, 0.0458954275, 0.4372445941, 0.0360039957, 0.7417253256, 0.1881719679, -0.0547274612, 0.2742236555, -0.2370243967, -0.8779805303, 1.0947737694, 0.1882490814, -0.6396700144, 0.1321213841, -0.6009064317, -0.0413834043, -0.257027626, 0.0396695361, 0.7144704461, 0.3679663837, 0.6750961542, -1.2930628061, -0.2426173836, -0.188218981, -0.2257637829, 0.8264729381, -0.4871369004, 1.1159328222, -0.437851131, -0.3551032245, 0.3534107506, 0.6217566133, 0.3502168357, 0.0011918496, 0.5396163464, 0.8747153282, 0.9085233212, -0.1638816148, 0.5144923925, -0.7125717402, 0.8742822409, 1.0993452072, -0.2714733183, 1.0857101679, 0.3886680007, -0.3963983953, -0.1768024117, 0.5563666821, -0.3984661698, 0.4291257262, -0.2964690328, -0.5607796907, -0.4246338308, -0.0402699001, -0.5176196694, 0.1160253957, -0.063782081, 0.0239047371, -0.3864264786, -0.1276208013, 0.0115362993, -0.1426497847, -0.2915094197, 0.587844491, -0.1471620351, -0.5514931679, 0.4976903498, -0.2700596154, 0.7982409596, -0.3557483852, -0.0440437831, -0.2098687738, 0.2643381953, -0.4099158645, -0.5921828747, 0.4172146916, -0.3428702354, -0.4099894166, 0.0621552356, 0.5571019053, -0.6181969047, -0.520355463, 0.010252703, 0.5832054019, 0.3430821896, -0.2166769952, -0.4544758201, 0.1504632831, 0.1085992455, -0.0026941448, 0.3348528445, -0.0041162688, 0.1211399883, 0.794274807, 0.8680968285, 0.330842495, -0.0225759558, 0.338765204, 1.0418182611, -0.250849396, -0.204216525, -0.5035393238, 0.4858572483, -0.4227059186, -0.0483358316, 0.826558888, 0.5879305005, 0.4918881655, -0.1845280379, 0.1784945726, -0.104119584, 0.4630064368, -0.1728953868, 0.901024878, -0.7810126543, 0.126514405, 0.3444165885, -1.0441024303, -0.2736727297, 0.4658430815, -0.5087964535, 0.0745346472, 0.4556442797, 1.0868279934, 0.1662087142, -0.4000433683, 0.4986818433, -0.2287662327, 0.3118350804, 0.412907213, 0.4025141895, -0.325855583, 0.5308554769, -0.4937854111, -0.2751893699, -0.3850484788, -0.4964804947, -0.7033424973, -0.6011024714, -0.4418691695, 0.0522054769, -0.2813037336, 0.6194602251, 1.222115159, -0.2586645186, 0.0992947891, 0.1430007666, -0.017472947, -0.42283687, -0.2529436946, 0.3382708728, -0.4460973144, -1.2954862118, 0.348222822, 0.1858905256, 0.0580380596, -0.1911391616, 0.1577200741, 0.0061086612, 0.1725135148, 0.4017707705, 0.0552499183, -0.5181910992, 0.0212814044, -0.2287870795, 0.174278453, -0.2432139963, 0.7234566808, -0.7719302177, 0.3044978976, 0.9188867807, 0.2968287468, 0.2754475474, 0.433280319, 0.8550832272, -0.7653846145, 0.4060780704, 0.0991714746, 0.0617554747, 0.1164373979, -0.3314411044, 0.7375979424, 0.1339229345, -0.5214680433, -1.112765193, 0.2656137347, -0.8412168026, -0.1950988024, 0.68003124, -0.139284417, -0.1697687805, 0.2900972068, -0.195876807, 0.0933194235, -0.1905604154, 0.8826776743, 0.606482029, 0.067672953, -0.2814638615, -0.2794103324, 0.5637916327, 0.4929010272, -0.4882481098, -0.0293827653, 0.662597239, 0.2710666955, 0.3845113814, 0.2026458234, -0.3577896655, 0.6285104752, 0.0573872738, 0.4268734753, -0.4292145967, -0.6337646246, -0.4171606004, 0.4807310998, -0.0743067265, -0.441541791 ]
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.0910927802, -0.690094769, 0.5067806244, -0.1336738318, -0.375623703, 0.3568072319, -0.4437276125, 0.0555107109, -0.3416559994, 0.4486307204, -0.3696798384, -0.6842948198, -0.4281766415, -0.4415553212, -0.7768285275, 0.9671630859, -0.071594663, 0.0530712828, -0.6884361506, -0.1784865558, -0.2414214313, -0.358418256, -0.4960588813, -0.4980441332, 0.3720666766, 0.2739828825, 0.2220417708, 0.3536734581, 0.3206292987, 0.3580444455, -0.305036515, 0.2346156836, -0.7596315145, 0.1827960014, -0.2381828278, -0.3718616664, 0.049278684, 0.0880552754, 0.80433321, 0.91255337, -0.3909673393, 0.4059995115, 0.4871469736, 0.7617099285, -0.7826120257, 0.233696267, -0.6642966866, -0.0792222619, -0.0600867309, -0.417129904, -0.3305548728, -0.4307015538, 0.0958912447, -0.493263483, 0.196405232, -0.2698685825, 0.6721304059, 0.197153151, -0.2163445652, -0.3902415037, -0.9845584631, 0.785340786, -0.3892083168, 0.601373136, 0.4185013473, 0.2202498466, -0.310403049, -0.7811208963, -0.3064424098, -0.2815590799, 0.1669332385, 0.1712083369, -0.4125114679, -0.1275727004, 0.0879544318, 0.1538214833, -0.3122135699, 0.0963656381, -0.7322284579, -0.1562772244, 0.3589137495, 0.1246100739, 0.1069372222, -0.0373408832, -0.4419588745, -0.0798488781, -0.9506075978, 0.2262069285, 0.5561735034, 0.0940056294, -0.0184264444, 0.6279174685, -0.2951345146, 0.4590917528, -0.0661315024, -0.0184769519, 0.3249956071, -0.1140457541, 0.0440516621, -0.1701805741, 0.7263996005, 0.2277052999, 0.1674954444, -0.7130557299, -0.1599507034, 0.1726621985, 0.3811752498, -0.6109244227, -0.2515332699, 0.1001530513, -0.4343868196, -0.2654110789, 0.1257208139, -0.789511621, -0.5247950554, -0.4066975713, 0.4414006174, -0.7493959069, -0.0467874631, -0.0057162484, -0.2898333967, 0.3477635682, 0.327398926, -0.3239557147, 0.1153733656, 0.7854733467, 0.7207018733, -0.1809257865, -0.3249798119, -0.3829700649, 0.1024903506, -0.4605019987, 0.7079741955, -0.7160155773, -0.5610784292, 0.0194959342, -0.2889364958, 0.1848466247, -0.6583144665, 0.5340675712, -0.4647852182, -0.0345634893, -0.4899777174, -0.8090279102, -0.2919202745, 0.020428285, -0.156891942, 1.0153876543, 0.1107850894, -0.6738584638, 0.3065529466, -0.2668532729, -0.2377824485, 0.2374344319, -0.4309335947, -0.3006192446, 0.2510787249, -0.1834058166, 0.4473426342, -0.4966136813, 0.3056395948, -0.4862538278, -0.4144997895, 0.3918797672, -0.4721128643, 0.91965729, 0.0293854699, -0.2764770687, 0.1093902588, -0.9768257141, -0.0946823359, 0.0918417722, -0.2763725221, -0.7080008984, 0.2645257115, -0.5479406118, 0.2096868306, 0.2199117988, -0.7145504355, -0.1364113241, -0.1380446255, 0.3547241986, 1.0526763201, 0.291145891, 0.4009352922, -0.2651436329, 0.4261623323, 0.0198151227, 0.0979130939, 0.1593660116, -0.2741403282, -0.9230104089, -0.1353754401, 0.0285815783, -0.0205870438, -0.8544976711, 0.339541316, -0.1529548764, -0.7315760255, -0.3961622417, 0.4975437522, 0.8051028252, 0.7776970863, 0.292778641, -0.0052844821, -0.3511157036, -0.6430129409, -0.2140627801, -0.4627968967, -0.1652324796, -0.1283358634, 0.5535166264, -0.0781798884, 0.7669386864, -0.4932520092, -0.1189454794, -0.0657877922, 0.3350641131, -0.2796939015, 0.2928610146, 0.1699811071, -0.4145832062, 0.0780313611, -0.0865199268, -0.9554696679, 0.1178677231, 0.0754507333, -0.165598914, -0.1031885818, 0.7886993289, -0.582883358, 0.4080823362, 0.1710949838, -0.2426692396, 0.545331955, -0.3479225934, -0.149437502, -0.5347078443, 0.1784661263, -0.0035182245, 0.130196169, -0.4870252311, 0.3057560325, 0.1914869845, 0.0812884942, -0.6712015271, 0.4513532221, -0.4822161794, -0.0690413639, -0.0750819147, 0.1950630695, -0.0469826832, 0.6399000287, -0.1320723146, 0.5429499149, 0.4769325852, -0.8980808854, 0.4286326468, 0.2497661114, -0.5312212706, 0.5266498923, -0.4909968972, 0.2415681481, -0.3571098149, -0.0383147784, -0.9958060384, 0.3584016263, 0.2668375671, -0.5494799018, 0.2219276726, -0.1090256721, -0.3634368181, -0.2174948007, -0.5658399463, 0.1090414152, 0.7674905658, -0.6285824776, 0.3732053936, 0.3949908018, 0.1233615428, -0.4480984211, -0.2961899936, -0.2134674042, -0.4700980783, -0.1722823679, 0.1509125084, -0.0446231551, -0.2335985303, 0.1944301426, -0.3885118961, 0.0837539732, 0.12133912, 0.4091778398, 0.1796584427, 0.0703151599, 0.2292337418, -0.0766351372, -0.0617457815, 0.541605413, -0.4034909904, 0.4873305559, -0.1236197874, -0.5835499167, -0.0171971414, -0.1960429549, 0.455714345, -0.4190225601, 0.6391400099, 0.6428492069, -0.5314574838, -0.4667782187, -0.3134450316, 0.025074875, -0.501624465, 0.4698577821, -0.0751944259, -0.6992321014, 0.568102181, -0.2396778315, 0.0057694674, 0.2379330993, 0.5618017912, -0.2303749025, 0.7154178619, 0.4414767027, 0.0287033692, 0.1867416054, -0.5443845987, 0.1499267071, -1.1391823292, -0.6963837743, -0.5414239168, -0.0946651697, -0.4814935625, -0.5242735147, 0.3514919579, 0.2478495985, -0.3387742043, 0.0748200119, -0.0865157992, 0.3963249624, 0.5877394676, 0.4017386138, 0.3243969381, -0.0005417314, -0.4125577509, 0.1257215291, -0.4408958852, -0.4125004113, 1.5591192245, 0.2974846363, 0.8078409433, 0.0518413745, 0.6039566994, 0.0941440091, 0.2802169025, -0.6899747849, 0.6775199771, -0.206876725, -0.1225295216, -0.4219328165, -0.6230658293, -0.762408793, 0.1946669817, 0.0311562996, -0.8619673848, 0.1253574491, 0.0318432599, -0.320207119, 0.4621948302, -0.3492055833, 0.6012568474, -0.2482341677, -0.4949847758, -0.3446714282, -0.2236492336, 0.5328143835, -0.4399394095, -0.0494636856, -0.0483054295, 0.0719669387, 0.9849514365, -0.4316575825, 0.9414317608, -0.3861542344, -0.2580884993, 0.42514503, 0.1496184468, 0.3908372521, 0.0593599603, 0.1249000579, 0.1470367014, -0.1521250755, -0.1917959601, -0.8154073358, 0.6875306368, -0.7744386196, -0.5266561508, -0.1664472222, -0.3302473128, -0.4784235954, 0.0954295397, 0.2408850491, 0.4321087301, -0.4451179206, 0.3665541112, 0.7828171253, -0.4552089572, 0.3833727837, 0.8702835441, -0.1337083578, -0.0088120271, 1.3134388924, -0.0293502565, 0.0584160835, 0.4403239191, 0.40021047, -0.5292267203, -0.740437746, -0.0954240933, 0.1691204607, -0.8644739985, -0.2343553752, -0.3350642323, -0.2308772355, -0.1046176553, 0.110061042, -0.4628967941, -0.1984242797, -0.1616863757, -0.2180688083, 0.2317260355, 0.8165379763, -0.0963821784, 0.1026849896, -0.5527965426, 0.3651977479, 0.3801788092, 0.3114270866, 0.2361483574, -0.811075747, -0.2682024539, 0.176018849, -0.3477530181, -0.6110362411, 0.3115442395, 0.0377473049, 0.7981779575, 0.7110557556, 0.1755584031, 0.7499860525, -0.4335824847, 0.3982324004, 0.1213625818, -0.9813659191, 0.3987602592, -0.3884148896, 0.0630826131, 0.4322900772, 0.3611709774, -0.5248049498, -0.6654818654, -0.6130361557, -0.835232079, 0.5992664695, 0.1045195311, -0.0325112268, 0.0397969522, 0.4693666101, 0.0508258045, 0.4507019818, -0.1400612742, -0.3213802278, -0.0564049892, -0.0604743585, -0.3561300337, -0.2532590926, -0.1720473319, -0.409593761, 0.4757692814, 0.1614765078, 0.2542918324, -0.2111000419, -0.3273994029, -0.1325013936, 0.0948173478, 0.3327804506, 0.9506819844, -0.3307553828, 0.1846847236, 0.1018756106, -0.3337209821, 0.3343153894, -0.0784580782, -0.48379004, -0.1772984266, 0.4130529165, 0.5924827456, 0.4562406242, -0.7011401653, 0.5177794099, -0.0486225151, -0.0389104337, -0.4054492414, -0.0918837935, 0.1858013868, 0.0788611099, 0.1950302124, -0.0815736502, 0.1039537787, -0.5127533674, 0.4803513587, 0.5705233216, -0.4818719923, -0.6066723466, 0.4921400249, 0.1813091189, 0.0607105084, 0.6378458738, -0.2854010761, -0.3864317834, 0.4889668524, 0.3905480504, 0.977635622, -0.3719747663, 0.6247936487, 0.0057050604, 0.3411102295, 0.0612304658, 0.0045982399, -0.10069713, -0.7667877078, -0.2173910141, -0.7320644855, -0.3379395902, 0.5037767291, -0.9343505502, 0.1323106885, -0.5806221366, 0.3881969154, -0.0306594092, -0.1814629287, -0.7117204666, 0.0370223112, 0.0198297203, 0.6541659236, -0.8673913479, 0.8060234785, 0.8448160291, -0.4562889636, -0.5195304751, 0.2339791209, 0.1903404295, -1.0608431101, 0.8705722094, -0.1598375887, -0.2194251269, -0.1774181426, -0.2048724443, -0.8088303804, 0.8633593321, 0.5120875239, -0.4211903512, 0.0276043024, 0.2482454777, 0.6220191121, 0.1667772084, 0.2467149049, 0.6406928301, 0.1674460471, 0.1061513796, -0.2169099003, 0.1255535632, -0.1769917458, -0.0501695015, 0.2672139406, -0.5467369556, 0.8309535384, -0.0441076383, -0.3286861777, -0.1144762486, 0.6398915648, 0.0513751693, 0.021235317, 0.3308168948, 0.6179075837, 0.8299841285, 0.1091869175, 0.7173964381, -0.3329494298, 0.262689352, 1.0623133183, -0.0983555913, 0.8465704918, 0.3905493617, -0.2686425745, 0.2666942179, 0.3163990378, 0.1810847819, 0.6291083694, 0.4163645804, -0.2292021215, -0.0926354453, 0.0332220681, -0.1303758621, 0.7098549604, 0.4750470519, -0.0147854574, -0.5415094495, -0.078000471, 0.0383791998, 0.1191230938, -0.2942897677, 0.6980155706, 0.0797242746, -0.5134668946, 0.7429305911, 0.1273335814, 0.3433333933, -0.7051152587, -0.0508000553, -0.4623701572, 0.407997191, -0.0425019898, -0.6109772325, 0.2314082086, 0.1932460517, 0.240242213, -0.2081604898, 0.592305243, -0.545231998, -0.4817279279, 0.5856819749, 0.5721777678, -0.047416646, -0.1255479753, -0.6476391554, -0.1250870675, 0.110917367, -0.1925067306, 0.5721330643, 0.4970834851, -0.0445506759, 0.8809581995, 0.667663753, 0.2061560005, -0.0519963242, 0.1273437887, 1.1397402287, -0.5482153296, -0.2795213759, -0.9093716741, 0.3527631462, 0.2586821616, -0.3923644423, 1.0410943031, 0.5255908966, 1.0799164772, 0.2255785912, 0.8460206985, 0.3044924736, 0.5892674327, -0.6410865784, 0.6883483529, -0.4618308544, 0.5337705016, -0.3891117573, -0.8378999233, 0.1462023407, 0.3253083527, -0.1723799556, -0.0679315478, 0.7191623449, 0.5052053928, -0.041656442, -0.1450807154, 0.417596668, 0.1507447213, 0.2270738184, 0.341532141, 1.2591539621, -0.0642671883, 0.6369903088, -0.5800235271, -0.2727510035, 0.1977731735, -0.6428348422, -1.0159198046, -0.7772060633, -0.4089935422, -0.2828044891, 0.378411144, 0.4265068471, 0.1206914261, -0.6771622896, -0.389198035, -0.283710748, 0.108613342, -0.1433908045, -0.1799498647, 0.5552446246, -0.4031526446, -0.4061362743, 0.543977499, 0.2301773131, -0.1195038408, -0.5757912397, -0.2243144512, -0.0273362659, -0.1338858455, 0.5491800904, 0.3995550871, -0.6181588769, -0.266710937, -0.1696080714, 0.2986394167, -0.2357321382, 0.8730301857, -0.8425731063, 0.319596678, 0.439747721, 0.612303555, 0.3581734896, 0.0792913064, 0.5305764675, -1.030287981, 0.1524441391, -0.0121641066, 0.4190073311, 0.2771565318, -0.1206554621, 0.2873140275, 0.2775012553, -0.1163739711, -1.0283230543, 0.0245253351, -0.3611737192, -0.4718815684, 1.3094259501, -0.4476457536, -0.2117567062, -0.0540975146, 0.3085164726, 0.4330474138, -0.2623171508, 0.708466053, 0.5175911188, 0.0547326729, 0.0799320936, -0.4050633311, 0.4979072809, 0.3002608418, -0.6503812671, 0.3189727068, 0.3250111043, 0.3950535655, -0.0640964881, 0.3507967293, -0.2783282995, 0.0057259635, -0.1765221655, 0.1860681921, -0.1653700918, -0.481823802, -0.6062543392, -0.0919315144, 0.0668188408, -0.4972781539 ]
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.4600512683, -0.850840807, 0.2872650027, -0.0227151141, -0.3595323861, 0.1407749802, -0.5067493916, -0.42389974, 0.3874883354, 0.4515589178, -0.1927797645, -0.2246664762, -0.5927467942, 0.2449893355, -0.3193496764, 1.0363175869, 0.0223093163, 0.2415689379, -0.1687109321, 0.0130183958, 0.0463545956, -0.8255994916, 0.005195498, -0.5700824857, 0.7828285694, -0.0446483083, 0.9396719337, 0.5843589306, 0.882820189, 0.3448952436, -0.2820373178, 0.0820439085, -0.0674605742, 0.0923343152, 0.0527788736, -0.9105741382, -0.2160720825, 0.4159992039, 0.600803256, 0.7167190909, -0.1248535216, 0.268038094, 0.0515251532, 1.0937663317, -0.9566696882, 0.1993772089, -0.625459969, 0.1780305952, -0.1511904746, -0.3125953376, -0.4293828607, -0.5190151334, -0.0826754421, -0.5510433912, 0.2817652822, -0.469142586, 0.6264462471, 0.1124236509, -0.385196507, -0.4761993289, -1.1168069839, 0.5981081128, -0.5037631989, 0.3188241124, 0.5081146359, 0.3521532416, -0.06386365, -0.8904494643, -0.9301738143, -0.1360974908, 0.0938929468, 0.0297574867, -0.337249428, 0.2240653485, 0.2656572759, 0.0173190273, -0.2705856264, -0.0951260105, -0.7442091107, -0.195852384, 0.5157381892, -0.2223344147, 0.2526939809, -0.2600435913, -0.2958571315, 0.0222243425, -0.3851806819, 0.2092598081, 0.5821591616, 0.6332162023, 0.0990974233, 0.9814102054, 0.0045836228, 0.8699875474, -0.2879565954, 0.1897037476, 0.2787032127, -0.8840999603, -0.5205947161, -0.1171786413, 0.5202078819, 0.1023942903, 0.2386158407, -0.2663179934, -0.0481703244, 0.2638728321, 0.6505493522, -0.6420152187, -0.0781015232, 0.3463124931, -0.8268851638, -0.0495560467, 0.5038971305, -0.5337795019, -0.6070873141, -0.7219807506, 0.0256385654, 0.0026005283, -0.3704783916, 0.2334806323, -0.4720064402, 0.0811433867, 0.4059237838, -0.596765995, 0.1840347648, 1.2099661827, 0.9228855371, -0.0271050241, 0.0562369227, -0.0685894489, -0.205553934, -0.4687411487, 0.7669456005, -0.6755639911, -0.3272258639, 0.3523840606, -0.2064227462, -0.2872138917, -0.6920832992, 0.3555942774, -0.765907228, 0.4780686498, -0.2277819663, -0.3019162118, -0.6488534212, 0.3225246668, -0.6961452365, 0.5616376996, -0.2236500829, -1.03000772, 0.7698438764, -0.7051280737, -0.1473124772, -0.1607539654, -0.0341388471, -0.0817789435, 0.3020322919, -0.2516355515, 0.3965318203, 0.2376108468, 0.5243068933, -0.256149143, -0.2741814554, 0.444619447, -0.0884907395, 1.1240413189, 0.1741111875, -0.2914706767, 0.3842898011, -0.5807449818, -0.181314528, -0.2707862556, -0.1526066512, -0.484675169, 0.2482885122, 0.0969882682, 0.2245820612, 0.3278626502, -0.5420219302, 0.282302618, -0.5014784336, 0.4918486774, 0.7163033485, -0.3328647017, 1.0276917219, -0.3545733988, 0.5031634569, -0.0629187375, 0.3542891145, 0.1557150632, -0.6181221604, -0.7061181068, -0.4145863056, 0.4800598919, 0.5996431112, -0.4596480429, 0.5502363443, 0.0133998943, -0.508633256, -0.6613037586, -0.0774097219, -0.5294987559, 0.0951398611, 0.3158639967, -0.1540526897, -0.7309003472, -1.1036683321, -0.3525670469, -0.4611999393, 0.1114746854, 0.2675354183, 0.711817205, -0.4949381053, 1.0875432491, 0.2490070164, -0.3798566163, -0.1705643386, 0.2390083224, 0.2312686443, 0.1141795665, -0.1067818701, -1.0685987473, -0.002905994, 0.224142462, -0.6210571527, 0.251478821, -0.3743900955, 0.2054318637, 0.0382047109, 0.2430592626, -0.4827126265, 0.5047081113, 0.4362786412, -0.2608400583, 0.3688007593, -0.188025564, 0.2649351656, -1.0162022114, 0.189126417, 0.0633699223, -0.1167295948, -0.7338043451, 0.2921892703, -0.2155500501, -0.0009999953, -0.2789750099, 0.2669124305, -0.3573924303, 0.0925904885, -0.6416438222, 0.5030179024, -0.287633419, -0.305344671, -0.0615529902, 0.8100589514, 0.138790071, -0.3866634667, 0.1563539058, -0.175007686, -0.1811543107, -0.0111144986, -0.5845526457, 0.1430935264, -0.2471980006, 0.4817620218, -0.6919706464, 0.1520036161, 0.3243926764, -0.3910105824, -0.3181741238, 0.0897514001, -0.487225771, -0.0206009038, -0.4893532097, 0.2665663958, 0.344103694, -0.2250689864, 0.7942229509, 0.7852471471, -0.0509232916, -0.756269455, -0.3824726343, 0.3174217641, -0.2017828822, -0.7023496628, 0.1728968918, 0.2446811646, -1.0343295336, -0.1732603163, 0.3114977777, -0.4363243878, 0.2362566888, 0.3061419129, 0.1723614186, -0.1303917617, 0.2017053515, -0.1661810875, -0.0571176969, 0.1776250601, 0.2207034081, 0.4578484893, 0.2125238031, -0.0514811836, -0.8479642868, 0.278619945, 0.1598862559, -0.0706052557, 0.7197889686, 0.6689372063, -0.0858281776, -0.3014068305, -0.3872952163, -0.5439243913, -0.3781802356, 0.2022894919, 0.0257830638, -0.9000808597, 0.6704967022, -0.2945843339, 0.2984861434, 0.4245152175, 0.6144856215, -0.241774708, 0.6642744541, 0.8175765872, 0.0548075289, 0.5424339771, -0.3091163933, 0.5459232926, -0.6175602674, -0.4237504303, -1.2665038109, -0.3882874548, -1.0311291218, -0.8086704016, -0.2304136157, -0.1223086417, -0.1567746848, 0.1956357658, -0.7151455879, 0.1801751107, 0.6976610422, 0.032992471, 0.5067164302, 0.0176970083, 0.7576435208, -0.1420385092, -0.6494576931, -0.7666196227, 0.9572067857, 0.2537350953, 0.4754320085, -0.2403588295, 1.0657600164, 0.6212108135, 0.1418549269, -0.8835857511, 0.501688242, -0.0582519546, -0.6236972213, -0.0203499589, -0.3028365076, -1.1408582926, 0.3085765541, -0.4781271815, -0.4513403773, 0.6634994745, -0.2387159169, 0.1339814812, 0.4553917646, -0.4561378658, 0.4295645356, 0.3107152879, 0.1286772788, -0.6789956093, -0.4688141644, 0.2565611601, 0.2784084678, 0.5643085837, 0.0682299957, -0.3693323433, 1.1449707747, 0.1926469356, 0.8998641968, -0.2830307782, 0.0356026888, 0.3606756926, -0.1513735801, 0.3622507453, -0.286510855, -0.0686377287, 0.455696404, -0.0858723298, -0.421115011, -0.6940591335, 0.3640058339, -0.7539941072, -0.4323486686, -0.633464992, -0.5541024804, 0.2645813227, -0.0182566065, -0.0939147472, -0.1175121292, -0.3763599098, 0.4246495962, 0.4400676191, 0.2338187099, 0.4248880446, -0.0883449242, -0.2151651233, -0.162065044, 0.8485737443, 0.5654993653, -0.2433109879, -0.0620089509, 0.0667844191, -0.2385454923, -0.6168633699, -0.1846189648, 0.2732456923, -0.4904000163, 0.2482559383, -0.6752461195, 0.0126081035, -0.1157378703, -0.1890182495, -0.2756212652, -0.8167005181, -0.7789885998, -0.0785970762, -0.2936100066, 0.9240618348, -0.1160157546, 0.067534402, -0.3805797994, 0.4680150449, 0.0618868321, -0.1350635886, -0.1167172492, -0.4611755013, -0.2528972626, 0.1920558214, -0.2177886367, -0.9198867083, -0.0127778081, -0.0399222337, 0.3868798614, 0.2357478142, 0.0977108032, 0.4054922163, -0.4378209412, 1.2666665316, 0.1780104041, -0.7427175641, 0.3536824882, -0.1519565731, -0.3394365311, 0.6455894113, 0.3271054626, -0.3538348973, -0.5199135542, -0.852393508, -0.9561598301, 0.0409589335, -0.0171349607, 0.8084814548, 0.1449440718, -0.0056046839, 0.5744603276, 0.459847331, -0.7051076293, -0.1408657432, -0.1472014487, 0.0944564193, 0.0322667807, -0.2340953648, -0.57261163, -0.1062117666, 0.700025022, -0.1143186092, 0.1655933559, 0.2456925064, 0.0236317776, 0.0974176675, 0.473202616, 0.4861625731, 1.2042382956, -0.0243533179, 0.1032104492, -0.7527135015, -0.4206517637, 0.1259836853, 0.1804249287, -0.7353478074, 0.1576084495, 0.4935073853, 0.4484898448, -0.5540436506, -0.2613641024, 0.3312165737, 0.178205505, -0.2732610703, -0.1150025502, 0.2238156945, -0.2685003579, 0.3856767118, 0.716680944, 0.3571572304, 0.4313740134, -0.6903020144, 0.2469360232, 0.8057281375, -0.43932724, -0.4225266576, 0.1797207296, 0.4113114178, -0.7033773661, 0.4323062301, 0.1165226325, -0.2121454477, 0.6478264332, 0.3528199494, 1.1186462641, 0.2606241703, 0.8389391303, 0.1950359493, 0.7658554316, 0.0596378595, 0.3106350303, -0.3403732777, -0.8100078702, -0.6768141985, -0.1913260967, -0.4734635353, -0.3746849, -0.8211457729, -0.1184456944, -0.2488421798, -0.8701629043, 0.0885520577, 0.2582258284, -0.3436059654, -0.1254386753, 0.0047371876, 1.0374655724, -1.0711753368, 0.4306734204, 0.6684029698, -0.1411866248, -0.1924596429, 0.1211375669, -0.167579338, -0.3930386305, 0.6534822583, 0.0406222343, 0.0052674492, -0.5154314637, -0.503662765, -0.0255154949, 0.6156756282, 0.3411251903, -0.2206706405, 0.0432160795, -0.1079130247, 0.5941719413, -0.1680247933, 0.19044967, 0.4036195278, 0.8449683785, -0.713988781, -0.8367525935, -0.3052967489, -0.0598327182, -0.175544098, 0.0981099904, -0.4854048789, 0.6123543382, -0.3889948428, -0.2790460885, -0.2611459196, 1.1040908098, -0.1054742858, 0.9112843871, 0.312936604, 0.0383102223, 0.7830638289, -0.1751290858, 0.8182327747, 0.1211611256, 0.3211421669, 0.7595295906, 0.0205130465, 0.7325125933, 0.9889320731, -0.5379370451, 0.6798129082, 0.6948892474, 0.2489110827, 0.2700342834, 0.3104485869, -0.3216593564, -0.0810248852, -0.4659808278, -0.2950735986, 0.6513963342, -0.1320794672, -0.4586157799, -0.2016465962, 0.1985584944, -0.1301985532, 0.6134852171, -0.2221402824, 1.2119652033, -0.0997705162, -0.2893950939, 0.2123427093, -0.1398709565, 0.6739308238, -0.4859936535, -0.2298822105, 0.086775586, -0.410836786, -0.33145836, -0.6912599802, 0.5176146626, 0.0322036594, -0.5946685076, -0.1458498538, 0.5173420906, -0.0403575674, -0.5484814048, 0.4423398972, 0.8688514233, -0.0208035428, -0.0048458185, -0.928445816, 0.1762587875, 0.1000295132, -0.4057662189, 0.4549480975, 0.2031292319, 0.0952956676, 0.6000510454, 0.7363450527, 0.6811187863, -0.0277440064, 0.018755801, 0.929728508, -0.4338611066, -0.2825420201, -0.9166873693, 0.5398837924, -0.1232474819, -0.1730184108, 0.8194522858, 0.5738618374, 0.7251207232, 0.3199782968, 0.851973474, -0.2304354012, 0.1212314293, -0.2620923519, 0.6101462841, -0.400980711, -0.0183638893, 0.0015482826, -0.9484907389, -0.4969652593, 0.8053374887, -0.2952750325, 0.0705694705, 0.2918443978, 0.5685399175, -0.0494996756, 0.3386783004, -0.1354528815, 0.149721086, 0.1721713096, -0.385406822, 0.778976202, -0.1675343513, -0.0091469176, -0.6545552611, -0.326025635, -0.0217810292, -0.6121993661, -0.7443773746, -1.1209020615, -0.1250307709, -0.6383285522, 0.2859913707, 0.7572793365, 0.6238661408, -0.5884831548, -0.5213273168, 0.2835594118, 0.5059463382, -0.3226170242, -0.2382199615, 0.4128177464, -0.5078451633, -0.8249861002, 0.2494555265, 0.2278614044, -0.5707735419, -0.7147958279, 0.3706155717, -0.1939709932, 0.3151006401, 0.4813987017, 0.0441275463, -0.6698778868, -0.1262685657, 0.0743391663, 0.024186749, 0.2110692263, 1.2489335537, -0.9002456069, 0.9094971418, 0.8053364754, 0.5522404313, -0.0655996054, 0.3394270539, 0.4093157947, 0.056321431, 0.3953374922, 0.7743614912, -0.1592530757, 0.4397290051, -0.1197402999, 0.5741634369, 0.1463885903, -0.6482557654, -1.1941150427, 0.2542670965, -0.929926455, -0.3557050824, 1.0084882975, 0.1217171028, -0.3721452057, -0.4373788834, -0.2363249213, 0.2008254826, -0.4028323293, 1.2363426685, 0.5550980568, -0.1316972077, 0.1349022537, -0.608728826, 0.3789896071, -0.1424771547, -0.661690414, 0.1648454368, 0.32491377, -0.3513462543, 0.5337889194, 0.6782529354, -0.0387439281, 0.3529107571, -0.2241784185, -0.0911024138, -0.0249746721, -0.5232188702, -0.314355135, 0.5723795891, -0.1377354562, -0.0745766312 ]
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.3414550424, -0.5233111978, 0.5413922668, 0.3303768933, -0.2431985587, 0.1748520881, -0.6515756249, -0.1634177417, 0.384719342, 0.2905421853, -0.7071108818, -0.1036071405, -0.7383217216, 0.3640197515, -0.2580571175, 1.2762415409, -0.3731769025, -0.0676994026, -0.0361668728, -0.1525061131, -0.5961505175, -0.482144475, -0.758056879, -0.3593730032, 0.6254406571, 0.6933359504, 0.5087888241, 0.5075079203, 0.6750701666, 0.3122108579, 0.2573671341, 0.3942488134, -0.7199810743, 0.1314194798, -0.2358489782, -0.4506423771, -0.2713740766, 0.1656783372, 0.4110408127, 0.207298249, -0.0259578954, 0.1952125281, -0.1284995079, 1.0815389156, -0.5910022855, 0.0156700313, -0.6847659945, 0.0916177481, -0.2121148407, -0.6041063666, -0.4560826123, -0.5667244792, 0.2021826953, -0.6645824909, -0.0833722353, 0.2555901706, 0.6084638834, 0.2334649563, -0.4167452753, -0.3933217227, -0.6489272714, 1.2879986763, -0.2371557802, 0.112788707, 0.2875268459, 0.366065383, 0.20174779, -0.6388620138, -0.5129765868, -0.2708224058, -0.0218701586, 0.1410669535, -0.0407774895, -0.2813453674, -0.2078304142, 0.2765790522, -0.4475365877, -0.1278837025, -0.2591052353, -0.0256163422, 0.7412938476, 0.0410736054, 0.1873739809, -0.0893401057, -0.5240655541, -0.6387044787, -0.2410871983, 0.176173836, 0.3130934238, 0.3050967753, -0.125275135, 0.3369111121, -0.2018363327, 0.6210254431, 0.1845977008, -0.323036015, 0.4907489419, -0.6655569077, 0.2080978155, 0.067634277, 0.8300136924, 0.7957989573, 0.5944252014, -0.3472156823, -0.3083495796, -0.0712637529, 0.6499795914, -0.6185230017, -0.2242256701, -0.1251033843, -0.8574898839, -0.8237406015, -0.0222885814, -1.1607837677, 0.020301722, -0.7978388071, 0.512755096, -0.3743360937, -0.061397139, 0.2043022215, -0.2757849693, 0.0060190563, 0.1371354461, -1.1936922073, 0.1336058527, 0.1218881682, 1.0032229424, -0.8228356242, -0.2066367418, -0.3161741495, -0.0039074891, -0.4796230793, 0.8780850172, -0.6182220578, -0.5067743063, -0.1638210565, -0.1145336777, -0.2613630891, -0.3253162801, 0.5900402665, -0.3203261793, 0.1964073181, -0.3835811913, -0.1761228144, 0.0904958621, -0.0294641294, -0.4350377023, 1.0584020615, 0.290348947, -0.489113152, 0.3588714302, -0.8774423599, -0.6371679306, -0.3842164576, 0.2946808934, -0.667634964, 0.2150617838, 0.2782390416, 0.0895537585, -0.2105426639, 0.0325371884, -0.5022161007, -0.4612766802, 0.3210328519, -0.0375678651, 0.1714894921, 0.6412153244, -0.3913901746, 0.4378123581, -0.4405067563, 0.0915309936, 0.2878563404, -0.0966237113, -0.4933162928, -0.0966119692, 0.1490969062, 0.2094088048, 0.3781037629, -0.1281068921, 0.4851985574, 0.001698693, 0.4806289077, 0.9593896866, -0.0526392944, 0.8388341665, -0.682561636, 0.5231115818, -0.3407593369, 0.2804249525, 0.0859889612, -0.0591305569, -0.807806015, 0.0350009575, 0.2249538153, 0.5821250677, -0.927102685, 0.1828220487, -0.2009246647, -0.4973066151, -0.5165224075, -0.0749519244, 0.3173705637, 0.4155543447, 0.7938604951, -0.2904854417, -0.3730079532, -0.8718997836, -0.6074529886, 0.0072536618, 0.2312778383, 0.493878901, 0.1473368704, -0.0292651299, 0.4717617929, -0.5620933175, -0.0532336831, -0.3115950525, 0.5419645309, 0.1452645957, 0.5062471628, 1.0599814653, -0.8067730069, -0.7338942885, 0.0450265706, -0.4795481265, -0.1353653818, -0.4181877375, -0.5070124269, 0.0824574754, 0.4406908154, 0.0495584235, 0.1001646891, 0.5342456698, 0.2080201507, 0.6040385962, -0.0668128282, 0.591752708, -1.1831247807, 0.0402758531, 0.1036522165, -0.1500115842, -0.5823823214, -0.2247891128, 0.1182038486, 0.1568512768, -0.2968262434, 0.6590157151, -0.2633112967, 0.1032600328, -0.502630651, -0.268163681, -0.0048401658, 0.6845139265, 0.0368281752, 1.0100791454, 0.4564097822, -0.5081966519, 0.4030664563, 0.1952843964, -0.1451780498, 0.8841484785, -0.4000949264, 0.688578248, -0.1433097571, -0.0049790293, -0.9575604796, 0.1613835096, 0.2271524817, -0.2388015091, 0.4305733144, -0.0743730888, -0.2583479285, -0.3165405393, -0.4570309818, 0.3027469814, 0.5479845405, -0.4362304807, 0.0168737974, 0.0994250104, -0.4652231038, -0.4248237908, -0.4233721793, 0.0832345635, -0.7332225442, -0.2492411733, 0.7798472047, -0.3219194412, -0.1336897761, -0.2020466477, -0.2163141519, 0.0770914406, 0.0724690109, -0.4769046009, 0.4022350013, -0.1238669604, -0.0991706997, 0.3522906005, -0.090198569, -0.2780628502, -0.6152195334, 0.4681997597, -0.116120711, -0.023919614, -0.2938865125, 0.3749780655, 0.4070400894, -0.2752289772, 0.7008086443, 0.7691757083, 0.250846982, -0.2460892498, -0.3117754161, -0.2847373188, -0.5141015053, 0.3452350199, -0.5485453606, -0.6605175734, 0.0053259954, -0.2837315798, -0.0082181124, 0.3090793192, 0.5615830421, -0.2162285596, 0.9982507825, 0.8307291865, -0.2275811136, 1.081130147, 0.0559925251, 0.0378553383, -0.4975133836, -0.0628011078, -0.7278394699, -0.7457832694, -0.890820086, -0.111752905, 0.5100455284, 0.0407176241, -0.0723772272, 0.5388897061, -0.5291034579, 0.3835349083, 0.7193401456, 0.1274570376, 0.1417924166, 0.3662388325, -0.0622158498, -0.133398369, -0.4848846197, -0.3054890633, 1.321949482, -0.1629862338, 0.6774632931, 0.1259510964, 0.7481275201, 0.3312089741, 0.2354494482, -0.9297974706, 0.1616694778, -0.5331439972, 0.1546519399, -0.4080085754, -0.6175720692, -0.9714201689, 0.1153583154, -0.3080016673, -0.5889855623, 0.2772926688, 0.2340202332, 0.1738356054, 0.0771138594, -0.5660763383, 0.7820365429, -0.4583646059, -0.4305694103, -0.3138974309, -0.7412984967, 0.2173071504, -0.3840723932, 0.129058376, 0.1657923013, 0.1137655154, 0.5675804615, 0.037565235, 0.0693427026, 0.2755947709, 0.1575267613, -0.0759878233, 0.0587874204, 0.6415551305, -0.2919053137, -0.4201690853, 0.0061000595, -0.0252266154, -0.2651098967, -0.7343446016, 0.4581932127, -0.7771499753, -0.1661149859, -0.1192607507, -0.757984221, -0.4233151078, 0.39330706, 0.2495728284, 0.1529264301, -0.0358388238, 0.1779520512, 0.3799531162, -0.2304644585, 0.465313524, 0.1445320994, -0.0727061853, -0.5006998181, 1.1711078882, -0.0842443705, 0.4239969254, 0.4806622267, 0.4533816576, -0.5449176431, -0.5798014402, -0.7315090299, 0.0569633432, -0.2133460492, 0.0622411519, -0.395606339, 0.0797000974, -0.5613655448, -0.4617114663, -0.2625575066, -0.3867855668, -0.2442823052, 0.174427852, 0.5454214811, 0.5517011285, 0.0774915591, 0.3415613174, -0.585819602, 0.5010980368, 0.1687340736, 0.1926549673, -0.3158878982, -0.5767239332, -0.2381365448, -0.2147933245, -0.4978958368, -1.0099022388, 0.6721462011, 0.0964202881, 0.4789735675, 0.1210358292, 0.2389395982, 0.5957448483, -0.5592359304, 0.4018376172, 0.3119233251, -0.6677225828, 0.4357307851, -0.2706347704, 0.0483905822, 1.0021623373, 0.4881264865, -0.714246273, -0.0171884485, -0.4480015337, -0.8236085176, 0.7451208234, 0.2722894549, 0.0963822082, 0.1346139461, 0.4137153924, 0.1051931456, 0.6842522621, -0.382829845, -0.3911994696, -0.5613104701, -0.2860477269, -0.3801766038, 0.1594410837, -0.0723536015, -0.1405973583, 0.4854891598, -0.3882261813, 0.4425300062, -0.1557366103, -0.1496117115, 0.070321016, 0.3707353175, 0.7014119625, 0.3936053514, -0.1836248934, -0.0743830949, -0.0112733562, -0.1927601546, 0.1830324382, 0.0187726486, -0.126429677, -0.1001170799, -0.2410069555, 1.2719978094, 0.007667847, -0.1216018647, 0.3293531239, 0.0042052339, -0.2479700595, 0.0518024042, 0.0261671003, -0.2607888281, 0.0117731206, 0.0410452634, 0.4045538902, 0.4180999994, -0.5222667456, 0.2789877951, 0.3601979613, -0.3472666442, -0.0344093628, 0.4921452105, -0.0557987168, -0.3689539731, 0.3608012497, -0.1516966969, -0.3468471766, 0.5121657848, 0.6204277277, 0.8957898617, -0.1172199771, 0.3468147814, 0.3762844801, 0.174301967, -0.3400114477, 0.2093933672, -0.2217107266, -0.6660827398, -0.3905121982, -0.8274847269, -0.5696614981, -0.0861714929, -0.8425622582, 0.5761116743, -0.0723334551, -0.1076331809, -0.2217715979, -0.2276287228, -0.5580745935, -0.0062278127, -0.1164564118, 0.5010550618, -0.8635900021, 0.8346462846, 0.8236965537, -0.4143773913, -0.7012286782, 0.2759179771, -0.0126452586, -0.8494439125, 0.3642137349, 0.0204328224, -0.2940408289, 0.2598544657, -0.1968002617, -0.9730423093, 0.6903554797, 0.321266681, -0.4729038775, -0.0695778504, -0.1914293617, 0.4589484036, -0.2292834967, 0.2042467445, 0.7154090405, 0.7594004273, 0.1418044269, -0.9385694265, -0.2098323703, -0.2807851136, 0.1651410162, 0.220001623, -0.9090968966, 0.6148350835, 0.0753656328, 0.1846160591, 0.2563642561, 0.5192062855, 0.2606209815, 0.2360395342, 0.5513870716, 0.185179919, 0.5449305177, -0.0075418716, 1.2552771568, -0.4306356311, 0.3882986903, 0.8002933264, -0.0431338362, 0.5433277488, 0.6486271024, -0.2919717133, 0.5467448831, 0.759617269, -0.0298279002, 0.8862726092, 0.2902326286, 0.1554153562, -0.0456051119, -0.2189390361, -0.3474694788, 0.4124615788, -0.060636811, -0.4330334961, 0.1630832702, -0.0412943289, 0.1580389887, 0.1879630387, -0.1495825499, 0.9700884819, 0.041790273, -1.0214290619, 0.7163435817, 0.2601605356, 0.9176958203, -0.6020524502, -0.0514731482, -0.3590303957, -0.0878610685, 0.1303869486, -0.4628784359, 0.2885932624, -0.1964864582, -0.2143906355, -0.9041290283, 0.638818562, -0.5193778872, -0.504935205, 0.1026112363, 0.3438073993, 0.2865452766, 0.1073175073, -0.9082219601, -0.1193295941, 0.0778136924, -0.259575367, 0.6441496611, 0.2835364342, -0.2413413376, 0.2852408886, 0.840107739, 0.3642359674, -0.0661441609, 0.1153184548, 0.5151143074, -0.4612960815, -0.6156423092, -0.8440265656, 0.1578231901, -0.1014948413, -0.3336581588, 0.560828805, 0.272547394, 0.7445887327, -0.1442425996, 0.8310991526, 0.2596797347, 0.261742413, -0.8365477324, 0.5085220337, -0.8751705289, -0.1811665595, -0.8529306054, -1.0288958549, 0.0080948509, 0.7661653757, -0.3767848313, 0.1917800754, 0.9699370265, 0.5497723818, -0.0375200622, -0.0823943689, 0.0858968273, -0.4158771038, -0.0889112204, 0.5589205623, 0.5376794338, 0.02468355, 0.5153734088, -0.3820538223, -0.4575189352, -0.3039371073, -0.940402627, -0.4121171534, -0.5346351266, -0.0780675039, -0.2951749861, 0.2328524739, 0.9115181565, 0.8308505416, -0.715688169, -0.4332078397, 0.0476843081, 0.0167114343, -0.5419929028, -0.17000857, 0.3566740453, -0.7932681441, -1.1539947987, 0.5827503204, 0.2384840995, 0.0479617715, 0.025265703, 0.0279715098, 0.0782839879, 0.1822678447, 0.6340954304, 0.0764059126, -0.1705283374, -0.1347130388, 0.2730989158, -0.0276071616, 0.2355959117, 1.0809673071, -0.3528825343, 0.4870099127, 0.5034698844, 0.9143192172, 0.7573267221, 0.1984101981, 0.5931537747, -0.6592098475, 0.0941443369, -0.1554974467, 0.1999376863, 0.1273111403, -0.3442118764, 0.4181689918, 0.4387070239, -0.4411984682, -0.5753211379, 0.32380566, -0.9206596017, -0.3386416435, 1.2147824764, 0.1607173383, -0.0292004663, 0.1458339393, -0.3425378203, 0.3321399987, -0.6118472219, 0.9523428082, 0.7403188348, -0.5339571834, -0.1072783992, -0.5121849775, 0.6009337902, 0.8464642167, -0.8896429539, -0.3908705711, 0.334412545, 0.1655968279, -0.0937012732, 0.6473323703, -0.176670596, 0.106376186, -0.5152925849, 0.105919756, 0.1462100893, -0.635013938, -0.1867769063, 0.0290153213, 0.0774377882, -0.3071289062 ]
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.4072700441, -0.4137945175, 0.2376358509, 0.9181700945, -0.0883535594, 0.4570495784, -0.0521946065, -0.7407557964, 0.2580669522, 0.3522780836, -0.5262190104, -0.2622376978, -0.815798223, 0.4753565192, -0.3139889836, 0.654120326, -0.5688638687, 0.0183755513, 0.0411105938, -0.4215632379, -0.4983529449, -0.5455081463, -0.7526252866, -0.1649370641, 0.5292579532, 0.2971484959, 0.8705378771, 0.9720668793, 0.8648448586, 0.3096116185, 0.1923115999, 0.5586473942, 0.1136676744, -0.2731225193, 0.1112458333, -0.2157627493, -0.9479110241, 0.2504869103, 0.5925669074, 0.9210800529, 0.0880304724, 0.2184359282, -0.0034795625, 0.8754661679, -0.5313316584, 0.015979955, -0.1043834537, 0.3097659945, -0.222077921, -0.2193462849, -0.7002663016, -0.3477113843, 0.01657602, -0.5908008218, -0.203936398, 0.3575330079, 1.045511961, 0.6971901655, -0.4599941373, 0.0312108826, -0.5822759271, 0.932215631, -0.4148674309, 0.2497252524, 0.4882825017, 0.5283877254, -0.0826020986, -0.3211021423, -0.4974324703, -0.0271469429, -0.1843110621, 0.3602976501, -0.3527955413, 0.1395663768, 0.0284400843, 0.2642828822, -0.2434416562, 0.360052228, -0.3032421172, -0.3678838313, 0.7815941572, 0.2178475559, 0.3630133867, -0.3094489276, -0.6773494482, -0.1887627691, -0.3964753747, -0.148074165, 0.3531852365, 0.13946715, -0.0339961424, 0.5292337537, -0.2604893744, 0.5865533352, 0.0649586618, 0.0678505599, 0.6484109163, -0.1692647487, -0.2750265002, -0.1923769414, 0.9147824645, 0.623968184, 0.071500279, -0.4239902794, -0.3443912864, 0.3072824776, 0.3530635238, -0.5894169807, 0.150864616, 0.19652915, -0.4339859486, -0.2442094982, 0.3140242398, -0.8493330479, -0.3225118816, -0.0992367119, 0.4949736595, -0.2292713821, 0.1023978442, 0.2354998589, 0.0687473714, -0.0442510545, 0.5966246128, -0.3651621342, 0.3591420352, 0.2713222802, 0.8107974529, -0.2712756097, -0.7130478621, -0.9928037524, -0.1708894968, -0.4528771341, 0.6781673431, -0.0214357935, -0.0502724275, -0.270155102, -0.0411028005, -0.2172542214, -0.3492541015, 1.190880537, -0.4291372895, 0.2089440674, -0.2812959254, -0.3791742027, -0.3634356856, -0.0357730314, -0.7302879691, 1.2030490637, 0.2894693315, -0.8417928815, 0.696308732, -1.1447405815, -0.5695098042, 0.1777813882, 0.2713651657, -0.272205174, -0.0947795883, 0.3471575677, 0.5140882134, -0.0879363492, 0.1023810804, 0.1180900633, -0.5093758106, 0.2209034413, -0.3836687803, 0.5361364484, 0.2767467201, -0.6049737334, 0.1505128294, -0.7982623577, 0.1010497808, -0.1862524599, -0.7912418246, -0.3083617389, 0.2194025815, 0.0553766377, 0.5523663759, -0.0566247702, -0.4991050363, 0.1492628157, -0.2873106301, 0.0470689572, 0.6849811077, -0.2401783168, 0.2776516974, -0.2124415338, 0.516336143, -0.1327265203, 0.0874488279, -0.0230295416, -0.4620226622, -0.9659606814, -0.6232246161, 0.5915777683, 0.7350146174, -0.5055894852, 1.1063257456, -0.3843509853, -0.4460445046, -1.357558012, 0.1352430582, 0.6051671505, 0.3920559585, 0.7722247243, -0.4087455571, -0.7326028943, -0.8037301898, -0.2319557667, -0.4160145819, -0.0761133134, -0.0665545836, 0.4866449535, -0.7048137784, 0.7132868171, -0.107230261, -0.4955646098, -0.0367921889, 0.7233583331, -0.251814425, 0.5063024163, 0.4946488738, -0.3888679743, -0.3715863824, 0.0094142305, -0.585940659, -0.6704024673, -0.2409685552, -0.4212008715, 0.4069950581, 0.1212892085, -0.4650519192, 0.3658791482, 0.7947670817, -0.5770056248, 0.5272179842, -0.2314230502, 0.6839317679, -0.780318141, 0.2432203889, 0.0774139538, -0.3354682028, -0.1162536368, -0.0399161838, 0.2607881427, 0.3409118652, -0.2707640827, 0.4111200869, -0.1965430528, -0.2048093826, -0.2604257762, 0.2376313359, 0.1385158449, 0.3343264163, -0.2034077793, 0.6453632116, -0.0511088111, -0.29846403, 0.3993904293, 0.3484611809, -0.0971391872, 0.9666824341, -0.4500936866, 0.0732978433, -0.0900931284, 0.3383338153, -0.9803086519, -0.3574777544, 0.2033218741, -0.5325071216, 0.2167084962, 0.056361001, -0.6801998615, -0.5946825147, -0.3298223615, -0.0214925203, 0.4550430775, -0.6921781898, 0.2912171781, 0.1211766303, 0.1043286398, -0.7494910955, -0.9489881992, 0.3095727265, -0.2436252832, -0.8476225138, 0.2020801902, 0.1365607232, -0.1597881168, 0.0296195298, -0.2009734064, 0.1108721644, 0.5855223536, 0.3256903887, 0.0391546786, -0.0149207935, 0.0514364801, 0.1425490528, -0.5081541538, -0.095912151, -0.0549845323, 0.1430169493, -0.324069351, -0.5947062373, -0.7359381318, 0.5662518144, 0.7502598166, -0.4088278115, 0.4305734336, 0.6667206883, -0.5670180321, -0.0001353358, -0.5853566527, 0.1509720683, -0.2868632674, 0.4744345546, -0.4249647558, -0.5314120054, 0.2934603691, -0.091912277, 0.1373668164, 1.00385952, 0.308706671, -0.4923039377, 1.2598757744, 0.4639852643, -0.3087869883, -0.1094552353, 0.0858068243, -0.1901388764, -0.7776435018, -0.007650007, -0.953671813, -0.5739107132, -0.1124321371, -0.4061864316, 0.1339805722, 0.3442084193, -0.3182996213, 0.4470300376, -0.2762829661, 0.2722347379, 0.4511080682, -0.1478113383, 0.4129799902, -0.0740892515, -0.0994682238, -0.3146974742, -0.3082256913, -0.990388453, 0.7388368249, 0.782881856, 0.5512855649, 0.0128478678, 0.6043351889, 0.6372421384, 0.6429110765, -0.7511457801, 0.3517913818, -0.1580467522, -0.3849051595, -0.2340751141, -0.7492546439, -0.7574130297, 0.3900188208, -0.3231032193, -0.5329452157, -0.1035105065, 0.1589741409, -0.3464012146, 0.218483761, -1.0820405483, 1.0477832556, -0.519400537, 0.1193324327, -0.0092756525, -0.9627375007, 0.0468789525, -0.315749079, 0.3741545677, -0.0650678128, -0.1174169108, 1.0984493494, -0.415055573, 0.7928888798, -0.392388761, 0.3063706756, 0.0853853822, 0.2768596411, 0.6214811206, -0.5687760115, -0.1011930779, -0.0247738082, -0.1771359891, -0.5234040618, -0.3134768605, 0.126288712, -1.0049756765, -0.0992584899, -0.4098789692, -0.3711788654, -0.2918844223, 0.1265498698, 0.0221561827, -0.2648226023, 0.0358131826, -0.0258191656, 0.0772025511, -0.1442720294, 0.2913705707, 0.4333054721, -0.0315308832, -0.5375825167, 0.5753615499, 0.1495958418, 0.2549476624, 0.1819579899, 0.1419213712, -0.1829086095, -0.3810848892, -1.012676239, 0.0685651004, -0.7609133124, -0.4817848206, -0.7520623207, 0.2246382087, 0.3143169284, -0.2554967105, -0.6069296002, -0.4467350841, 0.1298262477, -0.4397569299, 0.2090279907, 0.3436746597, 0.1064813733, 0.6123725772, -0.9747385979, 0.0218221564, -0.0725650191, 0.3259327412, -0.2964195013, -0.413631618, -0.4738522768, 0.0593363158, -0.4700124264, -0.9170848131, 0.1453086883, 0.0848712027, 0.569896996, 0.189570114, 0.0814056769, 0.9647608995, -0.3872173727, 0.684669137, 0.2635149658, -1.3881186247, 0.2703130543, 0.1139785647, -0.1054741964, 0.6868715882, 0.2774117291, -0.8287691474, -0.4236559272, -0.4468363822, -1.0253429413, 0.6571701765, 0.0831129402, -0.160152331, -0.0181364752, 0.1835550517, 0.1149084568, 0.1423518062, -0.7356643081, -0.0659035444, -0.1171204075, -0.3609503806, 0.0340109803, -0.0960560739, -0.0016030256, -0.0246491265, 0.7696375251, -0.2076326162, 0.2183320224, 0.2937592864, -0.4011292458, -0.8596068621, 0.383878082, 0.3790788352, 0.5115633607, -0.377769649, 0.3781639934, 0.3555811346, -0.1545883715, 0.2765319645, 0.0753904134, -0.0025659208, 0.071504496, 0.5883635283, 0.7081725597, 0.0157083049, -0.494330287, 0.7245092392, 0.3616506755, -0.123429507, 0.251398474, -0.5374750495, 0.0377420299, 0.0665132403, 0.4732100964, 0.5603858829, 0.0904667452, -0.0723357722, 0.3110436797, -0.0344368294, -0.5153871775, -0.4157442451, 0.7408112288, 0.5678864121, -0.0467920899, 0.5150578022, -0.5010740757, -0.7888081074, 0.2641319335, 0.2995433211, 1.1024916172, -0.4990023077, 0.1618520021, 0.2022843212, 0.9316088557, -0.3309207559, 0.2308014184, 0.3148763776, -0.3300176263, -1.1305931807, -0.7315755486, -0.5308329463, -0.4626215994, -0.4508553445, 0.2711538076, 0.015512513, -0.1136591509, 0.0300742276, 0.1523332, -0.4875427186, 0.4966990948, 0.0508705415, 1.0379532576, -1.1650557518, 0.5581843257, 0.9206211567, -0.6266703606, -0.7297833562, -0.0848771632, -0.1412001997, -0.6059653759, 0.9827295542, 0.2189589292, -0.307464093, -0.3096381724, -0.0412662625, -0.3222567439, 0.9945311546, 0.318174541, -0.3011952341, 0.0625262633, 0.166605711, 0.6997466087, -0.1957609802, 0.0818005726, 0.557074666, 0.9391577244, -0.1815300733, -1.1749404669, 0.1966462135, -0.2090748996, -0.2192602009, 0.3507946432, -0.5485621691, 0.5865124464, -0.0612062849, -0.297375679, 0.0008222434, 0.5242345333, -0.232635051, 0.2906339467, 0.6309577227, 0.7267252207, 0.8939366341, -0.434291333, 1.0914885998, 0.1711105108, 0.4017704427, 0.7002937794, -0.1769205183, 0.9745533466, 0.740678966, -0.4857027531, 0.1158330366, 0.6602905393, -0.1183076128, 0.1313967705, 0.4890065491, 0.1614173651, -0.1086053103, 0.2586512268, -0.1772605479, 0.1293054074, 0.1753709465, -0.2678393126, -0.1700906903, -0.0335268527, 0.3541249335, 0.2183803916, -0.113583073, 0.5847939253, -0.199012965, -0.5598480701, 0.4689772725, 0.5963027477, 0.797002852, -0.2345869094, 0.1579812318, -0.3050519824, 0.1650280654, -0.6690863967, -0.6379225254, 0.7535865307, 0.3876302242, -0.0653789937, -0.2586927712, 0.2864103019, -0.1086808443, -0.3775831461, 0.4319444895, 0.6016913056, 0.2535573542, -0.2280010879, -0.5115014911, 0.0839135796, -0.3186344206, -0.2929770648, -0.08459609, 0.4201013744, -0.5069276094, 0.5702035427, 0.3488981128, 0.0329378322, 0.3093373179, -0.174866274, 0.3676164746, -0.605558157, -0.4209499061, -0.8547978401, 0.8182271123, -0.0344743952, -0.2254642844, 0.7123429775, 0.4202768207, 0.6968768239, -0.1543205678, 0.905962646, -0.0014749073, 0.5380992293, -0.2508217692, 0.6917371154, -0.5542902946, 0.2221943289, -0.7506653666, -0.8577267528, -0.819742918, 0.8095242381, -0.1492305547, -0.0176478643, 0.7402213216, 0.1606502682, 0.0433346853, -0.1549812704, 0.1045988798, -0.005841685, 0.2724365294, 0.5394539833, 1.0830414295, -0.6986541152, 0.5914105773, 0.0010251483, -0.6146315336, -0.485625267, -0.9943214059, -0.5477718115, -0.2142218202, -0.63690418, -0.5672224164, -0.1274201721, 1.3618233204, 0.741235137, -0.5749108195, -0.1684532464, 0.1306489408, -0.0183849148, -0.7059963942, -0.1593429297, 0.7058447003, -0.4915694594, -0.8020142317, 0.2610222101, 0.3551139534, 0.0104831858, -0.0847262368, -0.5290400386, 0.0583438277, 0.0168438684, 0.577233851, 0.0562270992, -0.7913129926, -0.6150551438, 0.0136731183, -0.3972935677, 0.1982240826, 0.1644557863, -0.2934188843, 0.5020329356, 0.313878268, 1.2027257681, 0.1195159927, 0.1388838589, 0.4203580022, -1.0274391174, -0.0866917297, 0.0709431916, 0.5048196912, 0.5083229542, -0.0564416833, 0.7379886508, 0.3903636634, -0.4188541472, -0.9524184465, 0.0411166959, -1.2212963104, 0.33396101, 0.8604812026, -0.557215929, -0.0532546639, 0.048409529, -0.7245042324, 0.1205333918, -0.1914913356, 0.8969318867, 0.945082128, 0.001014499, 0.1834944636, -0.5169295669, 0.3406755924, 0.5565254092, -1.1195468903, -0.0189898107, 0.4688200951, -0.1183511838, 0.582989037, 0.3896841109, -0.3992670178, 0.4366801381, -0.2683570087, 0.6296330094, -0.1122449636, -0.2032768279, -0.1311197728, 0.042601224, 0.3712431192, -0.6394924521 ]
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.5396437645, -0.862547636, 0.3628872931, 0.4781813323, -0.2107977122, -0.0201751497, -0.3380116522, -0.5879837871, 0.0804819539, 0.3500729501, -0.5232229233, -0.5302665234, -0.5033720732, 0.4774923921, -0.2576631308, 0.8532853127, -0.1673171818, 0.378892988, -0.6538137197, -0.2669573724, -0.5085261464, -0.7389588952, -0.573749423, -0.1292086393, 0.1652979106, -0.0434593074, 0.701248467, 0.4178156555, 0.7931486964, 0.3875497878, 0.1120678633, 0.0770773441, 0.0231207069, 0.0983216688, -0.2687618434, -0.5034533739, -0.5192611217, -0.0938547179, 0.6045313478, 1.1967338324, -0.0396373086, 0.3891918659, -0.1263296753, 0.4296830297, -0.4164957106, 0.7363879085, -0.4599577188, 0.0236263126, -0.238107875, -0.0374951623, -0.1474614739, -0.5404718518, 0.3554464281, -1.0508317947, 0.1781346351, -0.0707523599, 0.6132702827, 0.2475536019, 0.0453159623, -0.8450134397, -0.3320019841, 0.9230430126, -0.3491129875, 0.4371111393, 0.4693388641, 0.4177553356, 0.368144393, -0.7866110802, -0.0888136029, -0.1603498012, -0.2022498399, -0.1580509096, -0.27871117, -0.3310973346, 0.4781102538, 0.2019503266, -0.3227588832, -0.287032634, -0.4643951356, -0.2003727555, 0.4634660482, 0.0831118748, 0.3686356843, -0.2787807286, -0.0591043718, -0.3494025171, -0.7112054229, -0.0607810281, 0.4878178239, 0.2514477074, -0.0040070745, 0.6807004809, 0.1336920857, 0.6687445045, -0.6207131743, -0.0707630515, 0.2529327869, -0.2009206712, -0.2084049731, 0.0981532186, 0.5032078624, -0.2252140045, 0.5773089528, -0.3416993022, -0.1961899996, 0.5574371219, 0.2168399394, -0.8621045351, -0.3808729351, -0.248094365, -0.0290129185, -0.0191125274, -0.0694592744, -0.7326782346, 0.361777246, -0.9424135089, 0.2855857313, -0.6896983981, 0.0218324717, 0.0157469958, 0.0142549984, -0.4055222869, 0.1836371869, -1.0811855793, 0.9344456196, 1.0713591576, 0.7770740986, -0.0640030131, -0.1102649644, -0.5382499695, -0.2717155516, -0.3662971854, 0.7617101073, -0.77480793, -0.3346967697, 0.2458814383, -0.2401179224, -0.0985536426, -0.8205569983, 0.8892065287, -0.5904925466, 0.1932846308, -0.2642080188, -0.6587453485, -0.3265553117, 0.0820088014, -0.7990210652, 0.9841281772, 0.3482707739, -0.497463733, 0.0644261315, -1.1262229681, -0.4237689972, 0.212185353, -0.3656477034, -0.1771925688, 0.3804344833, 0.1968132555, 0.0329949111, -0.5561466813, 0.4323863089, -0.2162424326, -0.0881503224, 0.3541109264, -0.1945265681, 0.9512648582, 0.2053166032, -0.1330589056, -0.0975126997, -0.8658896089, 0.0873613581, 0.0196904726, 0.1202308908, -0.6766709685, -0.0163751524, 0.3165822923, -0.0081051989, 0.3609379828, -0.2303824127, 0.0006663917, -0.3750314713, 0.3957365453, 0.5402814746, -0.309740454, 0.3524746001, 0.0136876823, 0.4806598723, -0.0845677331, -0.2636300027, -0.0524161607, -0.4717190266, -0.5398033261, -0.2010911107, 0.7971792817, 0.4572187662, -0.6395335197, 0.1486568749, -0.2055875808, -0.1300459653, -0.5160108209, 0.2834428847, 0.551507175, 0.7477308512, 0.4575197697, -0.2746436, -0.5888953209, -0.9650807381, -0.2888121009, 0.0527040511, -0.3610695899, 0.2964880764, 0.5088136196, 0.0850978047, 0.9034032226, -0.7504253387, -0.3063777387, 0.3810774088, 0.3224070072, 0.0490199924, 0.2345568687, 0.5575698018, -0.9492448568, -0.3166339695, -0.2006530315, -1.024020195, -0.2683371902, 0.3481444418, -0.2048412114, -0.0258420166, 0.2649192214, -0.2968433201, 0.3596772254, 0.2653527558, -0.1811436564, 0.2987792492, -0.0540091991, -0.1970295459, -0.927092731, 0.1926226169, 0.3311842978, -0.1170354635, -0.3377741873, 0.2324066609, 0.1503828019, -0.056974221, -0.2918893397, 0.4636628032, -0.1969247162, -0.4734584987, -0.0744930729, 0.3802624047, -0.0967191234, 0.4351240098, 0.3939785659, 0.917591393, 0.6416954994, -0.6530086994, 0.1971714646, 0.3883186281, -0.3071906865, 0.7956016064, -0.8004904985, -0.1575635523, 0.1663834006, -0.2715486586, -0.4791096151, 0.1379277259, 0.1201399267, -0.3057770729, 0.0858734325, -0.0506784208, -0.8028180003, 0.2434441894, 0.0031941338, 0.5665180087, 0.3756407201, -0.410998553, 0.5831670761, 0.5305370688, -0.4362316728, -0.407697022, -0.3582994938, -0.0090067368, -0.2758896053, -0.5913801789, 0.6681392193, -0.2714176774, -0.7080278993, 0.3546933234, 0.0506315157, -0.298110038, 0.2688747048, 0.2870118618, 0.6115326881, -0.568446815, 0.2878322899, -0.1329060644, -0.3228292465, 0.4919952452, -0.3015542924, 0.4805327952, -0.3867592216, -0.118425943, 0.0408586971, 0.2489284724, 0.0200553723, -0.2195563763, 0.3937270641, 0.3991148472, -0.939856708, -0.0360767096, -0.2028903961, -0.1529755741, -0.4317459166, 0.2067814618, -0.6654039621, -0.6689376831, 0.3127253056, -0.1476276219, 0.2277342081, 0.7927172184, 0.4250331819, 0.3896090388, 0.6185904145, 0.5878252983, 0.111097537, 0.2528343201, -0.2067696154, 0.1175262779, -0.908724308, -0.0651431084, -0.8329023123, -0.0307614952, -0.5979064703, -0.2680887878, 0.1883042306, 0.1502417773, 0.0110205133, 0.8895379901, -0.4289535284, 0.4771487713, 0.3722363412, -0.375493288, 0.3746440411, 0.2209050059, -0.373269856, -0.535708189, -0.3359019458, -0.7750849128, 1.1215196848, 0.1610610038, 0.4283280075, 0.3532899022, 0.4708085954, -0.0318543427, 0.7995530963, -0.5241859555, 0.362364471, -0.2646316588, -0.7009530663, -0.1955209672, -0.7361313701, -0.8485381603, 0.1954008341, -0.0160291139, -0.6354438066, -0.0989700109, -0.3432356715, -0.3104439676, -0.1297724098, -0.6616466045, 0.959415853, -0.1661047488, -0.440277189, -0.061153926, -0.1148507223, 0.4405171871, -0.3198804855, 0.4640206397, -0.1122392341, -0.1987632513, 0.6735534668, -0.3783800602, 0.6249575615, 0.2991677225, -0.1513455063, 0.3303266764, 0.3399253786, -0.2390466928, 0.6575357318, -0.1367496699, 0.3488094807, 0.3883771896, -0.3225854933, -0.509419322, 0.8825554252, -0.8292799592, -0.3350472152, -0.563873589, -0.6765364408, -0.2296544611, 0.1082707047, -0.1530790031, 0.6024906039, -0.1696131676, 0.1182887182, 0.6178337932, 0.0044266777, 0.6093164682, 0.2214452624, -0.2401568294, -0.5598400235, 0.893433094, 0.2158958465, -0.0441126414, 0.5887265205, 0.0109060984, -0.71405828, 0.0133405859, -0.4782265127, 0.1756463796, -0.893004775, -0.295327872, -0.4008735716, -0.2405473739, -0.562646389, -0.0922637731, -0.1933033019, -0.6553753018, -0.3821864426, 0.0993173644, 0.3386094868, 0.4531827271, -0.0285067838, -0.0251259655, -0.536801517, 0.3272501826, 0.3205524385, 0.3158117235, -0.2131802887, -0.1786721647, 0.001405556, -0.1416049302, -0.2897904515, -0.4088287354, 0.4695723653, 0.1456478983, 0.4144700766, 0.153298825, -0.146726042, 0.7352306843, -0.8042300344, 0.4456702769, 0.2307697833, -1.2768191099, 0.1681307703, 0.0817244947, 0.031028986, 0.5043632984, 0.5444975495, -0.2398418635, 0.2538413107, -0.8396407962, -0.4259761572, 0.3457717896, 0.4755580425, 0.110721387, -0.1257550716, 0.3610413074, 0.1047995985, 0.4366802275, -0.4977810383, -0.287075758, -0.1175536141, -0.4131898284, -0.2921314836, 0.0522209071, -0.3939345479, -0.01987914, 0.3488973677, -0.2254766375, 0.1152548417, 0.0618788712, -0.3985551894, -0.0701966658, -0.0089767165, 0.8642259836, 1.3062858582, -0.1369933337, 0.3591226339, 0.2609786093, -0.5191721916, -0.2502291203, 0.6536152363, -0.0572885387, 0.5219615698, 0.3557389677, 0.3439236879, 0.9526292086, -0.848903358, 0.0370711647, -0.2724045813, -0.199938342, -0.6624614596, -0.0920866206, 0.3975967467, -0.1027759612, 0.3509533405, 0.1644600332, 0.2710770667, -0.5424551964, 0.4173884392, 0.2702336013, -0.103647083, -0.5223668218, 0.756139338, -0.1610961407, -0.6546244621, 0.3835714161, -0.3033952713, -0.5254420042, 0.6247549653, 0.5707745552, 0.6305937767, 0.0294836946, 0.0981082544, 0.5397049785, 0.0556064136, 0.0111442739, 0.0455187932, -0.094324708, -0.2597803175, -0.4145997763, -0.83944875, -0.5145308375, -0.200402528, -0.6671517491, 0.4716479778, -0.5928457379, -0.0146531854, 0.7039623857, 0.3710843623, -1.0046796799, 0.1344580203, 0.0765039995, 0.7297132015, -0.5082796216, 0.6031307578, 0.7244561911, -0.6111151576, -0.4492171407, -0.6532546878, -0.185409531, -0.773224175, 0.9383930564, -0.0547278635, 0.1879034489, -0.1670099199, -0.2749072611, -0.730202198, 0.7948463559, 0.4070626795, -0.509475708, -0.0621209145, 0.3938194215, 0.7010679245, -0.5856575966, 0.4125348628, 0.1658661216, 0.1386271268, 0.0671990067, -0.6328063011, -0.0356186256, -0.2706147432, 0.068880178, 0.1923884898, -0.2331943512, 1.111546278, 0.4107588828, -0.0493214056, 0.1089076996, 0.7725052834, 0.4261152744, 0.6186748743, 0.26053074, 0.6831200123, 0.6265979409, -0.1610925496, 0.7402197123, -0.4551231861, 0.3964202106, 1.0206581354, -0.2613461614, 1.0180953741, 0.3061898351, -0.2988566756, 0.5655970573, 0.5819070935, 0.0451903045, 0.1800950468, 0.654879868, -0.3777298033, -0.1690705121, -0.1666816175, -0.6259573102, 0.0213594884, 0.6123004556, -0.2919068336, -0.4820381403, -0.2702594101, 0.0308435, 0.4796379507, -0.1836616248, 0.3551646769, 0.403921634, -0.8261401653, 0.2426202446, 0.202807039, 0.3048074841, -0.5090146065, -0.32388556, 0.0054248446, 0.1728605777, -0.0214856043, -0.2553900182, 0.4984396994, 0.2344212532, 0.0303787179, -0.1430318058, 0.368396461, -0.3050795794, -1.0682625771, 0.1319564581, 0.601046443, 0.3189623952, 0.0596603416, -0.7139394879, 0.1556010246, -0.5206456184, 0.1190363467, 0.4179458022, 0.7740761638, -0.1962486655, 0.2071585208, 0.8947928548, -0.1518056989, 0.0563603938, 0.2392000407, 0.783551991, -0.6061702371, -0.1433984786, -0.786658287, 0.0279399883, -0.2089423686, -0.7673916221, 0.7130625844, 0.8705044985, 1.1197578907, -0.0929833353, 0.4383980632, 0.0804875493, 0.4088445008, -0.4972015321, 0.3364830017, -0.1516194493, 0.3257642984, -0.425036937, -1.2830342054, -0.6218751073, 0.8731443286, -0.5016872883, -0.1168293431, 0.8539240956, 0.2524315119, -0.2858271301, 0.3366792202, 0.2751373053, -0.3777711987, 0.1804915518, 0.5153791308, 0.5098198056, -0.7034571767, 0.5105147362, -0.4865559638, 0.0490114987, -0.0497182757, -0.7824140787, -1.0830658674, -0.6562124491, -0.6377691031, -0.2997812033, -0.1638177633, 0.8842895627, 0.5506028533, -0.78120327, -0.4586932659, -0.2571569979, 0.1559646577, -0.17511262, -0.2207584828, 0.6156255007, -0.6957806945, -1.0708106756, 0.148458004, 0.2288860083, -0.1590199023, -0.4274569154, 0.0836686641, 0.0401784889, 0.0085489042, 0.5513278246, 0.1928674728, -0.4926343262, -0.0014826193, 0.4273677766, -0.0863457173, -0.0347530469, 0.9647570252, -0.6332329512, 0.1865698993, 0.0915454403, 0.8487930298, 0.3426983356, -0.0976701379, 0.3856317699, -0.4428185821, 0.0838120878, 0.3991548717, 0.4734660089, 0.3563295603, -0.0831529126, 0.8999506235, 0.4322145879, -0.1944262832, -0.9081932902, 0.0578739159, -0.640291214, -0.2842234969, 0.6880400181, -0.299908638, -0.5218307972, 0.1134886742, -0.0154311592, 0.0832596943, -0.0829424262, 0.8790152669, 1.121971488, 0.0701417923, 0.0000977297, -0.9250808358, 0.5289440155, 0.5142134428, -0.959459424, -0.3601447046, 0.2566525638, 0.1670833081, 0.7841666341, 0.0456153676, -0.2535677552, 0.1616514921, 0.1475401372, -0.0856142044, 0.1777166873, -0.3414658606, -0.1913684756, 0.3640868068, -0.1758069694, 0.0857101381 ]
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.2326728255, -0.977920115, 0.6159125566, 0.3085099757, -0.241776824, -0.1352833062, -0.3126493692, -0.7116631866, 0.3634477854, 0.3706111014, -0.4676351845, -0.5671674013, -0.8060294986, -0.0319950432, -0.5298659205, 0.5773952007, 0.0573694035, 0.1552831233, -0.0856654942, 0.11232692, -0.3580955267, -0.324102819, -0.8300503492, -0.3156035244, 0.4983479083, -0.1001026332, 0.3444375098, 0.4876906872, 0.086229533, 0.1597662419, -0.5921022892, 0.1526897401, -0.3109306097, -0.0388884805, -0.4997929633, -0.3411030769, -0.6758067608, -0.5881490707, 0.4927251041, 0.9615892172, -0.3670419157, -0.0828733444, 0.1309853047, 0.3505931795, -0.6590737104, 0.0606682338, -0.2541115582, -0.2049974948, -0.0566709414, -0.0370386988, -0.8525072336, 0.0681975931, 0.0492692105, -0.2117050141, -0.5377671719, -0.1771505326, 0.4413042665, -0.0211497322, -0.462875247, -0.2122864276, -0.6127186418, 0.5243157148, -0.8160536289, 0.8641012907, 0.2254054546, 0.0712156296, -0.5034334064, -0.9236935377, -0.4714713991, 0.0584599413, 0.2927654088, 0.1167986766, -0.5793297887, 0.4466907084, 0.137518838, -0.1075772941, -0.5986491442, 0.6634472609, -0.2071291655, -0.4399056137, 0.1947626919, -0.0911278948, 0.6011239886, 0.1736275405, -0.1003202125, 0.3322328031, -0.7635676265, -0.1129385978, 0.2915426493, 0.0011487128, -0.3103903234, 0.3944713175, -0.0474132933, 0.9996353388, -0.34547773, 0.264947921, 0.0262759291, -0.0873850733, -0.2103116363, 0.1795888841, 0.4971822202, 0.3073658347, 0.219789207, -0.4982468486, -0.0442192256, 0.0031743136, -0.2209171951, -0.7001851201, 0.0726572722, 0.4844518006, -0.5066799521, 0.1113564149, -0.4974716604, -0.5821939111, -0.3873964846, -0.4347449541, 0.4176864624, -0.3698044717, -0.6938639283, 0.7207823992, -0.1743308455, 0.6845594049, 0.138244018, -1.0727983713, 0.4386512637, 0.8965319395, 0.8839331269, -0.0004365202, -0.1262091696, -0.3565518558, 0.320446074, -0.4809360206, 0.7742746472, -0.3321404159, -0.1972387284, 0.1383102536, 0.0981107652, 0.3537513614, -0.4765820205, 0.7811642885, -0.7341973782, -0.0236683264, -0.1475875676, -0.4510369301, -0.3767434359, -0.1332825422, -0.5174689889, 0.2485629469, 0.0477979369, -0.3553721607, -0.118670918, -0.7030690908, -0.6608451605, 0.032082364, -0.1287232786, -0.1216838807, 0.2754871249, 0.1487569511, 0.3947212994, -0.6300551891, 0.3526753485, -0.5480023623, -0.3682730198, 0.163808763, -0.7814874649, 1.1732829809, 0.1587139219, -0.2459987998, -0.108745724, -0.6661631465, 0.1271348298, 0.0046344497, -0.2465408444, -0.1956970692, 0.1576203853, 0.1669139266, 0.2322858125, 0.4332143068, -0.8553335667, -0.1562574655, -0.5742667317, 0.9631253481, 0.6345626116, -0.043630641, 0.3155380487, 0.0565233231, 0.1674673855, 0.0231837127, 0.1190868169, -0.4029468894, -0.4858324528, -0.3902218044, -0.4057076573, 0.1595826745, 0.6755421758, -0.3230824172, 0.7509000301, -0.5181120634, -0.1228486001, -0.3534699678, -0.3263421357, -0.0127189895, 0.4996494353, 0.4300822914, -0.0587471463, -0.8925833106, -1.0869351625, -0.0111230854, -0.1468041092, -0.4099699855, -0.0565045662, 0.185052231, -0.3639233112, 0.9571927786, -0.2116013169, -0.118493408, -0.1479546428, -0.2529008389, 0.4610972404, 0.4925259352, 0.056829311, -0.3644232154, -0.0852274224, 0.2630251646, -0.951597333, -0.238936305, -0.1958154887, -0.1356185377, 0.1814500839, 0.5131655931, -0.6662576795, 0.2890771627, 0.6201071143, -0.2879152, 0.3026064634, -0.2427652329, -0.0280219577, -1.0377877951, 0.2366866022, 0.0641138628, -0.0332345665, -1.0040394068, -0.0943375602, 0.1126813143, 0.0807222202, -0.1975561529, 0.2914823294, -0.7219132781, -0.1155909002, -0.515566349, 0.1004908457, 0.0139733339, 0.2643356323, 0.2990897298, 0.4304038584, 0.9008589983, -0.2446631789, 0.1830601543, 0.4251369238, -0.1444507241, 0.6781502962, -0.9115130901, 0.2453604937, -0.3491007388, 0.4076539576, -1.000996232, -0.0424880236, -0.0291666258, -0.7890885472, 0.5548825264, -0.0718393475, -0.3382132947, -0.1537176818, -0.0950109661, 0.4121690094, 0.7950760126, -0.9062954783, 0.7965646386, 0.5681576133, -0.2783539891, -0.5194637775, -1.0641664267, 0.7297083735, -0.0318127461, -0.9561079144, 0.3334950805, -0.051830858, -0.028951969, -0.3082835674, 0.0666029677, -0.1747093946, -0.1164188236, -0.0986118913, 0.0963227302, -0.0500929318, -0.2812716067, 0.5305863023, -0.060660556, 0.5126924515, -0.6807932258, 0.6392828822, 0.2673145831, -0.3552120328, -0.6576849222, 0.5909088254, 0.7037058473, -0.1542598903, 0.5132907629, 0.5030487776, -0.9408596754, -0.1721302122, -0.5013999343, -0.1911805868, -0.4899156988, 1.0500730276, -0.5396202803, -0.7925031781, 0.6241365671, -0.4151735902, 0.0615977645, -0.0602976903, 0.4725331068, -0.0956434831, 1.1732022762, 0.4154101908, -0.0175316129, 0.1011743695, -0.0612953827, 0.3722906411, -1.3634659052, -0.5228379965, -0.1690668911, -0.131068334, -0.0444086008, -0.4389258623, 0.2800671756, 0.3742325306, -0.1920797676, 0.246049732, -0.5338670611, 0.331444025, -0.0605419502, 0.359644413, 0.0542368293, 0.3332667649, 0.224930957, -0.0792048201, -0.5700968504, -0.3311577439, 1.0182754993, 0.7526509166, 0.5416718721, 0.4159995914, 0.2835813165, 0.2235623449, 0.1536854506, -0.8425477743, 0.6313478947, -0.138671279, -0.3383015394, -0.3245256841, -0.1642463803, -0.8817456961, 0.1369277835, 0.0425634682, -1.1429479122, 0.5811548829, -0.0471258201, -0.2879991829, 0.4360398054, -0.5288597345, 0.4426430762, -0.0821011439, -0.7469301224, -0.4624587893, -0.6819723248, 0.417614311, -0.1243689954, 0.2903134227, 0.339559257, -0.4484777749, 0.8761655688, -0.0279024169, 0.8426718116, -0.2385670245, -0.5699259639, 0.336263746, -0.0064298324, 0.6650506854, -0.0756779388, -0.221185267, 0.4933539927, -0.1138390675, -0.3059482276, -0.6616849303, 0.7943887115, -0.5977759957, -0.367135942, -0.0205824953, -0.3488112092, -0.3621026576, 0.0277492963, -0.0310977791, 0.6427118182, -0.0789414123, 0.2741805911, 1.1173866987, -0.3893992007, 0.6871337891, 0.5430375934, 0.1136722267, -0.8206956387, 0.9784949422, 0.0729748905, 0.2821353972, 0.5531987548, -0.2467414439, -0.6769705415, -1.0612419844, -0.5637876987, 0.4224968553, -0.8326275349, -0.0310531463, -0.7077603936, -0.1781122833, -0.3845570982, -0.091681838, -0.2304439545, -0.0857103467, -0.3869045079, -0.3087522984, 0.0874678567, 0.6355519891, -0.4158321321, 0.4788010716, -0.6241545677, 0.1036946326, -0.014908432, 0.5644906759, 0.1077883095, -0.8595838547, -0.3931076527, 0.1815414727, 0.1348257363, -1.2468761206, 0.3727956414, 0.0293718409, 0.5490595698, 0.3795092702, -0.3119255304, 0.5717715621, -0.6550638676, 0.7548356056, 0.6547673345, -1.0611298084, 0.1362316459, -0.4514785707, 0.3890181482, 0.0424367413, 0.2070942968, -0.7531041503, 0.1831506342, -0.1832576841, -1.1010652781, 0.5011839867, -0.1840268821, 0.0549074933, -0.1903749257, 0.5946793556, -0.1210175678, -0.1009312421, -0.5960976481, -0.0703778341, 0.2252576202, -0.5015913248, 0.2192216069, -0.5588285923, -0.1389154047, -0.1558455825, 0.4056530297, -0.1343251914, 0.638371408, 0.1738773435, -0.1295765042, 0.0923973322, 0.278421998, 0.4481116533, 0.5081753731, 0.1223136783, -0.0423049442, 0.5076489449, -0.3122246861, 0.1178973392, 0.0405839458, 0.0399457626, -0.1406538337, 0.3078432381, 0.8821427822, 0.0015833939, -0.646958828, 0.6017225981, 0.2059300095, -0.3306575119, -0.5065045357, -0.4981414378, 0.4627129436, 0.2147420049, 0.3809452951, -0.1018484533, 0.3889166713, -0.3590878248, 0.4359696507, 0.659261167, -0.2496415228, -0.5754832625, 0.8081929684, 0.2949497402, -0.4116346836, 0.6039017439, 0.1801066995, -0.1405842006, 0.5310590863, 0.9178104997, 0.9564239383, -0.200512737, -0.2106652558, 0.3762732744, 0.4167197347, -0.0138103981, 0.4683295786, 0.1053175852, -0.4449742734, -1.0698952675, -0.6659954786, 0.0153630422, 0.1698958278, -0.4632941484, 0.4987611175, -0.4961217344, 0.0000723909, -0.2445704788, -0.7270858288, -0.090065375, 0.305457294, 0.6281292439, 1.1731790304, -0.6149511933, 0.7960808873, 0.2623430789, 0.0507141463, -0.454295814, -0.329560101, -0.1830316484, -0.6036881804, 0.3192131817, -0.0032763905, -0.3436301947, 0.3761354983, -0.4048219025, -0.9037803411, 1.0323591232, 0.5871129632, -0.8124548793, -0.2398122996, 0.2562001646, 0.4563579857, -0.2212087959, 0.8359534144, 0.7816703916, 0.5016499162, -0.1144929603, -0.7916930318, 0.2088638693, -0.1538546979, 0.0511952005, 0.1365353912, -0.3745559156, 0.1683967412, -0.2292708009, -0.271830827, 0.1377177089, 0.9302703142, -0.0408872738, 0.0433824025, 0.3136523664, 0.4611465931, 0.4501995742, -0.0543843247, 0.581105113, -0.511344254, -0.0741168186, 0.8875356317, -0.0488532111, 1.027017355, 0.5488212705, -0.1797997355, 0.4073192477, 0.6208674312, 0.3118275702, 0.3667491972, 0.3835345805, -0.5129020214, -0.2347300798, -0.1827284545, -0.2518442869, 0.3202423155, 0.8301592469, -0.2514114082, -0.2007041126, 0.2750088871, -0.0353849567, 0.1755052358, -0.2846146822, 0.7204456925, 0.2382262647, -0.511998713, 0.737247169, 0.0843070596, 0.8669823408, -0.853266418, -0.0929317102, -0.0609637052, 0.0449156761, -0.4501683712, -0.7015686035, 0.4362136722, -0.3953206837, -0.2050561309, 0.0828092843, 0.4423997104, -0.6172292829, 0.0986422151, 0.761693418, 0.3514660895, 0.1882212013, 0.0575065129, -0.309417516, 0.4605521858, 0.1547608525, -0.2560349703, 0.3647626638, -0.0278419424, -0.0032808881, 0.5867248774, 0.7661809325, 0.1473637968, 0.0989901647, 0.2271800637, 0.6627548933, -0.5683328509, -0.5178948045, -0.9710389376, 0.6468610764, -0.076453425, 0.0416554101, 0.3033974767, 0.6637694836, 0.2772974372, 0.1170233861, 0.7826691866, -0.0364624709, 0.3520877063, -0.3751929402, 0.5823270679, -0.3564464152, 0.2989871204, 0.0154322144, -0.6845094562, -0.395661056, 0.3173841238, -0.0280810744, -0.0080764219, 0.6056020856, 1.0822069645, 0.1548429579, 0.2550570965, 0.5612358451, 0.5088441372, 0.5054056048, 1.036819458, 0.6504678726, -0.2582799196, 0.5255774856, 0.3746462166, -0.8650233746, 0.2283048481, -0.5457150936, -0.4187884927, -0.3224725127, -0.3329775333, -0.3234543204, 0.3443537056, 0.7701805234, 0.5803880095, -0.55054456, -0.3354821205, -0.4681550264, -0.3119986057, -0.2228581309, -0.1106137037, 0.4127884507, -0.1009155363, -0.9812873006, 0.7342230082, 0.482404083, 0.0236426741, -0.4122973084, -0.2706473172, -0.1262955815, 0.1740558296, 0.9433069229, 0.4963600039, -0.69449687, -0.1180629134, 0.1392182261, 0.2087508738, -0.1920147091, 0.3613567054, -0.7238965034, 0.346926719, 0.5720614791, 0.9016851783, 0.3378687799, -0.3498291373, 0.8771902323, -0.1483748853, 0.0404778756, 0.1047802791, 0.5579519868, 0.3236415088, -0.4398667216, 0.214334622, 0.0892666578, -0.4989328682, -0.9005284905, 0.4558627009, -1.179766655, -0.4135198891, 1.3122217655, -0.1579738259, -0.5121439099, -0.3207327127, -0.2193230838, 0.2856049538, -0.0498068035, 0.3930022717, 0.6410253644, -0.1821669191, -0.3583295643, -0.3442662656, 0.0743889287, 0.6119395494, -0.7929463387, 0.3028623164, 0.7022900581, 0.3408272564, -0.0486462079, 0.4972725213, -0.3398367167, 0.4850244224, 0.0779985636, 0.2934546769, -0.2966122925, -0.232072711, -0.8291292191, 0.274409622, -0.0102855871, -0.1701066941 ]
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.2557899952, -0.6897227168, 0.2606095076, 0.312250942, -0.0447542071, 0.2697972655, -0.4950047135, -0.43188411, 0.4228584766, 0.2662759721, -0.3006095886, -0.672172606, -0.7317180037, 0.0969043225, 0.1792617887, 0.6767058969, -0.0111471266, 0.2105629146, -0.1821484715, -0.4973761439, -0.7939157486, -0.5090163946, -0.7049924135, -0.310765326, 0.7762749791, 0.4619479179, 0.5632215738, 0.2176754028, 0.1219009012, 0.2839349508, -0.3851418495, 0.5528861284, -0.1308438182, 0.0714422017, -0.3294785619, -0.3702916801, -0.9611204863, -0.2334093302, 0.67990762, 0.6745358706, -0.1136914566, 0.1641319245, 0.0597785152, 0.6390524507, -0.8810355663, 0.0196677223, -0.6812713146, -0.0744488165, -0.1098719165, 0.1118060946, -0.4904629886, -0.2176642567, -0.3043784797, -0.8344584107, -0.2742046416, -0.2327647358, 0.3667550385, 0.2346617132, -0.1874499619, 0.1861417592, -0.2924161851, 0.4632869661, -0.9296575189, 0.4364686012, 0.3788149059, 0.2246491909, -0.0713169351, -0.41370821, -0.6023565531, 0.032794252, -0.0111265974, -0.0468666628, -0.2841918766, -0.0879242867, 0.4223813713, -0.223214969, -0.3860132396, 0.1387230605, -0.1565519422, -0.3141977489, 0.2938189805, -0.167697683, 0.2670615017, -0.2566130459, -0.040151827, -0.1993068457, -0.7297872305, -0.0607803538, 0.4533387423, 0.0930591598, 0.0498135015, 0.4020107388, -0.4776214361, 0.8394615054, -0.2094703466, -0.2710648477, 0.359280318, -0.1321077347, -0.1981780529, 0.1390114725, 0.5253712535, 0.4166603386, 0.0974087566, -0.2420061678, -0.0846594274, -0.2845104337, 0.0844191834, -0.778806746, -0.1591107249, -0.1126417518, -0.3300485015, -0.2116360813, -0.5124127865, -0.9084130526, -0.6586695313, -0.1964706033, 0.6016759276, -0.4304257333, -0.1165933236, 0.3002876937, -0.0543312319, -0.2011483163, 0.628156364, -0.8997338414, 0.1014976129, 0.2980356216, 0.6254405975, 0.1114052683, -0.863571465, -0.4224219322, 0.351052165, -0.4160471559, 0.8096169233, -0.4859772921, 0.085192956, -0.2526896298, -0.0970240906, -0.2375971377, -0.5432143211, 0.2139322609, -0.8310866356, -0.1435661465, -0.2066347599, -0.3330861628, -0.3817414343, 0.5083735585, -0.5369439721, 0.8762040734, -0.0606778748, -0.4305435717, 0.3310114443, -0.929166317, -0.5436144471, -0.3504248261, 0.0837565139, -0.2196146548, -0.0536318384, 0.73881495, 0.329349637, -0.0975459814, 0.3891662359, -0.1600167304, -0.0724046156, 0.3279396892, -0.4575943053, 0.6404163241, -0.1238105819, -0.1498235464, 0.1916177571, -0.8307074308, 0.0202732291, -0.1974575371, -0.3156878054, -0.3923894167, -0.2053089738, -0.0589458421, 0.3559569716, 0.2741716206, -0.4841291308, 0.5779691935, 0.0333847068, 0.4593884349, 0.9670431614, 0.1767115742, 0.529509306, -0.1256309301, 0.3276877999, 0.2791825831, 0.3761407435, 0.0197186694, -0.6293387413, -0.595128715, -0.1739217043, 0.7594347596, 0.5532926321, -1.1623117924, 0.0224663597, -0.522579968, -0.5155252814, -0.7485354543, 0.5374403, 0.2670174837, 0.4432168305, 0.6592034698, -0.1413559318, -0.185648188, -0.9416756034, -0.4533300102, 0.16146788, 0.1201350316, 0.1846564263, 0.3011173904, -0.2272844911, 0.603623867, -0.432564199, -0.4203859568, -0.0471196808, 0.2062831074, 0.3493580818, 0.765325129, 0.5055713654, -0.4873532057, -0.4062153399, 0.172575742, -0.8299608231, -0.0798798352, -0.2528826594, -0.2920036316, 0.1067092717, 0.6594178081, -0.5113526583, 0.2788291574, 0.6915901899, -0.2159295827, 0.3667888939, -0.4566266537, 0.5062158108, -1.17965734, -0.0343770348, -0.4031935036, -0.0110658435, -0.692669332, -0.0513660759, 0.5271997452, -0.1362276673, -0.4251519144, 0.6629981995, -0.4060389996, 0.0371650457, -0.1395568848, 0.1708921492, 0.1584471613, 0.8772365451, -0.1107920185, 0.6955739856, 0.4272252619, -0.3432726562, 0.0485170707, 0.4455367625, -0.656994462, 0.5158933997, -0.2650189698, 0.3319437802, 0.0370752551, -0.0420036055, -0.3992564976, -0.0476725288, 0.1922524124, -0.4321386218, 0.4909797311, -0.1920528561, -0.7670143247, 0.2597274184, -0.2079900801, 0.632941246, 0.0904066265, -0.580298245, 0.6998818517, 0.3016621172, -0.2543355525, -1.0007042885, -0.7108219266, 0.5780524015, 0.1538849175, -0.718988955, 0.4396221042, -0.1478581578, -0.229256615, -0.0412131883, -0.1535280645, -0.0918375701, -0.0081251841, -0.2538531125, 0.1092819646, -0.2520479262, 0.2126355618, 0.5159866214, -0.1721570194, -0.2695193291, -0.1096652225, 0.2604296505, 0.2022095621, -0.3605603874, -0.2380321473, 0.1218510121, 0.4972240329, -0.4647310674, 0.7381514311, 0.514171958, -0.5252268314, -0.3572946191, -0.6776329279, -0.2423132956, -0.3850264847, 0.5165814757, -0.591006875, -0.8068577051, 0.5687926412, -0.2481286973, -0.2148442864, 0.3156967759, 0.2206175178, 0.1222004294, 0.5987863541, 0.5083095431, -0.2384306788, 0.2909549773, -0.0181324501, 0.163077876, -1.1529377699, -0.1688758582, -0.4428039789, -0.6659686565, -0.4168745279, -0.8174974322, 0.5641516447, 0.448484838, 0.1013451889, 0.3380037844, -0.3438336253, 0.7127717733, 0.5462910533, 0.3862920702, 0.5480061173, -0.0943060592, -0.2297199667, -0.2162234634, -0.9021359086, -0.2111528963, 1.0799583197, 0.0577596389, 0.647379458, 0.3245666921, 0.2357136756, 0.4219102263, 0.4040008485, -0.3786760867, 0.431669414, -0.2608520091, -0.537124753, -0.2966147363, -0.2451198846, -0.3888993859, 0.5308825374, -0.4151431322, -0.6773612499, 0.6031326056, 0.0084188618, -0.1878297329, 0.7108219266, -0.8174085617, 1.1560497284, -0.079292208, -0.4633513987, -0.460782975, -0.5470855236, 0.1734889001, -0.2316596359, 0.306920439, -0.1869584769, 0.0239990782, 0.7069242597, -0.1856660396, 0.8144139647, -0.3302237689, 0.0466786623, -0.1133090481, 0.1116220355, 0.6238027811, 0.2843408883, -0.3351040483, 0.5070638657, -0.2776152194, -0.4500437379, -0.7924389243, 0.6884356141, -0.6699870825, -0.4205653071, -0.2330237031, -0.8218480945, -0.5498078465, 0.257992208, -0.0734011754, 0.4904387891, -0.1506999731, 0.0584109537, 0.5704923868, -0.5471538901, 0.4721530974, 0.5342800021, -0.2426672131, -0.734054029, 0.7904497981, 0.3018949926, 0.3102038503, 0.488283664, -0.0852265805, -0.0036024323, -0.7748368979, -0.9571338892, 0.102663517, -1.1881356239, -0.2915837765, -0.7718575001, -0.0699080825, -0.4309995174, -0.2884881794, -0.2396777868, -0.621506989, 0.1148505434, 0.0776409805, 0.4703418612, 0.668014586, -0.3380567431, 0.2884519994, -0.6138454676, 0.5988094807, 0.4308786988, 0.520362854, 0.0521845333, -0.4807550609, -0.4100399017, 0.0552332178, -0.0642598346, -0.8550319076, 0.1443660408, 0.208651647, 0.6106294394, -0.1113265529, -0.2211860269, 0.8787702322, -0.6232093573, 0.4405458272, 0.0800817758, -1.1834617853, 0.3872736394, -0.152652517, 0.4653938115, 0.5980125666, -0.0209286641, -0.9045411348, -0.210624069, -0.3266449869, -0.5058657527, 0.7747209668, 0.0388559587, 0.1153405011, 0.2022843957, 0.3120339811, 0.0890217945, 0.3435057104, -0.7754887342, -0.3051970601, -0.2713599205, 0.1790609956, -0.2790901959, -0.3656829298, 0.0147958361, -0.5430284739, 0.9833254218, -0.4013004601, 0.0634877682, 0.2066825926, -0.6633986831, 0.0811367482, 0.5399538875, 0.9541898966, 0.8218553066, -0.2259624153, 0.1533768773, 0.635201931, -0.4901761413, 0.1029416397, 0.076999329, -0.2966665924, 0.0523841567, 0.2333438396, 0.8047170639, 0.469501406, -0.363358736, 0.339550972, 0.0086975098, -0.1365655065, 0.2949124575, -0.2187112868, 0.2945749462, 0.22025235, 0.1350193024, 0.7219346166, -0.1079000905, -0.0078430781, 0.0445015505, 0.1099203378, -0.179096058, -0.1298304349, 0.6254152656, 0.008895495, -0.1293275356, 0.4339419901, -0.2086949944, -0.2744014859, 0.4244196117, 0.437915504, 0.7502143979, -0.3647759259, 0.1788626462, 0.5006771088, 0.8335658908, 0.2189809084, 0.0433368422, 0.1636061966, -0.8886658549, -0.7614118457, -0.5547910929, -0.5002889037, 0.1494873911, -0.3203744292, 0.3625041544, -0.3827427328, 0.1765396297, 0.2568660676, -0.5233657956, -0.3285961449, 0.0422162525, -0.0558911934, 1.1125233173, -0.5517730117, 1.2368290424, 0.7072531581, -0.2437771708, -0.3900470436, -0.2253063917, -0.1877162606, -0.6889890432, 0.2992634177, -0.0122893518, -0.0268699601, -0.0203485452, -0.29800421, -0.6766495705, 0.989436388, 0.7047443986, -0.3064451814, 0.202972725, 0.2273127139, 0.427211076, -0.2042437643, 0.0467106849, 0.3244484365, 0.7371467352, -0.2799596786, -0.7951554656, -0.12873514, -0.3791389763, -0.1092086062, 0.1774412543, -0.453087002, 0.7947113514, -0.0630315095, 0.5205976367, -0.1638388783, 0.2980895042, -0.1389079839, 0.0369519368, 0.2894996107, 0.7597501278, 0.7582333088, 0.0524415746, 0.6922700405, -0.3015922904, 0.0565377437, 1.4542015791, -0.2582396865, 0.9398121238, 0.5550749302, 0.164386645, 0.5269191861, 0.4182820022, 0.0262015704, 0.5061230063, -0.0245124865, -0.3656941056, -0.2847383916, -0.0593840927, -0.3179373443, 0.5658953786, 0.2066533864, -0.145124346, -0.3048422635, 0.254393518, 0.3244440854, 0.0906945318, -0.4615006149, 0.8766246438, -0.0885975957, -0.5972443819, 0.5551940203, 0.3066896796, 0.5987167358, -0.580018878, -0.1690804362, -0.2676557004, 0.2292934954, -0.1256703138, -0.5071194172, 0.2290994227, -0.0328010991, -0.3860475123, -0.2755636573, 0.9046401978, -0.4976240396, -0.50195086, 0.5540231466, 0.8002429605, -0.1017534211, -0.3758799434, -0.7833247781, -0.0675468817, -0.0629647449, -0.1610788405, 0.5464169979, 0.2770324945, -0.2044916004, 0.4742521048, 0.7671052217, 0.188090086, 0.2227381766, 0.2216028571, 0.7817680836, -0.692850709, -0.2753215432, -0.7533662319, 0.5272830129, -0.2040214539, -0.3526737392, 0.6055138707, 0.5266724825, 0.8305092454, -0.3337421417, 0.6999108195, -0.1214739829, 0.2105751485, -0.741684258, 1.2613557577, -0.5482640862, 0.0376000665, -0.2528571188, -0.9818701744, -0.5586071014, 0.327580601, -0.3093640506, -0.1582054198, 0.8147139549, 1.0868856907, -0.1502507627, -0.1383594275, 0.6524014473, 0.479860872, 0.0393345803, 0.57421422, 0.6529676914, -0.6854526401, 0.2451591343, -0.7022292018, 0.0131322425, 0.0524566844, -1.0124300718, -0.8741589785, -0.393080622, -0.3133381307, -0.1773094684, 0.2496632785, 0.8669621348, 0.6908023953, -0.8502745628, -0.1690289229, 0.2615858912, 0.525272429, -0.6246696711, -0.0454842672, 0.5148934126, -0.419914335, -0.7012721896, 0.7956156135, 0.4784177542, -0.3166207969, 0.1477921754, -0.1437063515, -0.6478483677, -0.1769169271, 0.713829577, 0.0221127793, -0.4419929683, -0.2343489528, 0.0139491251, 0.0277757365, 0.3107162714, 0.6016619205, -0.556682229, 0.8852042556, 0.2734365165, 0.8378349543, 0.3504951298, -0.4399996996, 0.2674159408, -0.9646738172, 0.2331751138, -0.0519287512, 0.5482917428, 0.4605624378, -0.0998630598, 0.48874107, 0.2735582292, -0.4286053479, -0.5762912035, -0.2340707928, -0.9416068196, -0.3261816204, 0.9967327714, -0.0738445446, -0.1883546859, -0.0822352096, -0.2814166844, 0.2141246647, -0.1839342415, 0.7080065012, 0.8869801164, 0.1556231827, -0.2248638719, -0.8249313831, 0.4989369512, 0.5534814596, -1.1198072433, 0.0458014533, 0.5497264266, 0.2101188898, 0.2224832922, 0.450352937, -0.1008788273, 0.717926383, -0.0597461797, 0.6439788342, -0.1852737367, -0.4356009662, -0.5821700096, 0.1649511158, 0.2673939466, -0.0176897105 ]
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.2968377769, -0.581612885, 0.2712458074, 0.042359449, -0.1797108501, 0.0406009108, -0.7561398149, -0.5124329925, -0.0304351021, 0.4094307721, -0.4837550223, -0.2512561679, -0.2312271148, 0.1513921022, -0.2932722867, 1.2373911142, -0.2990559638, -0.3189746439, -0.4485955238, -0.3407194316, -0.4944081306, -0.6841112971, -0.6496458054, -0.1796375662, 0.2674072981, 0.5218244791, 0.6730161309, 0.1834948659, 0.3445889354, 0.2531660199, -0.1380724609, -0.0167170055, -0.6359100342, 0.6441255212, -0.3858291209, -0.2280017436, 0.0320946202, 0.0813713148, 0.3426378369, 0.5226610899, 0.2692895234, 0.6845322251, 0.1151195765, 0.390009135, -0.4406514168, 0.0435404293, -0.3223479688, 0.1164145991, 0.0690760687, -0.4334501624, -0.4617253542, -0.5320906639, 0.2902901471, -0.3020006716, 0.0966924056, -0.4135218263, 0.7414138913, -0.0555150025, -0.9188081622, -0.686242938, -1.0322993994, 0.7387003303, -0.5005366206, 0.1874324977, 0.2426495403, 0.3126596808, 0.2235772461, -0.7568572164, -0.5941368341, -0.4885471761, 0.0556934997, 0.3849240541, -0.0025504727, -0.4201520383, 0.4543478191, 0.4378549457, -0.5841004252, 0.2437291741, -0.4606951475, -0.0481411405, 0.6734471917, 0.2972721457, 0.6004544497, -0.1646685451, -0.1997326314, -0.2208778113, -0.5654048324, 0.6122828126, 0.8340579271, 0.3314875662, -0.3498446643, 0.5963802934, -0.4023292661, 0.6200660467, -0.2315890789, 0.0272508301, 0.1772648543, -0.6896187067, 0.2751578987, -0.2463580817, 0.5788800716, 0.6302186847, 0.65251863, -0.0060854806, 0.052105628, -0.1590145677, 0.1742932647, -0.8072471023, 0.1303123683, 0.3352173567, -0.4790004194, -0.1002468318, 0.2395864278, -0.5382563472, -0.4372474551, -0.1725742072, 0.2318489552, -0.2493738383, -0.3981609643, -0.2446184307, -0.2895657122, 0.1066762283, 0.1706066281, -1.0082440376, -0.0527578667, 0.3897553384, 0.5170589685, -0.2177634984, -0.1783285588, -0.3591236472, -0.1962724924, -0.4205701053, 0.3380536735, -0.5782731175, -0.3856751621, 0.2298483104, -0.0498828478, 0.0781364292, -0.4215886295, 0.8076928258, -0.5725924373, 0.3696618676, -0.5730057359, -0.0317461714, -0.2907078564, 0.1100085229, -0.752168715, 0.8146362901, 0.4178783, -0.7892647386, 0.6712613702, -0.4126764834, -0.5584638119, 0.265275836, -0.0498899035, 0.1888037622, 0.2874034345, -0.1271562129, 0.3026535809, -0.3451713026, 0.2454729229, 0.0505849198, -0.2779634595, 0.6015715003, -0.3382032514, 0.8388910294, 0.3045192659, -0.2576317787, 0.1804723591, -0.7532565594, 0.250559181, 0.0947579518, -0.5189027786, -0.4919476807, -0.0882755667, 0.0173765495, 0.5744858384, 0.3310525715, -0.6473456025, -0.279872179, -0.2404911816, 0.5516104698, 0.3876082003, 0.0832764879, 0.3214614391, -0.2882056534, 0.7702614069, -0.0561935753, -0.1361258328, -0.4833654761, -0.4792587757, -0.4836670458, 0.1524659693, 0.0440989435, 0.5062192082, -1.1340098381, 0.0461438075, -0.1012104973, -0.8095321655, -0.1175971478, 0.0465036184, 0.3537759185, 0.5331996083, -0.1179835945, -0.6050574183, -0.3931522369, -0.689324677, -0.5263459086, -0.461309135, -0.0768819898, 0.508292377, 0.5001877546, 0.4444248974, 0.8793307543, -0.167879805, 0.1593727171, -0.2186017334, 0.3812566996, 0.2205804139, 0.41465801, 0.4815911651, -0.8646201491, -0.7016601562, 0.3807088137, -0.7733008265, -0.1906037033, -0.1451685727, 0.0159352496, 0.5634302497, 0.2993083596, -0.3206999004, 0.1789942384, 0.7433831096, -0.6011142135, 0.6386271119, -0.2282989025, 0.6713136435, -0.9492096901, 0.3564741313, -0.0843783095, 0.181394875, -0.9300140142, 0.2755818367, 0.0998356491, -0.3111226261, -0.4123064578, 0.7840730548, -0.2090173513, 0.0849753469, 0.0228327643, 0.1813802719, 0.0921119303, 0.1381364316, 0.4295056164, 0.6812785864, -0.0312551297, -0.3409206569, 0.4724514484, 0.1863073558, -0.7700386643, 0.7561820149, -0.5604419112, 0.2873163521, -0.0287215263, -0.0055293697, -1.2309231758, -0.2716590762, -0.0942627788, -0.7026198506, -0.0760793984, 0.0528016128, -0.5139075518, -0.6453544497, -0.1097525284, 0.6482198834, 0.525416553, -0.1638988107, 0.2083691955, -0.0361517966, -0.5640949607, -0.4267715514, -0.6763846278, -0.1337536275, -0.4010640383, -0.8654954433, -0.1119366363, -0.1809247732, -0.3748549521, -0.1863187999, 0.1808307618, -0.1309929937, 0.1925679594, 0.0727864355, -0.0591005124, -0.3293438852, 0.158085078, 0.2095970511, 0.2456395924, 0.1803697795, -0.1874411851, 0.5232092142, 0.0148539757, -0.3936225176, 0.0673064068, 0.5262182951, 0.6502579451, -0.6892994046, 0.8033354282, 0.619281888, -0.290086627, 0.0867805704, -0.4112937152, -0.1215798482, -0.4132202268, 0.5827338696, -0.4383308887, -1.0975557566, 0.9548610449, 0.6026758552, 0.1231435984, 0.4874015749, 0.8913335204, 0.1519680172, 0.8160386682, 0.5657855868, 0.7172827721, 0.0757542849, 0.151570484, 0.3156687915, -0.656159699, -0.3604680896, -0.6972937584, -0.1633550823, -0.6605497003, -0.2516320944, 0.3832193911, -0.227455005, -0.4268669188, 0.2939960659, -0.0704470947, 0.1818102449, 0.6781154871, -0.1789047867, 0.4421718121, 0.022156518, -0.1742162257, -0.2212721556, -0.6166746616, -0.7055696845, 0.8529848456, 0.3917736411, 0.5849398971, 0.3104985654, 0.3165267706, 0.0819359049, 0.3303869367, -0.624712646, 0.2479190677, -0.3362774849, -0.8406471014, -0.4401881695, -0.4014990926, -0.5738334656, -0.0222439785, -0.2182055563, -0.866977036, -0.0074834758, 0.0723692179, -0.5926971436, 0.1042241305, -0.7717844844, 0.8429248333, -0.2581499219, -0.3415257037, 0.1104200482, -0.5492823124, 0.4957481325, -0.3123493791, 0.045272354, 0.1923176944, 0.0321943015, 0.8196794987, 0.2141799033, 0.7171795964, -0.0689163506, -0.3331134021, 0.5701247454, 0.4476165473, -0.014479368, -0.0777251348, -0.4653768837, -0.038755931, 0.3306694925, -0.0504937805, -0.5808504224, 0.5775026679, -0.7689777017, -0.6603891253, 0.0042004376, -0.9348734617, -0.2199031413, 0.0401335806, 0.4786942303, 0.4263091087, -0.3285080492, 0.3308103979, 0.3493581712, -0.7166320086, 0.3052821159, 0.4997528195, -0.0892619863, -0.0721610412, 0.6972270608, 0.4304684103, 0.5454137325, 0.0973786265, 0.1393097639, -0.2830731869, -0.2182402462, -0.7767855525, -0.0487035066, -0.9918689132, 0.0664971918, -0.4856564403, -0.1985842437, -0.2385106832, -0.2050192952, 0.1256366074, -0.3940593004, -0.2400598377, -0.100636825, 0.1205919087, 0.7597432733, 0.108504124, 0.1962458789, -0.8208808303, -0.0925601423, 0.1898972839, 0.1939348876, 0.1589515507, -0.7275123, -0.4293995798, 0.1185405552, -0.1508813649, -0.8892091513, 0.1496474445, 0.1062910631, 0.6283423305, 0.5241757035, 0.2779968381, 0.0808518976, -0.2052090168, 1.2083399296, 0.0412186719, -0.9769811034, 0.3011907935, -0.4719229937, 0.5789983273, 0.5167298317, 0.643032074, -1.1243544817, -0.4892636538, -0.3258607984, -0.8968307376, 0.6905714869, 0.0120383818, 0.8504140377, -0.2362962514, 0.0085097384, 0.5069965124, 0.3269274533, -0.7004320621, 0.2471885234, -0.1728846431, -0.0520850196, -0.0427693091, -0.4511453509, -0.1581038088, 0.1613793522, 0.4177776873, -0.2070304304, -0.0415551439, 0.0569254458, -0.2335965931, -0.2574346364, 0.3295403719, 0.636184454, 0.9922450781, 0.0891444981, 0.0107240872, 0.2922506928, -0.2644359171, 0.2569677234, -0.2025645971, -0.2550840676, -0.3065907657, 0.4056469798, 0.6361461878, -0.2731432021, -0.806204915, 0.3879460096, -0.1760616601, 0.0930732489, -0.2872174978, -0.0141959405, 0.0072814003, 0.1283811182, 0.3947342634, -0.2763647735, -0.0868957862, -0.7743201256, 0.0420650207, 0.4070957899, -0.636652112, -0.3523494601, 0.5781415701, 0.5116245747, -0.2299474478, 0.886000514, -0.1332952231, -0.6000706553, 0.9063066244, 0.6139807701, 0.6842682958, -0.4856059551, 0.3888168335, 0.5610487461, 0.4841009378, 0.4949711263, 0.5673827529, 0.0110329306, -0.7385876179, -0.7513400316, -0.5411348939, -0.2835631371, -0.0835242495, -0.843393445, 0.3028046191, -0.1452465653, -0.1579467505, -0.4212759137, -0.1665213406, -0.7441389561, 0.5327769518, 0.2723433971, 0.9828144312, -1.301431179, 0.2977036238, 0.8984145522, -0.4118866324, -0.6148700118, -0.0093638739, -0.1729274988, -0.4681922197, 0.9308953285, 0.1476373374, 0.1886904389, -0.1802177429, -0.104528673, -0.7042443752, 0.8683702946, 0.2610200346, 0.0790248141, 0.2078205347, 0.3081355095, 0.9000021815, -0.4660791159, 0.748339653, 0.4934433699, 0.2630136609, 0.0455618575, -1.0613055229, 0.2501132786, -0.4285428822, 0.0723481625, -0.1648941189, -0.5599706173, 0.8795686364, -0.3010284305, -0.3872541785, 0.3789105415, 0.7730455399, 0.091640301, 0.1123135388, 0.4574908912, 0.1995649338, 0.6535422802, -0.1942798197, 1.0117629766, -0.3936687112, 0.039194759, 0.9931311011, -0.4251742065, 0.6418418288, 0.2687980235, 0.1243153438, 0.6584452987, 0.7214127183, 0.1408687532, 0.090512529, 0.2854480743, -0.2078804821, 0.0691205859, -0.5344051123, -0.3320549428, 0.7798258662, 0.0358810835, -0.5920396447, -0.1600686461, 0.1840887219, 0.1661662012, 0.3165869117, -0.1729165018, 0.547503233, -0.1522025913, -1.1898342371, 0.3595059812, 0.0700165182, 0.2557005286, -0.661614418, 0.0426620804, -0.3543134034, -0.3144942522, -0.2801688612, -1.226036787, 0.3834180534, 0.3428820074, -0.2768152356, -0.1375913769, 0.5800601244, -0.5126786232, -0.2205224782, 0.1206081584, 0.6699781418, 0.1256287247, -0.0185951293, -0.0679745823, 0.0588938072, 0.0197623484, -0.422403872, 0.0677182525, 0.403398335, -0.5186390281, 0.4652299285, 0.5114398003, -0.0565544777, -0.0820367262, 0.1284110248, 0.4707005918, -0.3783369362, -0.6290593743, -0.5791988969, 0.8334028721, 0.0380166806, -0.6133583188, 0.7068400979, 0.4109415412, 1.0468562841, -0.2209865153, 1.0179134607, -0.4432170093, 0.2476403564, -0.3739415407, 0.8159808517, -0.4103180766, -0.1191262901, -0.2483981699, -1.0020982027, 0.1028027236, 0.2102446407, -0.5824092031, 0.3924663961, 0.7996392846, 0.4512405396, 0.1345843673, 0.317435056, 0.4975688457, 0.115752168, 0.0778251439, 0.5513843894, 1.2181060314, 0.1134924963, 0.5041831136, -0.3104645908, -0.462880373, 0.2601152956, -1.0230039358, -0.6848002672, -1.0477029085, -0.2040755004, -0.5272638798, -0.239318952, 0.8109058142, 0.4204539955, -0.7132502198, -0.472002238, 0.7988085151, -0.1711853445, -0.2252149433, -0.2510479093, 0.1679279804, -0.0179947, -0.7651445866, -0.1750085652, 0.0522927493, -0.0826031491, -0.4479586184, 0.1594469398, 0.2451713383, 0.2116249949, 0.8447954655, 0.2809664905, -0.3801583052, -0.461430788, 0.1139445379, -0.0241813548, -0.3157114685, 0.9708641768, -0.6007344723, 0.6513803005, 0.721095264, 0.3711680174, 0.1839805543, 0.1601894647, 0.7168751955, -0.7026979923, 0.0654230192, 0.2170635164, 0.1313578784, 0.6561937332, -0.3994190097, 0.3715403974, -0.204801172, -0.4985470176, -0.6230831742, 0.4946481586, -0.6289108992, -0.0144592896, 1.3857465982, -0.6761248112, 0.1147355288, -0.1114930883, -0.2413293868, 0.3811717927, -0.0321546085, 0.5208048224, 1.0168945789, 0.1185430512, -0.1136859059, -0.768070817, 0.2290697992, 0.3977703154, -0.6347732544, 0.0905593634, 0.3772923648, 0.1155873686, 0.2434330583, 0.4221456349, -0.176831454, 0.3822533488, -0.3043146431, 0.0166481268, -0.0528937168, -0.1678967625, -0.3485894203, 0.1753388196, 0.4299380779, 0.4356697798 ]
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.3377414644, -1.0778068304, 0.5995106697, 0.0578847453, -0.0833089799, 0.558447957, -0.4715802073, -0.2626728117, 0.211289227, 0.3686525226, -0.7137770653, -0.6329760551, -0.5905055404, 0.1730796248, -0.0322045013, 0.9587727189, -0.1284141093, -0.1890686154, -0.2044687867, -0.2465373874, -0.2643229961, -0.3185616434, -0.9578147531, -0.8042984605, 0.6462658048, 0.4617694318, 0.8890154362, 0.4964897633, 0.0662990212, 0.4608120024, 0.1582465023, 0.52876091, -0.7768747807, 0.3943239748, -0.1812712401, -0.1765394062, -0.4592242837, -0.1531177908, 0.7515582442, 0.6316241026, -0.2016073018, -0.0710490346, -0.0476084873, 0.3841633201, -0.2488090396, 0.4888145328, -0.8500078917, 0.0748913884, -0.1683924645, -0.4193340242, -0.6047877669, -0.2401700765, -0.111713618, -0.8284132481, -0.0342133343, -0.1968344152, 0.8284323812, 0.2735726535, -0.5436152816, -0.3999063671, -0.7301589251, 0.3083936274, -0.5398102999, 0.608944118, 0.0695695803, 0.4212564826, -0.6261586547, -1.0046957731, -0.5398463607, -0.4154931009, 0.0493101254, -0.0064719901, -0.1498114169, 0.1759920269, 0.2048459798, -0.203665033, -0.5861600041, 0.4136331975, 0.0003690073, -0.1821705997, 0.504688561, 0.2587353587, 0.518384397, 0.3443575203, 0.0536829196, -0.2872475386, -0.8245363832, 0.1154309511, 0.5792859197, 0.6321510077, -0.0680919811, 0.306427896, -0.3430602551, 0.952111721, 0.2821679413, -0.3043776751, 0.4221816361, -0.0880438313, 0.1181820109, -0.1708960086, 0.7442185283, 0.1023134217, 0.5693181157, -0.2707212567, -0.493242383, -0.1122275144, 0.2218872309, -0.8966967463, -0.3499214947, -0.0553688966, 0.0293646958, -0.4193188548, -0.3992356658, -0.3600568473, -0.4278197587, -0.2506053746, 0.1705347449, -0.4047287405, -0.2555837035, -0.0414198861, 0.0571933798, 0.0655725151, 0.2158177197, -0.8026328087, 0.44345963, 0.2797686458, 0.5545070767, -0.1704946756, -0.4881745279, -0.9031405449, 0.0249172729, -0.385101527, 0.6781209707, -0.7047543526, -0.2874506712, 0.2231332511, 0.020852264, -0.211618945, -0.4091173112, 0.0039837612, -0.868581593, -0.0705159754, 0.1705633402, -0.3186322749, 0.1721484661, 0.2628332973, -0.561999321, 0.8596899509, 0.3313431442, -0.5661951303, 0.2787869275, -0.4901752472, -0.6389473677, 0.2707285881, -0.1804695725, -0.4928283691, -0.101141192, 0.2187812924, 0.2264626771, 0.0960393324, 0.2571868002, -0.4783761203, -0.1631989926, 0.4179742336, -0.1017953008, 0.4489374161, 0.2092758119, -0.2359508127, 0.3884088695, -0.8921045065, 0.261972934, 0.3474294245, -0.6178019047, 0.0548402891, 0.309585005, -0.1339230537, 0.2723759115, 0.0619238392, -0.4713816047, 0.2035452574, -0.4941420853, 0.4085796475, 0.7691859603, 0.09339232, 0.2712362409, 0.0071902308, 0.7623022795, -0.244504407, -0.1776437312, 0.193938911, -0.0642050803, -0.7035682201, -0.2223450691, 0.3048360944, 0.4910538495, -1.4618558884, 0.3507246077, -0.3164028525, -0.4274810255, -0.0557922758, 0.1690239161, 0.3678176999, 0.4126587212, 0.0712554157, -0.1877925843, -0.3963662386, -0.5299058557, -0.0314854234, -0.0847423598, 0.1574109644, 0.4274747074, 0.2671192288, -0.2916110158, 0.7957044244, -0.6155193448, 0.0734435022, -0.6113484502, -0.0244361982, 0.0441122167, 0.2800842822, 0.5966967344, -0.4152450562, -0.6546054482, 0.008766057, -0.6011919975, -0.2271193415, -0.0348322392, -0.1701943278, 0.0515277199, 0.6957765818, -0.4859669209, 0.1303405166, 0.6938019395, -0.3626650572, 0.3204059005, -0.3237946928, -0.291572392, -0.9604202509, -0.1232454851, -0.0530843325, -0.6358990073, -0.804345727, 0.0459968708, -0.2458937317, -0.4985002875, -0.4602296352, 0.6048805118, -0.5107622147, 0.0786079168, -0.409802556, 0.312164247, -0.1313423812, 0.7017452121, 0.1069469601, 0.6199166179, 0.5664462447, -0.656645596, 0.5534094572, 0.1708497852, -0.1199440658, 0.286044687, -0.7889973521, 0.5160387754, -0.0552056916, 0.5438786149, -0.7446455359, -0.0744080245, 0.3420040011, -0.4834216535, 0.5555818081, -0.0867662877, -0.416354686, -0.2991372347, -0.0553274304, 0.3929600418, 0.4446948171, -0.5258614421, 0.476526916, 0.5011293292, -0.2588273883, -0.4584746659, -0.2880674899, -0.0167943295, 0.086443603, -0.582203269, 0.1874079406, -0.1221581697, -0.1172221303, 0.1307030916, 0.1993361413, 0.1283178777, 0.2979300618, 0.2460424453, -0.1744439304, -0.1932953596, 0.2554383278, 0.0563873276, -0.2223941088, -0.0114429379, -0.4947481453, 0.7398300171, -0.0525904968, -0.3245425522, -0.0901681185, 0.0744073987, 0.3943405449, -0.3504567146, 0.6331033707, 0.5068875551, -0.3054216206, -0.7790884376, 0.0773897916, -0.0479830652, -0.555883348, 0.6547925472, -0.6594526768, -0.8496209383, 0.5320165753, -0.1695878953, -0.0929246396, 0.1806967705, 0.738812983, 0.1715945452, 1.1042833328, 0.8356485367, 0.1033260897, 0.7045614719, -0.2386439443, 0.1770748943, -0.3742805123, -0.0636621118, -0.2473161668, -0.1861818731, -0.7516032457, -0.2428639084, 0.3433465958, -0.2911436856, -0.062834084, 0.0629827008, -0.3254871368, 0.4416522384, 0.4754737914, 0.1630073786, -0.0973504409, 0.0220586527, -0.4465891123, 0.3719307482, -0.8049557209, -0.2754410505, 0.9338569045, 0.357075274, 0.8920227885, 0.0568352453, 0.6572213173, 0.2941239476, 0.339931488, -0.7359778285, 0.5528898835, 0.0422946662, -0.1726233214, -0.6218767762, -0.5732678175, -1.2615922689, 0.1984688789, -0.2735295296, -0.7005887032, -0.1199237108, 0.274078548, -0.151520133, 0.1715814918, -0.4739255607, 0.718824625, -0.2986406088, -0.2805968821, -0.0964165479, -0.4028486311, 0.2110458463, -0.0757022873, 0.0278356224, -0.2196253091, 0.2184610665, 0.5666068196, -0.6934710741, 0.8738340139, -0.3995386064, -0.1470242143, 0.3752801418, 0.132463634, 0.7739729285, 0.0903385356, -0.0355566069, -0.3052652776, -0.2604846954, -0.274672538, -0.7304611802, 0.7081507444, -0.9945762753, -0.5041775703, -0.2373672277, -0.8246745467, -0.5348073244, 0.4117409587, 0.0674521327, 0.6732711196, -0.2734491825, -0.1208352447, 0.4562087357, -0.3734157383, 0.2506965101, 0.7018746734, -0.2566003203, -0.508694768, 1.1584527493, 0.1748171598, 0.3750928938, 0.1887577325, -0.0654866919, -0.2437133789, -0.7618595958, -0.6080902815, 0.3720147908, -0.7798364162, -0.0943506956, -0.3330416977, -0.4449249804, -0.3968892694, -0.0497540906, -0.2511594296, -0.1628999859, -0.1266354769, -0.303625077, 0.2895403802, 0.9604552984, 0.1067134142, 0.5332981348, -0.4590523541, 0.2453632951, 0.2929506302, 0.4543714225, -0.2348554134, -0.3457815349, -0.4041772187, 0.0193354432, -0.2387821525, -0.7438753247, 0.3614767194, 0.428219825, 0.7695016861, 0.1840715259, 0.0693370998, 0.2937058806, -0.7466232777, 0.4340463281, -0.0751483366, -0.7333165407, 0.3796824217, -0.4461286664, 0.4959437549, 0.4845392704, 0.2050349563, -0.4655695558, -0.6775113344, -0.6761677265, -0.7346379161, 0.6873496771, 0.0724264756, 0.1976322979, 0.1737991124, 0.383115828, 0.0174419302, 0.1537477374, -0.6253950596, -0.138145119, -0.083149761, -0.3799200952, -0.347222507, -0.1062345952, -0.1181674525, -0.1657397151, 0.6724382043, -0.4436717331, 0.1725534499, -0.2194299251, -0.4568506181, -0.1660368592, -0.1165192649, 0.6315339804, 0.9583751559, -0.0872228965, 0.311924845, 0.2270750403, -0.3037392497, 0.310454309, 0.2871898711, -0.2687237263, 0.0035687382, 0.4173985124, 1.2263094187, -0.1112472564, -0.6335158944, 0.3123701811, -0.253511399, -0.348076731, -0.2673822343, 0.0772286132, 0.1409008801, 0.2382815033, -0.022726303, -0.3087229133, -0.2509064376, -0.5235352516, 0.4531107843, 0.4585818648, -0.3234578371, -0.5534980893, 0.4215073884, 0.5041311979, -0.5533735752, 0.8130555153, -0.4766357839, -0.650277257, 0.4786286056, 0.7705846429, 0.7539812326, -0.0902204067, 0.3652228713, 0.1014682725, 0.1346117258, 0.4716905355, 0.1142748818, -0.0584272593, -1.0791966915, -0.3167939782, -0.5786747336, -0.4096340835, 0.1622036397, -0.1919522285, 0.2156115323, -0.4456585348, -0.1996293664, -0.1191092804, 0.1836522818, -0.753177762, 0.2102078944, 0.4361109734, 0.703212738, -1.0331442356, 1.0662118196, 0.6931510568, -0.3061241508, -0.9402426481, -0.0894021466, -0.2395161837, -1.0081100464, 0.5408681035, -0.1175836846, -0.3935509026, 0.2263959497, -0.482831955, -1.015432477, 0.7806399465, 0.5473382473, -0.1889053285, 0.0292025227, 0.2609668076, 0.6033599377, -0.4538490474, 0.2937388718, 0.5173214674, 0.2795037031, 0.0997728705, -0.7046154141, 0.1672623754, -0.4628472924, -0.0899724066, 0.1690669358, -0.6185897589, 0.6702005267, -0.1252740622, -0.3229024112, -0.2434491664, 0.6574708819, 0.3527360559, 0.1770064533, 0.6625487208, 0.3216144741, 0.8678824902, -0.0601150133, 0.9479278922, -0.4778469205, 0.0822931081, 1.0923513174, -0.3153429031, 0.4059738815, 0.0958708972, 0.0305475108, 0.6772029996, 0.8243667483, 0.3193405867, 0.5142992139, 0.7477376461, -0.073866792, -0.1828882694, -0.1736791879, -0.1048915088, 0.3402253091, 0.5303804278, -0.1388463974, -0.3988854885, 0.1343884319, 0.1869852543, 0.1198886782, -0.0629382804, 0.8094430566, 0.0136223938, -0.6328052282, 0.9230479002, 0.081467405, 0.294950217, -0.8357666731, -0.0342901349, -0.2625118494, 0.2468505651, -0.1207981408, -0.5420854092, -0.0715494677, -0.1032733098, 0.1434650272, -0.3618439734, 0.7581197619, -0.6577572823, -0.465249896, 0.2137040943, 0.5866525173, 0.082049109, 0.3603650033, -0.6166360974, 0.253492415, -0.0558691509, -0.5142559409, 0.3453215063, 0.6614561081, -0.1979161352, 0.7707576156, 0.45910272, 0.3306169808, 0.1147393212, 0.3571912944, 1.0661623478, -0.2960968912, -0.3655053675, -0.6559115052, 0.4270138443, -0.0527762324, -0.2251905501, 0.4547120035, 0.3230164647, 0.6852356195, 0.0347737782, 0.8397673368, 0.0997076929, 0.1331974864, -0.6528112888, 0.6845923662, -0.4076308906, -0.0970287994, -0.0378030352, -0.747628808, -0.1707158685, 0.2388074994, -0.1597649306, 0.1331850141, 0.6565077901, 0.9303386211, -0.0000753023, -0.6901220083, 0.2773987353, 0.1314714402, 0.7090702653, 0.6677330136, 0.9487924576, 0.0696157664, 0.5111606121, -0.1461214274, -0.1313105375, -0.0815945417, -0.6953570247, -0.8959153891, -0.5412745476, -0.3813467324, -0.5418928266, 0.2885022759, 0.8337728977, 0.6997163296, -0.5766057968, -0.2791056037, -0.08549086, 0.3435375094, -0.0640432015, -0.1338114887, 0.2117764056, -0.7076398134, -0.779661417, 0.7911379337, -0.0721616, 0.0915633515, -0.2344913334, -0.3730318248, -0.0537324212, 0.26644665, 0.5617702007, 0.476166904, -0.298666656, -0.5929157734, -0.2068145871, -0.2137187272, -0.0130938711, 0.8290867209, -0.8195433617, 0.4581933022, 0.5115996003, 0.7633572817, 0.6623665094, -0.0355913565, 0.8697326779, -0.9721320868, 0.3115747571, 0.1504545212, 0.284303993, 0.3452540934, -0.3170982897, 0.4067029953, 0.1325045973, -0.5003808737, -0.903070569, 0.440381676, -0.7515419126, -0.1510163546, 1.2043372393, -0.1070752218, -0.2633868456, 0.0748132765, -0.028406037, 0.5096363425, -0.3867869377, 0.2882300913, 0.4679360688, -0.2898149788, 0.0306875203, -0.1481695324, 0.695528388, 0.0033944517, -0.8355323672, -0.0342450999, 0.530970037, 0.431461215, -0.0922916979, 0.8970511556, 0.332950443, 0.0142336963, 0.0892179161, 0.3335653543, -0.3604192138, -0.467233628, -0.2396754324, 0.1114045233, 0.622363925, -0.2453259528 ]
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.5523385406, -0.6331787705, 0.3187616765, -0.0105868895, 0.0131059187, -0.1549619585, -0.2124829739, -0.3818437755, -0.3329335153, 0.296518743, -0.8236143589, -0.4921721518, -0.4724543393, -0.1023834348, -0.6415278912, 1.1036164761, -0.0611326881, 0.1846593767, -0.4356866777, -0.2216541171, -0.5453421474, -0.3445788324, -0.7071005702, -0.597720027, 0.5231360197, 0.434933126, 0.8485808969, 0.7287222743, 0.0360003263, 0.2331753671, -0.0853775144, 0.1455755085, -0.31796965, -0.1767015904, -0.4287448525, -0.6070462465, -0.3165706694, 0.0626913086, 0.4573998451, 0.8546046019, -0.2349456549, 0.0413350426, 0.2184011191, 0.5647847056, -0.812574327, 0.125055939, -0.5098479986, 0.1071003377, -0.0618596748, -0.1098764837, -0.2174165994, -0.1454643458, 0.2727756798, -0.5025076866, 0.6393425465, 0.3537527025, 0.8543409109, 0.1657880098, -0.3399780691, -0.4507961869, -0.5458087325, 0.8410268426, -0.5930783749, 0.2195476592, 0.2680213451, 0.4109336436, -0.0758554786, -0.4769924283, -0.5771722198, -0.2502603531, -0.2544465363, 0.0338880606, -0.2908032835, -0.0022425782, 0.3270966113, 0.4040739834, -0.7311239243, 0.2821086943, 0.0714248493, -0.1068197861, 0.592474997, 0.0345370919, 0.5478163958, -0.1418316513, -0.1110876203, -0.2841085792, -0.5276919007, 0.0719636902, 0.818849802, 0.2479578108, -0.1209826767, 0.2598131597, -0.1705393642, 0.5700470209, -0.1336214095, 0.4461740553, 0.1861827672, -0.220071286, -0.2640525103, 0.2539341748, 0.7852150798, 0.2246244848, 0.4936948717, -0.2638934255, 0.1583676189, 0.3625064492, 0.349686563, -0.7960841656, -0.1008177102, 0.2017678916, -0.2722831368, -0.6077430844, 0.0541834645, -0.9581725001, -0.3100596368, -0.2474641949, 0.092426464, -0.1117932498, -0.1392753869, 0.1285167634, -0.398027122, 0.1506849229, 0.0171047375, -1.2319926023, 0.6446344852, 0.7086073756, 0.544778347, -0.0265617985, -0.2900276482, -0.4426173866, 0.0799254999, -0.4336163998, 0.3945735395, -0.7122825384, -0.193004638, -0.0114567606, 0.0939062685, 0.1407786459, -0.3401028514, 0.7552802563, -0.1276704371, 0.4796662629, -0.4051582813, -0.3918290436, -0.2312044352, 0.0771835074, -0.5452398062, 0.8991321921, -0.0985128656, -0.8604289889, 0.47354424, -0.7716769576, -0.3773709238, -0.3744203448, -0.4714688659, -0.4133155346, 0.0699667409, 0.542817831, 0.3160330951, -0.7192929387, 0.5132611394, -0.3298231363, -0.3179157972, 0.2360756546, -0.4789954126, 0.8707486987, -0.0084121432, -0.6821666956, 0.1818506718, -0.7215705514, 0.2819301188, 0.1967967749, 0.3863064945, -0.4172424376, 0.078356117, -0.2919352353, 0.2684643865, -0.1859306246, -0.3232543468, -0.2098454386, -0.3658143282, 0.6799998879, 0.7309988141, -0.4436211884, 0.4887452722, -0.1304765642, 0.6682873964, -0.1005335376, 0.0822972059, -0.1984124035, -0.1787239611, -0.5589478612, 0.0712026283, 0.3863661885, 0.3025425971, -0.5229665041, 0.2170191854, -0.2434252352, -0.450067699, -0.4308488965, 0.1536311656, 0.6983980536, 0.6272326708, 0.1769884974, -0.2520734072, -0.5031817555, -1.1182208061, -0.6243531704, 0.0533391424, -0.4153664112, 0.5190598965, 0.6712095737, -0.2138489038, 0.8272081017, -0.2673549652, 0.0080854585, -0.1630256921, 0.5419593453, 0.036327865, 0.4753204584, 0.7372174859, -0.8321322799, 0.0690015331, 0.1396360993, -0.7893762589, -0.3308666945, -0.0549933054, -0.3512556553, 0.0194949694, 0.5420572758, -0.365808636, 0.4126425385, 0.6974166036, -0.3183637261, 0.6113711596, -0.3352698684, 0.0908834711, -0.5792129636, 0.2514573038, 0.0452907532, -0.3794195056, -0.4543561041, 0.1977221221, -0.005363076, -0.1334371865, -0.1963813454, 0.5496786237, -0.5488957167, -0.1875214875, -0.3462920189, 0.2799620032, 0.1306281239, 0.606746912, -0.1940128654, 0.6321583986, 0.4058796465, -0.5027809143, 0.0168073289, 0.1771614254, -0.2365819961, 0.3303613365, -1.0707073212, 0.3116402626, -0.2518715262, 0.181591332, -0.8395122886, -0.2783473134, 0.2995474935, -0.5185836554, 0.078819856, -0.0567228757, -0.2939240932, -0.4206535816, -0.2402494401, 0.2078887075, 0.3099732995, -0.570880115, 0.7037931681, 0.2244482785, -0.1150040776, -0.8131951094, -0.7835234404, -0.1203362569, -0.1481210142, -0.4913463295, 0.5517272353, -0.1336328089, -0.1881466061, -0.0847321004, -0.2814764082, -0.0411024131, 0.2583532929, 0.4554103315, 0.1851068139, 0.0633484423, 0.1943276376, 0.3428955972, -0.3661843836, 0.4067159593, -0.2559736967, 0.6556212306, -0.1386197358, -0.2015615255, -0.3182377219, 0.3821063936, 0.3352505863, -0.1916584224, 0.7927424908, 0.4497111738, -0.3112376034, -0.4384679496, -0.0425247811, -0.1393957138, -0.4290371835, 0.32994017, -0.4575143158, -0.8348326087, 0.5742143393, 0.1125701666, 0.0531842671, 0.4653557539, 0.4886631072, 0.0241373982, 1.595076561, 0.6659712791, -0.2398195416, 0.4099012613, -0.0264801271, 0.0879112855, -0.5407021046, 0.057360407, -0.8561069965, -0.3081081212, -0.6766819358, -0.1745051742, -0.1663645953, -0.0895203799, -0.3286956549, -0.0501591228, -0.5221198797, 0.7005856633, 0.555632174, -0.0209972598, 0.1449229121, 0.0025953273, -0.0618232638, 0.1044165641, -0.6798654795, -0.6033859253, 0.95470047, 0.2472702861, 0.6693189144, -0.2058774382, 0.1081685722, 0.490362823, 0.0712831616, -0.3595789373, 0.3044471443, -0.4107589424, -0.8557997942, -0.2655744851, -0.5553835034, -0.8777227402, 0.349619627, -0.0591431819, -0.7636451125, 0.227302283, 0.3952005804, -0.092872411, 0.0883546993, -0.7832944393, 1.1277959347, -0.2995221317, -0.450604707, -0.3357874453, -0.5967355967, 0.3771663308, 0.081597887, 0.163951546, -0.107387431, 0.2256928831, 0.7213258743, -0.4733099043, 0.7446829081, -0.2211955339, -0.1385458857, -0.1376340985, -0.1125590205, 0.327731967, 0.1719309092, -0.1951379776, 0.4438253343, -0.1058477685, -0.4571738839, -0.9149695635, 0.7203188539, -0.8528912067, -0.5629871488, -0.1461589485, -0.6517985463, -0.0264299344, 0.1519635469, 0.3591827154, 0.5388787985, -0.3103008866, 0.1057653949, 0.5881655216, -0.3666095734, -0.0172609165, 0.3056651056, -0.3425515294, -0.0574336201, 0.7264653444, 0.118135497, 0.2328955084, 0.3050150573, 0.2617338896, -0.0161154866, -0.4324541986, -0.4255637527, -0.0328613557, -0.5801801682, 0.2327838838, -0.5620344281, 0.0067898841, -0.1924532205, -0.235453859, -0.1497680545, -0.178397119, -0.0270839389, -0.1843963116, -0.0400246456, 0.2902345955, 0.2311231196, 0.5175442696, -0.1521301568, 0.6525009274, 0.3875183165, 0.3192269802, 0.1400422305, -0.3290078342, -0.0396096818, 0.4318945706, 0.0750113651, -0.7932518721, 0.3508279324, 0.1900901347, 0.5663157105, 0.4164762497, -0.1144767702, 0.5999687314, -0.3467975557, 0.4650589526, -0.0351671278, -1.3544462919, 0.8751294017, -0.3711009026, 0.3891333938, 0.505018115, 0.4180003405, -0.6415569186, -0.4034171402, -0.6686590314, -0.8076479435, 0.8746964931, 0.2900313139, 0.1184214056, 0.1261229962, 0.5566259027, 0.4747515619, 0.3098916113, -0.4917176664, -0.2832164764, -0.1426692605, -0.252738297, -0.2920050025, -0.2397381365, -0.238002345, -0.2380802631, 0.8592610359, -0.491494149, 0.2728557289, 0.0723418966, -0.3588790596, 0.1029675528, 0.3367888927, 0.4064494967, 0.7828406096, -0.1012521312, 0.1024086326, 0.1777088791, -0.2741838396, 0.0896039382, 0.2271983474, -0.3011132777, 0.0916499496, 0.3980849683, 0.9666475654, 0.1447817087, -0.6959403753, 0.3704133034, -0.4434662163, -0.2528341115, -0.2529524565, 0.4720780849, -0.0305411723, -0.0088931303, 0.0987050533, 0.0363680571, 0.2141143233, -0.6018657684, -0.0970656499, 0.3390519023, -0.6133584976, -0.3182143867, 0.9122859836, 0.0562494881, -0.0387228802, 0.694768548, -0.0492581278, -0.3419365287, 0.9100954533, 0.2615740001, 0.8577159643, -0.0375590324, 0.4098043442, 0.2364515215, 0.3800816834, 0.045151636, 0.1642163694, -0.1728480309, -0.934197247, -0.2914758325, -0.1511467248, -0.4751192331, -0.0906781256, -0.9418162107, 0.2188907862, -0.5484538674, 0.071999751, 0.5224658251, -0.0768508166, -0.8334864378, 0.3478900194, 0.2240870893, 0.8552196622, -1.060721755, 0.6220226288, 0.4867473543, -0.3309466243, -0.6688601375, -0.0369404741, 0.1392043233, -0.8081997037, 0.3369012773, 0.4258384705, -0.3561397493, -0.1704023033, -0.8707255721, -0.3779309392, 0.8174257874, 0.7036178708, -0.8201773763, -0.0033582959, 0.2048832774, 0.6248978972, -0.3510594964, 0.7282568812, 0.9153268933, 0.5777646303, -0.3622381389, -0.4680044353, 0.1362677962, -0.5518787503, 0.1384180784, 0.050765913, -0.4882414341, 0.614769578, -0.0884060785, -0.0976351202, -0.0188663863, 0.6672791839, 0.1110011637, 0.344584018, 0.8326864839, 0.4227479994, 1.2013010979, -0.3312673867, 1.3753609657, 0.0459295623, 0.1566380858, 1.3703455925, -0.2245482504, 0.3646851778, 0.3237698972, 0.0088968985, 0.8989210129, 0.4163723588, 0.0026317437, 0.2748876214, 0.391235739, 0.0704530105, -0.1311352998, -0.2969202101, -0.2403295189, 0.4827278256, 0.1493282467, -0.638479352, -0.0686926916, 0.1561812907, 0.2219310552, -0.0079111932, -0.2171661705, 0.4901624918, -0.1251523942, -0.6300321817, 0.3853243589, -0.0248001888, 0.4800280333, -0.8117530346, 0.126241073, -0.2659261525, 0.3406129479, -0.2728590667, -0.6185294986, 0.1351693571, 0.1359464973, -0.6545259356, -0.1330951601, 0.6494785547, -0.4320288599, -0.4305487871, 0.3975562453, 0.3699004948, 0.0873960182, -0.2117791772, -0.7338997126, -0.0048493017, 0.2052931786, -0.1041656509, 0.1844280064, 0.4701302648, -0.5600732565, 0.8733511567, 0.5414853096, -0.2038457543, -0.255512476, 0.5749772191, 0.7262257934, -0.699426949, -0.6316357255, -1.0301750898, 0.4158551693, -0.254561305, -0.4752475917, 0.6869159341, 0.3196077645, 0.8527244329, 0.0958241373, 0.8120814562, -0.0367493108, 0.3569004238, -0.4002234936, 0.6838113666, -0.617538929, 0.0920659527, -0.4347405434, -0.8046811223, -0.1593671143, 0.3900441229, -0.3534194529, 0.3606330156, 0.6479417086, 0.8775451183, -0.0201858412, 0.4745205641, 0.0599522777, 0.3655005395, 0.4117023945, 0.3062479198, 0.7699611783, -0.3772914112, 0.5611991286, -0.2156419158, -0.2274221927, -0.0014068602, -1.0118991137, -0.8593914509, -0.2622183561, -0.4798252285, 0.2234409302, 0.3789630532, 0.4827916026, 0.9187860489, -0.8228444457, -0.0725257322, -0.4719610512, 0.2605736852, -0.5346133709, -0.2278804481, 0.199370265, -0.2377753407, -0.8400068283, 0.0632062927, -0.0888423473, -0.2792146802, -0.3832280934, -0.1223676801, 0.1184493452, -0.0896926075, 0.2680467069, 0.148108989, -0.5531696677, -0.2353502363, -0.2397727519, 0.1963385046, -0.0093013812, 0.9571979642, -0.8085475564, 0.5903321505, 0.5649496913, 0.5607010126, 0.4592651427, -0.0857644528, 1.0337126255, -0.7894189358, 0.1392102093, -0.0901859254, 0.3802621365, 0.2306582481, -0.358037889, 0.6373112202, -0.2550459504, -0.521979928, -0.7334638834, -0.1629595309, -0.7447214723, -0.485009551, 0.6411808133, -0.1237533912, -0.4827851057, 0.0969712883, -0.3445367515, 0.3378733397, -0.3571975827, 0.6915178895, 0.9811050892, 0.169029519, -0.3196776807, -0.8205224276, 0.2365170121, 0.8197513223, -1.0359009504, 0.4087060988, 0.3840664029, 0.1116482317, -0.1060755104, 0.1106556132, -0.1633044928, 0.4028386176, -0.0100855147, 0.3990385234, -0.0345994681, -0.3939088881, -0.5422903895, 0.0642354861, -0.2179555446, -0.0908388197 ]
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.2690244019, -0.6898062229, 0.0245715436, 0.1526323408, -0.2016155869, 0.4682419896, -0.3680915236, -0.5703746676, 0.409103781, 0.4682913423, -0.194315806, 0.0784209818, -0.7138504386, -0.0928481594, -0.4436509907, 0.8181720376, 0.1498843879, 0.1790440828, -0.0773979425, -0.0507566147, -0.1459497362, -0.5383855104, -0.7882280946, -0.2044336051, 0.4385528564, 0.5325419307, 0.6508071423, 0.5343405008, 0.2022035718, 0.2710587382, -0.1915078163, 0.2752577066, -0.4814026356, -0.0767043605, -0.0226962212, -0.1106433421, -0.3313010335, -0.0259501804, 0.8649764061, 0.5504158735, -0.2703086138, 0.4591493607, 0.0957670286, 0.3997529149, -0.4294509292, 0.1489101052, -0.6685951948, -0.3118702769, -0.4548187554, 0.0400418267, -0.2684576213, -0.1885915846, 0.009700072, -0.3814216554, 0.3336021602, -0.2066485286, 0.6851008534, 0.3810104728, -0.2806532383, -0.3174110353, -0.7028594613, 0.757704854, -0.3876699805, 0.7824863195, 0.6382963061, 0.5322936177, 0.2374189347, -0.8973699212, -0.6829128265, -0.154105857, 0.2820243835, 0.0279482044, -0.2623070478, -0.312492609, 0.1250298321, 0.2698981762, -0.6522593498, 0.3321689665, -0.8773661852, -0.4320205152, 0.5330548882, -0.2428414226, 0.0934035778, -0.0985645652, -0.3708281815, -0.1890343726, -0.7075462937, 0.1639292538, 0.5864872932, 0.6576659083, -0.209480539, 0.5432919264, -0.0307761617, 0.5733786821, -0.1120930761, -0.3099551797, 0.5028036833, -0.0248411354, 0.0136001427, 0.3311650157, 0.7548951507, 0.0633217469, 0.155256182, -0.075805001, -0.2035724521, 0.2545475066, 0.3800174594, -0.7217915654, -0.3683149219, 0.2024625987, -0.2772425413, 0.0381118394, -0.2371856719, -0.7876916528, -0.3266833723, -0.6312434673, 0.3652404845, -0.3224480152, -0.5212395787, 0.0518656, -0.0248323996, 0.1249829158, 0.350376457, -0.8543187976, 0.3670937419, 0.8192178011, 1.0685939789, -0.2728554606, -0.4497096539, -1.0142939091, 0.0456769504, -0.3712540865, 0.9162102938, -0.594907701, -0.6297483444, 0.0567252301, -0.013500317, 0.0404985435, -0.7757067084, 0.474112004, -0.5898163319, -0.016258033, -0.118889235, -0.2718143463, -0.1682680845, -0.0546549968, -0.7030459642, 1.0571124554, 0.260456115, -0.3387107253, 0.1042075828, -0.6846856475, -0.545320034, 0.2311272621, -0.0604967959, -0.3815476, 0.029596841, 0.0602311678, 0.0149312271, -0.5879203677, 0.0701528937, -0.0965359807, -0.3824664056, 0.2020797879, -0.4658442736, 0.8207024932, 0.3723269403, -0.1858986914, 0.0051736441, -0.7508975267, 0.3009777069, -0.1618944556, -0.5305138826, 0.1972095221, -0.1308680922, 0.6628152728, 0.3337467015, 0.1003039703, -0.6326041222, 0.0664028078, -0.1951220781, 0.7843984365, 0.4357585907, -0.2011321336, 0.2156116813, -0.0841907859, 0.5820245743, -0.2119121552, 0.013741985, 0.1207488552, -0.5625574589, -0.7048287392, -0.466288954, 0.4928637445, 0.4754999578, -0.8275479674, 0.0888454169, -0.5882447362, -0.592887342, -0.9505867958, 0.2280520797, 0.4503909051, 0.4564420283, 0.6038802862, -0.3681766093, -0.6239129901, -0.8161607385, -0.0321081094, -0.2410639226, -0.2316988707, 0.449382484, 0.0900316238, -0.6512492895, 0.6721292138, -0.2956446707, -0.3293917477, -0.2533777654, 0.1725185663, 0.0551241301, 0.3792831004, 0.2716963887, -0.8013084531, -0.6633791924, -0.1084784046, -0.0990608037, -0.0089198099, 0.2261627465, 0.1523332745, 0.3009822965, 0.385599643, -0.5067508221, -0.2325288504, 0.7751335502, -0.0572227985, 0.7059366703, -0.0783794448, -0.0302953795, -0.8394610286, 0.163084954, -0.2818258107, -0.1450392157, -0.696465075, -0.0184562281, 0.002749058, -0.4277876616, -0.4721853137, 0.5127254725, -0.1494843066, -0.2351337373, -0.3282469511, 0.130150184, -0.2796301544, 0.2365064919, 0.2082668245, 1.3165293932, 0.6094357967, -0.5239870548, 0.4307901561, 0.4923030138, -0.4115869999, 0.4104281962, -0.5458378196, 0.6289173961, 0.1669656187, 0.2513848543, -1.0531512499, -0.2158394456, -0.2741434276, -0.778644383, 0.3637389839, -0.4440678656, -0.7310015559, -0.4175342321, -0.0956392661, 0.2167159021, 0.6234424114, -0.817994535, 0.5127085447, 0.9003028274, -0.5141573548, -0.3103263378, -0.7100768089, 0.3687506914, -0.1096697599, -0.5513851047, 0.0342147574, 0.0297305603, 0.0272091627, -0.4063766599, -0.0782610551, -0.4635329247, -0.4158093035, 0.2717220485, 0.2877073288, -0.2270655036, 0.232194379, -0.1648075134, -0.3097228706, -0.0449762195, -0.5628771782, 0.8244761229, -0.1367743611, -0.0312914662, -0.3128661811, 0.3455986977, 0.535764575, -0.4750611782, 0.2158474773, 0.9594585299, -0.2445781529, -0.015313277, -0.8466553688, 0.1061705872, -0.5252978206, 0.3244769275, -0.3819427788, -1.0407533646, 0.17923747, -0.112559475, -0.191884622, 0.4895518124, 0.7342810035, -0.0174616463, 0.6981827617, 0.4375097752, -0.2709537745, 0.2348868251, -0.3802632093, 0.1318427324, -0.9017321467, -0.1023944765, -0.5968338251, -0.2701827288, -0.6859766841, -0.7796746492, 0.3798753321, -0.2073302269, -0.1886653006, 0.3790847361, -0.4764618576, 0.412250489, 0.6418462992, -0.2104354203, 0.0355718918, 0.4102603793, 0.1721999347, -0.0504354462, -0.5400292873, -0.4459381104, 1.0855866671, 0.2536765933, 0.5149452686, 0.4729991555, 0.2578118145, 0.3682574332, -0.0077024624, -0.8726136088, 0.2200208157, -0.4663373828, -0.5946559906, -0.3770719767, -0.3474286795, -0.8655124903, 0.2716781795, 0.0759631395, -0.7042608857, 0.0970208645, 0.2313671261, -0.5522859693, 0.1869135201, -0.7703464627, 0.479311049, -0.1111868843, -0.5554171801, -0.2817128003, -0.616369307, 0.1377648562, -0.2507061958, 0.2182715535, 0.0921836346, -0.0288341381, 0.854387641, -0.3095934689, 0.5693536401, -0.3656675816, -0.0915469751, 0.7223699689, 0.0376089476, 0.5799037218, 0.0423186272, -0.0240951367, 0.4484439194, -0.0062846486, -0.2370436788, -0.1693782955, 0.7354049683, -0.9204448462, -0.1914669424, -0.1486004442, -0.2018519342, -0.5530079007, 0.1358571351, 0.2140657008, 0.3866048455, 0.0493810177, 0.2807636857, 0.5597143769, -0.1947655678, 0.1840051562, 0.7204017043, -0.1208268777, -0.5788807273, 1.4316452742, 0.2211144716, 0.1794610769, 0.0774196386, 0.1972630769, -0.6701568365, -0.3357273638, -0.7016643882, 0.1378962994, -0.3866741955, -0.348911047, -0.8813046217, -0.3419402838, -0.5798096061, -0.0599134602, -0.784776926, -0.5877819657, -0.2344912887, -0.0329256579, 0.4382784069, 0.3787977695, -0.478515029, 0.5536741018, -0.6940952539, 0.6625542045, 0.5310562253, 0.4152546525, -0.1690620929, -0.8384215832, -0.1231656, 0.0430541821, -0.0609804578, -0.386937052, 0.4490330219, 0.4791586697, 0.0007270545, 0.4263882041, -0.3534835279, 0.8384507298, -0.7691500783, 0.8464452624, 0.2826055586, -0.8547277451, 0.2949727476, -0.3288994133, 0.2044439763, 0.5876886249, 0.1668964028, -0.7379754186, 0.0907675847, -0.5929760337, -0.7984668612, 0.6723840237, -0.1467210352, 0.1946368665, 0.2482931763, 0.0851105005, 0.3140288889, 0.245590806, -0.0900584534, 0.004083016, -0.3753052652, 0.1677034646, -0.5626052618, -0.3973913193, -0.0162862763, -0.255000174, 0.6316798925, -0.2392915636, 0.3396042287, -0.1725887358, -0.2358517051, -0.1963718385, 0.2198283225, 0.4636618197, 0.3955480754, 0.1193922013, 0.2415619791, 0.1724624634, -0.9533455372, 0.2006957531, 0.4388967454, -0.0551868379, 0.060796164, 0.228399843, 0.7543079853, 0.2859253883, -0.9087709785, 0.4740459621, 0.2424055636, -0.0948944762, -0.6242749095, -0.0055291206, 0.222621277, 0.139653191, 0.2272980511, -0.0530849509, 0.3649570942, -0.4407620728, 0.3179779053, 0.2965859771, -0.4660456181, -0.3137555122, 0.7070708871, 0.0696552545, -0.5107312202, 0.778737843, -0.3923236132, -0.4401989281, 0.2845743001, 0.4769836366, 0.6842494011, -0.634770453, 0.3253944814, 0.4927091002, 0.2398691028, -0.1899145842, 0.391114682, -0.0931322947, -0.3931826055, -0.497998327, -0.8552724719, -0.5765817165, 0.3605079651, -0.6072527766, 0.3111133277, -0.365116179, -0.0511288568, 0.2305118889, 0.1201131195, -0.6750825047, 0.1542519629, 0.2351057827, 0.7388759851, -0.6352479458, 0.9574074745, 0.6287644506, -0.1350225061, -0.6350744367, -0.2970023751, 0.3939259052, -0.9799107909, 0.5912245512, 0.0615935698, -0.3914481997, 0.1789578348, -0.3954640627, -1.2197304964, 0.7404800653, 0.1648831666, -0.6317667365, 0.1217662618, 0.3521102071, 0.6141255498, -0.0544675775, 0.0688873306, 0.6909607053, 0.3519893289, 0.3501132727, -1.1765170097, -0.4548107684, -0.237068072, -0.0729172453, 0.0083809141, -0.9634381533, 0.8927195668, -0.2675774097, -0.2176629305, -0.0852856711, 0.3963963091, 0.0760928839, -0.0235022623, 0.5187108517, 0.5089207292, 0.7988123298, 0.0169443041, 0.675275743, -0.0637874082, 0.1511223316, 1.382735014, -0.3872527778, 1.2337853909, 0.3852384388, -0.5193741918, 0.2595054805, 0.4444451332, -0.1830161512, 0.4489036202, 0.1670589745, -0.1993505806, -0.1508432925, -0.2765714228, -0.2449569255, 0.9999409318, 0.4780834615, 0.0650772899, -0.0458429642, -0.0668949708, -0.1321720779, -0.2542605996, -0.1954767406, 0.8194490075, -0.080616504, -0.3496786654, 0.7978311777, -0.1080286652, 0.5376752615, -0.6319251657, 0.1312574595, 0.0616675988, 0.2455227524, -0.0853628144, -0.5109810829, 0.2410614491, 0.2694720328, -0.0356601477, -0.1373457909, 0.5108724833, -0.507317245, -0.4954150617, 0.1840774417, 0.4690950811, 0.345892787, -0.2805539668, -0.478885293, 0.3616947532, -0.0614021644, 0.0830752403, 0.2967588007, 0.112959668, 0.2724941671, 0.4998839796, 0.9023678899, 0.3743778467, -0.0129952347, 0.1820523143, 0.7599307299, -0.3340573013, -0.7195928693, -0.3022409379, 0.4253491163, -0.0711343065, -0.2796730399, 0.445548296, 1.0029172897, 0.7534530163, -0.0596797056, 0.8315572739, 0.2207148969, 0.9876095057, -0.351138562, 0.8223260641, -0.4470798969, -0.1742282361, 0.0394482613, -0.804418385, -0.0440472066, 0.5831232667, 0.0419118926, -0.1746010631, 0.4412584305, 0.6956843138, -0.1988627613, -0.0255992636, 0.1664615571, 0.2732101083, 0.3890069723, 0.3451377451, 0.625295043, -0.3316141963, 0.6621755362, -0.0250124838, -0.3357135653, -0.2771823108, -0.2469239682, -0.4902878404, -0.8878605962, -0.3444252014, -0.2542600632, -0.0367640369, 0.8338489532, 0.6927547455, -0.7927612662, -0.4262777865, 0.3395270705, -0.4534094036, -0.1972704083, -0.2069756091, 0.4593883157, -0.360735029, -0.7868977189, 0.720335722, 0.3675149381, -0.0236006547, -0.2659258544, 0.000555407, -0.0375921577, -0.0128153227, 0.74442029, 0.5169783831, -0.7133204341, -0.2487199455, -0.1774047315, 0.045396816, 0.1118923426, 0.8170476556, -0.7600136995, 0.677790761, 0.0556885302, 0.8220969439, 0.6542841792, -0.1223609522, 0.1191482097, -0.6801322699, 0.2061232179, 0.3265936375, 0.1803642213, 0.6301648021, -0.1059344634, 0.6077185273, 0.0458184369, -0.465248853, -0.9118388891, 0.1481252015, -0.9008607268, 0.0987479091, 1.4848231077, 0.2158526629, 0.1828800738, -0.1990323663, -0.2695503235, 0.2893340886, -0.429007113, 1.0164955854, 0.5596176386, -0.0400000699, -0.1082126349, -0.8351380825, 0.5980127454, 0.087613292, -0.650763154, 0.4595275819, 0.6087568998, 0.2896612585, 0.3600950241, 0.562097311, -0.1110129282, 0.3915163875, 0.3196870387, -0.0292888228, -0.1068225726, -0.3553225398, -0.4380914271, 0.1427513063, 0.0058983918, -0.1403344423 ]
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.9296091795, -1.1326850653, 0.9298967719, 0.0071798046, -0.2969979048, -0.0641022176, -0.3225282729, -0.4090614617, 0.4895499647, 0.8302232027, -0.62950629, -0.2811619937, -0.502707243, 0.2787111104, -0.3215264678, 0.9316028357, -0.1673825681, 0.1755815148, -0.5433676243, -0.3640379012, -0.3906072676, -0.7610496283, -0.4716043174, -0.651534915, 0.6162007451, 0.4278010726, 0.9244681001, 0.2554348409, 0.1992966384, 0.4270604253, 0.1928498, 0.3031550646, -0.4438339174, 0.4014404416, -0.5404781699, -0.315133661, -0.3255728185, 0.1725895256, 0.1635554582, 0.5424785614, -0.2312018126, -0.071918264, -0.221969828, 0.3479160368, -0.5452124476, -0.3517681658, -0.8226171136, 0.0708488002, 0.0235182736, -0.3786207736, -0.4071584642, -0.3256077468, 0.2309516966, -0.4515067041, 0.3807697296, 0.0031022797, 0.6646350026, 0.4984285235, -0.4403551221, -0.3928974271, -0.7320184112, 0.6012384892, -0.5975850224, 0.3458861113, 0.519349575, -0.0313186124, -0.2185387164, -0.5138340592, -0.8938707709, -0.2132026106, -0.2397208214, 0.0601397976, -0.284332782, 0.143051073, 0.2030069232, 0.0044975211, -0.7477181554, 0.2169988453, -0.1094655022, -0.2298651338, 0.4981000125, 0.1841861457, 0.0117282132, -0.0890114456, -0.3121147156, 0.2243869454, -0.7341662645, -0.3474849164, 0.2682528794, 0.0485466011, 0.406131804, 0.6334465742, -0.2897806168, 0.3288663328, 0.3950970769, 0.2409233898, 0.2041344643, -0.1399676651, -0.456158191, 0.2253536582, 0.6578918695, 0.4595359266, 0.2186281532, -0.2728764415, -0.3106528521, 0.310431838, 0.6096181273, -0.7753466368, -0.0358101688, 0.6945246458, -0.4044065475, -0.122344479, -0.2754029036, -0.8469975591, -0.6511890292, -0.5151930451, 0.5759012103, 0.0303504765, -0.3030613065, 0.1741217077, 0.0421577506, 0.3012158573, 0.4755268693, -0.5475724339, 0.3296580017, 0.6023482084, 0.6446244717, -0.1080063805, -0.3637829423, -0.7287301421, -0.0061728032, -0.5056641102, 1.1061737537, -0.7087278962, -0.5327022076, -0.2123622596, 0.128797248, -0.1316712648, -0.687222302, 0.306824863, -0.5323488116, 0.4002569318, -0.763348043, -0.6589227319, -0.16549851, 0.7502192259, -0.6075721979, 0.726703763, -0.314774394, -0.6980342865, 0.317124933, -0.6710253358, -0.3384815156, -0.0192486215, -0.5920603275, -0.4362019897, -0.0360607281, 0.2966247201, 0.2076776177, -0.2127911448, 0.617922008, -0.4695263505, -0.4260396957, 0.2825134993, -0.4163892865, 0.7152894139, 0.2771122158, -0.7241741419, 0.5397566557, -0.5107720494, -0.3337263465, 0.0917545781, 0.1299148351, -0.2310609221, -0.0071955561, -0.3274147809, 0.3818341494, -0.0463682264, -0.5025399923, 0.0648133457, -0.4087720215, 0.1910832673, 0.9853214025, -0.0196635369, 0.301212728, -0.6796877384, 0.6991059184, 0.0124521535, 0.2089894861, 0.2291361541, -0.2090190947, -0.8918501735, -0.2121161968, -0.2720195055, 0.4655634463, -1.1120018959, 0.2408483475, 0.1204584762, -0.426602751, -0.4307819903, 0.1776259094, 0.3962953687, 0.4932483733, 0.5809730291, -0.1210113242, -0.5824744105, -0.841648221, 0.0217545256, -0.2353101373, 0.3386775255, 0.1885859519, 0.5505695939, -0.3643990755, 0.9304303527, -0.442468375, -0.2764851153, -0.2694092393, 0.4549063742, -0.0661013871, 0.2799871564, 0.5626010895, -0.698399961, -0.1249940395, -0.311645627, -0.8473423719, -0.2288300842, -0.4123730361, -0.2823776305, 0.7075630426, 0.7992678881, -1.0410177708, 0.5105774403, 0.2168722451, -0.3802735507, 0.8225619197, -0.0711767897, 0.1805405021, -0.7513111234, 0.0596545115, -0.2188177407, -0.1226336509, -0.681022048, 0.1624630988, -0.5627098083, 0.4173560143, -0.3282416165, 0.7170056105, -0.2536298931, 0.0476733111, -0.5710734129, 0.3036668897, 0.0001039237, 0.4665619433, 0.5317179561, 0.4689851403, 0.2890695632, -0.4293398559, 0.5349069238, 0.2410986274, -0.0356172547, 0.7989257574, -0.6151525974, 0.3800434768, -0.3573214114, 0.5602027774, -1.0572184324, 0.175571382, 0.6546460986, -0.3178431094, -0.2692495883, 0.2464369386, -0.367045939, -0.2824502885, -0.5214173198, 0.3311136365, -0.0416822471, -0.7008440495, 0.6381542087, 0.1502881348, -0.1574649513, -0.8960520625, -0.294911325, 0.3393003643, -0.358420372, -0.2152893096, 0.0624892749, -0.4957939684, -0.6045554876, -0.0937156603, -0.2261532843, 0.1271963865, -0.0455522276, 0.2557415664, 0.2926561236, -0.1943994462, 0.3988671601, 0.0170296263, 0.0349137783, 0.3501813114, -0.0833023041, 0.7951885462, -0.0605540089, -0.465506047, -0.0331714563, 0.4838214219, 0.5689327121, -0.0937790424, 0.6696197391, 0.5133101344, -0.4011895359, -0.1942441463, -1.0422137976, -0.3786441684, -0.4849230051, 0.2022266984, -0.6144662499, -0.7751052976, 0.6487242579, 0.1930861473, 0.2143280953, 0.2027769983, 0.8524093032, -0.0779564455, 0.7335777283, 0.0857981965, 0.200688526, 0.0845977962, -0.0514291041, 0.1853471696, -0.3462510407, -0.3668143451, -0.6492803693, -0.2110912055, -0.3202489913, -0.3733286262, 0.0415547453, -0.384013623, -0.1867174357, 0.0604489408, -0.3046226501, 0.5449228883, 0.2753610611, 0.2047739923, 0.3146753013, -0.3104241192, -0.3285664916, 0.043166656, -0.342494905, -0.6193977594, 0.8663659692, 0.1370927393, 0.5595015883, 0.2567299902, 0.69824332, 0.3337174654, 0.6924434304, -0.7280244231, 0.7621204257, 0.2105091661, -0.884442091, -0.5954357982, -0.3304054439, -0.8695088029, 0.8385416269, -0.3215411007, -0.5514758825, 0.416241914, 0.1748429984, -0.3617926538, 0.2807863355, -0.2884422243, 0.8430274725, -0.1099632904, -0.5141190886, -0.342890352, -0.7076089382, 0.4480377734, -0.1657709777, 0.1826823801, 0.1910766214, 0.2848851085, 0.6158995032, -0.6272697449, 0.9426138401, -0.2280170768, -0.5575444698, 0.3065356612, 0.167220518, 0.5562607646, 0.2435408235, -0.010119576, -0.0756872669, -0.017496543, -0.2267056108, -0.6699427962, 0.6587854028, -0.7551601529, -1.1691676378, -0.4877769351, -0.3579531312, -0.2629960179, 0.1285255104, 0.2935698926, 0.3777865767, -0.5322983265, 0.0160649493, 0.675337553, -0.217010662, 0.4379196763, 0.7193786502, -0.4195733368, -0.3015123904, 0.6913668513, 0.1016117409, 0.1853020787, 0.1121961847, 0.1766740829, -0.6540224552, -0.5299842954, -0.4257571995, 0.1943782419, -0.9470083714, -0.1025374904, -1.0454515219, -0.1779094785, -0.5062299371, -0.2606838346, -0.4105072021, -0.135477826, -0.317427367, -0.3454059362, -0.0841722116, 0.6599597931, -0.2743372619, 0.2636297941, -0.4448572099, 0.7779248357, 0.5768548846, 0.0477489308, 0.0711308643, -0.4639354646, 0.1762448698, 0.0010232647, -0.4898347855, -0.9028719664, 0.2713394761, -0.3759200275, 0.8467398286, 0.5521549582, 0.3625925779, 0.7438870072, -0.3151910901, 0.6085720062, 0.0650582239, -1.1427006721, 0.2792688906, -0.1088106856, 0.0570999496, 0.5698477626, 0.4854131937, -0.3960888684, -0.7328614593, -0.5086797476, -0.6004213691, 0.4916149676, 0.1321516186, -0.0691052154, -0.2740177214, 0.1424831748, 0.3244855106, 0.2700468004, -0.894718051, -0.0346244425, -0.5365990996, 0.1942521781, -0.2059228867, -0.2173418701, -0.4313521683, -0.2830319703, 0.598795712, -0.1263501793, -0.1284289062, 0.5808018446, -0.4618934095, -0.361705035, 0.3841751218, 0.9374246001, 0.9207366705, -0.2470618933, 0.6307832003, 0.3255685866, -0.1538729966, 0.3932422101, 0.0209184177, -0.0972341746, 0.0414309725, 0.4163552523, 0.6164168715, -0.2689611316, -0.6179969907, 0.3383367658, -0.130759716, -0.5758021474, -0.3192394972, -0.1364620328, 0.155767411, 0.4291463196, 0.2574820817, 0.0492061414, 0.210997805, -0.5802406073, 0.4749376178, 0.7036909461, -0.3275344968, -0.1088010147, 0.5071886778, 0.1630992889, -0.1489236504, 0.5237987638, -0.3035153449, -0.5958217382, 0.8149515986, 0.4641377032, 0.9062042236, -0.414741993, 0.5300980806, 0.0559414141, 0.6092363, -0.0902428925, 0.336019367, 0.0096686566, -1.0805084705, -0.3666664064, -0.2757242024, -0.5851871967, 0.5171265602, -0.4416030347, 0.1784959733, -0.4073908627, -0.1115608215, -0.0329897553, 0.010399892, -0.4883273244, 0.2950325012, 0.1883916855, 0.5736004114, -0.9040586352, 0.7737482786, 0.5907341242, -0.3023391664, -0.1433921456, 0.2976678908, 0.1552072018, -0.4930445552, 0.4747736752, 0.227857843, -0.7384596467, -0.3835574985, -0.8067990541, -0.389667958, 0.6522731781, 0.4705236256, -0.5072640181, 0.2627946734, 0.0575657748, 0.6285803914, -0.362059921, 0.3699889779, 0.5235193968, 0.7122352719, 0.3646354079, -0.822259903, 0.4065092802, -0.1310615689, -0.5596055388, -0.1992305219, -0.6893327236, 0.7871354222, -0.4112732708, -0.0107949376, 0.016105907, 0.5459495783, 0.4668717682, 0.5543993115, 0.9304574728, 0.3615591824, 0.5991643071, 0.2688603997, 0.492630899, 0.1233176515, 0.1551674157, 1.4393002987, -0.7917730212, 0.5986198783, 0.7007765174, 0.1446179003, 0.2698056996, 0.6146765351, 0.1019218341, 0.3086181581, 0.514555037, -0.1034860238, -0.6562967896, -0.2859787643, -0.3164079487, 0.7212902308, 0.265429765, -0.0161713883, -0.2953083813, -0.000096864, 0.2156904191, 0.3931271732, 0.1019456238, 0.7021153569, -0.0325343795, -0.9703199863, 0.6196622252, -0.0260901358, 0.5380433202, -0.279778868, -0.1301730573, -0.5582019687, 0.0076491288, -0.1582935154, -0.4138046503, 0.4168036282, -0.1673404425, -0.0626278594, -0.2491051406, 0.4122921228, -0.459510237, -0.3224101961, 0.5701210499, 0.7487033606, 0.1546947509, -0.1109635681, -0.6082246304, 0.0379892513, -0.2052661926, -0.4584608674, 0.0876597241, 0.3531646132, -0.2125888467, 0.6331728697, 0.5108500123, -0.0105255302, -0.1818360388, 0.3493346274, 1.1087607145, -0.6668865085, -0.4849952757, -1.1184304953, -0.0247559939, -0.1133590564, -0.0459009036, 0.6147457361, 0.4446009398, 0.7807444334, 0.0652889386, 0.6860694885, 0.3027155697, 0.2797807753, -0.539434135, 0.6985695362, -0.5839552283, 0.309107393, -0.47202003, -0.8959101439, -0.1823330224, 0.8345327377, -0.2912103236, 0.0499870591, 0.9041315913, 0.9317674637, 0.1019436046, 0.213473022, 0.3653923869, 0.3602104485, 0.4544796944, 0.5841040015, 1.26504004, 0.0943180695, 0.5487571955, -0.0052555311, -0.0283805467, -0.0897726789, -0.7616271377, -1.289259553, -0.3982122242, -0.3721116781, -0.3557660282, 0.091723226, 1.2909007072, 0.3976897597, -0.8442943096, -0.2419695556, 0.1357746869, 0.4802393615, -0.1321549565, -0.2018096745, 0.2885154188, -0.2558306456, -0.5974435806, 0.2881638706, 0.0959895626, -0.1501389146, -0.4796247482, -0.2848811448, -0.4409276247, 0.5740099549, 0.581566453, 0.1032979935, -1.0765558481, -0.5078251958, 0.011312684, -0.0463333279, 0.1115215644, 0.894281745, -0.8107023835, 0.4117076993, 0.4552668333, 0.4545169771, 0.2610546947, 0.1050678045, 0.4543258846, -0.5298424959, 0.1398325861, 0.094310075, 0.2534612119, 0.0766416937, -0.3740083575, 0.3794412911, 0.3557805717, -0.4224211574, -1.0000181198, 0.1842048019, -0.7470276952, -0.783184588, 1.0730662346, 0.0610454232, 0.2735547721, -0.5522155762, -0.3704257905, 0.2521512806, -0.198126927, 1.1071884632, 1.0694373846, -0.1708007306, -0.2188513577, -0.2908289731, 0.4633534849, 0.7001650333, -1.0163296461, 0.1815700531, 0.6910859942, 0.0894891024, 0.2046650797, 1.1535159349, 0.0724187344, 0.113057524, -0.1088378057, 0.0355069228, 0.0388206728, -0.698281467, -0.2556635737, 0.2748051286, -0.0943061635, -0.0686059371 ]
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.335169971, -0.3903206587, 0.6453811526, 0.1109566614, -0.0273584239, 0.335305512, -0.5037770271, -0.5940003395, 0.0913344324, 0.4470082521, -0.4236028492, -0.6582064629, -0.7687453628, 0.3706440032, -0.3382028341, 1.112459898, -0.0433920883, 0.171125114, -0.3694879413, -0.1131908968, -0.1535762548, -0.9347836375, 0.0013279064, -0.0920321569, 0.4868431091, 0.3389048278, 0.4669183791, 0.659299612, 0.7241073251, 0.2453700155, -0.2489980608, 0.2108434588, -0.6562392712, -0.2655301392, -0.0283342768, -0.8738021851, -0.2581092417, -0.0103229377, 0.4183982909, 0.7946464419, 0.420160532, 0.5715523958, 0.0815466568, 0.5626846552, -0.685090661, 0.6709276438, -0.7136303186, 0.1627946645, -0.014984211, -0.2426548451, -0.503238976, -0.305024296, -0.3105958402, -0.2319045514, 0.2101394832, 0.1312960684, 0.8182713985, 0.5377884507, -0.1606958359, -0.6499470472, -0.6566427946, 0.6644629836, -0.6804971695, 0.1409327239, 0.6644172668, -0.1155026108, 0.0040395916, -0.2888049483, -0.2030645013, -0.3105238676, -0.4370096028, -0.1912477612, -0.0478911437, 0.2618353367, 0.446593821, 0.4832400382, -0.3841764033, 0.2490138561, -0.4744515419, -0.1550007612, 0.3344402611, 0.1808030605, 0.0683434159, -0.290915668, -0.6870773435, 0.1386803389, -0.6120949388, 0.0694291815, 0.0712539777, 0.1383747905, -0.4078764915, 0.6765722632, 0.1897060722, 0.6116017699, 0.2439349741, -0.3628714383, 0.3036634326, -0.2998050451, -0.5098705888, -0.2904429436, 0.8010906577, -0.1030123383, 0.6360574365, -0.5493617654, -0.2580620646, 0.3734134734, 0.1397915781, -0.4209308028, 0.029012192, 0.1973243356, -0.5856614709, -0.2405682802, 0.0208633896, -0.4739139676, -0.1868927777, -0.2543560565, 0.2414680123, -0.1935910285, 0.00363006, 0.0157229938, -0.0262105297, 0.2770796418, 0.0004395631, -0.8239790797, 0.2506597042, 0.5241525173, 0.5115600228, -0.2848627269, -0.2450611889, -0.2617541552, 0.0474107787, -0.4563682973, 0.4444455504, -1.0197284222, -0.1735166907, 0.0352115706, 0.2776464224, -0.2504915595, -0.853012383, -0.0063257148, -0.7271276116, -0.4812436998, -0.2743976712, -0.6447805166, -0.063857168, 0.0650004521, -0.5328478217, 0.5741653442, 0.2028833479, -0.6264716387, 0.1435041875, -0.2882445753, -0.3600196838, -0.1615006179, -0.5920585394, -0.2424595058, 0.5101857185, 0.0759634674, 0.7048075199, -0.0403894931, 0.4123226702, -0.4588937759, -0.7590025663, 0.5409442186, -0.2222506106, 0.4732297063, 0.1917375326, -0.2288663834, -0.0233674515, -0.8086773753, -0.1437589079, 0.2234509438, -0.6869770885, -0.0910047591, -0.261990279, -0.1536116004, 0.3485071659, 0.4120822549, -0.3367518485, 0.4241088331, -0.2260786593, 0.4900111854, 0.6014302969, -0.1578344554, 0.7271081805, -0.2299059331, 0.7970232368, 0.2929190993, -0.2407303154, -0.1874661595, -0.1183119118, -1.0270041227, -0.0205696039, 0.4280632436, 0.3101069331, -0.7369702458, 0.2096888721, -0.2004033029, -0.1367473304, -0.4894604683, 0.3579506278, 0.8109078407, 0.0217281356, 0.2624418736, -0.3141762316, -0.4352106154, -0.908146143, -0.2872453332, -0.1338508874, 0.136710003, 0.2353332043, 0.5106487274, -0.2447422296, 0.5563047528, -0.3313739896, -0.397762984, -0.3567172885, -0.1040618643, -0.0813548192, 0.2941223681, 0.5789812803, -0.3280512989, -0.1888996214, -0.1479728669, -0.8129646778, 0.0396347344, -0.1732336134, 0.3551488817, 0.177269876, 0.7104821801, -0.370796442, 0.5381991863, 0.7531148195, -0.2701997757, 0.3188755512, -0.3442344666, -0.3705701232, -0.4328047037, -0.0490424708, -0.0914344341, -0.2247145325, -0.3837366402, 0.357957989, 0.469989419, -0.26125741, -0.3687309027, 0.4541456401, -0.9000220299, -0.5666306019, -0.1780097336, 0.0602545552, -0.0801071748, 1.3015670776, 0.1678598672, 0.7550829053, 0.5389534831, -0.8276078701, -0.0508834198, 0.0984171927, -0.0183426682, 0.0997341424, -0.3521945775, 0.411911726, -0.1496044546, -0.1930740178, -0.7482612729, -0.1355585307, 0.1917896271, -0.4842831194, 0.6323727369, -0.314293474, -0.7768854499, -0.1594991386, -0.2620387971, 0.4301795959, 0.5537680984, -0.4911226332, 0.2006250769, 0.4340175986, 0.3250572085, -0.3402262032, -0.893693924, -0.1190558076, -0.0197033361, -0.1091047004, 0.1261600554, -0.0608398952, -0.1888155788, 0.0901616812, -0.2773300409, -0.2468327731, 0.0738829896, 0.6128414869, 0.062512286, -0.1953600794, 0.4532304108, -0.2919902503, -0.0228171498, 0.2410562485, 0.0391292349, 0.4742711186, -0.2146905959, -0.3488915265, -0.1862725914, 0.1526972204, 0.7008205056, -0.4317212701, 0.8365032077, 0.3901732862, -0.2031547278, -0.3131559491, -0.3621016145, 0.0791982114, -0.4670164287, 0.5526769161, -0.3371628225, -1.0299761295, 0.6378287673, -0.1149047464, -0.2269441336, 0.2752007544, 0.4388745129, -0.0894797072, 0.5569418669, 0.8438389301, -0.1790763438, 0.2833871841, -0.4230137765, 0.1020338535, -1.0033228397, -0.3849066794, -0.552978456, -0.3304714262, -0.7116658092, -0.478861779, 0.0933559313, 0.0555246547, -0.1199121848, 0.4405182898, -0.4284617603, 0.3153260052, 0.3813425004, 0.0212858114, 0.2382154316, -0.068055138, 0.092203021, -0.0555919744, -0.9122374654, -0.4537595212, 1.0856729746, 0.4461588264, 1.1825004816, -0.1476517916, 0.780112803, 0.0739469677, -0.1331496537, -0.866228044, 0.5303385258, -0.2335656881, -0.3591893315, 0.0339916721, -0.5177592039, -0.9567236304, -0.0241331775, -0.0356842093, -0.4286279082, 0.5635555387, 0.0104380604, -0.3543354571, 0.3428735137, -0.96952492, 0.6985833049, -0.2505627871, -0.2785845697, 0.1282559931, -0.4406363666, 0.2277584821, -0.3025634587, 0.3704071343, 0.1003171653, -0.1311528385, 0.6539247036, -0.1995967329, 1.1330884695, 0.061540246, -0.2280037701, 0.1888493001, 0.2436903268, 0.5074180365, 0.0167053733, 0.1070118025, 0.3725935817, -0.0666297749, -0.3672602177, -0.3774656653, 0.7025649548, -0.8241491914, -0.5090616941, -0.2278174609, -0.4343504906, -0.331830889, 0.0787017196, 0.2262655199, 0.5594668984, 0.2246714234, 0.104481183, 0.6456993222, -0.4691610336, 0.6569935083, 0.3715615571, -0.0877999216, 0.0510658287, 0.8892310262, 0.3201282322, 0.4511137307, 0.3335624337, -0.3536401987, 0.1571994573, -0.4913817346, -0.1565828174, 0.4276717603, -0.9326446652, -0.3507825136, -0.5698889494, -0.3934755325, -0.2758284211, 0.0862281099, -0.2020037621, -0.222357288, -0.7388831377, -0.1482239664, 0.252192229, 1.0974575281, 0.1885145903, 0.0832943693, -0.876068294, 0.5703037977, 0.1558681577, 0.4809829593, 0.2131458521, -0.5658839345, -0.7018786669, -0.2252309918, -0.0973286778, -0.9052032232, 0.3539641201, 0.0980245396, 0.3605186045, 0.3224461377, 0.1242036074, 0.7517862916, -0.5077841282, 0.5920908451, -0.1485457271, -0.925118804, 0.3082286119, -0.0235539395, 0.5298649669, 0.4101430774, 0.1231032684, 0.0063100262, -0.7408614159, -0.614649713, -0.3580685854, 0.9154553413, 0.0876780525, 0.4669377208, -0.2915112972, 0.5650359988, 0.1127653867, 0.3049396276, -0.9979630113, -0.4267640412, 0.1756661236, -0.2080188394, 0.0734577775, -0.5765160918, 0.1070565656, -0.0863957778, 0.0145170167, -0.0143865012, 0.6307222247, 0.1482958943, -0.3681812882, -0.1666739732, 0.2950947881, 0.6609542966, 0.5778533816, -0.0876818746, 0.5177419782, 0.0917110294, -0.4176284075, -0.0091891242, -0.2480371445, 0.19475393, 0.096954979, 0.7545694709, 0.8728561401, 0.560849607, -0.6622341871, 0.6106953025, 0.0742174387, -0.0392167792, -0.3327261806, 0.4024974704, 0.2251417786, 0.1676203161, 0.1063933671, 0.2960400283, -0.1361951977, -0.7165991664, -0.1926546991, 0.4800150096, -0.5214354992, -0.5861726999, 0.5559638143, 0.0849435031, -0.3370283246, 0.2507494092, -0.2661197186, -0.3317911327, 0.8838258386, 0.4815906286, 0.6794547439, 0.2436400503, -0.0642747059, 0.2749527991, 0.5284813046, 0.179198578, -0.0294214953, -0.2101640552, -0.4777521193, -0.3076074123, -0.6203662753, -0.1208444238, 0.3455285132, -0.7977886796, 0.102656655, -0.7133879662, -0.1340803951, -0.2689647079, -0.0991088003, -1.1622955799, 0.1826757044, 0.0303400587, 0.6496690512, -0.5479491353, 0.9074639678, 0.4796745181, -0.6047888398, -1.0627923012, 0.135962829, -0.4435015023, -1.0455766916, 0.9457258582, 0.2293278724, 0.0483308397, -0.1162698492, -0.7174292207, -1.0032185316, 0.671975255, 0.6247182488, -0.852388382, -0.3767113984, 0.2337493896, 0.58288306, -0.3289277256, 0.039432358, 0.1954215765, 0.2353191674, -0.2736178041, -1.0750265121, 0.016378995, 0.0161485411, 0.1160911247, 0.0278599262, -0.8786292672, 0.8001868725, -0.4544477165, -0.4161271155, -0.1706852168, 0.2071766257, -0.0788359791, 0.0513997041, -0.1466267109, 0.3218784034, 0.4150652885, 0.0125237694, 1.1148766279, -0.4026894867, 0.6025511622, 1.122510314, -0.1902558059, 0.7608385682, 0.513959527, -0.2234718651, 0.3732427061, 0.5932535529, -0.2153821886, 0.5432108641, 0.301014483, 0.4284614921, -0.3038297892, 0.1845189631, -0.3209899366, 0.4723097086, 0.3017450273, -0.8452618122, -0.0243879408, -0.0320007093, -0.0230644699, 0.1662910283, -0.4690008461, 1.1293985844, 0.3747085631, -0.4684509635, 0.9614423513, 0.0294186305, 0.747335732, -0.3420683146, -0.0430922508, -0.3315080106, 0.0768855959, -0.3756626546, -0.4446340501, 0.2934617698, 0.1904966831, -0.2865345776, 0.0862042457, 0.5916594267, -0.3503464162, -0.487522006, 0.587998271, 0.4733816385, 0.1949534714, 0.2095216811, -0.255692929, 0.3660880327, -0.0460324697, -0.08644858, 0.5097624063, 0.5834354162, 0.1440809071, 0.6336809993, 0.3022677004, 0.3247727752, 0.1686009318, -0.0095664011, 0.7863152623, -0.7940430045, -0.1367575824, -0.9201646447, 0.1556580812, 0.4075080752, -0.0796624571, 0.7076200843, 0.4109988511, 1.0613356829, -0.5097626448, 0.6073447466, 0.4742473066, 0.0310693961, -0.7372621298, 0.3652442694, -0.43577528, 0.5665037632, -0.1192862093, -0.8619384766, -0.1906050295, 0.5428122878, -0.3937989473, 0.1384767741, 0.7234295607, 0.6119986773, 0.034552779, -0.4353620708, 0.678011775, 0.2331589013, -0.2165257037, 0.9761835337, 0.8636433482, -0.3075166345, 0.55776757, 0.0780906528, 0.0333156176, -0.2990234792, -0.35769853, -1.4351359606, -0.3973233402, -0.2027282417, -0.0816300809, 0.0086658252, 0.7873879671, 0.6938323379, -0.6441805959, -0.0565797426, -0.1868697852, 0.0990379006, 0.067544736, -0.1791542172, 0.4391399026, -0.6033874154, -0.6119892597, 0.1567620933, 0.4796203971, -0.0271002594, -0.633243084, -0.0531664155, 0.281167388, 0.0430480465, 0.2807122469, 0.0925617144, -0.9428081512, -0.1585724652, 0.2889549732, -0.3631151021, 0.3725849688, 0.6453649402, -0.9652180076, 0.2601458132, 0.1881643385, 0.6622146964, 0.2732591033, -0.2487464249, 0.209181264, -0.9498550296, 0.2433018088, 0.139003858, 0.3891007602, 0.2483588159, -0.583329618, 0.3342417479, -0.0414290801, -0.3902103603, -0.6604364514, 0.2454429865, -0.7487735152, -0.394467473, 1.4089314938, -0.3701936007, -0.3351173699, -0.1149071008, -0.1108973101, 0.1987242997, -0.2460004091, 0.5905897021, 0.5893085003, -0.1595860124, -0.1703445613, -0.5143443942, 0.5746639967, 0.2185926139, -0.5513538122, 0.2638822198, 0.2599582374, 0.4258083105, 0.3001807928, 0.5698299408, -0.3147053719, 0.238547191, -0.1138843894, -0.0362827368, -0.2220221758, -0.2923939526, -0.7138893008, 0.4531780183, 0.4562242925, -0.3263624907 ]
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.3143827617, -0.761783123, 0.9057804942, 0.0064995387, -0.182836026, -0.269993782, -0.2213329971, -0.2402905524, -0.2792509198, 0.3507853448, -0.4257518351, -0.7628563046, -0.4897366166, -0.0335407481, -0.1206712797, 0.92228055, -0.1641528606, 0.2130566537, -0.1385926157, -0.1535492837, -0.5359097719, -0.4046126604, -0.3620426059, 0.0144176278, 0.388556689, 0.177054584, 0.8663690686, 0.6872655749, 0.6484444141, 0.3382386267, 0.4210410416, 0.0866066515, -0.4721385837, 0.0525398292, 0.137333259, -0.2152268887, -0.1838555187, 0.120387055, 0.802919209, 0.4063340425, -0.2353186905, 0.037299376, -0.0703770965, 0.4384170175, -0.2703898549, 0.6241058111, -0.5085350275, -0.0413312167, -0.4808469117, -0.0419587605, 0.0625743195, -0.4888034165, 0.2541216314, -1.1796299219, 0.328423053, -0.0252621714, 0.8121327758, 0.352645278, -0.4260539412, -0.2935041785, -0.5040200353, 0.6444559693, -0.5382254124, 0.7174500227, 0.3269085884, 0.4664160907, -0.0387542136, -0.6262427568, -0.4100531638, 0.1839680225, 0.2366885543, 0.2592006624, -0.0993551686, -0.1925094128, 0.4907330871, 0.3300978541, -0.7391756177, -0.1963973641, -0.6090703011, -0.3738107383, 0.0773017853, 0.0884214789, 0.3275131881, -0.4839100242, -0.2523462474, -0.1270125955, -0.9367662072, 0.0072453856, 0.7201094627, 0.1708208621, -0.1446080357, 0.7555195093, 0.1426361203, 0.8457036018, -0.3637478352, -0.0866858214, 0.3722304106, -0.5556247234, -0.2067633122, -0.3718772829, 0.7617135048, 0.1518753469, 0.040258538, 0.2172707319, -0.2348153144, 0.0980053917, -0.0073620193, -0.8939625621, -0.6585714221, -0.2135245949, -0.1651013792, -0.1326818466, -0.0344792791, -0.9480463862, -0.1985470653, -0.5709986687, 0.5177349448, -0.6236772537, -0.280803889, 0.2466805726, 0.066909045, 0.2748482525, 0.4753370881, -0.6217569709, -0.1806454509, 0.5719256401, 0.9773176908, 0.2105070204, -0.2141833752, -0.706835866, 0.2657680511, -0.3543622792, 0.6367688775, -0.7489459515, -0.2351505905, -0.0404347107, -0.0354793295, 0.214704752, -0.1031456813, 0.6054535508, -0.1701209098, 0.7778332829, -0.4817561209, -0.0823587999, -0.3456688225, 0.38978827, -0.9484493732, 1.1588177681, 0.0918368921, -0.7586817145, 0.258466512, -0.6544075608, -0.0954181999, 0.3159440458, -0.5868905187, -0.6269475818, 0.1466962844, 0.7058522701, 0.3012435436, -0.4369734228, 0.2369369715, -0.2925968468, 0.0618996844, -0.1692928672, -0.525157392, 0.2468500435, 0.1267685294, -0.1944496334, 0.1315817833, -0.4791787267, -0.0107820909, 0.360820353, -0.3712711036, -0.4049293101, -0.1453512758, 0.0981338099, 0.3660355806, 0.203783676, -0.5613799691, 0.2789000869, -0.1261247844, 0.4836865067, 0.7679567337, -0.232932955, 0.3493048549, -0.1102400571, 0.5593296289, -0.0774867237, 0.1313637644, -0.382355839, -0.845979929, -0.3744859695, -0.4501743615, 0.0839290395, 0.3215824664, -1.2963271141, -0.2417983413, -0.4561662674, -0.3005038202, -0.1164320186, 0.0827848613, 0.3539109528, 0.7083011866, 0.3489817977, -0.2098015845, -0.2031752169, -0.7236804962, -0.0197659787, 0.1660144925, -0.210343942, 0.5739077926, 0.3599703908, 0.0550575256, 0.6667243838, -0.7756127119, -0.3786775172, -0.0256696176, 0.2864794135, 0.1437916011, 0.2725755274, 0.7352743745, -0.7126469612, -0.2269271463, 0.1868023276, -0.8240551353, -0.0888375565, 0.2121710926, -0.2183966935, 0.1616102308, 0.2028116137, -0.5433126092, 0.2975893319, 0.8665335178, -0.3465922177, 0.5527966619, -0.2970987856, 0.3044244945, -1.3234118223, -0.0499102697, 0.5461367369, -0.4171116948, -0.3590340018, -0.0733544976, 0.0625004023, -0.7448644638, -0.3221282959, 0.0867375135, -0.6629000306, -0.3439683318, 0.1088351831, -0.043455217, 0.0683412328, 0.4176827073, 0.0115639661, 0.8368685842, 0.852039814, -0.0994728431, 0.7062912583, 0.3648337722, -0.2947966754, 0.6872835755, -0.661428988, 0.1095084921, -0.1858410835, 0.2561944425, -0.7427766323, -0.5739402175, 0.3026658595, -0.1495651901, 0.0416324772, -0.4575281143, -0.4238599241, -0.2787228525, -0.2437776476, 0.8492152095, 0.2140679657, -0.6351145506, 0.6430844069, 0.3736202717, -0.3676940501, -0.3450055122, -0.4164861441, 0.0973851234, -0.186234355, -0.7100266814, 0.0043975837, 0.0225694887, 0.3304189742, 0.3054735959, 0.0326476172, -0.175903514, -0.4634754658, 0.1498003006, 0.3768800795, -0.2836640775, 0.2124424726, -0.2899353206, -0.1263370365, -0.0117476592, -0.7149006128, 0.5426948071, -0.4718878269, -0.5915108323, -0.4353529811, 0.3922251761, 0.6283769011, -0.5887445807, 0.1421081126, 0.7016035318, -0.5743050575, 0.1328842044, -0.4160465896, 0.0418415144, -0.4663695991, 0.4916062951, -0.5701755285, -0.7072591186, 0.2638688982, -0.2002804875, 0.0349966809, 0.1969303936, 0.5471225381, 0.1774590462, 0.9973826408, 0.5695562363, 0.081675142, 0.5527168512, -0.2286032289, 0.3614044785, -0.5421079993, -0.3494947255, -0.3965860903, -0.2266377658, -0.448242873, -0.7499558926, 0.7650929689, -0.2184575349, -0.2216314226, 0.13614963, -0.5395770669, 0.6517013311, 0.4982597828, 0.2188966721, 0.347412467, 0.3461428583, -0.1487233788, -0.4279648066, -0.592854917, -0.2470250577, 1.1746585369, 0.1974145472, 1.0309634209, 0.3443420529, 0.2238467783, -0.292467773, -0.122891821, -0.6547169685, 0.2602116764, -0.0140547697, -0.3162161112, -0.2646935284, -0.8199028373, -0.823810637, 0.2263445854, -0.3463182449, -0.187456578, -0.1639517397, 0.2724336982, -0.2221511751, 0.4941364825, -0.7547953129, 1.064032197, -0.4563791454, -0.3421418071, 0.0708684698, -0.2870820463, 0.4608027339, -0.1605160236, 0.2484797239, -0.0701727644, 0.1079547703, 0.2883127332, -0.3519729972, 0.5891458988, -0.3460511267, -0.2772661448, 0.1026800275, 0.1741485745, 0.3321740329, 0.2967608273, 0.3592205346, 0.3363577724, -0.1238274798, -0.3723641634, -0.6116497517, 0.9084823132, -0.8272438049, -0.2864134908, -0.4113951921, -0.8350905776, 0.0134033058, 0.3980340362, 0.2358626425, 1.0397905111, 0.0677295029, 0.1807730049, 0.5379021764, -0.3950106204, 0.399097383, -0.1092355922, -0.3498550057, -0.645539701, 1.0029886961, 0.0846773311, 0.0431876965, -0.0986496583, 0.1517761946, -0.5398883224, -0.4474623203, -0.6919723749, 0.3570694625, -0.5915637016, -0.4951143861, -0.22702685, -0.0615890138, -0.2433601916, 0.0276368409, -0.5035144091, -0.3025390208, -0.0545074306, 0.1272878647, 0.3634036779, 1.1519573927, 0.0387193933, 0.251519233, -0.7027982473, 0.2995710969, 0.3773091137, 0.5673370957, -0.4923467636, -0.0264303666, -0.0561428368, -0.0775850266, -0.5034475327, -0.6395821571, 0.4156903028, 0.1622785181, 0.2569127381, 0.1577326059, -0.4677525461, 0.6932233572, -0.8199689388, 0.7252597213, 0.5264441967, -1.0494378805, 0.4763633311, -0.8155522346, 0.4447806478, -0.0224697869, 0.3850838542, -0.4868190885, -0.0049105641, -0.2676948607, -0.6142696738, 0.4516295791, 0.3705217838, -0.1043742523, 0.3906258345, 0.410269022, 0.1514105797, 0.0764394701, -0.9309798479, 0.3629465997, -0.7990170121, -0.5344477296, 0.0566595346, 0.0900160521, -0.3301336467, -0.1635582, 0.4403506219, -0.4668452144, 0.3476307094, 0.1337791979, -0.2099315226, 0.091618143, -0.0246067513, 0.664065659, 0.8136941195, 0.2059684694, 0.1291724145, -0.1873618811, -0.5222546458, -0.0598894209, 0.3077275455, 0.1410489678, -0.2008522898, 0.0186036751, 0.816272676, 0.092712447, -0.2395113111, 0.7884174585, -0.3414232731, -0.4724759161, -0.2937117517, -0.4378356934, 0.0088395309, 0.3403019607, 0.2850491107, 0.0817419142, 0.0283832382, -0.1047643274, 0.0948638618, 0.5346278548, -0.0380824432, -0.672927022, 0.8098284602, 0.2813037038, 0.1081932709, 0.773655951, -0.046903573, -0.5890586376, 0.1784839034, 0.5183539391, 0.3721960783, -0.0905070081, 0.1994442195, 0.5188866258, 0.3271511197, -0.1470135301, 0.3758639395, 0.2602515221, -0.5178788304, -0.8512265086, -0.3700532615, -0.2753174007, 0.3452223837, -0.2823422551, 0.506277144, -0.409881115, 0.0120643973, -0.4063746929, -0.2829291523, -0.8979821801, -0.0857310146, 0.3451972604, 0.3475570977, -0.8822331429, 0.6938966513, 0.7592735291, -0.3922704458, -0.9979147911, -0.0959207341, 0.1262413412, -0.7051277757, 0.3700693846, 0.3684474528, -0.1625726521, 0.2369087487, -0.6968055964, -1.0611482859, 1.1101094484, 0.664557755, -0.425709486, -0.324950695, 0.3124571145, 0.1571083069, -0.0887134299, 0.072932817, 0.070705384, 0.4962479174, 0.3014921546, -0.8666164875, -0.0109208347, -0.0814856812, 0.149746716, 0.5867090821, -0.3101700544, 0.9024452567, 0.0173729882, -0.1676564664, -0.0695842728, 0.5035299659, 0.1728063673, -0.0159139689, 0.4690898359, 1.0986773968, 0.7432732582, -0.6058111787, 0.9468287826, -0.0953244567, 0.6248069406, 0.7356161475, -0.0490783826, 0.3540480733, 0.1812772602, 0.2451839596, 0.3545080721, 0.5609004498, -0.0528727323, 0.4890829623, -0.024661094, -0.2031033337, -0.3859102726, 0.1518630832, -0.529633522, 0.6856583953, 0.4517835081, 0.1585803628, -0.728422761, 0.08230111, -0.0838821083, -0.0838538632, -0.2960811853, 0.3560042977, -0.1547223181, -0.2136030048, 0.2985304296, -0.158462882, 0.4578513205, -0.5651660562, -0.349362582, 0.0562928431, -0.0125435414, -0.1327944249, -0.9444824457, 0.2074728906, -0.0420295112, -0.0698765665, -0.1847696602, 0.4902715087, -0.6183059216, -0.699074924, -0.2045777291, 0.6432796717, 0.0868408307, -0.1915211231, -0.6947486997, 0.1662009954, -0.1573362797, -0.0574488826, -0.0104054501, 0.789557755, -0.2011695653, 0.3962670267, 1.0429024696, 0.0527810007, 0.3157167733, -0.0565147549, 0.9546399713, -0.5050686002, -0.5234565139, -0.6505823135, 0.3752473593, -0.0925828144, -0.3014377356, 0.5695767403, 0.7446109056, 0.8170263767, -0.0300245844, 0.8753390312, -0.0469176769, 0.124841027, -0.7830740809, 0.443544358, -0.5155643225, -0.1003841832, -0.3179792762, -1.0604262352, -0.7405647635, 0.696418345, -0.4837999344, 0.0147475284, 0.8031501174, 0.6241803169, -0.5628131628, -0.0344768427, 0.3047007918, 0.0124747884, 0.8759847879, 0.7967574596, 0.8713323474, -0.3190416098, 0.9494105577, 0.040259257, -0.293454349, 0.3269926608, -1.078691721, -0.6976421475, -0.7375003099, 0.026013026, -0.1448301375, -0.2036958635, 0.5611132383, 0.840210557, -0.2856421471, 0.1841601878, -0.2350050211, -0.1978344321, 0.2874247134, -0.1609525234, 0.2835391164, -0.3117829561, -1.0347707272, 0.2885689437, 0.4020766914, 0.1438948214, -0.297906965, 0.0268257521, 0.0614635907, -0.3067997992, 0.5350525975, 0.1723283231, -0.4980401099, -0.4194306135, -0.0814777762, 0.0406520739, 0.2946974635, 1.0421088934, -0.6945159435, 0.5314225554, 0.442192167, 0.898260653, 0.5934291482, 0.1426984817, 0.7672851086, -0.7505467534, 0.2918583453, 0.0629445761, 0.6517810822, 0.6772326231, -0.3278920949, 0.3447120488, 0.4701175094, -0.7886825204, -0.4111715555, 0.5447610021, -0.8061439991, 0.0079733115, 1.024744153, -0.0737916902, -0.2159966528, 0.1503050029, -0.3389097452, 0.1225172877, -0.3690146208, 0.3472287059, 0.8514659405, 0.0032545112, -0.302682519, -1.0150047541, 0.3397090733, 0.1803568602, -0.9546909332, -0.1954919547, 1.2541712523, 0.5056990385, -0.0354255848, 0.1830885708, -0.3212499022, 0.1654799283, -0.3496608436, 0.1589940637, -0.2909400165, -0.5217142105, -0.4038106203, 0.2369609624, -0.2577274144, -0.2105935067 ]
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.2762804627, -0.8806919456, 0.439162612, 0.3230041265, -0.2483255714, 0.34065938, -0.3888999224, -0.6165131927, 0.3491581678, 0.7380799651, -0.2235133052, -0.3314894736, -0.7444900274, -0.0556659847, -0.377504766, 1.0294904709, 0.0837560967, -0.0173587669, -0.433893621, -0.1051894799, -0.5442970395, -0.2906435132, -0.6919307709, -0.2020935714, 0.7407321334, 0.556999743, 0.6308491826, 0.7816884518, 0.8385008574, 0.2145273089, -0.299987942, 0.4806452394, -0.925093472, 0.3149813712, -0.5941249728, -0.774585247, -0.4965857565, -0.0036701078, 0.6501925588, 0.2218788713, -0.1161351427, 0.5798110366, 0.2444795817, 0.6594537497, -0.9000985026, -0.1112790555, -1.0075981617, -0.2279712558, -0.4780736268, -0.7940240502, -0.63707304, -0.2205361575, -0.1403255165, -0.5396948457, 0.5568007827, 0.4175050259, 0.9200991988, 0.5695215464, -0.1931597739, -0.2852675021, -0.9726933241, 0.9128752351, -0.4526274204, 0.4798475206, 0.588322401, 0.0483626872, -0.1951653957, -0.7141445279, -0.474874258, -0.0603040978, -0.1931260973, 0.2838688791, 0.0832669288, -0.0112786237, 0.4381544292, 0.4210825562, -0.5011457801, -0.1701135039, -0.3892603815, -0.4103837311, 0.4232224822, -0.1129482388, 0.1190833524, 0.0723050982, -0.4073182642, -0.0371627882, -0.8785226941, -0.3752206266, 0.2700388432, 0.0632521734, 0.2054889798, 0.6732792258, -0.1003880575, 0.7064480186, 0.567943573, -0.5653079748, 0.0241536722, -0.1541462243, -0.2813159823, 0.2739910483, 0.103161186, 0.3626072407, 0.1809325963, 0.0901014283, -0.1880971491, 0.1713707, 0.4816849232, -0.5990534425, -0.0238746218, 0.2427541763, -0.326268971, -0.3568043411, -0.2404522151, -0.8721843362, -0.6433637142, -0.3677224517, 0.5955236554, -0.3099348843, 0.0535222851, -0.0490176342, -0.0778210163, 0.0945507884, 0.4786803126, -0.3632206321, -0.0384730026, 0.5218749642, 0.530305326, -0.246344313, -0.1348366141, -0.8159119487, 0.7009840608, -0.2834166884, 1.2116100788, -0.6522501707, -0.308424592, -0.0719128251, -0.198445484, -0.1276516765, -0.7592241764, 0.8974102139, -0.7814500332, 0.4297415316, -0.1278645247, -0.4536794126, -0.1643252522, 0.5163417459, -0.5015077591, 1.0668151379, 0.1340905279, -0.9572489262, 0.0986073241, -0.3033201694, -0.3850894868, -0.0212205257, 0.1800352186, -0.3950762153, 0.1782364547, 0.2271456569, -0.066882439, -0.2539956272, -0.0477792248, 0.0749575049, -0.3477507234, 0.2117743045, -0.4954640865, 0.4919376373, 0.085867919, -0.1831585169, 0.0368446931, -0.6450728774, -0.0485847034, -0.0247398987, -0.4822327197, -0.5281876326, -0.1684453785, -0.2247311473, 0.0101522384, 0.398673296, -0.2715741694, 0.0091850786, -0.508259654, -0.3338879049, 0.6239128113, 0.4466203451, 0.3980790675, -0.8231631517, 0.4235496223, 0.2083790749, 0.2539080381, -0.1842575371, -0.4459284544, -1.0706837177, -0.1782012582, 0.5228931308, 0.6455261111, -0.7899488211, -0.0804256126, -0.1033811867, -0.5102825761, -0.6731753349, 0.355956465, 0.5751241446, 0.7677906752, 0.5395011306, -0.193930909, -0.6412976384, -0.8640777469, -0.940125227, -0.1232732981, 0.0741778985, 0.3145007789, 0.0038557693, -0.2625048459, 0.8233235478, -0.500479877, -0.6151638031, -0.0681261718, 0.275377959, -0.1872325391, 0.2811734676, 0.3426549733, -0.9203135967, -0.7234660387, -0.3622089326, -0.2218023539, -0.4305719137, -0.318208158, -0.1154136956, 0.4924449027, 0.4603632689, -0.6101867557, 0.4339150488, 0.4999090135, -0.3214764595, 0.6388659477, -0.1753214598, 0.4435936809, -0.8458553553, -0.1120461226, -0.0245525036, -0.3716516197, -0.5964702368, 0.0459561497, 0.1570414603, 0.3671681285, -0.4599291086, 0.6741588116, -0.6044320464, -0.0035694088, -0.5696764588, 0.5402809978, 0.3839741647, 0.355535984, -0.2400186211, 0.7825846672, 0.3516987562, -0.8102912903, -0.1307357103, 0.2020479292, -0.0890064389, 0.8756631017, -0.2722430825, 0.2563748658, -0.3429065943, 0.2501792908, -0.8602429032, -0.3487727344, 0.4704849422, -0.6732975245, 0.5636137724, -0.2447724193, -0.4266071618, 0.0142484941, -0.262029171, 0.3464364707, 0.2747782171, -0.5899625421, 0.9857148528, 0.4786968529, -0.068301551, -0.6637711525, -0.7563422918, 0.2095365822, -0.259753257, -0.2897261679, 0.5083293915, -0.3689412475, -0.5711761117, -0.0489328727, -0.3148117363, -0.0238632597, -0.1414436549, 0.1152350977, 0.327441901, 0.0404301956, 0.1981659383, -0.0199793838, -0.0523401238, -0.0656640008, -0.1059474051, 0.4233774245, 0.2523700893, -0.3380820453, -0.0491658375, 0.0911681056, 0.3707529306, -0.4286801815, 0.6697171926, 0.7035403252, -0.3856006265, -0.3980872929, -1.0860631466, -0.2538694441, -0.4843781888, 0.0874705836, -0.0546877198, -0.7886611819, 0.2792318165, -0.1618237048, 0.108357735, 0.5216440558, 0.6012680531, -0.0765603706, 0.6270700097, 0.4972675145, 0.0543081425, 0.4741723239, 0.1452471912, 0.0771367997, -0.8569040298, -0.0581087992, -0.5735396147, -0.3308570087, -0.3211731911, -0.9784449935, 0.2308195829, 0.0754513443, 0.1825466454, 0.0789694786, -0.6437876821, 0.6227958798, 0.5084825754, 0.1554677039, 0.6765550375, 0.0225029252, 0.2282489985, -0.2459369451, -0.7627657056, -0.3230696619, 1.0505752563, 0.2574961185, 0.8579427004, -0.023105301, 0.4914132059, 0.5026813745, 0.7058928013, -0.6070486903, 0.5505978465, 0.1939098686, -0.7482959628, 0.0381568559, -0.462754786, -0.641260922, 0.0667743757, -0.3050465584, -0.4522189498, 0.3145616353, 0.4017947316, -0.1905194968, 0.2130284607, -0.6120467186, 0.1314440966, -0.1870486289, -0.5544149876, -0.7249752283, -0.3053666055, 0.4191340208, -0.3453288376, 0.3319652081, 0.0685566664, -0.1337885708, 0.6003113985, 0.3307951093, 0.8999205232, -0.1100380048, -0.2360642552, 0.5348470211, 0.3580085039, 0.8660361767, 0.1163773686, 0.1392152458, 0.2457716614, -0.3155799806, -0.0735879093, -0.5427682996, 0.8451014161, -0.2283270061, -0.8540855646, -0.4078899026, -0.8665049076, -0.3741149008, 0.2674913704, 0.2070456892, 0.3148370385, -0.1635729223, 0.1922473162, 1.2305617332, -0.2325591743, 0.1099345684, 0.7620067596, -0.2639856935, -0.5736002922, 0.8387898207, 0.3006813228, 0.3750721216, 0.4492314458, 0.1818708628, -0.1341063827, -0.3998455703, -0.1159506813, 0.3890654743, -0.7293023467, -0.481769979, -0.7706041932, -0.3027518988, -0.3770534396, -0.0458053723, -0.3042641282, -0.56511271, -0.2287822217, 0.1212300509, 0.4166973829, 0.5264630318, -0.0704414621, 0.4555768967, -0.6973897219, 0.6864435077, 0.1771175265, 0.4610069096, -0.2462039143, -1.0650564432, -0.524785459, -0.000324941, -0.4033910334, -0.8194292784, 0.2199935913, 0.2138743401, 0.5116429925, 0.5035718083, 0.1469447315, 0.6741241217, -0.3458592892, 0.5320641994, -0.2604574859, -0.7175599337, 0.3593734503, -0.2971309423, 0.2163853347, 0.4583126903, 0.082365796, -0.3707214594, -0.8484238982, -0.8639724851, -0.6619273424, 0.469648093, 0.1980412304, -0.144203648, 0.0767176896, 0.3303534985, -0.2127672881, 0.2360835671, -0.4866986573, -0.2917881012, 0.0362223201, -0.2287777513, 0.0179127213, -0.7478541136, -0.3653473854, 0.0759571195, 1.0191172361, 0.0065871798, 0.054704491, 0.4798869193, -0.3218517005, -0.3423510194, 0.1761339456, 0.7938945293, 0.5944507718, -0.0763436556, 0.1318264604, 0.3441140354, -0.7146702409, -0.1789432168, -0.1721772999, -0.3964385986, 0.244398281, 0.1588436663, 0.3598220944, 0.2291470021, -0.5073404908, 0.1187950671, 0.0211832467, -0.1314651668, -0.2876093686, 0.2486529946, 0.1375913024, 0.3394812047, 0.3159220219, 0.2694984972, 0.006677344, -0.2986173928, 0.2117075026, 0.3550614417, -0.2345976382, 0.0213900935, 0.5768119693, 0.0591450185, -0.5579455495, -0.0485131107, -0.0046492312, -0.4989122152, 0.4051967859, 0.7209200263, 0.7674657702, -0.5965269804, 0.0288164411, 0.5291762352, 0.676309824, -0.2658557892, 0.0990420282, 0.2229379267, -0.717451036, -0.4867455959, -0.4807592034, -0.6083728671, 0.1386864632, -0.4491173029, 0.218665868, -0.3829428256, -0.3098834753, -0.431964308, -0.0701350793, -0.4275993407, 0.3830809295, 0.0369154923, 0.9801388383, -0.4165251851, 0.5605509877, 0.624381125, -0.0755204558, -0.4757420719, 0.6262032986, -0.0424275137, -0.5458765626, 0.2438415438, -0.011815167, -0.3677812815, 0.2731676996, -0.6640849113, -1.1405318975, 0.8928365111, 0.2946689427, -0.6038311124, 0.2611247301, 0.1267830133, 0.4365716577, -0.3848705292, 0.0985402465, 0.4334025681, 0.8166623712, -0.0006187414, -0.6651559472, -0.2216471285, 0.1123610511, -0.200886637, -0.0171894785, -0.9064724445, 0.5045935512, -0.2637338638, -0.3870714903, -0.294160068, 0.7625498772, 0.5008562207, 0.4920680821, 0.7206709385, 0.6078181267, 0.9815097451, 0.0472572893, 0.7575796843, -0.6992186904, 0.1597648114, 1.6072837114, -0.2580454946, 0.6500232816, 0.6346675754, 0.3127236366, 0.4842266738, 0.2871806324, 0.0263779759, 0.285818398, 0.0153531255, -0.2527352571, -0.2384044826, -0.3769279718, -0.2099567503, 0.4313975871, 0.6489323974, -0.3727587759, -0.1803003103, 0.0585559048, 0.0920894071, 0.3331589997, -0.4644685388, 0.7338061333, 0.0942717493, -0.7778401375, 0.5948303342, 0.0402124971, 0.4633443356, -0.4928235412, -0.2251639962, -0.2602318525, 0.4092297554, -0.2901362181, -0.6352927089, 0.3660707176, 0.0426149443, -0.5383457541, -0.1477740109, 1.2952306271, -0.746450603, -0.4202325344, 0.22074233, 0.5635453463, -0.0284700729, -0.2315645218, -0.6552736759, 0.1530635357, 0.1234764308, -0.3841488063, 0.3451227546, 0.4874359667, -0.0012871885, 0.8400292397, 0.6795553565, 0.2764292061, -0.1405516565, 0.0653409138, 0.9047726393, -0.4858520925, -0.3453713357, -0.5760762095, 0.3549913764, -0.1583553851, -0.0313716121, 1.1115704775, 0.6212599874, 0.8404690623, -0.0597476773, 0.6778222919, 0.080940865, 1.1399973631, -0.2794865668, 0.8347163796, -0.4984332919, 0.3094044626, -0.1333458275, -1.0343617201, -0.2652554214, 0.2875649333, -0.1680023074, -0.0806227699, 0.7190704942, 1.272372365, -0.0323832855, -0.2641405761, 0.2553190589, 0.6132867932, 0.014358581, 0.0785875022, 0.6230186224, -0.3042268157, 0.7719131708, -0.1947639287, -0.2521034777, -0.3164592087, -0.8657285571, -0.9321385622, -0.2152335793, -0.3753935695, -0.6730843186, 0.2333267927, 0.5748772621, 0.2505526245, -0.6451029778, 0.2004367709, 0.3160908818, 0.3338209987, -0.2130829841, -0.2970716655, 0.2357424796, -0.4700543582, -0.7209932208, 0.5278254151, 0.2914713025, 0.0141368685, -0.3853152692, 0.1051140651, -0.3003998995, 0.6899238229, 0.4668850005, 0.0973604023, -0.4657301605, -0.3567954898, -0.0887295082, -0.3012759686, 0.2021370232, 0.7244341373, -0.8963949084, 0.3916998804, 0.4290561676, 0.5102309585, 0.2600213587, 0.536190331, 0.3160116971, -0.789249599, 0.1015042514, 0.2989545465, 0.1044837162, 0.437958926, -0.8240636587, 0.4897668064, 0.3917289972, -0.7843151093, -0.9351220131, 0.1735188663, -0.9316980243, -0.0805596337, 1.4137842655, 0.2074305713, -0.3781297803, -0.3557011187, -0.508104682, 0.2203570306, -0.2280187309, 1.2020838261, 0.5559267998, 0.3250598013, -0.1264078021, -0.5943263173, 0.683345437, 0.4916544259, -0.7320392728, 0.2775119841, 0.4473473728, 0.2880011499, 0.4009527266, 0.5668346882, -0.1398893744, 0.2412678748, -0.1567010731, 0.1244912669, -0.1032828391, -0.6222652793, 0.0154329706, 0.0210780259, -0.0056710555, 0.1265720129 ]
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.3055554628, -1.0359712839, 1.3408093452, 0.5003384352, -0.4200738966, -0.0028859051, 0.1102001071, -0.8284427524, 0.3650806248, 0.1606672406, -0.7158549428, -0.5465666652, -0.7093679309, 0.3090463579, -0.1798206866, 1.1004303694, -0.1813438237, 0.1222575754, -0.1537903547, -0.5131888986, -0.5178551078, -0.4728738368, -0.4946048558, -0.5871621966, 0.9077786207, 0.1321480423, 0.3602562547, 0.9348823428, 0.8123927712, 0.109377183, -0.2666159868, -0.1758931726, -0.1567438096, 0.3575614393, -0.1509378105, -0.2281585932, -0.8745347261, 0.038176015, 0.5885785222, 0.8974428177, -0.0394126065, 0.2218482047, -0.2757956684, 0.1673671454, -0.4426800013, 0.2600468993, -0.6033626795, 0.3664062023, -0.3368564844, -0.8360485435, -0.3841086626, -0.1573132873, 0.0299754255, -0.6605162621, 0.417922318, -0.3285090029, 1.2256162167, 0.1228674427, -0.4966976345, -0.1652712971, -0.8132193685, 0.5687118173, -0.689981997, -0.0121963788, 0.0876381025, 0.1907161474, -0.1335522085, -0.6093968153, -0.5290540457, -0.3488416374, -0.1602350324, 0.3608437181, 0.1736828834, -0.0717923939, 0.3666774929, 0.1803956628, -0.6076840162, 0.1262480021, -0.0999531448, -0.097026594, 0.2528855205, 0.75283885, 0.2416499853, -0.1348329633, -0.3572786748, 0.5072607398, -0.6869406104, -0.1001113951, -0.134489432, 0.1361223161, -0.1710681021, 0.7057936788, 0.0342832021, 0.5272646546, 0.1885875463, -0.4717988372, 0.0089380918, -0.4406089187, -0.220136568, 0.0715224817, 1.0568555593, 0.4107669592, 0.3118652105, -0.3824944794, 0.3649636507, 0.1389655173, 0.0389270075, -0.7321690917, 0.2181397527, 0.4551237226, -0.4057204425, -0.4577280581, -0.252389878, -0.5253895521, -0.0551559627, -0.2522405684, 0.3819378614, -0.5475859046, 0.1810863465, 0.0294627901, -0.1045027822, 0.2889701128, 0.6274226904, -0.7854268551, 0.0721144751, 0.6263230443, 0.976919353, -0.1449150443, -0.137114808, -0.564460814, 0.5466947556, -0.335013777, 0.9537533522, -0.3153917789, -0.6730856299, -0.2113624066, 0.2443441749, -0.1684239954, -0.3848564327, 0.4661064744, -0.121131368, 0.255905658, -0.1224764735, -0.6588917971, 0.4209491909, 0.2826094031, -0.3476373255, 0.7372305393, 0.0839736685, -0.4951447248, 0.4782881737, -0.2266952246, -0.4245166481, 0.0541940741, -0.6138809323, -0.4690063, -0.0207619481, 0.1032024026, 0.4589343071, 0.1091660261, 0.414190501, -0.5626380444, -0.312663734, 0.4215540588, -0.2121384889, 0.7326322794, -0.0139658516, -0.1155772582, -0.2232140601, -0.7666602731, -0.080177106, 0.3132499456, -0.1244689077, 0.0164670702, -0.1005694196, -0.2380461097, 0.2823653817, 0.4103868306, -1.0758355856, 0.4812088609, -0.0515702777, 0.2801448107, 0.7159590125, 0.6449388266, 0.1871278584, -0.5460914969, 0.3847635388, 0.3870993555, 0.189770937, -0.553376019, -0.3441694975, -0.3365558088, -0.0207721554, 0.101163052, 0.5977030993, -0.2409232557, 0.1001057103, -0.4334070086, -0.3571665883, -0.4033973217, -0.167676419, 0.5040701628, 1.0232355595, 0.4733376801, -0.3131467104, -0.4142160714, -0.5734503269, -0.2419297397, -0.4168561101, -0.1310621053, 0.3728714585, 0.3717966676, -0.0717066675, 0.8950560689, -0.6137112379, -0.3856161535, 0.1941355765, 0.3599661291, 0.3979968727, 0.3284779787, 0.6488164067, -0.0188503899, -0.4777382314, 0.0110412994, -1.2360508442, -0.3132126927, -0.367367357, 0.2044502646, 0.2455574125, 0.4509769082, -0.5614855289, 0.5509309173, 0.0932028145, -0.3452248573, 0.6265091896, -0.1064075232, 0.2105490863, -0.7152665854, 0.3055613041, 0.0051322854, -0.3709740937, -0.6109594703, -0.4197021127, 0.0117072966, 0.0736355782, -0.4900901318, 1.0072271824, -0.2669611871, 0.2287146896, 0.0227046441, 0.2919273674, 0.0963142142, 0.4433474243, 0.2127945125, 0.3162756264, 0.0811281502, -0.3149748743, -0.1211640686, 0.4543471932, 0.3253369927, 0.7767241597, -0.9375942945, 0.2871917188, -0.2785736024, 0.0842008442, -0.8511948586, -0.0644373149, 0.3839611411, -0.6755339503, 0.5845119357, -0.2736854851, -0.4331850708, 0.1078162268, -0.2611133158, 0.2486715466, 0.4330501258, 0.0653349534, 0.1505047083, -0.0067433515, -0.4650996923, -0.6198357344, -0.6467745304, 0.0095807202, 0.0783842951, -0.333119601, 0.6055269241, -0.2098768055, -0.2574827671, 0.1331489384, -0.4968157709, -0.1175391003, -0.1596774757, 0.3911629319, 0.4814741015, -0.2804066539, -0.0601455383, 0.0309401955, -0.1497442573, -0.0144313974, 0.3061767519, 0.0385842584, 0.3002209067, -0.3340723217, -0.7112225294, 0.3992842138, 0.5079426169, 0.4360277653, 0.6599074602, 0.4277921021, -0.4350377917, 0.4180449843, -0.4778494239, 0.0053612771, -0.31128034, -0.1246340945, -0.3067515492, -0.7612423897, 0.7020238638, 0.3068098426, 0.092358321, 0.5352858305, 0.5677185059, -0.5977973342, 0.6953023076, 0.6238244772, 0.0529213361, 0.5222750902, 0.0925747156, -0.2261467874, -0.8337492943, -0.531855762, -0.4078795016, -0.0115757277, -0.3168160021, 0.0759944394, 0.5421346426, 0.2404829115, -0.2350116223, 0.0855224282, -0.2981883585, 0.1970996112, -0.1598598957, 0.3273966014, 0.4657512903, -0.222361058, -0.2506034374, -0.3074624538, -0.4439245164, -0.557980001, 1.0601086617, 0.2851510346, 0.3433339596, 0.1018268913, 0.5860096812, 0.049245514, 0.4986511469, -0.6211751699, 0.4674580991, -0.0197475906, -0.6027312875, -0.1817985624, -0.29799366, -1.0959979296, -0.0828051269, -0.1462812126, -0.9914640784, -0.017710764, -0.1559522003, -0.6273147464, -0.0635152534, -0.1899962276, 0.7268943787, -0.2094404846, -0.6014810801, 0.4603317678, -1.0897010565, 0.1647101194, 0.107257545, -0.140164122, -0.6576861739, -0.1893300265, 0.6015785933, -0.4191880226, 0.7997853756, -0.024809802, 0.1042496786, 0.0430804305, 0.2945733666, 0.0346688554, 0.3307221532, 0.1187460348, 0.3623899817, 0.6543488503, -0.6237055659, -0.7343227267, 0.5155646205, -0.6802221537, -0.2918209434, -0.8553186655, -0.6354554296, -0.2032248676, 0.2040468305, 0.2710755765, 0.6015406251, -0.3986947536, -0.2981030345, 0.4941473901, -0.1426314116, 0.7811867595, 1.1847109795, 0.0982600823, -0.3484819829, 0.264911741, 0.1630606055, 0.1485770643, 0.7867652774, 0.0552865788, -0.2391698658, -0.5360697508, -0.1933766007, 0.6506305933, -0.4184964001, -0.1149988025, -0.6917276978, -0.396509409, -0.6805585623, -0.0490262732, -0.099566564, -0.6368221045, -0.5750675797, -0.0590744391, 0.2368512601, 0.5988655686, -0.0961935669, 0.24967058, -1.2327874899, 0.3382251561, -0.2043463141, 0.1000894904, -0.3588355184, -0.5772108436, 0.0789572224, -0.4261013865, -0.4876459241, -1.1190328598, 0.3402907252, 0.1506220251, 0.6062224507, 0.4593102932, -0.3521503806, 1.0824323893, -0.7463899255, 0.8044018745, 0.1427298933, -0.6617687941, 0.7038345337, -0.6897964478, 0.3301016688, 0.4495829046, 0.4569712877, -0.6619768143, -0.4416442811, -1.0775225163, -0.5645648837, 0.4845162034, 0.1878198534, -0.389198184, -0.3040759861, 1.0805864334, 0.1302051544, 0.1291956902, -0.6006532907, -0.4317182899, 0.2979336083, -0.177349031, -0.1397957355, -0.5854805708, -0.2290360779, -0.070792757, 0.0780329257, 0.0289125107, 0.5118097067, 0.6511470675, 0.0164416023, -0.3700354099, 0.3838993907, 0.8930116892, 0.8366681337, -0.6763857007, -0.0065441257, -0.0013443816, -0.540400207, 0.3459677696, 0.0113498736, -0.1533474773, 0.47390154, 1.0453364849, 0.3026431799, 0.2501425743, -0.3479582667, 0.5084845424, -0.0203696266, -0.0592604354, -0.4603568316, -0.1225582436, -0.1621821821, 0.0483991504, 0.1698199809, -0.2574324906, -0.1693627685, -0.6766989827, 0.3937681913, 0.3215845525, -0.6298044324, -0.5617471337, 0.9389023781, -0.2508568764, -0.1911472678, 0.4849261642, -0.0603783391, 0.0222891103, 0.7201064229, 0.5416066051, 0.820971489, -0.1742165834, 0.1570623815, 0.4260936677, 0.0184661951, 0.1638347358, 0.3023270965, -0.0597362593, -0.5239292979, -0.6039284468, -0.5482575297, -0.7101301551, 0.1582382321, -0.9095782042, 0.2066969573, -0.5648688674, -0.3883403242, 0.3078111708, 0.3066003919, -0.46493119, 0.0560872704, -0.285091579, 0.6756179929, -0.6562154293, 0.9091716409, 0.4068200588, -0.6755784154, -0.6295996904, -0.2593162358, 0.3144640028, -0.7825504541, 0.5641652942, -0.2239030451, 0.1758203357, -0.3861605227, -0.3239199221, -0.2516645789, 1.3764965534, 0.4251029789, -0.6790484786, -0.2517875135, 0.2077988386, 0.8948442936, -0.1237471029, 0.5363857746, 0.5207738876, 0.1466172636, 0.3697000146, -0.9940277934, 0.066412054, -0.1687845886, -0.4188797772, 0.2074733526, -0.5120556951, 0.8106231689, -0.3579526842, -0.4471241832, 0.4473612905, 0.31303671, 0.5590688586, 0.8839482665, -0.2200105488, 0.5418357849, 0.5760923624, -0.1823489368, 0.9950394034, -0.3158405125, 0.3450926542, 1.3653563261, -0.664037466, 0.6098380685, 0.7410027981, -0.2819547951, 0.4599033594, 0.6099450588, 0.135694176, 0.3035675287, -0.2865593731, -0.5074632764, 0.0675840601, -0.2069154084, -0.4720447361, 0.0458865389, 0.2273896784, -0.347076416, -0.3555464745, -0.5066574812, 0.5372754335, -0.2704966962, -0.0736073926, 0.8876307607, 0.3875340521, -0.4650810659, 0.12199191, -0.2006690055, 0.028760517, -0.72012043, -0.1198612899, -0.4942314327, 0.1563346237, -0.1314574331, -0.8241214156, 0.4340545237, 0.0099819629, -0.3466858268, -0.121543102, 0.4605408907, -0.444421798, -0.3271281421, 0.1885997802, 0.7341040969, 0.1535566151, 0.3170074522, -0.534235239, -0.007295738, -0.3390577734, 0.0211861711, 0.4871905446, 0.8210495114, 0.0928326398, 0.3587063253, 0.495867759, 0.608263433, -0.1001314521, 0.0084786359, 0.2970840931, -1.0747387409, -0.0550430939, -1.2387129068, 0.2680028975, -0.0728974864, -0.4789193273, 0.6009554863, 0.3582654297, 0.3225022852, 0.0733927116, 0.3701340258, 0.2527173162, 0.6769756079, -0.601821661, 0.4323643744, -0.3834883571, 0.3057972193, -0.3254483044, -0.5061772466, -0.652962029, 0.04516498, -0.0996590555, -0.2557335496, 1.117312789, 0.485185802, 0.2442543209, -0.2006025314, 0.3100627065, 0.2286792248, 0.5250506997, 0.9309847355, 0.7684862614, -0.4463791251, 0.4530538917, -0.2741898596, -0.0875196457, -0.0089119151, -1.278924346, -0.8011894226, -0.1822483838, -0.6127839088, -0.4376661181, 0.323285073, 0.5133336186, 0.3315689564, -0.6141173244, 0.0472198538, 0.2278977931, -0.012844326, -0.3037172854, -0.2540917397, 0.3906572759, -0.2633478642, -0.4404037893, 0.2518430352, 0.8044675589, 0.3474131525, 0.1628295928, 0.2554998994, -0.0688443929, 0.0124944132, 0.4949614108, 0.6413470507, -0.477432251, -0.4471924305, 0.288277775, -0.4163677394, 0.4021092653, 1.0083470345, -0.7315208912, 0.3728424609, 0.2487273514, 0.1896028817, 0.7388703823, -0.0049583968, 0.2810322046, -0.8846294284, 0.1200554594, 0.4087073207, 0.3234426379, 0.0951562375, -0.4324934185, 0.7344158888, 0.7190260887, -0.7910510302, -0.7511901855, 0.0795204788, -1.6707389355, -0.1539567858, 1.0752727985, -0.2547717988, -0.2730418444, -0.224680379, 0.0871894509, 0.4392971098, -0.1245373636, 0.7917897701, 0.6891003847, -0.7943020463, -0.0910443887, -0.6709903479, 0.2098225057, 0.2617359459, -0.5603986382, -0.4141801, 0.3502389491, 0.6640205979, 0.2223155349, 1.3299158812, -0.6410238743, 0.2850691378, 0.0687860921, -0.3492631614, -0.1652081162, -0.277665168, -0.5729147196, 0.1275807023, -0.2013580352, -0.2176050097 ]
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.2031074166, -0.5517482162, 0.1853072345, 0.2484728098, -0.292614013, 0.3005230725, -0.7209798098, -0.5221427679, 0.1408534199, 0.1474533379, -0.207274884, -0.2633166909, -0.7200277448, 0.0940435454, -0.0573201291, 0.797480762, -0.0662193224, 0.0172170028, -0.0864634663, -0.1048699841, -0.5749502778, -0.4540335238, -0.7394897342, -0.1013070345, 0.5149398446, 0.5848130584, 0.592078805, 0.601077199, 0.4128371775, 0.2812748849, -0.0542322621, 0.2937157452, -0.797444284, -0.2807229459, -0.5379846096, -0.5129833221, -0.1561394483, -0.2724814713, 0.7522450686, 0.9293400049, -0.0076843197, 0.2752640545, 0.1942219287, 0.3387591541, -0.9018514752, 0.1628297865, -0.8499248624, 0.13811858, -0.2467993349, -0.2723243833, -0.4979270101, 0.2162271738, 0.3485149443, -0.8901131749, -0.016064398, 0.3281057477, 0.574051857, -0.0471375175, -0.1442757249, -0.2479183078, -0.6032493711, 1.1289409399, -0.4224247932, 0.5916548371, 0.2350228727, 0.0219385158, -0.0805930123, -0.5369609594, -0.1527951509, -0.1784925461, 0.0053953286, -0.0543822236, -0.272562474, -0.1559037417, 0.1502785385, 0.0244831685, -0.1181518286, 0.6614245176, -0.540314436, -0.2161492705, 0.4105197489, -0.1380734742, 0.2185710818, -0.2593302429, -0.5398172736, -0.2269051671, -0.5531483889, -0.0979406908, 0.180027917, 0.903650105, -0.6318725348, 0.6099651456, 0.0066135274, 0.6408694983, 0.1060972363, -0.1499336809, 0.2025843412, -0.7412771583, -0.0301827062, 0.1144796982, 0.4983530641, 0.2100358456, 0.3107817173, -0.3125299811, -0.0717744604, -0.3088760674, 0.073588565, -0.7853309512, 0.0927613601, 0.0169867221, -0.4104931653, 0.0745593533, -0.4608643055, -0.7232484221, -0.4970108569, -0.0458873212, 0.4473906457, -0.6046520472, -0.0834201202, 0.0090905437, -0.022603102, 0.2953685224, 0.3444514871, -0.9567879438, 0.2950835824, 0.6232123971, 1.1047916412, -0.6994903684, -0.2468692958, -0.8464320898, 0.1289961487, -0.5862865448, 0.5931633115, -0.4490682781, -0.4761555493, 0.0782959163, 0.1189255267, -0.2557607293, -0.35222435, 0.2902514935, -0.6094917059, 0.2474029064, -0.3371362984, -0.334317863, 0.0143413348, 0.1433028132, -0.675989151, 0.9555094838, 0.3080440164, -0.5997005701, 0.5211234093, -0.8490614295, -0.5756013989, 0.033533819, 0.0249090306, 0.1751505435, 0.3974302709, 0.2971700132, 0.4891145825, -0.5746010542, -0.3123125732, -0.0944201276, -0.4681268036, 0.1079324633, -0.4274631441, 0.6641258597, 0.2066761404, -0.0654681996, -0.2014858127, -0.3660232425, -0.0615905486, 0.089728415, -0.5174070597, -0.7287043929, -0.2243946493, 0.0557699911, 0.0119777909, 0.3970119953, -0.5154027939, 0.1436552256, -0.4530196488, 0.1716141552, 0.7234341502, -0.1639083922, 0.9881711602, -0.4017723799, 0.6160978079, 0.2911330163, -0.2304243743, -0.0859565586, -0.2417130619, -0.5601064563, -0.4606697857, 0.7469034195, 0.5904152989, -1.0466005802, 0.0184297897, -0.7259940505, -0.3730339408, -0.5228551626, 0.4784769118, 0.349090308, 0.32376194, 0.410102576, -0.4159113467, -0.3976183832, -0.732504487, -0.2408156246, -0.1002011746, -0.0269388724, 0.4694259763, 0.2610999942, 0.2125554532, 0.5608826876, -0.2735306025, -0.0785490125, -0.6052738428, -0.1368911415, 0.1331634223, 0.4179762006, 0.6730903387, -0.4248678386, -0.706641674, 0.2342257798, -0.3313598335, -0.0371719375, -0.4377841055, -0.431971848, 0.2946870327, 0.4692109227, -0.3082821965, 0.0292670913, 0.923645556, -0.1786149591, 0.1396508813, -0.3409405649, 0.0000102417, -1.4024471045, -0.1826963425, -0.0258244704, -0.0796155781, -0.6825437546, -0.0231602266, -0.0570487119, 0.0533264838, -0.6818651557, 1.0467213392, -0.8761805892, -0.3942769468, -0.1093213633, 0.2758086026, -0.1599461585, 0.4250596166, 0.1224332079, 0.8745141625, 0.5663238764, -0.5125947595, -0.0005284441, 0.1359447837, -0.2066161036, 0.4284664989, -0.1757860929, -0.0216561612, -0.003432015, 0.0002428655, -0.7975158095, 0.1220922172, 0.209826231, -0.0437208191, 0.3369826078, -0.3119354844, -0.4148661196, 0.0664335489, -0.1274495721, 0.5448781252, 0.6131448746, -0.8710620403, 0.7730494142, 0.2100599259, -0.1523653269, -0.6369800568, -0.7346448898, 0.1813606918, -0.2455021888, -0.2920898497, 0.5426033735, 0.1698317677, -0.3619366884, 0.0781677142, 0.117853649, -0.0065511242, 0.0737377256, -0.1741040796, 0.2410955429, -0.3706356287, 0.2921895385, 0.0096393963, 0.2357536107, -0.2000508308, -0.4394310117, 0.5908679366, 0.1077108085, -0.3208627403, -0.0669358149, 0.2770145237, 0.4369205534, 0.0246776249, 0.8441746235, 0.6785796881, -0.3629133105, -0.4716232717, -0.3318974674, -0.249590382, -0.453222543, 0.7964714766, -0.5987504721, -0.5660279989, 0.5118777752, -0.13387236, 0.2640788257, 0.3236071467, 0.5896410942, 0.1114998236, 0.3319234848, 0.7778512239, -0.141066432, 0.7104785442, -0.1501256675, 0.0789711773, -0.9320751429, 0.1709822267, -0.2742137611, -0.4284054339, -0.9461691976, -1.2116856575, 0.0618254617, 0.0236800816, 0.1620834023, 0.4092375636, -0.1146815196, 0.2743169963, 0.5262975693, 0.0629037768, 0.2794169486, 0.4301812649, -0.2092888206, -0.1674607992, -1.3029267788, 0.1018781886, 1.3388707638, 0.2769533694, 0.6946386695, 0.3087250888, 0.6589075923, 0.1637918949, 0.4965318441, -1.0809555054, 0.3909932077, -0.6767665744, -0.2535686195, -0.4801193774, -0.351736635, -1.0672420263, 0.3890669644, -0.4163109064, -0.6188607812, 0.458173126, -0.0172688458, -0.3205987811, 0.5297150016, -0.8134592175, 0.5015714169, -0.4316165149, -0.6253089905, -0.3663831651, -0.028835671, 0.1588317901, -0.6487200856, 0.3918271959, -0.0394717902, -0.5433695912, 0.926082015, -0.1683423519, 1.0092949867, -0.2202042192, -0.18471241, 0.3007287383, -0.0635482967, 0.6327512264, -0.2238503844, -0.1749701202, 0.5121161342, -0.0666867346, -0.6322339773, -0.5531180501, 0.5557485819, -0.7491008639, -0.5581326485, -0.2368946522, -0.8621966243, -0.458668679, -0.0417848378, 0.0455455929, 0.128901273, -0.1282713264, 0.3129480779, 0.3576207459, -0.4748830795, 0.4556641579, 0.6220672727, -0.0149337752, -0.1109651402, 0.9477888346, 0.2490114719, 0.5457012057, 0.393755734, 0.4305397868, -0.2209948897, -0.6367202997, -0.6429676414, 0.2944815755, -0.5340636969, -0.0112600597, -0.3525860012, -0.0705579817, -0.2418464124, -0.3561556637, -0.4586471617, -0.3532035947, -0.4262197912, 0.1844860464, 0.7416426539, 0.0475080684, -0.2571719289, 0.4910136759, -0.7601282001, 0.0917410254, -0.099479042, 0.1559470594, -0.033398021, -1.0273637772, -0.5928099751, -0.0918380469, 0.3425095677, -0.6205976009, 0.3388539851, 0.3497021794, 0.492824465, 0.1839392185, -0.0409658104, 0.9850537777, -0.5269774199, 0.5432983637, 0.3145058453, -0.6806928515, -0.1032793373, -0.1107672974, 0.3217433393, 0.3639191687, 0.4086568356, -0.5879722238, 0.1769906878, -0.3567698896, -0.7325228453, 0.6100541949, -0.2765884995, 0.5252198577, 0.1100336835, 0.352791816, 0.1210435033, -0.0883233845, -0.2858546376, 0.1224883869, 0.091723606, -0.0621142611, -0.3524442017, 0.0100897728, -0.1686804146, -0.1282912195, 0.4078722298, -0.6599244475, 0.2003897727, -0.0888756812, -0.3658758402, 0.0574649535, 0.3782322407, 0.1749492288, 0.284116298, 0.1954375952, 0.0321023203, 0.7843046784, -0.4140836298, 0.115143925, 0.1580939591, 0.0123843802, -0.0613197386, 0.5218096972, 0.7079452276, 0.6453863978, -0.7351965904, 0.4292834997, 0.1605269611, -0.1160623208, 0.000810818, -0.0508154929, 0.2236543298, 0.3075497448, 0.2586618662, -0.2574009299, -0.219874531, -0.6187804341, -0.0356768779, 0.6446480751, -0.1217041537, -0.2578440607, 0.2265730798, 0.1505671591, -0.0747563094, 0.3716933429, -0.1979510784, -0.1449836195, 0.4035463929, 0.705051899, 0.7403426766, 0.0216163304, 0.0915261656, 0.263431102, 0.3930226564, -0.0154159712, 0.4006002843, -0.0127317691, -1.0995389223, -0.7964444757, -0.6629486084, -0.4040551186, -0.0524770655, -0.4418230653, 0.2266969383, -0.5167354345, -0.1087943316, -0.2809063494, 0.1639142334, -0.9427978396, -0.1125499308, 0.0781954527, 1.2258019447, -0.9483733177, 0.7415981889, 0.6249421835, 0.0438266695, -0.6503553987, -0.0549553894, -0.2442761064, -1.0992848873, 0.7872668505, -0.427015543, -0.013112234, 0.1133660525, -0.0086954096, -1.3162305355, 0.984672308, 0.3248209655, -0.6682845354, -0.1882961988, 0.119320415, 0.5444941521, -0.5446459651, 0.0444003567, 0.4073915184, 0.4299962819, 0.1308426708, -0.9191371799, 0.297296375, 0.1915159523, 0.2482611537, 0.0032331471, -0.5134025812, 0.8778648376, -0.3803477287, -0.1849697679, -0.0338613689, 0.8249585629, 0.0404135659, -0.256557405, 0.8338749409, 0.192568481, 0.7475514412, 0.1091416329, 0.9899849892, -0.6403135061, -0.1463224441, 1.2291451693, -0.3453480601, 1.0152897835, 0.7620874047, -0.0082035735, 0.5207029581, 0.5978206396, -0.1801141202, 0.3952495754, 0.3702174127, -0.1026695222, -0.1770596802, -0.5087278485, -0.060201738, 0.8075946569, 0.5594248772, -0.4444046617, -0.2081759721, 0.0502821617, -0.0462681279, -0.2055123001, -0.4435468912, 0.7147661448, -0.0456401519, -0.5176658034, 0.6609449983, 0.227064833, 0.8932062387, -0.3950306475, 0.225989297, -0.2169439048, -0.0719448328, -0.003470453, -0.362728864, -0.0003357953, 0.123215273, 0.106850639, -0.180531621, 0.6266795993, -0.4133608639, -0.6112892032, 0.4978478253, 1.1305282116, 0.1483908892, 0.5222117305, -0.6156850457, -0.0446314327, -0.2280771732, -0.1922875345, 0.5898913145, 0.3816667199, -0.529437542, 0.3612895608, 0.9220719934, 0.6902252436, 0.2031033188, 0.0362875648, 0.6885498166, -0.3447300494, -0.432534039, -0.5867861509, 0.1583659202, -0.056139525, -0.2248398364, 0.680267334, 0.4507879913, 0.8596217036, 0.082870312, 0.8255594969, 0.0663393587, 0.277677834, -0.6632146239, 0.4133095145, -0.6798654199, 0.1821168512, -0.0821179003, -0.7100302577, 0.0455563255, 0.2564823925, -0.4796945453, 0.0178438835, 0.661578536, 0.7105770707, -0.2542104125, -0.5259834528, 0.4588361979, 0.2203038037, -0.0385545231, 0.5388041735, 0.4962434471, -0.1603835523, 0.6184342504, -0.3100918233, -0.2699150443, -0.2603240609, -1.0400999784, -0.7362025976, -0.3020172417, -0.2199482918, -0.3823227286, 0.1523701549, 1.129950285, 0.7294147611, -0.674605906, -0.38731426, 0.2932111323, 0.1104419157, -0.3137376308, -0.1950778663, 0.436739862, -0.4569144845, -1.027726531, 0.5153625607, 0.0162683725, -0.0088021737, -0.3756788969, -0.0536544658, -0.1659450382, 0.3355866671, 0.6526707411, 0.4479582608, -0.5157430172, -0.3450081646, 0.2033940405, -0.1238431185, 0.0447288193, 0.7049319148, -0.6682407856, 0.3437533677, 0.4782473445, 1.1337599754, 0.3489705622, -0.1341299415, 0.7202528119, -0.8595666289, 0.3394272029, -0.13180089, 0.399071008, 0.392110616, -0.3518960178, 0.3701023161, 0.2011772692, 0.1547752768, -0.8886318803, 0.0165210497, -0.6844427586, -0.4034196138, 1.3305050135, -0.0834908485, -0.4128743708, 0.0628327355, 0.1351392418, 0.2810086906, -0.3287535608, 0.7207478881, 0.6373935938, -0.1253553927, -0.0796650425, -0.4458208382, 0.4410323501, 0.5903490782, -0.9075613022, 0.0715004504, 0.2031739354, 0.3677513003, 0.2777241766, 0.5464882851, 0.0796985924, 0.1411887258, 0.0648089871, -0.0987441987, 0.1301617324, -0.0855776593, -0.3832017481, 0.1186937243, 0.1237905324, -0.3448390663 ]
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.3671786487, -0.6637089849, 0.7449594736, -0.1049135104, -0.393155694, -0.0155038023, -0.2702059448, -0.6807284951, -0.3340452313, 0.144732058, -0.407117188, -0.3100544512, -0.250598222, 0.0975318328, -0.5429810882, 0.9697497487, -0.2865896523, 0.0209535174, -0.5020660162, -0.4308391213, -0.8906804323, -0.4819772542, -0.278179884, -0.413748771, 0.3355154693, 0.9781421423, 0.6143121123, 0.9784365892, 0.4466666281, 0.2151956111, -0.1373472512, 0.0411314778, -0.2724623084, 0.0552523248, -0.2795504332, -0.3728883564, -0.2218796015, -0.031058738, 0.9157581329, 0.7487806678, 0.0437404811, -0.0394418091, 0.2520673573, 0.517889142, -0.5401849151, -0.3619907796, -0.692909956, -0.4057008922, -0.2800616622, 0.0945428535, -0.3044010699, -0.1361683607, 0.5786998272, -0.4056262672, -0.2449500859, 0.0583898537, 0.9161812067, 0.2966824472, -0.6982837319, -0.5367633104, -0.8634803295, 0.86759758, -0.9424640536, 0.3870514929, 0.0680228546, 0.2179029882, -0.1862502545, -0.2755478919, -0.7097647786, -0.0661875606, -0.0936787128, -0.246970132, 0.0172509607, 0.1159468591, 0.4304668605, 0.0981738567, -0.3653253317, 0.5180021524, -0.1311724037, 0.0563852303, 0.2633654773, 0.1443304718, 0.5329105258, 0.0473428257, -0.5208801627, -0.1249632239, -0.973026216, 0.3259691596, 0.1243466288, 0.4097992778, -0.1495047063, 0.7044218779, -0.1784771085, 1.0681632757, 0.2644738853, -0.1959014088, -0.2102214694, -0.2576258481, -0.3846575916, 0.3391186297, 0.3561319709, 0.4122993648, -0.2379054576, -0.2378511131, -0.1186146662, -0.0484238602, 0.2275693715, -0.7650048733, 0.3824108541, 0.1882965416, -0.2326223105, 0.1639825851, 0.0058664051, -0.3996509314, -0.3322590888, -0.7867014408, 0.5549674034, -0.6162213087, 0.2684230208, -0.0087679308, 0.1612686217, 0.7275432348, 0.2946437895, -1.0549558401, 0.2168551385, 0.8427741528, 0.7470667958, -0.3348085582, -0.4692524672, -0.404474169, 0.2334365249, -0.2615064681, 0.7839223742, -0.6505014896, 0.051176738, -0.0316513926, -0.2008152902, -0.0984515995, -0.5100531578, 0.0283609275, -0.4941307902, 0.271861583, -0.4485529661, -0.9914095402, -0.3300419152, 0.1233479604, -0.2840916216, 0.6570953131, 0.0166497901, -0.4753981531, 0.7231330276, -0.59551543, -0.4393443763, -0.1689581275, -0.3182015121, -0.2424808592, 0.2332656831, 0.0928435102, 0.4107581675, -0.1865155995, 0.2326819599, -0.2814637125, -0.800380826, 0.5580006838, -0.3401780725, 0.6194697022, 0.034129452, -0.5837673545, 0.1169154048, -0.4804216325, -0.4061745107, -0.277566582, -0.2216902673, -0.431075722, 0.0121170003, -0.2094709873, 0.4470281303, 0.2481096089, -0.497780323, 0.4457288086, -0.5289775133, 0.3906439245, 0.6851392388, -0.1700627804, 0.8938142657, -0.2734110355, 0.4427445531, 0.0078133894, 0.0669308454, -0.2814621031, -0.2723022997, -0.5768312216, -0.1507606953, 0.3583933115, 0.4196973145, -0.3461437523, 0.3167085946, -0.1578031629, -0.4216419756, -0.3996710181, 0.0894756243, 0.621404469, 0.9706678987, 0.2869508564, -0.2599570155, -0.3201234043, -0.9515911937, -0.2634208798, -0.0872205347, 0.036571946, 0.285862118, 0.2982806563, 0.0341761857, 1.2271491289, -0.102250278, -0.0917271972, -0.0727898553, -0.105536446, 0.0120047685, 0.529651463, 0.4567072093, -0.5530512929, -0.6437044144, 0.2583130896, -0.6172707677, -0.0537201837, -0.2301447242, -0.1746027023, 0.3500291407, 0.6720578074, -0.2627961338, 0.4824311137, 0.4936845303, -0.3169410229, 0.1670498252, -0.0999950096, 0.0820342526, -1.1033229828, 0.0992329046, 0.0412485749, -0.0681057125, -0.8452621698, 0.0532326624, 0.4579359889, 0.0569074713, -0.6842939258, 0.7654799819, -0.356179595, -0.2161845118, -0.430924207, 0.3153669536, -0.1764256358, 0.381321311, -0.0612558685, 0.9510670304, 0.3254007101, -0.6700107455, -0.2725239396, 0.3238865733, -0.4882478416, 0.7199223638, -0.2890638411, 0.3180992305, -0.0762178525, 0.2377710938, -1.028378129, -0.35760957, 0.1130880713, -0.0107893953, 0.5498008132, 0.0224805828, -0.3457127213, 0.391033262, 0.0376891196, 0.6823703647, 0.4200849533, -0.7416455746, 0.5334143639, 0.1324854195, 0.1517955214, -0.8430632949, -0.3589081764, 0.1096164733, -0.6743237376, -0.5029996634, 0.7079754472, -0.2528339028, -0.4044238329, -0.3119696677, -0.2246452719, 0.1546816677, 0.2939269841, 0.1665305793, 0.2774804831, -0.1652475297, 0.1585365534, 0.2507304549, 0.2352283895, -0.426168263, -0.119479388, 0.4297638834, -0.1622675508, -0.5094597936, -0.8759378791, 0.295509249, 0.5642539263, 0.0352838635, 0.6806451678, -0.0706241578, -0.4049401879, 0.0452671051, -0.4733149111, -0.2398494333, -0.4178328812, 0.1861924082, -0.1826484799, -0.9081798196, 0.477566272, 0.0255300216, 0.2724677622, 0.0922076479, 0.2569382787, -0.3005944788, 1.2149597406, 0.741324842, -0.2127314359, 0.755564332, 0.0863615498, 0.2342544198, -1.1194448471, -0.0712156445, -0.6528241634, -0.6202019453, -0.3886162639, 0.0932018459, 0.2721713483, 0.455904752, -0.3826152384, 0.5697534084, -0.2885076702, 0.6340290308, 0.431612581, 0.021320153, 0.1786592007, -0.131908536, -0.0971540362, 0.000410491, -0.5517647266, -0.7838855982, 0.8342226744, 0.3684932888, 0.5180435777, 0.1538963616, 0.57776016, -0.2972988188, 0.6459503174, -0.8953225613, 0.3900693655, -0.1171644256, -0.5275031328, -0.4666369557, 0.196884647, -0.6046304703, 0.1863464266, -0.0724795535, -0.9784591198, 0.1814003289, 0.2462247312, -0.4711509943, 0.1845386028, -0.7271856666, 0.8927408457, -0.2885880768, -0.226624608, 0.0964805335, -0.7992233634, 0.1519476622, -0.0390087031, 0.0699907988, 0.0371522643, -0.091123797, 0.3712586761, -0.0647131801, 0.9455679655, -0.0776607767, -0.4079250395, -0.0115741175, -0.0010298748, 0.3894889057, -0.2068878561, -0.047552079, -0.009076097, -0.02542492, -0.3035450876, -0.7440845966, 0.5982339382, -0.5802896619, -0.6435735226, -0.21595788, -0.7341682315, -0.4251762927, 0.1311435252, 0.1843026727, 0.6807714701, -0.2083461285, 0.4214300513, 0.6913377047, -0.0480895117, 0.5627745986, 0.5070289969, -0.027478287, -0.0385573581, 0.771907866, 0.0812451914, 0.4416072965, 0.6395373344, 0.1487838179, -0.3881652951, -0.8037080765, -0.7615334392, 0.271209687, -0.851278007, -0.1787462831, -0.3760618269, 0.1848927885, -0.2354995161, -0.6106483936, -0.0710783079, -0.1930955499, -0.7095552087, 0.0657459572, -0.1217251122, 0.7836000919, 0.3989779949, 0.4740363359, -0.5586233139, -0.2647154629, 0.2737279534, 0.4022266865, -0.0274255835, -0.6638049483, -0.3620738089, 0.0011813135, -0.4011883736, -0.8281907439, 0.0269523375, 0.0936347544, 0.3248427808, 0.6846017838, -0.1881356537, 1.0665677786, -0.4460954964, 0.8755882382, -0.0886717439, -1.1856341362, 0.2583129406, -0.2964456677, 0.5557402372, 0.583614707, 0.1917034984, -0.6582251191, -0.4339154363, -0.2620590031, -0.5947108269, 0.8581736088, -0.1670818776, 0.1081323773, 0.0908883065, 0.7951683998, 0.1867665052, -0.1564501226, -0.4073178172, -0.0022076892, 0.1346900314, -0.4484936595, -0.1176932231, -0.158466801, -0.3048657775, -0.1603763103, 0.6498633027, -0.5006409287, -0.026899524, 0.1251212209, -0.2841525376, -0.1552630514, 0.382391423, 1.1489099264, 0.9978598356, -0.0927329957, -0.1067855507, 0.3661620915, 0.0187228397, 0.1918362826, -0.048660554, -0.2366358936, -0.5695042014, 0.2989807129, 0.6540340185, 0.4458792806, -0.7134734988, 0.4903609753, -0.1695176661, -0.0386250801, 0.0301077832, 0.1159536242, -0.0127309728, 0.3665177524, 0.2753341198, -0.1178265288, 0.0668663159, -0.6061999798, 0.0948721021, 0.8203050494, -0.6544755697, -0.3295968771, 0.5143504143, -0.2053516954, -0.3565269113, 0.6208228469, 0.1257962137, -0.3383313119, 0.6338741183, 0.7857343554, 0.6968257427, -0.0653291196, -0.1363266706, 0.048305694, 0.0567814931, -0.0304315723, -0.0128625389, -0.216899842, -0.7721421719, -0.5239267349, -0.36001724, -0.6380296946, -0.0604037642, -0.6341894269, 0.3700111508, -0.1580925286, 0.2283721864, -0.0392449163, -0.1280871034, -0.659442246, 0.1110399216, 0.1177780256, 0.9160859585, -0.7279702425, 0.8378378749, 0.861671865, -0.2381036133, -0.9377874732, 0.2659534216, 0.1413079202, -0.4102466404, 0.4315264821, 0.4344961643, -0.1478847116, -0.2242995948, -0.765684545, -1.0492702723, 1.2565720081, 0.5389214158, -0.4613467455, -0.0780096427, -0.0056369039, 0.5401619673, -0.7112253308, 0.1359450072, 0.6522320509, 0.210428074, -0.0300220419, -1.0079424381, 0.0910367891, 0.2973617911, 0.0566420518, 0.1377514005, -0.7009266019, 0.6042001843, 0.0390256345, -0.3979178965, 0.305929333, 0.8313596249, 0.1757433265, 0.4040469825, 0.5419843793, 0.4282609224, 0.5360037088, 0.0373195969, 1.0069864988, -0.2680040002, -0.0431751572, 1.1887769699, -0.5574882627, 0.8130723238, 0.8500801921, 0.2299903482, 0.7076863647, 0.6584838629, 0.5949872732, 0.3281183839, -0.128947407, -0.2603872418, -0.0722641796, -0.2327934802, -0.0252642203, 0.7861733437, 0.4126164019, -0.1844787747, 0.0014460594, 0.101944305, -0.0262343828, 0.1046922281, -0.0373778008, 1.0685174465, -0.1427086741, -1.1329180002, 0.3770838082, -0.1257750094, 0.5835155845, -0.4221349955, -0.2359671146, -0.1794263273, 0.0333555602, -0.1522163004, -0.6905551553, 0.2541014552, -0.1931300759, -0.15915595, -0.1103639156, 0.4673964679, -0.4645150006, 0.204011336, 0.0801117793, 0.1327191442, 0.0688747689, 0.1639426649, -0.3595738113, 0.0300930906, 0.0202505346, 0.0800437927, 0.8082168698, 0.2253915668, -0.2326356769, 0.4517624378, 0.2693682909, -0.3117669225, -0.1242117509, -0.1708692014, 0.7349291444, -0.6108427644, -0.0927890912, -0.911115706, 0.5820763111, 0.0259914957, -0.4296256006, 0.7198722959, 0.4380482137, 1.2117624283, 0.306245774, 0.545830369, 0.0456440151, 0.2625766695, -0.639097333, 0.3259857297, -0.7430567741, 0.2440448552, -0.2855043709, -0.842751205, -0.4737332165, 0.3088026941, -0.2174734175, -0.1778278798, 0.6517345905, 0.7770505548, -0.1750710309, 0.0904174969, 0.3897718787, -0.1827841252, 0.5505694747, 0.2065804154, 0.8717904091, -0.2373539507, 0.3431169391, -0.4978401959, -0.3357730806, -0.2727309167, -1.172326088, -0.7129980326, -0.8183930516, -0.1337862611, -0.1333299428, -0.2371177226, 1.1798686981, 0.7522690296, -0.6751477122, -0.4618073106, 0.0584378727, 0.1515376568, -0.4569045901, -0.1639851034, 0.3406175673, -0.4616149366, -0.9323453307, 0.7389638424, 0.3993753791, 0.1800082922, -0.1157839969, 0.0990204439, -0.2335362136, 0.0722872242, 0.5046067238, 0.5276307464, -0.8988186121, -0.6465841532, 0.1895219684, -0.065398179, 0.1271226853, 0.9303377867, -0.4720982015, 0.6304088235, 0.3407465816, 0.8082858324, 0.0843321756, 0.3570673168, 0.7786218524, -0.6793446541, -0.1880096048, 0.0212401617, 0.3827688396, 0.4015970826, -0.503960371, 0.0957653746, -0.4701720476, -0.9432932734, -0.7841633558, 0.2941682041, -0.8458617926, -0.3159198463, 1.1128174067, 0.1846482903, -0.2531155944, -0.1511329114, -0.3476453722, 0.4521681666, -0.4249725938, 0.9136703014, 0.8327507377, -0.5799828172, 0.1252109855, -0.2919478118, 0.5903104544, 0.6400918365, -0.6375843883, 0.0735489354, 0.5735734701, 0.3307231069, 0.0388857834, 0.4249649644, -0.0934157968, 0.2579736114, -0.7248110175, -0.119625777, 0.2748039663, -0.4286538661, -1.0877122879, -0.0379436426, 0.3137535453, 0.0141158234 ]
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.225575909, -0.8924486637, 0.7269482613, 0.3740199506, -0.0638608634, -0.1064719334, -0.0908959433, -0.21959804, -0.0969728827, 0.2671681643, -0.4512805641, -0.3554141819, -0.8633602262, -0.0821042806, -0.6373192072, 0.7376908064, -0.102255024, -0.1283573955, -0.2043954134, 0.1628037393, 0.0088031972, -0.5518338084, -1.0412648916, -0.3745840192, 0.3690608442, -0.0743807182, 0.6573133469, 0.5243021846, 0.3394860029, 0.2696849406, -0.2405998707, -0.3206951916, -0.2099034786, 0.50328511, 0.0387212634, -0.0931746587, -0.3543956578, 0.1968470514, 0.6585634351, 0.7712495327, -0.6233016253, -0.1543602049, -0.0179453082, 0.6465431452, -0.4932300746, -0.1341082901, -0.5252776146, 0.1366546899, -0.3479932249, 0.2666718364, -0.3168182373, -0.2401651889, 0.2269507498, -0.0167922396, 0.141551137, -0.1182353497, 0.4528363347, 0.5006403327, -0.5544256568, -0.3421428204, -0.7649416924, 0.6029534936, -1.058711648, 0.3290532529, 0.2532071769, 0.155276835, -0.0322925076, -0.6224935651, -0.406370312, -0.0982434303, 0.29491961, 0.0769481584, -0.1181375384, 0.0077208201, 0.1577983201, 0.4162881672, -0.7478839159, 0.4489043951, 0.0038423943, 0.0280487407, 0.6817671657, 0.4211941957, -0.0808746591, 0.0372030474, -0.4232301116, 0.0653391927, -0.6584690213, -0.2439122647, 0.5406326652, 0.0067272442, -0.1688158065, 0.4196952283, -0.21542418, 0.5891089439, -0.0462182723, 0.1053548902, 0.2983911335, 0.0287787728, -0.2494358122, -0.3728981018, 0.8462783694, -0.0083740093, -0.1013783216, -0.2303930521, -0.3290653527, 0.02508655, -0.1947689056, -0.7126132846, -0.2862740159, 0.3029649258, -0.5137324929, -0.2505714595, -0.4084700048, -0.8324514627, -0.445395261, 0.0630345941, 0.2007436454, -0.4463819563, -0.6229429245, 0.2528759241, -0.2273065895, 0.3203177452, 0.5935863853, -0.866230011, 0.3404833078, 0.6128965616, 1.0311858654, -0.742141366, -0.1772230715, -0.2159880996, -0.0254855417, -0.2210068852, 0.8536370993, -0.6204437017, -0.5308989286, -0.2079244703, -0.4319437146, -0.2050991207, -0.5105834603, 0.2557308376, -0.3992983699, 0.1575816125, -0.0782350525, -0.6163026094, 0.1844426095, 0.03155756, -0.4751131237, 0.9819095135, 0.249203071, -0.6805383563, 0.257914722, -0.535120368, -0.5351866484, -0.0097459741, 0.0434121788, -0.2247979194, 0.1561289728, -0.1821635514, 0.3935382664, -0.3449463546, 0.4373306632, -0.5313389301, 0.1099890992, 0.0330490097, -0.9715380669, 0.9254496098, 0.6026674509, -0.3964928985, -0.3176431358, -0.8029574156, -0.0926990435, 0.1435557902, -0.4575597346, -0.2720864117, 0.1693800986, -0.1220963895, 0.3056356907, 0.174216181, -0.2861810327, 0.0905504152, -0.4044520259, 0.3878759742, 1.1340442896, 0.018992221, 0.6728896499, -0.0142853446, 0.8748301268, 0.2445526719, 0.1231325492, -0.1282487065, -0.6071817279, -0.6227305532, -0.2307356149, 0.5468990803, 0.5196902752, -0.4938295484, 0.3481814265, 0.1740640551, -0.4499676526, -0.4679424465, 0.0046347682, 0.152104035, 0.4808759391, 0.1289535761, -0.4188208878, -0.3017250597, -0.6159794331, -0.0017026949, -0.307761848, 0.2115816772, 0.2296121269, 0.379835397, -0.2812356055, 0.8174224496, -0.4185237288, 0.2439146936, -0.0040195524, 0.2719598711, 0.1337691545, 0.5245661736, 0.2592802346, -0.5909273028, -0.7042759061, -0.2173817903, -0.4530616701, -0.4210239649, 0.0617740303, 0.2278421819, 0.6429889202, 0.5484060645, -0.6636028886, 0.4545347989, 0.7865850925, -0.3524290323, 0.6356980801, -0.1686888188, -0.1304532439, -0.8059478998, -0.1370855421, 0.0770609006, -0.2824122906, -0.639975965, -0.1127300039, -0.2583682239, -0.1163640469, -0.5475993156, 0.8622657061, -0.3467689157, -0.1738891751, -0.1785700023, -0.0019281619, -0.2571334541, 0.0697822869, 0.353292644, 0.8042625785, 0.8083074093, -0.8887156248, 0.2228837162, -0.1133693755, -0.3870868683, 0.4386969507, -0.6697869897, 0.0764196664, -0.1235886589, 0.2696413994, -0.9299744964, 0.247621268, 0.0645986795, -0.2904432118, 0.3128421605, 0.0766297206, -0.4898999929, -0.3054634035, -0.0789897442, 0.3449198902, 0.8275257349, -0.4610652626, 0.3356967866, 0.3670276403, -0.2418124527, -0.4534541368, -0.5493274927, 0.1872337908, -0.5878919363, -0.606122613, 0.3302176893, -0.4479351342, -0.4558414817, -0.0788675696, 0.0608669147, 0.30524683, 0.3812041581, 0.023263881, -0.1814000756, -0.2109951377, 0.0415123291, 0.0441428348, -0.268607527, 0.0465700105, -0.2924848497, 0.6638929844, 0.012611201, -0.4792798758, -0.0343843699, 0.4663591683, 0.2479141951, 0.1502006352, 0.7510761023, 0.6304028034, -0.1774883717, -0.3665406406, -0.6013532281, 0.0596452989, -0.4888650179, 0.194144249, -0.3763263524, -0.8796602488, 0.5823350549, -0.3038034141, -0.040813379, 0.5318573713, 0.8032577634, -0.0576921068, 1.1433589458, 0.4936393797, 0.0627225637, 0.4246082902, -0.1010434926, 0.1917365491, -0.9399982691, -0.0005681344, -0.5411758423, -0.0175898671, -0.3234785199, -0.4261735976, 0.1633263826, 0.1089163199, -0.2375966311, 0.1038338467, -0.1828718185, 0.2565633357, 0.5444655418, -0.4010691345, 0.1234665439, -0.1994985342, -0.251624167, -0.045680806, -0.8569687009, -0.3763113618, 0.8299424052, 0.5125561953, 1.0092016459, 0.2580099702, 0.9726822972, 0.4743073285, 0.0702870935, -0.3533162773, 0.5783362389, -0.1633910239, -0.4019143879, -0.4062435329, -0.5016483665, -0.8189622164, 0.2632425129, 0.2133983225, -0.6783550382, 0.2295997888, 0.0204091538, -0.2304396033, 0.1519770771, -0.8143324256, 0.6905480623, -0.2232567817, -0.2661827207, 0.0138413412, -0.4763587117, 0.4769753516, -0.1349344552, 0.298761636, -0.2062167078, -0.040697109, 0.6589099765, -0.5709498525, 0.8377255797, -0.3535190225, -0.5673949718, 0.1372575909, 0.0754565746, 0.690523088, 0.097643882, -0.4742636085, -0.005103712, -0.1135501787, -0.1681414396, -0.3085656464, 0.8598549962, -0.5120437145, -0.9136155248, -0.6480558515, -0.2825878859, -0.3130499125, 0.0458174571, 0.3156076372, 0.0859979093, -0.3034608662, -0.1811514646, 0.7883251309, -0.4867408276, 0.7639677525, 0.5831257105, -0.1743454188, -0.237709403, 0.6837764978, 0.0695077777, 0.5483385921, -0.027337892, 0.1866630167, -0.4594340324, -0.6588667631, -0.1773681939, 0.2429545969, -0.6774970293, -0.1370123327, -0.8860548735, -0.3882029057, -0.8133943081, -0.1499488652, -0.3342849016, -0.6657010317, -0.5896677375, -0.0859341249, 0.2171837538, 0.7215496302, -0.5686063766, 0.1725283265, -0.3561418355, 0.2261760235, 0.2996197939, 0.4138924181, 0.1605158448, -0.6401387453, -0.1782340109, -0.1986073405, -0.1130800694, -0.7448282242, 0.4653274417, 0.1719591171, 0.6000661254, 0.3494288325, -0.0463943072, 0.6862490773, -0.813718915, 0.9839101434, 0.1935434341, -0.8154976964, 0.4957775176, -0.0745359361, 0.2924956679, 0.2220373303, 0.2714790404, -0.5598923564, -0.6823077202, -0.9646437168, -0.9092911482, 0.4562258422, -0.1017261967, 0.2287056595, -0.4711833596, 0.4309176207, 0.2847721279, 0.1374263167, -0.6322289705, -0.3148693144, 0.0570232905, -0.0669849142, -0.0502538569, -0.3749776185, 0.3701360524, 0.0108756656, 0.856387794, 0.2403682619, 0.2872922122, 0.0770446509, 0.0160227027, -0.0342199057, 0.2047374398, 0.6844382882, 0.3336611986, -0.0619074628, 0.1364821941, 0.059016183, -0.2281475812, 0.3781259954, 0.1415627897, -0.4203121662, 0.1054849699, 0.1262165159, 0.8001028299, -0.273696512, -0.4662784636, 0.4250258505, 0.0035988286, -0.3805275559, -0.4465132356, 0.1840932518, 0.190748319, 0.4887118936, 0.2419255823, 0.0434559993, 0.2594105303, -0.3101534843, 0.110097222, 0.8522090912, -0.3501709998, -0.3014275432, 0.958293736, 0.1158853099, -0.3486504853, 0.5274515152, -0.4704153538, -0.3147167563, 0.5072082281, 0.7504372001, 0.8863275051, -0.5351375341, 0.4794925153, 0.0200858675, 0.1745039672, -0.4147556424, 0.0420204364, -0.1262513697, -0.6546230316, -0.4022325873, -0.8908658624, -0.4147353768, 0.1686069518, -0.4041248858, 0.1230908707, -0.3426586986, -0.2820940316, -0.2621351182, -0.2202625126, -0.4076336622, 0.0956710279, 0.3506332338, 0.9784644246, -0.9528329372, 0.9754559994, 0.2601431608, -0.1273671687, -0.2374313474, -0.023849858, 0.0135051953, -0.7999393344, 0.7039083838, -0.2711657286, -0.0485675633, 0.2713426948, -0.3342829645, -1.0048527718, 0.9906659126, 0.2652146816, -0.3560419977, -0.3376134634, -0.250227958, 0.5457608104, -0.3785903752, 0.0750385821, 0.7088310122, 0.3731449246, 0.2187943012, -0.6108999252, -0.1236288846, -0.1136196405, 0.2776210904, 0.197865963, -0.6711248755, 0.9261518121, -0.2448235303, -0.3685645163, 0.0715135708, 0.7759401798, 0.2312589586, 0.2244858295, 0.4653761089, 0.9717669487, 0.6135601997, 0.0451857187, 0.9979746938, -0.0503135584, 0.3907444179, 1.0402342081, -0.7754129171, 0.7772153616, 0.453681767, -0.555942297, 0.5536988974, 0.7748904824, 0.1143262163, 0.7532935739, 0.3087796867, -0.5053741336, -0.084181048, 0.1930573732, -0.4682900608, -0.0354377776, 0.5645102262, -0.2066413015, -0.3011426926, 0.1179401428, -0.1235627756, -0.0870607868, -0.006405164, 0.7763423324, 0.3517456651, -0.5242166519, 0.3524270952, 0.1482205987, 0.8830333948, -0.4254828095, 0.0518227927, -0.4183164239, -0.0808474943, 0.0589218773, -0.6212853789, 0.4724149108, -0.0075876908, 0.0382762365, -0.5408456922, 0.6223919988, -0.4980531037, -0.3026070297, 0.1822547615, 0.5589390397, 0.2360001951, 0.2132830024, -0.9015207887, -0.0175221264, -0.1347584277, -0.4984783232, 0.5114954114, 0.7365788221, 0.2813014984, 0.7782831192, 0.3402487338, 0.4408766925, 0.2155944556, 0.1170250922, 0.4854238629, -0.5224254727, -0.4805954099, -0.9649253488, 0.3138076067, 0.1578816772, -0.1530655622, 0.739236474, 0.4222788215, 0.4743953049, 0.1658761203, 0.9256057143, -0.169444561, 0.5991814733, -0.807489872, 0.4016394913, -0.4889325202, 0.5504823327, -0.3130073547, -0.8271678686, -0.267970413, 0.6355170608, -0.4018782079, 0.2617768943, 0.9441686869, 0.5765549541, 0.0908397809, -0.324760139, 0.386387527, 0.1575013101, 0.4101881981, 0.5367057323, 0.8256041408, -0.2993458807, 0.2379130125, -0.0406603403, -0.0650798529, -0.0930177271, -0.9810827374, -0.6588666439, -0.8157415986, -0.6735367775, -0.4816641808, -0.075489603, 0.45447281, 0.3604040146, -0.5903277993, -0.1064320058, -0.3530961871, 0.2210798562, -0.058537554, -0.2788849175, 0.2436780781, -0.562284708, -0.6828384399, 0.3094083667, 0.4788304269, 0.5666259527, -0.6230356097, -0.3232106268, -0.1060369462, 0.2104514837, 0.5549780726, 0.2757956386, -0.6599655151, -0.0962888673, -0.1215610281, -0.1324393749, -0.1114519462, 0.626740694, -0.7864458561, 0.0417932756, 0.4305717945, 0.5596824288, 0.6704490185, -0.0601550266, 0.6844778657, -0.517909348, 0.0097146938, 0.3214099407, 0.2750779092, 0.2751673162, -0.1951725334, 0.5963231921, 0.1644403338, -0.653808713, -0.9516988993, 0.4644321501, -0.478086859, -0.3286492229, 1.5196695328, -0.0125397509, -0.116982162, -0.316481024, 0.2809773684, -0.0984862298, -0.3701432049, 0.662902832, 0.8617078066, -0.1620467901, -0.4214771986, -0.4715079069, 0.6867349744, 0.4810865521, -0.6900584698, 0.2666713893, 0.4554882646, 0.1763600707, -0.1425064057, 1.283572197, -0.1625801027, 0.0839797929, 0.0671555698, -0.2260766178, 0.2880167067, -0.176824674, -0.7474195957, 0.015373541, 0.2961379588, 0.3501079381 ]
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.2616394758, -0.9446883202, 0.8282876611, 0.2368771285, -0.4829999804, 0.0427080803, -0.0079039717, -0.7507221103, -0.0324604474, 0.5241882205, -0.6105026007, -0.4166692495, -0.3047909439, 0.8750691414, -0.4837317169, 0.5677019954, -0.0972087979, -0.15777421, -0.0686659887, -0.1799531728, -0.5697334409, -0.5508980751, -0.5078157783, -0.0815508515, 0.2225756049, 0.6109258533, 0.5895223022, 1.3912539482, 0.5646485686, 0.3704036176, -0.2050269842, 0.3490738571, 0.3170576096, 0.5302944183, 0.035952054, -0.4013215899, -0.1201675981, -0.2728139758, 0.6200951934, 0.8878995776, -0.0726657212, -0.2982257903, 0.105416216, 0.9066356421, -0.4066778123, -0.0091414237, -0.3201070428, 0.0997034535, -0.3211943209, 0.3550028801, -0.5090347528, -0.2404668331, 0.2503252923, -0.4969663024, 0.420429945, 0.4262830615, 0.9735554457, 0.4321458936, -0.37571913, -0.8755446672, -0.4806152582, 0.7485561371, -0.3321252763, 0.4287309349, 0.4850149155, 0.1884653568, 0.2955836654, -0.4874775708, -0.5567175746, -0.2444020063, -0.4202470481, -0.1822437942, -0.2095605135, -0.0107357278, 0.0939641297, 0.4562987387, -0.4176515937, 0.1362253278, -0.2037663013, -0.2453688085, 0.5019008517, 0.2181683332, 0.7992175221, -0.8612331152, -0.1835550666, -0.049963098, -0.2942734957, -0.1773852259, 0.4768762589, 0.14807567, 0.0267121214, 0.7271002531, -0.2076400518, 0.981318593, -0.0978536382, -0.0071007479, 0.1024962068, -0.3868472278, -0.3928319812, -0.1923770756, 0.5524283051, -0.0472010076, 0.1346294582, -0.1214425787, -0.2566746175, -0.3183944225, 0.0753104016, -0.3803412914, -0.3527699113, 0.2370501906, -0.5391705632, -0.0513043515, -0.0023134125, -0.899654448, -0.3708242476, -0.3184143901, 0.1575410366, -0.7203725576, 0.3815511763, 0.3749064803, -0.1819999367, 0.1458486766, 0.7081795335, -1.0344717503, 0.3306580186, 0.4441367388, 1.0626724958, -0.287337184, 0.0441101119, -0.3942067027, 0.074563846, 0.2579577863, 1.266597271, -0.3013316393, -0.111429818, -0.1870383769, 0.1188254058, -0.5323330164, -0.4928519428, 0.5959662795, -0.3445780873, 0.1623864025, 0.0849593058, -0.3064983785, -0.1551797837, 0.3135911822, -1.2621371746, 0.6220109463, 0.0235006306, -0.5808528662, 0.2351690829, -0.5721524954, -0.7147499919, -0.0072227567, 0.0924892202, -0.5976211429, 0.039501898, 0.8162273169, 0.2481591851, -0.0260743257, -0.2986752987, 0.131814152, 0.3591555953, 0.1833468378, -0.5594171286, 0.7830405831, 0.4237539172, -0.490332067, 0.2361774445, -0.8669978976, 0.0155664189, -0.042743247, -0.3357741237, -0.528093338, 0.3368920088, 0.3079394996, -0.1251559854, -0.0629391819, -0.4188883305, 0.2606229186, -0.4885891676, 0.3801652789, 0.5652749538, 0.0495012365, 0.5521906614, 0.0065161684, 0.6308409572, -0.1182232127, 0.0937739909, -0.6134855747, -0.3583650291, -1.2544988394, -0.8407487273, 0.6451444626, 0.7781373858, -0.9283887744, 0.5003109574, 0.2443162501, -0.1332009882, -0.5741016269, 0.3400771618, 0.505450666, 0.281683892, 0.2431706041, -0.2646605968, -0.3348829448, -0.9939115644, -0.2611915469, -0.0833999664, -0.1254554838, 0.1154741719, 0.2555350661, -0.2533251643, 0.8750873208, -0.764896512, -0.4496844709, -0.7329817414, 0.1042081863, -0.2183302939, 0.4153071642, 0.1488903612, -0.6516932845, -0.6331143975, 0.0601436868, -0.6714661121, -0.3305329978, -0.1919604093, -0.0086467043, 0.1433541775, 0.637657702, -0.2744610012, 0.4145003259, 0.0268295743, -0.4878782332, 0.2776331007, -0.291215688, -0.0074074855, -0.677077353, -0.1126254946, 0.2770651281, -0.713123858, -0.531198442, 0.4031157494, 0.080046922, -0.1125078946, -0.3792164624, 0.3955763578, -1.098654151, 0.0558662787, -0.1095100939, -0.0648128018, 0.1639493853, 0.0204784498, 0.3175947666, 0.4325413704, 0.0005973804, -0.3673408031, 0.014533828, 0.4883391857, -0.5139176846, 0.4819262624, -0.6179257631, 0.2457819134, -0.242209658, 0.0027823742, -0.9271112084, -0.6081827283, 0.5195115805, 0.1801359653, 0.0949823037, -0.0546705984, -0.5380718112, 0.0478795506, -0.1168514416, 0.5476918221, 0.1566898674, -0.4009634554, 0.5560964942, 0.4849031568, -0.596211195, 0.0071648229, -0.5639797449, 0.1327988505, -0.2079437375, -0.8204410672, 0.1719653159, 0.1156892627, -0.4758982658, -0.0688567087, 0.1971975863, -0.4677880108, 0.0306040421, 0.0594421886, 0.1981663853, -0.0192068964, 0.0456651449, 0.0847265422, -0.2632691264, -0.5309107304, 0.1032828838, 0.4426836967, -0.2311681658, -0.4013426602, -0.4268008471, 0.7921301723, 0.2559122145, -0.3613299131, 0.3915313184, 0.250303328, -0.3881966174, -0.4102318585, -0.5329697728, 0.2496762276, -0.4601993859, 0.1332541108, -0.2975735068, -0.901460886, 0.4166632891, 0.2592022121, -0.1319048405, 0.7157967687, 0.3338955045, -0.1832336783, 1.0169450045, 0.7612984776, 0.3210597038, 0.3782664835, 0.1953903884, 0.1810936928, -0.5049005151, -0.3127668202, -0.8857321143, -0.0335554518, -0.1141508818, -0.4435167909, 0.2854000032, 0.0880801529, 0.3971010447, 0.2451002896, -0.82633394, 0.7825692892, 0.4345654845, 0.1653814614, 0.6130903959, 0.2678622603, -0.2016233951, -0.0809686929, -0.5298236609, -0.8756352663, 0.5198944807, 0.6598486304, 0.7933934331, -0.081835255, 0.5904498696, 0.6151090264, 0.2945039868, -1.2426639795, 0.5215336084, -0.2585549057, -0.6367263794, -0.718460083, -0.2305183411, -0.9029642344, 0.4561897516, 0.0886699781, -0.5675286651, 0.5257148147, 0.0214524753, -0.681276083, 0.1169580892, -1.2370920181, 0.866428256, -0.1377341896, 0.0849475861, 0.3291131556, -0.6960024834, 0.0529791676, -0.1201226413, 0.4526858628, 0.010327409, -0.117394492, 0.8834518194, -0.7935174108, 0.6986215115, 0.2070665061, -0.0098323394, 0.5129227638, -0.0061116889, 0.224086538, -0.1378753036, -0.0963719934, -0.1100844145, 0.0161164049, -0.3521617055, -0.326529175, 0.0729866177, -0.5528467298, -0.3253281116, -0.6790886521, -0.1467407942, -0.1425561011, 0.400228709, 0.1781051308, 0.31037274, -0.3210821748, -0.0834563226, 0.4354338944, -0.0782718435, 0.7191895247, 0.4402722716, 0.1340809613, -0.6660020947, 0.7839149833, -0.0865270942, 0.0693111271, 0.2267622948, 0.0201780759, -0.4426862597, -0.750457406, -0.8600141406, 0.1782042384, -0.6342995763, -0.062855795, -0.7791740298, -0.0438885279, -0.0629593581, -0.337972194, -0.0597382933, -0.5409402847, -0.467153728, -0.2055574954, -0.2265810966, 0.9027772546, -0.0143353157, 0.6072412729, -0.8249307275, 0.4484246075, 0.3822295368, 0.0936496258, -0.2584456801, 0.007438466, -0.2856035233, -0.4808735847, -0.4434267879, -1.068633914, 0.6179689765, 0.256729871, 0.163790077, 0.3273537457, 0.0616192743, 0.5440075994, -0.7630608678, 0.5731680393, 0.2510485053, -1.1962018013, 0.5198337436, -0.2146070153, 0.2721636891, 0.9699963927, 0.1538343728, -0.5369767547, -0.2790112495, -0.148235634, -1.022846818, 0.8331003189, 0.3885959089, -0.1338655949, -0.249485597, 0.2056546807, 0.4684821963, -0.1057196781, -0.803311348, -0.0328873619, -0.0419274047, -0.4077908099, 0.0015186208, -0.4086368382, 0.2210076898, -0.1350094378, 0.3800500929, 0.0761789754, 0.1771495491, 0.5007737875, -0.6263046265, -0.0208283458, 0.6330002546, 0.447512567, 0.4613207579, -0.1274093688, 0.2397630364, -0.3097262681, -0.7167543769, 0.6338427067, 0.3425089717, -0.4759124517, 0.2155971527, 0.4726185799, 0.6198169589, -0.097333774, -0.6775826812, 0.2168657631, -0.1399351507, -0.1569324136, -0.098195903, -0.0191339571, -0.2829554379, 0.0781060457, 0.4032119513, 0.0133333476, 0.2050064206, -0.4587435722, 0.3157086372, 0.0236270558, -0.4197063148, -0.1455498934, 0.4187197983, 0.6895222664, -0.5494403839, 0.7865657806, -0.4000636637, -0.58668226, 0.6706821322, 0.3235110939, 1.0608040094, -0.1057365015, 0.4635864794, -0.0888273641, 0.7004458308, -0.0063370708, -0.041193001, -0.0392229892, -0.5791844726, -0.4985704422, -0.7545083761, -0.4720062912, -0.0595653132, -0.5452466607, 0.1130484566, -0.3340239227, -0.0406412072, 0.3683185875, -0.287535429, -0.7080677152, 0.5006710291, -0.0175277684, 0.7015792727, -0.8782971501, 0.4025356472, 0.7840442061, -0.3921566308, -0.5665791035, 0.3202962875, -0.1122743413, -0.6049544215, 0.4985610247, 0.4184024632, 0.0636014268, 0.0495587848, -0.1987501085, -0.43438676, 0.537925601, 0.1503804028, -0.6560995579, -0.4988887608, 0.2697353661, 0.4538350105, -0.1940680891, 0.2916197777, 0.6575865149, 0.6336025596, -0.1403927654, -0.7848843932, 0.024602728, -0.2354483306, -0.2636809051, 0.2255724669, -0.4909768403, 0.5740744472, -0.003212651, -0.4627766609, 0.2032840401, 0.6150230765, -0.2203189731, 0.565076828, 1.0753241777, 0.5986042023, 0.6629344225, -0.0257673021, 0.9838086963, 0.1810923517, 0.2395008951, 0.7147302628, -0.2154354602, 0.6940549016, 0.2990130186, -0.3114151657, 0.679844141, 0.6239984035, 0.021795081, 0.4762886167, 0.1317166388, -0.4154995382, -0.5162225962, 0.0668468103, -0.0124945585, 0.5487420559, 0.1778074354, -0.4389575124, -0.3528063297, 0.2461616397, -0.037696749, 0.1103407219, -0.1565030515, 0.9354042411, 0.0466457754, -0.6950333714, 0.0399947576, 0.5149092674, 0.4362565875, -0.4086755812, 0.040966738, -0.0760029033, -0.0915800333, -0.2373631597, -0.5478873849, 0.6557790041, 0.4785731733, -0.2982027531, -0.3282091618, 1.0402215719, -0.1439210176, -0.6466726661, -0.1896748841, 0.8327220678, 0.1271989942, -0.162294656, -0.5642758012, 0.1048699841, 0.2899242043, -0.2200632691, 0.0402578562, 0.4757666886, -0.0341521315, 0.6000504494, 0.4645597339, -0.1033079773, 0.0678681731, -0.0901004896, 0.5437247157, -0.8906924129, -0.7862628102, -1.0871376991, 0.6318221092, -0.1203935593, -0.1594052911, 0.8769663572, 0.6573707461, 0.2907299995, -0.1488318145, 0.8871119022, -0.0726151541, 0.5366399288, -0.5726348162, 0.8587372899, -0.3362775445, 0.2423918098, -0.3590858579, -0.8800352812, -0.5238274932, 0.711542964, -0.4193440676, -0.2988801301, 0.8580186963, 0.3011547625, -0.168197155, -0.1539360732, 0.1974775642, -0.2904701829, 0.24565579, 0.1360153556, 0.8718118668, -0.0199661497, 0.6318307519, -0.2175988853, -0.3856820166, -0.332202971, -0.8694889545, -0.9691903591, -0.3946199715, -0.4074943066, -0.3088221252, 0.1958450973, 0.6794655919, 0.603289485, -0.7242022157, -0.066548638, -0.1953902245, 0.4653114676, 0.0998236835, -0.206848681, 0.6125867963, -0.3997255266, -0.8721562624, 0.3630747497, 0.4971761703, 0.0848974735, -0.2075936794, 0.3169623315, -0.0321657844, 0.2623974085, 0.5856074691, 0.5452725291, -0.3972182274, -0.1876309216, 0.0627602413, -0.2924352288, 0.1202361658, 0.8796772957, -0.4500293136, 0.6623231769, 0.5125677586, 0.6778760552, 0.2712243497, 0.4719893038, 0.5152382851, -0.4533587098, 0.015476062, 0.3012416661, 0.3290004432, 0.486654073, -0.2321679294, 0.4024400711, 0.3223875165, -0.4399068356, -0.7634254694, 0.1897763908, -1.0430747271, -0.2636673748, 1.0634871721, -0.1987850815, -0.5125263333, -0.6200885773, -0.6509723067, 0.0768077746, -0.1671289653, 0.6673304439, 0.8885183334, -0.265086025, -0.1867768168, -0.2616238892, 0.4853802323, 0.5792801976, -1.1759127378, -0.2189381272, 0.8805723786, 0.2932861745, 0.0295546092, 0.7031419873, 0.0769338161, 0.0264095534, -0.0417125747, -0.0902024433, -0.1377348751, -0.3662081063, -0.4983475208, 0.5078573227, -0.0952859148, -0.224585712 ]
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.3350487351, -0.6732981801, 0.9724636674, -0.3514387608, -0.1848705262, 0.4814016223, 0.5672011375, -0.4207196832, 0.3832799792, 0.5000368953, -0.2500114143, -0.1540820301, -0.4766192734, -0.166760698, -0.4962939322, 0.9547717571, 0.023340974, -0.1615970135, -0.2510224283, -0.3059729934, -0.6026737094, -0.3613634109, -0.5299244523, -0.2007459104, 0.6105126739, 0.379159987, 0.462657243, 0.943202734, 0.2264430225, 0.1698309034, -0.1537119746, 0.5719704032, -0.5268540978, 0.4670614004, -0.3718170822, -0.3390814066, -0.5294578671, -0.1208365411, 0.6140127182, 0.5089866519, 0.1160510778, 0.6270585656, -0.1547139287, 0.8271173835, -0.9431500435, -0.2097302973, -0.6225879192, -0.4530334473, -0.0460835956, -0.5741408467, -0.5846655369, -0.4986383319, 0.0308996122, -0.8521596193, 0.168297559, 0.2897320688, 0.9271279573, 0.0906817988, -0.8177638054, -0.5092520714, -0.7280796766, 0.4661772251, -0.4784479737, 0.3058176339, 0.4310422242, 0.4444257319, -0.1935649365, -0.9623841643, -0.337582469, 0.1384801865, -0.2510757744, 0.1181416139, 0.2384686768, -0.133831948, 0.6423919201, 0.4514492154, -0.2975824475, -0.7141571641, -0.2733899951, -0.1980151385, 0.4522177577, 0.1008209586, 0.3149846494, -0.2448945045, -0.199567467, -0.0609270744, -0.6575795412, 0.1088279709, 0.3440126479, 0.1276410222, 0.4314005673, 0.5572126508, -0.3261623979, 1.0211051702, 0.1764440835, -0.3158585429, 0.0061590923, -0.3108466566, 0.1055014282, 0.0400593765, 0.2051693797, 0.1513493061, -0.0924382284, -0.0551150888, 0.0995782539, -0.0712015927, 0.3177825809, -0.8668558598, -0.4295166731, 0.0960159451, -0.5259869099, -0.3107699156, -0.0555109866, -0.7721316218, -0.6655952334, -0.2089854181, 0.7185787559, -0.5530700684, -0.5101103187, 0.0069530508, -0.670545876, 0.3930359483, 0.3246819675, -0.3541378081, 0.4044287801, 0.5764223933, 0.5550777912, 0.3653935194, -0.0342464931, -1.0728102922, 0.5151299238, -0.4664269388, 0.9251474142, -0.4783253074, -0.1034808233, -0.2355216146, 0.0093846312, -0.1326942295, -0.28831321, 0.5662686229, -0.8457794785, 0.307651937, -0.6735110879, -0.7834002376, -0.5397976041, 0.5387992859, -0.7802219987, 1.1476405859, 0.0494031534, -1.1342256069, 0.206421569, -0.3225451112, -0.5108000636, -0.0374231711, -0.1010774523, -0.161217317, -0.018344773, 0.305378288, 0.0101878913, -0.2973519862, 0.2750512958, -0.2789868414, -0.3844410479, -0.0546461865, 0.0437382385, 0.9587560892, 0.1805177331, -0.3738499284, -0.1523317993, -1.2264357805, 0.2860416472, 0.0221596174, -0.3224171698, -0.815505445, 0.4703528583, -0.5605236292, 0.2819147706, -0.2551294267, -0.4096210599, 0.072448343, -0.1278863549, -0.1212503612, 0.7136963606, 0.4686027169, 0.1375378519, -0.5993738174, 0.5729098916, -0.1040896773, -0.1787890494, -0.531447649, -0.739182055, -0.9260997176, -0.0900633931, 0.2713989913, 0.3975882232, -0.8210359216, 0.0198990125, -0.2905599773, -0.3421607912, -0.4700706303, -0.0871239305, 0.4242655039, 1.0942310095, 0.5080777407, 0.0805868581, -0.7918240428, -0.4531553984, -0.674167335, -0.4342889488, -0.1245031804, 0.4358994365, 0.4602788985, 0.0473402403, 1.034932375, -0.5753247738, 0.2293451577, 0.1109426767, 0.2075968683, 0.1648333967, 0.3993589282, 0.2230259031, -0.737423718, -0.407171756, -0.0288142562, -0.74206388, -0.0111539336, -0.0175149571, -0.5663613081, -0.1787979305, 0.3449291289, -0.3958839774, 0.3981923461, 0.2192980349, -0.9122871757, 0.6289280653, 0.1267155111, 0.4098907411, -1.0935305357, 0.5224426389, -0.619887352, -0.4106245339, -0.5243784785, 0.1325769424, 0.0306746643, -0.1085800752, 0.0294048265, 0.6018231511, -0.6157495975, -0.2219815552, -0.2155343294, 0.2011882961, 0.6089820862, 0.1685590446, -0.1455017775, 0.7634114623, 0.3267284632, -0.8020420671, 0.0429804027, 0.1633344144, 0.0006240885, 0.7326869369, -0.3681966066, 0.3827518523, -0.2409930229, 0.2092436403, -1.0143860579, -0.2172727287, 0.065341197, -0.6458333731, 0.3129485548, -0.3497846127, -0.2290008068, -0.3228463233, -0.2401861697, 0.4522721767, 0.5584435463, -0.6976722479, 1.3139519691, 0.2395108491, 0.4073719382, -0.6508206725, -0.1536127925, -0.0938898548, -0.2584971189, -0.6985747814, -0.0430243723, -0.095339641, -0.2275590152, 0.2287499309, -0.37463063, -0.0308913365, 0.2417930216, 0.0856446624, 0.0398378372, -0.2980381846, 0.3603209257, -0.0292848907, -0.1373794526, 0.2618412077, -0.4306975007, 0.2203228027, -0.0188100692, -0.3365808427, 0.0879781693, 0.3164075017, 0.6709403992, -0.3586893082, 0.5577346087, 0.3969058096, -0.2523779571, -0.2127671838, -0.7719169259, -0.1381207854, -0.3856541216, -0.1316884905, -0.7108237147, -0.6679089069, 0.7159712315, -0.4841865599, -0.0803806707, 0.6709687114, 0.0117209479, -0.1281395108, 1.1089529991, 0.2289991081, 0.1879566014, 0.0269926097, -0.1597329676, 0.1520656198, -1.1047103405, -0.2354910374, -0.6718919873, -0.0412458219, -0.3284915388, -0.4967924058, 0.3424035609, 0.6045911312, -0.5097917318, 0.0558522455, -0.4751464427, 0.3572068214, 0.7040292025, 0.141185075, 0.5430304408, -0.117935963, -0.2428944558, 0.3287644982, -0.9023577571, -0.3651582003, 1.179790616, 0.2117552459, 0.5233429074, 0.0498993471, 0.5530826449, 0.1184732467, 0.2298287898, -0.5536901355, 0.4625302255, 0.2630923688, -0.9996571541, 0.0562365241, -0.4306545258, -0.6085996032, 0.3408651352, -0.1826223284, -0.4792201221, 0.1577581167, 0.3735766411, -0.1763738692, 0.566192627, -0.6138924956, 0.5971984863, -0.0858142078, -0.4275760651, -0.0241310932, -0.8133596182, 0.6109709144, 0.1233364344, 0.2651636302, 0.1460392773, 0.3597552478, 0.9089212418, -0.545593679, 0.374319464, -0.3750464916, 0.040643692, 0.8996149302, 0.3714229465, 0.9175186753, -0.0071698809, 0.0250751264, -0.4009358585, 0.0873080119, -0.3766737878, -0.7835171223, 0.3888117373, -0.3106430173, -0.5558709502, -0.4515526891, -0.6173235178, -0.3360370398, 0.5728946924, -0.0260814, 0.6131183505, 0.1875007898, 0.1125616729, 0.9776646495, -0.1246657223, 0.1124605536, 0.5225995779, -0.3777532279, -0.6255487204, 0.9540833831, 0.0466468893, 0.3818930089, 0.3264598548, 0.4151180983, -0.3278778195, -0.2221337557, -0.6346849203, 0.2140219212, -0.8534711003, -0.3520184457, -0.9222572446, -0.1648838967, -0.3431617022, -0.0260202363, -0.2089088261, -0.5557357073, -0.0229489468, -0.2461036146, 0.5930517316, 0.584203124, 0.0124713331, 0.0572463647, -0.8249331117, 0.8335266113, 0.6126249433, 0.4580264986, 0.1070073694, -0.4830550849, -0.21062693, -0.0570940897, -0.1790959984, -1.1199350357, -0.0862577483, -0.0691853315, 0.447118938, 0.373272568, 0.1860009879, 1.1422512531, -0.4760780632, 0.528514266, -0.1157620847, -0.8903818727, 0.7719458938, -0.7128499746, 0.1166469976, 0.5408955812, 0.3012851179, -0.2203691155, -0.4344627857, -0.8170855641, -0.740976572, 0.5118485093, 0.1476071924, -0.5680849552, -0.1399148107, 0.4018788338, -0.2149491459, 0.1479542702, -0.505219996, -0.3427526951, -0.1685267985, -0.011172683, 0.5085179806, -0.7116450071, -0.306797266, -0.2116995305, 0.7771488428, -0.2436140031, 0.1738850474, 0.3775218427, -0.051575277, -0.1484509706, 0.0815606788, 0.2467617542, 1.0269546509, -0.5693019032, 0.5154099464, -0.0742403269, -0.4891829193, 0.3264087737, 0.0201830585, -0.5684713721, 0.0842587724, 0.4710901082, 0.4852073193, -0.2294598818, -0.5288981199, 0.3267385364, 0.0791467726, -0.1195131093, -0.2144635767, -0.0264923386, 0.0979467705, 0.184576422, 0.5174234509, 0.0749991313, 0.480224669, -0.4629039466, 0.3562709093, 0.2847616374, -0.1310114115, -0.0870603099, 0.6888085008, 0.0220350958, -0.1548596323, 0.613961935, -0.2233047187, -0.6477680802, 0.6939544082, 0.6546934843, 0.8027817607, -0.2301983386, 0.0989496782, 0.8020370007, 0.3209136426, -0.228339389, 0.4857995808, -0.0935724154, -0.4168519676, -0.6288794875, -0.4542905092, -0.0956413299, -0.1777455956, -0.852769196, 0.0630120188, -0.1928480268, 0.0550712943, -0.3676730394, -0.0571097545, -0.3911012411, 0.4091815352, -0.2216945291, 0.8186255693, -0.7785567045, 0.4862285256, 0.5852245688, -0.4438273013, -1.2283895016, -0.1210444495, -0.0696548, -0.5070454478, 0.6300100088, 0.1752143353, -0.4029912055, 0.2047626227, -0.3549686372, -1.2220134735, 1.2194020748, 0.1254678667, -0.0445694402, 0.0602903478, -0.4180673659, 0.3426994085, -0.2390836477, 0.5721134543, 0.3972693384, 0.3902363181, 0.3784074485, -0.4126655459, 0.3662262857, -0.3329538107, -0.1865658015, 0.3680576086, -0.3890074193, 0.7968902588, -0.2105534822, -0.4975410998, -0.0983882844, 0.4961666167, 0.7664428353, 0.6452821493, 0.5952978134, 0.8934355974, 1.1059497595, 0.0720240101, 1.0609866381, -0.3791579902, 0.0376850255, 1.493249774, -0.1841233969, 0.5852110982, 0.5204761028, 0.0050239949, 1.1098207235, 0.313629806, 0.3837999701, 0.3412325084, 0.223534435, -0.1828859746, -0.3345339596, -0.2041830719, -0.5182009339, 0.1150658652, 0.3672757447, -0.3236197233, -0.1906094104, -0.3606506288, 0.0945461094, 0.0631199181, -0.3201792538, 0.5927055478, -0.2738023996, -0.8624936342, 0.5508841276, -0.3390830159, -0.0538115986, -0.5895879865, -0.5753627419, -0.3518761098, -0.0334869847, -0.3243772686, -0.4853005409, 0.2960366011, -0.1007536575, -0.4551794827, -0.1369428039, 1.1304556131, -0.1086198837, -0.4742977023, 0.3263537288, 0.5837615132, 0.0910736471, -0.083332248, -0.2876721919, -0.2684547603, -0.13025105, -0.3908088803, 0.0792994648, 0.7444963455, -0.166490078, 0.7145692706, 0.8384324312, -0.0598519146, 0.392552346, -0.1387556046, 1.1221534014, -0.8232560754, -0.4959607124, -0.508236289, 0.8266676664, -0.3519374728, 0.0532561429, 1.1019282341, 0.8493182063, 0.4322310388, 0.1423183829, 0.5117780566, -0.4116988182, 1.255854845, -0.4257099032, 0.3873567283, -0.5012752414, 0.266939491, -0.3338572979, -0.6185254455, -0.0075571393, 0.4184122682, 0.1717349738, -0.0435970686, 0.9508965015, 0.5280174613, -0.0364292897, -0.1329492927, -0.0954990461, 0.1085225865, 0.5498476624, 0.4987511933, 0.9270380139, -0.9314512014, 0.6148608923, -0.0873617679, -0.1516202837, 0.2399528921, -1.0222965479, -0.8311751485, -0.3085999787, -0.1876357496, -0.8951083422, 0.0322300494, 0.0691062361, 0.5009096861, -0.5881580114, -0.1060054228, -0.3829684556, 0.5019788742, -0.4273441434, -0.2745294571, 0.6627530456, -0.4316781461, -0.0824816152, 0.5489647985, 0.0776399001, -0.245252952, 0.066463016, -0.0845020786, -0.8972639441, -0.1025522053, 0.6485580802, 0.4440791905, -0.4219411612, -0.4590138793, 0.2353253365, 0.3616481721, -0.1175541356, 1.0408388376, -1.116289854, 0.9603356719, 0.8420877457, 0.9665135741, 0.7159228921, 0.5900837779, 0.5629110932, -0.6238015294, -0.1578259319, 0.2307345122, 0.1321974099, 0.0528273061, -0.3629504144, 0.842901051, 0.4573255181, -0.7077342868, -0.9302997589, 0.2237526476, -0.8262920976, -0.260779649, 1.1685237885, -0.1465521753, -0.1343827546, -0.4184073508, -0.0867807418, 0.2764935493, 0.0075038434, 0.5646688342, 0.6161497831, -0.187662974, -0.0900307968, -0.6887446642, 0.5252695084, 0.3516574204, -0.831117034, 0.0140604051, 0.9109458923, 0.4650518596, 0.3726631403, 1.045314312, -0.1351266354, 0.2457401007, 0.2851845324, -0.1140546277, -0.2591740489, -0.4946956336, -0.0192464441, 0.3701420426, 0.1307135224, -0.2988861799 ]
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.3360436559, -0.9947474599, 0.6316131353, 0.4074186981, -0.139329195, 0.2386306077, -0.4397925436, -0.3593798876, -0.1738738865, 0.5743027329, -0.5895362496, -0.3620339334, -0.7679358721, 0.107495755, -0.1486984193, 0.8030699492, -0.201289922, 0.0660538003, 0.3496298492, 0.1804760545, -0.4098120928, -0.0415616482, -1.1462179422, -0.2640306056, 0.7872621417, 0.6723448038, 0.3966952562, 0.6953520775, 0.234160915, 0.2813773751, 0.0370516479, 0.4174974859, -0.2710449398, 0.4436559677, -0.4939106405, -0.2734247148, -0.4039095342, -0.1366981268, 0.6384329796, 0.092188552, -0.6090249419, 0.1382946223, -0.2704406381, 0.6548409462, -0.54229635, 0.5460159183, -0.6583632827, 0.0744536221, 0.1350247413, -0.4208400548, -0.5460183024, -0.2361618429, 0.2532539368, -0.5367488861, -0.2501720786, 0.1319431663, 0.418156594, 0.0644424558, -0.2756826282, -0.5983723402, -0.9977172017, 0.8368739486, -0.6858641505, 0.3360536098, -0.0034827392, 0.2938666046, -0.5608415604, -0.6703789234, -0.6169133782, 0.0432440154, 0.2464838326, 0.019278409, 0.0232082307, -0.0366248786, 0.5282474756, -0.1620571613, -0.4612566829, 0.4585033357, -0.3200945258, 0.1789964885, 0.646238029, 0.1098043472, 0.2696424723, -0.2842340171, -0.5518632531, -0.2747553289, -0.609739244, 0.1065689623, 0.0439365432, 0.5405188799, 0.3281666338, 0.5843052268, -0.248813957, 0.3910932541, 0.0323244743, -0.5258790255, 0.1045556739, -0.0761674494, -0.3628003895, 0.2082724571, 0.784553349, -0.2746265531, 0.3211995363, -0.2197099328, -0.6098700166, -0.4606975019, 0.31049788, -0.693831861, -0.240200758, 0.5107973814, -0.4048036933, -0.2642979622, 0.0285050347, -1.0891805887, -0.3582142889, -0.3072814345, 0.4409718215, -0.4996870756, -0.538816154, 0.0234675333, 0.0406597815, 0.2782542706, 0.6003616452, -0.7914471626, 0.284119904, 0.6337291598, 0.6228209734, -0.6061908603, -0.2507325411, -1.0434422493, 0.2935914993, -0.1832547486, 0.7816634774, -0.540804863, -0.0730832964, 0.1488003135, 0.0137754753, -0.1845021695, -0.7250094414, 0.4634285569, -1.0876215696, 0.1018275917, -0.0090804836, -0.3425629437, -0.3235453963, 0.3873870671, -0.9144698977, 0.9617493749, -0.2361205071, -0.4094135165, 0.2556989193, -0.7783971429, -0.4829989076, -0.0485354811, -0.2363278568, -0.4877732694, -0.2514531314, 0.4641627073, 0.6412937641, -0.151884228, 0.4332784712, -0.0908036157, 0.0524589494, 0.0985404477, -0.2505968809, 0.7317764163, 0.2936718464, -0.382802248, 0.4185075462, -0.9472298622, 0.0551721714, 0.3065969944, -1.1692988873, -0.0177008677, 0.4506054223, -0.1212676764, 0.710975945, 0.0879477635, -0.2737877667, 0.5009760261, -0.3383823037, 0.3101197481, 0.8460540771, 0.3150106072, 0.5503123403, -0.059153568, 0.6681879759, 0.2453365773, -0.07381998, 0.0109374877, -0.0450635962, -0.7803516388, -0.3276661336, 0.3676686883, 0.8231207728, -1.0945034027, 0.3457561433, -0.3098069429, -0.1818990111, -0.2215071768, 0.1464658082, 0.3244144022, 0.2070289254, 0.4417939782, -0.1699314564, -0.5622130632, -0.5283725262, -0.3092783689, -0.230243355, 0.1783400625, -0.0937037617, 0.4310721457, 0.1223545, 0.6972860098, -0.4658918977, -0.1098838672, -0.5359843969, 0.531242609, 0.1772519499, 0.2971010208, -0.1704454869, -1.0664368868, -0.153132543, -0.0482291766, -0.5502269864, 0.3179779649, -0.3757140934, -0.0288398117, 0.152498886, 0.4412890077, -0.6983324289, 0.1193720922, 0.2781858444, 0.0899057537, 0.6476778984, -0.2053569555, -0.1685453206, -0.9057701826, -0.0834593549, 0.2219029963, -0.4938221574, -0.5243943334, 0.0375435017, 0.2269603014, 0.1980273277, -0.4737919569, 0.3646458685, -0.6652683616, -0.5341441035, -0.4308791757, 0.3932397664, -0.1560109556, 0.7693469524, 0.2801945806, 0.5508592129, 0.1910749376, -0.8717576861, 0.5604583621, 0.1314584762, -0.5671510696, -0.0041307458, -0.1350676417, 0.0612414367, -0.2422981858, 0.2313157469, -0.6806241274, 0.0768685639, 0.6070880294, -0.0920005813, 0.6030017734, -0.0282120202, -0.4738600254, -0.1719778031, -0.1044459119, -0.0847260207, 0.1026810557, -0.6008799076, 0.8742749095, 0.4641477764, -0.8198732734, -0.6788470745, -0.1734799147, -0.0119148772, -0.3078816831, -0.1555080563, 0.1972782463, -0.005985003, -0.3090984225, -0.0503045097, -0.11998716, -0.0956669077, 0.2038824111, 0.0247900784, 0.2444436699, -0.1357828379, 0.1368623376, -0.1551814079, -0.0763359442, 0.237198621, -0.3867403269, 0.5060586333, 0.4946006238, -0.0822657794, -0.2455821931, 0.169165507, 0.3706724942, -0.3225043416, 0.4553804398, 0.6060253978, -0.4520122707, -0.3414913118, -0.4217667282, 0.074246347, -0.385366261, 0.7015216351, -0.3587423563, -0.4452724755, 0.050969962, -0.6614899635, 0.6172608733, 0.3603274822, 0.6057674885, 0.0780718848, 1.1395308971, 0.7238880396, -0.0991415307, 0.8310889602, -0.1785482466, 0.0506480522, -0.8362293243, -0.5328484178, -0.4777717888, -0.2192836553, -0.2423480153, -0.3570917547, 0.0690891296, 0.3035574257, -0.1232798323, 0.0681234822, 0.0290657636, 0.160973087, 0.365858227, 0.1642402261, 0.4582546055, 0.1193389595, -0.070798479, 0.2196449637, -0.5705013275, -0.4819136262, 0.8483874202, 0.4424622953, 0.5106646419, 0.2966909707, 0.5421227813, 0.1942621022, 0.1325652897, -0.8826144338, 0.3655216098, 0.0921587348, -0.2726383805, -0.7154576182, -0.4543859959, -0.8687598705, 0.5361620784, -0.4693509638, -0.6924775243, 0.2552090287, -0.2924858034, -0.3815346062, 0.1728415489, -0.3300021589, 0.4009295106, -0.4763373435, -0.1358613819, -0.3267800212, -0.5751855373, 0.4309443235, -0.3560620546, 0.5670593381, -0.1764532179, -0.1768297404, 1.0250257254, 0.0287076961, 0.4747101963, -0.3521115482, -0.1804877669, 0.0271856971, 0.2014368325, 1.1302883625, -0.0081792604, -0.206370607, -0.3458593786, -0.1971979439, -0.2868065834, -0.7254527211, 0.3543435335, -0.5224100947, -0.4740699828, -0.429859966, -0.4817082882, -0.2563895881, 0.3688447177, -0.3955616653, 0.2422839403, -0.0844461843, -0.2507299185, 0.7146453857, -0.3958542943, 0.826779604, 0.6874016523, -0.3668626845, -0.5633628964, 0.8638347983, -0.1218674183, 0.1953557283, 0.5742063522, 0.1656131595, -0.3164551258, -0.9305006862, -0.4671069384, 0.0196879338, -0.7897804379, -0.1565437019, -0.7165747285, -0.2954272926, -0.4099049568, 0.6148423553, -0.1912617981, -0.4088012874, -0.1122241393, -0.1623366475, 0.0094567435, 0.8964124322, -0.0103399921, 0.1945448071, -0.8309851885, 0.5464712381, 0.2603021264, -0.187874496, 0.1086999178, -0.3241774142, -0.2212929726, -0.2484030426, -0.277761519, -0.6634726524, 0.5876815915, 0.1471233219, 0.6611686945, 0.3725011349, -0.056351155, 0.6763982773, -0.5959071517, 0.4677900076, 0.0775101781, -0.338186413, 0.4759503007, -0.1026329026, 0.0174294598, 0.2364403456, 0.5104613304, -0.3387905061, -0.1236864105, -0.5596715808, -0.9545718431, 1.0119658709, -0.0894930661, -0.4601964355, 0.1851897985, 0.5496681333, 0.0585558452, 0.187286377, -0.9201380014, -0.1449799389, 0.4171201289, -0.1121663675, -0.109968394, -0.46582219, 0.0390754789, 0.0815220401, 0.8570179343, 0.0247464273, -0.0819320157, 0.0674754232, -0.4021492302, -0.1712127328, 0.4265189469, 0.5270674825, 0.8528837562, 0.0253506768, 0.1042556465, 0.1318965107, -0.258470118, 0.0446590446, 0.1036413983, -0.0030478269, -0.4583124518, 0.3726458549, 0.5644451976, 0.4201571345, -0.8211482167, 0.3578044176, -0.3000297248, -0.0108262636, -0.4571763277, 0.1766964346, 0.009609879, 0.8083434701, 0.3492662907, -0.1526888013, -0.0123339472, -0.6174128652, 0.4634441137, 0.1256791353, -0.1921540499, -0.0332837477, 0.1421884, -0.0541154556, -0.4318577349, 0.73839432, -0.1314236224, -0.4945594668, 0.4043797553, 0.7073894143, 0.5943801999, -0.249512136, 0.3504009545, 0.4607375264, 0.1199760735, -0.3794063032, 0.4650968313, 0.1144585535, -0.7836470604, -0.6539077163, -0.7976877689, -0.131561175, 0.1649623811, -0.5510140061, 0.3798046708, -0.600903213, 0.3752212524, -0.0116460864, 0.2572287619, -0.4895321429, 0.3427332938, -0.0142560117, 0.8528608084, -0.4928745627, 1.0990937948, 0.3774871826, -0.4505455196, -1.0423096418, -0.0421271846, 0.0423193909, -0.9681712389, 0.8187639117, -0.1707053185, 0.1071175933, 0.1419140399, -0.3313477933, -0.9784867167, 1.2831501961, 0.0323842503, -0.8513253927, -0.3727921844, -0.3207932711, 0.0790878981, -0.5574944615, 0.0533967055, 0.665492177, 0.5576431155, 0.3484787643, -0.3896768391, 0.1814558506, 0.2269023955, -0.0910510197, 0.2890802324, -0.1455993056, 0.8774493337, -0.2123995721, -0.4476045668, 0.0096530076, 0.7064717412, 0.3373375833, -0.0750537589, 0.7921470404, 0.3162095845, 0.9047451019, 0.36786744, 0.6582132578, 0.1241559759, 0.1804653853, 1.378806591, -0.2360580713, 1.2608370781, 0.3724249303, -0.0168625265, 0.5601192117, 0.7968354821, 0.1205879897, 0.6649661064, 0.1742137074, -0.1962806284, -0.2249160856, 0.2093075514, 0.2087835073, 0.4028656185, 0.490601629, -0.3174225986, -0.345091939, -0.0432759374, 0.0935488418, -0.2424610406, -0.3214802742, 1.1412369013, 0.0117252264, -0.8051172495, 0.0769735873, 0.3900035322, 0.288830936, -0.3890275657, -0.3195987344, 0.2037672997, 0.0797116831, -0.2105524838, -0.6426532269, -0.0560543425, -0.0218425039, -0.1615869254, -0.3159568012, 0.8378509283, -0.5768325925, -0.226290226, 0.5072963834, 0.5132954121, 0.2807786167, -0.1296215802, -1.0174049139, 0.0531158783, 0.0307370704, -0.5535042286, 0.4581284225, 0.5343368053, 0.086743556, 0.6781365871, 0.7335348129, 0.5876369476, 0.2079970837, -0.0766878352, 0.8043218255, -0.8846510649, -0.2925663292, -0.9525706172, 0.5145874619, -0.1322850734, 0.1433778554, 0.2339146584, 0.5109378099, 0.7467434406, 0.4001271725, 0.8184851408, -0.0449166149, 0.4639382064, -1.0482355356, 0.0593570471, -0.415851444, 0.4584338665, -0.1201794446, -1.1582164764, -0.1020055264, 0.4618444741, -0.2263016999, -0.2450686395, 0.7194512486, 0.608541429, 0.1070184037, -0.0592381991, 0.1140660867, 0.3229222, 0.7823442817, 0.5098905563, 0.7943370938, -0.1798447222, 0.6632653475, -0.060914468, -0.2798308134, -0.1172274351, -0.9093677998, -0.4489240646, -0.4749558866, -0.1912629008, -0.3517825902, 0.0013594261, 1.1455477476, 0.4776516557, -0.6984252334, -0.2095906138, -0.0077834334, 0.4339292347, -0.2202878743, -0.2391272336, 0.3428252041, -0.5128393769, -0.6620454788, 0.7603354454, 0.403752625, -0.2534883022, -0.2765210271, -0.1431140155, -0.744443059, -0.2268727273, 0.6225364208, 0.4763126671, -0.7206494212, -0.4992617071, -0.4673682749, -0.1417429, 0.258405149, 0.8678803444, -0.5965540409, 0.3654288352, 0.4023224413, 0.7569621205, 0.6801126599, 0.1275224984, 0.648352921, -0.6115145087, -0.0988952145, 0.1037408561, 0.1876738966, -0.0580619499, -0.2592674196, 0.3472588956, -0.1280316263, -0.5601519942, -0.4763479531, 0.3312605619, -0.9050844908, -0.5504332781, 1.3701196909, -0.2672576308, -0.3736602962, -0.2049167305, -0.1999725401, 0.4789676964, -0.4853881299, 0.7179192305, 0.642082274, -0.3243601918, -0.3635780215, -0.7163814306, 0.3361445367, -0.0393793508, -0.9223076105, 0.1896479428, 0.4627297521, 0.5088777542, 0.093049556, 0.6496147513, -0.2320313603, -0.0384287015, -0.4682452977, 0.0440512002, 0.1271273494, -0.7213612199, -0.5988449454, 0.3627966344, 0.3999355435, -0.0597040057 ]
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.1685256511, -0.5567597747, 0.5626088381, -0.2095549554, -0.0681880414, 0.0427406207, 0.08939749, -0.5875198841, 0.0973967314, 0.3672705889, -0.6127628684, -0.0667272657, -0.7315508723, -0.2491014749, -0.4830227792, 1.1786948442, 0.0830885544, 0.3213231862, -0.3072544038, -0.2345556021, -0.6640498042, -0.59650141, -0.238416031, -0.5852412581, 0.3502679169, 0.3935350478, 1.3188031912, 0.8243826032, 0.7992892861, 0.3286546767, -0.1118493974, -0.0147917159, -0.5768967867, 0.3489233851, -0.5677567124, -0.6801080704, -0.4943959713, 0.0482754447, 0.5316190124, 0.6589313745, -0.2852730453, -0.0495944843, 0.0810695365, 0.6388269663, -0.6185299158, -0.3624103963, -0.5305309296, -0.3860763609, -0.3065085709, 0.3940134346, -0.1220476776, -0.0581488684, 0.1558542252, -0.541300118, 0.3470797241, 0.1298162639, 1.4018864632, 0.3861787915, -0.4997193217, 0.0491594449, -0.8806125522, 0.909193635, -0.4606734514, 0.391133666, 0.2896409035, 0.3239949942, -0.1704999357, -0.3439632058, -0.4452704191, -0.1025949419, 0.0042047841, 0.0853677988, 0.0147116091, 0.035703592, 0.1537968814, 0.3712013066, -0.5090932846, 0.4206563532, -0.2394600064, -0.2796807885, 0.7084203362, 0.3022782207, 0.3397912979, 0.2056608647, -0.6672417521, -0.252509594, -0.8444391489, -0.0638580397, 0.5667265058, 0.4851594567, -0.2990422845, 0.5028215647, 0.1166079342, 0.5689091086, 0.4266250432, -0.189495936, -0.2105413079, -0.5996001363, -0.1179612502, 0.1368158162, 0.6149693727, 0.5620925426, 0.3000710905, -0.0927340165, -0.2996234894, 0.4764115214, 0.3333351612, -0.4562769532, 0.1218738332, 0.1982381791, -0.4713376164, -0.4208835363, 0.2663220465, -0.3443220854, -0.56293118, -0.5294112563, 0.350138694, -0.2833620608, -0.3913209736, 0.1286278367, 0.195941776, 0.4091491699, 0.0856229961, -1.2328721285, 0.3230504394, 1.0034247637, 0.5297147632, 0.1191855073, -0.5086893439, -0.1404222846, 0.4490949512, -0.3639477491, 0.5346637964, -0.6021898389, -0.1717261672, -0.1700401604, 0.0094013568, -0.2399417162, -0.418745786, 0.574349463, -0.3539661765, 0.1793954074, -0.3069651723, -0.5560986996, 0.0855385959, 0.2356091738, -0.4714938104, 0.6480625868, 0.0911990777, -0.6219528317, 0.3272190094, -0.0199959688, -0.1400297582, -0.2551563084, -0.303332895, -0.6606140733, 0.2796050906, 0.0465577394, 0.473773092, -0.4465928078, 0.6894046068, -0.439555645, -0.5969819427, 0.4456342161, -0.3136853874, 0.6979733706, 0.0398589522, -0.4522271752, 0.0428687073, -0.1726699024, -0.3295150101, 0.1995910704, 0.1252076626, -0.5275846124, -0.0341999754, -0.2967568636, 0.1084093824, 0.4522057176, -0.4199334383, 0.5882906318, -0.4543450773, 0.1396775991, 1.0693360567, -0.2698749602, 0.6214354634, -0.3922719657, 0.4943908751, -0.0001131052, 0.3983612061, 0.2382932305, -0.2415440828, -0.4407567382, 0.0355580747, 0.7592226267, 0.5320068002, -0.3432863653, 0.2227476239, -0.1642652899, -0.3889417052, -0.6876289845, 0.3292616308, 0.9122080803, 0.4037898481, 0.2847329974, -0.3435463607, -0.2760068774, -1.2293310165, -0.3170124888, -0.3614948988, 0.174751997, -0.0726449117, 0.4185765088, -0.316054374, 0.6627876163, -0.3845571876, -0.4325914085, -0.1895047873, -0.0701820999, 0.0959537998, 0.8302730322, 0.620059073, -1.2072085142, -0.1406765282, -0.1314749718, -0.8037028313, 0.0962986872, -0.2685695589, -0.3076609671, 0.2340415865, 0.6350982785, -0.7816205025, 0.1776777357, 0.5192359686, -0.3839429319, 0.7663254738, -0.0214701686, -0.1993391216, -1.0931754112, -0.1065360829, 0.2033363283, 0.053069856, -0.7105964422, 0.4462057948, 0.0819704682, 0.0828087926, -0.3196352124, 0.2369439453, -0.3985835612, 0.1395240426, -0.1995939314, -0.0944490954, -0.1569364667, 0.1706404388, -0.0390792638, 0.496522516, 0.8112662435, -0.4411987066, 0.2082627565, 0.1940091699, -0.0073756529, 1.071764946, -0.6324766278, 0.0444257781, -0.1278567612, 0.2745630741, -1.0492782593, -0.6181721687, 0.2441866249, -0.3225637972, 0.7576454282, -0.2829743624, -0.2911434472, -0.0932334065, -0.2298256308, 0.5279718041, 0.0887408927, -0.4074417949, 0.4232636392, 0.3364605308, -0.0982615277, -0.8700156212, -0.653730154, 0.0187652577, -0.5321324468, -0.751542747, 0.5903211236, 0.1809546649, -0.2140086889, -0.1571662128, -0.5423737168, 0.2528375387, 0.2586222291, 0.327377677, 0.5986250639, -0.2331648469, 0.0863192379, -0.1117255092, -0.4496119618, -0.0546589009, -0.1778891683, 0.3213102221, -0.3018706143, -0.6123178601, -0.5856746435, 0.3150708973, 0.6646815538, 0.0336176492, 0.9393678308, 0.5021263957, -0.5145854354, 0.3835857809, -0.6479555368, -0.2691563964, -0.514138937, 0.0832368806, -0.2507966757, -0.837033987, 0.5072168708, 0.0097017819, -0.0250565149, 0.3411448598, 0.1755603999, -0.2157041281, 1.7213170528, 0.9295002222, -0.2690324485, 0.3752394617, -0.1970040351, 0.2766553462, -0.8162108064, -0.3120796382, -0.5274293423, -0.6965811849, -0.6751641035, 0.2317286879, 0.0719973519, 0.5149052739, -0.3465058208, 0.6159902811, -0.5491288304, 0.6676031351, 0.450101167, -0.0424071625, -0.0831144154, -0.1869837642, -0.1654065251, -0.1915520132, -0.581022501, -0.5554734468, 1.0167154074, 0.4261417091, 1.1132377386, 0.4608812928, 0.7793588042, -0.091908507, 0.3028711379, -0.500585258, 0.6714769006, -0.2218710035, -0.7451312542, -0.214691177, -0.3398729861, -0.8445503116, 0.1892728955, -0.3383477926, -0.9453294277, 0.511493504, 0.2763540447, -0.475145936, 0.1308967471, -0.8474787474, 1.0416779518, -0.6106231809, -0.7227700949, 0.0355509669, -1.1038869619, 0.5917442441, 0.0826078281, 0.0563161261, -0.0196238402, 0.1308212131, 0.56204772, -0.4151520431, 0.9817413092, -0.2757873833, -0.3218789697, -0.0867402181, 0.2638323307, 0.5254250765, -0.0295809526, 0.1030374616, 0.0111990198, -0.035217341, -0.621135354, -0.532360971, 0.6866579652, -0.7525557876, -1.0064126253, -0.5007812977, -0.6607977152, -0.3134744763, 0.161047861, 0.3295491934, 0.3023833036, -0.0775591955, 0.1192959473, 0.7578776479, 0.2872774303, 0.0678478256, 0.3381084204, 0.0131724281, -0.1956713945, 1.2145121098, 0.169736132, 0.5503564477, 0.1680294126, 0.2842316926, -0.311639607, -0.6476834416, -0.3478349745, 0.48786515, -0.2374223024, -0.4638397098, 0.1501454711, -0.0269539487, -0.6285768151, -0.5222557783, -0.5451132059, -0.5351356268, -0.2134743333, -0.167119056, -0.3331894875, 0.6225616932, -0.1376980841, 0.5477055907, -0.6086137295, 0.2707757354, 0.3470627964, 0.1606285125, -0.2044530958, -0.5657210946, -0.3199971914, 0.2382304966, -0.6157328486, -0.6130629778, 0.0175113678, -0.053318575, 0.5115922093, 1.0046571493, 0.0220007282, 0.806738615, 0.0684066042, 0.7295252085, 0.5038397908, -0.7679208517, 0.3498991728, -0.4733790755, 0.2213597149, 0.6683402061, 0.5251841545, -0.279671371, -0.6290120482, -0.9906184077, -0.8926955462, 0.7110024691, 0.0328166708, 0.1591710448, 0.2486827075, 0.482952863, 0.0117820874, 0.1270409822, -0.7775361538, -0.2235432267, -0.0513306931, -0.2925177813, 0.0435840376, -0.3066129982, -0.496876508, 0.1293290257, 0.7581176162, -0.1746440679, 0.1757886559, 0.0311628468, -0.0580466427, -0.3601337969, 0.2351587266, 0.8787917495, 0.6406957507, -0.1901857853, 0.347750932, -0.0680138245, -0.358330667, 0.4298839569, 0.206185773, -0.0848301128, -0.5866363645, 0.4968008399, 0.4472736418, 0.2360819578, -0.2057291865, 0.7399610281, 0.0996269062, -0.3364834785, 0.1490865946, 0.2376142591, 0.159819752, 0.4302693903, 0.3003107905, 0.3188356161, -0.2185026258, -0.5703324676, -0.0367769301, 0.7953496575, -0.588898778, -0.5310499072, 0.9239530563, -0.0148642492, -0.2944340408, 0.6346117258, -0.0278981309, -0.7186518312, 0.7037373781, 0.729837954, 0.6150445938, -0.7002658248, 0.1694162786, -0.08302854, 0.3863421977, -0.5588601828, -0.0364365652, 0.1267269254, -0.9566802382, -0.3230879605, -0.3123722374, -0.5365440845, 0.1740924269, -0.8108431101, 0.0728342384, -0.2914172411, -0.3716526926, -0.10596513, -0.1884932965, -0.2370166928, 0.1765544564, 0.2547338307, 0.5321558714, -1.1122756004, 0.5587645769, 0.7036979198, -0.381505549, -0.8684529066, 0.2273898721, 0.2843487561, -0.7402002215, 0.4356740415, 0.3410824239, -0.2052381039, -0.3002823889, -0.9612662196, -0.9390677214, 1.0277358294, 0.8746352196, -0.5274162889, -0.3072868586, 0.2531386316, 0.5438241959, -0.3792204261, -0.1221975163, 0.5924355984, 0.4255821705, -0.1158131361, -0.9279212356, 0.2277577221, 0.0462044403, -0.0389921442, 0.4025913179, -1.175157547, 0.6879248023, -0.3000499904, -0.254676491, 0.2066384405, 0.5483908653, 0.366501689, 0.3795748651, 0.5230895877, 0.8377994299, 0.6281623244, -0.1679442972, 0.8262388706, -0.1923763901, 0.2491206974, 0.9524332881, -0.492187798, 0.4129112661, 0.6562414169, -0.0176818017, 0.5124103427, 0.5929368138, 0.0959181786, 0.418299973, 0.0372141227, -0.016575072, -0.6053540707, -0.4118494391, -0.4857578874, 0.452684015, 0.4272989631, -0.1753231138, -0.003072602, -0.2695757151, -0.1418718547, 0.0386317708, -0.2914746702, 0.5322114825, 0.1787450612, -0.7579532266, 0.4416316152, -0.0328680985, 0.4965483546, -0.69370085, 0.1217321232, -0.2060682029, 0.3290401995, -0.3612599373, -0.5615493059, 0.1237949207, -0.4250771105, -0.075023748, -0.4464036226, 0.930839479, -0.3339149058, -0.2822188139, 0.1614400893, 0.3761302531, -0.0644041821, 0.2503220141, -0.883841455, 0.0299533382, -0.2189349085, -0.2461236417, 0.7295299172, 0.1416272372, -0.3458188176, 0.5772843957, 0.6811670661, -0.0021731192, -0.3939218819, 0.1478369236, 0.777800262, -0.4847235978, -0.4636155367, -1.0370163918, 0.435164243, -0.0153723601, -0.2606439888, 0.7562298775, 0.4389616847, 0.9109249115, 0.2640056312, 0.2991428375, 0.1737781018, 0.1636591405, -0.5544351339, 0.378991276, -0.5823698044, 0.3120619953, -0.4828535914, -1.0708417892, -0.3401291072, 0.5373277068, -0.3706781566, -0.0856977105, 0.4877664149, 1.0235613585, -0.3380484879, -0.021488348, 0.1857205629, 0.0411835052, 0.0031130926, 0.5447745919, 1.0664167404, -0.3861510158, 0.6133466363, -0.1386503577, -0.0768455938, -0.3849928975, -0.7213783264, -0.4393745959, -0.4441141188, -0.4190967977, -0.3607378304, 0.0659410954, 0.5404945612, 0.7553111911, -0.7099099159, -0.3447764516, -0.1794294566, 0.4639023542, -0.5676617026, -0.2088362277, 0.2830979526, 0.0348320939, -0.5878841877, 0.3471621573, 0.0921301544, 0.518199265, -0.4268000722, -0.163735345, -0.2672283351, 0.0729511231, -0.1124435812, 0.457226485, -0.5229242444, -0.4330049157, -0.0444026701, -0.3294061124, -0.2276078761, 0.6922874451, -0.42813012, 0.1679666936, 0.1327013522, 0.5576229692, 0.113876842, 0.5278192759, 0.8202471137, -0.763630271, -0.1187007204, 0.0171125904, 0.4163634479, 0.3460540473, -0.5230416656, 0.5121524334, 0.2940255404, -0.7014076114, -1.2785128355, 0.5672596693, -0.6860177517, -0.2395806611, 0.8082627058, 0.0545623973, -0.108994849, -0.0243504085, -0.1967308521, 0.2095324844, -0.120918408, 0.9545187354, 0.9345841408, -0.4320586324, 0.2299613804, -0.2295672297, 0.2725198567, 1.0167642832, -0.2968444824, 0.1320558935, 0.3513694406, 0.061511714, 0.5631629229, 0.1634305865, 0.0789917186, 0.3989757597, -0.0590335056, -0.336897403, -0.0524096861, -0.5315513611, -0.5501427054, 0.2111493349, 0.1272782385, 0.0054590083 ]
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.2999854088, -0.33488065, 0.4761122167, 0.2925587893, -0.5643543005, -0.2589292526, -0.5191634893, -0.2969220877, 0.0478479229, 0.3468830884, -0.3339496851, -0.4186713398, -0.5902537704, -0.2494220138, -0.1812486649, 0.4336492419, 0.2259036303, -0.1145666391, -0.3285272121, -0.0032524117, -0.6396003366, -0.310765028, -0.4977257252, -0.0042762272, 0.4901737571, 0.5583438873, 0.5350134969, 0.9020028114, 0.5749232769, 0.0392441303, -0.3372769654, 0.2023195773, -0.8900691867, 0.5330871344, 0.2712640464, -0.8135713339, -0.2392415404, -0.0758080781, 0.6776729226, 0.1482686102, -0.0662464723, 0.2555008233, -0.0225693583, 0.8657305241, -1.0335429907, 0.2925059199, -0.75235641, 0.1525458246, -0.0389994755, -0.2897806168, -0.8535989523, 0.0390538014, -0.1484768689, -0.3079586029, 0.086457327, -0.0810146779, 0.8120727539, 0.6141946912, -0.2101006508, 0.1483843029, -0.5969356298, 0.9008889198, -0.568197906, 0.597769022, 0.5458182096, 0.0934443697, 0.1819829941, -0.5040472746, -0.3764461279, 0.2388904393, -0.0190403052, 0.1141487658, 0.0061089764, 0.0500830375, 0.207919836, 0.1886267811, -0.3426330686, 0.2626028359, -0.4013842344, -0.1485936791, 0.415066421, 0.1121638566, -0.0524747893, -0.1238284707, -0.2842564285, -0.4400633574, -1.0697162151, 0.178610757, 0.2468284667, 0.3210445046, 0.0107507547, 0.4493241608, -0.0325919278, 0.4391553104, 0.2482916415, -0.1446579695, -0.0519100092, -0.1987011135, -0.2681179643, 0.0104515282, 0.4653481841, 0.6567854285, 0.3614801466, -0.3417245746, -0.1899270713, 0.1228379235, 0.5437480211, -0.8854353428, -0.2315848619, 0.0661877096, -0.5406674147, -0.4227508903, -0.2258570194, -0.785474658, -0.0072273137, -0.043115899, 0.4041664302, 0.0245089717, 0.0819278061, 0.1935255229, -0.0315973535, 0.5407249331, 0.2258313894, -1.0171639919, 0.4106931984, 0.5346717834, 0.9806890488, -0.2638548613, 0.312099576, -0.5460605621, 0.1088845134, -0.2218491584, 0.5781084299, -0.5050749779, -0.5106868148, 0.1346901208, -0.1312009394, 0.2329296172, -0.5321213007, 0.5556046963, -0.9116117358, -0.42879498, -0.5655728579, -0.4471514821, 0.0253118463, 0.201403752, -0.9561419487, 1.2191518545, 0.290836513, -0.4662002921, 0.0392526612, -0.1639227271, -0.4250911176, -0.2258894444, -0.1244530752, -0.5103598833, 0.3927066922, 0.4289802015, 0.6354215145, -0.474182725, -0.2449072897, -0.1194643825, -0.4890390038, -0.0263648294, -0.3021252751, 0.3770559132, 0.2622228265, -0.223812446, -0.4276704788, -0.2765854597, 0.2155023515, 0.2584999204, -0.5711808205, -0.287977159, -0.0717018098, 0.1812003255, 0.2816180289, 0.136167109, -0.2729391456, 0.5902945995, -0.5339212418, 0.3685279787, 0.7622039914, 0.0273237713, 0.6846945286, -0.2420650125, 0.3240964711, 0.1352526844, 0.2017272115, -0.1089213341, -0.3425937295, -1.0919547081, -0.2275853157, 0.2601613402, 0.4048649669, -0.1114346087, 0.331405431, -0.6829652786, -0.2969713211, -0.9106406569, 0.3105516434, 0.3967293501, 0.18459782, 0.4993923903, -0.3544784188, -0.3840542734, -1.119017601, -0.1697970033, -0.0523551628, 0.1702826023, 0.6867299676, 0.0834788978, 0.0274472479, 0.9613825679, -0.567587316, -0.3309592605, -0.218729198, -0.1866564155, -0.0210953914, 0.4335677028, 0.1909958124, -0.7567000985, -0.6449048519, -0.3726089895, -0.2461920977, -0.0236636084, -0.0593881607, 0.0428601839, 0.2583633363, 0.5460665822, -0.8354784846, 0.4511299729, 0.370401144, 0.084848851, 0.3028275967, -0.0842223465, -0.1708566099, -0.9132525921, 0.0372847766, -0.2512444258, -0.4597309828, -0.5185298324, 0.3160970211, 0.4352354705, 0.2105493844, -0.5893021226, 0.4640249908, -0.5652230978, -0.1370647997, -0.0368332751, 0.0438637771, 0.0346098989, 0.6988931894, -0.0969306529, 0.8979635239, 0.1543261409, -0.6169637442, 0.0265649315, 0.3064070046, -0.5543524027, 0.1882800758, -0.7146478891, 0.5352965593, -0.1703720838, 0.3131942749, -1.1701122522, 0.1673635244, -0.2319412529, -0.3746089339, 0.7744531631, -0.2341348082, -0.8071427941, -0.1482063979, -0.5433217287, 0.6669588089, 1.0462192297, -0.5222600698, 0.1849591583, 0.4005125165, 0.1324412525, -0.5963419676, -0.8736081123, 0.108189106, -0.2102794945, -0.6105883718, 0.5322319269, -0.1597496867, -0.0266666636, -0.0677103102, -0.3214794993, 0.1134898812, 0.0630555227, 0.1557097733, -0.0004963409, -0.1784288883, 0.4026697278, 0.1517132223, -0.108555682, -0.0612558499, -0.3193279505, 0.648265481, 0.1198030785, -0.093147032, -0.3917525113, 0.3783723414, 0.7748637795, -0.0958426148, 0.7593463063, 0.4515945911, -0.193400532, -0.3702680469, -0.8077943921, -0.4929673374, -0.4616823196, 0.3145991564, -0.3482066691, -1.0736424923, 0.4864041805, -0.2137571424, -0.0550621413, 0.3181533515, 0.871242702, 0.0070325253, 0.9899817705, 0.4622366726, -0.4738203585, 0.1801269203, -0.4720135927, 0.4102443159, -1.2702236176, -0.1367709041, -0.3941773772, -0.6614000797, -0.2833828926, -0.8539159298, 0.3720211983, 0.3014242947, -0.0756293833, 0.148662895, -0.654315412, 0.6681523323, 0.1812405884, 0.2175688446, -0.0257245302, 0.1577261388, -0.0943897367, -0.1664013863, -0.755197823, -0.0766803175, 1.140556097, 0.4179854989, 0.8007935286, 0.312510103, 0.4680998325, 0.3594168723, -0.0410424508, -1.0220607519, 0.3889820278, 0.0730082393, -0.3890675008, -0.1690064073, -0.1367222369, -0.7356321216, -0.0040558232, 0.0825891048, -0.7985807657, 0.0845284611, 0.0258816667, -0.3592093289, 0.1264002025, -0.3956046999, 0.5399852395, 0.225454405, -0.3919863105, -0.4002442956, -0.8375054002, 0.2848089933, 0.0067960862, 0.0256195366, 0.1547370702, -0.1784190238, 0.7240529656, -0.2846927345, 0.8686884642, -0.1092825383, -0.0939216539, 0.2540147901, 0.2387506962, 1.1705880165, 0.1947269142, 0.1042394191, -0.149624601, -0.3475660086, -0.4837430418, -0.8415292501, 0.9407497644, -1.0239923, -0.6599217653, 0.1965360343, -0.7050001025, -0.180098325, -0.1953618824, 0.2474825978, 0.2624299526, 0.0863687992, 0.4733754396, 1.1898090839, -0.068439424, 0.4488816559, 0.2594364285, 0.3256919384, -0.1306473613, 0.5104910731, 0.1667268127, 0.597204268, 0.6156338453, 0.0863417685, -0.3378815353, -0.2863067091, -0.1098101661, 0.2075973749, -1.0476796627, -0.4906978011, -0.8568060398, -0.3040643632, -0.5401732922, -0.349116236, -0.7328337431, -0.4716105163, -0.3819671869, 0.0156082753, 0.5661370754, 0.2438088357, 0.0095251212, 0.3437727094, -0.6164817214, 0.0842663944, 0.4739439785, 0.2930103838, 0.3095479012, -0.7503541708, -0.4790087938, -0.1228703558, -0.0906617418, -0.7556037307, 0.4850105047, 0.2435923219, 0.2638122141, 0.4338197112, 0.1990808398, 0.6738711596, -0.549874723, 0.8795009255, -0.0251914319, -0.790038228, 0.3221074343, -0.032497175, 0.4584932625, 0.522238493, -0.0047168303, -0.5002654791, -0.247438699, -0.5889282227, -0.9920283556, 0.5521696806, 0.2296710759, 0.4060419202, -0.1262959838, 0.5920472145, -0.2606268525, -0.0898320079, -0.5461224318, -0.3532575965, 0.0926154852, -0.2793952525, -0.0332825072, -0.6978930235, 0.1101098061, -0.2732902765, 0.3846340775, 0.0817397013, 0.7426425219, 0.2229877561, -0.4088483453, -0.1660244763, 0.1997593939, 0.7540816069, -0.0916662812, -0.3239952326, 0.5023680925, 0.2217896283, -0.5488655567, 0.2388920784, -0.5806860328, -0.07996279, -0.0354226604, 0.0245281793, 0.7388012409, 0.4576380849, -0.5063075423, 0.703720808, -0.00304671, 0.0448850952, -0.0385995582, 0.0090508033, 0.3355844617, 0.2212505192, 0.0823763758, -0.264074713, -0.0390734673, -0.1022147089, 0.1632192731, 0.4032870233, -0.6186867952, -0.274230957, 0.4271603525, 0.05087208, -0.2763730884, 0.8743525743, -0.0966847986, -0.5856525898, 0.5692731142, 0.727632761, 0.789019227, -0.2374285161, -0.312856555, 0.5274273753, 0.5370589495, -0.4430554211, 0.1728269458, -0.3885961175, -0.6035708189, -0.4124828875, -0.5522496104, 0.2037683427, 0.4369907081, -0.8339435458, 0.3517340422, -0.312939167, 0.0193255581, -0.3888446987, 0.0174692962, -0.9979226589, 0.0018420706, 0.0707531422, 0.9908004999, -0.6615025997, 1.1111835241, -0.0423221029, -0.2064256966, -0.8284824491, -0.1295412183, 0.0361723751, -0.9271168709, 0.8928743601, 0.2714831233, 0.1469893456, 0.3171569705, -0.5348699689, -1.1302677393, 1.0682159662, 0.0966591686, -0.7294641137, -0.0607023761, -0.0578135327, 0.2995671332, -0.2863114178, -0.0608693361, 0.5984306931, 0.558206737, -0.1020126119, -0.7375192642, 0.192860961, -0.3141978979, 0.1745635271, 0.4370020926, -0.7463309169, 0.6200648546, -0.2135007083, -0.403072536, 0.0765150487, 0.4588108063, -0.163417533, -0.3735236228, 0.4559449852, 0.9886274338, 0.3641738892, 0.3079085946, 1.0605944395, -0.4678768814, 0.5721487403, 0.8447047472, -0.1019555107, 1.0859339237, 0.8522965908, -0.1191674843, 0.1725593805, 0.4845814109, -0.0997638851, 1.0148751736, 0.3828969896, -0.0978043973, -0.4590962231, -0.1149490625, -0.2151193023, 0.3756775856, 0.5273843408, -0.4734449685, -0.1582305729, -0.2564511001, 0.1774093956, -0.3636957407, -0.0711552277, 0.7162138224, 0.2369755208, -0.6893672943, 0.8512080908, 0.073774077, 0.4144204855, -0.2849078178, 0.1176797375, -0.1745377332, 0.1265543848, 0.1301301271, -0.5107852221, 0.0342842117, -0.1495557874, -0.602283895, -0.1579996347, 0.6236155033, -0.5141099095, -0.1550541818, 0.1321419477, 0.2666723728, 0.1114324629, 0.0218526721, -0.2509011328, 0.3143695891, -0.2414739728, -0.4636400938, 0.5973780751, -0.033641275, 0.0920335352, 0.4242975116, 0.647046864, 0.0838097706, 0.0333601907, -0.0636683255, 1.0804648399, -0.3474232554, -0.5945909619, -0.8678153753, 0.4299780726, 0.0506064594, -0.0073326938, 0.5953779221, 0.4583985806, 0.4616507292, -0.0625558719, 0.6321550608, 0.3925008476, -0.0443649739, -0.6263105869, 0.6317493916, -0.6478270888, 0.325004071, -0.0205330979, -0.9885103703, -0.4817911386, 0.6962572336, 0.1788465679, -0.1210471988, 0.602805078, 0.9828802943, -0.1732293963, -0.5034240484, 0.3938235044, 0.2888396382, 0.3630189002, 0.9099422693, 0.3761632442, -0.5648150444, 0.5089184046, -0.0390834436, 0.0306330323, -0.7303239107, -0.7551968098, -0.9147375226, -0.5349968672, -0.0193804502, -0.4201462865, 0.0933402553, 0.7497723103, 0.9026709795, -0.3386153877, 0.0897660106, -0.088985227, -0.1346016824, -0.176848501, -0.1875682473, 0.71326828, -0.5757718086, -0.4148960114, 0.3645811379, 0.6323487759, -0.1182109118, -0.4582427144, -0.2018453181, -0.0196316596, 0.3757938743, 0.5426540971, 0.0183902867, -1.0452487469, -0.4380282462, 0.406226486, -0.4520847201, 0.1929723471, 0.9118803144, -0.9536949396, 0.7198291421, 0.5845541954, 0.83066535, 0.7147402763, -0.2968975306, 0.4443129301, -1.1541416645, 0.3350009918, 0.2260112762, 0.1362085044, 0.1526762247, -0.654873848, 0.3244604468, 0.1175261289, -0.6070255041, -0.8794003129, 0.2765208483, -1.2546329498, -0.2330130041, 1.6012043953, -0.0351584032, -0.2415173948, 0.0179368537, -0.0729465634, 0.294844538, -0.4628506899, 1.0868569613, 0.7562353015, 0.4602742791, -0.5320334435, -0.5720629096, 0.7345021367, 0.5802302361, -0.3723474741, 0.271543473, 0.0231176522, 0.0192488786, 0.1091578901, 0.3945032954, -0.0884849057, 0.4398611188, -0.0964529142, -0.0767502859, -0.0701013058, -0.3572059274, -0.4117739797, 0.0712134391, 0.104409948, 0.0050920118 ]
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.4828926921, -0.7297818661, 0.8186739683, 0.0598873757, -0.111728102, -0.2240861505, 0.2116674781, -0.949072957, 0.1717515439, 0.5958604217, -0.4951059222, -0.261064738, -0.3230672777, -0.0877820253, -0.4048099816, 0.9361911416, 0.0303479582, -0.1726830751, -0.5158692002, -0.1564662904, -0.2717246711, -0.2196004391, -0.1902066171, -0.6001886725, 0.4658363461, 0.3707493544, 0.6302109361, 1.3043032885, 0.4374537468, 0.299949199, 0.1347546279, 0.3408690989, -0.5501832962, 0.4069505036, -0.2160952538, -0.0385148153, -0.5386246443, -0.0734559968, 0.3031007648, 0.2890033722, 0.2599626482, 0.4100024998, -0.1889622957, 0.0950015262, -1.2081676722, 0.2873157859, -1.0293935537, 0.0976177827, -0.4034825265, -0.3587674201, -0.2749988437, 0.037803676, -0.0635411888, -0.7152434587, 0.2712195516, -0.0325715803, 1.6147581339, 0.0887124017, -0.302421689, 0.219228819, -1.0315653086, 0.4924909174, -0.2606135607, 0.3016917109, 0.3386974633, 0.5544282794, -0.2265332341, -0.5237257481, -0.7794659734, 0.1848908812, -0.2274125069, 0.2601152956, 0.0319887251, 0.2454264164, 0.1709365845, 0.6663751602, -0.3779342473, -0.1082574651, -0.0417827256, -0.1006562784, 0.4662574232, 0.1583643705, 0.1120938212, -0.169868812, -0.4679704905, -0.1425365508, -0.2505228817, -0.3502242267, -0.1406807899, 0.3910291791, 0.0783315748, 0.6598168612, -0.4090168476, 0.8872383833, -0.030947743, -0.3098368645, 0.1383566111, -0.5857109427, -0.4288578331, 0.1603650898, 0.8733490705, 0.5379618406, 0.3868154585, -0.3600318134, 0.246513918, 0.6079959869, 0.0670422465, -0.8649881482, -0.2314679325, 0.1700036377, 0.1315431446, -0.2817344964, 0.1502344012, -0.9011049867, -0.0983817726, -0.2672530413, 0.7015658021, -0.5092781782, -0.1782697439, -0.129137218, -0.3679340184, 0.8416637182, 0.1365306228, -0.8562005758, 0.0559195988, 1.0561472178, 0.777906239, 0.3377203941, -0.3013727367, -0.7380220294, 0.4988646805, -0.2225822508, 1.110257864, -0.652841866, -0.2030843943, -0.1021776497, -0.1693508327, 0.0008412828, -0.4094893336, 0.5196655393, -0.3468978703, -0.1909135431, -0.0259160846, -0.6103638411, 0.0032424107, 0.4609107673, -0.4016509056, 0.9604496956, 0.1595086902, -0.5422673225, 0.229671672, -0.0520658344, -0.363094449, 0.2340240479, -0.2607752085, -0.4816127419, -0.0093552656, 0.1800464243, 0.6143938303, -0.222300753, 0.1727893203, -0.9828004241, -0.295430392, -0.2302499264, 0.0603865795, 0.2430167794, 0.160800308, -0.1821410507, 0.085722886, -1.0280793905, 0.0358088203, 0.221470654, 0.2672918141, -0.6192931533, -0.4402484298, -0.0551626496, 0.5047820807, 0.0522185639, -0.7937571406, 0.2107346654, -0.4764521718, 0.0000763722, 0.5032529831, -0.0744286031, 0.7280860543, -0.0587989055, 0.0152685316, 0.0887645483, 0.133411482, -0.7088946104, -0.1763712168, -0.7440491319, -0.2031027228, 0.4906691611, 0.5050603151, -1.0366051197, 0.4878763855, -0.4756092131, -0.8759004474, -0.8156769276, 0.0330833681, 0.9016845226, 0.7533541322, 0.4608932734, -0.5210595131, -0.4456231594, -0.8730373383, -0.1196267456, 0.0750712305, -0.1678028107, 0.4485659301, 0.1679029316, -0.2124524564, 1.1230633259, -0.7835194468, -0.6899279952, 0.0410038047, -0.0117457956, -0.1437946409, 0.4417192936, 0.6833614111, -0.583496511, -0.6465671659, 0.5668050647, -1.278958559, 0.0630298406, -0.0408248305, -0.6266428828, -0.2578653395, 0.1765540987, -0.6502490044, 0.3520206213, 0.3169374466, -0.3578209877, 0.2049821615, 0.0626246557, 0.1569575667, -1.1705106497, -0.0435211882, 0.3471410871, -0.5333600044, -0.7590190768, 0.3750482798, 0.2295071185, -0.0527035557, -0.6645062566, 0.8043917418, -0.4639763236, -0.2736259997, -0.2090692967, 0.4279369712, 0.168878004, 0.3808434606, -0.042663902, 0.4454826713, 0.8070222735, -0.5793910623, 0.2380364984, 0.4472816586, 0.3148960471, 0.8122243285, -0.1927956492, -0.0685948059, -0.217490539, 0.1756985933, -0.5332101583, -0.4975172579, 0.2097327113, -0.3835972548, 0.470589608, -0.0683429539, -0.2504865527, -0.1273417175, -0.6506651044, 0.1760489792, 0.1244157925, -0.543847084, 0.8975303173, 0.4598965049, 0.2815135121, -0.4561850727, -0.3838273883, 0.0014467697, 0.1867693067, -0.4367974102, 0.6627383828, 0.1665747315, 0.0902363732, 0.2309168279, -0.4995408952, -0.5662907958, 0.0286843851, 0.4928635955, 0.4079388082, -0.2684117258, -0.1267125458, 0.0006344391, -0.4156730771, -0.5795837045, 0.2103482634, 0.5350123644, 0.0868511423, 0.0733895525, -0.5199041367, 0.2639737725, 0.8018406034, -0.1428120136, 0.7938566208, 0.8083001375, -0.4324823618, 0.2900820971, -0.7919467092, -0.122509487, -0.4572436512, 0.2009915859, -0.7345501184, -0.7752958536, 0.275413394, -0.0348448865, 0.1765408814, 0.4690786302, 0.0196648166, 0.0795632601, 0.5189800858, 0.6187634468, -0.1941463649, 0.3229469359, -0.1146012992, 0.1941608489, -0.843090117, -0.4209223688, -0.6261423826, 0.0554558635, -0.5305101275, -0.2449348122, 0.0368268974, 0.3116143644, 0.009174943, 0.9572604895, -0.534483254, 0.748405695, 0.5653030872, 0.0205159709, 0.4015060663, -0.1604644209, 0.3612274826, 0.0124664018, -0.4930687845, -0.1769447923, 0.6609276533, -0.113379389, 0.3143106401, -0.195977062, 0.9874930382, -0.3375621736, 0.2859615088, -0.961745739, 0.585801661, -0.1006624848, -0.4956016839, -0.1388035268, -0.7417889237, -1.1637535095, 0.374863863, -0.8471987844, -0.7954724431, -0.0370141231, 0.3795987964, -0.618549943, 0.2534706891, -0.762740314, 0.9771050215, 0.0698764846, -0.524638474, 0.1513890177, -0.6880244017, 0.7116124034, -0.2785983086, 0.0913596973, -0.4919289351, 0.4576100707, 0.2327151448, -0.2519859672, -0.0159231108, 0.1899992824, 0.3416776955, 0.0125821875, 0.2989591658, 0.101923421, -0.2160809636, -0.090420559, 0.3758839071, 0.1915862411, -0.4205879569, -0.5974819064, 0.9904868603, -0.4356097877, -0.1655038446, -0.5997390151, -0.4699205756, -0.0666180402, 0.2993224263, 0.0445821211, 0.2868213356, -0.1919073313, -0.0684338808, 0.4573708773, 0.0889909565, 0.6604088545, 0.4101887643, -0.2425153255, -0.3509452641, 1.1093071699, 0.1921502054, 0.0772877485, 0.4559454918, 0.0346812904, -0.1495357156, 0.1120196134, -0.6620338559, 0.3062601089, -0.1161855236, -0.7531785965, -0.9733985066, -0.3713112772, -0.5910428166, -0.216512695, -0.6184054017, 0.0276935529, -0.2631457448, 0.0880006701, 0.3526294231, 0.3864473701, -0.0031604455, 0.4532701075, -1.3597944975, 0.7008146048, 0.5680274963, 0.3744913042, 0.0006503794, -0.0932151824, 0.0977171883, -0.2494786531, -0.6400249004, -0.863494575, 0.2124048471, 0.6215151548, 0.2027098984, 0.569221437, 0.1574099362, 1.4120292664, -0.5300614834, 0.576012671, 0.3457895219, -0.8619199991, 0.4471542537, -0.0578586198, 0.203179121, 0.7886142135, 0.3826173842, -0.1055518612, -0.178621769, -0.9157496095, -1.0360566378, 0.7836880088, 0.4202566147, 0.0612166338, 0.0052163936, 0.5590903759, -0.0431816988, 0.0052880011, -0.5333111882, -0.4553826749, 0.3003148139, -0.126734674, 0.0887142941, -0.2977783978, 0.1909741163, -0.2715199888, 0.8394180536, 0.0339207053, 0.1423709691, 0.1398714334, 0.0140153877, -0.2227519602, -0.0447407365, 0.1057098359, 0.2769662142, -0.3075557649, 0.3025676906, 0.1165647507, 0.0278649088, 0.1167511493, 0.3477050662, -0.2879592478, 0.2860396802, 0.2985392213, 0.7479500771, 0.5299004316, -0.3510688245, 0.5949953198, -0.1163964719, -0.1822249442, 0.0779211223, 0.2461060733, 0.0023128504, 0.2735006213, -0.1435684115, 0.0460225493, 0.1708080918, -0.9055725932, 0.5969054699, 0.6141856909, -0.553943336, -0.3539766371, 0.649169147, 0.1695604026, -0.4385148287, 0.422980845, -0.4023534358, -0.2248572707, 0.1396507919, 0.396520704, 0.7432290316, -0.4245885611, 0.2932033837, 0.5070661306, -0.2809740603, -0.2558476925, -0.231256023, -0.3262639642, -0.7493238449, -0.5791988969, -1.1415845156, -0.3177531064, 0.0626607314, -0.7404924035, 0.4064965546, -0.2636274397, 0.0452087969, 0.6719856858, -0.3096341193, -0.5723533034, 0.0500928834, 0.2156102657, 0.5177385211, -0.9547805786, 0.8826867342, 0.2265759408, -0.4711368382, -0.9005402923, -0.2676327229, 0.0241698492, -0.5801778436, -0.0742846802, 0.5578347445, 0.073131755, 0.0825318843, -0.2124698907, -0.7003907561, 0.8217208385, 0.7888869643, -0.6646367311, 0.1116834134, -0.0887035429, 0.3600909412, -0.1016048267, 0.5668789744, 1.0456043482, 0.2702024877, 0.7092707753, -1.1112462282, -0.2286961824, -0.0363922082, -0.0578640364, 0.7577599287, -0.4455262423, 0.5751555562, 0.2836328447, -0.4060554206, 0.006683934, 0.6347483993, 0.1880264282, 0.7615272403, 0.134542644, 0.9218559861, 0.2207131833, -0.1772167832, 0.8660778403, -0.27107054, 0.6634076834, 1.4775674343, -0.5983305573, 0.8388513923, 0.3494904339, 0.0213577766, 0.101230517, 0.528183341, -0.0436086841, 0.3897789121, -0.2832513154, -0.3048374951, -0.5294658542, -0.614872694, -0.2649976611, 0.6178913116, -0.0704368949, -0.2261213511, -0.7802924514, -0.3181522787, 0.1723759323, 0.2530001104, -0.2939828038, 1.2570843697, 0.1293370575, -0.519110024, 0.3498656452, -0.3445349932, 0.6272062659, -0.5178740621, -0.3222751915, 0.0231397171, 0.1878801584, -0.2390255332, -0.7264451981, 0.4307741821, -0.2024691105, -0.1301988661, 0.1505382359, 0.8883150816, -0.7083902359, -0.3090361059, 0.5764607191, 0.4394071996, 0.1525208801, -0.3805679083, -0.3665571511, 0.023281863, -0.1718115211, 0.0989028662, 0.6304089427, 0.4918348491, 0.1438526064, 0.224967286, 0.7446082234, -0.0012926923, -0.1659865677, -0.3998574913, 0.8197520971, -0.6461687684, 0.0948456302, -1.2667450905, 0.3203498721, -0.4742845595, -0.2290717661, 0.5692804456, 0.6574289203, 0.9842099547, -0.1646548212, 0.3863608539, -0.0149965826, -0.0419062264, -0.0190994572, 0.2637488544, -0.4077173173, -0.46551615, -0.5992255211, -1.4922796488, -0.6375991702, 0.5142046809, 0.1853917092, -0.4564044476, 0.3703312874, 0.8384346366, -0.4397099316, -0.2315639555, 0.727651298, -0.0167403314, 0.3712266088, 0.6329348087, 0.1890548319, -0.8840500116, 0.5316464305, -0.5106468201, -0.3673745394, -0.1913288981, -0.8605456352, -0.4911189079, -0.3274672627, -0.4525177181, -0.3649593592, -0.0814726278, 0.9697259665, 0.8067948222, -0.4962964952, 0.0688997805, 0.0086294049, -0.0560877509, -0.1152078435, -0.2121654153, 0.1330108345, -0.0654373318, -0.7801375985, 0.1936278343, 0.8222801685, 0.1440304667, 0.2518679202, 0.1955436319, -0.3630502224, 0.0855882317, 0.9277550578, 0.5493035913, -0.5883841515, -0.3685277402, -0.3396447003, 0.0048308638, 0.1268711984, 0.309492141, -0.6905314326, 0.7692121863, 0.2659152448, 0.8724486828, 0.8962471485, 0.1452462226, 0.3287907541, -0.6796686053, 0.2160547078, -0.005392048, 0.1197972745, 0.287891686, -0.2376411557, 0.7028735876, 0.2664736211, -0.3749784529, -0.8529376388, 0.2604673505, -1.3776830435, -0.0508242771, 1.026466012, -0.2450114489, -0.5935607553, -0.0666708574, -0.2299676538, 0.566606164, -0.2276857793, 0.8261731267, 0.1936264783, -0.1139955893, -0.2192916423, -0.1501493603, 0.3022066057, 0.07399147, -0.8761899471, 0.014924461, 0.3127684295, -0.0028200457, 0.5085775852, 0.5252248645, 0.1185399517, 0.0660471693, 0.0856629983, 0.2806207836, -0.2544161975, -0.4270742834, 0.0571788922, 0.3589106202, -0.2080965489, -0.4175751805 ]
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.2393502593, -0.8938125968, 0.6404997706, 0.1344396472, -0.5048782825, 0.1653131992, -0.0377781838, 0.0559263118, 0.3055133522, -0.0471840724, -0.4650459886, -0.2792056799, -1.1049081087, 0.052298829, -0.8904564381, 0.9050649405, 0.211904183, -0.0776196048, 0.1667806953, 0.1119071916, -0.3523364961, -0.0077406433, -0.7146884203, -0.1672938019, 0.505258441, 0.1806968749, 0.5379131436, 0.5930560231, 0.2238797843, 0.2717526257, -0.3608487248, -0.2622353137, -0.4390771687, 0.166896522, -0.2127606273, -0.0779171139, -0.4317512512, -0.436874032, 0.7396724224, 0.513917625, -0.4078022838, 0.142599538, 0.0554438084, 0.5681486726, -0.5114142895, -0.3402003944, -0.7239189148, 0.096405074, -0.3206297755, 0.097055532, -0.4009543061, -0.1057593599, 0.5460033417, -0.5460639596, 0.181083411, -0.3347475529, 0.5466396809, 0.7584437728, -0.351067543, 0.0447598323, -0.9038484097, 0.6648521423, -0.4900333881, 0.6362581849, -0.1277618855, 0.5246319771, 0.1779789925, -0.758009553, -0.8295114636, 0.1270658076, 0.0508850627, 0.3416315913, -0.5510237217, -0.1974146217, 0.0592672043, 0.2024106681, -0.8241910338, 0.0702941641, 0.1158322766, 0.0725510493, 0.086249724, -0.1021990702, 0.167161122, 0.0947719663, -0.3354945183, 0.0375787318, -0.0986408368, -0.499235332, 0.0996970236, 0.2387093902, -0.3389894366, 0.5153785944, -0.0002866821, 0.9087053537, 0.5064528584, -0.1856952012, 0.2731022835, -0.3279390633, -0.228013739, 0.3337028921, 0.9630131125, -0.0300701745, 0.0691176355, -0.4575400352, 0.095968172, 0.1044023186, 0.3585236073, -0.9522086978, 0.2430691421, 0.2255612165, -0.0345612802, -0.0903708562, -0.3705095947, -1.0799657106, -0.0929135904, -0.1235586777, 0.7046020031, -0.4993223846, -0.4823077321, 0.3816257715, -0.4922283292, 0.1449502409, 0.3350726068, -0.8927120566, 0.0416938774, 0.3409946859, 1.3680715561, -0.3745031059, -0.1135819927, -0.6180716753, 0.4541208744, -0.2297860235, 0.6020416021, -0.5305832028, -0.5013666749, -0.0754808858, -0.1626287252, -0.1604705453, -0.1308545172, 0.5801941752, -0.3303684592, 0.2300228775, 0.2994220257, -0.5618326664, 0.3617946208, 0.0773486495, -0.4173952639, 0.7970665097, 0.0866568536, -0.804731369, 0.1374321282, -0.9248510599, -0.6131048799, 0.1596914828, -0.022837488, -0.6741687655, 0.0396061987, 0.1124621555, 0.5513214469, -0.3493955135, 0.2729479671, -0.1308570653, -0.3657534122, 0.0220259596, -0.8477644324, 0.4539553225, 0.2287523299, -0.6896202564, -0.0839905292, -0.8579645753, -0.3943144679, 0.2267055213, 0.118119441, -0.3039854467, -0.1995730102, 0.1077940315, 0.0328366235, 0.2271450609, -0.8055759072, -0.027053168, -0.3520866632, 0.7747035027, 0.4505518675, -0.2427334934, 0.9246120453, -0.014503736, 0.3652494848, 0.1428332627, 0.1973126084, -0.3801477849, -0.5015301108, -0.5131456256, -0.6912233233, 0.2930815816, 0.4841675162, -0.8542608023, 0.560836494, -0.7389835715, -0.8323500752, -0.5071512461, -0.3830995858, 0.1746549904, 0.9234361649, 0.4547615647, 0.1049695686, -0.2204586565, -0.6179355979, 0.008939418, 0.1445486844, -0.2170592248, -0.1532823145, 0.299265027, -0.3847914338, 1.1717841625, -0.5662421584, -0.3352880478, 0.0075581353, 0.1854861528, -0.0029521063, 0.3392834365, 0.6304160953, -0.770971477, -0.8042799234, 0.1383662075, -0.2207726836, -0.1268710047, 0.1390399486, -0.1304654181, -0.0093065193, 0.3379581869, -0.5926887393, 0.488737613, 0.6677531004, -0.327483356, 0.0552720465, -0.2005491555, 0.1632714272, -1.5073355436, 0.176133126, 0.2222691029, -0.4496203959, -0.8775163293, -0.7300187349, -0.0266113561, -0.2307678312, -0.5537674427, 0.5067976713, -0.0907691494, 0.1021403298, -0.2839792669, 0.3740068972, 0.0261045378, 0.2626633048, 0.3877255917, 0.999869585, 0.8256385326, -0.5641072989, 0.1456207633, 0.3680168688, -0.0102134403, 1.1370669603, -0.8443009853, 0.1522904783, -0.2361078411, 0.3297176957, -1.1706790924, 0.1710848063, 0.1293285191, -0.4898766279, 0.4150691926, -0.3261580169, -0.4722011983, -0.1680628061, -0.218396917, 0.3968484998, 0.8292033076, -0.5611089468, 0.6912221313, 0.3630070984, -0.3508765399, -0.6606960297, -0.8121793866, 0.0591284782, -0.4190243781, -0.3902788162, 0.8557503223, -0.1206772029, 0.2285625637, -0.0796385333, -0.040143244, -0.3448821604, -0.3249545395, 0.0501901209, 0.0563066714, -0.0475313291, 0.1448967606, 0.3902045786, -0.2536783814, -0.4209131002, -0.5940036178, 0.5094195008, 0.3744677901, -0.2309028804, -0.6566705108, 0.3552037179, 0.9404059052, -0.1047510207, 0.7209940553, 0.7341136932, -0.151548937, -0.0216013789, -0.4319894612, 0.1137017608, -0.4231642783, 0.485701561, -0.2064038813, -0.969815135, 0.1329026669, -0.2805697322, 0.0355588309, 0.4408907294, 0.4705647528, -0.0588028021, 0.816704154, 0.738265276, -0.1748673767, 0.9210633039, -0.203620255, 0.1790994704, -0.6915212274, 0.0511525273, -0.4871717691, -0.2384324521, -0.2567976117, -0.7375963926, 0.3866185248, -0.3266381025, -0.3813479245, 0.4462983906, -0.861189723, 0.322119385, 0.1397755593, -0.1883821338, 0.2482474744, 0.1928304583, 0.1356134266, 0.0341723263, -0.6226998568, -0.3689804971, 0.9673016071, 0.3346857727, 0.7076852918, 0.1683920026, 0.6106469631, 0.2632717192, -0.1246317923, -0.7103997469, 0.242840603, -0.486582607, -0.2457478791, -0.7815038562, -0.3735744059, -0.7882882357, 0.0548579842, -0.0195632484, -0.507245481, 0.127454713, -0.0343863927, -0.4329881072, 0.3696812093, -0.7332783341, 0.7132214904, -0.0075674197, -0.3521590233, -0.0619182326, -0.6465461254, -0.1399620622, -0.3789333403, 0.0408163816, 0.1438156664, -0.2258475125, 0.8000738025, -0.3270978928, 0.7655420899, -0.3143516183, -0.3569380641, 0.1982622296, -0.1840717196, 0.2474752218, -0.059729144, 0.0550334416, 0.4511121809, -0.0422249958, -0.1628213078, -0.6280776858, 0.5741552114, -0.647203207, -0.1866176724, -0.2754170895, -0.2162162662, -0.1585405767, 0.3087154329, 0.5302276611, 0.3782289326, -0.4054246247, 0.141727671, 1.0300639868, -0.0340891145, 0.7595850825, 0.6414862871, 0.0306961313, -0.5152121186, 0.7977532744, 0.194171831, 0.3340975344, 0.6977326274, 0.1388813704, -0.6878552437, -0.3833877146, -0.734950304, 0.308778733, -0.1782357395, -0.2839982212, -0.7445719838, -0.2829393148, -0.4580886066, -0.2288181782, -0.7661392689, -0.4274286926, -0.5863561034, -0.0028442505, 0.6081694365, 0.5911775231, 0.0848231837, 0.7953416109, -0.6160500646, 0.5770222545, 0.441396147, 0.544578433, 0.053503111, -1.0512909889, -0.114477925, 0.1287847459, -0.2708343267, -0.7605246305, 0.2346106172, 0.2339344323, 0.2475484908, 0.2983037829, -0.0932115316, 1.0119315386, -1.1283082962, 0.759744823, 0.5923557281, -1.2089724541, 0.6600418091, -0.227813378, 0.5191652179, 0.2719944417, 0.4082399309, -0.4815792143, -0.2569532394, -0.3221201599, -0.6491202116, 0.6936826706, 0.4532854259, 0.2347641438, -0.0245506018, 0.4001302421, 0.1761746556, 0.0232966021, -0.4482651651, -0.4000068903, -0.5013507009, -0.5300992727, -0.2612142563, -0.1590186954, 0.0623130687, -0.1847792566, 0.5299209356, -0.0348526984, 0.2217125893, 0.3325378001, -0.0895978287, -0.0065156515, 0.4342995286, 0.6411724091, 0.2136138529, 0.0518675484, -0.0125641981, 0.1005748957, -0.7014121413, 0.5370681286, 0.3794905245, 0.0168649368, 0.396623373, -0.036296092, 0.784942627, 0.1537832469, -0.4260071218, 0.8438309431, -0.3014630973, -0.3415304124, -0.2146986425, -0.3608659506, 0.1657072008, 0.2211559117, 0.3809207678, -0.1100602448, 0.1503472477, -0.015470136, 0.2667488754, 0.3914830089, -0.3979754448, -0.359536469, 0.8850408792, 0.4242857993, -0.491946876, 0.1634107083, 0.0888354778, -0.0514578596, 0.1170547307, 0.5349306464, 1.120387435, -0.5243256092, 0.5527198315, 0.0579109378, 0.010543379, -0.1882767975, -0.2355125546, -0.4208098948, -0.3713196814, -0.4922533035, -0.7100805044, -0.3210192919, -0.105140999, -0.4208919406, 0.3195490837, -0.1181289852, -0.4645780027, 0.1852050871, -0.5263044238, -0.3845288157, 0.2018709183, 0.1723662913, 0.6795968413, -0.7466700077, 0.9564307928, 0.3385380208, -0.1485207975, -0.3493665159, 0.1632686704, -0.340988338, -0.4693261683, 0.5602453947, 0.0283543169, -0.5268111229, 0.2896389663, -0.0037208563, -0.8682032824, 1.2121143341, 0.7548527718, -1.1887357235, -0.1240210086, 0.4819582701, 0.6375468373, -0.0601253137, 0.421969533, 0.4391051531, 0.1302147955, 0.6619052291, -1.0422497988, -0.3872245848, 0.2022924572, 0.2050940692, 0.3101018965, -0.6172460318, 0.5025803447, 0.2124307305, -0.1803217977, -0.1149990261, 0.4870635271, -0.1908551008, 0.2765969932, 0.6065535545, 0.8552882075, 0.4065643549, -0.074604094, 0.4997451603, -0.1247865781, 0.2157295495, 1.0007624626, -0.4517768621, 0.8280948997, 0.5138301849, -0.1678121835, 0.4514531195, 0.119921647, 0.4085784853, 0.9146360755, -0.1401341259, -0.2849360704, 0.084147349, 0.0095034763, -0.4300240278, 0.3664397299, 0.139572978, -0.1826993972, -0.3233587146, 0.2120245844, -0.1520177424, 0.059610609, -0.1439120322, 0.9747522473, -0.1714171171, -0.3715532124, 0.4417679012, -0.3366954923, 1.150460124, -0.7773565054, -0.0194567218, -0.0797960311, 0.0655387565, -0.0079191411, -0.7868326902, 0.5314117074, 0.4656985402, -0.3351616263, -0.4998818934, 0.3924483359, -0.4975812733, -0.4450646341, 0.3820828497, 0.3516937494, -0.1097854748, -0.1545182467, -0.6095193028, 0.0445000231, -0.2110091895, -0.0763447359, 0.3287250996, 0.8076589704, 0.446531713, 0.418384999, 0.2977527976, -0.0717863068, 0.1236118227, 0.2534469068, 0.658180654, -0.3843891621, -0.5040211082, -1.2088829279, 0.6872537136, -0.1772532612, -0.1313400418, 0.5273341537, 0.681723237, 0.4312871397, 0.00697773, 0.6930190325, 0.1261500865, 0.7642630339, -0.1515681893, 0.8367249966, -0.5781967044, -0.1076189354, -0.6078829169, -0.8708757758, -0.1587013453, 0.5515337586, -0.1443178654, -0.1094305366, 0.4809129536, 0.47640118, -0.0791995898, -0.22862342, 0.609496057, 0.0051063346, 0.3800916672, 0.358497113, 0.5779244304, -0.525775671, 0.8055647016, -0.0467178822, -0.457690686, 0.0827339366, -0.8613736033, -0.7282442451, -0.8351935744, -0.5940926671, 0.1527085602, 0.0737527385, 0.1998551786, 0.8083159924, -0.2790225744, -0.0071623842, -0.3367144763, -0.1038808301, 0.060694918, -0.1941599846, 0.2457081228, -0.1565194875, -1.0266481638, 0.2527990937, 0.7463416457, 0.5068231821, -0.106230773, 0.0604301319, -0.1892459691, 0.2562162578, 0.7375336885, -0.0071386602, -0.5239124298, -0.1005224735, 0.0138623416, -0.0128472149, 0.0745173246, 0.4651934505, -0.7737037539, 0.5010660887, 0.1692347527, 0.7607519627, 0.6834014058, -0.2184913754, 0.4053191841, -0.7612691522, 0.3887750208, 0.2645469308, 0.1978878975, 0.2798900902, -0.300947696, 0.2576551437, 0.0103721498, -0.5485064387, -0.7331869006, 0.0884973854, -1.1116276979, -0.160210073, 1.0028260946, -0.0063663661, -0.1165563688, 0.0869720355, -0.3493880332, 0.6146443486, -0.451539278, 0.6096871495, 0.3928709626, 0.1290768236, -0.1199868917, -0.0532072224, 0.3308391273, 0.3321288526, -0.6430289745, 0.1424705833, 0.2736567557, 0.4576936066, 0.3195642829, 0.7384624481, -0.1651410162, -0.0127260499, 0.0084716519, -0.2521867156, 0.261361599, -0.2077302784, -0.5755265951, 0.0510773547, -0.3767821193, -0.6236053109 ]
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.3777153194, -0.8025490642, 0.6513960361, 0.3224267066, -0.0599937811, 0.0970916301, -0.405113101, -0.6957304478, 0.405403614, 0.7197762728, -0.0391803011, -0.5043756366, -0.2625706792, 0.2124225199, -0.4784934223, 0.6262708306, -0.0036255247, 0.184269771, -0.3335846961, -0.3197463751, -0.1421707869, -0.5023348927, -0.6676594615, -0.0912187472, 0.3742988408, 0.3012257516, 0.6392743587, 0.6236605644, 0.8988297582, 0.270273149, -0.1059410125, 0.0186859332, -0.5236724615, 0.3804460466, -0.6156069636, -0.3855039477, -0.6784211397, -0.1086772233, 0.8501878381, 0.5272585154, -0.3785382807, 0.5324287415, 0.107807979, 0.6151931286, -0.8467043042, -0.0500249192, -0.7551733851, -0.037922401, -0.3715966046, 0.0030264696, -0.5456145406, -0.622753799, -0.0991159007, -0.3130660951, 0.0709977373, 0.3113209009, 0.5906774998, 0.1333343983, 0.0223553982, -0.5727829337, -0.867434144, 0.991527915, -0.7916404605, 0.5683076382, 0.1695034057, 0.2782146931, -0.0843025297, -0.9268473387, -0.1504762918, -0.2347700596, -0.0556279495, 0.0216391664, -0.3839273155, -0.1027852446, 0.0864748955, 0.6600310802, -0.5775220394, 0.617960453, -0.299908042, 0.2849295437, 0.334628284, 0.3414870799, 0.136992082, -0.0114304489, -0.2868172228, 0.1062146276, -0.6686796546, -0.3150126636, 0.2171730101, 0.5203787684, 0.2355575114, 1.076665163, -0.0491868556, 0.5662471652, -0.1656626612, -0.107763283, 0.2887411714, -0.0927193388, -0.6738946438, -0.0957256332, 0.6848396659, 0.0118693952, 0.0534940995, -0.5157242417, -0.4133508503, -0.191599831, 0.4284747243, -0.5501951575, 0.3356798589, 0.3637722731, -0.6199426651, -0.2529310584, 0.1794426888, -0.7777577043, -0.4586998224, -0.2111734599, 0.29202649, -0.2147943079, -0.3215388954, -0.0728111044, -0.3672929108, 0.2695816755, 0.1850988865, -0.3487267494, 0.4640538394, 0.8731654882, 1.1143044233, -0.2377624512, 0.0433820896, -0.6643486023, 0.4666749835, -0.4270856977, 0.555891037, -0.5066819191, -0.328561008, 0.1913288832, -0.1783791184, 0.2074270695, -0.9663463831, 0.7810532451, -0.8671167493, -0.0503485836, 0.052634161, -0.7152042389, 0.1049646437, 0.1292084754, -1.0510425568, 0.9199782014, 0.111111477, -0.7056800723, 0.2216705382, -0.8511524796, -0.2163447738, 0.363569051, -0.1290508658, -0.2979398668, 0.3896655142, -0.0876544639, 0.4787842929, -0.534463644, -0.1652914435, -0.4336746037, -0.1682719439, 0.0203475002, 0.1379819661, 0.7936986685, 0.4752948284, -0.1055481657, -0.0814543813, -0.7823211551, 0.2655124664, 0.3398682773, -0.4878397882, -0.8410258293, 0.12345355, -0.0369455218, -0.2236064672, 0.4446205497, -0.5547601581, 0.053548798, -0.2936324775, -0.1474557519, 0.6194776893, -0.1678403914, 0.5664186478, -0.1495451927, 0.4974034429, -0.1484627575, -0.1054456532, -0.0769654289, -0.3714884222, -0.5683427453, -0.5549238324, 0.3102198541, 0.5683760047, -0.4578659832, 0.2457757145, -0.2338196784, -0.608079493, -0.4721913934, 0.1067411751, 0.2986831665, 0.3090307713, 0.3643203378, -0.3677526712, -0.6548935771, -0.9786219597, -0.5532489419, 0.1512654275, -0.3658269346, 0.4349958003, 0.3209325373, -0.2174349427, 1.0666987896, -0.5003159642, -0.2364310622, -0.2821608782, 0.1580814272, 0.3304985464, 0.1510605961, 0.5145143867, -0.5016875863, -0.5555474162, 0.1995761544, -0.7025330067, -0.2331968248, 0.4804346561, 0.1747011244, 0.592438519, 0.4096371233, -0.3819532096, 0.4306662083, 0.6676191688, -0.2409541309, 0.7517077923, -0.2838998735, 0.0779779181, -0.9681551456, 0.3836597502, 0.0956015214, -0.4029483199, -0.5831259489, 0.2815300226, 0.1603639722, -0.0540037826, -0.485070169, 0.5221081376, -0.7414292693, -0.6892706752, -0.157665208, 0.5221045613, -0.1613081843, -0.0469824895, -0.1073927879, 0.9408168793, 0.1706329286, -0.7460163832, 0.2306018472, 0.1547000855, -0.6205865741, 0.7674567103, -0.662766695, 0.0960554481, -0.1429847628, 0.0044018701, -0.4906771183, -0.1510532796, -0.0271195415, -0.2705800235, 0.2430902719, -0.0578151308, -0.6157509089, -0.1407282948, -0.2104127556, -0.1428836733, 0.6413139105, -0.5453870296, 0.472360462, 0.4795162976, -0.2924252748, -0.5867675543, -0.8059202433, 0.2005848289, -0.2363887131, -0.7127327919, 0.3092442751, 0.1597850174, -0.7724466324, 0.3581255376, 0.006835612, -0.148822546, 0.1072028801, -0.130369857, 0.0823458284, -0.5038753748, -0.0316868424, -0.2759074569, 0.298401624, -0.069097124, -0.2310468704, 0.3795933723, -0.2007633895, -0.4489409029, 0.0772099495, 0.2932921648, 0.4527259171, -0.4309850037, 1.2090890408, 0.403765589, -0.3247851729, -0.5042620897, -0.6035853624, 0.2021313012, -0.4576645195, 0.3074149787, -0.1296791583, -0.8784815073, 0.3558439314, -0.360868603, 0.2234882712, 0.4657335281, 0.5761358142, -0.1700638831, 0.6731894612, 0.7761576176, -0.0687198415, 0.4415400028, -0.1481156796, 0.159174636, -0.9207436442, -0.1340233535, -0.9820162654, -0.2801376581, -0.6170043945, -0.6500224471, 0.269190371, 0.3010839522, -0.3888951838, 0.0839230642, -0.2156202793, 0.5012012124, 0.3838265836, -0.2124331146, 0.593742013, 0.1187493354, -0.1860071868, 0.1313842088, -0.4398868084, -0.8568361998, 0.9572387934, 0.5052061081, 0.9246126413, 0.4479667842, 0.5595461726, 0.3469493389, 0.378085047, -0.5773938298, 0.5034615397, -0.5916518569, -0.5753415823, -0.4662279189, -0.5428230166, -0.9897233248, 0.1257539988, -0.0456092693, -0.9242901206, -0.026208885, -0.1861548275, 0.2179639041, 0.7092937827, -0.4931088984, 0.4813252687, -0.2759691477, -0.3745844364, -0.2517926693, -0.0887742862, 0.3327830732, -0.2886280119, 0.2999795377, 0.1060888395, -0.4897284806, 0.6700391173, -0.1982939988, 0.468126595, -0.2258649766, -0.1090105921, 0.2204921544, 0.0940760598, 0.6482611299, -0.3384738266, -0.3533371091, 0.3598379791, -0.4265445769, -0.1311515719, -0.4620100558, 0.8316408992, -0.3819634914, -0.4716766179, -0.2302898765, -0.2336587608, -0.3526836932, 0.3826536834, -0.1393932253, 0.2428176701, -0.5459184051, 0.7086126804, 0.8305158019, -0.3798294365, 0.4280407727, 0.7395426035, -0.5836589932, -0.4808928072, 0.6524883509, 0.1232725754, 0.3102118075, 0.2853019536, 0.0926155671, -0.2299175411, -0.5595251918, -0.3254364729, 0.3514600694, -0.5634689927, -0.2016781718, -0.4459275007, -0.0224627387, -0.3104030192, -0.2137258947, -0.4931459725, -0.5521317124, -0.3007234633, 0.1165404171, 0.2326493263, 1.2325624228, 0.0060824612, -0.0127646551, -0.8444567919, 0.2683392465, -0.221337676, 1.0466871262, 0.1029965505, -0.139674589, -0.6346735954, -0.0649213195, -0.2803591192, -0.9982397556, 0.3500267863, -0.1322189718, 0.8472800851, 0.1003853902, -0.0825128928, 0.4380954802, -0.6389582753, 0.968763411, 0.0869059488, -0.7820351124, 0.3123341799, -0.3575311303, 0.0577533245, 0.2403625101, 0.6929064989, -0.2574042082, -0.5112000704, -0.4007743597, -1.0614032745, 0.8216531873, 0.1248341575, -0.2742250562, 0.1411049366, 0.1165793091, -0.0898854584, 0.2102281749, -0.2932586372, -0.450978905, 0.3070416749, -0.149282217, -0.1183453649, -0.305513531, 0.0747242793, 0.3085752726, 0.7721726298, 0.1712213606, 0.2737715542, 0.0519999713, -0.1779353321, -0.176145643, 0.3939290345, 0.3152587712, 0.7868180871, -0.2805249989, -0.2604510784, 0.2229139805, -0.4923546314, -0.0254145134, -0.2507362664, -0.0931896791, 0.3317856193, -0.0928174555, 0.5219093561, 0.1302586049, -0.692617774, 0.2314064503, 0.0533256121, 0.0785702541, -0.3184179664, -0.1376952678, 0.3661141098, 0.4864464104, 0.4396164119, -0.421621412, 0.1758650839, -0.4078235924, 0.0305761136, 0.7096205354, 0.1108624339, 0.0869551897, 0.5464918613, -0.0018904143, -0.6554434299, 0.4941280782, 0.1839853376, -0.056845881, 0.4100916684, 0.6974726319, 1.2034363747, -0.3718081713, -0.1061001569, 0.3088635206, 0.4186780751, -0.0556263067, 0.1965330541, 0.2541790009, -0.3802111745, -0.5461447835, -0.8392521739, -0.876126349, 0.2790972888, -0.8242458701, 0.376660794, -0.2964969575, -0.3091373444, -0.1946332753, -0.2031043023, -0.6821160316, -0.0294982959, -0.0940484926, 1.3973113298, -0.307294637, 0.4825748801, 0.9551811218, -0.4868342876, -0.5991322398, 0.0251860823, -0.3577915132, -0.4802050591, 0.7604256868, -0.3197877109, -0.2311598063, -0.227832526, -0.3165867925, -0.9999381304, 1.1562650204, 0.3382787108, -0.5061690807, -0.1252480745, 0.3601851463, 0.5832098722, -0.2017893344, 0.3080838621, 0.4205575883, 0.5161101818, -0.2008071393, -1.2075431347, -0.1896393895, 0.1713223606, 0.0815536305, 0.4152927697, -0.5225695968, 0.7167403698, 0.1587921083, -0.2765261531, 0.041302409, 0.5903918743, 0.1945925951, 0.3885138929, 0.2571875453, 0.8133954406, 0.6895102262, 0.2022458762, 1.0602720976, -0.2590083778, 0.4182062745, 1.2261337042, -0.4156794548, 1.3543883562, 0.401984781, -0.2690845132, 0.6279685497, -0.1812250912, 0.1077781618, 0.2706301212, 0.1942195594, -0.2067030668, 0.3909022212, 0.020403672, -0.2507757246, 0.3124468625, 0.4305737019, -0.6533645988, -0.3901564479, -0.2353594005, 0.0294686891, 0.0425517783, -0.4918810129, 0.9483367801, 0.1675709635, -0.4507375956, 0.3099398613, 0.3511829376, 0.6751331091, -0.7017170787, 0.157288298, -0.1285928041, 0.2767961025, -0.4095050991, -0.9141395688, 0.7520697713, 0.6018198133, -0.1843779981, -0.3363172412, 0.843821466, -0.0885801762, -0.0497187972, 0.3881557882, 0.6765118837, 0.2802565694, 0.0691387802, -0.3810667098, 0.2665657997, -0.3375853896, -0.595731616, 0.5123397112, 0.4317047298, 0.0840616301, 0.5291634798, 0.447748512, 0.4058155119, 0.1692385972, -0.1478366256, 0.6910141706, -0.6520967484, -0.2883366942, -0.6300906539, 0.5316896439, -0.1880927682, 0.2835793793, 1.0510823727, 0.8249821067, 0.884745121, -0.22963579, 0.8029321432, -0.1798903793, 1.0118159056, -0.4249156713, 0.7850738764, -0.6670203805, 0.3699333966, -0.4122668803, -1.0609494448, -0.1264442354, 0.3237484992, -0.2631178796, -0.0291889887, 0.6284483075, 0.7457059622, -0.1328199655, 0.000468239, 0.3917461932, 0.2771327496, 0.2589380741, -0.1293772012, 0.718087554, 0.0267055333, 0.3977445364, -0.0293761082, -0.2263840288, -0.2985280454, -1.1708375216, -0.3658305109, -0.4899727106, 0.0125674699, -0.3216408193, 0.0135405529, 0.6547345519, 0.1347926408, -0.6214522719, -0.45873788, 0.1085239202, 0.0654869154, 0.05350288, -0.2926670015, 0.0813946202, -0.6290569305, -0.7808789611, 0.5452615023, 0.3093767464, -0.2289260775, -0.5682829022, -0.1253941357, -0.1556016207, 0.3328139782, 0.7307227254, 0.1643311679, -0.5753757358, 0.0659322813, 0.2102903724, -0.2496377528, -0.0748320222, 0.8798282743, -0.7376496792, 0.1499772817, 0.6263199449, 0.8118060827, 0.2676938772, 0.0960138887, 0.3678582907, -0.6827045083, -0.2020599544, 0.4234479964, 0.3910981417, 0.206082806, -0.2165057808, 0.7561055422, -0.141549319, -0.8493516445, -1.0049341917, 0.07060536, -0.6303150058, -0.3759443164, 1.2646160126, -0.1716908067, -0.2315312177, -0.0210008249, 0.0082678972, 0.0829614028, -0.2158539444, 0.2021245807, 0.4748454094, -0.1750942022, 0.2222791016, -0.5737128258, 0.1649829, -0.0655604601, -0.8469609022, 0.0042085373, 0.6159812212, 0.3164582551, 0.2527304292, 0.5603803992, -0.3239457905, -0.0450252146, -0.1329344511, 0.1252267808, -0.1096161678, -0.1677485257, -0.4710509181, 0.371747613, 0.3565797806, -0.0271649547 ]
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.1641031206, -1.3201146126, 0.4464049041, 0.2036241293, -0.2873100936, 0.7271360159, 0.0213905219, -0.6370175481, 0.4912280738, 0.0593529008, -0.5084827542, -0.3524248004, -0.8893897533, -0.1987059712, -0.6184718013, 0.7227891088, -0.0895106345, -0.0425983779, -0.0880464837, -0.1958255172, -0.2535759211, -0.2203359455, -0.7447094321, -0.2998446524, 0.8063877821, 0.1264769435, 1.1203272343, 0.841435194, 0.6154767871, 0.423769474, 0.107552208, 0.3184131086, -0.8269814849, 0.1142312288, -0.6935327053, 0.1356107742, -0.214470759, 0.2834819257, 0.3966664672, 0.9936752915, -0.2672773004, 0.3084262908, 0.2743692398, 0.1837873012, -0.7551785707, 0.2693126202, -0.7544196844, -0.1560980529, -0.3151854873, -0.376409471, -0.3169022799, -0.4189954996, -0.0126804803, -0.6875701547, 0.2565762699, 0.0105479881, 1.1065833569, 0.1176071689, -0.341612041, -0.448669225, -0.761074245, 0.6879416108, -0.2557581663, 0.2963718176, 0.4492202699, 0.3480882347, -0.355337441, -1.5065295696, -0.4189240932, 0.2303560376, -0.1183901727, 0.2047368437, -0.2699078619, -0.0232209526, -0.0821110085, 0.1262011081, -0.2295057774, 0.3132997453, -0.5133853555, -0.6945540905, 0.6593755484, 0.1601915807, 0.4490127563, -0.2997585535, -0.3544304967, -0.0024579188, -0.3227775991, -0.1561508775, 0.7039845586, 0.7487385273, 0.117624335, 0.3956589997, 0.0271744933, 0.628882587, 0.0332840309, -0.3425842524, 0.2729363441, 0.0136593292, -0.0332792066, 0.2247890383, 0.7762107253, 0.4316130877, -0.094556801, -0.3520000577, -0.2354699224, 0.3295443654, 0.5779802799, -0.3343482912, -0.4222297072, 0.2097118795, -0.6430792809, -0.4565024078, 0.3506017923, -0.7912767529, -0.6359803081, -0.0951049402, 0.6917816997, -0.3029562533, -0.4751380086, -0.3197026253, -0.8147928715, -0.509275794, 0.259377718, -0.2027359307, 0.2551265955, 0.5935407877, 1.0743538141, 0.0371421166, -0.5239005685, -0.4931561053, -0.0776036605, -0.3342039287, 0.64743644, -0.5912280083, -0.0248773731, 0.5462667346, 0.3702991009, 0.0593613833, -0.1688945144, 0.5555599928, -0.9564929008, -0.1202324033, -0.086789012, -0.5436493754, -0.3719629645, 0.0837482139, -0.9887858629, 0.7213493586, 0.3631080389, -0.9447521567, 0.2700401843, -0.2966744304, -0.7393148541, 0.4132356346, 0.0523983426, -0.2470718473, 0.131366685, -0.6295412183, 0.5003826618, 0.0342968926, 0.0184226185, -0.8624894023, -0.5990662575, 0.209151119, -0.6289783716, 0.9933784008, 0.3424310386, -0.4917337298, -0.3634180427, -0.6878836155, 0.1024708301, 0.5569363832, -0.3132393956, -0.6751252413, 0.2474128008, 0.1235397235, 0.1232329607, 0.3509694934, -0.4280988872, -0.0862997621, 0.1839858294, 0.7227558494, 0.9872247577, 0.2303594947, 0.0313440338, -0.3294791579, 0.2500846684, 0.0038508009, -0.0861818194, 0.3354786038, -0.4874788225, -0.4180721343, -0.095959574, 0.3845982552, 0.3613309264, -0.9086762667, -0.0509741604, -0.611299932, -0.7135161161, -0.3758204877, 0.0170266535, 0.2034865618, 0.5920744538, 0.5332484245, -0.478815794, -0.2819183171, -0.6438959837, -0.3225350678, -0.2096233219, 0.2088901103, 0.4665776193, 0.2336588055, -0.4044881165, 0.6213448644, -0.3370306492, -0.285056591, -0.0725365877, 0.5487781167, 0.0669764876, -0.0628491417, 0.3243964314, -1.0377552509, -0.534717977, -0.3553769588, -0.7919527292, 0.1305229217, 0.0733695179, 0.1325035095, -0.0594542623, 0.2887153625, -0.1833108366, 0.2957834005, 0.5032162666, -0.239207387, 0.4285285771, -0.1063000932, 0.0983807445, -0.708224237, -0.2590081692, 0.3277830184, -0.2319350392, -0.4907066524, 0.1360678077, -0.018400332, 0.1306461543, -0.3487323225, 0.2496516556, -0.5633190274, 0.0008802853, -0.3733979166, 0.6748799682, 0.0057199411, 0.0776310191, -0.1957772225, 0.4657119513, 0.6646095514, -0.693667233, 0.614444077, 0.1940151155, -0.0972925648, 0.5483742356, -0.5125066638, 0.1616805494, -0.1809400916, 0.2534090579, -1.1324117184, -0.5050994754, 0.2223539799, -0.384649992, 0.4304294288, -0.4361768663, -0.4950453639, -0.6867725253, -0.2420305014, 0.0304234065, 0.3345162272, -0.4937767684, 0.5680269003, 0.8770682216, -0.008748645, -0.8536621928, -0.5650346875, 0.2119397223, -0.0946270004, -0.5626180172, 0.4556409717, 0.224941954, -0.4928429723, 0.2987007797, -0.1342232525, -0.4570013285, 0.3947958052, 0.5809025168, 0.1304547489, 0.0420804285, 0.238878265, 0.0448463932, 0.219179973, 0.0949628428, -0.3550044894, 0.625282526, -0.0013957651, -0.2757692933, -0.4168341756, 0.137594074, 0.5953021049, 0.1684700698, 0.7887291312, 0.7715120912, -0.5282164812, -0.2599896491, -0.4141641259, -0.2247856259, -0.5574108362, 0.2072813511, -0.1112698689, -0.6218257546, 0.4897067845, -0.3058416247, -0.0471342094, 0.7190287113, 0.2165849656, -0.1795237064, 1.0573667288, 0.6707856059, -0.3108697832, 0.1417220384, -0.1546022147, 0.3046849966, -0.2997336686, 0.1017282531, -0.4022296965, -0.521671474, -1.0336393118, 0.0567997284, -0.0533019863, 0.1504282355, -0.2615263164, 0.4650530517, -0.656644702, 0.0595821217, 0.5699903369, 0.4131806493, 0.2866207063, 0.4221843779, -0.3940447569, 0.1073211953, -0.8778262138, -0.682880342, 0.8242276907, 0.4755995274, 0.6958581805, 0.1563044488, 0.4085405469, 0.8551835418, 0.546841085, -0.6937929392, 0.3573782444, -0.3193604946, -0.8018396497, -0.4173494875, -0.4674789608, -0.9492818713, -0.2888864577, -0.2763997018, -0.7533780336, 0.1323025823, 0.1319748759, -0.3083941936, 0.5577473044, -0.4194077849, 0.5497846007, -0.251816839, -0.9438080788, -0.1539025009, -0.7759751678, 0.0844964758, -0.0363051444, 0.6892390847, -0.027571436, 0.1866025031, 0.727039516, -0.4065453708, 1.0372972488, -0.1370783299, 0.1720442921, 0.7375121713, 0.159426406, 0.6961293817, -0.0442757159, 0.0577381626, 0.6013187766, -0.2017177492, -0.4184879959, -0.1381747872, 0.8645874858, -0.9109618664, -0.1265123039, -0.5385713577, -0.0782502294, -0.1805365384, 0.628847599, 0.4551910162, 0.5836504698, -0.1110831127, 0.0152517706, 0.4438409209, 0.1548815221, 0.578058362, 0.2349470407, 0.1774403602, -0.2725582719, 1.2561146021, 0.458286792, 0.1501625478, -0.1303950399, 0.0153398141, -0.251922965, -0.5894316435, -0.4358550608, 0.2817836106, -0.9713375568, -0.272305429, -0.7564992905, -0.4847648144, -0.3510924876, -0.0616882145, -0.400180608, -0.3493041396, -0.3471778631, -0.3151169419, 0.1927585602, 0.9477235079, -0.3032110035, 0.288056761, -0.8300547004, 0.1479118466, 0.2253611684, 0.6048571467, 0.0156621505, -0.3963600099, -0.1075299755, 0.3412013054, -0.2471984327, -1.0411285162, 0.0484924465, -0.0180677287, 0.7142296433, 0.6944491863, 0.134366408, 0.5901756287, -0.5120208263, 0.6730127335, 0.2597976327, -0.5922986865, -0.0241380297, -0.4961424172, -0.4851002693, 0.6403079033, 1.1289926767, -0.5075888038, -0.327205956, -0.8458154202, -1.1447066069, 0.2787075341, -0.0497202165, 0.3716359138, -0.2654747069, 0.434145093, -0.1457382143, 0.4405885339, -0.5782630444, -0.6220521331, -0.6937943101, -0.1142399907, 0.1292350739, -0.4303434491, -0.2901057303, 0.2739755213, 0.7467936277, -0.0939270556, 0.2324976623, -0.0200963877, -0.2946096659, -0.3878669143, -0.2182595879, 0.114068225, 0.9980184436, -0.1651484221, 0.5449315906, -0.1707589477, -0.7064703107, 0.0681059733, 0.3232347369, -0.0383631252, 0.2441621125, 0.4491359293, 0.3555028439, 0.1192169785, -0.3687437773, 0.4015147686, -0.0222427957, -0.1036465093, -0.5736258626, -0.0855709687, 0.1167298108, 0.0637708008, 0.6185284853, -0.2610741854, 0.3484618068, -0.8127309084, 0.4467451572, 0.489475131, -0.9800472856, -0.1500477642, 0.5656624436, 0.0764363408, -0.5660479069, 0.8646397591, -0.4568501115, -0.6888120174, 0.3319606483, 0.3877012432, 0.6756051183, -0.1439714581, 0.4976273179, 0.4334768951, 0.2646842897, -0.2862532139, -0.0016406806, 0.5161190629, -0.8991917968, 0.0316490345, -0.6718197465, -0.2331247777, 0.2667887509, -0.489692688, 0.1815749258, -0.6595740914, -0.4748672247, 0.2860444784, -0.0011520606, -0.4228719473, 0.4301588833, -0.0731840953, 0.5163066387, -0.9870478511, 0.1790572852, 0.8446855545, -0.7166596651, -1.00960958, -0.0572099201, 0.3777079284, -0.6009145975, 0.4058072269, 0.1034981757, -0.3925866783, 0.1848377138, -0.6920987964, -0.7371075749, 1.1623075008, -0.4045102596, -0.4065665007, 0.0690196976, -0.0460596122, 0.4339977205, -0.1964092255, 0.2332529426, 0.0783193335, 0.5723938942, 0.1392830312, -0.7833611369, 0.2526198924, -0.104479447, -0.327013582, 0.0732557252, -0.7365834713, 0.7838790417, 0.1344712079, -0.5578003526, -0.2227436304, 0.5260014534, -0.1206963435, 0.5921552181, 0.7393583059, 0.4845403433, 0.8654331565, -0.1676325053, 0.6704902053, -0.3767414987, 0.6379557848, 1.0227421522, -0.1003405079, 0.6663607359, 0.1428343654, -0.0410220884, 0.8729557395, 0.7707213759, -0.1798710078, 0.4429009855, 0.1479535699, -0.0612169206, -0.2317509502, -0.1976023763, -0.1317066103, 0.5812612176, 0.4380172491, -0.515331924, -0.44451648, -0.2601129711, 0.1617320329, 0.0857462958, -0.3915077448, 0.4733169377, 0.0522168912, -0.2717696428, 0.3609932959, 0.2495792359, 0.3828362525, -0.422598511, -0.0879431441, 0.0576345585, 0.2727080584, -0.3198651075, -0.538336277, 0.1561502218, -0.5018765926, 0.1141314954, -0.0676952153, 1.2344536781, -0.0120314695, -0.5118504167, 0.4646545649, 0.6280800104, 0.0535696894, -0.011537686, -0.7659285665, -0.0600422807, -0.3529557884, -0.1781726629, 0.2947444618, 0.3863478005, 0.0559475049, 0.7361498475, 0.6630619764, -0.1081236228, -0.005837061, -0.0302152, 0.7896056771, -0.4192958772, -0.2808222771, -0.6389248371, 0.4072857201, -0.6583403349, 0.0259696469, 1.1496146917, 0.3822704852, 0.6920208931, 0.4692023098, 1.0722373724, -0.284717679, 0.620565176, -0.0029016251, 1.1187438965, -0.7428020835, 0.0097738029, -0.5896812677, -0.6918532252, -0.0624485239, 0.5412891507, 0.1090547293, 0.2227930427, 0.7597898245, 0.3630419075, -0.3802906573, -0.0709357709, -0.0428760014, 0.3451003432, 0.0140287625, -0.1442022175, 0.751380682, -0.3525574803, 0.5141570568, -0.5163750052, -0.397562623, -0.5551765561, -0.8978149891, -0.6225155592, -0.4910286367, -0.4894988537, -1.2247256041, 0.1448973566, 0.5387226343, 0.3705205619, -0.4650573432, -0.0035633873, -0.035056863, 0.563144207, -0.32431373, -0.3048501909, 0.3963208795, -0.2488210648, -0.4739493132, 0.1700342447, 0.3776126802, 0.027840903, -0.4620830119, 0.28730762, -0.355573982, 0.2598918974, 0.2945728302, 0.225778684, -0.2307171226, -0.5801770687, 0.1390284598, -0.2544195354, -0.1654602736, 0.4666356444, -0.4248047769, 0.2615722716, 0.4843521714, 0.4170557559, 0.1255913377, 0.2451724857, 0.1269354373, -0.2957425117, -0.1400554627, 0.2073804885, 0.4594605565, 0.382817924, -0.3676792383, 0.5420911312, 0.7567639351, -0.4001586735, -0.7820051908, 0.275085479, -0.689817071, -0.6340279579, 1.1722884178, -0.3252809644, -0.2524858415, -0.6844314337, 0.5447255373, 0.3995747864, -0.1477094293, 1.1960319281, 0.7741969824, 0.3660145104, 0.2852175236, -0.5355140567, 0.2151373476, -0.288475126, -0.2604208291, -0.2695288658, 0.8413877487, 0.5811537504, 0.8174025416, 0.4739288986, 0.093626298, 0.1042654291, 0.3400280476, -0.4181413352, -0.125343293, -0.4381962717, 0.2724227607, 0.6926210523, -0.0040914975, 0.135530889 ]
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.2162090242, -0.7568712831, -0.0058476627, 0.0996571779, -0.4579376876, 0.3965837657, -0.1864264607, -0.4719753861, 0.1200968847, 0.3097792566, -0.580286324, -0.0958262905, -0.5211409926, 0.0280309971, 0.098910749, 1.2290837765, 0.0866039172, 0.3071939945, 0.4029137492, 0.0780625641, -0.2485805005, -0.602357626, -0.822820127, -0.4818144143, 1.1672006845, 0.7625186443, 0.494689852, 0.4726160169, 0.1020832136, 0.1986639351, -0.1542113572, 0.1070365906, -0.8642801642, -0.1454306841, -0.1950361133, -0.6703915596, -0.4768746495, 0.1270540059, 0.7762656212, 1.0171138048, -0.4631912708, 0.0035551139, 0.1642876267, 0.5734729767, -0.6592465043, -0.1640624106, -0.7736338377, 0.1805831939, -0.2417651266, -0.0843554735, -0.4321497083, -0.3200198114, -0.0515389256, -0.1970055252, 0.093299672, -0.1213746667, 0.9369602203, -0.0156352445, -0.3302494586, -0.2517569065, -0.8735281229, 0.6866954565, -0.6860517263, 0.4134371579, 0.4478959739, -0.0651593804, -0.3636268675, -0.2563431561, -0.7566043139, -0.526230216, -0.2763459682, -0.0131189199, 0.3306251764, -0.0724321157, 0.0511563309, 0.2155873477, -0.4946911633, 0.4616546631, -0.4738874137, -0.1249622852, 0.471000582, 0.1128550991, 0.2757969797, 0.0777622014, -0.0338497497, 0.1338018775, -1.0907703638, 0.3230237961, 0.6122565269, 0.4781266451, -0.1190573275, 0.4125793576, 0.0679334924, 0.7965630889, 0.2278539091, -0.4356624186, 0.213136211, -0.1223216429, 0.0215514302, -0.0348293707, 0.5782439113, -0.3620687723, 0.0456973724, -0.5703977942, -0.2719880044, -0.1579979658, 0.2275731564, -0.7967532277, 0.1214535087, -0.1683567166, -0.1176849529, -0.3108313084, 0.0310040843, -0.7559390068, -0.0133672515, -0.3609197438, 0.5351212025, -0.6061217785, -0.3224789202, 0.0752032623, 0.3317008018, 0.4142501354, 0.0440649651, -1.4328057766, -0.0934074223, 0.6969432235, 0.7355414033, -0.1483582854, -0.4723435342, -0.3807585239, 0.2559298575, -0.4634764791, 0.8075431585, -0.4712955654, -0.9108248949, -0.1274358332, 0.0179827809, -0.2850867808, -0.7704671025, 0.1908164024, -0.4901569784, 0.2283123285, -0.0566767454, -0.1841618866, 0.0541897304, 0.3697693646, -0.4616639614, 0.5611712337, 0.2401641011, -0.6030490398, 0.7721582651, -0.5276143551, -0.6847193241, 0.0906296, 0.0196766593, -0.6023818851, 0.416572541, -0.2984439433, -0.030356152, -0.0403862186, 0.0863327309, -0.0962366611, -0.424062103, 0.0074593029, -0.3246562183, 1.116841197, 0.0580579229, -0.4376387894, -0.0530409627, -0.7514492869, -0.2459845543, 0.3075361252, -0.6410690546, -0.1297139525, -0.1008635685, -0.4505682588, 0.2322795987, 0.2148507982, -0.4429795444, 0.4374332428, -0.5442617536, -0.0038098947, 0.5172975659, 0.0176484268, 0.297977984, -0.4723055363, 0.7925480604, 0.1179322824, 0.3191588223, -0.3394541144, -0.1796477437, -1.0378553867, -0.5768370628, 0.467356354, 0.6121165752, -0.7208236456, 0.6200405955, -0.1624741256, -0.4437811077, -0.5329672098, 0.4292117357, 0.5473509431, 0.6021945477, 0.2393073291, -0.7596557736, -0.4373084307, -0.7724406123, 0.141376853, -0.2225042135, 0.0363300331, 0.0176789258, 0.5304725766, -0.5047982335, 0.7341151834, 0.1104852706, -0.0854545683, -0.3609367311, 0.6064704061, 0.3324125707, 0.7151930332, 0.6239446998, -0.4712985754, -0.6041944623, 0.104692705, -0.3739250898, 0.155714646, -0.0819649324, -0.3206324577, 0.3873486221, 0.1424835473, -0.4072143137, 0.3714674413, 0.4731716514, -0.2941316962, 0.9047371745, -0.422142446, 0.0620423742, -0.4838924706, 0.0682731271, -0.6047073007, -0.092782259, -0.8453682065, -0.0133790458, -0.0959989503, 0.0326554663, -0.6933623552, 0.6400458813, -0.3749232888, 0.1316157579, -0.3061619401, -0.2423091233, -0.2828961909, 0.5908205509, 0.1329049319, 0.6247597933, 0.5028344393, -0.5666292906, 0.1496926993, -0.1416607946, -0.1570820808, 0.6524722576, -0.5278713703, 0.4506515563, -0.1867201924, 0.0477437451, -0.7036222816, 0.0505799465, 0.4307898879, -0.4198961258, 0.8123649955, 0.0021963683, -0.7155692577, -0.2704491615, 0.0036401376, 0.3298882842, 0.5338262916, -0.4789389968, 0.4835574329, 0.1476570517, -0.2625062466, -0.2534377575, -0.4980479181, 0.0085595157, -0.3336699009, -0.1435084045, 0.1297995001, -0.16120103, -0.0016078157, -0.1540000141, 0.0478797965, -0.097000204, 0.253349185, -0.2597351074, 0.4374912679, -0.1675160378, 0.1484161019, -0.007266134, -0.1911222637, -0.2543767393, -0.3439452052, 0.7891277075, -0.0919767544, -0.1241749525, -0.2896113098, 0.290840894, 0.2777039409, -0.2252586931, 1.1958171129, 0.4159756303, -0.1158244535, -0.0460987501, -0.3716961145, -0.2068196088, -0.417719692, 0.0688547567, -0.4211841226, -0.6055250764, 0.2823624015, 0.0585154444, -0.0143991541, -0.0550389215, 0.7931870818, -0.4978453517, 0.7093747854, 0.8835213184, -0.1157421991, 0.7951399088, -0.4242763519, 0.0526454225, -0.7433927059, -0.405433923, -0.4214849174, -0.3466280401, -0.4275097847, -0.3735687137, 0.1787740439, 0.4212514162, -0.5006375313, 0.2709318399, -0.0073103188, 0.2639684379, 0.4452976584, 0.4748876393, 0.4388516545, 0.0386514403, -0.3584957123, -0.0198145676, -0.8818125129, -0.4237061441, 1.12854743, 0.0065774973, 0.604922235, 0.206619218, 0.9841193557, -0.188360393, 1.0884437561, -0.745608449, 0.4138250351, -0.0587468892, -0.9620761275, -0.4740658998, -0.4157118499, -1.2853919268, 0.4344341457, -0.3153273761, -0.9568543434, 0.2569318414, 0.4595994949, -0.341226697, 0.0445969552, -0.5560926795, 0.936894834, -1.0388364792, -0.8221758604, -0.3298933804, -0.5134968758, 0.2109789699, -0.4564005435, 0.2543596029, 0.0648678243, -0.1323316097, 0.3791414201, -0.342870146, 0.7874280214, -0.1732801199, -0.234872669, 0.124983862, 0.2712460756, 0.229684338, -0.012478957, -0.1915988624, 0.2575038373, -0.4071215987, -0.8959117532, -0.5801786184, 0.3209320605, -0.5627359152, -0.8603428602, -0.3312420845, -0.4295608401, -0.545576334, 0.3611481786, 0.3515266478, 0.0215894673, -0.1511688679, 0.3028634787, 0.5608227849, -0.1953549683, 0.1876232475, 0.9915569425, -0.3373910487, -0.1758372337, 0.7235891223, -0.0237836745, 0.4942638278, 0.3085383177, 0.2790979743, -0.0049991719, -0.5245615244, -0.2556193769, 0.7647647262, -0.1765105426, 0.1512420028, -0.2093015164, 0.0315679945, -0.2003216743, -0.3565152586, -0.4248419702, 0.1090949401, -0.2328650504, -0.2209630758, -0.4221602082, 0.3730761111, -0.4051161408, 0.464160949, -0.6402249932, 0.2332283258, 0.5428804755, 0.2702625096, 0.039743796, -0.9385610819, -0.5927401781, 0.3434261978, -0.4450531006, -0.8450340033, 0.4152285457, 0.0736927241, 0.8055164814, 0.755802393, -0.3796491325, 0.8834673762, -0.6717458367, 0.5175719261, 0.5141493678, -0.8365986943, 0.5617681742, -0.3168430626, 0.2725257576, 0.6666125059, 0.7297968864, -0.2792393863, -0.2320635617, -0.658631146, -0.6763980389, 0.7498518229, 0.0184894837, 0.2094953358, 0.0720142871, 0.2268902063, 0.2123246789, 0.4286590517, -0.8724877238, 0.0137511585, -0.1022531465, -0.0412231162, -0.3530902863, -0.3668832779, -0.1210742965, -0.6169329286, 0.7074223161, 0.1210101172, 0.0602031462, -0.1058315858, -0.381170541, -0.1588958353, 0.1287946999, 0.3771685362, 0.7548694611, -0.129463017, -0.2332200855, 0.2432605475, -0.1911784112, 0.4506459534, -0.1008674726, -0.2968794107, -0.0444791839, 0.6405471563, 0.8302205205, 0.6228274107, -0.6295791864, 0.0121384421, 0.2192031443, 0.0448187217, -0.1180801615, 0.1371208727, 0.115295589, -0.0182287749, 0.2614496946, -0.5651894808, -0.1289974004, -1.2844092846, 0.146169275, 0.4884824753, -0.3084222674, -0.5668138266, 0.3426644206, 0.2469463795, -0.6402148604, 0.5746164322, -0.3704518676, -0.6911844611, 0.6187597513, 0.5744277239, 0.6079415679, -0.6858298182, 0.376971513, 0.3862458169, 0.2876809835, 0.1232250333, -0.0668480471, -0.4621497393, -1.0600612164, -0.1611539721, -0.7135154009, -0.4696699083, 0.0901035443, -0.6231966019, 0.422078222, -0.3374416232, 0.0645091608, -0.2305623889, 0.0023013763, -0.7520344853, 0.2037539333, 0.3822358847, 0.3633008897, -0.6792894602, 1.219837904, 0.668466866, -0.5847175121, -0.8503843546, 0.2033895701, -0.178309083, -0.657592237, 0.9623880386, 0.0174033679, -0.3182509542, 0.1914589852, -0.3086213768, -0.5522492528, 0.7394255996, 0.3642039001, -0.734038651, -0.1276411861, 0.10052903, 0.7857758403, -0.3890237808, 0.2194242477, 0.9685488343, 0.4126934409, 0.3595743775, -0.8716964126, -0.5949606299, 0.1354589164, 0.1047521532, -0.1001468748, -0.6502088308, 0.6108947992, -0.5145848393, -0.2457841784, 0.1150810942, 0.5189524293, 0.3550969064, 0.1657354534, 0.6853202581, 0.2807064354, 0.5685853362, 0.0448762104, 0.8651418686, -0.3351899087, 0.4347567558, 1.0945023298, -0.1988736689, 0.6919255853, 0.6136607528, -0.330848664, 0.8749929667, 0.6788675785, 0.4085653424, 0.5487565398, 0.2486078739, -0.4040914178, -0.0712098852, 0.0805168748, -0.097744517, 0.4123871624, 0.5142738223, 0.024451524, -0.0954207703, 0.3536353111, 0.4757634103, -0.0559488311, -0.3663566411, 0.8139573336, 0.0417496413, -0.7856833935, 0.8782643676, -0.2998259068, 0.8044509292, -0.8833028674, 0.2585071027, -0.6933043599, 0.0516216755, -0.0666179061, -0.0016076394, 0.2840285599, 0.0995146334, -0.0472707488, -0.2462588549, 0.0310029108, -0.7730857134, -0.7434877157, 0.435164988, 0.349378705, -0.0441314392, 0.5685412884, -0.7323774099, -0.184756279, 0.0058151302, -0.413805753, 0.4001262188, 0.4641886353, 0.2107415646, 0.5077997446, 0.750831306, 0.7078752518, 0.1973802298, -0.0730841607, 0.6858515143, -0.5703475475, -0.5260598063, -0.6712779999, 0.6134889126, 0.2249134481, -0.0939069912, 0.5531077385, 0.3695093393, 1.0448479652, -0.2731905878, 0.4614707828, -0.1751111597, 0.6085005403, -0.4178503454, 0.6077671647, -0.7735332251, 0.1868956536, 0.078399457, -0.8154336214, -0.2973689437, 0.8083978891, -0.5730013251, 0.0477198362, 0.7826302052, 0.8152127266, 0.147406742, -0.5356562734, 0.6608803868, 0.3931375742, 0.2519681454, 0.5193887353, 0.8675100207, 0.2586230934, 0.4461742043, -0.3363954127, -0.4617529809, -0.3414955437, -0.7732480764, -0.7537788749, -0.2433123887, -0.0587299839, -0.0268663019, 0.3559978008, 0.7795809507, 0.827850759, -0.8863094449, -0.46013394, -0.0839753151, 0.1210944578, -0.061112877, -0.1412514895, -0.0692370385, -0.7161407471, -0.9261502028, 0.2695311606, 0.3312602937, 0.0040145512, -0.4772545397, -0.1626999527, -0.3698831797, 0.1953984946, 0.5176378489, 0.7129505873, -0.3718987405, -0.168468684, -0.4814615846, -0.1450032443, 0.0765382424, 1.1129835844, -0.7023557425, 0.6001858711, 0.1093828827, 0.3976527154, 0.6941975951, 0.0064164479, 0.5069667101, -0.3488830626, 0.9404502511, 0.4319515824, 0.3141155243, 0.2643993199, -0.2751343548, 0.3490141332, 0.4394691288, -0.2325300127, -0.6631902456, 0.4329132736, -0.3270668089, -0.2668519914, 1.0547953844, -0.4615749121, -0.2428688854, -0.0844567344, -0.253537178, 0.2607344687, -0.0287592672, 1.2277930975, 0.6747910976, -0.1681017429, -0.2949754, -0.1399586052, 0.1396072358, 0.6855141521, -0.8163310289, -0.5497279763, 0.2720349431, 0.3314504027, 0.0627641007, 0.6444266438, -0.2769312859, 0.3210417032, -0.0218172465, 0.1757297665, -0.0387312733, -0.5270058513, -0.4717015326, -0.2426280826, 0.192171365, -0.0055458434 ]
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.0625510514, -0.6973700523, 0.653595686, 0.4622285366, -0.2596859038, 0.2126564234, -0.3857572675, -0.5223087072, 0.2084517926, 0.335577637, -0.803876996, -0.3686660826, -0.3289674222, -0.0548922084, -0.4509217441, 0.8121398687, -0.0019778092, -0.3176536858, -0.2253673971, -0.3194769919, -0.363846004, -0.2378631383, -0.6417094469, 0.1538192034, 0.6934461594, 0.4363221228, 0.1873396635, 0.6709573269, 0.0695789754, 0.3216115236, -0.199059397, 0.2114746571, -0.7955645323, 0.043474324, -0.0729219466, -0.4890926778, -0.6182002425, 0.1594352871, 0.6897117496, 0.8543848395, 0.0024716679, 0.2621534169, 0.4019291401, 0.6132692099, -0.7910314202, -0.0481473841, -0.6623052359, -0.0291351303, -0.2378571033, -0.2199224532, -0.3218487799, -0.1189435571, 0.1404621452, -0.7221006155, 0.5077773333, 0.3081753254, 0.5175613165, 0.3178370595, -0.0425628461, 0.1380042881, -0.5985831022, 1.1855642796, -0.6149771214, 0.3792646825, 0.3307355344, 0.0544392988, -0.4709676504, -0.9174224138, -0.4526196122, -0.1469064057, 0.101663813, 0.0152074993, -0.0993581265, 0.2520875037, 0.2631421685, 0.2435093671, -0.5008218288, 0.1168463603, -0.2527239323, -0.2092516571, 0.2175212801, -0.0031573533, -0.2099990845, 0.2904995382, -0.3087943494, -0.0303896852, -0.7492874861, 0.0100107035, -0.0384221599, 0.396813333, -0.2995963395, 0.0873196796, -0.2611666918, 0.8790587187, 0.3528366685, -0.2191449404, -0.0271652862, -0.3542589247, -0.3991805315, 0.0519460812, 0.5531241298, 0.0878859386, 0.1412421018, -0.4461335838, -0.125250563, -0.3485951424, 0.0952151269, -1.028834939, -0.1740597785, 0.5474371314, -0.3220763803, -0.2505162358, -0.2697170675, -0.8063630462, -0.1892117709, -0.1929743737, 0.0950814039, -0.2564094067, 0.0962114409, -0.1031748503, 0.0359927192, 0.3070613444, 0.4720439315, -0.7915875912, 0.3693911731, 0.6283602118, 1.1214858294, -0.6255390644, -0.1914501339, -0.8932765126, 0.0850851908, -0.3203957081, 1.0671099424, -0.3872810304, -0.0297283735, -0.223264575, 0.0423729718, 0.0490463302, -0.5791561604, 0.3123701513, -0.6349563599, 0.0692925155, 0.0446492806, -0.50208354, 0.0636802912, 0.2290523499, -0.5526736975, 1.20614779, 0.555254221, -0.4082974195, 0.6077868342, -0.5719077587, -0.3359542191, 0.2007514983, 0.0083879596, -0.2896212339, 0.3224361241, 0.1277655214, 0.5000770688, -0.0560305305, -0.1421021372, -0.7114318013, -0.7675617933, 0.1820251048, -0.3703586757, 0.4734113514, 0.01514233, -0.2642053962, 0.3120764196, -1.1632225513, -0.0065390114, 0.0408499204, -0.2643117309, -0.4574731886, 0.2662502825, 0.3370061219, 0.0540955588, -0.0056465198, -0.649872005, -0.0390111841, -0.6666611433, 0.5591042042, 0.9121851325, -0.050886929, 0.6100190878, -0.1311353892, 0.4316649139, 0.1042686626, -0.2350785285, -0.2314198166, 0.0444334894, -0.6187717915, -0.602778852, 0.3525804877, 0.1974384487, -0.3297799528, 0.234347403, -0.4175150394, 0.0137002245, -0.4769327343, 0.3601571918, 0.2101078629, 0.4551387429, 0.2839893997, -0.1303646564, -0.5161736012, -0.6780803204, -0.1028777957, 0.0791197196, -0.3333266079, 0.2243055403, 0.0703673139, 0.1638537645, 0.9802612662, -0.5279321671, -0.3859459758, -0.1674158126, 0.0314434469, 0.2277345955, 0.4506076574, 0.6345044971, -0.5347113609, -0.2615312636, -0.1861332357, -0.0687372386, -0.2565131783, -0.137430355, -0.1437400728, 0.2075149119, 0.7095974088, -0.4172434509, 0.2272195667, 0.5135675073, -0.0993764997, 0.1499888003, -0.0845612958, -0.2272524387, -1.030821085, 0.0662450641, -0.0695891082, -0.6722267866, -0.5879077911, 0.0248773955, 0.1291302741, -0.0014919038, -0.5730404258, 0.8062019348, -0.5436402559, -0.1126798689, -0.6468093395, 0.3315496147, 0.1204344481, 0.7728888392, 0.0598367378, 1.0443682671, 0.0434363745, -0.6823341846, 0.1715989858, -0.1040103137, -0.3685269654, 0.6499373317, -0.6049434543, 0.4369878471, -0.2612917721, 0.2181477547, -1.370980382, -0.2271334976, 0.0659995377, -0.3376912475, 0.5098614097, -0.0772985965, -0.1577162445, -0.1437101066, -0.5585337877, 0.6193327904, 0.3984052241, -0.4534654021, 0.5122992992, 0.1071345806, -0.2026947141, -0.4470542371, -0.6669692993, 0.0399608985, -0.1401761323, -0.1692589968, 0.4174257815, -0.08999715, -0.0355071314, -0.0857590139, -0.3074930608, -0.2371608466, 0.3141923249, 0.0986323208, 0.0515300781, -0.4351621568, 0.104378283, -0.0282505788, -0.0296547692, -0.1035721749, -0.6262614131, 0.436317265, 0.2806370854, -0.0936053321, -0.2954211235, 0.3964232206, 0.5834025145, 0.0166187622, 0.5222228169, 0.4436917007, -0.4144956768, -0.5608081222, -0.6332432628, -0.1383379251, -0.4790542722, 0.838211, -0.1082331464, -1.1682603359, 0.3991551101, 0.0756373927, 0.0853913054, -0.0154960426, 0.532405436, -0.3318549693, 0.6491458416, 0.7120778561, -0.3003095686, 0.7473890185, 0.1214150488, 0.0932956636, -0.7337445617, 0.0869092569, -0.4212148488, -0.4787788987, -0.4972851872, -0.647002697, 0.2397946119, -0.211421743, -0.0523028374, 0.0432509147, -0.3401070833, 0.6158068776, 0.4214126766, 0.1467511058, -0.0094763227, 0.0469354317, 0.2651648521, -0.167711556, -0.5173549652, -0.0732437521, 0.8351357579, 0.182946071, 0.8110689521, -0.1195438951, 0.2762988806, 0.3101075888, 0.4392784536, -1.0256688595, 0.4804119468, -0.083485879, -0.2935800254, -0.3052690923, -0.1629693806, -0.797775805, 0.1533086747, 0.0979740694, -0.8795595765, 0.2637768984, 0.6008048654, -0.7100488544, 0.0421178564, -0.4171842039, 0.7551836371, 0.0993210301, -0.7431594133, -0.1147741824, -0.5651963949, 0.3979472816, -0.4209300876, -0.0015695362, -0.1828612089, -0.3388548493, 0.6183801889, -0.2108017653, 0.9722172022, -0.252525419, -0.1075176969, 0.1200508252, -0.051150877, 0.6162030101, -0.218173027, 0.2059135586, -0.2755817771, 0.1107044592, -0.6899601221, -0.6571959257, 0.7035139203, -0.2962327898, -0.4047880173, -0.3290264308, -0.7187952995, -0.468485564, 0.1936227232, -0.04052338, 0.233172223, -0.2022149712, 0.2948598862, 0.8715650439, 0.0577333607, 0.5516765118, 0.419831723, 0.127484709, -0.2614498436, 0.8823649883, -0.0289102979, 0.3366822302, 0.5173277259, -0.008579772, -0.2221127599, -0.8959066868, -0.3306778073, 0.1884038746, -0.3187687099, -0.2684463561, -0.6110268235, 0.1376818866, -0.3829720318, -0.004587499, -0.4211089015, -0.285007447, -0.3427651227, -0.0276733022, 0.4017153084, 0.1633517593, 0.2971101403, 0.6086874008, -0.7402424216, 0.2924527824, 0.2175298631, 0.3064681888, 0.1125081629, -0.7201678753, -0.4124414325, -0.1227789745, -0.1428306252, -0.6626597643, 0.2540929019, 0.5468627214, 0.2902206481, 0.4914579988, 0.0883563682, 1.1724761724, -0.6402222514, 0.7028157711, -0.2872478366, -0.8374963999, 0.2530142069, -0.1147315577, 0.4847154617, 0.7423437238, -0.0164771136, -0.48566553, -0.6032135487, -0.1638173908, -0.8513393402, 0.9152815342, -0.1130778566, 0.2148269862, 0.0890110284, 0.5879067183, -0.1876295954, 0.1241799593, -0.732257545, 0.1692158133, -0.007059963, -0.3756066859, -0.0354325585, -0.4080863595, -0.002098036, -0.0683898479, 0.4245640337, -0.4986812174, 0.3592329025, 0.3024170697, -0.338639915, -0.1384281963, 0.0975686237, 0.9559463859, 0.5037807822, -0.4400635362, 0.0714000538, 0.3318389654, -0.6177399158, 0.2837213278, 0.2072280794, -0.178309992, -0.1499674022, 0.5198997259, 0.8600133657, 0.5466211438, -0.7955266237, 0.6402764916, 0.005657563, -0.0733446255, -0.2940919995, 0.0960587338, -0.0217573512, 0.168265298, 0.489041388, -0.3226292431, 0.1366099119, -0.3499943316, 0.2374749184, 0.4802496731, -0.5653264523, -0.3896223307, 0.7632145882, -0.0945281461, -0.0596438982, 0.3159644604, -0.0258687548, -0.1154413149, 0.556412518, 0.502620995, 0.9681151509, -0.29197824, -0.3383994699, 0.1500085145, 0.0913357586, 0.194805041, 0.1177373305, -0.577429831, -0.4828558564, -0.9148619175, -0.8327592015, -0.2987852395, 0.5235620737, -0.4964082241, 0.0064771208, -0.5809004307, 0.2227691412, -0.1577231437, -0.162507847, -0.2368397564, 0.2491440326, -0.0035741772, 1.08129251, -0.679366529, 0.8261325359, 0.4350244999, 0.1589421183, -0.5311748385, 0.3658955991, -0.1611337215, -0.7183187604, 0.4732852876, 0.2633146048, -0.223115325, 0.077819787, -0.7432258725, -0.9817895889, 0.9294133782, 0.369410336, -0.5529440045, -0.3367786705, -0.0441576019, 0.3845044672, -0.1437217146, 0.0940459147, 0.8037676215, 0.1665055305, 0.2822631598, -0.4231007993, 0.0680710524, 0.0429658033, 0.1499158293, 0.090802297, -0.7734287381, 0.5473597646, 0.0348311365, -0.3045360744, 0.3439185023, 1.2458233833, 0.3314652145, 0.259537518, 0.5512005687, 0.3339563012, 0.531724453, -0.0462849624, 0.8130493164, -0.4294990301, 0.1735835671, 1.2701934576, -0.3863041103, 0.8259497881, 0.8010042906, -0.4456904531, 0.157465905, 0.8165162802, 0.2870246172, 0.7040510178, 0.3248665035, -0.397459656, -0.0487398878, 0.0107743973, 0.0448271185, 0.4633640051, 0.3351421654, -0.107492961, -0.1974600106, 0.1628006995, -0.0678210035, -0.0861039609, -0.4012369812, 0.8041465282, 0.1746442914, -0.6986157894, 0.6510831118, -0.0104652634, 0.6994213462, -0.6604755521, -0.1573854983, -0.4657108784, 0.3127011061, 0.0259102806, -0.2246291637, 0.21942918, 0.0052104522, -0.3319975436, -0.2474993616, 0.5584176183, -0.5348094702, -0.4173721373, 0.1767266542, 0.1487915516, 0.0371239707, -0.1318896115, -0.3764795065, -0.0234087463, -0.2427966744, -0.4615150094, 0.5815499425, 0.4310528934, -0.1617893875, 0.3718565702, 0.6693222523, 0.3751369715, 0.09675093, -0.1485840231, 0.8034682274, -0.5610414147, -0.5861065984, -0.8112226129, 0.2001581788, -0.020757271, -0.0853804648, 0.4014215767, 0.4722679555, 0.7101281881, -0.0212148651, 0.4347013235, 0.2205777913, 0.7721179128, -0.6962675452, 0.5197892785, -0.6654348373, 0.0783396959, -0.1253976971, -1.0274151564, -0.4300157726, 0.4805622995, 0.0420560837, 0.2344726324, 0.5966471434, 0.799216032, -0.4534923434, -0.4868555665, 0.4515720308, 0.4324920475, 0.275308013, 0.715328753, 0.5294893384, -0.0928521007, 0.4598957598, -0.1218554825, -0.262989819, -0.1371058822, -1.0968109369, -0.7247734666, -0.2241169065, -0.1209604368, -0.429122746, 0.0684251413, 1.0706145763, 0.9262114167, -1.0711323023, -0.13174887, -0.09765286, -0.1079571396, -0.2015647441, -0.2342759073, 0.6084048152, -0.5241647363, -1.0862326622, 0.5539788604, 0.5265185833, 0.1102839932, -0.2104055583, 0.2095160484, 0.0236933678, 0.0875273049, 0.7044765949, 0.4634461999, -0.6774204373, -0.4409753084, 0.0070341239, -0.1065853536, 0.3512544036, 0.7990484834, -0.871070981, 0.1724628061, 0.3317249417, 0.8862981796, 0.5703034401, 0.1991606057, 0.4147101939, -1.1927748919, 0.7774871588, 0.2855300605, 0.2735938132, 0.2095104754, -0.3437002897, 0.1927833706, 0.5838406682, -0.3175229728, -1.0709174871, -0.00780593, -1.198012948, -0.0975987017, 0.942222476, -0.2646251619, -0.8367111683, -0.1696120948, -0.2255260348, 0.0262358021, -0.3612441123, 0.6144502163, 0.6627076268, -0.0486319773, -0.4603395164, -0.4670338333, 0.680880487, 0.574401319, -0.7165700793, 0.2605280876, 0.5401719809, 0.3165776432, -0.0985018313, 0.8122795224, 0.1028230861, 0.422270596, -0.3045004606, -0.209304139, -0.048138231, -0.2970301211, -0.4948816597, 0.32037884, 0.1663138419, -0.3843090534 ]
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.3641759455, -1.0428197384, 0.5051228404, 0.0738660023, -0.6080548167, -0.4408370256, 0.2055089623, -0.4684963524, 0.4831526279, 0.7651533484, -0.7609000802, -0.6635122299, 0.1139775068, 0.134304598, -0.4064905047, 1.0100598335, -0.087421082, 0.045901686, 0.123042278, -0.2258117199, -0.1801647395, -0.5894933939, -0.2914817929, 0.1113904566, 0.0191000737, 0.6074947119, 0.504314065, 1.2484227419, 0.7624571919, 0.0931356177, -0.0122805648, 0.2640587986, -0.1484939158, 0.5766292214, 0.1359811127, -0.0365049243, -0.5012048483, -0.4873185456, 0.6517249346, 0.1318396777, 0.0258762222, -0.2660256922, 0.129071638, 0.7464219332, -0.5667987466, -0.2379954904, -0.1822726279, 0.0545102395, -0.8348472118, -0.6635003686, -0.1379645616, -0.3705438972, 0.1376675814, -0.7527185678, 0.4004005492, 0.1427146494, 1.1252945662, -0.0755075067, -0.4227178395, -0.5192543268, -0.2573507726, 0.5531271696, -0.7384284139, 0.3671438694, 0.410720408, 0.4324918985, -0.0298346039, -0.7435524464, -0.4181383848, 0.0136752026, 0.0723784193, 0.1467200816, 0.2819600403, -0.2235154212, 0.1964868903, 0.6375296116, -0.9329761267, 0.202994734, -0.1421744823, -0.3399766982, 0.2996830344, 0.2761643231, 0.6709535122, -0.4663339257, -0.5268492103, -0.0655670017, -0.658829689, 0.1293652058, 0.4254628122, -0.0206286479, -0.0810037628, 0.1585671753, -0.1452771276, 0.541759491, 0.033630915, 0.1341532916, 0.0073070088, -0.2023381293, -0.3429318666, 0.1350500584, 0.6807767153, 0.2779871523, -0.0954060405, 0.3212127686, -0.0638087913, -0.1281835884, 0.0047224835, -1.116253376, -0.275883168, -0.2592404187, -0.5323927402, -0.2520011663, 0.2062554061, -0.9992729425, -0.8901746273, 0.0239975564, 0.0027068849, -0.6514951587, -0.0714529678, -0.0327156261, -0.0908960328, 0.7577251196, 0.5875107646, -1.191506505, -0.0884303302, 0.7253025174, 0.9496130347, -0.3010827899, -0.17194511, -0.7080899477, 0.1947147846, -0.3042528331, 1.3083549738, -0.1769754291, -0.431779176, 0.0718197152, 0.1736214906, 0.4310984015, -0.3475617468, 1.2101165056, -0.3620682061, 0.3478345275, -0.4468232095, -0.3648376465, -0.148189798, 0.5396704078, -0.8558802605, 1.0961916447, 0.0984499678, -1.1697586775, 0.527302742, -0.1293795705, -0.945240736, 0.3099586964, -0.3474439979, -0.764226675, -0.411251545, 0.5259400606, 0.406080544, -0.5815136433, 0.1665587276, -0.3715131283, -0.5473663807, -0.180327937, -0.4592052102, 1.0566065311, 0.2461040616, -0.4248915911, 0.183085084, -0.7231468558, 0.0398381092, -0.0689154193, -0.5108526349, -0.5838874578, 0.0446422584, 0.5783600807, -0.0875270367, 0.3098313808, -0.182438612, 0.2883168459, -0.3898568749, 0.2076392472, 0.7548831701, 0.0359270573, 0.31611076, -0.1897509098, 0.4561194181, -0.0568657368, 0.010888245, -0.457174629, 0.0216273461, -1.0253081322, -0.3216384053, -0.0432252511, 0.469787389, -0.9627201557, 0.8867487311, -0.083746545, -0.3813272119, 0.1894634813, -0.1165405288, -0.0814636648, 0.2675485015, 0.4708530903, -0.0837052539, -0.9081680179, -0.9452522993, -0.198655352, -0.2882650495, -0.1948098987, 0.0163422115, 0.5281180739, -0.3604159057, 0.7200431824, -0.5316116214, -0.630659461, -0.182806313, 0.0199197996, 0.1525414735, 0.5125014782, 0.5805997849, -0.9915208817, -0.7456489205, 0.6340762377, -0.7971128821, -0.4668365717, -0.3378970027, -0.3291136324, 0.5154905915, 0.5839539766, 0.0945002437, 0.5567398667, 0.4089624286, -0.6179475784, 0.7186985016, -0.2111875564, 0.4211676419, -1.0613191128, 0.2855430245, 0.1790726781, -0.3032146096, -0.8841832876, 0.0940702185, 0.584045887, 0.0817803517, -0.0582823269, 0.2353694737, -0.516664505, 0.0340609178, -0.1440419406, 0.0038262326, 0.135332793, 0.5045358539, 0.2349845767, 0.5310447812, -0.0099643283, -0.2110102028, 0.426504612, 0.0304247197, -0.5967666507, 1.0247217417, -0.4491554201, 0.1603246331, 0.0202576984, -0.0276913848, -0.7384378314, -0.1974681616, 0.3010287583, -0.2722833157, 0.2397719026, 0.323549509, -0.1451839656, -0.1832271665, -0.8345230818, 0.191769585, -0.113770403, -0.5774638057, 0.6172719002, 0.3151672781, -0.3151521385, -0.3804239631, -0.6949843168, 0.0121787759, -0.1676770896, -1.0199906826, 0.2541518807, -0.0329189897, 0.2556164563, -0.2272708565, -0.4485183358, -0.6475268006, 0.0818818063, 0.1191528141, 0.4548232257, -0.6066157222, -0.3299019635, 0.3648914695, -0.2547803223, -0.3566664755, -0.1946279705, 0.7285451889, -0.0432491302, -0.3630006909, -0.5599819422, 0.2809846103, 0.6876588464, -0.2079300433, 0.1950532645, 0.5418262482, -0.4674120247, -0.1366035938, -0.6600814462, 0.1097438484, -0.4232156277, 0.4286241531, -0.1708721071, -0.9890267253, 0.3611865044, 0.3841707408, 0.0396507829, 0.7246983647, 0.3148796856, -0.1411405057, 0.7340340018, 0.4587727785, -0.1809576303, 0.505274415, -0.1075300723, -0.0599438213, -0.7052598596, -0.0791771337, -0.7630915642, -0.1432662308, -0.237816602, -0.2833663225, 0.0798805654, 0.2908953726, -0.3985140622, 0.4892283082, -0.5895733237, 0.4450436831, 0.2692044973, -0.0240058266, 0.4836728275, -0.2601408064, -0.0280060507, -0.3266402483, 0.0276473165, -0.5511030555, 0.3367783427, 0.3140033484, 0.7989359498, -0.0595395938, 0.5208591223, 0.50578475, -0.0112081729, -0.8350872397, 0.4807528853, -0.2364245653, -0.6911816001, -0.6065915823, -0.3340186477, -0.4843575954, 0.343654871, -0.1629638523, -0.4674194157, 0.4631442428, -0.1022087634, -0.2872880399, 0.263037324, -0.4012884796, 1.062518239, -0.3721615374, -0.1659682542, 0.1942355186, -0.4411026239, 0.0821113437, -0.3467472792, -0.0639263541, -0.053112831, 0.2088625133, 0.9296450019, -0.5888647437, 0.2669962645, -0.1065715849, -0.0518383421, 0.315579325, 0.1944712102, 0.7250883579, -0.1592278481, -0.0017552568, -0.1507522613, 0.3731140196, -0.2086796761, -0.360286057, 0.5301004052, -0.4337828457, -0.4803106487, -0.4460865855, -0.1864872426, 0.4205567837, 0.5463816524, 0.5602744222, 0.3597946167, -0.639734745, 0.7053150535, 0.3079344034, -0.1601546854, 0.238792628, 0.4325658977, -0.2797198892, -0.4378983378, 0.558766067, 0.1375181824, -0.1586999744, 0.5139821768, 0.1414285004, -0.2537907958, -0.490505904, -0.6685052514, -0.1808724552, -0.6422150731, -0.1971482337, -0.5395340919, -0.4345117211, -0.4265652895, -0.5332919359, 0.068955712, -0.2161567956, -0.5044557452, 0.0035550394, 0.0083349012, 0.3792699277, 0.0572098084, 0.5415142775, -0.4593092203, 0.3491415679, 0.1534455717, -0.2052746117, -0.0998381153, -0.3650151193, -0.4687466025, -0.0950927064, -0.6532700062, -0.914458096, 0.6739386916, -0.0662071928, 0.2966274321, 0.8865207434, 0.2907532156, 0.4149087965, -0.4131115377, 0.4692979753, 0.3401282132, -1.0413035154, 0.398445338, -0.5869195461, 0.2528729141, 0.5615838766, -0.0389040634, -1.0888785124, -0.1502897441, -0.0095743015, -0.7825120687, 0.8144426942, 0.0517927743, -0.4896086156, 0.4791002274, 0.1233706698, 0.2070771605, -0.3873276711, -0.7897872329, -0.0370554775, -0.3712053299, -0.2850099206, 0.3783490956, -0.4522613585, 0.3996551931, 0.1431970745, 0.6271029711, -0.1634589732, -0.1808792651, 0.4248082936, -0.3354313672, -0.0047164825, 0.6016386151, 0.4656330943, 0.4200813174, -0.1881045699, 0.146429494, 0.1911955774, -0.8709791899, 0.2260928452, 0.3184345365, -0.5613713861, -0.1744954437, 0.4544317424, 0.6896893382, -0.1099989414, -0.2891153991, 0.6152657866, -0.0123918969, -0.2362916321, -0.2724621594, -0.1157798097, -0.0721659213, 0.2497849315, 0.8196510077, -0.1368281543, 0.40305686, -0.283570677, 0.2930934429, 0.2030287683, -0.6835047603, -0.1209742427, 0.4777366817, 0.4144729972, -0.2348941565, 0.3385932148, 0.060199298, -0.9126256108, 0.7946944833, 0.3988779187, 0.8291842341, -0.4117885232, 0.203993693, 0.0894156098, 0.2714331448, -0.1127022579, 0.0627828315, -0.270632416, -0.771705389, -0.0890463069, -0.4716508389, -0.1887603253, 0.119874455, -0.7038148046, 0.614613533, -0.7245274782, 0.0945668146, 0.0503552742, 0.1560796201, -0.1354481727, -0.0042750943, -0.1699726731, 0.8398963213, -0.5390634537, 1.0192649364, 0.4418433011, -0.1564641297, -0.4363899529, 0.2422586977, 0.2978484631, -0.619754076, 0.5009551048, 0.7622481585, -0.2112923115, -0.0629076734, -0.2188034058, -0.2437586486, 1.1557424068, 0.073187314, -0.4657632113, -0.3413296342, -0.2003358305, 0.4823622406, -0.0847767666, 0.0146582043, 0.8480188251, 0.6165249944, -0.0081215128, -0.4809037149, -0.0591320097, -0.246597603, -0.1164848283, 0.4858313203, -0.3974784613, 0.8855486512, 0.2466381937, -0.8033530712, 0.6334773898, 0.652810812, 0.2193414569, 0.4804923534, 0.4513973296, 0.4957044721, 0.651024878, -0.1592787206, 0.5145927072, 0.2622482479, 0.4881207943, 0.6593652368, -0.509950459, 0.6128718853, 0.2797040939, 0.046761062, 0.6303623319, 0.615455389, -0.2074763626, 0.5356632471, -0.0575982183, -0.1289725602, -0.2572276294, -0.1777134687, -0.7522456646, 0.1893573403, 0.2796390057, -0.093727611, -0.1824672222, -0.1061037034, 0.1645466834, 0.1963573545, -0.2697168589, 0.3444047272, -0.1132232845, -0.2165829092, 0.2926737368, 0.1671706885, 1.0154247284, -0.6884052157, 0.070633173, -0.3127967119, 0.4252793789, -0.2122545689, -0.7406458259, 0.1837665439, -0.0567722656, -0.1548024863, 0.1800620407, 0.9484689832, -0.4147338867, -0.2147831619, 0.1686921716, 0.1232625172, -0.1843955815, -0.0500163846, -0.2096238732, -0.017408574, 0.4702076614, -0.2272179872, 0.0254235752, 0.8133716583, -0.1918601692, 0.1666071564, 0.7546414733, -0.0330743715, -0.3521938026, -0.2606563866, 0.767523706, -0.9311748147, -1.1624925137, -0.980325222, 0.1434503347, -0.3775259256, -0.2663601935, 0.8190732598, 0.8188199401, 0.5962615609, 0.1205703467, 0.6265417337, 0.0064213509, 0.6883704662, -0.6923779249, 1.1784381866, -0.5265290737, 0.1467708647, -0.3983954489, -0.8514031768, -0.5115787983, 0.9468562603, -0.3567354977, -0.3395185173, 0.9569527507, 0.720248878, 0.1032205671, 0.4281754494, 0.324023217, -0.132852897, 0.6164159179, 0.619940877, 1.1356947422, -0.3527784944, 0.8384196162, 0.1650346369, -0.2346670181, -0.4911278784, -0.7755756378, -0.9744873643, -0.7202785611, 0.2069343477, -0.1855372339, -0.0202490818, 0.5831648111, 0.5468412638, -0.9113262892, -0.3387484848, 0.1190000996, 0.0355685055, 0.1210210547, -0.2624767125, 0.8712177873, 0.2394220978, -0.3631269038, 0.1156975403, 0.7411229014, 0.2447793335, -0.1324060261, -0.3787842393, -0.271310091, -0.4018975496, 0.1571096182, 0.5043560266, -0.3123932183, -0.321375072, 0.1672804356, -0.4928935766, 0.287948668, 1.190072298, -0.2129511088, 0.3022417128, 1.0155534744, 0.8126879334, 0.7350523472, 0.0809310228, 0.3609677553, -0.4356795549, 0.3319436312, 0.2575239539, 0.5847300291, 0.3802405, -0.5030936599, 0.6157806516, 0.3293006122, -0.7168530822, -0.5943289995, 0.0192578901, -0.9818116426, -0.4070520699, 0.8290988207, -0.2137836069, -0.3568488657, -0.390673846, -0.7774314284, 0.1342072189, -0.48189798, 0.3593809009, 0.7091033459, 0.1396674961, -0.1222140864, -0.3547852039, 0.4072772563, 0.0895371512, -1.0469555855, 0.1504954547, 0.9423707128, -0.1936608702, 0.1944225878, 0.8538820148, 0.0162671134, 0.5107983947, -0.2073388398, 0.0527209863, -0.0346322171, -0.2734229565, -0.2834064662, 0.0247791559, -0.3309981525, 0.0549913906 ]
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.3895145655, -0.261826098, 0.581032455, 0.0434864461, -0.1051052287, -0.1808000654, -0.5719495416, -0.1630218327, -0.1505675465, 0.7599827647, -0.6193315983, -0.5565809011, -0.4052472413, 0.0062564961, -0.0864369795, 0.672059238, 0.1729308814, 0.1404989958, -0.2220348716, -0.2136267126, -0.564321816, -0.6076902747, -0.642103672, -0.1925654709, 0.4382291734, 0.5910371542, 0.8644172549, 0.8494420052, 0.3784102201, 0.233765617, 0.1997817159, 0.3049158752, -0.4547647238, 0.085293524, -0.3720138967, -0.8132222295, -0.3180517256, -0.089322038, 0.7484310865, 1.0661739111, -0.3275742531, 0.3482598662, 0.0281323455, 0.9604577422, -0.9932531118, -0.0098425886, -0.9880920053, 0.1268368214, -0.5730444193, 0.3813542128, -0.5301238298, -0.1099293157, 0.0743621141, -0.7898551822, 0.4371564388, 0.1049432382, 0.8603057861, 0.3418658972, 0.0338573717, 0.0736684278, -0.6859809756, 0.962331593, -0.8627244234, 0.8338238597, 1.0886327028, 0.3070341051, -0.1946969181, -0.6405991912, -0.5492342114, 0.0822368413, -0.2399026155, -0.4214106798, 0.0833473653, -0.2128316909, 0.3726642132, -0.00018775, -0.4804725945, 0.2714400291, -0.3088811636, -0.1517433077, 0.6731140018, 0.4959083498, -0.0516398735, 0.0969481468, 0.1101290956, -0.3162685037, -0.9707615376, 0.0764995217, 0.2754963636, 0.673535347, -0.0154115316, 0.2756148279, -0.2996528745, 0.5929678679, -0.2225301862, -0.2482328713, 0.0720952526, -0.4813302457, -0.1694223583, -0.2238933593, 0.6992536187, -0.057206437, 0.4411192834, -0.3172566593, -0.1333650947, 0.0318491496, 0.4001727104, -0.9375755787, -0.4618198276, -0.3222115636, -0.4937500358, 0.0748862624, 0.1515851915, -0.6867649555, -0.1964606345, -0.3010300696, 0.0102982, -0.4206144214, -0.40879336, 0.4605273902, 0.2584806085, 0.117580846, 0.1839847118, -1.0956517458, 0.8174490333, 0.770254612, 0.5763432384, 0.142486155, -0.4063105583, -0.5941017866, 0.3309080005, -0.6252984405, 0.3140358031, -0.6640864611, -0.3002345562, -0.0266920459, -0.1804137379, 0.1673838645, -0.6710826159, 0.749004066, -0.5485092998, -0.1044226289, -0.4039763212, -0.6507429481, -0.0966536328, -0.3081378341, -0.5577515364, 0.7255474329, 0.0428547226, -0.590862751, 0.6961112022, -0.4126307666, -0.6907374263, -0.0560628064, -0.3371614218, -0.5176483989, 0.3736966252, 0.4169688225, 0.5648649335, -0.1727664471, -0.0659707263, -0.5190112591, -0.149126932, 0.1183741018, -0.0488086939, 0.5146352053, 0.4555117488, 0.015035498, -0.4920192957, -0.3578017354, 0.1248902157, 0.360153079, -0.1755910218, -0.7396888733, 0.3261310756, -0.289986968, 0.0588795245, -0.0821237937, -0.2637004554, 0.3198840618, -0.3980656266, 0.0990727991, 0.6213133335, -0.3205077946, 0.7662412524, -0.3661141694, 0.2169007361, -0.156540975, -0.0371357389, -0.2105021775, -0.2076380402, -0.8424628973, -0.3077575266, 0.3662787378, 0.2603553236, -0.0265393462, 0.6329344511, -0.4897386432, -0.35426265, -0.7800650001, 0.7057344913, 0.2155503035, 0.3212400973, 0.1537940651, -0.1483099312, -0.8223413229, -1.0796262026, -0.1303519309, -0.0076423706, -0.1011842713, 0.3058914244, 0.2152912617, -0.219322741, 1.3316290379, -0.680827558, -0.3919730783, -0.1894782186, -0.0387148187, 0.1657192111, 0.7421320081, 0.3595966101, -0.6671763062, -0.4206824005, -0.4314374924, -0.7072148919, -0.0021287969, -0.0648431629, -0.4184252918, -0.040348161, 0.469943136, -0.7530506849, 0.2835412323, 0.2419254482, -0.0033399323, 0.2631468475, -0.2021920681, -0.247368753, -0.7355316281, -0.2705816329, 0.1323627979, -0.4396373928, -0.4876775742, 0.0508722849, 0.2336488962, -0.1586280912, -0.3497520387, 0.5453742146, -0.4472737908, 0.0022043979, -0.1664436162, -0.1724036187, -0.0653369725, 0.3965746462, 0.2655126154, 0.7661886215, 0.3832491636, -0.7866185308, -0.3445708454, 0.3242615461, -0.3893871009, 0.46660164, -0.5300574303, 0.3947840929, 0.0229921751, 0.0969139934, -0.525339067, -0.0698240399, -0.0580166578, -0.2237567604, 0.5999366641, -0.0630011708, -0.8084331155, -0.204236418, -0.1906561553, 0.3603391349, 0.9190589786, -0.3794602454, 0.2663609982, 0.6097786427, -0.1348108649, -0.2419930995, -0.6379585266, -0.0007288696, -0.1770359129, -0.8345065117, -0.0599729344, 0.0030871786, -0.3516539931, -0.0313268118, -0.1851747185, -0.2071941346, 0.2786793113, 0.0714711174, -0.0168313049, -0.3449606597, 0.2204003185, -0.0882027, -0.1642273515, -0.0983834639, -0.3495329618, 0.4980404973, -0.0957994014, -0.4074532688, -0.6009905934, 0.2903069556, 0.2554073036, -0.3157547414, 0.5704138875, 0.3425632119, -0.6750506759, -0.2729893327, -0.6652501225, -0.3820187449, -0.473205328, 0.5529098511, -0.3387705088, -0.5181446075, 0.2667695582, -0.1096256375, 0.1373604387, 0.3334295452, 0.3091383576, -0.2690849006, 1.0235648155, 0.7647960782, -0.3730894029, 0.3934486806, -0.3030432463, -0.2671920955, -0.8944264054, 0.1449815929, -0.6484932899, -0.2538796663, -0.066817522, -0.4522031546, -0.1617255062, 0.4982881248, -0.5108107924, 0.3067699969, -0.2162146568, 0.4805582166, 0.4612400234, 0.1098388731, 0.2225787193, 0.0211849194, 0.0034052632, -0.5524098277, -0.7012835741, -0.7709803581, 1.3049902916, 0.4264057875, 1.2399104834, 0.0695080683, 0.7553970218, 0.2661029994, 0.2557346225, -0.3377899826, 0.4971958697, -0.2492410541, -0.7411352396, -0.414203167, -0.3523792028, -1.0761517286, 0.3031849563, -0.2390057743, -0.721303761, 0.0121729644, 0.2111929059, -0.2082989663, 0.2856276333, -0.9476698637, 0.801187396, -0.3174019754, -0.4968389571, -0.3695595264, -0.6017305851, 0.1541812718, -0.2813312709, 0.3479145169, -0.3116901219, -0.4079189599, 0.8491967916, -0.7363162041, 0.9820488095, -0.2808105052, 0.2229272872, -0.0278507769, 0.283868432, 0.8329355121, 0.2087985128, 0.134467259, 0.2116829455, -0.4587140381, -0.5182623863, -0.5551033616, 0.465821147, -0.8216745257, -0.522992909, -0.1201674789, -0.3182613254, -0.3754050732, 0.1976730824, 0.2092641741, 0.3254680634, 0.0866376162, 0.3302081525, 0.7324800491, 0.1685058177, 0.1497306824, 0.651568234, -0.1725004315, -0.1596371382, 0.6919643283, 0.0424142405, 0.1955073327, 0.3351880312, 0.3061323464, -0.297886163, -0.8337931633, -0.3222576976, 0.3041266501, -0.5371738672, -0.3613780439, -0.6607730985, 0.095361948, -0.2534382045, -0.2812319696, -0.7504946589, -0.0632333979, -0.2461444885, 0.1087526903, 0.2183213681, 0.6030560136, 0.0427071787, 0.4149548113, -0.8012587428, 0.2171257138, 0.3902917206, 0.4511477947, 0.149419263, -0.3337546289, -0.4756013751, 0.3803302944, -0.1174360812, -0.4649686813, 0.2501446903, 0.3673597872, 0.9094316959, 0.3595820069, 0.0951406658, 0.8558123708, -0.7098721266, 0.5688604116, 0.0949007794, -0.8092923164, 0.5973068476, -0.2741871476, 0.1960370839, 0.9845741391, 0.2293624282, -0.4113805294, -0.5069558024, -0.5830183625, -0.6757934093, 0.8440751433, 0.199772507, 0.1883691996, 0.228540197, 0.3976487219, 0.4627177417, 0.2630752325, -0.4464811981, -0.2164845169, -0.1183400974, -0.2298738658, -0.2521775067, -0.0849740654, 0.1168416291, -0.3889048994, 0.5775055289, 0.1260141134, -0.3294602931, 0.080658704, -0.6484596133, -0.0877472311, 0.087185204, 0.4197693467, 0.8062165976, -0.2974009216, 0.1915128231, 0.4391185641, -0.477001518, 0.3197859824, -0.2320587337, -0.1975588799, -0.1102170423, 0.4748948514, 0.6276117563, 0.198807627, -0.4551562667, 0.3756984472, -0.1653437614, 0.0589481853, -0.2180090249, 0.1799083054, 0.1592363119, 0.0359548777, 0.5534597039, 0.1806101203, -0.1895845979, -0.1187088788, 0.4849297702, 0.3323121071, 0.0173668396, -0.390403986, 0.5856342316, 0.0974957719, -0.4480218291, 0.7550677061, -0.2971000373, -0.2698281705, 0.1324536204, 0.4910392761, 0.8018798828, -0.0425681621, -0.2647332251, 0.3474479318, 0.3543683887, -0.3776554465, -0.1667026579, -0.0949675217, -0.8087088466, -0.4403724372, -0.6295984387, -0.1437677145, 0.3188359141, -0.5869569778, 0.3936094046, -0.5419206023, -0.2074638456, -0.0510636345, 0.1441595703, -1.2224435806, 0.0322853252, 0.2593207061, 1.0295637846, -0.7853595614, 1.0129226446, 0.650971055, -0.3364204764, -0.8387969732, 0.0488990508, -0.194393307, -0.7329887152, 0.8656910658, -0.0462442897, 0.0745704696, -0.1840537041, -0.5112438202, -0.8233884573, 0.7852054238, 0.6190569401, -0.7156998515, -0.0301613864, 0.0318520404, 0.321239382, -0.3902685046, -0.1705655456, 0.3918304443, 0.2845097482, -0.1950057894, -0.6833102107, 0.1298853308, -0.0285994727, 0.2286447883, 0.3008203804, -0.3531468213, 0.7374516726, -0.2989596128, -0.304682672, 0.1563320607, 0.9344326258, 0.1767033935, -0.1610433012, 0.7552438974, 0.7478125691, 0.8949412107, 0.1436384916, 1.0804594755, 0.0541379116, 0.3745343685, 1.2411342859, -0.5171571374, 0.9477455616, 0.2368241102, -0.6388136744, 0.2722822428, 0.6208660603, 0.2821809649, 0.9164803624, 0.3441894948, 0.0390124768, -0.6572912931, 0.1551848352, -0.4112511277, 0.4523480237, 0.4141730368, 0.0580038093, -0.3390796781, -0.0989689603, 0.1996026784, 0.3636994958, -0.2456273586, 0.7804526687, 0.0685192198, -0.3791416585, 0.6369183064, -0.1688375771, 0.8442863226, -0.9507920742, 0.2071371824, -0.2099352479, 0.3417893648, -0.0011503955, -0.5780577064, 0.2726148665, -0.0698975548, -0.4366740882, 0.0025676924, 0.6558204889, -0.3154112399, -0.6263632178, -0.0017923274, 0.5036183, -0.0057177595, 0.0143867172, -0.4506604671, 0.029471945, -0.2840049267, -0.0990060046, 0.4740724862, 0.391386658, -0.112309888, 0.7220625281, 0.769728303, 0.5189355612, -0.0894500166, -0.0931020379, 0.7226402164, -0.6375918388, -0.6655108929, -1.0193858147, 0.331096828, -0.2777465582, -0.1004150733, 0.6962461472, 0.8163676858, 1.0981360674, 0.1157451943, 0.8169714808, 0.3503589034, 0.7121085525, -0.4808589518, 0.8280081749, -0.5721874237, 0.2093875855, -0.2665933073, -0.6230928898, -0.1859719902, 0.8767379522, -0.1435607523, 0.0013548995, 0.4558190405, 0.7232108116, -0.2507093251, -0.1057954505, 0.2158744782, -0.1698655486, 0.4194273353, 0.3735516667, 0.7416431308, -0.10818737, 0.4291365147, -0.5228562951, 0.0095421672, -0.2024437785, -0.9147664309, -0.9043831229, -0.6892891526, -0.051653605, 0.0071928096, -0.0365525112, 1.1141006947, 1.3884322643, -0.7057783604, -0.3046824038, 0.0352874473, 0.1018404588, -0.1436005831, -0.1654918194, 0.3766940832, -0.6096349955, -0.5053700209, 0.1029961631, 0.0595657863, -0.0085405624, -0.258843869, -0.4819263816, -0.1696527153, -0.1513865888, 0.3886498213, 0.2765734494, -0.7316609025, -0.3783252537, -0.0539031737, -0.4684934914, -0.0203568581, 1.0427796841, -0.9256205559, 0.3604226112, 0.2344245911, 0.9495731592, 0.6163791418, -0.1723977327, 0.7915167809, -1.1079969406, 0.554915905, 0.3503759801, 0.6199561954, 0.5053138137, -0.2407548428, 0.5536351204, 0.1587719321, -0.3700019717, -0.9043233991, 0.1355204582, -0.6321738958, -0.2180340439, 1.1185337305, -0.0001050225, -0.0352469683, -0.0911724567, -0.1578485072, 0.0320110396, -0.5908309817, 0.3087503612, 0.6359626651, 0.1613949984, 0.072782293, -0.6736696959, 0.5886711478, 0.4242725968, -0.7285661101, 0.3222597837, 0.228669107, 0.2417486608, -0.0720922053, 0.8760499954, 0.2542113066, 0.1018225923, 0.0546364821, -0.0053689987, -0.2612955272, -0.1889586151, -0.0751485229, -0.2055757493, 0.3264645934, -0.3957827687 ]
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.2621902823, -0.7796074152, 0.125722453, 0.2589769661, -0.1207758337, 0.1451675445, -0.0184201784, -0.6472434998, -0.0431002676, 0.8111636043, -0.4082774222, -0.4622402191, -0.5780015588, -0.0441153497, -0.1753126532, 0.8406169415, -0.0314788148, 0.3694941998, -0.1184848025, -0.0565037765, -0.6256421208, -0.6550838351, -0.3354064226, -0.4922479391, 0.0782039464, 0.5862192512, 0.9814624786, 0.4039806724, 0.7295147181, 0.11727608, 0.0654804111, 0.2244681716, -0.5990658402, -0.2862547636, -0.0464130454, -0.871016264, -0.6829471588, -0.0008511964, 0.2744480073, 0.5241347551, -0.0463373289, 0.4841112196, 0.0201878585, 0.545866251, -0.7336989045, 0.4905401766, -0.767807126, 0.1212309301, -0.0702792779, -0.0044987351, -0.6622762084, -0.7059582472, -0.1110202596, -0.3518311381, 0.251083374, -0.132953465, 0.8561610579, 0.2307325304, -0.2633382976, -0.6625258923, -0.4515738785, 0.7083743811, -0.7715592384, -0.0544767268, 0.67677176, 0.4864552617, -0.477443099, -1.0349349976, -0.1387203783, -0.3329341412, -0.0898316279, -0.0511730462, -0.3451851606, 0.1081187427, 0.2039449364, 0.8407734036, -0.5506048203, -0.0312177557, -0.7056823373, 0.0012960619, 0.1460567415, 0.096934922, 0.4803561866, 0.1506760716, -0.1815179884, 0.3170039058, -1.2191978693, -0.0885574967, 0.3960860372, 0.3148871064, -0.2545632124, 0.844403863, 0.0419467948, 1.1006020308, 0.0505637415, 0.0014615465, 0.0352549553, 0.0094544664, -0.5307903886, 0.2091985047, 0.3452666402, -0.0808129013, 0.568400085, -0.1053386331, 0.0016245898, 0.4066968262, 0.5674521327, -0.9627258778, -0.4600054026, 0.0303775594, -0.647700727, -0.4232572317, 0.1498363316, -0.5357385278, 0.0589730367, -0.1069133803, 0.5919763446, -0.4267864823, -0.375492841, 0.7618983984, 0.3354707062, 0.0564935766, 0.0674546957, -0.9066577554, 0.2557826638, 0.7108442783, 0.8469982147, 0.1703778356, -0.0920359716, -0.7214938402, 0.1908136606, -0.6828072071, 0.527898252, -0.811861515, -0.5602382421, 0.158986643, -0.0434081107, -0.134817645, -0.624789834, 0.361350596, -0.8197293878, 0.4280117154, -0.0372737385, -0.5845422149, -0.4758941531, 0.0638608113, -0.8095527887, 1.2389487028, 0.3415602446, -0.8256337047, 0.3969151676, -0.8462474942, -0.2156864107, 0.1496155262, -0.0597697161, -0.4403483272, 0.3505664766, -0.0743627623, 0.2337174714, -0.4827809334, 0.4557045102, -0.2299312949, -0.4820951223, 0.0176006239, -0.0119973896, 0.8389210105, 0.5579401255, -0.4575285912, 0.1341029257, -0.8911286592, 0.1561959088, 0.2395845801, -0.5263716578, 0.0273230113, 0.0354166329, -0.2902954221, 0.1555305421, 0.4114823937, -0.3061087132, 0.2707033157, -0.3306345642, 0.3685417771, 0.1423260272, -0.1389811337, 0.2490301132, -0.6788637042, 0.8099156022, -0.1569848061, 0.0145383738, -0.4292764962, -0.9289142489, -0.7447881699, -0.5359426141, 0.16200611, 0.3601773381, -0.5568357706, 0.3271971047, 0.1145125404, -0.6302432418, -0.5565216541, 0.0301448628, 0.9788926244, 0.3632089198, 0.3843934238, -0.2819918096, -0.5146650672, -0.6611854434, -0.1938276887, -0.3741184175, 0.0535543635, -0.0289688408, 0.2659897506, -0.1981186122, 1.0758004189, -0.6492543817, -0.0738470778, -0.4259454906, 0.2556629479, 0.1704415977, 0.5282329917, 0.8782898188, -0.5552544594, -0.2217656821, -0.2287634462, -0.7099401355, -0.3004445732, 0.3248336613, -0.2230851501, 0.2969016135, 0.3187750876, -0.3785722554, 0.6255132556, 0.7143221498, -0.3584976792, 0.6261258125, -0.3181766272, 0.1207277179, -1.4109369516, -0.0678386986, -0.4129596353, -0.2851748168, -0.4942285717, 0.7749611139, 0.2285737395, -0.3036921918, -0.5574829578, 0.4155236483, -0.7907996774, -0.4221395552, -0.2640596032, -0.1813365668, 0.0825967416, 0.4160906076, 0.0012191599, 1.0806324482, 0.7068735957, -0.7086049318, 0.0192541815, 0.3306015134, -0.5159948468, -0.1462254226, -0.7958262563, 0.230154261, 0.0631375983, -0.2039624602, -0.8225089908, -0.4049703181, 0.0084139323, -0.461743325, 0.300614059, -0.4613419175, -0.76741606, -0.4368159771, 0.0652433187, 0.4348575771, 0.7342792749, -0.831017673, 0.3920652866, 0.3758162856, 0.0500243269, -0.3270434141, -0.6799034476, -0.0662042201, -0.0126151051, -0.7504960895, 0.1858094633, -0.1207624152, -0.3285361528, 0.0036351783, 0.0476615354, -0.3425574005, -0.0080151707, 0.3195776045, 0.4554724097, -0.5918800831, 0.0933859274, -0.027702406, -0.0354254246, 0.0151264705, -0.1445851922, 0.7794910073, -0.3679186404, -0.5432774425, 0.2839671075, 0.2610999048, 0.5330232978, -0.6625784039, 0.6399720907, 0.3598495126, -0.6463019848, -0.2191789895, -0.2302102447, 0.2092331052, -0.511950016, 0.2767526209, -0.6950460672, -1.1963894367, 0.5024595857, 0.1226543784, 0.1828884333, 0.2135714591, 0.9435607791, 0.7044039965, 0.9632304907, 0.8495854735, 0.1819061786, 0.1583488286, -0.0498154052, 0.3655473292, -0.1989102364, -0.3472069502, -0.7654921412, 0.2939163744, -0.2644639611, -0.6356274486, -0.0559360273, 0.6672232747, -0.3611560464, 0.7879926562, -0.5718032718, 0.4578222036, 0.60875386, -0.0378226675, 0.4331010878, -0.0560644083, -0.3569871783, 0.1203830838, -0.9062831998, -0.8757682443, 1.0634301901, 0.3738005757, 1.0542228222, 0.4620367289, 0.577227056, 0.1870886981, 0.2934004366, -0.5537649989, 0.4728002548, -0.0796396434, -0.84895432, 0.3665608764, -0.3380862772, -0.7186778188, -0.2258200645, -0.0462046117, -0.8146846294, -0.198206082, 0.193237409, -0.2424165308, 0.4740905166, -0.9088215828, 0.7548430562, 0.1994779408, -0.2756153345, -0.369549185, -0.2810602486, 0.8188436031, -0.2586016357, -0.1343299448, -0.1302856803, 0.3080075979, 0.3944010735, -0.7011657357, 0.7680054903, 0.0816707313, -0.331152916, 0.7265509367, 0.6632806063, 0.3089655936, 0.1860720515, -0.0987500474, 0.1820232719, -0.1332584918, -0.5603669882, -0.2369918376, 0.6078990102, -0.6018494964, -0.4253085256, -0.0781788081, -0.4283975959, -0.144985497, 0.1631654501, 0.5605934858, 1.0436216593, -0.0828982964, 0.0357373133, 0.7854514122, -0.3543560505, 0.5912495852, 0.5422282815, -0.6908502579, -0.1920271367, 0.464648962, -0.2606922388, 0.4011972249, 0.3932240903, -0.1769108921, -0.0348941125, -0.3585417867, -0.3915991783, -0.0880524218, -0.6778038144, -0.4413998425, -0.6695123911, -0.359531939, -0.2837569714, -0.3982003331, -0.4902250171, -0.442110002, -0.5103405118, -0.0086038942, 0.5168417096, 1.2044939995, 0.0602221824, 0.4169232547, -1.1570081711, 0.5112367272, 0.2082951814, 0.5724010468, -0.3623708785, -0.3179795146, -0.4331885576, 0.1083825007, -0.304487288, -0.9455186725, 0.3358211219, 0.0997005776, 0.4509946704, 0.5774723291, -0.1395650804, 0.4548908472, -0.4465048611, 0.8898823857, 0.4087914228, -0.9681013823, 0.5248131752, -0.408769697, 0.2930772007, 0.3126258254, 0.2940540314, 0.2295071781, -0.3307263851, -0.4017292261, -0.1889931709, 0.5270344019, 0.2388876975, 0.0459317863, -0.4915804565, 0.1610984802, 0.3670256138, 0.2038842887, -0.5270878673, 0.013824123, -0.3050621748, -0.2302259803, 0.1314210743, -0.5390277505, 0.0625398979, 0.1477109045, 0.5968946218, -0.2523778379, 0.5213089585, -0.1010660902, -0.2786238194, -0.2271609902, 0.0326618254, 0.7439777255, 0.9824332595, -0.3780098259, -0.1177265868, -0.2954086065, -0.7745242715, 0.0328358486, -0.0211733356, 0.0373957977, 0.0847783312, 0.4276505709, 0.6649580598, 0.4571396708, -0.7221796513, 0.4420880377, -0.0922708884, -0.2736874819, -0.3115659654, 0.4547103047, 0.0451840498, 0.1184061021, 0.1291932464, 0.1526284963, -0.0899710283, -0.6818273067, 0.3751010895, 0.2090940624, -0.4427929521, -0.2726487815, 1.1414840221, -0.0662760437, -0.5631987453, 0.2315027863, -0.3491953909, -0.3510617912, 0.8109551668, 1.0107495785, 1.0319042206, -0.1011281982, 0.3092886508, 0.2998661399, 0.2541207075, -0.2271330953, 0.6810485721, 0.2524764836, -0.6757378578, -0.6555979252, -0.6828825474, -0.422521323, -0.0660950318, -1.0119518042, 0.5509734154, -0.5797360539, -0.2015850395, -0.4303829372, 0.0099987928, -0.4465039372, 0.1395335197, -0.2202186733, 1.5141363144, -0.4019202292, 1.1054126024, 0.9078000784, -0.4848479033, -0.8772429824, -0.0821551234, -0.1859661341, -1.0344293118, 0.592993319, 0.2372099161, -0.2271503359, 0.1392398924, -0.4875172973, -0.7925177813, 1.0233622789, 0.6010811925, -0.2399485111, -0.288025856, 0.0435379446, 0.3120689392, -0.7832090855, 0.2073671669, 0.3759007752, 0.0519624799, 0.0835851058, -0.7961350083, -0.2620004714, -0.4214061201, -0.0003635534, 0.3869656026, -0.682967782, 1.032823205, -0.4303008914, 0.0033858859, 0.5218907595, 0.3668987453, 0.4566950202, 0.0944169462, -0.0208324455, 0.8077862859, 0.4892002344, -0.15633367, 0.8810687661, -0.8511661291, 0.3586529791, 1.3402805328, -0.3508011699, 0.5938594341, -0.2723512053, -0.0622121692, 0.5366582274, 0.7436751723, 0.1451148987, 0.5522768497, 0.2073014081, -0.3861200809, -0.2007425427, 0.1992681623, -0.7081950903, 0.5509823561, 0.2639037669, -0.182817325, -0.4028464556, -0.2474012077, 0.2083600014, 0.1966501027, -0.5898569822, 0.5613851547, 0.071226269, -0.8082283735, 0.6708806753, 0.2902519107, 0.3393703699, -0.7367640734, -0.285903126, -0.1622163057, 0.1082146093, -0.1938141137, -0.4053869545, 0.4460104406, 0.1918440312, -0.1811029762, 0.0686145648, 1.0217703581, -0.4079034626, -0.5476561785, 0.4362608492, 0.3968272507, 0.0721908435, 0.089345552, -0.534868598, -0.1016474292, -0.0517492369, -0.1153388694, 0.2141107321, 0.3511318266, 0.0780155286, 0.7319070101, 0.4259894788, -0.0562129132, 0.63859725, 0.0274513382, 0.8669232726, -0.4875886142, -0.6215068102, -0.5603196025, 0.3313257396, 0.2819181383, -0.362018466, 0.6724835038, 0.801862359, 0.7223712802, -0.3188335896, 0.6330112219, 0.0174806677, 0.4921642542, -0.7969732881, 0.6336910129, -0.2767528892, 0.2183192819, -0.2774990201, -1.0582549572, -0.3399654031, 0.4048428237, -0.0860527381, 0.0184753183, 0.7280982137, 1.0632469654, -0.2258661538, 0.2629771531, 0.5818066001, -0.179571569, 0.1479735523, 0.7753763795, 0.6556093693, -0.3087595105, 0.4306010604, 0.2401165366, -0.3953542113, -0.3215852976, -0.8171892166, -1.3343183994, -0.3060420752, -0.2107614875, -0.5080996156, 0.0641011894, 0.8941032887, 0.7283434272, -0.6859798431, -0.0899952278, -0.4573071003, -0.1513918191, 0.2341320962, -0.2695118189, 0.115447551, -0.7366229892, -0.6426979303, 0.4849384427, 0.4341020882, 0.127538994, -0.1924740523, -0.3469575346, -0.0091858394, 0.5467574596, 0.3942121863, 0.3331348598, -0.3797918856, -0.1176842749, 0.0640147626, -0.2723971903, 0.1374865323, 1.038436532, -0.7497318387, 0.5380033851, 0.4148424566, 0.6762880683, 0.421698153, -0.1157990247, 0.7444037199, -0.5462561846, 0.3947278261, -0.0596640818, 0.6963127255, 0.0592530146, -0.2602889836, 0.7565902472, -0.0423937365, -0.5031135082, -0.6284556985, 0.6275416017, -0.6462670565, -0.4012235105, 0.956410408, -0.5354880095, 0.0055903038, -0.1102921218, -0.1404459476, 0.2365652472, 0.0048426548, 0.6767898202, 0.5986173153, 0.2333093137, 0.0297073834, -0.7005815506, 0.5293576717, 0.3271526098, -0.8558251858, -0.3810888529, 0.5718458891, 0.1031330451, 0.0445631072, 0.805976212, -0.6171018481, 0.5165764689, 0.22007671, 0.3205312788, -0.3475375772, -0.5996736288, -0.2388589531, 0.4403710067, 0.4113196135, -0.3561211228 ]
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.2875674665, -0.6642866135, 0.502068758, 0.5679712892, -0.1878162026, 0.0439340733, -0.1088487953, -0.4452781379, -0.3352380693, 0.6187465191, -0.8913857341, -0.2440723479, -0.5553573966, 0.1918512732, -0.3480587602, 0.7483828068, -0.2125046253, -0.1605410874, -0.5958526731, -0.054594364, -0.5290948749, -0.5984248519, -0.2922281921, -0.2683155239, 0.2578527927, 0.4270344377, 0.348980546, 0.5826072693, 0.7152484655, 0.390090555, 0.1974281073, 0.4376498163, -0.1746441871, 0.2117524594, 0.0109613771, -0.192007035, -0.3776374459, -0.0067850212, 0.4591682553, 0.5735352039, -0.186463505, 0.2242759466, 0.102451086, 0.7303106785, -0.6428874135, 0.4284388721, -0.6560739875, 0.1874442846, -0.1440629065, -0.3915558159, -0.7896900773, 0.3515432477, -0.1702938974, -0.555796206, 0.4899665713, -0.0336724706, 0.8794786334, 0.2989992499, -0.6719262004, -0.4659341872, -0.8042224646, 0.6103337407, -0.1708022654, 0.2827207148, 0.400311619, 0.4126404822, -0.1555595994, -0.9756814837, -0.5296518207, -0.2159563452, -0.0275555942, 0.2141593993, -0.0404653735, 0.1071110219, 0.3085229993, 0.202671349, -0.6255297661, -0.1816629916, -0.4732194543, -0.32570225, 0.2692987621, 0.2235438824, -0.1800196469, -0.3397628963, -0.4718717933, -0.3565663695, -0.2724043131, 0.1628286391, 0.335991621, 0.2563439608, -0.1881082207, 0.9254351258, -0.3032425344, 0.630361855, -0.0936246887, -0.3283570409, 0.3323243558, -0.7438338995, -0.334649384, -0.4377411604, 0.5246027112, 0.3092814684, -0.071815379, 0.2208397985, -0.4430850744, 0.2140092552, 0.207832396, -0.86252141, -0.2625548244, 0.2012774646, -0.5230125189, -0.334418565, -0.0770763829, -0.6919772625, -0.2099214345, -0.2374547273, 0.1811876744, -0.2394045144, -0.3809224367, -0.0715149567, -0.426134795, 0.1473168135, 0.3956855237, -0.9787098169, 0.178156063, 0.6701363921, 0.8358942866, 0.3616689444, 0.0619003661, -0.6546912193, 0.1482833922, -0.1571947485, 0.8428744674, -0.5571584105, -0.4582359791, -0.0310459137, -0.2817069888, -0.035557963, -0.4732830226, 0.4931325614, -0.2829222679, 0.245190829, -0.0012277244, 0.0002422324, 0.0896497071, 0.4936239123, -0.6008884311, 0.9643038511, 0.3285565078, -0.478584677, 0.3948010504, -0.5903142095, -0.3012953997, 0.0967035592, -0.3969987929, -0.2953413427, 0.1487659216, 0.0863752887, 0.3950340748, -0.3012134731, 0.3032346964, -0.3307085037, 0.29427284, 0.2129616588, -0.5502650142, 0.2436506003, 0.3503783941, -0.2336281985, 0.1830911785, -1.3033480644, 0.0495455973, 0.238837257, -0.7580787539, 0.0737466216, 0.2069846988, 0.3640471697, 0.6425203085, 0.0500861928, -0.4646417499, 0.1612657756, -0.2238629311, 0.5877358913, 0.7996931076, -0.1993082017, 0.3253950477, -0.2222085595, 0.3344021738, 0.1477528512, 0.3100958467, -0.6275039911, -0.4495295584, -0.4873064458, -0.3707404137, 0.1284874678, 0.4227132201, -1.075158596, -0.3123951852, -0.021093905, -0.227943182, -0.2017179877, 0.3637196124, 0.6692221761, 0.7192382812, 0.268968761, -0.4373611212, -0.5486257076, -1.0408457518, 0.1628228426, -0.1669751108, -0.1511898339, 0.3542305231, 0.42258358, -0.2396432608, 0.8690648675, -0.4767283499, -0.2803648114, -0.0435070023, 0.6127911806, 0.0850334316, 0.6207071543, 0.5537583828, -1.3779164553, -0.1574860662, -0.1955061257, -0.5807157159, -0.1313873827, -0.1550849378, 0.1023415253, 0.47793293, 0.4361996353, -0.7253477573, 0.15125449, 0.6841381788, -0.3644171953, 0.6766472459, -0.2564435005, -0.1719684005, -0.8710051179, 0.1055151224, 0.084038347, -0.3024534583, -0.4006094038, 0.2001916021, 0.1362772882, -0.4978090823, -0.3496389091, 0.1537268013, -0.6460555792, -0.1388503015, -0.2000726014, 0.0198758487, 0.2516472638, 0.7469109893, -0.0892076492, 0.3726404309, 0.0434173979, -0.5509456992, 0.3156466782, 0.231065467, -0.2665491998, 0.5372161269, -0.5286437273, 0.2900936902, -0.2070484906, 0.2284295112, -1.1096862555, -0.5844257474, 0.2550471127, -0.4874611497, 0.5199347138, -0.1266292483, -0.6550744772, -0.3453157842, -0.1945339441, 0.2645977437, 0.148387149, -0.2889246047, 0.8294178247, 0.2135096639, -0.2114242017, -0.5292755365, -0.6628063321, 0.0689593852, 0.1628674567, -0.9380476475, 0.3759176135, -0.4190282226, -0.2878926098, -0.0945712551, -0.2747439444, -0.2116026282, 0.2298980653, 0.4382368028, 0.0922833011, -0.3166978955, 0.0183841586, 0.0274569113, -0.1771221161, 0.0757649466, -0.1047488749, 0.4760069847, -0.0974332765, -0.3373716772, 0.0235347431, 0.5871018171, 0.6954529285, -0.4603765607, 0.5031879544, 0.7757288814, -0.4632716477, -0.176184088, -0.4998630583, 0.1911558062, -0.5132380724, 0.3748320937, -0.6894928217, -0.8151622415, 0.1280041486, -0.2756533325, 0.3377809823, 0.6305273175, 0.7572618723, -0.0190188047, 1.3317104578, 1.0549249649, 0.6073614955, 0.3279859126, -0.1768969595, -0.1583383828, -0.4566661716, -0.7312734723, -0.7127579451, -0.1249620765, -0.3892263472, -0.4453198016, 0.3897193074, 0.1621036232, 0.3712140918, 0.0417025536, -0.4369195998, 0.1325997561, 0.3148981035, 0.0016739058, 0.181852594, -0.0152591411, -0.4915349185, 0.091139324, -0.5864879489, -0.4440488815, 0.8243188858, 0.3036803603, 0.2733775675, 0.3277159333, 0.2875401974, 0.3177602887, 0.3980230689, -0.658412993, 0.5109379888, -0.0873295739, -0.522583127, -0.0207334757, -0.4006108344, -0.4963445663, 0.413839817, -0.4262550473, -0.3266398013, 0.1273699552, 0.269415617, -0.2047042251, -0.2205675095, -0.8566762209, 0.7229809761, -0.0824365094, -0.4036383629, -0.0925853699, -0.818225503, 0.5680588484, -0.2512486279, 0.4836732745, -0.196993798, 0.0760932043, 0.46479249, -0.5664617419, 0.5927221179, -0.3368430138, 0.0974227116, 0.2883686721, -0.0540165491, 0.3179865181, 0.0262031909, -0.0433211103, -0.3047996163, 0.0312381964, -0.3533943295, -0.5819034576, 0.4096285403, -0.4015513957, -0.4261493981, -0.2787743807, -0.6638839245, -0.1117099002, 0.4298370481, 0.2682947218, 0.8454851508, -0.1401544213, 0.4356283545, 0.4786957502, 0.0389394946, 0.7263995409, 0.4840547442, -0.0717003718, -0.4522888064, 0.7434710264, 0.1028746888, 0.1458954513, 0.5674186349, 0.0563767329, -0.2566533983, -0.610330224, -0.6208451986, -0.1742432564, -0.8503515124, -0.2289571315, -0.7916205525, 0.0267810859, -0.577768743, 0.0078777429, -0.3525232077, -0.6281710267, -0.4098117054, 0.0419426449, -0.1746262014, 0.7215158343, -0.192935586, 0.1338562816, -0.7670087814, 0.5634667277, 0.2559931576, 0.2098218501, -0.3369317949, 0.0253367256, -0.1933071166, -0.0459490269, -0.6557092071, -0.6099233031, 0.3252809942, 0.3264124691, 0.4064108729, 0.3949868679, 0.0704867169, 0.6334597468, -0.4658838212, 0.6927862763, 0.2462475598, -0.7523095012, 0.5822930932, -0.2888410389, 0.2509765923, 0.4689874947, 0.1019144505, 0.0027721454, -0.1436521858, -0.4716572464, -1.0449908972, 0.4645067751, 0.2390843332, 0.1502358168, 0.0189756453, 0.316373378, -0.0017375795, 0.3829168677, -0.683005929, 0.0987942293, -0.4061738849, -0.1833715737, -0.1352028996, -0.6933692098, -0.1523609012, 0.1215332448, 0.3956928849, -0.3538807929, 0.2739973068, 0.4373893738, -0.3848955333, -0.1614708006, 0.2704807222, 1.2103391886, 0.7991538644, -0.2927930951, 0.2418711782, -0.3894889653, -0.4438326955, 0.0233328417, 0.2385798991, 0.0971049219, 0.1470106691, 0.4082280993, 0.5796905756, 0.2820279896, -0.7494454384, 0.4382138848, -0.165819034, -0.6358402371, -0.4582308233, 0.0100078331, -0.2532970607, 0.3653457761, 0.5772371292, 0.4221529663, -0.0190964472, -0.532969296, 0.2488289773, 0.3692636788, -0.2700803876, -0.2528892756, 0.8131771684, 0.272639662, -0.3858592212, 0.703166008, -0.2300676554, -0.3605852723, 0.6513305902, 0.681447804, 0.612377882, 0.0633472055, 0.1238743588, 0.11986655, 0.5588408709, -0.0269271713, 0.3071937263, -0.3913395107, -0.6316862106, -0.3933291137, -0.7826033831, -0.4487800896, 0.1032279879, -0.6065746546, 0.1802131087, -0.7505833507, -0.2945800424, 0.3336545527, -0.0952812582, -0.5180529356, 0.1624846011, 0.1594517678, 1.1650668383, -0.5674699545, 0.5488221049, 0.5560799241, -0.2909183204, -0.5403057337, -0.4010108709, 0.2969720364, -0.4640634656, 0.6194126606, 0.3845004141, -0.2320897728, -0.161649406, -0.6497508883, -0.4956111014, 1.0848892927, 0.2638190687, -0.3378870487, -0.0128627447, 0.1226277575, 0.3916153014, -0.4558420479, 0.098482646, 0.2110467851, 0.524962604, 0.350081116, -0.7664890289, -0.1502962261, -0.792728126, -0.0055699158, 0.0399013795, -0.6079746485, 0.943400085, -0.2279910743, -0.2430945635, 0.2730883658, 0.6776425838, 0.3767080009, 0.7458342314, 0.4838469028, 0.4536867142, 0.4406588972, -0.0939247608, 1.0419443846, -0.0377083234, 0.2335461676, 1.0078235865, -0.3442289233, 0.7806245685, 0.5387388468, 0.1762056202, 0.3648423553, 0.4852376878, -0.2083155364, 0.7142614722, 0.0751129389, -0.0551392734, -0.1523343772, -0.3047733307, -0.2718759179, 0.7875586152, 0.2932858765, -0.2561543286, -0.0595251732, 0.1998669058, -0.1139891222, 0.1528612822, -0.2755121887, 0.5993618369, 0.0017290141, -0.6232787967, 0.3553998172, 0.6745806336, 0.4065602124, -0.6937817931, -0.3241586089, 0.0046539758, 0.3435343802, -0.1481842995, -0.3730330169, 0.5635870099, 0.1074614376, -0.667912662, -0.7559400797, 0.895285964, -0.2506587505, -0.5053437948, 0.063821733, 0.2380264401, -0.2431701124, -0.1621529758, -0.5428639054, 0.0902821869, -0.1959544718, -0.351868093, 0.3629477918, 0.4906262457, -0.1059359238, 0.5942425728, 0.9578357935, -0.4548377991, 0.1440624148, 0.0046686311, 0.9452403784, -0.3063127398, -0.5255920291, -0.758056879, 0.6977615356, 0.0857135206, -0.2854674459, 0.4941398501, 0.7136662006, 0.8475158215, -0.1200713292, 0.5269492269, -0.0666993037, 0.1316317618, -0.7854091525, 0.5242242217, -0.6501491666, -0.0269160122, -0.4181562364, -0.605533421, -0.2301973999, 0.2535930574, 0.2848820686, -0.0891506001, 0.6719435453, 0.6569101214, -0.0140157994, -0.1055673957, 0.2600573599, 0.1798800528, 0.4484241903, 0.5650061369, 0.7127107382, -0.2568948865, 0.8488224149, -0.4229358733, -0.3458654284, -0.1210284829, -0.9970247746, -0.6218864322, -0.8597812057, -0.1372185349, -0.4154296219, -0.3490746021, 0.6528362036, 0.7428905964, -0.4161422849, -0.0329827666, -0.0240900517, 0.0424912721, -0.1482462436, -0.2226656973, -0.1134664863, -0.1016430929, -0.4590548277, 0.6082935333, 0.5603978038, 0.0700352639, -0.1811913699, 0.0082283141, -0.2986799181, -0.0110003278, 0.9955154657, 0.2207855433, -0.4630828202, -0.1609178036, 0.0236391444, -0.1091922522, 0.0238347761, 1.0510866642, -0.5906267762, 0.5042838454, 0.4628332257, 0.3893679082, 0.681109786, -0.0042186305, 0.4520503581, -1.1350640059, 0.3804103434, 0.0420253798, 0.3759335279, 0.2851194441, -0.3825152814, 0.508831203, 0.6096709967, -0.1697363257, -0.9717997909, 0.4197724462, -1.1706167459, -0.3025279939, 0.697381258, 0.0984891802, -0.1106036752, -0.1334753931, -0.088774249, 0.278885901, -0.1279112101, 0.6005504727, 0.7361448407, -0.1001417413, -0.4601942003, -0.6746366024, 0.1768757701, 0.2074252069, -0.6495896578, -0.1517481357, 0.7823228836, 0.1051190719, 0.4778869152, 0.9021561146, -0.2163886428, 0.2593877912, 0.1871770322, -0.1116061583, -0.7486316562, -0.7390213013, -0.3034859896, 0.8280668855, -0.0939325839, -0.1093676463 ]
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.3359995186, -0.9298601747, 0.8371314406, 0.2446705103, 0.0900508836, -0.1272850782, -0.5508303642, -0.4108676016, -0.302408278, 0.5286473632, -0.5135082006, -0.4267272353, -0.4628139436, 0.3239447773, -0.280857265, 0.7424131036, -0.3255318105, 0.0920166969, -0.2973071337, -0.2446356267, -0.7511781454, -0.5013831258, -0.5631103516, -0.2184192687, 0.3891767561, 0.6693862677, 0.8834522367, 0.2062124312, 0.5793341398, 0.2255876511, -0.0840323493, 0.0281153116, -0.2970903218, 0.2193444818, -0.265945226, -0.2436567247, -0.4975696504, 0.0815694332, 0.4544740021, 0.7155973315, 0.0626438484, 0.1498712599, -0.0307982806, 0.5012620091, -0.6284400225, 0.1940319538, -0.5482792854, -0.1226150915, -0.3497048914, 0.1268169582, -0.4977212846, -0.5180613399, 0.4472735226, -0.4968908131, -0.1040935591, 0.3193520308, 0.878516376, 0.0055856402, -0.2136689872, -0.5020903945, -0.8612473607, 0.7220685482, -1.0702270269, 0.5108965039, 0.2330575585, 0.5955631137, -0.2021062672, -0.6320000887, -0.5072814822, -0.6320074797, -0.1232989877, -0.1018150002, -0.2573738694, 0.0496653914, 0.2700264752, 0.4315329492, -0.6766449213, 0.5437099338, -0.245329693, -0.1513295174, 0.1974090785, 0.2841466665, 0.4757767022, -0.0377375521, -0.2477423847, 0.126330018, -0.9021975398, 0.0885621011, 0.2857384682, 0.8147732615, -0.0397611484, 0.8506259918, -0.350964129, 0.7773985863, -0.2086481601, -0.1043528244, -0.024078263, -0.6324857473, -0.3695433736, -0.2462918609, 0.7425176501, 0.2806068063, 0.2707403302, -0.1543356478, -0.3959594965, -0.0018065153, 0.0892635584, -0.5453600287, 0.2775765955, 0.3843271434, -0.4454435408, 0.0842978284, -0.3542685509, -0.4466844201, -0.3631166816, -0.2934747338, 0.5633388162, -0.5583127141, -0.3339961469, 0.3120743036, 0.0375691466, 0.0185054615, 0.4346289635, -0.6606563926, 0.4336315691, 0.5672687888, 0.7814719677, -0.416480571, -0.1577529907, -0.4120274782, -0.2514586449, -0.3756952584, 0.5779139996, -0.5676571131, -0.4097864628, 0.2743195593, -0.1632549167, -0.0717949569, -0.6163372993, 0.7947949171, -0.6978226304, 0.3853160143, -0.370955795, -0.6720571518, 0.1082986817, 0.1374191046, -0.7231710553, 1.131180644, 0.2760309875, -0.6152521968, 0.5351999402, -0.7113221884, -0.1962308586, 0.1749324352, -0.2079246789, -0.0315824002, 0.1226857007, -0.171858117, 0.4553447962, -0.4615749717, 0.2264744937, -0.2244894058, -0.2588311136, 0.3049270511, 0.0786990523, 0.6130333543, 0.4977661073, -0.2491426021, 0.4875134528, -0.8141536117, -0.124111861, 0.2541556656, -0.243126139, -0.5711535811, -0.1119627431, -0.2884011269, 0.2186976373, 0.1251680404, -0.6310604215, 0.1493247747, -0.3754847944, 0.524864614, 0.4805115461, -0.3133265674, 0.6126223207, 0.0336737595, 0.5608435273, -0.0794194341, 0.1666634679, 0.0277497005, -0.4316375554, -0.8197200894, -0.4080394208, 0.3028959632, 0.4041603804, -0.7481759787, 0.1003119722, -0.0077852006, -0.5001477003, -0.2828347087, -0.2116312385, 0.3407015502, 0.4068185091, 0.1385697126, -0.1403711587, -0.3372405171, -1.0052938461, -0.4845170677, -0.1996394247, 0.1154229417, 0.4469903409, 0.5591337681, -0.0710278898, 1.1757858992, -0.2837053239, 0.1211458966, -0.4758807719, -0.0504409038, 0.2857111692, 0.188272357, 0.4732182026, -0.381683439, -0.3059659004, 0.0272724908, -0.4883163869, -0.1812523305, 0.1624048799, -0.0932260826, 0.2717027664, 0.2911660671, -0.897223711, 0.3363952935, 0.4073363245, -0.4197058678, 0.7093920112, -0.1156220734, 0.0354172103, -0.5705673695, 0.0245347992, 0.0435229726, -0.0512960218, -0.868942678, 0.220770672, 0.3020076752, -0.2398697287, -0.4675503671, 0.8251805305, -0.4045114815, -0.2024465948, -0.1546559185, 0.285404712, -0.0098475236, 0.2181218117, 0.1795975715, 0.8940169811, 0.5322059393, -0.7409997582, 0.1897148788, -0.0282014012, -0.6569696665, 0.2041076571, -0.7102681398, 0.0459671021, -0.039527107, 0.0306371581, -0.8966817856, -0.1961046159, 0.1490703672, -0.1567612439, 0.0810069144, 0.2348490655, -0.7036516666, -0.2714759111, -0.1156393066, 0.2561202049, 0.4218178093, -0.2856251597, 0.4891013205, 0.0062937671, -0.362498045, -0.2932983637, -0.3257222772, -0.050396461, -0.2618210614, -0.6247729659, -0.0051625394, 0.0360621326, -0.5695593953, 0.0535029955, -0.2251159549, 0.1119180769, 0.2673729062, 0.0119546922, 0.3186056018, -0.49022156, 0.0108111305, -0.0943569168, 0.0558305271, -0.1892799139, -0.1937942952, 0.4628707767, -0.4180645645, -0.4653891027, -0.0754797459, 0.3567035198, 0.4256717563, -0.3124153614, 0.671138823, 0.2273473889, -0.4327122569, -0.3571813405, -0.409176439, -0.130504176, -0.4222156107, 0.2078908533, -0.5461096168, -1.2063685656, 0.3886768818, 0.1265809983, 0.1565981209, 0.4030081034, 0.7509874105, 0.1963465661, 0.8352157474, 0.5123029947, 0.448251009, 0.2974655032, 0.0191878378, 0.4177237451, -0.4967979789, -0.3240271807, -0.8508422971, 0.1421964467, -0.3894581199, -0.3066078126, 0.3042784035, 0.2043421566, -0.2701737583, 0.526158154, -0.0162503943, 0.2064644396, 0.6806060672, -0.2349214852, 0.3821989596, -0.1253957301, -0.2903418541, 0.0162703935, -0.6764304042, -0.96294415, 0.7845296264, 0.6283831596, 0.7742772698, 0.3224132657, 0.2675689161, 0.0525015183, 0.1982076168, -0.8704021573, 0.6816151142, -0.1428138763, -0.8096883893, -0.5018629432, -0.1608123481, -0.7728436589, 0.2896465957, -0.0718051717, -0.8715005517, 0.1246224791, 0.1255857497, -0.5897467732, 0.1025391445, -0.7372851372, 1.0538779497, -0.0901594013, -0.1571494341, 0.0406705923, -0.61429739, 0.3600738943, -0.0191502366, 0.200086087, -0.3328791559, -0.0980616882, 0.3777725697, -0.4576039612, 0.7082547545, 0.0203349106, -0.4394751787, 0.5185247064, 0.347311765, 0.4267822504, -0.3148810267, -0.1067464724, 0.1580505073, 0.0371561274, -0.1840229481, -0.7372533083, 0.5541668534, -0.6659644246, -0.7815015316, -0.2932862341, -0.4606017768, -0.7149677873, 0.3640680015, 0.1982139796, 0.6738455296, -0.3325465322, 0.119750455, 0.5693401694, -0.2769897282, 0.3913656473, 0.8066605926, -0.3159268796, 0.0627924576, 0.8017266393, 0.1493853331, 0.6268138885, 0.2554836869, 0.390663296, -0.2850763798, -0.8143563867, -0.6662909389, 0.0461123995, -0.7723092437, 0.0926429555, -0.6546720862, 0.01112122, -0.5675153732, 0.1539063156, -0.3405575156, -0.5220033526, -0.2365651131, -0.0408717431, 0.2152850926, 0.7339277864, 0.2795886993, 0.2758559883, -0.7326768637, 0.0086556682, 0.1445870697, 0.4275501072, -0.049835097, -0.4010120928, -0.1082769632, -0.181328088, -0.0270653553, -0.8775924444, 0.062655881, -0.0065411869, 0.7192802429, 0.1272835433, -0.098136045, 0.2164159119, -0.6597805023, 1.1394188404, 0.0115571972, -0.788782239, 0.5234487057, -0.4611265659, 0.1274148524, 0.4425887465, 0.4695016444, -0.4159215093, -0.4010749757, -0.4539834261, -0.6552111506, 0.7816035151, 0.4007647932, -0.096394904, -0.0985577181, 0.2379897982, 0.5899637341, 0.2407156229, -0.453704834, -0.2031763643, -0.1395478547, -0.2195501477, -0.0239979234, -0.1895268112, 0.0009856543, 0.2307643443, 0.6747310758, -0.0503845997, -0.0198147353, 0.0005315037, -0.0828693658, 0.1912423968, 0.7224351168, 0.645753324, 0.7056649923, -0.2588298917, 0.1349225491, 0.0546709113, -0.1846004277, 0.023952648, -0.1970528811, -0.3450737596, 0.0492115133, 0.3041226864, 1.1360197067, 0.0924973488, -0.8464752436, 0.469250232, -0.1368261278, 0.1665277034, 0.1779815555, 0.1237760186, -0.0220141932, 0.2333179265, -0.1254497916, -0.0713910088, 0.2772090137, -0.7319937348, -0.3563295305, 0.5193650126, -0.2165737003, -0.3069700301, 0.336461395, 0.3709494174, -0.3555628657, 0.2016820461, -0.1522704363, -0.0604012348, 0.3909742534, 0.6448463202, 0.8581238985, 0.0574344806, 0.1247130781, 0.1258868128, 0.4053486884, -0.217621848, 0.5002589822, 0.1963231713, -0.805749476, -0.4516168237, -0.4592749774, -0.7297343016, 0.3368110061, -0.5589177608, 0.2670457661, -0.2682208419, -0.3590545356, -0.1696913987, -0.1572610736, -0.8338857889, 0.2382220626, 0.0722497106, 1.2710707188, -0.746632874, 0.6751702428, 0.9388686419, -0.4106649458, -0.9832255244, -0.2270165533, 0.0330501013, -0.8195977807, 0.8235452771, -0.1481262445, -0.1656765342, -0.2998726368, -0.400298208, -0.9782301188, 0.7769104242, 0.2969211638, -0.48631832, -0.0852152184, 0.1093929037, 0.5070394874, -0.5235362053, 0.4042392373, 0.8540393114, 0.3444836438, -0.0061244327, -1.2825068235, 0.1069329083, 0.0643468499, 0.3389011025, 0.0809056982, -0.5167645812, 0.9749180079, -0.1750922501, -0.4041280746, 0.3722156882, 0.7532750368, 0.52611655, 0.2381785959, 0.4750089943, 0.2433001101, 0.5394262671, -0.1524289399, 1.1004319191, -0.0880836025, 0.1710532159, 1.1546894312, -0.6658469439, 0.808781743, 0.3933151662, -0.1872771233, 0.4110169709, 0.7715510726, 0.5080122352, 0.4440557361, 0.2480275482, 0.0563302822, -0.065538682, -0.2884310782, -0.3632020056, 0.28403759, 0.3479145169, -0.0301126596, -0.2883759439, 0.0077237003, 0.1506401002, 0.0732073635, -0.2841414511, 0.5596290231, 0.0636275709, -0.7931248546, 0.2794724405, 0.17748487, 0.5142204165, -0.5752958059, 0.1746189743, -0.2934398651, 0.0000344196, -0.0649553835, -0.8648280501, -0.0114227869, 0.2528351545, 0.0574103706, -0.2430396974, 1.085060358, -0.317558229, -0.1484508812, 0.1219575331, 0.8235144019, 0.1435218751, 0.0966642722, -0.3429709971, 0.4396108687, -0.454603225, -0.32102862, 0.2504015267, 0.5661598444, -0.3555233777, 0.5941314101, 0.2826585174, 0.240035668, 0.1508208811, 0.3635219932, 0.749974966, -0.5465109348, -0.3634798527, -0.7888580561, 0.4463162422, 0.0179408714, -0.5179168582, 1.139051795, 0.3566883206, 0.9056009054, -0.1332657039, 0.7778345942, -0.0132551175, 0.6793234348, -0.7366133332, 0.1396841258, -0.4460937083, 0.2078153491, -0.3453221023, -0.9244915843, -0.0570856035, 0.2953384519, -0.4783089161, 0.1000579745, 0.7821854949, 0.6259547472, 0.0947785676, 0.490413785, 0.2960009277, 0.217901662, 0.1979018003, 0.258993715, 1.3152118921, 0.0065347659, 0.1374462694, -0.0975336134, -0.4861531556, -0.3114666939, -1.0677448511, -0.887108326, -0.4185109735, -0.3075432181, -0.3747823536, -0.046413146, 0.9256461263, 0.5570087433, -0.9039306641, -0.388597846, 0.2425428033, -0.0151986871, -0.0467586033, -0.1863013059, 0.1092421412, -0.4565735161, -0.5605818033, 0.5640097857, 0.3512656689, -0.0174726993, -0.432741493, -0.1453224421, 0.0111359162, 0.3584545553, 0.8922452331, 0.2750613391, -1.0590367317, -0.5125542879, 0.3323690295, -0.3822517991, -0.2834173739, 1.1373845339, -0.5197483897, 0.2511945069, 0.6830176115, 0.5328271389, -0.0028614891, -0.2854567766, 0.59252882, -0.4956149161, -0.1413483173, 0.3014473617, 0.5549777746, 0.2507219017, -0.0069710738, 0.5092369914, -0.0403206311, -0.4849564731, -0.9790361524, 0.3668404818, -0.7958229184, -0.5448574424, 1.5239295959, -0.0812974796, -0.0201052129, -0.0826620162, -0.4148893654, -0.0363510586, -0.3568864465, 0.1313958019, 0.9747042656, -0.383525461, 0.1682836562, -0.7591459155, 0.6594332457, 0.4125565886, -0.659219265, 0.067609556, 0.4992235005, 0.2370695621, 0.1586482674, 0.8030616641, -0.145467788, 0.0256045163, -0.2174773365, -0.0048692189, -0.0215864684, -0.4681814313, -0.3920934498, 0.1777923405, 0.5019394755, -0.0471552536 ]
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.4941679239, -0.9939715862, 0.9747510552, -0.038558498, -0.1034264266, 0.2909644842, -0.3732157946, -0.8507663608, 0.5850892663, 0.5449876189, -0.4064941406, -0.5293229818, -0.6632636189, 0.2435121983, -0.7049206495, 0.7288595438, 0.0673739985, 0.0518813357, -0.3028632402, 0.1883531958, -0.1470416188, -0.2586872578, -0.5313892961, -0.0376016051, 0.7531593442, 0.1779947281, 0.5471071601, 0.7333436608, 0.9965074658, 0.3779832125, -0.3692416847, 0.1255091429, -0.3005945683, -0.0526431762, -0.3494614363, -0.3850344121, -0.2772039473, -0.0749802813, 0.6366000175, 1.0712224245, -0.0336783901, 0.2052235007, -0.2368312776, 0.3963518441, -0.2163003981, 0.4803076088, -0.7997189164, -0.1956703514, -0.6532182097, 0.0112429168, -0.1458672881, -0.3337425292, 0.1179479286, -0.951323092, 0.2467959523, 0.5151650906, 0.8001747131, 0.2893261313, -0.2318889499, -0.5572080016, -0.7866049409, 0.9011526704, -0.5108168125, 0.3996893764, 0.3113889396, 0.2671240568, -0.1522180438, -0.7979435921, -0.8270133138, -0.2151228487, -0.1174854487, -0.0028083315, -0.079257682, -0.1391884834, 0.1860768497, 0.2398737669, -0.5156977177, 0.4081952572, -0.614248991, -0.1545209736, 0.3661329746, -0.0151603399, 0.2921231389, -0.5183417797, -0.1860687286, 0.0828175768, -0.8210163713, -0.6075555682, 0.4167335927, 0.1692907661, 0.4193781316, 0.92628932, 0.0662894025, 0.5896962881, -0.1343634576, -0.3836291432, 0.194232285, -0.4564626813, -0.0100808358, -0.1067456156, 0.641051352, 0.097599335, 0.1294751018, -0.4800466895, -0.0015875387, 0.1774743199, -0.0049430733, -0.5365421176, -0.3083633482, 0.047025308, -0.456748575, -0.292882055, 0.070856832, -1.154476881, -0.4490817189, -0.3095517457, 0.1919761598, -0.3142516315, -0.5027546883, -0.2151901275, -0.2721108198, -0.1777704209, 0.3834956288, -0.8409596086, 0.3295500278, 0.8256697059, 0.6524995565, -0.3929397464, -0.3679546714, 0.2176106274, 0.5140656829, 0.0034363407, 0.5927640796, -0.7821938992, -0.5381007195, -0.3277679384, -0.1539934278, 0.1329229921, -0.5125542283, 0.2539933324, -0.9396326542, 0.1286558211, -0.1645894498, -1.1226011515, -0.3387161195, -0.0387105644, -0.960963428, 0.9686093926, 0.1527139246, -0.7303569317, 0.5309047103, -0.8541369438, -0.0218872931, 0.3006118834, -0.5316961408, -0.1388670951, -0.2136859745, 0.2942196727, 0.3398520947, -0.280076921, 0.2645168602, -0.4609463513, -0.0303184893, 0.10144867, 0.1007010639, 0.6160051823, 0.3803064823, -0.210455969, -0.2513281703, -0.6559311748, -0.4660915434, 0.2402826101, -0.248595193, -0.7829616666, 0.1769387424, -0.046215415, -0.1965448558, 0.4924970269, -0.7800181508, 0.5707495809, -0.3292736709, 0.2501021624, 0.4858552516, 0.2830079794, 0.6759383678, 0.2805345654, 0.2808231413, 0.1762736887, -0.0333562456, 0.0630920604, -0.6284244061, -0.5693547726, -0.1466396898, 0.1513492018, 0.2112553269, -0.9625401497, 0.5073898435, -0.3083912134, -0.7999176979, -0.3070398569, 0.1300448328, 0.1876948923, 0.8604747057, 0.3796497583, -0.0006330997, -0.5606621504, -0.7063530087, -0.1012548432, -0.3395113349, -0.0405893773, 0.3357439041, 0.7322931886, -0.4155222178, 1.0841633081, -0.8352891803, -0.0232524928, 0.0392397344, -0.0613622442, 0.2715336084, 0.2057453096, 0.7238715887, -0.9646093845, -0.183272928, 0.2484479547, -0.7534840107, 0.0397438742, 0.3171390891, -0.0990158245, -0.0131762028, 0.6055066586, -0.5839447975, 0.3714174032, 0.3625752926, -0.375736922, 0.533074677, 0.0830932781, 0.2867442966, -1.2425199747, 0.1626140624, 0.1215049848, -0.3111781776, -0.354001224, -0.0248840507, 0.0066007995, 0.1784156412, -0.2781917155, 0.535107255, -0.6232725978, -0.4779220521, -0.3375177085, 0.5425895452, -0.0845374092, 0.0956654176, 0.3760256469, 0.5640572309, 0.6647022963, -0.5414018035, 0.5234357715, 0.4482671618, -0.6571167111, 0.1528447121, -0.3279898167, -0.0597963706, -0.1002356559, 0.2423580587, -0.7968742847, -0.2843305171, -0.0193159152, -0.2148898691, 0.0690328106, -0.2026855797, -0.5968987942, -0.6136701703, 0.3149924576, 0.4172548652, 0.4682813883, -0.5073161125, 0.2641948462, 0.8256106377, -0.5189270377, -0.4279375076, -0.3905717731, 0.0299180504, -0.6366027594, -0.5539395213, 0.2612574399, 0.1377043575, -0.56637609, 0.2019779235, 0.1419669688, -0.2017706633, 0.1836464703, 0.2720274627, 0.5925045609, -0.1440818608, 0.3666405082, -0.1553141922, 0.0412599333, 0.0467796624, -0.5547010899, 0.4335613251, -0.0135599002, -0.3825025856, -0.021334365, 0.1454538554, 0.3016144931, -0.0390279517, 0.9176707268, 0.5582895279, -0.5847540498, 0.1002025604, -0.6376505494, -0.4233216941, -0.4325128496, 0.6403445601, -0.129985854, -1.1847609282, 0.6999934316, -0.5136626363, 0.0626980141, 0.625420928, 0.6039486527, -0.1572933942, 0.4241661727, 0.6281865835, -0.3803167641, 0.3837593794, -0.1514495611, 0.1781392843, -0.8558061123, -0.1104076952, -0.8113059998, -0.1797491461, -0.3702774942, -0.646599412, 0.5028697252, 0.296518594, -0.0823422819, 0.4571121931, -0.4094073474, 0.7615087032, 0.2689759135, -0.2301638722, 0.588950634, 0.015059296, 0.1390829235, -0.0429798514, -0.3423021734, -0.7156217694, 1.1963382959, 0.1680252403, 0.7078811526, 0.3737770915, 0.79693681, -0.0144344429, 0.5578331351, -0.4492154717, 0.4025841653, 0.0637580901, -0.7741972208, -0.5600349903, -0.8357268572, -1.1314889193, 0.1251755506, -0.0848070309, -1.1706548929, 0.0454536192, -0.1127040684, -0.0269056484, 0.3226442635, -0.6496892571, 0.5867276192, -0.011974778, 0.1712728441, -0.1694706678, -0.5686353445, 0.4764437079, -0.5634454489, 0.6091274023, -0.0465060323, 0.0205891225, 0.9365724921, -0.0622324646, 0.6930183172, -0.2345069051, -0.0911245719, 0.3829081059, 0.1888705045, 0.495977819, 0.1878208369, -0.2568844855, 0.3777706921, -0.0180880148, -0.2570055723, -0.3280600607, 0.9665771723, -1.0306261778, -0.5090624094, -0.0534892194, -0.4733971059, -0.1054578424, 0.4529620409, -0.0729095638, 0.1229134724, -0.2239919156, 0.0339244902, 0.3610141277, -0.1707960963, 0.4433832467, 0.6170303822, -0.8376542926, -0.0573066697, 0.8095496893, 0.044622764, 0.170259729, 0.3302001059, 0.0258000176, -0.4712444246, -0.7314277887, -0.199042201, 0.4932561517, -0.6787178516, -0.1777779013, -0.5690211058, 0.0158678312, -0.5271259546, -0.021232767, -0.249391973, -0.6561146379, -0.3249382377, -0.2923192084, 0.4564548433, 1.1785081625, 0.2616046071, 0.3418224454, -0.779651463, 0.0188585538, -0.210943982, -0.1265850514, -0.0852751508, -0.0543612763, -0.3986839652, -0.2003669888, -0.1880017221, -1.0698325634, 0.3581015766, 0.0735642165, 0.5772910118, 0.2775840163, -0.3534370661, 0.7199954391, -0.5294695497, 0.9109802246, 0.3605853915, -0.7122069001, 0.4876739085, -0.5855626464, -0.1910399944, 0.3615530729, 0.3761137724, -0.4972151816, -0.6184414029, -0.6230515838, -0.9299390316, 0.377161026, 0.2864521444, -0.3955456018, -0.0943227559, 0.8276218176, 0.2690256536, 0.3803804815, -0.7475835681, -0.2889610529, 0.261531949, -0.1755007207, -0.2078340501, 0.2129428834, -0.2377882451, -0.0007015312, 0.4939747751, 0.021806445, 0.0668577403, 0.1266808957, -0.3058741987, -0.1760968566, -0.1560980827, 0.1606705636, 1.1025907993, 0.072856687, 0.1337750405, 0.0605138242, -0.6426112652, -0.3420809805, 0.1748400629, -0.0950605944, -0.0683021843, 0.4360502958, 0.4784183502, 0.0665117949, -0.4174233675, 0.2840878963, 0.0561377704, 0.040723037, -0.4387733936, 0.0269553885, 0.5853082538, 0.3517436981, 0.4725448489, -0.0446118303, 0.2506819963, -0.2388248593, 0.1869221181, 0.2147129476, 0.0841096342, -0.2629099786, 0.6549580097, 0.2176435292, 0.0899326131, 0.5040470362, -0.1694247574, -0.2827182412, 0.8356680274, 0.3183556795, 0.3099306226, -0.0015180713, 0.1848420501, 0.2972780466, 0.2748893797, 0.1350971162, -0.0877464563, 0.1741582155, -0.7492642403, -0.7045585513, -1.0273922682, -0.4838398099, -0.125982821, -0.3962354958, 0.170857355, 0.0504843853, -0.0138956448, 0.5134621263, 0.1178634763, -0.7894430757, -0.0723494217, 0.2538550198, 0.8807117939, -0.6933929324, 0.9704747796, 0.7568135858, -0.5029892325, -1.0925389528, -0.3392228782, 0.1711269766, -0.823848784, 0.8438073993, -0.2381328642, 0.1981298327, 0.1999201626, -0.477666676, -1.1870158911, 1.3523751497, 0.1262339354, -0.9757351875, 0.0176025406, 0.1735780686, 0.5596089959, -0.2996045351, 0.2869239748, 0.6267387271, 0.8653380871, 0.1514419764, -1.0143494606, -0.1925952137, 0.0316123515, -0.1730738431, 0.5738084912, -0.5668019652, 0.84897089, 0.1174031273, -0.1135771871, 0.2232822627, 0.9257668257, 0.2355049253, 0.306412071, 0.436604768, 0.5115022063, 1.1213380098, -0.2132418752, 0.8958489299, -0.337159425, 0.8840449452, 0.7169195414, -0.5673792958, 0.5208542943, 0.9550387859, -0.4639017582, 0.4429083169, 0.7315674424, 0.0161118973, 0.2829934061, 0.1973246336, -0.2259921134, 0.1962222606, 0.1111268252, -0.2829008996, 0.3673381805, 0.6634532213, -0.2812533975, -0.3572892845, -0.0276987702, 0.2882612646, -0.1690368205, -0.3252140284, 0.8342795372, 0.1308161318, -0.7322112918, -0.1466271132, -0.0167244673, 0.405110091, -0.5899323225, -0.0397023857, 0.0193623081, 0.0836414024, -0.2978144884, -0.7874352932, 0.3246490359, 0.1911484748, -0.1712028086, 0.0987490267, 0.7614539862, -0.5222878456, -0.6883054972, 0.2548769116, 0.7323385477, 0.5537644029, 0.1226551533, -0.3716862798, -0.1575224698, 0.0929500759, -0.5063816905, 0.258944869, 0.5109616518, -0.0447068512, 0.3992357552, 0.7571021318, 0.3910076022, 0.2416754216, 0.006783322, 1.0706927776, -0.7332412601, -0.3582630455, -0.8325053453, 0.1907502562, -0.2965171933, -0.2354754806, 1.0811327696, 0.5976599455, 0.590013206, -0.1061217487, 0.8215874434, -0.3782704175, 0.7059372067, -0.4075525701, 0.6599172354, -0.4127606153, 0.4411287606, -0.5311710835, -1.3764492273, -0.2541511953, 0.4400793016, -0.3846059442, 0.0073890211, 0.7490867376, 0.7639949322, -0.0899922773, 0.1481349021, 0.1414892226, 0.4401032329, 0.6854958534, 0.3615586162, 0.8824473023, 0.0803523362, 0.387172848, -0.0840488747, -0.4210094512, -0.0978484526, -0.8559756279, -0.6352923512, -0.6787365675, -0.1843791604, -0.132006228, -0.2752036154, 0.5094836354, 0.4734288454, -0.5095832944, 0.017273007, -0.0912865251, 0.0970380604, 0.1676895916, -0.2781625688, 0.5835171938, -0.0680621639, -0.9441800117, 0.6557805538, 0.3327872157, -0.072472401, -0.5705882907, 0.0269587561, -0.0217414815, -0.1438395083, 0.1926994324, 0.0625016466, -0.5344535708, -0.5226556063, -0.0259571299, 0.004877978, -0.3350305259, 0.5588582754, -0.5746538043, 0.2286481857, 0.1462253779, 0.5495857, 0.6893531084, -0.0002920982, 0.1368605047, -0.7929974198, 0.3046477437, 0.205534175, 0.6254068613, 0.1301652789, -0.4351571798, 0.6470876932, 0.4460678101, -1.0153890848, -0.6627066135, 0.3063635528, -1.1423566341, -0.3830372989, 1.3894690275, -0.1318005025, -0.410746485, -0.1134558693, -0.2126173973, 0.134029448, -0.2745373249, 1.0474017859, 0.9885215759, -0.3180667758, 0.1846588254, -0.4204446375, 0.304923296, 0.1023003981, -1.0593960285, -0.2210832983, 0.6772440076, 0.2900343835, 0.7102559805, 0.3668593466, -0.2771224976, -0.1363050789, -0.05110972, 0.2949962914, 0.0165252779, -0.2442686409, 0.3000833094, 0.112850152, 0.0176231749, 0.1930578202 ]
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.4233603179, -0.7466591001, 0.5198654532, 0.1210557148, -0.2336613983, -0.0407345891, -0.2030740082, -0.2350788414, 0.1235526055, 0.5189220905, -0.5715069175, -0.4286080599, -0.7998579144, -0.1547599882, -0.2943928242, 1.077914834, -0.2641661763, 0.0243369602, -0.1851503104, -0.3319629729, -0.1030003577, -0.8491934538, -0.560405612, -0.0796189085, 0.3440593779, 0.2120372355, 0.4912240207, 0.9126102328, 0.5486187935, 0.3591353297, 0.422241509, 0.437753886, -0.2401695549, 0.121442534, -0.0490741096, -0.2269764543, -1.1090714931, 0.1919733286, 0.7582662106, 0.5589087605, -0.262444824, 0.5146163702, 0.2241510749, 0.4880731404, -0.7316951752, 0.5338913202, -0.3936902583, 0.093242377, -0.3252266049, -0.1474799514, -0.2557783127, -0.3258303702, -0.2260047942, -0.4367051721, 0.0515116677, -0.1043347865, 0.2945659161, 0.3978079557, -0.6023511291, -0.0016259847, -0.5627655983, 0.8236846924, -0.7577576637, 0.6012814641, 0.2007288188, 0.1322910041, 0.2433307469, -0.5610283017, -0.463046968, -0.0795374364, 0.0651328266, -0.0757338852, -0.3830234408, 0.1814645827, 0.3126444519, 0.3142193556, -0.877387464, -0.2382542789, -0.2890646458, 0.0058086333, 0.311652869, 0.2830876112, 0.2745542526, 0.1650610715, -0.3630923629, 0.166848883, -0.7666244507, -0.1244321391, 0.4005703926, 0.2175644487, -0.0434579104, 0.7506395578, -0.1726702005, 0.6152229309, 0.0084868278, -0.1382693946, 0.435944885, -0.3027533889, -0.269203037, -0.2997550368, 1.0077617168, 0.1613020152, 0.1286392212, -0.2538709939, -0.2432126403, 0.0993106663, 0.0817558691, -0.9194139242, -0.0233011767, 0.0207246412, -0.2224522233, -0.2618728578, -0.2289918959, -0.6193662286, -0.0021679432, -0.5591577291, 0.6618272066, -0.1720633954, -0.4704409838, 0.144407019, 0.4439505339, -0.1445719004, 0.0897258073, -0.9284329414, 0.3877845407, 0.943520844, 0.7025231123, -0.127218008, -0.481944263, -0.8386913538, 0.1831341535, -0.1033329889, 0.2610070407, -0.5266947746, -0.2532555163, -0.1498703212, -0.1710164398, -0.4148974121, -0.2316613495, 0.5987308025, -0.5405333638, 0.2148699909, -0.1797821224, -0.505623281, -0.3328329921, 0.3876595199, -0.5878680944, 0.9996672869, 0.0219206493, -0.7727250457, 0.085331127, -0.9692197442, -0.3675990999, -0.0053832098, -0.276486069, -0.4337520599, 0.0802614912, 0.3532360792, 0.5682989955, -0.3750653565, 0.3683441579, -0.4448557198, -0.1346722096, -0.0385682993, -0.5966522098, 0.7033022642, 0.1487069428, -0.500944078, 0.1164946258, -0.3925564289, 0.2778893709, -0.0566423722, -0.3093005717, -0.2655815482, -0.1479512304, -0.1386291683, 0.2873337865, 0.6218676567, -0.4430184066, 0.3713679016, -0.1256078482, 0.4562493563, 0.6900022626, -0.4312354922, 0.4959870875, -0.3109894395, 0.6011351347, -0.2764756978, 0.1910923868, -0.0883752331, -0.4958490729, -0.5453047156, -0.4550398886, 0.2437411398, 0.7819061279, -0.6286824942, 0.3507635891, -0.6652023792, -0.4284696579, -0.4369856715, 0.2100218534, 0.5140027404, 0.3289550245, 0.3619003892, -0.0999593064, -0.2968170047, -0.7318664789, -0.4534193575, 0.093531996, -0.1089614034, 0.4492421746, 0.2359501272, -0.1009319946, 0.8284961581, -0.6000733972, -0.3177247345, -0.1678757668, 0.380325526, 0.2810839713, 0.6539765596, 0.3852522671, -0.775256753, -0.6427866817, -0.0060765287, -0.8137348294, -0.1437032074, 0.3456026018, 0.0198265463, -0.0066029858, 0.3035880625, -0.9460691214, 0.2808722258, 0.8167310953, -0.1552367359, 0.3217582405, -0.4945994318, 0.4773055613, -1.1520321369, -0.0053630997, -0.1467840225, -0.4169458151, -0.7514553666, 0.3291399479, 0.3503122628, -0.4214872718, -0.339692682, 0.3295785785, -0.5229372382, -0.1078158617, -0.4010814726, -0.1654871851, -0.3253810108, 0.7360188365, -0.1641745567, 0.8427649736, 0.7632947564, -0.3951615691, 0.2118408978, -0.0836858898, 0.2988809347, 0.5586363673, -0.4437496066, 0.4015410244, -0.025269771, 0.1519289911, -0.8458927274, 0.0585060008, 0.2741927207, -0.4751083851, 0.3219085336, -0.3643238544, -0.5195412636, -0.031313587, -0.2552731037, 0.9710167646, 0.3843118548, -0.4662518799, 1.1527293921, 0.414635092, -0.3912885189, -0.7697896361, -0.5023868084, 0.0870318934, -0.2422726303, -0.7464147806, 0.2203664929, -0.1861274391, 0.1402081996, 0.1874171644, -0.2695563138, -0.2843416333, -0.3492350876, 0.1409949213, 0.3569225073, -0.2683998942, -0.1796706617, 0.0152032422, -0.3388874531, 0.0771848783, -0.6307070255, 0.4770747125, -0.1039249077, -0.6115325689, -0.0797734931, 0.4352535605, 0.888291657, -0.6609782577, 0.6047898531, 0.7503496408, -0.4271991253, 0.0058120759, -0.7281524539, 0.0706613883, -0.477986306, 0.3496025205, -0.4918479621, -1.0965147018, 0.4023628533, -0.0019255361, 0.4063867331, 0.3155310154, 0.5314817429, 0.36332497, 1.0274338722, 0.5768262148, -0.1891696453, 0.3561842442, -0.1560440361, 0.3395293355, -0.8560304642, 0.1031107754, -0.3391142488, -0.1563115865, -0.6479951143, -0.7669529319, 0.6293110251, -0.4105753601, -0.3891477883, 0.3725682795, -0.3381159902, 0.5996579528, 0.5302756429, 0.3304333091, 0.3718520701, -0.0889731348, 0.0881621093, -0.1198713481, -0.4530778527, -0.0936860219, 1.497651577, 0.0831347331, 0.6159686446, 0.2480963916, 0.8419662118, 0.1965236068, 0.3024409413, -0.5149342418, 0.7037601471, -0.5189148188, -0.5877656937, -0.3886051178, -0.9060328603, -0.6607757211, 0.7123600245, -0.0873132646, -0.5751588345, -0.1046851352, 0.1774378121, -0.0675241873, 0.5014171004, -0.4516154528, 0.9765716791, -0.158896029, -0.449729085, -0.332024008, -0.414865911, 0.6752232909, -0.4037029743, 0.5015426874, -0.103241384, -0.2450232506, 0.729329288, -0.3663396537, 0.7015562654, -0.2026040405, -0.0096871993, -0.0983816311, 0.3018793762, 0.9383538961, -0.1964289695, 0.3367759585, 0.3094021082, -0.3071947694, -0.3461228907, -0.5177947879, 0.7668201327, -0.4339508414, -0.586491406, -0.3049474955, -0.9266378284, -0.3845018148, 0.4105779231, 0.0030307993, 0.7385783792, 0.1960055977, 0.153285563, 0.6221800447, 0.1398301572, 0.3085401058, 0.7002496719, -0.1187225431, -0.6207415462, 1.0299785137, 0.1732845902, 0.23030065, 0.5537400842, 0.2107414752, -0.4038527608, -0.3954983056, -0.421938777, 0.1172278523, -0.5846431255, -0.1648316532, -0.80893749, -0.0459925495, -0.3510224223, 0.0665397421, -0.4739783406, -0.5176003575, 0.1681713909, -0.0444540717, 0.0409167036, 0.5924854875, -0.3430874348, 0.2617305219, -0.9804393053, 0.5140960813, 0.4807113707, 0.2920464575, 0.0059981486, -0.3659032881, -0.1418453604, 0.0667972937, -0.3106737733, -0.7727597356, 0.4009425044, 0.1379039586, 0.5801995993, 0.3109184802, -0.0380932763, 0.5442219377, -0.8411923051, 0.4398716688, 0.302710861, -1.1910457611, -0.092895031, -0.5664590001, 0.0697234645, 0.2653867006, 0.2771344483, -0.3209173381, -0.4469025731, -0.5835387111, -0.9098868966, 0.6379309893, 0.2844740152, 0.0311935768, 0.3297204971, 0.1236895025, -0.1563959867, 0.4499732852, -0.879864037, -0.5219822526, 0.0065608947, -0.4831441045, -0.1067776084, -0.0869093388, -0.2156739086, -0.2752735019, 0.4133006036, -0.0036883831, 0.2407007515, -0.3987793326, -0.1212474331, 0.0114882626, 0.300644666, 0.5281308293, 0.6689750552, -0.0829015151, 0.3550603092, 0.3494820297, -0.6220679283, 0.314661473, 0.3870722651, 0.0202076081, -0.117836751, 0.2138528377, 0.4995217025, 0.4399453998, -0.2629702687, 0.7106018662, 0.0893660709, -0.4717207849, 0.0165058486, -0.0574764982, 0.1382183731, 0.3767132759, 0.2801517844, 0.1197260246, 0.2630988955, -0.1705139875, 0.4266503155, 0.5839319229, 0.0141510991, -0.2739417851, 0.9180300832, 0.1326038539, -0.0661099553, 0.3063679338, -0.2248054296, -0.7208210826, 0.3277308047, 0.38242203, 1.1052401066, -0.5943195224, -0.0823465809, 0.2224615216, 0.5397987366, -0.1074397415, 0.2688489854, -0.2251608074, -0.4159805775, -0.8336174488, -0.3656874001, -0.41007182, 0.0021784613, -0.516734004, 0.0286076516, -0.1412848234, -0.0738989562, -0.2166403532, -0.1694250554, -0.6725394726, 0.0924547389, -0.0607366264, 0.4242466986, -0.8340898156, 0.8764469028, 0.59557271, -0.1609376669, -0.8809280992, -0.1103906706, 0.0589962266, -0.9498513341, 0.6172475219, 0.1264900863, -0.1909538209, 0.0778840557, -0.0879820883, -0.8988058567, 0.9330550432, 0.7181259394, -0.4743458331, -0.1203507185, 0.4996971786, -0.041459322, -0.3093665838, 0.2102216929, 0.3150001466, 0.5425783992, 0.1130142212, -1.1419012547, 0.3079889417, -0.0751161426, -0.4878610373, 0.666790843, -0.415537864, 1.3147488832, -0.1050677747, -0.0483180098, -0.2979409397, 0.4297647774, 0.1379255652, 0.246635586, 0.6508709192, 0.8168312311, 0.6682869792, -0.0504980199, 0.5520845056, -0.5582068563, 0.8264274597, 0.933506608, -0.080318056, 0.6261273623, 0.1174330413, -0.2716597021, -0.1767727584, 0.2198898792, 0.2352889329, 0.4068649411, -0.0012203001, -0.5960376263, -0.3949697316, 0.3240142465, -0.4810582697, 0.1838287562, 0.0458880737, -0.192071721, -0.5201733112, -0.0876115113, 0.2446941286, -0.3916182518, -0.2800325453, 0.6936439872, 0.0050037121, -0.3842172325, 0.4028796554, 0.1049248129, 0.7056638598, -0.744951725, 0.0443915427, -0.0908025205, 0.2594693601, -0.2054721713, -0.5052076578, 0.2635008395, 0.0154886488, -0.1767062694, -0.2432046235, 0.394854784, -0.8271850348, -0.5552054644, 0.0699261725, 0.7238153219, 0.1400699615, -0.4579998255, -0.7545981407, -0.0510822535, -0.0332708284, -0.2077306211, 0.4860764146, 0.5556146502, 0.2133631259, 0.5964509249, 0.7760266662, 0.0721015185, 0.1921227425, -0.3163096607, 0.8268651962, -0.4405680001, -0.6624600291, -1.1532958746, 0.3862750828, 0.2463789433, 0.0286798533, 0.7025498152, 0.7731818557, 0.5255777836, -0.0477092974, 0.9010780454, -0.0355225094, 0.4166768193, -0.4948992729, 0.5681996942, -0.675372839, 0.0748480856, -0.2014684379, -1.0704777241, -0.093017973, 0.4039238095, -0.2380123734, 0.2315386385, 0.7992888093, 0.6639864445, -0.52641505, -0.1124381498, 0.425247401, -0.1104428917, 0.4252204299, 0.9317156672, 0.3453997374, -0.3136335313, 0.6541422009, -0.0949178785, -0.5398100615, -0.00567309, -0.9403142929, -0.7671678066, -0.477723062, -0.1883288026, -0.0451109856, -0.0803224668, 0.9571617842, 0.767803371, -0.4381914735, -0.312435478, -0.0652415752, -0.0980743691, -0.2258721143, -0.1398127973, 0.6485882401, -0.3404487967, -0.9621971846, 0.3346343637, 0.2596458197, -0.1216199845, -0.2404487878, -0.060105335, 0.2560740411, 0.0836245418, 0.4769138396, 0.1550890207, -0.4442423582, 0.1779113561, -0.0253541972, -0.0206044335, -0.0523748882, 1.0698586702, -0.2552971244, 0.321762532, 0.4018176496, 0.8354895115, 0.6384789944, 0.0362231918, 0.6500704288, -0.7026777864, 0.0075129294, 0.0106333559, 0.4773477316, 0.1229429394, -0.360622257, 0.5792379975, 0.2555528581, -0.6671645641, -0.7675592303, 0.180324778, -0.9078717828, 0.1049453989, 1.0199991465, -0.2937777638, 0.0942351222, 0.0891762227, -0.0146960178, 0.1770782769, -0.3132943511, 0.3616721034, 0.5899249315, -0.2311118543, -0.1707502306, -0.8759809732, 0.3291478753, 0.3025746644, -0.8387506008, 0.4453433752, 0.3308941126, 0.3653153777, 0.0020493353, 0.6361514926, -0.0948961899, 0.17280972, -0.211006552, 0.0873142034, -0.6296257973, -0.2427049279, -0.1641300172, 0.4105787873, -0.1629535556, -0.556332171 ]
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.3161111772, -0.6065596342, 0.7357573509, 0.195651263, -0.4357189238, -0.0372563004, -0.0826365799, -0.4251646399, 0.0773991495, 0.726549983, -0.3180386424, -0.4534293413, -0.3498649895, 0.2280374914, -0.5147622824, 0.9863772988, -0.3402824402, -0.2860901356, -0.5623339415, 0.017257018, -0.3028808534, -0.6539347768, -0.4584854245, -0.5336312652, 0.9201858044, 0.4457380474, 0.3763714731, 0.7656466365, 0.773416698, 0.267978698, 0.0246510729, -0.1320668161, -0.5408509374, 0.2731838226, -0.0805518776, -1.0536946058, -0.193961516, 0.189686209, 0.9517478943, 0.033909291, -0.039373152, 0.1626157165, 0.0448557064, 0.4834386408, -0.7419605851, 0.1258892566, -0.7452039719, 0.0046934783, -0.4038515389, -0.4285439849, -0.3418143094, -0.8241252303, -0.1585092694, -0.5945870876, 0.1066622436, 0.1695383936, 0.8277282119, 0.3210361898, -0.3386214375, -0.4440032244, -0.672776103, 1.2564575672, -0.7337539196, -0.4230249822, 0.7023195028, 0.1716533154, 0.0660195053, -0.4155566692, -0.6030972004, -0.5562632084, 0.0353920534, 0.1541818827, 0.0551433787, -0.1616227031, 0.1140260845, 0.4181811213, -0.1990592778, 0.0615796484, -0.1800783277, -0.049640961, 0.6588861346, 0.3054614365, -0.0696653351, -0.3509388268, -0.6185382605, -0.015544449, -0.9069225192, -0.1905955821, 0.5916649699, 0.1789752841, 0.1265382618, 0.6285287142, 0.243293643, 0.439222008, -0.4449613094, -0.4433120787, 0.1678006798, -0.2471143603, -0.1113178357, 0.1500868648, 0.7066020966, 0.5405026674, 0.7844178677, -0.1575229764, -0.2909350693, 0.0082826102, 0.4217507839, -0.7571015954, 0.0395694189, -0.0570266582, -0.1749744713, -0.4577031732, -0.396399796, -0.2916925251, -0.6834528446, -0.0612463467, 0.6253083944, -0.407766968, 0.2011111081, 0.0448063314, -0.3112972975, 0.2241432816, 0.3598846793, -0.6253279448, 0.2651467323, 0.4465070963, 1.0158619881, -0.337254554, -0.378831476, -0.1540226042, 0.6612532139, -0.4583053291, 0.9724942446, -0.4571239054, -0.1910507977, 0.1553780288, -0.2134213448, -0.3597771227, -0.6051674485, 0.8223609924, -0.3296337724, -0.2221267074, -0.2619693577, -0.9271762967, -0.2861692309, 0.4629538059, -0.8322882652, 0.6699031591, -0.0728072524, -0.4763191044, 0.1642487794, -0.275337249, -0.5015128255, 0.0229715686, -0.2580222785, -0.4086283147, -0.0710787103, -0.2695418, 0.66122365, -0.4798588157, -0.0922984183, -0.2897550464, -0.9809263349, 0.7155873775, -0.5739545822, 0.5018939972, 0.0981843248, -0.0110380715, -0.2659529448, -0.6768449545, -0.0665462539, 0.170086652, -0.4326858819, -0.3824731708, 0.1076030657, 0.1191873327, -0.3987703025, 0.3330411017, -0.5869890451, 0.2158031166, -0.2096522748, 0.2149329931, 0.5412275791, 0.3173241615, 0.0654122978, -0.890122354, 0.5978236198, -0.2349527776, -0.1645452976, -0.0825821608, -0.1835127771, -0.6100655794, -0.6391949058, 0.2816155851, 0.8043595552, -0.6003460288, 0.1650332808, -0.1231532842, -0.5782919526, -0.1459712386, 0.2371410131, 0.7024738789, 0.1961067766, 0.0507219099, -0.0121288095, -0.1495697796, -0.8190894723, -0.7293531299, -0.3542647958, -0.0951740816, 0.2945130765, 0.5899415612, 0.2614533603, 0.6617342234, -0.5874457359, -0.7286249399, -0.2619440854, 0.1640141904, 0.1452690363, 0.3733019829, 0.6474009156, -0.1516141295, -0.3762674332, -0.1603988409, -0.8688908815, -0.0803866908, -0.1886924505, -0.0386005268, -0.0759025812, 0.7060673833, -0.391236335, 0.1847033948, 0.0998949856, -0.1187976599, 0.6510497928, -0.0430691354, 0.3759676218, -0.9163006544, 0.0670895204, 0.0209980961, -0.1930102408, -0.3811766803, -0.0445853174, 0.0665126517, 0.3709795475, -0.6299335361, 0.4963700473, -0.3222619593, 0.1907493621, -0.0584230982, 0.2890251279, 0.1026499569, 0.4262285829, -0.0679683685, 0.7071851492, 0.0258334186, -0.4410326183, 0.5502878428, 0.1346389949, -0.9713301659, 0.5074684024, -0.5266239643, 0.0384052657, 0.1164776757, 0.079617478, -0.9744228125, -0.2712157071, -0.0078001488, -0.0260676518, 0.0733307377, -0.0835915506, -0.6932147145, 0.039619267, -0.6154071093, 0.568713069, 0.2105935961, -0.2483396977, 0.2274137139, -0.0314058773, -0.2330488414, -0.5722849965, -0.8645908833, 0.1234011054, -0.7521471381, -0.0045518256, 0.3593432903, -0.0743307397, -0.4052778184, -0.2832317948, 0.0907250717, -0.2263235301, 0.1327143759, 0.1821222901, 0.2952954769, -0.0532234795, 0.2371580601, -0.0538991205, 0.2633597851, 0.0226386748, 0.4609229565, 0.109610498, -0.0836709961, -0.4684793949, -0.4498298466, 0.1258921623, 0.3343513906, 0.3046293557, 0.671477735, 0.251514703, -0.4258898497, -0.1599440128, -0.6393142939, 0.1768685281, -0.4587850273, 0.3163517714, -0.387023747, -0.519485414, 0.5742461085, 0.1605086476, -0.0649952888, 0.3822880983, 0.5376377702, -0.2789604068, 0.2434661835, 0.4134050012, -0.0474233888, 0.551047802, -0.0755108446, -0.0602817312, -0.7288498282, -0.2320349216, -0.6605003476, -0.3170803487, -0.1531151682, -0.2780060768, 0.1282837391, 0.427210778, -0.2383698076, 0.4225623906, -0.0264877342, 1.0218491554, 0.3751160502, -0.0540694557, 0.6432636976, 0.1041003019, -0.0578029528, -0.1553562284, -0.2265428305, -1.0758626461, 1.0856199265, 0.3839663863, 0.89153862, 0.3703915179, 0.6488809586, 0.6362820268, 0.3294860423, -1.0021151304, 0.557207942, -0.0566051081, -0.7477281094, -0.2990837693, -0.3160213232, -0.7823143005, 0.0961285904, 0.0962627754, -0.8213101625, 0.0462752692, 0.0539131537, -0.5233646631, 0.1320089996, -0.6240906715, 0.7244186997, -0.0810363218, -0.3349780738, -0.0907070562, -0.2099416405, 0.4409378767, -0.3941918314, 0.0397555642, -0.3918040395, -0.4801693559, 1.0094243288, -0.0416876674, 0.9881933331, 0.1919716299, -0.41508165, 0.4941643775, 0.3804507554, 0.4022222459, -0.1918643862, -0.5846138, -0.0795830861, 0.3651400506, -0.2458843738, -0.4588702917, 0.7752908468, -0.6980001926, -0.3886679113, -0.541341424, -0.7328157425, -0.3154257238, 0.0050170659, 0.3048573434, 0.3070974052, -0.3641898036, 0.2502885461, 0.2739171684, 0.0155301197, 0.5750799775, 0.5347405076, -0.0885810554, -0.3800793588, 1.0850087404, 0.1648493558, 0.2611742616, 0.2581959963, -0.0098932637, -0.2250772417, -0.6267579198, -0.318474412, 0.4021178484, -0.893930614, -0.3328996301, -0.0502366126, -0.1998076588, 0.0461497121, -0.3726228476, -0.2370211184, -0.4813291728, -0.6184006929, -0.0720452592, 0.596496582, 1.0496869087, 0.3163962364, 0.5835676193, -0.4842512012, 0.0560609922, -0.0473112725, 0.3928709626, -0.0816799924, -0.8908615708, -0.5441944003, -0.4575625062, -0.5761434436, -0.812081635, 0.3641879559, 0.3665754199, 0.3494431078, 0.4760858417, 0.2087745816, 0.5124036074, -0.4857728183, 0.8750973344, 0.261341989, -0.8181122541, 0.2088343799, -0.537117064, 0.1001597345, 0.6623021364, 0.3700192571, -0.3095757663, -0.6293510795, -0.3112930059, -0.5042077303, 0.7977601886, 0.3055815101, 0.3498175442, -0.0681275204, 0.5810748935, 0.0282243788, 0.2724448442, -0.912659049, -0.038970843, 0.0760806799, -0.4019908309, -0.5288715363, -0.42417714, -0.2510593235, -0.2034978271, 0.4687673151, 0.1411736161, 0.2042957544, -0.0019716462, -0.2956087291, 0.0099455044, 0.230272159, 0.7355196476, 0.3824530542, -0.3570854068, 0.0843998268, 0.1817371249, -0.576561749, 0.2631034553, -0.2800986171, -0.0859784409, -0.166001007, 0.8659320474, 0.7228451967, 0.0976351127, -0.6088055968, 0.6396051645, 0.175502345, -0.3424206674, -0.4748849273, 0.2986269295, 0.1434319764, 0.4766247272, 0.3243778348, -0.1623379439, 0.0748126209, -0.6673924923, -0.0589705184, 0.3230629861, -0.2609710991, 0.0575729385, 0.3097065985, 0.0511584915, -0.1753959656, 0.2835740745, -0.0433893241, -0.4248507917, 0.7482545376, 0.7590143681, 0.6907021999, -0.1068339795, 0.0615719147, 0.1753074825, 0.4033180177, 0.0583646968, 0.0546146035, -0.0220873635, -0.6500207186, -0.3821214139, -0.7035191655, -0.5857918262, 0.2854119241, -0.5194006562, 0.1393986642, -0.4725698531, -0.2060042918, -0.2272903472, 0.1088931635, -0.184676677, 0.083079353, 0.1005461216, 0.5108154416, -0.8086668253, 0.864354074, 0.3616333008, -0.5109592676, -0.6146098971, 0.2314920723, -0.175215885, -0.7623432875, 0.5896945596, 0.1828717142, -0.5030891895, 0.1089064181, -0.4861887693, -0.6585847735, 1.173174262, 0.8501484394, -0.3511429727, 0.0793762431, 0.174079448, 0.4504919052, -0.2015496343, 0.3836670816, 0.7728509307, 0.3265687823, 0.2467568517, -0.8479059935, -0.0564533845, -0.0501540937, -0.0023917218, -0.1430049837, -0.654047966, 0.7661641836, -0.119138144, -0.1143727452, 0.514544189, 0.5228316784, 0.302832514, 0.1409001052, 0.2050494701, 0.2015453875, 0.7780945897, -0.0150421672, 1.2061970234, 0.1828507334, 0.3603549302, 0.9543693066, -0.535421133, 1.173212409, 0.5135568976, -0.3807240129, 0.5416750312, 0.4299735725, -0.0726166368, 0.5237700343, 0.6522297263, -0.6312589049, -0.13762483, -0.2449896783, -0.189515233, 0.3748671114, 0.143799752, -0.3786804676, 0.1153873205, 0.007380323, 0.1626597196, 0.2964709699, -0.3029637635, 0.7613633275, 0.327542454, -0.5689014792, 0.8928295374, 0.1437424719, 0.5620215535, -0.4919543266, 0.0162047707, -0.2461615503, 0.4973742068, -0.2344238758, -0.8945561051, 0.2968018949, 0.3887538612, -0.2355300933, -0.0135909673, 0.5030647516, -0.3571237028, -0.6678598523, 0.2331963629, 0.1598756909, 0.7712693214, 0.0178054497, -0.3071182966, 0.2523198426, 0.0172217377, -0.529837966, 0.2295263708, 0.4249812067, 0.0857379064, 0.7088019252, 0.1676512659, 0.2313356549, 0.0646870062, 0.282975018, 0.3844121993, -0.8066541553, -0.0492284559, -0.9707209468, 0.0087317033, 0.0162223298, -0.3193362355, 0.9174153805, 0.5226510763, 0.3430336714, -0.2456372678, 0.7178636789, 0.3562961519, 0.5619365573, -0.6260405779, 0.8127602935, -0.6348398924, 0.4294110537, -0.4501031935, -1.0231468678, -0.4569699168, 0.8469451666, -0.4433917999, 0.0223352201, 0.8703514338, 0.7354903817, 0.1740489602, 0.0272620451, 0.5842391849, 0.0619302131, 0.0894187614, 0.5264074802, 1.0495694876, -0.4582009315, 0.7377764583, 0.1524686515, -0.1267195344, -0.1988855749, -1.1834193468, -0.9661121368, -0.3032613993, -0.3949431479, 0.0248520337, 0.1304424256, 0.5124157071, 0.0064937817, -0.5754512548, -0.6038048863, 0.0701908767, 0.083482556, -0.0510886535, -0.1852047443, 0.2568519711, -0.3654212058, -0.7036441565, 0.4320400059, -0.1374038458, 0.0525787659, -0.1907295585, 0.02062908, -0.2654311657, 0.6063452363, 0.5842576027, 0.0334116258, -0.6600518823, -0.2632753253, -0.5396357775, -0.3776537776, -0.0445309207, 0.7555112839, -0.5660791993, -0.0231168121, 0.108489044, 0.3327653408, 0.6010729671, 0.0755363181, 0.5026906729, -0.8613218665, -0.1308330595, 0.2722018957, 0.2751237154, 0.4092326462, -0.3254578114, 0.3532780111, 0.2817481458, -0.7300922871, -0.8719373345, 0.067128554, -0.9391849637, -0.2435673475, 1.4499254227, -0.4206598103, -0.1674206704, -0.1164496168, -0.1613057256, 0.272358954, -0.2694491744, 0.4313670695, 1.2151097059, 0.0164775029, 0.1813675761, -0.7634607553, 0.5788128972, 0.6211413145, -0.6584300399, 0.3667327166, 0.5734316111, 0.2968441248, 0.062233083, 0.5598578453, -0.0879932493, -0.1092744842, 0.0085087493, 0.110955447, -0.0547360256, -0.3625838459, -0.2916224003, 0.1307456493, 0.4436649978, -0.2013401687 ]
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.1332406551, -0.4702912271, 0.8407065868, -0.1583049744, -0.3647483587, 0.224188298, -0.0199651774, -0.5649657249, 0.2825648487, 0.2081820816, -0.0229107775, 0.0905913338, -0.1716414839, 0.2680171728, -0.418732971, 0.6650267243, 0.0130686928, 0.5329704285, -0.9336262345, 0.0446617976, -0.4163027108, -0.1769640744, -0.4715328515, -0.6564532518, 0.3777135909, 0.4746023118, 0.7782207131, 0.9237728715, 0.4498991668, 0.3368416429, 0.0418384336, -0.0581377484, -0.0254113749, 0.1797078252, -0.4996812642, -0.7038149238, -0.1161357462, 0.269264251, 0.6707077622, 0.9985349774, -0.086721614, 0.2598493099, 0.0169608891, 0.3718772829, -0.282990098, 0.3332846463, -0.7692772746, -0.0284852087, 0.338126123, -0.1642318517, -0.2391565889, -0.3795894384, 0.2041843086, -1.1494044065, 0.3024809659, -0.1993260831, 0.9441131949, 0.0650763959, -0.2179771513, -0.3878633976, -0.5553984046, 0.5302489996, -0.7498742938, 0.2606462836, 0.186072275, 0.4995308816, -0.2323709428, -0.854414165, -1.0253522396, -0.1326124519, -0.0202623419, 0.2703686953, 0.0348722041, -0.0537989326, 0.0692448989, 0.1361916959, -0.208138302, 0.013118295, -0.9367030859, 0.0234112479, 0.4711204469, 0.2010176778, 0.52666682, -0.3481731415, -0.5145010948, -0.3686413765, -0.7536810637, 0.2563793063, 0.1021827757, 0.3861694336, 0.0379763953, 0.326258719, 0.0990235731, 0.72841537, -0.1822827905, -0.1199843585, -0.0419996195, -0.1860174388, -0.006565148, 0.0180456936, 0.4359094501, 0.4598582685, 0.3905147016, -0.3506234586, 0.1571488976, 0.4855820537, -0.005572624, -1.1638139486, -0.3146052957, -0.0295350589, -0.2009041458, -0.3462642431, 0.2045444399, -0.6914787889, -0.3233622909, -0.5572332144, 0.6826859117, -0.198211506, -0.3910449445, 0.1516464502, -0.4447898567, -0.113885738, 0.335988313, -0.959289372, 0.5181741118, 0.6490023732, 0.6944634914, 0.0842320323, -0.4419347942, 0.0444727167, 0.1895896345, -0.3487403691, 0.7927900553, -0.7390444875, -0.562635839, -0.5270645022, -0.2326580435, -0.1285632402, -0.6511324644, 0.2310422659, -0.2335352004, 0.329580456, -0.1953424215, -0.6324722767, -0.1955604553, -0.1552208066, -0.393763423, 0.8753172159, -0.1470339596, -0.4236792326, 0.0310440529, -0.7273787856, 0.0045389589, 0.0718402267, -0.4301595092, 0.1177151203, 0.2697581947, 0.0273971613, 0.3843638897, -0.4999952614, 0.3393405378, -0.331083715, -0.2585065365, 0.5483982563, -0.0986981913, 0.6128762364, 0.5229954123, 0.1050403193, 0.1949306875, -0.493876338, 0.0950480998, 0.3156628609, 0.3776857853, -0.8866834044, 0.0232888106, -0.4684158862, 0.2388584465, -0.1447416991, -0.4526562989, 0.2209863514, -0.5638501644, 0.8886644244, 0.5907511711, 0.0395811871, 0.5688809752, -0.3592322171, 0.4146308601, -0.0587967448, -0.2356088161, -0.5028618574, -0.4446219504, -0.6065095067, -0.3000662625, 0.3902474344, 0.2607436776, -0.6418291926, -0.1768087745, -0.454487443, -0.7788293958, -0.8424047232, 0.0529663675, 0.1737269908, 1.1043666601, 0.2642758489, -0.2839209437, -0.5206312537, -0.6969357729, -0.4741688967, -0.2030018717, -0.3860030174, 0.2327172011, 0.7630761862, 0.1996640563, 1.2421760559, -0.5410682559, 0.2895216346, 0.2155271322, -0.0323949344, 0.0818803906, 0.3486408591, 0.5428866148, -0.6717502475, -0.2076328993, -0.2267896086, -1.0770763159, 0.0558239706, -0.1416223496, -0.155275479, -0.4158623517, 0.4204498827, -0.7409481406, 0.2321941257, -0.0042270711, -0.4670977294, 0.6211701035, -0.2954739928, 0.1241379827, -1.0824424028, 0.0375740975, 0.1580660045, -0.0886020735, -0.6889970303, 0.4367533624, 0.1550211757, -0.5055727363, -0.7351295352, 0.9400935173, -0.3198985457, -0.1381173581, -0.3098468482, 0.630055964, 0.2553094625, -0.1116005406, 0.2968739569, 0.9812772274, 0.4897928536, -0.5993631482, 0.1550972909, 0.0832774341, -0.4215141237, 0.3737450838, -1.0301849842, -0.0194322839, -0.2197916955, 0.4298082888, -0.583345294, -0.1884707361, 0.1735138148, -0.4995647371, -0.2424012721, 0.2323065251, -0.4920567572, -0.3968681097, -0.279606998, 0.494487673, 0.4588124752, -0.6509874463, 0.451434046, 0.1769306064, -0.0785746351, -0.3478405476, -0.5124682188, 0.0209440738, -0.4022152424, -0.2949253619, 0.1794717908, -0.0998818129, -0.5110286474, 0.309843123, -0.2348699719, -0.0505300537, 0.3971305788, 0.1296469718, 0.5442561507, -0.2420572788, 0.4046041667, 0.1737075895, 0.0215701368, 0.377928853, -0.1931000948, 0.1717233658, -0.2271287888, -0.2246525437, -0.5236718059, 0.1341072023, 0.6811335683, 0.172672227, 0.6249107122, 0.061275579, -0.5386631489, -0.052030094, -0.1030971929, -0.985676527, -0.4588268995, 0.3726768792, -0.5410045981, -0.378552705, 0.3767620623, -0.074927479, -0.3543096185, 0.2426650822, 0.2669196725, -0.4420109391, 0.5921251774, 0.2859078646, 0.1976363063, 0.1603742838, -0.2309416085, 0.3295302391, -0.6316151023, -0.2596561015, -0.5390330553, 0.0810861513, -0.3120378554, -0.5532419682, 0.336481601, 0.455306679, -0.2807402611, 0.3339984417, -0.6589844823, 0.7845901251, 0.3625248969, 0.2001493871, 0.2967896163, 0.1657159925, -0.2424867749, -0.1406294852, -0.8324400783, -0.9143242836, 1.0444582701, 0.3493454754, 0.5015016198, -0.1321654171, 0.5743282437, 0.0145779364, 0.6314883828, -0.7246824503, 0.8175559044, 0.1984558105, -0.5571974516, -0.1273252368, -0.3723894954, -0.847686708, 0.7191764116, -0.4915015996, -0.6786032915, -0.0790197551, 0.1598798782, -0.0674610659, 0.4230028987, -0.8502162099, 0.736353457, -0.1970095336, -0.2330392301, -0.5100728869, -0.6546596289, 0.1787275076, -0.0078560645, 0.4168294966, -0.143338412, 0.1116975769, 0.7776190042, -0.2965005636, 1.1110070944, -0.0895925164, 0.0638417751, 0.6351229548, 0.2070747763, -0.0562955737, -0.074268423, -0.23668468, 0.034618184, 0.4549322128, -0.6494991779, -1.1223863363, 0.7154891491, -0.8286227584, -1.0444488525, -0.5049744248, -0.9326117635, 0.0524782725, 0.0242772624, -0.3888276815, -0.1133614779, 0.0568591841, 0.0152985109, 0.3444366157, 0.2547885776, 0.2699793875, 0.5398731828, -0.264695853, -0.2583127618, 1.1457988024, -0.0900779963, 0.6715179086, 0.0832021162, 0.6095132232, -0.3397199214, 0.0471975468, -0.6242550015, 0.3874521852, -1.0114132166, -0.3946177661, -0.4546994269, -0.0458426401, -0.5842451453, -0.2088273168, 0.0370295905, -1.082275033, -0.4039635956, -0.2484913021, 0.3521632552, 0.6421281695, -0.0237099454, 0.1707207859, -0.4383676052, 0.3767186403, 0.4590658545, -0.2675928175, 0.4025188386, -0.5407170057, -0.131238386, 0.4287894964, -0.6549046636, -1.1082049608, 0.2819674313, 0.2489460558, 0.6625940204, 0.5746977329, -0.1998983324, 0.7280336618, -0.4212295413, 0.8084818125, 0.3834789395, -1.1669328213, 0.5703548789, -0.1763294339, -0.0885934681, 0.1692674607, 0.5456960797, -0.5352313519, -0.3042614162, -0.6399664879, -0.6297550201, 0.2059899271, 0.0369660296, 0.3826859295, 0.0761753917, 0.8004907966, 0.2440302819, 0.3692457974, -0.7925714254, -0.2731016278, -0.6415032744, -0.5557142496, -0.0741391256, 0.1268870533, -0.1620091051, -0.6002416015, 0.5595986247, -0.2417413443, 0.1017913744, 0.1122517362, 0.1007999182, -0.157765314, 0.3775333762, 0.5100893974, 0.7722930908, 0.0465729348, 0.4953719378, 0.4030539095, -0.2381504625, 0.1088594794, 0.0852804855, -0.2825186253, -0.276461482, 0.2184399068, 0.4739764333, 0.2748148441, -0.8081207275, 0.0874925405, 0.2340593189, 0.0823116675, 0.0491044335, 0.3673727214, 0.4278787076, 0.1047092229, 0.5896968246, 0.1150191203, -0.0263740085, -0.8586024642, 0.0587562323, 0.4587340653, -0.0007949568, -0.6009625196, 0.882437706, 0.1057019904, -0.3898395002, 0.312422365, 0.1647113413, -0.5728734732, 1.0349470377, 1.2485561371, 0.4258054495, -0.3794695437, 0.3713845611, 0.4486470819, 0.0094170375, -0.0560515821, 0.1291157454, -0.330396384, -0.9098582864, -0.1084636077, -0.3650747538, -0.7631193995, -0.0793713704, -0.6259434223, 0.3346320987, -0.405646652, 0.2322863936, 0.3316479623, -0.172285676, -0.506065309, 0.2748810053, -0.0745120496, 0.9013844728, -1.4471085072, 1.0153832436, 0.9371323586, -0.6787849069, -0.9650107622, -0.3451308906, -0.2952425778, -0.6341077685, 1.0117172003, 0.0463856943, -0.1593813896, -0.0743240416, -0.5533123612, -0.7237467766, 1.291229248, 0.4100090861, -0.1465442479, -0.0927364528, 0.2600168586, 0.906462729, -0.7196785808, 0.5403673053, 0.1515846401, 0.2717214823, 0.1555744857, -0.6864185333, 0.2562746704, -0.2692804933, -0.2639181614, -0.2657959759, -0.3120256364, 0.6895589828, -0.6485028863, -0.2253755778, 0.2581313252, 1.0270252228, 0.5793426037, 0.8352130651, 0.4295428395, 0.4195650518, 0.6835114956, 0.1443496346, 0.6735907197, -0.3239348531, 0.2180284709, 0.9798688293, -0.0654221624, 0.8366920352, 0.9227957726, -0.1026253551, 0.6095442176, 0.6029264927, -0.0063348496, 0.4265504181, 0.4862679839, -0.2893714607, -0.4014406204, -0.3055013418, -0.6003940701, 0.2619271874, 0.6713168025, -0.1607963741, -0.2353115231, -0.0251554996, 0.0285480395, 0.6999245882, -0.2947719693, 0.1888525039, 0.2933655381, -0.5530925393, 0.5396494865, -0.3452958465, 0.2793347836, -0.3593522608, -0.3430787027, -0.012466738, -0.085974969, -0.0449582525, -0.7398967147, -0.0499124825, -0.2448111475, -0.1297238171, -0.0813629106, 0.5949021578, -0.5374700427, -0.4922250211, -0.1092933863, 0.5398940444, 0.4149695635, 0.5152310729, -0.551520586, -0.3056787848, -0.2409071177, 0.27845487, 0.2492740005, 0.1408821195, -0.3074513972, 1.0826443434, 0.6800215244, 0.3450960815, -0.2321516275, -0.2416687906, 0.982059598, -0.5380896926, -0.3582993746, -0.5020805001, 0.1723895669, 0.0969458893, 0.0037579229, 0.6909970641, 0.4338032007, 0.953961432, -0.3717469871, 0.5957020521, 0.3413639069, 0.4180689752, -0.3156575859, 0.7391895056, -0.4598326385, 0.3534293473, -0.312967062, -0.7950819135, -0.3185487092, 0.8338279724, -0.3615868986, -0.1820588857, 0.5617410541, 0.601151526, -0.3158786595, 0.1717499942, 0.3005785048, 0.1427930295, 0.3385888338, 0.2410317063, 1.0274962187, -0.4260637164, 0.081120193, -0.266887337, 0.059355136, 0.0482738242, -0.9462938905, -1.0094362497, -0.6508567929, -0.2776982486, -0.1856574416, 0.2235269845, 1.0763814449, 0.6369268298, -0.6244319081, -0.3112273216, -0.1987440735, 0.2319336534, -0.213708654, -0.2166267335, 0.5895255804, -0.1951317489, -0.745274663, 0.526374042, -0.3238768876, 0.4369101822, -0.2328475267, -0.0901060253, 0.1645365059, 0.5886140466, 0.3030157089, 0.5019621253, -1.0142691135, -0.3462900221, 0.1529775709, 0.0182038359, -0.1097896993, 0.9441120028, -1.2714112997, 0.6661074162, 0.3596445322, 0.3879167438, 0.3506761789, 0.0719679892, 0.3734544218, -0.2754586935, 0.4759846926, 0.1839203089, 0.3227303922, 0.3728865087, -0.1200025305, 0.4417604804, 0.3708687723, -0.314070195, -1.1185199022, 0.1920390427, -0.746019125, -0.5089389086, 0.7664895654, -0.2256820798, -0.2038620859, 0.31931144, 0.0294654574, 0.2246249169, -0.2571942508, 1.0795813799, 0.632913053, -0.0711577013, -0.0438158661, -0.5288167, 0.3291727901, 0.7491901517, -0.8360548615, -0.3013136089, 0.0922238231, 0.4675911665, 0.2608622313, -0.0024769576, 0.0236434918, 0.3036389053, -0.1816580594, 0.2083591819, -0.3253547847, -0.2222664356, 0.0004218007, -0.1258646399, 0.0270736013, -0.1346693337 ]
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.2180299163, -0.3722297549, 0.7904200554, 0.0413498729, -0.1725285798, -0.2081760019, -0.452577889, -0.3551403284, -0.139137581, 0.3079318702, -0.358907342, -0.3642595708, -0.4745280445, 0.2146821469, 0.2715183794, 0.8800243735, 0.3282963932, 0.1490300745, -0.206515789, -0.0734986514, -0.6529457569, -0.1876792461, -0.590130806, -0.5651230812, 0.5657637715, 0.6113400459, 1.0264881849, 0.5681009889, 0.0262584612, 0.2411362976, 0.0060804491, -0.1112157255, -0.3932676017, 0.255764842, -0.2474064976, -0.5050637722, -0.5205712318, 0.0756340697, 0.397271663, 0.7272090316, -0.0436606109, 0.1670839339, 0.1369081885, 0.6687284112, -0.7742866874, -0.0539478622, -0.8142405152, 0.1005062908, -0.082960695, -0.2456035614, -0.554861784, -0.4973146021, 0.1772416383, -0.5128136873, 0.1330382675, 0.22263363, 0.7891879082, 0.1477296799, -0.385522306, 0.02883677, -0.3068923652, 1.1950095892, -0.8663638234, 0.31042853, 0.0412279256, 0.4532179534, -0.3854256868, -0.1519380659, -0.704761982, -0.2277031243, 0.2817258537, 0.0534014553, -0.1532999873, 0.2456336468, 0.0995609462, 0.1104823202, -0.7038850188, 0.4191517532, 0.0591389649, -0.4700541198, 0.6068294644, 0.1792700589, 0.3371272087, -0.5672043562, -0.3468889594, 0.0082898205, -0.7122552395, 0.3849610686, 0.7472733259, 0.4286126494, 0.1646964252, 0.5575520992, -0.4687849581, 0.9379703403, 0.2763420045, -0.2668505311, 0.5742890835, -0.044652462, -0.187623769, 0.1546743512, 1.0040216446, 1.0307276249, 0.3770374358, -0.1483204365, -0.4514944851, 0.2668098509, 0.0996331051, -0.9161335826, 0.2977461219, 0.1990419477, -0.4527075589, -0.5842055082, -0.0769054592, -0.7994442582, -0.2965492308, -0.4467819333, 0.4955641031, -0.1942313761, 0.0936120972, 0.409735024, -0.0899151042, 0.2773041129, 0.4507194459, -1.0758376122, -0.0799058154, 0.7918877006, 0.5973162055, -0.0657488555, -0.1769593507, -1.0243324041, -0.0241695493, -0.4276976883, 0.779643774, -0.5584382415, -0.2161248326, -0.1018770039, -0.186660707, 0.244143039, -0.3663928211, 0.8834731579, -0.3519565165, 0.6474911571, -0.3898566961, -0.4222278595, 0.0487418883, 0.1944461018, -0.3355031908, 0.5999493003, 0.2196917236, -0.6160979271, 0.8013402224, -0.3768436015, -0.2671941221, 0.1755995899, -0.4198410809, -0.294190377, 0.2509557605, 0.2333180159, 0.3965070844, -0.6027271152, 0.6875904799, -0.5410733819, -0.358836472, 0.127930969, -0.4784811437, 0.78283602, 0.3460777402, -0.517152071, 0.3998887539, -0.5602884889, 0.1393901855, 0.12558496, -0.2282221764, -0.1276550591, 0.0114861932, -0.2259393632, 0.3360497952, 0.2115332931, -0.6137771606, 0.0784630105, -0.7175104618, 0.2198087275, 1.1923180819, -0.3726119697, 0.791768074, -0.54702425, 0.5477918386, -0.3475075066, 0.4933236539, 0.0157670975, -0.4913404882, -0.599830687, 0.018445665, 0.0871540606, 0.348831445, -0.5068506002, 0.7386795282, -0.2498193681, -0.2371295691, -0.6155328155, 0.2378394455, 0.3946006596, 0.9804744124, 0.014487558, -0.1429973394, -0.3089846373, -0.9947081804, -0.3143948019, -0.190908134, -0.1806840748, 0.4193347991, -0.146567136, 0.0368828811, 1.1603912115, -0.4395662844, 0.0133725274, -0.3163032532, -0.056547191, 0.3519234955, 0.1302790791, 0.9614332914, -0.542062223, -0.7048763037, -0.1912340224, -0.4523668289, -0.6448771358, 0.1435533464, -0.2956468165, 0.3785694838, -0.0536962636, -0.4300159812, 0.014935948, 0.5098956823, -0.5167168379, 0.5517324805, 0.0801784322, 0.3105344772, -0.884648025, 0.021671176, -0.1212047711, -0.2500605583, -0.5302852988, -0.2525111437, 0.0946002677, -0.0838198215, -0.5669599175, 0.9018470645, -0.324971348, -0.1433425099, -0.3443530798, 0.3227241635, 0.3715206683, 0.3033480942, -0.0652146712, 0.7555914521, 0.5078781843, -0.3670727015, 0.1328162104, -0.0142412698, -0.4016444087, 0.5994387269, -0.7494227886, 0.2917273343, -0.3840984106, 0.048948586, -0.8882131577, -0.1324710995, 0.2698030174, -0.5672751069, 0.1987473965, -0.1246073693, -0.3029011488, -0.1611628085, -0.7307450771, 0.2182536274, 0.7211422324, -0.5734010339, 0.2625471354, 0.2974610925, -0.1750048101, -0.9840896726, -0.3227797747, -0.0172769465, -0.2189700305, -0.8364034295, 0.2084969431, -0.2353459895, -0.2817553878, -0.1604153961, -0.0912687927, 0.4638381898, 0.1972100288, 0.2757098377, 0.5765795708, -0.1002941281, 0.1640662104, 0.0710600168, -0.3640805185, -0.1839163899, -0.2964987457, 0.6957387328, -0.0839731917, -0.1968661249, -0.3756912351, 0.1118000448, 0.3985392749, 0.0646589398, 0.4021937549, 0.3296332657, -0.0647880733, -0.1791458577, -0.7099169493, -0.0160728879, -0.4607625306, 0.0193017013, -0.2557824254, -0.9523653984, 0.154322207, 0.3458779156, 0.2517387867, 0.4287301898, 0.4051669538, 0.1285343319, 1.2707391977, 0.5881995559, -0.2790519297, 0.4804851413, 0.3083856702, 0.1907888651, -0.7000966072, -0.0182394143, -0.6725335121, -0.3939592838, -0.1582175195, -0.2394587547, 0.2241464555, 0.33098647, -0.3397646844, 0.0780017748, -0.4758823216, 0.5235247016, 0.3692401052, -0.1041659713, 0.2250224352, -0.05221707, -0.1838902086, -0.2189431787, -0.613155067, -0.9368588328, 1.1805906296, 0.2194475085, 0.5467223525, 0.0607190505, 0.7128287554, 0.1355717182, 0.3095100522, -0.8449488878, 0.473672837, -0.0885831043, -0.3420614898, -0.3361259103, -0.5871289968, -0.9108513594, 0.2810518742, -0.3311657608, -0.6392536163, 0.1775594354, 0.3741581142, -0.6536842585, 0.0248938072, -0.7985476851, 0.9354971051, -0.502183795, -0.4756445289, -0.13574332, -0.629959166, 0.2908025384, -0.0836017951, 0.2101504803, -0.6677353382, -0.1901268959, 0.417152822, -0.4043551087, 0.6217213273, -0.3592850566, -0.091807358, 0.1645393223, 0.1302320063, 0.2917319238, -0.0092661865, -0.6729493141, 0.1443608254, -0.5128806829, -0.3700911105, -0.6914909482, 0.7728950381, -0.7725663781, -0.7923836708, -0.2189258486, -0.3694804907, -0.2302494198, 0.2854052186, 0.396461904, 0.2997564971, -0.2097839564, 0.0010835454, 0.3073404133, -0.5434945822, 0.4638368189, 0.5712925196, -0.3283188939, -0.4363821149, 0.721630156, -0.1349335462, 0.559561193, 0.3676430583, 0.632014811, -0.3484259248, -0.4007533193, -0.6471773386, -0.0146576753, -0.4485975504, -0.4984026551, -0.557310164, 0.2140595466, -0.6967098117, -0.5443769097, -0.1516173333, -0.4644065201, -0.1825934649, -0.0796562433, 0.1072470471, 0.19872953, -0.0424562283, 0.2097089291, -0.6756901741, 0.3317142129, 0.4076767862, 0.3037890792, 0.0036191621, -0.7409178019, 0.2550484836, 0.0494790338, -0.2631821632, -0.6375057697, 0.3889707923, 0.0302992724, 0.6406497359, 0.5903159976, 0.2530316114, 0.4370098114, -0.5634617805, 0.7007437348, 0.5657419562, -1.0356514454, 0.6941964626, -0.3421163261, 0.2917841375, 0.7031898499, 0.1336253583, -0.5409296751, -0.1239979416, -0.3387812674, -0.6522833705, 0.888091445, -0.1878785342, 0.2963888347, -0.1891323328, 0.3175398409, 0.5079543591, 0.2840432823, -0.7186517119, 0.0032903869, -0.1823476404, -0.1653774232, -0.178208217, -0.3577031493, 0.0822347701, 0.1334342062, 0.5554113984, -0.3412330747, -0.2519590855, -0.0253002122, -0.1780388504, -0.500028193, 0.6513753533, 0.3750034869, 0.5256717205, -0.3082952499, 0.0625955611, -0.0624121614, -0.0081220521, 0.3531356156, -0.1962216944, -0.7180353999, -0.0640775338, 0.0553649291, 0.9398255348, 0.2024509162, -0.8124734163, 1.0336784124, -0.0602820255, -0.0946074054, 0.1197523326, 0.38156569, -0.1023521945, 0.1727203429, 0.1402620971, 0.0920850113, 0.2489560694, -0.4853372276, 0.0465967432, 0.6126352549, -0.2337425947, -0.3354490697, 0.6531256437, 0.5019498467, -0.4360040426, 0.5204694271, -0.4330306947, -0.5137739778, 0.3482201993, 0.4782013297, 1.0170972347, -0.259642601, 0.2766453326, 0.3917181194, 0.0854828879, -0.0376898237, 0.2019045204, -0.1372997314, -1.0607587099, -0.4107538462, -0.7740619183, -0.2681229413, -0.1817594469, -0.4250136316, 0.6813115478, -0.4716438949, -0.3874595463, -0.1316567808, 0.1177673638, -0.6868917942, -0.048753161, 0.2943442166, 0.5846428871, -0.8054177165, 0.6914194822, 0.3135368526, -0.2722938955, -0.7187590003, -0.0735922828, 0.1663222462, -0.9089209437, 0.6372352839, 0.4031842351, -0.1928280294, -0.2544079125, -0.3854194582, -0.5380281806, 0.975677371, 0.9350852966, -1.0311059952, 0.0639198646, -0.0438385457, 0.2616707683, -0.2795263231, 0.4565343857, 0.3738541901, 0.5055304766, -0.0821360871, -0.9026041031, 0.0165941194, -0.0670550242, -0.0396557413, 0.3475156128, -0.773537457, 0.6273132563, -0.5189999342, -0.24525626, -0.0365514755, 0.4609724283, 0.4167761207, 0.3269720078, 0.8411974907, 0.5149515271, 0.7554169297, 0.0686228201, 0.9858283401, -0.3112487495, 0.0869234577, 1.2306960821, -0.6708086133, 0.6772834659, 0.5112163424, 0.0162011031, 0.2654229999, 0.4216330051, 0.1137163863, 0.3570822775, 0.1381725371, -0.3122157753, -0.4062971473, -0.3491749465, -0.1907888651, 0.3480256498, -0.2276811302, -0.208302483, -0.2457749993, -0.2487360239, 0.0215775073, 0.2382648438, -0.1903128326, 0.6495419741, -0.0008206028, -0.9103702903, 0.2865008712, 0.0994062722, 1.0300912857, -0.4287988544, 0.1682675928, -0.2500117719, -0.1241636574, -0.2598929703, -0.8810074329, -0.0602525994, 0.1929455996, -0.3935160935, -0.3611060083, 0.7863510251, -0.2794258296, -0.1891083121, 0.4678922892, 0.3659978211, 0.0685182586, -0.0208441839, -0.6833925247, 0.0352231041, 0.2004670203, -0.3809901476, 0.4977335632, 0.3897005618, -0.0932032168, 0.4228846729, 0.7036197186, 0.0968007967, -0.0980723128, 0.5349726677, 0.5124385953, -0.6729015112, -0.291590929, -0.9574352503, 0.3925016224, -0.027062729, -0.3399995565, 0.5685011148, 0.5403897166, 0.7596523762, 0.133500129, 0.7567135692, 0.0902889743, 0.4205006957, -0.423558861, 0.603941083, -0.4908550382, 0.2011222243, -0.322779119, -1.2371973991, -0.2275682241, 0.5236041546, -0.3600214422, 0.0398174077, 0.2386533022, 0.8198894262, 0.2161322534, -0.2448387593, 0.6461949348, -0.2604091465, 0.4376534522, 0.8176059723, 0.8660494089, -0.1734513044, 0.4477004409, -0.2307481617, -0.3802596331, -0.2686590254, -1.1958853006, -0.7477329373, -0.1041337028, -0.0234628953, -0.0498721711, -0.0102087352, 1.3633030653, 0.5503869057, -0.5093012452, -0.212852478, 0.0475920923, 0.1897711754, 0.3119252026, -0.2798738778, 0.1589025855, -0.7203287482, -0.935082376, 0.3183637559, 0.5847262144, -0.0217540003, -0.0065528727, -0.4878481925, 0.3375831544, -0.0075981356, 0.6238767505, -0.0080637988, -0.8033508062, -0.5843559504, 0.107414566, -0.3132028282, 0.2449421734, 0.6088626385, -0.8233535886, 0.7137147188, 0.8066698313, 0.5371487141, -0.2170551866, -0.0344165899, 0.9914290309, -0.3418495059, 0.161097616, 0.3588349223, 0.4561359882, 0.3991414011, -0.3694386184, 0.3009221554, -0.0072161499, -0.6589223742, -0.7843658328, 0.1365251392, -0.9175115228, -0.2262757123, 1.133018136, 0.0784385502, -0.2300544828, 0.1967974454, -0.2638534307, 0.1704506129, -0.8767643571, 0.7699164748, 0.5752728581, -0.1275089532, 0.0862474516, -0.460808754, 0.3563271761, 0.8452923894, -0.6448135972, -0.0258509647, 0.7743772864, 0.3977104127, -0.1006683856, 0.7248807549, -0.1818961352, 0.3916503787, -0.4231251478, 0.3790264726, 0.0300892461, -0.2147037387, -0.6301030517, 0.0679437816, 0.4395936131, -0.0391211361 ]
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.0064671258, -0.2699562311, 0.4937215447, -0.0441385619, -0.281858176, 0.0863357857, -0.1919971257, -0.58940804, 0.2310193926, 0.7171458602, -0.4174774587, -0.2521808147, -0.1993855536, 0.2066488117, -0.0345088392, 0.842944324, 0.1134339795, 0.0776882246, -0.5655412078, -0.1548509151, -0.4610869288, -0.6752210855, -0.6389468312, -0.3081169128, 0.7516809702, 0.063802056, 0.6568374634, 0.551530838, 0.1957975328, 0.3333292007, 0.0740172789, 0.484801501, -0.135840863, 0.5480151176, -0.3319739401, -0.5153990388, 0.0306451563, -0.0777849704, 0.8249949813, 0.3356251717, -0.1458603591, -0.0990036353, 0.1433322579, 0.3023309708, -0.6696681976, 0.5372332931, -0.5177761912, 0.2245759815, -0.0523304939, -0.3059697151, -0.5743278265, -0.8054682612, -0.1088241562, -0.7198368311, 0.0626886785, 0.3067571819, 0.7446089387, 0.0745378584, -0.436584115, -0.3817005157, -0.6923717856, 0.8161340952, -0.589504838, -0.1102269888, 0.3696422279, 0.1321989, 0.0253978334, -0.2179563642, -0.4455131292, -0.5627241135, -0.2411078811, 0.0799355581, -0.1573933959, 0.0007326183, 0.1464765519, 0.1632291526, -0.1975517422, -0.1103783473, 0.1066399291, -0.3956786394, 0.6450843811, -0.0058493046, 0.3343820274, -0.417570591, -0.2673136294, -0.3675859571, -0.5657773614, 0.0642806813, 0.5551118851, 0.2744226754, 0.3098436296, 0.4843505919, 0.3129799664, 0.1667939425, -0.0968782976, 0.4574029446, 0.0678503215, -0.1760294884, 0.1164158881, 0.4541632533, 0.6754524112, 0.4337677658, 0.8029548526, -0.1675042212, 0.0666235238, -0.0404821634, 0.2875300944, -0.4552723467, -0.1722860634, -0.1004620716, -0.0301184226, -0.3502461314, 0.1070590243, -0.3733350635, -0.9603219628, -0.1707329601, 0.3493282497, -0.7426165342, -0.041261632, -0.2338455766, -0.4356853664, 0.2373836935, 0.4475762844, -0.8674618602, 0.1534767449, 0.3884654343, 0.7543655634, 0.0905298293, -0.1203663349, -0.5619410276, 0.6785306334, -0.6654809713, 0.8477399945, -0.5193104744, -0.0392559245, 0.2680855989, -0.0668950453, -0.0739090443, -0.3813239336, 0.7019179463, -0.1958184987, 0.1712170839, -0.7227031589, -0.653213799, 0.0545067936, 0.0250250511, -0.8551559448, 0.5846272707, -0.2228699178, -0.5495917201, 0.2474280894, -0.6078068018, -0.3819111586, 0.1294052452, -0.4558256269, -0.1413571835, 0.2307972014, 0.4963656366, 0.6175807714, -0.2914597392, 0.0072496566, -0.1348273903, -0.3040519357, 0.6364834905, -0.5075436831, 0.7056943178, 0.1543132663, 0.0185136274, -0.3145573139, -0.4541879296, -0.0005685044, 0.021360537, -0.1821962148, -0.6970116496, 0.1815006733, 0.2237649411, -0.3145030439, 0.0429729745, -0.7205909491, 0.2902413011, -0.5172840953, 0.2758192122, 0.7763510346, 0.1869556606, 0.3388063014, -0.515403688, 0.4614474773, -0.4146180451, -0.1668531746, -0.20591335, -0.4421017468, -0.3156092167, -0.4903604388, 0.4030794501, 0.764585793, -0.8500136137, 0.6069228649, -0.1998617947, -0.2319612652, -0.3168961704, -0.1139594987, 0.54642272, 0.2435521632, 0.3086902797, -0.1744238138, -0.5220439434, -0.7327296734, -0.6840801239, -0.6212344766, -0.4367643297, 0.3622020185, 0.2064133435, 0.3586280942, 0.9417862892, -0.5279269218, -0.5126926899, -0.2756914496, 0.2236154824, -0.1275272816, 0.5709198713, 0.4814356565, -0.467259407, -0.4613733292, 0.1043901965, -0.8670094013, -0.0673586503, -0.2947248518, -0.0823256671, -0.0292331669, 0.6247446537, -0.4787682891, 0.1989678442, 0.0121064847, -0.4944966733, 0.611703217, -0.2321259975, 0.592350781, -1.0296081305, -0.0053652371, -0.1591944546, -0.4300130904, -0.1906825304, 0.0560115725, 0.026881285, 0.0142339747, -0.4060102105, 0.5647569299, -0.5970395803, 0.2597343326, 0.1650714576, 0.1409312785, 0.2119760215, 0.5092464685, -0.0600201264, 0.6144339442, 0.2298403531, -0.3242988586, 0.5985046029, 0.3372345567, -0.5977367759, 0.7485662103, -0.5393579602, -0.0268164836, -0.1516183466, 0.5449755192, -1.1868464947, -0.3390506506, 0.1589383036, -0.2569399774, 0.4065769315, -0.3482833803, -0.5930474401, 0.0709903762, -0.3605964482, 0.3546814322, 0.5323458314, -0.4248209298, 0.7789004445, 0.1434478462, -0.3622000515, -0.6600568891, -0.9173739552, 0.2954731882, -0.2459588796, -0.4885257483, 0.5474979281, -0.0059642009, -0.1269870102, -0.1396851987, 0.0316856392, -0.1692998707, -0.2475262731, -0.0032353727, 0.1198273748, -0.1630904377, 0.2980649471, 0.2187817246, 0.0364437439, 0.1388345808, -0.0004727442, 0.0978043824, 0.0126022557, -0.2640958428, -0.4962036312, 0.5652395487, 0.3972604275, -0.0273056496, 0.6903984547, 0.5093621016, -0.3123556972, -0.358694762, -0.5338041186, -0.0615704991, -0.4614798725, 0.2544029951, -0.0961047113, -0.6397345066, 0.7355633378, 0.052271951, -0.117454648, 0.5118796825, 0.2537992597, -0.2820770442, 0.7558268309, 0.3331035376, -0.069607608, 0.6569998264, -0.0542171374, -0.2143951952, -0.7454467416, -0.1536925286, -0.5602458119, -0.210019514, -0.3361604214, -0.5777576566, 0.1936400831, -0.1493889987, -0.0943933427, 0.4965826869, -0.3216748536, 0.9692551494, 0.3628948927, 0.1731818467, 0.3064601123, 0.2351467311, -0.5963147283, -0.268505156, -0.4688081741, -0.5252488852, 0.9728448987, 0.2179632187, 0.7418406606, 0.4456337094, 0.4949055016, 0.9043903947, 0.0063322969, -0.4867012799, 0.4814609885, -0.2441711426, -0.7685935497, -0.3263459206, -0.2725736797, -0.7201962471, 0.0668523759, -0.1595644206, -0.978758812, 0.6228740215, 0.2737848461, -0.5904379487, 0.2576651573, -0.5752748251, 0.6594013572, 0.2249940485, -0.3331159949, -0.0993320942, -0.500287056, 0.1438825279, 0.1290338933, -0.0185393021, 0.0601460189, -0.0579090714, 0.6820650101, -0.491337657, 0.9282773733, -0.1814849675, -0.3173822761, 0.4297721088, 0.1415075213, 0.7217956185, 0.08066082, -0.4590269029, 0.0470569842, 0.1102207005, -0.1615267098, -0.7134481072, 0.6499117613, -0.6915618777, -0.1120651364, -0.7327091694, -0.4848051667, -0.2732057571, -0.3479607403, 0.3422805369, 0.6077635288, -0.580550611, 0.4874773622, 0.6455047727, -0.1768017113, 0.4417668879, 0.1075959578, 0.0495867878, -0.6863148212, 0.8219727874, 0.0497417152, 0.1984817833, 0.5441237092, 0.1810835749, -0.4873590469, -0.1481921524, -0.3048714995, 0.2721742988, -0.9963055849, -0.2206506282, -0.4659953415, -0.2982749939, -0.4526322782, -0.2947753668, -0.3441483676, -0.6373842955, -0.307495147, -0.0201437436, 0.4927274585, 0.5856745839, -0.1656306088, 0.3777316809, -0.3772274554, 0.1238162145, 0.2699593306, 0.1246071458, -0.0232660864, -0.6908509731, -0.4993627369, -0.1673400253, -0.3166832626, -0.8193314672, 0.3048590422, 0.5739477277, 0.4588991404, 0.3626919091, 0.3186692894, 0.5592668653, -0.9234347343, 0.8646227121, 0.1973403245, -0.9148190618, 0.390535295, -0.4406540096, 0.0829849914, 0.6471671462, 0.2274801582, -0.640450716, -0.5114332438, -0.4700434208, -0.6551395059, 0.7223885059, 0.5319823623, 0.4222196937, 0.0914046541, 0.4349902272, 0.0494259186, 0.2345393151, -0.7143077254, -0.1182328165, -0.1279875487, -0.3753842711, -0.317261219, -0.1637440771, -0.1378296167, -0.3744773269, 0.5295825005, -0.1024288386, 0.4776340425, 0.3961227238, -0.1957644224, -0.0044055558, 0.2098842263, 0.3991911709, 0.3042679131, -0.3495634496, -0.0807006955, -0.0939901471, -0.3827448785, 0.1297718436, 0.1333047748, 0.0331793018, 0.1388595104, 0.7114342451, 0.5607716441, 0.1326908618, -0.3419874609, 0.5882411599, -0.0856545269, -0.0777452663, -0.6650457382, 0.3035692573, -0.0444205143, 0.5697548389, 0.5824600458, 0.1967010051, 0.0780478045, -0.6822912693, 0.2751364112, 0.3797396421, -0.4273887575, -0.0458379649, 0.5361564755, 0.2571789622, -0.3203630447, 0.3455560505, -0.0399416648, -0.4116659462, 0.4755179584, 0.4616541564, 1.0988386869, -0.3568943143, 0.4836524129, 0.1463568658, 0.4032696187, 0.0130612496, 0.0064429953, -0.1014733091, -0.7174075842, -0.460577786, -0.5414136648, -0.6630592346, -0.1389628798, -0.3321102858, 0.1474148184, -0.5912849307, 0.014305396, -0.1838117838, -0.0430647954, -0.5090607405, 0.0020570818, 0.4568116963, 0.252483815, -0.9399567842, 0.6854658723, 0.5083420277, -0.6586859226, -0.5196408033, 0.143234387, -0.086569339, -0.5450260043, 0.4516301155, 0.1076883227, 0.0162510574, 0.1287215352, -0.6592153311, -0.7725337744, 1.0875223875, 0.9201435447, -0.2879645526, -0.2935135365, 0.0353993252, 0.4268691242, -0.7757808566, 0.6153580546, 0.0227053873, 0.3648764193, 0.2023353875, -0.570843339, 0.2029299289, -0.2205776721, 0.0672787651, -0.2425494641, -0.2259268016, 0.633118391, 0.0827743635, -0.0403967239, 0.2932215035, 0.8720782995, 0.2108706683, 0.0163290519, 0.5336697698, 0.0249858554, 0.9898020029, -0.0328515507, 1.2521473169, 0.2502459586, 0.1159224138, 1.1509767771, -0.1359712631, 0.8056809306, 0.345846355, -0.1535785496, 1.0968208313, 0.3290096223, -0.1379514039, 0.5080345273, 0.3965694308, -0.4473940134, -0.4022879601, -0.3576246202, -0.3002718389, 0.2820838988, 0.2432794571, -0.5740619898, 0.0287119038, 0.1702923924, 0.011349638, 0.3354178667, -0.0666706339, 0.6480007172, 0.1812695712, -0.4348019361, 0.4382266104, -0.0659722313, 0.4999056756, -0.914893806, -0.2251707464, -0.1189985871, 0.3368839025, -0.0135913342, -0.4450334013, 0.0105805183, -0.0068112891, -0.267516315, -0.2631313205, 0.6590538025, -0.6114183068, -0.7204089761, 0.1051535308, -0.0242041927, 0.3758244514, -0.3524028957, -0.5861318111, -0.1194240153, 0.0526319705, -0.2101023048, -0.0230550598, 0.6678996682, 0.066769436, 0.4847138524, 0.5117566586, 0.3246833682, -0.2550679445, 0.2352632582, 0.5856932998, -0.7173410058, -0.5653110743, -0.8119131923, 0.7534148693, -0.4639272094, -0.3147250414, 0.7645930648, 0.2063192278, 0.399907589, -0.2276381105, 0.875003159, 0.0517748222, 0.2511472702, -0.6343739033, 1.0258288383, -0.5843909383, 0.3930568993, -0.6672773957, -1.0913358927, -0.2629117966, 0.8100040555, -0.0105780065, 0.0173692089, 0.8424787521, 0.6588501334, 0.0188256055, 0.041087836, 0.5082452297, 0.128975004, 0.3659749031, 0.3486563861, 0.8122289777, -0.7052550912, 0.5531261563, 0.1709530652, -0.1256893575, -0.3000529408, -1.3196150064, -0.8364087343, -0.5276051164, -0.6461607218, -0.2665908635, 0.3384056091, 1.0386513472, 0.3233699501, -0.7811729908, -0.2917596102, 0.002645968, 0.067762889, -0.4663157463, -0.203598693, 0.3368097246, -0.3040560484, -0.6238448024, 0.5152187943, -0.1310078651, -0.2335200608, -0.2636703551, -0.0914770514, -0.4110044241, 0.6086059809, 0.393559128, 0.2599133551, -0.7464085221, -0.5482881069, -0.4103868604, 0.0579067208, -0.033898972, 0.8399010897, -0.644204855, 0.4411153197, 0.2221105993, 0.582916975, 0.1484673321, 0.1589041948, 1.0175577402, -1.1520135403, -0.1784921438, 0.3530340791, 0.3963822424, 0.5616292953, -0.617510736, 0.3021597564, 0.3961226046, -0.6430297494, -0.7515605688, 0.147546038, -0.9275413156, -0.2154435962, 1.0949984789, -0.3133124411, -0.2948575914, -0.1492161155, -0.2089397758, 0.3401996791, -0.7017430663, 0.3447340727, 1.070928216, 0.0396779031, 0.1257877648, -0.2870073318, 0.7191902995, 0.5582727194, -0.4853587151, 0.5886577964, 0.7253984809, -0.0611130558, 0.3791058064, 0.378757, -0.0096995011, 0.0919444039, 0.0017712703, 0.4330325723, -0.1168637052, -0.4144972563, -0.1524109095, 0.2022394538, -0.1742597967, -0.0354641452 ]
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.1753767133, -0.940328002, 0.4141190052, -0.0856213719, 0.3761297464, 0.3745245039, -0.1882995218, -0.4975502789, 0.1072712615, 0.7165611386, -0.5456522703, -0.3591910899, -0.5601229668, -0.2139276862, -0.4633349478, 0.8343150616, 0.2696006894, -0.1808709651, -0.6627143621, -0.0454636961, -0.4685204923, -0.6712990403, -0.6771603227, -0.628914535, 0.3852342069, 0.4696009755, 0.730581224, 0.3201256096, 0.4079352319, 0.368011862, -0.2018606812, 0.2868152857, -0.6946391463, 0.3010207117, 0.3391076326, -0.9233101606, -0.3572046757, 0.0581632107, 0.3760111332, 0.5398375392, -0.1847884506, -0.0252996571, -0.041683659, 0.4373909235, -0.2840291262, 0.4178858399, -1.0014563799, 0.0201839712, -0.0480815694, -0.2868572176, -0.3164822757, -0.3441948593, 0.1231825352, -0.3628326058, -0.0975793749, -0.0105768265, 0.4941558242, 0.3944961429, -0.5230872035, -0.5564036369, -1.062466979, 0.7663143277, -0.5062201619, 0.3097599745, 0.1166168153, 0.6120688915, -0.4737347662, -0.704143405, -0.3931239247, -0.5123080611, 0.2408680469, 0.1685367078, -0.1505324841, -0.1403468698, -0.1014236137, 0.4060803354, -0.3289108872, 0.4293016493, -0.3223632574, -0.0539117903, 0.6316449642, 0.3002898097, 0.490488559, 0.3356659412, -0.2984981537, -0.0945898369, -0.995141089, -0.2005560249, 0.2706457675, -0.0096485019, -0.2422274947, 0.6856590509, -0.2089812607, 0.5298622251, -0.2745814323, -0.2401886582, 0.1778659374, -0.2825253606, -0.2127904594, -0.0448234603, 0.917360425, 0.2314010262, 0.399690032, -0.1076555848, -0.0262859147, -0.2804599106, 0.1978773624, -0.3491163552, -0.0012404935, 0.192943722, -0.1109240353, -0.5020608902, -0.4690789282, -0.4217046797, -0.772823751, -0.0377412327, -0.1120170876, -0.1722639054, -0.1951122135, -0.1699782461, -0.0247894544, 0.7941541672, 0.60016644, -0.8242304921, -0.0628817454, 0.7323983908, 0.7135824561, 0.0163073875, -0.2058125436, 0.0572951585, -0.0706948712, -0.4268558919, 0.9214824438, -0.4406150281, -0.4636971951, 0.3556033671, -0.3185249269, 0.0291651003, -0.7152191997, 0.1065593809, -0.5210379362, 0.3273261487, 0.2917577326, -0.5807349086, -0.1486269236, 0.8013910651, -0.3735580742, 0.701720655, -0.0235826448, -0.358936429, 0.1465346217, -0.7665305138, -0.3219884038, 0.2608233392, -0.3340959251, -0.2156990916, -0.2373203486, 0.2662108839, 0.5081387758, -0.6262428164, 0.0696739927, -0.1855370253, -0.2695404887, 0.6473169327, -0.7144030333, 0.6909416318, 0.1882688254, 0.0100007141, 0.1122143865, -0.411907196, -0.0583907589, 0.0690541565, -0.2142508626, 0.2369818836, 0.3408483565, -0.3023421764, 0.0996651649, 0.4696009755, -0.464543283, 0.1591816396, -0.4177348912, 0.6498559117, 0.6673372984, 0.1276637018, 0.3547782004, -0.5530350208, 0.6018027663, -0.046038378, 0.3468983173, -0.4355825186, -0.6460884213, -0.91348809, 0.007028454, -0.0927628726, 0.7014219165, -0.6186971068, 0.4711616337, -0.3706319332, -0.8694494367, -0.5460226536, 0.0985917076, -0.1024171636, 0.3119853735, -0.0113551896, 0.1110060215, -0.1955555528, -0.6088761091, 0.0608152226, -0.5803578496, -0.0607535876, 0.6910924315, 0.1444223523, -0.5046513677, 0.8588848114, -0.3503248096, -0.1792897582, -0.6949049234, -0.2887696922, 0.0199791174, 0.2039010674, 0.2573030293, -0.62007761, -0.3792435229, 0.1945339888, -0.8372350335, 0.0732393786, -0.3265445828, 0.0048215124, 0.1644831002, 0.565901041, -0.7090247869, 0.1776989996, 0.545918107, 0.1923517585, 0.2315392345, 0.0337790251, -0.0783056021, -1.049374938, -0.0184741765, -0.250708729, -0.1596788764, -0.5926504135, -0.2232728451, -0.4106697142, -0.1395948082, -0.6118741632, 0.7458044887, -0.3607497513, -0.0478649698, -0.311968863, 0.4166032076, -0.586260736, 0.4332973063, -0.0962214842, 0.6512038112, 0.5720379949, -0.5931409597, 0.64245224, 0.5308821201, -0.1641716212, 0.3636859953, -0.6165037155, 0.4068725705, -0.009998682, 0.2508237362, -0.8777649999, -0.1687104851, 0.5024403334, -0.6919159889, -0.1094646603, -0.1690033674, -0.5649696589, -0.2079736143, -0.0673442036, 0.0447505563, 0.8422284126, -0.3547699451, 0.3827086091, 0.5292586088, -0.2137592882, -0.5811060667, -0.6643372774, 0.3669919372, -0.1318480521, -0.630205512, -0.1638534069, -0.1433788985, -0.377250731, -0.2742917836, 0.0410045907, -0.0693797767, 0.271427989, 0.3641315401, 0.092697911, -0.1209413484, -0.0619557239, -0.3323574066, -0.0284571089, 0.1099692509, -0.0797311813, 0.9266123772, -0.012398107, -0.710310638, -0.3910773098, -0.1085848138, 0.474730283, -0.0267901123, 0.5612231493, 0.388323009, 0.0541739017, -0.0687413141, -0.6342114806, -0.064423278, -0.4773001373, 0.4099481702, 0.1095219627, -1.1732040644, 0.4526956081, -0.185123831, 0.4922687113, 0.3254017234, 0.8446977139, -0.2101638466, 0.6734624505, 0.7189369202, -0.3548773825, 0.6916051507, -0.0836176872, 0.2338076532, -0.4068515003, -0.4607700408, -0.433797121, -0.2703915834, -0.6754229665, -0.3382306397, 0.3063848317, -0.4322076738, -0.131268993, 0.0462468527, -0.1617702693, 0.429967165, 0.6190982461, -0.0553487167, 0.3316530883, -0.2013290823, 0.6279150248, 0.4755167961, -0.6324990988, -0.6237254739, 1.2674789429, 0.3968033791, 0.6920709014, -0.0520938672, 0.4973074198, 0.51960361, 0.3481794894, -0.9205292463, 0.5907317996, 0.2908301353, -0.5327808857, -0.3791431189, -0.4794141948, -1.0383070707, -0.1479445994, 0.0783490837, -0.4080252051, -0.4542936385, 0.0051525068, 0.0392581411, 0.2601728439, -0.4197541475, 0.5738897324, -0.5017378926, 0.2433408201, -0.2806268334, -0.6865082383, 0.3669386506, 0.0339683853, -0.0725950226, -0.3440101445, -0.0248862486, 0.4652763307, -0.4169827402, 0.9116789103, -0.0779311135, -0.3624534309, 0.7713956237, -0.2406375259, 0.3613517284, -0.0857538804, 0.1630638838, 0.3817744255, -0.2436335087, -0.3021686375, -0.6186745167, 0.3700190783, -0.9062540531, -0.5633359551, -0.255628258, -0.4603060782, -0.3855252266, -0.0042182147, -0.0523389988, 0.1484756172, -0.5784009695, 0.2933287323, 0.515322566, -0.4356272519, 0.3650289774, 0.4760604501, -0.17200239, -0.2268884778, 0.8581953645, -0.174816668, 0.2823269069, 0.575941503, -0.0887115598, -0.1839531511, -0.6319370866, -0.4011358917, 0.0721705407, -0.459949404, -0.1364013851, -0.4465515316, -0.6323052049, -0.3984862566, -0.1362318248, -0.4055104256, -0.0791689903, -0.2842444479, 0.1253059953, 0.5206887722, 0.8824592233, 0.3406941295, 0.6211972237, -0.6991548538, -0.0259434506, 0.4240445793, 0.1760131121, -0.0707087517, -0.2476105541, -0.1146060303, 0.3640917838, -0.3823572099, -0.4745154679, 0.1820393652, 0.1752251238, 0.7264368534, 0.3987229764, -0.0724343807, 0.2037452459, -0.1943435222, 1.1114360094, 0.0675829798, -0.2626028657, 0.4536899924, -0.3967863023, 0.1012095958, 0.2423727363, 0.185564667, -1.0216583014, -0.4241697788, -0.4968160987, -0.6173628569, 0.696336627, 0.2208400518, 0.597430706, 0.1855190843, 0.2431405336, 0.1545243263, 0.3182881474, -0.4363926947, -0.3149239719, 0.0618110187, -0.3300976157, -0.110426195, 0.0432477035, -0.0609336533, 0.2677049041, 0.5298013091, -0.0782371834, 0.5528163314, -0.3516174555, -0.2904326022, 0.4162106216, 0.3907283843, 0.4051623344, 0.480371654, 0.0405700803, -0.277692318, 0.0632776693, -0.3462420106, 0.164873749, -0.19098261, -0.135133341, -0.3375124931, 0.2700959444, 0.662781775, -0.0557459332, -1.0811783075, 0.5399606228, -0.032144729, -0.1956502199, -0.7524453402, 0.4644129872, 0.0877499506, 0.4721465111, 0.1393003911, -0.0163811129, -0.3591302931, -0.7267848849, 0.0884656608, 0.5808443427, -0.5146075487, -0.1682492942, 0.4562386572, 0.4491271973, -0.4402400553, 0.9451268315, -0.0220007505, -0.2510571182, 0.5710612535, 0.2979697883, 0.8781222105, 0.2047439814, 0.1782087237, -0.3119125962, 0.144795239, 0.1494700015, 0.1751377434, -0.2458316088, -1.094817996, -0.0812636539, -0.2619308233, -0.9490312934, 0.1873054504, 0.0349301994, 0.1672809869, -0.5574170351, 0.0208141189, -0.3691202402, -0.0677312687, -0.7451556921, -0.1086825803, 0.3630803227, 0.6946546435, -0.3462301493, 0.5838922858, 0.7586384416, -0.4006031752, -0.1393174529, -0.0727259517, 0.0732796267, -1.3629015684, 0.2544956803, 0.0220192429, -0.0171373207, 0.0072070076, -0.8819177747, -0.6227549911, 1.1119081974, 0.1452551931, -0.3723677397, -0.105910182, 0.7241508365, 0.6815547943, -0.2470317185, 0.5821581483, 0.5604883432, 0.1969037652, 0.2614301741, -0.7986226678, -0.5090465546, -0.2714412808, -0.1597239673, -0.0456986651, -0.952861011, 0.4472009838, 0.0441957898, -0.098842673, 0.243458569, 0.6558474302, 0.0946057141, 0.4641421735, 0.3045541644, 0.1714800596, 0.6440186501, -0.1023598686, 0.5609855652, -0.3928983212, -0.0581488125, 0.8217175007, -0.3577596247, 0.6200461984, 0.0547062494, -0.2347009331, 0.3670826554, 0.5462988615, -0.3026177585, 0.0388534591, 0.34766078, -0.2517555058, -0.0741536617, -0.279315114, -0.1467918456, 0.74389714, 0.4844524562, -0.1731846184, -0.1027899235, -0.033778131, 0.2450468093, -0.2978976667, -0.2312234193, 1.1091934443, -0.0065148361, -0.5365792513, 0.3381494284, -0.210122779, 0.7929171324, -0.6614816189, 0.0499007627, -0.4933762848, 0.0740252957, 0.1260643303, -0.9527295232, 0.0389356464, 0.2117685825, 0.1209949553, -0.3322824538, 0.8510698676, -0.2835315764, -0.0811837837, -0.0269740243, 1.0477657318, 0.5764127374, -0.2330195606, -0.5213893652, -0.0851729214, -0.0135671692, -0.0133770406, 0.2732480466, 0.3845414519, 0.100363791, 1.0820052624, 0.4350799918, -0.0038981088, 0.1832296848, 0.0028746556, 0.7674372792, -0.7716211677, -0.1182328835, -0.6927019358, 0.3358743191, -0.0319095813, -0.3421983123, 0.7196739316, 0.4178094268, 0.7519487739, 0.2363902032, 1.0843297243, -0.0705203488, 0.4367040992, -0.3489228785, 1.0125621557, -0.4214741588, 0.200213775, 0.1308620572, -0.7457256913, -0.0007197757, -0.0251061879, -0.1666765213, 0.2762380838, 0.0366798677, 0.7283713818, 0.2724149525, 0.2229150832, 0.4204907119, 0.1435226947, 0.5874865055, 0.4643135369, 1.3223668337, -0.1923419386, 0.8202469349, 0.1029657274, 0.0268479716, -0.4557495117, -0.3369916081, -0.8126962185, -0.4920991361, -0.3474478424, 0.1307468265, 0.1081669331, 0.7904080749, 0.477553159, -0.5146819353, -0.3372808993, -0.1562664062, 0.2736926079, 0.0563162901, -0.1791269481, -0.1657113582, -0.5519509912, -0.8345277309, 0.6249001026, 0.055718977, 0.2859006226, -0.4686961174, -0.0495629907, 0.0877561867, 0.0712089911, 0.6668540835, 0.5556798577, -0.4859547615, -0.1409092396, 0.0823292956, -0.1318031251, 0.3053288162, 0.6504617929, -0.7742502093, 0.133341223, 0.4243424833, 0.852719903, 0.3215571344, -0.162035808, 0.6664006114, -0.6557248235, -0.0301861633, 0.3455534279, 0.0234631244, 0.454783082, -0.0723108426, 0.5697771311, 0.2301790714, -0.7734616995, -0.6904423833, 0.1433944106, -0.820730865, -0.0634812862, 1.0418530703, 0.1200706363, -0.0005327768, -0.1219868138, -0.1624658555, 0.2620182633, -0.5044803023, 0.6364911199, 0.5299367309, -0.4469612539, -0.2578456402, -0.4773071408, 0.3612252176, 0.1123684198, -1.0923352242, 0.180246979, 0.5802970529, 0.0941653773, -0.0900551602, 0.7209874392, -0.0000864159, -0.1284973621, 0.1520892084, 0.1604358405, 0.0688389316, -0.3483057618, -0.1665193737, 0.0384579599, 0.2635204196, -0.1899008006 ]
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.4701681435, -0.5624716282, 0.6312999725, -0.2306368798, -0.2557623982, 0.3254016042, -0.3261211812, -0.2792277038, 0.4398730099, 0.6638667583, -0.522126615, -0.0251041185, -0.3636477888, 0.2088047415, -0.6127242446, 1.0130938292, -0.0149004795, -0.2091554105, -0.4199654162, -0.0718472078, -0.6144925952, -0.2784951329, -0.8532423973, -0.2042909414, 0.8170196414, 0.5569577217, 0.3087947369, 0.2851467431, 0.352655828, 0.3589108884, -0.1229149476, 0.3832894266, -0.9144324064, 0.7600545287, -0.5255460739, -0.573380053, -0.0196558237, -0.2992631495, 0.5585784912, 0.338475883, -0.496918112, 0.5139489174, -0.1653041542, 0.8290726542, -0.7829195261, -0.2370432168, -0.9227285385, -0.4331290424, -0.1605830044, -0.4099752307, -0.5222613811, -0.299865216, -0.1481745541, -0.6322453022, 0.4586993456, 0.2769084275, 1.0443937778, 0.5638098717, -0.2809466124, -0.0020585512, -0.7904666066, 0.6945931911, -0.610839963, 0.6913855076, -0.0581334494, 0.6089456081, -0.2909124494, -1.2502381802, -0.6056941152, 0.4660830796, -0.1753825694, 0.3217029572, 0.0303405039, -0.2472354025, 0.0953806117, 0.6180368066, -0.5110488534, -0.1992207021, -0.6311131716, -0.0124746272, 0.3903106451, 0.0827143788, 0.0751432851, -0.0531003475, -0.3046691716, -0.0024037536, -0.5405243635, -0.0161615424, 0.1119310185, 0.2050963789, 0.5878911614, 0.4328260124, -0.3872447312, 0.5022825599, 0.2184129506, 0.0280339327, 0.1201199517, -0.1873524487, -0.4786086679, -0.2278979272, 0.3424233496, 0.0918141678, -0.0108952913, -0.2215815485, -0.4070331454, -0.524749279, 0.7625246048, -0.9482361674, -0.0241986196, 0.2705157697, -0.4768165946, -0.0865974203, 0.0662579387, -0.7484431267, -0.2351545095, -0.427595377, 0.2949194014, -0.1842695475, -0.3998734951, 0.1487185955, -0.4769929349, 0.5110353827, 0.4793705642, -0.6134333611, 0.2954022586, 0.7830687761, 0.5924599767, 0.0762456357, 0.0421110541, -0.8086465597, 0.2619669139, -0.0248511452, 1.1631724834, -0.6462686658, -0.298650533, -0.0427157506, 0.1953231692, 0.0245540421, -0.7581109405, 0.6782266498, -1.1761395931, 0.4566970766, -0.3400363326, -0.3985039592, -0.4660198689, 0.4239632487, -0.7487931848, 1.1888198853, 0.3860088885, -0.7242859006, 0.0939430147, -0.2481830865, -0.1387423426, 0.0606928505, -0.064959757, -0.2661017776, 0.5521429777, 0.1282551289, -0.0378762893, -0.5897738934, 0.300650686, -0.022834057, -0.5548036695, 0.177350685, -0.2356495708, 0.3385604024, 0.2604822218, 0.1558205783, 0.2807711065, -0.5405248404, 0.2534248233, -0.0371781215, -0.6485291719, -0.2097673714, -0.1195324436, 0.1461815089, 0.1476875395, 0.4290953577, -0.475782752, 0.1990123987, -0.3689264357, 0.1370470226, 0.8278000355, 0.2120306343, 0.2970120907, -0.5783033371, 0.6767955422, -0.4295325279, 0.1194861457, -0.2627186477, -0.1439511627, -1.0304050446, -0.2145038843, 0.3582543135, 0.5137636662, -0.7527996302, 0.0283710063, -0.4609864056, -0.4599376023, -0.6934217811, 0.1783464849, 0.3254981637, 0.5880964398, 0.4807987809, -0.2428963482, -0.725335896, -0.8604497313, -0.4236242473, -0.0467902273, -0.2175320536, 0.1476007998, 0.1562959105, -0.1643695384, 0.8609961867, -0.7219897509, -0.084291175, -0.2393932641, 0.0227395184, 0.3755753934, 0.1930229664, -0.0061867177, -0.8897061348, -0.5166116357, -0.1423972696, -0.3645880818, -0.2697917223, 0.0219843797, -0.4196470082, 0.1172490269, 0.7447263002, -0.4948903024, 0.241487354, 0.176072672, -0.2514684498, 0.5985476375, -0.1889425367, 0.1297895312, -1.1185611486, 0.2993917465, -0.5542336702, -0.2383319438, -0.5959770679, 0.3636695147, -0.0945369154, -0.0555326454, -0.2054644227, 0.6002677679, -0.4185042381, -0.1956656873, -0.5626171231, 0.2459010035, 0.3982436061, 0.5341487527, 0.0342132971, 0.7562502623, -0.0982248411, -0.2957846224, 0.2463680059, 0.2011848241, -0.1617092043, 0.495978117, -0.6214332581, 0.3287476599, -0.5551102161, 0.3156192899, -1.3321999311, -0.1624173522, -0.1480723023, -0.5635777116, 0.5190221071, -0.2171250582, -0.4050024152, -0.0340681002, -0.3777258098, 0.4212138057, 0.6497362256, -0.4914752841, 0.877128005, 0.0834357366, -0.3725472391, -0.6051464081, -0.347420007, -0.0902687982, -0.1229593158, -0.5471469164, 0.2996617258, -0.1103374735, 0.0313561819, -0.0190098099, -0.4321581125, -0.0705077201, -0.0053581884, 0.0998945758, 0.2439482659, -0.1177076548, 0.3146464825, 0.116191715, -0.2677615881, -0.0887375101, -0.2167414278, 0.6935025454, 0.1187460646, -0.2497161329, 0.1222064868, 0.4445713758, 0.8169701099, -0.6234881282, 0.6369451284, 0.7712904215, -0.2832460105, -0.126012668, -0.8958538175, -0.2509429753, -0.5049396753, 0.213871941, -0.428604126, -0.9767118692, 0.504031837, -0.2668376267, 0.4033542275, 0.2969371378, 0.3521229625, 0.0260271933, 0.5522041321, 0.6002209187, 0.2353067398, 0.5481489897, -0.1085046679, 0.4169115126, -1.3046500683, -0.45793432, -0.6538327336, -0.515137136, -0.3463360965, -0.6229090095, 0.2823168635, 0.3183701932, -0.3525491655, 0.0044106874, -0.6208940148, 0.4916858077, 0.5411440134, 0.0658425987, 0.457070142, 0.0458713658, 0.0631001741, 0.071004115, -0.638302207, -0.2944035232, 1.0336937904, 0.156635657, 0.697332263, 0.1875966787, 0.8115846515, -0.0698301122, 0.6213949323, -0.6774764061, 0.441712141, -0.0609322488, -0.5595501065, -0.3043402135, -0.2495640218, -0.8398897648, 0.4541027248, -0.1532705873, -0.3875992894, 0.2993766963, -0.2133006603, -0.3357190788, 0.3571616411, -0.6463955641, 0.6398397088, -0.0895123631, -0.4837253392, -0.2479903549, -0.4434566796, 0.3138449788, -0.1831054688, 0.2872051299, -0.0050318628, -0.3316852152, 0.5856321454, -0.4238284528, 0.4456203878, -0.2240408808, -0.1721845269, 0.2166934758, 0.1795261204, 0.6159914136, 0.02786934, -0.0713041797, -0.2757799327, 0.0134447711, -0.2909264565, -0.9640899301, 0.6579030752, -0.4436717033, -0.8598672152, -0.2716169655, -0.5193536878, -0.0733923018, 0.4273398519, -0.0237686355, 0.4120543301, 0.0843577087, 0.1383365542, 0.7966073751, -0.2209640443, 0.1808443964, 0.7740857005, -0.5282825828, -0.5581774712, 0.8555386662, -0.1811001748, 0.2779757679, 0.6469150782, 0.0542014241, -0.5730049014, -0.5488171577, -0.2218778878, 0.3396367431, -0.7855607271, -0.514672637, -0.6139864922, -0.2380080521, -0.3039032221, -0.1488632858, -0.263179034, -0.3785956502, -0.1118186042, 0.0241560005, 0.4756026268, 0.4407293499, 0.217772156, 0.2182941288, -0.8901843429, 0.5258103013, 0.3928768635, 0.5469045043, 0.1196239665, -0.7888351083, -0.3176098466, -0.1584753394, -0.0428501591, -0.6847351789, 0.2681051791, 0.043118652, 0.4398243427, 0.2621206641, 0.1110543236, 0.9702490568, -0.5155621171, 0.5163666606, -0.1368188858, -0.5001226664, 0.2372549921, -0.1385899633, 0.4262493849, 0.9622424245, 0.1593813449, -0.8684772849, -0.4276751876, -0.5238461494, -1.1635285616, 0.460478127, -0.0848452002, -0.1494547129, -0.0616084151, 0.5437671542, 0.1348238587, 0.3356107473, -0.3193190396, 0.0310596172, -0.0456570536, -0.1588406265, 0.1552711278, -0.4547920525, 0.0066126436, -0.1028477624, 0.799985528, -0.0058396431, 0.1631789654, 0.3106638193, -0.0004141805, -0.1452776194, 0.5350623131, 0.1913456917, 0.650321126, -0.3852955997, 0.1231377721, 0.0858688354, -0.3821898103, 0.087675564, 0.129229635, -0.157055825, 0.0188244022, 0.1712709218, 0.3447984755, 0.2166139334, -1.0237016678, 0.119407855, -0.3303981125, 0.0681528151, -0.5050884485, 0.0007990143, 0.1029530391, 0.3960061967, 0.5135189891, -0.0156727098, 0.2534663975, -0.4638055563, 0.2776257098, 0.3518255651, -0.1193155423, 0.1118500829, 0.6120699048, 0.1649101228, -0.1814331114, 0.8718233705, -0.1723106354, -0.5293490887, 0.2097559869, 0.4712335765, 1.0387032032, -0.2017406374, -0.0722023994, 0.5387985706, 0.2025600672, -0.1446457952, 0.4366714358, -0.0395881906, -0.5331705213, -0.7597209811, -0.9279257655, -0.197708413, 0.0951224491, -0.7484551072, 0.2607053816, -0.2960014641, 0.16074422, -0.3918332458, -0.0327016897, -0.4117967188, 0.1004469022, -0.1920187622, 1.0827168226, -0.4895923138, 0.5088178515, 0.7764033675, -0.4889601469, -0.7835510373, -0.1736881584, -0.3294630647, -0.6117115021, 0.4736820161, 0.1210887954, -0.1732968241, 0.0486453995, -0.2178074569, -1.1198545694, 1.1753188372, 0.1252055615, -0.6759611368, -0.2436201721, -0.241373077, 0.4656419158, -0.1506097168, 0.5769380927, 0.5788141489, 0.5099708438, 0.4349730611, -0.7803611755, 0.402554661, -0.4062818289, 0.0858355984, 0.5936987996, -0.7871655226, 0.7640010118, 0.0259213019, -0.4461561143, 0.1318881512, 0.5223069787, 0.2714027762, 0.2054100633, 0.5466392636, 0.8578740358, 0.8030645847, -0.0136971204, 0.834048748, -0.268463403, 0.1313591748, 1.4009954929, -0.1750476658, 1.0967196226, 0.6712065935, 0.0502376407, 0.8617781997, 0.462802738, 0.2831270397, 0.5133726001, 0.3141274452, -0.3313544691, -0.3224042058, -0.2001124471, -0.2116830498, 0.1980112642, 0.2533007264, -0.1112394109, -0.4623168707, -0.1801585257, -0.0766857788, 0.2020348907, -0.1785438657, 0.8801886439, -0.1836354882, -0.9169583321, 0.8640861511, -0.0568390079, 0.5477812886, -0.6758336425, -0.2291785628, -0.4576946497, 0.0921473056, -0.4261630774, -0.6225677729, 0.5017854571, -0.0411078818, -0.4467740953, -0.3518841267, 0.8697676063, -0.6478681564, -0.3118071258, 0.0701541081, 0.5303862691, 0.2572214007, -0.3984175324, -0.3184177876, 0.2266437709, 0.2026703656, -0.2551105917, 0.2259594649, 0.5306643844, -0.0293263998, 0.625251174, 0.8498626351, -0.0067158537, -0.0325230472, 0.1447672993, 1.1176366806, -0.6639897823, -0.2186124325, -0.4487406909, 0.6244524717, -0.1467868388, 0.1286689937, 0.6139532924, 0.964499414, 0.9412896037, 0.0332501307, 0.667316854, -0.1341269761, 0.8862544298, -0.3451113105, 0.4308563173, -0.8101033568, 0.3230257332, 0.0825210661, -0.8849172592, 0.1171588898, 0.2353880703, -0.1022846997, -0.1269842833, 0.6104177833, 0.7869526148, -0.0346623883, -0.1915354878, 0.0124574965, 0.0538366027, 0.4931217134, 0.6358551383, 0.6722877622, -0.4160323143, 0.8986453414, 0.1450376809, -0.0558926202, -0.2344703525, -0.4549565613, -0.6826415658, -0.4536037743, 0.0466789082, -0.333453089, -0.2692490518, 0.4321076274, 0.3233549297, -0.4556401372, -0.190183267, -0.0158768669, 0.2380722165, -0.1330761313, -0.2649633884, 0.2376698256, -0.7547516227, -0.7000488043, 0.3157016337, 0.3320916295, -0.2869558632, -0.2726058066, 0.1456823349, -0.395249784, 0.0979895145, 0.6006790996, 0.3211724758, -0.5782207251, -0.2470584661, 0.3367639482, 0.3477472067, -0.0260985531, 0.9215035439, -0.9567788839, 0.5363264084, 0.777654171, 0.9376992583, 0.7709763646, 0.3413490653, 0.5386900306, -0.727391243, -0.0508411899, 0.2265153527, 0.3354761302, 0.2654926777, -0.3319151402, 0.5747474432, 0.0736775026, -0.7045748234, -0.8142613769, 0.3881277442, -0.7818229795, -0.5433383584, 0.8503095508, 0.0833251551, -0.2988061905, -0.1584071815, -0.4288206398, 0.322029531, -0.4862917066, 0.8511450291, 0.5782961845, -0.0881973356, -0.3334978223, -0.6037907004, 0.3307571113, 0.4672988057, -0.7655393481, 0.3222859204, 0.637383163, 0.5261954665, 0.2769657671, 0.6913006306, -0.1851336509, 0.1782970876, -0.2808313966, 0.0525385812, -0.2561933696, -0.2227616161, -0.1575373262, 0.1796673685, 0.1699587852, -0.0720502809 ]
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.1663073599, -0.2181674987, 0.0152003542, 0.0608216897, -0.1241909191, 0.2752830982, -0.2111667544, -0.3964638114, -0.2763815224, 0.3844079077, -0.54006809, 0.0422842577, -0.5637415051, -0.030517891, -0.6663116813, 0.8043296933, 0.0483174808, 0.373023659, -0.0822514221, -0.0901460871, -0.7728259563, -0.8575729728, -0.5190649033, -0.2868682742, 0.0621685497, 0.3029965758, 0.1784707755, 0.5324655771, 0.246985659, 0.2337865084, 0.4262738526, -0.0040514693, -0.6018204093, 0.3791381419, -0.3628069758, -0.3589607477, 0.0256710183, 0.3460810483, 0.8849020004, 0.7071789503, -0.1349023879, 0.2994511724, 0.4036073685, 0.3384022415, -0.6720510125, 0.1693218797, -0.6621171832, 0.383633852, -0.2341614366, -0.3103691936, -0.5206782818, -0.0759720579, 0.3022012413, -0.5157034993, 0.3050721884, -0.3222896457, 0.3936984539, 0.3466306031, -0.1167171076, -0.1410737634, -1.1634719372, 0.8403256536, -0.6296194792, 0.9741796255, 0.5546070337, 0.3824452162, -0.1097883508, -0.703361094, -0.4143503606, 0.027009584, 0.0488488227, 0.2875051796, -0.0777436569, -0.2371815145, 0.176785171, 0.22686252, -0.5235261321, 0.0286600087, -0.5643748045, -0.3056550026, 0.5751996636, -0.1276858598, 0.2400663644, 0.3541321158, -0.2223243862, -0.4895005226, -0.2837879658, -0.0049028713, 0.2561912537, 0.6661579609, -0.0222546477, 0.0713928118, 0.1989242733, 0.638201952, 0.3213250041, -0.3453273773, 0.355202049, -0.1209251732, -0.1513017267, 0.3733612597, 0.3708334863, -0.2066879123, 0.5929960608, -0.456109792, -0.1421652883, 0.0684610084, 0.3799304366, -0.8480033278, -0.3782937527, -0.0847238526, -0.2943497002, -0.1473155767, -0.2889338732, -0.746878922, -0.2123669833, -0.5359582901, 0.8206853271, -0.3321037889, -0.3330794275, 0.2501098216, -0.0803160518, 0.0741892606, 0.2305147648, -0.8751593828, 0.7367251515, 0.2004668862, 0.6893482804, -0.4749456346, -0.4957916439, -0.741871357, 0.1687229127, -0.35308972, 0.61421597, -0.3194249868, -0.6870436072, -0.1469224691, -0.0049148882, -0.5788693428, -0.7476348281, 0.3075376749, -0.408254087, 0.3341553807, 0.2616495788, -0.5343410373, 0.1328576207, -0.3122996092, -0.4587446749, 1.3011798859, 0.3560626507, -0.2524683177, 0.428214103, -0.519649148, -0.7583560348, -0.0737122446, -0.0508870594, -0.5719047189, -0.004975534, 0.0623139478, 0.4515026808, 0.2571826577, -0.2144004703, -0.080697313, -0.3275196254, 0.5661796331, -0.4422233105, 0.6264476776, 0.3203815222, -0.5575600863, -0.5263382196, -0.8218922019, 0.3404634297, 0.0158962924, -0.5283654332, -0.5537141562, -0.0900028795, -0.2943328023, 0.061859943, -0.3301111758, -0.4040305912, 0.117067419, -0.4170971513, 0.3831442893, 0.8030173182, 0.0029650291, 0.3709262311, -0.2642211616, 0.6169787645, 0.2785633504, 0.0860879496, 0.2330400944, -0.090500243, -0.6194987893, 0.0227513257, 0.8604398966, 0.3342745602, -0.459880501, 0.1421399713, -0.345867008, -0.3727217317, -0.7662416697, 0.2257128656, 0.3745319843, 0.5674142241, 0.5150643587, -0.7436279655, -0.5599610209, -0.3578596413, -0.5005046725, -0.1749185026, 0.078050077, 0.2373095453, 0.3099478781, -0.02315793, 0.6365540624, -0.2631795704, -0.5850497484, -0.0645061582, 0.0689985529, -0.28090626, 0.6252430081, 0.4961509109, -0.6662614942, -0.5709800124, -0.4740898907, -0.1753387451, -0.085574314, -0.4969705343, -0.1256411672, 0.016921157, 0.3265040219, -0.0335580185, 0.4281406701, 0.7245536447, -0.0966115743, 0.3374848068, -0.0555142201, 0.0980182141, -0.775029242, -0.1941008121, -0.3605036736, -0.5264548063, -0.8904234171, -0.5531366467, -0.0940226242, -0.3116863966, -0.467355758, 0.5867179036, -0.6243424416, -0.1898742467, -0.2921739817, 0.0331238993, -0.0620799698, 0.4564018548, 0.1186371669, 1.3732199669, 0.6188534498, -0.9091687799, -0.151331231, 0.5454361439, -0.361324966, 0.3365799487, -0.2079830319, 0.5684281588, 0.1755769551, -0.1466826051, -0.8603519797, 0.0643738136, 0.2934382856, -0.5914816856, 0.7243255973, -0.1410477459, 0.1822126657, -0.4295705557, 0.0948849022, 0.4322767854, 0.601259172, -0.850236237, 0.5808159113, 0.5142785907, 0.0747230053, -0.535687685, -0.9876583815, -0.1193466559, -0.2249456942, 0.0171065778, 0.3435790837, -0.3267417252, 0.1606529355, -0.2415084094, -0.401725173, -0.512455225, 0.3005317748, 0.5123022795, -0.2581178546, -0.1564528495, 0.4571250677, -0.1635618657, 0.1161440089, 0.1996203065, -0.4444360733, 0.3503856659, 0.2273442149, -0.1163816676, -0.5180415511, 0.1757029444, 0.1881213337, -0.1591819823, 0.3439988494, 0.2614701688, -0.2779871523, -0.9959535003, -0.3330313861, -0.3659434617, -0.4912058711, 0.2986623049, -0.6347153187, -0.46102494, 0.0072509698, -0.3801829815, -0.3219041526, 0.1399041265, 0.4353426099, -0.3166772723, 0.5111529231, 0.6680260897, -0.1983837932, 0.8007631302, -0.201724872, 0.2318223566, -0.727132082, -0.0635012761, -0.5707215071, -0.2333379537, -0.2182822376, -0.3497149348, 0.2440171242, -0.3018152118, -0.0403783917, 0.4605949819, -0.5934429169, 0.3074085116, 0.6582767963, 0.3154088557, 0.0844502226, 0.2912560999, 0.1841824204, -0.5321820378, -0.7160198092, -0.0006117882, 1.3235538006, 0.1587965041, 0.989512682, -0.0885433927, 0.6568787694, 0.6337872148, 0.2580322027, -0.6768186092, 0.2723233998, -0.2470342368, -0.6368199587, -0.7277069092, -0.3658882976, -1.159942627, 0.1380562782, -0.042761378, -0.1991914809, 0.5238044858, 0.1325378269, -0.4937160015, 0.2496612966, -0.7615174651, 0.6490857005, -0.3595055044, -0.0414067917, -0.0293387752, -0.4315542877, -0.189362675, -0.6906018853, 0.1008917764, -0.0046545989, 0.3772672415, 1.2120941877, -0.242421478, 1.0474905968, -0.3451527059, 0.0995277762, 0.5386489034, 0.3569753766, 0.2415660769, -0.4993146062, -0.1891899705, 0.1338026077, 0.2401176542, -0.2056981772, -0.8882207274, 0.2549470961, -1.238792181, -0.6094948649, -0.5165082216, -0.5550495386, -0.6149124503, 0.1114017144, 0.0793995038, 0.5530027747, -0.2842834294, -0.0158949345, 0.6312862635, 0.181078732, 0.4416596889, 0.7230237126, 0.1410231143, -0.2216280252, 1.0636813641, 0.4268094003, 0.6138560176, 0.0216047857, 0.3400485218, -0.4947333038, -0.6856720448, -0.283108145, 0.1317988634, -0.8650856018, -0.2525896132, -0.4977238774, -0.5138659477, -0.8785903454, 0.239682138, -0.4767323136, -0.5339539051, -0.5284382701, -0.0245160349, 0.212901473, 0.6404209733, -0.4239364266, 0.5310621262, -0.4528619349, 0.1080800593, 0.5999242067, 0.2276634723, -0.2498433441, -1.344209075, -0.4857549369, 0.0249562617, -0.3536927998, -0.6695021391, 0.6807941794, 0.9520263672, 0.6053609848, -0.1260638237, 0.2300634086, 0.8684561849, -0.5599435568, 0.6170613766, -0.0642419308, -1.1628973484, 0.6803326607, 0.2825417221, 0.1241287738, 0.7064855695, 0.5747298598, -0.432013154, -0.1392994672, -0.5994101167, -0.1746430844, 0.5908818245, 0.0823494941, 0.3323991299, 0.5576661825, 0.6727200747, 0.3274590373, 0.0660530627, -0.6689966917, -0.1698478758, -0.5355986357, -0.1433065981, -0.2370198369, -0.0682861209, -0.2501707971, -0.4771754146, 0.7424940467, -0.3380274773, 0.4647838175, 0.3667432666, -0.2526978254, -0.274954915, 0.1090515181, 0.3227570951, 0.5406767726, 0.029680524, 0.3060621619, 0.5847811699, -0.8700371981, 0.5634351969, -0.0364956595, 0.1476830691, 0.1322947741, 0.3980421126, 0.6006923318, 0.2234238982, -0.3567611575, 0.7816029787, -0.0441850014, -0.364348352, -0.1563508213, 0.3360742033, -0.4195112586, 0.2059346288, 0.0704462826, 0.091957204, 0.2439913601, -0.6161531806, 0.4617055655, -0.0620510206, -0.4837757647, -0.5026939511, 0.711002171, 0.0364238359, -0.3891626894, 0.6386019588, 0.1854325384, -0.5952709913, 0.2395582497, 0.9545302987, 0.9429668188, -0.9048665166, 0.2388786525, 0.2525360286, -0.0027088514, -0.0244953204, 0.3876747489, -0.3013171256, -0.7212927341, -0.3321831524, -0.475908041, -0.5280119181, 0.179251194, -0.6819015145, 0.1187798306, -0.2958009243, -0.1043257415, 0.1629501134, -0.0419517644, -0.7254815698, 0.6366637349, 0.2413796186, 0.5457172394, -0.839628458, 1.1701431274, 0.3970656395, -0.0023288454, -0.9697822928, 0.0922843292, -0.4094384611, -1.0386760235, 0.9086485505, -0.1681084484, -0.1970272213, 0.0733853802, -0.3086222708, -0.9512149692, 0.7931632996, 0.4435996413, -0.7896658778, 0.1795889139, 0.5075802803, 0.6177150607, -0.4042887986, -0.0967565179, 0.6911776066, 0.2277601957, -0.0736143216, -0.9567657709, -0.045864135, 0.1643908471, -0.1586681753, -0.1397339851, -0.648409605, 0.4940925539, -0.1270603389, -0.4862428308, -0.2764220536, 0.6021900773, -0.5111961961, 0.0827020705, 0.8297590613, 0.1363309175, 1.0096355677, -0.0032565736, 0.6972058415, -0.2416992635, 0.1794725358, 1.474486351, -0.2090753317, 0.6893556714, 0.3508595824, -0.3915365636, 0.1523029506, 0.6321994662, -0.1106298342, 0.9031972289, 0.3694927692, -0.1843145639, -0.5324879289, -0.0216125548, -0.4910126626, 0.5276808739, 0.0449778847, -0.2654182613, -0.01858739, 0.346655935, -0.4517450929, 0.0099092899, -0.0949614346, 0.7552980185, 0.3289344609, -0.2949232161, 0.7933295965, -0.6258170009, 0.0969104096, -0.50179106, 0.0792512223, -0.0413571969, 0.4427159727, -0.0439177006, -0.5354620814, 0.3407225907, -0.3401417732, -0.0012634838, -0.5978921056, 0.8506245017, -0.6235671043, -0.2008076459, 0.4520829618, 0.690081656, 0.5840379, -0.0389626399, -0.8273165226, -0.007333844, -0.0798033103, -0.1927934587, 0.4145072103, 0.4670668244, 0.150402844, 0.5971830487, 0.4938227534, 0.3268461525, 0.266150564, 0.3107248247, 1.0066466331, -0.5821153522, -0.4373879731, -0.4132385254, 0.0224528145, 0.2941405475, -0.4904844463, 0.7204675078, 0.6209948659, 1.083434701, -0.1240401119, 0.8951515555, 0.5389595032, 0.9935176969, -0.4107268453, 0.5219517946, -0.4291387498, -0.0333193243, -0.0445086733, -0.5161911249, -0.1151796058, 0.5376223326, -0.2835122049, 0.0892070606, 0.5425825119, 0.5572604537, -0.2080187052, 0.1632772684, 0.7738731503, 0.2677752376, 0.1919306815, 0.4135211408, 0.9982308745, -0.7199367285, 0.666760385, -0.4094517827, -0.1146632954, 0.0876667127, -0.3418478668, -1.123192668, -0.6482205391, -0.6117422581, -0.5284838676, 0.4964317679, 0.5499638319, 1.1377260685, -0.9175056219, -0.4815126359, 0.4432697594, -0.3896167278, -0.4376527369, -0.1339686513, 0.3604363501, -0.4622243643, -0.6839832067, 0.7916437387, -0.2424584478, 0.6450356841, -0.1739034653, -0.0453163907, 0.1416570693, 0.171225965, 0.3306415975, 0.4050236344, -0.0114443107, -0.4151850939, -0.1499722898, 0.0688946098, 0.4952553511, 0.8546420932, -0.9367974401, 0.6086491942, -0.0303219259, 0.8578544259, 0.8546069264, 0.0428219773, 0.6075001955, -0.646832943, 0.1586797088, 0.3082123995, -0.2041044533, 0.2691776454, -0.6529804468, 0.8065863252, 0.4291658401, -0.5774800777, -0.9706300497, -0.1864665598, -0.8090496063, -0.1972541809, 0.9616619945, -0.2721916437, -0.2982214093, -0.2878248394, -0.0010497404, 0.4019045234, -0.3630237877, 0.9680877924, 0.5408940911, -0.1815982461, 0.0592064336, -0.4254167378, 0.8808099627, 0.6528974771, -0.6931096315, 0.131336078, -0.1029446647, 0.6193515658, 0.0537819751, 0.6094902158, -0.0071037742, 0.1416614801, 0.0670504421, 0.1692616194, 0.1279826015, -0.53871876, -0.6448948383, -0.0335650481, -0.0276747793, -0.6867851019 ]