id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
listlengths
768
768
http://arxiv.org/abs/2402.06126v3
http://arxiv.org/pdf/2402.06126v3
Learn To be Efficient: Build Structured Sparsity in Large Language Models
2024-02-09T01:18:16
2024-06-03T18:28:58
Haizhong Zheng, Xiaoyan Bai, Xueshen Liu, Z. Morley Mao, Beidi Chen, Fan Lai, Atul Prakash
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have achieved remarkable success with their billion-level parameters, yet they incur high inference overheads. The emergence of activation sparsity in LLMs provides a natural approach to reduce this cost by involving only parts of the parameters for inference. However, existing methods only focus on utilizing this naturally formed activation sparsity in a post-training setting, overlooking the potential for further amplifying this inherent sparsity. In this paper, we hypothesize that LLMs can learn to be efficient by achieving more structured activation sparsity. To achieve this, we introduce a novel training algorithm, Learn-To-be-Efficient (LTE), designed to train efficiency-aware LLMs to learn to activate fewer neurons and achieve a better trade-off between sparsity and performance. Furthermore, unlike SOTA MoEfication methods, which mainly focus on ReLU-based models, LTE can also be applied to LLMs like LLaMA using non-ReLU activations. Extensive evaluation on language understanding, language generation, and instruction tuning tasks show that LTE consistently outperforms SOTA baselines. Along with our hardware-aware custom kernel implementation, LTE reduces LLaMA2-7B inference latency by 25% at 50% sparsity.
[ -0.0887670219, -0.9678637981, 0.4230528772, 0.3065273762, -0.3757843673, -0.0818925723, -0.364230305, -0.3328133225, 0.2180907577, 0.2189327031, -0.3956459761, -0.2993301749, -0.8247792721, 0.0717881694, -0.1961470246, 0.658650279, 0.1227367222, -0.094566524, 0.1423828006, -0.1927727163, -0.2143851519, -0.2360913754, -0.9408543706, -0.5884515643, 0.6603435874, 0.2763254941, 0.3177051246, 0.5869716406, 0.0537785031, 0.3083078265, -0.2347750217, 0.3170546293, -0.9145121574, -0.0346790887, 0.3017312884, -0.4385857284, -0.3678341806, -0.2287058234, 0.6578301787, 0.8238127232, -0.3965456784, 0.0950743183, 0.1332348883, 0.5840787292, -0.7013758421, 0.0343334004, -1.0099183321, -0.0099779777, 0.0063242568, -0.397259295, -0.7670475841, -0.1333627403, -0.2471954525, -0.7616991401, -0.1866858304, -0.1078218669, 0.8426702619, 0.4516885579, -0.2535620034, -0.0000131391, -0.539423883, 0.749227643, -0.5706685781, 0.807631433, 0.2193316072, 0.082910575, -0.3081476986, -0.6831605434, -0.4077138305, -0.3905466199, 0.110177815, 0.0361284986, -0.11055585, 0.0948554873, 0.416841805, 0.0107237995, -0.4087254703, 0.3908412158, -0.1467962861, 0.0903590545, 0.4526337385, -0.2865256667, 0.1048653945, 0.3311495483, -0.5205703974, 0.2753569186, -0.9332452416, 0.0807477981, 0.353417784, 0.2069799602, 0.0182918347, 0.5259967446, 0.0590495169, 0.5327070951, 0.0030496577, 0.0042353808, 0.1724120528, 0.1156364381, -0.304907769, 0.0848429576, 0.5133240819, -0.0894606411, 0.2256302536, -0.5265308022, -0.6560767889, -0.0212485474, 0.3954671621, -0.9267840981, 0.0444826037, 0.0141611658, -0.3911682367, -0.1545295268, -0.4935322106, -0.3293562531, 0.0854988471, -0.0639845133, 0.6625136733, -0.4362347126, -0.2574720085, 0.2616112232, 0.0981305838, 0.2204533219, 0.2443497777, -1.1384603977, 0.4414215982, 0.6641184092, 0.8314986825, 0.0870087966, -0.2254381776, -0.8310078382, 0.1883920878, -0.46890378, 0.8322271109, -0.4726236761, -0.2291579545, -0.2025339752, -0.2382112443, -0.2891484797, -0.4351071715, 0.4113099277, -0.9566408992, -0.1334223598, 0.0201056451, -0.5817516446, -0.20861049, 0.0308160782, -0.6462444663, 1.2227929831, 0.117873162, -0.4532979727, 0.4294076562, -0.7427929044, -0.6974717975, 0.1601548493, 0.090320088, -0.5244545341, 0.4757941663, -0.0482350476, 0.5416686535, 0.0329240337, 0.3291865885, -0.1088570505, -0.5894200206, 0.0180192199, -0.2914879918, 0.5125989914, 0.260915935, -0.4329561293, 0.051086951, -0.7383747697, 0.0371558741, 0.0457354486, -0.7267696261, -0.4120888412, 0.1426490396, -0.0514656976, -0.2420472652, 0.1422213167, -0.3256227374, 0.1093273535, -0.7134898901, 0.4748359919, 0.6712707877, -0.3647907078, 0.6866509914, -0.093181558, 0.1443964541, -0.2883540988, -0.1068574637, 0.1255748421, -0.2952739894, -0.7478951216, -0.5798904896, 0.2958136797, 0.4138804376, -0.7455608249, 0.5948504806, -0.3369876742, -0.4104932845, -0.3359253705, 0.58384341, 0.4529953301, 0.48512128, 0.4025103748, -0.2640970349, -0.4822041094, -0.7278891802, -0.4094755948, 0.2349072844, 0.1393242627, 0.2540186644, 0.3840843737, -0.1376771182, 0.6834595203, -0.1642625928, 0.042802304, -0.6147246957, -0.0242335796, 0.3334738314, 0.4842369258, 0.1531500518, -0.6832009554, -0.2500604093, 0.08020439, -0.4531074762, -0.2855338156, -0.1734984368, 0.0378224924, 0.2297246605, 0.6445564628, -0.659250617, 0.0318015665, 0.4678761959, -0.0502801239, 0.1976906508, -0.3063166142, -0.253256768, -1.0039206743, 0.1091384515, 0.1614847779, -0.298843801, -0.844655633, -0.3130220473, 0.0357218869, 0.0102537917, -0.3114555478, 0.6385639906, -0.5555561781, -0.2606963515, -0.1843134761, -0.1304117143, -0.1446494758, 0.7711899281, 0.0349096917, 0.8986934423, 0.2761401832, -0.686578393, -0.3247393966, -0.02389713, -0.5121465921, -0.1827190369, -0.8412868381, -0.0547674857, -0.1691914201, 0.2089136839, -0.8341389298, -0.1616590172, -0.047683768, -0.2331486344, 0.5127523541, -0.0915589184, -0.3896646798, 0.2679044902, -0.1780189574, 0.5110567212, 0.7178484201, -0.8593262434, 0.6448401213, 0.334203124, 0.00213665, -0.9236695766, -0.5884442329, -0.0364044569, -0.1292532682, -0.570938468, 0.4258847833, 0.3050786555, 0.2247963548, -0.1287966371, -0.1697477698, -0.0901472196, 0.6231850386, 0.018647572, -0.0540287718, -0.2422707528, 0.3412249088, 0.2530560791, -0.2310670018, -0.0762563944, -0.3128293753, 0.7409563661, -0.0516019501, -0.2464147806, -0.5070474148, 0.2179712057, 0.2769593596, -0.1554733664, 0.725693047, 0.4523457885, -0.3014909923, -0.4788137972, -0.7314614654, -0.3774659932, -0.4914678633, 0.6739208102, -0.3663296402, -1.0342490673, 0.2314797342, -0.4583236575, 0.295799613, 0.0612329394, 0.4707464278, 0.037294738, 0.8608880639, 0.7035638094, 0.1311705858, 0.8990493417, -0.4475622475, 0.2870930433, -0.77991575, -0.2463986576, -0.2525276244, -0.3796596527, -0.372159183, -0.5108990073, 0.2684025168, 0.2637791038, -0.3434753716, 0.32951653, -0.1503913552, 0.6165829301, 0.2871362865, 0.3695417345, 0.1378384084, 0.4483971596, 0.0502633676, 0.2814629674, -1.1752026081, -0.6280849576, 0.8944727778, 0.5595437288, 0.7692934275, -0.0427378379, 0.8077831268, 0.0242088661, 0.534502089, -0.8613588214, 0.6093484759, -0.1682367772, -0.1326761395, -0.2426327616, -0.7450470924, -1.0903464556, 0.1823450029, -0.3392745554, -0.6207499504, 0.0923615322, 0.2864593863, -0.2238942683, 0.2605888546, -0.901429534, 0.7879872918, -0.1696115285, -0.6833990812, -0.4413097203, -0.413630724, 0.2999278605, 0.0333093144, 0.1540959328, 0.0065743532, -0.4617509544, 0.6732795238, -0.3043455482, 0.9187710285, -0.3239173889, -0.0624744967, 0.1315879375, -0.1667532027, 0.6737727523, -0.0377728269, -0.3485822678, 0.2796554863, -0.7771218419, -0.6204615831, -0.6340597868, 0.5283446908, -0.7859525084, -0.3956708908, 0.0623686947, -0.4231685698, -0.2583729923, 0.1215799823, 0.3118688762, 0.5451664329, -0.1747245044, 0.1694566011, 0.8871632218, -0.096376285, 0.4444924593, 0.1671362668, 0.253528595, -0.4173839688, 0.8762954473, 0.2580999434, 0.3122758865, 0.5469448566, 0.1488733441, -0.4521696866, -0.8539623618, -0.4301355183, 0.2492228001, -0.5026479363, -0.1486421525, -0.8375318646, -0.2338713557, -0.0529561043, -0.4511997402, -0.5016838312, -0.3931904733, -0.3435648382, -0.1883379817, 0.2748482525, 0.4332433343, 0.0024093571, 0.9076228738, -0.5502638817, 0.1486016959, 0.2726455927, 0.4613947272, 0.0042488095, -0.6769948602, -0.3243342936, -0.1760593653, -0.2142300308, -0.6135053039, 0.4647326767, 0.5187698007, 0.6677604914, 0.2394655049, -0.3189530671, 0.6627691984, -0.5936897397, 0.4612225592, 0.3794079423, -0.9634037018, 0.0891700611, -0.0452369712, -0.0235655829, 0.4398600757, 0.3273417354, 0.0162156802, -0.1610376537, -0.6138519049, -0.9605760574, 0.395478636, 0.0408753231, 0.487010181, -0.081743598, 0.5853560567, 0.1679230779, 0.0926931798, -1.0447528362, 0.0209240019, -0.0318328068, -0.2276879847, -0.0987214372, -0.6236066222, 0.088700451, -0.0405617654, 0.7866818309, -0.1559800804, 0.1678211987, 0.1092268303, -0.4853474796, 0.0162799712, 0.4237924218, 0.4836672843, 0.4574055374, 0.0686076954, 0.2656734586, 0.6189448237, -0.2844992876, 0.2450949401, -0.0668926984, -0.080000639, -0.0637305975, 0.3371503055, 0.9664286971, 0.5569027662, -0.5723585486, 0.4119231403, -0.0101957247, -0.340062052, -0.131146729, 0.2165054828, 0.2949865162, 0.2916843295, 0.2467787713, 0.0123807704, 0.0607113503, -0.1689554155, 0.1281398833, 0.6555656791, -0.1251900643, -0.2090833336, 0.5277242661, 0.4554444551, -0.3731199801, 0.4341582656, -0.2440746278, -0.4343123734, 0.5400049686, 0.6952296495, 0.9128528237, -0.285279423, -0.1204850152, 0.2906595469, 0.3761095107, -0.2927877605, 0.3424430192, -0.3384347558, -0.7774679065, -0.9220971465, -0.7425307631, -0.0202733614, 0.1002256572, -0.2876360416, 0.270385921, -0.4418387711, -0.1180213168, -0.1563673019, -0.0077192117, -0.2760782838, 0.1003027707, -0.0584757514, 1.129596591, -0.8413180113, 0.909114778, 0.5202499032, 0.1709216833, -0.8938807845, -0.3144035339, -0.6352072954, -0.969994545, 0.9679677486, 0.612737298, -0.3836551309, 0.4453018308, -0.5601540208, -0.5205646157, 0.9743797779, 0.6315609813, -0.712685287, 0.1287558675, -0.2953397036, 0.2594079375, -0.382047832, 0.3784194291, 0.3723867536, 0.2917085886, 0.0459831767, -0.5603007674, -0.0039154137, -0.3184369504, 0.09290497, 0.353327781, -0.5132884383, 0.5287691355, -0.3906391859, -0.3470816314, -0.082507506, 0.7362459302, 0.1541506201, 0.3900688291, 0.7865235806, 0.8329480886, 0.5997126698, 0.0688035265, 0.9437731504, -0.3190176189, 0.1620753855, 0.7694851756, -0.2132404745, 0.9630590677, 0.5797558427, 0.2062835842, 0.3978406191, 0.5640625954, 0.2221232802, 0.6277695894, 0.2540781498, -0.6153849959, -0.5651572347, 0.0476866215, -0.0880478695, 0.333104372, 0.5121077299, -0.2214153856, -0.2770375609, -0.0961469337, 0.0751569271, 0.0277577322, -0.2315539569, 0.9385598302, 0.184877485, -0.5574707985, 0.9749458432, -0.1250855476, 0.7551187873, -0.8800084591, -0.0629996061, -0.1797050834, 0.0779154971, -0.2822951674, -0.1677557677, 0.2809681594, 0.0476668067, -0.110233821, -0.3815882504, 0.6267838478, -0.4486089349, -0.2575335801, 0.3838838935, 0.4890185297, 0.1605432034, 0.1038232967, -0.612752974, 0.1130294353, -0.1332870573, -0.7089343667, 0.4828466475, 0.3240724206, 0.1493600756, 0.8553639054, 0.7983463407, 0.2730237246, 0.2000784427, 0.0042889314, 1.0535355806, -0.3996207714, -0.3048813343, -0.8588143587, 0.4406045079, -0.1639026403, -0.1597409397, 0.3525104523, 0.6592074037, 0.7186395526, 0.0594734624, 0.6607223153, 0.098532483, 0.0580278933, -0.8341630101, 0.6170586348, -0.8119655848, 0.6138471961, 0.2098187953, -0.805686295, -0.2140070796, 0.8520567417, -0.4345927835, 0.1872316897, 0.4712212682, 1.2873171568, -0.1411841512, -0.143137455, 0.5380928516, 0.200195089, 0.2061208785, 0.6823627949, 0.7853141427, -0.2749165595, 0.4333921373, -0.1320037246, -0.5217717886, -0.3438934982, -1.015416503, -0.798866272, -0.2447725683, -0.2131613344, -0.259847194, 0.4473296702, 1.1062473059, 0.8804421425, -0.3671962917, -0.4124746025, -0.3857381046, 0.2818887532, -0.2479443997, -0.1218556687, 0.3601548672, -0.9605277181, -0.682218194, 0.6453877091, 0.4348581135, -0.1107290909, 0.179601714, -0.0667144507, -0.1638089418, 0.1134683713, 0.8697966933, 0.3492701352, -0.3406207561, -0.0508175157, -0.0471645109, -0.1772734076, 0.0768735558, 0.840390265, -0.7322270274, 0.0305561833, 0.3038266599, 1.030729413, 0.4585437477, -0.0886558443, 0.470695734, -0.7502669692, 0.2644663453, 0.2251878679, 0.3899556696, 0.1249664649, -0.2823210955, 0.3378887773, 0.1645566821, -0.6469486952, -0.9036500454, 0.2696971893, -1.0321052074, -0.2680612803, 1.374476552, -0.0994971469, -0.6112064719, -0.2070882618, -0.0381389931, 0.2939299345, -0.5476433635, 0.7589726448, 0.0832599998, -0.0107434914, -0.1669504344, -0.5930965543, 0.4616625309, 0.9019683599, -0.8723438978, 0.0937295929, 0.1912572533, 0.38883847, -0.2374140322, 0.743791461, 0.1860200316, 0.2490117848, 0.0364138447, 0.1711572111, -0.2692492008, -0.2336873561, -0.2611370683, 0.2461016178, 0.1658224612, -0.1404018402 ]
http://arxiv.org/abs/2402.06125v1
http://arxiv.org/pdf/2402.06125v1
Language Model Sentence Completion with a Parser-Driven Rhetorical Control Method
2024-02-09T01:15:42
2024-02-09T01:15:42
Joshua Zingale, Jugal Kalita
cs.CL
cs.CL
Controlled text generation (CTG) seeks to guide large language model (LLM) output to produce text that conforms to desired criteria. The current study presents a novel CTG algorithm that enforces adherence toward specific rhetorical relations in an LLM sentence-completion context by a parser-driven decoding scheme that requires no model fine-tuning. The method is validated both with automatic and human evaluation. The code is accessible on GitHub.
[ -0.1421930194, -1.0405327082, 0.6756336093, 0.2208356112, -0.5162623525, 0.1471102685, -0.2809600532, -0.0614069141, -0.1184969097, 0.9005475044, -0.6843349338, -0.7790893912, -0.6962361336, 0.3502093554, -0.3837157786, 0.9329363108, 0.0855715945, 0.0400958806, 0.1103503406, 0.2382332981, -0.5115417242, -0.4769217074, -0.7861884832, -0.8558847904, 0.302178055, 0.0807249546, 0.9420986772, 1.0606356859, 0.3012655973, 0.1980788857, -0.2313376665, 0.1605469286, -0.4071178734, 0.1545750797, -0.2010700405, -0.5745091438, -0.4429078996, -0.0273802746, 0.4630489647, 0.5672636032, -0.2966634035, -0.3207655847, 0.2263865024, 0.3090900779, -0.471824795, 0.0344441719, -0.7799038887, 0.0719631687, -0.0591056198, -0.7033477426, -0.9854741693, -0.6407518387, 0.0442256518, -0.4556900859, 0.0021043795, 0.1680912971, 0.7835607529, 0.1808130443, -0.9004907608, -0.5145215392, -0.4621978998, 0.7589615583, -0.7871534228, -0.0653124303, 0.4969622493, -0.0434825458, -0.4757071733, -0.6689476967, -0.2867706716, -0.5897839665, -0.272813946, 0.1536678225, -0.1527201831, 0.7912303209, 0.3760555089, 0.4571610689, -0.6541162133, -0.2017039508, -0.2745722234, -0.1409139931, 0.285913974, 0.1857831478, 0.4897505641, -0.6882249117, -0.4422974885, 0.219420597, -0.9638066888, -0.0565107539, 0.2886921763, 0.2289965898, -0.0750216395, 0.8865048289, -0.0525572598, 0.9228711724, 0.3786293566, 0.1790235639, -0.1382994652, -0.2860738039, -0.4868262112, 0.3580908775, 0.8204908371, 0.4610500634, 0.6711609364, 0.0742870793, -0.2198587656, 0.0172239952, 0.4159555733, -0.4972057641, 0.0562823489, 0.1236547008, -0.3809888065, -0.5001531243, -0.1745789945, -0.4083542824, -0.2351009995, -0.5763114095, -0.002278429, -0.4750442803, -0.0032903929, 0.1578641832, -0.0696758181, 0.2314145565, 0.1445668191, -0.6905483007, 0.2231131047, 0.6387530565, 0.9248553514, -0.2319980115, -0.1609100848, -0.7520631552, 0.5174943209, -0.4371571541, 0.6616052985, -0.6733769178, -0.6283624172, 0.3308781981, -0.1155153364, -0.2797377706, -0.3372970223, 0.6956433058, -0.6894361973, 0.413105607, -0.1711691022, -0.988946259, -0.0951190889, 0.417650342, -0.5105551481, 0.932978034, 0.2047801167, -0.8203709722, 0.175049305, -0.4363212287, -0.417660594, 0.2787566781, -0.3583447933, -0.1899910718, 0.1834979653, -0.0202020872, 0.4532971382, -0.2921528816, 0.8270812631, -0.141197592, -0.3762104809, 0.0789584219, -0.1337609887, 0.951459825, 0.4096408188, -0.2852239609, 0.4889118373, -1.0019103289, 0.3087358475, 0.0042637764, -0.8643150926, -0.1753933728, 0.002205689, 0.2294303775, 0.0666900724, 0.4368937016, -0.2351896167, 0.4471995533, -0.4035127163, 0.6778222919, 0.6238000393, 0.2217024118, 0.5237836838, -0.6312432289, 0.8608849049, -0.4586733878, -0.3262952268, -0.4104449749, -0.2281599492, -0.7791662812, 0.0774771497, 0.1761177778, 0.7913098931, -0.6678832173, 0.8450075388, -0.0129990503, -0.15719001, -0.0127224615, 0.1292207688, 0.6003357172, 0.3981502056, -0.0646049753, 0.2179749906, -0.73919034, -0.8223267794, -0.1879285723, -0.0213257913, -0.2339739352, 0.0936239064, 0.1861763746, 0.0705817714, 0.7548774481, -0.4765090644, -0.1409673095, -0.7067850232, 0.4205745161, 0.0378303751, 0.484390825, 0.5440040827, -0.385710001, -0.5370519161, 0.1026766971, -0.6016373038, -0.6592655778, -0.2345755696, -0.126351878, 0.2005203515, 0.9205253124, -0.5040507913, 0.4939551651, 0.7796233296, -0.4368465245, 0.5094303489, -0.3554902375, 0.2941325605, -1.2723158598, 0.025712695, -0.0636086613, -0.6858920455, -0.7741871476, 0.1921253055, 0.0837424546, -0.1243923977, -0.3747932315, 0.2740825415, -0.3255753219, 0.4466402233, -0.6921365857, 0.2240318805, -0.0180498064, 0.5157558322, 0.1844146401, 0.8990203142, 0.2473452538, -0.5619559884, 0.0916162282, 0.1761827022, -0.029924266, 0.4978995323, -1.0291805267, 0.1138767302, -0.0410037041, 0.2218602598, -1.0375224352, -0.3978681266, 0.1422543377, -0.1891355664, -0.000560136, -0.1389329135, -0.5661646128, -0.0781539232, 0.0297891982, 0.3535391092, 0.5096005201, -0.1908802986, 0.6779280305, -0.0301414169, -0.2448897362, -0.0524274483, -0.8465512991, 0.1286200732, -0.1752887666, -0.4180082381, 0.3030162156, -0.1297730803, -0.2193249315, -0.3254283965, 0.3043919802, 0.0713704973, -0.2369645089, 0.1895864159, 0.0477933697, -0.1029638946, 0.121146284, 0.3130243421, 0.0554008521, 0.1058469638, 0.0643566847, 1.0321061611, 0.1820254326, -0.2503199577, -0.5194126964, 0.5286258459, 0.490901202, -0.0126392255, 0.3129354417, 0.2215339094, -0.3313851953, -0.3721671104, -0.4036442339, -0.0422673449, -0.5366223454, 0.1411509514, -0.4184554517, -1.1485167742, 0.5425701141, -0.0222978629, -0.1713335365, 0.252359271, 0.6013072729, 0.2577355802, 1.0720677376, 0.7987508774, 0.2418097556, 0.434548378, 0.2621434033, 0.0882483572, -0.5147008896, 0.0446910411, -0.6121246815, -0.1094775945, -0.7630060911, 0.1533061564, 0.1506966054, 0.3373970985, -0.1900750548, 0.3482705355, -0.6711364985, 0.567134738, 0.6946076751, 0.0874314234, 0.52214849, -0.1362996697, -0.387558192, -0.0650731176, -0.5950400233, -0.7587662935, 0.8770202994, 0.0821862295, 0.5999604464, -0.1814648658, 0.6818318367, 0.5076653957, 0.0769769102, -0.6687927842, 0.6637351513, -0.124737367, -0.5154149532, 0.1259807795, -0.3401564956, -0.968640089, 0.0538422726, 0.1027156487, -0.8217015862, -0.3016491234, 0.2874077559, -0.237785548, -0.0298521928, -0.5181090236, 0.5374487638, -0.0186197925, -0.0411329791, -0.331643641, -0.3473531008, 0.5110654831, 0.173770979, -0.2326795459, 0.0100084208, 0.0535057299, 0.6621372104, -0.4864581823, 0.8467776179, 0.0354594737, -0.1456996351, 0.5096244812, 0.4925218523, 0.7107875943, -0.1680662185, 0.0328183286, -0.2654484808, 0.0399596542, -0.4271434546, -0.3623551428, 0.7865199447, -0.512169838, -0.8784565926, -0.4060037732, -0.8286104798, -0.0408231094, 0.5236243606, 0.5505663753, 0.0682701245, -0.1760871261, 0.3723638356, 0.693708837, -0.3763355017, 0.5419406891, 0.1533114612, -0.5321016312, -0.7055566311, 0.2219630182, -0.11662554, 0.5004184246, 0.4023497105, 0.1932798624, -0.1258044839, -0.6987297535, -0.1549057215, 0.1229999065, -0.6028687954, -0.107117556, -0.6025519967, -0.5651831627, -0.4022744, -0.5354803801, 0.0507274941, -0.2631592453, -0.5323926806, -0.1862659603, 0.2811234593, 1.0787403584, 0.3893446624, 1.0090960264, -0.7611110806, 0.0623687878, 0.031884905, 0.1366964877, -0.4063493907, -0.3863939643, 0.1436505765, -0.0263179149, -0.5573727489, -1.1127898693, 0.3613728583, -0.061915163, 0.2234224826, 0.576721251, -0.0992844775, 0.3710017204, -0.4089387059, 0.9082701802, 0.3313730359, -1.2929222584, 0.9856772423, -1.1014701128, 0.8623179197, 0.3139497042, -0.0997191817, -0.4788974524, -0.7146421075, -0.4067967534, -0.5155746341, 0.6455011368, 0.2648614049, 0.1139014736, -0.2690860629, 0.5398039222, -0.1606189162, 0.3597730696, -1.0235991478, 0.058323741, -0.0432585329, -0.3033216, 0.2495351732, -0.5195259452, -0.2267531008, 0.239480108, 0.5325784683, -0.1931973845, -0.1614310741, 0.1157194376, -0.0012031607, -0.2034202069, 0.6446284056, 0.9171705842, 0.7244414687, -0.168159768, 0.0771279484, -0.1531475633, -0.2996502519, 0.2011507601, -0.0186926164, -0.7096866965, 0.0036159069, 0.2440611124, 0.467273891, 0.1159414202, -0.6829520464, 0.5703300238, 0.0601342842, -0.5922549367, -0.2882285416, 0.2420112938, -0.0194766168, 0.0875565037, 0.3305451274, -0.2070585638, 0.0020676272, -0.1694524586, 0.3247521818, 0.4032298028, -0.3518883288, -0.1000765935, 0.8382037282, 0.0250963885, -0.4146206379, 0.3618794978, -0.2059321254, -0.4964627028, 0.6344045997, 0.7110315561, 0.9265131354, -0.0944139659, 0.2715960145, 0.3700890541, 0.3323781192, -0.2275369614, 0.6124380231, 0.1490458548, -0.5547340512, -0.7799850702, -0.5237935781, -0.2386573851, 0.3902202547, -0.6515223384, 0.5025530457, -0.8853188157, -0.2488976866, -0.3835553527, -0.0820880309, -0.2794352472, 0.2569557428, 0.0417314582, 1.0185546875, -0.6021559238, 1.0268644094, 0.3485621214, -0.2148343474, -0.8548845649, -0.1700261384, 0.0987954438, -0.6077528, 0.5754691362, -0.0424746275, -0.1992163807, -0.0114136813, -0.5383034945, -0.6211892962, 0.984959662, 0.4398815036, -0.797098577, -0.2891870141, 0.3445463479, 0.5484501123, -0.62130934, -0.0754906908, 0.5776889324, 0.6092277169, 0.2180371135, -0.9225620031, 0.2157064974, -0.1044051573, 0.3900178075, 0.2390328348, -0.5000879765, 0.580966711, 0.1520257145, -0.1618656218, 0.3652616441, 0.644035399, 0.5473726392, 0.1090953052, 0.2336828262, 0.6165373921, 0.6628061533, -0.2314347327, 0.9369024038, -0.5944210291, 0.2768106461, 1.4622725248, -0.2526901066, 0.6323747635, 0.4824191928, 0.1065811887, 0.2767089903, 0.5158067942, -0.0783751085, 0.4576253295, 0.289650768, -0.2691236138, -0.2765782773, -0.3289507627, -0.1513691545, 0.5539062023, 0.2020756751, -0.9936133027, -0.4052449465, -0.0345921256, 0.3012954891, 0.5704609156, -0.3657596409, 0.7330747247, -0.0725192502, -0.9861342907, 0.7618216276, 0.1023966819, 0.4819859564, -0.7314613461, 0.0491255522, 0.0766184852, 0.0628719926, -0.0982474983, -0.5265546441, 0.5432201028, -0.0965281725, -0.2319456786, -0.5218240023, 0.6432121396, -0.7214383483, -0.4231220186, 0.2563031316, 0.5688694715, -0.2500441074, 0.160063073, -0.5002113581, 0.1450580209, 0.3596815169, -0.4948644936, -0.0211587809, 0.3388528526, 0.1228834391, 0.5941115618, 0.2443639487, 0.1723128855, 0.2906931341, 0.200248912, 0.6944255233, -0.7510749698, -0.503336966, -0.9459168911, 0.2919560671, 0.1142658815, -0.3511732519, 0.6211561561, 0.6398509145, 0.7855056524, -0.0432442166, 1.1044923067, -0.191733107, 0.2264505625, -0.8430204988, 0.6440645456, -0.1724797189, 0.1799286008, 0.1200936437, -0.8263953924, -0.5284565687, 0.4813465476, -0.4229898751, 0.0216537807, 1.0844298601, 0.9364129901, 0.0051025599, 0.0416690446, 0.5682991147, 0.0454579554, 0.4634664357, 0.7328967452, 0.6972691417, -0.1706625968, 0.6321684122, 0.0490992144, -0.1859533638, 0.1422778517, -1.1582384109, -1.2471678257, -0.3993185163, -0.41617167, -0.5447087884, 0.0158845, 1.1681780815, 0.5026955605, -0.7467833161, -0.3769159019, -0.7914823294, -0.0912893713, 0.1152541488, -0.2984468639, 0.202595219, -0.4493851066, -0.9169194698, 0.1878274232, 0.3689799905, 0.0532120354, -0.1835511923, -0.0625773147, -0.4112754464, 0.438613534, 0.3988625705, -0.1522485167, -1.0173498392, -0.2319978029, -0.1527208835, -0.4092680812, 0.1899293661, 1.3937016726, -0.4314671159, 0.2305606753, 0.6648187041, 0.3936283588, 0.109563686, 0.0806384683, 0.9148313403, -0.7569292188, 0.0493430384, 0.1780974418, 0.5292935967, 0.0393795185, -0.5372822881, 0.176564768, -0.07944116, -0.7834179997, -0.3771456778, 0.5417453647, -1.0880932808, -0.3210654259, 1.4469412565, -0.1953235567, -0.3132576942, 0.1538558155, -0.7011732459, 0.3857370019, -0.4956237078, 0.7032570243, 0.9785801172, -0.0802497715, -0.6329378486, -0.2778015733, 0.7005633712, 0.3090466261, -0.8338192105, 0.1142101362, 0.8097171783, 0.2266529351, -0.0084367283, 0.6578651071, -0.0431946293, 0.2625916898, -0.3577545583, 0.0048882016, 0.0178607553, 0.0070661297, -0.4612217546, 0.7127741575, 0.0481578708, 0.2247620672 ]
http://arxiv.org/abs/2402.06120v1
http://arxiv.org/pdf/2402.06120v1
Exploring Group and Symmetry Principles in Large Language Models
2024-02-09T01:10:25
2024-02-09T01:10:25
Shima Imani, Hamid Palangi
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated impressive performance across a wide range of applications; however, assessing their reasoning capabilities remains a significant challenge. In this paper, we introduce a framework grounded in group and symmetry principles, which have played a crucial role in fields such as physics and mathematics, and offer another way to evaluate their capabilities. While the proposed framework is general, to showcase the benefits of employing these properties, we focus on arithmetic reasoning and investigate the performance of these models on four group properties: closure, identity, inverse, and associativity. Our findings reveal that LLMs studied in this work struggle to preserve group properties across different test regimes. In the closure test, we observe biases towards specific outputs and an abrupt degradation in their performance from 100% to 0% after a specific sequence length. They also perform poorly in the identity test, which represents adding irrelevant information in the context, and show sensitivity when subjected to inverse test, which examines the robustness of the model with respect to negation. In addition, we demonstrate that breaking down problems into smaller steps helps LLMs in the associativity test that we have conducted. To support these tests we have developed a synthetic dataset which will be released.
[ -0.3564835489, -0.4627821147, 0.7401208282, 0.1128253043, -0.141739279, 0.0644681975, -0.1603484899, -0.1934916377, -0.0327891298, 0.4371406138, -0.2548000515, -0.5367775559, -0.4868135452, 0.3784945905, -0.4822119474, 0.612011075, -0.0933506116, 0.4141742289, -0.2667502165, -0.6123895049, -0.0127548501, -0.8415299058, -0.4678537548, -0.5199263692, 0.0951184556, 0.1127472073, 0.9902176261, 0.8150392175, 0.536262393, 0.2785913348, -0.1368326992, -0.0557056963, -0.4554416239, -0.0217922237, -0.174196586, -0.6917337775, -0.387617141, 0.0342859514, 0.9430932403, 1.2413692474, -0.3572466373, -0.0032184408, -0.1178031713, 0.6486233473, -0.3402239382, 0.4492772818, -0.7331991196, -0.0426430404, -0.0263884161, 0.4943981469, -0.3336840272, -0.4242767692, -0.2614372671, -0.6357027888, 0.2813547254, 0.2156837136, 0.7114444971, -0.0294566024, -0.4864068329, -0.1479040384, -0.4137691259, 0.7884806395, -0.9641782641, 0.6404876113, 0.5646193027, 0.2194402367, -0.2714521587, -0.2895433009, -0.6250300407, -0.069608137, -0.087149933, -0.0627495348, 0.1563837528, 0.2237903774, 0.4859566689, 0.7484773397, -0.6283626556, 0.1697912067, -0.1852962524, -0.0997206718, 0.6480107903, 0.2253968716, 0.3690591753, 0.0889168382, 0.0392779224, -0.0088154078, -0.9608492851, 0.0853053033, 0.4876691401, 0.2223711908, -0.1475483775, 0.8193046451, -0.0316398814, 0.6841626763, -0.1394682825, -0.3803482354, 0.2271163464, -0.3576612175, -0.1728268564, -0.2463356704, 0.6341869831, 0.1417004019, 0.2678471804, -0.2539307475, -0.4077186584, 0.4530557096, -0.4807947874, -0.8063179255, -0.0444725379, -0.0924326181, -0.5949613452, -0.0786059797, 0.2046432197, -0.3792371452, -0.2364898324, -0.6231799126, 0.330851227, -0.5922729969, -0.2788261771, 0.5016791224, -0.1107681468, 0.274300307, 0.3192187846, -1.2374206781, 0.7632796168, 1.1776340008, 0.6449869275, -0.1936274916, -0.3049536943, -0.5450028777, 0.1600563675, -0.4192743301, 0.3471140563, -0.7752261758, -0.2512997687, -0.1645991057, -0.1977718472, -0.1053071842, -0.5109947324, 0.3296258748, -0.3639294803, 0.3605444431, -0.3711927831, -0.6817398071, -0.1759348661, 0.2811784446, -0.6902591586, 0.4445192218, -0.0541437268, -0.420601666, 0.1220974922, -0.3840572536, -0.3810930848, -0.2932713628, -0.6020658612, -0.2261707634, 0.506577909, 0.0847239867, 0.1928755343, -0.5708194971, 0.193152234, -0.7302240729, -0.4110583961, 0.2628225684, -0.2457062602, 0.9074475765, 0.0579947755, 0.0047637713, -0.123383753, -0.7903001308, 0.1586013436, 0.0500123464, -0.100344047, -0.4870543778, 0.093857877, -0.8110877275, 0.1323943138, -0.0498393737, -0.2781329453, 0.4871314168, -0.563786447, 0.5379932523, 0.9865764976, -0.1754332781, 0.5085738301, -0.2317003757, 0.4725719392, -0.0949734449, 0.0672360733, -0.237376079, -0.5046557188, -0.6108296514, -0.3605669737, 0.0607680567, 0.3261086345, -0.4749088883, 0.5095317364, -0.2957019508, -0.1807692647, -0.1759653836, 0.473390162, 0.4977849722, 0.3368394077, 0.1135451496, -0.2180535793, -0.0716073066, -0.9240204692, -0.3716609478, -0.481054306, -0.1080710813, 0.0392122157, 0.3707659543, -0.0473215654, 0.6711704135, -0.4841588438, 0.1354886144, -0.0744891167, -0.1206400767, 0.7199411392, -0.034945216, 0.3585908115, -0.7805306911, -0.09452115, -0.0856504291, -1.0307476521, -0.4088921547, 0.3426361084, -0.0255034063, 0.2781819701, 0.2967782617, -0.9025617242, 0.4449427128, 0.8076331019, -0.5472947955, 0.5484671593, 0.2852427065, 0.0600153096, -0.9738571048, -0.2363643199, -0.0347865894, -0.1129572764, -0.4767178595, 0.2791889608, -0.1321264654, -0.2386384308, -0.148410067, 0.5579625368, -0.6790769696, -0.3432123661, -0.0201130491, -0.1177695766, 0.3816843629, 0.1649325937, -0.1873093396, 0.5970553756, 0.6187183857, -0.694999814, 0.3335434794, 0.1953132898, -0.2097202092, 0.3874832094, -0.7405203581, 0.0353954211, -0.2592046559, 0.0178987999, -1.0363230705, -0.2007559091, 0.0037459354, -0.3645885289, 0.2334499955, -0.1844936907, -0.8044623733, -0.0911888629, -0.2321092486, 0.7095746994, 0.661224246, -0.4086101949, 0.8987852335, 0.3117443025, -0.0176096708, -0.3698342741, -0.3978044093, -0.2311419398, -0.6073534489, -0.9360001087, 0.1400329173, -0.1136826575, -1.0526906252, -0.111569576, -0.1548396498, 0.0809543729, 0.1703016013, 0.1590934247, 0.2178379297, -0.3111497164, 0.4253447652, -0.1752085984, -0.0315854251, 0.1888425052, -0.194235757, 0.710242331, -0.4525536299, -0.678055346, -0.0062723807, 0.33411327, 0.7873976827, -0.3476333022, 0.8762148023, -0.0341090113, -0.4586291611, -0.0610902384, -0.5949245691, -0.3348880708, -0.5027763844, 0.3048644662, -0.3980278969, -0.8309981823, 1.0238518715, 0.1347957999, -0.0284035131, 0.3372993469, 0.5786242485, 0.24558869, 1.1208512783, 0.3578161001, -0.1535033733, 0.0630679801, -0.0669470057, 0.4647861123, -0.7292813659, 0.0132174548, -0.3206393123, 0.0982434675, -0.3426615596, -0.3314373791, 0.4657122195, 0.6061754227, -0.4739015102, -0.0193730444, -0.0059664464, 0.6089238524, 0.0448916629, -0.1481793821, 0.5660278201, -0.0027798894, -0.2266020626, -0.1096564978, -0.2603905499, -0.6393644214, 0.9786241055, 0.427287668, 1.1218534708, 0.5394251943, 0.6211332679, -0.1687791646, 0.4200409055, -0.7911542654, 0.8184846044, -0.1860099584, -0.4072860181, -0.4895160794, -0.7498114705, -0.6489167809, 0.6346817017, 0.0163630266, -0.7779086828, -0.0305662677, 0.190764159, 0.1873298287, 0.3737791181, -0.6871622801, 0.5507065058, -0.3578360081, -0.3418218195, 0.0130426195, -0.4193096459, 0.7824585438, -0.2591735721, 0.4334385991, -0.2772821784, 0.053841155, 0.3808196783, -0.4867908061, 0.6294125319, 0.1622132361, -0.3737518787, 0.0499585569, 0.4042445123, 0.4605821371, 0.1597208232, -0.5322489738, 0.5361728072, -0.1746365428, -0.1496599317, -1.0297843218, 0.6615666151, -0.6466755271, -0.97464329, -0.2701849937, -0.6822541356, -0.3266494572, 0.4377004206, 0.0317558348, 0.416118294, 0.0133813964, 0.3170713186, 0.6524599195, -0.0207920484, 0.3234122097, 0.4976987839, -0.9662540555, -0.4993603528, 0.6634472609, 0.0996967256, 0.8896439672, 0.1608653814, 0.4374872744, -0.398478061, -0.4489761293, -0.1907963455, 0.5839636922, -0.8415356874, -0.0156251378, -0.3248621821, -0.0637632608, -0.765597403, 0.2676911056, -0.2798374891, -0.8060004115, -0.1056326479, -0.1168024614, 0.026938282, 0.5353124738, 0.0263996366, -0.0822328851, -0.5456064939, 0.647206068, 0.2420798242, 0.2509093583, -0.1431063116, -0.52581352, 0.1088756993, 0.0826895535, -0.2935223281, -0.7532310486, 0.1881022602, 0.2067642957, 0.7660218477, 0.5581403375, -0.1017278433, 0.5094764829, -0.5987451673, 0.5893138647, 0.3108051121, -1.2562327385, 0.1233144626, -0.5093812346, -0.0400384702, 0.3426564336, 0.2203563601, -0.313677758, -0.3338056505, -0.3888961375, -0.5856741667, 0.1654020995, 0.4505949914, -0.0152974194, 0.1839046776, 0.4844933152, -0.0232883822, 0.3833861947, -0.9065691829, -0.3333971202, -0.297934413, -0.3148625195, -0.1036775112, 0.0304538272, -0.2921660244, -0.3860298395, 0.3454395235, -0.2539063096, -0.0198661424, -0.1410785317, 0.1887003183, 0.0051913871, 0.250280261, 0.5333565474, 1.1068212986, 0.1209621131, 0.1689098477, 0.1809345484, -0.1676736772, 0.5278183222, 0.0304383114, 0.014621364, -0.345025897, 0.6184023619, 0.4250216484, -0.0375464633, -0.3701700866, 0.4249153137, -0.0889558867, -0.2610942721, -0.2606441379, 0.1646011472, 0.1281876862, -0.0572309941, 0.3940034211, -0.330594033, 0.0332519189, -0.9012903571, 0.0805364624, 0.6476919055, 0.1963132322, -0.5121898651, 0.243559882, -0.2420084327, -0.3482069075, 0.4798312783, -0.222001344, -0.7493494153, 0.601837635, 0.7576961517, 0.5474466681, -0.4560533166, -0.149205327, 0.0077024582, 0.4469903708, -0.3978550434, 0.2547096014, 0.2280258238, -1.0138075352, -0.3998932838, -0.5529274344, -0.3930791616, 0.1013435796, -0.7330731153, 0.2309960574, -0.5651459098, -0.0097298436, -0.2198663205, -0.3276257515, -0.296336174, 0.0750972703, 0.0807799622, 0.5922254324, -1.0121018887, 0.4130523205, 0.5706253648, -0.1636751145, -0.8908407092, -0.0240106992, 0.2024366558, -1.1097191572, 0.7576467991, 0.4084916711, -0.1007355452, -0.2385587096, -0.6018857956, -1.2292326689, 0.8133474588, 0.7870464921, -0.5188728571, -0.1769283265, 0.3237941861, 0.6332873106, -0.4290248156, 0.0269252732, 0.3755850792, 0.5223905444, 0.2520236969, -1.0010242462, 0.0758234933, -0.2699666917, -0.0903692693, 0.3695750833, -0.866263926, 1.2710894346, -0.1603167951, -0.2153650075, 0.0217730235, 0.4851641357, 0.7771469355, 0.2178133279, 0.5689321756, 1.0166301727, 0.7638579607, -0.1499307752, 1.0404772758, -0.2837097049, 0.362280786, 0.7818344831, -0.7172444463, 0.4489077628, 0.4476341605, -0.1292006969, 0.4802581966, 0.1298892796, 0.046612218, 0.3353404701, 0.6421934366, -0.243506819, -0.4044404626, -0.0464129262, -0.4985119998, 0.4694108069, 0.5732976198, -0.4527044296, -0.2166518271, -0.212244302, 0.080185011, 0.206159398, -0.4370794594, 0.515204072, 0.5255426168, -0.5683451891, 0.4623838663, 0.047669325, 0.0600594692, -0.4935761094, -0.3579236269, -0.2110842168, 0.4178916812, -0.1161174998, -0.6290156841, 0.1741328686, -0.3960436285, -0.292268157, 0.1164386943, 0.4228630662, -0.3603759408, -0.890626967, 0.1639710069, 0.202918455, 0.1039173603, 0.20075804, -0.4479792118, 0.4153334796, -0.1602916718, -0.0513371639, 0.1730594188, 0.714833796, -0.1247215122, 0.8606032729, 0.7069644332, 0.233945936, -0.025446007, 0.1636269242, 1.0212002993, -0.8093312383, -0.3889576495, -1.306691885, 0.2003498226, -0.0529196896, -0.1261688322, 1.0527018309, 0.7112283111, 0.5786471963, 0.3721878529, 0.5686295033, 0.4724165499, 0.3378048837, -0.9946709871, 0.4228265285, -0.2828661799, 0.5683992505, -0.3465278745, -1.0482904911, -0.4712724984, 0.8606541753, -0.2773489356, 0.2682187557, 0.8585566282, 0.596752286, -0.1870755255, 0.1077875718, 0.4480930269, 0.3012256324, 0.8759430051, 0.7228933573, 0.8814691305, -0.3909198344, 0.2179615945, 0.0875046626, -0.212630108, 0.2794900239, -0.9369629622, -1.3043470383, -0.210348472, -0.0767554417, -0.539411366, -0.2266846299, 0.6774641275, 0.5160123706, -0.453761965, -0.3496832252, -0.1664796174, 0.1865320951, 0.1757213324, -0.2514944971, 0.3053555489, -0.0428874716, -0.333022505, 0.1352842152, 0.36357373, 0.1726108491, -0.4978527725, -0.2195603251, 0.2214698941, 0.0714603886, 0.5092603564, 0.1936220527, -0.8822764158, -0.2355380952, 0.0364237353, 0.0482608564, -0.1266457438, 0.8214198351, -0.4020710886, 0.1766423732, 0.325512886, 0.5246420503, 0.0898223519, 0.4100831747, 0.8448551893, -0.2933479249, 0.1024196148, 0.2311702222, 0.8173618913, 0.3678382039, -0.1444010288, 0.6020200849, 0.3766209483, -0.4883193076, -1.046497345, 0.5267912745, -0.5046943426, 0.0401083119, 1.368162632, -0.2630099058, -0.1757083237, 0.0622873046, 0.2514851093, -0.2472593188, -0.2105065435, 0.8246436715, 1.0880314112, -0.2433827668, -0.1273783594, 0.0031209614, 0.1061348841, 0.5288479924, -0.782818377, 0.2062958777, 0.7011231184, 0.3153267205, 0.3078348339, 0.4870892465, -0.4008781314, -0.0578950383, -0.3942275047, -0.2183000296, -0.1298066974, -0.2763090134, -0.4496173263, 0.1541173607, 0.0375063792, 0.2041352987 ]
http://arxiv.org/abs/2402.06094v1
http://arxiv.org/pdf/2402.06094v1
Rethinking Data Selection for Supervised Fine-Tuning
2024-02-08T23:02:04
2024-02-08T23:02:04
Ming Shen
cs.CL
cs.CL
Although supervised finetuning (SFT) has emerged as an essential technique to align large language models with humans, it is considered superficial, with style learning being its nature. At the same time, recent works indicate the importance of data selection for SFT, showing that finetuning with high-quality and diverse subsets of the original dataset leads to superior downstream performance. In this work, we rethink the intuition behind data selection for SFT. Considering SFT is superficial, we propose that essential demonstrations for SFT should focus on reflecting human-like interactions instead of data quality or diversity. However, it is not straightforward to directly assess to what extent a demonstration reflects human styles. Towards an initial attempt in this direction, we find selecting instances with long responses is surprisingly more effective for SFT than utilizing full datasets or instances selected based on quality and diversity. We hypothesize that such a simple heuristic implicitly mimics a crucial aspect of human-style conversation: detailed responses are usually more helpful.
[ -0.8023004532, -1.0924608707, 0.5015282631, 0.2360448837, -0.3345473111, 0.0118885702, -0.6785325408, -0.4289982617, 0.1909572035, 0.3078107536, -0.7626367807, -0.4092585444, -0.1887210459, 0.1498975456, -0.6870926619, 1.2468426228, 0.1238671392, -0.2020808905, -0.261431396, -0.0552205257, -0.4554226398, -0.1886342615, -0.931722343, -0.4269173145, 0.5259749293, 0.8825442195, 0.9081081748, 0.9495105147, 0.3917405009, 0.1979724616, 0.0967367515, 0.2876327038, -0.874909997, 0.1390151829, -0.2179429829, -0.5017883182, 0.0464574508, 0.2488585263, 0.1514484584, 1.0220757723, 0.1404901892, 0.1476202011, 0.3839661479, 1.0886154175, -0.3437717855, -0.0272279885, -0.5516520739, 0.065501675, -0.2926832736, 0.0019018615, -0.2188365459, -0.114917323, 0.3628491759, -0.6712962389, 0.7140741944, 0.0617117807, 0.8761181235, 0.5548500419, -0.3409605324, 0.0701039135, -0.8625689745, 0.7237916589, -0.4110416472, 0.5616773963, 0.6376754045, 0.5235922933, -0.024470767, -0.5074278712, -0.2922131717, -0.4011973441, -0.2167588621, 0.1118273139, 0.1384081542, -0.0017248557, 0.4619845748, 0.5360816121, -0.427842766, 0.4330731332, -0.4695785642, -0.049010206, 0.8870373368, 0.1106615439, -0.271712333, -0.0438951291, -0.1166388169, -0.2390585244, -0.5944570899, 0.3393626809, 0.4146649837, 0.5375751257, -0.1512983143, 0.3553242087, -0.8550986052, 0.6734858155, 0.487649858, 0.1096099839, 0.0904055014, -0.3576790988, -0.2327027321, -0.2154937983, 0.9212688804, 0.5700801611, 0.7156211138, -0.2010644227, -0.179214403, -0.1617768854, 0.5473053455, -0.8381934762, -0.4784793556, 0.115192771, -0.404325068, -0.3804022372, 0.3253442943, -0.9142209291, -0.0416536853, -0.9051241279, 0.0575009063, -0.3033560216, -0.1946364939, 0.1255962104, -0.0512095056, -0.1208413467, 0.2548125088, -1.1080471277, 0.3969533741, 0.7818311453, 0.4924225509, -0.2782881558, -0.2789993882, -0.5780998468, -0.1994083971, -0.6836906672, 0.716942668, -0.5456562042, -0.4792348444, -0.3125165105, 0.0687813312, 0.3186579049, -0.4160286486, 0.6773430705, -0.1092669517, 0.2187227309, -0.4270734787, -0.2840269506, 0.0050647068, -0.1635995805, -0.7029959559, 0.9808415174, 0.3474094272, -0.6991270781, 1.1233302355, -0.3519161642, -0.6767691374, -0.141250357, -0.3358571231, -0.6363250017, 0.0709918067, 0.396404773, 0.9381130338, -0.0553972013, 0.3257015049, -0.7034019828, -0.7898934484, 0.2299273163, -0.4535479248, 0.1876338273, 0.5363021493, -0.5026091337, 0.1518882215, -0.7047306299, 0.0701464489, -0.0212471522, -0.3441313207, -0.4751235545, 0.0868290216, 0.1115401909, 0.1219024137, -0.3142898381, -0.4404611588, 0.1572143734, -0.383156985, 0.4852719903, 0.7917305827, -0.2082852125, 0.5454748273, -0.4841383398, 0.2514416575, -0.3642913401, 0.159168005, 0.2709698379, -0.0233361777, -0.4471570551, -0.3309851289, 0.4093144834, 0.271958977, -0.693040967, 0.2623200715, -0.2963245511, -0.4695012569, -0.7706616521, 0.427506268, 0.3892013729, 0.3910259604, 0.3653652668, -0.3134796619, -0.4222200513, -1.2341403961, -0.1976881474, 0.1788344383, -0.1812775135, 0.476457417, 0.0584931672, -0.167066738, 1.2833760977, -0.6024153829, 0.0063560125, -0.2051925361, -0.0193716753, 0.0222130157, 0.5851873159, 1.0839703083, -0.7657687068, -0.4599161744, 0.0359788202, -0.4721851349, -0.0980721265, -0.4348472953, -0.2836520076, 0.0075267595, 0.5831142068, -0.2779685855, 0.4493249357, 0.2760648727, -0.1045634747, 0.537042141, 0.0302912798, 0.2820242643, -0.9080424905, -0.2299106419, 0.4063152671, -0.3836259842, -0.3485102057, -0.0980038717, 0.0299505889, 0.1017251387, -0.1738549918, 0.3847354352, -0.2309436947, 0.0184373278, -0.1887023449, -0.1732029617, -0.1578803062, 0.5266661048, -0.0375099443, 0.8549537659, 0.4959463477, -0.6561464667, 0.1889777482, 0.2040431052, -0.3235357702, 0.7987089157, -0.7955970764, 0.1641995162, -0.0090286275, 0.1793657988, -1.1038058996, -0.6205393672, -0.2608160079, -0.2809524536, 0.4130623043, -0.3476524353, -0.5432154536, -0.4913010895, -0.3689058721, 0.1830678433, 0.4745381773, -0.6895247698, -0.0909446105, 0.0605636835, -0.131174475, -0.1768089086, -0.5103365779, -0.0682135895, -0.5631212592, -0.6164318919, 0.1657686234, -0.0952605382, -0.2900639176, -0.5101763606, -0.2551738918, -0.0483302772, 0.5316794515, 0.2446151525, 0.0216505714, -0.186448589, -0.0110072857, 0.377242744, 0.0297416691, -0.1330589801, -0.0094919372, 0.3233284354, -0.112921156, -0.4160509706, -0.7357397079, 0.3618838191, 0.3486686647, -0.1097368523, 0.334813118, 0.9230814576, 0.1407172829, -0.2273857743, -0.6103516817, -0.6289902925, -0.4778132439, 0.3065628111, -0.4802613258, -1.0605096817, 0.2192413509, -0.0134861637, 0.0986471549, 0.2126376629, 0.1434256136, -0.3887767792, 1.0867029428, 0.5757023096, -0.03042439, 0.9248456955, -0.2841047943, -0.0729509518, -0.5985878706, 0.1688986123, -0.4971408248, -0.5781826377, -0.8930107355, 0.2314353138, 0.0374437645, 0.124075301, -0.2685953975, 0.2956374288, -0.6048151851, 0.6056774855, 0.6645528078, 0.4579875171, 0.06710352, 0.1196895391, 0.2526591122, -0.2020364851, -0.3405728936, -0.463005811, 1.0938907862, 0.2672691643, 0.9692633748, -0.2080347091, 0.7477303147, -0.0787350088, 0.0034693512, -0.9316892624, 0.2763562799, -0.5399858356, -0.3142235577, -0.5084366202, -0.3571479917, -1.1053072214, 0.0426813178, -0.1927740276, -0.4300450385, 0.0308916029, 0.3644104302, -0.6052770615, -0.2241498083, -0.8949996829, 0.7283567786, -0.0207761675, -0.5786646605, -0.1806916893, -0.7892599106, 0.2008050382, -0.1413852125, 0.1728974432, 0.0653009266, 0.5160609484, 0.9302225113, -0.2621685863, 0.9510828257, -0.0275601745, -0.091441907, 0.0992114618, 0.249744907, 0.1910587996, 0.2799915373, 0.0734860897, -0.1676549166, 0.0275936835, -0.4056993425, -0.6152805686, 0.7311668396, -0.6415749788, -0.6601845026, 0.5042328835, -0.3492926955, -0.4985779226, 0.0468787216, 0.1700590104, 0.4413390756, -0.0191066861, 0.7338995337, 0.5898874998, 0.2202527821, 0.1412459165, 0.227271229, -0.1132320538, -0.0852522105, 0.936147809, 0.2247813493, 0.7190393806, 0.0183382239, 0.3194105327, 0.1445842534, -0.5583307147, -0.4053139687, 0.1110636368, -0.3657532632, 0.0471796207, -0.4606870711, 0.1672947109, -0.3008431494, -0.4502536952, -0.4382704794, -0.6235079169, -0.4757423103, -0.4702816606, 0.6104755998, 0.5450978875, -0.0628856868, 0.4132119715, -0.3546254635, 0.5126966238, 0.6383284926, 0.5464193225, -0.1650080383, -0.3552848995, -0.1662322134, 0.4055852294, -0.3850699961, -0.3733233809, 0.0439594202, 0.2695392668, 0.6575616002, 0.6271716356, -0.0265302155, 0.9551752806, -0.395409435, 0.6880776286, -0.4058043659, -0.5284565687, 0.7322596908, -0.521561563, -0.0232247449, 1.1200581789, 0.362226069, -0.5699326992, -0.5860857964, -0.7331719398, -0.8816186786, 0.6540776491, -0.0156131629, 0.1959999949, 0.03863585, 0.4554877877, 0.6128136516, 0.2068577558, -0.1870273352, -0.0539263971, -0.4756851494, -0.1076809689, -0.1130924672, 0.0380827785, -0.1421016157, -0.4745340347, 0.2558169663, -0.472902149, 0.1403332651, 0.0204113573, 0.0779862851, -0.1639285237, 0.3541919887, 0.438786298, 0.5734629631, -0.1493315846, -0.1719720513, -0.0048286719, -0.3424317539, -0.3700339794, 0.0192788839, -0.0237598158, -0.0839873776, 0.3872460723, 1.0368902683, 0.4211961329, -0.344507426, 0.3902054727, 0.0730678439, -0.387059927, 0.1343820989, 0.5049602389, -0.2266671956, 0.1486800909, 0.300434649, 0.0425422266, 0.2157129943, -0.5695741773, 0.4376810193, 0.5522633791, -0.5891224742, -0.2053547949, 0.6178585887, 0.0877103731, -0.2242683321, 0.8187836409, -0.0551978759, -0.3052228391, 0.620221436, 0.1655162722, 0.6424657106, 0.1836972088, 0.0944399908, 0.3376114666, -0.0903680772, -0.3867316246, 0.0698530152, -0.405597955, -0.4797526002, -0.4776397347, -0.5358995199, -0.1557222307, 0.0432270505, -1.1329485178, 0.3994418681, -0.3950804174, -0.0245878138, -0.0442120358, -0.0712646842, -0.82047683, 0.2756174207, -0.0027667072, 0.8596711755, -1.0975180864, 0.6020421982, 0.3185651004, -0.3723617196, -1.0454918146, 0.250269711, -0.0224614907, -0.7122877836, 0.6803441644, 0.1098642498, 0.1546929181, 0.0600632839, -1.0035432577, -0.5808202028, 0.9926375747, 0.2765057981, -0.511523664, 0.0382674597, -0.2462513745, 0.7403121591, -0.1724110842, 0.0253466461, 0.8931158781, 0.2125530541, 0.2790511549, -1.4346215725, -0.0135224061, 0.0558145456, 0.0168925542, 0.1193781048, -0.8434081674, 0.6390067935, -0.3456791937, -0.1400980055, 0.042911049, 0.7645369768, 0.1207226515, 0.2094918936, 0.5334298015, 0.2404583842, 0.5089856982, -0.3067610562, 1.0360430479, 0.1896965355, 0.4132148325, 1.0070478916, 0.096252583, 0.716188848, 0.630171299, -0.371121943, 0.248241514, 1.032752037, -0.0473290198, 0.798083365, 0.1737991869, 0.256993413, -0.4694456458, 0.1282023042, -0.2366116941, 0.574891448, 0.3270193636, -0.1602906436, -0.0532894135, 0.1057269052, 0.036555402, 0.2142952234, -0.155719012, 1.068728447, -0.0795766935, -0.7347373962, 0.8348690867, -0.4567976296, 0.9556599855, -0.1748883426, 0.0208418369, -0.3334195614, -0.0807124525, -0.493100971, -1.0886269808, 0.1899710745, -0.229790464, -0.2139294147, -0.4134012163, 0.203429237, -0.4907682836, -0.1981985271, -0.0806423873, 0.2654309571, 0.2327938825, -0.154191941, -0.4020619094, -0.275124073, 0.1347482353, -0.2912349105, 0.5118726492, 0.5826173425, -0.4154098332, 0.6910028458, 0.8865488172, -0.1204302311, -0.3513129354, 0.36215204, 0.8309560418, -0.3532211483, -0.5714946389, -0.933848381, 0.5027061701, -0.2115042955, -0.2857047915, 0.5661281943, 0.401078403, 1.1775802374, -0.1220226735, 0.7621732354, 0.2386666238, 0.5795372725, -0.6979919672, 0.7210658193, -0.4594275951, 0.0399563238, -0.7147650719, -0.65420717, -0.0733251721, 0.8651368022, -0.3578159511, 0.1751050651, 0.6442804337, 0.6338183284, -0.404820174, 0.3345017433, 0.2804466486, -0.0733482987, 0.4664155543, 0.3307538033, 0.6336337328, 0.039868623, 0.395464927, -0.6349220276, -0.2785649598, -0.3496234715, -0.659696281, -1.0122762918, -0.7267321348, -0.1241817698, -0.1128118038, -0.2048348039, 1.1740772724, 1.003185153, -0.5681414008, -0.0654046312, 0.0978421047, -0.1846065223, -0.4394719601, -0.292236954, 0.1776262075, -0.3754906952, -0.6341626048, 0.3350694478, -0.1742409319, 0.3717458546, -0.1011794806, 0.1474327296, 0.3191063106, -0.4200875461, 0.5910310745, 0.1440078765, -0.6887582541, -0.4855224788, -0.0847322568, -0.1368365437, -0.0197176207, 0.7689835429, -0.9863154292, 0.1075715348, 0.2035201937, 0.923989296, 0.5551509857, 0.1948771775, 0.6209859252, -1.0407425165, 0.0860635117, -0.117131643, 0.2269389927, 0.4386250079, -0.5730517507, 0.6446979642, 0.09349031, -0.5981413722, -0.7675065994, 0.2817637622, -1.019380331, -0.2345267534, 1.3389055729, 0.2182786465, -0.1013084725, -0.1322769076, -0.7367456555, -0.0089607956, -0.6000781655, 1.0619225502, 0.7310487628, -0.2935409546, -0.0171709545, -0.8279117942, 0.7619746327, 0.3817909658, -0.7181201577, 0.3534852862, 0.5509611964, 0.4253022969, -0.0559025668, 0.3714148998, 0.4754750729, 0.408690393, -0.5475252867, -0.5498793721, -0.21618101, -0.3437945545, -0.0779232308, 0.0027922478, 0.1679994315, -0.0304903928 ]
http://arxiv.org/abs/2402.06073v2
http://arxiv.org/pdf/2402.06073v2
LightCAM: A Fast and Light Implementation of Context-Aware Masking based D-TDNN for Speaker Verification
2024-02-08T21:47:16
2024-02-12T15:28:38
Di Cao, Xianchen Wang, Junfeng Zhou, Jiakai Zhang, Yanjing Lei, Wenpeng Chen
cs.CL
cs.CL, cs.SD, eess.AS
Traditional Time Delay Neural Networks (TDNN) have achieved state-of-the-art performance at the cost of high computational complexity and slower inference speed, making them difficult to implement in an industrial environment. The Densely Connected Time Delay Neural Network (D-TDNN) with Context Aware Masking (CAM) module has proven to be an efficient structure to reduce complexity while maintaining system performance. In this paper, we propose a fast and lightweight model, LightCAM, which further adopts a depthwise separable convolution module (DSM) and uses multi-scale feature aggregation (MFA) for feature fusion at different levels. Extensive experiments are conducted on VoxCeleb dataset, the comparative results show that it has achieved an EER of 0.83 and MinDCF of 0.0891 in VoxCeleb1-O, which outperforms the other mainstream speaker verification methods. In addition, complexity analysis further demonstrates that the proposed architecture has lower computational cost and faster inference speed.
[ -0.5311629772, -0.8151730895, 0.4450557828, 0.1832100451, -0.4588174522, 0.1089580283, -0.0418313108, -0.6349803209, 0.0770125985, 0.0777101666, -0.2659508586, -0.2968712747, -0.4612168968, -0.1218958199, -0.5927576423, -0.0456701666, 0.5433855057, -0.090209119, 0.1318783015, -0.1745379269, -0.4273920655, 0.0509259813, -0.5250133872, -0.2853151858, 0.6437082291, 0.388240248, 0.5723700523, 0.5586308241, 0.1686240435, 0.4808174372, -0.424731195, 0.3029717505, -0.0697629601, -0.1424742341, -0.032566987, 0.3270615041, -0.7513977289, -0.2499583066, 0.6102644205, 0.7885825038, 0.153735742, 0.1476256847, -0.2841260731, 0.2360247672, -0.6410655379, -0.0528710671, -0.8687390685, -0.038058456, -0.1594818532, -0.284607321, -0.4211453795, -0.0263294335, 0.1224124208, -0.0889200047, 0.2903931737, 0.120040305, 0.4467594326, 0.2750029564, -0.5274632573, 0.5676041245, -1.0289601088, 0.6194821, -0.5808401108, 0.4611997902, -0.111329034, 0.8242055774, -0.1201875955, -0.4948939085, -0.8666039109, 0.2177463174, -0.0978433713, -0.1680210233, 0.1572143435, 0.1013020277, 0.2914226651, 0.4791631401, -0.6059888601, 0.1344744414, -0.3208121955, -0.3040913939, 0.6043776274, -0.0338311084, 0.1582382321, -0.1847991347, -0.5308326483, 0.0197370443, -0.1616731435, -0.0448502004, -0.0490281694, 0.2874205112, -0.1644372791, 0.0376784056, -0.4683319926, 0.9899852872, -0.3775171041, -0.5265135765, 0.0164448973, -0.2809735239, -0.2018698007, 0.6285954714, 0.5504831076, 0.2324926406, -0.1680088341, -0.1831968576, -0.1856816262, 0.436698705, -0.2242636085, -0.8895046711, 0.063996993, 0.4563908875, -0.5629919767, -0.0053076274, 0.0140263755, -0.8708350062, -0.2114583403, -0.2004790455, 0.7408894897, -0.2148681879, -0.6942279339, 0.3812454641, 0.2335153669, 0.4234033227, 0.7039334774, -0.6035662889, 0.2156725377, 0.7113401294, 0.9935798645, -0.2172062248, -0.0947876796, -0.7171678543, 0.090491645, -0.3180176914, 0.3884476125, -0.0823410526, -0.072002396, -0.2529906929, -0.0350620672, 0.1202715039, -0.3161851764, 0.1605765671, -0.5635942221, -0.0995084196, 0.1725423187, -0.5220197439, -0.1666586697, 0.1339430958, -0.5282822847, 0.722427249, 0.2553676069, -0.7040656805, 0.5966724753, -0.1972480565, -0.4313604832, 0.6193104982, -0.4547218382, -0.3981089294, -0.1333421767, 0.2418971807, 0.6048214436, -0.0830227062, 0.5436151028, -0.3478305936, -0.9561212659, 0.0944865048, -0.4002326727, 0.8082923293, 0.4130055606, -0.8078142405, -0.0684573054, -1.2536556721, 0.0007473858, -0.1160113364, -0.1708070785, -0.0676727593, -0.1902936101, 0.2384700179, 0.1498679966, -0.3252453506, -0.9782221317, -0.1021347865, -0.1293879151, 0.4804808199, 0.3364121914, -0.0681342334, 0.0264229551, 0.0232611112, 0.173582375, 0.3524125814, 0.1144020855, -0.4384060502, -0.5321367979, -0.5491832495, -0.5847489238, 0.3198116422, 0.374081552, -1.0507376194, 0.5926648974, -0.391099453, -0.6880897284, -0.2914640903, -0.1902815849, 0.4124553204, 0.9329808354, 0.1541245431, -0.1618379951, -0.3787726164, -0.9414765239, 0.0947546884, -0.0580307469, -0.232358411, 0.5404549241, 0.3367161751, -0.0559294857, 0.9547581077, -0.2945279479, -0.1909174025, -0.1201720834, -0.0679439083, 0.2497282177, 0.7048987746, 0.7937659621, -1.0336749554, -0.0814750567, -0.0651725158, -0.5444902778, -0.0454172753, 0.0546296686, 0.2969363034, 0.1441261917, 0.3352969289, -0.3466155827, 0.9701195359, 0.4532945454, -0.4928705096, -0.0019313097, -0.0963858888, 0.4851229191, -0.8082367778, 0.0299112666, -0.1652251482, -0.5646778345, -0.7529918551, -0.6628246903, 0.2922278941, -0.3959413767, -1.0190593004, 0.6553438902, -0.3666683137, -0.5145245194, -0.271143198, 0.349945873, 0.2977444232, 0.6521055102, 0.0972074196, 0.7069921494, 0.6444035769, -1.0322841406, 0.5606325269, -0.1655345112, -0.8988370299, 0.4256030917, -0.6161438227, 0.046828296, 0.1593733281, 0.3939255178, -1.1812129021, 0.0305200666, -0.1342644989, -0.0736587867, 0.2461111695, -0.2599574327, -0.3886281848, -0.3606981039, 0.1873550266, 1.2583038807, 0.4532105327, -0.9625623226, 0.4919520617, 0.1738733351, 0.032979954, -0.4057442248, -0.773871839, 0.2615478039, -0.0425426923, -0.9099839926, 0.8813264966, 0.0315953866, -0.3596965671, -0.5264479518, -0.1090771332, 0.0026962014, 0.0798202679, -0.2023799568, 0.0745026991, -0.2420381904, 0.1299274713, -0.3043484688, -0.1700777113, -0.4943631291, -0.1641364843, 0.185703218, -0.0447658673, -0.50925529, -0.6133686304, 0.5639570951, 0.4593089521, 0.0141364774, 0.3714734018, 0.9046490192, -0.4645322263, -0.3398124278, -1.0704123974, -0.4151565731, -0.5030665398, 0.3592682481, -0.160771504, -0.9692947865, 0.5436072946, -0.0222989209, -0.4328860641, 0.0690618679, 0.3456080854, 0.3803967237, 0.8354081511, 0.473199755, 0.1434467733, 0.5000606775, -0.1775036454, 0.2372217178, -0.5248366594, -0.423776716, -0.5379586816, -0.5913972259, -0.4611517787, -0.5441544652, 0.3157578111, -0.3406983018, 0.1652919352, 0.389681071, -0.6239603162, 0.373367548, 0.3390315771, 0.4788053632, 0.3022960126, -0.2964978814, 0.0792591125, 0.050592564, -0.7428888083, -0.1661728024, 0.3376272917, 0.1985247284, 0.5235648751, 0.045049943, 0.21699588, 0.2963033319, -0.3122393191, -0.6786738038, 0.9791741371, 0.0953608975, -0.4742212892, -0.3982681036, -0.6857037544, -0.4376209378, 0.4123944938, 0.127179876, -0.883785069, 0.6729516983, 0.1779133677, -0.3602104783, 0.6460758448, -0.8174293637, 0.596904695, -0.4083590508, -0.7138240933, -0.1513657123, -0.6862972379, 0.4463254809, 0.2689554691, 0.191592887, -0.4001299143, 0.1217334569, 0.7046388388, -0.5310767889, 0.4521323144, -0.5885416865, -0.0151062664, 0.287996918, 0.04072503, 0.0864548087, 0.4975595176, -0.0859850347, 0.157343626, -0.300439924, -0.495244205, -0.5021236539, 0.5948435664, -0.4469062388, -0.6421442628, -0.1183346733, -0.5068101287, -0.2353864759, 0.1872902215, 0.0519942418, 0.9856665134, -0.1441693157, 0.6528285742, 0.9798126817, -0.3133592308, 1.0898637772, 0.4067567885, -0.1622425914, -0.4265932441, 0.5142858028, 0.0810938627, 0.0615891665, 0.4484019578, 0.0856531188, 0.0083820764, -0.5975472927, -0.3724009395, -0.2256887406, -0.4657770097, -0.3254956305, -0.6785367727, -0.3687041998, -0.5045956969, -0.0607612468, -0.57581532, -0.6145041585, 0.0656530708, 0.190801084, 0.5162582397, 0.2714284956, 0.2735660672, 0.5497986674, -0.3204218745, 0.5754693151, 0.9323348999, 0.731613934, 0.1035151333, -0.4259649515, -0.2875413001, -0.1849705726, -0.0532249995, -0.531740427, -0.0477216132, 0.3250619173, 0.5897558331, 0.607005477, 0.1374710351, 0.6439946294, -0.1646882743, 0.8450062871, -0.019526884, -1.1232190132, 0.5766749978, -0.3208079338, 0.5626819134, 0.328661859, -0.3638243079, -0.440879494, 0.0718629137, -0.5725080967, -0.7932989597, 1.0436398983, 0.2671875358, -0.2959499061, 0.2998629808, 0.3945271075, 0.1307055354, 0.188349694, -0.400639683, -0.2067853659, -0.5909180045, 0.2328334898, -0.2255150378, -0.5252367854, 0.0382919163, -0.4394819736, 0.4008815289, -0.1827262044, 0.2441870421, 0.5392352939, -0.1836587042, 0.1523669362, 0.4769365489, 1.0827431679, 0.890953064, -0.4774781168, 0.3653022945, 0.3395924866, -0.2024843991, 0.3586945236, 0.0099322479, 0.1215046719, 0.4565897584, 0.434476465, 0.7438648939, 0.5409402847, -0.2057342976, 0.9749408364, -0.3226709962, -0.2033591121, -0.0144215664, 0.0974511877, -0.0007973177, 0.2511489689, 0.5264948606, -0.1434807479, 0.1786096841, -0.1824554652, 0.3451682031, 0.1982489228, -0.1545227766, -0.1801182926, 0.7955652475, 0.3703144789, -0.5873970389, 0.3212507963, -0.212586388, -0.4143630564, 0.8289619684, 0.2382990569, 0.9789510369, -0.4355490804, -0.0141325369, 0.1395697296, 0.1780682653, 0.2110541165, 0.4425632954, -0.5332639813, -0.37202847, -0.2544054091, -0.4771600366, -0.4461951256, 0.1120737493, -0.0740096942, 0.3927575946, -0.4355842173, -0.1206285208, -0.0658801869, 0.0476074331, -0.7762415409, 0.5239351392, 0.2971720397, 1.0517917871, -0.7347793579, 0.9627168179, 0.1589319855, 0.1704237759, -0.8597263098, -0.5596010089, 0.0134061566, -0.4371937513, 0.5524693131, 0.4775398672, -0.4091469049, -0.2983334064, -0.2724917531, -0.4156004488, 1.5775561333, 0.463191539, -0.7459525466, 0.445210427, 0.138421312, 0.2677173316, -0.8228750229, 0.4584507048, 0.2544427812, 0.4482651651, 0.4771796465, -0.7800444365, 0.0195396822, -0.1397135556, 0.5302515626, -0.4069221914, -0.9295021892, 0.841769278, 0.1033109501, 0.0642451942, -0.2458843738, 0.7447029352, -0.0144683896, 0.508885324, 1.0289257765, 0.1802890748, 0.3793236315, -0.2422942817, 0.2605298758, -0.28522861, 0.0475695506, 0.8939366937, -0.317482084, 0.3492106199, 0.4182733595, 0.0653624535, 0.1694266051, 0.5979143381, -0.0872600153, 0.5176377296, -0.032728985, -0.3449794352, -0.4305514097, -0.1993659288, -0.6090600491, 0.8864777088, 0.1070638299, -0.2247168571, 0.0238673892, 0.1006249413, -0.3003259599, -0.1924113184, -0.3963392079, 0.7959625125, 0.0590357929, -0.4326718748, 0.5172169209, -0.2947935164, 0.7052986026, -0.4275554717, -0.0423135832, -0.3591954112, 0.4575133026, -0.4005511105, -0.2177848518, 0.056396462, -0.2922646999, -0.0040796478, -0.3940637112, 0.9550215006, -0.5412390828, -0.3763014078, 0.5219653845, 0.4518587589, -0.0341874734, 0.1725446433, -0.0548562668, 0.4076261222, -0.4151028097, -0.3019365668, 0.1356986165, 0.6081987619, 0.2343780994, 0.5703970194, 0.1619549394, 0.1119253263, -0.0079290662, 0.425036788, 0.7860018015, -0.6538919806, -0.6380450726, -0.756033659, 0.4297886789, -0.2746708095, -0.0265312009, 0.5203495622, 0.5652189851, 0.7434358001, 0.0937154666, 0.2244443297, 0.1480812132, 0.513835907, -0.3568513989, 1.0101373196, -0.6032170057, 0.5231360793, -0.7547205687, -0.9568542242, -0.3738951385, 0.1201935783, 0.2238392234, 0.4230317175, 0.5961592197, 0.9783263206, -0.505638361, 0.0686743706, 0.8590972424, -0.0692947134, 0.5144161582, 0.5014361143, 0.5933424234, -0.7424947023, 0.7938477397, -0.6015481949, -0.5062932372, -0.6276497841, -1.3018579483, -0.7540096641, -0.4632436633, -0.7487529516, -0.0040424205, -0.3655695915, 0.4978225231, 1.1817547083, -0.6910277009, -0.208961159, 0.2095065564, 0.4389572144, -0.5428839326, -0.2049565464, 0.4010742307, 0.2370418459, -0.4251238406, 0.6022965908, 0.5131590962, 0.0912056863, -0.3681272566, 0.2116727978, -0.4547239542, -0.0685696304, 0.4160755277, 0.0505096428, -0.7777734995, -0.7270278335, -0.4183962643, -0.0470507182, 0.2236810029, 0.9372683167, -0.965721488, 0.7132321596, 0.6788239479, 0.4513859749, 0.4786166251, -0.2846263945, 0.3759302795, -0.9456661344, 0.755300045, 0.1652272493, 0.7958045006, 0.5201171637, -0.2921357155, 0.3898045123, 0.3995335698, -0.6162191033, -0.9143500924, 0.1692765504, -1.1934661865, -0.0884195939, 0.664732635, -0.2296481878, -0.4434167147, -0.3595166802, -0.0641202778, 0.4404265285, -0.2838912904, 0.9122154117, 0.2676185071, 0.0990780592, -0.5074702501, -0.1812150925, 0.5267201662, 0.2673125565, -0.5458964109, -0.000318602, 0.2124142051, -0.0201417021, 0.1659982651, 0.5431851745, -0.0185367186, 0.5749106407, 0.1574371755, 0.0124827866, -0.5910628438, -0.528775692, -0.338389039, 0.3324780464, -0.3235387206, -0.2648224235 ]
http://arxiv.org/abs/2402.16877v1
http://arxiv.org/pdf/2402.16877v1
Large Language Model Augmented Exercise Retrieval for Personalized Language Learning
2024-02-08T20:35:31
2024-02-08T20:35:31
Austin Xu, Will Monroe, Klinton Bicknell
cs.IR
cs.IR, cs.AI, cs.CL, cs.LG
We study the problem of zero-shot exercise retrieval in the context of online language learning, to give learners the ability to explicitly request personalized exercises via natural language. Using real-world data collected from language learners, we observe that vector similarity approaches poorly capture the relationship between exercise content and the language that learners use to express what they want to learn. This semantic gap between queries and content dramatically reduces the effectiveness of general-purpose retrieval models pretrained on large scale information retrieval datasets like MS MARCO. We leverage the generative capabilities of large language models to bridge the gap by synthesizing hypothetical exercises based on the learner's input, which are then used to search for relevant exercises. Our approach, which we call mHyER, overcomes three challenges: (1) lack of relevance labels for training, (2) unrestricted learner input content, and (3) low semantic similarity between input and retrieval candidates. mHyER outperforms several strong baselines on two novel benchmarks created from crowdsourced data and publicly available data.
[ -0.2593502998, -0.8453919888, 0.5408688784, -0.2540592849, 0.2204144746, 0.1711174697, -0.3830382824, -0.2795751691, 0.4535058141, 0.3127170205, -0.4695903659, -0.3788844347, -0.5551094413, 0.0481728427, -0.3694308102, 0.7971477509, -0.3002791703, 0.1308831275, -0.1398674548, -0.3131990433, -0.2420959324, -0.6319575906, -0.3651824892, -0.4677542746, 0.7803675532, 0.4913715422, 0.4138808846, 0.4634364545, 0.4019737542, 0.2980022728, 0.0519446582, -0.1553962976, -0.6399891973, 0.3826693892, -0.0518157631, -0.5081758499, 0.0294352435, -0.1176110953, 0.8275684118, 0.850540936, -0.0324473605, 0.2369552404, -0.1765415221, 0.6401193142, -0.8298972845, -0.1303773373, -0.6884351373, 0.0501785055, -0.2702174187, -0.0689105913, -0.1449254006, -0.3049222231, 0.2476759404, -0.537530303, 0.4461579323, -0.0593003258, 0.8652434349, 0.0880975723, -0.2673539519, -0.3504627943, -0.6769074798, 0.8610947132, -0.3816688061, 0.7343745828, 0.6128560901, 0.5063099861, -0.0387833789, -0.3995318115, -0.7394836545, -0.6411861181, 0.2831714749, -0.0976236314, 0.0508396812, 0.0621658005, 0.4137809277, 0.543689847, -0.7402294278, -0.0444408283, -0.3414809108, -0.0227130298, 0.5147464871, 0.1057174653, 0.4133406878, -0.2091735154, -0.2032053918, -0.2786057293, -0.7829118967, 0.0689154342, 0.5331872702, 0.2051922679, 0.0570300296, 0.8968213797, -0.4895950258, 0.8740975857, -0.1986039579, -0.1108271554, 0.5267235041, 0.080169946, -0.0673792437, -0.1435144693, 0.7072682977, -0.0843917876, 0.2322327793, -0.4141075611, -0.2153009921, -0.3941850662, 0.061473161, -0.9127121568, -0.3350413144, 0.2155539989, -0.1230055615, 0.0163967274, 0.3748710155, -0.5553492308, -0.1048916206, -0.6306562424, 0.7860652804, -0.4974413812, -0.0941223949, 0.0941795483, -0.2679528892, 0.3262179196, 0.135640651, -0.7972365618, 0.138545081, 0.6278179884, 0.8112384081, 0.0016526823, -0.276745528, -0.6851271391, 0.1305883676, -0.1551706046, 0.566624403, -0.7961844206, -0.0753852203, 0.254399091, -0.1543018818, -0.2437818497, -0.751756072, 0.1190137863, -0.82713449, 0.491422087, -0.2628242075, -0.9042101502, -0.003005065, 0.4754269719, -0.6390957832, 1.0422083139, 0.254390955, -0.737873733, 0.2729007006, -0.5496679544, -0.2633704543, 0.0227574334, -0.3125247359, -0.4629527926, 0.1813346744, -0.0359845683, 0.4489530623, -0.1560242325, 0.0545371659, -0.55107373, -0.4698296487, 0.2106425762, -0.0559176393, 0.3977096081, 0.1729702801, -0.2998951674, 0.1518646628, -0.9195961356, 0.0973132625, 0.3052124083, -0.5411370397, -0.6468882561, -0.095176205, 0.2708112895, 0.4252268374, 0.2382101119, -0.9278142452, 0.3168390095, -0.5466073751, 0.2090722173, 0.5606725216, -0.1106362566, 0.3427675366, -0.228734374, 0.5984407067, -0.3963889778, -0.2023548633, -0.1455748081, -0.2196165621, -0.7020785213, -0.1510989964, 0.5673171282, 0.5433325768, -0.9592442513, 0.4134414792, -0.5990957618, -0.483515352, -0.7333818674, 0.588639617, 0.4129142463, 0.3394227326, 0.4899291396, -0.2859871387, -0.3382553756, -0.678691566, -0.252764374, 0.1269462556, -0.5028363466, 0.3622683287, 0.4788258374, -0.2828207016, 0.718524754, -0.7677118778, -0.3949498236, -0.3593899906, 0.0926797763, 0.0266991742, 0.2696194649, 0.5240441561, -0.8211945891, -0.6739768386, -0.0032551682, -0.6118228436, 0.1321110576, 0.0697922334, -0.0049062152, -0.1621079445, 0.5459369421, -0.5012950301, 0.1698913872, 0.5191200376, -0.0442696214, 0.300224185, -0.3267628551, 0.1684276462, -1.1974424124, 0.2764818072, -0.088918604, -0.0579606779, -0.5738808513, 0.2164330482, 0.1519361138, -0.3792448342, -0.3998877406, 0.8111828566, -0.2775256038, 0.0922821909, -0.4386488497, 0.1364553273, -0.2268718034, 0.3405136764, 0.0481768362, 0.677757144, 0.5339843631, -0.7029449344, 0.1823677272, 0.4581621885, -0.2958313227, 0.388823539, -0.8127951622, 0.3135317862, -0.432159692, 0.0412036888, -0.926566124, -0.6270158291, 0.0808466673, -0.5708441734, 0.43947649, 0.0132443076, -0.3236096799, -0.3037224114, -0.4976328909, 0.5343405008, 0.3000256121, -0.627962172, 0.287296325, 0.2752977014, -0.0176352672, -0.624144733, -0.4819822609, -0.0439493544, -0.1206226349, -0.378839612, 0.3233528137, -0.2181028426, -0.0238154456, -0.0651237965, -0.1099668816, -0.2452243865, -0.0109017687, 0.1542362869, -0.0263892263, -0.1483325362, 0.4046862423, -0.3258895874, 0.0317194276, -0.1036946699, -0.1407455802, 0.6233150363, 0.1973652095, -0.5687225461, -0.3067544699, 0.4158002436, 0.4033314884, -0.4061323702, 0.9418381453, 0.7653978467, -0.4085243344, 0.0394600816, -0.7581139803, -0.108483769, -0.4464134276, 0.4956341386, -0.5088090897, -1.1976668835, 0.1429056674, 0.1369212866, -0.0131740924, 0.1659503281, 0.5510666966, -0.1984571964, 0.9227355719, 0.5348446965, -0.2950257063, 0.8901975155, -0.4791355729, 0.1535086781, -0.869482398, -0.3089169264, -0.523193717, -0.457179904, -0.5523195863, -0.4554060102, 0.2247772217, -0.1474116147, -0.4058980942, 0.4601006508, -0.1463443041, 0.370121032, 0.7943038344, 0.2190654278, 0.0272230785, 0.2917814255, -0.1765201241, -0.2890430689, -0.6050443053, -0.1729597896, 1.1886868477, 0.0037927949, 0.6917877197, 0.2759442925, 0.9111555219, 0.0413589068, 0.382835865, -0.9502218962, 0.2162307054, 0.1590833962, -0.7875596881, -0.3337229788, -0.6742185354, -1.4247362614, 0.392899096, -0.3363529146, -0.5233100057, -0.1245039403, 0.0280501954, -0.0259181522, 0.4294085205, -0.5197318196, 0.8577799797, -0.255104661, -0.5094270706, -0.2860971987, -0.6444458961, 0.3026364744, -0.1519380659, 0.3083710372, -0.1446486264, -0.0072226794, 0.5578784347, -0.4660242498, 0.492705822, -0.2130806744, 0.1099374667, 0.1965318918, 0.1397507638, 0.2418372184, -0.354326129, -0.1516000777, -0.2813275158, -0.1863008738, -0.8522022367, -0.6304144859, 0.8752524853, -0.7577562332, -0.4916727841, -0.414475292, -0.2891410589, -0.2279880047, 0.1727950126, 0.1576334089, 0.298628509, -0.3724907935, 0.4229009151, 0.6795127988, -0.310166806, 0.2136406898, 0.4950436056, 0.0211571474, -0.4882448316, 1.2848192453, 0.0989983603, 0.2337331027, 0.9382116199, 0.0578998737, -0.3617770672, -0.4707932174, -0.2440343052, 0.3873630762, -0.5094267726, -0.114120774, -0.5730435848, 0.0914397761, -0.2669616044, 0.0181426797, -0.3319694996, -0.2658644021, -0.1009034365, 0.0768688396, 0.1255778074, 0.6499779224, 0.1450498104, 0.3627739847, -0.7948458195, 0.5828464031, 0.3990086019, 0.4850150943, -0.1640177965, -0.5821089745, -0.2800184786, 0.0082001612, -0.4862185717, -0.8003043532, 0.2865775824, 0.3855337501, 0.6104390025, 0.3745188117, -0.016169278, 0.7347920537, -0.7867178917, 0.5235542059, 0.3480803668, -0.7793444991, 0.6556353569, -0.197602585, 0.133714214, 0.813007772, 0.793415904, -0.5076708198, -0.1464191377, -0.5942223668, -0.9664672613, 0.2800100446, 0.0512718745, 0.5636542439, -0.15843606, 0.5420122147, -0.0141976038, 0.1528244317, -0.7950686216, -0.0640183985, 0.1161324158, -0.3063154221, -0.1802699268, -0.0297601577, 0.2153718919, -0.3830794096, 0.6156169176, -0.188895911, 0.0350276046, 0.2435400933, -0.3420670331, -0.2134494483, 0.24367553, 0.1318165958, 0.5029709935, -0.2388498038, -0.0413727425, 0.2043166757, -0.2515149117, 0.2717123628, 0.1145996451, -0.2094514966, 0.1519435644, 0.3304404914, 0.5780094266, 0.5871312618, -1.2147113085, 0.851903975, -0.0270681065, -0.2876173556, -0.5793502331, 0.1774775237, -0.0263427589, 0.0830724165, 0.1924790889, -0.160158053, 0.2077662945, -0.3545588255, 0.3164398074, 0.6561402082, -0.6003448367, -0.4412336946, 0.9810366631, -0.1498017162, -0.3810251057, 0.6677013636, -0.2009162903, -0.3599416614, 0.1173176095, 0.2451493591, 0.6211095452, -0.3687960804, 0.1308518946, 0.6465890408, 0.0558445603, -0.146428436, 0.2076444328, -0.2103956342, -0.4339235425, -0.6342644691, -0.5696833134, -0.5299283266, 0.3901347518, -0.5993994474, 0.4662249684, -0.2531977892, 0.0822630525, -0.0689373165, 0.0658271089, -0.9250436425, 0.1200945154, 0.1430922747, 0.708478868, -0.7236884236, 0.9548370242, 0.9023254514, -0.5901225209, -0.5672597885, 0.1467169523, -0.3125266731, -0.7909200788, 0.6759174466, 0.1778376997, 0.2327078879, -0.1825304478, -0.3886165023, -0.8109869957, 0.9487432837, 0.5678960681, -0.4354516864, -0.1004477292, 0.1956608593, 0.4486037493, -0.0174678974, 0.1648493558, 0.1657900959, 0.1645796895, 0.2929919958, -0.7210331559, -0.2389099449, -0.1902907938, -0.0292617884, 0.2789986134, -0.5778956413, 0.7045103908, -0.2396763712, 0.1069769412, 0.1717608273, 0.6936893463, 0.2417670488, 0.3128505945, 0.3276034892, 0.7288807631, 0.7203570604, 0.2643571198, 1.428912878, -0.2030746192, 0.5451178551, 1.0255377293, -0.205728814, 1.3105579615, 0.4440354109, -0.1750364155, 0.3746320605, 0.4725509882, 0.1704047769, 0.4204829335, 0.5165764093, -0.5217140317, -0.3015059233, 0.0683077052, -0.290361464, 0.4166867435, 0.1625660807, -0.340919137, -0.2714919448, 0.1635597348, -0.1312844008, 0.3560392559, -0.0715878978, 0.6403255463, -0.0688389093, -0.5386288166, 0.7671902776, 0.0515405796, 0.6789801717, -0.706776619, -0.0680860281, -0.01797341, 0.2045680881, -0.0455600023, -0.3653889894, 0.178133145, -0.0318495035, 0.0517337285, -0.1473415047, 0.5915058255, -0.7110789418, -0.492025286, 0.2985191643, 0.822086215, 0.3410545588, -0.3526838124, -0.665204525, -0.1124801114, -0.0478794239, -0.3861294985, 0.5956760049, 0.3476625383, 0.226602599, 0.724596262, 0.5780084729, 0.0470270663, 0.1535301208, 0.1174156368, 0.8361694813, -0.7091190219, -0.1877561808, -0.6634135246, 0.0826234743, 0.058466889, -0.3032426238, 0.7184063196, 0.9259164333, 1.1576794386, -0.2159810662, 0.7689938545, -0.0940728635, 0.7230923772, -0.4674878418, 0.5541979074, -0.8074738383, 0.0613265112, -0.1171350554, -1.0611461401, -0.3110654652, 0.7156766653, -0.3814488351, 0.0039187013, 0.3313830197, 0.7472996116, -0.4602245688, -0.3831560314, 0.4348057806, -0.1187128648, 0.3793466091, 0.6862069964, 0.8474800587, -0.600723207, 0.4872419238, -0.1952108443, -0.1467343569, -0.3894978166, -0.6022874117, -1.1630271673, -0.7153859138, -0.3149389923, -0.1827639192, -0.0573760234, 1.481331706, 0.6885445118, -0.9667310715, -0.2175923586, -0.0417552292, 0.0862267688, 0.19567734, -0.245235011, 0.39421314, -0.6140290499, -0.9930952191, 0.3140434623, -0.1164217815, 0.035381861, -0.1452476829, -0.2293495536, -0.2661696374, -0.2248511463, 0.6604854465, 0.6316133142, -0.7209780216, -0.4241734445, 0.2579477131, -0.0138756549, 0.1159199253, 1.0324838161, -0.6634418368, 0.6089666486, 0.5542244911, 1.1902192831, 0.7744242549, -0.15475218, 0.3340232372, -0.9610967636, 0.2347974032, 0.2364685386, 0.2175269872, 0.4766541123, 0.0003503613, 0.3413355649, 0.2067640424, -0.3953323364, -0.593719542, 0.1172527969, -0.7973880768, -0.1446800828, 1.1712146997, -0.1203042492, -0.1294032484, -0.11820025, -0.2615001202, 0.2035146803, -0.1268360168, 1.0254991055, 0.792268455, -0.22430861, 0.0790732503, -1.1002616882, 0.301587373, 0.4764692485, -0.4770137966, -0.1663246453, 0.4258712828, 0.6521443725, 0.0115966788, 0.5394349098, 0.1641110331, 0.1145175248, -0.3719394505, 0.2090118527, 0.0708561167, -0.1899551004, -0.2737376392, 0.3015341163, 0.2934538424, -0.22445485 ]
http://arxiv.org/abs/2402.06044v3
http://arxiv.org/pdf/2402.06044v3
OpenToM: A Comprehensive Benchmark for Evaluating Theory-of-Mind Reasoning Capabilities of Large Language Models
2024-02-08T20:35:06
2024-06-03T10:48:16
Hainiu Xu, Runcong Zhao, Lixing Zhu, Jinhua Du, Yulan He
cs.AI
cs.AI, cs.CL
Neural Theory-of-Mind (N-ToM), machine's ability to understand and keep track of the mental states of others, is pivotal in developing socially intelligent agents. However, prevalent N-ToM benchmarks have several shortcomings, including the presence of ambiguous and artificial narratives, absence of personality traits and preferences, a lack of questions addressing characters' psychological mental states, and limited diversity in the questions posed. In response to these issues, we construct OpenToM, a new benchmark for assessing N-ToM with (1) longer and clearer narrative stories, (2) characters with explicit personality traits, (3) actions that are triggered by character intentions, and (4) questions designed to challenge LLMs' capabilities of modeling characters' mental states of both the physical and psychological world. Using OpenToM, we reveal that state-of-the-art LLMs thrive at modeling certain aspects of mental states in the physical world but fall short when tracking characters' mental states in the psychological world.
[ -0.6599394679, -0.6399552226, 1.0350292921, -0.0769974813, -0.0934760198, -0.1077748016, -0.6951290965, -0.3891949654, 0.1611825079, 0.2624354362, -0.7434824705, -0.3177160323, -0.430147022, 0.257263273, -0.083451584, 0.788030684, -0.1253061444, -0.0501127504, -0.5200458765, -0.2945556641, -0.1037654728, -0.4279814065, -0.6670411229, -0.5111349821, 0.7077955008, -0.1147172302, 0.7249261737, 0.3927880228, 0.6449838877, 0.2737852037, -0.0624010302, 0.4240216315, -0.3932028711, 0.3779093027, -0.5203118324, -0.7343577743, -0.7237038016, 0.1022687107, 0.7080144882, 0.5803828239, 0.13523072, 0.1123263612, 0.0129140625, 0.4642449915, -0.7993053794, 0.191453442, -0.4511936605, 0.0296764746, -0.058012642, -0.0737430304, -0.2860501707, -0.5947511196, 0.2998277247, -0.6194342971, -0.03799963, -0.0340313613, 0.7715707421, 0.2641990185, -0.4753131568, -0.0600979552, -0.6891388893, 0.8726893067, -0.6724953055, 0.2144955695, 0.3809071183, 0.6495968103, -0.2317150384, -0.3582582772, -0.8090459704, -0.4542081058, 0.0311294831, 0.0714278743, -0.2220778614, -0.0199503265, 0.3054760695, 0.2751793861, -0.4008439183, -0.112431854, 0.1140102744, -0.013353656, 0.7040500641, 0.5166183114, 0.1292109936, 0.0900032669, -0.3720471859, -0.2926154435, -0.424723804, -0.3058844805, 0.2414927185, 0.2043330967, 0.0265374053, 0.4836868942, -0.1476050466, 0.4573827386, -0.2467748821, -0.1089531332, 0.071291782, -0.1531724483, -0.2399704754, -0.1348265558, 0.7521455288, 0.5997605324, 0.567402184, -0.0972862691, -0.2819544077, 0.2349293977, 0.3830497265, -0.6292579174, -0.0392822176, 0.27018556, -0.4099960327, 0.0602540448, 0.0281086378, -1.0290514231, -0.8282850385, -0.1149267033, 0.3480599523, -0.6936655641, -0.5279406309, 0.0815311372, -0.1359710693, 0.3385218382, 0.5100578666, -0.5897192955, 0.4727638662, 0.7757332325, 1.0708965063, -0.1225265712, -0.44154796, 0.1070512757, 0.0661092699, -0.4594883919, 0.9040829539, -0.5881196856, -0.0450884812, -0.1668050587, -0.2651182413, -0.0611955002, -0.29590258, 0.2981205583, -0.1130093858, 0.2211999446, -0.5787270069, -0.6239337921, -0.2902817726, 0.6649637222, -0.4427513182, 0.491512388, 0.250875771, -0.2670767307, 0.3205255866, -0.7793074846, -0.2415319681, -0.0387585834, -0.4311986864, 0.1640348583, 0.3571875095, 0.0623160303, 0.4307501912, -0.8983002901, 0.3199447393, -0.5354374051, -0.3072635829, 0.6736294627, -0.4864012599, 0.780180037, 0.1631922424, -0.2161426991, 0.0492063276, -0.6787528396, 0.2856189907, 0.449354887, -0.028202977, -0.380531311, 0.1536727846, -0.3173972666, 0.1128635779, 0.3189087808, -0.5763213038, 0.197839275, -0.2282374501, 0.5925676227, 0.6945514083, -0.1795206368, 0.095943816, -0.658085227, 0.4485262036, -0.2095709443, 0.0549324751, -0.1610556394, -0.6139939427, -0.7130980492, -0.6175800562, -0.0195425898, 0.1688714325, -0.5544752479, 0.7584913373, -0.2318644971, -0.9052532315, -0.5020782351, -0.3564775288, 0.6353026032, 0.293708533, 0.2681096196, -0.3828086555, -0.276027143, -0.6821786165, -0.438232094, -0.3787055314, -0.2594360709, 0.3502534032, 0.5772944093, -0.0318450481, 0.9259082079, -0.4714844823, -0.195799768, -0.2330619991, -0.0409206375, 0.1586928517, 0.3486229479, 0.4535806477, -0.3042713404, 0.0027532014, -0.0309048034, -0.9956532717, 0.1054977477, 0.167100355, -0.2053715885, 0.1125600338, 0.133459568, -0.9934856296, 0.4249616265, 0.15026474, -0.5343437791, 0.3907156289, -0.3016634285, 0.2846899331, -0.7516124249, 0.2640086114, 0.1229561865, 0.1075401157, -0.5918197632, 0.3442254066, 0.0766106918, 0.0503951609, -0.2370763421, 0.7681352496, -0.3362684548, -0.3438655138, 0.0014233473, 0.5516622663, 0.0663280636, 0.7147070765, -0.1329006404, 0.5562705398, 0.2717358172, -0.8251669407, 0.4227865338, 0.1547504067, -0.4810023308, 1.1170010567, -0.5056120157, 0.4458050132, -0.0874262452, 0.2473695427, -1.1720541716, -0.1929212809, 0.0145993903, -0.5933405161, 0.0680086687, 0.2081525028, -0.7611225843, -0.2501243949, -0.11221046, 0.382854104, 0.589674592, -0.3967260718, 0.8050634265, 0.2632891238, 0.2984349728, 0.0111784702, -0.6089987159, -0.1090717986, -0.2343379259, -0.5979480743, 0.3298006952, -0.1694919616, -0.5573534966, -0.0455268621, -0.2051187307, -0.2432134151, 0.1828368604, -0.1788900644, 0.1032442898, -0.4461197257, 0.1791463494, -0.1299261153, -0.0682981238, 0.4359014928, -0.205997169, 0.6901669502, -0.3414345682, -0.3934715986, -0.2705055177, -0.0598444305, 0.9422425032, -0.4044314921, 0.488668263, 0.1657187939, -0.6429329515, -0.1946563423, -0.3040709496, -0.1789327264, -0.4051540792, 0.4405217469, -0.3829216659, -0.6453579068, 0.5432046056, -0.0354859233, 0.060492333, 0.3804282844, 0.5160137415, -0.0469955988, 1.1222163439, 0.2003609538, 0.1244579777, 0.0655259565, 0.0561862551, 0.1742331535, -1.0546079874, -0.2783944905, -0.5429944992, -0.6342831254, -0.359719485, -0.5522681475, 0.3260682225, -0.2251694947, -0.4787181616, 0.3732469082, -0.459040314, 0.5003666282, 0.484492898, 0.171489343, 0.293461889, -0.3046181798, -0.284920305, 0.0031397638, -0.3010730445, -0.7837459445, 1.2871866226, 0.4788866937, 0.5891126394, 0.4553383291, 0.3330085576, 0.0421480425, 0.123609975, -0.5949252248, 1.0560874939, -0.0268766154, -0.950565815, -0.355486095, -0.3625665307, -0.8715586066, 0.3852449358, -0.1672298312, -1.0286422968, 0.0390439108, 0.0010833915, -0.479786396, 0.4566353261, -0.3366056085, 0.6064737439, -0.4128737748, -0.4023999274, -0.3777598441, -0.4452306926, 0.4300193489, 0.092214413, -0.3099576533, -0.575817883, -0.3998208046, 0.6383076906, -0.2405343205, 0.5639712811, -0.2001705915, -0.1929352731, 0.2330448478, 0.222057417, 0.0787420869, -0.0245973859, -0.1782717407, 0.3330424428, 0.1943418831, -0.2655989528, -1.0133697987, 0.5805906057, -0.8725619316, -0.4446637332, -0.5690937638, -0.6498808861, -0.7113509774, 0.210127458, -0.0615265146, 0.2286573201, -0.3715614378, 0.2731790841, 0.8073570728, -0.2699112892, 0.2070451975, 0.492705971, -0.443915844, -0.5855109096, 0.7931861281, -0.0169567522, 0.2710878849, 0.3503839076, 0.2714858949, -0.2816538215, -0.4274258018, -0.2119647712, 0.245793134, -0.7432348132, -0.0018655655, -0.3735755086, -0.1600124538, -0.1325840503, 0.0385519676, -0.3110918701, -0.1723598987, 0.019652985, 0.1520924568, 0.2841177285, 0.791062355, 0.4119551778, 0.0370851792, -0.3423340917, 0.1821231693, 0.1872383058, 0.7392795086, 0.2551023662, -0.341947794, 0.0243651085, -0.0231636874, -0.329005599, -0.8210526109, 0.0057929554, -0.0734299272, 0.8271431923, 0.5998027921, 0.0404903516, 0.6507760286, -0.1827442199, 0.6811134815, 0.0986515656, -0.8423017859, 0.5554125905, -0.5763297081, 0.4687901735, 0.6043125987, 0.4070056677, -0.4330696762, -0.3168783486, -0.3818180561, -0.4183368385, 0.5341608524, 0.2768096626, -0.0993343443, -0.3289436698, 0.2628214955, 0.1531660408, 0.362437427, -0.4259017408, 0.0062950347, -0.0375218317, -0.3481310606, -0.2369789928, 0.0304034278, -0.1586135924, -0.3318044543, 0.4378819764, -0.374998033, 0.6510884166, 0.3318419755, -0.0060121622, -0.0916604325, 0.0348744802, 0.7097184062, 0.6954702735, -0.4266235828, 0.1092317477, 0.0815731138, -0.3221971691, 0.1551911384, -0.1904506832, 0.0148519967, -0.2908614874, 0.4403758049, 0.666484952, 0.2865015268, -0.9497308135, 0.3236373663, -0.1062097996, -0.3501100838, -0.2215868235, 0.3711116314, -0.0642405748, 0.6404910684, 0.1088698879, 0.0019935754, -0.2628249526, -0.8538223505, 0.0077303457, 0.373506248, -0.5419509411, -0.3274129033, 0.4146101177, 0.217457056, -0.5172312856, 0.6993809342, -0.1126442775, -0.2022117972, 0.7444174886, 0.4591194093, 1.2310312986, 0.0025792185, -0.149706617, 0.2756869197, 0.6586052775, -0.0062379595, 0.53727144, 0.0019060811, -0.8483418226, 0.0506324694, -0.3914356828, -0.5769402385, 0.2318567783, -0.819652915, 0.1744022816, -0.9847898483, -0.3898095191, -0.2425563931, 0.1581605822, -0.7233008742, 0.2709882855, 0.3284421265, 1.1238024235, -0.2698467076, 0.7806272507, 0.8934959769, -0.4101712406, -0.3074659407, 0.2628875971, 0.148194775, -0.7648906708, 0.1822525114, 0.4176684618, -0.0871711895, -0.1561650634, -0.2676194906, -0.9582852125, 1.3747247458, 0.6534795165, -0.4554930925, -0.1415705383, -0.0892598331, 0.7784451246, -0.5028822422, 0.6636536121, 0.649625659, 0.6540427208, -0.3121393025, -0.7430186868, 0.2586388588, -0.3324263692, 0.0373434052, 0.3143303394, -0.9512994885, 1.1461443901, -0.126561448, -0.1734096259, 0.3425154686, 0.6939076185, 0.5115975142, 0.5526239276, 0.5648145676, 0.5794915557, 0.9348741174, -0.296538353, 1.0356268883, -0.2513929605, 0.1498915106, 1.1000953913, -0.7404808402, 0.8028880358, 0.2396084964, -0.3164604604, 0.5751140118, 0.3964657485, -0.0439520553, 0.493873924, 0.4110104144, -0.0796997473, -0.2455876172, 0.0737683997, -0.2543702424, 0.5855927467, 0.4050541818, -0.2101251781, -0.1416932791, -0.1408855617, 0.019182615, 0.3773526251, -0.3552391231, 0.5198237896, 0.046170067, -0.8945438862, 0.2819120288, -0.1774655133, 0.5292044878, -0.7199371457, 0.1912992299, -0.3307192028, 0.4927337766, 0.2928147912, -0.8799191117, 0.1193627045, 0.0845529512, 0.0417720079, -0.0838707462, 0.6018902063, -0.0795183778, -0.096605435, 0.4873870313, 0.4548847973, 0.3078769147, -0.1523030102, -0.540432632, 0.0999205112, -0.3729068339, -0.3105662167, 0.4773965478, 0.5733531713, 0.0396526903, 0.8082746863, 0.3606580794, -0.0194454025, -0.3057149053, -0.1543524712, 0.5734747052, -1.0605742931, -0.3504314721, -1.0968658924, 0.2603718638, -0.2237001061, -0.9427602291, 0.7699560523, 0.1897227168, 0.9035625458, 0.2619520426, 0.7226194143, -0.1072286069, 0.3007756472, -0.4888447225, 0.9314012527, -0.7427199483, 0.0436534174, -0.376781106, -1.0717782974, -0.0469721556, 0.802236259, -0.2344793081, 0.3571134508, 1.0695396662, 0.4419986308, 0.2494245172, 0.4314541519, 0.5797657967, 0.2046954185, 0.2561689615, 0.9520929456, 1.1107678413, -0.1478958577, 0.2004504949, -0.0765857548, -0.3328586221, -0.0736574978, -0.8772556186, -1.4124904871, -0.5333323479, -0.1619677544, -0.1860015392, 0.0956700891, 1.1053423882, 0.5941436291, -0.4295571446, -0.3609333932, -0.0437927768, 0.0147296302, -0.4920762777, -0.1612966359, -0.2238981873, -0.1470678002, -0.5485283136, 0.4756939709, 0.5686925054, -0.1647249907, -0.8511060476, -0.1588368416, -0.2018247992, 0.5968998075, 0.4837898314, 0.0465173833, -1.0090674162, -0.3973592818, -0.0436209738, -0.1464233696, 0.0141483406, 0.8499833941, -0.6801289916, 0.3312650621, 0.4205935895, 0.6403276324, -0.0391428508, -0.4054242671, 0.8148591518, -0.3230397105, -0.1721818447, 0.5351370573, 0.4526921511, 0.0386871211, -0.176475957, 0.6319950223, 0.229521662, -0.4345906675, -0.983541429, 0.3249579966, -0.8354801536, -0.2550609112, 0.8499291539, -0.3438668847, -0.5442374349, 0.1326925159, -0.0199732762, 0.1472754478, -0.2811901271, 0.6714618206, 0.873611331, -0.0695875585, -0.1422900856, -0.5100387335, 0.1561486572, 0.5217557549, -1.0284292698, 0.1533227116, 0.3762489259, -0.1035345569, 0.3255565166, 0.6497842073, -0.1695692688, 0.2098647356, 0.0653034002, 0.073686108, -0.1023024246, -0.6576227546, -0.2470069528, 0.1619477123, -0.0201041643, -0.0942505673 ]
http://arxiv.org/abs/2402.06041v1
http://arxiv.org/pdf/2402.06041v1
A Prompt Response to the Demand for Automatic Gender-Neutral Translation
2024-02-08T20:24:44
2024-02-08T20:24:44
Beatrice Savoldi, Andrea Piergentili, Dennis Fucci, Matteo Negri, Luisa Bentivogli
cs.CL
cs.CL
Gender-neutral translation (GNT) that avoids biased and undue binary assumptions is a pivotal challenge for the creation of more inclusive translation technologies. Advancements for this task in Machine Translation (MT), however, are hindered by the lack of dedicated parallel data, which are necessary to adapt MT systems to satisfy neutral constraints. For such a scenario, large language models offer hitherto unforeseen possibilities, as they come with the distinct advantage of being versatile in various (sub)tasks when provided with explicit instructions. In this paper, we explore this potential to automate GNT by comparing MT with the popular GPT-4 model. Through extensive manual analyses, our study empirically reveals the inherent limitations of current MT systems in generating GNTs and provides valuable insights into the potential and challenges associated with prompting for neutrality.
[ -0.2974470556, -0.4120001197, 0.6343833804, 0.0753305554, -0.2367060781, 0.1017217338, -0.1263778359, -0.193377614, -0.2624481022, 0.3589972258, -0.8112700582, -0.3173404336, -0.696397543, 0.9369640946, -0.6204844713, 1.1754208803, -0.4561944604, 0.0388429463, 0.2191976756, -0.2886835039, -1.233963728, -0.4457839727, -0.4301170111, -0.2105324268, 0.5144649148, 0.3665688336, 0.9088472724, 0.618119359, 0.408937484, 0.4552671313, 0.3835759759, -0.1191886514, -0.210727185, 0.3485674262, -0.3033102453, -0.2513215542, -0.5269568563, 0.3057635725, 0.7124587893, 0.7855814099, 0.2110660076, 0.1987741143, 0.2928372622, 0.5788019896, -0.0717030317, 0.1892705262, -0.6496129632, 0.0506131724, 0.0030296673, 0.1934329867, -0.1146924496, -0.5325367451, 0.2621084452, -0.4645205438, 0.6482865214, -0.1042360961, 0.8881765604, 0.3495865166, -0.5737488866, -0.3527113497, -0.8354772329, 0.9000396729, -0.3966340423, 0.3443358243, 0.1579545289, 0.4063395858, -0.0919035822, -0.2965205312, -0.3570429981, -0.3201555312, -0.0185338482, 0.0212389305, -0.5260673761, -0.0604579039, 0.3165979981, 0.2498698235, -0.6432113051, 0.0352289714, -0.2707666159, 0.0174821727, 0.0144708147, 0.2876572311, 0.5338340402, -0.2503235042, -0.2680720687, 0.2915433645, -0.4340623319, -0.1612364054, 0.79840523, 0.4515170753, -0.3260092735, 0.7232356071, -0.2139943242, 0.5358502865, 0.2519550622, 0.5114669204, 0.2839887142, -0.4865463674, -0.2035489827, -0.2172851115, 1.0057504177, 0.2001160681, 0.2644703388, -0.4075594544, -0.3388875127, 0.2250088751, 0.1755241603, -0.9156675339, 0.1165654436, 0.1671781242, -0.2651561201, -0.1506949663, -0.2379027754, -0.6292480826, -0.0910700262, -0.7198237181, 0.4455174804, -0.2193623036, -0.1280240119, -0.0465369374, -0.388438493, 0.0658973604, 0.5496280789, -0.9843187332, 0.2057935297, 0.4588229954, 0.9634964466, -0.1607038975, -0.1983223855, -0.5204408169, -0.1167007312, -0.3534713089, 0.1978787184, -0.3466873169, -0.395999521, -0.4905604124, 0.1881084293, -0.0902637541, -0.1840976626, 0.4302999377, -0.2075913846, 0.5616511106, -0.8796201348, -0.065542914, -0.2239043713, 0.2467598319, -0.5804816484, 0.2859193981, 0.3149986565, -0.8625900745, 0.3130116761, -0.5056263804, -0.1730229706, -0.0502266102, -0.4697689116, -0.2655182183, 0.1203219444, 0.206812799, 0.1748672128, -0.8129218817, 0.7624355555, -0.4375177026, -0.2722202539, 0.2378223985, -0.8048056364, 0.8120610118, 0.0370220914, -0.7456046343, 0.1365852803, -0.1296113431, -0.3713929355, 0.1452063322, -0.0906759128, 0.0002156751, -0.1669160724, -0.5434408784, 0.3793067634, 0.1568833292, -0.4931106567, 0.1480819136, -0.2459854782, 0.5018302202, 1.000374794, -0.5763848424, 0.5490981936, -0.0487503596, 0.7879405022, -0.4019084871, 0.0767690763, 0.0818863511, -0.9197508693, -0.54763484, -0.3251627684, 0.5564256907, 0.8278140426, -0.9118159413, 0.1500773132, -0.2475362271, 0.087999478, -0.7636399865, 0.2380289584, 0.431661278, 0.8838489056, 0.3556798697, -0.323889643, -0.4330221415, -1.0852433443, -0.4003939927, 0.1242486909, -0.1186590269, 0.0833300203, 0.5274819732, -0.2625957429, 0.9412270188, 0.1588504463, -0.0428896621, -0.3553446531, 0.5557729602, 0.6123887897, 0.5795485973, 0.4776121676, -0.6024128199, -0.4312573969, 0.2709060013, -1.2826567888, -0.4601733088, -0.0461834669, -0.1014409214, 0.1465567648, 0.3015666306, -0.8156921268, 0.5436676145, 0.7276759744, -0.1694054604, 0.4821310043, -0.4161664546, 0.3941815495, -0.6792615652, 0.447801739, -0.4301850796, -0.3471407592, -0.8413597345, -0.062406037, 0.1787789315, -0.3708347976, -0.2827165723, 0.5277908444, -0.7157933116, -0.3528714776, -0.3687345088, -0.1457797736, -0.0978597179, 0.305326134, -0.1891028434, 0.9426831007, 0.1718728691, -0.4077865779, -0.073462747, 0.3887020946, 0.4643470049, 0.2556522191, -0.885592103, 0.2141609788, -0.2531324923, 0.2805074453, -0.8318677545, -0.3168678284, 0.7251217961, -0.4348294139, 0.41401425, -0.3604632318, -0.2244482785, -0.5130233765, -0.2082416862, 0.6458093524, 0.6563301682, -0.2937726974, 0.4455236495, -0.0440431759, -0.5348681211, -0.6795582175, -0.7565390468, 0.4901907444, -0.2172328234, -0.3837859929, 0.0975769982, -0.0195415653, -0.0276766103, 0.0122966217, 0.0491604954, 0.2928470075, 0.0790408552, 0.0762757286, 0.4659813643, -0.1356768906, -0.1827862561, 0.3117459416, -0.5833113194, -0.1110988855, -0.639185667, 0.4280353487, -0.432846576, -0.4628249705, -0.7328591943, 0.6904536486, 0.5825505257, -0.1220929697, 0.4950960577, 0.608376801, -0.2156715393, 0.2560518384, -0.2337952107, -0.0108301919, -0.5155180097, 0.0647236034, -0.3263853192, -0.812148869, 0.404381901, 0.3631016612, 0.185918659, 0.5596695542, 0.6242774725, 0.2648010254, 1.4627227783, 0.3821801543, 0.0979250371, 0.0765295103, 0.2876287699, 0.1933453679, -0.5826983452, 0.2064665705, -0.8122220039, -0.5727857947, -0.9436080456, -0.4083228409, 0.341185838, -0.1231227741, -0.5227629542, 0.4343817532, -0.6343379021, 0.1815150827, 0.5454980135, -0.2828006446, 0.3116437793, -0.0182733219, -0.0786334127, -0.2870068252, -0.5545341969, -0.564237237, 1.1029144526, 0.3577008843, 0.4043954611, 0.2604246438, 0.5650786757, 0.276279062, 0.5840392113, -0.3668376505, 0.5643821359, -0.6650978923, -0.7677184939, -0.0408555865, -0.8663454056, -1.1299513578, 0.3009058833, 0.0753434747, -0.4010280073, 0.2641232312, 0.261920929, -0.0236558132, 0.1476397514, -0.9595728517, 0.8956942558, -0.3599075973, -0.2937582731, 0.3639054, -0.6702388525, 0.4871204197, -0.284262985, 0.1698286682, -0.1663028598, -0.1397812963, 0.2066447884, -0.3627615273, 0.9035342932, -0.3115842938, -0.0749999508, -0.0290326644, 0.3388684988, 0.4881889522, -0.1260162145, -0.2305364311, 0.3777027726, -0.7137107253, -0.4465304911, -0.1807193309, 0.6165947318, -0.8261292577, -0.8765716553, -0.4694724381, -0.8639856577, -0.0973718241, 0.4632303715, 0.3705238998, 0.2192221582, 0.0187081844, -0.1168307438, 0.3627388775, -0.5849070549, 0.4187981188, 0.3455314934, -0.3940140009, -0.4958326221, 0.9145440459, 0.1932613403, 0.4302407503, 0.175150618, 0.3717236221, -0.5781925917, -0.5609906316, -1.058074832, 0.1931986511, -0.5779969692, -0.0578690954, -1.0462557077, 0.2669232786, -0.380600661, -0.3140532672, -0.1527229697, -0.4755330682, -0.2565745711, 0.0137047311, 0.2012254447, 0.826813221, -0.0371632949, -0.0206435118, -0.6363575459, 0.6777591705, 0.5267727375, -0.0262917951, -0.3198065758, -0.6849328279, 0.3965674937, 0.0034052434, -0.265693754, -1.1398774385, 0.5149157047, -0.2392638028, 0.3647762239, -0.0180092566, -0.0933249742, 0.4097102284, -0.7667685747, 0.5893455148, 0.4208789766, -1.1552681923, 0.2365239114, -1.1327546835, 0.5799106359, 0.4741081297, 0.333893925, -0.2009256333, -0.5388118029, -0.4323306382, -0.8487679362, 0.7743981481, 0.7475243807, 0.2756524384, 0.0670866519, 0.193925485, 0.7149633169, 0.8056357503, -0.78579849, 0.2046706825, -0.5696386695, -0.2593242228, -0.0741695911, 0.4042807817, 0.1419169307, -0.1355592608, 0.5247693062, -0.1458698511, 0.5177252889, 0.1343436241, -0.0538614877, 0.0120635843, 0.4868222475, 0.5733822584, 0.0957024992, -0.162126556, 0.1341496706, 0.324819386, -0.1126537547, 0.3920382857, 0.2462561429, -0.7048215866, 0.3124784231, -0.0569626801, 0.952075839, -0.1549863964, -0.0706901997, 0.3282125592, -0.1914078593, -0.4810782075, 0.2192132324, -0.2845283151, 0.0092651779, -0.1077397764, -0.0320143439, 0.3926360607, 0.1311035007, -0.3984031379, -0.0814552605, 0.4501040876, -0.5112623572, -0.5784121752, 1.0803955793, 0.3070374727, -0.1835645586, 0.5941213965, -0.5482148528, -0.4684575796, 0.4276393354, 0.4564937651, 1.3632260561, -0.4187820852, 0.2946623266, 0.2712907195, 0.7941690087, -0.220695287, 0.2161723077, 0.1893093586, -0.2522256672, -0.4379492104, -0.3618885875, -0.3428273499, -0.0418737419, -0.2458649874, 0.411616534, -0.5184315443, -0.3696448803, -0.258539319, -0.636785388, -1.0409265757, -0.080717057, 0.0486619323, 0.2877400219, -0.5994156003, 0.4888899624, 0.3948965371, -0.5294831395, -0.7101170421, -0.0210372284, 0.1900787801, -0.5771437287, 0.5468403697, 0.4488202631, -0.3935776651, -0.0091377664, -0.0856309384, -0.4658741355, 0.8105522394, 1.0997179747, -0.5575059056, -0.2477060705, 0.6495448947, 0.3200595379, -0.1324256808, 0.3761199415, 0.360271126, 0.7606330514, -0.4477052689, -0.9837107658, 0.3706806004, -0.1748313755, 0.0439295545, 0.2960501909, -0.3798461854, 1.3917160034, 0.1944672763, -0.1709201932, 0.1925275624, 0.3702620566, -0.1594904959, 0.1894910187, 0.598410666, 0.2013072819, 0.4756101966, -0.1520175487, 1.1385968924, 0.2585383952, 0.1281891316, 0.9187399149, -0.5804798007, 0.1181724891, 0.2771100402, 0.0836857855, 0.3415654004, 0.209866181, 0.052031152, 0.050559517, -0.0796236843, -0.3302148581, -0.29705742, -0.0575135984, -0.6151641011, 0.3236337006, 0.1921690255, -0.3665643334, -0.6463255882, -0.0600203201, 0.0636063591, -0.0951491445, -0.1497012824, 0.3594977558, 0.2147827297, -0.9159730077, 0.7426916957, 0.2666795552, 0.4973617792, -0.5833263397, 0.0506690927, -0.1843073964, 0.0522387587, 0.0838186219, -0.4590777159, 0.4044983089, 0.5591448545, -0.3037599027, -0.780554831, 0.7204936743, -0.2070453167, -0.4787499607, 0.3754175901, 0.7649173737, 0.0474997722, -0.0575922281, -0.9370449781, -0.0761356652, 0.2836739719, 0.0312649198, 0.3413753808, 0.7220574617, -0.4454266429, 0.4755354524, 0.7405183315, -0.3127849698, 0.0017281534, -0.0377398506, 0.6026607752, -0.6822198629, -0.6076350212, -0.8652362227, 0.5546830297, 0.176558733, -0.2882386148, 0.8921234012, 0.1076180786, 0.2804128528, -0.2023746222, 1.1370390654, -0.104050681, 0.4305291176, -0.2385401875, 0.5394464731, -0.3810454607, 0.2874250412, -0.3952303827, -0.7160349488, -0.2533687055, -0.0503444262, -0.5065563321, 0.2438197434, 0.6227413416, 0.6366457939, -0.4140477777, 0.3109636307, 0.1543636173, 0.0620681643, 0.3876678944, 0.3992460966, 0.9184928536, -0.2282486409, 0.7321757078, 0.402919054, -0.3131414056, 0.0394030996, -1.1033378839, -0.9901282191, -0.0984947681, -0.1489097476, -0.2378541231, 0.2758637071, 0.8256252408, 0.3224066496, -0.8170982599, -0.1515369862, -0.7000988126, 0.0503062792, 0.0402830765, -0.0114559187, -0.0407349542, -0.3883187771, -0.9047650099, 0.393381983, 0.1531705111, 0.2208746225, -0.1153655872, -0.2381031364, 0.1022646874, -0.1295121312, 0.2052909881, 0.3467588723, -0.58430022, -0.1813460737, 0.2408970147, 0.0025324638, -0.0923213661, 0.8423758149, -0.6012789607, 0.5098596811, 0.5356327295, 0.8356795311, 0.0310470294, -0.0179373492, 1.1539154053, -0.6764019728, 0.0456738472, 0.1716608256, 0.1304456741, 0.5039649606, -0.1864240319, 0.1908416301, 0.4980229735, -0.5102763772, -0.7351667881, 0.499039799, -0.6181231737, -0.1919366568, 1.0859116316, -0.0943659246, 0.030036062, -0.5333518386, -0.3317236006, 0.4919815958, -0.5863173604, 0.3844453096, 0.5055083036, 0.1622785777, 0.2521974444, -1.1917756796, 0.1534177363, 0.7788475156, -0.502669096, 0.009567582, 0.3508329391, 0.2701000869, -0.1459901482, 0.7131788731, -0.1278860718, 0.2246737778, -0.1927808374, 0.0653705001, -0.0255636778, -0.1548534781, -0.5440559387, 0.2185126245, -0.1008456722, -0.2705976963 ]
http://arxiv.org/abs/2402.06025v6
http://arxiv.org/pdf/2402.06025v6
Doing Experiments and Revising Rules with Natural Language and Probabilistic Reasoning
2024-02-08T19:57:29
2024-05-22T21:24:19
Wasu Top Piriyakulkij, Cassidy Langenfeld, Tuan Anh Le, Kevin Ellis
cs.AI
cs.AI, cs.CL
We give a model of how to infer natural language rules by doing experiments. The model integrates Large Language Models (LLMs) with Monte Carlo algorithms for probabilistic inference, interleaving online belief updates with experiment design under information-theoretic criteria. We conduct a human-model comparison on a Zendo-style task, finding that a critical ingredient for modeling the human data is to assume that humans also consider fuzzy, probabilistic rules, in addition to assuming that humans perform approximately-Bayesian belief updates. We also compare with recent algorithms for using LLMs to generate and revise hypotheses, finding that our online inference method yields higher accuracy at recovering the true underlying rule, and provides better support for designing optimal experiments.
[ -0.251442343, -1.0524321795, 0.9460476041, 0.1218819618, -0.0796695203, -0.1443467438, -0.5025262833, -0.3640602231, 0.0793891922, 0.7982281446, -0.6650235653, -0.4382839501, -0.2031204104, 0.1350982785, -0.4186948836, 0.6556957364, 0.0397704318, 0.220746547, -0.1621917039, 0.6197705865, 0.0262867827, -0.2449558675, -0.741977632, -0.577598691, 0.3559316397, 0.5287879109, 0.8607680798, 0.311360538, 0.5925496817, 0.3527377248, 0.0607509501, 0.1838921607, -0.2638456225, -0.0220891591, -0.3906227946, -0.7952573895, -0.2044838816, 0.1365929097, 0.4686826766, 0.7672640681, -0.5463634729, -0.2695545852, -0.2376378775, 0.3548979759, -0.3548591137, 0.2305705249, -0.5674352646, -0.0364822149, 0.1825619787, -0.3318364024, -0.5670067668, -0.7149315476, 0.0708033741, -0.6912500858, 0.6171033382, 0.1179492399, 0.7497184277, -0.1296175122, -0.2984699607, -0.291095823, -0.9043254256, 0.8942981362, -1.2994716167, 0.4279827774, 0.7145489454, 0.2650648952, -0.8433898091, -0.6972875595, -0.9964312911, -0.757923305, -0.1457227618, -0.130628258, 0.0585981123, 0.448851198, 0.4754982889, 0.3108506501, -0.2669082582, -0.0402744636, -0.2266329229, 0.1132402942, 1.029843688, -0.1207682788, 0.3152583241, -0.088002719, -0.0846200883, -0.3472584188, -0.674475193, -0.1982285231, 0.4281440079, 0.2584439218, 0.1678309143, 0.7042362094, -0.7511175275, 0.6899074912, -0.0243917406, -0.3656390309, 0.3082340956, -0.3054342866, -0.3384569883, 0.0170187689, 0.7956538796, 0.5213771462, 0.5727829337, -0.3845461905, -0.2791564167, 0.0406959504, 0.3602820635, -0.4528962076, -0.3027561605, 0.0646817163, -0.2839113176, -0.2381697297, 0.1869355589, -0.6297846437, -0.5052617788, -0.5812373757, 0.8482807875, -0.4906533659, -0.1796916723, 0.5909851193, -0.3418464363, -0.0283927023, 0.5519465804, -0.8707022667, 0.7480747104, 0.8155679107, 0.5278629661, 0.2434526086, -0.4129163027, -0.3526402712, 0.1086298898, -0.6481705308, 0.9009079337, -0.5681796074, -0.3204399347, -0.1349756122, -0.0624113083, 0.0188977029, -0.3791686594, 0.7912840843, -0.5047944188, 0.340452373, -0.3381542861, -0.920047164, -0.4800428748, 0.0244022794, -0.5351222754, 0.8850349784, -0.0518797711, -0.8450732827, 0.3301241994, -0.801669836, -0.4693316221, -0.162331298, -0.011000705, -0.284799397, 0.2056315243, -0.0840895399, 0.4316661656, -0.4047669768, 0.4281452894, -0.5034217238, -0.4233801067, 0.739857614, -0.2014850378, 0.6858197451, 0.2880724967, -0.3849522769, 0.2104484141, -0.6801463962, -0.0024785309, 0.1560096741, -0.2665445209, -0.2349692732, 0.7968145013, -0.0622987784, -0.0126453387, -0.2858994603, -0.7910468578, 0.4482253194, -0.5834555626, 0.6085454226, 0.4972926378, 0.269772619, 0.4415006042, -0.5220668912, 0.0609422177, -0.3209944367, 0.1130063608, 0.1650089175, -0.7049789429, -0.6832834482, -0.1022181287, 0.2609421611, 0.5396956801, -0.6166859269, 0.2983979583, -0.1285451204, -0.503790319, -0.4574371278, 0.1990371048, 0.0508475751, 0.3989722729, 0.3394577205, -0.1617535949, -0.5742689371, -1.0065572262, -0.4417457581, -0.167106688, -0.3115637898, -0.1328405291, 0.5683483481, -0.3098912239, 1.0341091156, -0.4932613671, 0.0421195142, -0.3984909058, 0.5924453735, 0.3589149714, 0.445184052, 0.2916525602, -0.818056345, -0.1623408347, -0.1222700551, -0.5077777505, -0.1869880706, -0.2680535018, 0.0031538627, -0.0677394643, 0.5968349576, -0.7922002077, 0.6107944846, 0.1441551298, -0.3465270996, 0.3755116165, -0.4470118284, 0.619097054, -0.9282389879, -0.4842649996, 0.2951155007, -0.2483695, -1.0385621786, 0.1898050159, 0.0155927418, 0.4335644245, -0.345767796, 0.3419850767, -0.385871619, -0.0843873248, -0.4409756362, 0.0853680819, -0.0814764425, 0.1817397028, 0.400125891, 0.5696169138, 0.4274745286, -0.7053933144, 0.4581999779, -0.1612536907, -0.6987297535, 0.2474396974, -0.6578499079, -0.0427888073, -0.3039416373, 0.1518752575, -1.1480712891, -0.4486480057, 0.3506028652, -0.5181798339, 0.1084273383, 0.1905736476, -1.1292818785, -0.2132401317, -0.3277742267, -0.1008189097, 0.6614747047, -0.4144826531, 0.6907892227, 0.1328129023, -0.1104858518, -0.0578571707, -0.6214244962, 0.3131137788, -0.2399473041, -0.4235031605, 0.4923067391, -0.0903714374, -1.0094091892, 0.0079969475, 0.3728512526, -0.1298731416, 0.3479411006, 0.1289018244, 0.0914710313, -0.1048373654, 0.1476951391, -0.1090793088, 0.1326717138, 0.3527483642, 0.1199263632, 0.3916023672, 0.1218608394, -0.456394285, -0.6519448161, 0.283218652, 0.2019963413, 0.1856323332, 0.662278533, 0.2827002406, -0.7018178701, -0.2348650843, -0.8380884528, -0.5157188177, -0.4925578833, 0.1987227947, -0.3800657392, -0.542976141, 0.1515984684, -0.018584609, 0.1263302714, 0.349124521, 0.5895481706, -0.517368257, 1.2508811951, 0.5428286791, 0.3426204026, 0.4639246762, 0.0994968861, 0.278107971, -0.6366000772, 0.0485530905, -0.5100889206, -0.0767547637, -0.5951292515, -0.6869090199, 0.0197309591, 0.3032765388, -0.1997958273, 0.2544265091, -0.0536941364, 0.4964849651, 0.9256199598, 0.3199740946, 0.335493803, -0.0594028756, -0.0019466378, 0.09637288, -0.5242828727, -0.6118227243, 1.002235055, 0.1517613679, 1.1201390028, 0.182723105, 0.7029026747, 0.3796175718, 0.6311721206, -0.6670930386, 0.5582696795, 0.3416449428, -0.7116620541, -0.1822042316, -0.5693479776, -0.8073032498, 0.1711923033, -0.5599575639, -0.9943168163, -0.0793669298, 0.1045390069, -0.1323078275, 0.4812415242, -0.8363891244, 0.5141565204, -0.1490113288, -0.3331317902, -0.5640307665, -0.4746067524, 0.4118374586, 0.0438216887, 0.565737009, -0.1568394899, 0.1201481819, 0.7187299728, -0.2671718597, 1.1519120932, 0.1114704758, -0.0756483376, 0.5917934775, 0.3335880935, 0.472766608, 0.1246438995, -0.140498966, -0.1106386408, 0.06070875, -0.2548500299, -0.7277528644, 0.5538867712, -0.7446224093, -0.8493977189, -0.4761365354, -0.521807909, -0.2967403531, 0.0379038677, 0.0090015167, 0.027208006, -0.1979726106, 0.0557250641, 0.8411145806, -0.2158240378, 0.2337035239, 0.691293776, -0.3831926286, -0.2359462529, 0.5351564884, 0.0114607299, 0.5468274355, 0.6461648941, 0.4373903871, -0.2176436782, -0.4999907613, -0.0842672735, 0.3865237534, -0.6941864491, 0.1615162045, -0.5291347504, -0.1190637872, -0.5786101222, -0.170944199, -0.1180672199, -0.2905369103, -0.2085941434, -0.1910780072, 0.5888497233, 0.9112394452, -0.2989124954, 0.3679520786, -0.6832875609, 0.6075609922, 0.4279444516, 0.273843199, -0.1243474856, -0.4993789196, 0.0633063391, 0.4751217961, -0.1213796288, -1.2940683365, 0.3485081792, 0.2092816085, 0.78259027, 0.430474937, -0.0312059447, 0.4930254817, -0.5994679928, 0.5517995954, 0.0525635518, -0.8261735439, 0.6432958245, -0.3965539336, -0.1574007124, 0.355376184, 0.4748676121, -0.7587569356, -0.3951234221, -0.8128656745, -0.3364055157, 0.4537831247, 0.2029696405, -0.0055852635, -0.2862890065, 0.6206902862, 0.0277563576, 0.2930347323, -0.3952141702, 0.1707122177, 0.112164095, -0.3229140341, -0.3867177665, -0.1396088451, -0.1373111755, -0.3325734735, 0.7226265669, -0.1787951291, 0.2120832354, 0.3363190889, -0.0128329173, -0.2170332968, 0.3972322345, 0.7326744199, 0.8176677823, -0.45806247, 0.2546902597, 0.4376785755, -0.1678093076, -0.0255811196, -0.0096912906, -0.2640105784, -0.1570092589, 0.5386990905, 0.601201117, 0.4872131348, -0.9539929628, 0.1526776552, -0.3077522814, -0.5474728346, -0.3020007908, 0.5553619862, 0.5115552545, 0.3062526286, 0.3310526013, -0.029863555, 0.3488667607, -0.9332531691, 0.248681888, 0.2648217678, 0.0377931483, -0.4365666509, 0.5593927503, -0.2399870008, -0.7182931304, 0.5113559365, -0.408028841, -0.5205138326, 0.536657393, 0.6689455509, 0.5857554078, -0.0786620155, 0.2879421711, 0.3816393614, 0.313675195, -0.6731675863, 0.5979170203, 0.0241472777, -0.9061689973, -0.5938007236, -0.5346564651, -0.6773647666, -0.1878171265, -0.4534729719, 0.2993855774, -0.4092148542, -0.1080162898, 0.1108692288, 0.0067307907, -0.5534814596, 0.4769086242, 0.2310761362, 0.9488239884, -0.8854168057, 0.9189761877, 0.6717709899, -0.334798187, -0.5432215929, 0.0316593945, 0.1281042248, -0.6275900006, 0.6534013748, -0.127954036, -0.0426104665, -0.0456718281, -0.8651809692, -1.0758042336, 0.8276963234, 0.1347610056, -0.6274021864, 0.1128315404, -0.0160177723, 0.5860440135, -0.2733094394, 0.2986171544, 0.5784397721, 0.4443747103, 0.2115947306, -0.8076717257, -0.1336103529, -0.0536788404, -0.096584484, 0.2082237601, -0.2144449353, 1.072368741, -0.6343669295, -0.2484127581, -0.0175407007, 0.8865876198, 0.217699185, 0.1474933624, 0.6476973891, 0.7770556808, 0.7463603616, -0.0430674255, 1.2142156363, 0.0318968259, 0.4601255357, 1.3002263308, -0.4408299327, 1.0902072191, 0.4894868731, -0.4520531893, 0.5841194987, 0.901204586, 0.1724512428, 0.5510601401, 0.5229161382, -0.2902413011, -0.4911724329, 0.0404900387, -0.0995766595, 0.1805392355, 0.4415867329, -0.2303602099, -0.1662026495, -0.2077883333, 0.1705076844, 0.1669169068, -0.2591204643, 0.8197057247, -0.0153521365, -0.843177557, 0.0941992551, 0.5125784874, 0.5745816827, -0.4451823533, -0.3083646894, 0.0501160026, 0.3750498891, -0.142715916, -0.971711874, 0.1580814123, -0.1335567683, 0.0794670358, -0.0093828402, 0.7164840698, -0.3129011989, -0.7678653598, 0.0820604935, 0.1778822094, 0.1569043696, 0.0362056978, -0.5822038054, -0.2242982537, -0.1133496016, -0.5232594609, 0.2246308476, 0.3180610836, -0.1263712496, 0.8495490551, 0.8204596043, 0.3446842432, 0.1927176416, 0.258013159, 0.6607941985, -0.8861767054, -0.4096697569, -0.942442894, 0.2534127235, -0.2629457414, -0.0179102067, 0.7474185228, 0.2662180066, 0.927970171, -0.0107286796, 0.8608652353, 0.0492036827, 0.6102798581, -0.7575131655, 0.3470772505, -0.3649123609, 0.0696473122, -0.1397029907, -0.6744043231, -0.3251639307, 1.0527595282, -0.4452544749, -0.0224061292, 0.5798080564, 0.9071994424, -0.0125667229, 0.3566726148, 0.0828934759, 0.4134722352, 0.419193089, 0.4718824923, 0.9066579342, -0.288369894, -0.3087325096, -0.5584796071, -0.256123513, -0.3179180026, -1.0117322206, -0.9695819616, -0.4945656955, -0.436645627, -0.3224444687, -0.000265637, 1.395591259, 0.4584892094, -0.7610583901, -0.5078511238, -0.2826824486, 0.1727913767, -0.3965284228, -0.2800770104, -0.0446939617, -0.4086432457, -0.5448617339, 0.4911668003, -0.0272813402, 0.0145026017, -0.2153240889, -0.1231819391, -0.6587849259, 0.5706825256, 0.4171839058, -0.0096606519, -0.8460168242, -0.5168747306, -0.1060439944, -0.1500082612, 0.039859049, 0.7461531758, -0.7506866455, 0.5059551597, 0.8331516385, 0.3353882432, 0.4494796693, -0.0232277326, 0.6875638962, -0.1794135571, -0.2235454321, 0.086248219, 0.4533983171, 0.3238246441, -0.0778453052, 0.598752737, 0.306414634, -0.4868525565, -0.9177007675, 0.183158204, -0.7833273411, -0.4258479774, 1.2559008598, -0.0443687364, -0.4420673549, 0.0098749716, -0.3038114607, 0.2479509115, -0.1728968024, 0.9731534123, 0.7836752534, -0.3172844648, -0.2205548882, -0.9998310804, 0.5735271573, -0.0020151832, -0.959402144, 0.0141654126, 0.2739650011, 0.5605986714, 0.0708030909, 0.5751206875, 0.210423097, 0.2871692181, 0.017812673, 0.3012875319, 0.3567456901, -0.1271844208, 0.097285755, -0.0664248541, 0.2676630318, 0.2929171026 ]
http://arxiv.org/abs/2402.06015v2
http://arxiv.org/pdf/2402.06015v2
Exploring Visual Culture Awareness in GPT-4V: A Comprehensive Probing
2024-02-08T19:25:40
2024-02-15T10:39:19
Yong Cao, Wenyan Li, Jiaang Li, Yifei Yuan, Antonia Karamolegkou, Daniel Hershcovich
cs.CL
cs.CL, cs.CV
Pretrained large Vision-Language models have drawn considerable interest in recent years due to their remarkable performance. Despite considerable efforts to assess these models from diverse perspectives, the extent of visual cultural awareness in the state-of-the-art GPT-4V model remains unexplored. To tackle this gap, we extensively probed GPT-4V using the MaRVL benchmark dataset, aiming to investigate its capabilities and limitations in visual understanding with a focus on cultural aspects. Specifically, we introduced three visual related tasks, i.e. caption classification, pairwise captioning, and culture tag selection, to systematically delve into fine-grained visual cultural evaluation. Experimental results indicate that GPT-4V excels at identifying cultural concepts but still exhibits weaker performance in low-resource languages, such as Tamil and Swahili. Notably, through human evaluation, GPT-4V proves to be more culturally relevant in image captioning tasks than the original MaRVL human annotations, suggesting a promising solution for future visual cultural benchmark construction.
[ -0.6938041449, -0.2470659763, 0.3623787463, 0.0758960173, -0.3971903622, 0.0116336709, -0.350397557, -0.634696126, -0.3552228212, 0.4267383218, -0.4625049233, -0.5714403391, -0.3987976313, 0.2166112661, 0.1654860079, 0.8870069981, -0.4906569421, 0.0543464459, -0.2427187115, -0.4287517667, -0.7359734774, -0.4714715183, -0.2428420931, -0.0296097584, 0.3050832152, 0.2555143237, 0.248638764, 0.4720092714, 0.8012592793, 0.2196351737, 0.2161863744, 0.062939778, -0.6484140158, -0.0733233616, 0.0065385685, -0.4740359485, -0.255811125, 0.4607661366, 0.5877972841, 0.1583526134, 0.0866569728, 0.5003899336, -0.1178799123, 0.6695249677, -0.7332253456, 0.6477892995, -0.4805229306, 0.2921345234, -0.4816407263, -0.1360266507, -0.1078886241, -0.045500353, 0.3324780464, -0.6182587743, 0.1730909795, -0.0453239977, 0.7805994153, 0.5190376043, -0.5795133114, 0.1961282939, -0.6660827994, 0.7021305561, -0.0332965665, 0.6274098754, 0.444014132, 0.5910507441, 0.4499456286, -0.8525187373, -0.5446234345, -0.0426979065, 0.1707083285, 0.5342274904, -0.2409951091, -0.158588022, 0.4319974184, 0.2919480205, -0.7252699733, -0.1462232471, -0.4903410077, -0.4628824294, 0.4172176421, 0.0441283621, 0.3395596147, -0.1234914809, -0.5362738967, -0.0315796919, -0.8205093145, 0.2588963509, 0.0195258576, -0.1253911704, -0.3096959293, 0.2752747834, -0.3797519207, 0.6716147065, -0.5292640924, 0.0810608491, 0.3615841866, -0.7472624183, -0.2585593462, -0.4244191051, 0.6449466348, 0.8828173876, 0.7258095741, 0.3184267581, -0.1153726503, 0.1208485216, 0.3193544149, -0.9035888314, -0.5291549563, -0.3433784246, -0.4415333271, -0.1885084957, -0.117466256, -0.5658174157, -0.5385748744, -0.0944381058, 0.3694593906, -0.3482238948, -0.3306120038, -0.2500154972, -0.1653518081, 0.757552743, 0.6660039425, -0.9012104869, -0.120648995, 0.4104452133, 0.7093175054, -0.2163311988, -0.2807244062, -0.2597048283, 0.0946082398, -0.5506086946, 0.5067379475, -0.5532002449, -0.2834052742, -0.1573581845, -0.1205417588, 0.1494436413, -0.286472857, 0.5960030556, -0.5934288502, 0.0550340451, -0.7805120349, 0.0114912763, -0.41427055, 0.7450252771, -0.6197804213, 0.6196491718, 0.1713446379, -0.9165697098, 0.8170390129, -0.4715161324, -0.0821844116, 0.5988241434, -0.7061403394, -0.3458038568, -0.061195679, 0.5039359331, 0.4981534183, -0.1606899798, -0.2366562486, -0.1528231204, -0.6364748478, 0.016869219, -0.5941804647, 0.3194056153, 0.3917017579, -0.3549093008, 0.1751515716, -0.2910805643, -0.2659309804, 0.2587832808, -0.0206608661, -0.424133867, -0.3019841909, -0.130957365, 0.1723604649, 0.3311887383, -0.3229011297, 0.2152657956, 0.0650743619, 0.4297489524, 0.6827884912, 0.0522114858, 0.4506731331, 0.0846106559, 0.7895318866, 0.1422338188, 0.4797033072, -0.2621282637, -0.6642127037, -0.4305679202, -0.2544286251, -0.0813425332, 0.3737234175, -1.2011256218, -0.5087673068, -0.2994385064, -0.384940654, -0.3208601475, 0.1461715698, 0.3759747148, 0.6060919762, 0.2243173867, -0.6463535428, -0.3135377169, -1.1071516275, -0.0560259409, -0.2497741729, 0.1961907446, 0.4884788692, 0.4889753461, -0.0740237385, 0.6803725958, -0.3868240416, -0.463237673, -0.1889811009, 0.1264218837, -0.0290426742, 0.2000083774, 0.6908760667, -1.0468400717, -0.4743938148, 0.2986040413, -0.8251069784, 0.0989180878, 0.2694835365, 0.0199596845, 0.341455847, 0.4394370019, -0.1259219646, 0.4919647872, 0.6345353723, -0.0840699598, 0.4995540977, -0.1911594123, 0.4696474373, -0.7153546214, -0.1157048345, 0.166669026, -0.1361121535, -0.5867983103, -0.0234875828, 0.5113912821, -0.1418220103, -0.4611515701, 0.2359036952, -0.6830689311, -0.400492698, -0.0573152341, -0.1334927529, -0.1338072121, 0.3967526257, 0.4474516213, 0.9823274612, 0.7469226122, -0.0273816232, 0.327961117, 0.1655998528, -0.4949291348, 0.7029912472, -0.3546494842, -0.0694578961, -0.0927512869, 0.3390032947, -0.8678142428, -0.2821414471, 0.3611494303, -0.2590329051, 0.1979489326, -0.7398967743, -0.2568896711, -0.5250555873, -0.2461243272, 0.8192946315, 0.7863613963, -0.2669301033, 0.4623906016, 0.233517319, -0.0172653608, -0.6249857545, -0.6084335446, 0.1641972065, -0.5845463872, -0.6431655884, -0.2201853842, 0.1162449643, -0.1262630522, -0.5351984501, -0.3255105913, 0.0360110663, 0.0590846688, 0.2853308916, 0.3605641723, -0.271941185, -0.0820172578, -0.6533560753, 0.1288847029, 0.1062297747, -0.3136488199, 0.3468161523, -0.9207968712, -0.4343056381, -0.457901895, -0.1233984604, 0.5596379042, -1.0208860636, 0.0514473766, 1.1298309565, -0.1829017848, 0.160305351, -0.7593619823, 0.0000326679, -0.4481467903, 0.4659324586, -0.6495921016, -0.9923315048, 0.47634238, 0.0481723584, -0.46676296, 0.2791374922, 0.5716465116, -0.2080396712, 0.6194282174, 0.6374793649, 0.0982795656, 0.3745732009, -0.273958683, -0.0675313622, -0.7528882623, -0.2739196122, -0.0627546236, -0.111957036, -1.0429334641, -0.9275214076, 0.5854613781, -0.2601327002, -0.1873563379, -0.034713272, -0.3995546699, 0.7013277411, 0.3422003388, -0.1398343742, 0.2428406328, -0.1200000644, 0.0725497007, -0.2891007662, -0.4018323421, -0.4212363362, 0.947674334, 0.4792501628, 0.6644968987, 0.1790079623, 0.5274786949, 0.0591876954, 0.3206747472, -0.5425177813, 0.3383894861, -0.0392218344, -0.4226513803, -0.1853663623, -0.3339155614, -0.5674362779, 0.3567106128, -0.0703396499, -0.681979537, 0.1791962981, 0.355130136, -0.2340735197, 0.1469480097, -0.8719474673, 1.3311296701, -0.3171578348, -0.4989594221, 0.0502790399, -0.9206120968, 0.6366736889, -0.3068140447, 0.2835052013, -0.1701694727, 0.0167264864, 0.4728923738, 0.0552556887, 0.7579162121, -0.1989484876, -0.0956124216, 0.1342743784, 0.0699732453, 0.3522076607, 0.0348852649, 0.5362516642, 0.3439792693, -0.1040443256, -0.427216053, -0.3864545822, 0.6671631336, -0.8982602954, -0.6144940257, -0.5565499067, -0.5974882841, -0.3149385154, 0.209436059, 0.0176158324, 0.3426991999, -0.1769470274, 0.1069191545, 0.5854193568, -0.2615419626, 0.4509469569, 0.4909969568, -0.2335576564, -0.067777589, 0.9042422771, 0.094026424, 0.1799503416, 0.1489316672, 0.1314860135, -0.2402148992, -0.8701642752, -0.7456486821, 0.034875799, -0.7945446372, 0.2258864939, -0.3275082111, 0.0972363502, -0.1727855355, -0.040438164, -0.4507912397, -0.028661171, 0.0367160402, 0.082342267, 0.297147423, 0.8980222344, 0.2094147056, -0.0598319508, -0.5734348893, 0.1412810683, 0.5535213351, 0.5647893548, -0.3356363773, -0.4754163027, -0.2436228245, -0.2659098506, -0.0772854239, -0.6543564796, 0.3226979375, -0.1088011935, 0.4480877817, 0.5695232153, -0.068977572, 0.6766490936, -0.6464011073, 0.9924836159, 0.0224213544, -0.6827332973, 0.4925953746, -0.6919132471, 0.4764685035, 0.4344465733, 0.4843858778, -0.5656750202, -0.1680550128, -0.3516691327, -0.5956964493, 0.4298070371, 0.3308524787, 0.0207675789, 0.1853773147, 0.055759348, 0.0066769784, 0.1562397629, -0.6905039549, 0.1576733589, -0.7199818492, 0.3051381409, -0.187429294, -0.0335215554, -0.233335644, -0.240086332, 0.1561411917, -0.2241506428, -0.0818689018, 0.0991689712, -0.310318023, 0.1417225152, 0.0652768165, 0.7932319045, 0.8222827911, -0.3404008746, 0.2423998564, 0.4167092443, -0.75513798, -0.0803838372, 0.0754429102, 0.0778684765, -0.576472342, 0.3538965881, 0.9379923344, -0.2112818807, -0.4568486214, 0.8257200122, -0.5085414052, -0.0225837715, -0.5700774789, -0.1476117671, 0.0225886926, 0.3116694093, 0.2483177781, 0.0915740803, 0.1340079755, -0.3943544924, 0.0843459889, 0.4721741974, -0.6740352511, -0.3236953318, 0.8049945831, 0.4181916118, 0.3507805765, 0.7302284837, -0.1746459603, -0.740740478, 0.4622450471, 0.1511756182, 0.4963332415, -0.0383889005, 0.1460344046, 0.182960704, 0.6644243598, 0.07428094, 0.385407865, -0.2946608663, -0.9237143993, -0.6936261654, -0.5709599257, -0.4095059633, -0.1134112477, -0.6559361219, 0.2633771002, -0.2522295415, 0.0519797765, -0.2538205087, -0.067964524, -1.0107060671, 0.3672687411, 0.6895854473, 0.5965332389, -1.2019280195, 0.9475612044, 0.8925703764, -0.7245152593, -0.8109546304, 0.0868285745, 0.2334867269, -1.0457578897, 0.9824693203, 0.5103778243, -0.100171186, 0.0194782522, -0.41150406, -0.7114886642, 1.332357049, -0.0485252813, -0.3291855156, 0.4598861039, 0.0649877787, 0.6437203288, -0.2633008957, 0.318588376, 0.6861354113, 0.6008216143, 0.2552060485, -0.898052156, 0.0186257157, -0.3318369985, 0.2443535328, 0.1326204091, -0.8476822376, 0.6057282686, -0.322671771, 0.0161991306, -0.2956050634, 0.7096124291, 0.1406234205, 0.3253515661, 0.5797819495, 0.3714066148, 0.597233057, -0.3921915889, 1.3419481516, 0.065188162, 0.0969866365, 0.7893509865, -0.4487416446, 0.6318279505, 0.4495662451, -0.1335068643, 0.0887582824, 0.8413776159, -0.3044258654, 0.4715426266, 0.3711261153, -0.2802262008, -0.3506032526, -0.1852067262, -0.4233541489, 1.0049115419, 0.174363628, -0.0798544809, 0.0192998108, 0.0969506949, -0.1638187468, -0.2130930871, -0.5238871574, 0.6643083692, -0.1909964532, -0.5868337154, 0.6272080541, -0.3913256228, 0.5851624608, -0.4980235398, -0.0912598819, -0.3083103001, -0.0840197206, 0.0959137008, -0.9061536193, 0.0570848025, 0.0836222917, 0.0895712301, -0.4475295842, 0.6751804948, -0.3515934348, -0.1796817929, -0.0967454985, 0.4483419359, 0.4417230189, -0.2973306477, -0.2746809721, 0.3851265013, 0.2967322171, -0.1598350555, 0.3302123547, 0.4692099392, -0.716296196, 0.5482679009, 0.3873034418, -0.1131597906, -0.043439012, 0.4145213664, 0.6196969151, -0.5438082814, -0.3837503493, -0.7916731238, 0.3990786076, -0.1028785557, -0.1827668399, 0.7675922513, 0.4914245307, 1.0411514044, -0.2946790755, 0.9871742129, 0.2030216455, -0.2788330913, -0.350399822, 0.9844831228, -0.5093161464, 0.0690968856, -0.4019475281, -0.8288373947, -0.3600307703, 0.5191420913, -0.5962423086, 0.1249345168, 0.6764962077, 0.499796778, 0.0362672992, 0.2868718505, 0.6331377029, 0.2846740782, 0.3979612589, 0.3524577618, 1.1904833317, 0.1454388797, 0.75778234, -0.3531262577, -0.3788635433, 0.1277545691, -1.1917670965, -0.8718116879, -0.7157946825, -0.2562537491, 0.1668661386, -0.0194344558, 0.5458225012, 0.5778207779, -0.4614403248, -0.0428868756, 0.3504049182, -0.3417751789, -0.0985595062, -0.1134985462, 0.3646835089, -0.0286547672, -0.6719425917, 0.2419372052, 0.492762804, 0.2348259389, -0.316886574, -0.0133152455, 0.1770371646, -0.4460764229, 0.6633343101, 0.2523991168, -0.8096346855, -0.4251818061, -0.0985024869, 0.1084437519, -0.0121932542, 0.6476545334, -0.6353412271, 0.8875610828, 0.4774652719, 0.58249861, 0.9496021867, 0.2420473993, 0.7561392188, -0.8383834958, 0.1244491264, 0.1201428324, 0.5139698982, 0.7173339725, 0.0219087899, 0.6300023198, 0.3763394654, -0.700074017, -0.4529936314, 0.3984154165, -1.1992194653, 0.1624770015, 1.0228714943, -0.207311362, -0.0586102493, 0.010377042, -0.3287168741, 0.1538966298, -0.1730761826, 0.3205543458, 0.7310464978, -0.0970461071, -0.4675470591, -1.0810557604, 0.5761874914, 0.1852394044, -0.5759733915, 0.0716333315, 0.7358369231, 0.5202774405, -0.0645231381, 0.6358789802, -0.1998519599, 0.4859349728, -0.2817436755, 0.4137015343, -0.2371537536, -0.0598757975, -0.3183462918, 0.0219678953, 0.1735743284, -0.3607965112 ]
http://arxiv.org/abs/2402.05935v2
http://arxiv.org/pdf/2402.05935v2
SPHINX-X: Scaling Data and Parameters for a Family of Multi-modal Large Language Models
2024-02-08T18:59:48
2024-06-26T07:59:03
Dongyang Liu, Renrui Zhang, Longtian Qiu, Siyuan Huang, Weifeng Lin, Shitian Zhao, Shijie Geng, Ziyi Lin, Peng Jin, Kaipeng Zhang, Wenqi Shao, Chao Xu, Conghui He, Junjun He, Hao Shao, Pan Lu, Hongsheng Li, Yu Qiao, Peng Gao
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
We propose SPHINX-X, an extensive Multimodality Large Language Model (MLLM) series developed upon SPHINX. To improve the architecture and training efficiency, we modify the SPHINX framework by removing redundant visual encoders, bypassing fully-padded sub-images with skip tokens, and simplifying multi-stage training into a one-stage all-in-one paradigm. To fully unleash the potential of MLLMs, we assemble a comprehensive multi-domain and multimodal dataset covering publicly available resources in language, vision, and vision-language tasks. We further enrich this collection with our curated OCR intensive and Set-of-Mark datasets, extending the diversity and generality. By training over different base LLMs including TinyLlama1.1B, InternLM2-7B, LLaMA2-13B, and Mixtral8x7B, we obtain a spectrum of MLLMs that vary in parameter size and multilingual capabilities. Comprehensive benchmarking reveals a strong correlation between the multi-modal performance with the data and parameter scales. Code and models are released at https://github.com/Alpha-VLLM/LLaMA2-Accessory
[ -0.5387020111, -0.3681058586, 0.2310729921, 0.0751741379, -0.2472066432, -0.2365357131, -0.4931456745, -0.5412801504, 0.2575431466, 0.5267968774, -0.5757683516, -0.346293956, -0.6428880692, 0.1859097183, -0.583065033, 1.0219767094, 0.0579753816, 0.3974534273, 0.1707999855, -0.5387501717, 0.2982077897, -0.5247188807, -0.495935142, 0.1685796529, 1.0376292467, 0.3378858268, 0.938579917, 0.9131246805, 0.4582622349, 0.2803256214, -0.0074769668, 0.1722043455, -0.3061900139, 0.2542283237, 0.0548421778, -0.3390998244, -0.5360369086, -0.102955088, 1.0578486919, 0.7806949615, -0.0754826367, 0.4076935649, -0.1713166386, 0.3940899968, -0.638145864, 0.2324815691, -0.514937222, -0.1789500117, -0.360195756, 0.1177157238, -0.372544229, 0.0410237126, 0.1649285257, -0.7676045299, -0.139432162, 0.270124495, 0.4895241261, 0.2214379162, -0.6321339607, -0.3463556468, -0.4470632076, 1.0247592926, -0.4921864867, 0.6811894178, 0.2392801195, 0.2488037497, 0.2045050114, -1.0744800568, -0.4555975795, -0.5521823764, 0.0102615841, -0.3429549932, -0.066772595, -0.1001737937, 0.3761012256, 0.4397761226, -0.5848739743, 0.1170238853, -0.2884550989, -0.1474205703, 0.4414992034, 0.4401691258, 0.3082934618, -0.0286461804, -0.3005675972, -0.2873368561, -0.6956123114, -0.056499429, 0.260109067, 0.3604471385, -0.1935720295, 0.7019965053, -0.1347164214, 0.7960960269, -0.0697780922, -0.3283851743, 0.250159651, -0.5755059123, -0.0633823127, -0.0752461553, 0.7523203492, 0.2428417355, 0.0429303609, -0.0858537629, -0.3170065284, -0.311252594, 0.1759975553, -1.0206793547, -0.1475467533, 0.049002517, -0.5914953351, -0.1439524442, -0.2238219678, -0.6654783487, -0.7144805789, -0.5364223719, 0.6809098125, -0.4214989245, -0.376858741, 0.2596004009, -0.1453797817, 0.1775739044, 0.6095246673, -1.0665575266, 0.2703588307, 0.354773581, 0.7483311296, -0.1046990007, -0.5840054154, -0.6646708846, 0.1116594225, -0.174050495, 0.3706314862, -0.7664088011, -0.2193562835, 0.1111448929, 0.0235156808, 0.0559893139, -0.3311398327, 0.6226906776, -0.5069845319, 0.1323494464, -0.1846612543, -0.2074217349, -0.1665458679, 0.373681128, -1.1356294155, 0.9786798954, 0.2817859054, -0.757773757, 0.4719698131, -0.6007559299, -0.3867964447, -0.1438402832, -0.1353619546, -0.3074035048, 0.2191419005, 0.2297279537, 0.3975065053, -0.601498127, -0.2461886704, -0.5308867693, -0.1183778942, 0.3837472498, -0.5059337616, 0.7336137295, 0.0185208581, -0.3209219575, 0.477180928, -1.1165888309, 0.1414718032, -0.0599696301, -0.5032483935, -0.3514075577, -0.0112165185, 0.6865717769, 0.4424600303, 0.4776493311, -0.5061583519, 0.3324230015, -0.1380842775, 0.5708812475, 0.5372092724, -0.6193865538, 0.5260126591, -0.1704319268, 0.3460997939, -0.0662472546, 0.5210980773, -0.4512863755, -0.3681366742, -0.981359005, -0.727606535, 0.295483321, 0.1263899952, -0.7840691805, 0.2059256881, -0.5595502853, -0.6611778736, -0.3942596018, 0.1545602083, 0.1926402301, 0.1244173273, 0.3163129687, -0.2572506666, -0.4590415955, -0.9550656676, 0.0584019497, -0.0530498475, -0.1812210828, 0.1845068485, 0.6023979187, -0.1928897947, 0.6130686998, -0.2174258232, -0.3915492594, -0.2336467206, 0.0367863998, -0.0341734439, 0.2556640208, 0.665025115, -0.8938333988, -0.4910905957, 0.1267231703, -0.4468951225, 0.2638859451, 0.049662672, 0.2592533827, 0.418966949, 0.2687915862, -0.6460377574, 0.0514370166, 0.8384491801, -0.284596771, 0.651874125, -0.4169300795, 0.2004339546, -1.0346879959, 0.1428308487, 0.1932006329, -0.0813381448, -0.8045170307, 0.393787533, 0.5099573731, 0.0981766433, -0.5031994581, 0.6056576967, -0.5845608115, -0.1470523179, -0.0147561645, 0.035099037, -0.0749806017, 0.5145062804, 0.162702322, 0.8152724504, 0.8623536229, -0.2952554822, 0.4328102469, -0.012491677, -0.5647892356, 0.4828658402, -0.5799722672, -0.1908024102, 0.0940564945, 0.2773316801, -0.9469977617, -0.2499585152, 0.1393784285, -0.1805138886, 0.4241020083, -0.0766570717, -0.9378494024, 0.0165897459, -0.6742716432, 0.5596009493, 0.3086560667, -0.6378304362, 0.9586740732, 0.3071523011, -0.1988390982, -0.4346930385, -0.3570279777, 0.3970469534, -0.2655692101, -0.7481151223, 0.1851841509, -0.1650873423, -0.3297878504, -0.2354668081, 0.1145773679, -0.2489807755, -0.0680913851, 0.2763453722, 0.3016158044, -0.4239939749, 0.1413616389, -0.117039606, -0.0476666056, 0.0409170985, -0.4287165403, 0.6341512799, -0.0429286696, -0.2890937924, -0.2620609403, 0.3835677803, 1.0539990664, -0.5526595712, 0.7009064555, 0.8864151239, -0.2577928305, 0.0603234917, -0.3593797982, -0.0452052653, -0.4467097521, 0.5682692528, -0.4428713024, -0.8744526505, 0.4202150702, 0.1135938615, 0.2757418156, 0.436098516, 0.897542417, 0.1912234277, 1.2973605394, 0.6378358603, -0.2918639779, 0.6120372415, -0.23696284, -0.2314416319, -0.903339684, -0.155524537, -0.6230136156, -0.2662147582, -0.4837161899, -0.6170096397, 0.469835043, -0.1692878902, -0.3009617031, 0.2427032888, -0.1607432216, 0.1389177442, 0.6485540271, 0.0053106276, 0.4407028258, 0.2455959469, 0.1064349264, -0.1119084209, -0.4943609238, -0.3608726561, 1.5471436977, 0.156791985, 1.2266938686, 0.3266467452, 0.2633631825, 0.1689479351, 0.2336232811, -0.8697946072, 0.3758113682, -0.1916826069, -0.7053006887, -0.6368064284, -0.259114176, -0.8566518426, 0.5571605563, -0.2154489458, -0.5773594379, 0.0652667135, -0.157003209, -0.1806065142, 0.4001560211, -0.3882713616, 0.6608181, -0.2672041953, -0.2501540482, -0.5257342458, -0.8192401528, 0.3710357547, -0.4095571935, 0.1196975708, 0.1364161223, -0.7183260322, 0.4962925613, -0.3764888048, 0.916223824, 0.1054862067, -0.5111702085, -0.1527270973, -0.0293407086, 0.4646549225, 0.1172083244, -0.2166904807, 0.310379535, 0.1390225142, -0.2907578051, -0.6318000555, 0.8067956567, -0.9462576509, -0.3860526085, -0.2744846642, -0.7305259109, -0.0700040758, 0.1419906616, 0.0154702961, 0.9965461493, -0.02102842, 0.4405005276, 0.7006576061, 0.077470094, 0.4240298867, 0.6525323391, -0.3207883537, -0.7197372317, 0.9826204777, 0.289475888, 0.4319981039, 0.523841083, -0.1470766068, -0.4686607718, -0.6107724309, -1.0561549664, 0.1561114192, -0.7335000038, 0.12622118, -0.5796146393, 0.0305146538, -0.3054353893, 0.1240499467, -0.2239684463, -0.7178875208, -0.4373623431, 0.5111200809, 0.3025461435, 0.7202982903, 0.065887928, 0.2205173969, -0.8593075871, 0.3317633569, 0.2034242451, 0.3058634996, 0.0174574535, -0.7707871199, -0.5184559822, -0.0349621736, -0.0442524999, -0.3886334002, 0.2800555229, 0.3970462084, 0.5048742294, 0.4921582043, -0.0024726808, 0.4874952137, -0.7009947896, 1.0001741648, 0.4353342056, -0.8263341784, 0.1379926652, -0.3432265818, 0.2474875301, 0.0482908189, 0.5232214928, -0.7347320318, -0.3108871281, -0.2581992447, -0.5957927704, 0.8524218798, 0.088074699, 0.2189464122, 0.2523910999, 0.2334924638, 0.3148746789, 0.0613387711, -0.6330548525, -0.4871524274, -0.3454740345, -0.308025986, -0.328298986, -0.3594397902, -0.3010820448, -0.3270994425, 0.4398202896, -0.3757162094, -0.2152012736, -0.1189837903, -0.5081515312, 0.0354036838, 0.1755552292, 1.0177186728, 0.740560472, 0.0645639151, 0.1597906202, 0.1149526909, -0.6570309401, 0.1200968623, 0.2752280235, 0.1720744818, -0.0685387477, 0.4591569602, 0.7596510053, 0.2766995728, -0.9232705832, 0.4694564044, -0.2103789598, -0.2087033093, -0.2783322632, 0.0555517115, -0.0857026204, 0.4145628512, 0.5032956004, -0.0896898061, 0.2393069267, -0.4255758226, 0.0415268168, 0.4308388233, -0.3789440095, -0.509980917, 0.5994235873, 0.1414601058, 0.0105113452, 0.442445755, 0.2350682169, -0.1558705121, 0.3619681001, 0.3418442011, 0.5641399026, -0.0255148914, 0.0937686563, 0.2899483144, 0.5175430775, -0.0144560738, 0.1781053096, -0.2138643712, -0.4280171096, -0.4069711864, -0.6634215713, -0.4899402857, 0.0884601548, -0.7006043792, 0.3649297655, -0.540813446, -0.1051081046, 0.1123575643, 0.1442249864, -0.4111916721, 0.1979593635, 0.2252817154, 1.2056566477, -0.3966924846, 1.2330054045, 0.8014250994, -0.6158306599, -0.5058589578, -0.1863518059, 0.1672229022, -0.8711955547, 0.9250007868, 0.009927175, -0.2047028542, 0.0572005883, -0.3475443721, -1.2513707876, 1.0911992788, 0.3407000899, -0.491253525, -0.1175148115, 0.2726170123, 0.4350251257, -0.3894279599, 0.2886755764, 0.4590960145, 0.596794188, -0.0670882612, -1.1229902506, 0.023361288, -0.1250656098, 0.1096289158, 0.4241002202, -0.5246831775, 1.1640349627, -0.2111029029, 0.006695237, 0.7233694196, 0.5136451721, -0.0670103803, -0.2823286653, 0.6076005101, 0.4910205305, 0.4961726069, 0.0294377469, 0.9874083996, -0.5663671494, 0.2567469478, 1.0032006502, -0.3069112599, 0.973941803, 0.5555283427, -0.0357758142, 0.3178712428, 0.6212766767, 0.0151529694, 0.3684011996, 0.082927011, -0.4591666758, -0.3950922787, -0.115339905, -0.4558301568, 0.3978879452, 0.5616663694, -0.5785189271, -0.4134917855, 0.2508768141, -0.2061014622, -0.4475268126, -0.4729711115, 0.5691244602, -0.2032609582, -0.1748707592, 0.7714018226, 0.0902412981, 0.7695127726, -0.9476459622, 0.1425267607, -0.1184870601, 0.1486198604, -0.0778564215, -0.8786859512, -0.1817318946, -0.2202224731, -0.3560387492, -0.1030201167, 0.4881643057, -0.5756849051, -0.5252633691, 0.2150163651, 0.3825992942, 0.1249789745, -0.2429428697, -0.5816241503, 0.4097883999, -0.1433144957, -0.333243221, 0.6256693602, 0.5369877815, -0.221513018, 0.7760754824, 0.5907042027, 0.0261022616, 0.3503492177, 0.3053525388, 1.1086013317, -0.6343411803, 0.0063370429, -0.7068903446, 0.5450174212, -0.1211603507, -0.5290976167, 0.8378051519, 0.6903018951, 0.7672581673, -0.1820618659, 0.5675902963, 0.0281223971, 0.1082462668, -0.4714624882, 0.7257829309, -0.9929113388, -0.0926850513, 0.0343870968, -0.7538629174, -0.5920136571, 0.2326377183, 0.0636565536, -0.0080168862, 0.5731121302, 0.9902682304, 0.0023878186, -0.0736528188, 0.6138498783, 0.040437948, 0.2811132371, 0.291787833, 0.9774814844, -0.304282546, 0.9167566895, -0.0285860356, -0.3042723238, -0.4506202638, -0.4092659652, -0.9653984308, -0.8943467736, -0.1342470795, -0.0905096605, -0.345879823, 0.9559006691, 0.7940523624, -0.4293763041, -0.344568193, 0.5330101252, -0.1863491535, -0.159083128, -0.0916021913, 0.2511308193, -0.5034074187, -0.8967954516, 0.1921199858, 0.6011782885, -0.0330732167, -0.992513299, -0.2574514747, 0.1381795704, 0.0294523407, 1.0251643658, 0.0495827086, -1.0787520409, -0.2787432671, 0.0870703906, -0.4328146875, 0.1243761703, 0.9456475377, -0.5680143237, 0.2334761024, 0.295863688, 0.4284109473, 0.3576181531, -0.7265825272, 0.35792014, -0.42928949, 0.1395752132, -0.1427881122, 0.6369984746, 0.1752087921, 0.1240368858, 0.3026330173, -0.0757172331, -0.294757545, -0.7304582596, 0.2685329616, -1.1783357859, -0.2818184793, 1.2040923834, -0.0936958268, -0.1764987409, -0.0877182707, -0.5611335039, -0.2252415866, -0.3299880922, 0.6263618469, 0.6551698446, 0.0891781598, -0.4162043631, -0.2862227261, 0.3372336328, 0.135369271, -0.7777884007, 0.2259148955, 0.7862840891, 0.368607223, 0.3890026212, 0.3360109031, -0.1606823802, 0.4064407945, 0.1793777645, 0.1139834449, 0.0529844835, -0.440721482, -0.5149831176, 0.4391489029, 0.2953334451, -0.0073978007 ]
http://arxiv.org/abs/2402.05932v2
http://arxiv.org/pdf/2402.05932v2
Driving Everywhere with Large Language Model Policy Adaptation
2024-02-08T18:59:03
2024-04-10T23:29:18
Boyi Li, Yue Wang, Jiageng Mao, Boris Ivanovic, Sushant Veer, Karen Leung, Marco Pavone
cs.RO
cs.RO, cs.AI, cs.CL
Adapting driving behavior to new environments, customs, and laws is a long-standing problem in autonomous driving, precluding the widespread deployment of autonomous vehicles (AVs). In this paper, we present LLaDA, a simple yet powerful tool that enables human drivers and autonomous vehicles alike to drive everywhere by adapting their tasks and motion plans to traffic rules in new locations. LLaDA achieves this by leveraging the impressive zero-shot generalizability of large language models (LLMs) in interpreting the traffic rules in the local driver handbook. Through an extensive user study, we show that LLaDA's instructions are useful in disambiguating in-the-wild unexpected situations. We also demonstrate LLaDA's ability to adapt AV motion planning policies in real-world datasets; LLaDA outperforms baseline planning approaches on all our metrics. Please check our website for more details: https://boyiliee.github.io/llada.
[ -0.2941249013, -0.8125939965, 1.0990459919, 0.3542313874, -0.2811252177, -0.2336279899, -0.164581269, -0.5302812457, 0.231749326, 0.4625835717, -0.5997986197, -0.4090967178, -0.1236971244, -0.1753893644, -0.5298369527, 0.7294398546, -0.270244956, -0.1916723251, -0.0543063544, -0.2418862432, -0.4853764474, -0.0581443943, -0.3147620261, 0.024240002, 0.6673147082, 0.5424987078, 0.7705695629, 0.5818183422, 0.4430209398, 0.2827157974, 0.1455628425, 0.2156425416, -0.2705507576, 0.2797428668, -0.5819892883, -0.0751177371, -0.483340919, -0.6371819377, 0.8573741317, 0.5086865425, -0.4206418693, -0.3302196562, -0.3801045418, 0.3100376725, -0.6412253976, -0.0374141075, -0.6715679169, -0.1723690778, -0.1519950628, -0.2173660845, 0.2618683875, -0.5283382535, 0.0176100824, -0.9069790244, -0.2474716753, 0.0667958483, 0.6024494767, 0.4818277955, -0.811044991, -0.3122776151, -1.2596795559, 0.5691994429, -0.3447609842, 0.3849386871, -0.1722015142, 0.696205318, -0.4965140224, -0.2315079272, -0.9763064981, -0.0106976451, 0.4346727729, 0.103647314, -0.3260715604, 0.1924198419, -0.1089467704, 0.0450064279, -0.323754251, 0.4651347995, -0.3152158558, -0.0114895357, 0.8934210539, 0.3956533074, 0.1431670636, 0.4041496515, -0.1197059974, -0.2516820729, -0.8518866301, -0.0138785262, 0.1508151442, 0.257765919, -0.2167900652, 0.3042423427, -0.4834682345, 0.7576941252, -0.3995421231, -0.1743081063, 0.3705956936, -0.1629867554, -0.5460476875, -0.1093881652, 0.687225759, 0.5511149764, 0.3378127515, -0.1820813268, -0.203807503, -0.2809123695, 0.1616028696, -0.4459798336, 0.1092568338, 0.235641256, 0.0838569179, -0.0708329082, -0.0677736327, -0.6889634728, -0.6083171964, -0.4556043744, 0.3615281582, 0.0375338681, -0.3440055251, 0.3212887049, 0.3192805648, 0.8316901922, 0.7534502149, -0.9050763249, 0.2621676624, 0.661380291, 0.8905507922, -0.1695426404, -0.6376098394, -0.5771769881, 0.3390021324, -0.5702547431, 1.1227170229, -0.1956938505, -0.491397053, 0.1654183269, 0.3479123116, 0.0805622637, -0.3529560864, 0.3733075261, -0.2098486722, -0.3212805986, -0.1139794663, -0.1048817262, -0.4546939135, 0.1431336105, -0.5581684113, 0.5890393257, 0.0575167313, 0.3192276061, 0.3852697313, -1.126706481, -1.0141499043, -0.0379005671, -0.0463075228, -0.332493782, 0.3363170028, 0.1378868222, 0.488268882, -0.258027941, 0.4033945203, -0.158338502, -0.2258529961, -0.0260756258, -0.4644957483, 0.7484480739, 0.072967805, 0.01265484, 0.6598317027, -0.5526975393, -0.3811165094, 0.1770054251, -0.3468256891, -0.0284164995, 0.1027246714, 0.2373234183, 0.0696561858, 0.0527469479, -0.4601270258, 0.5077613592, -0.39779374, 0.3048144579, 1.0107042789, 0.201658383, 0.6357781887, -0.4046644866, 0.6700521708, -0.0183896814, 0.2232907861, -0.1144478619, -0.5837479234, -0.6676502228, 0.1359725744, -0.1434340924, 0.6960900426, -0.5596126914, 0.1560726464, -0.4427069128, -0.5875478983, -0.5842189193, 0.1570537686, -0.033198446, 0.106804274, 0.119092077, -0.2202323079, -0.5102914572, -0.4853420258, 0.0081153614, -0.0266192257, -0.0846890658, 0.4224477112, 0.6547567844, -0.5131546855, 0.8884804249, -0.3439037502, -0.4328970611, -0.2884860933, -0.2060685307, -0.0686428994, 0.2852312922, 0.6885402203, -0.5370315909, -0.4652415514, 0.3634024262, -0.5698218346, 0.0034826386, -0.7096953988, -0.2728693485, 0.0496292077, 0.5822689533, -0.2800390124, 0.3552339375, 0.5492734313, -0.3595662713, 0.4456456006, -0.6045752764, -0.2859501541, -0.8141010404, -0.2175816596, 0.0540583096, -0.8086035848, -0.5525234938, 0.3231069446, -0.1981637925, 0.1706139296, -0.8537544012, 0.5916910172, -0.1688386649, -0.4993402064, -0.328328073, 0.092528984, -0.2533082962, 0.1787912995, -0.0093833571, 0.9703398943, 0.9776374102, -0.9428955317, 0.5678247213, 0.3029944003, -0.6906372309, 0.6272513866, -0.509530127, -0.1618530154, -0.4192513525, 0.3661099076, -0.6439063549, -0.6665548086, 0.1444257051, 0.1545041502, -0.1665552855, -0.0325390585, -0.4022778571, 0.2687881887, 0.0722869411, 0.1327366829, 0.5632570982, -0.5623939633, 0.856347084, 0.8458821774, 0.0732097402, 0.0530023277, -0.5096110106, 0.3887089789, -0.31761235, -0.2321147174, 0.4046593308, -0.3000105321, -0.6572136879, -0.2877947688, 0.1297326982, -0.1760771126, 0.5177207589, 0.4866820872, 0.091781795, -0.1214907318, -0.0013089463, 0.01413312, 0.0313494802, 0.0249279272, -0.0608742349, 0.4646677971, -0.0940596387, -0.1185852885, -0.5895598531, 0.1928913295, 0.7950579524, 0.0819062069, 0.4222312272, 0.1344665438, 0.0230401438, -0.1382572502, 0.0746620223, 0.2811354101, -0.5428829789, 0.61377877, -0.4187176824, -0.3901171684, 0.2127150446, -0.4713189006, 0.3933587968, 0.2547914982, 0.748416245, -0.52094239, 0.7315467, 0.9632928967, -0.0611518733, 0.6654807925, 0.1097551882, 0.032224685, -0.6003749371, -0.3179580867, -0.0866279975, -0.2876954377, -0.796789825, -0.4489963055, 0.4585051239, -0.4857123196, -0.4060910344, 0.1237765476, -0.1444461495, 0.9602899551, 0.4826895297, 0.0028280863, 0.2865058482, -0.189408049, 0.393537432, 0.3348659277, -0.4625439346, -0.0956280008, 1.0596935749, 0.16556108, 0.6070077419, 0.3522385061, 0.5240629911, 0.3120133877, 0.2367569655, -1.0079933405, 0.6519005299, 0.0927491114, -0.4366874397, -0.408046335, -0.4222618937, -1.1009119749, 0.2443119586, -0.2974672318, -0.5482417941, 0.2433405519, -0.0671982095, -0.6331023574, 0.4066455662, -0.2487024218, 0.7306063175, -0.6831154227, -0.1111699268, -0.1056721061, -0.4162796438, 0.1440054029, -0.2257582247, 0.6084266305, -0.5336859226, -0.0886886343, 0.451449126, -0.0954194441, 0.7773708105, -0.3335115016, -0.5028520823, 0.0967320651, 0.3762260675, 0.5001219511, -0.3038644791, 0.1089967862, 0.2644066215, -0.2720071971, -0.2529964447, -0.4814359546, 0.8369567394, -0.6970848441, -0.4735997021, -0.5551545024, -0.9560639262, -0.0121244732, 0.1962069124, -0.2501389682, 0.0394207127, -0.4054784477, -0.1027939767, 0.50670892, -0.3392731845, 0.5947312117, 0.6898254752, -0.5946810842, 0.0687503964, 1.1526321173, 0.0221283194, 0.3307118416, 0.2751613557, 0.1171116829, -0.3651189804, -0.6582189798, -0.5725722313, -0.0021150897, -0.9164349437, 0.064043723, -0.153330043, 0.075263992, -0.2912365794, -0.5797653794, -0.3939081132, -0.6355788708, -0.0987875909, -0.1475210339, 0.4617944658, 0.9786780477, -0.3889801204, 0.8015143275, -0.0525293276, 0.2918643653, 0.5244444609, 0.1227760762, -0.2469159365, -0.4967353642, 0.0503546633, -0.1624751389, -0.314237535, -0.5559390783, 0.5190021396, 0.3741157055, 0.3708205521, 0.2709218562, 0.0206265561, 0.8925414085, -0.6082299352, 0.4442393482, 0.0333688483, -0.6941080093, 0.4154410064, -0.3583949804, 0.4724453986, 0.5858950019, 0.0720922127, -0.5859235525, -0.1282508671, 0.0094130076, -1.0725297928, 0.1396244317, -0.0037162367, 0.4109365344, 0.3255776167, 0.2629011571, -0.003497561, 0.022920128, -0.7780041695, -0.0161725376, -0.0289965086, -0.1954897493, -0.1129890382, 0.1232776567, -0.1327513903, -0.4357754588, 0.6129214168, -0.1766068041, 0.1391356438, 0.0470863208, -0.2138640434, -0.008369972, 0.2897484004, 0.8972935677, 0.7053500414, -0.0965559781, -0.1426021159, 0.3588296473, -0.3255663216, 0.3103012443, -0.2591755688, -0.4170218408, -0.1534171551, -0.0304000191, 0.6941708922, 0.32119295, -0.936506927, 0.3629536629, -0.0125373853, -0.3047472239, -0.6515219212, 0.4978475273, -0.3461315334, 0.2171379328, 0.1542201042, 0.2120995671, -0.093341969, -0.855670929, -0.0636300147, 0.177690044, -0.5284450054, -0.28362903, 0.9610289335, 0.3902858496, -0.3465537131, 0.3249120712, -0.3749111891, -0.2659395635, 0.5689121485, 0.5054149032, 0.8768189549, -0.1321140379, 0.1480246037, 0.1046144813, 0.2556884587, -0.1658251584, 0.4607642293, -0.0253544133, -0.7603017688, -0.7064434886, -0.396472007, -0.7037075758, -0.2963139415, -0.3967906237, 0.0316161178, -0.7474677563, 0.4483807385, 0.0074858582, -0.410654664, -0.7280395031, 0.1404702961, 0.0985098779, 0.864272356, -0.8606315255, 1.0418258905, 0.7922050953, -0.2120703757, -0.1676538438, 0.2407290488, 0.3084803522, -1.1148602962, 0.161525473, 0.0118744262, -0.2243505865, 0.0200024676, -0.6738992929, -0.8902968168, 1.207447052, 0.3263937533, -0.9746516347, 0.0148193464, 0.2782766223, 0.1997647732, -0.3509004414, -0.1247498468, 1.0120407343, 0.5186526179, 0.2493032962, -1.0125221014, -0.0119776335, 0.3647853732, -0.1493281722, 0.099252142, -0.4539569914, 0.455501914, -0.3704537451, 0.0273894928, 0.1379827857, 0.5349814892, 0.2093319446, 0.1818258613, 0.6322435141, 0.3663904965, 0.9653038383, -0.0902099982, 1.3211299181, 0.0118594961, -0.0239632111, 1.2169332504, -0.6961350441, 0.7250552177, 0.3789779544, -0.0329583474, 0.6913187504, 0.3144730031, 0.0229715519, 0.9584919214, -0.0954436362, -0.3856970668, -0.4379276931, -0.322463274, 0.0749428123, 0.7688214183, 0.2737149298, 0.2186687142, -0.3378485441, 0.3087798953, 0.0728983209, -0.0698400438, -0.7192692757, 0.9327166677, -0.2221006006, -0.4340015352, 0.2661353648, 0.106789276, 0.4504378736, -0.4682323635, -0.0426922217, -0.2237842828, 0.2549650669, -0.0802658945, -1.0145031214, 0.4774624705, -0.0758345574, 0.058325626, -0.2557410598, 0.1912724674, -0.0611208975, -0.5641707778, 0.0419096015, 0.2516000271, 0.4334545732, -0.0614216849, -0.410069555, 0.2612282932, 0.2214608938, 0.1347859353, 0.3623316586, 0.3832838535, -0.1950985938, 0.938863337, 0.7176129818, 0.2614593804, -0.048871018, -0.1544712335, 0.8146229386, -0.9777598977, -0.6320567727, -0.8255104423, 0.5672379732, 0.1709867865, -0.5304660201, 0.7616381645, 0.3498474658, 0.6976929307, 0.3775958121, 1.0013144016, 0.04384204, 0.0248684678, -0.5590898991, 0.2924118638, -0.804069221, 0.2905706167, 0.0482192151, -0.8762733936, -0.5829382539, 1.0513386726, -0.4314931631, -0.4432120919, -0.0233978685, 0.7099220157, -0.3511269391, -0.3613230586, 0.5315676332, 0.4786280096, 0.6282420754, 0.56518507, 0.6034038663, -0.3486092091, 0.5587759018, -0.0412956178, -0.0308452044, -0.2800071239, -1.0087919235, -0.3654600084, -0.3541538417, -0.2837396562, -0.0551592931, 0.1706454754, 0.9144971371, 0.8764380217, -0.7366855741, -0.3105345666, -0.4513944983, 0.3434246778, -0.1449225694, -0.1187467873, -0.0284105819, 0.084836781, -0.7583765984, 1.0810598135, 0.2685032785, 0.46863994, -0.3806930184, -0.4484746754, 0.0886774808, 0.1403829455, 0.4290022254, 0.6321584582, -0.4696808457, -0.1230295002, -0.4436950982, 0.2812878489, 0.1844144762, 0.6471249461, -0.6804141402, 0.535783112, 0.0660533458, 0.2456227094, 0.403088212, -0.1335271746, 0.8876562715, -0.5645709634, 0.5331701636, 0.0887750909, 0.4677159488, 0.232703656, -0.0553437136, 0.478847146, -0.2354544401, -0.860911727, -0.7528044581, 0.4937340319, -0.9263032079, -0.4461303949, 1.2735387087, 0.2254186571, -0.5215663314, -0.4040526152, -0.2595749199, -0.2565122843, -0.4912562668, 0.8194755316, -0.0316521153, 0.1231407076, -0.2253562808, -1.0303982496, 0.2526803315, -0.0185317863, -1.0439777374, 0.1628161669, 0.5997295976, 0.308879137, -0.2574732006, 0.5525986552, 0.4021085799, 0.4325541854, -0.2378192246, 0.0507990047, 0.0408053063, -0.5407027006, -0.6699290872, -0.2709296644, 0.0031746281, -0.1448401958 ]
http://arxiv.org/abs/2402.05930v1
http://arxiv.org/pdf/2402.05930v1
WebLINX: Real-World Website Navigation with Multi-Turn Dialogue
2024-02-08T18:58:02
2024-02-08T18:58:02
Xing Han Lù, Zdeněk Kasner, Siva Reddy
cs.CL
cs.CL, cs.CV, cs.LG
We propose the problem of conversational web navigation, where a digital agent controls a web browser and follows user instructions to solve real-world tasks in a multi-turn dialogue fashion. To support this problem, we introduce WEBLINX - a large-scale benchmark of 100K interactions across 2300 expert demonstrations of conversational web navigation. Our benchmark covers a broad range of patterns on over 150 real-world websites and can be used to train and evaluate agents in diverse scenarios. Due to the magnitude of information present, Large Language Models (LLMs) cannot process entire web pages in real-time. To solve this bottleneck, we design a retrieval-inspired model that efficiently prunes HTML pages by ranking relevant elements. We use the selected elements, along with screenshots and action history, to assess a variety of models for their ability to replicate human behavior when navigating the web. Our experiments span from small text-only to proprietary multimodal LLMs. We find that smaller finetuned decoders surpass the best zero-shot LLMs (including GPT-4V), but also larger finetuned multimodal models which were explicitly pretrained on screenshots. However, all finetuned models struggle to generalize to unseen websites. Our findings highlight the need for large multimodal models that can generalize to novel settings. Our code, data and models are available for research: https://mcgill-nlp.github.io/weblinx
[ -0.5145231485, -0.7279604077, 0.6757488251, 0.0926103368, -0.1237734258, 0.0769254342, -0.2914300561, -0.5490567088, -0.0437256135, 0.1703249663, -0.7439492345, -0.441583395, -0.2126872391, -0.0359506123, -0.6423360109, 0.6107521653, 0.339297682, 0.1271434575, -0.2539018691, 0.0658347532, 0.1103184372, -0.5161015391, -0.7256140113, -0.2645826638, 0.6858337522, 0.2744390965, 0.69899863, 0.3378174603, 0.4892778695, 0.3135376573, 0.0477838516, 0.2511465549, -0.7009584308, 0.1215238348, -0.2063297182, -0.3929343522, -0.4360976815, 0.0292404182, 0.4315240383, 0.6276289225, -0.2841930985, -0.0389891416, -0.0343962163, 0.2763153613, -0.6283942461, -0.0541795939, -0.3124936819, -0.0672263578, 0.2299963087, -0.1198725551, -0.5831493139, -0.4396995604, 0.3656754792, -0.9217562079, 0.1809478551, 0.0189995635, 0.7498574853, -0.0153398598, -0.6311728954, -0.037795309, -0.8074497581, 0.854160428, -0.7489891648, 0.9050888419, 0.3227756917, 0.3245982826, -0.1333295703, -0.9095000625, -0.7553707957, -0.2079482824, 0.1844172031, 0.0964612141, -0.3804495037, 0.1057400852, 0.205739364, -0.176863879, -0.8127037883, 0.0680075437, -0.049475532, -0.3158253133, 0.3902442455, 0.1460467577, 0.3104029298, 0.1236795783, -0.3338220417, -0.5168967843, -0.4467394948, 0.0909513384, 0.173229605, 0.3658207357, -0.0341621265, 0.1252979636, -0.4199024439, 0.832444787, -0.010644, -0.2967948914, 0.1195901483, -0.4498652518, 0.1413870752, -0.3039016724, 0.5522034764, 0.9434383512, 0.4332765043, -0.2090439945, -0.2746807039, 0.1645119488, 0.5682733655, -0.7659661174, -0.1864720732, 0.2875624001, -0.4484087527, 0.0008994858, 0.2266905606, -0.8207640648, -0.349722147, -0.3498601615, 0.3957605958, -0.3269295692, -0.3736660182, 0.131049782, -0.2770688832, 0.4897296727, 0.5724726915, -0.5236162543, 0.3996041715, 0.7108387947, 0.6472272277, -0.299143523, -0.2731097341, -0.7476648688, -0.05231167, -0.1618974954, 0.7430294752, -0.7721562982, -0.2862528861, 0.3987420201, -0.014750557, 0.1199615225, -0.3793919384, 0.349408567, -0.5497983098, -0.0933013633, 0.0455605686, -0.2593865097, -0.3204326034, 0.6808065772, -0.6511192918, 0.4019721448, -0.4018004835, -0.1841823459, 0.0112657342, -0.4293051362, -0.4333321452, -0.0784348622, 0.1462770551, -0.1558738351, -0.0384961702, 0.0514115319, 0.3402949572, -0.2053165436, -0.0655802339, -0.3211592436, -0.2646866143, 0.439142704, -0.5754309893, 0.1791613698, 0.2264483124, -0.2294642776, -0.0671802834, -0.7090811729, 0.3046578765, 0.0295175854, -0.5428624749, -0.3055124283, 0.0901511014, 0.4007216692, 0.2881643176, 0.1963581145, -0.5121552348, 0.4057524204, 0.0374494642, 0.3834712505, 0.5225716233, -0.035803318, 0.3913088143, -0.3773466945, 0.5576656461, -0.1033256426, 0.4660277367, -0.3282801807, -0.4753510356, -1.0584175587, 0.2205573022, 0.2404367328, 0.4357051551, -0.7614061832, -0.3102309108, -0.5251022577, -0.3879407644, -0.1913630813, -0.0571932644, 0.7068296671, -0.0018606377, 0.5596761107, -0.2991730273, -0.182547316, -0.7772352695, -0.2379387319, -0.0801129639, -0.1665406376, 0.3477793336, 0.2082087845, -0.5576679707, 0.7297219634, -0.5720126033, -0.0576328337, -0.1981058866, 0.5017549992, -0.2355145663, 0.3123131394, 0.0001059294, -1.0885550976, -0.4983618259, -0.0071549453, -0.6308016777, 0.0428108908, -0.3427999318, 0.0678365007, 0.028293509, 0.4730244279, -0.6299497485, 0.2242194116, 0.4619722664, -0.1361975372, 0.3972975612, -0.0494992994, 0.2125260085, -0.7322209477, -0.0354075506, 0.5513373613, -0.5741456747, -0.8132132888, 0.5874853134, 0.22011967, -0.1901583672, -0.5916827917, 0.5816251636, -0.4602261186, -0.1006718576, -0.0482933, 0.514002502, 0.0884578377, 0.7664567828, -0.0444424003, 0.7901466489, 0.04463882, -0.9121900201, 0.4711358249, 0.2651676238, 0.0336669795, 0.6272895932, -0.2817677259, 0.2284876257, 0.1256424487, 0.3849255443, -0.8785922527, -0.0843010619, -0.2485515624, -0.4184243083, 0.0283659101, -0.2170701772, -0.3311339021, -0.261905998, -0.3731057048, 0.1943681985, 0.3579421341, -0.4063649774, 0.6328610182, 0.2797708511, -0.2159838378, -0.2545757294, -0.4174001813, 0.4305607677, 0.0585723408, -0.586119771, 0.4322840869, -0.3605521917, -0.5742177963, -0.385591656, -0.0984511822, -0.2814171314, -0.013226252, 0.0432372689, 0.0144653479, -0.0861815587, 0.0975182876, -0.2991400957, -0.0957901329, -0.0483308621, -0.4750618935, 0.6914663315, -0.2143952399, -0.5451714396, -0.7687847018, 0.4515348971, 0.6160425544, -0.1190526411, 0.0817882493, 0.4867818654, -0.2220323831, 0.0339818969, -0.7836464047, -0.482114017, -0.4899538159, 0.1824213117, -0.3587955832, -0.6124943495, 0.4313291013, -0.4310932755, 0.2087095976, 0.060964603, 0.1759264022, -0.3869419992, 1.2244906425, 0.6331506371, 0.1569916457, 0.491972506, -0.3671212196, -0.0160135292, -0.5063368678, -0.1887179613, -0.3558042049, -0.4801376164, -0.6409081817, -0.3694726229, 0.48825863, -0.163910985, 0.0306622609, 0.3285215497, -0.174248144, 0.3071036041, 0.8113514185, 0.2658221424, 0.5508065224, -0.0145185646, -0.4385150075, 0.1420376003, -0.6356936693, -0.4172652364, 1.0287637711, 0.0589133613, 1.088095665, 0.5020338893, 0.4716699123, 0.5432753563, -0.1146988273, -0.7923441529, 0.8235332966, -0.061214149, -0.4922301769, -0.4033154249, -0.2395125628, -1.1874917746, 0.2770867944, -0.31907776, -0.5373107195, 0.069377616, 0.2368820906, -0.546982348, 0.1445095092, -0.6954420209, 0.7717288733, -0.2678243518, -0.8501293659, -0.7275471091, -0.6186219454, -0.0646878779, 0.3048422039, 0.3325307071, 0.2337960154, 0.1153900176, 0.2732384205, -0.1925242394, 0.9336314797, -0.0758041143, -0.0788615793, 0.103866294, 0.3146899641, 0.6563763618, -0.1906268001, 0.320466131, -0.0101184584, -0.0189952031, -0.2879676223, -0.5726667643, 0.8465783, -0.7320055366, -0.5599700212, -0.4579883814, 0.0035240657, -0.5058238506, 0.05769898, -0.0993253514, 0.9934651852, -0.3615630269, 0.2728529274, 0.7985670567, -0.1142202318, 0.8284243345, 0.7434975505, -0.3611277044, -0.0610749647, 1.1775656939, -0.1341252774, 0.3681223094, 0.6294255853, -0.0082961256, -0.4044755101, -0.5013727546, -0.5461760163, 0.0911454409, -0.7403507829, -0.1418437064, -0.5148893595, -0.1605096906, -0.2277285606, -0.0524278022, -0.343164742, -0.5100836754, -0.2866437137, 0.0807285383, 0.0130788758, 0.8313427567, 0.0141842123, 0.3550776541, -0.966175437, 0.3829085529, 0.8384456038, 0.338367939, 0.2105364799, -0.2668270171, -0.2338487655, 0.1830887496, -0.5299993157, -0.598228693, 0.4322866499, 0.1000954062, 0.7570531964, 0.5737573504, 0.0465484783, 0.6929754019, -0.4861036241, 0.7341852784, 0.3301050663, -0.6320607066, 0.2651524544, -0.5877748728, 0.7219805717, 0.3885555863, 0.6542326212, -0.8963580132, -0.1222146749, -0.3464949727, -0.6312556267, 0.4184523821, 0.0477136187, 0.1070329174, 0.0822332799, 0.2135117799, -0.1277028769, 0.1088263169, -0.6963088512, 0.0961505622, -0.305367589, -0.0811286345, 0.0200818013, -0.255854696, -0.1259920299, 0.0705884248, 0.5241596103, -0.4357678592, 0.2578303516, 0.1628865004, -0.6465133429, 0.0585855469, 0.3202856481, 0.876721561, 0.9532153606, -0.159845978, 0.3234011233, 0.054459475, -0.4907949567, 0.1180928126, 0.0953785479, -0.0999577194, -0.2444331199, 0.2837956846, 0.5455322862, 0.5047638416, -0.8959476352, 0.4582138658, -0.32324633, 0.0666816458, -0.3889326751, 0.076043956, 0.0754902512, 0.406372726, 0.7834919691, -0.2399049252, 0.3401576579, -0.7182615399, 0.2903694808, 0.495745331, -0.5439507961, -0.4477607608, 0.5199463964, 0.834751606, -0.7212622762, 0.6877556443, -0.297010392, -0.4139186442, 0.2497482747, 0.3254894912, 0.7807232141, -0.0891473889, 0.3239810765, 0.3916924298, 0.0764947385, -0.151443243, 0.08364328, 0.0104447864, -0.620292902, -0.3526909351, -0.5648159385, -0.7254245877, 0.0417175926, -0.5757918358, -0.0730305314, -0.4115783572, -0.4715809524, -0.0419881307, -0.0955334306, -0.5497250557, 0.254919678, 0.341455996, 0.7066779137, -0.3673044443, 0.6792751551, 0.5623649955, -0.3266108036, -0.1773283929, 0.2441710979, 0.3593920469, -0.4834921956, 0.3461423516, 0.2573370934, -0.4687445164, 0.3004145324, -0.5843753815, -0.562826097, 0.9673184752, -0.109927766, -0.9184301496, -0.1722034812, 0.1277842373, 0.3810126185, -0.0791574791, 0.3845373094, 0.2483183444, 0.4532616138, -0.0822146907, -1.2106543779, -0.1684737206, -0.2526242733, -0.1336189061, 0.0220516082, -0.9046976566, 0.8161637187, 0.012946832, -0.0930877253, 0.0168045927, 0.1462066919, -0.0208494477, 0.1691452563, 0.6895727515, 0.5424131751, 0.4907515645, -0.0558239967, 0.9181604981, -0.2843552232, 0.1496908516, 0.7998963594, -0.1747129261, 1.1112823486, 0.4188444614, -0.1196229756, 0.5785278082, 0.3688711226, 0.3280685544, 0.4605936408, 0.038083408, -0.4590422511, -0.7845070958, -0.1492520571, -0.0225058533, 0.5904934406, 0.3015785217, 0.1100293472, -0.3291525245, 0.1723870188, -0.0009029902, 0.2765489817, -0.2765448391, 1.0399110317, 0.0347983129, -0.8640471697, 0.6195195317, 0.1281310767, 0.6883603334, -0.8656902313, -0.2840557396, -0.4568763971, 0.3277927637, 0.0822614655, -0.5720542669, -0.2943218946, -0.0646248385, -0.0898471177, -0.4609930813, 0.5418253541, -0.2168708146, -0.3007351458, 0.3862045109, 0.5686593056, 0.1603260189, -0.2680536211, -0.5118515491, 0.2685020566, 0.1948382854, -0.2462966144, 0.6020130515, 0.0256429352, -0.1672258824, 1.2351455688, 0.8219638467, -0.4018259048, 0.253128916, 0.133033514, 0.931509614, -0.8873859048, -0.4185381234, -0.5726305842, 0.3429678977, -0.2437263876, -0.2222376019, 0.6059576869, 0.7194701433, 0.7263063192, 0.1008915156, 0.8166460991, 0.4615690708, 0.30203107, -0.5890873671, 0.551594913, -0.5594545603, -0.1442524344, -0.1125709414, -0.8996078968, -0.0945944786, 0.755386889, 0.1705123186, -0.095766075, 0.4923473299, 0.7332494855, -0.2522802353, -0.0045706918, 0.5720894337, 0.1856371015, 0.4624432027, 0.4738666117, 0.8567512631, -0.1665517986, 1.0646929741, -0.0077264742, -0.1823778301, -0.6452342868, -0.7472445369, -0.6080231667, -0.6200854182, -0.115698792, -0.177435264, 0.3263922036, 1.0217853785, 1.064109683, -0.6358605027, -0.5205889344, 0.0835661814, -0.0593377873, -0.3048800528, -0.1525985748, -0.3425534666, -0.2714815438, -0.9739668369, 0.5125229359, 0.1482186019, 0.1585139185, -0.6168559194, -0.1332291812, -0.7374736071, 0.1458508372, 0.6877891421, 0.3037611842, -0.8813457489, -0.3520013988, 0.3104307652, -0.1887815893, 0.1118270159, 0.7411983609, -0.8579284549, 0.6803439856, 0.3201482594, 0.4194477797, 1.0005860329, 0.1687151194, 0.6452255249, -0.5369080305, -0.0043775751, 0.1974137127, 0.1053316593, 0.4513535202, 0.1329619586, 0.4553290606, 0.2061342895, -0.3033775091, -0.4730418026, 0.2617568374, -1.0153294802, -0.5007175803, 1.3223487139, -0.1747446209, 0.1064679623, -0.2514514625, -0.0231011622, 0.0034737911, -0.5811483264, 0.658428669, 0.6828863025, -0.1234306097, -0.3454128206, -0.8199118972, 0.359706074, 0.0033731414, -0.6147209406, -0.0033030289, 0.7862529159, 0.1419297904, 0.435530901, 0.4182348549, 0.5720613003, 0.2682149112, 0.0502220392, 0.1967692375, 0.0384503491, -0.5767551064, -0.1387131512, 0.1253445596, -0.06354893, -0.0579144806 ]
http://arxiv.org/abs/2402.05926v3
http://arxiv.org/pdf/2402.05926v3
On the Convergence of Zeroth-Order Federated Tuning for Large Language Models
2024-02-08T18:56:40
2024-06-17T16:00:59
Zhenqing Ling, Daoyuan Chen, Liuyi Yao, Yaliang Li, Ying Shen
cs.LG
cs.LG, cs.CL
The confluence of Federated Learning (FL) and Large Language Models (LLMs) is ushering in a new era in privacy-preserving natural language processing. However, the intensive memory requirements for fine-tuning LLMs pose significant challenges, especially when deploying on clients with limited computational resources. To circumvent this, we explore the novel integration of Memory-efficient Zeroth-Order Optimization within a federated setting, a synergy we term as FedMeZO. Our study is the first to examine the theoretical underpinnings of FedMeZO in the context of LLMs, tackling key questions regarding the influence of large parameter spaces on optimization behavior, the establishment of convergence properties, and the identification of critical parameters for convergence to inform personalized federated strategies. Our extensive empirical evidence supports the theory, showing that FedMeZO not only converges faster than traditional first-order methods such as FedAvg but also significantly reduces GPU memory usage during training to levels comparable to those during inference. Moreover, the proposed personalized FL strategy that is built upon the theoretical insights to customize the client-wise learning rate can effectively accelerate loss reduction. We hope our work can help to bridge theoretical and practical aspects of federated fine-tuning for LLMs, thereby stimulating further advancements and research in this area.
[ -0.7232849598, -0.7636546493, 0.5985331535, 0.1533149928, -0.0571421385, 0.0244224574, -0.6947851777, -0.3800207376, 0.0553012639, 0.6212149858, -0.7924300432, -0.6227301359, -0.2814439237, 0.062836647, -0.1045887545, 0.9341461658, 0.1940934211, 0.0726277381, -0.1935333014, -0.4913780987, -0.2019321918, -0.2457075417, -0.4406889677, -0.4105383754, 0.6333682537, 0.5284970999, 0.646741569, 0.8443197608, 0.3335843682, 0.3535546362, 0.2130620629, 0.1243524924, -0.8455969691, 0.2292318195, -0.3769313693, -0.6067687869, -0.4662807584, 0.1036319956, 0.7184557319, 0.8748574257, -0.5347308517, 0.1598494202, -0.2505456805, 0.5637910366, -0.9443676472, 0.1076980382, -0.4235916734, 0.3084510565, -0.2350296229, -0.4568791986, -0.563765645, -0.3892798126, 0.0914785415, -0.4300836325, 0.3574826419, 0.0804425403, 0.5875657201, 0.1297133267, 0.1334190071, 0.1271758527, -0.9478773475, 0.8362022638, -0.8559175134, 0.586578548, 0.0317419693, 0.352520287, -0.2578840852, -0.4234465361, -0.5213952065, 0.2874649763, 0.1043868512, -0.1150718927, -0.3257049024, 0.3786138296, 0.1342865527, 0.6265198588, -0.3304854333, 0.536272347, 0.024839744, -0.1682197005, 0.6647993326, 0.3569771051, 0.0059725377, 0.6088525653, -0.4568484724, -0.1031069756, -0.5180994272, -0.0352386124, 0.355571717, 0.59378618, -0.0376484469, 0.1400546432, -0.5869632363, 0.6959874034, 0.3201039732, -0.3942604065, 0.2407045066, -0.0913614258, -0.4013059437, 0.1081081256, 0.9133788943, 0.1521571577, 0.1340220273, -0.6264398694, -0.2588612139, -0.1474738717, 0.1707654446, -1.0521560907, 0.1357199997, 0.1106397361, -0.1134920344, -0.2708150744, 0.0468045436, -0.7673683763, -0.1388207525, -0.2206209749, 0.2754212022, -0.2396195829, -0.1208168194, 0.2249896675, 0.2198781669, 0.2327439636, 0.3166445494, -1.2761240005, 0.6812336445, 1.2137116194, 0.7908228636, 0.2044298202, -0.5297546387, -0.8190173507, -0.0004790741, -0.1950381398, 0.4440325499, -0.5322332978, -0.2303555608, 0.0804754868, 0.0031662863, -0.1406405866, -0.2555771172, 0.2012298107, -0.7773038149, 0.4624934196, -0.3164953589, -0.7653616667, -0.3349592686, 0.1513518989, -0.3189035058, 0.2447214723, 0.1721010506, -0.5269780159, 0.1333722621, -0.4238116443, -0.5020396113, 0.2135188878, -0.2380230278, -0.5297637582, 0.3747448921, -0.1604992002, 0.6898847222, -0.4564657509, 0.0617204159, -0.6976753473, -0.5526050329, -0.0905962288, -0.0463260859, 0.6247450709, 0.238257587, -0.5878250003, -0.01474432, -0.5462386608, 0.2915146351, 0.2121652365, -0.1521755755, -0.4198037982, -0.0474404916, -0.2884940803, -0.1394224018, 0.2821364105, -0.7377012968, 0.1038049087, -0.8208636642, 0.5426231027, 0.6999183893, -0.1319296658, 0.7291432619, -0.1289478242, 0.4444102943, -0.3004431427, 0.302223146, -0.178059876, -0.2163106799, -0.5084939599, -0.149232775, 0.094921574, 0.267965585, -0.2575986385, 0.3764282763, -0.4360472858, -0.3059293628, -0.2645803094, 0.2920025885, 0.5033838749, 0.4823000729, 0.0913430974, -0.260756582, -0.0393686183, -0.932569325, 0.0795614794, 0.1915922463, 0.0410111547, 0.5788593292, 0.0239069536, -0.2041828483, 0.9472011924, -0.557534337, -0.2601385117, -0.0728193298, -0.1333915442, 0.3205686212, 0.3573195636, 0.848192811, -0.5062945485, -0.4322701395, 0.350407064, -0.411272943, -0.1080854684, 0.1312274635, -0.1448431909, 0.2259623408, 0.0034912343, -0.4982029498, -0.06624116, 0.6370120645, -0.3153477907, 0.3278739154, -0.5226946473, -0.123627834, -0.9917557836, -0.160067305, -0.2071130574, -0.2346019745, -0.7138344646, 0.3681773543, -0.0805730075, -0.1395545602, 0.0322022922, 0.3846278191, -0.4969888926, -0.2133944035, -0.4879307747, 0.1199075505, -0.0746429339, 0.6193447709, -0.4345355332, 0.7450605631, 0.3825361431, -0.3672077656, 0.2249200344, 0.2548164129, 0.0770759284, 0.6095020771, -0.3443598449, 0.1691650897, 0.0691808611, -0.0478367321, -0.6700063348, -0.1911915243, 0.1604981869, -0.2179846913, 0.5160769224, 0.1903064996, -0.6955928206, -0.1696667075, -0.3117999136, 0.2244706303, 0.3600133061, -0.7049541473, 0.3908160627, 0.29721573, 0.1409551352, -0.6070728898, -0.5462459922, -0.060363166, -0.1236738786, -0.638325572, 0.3273558915, -0.0100501319, -0.187195152, -0.0760298595, -0.0377225652, 0.0361449122, 0.3736984134, 0.2000678778, -0.0504779816, -0.6171613336, -0.006728536, 0.2054239661, -0.0795083642, 0.0082438169, -0.528082788, 0.6600055099, -0.5356379747, -0.0727155954, -0.3514818549, 0.319974333, 0.6101115942, -0.3509214818, 1.1171909571, 0.7188352942, -0.0861577913, -0.6680889726, -0.8440832496, -0.2679346502, -0.5469226837, 0.0297513902, -0.1047363579, -1.4093834162, 0.6920319796, -0.0754197165, 0.2961986363, 0.082048066, 0.7286691666, 0.1805353016, 0.6235353947, 0.9791798592, -0.4974377453, 0.5887590051, -0.2640545368, 0.3588549793, -0.5023167729, 0.0075762798, -0.2821691632, -0.5180338621, -0.8008885384, -0.2417343706, 0.0592551455, -0.1767704487, -0.3026926816, 0.2820062935, -0.2213012874, 0.7259111404, 0.4822035432, 0.1232899576, 0.2934787571, 0.0848919079, -0.0821164697, 0.1953994334, -0.8652175665, 0.1897397488, 0.7164332867, 0.2681597173, 0.5793161392, 0.1104953736, 1.0114920139, 0.1315517426, 0.3376090825, -0.5878110528, 0.5987583995, -0.2330236286, -0.4404629767, -0.3554083705, -0.6110776663, -0.7361639738, 0.4025054276, -0.13517344, -0.8182897568, 0.3479255438, 0.0181478132, -0.6758384109, 0.338527143, -0.648308754, 0.7278681397, -0.0802000985, -0.804870069, -0.4982965291, -0.7328073382, 0.4814402759, 0.1212026775, -0.0137419999, -0.2732931972, -0.1405955553, 0.3310273588, -0.7665758729, 0.7198116779, -0.376098305, -0.0950266495, -0.1872192323, -0.0956004038, 0.3848443329, -0.0036139539, -0.0758567005, 0.3082365394, -0.2875550985, -0.4200541973, -0.6966167688, 1.1539480686, -0.7083711028, -0.6619622707, 0.0087035578, -0.5242342949, -0.4464014769, 0.5200167894, -0.0188923795, 0.4193206131, -0.1334338784, 0.2351201177, 0.8507597446, -0.1766075045, 0.4823100269, 0.9628604054, -0.0108228065, -0.6743100882, 0.8853514791, -0.0052724574, 0.2772682607, 0.4154167473, 0.3718206286, 0.0526447967, -0.7020808458, -0.2639532387, 0.6520030499, -0.4001361132, -0.3639831841, -0.3964959085, -0.0907022879, -0.1828737706, -0.4287063181, -0.5926809311, -0.0364617817, -0.4045398831, 0.0427221321, 0.3681757152, 0.0686850399, 0.0724382773, 0.5424813628, -0.6883659363, -0.1474820375, -0.0180027541, 0.9311316609, 0.1961963326, -0.1309974641, -0.4697722793, -0.0830508918, -0.0153534673, -0.5444045663, 0.2449973673, 0.4508924484, 0.6295806766, 1.03951931, 0.2417610586, 0.756156981, -0.6988014579, 0.2068645507, 0.1135261655, -0.636865139, 0.1073651239, -0.6266874671, 0.3239839673, 0.8695591688, 0.1493881196, -0.3111521304, -0.3878877461, -0.5965083838, -0.6173117161, 0.933884263, 0.0911848396, 0.3638876975, 0.1241589487, 0.6418121457, 0.1537558287, 0.4716958702, -0.1390289515, -0.3693750203, 0.2156769037, -0.0136519521, -0.2991991639, -0.1804912537, -0.3404850066, -0.2365581244, 0.3695634902, -0.2309960872, 0.2275960892, -0.1483508497, 0.2278243005, -0.4601793289, 0.2847529948, 0.8293007612, 0.4108192325, -0.1832973361, -0.2443408072, -0.0003018178, -0.2635901272, 0.0192752797, 0.4066237211, -0.3996483088, -0.1360113472, 0.1757878363, 1.0114891529, 0.7522928715, -0.5156921148, 0.5383709073, -0.0863690525, -0.3922463953, -0.125612542, 0.4523961246, -0.0297300871, 0.6112453341, 0.1235593706, -0.0555412769, 0.0096502015, -0.3924884498, 0.213504687, 0.7785100341, 0.0012862092, -0.5306829214, 0.7175774574, 0.1706337333, -0.396289587, 0.4525722563, 0.0654376745, -0.4443899989, 0.1728301793, 0.477732569, 1.242869854, -0.2987261713, 0.2224976569, 0.1449442059, 0.0305122938, -0.2185752243, -0.0430692434, -0.8086525798, -0.7781900764, -0.2497138828, -0.8875793219, -0.5279780626, -0.0928365961, -0.7383887768, -0.060406629, -1.1024981737, -0.1762687862, -0.0138776926, 0.3641816676, -0.3672910333, -0.1935125589, 0.391956389, 0.7772805691, -0.4735422134, 0.7878239155, 0.3015029132, 0.0860509649, -0.6837268472, -0.020106636, -0.0973875597, -0.7439125776, 0.0939613059, 0.2056302726, -0.2326404303, 0.1781774759, -0.3784209788, -0.7359545231, 1.3386292458, 0.5414121151, -0.8210498691, -0.0933117121, 0.1930502802, 0.8192384839, -0.5370300412, -0.1209734604, 0.5713829994, 0.1995313317, 0.1574371606, -0.8366232514, 0.0895431042, 0.0293705296, 0.0586648658, 0.6199997663, -1.1598905325, 0.7368016839, -0.445892185, -0.3612870574, -0.0664319322, 0.6375976801, -0.2028499097, 0.4489037097, 0.4658270478, 0.7501953244, 0.6480053067, 0.014795444, 0.9474621415, -0.4941289425, 0.5995717645, 1.1131706238, -0.3686583042, 0.7387971282, 0.4047796428, -0.0992587581, 0.3984919786, 0.2985709608, -0.043941956, 0.6150400043, -0.1022091433, -0.4287629724, -0.173841089, 0.002485998, -0.2703901231, 0.3687319756, 0.2109009326, -0.4892157912, -0.6070937514, 0.1139364019, 0.1649838537, 0.0504946187, -0.2114684433, 0.9076514244, 0.0772458985, -0.438007623, 0.7085937858, 0.1034629792, 0.5390613079, -0.6224465966, 0.4534319937, -0.5198534131, 0.6197523475, -0.1129290834, -0.2595924139, 0.2389834225, -0.1912452132, -0.1447578371, -0.3879705667, 0.3130589426, -0.5347139239, -0.1346056014, 0.4213112295, 0.2839028835, -0.3007284105, 0.1583143771, -0.3979505301, 0.0074386531, -0.1522303671, -0.3316156864, 0.6408666968, 0.2998312414, 0.2736350298, 0.5674902201, 0.5456975102, 0.0056047845, -0.0884605423, -0.0151297571, 0.89757061, -0.4356840253, -0.8106662035, -0.9846508503, -0.1899086684, 0.0807479322, -0.0156329423, 1.0660040379, 0.4129406214, 0.9770573974, -0.0291437712, 0.2656542361, 0.0799838305, 0.1973505616, -0.3117802739, 0.8677279949, -0.7231459022, 0.1908409446, -0.1504556835, -0.7469078302, -0.250220865, 0.229591608, -0.4246253967, -0.2651193142, 0.2105903774, 0.6967912912, -0.0828490704, 0.2614092827, 0.5517706275, 0.2607526183, 0.1967315227, 0.6018231511, 0.1679711193, -0.1702377647, 0.0341686532, -0.8199235797, -0.177553311, -0.510058403, -0.5095737576, -0.8693279028, -0.3282753229, -0.1319319308, -0.0183735136, 0.1223802269, 0.9546242952, 0.5786465406, -0.7616761923, -0.1773688644, -0.2360389084, 0.0325311348, -0.0804743469, -0.2239141762, -0.0670409501, -0.4174096286, -0.6227245927, 0.3263992071, 0.6651962399, -0.2028776854, -0.5993307829, -0.1661940217, -0.0090938471, 0.0468567014, 0.4616166949, 0.5373122096, -0.6532142758, -0.067550011, 0.0369651653, -0.070881024, 0.1635700315, 0.8935468793, -0.5900830626, 0.6186477542, 0.4843719602, 0.9087049961, 0.299783051, 0.2406394333, 0.7843311429, -0.6866468191, 0.3452799618, 0.260033071, 0.1899888813, 0.1300005466, -0.5385415554, 0.259293884, 0.4117904305, -0.5509460568, -1.0110236406, -0.0304981563, -0.9005955458, -0.0061664823, 0.6850118041, -0.293615669, -0.4076482356, 0.5188732743, 0.3531989753, -0.0436633453, -0.3062581718, 0.7766190171, 0.5357046127, -0.1634783447, -0.3060841262, -0.3502224088, 0.3024029136, 0.4142432511, -0.5208605528, 0.2666113079, 0.644862473, 0.3260676265, 0.1490726471, 0.5327984691, 0.2482659519, 0.3296899199, -0.1453175098, -0.2967293561, -0.4434241056, -0.2646698952, -0.5541442633, 0.4394901097, -0.1017736569, -0.1191852242 ]
http://arxiv.org/abs/2402.05913v1
http://arxiv.org/pdf/2402.05913v1
Efficient Stagewise Pretraining via Progressive Subnetworks
2024-02-08T18:49:09
2024-02-08T18:49:09
Abhishek Panigrahi, Nikunj Saunshi, Kaifeng Lyu, Sobhan Miryoosefi, Sashank Reddi, Satyen Kale, Sanjiv Kumar
cs.CL
cs.CL, cs.LG
Recent developments in large language models have sparked interest in efficient pretraining methods. A recent effective paradigm is to perform stage-wise training, where the size of the model is gradually increased over the course of training (e.g. gradual stacking (Reddi et al., 2023)). While the resource and wall-time savings are appealing, it has limitations, particularly the inability to evaluate the full model during earlier stages, and degradation in model quality due to smaller model capacity in the initial stages. In this work, we propose an alternative framework, progressive subnetwork training, that maintains the full model throughout training, but only trains subnetworks within the model in each step. We focus on a simple instantiation of this framework, Random Path Training (RaPTr) that only trains a sub-path of layers in each step, progressively increasing the path lengths in stages. RaPTr achieves better pre-training loss for BERT and UL2 language models while requiring 20-33% fewer FLOPs compared to standard training, and is competitive or better than other efficient training methods. Furthermore, RaPTr shows better downstream performance on UL2, improving QA tasks and SuperGLUE by 1-5% compared to standard training and stacking. Finally, we provide a theoretical basis for RaPTr to justify (a) the increasing complexity of subnetworks in stages, and (b) the stability in loss across stage transitions due to residual connections and layer norm.
[ -0.0973098427, -0.4133505821, 0.2150936127, 0.2458992004, -0.2726976871, 0.1614760458, -0.0691879988, -0.2373933792, -0.0105513791, 0.1686878949, -0.7703770399, -0.2824093401, -0.4242774844, -0.2872528732, -0.5944866538, 1.136713624, -0.1274972707, 0.0905157626, 0.0187731553, -0.0140688736, -0.0961738154, -0.392111063, -1.2021155357, -0.712577939, 0.7258650661, 0.294560194, 0.3493299782, 0.3056439459, 0.1821430326, 0.2382465452, 0.0460508652, -0.1964299381, -0.7649524212, 0.2638280392, 0.1415532827, -0.2960268259, -0.151332587, 0.0242409166, 0.7650870085, 0.7035967708, -0.5041075349, 0.1294367164, -0.0339225866, 0.7162573934, -0.4991343021, -0.1500257701, -0.4975063503, 0.4829645455, -0.3503124416, 0.0149831586, -0.5108756423, -0.1824813187, 0.0600586906, -0.5770285726, -0.0489569195, -0.2197184861, 0.8183249235, -0.0012127524, -0.0879395679, 0.0539120659, -0.7951891422, 0.4843491912, -0.737652719, 0.7427410483, 0.0847559795, 0.339045465, -0.1114086732, -1.2153536081, -0.3945762813, -0.3880372941, 0.0688044354, 0.3960761726, -0.3134100437, 0.233689189, 0.2224515826, 0.0946388394, -0.6126300097, 0.4582189023, -0.1879561692, -0.2648480833, 0.0822012201, -0.1657772064, 0.1554030627, 0.2144366056, -0.480278343, -0.2364511788, -0.810523808, 0.241305694, 0.5101838708, 0.2863663137, 0.0842324495, 0.1717897356, -0.0437184945, 0.594570756, 0.0442145504, -0.1767816395, 0.2318568826, -0.3225787282, 0.0435449593, -0.210326463, 0.6580614448, -0.3448961675, 0.5272901654, -0.3182785213, -0.2868401706, -0.2108440399, 0.3247408569, -0.8507561088, -0.4490129054, 0.1544062793, -0.1214366555, -0.1425269991, -0.2231121808, 0.0317244753, -0.0249478277, -0.0871921554, 0.4222278595, -0.8376668096, -0.2235465199, -0.0517959185, 0.154746905, 0.0850583985, 0.3300592303, -0.6516206861, 0.3124040663, 0.3797807395, 0.9157611132, 0.1077148244, -0.3076668978, -0.8018159866, -0.0926638171, -0.59973526, 0.6531338096, -0.4386651516, -0.1941841096, -0.2337364554, -0.3284718096, -0.3382207155, -0.2522913516, 0.3009658456, -0.8446551561, 0.1784971505, 0.142518416, -0.1932252795, 0.0415349416, 0.273676008, -0.4499198794, 1.0661841631, 0.2871131301, -0.9639816284, 0.3933645785, -0.4304860532, -0.7145091295, -0.0082295341, -0.3377573192, -0.4711683691, -0.0550437942, 0.0776109397, 0.2168262154, 0.2354154289, 0.0208748784, 0.1074521691, -0.5270323753, -0.2076079994, -0.149332419, 0.6910032034, 0.2069684565, -0.3955628276, 0.2575632632, -0.7736800909, 0.0890917778, -0.2447015792, -0.5590137839, -0.3773958981, -0.0327897072, -0.3217771947, 0.524959147, 0.0337628089, -0.5287137032, 0.2542704642, -0.454856962, 0.1898688227, 0.8776103258, -0.1399461776, 0.4133915007, -0.0921851769, 0.8813644648, 0.3822516203, 0.3205744326, -0.0127482461, -0.2353015244, -0.9656972885, -0.1221723184, 0.815359354, 0.5736627579, -1.1176114082, 0.1916466802, -0.2707012296, -0.5168837309, -0.3749122322, 0.0524448864, 0.6218199134, 0.5554138422, 0.2983698845, -0.6837903857, -0.7796804905, -0.884599328, 0.1776991934, -0.2202617377, -0.1017402634, -0.1131214947, 0.2625230551, -0.0646191165, 0.9291462898, -0.02776834, -0.2254633754, -0.7332245111, 0.4345814586, 0.4136002362, 0.7436234951, 0.3698250055, -0.5846226811, -0.5301389694, -0.0993724689, -0.1780935228, -0.0454948209, -0.4361328781, -0.1356494576, 0.0697549582, 0.5421431065, -0.4174960554, 0.1200056076, 0.7151162624, 0.1332630515, 0.4790391326, -0.2536148727, -0.3107222319, -0.8583748937, 0.0110170245, -0.0821065158, -0.2465428859, -0.7599890828, -0.1301347464, -0.1734822392, -0.0310747623, -0.5339543223, 0.2515041232, -0.4239711761, -0.1930633187, -0.0009301198, 0.0348091535, -0.1987076998, 0.5092219114, 0.0701958537, 0.8839733601, 0.50052315, -0.4692077637, -0.2145322114, 0.0823855549, -0.4395904541, -0.0200637206, -0.7714639306, 0.313929677, -0.0745479539, 0.8112834096, -0.7190522552, 0.2011465579, 0.1934795827, -0.2998993099, 0.3931784928, -0.2366888076, -0.3164111972, -0.4816645086, -0.2372536808, 0.3566963971, 0.677737236, -0.3066363037, 0.6175341606, 0.051974602, 0.1547866017, -0.7734892964, -0.6791161299, -0.101268068, 0.0835736766, -0.6668524146, 0.2947309315, 0.0280584041, 0.181196183, -0.1345843524, -0.4171850681, 0.0704887211, 0.070311375, 0.2008193731, -0.3382515609, -0.0793821588, -0.0440117717, -0.0183737688, -0.3456064761, -0.2564711273, -0.833047986, 0.8166499138, -0.0493571274, -0.2632417083, -0.223721534, 0.3278388381, 0.2243236601, -0.2070686668, 0.9653453231, 0.926199019, -0.1822762489, -0.5227363706, -0.202251032, 0.0223017763, -0.4225433171, 0.5167507529, -0.4834952652, -1.0054759979, 0.5494583845, -0.0117295785, 0.1156417504, 0.2884784043, 0.2915177345, -0.0719679818, 0.9517971873, 0.9556878209, 0.1991005689, 0.6972003579, -0.569748342, 0.1866128892, -0.8404045105, -0.2991808355, -0.1978364885, -0.341632098, -0.3689888716, -0.4849655926, 0.5081914067, 0.2433657497, -0.5435472131, 0.4918689132, -0.0394722, 0.319414705, 0.8177830577, 0.2014358491, 0.0954489782, 0.0102938535, -0.6199482083, 0.1293835938, -1.4049987793, -0.1807955652, 0.593259871, 0.6012181044, 0.8030432463, -0.1939670593, 0.9103743434, 0.0471807793, 0.4028005898, -0.5219292641, 0.536783278, -0.3643386066, -0.5048074722, -0.4795276821, -0.6903759837, -0.8009411693, 0.0877460614, -0.1691292077, -0.6845911145, 0.3070057333, 0.3390486538, -0.5362849832, 0.4827981591, -0.5194039941, 0.734826386, -0.2341562361, -0.1851606369, -0.0696806312, -0.9889857173, 0.2447825223, -0.280349493, 0.1306503117, 0.1855520606, 0.2537581623, 0.9737963676, -0.5579977036, 0.7926343083, -0.4130829573, -0.154894799, 0.1799498349, 0.1282869428, 0.6616013646, -0.1206984743, -0.0384229161, 0.0466405973, -0.3092577159, -0.3964177668, -0.5379036069, 0.2499417216, -0.8602284193, -0.2361069173, -0.3409798443, -0.4851332307, -0.6074046493, 0.2323167324, 0.4451889694, 0.6781629324, 0.0414779484, 0.195734933, 0.6283817887, -0.226197958, 0.4847689867, 0.2543919981, -0.1766372323, -0.1434445679, 0.7068172097, 0.3155841231, 0.4681618512, 0.5562982559, 0.1681436896, -0.2409032434, -1.1779454947, -0.1813739091, -0.1176452264, -0.6661494374, -0.0327266492, -0.677228272, -0.5499277115, -0.2731342018, 0.0813117027, -0.5165343881, -0.5586221218, 0.1358969957, -0.2386819422, 0.0903442129, 0.4918836951, -0.5046237111, 0.5330222845, -0.6761351824, 0.0806394443, 0.4992192686, 0.5098887682, 0.2756097019, -0.6046715975, -0.5688188672, -0.0089771058, -0.0999873579, -0.256036073, 0.1416174173, 0.4736100137, 0.5845277309, 0.4081557691, 0.0250889361, 0.7823761106, -0.8725718856, 0.6975998878, 0.5269505382, -0.7039305568, 0.4545188248, -0.3555256724, 0.4179308414, 0.8754971623, 0.653803885, -0.4998831153, -0.4274434745, -0.650164485, -1.2367938757, 0.6649959683, 0.442378521, 0.1585036963, 0.0761774257, 0.1420329362, 0.2132343948, 0.1078320071, -0.9559078813, 0.0573513135, -0.3864090741, -0.018945219, -0.025680203, -0.1671621948, -0.1537884474, -0.308755964, 0.8526716828, 0.0642175749, 0.227399379, 0.064425841, -0.1898902208, -0.0692054257, 0.1866362095, 0.4388114214, 0.9418826103, -0.2702537477, 0.2944582105, 0.1534428895, -0.6457939148, 0.3965219259, -0.0130245546, -0.231537208, -0.0527991876, 0.7121238708, 0.9230560064, 0.2431752086, -0.4463682771, 0.3875448704, 0.0204766169, -0.2473818958, -0.2657544911, 0.0903733224, 0.0241399053, 0.3690827191, 0.4915133715, 0.014329901, -0.2133580297, -0.4996252656, 0.6117610931, 0.0384411551, -0.4952170551, -0.2356378138, 0.5055617094, 0.1049263775, -0.2517463863, 0.8788970709, -0.1270191669, -0.5701714754, 0.3529516757, 0.542978406, 0.8638997078, -0.0811716691, 0.4821259975, 0.1775074303, 0.3850752115, -0.0849426836, -0.042124588, 0.0216317028, -0.7635176778, -0.8759180903, -0.9746905565, -0.3268784285, 0.1349530816, -0.3297736943, -0.198837921, -0.4674369693, -0.1227453947, -0.536457777, -0.1007434651, -0.3901980817, 0.5064049959, 0.1946466118, 1.2700463533, -0.6945957541, 1.1168978214, 0.6076008677, -0.4051776826, -1.237411499, 0.1759119332, -0.4246068001, -0.7917650938, 0.9059443474, 0.0904807225, -0.2957744002, 0.2683263421, -0.325956136, -0.7644097209, 1.0785545111, 0.3538118899, -0.8782325387, -0.3294869363, -0.1211574003, 0.6254449487, -0.4088000357, 0.3856252134, 0.2159069926, 0.2466797978, 0.5226066709, -0.6685664058, -0.0251952223, -0.3162195385, 0.3841446638, 0.1210813671, -0.4343880415, 0.9592095613, -0.0329252668, -0.3920060396, 0.023827171, 0.8522523046, 0.2501234412, -0.1620852947, 1.0925518274, 0.7654521465, 0.3014300764, -0.1342222095, 0.9999890327, -0.2651607096, 0.2619857192, 1.0991137028, 0.0385867134, 0.7029090524, 0.2945463359, -0.2254120708, 0.9508644342, 0.9085640311, 0.4743302166, 0.7645855546, 0.6105563045, 0.0209231284, -0.4981746078, 0.0524465926, -0.4781779349, 0.289521277, -0.1485570073, 0.0240076948, -0.4486682713, 0.1268553883, 0.0635354966, -0.2162415683, -0.2121669054, 0.3579077721, 0.2436840385, -0.4606639147, 0.5998104811, -0.1842199415, 0.5615195632, -1.2021472454, 0.1998486221, -0.588026166, 0.1330875754, -0.1036449298, -0.3939573169, 0.0836036727, -0.0449854732, 0.1176468655, -0.5763300657, 0.4318380952, -0.3581005633, -0.4200766981, 0.3491678834, 0.5095800757, -0.0218933988, 0.3935124874, -0.8001707196, -0.080673337, -0.2989707589, -0.6380494237, 0.4967095852, 0.4041463137, -0.0862086937, 0.6895237565, 0.6431796551, 0.2549392581, 0.1251452714, 0.5922598243, 1.1012744904, -0.2442940027, -0.6707162261, -0.4377796352, 0.6894200444, -0.0054695983, -0.2934421897, 0.6156212687, 0.3748281002, 0.9772772193, 0.198717922, 0.5402523279, -0.2007513344, 0.3034303188, -0.7911390662, 0.5222604871, -0.4392916858, 0.3782841265, -0.3443942964, -0.7882902622, -0.0914874449, 0.8202959895, -0.2567514181, 0.4083454311, 0.6753075719, 0.4270426929, -0.2070168257, -0.42115134, 0.1995954961, 0.4537937343, 0.3241394758, 0.7124248743, 0.8970657587, -0.114099659, 0.6220652461, -0.2948286533, -0.4042805135, 0.1639732718, -1.0652900934, -0.7070516944, -0.5076015592, -0.1561936736, -0.221888274, 0.512812376, 0.6737983823, 0.9795620441, -0.7736778855, -0.2432614863, -0.4307368696, -0.1917380989, -0.4095850587, -0.1413696259, 0.2725512981, -0.528273046, -0.1885731369, 0.5436117649, 0.1675744355, 0.0372681543, -0.3802400529, -0.0631477237, -0.6447514892, 0.0531757623, 0.6383594871, 0.4092217982, -0.1788434982, -0.6056908965, -0.1378872693, 0.174802959, -0.0321353264, 0.7485938668, -0.8926174641, 0.1181056947, 0.4457628429, 0.4729192257, 0.8190920949, 0.0360773876, 0.797393024, -1.1046450138, 0.2698553503, 0.4860678911, 0.1514000595, 0.1936287731, 0.0360361747, 0.6938332915, 0.2354698479, -0.3035868108, -0.6875347495, 0.5042120218, -0.9147520661, -0.3194731772, 0.9762405753, -0.4303452075, 0.0926658586, 0.0026671498, 0.1887644678, 0.3626590371, -0.1727623791, 0.6185040474, 0.3834392726, -0.4714348614, -0.1899614334, -0.3962730467, 0.4543814957, 0.3357077241, -0.5411857367, -0.30485937, 0.1683007628, 0.0872039422, 0.210138768, 1.1008377075, 0.0245277155, -0.0748181939, -0.0143872807, -0.0787772909, -0.3372378647, -0.8748342991, 0.0217405278, 0.2135007381, -0.044791352, -0.2220346034 ]
http://arxiv.org/abs/2402.05904v1
http://arxiv.org/pdf/2402.05904v1
FACT-GPT: Fact-Checking Augmentation via Claim Matching with LLMs
2024-02-08T18:43:05
2024-02-08T18:43:05
Eun Cheol Choi, Emilio Ferrara
cs.CL
cs.CL, cs.CY, cs.HC, cs.SI
Our society is facing rampant misinformation harming public health and trust. To address the societal challenge, we introduce FACT-GPT, a system leveraging Large Language Models (LLMs) to automate the claim matching stage of fact-checking. FACT-GPT, trained on a synthetic dataset, identifies social media content that aligns with, contradicts, or is irrelevant to previously debunked claims. Our evaluation shows that our specialized LLMs can match the accuracy of larger models in identifying related claims, closely mirroring human judgment. This research provides an automated solution for efficient claim matching, demonstrates the potential of LLMs in supporting fact-checkers, and offers valuable resources for further research in the field.
[ 0.0378922187, -0.7280860543, 1.0647763014, 0.0029614635, -0.1884499341, 0.2986127436, 0.1469457597, -0.6504136324, 0.3146567643, 0.4263739586, -0.3815491796, -0.3320137262, -0.7861546874, 0.102240704, -0.4684890509, 0.9478322864, -0.0464686714, 0.1069807485, -0.4465796947, 0.2401686907, -0.0797019005, -0.5485764742, -0.6169350743, -0.4148645401, 0.601370275, 0.3433546126, 0.7154242992, 0.5966968536, 0.4712603986, 0.336999774, 0.2399845272, 0.5605787039, -0.3424740434, -0.0745842457, -0.3771138489, -0.1808191985, -0.4366668165, 0.1449970156, 0.3323653936, 0.2790676653, -0.0663651824, 0.3842484057, 0.0279807709, 0.4764554203, -0.5127415061, 0.2078431696, -0.8213288188, -0.1834926307, 0.0212598592, -0.2070284933, -0.1463808268, -0.8613014221, 0.1273069233, -0.3737821877, 0.5560888052, -0.01001928, 1.028118968, 0.4742775559, -0.7150931954, -0.3145987093, -0.5603075027, 0.1988696903, -0.6657775044, 0.4283924401, 0.3764482439, 0.2303267419, -0.1506275535, -0.6167330146, -0.7407535315, -0.3567787111, -0.4155039489, -0.050471615, -0.0817879513, 0.019149119, 0.4599027336, 0.3809783757, -0.9105052352, -0.2167473733, -0.2918051481, -0.6371205449, 0.6950010657, -0.2166989744, 0.6122040153, -0.3001253009, -0.3576615751, 0.2081718743, -0.8555006981, -0.492852658, 0.0719455257, 0.1816498637, -0.2049742192, 0.8647043705, -0.2684744895, 0.5566578507, -0.0077190204, -0.3807948232, 0.2168356925, -0.4407359064, -0.3686567247, 0.5621201396, 0.6730763912, 0.5705287457, 0.0189023949, -0.0599335879, -0.1694368273, 0.4878070652, -0.0752023384, -0.8378803134, -0.0695918724, 0.0229508076, -0.1718425453, -0.3152565956, 0.198132515, -0.501205802, -0.8414404392, -0.3517811894, 0.6721861959, -0.1023977622, -0.1471057087, 0.2860814333, -0.1611771137, 0.1652145982, 0.4828977287, -0.2992831767, 0.0759414881, 0.7933067083, 1.0476158857, 0.0422213525, 0.2104121745, -0.6749151349, 0.1962938458, -0.3368468285, 0.9915469885, -0.4125558138, -0.0117382566, 0.0347909778, 0.1675327867, 0.0646880418, -0.4550234973, 0.9640987515, -0.6918401122, 0.2336776257, -0.7164948583, -0.7111988068, -0.1399242282, 0.6524050236, -0.7070342898, 0.8523340225, -0.0201780256, -0.7739299536, 0.3771553636, -0.581569314, -0.5374610424, 0.1802321821, -0.1854362786, -0.527355969, -0.0971972793, 0.3609671593, 0.4099467695, -0.4692776799, 0.4275637269, -0.4985637665, -0.0652872473, 0.187969327, -0.4316646457, 0.7346395254, 0.2910884023, -0.2324434072, 0.0787715241, -0.6231780648, -0.3697153926, 0.2682259977, -0.5432308316, -0.3390200436, 0.1466069371, -0.0969152749, 0.2280086577, 0.4523299932, -0.89608711, 0.3124760389, -0.0891919881, 0.4409165382, 0.5316185355, 0.0300842151, -0.0948398635, -0.7639290094, 0.0896227211, -0.1664910614, 0.0733525455, -0.0437225737, -0.3246767819, -0.5421321392, -0.3884550929, 0.4933389425, 0.8992535472, -0.8468093276, 0.5256227255, -0.5146796107, -0.4645271897, -0.4360543489, -0.0244339854, -0.0869577602, 0.8373388052, 0.3602922857, 0.0051739556, -0.7655838132, -0.8983071446, -0.538955152, -0.2357658595, -0.1907995492, 0.0475598797, 0.3431306183, -0.2987513542, 0.9908559918, -0.6151357889, -0.2259261012, 0.0647794306, 0.0759983286, 0.1488180161, 0.1296488345, 0.4582495093, -0.8612130284, -0.6129533052, -0.0516332984, -0.7998808622, -0.3770214021, -0.0214384887, 0.3210456073, 0.0944772214, 0.3445845246, -0.7754946351, 0.1726818383, 0.6931505203, -0.4647366107, 0.4114977121, -0.1516287476, 0.541708231, -1.0754349232, -0.1752773374, 0.3086129427, -0.6810500026, -0.3828491569, -0.2285325527, 0.208812505, 0.075796023, -0.3098833263, 0.384996146, -0.4022320211, -0.0065365233, -0.4055896401, 0.1253037751, -0.045601964, -0.1869863868, -0.1207078546, 0.8945559859, 0.5807704329, -0.4881570637, 0.6397333145, 0.0005977111, -0.4640583396, 0.6804563403, -0.6029269695, 0.0021939601, -0.0485611819, 0.5659810901, -0.9344416261, -0.6085774899, 0.2335848659, -0.4962839782, -0.1566493064, -0.2500300109, -0.8698327541, -0.4075796008, -0.1999954134, 0.0566138551, 0.4255866706, -0.6825377941, 0.8091432452, 0.5635726452, -0.4343868494, -0.4924163818, -0.5571552515, 0.4878581166, -0.0946324915, -0.5391703844, 0.3154000342, 0.0608281679, -0.2897646725, 0.0949379727, -0.2372870594, -0.0423530042, -0.0381669626, 0.0834915712, 0.3864735365, -0.1735691279, 0.2212255597, -0.1327146739, 0.120256342, 0.0765160024, -0.2164901644, 0.2687721848, -0.0909157097, -0.7484639287, -0.2764483094, 0.1844340861, 0.6513276696, -0.0575829446, 0.4918812513, 0.4961799681, -0.6597176194, 0.2656708658, -1.0868297815, -0.1323895007, -0.4927819073, 0.3301391006, 0.111888513, -1.0363408327, 0.2202100158, -0.0950174704, -0.0191484913, 0.5363837481, 0.4994077086, 0.0815711841, 0.7828451991, 0.3865794241, -0.3798815608, 0.2333895862, 0.3225141764, 0.2507102787, -0.2005116194, -0.0560504086, -0.3281146288, -0.008652851, -0.6158146262, -0.5475673676, 0.5716708899, -0.4024724066, -0.1892203689, 0.1702436954, -0.4313416779, 0.650380969, 0.2391377687, 0.3960368931, 0.8098908663, -0.0902454928, 0.2799768448, 0.2033565938, -0.5682245493, -0.5810925364, 0.9282600284, 0.3642058969, 0.8152235746, 0.3485880792, 0.3971492946, 0.7065752745, 0.8584828377, -0.7052596211, 0.5316189528, -0.0736129358, -0.7672590613, -0.1793567091, -0.5484410524, -0.6615087986, 0.1496778429, -0.5349036455, -0.3884935677, 0.0066020163, 0.3786464036, -0.4470180571, 0.4380696416, -0.5609019995, 0.3984789848, -0.5438584685, -0.1446255744, -0.4135218561, -0.4291191697, 0.5350900888, -0.1972997487, 0.2770058811, -0.2487154156, 0.0948994011, 0.475386858, -0.366121918, 0.9093667865, -0.0187024921, -0.3343890309, 0.1397905052, -0.1183521897, 0.6602593064, 0.1985408217, 0.1108270437, -0.0668394491, -0.0081418045, -0.2122860998, -0.3903197348, 0.7027008533, -0.487488687, -0.6634126306, -0.8669710159, -0.5371251702, -0.1242078543, 0.2936502397, -0.1054930389, 0.2586451471, -0.5373359323, 0.0260515437, 0.936416626, -0.0954604372, 0.028933065, 0.9383397698, -0.2661109865, -0.4434084594, 0.886253953, 0.1822408587, 0.056587141, 0.4866059422, 0.3877143562, -0.5805229545, -0.3152224123, -0.2505568564, 0.4010491967, -0.6293625832, -0.4354127645, -0.8603510261, -0.2889636159, -0.6824421287, 0.1656212211, -0.2246943861, -0.2719929814, 0.2394204885, -0.3129726946, 0.6059597135, 0.9087068439, -0.4601899087, 0.2274186611, -0.910743475, 0.7799599767, 0.7629640102, 0.4818459153, -0.6237556338, -0.2812838554, -0.1142759249, 0.2493825108, -0.2798169255, -0.9527676105, -0.0701507181, 0.0589223914, 0.4609062672, 0.2499111146, 0.1811414361, 0.3945418, -0.5141016245, 0.6301839352, 0.0971079469, -0.8061995506, 0.2913561165, -0.3490962088, -0.3042398393, 0.3116793633, 0.5522794127, -0.6897305846, -0.1559762061, -0.6759610176, -0.5268230438, 0.1578990072, -0.1187588871, -0.1117889211, -0.1409064084, 0.2585444152, -0.1054950953, -0.0726495236, -0.6902041435, -0.0397699475, -0.1152127609, -0.3805921078, -0.0157734063, -0.3154403269, -0.4426778853, -0.1728705615, 0.8195651174, -0.1815425009, 0.0706665069, 0.5562505722, -0.3345041275, -0.2653851509, 0.4525248408, 0.7120822668, 0.5491624475, -0.1712653786, 0.3965468407, 0.2544089258, -0.4511521161, 0.3585701287, 0.3797848821, -0.4089395106, 0.1998099834, 0.1801703721, 0.530973196, -0.041684173, -0.5775835514, 0.6490689516, 0.0410910398, -0.2546428144, -0.1846179962, -0.0054778261, 0.2813182473, 0.2290372699, 0.5368785262, 0.0834229961, 0.1335365921, -0.6161659956, 0.5915551186, 0.6933092475, -0.1416839212, -0.143192634, 0.4703708291, 0.2548733354, -0.1743331105, 0.231926322, -0.1283712834, -0.7073195577, 0.5027443171, 0.442050904, 0.6941453218, -0.3041323721, 0.3272393644, 0.4090540409, 0.5756332278, -0.5555069447, 0.0222123805, 0.4506686628, -0.8286412954, -0.9473297596, -0.336915195, -0.4416029751, 0.5242033005, -0.2367422283, 0.3112946451, -0.3131993711, -0.1222611517, 0.075264506, -0.0824034736, -0.6573877931, 0.251059711, 0.298235774, 0.9428398609, -1.321521163, 0.7922955751, 0.5530388951, -0.2695881426, -0.679097414, 0.3579598665, 0.3943046331, -0.9590741396, 0.5072225928, 0.0489024706, -0.3226621449, 0.0354111902, -0.8599916697, -0.8570684791, 0.9849993587, 0.8714083433, -0.6041475534, 0.0874712244, 0.2778406143, 0.2760562599, -0.2593263388, -0.0062741498, 0.458486706, 0.6323812604, 0.1676582843, -1.1781072617, 0.4185674191, 0.2932654321, -0.4721788168, -0.0641048774, -0.5676678419, 0.5907365084, -0.265047729, -0.3252975047, -0.275805831, 0.6231673956, 0.3286770582, 0.3030334711, 0.7975183129, 0.6584149003, 0.8962134123, 0.0707063302, 0.8537939191, -0.2641430497, 0.6226857901, 1.1394549608, -0.469201982, 0.4140736163, 0.1316970885, -0.2677183747, 0.3551163077, 0.7931672335, -0.1706627905, 0.2729069293, 0.1254341155, -0.411814183, -0.4217221439, -0.3866940439, -0.4197073877, 0.1382635236, 0.4664006531, -0.2697147727, -0.4527581632, -0.3675819933, 0.1629777104, 0.0476922356, -0.2355885506, 0.8174821138, -0.1318944842, -0.6586710215, 0.3496141434, -0.132504344, 0.7209435701, -0.5195406675, -0.2567053437, 0.1408229619, -0.0794182047, -0.3863421977, -0.8520107865, 0.3813048601, -0.0231023319, -0.3410210609, 0.0262480509, 1.2169210911, -0.7382948995, -0.5504389405, 0.0723527968, 0.6817258596, -0.111005567, -0.4445442259, -0.7452609539, -0.0738803148, -0.1704926193, 0.1125152186, 0.1336840838, 0.402285099, -0.051825542, 0.6693644524, 0.7350716591, 0.2435625046, -0.26782161, 0.0599247515, 0.8445450664, -0.2948931754, -0.3906570673, -1.1444905996, 0.1226315051, -0.4024879336, 0.4535257816, 0.7026088834, 0.8076873422, 0.5780035853, -0.0300374236, 1.4131343365, -0.1695158184, 0.9722169042, -0.4977717698, 0.8728123307, -0.3147652745, 0.0934810713, -0.1232075468, -0.6406074166, -0.2750688791, 0.4521899223, -0.4417408705, -0.1568141729, 0.5198206902, 1.0951262712, -0.2890398204, -0.1638841629, 0.1567756087, 0.3731856048, 0.4265330732, 0.2404277772, 0.7612659335, -0.2582048178, 0.4295464158, 0.1997126043, -0.3955236077, -0.4321811795, -1.3258821964, -0.7042864561, -0.346394062, -0.5739048123, -0.645113349, 0.1247802153, 1.2838954926, 0.5779876709, -0.7694682479, 0.2513352931, 0.1408135891, 0.3310970962, -0.0824269652, -0.2092175484, 0.4730534256, 0.050566826, -0.3135433495, 0.3285497427, 0.136435464, 0.1184585616, -0.1747909188, 0.0199628025, -0.273893863, 0.3050353229, 0.6406511068, 0.296354264, -0.70291394, -0.5888471603, -0.1974495053, -0.3087940216, 0.0745072663, 1.0380198956, -0.6338824034, 0.1360589266, 0.4737948775, 0.9993520975, 0.2635940909, 0.1796567142, 0.4254589081, -0.6489768028, -0.2791497111, -0.0368443653, 0.5175302625, 0.7498076558, -0.7168758512, 0.590618968, 0.5729075074, -0.5430440307, -0.7852395177, 0.3409011066, -1.0732485056, -0.0514400974, 1.0586948395, 0.1059719324, -0.1008462831, -0.4165418148, -0.1867854148, 0.4077874422, -0.3659380376, 1.0912361145, 0.734082222, 0.1213051528, -0.1406113952, -0.5753214359, 0.7450430393, -0.0320626795, -0.891151011, 0.1479294747, 0.4554712772, 0.7474098802, 0.1861806065, 0.8105274439, -0.0661028326, 0.2420080006, -0.3584546745, 0.0415745303, -0.0339285545, 0.1383644938, 0.1296826452, -0.0489851311, -0.082030043, -0.0532012023 ]
http://arxiv.org/abs/2402.05889v2
http://arxiv.org/pdf/2402.05889v2
CREMA: Generalizable and Efficient Video-Language Reasoning via Multimodal Modular Fusion
2024-02-08T18:27:22
2024-06-12T21:03:33
Shoubin Yu, Jaehong Yoon, Mohit Bansal
cs.CV
cs.CV, cs.AI, cs.CL
Despite impressive advancements in recent multimodal reasoning approaches, they are still limited in flexibility and efficiency, as these models typically process only a few fixed modality inputs and require updates to numerous parameters. This paper tackles these critical challenges and proposes CREMA, a generalizable, highly efficient, and modular modality-fusion framework that can incorporate any new modality to enhance video reasoning. We first augment multiple informative modalities (such as optical flow, 3D point cloud, audio, thermal heatmap, and touch map) from given videos without extra human annotation by leveraging sensors or existing pre-trained models. Next, we introduce a query transformer with multiple parameter-efficient modules associated with each accessible modality. It projects diverse modality features to the LLM token embedding space, allowing the model to integrate different data types for response generation. Furthermore, we propose a novel progressive multimodal fusion design supported by a lightweight fusion module and modality-sequential training strategy. It helps compress information across various assisting modalities, maintaining computational efficiency in the LLM while improving performance. We validate our method on 7 video-language reasoning tasks assisted by diverse modalities, including conventional VideoQA and Video-Audio/3D/Touch/Thermal QA, and achieve better/equivalent performance against strong multimodal LLMs, including OneLLM, BLIP-2, and SeViLA while reducing over 90% trainable parameters. We provide extensive analyses of CREMA, including the impact of each modality on reasoning domains, the design of the fusion module, and example visualizations.
[ -0.3979001343, -0.7500633001, 0.5096298456, -0.0116995517, -0.5186679363, -0.1454500407, -0.370664686, -0.0959380865, 0.0419847816, 0.4589110315, -0.5837011337, -0.6227526069, -0.4330379665, -0.2296635509, -0.337027967, 0.4445678592, -0.1139020473, 0.2968206406, -0.4080227911, -0.5283240676, -0.3739914596, -0.3858202696, -0.019703703, -0.231154874, 0.4535500705, 0.4076239467, 0.6482929587, 0.5117444396, 0.5680151582, 0.4335934818, 0.4704222977, 0.5369005203, -0.1520546973, 0.4264500439, -0.1144043654, -0.265544951, -0.3831458092, -0.5274789929, 0.560313642, 0.3989963531, -0.1514024287, 0.1550375074, -0.4283053577, 0.4804058969, -0.8922452927, -0.0754476115, -0.6272520423, -0.0913171545, -0.0244763121, -0.2656089067, -0.4057479203, 0.0181694403, 0.0229962468, -0.5063695908, 0.3454310596, -0.0542160906, 0.5301074386, 0.7213736773, -0.5721234679, 0.1553244144, -0.9073144794, 0.8036544323, -0.4423153102, 1.0244065523, 0.2584111989, 0.596237421, 0.2359244674, -0.6023759842, -0.6533076763, -0.1462887824, 0.1430077702, 0.0675552636, 0.0345540866, 0.2357514501, 0.1489701122, 0.1847704053, -0.9763950109, -0.0914137587, -0.1066888869, -0.4409770072, 0.4938306808, 0.4093897641, 0.3329159021, -0.1445660293, -0.5335104465, -0.0383665897, -0.3086006343, 0.0333752669, 0.1511524022, -0.0058301184, -0.1998539418, 0.6891608834, -0.4411067069, 0.9231558442, -0.2214828879, -0.5529334545, 0.2220186293, -0.6463410258, -0.6457050443, -0.3105517626, 0.680077374, 0.3007445633, -0.2459103018, 0.0670529678, 0.1285301, 0.4166531265, 0.1568197161, -0.7185499668, -0.36889413, 0.3185878396, -0.3846749067, 0.1139009446, -0.0770815983, -0.8540735245, -0.1125592068, -0.3961046934, 0.3488217592, -0.6024585962, -0.2648179531, 0.3873776197, -0.2054851651, 0.414306134, 0.6752917767, -0.7882351279, 0.0442183651, 0.4187690616, 0.2586449087, -0.0162024982, -0.1892327368, -0.4103839099, 0.5532897711, 0.2250507921, 0.9868589044, -0.9622762203, -0.249853611, 0.1750003844, -0.1195625365, -0.267337501, -0.2761032879, 0.35924685, -0.3328808546, 0.5295209885, -0.0254383571, -0.1690220237, -0.687784791, 0.5524130464, -0.583008945, 0.7125139832, -0.1092066541, -0.3148599565, 0.4400051832, -0.5193904638, -0.4503538013, -0.0032706754, -0.4293504953, -0.2019541115, -0.2832329869, 0.1873666197, 0.2794590294, -0.631336689, 0.2284730524, -0.2689587772, 0.0386802666, 0.1656604856, -0.5796847939, 0.0824665353, 0.1609928459, -0.3471035659, 0.3830227554, -0.557546258, 0.1109748334, -0.3009693027, -0.3287917078, 0.1395041049, -0.118116051, -0.1902710348, 0.1917384714, -0.0345657915, -0.257042259, 0.2751450241, 0.1718046218, 0.3732531667, 0.3702260256, -0.1190811321, 0.7519083619, -0.1407739967, 0.5287798047, 0.105902262, 0.4422385395, -0.4433692694, -0.412796706, -0.7311168909, -0.8397548795, 0.0175890159, 0.61442554, -1.024205327, -0.100469999, -0.1463815123, -0.5289367437, -0.3925275803, 0.4204388559, 0.3970797658, 0.543007791, 0.4812884033, -0.2707087696, -0.4812702835, -1.2018042803, 0.0284314156, -0.2223768383, -0.0235329978, 0.3608130217, 0.2016949505, -0.237694934, 0.6835539341, -0.4816327989, -0.3510723412, -0.4454625249, -0.014577236, -0.1834727228, 0.404127717, 0.4150795639, -1.0695894957, 0.0765760839, 0.0369863734, -0.8691173792, 0.068349652, -0.3493754268, -0.1611811221, 0.2971170545, -0.0161965508, -0.8645513654, 0.3506937325, 0.4330616891, -0.2048169971, 0.559168458, -0.0212964509, 0.8224513531, -0.7831102014, -0.0731323957, 0.2020447254, -0.1504125744, -0.6558237076, 0.0359461047, -0.1132822707, -0.1934186369, -0.7755550146, 0.4401214719, -0.2671762407, 0.1527986377, -0.0232599974, 0.2305606902, 0.2549807131, 0.7646378875, 0.1256457418, 0.4400582016, 0.7080686688, -0.6890221238, 0.6310271621, 0.2003624588, -0.0760604814, 0.4888612032, -0.2727648914, -0.0857407674, -0.1448108852, 0.4213050604, -1.137856245, -0.5980029106, 0.4012872577, -0.4066047966, 0.1739464104, -0.2741430998, -0.2842307687, -0.1333302855, -0.2093437314, 0.9240669012, 0.4501890242, -0.2586229146, 1.3656231165, 0.2658700049, 0.2227732539, -0.4709736109, -0.6519297957, -0.2049592137, -0.2748135328, -1.1716698408, 0.3501210809, -0.2560871243, -0.2260005325, -0.0446498878, -0.2152406573, -0.5171445608, -0.2400140166, 0.2396078557, 0.2783560455, -0.1038467437, 0.1404870749, 0.0863687918, -0.0430859998, -0.2183606774, -0.1030763313, 0.6572776437, -0.0753333047, -0.7510044575, -0.6912436485, 0.5545548797, 0.646443069, -0.2327695787, 0.1352074146, 0.9531088471, -0.3357941508, 0.0194841288, -0.996522963, -0.1519446373, -0.4535982907, 0.3375808299, -0.3578320742, -0.9206895232, 0.4632398784, -0.0222703032, 0.0155548966, 0.1386786848, 1.0955672264, 0.0944798961, 1.1811034679, 0.3151648641, 0.3887366056, 0.4524495304, -0.3892551661, 0.0426311381, -0.4632509351, -0.8063338995, -0.2755232751, -0.4033023119, -0.0501736179, -1.0014045238, 0.5507872105, -0.1821379811, -0.133709535, 0.2923002839, -0.317216754, 0.331109345, 0.2843624949, 0.2096100897, 0.3063867688, -0.1684868485, 0.0419835486, 0.0457391478, -0.8403447866, -0.2729707062, 0.4616840482, 0.1139119565, 0.818339169, 0.3911119699, 0.2058427483, 0.3805218041, 0.0557200573, -0.7364625335, 0.8935096264, 0.1319725662, -0.5438722968, -0.0935541466, -0.300345242, -0.6033754349, 0.5211182237, -0.3470663726, -0.4189913571, 0.0656004921, 0.3019167185, -0.2221975327, 0.3538223505, -0.783670783, 0.7496717572, -0.3122881055, -0.6335459948, -0.585314393, -0.7076190114, 0.7959735394, 0.3554883599, 0.3677033484, -0.2154795527, -0.2515369058, 0.2926482856, -0.3127797246, 0.713340342, -0.168111518, 0.1799303442, 0.427688241, 0.4158994555, -0.0411259197, 0.2332943529, 0.0942790434, 0.1670362353, -0.1612811685, -0.4206704199, -0.8146989942, 0.5603385568, -0.3985612094, -0.7145872712, -0.0901524201, -0.6533391476, -0.2728251517, -0.048290696, -0.0134283388, 0.7887923717, 0.1595734656, 0.1923133731, 0.637452662, -0.0876433551, 0.4289886653, 0.3245697916, 0.0167747922, -0.9119874835, 0.8937511444, -0.3191147149, 0.3965060413, 0.5130863786, -0.0611412078, -0.2504920065, -0.453727603, -0.8495086432, 0.1390508115, -0.7635273337, -0.4932345152, -0.6820995808, 0.2015028149, -0.4017695189, -0.2722082138, -0.2520524263, -0.5183820128, -0.0669605061, -0.0111912498, 0.1088354662, 0.116712302, 0.0165261608, 0.1204066575, -1.0435574055, 0.5191648602, 0.5706802011, 0.1334138513, -0.1471367925, -0.2866840959, -0.0712157786, 0.0034758889, -0.3938422501, -0.8222536445, 0.1771311909, 0.260571748, 0.8024291992, 0.4650627971, -0.1633668989, 0.8211355805, -0.269411236, 1.1865234375, 0.6273667216, -0.8476186991, 0.4681347907, -0.3139183223, 0.1925048679, 0.5117889047, 0.3255428672, -0.2491547167, -0.0464246422, -0.4707046747, -0.7400032282, 0.0785788298, -0.0337890945, 0.0698337108, -0.0178748704, -0.047612071, 0.3784524798, 0.1558395326, -0.3580840826, -0.0053911288, -0.5204113722, -0.1179359183, 0.505910337, -0.1277240813, -0.3300562799, -0.4751770198, 0.5066181421, -0.3476450145, 0.1691314131, 0.3630414903, -0.4797285199, 0.0586695708, 0.2505553365, 1.0644452572, 0.5923561454, 0.1409930438, 0.2335419059, 0.3069583178, -0.1098529547, 0.1568879187, -0.2609559298, 0.2421370596, 0.0467262417, 0.4538164139, 0.7410318255, 0.4345553219, -1.0262755156, 0.4560528696, -0.0932391807, -0.5107621551, -0.2208949924, 0.1917149872, -0.111525923, 0.5106781721, 0.2002007514, 0.2062749416, 0.2531388104, -0.5579015017, 0.3464361429, 0.5278692842, -0.2595170736, -0.5213370919, 0.7086046338, 0.4046127498, -0.3165897429, 0.3026182652, 0.0916978642, -0.6237180233, 0.13774544, 0.1058291495, 0.7293304801, -0.1530766487, 0.4101044834, 0.1511301845, 0.0953263044, 0.0975201577, 0.3783391118, -0.4185777009, -0.5917439461, -0.6383194923, -0.3246497512, -0.5138148069, -0.3432901204, -0.3206520379, 0.4658646584, -0.3431384265, -0.0748924166, -0.2196278572, -0.4591394663, -0.9445108175, 0.2355951667, 0.3552515209, 0.9658870697, -0.6774549484, 0.6553944945, 0.6516878009, -0.5459365845, -0.4215781987, -0.4799903631, 0.0786843672, -0.8328592777, 0.5170299411, -0.0318564363, -0.2204796225, -0.4410991669, -0.3692474067, -0.5073173046, 1.2404880524, 0.5619410872, -0.2133058459, -0.0503043756, 0.3527322114, 0.2345052361, -0.4694685638, 0.4982466698, 0.4024131894, 0.6698027253, 0.5333204269, -0.8413584232, -0.0783504322, -0.1336570829, -0.3689146936, 0.3106532991, -0.7508326173, 0.4993023574, -0.3216657341, -0.0075794603, -0.0695831999, 0.5650957227, 0.1027965546, 0.5021553636, 0.586312294, 0.8367273808, 0.447181046, -0.0563319065, 0.9005355835, -0.2202175111, 0.0545684583, 0.7194150686, -0.3300258815, 0.4441039264, 0.5271529555, 0.2580717802, 0.7713084817, 0.3135023713, 0.1180143878, 0.4463639557, -0.0553205237, -0.6558728814, -1.1197626591, -0.1959766001, -0.2359504104, 0.7540006042, 0.3434474766, -0.1870345026, -0.5295027494, 0.2365955263, -0.2534345388, 0.1034934744, -0.1954573244, 0.8485773206, -0.1085338369, -0.4598821402, 0.4873843491, -0.2604473829, 0.4145337045, -0.7271922231, -0.1586764902, -0.0184799116, -0.0553026311, -0.4200059175, -0.5085725188, 0.2097931355, -0.2031922191, -0.3203339279, -0.1928450614, 0.9027035236, -0.726297915, -0.2156923413, -0.0786407068, 0.7562288046, 0.0183383599, 0.1268306375, -0.6005926728, 0.5661373138, -0.0101200705, -0.1805930287, 0.4654158652, 0.2821643651, 0.0828350484, 1.0026789904, 0.7585996985, -0.2579371333, -0.0641910583, 0.2008326501, 1.1400079727, -0.646351099, -0.0179368518, -0.8418064117, 0.9142394662, -0.0095675141, -0.1938423663, 0.4142711759, 0.6271368265, 0.587008357, -0.1134788319, 0.7288593054, -0.0756647661, -0.0269335732, -0.7120825052, 0.025831474, -0.573708117, 0.1647925973, 0.0587878972, -0.814586997, -0.5707780719, 0.349252969, -0.2105419785, -0.1604223102, 0.7062745094, 0.8362466693, -0.1172595546, 0.1444977373, 0.4952764809, -0.1860552877, 0.6090099216, 0.5973136425, 0.7687953711, -0.2513737977, 0.7819516659, -0.2214852422, -0.165169552, -0.2624183893, -0.8959383368, -0.7054179907, -0.6583419442, -0.4512854517, -0.2362871021, -0.1625216901, 1.0697407722, 0.9217315912, -0.3122059107, -0.0557648167, 0.4745029509, 0.2748642266, -0.1321427822, -0.2259946764, -0.0130535513, -0.1976535767, -0.6701964736, 0.5612895489, 0.5069513917, -0.3596605957, -0.5842057467, -0.0687598884, -0.0601479448, 0.086908102, 0.7895974517, 0.2646056116, -0.8905395269, -0.6544868946, 0.0738529339, 0.1611948907, 0.0737858936, 1.206176281, -0.9216364026, 0.4291768372, 0.8644289374, 0.6604695916, 0.3923206329, 0.0630272701, 0.5921573043, -0.414545238, 0.2784203589, 0.5128781796, 0.6129496098, 0.296781987, -0.0576731302, 0.3525674939, 0.5852140784, -0.5092599988, -0.9010608196, 0.6876927018, -1.7173937559, -0.1051873043, 1.38050735, 0.2059786916, -0.332832545, -0.1262684315, -0.3488164246, 0.0840658396, -0.427097708, 0.501912117, 0.3694595397, -0.4937839806, -0.4855973125, -0.283990711, 0.2837242186, 0.5426238775, -0.6299538612, 0.0218109433, 0.8294157386, 0.3294734955, -0.0036751351, 0.5251615644, -0.0259844549, 0.5679153204, -0.0684239194, 0.0882575959, -0.4612841904, -0.5482084155, 0.048848439, 0.5424579978, -0.4015850127, -0.1380656362 ]
http://arxiv.org/abs/2402.05880v2
http://arxiv.org/pdf/2402.05880v2
Generative Echo Chamber? Effects of LLM-Powered Search Systems on Diverse Information Seeking
2024-02-08T18:14:33
2024-02-10T17:03:58
Nikhil Sharma, Q. Vera Liao, Ziang Xiao
cs.CL
cs.CL, cs.AI, cs.HC
Large language models (LLMs) powered conversational search systems have already been used by hundreds of millions of people, and are believed to bring many benefits over conventional search. However, while decades of research and public discourse interrogated the risk of search systems in increasing selective exposure and creating echo chambers -- limiting exposure to diverse opinions and leading to opinion polarization, little is known about such a risk of LLM-powered conversational search. We conduct two experiments to investigate: 1) whether and how LLM-powered conversational search increases selective exposure compared to conventional search; 2) whether and how LLMs with opinion biases that either reinforce or challenge the user's view change the effect. Overall, we found that participants engaged in more biased information querying with LLM-powered conversational search, and an opinionated LLM reinforcing their views exacerbated this bias. These results present critical implications for the development of LLMs and conversational search systems, and the policy governing these technologies.
[ -0.5107904673, -0.5991185308, 0.8938861489, -0.0309482999, -0.2609362602, 0.1698512882, -0.1014777869, -0.5062569976, 0.3990011811, 0.5642726421, -0.4675320089, -0.4210002422, -0.6465812922, 0.1038190275, -0.6386162043, 0.7449600101, 0.3216578662, 0.1341474205, -0.0182669759, 0.2514095604, -0.3652415574, -0.9292670488, -0.3010846674, -0.1473668814, 0.6458455324, 0.2701399624, 1.0309976339, 0.1120695025, 0.5230106115, 0.1898249537, -0.3526345789, -0.0753431767, -0.8020920157, 0.5320388675, -0.2087426633, -0.837415576, -0.182476595, -0.0389562957, 0.7066754103, 0.5504102111, -0.3037381172, -0.1082066298, 0.2595568001, 0.7199035883, -0.6362698674, -0.2237390727, -0.9603132606, 0.1383968294, -0.3265174329, -0.6479286551, -0.4288322926, -0.2464323938, 0.1822889894, -0.557130754, 0.3584981263, 0.1951837391, 0.4487018585, 0.1670412719, -0.5293011069, -0.488468498, -0.9931545854, 0.8942012787, -0.377910465, 0.4213437438, 0.1075295359, 0.0040819175, -0.1717060655, -0.6117960215, -0.5093176961, 0.0039159888, 0.1506263912, 0.1676197201, -0.4890251756, 0.2313562185, 0.227175951, 0.4122000337, -0.4223923087, 0.1208957806, -0.403876394, 0.0308516491, 0.5473150611, 0.2561342716, 0.1616829932, -0.2124085873, -0.1222802624, -0.1093851849, -0.9062021971, -0.0580460355, 0.6714032888, 0.3212559223, 0.3122293353, 0.6858789325, -0.3265488446, 0.4452228844, 0.0714855567, 0.1192486957, 0.0199990738, -0.3267754018, -0.0033225056, 0.2620396316, 0.4991388917, 0.4580515027, 0.1048272178, -0.0614298396, -0.2151765078, -0.2469613254, 0.4616080821, -0.7764846087, 0.3607710302, 0.0997968391, -0.7168841958, -0.50805825, 0.4340142608, -0.837510705, -0.7206058502, -0.0149363531, 0.4527455866, 0.1825574785, -0.2377354801, 0.2551505864, -0.3394470811, 0.2657279968, 0.2002999336, -0.7860036492, 0.5432552099, 0.6610456109, 0.8321661353, -0.2320770919, 0.1820871085, -0.3073248565, -0.240959093, -0.2287334055, 0.7504831553, -0.8164185882, -0.9510986209, 0.3386768997, -0.0661949217, 0.211947307, -0.9519258142, 0.5170878768, -0.8583657146, 0.3265738487, -0.4992012978, -0.4126642048, -0.0639120489, 0.0232349373, -0.458162576, 0.6310476661, -0.2699149549, -0.549407959, 0.2133768946, -0.3267020583, -0.4210176766, 0.0324765295, -0.4255358279, -0.3077759147, 0.3079517186, 0.3432172239, 0.1512598991, -0.3046406209, 0.0760168657, -0.4104146659, -0.5144678354, 0.636387229, -0.6112231612, 0.5315092206, 0.0372819826, -0.7477912903, -0.1126465797, -0.1232208088, -0.138480112, 0.2944051921, -0.3979536593, -0.206142202, 0.283095032, -0.0562124886, 0.121974133, 0.19032529, -0.5750698447, 0.0621041283, -0.225552395, 0.0785068721, 0.8750088811, 0.0832457319, 0.2679538131, -0.6031245589, 0.6909254193, 0.0202218704, 0.3002856672, -0.1665654331, -0.7188929915, -0.6827768087, 0.2114618123, -0.0933374614, 0.3994369209, -0.3698573411, 0.3603879511, 0.0448449291, -0.2057932764, -0.688012898, 0.0653073639, 0.0328594372, 0.1589790732, 0.1359933615, -0.248264581, -0.4364629388, -1.0673781633, -0.4283580184, -0.198714599, -0.3262453675, 1.048140049, 0.0108484821, -0.2679232955, 0.6434201598, -0.5198317766, -0.5205513239, -0.2155546993, -0.0859568119, 0.3796993792, -0.1198723689, 0.2561181188, -0.9612572789, -0.2001939565, -0.2617916465, -0.614172101, -0.4395444691, 0.1226459593, 0.165528059, -0.1457141191, 0.3506039083, -0.652825892, 0.2960636914, 0.6581751704, 0.2102537602, 0.4596421719, 0.2674299181, 0.3062996268, -0.8577613831, 0.0190713741, -0.1278284788, -0.0176872667, -0.5683556795, 0.0218265448, -0.3094314039, -0.2446717918, -0.3487274349, 0.2945339978, -0.428547591, -0.2231429964, -0.6327312589, 0.5151626468, 0.0890884399, -0.0104128718, 0.0318007767, 0.8965299726, 0.5842157006, -0.62890625, 0.2306933403, 0.0629372597, -0.4086205661, 0.192230463, -0.4256905913, 0.4468492568, -0.1131966785, 0.4501380324, -0.8088130951, -0.1395153403, -0.1868328154, -0.3021501899, 0.0066871182, 0.1387301385, -0.3765751719, -0.2483766079, -0.46889925, 0.5442383885, 0.4683838487, -0.7585148215, 0.4394354522, 0.558594346, -0.5884767175, -0.5824531913, -0.4929511845, 0.4817063212, -0.1754525602, -0.5373427868, 0.4394262135, 0.0599114113, -0.6129925847, -0.14396438, -0.0571408607, 0.3164226413, 0.1504389942, 0.3410367966, 0.2434661686, 0.0311440732, 0.4604147375, -0.2240071595, 0.1128162071, 0.1107880101, -0.1619379073, 0.8479553461, -0.2807231545, -0.7279152274, -0.2498890311, 0.607144773, 0.4221331477, 0.1528254449, 0.6404135823, 0.0706153288, -0.1693153083, -0.083407037, -0.8909674883, -0.6219889522, -0.5261240602, 0.4037767053, 0.1083943024, -1.227930665, 0.3883211911, -0.062427368, -0.1714440137, 0.3293733895, 0.9278357625, -0.3865925968, 1.3247383833, 0.5118910074, -0.1906486303, 0.7045817971, 0.0703709945, 0.3867909014, -0.8986648917, -0.2646819651, -0.655464232, -0.4885003269, -0.9447697401, -0.0898951292, 0.7005244493, -0.2524208724, 0.2518201768, -0.4312782884, -0.7122306824, 0.2307654768, 0.6682835817, 0.4763195217, 0.5362687111, 0.0517366789, 0.1896144301, -0.1134354547, -0.6424244046, -0.4506542087, 1.4859161377, 0.2183167934, 1.1210095882, 0.2181892395, 0.5632638931, 0.306222856, 0.2352143228, -0.9346783757, 0.4986379445, 0.0216050614, -1.0462816954, -0.1950304806, -0.3462955058, -1.1045453548, 0.2319158465, -0.1156133562, -0.6458827853, 0.347754389, -0.0668755397, -0.0928261057, 0.4988612831, -0.3367788494, 0.0162080377, -0.588891685, -0.3707635403, -0.5919796824, -0.3786324561, 0.3685908318, -0.2188461721, 0.1651067883, 0.1599483192, 0.1491855085, 0.7140072584, 0.0248113554, 0.7787245512, -0.0306385737, 0.0795633644, 0.2635938823, 0.0337868817, 0.5416781306, 0.0016585905, -0.1296236068, 0.2378807366, -0.5004761815, -0.1836582571, -0.5361856222, 0.6655848622, -0.6534808278, -1.4423065186, -0.4234006107, -0.4826836586, 0.0153102446, 0.1850093752, 0.3008706868, 0.0507833473, -0.3387127519, 0.7244998217, 0.8433247805, -0.2288305014, 0.0264463276, 0.4445577264, -0.4685164094, -0.1227774695, 0.4404677749, 0.2292866558, 0.3678385913, 0.2829693854, 0.2006328106, -0.1540249437, -0.522174716, 0.0870618001, -0.0122226495, -0.490474999, 0.0529508628, -0.5764338374, -0.2985746264, -0.3297355473, 0.0639478564, -0.2659430802, -0.0700715408, -0.465547502, -0.1357038468, -0.0177067574, 0.7701708674, 0.1476667076, 0.2272779197, -0.3808458447, 0.168318674, 0.6894463301, 0.3644283712, -0.2304826081, -0.4682440758, -0.1195028052, 0.0328997932, -0.6243211031, -0.9240692854, 0.1560786515, -0.103172712, 0.6757577062, 0.5088936687, 0.1026247218, 0.151080355, -0.1285445988, 0.9413217306, 0.0417303517, -0.4423918128, 0.4823517203, -0.4194287658, 0.3209101856, 0.3763115108, 0.2467505634, -0.6093797684, -0.4172495306, -0.6485161781, -0.7094238997, 0.5027104616, 0.305675, 0.3389377594, 0.0712682828, 0.1274043471, 0.1277582496, 0.5657261014, -0.7046591043, -0.1397685856, -0.1044652686, 0.2525525689, 0.1404081732, -0.5177937746, -0.3786195219, 0.1237342283, 0.6462987065, 0.0584538691, 0.2629200518, 0.4895467162, 0.234187007, -0.2602731287, 0.5771046281, 0.3722488582, 0.2096092999, -0.4634493291, 0.3029091358, 0.0493259355, -0.4529868662, 0.2142155468, 0.020119762, -0.3898560107, 0.0925482512, 0.0016962609, 0.783741951, -0.0168469958, -0.7501934767, 0.49719733, -0.1469796002, -0.1464273781, -0.2781232595, 0.0994799659, 0.1212126017, 0.2960557938, 0.709746778, -0.1373027116, 0.4304432273, -0.790620923, -0.0661350563, 0.9538740516, -0.3627274632, -0.0664272457, 0.4580044746, 0.2485998571, -0.6461073756, 0.4321423173, 0.2224297822, -0.4702081084, 0.3461785316, 0.5316973925, 1.245020628, -0.2908958495, -0.0411574058, -0.1974327862, 0.533439815, 0.0947416872, 0.0248201694, -0.1195689216, -0.8746419549, 0.2102194726, -0.384565264, -0.8532621264, 0.3093200624, -0.6611648202, 0.0026076955, -0.1871579736, -0.6028660536, -0.2986286581, -0.075593546, -0.7420262694, -0.1504959315, 0.3153018355, 0.6117497683, -0.47718817, 0.3176944554, 0.4807134271, -0.0890418068, -0.3525600135, 0.4169817567, 0.2869636118, -0.7824505568, 0.5370835066, 0.1961390674, -0.5017796159, -0.1737076491, -0.6903946996, -0.9955230355, 1.0924466848, 0.3327079713, -0.8165253401, 0.0722553656, 0.379119575, 0.4801092446, -0.5010207891, 0.3370273411, 0.5701876283, 0.3351351619, -0.162446022, -1.0100995302, -0.149922058, -0.1871890128, -0.1369330734, -0.1286598295, -0.826454699, 0.6582402587, -0.0272368155, -0.4028196633, -0.1059204191, 0.0524944402, 0.5112882257, 0.4155699611, 0.4651398659, 0.3158548176, 0.6653313041, 0.0667593926, 1.25509727, -0.2727277577, 0.1697171777, 0.6647726893, -0.6200806499, 0.793299973, 0.6089558601, -0.1994068176, 0.4071699679, 0.4152988791, 0.214989081, 0.4863197207, 0.1569993496, -0.7305329442, -0.1962373257, -0.5373187661, -0.3948175907, 0.23598364, 0.4965004325, -0.6758858562, 0.0082541751, -0.0718034655, -0.0773236901, -0.0110879289, -0.1323520988, 0.8125382066, 0.3329285681, -0.572158277, 0.258105427, -0.256395489, 0.7279013395, -0.3650946319, 0.3366649151, -0.1798131168, -0.1040702313, -0.2969637513, -0.9361806512, -0.1297918409, 0.0256618392, -0.2096087188, -0.2068484128, 0.9813147187, 0.0453425311, -0.4052941501, 0.654920578, 0.7518719435, 0.1991473287, -0.327978462, -0.4945340157, 0.1458799541, 0.1169961616, -0.6576299667, 0.4844837785, -0.0409114286, 0.2337138951, 0.7321902514, 0.7826479673, 0.2380766571, 0.1365664154, 0.3135870099, 1.2105331421, -0.7356109023, -0.2060831636, -0.6713833213, -0.0105140973, -0.1295146495, 0.0318346359, 0.5211585164, 0.6216521859, 0.7734530568, 0.3111412823, 1.2220366001, 0.3090826571, 0.39948681, -0.5379287601, 0.5487372875, -0.4681806862, 0.5717204213, -0.0632448941, -1.2007682323, -0.1812709123, 0.2124723196, -0.4808867574, 0.323717922, 0.5836414695, 1.164483428, 0.1476655006, 0.1266133636, 0.3060638607, 0.4130475521, 0.6014386415, 0.2622680366, 1.1134041548, -0.1357757151, 0.7239586711, 0.011224228, -0.3945983052, -0.5933318734, -0.4053630233, -0.5046061277, -0.300282985, 0.1332982481, -0.2108430713, 0.2192250043, 0.6882210374, 0.4650900662, -0.5292565227, -0.3515357375, -0.1073702723, 0.2824313641, 0.0620711744, -0.3021589816, -0.0268307161, -0.1160783917, -0.717244029, 0.6128141284, 0.5410212278, -0.17778036, -0.512057364, 0.0736678168, 0.0108132642, 0.274028331, 0.3470365107, 0.1011138484, -0.8768724799, -0.4614050686, 0.3518384397, -0.3306465745, 0.3106150031, 0.8968453407, -0.8465678096, 0.7265538573, 0.3532712758, 0.4207651317, 0.6977282763, 0.2745018601, 0.5809543729, -0.4740948081, -0.0013080612, 0.5160388947, 0.2477022409, 0.2158408463, -0.5174924731, 0.059055049, 0.1460977644, -0.880648911, -0.7631152868, 0.2814053595, -0.8642596006, -0.2054344118, 1.3050355911, 0.4565867782, 0.1886265129, -0.1116312668, -0.4097152054, 0.0951474756, -0.5332515836, 1.2982923985, 0.7005950212, -0.4551478922, -0.088737607, -0.543633461, 0.1731500626, 0.6446077228, -0.6463611722, -0.0468889959, 0.2275265604, 0.0585155748, 0.3279996812, 0.5052201152, -0.3082434833, 0.1896618903, -0.0614589117, -0.0477169231, 0.2533596158, -0.177289933, -0.5664104223, 0.3513938785, 0.1161407903, 0.035570249 ]
http://arxiv.org/abs/2402.05868v2
http://arxiv.org/pdf/2402.05868v2
EmojiCrypt: Prompt Encryption for Secure Communication with Large Language Models
2024-02-08T17:57:11
2024-02-12T16:26:14
Guo Lin, Wenyue Hua, Yongfeng Zhang
cs.CL
cs.CL, cs.AI, cs.CR, cs.IR, cs.LG
Cloud-based large language models (LLMs) such as ChatGPT have increasingly become integral to daily operations, serving as vital tools across various applications. While these models offer substantial benefits in terms of accessibility and functionality, they also introduce significant privacy concerns: the transmission and storage of user data in cloud infrastructures pose substantial risks of data breaches and unauthorized access to sensitive information; even if the transmission and storage of data is encrypted, the LLM service provider itself still knows the real contents of the data, preventing individuals or entities from confidently using such LLM services. To address these concerns, this paper proposes a simple yet effective mechanism EmojiCrypt to protect user privacy. It uses Emoji to encrypt the user inputs before sending them to LLM, effectively rendering them indecipherable to human or LLM's examination while retaining the original intent of the prompt, thus ensuring the model's performance remains unaffected. We conduct experiments on three tasks, personalized recommendation, sentiment analysis, and tabular data analysis. Experiment results reveal that EmojiCrypt can encrypt personal information within prompts in such a manner that not only prevents the discernment of sensitive data by humans or LLM itself, but also maintains or even improves the precision without further tuning, achieving comparable or even better task accuracy than directly prompting the LLM without prompt encryption. These results highlight the practicality of adopting encryption measures that safeguard user privacy without compromising the functional integrity and performance of LLMs. Code and dataset are available at https://github.com/agiresearch/EmojiCrypt.
[ -0.1982896328, -1.145737052, 0.6570236683, 0.2412301302, -0.3583462238, 0.3573004901, -0.3120137155, -0.3530995846, 0.2795125842, 0.7912088037, -0.7262215018, -0.6692094803, -0.6675283313, 0.2220448256, -0.3386677504, 0.5519511104, 0.2372393161, -0.1516226232, -0.0474257208, 0.3026224077, -0.3324976265, -0.7832409739, -0.7300533056, -0.0075996597, 0.3501070738, 0.5155866742, 0.9367384911, 0.4582803249, 0.477594167, 0.2403285354, -0.2671810091, -0.1223018467, -0.2215077579, 0.7613169551, 0.1926027387, -0.5327287912, 0.0749674439, -0.5453561544, 0.3289461434, 0.1139215752, -0.3016800582, -0.1000387818, 0.1093635559, 0.5540627837, -0.6692792773, 0.2040667534, -0.8423944116, 0.1208108291, -0.2292723507, -0.3089585304, -0.3521176279, -0.2700970173, -0.2301580608, -0.2595193982, -0.2818575799, 0.3855086565, 0.4706366956, 0.2839459777, -0.096576646, -0.401047945, -0.292140305, 0.5638644695, -0.4687941968, 0.6038520932, 0.7586345077, 0.4644478261, -0.2021364719, -0.5595753789, -0.4632399976, -0.4405755997, 0.1995467693, 0.0120907687, -0.0818557516, 0.2943487167, 0.3763437867, 0.109209314, -0.5547080636, 0.345975548, 0.1926735044, -0.3048239648, 0.2555255592, 0.2078480273, 0.6644918323, -0.2411421686, -0.4684861898, 0.1264471859, -1.1168761253, 0.2400344312, 0.2017025203, 0.4218266904, -0.2028123438, 0.7814757824, -0.2548325062, 0.3966614008, -0.0291111358, -0.0043779481, -0.2016165107, -0.105109632, -0.0819818377, 0.2457237393, 0.97308743, 0.1297473013, 0.2431469411, -0.2520917058, -0.0967900753, -0.1005829796, -0.061672274, -0.9531161189, 0.1298376173, 0.4216541648, -0.1960480362, -0.3894349039, -0.0244041979, -0.7136377692, -0.7177547812, -0.0577867217, 0.0817443803, -0.3411682248, 0.2200264782, -0.1418357641, 0.3352161944, -0.0533922985, 0.3578569293, -1.3735702038, 0.4925301075, 1.0899809599, 1.0165321827, 0.1310179681, -0.1916379482, -0.3558017612, 0.1274277866, 0.0149964401, 0.3131921291, -0.7283286452, -0.4010313153, 0.3645502627, -0.0359066837, 0.0352482125, -0.0110277571, 0.5053983331, -0.5802845955, -0.0319192708, -0.1175526604, -0.7581694722, 0.1450107098, 0.2962223291, -0.5607566237, 0.4479385614, -0.3675114512, -0.8005926609, 0.166691944, -0.4727012515, -0.4367175996, 0.3784733713, -0.4750055075, -0.352030009, 0.0730250105, 0.7746144533, 0.6692358255, -0.3714645803, -0.1851372868, -0.4665264189, -0.3452909291, 0.9694778323, -0.4572491348, 0.7997194529, 0.3350153565, -0.0907034427, -0.1201733276, -0.1950395703, -0.0117418226, 0.1398739815, -0.1045669243, -0.125903964, -0.1948262304, 0.1998178661, 0.0597701073, 0.6364173293, -0.7900282741, 0.2383976132, -0.4418264031, 0.8330801129, 0.641321063, 0.0515866205, 0.5539004803, -0.0887000859, 0.8092214465, -0.3098792434, 0.4797010124, -0.5773441195, -0.7680669427, -0.1345753074, -0.5477966666, 0.33591941, 0.7362769842, -0.8575459719, 0.6425714493, -0.1999991983, -0.3131406903, -0.516159296, 0.1833544672, 0.2657165229, 0.1935155392, -0.1436514109, -0.126746878, -0.2995378673, -0.7058048844, -0.4787442982, -0.1351131201, -0.1560574174, 0.5794969797, 0.2521604002, -0.2502849698, 0.65296942, -0.5444520116, -0.2745035291, -0.1963576227, -0.1471487582, 0.1601104438, 0.4679237306, 0.2675740719, -0.8081669211, -0.4259749055, -0.2136876285, -0.542748034, -0.1683487743, -0.2814106941, -0.1173254773, 0.2637064457, 0.3379585445, -0.9619190097, 0.4315482676, 0.7658498287, -0.6277948618, -0.0899221674, -0.1566094309, 0.377861172, -1.0474563837, -0.051925797, -0.4832927883, -0.5203566551, -0.6415603161, 0.100455448, 0.197351709, -0.6375695467, -0.5213249326, 0.4448588789, -0.4520253837, 0.1252911836, -0.1647829264, 0.0357583538, -0.2992829978, 0.2095984071, -0.1163517535, 0.6976773739, 0.8140338063, -0.1095339805, 0.2273736894, 0.727887094, -0.2155513167, 0.3801255524, -0.5075579882, 0.6406588554, 0.2393927872, 0.0990749151, -0.8779932857, -0.2754543424, 0.5786401033, -0.8262580633, 0.1996581405, -0.2804487646, -0.8295570016, 0.043634627, -0.4500422478, -0.0125126, 0.8050336838, -0.7020338774, 0.6972557902, 0.4111912549, -0.4075175524, -0.5400360823, -1.0456939936, 0.5932956338, -0.1982064694, -0.8415765166, 0.1493013352, -0.2503711581, 0.1173315644, -0.3405221403, 0.0684647262, -0.3771927357, 0.5278717875, 0.800052762, 0.2005344182, 0.5264988542, -0.0528244227, 0.2066898495, -0.1402674913, 0.1494372934, 0.0139862709, 0.7530094385, 0.0861110985, -0.4093690217, -0.7143295407, 0.4923312068, 0.5469695926, -0.0755414143, 0.9903388619, 0.2562453449, -0.5093817711, -0.3025074303, -0.5216457844, -0.6068848968, -0.558591187, -0.0013282119, -0.3558005691, -1.2200497389, 0.6929386854, 0.0821014494, -0.0080576902, -0.3079380393, 0.62063694, -0.1393234581, 1.0375256538, 0.284671694, -0.1846963167, 0.8185304403, 0.4364264607, 0.3654118478, -0.6502315998, -0.2515063882, -0.4993942678, 0.1285416037, -0.5958289504, -0.0862022191, 0.1395941973, 0.0741845667, -0.2172870636, 0.2246116847, -0.4341207445, 0.5103794336, 0.3275553286, 0.3807948232, 0.3240686059, 0.3431529403, 0.2838434875, -0.2231998891, -0.3634551167, -0.4524828792, 1.0092954636, 0.4288555682, 1.1658481359, 0.1543873996, 1.1237475872, 0.2527195811, -0.0486585796, -0.6861621737, 0.5498633981, 0.0821719691, -0.359366715, -0.3056081235, -0.5154204965, -1.1411319971, 0.2650692165, -0.3507355452, -1.108877182, -0.1749149412, 0.2437589467, -0.2408322841, 0.1184795946, -0.38518852, 0.5008473396, -0.3564743698, -0.1346689612, -0.0547469631, -0.6826902628, 0.2322034687, -0.3079377413, 0.2575199008, -0.1314295679, -0.3391099274, 0.5752099156, -0.4663327038, 0.8920007944, -0.0726598799, 0.2549464405, 0.1153657213, 0.3455186486, 0.936943233, 0.3871087134, 0.3021182418, 0.3283751309, -0.1542500556, 0.0273990948, -0.8401024938, 1.0063197613, -0.4815629423, -0.7509982586, -0.3211776018, -0.3773395121, -0.0903221369, 0.0374550819, 0.1761674732, 0.2129817009, 0.0786619112, 0.3573007882, 0.4520095289, -0.2196385115, 0.4473667443, 0.3101572096, -0.3525506556, -0.7434685826, 0.5698011518, -0.0241127387, 0.1419806182, 0.6078556776, 0.2912491262, -0.64754498, -0.408293575, -0.4970116317, 0.0847831815, -0.9385969043, -0.1932820082, -0.6715613604, 0.0452188924, -0.5121483803, -0.382101953, -0.0742227361, -0.7045860887, -0.2505064011, -0.004368729, 0.5746330619, 0.2559070587, 0.2868792415, 0.3783701062, -0.8500947356, 0.2284310609, 0.0597262122, 0.0236561447, -0.2274168283, -0.4051471651, -0.0043451865, -0.0585003011, 0.0243896432, -0.9589276314, 0.4804711342, 0.0293797031, 0.380433619, 0.3966867924, 0.1241704822, 0.3312850296, -0.468365252, 0.7982506752, 0.4191874862, -1.2908214331, 0.524356842, -0.2129645497, 0.3150531352, 0.7064522505, -0.0240246635, -0.8219316602, -0.5018113852, -0.5452333093, -0.9373210073, 0.4689479768, 0.6109771132, 0.1476944834, 0.1005821973, 0.2476638258, 0.0061088931, 0.4588125646, -0.5983777642, -0.2963641882, -0.1273177117, -0.507943809, 0.1604745537, -0.2818429172, -0.0085441675, 0.1826592237, 0.2374873012, 0.0466099605, 0.4318135679, 0.0160163771, -0.1575066, 0.3615912497, 0.6474276781, 0.2457979321, 0.2355320007, 0.0396410301, 0.2284333259, 0.2635166645, -0.7145491242, 0.1014973596, 0.0757430792, -0.3849076033, -0.2631351352, 0.3242678344, 0.4269667268, 0.2460311353, -0.673130095, 0.7758992314, -0.377007246, 0.2151782513, -0.5724592209, -0.1235320717, 0.0904070958, 0.0381511785, 0.1355730593, -0.254393667, 0.1860860437, -0.3542229533, -0.0283056926, 0.3866361678, -0.1818757206, -0.2833967805, 0.620266974, 0.2387197167, -0.4753079414, 0.662524581, 0.2898640633, -0.6006571651, 0.5300571918, 0.6387222409, 1.1384949684, -0.478362143, 0.0779890791, -0.0944911167, 0.545320034, -0.0980765074, 0.7009967566, -0.2388645858, -0.5080019236, 0.0446927398, -0.3140798509, -0.6589415073, -0.2604819238, -0.4604498148, 0.0102782212, -0.9437878132, -0.1512655318, -0.2839903831, -0.5011443496, -0.7750948668, 0.0904623941, 0.4322847724, 0.7626408339, -0.7537531257, 0.6413741112, 0.4478131533, -0.1695747823, -0.4993124008, -0.1622081846, 0.1021059379, -1.0485289097, 0.4220801294, 0.3631121516, 0.0004019671, -0.3468610942, -0.658914566, -0.8565453291, 0.9706885815, 0.510016799, -1.1179367304, 0.3340366781, 0.5641711354, 0.1939835548, -0.42568174, 0.2761490643, 0.3719353676, 0.5112038255, -0.0381361768, -0.6351275444, 0.6950631738, 0.1853813827, 0.0335823186, 0.1363022476, -0.3648107946, 0.6448968649, -0.1054136679, -0.5953407884, 0.0861127898, 0.320607841, 0.4355452657, 0.1228090823, 0.4687240124, 0.1582382023, 0.9190095663, -0.1084560826, 1.1813874245, -0.7356945276, 0.2895486355, 0.7011691928, -0.2145577371, 0.9338365197, 0.6438477635, -0.0134399543, -0.0748773515, 0.5825804472, -0.0029331837, 0.681419909, 0.2489376813, -0.467123121, -0.3895376623, -0.3246106803, -0.1980669051, 0.097862117, 0.4487323463, -0.5722553134, 0.250094533, 0.1495467275, 0.2544164956, 0.0563547686, -0.3026123047, 0.6870518327, 0.5051684976, -0.406642288, 0.5554264188, -0.193834126, 0.6076213717, -0.4708086252, 0.2227992564, 0.1019474715, 0.0146435285, -0.3850559294, -0.9539883137, 0.031482324, 0.0555697307, 0.2578591406, -0.1353796721, 0.8652192354, -0.4520733953, -0.4589695334, 0.1801734269, 0.2513226867, 0.1950291395, -0.302511394, -0.9740427136, 0.4716050625, -0.0258129295, -0.4836155772, 0.2804280818, 0.0119206151, 0.1153537855, 1.1081968546, 0.7034927607, 0.1449781656, -0.1422916204, 0.4551532567, 0.7132837772, -0.8271417618, -1.0136380196, -1.3055019379, 0.1541684717, -0.0857274458, -0.0664723739, 1.0040271282, 0.1818289459, 0.3767085075, -0.0334161669, 0.8533214331, 0.1454216391, 0.2159053236, -0.8082925081, 0.8440619111, -0.0820984095, 0.3056331575, -0.0704148561, -0.7222172022, -0.4636304975, 0.1916250885, -0.1890803277, -0.0132750729, 0.5728309751, 0.8695403337, 0.3328994811, 0.1607667357, 0.5121415257, 0.10633149, 0.4945957363, 0.570941329, 1.076274991, -0.1311781257, 0.3604255021, -0.2577707469, -0.2174199373, -0.1466554552, -0.72231704, -1.4345221519, -0.3389151394, -0.1724442542, -0.1512271613, 0.2607249022, 0.9180347323, 0.4476895034, -0.5936819911, 0.1294602305, -0.2272693813, 0.0157594569, -0.0309141241, -0.0897583812, 0.4292401969, -0.0439314097, -0.4624920487, 0.482291013, 0.1939329207, 0.2952738106, -0.1705430001, 0.0063394317, 0.4280675948, 0.280009985, 0.250020206, 0.2949133217, -0.9861702323, -0.1488247663, -0.1588646024, -0.1377713233, 0.0668241903, 0.6756793261, -0.3260781765, 0.4252614379, 0.7206113935, 0.8386753798, 0.4652128816, 0.2460392118, 0.2690098584, -0.6389607191, 0.1229731664, 0.1864941567, 0.6510711312, 0.6423636675, -1.0483666658, 0.096678257, -0.2454706132, -0.7875169516, -0.7412416339, 0.3804368377, -1.1199587584, -0.1225983426, 0.987152338, -0.3314984441, -0.4815234542, -0.1293213516, -0.3889677823, -0.2596539557, -1.0745068789, 0.7570232153, 0.412607789, 0.1792202443, -0.5215615034, -0.3599362969, 0.6226637363, 0.3895428777, -0.923275888, 0.4259156287, 0.0740989596, 0.2937203348, -0.1096336544, 0.5034624338, -0.1471846402, 0.1924365461, -0.1669909954, 0.0937680081, -0.4768468738, -0.3046227098, -0.6844383478, 0.316876471, 0.2236506194, -0.2493265122 ]
http://arxiv.org/abs/2402.05864v1
http://arxiv.org/pdf/2402.05864v1
Permute-and-Flip: An optimally robust and watermarkable decoder for LLMs
2024-02-08T17:54:23
2024-02-08T17:54:23
Xuandong Zhao, Lei Li, Yu-Xiang Wang
cs.CL
cs.CL, cs.CR, cs.LG
In this paper, we propose a new decoding method called Permute-and-Flip (PF) decoder. It enjoys robustness properties similar to the standard sampling decoder, but is provably up to 2x better in its quality-robustness tradeoff than sampling and never worse than any other decoder. We also design a cryptographic watermarking scheme analogous to Aaronson's Gumbel watermark, but naturally tailored for PF decoder. The watermarking scheme does not change the distribution to sample, while allowing arbitrarily low false positive rate and high recall whenever the generated text has high entropy. Our experiments show that the PF decoder (and its watermarked counterpart) significantly outperform(s) naive sampling (and it's Gumbel watermarked counterpart) in terms of perplexity, while retaining the same robustness (and detectability), hence making it a promising new approach for LLM decoding. The code is available at https://github.com/XuandongZhao/pf-decoding
[ -0.0207961779, -0.3813557029, 0.3812067807, 0.3104609549, -0.7028486133, 0.2063558847, 0.349511981, -0.2871256769, 0.3201258183, 0.589904964, -0.4829180837, -0.6105612516, -0.6922886372, 0.04388313, -0.719337523, 0.4910586476, 0.04210978, 0.1463880688, -0.0166317467, -0.0843832195, 0.2862932086, -0.735645175, -0.4795698822, -0.6597544551, 0.1351347566, 0.1815792918, 0.8031651378, 0.8703620434, 0.5121023059, 0.1875810772, -0.341699332, 0.0688617229, -0.636433363, 0.1773435026, 0.150011465, -0.5189442039, -0.6502292752, -0.0689964145, 0.6045783758, 0.3920201361, -0.0491111055, 0.0962401554, 0.0414214358, 0.8242285252, -0.9854655266, -0.0023983279, -0.8384113908, 0.1380456388, -0.4565622211, -0.7980259061, -0.402669847, -0.3323316574, -0.5270097852, -0.6381468773, -0.0753888488, 0.1903446913, 0.6927700043, 0.1551990211, -0.2782029212, -0.0877410993, -0.7109891772, 0.7665219307, -0.721412003, 0.3515168428, 0.3253058493, 0.3908553421, -0.2270802855, -0.7139779329, -0.5693746209, 0.3169334829, 0.4900695384, 0.414075315, -0.2884898186, -0.1767765135, 0.0731562451, 0.7393912673, -0.3957317472, -0.1822980344, 0.3820513487, -0.3263804317, 0.5737361908, 0.5370876193, 0.0927804559, 0.2867444456, -0.6567792892, -0.4625818431, -1.0468283892, 0.1076802164, 0.9499061108, -0.1771824062, 0.1262958497, 0.4131770134, -0.0250278544, 0.5038419366, 0.0889523998, -0.4280813336, 0.2802633047, -0.2852642238, -0.2367436737, -0.0992681235, 0.5545854568, 0.4219133258, 0.1262159497, -0.3096889257, -0.5048219562, -0.1739143431, 0.0759653151, -0.8193141222, -0.399024725, 0.1228655577, -0.733822763, -0.5885517597, 0.3240727484, -0.75286901, -0.3768671751, 0.1241437718, 0.4660469592, -0.5665975213, -0.4615763426, 0.6970363855, -0.1461249143, 0.5790892243, 0.2051612288, -0.7796143889, 0.4065197706, 0.7646282911, 0.5513337255, -0.3422096074, -0.2791955471, -0.5287906528, 0.3029322326, -0.1947160661, 0.9687703848, -0.4116153419, -0.4707023501, 0.077090092, -0.222425878, 0.2166173905, -0.8571754098, 0.4875701964, -0.7957544923, -0.311350286, -0.1710329354, -0.6203696132, -0.014711624, 0.0130583309, -0.9360684752, 0.6379396915, -0.0571807101, -1.0166277885, 0.121696122, -0.2836839557, -0.5560825467, -0.0281712189, 0.1298986226, -0.7065194249, -0.0104988292, 0.4148102403, 0.2829011679, -0.2094000876, -0.330147028, -0.2883372009, -0.7121071815, 0.7722196579, -0.6820062399, 0.9786319137, 0.2413649261, -0.1920369267, -0.2176743746, -0.9154517055, 0.0998684093, 0.4905955791, -0.8277130127, -0.0053837956, 0.1139693335, 0.1973839104, -0.4585421681, 0.2950820327, -0.3589072227, 0.0045236172, -0.351667583, 0.4503253698, 0.7343349457, 0.0597789548, 0.6418188214, -0.4909489155, 0.5632331371, 0.1487540156, 0.1612223238, -0.2332920879, -0.3717644513, -0.4444947243, -0.6727989912, 0.345346123, 0.882452786, -0.8949657679, 0.4532765448, -0.2560101151, -0.0254455637, -0.3391456306, 0.4306666255, 0.1747864485, 0.3219079077, 0.4564543366, -0.3113307059, -0.4374064207, -0.5742497444, -0.4801140726, -0.0805222914, -0.1648629308, 0.0124637531, 0.3576594889, -0.2366000414, 0.7637392282, -0.3040366173, 0.041726239, -0.3037742972, -0.0496185534, 0.3772461116, 0.4387322366, 0.2997594476, -0.7406308055, -0.3097692132, -0.4260870814, -0.4895373583, -0.2437278032, -0.0729011595, -0.4356721938, 0.0870678872, 0.5773509741, -0.3056787252, 0.5392608643, 0.5669162869, -0.3292497993, 0.5902482867, -0.0884610116, -0.1852955967, -0.9909819365, 0.0734575242, -0.55233109, -0.4654185474, -0.4552046657, 0.0233762618, 0.3118158579, 0.1812909395, -0.4195473194, 0.3603869379, -0.6469489336, -0.044929523, -0.5334174633, -0.4288784266, -0.0888358876, 0.0987177417, -0.0038024234, 0.8586232662, 0.5381626487, -0.2980229557, 0.4188138545, 0.1804402769, -0.3605186045, 0.6593803763, -0.4071628451, 0.4214825332, -0.1940229833, 0.2513575256, -0.9931902885, 0.1369055212, 0.4144696593, -0.4461840093, 0.5461946726, -0.3336085081, -0.5765613914, 0.0034673109, -0.8029008508, 0.5845839977, 0.7305409312, -0.8560044169, 0.4836449325, 0.2633674443, 0.2824558914, -0.5287358165, -0.8540632725, 0.236216709, -0.1623614877, -0.4869144559, 0.5957263708, -0.1248486191, -0.0394025035, 0.0242603533, -0.541282773, 0.1230012476, 0.1022952944, 0.296243161, 0.0180770848, -0.1994279772, -0.6279841065, -0.0417800061, -0.8693550825, -0.0376720503, -0.5480622649, 0.6039317846, -0.15162009, -0.5913848877, -0.3558088541, 0.4530840814, 0.4400203228, -0.1381754577, 0.5095572472, 0.5194077492, -0.3427137733, -0.0277277976, -0.4241910279, -0.1564390659, -0.5431928039, 0.0405938886, -0.3579168022, -0.7447248101, 0.5367509723, -0.1423248947, -0.0189285204, -0.0883329138, 0.5209817886, -0.4341424704, 0.7168306708, 0.6442552209, -0.2430927455, 0.5318710208, -0.4755093157, 0.3519639969, -0.8287478685, -0.061405275, -0.2813563943, -0.3926116526, -0.1859343946, -0.498934269, 0.2616531253, 0.537191391, -0.1710544676, 0.2322326899, -0.4381295145, 0.6109595299, 0.6050627232, 0.1217921078, 0.6102215648, 0.5510374904, -0.0587464832, -0.0974015817, -0.634839952, -0.7551006079, 1.3998721838, 0.2544198036, 1.2602641582, 0.0410516001, 1.1182845831, -0.0492921025, 0.2114851326, -0.5886175036, 0.6679652929, -0.06558007, -0.3212264478, -0.2362861186, -0.4667496979, -1.2675305605, 0.3048287332, -0.2653420269, -0.5027186871, 0.1358394027, 0.0901757404, 0.0055075716, 0.7332459688, -0.2131055593, 0.2290245146, -0.2272119671, -0.1882973611, -0.0270166881, -0.4235192239, 0.1801936179, 0.2425888032, 0.101668112, -0.1174400598, -0.3346301615, 0.5953304172, -0.3179097176, 0.4810579717, -0.1803645045, -0.3079253435, 0.1804611981, 0.4146806896, 0.4982626438, 0.4467203319, -0.1867509186, 0.1061355993, 0.1572407931, -0.5815091133, -0.4750283062, 0.3672997057, -0.7393884063, -0.4950733483, -0.4974063635, -0.416826427, -0.1161820516, 0.1094858423, 0.592867732, 0.3297694921, 0.1293615401, 0.0856366456, 0.9077723026, -0.1353335083, 0.4847765565, 0.5594729185, -0.0472617261, -0.8316778541, 1.1009360552, -0.2719329298, 0.0701328143, 0.856495142, -0.0674353093, -0.2741380632, -0.9704415202, -0.2122002244, 0.1788625568, -0.9075341225, -0.5487847924, -0.3010075092, -0.3966307342, -0.2439192832, -0.1517564356, -0.4459348917, -0.1825968474, -0.4157896042, 0.0371653959, 0.1329106987, 0.2190698683, -0.2306724638, 0.0633241087, -0.5566216707, 0.6330744624, 0.4826745391, 0.3327398896, -0.1434203237, -0.589515388, 0.0887436494, -0.1164488941, -0.3563186228, -1.1459031105, 0.3054262102, 0.0020226554, 0.7367602587, 0.5665681362, 0.25575158, 0.351305306, -0.3007492721, 0.5191346407, 0.2667419314, -1.0194511414, 0.1331031471, -0.0995941311, 0.3067448139, 0.6000333428, -0.0540827848, -0.2331715822, -0.3251981437, -0.4520852864, -1.2992569208, 0.4426831305, 0.3487837911, 0.3078791499, 0.2036302239, 0.3982344866, 0.2492475212, 0.1479634345, -0.8343179822, -0.5573081374, -0.7342259288, -0.2984320819, 0.169070363, -0.7830713987, -0.1377034485, -0.1366482526, 0.5502121449, -0.2226415277, 0.9397820234, 0.1873770654, -0.4441505075, -0.0843387023, 0.2601277828, 0.4946087897, 0.3603748083, -0.3140545189, 0.6297538877, 0.1620028019, -0.8259567618, 0.3831136525, -0.160298124, -0.3445291221, -0.1025273576, 0.6149741411, 0.6336070299, -0.044161018, -0.4211111963, 0.6759444475, -0.0131902425, -0.5167845488, -0.0948166549, 0.0319486558, 0.3059962094, 0.4424673319, 0.6814819574, -0.2307980061, 0.181469515, -0.265394479, -0.0164952874, 0.5145349503, 0.3154209554, -0.3225991726, 0.753397584, -0.0105676726, -0.4293870926, 0.3606655002, -0.3238734901, -0.6103926897, 0.3233065009, 0.8483828306, 0.8767192364, 0.135384053, -0.0592000894, 0.0237732772, 0.3852469921, -0.1729584038, 0.6132716537, -0.2892613709, -0.9656381011, 0.0433661379, -0.6772124171, -0.63477391, 0.2563084662, -0.747705698, -0.110550493, -0.6203622222, -0.0566249005, -0.5747497678, -0.1945421398, -0.4353962839, 0.0003617716, 0.2858670056, 1.1510591507, -0.4376797378, 1.1261188984, 0.7930493355, 0.2926093638, -0.3571162522, 0.3457328379, 0.0099048764, -1.1573385, 0.1196458712, 0.037299566, -0.4940527081, 0.011066475, -0.7836993337, -0.9539266825, 1.5256259441, 0.7381793261, -0.3980975449, 0.4642544985, 0.2826728225, 0.1873793751, -0.1525641829, -0.0404893756, 0.7020870447, 0.5020671487, 0.0634639412, -0.3338946998, 0.1756963879, -0.434209168, 0.2310703546, -0.1041923165, -0.4951113164, 0.5494663119, 0.1252872497, -0.4423253238, 0.3861768842, 0.5116623044, 0.3535032868, 0.2578339875, 0.5039274096, 0.5710001588, 0.6432592273, -0.1231153607, 1.0762344599, -0.5668362975, 0.3414697647, 0.6503604054, -0.3309182823, 0.946500957, 0.886839211, -0.4403139651, 0.1431604773, 0.2922536433, 0.0237777364, 0.9368215203, 0.4045228064, -0.374381572, -0.614215672, 0.6709998846, -0.3592574298, 0.0321733169, 0.214658469, -0.1399638504, -0.2632808089, -0.1871942282, -0.1764445007, 0.1181099042, -0.1924393922, 0.4959263206, 0.2617956102, -0.0378978588, 0.7338573933, 0.3257876635, 1.156434536, -0.4128204286, 0.3379971087, -0.4936672747, 0.2195681781, -0.3071998358, -0.9751944542, 0.2402868867, -0.3028276265, -0.0831915066, -0.6399179101, 0.9805205464, -0.282092154, -0.2892092168, 0.3522214293, 0.2982717156, 0.2406954616, -0.1316961348, -0.5480076671, 0.3168355227, -0.1111868918, -0.4939201474, 0.3081283271, 0.1900029629, 0.3280017078, 0.7843313217, 0.7967820764, 0.0944729, 0.413598448, -0.0798638612, 0.5675836205, -0.7700294256, -0.4463874996, -0.9628475308, 0.2138455212, 0.2042258978, -0.0272252914, 0.552084744, 0.6227989793, 0.6829710007, -0.1811182946, 0.7584764361, 0.4693021774, 0.1862273216, -0.9146318436, 0.6238797903, -0.5278893113, 0.4109326303, -0.1840836853, -0.9147644043, -0.4465336204, 0.8902484775, -0.01841137, -0.1439699978, 0.570971787, 0.9872535467, -0.1154388338, 0.069129698, 0.3756504655, -0.1646295488, 0.3340180516, 0.9707380533, 1.027312398, -0.6108195186, 0.8585467935, -0.1303804666, -0.1476064622, -0.4782130718, -1.0586979389, -0.8616508842, -0.4004312456, -0.3254716098, -0.4652222991, 0.0641878247, 0.457482338, 0.6170502901, -0.8639702201, -0.1550989449, -0.1609764397, 0.4635208249, -0.5004323721, -0.1177627593, 0.2115288228, 0.0129503151, -0.5843390822, 0.372846514, 0.6581554413, 0.5557224154, 0.0202005394, -0.4629259706, 0.1934267581, 0.2950876057, 0.2600932717, 0.2108628601, -0.3036673367, 0.1890913695, -0.0173498522, -0.2870735526, 0.3958257437, 1.1471716166, -0.3770361841, 0.0062569724, 0.594506979, 0.8371534944, 0.9626396298, -0.1778851002, 0.16343759, -0.2618615627, 0.2612009346, 0.248567149, 0.3778260946, 0.3068962693, -0.2616646588, 0.2889307141, 0.6061578393, -0.0955912694, -0.9751867652, 0.2417836934, -1.0708507299, -0.1729377508, 1.2663314342, -0.1867414564, -0.3890939653, -0.1279489249, -0.1368977129, 0.0285572428, -0.167218715, 0.6440448761, 0.6989388466, 0.0165204816, -0.3164204657, -0.1378304511, 0.3374547064, 0.6694658399, -0.53451401, -0.1517972052, -0.0826804042, 0.752779305, -0.1223219484, 0.9149886966, -0.6212749481, 0.4398111701, 0.1688082516, -0.019270625, -0.5228136182, -0.1901398301, -0.5965024233, 0.3143051863, 0.1623246968, -0.2967863679 ]
http://arxiv.org/abs/2402.05863v1
http://arxiv.org/pdf/2402.05863v1
How Well Can LLMs Negotiate? NegotiationArena Platform and Analysis
2024-02-08T17:51:48
2024-02-08T17:51:48
Federico Bianchi, Patrick John Chia, Mert Yuksekgonul, Jacopo Tagliabue, Dan Jurafsky, James Zou
cs.AI
cs.AI, cs.CL, cs.GT
Negotiation is the basis of social interactions; humans negotiate everything from the price of cars to how to share common resources. With rapidly growing interest in using large language models (LLMs) to act as agents on behalf of human users, such LLM agents would also need to be able to negotiate. In this paper, we study how well LLMs can negotiate with each other. We develop NegotiationArena: a flexible framework for evaluating and probing the negotiation abilities of LLM agents. We implemented three types of scenarios in NegotiationArena to assess LLM's behaviors in allocating shared resources (ultimatum games), aggregate resources (trading games) and buy/sell goods (price negotiations). Each scenario allows for multiple turns of flexible dialogues between LLM agents to allow for more complex negotiations. Interestingly, LLM agents can significantly boost their negotiation outcomes by employing certain behavioral tactics. For example, by pretending to be desolate and desperate, LLMs can improve their payoffs by 20\% when negotiating against the standard GPT-4. We also quantify irrational negotiation behaviors exhibited by the LLM agents, many of which also appear in humans. Together, \NegotiationArena offers a new environment to investigate LLM interactions, enabling new insights into LLM's theory of mind, irrationality, and reasoning abilities.
[ -0.64511168, -0.7184452415, 0.7508749962, 0.1864078343, -0.2377160788, 0.2857739329, -0.4211146832, -0.7753767371, 0.647446394, 0.3218097687, -0.2890074849, -0.2920186222, -0.6126391888, 0.1374077052, 0.0767735094, 0.4485232234, 0.0676300228, 0.1014270335, 0.1439362317, -0.5794376135, -0.4762585759, -0.8752002716, -1.1958626509, -0.5591633916, 0.7329850793, 0.3261787295, 0.8509312272, 0.1135976687, 0.3958806992, 0.5081838965, -0.2873091698, 0.0083414866, -0.5504456162, 0.5106133819, -0.4744326174, -0.5471431017, -0.6215696335, 0.2130795419, 0.1776778996, 0.3752479553, -0.42056337, 0.1193223298, 0.0436480045, 0.5057839751, -0.3134476244, 0.1869055778, -0.9849379063, 0.1514755636, -0.1368701011, -0.1371918768, -0.3008129597, -0.3218419552, -0.0228219274, -0.6498883963, -0.3681658506, 0.055837974, 0.8612117767, 0.2173105776, -0.507810533, -0.3711435199, -0.5409098268, 0.4817602038, -0.4852972031, -0.0540008396, 0.3285498321, 0.4827370942, -0.5173811913, -0.8352048993, -0.7111611962, -0.4025425911, 0.1006141603, 0.3118158281, -0.5120020509, 0.0031115415, 0.2131497711, 0.2290542424, -0.281286329, 0.2996774614, -0.3559237123, -0.0445879996, 0.7648895383, 0.3570802212, 0.3789562285, -0.1075952426, -0.5672129989, -0.0662358031, -0.4135558903, 0.1531187743, 0.527161181, 0.2780946791, 0.1201544479, 0.6678622365, 0.0701706409, 0.4875017107, -0.1239845902, 0.3157447577, -0.3000611067, -0.1342500597, -0.4327013195, -0.2583165467, 0.6995226145, 0.6188138723, 0.4336999953, -0.2064220309, -0.2481357306, 0.291341722, 0.3910599649, -0.3623224199, 0.0939421505, 0.2059433609, -0.8546923995, -0.4075931907, -0.3462908268, -1.0633960962, -0.3061410487, -0.3279576898, 0.5537586212, 0.0277687423, -0.4980737269, 0.3202741742, -0.1287766695, 0.5617504716, 0.288795501, -0.7039136291, 0.8300927281, 0.4248800576, 0.8319179416, -0.1596810371, -0.595328033, -0.3500191569, -0.0166739635, -0.2307299227, 0.8883751035, -0.3970919549, -0.583878994, -0.1145742163, -0.4502499104, -0.2402297854, -0.6583987474, 0.4296315312, -0.7394667864, -0.3476298153, -0.4118852317, -0.4654521644, -0.0224826187, 0.80058074, -0.9488092065, 0.3870554268, -0.164351359, -0.3027124405, 0.110832572, -0.8371694088, -0.2816142738, 0.1066764444, -0.1908518225, 0.0140025988, 0.0507312007, -0.2167058438, 0.385078609, -0.5372006297, 0.1421708018, -0.3203443289, -0.2527146041, 1.1372262239, -0.372005105, 0.4713312685, 0.4228954911, -0.1670011729, 0.2825962901, -0.0119867828, -0.1067126766, 0.3871613145, -0.4605780244, -0.003657683, -0.1046502441, 0.175256148, 0.3197917938, 0.4262634814, -0.2566735446, 0.6596242785, -0.2083283663, 0.6564914584, 0.8034287095, -0.0462681055, 0.4739274085, -0.6020858288, 0.8595222831, -0.4946673512, 0.3221492767, 0.6920349598, -0.4280280173, -0.8139570951, 0.0469179936, 0.0586634651, 0.3726626039, -0.6648830175, -0.1786014289, -0.0277330205, -0.4196696579, -0.3650885522, -0.0252897721, 0.3723976016, 0.1202549636, 0.2234141678, -0.1219297647, -0.4140938222, -0.754709959, -0.4190195501, -0.2194073796, 0.2247523069, 0.1447686851, 0.3427131772, 0.0055961069, 0.6818175912, -0.2671222389, -0.4015522301, -0.6166923046, 0.3909839988, -0.1144405156, 0.1616525501, 0.6141775846, -0.8504489064, -0.3327277005, 0.1897747517, -0.4913651347, 0.3558038473, -0.1161470562, -0.3638897538, 0.3022276461, 0.5449883342, -0.8127189279, 0.5569499731, 0.5912749171, -0.430837214, 0.5118119717, -0.280526191, 0.1596506834, -1.1118135452, -0.0124797001, -0.2863242626, -0.3238767087, -0.4758505523, 0.2026475519, -0.522157371, -0.191996038, -0.5575056672, 0.5650553107, -0.4355224967, -0.3254814744, -0.3347556889, 0.3132886887, -0.2896645963, 0.6201796532, 0.1196525469, 0.968031466, 0.3571543396, -0.7469808459, 0.2424809784, 0.2235187441, -0.3183348477, 0.5859188437, -0.8021779656, 0.2460024655, 0.2270589471, 0.380046308, -0.652864337, -0.1856995672, 0.3547900319, -0.2297135741, -0.0643291697, -0.1352128088, -0.3845330775, 0.0460473523, -0.2215709686, 0.3967267871, 0.3649020791, -0.3298358917, 1.0074775219, 0.5420041084, -0.1566882432, -0.3463663459, -0.5403209329, 0.4906179905, -0.4290526807, -0.5327891707, 0.3012357354, -0.3471033275, -0.613894403, -0.095528096, 0.1813056767, -0.1825194359, 0.2051483542, 0.0395377874, 0.1017773524, 0.0257412065, -0.0426981859, -0.0655155927, -0.3777801096, 0.1153760999, 0.1331944317, 0.8227052689, -0.3746364713, -0.4012699127, -0.1439013034, 0.2737437487, 0.8366170526, -0.2317813784, 0.7969207168, 0.1309647411, -0.4343188405, 0.2169739902, -0.5238758326, -0.0919480845, -0.4708860219, 0.1949802041, -0.6474063993, -0.8630461693, 0.9874606133, -0.4333101809, -0.1172252968, 0.2634176016, 0.6221757531, -0.0222506002, 0.9374207258, 0.329805851, -0.0019946722, 0.0395591892, -0.1916732192, 0.0638864487, -0.8729504943, -0.4065449536, -0.4295166731, -0.7445106506, -0.4546741843, -0.4650427699, 0.3208882809, -0.0000290753, -0.1498979032, 0.2440163195, -0.2296342552, 0.9170465469, 0.1857538074, 0.1556777209, 0.3937167227, -0.3080313802, 0.0193029847, -0.159349069, -0.4116620123, -0.7421515584, 0.6712933183, 0.4886290133, 0.4321686924, 0.7019876838, 0.3418884873, 0.1673043668, 0.3173541725, -1.137554884, 0.8930894732, 0.1424102485, -0.462908417, -0.4588943422, -0.4993034899, -1.3491829634, 0.3485043347, -0.2068324089, -0.8851021528, 0.3262062967, -0.1771500409, -0.1753575951, 0.4837890863, -0.4119772315, 0.7095106244, -0.5308247805, -0.3387179971, -0.6260330081, -0.4700812399, 0.1952406466, 0.0743685812, 0.0748662278, -0.2516444325, -0.1218700036, 0.6403003335, -0.0024488815, 0.8580435514, 0.0221377574, -0.0505565405, 0.0261736047, 0.6358591914, 0.4031168222, 0.0224372335, -0.3640833199, 0.0953436419, -0.1430265754, -0.477863878, -0.8792846203, 0.5503766537, -0.747410655, -0.5872225165, -0.5991300941, -0.5320930481, -0.2478382736, 0.0079455748, 0.3539585471, 0.0639964789, -0.5791597366, -0.1250044256, 0.3860070109, 0.0959174931, 0.2189018428, 0.5040270686, -0.305149287, -0.316067785, 0.6927838326, 0.0673111379, 0.2327573001, 0.016500866, 0.1982601881, -0.3241663873, -0.5770165324, -0.0128908865, 0.1206642091, -0.7502913475, -0.4408428073, -0.2130952626, -0.1040763259, 0.1195201427, -0.3965621889, -0.3176417351, -0.479629457, 0.0154041657, -0.3065518439, 0.3837961257, 1.1599285603, -0.1648363024, 0.3063005507, -0.5067525506, 0.021081781, 0.6007555723, 0.1640959531, 0.2350360602, -0.205491364, -0.0762247294, -0.1109337434, -0.135198608, -1.0314310789, 0.3734771907, -0.2615973949, 0.6768028736, 0.1617785394, 0.1545274854, 0.6552143097, -0.1197993979, 0.8058503866, 0.1367866248, -1.2045404911, 0.2784236073, -0.2939307392, -0.1245722696, 0.5770283341, 0.1284936965, -0.4250498414, -0.2316730618, -0.5341980457, -0.9754882455, 0.4600489736, 0.3745177984, 0.2365892977, 0.1196023896, 0.3711855114, -0.0798485577, 0.2470951676, -0.9110068679, -0.1977840513, 0.1759446263, 0.0752636492, 0.0564465523, -0.2705111504, -0.5784121156, -0.096827358, 0.3636445105, -0.000490961, 0.2329636365, -0.027497353, -0.1202006787, 0.010220102, 0.4332630038, 0.7166790366, 0.7492141724, -0.0075337775, 0.1835832149, 0.4087260664, -0.147770077, 0.2650294602, 0.0741036311, 0.6072360277, -0.5468440056, 0.1970499009, 0.6162935495, 0.3443246782, -0.8002716303, 0.3139155209, -0.769169271, -0.5853953958, -0.3458436728, -0.0403788723, 0.2370225638, 0.8053884506, 0.1260292083, 0.0386454016, 0.1491859406, -0.5223301649, 0.0058175717, 0.3818921447, -0.0653091893, -0.2138916701, 0.4077585638, 0.4480414987, -0.522328198, 0.5740824342, -0.2755696476, -0.8047252297, 0.548797369, 0.3700638711, 0.6876111627, -0.1206627935, 0.4561595023, -0.1050065011, 0.3162952363, 0.0120498668, 0.3348524868, -0.1340131462, -0.9708111882, -0.2844952643, -0.2479120791, -0.8645619154, 0.0879404619, -0.7828605175, -0.1112617925, -0.3811823428, -0.4239859283, -0.2823307812, 0.3053435981, -0.8137207627, -0.3674588799, -0.2097637057, 0.9378653765, -0.5819274187, 0.6666363478, 0.9122735262, -0.7989687324, -1.0019901991, 0.1776026189, -0.2422552258, -0.7858680487, 0.6743955612, -0.0956658944, -0.5538848042, -0.0779713616, -0.7027328014, -0.4893161654, 1.0485502481, 0.8099548817, -0.3862305284, 0.143354848, 0.0958708823, 0.4537646174, -0.3115845025, 0.0840949342, 0.7206078768, 0.8171745539, 0.2650296092, -0.960613668, 0.1395501643, -0.2514853776, -0.1721541137, -0.085913375, -1.0173422098, 0.9030657411, 0.078993842, 0.0024967121, 0.4899714589, 0.5324781537, 0.3844749033, 0.5274683833, 0.6330704689, 0.3747140467, 0.9385455847, 0.1298556924, 0.9406033158, -0.0782000721, 0.2537970245, 0.8173164129, -0.7991138697, 1.0089640617, 0.5255724192, -0.061308898, 0.4641029239, 0.6092994213, 0.4777492285, 0.0374758691, 0.5299659967, -0.4060746729, -0.5383581519, -0.2068086863, -0.0827103853, 0.6382600665, 0.4013655782, 0.217854932, -0.0231864639, 0.0177234281, 0.2558558285, 0.2802611887, -0.2049312443, 0.7597632408, 0.2504718304, -0.4768825471, 0.07986366, -0.0525158942, 0.5185513496, -0.5624327064, 0.0014600923, -0.3254063725, 0.0239036791, -0.0004713249, -0.8503658175, 0.304279238, -0.1360403001, 0.0794566497, -0.2138133049, 0.8625671864, -0.2833493948, -0.1551631689, 0.7170637846, 0.6409314871, 0.3707706034, 0.0587890744, -0.8150549531, 0.4203904271, -0.3783132732, -0.35835132, 0.685076952, 0.5496990681, 0.1473432183, 0.7843321562, 0.5725716949, 0.3338707685, -0.4871826172, -0.0185898766, 0.9241431952, -0.5515534878, -0.3537466228, -0.6131345034, 0.4599043131, -0.2670699358, -0.202885747, 0.5457402468, 0.1526997387, 0.4385923147, 0.3015644848, 0.4263124168, 0.3578378558, -0.0426032916, -1.0422626734, 0.979409039, -0.5219010711, 0.2129263133, 0.085020788, -0.8917247057, 0.0096339602, 0.9555135369, -0.2201742679, 0.1135645583, 0.6556476355, 0.5178837776, -0.2187612504, 0.1725376844, 0.4273097813, 0.2268411964, 0.3394157887, 0.4703897536, 1.1874438524, 0.0076728067, 0.7907916903, 0.1098528653, 0.0012844785, -0.0004939283, -0.7477855682, -0.7994850874, -0.5481722951, -0.0971119776, -0.3940332234, 0.0866401047, 1.2065725327, 0.6805661917, -0.1425712556, -0.7983504534, 0.0525036864, 0.2957917452, -0.1710356325, -0.2275087833, 0.0288686454, -0.1748120785, -0.7271363735, 0.6396077871, 0.1304755658, 0.1761832386, -0.4558661878, -0.4393163919, -0.0717749074, 0.4460313916, 0.5174128413, 0.4095437825, -0.456367135, -0.1333662271, -0.039998766, -0.0038951337, -0.1454413235, 1.1862920523, -0.6396756172, 0.1526671797, 0.0485653467, 0.5219281316, 0.4227560759, -0.1753568053, 0.7002447248, -0.3699376285, 0.3691677153, 0.3571197689, 0.3502159417, 0.0602545254, -0.2288954556, 0.4685491621, -0.3333205879, -0.814103663, -0.5391798019, 0.5120609403, -0.8890937567, -0.4069087207, 0.9319427609, -0.0426020771, -0.1049532667, -0.2340640873, -0.3582525551, 0.0864780098, -0.5629150867, 0.7818350196, 0.8581346273, -0.4281290472, 0.0434459522, -0.4109992683, 0.3884476423, 0.6306423545, -0.7004195452, -0.1753059924, 0.3540970087, -0.097360298, 0.1043755412, 1.0262016058, 0.2548390627, 0.1432840824, -0.3591446579, -0.1286063343, 0.1244042367, -0.2314649373, -0.3826307654, 0.0894877911, 0.5548200011, -0.1281301528 ]
http://arxiv.org/abs/2402.06690v1
http://arxiv.org/pdf/2402.06690v1
Neural Models for Source Code Synthesis and Completion
2024-02-08T17:10:12
2024-02-08T17:10:12
Mitodru Niyogi
cs.SE
cs.SE, cs.CL, cs.LG, cs.PL
Natural language (NL) to code suggestion systems assist developers in Integrated Development Environments (IDEs) by translating NL utterances into compilable code snippet. The current approaches mainly involve hard-coded, rule-based systems based on semantic parsing. These systems make heavy use of hand-crafted rules that map patterns in NL or elements in its syntax parse tree to various query constructs and can only work on a limited subset of NL with a restricted NL syntax. These systems are unable to extract semantic information from the coding intents of the developer, and often fail to infer types, names, and the context of the source code to get accurate system-level code suggestions. In this master thesis, we present sequence-to-sequence deep learning models and training paradigms to map NL to general-purpose programming languages that can assist users with suggestions of source code snippets, given a NL intent, and also extend auto-completion functionality of the source code to users while they are writing source code. The developed architecture incorporates contextual awareness into neural models which generate source code tokens directly instead of generating parse trees/abstract meaning representations from the source code and converting them back to source code. The proposed pretraining strategy and the data augmentation techniques improve the performance of the proposed architecture. The proposed architecture has been found to exceed the performance of a neural semantic parser, TranX, based on the BLEU-4 metric by 10.82%. Thereafter, a finer analysis for the parsable code translations from the NL intent for CoNaLA challenge was introduced. The proposed system is bidirectional as it can be also used to generate NL code documentation given source code. Lastly, a RoBERTa masked language model for Python was proposed to extend the developed system for code completion.
[ -0.2687611282, -0.3693193197, 0.4875047803, 0.3497999609, -0.1162593886, 0.2682509124, -0.5105482936, -0.4096627533, 0.1702493131, 0.4979990125, -0.3939076066, -0.5812307, -0.2598442733, 0.3264790773, -0.5520224571, 0.7403789163, 0.0732476041, 0.0598766319, -0.0145997619, 0.2125952393, -0.8609127998, -0.6060557961, -0.4800348878, -0.0847542956, 0.2762426436, 0.3312274516, 0.4262680411, 0.4537862241, 0.3353567719, 0.2905808687, -0.065617688, 0.109363094, 0.0634969324, 0.2129696608, -0.0862263069, -0.3446078897, -0.4065939188, -0.2606115341, 0.2773157656, 0.61982584, 0.0538611859, 0.3185409606, 0.1781824976, 0.6200280786, -0.4738538265, 0.1840402484, -0.5841131806, 0.0769495368, 0.2806994915, -0.2907300889, -0.4993785024, -0.5057984591, 0.2820317447, -0.380340308, 0.0543057472, -0.1812506318, 0.3688930273, 0.5017130971, 0.0282932948, -0.7666154504, -0.6344322562, 0.4777098298, -1.1311631203, 0.2237161696, 0.3534312546, 0.0769946799, -0.0912043825, -0.671810329, -0.3901429474, -0.5274819136, -0.1574175656, -0.2140754014, -0.0027907563, 0.0975607038, 0.3672094941, 0.2659440637, -0.7277219892, -0.1304441541, -0.4215488434, -0.1688033342, 0.4924001098, -0.0799575597, 0.3717355132, -0.5263440013, -0.1329785287, 0.2473695129, -0.6316552758, 0.0022974052, 0.2268242389, 0.435642302, 0.0181666333, 0.4836644828, -0.3540042639, 1.1796963215, -0.1111700982, 0.3345508575, 0.1613002568, -0.6115357876, -0.4491736293, 0.0015809403, 0.6564904451, 0.1248532236, 0.3393757045, -0.3327219784, -0.1480218768, 0.1409986466, 0.4854857326, -0.3782585561, -0.0291881617, 0.2700590193, -0.4933704138, -0.3348444104, -0.0370346941, -0.6035158038, -0.238828063, -0.9284840226, 0.1313498616, -0.4900422394, -0.307315439, 0.2956444025, -0.1079000458, 0.0750719085, 0.2181236595, -0.6467519403, -0.0559637994, 0.5731485486, 0.6694048047, 0.0553130582, -0.2540870905, -0.2266095877, 0.1936650723, -0.2980521619, 0.3642112315, -0.6041811109, -0.1392345876, 0.0831020102, -0.2163714468, 0.2398483008, -0.5187225938, 0.115236558, -0.5963705778, -0.0969421938, 0.1598882079, -0.4973137379, -0.2468893528, 0.1797367036, -0.4972326159, 0.6450110674, 0.1230120957, -0.414005816, 0.1010315716, -0.5594091415, -0.5187882781, 0.0663183555, -0.1795442998, 0.0485074669, 0.1655281484, -0.0457706004, 0.3125733733, -0.2118803412, 0.7756974101, 0.0928077921, -0.4918656051, 0.006772961, -0.0561928563, 0.8265945315, 0.4829128981, -0.5140246153, 0.4216201603, -0.8628504276, 0.2120915502, -0.1812980622, -0.5696531534, -0.2958881855, -0.1211490929, -0.1085479781, 0.2714067996, 0.2436522245, -0.0592833236, 0.4115338326, -0.4485275745, 0.7385500073, 0.529663682, -0.2214385718, 0.6081283689, 0.140988484, 0.4259721935, -0.1038582921, 0.0741609186, -0.3837983906, -0.4765732288, -0.8031191826, 0.2306084633, 0.4782274961, 0.6763327718, -0.9178458452, 0.6434687376, -0.1677397788, -0.0870006382, -0.4446496665, 0.3946883082, 0.536925137, 0.3742154241, 0.3390895724, -0.357159555, -1.0529733896, -0.7979134321, -0.1317968369, -0.0517299175, -0.2015329599, 0.0325630344, 0.2347085178, -0.302696377, 1.0443102121, -0.2422055006, -0.0416292511, -0.3035341203, -0.2071223408, 0.5128627419, 0.7725341916, 0.2400668561, -0.727244854, -0.3221538067, -0.0549181662, -0.710375905, 0.1156575456, -0.1118331775, -0.0151114678, 0.148811698, 0.9354931116, -0.4205309749, 0.518996954, 0.4191414118, -0.2298189402, 0.4467688203, -0.2967867255, -0.3538859487, -1.2260401249, 0.3747673333, -0.1837673634, -0.0170527045, -0.6068071127, 0.3114530742, 0.2486614436, -0.3245197535, -0.3023100495, 0.2352697849, -0.5396416783, -0.1715712398, -0.3205807507, -0.1875278503, 0.0321386717, 0.7530845404, 0.1272604465, 0.8275635839, 0.580147326, -0.7592755556, 0.2845012546, 0.1569885761, -0.3375110924, -0.0280845687, -0.7171624303, 0.3621288538, -0.0158155374, -0.0076223984, -0.7144470215, -0.1335784197, 0.1741505563, -0.5692796707, 0.2512632012, -0.4106027186, -0.3972298801, -0.3951246142, 0.0101523232, 0.5458897352, 0.5074688196, -0.2639404237, 0.3408634961, 0.117480576, -0.1374434829, -0.5371260643, -0.7419996262, 0.4099956751, 0.2128491253, -0.4122225344, 0.3494834006, -0.1844982952, 0.0378228128, 0.059171062, 0.133373946, -0.0947888866, 0.0851162523, 0.3155769706, 0.3426996171, -0.1904343665, 0.04178451, -0.1330288649, -0.2401726693, 0.0818445683, -0.7494193316, 0.5813251734, -0.2682205737, -0.2653085887, -0.09401384, 0.4502431452, 0.351111114, -0.4500761628, 0.2305087, 0.225812152, -0.351129204, -0.347600013, -0.4596241117, -0.0392307639, -0.4449034631, 0.2226617783, -0.2546291649, -0.7662581205, 0.4489175975, -0.1173355654, -0.0916096345, 0.1779146343, 0.5242677331, 0.2122318596, 0.637822926, 0.6649638414, -0.1267323196, 0.6175635457, -0.7459536195, 0.2128359675, -0.9322136045, -0.0453982577, -0.4441688955, -0.308898896, -0.2620835602, -0.3552880287, 0.0641157553, 0.1504890472, -0.2301062196, 0.7744250298, -0.972299099, 0.5665000677, 1.0062404871, 0.0663276017, 0.2205820233, 0.041389823, -0.2815000117, 0.2916812301, -0.7269999385, -0.3254413307, 1.0945215225, 0.1188924164, 0.4353076518, -0.0849726722, 0.7241892219, 0.3410292268, 0.0902282298, -0.6141528487, 0.5040361881, -0.0961412117, -0.4233841598, -0.141602993, -0.2422105074, -0.5990678072, -0.3025693595, 0.0895494968, -0.3019569516, 0.4389441609, -0.0314226486, -0.7622063756, 0.1008023992, -0.8724859357, 0.8001846075, -0.0918028876, -0.2713080943, -0.0637563393, -0.7889618874, 0.2235099524, 0.1482395381, 0.0126479696, 0.1577069759, 0.1774728745, 0.3818981946, -0.1949652582, 0.9883183837, -0.1124931127, -0.1523923129, 0.3952898681, 0.2235109806, 0.2606526911, 0.2567496002, -0.4360906184, 0.2082623094, -0.2876370847, -0.1712394804, -0.411808759, 0.5951313376, -0.4514346719, -0.4604298472, -0.1061708555, -0.602250576, -0.0093733175, 0.4151387215, 0.3170581758, 0.5797206163, 0.1794511527, -0.0919284746, 0.4412871003, -0.3625112474, 0.7458668947, 0.3116996884, -0.1624251306, -0.5728168488, 0.7917847037, -0.0982746929, 0.0409752838, 0.1783888936, -0.3343683481, -0.0883797705, -0.8264454007, -0.6445741057, -0.0845313892, -0.6525843143, -0.6560648084, -0.2861605585, -0.5254707336, -0.4639337957, -0.2274676263, -0.0784271359, -0.3933189511, -0.2919661105, -0.0437207855, 0.3097146749, 0.8939422369, 0.1050444841, 0.0354647115, -0.8012714982, 0.2523612976, 0.2153123319, 0.7146633863, 0.2704872787, -0.247717768, -0.4790077507, 0.0995902121, -0.1530557424, -0.7941480875, 0.5616639256, -0.1581984162, 0.362916708, -0.0968969464, -0.0762554258, 0.3751062155, -0.6061290503, 0.6820573211, 0.0901305303, -1.0787726641, 0.9701991677, -0.286857307, 0.2805524766, 0.6933745742, -0.0297680814, -0.4543275237, -0.3979226947, -0.2618153393, -0.7508539557, 0.6437683702, 0.2023586631, 0.1284290552, -0.1424924731, 0.6556334496, 0.0554271117, 0.3782130778, -0.5895580649, -0.1303314269, -0.3650718629, -0.356411159, 0.1239375249, -0.1928128004, 0.1518468559, -0.4682284594, 0.2935874462, -0.3885677159, 0.3440248072, 0.4125112295, -0.2793660164, 0.106609948, 0.2899287641, 0.9718133807, 0.8722846508, -0.2562882304, -0.0446180403, -0.1680410057, -0.242127195, 0.0924510136, 0.0343675502, -0.5752354264, 0.1591606587, 0.1620988101, 0.9359434247, 0.2301521152, -0.5542610884, 0.3696195781, -0.0668743849, 0.0362097472, -0.5663485527, 0.1520861238, 0.2387535125, 0.1982933283, 0.2461476028, 0.610509336, 0.3847376406, -0.4957677424, 0.2808006406, 0.4475086331, -0.1912372708, -0.3530081213, 0.5234633088, 0.362265408, -0.5937151909, 0.5941303968, -0.2269939184, -0.554451704, 0.9752730727, 0.532125473, 1.226367116, 0.0573802888, 0.118509382, 0.5104631186, 0.111140199, 0.047597006, 0.3182148933, -0.2937789857, -0.350135237, -0.7730888724, -0.7921047211, -0.0914056748, -0.1490891427, -0.4100438654, 0.3419278562, -0.750375092, -0.1650870442, -0.2501969039, -0.2487740964, -0.6701476574, 0.0074612363, 0.4010382295, 1.2267341614, -0.3535039127, 1.1520605087, 0.6520866752, -0.7240281701, -0.9333097935, -0.1526385546, -0.4073685706, -0.5587406754, 0.8750653863, 0.0941370204, 0.2128256112, 0.0233983975, -0.5487875938, -0.9375237226, 0.8731107116, 0.5236650109, -0.5573173165, -0.5949557424, 0.1634445339, 0.5786449909, -0.5427014232, 0.2735521495, 0.5000864863, 0.360417366, -0.0141362315, -1.0221681595, 0.1307739913, -0.5651461482, 0.4109208584, 0.0637159273, -0.2723642588, 0.7080075145, -0.3314332366, 0.0600438863, 0.1766911447, 0.511328578, 0.1477239281, 0.2275556475, 0.1596704572, 0.4449798763, 0.3308935463, 0.1429904252, 1.0943381786, -0.6826666594, 0.1434018314, 1.1749436855, -0.0846161023, 0.8925536871, 0.4927935004, 0.0074058576, 0.6622937918, 0.4587397575, 0.0153219914, 0.5515419245, 0.3347527981, 0.1137929633, 0.0552720688, -0.0559107661, -0.5425558686, 0.1230851412, 0.3465605676, -0.5209448338, -0.1581617743, -0.0179663245, -0.4737268984, 0.0815943182, -0.2604049146, 1.0534832478, 0.1930622905, -0.902772367, 0.9015011787, -0.0640559644, 0.8531380892, -0.6513414979, -0.2142516822, -0.4531810284, 0.050599087, -0.3638018966, -0.5537757277, 0.6503420472, -0.0911535248, -0.4326246977, -0.2996453047, 0.6392450333, -0.6132237315, -0.340211004, 0.4025467634, 0.2643117607, -0.2815367579, -0.0270805527, -0.5708483458, 0.0401069261, 0.2532606721, 0.0996682569, 0.1356620938, 0.2283698618, 0.1425274611, 0.6152694225, 0.7289306521, 0.2376300395, 0.2964675426, 0.1277450323, 0.8506708741, -0.7815952301, -0.5109772682, -0.8137332201, 0.4916712046, -0.0382586196, -0.1073463261, 0.6299815774, 0.4377009571, 1.013948679, -0.454770565, 0.7817434669, -0.2109595537, 0.1739363223, -0.6751281619, 0.6234609485, -0.2485867292, 0.5666898489, -0.2726819515, -1.0989086628, -0.3586096764, 0.3664340973, -0.1440621018, -0.075201124, 0.4676807821, 0.748529911, -0.0465714596, -0.0133935167, 0.1184541732, -0.1540407091, 0.201355055, 0.8678982854, 0.7627258301, -0.4562859237, 0.4764181077, -0.2479384691, 0.0896247476, -0.2429718971, -0.8189495206, -0.5857918262, -0.7126867175, -0.2397217453, -0.3997510374, -0.0859561265, 1.14534235, 0.898409903, -1.0116320848, -0.4142180681, -0.535741508, 0.2293589413, -0.0600107349, -0.2103031725, 0.3562473953, -0.7441136837, -0.5288779736, 0.5764250755, 0.4048725963, 0.0189420693, -0.3040082753, -0.2623281181, -0.2519838214, -0.2180594206, 0.631853044, 0.373180747, -0.8805603385, 0.1030125394, 0.1289205551, -0.2944715917, 0.0412332714, 1.0915882587, -1.0460116863, 0.3468082249, 0.6864608526, 0.9072013497, -0.0841144547, -0.2181932628, 0.8117133379, -0.9202682972, 0.3928201795, 0.3734462559, 0.3144354522, 0.2805317342, -0.5425216556, 0.6418958902, -0.0494716279, -0.3745144308, -0.6685317755, 0.2136195004, -0.7586826682, -0.4502352476, 1.0803691149, 0.0120749697, -0.3331647515, -0.185076341, -0.3731602132, 0.1792081594, -0.3478981256, 0.5621948838, 0.4609280229, 0.1213178709, -0.0390387177, -0.5633100867, 0.9044630527, 0.4404089749, -0.5989604592, 0.1568800062, 0.5146012306, 0.2046434581, 0.5854192376, 0.6120741963, -0.0125850951, 0.4335744977, -0.3880755007, 0.2949932516, -0.3523490429, -0.4041140378, -0.5853046179, 0.1809986532, 0.1590507776, 0.011034226 ]
http://arxiv.org/abs/2402.05827v1
http://arxiv.org/pdf/2402.05827v1
Is it Possible to Edit Large Language Models Robustly?
2024-02-08T17:06:45
2024-02-08T17:06:45
Xinbei Ma, Tianjie Ju, Jiyang Qiu, Zhuosheng Zhang, Hai Zhao, Lifeng Liu, Yulong Wang
cs.CL
cs.CL
Large language models (LLMs) have played a pivotal role in building communicative AI to imitate human behaviors but face the challenge of efficient customization. To tackle this challenge, recent studies have delved into the realm of model editing, which manipulates specific memories of language models and changes the related language generation. However, the robustness of model editing remains an open question. This work seeks to understand the strengths and limitations of editing methods, thus facilitating robust, realistic applications of communicative AI. Concretely, we conduct extensive analysis to address the three key research questions. Q1: Can edited LLMs behave consistently resembling communicative AI in realistic situations? Q2: To what extent does the rephrasing of prompts lead LLMs to deviate from the edited knowledge memory? Q3: Which knowledge features are correlated with the performance and robustness of editing? Our experimental results uncover a substantial disparity between existing editing methods and the practical application of LLMs. On rephrased prompts that are complex and flexible but common in realistic applications, the performance of editing experiences a significant decline. Further analysis shows that more popular knowledge is memorized better, easier to recall, and more challenging to edit effectively.
[ -0.1200868562, -1.1870408058, 0.6263492107, 0.0013363452, 0.1222670451, 0.1927206963, -0.6709513664, -0.6470360756, -0.1295951754, 0.3144381046, -0.202610895, -0.2081873566, -0.6274498701, 0.2137549073, -0.3511696756, 0.5546546578, -0.034542162, 0.1246480867, -0.224655062, -0.3934376538, -0.6380234361, -0.818238616, -0.7254367471, -0.1951576024, 0.3825813234, 0.2570388317, 1.1409380436, 0.9469388127, 0.4018197656, 0.5049279928, -0.7719128728, 0.1803235412, -0.6173184514, 0.422393918, -0.1473291963, -0.7583450079, -0.7944383025, 0.0001665372, 0.9432098269, 0.7571281195, -0.0561463386, -0.2089738846, 0.3538669646, 0.4454876184, -0.3729282618, 0.1689164639, -0.8938624859, -0.3370579779, -0.0357207954, 0.0636596084, -0.4638473988, -0.0610175654, 0.0832133889, -0.6337615848, -0.0458695889, -0.1182186231, 0.6870573759, 0.4106808007, -0.0525021106, -0.4405508041, -0.8247141242, 0.7280664444, -0.8904624581, 0.3508175611, 0.345577687, 0.1090836003, -0.2412722856, -0.6080905795, -0.5561938286, -0.2039462775, -0.0063305176, -0.2784039676, -0.2910554707, 0.2501049638, 0.6246243715, 0.1613510549, -0.3306421638, 0.4485881925, -0.1585571915, -0.191274479, 0.5779323578, 0.3714111447, 0.6302634478, -0.0920619071, 0.2090138793, -0.0968140736, -0.6243282557, 0.1694978327, 0.2742654979, 0.1567104757, 0.01556159, 0.7041943669, -0.1575419605, 0.8156105876, 0.0052099708, -0.4530334771, -0.2105505913, -0.2406957448, -0.3531943858, -0.432595849, 0.6345603466, 0.4719388783, 0.4154323936, -0.0568121858, -0.2426777482, -0.1383536011, 0.1138407141, -0.5329796076, -0.1903462559, 0.2393760085, -0.4841992259, -0.3249406219, -0.340151608, -0.4001750946, -0.400355041, -0.3489090502, 0.2036397755, -0.5986213684, 0.1674079001, 0.1897684783, -0.0932788104, -0.0888409093, 0.8006551266, -0.7665273547, 0.0041905134, 0.8658483624, 0.6817505956, -0.0588195771, -0.5692320466, -0.422991097, 0.0594151169, -0.2878252864, 0.5367009044, -0.85611552, -0.4421533942, -0.1421514899, -0.1552511305, -0.1248674765, -0.5450307727, 0.3221637011, -0.7227494121, -0.0166468173, -0.3341030777, -0.8236493468, -0.0255798306, 0.4009575844, -0.6604016423, 0.5556414127, -0.1393886507, -0.770499289, 0.0895745978, -0.29610008, -0.3402360976, -0.441595763, 0.1178786755, -0.2708336115, 0.1725562662, 0.3183374703, 0.3480583131, -0.0453506708, 0.5003504157, -0.4173485041, -0.315492481, 0.7218052745, -0.698343277, 0.7819045186, 0.3006008863, 0.054776147, 0.2820496857, -0.7179397345, -0.1616280228, -0.1346774101, -0.6163809896, -0.2339029312, -0.0894527733, -0.2251221687, -0.0529775321, 0.229260534, -0.2424558252, 0.5541810393, -0.235386312, 0.5338673592, 0.9187771082, 0.0296729691, 0.4632352293, -0.6976969242, 0.713647604, -0.2202939391, 0.0999319181, -0.3246173561, -0.455914259, -0.7220531702, -0.5509606004, 0.4615567327, 0.6843146086, -0.6665413976, 0.1305676848, -0.2053575218, -0.5339183211, -0.4096055925, 0.2865660489, 0.2966305614, 0.4450891614, 0.1720739603, 0.0406324714, -0.4040465355, -0.7324683666, -0.7426009774, -0.2779712379, 0.0472933948, 0.2391295135, 0.2324981838, -0.0598097444, 0.7040809393, -0.2587120235, 0.3616491854, -0.4251939654, -0.0694173351, 0.1001630276, 0.4774826765, 0.4996553361, -0.4118702412, -0.3705168366, -0.2268802226, -0.7235786319, -0.2641066909, -0.4054539502, 0.2282251269, 0.1740111113, 0.6954751015, -0.9792729616, 0.4841862023, 0.3375446796, -0.1359704584, 0.5837084651, -0.5309357643, 0.2343257368, -0.96988976, 0.0174014829, -0.296980828, -0.1957381517, -0.8139841557, 0.3795188367, 0.0134586273, -0.0729639307, -0.4199642241, 0.5287675858, -0.4731218219, 0.1539000571, -0.3448570669, 0.1540443748, -0.0913026556, 0.245211184, -0.2405854613, 0.5634151697, 0.5908856988, -0.6668704748, 0.348118782, 0.4272886515, -0.6436267495, 0.4764736891, -0.8720794916, 0.1977929175, -0.2165001333, 0.2181028426, -0.783141613, -0.4088385701, 0.0727786794, -0.3297359049, 0.3939899206, 0.0354106352, -0.5987881422, 0.2493132949, -0.219932735, 0.3182360828, 0.3505575061, -0.4412584305, 0.5730798841, 0.3059139252, -0.6045324802, -0.5271069407, -0.6288305521, 0.3605891168, -0.287109226, -0.8282340169, -0.0303640459, -0.2817308605, -0.7629237175, -0.1755243838, 0.3194126487, 0.0002762152, 0.5116545558, 0.1232838631, 0.3223633468, -0.0156223541, 0.0726100579, 0.0658771843, -0.0036926817, -0.1488823295, 0.4139407277, 0.3116928637, 0.1911007911, -0.4198381007, -0.7680194378, 0.3398823142, 0.9947525859, -0.2995479107, 0.579431653, 0.1059727371, -0.3604014516, -0.1003131866, -0.4795027375, -0.0638905764, -0.4754849076, 0.4506884813, -0.4707118571, -1.2195663452, 0.686101675, 0.039244812, 0.1914178878, 0.1907279044, 0.5188153982, -0.0621631928, 1.0424740314, 0.5268387198, -0.1698853672, 0.4046545327, 0.050423298, 0.1747326404, -0.7994615436, 0.1696237922, -0.8165565133, -0.4068576097, -0.716884613, -0.3961820006, 0.2702276409, 0.1762266308, 0.0566387475, 0.0190298855, -0.0725328475, 0.410047859, 0.5123810768, 0.0009804891, 0.5014146566, -0.2999964356, 0.1933936477, -0.0781662539, -0.9164334536, -0.7669799924, 0.9921163321, 0.5517819524, 0.9769311547, 0.222156167, 0.2659602761, 0.1015477628, 0.2169700861, -0.6544847488, 0.6701709628, 0.0357733369, -0.6019983888, -0.4117557704, -0.2016385347, -0.6629782319, 0.0539431423, -0.514370501, -0.8741719723, 0.2511107028, 0.4259437919, -0.378999114, 0.6067417264, -0.7006251216, 0.6236623526, -0.0789895803, -0.2770060897, -0.3262720108, -0.5681834817, 0.2001932263, -0.1681937873, 0.3965412974, 0.1962435097, 0.0861742496, 0.3776569068, -0.4643380046, 0.9888395071, 0.1167595387, -0.0765849352, 0.2586193085, 0.300411582, 0.7409345508, 0.1995663494, -0.4488688707, -0.0343672074, 0.0673579872, -0.334223181, -0.9605744481, 0.5621533394, -0.6637738347, -0.964695096, -0.2337997556, -1.0262446404, -0.2809491456, 0.0176913049, 0.062233489, 0.5198715329, -0.2880020142, 0.2137753814, 0.4919265807, -0.5342305899, 0.5044466257, 0.2479162663, -0.2716162205, -0.333706677, 0.7826445699, 0.3156315088, 0.4749349654, 0.2485058606, 0.2735372782, 0.106688723, -0.8705633283, -0.3408097327, 0.1102413461, -0.7861221433, 0.2113664001, -0.7809571624, -0.0378091186, -0.3739009202, -0.4203901887, -0.2708564997, -0.575299561, -0.4167213738, -0.0184921417, 0.2256391793, 1.0221891403, -0.2359240502, 0.3259854615, -0.8256705403, 0.2864687741, 0.4078165591, 0.1749702096, 0.0710350052, -0.5449237823, -0.1317839622, 0.2542111874, -0.1017749831, -0.7341539264, 0.2307404727, 0.1779863834, 0.483109802, 0.3037787974, -0.0189899895, 0.8277401328, -0.2447577864, 0.875778079, -0.3770777881, -1.0651099682, 0.2438578755, -0.4216401875, 0.3990723193, 0.3220178187, 0.0765320137, -0.4065217376, -0.8087980747, -0.6648726463, -0.3528731167, 0.5779086947, 0.0422583334, 0.2472263724, 0.1708623171, 0.6843395829, 0.0531958118, 0.0398759507, -0.29201141, -0.0992512181, 0.0876226351, 0.0111834733, -0.186695829, -0.6191881299, 0.0081713246, -0.3307056129, 0.5284463763, 0.1957023591, -0.0639005899, 0.1257597953, -0.1445976645, -0.0047085867, 0.5972373486, 0.8866433501, 0.7949406505, -0.1393687576, 0.0300616715, 0.4602611959, -0.3007645905, 0.031177735, -0.2428098768, -0.4967190027, -0.1069697812, 0.6934946775, 0.8979042768, 0.1089397296, -0.7753409147, 0.0955507383, -0.2385076582, -0.1317123473, 0.1546900868, 0.3176313341, 0.1173553914, 0.3776926994, -0.1171725318, 0.3239158988, -0.156198144, -0.7085540891, -0.0501103476, 0.5354440808, -0.0677981451, -0.3330619931, 0.6605030298, -0.0018773479, -0.556293726, 0.5730713606, 0.0627045631, -0.4912642837, 0.35039711, 0.4412921667, 0.4953598082, -0.2717000842, -0.1303492188, 0.249191314, 0.4785154164, -0.1356846541, 0.0691164508, 0.227814734, -0.8438252211, -0.4991756678, -0.0943877175, -0.6731385589, 0.2833257318, -0.5603845119, 0.2572188675, -0.5576698184, -0.2165354788, 0.0291393884, -0.4120642245, -0.5383400917, 0.2736824155, -0.3094012439, 0.981464386, -0.5510919094, 0.8922274113, 0.8218554854, 0.1062293053, -1.0187087059, -0.0443814173, 0.1959656179, -0.5215964317, 0.17724365, -0.0908174142, 0.1333971769, -0.171348393, -0.7904829979, -0.7326393127, 0.8336482644, 0.7057505846, -0.5105229616, -0.1516375989, -0.0015265414, 0.6230252385, -0.1760257632, 0.2177789658, 0.5649269819, 0.56846416, 0.0054226723, -1.1316211224, -0.092979081, -0.2877310216, -0.0024541523, -0.2860716283, -0.6645171642, 0.8341812491, -0.3342095912, -0.132167086, 0.4303690791, 0.5187985301, 0.1243321374, 0.0402806662, 0.3870589137, 0.5855312943, 0.9209020734, 0.0521362238, 1.0918588638, -0.4981148541, 0.1083614826, 1.2305088043, -0.2114197314, 0.8014268875, 0.4366134703, 0.0804671049, 0.1293792129, 0.4414230287, 0.190080598, 0.0334728658, 0.0806723461, -0.1924334168, -0.4234440923, 0.0412797108, -0.1878651083, 0.7905267477, 0.2898346484, -0.2543578446, 0.1465750188, -0.0560416915, 0.3610885143, 0.2095459551, -0.1238030121, 0.689961195, -0.0508736484, -0.8187896609, 0.4570820332, 0.1924328357, 0.5289101601, -0.3542210162, -0.0486475155, -0.0429219939, 0.0285581127, 0.0048064785, -0.7661093473, 0.4500739574, 0.2251244485, 0.0005726177, -0.2632563114, 0.841150701, -0.3043912947, -0.3617385924, -0.1350616366, 0.6730446219, -0.0397115648, 0.0708141476, -0.5159422159, 0.6171996593, 0.0232690237, -0.3501684666, 0.2869700789, 0.4523309171, 0.032942757, 1.0382201672, 0.6014062762, 0.3119028211, -0.0539005138, -0.3496486843, 0.8038508892, -0.6080560684, -0.3253464997, -0.9301615357, 0.6804273725, 0.0011673784, -0.2661193013, 0.7514318824, 0.2226423025, 0.7435157299, -0.0971152782, 1.0068461895, 0.0726306885, 0.4019436836, -0.6858945489, 0.8619056344, -0.2674177885, 0.5108861923, -0.4403032959, -0.7441781163, -0.4629192352, 0.5225831866, -0.2243087441, 0.0683817342, 0.3905676603, 1.0086529255, 0.1453680992, 0.103092894, 0.5588302016, 0.6780117154, 0.4571227133, 0.2736047208, 1.0324442387, -0.1444444656, 0.2070919573, -0.3660759926, -0.1928334534, -0.1172175109, -0.971755743, -1.092220068, -0.465370059, -0.3028538823, -0.2187434733, 0.1897290945, 0.9690951705, 0.4086787701, -0.5384902358, -0.1825313419, 0.2762278318, 0.4382089376, -0.132152155, -0.1274220198, 0.3155632317, -0.1049584746, -0.8596929908, 0.6139604449, 0.2564008236, 0.1044865847, -0.0481787324, -0.0798028782, -0.0301684141, 0.2810229361, 0.5226596594, 0.3217586577, -0.6729136705, -0.6460976005, 0.1103778109, -0.1353563368, -0.0339263789, 0.6761139035, -0.3802960813, 0.7116618156, 0.6056562662, 0.7109084129, -0.1484028846, 0.1155025214, 0.8052270412, -0.3346289098, 0.0597754158, -0.0397104993, 0.5093336105, 0.4927885234, -0.1531768143, 0.0443256386, 0.1430808753, -0.8340854645, -0.8528485894, 0.1199377254, -1.0834565163, -0.2043379843, 1.3047764301, -0.317345947, -0.1445510536, -0.1877378523, -0.5158683062, 0.3360222876, -0.0438781567, 0.8146342635, 1.0155364275, -0.2084283382, -0.2722782493, -0.4688381851, 0.340531081, 0.4542586207, -0.657975316, 0.1455676109, 0.7412675619, 0.3802543879, -0.1127040982, 0.4073233008, 0.069221653, 0.4063035846, -0.1310827136, -0.2446325123, -0.18860735, -0.2145787627, -0.5563675761, 0.2116324157, 0.7405894399, 0.3285270929 ]
http://arxiv.org/abs/2402.05819v1
http://arxiv.org/pdf/2402.05819v1
Integrating Self-supervised Speech Model with Pseudo Word-level Targets from Visually-grounded Speech Model
2024-02-08T16:55:21
2024-02-08T16:55:21
Hung-Chieh Fang, Nai-Xuan Ye, Yi-Jen Shih, Puyuan Peng, Hsuan-Fu Wang, Layne Berry, Hung-yi Lee, David Harwath
eess.AS
eess.AS, cs.CL, cs.LG
Recent advances in self-supervised speech models have shown significant improvement in many downstream tasks. However, these models predominantly centered on frame-level training objectives, which can fall short in spoken language understanding tasks that require semantic comprehension. Existing works often rely on additional speech-text data as intermediate targets, which is costly in the real-world setting. To address this challenge, we propose Pseudo-Word HuBERT (PW-HuBERT), a framework that integrates pseudo word-level targets into the training process, where the targets are derived from a visually-ground speech model, notably eliminating the need for speech-text paired data. Our experimental results on four spoken language understanding (SLU) benchmarks suggest the superiority of our model in capturing semantic information.
[ -0.4171110988, -0.7320465446, 0.7752902508, 0.092187278, -0.2296491414, -0.3305751979, -0.0424718522, -0.5685968399, 0.3226925135, 0.4227077663, -0.5291067362, -0.5109299421, -0.486905098, -0.1815593541, -0.7054622769, 0.7940959334, -0.0095730368, -0.1226100996, -0.2210015357, 0.1326464564, -0.4391869009, -0.5909485221, -0.1624058187, -0.227387324, 0.5556887984, 0.4964974523, 0.5098757148, 0.7216822505, 0.213178128, 0.2812022269, 0.2076509446, -0.1503637284, -0.6208859086, -0.2954387665, -0.2589253783, -0.3471673429, -0.4474817514, 0.5072401762, 0.8499943018, 0.8858907819, -0.2067135572, 0.2422582209, 0.0314478613, 0.295765698, -0.673550725, 0.2432368994, -0.6646723747, 0.1546854377, -0.0525904298, -0.0705490336, -0.3638502061, 0.2864834964, 0.4471999407, -0.7711526155, 0.1089102179, 0.1463153064, 1.013433218, 0.1852421612, 0.0876977742, -0.0016690138, -0.381152451, 0.8472502232, -0.6139584184, 0.5230154991, 0.6560956836, 0.1078472808, 0.0510154292, -0.9133232832, -0.5888218284, -0.3420505226, -0.3001369536, 0.36442554, -0.4978772104, 0.2754522264, 0.2151999176, 0.1046365425, -0.6862468123, -0.0739098936, -0.3177123368, -0.2315489054, 0.4600147307, -0.0743898004, 0.3462117314, -0.4290443063, -0.4196582735, 0.0083525823, -0.2089880556, -0.0233166218, 0.1285962611, 0.3894915581, -0.388207376, 0.6260506511, -0.4288523793, 1.1150915623, 0.2057663798, -0.2456106842, 0.1286731958, -0.2769162357, -0.214709118, 0.3894356489, 0.5999386311, 0.1755071282, 0.4365287125, -0.3413919806, -0.2491175383, 0.1590206474, 0.2956576943, -0.6236938834, -0.7345281243, 0.0683988482, -0.4499423504, -0.209189117, 0.0295314342, -0.3225118518, 0.3756500185, -0.619838953, 0.8458141088, -0.5112001896, -0.4883055091, -0.0955521092, -0.354600966, 0.310207665, 0.1387243718, -0.8070470691, 0.1613465697, 0.4941169918, 1.005241394, -0.115631707, -0.5306217074, -0.8918201923, 0.414039135, -0.6617221236, 0.6655362844, -0.4418844581, -0.4546869397, -0.2635875642, -0.2997866571, -0.119127661, -0.3896003366, 0.1890001744, -0.2467526495, 0.4898037314, -0.0896387175, -0.6372321248, -0.1884019375, 0.1233829707, -0.0805664882, 1.2513720989, 0.3512392938, -0.872119844, 0.422822386, -0.3413754106, -0.3439771831, 0.2085028738, -0.3839403987, -0.2081691027, 0.274410069, 0.2995158732, 0.6238221526, 0.0423665792, 0.6221809387, -0.3932206929, -0.5256963372, -0.0061324299, -0.3029629588, 0.4005710483, 0.0650599971, -0.495513916, 0.2422423512, -0.9649848938, 0.0994056091, 0.1556628197, 0.183532536, -0.6139001846, -0.1322183609, 0.0297891013, 0.3941335082, 0.458319515, -0.4237886965, -0.2756474912, -0.4174014926, 0.2879543304, 0.5564371347, -0.2211056948, 0.6172428131, -0.0979074538, 0.3511009514, -0.0972319692, 0.0599444695, -0.1740508229, -0.5150280595, -0.6836878061, -0.8335229754, 0.1550751328, 0.6416150331, -0.7667170167, 0.5263652205, -0.2620994747, -0.347956866, -0.5681142211, 0.1927018166, 0.4946705401, 1.0984957218, 0.7110477686, -0.0626516715, -0.3016586006, -1.0641072989, -0.2969347835, -0.5234792829, -0.0779800341, 0.2359454334, 0.3779351413, -0.0426333062, 1.4815636873, -0.4785518944, -0.5191991925, -0.5602734089, 0.4221989214, 0.1590586156, 0.4076453745, 0.5044121742, -0.7983089685, -0.4634659886, -0.3272198141, -0.8642119765, -0.428150028, 0.0205281582, -0.1278345883, -0.5203583837, 0.6084653735, -0.2940152586, 0.5750593543, 0.7004836798, -0.0018214218, 0.3762976229, -0.2789727151, -0.1262678355, -0.8679900765, -0.0796793401, 0.1424453408, -0.3652045131, -0.8204218745, -0.3772410452, 0.1295741051, -0.4666301012, -0.5507760644, 0.5017216802, -0.3957496285, -0.3195292652, -0.5627612472, 0.4270553887, 0.0178193264, 0.4097844958, 0.6252804399, 0.8105604649, 0.7228279114, -0.4963140786, 0.3573836684, 0.1830602735, -0.3064820468, 0.7737621069, -0.876932621, -0.0078307781, -0.2704272866, 0.2211174518, -1.103276968, -0.3623009622, 0.3600869775, -0.3663267493, 0.4263612628, -0.2218602002, -0.2608932257, -0.1577928066, -0.1742009819, 0.3097461164, 0.4124551415, -0.6909556389, 0.5808428526, 0.5373695493, 0.1044297218, -0.3660588861, -1.035020113, 0.392231375, -0.4720498323, -0.6704797745, 0.7109433413, 0.4541052282, -0.1344648153, 0.2190639377, -0.070556432, 0.1388222277, -0.2400435507, 0.0156023595, 0.1360816509, -0.2715239823, 0.0119885979, -0.0370352045, -0.5080682039, 0.0788087025, -0.5975525379, 0.1382122636, 0.1335654855, -0.1236213446, -1.000351429, 0.6413725019, 0.0652794614, -0.3391848207, 0.8712847829, 0.6780938506, -0.4491767287, -0.3079396784, -0.4686252475, -0.3126154542, -0.4341995418, 0.3362306654, -0.7770046592, -0.8008331656, 0.0003406109, -0.0463294871, -0.2952379584, 0.2651002109, 0.2200158834, -0.570006907, 0.9330618382, 0.7567562461, -0.1795671284, 0.7024222016, -0.3647459149, 0.3273659348, -0.6927861571, 0.0163744073, -0.2045258135, -0.0602819584, -0.3111957908, -0.4654597342, 0.3209965825, 0.3851945102, 0.3014867604, 0.6593498588, -0.3397584856, -0.0712743476, 0.7339169383, 0.0920804068, -0.0254781209, -0.0461714007, -0.057414528, -0.2003805637, -1.0384424925, -0.3252325356, 0.7161789536, 0.3859911859, 0.8355843425, -0.1230903119, 0.9762605429, 0.1797396988, 0.2197465897, -0.7896083593, 0.5846366882, -0.0252537206, -0.5795173645, -0.4629280269, -0.5506232381, -0.5251990557, 0.5597214103, -0.0618453994, -0.8239462376, 0.3513976336, 0.5179746747, -0.0305234008, -0.0864396542, -0.8454902768, 1.2591311932, -0.2447020113, -0.2448338121, -0.2506020665, -0.7274694443, 0.3311110437, -0.1745581031, 0.4344388843, -0.3016601801, 0.0317908935, 0.890579164, -0.4557729363, 0.8532320261, -0.4822894037, -0.104997322, 0.3890697658, -0.2507610619, 0.5173472762, -0.1100850552, 0.1507411152, 0.3660924137, -0.0223759655, -0.4247951508, -0.4774841964, 0.5545883775, -0.5162597299, -0.4639267921, -0.5745104551, -0.2933845818, -0.4427852631, 0.0885142758, 0.4275720716, 0.7470870018, -0.1050916538, 0.0098866289, 0.5846711397, -0.1282126456, 0.2172695696, 0.5235672593, -0.2833228707, -0.384830147, 1.1492500305, 0.1289165169, 0.4451974034, 0.5198011994, 0.3588999808, -0.5821454525, -0.5873904824, -0.2981576622, 0.2412931174, -0.7570486665, 0.118623741, -0.739218533, -0.0741769895, -0.4419220984, -0.1949227303, -0.3097643554, -0.0156972203, -0.5435613394, -0.1352630705, 0.1788923293, 0.3100097179, -0.5188906193, 0.6784347892, -0.5077008009, 1.0141085386, 0.482526809, -0.0663009807, -0.2962786555, -1.0170601606, -0.134680748, -0.0004486801, 0.3040085733, -0.9801485538, 0.3315190971, 0.4802519977, 0.6941429973, 0.3391087055, -0.0136909289, 1.2676872015, -0.7020638585, 0.6694982648, 0.5252531767, -1.1551351547, 0.9793814421, -0.3212596774, 0.3640649021, 0.6349942684, 0.3130482137, -0.3700975776, -0.4565517902, -0.5234646797, -0.6189548373, 1.0464770794, 0.1820849478, 0.2719199657, -0.1674918681, 0.2426911741, -0.3130528629, 0.0278090034, -0.7515987158, -0.1324301809, -0.4651331306, -0.4743985534, -0.1988798827, -0.3918071985, 0.0727677792, -0.4295383096, 0.5963905454, -0.1716857105, 0.0343576968, 0.4011367857, -0.537337184, 0.1176795438, -0.0932526812, 0.2442437261, 0.6054311991, -0.2552799284, 0.2368135005, 0.1868922859, -0.4286184013, 0.0391403846, 0.1905530244, -0.1243539229, 0.1004806012, 0.6909124851, 0.8252705336, 0.7364679575, -0.5289587975, 0.6657143831, 0.1236127689, -0.2713245451, -0.1406342089, -0.0324315578, 0.0248438343, -0.0548991226, 0.3339110613, -0.4101559818, 0.3017831445, -0.5787925124, 0.5832529664, 0.4398141205, -0.6873694062, -0.0980336368, 0.7131947279, 0.0703234747, -0.032698635, 0.3866108358, -0.118440263, -0.5000414848, 0.081949465, 0.6606603265, 0.7031903863, -0.2583196163, 0.3331439495, 0.1354668885, 0.3234658539, -0.0084109679, 0.3031494319, -0.5717220902, -0.578143537, -0.5917052627, -0.7039547563, -0.2715557516, -0.0091944896, -0.6708325148, 0.3949601054, -0.2404361963, -0.2135976106, 0.0250123795, -0.4075910449, -0.2357726544, 0.6482194066, 0.3693701029, 0.5829029083, -0.6670534015, 1.0495129824, 0.4624362588, -0.2400106192, -0.9043825269, 0.0921671763, -0.0793331489, -0.7899398208, 0.8270987272, 0.3899986446, -0.6256572604, 0.3076968789, -0.3239803016, -0.9169490933, 0.6304893494, 0.3928643763, -0.618999958, -0.0675145835, 0.1400477588, 0.3375724256, -0.2860647738, -0.0927437916, 0.4868727028, 0.369186759, 0.1851929277, -0.882594347, -0.4724709988, 0.1993742883, 0.1009973213, 0.1288812011, -0.1541618407, 0.5392529964, 0.1168325916, -0.17055583, -0.1168488637, 1.170060873, 0.0439411066, 0.4512283206, 0.7309367061, 0.723387301, 0.3837228417, -0.016124092, 0.7547248602, -0.3198530972, 0.285825491, 1.3212165833, -0.0157623366, 0.9193637967, 0.3562532961, -0.127238065, 0.2539748549, 0.5644660592, 0.269900471, 0.8715513349, 0.2045016587, -0.1463220119, -0.3909538686, -0.1772089452, -0.3747399747, 0.8710946441, 0.514490366, -0.2263672352, -0.2077051103, 0.1400623918, -0.2372729182, 0.1546785384, -0.3010277748, 0.8850027919, 0.3785977364, -0.4219286144, 0.6145167947, 0.0875442922, 0.6207528114, -0.8252762556, 0.016439518, 0.1233213097, -0.0640722662, -0.1832390875, -0.6172649264, 0.2910996079, 0.1844440997, 0.0758753866, -0.5299554467, 0.790795207, -0.7312240005, -0.4836646616, 0.529536128, 0.37930879, 0.2722678781, -0.3682534695, -0.9390100241, 0.0104633635, -0.3235759139, 0.0048932261, 0.2342577726, 0.4547708929, 0.1818118095, 0.2310964167, 0.6720786095, 0.0534752421, 0.1200231165, 0.210347876, 0.6155011654, -0.6604198217, -0.870744288, -0.7213291526, 0.3169883192, -0.1808494776, -0.2771212757, 0.7876317501, 0.4637677073, 0.7318662405, 0.1931150854, 0.5224563479, 0.1430225372, 0.6338563561, -0.6793726087, 0.4632282853, -0.7492497563, -0.2858752608, -0.5506668687, -1.082773447, -0.0822524056, 1.0594500303, -0.6174784899, -0.0012010525, 0.4665099084, 0.4378916323, -0.2941814363, -0.0921699926, 0.7498854995, -0.0581432581, 0.1338608116, 0.2057822645, 0.993811965, -0.0059387404, 0.3342575133, -0.5600656271, -0.5993986726, -0.1622606665, -0.7914942503, -0.9499582052, -0.5256919861, -0.3964369893, 0.0084958747, -0.0395533144, 0.5655204654, 1.1033051014, -0.692137599, -0.1678227931, -0.1491836905, -0.375475198, 0.0058355257, -0.2366334051, 0.3882506192, -0.4513800442, -0.5477429628, 0.8419060707, 0.7441202998, 0.0547005944, -0.2303804755, 0.0551992953, -0.2419655174, 0.0171326753, 0.620208323, 0.2371376008, -0.9409766793, -0.2910011709, -0.1302336752, -0.0927098691, -0.1009220555, 0.6735364199, -0.9714610577, 0.5259242654, 0.1929197758, 0.481559217, 0.7785105705, 0.3203423023, 0.5489637852, -0.6859403253, 0.5267409682, 0.1607032865, 0.3385965824, 0.4579655528, -0.1230576709, 0.150282234, 0.4208538234, 0.0802560672, -0.7845070958, 0.1512051821, -0.9160716534, -0.340036422, 0.8896915317, -0.2463092953, -0.2439064831, -0.1750154048, -0.1931131333, 0.2524732053, -0.1219979003, 0.4065119028, 0.6666249633, -0.237178117, -0.2286587954, -0.5820448399, 0.4581205249, 0.639382422, -0.7908414602, -0.1765156835, 0.4837763309, 0.0188433267, 0.0884636417, 0.7759038806, 0.1384883821, 0.2260296494, 0.0762920082, -0.2748430073, 0.1523842663, -0.6386481524, -0.1704371125, 0.0037948333, -0.1056347862, -0.5080946684 ]
http://arxiv.org/abs/2402.05813v1
http://arxiv.org/pdf/2402.05813v1
Selective Forgetting: Advancing Machine Unlearning Techniques and Evaluation in Language Models
2024-02-08T16:50:01
2024-02-08T16:50:01
Lingzhi Wang, Xingshan Zeng, Jinsong Guo, Kam-Fai Wong, Georg Gottlob
cs.CL
cs.CL, cs.AI
The aim of this study is to investigate Machine Unlearning (MU), a burgeoning field focused on addressing concerns related to neural models inadvertently retaining personal or sensitive data. Here, a novel approach is introduced to achieve precise and selective forgetting within language models. Unlike previous methodologies that adopt completely opposing training objectives, this approach aims to mitigate adverse effects on language model performance, particularly in generation tasks. Furthermore, two innovative evaluation metrics are proposed: Sensitive Information Extraction Likelihood (S-EL) and Sensitive Information Memory Accuracy (S-MA), designed to gauge the effectiveness of sensitive information elimination. To reinforce the forgetting framework, an effective method for annotating sensitive scopes is presented, involving both online and offline strategies. The online selection mechanism leverages language probability scores to ensure computational efficiency, while the offline annotation entails a robust two-stage process based on Large Language Models (LLMs).
[ -0.3080299795, -0.73865062, 0.1833328009, -0.0424823761, -0.0921868458, 0.256611228, -0.5097493529, -0.0116133112, -0.2490460873, 0.434032768, -0.6419921517, -0.2995269001, -0.3717080057, -0.2530345023, -0.298002243, 1.1466978788, -0.167506054, -0.0011039356, -0.2328618765, -0.4862881005, -0.5210348964, -0.762390554, -0.4833819568, -0.3648067117, 0.5908987522, 0.2884220481, 0.1749051958, 0.578802228, 0.5685938001, 0.1753307283, -0.1778988242, 0.2558041215, -0.8290875554, 0.2444147319, -0.4952129722, -0.3923389912, -0.2103429735, -0.0976669118, 0.9327487946, 0.9382932186, -0.1931769401, 0.5074825287, 0.141875416, 0.7972300053, -1.3034234047, -0.2504513264, -1.1978449821, 0.2591513693, -0.3088323474, -0.0128588341, -0.6458700895, 0.0305078458, 0.0164366029, -0.4361799955, 0.3791688681, -0.341806531, 0.7941457629, 0.2556326389, -0.0712252036, -0.2361791879, -0.8342197537, 1.2054973841, -0.3381118476, 0.3538356423, 1.0845156908, 0.2267465144, 0.2358325571, -0.5674154758, 0.063343741, -0.1201518402, 0.3146508336, 0.2973460555, -0.3411506116, -0.1827326715, 0.2506872416, 0.2794108093, -0.291629076, 0.125556618, -0.5206149817, -0.4035615027, 0.4661009312, -0.0216538962, -0.1083399057, 0.3793563247, -0.2536974251, 0.3989298344, -0.7576507926, -0.2826217711, 0.5091116428, 0.2240979522, 0.0688520893, 0.5397703648, -0.1777082384, 0.2607966661, 0.0718081966, 0.0737998709, 0.3226034641, -0.0412838571, -0.0918352976, -0.683292985, 0.7192863226, 0.0307920016, 0.4900262058, -0.4489047229, -0.4030881822, 0.0768498406, 0.4469122291, -0.3688818812, -0.2059764713, 0.0468965322, -0.6073265076, -0.1288633645, -0.2954669297, -0.6561279297, -0.3585537076, 0.0235468633, 0.3468827605, -0.6135585308, -0.2949267924, -0.2841803432, -0.1653932035, -0.2935296595, -0.0360798016, -1.1006054878, 0.257299602, 0.2516533136, 0.4911965728, -0.2518861294, -0.4182313681, -0.447432667, 0.3144952059, -0.1413261294, 0.3299247026, -0.6946215034, -0.3627621233, -0.0347352773, -0.2083980292, -0.3518050611, -0.8898727298, 0.5020765066, -0.6054641008, 0.2698131204, -0.1334438026, -0.5544592142, -0.4671438336, 0.2216658592, -0.6745470762, 1.0792257786, 0.4085786343, -0.6995539069, 0.3059679568, -0.5375798941, -0.2108931988, -0.1202016547, 0.1169945374, -0.8193620443, 0.2859944701, -0.0421014279, 0.4375384152, -0.0941727161, 0.4599934518, -0.4256152511, -0.3048200905, 0.3578129411, -0.6783647537, 0.7425299883, 0.4242835939, -0.2307082862, 0.1011499688, -0.6669892669, -0.0524186343, 0.3428817689, -0.5062934756, -0.3101172745, -0.0320080407, -0.2623231411, 0.0341929607, 0.288928926, -0.3202952445, -0.1691151708, -0.1558711827, 0.4917011857, 0.776576221, 0.0625527427, 0.5377510786, -0.6023238897, 0.4476280808, 0.125774473, 0.3345246315, -0.3926542699, -0.4741440415, -0.9681191444, -0.188072741, 0.3061428666, 0.5169504881, -0.3568684161, 0.2397446185, 0.1035786122, -0.4599891305, -0.5988320112, 0.5286173224, 0.8874853253, 0.3569114804, 0.3094209731, -0.3258492649, -0.7083184719, -0.8778349757, -0.4346775711, -0.2019181848, -0.0425852314, 0.2064454854, 0.5041553974, -0.4356491268, 0.6373268366, -0.1713312119, -0.3485179245, -0.2894645631, 0.0344018675, -0.3330378234, 0.3602738678, 0.3487319946, -0.60658288, -0.2273344994, -0.1565934271, -0.7842629552, 0.1048740968, -0.0105784116, 0.0725967661, 0.3182370961, 0.2750187814, -0.4453187883, 0.3789713085, 0.3143600225, 0.0783717856, 0.4395987689, -0.1423962414, -0.0122529827, -0.6551293731, 0.4720934927, -0.3120630383, -0.0057324651, -0.7438077927, 0.1370160431, 0.3810226917, 0.0218850654, -0.6990175247, 0.6575908065, -0.7497917414, 0.3220447898, -0.2198477089, -0.0106447088, -0.0098746317, 0.7003627419, -0.2600693405, 0.4032752812, 0.4472976923, -0.7409132719, -0.2227674127, -0.0961142033, -0.1018468142, 0.0082341712, 0.1172915101, 0.4914475977, -0.3001486957, -0.4624809623, -0.6862903833, 0.0289141964, 0.2779926062, -0.4488108158, 0.4636648297, -0.1335639805, -0.1466999501, -0.2939538062, -0.2319492549, 0.4985315502, 0.5075290799, -0.077048406, 0.3412209749, 0.8130494356, -0.0952167138, -0.5952695012, -0.6665322185, -0.1093538254, -0.428914547, 0.0631091595, 0.2436341047, -0.16993922, -0.2479369789, -0.0366025493, 0.0047862334, -0.4931265414, 0.5464978814, 0.1013308838, 0.05773459, 0.0440829657, 0.3120788038, -0.0983231589, -0.2354448885, -0.0769831836, -0.1204684079, 0.5292331576, 0.1461692601, -0.5041601062, -0.3317456543, 0.6320101023, 0.3153423965, -0.3770335615, 0.5718963742, 0.5900571346, -0.916382134, -0.3539322615, -0.7605912685, -0.1924429685, -0.3889323175, 0.651229918, -0.3059705198, -0.8811066151, 0.7056305408, -0.0330376774, 0.1621750593, 0.3860121667, 0.7056086659, -0.1115486398, 1.0507113934, 0.9368181229, -0.3072324991, 0.6219030023, -0.0877573118, 0.0509590469, -0.806126833, -0.2046004981, -0.3412808478, -0.2135202587, -0.1327445954, -0.3157017529, -0.1274129152, 0.4817359746, -0.3568364382, 0.0474168807, -0.3855873942, 0.4354181588, 0.6521220803, 0.0955520868, 0.0924788341, 0.2114079446, -0.4216144085, -0.230131492, -0.7464111447, -0.5665562749, 1.4525289536, 0.3721937239, 0.4134162068, -0.1479445398, 0.3741587102, 0.1584139615, 0.5979146361, -0.5740687251, 0.4035230875, -0.2071315944, -0.9811831713, -0.211869657, -0.5723504424, -0.8662583828, -0.0233037602, 0.0779387429, -0.9857963324, -0.3274503052, 0.3050822616, -0.5536742806, 0.6475008726, -0.8231326342, 0.5831732154, -0.1772043407, -0.3983822167, -0.2579165399, -0.3829921484, 0.4579654932, -0.5777218342, 0.020219028, -0.3203305006, -0.0304138437, 0.8652305603, 0.1622132063, 1.0573132038, -0.2315714806, 0.3733570278, 0.5512269139, 0.2409603596, 0.2989456356, -0.3452310562, -0.5844530463, 0.3879424036, -0.4672335684, -0.3004087806, -0.2836943269, 0.5012131333, -0.5339494348, -0.4385415018, -0.1255744994, -0.7114281654, -0.3882524371, 0.3948927522, 0.3856642246, -0.311730504, -0.3779243827, 0.1096965, 0.8504562974, -0.2930640876, 0.5939816833, 0.5836430192, -0.035088066, -0.5800684094, 1.0379452705, 0.4485171437, 0.3551576138, 0.5100567341, 0.2560913563, -0.0823578387, -0.6097359061, -0.3725400269, 0.2642052472, -0.7209157944, -0.1852642894, -0.728695035, -0.2946873307, -0.175406605, -0.015251019, -0.5848739743, -0.3569195271, -0.5130784512, -0.1901748627, 0.2139735073, 0.5157746077, 0.0915348604, 0.3658969998, -0.7640379667, 0.253151983, -0.0268978756, 0.4735693336, 0.0516366586, -0.7493877411, -0.3563073575, 0.1958319396, -0.7883101106, -0.6060866117, 0.3370041847, 0.4404156208, 1.0446830988, 0.6786724329, -0.0908552781, 0.5228541493, -0.2023916245, 0.3910322785, 0.1664784253, -0.8639401793, 0.790945828, -0.4202280045, 0.5373571515, 0.7591637969, 0.3594240844, -0.4614628553, -0.4650720358, -0.6424613595, -0.9376525283, 0.7549606562, 0.1507319957, 0.1154100522, 0.0852356628, 0.3884887695, 0.4065113664, 0.3074319959, -0.8260061741, -0.3198104799, 0.2336329222, -0.3297293782, 0.0211072881, -0.6175110936, -0.0876060128, 0.0826502666, 0.7697312832, 0.1113801673, 0.1151832342, -0.3018189967, -0.3845099211, -0.2362039685, 0.0923598558, 0.4676944911, 0.7247012854, -0.0361819342, -0.0007107039, 0.6912549734, -0.5760330558, 0.0887857303, -0.4376403391, -0.6812832355, -0.1198358983, 0.0981785133, 0.5450767875, 0.3095078766, -0.7548204064, 0.3307313025, 0.1811301261, -0.0955722556, -0.2683784068, 0.0543165803, 0.1518073976, -0.2979205549, 0.1986927688, 0.3268058002, -0.0302720424, -0.4710026383, 0.4508623481, 0.2940865159, -0.8408104181, -0.4184323251, 0.6334801912, -0.0367813036, -0.2967163622, 0.6780355573, -0.2900245488, -0.3936574459, 0.4294219315, 0.5991534591, 1.2060399055, -0.6763716936, -0.0587117895, 0.3665502369, 0.428011775, -0.0645911396, 0.3413977623, -0.1417677104, -0.6388204694, -0.042600397, -0.4754694402, -0.1663482189, 0.3436433375, -0.6653900743, 0.123763226, -0.8161822557, -0.4834192395, -0.2541653812, -0.1303058416, -0.4997906387, 0.1897423416, 0.1593530923, 0.6214735508, -0.7289549708, 0.7328547239, 0.5365956426, -0.3311992288, -0.3987364769, -0.1581674516, 0.3968656957, -0.7885844111, 0.1900868416, 0.2760621309, -0.0076818904, -0.1511569917, 0.0914906114, -0.8057932258, 0.758559823, 0.6602737308, -0.5960767269, 0.3237649202, 0.0923437029, 0.2099295706, -0.1291822493, 0.4205663502, 0.5072149634, 0.2248372436, -0.2645275593, -0.7979648113, -0.2308294028, -0.443146795, -0.2713937163, 0.3755334616, -0.9176122546, 0.850482285, -0.4229547679, -0.4338034391, 0.0539563224, 0.3190947771, 0.2469994724, 0.4240381122, 0.3409655392, 0.6053212285, 1.1277735233, 0.0081243962, 0.4954467118, 0.0193217508, 0.1870609969, 1.1094944477, -0.3336813748, 0.7358136177, 0.4278963208, 0.0387805663, -0.1800803393, 0.5533174872, 0.058455158, 0.6041691899, 0.2687119842, -0.3636223674, -0.170132637, -0.1893154681, -0.1501490772, 0.4967917204, 0.365441978, -0.60039711, -0.1865100712, 0.2108482718, 0.2279061526, 0.2390210479, -0.3273822665, 0.8747231364, 0.1943901777, -0.7023940682, 0.5251281261, 0.2375094593, 0.3944044709, -0.7699163556, 0.3618099988, -0.2272349298, 0.6053117514, 0.0069551282, -0.3887533247, 0.4953929782, 0.3099308014, -0.6752598882, -0.427344501, 0.6806753278, -0.361191541, -0.5880329609, 0.6882087588, 0.4172365963, 0.1847136468, -0.2661432326, -0.8754244447, 0.1519077718, 0.3406793773, -0.3500294387, 0.4236909449, 0.3606768847, -0.5623928308, 1.1038274765, 0.5653010607, 0.0087919068, 0.0942397937, 0.4837052822, 0.7020670772, -0.8131491542, -0.2458346635, -0.9578801394, 0.4693108201, 0.1302669495, -0.7151488066, 0.7218288779, 0.7357470989, 1.0163933039, -0.0459694229, 1.038544178, 0.4634439945, 0.794162035, -0.3359002769, 1.0376858711, -0.1927264184, 0.3452621698, -0.0795730203, -0.7154778838, -0.5889571309, 0.2737847865, -0.2076765448, 0.3625562489, 0.6517626643, 0.8490796685, 0.0093212565, -0.2415165901, 0.629512012, -0.1377688199, 0.00683591, 0.897932291, 1.0673052073, -0.3962947726, 0.6646139026, -0.4620991647, -0.2602180541, -0.1370596439, -0.5789940953, -0.9775288701, -0.5076319575, -0.460955441, 0.1534197181, 0.3327843249, 0.4267357588, 0.7382945418, -1.0264567137, -0.1851447672, 0.0608686358, 0.1664834321, -0.2875711918, -0.1210689545, 0.1620585918, -0.3936874866, -0.5555305481, 0.4467576742, 0.5570453405, 0.0267977361, -0.1902823746, -0.0387684964, -0.290237695, -0.1129286885, 0.2120420337, 0.3237991631, -0.6076658368, -0.0386548452, -0.0032533817, -0.096357137, -0.0564761125, 0.8496187329, -0.6377441287, 0.606634438, 0.3154462874, 0.5533995628, 0.4263804853, -0.1374850273, 0.57359761, -0.7109687328, 0.2741298378, 0.5548126101, 0.4488710761, 0.5003572106, -0.2671890259, 0.2751550078, 0.2510313988, -0.2678002417, -0.933134973, 0.2229415923, -0.3967188001, -0.3392911255, 1.0109419823, -0.4522429407, -0.1880822629, -0.3848566115, 0.0238891076, 0.4382399321, -0.0487603359, 0.9905142188, 0.7081360221, 0.3863146603, -0.1051564068, -0.56824404, 0.269338429, 0.6519841552, -0.3570244014, 0.3233544528, 0.1507799327, 0.2917408645, -0.0728903785, 0.7385334969, -0.3226467371, 0.2301800847, 0.0826078951, 0.2360908836, -0.0122272447, -0.5642855167, -0.4472843409, 0.3649592996, -0.00219563, -0.3514264524 ]
http://arxiv.org/abs/2402.05812v3
http://arxiv.org/pdf/2402.05812v3
FAQ-Gen: An automated system to generate domain-specific FAQs to aid content comprehension
2024-02-08T16:49:41
2024-05-09T10:29:16
Sahil Kale, Gautam Khaire, Jay Patankar
cs.CL
cs.CL
Frequently Asked Questions (FAQs) refer to the most common inquiries about specific content. They serve as content comprehension aids by simplifying topics and enhancing understanding through succinct presentation of information. In this paper, we address FAQ generation as a well-defined Natural Language Processing task through the development of an end-to-end system leveraging text-to-text transformation models. We present a literature review covering traditional question-answering systems, highlighting their limitations when applied directly to the FAQ generation task. We propose a system capable of building FAQs from textual content tailored to specific domains, enhancing their accuracy and relevance. We utilise self-curated algorithms to obtain an optimal representation of information to be provided as input and also to rank the question-answer pairs to maximise human comprehension. Qualitative human evaluation showcases the generated FAQs as well-constructed and readable while also utilising domain-specific constructs to highlight domain-based nuances and jargon in the original content.
[ -0.8179155588, -1.0965247154, 0.3817227483, -0.2063776106, -0.3065554202, -0.0214113891, 0.2062737793, -0.0591467731, -0.0067022522, 0.9041805267, -0.8509732485, -0.3190936446, -0.168584615, 0.6389098167, -0.6803504229, 1.1583782434, 0.0281242728, -0.4601823986, -0.6510820389, -0.0049280715, -0.233398959, -0.4725911021, -0.5015195608, -0.0630328208, 0.1266271472, 0.4180481434, 0.7710559368, 0.3666443527, -0.0246863402, 0.2097436488, 0.1853877157, 0.8225559592, -0.5382620692, 0.5026989579, -0.2806223333, -0.0670904219, -0.1610378325, -0.1796063036, -0.0861165896, 0.6912580132, 0.0724264383, 0.3836334944, 0.0964723974, 0.8097721338, -0.2837982178, -0.4377696216, -0.5475039482, -0.0251931045, 0.0209677815, -0.520359695, -0.2688497603, -0.3782339394, 0.2050095946, -0.9835974574, 0.5871171355, 0.1625728458, 0.7738592625, 0.426512748, -0.5436748266, -0.7237579823, -0.4931514263, 0.3625875711, -0.2600590289, 0.4473437667, 0.364884764, 0.1987574697, -0.3633910418, -0.5264223218, -0.6459020376, 0.2607478201, -0.0331027769, -0.0006157782, -0.274700731, -0.2555763125, -0.0257418584, 0.5510072708, -0.8391308188, -0.6116737127, -0.3353681564, -0.1973235458, 0.7048116326, 0.2898178101, 0.5442191362, -0.3447866738, -0.0952602252, 0.2692556679, -0.6313422322, 0.037215203, 0.3480133116, -0.0453570411, 0.3607496917, 0.4267657399, -0.5983242989, 0.8793902993, 0.6530211568, 0.0152488146, 0.0357246138, -0.5477591753, -0.2146774232, -0.4861884117, 0.5451606512, 0.3355687559, 0.4207908213, -0.3943702579, -0.2305300236, -0.4353867769, 0.4468950927, -0.3687128425, -0.0249101613, 0.4939482212, -0.177248165, -0.3901837468, 0.04884433, -0.6608409286, -0.2078225911, -0.4013780057, 0.3731943667, -0.3177303076, -0.1009757295, 0.1171146557, -0.2295205891, 0.4138628542, 0.4077568948, -0.7958390117, 0.185185343, 0.4229328036, 0.5058780909, -0.3352994919, 0.0999382734, -0.2475552708, 0.4601740241, -0.1050711945, 0.988724947, -0.066370286, -0.478677839, 0.3389367163, 0.1132640541, 0.3121522367, -0.410805583, 0.3321600854, -0.7336573005, 0.5027087927, -0.019625511, -0.4600484967, 0.0914151445, 0.2778642476, -0.7013537288, 0.9278151989, 0.3442592323, -0.6056310534, 0.1343261898, -0.6155383587, -0.7878158689, 0.3320047259, -0.1778808385, -0.0797950104, -0.1337088346, 0.4549007118, 0.6294313073, -0.7685750723, 0.2705349624, 0.4311848581, 0.1425866783, 0.3149254322, -0.2533070147, 0.6012011766, 0.5444057584, -0.150766924, -0.1391904801, -0.3553155661, 0.2309342474, 0.2842827737, -0.2940996885, -0.1554121524, -0.2775346935, -0.2755550146, 0.178894937, 0.5137985349, -0.2197894156, -0.0491840541, -0.3343321979, 0.3973108232, 0.3090729415, 0.6467614174, 0.6795796752, -0.7176253796, 0.6484482288, -0.1661036611, 0.2938475311, -0.4171472192, -0.6737561822, -0.6348406076, 0.2772964537, -0.0448042788, 0.5878449678, -1.0713162422, 0.5366587043, -0.142961815, -0.4882704318, -0.356959939, 0.5863496661, 0.0942780226, 0.4789997637, 0.3766132593, -0.0963339955, -0.2634936869, -0.605003953, 0.0699412301, -0.0549891666, -0.1827220619, 0.3549301028, 0.2696334422, -0.0691105723, 1.1703929901, -0.7120025158, 0.0386229567, -0.3106507659, 0.3142623901, -0.0755414665, 0.2559333742, 0.4994049966, -1.0914607048, -0.5818381906, -0.1202991307, -0.7333045006, -0.3930445611, -0.162460804, -0.5553896427, 0.226274699, 0.352373302, -0.5428964496, 0.2550770044, 0.1059270874, -0.3338271677, 0.5986726284, 0.0754822791, 0.3782758713, -1.1562819481, 0.2829417288, -0.1840099096, -0.197998628, -0.8908792138, 0.0888691843, -0.2171134651, -0.4351855814, -0.2125194371, 0.7189988494, -0.2996341586, 0.1138621643, -0.1803707629, 0.11186371, 0.4948380589, 0.4974718094, 0.0169801209, 0.8769325018, 0.1526113749, -0.9297807217, 0.3162029684, 0.5994403958, -0.0666272789, 0.5843032598, -0.6329780817, 0.4463399351, -0.2549271286, 0.083433494, -1.083063364, -0.5112811327, 0.379199475, -0.7836546302, -0.1512454003, -0.0843088552, -0.4495595396, -0.3631610274, -0.0442059189, 0.1746645719, 0.5537737012, -0.3586921394, 0.2570034564, 0.4330822229, -0.5032915473, -0.3947937787, -0.318947643, -0.1449901909, 0.3071213365, -0.968024075, 0.2204989791, -0.3793258667, -0.1501819491, -0.0036298565, -0.151132524, -0.4195497632, 0.1885625124, 0.1921637803, -0.0502737723, -0.2741086781, 0.3417834044, 0.6767385602, 0.1927844435, 0.074296385, -0.305624336, 0.6172559261, 0.2286282033, -0.0579604693, -0.1128926575, 1.055991888, 0.6587547064, -0.3642908633, 0.1303262115, 0.2975640893, -0.2308059484, -0.472015053, -0.4944116473, -0.016764598, -0.4746373296, -0.0244312063, -0.4374684989, -0.9075131416, 0.2079821378, -0.0749835297, 0.4293057323, 0.7355543971, 0.5543681979, -0.228966251, 0.863830626, 0.4282507896, 0.3847965002, 0.0829947218, 0.0768448561, -0.1050040051, -0.3040169775, -0.179075554, -0.431048125, 0.1849517971, 0.0611692183, -0.541536808, 0.144287467, -0.0950210914, -0.2264858782, 0.1736399978, -0.6633843184, 0.315058887, 0.3907755911, -0.0296919998, 0.5332143903, 0.287646085, -0.0373047628, 0.4052293003, -0.5989343524, -0.7854200006, 1.0977134705, 0.0648038909, 0.4529283941, -0.0041118972, 0.6394234896, 0.7122980356, 0.4330936074, -0.5038037896, 0.4435195923, -0.1716354042, -0.8835987449, -0.6765583158, -0.2845816612, -0.8611337543, -0.1165505126, -0.1976504177, -0.105087474, 0.062341664, -0.0695295781, -0.6199291945, -0.1215879768, -0.4526219964, 0.5073284507, -0.3459413648, -0.2574704587, 0.3162943423, -0.5397432446, 0.3103363514, -0.4147500694, 0.1424698234, 0.1179903969, 0.0185249168, 0.7214997411, -0.4128516018, 0.4742862582, -0.065371342, -0.4373348057, 0.8670447469, 0.2231281996, -0.0616427809, 0.2121006399, -0.1206899658, -0.1528649777, -0.0868906602, -0.3532263935, -0.6938323379, 0.3686788678, -0.8798077703, -0.8944881558, 0.114889212, -0.386161238, -0.3737635612, 0.0840414315, 0.3930268884, 0.2758666873, -0.380977273, 0.0023294869, 1.0218414068, -0.3443929851, -0.0969606563, 0.4534568787, -0.1717639118, -0.4747205079, 0.6630318165, -0.0565772168, 0.2396250963, 0.471680522, -0.1935718805, -0.382457912, -0.4088571966, -0.9021623135, 0.1106897593, -0.7256428003, -0.4966073334, -0.7742843032, -0.3544344306, -0.8644682765, -0.3794520795, 0.238536641, -0.3614435494, -0.5781382918, 0.0848796144, 0.3569016159, 0.7556177974, 0.2224889547, 0.2599053681, -0.8846274614, 0.6211089492, 0.7345227599, -0.0405946001, -0.2102658153, -0.7012786865, -0.1606351435, 0.0647029057, -0.4825614691, -0.9816143513, 0.3579060733, 0.3233641386, 0.6215926409, 0.261073947, 0.3647782803, 0.285202831, -0.3321923912, 0.9138269424, 0.1347109675, -0.8549393415, 0.7590036392, -0.4690336883, 0.3875630796, 0.7083716393, 0.7031286955, -0.6300907135, -0.4438386559, -0.4636473656, -0.8558853865, 0.3581474423, 0.1971310824, 0.3708511889, -0.2425000966, 0.8971756697, 0.7685884833, 0.2531191409, -0.2440091372, -0.3468341231, -0.5963048935, -0.399717778, 0.3706661165, 0.0419969037, -0.0766795874, 0.093763046, 0.6082432866, -0.3293759525, 0.3890263736, 0.545601964, -0.3442538977, -0.4460855424, 0.346034497, 0.2939426005, 0.3727521598, 0.131464228, -0.160029009, -0.0907327309, -0.3917690217, 0.2379652262, -0.1713010073, -0.3975665569, 0.0180456396, -0.2582471669, 0.3384578526, -0.1796261817, -0.6972863078, 0.4712106586, -0.2310138494, -0.6035189629, -0.2323757708, 0.3530731797, -0.0406570584, -0.0962106138, 0.9315420985, -0.1624766439, 0.0518916734, -0.3898193836, 0.7261773944, 0.146581769, 0.0412183851, -0.149689123, 0.6265728474, 0.8340775371, -0.4249308705, 0.4044825733, -0.3209567666, -0.3694519699, 0.449621141, 0.4315690994, 0.771874845, -0.1124334857, 0.6037466526, 0.2981072068, 0.0110368049, 0.2051184177, 0.4519234002, -0.5009499788, -0.8043971658, -0.3120477796, -0.5175876617, -0.5363745093, 0.2390728295, -0.483846724, 0.1474672109, -0.5117352009, -0.1228533685, 0.0235767663, -0.0374912806, -0.6949996352, 0.5351228714, 0.1077876315, 0.8764711022, -0.6682107449, 0.3272103369, 0.9276993275, -0.6416643262, -0.3508853614, 0.1995878518, -0.3729941249, -0.4983394146, 0.3883372545, -0.1572876871, -0.1375920027, 0.2427292317, -0.8582872748, -0.7973687649, 1.2579100132, -0.0640985817, -0.160101831, -0.2310726643, 0.6133162975, 0.5143013597, -0.4922035635, -0.1412105709, 0.2422068119, 0.2523607612, 0.0529219881, -0.4992922544, 0.2454376221, -0.4811436236, -0.5296894312, 0.2219793797, -0.3659908772, 0.5496274829, -0.0751523748, -0.366851747, 0.3595593572, 0.7441157699, 0.0482725687, 0.3619697988, 0.6102792621, 0.1564193219, 0.8552170992, 0.1465185583, 0.7602059841, -0.61523211, -0.0376376249, 0.7103108764, -0.0467533283, 0.4705183506, 0.3810299635, 0.1790885627, 0.3699404597, 0.4171532393, 0.1813255847, 0.344399631, 0.0975022092, -0.2829914391, -0.5165281296, -0.1246137396, -0.2416957617, 0.1680167019, 0.6440804005, -0.4136394858, -0.2189717442, -0.1479936987, -0.2421368361, 0.2031564116, -0.2376597375, 0.856095314, -0.1770554632, -0.9751138687, 0.4937967658, -0.0996975824, 0.4882671237, -0.4011600614, 0.1325567812, -0.5410276055, -0.6949625015, -0.1716189981, -1.0136985779, 0.3155217171, 0.3867582381, -0.4570426047, -0.4337464571, 1.0246646404, -0.352440238, -0.0559097715, -0.3153930008, 1.2180796862, -0.025691973, -0.127435565, -0.6836862564, -0.4467237294, 0.3215003908, -0.265023917, 0.1445873529, 0.8450863957, 0.1041840911, 0.6247306466, 0.7288924456, -0.5857158899, 0.0693136156, -0.1544121355, 0.6849856973, -0.6005959511, -0.4425785244, -0.126684472, 0.4856696725, -0.074178502, -0.6902237535, 0.2952518165, 0.3615490496, 0.5633356571, -0.2468857467, 1.2621701956, -0.1651973277, 0.5318541527, -0.1992238909, 0.807956934, -0.7675551772, 0.0053381687, -0.0128760999, -0.5710893273, -0.1188677847, 0.26923576, -0.1337898374, -0.3055528998, 0.3245511353, 0.6992512345, 0.2933333814, 0.1531310678, 0.5685118437, -0.2703421116, 0.0923708677, 0.3260462284, 0.9054194689, -0.4453954399, 0.9232566953, -0.0427298434, 0.0108252494, -0.1808494627, -0.1930781454, -0.7716997862, -0.9604703784, -0.2953212559, -0.1146926135, 0.1823775321, 0.7438061237, 0.4021759927, -0.5977185369, 0.0117634693, -0.120733723, 0.1008981392, 0.1030859724, -0.2632645369, 0.0916977003, -0.4403738379, -0.6515233517, 0.0954811424, 0.1284765005, 0.1840035766, -0.4331983626, -0.0829081312, -0.1131792068, 0.4489673078, 0.67155689, 0.440695554, -0.409229964, -0.1631289572, 0.56250453, -0.3091430664, 0.0584485047, 0.9161111712, -0.8043978214, 0.0714230612, 0.5786325336, 0.9488116503, 0.0976804271, 0.3465456367, 0.8565195203, -0.8300246596, -0.6590425968, 0.2091770619, -0.0312915258, 0.44979918, -0.7073479891, 0.5484140515, 0.1376838386, -0.5352650285, -0.3131918013, 0.3297285438, -0.9158467054, -0.3899151981, 1.3928425312, 0.0644734353, -0.277903676, -0.9459947944, -0.3302344382, 0.4129815996, -0.5719112158, 0.5260214806, 0.4714473784, -0.2829568982, -0.0383387357, -0.3163378239, 0.6225653887, 0.398303479, -0.9535009265, 0.1399514526, 0.4429965019, 0.4901275039, 0.2381029576, 0.5160630345, -0.0636307597, 0.6043540239, -0.3744175136, -0.024230592, 0.0047573047, -0.0024407294, 0.0111955423, 0.6244764924, -0.1457221955, 0.2170841694 ]
http://arxiv.org/abs/2402.05808v2
http://arxiv.org/pdf/2402.05808v2
Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learning
2024-02-08T16:46:26
2024-03-17T09:02:02
Zhiheng Xi, Wenxiang Chen, Boyang Hong, Senjie Jin, Rui Zheng, Wei He, Yiwen Ding, Shichun Liu, Xin Guo, Junzhe Wang, Honglin Guo, Wei Shen, Xiaoran Fan, Yuhao Zhou, Shihan Dou, Xiao Wang, Xinbo Zhang, Peng Sun, Tao Gui, Qi Zhang, Xuanjing Huang
cs.AI
cs.AI, cs.CL, cs.LG
In this paper, we propose R$^3$: Learning Reasoning through Reverse Curriculum Reinforcement Learning (RL), a novel method that employs only outcome supervision to achieve the benefits of process supervision for large language models. The core challenge in applying RL to complex reasoning is to identify a sequence of actions that result in positive rewards and provide appropriate supervision for optimization. Outcome supervision provides sparse rewards for final results without identifying error locations, whereas process supervision offers step-wise rewards but requires extensive manual annotation. R$^3$ overcomes these limitations by learning from correct demonstrations. Specifically, R$^3$ progressively slides the start state of reasoning from a demonstration's end to its beginning, facilitating easier model exploration at all stages. Thus, R$^3$ establishes a step-wise curriculum, allowing outcome supervision to offer step-level signals and precisely pinpoint errors. Using Llama2-7B, our method surpasses RL baseline on eight reasoning tasks by $4.1$ points on average. Notebaly, in program-based reasoning on GSM8K, it exceeds the baseline by $4.2$ points across three backbone models, and without any extra data, Codellama-7B + R$^3$ performs comparable to larger models or closed-source models.
[ -0.2029662728, -0.8013173342, 0.8832602501, 0.2464814931, -0.1437567472, -0.1178544462, -0.2656807899, -0.2156549245, -0.1671266258, 0.9428840876, -0.7433854938, -0.6071053147, -0.5408302546, -0.2043012977, -0.1771619767, 0.9932630658, -0.270586282, 0.2083300054, 0.1353268474, 0.2364238203, -0.3729735315, -0.4280467331, -0.9055408239, -0.6757603884, 0.7470154762, 0.7637972236, 0.3928243816, 0.5270271897, 0.1287776232, 0.1600215137, 0.1764829308, 0.4420208037, -0.6267754436, 0.1504640877, -0.3680957854, -0.6731929779, -0.3257328868, 0.2428647578, 0.3660671711, 0.5599985123, -0.4306306243, 0.0693660602, -0.236489594, 0.7532427907, -0.6747139096, 0.4337100685, -0.4413597584, 0.1451676339, 0.0737513155, -0.2728608251, -0.9626009464, -0.5724709034, -0.2603708506, -0.6086139083, -0.0960512087, 0.1816491485, 0.6281729341, 0.1853298992, -0.2974599004, -0.2221800089, -0.7443736196, 1.1078691483, -0.7990301847, 0.3846924007, 0.6425588727, 0.5624340773, -0.3390235007, -0.5149686337, -0.5169996619, -0.2571599782, 0.1431871802, 0.2760720849, 0.3577286303, 0.0728851631, 0.5384976268, -0.0039763274, -0.432844907, 0.2328501791, -0.4970478117, 0.0062770694, 0.7151345611, 0.247132048, -0.0578235202, 0.181759581, -0.1476537585, -0.2901898026, -1.0642193556, 0.0111229997, 0.5067891479, 0.3474594653, 0.0202905051, 0.4706638455, -0.2988428771, 0.634562254, -0.1579392403, -0.2751577795, -0.0656135529, 0.2208124995, -0.2943816185, 0.1170176268, 0.5352597237, 0.0472770333, 0.319393605, 0.1055434793, -0.3520276845, -0.0110437796, 0.4713378251, -0.5018336177, -0.2902775109, 0.1684251279, -0.3731280565, -0.1803936809, 0.0861837566, -0.5112300515, -0.2949078977, -0.5899088979, 0.4664788246, -0.3689545691, -0.2548332512, 0.5077909231, 0.3032946885, 0.4428038299, 0.7659884691, -0.8949614167, 0.2164418548, 1.0709683895, 0.4974612594, -0.0891639665, -0.3954287171, -0.7988187075, 0.1065615416, -0.5401062965, 0.6776871681, -0.5149380565, -0.2208028436, -0.0132861575, -0.0758152977, -0.1017696336, -0.5594878793, 0.6758298278, -0.7628028989, 0.1789889038, 0.1418883651, -0.4142198861, -0.5938771367, 0.2357447147, -0.5055500269, 0.9246321917, -0.0788818151, -0.4820683897, 0.3249692917, -0.4215356708, -0.4810173213, -0.3063757122, -0.2410604656, -0.6751827002, -0.2286832482, 0.2541939914, 0.6946300864, -0.134456858, 0.5265306234, -0.5574241877, -0.659101069, 0.0270668343, -0.3186892271, 0.7133244872, 0.2084886879, -0.3848704994, 0.3685247302, -0.828535378, 0.032039836, 0.1651032418, -0.4641901255, -0.0584236719, 0.0321370102, -0.4468853176, 0.2615628839, -0.1189365014, -0.3882859647, 0.491333127, -0.4578283727, 0.1285512894, 0.7265638113, 0.1056382507, 0.2409130186, -0.2264762521, 0.6053305268, 0.0107605001, 0.2501665354, -0.1042180136, -0.5659406185, -1.0163385868, -0.1344575286, -0.0846671164, 0.6647020578, -0.7748913169, 0.1841236353, 0.1551135182, -0.3811932206, -0.3445818126, -0.0149139119, 0.6727183461, 0.5344734788, 0.6783293486, 0.0486334674, -0.7076535225, -0.948120892, -0.1654027402, -0.3852081299, 0.0985693857, 0.108746767, 0.616292119, -0.0248735473, 0.5023373961, -0.6707806587, -0.2791317701, -0.6374713182, 0.4123093784, 0.5341374874, 0.5665498376, -0.0848615989, -0.6333798766, -0.0399756953, -0.0420404524, -0.9520629644, 0.0291344468, -0.3572068512, -0.1856895089, 0.3346589506, 0.5448666215, -0.4568003118, 0.4365482628, 0.3253228962, -0.0125885904, 0.8350065351, -0.2676717937, 0.0723923594, -0.6810624599, -0.2116558552, 0.0526450165, -0.2312151045, -0.405400753, 0.1462433934, 0.1595299989, 0.1730129421, -0.4467361867, 0.3872834444, -0.2954869568, -0.2472126782, -0.2950319052, 0.1421185434, -0.0084827896, 0.7958162427, 0.4404464066, 0.6442104578, 0.3588812649, -0.5912524462, 0.5669950843, 0.0197393987, -0.4673341811, 0.2805282772, -0.3162378073, -0.0968497396, 0.0699759573, 0.7294977307, -0.6876632571, -0.1992816478, 0.4664641023, -0.4485180378, 0.2303768396, -0.0935904309, -0.2653593123, -0.4579084814, -0.1097259149, 0.1851991266, 0.4795384407, -0.7490236759, 0.6735147238, -0.0362870358, 0.1712414324, -0.9026955962, -0.6790421009, -0.0898932442, -0.2466047853, -0.2773064077, -0.2548311949, 0.3176068366, -0.1930381507, -0.1938311011, -0.0431999601, -0.0083023673, 0.2009508461, 0.3603286743, 0.2923403382, -0.1953912079, 0.0117465528, 0.1196296662, -0.3106052577, 0.3007349968, -0.4421654642, 0.14067173, -0.1087701172, -0.787420392, -0.5847241879, 0.2803662717, 0.1431697458, -0.0902187824, 0.6254953146, 0.3440208733, -0.2018704265, -0.5795432329, -0.5502658486, -0.1923503131, -0.3741697073, 0.3494567871, -0.5329739451, -0.8510407805, 0.371361047, -0.1321447343, 0.212019369, -0.0134411594, 0.5870392919, 0.206204623, 1.2719355822, 0.3190679252, 0.3072221279, 0.2095945776, -0.3942195177, 0.3941266239, -0.9102381468, -0.4410517216, -0.2423002869, 0.1851690263, -0.12865372, -0.5849388838, 0.0914451405, 0.5382924676, -0.6108760834, 0.3314276636, -0.2410315126, 0.3661193848, 0.7252753377, 0.3249181509, 0.4441533387, -0.4505482316, -0.2223069668, 0.1800338328, -0.5751965642, -0.7168530226, 0.9530619979, 0.4728481174, 1.152848959, 0.1944066733, 0.963620007, 0.1107624024, 0.6546126008, -0.8920831084, 0.7866345048, 0.3587051928, -0.2401625216, -0.3039672971, -0.476793766, -0.499165535, 0.4293452501, -0.0759677514, -0.777991116, -0.1143206879, 0.3156158328, -0.2191490084, 0.4134367406, -0.7641972303, 0.8003565073, -0.0885362253, -0.4982896149, -0.398768425, -0.7774371505, 0.8848947287, 0.1159858704, 0.4001962245, 0.1226823181, 0.3174493909, 0.5628906488, -0.2448711246, 1.0011804104, -0.2754819691, -0.452129215, 0.3551632762, 0.3923017681, 0.7332080603, 0.3164662719, 0.1018495858, -0.2915189564, -0.2488753647, -0.3675768673, -0.8937514424, 0.6925489306, -0.6904944181, -0.9960374832, -0.3240998685, -0.4164206088, -0.4122861922, 0.0417807698, -0.3533884585, 0.3255127668, 0.2556108534, -0.0785428211, 0.9695417285, -0.4059257805, 0.0433712751, 0.5666900277, -0.6135013103, -0.2851499915, 0.9262850881, -0.2839268148, 0.4602349401, 0.5725851059, 0.2094707638, -0.3712912798, -0.5064243078, -0.4964873493, 0.3159143031, -1.0943821669, -0.1959032416, -0.7744463086, -0.1272625178, -0.3127874136, -0.2373908907, -0.5523988008, -0.4344713986, -0.3263273835, -0.3383594751, -0.0241129193, 0.8055205941, -0.2716220915, 0.1913621426, -0.576125145, 0.3419202864, 0.4150971472, 0.3103146255, 0.343501091, -0.6563683152, -0.294583112, -0.0903103277, -0.3820776343, -0.674334228, 0.2623809874, -0.1610540748, 0.5625083447, 0.5140959024, -0.0306561273, 0.5343251228, -0.4591329992, 0.6948523521, 0.103895016, -0.8204096556, 0.687928319, -0.3824193478, -0.0318469927, 0.1241734847, 0.3375255167, -0.3891139328, -0.6852180958, -0.6000506282, -0.726444006, 1.0638048649, -0.2345927358, -0.2214555442, -0.1357881576, 0.4183951318, 0.10469044, -0.1996892095, -0.8767871261, -0.0054113176, -0.3147803843, -0.136179626, 0.1276013702, -0.2328227162, -0.2336958796, -0.0972445905, 1.2901147604, -0.3154122531, -0.0402433164, 0.1329920292, -0.0373144969, 0.0018034062, 0.4372645319, 1.0242298841, 0.742108047, -0.3025059402, 0.393153578, 0.2413867414, -0.1051596254, 0.1740913689, -0.303591162, 0.1412462443, -0.6090670228, 0.6857270002, 0.8749748468, 0.3040359616, -0.8619449735, 0.5513909459, 0.0349323004, -0.4886825681, -0.4036264718, 0.2777846754, 0.2461580932, 0.6064510345, 0.3464882374, -0.3175169528, 0.0032297706, -0.4171060026, 0.3916905224, 0.0266257972, -0.4594797492, -0.0858709216, 0.6556991935, -0.1416140795, -0.0763588771, 0.613396585, -0.2440714687, -0.5404723287, 0.6420589089, 0.8574442267, 0.5530882478, -0.0518884286, 0.3657983541, 0.5893557668, 0.1184926927, -0.8019453287, 0.2136348188, 0.0228434931, -0.742883265, -0.994346261, -0.5109288692, -0.8333894014, 0.08304324, -0.8330104947, 0.3565503955, -0.5514231324, 0.4222151935, -0.224637419, -0.2639020085, -0.0006170645, 0.3762328327, 0.0835534632, 0.8214668632, -0.969897747, 1.0841468573, 0.6243869066, -0.5614734292, -1.2406394482, -0.3335646093, -0.0201114528, -0.9995388985, 1.3410840034, 0.2484679818, -0.4930274785, 0.0358703062, -0.7621011734, -0.4132416546, 0.9064508677, 0.0991131961, -0.4477058649, 0.0971446037, -0.3480193913, 0.4163096249, -0.4575742781, 0.3356224298, 0.4874357283, 0.4342617393, 0.4240559042, -0.5419584513, 0.1176580191, 0.2514780462, -0.1198230758, 0.1976179779, -0.4323268235, 0.8705895543, -0.6765566468, -0.2007207721, 0.0375267863, 0.8716564775, 0.7843806148, 0.2573408782, 0.3509798646, 0.7751603127, 0.3445724845, -0.0830228403, 1.0047758818, 0.3129374683, 0.6144505739, 1.402141571, -0.4509080648, 0.7974030972, 0.4878130555, -0.1886647344, 0.6371471882, 0.6011746526, 0.1519887447, 0.4988956451, 0.3686473668, -0.1424580812, -0.8505476117, 0.1427089274, -0.0846113041, 0.2604047358, 0.5452531576, -0.1484252661, -0.4144330919, 0.1283852905, 0.1446425766, 0.5171134472, -0.3037654757, 0.6159142852, 0.2419692278, -0.8929261565, 0.5612472892, 0.038950406, 0.2802405357, -0.4724521637, -0.5678824782, -0.1524678469, 0.41178146, -0.2746806443, -0.9922472239, 0.330658555, -0.2761608064, 0.0736820698, -0.2953501344, 0.4312446415, -0.3486123085, -0.2409096509, 0.3541334867, 0.2462766916, 0.2006354779, 0.2516304255, -0.6436961293, 0.007143477, -0.0142096439, -0.5422005653, 0.2489917278, 0.5023231506, -0.3543694019, 1.1094601154, 0.5258131623, 0.2464466542, -0.1000480801, 0.3330224454, 0.8760959506, -0.8313351274, -0.4351710379, -0.7879322767, 0.148391068, 0.0816886798, 0.0174577441, 0.5479789972, 0.4704438746, 1.0758744478, -0.1461106092, 0.7392970324, 0.2204929143, 0.7677045465, -0.9981698394, 0.0617926046, -0.3346267641, 0.4568748772, -0.0814468116, -0.715456605, -0.7112683058, 1.0571484566, -0.8148255944, -0.0544937141, 0.7801845074, 0.9488531947, -0.1602124572, 0.2899179757, 0.4177369177, 0.0278897379, 0.5933248997, 0.9344755411, 1.2139393091, -0.1687431335, 0.4209921956, -0.031515006, -0.2446634322, -0.3461345732, -0.9744117856, -0.9031789303, -0.2009280771, -0.1307707578, -0.5146330595, 0.1441279948, 1.0486184359, 0.5251775384, -0.8921177387, -0.2386341542, -0.3262999952, 0.4985230267, -0.491840452, -0.278070122, 0.2860719562, -0.4704660177, -0.430106312, 0.4101957381, 0.359105438, -0.3863644004, -0.4827706516, -0.2807263732, -0.4419413805, -0.0372770578, 0.5247305036, 0.4783211648, -0.9941923618, -0.6196264029, -0.5602366328, -0.1203491539, -0.0782786757, 1.0085088015, -0.6680856347, 0.1888543218, 0.2733372748, 0.6443598866, 0.7069150209, 0.0038275959, 0.464138478, -0.440864712, 0.1065259203, 0.2344562411, 0.2108534425, 0.1931334138, -0.1676873565, 0.6464161873, 0.1128312722, -0.7210592031, -0.7384809852, 0.7494645119, -0.9830468297, -0.3285559714, 1.3164490461, -0.5028120279, -0.1793112457, -0.2179253548, -0.4468778372, 0.3387415409, -0.3732150197, 0.8224357367, 0.476796478, -0.5088701844, -0.5216795206, -0.8829049468, 0.3100240231, 0.3597233593, -0.7798852921, 0.3527528346, 0.5552715659, 0.1274199039, -0.0797693804, 0.559340477, -0.2195866704, 0.2384507805, -0.2355665863, 0.2005080581, -0.2728136778, -0.4907976985, -0.1631795466, 0.1673040241, 0.2220951766, 0.1832853258 ]
http://arxiv.org/abs/2402.05794v1
http://arxiv.org/pdf/2402.05794v1
Phonetically rich corpus construction for a low-resourced language
2024-02-08T16:36:11
2024-02-08T16:36:11
Marcellus Amadeus, William Alberto Cruz Castañeda, Wilmer Lobato, Niasche Aquino
cs.CL
cs.CL, cs.AI
Speech technologies rely on capturing a speaker's voice variability while obtaining comprehensive language information. Textual prompts and sentence selection methods have been proposed in the literature to comprise such adequate phonetic data, referred to as a phonetically rich \textit{corpus}. However, they are still insufficient for acoustic modeling, especially critical for languages with limited resources. Hence, this paper proposes a novel approach and outlines the methodological aspects required to create a \textit{corpus} with broad phonetic coverage for a low-resourced language, Brazilian Portuguese. Our methodology includes text dataset collection up to a sentence selection algorithm based on triphone distribution. Furthermore, we propose a new phonemic classification according to acoustic-articulatory speech features since the absolute number of distinct triphones, or low-probability triphones, does not guarantee an adequate representation of every possible combination. Using our algorithm, we achieve a 55.8\% higher percentage of distinct triphones -- for samples of similar size -- while the currently available phonetic-rich corpus, CETUC and TTS-Portuguese, 12.6\% and 12.3\% in comparison to a non-phonetically rich dataset.
[ -0.4783916771, -0.6454174519, -0.0597749688, 0.341091454, -0.4631046653, 0.3622766733, -0.5320691466, -0.5273613334, 0.7194551229, 0.5200472474, 0.0866538659, -0.4379175901, -0.1852661222, 0.0711074173, -0.2028112262, 0.8084390163, 0.3792025149, -0.0661535561, 0.5088339448, -0.1975417733, -0.4199347496, -0.3671188653, -0.3366090357, 0.1711608022, 0.4046573341, 0.5529125333, 0.8938286304, 0.7963443398, 0.1806482822, 0.1755402386, -0.5735545754, 0.1364562809, -0.2228644788, 0.0982785374, 0.054139927, -0.3752866387, -0.3972671032, -0.1476602405, 0.7027777433, 1.1976445913, -0.3225147724, -0.1061397269, 0.2387754917, 0.0033808372, -0.5668418407, -0.0435759649, -0.5824024081, 0.1505589187, -0.6590490341, -0.3425813913, -0.3024789095, -0.3500666618, 0.0710945278, -0.5008397698, 0.1651494056, -0.236485213, 0.5646824837, 0.1018829271, -0.0352450013, -0.3636493385, -0.9340132475, 0.794819057, -0.3536423743, 0.5787138939, 0.5174888968, 0.2184228897, 0.2357186824, -0.2083882391, -0.3418004215, -0.3638427556, 0.2257012725, 0.1368959695, -0.040770933, -0.0013389274, 0.0018182938, 0.3969713748, -0.5837078094, 0.1922613084, -0.5007963777, -0.403496027, 0.4142516553, -0.3421611786, 0.2212671787, -0.5061746836, -0.250751704, -0.0536813214, -0.5886057019, -0.212596491, 0.7546890974, 0.8935739994, -0.3198511899, 0.6618846059, 0.0271042604, 0.6798866391, -0.4312563837, -0.4362201393, 0.5264448524, -0.3597359657, -0.1266501248, 0.3457135856, 0.794338882, -0.3875497282, 0.4872983098, -0.1076564118, -0.3897738755, -0.0173390377, -0.0263052303, -0.5379140973, -0.063967295, 0.3429124355, -0.4153263867, -0.372603178, -0.2560617626, -0.6881895661, -0.1449057311, -0.0902922899, -0.2380280942, -0.7464543581, -0.4558006227, -0.1330947131, -0.0458239354, -0.1722570211, -0.0136311762, -0.7728462219, 0.1243283451, 0.0958517343, 0.9404106736, -0.103189446, -0.1237816066, -0.7618463635, 0.0487554222, -0.5044256449, 0.8924878836, -0.7543333769, -0.9007587433, 0.2451304793, -0.4119699299, 0.0499610938, -0.8693420887, 1.0504468679, -0.1196924523, 0.2120441347, 0.0102451788, -0.1812007427, 0.1846259534, -0.0897649676, -0.7312850952, 1.1223045588, 0.3698192239, -0.8162326217, 0.3482717276, -0.4320629537, -0.8059349656, 0.5894419551, -0.196275562, -0.0470328666, -0.1646972001, 0.1022633389, 0.3391390443, -0.0978113413, 0.0893001407, -0.2739760876, -0.5636942983, 0.3672002554, -0.4843725264, 1.0979983807, 0.7302849889, -0.1683855355, -0.2759364843, -0.8505383134, 0.1484334618, -0.0485771522, -0.7157662511, -0.4799335003, -0.3812734783, 0.588512063, -0.1876603812, 0.0869566575, -0.3921414614, 0.2789023519, -0.7583793998, 0.5114017725, 0.3051800728, -0.0876220539, 0.5796666741, -0.3513264358, 0.6323464513, -0.110564433, -0.1005479842, 0.0402188264, -0.3693823218, -0.5837184787, -0.8668914437, 0.8405386806, 0.9266235828, -0.6910405755, 0.590302825, -0.2367615253, -0.5485519171, -0.6618335843, 0.1062395722, 0.355638206, 0.1542913914, 0.3116821945, -0.3434894681, -0.4934539795, -0.7692376375, 0.1870512068, -0.3413673937, -0.2092994899, 0.4776147306, 0.058515925, 0.0086841891, 0.5275849104, -0.1778796166, -0.3602629304, -0.4779318571, -0.0639432445, 0.3359182775, 0.4381436408, 0.7295377851, -0.4433287382, -0.1250671297, 0.0140628926, -0.3932096362, -0.2308029979, 0.0974433199, -0.0823293552, 0.1526488364, 0.1917762905, -0.5420645475, 0.0070511447, 0.2756438255, 0.0151189277, 0.2628672123, -0.1557822376, -0.1477811933, -1.0777759552, 0.0964115858, -0.0799829811, -0.0036718138, -0.3195987344, -0.1909502596, -0.3167538941, -0.366494, -0.5364584923, 0.5588297248, -0.5505304933, -0.343408674, -0.1404387951, 0.2493836135, -0.3364059329, 0.4611284733, 0.277058959, 0.7033901811, 0.6000355482, -0.6631004214, 0.3905702829, 0.3339861333, -0.3540724218, 0.7230358124, -0.5604726672, -0.0630299896, 0.1774219722, 0.2494168133, -0.7431171536, -0.2147902399, 0.0817437172, -0.2947109044, 0.1682236791, -0.388795048, -0.4867187142, -0.2651107609, 0.0763854533, 0.5878187418, 0.5068463087, -0.3968245089, 0.3740463555, 0.8510993123, -0.6050826311, -0.3962773383, -0.823795557, 0.2688155472, -0.555746913, -0.6170594096, 0.3795873523, 0.0488617793, -0.4417819977, -0.2106799483, 0.3700792491, -0.2951821983, 0.004139611, -0.0807341784, 0.2796194255, -0.207283482, 0.3518153727, 0.0531820953, 0.1405295283, -0.4261255562, -0.5322896242, 0.67182827, -0.0127526801, 0.117595084, -0.2739340067, 0.5746923089, 0.2199499607, -0.4508271217, 0.0348438919, 0.634713769, -0.3188958764, -0.5439522862, -0.3928436041, -0.0788302198, -0.3277606964, -0.0272979811, -0.466558516, -0.5507600904, 0.5997963548, 0.2680562139, -0.143723011, 0.1836544275, 0.6320613623, -0.0427695401, 0.3494703472, 0.2976006567, -0.1298986673, 0.6774579883, -0.3887229562, -0.2458157688, -0.3836391568, 0.0990845785, -0.7979907393, -0.1302259266, -1.0286076069, -0.4541752934, 0.3138741553, -0.0749063417, 0.1822891533, 0.579769969, -0.695618391, 0.1856594086, 0.9935923815, 0.0556445718, 0.1834148616, 0.2268057913, -0.4650943577, 0.2973065376, -0.6841225624, -0.6863773465, 1.0087579489, 0.012081896, 0.4943868816, 0.1897662282, 0.9697696567, 0.3966379166, -0.3915269077, -0.8463009596, 0.6289466619, -0.0925308689, -0.4542233944, -0.5306823254, -0.4246305823, -1.293328166, 0.2439631969, -0.3312766552, -0.4710023701, 0.385500133, -0.086565882, -0.7048301697, -0.0803911909, -0.8581416011, 0.6497404575, -0.246026203, -0.2568112016, -0.1018172204, -0.6263390183, -0.0624313056, 0.0600749068, 0.3894666135, 0.0436967798, -0.0002359055, 0.8782687783, -0.5032077432, 0.6895967126, -0.2938023508, -0.219874844, 0.8578622937, 0.2229727358, 0.2717436552, 0.0935408324, -0.1018172801, 0.2172356993, 0.0113766426, -0.6713808775, -0.0669473186, 0.5555329323, -0.7013348341, 0.0367168523, -0.3388508558, -0.3564117849, -0.5295013189, 0.1683029979, 0.4505182207, 0.339497447, -0.591152072, -0.001944655, 0.5007300973, -0.2634181976, 0.7178800702, 0.2147394121, 0.2866182327, -0.4908719659, 1.0348802805, 0.4242623448, -0.1200940385, 0.427238822, 0.272652626, -0.2607843578, -0.7491471767, -0.529774487, 0.3283634186, -0.3044023216, 0.0386039987, -0.4563123584, -0.0244453214, -0.4226428866, -0.0037016058, -0.3227266371, -0.7114027739, -0.2533004284, -0.1555233747, 0.0086291917, 0.3811487556, -0.3736086488, 0.2278258055, -0.7786273956, 0.1972601563, 0.0718936399, 0.1399554908, -0.4330409467, -0.4297907054, -0.1730470657, 0.0498203523, -0.14206177, -0.9177109003, 0.5474398732, 0.1309022158, 0.5035076141, 0.254465282, 0.1473524421, 0.2972863317, -0.1899293214, 0.588684082, -0.0332153514, -0.7022690177, 0.8122820258, -0.708956182, 0.1348585933, 0.4569068849, -0.0643594116, -0.3675113022, -0.5540076494, -0.9930002689, -0.9442243576, 0.3307470381, 0.5731914043, 0.1282977909, -0.1690508127, -0.1364392191, 0.1945302039, 0.1669338644, -0.3650704622, 0.1918938458, -0.3312256634, -0.1183384806, 0.1519138664, -0.1563621759, -0.2241607755, 0.1376289278, 0.6128155589, -0.1689337641, 0.3939158618, 0.1252093464, 0.0169519577, 0.2033981234, 0.7243965864, 0.5044484735, 0.1894635856, -0.2022205591, 0.2263762355, 0.1988584846, -0.6381958723, -0.0631197914, 0.481605202, -0.223206833, 0.3547854722, 0.5299316049, 0.7026227117, 0.0529981442, -0.7972079515, 0.4975450337, 0.2999742925, 0.024484342, -0.3905180693, -0.116520144, 0.0643946379, 0.1181836426, 0.2739568353, 0.0040741675, 0.2927883863, -0.5352540612, -0.0031139252, 0.3429548144, -0.2430083454, -0.24168396, 0.308032304, 0.6154568195, -0.1603002399, 0.5179239511, -0.4550885558, -0.0313829556, 0.4891780019, 0.1428505927, 0.7466561794, -0.4412518144, 0.2872274518, 0.2257581502, 0.1431374848, -0.0646958053, 0.7249305844, -0.2666613758, -0.7393068671, -0.1890904456, -0.6350067258, -0.5230189562, 0.0861669406, -0.4092390239, 0.4321620762, -0.2289068252, -0.1761673391, 0.1360475868, -0.1164575368, -0.5393317342, 0.3790382147, 0.2864949703, 0.537040472, -0.4549399316, 0.8322034478, 0.3699154854, -0.4648453891, -0.8892941475, -0.1155171841, -0.3719240725, -1.031463027, 0.5204457641, -0.2937634587, -0.0692408085, -0.3088804483, -0.1814988703, -0.5096593499, 0.4967862368, 0.7968028784, -0.6020812392, -0.2401153892, 0.2387292981, 0.6364713907, -0.3289244175, 0.4657826722, 0.3809634149, 0.363984108, 0.2657727599, -1.3476301432, -0.2506221831, -0.2488453984, 0.0001826365, 0.0272248425, -0.6261053681, 0.5385773778, -0.4913573265, -0.4643698633, 0.0411115438, 0.5708669424, 0.1716786772, -0.0802864656, 0.7298084497, 0.477535516, 1.2341759205, -0.0417084694, 0.8393551707, -0.5357743502, 0.0139537659, 0.9498935342, -0.1849317551, 0.9341463447, 0.2582969666, -0.1125335097, 0.1517594159, 0.8328523636, -0.0077882661, 0.3974150717, 0.336473763, -0.4150480628, -0.3550875485, -0.587849021, -0.5479994416, 1.0893993378, 0.2639531195, -0.3330289721, 0.0887015387, 0.2086214125, 0.0848806351, -0.0974686071, -0.1347585022, 0.4997045398, 0.0580854788, -0.5631299019, 0.9329276681, -0.2382431328, 0.5903768539, -0.1662519276, 0.1925721318, -0.2560396791, -0.0336647071, -0.2001141757, -0.7962235212, 0.2195388526, 0.0773344859, 0.2302919626, -0.2263302058, 0.4779552221, -0.537440896, -0.3987128139, 0.1890967935, 0.9140504003, 0.438842237, 0.0470690504, -0.183706373, 0.0299807247, -0.1502352655, -0.0413301587, -0.0846133456, 0.6702814102, -0.1372543126, 0.353697896, 0.524007678, 0.5789156556, -0.250841856, 0.456117034, 0.6490306854, -0.7897537947, -1.0943943262, -0.3925049007, 0.1352561265, -0.0307198409, -0.5449901819, 0.3188898265, 0.8779206872, 0.7719193101, 0.1500755847, 1.2257525921, 0.081073761, 0.8966943622, -0.4817209244, 0.3781898022, -0.1864072829, 0.3748018742, -0.3530247509, -1.1022201777, -0.112667352, 0.7199172378, 0.1139793694, 0.0748346373, 0.559710741, 0.555685401, -0.1027344614, 0.2832916081, 0.3357977271, 0.220377326, -0.0396647304, 0.5549077392, 0.8075322509, -0.0007339412, 1.1437761784, -0.0763963908, -0.3422735035, -0.2425824851, -0.5725472569, -0.6878503561, -0.546521306, -0.2343321741, -0.5739924312, 0.0488013178, 0.910954535, 0.727532804, -0.5902620554, -0.5341541171, 0.0315907039, -0.0022905599, -0.2987904549, -0.2080420405, 0.3382348418, -0.0919188708, -0.9599227905, 0.7171323299, 0.1439075321, 0.3344755471, -0.1559799016, 0.2021634579, 0.2116343379, 0.1306964457, 0.4417794049, 0.3794519007, -0.41003564, -0.2125593275, 0.2302984297, -0.1923865974, 0.2127235681, 0.7659994364, -0.8194879293, 0.2162906677, 0.5134059191, 0.3024524748, 0.4125857949, -0.4391537309, 0.2738432884, -0.8810198307, 0.5361351967, 0.7130568624, 0.6535486579, 0.5666194558, -0.1151446104, 0.686286509, 0.5555801392, -0.1673949808, -0.835406661, 0.3576657176, -1.7591485977, -0.2053622752, 1.5952666998, 0.332059592, 0.0120280189, -0.2472924739, -0.5766205788, 0.2858776152, -0.9438288808, 0.6089789271, 0.5600200891, -0.0238740724, 0.2008576244, -0.1958053112, 0.2986263335, 0.2138614655, -0.7037296891, 0.1181234643, 0.5837587118, 0.0350362882, 0.4780012965, 0.795946002, 0.0385998711, -0.0234912802, 0.1933474243, -0.0487431735, 0.204194203, -0.2488689125, 0.1866424084, 0.6752160788, 0.0170337297, -0.2757595778 ]
http://arxiv.org/abs/2402.05785v3
http://arxiv.org/pdf/2402.05785v3
Limits of Transformer Language Models on Learning to Compose Algorithms
2024-02-08T16:23:29
2024-05-25T11:09:28
Jonathan Thomm, Aleksandar Terzic, Giacomo Camposampiero, Michael Hersche, Bernhard Schölkopf, Abbas Rahimi
cs.LG
cs.LG, cs.AI, cs.CL
We analyze the capabilities of Transformer language models in learning compositional discrete tasks. To this end, we evaluate training LLaMA models and prompting GPT-4 and Gemini on four tasks demanding to learn a composition of several discrete sub-tasks. On both training LLaMA models from scratch and prompting on GPT-4 and Gemini, we measure how well these models can reuse primitives observable in the sub-tasks to learn the composition task. Our results indicate that compositional learning in state-of-the-art Transformer language models is highly sample inefficient: LLaMA requires more data samples than relearning all sub-tasks from scratch to learn the compositional task; in-context prompting with few samples is unreliable and fails at executing the sub-tasks or correcting the errors in multi-round code generation. Further, by leveraging complexity theory, we support these findings with a theoretical analysis focused on the sample inefficiency of gradient descent in memorizing feedforward models.
[ -0.1097497791, -0.5493947268, 0.6064799428, 0.3084753454, 0.0102871163, 0.2158461064, -0.2120315433, -0.3509606123, -0.2087804675, 0.4442884624, -0.9119818807, -0.1395757496, -0.6917147636, 0.3031014204, -0.5261352658, 1.1969817877, -0.1479960829, -0.0795566291, -0.3914788067, 0.2545282245, -0.7928085923, -0.1639031321, -0.5205697417, -0.4229223728, 0.3973718584, 0.5939359665, 0.1645632386, 0.4792799354, 0.3770291209, 0.354755789, -0.021680871, -0.0696932375, -0.6314535737, 0.2331199199, -0.0350986719, -0.9101143479, 0.1294572651, 0.1046254113, 0.5109605193, 0.6197099686, -0.2397441715, 0.0693610609, -0.2537820637, 0.5119926333, -0.3745371997, 0.3667037487, -0.9323952794, 0.0211801268, -0.0096592028, 0.2821392417, -0.4274129868, -0.134449929, 0.2616740167, -0.5995411277, 0.307207197, -0.2836260498, 0.3981468081, 0.536036253, -0.2409549206, -0.7208964229, -0.8067803383, 0.9422901869, -0.4224290848, 0.2433566749, 0.4490819275, 0.4008382559, 0.135526821, -1.0600320101, -0.6695191264, -0.454367727, -0.0285406504, 0.0999475643, -0.3697105944, -0.173303172, 0.5048892498, 0.4032928944, -0.2328034341, 0.1971305907, -0.7134343386, -0.0159394871, 0.3776727617, 0.3239840865, 0.259755373, 0.0602253713, -0.2306886613, -0.2315178812, -0.776679635, 0.1468921155, 0.4740225077, 0.1228734553, -0.3687033057, 0.357096523, 0.1070089117, 0.5502906442, 0.3547853231, -0.3893223107, 0.0853401199, -0.1530506909, -0.2128852159, -0.4705398381, 0.6024629474, -0.1923828125, 0.2529101968, -0.3396146595, -0.4531965852, 0.1881662309, 0.7707115412, -0.5857153535, -0.4561330378, 0.236262694, -0.1092175916, -0.218966499, -0.038821578, -0.3157134056, 0.0019815802, -0.3541365862, 0.6672460437, -0.414213568, 0.0541231558, 0.0223423541, -0.0620609522, 0.2650193572, 0.040310055, -1.2553220987, 0.3716821969, 0.7551196814, 0.5510885715, -0.2007885873, -0.6547082663, -0.1016541198, -0.2028730363, -0.1890096962, 0.8312652707, -0.6315495968, -0.6672174335, -0.2064863145, -0.0180888418, -0.5826224685, -0.7285531163, 0.389793843, -0.4749598503, 0.286547929, -0.3647562265, -0.5655121803, -0.3736253977, 0.0632228181, -0.987631619, 1.0352417231, 0.5091034174, -0.4528025091, 0.1152904779, -0.4648757875, -0.7071681619, -0.0284570772, -0.2453501374, -0.5813099146, 0.3100332022, 0.2658444941, 0.6401970983, -0.3128381371, 0.166655153, 0.3451052308, -0.5099673867, 0.2948194444, -0.2142007947, 0.50818187, 0.0894776508, -0.5860668421, 0.0968024433, -0.6309841275, -0.4633561075, 0.1517751366, -0.5767429471, 0.2364256978, 0.1860581487, -0.2695580125, 0.2064121515, 0.088622652, -0.3957037032, 0.1931450665, -0.2749098241, 0.7063952684, 0.7277413011, -0.1468604505, 0.6362476349, -0.6345498562, 0.7909710407, 0.0762122124, 0.0729484037, -0.5675861239, -0.4248714745, -0.959626019, -0.1998473704, 0.0072894963, 0.5651982427, -0.8051646948, 0.0768561289, -0.291004926, -0.7616207004, -0.334025979, 0.1600745916, 0.452729404, 0.6246384978, 0.327772975, -0.2079161108, -0.4005672634, -0.7802701592, 0.1390705705, 0.0915110707, -0.0082485629, 0.1115906909, 0.7861730456, -0.2881920636, 0.7051073909, -0.1526442319, 0.0234857947, -0.4053656161, -0.0848385766, 0.2537661195, 0.4377702475, 0.4139864147, -0.6796141267, -0.4988725483, -0.1441577226, -0.4961754382, 0.0173826274, -0.0309670419, 0.3557603657, 0.0488568768, 0.512042284, -0.6686277986, -0.0118604964, 0.7481254339, 0.1411315203, 0.5648013949, -0.070599407, -0.384275794, -0.8121877313, -0.1314559579, -0.1668320447, 0.1319801211, -0.8892527819, 0.1572648287, 0.200677231, -0.0681339279, -0.4310836792, 0.1717024595, -0.3163943589, 0.1355181783, -0.439606607, -0.3666973412, -0.2837688327, 0.766780138, 0.0106925527, 0.7336500883, 0.5343925357, -0.657802403, 0.1425084025, 0.0284728594, -0.3129237592, 0.4542004466, -0.8905557394, 0.2301685065, -0.3419152796, 0.4277745485, -1.1051638126, -0.2007776946, 0.1354354322, -0.0274723526, 0.3219040036, 0.1127105951, -0.0803899243, -0.3692377806, -0.0213084538, 0.3942452371, 0.5135876536, -0.4285505116, 0.8793507218, 0.1220739558, 0.1584526151, -0.7064184546, -0.6634350419, -0.3898018599, -0.0926020518, -0.3309521973, 0.5487409234, -0.0426588356, 0.0503325053, -0.1495597959, -0.2097915113, 0.183325842, 0.0871258005, 0.4557410181, 0.0364072695, 0.052634567, 0.0303110983, -0.0075379442, -0.1937867254, 0.207369104, -0.3751155138, 0.610969305, -0.076648362, -0.6280785799, -0.3057955205, 0.2093591392, 0.6089955568, -0.2581703663, 0.5732117891, 0.4100126922, -0.1655034274, -0.4652509093, -0.6100821495, -0.3073514998, -0.4643267989, 0.336116761, -0.5266094804, -1.040168643, 0.7275583744, 0.1479845941, 0.2498898059, 0.6389533877, 0.6311270595, -0.1072536334, 0.4488854408, 0.7140985727, -0.3612506092, 0.4913824797, -0.6990472674, 0.0386722386, -0.6035549641, -0.4105948508, -0.6348249316, -0.4211453199, -0.6628041863, -0.5185332298, 0.4799293578, -0.4725942314, -0.4549189806, 0.4047222137, -0.447444737, 0.7461932898, 0.8357411623, 0.2592818737, 0.2015464753, 0.0185415279, -0.0091902716, 0.1368549168, -0.7889805436, -0.2509430945, 1.2302436829, 0.3294374347, 0.8293322921, -0.0787007138, 0.6344248056, -0.0868655294, 0.4348177314, -0.867677331, 0.2030435354, -0.1800775677, -0.5517688394, -0.1418364942, -0.2539631128, -0.8066874146, 0.0911958739, 0.0269177146, -0.4596046805, 0.062417116, -0.0272336565, -0.1588991284, 0.3373389542, -0.4505507052, 0.5735412836, 0.0392661765, 0.1396717876, -0.0650965795, -0.7840062976, 0.4871005118, -0.2611822784, 0.1567716151, 0.2637355924, -0.0182465259, 0.5401673317, -0.1594384015, 1.3463947773, -0.0833922401, -0.3601187766, 0.3934421241, 0.0665872023, 0.7278101444, -0.3499342799, 0.0164337531, -0.0414071456, -0.2538357973, -0.2643022537, -0.5322595835, 0.2727501094, -0.9377339482, -0.4528982341, -0.1028328091, -0.5131335855, -0.0358403586, -0.2085432261, 0.6569725275, 0.3084429204, 0.0440750867, 0.0550251417, 0.7145854235, 0.0389951169, 0.5575037599, 0.3123162985, 0.3286897242, -0.3294288814, 0.9434518814, 0.025025012, 0.4220975637, 0.6071000099, 0.2006067038, -0.2102054507, -0.6674514413, -0.4044703245, 0.2885220647, -0.8612086773, -0.1140869111, -0.5832115412, -0.1067848057, 0.117269814, -0.0813842416, -0.4176805317, -0.2366182506, -0.4027383029, -0.2115493864, -0.0323199555, 1.1500816345, 0.2597397864, 0.7489351034, -0.6454894543, 0.0642283335, 0.5858824253, 0.0493101887, 0.2694067061, -0.6250955462, -0.4361082911, -0.1808789819, -0.6625842452, -0.8498359919, -0.007646645, 0.0734066665, 0.7635321617, 0.2099174261, -0.3871673048, 0.3866505325, -0.5504045486, 0.9339835048, -0.0581220202, -1.1885421276, 0.1845114082, -0.3571929634, 0.3835488856, 0.4739507139, 0.6782416701, -0.5417797565, -0.2665337324, -0.6379582286, -0.5235245824, 0.6614840627, -0.0679332912, 0.5277258754, 0.0139798187, 0.6041359901, 0.2995039225, 0.2343692482, -1.0911337137, -0.156896174, -0.2657424212, -0.372549057, -0.0756484568, -0.2807520628, 0.0324318558, -0.2181113958, 0.5939047933, -0.2510151565, 0.3729096949, -0.1300016046, -0.0609878674, -0.1229865551, 0.0772042572, 0.8526355028, 0.6184328198, 0.3630420566, 0.0193904582, 0.3341201842, -0.5437151194, 0.3555076122, -0.1555230767, -0.2687635422, -0.4944289625, 0.6519386172, 0.9662941694, 0.4163659215, -0.6795421839, 0.4555619657, -0.0068488731, -0.4399263561, -0.2623697519, 0.2424145788, 0.2818908691, 0.3136619031, 0.4248930216, -0.0838840902, -0.1447632164, -0.4309911728, -0.0305752661, 0.3734180033, -0.3597460091, -0.551504612, 0.6893389225, -0.0429677926, -0.2148553431, 0.8299011588, -0.0163523536, -0.6737828851, 0.6587033272, 0.7681876421, 0.8146882057, -0.4067279398, 0.2280668467, 0.1939662099, 0.4658371508, -0.3772227764, 0.1589021832, -0.3626767695, -0.6738333106, -0.7602407932, -0.5168653727, -0.7046738267, 0.1099722311, -0.2331649661, -0.0911271796, -0.3939287066, 0.1859389544, -0.1068529412, -0.1515064985, -0.5901794434, 0.2537482083, -0.123076193, 0.5803610086, -0.9812200665, 0.4829784334, 0.5053933263, -0.3577677608, -1.2860014439, -0.2263812721, -0.2115953714, -0.7197108865, 0.7607755661, 0.2415536046, -0.0189459883, 0.0159430485, -0.6224755049, -0.8153444529, 1.1083310843, 0.4333272576, -0.4170095026, -0.2439443469, 0.2652781606, 0.4854727089, -0.4170206487, 0.3777056336, 0.6802767515, 0.331391573, 0.2680156827, -0.9785291553, 0.0072958372, -0.1578525603, 0.0453708731, 0.0555369891, -0.5967085361, 1.4248400927, -0.1700323969, -0.2873942554, 0.0316898488, 0.6165280342, 0.0307401139, 0.0226619262, 0.4862616956, 0.66534549, 0.6223966479, -0.1169847324, 1.1661639214, -0.0296202395, 0.2270535678, 0.8993577957, -0.0508586988, 0.6435596347, 0.4582456648, -0.4610691369, 0.8478560448, 0.419239819, -0.1265313178, 0.4397237599, 0.4563670158, -0.3690293431, 0.0229763687, 0.398816973, 0.0273024477, 0.7304965854, 0.3374398053, -0.4215053022, -0.1038430557, 0.2074905634, -0.0898022503, 0.0012465239, -0.0464548618, 0.8619394898, 0.0448362976, -1.0937867165, 0.5456295609, 0.0656138882, 0.7195359468, -0.5904909372, 0.1944105923, -0.2300972641, 0.043870829, -0.1326816827, -0.3580787778, 0.3936907947, -0.2173089981, -0.228728652, 0.0143599315, 0.392989248, -0.3005611897, -0.4600054622, -0.1233107001, 0.6657687426, -0.0492612198, -0.244444117, -0.3720061779, -0.0156935323, 0.0600068122, -0.2237873822, 0.0730974525, 0.1239343286, -0.0585298017, 0.7939232588, 0.6492869258, -0.2085632235, 0.2912579775, 0.0513982996, 0.966599524, -0.4889383316, -0.4040050507, -1.0174146891, 0.5147945881, 0.5359190106, -0.0973737091, 0.590254426, 0.2436895519, 1.2140511274, -0.5107243061, 0.7939009666, -0.0230284017, 0.2459356636, -0.6410540938, 0.226016745, -0.1630664766, 0.3354964256, -0.1107008606, -0.996725738, -0.1028658524, 0.4944903851, -0.3457010686, 0.3341938257, 0.7198153734, 0.8166384697, -0.1985056251, 0.4125031531, 0.1475985944, -0.2584034801, 0.453237623, 0.8884189129, 1.0895820856, -0.4334207177, 0.3805870414, -0.5547454953, 0.0421147496, 0.0066629308, -0.6894987226, -0.9699383974, -0.8617860675, 0.069471769, 0.0088131074, -0.3444288671, 0.8140090704, 0.710670352, -0.6325336099, -0.4103469551, -0.3461814821, 0.1446817219, -0.3828659356, -0.1423113495, 0.2421227396, -0.5296390653, -1.0134198666, 0.5084414482, -0.0236322954, 0.2927156389, -0.450615108, 0.0145256398, 0.2324736416, -0.0603307448, 0.5387287736, 0.2729106843, -0.6624130607, -0.0113197025, 0.2436965108, 0.0165766329, 0.0331726, 1.1949123144, -0.7664679885, 0.2037941813, 0.3914786279, 0.8192844987, 0.8179408908, -0.168115288, 0.373034209, -0.8471208811, -0.0649650469, 0.1153753474, 0.2117458582, 0.3430716693, -0.1756442338, 0.3699728251, 0.2727866173, -0.695340991, -0.3185497224, 0.4233616292, -0.7975688577, -0.1671427637, 0.8565577269, -0.0172970649, -0.2543802261, 0.0421681628, -0.1641140431, 0.0196760185, -0.0986607149, 0.6837907434, 0.6109814644, -0.243699044, -0.2112013847, -0.4805062413, 0.582019031, 0.3385483325, -0.7473987937, -0.1863816231, 0.3348989487, 0.55061692, 0.1730717868, 0.6474813223, 0.0578337871, 0.3356787264, 0.1482053995, -0.1740319878, -0.2440164536, -0.5022802353, -0.4758666754, 0.2260219008, -0.1536600143, 0.0509405509 ]
http://arxiv.org/abs/2402.05783v2
http://arxiv.org/pdf/2402.05783v2
Text-to-Code Generation with Modality-relative Pre-training
2024-02-08T16:17:24
2024-02-12T10:44:18
Fenia Christopoulou, Guchun Zhang, Gerasimos Lampouras
cs.CL
cs.CL
Large pre-trained language models have recently been expanded and applied to programming language tasks with great success, often through further pre-training of a strictly-natural language model--where training sequences typically contain both natural and (linearised) programming language. Such approaches effectively map both modalities of the sequence into the same embedding space. However, programming language keywords (e.g. "while") often have very strictly defined semantics. As such, transfer learning from their natural language usage may not necessarily be beneficial to their code application and vise versa. Assuming an already pre-trained language model, in this work we investigate how sequence tokens can be adapted and represented differently, depending on which modality they belong to, and to the ultimate benefit of the downstream task. We experiment with separating embedding spaces between modalities during further model pre-training with modality-relative training objectives. We focus on text-to-code generation and observe consistent improvements across two backbone models and two test sets, measuring pass@$k$ and a novel incremental variation.
[ -0.2794430554, -0.3587810695, 0.4625290632, 0.1193738207, -0.3997282684, 0.0666349307, -0.2900155783, -0.4171696603, 0.0186103173, 0.3009543717, -0.5122611523, -0.3009101748, -0.4886814952, 0.3967473209, -0.2136129439, 1.1790076494, -0.1511241198, 0.0592797771, -0.1479435712, -0.0608227886, -0.7411031127, -0.9203024507, -0.1249476373, -0.0202794857, 0.3874312341, 0.2376797646, 0.5045237541, 0.544927001, 0.4303080142, 0.262334615, 0.4284659028, -0.0443652831, -0.2376629859, 0.0312708355, -0.1251005977, -0.5737899542, -0.3845046163, 0.0109625096, 0.7572080493, 0.7325347066, 0.2892301679, 0.1641702354, 0.1128155142, 0.4364399016, -0.6119399667, -0.0371649824, -0.6426236629, 0.0334560983, -0.1363687366, -0.4046561122, -0.4576510489, -0.2182941288, 0.1291391551, -0.5545434356, 0.102024816, -0.0982879251, 0.790910244, 0.1350778788, -0.4817842245, -0.5617782474, -0.4511582851, 0.7096908092, -0.8706977963, 0.4965950251, 0.3768058717, -0.0317777358, 0.1753522754, -0.8937213421, -0.6764950752, -0.642988801, -0.1865005344, -0.1134632155, 0.2135428786, 0.0600225329, 0.3836862445, 0.2977932096, -0.5032797456, -0.1200141609, -0.3188224733, -0.217618674, 0.3626586199, -0.0327420793, 0.160525471, -0.4238601029, -0.2723404169, -0.1314863861, -0.724247396, 0.0790641233, 0.445273608, 0.4613551795, -0.2889043391, 0.5045633912, 0.0686142147, 0.7872257829, 0.1174624637, -0.1763952374, 0.421159029, -0.9705115557, -0.310934931, -0.231403023, 0.5475186706, -0.2244892865, 0.1521975994, -0.3445186317, -0.3017633259, 0.195243001, 0.5663046837, -0.8671905994, -0.3455623388, -0.2048039138, -0.6077687144, -0.4365859032, 0.2538317442, -0.1649044305, 0.1056282297, -0.5568765998, 0.6011365652, -0.4680746794, -0.1692585051, 0.0726721659, -0.005912988, 0.2772496045, 0.0413034558, -0.6401950121, 0.0400267057, 0.4710448384, 0.675386548, -0.1474992335, -0.1462374777, -0.5956684947, 0.0351434276, -0.2296642363, 0.5146375895, -0.8274461627, -0.6463577151, 0.0748507604, -0.1697833985, -0.1803236604, -0.347566396, 0.172792092, -0.5336546302, 0.503262639, -0.3116591275, -0.5398551822, 0.047867775, 0.272752136, -0.3607842326, 0.9648371935, 0.2807385027, -0.736428678, 0.68106848, -0.7892484069, -0.6945621371, -0.3349044323, -0.5065205097, -0.2264158726, 0.2987091243, -0.176593855, 0.3343858421, -0.283097595, 0.0626100376, -0.1767306924, -0.2787724435, 0.4786532223, -0.3768688142, 0.2498021424, 0.2127726525, -0.4568924606, 0.1709360778, -0.9164925814, 0.1844209284, -0.2022959292, -0.6649340391, -0.3808034658, -0.1106997952, 0.1011202335, 0.41943416, 0.1771895438, -0.2003600746, 0.4804426134, -0.3557637036, 0.3603854775, 0.731767714, -0.0759640038, 0.7017480135, -0.41918993, 0.721224606, 0.073772639, -0.2010620981, -0.5343486071, -0.0844451711, -0.7525585294, -0.277664274, 0.4415562153, 0.4105662405, -1.0317534208, 0.5488536358, -0.3724391758, 0.078372106, -0.0622147396, 0.0725127682, 0.5645073652, 0.4003456533, 0.2317948192, -0.7524174452, -0.4804131091, -0.4996345639, -0.0744205937, -0.2043633014, -0.034197595, 0.3106627762, 0.3794086576, -0.3120881319, 0.8936089277, -0.4613008797, -0.0041933083, -0.237194553, 0.1783893704, 0.2080252171, 0.754334271, 0.610868454, -0.772816956, -0.4693071246, -0.0960708559, -0.2370526493, -0.2146077156, -0.5646416545, -0.2294168174, 0.2535485923, 0.7526900172, -0.1830336452, 0.4620881975, 0.5343689919, -0.4019018412, 0.7023866177, -0.2658005953, 0.2397030294, -1.4761722088, 0.4043809772, -0.4626503885, -0.432331413, -0.4775542021, -0.0075362078, 0.0194568485, -0.0562101044, -0.350589186, 0.260579139, -0.5410097837, -0.1353527457, -0.2984364629, -0.1116775349, 0.0917712748, 0.4696097374, 0.1001798809, 0.9597713947, 0.5221446753, -0.7190901041, -0.0752085522, 0.1342532635, -0.0492778048, 0.2569195926, -0.5212017298, 0.4712899029, 0.1668147892, 0.251321435, -0.9156343937, -0.1619429588, 0.237606883, -0.4066427648, 0.6351135373, -0.0765509084, -0.4439421892, -0.1202070564, -0.3361777365, 0.9105184674, 0.5911244154, -0.0934933275, 0.3613843322, -0.0701434687, 0.0016624127, -0.3684149086, -0.7728040218, -0.0997153521, -0.1769135147, -0.3648885489, 0.5405587554, -0.0550566204, 0.1486450285, -0.0922396332, -0.2204910517, -0.2242750973, 0.0432109796, 0.239072457, 0.3233941197, -0.4206269979, 0.274205029, -0.0315609351, -0.1340138167, -0.0193447471, -0.6925891042, 0.5658307076, 0.0370299481, -0.6102067828, -0.2406214178, 0.3649190366, 0.3320170939, -0.3247828186, 0.6486347318, 0.3704294264, -0.1264787912, -0.1422669291, -0.2098591328, -0.1442109793, -0.5217083097, 0.440341413, -0.6259188652, -0.8824378848, 0.309063524, -0.083860673, 0.2155469656, 0.1143194586, 0.4595338106, 0.0970206708, 0.7265431285, 0.9206382632, 0.1055538133, 0.8597659469, -0.1861050874, 0.3091204464, -0.5269829035, -0.0110064847, -0.6925516725, -0.1091181636, -0.5952382684, -0.7108647823, 0.1045396626, 0.297778964, -0.2728737295, 0.6163353324, -0.3238966465, 0.3112593889, 0.3905979693, -0.0253944565, 0.1163528338, 0.0405515619, -0.1437580884, -0.0684054866, -0.7168287039, -0.4866999686, 1.1870297194, 0.1306756884, 0.5483402014, 0.1152244508, 0.8033114076, 0.3448877037, 0.5561490059, -0.6122036576, 0.3311772048, -0.3032124341, -0.352905035, 0.0511518382, -0.5581749678, -0.7090122104, -0.0843841136, -0.1493764371, -0.4586852789, 0.0937644914, 0.2446449697, -0.2602712512, -0.0360129997, -0.5741306543, 0.9004523158, -0.1932279468, -0.2130961269, -0.1552102119, -0.7985944748, 0.0270806793, -0.4298169315, 0.1450336874, 0.2180463672, -0.0252714884, 0.3444764018, -0.5628108382, 0.7287507653, 0.0181114729, -0.1258151531, 0.2691473961, 0.2000885904, 0.3518251181, 0.1050586626, 0.0135610746, -0.1540309042, 0.013409609, -0.4288156331, -0.4378739297, 0.3049846292, -0.648082912, -0.4019672275, -0.1772996634, -0.5965892673, -0.3476613462, 0.2157639861, 0.5705770254, 0.8680426478, 0.1070336923, 0.1187303215, 0.4397329688, -0.4138104618, 0.4575490355, 0.1928619593, -0.182746917, -0.221483022, 0.7891149521, -0.1563673317, 0.714289844, 0.6438513994, 0.0502948985, -0.3949343264, -0.5608291626, -0.4027120173, 0.0764129385, -0.7267331481, -0.1659798175, -0.3255403936, -0.1028589979, -0.5348784924, -0.5901405215, -0.2375291437, -0.368031472, -0.49300313, 0.1394245923, 0.0847221836, 0.563962996, 0.0054403464, 0.1589392424, -1.1586619616, 0.2466964722, 0.1973884255, 0.1830264777, -0.212433666, -0.7576431036, -0.2291785479, 0.1259419769, -0.2691866457, -0.9416745901, 0.1315589994, 0.4770042896, 0.3192244768, 0.2785563767, -0.0731718168, 0.8823490739, -0.5759788752, 0.9111521244, 0.5125508308, -1.149695158, 0.4762482345, -0.2372882068, 0.4156830609, 0.7833092213, 0.1813227683, -0.3711061776, -0.3615818322, -0.3299039602, -0.7344787717, 0.5843334198, 0.2749898434, 0.6495682597, -0.11795035, 0.4524652958, 0.448502332, 0.2941668332, -1.1267940998, -0.0406616181, -0.4103686512, -0.1902349442, 0.2089998573, 0.0331645347, 0.1864511222, -0.1562167108, 0.3827835023, -0.3765094876, 0.5613750219, 0.1772328913, -0.4033317566, 0.3121468127, 0.3038335443, 0.6230976582, 0.7569645643, 0.2066063285, 0.1621403396, 0.0379986353, -0.5639821291, 0.1864178479, -0.0411915183, 0.0981820002, 0.0971986949, 0.5459651947, 0.7788643837, 0.274086833, -0.6953693032, 0.7051839232, 0.131886676, -0.1755717695, 0.0178191476, 0.1150268242, -0.1600303948, 0.0335541815, 0.1888567805, 0.2658984363, 0.0777897537, -0.6870440245, 0.4024142027, 0.1996130198, -0.2743712962, -0.5428375602, 0.5280568004, 0.317860961, -0.2937364876, 0.5388634205, -0.3393038511, -0.6319589019, 0.5449604988, 0.6993339658, 0.9744644165, 0.2847310603, 0.0442527421, 0.1406648159, 0.0241237897, 0.2191260159, 0.3989605606, -0.6050786972, -0.6612349153, -0.7297267914, -0.6439848542, 0.118676275, -0.1542628706, -0.6232917905, 0.4224527478, -0.4186702073, -0.3488833606, -0.3383822739, -0.3016328514, -0.8418290615, 0.0798735321, 0.3343304992, 0.8437129259, -0.674725771, 1.1446779966, 0.9762477279, -0.5249846578, -1.168766737, 0.5087500215, -0.5211416483, -0.3856314123, 0.841567874, 0.3750110269, -0.099732101, -0.1012787372, -0.2678197622, -0.8404801488, 0.7827236056, 0.2964569926, -0.4537319839, -0.3042676151, 0.3178267181, 0.3413698673, -0.4314659238, 0.0635883808, 0.3777186275, 0.1630445868, 0.0267131105, -1.1473938227, 0.1061096489, -0.1620294601, 0.2338812351, 0.3388612568, -0.1990709901, 0.8248197436, -0.1034125239, -0.3199573159, 0.1578466296, 0.5641684532, 0.2160727531, 0.0395435691, 0.6115888953, 0.1959943622, 0.4282819033, 0.0956187174, 1.1087834835, -0.4442915022, 0.2061597705, 1.0210350752, -0.2111685574, 0.7003005147, 0.5863386393, -0.2366214991, 0.6825605035, 0.4860233366, 0.3323260248, 0.7581811547, 0.3394479752, -0.0947476402, -0.2298686355, 0.1312255561, -0.6616182327, 0.3074499071, 0.0684903115, -0.5477272868, -0.0056488803, 0.1428788453, 0.0201979037, 0.0850502327, -0.0765783265, 0.6251800656, 0.0920695066, -0.6754519939, 0.593816936, 0.096385628, 0.9350441098, -0.8227035999, -0.0087046595, -0.1532892287, -0.0378472507, -0.101766035, -0.3747881651, 0.4280739725, 0.0641314015, -0.3240122199, -0.4950455725, 0.6193082333, -0.3901900649, -0.4305250347, -0.0649943426, 0.4277757406, -0.0535521545, 0.1876832396, -0.6160581708, -0.0489186719, 0.1838224977, -0.1935718209, 0.3011796176, 0.417322427, 0.0075460221, 0.13162449, 0.8318962455, 0.0365058593, 0.3235764802, 0.070740819, 0.9865885377, -0.5167686939, -0.8176737428, -0.772130847, 0.5349903107, 0.1406496465, -0.6574508548, 0.4926381409, 0.4407121539, 0.9890390635, -0.2510508597, 0.6881069541, -0.4592586756, 0.0195400827, -0.823923707, 0.398150146, -0.5551211834, 0.3928280473, -0.3460925817, -1.0499646664, -0.1624583006, 0.7965505123, -0.203775987, 0.1517011076, 0.8824965358, 0.7083758116, -0.0586081296, -0.2234764993, 0.2019520253, -0.163540706, 0.4261897802, 0.7219347954, 0.8489188552, -0.2268348932, 0.3901707232, 0.0219900832, -0.1092342213, -0.0975472257, -1.0879188776, -0.6733701229, -0.6491596699, -0.3230007291, -0.3977440596, -0.1296420991, 1.103051424, 0.8550742865, -0.6755837798, -0.091264762, -0.3863141537, -0.2266459912, 0.0593302101, -0.1815682948, 0.1894320697, -0.718830049, -0.4232163131, 0.2379262745, 0.1271124631, 0.1340040416, -0.1398584098, -0.1445091814, 0.088108018, 0.1929760128, 0.5368593931, 0.1900408268, -0.3468714356, -0.5509452224, 0.205151394, -0.3573106527, 0.1324556917, 1.462157011, -0.9701416492, 0.3402279317, 0.6442549825, 0.8214265108, 0.2467685938, -0.054760389, 0.8020247817, -1.1569322348, 0.3970940709, 0.2343807966, 0.1263896972, 0.1489775777, -0.2071142495, 0.2806401849, 0.3236210942, -0.2935018837, -0.8718759418, 0.4483329952, -0.8068110943, -0.4467437565, 1.2088466883, -0.1237456575, 0.2179427594, -0.1045418382, -0.2362548113, 0.4006028175, -0.0541228615, 0.547175169, 0.5351868272, -0.1023485214, 0.4141772985, -0.2983619571, 0.5537260175, 0.5894472599, -0.9405026436, -0.1975748241, 0.6673590541, 0.3050485849, 0.2070668042, 0.7980819941, -0.2214083821, 0.39438501, 0.0674582645, -0.0859071985, -0.0534010828, -0.2258754522, -0.2563738227, 0.1022101119, 0.250082612, -0.3615498841 ]
http://arxiv.org/abs/2402.05779v1
http://arxiv.org/pdf/2402.05779v1
Examining Gender and Racial Bias in Large Vision-Language Models Using a Novel Dataset of Parallel Images
2024-02-08T16:11:23
2024-02-08T16:11:23
Kathleen C. Fraser, Svetlana Kiritchenko
cs.CY
cs.CY, cs.CL, cs.CV
Following on recent advances in large language models (LLMs) and subsequent chat models, a new wave of large vision-language models (LVLMs) has emerged. Such models can incorporate images as input in addition to text, and perform tasks such as visual question answering, image captioning, story generation, etc. Here, we examine potential gender and racial biases in such systems, based on the perceived characteristics of the people in the input images. To accomplish this, we present a new dataset PAIRS (PArallel Images for eveRyday Scenarios). The PAIRS dataset contains sets of AI-generated images of people, such that the images are highly similar in terms of background and visual content, but differ along the dimensions of gender (man, woman) and race (Black, white). By querying the LVLMs with such images, we observe significant differences in the responses according to the perceived gender or race of the person depicted.
[ -0.5679528713, -0.5094468594, 0.5091090202, 0.1050148755, -0.1247469038, 0.1677667201, -0.1686748862, -0.6931772828, 0.2799917459, 0.5814147592, -0.6596247554, -0.40974769, -0.5220786929, 0.1386445314, -0.506957233, 0.6558942199, 0.0279972199, 0.375482142, -0.4926082492, -0.3123437762, -0.6680835485, -0.3926191032, -0.5437523723, -0.0146263819, 0.4716976583, 0.1584557891, 0.8210903406, 0.3803468943, 0.6772399545, 0.2464595288, 0.124092333, 0.1299716234, -0.5611136556, 0.1517583579, -0.1951375157, -0.5734657049, 0.039567396, -0.1530409902, 0.7269516587, 0.6442008615, 0.2596226335, 0.5573900342, 0.1038102806, 0.7572097182, -0.6685899496, 0.3221223652, -0.6004980803, 0.2482624203, -0.3581548035, 0.0630584732, -0.2117083073, -0.175478518, 0.1018634886, -0.4037083089, 0.4262586236, 0.3124002516, 0.7093409896, 0.2075977921, -0.4914855361, -0.0001074532, -0.8227289319, 0.6951872706, -0.3934332728, 0.4842247367, 0.331677407, 0.4671815634, 0.0525895394, -0.2726885378, -0.9101549387, -0.2979053259, -0.2976962328, -0.0587397143, -0.0797820687, -0.1994677633, 0.4425764084, 0.0820867568, -0.511762917, 0.2499641776, -0.4863551259, -0.1262261122, 0.8158398271, 0.4178678095, 0.5287620425, -0.1056180149, -0.1345668435, -0.1546942741, -0.6555988193, 0.0038696376, 0.5335842371, 0.2161407173, -0.4309787154, 0.7974259853, -0.2694815695, 0.7988167405, -0.174716413, -0.1129541546, 0.4301356375, -0.2195456028, -0.1308330446, -0.1718973666, 0.8590490818, 1.0110523701, 0.6243519783, 0.110334076, -0.0400564335, 0.214730069, -0.0315824412, -0.6067355871, -0.0438574776, -0.0762602314, -0.7093022466, -0.3779945672, -0.0762387663, -1.1057405472, -1.0310133696, -0.3980651498, 0.0497478358, 0.0739514604, -0.2781222761, -0.2765347362, -0.2976605296, 0.3258702159, 0.3697770834, -0.8994035125, 0.2193727791, 0.4015005231, 0.6267002225, -0.4824182689, -0.3601045012, -0.2540684342, 0.0323648937, -0.2441931814, 0.5563797355, -0.7067949772, -0.1146668568, 0.0322639197, -0.1174539253, 0.1221432537, -0.6271998882, 0.2865456343, -0.5426832438, 0.1348289251, -0.5045602322, -0.1393160224, 0.1611644328, 0.2502405047, -0.7548944354, 0.6961518526, -0.2277746946, -1.1250010729, 0.413130492, -0.546290338, -0.181750074, 0.0392036512, -0.7646495104, -0.3645261824, 0.0249813329, 0.5975564718, 0.3975148499, -0.3830737174, 0.1985992789, -0.575457871, -0.4318851531, 0.3134120405, -0.328134805, 0.8240116835, 0.1111195311, -0.3518487215, 0.0578233786, -0.5589159131, -0.5049664974, 0.7047355771, 0.0994688496, -0.5128465891, 0.3164211214, 0.004566506, 0.1587512493, 0.1942816079, -0.8548281789, -0.1063551828, 0.1827238351, 0.2978295982, 0.8452327251, -0.4494325519, 0.4591559172, -0.1104496568, 0.4191002548, 0.2341393381, 0.3086126447, -0.359611392, -0.626511097, -0.8632350564, -0.1288618892, 0.1386096627, 0.5081686378, -0.9074514508, -0.0497974642, -0.2975077331, -0.0720830113, -0.3874334097, -0.0418226123, 0.3272539079, 0.4273453355, 0.0015877783, -0.3055651784, -0.5079845786, -1.3682599068, -0.2216121107, -0.1918994635, -0.1346567571, 0.8508979678, 0.6315039396, -0.1292363405, 0.9299987555, -0.6594724655, -0.1285422891, 0.0050744815, -0.2161101252, -0.1522093862, 0.3219143152, 0.7481312156, -0.9678406119, -0.3574847579, -0.1478871852, -0.9863108993, -0.0932452977, 0.043414358, -0.1632379591, 0.2192264497, 0.719828248, -0.2351389527, 0.6071216464, 0.836564064, -0.3855217099, 0.6520382166, 0.1741702408, 0.1537362933, -0.8749921322, -0.136172682, 0.460814029, -0.2613945305, -0.4056946635, 0.1754422039, -0.0410634242, -0.2330657244, -0.4561754167, 0.6910598874, -0.5259379745, -0.7174322009, -0.0322728083, -0.1252379864, -0.17268309, 0.5059099793, 0.174586013, 0.7140291929, 0.6592338681, -0.0727893785, 0.4645287991, 0.2714034319, -0.6804757714, 0.6214290261, -0.6708949208, 0.3285856843, -0.7138445377, 0.4099977314, -1.0484858751, -0.3479112983, 0.2562415004, -0.3028495908, 0.0110385232, -0.0886167213, -0.6170250177, -0.6417988539, -0.1531754583, 0.8372250795, 0.4874176085, -0.5050965548, 0.5601832867, 0.5163044333, -0.261272043, -0.575656414, -0.8112288713, 0.1849524379, -0.0556573868, -0.6661403775, 0.0369804986, 0.1507611871, -0.4595425725, -0.0058770683, 0.369294703, -0.0917926356, -0.2435009331, 0.508882165, 0.5795720816, -0.0512222052, 0.0310890526, -0.2336890846, 0.4490008354, 0.0595290288, -0.033523798, 0.7423278093, -0.0352386273, -0.6169784665, -0.4560168982, 0.5269290805, 0.6495326161, -0.4551389515, 0.7964135408, 0.5093248487, -0.2268463224, 0.0354364403, -0.5798027515, -0.2215052396, -0.4206590354, 0.5042345524, -0.1693502814, -1.192122221, 0.6522664428, 0.5797095895, 0.0818317384, 0.1829355508, 0.7898241282, -0.4293885231, 1.0101274252, 0.5519248843, -0.0554959252, 0.7267961502, -0.0017900891, -0.0968236327, -0.672073245, -0.3781792521, -0.3610835671, -0.7916770577, -0.7338433862, -0.5018433332, 0.3854462504, -0.6336525679, -0.488972187, -0.2408849448, -0.2114621848, 0.7018658519, 0.8819662333, 0.3215924203, 0.0780839995, 0.3336981535, -0.1408359706, -0.2646044493, -0.4094133377, -0.2207391709, 1.3797183037, 0.3625339568, 0.7084649205, -0.1991489977, 0.3597444892, 0.4726270139, 0.202639997, -0.397636801, 0.7081905007, -0.412768364, -0.8394300938, -0.1981070042, -0.492981106, -0.8780943751, 0.3095582724, -0.5635489225, -0.7316055894, 0.3343293965, 0.2718898356, -0.0415065438, 0.5001718998, -0.697468102, 0.6508159041, -0.3419978023, -0.3620747328, -0.0276752692, -0.684371531, 0.7848027945, -0.0925321132, 0.1831912398, -0.2582488358, 0.1720609963, 0.6287372708, -0.1751782, 0.9757784605, -0.1511478573, 0.0015696565, 0.0159276742, -0.0040747556, 0.3216819465, -0.269723326, 0.1198802814, 0.6768445373, -0.3367237449, -0.4272724688, -0.5789138079, 0.5183914304, -0.9254246354, -0.5691856146, -0.1956952512, -0.878528893, -0.1535983235, 0.0585382953, 0.0686966106, 0.5534347892, -0.1490311623, -0.013118241, 0.2366167605, -0.7305136919, 0.2168646604, 0.1824666262, -0.5488097668, -0.1197546273, 0.6647723317, -0.092410706, 0.3032966256, 0.227453962, 0.0464926288, -0.10689082, -0.481333226, -0.4489140809, 0.3334858119, -0.3892045319, 0.1865498573, -0.5116847157, -0.2232023925, -0.2577069402, 0.1324525774, -0.2418688536, -0.2512729764, -0.1266177595, 0.2040753812, 0.0990635529, 0.7184756398, 0.4743092656, 0.2089403868, -0.5505244732, 0.6968773007, 0.7352275252, 0.3677845299, 0.0375294685, -0.3405036926, -0.074742578, 0.1897468418, -0.0595542453, -0.8200570345, 0.3489492834, -0.0370410942, 0.422345072, 0.2002245784, -0.1356154978, 0.4000025988, -0.8001766801, 0.8150817752, 0.4126609862, -0.5154651999, 0.4201846123, -0.5126293302, 0.180332154, 0.238233909, 0.1953388453, -0.6340776086, -0.4436309636, -0.1323747039, -0.4218108952, 0.7216176391, 0.4998819828, 0.1934355199, 0.2815923393, 0.3026708066, 0.0247131996, 0.319337368, -0.7706477642, -0.6149806976, -0.0596374162, -0.3582538962, 0.0135526638, -0.3340653777, -0.1980386525, -0.3458281755, -0.022547204, -0.1917297542, 0.5203386545, -0.0914874598, -0.1205340847, 0.0574790947, -0.0009359982, 0.5424395204, 0.5070576072, -0.1683275104, 0.0762212574, 0.0716443211, -0.4863801897, 0.0717716739, -0.0284939259, -0.5148253441, -0.0547375046, 0.2824906111, 1.2567743063, -0.3506098986, -0.841265738, 0.5612870455, -0.3834473789, -0.3542766869, -0.2321219891, -0.0878151357, 0.06186755, 0.5530868173, 0.3753119409, 0.1863673776, 0.0582608096, -0.7099613547, -0.2539984584, 0.5922932625, -0.2234939486, -0.2138117552, 0.6767851114, 0.4405904114, -0.3364284933, 0.6695390344, -0.0121779544, -0.5935300589, 0.8655372858, 0.319039166, 0.7455332875, 0.2003201246, 0.2921251655, 0.2893419266, 0.5217572451, 0.0791905895, 0.1805576384, 0.0410400629, -1.2483158112, -0.2427465618, -0.6041295528, -0.3662052453, 0.143331781, -0.4939802587, 0.3042639494, -0.447964102, -0.1302599162, 0.1272073835, -0.5609390736, -0.9192616343, 0.1688294858, 0.9294056892, 0.5066902041, -1.0178422928, 0.5935120583, 0.8917420506, -0.0076939147, -0.4801257551, 0.145370245, 0.0582163893, -1.1190888882, 1.0936911106, 0.2653300166, 0.186710611, -0.4056390822, -0.6704868674, -0.8711591363, 0.8182983398, 0.8091427684, -0.9753393531, -0.1340682656, 0.5539168119, 0.4655187726, -0.6076587439, 0.2782149315, 0.5954309702, 0.258828491, 0.013403466, -1.072838068, -0.2034766972, -0.2902676463, 0.3799820542, 0.0546006784, -0.7857878208, 1.0000588894, -0.3482125401, -0.0813343078, -0.2945953608, 0.5977094173, 0.5652643442, 0.4690767229, 0.9250582457, 0.4450603127, 0.5774401426, -0.0800066143, 1.2074041367, 0.0965755284, 0.0522360764, 1.343955636, -0.4135845006, 0.6490140557, 0.3450315893, -0.324790746, 0.5832173824, 0.3875456452, -0.1609019488, 0.2439593375, 0.2249061316, -0.0693483651, -0.2607164681, -0.3021349311, -0.2410714179, 0.6174560785, 0.2185472399, -0.624678731, 0.026102623, 0.1328165531, -0.3350735009, 0.0816263855, -0.4460496306, 0.5067705512, -0.0464580208, -0.491361022, 0.2530498207, -0.1602922231, 0.9822111726, -0.1095265895, 0.0493139587, -0.361620903, -0.0027078046, -0.1790613979, -1.0263851881, 0.0571050011, 0.2957715094, -0.3229149878, 0.0671860278, 0.7617427707, -0.4628184438, -0.9962934256, 0.1701915264, 0.3166822493, 0.1503033191, -0.1262342632, -0.7616872191, 0.2829940617, 0.1878804564, 0.1765397638, 0.2847691178, -0.1130336002, -0.4760465622, 0.6293082833, 0.6099963188, 0.2504869103, 0.3976287246, 0.3738760054, 0.6934383512, -0.6712398529, -0.4666181803, -0.9096792936, 0.1425717175, -0.3104450405, -0.0522080548, 0.6738775969, 0.3870489299, 0.8089437485, 0.0110712256, 0.8558183908, 0.186268419, 0.3809550703, -0.3642466962, 0.572840035, -0.7625080943, -0.0025291622, -0.4782464504, -1.0063527822, -0.1495809406, 0.2633060813, -0.322473675, 0.1062493548, 0.4123755395, 0.8148411512, -0.0060825916, 0.1593625396, 0.2122760117, 0.141496554, 0.3092466593, 0.4599929154, 1.0837094784, -0.1525861621, 0.3701453507, -0.1330155134, -0.1249753535, -0.1836984158, -0.8149898052, -1.0527982712, -0.4180471003, -0.2091805339, 0.0013515347, 0.0644817054, 0.6959053278, 0.6668025255, -0.6866853237, -0.3081611693, 0.2651091516, 0.0347094052, 0.2555519044, -0.1829689443, 0.2019255161, 0.2452855706, -0.9065566063, -0.2812016308, 0.1681134403, 0.0839804783, -0.7004026175, -0.0388166569, 0.2134495676, -0.1698670387, 0.6309651136, 0.0881592035, -0.6414574385, -0.2154484689, -0.0856980309, -0.0705263466, 0.0650769174, 0.820315063, -0.6817387342, 0.5354096293, 0.5282894969, 0.5967100263, 0.6188271642, -0.1867709607, 0.7413454056, -0.733935535, 0.5589191318, 0.0248181913, 0.5652275681, 0.6636176705, -0.1749313027, 0.2254676819, 0.4810512364, -0.3539484441, -0.8491424918, 0.2493773848, -1.0123540163, -0.2746983469, 1.3012228012, 0.1438431293, -0.2995798588, 0.0777852535, -0.3548510671, -0.0572807454, -0.4504524767, 0.5607456565, 0.560089767, 0.1846717745, -0.4559942484, -0.7076273561, 0.134746626, 0.3823464513, -0.7795196176, -0.0783535317, 0.7632789016, 0.198860839, 0.0401810408, 0.5623494983, -0.1062145755, 0.2321807444, -0.1297163367, 0.2271699309, -0.091701746, -0.1683684438, -0.253231436, 0.1346994936, -0.2395590097, -0.3803302348 ]
http://arxiv.org/abs/2402.07939v5
http://arxiv.org/pdf/2402.07939v5
UFO: A UI-Focused Agent for Windows OS Interaction
2024-02-08T15:40:35
2024-05-23T05:18:58
Chaoyun Zhang, Liqun Li, Shilin He, Xu Zhang, Bo Qiao, Si Qin, Minghua Ma, Yu Kang, Qingwei Lin, Saravan Rajmohan, Dongmei Zhang, Qi Zhang
cs.HC
cs.HC, cs.AI, cs.CL
We introduce UFO, an innovative UI-Focused agent to fulfill user requests tailored to applications on Windows OS, harnessing the capabilities of GPT-Vision. UFO employs a dual-agent framework to meticulously observe and analyze the graphical user interface (GUI) and control information of Windows applications. This enables the agent to seamlessly navigate and operate within individual applications and across them to fulfill user requests, even when spanning multiple applications. The framework incorporates a control interaction module, facilitating action grounding without human intervention and enabling fully automated execution. Consequently, UFO transforms arduous and time-consuming processes into simple tasks achievable solely through natural language commands. We conducted testing of UFO across 9 popular Windows applications, encompassing a variety of scenarios reflective of users' daily usage. The results, derived from both quantitative metrics and real-case studies, underscore the superior effectiveness of UFO in fulfilling user requests. To the best of our knowledge, UFO stands as the first UI agent specifically tailored for task completion within the Windows OS environment. The open-source code for UFO is available on https://github.com/microsoft/UFO.
[ -0.4088023603, -0.8751173615, 0.7532786727, 0.1298507601, 0.231109187, 0.2043105364, 0.2337816656, -0.6147862077, 0.3495401144, 0.3636528254, -0.7370594144, -0.2318268418, -0.0063155834, 0.0953705311, -0.1235826388, 0.8293773532, 0.1456996948, -0.6807068586, -0.4370916784, 0.0260937847, -0.4334840178, -0.2250903696, -0.414008677, -0.1010671929, 0.9091118574, 0.2931746542, 1.1736428738, 0.3541187048, 0.5157643557, 0.3909240961, 0.4936680496, 0.2653476894, -0.3923544288, 0.1625338346, -0.2677130401, -0.2708571553, -0.7323695421, 0.2046092898, 0.3590569794, 0.633916676, -0.0348914526, -0.0394822881, 0.3024271727, 0.6272881627, -0.7696323395, -0.1391754746, -0.2970016003, 0.2702016532, -0.1664586812, -0.1904394031, -0.3376615942, -0.0175987184, -0.0572412051, -1.273011446, 0.0446762852, -0.0660815164, 0.6176294088, 0.3724963069, -0.5127874613, 0.2610503137, -0.8131835461, 0.6865075231, -0.1307558566, 0.3633261621, 0.1570678651, 0.3651164472, -0.5386816859, -0.7273153663, -0.4588991106, -0.8697622418, -0.1441103369, 0.0612003095, -0.3937855363, 0.402562052, 0.2792210579, 0.265468061, -0.7165854573, -0.2312117219, -0.1345627755, -0.4361569583, 0.3405936062, 0.367708832, 0.6174429059, 0.3819521666, -0.6969304085, 0.2215781361, -0.4275450706, 0.4654016197, 0.1061236709, 0.2489167005, -0.0532228462, 0.7580057979, -0.5971444249, 0.9265610576, 0.0125433607, 0.1042867973, 0.2088900805, -0.0856048614, -0.5279909968, -0.6041679978, 0.7267487049, 0.4211981297, -0.3307025433, -0.5819564462, -0.3072755337, 0.1670797467, 0.5934118032, -0.4408047199, 0.0422025546, 0.382181555, -0.296369791, -0.3444489241, 0.4587101936, -0.3109245002, -0.5033782721, -0.5900387764, 0.3882113695, -0.1499430239, -0.6775743961, -0.3233400881, -0.4334931672, 0.2127919197, 0.699593842, -0.1685693562, 0.1470167339, 0.7836689353, 0.6957702041, -0.5665266514, -0.6529790163, -1.1474354267, 0.3056696057, -0.4881074727, 0.8136590719, -0.5676665306, -0.3983823657, -0.3088727891, 0.021429915, 0.0307444837, -0.2478865534, -0.2487454861, -0.3231529891, 0.1543405354, -0.268586278, -0.1331598908, -0.2726118565, 0.46546188, -0.5577398539, 1.1226391792, 0.5255680084, -0.3831807673, 0.4833286703, -1.1090394258, -0.3889511526, 0.7575181127, -0.2594152987, 0.102656737, 0.2945283055, -0.5294520855, 0.3868618309, 0.0257929508, -0.026001092, -0.38046363, -0.5614888668, -0.0023502877, -0.2788028419, 0.5483222008, 0.3396821618, -0.6224591732, 0.4165690839, -0.4947894812, 0.2176900208, -0.191511482, -0.2447957397, -0.4078847766, -0.0395338796, 0.563044548, 0.0086847655, 0.5722380877, -0.8189416528, 0.622833252, 0.0332089327, -0.0377683565, 0.4975912869, -0.3305734396, 0.402472645, -0.0840322599, 0.7169763446, -0.1916106492, 0.718319416, 0.1522290558, -0.5796631575, -0.282990694, -0.2301409394, -0.4951508641, 0.6627008915, -0.981292367, 0.0821663514, 0.0425864384, -0.3723005652, -0.0533209778, 0.2137198448, 0.4629368186, 0.3556979895, 0.1166554317, -0.215464294, -0.106118001, -0.8554318547, -0.3401581645, -0.3251920938, -0.2253558636, 0.3421709538, 0.182112366, -0.744156599, 1.6180808544, -0.3048118353, -0.5455443859, -0.2333670706, 0.0666662604, 0.0204613134, 0.2489342541, 0.8007634878, -1.2786357403, -0.9207640886, 0.8178759813, -1.1204682589, -0.1424660981, -0.121248439, -0.2297551483, 0.3905239403, 0.487670809, -0.4944503009, 0.8761059642, 0.3732356131, -0.6495209932, 0.7071790099, -0.3059956431, 0.2839933038, -0.669998765, 0.2519029975, -0.141418308, -0.4428035021, -0.8306789398, 0.2164811492, 0.1313647628, -0.2052039355, -0.5261434913, 0.4912743866, -0.5460996032, -0.0821120217, -0.7249079943, -0.2749073207, 0.0365362838, 0.5562956333, -0.0231987331, 1.1552612782, 0.7623752356, -0.7100616097, 0.6846982241, -0.154230535, 0.1730321497, 0.8348188996, -0.5428498983, 0.4244566858, 0.0261925496, -0.2269224972, -0.8757960796, -0.2129456103, 0.3837051094, -0.3132105768, -0.0322596096, -0.1005816683, 0.0366062336, -0.4305654168, -0.366281718, -0.0878298059, 0.2072985023, -0.3421994448, 1.1358145475, 0.3386731744, 0.113624543, -0.7702450156, -0.5213392377, 0.6869520545, -0.0939202234, -0.4234369695, 0.0621243119, -0.2202153951, -0.3867921233, 0.2517086565, -0.08016444, -0.0250790287, 0.2132141888, 0.7070903182, 0.3221029639, -0.3481443524, -0.5050008893, -0.0899784565, -0.2214481682, -0.2918738723, -0.319874078, -0.107536681, -0.4708235264, -0.3693124652, -0.8097693324, 0.6844801307, 1.0658472776, -0.0716126263, 0.2389377505, 0.6735985875, -0.1924441308, -0.1255790442, -0.7245672941, 0.066989854, -0.630766809, 0.6130344868, -0.912332356, -0.5612809062, 0.3455230594, 0.0548746362, 0.3151111007, 0.0831691846, 0.1790566593, -0.2603293359, 0.9849395752, 1.2299482822, -0.3627203405, 0.6782987118, -0.2099857479, -0.2559889853, -0.6274759769, -0.2116108239, -0.0683976486, -0.1294088215, -0.1292295158, -0.1532183737, 0.5960549116, -0.2645650804, 0.0269595701, 0.4267427921, -0.8598943949, 0.4082718492, 0.803057909, 0.0061020171, 0.0909220949, 0.1074521318, -0.0123205623, 0.1662506163, -0.3400342464, -0.4989684224, 0.5856460929, 0.2281704098, 0.7662038207, -0.0167112853, 0.1945397705, 1.1148405075, 0.6737042069, -0.712554574, 0.7948881388, 0.1445272863, -0.3505248427, -0.6492673755, -0.2856597304, -0.972758472, 0.4163246453, 0.2347357422, -0.764909029, 0.245558694, 0.2552469969, -0.3482827246, 0.376159966, -0.7431672215, 0.9977908731, -0.2383885533, -0.669116199, -0.2589539886, -0.4002608359, -0.124156937, 0.3759293854, -0.0992814377, -0.3159520328, -0.3754337132, 0.1666081399, -0.6815166473, 0.8257704377, -0.735747695, -0.1839019954, 0.2809566855, 0.4528246522, 0.5371265411, -0.209990561, 0.080882825, 0.096566394, -0.0623411015, -0.1984954178, -0.4954683781, 0.5856069326, -0.5615843534, -0.6384611726, -0.554620862, -0.6288622022, 0.0096325576, 0.3538030684, 0.0881287828, 0.4813649654, -0.670794189, -0.0362500101, -0.0122556668, -0.0182811525, 0.4984944761, 0.9785805941, -0.4392494261, -0.1003332213, 1.0670212507, -0.1808509678, 0.1867778748, 0.6066229939, 0.0023945947, -0.1388287395, -0.4832221568, -0.6473945975, -0.2061553895, -0.0925116315, -0.1165588349, -0.5155726671, 0.058952231, -0.2262443304, -0.3712447882, -0.4258515537, 0.0876890197, -0.1335861087, 0.0891572088, 0.2461075783, 1.1015418768, -0.1372187883, 0.2769917548, -0.3867000043, 0.847020328, 0.6653660536, 0.4143963456, -0.4836011529, 0.1888745874, -0.2762994468, 0.2104720771, -0.4952186644, -0.7181230187, 0.2857801318, 0.2773054838, 0.7314628959, 0.9000439644, 0.1401444077, 0.5692506433, -0.4129383862, 0.961348474, 0.3893598914, -0.7427424192, 0.7012218237, -0.4426114559, 0.1192064956, 0.5948317647, -0.1361595094, -0.6284170747, -0.9003936648, -0.0052734092, -0.4512044191, 1.0301219225, 0.2388379127, -0.0011555373, 0.3093408048, 0.2854488194, 0.3781803846, 0.1739753634, -0.5037900209, -0.3756068051, -0.1889662445, 0.2341368198, -0.0744675472, -0.0809783489, -0.0417799056, -0.0460277796, 0.4598662257, -0.3892503381, 0.2766614854, 0.4311264157, -0.2183066905, -0.2697949409, 0.0534283333, 0.3963887095, 0.8554217219, -0.3402061462, 0.0491117276, -0.2753918171, -1.1754552126, 0.080191046, 0.1577560455, -0.4415470958, -0.0541565977, -0.2079697996, 0.4873337746, -0.3202280402, -0.364599824, 0.508015573, -0.2205999494, -0.1169940382, -0.4165330529, 0.4576883018, -0.5082070231, 0.2554810941, 1.0541212559, 0.329829514, 0.5728731155, -0.5227173567, 0.0850831121, 0.7019841671, -0.7319034338, -0.4241377711, 1.1338806152, 0.4783382714, -0.4742990732, 0.5299616456, -0.2746319175, -0.3070814013, 0.8698804379, 0.1856652647, 1.2020875216, -0.2053834349, 0.6126125455, -0.3068552315, 0.4869884253, 0.176307559, 0.3816694319, -0.5626853108, -0.4993161559, -0.2863853574, -0.3133563697, -0.8298208117, -0.0143594248, -0.6415843964, -0.1794600785, -0.1733225286, -0.4214499593, -0.0406002104, 0.1431438178, -0.5873826146, 0.0059412923, 0.1739960164, 0.9561748505, -0.4448392987, 0.7996153831, 1.2041318417, -0.2207031846, -0.3354273438, -0.002272696, 0.1183441132, -0.4770231843, 0.2316759676, 0.5371246934, -0.6558787823, -0.1449523121, -0.5000209808, -0.5460406542, 0.9920973182, 0.4130092859, -0.4068363607, 0.1708330363, 0.508159399, 0.3830029368, -0.1567151248, 0.288084209, 0.2761572599, 0.8025602102, -0.2765932679, -1.1244161129, 0.0466429032, -0.7551985383, 0.0597893409, -0.075284183, -0.4619503617, 0.3726690412, -0.4039881527, -0.1905193478, 0.336582154, 0.8152796626, -0.0113155451, 0.9676043391, 0.8300304413, 0.1000989601, 0.6383219361, -0.1101636365, 1.188619256, -0.0899680331, -0.0395650789, 0.6593496799, -0.4424727857, 0.4910770655, 0.5028764606, -0.4873778522, 0.442786932, 0.3809221387, 0.1649263054, 0.50757581, -0.416074574, -0.4224710166, -0.0745598152, -0.0752433687, -0.3966728449, 0.1295006722, 0.2844525576, 0.5117917657, 0.0894652456, 0.7286595106, -0.2877112925, 0.0028826101, -0.5188061595, 0.8357525468, -0.2094281018, -0.7607291341, 0.2892288864, -0.1526363343, 0.9099175334, -0.9516893029, -0.0872110501, -0.3300089538, 0.1613551527, -0.40041852, -0.7233585119, 0.1932866126, -0.0664628744, -0.3105081022, -0.3011098802, 0.6267828941, -0.209003821, -0.1666619182, 0.273765564, 0.25077492, 0.3356158435, -0.9189046025, -0.582243979, 0.0532308742, 0.1339803189, -0.5407602787, 0.3283628225, 0.3773521781, 0.0664738789, 0.8746308684, 0.6751020551, -0.1120669171, -0.0956797525, -0.1974640787, 0.956035912, -0.7173924446, -0.8196470141, -0.4986421168, 0.6754635572, -0.1013902798, -0.1201861799, 0.9322089553, 1.0231342316, 0.2978408039, -0.3012952209, 1.0190845728, -0.4000602663, 0.3145147264, 0.0587138981, 0.7649935484, -0.9021728635, -0.1129347309, -0.1279753894, -0.915604949, 0.1184697077, 0.2829318643, 0.062355075, -0.0577442758, 0.443095088, 0.8760201335, -0.3491286635, -0.2185002267, 0.7837659121, 0.0202447735, 0.2385875136, 0.5887041688, 1.1371426582, -0.0266736466, 0.5872730613, -0.0913007706, -0.6948004961, -0.2675660849, -0.6432815194, -0.7457876801, -0.5768514872, -0.3987718225, -0.1640661061, 0.0995669141, 0.5506600142, 0.9061504006, -0.6571598053, -0.2356785983, -0.2405719161, 0.2076027691, -0.7806510329, -0.3605225086, 0.0400449149, -0.3395829797, -0.7802062035, 0.878842473, 0.6725218296, -0.0116985328, -0.2371892035, -0.3609382808, 0.5404037833, -0.2761773169, 0.5655381083, 0.9262747765, -0.6768640876, -0.0550806224, 0.0680793673, -0.4511930943, -0.1513331085, 0.8614633679, -1.0857287645, 0.405993402, 0.0573352501, 0.2095590234, 0.2133847475, 0.0529785082, 0.7647122145, -0.7718213797, 0.3739086688, -0.0093861166, -0.0847461447, -0.0373188034, -1.0278794765, 0.4601487219, 0.2335319966, -0.2203202546, -0.855751574, 0.02412799, -1.3608565331, -0.4381811917, 1.0386850834, -0.0140676424, -0.1608885527, -0.6641793847, -0.535838306, -0.4438204169, -0.5872852206, 0.5174494982, -0.0985824615, -0.3095004857, 0.295386821, -0.6307347417, 0.5612002611, 0.005339935, -0.7704244256, 0.1537784487, 0.7268983722, 0.2763162553, 0.2424462736, 0.9472342134, 0.2721885741, 0.6394427419, -0.0166685097, 0.225764975, -0.8097171783, -0.5499585271, 0.0911485627, 0.4407384992, -0.3197709918, -0.6871258616 ]
http://arxiv.org/abs/2402.05755v1
http://arxiv.org/pdf/2402.05755v1
SpiRit-LM: Interleaved Spoken and Written Language Model
2024-02-08T15:39:32
2024-02-08T15:39:32
Tu Anh Nguyen, Benjamin Muller, Bokai Yu, Marta R. Costa-jussa, Maha Elbayad, Sravya Popuri, Paul-Ambroise Duquenne, Robin Algayres, Ruslan Mavlyutov, Itai Gat, Gabriel Synnaeve, Juan Pino, Benoit Sagot, Emmanuel Dupoux
cs.CL
cs.CL, cs.SD, eess.AS
We introduce SPIRIT-LM, a foundation multimodal language model that freely mixes text and speech. Our model is based on a pretrained text language model that we extend to the speech modality by continuously training it on text and speech units. Speech and text sequences are concatenated as a single set of tokens, and trained with a word-level interleaving method using a small automatically-curated speech-text parallel corpus. SPIRIT-LM comes in two versions: a BASE version that uses speech semantic units and an EXPRESSIVE version that models expressivity using pitch and style units in addition to the semantic units. For both versions, the text is encoded with subword BPE tokens. The resulting model displays both the semantic abilities of text models and the expressive abilities of speech models. Additionally, we demonstrate that SPIRIT-LM is able to learn new tasks in a few-shot fashion across modalities (i.e. ASR, TTS, Speech Classification).
[ -0.1789514422, -0.6925833225, 0.3680569232, 0.3072634339, -0.5048530698, 0.1960440874, -0.4170661569, -0.5864648223, 0.435779959, 0.6292303801, -0.5731931329, -0.2921700478, -0.546132803, -0.0479857512, -0.4995043576, 1.1374698877, 0.1185114086, 0.725071609, -0.0384811796, -0.1762588024, -0.4809348285, -0.6979508996, -0.3539710641, -0.6104527712, 0.4185212255, 0.1043200195, 0.4697567225, 0.2310101986, 0.2830476463, 0.2741733193, -0.0852102935, -0.1059264168, -0.3398367465, 0.2991542518, -0.1819796711, -0.6418130994, -0.5283950567, 0.3016188145, 0.7844821215, 0.7932760119, -0.0495742932, -0.0851588398, 0.0556363016, 0.5566142797, -0.3742319047, 0.3226917386, -0.9689354897, -0.0960524231, -0.0985729843, -0.1980083287, -0.3296053708, -0.1894087791, 0.2192992866, -0.2393838614, -0.0738852993, -0.1443603337, 0.4864501357, 0.3545845747, -0.520419836, -0.6415119767, -0.6819416285, 0.6863673329, -0.6421174407, 0.6769855618, 0.1981801391, 0.1801047325, 0.0848039389, -0.8886890411, -1.0472043753, -0.3450478315, 0.0540109836, 0.1828795671, 0.1622942835, 0.6373611689, -0.1183518022, 0.3766585588, -0.3513710797, -0.3325275779, -0.2400303036, -0.0032035129, 0.5193580985, 0.0708965808, 0.4389971197, -0.1543557048, -0.5275930762, -0.0385948159, -0.3502963781, 0.0202964954, 0.3319156766, 0.6961988807, -0.0119278235, 0.7926532626, 0.0508560985, 0.7060836554, -0.0982266888, -0.6801763177, 0.1173823997, -0.3433208168, -0.5019052029, 0.345577836, 0.6169078946, 0.1512442082, 0.2857037485, -0.3738867939, -0.3533183336, 0.2563225925, 0.0789933279, -0.904726088, 0.1039550677, 0.148294881, -0.5652288198, -0.1477898359, 0.0595284849, -0.3187955916, -0.3876288235, -0.4593880475, 0.7467963696, -0.6793786287, -0.6539518833, 0.2136763781, -0.0188881941, 0.1445423514, 0.4378111959, -0.8409906626, 0.4821617901, 0.7351880074, 0.7547317743, -0.1617830992, -0.3065277934, -0.6621219516, -0.1070130542, -0.13846986, 0.2727681696, -0.614646852, -0.4583394527, -0.0109977024, 0.0995402485, -0.1811184734, -0.4544963241, 0.6044653058, -0.4572157562, 0.4522993565, -0.0615728721, -0.9322964549, -0.6301549673, -0.0597661212, -0.6044512987, 1.0157496929, 0.1714917868, -0.5647193789, 0.4002021253, -0.3860907853, -0.2467467934, 0.1984221637, -0.1799666435, 0.0146441879, 0.5086590648, -0.42599985, 0.7068327665, -0.2965082228, 0.5827648044, 0.0682361349, -0.2252662033, 0.0481224544, -0.5107742548, 0.6318438053, 0.2848673463, -0.2474584877, 0.4537653923, -0.8965856433, 0.1446263194, -0.0080542574, -0.4280069768, -0.3827576637, 0.090727292, 0.6148477197, 0.4737324715, 0.2337297201, -0.4357835948, 0.1331174672, -0.4893989861, 0.2523680627, 0.3596111536, -0.4343908131, 0.5556138754, -0.306483984, 0.5438984036, 0.2116110623, -0.2687034905, -0.6660464406, -0.4459203184, -0.838880837, -0.5003455281, 0.0497969724, 0.7978396416, -0.6374766231, 0.3748264611, -0.1571215987, -0.4817142189, -0.653796792, 0.1477821767, 0.5573676825, 0.5828139782, 0.418667078, -0.3232061267, -0.3464024961, -0.6101633906, -0.557767868, -0.4080893695, 0.3238228559, -0.0601045452, 0.3470115364, -0.2145520896, 1.2143006325, 0.0856109038, -0.2630771399, -0.6270165443, 0.1016321257, 0.1207829714, 0.4999960065, 0.6130264997, -0.8901438713, -0.4838142991, -0.2782729566, -0.6844154596, -0.3249337673, 0.0162272435, 0.414672792, 0.1579856277, 0.5454768538, -0.471675992, 0.4550482333, 0.8230094314, -0.4891582429, 0.3089491725, 0.019580381, 0.1245532408, -1.3344693184, -0.205121085, -0.226649642, -0.5172531009, -1.061401844, 0.1522253901, 0.1450919509, -0.2402024269, -0.7816182971, 0.8325577378, -0.5169758201, -0.0403352343, -0.6511052847, 0.0792312324, -0.0533508584, 0.438375771, 0.2998985946, 0.5707741976, 0.6331067681, -0.5160252452, 0.4895627201, -0.3274249136, -0.309881866, 0.6260975003, -0.5910902023, 0.1212263405, -0.627207756, 0.1649263054, -1.1688113213, -0.1761459708, 0.1525197923, -0.118899107, 0.5298258066, 0.1272567213, -0.4506296515, 0.1277849227, -0.0228439607, 0.4307001531, 0.2516836822, -0.3958393037, 1.1341817379, 0.1872782856, -0.1118745431, -0.5242969394, -0.663911581, 0.0940263197, -0.1245111823, -0.8431792855, 0.4214348793, -0.413579613, -0.5205528736, 0.1445565671, 0.0381688103, -0.1017844155, 0.0839211121, 0.4648782909, 0.0546679758, -0.1527258009, 0.3520621061, 0.0310910679, 0.1480624974, -0.2835999429, -0.1989388317, 0.7873069048, -0.4744895101, -0.4117596745, -0.5504807234, 0.566198647, 0.5818209052, -0.1949781775, 0.9531129599, 0.5483567119, -0.6589460373, 0.0898250267, -0.5273789763, -0.1462972164, -0.3719206154, 0.4815035462, -0.703884244, -1.0064171553, 0.4837939441, -0.1596222967, 0.0583665296, 0.09499567, 0.5246075988, 0.0573616028, 0.7715362906, 0.8591701984, 0.0797539428, 0.6236339808, 0.1603167802, 0.038349282, -0.4671143591, -0.3979178667, -0.2615410089, -0.1779865175, -0.2541348934, -0.5214530826, 0.2715761065, 0.7815506458, 0.1201935709, 0.1225600392, -0.2828096449, 0.3459512591, 0.3853094876, -0.1471046358, 0.5217849612, -0.2538205981, -0.2451555133, -0.1208477914, -0.4883368909, -0.6135588288, 0.833948195, 0.516528368, 0.8653946519, 0.125986591, 0.6955292225, -0.0398180857, 0.3694376051, -1.2584623098, 0.5689774752, -0.2310838252, -0.7517519593, -0.0161669087, -0.1033526063, -0.4211331904, 0.6107791066, -0.4626746178, -0.4762151241, -0.2228685766, 0.0739498511, 0.0742753744, 0.3973478973, -0.7553004026, 0.5267665982, -0.4609185755, -0.094370082, -0.3085005283, -0.7585540414, 0.5491892099, -0.1383105069, 0.2026482821, -0.1563809812, -0.0935560614, 0.485770613, -0.5594778061, 0.793540597, -0.155042991, -0.3963066339, 0.2471116036, 0.0747300312, 0.3417910337, -0.0536396541, -0.0694253668, 0.1554003358, -0.0205901265, -0.1684309244, -0.4336979687, 0.4154072404, -0.6180730462, -0.500888586, -0.6197412014, -0.4253258109, -0.2360280305, 0.3403997719, 0.2272724509, 0.4649894834, -0.3883690834, 0.1915670931, 0.7373533845, -0.2405499071, 0.6618155241, 0.549936235, -0.712852478, -0.545828402, 0.4662357867, 0.0358799808, 0.6164940596, 0.4250419736, 0.1537048072, -0.3543207347, -0.1704059243, -0.2470850796, 0.3190130591, -0.8591380119, 0.1428246945, -0.9124327302, -0.2772297859, -0.3532496393, 0.0040966612, -0.4606545269, -0.4090544581, -0.4127488732, -0.060279686, 0.3368362188, 0.6994348168, 0.1313002408, 0.6758205891, -0.7047399879, 0.4785035849, 0.4327023029, 0.248558715, -0.2349243164, -0.3764118552, -0.1188339442, 0.071909532, 0.0498412251, -1.1848701239, 0.4339858592, 0.4728856683, 0.4641380608, 0.2394378036, -0.4802615345, 0.6178119779, -0.7674248219, 1.0311527252, 0.656427145, -1.3625463247, 0.4183015525, -0.1026964635, 0.1190599948, 0.4541561604, 0.2472948879, -0.8907151818, -0.349998951, -0.3129166663, -0.6009588838, 0.7026695609, -0.201174885, 0.25177598, -0.0187898334, 0.4019238949, 0.2701616585, 0.5857436657, -0.9995093346, -0.4093354344, -0.7286628485, -0.5320758224, -0.1885381639, -0.2931404114, -0.112274088, -0.4102691114, 0.6458711028, -0.4058359861, 0.1418080032, 0.1463541389, -0.3282914162, -0.0735756233, 0.3026808202, 0.8698823452, 0.406922996, -0.1630849242, 0.412212193, -0.0888157934, -0.7394654155, 0.1903723925, 0.0352901183, 0.0711465105, 0.273080796, 0.4334482253, 1.2346504927, 0.0345481113, -0.837210536, 0.6442939639, -0.1715498567, -0.222066462, -0.3793936074, 0.1219087094, 0.2061458677, 0.4459697604, 0.5058386922, 0.0371156819, -0.1645383686, -0.9345188141, 0.0523804389, 0.6285155416, -0.7351545691, -0.5349597335, 1.0335792303, 0.1356740594, -0.2846643925, 0.0378269106, -0.0674252957, -0.653370142, 0.1717349887, 0.7043540478, 1.184920311, -0.2344967574, 0.0000650656, -0.0853431672, 0.4419692755, -0.1357664615, 0.7586895227, 0.0335053615, -0.9111433625, -0.3561548591, -0.828126967, -0.1751331389, 0.302918762, -0.3282221258, 0.3971479237, -0.3999061882, -0.0989530757, -0.3555829227, 0.0372451022, -0.71333915, 0.5167813897, 0.2072698325, 0.9908536077, -0.8585686684, 1.2826075554, 0.7315059304, -0.4483814836, -0.9007310867, 0.0829757378, 0.0483362861, -0.6900445819, 1.0356450081, 0.1849959791, -0.4850634634, 0.1417644173, -0.4626776278, -0.7541898489, 1.0799254179, 0.4919649959, -0.5517570972, -0.1063093469, 0.0434218235, 0.4235717356, -0.5976914167, 0.3295271993, 0.1614925563, 0.238217622, 0.0221055187, -1.2834559679, -0.1751623303, -0.1349894851, 0.1321044564, -0.0131150875, -0.8494549394, 1.2051794529, 0.1533727795, -0.3827097714, 0.1774683446, 1.0304634571, 0.1381647736, 0.193496421, 0.7935246229, 0.5742740631, 0.8743709326, -0.1697877944, 0.6209925413, -0.6237458587, 0.1330492496, 1.0498793125, -0.5650957823, 0.6279823184, 0.563044548, 0.1983201653, 0.453299433, 0.2917659581, 0.7485276461, 0.5671114326, 0.0591355041, -0.8094081879, -0.0848169774, -0.2409852296, -0.441344589, 0.7263725996, 0.4433184564, -0.488309443, -0.0309494473, 0.4382144213, 0.1266326904, 0.175832808, -0.3468466103, 0.7951772213, 0.1828430742, -0.5737156272, 0.5240470171, 0.228934899, 1.1402951479, -0.9022864699, 0.1311395764, 0.0750213787, -0.0194941554, -0.2150982171, -0.5409490466, 0.196904093, -0.0929621682, -0.2071788013, -0.4221976995, 1.0197007656, -1.0167753696, -0.2658982277, 0.4977554977, 0.6463822126, 0.1789411157, -0.015137692, -0.5478191376, 0.1670897603, -0.3786078691, -0.2774654627, 0.1429201812, 0.5511549115, 0.0293089803, 0.6067480445, 0.4433500767, 0.2280521244, 0.3941627145, 0.327593118, 0.7181378007, -0.7605187893, -0.5444425941, -0.7717028856, 0.4880154133, 0.3539235592, -0.2596606314, 0.4857811928, 0.5435287356, 0.7126897573, -0.1841876805, 0.8794133067, -0.0276802313, 0.5579468012, -0.7258388996, 0.5365144014, -0.8117027879, -0.1034609079, -0.455932796, -1.0488356352, -0.0323848166, 0.5561228991, 0.4649339616, 0.1127508134, 0.6745702028, 0.534539938, 0.0001579643, 0.1731703579, 0.3986082375, -0.0844820365, 0.2236199677, 0.2750167251, 0.815669477, -0.3067765832, 0.0561331771, -0.0904208347, -0.3253868818, -0.1350177824, -1.1118450165, -0.9981697202, -0.8921923041, 0.0083359499, -0.4001902938, -0.2122046947, 1.4617607594, 0.8427492976, -0.4988622069, -0.4557291567, -0.1030696034, -0.2066049725, -0.1362772137, -0.2944188714, -0.1289499402, -0.3811408579, -1.031132102, 0.7752979994, 0.4578863084, 0.2980803251, -0.6566096544, -0.2648354769, -0.2093343884, 0.3721854389, 0.8400660753, -0.0694844425, -1.0020437241, -0.2496550679, 0.0916590542, -0.2077916861, -0.111462757, 0.9542320967, -0.9221258759, 0.7309948206, 0.658885479, 0.6180859208, 0.4900968373, -0.229382053, 0.4466090202, -0.9759238958, 0.5997692347, 0.3131850958, 0.450314194, 0.3266806006, -0.0667457879, 0.3496023417, 0.5523449183, -0.1943507791, -0.7624086142, 0.4690643549, -1.1826980114, -0.4989203811, 1.1140921116, 0.1203929335, 0.0325821191, 0.0723204166, -0.2374877036, 0.58970505, -0.1370339245, 0.2082804739, 1.0186619759, -0.0842698067, -0.2914460897, -0.5121889114, 0.689540565, 0.4682974815, -0.655714035, -0.264351666, 0.4900982976, 0.3923719525, 0.1332162917, 1.0489407778, -0.0084152548, -0.1353812218, -0.2407240719, 0.2499531806, 0.1810038835, -0.5766724348, -0.5955088735, 0.2228509039, -0.1248564348, 0.0500712059 ]
http://arxiv.org/abs/2402.05733v1
http://arxiv.org/pdf/2402.05733v1
TimeArena: Shaping Efficient Multitasking Language Agents in a Time-Aware Simulation
2024-02-08T15:08:57
2024-02-08T15:08:57
Yikai Zhang, Siyu Yuan, Caiyu Hu, Kyle Richardson, Yanghua Xiao, Jiangjie Chen
cs.CL
cs.CL
Despite remarkable advancements in emulating human-like behavior through Large Language Models (LLMs), current textual simulations do not adequately address the notion of time. To this end, we introduce TimeArena, a novel textual simulated environment that incorporates complex temporal dynamics and constraints that better reflect real-life planning scenarios. In TimeArena, agents are asked to complete multiple tasks as soon as possible, allowing for parallel processing to save time. We implement the dependency between actions, the time duration for each action, and the occupancy of the agent and the objects in the environment. TimeArena grounds to 30 real-world tasks in cooking, household activities, and laboratory work. We conduct extensive experiments with various state-of-the-art LLMs using TimeArena. Our findings reveal that even the most powerful models, e.g., GPT-4, still lag behind humans in effective multitasking, underscoring the need for enhanced temporal awareness in the development of language agents.
[ 0.0491376258, -1.0587688684, 0.6916529536, 0.8411563039, 0.1110728383, 0.3320855498, -0.0792025775, -0.59375, 0.3964951932, 0.3613415658, -0.5173593163, -0.1126306653, -0.2677384019, 0.0326401778, -0.1907349974, 0.5137603879, -0.2249025404, -0.1776000261, 0.1117084697, -0.0748266578, -0.3318709433, -0.797390461, -0.6534662247, -0.6097063422, 0.6499875188, 0.2144015431, 0.6550476551, 0.5062596798, -0.0618648343, 0.3639819324, 0.1290602982, 0.28507182, -0.1685593724, 0.4787160158, -0.0096061286, -0.5171636343, -0.6929832101, -0.0476895235, 0.4548526406, 0.3711589277, -0.2992165387, 0.1091941074, -0.0218854267, 0.279653877, -0.5056081414, 0.4301344454, -0.2625067532, 0.2745906413, -0.2775468528, -0.4059558213, -0.1611805707, -0.1053230986, -0.1096082553, -0.8503102064, 0.0427333079, 0.0951899663, 0.6388732791, 0.4070436358, -0.3790363967, 0.0268793907, -1.3744808435, 0.7816876769, -0.3934676051, 0.2313990891, 0.2841333747, 0.6309798956, -0.2215570211, -0.6260504723, -0.8558080792, -0.1106225997, 0.464525193, 0.1608482152, -0.025325194, -0.1064311042, 0.2551189959, -0.2173420489, -0.4337649941, -0.0026457596, -0.1246226877, 0.0763787478, 0.0475008748, 0.6305853724, 0.5695061088, 0.0811549202, -0.1392431408, -0.1578093469, -0.4558051527, 0.1460857838, 0.3515807986, 0.159732908, 0.0405420363, 0.5413716435, -0.0678645223, 0.5083268285, -0.4151798487, -0.0541803874, -0.0623791851, -0.3842128515, -0.232541889, 0.035103336, 0.4622572958, 0.402905941, 0.2546223402, -0.1693062633, 0.1125712618, 0.6546468139, 0.5065351129, -0.8401217461, 0.006377324, 0.4197824895, -0.2164393812, -0.4067597091, -0.5933033824, -1.0372077227, -0.0663291737, -0.258777082, 0.2659049928, -0.3072778583, -0.3767625391, 0.3109240532, 0.0596340597, 0.0684931874, 0.4404428899, -0.6984121203, 0.5963686705, 0.5063713789, 0.8923978806, 0.0239039026, -0.865501225, -0.5709857941, 0.6409958005, -0.2925975323, 0.8907109499, -0.7755035162, -0.401812464, -0.1576887518, -0.0162676945, -0.2926140726, -0.205169484, 0.1594718397, -0.6151390076, 0.0931301713, -0.1288916469, -0.2941465676, -0.0991004407, 0.4922481179, -0.9784141779, 0.9478076696, -0.0446610525, -0.2582113743, 0.392978251, -1.2218497992, -0.4866856337, -0.1343288124, 0.0343736932, -0.2616965175, -0.2107248604, 0.3170488477, 0.538285017, -0.0983124971, 0.2825275958, -0.2041134983, -0.1793907136, 0.4547706842, -0.461299777, 0.5785800219, 0.4634695649, -0.509256959, 0.2703664601, -0.326752305, 0.0453856885, 0.2007737011, -0.3881407678, -0.2590597272, 0.2027865499, 0.2503106594, 0.3839032054, 0.1827622503, -0.6989843845, 0.4132811129, -0.0291764829, 0.7034959793, 0.4640765488, 0.0859898552, 0.3644140661, -0.8058423996, 0.8486582041, -0.1651643515, 0.5355588198, 0.0042566746, -0.3797659278, -0.6384066939, -0.016623985, -0.0086740265, 0.7961758375, -0.8839552402, -0.192145586, -0.3752230108, -0.505877018, -0.1693101376, -0.0296322852, 0.4336339533, -0.0859870315, 0.2491460443, 0.1051020101, -0.3649245799, -0.4783489406, -0.3595754206, -0.0482643992, 0.3427454829, 0.0104028024, 0.5037523508, -0.1771800518, 0.7893131971, -0.3626554906, -0.4081348777, -0.4813960791, 0.1005489752, -0.2164252698, 0.3345448673, 0.8053326607, -0.6688888669, -0.236090064, -0.1265855581, -0.800108254, 0.0177131072, -0.3805839717, 0.0120316502, 0.1286923885, 0.6532582045, -0.6308732033, 0.3586699665, 0.8180980086, -0.5555548668, 0.6771858335, -0.4549847543, 0.3060713112, -1.3557614088, 0.074792631, -0.3156211972, -0.3383588791, -0.7250275612, -0.0328850001, -0.0594250336, -0.443790406, -0.5552605391, 1.0424274206, -0.5893193483, -0.0089052133, -0.251937449, -0.1162202358, 0.1159862503, 0.7842696309, -0.1130388379, 1.0018732548, 0.0828437358, -0.8146875501, 0.1195722744, -0.1609493345, -0.4066670835, 0.2680826783, -0.7057101727, 0.0446179323, -0.0027742195, 0.4518586695, -0.4486016035, -0.3555708826, 0.0703616962, -0.050999783, -0.0349279307, 0.0677205324, -0.906270504, -0.1344136149, -0.2128609419, 0.7088570595, 0.275475353, -0.2367709875, 1.2318688631, 0.4933568239, -0.1033399701, -0.475349158, -0.6826236248, 0.2379902303, -0.2417255342, -0.2155275792, 0.4071119428, -0.0710355565, -0.4806520343, 0.094585292, 0.1512790322, -0.1631749868, 0.3279526234, 0.4643343091, -0.0660614148, 0.3279648125, 0.0823711827, 0.1941819638, 0.0019527551, -0.1138131395, -0.3171580136, 0.6993344426, 0.0285821483, -0.3698922992, -0.4587033987, 0.5296045542, 0.8403499126, -0.3072985709, 0.6697695851, 0.3935661018, -0.5912341475, -0.2992819548, -0.5494741201, -0.0187698957, -0.46120134, 0.2341234684, -0.445356071, -0.7494122386, 0.7573561072, -0.0819211304, 0.4869690537, 0.0435244851, 0.424879998, 0.0547574945, 0.8403394818, 0.4105847776, 0.1698843092, 0.9076020122, -0.2200139016, -0.0973716155, -0.7998532057, -0.330439806, -0.5221533179, -0.4027328193, -0.0655442998, -0.9518703222, 0.4363715351, -0.3898692131, -0.0913752392, 0.2700480521, -0.1353319287, 0.6174762249, 0.3946938217, 0.001734172, 0.2489349097, -0.1200191081, -0.2207405865, 0.0042986637, -0.7568171024, -0.6784493923, 0.8696162701, 0.0754490495, 0.7089851499, 0.1441883445, 0.4033742845, 0.3222033381, 0.1936897933, -0.4289799035, 0.6036775708, -0.1193087399, -0.9084681273, -0.4854171276, -0.3447986543, -1.3783228397, 0.1872957647, 0.0940803215, -0.600990057, -0.1157237217, 0.2364291996, -0.543546319, 0.5387386084, -0.8176493049, 0.8879123926, -0.557105422, -0.5038830638, -0.5994536877, -0.3243270814, -0.1112672985, 0.0929590911, 0.3982568979, -0.5694772601, -0.278311193, 0.6372797489, -0.4554313123, 1.2294118404, -0.3006617129, 0.0149923712, 0.3387003541, 0.6626883745, 0.5057073832, -0.1003227383, -0.1167759672, -0.1981246471, 0.1600653529, -0.611030519, -0.6821039915, 0.8488814235, -0.6097709537, -0.2729665041, -0.5809450746, -0.5715091228, -0.2673986256, 0.1530949771, -0.1193219498, 0.7270932198, -0.6463809609, -0.3041802645, 0.3569423556, -0.162918672, 0.6795400381, 0.5893632174, -0.5270516872, 0.0472502559, 0.7728894949, 0.4046457708, 0.0402138978, 0.6611785889, 0.0938000008, -0.3604457676, -0.099232778, -0.4189377129, 0.0344477817, -0.3701960444, 0.158715412, -1.063655138, 0.1076321751, -0.1104315296, -0.2028450817, -0.6651930213, -0.626523912, -0.1082347929, -0.0532326922, 0.3998954296, 0.8686526418, 0.1905880868, 0.270752728, -0.8059190512, 0.2587707043, 0.5984959602, 0.3619330227, 0.1902455688, 0.1667419076, -0.1777241975, -0.2280447334, -0.0576433539, -0.5719445944, 0.3430610597, 0.1779797077, 0.4902206659, -0.0803394839, -0.0854522213, 0.6501863599, -0.5995882154, 0.7763613462, -0.168593213, -0.7866054773, 0.3217218816, -0.4797751307, 0.8060392737, 0.2482051253, -0.1377647668, -0.7378183603, -0.3975532949, -0.3627094328, -0.8237404823, 0.4701730013, 0.5144059658, 0.09319143, 0.0522576831, 0.0269703865, 0.0958434567, 0.0953317881, -0.4384176433, -0.0329552181, -0.380970329, 0.0653432608, -0.2381195426, -0.3273144662, 0.0136070345, 0.0765230954, 0.4129196107, 0.0094117317, 0.5449323058, 0.1345549226, -0.1936209202, 0.0800078362, 0.4474413693, 1.032668829, 0.5338125229, 0.0623046607, 0.1445723176, 0.2722444534, -0.5596923232, 0.428678751, 0.0795186013, 0.0979174972, -0.1766071171, 0.3238039017, 0.6361644268, 0.5586374998, -0.5019085407, -0.0443045497, -0.6284008622, 0.0626114905, -0.7644275427, 0.0823411718, 0.2384282798, 0.4105698764, 0.1790061742, 0.0950189903, -0.0909357294, -0.5371821523, -0.1502299607, -0.1391799152, -0.1169513613, -0.5485744476, 0.9913989305, 0.4128518999, -0.4369507134, 0.2263156772, -0.3780452907, -0.557264328, 0.7562412024, 0.4678037763, 1.1154458523, -0.5000276566, 0.181761235, 0.1233080477, 0.3028790057, -0.3156725764, 0.8143986464, 0.0433625355, -0.6886031032, -0.649230957, -0.6575342417, -0.4408082962, -0.0191067457, -0.1101559699, -0.2474887967, -0.4351645112, -0.5131332278, -0.0464244932, -0.0755585805, -0.774232924, -0.2037463337, -0.4317214489, 0.6671749353, -0.5414626598, 1.0589854717, 0.9779411554, -0.0258750785, -0.9023647904, 0.1646539271, 0.1547900736, -0.536839962, 0.4180066586, 0.1144936606, -0.7245955467, -0.046046894, -0.1043668464, -0.6400043368, 1.1426861286, 0.324829936, -0.5524690747, -0.4555958807, -0.1438331753, 0.6912742853, -0.2461818159, -0.0873773172, 0.197930783, 0.4699023366, -0.4662697911, -1.0072364807, -0.0578881912, -0.6049682498, 0.1333689094, 0.366282016, -0.9813655615, 0.7096498013, -0.2047650665, -0.2848159671, 0.0060477289, 0.4361926913, 0.2503654361, 0.3048515618, 0.6214431524, 0.3995665014, 0.5447859764, 0.0127821499, 1.3173151016, -0.4328627288, -0.0522711761, 1.1544445753, -0.6472402811, 0.5281634331, 0.3577331901, -0.0649034083, 0.3501414359, 0.2993811965, 0.4926374257, 0.2381413281, -0.031207351, -0.463581562, -0.444268316, -0.4123249948, -0.1536898166, 0.5947446823, 0.5731709599, 0.2661980391, -0.1734516025, 0.3470189273, 0.3680459857, 0.2345643044, -0.0254511777, 0.4148205519, -0.0058126799, -0.7837447524, 0.0283353534, -0.1605086476, 0.3797966242, -0.6605462432, -0.2060120702, -0.1043287292, 0.4264762998, 0.2158263624, -0.6304872036, 0.2673584521, 0.0647913218, -0.0879738778, -0.4825895131, 0.5405960679, -0.4842000902, -0.371178925, 0.6614299417, 0.7753236294, 0.1504726559, -0.1018139124, -0.5371428132, 0.2436857074, -0.358832866, -0.3365557194, 0.2254523784, 0.5997574329, -0.327742219, 1.065969944, 0.4778117537, 0.133666724, 0.1292117685, 0.172107175, 0.6518293023, -0.6863990426, -0.8153320551, -0.7967914939, -0.0677144378, 0.0065071317, -0.2537741661, 0.5156844258, 0.5251375437, 0.6064537764, -0.1071829572, 0.6957873106, -0.0313426629, 0.4766609073, -0.7647710443, 0.9425945878, -0.541115582, 0.1798474789, -0.2060885578, -0.9472734928, -0.1080034077, 0.2799829543, -0.1367488801, 0.2623961866, 0.8337618113, 0.6118637323, 0.0053577763, -0.1535973996, 0.3982910812, -0.0036737304, 0.6851122379, 0.731529355, 0.9635334611, 0.0296317898, 0.730691731, -0.4631267488, -0.0095991986, -0.2068263292, -0.8672174811, -0.951063931, -0.7644819617, -0.0097657423, -0.0715695545, 0.3421528935, 1.1424491405, 0.8453019261, -0.521738708, -0.4715218842, 0.1781248599, -0.3038242459, -0.5839090943, -0.1741493493, 0.0754317865, -0.1292688847, -0.9187942743, 0.6877191663, 0.2448931187, 0.3281616867, -0.2514802814, -0.1017789915, -0.31589064, -0.0008569983, 0.7357650995, 0.4580587447, -0.4907935262, -0.0981125012, 0.1396432519, -0.1385864168, -0.1986311823, 1.1959317923, -0.7168447971, 0.5030861497, 0.1561692357, 0.3829845488, 0.7019712329, -0.1663120985, 0.775606811, -0.6688359976, 0.3441540599, 0.3915809393, 0.1824771464, 0.0611290224, -0.2129748762, 0.5719618201, -0.0631088391, -0.7294319868, -0.4727621078, 0.3541077971, -0.8354119658, -0.5059276223, 0.9730142951, -0.0025099667, -0.4579733312, -0.454188168, -0.1607259959, 0.5266929269, -0.8048670888, 0.97126019, 0.7360289693, -0.3196603656, 0.0760354921, -0.9829808474, 0.5210259557, 0.5144345164, -1.1556099653, 0.2230698317, 0.410898, 0.2595922649, 0.2576696873, 0.8733834028, -0.0394526757, 0.277890116, 0.0398476273, 0.1529703289, -0.3964214325, -0.7699143887, 0.0365859531, 0.059167996, 0.062292397, -0.1451123059 ]
http://arxiv.org/abs/2402.05706v1
http://arxiv.org/pdf/2402.05706v1
Unified Speech-Text Pretraining for Spoken Dialog Modeling
2024-02-08T14:35:09
2024-02-08T14:35:09
Heeseung Kim, Soonshin Seo, Kyeongseok Jeong, Ohsung Kwon, Jungwhan Kim, Jaehong Lee, Eunwoo Song, Myungwoo Oh, Sungroh Yoon, Kang Min Yoo
cs.CL
cs.CL, cs.SD, eess.AS
While recent work shows promising results in expanding the capabilities of large language models (LLM) to directly understand and synthesize speech, an LLM-based strategy for modeling spoken dialogs remains elusive and calls for further investigation. This work proposes an extensive speech-text LLM framework, named the Unified Spoken Dialog Model (USDM), to generate coherent spoken responses with organic prosodic features relevant to the given input speech without relying on automatic speech recognition (ASR) or text-to-speech (TTS) solutions. Our approach employs a multi-step speech-text inference scheme that leverages chain-of-reasoning capabilities exhibited by the underlying LLM. We also propose a generalized speech-text pretraining scheme that helps with capturing cross-modal semantics. Automatic and human evaluations show that the proposed approach is effective in generating natural-sounding spoken responses, outperforming both prior and cascaded baselines. Detailed comparative studies reveal that, despite the cascaded approach being stronger in individual components, the joint speech-text modeling improves robustness against recognition errors and speech quality. Demo is available at https://unifiedsdm.github.io.
[ -0.1815231144, -0.8586377501, 0.6502956748, -0.0372095332, -0.6208035946, 0.0834819227, -0.2493558824, -0.2653042078, -0.0585570298, 0.7960627675, -0.7234332561, -0.5568862557, -0.1547790766, 0.3588737547, -0.288832128, 0.9016646147, 0.2378189564, 0.6596048474, -0.252104044, 0.1411296129, -0.3791422248, -0.7908713818, -0.4261342585, -0.6605546474, 0.233896777, 0.1551232189, 0.3927051127, 0.2286701351, 0.1934659481, 0.3590725958, -0.0270622652, -0.0886626616, -0.1374621689, 0.0522439443, 0.0995934978, -0.2653464377, -0.5844919086, 0.0767492875, 0.7265372872, 0.8865602612, -0.349960655, -0.1315373331, 0.2270286977, 0.2856157124, -0.2125748694, 0.0639936551, -0.7515742183, -0.070043698, -0.2227604836, -0.3642438948, -0.5200823545, -0.0485338755, 0.4706389904, -0.6227576137, 0.1647020131, -0.1136040762, 0.4828675389, 0.0420854986, -0.5099444985, -0.2827312946, -0.8444554806, 0.641849041, -0.881148994, 0.6271696091, 0.2561950088, 0.0717860982, -0.207701534, -0.7195702791, -0.5279098749, -0.4569846988, 0.0909496471, 0.3021276295, -0.0228171051, 0.4705277681, -0.2429486513, 0.4018421173, -0.6807296872, 0.0398270115, 0.141974926, -0.3440437615, 0.3138877451, 0.2066466808, 0.236571312, -0.1101539433, -0.6215408444, -0.0280053336, -0.689037323, 0.1281178296, 0.1682167798, 0.6177191734, -0.1816056073, 0.5066927671, 0.0347168148, 0.6967733502, -0.0463501364, -0.2451816201, 0.0418124422, -0.5682116747, -0.4695904553, 0.0552510582, 1.0549640656, -0.0007413991, 0.2040427476, -0.3649009764, -0.2018194199, 0.0606018715, 0.1652554274, -0.8134124279, -0.0461739972, 0.0646853819, -0.0552242622, -0.2864542902, 0.1699667275, -0.6389787197, -0.0618476644, -0.6351712346, 0.4549711347, -0.3136948645, -0.2543475628, 0.0195507184, 0.0642583519, -0.0384719744, 0.2821632326, -0.7155485153, 0.4464224279, 0.5042883754, 0.6225530505, -0.0738437846, -0.1274940372, -0.757663548, 0.1915064007, -0.2049236745, 0.7174464464, -0.7142032981, -0.7100877166, -0.0770068467, -0.2174884528, -0.2096638381, -0.5700774193, 0.450655967, -0.4084140658, 0.3233688772, 0.0111778919, -0.5390228629, 0.0082688853, 0.0039631692, -0.4865966439, 0.9191794991, -0.0506996624, -0.6077558994, 0.0460305251, -0.4326955378, -0.4672951996, 0.1097433046, -0.3971152008, -0.1756897867, 0.2432981133, 0.1942882985, 0.2909354866, -0.660356164, 0.7433992624, -0.2029224038, -0.1569596827, 0.3634314239, -0.6670346856, 0.7437397838, 0.1132187396, -0.2629321218, 0.3984433115, -0.7881700397, 0.1214689538, 0.0472411029, -0.5634227991, -0.0061527248, -0.1077673584, 0.175271675, 0.00238915, -0.0193302575, -0.4723861516, 0.0236210525, -0.34535411, 0.4235082269, 0.8019296527, -0.1533146203, 0.604845643, -0.0631953403, 0.5057559013, 0.0471894033, -0.1281198412, -0.4450976849, -0.4255484343, -0.5752000809, -0.3328072131, 0.3612934649, 0.7581605911, -0.6947323084, 0.7450765967, -0.0989381671, -0.2317057252, -0.18721582, 0.2036040872, 0.7355829477, 0.7285371423, 0.2984896898, -0.4437071383, -0.6258680224, -0.4914185703, -0.2943575382, -0.4119715989, -0.3924677372, 0.146747902, 0.250310123, -0.2855873406, 1.1987184286, -0.2890668809, -0.3454523683, -0.4451150596, 0.3910805285, -0.1105181798, 0.2712667286, 0.2254390866, -0.7267823815, -0.2327428609, -0.1010282785, -0.398653239, -0.407784909, 0.0214758627, 0.0713777766, 0.0879676118, 0.4941547811, -0.7481840849, 0.1789626777, 0.6628893614, -0.1577750444, 0.7945812941, -0.0719548985, -0.0984022543, -1.2535213232, 0.0151252346, 0.0093342615, -0.4336591661, -0.9082863927, -0.352109164, -0.3815237582, -0.5517663956, -0.4014029503, 0.5943328142, -0.3569962978, -0.061933782, -0.2191801518, 0.0211712588, 0.002620148, 0.5763788819, 0.3159902394, 0.869474113, 0.5857813954, -0.6353251338, 0.1687968075, 0.0716607124, -0.0641698763, 0.5562019944, -0.7687576413, 0.4218920469, 0.0471992791, 0.6213935614, -0.9964104891, -0.3808333874, 0.1274523139, -0.3417476714, 0.3560707867, 0.0391352959, -0.3056634963, -0.2828612626, 0.0335609317, 0.3071855307, 0.3781317174, -0.3784030974, 1.0832569599, 0.4593606293, -0.6842877269, -0.0667931587, -0.4118961096, 0.0566432774, -0.0624061711, -0.5675253272, 0.439375639, -0.1904346198, -0.0557834692, -0.3299319148, -0.3613546193, -0.3048850894, -0.0531649329, 0.2066836357, 0.1892125309, -0.1739520282, 0.0738458633, -0.1585227549, -0.3427516222, 0.0661528111, -0.4909631908, 0.7229210734, -0.2890208662, -0.3138674498, -0.7849060893, 0.5065661073, 0.4555962682, -0.3330383599, 0.1428461522, 0.5526270866, -0.2208971679, 0.039096389, -0.3630725443, -0.3758043051, -0.4708270431, 0.2609900236, -0.1682043225, -0.966614306, 0.230326131, -0.410638243, -0.0827246979, -0.0060290052, 0.4346414208, -0.2185163349, 1.0978091955, 0.4787688553, -0.0496329591, 0.6061400175, 0.0202738531, 0.0803319067, -0.587744236, -0.2483786643, -0.6652610898, 0.2916352749, -0.1092851683, -0.4930454195, 0.3314379454, 0.1285922378, -0.158483997, 0.1263989955, -0.0005478535, 0.3138213158, 0.5208352804, 0.0240927674, 0.3509599268, 0.1822101325, -0.5656237006, -0.0789197981, -0.5562494397, -0.6822459102, 0.8812390566, 0.0747347996, 0.8336563706, -0.2425785512, 0.6660660505, 0.0495261252, 0.3310989141, -0.5626971126, 0.6763249636, -0.1726260185, -0.4335221946, -0.2623414695, -0.677524507, -0.8041952848, 0.2997820377, -0.2315708101, -0.7900506258, -0.2730906308, 0.278537035, -0.3315013945, 0.180177182, -0.67670542, 0.6767314076, -0.4307934642, 0.1633038372, 0.0359133668, -0.7335149646, 0.0941775367, -0.1876800507, 0.2074359953, -0.081345655, 0.2654417753, 0.6108153462, -0.6040937304, 1.1255252361, -0.2049271911, -0.2595310211, 0.5010714531, -0.0947133303, 0.4131573737, 0.0343150571, 0.0114917643, 0.3155284524, -0.3521321118, -0.1362700611, -0.4350982904, 0.2907501459, -0.5222322345, -0.6088767648, -0.2943680882, -0.4654337168, -0.5230674744, 0.4076643288, 0.3435835838, 0.8652840257, -0.6757204533, 0.274597168, 0.5156037211, 0.0521455221, 0.2929300666, 0.6305237412, -0.2658090591, -0.7930299044, 0.7411006689, -0.0794896558, 0.4267650843, 0.4617722332, 0.2662143111, -0.5594879985, -0.5040751696, -0.508421123, -0.0216374975, -0.3307119012, -0.1855833083, -0.5554602742, -0.1344830841, -0.4983518124, -0.0710303634, -0.3966136575, -0.0453904681, -0.5632904768, -0.0520690493, -0.0161294285, 0.7109514475, 0.0738078728, 0.6097092628, -1.0034122467, 0.7181261778, 0.7306388617, 0.1954591125, -0.1885806173, -0.5276502371, 0.018895166, 0.4750881195, -0.4343661666, -0.8834558725, 0.3481194675, 0.5139419436, 0.4924084544, 0.485653609, -0.0188633706, 0.7262383103, -0.7345662713, 0.7955133319, 0.6045523882, -1.1421358585, 0.5201797485, -0.4982937872, 0.465398252, 0.5648633242, 0.1734920144, -0.2732658386, -0.5321144462, -0.3502961397, -0.7951821685, 0.5647054315, 0.3133232594, 0.1562244743, -0.0010647201, 0.0573410876, 0.0924674794, 0.2175368965, -0.7226814032, 0.0062066615, -0.1757091582, -0.238404274, -0.2090710104, -0.1165396944, -0.1977992207, -0.3646324873, 0.5721345544, -0.3001387715, 0.2365721762, 0.2580737472, -0.3652819991, -0.1233621687, 0.5955663919, 0.4355898201, 0.5032737851, -0.1965301931, 0.1906384975, 0.0950476751, -0.6238006353, 0.4898471832, 0.337696135, -0.1030371785, 0.1110258773, 0.3472335637, 0.8927464485, 0.6237435341, -0.6661127806, 0.4324131906, -0.1082715541, -0.277983129, -0.1373199522, 0.0054642158, 0.2544109821, 0.1828759164, 0.5082818866, 0.0148761757, -0.0160210114, -0.5901945829, 0.1541612446, 0.4882131815, -0.5219162107, -0.63809973, 0.7438471913, 0.5837581158, -0.4923986793, 0.5128957033, 0.0739333704, -0.5272839069, 0.4065442681, 0.8755767345, 1.1395932436, -0.4726058543, 0.271325469, -0.0762570873, -0.0665659532, 0.0769049376, 0.3202207386, -0.2064567953, -0.6640594006, -0.3812715411, -0.7860639691, -0.4338918924, 0.2243979126, -0.6656717658, 0.0463739485, -0.3288202286, -0.3661566377, 0.0334353298, -0.2585574687, -0.5826365352, 0.3294090629, 0.3081566691, 0.5906375647, -0.8108286858, 0.8274717331, 0.6878451109, -0.1516284645, -0.8188890219, 0.2415693402, 0.2736900449, -0.5351775289, 0.3069689274, 0.5058870316, -0.4505413473, 0.2092270255, -0.4319823384, -0.5785161257, 1.0630760193, 0.7473065853, -0.7926114202, -0.1329799742, 0.4885113835, 0.463855356, -0.5593990088, 0.0662830845, 0.5039883852, 0.2111070305, 0.2505065501, -1.1595096588, -0.2373316139, -0.1446041167, 0.1670229286, 0.0649637654, -0.3030495346, 0.7038421631, -0.177374512, -0.4684824944, 0.2902344167, 0.6499585509, 0.3116644323, 0.2741851509, 0.6863316894, 0.7560437322, 0.8203282356, -0.0978395194, 0.8670703173, -0.1778329015, 0.1015386507, 1.3143533468, -0.5898115635, 0.8569553494, 0.3130168617, -0.2072039694, 0.4081286788, 0.4718867242, 0.5999757051, 0.5894814134, 0.0434535742, -0.650133729, -0.57309407, -0.152891174, -0.4077506363, 0.7185896635, 0.2437180877, -0.0792846829, -0.3877589703, -0.0018717078, -0.0147108315, -0.1375931203, -0.2477231622, 1.146389246, 0.3528855741, -0.567946732, 0.4304282069, -0.3559765518, 0.5384375453, -0.825627923, -0.022617707, 0.0638621151, -0.0273183472, 0.1906550825, -0.4229560792, 0.0406411812, 0.2753422558, -0.1738052815, -0.4649537504, 0.7215898037, -0.6825546026, -0.4283019602, 0.3352345228, 0.4331207871, -0.0021058016, -0.2720667422, -0.6613300443, -0.1629589647, -0.0717949867, -0.2759067714, 0.3235984743, 0.4015425444, 0.0605461337, 0.4031056762, 1.0438835621, -0.1374769509, -0.0459624007, 0.6053647995, 0.936420083, -0.6091426611, -0.6936799288, -0.7130577564, 0.6467201114, 0.1674472243, -0.1545718759, 0.4457426369, 0.4098830223, 0.6350349188, -0.035862729, 0.7578146458, 0.3781393468, 0.3774834871, -0.7584607005, 0.5050565004, -0.3564931452, 0.079210639, -0.4215421379, -0.9444921017, -0.1782542616, 0.4888063967, 0.0803487301, 0.1765363514, 0.506041944, 0.6430401206, 0.118921563, 0.2860341072, 0.2595127225, 0.1926437914, 0.3449927568, 0.203907147, 0.7460959554, 0.0050440668, 0.5798599124, 0.1022638232, -0.125288412, -0.206908375, -0.8718897104, -0.8454105854, -0.4327058792, -0.0063170376, -0.0343836546, -0.0341293663, 0.8914423585, 0.8821024895, -0.7693727612, -0.3392548561, -0.5255087018, -0.208778441, 0.0637510121, -0.1844351888, -0.0451389663, -0.319424659, -0.5189865232, 0.726711452, 0.4125496447, 0.3645649254, -0.1755328327, -0.3296216726, -0.0610805638, 0.3599422872, 0.5830719471, 0.1560640335, -0.829818368, 0.030529011, 0.0872205198, 0.0316256732, 0.0615718476, 1.0482677221, -0.6862964034, 0.5795000196, 0.302015543, 0.4866586924, 0.2925956249, 0.0800298676, 0.9300468564, -0.9245206714, 0.2815703154, 0.3761206865, 0.3269795477, 0.3593393564, -0.0150076766, 0.1463703215, 0.3364501595, -0.4499772489, -0.8261340261, 0.430049032, -1.0713094473, -0.1599835902, 1.0192935467, -0.1777281612, -0.1074809805, -0.2009219676, -0.3919196725, 0.3929428458, -0.4390653074, 0.3375917077, 0.5557386875, -0.0927123576, -0.0252283439, -0.1994888484, 0.4320189655, 0.4413618445, -1.0128517151, 0.1717642844, 0.6093123555, 0.2360007316, 0.0889915377, 0.9702575207, 0.0027292722, 0.1871509701, 0.0403134748, -0.0721608251, -0.0062933317, -0.6839572191, -0.3735975623, -0.0628391877, -0.1905005425, 0.0264208354 ]
http://arxiv.org/abs/2402.05699v3
http://arxiv.org/pdf/2402.05699v3
Self-Alignment of Large Language Models via Monopolylogue-based Social Scene Simulation
2024-02-08T14:21:03
2024-06-08T06:13:55
Xianghe Pang, Shuo Tang, Rui Ye, Yuxin Xiong, Bolun Zhang, Yanfeng Wang, Siheng Chen
cs.CL
cs.CL, cs.AI, cs.CY
Aligning large language models (LLMs) with human values is imperative to mitigate potential adverse effects resulting from their misuse. Drawing from the sociological insight that acknowledging all parties' concerns is a key factor in shaping human values, this paper proposes a novel direction to align LLMs by themselves: social scene simulation. To achieve this, we present MATRIX, a novel social scene simulator that emulates realistic scenes around a user's input query, enabling the LLM to take social consequences into account before responding. MATRIX serves as a virtual rehearsal space, akin to a Monopolylogue, where the LLM performs diverse roles related to the query and practice by itself. To inject this alignment, we fine-tune the LLM with MATRIX-simulated data, ensuring adherence to human values without compromising inference speed. We theoretically show that the LLM with MATRIX outperforms Constitutional AI under mild assumptions. Finally, extensive experiments validate that our method outperforms over 10 baselines across 4 benchmarks. As evidenced by 875 user ratings, our tuned 13B-size LLM exceeds GPT-4 in aligning with human values. See our project page at https://shuotang123.github.io/MATRIX.
[ -0.2124731094, -0.4466884732, 0.4951965511, 0.3069758415, -0.1449658722, 0.3921900988, -0.1292423159, -0.2034148276, 0.5382409692, 0.6014370322, -0.3731684089, -0.3382882476, -0.1462161541, -0.2742004991, -0.2871728539, 0.7370108366, 0.2083729059, 0.1777492464, -0.3400872946, -0.0913906768, -0.2734233737, -0.5940282941, -0.311904043, -0.347952038, 0.7191026211, 0.4750247002, 0.8821294308, 1.0284721851, 0.2620048523, 0.3921564221, 0.1516308337, 0.2342535704, -0.7342225313, -0.0863426104, -0.3560711741, -0.0810689405, -0.6659136415, 0.1351699084, 0.9451451302, 0.4872905016, -0.4102326632, 0.5020160079, 0.3988426626, 0.6545818448, -0.5393155813, -0.0270461123, -0.5655088425, 0.016397452, -0.1029484794, 0.0508728027, -0.3370792866, -0.5033991337, -0.1832687706, -0.4443571866, -0.2257412523, 0.2503097951, 1.092181921, 0.2389225513, -0.4985348284, 0.158989653, -0.7980522513, 0.5606677532, -0.5736964941, -0.0429345071, 0.0590114519, 0.5374552011, -0.3469403088, -0.3749265373, -0.6792185903, 0.0387722217, 0.201960817, 0.1915896684, -0.0815354213, 0.0552827045, 0.0902395248, 0.0219359528, -0.4453571737, 0.2111161798, -0.5688577294, -0.1884180307, 0.6863925457, 0.6477939487, 0.2826541364, -0.3564712107, -0.5155826807, -0.0751215592, -0.7780308127, 0.3147268891, 0.750457406, 0.3201741874, 0.0021271564, 0.7388524413, 0.1030335501, 0.6386381984, 0.3163167536, -0.0572096594, 0.0702348873, -0.1681159437, -0.1385256052, 0.3560751379, 0.8700011373, 0.7045215368, 0.5842909217, 0.1684702635, 0.0302834325, 0.1686983854, 0.6216053963, -0.6421161294, 0.1136667728, 0.0379936136, -0.3052062392, -0.5221737623, -0.3481149077, -0.9007915258, -0.6461669207, -0.6652792096, 0.552857101, -0.1116704941, -0.2387976646, 0.0399665721, 0.2802017033, 0.512065351, 0.5510845184, -0.8400146365, 0.4834632277, 0.6958104372, 0.761012733, -0.1002114341, -0.4442900419, -0.3514047265, 0.4201286733, -0.5991990566, 0.763247788, -0.4824032784, -0.1473187655, -0.1262879521, -0.2906567454, 0.0219332334, -0.5215317011, 0.096467413, -0.2737677991, -0.1268217266, -0.3655209243, -0.4195640087, 0.408741504, 0.3438703418, -0.6033455729, 0.8395694494, -0.1616305113, -0.6530361176, 0.1499355286, -0.3111903965, -0.070830971, -0.2113921642, -0.5936570764, -0.3972333074, -0.0075494172, -0.0928621963, 0.2821544111, -0.1289752275, 0.501820147, -0.7539952993, -0.5121113062, 0.725662291, -0.2496628314, 0.6836408377, 0.2227708101, -0.2205104232, 0.3340291679, -0.5298386812, 0.0056580715, -0.0086765932, -0.1083361432, 0.0669000149, 0.1649460495, -0.0527300648, 0.5635172725, 0.2628333569, -0.4426113665, 0.2785741985, -0.2756696343, 0.3584562838, 1.3119733334, -0.4423948526, 0.6702101827, -0.513235271, 0.6947389245, -0.1697393358, 0.1509609222, 0.3976441026, -0.2433539778, -0.546797514, -0.3797456324, 0.4302511811, 0.5823431015, -0.1566754878, 0.303329587, -0.433517158, -0.3091924787, -0.9248633385, 0.1968074292, 0.2566617429, 0.2967508733, 0.0442587398, -0.1545015126, -0.7359311581, -1.2752206326, -0.2690416574, -0.2083016783, -0.0111300349, 0.5408495665, 0.1395668089, 0.0335618183, 1.1763265133, -0.4146558344, -0.4527895749, -0.2409365922, -0.0502195954, 0.0628084242, 0.5077310205, 0.0974126607, -0.1977085173, -0.4783504009, 0.0112309484, -0.6027271748, -0.2847744524, -0.0699486732, -0.3653878868, 0.014746977, 0.599011302, -0.2556821108, 0.2625022829, 0.7412824035, -0.139282912, 0.5482057929, -0.3621630073, 0.0076596411, -1.5132662058, 0.1258135438, -0.1013812944, -0.4706597328, -0.3794639707, -0.3479087353, 0.103530474, -0.2541586459, -0.3429087102, 0.5508180261, -0.4948568344, -0.3946685195, -0.2420586795, 0.3247024417, 0.0024179139, 0.3484890759, -0.2896299362, 0.9389535189, 0.2194552124, -0.1063069478, 0.0895093307, 0.0288737174, -0.5742209554, 0.5103301406, -0.4683635533, 0.165037781, -0.2396436781, 0.4054396451, -1.1630402803, -0.3315012455, 0.052657716, -0.3193535209, 0.2142741084, -0.3104005754, -0.6037386656, -0.0598888695, -0.1631075144, 0.4809673429, 0.7059599757, -0.3269413412, 0.7843106985, 0.9924336672, -0.0486998782, -0.8299552798, -0.3949908614, 0.3721647561, -0.4854051173, -0.6468060613, 0.192648232, -0.0159711298, -0.2196112722, -0.1383948773, 0.1135618538, 0.0618755035, -0.0728792697, 0.3956765234, 0.4097835124, -0.0834167898, -0.1122412384, 0.0902613848, 0.0247973111, 0.0679593086, -0.2375537008, 0.4749597311, -0.3117437661, -0.1537896991, -0.3126100898, 0.2281803042, 0.5417053103, -0.0008500048, 0.4605931938, 0.2656513751, -0.2292243093, -0.1324596703, -0.7330821157, 0.0426301435, -0.5573660731, 0.1013571993, -0.1491486728, -0.9588525295, 0.7597039938, -0.1047268435, -0.2362122834, -0.0990979224, 0.5919747353, -0.3285744488, 1.1899840832, 0.3998001814, -0.1661283374, 0.4186112583, -0.0764876306, 0.2707617581, -1.0392602682, -0.0950997174, -0.4207550287, -0.6507403851, -0.4852866828, -0.6946073771, 0.312654078, -0.0630965829, -0.2953638732, 0.3674004078, -0.2124463022, 0.6953971386, 0.1231989637, 0.061462082, 0.0987113789, -0.0152650252, -0.4330270588, -0.1621735245, -0.6466786265, -0.8141109943, 0.7826980352, 0.2771273553, 1.1298117638, 0.2122686207, 0.7648672462, 0.0233104099, 0.5561910272, -0.4207991958, 0.7475488186, 0.0164609794, -0.986797452, -0.3947005272, -0.4369233847, -0.9427059293, 0.4257879555, -0.2147455961, -1.0057611465, 0.3833141625, 0.5458815694, -0.5972927809, 0.1379915923, -0.5010501742, 1.1361790895, -0.128957361, -0.8459990025, -0.360096544, -0.6218237877, 0.3435700238, 0.046845153, 0.4427625537, -0.5869103074, 0.0537800193, 0.1967969388, -0.1444153935, 1.2628685236, 0.1077844426, -0.0703722611, 0.1159937754, 0.2784309983, 0.326022476, -0.0738169029, -0.0114453696, 0.140854612, -0.0988121256, -0.4694983661, -0.5092734694, 0.8700124621, -0.7973021269, -0.8806055784, -0.4299598932, -0.5974652171, 0.0275670383, 0.0024476747, -0.0296977367, 0.3494446576, -0.604881525, 0.0743332654, 0.2644257545, -0.2307711393, 0.1802976578, 0.4054572284, -0.5484914184, -0.6355801821, 0.9469330311, 0.389882654, 0.4866558909, 0.0559131652, 0.3057217002, -0.3793512285, -0.0409271084, -0.69634974, 0.1904864013, -0.5048539042, -0.2704316378, -0.5621638894, -0.2514533103, -0.4503924549, -0.4283045828, -0.5570684671, -0.2475893646, -0.0673949197, -0.1221350878, -0.162972033, 0.5794373751, -0.3336904645, 0.0569006838, -0.4072978199, 0.0809777528, 0.5138172507, 0.4725969136, -0.0071510118, -0.5949983597, -0.320576787, 0.095919311, -0.2399231791, -0.7237081528, 0.3929727972, -0.0214651451, 0.3662863672, 0.4854313731, 0.1213616282, 1.2097340822, -0.9935628176, 0.4217896163, 0.086998269, -1.147785902, 0.2138971984, -0.5020527244, 0.0955397263, 0.7259501219, -0.0596755631, -0.5190512538, -0.5475950837, -0.3500069082, -0.6258129478, 0.6209715009, 0.2074731886, 0.4539598525, -0.0458181649, 0.3268767297, -0.3910433948, 0.0543184206, -0.8977084756, 0.0561433807, -0.2683191597, -0.4215041995, -0.0606026128, -0.209043175, -0.2399239838, -0.3273477554, 0.2883830667, -0.1974313706, 0.0920963958, 0.1888122112, -0.0563355125, -0.4349265397, 0.1995926201, 0.8144826293, 0.867861867, -0.2815501988, 0.218498826, 0.2335766107, -0.0939884931, 0.4815877974, -0.2224425673, 0.2308095247, -0.4740744233, -0.1140994504, 0.5170229077, 0.4572738707, -0.6065593362, 0.6535440683, -0.1075328067, -0.1380137354, -0.6614563465, 0.0831329748, 0.4588904083, 0.4421583116, -0.0482414588, -0.1795252413, 0.0981922075, -0.6491600275, 0.1216721833, 0.6560091972, -0.4466735721, -0.2569632232, 0.7296421528, 0.1364698857, -0.5890617371, 0.4153755605, -0.1455645114, -0.3265825808, 0.7219294906, 0.7538380623, 0.7601691484, -0.5116189122, 0.241588071, 0.3090665936, 0.3822668493, -0.1864448637, -0.0206230264, 0.1666194648, -1.1009380817, -0.7161512971, -0.6973099709, -0.4828062952, -0.0241219271, -0.6317185163, 0.2993638217, -0.566560626, -0.111759901, 0.0122465258, -0.0591178052, -0.1687290519, -0.3149421811, 0.2950126231, 0.5919826627, -0.8641805649, 1.3481432199, 0.4276001751, -0.0576594286, -0.9785383344, -0.0857845992, 0.3059217036, -0.8697769642, 0.5971611738, 0.3714624047, -0.477650404, 0.1024270579, -0.5370770693, -0.9353391528, 1.0723816156, 0.8329277039, -0.6311240792, -0.0703341812, 0.3127209842, 0.7079516649, -0.717994988, -0.134916231, 0.3285494745, 0.3372614384, 0.1579263508, -0.8596665859, 0.0468053855, -0.2671935856, 0.0706645399, 0.1817211211, -0.6983385086, 0.6289538741, -0.2139041126, -0.1877135485, -0.0194892567, 0.4738616943, 0.3269297779, 0.1866887361, 0.6892166734, 0.5347220302, 0.4752234817, 0.3673222959, 0.7857515216, -0.3759329915, 0.1953025162, 1.2586497068, -0.8601167202, 0.6808421016, 0.3308180869, 0.0149453264, 0.5302112699, 0.5216531157, 0.0406540446, 0.2353459448, 0.5718621016, -0.1049817577, -0.5825366378, 0.0056871907, -0.1142482609, 0.7025603652, 0.2681459188, -0.1352385581, -0.1128626093, -0.4858697355, 0.0211751722, 0.3083499968, -0.17499879, 0.8960751891, 0.1888353676, -0.6838139296, 0.4296100438, -0.1779203713, 0.0449261665, -0.3910529912, -0.0726559162, -0.2358101159, 0.3392549455, 0.0197484363, -0.6465204358, 0.2159999013, -0.1077871844, 0.0279191267, -0.3307624459, 0.4484677911, -0.6541087031, -0.4495160282, 0.4598988593, 0.146260038, 0.1514416486, 0.1382102966, -0.6932349205, 0.0061433357, -0.0811813548, 0.1051775366, 0.7306061387, 0.5108708143, -0.0759541318, 0.588475883, 0.6005379558, 0.0191142634, -0.1594877243, -0.0438369252, 0.9668744802, -0.7788085341, -0.5654454827, -1.0482609272, 0.538018465, -0.4281025827, -0.2647688687, 0.5856527686, 0.6691756845, 0.5762905478, 0.2464669943, 0.234872207, 0.4690277874, 0.1786752194, -0.4238678217, 0.7832484245, -0.4518938959, 0.2836699486, -0.5369254947, -0.8691150546, -0.090878278, 0.8471820354, -0.2204797119, -0.2930917144, 0.3093642294, 1.0924438238, -0.1032938138, -0.4699218869, 0.6499396563, 0.2689335644, 0.2064199001, 0.196411863, 1.0877898932, 0.0385481715, 0.6745363474, -0.0257817116, -0.1604071558, -0.338490665, -1.0202409029, -0.9314948916, -0.4631011188, 0.0322301947, -0.6017252803, 0.1621843576, 1.2738209963, 0.7693636417, -0.3625552654, -1.0201698542, 0.2163122296, 0.1190285087, -0.0031217872, -0.1742232442, 0.0801880434, -0.2755065262, -0.5171034336, 0.2408649176, 0.5668975711, -0.0516102649, -0.5432684422, -0.0273710173, -0.2296531647, 0.6452295184, 0.3827677965, 0.0639527738, -0.7495930791, -0.5079122186, -0.0282953884, -0.5618495941, 0.3334710896, 0.9165610671, -0.5710714459, 0.4251402318, 0.144242838, 0.4761648774, 0.454115808, 0.3173089027, 0.9021144509, -0.5572053194, -0.0711464882, 0.1376779228, 0.3269566894, 0.2650373578, -0.4436268508, 0.154326722, -0.1316485256, -0.8247027397, -0.8670342565, 0.4269459546, -1.0597529411, -0.1870949268, 1.027436614, 0.0305848457, -0.5516534448, -0.0992297307, -0.2743700445, 0.1498392075, -0.4955232143, 1.2578624487, 0.6599705219, 0.175587818, -0.1136474162, -0.4996945262, 0.4008610845, 0.3739554286, -0.6631373167, 0.3115520179, 0.6810104847, 0.331974566, 0.1147429571, 0.7733973861, -0.1969014257, 0.1324946284, -0.3053767681, 0.3580312431, 0.1195968315, -0.1883804798, -0.5331578255, 0.0942074805, -0.000900265, 0.0603689402 ]
http://arxiv.org/abs/2402.05672v1
http://arxiv.org/pdf/2402.05672v1
Multilingual E5 Text Embeddings: A Technical Report
2024-02-08T13:47:50
2024-02-08T13:47:50
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei
cs.CL
cs.CL, cs.IR
This technical report presents the training methodology and evaluation results of the open-source multilingual E5 text embedding models, released in mid-2023. Three embedding models of different sizes (small / base / large) are provided, offering a balance between the inference efficiency and embedding quality. The training procedure adheres to the English E5 model recipe, involving contrastive pre-training on 1 billion multilingual text pairs, followed by fine-tuning on a combination of labeled datasets. Additionally, we introduce a new instruction-tuned embedding model, whose performance is on par with state-of-the-art, English-only models of similar sizes. Information regarding the model release can be found at https://github.com/microsoft/unilm/tree/master/e5 .
[ -0.3046563566, -0.3825133145, 0.2827641666, 0.3161304295, -0.2097516507, -0.0719465315, -0.2194148749, -0.7588777542, 0.0824670717, 0.3887257278, -0.3019945323, -0.8805812597, -0.4970897138, 0.3683662713, -0.4968078732, 0.7422210574, -0.2429301441, 0.3822340667, -0.2610499561, -0.220302403, -0.4530490935, -0.6738145351, -0.2530857921, -0.0777071342, 0.7121570706, 0.5492073298, 0.2932093441, 0.8046088815, 0.6234928966, 0.24019894, 0.0383295156, -0.0554170571, -0.2611562908, -0.1124567986, 0.2386206537, -0.2721513212, -0.663459599, 0.3242115676, 0.5665778518, 0.5811536908, -0.2732614279, 0.1172483191, 0.0297466125, 0.1975425929, -0.696485281, 0.1714718044, -0.2074405551, 0.2303217351, 0.0478243157, 0.0415302031, -0.9087940454, -0.2105671167, 0.1465009451, -0.598266542, 0.2157071829, 0.1786742508, 0.7760310173, -0.0060958588, -0.5658056736, -0.3713990152, -0.3882008493, 0.8391901255, -0.5750704408, 0.8262368441, 0.4066350162, 0.3519120216, 0.4792266488, -0.9794490337, -0.1952943206, -0.159514457, 0.0273619238, 0.1568294913, 0.2719833255, 0.1281603724, -0.0998161659, 0.2345169485, -0.5389464498, 0.2586655021, -0.4203331769, 0.0005950497, 0.5280116796, -0.1570874304, 0.1989225149, 0.4402195513, -0.2209253311, 0.0796797648, -0.7660152316, -0.5710793734, 0.4082463384, 0.222132355, -0.4631549716, 0.3504171669, 0.1249779314, 0.7461113334, -0.2070538998, -0.1624775082, 0.5856437683, -0.5283063054, -0.1701096147, 0.1955713034, 0.3939861655, 0.4079576135, 0.2135657668, -0.3107483983, -0.3345487118, -0.222565338, 0.2453584373, -1.0101991892, -0.3670239747, 0.170501411, -0.6470194459, -0.4114108682, 0.1604290903, -0.4174099565, -0.144124195, -0.1340163946, 0.4008549452, -0.5141513944, -0.3296321332, 0.2333185822, -0.2239453793, 0.1306429952, 0.3057997525, -0.9246981144, 0.1120301709, 0.3120251, 0.7595257759, 0.1232850328, -0.5510059595, -0.3235771358, 0.3941721022, -0.1263511032, 0.7346519232, -0.8794534206, -0.3238764405, 0.2316599488, 0.2263479978, 0.1106225029, -0.2045138329, 0.7292832136, -0.5495226979, 0.3454365432, -0.1361094564, -0.5956112742, -0.344537437, 0.2501634955, -0.8583036065, 0.8330004811, -0.1354944259, -0.7344908118, 0.4637147188, -0.9125709534, -0.0451454595, -0.1700773388, 0.1678389758, -0.5145215988, -0.0090876976, 0.1526100039, 0.421795398, -0.3571636677, -0.1651064306, -0.4328123033, -0.3276377618, -0.1812925935, -0.258249104, 0.4707410038, 0.397585243, 0.0538693778, 0.2286622226, -0.7865650058, 0.1088716909, 0.1558278799, -0.2389801145, -0.0972076952, -0.0165555477, 0.3896751106, 0.2099586576, 0.4500591755, -0.7737893462, 0.0220434759, -0.2272767127, 0.6546630859, 0.5070469379, -0.2781854868, 0.3337206841, -0.0970115736, 0.4541813731, 0.4602363408, 0.1336106807, -0.7227184176, -0.3523325622, -0.6232681274, -0.35773471, 0.9956332445, 0.3927904665, -0.4869806468, 0.2087736428, -0.1616748124, -0.3978957832, -0.8284407258, -0.1320015788, 0.5054756999, -0.0466344655, 0.4123029411, -0.0591087639, -0.5335608721, -0.958822608, -0.3139337599, 0.3919867575, 0.3021283448, -0.1503985375, 0.7434703708, -0.1325319558, 0.5475891829, -0.255390197, 0.0871723965, -0.2187803537, 0.3569085002, -0.2127487361, 0.522223413, 0.6893051863, -0.7092690468, -0.8277420998, 0.0710561499, -0.722743988, 0.0666421503, 0.3776682615, 0.288051635, 0.4602757394, 0.6412452459, -0.0150981424, 0.2138871998, 0.9046501517, -0.2730884552, 0.2090937495, -0.5268771648, 0.1301683336, -1.2542636395, -0.0520389415, 0.1420417577, -0.4085428119, -0.2848190665, 0.283867836, 0.4820202589, -0.2589558959, -0.6196081638, 0.28928864, -1.0287908316, -0.0743098035, 0.118249096, 0.3142360747, 0.0978021249, 0.075656563, -0.0784082189, 0.6722923517, 0.2612181008, -0.529589057, 0.2574100792, 0.0233467892, -0.2782073617, 0.5181112885, -0.8339701295, 0.4855027199, -0.1172002628, 0.1582579315, -0.6958976984, -0.1830717623, -0.0764011443, -0.4134356081, 0.483899653, -0.1051952988, -0.6468952894, -0.2916720212, -0.5364690423, 0.2850947678, 0.1738610864, -0.52743572, 0.3885257542, 0.5065892935, -0.1350939125, -0.4188987017, -0.886080265, 0.014396714, 0.0170544405, -0.567748785, 0.6428488493, -0.1819152683, 0.1176513657, 0.2199504972, 0.3831793368, -0.3501483798, 0.1481183618, -0.162492469, -0.1211424023, -0.25045982, 0.1656738967, 0.0792060941, -0.2102747858, -0.1498795748, -0.308452189, 0.291246593, -0.2038466334, -0.4859633446, -0.3554943204, 0.6201230884, 0.3562118709, -0.6348496675, 1.1237303019, 0.7329269052, -0.4523970485, -0.1156678721, -0.3022076786, -0.1151580885, -0.4383710623, 0.6622845531, -0.6617826819, -0.759467721, 0.2143168002, -0.136566177, 0.4150300622, 0.4517038167, 0.4103914499, -0.0511545278, 1.5238620043, 0.9603431821, 0.4279462695, 0.330915451, -0.0543933325, 0.286147058, -0.4521695971, -0.5290198326, -0.8840065002, -0.1961961538, -0.7637819052, -0.2657238245, 0.3258146942, 0.1113590151, -0.2798835635, 0.0364397801, -0.3886621296, 0.6577415466, 0.4450074136, -0.1079397574, 0.2388917655, 0.0702050701, -0.548334837, -0.1950397938, -0.7372028232, -0.7272545695, 1.2448158264, 0.529714644, 0.438177526, 0.2455039322, 0.7233778834, 0.1934408993, 0.3352974653, -0.5203142762, 0.1141729504, -0.319458127, -0.4315351248, -0.1179181039, -0.1343807876, -0.8715572953, 0.1391232312, -0.1292896569, -0.3596696556, -0.3307410181, 0.1063162088, 0.0127899433, 0.2266642004, -1.2040675879, 1.0696063042, -0.1048035622, -0.0397357456, -0.4114178419, -0.5637256503, 0.0176098812, 0.0198543277, 0.2955279052, 0.1653317958, -0.2479200065, 0.7249871492, -0.1025026739, 0.8961411119, -0.3242787421, -0.0837267339, 0.0073747798, -0.3028106987, 0.4783867896, -0.379660964, -0.1804210395, 0.204881981, 0.3188619912, -0.635316968, -0.3633265495, 0.659876585, -0.9007296562, -0.1885925233, -0.3506222963, -0.2938646376, -0.1942232102, 0.249046728, 0.2032522559, 0.5480619073, -0.6633457541, 0.5495331883, 0.5945216417, -0.4810237288, 0.7394953966, 0.6904445291, -0.4271992743, -0.61749506, 1.0704196692, 0.4339993894, 0.1305923611, 0.5103254318, -0.1026797667, -0.2715019286, -0.5878234506, -0.3993053734, 0.2598771155, -0.6814197302, 0.0328843296, -0.5852339268, -0.2269775867, -0.5301624537, -0.071375899, -0.5062710643, -0.3014585078, -0.2411847562, -0.3284775019, 0.1847859323, 1.4825021029, 0.082726568, 0.3094708622, -1.0073187351, -0.1088987812, -0.200039193, 0.5719627738, -0.2218686193, -0.4653933048, -1.0800324678, 0.1643066555, -0.6701117754, -0.8513094783, 0.419223398, 0.3018289804, 0.6154665351, 0.132481128, -0.2488336861, 0.244624719, -0.6378221512, 0.8877776861, 0.3416804671, -0.9860883951, 0.4765669703, -0.3189385533, 0.357727319, 0.171216473, 0.6283112764, -0.4344779253, -0.0037647043, -0.5598548651, -0.6785850525, 0.7005442381, -0.3119240701, 0.0855046138, -0.0804377422, -0.0188933555, 0.3641349077, 0.3393989801, -0.5621168613, -0.3227785528, -0.313207984, -0.4391937256, -0.1839875579, -0.6434537768, 0.0966752544, -0.2566716373, 0.5691739321, -0.0769968107, 0.6023986936, -0.0421205685, -0.441503942, 0.169893235, 0.2207166702, 0.8654212356, 0.7278627753, -0.1598615199, 0.0664118305, 0.1322567463, -0.5274932384, 0.0462746434, 0.0352313705, 0.0803335384, 0.0702655986, 0.4321184456, 0.8193026781, 0.474950254, -0.1558700651, 0.4875555336, -0.0659317151, -0.4505933225, -0.2844205797, -0.4199994504, 0.2577720284, -0.0633361414, 0.0328894146, -0.2805529237, 0.0536561832, -0.4120646119, 0.1416223198, -0.0140164914, -0.4265717566, -0.6939187646, 0.5577082038, 0.7132220268, -0.2618971765, 0.6149470806, -0.0545473956, -0.4006301463, 0.4593628943, 0.7983523011, 0.8551875353, -0.4871769547, 0.3436057866, 0.3100355566, 0.6280687451, 0.1577399522, 0.6667755842, 0.4238316417, -0.5916736722, -0.4188939035, -0.3636550903, -0.4579733312, -0.1178197041, -0.6359576583, 0.4851242304, -0.2155173272, -0.0883090198, -0.076451987, 0.0289918017, -0.8863028288, 0.2342416495, 0.0762746111, 1.2609140873, -0.7200400233, 0.9857137799, 0.9995394945, -0.513517797, -0.6212700605, -0.1047224849, -0.081351921, -0.5870589018, 0.5608818531, 0.3793814182, -0.1544763893, 0.3674614131, -0.5945755839, -0.7747780085, 1.218513608, 0.7329143286, -0.6610591412, -0.0069391276, 0.0616444461, 0.263142854, -0.6298642159, 0.6303305626, 0.3058148623, 0.64270854, -0.243898347, -1.1279155016, -0.3048746288, -0.342177093, -0.0811160356, 0.1733931154, -0.7874215841, 0.6787013412, -0.1932993382, -0.007187671, -0.0710104108, 0.7435244918, 0.0200251043, 0.0391731225, 0.1811417192, 0.7949950695, 0.8803638816, -0.185730055, 1.3020483255, -0.8735079765, 0.2944501638, 1.001483202, -0.2405747026, 1.0423521996, 0.3199488819, 0.034542799, 0.4849006236, 0.7814502716, 0.1534620225, 0.6660767198, -0.140035674, -0.1047568098, -0.0668429509, -0.321906358, -0.7404144406, 0.3707127273, 0.1775389612, -0.7418093085, -0.1105054766, -0.0890622362, 0.0609233268, -0.252294302, -0.1510428041, 0.7159326077, 0.1198957339, -0.3842089474, 0.5193953514, 0.6304286122, 0.5082517862, -0.3755901456, -0.2327617854, 0.0917905271, 0.201680392, -0.0804014876, -0.6315873861, 0.1984727532, -0.0803870782, -0.2747037113, -0.5152132511, 0.309623301, -0.6347625256, -0.4699329436, 0.4649341702, 0.441614449, 0.1421067268, 0.2911523879, -0.6203737259, 0.1842079312, -0.1445053518, -0.2821041644, 0.3361753821, 0.6842814088, 0.0943887308, 0.3996069133, 0.2313607931, -0.1095966324, 0.1175062805, 0.4477199018, 0.5773403049, -0.7705298662, -0.5708754659, -0.5838468671, 0.7611446977, -0.0849442035, -0.3989830613, 0.709041357, 0.6434530616, 0.8665969372, -0.2502893209, 0.870588541, 0.3942121267, 0.4003637731, -0.6798532009, 0.5932340622, -0.6056720018, 0.0694494471, -0.0285213236, -0.7952789068, -0.195822686, 0.3839362264, -0.1707786024, 0.4221623242, 1.1742935181, 0.5912975073, -0.1256461591, 0.3142287731, 0.5295450687, 0.3633520305, 0.1179137677, 0.3004432917, 0.5572875738, -0.4501555264, 0.3887351453, -0.1530893296, -0.0438267142, -0.2354583591, -1.0940591097, -0.8121522665, -0.6122225523, -0.2899414301, 0.0469508879, 0.2527926862, 0.8879377246, 0.8230298162, -0.8343715072, -0.1272884607, 0.0112520205, -0.1409987062, 0.0140039437, -0.1098753735, 0.0682663247, -0.4027764201, -0.820653975, 0.3886359334, 0.2222951055, 0.1296672076, -0.4950689077, -0.2334373891, -0.2998617589, 0.0737838373, 0.7014112473, -0.289139986, -0.5120596886, -0.3645653129, 0.069674015, -0.178274706, 0.0065381657, 0.6319936514, -0.2818984687, 0.4097480178, 0.3541693687, 0.3927199543, 0.4715785384, -0.5770590305, 1.0028343201, -0.9681499004, 0.2554151118, -0.0201492589, 0.4125704169, 0.4266879857, 0.0748887882, 0.5151309371, 0.1546367854, -0.4589403868, -0.8922184706, -0.0036460804, -0.4233274758, -0.1966298521, 0.7745200992, -0.4899343848, -0.0427132435, -0.0309472755, 0.0080761239, 0.2827297449, -0.3206052482, 0.2853174806, 1.0277934074, 0.4372087121, -0.4045115113, -0.6859694719, 0.2573210299, 0.2520828545, -0.8296309114, -0.3623827696, 0.4159117341, 0.1881936938, -0.0423647389, 0.1884952933, -0.2112807482, 0.1877744347, 0.2654544115, 0.4797730744, -0.3152171969, -0.8200718164, -0.3113037348, 0.3855954707, 0.3211248815, -0.2765785456 ]
http://arxiv.org/abs/2402.05668v1
http://arxiv.org/pdf/2402.05668v1
Comprehensive Assessment of Jailbreak Attacks Against LLMs
2024-02-08T13:42:50
2024-02-08T13:42:50
Junjie Chu, Yugeng Liu, Ziqing Yang, Xinyue Shen, Michael Backes, Yang Zhang
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Misuse of the Large Language Models (LLMs) has raised widespread concern. To address this issue, safeguards have been taken to ensure that LLMs align with social ethics. However, recent findings have revealed an unsettling vulnerability bypassing the safeguards of LLMs, known as jailbreak attacks. By applying techniques, such as employing role-playing scenarios, adversarial examples, or subtle subversion of safety objectives as a prompt, LLMs can produce an inappropriate or even harmful response. While researchers have studied several categories of jailbreak attacks, they have done so in isolation. To fill this gap, we present the first large-scale measurement of various jailbreak attack methods. We concentrate on 13 cutting-edge jailbreak methods from four categories, 160 questions from 16 violation categories, and six popular LLMs. Our extensive experimental results demonstrate that the optimized jailbreak prompts consistently achieve the highest attack success rates, as well as exhibit robustness across different LLMs. Some jailbreak prompt datasets, available from the Internet, can also achieve high attack success rates on many LLMs, such as ChatGLM3, GPT-3.5, and PaLM2. Despite the claims from many organizations regarding the coverage of violation categories in their policies, the attack success rates from these categories remain high, indicating the challenges of effectively aligning LLM policies and the ability to counter jailbreak attacks. We also discuss the trade-off between the attack performance and efficiency, as well as show that the transferability of the jailbreak prompts is still viable, becoming an option for black-box models. Overall, our research highlights the necessity of evaluating different jailbreak methods. We hope our study can provide insights for future research on jailbreak attacks and serve as a benchmark tool for evaluating them for practitioners.
[ -0.4107341766, -0.9906551242, 0.5673345923, 0.2659158111, -0.1621702164, 0.484513998, -0.1390990466, -0.5045952201, 0.3878389895, 0.566016674, -0.3744135499, -0.3110917509, -0.6586406827, 0.2210892439, -0.4874706864, 0.7335198522, -0.0023929854, -0.0159733929, 0.1197090745, -0.0628202036, -0.6711888313, -0.6524587274, -0.3771396279, 0.0796048418, 0.4797897637, 0.2455350906, 0.4681549072, 0.2416068912, 0.7006723285, 0.2387978137, -0.4001071751, -0.0507797189, -0.402785778, 0.0735296607, -0.1187109426, -0.3780995011, -0.4317836165, 0.0717581511, 0.2839864492, 0.2481513172, -0.1361048669, 0.144542098, -0.0781565681, 0.7474302053, -0.8445584178, -0.5485884547, -0.873141706, 0.0592614412, -0.4276098609, 0.1145199686, -0.582116127, -0.4626438022, -0.272539854, 0.1462953836, -0.2813745737, -0.0147529012, 0.4161479175, -0.0652910173, -0.3423934877, -0.4224963784, -0.3147210181, 0.6213517785, -0.8725539446, -0.0277436133, 0.4049330056, 0.2764511704, -0.3730487227, -0.2642642856, -0.1934643835, -0.6259152293, 0.1511484087, -0.0841725618, -0.5068648458, 0.0556518584, 0.4802929163, 0.1845706254, -0.349265337, 0.4719714522, -0.517929554, -0.2152545452, 0.7040525079, 0.3430224955, 0.4462204278, -0.3351044655, -0.5477669835, 0.111115627, -1.091219306, 0.1291802227, 0.5715281367, -0.024399532, -0.2575913966, 0.6656443477, 0.1392118782, 0.8020591736, -0.1654295027, -0.1626856476, -0.1221624315, -0.4564279318, -0.1418485194, 0.0673122779, 0.9791224003, 0.5676465034, 0.3321438432, -0.3523655832, -0.1600004733, -0.1550306529, 0.4808618128, -0.8276709318, 0.1780043542, 0.3458765745, -0.1355805844, -0.7335472107, 0.0602268502, -0.8094149232, -1.0081107616, 0.4534877241, 0.0750326365, -0.1731867194, -0.0154341981, 0.0087547274, -0.0353006385, 0.5334264636, 0.1766026616, -0.6948039532, 0.3417224288, 0.6400101185, 0.9830542803, -0.2432947159, -0.0965587124, -0.553401351, -0.0278065149, -0.3502989709, 0.4911367297, -0.1215489954, -0.5993952155, -0.0996469855, -0.1925697178, -0.04763069, -0.4781602025, 0.3560566008, -0.5372279882, -0.5599037409, -0.1713296324, -0.5539790988, 0.0315628536, 0.6277626753, -0.6919175386, 0.492683053, -0.0926694646, -0.8148100972, 0.082060501, -0.4605081677, -0.4238553941, -0.2311982512, 0.1052004695, -0.381257534, 0.3043947518, 0.1541352123, 0.4419505, -0.388039887, 0.3273379803, -0.5890718102, -0.4654269814, 0.634272337, -0.4092134535, 0.8415567279, 0.2745820582, -0.5836369991, -0.0597560443, -0.4889884293, -0.1351016164, 0.4405393004, -0.0665890872, -0.3655592799, 0.1508371979, -0.191980496, -0.0244625434, 0.2459104806, -0.7425835729, 0.3321538866, -0.2979578078, 0.7777056694, 0.8465210795, 0.1420268714, 0.0787588581, -0.0419965014, 0.5628228188, -0.3289690316, 0.4489396513, -0.0592687018, -0.1513154507, -0.0985965803, -0.189165324, 0.1324055046, 0.8045482635, -0.0684252605, 0.3957597911, 0.0838726833, -0.827216506, -0.2416937053, 0.3028641343, 0.4975577295, 0.2170006782, 0.2846520841, -0.3534049094, -0.3027485013, -0.7154539227, -0.6668006778, -0.2210491598, 0.3079029918, 0.2964828908, 0.4098307788, -0.1950218976, 0.6050817966, -0.278682977, 0.0569501556, -0.4081350267, -0.2570631802, 0.0934197158, 0.3325859904, 0.6682547331, -0.3055481315, -0.2137378007, -0.359787792, -0.7559829354, -0.1937872767, 0.032254722, 0.2597168982, 0.0263761617, 0.6700545549, -0.500377059, 0.3900998533, 0.5059662461, -0.5154118538, 0.7730829716, 0.0982527882, 0.2116961032, -0.7752689719, -0.1343705505, 0.0342523046, -0.0537664592, -0.7622899413, 0.3492378592, 0.2238614112, 0.0979957655, -0.8106245399, 0.4145640433, -0.3778276145, -0.3353182673, -0.2174741775, 0.3120657206, -0.1395222098, -0.2001226097, -0.5834143162, 0.8905005455, 0.298257947, -0.0650056452, 0.5100725293, -0.0060295961, -0.4065012634, 0.3917128742, -0.91873312, 0.5074807405, 0.1253566295, 0.1632883847, -1.0890198946, -0.0745143369, 0.1720093936, -0.3287445903, 0.1949240565, -0.2558966577, -0.5866001248, -0.2610118985, -0.7716224194, 0.0526560321, 0.393339783, -0.4420067668, 0.1891011745, 0.3664900362, -0.0857193395, -0.8222646713, -0.5163491964, 0.615568459, -0.7175919414, -0.7426285148, -0.0455538221, 0.0519932285, -0.6431357265, -0.4944915473, -0.257258743, 0.2342900038, 0.8005738854, 0.2530124187, 0.5349358916, 0.2352779657, -0.6225453615, -0.1868249178, 0.2707749307, 0.5137543082, 0.1261796653, 0.6681491733, -0.1258475184, -0.3801545203, -0.2802091241, 0.0555349402, 0.7611441016, -0.2858885229, 0.7080933452, 0.2427194417, -0.0830954239, 0.154815957, -0.7974647284, -0.0747932866, -0.4546166062, 0.3496997952, -0.1916245818, -1.0429509878, 0.5306999087, -0.1777185202, 0.2374197096, -0.1226487458, 0.3359367549, -0.0639617071, 0.7571533322, 0.3788049221, -0.5062249899, 0.4647374153, 0.0578856729, 0.2686671317, -0.8569914103, -0.1942830086, -0.6053111553, -0.1377327144, -0.5892960429, -0.188332662, 0.1674588919, 0.4643309414, -0.324593991, 0.5048307776, -0.1869214773, 0.500069201, -0.0393941253, 0.1168712601, 0.2882218361, -0.186820671, 0.0186803434, 0.1060499698, -0.2374638617, -0.5440174937, 1.2831323147, 0.5758277774, 1.0343466997, 0.2256484479, 0.8831962943, 0.430714041, 0.4319132566, -0.7202308178, 0.6569391489, -0.0372827426, -0.5270274282, -0.0973804966, -0.3289186954, -0.8486196399, 0.2271738946, 0.0375528075, -1.2397259474, -0.1168173924, 0.0289753936, -0.3298713863, 0.425096035, -0.6946746707, 0.7875467539, -0.5671996474, -0.4407487512, -0.1541968882, -0.7569741607, 0.7241003513, -0.3733788431, 0.5171012878, -0.2521072626, 0.1214951351, 0.7454994321, -0.5017210245, 0.978012979, -0.386456728, -0.0979112536, 0.2264760137, 0.2686100006, 0.7416729927, 0.2120157033, 0.1135114506, 0.1124545559, -0.088381879, -0.3260757327, -0.3554232121, 0.6918646693, -0.6581860185, -0.8170337081, -0.301458925, -0.3652559519, -0.3727102578, -0.0059289872, 0.0869375095, 0.1699161083, -0.2361617833, 0.0288164131, 0.7186732888, -0.4454089403, 0.4043482542, 0.4756076634, -0.3140271604, -0.4997246563, 0.5021603703, -0.0367287658, 0.5373408794, -0.0505314171, 0.2046669722, -0.1517328918, -0.8181869984, -0.4162804186, 0.1577432156, -0.4082885683, -0.4079589844, -0.3691724241, -0.2861573696, -0.2874665558, -0.4089492857, -0.2911986411, -0.1168263629, 0.2174098641, -0.4429403543, 0.4790970683, 0.6596389413, 0.0903495252, 0.338460952, -0.7739133239, 0.2450318038, 0.0691277981, -0.0779413581, -0.0457872711, -0.4033248723, 0.1006768346, -0.2864789665, -0.2662543654, -1.277263999, 0.1257845163, -0.2418604791, 0.4186758399, 0.3047533333, 0.0710874349, 0.6205914021, -0.5225136876, 0.7390125394, 0.4537616372, -0.9918076396, 0.8199427724, -0.1890308261, -0.2245658487, 0.7473515272, 0.1504788399, -0.3805653751, -0.6283808351, -0.5255360603, -0.9578188062, 0.3361981809, 0.0105377883, 0.2991645336, -0.013696217, 0.4206052423, -0.1494722366, 0.1485332698, -0.6916973591, -0.3890844285, 0.1169843003, 0.1489723027, 0.041098047, -0.2716315687, -0.2361789197, -0.0793474689, 0.1101215705, 0.3685374558, -0.0848930329, 0.045998387, -0.3451507986, 0.2140348405, 0.6651391387, 0.5790167451, 0.5806206465, -0.2626448274, 0.0487231314, 0.2573712766, -0.899128139, 0.5910176635, 0.0058259806, -0.2512383759, -0.3195045888, 0.2929288149, 0.536151588, 0.0630737022, -0.9647160769, 0.6378929019, 0.001499558, -0.024888264, -0.3671605289, 0.1736933142, -0.0764576718, 0.3126946986, 0.0766031966, -0.1028035581, 0.0067289779, -0.563506484, 0.0788667873, 0.7540947795, -0.3872559965, -0.1119099334, 0.4833563268, -0.0031424696, -0.2284128219, 0.6372343302, -0.0708316714, -0.3999070525, 0.797967732, 0.7095289826, 0.8381352425, -0.2368040979, 0.070851557, 0.0923060849, 0.9719775915, 0.0297318809, 0.126036644, 0.1046295166, -0.6605712175, -0.5070755482, -0.3929411471, -0.6033056974, 0.2921277285, -0.7801592946, 0.0082567893, -0.8629389405, -0.2868012786, -0.2219145149, 0.029725777, -0.1921824068, -0.2529056072, 0.2275732607, 1.4121729136, -0.7329115272, 0.6236043572, 0.6315538287, -0.0393017903, -0.679451406, -0.0715490878, 0.3277757168, -0.8591193557, 0.4088068902, 0.3813250363, -0.0680274442, -0.3698282242, -0.8171815872, -0.5193247199, 0.9636181593, 0.3328329027, -0.823587358, 0.084841311, 0.1173752397, 0.0769121647, -0.0523067005, 0.0581865348, 1.1198288202, 0.5776750445, -0.257627964, -0.8112882376, 0.2698830664, -0.0200982392, -0.1253192127, 0.5130347013, -0.5610061884, 0.4100865722, -0.4892908037, 0.2282586992, 0.1796726733, 0.1811887771, 0.7634871602, 0.4117940664, 0.4582872093, 0.52575773, 0.4856930077, -0.0972359851, 0.9062469006, -0.2775257826, 0.1740967184, 0.7828856707, -0.4719679952, 0.6709947586, 0.6860554218, -0.2297982574, 0.1160072833, 0.4191981554, -0.2874700725, 0.4709398448, 0.7795492411, -0.1390244812, 0.140341714, 0.1934797019, -0.1425262988, 0.2592615485, 0.5264142752, -0.1413633078, -0.2403859198, 0.3822504878, 0.7700207829, -0.0569015034, -0.4795886874, 0.7623124123, 0.2582097054, -0.3828583956, 0.486558795, 0.3120408952, 0.8470848799, -0.6880531311, 0.3348713219, -0.4223828912, -0.1056491807, -0.2363066375, -0.8458583355, 0.078757979, 0.6507335305, 0.3051815033, 0.1056327, 0.8060654402, 0.3129844069, -0.0663516223, 0.5413760543, 0.3700211346, 0.1355257332, -0.0504934639, -0.6345674992, 0.5489984751, -0.0154589312, -0.3898333013, 0.7244094014, -0.1824135482, 0.0173462965, 0.5188342333, 0.4898557961, 0.3366144001, 0.2953642309, -0.0791167542, 0.8403104544, -0.8716791868, -0.0970015675, -1.3313343525, 0.2933096886, -0.3088555932, -0.1515752375, 0.8969217539, 0.3033464253, 0.5926042199, 0.3942634761, 0.7565291524, -0.2344733626, -0.0149325375, -0.6643514633, 0.553432703, -0.1615426689, 0.722420752, -0.6179788709, -0.6635335088, -0.1015253887, 0.368336916, -0.5281754136, -0.1963512152, 0.4446169734, 0.6647312641, 0.3418197334, -0.0034200347, 0.2138135433, 0.180863902, 0.5108669996, 0.4923051298, 1.2177096605, -0.2355109751, 0.3912516534, -0.1876746714, -0.400988847, -0.0632020384, -0.7966378927, -1.1199017763, 0.176663667, -0.0740201697, -0.5725314021, 0.4085591435, 0.7283895016, 0.2542870045, -0.5356557369, -0.3837991953, 0.1000200063, 0.1212249249, -0.0875816867, -0.1826910079, 0.0956853926, -0.266051203, -0.1254519969, 0.7503532767, 0.4259069264, -0.1619705707, -0.3207424283, 0.1852468848, 0.1054861471, 0.1540815681, 0.6099382043, 0.3177105188, -0.5683653951, -0.152580142, 0.1081348434, -0.2881139517, -0.0304770153, 0.8493879437, -0.33956182, 0.052060198, 0.1954580545, 0.8047186732, 0.2064996362, 0.0710736811, 0.2055266201, -0.5166873336, 0.0491231531, 0.1588482857, 0.5129347444, 0.1599714905, -0.3009970188, 0.4194574058, 0.0290190969, -0.5201346874, -1.1189385653, 0.2674246132, -0.8008568883, -0.3541964293, 1.0512635708, -0.3790674806, -0.2429177314, -0.0964671299, -0.1262618005, -0.3712243736, -0.2595833242, 0.7324701548, 0.7036156058, -0.0187119693, -0.0311861634, -0.8653821945, 0.0894607455, 0.1494416595, -1.0188336372, 0.2644872665, 0.4722231627, 0.4483415782, 0.0567474365, 0.3695787787, -0.6345422268, 0.2875046134, -0.3225377798, -0.2941676974, -0.0620046519, -0.2741759121, -0.5036650896, 0.276571095, 0.3551726937, 0.1218645796 ]
http://arxiv.org/abs/2402.14579v1
http://arxiv.org/pdf/2402.14579v1
Text Role Classification in Scientific Charts Using Multimodal Transformers
2024-02-08T13:21:44
2024-02-08T13:21:44
Hye Jin Kim, Nicolas Lell, Ansgar Scherp
cs.CV
cs.CV, cs.CL, cs.LG
Text role classification involves classifying the semantic role of textual elements within scientific charts. For this task, we propose to finetune two pretrained multimodal document layout analysis models, LayoutLMv3 and UDOP, on chart datasets. The transformers utilize the three modalities of text, image, and layout as input. We further investigate whether data augmentation and balancing methods help the performance of the models. The models are evaluated on various chart datasets, and results show that LayoutLMv3 outperforms UDOP in all experiments. LayoutLMv3 achieves the highest F1-macro score of 82.87 on the ICPR22 test dataset, beating the best-performing model from the ICPR22 CHART-Infographics challenge. Moreover, the robustness of the models is tested on a synthetic noisy dataset ICPR22-N. Finally, the generalizability of the models is evaluated on three chart datasets, CHIME-R, DeGruyter, and EconBiz, for which we added labels for the text roles. Findings indicate that even in cases where there is limited training data, transformers can be used with the help of data augmentation and balancing methods. The source code and datasets are available on GitHub under https://github.com/hjkimk/text-role-classification
[ -0.1622060686, -0.1596681625, 0.4178310633, 0.2643393874, -0.2726274133, 0.1401187479, -0.0584421046, -0.6895554066, -0.1223866045, 0.8220017552, -0.2817310095, -0.7334874272, -0.7154379487, 0.4757961035, -0.4106814265, 1.1727061272, -0.17849949, 0.228417173, -0.5886567235, -0.124577567, -0.4974478781, -0.3801622987, -0.1512549967, -0.2004219294, 0.6673436165, 0.4922385514, 0.7179777622, 0.6211019158, 0.5591521859, 0.436549902, 0.2514750957, 0.3929152191, -0.2243181914, 0.392909497, 0.2425247878, -0.4164801836, -0.567291081, 0.3832143247, 0.5601469278, 0.5718083978, 0.3102070093, -0.1145385131, -0.0159693621, 0.230966717, -0.4063495994, 0.946515739, -0.2303029746, 0.1071079299, -0.2284583151, -0.5795968175, -0.909060359, -0.0918625966, 0.2749921381, -1.1053138971, 0.2859082818, 0.2940239906, 0.6465594769, 0.1931737661, -0.9910649657, -0.4935815632, -0.665132761, 0.968501389, -0.4172811806, 0.5153883696, 0.3694844842, 0.2416797727, 0.2661103308, -0.978007257, -0.4035970867, -0.1192899197, -0.5992284417, 0.5348379612, -0.0503560826, 0.2473567873, 0.3000276387, 0.1135211065, -0.6071360111, 0.3809054494, -0.7639833093, -0.299587965, 0.6304862499, 0.1642333567, 0.4316218197, -0.6239943504, -0.4027311504, -0.5422124267, -0.0370234251, 0.0852674693, 0.3434140682, 0.2611044943, -0.1646582484, 0.7630195022, 0.3236174285, 0.6685869694, -0.2177034318, -0.3514425457, 0.1964248866, -0.4043803215, -0.1489609927, 0.1589267105, 0.7525666356, 0.3889293671, 0.1224129349, 0.1778528988, -0.0410479978, -0.0770244673, 0.6514303684, -0.7280956507, -0.2954154909, -0.1406785548, -0.43987602, -0.4833354652, 0.3135491312, -0.6991669536, -0.6118892431, -0.4810746312, 0.2008463442, -0.4564309418, 0.1611604095, -0.1192757264, -0.2906711996, -0.193978399, 0.5749253631, -0.782875061, 0.1626316756, 0.5629959702, 0.8592995405, -0.1831379831, -0.2740717232, -0.3461475968, 0.4300349951, -0.1632301807, 0.8201473951, -0.5237013102, -0.5171300173, -0.2343239039, 0.1027396619, -0.5198143125, -0.1295698583, 0.8167073131, -0.564012289, 0.7066508532, 0.1418367773, -0.6103319526, -0.3201862872, 0.1276407987, -1.1822246313, 0.7855311036, 0.1568227559, -1.0815634727, 0.5709533095, -0.832367897, -0.450040102, 0.0625095963, -0.2918518782, -0.5800340176, -0.3316731155, 0.2431596518, 0.6092351675, -0.0069036698, -0.056093514, -0.1859933287, -0.0868964121, 0.3190484047, -0.3690936565, 0.5242397785, 0.2551044822, -0.0371981412, 0.3269598782, -0.7459819317, -0.103286922, -0.246829018, -0.2660029829, -0.6431379318, 0.1467850655, 0.6604655981, 0.1738813519, -0.1819120347, -0.3592566252, 0.5358948708, -0.1893229634, 0.344173342, 0.5692018867, -0.1017053276, 0.5015850067, -0.0857055038, 0.5774060488, -0.0714030191, 0.1764820367, -0.1755785197, -0.6939572692, -0.3492898643, -0.6773594022, 0.567789495, 0.5407966375, -0.7311676145, 0.4598014653, -0.6134490967, -0.6429030299, -0.044577904, 0.0930613801, 0.0938810334, 0.666936934, 0.5796481371, -0.2534390688, -0.55685848, -0.7586991191, 0.2011126578, -0.1841935217, -0.0208335426, -0.0221404992, 0.3108080626, -0.4267038703, 0.8013595939, -0.5385688543, -0.5405936241, -0.3646198213, 0.5652633905, -0.0897873193, 0.2866981626, 0.8165986538, -1.0981395245, -0.4514094293, 0.1634664685, -0.7374584675, -0.3606939614, -0.1449379623, 0.0678430051, 0.1186510473, 0.6268634796, -0.7568938732, 0.5491205454, 0.6895953417, -0.4705725908, 0.3692914248, -0.1971776783, 0.2193683684, -0.9924277663, 0.0571504273, 0.1869423985, -0.2758800983, -0.8145417571, -0.2698992193, 0.2368098646, -0.3036650717, 0.0538540892, 0.470286876, -0.3582785428, -0.0248869266, -0.3178980947, -0.0023894492, 0.3352477551, 0.0174464267, 0.1451729834, 0.5129441023, 0.2420749664, -0.421382308, 0.1344249994, 0.4350795746, -0.3997634053, 0.3580287397, -0.3199672401, -0.2764419317, -0.1551335156, 0.7011271715, -1.3697232008, -0.4166411757, 0.0301815812, -0.3133603632, 0.5904389024, -0.0401175916, -0.7646966577, -0.3202682436, -0.3460259438, 0.3597153425, 0.015251467, -0.2307338715, 0.7139596343, 0.1765446365, -0.2568871379, -0.5773236156, -0.4974699914, -0.3501398265, -0.2912304699, -0.797038734, 0.6319952011, 0.1911123395, 0.0275306217, -0.2108098567, -0.3622365892, -0.0899602845, -0.0729484111, 0.4279232025, 0.5554491878, 0.1643163115, 0.2483456582, 0.102528736, -0.4276266992, -0.2170017213, 0.0098640658, 0.3989487886, 0.1095600352, -0.4077542722, -0.3913053572, 0.1245093867, 0.9824410081, -0.1349624991, 0.4835719764, 0.8511123657, -0.0661302954, 0.2294176221, -0.2395868152, -0.0013670763, -0.4445947707, 0.3608715236, 0.1232578903, -0.537770927, 0.3246402442, 0.276402235, 0.3393341601, 0.6526412964, 0.1925318241, -0.4269978106, 1.2770026922, 0.7058200836, 0.1292786151, 0.4915022254, -0.4284288883, 0.1424716711, -0.5543453097, -0.2331870943, -0.55777812, -0.4242413938, -0.6645051837, -0.5142354965, 0.7430287004, 0.0243819281, -0.0834385976, 0.2534562051, -0.5507977009, 0.0723716095, 0.3239841759, -0.1286664903, 0.4290075898, 0.1401272118, 0.1084158272, -0.3648538589, -0.5092044473, -0.7402925491, 1.0665783882, 0.3154737949, 0.9029160738, -0.0699838698, 0.351556778, 0.3608327806, 0.5274883509, -0.7763544321, 0.2417459041, -0.2772975564, -0.456677258, -0.4454960525, -0.3491897285, -1.0121661425, 0.4257744551, -0.3886554837, -0.3433281481, 0.1727666557, 0.0997985601, -0.0467090867, 0.1017845869, -1.0982766151, 0.9314193726, -0.5175147653, 0.0551718138, -0.0958755463, -0.6157646179, 0.0866658837, -0.1146886721, 0.5442771316, 0.1627045125, 0.0165704358, 0.8249441385, -0.2413516939, 1.0054302216, -0.2302349061, -0.1621571183, 0.022653129, -0.0841054842, 0.2525803447, 0.1777449399, -0.0896651968, -0.0994370654, 0.3966681957, -0.3250891566, -0.6479756236, 0.5850337148, -1.0737556219, -0.2494644225, -0.6157755256, -0.6624820828, -0.2140085995, 0.4000296295, 0.3182806373, 0.3847746849, 0.1668385118, 0.6996105909, 0.2645103335, -0.0301012788, 0.2908812761, 0.3395512104, -0.249033317, -0.3460424244, 0.6490406394, 0.2538684607, 0.1586586833, 0.4484180808, 0.0989760682, -0.5316668749, -0.3815387487, -0.143125236, -0.0462605357, -0.9426252246, -0.4248951674, -0.7766085863, -0.32306391, -0.5350526571, -0.0846130922, -0.0073222225, -0.5375310183, -0.5676085949, -0.2939612567, 0.5096824765, 0.5426880121, 0.1734420955, 0.4930476844, -0.8187946081, 0.2592589557, 0.3097740114, 0.1811612099, -0.1318101585, -0.2111387104, -0.2634399235, -0.2208583057, -0.9235205054, -0.9284428954, 0.3954975605, 0.0858425424, 0.6591624618, 0.5080881119, -0.1333466917, 0.520414114, -0.2595214844, 0.5148360133, 0.2977685332, -0.8174598813, 0.1403272301, -0.4323559701, 0.0689052269, 0.388555795, 0.4873299301, -0.5583667159, -0.3962079883, -0.2914324701, -0.830272615, 0.8889769316, 0.4740476012, -0.1077171043, 0.3082225621, 0.0210311264, 0.308586508, 0.0962552652, -1.0880182981, 0.1213520095, -0.7664419413, -0.5473374724, -0.2441366762, 0.0632949397, -0.1348989308, -0.6246106625, 0.3266102672, -0.4517781734, 0.0962473378, 0.2588587701, -0.3151918352, -0.1106133163, 0.3540735245, 0.6909270883, 0.7565871477, -0.101915203, 0.2671789527, -0.1935792118, -0.7451479435, -0.0242459141, 0.4601870775, 0.0437515154, -0.0868945643, 0.9548014402, 0.815595448, 0.5000768304, -0.5410030484, 0.3851704001, -0.0513667092, -0.1807644069, -0.1160983071, 0.1583009958, -0.091154553, 0.0985244215, 0.4754284918, 0.1214469299, 0.2020148635, -0.3392840028, 0.0710130706, 0.1932484359, -0.3911874592, -0.4025896788, 0.5753182173, 0.081652455, 0.1324429363, 0.5776491165, 0.2865467966, -0.4199889898, 0.673227489, 0.4396183789, 0.378715992, -0.1753564775, 0.5637207031, 0.0025649935, 0.3054650426, 0.2265252918, -0.0534119084, 0.2161292434, -0.5897903442, -0.5781770945, -0.3659926653, -0.4733063877, 0.2054122537, -0.536290586, 0.5402729511, -0.207150504, -0.224146232, 0.5630204678, 0.0123551041, -0.6735646725, 0.1617279947, 0.1195278764, 0.5172381997, -0.8679745793, 0.6179495454, 0.9935677648, -0.2297103256, -0.33144328, -0.1188417375, 0.1192496642, -0.4113953412, 0.7846513391, 0.5294189453, 0.0876950622, -0.073972255, -0.6199859977, -0.7008296847, 1.4339356422, -0.07830026, -0.1700078994, -0.2206814587, 0.1723862737, 0.8592419624, -0.4145127237, 0.5059440136, -0.0246750675, 0.8067641258, -0.0675995126, -0.9336935282, -0.2970592082, -0.2217423469, -0.1326106191, -0.0206896551, -0.4387827516, 0.8904508948, 0.22282435, -0.2178585976, -0.1153195128, 0.5883201361, 0.3622535467, 0.4332954586, 0.7571348548, 0.1349768192, 0.7554953694, -0.1447035372, 1.0963944197, -0.1218636855, 0.4073459208, 0.6660165787, -0.4271383584, 0.2659412622, 0.3506600559, 0.145317629, 0.7108553052, 0.5632523894, -0.2214338928, 0.5529314876, -0.2211441398, 0.2584299445, -0.1972811818, 0.2050528228, -0.3494594097, 0.6269074082, 0.5107972026, -0.4649101496, -0.3088762164, 0.3155467212, -0.2170825899, -0.0380373597, -0.0151770599, 0.4811941385, -0.0546140708, -0.2920175195, 0.1365634054, 0.2078086287, 0.3602561653, -0.6496523023, 0.0070834523, 0.0770553797, 0.1882915497, -0.3470941186, -0.8659960032, 0.1602786481, -0.1508281678, -0.4409528375, -0.5519160628, 0.7412071228, -0.2688370347, -0.6094928384, 0.1659064889, 0.1549414694, -0.3729191422, 0.2336972058, -0.4460187256, -0.0241137408, -0.2377570271, -0.1240038723, 0.2604931891, 0.3290880919, -0.6311366558, 0.6101117134, 0.5512410402, -0.3587685525, 0.0489685573, 0.1702495366, 0.7119283676, -0.5291184187, -0.6732975841, -0.3763872385, 0.4975417256, -0.3748743832, -0.1444950998, 1.002850771, 0.8091566563, 0.6599538922, -0.3291957378, 0.7498366833, 0.0802164823, 0.3682075441, -0.5641362667, 0.8722833395, -0.5151950717, 0.1032234728, -0.7142888904, -0.7653722167, -0.5659866333, 0.4992871583, -0.483243227, -0.1166904718, 0.7376499176, 0.2926744819, -0.5032394528, 0.3927389681, -0.1396674365, 0.0044549238, 0.683529079, -0.0671121702, 0.8965712786, -0.3030532002, 0.6314801574, -0.3343249261, -0.1870186627, -0.3082334995, -0.695686996, -0.9271255732, -0.7560132742, -0.2597224414, 0.017543193, -0.7882507443, 0.6914785504, 0.9328365922, -0.6813501716, -0.2149576545, 0.1932639033, 0.0907273293, -0.1878073066, -0.3163576722, 0.4665846229, -0.2346153408, -0.6770545244, 0.3244543672, 0.2432284504, 0.349901408, -0.0828535631, 0.1142908409, -0.0297121666, -0.1959928572, 0.8658704758, 0.0884507746, -0.5983410478, -0.2188498974, 0.1219232008, -0.2064612061, 0.0562519319, 1.1670657396, -0.3181610703, 0.6502232552, 0.6410693526, 0.2295094728, 0.5878486633, 0.2272796929, 0.3784651756, -1.0229959488, 0.3527680933, 0.2739706039, 0.3026516736, 0.2468574792, -0.4194323123, 0.3797565103, 0.1692299545, -0.5012781024, -0.9185448289, -0.1146191806, -1.3185863495, -0.2489832342, 0.8810767531, 0.2535537779, 0.1168377399, -0.2148181796, -0.4363835156, 0.3737799525, -0.10800495, 0.7303969264, 0.9101646543, -0.4297351539, -0.1593170464, -0.6900106072, 0.440096736, 0.0601916201, -1.0403914452, -0.0399658084, 0.721136272, 0.0627584085, 0.7319168448, 0.3723197877, -0.265758872, 0.0739429146, -0.4988029301, 0.0256650113, -0.1346444637, -0.5125879049, 0.1912513524, 0.1562464833, -0.200208649, 0.1717388332 ]
http://arxiv.org/abs/2402.10943v1
http://arxiv.org/pdf/2402.10943v1
Advances and Limitations in Open Source Arabic-Script OCR: A Case Study
2024-02-08T12:51:36
2024-02-08T12:51:36
Benjamin Kiessling, Gennady Kurin, Matthew Thomas Miller, Kader Smail
cs.CL
cs.CL, cs.CV
This work presents an accuracy study of the open source OCR engine, Kraken, on the leading Arabic scholarly journal, al-Abhath. In contrast with other commercially available OCR engines, Kraken is shown to be capable of producing highly accurate Arabic-script OCR. The study also assesses the relative accuracy of typeface-specific and generalized models on the al-Abhath data and provides a microanalysis of the ``error instances'' and the contextual features that may have contributed to OCR misrecognition. Building on this analysis, the paper argues that Arabic-script OCR can be significantly improved through (1) a more systematic approach to training data production, and (2) the development of key technological components, especially multi-language models and improved line segmentation and layout analysis. Cet article pr{\'e}sente une {\'e}tude d'exactitude du moteur ROC open source, Krakan, sur la revue acad{\'e}mique arabe de premier rang, al-Abhath. Contrairement {\`a} d'autres moteurs ROC disponibles sur le march{\'e}, Kraken se r{\'e}v{\`e}le {\^e}tre capable de produire de la ROC extr{\^e}mement exacte de l'{\'e}criture arabe. L'{\'e}tude {\'e}value aussi l'exactitude relative des mod{\`e}les sp{\'e}cifiquement configur{\'e}s {\`a} des polices et celle des mod{\`e}les g{\'e}n{\'e}ralis{\'e}s sur les donn{\'e}es d'al-Abhath et fournit une microanalyse des "occurrences d'erreurs", ainsi qu'une microanalyse des {\'e}l{\'e}ments contextuels qui pourraient avoir contribu{\'e} {\`a} la m{\'e}reconnaissance ROC. S'appuyant sur cette analyse, cet article fait valoir que la ROC de l'{\'e}criture arabe peut {\^e}tre consid{\'e}rablement am{\'e}lior{\'e}e gr{\^a}ce {\`a} (1) une approche plus syst{\'e}matique d'entra{\^i}nement de la production de donn{\'e}es et (2) gr{\^a}ce au d{\'e}veloppement de composants technologiques fondamentaux, notammentl'am{\'e}lioration des mod{\`e}les multilingues, de la segmentation de ligne et de l'analyse de la mise en page.
[ -0.3746953309, -0.4843450487, 0.5496076345, -0.2410755306, -0.1575532109, 0.2238550186, -0.2908537686, -0.8003879189, 0.3513053954, 0.3714767992, -0.0736109838, -0.8823920488, -0.509079814, 0.1226938739, -0.4600691199, 0.9029265046, -0.4802120924, 0.1003399193, 0.4832717776, -0.7806046605, -0.3139028549, -0.5063915849, -0.5033288598, 0.3738549352, 0.5984811783, 0.566511631, 0.7488928437, 0.7618466616, 0.688863337, 0.2724006772, 0.1405631453, 0.176653564, -0.2057963908, 0.1134869978, -0.0221406948, -0.2522366643, -0.2987653017, -0.0879559368, 0.6375139356, 0.4347490072, 0.0318545401, 0.1936533749, -0.0469781794, 0.8697271347, -0.841717422, 0.0955491364, -0.214163661, -0.2205971479, -0.2329512537, 0.2247089595, -0.3132231534, -0.6494457722, -0.0111475447, -0.5735225677, 0.3021364212, -0.0352289453, 1.1001466513, 0.1298125982, -0.1624399871, -0.8869571686, -0.9287517071, 0.9963525534, -0.592233181, 0.3492266238, 0.3519968987, 0.7218883634, -0.0362909324, -0.9483946562, -0.7123171091, -0.2826110423, 0.1298208088, 0.2137861699, -0.1204693615, -0.2548020184, 0.1133936718, 0.4867060781, -0.3340989351, -0.0057464666, -0.4489079714, -0.4023534954, 0.4908863306, 0.0184750352, 0.2986218035, 0.2830529213, -0.071421355, -0.4345175624, -0.5280153155, 0.2264820784, 0.4761009812, 0.2065788209, -0.1654779166, 0.899456203, -0.1225775629, 0.4599475265, -0.2785834372, -0.1267609149, 0.2956646085, -0.3484928906, 0.0233879201, 0.403323859, 0.7214916348, 0.4646130204, 0.3243415952, 0.2691933215, -0.1697059274, 0.163807556, 0.4647550881, -0.903061986, -0.3040534854, 0.3747190833, -0.4917130172, -0.2104006559, 0.489906162, -0.8470191956, -0.185051769, 0.0521324575, 0.396199137, -0.5673443079, -0.0851177871, 0.1166629791, -0.2378718257, 0.275282681, 0.6227180958, -0.5255707502, -0.0779396594, 0.3160851896, 1.1026991606, 0.2415294945, -0.2388281226, -0.3243053257, 0.0387335904, -0.5882505178, 0.7674997449, -0.4835647941, -0.4358194172, 0.2093297839, -0.021395741, 0.0473146737, -0.2842290401, 0.820227921, -0.6926954389, 0.0538620129, -0.144932732, -0.3613861501, -0.6082623601, -0.0622880496, -0.7880119681, 0.9893954992, 0.0754466802, -0.8779867291, 0.386259824, -0.8345544934, -0.2548485398, -0.0304133072, -0.5696219206, -0.5302317142, -0.1350473911, 0.2990735173, -0.041433651, -0.1573661864, -0.3834445179, -0.284576267, -0.4378223419, 0.4351679385, -0.2288024127, 0.8630684614, 0.4290638566, -0.4971709847, -0.072831504, -0.9350953102, 0.1186702773, 0.160889253, -0.4916658998, -0.3760997057, -0.0232414231, 0.1276154667, -0.0535736829, 0.3912439346, -1.0699834824, 0.1580545753, -0.3478218615, 0.3967407644, 0.5728068352, 0.1371675134, 0.3682428002, -0.5926367044, 0.2891279459, -0.1848871857, 0.1152084246, -0.180289641, -0.5859286189, -0.6485191584, -0.5293963552, 0.6062545776, 0.6962653399, -0.8124072552, 0.4742152691, -0.3231571019, -0.8908333778, -0.7918112278, -0.1841387898, 0.3955694437, 0.274341315, 0.4408374131, -0.5429404378, -0.4416920841, -0.8851071596, -0.5332188606, -0.0795646906, -0.0006336353, 0.321555078, 0.7026562095, -0.1547632068, 0.9870877266, -0.4777801931, -0.439111352, -0.0567199364, 0.1239640564, 0.3962139785, 0.676841855, 0.9203386903, -0.7042184472, -0.9407280684, 0.3926016986, -0.6965138912, -0.027099641, 0.3897250593, -0.0917386487, 0.5652435422, 0.3482189775, -0.342163682, 1.0160330534, 0.3263579011, -0.1449689269, 0.6884302497, -0.4097489119, 0.5454851389, -0.9417414069, 0.2705107927, -0.050491441, 0.0708389357, -0.6437629461, 0.3654685318, 0.16991207, 0.0500500798, -0.5136651993, 0.4619867504, -0.3075759411, 0.1220948324, -0.1387972534, 0.0117478026, -0.0818132609, 0.3798307478, -0.1268171519, 0.8988079429, 0.2546708286, -0.3595371246, 0.1112969071, 0.3404708803, -0.9063857198, 0.5467371941, -0.547826767, 0.1688993424, -0.2197975218, 0.03392471, -1.2224190235, -0.3721903861, 0.7029004097, -0.6399093866, 0.0443256944, -0.0765728429, -0.4680784941, -0.1799713671, -0.3423169553, 0.6800068617, 0.571274817, -0.3595798612, 0.5641387701, 0.2022996396, -0.2100450695, -0.8046060205, -0.8619773984, -0.0369628333, 0.0813199058, -0.60874933, -0.0487305708, -0.046602305, -0.445612371, 0.1835250109, -0.1714325994, -0.4082277417, -0.1919594258, 0.1635867208, 0.2515100539, -0.4019548297, -0.1596809179, 0.1715951711, -0.0012549327, -0.2116642296, -0.1417037994, 0.4674445987, 0.1012235135, -0.7274698019, -0.5414307714, 0.4302760959, 0.8359234929, -0.3130466342, 0.7435173988, 0.8207541704, -0.2522772551, 0.0857263505, -0.7445735931, 0.1473349631, -0.492736727, 0.2613590062, -0.3133429289, -0.8285862803, 0.7494445443, 0.3019970953, 0.3730093241, 1.0448362827, 0.3347536027, -0.1892312318, 1.1006934643, 0.3747089803, -0.0787142962, 0.4786507189, -0.4648192823, 0.238966018, -0.5073096156, -0.3400588334, -1.0925931931, -0.3282039165, -0.5473807454, -0.3641594052, 0.5890610218, -0.0853718594, -0.342435807, 0.0665945038, -0.5006600022, 0.6003082991, 0.6377360821, 0.2478558719, 0.2606879771, 0.3564915955, -0.2913320363, -0.1065862924, -0.7140001059, -0.6794649363, 1.2311593294, 0.3971062005, 0.7141343355, 0.3577893078, 0.531527102, 0.6354623437, 0.1360468417, -0.7469807267, 0.3205406368, -0.1951619983, -0.6216709614, -0.4972886443, -0.2305601686, -1.0129121542, 0.0645555481, 0.0234048627, -0.8141414523, 0.5841721296, -0.1245941222, -0.4371044338, 0.4759311676, -0.5193920135, 0.8739823699, -0.0153898206, -0.2858181, -0.3670237362, -0.6218317747, -0.0078594219, -0.1195949763, 0.5346367955, -0.0243167896, -0.1239585355, 0.8026576042, -0.8431581259, 0.7432466149, -0.3365975022, -0.166827932, 0.8612191677, 0.3049185872, 0.5824775696, -0.2942153513, -0.2038669586, 0.4962635636, 0.1089884266, -0.6582974792, -0.3143462539, 0.5662787557, -0.9947116375, -0.1869095117, -0.6638561487, -0.3994241953, 0.4247663617, 0.4288577735, 0.4096518755, 0.8555386662, -0.2858717144, 0.1812017858, 0.2310420722, -0.2980057895, 0.4558808208, 0.5633261204, -0.2433823049, -0.7229204774, 0.9831790924, 0.395881176, 0.044630833, 0.2580267787, -0.0670633465, -0.4467318356, -0.7330861092, -0.9374457598, 0.141089499, -1.0512865782, -0.019991124, -0.5870603323, -0.2575522065, -0.2701400816, -0.3102648854, -0.2694874704, -0.4459316134, -0.1683350652, 0.1473187208, 0.5236233473, 1.1015200615, -0.1262994111, 0.3386361301, -0.864782691, 0.0109725362, 0.0028479127, 0.2341228575, 0.0916072503, -0.5867449641, -0.7917767167, 0.4220671356, -0.2692409456, -0.8315088749, 0.2425452024, -0.0483886637, 0.3982117474, 0.2829725742, 0.1095197424, 0.3667820096, -0.3893468082, 0.9799947739, 0.0848693624, -0.9155775905, 0.3962981999, -0.3756432533, 0.2762394249, 0.9136456847, 0.6078121662, -0.4702009559, -0.4893428385, -0.472317785, -0.7625486255, 0.8770509362, 0.5071210265, -0.4229278266, 0.0332282409, 0.2920538187, 0.3124414384, 0.1600586176, -0.2024465501, -0.3628837466, -0.2915792763, -0.2760648727, -0.2561655641, -0.2552942634, 0.0165768974, -0.25872311, 0.7624374628, 0.2779623866, 0.2616943717, 0.7338941693, -0.2979545295, -0.0895458087, 0.1335255057, 0.8636847734, 0.6580690742, -0.5019947886, 0.0422972776, 0.2043758333, -0.9365745187, 0.3256431818, -0.0812790245, -0.28608796, 0.253998071, 0.3894227147, 0.4496053457, -0.0847246721, -0.6122291684, 0.6416350007, 0.0382246785, -0.4017024934, -0.6937167048, -0.1673585474, -0.6095628142, 0.3470931351, 0.5752817988, 0.3960138857, 0.1692836583, -0.4036900103, -0.0581061691, 0.2278129458, -0.4233794808, -0.0635613874, 0.6647434831, -0.0148116639, -0.3946768939, 0.5255648494, -0.3635658026, -0.4711734951, 0.7144911289, 0.2804300487, 0.7822633386, -0.5018835664, 0.0868109763, 0.6721999049, 0.519274056, -0.0192188919, 0.5750306249, 0.0456343293, -0.7124339342, -0.5105420947, -0.545230031, -0.6269020438, -0.0231672879, -0.6678669453, 0.1356179714, -0.5334974527, -0.0939000621, 0.0466043241, -0.1464598626, -0.6795917749, 0.052546721, -0.2353388071, 1.0582280159, -0.6025084853, 0.7043247223, 0.9127189517, -0.6103067398, -0.5400602818, -0.0511229225, -0.3445792198, -1.0322099924, 0.4906923473, 0.147570774, -0.2878569067, 0.0059349411, -0.4574888051, -1.0259034634, 0.9797255993, 0.0720876604, -0.6263952851, 0.2447255254, 0.2920013964, 0.4700041115, -0.2302488685, 0.3575309217, 0.4367185533, 0.7702068686, -0.0186143648, -1.1321940422, 0.2541512847, -0.2338637114, -0.1857321858, 0.4889600575, -0.6505630016, 0.9438455701, -0.0868946239, -0.4853072762, 0.399554342, 0.435385704, -0.3285855353, 0.4395494759, 0.3452317715, 0.6392928362, 0.4888356924, 0.0562605597, 1.034250617, -0.4493985176, 0.3060125411, 0.7512819767, -0.1790309995, 0.9408977032, 0.2399621755, -0.3267459869, 0.9896619916, 0.3121771812, 0.0656917393, 0.5385554433, -0.078946501, -0.5070443153, 0.0928335562, -0.0365131609, -0.4571871758, 0.524915874, 0.3641844392, -0.4513067305, -0.3016492724, -0.0700236484, -0.1041966826, 0.1210806072, -0.5331030488, 0.6105993986, -0.0921833292, -0.4112722278, 0.6816270947, 0.2418545485, 0.1680661738, -0.5833191276, 0.0325129591, 0.0558787286, 0.262324512, -0.2274538279, -0.6785027385, 0.3599682748, 0.0029794977, -0.0007302013, 0.3083561361, 0.8304044604, -0.2921032608, -0.5451394916, 0.1522913724, 0.5463647842, 0.4938570857, -0.1862924695, -0.4115894437, 0.3962463737, 0.0635836869, 0.0267295782, 0.1333552599, 0.2395792454, 0.0773570314, 0.1349001527, 0.5573067665, 0.0952862799, -0.0223871227, -0.2401772738, 0.6854060888, -0.6840173602, -0.5337765217, -0.8999606371, 0.5767616034, -0.0243331157, -0.0858077109, 0.7913182974, 0.7916889787, 0.9037446976, -0.1836257279, 1.1130512953, -0.0209090896, 0.59926337, -0.4204845726, 0.7080938816, -0.5089088678, -0.1684304923, -0.1703507453, -1.0772525072, -0.3077685833, 0.8239377737, -0.458045423, -0.0241053309, 0.8428077102, 0.8249848485, -0.1411243081, 0.2162622064, 0.1128850803, 0.2542795539, 0.2293560505, 0.3115748167, 1.0119793415, -0.6028975248, 0.7223709226, -0.4089432657, -0.3121374249, -0.5562397242, -0.7419437766, -0.8678926229, -0.5769077539, -0.2165616304, -0.6102249622, 0.04837, 1.075840354, 0.1488387138, -1.0948264599, -0.4275225997, -0.0207679402, -0.1107187048, -0.3296824694, -0.2404814512, 0.5434055328, -0.0230795201, -0.651181221, 0.2926030159, 0.2163011879, 0.3509294391, -0.0561066754, 0.0248463042, -0.0248634499, 0.1075446606, 0.4627616405, 0.4978919029, -0.5860049725, -0.7104594111, -0.3141682446, -0.2568406761, 0.193037197, 0.7664321065, -0.3001146019, 0.4383660555, 0.2823527753, 0.6740778089, 0.6331914067, -0.2456784993, 0.2692014277, -0.4947987199, 0.2224729955, 0.2569822669, 0.2826462686, -0.0678422824, -0.1310964972, 0.5084862113, 0.1869254112, -0.9350041151, -0.7517906427, 0.3270821869, -0.8828718662, -0.2758108675, 0.8994145989, -0.2517704964, -0.3390515149, -0.4750320315, -0.686332643, 0.3879475594, -0.8054492474, 0.814455986, 0.8060460091, 0.0529798977, 0.3224391043, -0.6404142976, 0.3461027741, 0.3466573358, -0.2560263276, -0.1990144551, 0.5838648081, 0.1449478865, 0.5354414582, 0.6691789031, -0.0728313848, 0.5640659332, 0.3470938206, 0.4828287065, -0.0352208912, -0.3077856302, -0.4171275496, 0.2113713771, 0.2960705459, -0.5494742393 ]
http://arxiv.org/abs/2402.05629v4
http://arxiv.org/pdf/2402.05629v4
Merging Facts, Crafting Fallacies: Evaluating the Contradictory Nature of Aggregated Factual Claims in Long-Form Generations
2024-02-08T12:36:29
2024-06-07T02:28:40
Cheng-Han Chiang, Hung-yi Lee
cs.CL
cs.CL
Long-form generations from large language models (LLMs) contain a mix of factual and non-factual claims, making evaluating factuality difficult. Prior works evaluate the factuality of a long paragraph by decomposing it into multiple facts, verifying those facts independently, and aggregating the results. Such methods assume that combining factual claims forms a factual paragraph. The above assumption can be violated: we show that strong open-source models like Llama-chat can generate paragraphs that contain verifiable facts, but the facts are combined into a non-factual paragraph due to entity ambiguity. We further reveal that existing factuality metrics, including FActScore and citation recall, cannot properly evaluate these non-factual paragraphs and overestimate their factuality. To address this, we introduce an enhanced metric, D-FActScore, specifically designed for content with ambiguous entities. We evaluate the D-FActScores of people biographies generated by retrieval-augmented LLMs. We show that D-FActScore can better assess the factuality of paragraphs with entity ambiguity than FActScore. We also find that four widely used open-source LLMs tend to mix information of distinct entities to form non-factual paragraphs, making their D-FActScore much lower than FActScore by over 10%.
[ -0.3876671195, -0.9334877729, 0.9103577733, 0.2671046853, -0.2203298956, 0.5479516387, -0.237205714, -0.6557549834, 0.0992808715, 0.4066280723, -0.4504609108, -0.4328097999, -0.6630218029, 0.0434761569, -0.4331947565, 1.0763745308, 0.0748515353, -0.4042421579, -0.7287060618, -0.3049877584, -0.1929408759, -0.4108011425, -0.1557228714, -0.2915449142, 0.4468157589, 0.4322172403, 0.9306966066, 0.5276159644, 0.3401959836, 0.3462519646, -0.2814589739, 0.678866148, -0.722099185, 0.0867381915, -0.2709237039, -0.503872335, -0.4236556292, 0.1822154373, 0.6221714616, 0.7898646593, -0.1417895108, 0.4078148305, -0.0287660398, 0.6286594868, -0.633092165, 0.096175842, -0.5428608656, -0.0751756132, -0.2884075642, -0.1805373877, -0.4415179193, -0.7313885093, 0.1941395402, -0.1391348541, 0.3007805347, 0.2098625004, 0.71661973, 0.221857205, -0.4420324564, -0.4660809934, -0.8968997598, 0.9734156132, -0.8210896254, 0.5647327304, 0.0298670232, -0.0489270687, -0.3095296323, -0.5500016212, -0.8961427212, -0.4602635801, -0.2103010863, 0.0478789993, -0.4417008758, 0.0264087655, 0.4830711782, 0.6443070173, -0.5361993313, 0.2213664204, -0.6118061543, -0.2417228967, 0.7355234623, 0.1596516222, 0.3728828132, -0.4196789563, -0.7932087779, 0.0862926543, -0.8956148624, -0.2006659359, 0.5982764363, 0.0525614396, -0.0433049873, 0.91636765, -0.0811001062, 0.4811371565, 0.1831238866, -0.6863912344, 0.2878119648, -0.4255751371, -0.1581570655, 0.3589300811, 0.7273619175, 0.6330192089, -0.2985113859, -0.3614836335, 0.0895195678, 0.2265099734, 0.0563243032, -0.4612517357, 0.1827940345, 0.4146545827, -0.3473323584, -0.1806296706, -0.0056846836, -1.0171216726, -0.4795072377, -0.4346306324, 0.1088210046, -0.4238847494, -0.0795426369, 0.0629175305, -0.4121214449, 0.0581775159, 0.4016655087, -0.4901682138, 0.188461259, 0.7359898686, 0.8416617513, -0.3259863853, -0.3862076402, -0.277700454, 0.1749607772, -0.2671945989, 0.9045937657, -0.4116326869, -0.5182392597, -0.005970004, -0.2488589287, 0.1046482325, -0.6483543515, 0.8751043677, -0.5149701834, 0.5780041814, -0.3361725509, -0.6931657791, -0.1246596202, 0.2793020606, -0.7207890153, 1.3296769857, 0.2029767632, -0.8872190714, 0.5910658836, -0.2346904576, -0.3755322397, -0.0034675607, -0.2641819417, -0.4708766937, 0.192555517, -0.1246831417, 0.1929834187, -0.6061241627, 0.581867516, -0.3728946149, -0.2317666709, 0.3175805807, -0.5611799955, 0.790995717, 0.1990489066, -0.3910723329, -0.2706443071, -0.9063962102, -0.2513276637, 0.0265597831, -0.7375222445, -0.3187795281, 0.267701894, -0.3711919487, 0.1424083114, 0.3599749207, -0.6379554272, 0.0915981233, -0.1840812564, 0.1700530052, 0.560539484, -0.0106640067, 0.2532144785, -0.8095300198, 0.1536017805, 0.3464961648, -0.0234701, 0.0499173664, -0.3998667896, -0.8647681475, -0.1498218328, 0.0694782734, 0.552975893, -0.7105593085, 0.726328671, -0.631657362, -0.709332943, -0.1969957501, 0.2141871899, 0.1382457316, 0.8718819022, 0.459431231, -0.0996489972, -0.8004280925, -0.8928970695, -0.3862289786, -0.7426778078, 0.0876257718, 0.0315383449, 0.4038385749, -0.0108703235, 1.1165744066, -0.6385774612, 0.2131258845, -0.0671616644, 0.3520210981, 0.1357629448, 0.2491867542, 0.5022450089, -0.6284986138, -0.172221601, -0.3620927632, -0.7802926302, 0.1063964963, -0.2453007698, 0.2317074388, 0.2828572989, 0.2834039927, -1.027187109, 0.1382413656, 0.4845514894, -0.2383028716, 0.7409481406, -0.0665997118, 0.3280662298, -0.7958825827, -0.2046786845, 0.2392697334, -0.1051195562, -0.3721350729, 0.0191279743, -0.0235520601, 0.1584178358, -0.4663336575, 0.2773534954, -0.4648528099, 0.071384877, -0.011248271, 0.3556059897, 0.1867654175, 0.0922153369, -0.2558534145, 0.7457636595, 0.2326519191, -0.5856661797, 0.6366595626, 0.1695140749, -0.6484184861, 0.7815930247, -0.2898256183, 0.0295331441, -0.4336794615, 0.5123741031, -0.8723013997, -0.1240709648, 0.0214930438, -0.3095539808, 0.2171768844, 0.022579832, -0.568993628, -0.4657374024, -0.5054275393, 0.1244393438, 0.6387990117, -0.7021353245, 0.6380627155, 0.3080311418, -0.3439058661, -0.7650359869, -0.7719681263, 0.3784666061, -0.5138822198, -0.9005256295, 0.6052867174, -0.2548988163, -0.4906234741, 0.2344490439, -0.13165842, 0.0295272246, -0.1436457038, 0.0461612828, 0.4906051457, -0.4097076654, 0.181041792, -0.0458766669, 0.3529830575, 0.1584955901, -0.0317586511, 0.2438666821, 0.1247297674, -0.5316867232, -0.0755712837, 0.325296998, 0.6555837393, 0.0737888962, 0.9239368439, 0.2233983129, -0.246838063, -0.2915141881, -1.1060006618, 0.3195467889, -0.4134795368, 0.1795546412, 0.0597801991, -0.9917368293, 0.4792436063, -0.2291402519, 0.2469907403, 0.7262986302, 0.5278723836, -0.0362329222, 0.5961329341, 0.2244358659, 0.0231555104, 0.1222224385, -0.0055884505, 0.3111017644, -0.6246993542, -0.3871054053, -0.4243592024, -0.080300197, -0.698943913, -0.649723053, 0.2174171656, -0.0133148283, -0.0437662154, 0.0761043578, 0.067491293, 0.5352147222, 0.4438953698, 0.2938630879, 0.6328803897, 0.0092652394, 0.2223993689, 0.0015302288, -0.5309414268, -0.6557139158, 0.9880301952, 0.4427725375, 0.7269013524, 0.4577696025, 0.6701743007, 0.5958926082, 0.1386576742, -0.8537194729, 0.5448397398, -0.2251554281, -0.6580063701, -0.0951535627, -0.6541930437, -0.5355328321, 0.0566619486, -0.2834854722, -0.5899785161, 0.3476145566, 0.0025551526, -0.476987958, 0.3712757826, -0.658347249, 0.3058819473, -0.2837837636, -0.3887572885, -0.2547352612, -0.3974553943, 0.7836452127, -0.1077295765, 0.4159623384, -0.1998836398, 0.1246450245, 0.5820490122, -0.3667430878, 0.8907181621, 0.1404139698, -0.2956684828, 0.6283450723, 0.0848645493, 0.4471296668, 0.0274005458, -0.0723804533, 0.1386279762, -0.0964781493, -0.3000781834, -0.7444280982, 0.7066883445, -0.7603730559, -0.9633473158, -0.5088037848, -0.2332209796, -0.2966039777, 0.0038454542, 0.0728390515, 0.4068522453, -0.5913903713, 0.2668039501, 0.7461183071, -0.0691676661, 0.0557836294, 0.4620696604, 0.1786852181, -0.3859863877, 0.7997521162, 0.2436675429, 0.3652078807, 0.1349299699, 0.1484699547, -0.499694407, -0.5574237108, -0.4440917075, 0.3476135433, -0.9901086092, -0.1764531285, -0.5604037046, -0.3618746102, -0.364862442, 0.2440139651, -0.2328170985, -0.4967542291, -0.2141260803, -0.4266299009, 0.1019952968, 0.6256283522, -0.2128152698, 0.0095612956, -1.0179064274, 0.3293264806, 0.4896465838, 0.2808107138, -0.0556341857, -0.4499311447, -0.0328021348, 0.0478669927, -0.4446786344, -1.0064649582, -0.2452123463, 0.0584721416, 0.7887508273, 0.2906450629, 0.0968046486, 0.7147637606, -0.6052896976, 1.0894150734, 0.410174787, -0.8567281365, 0.2595802546, -0.1147259623, -0.2354454696, 0.4470107257, 0.4793936312, -0.5038179755, -0.413354516, -0.797429502, -0.7483400702, 0.5390062332, 0.1118744761, 0.1818838567, -0.3231107593, 0.1592670828, 0.2029437721, 0.0485219248, -0.5875213146, -0.3780501783, -0.0590136573, -0.3489964604, 0.0438996181, -0.7066164613, -0.5479884744, -0.1039889529, 0.5680286884, 0.1129025072, -0.0594402477, 0.2814922929, -0.274225086, -0.1359421015, 0.5822126865, 0.6914847493, 0.9344841838, -0.2196155787, 0.4772197902, 0.2834037244, -0.1990159005, 0.1971502155, 0.1959852725, -0.1943221688, 0.1338146925, 0.5954588652, 0.8772993684, 0.1960224807, -0.642932713, 0.5137163401, 0.116161041, -0.2136379927, -0.3277906179, 0.1109075919, 0.1839218736, 0.2905381918, 0.3367244899, 0.0682467073, 0.0067895022, -0.9117480516, 0.1241093501, 0.2364250273, 0.0329671502, -0.2716294527, 0.3752581477, 0.2820029259, 0.1141049862, 0.6595115066, -0.1060231328, -0.4392088056, 0.3414500058, 0.5690841675, 0.5679309368, -0.0150650274, 0.482658118, 0.3069584072, 0.3394036889, -0.3499168158, -0.0015364388, 0.0221540313, -0.7746118307, -0.682226181, -0.6519200206, -0.4768538475, 0.1800857335, -0.3338724971, 0.3199151754, -0.2840098739, -0.2614444494, 0.0118273729, -0.0605780669, -0.5031427741, 0.2413891405, 0.244894132, 0.9419648647, -0.9920150042, 0.1773368269, 0.3955840468, -0.6184175014, -0.4315822721, 0.080102101, 0.2192351073, -0.6525016427, 0.6310197711, -0.2125425041, -0.2284002006, -0.3419479132, -0.4084354043, -0.9115563631, 1.0582937002, 0.5916928053, -0.4172440767, -0.3852628469, 0.3582668006, 0.402379483, -0.1935744882, 0.1319278628, 0.7079833746, 0.5627387762, 0.4588137269, -0.8072693348, 0.3415538669, 0.1823908538, -0.2503634393, 0.1090653762, -0.8813485503, 0.9352967143, -0.1806752086, -0.6070836186, -0.1786562651, 0.874417603, 0.4454354048, 0.390229702, 0.7348399758, 0.7673523426, 1.0720158815, 0.0312860198, 0.8257750273, -0.2708010077, 0.3586889505, 1.1586856842, -0.2669584453, 0.6000296474, 0.4065922201, -0.611359477, 0.8827248812, 0.5725509524, -0.1570961773, -0.0054811547, 0.0041542002, -0.5177974105, -0.1865872294, -0.1099500805, -0.3552105129, 0.5032947659, 0.3679161072, -0.3630580008, -0.5039817095, -0.6716636419, 0.3995540738, 0.1820066124, 0.0707604215, 0.6435354352, 0.031184379, -0.9189169407, 0.404461354, -0.0826919004, 0.5272083282, -0.3195037246, -0.0195028391, -0.2110326588, -0.1649340838, -0.5265010595, -0.9351615906, 0.3819285631, 0.2163503915, -0.2625909746, 0.033513505, 0.6473326087, -0.4457435608, -0.5087503195, 0.0488637872, 0.6843341589, -0.046866376, 0.3074513078, -0.5141841173, 0.1001153365, -0.0163228586, -0.0908194631, 0.1476344466, 0.4652282894, 0.1378766894, 0.3547351062, 0.7125763893, 0.2464179695, 0.0783424228, 0.0167897921, 1.001011014, -0.6607125401, -0.3273089826, -1.145518899, 0.5353677273, -0.4793778062, -0.1088612154, 0.8970423937, 0.7252232432, 0.8035090566, 0.2167887092, 0.9487232566, -0.097896643, 0.6454492211, -0.7052013874, 0.3561862707, -0.5149816275, 0.2538690567, -0.0107384324, -1.1485314369, 0.0770666376, -0.0971629322, -0.2729102373, 0.0189894866, 0.7718291283, 0.5403355956, -0.2182545066, 0.1985942274, 0.1332888007, 0.3495123088, 0.3856791854, 0.1888073236, 1.1764894724, -0.110576719, 0.5083724856, -0.0369362421, -0.2007094026, -0.1688759327, -1.113365531, -0.6230939627, -0.3750561476, -0.4184162021, -0.4846196771, -0.0645811856, 0.758107841, 0.2898776531, -0.4109680355, -0.029024614, 0.2802552581, 0.3500737548, 0.288284719, -0.2647812665, 0.2556340694, -0.2733303308, -0.752168119, 0.5642837286, 0.3601220846, 0.1213832945, -0.5949366093, 0.1603668034, -0.1134640351, 0.4174382389, 0.6357295513, 0.2338113487, -0.731292069, -0.5870001912, -0.2007132918, -0.01326699, 0.280849874, 0.7416699529, -0.5482160449, 0.3282163739, 0.6293299794, 0.5548055172, 0.2604435682, 0.4340082407, 0.4529003501, -0.7313462496, -0.0364599824, 0.0650997683, 0.3351005912, 0.6413224339, -0.4653261006, 0.2460839003, 0.429089427, -0.4706958234, -0.927149117, 0.401961267, -0.9204680324, -0.1664425582, 1.0176234245, -0.1848296821, -0.3335976005, -0.0216947943, 0.1930794716, 0.2079169154, -0.2897232473, 0.9834322333, 1.0040338039, -0.2084109187, 0.1989896894, -0.3493416607, 0.3802981079, 0.0856504813, -0.7152853012, 0.0532238185, 0.8638324738, 0.3875285685, 0.5270231366, 0.5676124096, -0.1406717002, 0.0305808261, 0.2016728967, -0.3556984365, -0.0076675778, -0.142094925, 0.1590396315, 0.1173536405, 0.213687703, 0.2472394109 ]
http://arxiv.org/abs/2402.05624v1
http://arxiv.org/pdf/2402.05624v1
Efficient Models for the Detection of Hate, Abuse and Profanity
2024-02-08T12:28:18
2024-02-08T12:28:18
Christoph Tillmann, Aashka Trivedi, Bishwaranjan Bhattacharjee
cs.CL
cs.CL, cs.AI, cs.HC
Large Language Models (LLMs) are the cornerstone for many Natural Language Processing (NLP) tasks like sentiment analysis, document classification, named entity recognition, question answering, summarization, etc. LLMs are often trained on data which originates from the web. This data is prone to having content with Hate, Abuse and Profanity (HAP). For a detailed definition of HAP, please refer to the Appendix. Due to the LLMs being exposed to HAP content during training, the models learn it and may then generate hateful or profane content. For example, when the open-source RoBERTa model (specifically, the RoBERTA base model) from the HuggingFace (HF) Transformers library is prompted to replace the mask token in `I do not know that Persian people are that MASK` it returns the word `stupid` with the highest score. This is unacceptable in civil discourse.The detection of Hate, Abuse and Profanity in text is a vital component of creating civil and unbiased LLMs, which is needed not only for English, but for all languages. In this article, we briefly describe the creation of HAP detectors and various ways of using them to make models civil and acceptable in the output they generate.
[ -0.3802824616, -0.7949546576, 0.4522486329, 0.1085534096, -0.14793396, 0.0154150659, -0.2326641828, -0.5678318143, -0.0896830633, 0.5439869761, -0.1675002873, -0.5975714922, -0.8092428446, -0.017168697, -0.7750965953, 1.0297417641, 0.1109004244, 0.0206248853, 0.1150380373, -0.0801211819, 0.0531725883, -1.0249222517, -0.7756498456, -0.2881776094, 0.4935745299, 0.2353509367, 0.6913733482, 0.5341807008, 0.6795681119, 0.3138805032, -0.2367440015, 0.078729935, -0.5116992593, 0.3270648122, -0.3464490771, -0.3484291136, -0.3355779946, 0.0919947401, 0.5440893173, 0.3266381919, -0.1054890603, 0.0771587864, -0.1593750566, 0.4340771437, -0.5294722915, -0.1751986295, -0.7999643683, 0.1097380593, -0.5481735468, -0.1001432315, -0.4814560413, -0.1746043414, -0.2252109051, -0.2257955819, 0.1093351319, 0.2185636014, 0.7830535173, 0.0520113632, -0.3122067451, -0.5909766555, -0.8887686133, 0.9211964011, -0.8467097282, 0.4875974953, 0.325920254, 0.275444448, -0.4842229784, -0.4293245673, -0.865737021, -0.347461015, -0.0099446196, -0.0934204757, -0.4690018296, 0.1483711302, 0.3239428103, 0.5118718743, -0.5371710062, 0.4672162533, -0.1992890686, -0.2642202675, 0.8190678358, 0.1792863756, 0.5609668493, -0.4852468073, -0.4051873982, 0.2801295221, -0.6371461153, -0.4118660986, 0.6904135942, 0.2103036642, -0.1769258678, 0.5687194467, 0.0172850676, 0.6365184188, -0.2474570274, -0.6337165833, 0.0467104986, -0.0035317645, -0.2442746609, -0.4533415139, 0.7626578808, 0.1816486716, 0.7667370439, -0.0533403717, -0.4129953384, 0.4518634677, 0.3848752081, -0.7207878828, -0.1384741664, 0.0503162257, -0.4668763876, -0.6006186008, -0.4190631211, -0.7978847027, -0.6753014922, -0.2223255038, 0.2871121466, -0.4331267476, -0.2484761626, 0.1576819122, -0.191933006, 0.0430006348, 0.3690381348, -0.6889833212, 0.414621681, 0.5500949025, 0.6871243119, -0.3994682133, 0.1027127057, -0.5092920661, 0.1372485459, -0.1088140234, 0.6964092255, -0.5313960314, -0.1446222216, 0.2075750232, -0.2097785622, 0.1611113697, -0.6807256937, 0.9744206071, -0.6814474463, 0.2307649106, 0.3673326373, -0.6394477487, -0.4163658321, 0.3364847302, -0.5002182722, 0.9916261435, 0.2301825136, -0.8287137151, 0.0785227194, -0.6711455584, -0.4085012674, 0.2396710813, 0.0225632992, -0.7032238245, 0.0774379149, -0.0240048878, 0.6101666689, -0.1722132117, 0.1491539329, -0.4824612439, -0.2092084438, 0.2282966673, -0.2212830037, 0.7275276184, 0.4993643463, -0.2784010768, 0.3208462298, -0.7531638741, -0.3761141002, 0.4225286543, -0.5460956097, -0.5776535273, 0.3654397428, 0.3300470114, 0.2647453547, -0.1223399788, -0.58318156, -0.3513532281, -0.4100601673, 0.1811001748, 0.7878896594, -0.0983063206, 0.0468986928, -0.4874504805, 0.6736720204, 0.1156010181, 0.1680805832, 0.0535566658, -0.6041170359, -0.8305791616, -0.4697744846, -0.061894726, 0.6044262052, -0.4538027048, 0.3765030205, 0.023421118, -0.5292348266, -0.1610153317, 0.3719022572, 0.416826427, 0.4137218595, 0.1212480664, -0.2635096014, -0.8933375478, -0.8850509524, -0.4258949161, -0.2653891146, -0.0561616495, 0.0950260907, 0.6237029433, -0.0685082301, 0.5783487558, -0.3820145726, -0.3959330618, -0.3316668272, 0.0503996946, 0.055593282, 0.2555356324, 0.7769385576, -0.9200571179, -0.5240258574, -0.1720052958, -0.7585864663, -0.2930692136, 0.3442296386, -0.0465073436, 0.2905136049, 0.4977235496, -0.2686149776, 0.4590711594, 0.5836376548, -0.3065522909, 0.8264029622, 0.3392146826, 0.1441012472, -1.0420835018, -0.0062281783, 0.1642610282, -0.7079802155, -0.9405781627, 0.5970731974, -0.2997675836, -0.1079919264, -0.729678154, 0.5320776701, -0.4215616584, 0.0178882498, -0.4385346472, 0.2465961576, -0.2021294683, 0.370225817, 0.0514147244, 0.7210385799, 0.2037341595, -0.665546298, 0.4941489697, 0.0318625197, -0.3982999921, 0.7360136509, -0.3490130305, 0.1107619181, -0.2286031991, -0.0371121988, -0.7601080537, -0.3761234283, 0.3477602899, -0.4267451763, 0.1281739622, -0.3001617193, -0.7332863212, -0.6543273926, -0.3197773993, 0.3166840971, 0.6473203897, -0.6412974, 0.5367243886, 0.9413002133, 0.0485272631, -0.5286396742, -0.4232915044, 0.1095399633, -0.6051911712, -0.6385077238, 0.1551121324, -0.088607572, -0.5310198069, -0.2155283242, 0.245062843, -0.2319176048, 0.4138415158, 0.4458284974, 0.2487710118, -0.1638136208, 0.213267073, -0.3677622378, 0.2046236843, 0.2094768584, 0.0404131934, 0.8703785539, 0.0280466918, -0.2996328175, -0.3003672063, 0.5253639817, 0.5717204809, -0.0524135195, 0.8029321432, 0.6026582122, -0.7978796959, -0.3451954424, -0.6546419859, 0.0628797859, -0.4562891126, 0.3570367694, -0.110299319, -1.1699160337, 0.5258849859, 0.1856642216, -0.0429721996, 0.4011262655, 0.9913939238, -0.0783201605, 1.0609562397, 0.721886158, -0.2926784158, 0.5280878544, 0.4051910937, 0.3913462162, -0.6046946645, 0.0618211664, -0.7221450806, -0.1100170761, -0.4571695328, -0.4733554125, 0.4641823471, 0.2133590132, -0.2667755187, 0.166286692, -0.4902524054, 0.4072082639, 0.295001924, -0.0173563231, 0.5105237961, 0.3395721316, 0.0275799949, -0.19286412, -0.2923742235, -0.8309574723, 1.1394284964, 0.7573256493, 0.8688464761, 0.3979168236, 0.5518054366, 0.5250178576, 0.6748434901, -0.9357525706, 0.5902014375, -0.2919837236, -0.9042559862, -0.0230944622, -0.1870339662, -0.7416657805, 0.0913133323, -0.3762794137, -0.8918001056, -0.1679158807, 0.2199587077, -0.2097117007, 0.6701695919, -0.331292361, 0.4203090668, 0.0577187575, -0.1140069515, -0.4232020974, -0.0860782862, 0.8193054199, -0.2008381933, 0.3931817412, -0.259042263, 0.0714957342, 1.0085805655, -0.1494738162, 0.9587843418, -0.1078363433, -0.3201669753, 0.401951462, 0.3411731422, 0.31039083, -0.276604712, -0.1868911982, 0.1580366939, -0.3858755231, -0.183338657, -0.190518409, 0.4549216628, -0.5768790841, -0.7788723707, -0.4315567017, -0.6545644999, 0.1104317978, 0.2019557655, 0.0619420186, 0.1045343354, -0.2473318726, -0.0764524639, 0.8235828876, -0.3859736919, 0.1460941136, 0.6872834563, -0.7586065531, -0.0234820191, 0.588511765, -0.1790897101, 0.2215791792, 0.1689547747, 0.1259118617, -0.060642194, -0.8687245846, -0.267003268, 0.4022807181, -0.8435514569, -0.3038648069, -0.9286670089, -0.5357163548, -0.5045085549, -0.0369071737, -0.0152997635, -0.232597664, -0.2431235015, 0.0831995532, 0.5177082419, 0.9528606534, -0.2464579791, 0.6645948887, -0.6740349531, 0.5063970685, 0.1245886385, 0.3044394553, -0.1304400265, -0.9738081098, -0.1418629587, -0.2584602535, -0.3614116013, -1.1570426226, 0.5713997483, 0.0636251196, 0.3477604985, 0.5055956244, -0.0572695248, 0.2524803877, -0.3786074221, 0.5717101097, -0.0132555468, -0.8545524478, 0.5363223553, -0.5372769237, -0.258882314, 0.0393331423, 0.8023898602, -0.8476732969, -0.6561978459, -0.3998850286, -0.4703383148, 0.5519062877, 0.0223306958, 0.2590145469, -0.256477356, 0.2575183213, -0.1362437159, 0.1319624931, -1.071592927, -0.2159529924, 0.1574902385, -0.3047391176, 0.2197656184, -0.6015233397, -0.2969923317, -0.0797856823, 0.806396544, 0.0160303302, 0.229022637, -0.037387237, -0.3910427094, -0.2036720514, 0.3481411934, 0.5682417154, 0.2643948495, -0.1280203462, 0.2790767252, 0.0960735455, -0.522918582, 0.2018889785, -0.2559795082, -0.1186588109, 0.0130984401, 0.3372278512, 0.5509098768, 0.021261245, -0.7683548927, 0.7670288086, 0.1224243566, 0.0070105991, -0.7165802121, 0.2715358138, 0.1919891685, 0.1110979989, 0.0497789569, -0.1800515056, 0.2071687579, -0.6255416274, 0.3968080878, 0.7131497264, -0.1343338639, -0.1896718591, 0.6369987726, 0.0910711884, -0.47799173, 0.4716629386, -0.3628613651, -1.0583639145, 0.3065916896, 0.7837353349, 0.4166956842, -0.5411798954, 0.268148154, 0.4525310397, 0.3437882364, 0.3543908298, 0.3285378814, 0.2453629673, -1.1437445879, -0.2931171358, -1.1388660669, -0.2502688766, 0.5671259761, -0.4284666479, 0.3624833524, -0.8083344698, 0.0043067243, 0.2180089504, -0.2490988523, -0.5880725384, 0.2836087644, 0.6469517946, 0.9613126516, -1.0964576006, 0.746663928, 0.4687920213, -0.2411421239, -0.5909209251, -0.3713907599, 0.367105186, -1.1290159225, 0.7513884902, 0.0823024362, 0.0406289436, -0.106962882, -0.6185572147, -0.7066133022, 0.2003107816, 0.0864067897, -0.593508482, -0.0848525092, 0.2598133385, 0.6860117912, -0.429191798, 0.2049823999, 0.7629609108, 0.5696995258, -0.3198605776, -0.6492688656, 0.1219165623, -0.1812572628, -0.0740710422, 0.301876545, -0.2794023752, 0.8941468, 0.0289989561, -0.4630582333, 0.0915185288, 0.6040028334, 0.2485862672, 0.0714532956, 0.6500202417, 0.6653511524, 0.5579817891, -0.0337260589, 1.0436691046, 0.0007999183, 0.1158752665, 0.9844809771, -0.1967983395, 0.8104355931, 0.2162611187, -0.2217469364, 0.6223796606, 0.4214152396, -0.231395036, -0.1038025618, 0.6581770778, -0.5930228233, -0.3300037384, -0.3552141488, 0.0218889602, 0.7268547416, 0.6214475036, -0.42040959, -0.4015013576, 0.1153945327, 0.5760244131, 0.543704927, -0.4344783723, 0.7005400658, 0.1972946823, -0.3311100304, 0.5358476043, 0.3896679878, 1.1344131231, -0.4912647009, 0.1119408906, 0.0891577452, 0.1323255002, -0.4090754092, -0.8225828409, 0.5427422523, 0.3461475968, -0.3534402251, 0.0905333757, 0.9772629142, -0.3925778866, -0.3447907269, 0.5796179771, 0.447810173, 0.5315881371, -0.1788633019, -0.7388192415, 0.1190077513, -0.1021990702, -0.2805118561, 0.3031527102, 0.0480433889, -0.3567721546, 0.7021970749, 0.7970885038, 0.3412746787, 0.2805770934, 0.228993088, 0.7577912807, -0.6123220325, -0.2387201786, -0.8894310594, 0.1705594212, -0.176537782, -0.0615439154, 0.7603748441, 0.3770447373, 0.7990739942, 0.0544654466, 0.7701320052, -0.0013759105, 0.9445095062, -0.3913565278, 0.8910333514, -0.534673214, 0.044912383, -0.3544909954, -0.8314474821, -0.5441582799, 0.5521122217, -0.1650716215, -0.0193047095, 0.5549218059, 0.9480488896, 0.0237359572, 0.0396963917, 0.6530930996, 0.3248763978, 0.5652886629, 0.3827464879, 0.7946922183, -0.2842057943, 0.3606981635, -0.1655575782, -0.3308309317, -0.1938176602, -0.9481512308, -1.0686323643, -0.4250559509, -0.2051831335, -0.4578740597, 0.0882904604, 0.6856285334, 0.7545870543, -0.9531149268, -0.2908008695, 0.2467029095, 0.3497047722, 0.2479898632, -0.2981382906, -0.0581473894, -0.3823106587, -0.8708385229, 0.3829318583, 0.3753600121, 0.1842164546, -0.3658306897, 0.0122470679, -0.472653538, 0.2625132799, 0.8775518537, 0.2589586377, -0.6089861989, -0.5353716612, -0.4626537561, -0.2398017943, -0.020731682, 0.6503885388, -0.5628987551, -0.0006748903, 0.50223279, 0.5444118381, 0.1300792545, -0.233007893, 0.5658416748, -0.6277834177, 0.2462589294, 0.2718008459, 0.4801210165, 0.611403048, -0.5037206411, 0.5847444534, 0.5041039586, -0.6189039946, -1.1182140112, 0.6416203976, -0.6736539602, -0.240063414, 1.0802185535, -0.1950894892, -0.3829361498, -0.3677014709, -0.0288397502, 0.3590636849, -0.143942073, 0.7227910161, 0.804733336, 0.0953721926, -0.1342187226, -0.5902217627, 0.7845060229, 0.4288422763, -0.9118471742, 0.0303222947, 0.5006447434, 0.4879777133, 0.2899301648, 0.5889056921, -0.3839645684, 0.2181676477, -0.2818319201, 0.4204401374, 0.1880986094, -0.3332664669, -0.3057505786, 0.2276984304, 0.1291469038, 0.1838029474 ]
http://arxiv.org/abs/2402.05617v1
http://arxiv.org/pdf/2402.05617v1
Deep Learning-based Computational Job Market Analysis: A Survey on Skill Extraction and Classification from Job Postings
2024-02-08T12:20:28
2024-02-08T12:20:28
Elena Senger, Mike Zhang, Rob van der Goot, Barbara Plank
cs.CL
cs.CL
Recent years have brought significant advances to Natural Language Processing (NLP), which enabled fast progress in the field of computational job market analysis. Core tasks in this application domain are skill extraction and classification from job postings. Because of its quick growth and its interdisciplinary nature, there is no exhaustive assessment of this emerging field. This survey aims to fill this gap by providing a comprehensive overview of deep learning methodologies, datasets, and terminologies specific to NLP-driven skill extraction and classification. Our comprehensive cataloging of publicly available datasets addresses the lack of consolidated information on dataset creation and characteristics. Finally, the focus on terminology addresses the current lack of consistent definitions for important concepts, such as hard and soft skills, and terms relating to skill extraction and classification.
[ -0.3104072809, -0.7935565114, 0.0861060768, 0.0395446122, 0.0939462036, 0.4253637493, -0.3393355608, -0.7982538342, 0.2061956823, 0.6060029864, -0.7043935657, -0.5634973645, -0.6499642134, -0.0278916061, -0.4699013531, 0.9419451356, 0.4851369262, -0.0496554524, -0.4057240486, 0.1845910996, -0.4527131915, -0.5341659784, -0.8729814291, -0.0405242145, 0.4705660939, 0.5863553882, 0.3906099498, 0.6076527238, 0.653131783, 0.2937395275, 0.1398958266, -0.0319899954, -0.2221798152, 0.4179732502, -0.1832217276, -0.1526465714, -0.4232820868, 0.3938125968, 0.4976840317, 1.2987372875, -0.2432175577, 0.436620295, 0.0189806446, 0.6730588078, -0.7335758805, 0.3862887919, -0.8226950765, 0.2703976035, -0.2736207247, -0.0745855793, -0.0375180021, -0.3586775661, 0.4549124837, -0.3946479261, 0.6543900371, -0.4477034509, 0.6075117588, 0.1606466323, -0.4077008963, -0.4946867526, -0.8597538471, 0.9264432192, -0.5256351233, 0.4652332664, 0.3138675094, 0.7300750613, 0.2278972268, -0.9266637564, -0.1253201663, 0.0238456931, 0.1875396818, 0.108278431, 0.1711064726, 0.0817228034, 0.1451714039, 0.6112402678, -0.5685816407, 0.6983735561, -0.7010422945, -0.0139189139, 0.9944552183, 0.4068635404, -0.0339961573, 0.1313768178, -0.0477334, -0.2925400436, -0.4706937373, 0.2527330518, 0.3468747735, 0.3941472471, 0.0969394147, 0.5227040052, -0.5550954342, 0.7698510885, -0.1823839992, -0.2275226712, 0.3026521802, -0.134120822, -0.4461461604, -0.0677632242, 0.8190543652, 0.2202399224, -0.1515718699, -0.2699996233, -0.1839633286, -0.2148936987, 0.5986367464, -0.5581355095, -0.0405769907, -0.0667381585, -0.5990145802, -0.6517846584, 0.166114226, -0.9709712863, -0.9458008409, -0.2730787992, -0.3831391633, 0.2405670732, -0.4715351164, 0.0063196453, -0.2653149068, 0.4243134856, 0.0623923987, -0.9190439582, 0.4840478301, 1.0320036411, 0.5183085203, -0.4524662197, -0.0535615049, -0.0621694326, -0.3490183651, -0.2550285161, 0.6705421209, -0.6544862986, -0.0897704512, 0.2641831636, 0.1197751388, -0.1028965786, -0.7224340439, 0.5126159191, -0.9618778229, 0.1409328878, 0.0814949796, -0.4690208733, -0.544421196, 0.5906618237, -0.8689638376, 0.9846944213, 0.4621704221, -0.4873170257, 0.6416118741, -0.6606776118, -0.2896068394, 0.2582661808, -0.4046425521, -0.3060208857, 0.0092419777, 0.0391041152, 0.8492687941, -0.4517239034, 0.2862775326, -0.3997580707, -0.3520281613, 0.5141313076, -0.4897627831, 0.917621851, 0.5092975497, -0.2263417095, -0.2520826459, -0.6878401637, 0.0015847913, -0.0497474819, -0.2574832439, -0.0189366546, -0.0644349679, -0.0276578981, 0.4282607734, 0.2731539905, -0.3996929228, 0.3767003119, -0.8665909767, 0.2332925498, 0.4994831681, -0.0683708787, 0.5857089758, 0.2254609317, 0.8933349848, -0.1817546636, 0.0959528908, 0.4388088882, -0.4233707786, -0.2557107508, -0.0796314552, 0.4902381599, 0.7981973886, -0.7031343579, 0.5938866138, -0.2129097134, -0.9336836338, -0.4598476291, 0.1789415479, 0.1289240271, 0.4480957091, 0.1483965665, -0.4162855744, -0.8660849929, -0.9325873256, -0.3194034398, 0.3316034675, 0.0777828842, 0.2216790915, 0.0716852918, -0.330607444, 0.9463706613, -0.8394224048, -0.3792810738, -0.3235457242, 0.2489743382, 0.7280678153, 0.2515386045, 0.3767808974, -0.9008587003, -0.3732358515, 0.1423002034, -0.8873574138, 0.2170667052, -0.0739310756, 0.2271286398, -0.0452497751, 0.5981151462, -0.6891789436, 0.4171193242, 0.2512530684, -0.0418830924, 0.5914369226, 0.1532869786, -0.0979872048, -0.7409790754, 0.3968081772, 0.1609540135, 0.1663692743, -0.7134332657, 0.1408241242, -0.4752773046, -0.2968941331, -0.4798262715, 0.557749629, -0.4670336246, -0.5475950241, -0.6013904214, -0.1784367412, -0.3099277914, 0.3744065464, 0.1617012471, 0.6284047961, 0.8315973282, -0.7381404638, 0.7265869379, 0.2302528471, -0.4205148518, 0.1902977973, -0.353072077, 0.2609728873, -0.0257298071, 0.0941743776, -0.7059800029, -0.3781197965, 0.3325113058, -0.4319482446, 0.2563258708, -0.2318061143, -0.2501532137, -0.6791052222, -0.1759783328, 0.3774657845, 0.4711661041, -0.0137724811, 0.0958506465, 0.5978720784, -0.5641536117, -1.253289938, -0.777590394, -0.0531259626, -0.0902667418, -0.1125949025, 0.3374058902, 0.3305878043, -0.2060270011, -0.2574898601, -0.047439523, -0.9426088929, 0.5036134124, 0.1300722808, 0.2012207955, -0.1919192523, 0.1028241441, 0.0184945278, -0.2219924927, 0.3801308274, -0.0862988085, 0.3319207132, 0.1319130063, -0.1343036741, -0.2280921936, 0.0975758284, 0.3754057586, -0.0901686102, 0.6359114647, 1.0117989779, -0.2973956168, -0.2170188725, -0.5472789407, -0.1482727528, -0.5054512024, 0.3515010774, 0.1217974126, -1.0067292452, 0.3042895794, -0.302391082, 0.0229672603, 0.9427506924, 0.2994374931, -0.2461790591, 0.8568607569, 0.892152369, -0.111786522, 0.3064758182, -0.6399623752, 0.195752725, -0.4224742353, -0.3136279285, -0.5293085575, -0.5742651224, -0.6680927873, -0.0654212609, 0.0006425736, -0.1466951668, -0.1424016356, 0.0899177268, -1.0612300634, 0.3404615223, 0.678488791, -0.0701503679, -0.1234748811, 0.0950589254, 0.3921148777, -0.1397604197, -0.3787187636, -0.1935755759, 1.3117375374, 0.2605499029, 0.351044178, -0.3201886117, 0.5158308744, 0.5280100703, 0.0881596208, -0.8614532351, 0.5104591846, -0.526399076, -0.5004651546, -0.4331537783, -0.4504354, -1.1247606277, -0.1173232198, -0.4962183535, -0.340079844, 0.3611693084, -0.1667249054, -0.4372265935, 0.2782186568, -0.3467457891, 0.9657686353, -0.3682927787, 0.1396866739, -0.2869281173, -0.6185234189, 0.3595918119, -0.31950441, 0.2599499226, -0.2190065086, 0.0087519148, 0.93685323, -0.0713087916, 1.0248043537, -0.5523638129, 0.1505635083, 0.3389343619, -0.1339460611, 0.185323447, -0.0958552286, -0.4650906026, 0.2579840422, 0.1219102293, -0.2333064228, -0.4745098948, 0.427957654, -0.6860103011, -0.0029665146, -0.4407072067, -0.4193761349, -0.2683508992, 0.337526381, 0.149239704, 0.0228568465, -0.3730622232, 0.4146974683, 0.5259921551, -0.1879564375, 0.2696972787, 0.1668839604, 0.0125651332, -0.2833604217, 1.2384089231, 0.3352975547, -0.4956563115, 0.3484417796, -0.1370581388, -0.2675729692, -0.7994553447, 0.1852634698, -0.0304984525, -0.4178533852, -0.2675190866, -0.4726485908, -0.5908350945, -0.7876101136, -0.2134053707, -0.2196393162, -0.4254130125, -0.4035108387, -0.2973078191, 0.1858144552, 0.8850905895, -0.0423570573, 0.3538003862, -0.7956287265, 0.2953953743, 0.496789664, 0.6338378787, -0.0291638803, 0.021672057, -0.6086453795, 0.2100096196, -0.330506444, -0.728192091, 0.7007277012, 0.187673986, 0.9176187515, 0.455037564, -0.1776104271, 0.3076126277, 0.1798990369, 1.0235458612, 0.2564110458, -0.4333291948, 0.4463809431, -0.2854624391, 0.001282335, 0.8701967597, 0.7011187673, -0.6509923935, 0.0329370797, -0.8542328477, -0.9792672396, 0.6935949922, 0.0284350757, 0.1385889798, -0.0465185679, 0.5893089175, 0.5159766674, 0.5546500683, -0.3021916747, -0.0706574544, 0.0793568343, -0.2406411618, -0.107972227, -0.3216474056, 0.0791933164, -0.6174530387, 0.4652584493, -0.1915124506, 0.346675247, -0.2548722029, -0.324313432, 0.2799680531, 0.0885718539, 0.3868073523, 0.8660974503, -0.194678843, 0.0284682419, 0.2771755755, -0.6580032706, -0.1559314281, 0.2241630703, 0.1455127448, -0.1979552209, 0.2713665068, 0.2820231915, -0.0576943457, -0.9193991423, 0.8154484034, 0.1279003322, -0.5583848357, -0.716338098, 0.1692818701, -0.2529295087, 0.3536095321, 0.6611614823, 0.0140905483, 0.5936471224, -0.3209070861, 0.3017817438, 0.4542661607, -0.6748347282, -0.1983346194, 0.2773010135, 0.1663809121, -0.0827224702, 1.2878652811, -0.2050307095, -0.0900860801, 0.9260745645, 0.0793303847, 1.2258810997, -0.0867562294, 0.2979621589, 0.2136928141, -0.0497971848, -0.0064364835, 0.3198825419, -0.0239676908, -0.7826521993, -0.542439878, -0.4947376251, -0.5230534077, 0.3883238733, -0.7595928907, 0.050455153, -0.7080590129, -0.199072808, 0.1665937901, 0.1724146158, -1.0771946907, 0.7473580241, 0.3226218522, 0.7640881538, -0.8297267556, 0.6415835023, 0.7890406847, -0.3447322845, -0.2424466908, -0.6194630861, -0.0966544375, -0.6757480502, 0.8306972384, 0.3018940985, 0.0954955518, -0.1433049887, -0.8602494001, -0.7133974433, 1.1161234379, 0.2337179482, -0.1296223402, -0.3892174959, 0.4482702911, 0.5405088067, -0.4590694308, 0.2152189761, 0.5066582561, 0.3565063477, -0.19915618, -0.7909594774, -0.360268116, -0.3058255315, -0.0874252394, -0.1130024493, -0.1445855349, 0.637370944, 0.4174399078, -0.2292391062, -0.2595511079, 0.663936317, -0.0931499824, 0.5676867366, 0.5201935172, 0.3942228854, 0.8136659861, 0.0323232189, 0.5664864182, -0.1815915555, 0.4334640205, 0.9668024182, -0.1136546135, 0.6769477129, 0.0213629324, -0.1884424239, 0.6753953695, 0.878867805, -0.4695580304, 0.3936866224, 0.1463646591, 0.0607477687, -0.2574163973, -0.0176890735, -0.4253426194, 0.8778475523, 0.5245142579, -0.5194430947, -0.2343555242, 0.1156227812, -0.5054852366, -0.1362085044, -0.5327762961, 1.0142141581, 0.1148245782, -0.3629211783, 0.2119296938, -0.061437089, 0.7937200665, -0.5042513013, -0.3972886503, 0.1425896585, -0.0261841882, -0.3837674856, -1.1386494637, 0.8511118889, -0.2875700891, -0.2801544964, -0.591145575, 1.165487051, -0.2122306973, -0.4073719084, 0.0728349835, 0.6752170324, 0.4611529708, -0.219105795, -1.0753793716, -0.3834984601, -0.2901343107, -0.0337259136, 0.3314557076, 0.1764634103, 0.1099102721, 0.6218802929, 0.6927178502, 0.0233725086, 0.055004552, -0.1635455191, 0.6354572177, -1.07452631, -0.435431391, -0.4641644061, 0.3573265374, -0.5242435336, -0.4898670614, 0.4694777131, 0.6988614202, 0.7954035997, -0.2742778361, 0.738054812, 0.04012274, 0.7661759257, -0.1845445335, 0.7919080257, -0.3588487804, 0.0602782965, -0.0851874873, -0.8613513112, -0.2284318656, 0.211210683, -0.4639264643, 0.0520521328, 0.2738501132, 0.6230643392, -0.1641451418, -0.1298449039, 0.2315924615, -0.0624785647, -0.1421937495, 0.0491670221, 0.7837133408, -0.1443158835, 0.3475210071, -0.5118669271, 0.0996917784, -0.5559853315, -0.6254128814, -0.4191506803, -0.4890883565, -0.5007590055, -0.0946537852, -0.2158776373, 0.6212716699, 0.7660684586, -0.7500129938, -0.586714685, -0.0766616315, 0.2670613527, -1.0626969337, -0.3448854983, 0.4045490324, -0.3547031581, -0.3414733112, 0.7747362852, -0.0590571128, -0.3199865222, -0.3926615119, 0.2583681047, -0.0792987272, -0.2938236594, 0.6815360188, 0.7211467028, -0.3144675195, 0.1610094905, 0.0714766011, -0.2652333379, -0.1682546139, 0.9095874429, -0.8323453665, 0.3149359226, 0.6370773911, 0.9750415087, 0.4156453311, -0.2638082206, 0.5630987883, -1.0525220633, 0.0105926916, 0.5079998374, -0.1561679542, 0.1131252348, -0.6790198088, 0.8598374128, 0.3908734918, -0.4246637225, -0.7503390908, 0.0784949735, -1.1403650045, -0.6510882974, 0.8118075132, 0.4178059697, -0.1127084121, -0.372400105, 0.1784191281, 0.3393812776, -0.0384078138, 0.7429657578, 0.4060171545, -0.1950333118, -0.2632471025, -0.8063901067, 0.5008050799, -0.1431364566, -0.6794226766, 0.0413719006, 0.4341296554, 0.0498073734, 0.1461029053, 0.6700933576, 0.1532452554, 0.4329216182, -0.2098056525, 0.3855695426, -0.0951132774, -0.2693083882, -0.5025387406, 0.6747117043, 0.1800937504, -0.0135908946 ]
http://arxiv.org/abs/2402.05616v1
http://arxiv.org/pdf/2402.05616v1
Pretrained Generative Language Models as General Learning Frameworks for Sequence-Based Tasks
2024-02-08T12:19:32
2024-02-08T12:19:32
Ben Fauber
cs.CL
cs.CL, cs.AI, cs.LG
We propose that small pretrained foundational generative language models with millions of parameters can be utilized as a general learning framework for sequence-based tasks. Our proposal overcomes the computational resource, skill set, and timeline challenges associated with training neural networks and language models from scratch. Further, our approach focuses on creating small and highly specialized models that can accurately execute a challenging task of which the base model is incapable of performing. We demonstrate that 125M, 350M, and 1.3B parameter pretrained foundational language models can be instruction fine-tuned with 10,000-to-1,000,000 instruction examples to achieve near state-of-the-art results on challenging cheminformatics tasks. We also demonstrate the role of successive language model fine-tuning epochs on improved outcomes, as well as the importance of both data formatting and pretrained foundational language model selection for instruction fine-tuning success.
[ -0.0433993116, -0.730328083, 0.5108809471, 0.0590704046, -0.2211702317, -0.1356108189, -0.3215835989, -0.075852409, -0.0913869217, 0.4459599853, -0.5789417624, -0.4475075006, -0.435762316, 0.0556127355, -0.4613541961, 0.9986819029, 0.12709409, 0.2160595655, 0.1109218076, 0.3574861884, -0.2640812397, -0.4233566225, -0.5730772614, -0.2820479274, 0.4880963862, 0.4662761986, 0.7082720995, 0.8392703533, 0.2180019915, 0.294842124, 0.0721557662, -0.0528951921, -0.5417560935, -0.1929149926, -0.2400188148, -0.4355827272, -0.3403043449, -0.0010838179, 0.7149523497, 1.3373202085, -0.2463767529, -0.0545433052, 0.0030029088, 0.7432935238, -0.4908656478, 0.1423224062, -0.4898065329, 0.1623496264, -0.1379817128, 0.0360844433, -0.410789609, -0.3221433461, 0.2233365029, -0.75835675, 0.5694329739, -0.1383661628, 0.5747222304, 0.1219622567, -0.1554828584, -0.2557341754, -0.8136025667, 0.7373004556, -0.7133727074, 0.3053118289, 0.307393074, 0.231916815, -0.086410597, -0.9943884015, -0.3795704842, -0.3006332517, -0.0518276952, -0.2195978016, 0.2153171003, 0.401022017, 0.4629704654, 0.7180384994, -0.7666376233, 0.2942221761, -0.3610256314, -0.0695006251, 0.395172745, 0.3479170203, 0.2678779364, 0.0340419039, 0.0001816498, -0.1850208789, -0.9254460931, -0.1974958926, 0.2442942709, 0.5902997255, -0.1205199137, 0.2882851064, -0.6276366711, 0.9538803697, 0.1585627198, 0.3484383821, 0.054276593, -0.2212201953, -0.6396002769, -0.2216043174, 0.7930067778, -0.3120927215, 0.3119395673, -0.3885353804, -0.0605040155, 0.0675255358, 0.3953233361, -0.9960558414, -0.5271242261, 0.1165125892, -0.154702425, -0.3458772302, -0.0615426935, -0.7569079995, -0.1196568981, -0.7159099579, 0.523855865, -0.4064881206, 0.0295913815, 0.3902238011, 0.2397181988, 0.1517711431, 0.3742567599, -1.4034618139, 0.1993602216, 0.5835444927, 0.701964438, 0.0458307862, -0.2606853843, -0.4804305434, -0.0820730999, -0.4205949008, 0.3724310696, -0.6516672969, -0.6020520329, -0.0463618189, 0.1511322856, -0.2172571868, -0.5394323468, 0.0104256915, -0.547966063, 0.1483720243, -0.2365016788, -0.5546609163, 0.1031525284, 0.0631434247, -0.7517868876, 0.602060616, 0.4173268974, -0.2488335818, -0.0127555979, -0.4470589757, -0.7166556716, 0.2193701267, -0.2499343157, -0.1918972731, 0.1890726835, -0.0630559176, 0.6629428864, -0.5691389441, 0.2426185757, -0.0865759552, -0.4258693755, -0.3427039087, -0.21524553, 0.7155071497, 0.3956900537, -0.4820614159, 0.3234605789, -0.8160214424, 0.4099363387, -0.0843198672, -0.5882095098, 0.1959805787, -0.1340455711, -0.0748931319, 0.234050855, 0.1342577189, -0.1205011457, 0.1585604697, -0.6710698009, 0.6052442789, 0.536463201, -0.2638320923, 0.7048306465, -0.2017371356, 0.6196982861, -0.019928379, -0.0882099047, -0.4442991018, -0.2623298764, -0.867123425, -0.0141507732, 0.4790566862, 0.6607174873, -0.7559180856, 0.4527674317, -0.2950590849, -0.5597754717, -0.3186315, 0.4446940422, 0.6819072962, 0.4466283917, 0.4698753357, -0.423568517, -0.5682442188, -0.6941060424, -0.0230153762, 0.152974993, -0.2283176631, 0.0072589987, 0.4353322387, -0.3201025128, 0.6722051501, -0.3774218559, 0.0134376027, -0.1731473356, 0.5218846202, 0.0293451902, 0.8904080987, 0.3340111077, -0.8072515726, -0.4243314862, 0.1132674739, -0.663602829, 0.2134933472, 0.0659885779, -0.0647807792, -0.0205825604, 0.8385137916, -0.5170935988, 0.1289441586, 0.4032953084, -0.0288678687, 0.625646174, -0.2585508823, 0.0920694619, -1.0757707357, 0.1758096665, -0.1643451452, -0.1156543493, -0.9403135777, 0.1783628762, 0.0957805663, -0.4383091033, -0.6545213461, 0.4084565043, -0.3401001096, 0.1096896753, -0.2926922441, -0.501616776, -0.1673413217, 0.5370982885, 0.2977141142, 0.6024439931, 0.594325006, -0.7720046043, 0.2592924833, -0.0070474157, -0.6474065185, 0.0925098583, -0.8316951394, 0.2451176941, -0.100860402, -0.0539556332, -0.5301753879, -0.4903214872, 0.0587903969, -0.013634352, 0.5174044371, -0.0758050531, -0.3013552725, -0.1747516394, 0.2665583789, 0.5318110585, 0.6923618913, -0.3325113058, 0.4968200922, -0.1942909062, -0.2603651285, -0.4967199862, -0.4008511603, -0.361142844, 0.0145715801, -0.3001061082, 0.5211779475, -0.2177253962, 0.1503933519, -0.1663981825, 0.0473426394, -0.000677719, 0.2079077512, 0.3163787425, 0.0268121809, -0.4213126004, 0.015953185, -0.0453840904, -0.1403956413, -0.0996458605, -0.6321994662, 0.7167223096, -0.3677918315, -0.3172827959, -0.219657585, 0.3539528251, 0.3324575126, -0.2232590765, 0.7170809507, 0.3467613459, -0.4999506772, -0.3041864634, -0.1673693657, -0.143075645, -0.5132668614, 0.5685810447, -0.2935282886, -1.1229845285, 0.3111597598, -0.2658092082, -0.164919883, 0.4667956829, 0.525195539, -0.0487168916, 0.788554728, 0.7634499073, -0.2373092324, 0.5635305643, -0.3293536603, 0.0471230522, -0.3424410522, -0.1459344029, -0.543307364, -0.1028085276, -0.218801409, -0.5412302017, 0.0361974053, 0.5117864609, -0.6258548498, 0.2179021984, -0.2844811678, 0.7114602923, 0.5972182155, 0.2011276633, -0.1075386778, 0.0577473864, -0.2725470662, 0.3034777641, -0.7542013526, -0.4991448522, 1.1002902985, -0.0313973278, 0.7814384699, -0.1331094801, 0.5495087504, 0.2847362459, 0.3277344108, -0.6013090014, 0.4156186879, -0.4124928117, -0.6272457242, -0.5115138888, -0.4644113183, -0.8257752657, -0.1070607752, -0.0470367782, -0.6645659208, 0.176909551, 0.4969515502, -0.6570757031, 0.1749310941, -0.8371815085, 1.3694025278, -0.3116415739, -0.1308887005, -0.1103226095, -0.886133194, 0.2690577805, -0.1162933707, 0.0922360122, 0.1190777197, 0.3668295741, 0.4464114308, -0.6130801439, 1.1382375956, -0.0910751671, -0.0626357123, 0.1744935215, -0.004830719, 0.4372420311, -0.214462176, -0.0768429562, -0.1713859141, -0.1190513968, -0.6233484149, -0.6105983257, 0.5755543113, -0.7447617054, -0.6508793235, -0.0441688001, -0.4035682976, -0.3044735491, 0.3296999633, 0.5430054665, 0.4109695554, -0.5907274485, 0.2464262694, 0.9218104482, -0.0859587416, 0.3651777804, 0.3635006547, 0.1313266605, -0.2395082265, 1.043050766, -0.2511076927, 0.5981573462, 0.7259255648, -0.1266140491, 0.0568487197, -0.5821788311, -0.5216348767, -0.0862636566, -0.7638232708, -0.0499862172, -0.4761535525, -0.2832130194, -0.4118964076, -0.3215117455, -0.4762624204, -0.2475170493, -0.6736235023, -0.0249958858, 0.0474840999, 0.6941906214, -0.0068262657, 0.6054373384, -0.8208023906, 0.3709118664, 0.7022250891, 0.3906923234, 0.0333768167, -0.4854255021, -0.6112100482, 0.2672008276, -0.0984355509, -0.7175291777, 0.2656196356, 0.5493401885, 0.3960590065, 0.4474619627, -0.2645463347, 0.6171064377, -0.9156640768, 0.6439574361, 0.1270076036, -1.0664328337, 0.8102490306, -0.4403240383, 0.4088078737, 0.4709635377, 0.6923641562, -0.3011796772, 0.2569427192, -0.4650184214, -0.6773854494, 0.8232805729, -0.0311430749, 0.0708079264, -0.0827208906, 0.6524178386, 0.0002792756, 0.3162938654, -0.4199870825, -0.2011086643, -0.4835581481, -0.4725900888, -0.6052724719, -0.142240867, -0.1135248989, -0.3503338695, 0.5479465723, -0.3517006338, 0.1486704201, -0.2220675349, -0.4719264507, -0.120939292, 0.4413219988, 0.7901957035, 0.4752854109, -0.145216316, -0.0108103799, 0.1333166212, -0.5719255209, 0.3956072927, 0.3421896696, -0.0775001049, -0.362198025, 0.1723738015, 0.9322223663, 0.6137549877, -0.7438672781, 0.1680530608, 0.2673918903, -0.1684654206, -0.0900167525, 0.3703317642, 0.2467320412, 0.049011413, 0.1929302067, -0.0193490908, -0.0519009084, -0.4792751968, 0.2655381858, 0.3954404593, -0.3619141281, -0.5228272676, 0.8141656518, 0.1579475105, -0.1800159663, 0.7641276121, -0.2912654281, -0.346083492, 0.7962341309, 0.6066331863, 0.6980599761, -0.4690000117, 0.2592534721, 0.3454472721, 0.2543022037, -0.5177478194, 0.3059512079, -0.0669943243, -0.7534326315, -0.3727334738, -0.9574721456, -0.366579771, 0.3613276184, -0.7251517177, 0.0739137754, -0.8712410927, 0.2081476152, 0.1412205994, -0.1391851604, -0.9097956419, 0.7674719095, 0.1065254062, 0.6690688133, -0.856916666, 1.0620487928, 0.8322979212, -0.4153697491, -0.8315243721, -0.5240928531, 0.0029181771, -0.5235334039, 0.8275175691, 0.1434021294, -0.0919941142, 0.4260056317, -0.5647104383, -0.8205086589, 1.0461705923, 0.5740196705, -0.7874243855, -0.4996524751, 0.3795382679, 0.5210180283, -0.5374466181, -0.1229891628, 0.655587256, -0.0884448588, 0.0926164538, -0.810824573, 0.0062824315, -0.4601676464, 0.2500920296, 0.0677675977, -0.3671992123, 1.1108820438, -0.2734488249, -0.2823235393, 0.5303613544, 0.7746819854, 0.1727634221, -0.0818058252, 0.36123541, 0.781416595, 0.6499843597, -0.1778046787, 1.0531135798, -0.1668775827, 0.1204724982, 1.146006465, -0.1599953771, 0.7397274971, 0.0150274299, -0.2321753055, 0.5745577216, 0.6915463209, 0.0973643512, 0.6851841807, 0.3645064235, -0.3973969817, -0.5171328187, 0.3037716746, -0.5266751051, 0.0694135875, 0.6405854225, -0.487444371, -0.1041271687, 0.1336720437, -0.2951439619, -0.0326629095, -0.4800331593, 0.4602214992, 0.1115922853, -0.534768343, 0.5866815448, 0.0630706996, 0.5170192719, -0.6648240089, -0.0274477229, -0.0395809487, 0.1099235564, -0.0218702313, -0.123072207, 0.0149474917, -0.1008367613, -0.5045937896, -0.2625572085, 0.5516989827, -0.5027960539, -0.3936713338, -0.1900235713, 0.3460646272, 0.0238425247, -0.1956591606, -0.5027668476, -0.200935021, -0.0875510424, -0.0982518792, 0.4002340734, 0.3708589077, 0.0414379314, 0.5194029212, 0.5287723541, -0.0967005044, 0.206937626, 0.1343431622, 0.7833876014, -0.8987409472, -0.5893672109, -0.6080106497, 0.545578301, 0.3713663816, -0.3032775223, 0.3335133791, 0.4314312637, 1.2209402323, -0.5878167152, 0.8518236876, -0.122571364, 0.2743460238, -0.8108612299, 0.5955364108, -0.3537921607, 0.1395924091, -0.1563833207, -0.7506791353, -0.2093288451, 0.5859194994, -0.2231918722, 0.5087133646, 0.5783547759, 0.7811185122, -0.0639091283, 0.1849837154, 0.4116621614, -0.0248535331, 0.1129183099, 0.8177539706, 0.7583169341, -0.2896821201, 0.1617774814, -0.284840107, 0.0215816051, -0.2053917646, -0.8165063858, -0.9714121222, -0.6033035517, -0.311031729, -0.0128085269, 0.209142372, 0.8836106062, 0.9661281109, -1.155579567, -0.2084885985, -0.5417017341, -0.1908281893, -0.1388040632, -0.1473154575, 0.2263762206, -0.6966841817, -0.7444783449, 0.5673675537, 0.0425671339, 0.4231724441, -0.1218384355, -0.2554085255, -0.0366636738, -0.2574358284, 0.6146495342, 0.9142028689, -0.6753282547, -0.1551041901, 0.1064563394, -0.2672591209, -0.2045519501, 1.0633877516, -0.7709340453, 0.4197416902, 0.253610909, 0.8524026871, 0.4292415082, -0.0429402925, 0.9260268211, -0.9874654412, 0.2809807062, 0.2355809212, 0.1889081001, 0.368953824, -0.2578795552, 0.3600662351, 0.2109203935, -0.3539890051, -0.5449718833, 0.4275665879, -0.7677326798, -0.30961743, 0.8203386068, -0.2117978036, 0.0443627909, 0.0602963082, 0.2306298912, 0.4215848744, 0.1938627213, 0.5417525768, 0.5129706264, 0.075461179, -0.1676870435, -0.3425229788, 0.9946535826, 0.669084549, -0.8990572691, -0.1282081902, 0.5538091063, 0.2452389598, 0.092297703, 0.5069244504, -0.0104735894, 0.4918608963, -0.0595160089, 0.0588357933, -0.1108517945, -0.6558711529, -0.5591760278, 0.1795480698, 0.1164012551, 0.0084853806 ]
http://arxiv.org/abs/2402.05602v2
http://arxiv.org/pdf/2402.05602v2
AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers
2024-02-08T12:01:24
2024-06-10T09:58:55
Reduan Achtibat, Sayed Mohammad Vakilzadeh Hatefi, Maximilian Dreyer, Aakriti Jain, Thomas Wiegand, Sebastian Lapuschkin, Wojciech Samek
cs.CL
cs.CL, cs.AI, cs.CV, cs.LG
Large Language Models are prone to biased predictions and hallucinations, underlining the paramount importance of understanding their model-internal reasoning process. However, achieving faithful attributions for the entirety of a black-box transformer model and maintaining computational efficiency is an unsolved challenge. By extending the Layer-wise Relevance Propagation attribution method to handle attention layers, we address these challenges effectively. While partial solutions exist, our method is the first to faithfully and holistically attribute not only input but also latent representations of transformer models with the computational efficiency similar to a single backward pass. Through extensive evaluations against existing methods on LLaMa 2, Mixtral 8x7b, Flan-T5 and vision transformer architectures, we demonstrate that our proposed approach surpasses alternative methods in terms of faithfulness and enables the understanding of latent representations, opening up the door for concept-based explanations. We provide an LRP library at https://github.com/rachtibat/LRP-eXplains-Transformers.
[ -0.01283227, -0.5327941775, 0.7842439413, 0.2915054858, -0.2222201973, -0.0876215175, -0.2441082597, -0.4456263185, -0.1785536557, 0.6695236564, -0.3952001631, 0.0495687947, -0.4179039299, -0.3963978291, -0.6000807881, 0.7447410822, 0.0190376174, -0.3420087397, -0.1956951171, 0.0918860286, -0.0958318487, -0.3857675493, -0.5187216401, -0.8373845816, 0.8685360551, 0.2902317643, 0.7835019231, 0.4498199821, 0.7115980387, 0.2321518511, -0.4465901256, 0.0252428278, -0.5086286068, 0.2194531858, -0.449560374, -0.3899667263, -0.297752142, -0.250345856, 0.7220762968, 0.395621419, -0.3051133156, 0.3870027363, 0.1026239321, 0.4829889834, -0.6966366172, -0.0207773801, -0.9834486246, 0.2209784687, -0.0535494089, -0.5249958038, -0.7751885056, -0.1659548581, 0.0554607622, -0.4385820031, 0.3614139259, -0.0326118432, 0.6046527028, 0.6287979484, -0.2114717215, 0.293779403, -1.0966674089, 0.969575882, -0.3922345042, 0.6550132632, 0.3005975485, 0.7003851533, 0.0569195151, -0.9658094645, -0.5530619621, -0.0405302607, -0.2523920238, 0.2577671707, -0.1153217405, -0.0887436345, 0.1405223012, 0.5768883228, -0.2075462192, -0.2399088889, -0.3473882973, -0.3572086394, 0.2052330971, -0.233776927, -0.3632256389, -0.1034896076, -0.3397840261, -0.3089297116, -0.5649959445, -0.150639385, 0.067515716, 0.1721836179, -0.0337902345, 0.7306014299, 0.2992455065, 0.5926745534, 0.3059775531, -0.0398748927, 0.1603329778, -0.414634347, -0.1051637754, 0.2170545906, 0.5458740592, -0.0335521102, 0.0362908244, -0.5991994739, -0.2678559422, 0.014425165, 0.857631743, -0.5168052316, -0.0011825485, 0.2294737697, -0.5620049834, -0.4336159527, -0.2562057078, -0.756125927, -0.262178272, -0.0501230843, 0.5727174282, -0.0631555691, -0.2691994607, 0.0763661638, 0.0569303334, 0.5260642767, 0.3265269399, -0.5580710173, -0.0515093841, 0.8213297129, 0.6287750602, -0.0290075522, 0.0039198422, -0.4651845396, 0.4724200666, 0.0397568233, 0.7453439236, -0.6070669293, -0.0001161272, -0.1688846946, -0.2588876188, 0.0245292746, -0.4682256877, 0.99410218, -0.7803713083, 0.2807559669, 0.0356180854, -0.2232732177, -0.0409298427, 0.1781712323, -0.559263289, 1.0416499376, 0.3263375163, -0.8274542689, 0.0022465999, -0.7255985737, -0.4811308086, -0.2259367555, 0.0267961528, -0.6202033162, 0.4759448469, 0.338402003, 0.5036625862, -0.2637422383, 0.32791695, -0.0017599129, -0.3541027606, 0.2621510625, -0.7444365025, 0.5156441331, 0.198401168, -0.3438686728, 0.2862751484, -0.6271935701, 0.0190495215, 0.4047375619, 0.0352794454, -0.0686680973, -0.0378444158, 0.0375965759, 0.1697888076, 0.0775846094, -0.4366376698, -0.0040328349, -0.3802583814, 0.5000380278, 0.7270348072, -0.114359282, 0.6127935648, -0.1244904771, 0.3616921306, 0.0126855047, 0.3781353533, -0.1615279168, -0.574775219, -0.744528234, 0.1044535041, -0.1309837252, 0.4685544074, -0.7543461323, 0.3333067298, -0.4570468366, -0.5420533419, -0.602951169, -0.1448005289, 0.3997308314, 0.9027550817, 0.70951581, -0.0321314782, -0.3558014631, -1.0105184317, -0.1927067935, -0.2312188447, -0.2247043252, 0.4479067624, 0.2059211284, -0.2510095239, 0.7525553107, -0.3496269882, -0.5309795737, -0.4079521298, -0.1671761721, 0.3556919396, 0.3396513164, 0.3877852261, -0.9373309612, -0.2897087038, 0.1712623388, -0.4602451921, 0.0636967421, -0.0281699132, -0.2259494066, -0.1887681037, 0.3529867232, -0.5789824724, 0.2799676061, 0.5265309811, -0.1645123661, 0.261592716, -0.0046741813, -0.0182860121, -0.8696574569, 0.2161125392, -0.1146656945, -0.4247380197, -0.6881763935, 0.2622335851, 0.1786790341, -0.0746742487, -0.525401473, 0.5947405696, -0.0996172503, -0.1482049376, -0.0650981292, 0.0654965565, 0.2036225498, 0.4982535243, -0.0220517628, 0.864557445, 0.3963969946, -0.4522832632, 0.3249955177, 0.2340211421, -0.2561689019, 0.2694314718, -0.9007572532, 0.4187800288, -0.2894537151, 0.3429995179, -0.7472328544, -0.1186915189, 0.5287231207, -0.2675330341, 0.3699736595, -0.0988637507, -0.5401966572, -0.4284934402, -0.1105674505, 0.7367563248, 0.5846062303, -0.7776836157, 1.1067156792, 0.0998198166, 0.3507315814, -0.7720309496, -0.8704825044, -0.0992282182, -0.4170481265, -0.4696640968, 0.7922105193, 0.0935703516, -0.1125400886, -0.0295475181, -0.3511469066, -0.1222040579, -0.0897785202, -0.1240167469, -0.1049310863, -0.3177581429, -0.0435704216, -0.2349992096, -0.2602932155, 0.1833789647, -0.3450572491, 0.4080451131, -0.0480047315, -0.5192648768, -0.3145747185, 0.133922115, 0.3962474763, -0.3356660903, 0.7371994853, 0.7614258528, -0.2785887718, -0.2421907336, -0.7857972383, -0.4502337277, -0.5200454593, 0.2805488706, -0.3106075227, -0.7954328656, 0.7819547653, 0.300603807, -0.0611961894, 0.587262094, 0.498480618, 0.0716933236, 0.70252949, 0.7603107691, -0.0736343339, 0.5698441267, -0.0570738353, 0.4833354056, -0.941382885, -0.4222836196, -0.447040081, -0.2132599056, -0.1756039262, -0.8920198083, 0.3344473839, -0.0831617266, -0.071585238, 0.3474667668, -0.7993878722, 0.6016878486, 0.3434585631, 0.4148770273, 0.3685400486, 0.2759640217, 0.2320702523, -0.0881616548, -0.7350705266, -0.2180064619, 0.8363493681, 0.6667537689, 0.8958961964, 0.13470532, 0.3541179895, 0.1502433866, 0.3575388193, -0.7616391778, 0.3522128761, -0.1025797501, -0.443805635, -0.1502544582, -0.4854441583, -0.5884252191, 0.2084416151, 0.3090698719, -0.8702111244, 0.2676221132, 0.5252459645, -0.1949439794, 0.4155248106, -0.4266676903, 0.8094495535, -0.1925798357, -0.6290357113, -0.4111879766, -0.7794942856, 0.3330331743, -0.1413751245, -0.0747589394, 0.260848701, -0.0091747241, 0.4517457485, -0.0971872807, 0.6061500907, -0.0524755679, -0.5473409295, 0.3568243086, -0.1157885492, 0.7196677327, 0.0801050141, -0.3226606548, 0.1089459807, -0.7397448421, -0.1426913738, -0.8921210766, 0.5735860467, -0.573697865, -0.5568856597, -0.0427419543, -0.4675477147, -0.1171293408, 0.094008185, 0.3164854646, 0.2833862603, 0.294460237, 0.4605380297, 0.9605784416, -0.0781823322, 0.1557161063, -0.0176163949, -0.1819981933, -0.067811206, 0.9118622541, -0.3348499238, 0.3734309971, 0.7240347862, 0.4059310555, -0.4436034858, -0.3385525644, -0.1867467463, 0.2302436978, -1.1069500446, -0.3357020319, -0.7432630658, -0.4826157391, -0.1136720777, -0.1604037881, -0.7095854878, -0.3677354753, -0.3536852896, 0.195052892, 0.2587024271, 0.4583738148, 0.2203554213, 0.4587253928, -0.5071977973, 0.6598898172, 0.3331988752, 0.6570475101, 0.3754622638, -1.0625329018, -0.1274240464, -0.004325564, -0.4505695105, -0.644323349, 0.0552060716, 0.4044628739, 0.7561236024, 0.3588025272, 0.0616033264, 0.6849470735, -0.5113962293, 0.6140868068, -0.0203446317, -0.9867254496, 0.7085587978, -0.121334061, 0.3540309668, 0.2892190218, 0.0999227539, -0.2736194432, -0.5386958122, -0.6887913346, -0.9612872005, 0.6977174282, 0.5269796252, 0.2038687021, 0.3237412274, 0.6017699242, -0.1196524724, 0.1239723787, -1.037104845, -0.4236544371, -0.6065419316, -0.1252833605, -0.1454789639, -0.4148559272, -0.0374093652, -0.2703027129, 0.6543834805, -0.2452245057, 0.7815128565, 0.2927845418, -0.229614839, -0.2874613702, 0.4142551124, 0.6947237849, 0.6905300617, -0.2290785313, 0.4478586316, -0.0056785149, -0.349920541, 0.048312854, -0.0644526705, -0.0727377087, -0.0413567275, 0.4444976151, 0.7357780933, 0.2164667845, -0.2577801943, 0.5809532404, -0.0038286794, 0.0404559299, -0.3053620756, 0.0237697884, -0.10254886, 0.4809602797, 0.6673635244, 0.1937579364, 0.2109470814, -0.3363932371, 0.266567111, 0.31137079, -0.6639682055, -0.3276498318, 0.8474566936, -0.1249898523, -0.105769977, 0.5717120171, 0.1981509626, -0.852183044, 0.4654223025, 0.7029818296, 0.9754056931, -0.3488096595, -0.007551508, 0.2816713154, 0.4398300648, -0.1774658859, -0.0946610123, -0.2799213529, -0.8000203967, -0.8132966757, -0.5263507962, -0.4415008724, 0.1948962063, -0.5654283762, 0.1478155702, -0.122441791, -0.0284978487, 0.1014171317, -0.6149456501, -0.5522817373, 0.0076350085, 0.2544976175, 0.6741637588, -0.5967866182, 0.8554596901, 0.6193190217, -0.1115106791, -0.703751266, 0.2429328859, -0.4842635691, -0.9274010062, 0.6460347772, 0.2172756046, -0.3825443983, 0.0611272752, -0.4640878141, -0.9466354251, 0.8303832412, 0.5814889669, -0.2450636178, 0.0050682859, 0.209606573, 0.6028048396, -0.1956685483, 0.4798404574, 0.1822527647, 0.602086544, 0.3947630525, -0.8616749048, -0.0053925207, -0.0436425023, 0.0487091057, 0.023324959, -0.5109130144, 0.3463670909, -0.3996152878, -0.0854929537, -0.296274364, 0.8769086599, 0.0524938144, 0.0442901403, 0.5865377188, 0.3484252393, 0.286385119, -0.2273693532, 1.112431407, -0.1530724168, 0.4593695104, 1.1181812286, -0.0226322655, 0.7280184031, 0.8160533309, -0.1253671795, 0.3298264742, 0.2401593477, 0.1060351357, 0.8341177106, -0.0015660962, 0.0111194933, -0.3481448591, -0.4674671292, -0.4141049385, 0.4309408367, 0.2346450984, -0.6787568927, -0.138985008, 0.0106391823, -0.3665466905, -0.075112693, -0.3489503264, 0.6645059586, 0.1488528848, -0.5328919888, 0.5235543847, -0.2164977044, 0.6102746725, -0.562928319, -0.1547870338, -0.0453427248, 0.5820772648, -0.2620641291, -1.0081152916, 0.6513610482, -0.2737312615, -0.3627582788, -0.7022337317, 0.9904173017, -0.4444135427, -0.6457434893, 0.3490300179, 0.1670143455, -0.0892607719, -0.283962816, -0.5080387592, 0.1377331614, 0.0452704541, -0.486379236, -0.0478027053, 0.3803757429, -0.0374398939, 0.9158872962, 0.2532510161, -0.0757386982, 0.0851436928, 0.317482233, 0.9697981477, -0.3833922446, -0.2917389572, -0.698082149, 0.7348858714, 0.032025326, 0.0729509369, 0.5291398764, 0.3739659488, 0.6451234221, -0.0989719555, 0.3795082569, 0.1986898333, 0.3754615188, -0.2950970531, 0.5652042627, -0.8266039491, 0.38068524, -0.3994808495, -1.5054740906, -0.4564221501, 0.9190090895, -0.0446228907, 0.1534851491, 0.5345211625, 0.5181356072, -0.6699888706, -0.1121204272, 0.2171359658, 0.2665069997, 0.377240181, 0.4916984439, 0.8987435699, -0.6649982929, 0.7057667375, -0.6263307333, 0.1076385975, -0.2501053214, -1.1523580551, -0.7121626139, -0.3997210562, -0.3064054847, -0.2372270077, 0.0520265624, 0.5322932005, 0.5479158759, -0.7288833857, 0.2152298838, -0.1368277967, 0.2054617703, -0.3119166493, -0.2506368458, 0.4515418708, -0.097262457, -0.3142170012, 0.313690722, 0.1692185402, -0.0318409689, -0.5948380828, 0.0766481832, 0.225630179, -0.150091067, 0.7276816368, -0.12697047, -1.0998108387, -0.562507093, 0.0556501411, 0.0097483648, 0.2714695036, 0.9747589231, -0.9461113214, 0.2430626154, 0.3599714637, 0.7573558092, 0.5987546444, 0.0033222537, 0.577829361, -1.0121198893, 0.3403161168, 0.5106529593, 0.2185818553, 0.5228069425, -0.6395228505, 0.5214754939, -0.0597101264, -0.5179088116, -0.8712480068, 0.297606647, -1.1562336683, 0.1110859886, 1.063431859, -0.013413582, -0.2240196913, -0.0473055243, 0.0389057696, 0.3813388646, -0.4466887712, 0.8046948314, 0.2003526092, 0.1408426762, -0.7622526884, -0.4036584795, 0.2917767167, 0.5901928544, -0.5333226919, 0.3845902085, 0.0199089013, -0.2779528499, 0.5374827981, 0.2928633988, -0.0988813043, 0.0264571309, -0.3165925443, -0.1634664387, -0.0909247622, -0.5205524564, -0.2149736434, 0.1562716961, -0.0305104982, 0.3339740932 ]
http://arxiv.org/abs/2402.05591v1
http://arxiv.org/pdf/2402.05591v1
SoftEDA: Rethinking Rule-Based Data Augmentation with Soft Labels
2024-02-08T11:44:25
2024-02-08T11:44:25
Juhwan Choi, Kyohoon Jin, Junho Lee, Sangmin Song, Youngbin Kim
cs.CL
cs.CL, cs.AI
Rule-based text data augmentation is widely used for NLP tasks due to its simplicity. However, this method can potentially damage the original meaning of the text, ultimately hurting the performance of the model. To overcome this limitation, we propose a straightforward technique for applying soft labels to augmented data. We conducted experiments across seven different classification tasks and empirically demonstrated the effectiveness of our proposed approach. We have publicly opened our source code for reproducibility.
[ -0.0543214679, -0.9579769969, 0.3092830479, -0.0368030928, -0.4219552875, -0.2974870801, -0.1897345483, -0.7194164991, 0.3737835884, 0.9911555052, -0.7751974463, -0.5357350707, -0.4423382282, 0.0694513768, -0.3362340629, 1.5045558214, -0.0188328736, -0.3771719933, -0.1499407291, -0.4011148512, -0.6907058358, -0.6252192855, -0.162295714, -0.2225039899, 0.7272341847, 0.6695662737, 1.16527915, 0.7294660211, 0.7043579817, 0.3780864179, -0.32888183, 0.6134192348, -0.3473243713, 0.3700171113, -0.1184719056, -0.5859801173, -1.0211800337, -0.1270745248, 0.587187767, 1.1766322851, -0.0514077768, 0.0413905866, 0.1290133446, 0.6514159441, -0.5015469193, 0.0752379745, -0.4779735506, 0.2000132948, -0.3621788919, -0.2143500596, -0.2834146321, -0.4947354496, 0.1400855333, -0.8745746613, 0.4207775891, -0.0324888602, 0.6213477254, 0.4815120697, -0.4458538592, -0.1977988482, -0.9296229482, 0.7444165945, -0.780959785, 0.2196227759, 0.1642194092, -0.0222312994, -0.1619392782, -1.0647718906, -0.6281548738, 0.022313999, -0.1617421061, -0.2131638825, 0.1968242079, 0.2351005822, 0.424028933, 0.5781078339, -0.1815439761, 0.1114308909, -0.3489376605, -0.0052614063, 0.747674644, 0.2596426904, 0.3472692072, -0.1535534859, -0.3195239007, -0.1694804579, -0.6368032694, -0.2287068069, 0.2760840058, 0.701394558, 0.2165637463, 0.8226040006, -0.1355913877, 0.5419849157, 0.2055793703, -0.1127072796, 0.9718145728, -0.3055953979, -0.2292306125, 0.1873071492, 0.4746277034, 0.3746906817, -0.0618951991, -0.409280479, -0.2860588431, 0.0049341642, 0.371392101, -0.7618175745, 0.1898797601, 0.1864462793, -0.4429187775, -0.4433618188, -0.1209462732, -0.9047503471, -0.5892280936, -0.4106014669, 0.7565280199, -0.2362027615, -0.2597348988, 0.2047057897, -0.1032180414, -0.0571862385, 0.2948627472, -0.9411329627, 0.503035605, 1.1274507046, 0.6645789742, 0.056568794, -0.331256777, -0.3302486837, 0.1229339987, -0.3906272352, 0.9569634199, -0.4100188315, -0.4581101835, -0.0750862882, 0.2088225335, 0.1391774565, -0.4682755172, 1.1156328917, -0.2570303679, 0.2048555464, -0.1095460728, -0.7300487161, -0.3865174651, -0.123387292, -1.0005199909, 0.8726618886, 0.0084051043, -0.5325315595, 0.695544064, -0.6686943173, -0.74868536, 0.2782135606, 0.1173840687, -0.6355531812, 0.0855311304, 0.0216223858, 0.5206766725, 0.0046142638, 0.4808571041, -0.3580970764, -0.492708683, 0.3027683794, -0.574272573, 0.611503005, 0.0750175864, -0.4189789593, 0.165996626, -0.799281776, 0.0536896326, -0.0933805555, -0.3431242406, -0.6869996786, 0.1575817019, 0.2284390032, -0.1142479554, 0.1971603185, -0.5197328925, 0.6308803558, -0.8247036338, -0.0932854861, 0.91578722, -0.3164105117, 0.6847389936, -0.4745708406, 0.3096532226, -0.2847372293, 0.2935637832, -0.113977544, -0.6355107427, -0.5121016502, -0.2071394771, 0.7228665948, 0.5631793141, -0.9544317126, 0.3391841948, -0.2893679142, -0.632399559, -0.857693553, 0.655538857, 0.1835898012, 0.7674242854, 0.5647030473, -0.3027756512, -0.7113009691, -0.9265704751, -0.2573312819, 0.1541373581, -0.0237317123, 0.3951497078, 0.3621727824, -0.7236620784, 0.7324978709, -0.7172576785, -0.4852125645, -0.2060818672, 0.2514986992, 0.5753129125, 0.6051883698, 0.465436697, -1.0475255251, 0.0721981302, -0.1714603454, -0.6543534398, -0.3740124106, -0.0701347739, 0.131676048, 0.1159868017, 0.3781206012, -0.4262160659, 0.5507901907, 0.3609131277, -0.5385147929, 0.5844433904, -0.3640341163, 0.2620242536, -0.8400994539, -0.1076259762, 0.1851672679, -0.1330286115, -0.921223104, 0.2684274316, 0.0019210248, -0.0094044674, -0.5629841685, 0.457649231, -0.1819474846, 0.156607151, -0.6190198064, -0.2909536362, 0.1547490805, 0.4933680594, 0.167451933, 0.5599988699, 0.3469549119, -0.741887629, 0.3726859689, 0.336933136, -0.3647279143, 0.4802695215, -0.9209090471, 0.1525831521, -0.3516146243, 0.4003439248, -0.8747282028, -0.1477614492, 0.2952035367, -0.1562432498, 0.3140444458, -0.2565566599, -0.61288625, 0.0192693211, -0.5361712575, 0.6840209961, 0.5055750012, -0.7200625539, 0.7099900246, 0.6139342189, -0.144504115, -0.407561034, -0.7481575012, 0.2342082113, -0.517919004, -0.7621484399, 0.7764791846, -0.0911715105, -0.2551861107, 0.0418972448, 0.1424862593, -0.272941798, 0.1160387471, 0.5871879458, 0.2205509841, -0.1830245107, 0.1654007435, 0.2735314071, -0.1784590185, -0.2491969615, 0.1560636014, 0.1756931245, -0.071770072, -0.0034199916, -0.4436606765, 0.4761627018, 0.3610226214, 0.1762195677, 0.856530726, 0.4985183775, -0.4990125299, -0.3311246037, -0.3165521622, -0.0813795179, -0.6355558634, 0.0180335939, -0.2699202895, -0.4527525902, 0.2403362095, -0.2635641396, 0.3409578204, 0.5845342278, 0.3070838749, -0.3125279248, 1.1930468082, 0.815502286, 0.3316833973, 0.5418911576, -0.1955575645, -0.1433530003, -0.8201355338, -0.4121451974, -0.5030130744, -0.4739455581, -0.7082444429, -0.3824262619, 0.2677071691, -0.2625791728, 0.2320303768, 0.297347635, -0.6697447896, 0.1892107874, 0.4185034335, 0.5239144564, 0.2170971781, -0.1083872169, 0.4043284953, -0.2540899813, -0.7228655219, -0.3819592893, 1.1773319244, 0.4066223502, 1.0160161257, 0.1533112973, 0.4532312453, 0.7306415439, 0.3831668496, -0.7293933034, 0.586841464, -0.6414683461, -0.6874314547, 0.0144028943, -0.5264543295, -1.2480247021, 0.0878714696, -0.4951808155, -0.2688904405, 0.5207031965, 0.3142158389, -0.2046130896, 0.1351788342, -1.0515395403, 0.6607838869, -0.3106188774, -0.4230662286, 0.0772323981, -0.3575931191, 0.3244432509, -0.1708892733, 0.5051797032, 0.0984994397, -0.3628398478, 1.4307258129, -0.9776520133, 1.1440856457, -0.2878921926, -0.3649422824, 0.3386962116, -0.2976228893, 0.3264944255, -0.1986490041, -0.1181767657, 0.0369647257, -0.0761765614, -0.3724703789, -0.7976450324, 0.7387124896, -0.4430634677, -0.370225668, -0.3724957407, -0.5893545151, -0.2473332137, 0.06208786, -0.2029610425, 0.6890838742, 0.1972006112, 0.3338653147, 0.6666246057, -0.1732483953, -0.0462447144, 0.52688694, -0.147185117, -0.4768858552, 1.0601462126, 0.3974928558, -0.0237641893, -0.0682692155, 0.2686475813, -0.4253363609, -0.5508977175, -0.3734760582, 0.0063608312, -0.432041347, -0.2206729501, -0.3969202638, 0.1373270601, -0.5886301398, -0.1794116497, -0.2591754794, -0.8445228934, -0.4104778767, -0.224750638, 0.7849330902, 0.6946216226, -0.2154785246, 0.5263796449, -0.6772147417, 0.7276465297, 0.2418597788, 0.6824535131, -0.4674458802, -0.5604697466, -0.0886102766, 0.3438546956, 0.064732261, -1.0787389278, 0.3172167242, 0.4025156796, 0.5383060575, 0.2843618095, -0.068674989, 0.6486626863, -0.6837467551, 0.4628975987, -0.0632996336, -0.8403285146, 0.7581547499, -0.2206834108, -0.0529892519, 0.7199962735, 0.0770673081, -0.3653859198, 0.0135447979, -0.8835954666, -1.3361045122, 0.4214017689, 0.0299562477, 0.4049758315, 0.2962333262, 0.8088903427, 0.5462025404, 0.2515876591, -0.3196022511, -0.4644262493, -0.1728508323, -0.5141506791, -0.121756278, -0.3706673682, 0.1966909021, -0.3300480843, 0.6784178615, -0.1396449804, -0.0309238005, 0.1862182617, -0.1660411358, 0.0029422806, 0.1182828769, 0.2361769378, 0.2964946628, -0.3318212628, 0.0220492817, 0.3168226779, -0.6007928848, -0.0524055436, 0.3473905921, -0.5865411162, 0.1717964262, 0.3033978343, 0.7097565532, 0.5248452425, -0.7618732452, 0.1649916172, -0.0176729746, -0.348023504, 0.1481220722, 0.3345618844, -0.5056909323, -0.0773556903, 0.4094188511, 0.0788090378, 0.5443964601, -0.8384712338, 0.6418864131, 0.2448827773, -0.4019348919, -0.2234791368, 0.6025292277, 0.4302522838, -0.5952254534, 0.0861760303, 0.1276730448, -0.6257640123, 0.5400246382, 0.5834563375, 0.5346523523, -0.2359479666, 0.2384475321, -0.0254036058, 0.3206214905, -0.0542291887, 0.3252825737, 0.0961176381, -0.6704354882, -0.7855415344, -0.335043937, -0.7417101264, 0.0739816055, -0.5676317215, 0.2189860344, -0.5751923919, -0.3279395103, 0.2994675636, 0.1901563853, -0.5097797513, 0.5815169215, 0.1764512062, 0.8049381971, -0.9543013573, 0.4376938045, 0.7091605067, -0.2614038885, -0.5307258964, -0.3443760574, -0.0057022385, -0.4766016006, 0.1337570995, 0.0520686582, 0.0496526584, -0.384539336, -0.818790555, -0.5102558732, 0.7290391922, 0.0897514001, -0.2936047912, 0.1375862062, 0.1260069609, 0.7936475873, -0.0344370641, 0.0491543449, 0.5336889625, 0.6365791559, -0.0508156717, -0.7499184012, 0.1366011798, -0.5722401738, -0.4736357033, 0.1951694787, -0.3741383851, 0.5650638342, -0.1673592478, -0.1918729842, 0.0101530878, 0.9596708417, -0.0449582934, 0.7090750933, 0.7604157329, 0.4390046, 0.9637540579, -0.0763742328, 1.0360519886, 0.2329242229, 0.209700346, 1.1100885868, -0.319629848, 0.5878241658, 0.3320397437, -0.0583203174, 0.6702040434, 0.3075097203, -0.0827130824, 0.4247404933, -0.1879145354, -0.1934361905, 0.1462205201, -0.5730453134, -0.3652131259, 0.3140535355, 0.6918085217, -0.1127115339, 0.0306451228, 0.1657385975, 0.1366025656, 0.1449085027, -0.6131747365, 0.9336465001, -0.1542267948, -0.3310000598, 0.4229440391, 0.1057878658, 1.1487079859, -0.3330416381, -0.3105672002, -0.0087400591, 0.3274987638, -0.5258343816, -1.1268635988, 0.5805877447, 0.2317371517, -0.0259717591, -0.4066717327, 1.2053706646, -0.3738399148, -0.7933117151, -0.0549128316, 0.3897972703, 0.0696787909, 0.2049924582, -0.7945305705, -0.0669236928, -0.0676725134, -0.2239899933, 0.1811963171, 0.4394337833, 0.0850363821, 0.789465487, 0.8796362281, 0.0210187174, -0.0018571572, 0.08427836, 0.9172185063, -0.6064075828, -0.2823992372, -0.6117473841, 0.4470383823, -0.0161844306, -0.3180269599, 0.8282267451, 0.4805676639, 0.2456152737, 0.203959927, 0.6438132524, -0.0960764512, 0.6957996488, -0.546656549, 0.5096415877, -0.705834806, 0.3907546401, -0.6052163839, -0.7037309408, -0.517475009, 0.2689721286, -0.2466836721, -0.0650209337, 0.3088245392, 0.7860769033, -0.1075696945, 0.1449522674, -0.0615792461, 0.2966316342, 0.1796305329, 0.3340129256, 0.5611673594, -0.5382074714, 0.6620458364, -0.603197217, -0.3136823475, -0.2889135182, -0.7977162004, -0.5032488108, -0.6078688502, -0.5875009894, -0.5540959835, 0.1284404695, 0.7102789879, 0.6406789422, -0.6427473426, 0.3609315455, 0.1384891123, 0.5320269465, -0.3863250911, -0.2718885839, 0.4751255214, -0.056638319, -0.7695496678, 0.624247551, -0.2089802474, 0.1451357305, 0.027146956, 0.0401155949, -0.071068652, 0.0096617546, 0.550748229, 0.4172126651, -0.0158962645, -0.1678201109, -0.2806221545, 0.1207121536, -0.0360731147, 0.7940503359, -1.1164610386, 0.1548048407, 0.5534486771, 0.5892759562, 0.2070466578, 0.2393386215, 0.5684861541, -0.8342847228, 0.2288744003, 0.288978368, 0.3061761856, 0.387580663, -0.5469210744, 0.5156635046, 0.2800393701, -0.4376481473, -1.1719762087, -0.1095068082, -1.1984652281, -0.4507887363, 1.3028916121, 0.1900651157, -0.6016449332, -0.2439971715, -0.5490299463, -0.0254617482, -0.3207697272, 0.7402356267, 0.0142462924, 0.1332388669, 0.1443386525, -0.4438994229, 0.5740848184, 0.4730606377, -0.9824114442, -0.1078330129, 0.550981462, 0.3103321195, 0.312730372, 0.4859564006, 0.1410356909, 0.3654696345, -0.0669747666, -0.1119411364, -0.1917832196, -0.4323198497, -0.2627441287, 0.301024884, -0.1506623179, -0.0530964658 ]
http://arxiv.org/abs/2402.05584v1
http://arxiv.org/pdf/2402.05584v1
AutoAugment Is What You Need: Enhancing Rule-based Augmentation Methods in Low-resource Regimes
2024-02-08T11:36:23
2024-02-08T11:36:23
Juhwan Choi, Kyohoon Jin, Junho Lee, Sangmin Song, Youngbin Kim
cs.CL
cs.CL, cs.AI
Text data augmentation is a complex problem due to the discrete nature of sentences. Although rule-based augmentation methods are widely adopted in real-world applications because of their simplicity, they suffer from potential semantic damage. Previous researchers have suggested easy data augmentation with soft labels (softEDA), employing label smoothing to mitigate this problem. However, finding the best factor for each model and dataset is challenging; therefore, using softEDA in real-world applications is still difficult. In this paper, we propose adapting AutoAugment to solve this problem. The experimental results suggest that the proposed method can boost existing augmentation methods and that rule-based methods can enhance cutting-edge pre-trained language models. We offer the source code.
[ -0.2194535881, -0.885566771, 0.3922864199, 0.1700199246, -0.4340312779, 0.0019069184, -0.2075377703, -0.5478962064, 0.0796817765, 0.6473065019, -0.6560829878, -0.2592790723, -0.541161418, 0.2112895548, -0.3833148479, 1.0389904976, -0.0744940937, -0.4466394186, -0.2194674164, -0.2668537199, -0.5496747494, -0.6082267165, -0.3008341491, -0.1611980945, 0.2698084712, 0.6839954853, 0.8755677342, 1.1053082943, 0.5462095141, 0.4914994538, 0.2112948895, 0.6631731391, -0.4226896465, 0.1806963235, -0.1907484233, -0.2924190164, -0.8381906748, -0.0532265417, 0.5501197577, 0.6805078387, -0.0946918875, -0.0121312076, 0.1648080349, 0.6275422573, -0.6038547158, 0.2350033522, -0.424606055, -0.1711584777, -0.1321990192, -0.3166995645, -0.1407677978, -0.4558739364, 0.2248838395, -0.9603644609, -0.0029666517, 0.2500274479, 1.0077620745, 0.7069176435, -0.1826625019, -0.3056746423, -0.8139116764, 0.686817348, -0.8400139213, 0.2181797624, 0.4720985889, -0.0355801955, -0.2247794867, -0.7092306614, -0.6595339179, -0.0871925279, -0.4847426713, -0.1989732832, -0.1843862534, 0.2004816979, 0.2488756478, 0.4967998266, -0.4385924041, 0.277915597, -0.1643077731, -0.2173891366, 0.725658834, 0.0118021592, 0.4632887542, -0.2138292789, -0.1377096176, -0.3306692243, -0.2318048775, -0.172920689, 0.3718694746, 0.3528049886, -0.1101298183, 0.3669775426, -0.4649954438, 0.9057497978, 0.3695527911, 0.0171933137, 0.6692544818, -0.7231560349, -0.445171386, -0.0013667275, 0.7010464668, 0.1797954142, 0.3140141964, -0.1262706369, -0.2467315644, -0.2154714018, 0.1444379687, -0.9955464005, -0.3228057921, -0.1060258448, -0.4279702604, -0.2719491422, -0.0999752209, -0.8748025894, -0.3192816377, -0.4395570755, 0.5257835388, -0.4313863814, -0.0270880908, 0.1147289202, 0.2295070142, 0.0099846916, 0.3362850547, -0.9435147047, 0.2704739571, 0.4782195389, 0.8354018927, 0.0001487192, -0.1006420255, -0.5511780381, 0.1181444526, -0.1128851622, 1.0519512892, -0.6397222877, -0.3995196819, -0.1742417365, 0.1427329928, -0.0087399073, -0.4012931883, 0.7047845721, -0.2556579411, 0.4361013174, 0.1516759098, -0.5463622212, -0.2016379684, -0.0614273883, -0.7246034145, 1.1823424101, 0.2423121631, -0.3101775348, 0.5822654366, -1.0005910397, -0.8748890162, 0.2349156588, 0.1317236722, -0.5802806616, -0.0859286711, 0.6387829781, 0.3922007382, 0.0771699175, 0.222007066, -0.1796698123, -0.2298433483, 0.1933281124, -0.4894385338, 0.6967208982, 0.181928128, -0.3274215162, 0.2127353251, -0.9119428992, 0.0103218611, -0.1655660272, -0.3477539122, -0.7678415179, 0.2302191108, 0.0113664968, 0.1640394032, 0.3786685467, -0.3479605019, 0.3851044178, -0.8059872985, 0.2536301911, 0.8786101341, 0.0002146167, 0.8572183251, -0.2029045969, 0.3120950162, -0.0075916424, 0.3659129143, -0.2388872057, -0.1379633248, -1.009088397, -0.4939165115, 0.7121649384, 0.6817448139, -1.090054512, 0.7213337421, -0.3038422465, -0.3616960347, -0.951849997, 0.7475582361, 0.1093253866, 0.5192317963, 0.607155323, -0.5067558289, -0.604744494, -1.0203262568, -0.2401479781, -0.1228492558, -0.0215228461, 0.3580929637, 0.1393389702, -0.5298596621, 1.1622769833, -0.6541914344, -0.6262760758, -0.001467461, 0.3534868658, 0.1608325541, 0.6252636909, 0.638610065, -0.8301540613, -0.2932502627, -0.0284095667, -0.6033681035, -0.5450613499, -0.2216056138, -0.1188862994, 0.1385558844, 0.6607044935, -0.125191167, 0.3491630256, 0.5058209896, -0.4404025078, -0.0047200597, -0.6406720281, 0.1540461928, -0.8382568955, -0.0802852586, 0.2061212808, -0.6290608048, -0.733312428, -0.1523094177, 0.0772459432, 0.0786779821, -0.1757854968, 0.5375417471, -0.4713865221, 0.2032497078, -0.6241900325, 0.1103411838, 0.0653035715, 0.3773522973, -0.1254362613, 0.7863603234, 0.4497606456, -0.8388813138, 0.4021235704, 0.2562777996, -0.4038236737, 0.5468838811, -0.5242905617, -0.0745405927, -0.4470270574, 0.3381840587, -0.9289059043, -0.2867624164, 0.3821131587, -0.0712456331, 0.2592462301, -0.0283004828, -0.6135833859, -0.1915365607, -0.2098701894, 0.406652391, 0.6168596745, -0.6777778268, 0.7884246707, 0.5117968917, -0.5342006683, -0.2589554489, -0.5317667723, 0.2920119166, -0.2631535232, -0.3566783369, 0.5247348547, -0.3030004203, -0.1324650198, 0.0116427224, 0.2804141045, -0.2351885289, 0.1732679904, 0.2387609184, 0.4046776593, -0.0668421611, 0.2137767076, 0.2525857389, -0.2545056641, -0.4043525457, -0.2655105293, 0.184047699, 0.033553753, 0.0950640216, -0.4613814652, 0.146840319, 0.463504374, -0.2151729614, 0.4406871796, 0.6695271134, -0.3164281249, -0.3432508409, -0.5474248528, -0.2678924799, -0.6577968597, 0.3292779624, -0.1022428349, -0.8073928356, 0.0610031486, -0.2400910407, 0.1254828423, 0.46745947, 0.5595738888, -0.1782037765, 0.9210351706, 1.0131070614, -0.1531389058, 0.8065885305, 0.1143423468, 0.2437955141, -0.5133117437, -0.0476617813, -0.4860998392, -0.263117522, -0.7799779773, -0.4011311531, 0.1528950632, -0.1524119824, 0.262283057, 0.5078693628, -0.7491247654, 0.3636622429, 0.3537226319, 0.2673506439, 0.3350528181, 0.1378733069, 0.2458264679, -0.0722227395, -0.9039424062, -0.356690377, 0.6866514087, 0.4520009756, 0.9162189364, 0.0040928693, 0.5193434954, 0.6868028045, 0.5176308155, -0.7805348039, 0.5435674191, -0.5528412461, -0.4519069493, -0.4317033291, -0.6290338635, -0.8693566322, 0.1294698268, -0.4839766026, -0.4373413622, 0.7214287519, 0.3514530659, -0.5809129477, -0.1987523288, -0.8946342468, 0.5940346122, -0.3486659229, -0.3458285034, 0.1063079014, -0.2832698226, 0.1777718663, -0.4405752718, 0.7397320271, -0.1675490439, -0.1007454172, 1.0117286444, -0.9114980102, 0.9589439631, -0.245478034, -0.3639143109, 0.312834233, -0.3037779331, 0.5821325779, -0.2700337768, 0.0263830908, -0.3279508054, -0.1490616798, -0.3779552579, -0.7502337694, 0.7110753655, -0.5703420639, -0.3530926704, -0.3297649026, -0.6900337338, -0.2994848788, 0.2296546251, -0.0458942764, 0.4231230617, -0.0439056158, 0.0117278155, 0.4952482879, -0.072336264, 0.8205609322, 0.7414471507, -0.053182181, -0.4060056806, 1.1378688812, 0.2327151597, -0.0230963249, 0.0310599785, 0.1181089729, -0.449624002, -0.5395168662, -0.7189672589, 0.0917379707, -0.4786140919, -0.3627824783, -0.5961712599, 0.078205578, -0.4436168671, -0.1778353006, -0.1405788064, -0.7601485252, -0.4935486019, -0.0645924211, 0.8638711572, 0.4984054267, -0.2900795639, 0.7452252507, -0.6429290771, 0.6918829083, 0.4648788571, 0.5156596303, -0.3097752035, -0.806640625, -0.4127336144, -0.0015085769, 0.0948455036, -0.6604701281, 0.4337231517, 0.7123730779, 0.370533824, 0.2286380976, 0.1368996799, 0.9639306068, -0.5917302966, 0.2889112234, -0.0464393198, -0.9719683528, 0.5831685662, -0.1441408992, 0.2604906559, 0.9155495167, 0.0972624719, -0.2147191614, -0.3938140869, -0.5685560107, -1.1865340471, 0.6464149952, 0.246197626, 0.3865825236, 0.3543319404, 0.6987934709, 0.047745578, -0.0016836161, -0.6399379373, -0.2829074562, -0.339292556, -0.6788752079, -0.1288928092, -0.0596456379, 0.3470613062, -0.3468372226, 1.0329376459, -0.2887457013, -0.1625472307, 0.2561124265, -0.504439652, -0.1253526807, 0.314301163, 0.2933656573, 0.3467816114, -0.1172969937, -0.1453647465, 0.2958311737, -0.5242028832, 0.3125038445, 0.6528134346, -0.5787573457, 0.016470328, 0.2319272161, 0.8120403886, 0.4206244648, -0.5073078275, 0.3288898468, -0.0482886583, -0.1253857762, 0.2042001337, 0.4001903832, -0.5208432674, -0.0280219465, 0.5602463484, -0.1046650186, 0.3436249793, -0.6443912983, 0.5898166299, 0.1919442713, -0.3742023706, 0.0891798362, 0.4809443355, 0.4953067303, -0.3576684892, 0.2464756668, -0.1871567667, -0.5190657973, 0.2854640186, 0.412116915, 0.6260590553, -0.5391604304, 0.180364877, 0.2554454207, 0.5367099643, 0.0209799521, 0.1410925388, -0.0014418004, -0.5386878252, -0.8768479228, -0.7698122859, -0.2902243435, 0.0808342844, -0.4356585443, 0.0775261596, -0.5025168657, -0.2754500508, 0.1494670957, 0.0391651727, -0.5640761852, 0.5467174649, 0.1014206409, 0.7179442048, -0.7689499855, 0.9043700099, 0.6399145126, -0.1865285486, -0.4078440666, -0.1375265121, -0.2915676832, -0.5853610039, 0.3004187942, -0.1143111661, -0.1712153852, 0.1916884035, -0.5633140206, -0.6883069873, 0.8109307289, 0.013895453, -0.6101116538, -0.0719404146, 0.134465903, 0.5867034197, -0.4173234403, 0.0699627772, 0.7041461468, 0.8407982588, -0.1993829757, -0.9191079736, 0.0932104439, -0.3381448984, -0.0327416621, 0.1566517502, -0.4595730007, 0.3646408916, 0.1592343152, -0.2600109875, -0.0408990309, 0.9451143742, -0.379111737, 0.1205258369, 0.8679554462, 0.3496452272, 0.815731883, -0.0516044423, 0.8518593311, -0.1712318957, 0.2781549394, 1.1967947483, -0.2589202225, 0.4757667482, 0.1849748641, 0.1451629698, 0.9297524691, 0.53427881, -0.2283818275, 0.6015078425, -0.0606709123, -0.1864602715, -0.2058082819, -0.4111109078, -0.01942279, 0.5960848331, 0.6444233656, -0.1888818741, -0.1123285368, 0.2990174294, 0.0804000273, 0.2190291286, -0.4419696033, 1.1026651859, -0.1176088825, -0.4938437939, 0.4909214973, 0.3073273003, 0.8999055624, -0.4248728454, -0.0687372535, -0.1307102144, 0.133290574, -0.327783972, -0.5098116994, 0.1535752118, 0.1463936418, -0.1218180507, -0.4092190564, 1.1911283731, -0.7078256607, -0.7404369116, 0.1817631274, 0.6387045979, -0.220063284, 0.2747795582, -0.8477618098, -0.0945642143, -0.0642322227, 0.0361476168, 0.1652037501, 0.4560190141, 0.0658439547, 0.5891009569, 0.766676724, -0.0266046524, -0.0415880345, -0.0720253289, 0.9995118976, -0.5607055426, -0.6711630225, -0.9381177425, 0.3158868849, -0.2903799415, 0.032764364, 0.8044084311, 0.4595090449, 0.4803336859, 0.1986954063, 0.9284937382, -0.0118262637, 0.5366919637, -0.5363818407, 0.8127995729, -0.5500510335, 0.1023153365, -0.4403429627, -0.9166570306, -0.399068445, 0.7499089837, -0.4346576035, 0.0149638839, 0.3617958128, 0.8393250108, -0.3236810565, -0.3043869734, 0.1533407718, 0.4031433761, 0.0179269724, 0.299990952, 0.4460088611, -0.4548220634, 0.6326331496, -0.3022552431, -0.6306792498, -0.358315289, -1.083706975, -0.7481184602, -0.53997612, -0.7030508518, -0.214267388, 0.209593147, 0.7645260096, 0.9324538708, -0.7449471951, 0.0699092075, 0.1229727119, 0.0707030371, -0.0024490689, -0.2875650525, 0.449044764, -0.4137127399, -0.8025403619, 0.7114683986, 0.2878704965, 0.3789010942, -0.0434944928, 0.0102807907, -0.2741750777, 0.374573946, 0.6839162111, 0.4832389355, -0.148160398, -0.203141436, -0.3665829897, -0.0703429058, 0.1562562287, 0.8283855319, -1.1066279411, 0.4669732153, 0.3081572056, 0.6043711305, 0.2797781825, 0.4806639254, 0.620600462, -0.8561125398, 0.2905448973, -0.0169262029, 0.1997988373, 0.551107049, -0.3993752301, 0.398049593, 0.102220282, -0.4322567284, -0.7790951729, 0.0825424492, -0.7721329331, -0.2865667939, 0.9135048985, 0.0315956995, -0.3902484775, -0.4333424568, -0.3129504621, 0.2018440515, -0.4458349347, 0.7636245489, 0.5494711399, 0.0614140481, -0.2083614469, -0.5037295818, 0.8008703589, 0.4776568413, -1.3085294962, 0.174501881, 0.7206616998, 0.0933474526, 0.1405442953, 0.6416414976, 0.0297752004, 0.168654412, -0.428452462, -0.1818834841, -0.2385527939, -0.1741798967, -0.4374475777, -0.0945488364, -0.021054009, -0.0095747141 ]
http://arxiv.org/abs/2402.05581v1
http://arxiv.org/pdf/2402.05581v1
Establishing degrees of closeness between audio recordings along different dimensions using large-scale cross-lingual models
2024-02-08T11:31:23
2024-02-08T11:31:23
Maxime Fily, Guillaume Wisniewski, Severine Guillaume, Gilles Adda, Alexis Michaud
cs.CL
cs.CL, cs.SD, eess.AS
In the highly constrained context of low-resource language studies, we explore vector representations of speech from a pretrained model to determine their level of abstraction with regard to the audio signal. We propose a new unsupervised method using ABX tests on audio recordings with carefully curated metadata to shed light on the type of information present in the representations. ABX tests determine whether the representations computed by a multilingual speech model encode a given characteristic. Three experiments are devised: one on room acoustics aspects, one on linguistic genre, and one on phonetic aspects. The results confirm that the representations extracted from recordings with different linguistic/extra-linguistic characteristics differ along the same lines. Embedding more audio signal in one vector better discriminates extra-linguistic characteristics, whereas shorter snippets are better to distinguish segmental information. The method is fully unsupervised, potentially opening new research avenues for comparative work on under-documented languages.
[ -0.8453620672, -0.4526773691, 0.3087394238, 0.136054486, -0.1440809518, 0.0048925136, -0.6063033342, -0.5017949343, 0.4657719135, 0.337133348, -0.3258520365, -0.6666005254, -0.5721225739, 0.0796641409, -0.5702335238, 0.3863209188, 0.1169594601, 0.248783052, -0.4025483429, -0.5617700815, -0.1689794213, -0.8610031605, -0.2409323305, -0.4401585162, 0.2344009727, 0.0376109518, 0.5438038707, 0.5923786163, 0.3541325331, 0.2444373071, -0.303748101, -0.2002218813, -0.0519952141, -0.1782565266, -0.1482344866, -0.5998345613, -0.0940699205, 0.1218829527, 0.9216400385, 1.1945518255, 0.0173161831, 0.4055621326, 0.1453407407, 0.1167720184, -0.4918219745, 0.0650662556, -0.3833294511, 0.2764927149, -0.1933787912, -0.29738307, -0.4142034352, 0.1198050901, -0.0533238351, -0.3406853378, 0.3159333766, -0.0620000921, 0.7629953027, 0.2424123883, -0.4470413625, -0.0629066974, -1.0843701363, 1.0036358833, -0.6424599886, 1.0355966091, 0.5134398341, 0.1804997176, 0.271022439, -0.3244229555, -0.4213053286, -0.0817175582, -0.3128779829, -0.1822419465, -0.3102865517, -0.0657106712, 0.4165706635, 0.3725005984, -0.4239629805, 0.1941513866, -0.3383107483, -0.4474911094, 0.6017429233, -0.3185255826, 0.3833271265, -0.1750947237, -0.1502155066, -0.3821407259, -0.677688539, 0.1221338809, 0.450979501, 0.4043588936, -0.3044525385, 0.777115643, -0.0751823708, 0.2524989843, -0.1115883365, -0.2387239486, 0.7086222172, -0.3676435649, 0.1648714244, 0.5394548774, 0.8125927448, 0.0695486516, 0.0781541243, -0.058229357, -0.3633720577, 0.0548042096, -0.3047329485, -0.4992054701, -0.0380438343, 0.0673079491, -0.7404761314, 0.3427406251, 0.0060478812, -0.4030292928, -0.2011843026, -0.7880917192, 0.4090229273, -0.3829545379, -0.5306429863, -0.1152692661, -0.1711718589, 0.147892341, -0.2499367446, -0.7651566267, 0.2878990173, 0.5764496922, 0.8620752692, -0.1427848488, -0.304676652, -0.6384617686, 0.0881259516, -0.3755490482, 0.656555295, -0.8431400657, -0.6306274533, 0.063305147, -0.1589839309, 0.4488531351, -0.6503363252, 0.3413469493, -0.1921163499, 0.0502614006, -0.3056546748, -0.4911282957, -0.1876540035, -0.1127696037, -0.7825115919, 1.0311285257, 0.2755615115, -0.8329682946, 0.3758856058, -0.3422127366, -0.2127246857, -0.3770670593, -0.61480546, -0.2281851918, 0.3199267089, 0.3129868209, 0.4568927288, -0.0444797128, -0.0356775448, -0.2253010422, -0.3596131504, 0.3761851788, -0.5028192997, 0.7202472687, -0.0273399279, -0.0385363959, -0.0094032465, -1.0007573366, -0.1886168867, -0.1505220532, -0.4062570632, -0.8839597106, -0.3255947232, 0.0108477585, 0.0225105546, 0.251725316, -0.9496344924, -0.0403430983, -0.4264114499, 0.204094708, 0.2564890683, 0.0501687936, 0.5116480589, -0.2257182747, 0.6053292751, 0.1555977166, -0.1702136397, -0.2888509929, -0.080690302, -0.5419358015, -0.3496753871, 0.6995462775, 0.2619847953, -0.3888776302, 0.4353792369, -0.3128455877, -0.2909115553, -0.8924046755, 0.1304441094, 0.5170177221, 0.0378726944, 0.4581092596, -0.6243972778, -0.5284861326, -0.9682427645, -0.0043286541, -0.0633550733, -0.5565927625, 0.4227174222, 0.2825122178, -0.4385212362, 0.8258182406, -0.235518828, -0.3095889688, -0.1204136014, 0.4170749187, 0.2480111718, 0.2847154438, 0.8810104132, -0.5008185506, -0.2033723593, 0.1038616151, -0.5284184217, -0.2133034021, 0.229559049, 0.1943474114, 0.0579077713, 0.8022383451, -0.3164631426, 0.3326165378, 0.5389458537, -0.14475815, 0.3748935759, -0.2804252505, 0.0771477818, -0.6464234591, -0.0237591062, -0.171138972, -0.1284275204, -0.4710205793, -0.2493007779, -0.164209649, -0.1057454944, -0.5482443571, 0.4519203305, -0.6526429057, -0.600332737, -0.0916314572, 0.2492118031, -0.1191668957, 0.6013085842, 0.3646273017, 0.5916746259, 0.7090782523, -0.4659788609, 0.3860776722, 0.3707268536, -0.5273947716, 0.4664562643, -0.5897000432, 0.312299937, -0.2707917392, -0.0269501973, -1.0142098665, -0.047452841, -0.4934328496, -0.6996964216, 0.3034978211, -0.1658292413, -0.427138567, 0.0960289314, -0.1093645915, 0.9829075933, 0.5437219143, -0.5105242729, 0.7027134299, 0.7047370672, -0.378430903, -0.4778393507, -0.6496012807, -0.3129602969, -0.4608109891, -0.2974651456, 0.1337624192, 0.2278664857, -0.5812173486, -0.0996603295, -0.0495226681, -0.1538613141, -0.281252116, 0.3608281314, -0.0329141654, -0.5868954062, 0.1315580606, -0.0353400856, 0.1436239481, 0.3389395177, -0.1295430958, 0.592232585, 0.1741643697, -0.4966593981, -0.2151275873, 0.8604488969, 0.4421392977, -0.5505185723, 0.2550733685, 0.724971354, -0.2179221064, -0.3994500935, -0.3356487155, -0.2718779147, -0.3891706765, 0.2092078179, -0.332355231, -0.7478787303, 0.8416790366, -0.1071218625, -0.0654901639, 0.1395684928, 0.3343041241, 0.0564208999, 0.9642241001, 0.764552176, -0.1635322571, 0.2839816511, -0.4704894423, 0.0941534713, -0.9529597759, -0.3627689779, -0.7752715349, -0.2156409472, -0.4193767309, -0.5308052301, 0.4876847565, -0.1506515294, -0.0887463093, 0.2624187768, -0.1853884757, 0.5334612727, 0.6643494368, -0.1496708542, 0.2680452764, 0.0882972106, -0.4617353678, -0.1652456969, -0.5413902998, -0.16092664, 1.1274938583, 0.5120911002, 0.5239465237, 0.2520246804, 0.7070780396, 0.2343741059, -0.1040493771, -0.9500389695, 0.3116881847, -0.1413790733, -0.3725163639, -0.6190384626, -0.3394022584, -0.9121592641, 0.4150497615, -0.3196582794, -0.6580955982, 0.4501551092, -0.1242173165, -0.4440422654, 0.1370468438, -0.474298507, 0.440946728, -0.0998158604, -0.1525277942, -0.0875551403, -0.3714809716, 0.0209071282, -0.3059124053, 0.5600004196, -0.0602828674, 0.2201582342, 0.9480034113, -0.2554969192, 0.6448304653, -0.1320885867, -0.427595824, 0.26760602, 0.320704639, -0.0394255221, -0.0225435663, 0.0877872184, 0.621403873, 0.2666463256, -0.2259218246, -0.6263406277, 0.5805102587, -0.9917010665, -0.402841568, -0.0734807923, -0.47202003, -0.502684772, 0.3081822097, 0.3587562442, 0.8427978754, -0.2908298373, 0.4111016691, 0.6734613776, -0.4460996091, 0.5512741804, 0.5093083382, -0.3733473122, 0.0687719434, 0.7565575838, 0.1234113872, 0.0960191265, 0.6896516085, 0.2745045424, -0.6732522249, -0.5848202705, -0.0258227978, 0.4595045149, -0.8528991938, 0.1982467026, -0.3502392173, -0.1474379599, -0.5536190271, 0.2025211155, -0.7279443145, -0.4069725275, -0.1619872749, -0.2054466307, 0.1380657852, 0.6659726501, -0.5216803551, 0.208314836, -0.7788689137, 0.4677405953, 0.2273682505, 0.2464547157, -0.0239515305, -0.6703155637, -0.27382043, 0.0835012123, 0.310223043, -0.6946347356, 0.4350990355, 0.2805815935, 0.626863122, 0.6865271926, 0.2586925328, 0.3456104398, -0.5242350698, 0.7319148779, 0.2189380676, -1.1083874702, 0.4663170576, -0.4512660503, 0.3088464439, 0.3736397326, 0.4984515905, -0.3438198566, -0.4829550087, -0.5562291741, -0.7832409739, 0.3309083879, 0.0316223092, 0.1036420763, 0.269928813, -0.0057401811, 0.1725527942, 0.0297707748, -0.4119943678, -0.2747659683, -0.3358282149, 0.2229088992, -0.363752991, -0.0883370861, -0.2840835154, -0.3744432032, 0.2130853087, 0.1636600345, 0.4029185772, 0.1857263446, 0.0125715509, 0.1435282379, 0.3363086283, 0.293117255, 0.6878159046, -0.2577928305, 0.643543303, 0.1742198318, -0.4618090987, 0.3407467604, -0.108894743, 0.246026814, 0.4999985099, 0.9486156106, 0.6942256689, 0.1578843892, -0.5563813448, 0.7232851386, -0.0459162742, -0.1123879775, -0.5949161649, -0.0838616416, -0.0449980982, 0.0838489532, 0.027876528, -0.3436647356, 0.2876140773, -0.730346024, 0.3900258541, 0.2842910886, -0.5572239161, -0.3900583982, 0.6064998507, 0.168467775, -0.1808464825, 0.5545527339, -0.1221868545, -0.1910041124, 0.4208386838, 0.2716628313, 0.5774414539, -0.4821958244, -0.0255184993, 0.4151422083, 0.1220364198, 0.049365893, 0.1839484125, -0.4096771479, -0.7725880742, -0.5770221353, -0.8011745811, -0.3192649484, 0.3858449161, -1.0021203756, 0.2336409241, -0.0761425793, -0.1389283091, 0.2992005944, -0.3053508997, -0.6851710677, -0.0788873136, 0.3976112604, 0.742174089, -1.1837699413, 0.8222349882, 0.5605454445, -0.1427689344, -0.9615131021, -0.0610310063, 0.0053631193, -0.5190742016, 0.7103927135, -0.0603320561, -0.3886530101, -0.3439561129, -0.2742089331, -0.9352659583, 0.5972550511, 0.5051354766, -0.7384280562, 0.0591459759, 0.515442431, 0.5357216001, -0.3126707375, 0.2702836096, 0.7512280345, 0.341148138, 0.0619330183, -1.3262776136, -0.1827275604, -0.1913556308, -0.1299482733, 0.1328872889, -0.2784918249, 0.8933662176, -0.0772427991, -0.2764248252, -0.331569612, 0.66636765, -0.0049250624, 0.2035744488, 0.6146599054, 0.3487829268, 0.7264312506, 0.033469487, 0.8112686872, -0.2678444088, 0.134811759, 1.0384494066, -0.0426361114, 0.8596023917, 0.524546206, -0.1526666284, 0.2086120248, 0.4284871519, -0.0708407611, 0.4641611278, 0.3882322013, -0.4526529014, -0.3302995265, -0.5922424793, -0.4991789162, 0.9425753951, 0.297154814, -0.3348180056, 0.0395324789, 0.3751332462, -0.0269170292, 0.2644739747, -0.4518702328, 0.700324595, 0.2221595198, -0.4567370117, 0.7759847045, -0.1517540216, 0.54948318, -0.4736625552, -0.1561861038, -0.2276603132, 0.0092584016, -0.2433731258, -0.6126334071, 0.3937805295, -0.1750713289, -0.0675882548, -0.0816272125, 0.378272295, -0.6561748981, -0.2685314119, 0.6478073597, 0.4429008365, 0.5067011118, 0.0439541303, 0.0571545288, 0.2289847583, -0.0394750871, 0.0652026236, 0.1246578768, 0.7231654525, -0.0747002885, 0.2737817466, 0.5351834893, 0.4767675102, 0.1157794371, 0.3797882795, 0.578864336, -0.5966715217, -0.7005489469, -0.5179421902, 0.0171351898, 0.1341370791, -0.0481322519, 0.7895559669, 0.7216438055, 1.3269305229, -0.068730019, 0.931135118, 0.4128801227, 0.7585997581, -0.6591544151, 0.5191588402, -0.4937543869, 0.3431695402, -0.2010298818, -0.9150465727, -0.1265144497, 0.6652293801, -0.0273257848, -0.2052179575, 0.6920979619, 0.6530436873, -0.4987648427, -0.1661291867, 0.4337820113, 0.187741369, 0.0359661058, 0.377574861, 0.9864955544, 0.118375577, 0.4456010461, -0.4697743952, -0.2043493986, 0.0856371373, -0.5274887681, -1.2959976196, -0.9057639241, -0.3500875533, -0.1000844017, -0.4815272689, 0.8440295458, 0.7544026971, -0.7172225118, -0.354531914, 0.7304139137, -0.0423569195, -0.1996866912, -0.1156379208, 0.6344845295, 0.3568327725, -0.718031168, 0.5389926434, -0.0403119363, 0.2115134895, -0.6337596178, 0.0613495782, 0.1584484875, 0.339335829, 0.5912647843, 0.3337342441, -0.4166803062, -0.4320907891, -0.1829483956, 0.3312653005, 0.2682528496, 0.9007228017, -0.5503997207, 0.3852381408, 0.7155441046, 0.3636488616, 0.3694675863, -0.0945620686, 0.4764558375, -1.3256909847, 0.5528056026, 0.2656867802, 0.5996721983, 0.5369449854, -0.0640607178, 0.1636614054, -0.0782785863, -0.1490115076, -1.0145939589, 0.3557411134, -1.122377634, -0.3169190586, 1.4907301664, -0.2134028524, -0.1989712715, -0.3055961132, -0.0918907225, 0.3788018525, -0.3406692147, 0.6285577416, 0.7690022588, -0.282656163, -0.1342405081, -0.453133136, 0.5215169787, 0.1138463914, -0.2055943161, 0.0662402585, 0.2974229753, 0.2297613025, 0.6809664965, 0.468113929, -0.4006972909, 0.0390359163, 0.1462381929, 0.0962165967, -0.1352247447, -0.4764219224, -0.5352116823, 0.2583267689, 0.1434601396, -0.3369788527 ]
http://arxiv.org/abs/2402.05571v1
http://arxiv.org/pdf/2402.05571v1
Traditional Machine Learning Models and Bidirectional Encoder Representations From Transformer (BERT)-Based Automatic Classification of Tweets About Eating Disorders: Algorithm Development and Validation Study
2024-02-08T11:16:13
2024-02-08T11:16:13
José Alberto Benítez-Andrades, José-Manuel Alija-Pérez, Maria-Esther Vidal, Rafael Pastor-Vargas, María Teresa García-Ordás
cs.CL
cs.CL, cs.LG
Background: Eating disorders are increasingly prevalent, and social networks offer valuable information. Objective: Our goal was to identify efficient machine learning models for categorizing tweets related to eating disorders. Methods: Over three months, we collected tweets about eating disorders. A 2,000-tweet subset was labeled for: (1) being written by individuals with eating disorders, (2) promoting eating disorders, (3) informativeness, and (4) scientific content. Both traditional machine learning and deep learning models were employed for classification, assessing accuracy, F1 score, and computational time. Results: From 1,058,957 collected tweets, transformer-based bidirectional encoder representations achieved the highest F1 scores (71.1%-86.4%) across all four categories. Conclusions: Transformer-based models outperform traditional techniques in classifying eating disorder-related tweets, though they require more computational resources.
[ 0.0532291271, -0.7615458369, 0.2620022893, 0.1630606502, -0.1077319458, 0.3825441301, 0.008921206, -0.644690454, 0.5714532733, 0.4038037062, -0.2737540901, -0.4488562644, -1.0533400774, 0.2471005023, -0.6494867802, 0.7424082756, -0.3320407569, 0.4189414084, 0.0915604457, -0.0867419392, -0.1659165025, -0.3041810095, -0.6051369905, -0.253526628, 0.4741503298, 0.316147238, 0.647172451, 0.3666463792, 0.7746585011, 0.2290527523, 0.1509852856, 0.1030914858, -0.5595873594, 0.0173868909, -0.0507281609, -0.0447330065, -0.190457359, -0.0089049358, 0.1711149365, 0.7411524653, -0.2671948075, 0.3403496444, 0.205934599, 0.6443921924, -0.0869310275, 0.0542381331, -0.2196879685, 0.4000795782, -0.0452582166, -0.0440707169, -0.3341365159, -0.7636728883, 0.1225422472, -0.3127595186, 0.118391782, 0.0663647205, 0.9651429057, 0.1289189607, -0.7741194963, -0.4848926067, -0.5786579847, 0.4762018621, -0.5895881653, 0.4654890895, 0.4401842058, 0.5267981887, 0.1800527126, -0.6612047553, -0.4194060862, 0.0625884235, -0.2035531104, -0.2060918361, -0.2035013735, -0.0533839799, 0.0433390662, 0.0137242712, -0.7679092288, 0.2693087459, -0.5005996823, 0.1441058517, 0.8750098348, 0.0883968174, 0.4323492944, -0.4318541884, -0.0517560095, 0.0770142078, -0.1561212838, -0.058257103, -0.2551524639, -0.0086542014, -0.0297957007, 0.8116725087, 0.1076162159, 0.2848922014, 0.3233077526, 0.0759811103, 0.4376588464, 0.0938119143, -0.4222946465, 0.1299251914, 0.8507692814, 0.7940295339, 0.2248564065, -0.2916846871, -0.3347578347, -0.0916583464, 0.5080127716, -0.9535670877, -0.3188278675, 0.1835146248, -0.7504121661, -0.3719395697, 0.1350204945, -0.6470074654, -0.7776985765, -0.0424894243, 0.3720217347, -0.5837255716, -0.1835913509, -0.1127301306, -0.2921625972, 0.3897138238, 0.4527398944, -0.7029226422, 0.3761917055, 0.5967406631, 0.7555461526, -0.1723069549, 0.3622623682, -0.0186270867, 0.2716556191, -0.4456638992, 0.6390478611, -0.6947542429, -0.04384524, 0.0834915563, 0.3396477401, -0.4672326744, -0.4638681412, 0.7852256894, -0.6497937441, -0.0980980024, -0.3608072698, -0.8594205976, -0.6958401799, 0.1730613858, -0.8571605682, 0.6702819467, 0.1725520492, -0.5682772994, 0.3727647364, -0.67711097, -0.8523913622, 0.2544882894, 0.098707132, -0.3916317821, 0.1523270607, 0.4569203258, 0.9811306, -0.320936352, 0.582384944, -0.2992227077, -0.2402597219, 0.350749135, -0.2597279549, 0.5625537634, 0.3775005043, -0.2449033856, 0.1668497622, -0.3021899164, -0.1888413429, 0.5438399911, -0.1394420862, -0.2175135911, 0.1477066725, 0.3429338634, -0.0443259738, -0.0370760895, -0.685112834, 0.1415241212, -0.1888404489, 0.7071327567, 0.5684937239, 0.083861649, 0.2436230332, -0.7470170856, 0.256791085, 0.0969909951, 0.0091876127, -0.0023479762, -0.7481351495, -0.3802060485, 0.0053148787, 0.2411456853, 0.6185321212, -0.7342615128, 0.7167270184, -0.5034046173, -0.4819121957, -0.6778241396, -0.2448803931, -0.0733265877, 0.6213443875, 0.4406404495, 0.1384504884, -0.5703750849, -0.6207429171, -0.1103359684, 0.3103884757, -0.0999274403, 0.3153908253, 0.5272340178, -0.4072041512, 0.4461392164, -0.3219633996, 0.0023661647, -0.3999412954, 0.3115591407, -0.1062924713, 0.3734888434, 0.7752273679, -1.1052744389, -1.0032662153, 0.2030148059, -0.7227827311, 0.0523901917, 0.3179536164, 0.2320307344, 0.3235692084, 0.1099156067, -0.2769334912, 0.5827880502, 0.5166582465, -0.2599023283, 0.4332513213, 0.5041434169, 0.3356829286, -1.0295737982, -0.1498671621, 0.3966188729, -0.3903095126, -0.5424744487, -0.4270269275, 0.2390949726, -0.1558923274, -0.0366872698, 0.2053643018, 0.0102420868, 0.311232239, 0.0290232953, -0.4546353519, -0.1152345911, 0.2317334116, -0.0254371632, 0.2323182076, 0.6478334069, -0.3412868679, 0.4768973589, -0.2661338449, -0.3378555477, 0.264521271, -0.6695771813, 0.0109073035, -0.3684209585, 0.1522056162, -1.4865034819, -0.4557312429, 0.4409304857, -0.5886143446, 0.347173959, 0.1344911754, -0.5980993509, -0.877392292, -0.4441890419, 0.1957696825, 0.5037795305, -0.5754714608, 0.5852780938, 0.3779171705, 0.1254902184, 0.0362001918, -0.7732430696, -0.0571777709, -0.1559779346, -0.6146000624, 0.2566129565, 0.1239060685, 0.1258243918, 0.4160425663, -0.115012303, -0.1899178475, -0.0574986115, 0.1456569135, -0.1604954898, -0.0265452918, 0.1170358434, 0.1088941917, 0.3029218912, -0.0602536388, 0.0164290275, 0.5850747228, 0.0373596363, -0.1571029425, -0.7458107471, 0.6198664308, 0.610966742, -0.0160323437, 0.8088029027, 0.8014851809, -0.6430698037, -0.2142996937, -0.5201110244, -0.1935185045, -0.4607659578, 0.2727948129, -0.1119293049, -0.6873601675, 0.5123511553, 0.1180372536, -0.123682633, 0.3821446896, 0.2690967023, -0.5889924765, 1.1115187407, 0.4268374443, -0.0987215862, 0.4680508971, -0.4149834812, 0.1591484398, -0.5125986338, -0.3095780909, -0.3734329939, -0.6108316183, -0.6786937714, -0.4409179986, 0.2751888037, -0.6384937763, -0.4397549033, 0.2661709785, -0.6936770082, 0.230759114, 0.2123452723, 0.3858289421, -0.2155936658, 0.0027431725, -0.1682534367, -0.1918097436, -0.3974987864, -0.4930438995, 1.1885368824, 0.6261426806, 0.8718782663, 0.0953183547, 0.7745909095, 0.731515646, 0.8392141461, -0.9236713648, 0.2798402011, -0.4823122323, -0.5936157703, -0.1705076098, -0.6966958642, -0.8106717467, -0.0519754104, 0.1877860427, -0.805703938, 0.0544457659, -0.3688372672, -0.1506014019, 0.5955471396, -1.0509119034, 0.7608038783, -0.5233511329, -0.0365532525, 0.0222581849, -0.7460289598, 0.1471679509, -0.0976840928, 0.1095216051, -0.1677557379, 0.1168221533, 1.4548773766, -0.24917835, 0.9926719666, -0.2715238035, 0.0995128751, -0.0510542803, 0.1824294478, 0.1875176281, -0.132338047, -0.2829570174, 0.1002510265, 0.0224820822, -0.1950082481, -0.4643109143, 0.486959219, -0.802297771, -0.2042379826, -0.509949863, -0.1064893156, -0.2861951888, 0.4043619037, -0.0569020994, 0.1318190694, -0.1430564523, 0.3392369151, 0.5916413665, 0.0768040121, 0.5275875926, 0.3596065044, -0.0834157765, -0.5136184096, 0.7886925936, 0.3087036312, -0.3290311992, 0.7090401649, 0.2319685668, -0.0790246949, -0.3933876455, -0.1473105252, 0.4045730531, -0.35837394, -0.4870541394, -0.5500428081, -0.4697934985, -0.7685187459, -0.4325304925, -0.3296218216, -0.1823561937, -0.69343853, -0.4322938919, 0.0197547395, 1.0941931009, 0.1086656302, 0.2323944569, -0.7867090106, 0.4463414252, 0.0827331468, 0.524273932, 0.5372542739, -0.270999372, -0.16794011, 0.1299494803, -0.7285018563, -1.3931897879, 0.673596859, 0.2299305052, 0.4608301818, 0.9353432059, 0.1430253386, 0.512989521, -0.147598505, 0.6396523714, 0.339436084, -0.5927971005, 0.4897970557, -0.0206042342, 0.0356226116, 0.2186377347, 1.1843641996, -0.8897582293, -0.0506582744, -0.2130739242, -0.4945120215, 0.7662084103, -0.007054694, 0.1141940355, -0.1255143732, 0.1903603971, 0.360122174, 0.2282191962, -0.8249223232, -0.2974509597, -0.4499996901, -0.6049638987, -0.0799773261, -0.4783261418, 0.1155011654, -0.7903063893, 0.45440045, 0.0625746325, 0.4267136753, 0.12099915, -0.1459885538, -0.4695602357, -0.0368733332, 0.1848700643, 0.4839431047, -0.5681025982, -0.0412113741, -0.3061174154, -0.6007139087, -0.0005949511, 0.4470528364, -0.1745446473, 0.0330957621, 0.5018643737, 0.7177824974, 0.0961024985, -0.5403212309, 0.4844864607, -0.198843345, -0.4599581361, -0.1186883226, -0.1163719743, 0.1473957002, 0.0268546995, 0.6529049277, 0.0120801497, 0.3351679146, -0.3673611879, 0.2846431732, 0.1600183994, -0.5108278394, -0.5876834989, 0.5040740371, 0.255574882, -0.2787222862, 0.88848418, -0.4013572335, -0.6746063232, 0.6766555309, 0.4693318903, 1.0921792984, -0.6855279803, 0.4853451252, 0.3534317315, 0.3887670338, 0.1827438772, 0.2720605135, -0.1904776096, -0.9573712945, -0.0533150695, -0.8322343826, -0.1178569943, 0.0579583719, -0.7717664242, 0.1788831353, -0.2468679547, -0.3348157704, 0.469117552, -0.1432258487, -0.7818512917, 0.1077859178, 0.389439553, 0.7270435691, -1.0434855223, 0.6970852613, 1.1916577816, -0.213904351, -0.6196734905, 0.3775361478, -0.0845251977, -0.7690825462, 0.3920042217, 0.5398976207, 0.4182903469, -0.1156217456, -0.7170135379, -0.8267190456, 0.8148346543, -0.0664809495, -0.5373687744, -0.2885206342, 0.3858044744, 0.5843459368, -0.3107103705, 0.140639931, 0.5090492368, 0.5701834559, 0.5924230814, -1.1735916138, -0.0067255776, -0.2228720784, 0.1035940945, 0.0444932021, -0.3648152351, 0.4788601696, -0.3740089536, -0.443918705, -0.3750516474, 0.4582712352, -0.3256166279, 0.5964086652, 0.1795010716, 0.6699300408, 0.8231095672, -0.105470866, 0.8439359665, 0.0932900757, 0.4036604464, 0.658005476, -0.2915617526, 0.5159636736, 0.1506877244, -0.2354909629, 0.3694777191, 0.8611136079, -0.150520131, 0.7580664754, -0.0541616119, 0.2682118714, 0.0336910374, -0.0027006082, -0.0360084996, 0.236865446, 0.6793804169, -0.7271813154, -0.3656997979, 0.7049711347, 0.1854754686, -0.168040514, -0.2809547484, 1.0308992863, -0.0310923606, -0.1453879625, 0.6274451017, 0.2285927981, 0.7001883984, -0.1772557944, -0.0103889313, 0.0573143698, 0.0531038083, -0.217385307, -1.0264691114, 0.6303883791, -0.1634873301, 0.0226338208, -0.3983426392, 0.8260853291, -0.2898062766, -0.9222127795, 0.2431358397, 0.2242785394, -0.0386380777, 0.0458341055, -0.810934782, 0.204687804, -0.0577061623, -0.3809667826, -0.1918701977, 0.4746963978, -0.0347619131, 0.751855433, 0.2152227759, -0.1617832631, 0.1230238974, -0.0120991459, 0.8805397749, -0.7154534459, -0.5225133896, -0.7206779718, 0.1194121167, 0.0004790772, 0.3196932673, 0.7493091226, 0.4612565935, 0.5708386898, -0.1261039227, 0.7484039068, -0.4780483842, 0.8083801866, -0.0041567092, 0.9610418677, -0.822468996, 0.0305351149, -0.0886917114, -0.1646572053, -0.4732894003, 0.6205496192, -0.6432510614, 0.3559238315, 0.7599204183, 0.4389725626, -0.0829161555, 0.3778218031, 0.0227335412, 0.427708894, 0.4999897778, 0.4790106714, 0.3848461211, -0.4232017398, -0.061951194, -0.5271320343, -0.3127095699, -0.8000008464, -0.3954606354, -0.8296326399, -0.8806131482, -0.2535820901, -0.092396602, 0.2778413594, 0.8768540621, 0.8913408518, -1.0501242876, -0.1608641595, 0.2561137676, 0.404663682, -0.5139706731, -0.3382506073, 0.4896612763, -0.0565968752, -0.4228308201, -0.0940514877, -0.2899381816, 0.1099968627, 0.108075805, 0.0311786421, -0.2763603032, 0.1066456512, 0.6569312215, -0.0769045502, -0.3341362476, -0.0794115141, -0.0988041386, -0.1949672401, 0.2577301264, 0.4152440727, -0.392860055, 0.3937579691, 0.267539382, 0.4840600491, 0.4553186893, 0.3003806472, 0.2492435575, -0.4637310803, -0.5261211991, 0.7327485681, 0.3712405264, 0.4408035576, -0.468321681, 0.2136857361, 0.3009397686, -0.5383216739, -0.8416220546, -0.3623922765, -1.0999418497, -0.4111973047, 1.1926966906, 0.25486058, -0.6777297854, -0.0015075126, -0.1046242416, 0.3109056652, -0.6229304671, 0.8411031365, 0.390999645, -0.3704060316, -0.1709503531, -0.3855743706, 0.4592534006, -0.1322706491, -0.546500206, -0.2275379747, 0.2973234951, 0.5880799294, -0.1470691562, 0.3351145983, -0.0038820819, 0.1149096116, -0.4067208171, 0.0672374666, 0.0094742868, -0.2782153189, 0.0611636266, 0.3572134674, -0.577442348, -0.3202126622 ]
http://arxiv.org/abs/2402.05547v2
http://arxiv.org/pdf/2402.05547v2
Benchmarking Large Language Models on Communicative Medical Coaching: a Novel System and Dataset
2024-02-08T10:32:06
2024-06-08T16:36:56
Hengguan Huang, Songtao Wang, Hongfu Liu, Hao Wang, Ye Wang
cs.CL
cs.CL, cs.AI
Traditional applications of natural language processing (NLP) in healthcare have predominantly focused on patient-centered services, enhancing patient interactions and care delivery, such as through medical dialogue systems. However, the potential of NLP to benefit inexperienced doctors, particularly in areas such as communicative medical coaching, remains largely unexplored. We introduce "ChatCoach", a human-AI cooperative framework designed to assist medical learners in practicing their communication skills during patient consultations. ChatCoach (Our data and code are available online: https://github.com/zerowst/Chatcoach)differentiates itself from conventional dialogue systems by offering a simulated environment where medical learners can practice dialogues with a patient agent, while a coach agent provides immediate, structured feedback. This is facilitated by our proposed Generalized Chain-of-Thought (GCoT) approach, which fosters the generation of structured feedback and enhances the utilization of external knowledge sources. Additionally, we have developed a dataset specifically for evaluating Large Language Models (LLMs) within the ChatCoach framework on communicative medical coaching tasks. Our empirical results validate the effectiveness of ChatCoach.
[ -0.1541761905, -0.6922697425, 0.3067270517, 0.1561718732, -0.0988523141, 0.4070441127, -0.4906482995, -0.705597043, 0.3328193426, 0.3507380486, -0.4542709291, -0.5764824748, -0.6228969693, 0.0855988488, -0.2620114088, 0.631229341, 0.2031178474, 0.7637214065, -0.3974405527, -0.2894661725, -0.5032775402, -0.752322793, -1.2196935415, -0.6006565094, 0.304661423, 0.5081628561, 0.5842259526, 0.2215661854, 0.6430308819, 0.3600000143, 0.0677869469, 0.4021927118, -0.2782138586, 0.5381020904, -0.1057645977, -0.5948560834, -0.4675683677, -0.0147159547, 0.4270358384, 1.1882638931, -0.6753854752, -0.2149832249, 0.0331188962, 0.3858122826, -0.3526492715, 0.4045545757, -0.7023133039, 0.2012901455, 0.3363241255, -0.2515308857, -0.4730697274, -0.4584712982, 0.2633054256, -0.5511713624, 0.1469654441, 0.2114522159, 0.590598464, 0.2638991177, -0.2334979475, -0.5159000158, -0.5632351041, 0.7009301186, -0.8057925701, 0.2848169804, 0.4469284415, 0.6207567453, -0.3981074095, -0.6366553903, -0.3964785039, -0.4527914822, 0.1065308824, 0.3978211582, -0.2342328876, 0.295288831, 0.1653667539, 0.2457375973, -0.411018014, 0.4848766625, -0.0613502823, 0.0606921166, 0.6189288497, 0.2945849001, 0.5967103243, 0.274826467, -0.0152516905, -0.0819713697, -0.5086680055, -0.024716448, -0.2842350006, 0.1556590348, -0.4312281907, 0.4805492759, -0.2089407891, 0.5596629381, -0.2588247955, -0.0991930813, 0.1543819457, -0.1815519631, -0.3334074914, -0.0437063798, 1.0539221764, 0.5889829993, 0.570438683, -0.4695011079, 0.1847178936, 0.2202538997, 0.3748446107, -0.8104307652, -0.2448327243, 0.2148995101, -0.350384593, -0.4353264868, -0.3230347037, -0.7720360756, -0.4465403855, -0.1481432766, -0.195802927, -0.2738874853, -0.0655120239, 0.1942709237, 0.0771164149, 0.2491945177, 0.4047625661, -0.949937582, 0.8903983235, 0.7212554216, 0.8840742111, -0.303793788, -0.0503851809, -0.7103934884, -0.0865950659, -0.5179858208, 0.8631876111, -0.6007814407, -0.6168943644, 0.2616380453, -0.0792437196, -0.1254978925, -1.1015689373, 0.6100648642, -0.0241233148, 0.2064504027, 0.2155987024, -0.8035236001, 0.3314895332, 0.3296001256, -0.5365636945, 0.6283851266, 0.0308309812, -0.4801020324, 0.2461749315, -0.5680474639, -0.5229277611, 0.2749940753, -0.6762273312, -0.530739069, 0.1381739676, 0.2931016386, 0.3906959891, -0.7250560522, 0.4424982965, -0.4006509185, -0.316219002, 0.2992451191, -0.244952485, 0.76187253, 0.0033345546, -0.2391353101, 0.1179365292, -0.609228313, 0.2959148884, -0.092580311, -0.226629898, -0.2100888938, 0.0978444293, -0.1975697875, 0.2392731011, -0.5091077685, -0.3967319131, 0.4550107718, -0.5051246285, 0.3941153884, 0.1626435071, 0.1828137338, 0.1100950465, -0.4609812498, 0.7521871328, -0.043906074, 0.2914684713, -0.0512138233, -0.7089231014, -0.4943061769, -0.406973809, 0.227418229, 0.4110409021, -0.987716496, 0.3374645114, -0.2252936661, -0.51044029, -0.8499929309, -0.0959999338, 0.3819973767, 0.6922649741, 0.3770042062, -0.7540398836, -0.4424459934, -0.6722737551, -0.1221892461, -0.2271634787, -0.2209224105, 0.60094136, 0.4056756198, -0.1934240758, 0.5426517725, -0.3947776854, -0.4718899429, -0.2502001524, 0.1066162661, 0.1062409878, 0.50426507, 0.3398727775, -0.4698021114, -0.5179738998, 0.1024743542, -0.789986372, -0.1659544259, -0.0210988838, 0.0326896198, 0.0884581506, 0.5300406218, -0.5047748089, 0.2885549068, 0.8859167099, -0.1914283186, 0.6648003459, -0.5660888553, 0.2334385365, -1.1732029915, 0.3416377902, -0.1630480587, -0.3345094919, -0.6175408363, -0.1955846697, -0.2641650736, -0.1911868006, -0.1499249339, 0.4834051132, -0.3092294931, 0.0340340286, -0.3841737211, 0.1677952409, -0.2951944172, 0.4485840797, 0.1796280444, 0.6484107971, 0.5739575624, -0.3735044897, 0.4326698482, 0.3936373889, -0.670091331, 0.9894439578, -0.9559883475, 0.172771588, 0.3386763036, 0.5008975267, -0.7258462906, -0.2620394826, 0.1722358167, -0.5553485155, 0.1141891629, -0.2501529455, -0.4777844548, -0.3733767867, 0.0738775581, 0.2240950912, 0.4012596011, -0.2377322614, 0.3629864156, 0.7218660116, -0.4927217364, -0.3104261458, -0.5140873194, 0.3659401536, 0.2512409091, -0.3187000155, 0.3160769641, -0.1437193602, -0.1789461225, -0.1154920682, 0.0164875798, -0.5145323873, 0.2750300169, 0.4222689271, 0.4479883909, 0.0433360152, 0.3269662261, 0.0282047782, -0.0237909928, 0.1789741963, -0.266582787, 0.6929778457, 0.1044020504, -0.389233619, -0.5316375494, 0.5797884464, 0.4014291465, -0.2614895403, 0.7505783439, 0.1612135768, -0.2704148889, -0.222371459, -0.4185494184, -0.2748629153, -0.3583392799, 0.4366650581, 0.131258592, -0.8244611621, 0.3215900958, -0.2566551864, -0.0187552478, 0.0438626185, 0.7733077407, -0.1974460632, 1.1018440723, 0.3776990473, -0.1449120939, 0.2229585946, -0.3092169464, -0.044590354, -0.6491099, -0.257197082, -0.708810389, -0.202246055, -0.7496407628, -0.6721100807, 0.4184296429, -0.2936722934, 0.0622556396, -0.1071609184, -0.3653477132, 0.3996143043, 0.5628449917, 0.0668623969, 0.3516477346, -0.2435843796, -0.5410394073, 0.0523816273, -0.8779512644, -0.1825761795, 0.9760290384, 0.1230986342, 0.784858346, -0.0609343164, 0.6546421051, 0.0433327109, 0.5752202868, -0.9226642847, 0.4818761945, -0.0624118932, -0.4084195793, -0.0627489239, -0.7271580696, -1.2154774666, 0.2691025436, -0.4943970144, -0.5818542838, -0.2576993704, 0.0250668097, -0.3697833121, 0.1310324669, -0.7713702917, 0.6504835486, -0.0467660353, -0.3560828269, -0.3451519907, -0.663184762, -0.0887413844, 0.0213028342, 0.1714372486, -0.0145026846, 0.1195789129, 0.3924174607, -0.4208775461, 0.9176629782, -0.1966965944, -0.0420464277, 0.0651135966, -0.1995896697, 0.2366101742, 0.0141351726, 0.0078358212, 0.0376343951, 0.0899003744, -0.4861549735, -0.8268848658, 0.6204943657, -0.6362081766, -0.3261333406, -0.3741826415, -0.5989402533, -0.8667958975, 0.0431191958, -0.0488653891, 0.442763567, -0.5161478519, 0.4129615724, 0.2118104845, -0.4268783629, 0.1711299568, 0.664658308, -0.1914442182, -0.3774442673, 0.5402035713, 0.0668873712, 0.350821346, 0.1737938523, 0.1442506611, -0.0922329277, -0.5517346859, -0.0188970193, 0.2687239349, -0.4805444479, -0.0806572959, -0.5329709649, -0.3352755606, -0.2384260893, 0.0266421735, -0.2450157106, -0.1878086329, 0.3047688007, 0.1448810846, -0.1897925735, 0.6789788008, 0.2144426256, 0.2066508681, -0.6513307095, 0.155283317, 0.2758584023, 0.5741351247, 0.105811514, -0.0968932062, -0.4720597565, 0.077353619, -0.2735317051, -0.5718325973, 0.4462411106, 0.1315368861, 0.6954574585, 0.1880316138, -0.0052733659, 0.4562285244, -0.7058519125, 0.65392524, 0.4050952196, -0.5686377883, 0.2401923686, -0.0975811332, 0.4404707253, 0.721419096, 0.416238755, -0.9341675639, -0.785933733, -0.6561352611, -0.7656587958, 0.3794249594, 0.146111384, -0.0257847626, -0.3207903504, -0.0231694654, -0.0096735219, 0.3946608603, -0.1298762262, 0.0101028997, 0.3893842697, -0.3863251805, -0.1866916716, 0.1432855725, -0.3466988206, -0.2706261575, 0.5014684796, -0.308671236, 0.5015456676, 0.3382168114, 0.0122516621, 0.0515341684, 0.2456404865, 0.6126113534, 0.4049679041, -0.0615068153, 0.0670646951, 0.1562601924, -0.6408885717, 0.0649751946, 0.0483543091, 0.2872714996, 0.2200060785, 0.6006171703, 0.508279264, 0.6276592612, -0.9162584543, 0.5269011855, -0.3922483027, -0.2877358496, -0.0920480415, 0.2386514693, 0.2446481735, 0.1709194481, -0.0141272489, 0.06486772, 0.0890655443, -0.551592648, 0.3645831645, 0.4882526696, -0.6307014823, -0.2069238126, 0.5897394419, 0.5456704497, -0.5702799559, 0.5080525279, 0.2566248477, -0.2240776271, 0.5216397643, 0.3726553917, 0.7475336194, -0.2082571685, 0.3529125452, 0.1943086535, -0.1790224612, -0.0746676624, 0.0738549903, -0.130574435, -0.6207288504, -0.5367615223, -0.0396283306, -1.1424665451, -0.0889649689, -0.771371007, 0.0761493519, -0.2884787321, -0.2742136419, 0.4786314964, 0.265103668, -0.8755412698, 0.2491155565, 0.0398571193, 0.9017137885, -0.4168947935, 1.2237473726, 0.4960481524, -0.2972994745, -0.9027481675, 0.1014380604, 0.0028077194, -1.0130726099, 0.4307617247, 0.0877811238, -0.2634697556, 0.0083567612, -0.5679458976, 0.0650609061, 0.9136565924, 0.3579001725, -0.780087173, -0.2643501163, 0.2172490209, 0.9506569505, -0.6143566966, 0.608979702, 0.3046313226, -0.1506646574, 0.146217227, -1.1117430925, -0.2977021635, -0.3753119707, -0.2841916978, -0.0871912092, -0.5466843247, 0.2227536142, -0.1900713295, 0.070818007, 0.2363081127, 0.0707118064, 0.1153966263, 0.1328071356, 0.4791501164, 0.4110938013, 1.2054486275, -0.058785826, 1.3089512587, -0.396266222, 0.3577390015, 1.5164132118, -0.5818821788, 0.8679084778, 0.4824948013, -0.0758466646, 0.4730663598, 0.0597674213, 0.0328321978, 0.2713878155, 0.3937589824, -0.3489035368, -0.0841581002, -0.4869783819, -0.225442335, 0.5810120106, 0.1956817359, -0.4379140437, 0.0243216585, -0.1087434664, 0.1999652684, 0.1570439041, -0.1451234818, 1.0237777233, 0.3380849361, -0.9987403154, 0.7532637119, -0.4186944366, 0.3794117272, -0.6073800325, -0.148413226, -0.2472449392, 0.3485994041, 0.0445576161, -0.6167188883, 0.0725984573, 0.026259426, 0.2445881963, -0.0525830649, 0.4308629632, -0.6613068581, -0.3302694261, 0.4441866279, 0.5766842961, 0.0343700387, 0.1520280093, -0.7218251228, -0.0685549527, -0.3412529826, 0.162728861, 0.2363806814, 0.3564225733, 0.1902508885, 0.9165777564, 0.5730427504, 0.4552755356, -0.2840656042, 0.5695900321, 0.8213080168, -0.6180207729, -0.4367049634, -0.6630989313, 0.2330784798, -0.5112964511, -0.3021956384, 0.4834553003, 0.614135921, 0.6439430118, 0.1323370636, 0.7242543101, 0.2559595406, 0.678301096, -0.3516588509, 0.84163028, -0.3173236847, -0.0025893124, -0.2946422696, -0.3101351261, -0.6242108345, 0.641326189, -0.3120405376, -0.085366033, 0.7461829782, 0.5416982174, 0.1690286994, 0.1797818691, 0.658868134, 0.2430776954, 0.6908531785, 0.7183864117, 0.6943898797, -0.0600028783, 0.2488409728, 0.0069885068, -0.2957207263, -0.348199755, -0.5333366394, -1.0786840916, -0.3725103438, -0.2705612481, -0.2873140574, 0.334022969, 1.3707014322, 0.9891837239, -0.7222642303, -0.4899449348, -0.0827131346, -0.2616136074, -0.4363201857, -0.1088229194, 0.1779384464, -0.5472596288, -0.7695093751, 0.3621479869, 0.3486713469, -0.0253860503, -0.0600560196, -0.1621222496, -0.2040085495, 0.1519806087, 0.4475469589, 0.1794567108, -0.3331408501, -0.1398668885, 0.0948892534, -0.4397820234, 0.3722527027, 0.9285671711, -0.6760463715, 0.7008011341, -0.1229307801, 0.8631895781, 0.2983079553, -0.1618921906, 0.8698501587, -0.5104981661, 0.2062486261, 0.5804648399, 0.2441031188, 0.2991626263, 0.16387178, 0.6988223791, 0.1707092524, -0.7231940627, -0.7784042358, -0.003753952, -0.9661791325, -0.0627786294, 0.8992958665, -0.3816891015, -0.0387157127, -0.2638909817, -0.5582857728, 0.3184768558, -0.2930336297, 1.0197240114, 0.7415795326, -0.0892476141, 0.0007576091, -0.849200666, 0.5280067921, 0.6495234966, -1.2223684788, -0.0872610286, 0.1569794416, 0.182815671, -0.2225605398, 0.9022958875, -0.0008034817, 0.3072175086, -0.1215903834, 0.1371213347, 0.1978882402, -0.1362175047, -0.1274089813, -0.0890527591, 0.0229736269, -0.2292380184 ]
http://arxiv.org/abs/2402.05545v1
http://arxiv.org/pdf/2402.05545v1
Named Entity Recognition for Address Extraction in Speech-to-Text Transcriptions Using Synthetic Data
2024-02-08T10:29:11
2024-02-08T10:29:11
Bibiána Lajčinová, Patrik Valábek, Michal Spišiak
cs.CL
cs.CL, I.2.7
This paper introduces an approach for building a Named Entity Recognition (NER) model built upon a Bidirectional Encoder Representations from Transformers (BERT) architecture, specifically utilizing the SlovakBERT model. This NER model extracts address parts from data acquired from speech-to-text transcriptions. Due to scarcity of real data, a synthetic dataset using GPT API was generated. The importance of mimicking spoken language variability in this artificial data is emphasized. The performance of our NER model, trained solely on synthetic data, is evaluated using small real test dataset.
[ -0.3700855076, -0.7761238217, 0.6368625164, -0.1466625482, -0.0564980619, 0.0472524799, -0.2541079819, -0.8152804375, 0.3959857225, 0.7636358738, -0.5223510265, -0.3810079098, -0.5073292255, 0.4889074266, -0.6755482554, 1.0881112814, 0.0958250985, 0.1477038264, 0.2031606585, 0.1712379903, -0.3698934317, -0.7799766064, -0.6015791893, -0.065798156, 0.2973721921, 0.3101160526, 0.3951586187, 0.4577172697, 0.4471947849, 0.2960363328, 0.0120903319, 0.0366775692, -0.0713359341, 0.1934861988, -0.1247536168, -0.2822670937, -0.3151320815, -0.1777801514, 0.9507933855, 0.3624303341, 0.0106187724, 0.1675053239, -0.3821061552, 0.3313975036, -0.1094016358, 0.1685361713, -0.8498510718, -0.0750392452, -0.3281398118, 0.0570834726, -0.5936838388, -0.4580518603, 0.6701840758, -0.3065047264, 0.5270616412, 0.0129551431, 1.0630151033, 0.044181183, -0.279936254, -0.5327911973, -1.2119714022, 0.4178700745, -0.5547809601, 0.6773861647, -0.0262111668, 0.56012398, -0.2553738356, -0.8614913225, -0.8140332103, -0.1575697809, -0.0965938345, 0.0131494151, -0.1807462871, -0.028209094, 0.3786540627, 0.1981651634, -0.3816398084, -0.2448566705, -0.5900399685, -0.1833742857, 0.4537374675, -0.1410627067, 0.5223335028, -0.2916742563, -0.5255249739, -0.014679526, -0.6309912205, -0.1337855607, 0.6256426573, 0.6757931709, 0.0742350966, 0.6672859788, -0.0525141023, 0.4638104439, 0.4449336827, 0.0701079592, 0.3393336535, 0.1976533085, -0.3417747915, 0.7543529868, 0.6063304543, -0.3554850221, 0.3502812088, -0.6301829219, -0.4945895374, -0.2036091387, 0.4032205641, -0.6296996474, -0.5572642684, 0.1595649123, -0.2910440266, -0.0742992312, 0.4118285477, -0.9106271267, 0.0447101183, -0.6358367205, 0.3987049758, -0.5258949399, -0.246580869, -0.3137353063, -0.2308321595, 0.3986602426, 0.2925272882, -0.8572249413, 0.5673915744, 0.6073891521, 0.5308268666, -0.2653526366, 0.1093583107, -0.3843811154, 0.279056102, 0.0693447888, 0.8149511814, -0.5739355683, -0.3343484402, -0.2082541734, 0.1513514221, -0.0588172562, -0.7596131563, 0.3239841759, -0.7978901267, 0.1541820467, 0.0576085076, -0.5724555254, -0.0440833308, 0.1305303127, -1.056625247, 1.0331281424, 0.2671287656, -0.7317761779, 0.1181657612, -0.8173140883, -0.3482911587, 0.2132676393, -0.1329061538, -0.3877104819, 0.1281100661, 0.1837812066, 0.0261344854, -0.3094058633, 0.39553532, 0.179286465, -0.0594322681, 0.4115211368, -0.644764483, 0.6747985482, 0.119560495, -0.2946288288, -0.2449421585, -1.1806069613, 0.0046794736, 0.1741378158, -0.4772172868, -0.465932548, 0.1460786164, 0.3636363149, 0.1181562915, 0.2839558721, -0.822598815, 0.1570319533, -0.5575128198, 0.2800383866, 0.5713278055, 0.1350855082, 0.4923627675, 0.1028290614, 0.349757731, 0.0693998858, -0.2827380002, 0.2788456976, -0.3919493854, -0.8754168153, -0.3906804025, 0.9417983294, 0.7307903767, -0.6987102032, 0.2229026407, -0.6381916404, -0.4706889689, -0.6628939509, -0.3496944606, 0.1732947975, 0.5719811916, 0.4990700483, -0.1040215492, -0.998313725, -1.1348603964, -0.0603880361, -0.1014292389, -0.1750261337, 0.4380654693, 0.4638684094, -0.4337092638, 1.2295091152, -0.3396914303, 0.1157391518, -0.3903310597, 0.2505145669, 0.2751943469, 0.5183104873, 0.2125284523, -0.9549409151, -0.4843382537, -0.0947749987, -0.3839106262, -0.0391871035, -0.0293129273, -0.1994892806, -0.0175548401, 0.1467550099, -0.8761399388, 0.3808264732, 0.3401260376, 0.0052868547, 0.7428400517, -0.1541183144, -0.2046300322, -1.2098209858, -0.0287625734, -0.0072467285, -0.3856660724, -0.9670240879, -0.3729079962, 0.1097893938, -0.3397431374, -0.4874560535, 0.4093494415, -0.6910297275, -0.3360405862, -0.0222482458, 0.0156174367, -0.4052999318, 0.3059635162, 0.5103775263, 1.0443912745, 0.2902005017, -0.584485352, 0.6232249737, 0.4512781203, -0.2010570616, 0.4524196386, -0.6612312198, 0.5192814469, -0.243375212, 0.0720393583, -0.8521329761, -0.2858066857, 0.2978906035, -0.6126018167, 0.5400936604, -0.4070052505, -0.66653198, -0.327124089, 0.467539221, 0.3216493726, 0.6674795747, -0.8193002343, 0.8871943951, 0.7063356042, -0.4341595471, -0.1263788491, -0.6116948128, 0.2165893316, -0.2204286009, -0.2469241321, 0.7308399677, 0.3256545365, -0.0625633895, -0.1238718256, 0.0114980889, -0.5745353699, -0.3212227225, 0.2232217193, 0.5832667947, -0.2653777003, 0.2704470456, -0.1581441164, -0.2280335873, 0.3549454808, -0.3210346699, 0.5378324389, 0.0990664214, -0.0072650858, -0.5589596033, 0.4091552496, 0.4979591072, -0.196860984, 0.5211088061, 0.1784988642, -0.7349927425, -0.1137984768, -0.5404440165, -0.0740496889, -0.44182235, 0.1700510681, -0.5308707952, -0.3071719408, 0.4864408374, -0.2524873018, -0.2847553492, 0.5437777042, 0.401996851, -0.0272168014, 0.7084083557, 0.5995886922, -0.1700015366, 0.4198548198, -0.0836312473, 0.5380612016, -0.8952191472, -0.2989761233, -0.7166408896, -0.1960251033, -0.8787812591, -0.1108818427, 0.0648191571, -0.4844502807, -0.0676905811, 1.1125252247, -0.6574614644, 0.2984460592, 0.7308542132, 0.1568214297, -0.0595394745, 0.0294487663, -0.2584940791, -0.2027456164, -0.2550683618, -0.7308626771, 0.8271214962, 0.2920571864, 0.5784258246, 0.1873931587, 1.0232172012, 0.2318717092, 0.3202743232, -0.5620804429, 0.5168727636, 0.0369497575, -0.7342936993, -0.2769917846, -0.2882891893, -0.7897365689, -0.1789106727, -0.0299524814, -0.944814086, 0.5131395459, -0.0983749405, -0.2366494536, 0.3240324855, -0.6167382002, 0.5104764104, -0.2409744859, 0.1269053072, 0.4139777422, -0.6606634259, 0.024986688, -0.160022229, -0.0838264525, 0.153347984, 0.3913864493, 0.8151592612, -0.2430976182, 0.617865026, -0.2940968275, -0.078833811, 0.3515724242, -0.1538417786, 0.8739281893, 0.0483478941, -0.187747851, 0.379786253, -0.107393451, 0.0491816774, -0.4403092861, 0.5467458963, -0.7155024409, -0.3085317016, -0.3695913255, -0.433311671, -0.1856509447, 0.1364646554, 0.2869982123, 0.4476862848, -0.3479765058, 0.0006199562, 0.7003131509, -0.2133440673, 0.3241795003, 0.3890440166, 0.2341607362, -0.6145219803, 0.748154819, 0.1972917765, 0.0870367065, 0.6174297333, -0.3823980689, -0.4814663529, -0.3183321357, -0.556776464, 0.0695494041, -0.3858382404, -0.3211400509, -0.7964507341, -0.7927024364, -0.4715071619, 0.2426256388, -0.5571376085, -0.4578688443, -0.4605392814, 0.0298055205, 0.2383786738, 0.6449008584, 0.0876323804, 0.2888589203, -0.8052984476, 0.512162149, 0.1494847387, 0.1675031185, -0.2170291841, -0.4304936528, -0.048752699, 0.2955689132, -0.0466648564, -1.3760942221, 0.8090440631, 0.1093116477, 0.6150212288, 0.1620550007, 0.0290503018, 0.7436824441, -1.0242481232, 0.5536138415, 0.0041962201, -0.8629236221, 0.7606968284, -0.0699534342, -0.1484631151, 0.4206170738, 0.267190963, -0.2332537472, -0.1482660025, -0.889267087, -0.8657725453, 0.6921592951, 0.2840736806, 0.2464769483, -0.2896891832, 0.4843446612, 0.1581505239, 0.179977566, -0.7431001067, -0.3107093275, 0.1082888022, -0.4665097892, 0.2191412747, -0.4484407604, 0.2928321064, -0.1710197031, 0.6302483678, 0.3962056041, 0.9479627609, 0.4615827203, -0.3011687696, 0.2136697024, 0.4894840121, 0.2831220627, 0.0886006355, -0.3744240105, 0.124456808, 0.3214088976, -0.6038293839, 0.1498553753, 0.5114078522, -0.5491107106, 0.595919311, -0.1439178884, 0.6695306897, 0.1729934514, -0.5764555335, 0.3206232488, 0.0842572078, -0.0689469054, -0.823310256, -0.0114566619, -0.1381765753, 0.3020924032, 0.3607211709, -0.0548616312, 0.3667102158, -0.4439448714, 0.3283406794, 0.3845721483, -0.4987748563, -0.494933635, 0.6980136037, -0.0509311855, -0.7935890555, 1.0009826422, 0.0753601044, -0.7154884934, 0.8487730622, 0.9169833064, 1.1560404301, -0.3196761012, 0.0386291184, 0.4625891149, 0.1483629048, -0.0074818865, 0.1651543975, -0.1103660017, -0.5879583359, -0.0423673168, -0.5748083591, -0.477769345, 0.1636843383, -0.8224933743, 0.4299151003, -0.3337320983, -0.2384906709, 0.3296345472, -0.2876543403, -0.9251936078, 0.321708411, 0.3105221391, 0.7621807456, -0.5174879432, 1.0673966408, 0.6604903936, -0.3931392133, -0.7805584669, 0.1538325697, -0.3434213698, -0.5369150043, 1.2628488541, 0.1523784399, 0.0851894692, 0.2198816389, -0.5435490608, -1.1229567528, 0.8886142969, 0.2001906633, -0.7322303057, -0.3615191579, 0.3609858155, 0.566639483, -0.4828260541, 0.1560377181, 0.5036591291, 0.3313194215, 0.0437822901, -0.8642914295, -0.1604941189, -0.1878205389, 0.0848185271, 0.3924079537, -0.1503589451, 0.8920894861, -0.1765500605, -0.4542241395, 0.1402685046, 0.7359858751, 0.0497696921, 0.0188905057, 0.2100726664, 0.4713094234, 0.6782281399, -0.2813797891, 0.664319694, -0.2753751576, 0.3839215338, 1.3159021139, -0.427957356, 1.0881018639, 0.6188368797, -0.2181202918, 0.5988792777, 0.3504081368, -0.2838833034, 0.9195347428, 0.3466273248, -0.3927183449, 0.2307883501, 0.2720410526, -0.2072811276, 0.5482826233, 0.3716052473, -0.6364203095, -0.2086020112, -0.02861722, -0.2845718265, -0.3259972036, 0.1008569673, 1.0827527046, -0.2511830032, -0.3974611163, 0.2673689425, 0.1327218711, 0.3843134642, -0.2968579233, -0.3480342031, 0.2471824437, 0.0103072403, 0.2209423631, -0.3831699789, 0.3248128891, 0.2805531621, -0.5249769688, -0.0874119774, 0.8750476837, -0.6775772572, -0.5844559669, 0.0582320914, 0.2052087188, 0.3661754727, -0.0390209705, -0.3135461807, -0.4098970294, -0.1111596078, -0.0198808815, 0.1453263313, 0.6305506825, 0.2552966475, 0.3509055078, 0.8617392778, 0.4358985126, 0.1717348844, -0.0592841543, 0.6849702597, -0.8730540872, -0.4940401614, -0.795558095, 0.2982938588, -0.2353998423, -0.069744572, 0.4750220776, 0.7890589237, 0.691428721, -0.3480767906, 0.8706629276, -0.044641953, 0.870072484, -0.3504300714, 0.4302582443, 0.051100269, 0.2440260798, -0.2838830948, -1.033809185, 0.0002038966, 0.6839804649, -0.4613240957, -0.2187149674, 0.3494296968, 0.7171762586, -0.221489802, 0.0120559158, 0.1167213842, 0.0956322029, 0.2504609525, 0.5752381682, 0.757083416, -0.8448563218, 0.2755051255, -0.2208437622, 0.2388667315, -0.2596090138, -0.6427082419, -0.5896906257, -0.6038167477, -0.2205052078, -0.3774939477, 0.2261979133, 0.9901203513, 0.6005613208, -1.1065922976, 0.2035699487, -0.2734715939, -0.1414206624, 0.1845614314, -0.2818620205, 0.5632494688, -0.0546907932, -1.0204726458, 0.3488114178, 0.2240320444, 0.6106086373, 0.0553405508, 0.067428045, -0.143089816, 0.1725421101, 0.2892463803, 0.4369573593, -0.8066825271, -0.4174529016, 0.0595518798, -0.2813515663, 0.2513537407, 0.5429589748, -0.8792782426, 0.3717882037, 0.3853829503, 0.7949820161, 0.297462672, 0.253198266, 0.5132511854, -0.6718656421, 0.0034524412, 0.2781888247, 0.3989186883, 0.2817632258, -0.7209390402, 0.2085602582, 0.1326589286, -0.3978749216, -0.7428601384, -0.0049083927, -1.0105663538, 0.3110376, 1.1658327579, 0.0827291459, -0.3265045285, -0.2436853349, -0.4043834805, 0.4567311108, -0.4516195059, 0.7476920485, 0.6786614656, -0.1259026974, -0.2232967019, -0.7778589725, 0.2887791991, -0.1675260216, -0.8394785523, -0.0070160357, 0.4444726408, 0.5173795223, 0.2365654707, 0.3783209026, -0.2987481654, 0.1145499051, 0.0654292852, 0.3063384593, 0.2247668356, -0.5275917649, 0.0458833873, 0.0911371931, -0.2779780626, -0.3556950688 ]
http://arxiv.org/abs/2402.05536v1
http://arxiv.org/pdf/2402.05536v1
Empowering machine learning models with contextual knowledge for enhancing the detection of eating disorders in social media posts
2024-02-08T10:15:41
2024-02-08T10:15:41
José Alberto Benítez-Andrades, María Teresa García-Ordás, Mayra Russo, Ahmad Sakor, Luis Daniel Fernandes Rotger, Maria-Esther Vidal
cs.LG
cs.LG, cs.CL
Social networks are vital for information sharing, especially in the health sector for discussing diseases and treatments. These platforms, however, often feature posts as brief texts, posing challenges for Artificial Intelligence (AI) in understanding context. We introduce a novel hybrid approach combining community-maintained knowledge graphs (like Wikidata) with deep learning to enhance the categorization of social media posts. This method uses advanced entity recognizers and linkers (like Falcon 2.0) to connect short post entities to knowledge graphs. Knowledge graph embeddings (KGEs) and contextualized word embeddings (like BERT) are then employed to create rich, context-based representations of these posts. Our focus is on the health domain, particularly in identifying posts related to eating disorders (e.g., anorexia, bulimia) to aid healthcare providers in early diagnosis. We tested our approach on a dataset of 2,000 tweets about eating disorders, finding that merging word embeddings with knowledge graph information enhances the predictive models' reliability. This methodology aims to assist health experts in spotting patterns indicative of mental disorders, thereby improving early detection and accurate diagnosis for personalized medicine.
[ -0.0888299122, -1.0821566582, 0.5374075174, -0.0958167538, -0.3711193204, 0.3861211538, -0.0569863021, -0.5984632373, 0.8954284191, 0.4489366412, -0.1840987056, -0.6212533116, -0.8454321027, -0.1650566608, -0.4544279873, 0.7119262218, -0.2232400626, 0.2858797908, -0.4367063642, -0.3166547716, -0.3085203171, -0.3582391739, -0.919408977, -0.3032338619, 0.6966251135, 0.1429389268, 0.518914938, 0.4600796402, 0.2689450383, 0.2069256902, 0.1913845539, 0.7296645045, -0.3996546268, 0.0499060787, -0.2080908269, -0.0433017835, -0.3001798391, -0.3545539677, 0.1895428002, 0.9721699953, 0.0506012179, 0.1105876788, 0.2552403808, 0.5088592172, -0.3416581154, 0.1244521663, -0.2537073791, 0.3385182917, -0.1071285084, -0.243570298, 0.0164211355, -0.1461090297, 0.0800051093, -0.73430866, -0.0987311229, -0.0417389087, 0.6601862907, 0.3887416124, -0.878921628, -0.3536997736, -0.6817567348, 0.2822620869, -0.5170140862, 0.4421355426, 0.4378151298, 0.3332670629, -0.0852316394, -0.7720758319, -0.5597063899, 0.2264545709, -0.3651940525, -0.3087770939, -0.2412817627, -0.1041972786, 0.0558883883, 0.1555300802, -0.8027348518, 0.1649032682, -0.4558151662, -0.2171050161, 0.6513777375, 0.1266283542, 0.6640163064, -0.2818757594, 0.0232120659, 0.203840822, -0.3077229261, 0.0983701721, -0.1974625587, 0.1410966516, -0.0718634054, 0.6159135103, -0.2068628371, 0.5632607937, 0.2636047602, 0.036410898, 0.377407819, -0.227437973, -0.1562501639, 0.1053133979, 0.6166889071, 0.782433331, 0.0206845943, -0.1900310516, -0.059932936, 0.1883657426, 0.3921497464, -0.7242266536, -0.519405961, 0.2052247077, -0.6395802498, -0.2024173141, -0.1026872918, -0.5541613102, -1.0594055653, -0.2819350958, 0.3084124625, -0.6011037827, -0.3597639799, -0.1461303234, -0.1563812047, -0.0452455916, 0.2611985207, -0.6538028121, 0.3516362309, 0.6300898194, 0.605266273, 0.0129272481, 0.1221044138, -0.3565208912, 0.6313411593, -0.2687647939, 0.7000854611, -0.6023026705, -0.117438443, -0.0013063541, 0.2155411839, -0.1981320679, -0.6593818069, 0.4615657628, -0.5206474066, -0.2389646471, -0.5096811056, -0.989228189, -0.4277044535, 0.2703438103, -0.7031230927, 0.8029623628, 0.305952251, -0.7056522369, 0.6862227321, -0.4386493564, -0.9490676522, 0.3906831443, -0.2198297828, -0.3575611711, 0.0730127171, 0.564278245, 0.8598352671, 0.0990048423, 0.4709929228, -0.8268865943, -0.1702996939, 0.0077280393, 0.1824150681, 0.3490360975, 0.2416542321, -0.0151679125, 0.3412443697, -0.3989439905, -0.0294384509, 0.3136079907, 0.0040641739, -0.8439570069, 0.3106125891, -0.0402729101, -0.0562165119, 0.0654793233, -0.2072748393, 0.0021887035, -0.2340621799, 0.7064761519, 0.4311009347, 0.3150138855, 0.2805142701, -0.4624347091, 0.1616084725, 0.2938264906, 0.0404864512, 0.0073201051, -0.6119957566, -0.2266336977, -0.1988865882, 0.2091278434, 0.5747550726, -1.0530833006, 0.8906764984, -0.2685825825, -0.3366275132, -0.5061784983, 0.3087338805, -0.0302528553, 0.7358118892, 0.5625677109, -0.0627546757, -0.7127181292, -0.5823637843, -0.2560832202, 0.4205396175, -0.1775573492, 0.4302687645, 0.5448453426, -0.6552983522, 0.6111804843, -0.305708468, -0.2394051105, -0.3935305476, -0.047975447, -0.2005112767, 0.4323276579, 0.7310888767, -1.1288108826, -0.7172126174, 0.3151577115, -1.0098104477, 0.25246647, 0.4843775034, 0.1563184708, -0.0951926485, 0.3238791525, -0.3201287091, 0.4085575044, 0.3022023737, -0.4878647029, 0.0208875034, 0.1771485358, 0.1875905842, -1.3447378874, -0.0427218042, 0.3370431364, -0.4422535002, -0.5469136238, -0.2788062096, 0.0557572395, -0.2952460647, -0.0694776922, 0.5613611937, 0.0378118567, 0.0535403453, -0.1352510601, -0.2968193293, 0.0662067905, 0.0536681674, -0.0639102533, 0.1163813621, 0.5606392622, -0.594217658, 0.3910410404, -0.1897475123, -0.3898274004, 0.4853072762, -0.4660607874, -0.0869421139, -0.2957850695, 0.4239049852, -0.9558870792, -0.6019258499, 0.5479226112, -0.6223480105, 0.1690007597, 0.2606492341, -0.6559211612, -0.681194663, -0.1128975973, 0.5116192698, 0.1870818734, -0.5353159904, 0.5485123396, 0.6352434158, 0.0628587753, -0.0636701509, -0.6700266004, -0.0720953494, -0.1823215485, -0.6339156628, 0.3802904785, 0.2469881475, -0.0101895761, 0.7674286962, -0.0530505255, -0.2199708968, 0.2574456036, -0.0503740162, -0.0923206955, -0.1605873108, 0.3066819608, 0.5788004398, 0.2999918461, -0.1345792711, -0.4429717064, 0.6528210044, 0.1095879078, -0.0547630526, -0.6447657943, 0.6505764723, 0.4164186716, -0.2558929026, 0.8121458888, 0.7723261714, -1.0345253944, -0.288898021, -0.3196683228, -0.3992228806, -0.423830688, 0.2263830602, 0.0547121391, -1.0170460939, 0.5362210274, -0.1186028346, -0.4151870608, 0.2788896561, 0.2118808478, -0.4492390156, 1.1238569021, 0.6081861854, -0.230423376, 0.4222939312, -0.2296425849, 0.3364829719, -0.6433208585, -0.3026492596, 0.1452153772, -0.5754590034, -0.4088927805, -0.5082992315, 0.4482316077, -0.1400566697, -0.1863731742, 0.0240287781, -0.545443058, 0.3283871412, 0.1981621981, 0.6869961619, -0.0071780942, -0.016742846, -0.251221031, -0.0909948796, -0.737459898, -0.3922042251, 1.1226377487, 0.2328906506, 0.4566911757, -0.1820945293, 0.8000240326, 0.7702059746, 0.5594996214, -0.8027892709, 0.1213984713, -0.3480541706, -0.4838711321, -0.0413660891, -0.6883946657, -0.8321509361, -0.0402649119, -0.332239002, -0.7672371864, 0.0586392209, 0.2177954167, -0.5930451751, 0.5255329609, -0.7680860162, 1.0503015518, -0.4259968102, -0.0942069218, -0.191225335, -0.5449278355, 0.3957033157, 0.0367931128, 0.300334543, -0.0027040492, 0.0169083178, 0.9911950231, -0.2303909361, 0.9151960015, -0.1512029022, 0.2907356918, 0.0168555453, -0.1522695273, 0.0524563417, 0.0630173162, 0.1455641687, -0.0657099634, -0.0221830644, -0.4239536524, -0.6764320731, 0.672516048, -0.732435286, -0.0774226487, -0.1526025087, -0.3146961629, -0.4228444397, 0.4598143399, -0.0804096758, 0.2372058481, -0.0025607792, 0.2682849765, 0.7287750244, -0.1912547946, -0.0310679972, 0.2538582087, -0.1994482875, -0.5460835695, 1.0636307001, 0.2453786433, -0.3750723004, 0.3919405043, 0.2562779188, -0.0902162716, -0.3509705365, -0.0066023986, 0.2788766325, -0.608533144, -0.0933487862, -0.7513519526, -0.2778116465, -0.8799139261, -0.3095433116, -0.2235146761, 0.0564591251, -0.5488357544, -0.4629429877, 0.1851992011, 0.873455584, -0.0700148493, 0.1642744988, -0.7593203783, 0.5016158819, 0.1894370019, 0.3558230698, 0.5632990599, 0.048963692, -0.2622638643, 0.1144348979, -0.2884311378, -1.027230382, 0.4398826361, 0.1074111164, 0.5939509869, 0.8537002206, 0.2019380182, 0.514408946, -0.1015533507, 0.3997302353, 0.2243400067, -0.5242356062, 0.7277914882, -0.2359194756, -0.0561523251, 0.5192181468, 1.1263035536, -0.7985909581, -0.1704609096, -0.3620023131, -0.7530930638, 0.1885607392, -0.1482207924, 0.0494642593, -0.1418444216, 0.4935891926, 0.0605029762, 0.24055475, -0.4887565374, -0.2755111158, -0.3612390459, -0.4693811238, -0.0831135139, -0.1188753173, -0.2508833408, -0.8653890491, 0.4111403227, -0.1745360941, 0.131564945, 0.1449495256, -0.2441546917, -0.1696208864, -0.225930199, 0.1777525693, 0.7017641068, -0.0964994058, 0.1957885027, -0.1529844254, -0.1177746728, -0.2093739063, 0.3966896832, -0.1578223705, -0.0884314254, 0.5243335366, 0.6453442574, 0.4165832698, -0.6096265316, 0.4645840526, -0.0940764397, -0.1833499223, -0.1792312413, -0.0619636141, 0.2356821597, 0.3298244774, 0.427131325, -0.0794708207, 0.3464818597, -0.6112726331, 0.497970283, 0.3200983405, -0.376866132, -0.4141762257, 0.5900027156, 0.3760602176, -0.2079118192, 0.5451855659, -0.3991398811, -0.5680820942, 0.6349777579, 0.2729306519, 0.4259726703, -0.3185929954, 0.3449141979, 0.2073891312, 0.2088094354, 0.222898066, 0.2812863588, -0.2294487506, -0.9253987074, -0.1581231058, -0.6476941705, -0.0959312543, 0.3491995037, -0.6725072265, 0.1200175658, -0.49825719, -0.1670864671, 0.4424682856, 0.0566921793, -0.7533428073, 0.2203767151, 0.5269016027, 0.6067593694, -1.1877251863, 0.8584519625, 0.8894074559, -0.2766997516, -0.6719786525, 0.2043760568, -0.002284389, -0.7166379094, 0.0522861555, 0.5254087448, 0.5370059013, -0.1328401119, -0.5567489862, -0.7696140409, 0.9846711755, 0.0405281782, -0.2849446237, -0.172351867, 0.1225735247, 0.6495189667, -0.4446843565, -0.2201719433, 0.4222323895, 0.6009949446, 0.2563380599, -0.6926574111, 0.1987210512, -0.1399283856, -0.0207200814, -0.0161624011, -0.3244600296, 0.479434222, -0.3128890395, -0.3428530395, -0.2046031952, 0.6826794147, 0.0783028379, 0.8003938794, 0.4086364806, 0.8946608305, 1.2562637329, 0.1799519956, 0.9703007936, -0.2540543973, 0.2442610711, 0.9265956879, -0.4549643099, 0.5534321666, 0.1833095998, 0.043317847, 0.5370523334, 1.1478054523, 0.0126648862, 0.6450560093, -0.0248492006, -0.1725297719, -0.2610168755, -0.3659650981, -0.3519895673, 0.0842011869, 0.8394352198, -0.6938878298, -0.2554555237, 0.5074349046, 0.148315832, 0.1515891552, -0.4628814161, 0.8906039596, 0.1044194773, -0.133074522, 0.2691283226, -0.0350781567, 0.5968840122, -0.2682409286, -0.019015912, 0.0395803452, 0.0053399792, -0.335344106, -0.692328155, 0.6996368766, -0.4520412982, -0.2831220627, -0.1333276331, 1.0805659294, -0.4374417663, -0.8493954539, 0.6133232117, 0.4914455116, -0.1532587409, -0.0358378589, -0.7235243917, -0.0332765952, -0.3839026988, 0.0487375893, 0.1586803347, 0.5252270103, -0.1275490671, 0.4895336628, 0.5318290591, -0.1063815132, -0.154808417, -0.2466836572, 1.1128191948, -0.3712424934, -0.5103969574, -0.7669359446, 0.1510136127, -0.2580637336, 0.1036103219, 0.5362066627, 0.4325129688, 0.853713572, 0.1071482748, 0.8794962168, -0.462849617, 0.5629649758, -0.1315830797, 1.0758539438, -1.0798422098, -0.1968984604, -0.0365334004, -0.1044497415, -0.3034807146, 0.4166124463, -0.5691461563, 0.1279218942, 0.5986559391, 0.5279709697, -0.1939816922, -0.1040375158, 0.1631788611, 0.3171811402, 0.135118112, 0.5981935263, 0.5042939186, -0.0309510622, 0.0013069982, -0.4470714629, -0.2627340853, -0.4499299228, -0.3383316696, -0.9313782454, -0.6815129519, -0.205653578, -0.1812252551, 0.3067611456, 0.7594120502, 0.9956226349, -0.7723463774, 0.1949494034, 0.2103403807, 0.6242936254, -0.4940278828, -0.3017484248, 0.3027496338, 0.0778026581, -0.2465815544, 0.3739100695, -0.0510635786, -0.1562061906, -0.1220060065, 0.0343742631, -0.3103480637, -0.2229231745, 0.6123922467, 0.1557328701, -0.4635806382, -0.082944788, -0.3395116925, -0.0601573288, -0.0366405882, 0.5811895132, -0.575753212, 0.3312394321, 0.225622803, 0.9141538143, 0.2588357925, 0.0684647858, 0.3243587911, -0.5390661359, -0.1410063803, 0.5094891191, 0.4462429881, 0.4149526656, -0.8115599155, 0.1730886698, 0.624260664, -0.137196362, -0.6235269904, -0.1666022688, -0.9402597547, -0.5798364878, 1.0248173475, -0.0380073003, -0.6008505821, -0.0334030986, 0.1975636482, 0.3737185001, -0.3955507874, 0.8452369571, 0.4086447656, -0.3139903545, -0.0752210617, -0.4887303114, 0.3810706735, 0.1095569655, -0.7418647408, -0.4645406604, 0.2341373414, 0.573843956, -0.1511921883, 0.5692566633, 0.2937209904, 0.2571372688, -0.3944839239, -0.1748912334, -0.0623671971, -0.1694887877, 0.0732532442, 0.123574242, -0.5782106519, -0.1048850119 ]
http://arxiv.org/abs/2402.05515v2
http://arxiv.org/pdf/2402.05515v2
NoisyICL: A Little Noise in Model Parameters Calibrates In-context Learning
2024-02-08T09:48:02
2024-02-15T15:25:47
Yufeng Zhao, Yoshihiro Sakai, Naoya Inoue
cs.CL
cs.CL, cs.AI
In-Context Learning (ICL) is suffering from unsatisfactory performance and under-calibration due to high prior bias and unfaithful confidence. Some previous works fine-tuned language models for better ICL performance with enormous datasets and computing costs. In this paper, we propose NoisyICL, simply perturbing the model parameters by random noises to strive for better performance and calibration. Our experiments on two models and 12 downstream datasets show that NoisyICL can help ICL produce more accurate predictions. Our further analysis indicates that NoisyICL enables the model to provide more fair predictions, and also with more faithful confidence. Therefore, we believe that NoisyICL is an effective calibration of ICL. Our experimental code is uploaded to Github.
[ -0.3411613405, -0.6835036874, 0.435759902, 0.0065422608, -0.2794746161, 0.0288796294, -0.403303206, -0.7866106629, -0.4702233076, 0.1727360338, -0.5268226266, -0.555388391, -0.2123757899, -0.1926357299, -0.3755200803, 1.2654393911, 0.3622457087, 0.5235661864, 0.0501221307, 0.0216177776, -0.2211904228, -0.2122459561, -0.82046628, -0.5856471062, 0.5905857682, 0.5090984106, 0.7612143159, 0.3706146777, 0.2121638507, 0.1320836991, -0.1968972683, 0.2011103034, -0.7078721523, 0.1926627457, 0.1160521135, -0.3856032789, -0.1333896518, -0.0955777317, 0.7473951578, 0.9819918871, -0.258374393, 0.3495606184, 0.5388338566, 0.6256437302, -0.8024086952, 0.1944634914, -0.7204271555, -0.03977203, -0.164236322, 0.0760232508, -0.5859943032, -0.2836534381, 0.1389175951, -0.6232584119, -0.0848696083, 0.2594534159, 0.8024831414, 0.7299820781, -0.0584909506, -0.2427342981, -1.0640873909, 1.0083676577, -1.050118804, 0.5728264451, 0.5078452826, 0.2292552441, -0.1064911112, -0.8536980748, -0.1886509806, -0.3369826376, 0.1595310718, -0.0292691924, 0.1643708497, 0.1005166695, 0.4075909257, 0.0629156008, -0.1285274178, 0.1171079129, -0.3030266166, -0.1682777852, 0.4941176176, 0.0551541224, 0.0968201458, 0.6407779455, -0.2101631016, 0.0007058271, -0.9431210756, 0.3459436297, 0.7705276608, 0.5895835757, -0.2614814937, -0.1225860044, -0.1092112586, 0.8436895609, 0.3812868297, -0.2486073226, 0.1514682323, 0.1330818385, -0.1041813716, 0.4542126954, 0.390216589, -0.0179129019, 0.2794314325, -0.2363088578, -0.4966911376, -0.3014714122, 0.0297792535, -1.0606518984, -0.7151374221, 0.1994571239, -0.422911644, -0.46665591, 0.0619713925, -0.3444852233, -0.1916278154, -0.6462258697, 0.448779583, -0.3539967239, -0.0981158167, -0.0044915187, 0.2976509035, -0.1804226935, 0.6269967556, -0.8660745025, 0.4415528774, 0.4579169154, 0.3937225342, -0.0840708241, -0.2944690585, -0.6748007536, -0.0075993706, -0.6231582761, 0.6707881093, -0.4557002187, -0.1088811085, -0.1747793406, -0.5889210105, 0.0148595972, -0.7282969952, 0.3489231467, -0.5087989569, -0.1464071274, -0.2696801722, -0.4824090302, -0.0779277235, 0.0202000458, -0.602238059, 1.1331775188, 0.1025782824, -0.6336247921, 0.8619606495, -0.6218416691, -0.2485827208, 0.2300369143, -0.3594336212, -0.397957176, -0.0038335656, 0.058499705, 0.1143664569, -0.1443270296, 0.2395182401, -0.4904440939, -0.9257807732, 0.4786737561, -0.8133770227, 0.9346545339, 0.5926111341, -0.3436844945, 0.0317119919, -0.7790505886, 0.2799252272, -0.4315921664, -0.465318948, -0.3777808249, 0.2573110461, 0.3242149055, 0.0937508121, 0.1315607727, -0.497605294, -0.1498666555, -0.7743443847, 0.168255955, 0.6150652766, -0.134157598, 0.4171840549, -0.4755942822, 0.2166542262, 0.0376353152, 0.2277362943, 0.1948643178, -0.4080552459, -0.3163274229, -0.3751578331, 0.4118095636, 0.0121504599, -0.2396421582, -0.1727996022, 0.0912280232, -0.4013686776, -0.6765693426, 0.5139206648, 0.492647469, 0.7655417919, 0.2883490026, -0.1158466935, -0.5270929933, -0.4810424447, -0.356223613, -0.3779452443, -0.0633161664, 0.4515708089, 0.1267921478, 0.1218335852, 0.8080301881, -0.0482410267, -0.2729851902, -0.0288421139, 0.1815306097, 0.1072987244, 0.3642100692, 0.7061964273, -0.9372566938, -0.9416593909, -0.2423289567, -0.3399344385, -0.1994375437, 0.2665414512, 0.2291871011, 0.1472556889, 0.7674000263, -0.0286764503, 0.4146529138, 0.4971973002, -0.0123744216, 0.4510727823, -0.1330793351, -0.2143752128, -0.6891397238, -0.0236125197, -0.2569396794, -0.2554037273, -0.3954028487, 0.1850545108, 0.0483977199, 0.0550220273, -0.7416009903, 0.5027186275, -0.3445705771, 0.22958754, -0.3007614613, -0.0406465568, -0.3128606379, 0.2420655489, -0.1740419418, 0.9542503357, 0.740578413, -0.6439704895, -0.2169819772, -0.1725855321, -0.4366428256, 0.240191564, -0.3034363687, 0.0856963322, -0.114524506, 0.2884773016, -1.0502458811, -0.2999688685, 0.2340734899, -0.1120835841, 0.4146697521, -0.2723971009, -0.3859446049, 0.1647551954, -0.1451489627, 0.862511456, 0.4295681119, -0.8335811496, 0.3495820761, 0.5121520162, 0.3919916153, -0.5300305486, -0.7896901965, -0.2081308067, -0.0928235948, -0.1627044827, 0.3972521424, -0.7375926971, -0.545407176, -0.11402639, -0.0007999741, -0.2874643207, 0.1263052523, 0.5247246623, 0.0758106858, -0.45808056, 0.1626223624, -0.2203984112, -0.066842854, 0.0764428303, -0.3396263421, 0.4277967811, -0.3191527724, -0.3127592504, -0.6055390835, -0.0968289748, 0.564463675, 0.1978079379, 0.4164747298, 0.5049022436, -0.5127002597, -0.6425181031, -0.3378508985, -0.4699813724, -0.5152730942, 0.2269276083, -0.2252340466, -0.5661336184, 0.5570754409, -0.1251743436, 0.079132624, 0.1266574711, 0.5069202781, -0.2044991255, 1.411129117, 0.6711147428, -0.3303215504, 0.5635376573, 0.0286894571, 0.3849031925, -0.6110306382, -0.0390054919, -0.5931708217, -0.5211575031, -0.5659891963, 0.0294211097, 0.2275539488, 0.0270906296, -0.6136314273, -0.1390750855, -0.4706014395, 0.76477319, 0.5479958653, 0.2354477197, 0.2815368176, 0.0732305944, -0.2398812175, -0.3680121899, -0.6760703325, -0.4564355016, 0.9241861701, 0.1565798968, 1.3388762474, -0.0475711003, 0.6522218585, -0.001656247, 0.5688554049, -0.5186700821, 0.2100373954, -0.2898912132, -0.7380966544, -0.3332547247, -0.1601511389, -0.5908785462, -0.2279361635, -0.1052717641, -1.2702476978, 0.178122595, 0.4682748914, -0.7949133515, 0.4431524575, -0.3824218512, 0.4877236784, -0.0972471386, -0.4312053025, -0.1865526587, -0.6386188269, 0.286860019, -0.1549251676, 0.2179461867, -0.0902783573, 0.1386936754, 0.4588282704, -0.3882113099, 1.1127289534, -0.1341765672, 0.0280357506, 0.4807864428, 0.2741054296, 0.5263627768, 0.2613096833, -0.4116596282, 0.1959084719, 0.1141845807, -0.0607959516, -0.4505571127, 1.0550500154, -0.8948407769, -0.107134752, -0.211623162, -0.8615810871, -0.1597279012, 0.0497456416, 0.4079441428, 0.4431038499, 0.0788042545, 0.4398888052, 0.8253163695, 0.1216207221, 0.615396142, 0.6787199378, -0.3430375159, -0.019694021, 0.8496150374, 0.3029825091, 0.2080936581, 0.2544624209, 0.1764917225, -0.0485427193, -0.573532939, -0.360272795, -0.315689683, -0.6449589729, -0.2065276206, -0.4072180688, -0.5675465465, -0.055405464, -0.1459319592, -0.6830955744, -0.228401795, -0.4468222857, 0.1098519936, -0.0409804806, 0.7594748139, 0.0229042992, 0.354188025, -0.2156071067, 0.0156425405, 0.0299669802, 0.5069670677, 0.1348578632, -0.6341198087, -0.4335223734, 0.259483248, -0.2024941146, -0.4447315931, 0.3285169899, 0.4839619994, 0.4029208422, 0.5960299969, 0.2460965067, 1.0008738041, -0.3812967837, 0.7091064453, -0.1515532583, -0.810361743, 0.2742621899, -0.030617686, 0.4943101406, 0.9115308523, 0.0016824945, 0.0091145718, -0.8387976289, -0.7779738903, -0.8091744184, 0.6081230044, -0.1722290665, 0.2416904569, 0.3016930521, 0.5299159884, 0.1325220764, 0.1261481792, -0.7496371269, -0.3598017395, 0.1641025096, -0.4492354393, 0.1469307542, -0.2706978917, 0.0193622429, -0.4199108779, 0.846991539, -0.1650869697, -0.1780503094, 0.0268100407, -0.1442061067, -0.8730962276, -0.187546283, 0.4596261084, 0.7777072787, -0.5111877322, 0.0919492543, 0.3937108517, -0.6801580191, -0.1820047945, -0.056576509, -0.7296393514, -0.0807936713, 0.1080948561, 0.4724158645, 0.6452490687, -0.7747020721, 0.5536445975, -0.3312802613, -0.0672873259, -0.6060205698, 0.4519286454, -0.2041659057, 0.3699100614, 0.5907956362, 0.6510697007, 0.3062169254, -0.2303355485, 0.4442030787, 0.5096498728, -0.932374239, -0.3930687308, 1.1016610861, -0.1304236501, -0.3340467513, 0.6131625772, -0.0886942968, -0.1919511408, 0.5266520977, 0.7820936441, 0.6735587716, -0.1259602755, -0.0957893655, 0.3645667732, 0.2011235207, -0.0407655239, 0.3405196965, -0.1229699999, -0.782351315, -0.5705005527, -0.7030426264, -0.6118990183, 0.2844294012, -0.5503837466, 0.4136219919, -0.7220577598, 0.0199929774, -0.0843138546, 0.2558499575, -0.6941398978, 0.3722720146, 0.202066347, 0.8471976519, -0.6531096101, 1.2523627281, 0.6989976764, -0.3955995739, -1.2737572193, 0.2770668566, 0.2479176819, -0.468878746, 0.8685290217, 0.1015112028, -0.3578692079, 0.2746911943, -1.0848371983, -0.9763586521, 0.9038829803, 0.8639724255, -0.6728437543, 0.2747138143, 0.0986956432, 0.5372332335, -0.6106469631, 0.3108969927, 0.0826997161, 0.3931711018, -0.0392700955, -0.6725389361, -0.1232121438, 0.0027004448, -0.2773487866, -0.0522740744, -0.6310843229, 1.0289144516, -0.3738372326, -0.0956252292, 0.2265851796, 0.5769042373, 0.1760011017, 0.499058485, 0.5565353632, 0.2162285447, 0.9584025145, 0.0502102748, 0.8801457882, -0.8729268312, 0.3328496218, 1.4971237183, -0.3366288841, 0.8852000237, 0.6409067512, 0.0384591669, 0.3534875214, 0.7759744525, 0.1740478426, 0.6687888503, 0.073347047, -0.4202276468, -0.396648705, -0.1540129334, -0.0897842869, 0.1850876361, 0.3340304792, -0.1441252381, -0.3988859951, 0.0134420646, -0.1270614862, 0.0860529616, -0.2154484093, 0.6132078171, 0.1663958281, -0.4098339081, 0.3301878273, -0.2192323357, 0.4109910727, -0.4706777036, -0.215970397, -0.0641125962, 0.5291032195, -0.1457299888, -0.3844468892, 0.1281535625, -0.3873579502, -0.2198456079, -0.1136488169, 0.8356819153, -0.6563748121, -0.314116478, 0.3771699667, 0.2160527557, 0.2677225471, -0.1536947936, -0.7917852402, 0.0222963039, 0.0614981353, -0.1181008816, 0.5190380216, 0.366412729, 0.0487917922, 0.8145985603, 0.8309316039, 0.2370961457, 0.0229874626, 0.3212139308, 0.7316697836, -0.1255126446, -0.403911829, -0.765460968, 0.5091795325, 0.2071762681, -0.6212628484, 0.6128302217, 0.6837425828, 1.2185759544, 0.1170162857, 0.4856677949, 0.1583031863, 0.4290654063, -0.3762588799, 1.0312005281, -0.5796420574, 0.7304528952, -0.2527809441, -0.7861152887, -0.6900396347, 0.7053756118, -0.1128066853, 0.1638380587, 0.4851697087, 1.1179530621, -0.3962639272, 0.0699473172, 0.7167385221, 0.4489068091, 0.0410839505, 0.2455870211, 0.7746506929, -0.5815054178, 0.4356351793, -0.7498846054, 0.0121599287, -0.3399583399, -0.8590738177, -0.6821346879, -0.5235770941, -0.5254514217, -0.425774157, 0.4056254327, 1.1298080683, 1.0736296177, -1.1215771437, -0.4686712027, -0.0669431612, 0.0204785522, -0.4895116389, -0.2238982916, 0.1769904494, -0.6961429119, -0.9177643657, 0.4999558926, 0.164809525, -0.0991773456, -0.151897952, -0.4884503484, -0.0164742433, 0.0467867404, 0.1774963439, 0.2410142571, -0.5907205939, -0.2535220981, -0.4694908559, -0.3475371599, 0.1433260143, 0.5806553364, -0.7943157554, 0.4628918767, 0.0926546901, 0.2605693638, 0.5815909505, -0.0740076527, 0.4929810762, -0.748961091, 0.4773412943, 0.3519935012, 0.217786938, 0.1390987486, -0.6065567136, 0.435726732, -0.2192281336, -0.7271414399, -0.9443829656, -0.0225006174, -0.567709446, -0.3661608398, 0.9494261146, 0.1222962588, -0.2698481083, -0.2320363224, -0.2844088674, 0.1346581727, -0.6454743147, 0.9003485441, 0.6221759319, -0.0437819697, -0.0257812832, -0.8977105618, 0.9164454341, 0.4395146668, -0.1018520594, -0.1140133366, 0.3413716853, 0.4217923284, -0.1003590599, 0.3314432502, -0.1278202981, 0.3052633405, -0.0568733513, -0.1586333215, 0.1667550057, -0.4400783479, -0.2389963865, 0.1772440672, 0.6365361214, 0.1654562354 ]
http://arxiv.org/abs/2402.05512v1
http://arxiv.org/pdf/2402.05512v1
GPTs Are Multilingual Annotators for Sequence Generation Tasks
2024-02-08T09:44:02
2024-02-08T09:44:02
Juhwan Choi, Eunju Lee, Kyohoon Jin, YoungBin Kim
cs.CL
cs.CL, cs.AI
Data annotation is an essential step for constructing new datasets. However, the conventional approach of data annotation through crowdsourcing is both time-consuming and expensive. In addition, the complexity of this process increases when dealing with low-resource languages owing to the difference in the language pool of crowdworkers. To address these issues, this study proposes an autonomous annotation method by utilizing large language models, which have been recently demonstrated to exhibit remarkable performance. Through our experiments, we demonstrate that the proposed method is not just cost-efficient but also applicable for low-resource language annotation. Additionally, we constructed an image captioning dataset using our approach and are committed to open this dataset for future study. We have opened our source code for further study and reproducibility.
[ -0.3797615767, -0.4230703712, 0.4619828463, 0.1586550027, -0.6090514064, 0.098082386, -0.3640777469, -0.4677563608, 0.0582398064, 0.5044995546, -0.5175653696, -0.2842566073, -0.6142708659, 0.3975492418, -0.3081756234, 0.9726102948, -0.1733154804, -0.1929475516, 0.2529506683, -0.2562687993, -0.2081988454, -0.4705146253, -0.6956045032, 0.1209672764, 0.4017302692, 0.2912986279, 0.9107404947, 1.0782854557, 0.384036988, 0.4023730755, 0.380182296, 0.3865775764, -0.0539491437, 0.0930178761, -0.0258940235, 0.0534809157, -0.0558729954, 0.1333567947, 0.7428908944, 0.4400680363, 0.166952014, 0.291608423, -0.2005235404, 0.5967634916, -0.2245193422, 0.6114270091, -0.7613744736, 0.0333075821, -0.4159009755, -0.0612226017, -0.3330367506, -0.5426025987, 0.001683276, -0.728261292, 0.4148469269, -0.1356189847, 0.6880285144, 0.3347356319, 0.0090848068, -0.225453496, -0.5665141344, 0.5344979763, -0.6704461575, 0.0557629801, 0.2960056067, 0.435095042, 0.1159740165, -0.6034058332, -0.8683611751, -0.3191726506, -0.4594479501, -0.2392843217, 0.3570074141, -0.2391267866, 0.4260217249, 0.4336799979, -0.6289604306, 0.0671501905, -0.3557092249, -0.1929037422, 0.9773349762, 0.043419078, 0.371199131, -0.4961403608, -0.2066971958, -0.0442288741, -0.6543735266, -0.3557189703, 0.4125060141, 0.8435490131, -0.2903700173, 0.7641633749, -0.3281291723, 0.7136127353, -0.1337972432, 0.0261191744, 0.3312118351, -0.2005953491, -0.2730374634, -0.2483496964, 1.2151095867, -0.0569125526, 0.6817987561, -0.3508060873, -0.1902184486, -0.268814683, -0.1979199797, -0.8113379478, -0.5470176339, 0.1053072661, -0.140490815, -0.196183607, 0.2306190133, -0.8095741868, -0.5632597208, -0.4063284099, 0.2191472352, -0.3080351055, -0.2778391242, -0.3120958805, 0.2548880279, 0.0649253279, 0.4351226985, -0.8987461925, -0.0699604079, 0.386007309, 1.3014423847, 0.1209222749, -0.4220999479, -0.7596830726, 0.2155288756, -0.2105766833, 0.7066420317, -0.543697834, -0.429959029, -0.0718683898, 0.2672283053, -0.0447893664, -0.1384371966, 0.0471440218, -0.5882774591, 0.1649894714, -0.229649052, -0.4570703208, -0.1424482167, -0.2197463363, -1.0584805012, 0.8909806013, 0.0972307548, -0.6696149111, 0.4938819706, -1.0057851076, -0.5493907332, 0.815715909, -0.5497626066, -0.434425652, -0.1993420273, 0.6433615685, 0.8408074379, -0.1006285623, 0.4023115933, 0.0560677871, -0.1591038406, 0.2289481014, -0.3036330938, 0.4824087322, 0.2388858944, -0.6530542374, 0.1168156639, -0.4693762362, 0.0664636046, 0.3385003507, -0.3189868629, -0.0258816928, 0.0256722327, 0.2636248767, 0.3312707841, -0.0485909395, -0.4310758114, 0.7005214095, -0.1115356982, 0.6666266322, 0.818600297, 0.062421076, 0.2932520509, 0.0305566788, 0.4942988753, -0.2168815434, -0.0206036642, -0.4855234623, -0.7345908284, -0.3088588417, -0.6565688252, 0.3989765346, 0.5433089733, -1.2509263754, 0.2987566888, -0.436769098, -0.4950287938, -0.7173213959, 0.3173817098, 0.4453152716, 0.308681339, 0.3343058527, -0.3693144917, -0.4486784935, -0.8487579823, 0.189956978, -0.1387408376, 0.0223145485, 0.1895999014, 0.4968426228, 0.045537211, 0.924805522, -0.3827877939, -0.1710959673, -0.07452631, 0.4821193218, 0.0506738387, 0.6728159785, 0.4567377865, -0.7605105042, -0.5307574272, 0.1914380342, -0.6750618815, -0.0348799787, -0.3351044953, -0.0874258503, 0.5517423153, 0.4264683723, -0.5861356258, 0.3099420071, 0.6570588946, -0.100961782, 0.4038722813, -0.0665321648, 0.3774020076, -0.9714729786, 0.2580713034, 0.1597765982, -0.371620357, -0.3102579415, -0.0733833984, -0.0413557477, -0.3473806977, -0.4125058651, 0.6278063655, -0.7997738123, -0.136226967, -0.236479044, 0.162923187, -0.3103192449, 0.3833977282, 0.4838111699, 1.0779511929, 0.5782452822, -0.216116637, 0.6202979088, 0.2693833113, -0.474581182, 0.1312488616, -0.569549799, 0.3489130437, -0.0587712079, 0.2013632357, -1.1160931587, -0.6117045283, 0.3529882133, -0.3527873456, 0.1524084806, -0.5839090943, -0.9788340926, -0.649503231, 0.0613576025, 0.3882810175, 0.4312583208, -0.7334920168, 0.1373552978, 0.3506010473, -0.5241532326, -0.2697586119, -0.8406427503, 0.2286355495, -0.2292110324, -0.5031481981, -0.2048920095, 0.2273316383, -0.0069054333, -0.2243086696, 0.5844019651, -0.1014327481, -0.2386006117, 0.341290921, 0.2531813085, -0.1166479439, 0.4550389349, -0.2646504641, -0.3146728277, -0.3800968528, -0.5009607077, 0.4803116024, -0.1945863813, -0.5077453852, -0.5276283026, 0.6505502462, 0.3970167339, -0.6916312575, 0.547278583, 0.6789419055, -0.4293340147, -0.0188696478, -0.7503307462, 0.0416111648, -0.5031260252, 0.4332720637, -0.2886765897, -1.0173430443, 0.5454121232, 0.2066002339, -0.0391494147, 0.4578994811, 0.7236070037, 0.3814549446, 0.7613681555, 0.3111016452, -0.4918174148, 0.309733808, -0.0396020412, 0.1531088352, -0.3483211696, 0.2761527598, -0.3707696795, -0.1001678035, -0.7994054556, -0.8160511851, 0.2138952762, -0.1003222466, -0.2867065668, 0.3535322249, -0.8795833588, 0.598600328, 0.7114115953, -0.108358413, 0.3798092306, 0.1453682482, 0.2821726203, -0.0338174067, -0.4662593305, -0.8288099766, 1.086443305, 0.0929622948, 0.5138401389, 0.0995227545, 0.6648245454, 0.3001177311, 0.6993426085, -0.437838465, 0.5866312981, -0.1314569265, -0.5448578, -0.8382385969, -0.3976156414, -0.8072756529, 0.0692911521, -0.0484337024, -0.8801804185, -0.1335857213, 0.2134049386, -0.5295990109, 0.5051542521, -0.928945303, 0.8399096727, -0.2038024217, -0.3806441426, 0.359428823, -0.7000595927, 0.2206924558, -0.2142113596, 0.3381952941, -0.1467842609, 0.1169614643, 0.6864215732, -0.5833734274, 0.8983379602, -0.6395727992, -0.0947555825, 0.7560229897, -0.0227503795, 0.8666856289, 0.2520858049, 0.0500783063, 0.0418380015, -0.4775547385, -0.3556323946, -0.1986708045, 0.6946982145, -0.4727551937, -0.4374517798, -0.212399587, -0.7226430774, -0.0461162664, 0.1324599534, -0.0255627558, 0.3056866825, 0.283947736, -0.3625426888, 0.111638777, -0.1934655905, 0.9829618931, 0.3195905685, -0.1154722422, -0.6482518911, 0.8244736195, 0.2665472329, 0.1321779341, 0.0547943227, 0.0236807484, -0.3309777677, -0.5649747849, -1.1842119694, 0.2575573027, -0.4474671781, -0.3171141744, -0.5011171103, 0.1351935863, -0.4843173325, -0.2338405252, -0.3449924588, -0.4627788067, 0.1485448033, -0.3247583807, 0.9278475642, 0.8304419518, -0.1393301785, 0.3614885509, -0.8904936314, 0.263981998, 0.5826845169, 0.4739036262, 0.0484059751, -0.0301183891, -0.3282762766, -0.0958518982, 0.019516781, -0.9036553502, 0.4800342619, 0.1319270879, 0.3582201898, 0.2005980313, -0.1920018047, 0.8005747795, -0.620077908, 0.9417591691, -0.0018255408, -1.1552764177, 0.5943621397, -0.7347590923, 0.2037879825, 0.5004581213, 0.2185509801, -0.4629192948, -0.4236907959, -0.4918344319, -1.0370295048, 0.5851528049, 0.2734422982, 0.1631085575, -0.3007034063, 0.4758173525, 0.3689776957, 0.2832955122, -0.9162385464, -0.0488841869, -0.1614207476, -0.1158416271, -0.2962229848, 0.0276597645, -0.0268081073, -0.1779419929, 0.6841232777, -0.5078456402, 0.2135433853, 0.30944857, -0.0468799621, -0.3356974125, 0.1074577048, 0.483862102, 0.4370380342, 0.1724935025, -0.1407653689, -0.0611814968, -0.4657176435, 0.1590021402, 0.6662399769, -0.2018537819, 0.2018850595, 0.3668008149, 0.7335718274, -0.3093701005, -0.6313134432, 0.5558614731, 0.3552472889, 0.0356861278, -0.2973779142, -0.4603328705, 0.1499611586, 0.3475674391, 0.6090952754, -0.3706378341, -0.0876573771, -0.1904072464, 0.3375263512, 0.3714832664, -0.0441921651, -0.1673736721, 0.6818271279, 0.3434747159, -0.0600243621, 0.7499345541, -0.5820786953, -0.3575614691, 0.5243450403, 0.1209036335, 0.9721885324, -0.3645540476, 0.3515790999, 0.4264875054, 0.4695788622, -0.2525577843, 0.1741956919, -0.0199926682, -0.3178643286, -1.0201935768, -0.4611078799, -0.2611433864, 0.1391249001, -0.4489561021, 0.1105179042, -0.1894809306, 0.0747863725, 0.0207876079, -0.1138931811, -0.895629108, 0.4535000324, 0.469466418, 0.4846904278, -1.0737999678, 0.9496777654, 0.788069725, -0.6456114054, -0.9532135129, -0.1765236855, -0.1137240678, -0.9136014581, 0.7182952166, 0.2695198357, 0.1699154824, -0.0526594073, -0.5947176814, -0.8527336121, 1.1482995749, 0.2595425546, -0.7657099962, 0.0141371544, 0.418425262, 0.4962943792, -0.4319446087, 0.094690226, 0.2509029806, 0.748290658, 0.0489105359, -1.1859101057, 0.3176719844, -0.343462199, 0.0197904948, 0.2706634402, -0.5959391594, 0.8846387267, -0.4059790373, -0.3043586016, 0.2459134758, 0.7007220387, 0.1693483889, -0.0188058335, 0.4800174832, 0.3524332345, 0.7550857067, -0.250505656, 1.0734392405, -0.1706620157, 0.531455636, 1.2634395361, -0.2860171497, 0.674603641, 0.5298020244, -0.3676435649, 0.243548736, 0.5135375857, -0.3585859239, 0.4803810716, 0.6750998497, -0.2812642455, -0.2385768145, 0.1698916405, -0.2514402568, 0.2445746958, 0.1378368288, -0.6592743397, -0.1923386008, 0.1444475055, 0.1773848832, 0.1188372374, -0.4126132429, 0.7599922419, -0.2424090654, -0.5836414099, 0.3676612079, -0.1361542642, 0.614952147, -0.3819403946, -0.0111756315, -0.043355979, -0.1233647391, -0.1692684591, -0.7679152489, 0.3099585772, 0.3035346568, 0.0033297196, -0.0505694039, 0.3593988717, -0.4860943556, -0.7566767931, -0.0946668461, 0.7225256562, 0.2087127864, -0.2922008038, -0.4802258015, -0.1486525685, -0.015679175, -0.3679223359, -0.0505634956, 0.6572470665, -0.3352743983, 0.5128705502, 0.59561342, 0.1311861277, 0.2458733767, 0.1791178733, 0.7777037024, -0.6544237137, -0.51227808, -0.9812874794, 0.8209529519, -0.1206220314, -0.2168465257, 0.6422905922, 0.573675096, 0.9265618324, -0.4561259747, 1.4837117195, -0.3497689962, 0.4873109758, -0.4849346876, 0.759537816, -0.0400962047, -0.0933569148, -0.5502765775, -0.6514958143, -0.5063359141, 0.568010509, -0.5540409088, 0.2052502334, 0.3514880538, 0.7406634688, 0.1873545796, 0.112037167, -0.0109561142, -0.0052648326, 0.4396361113, 0.5653418303, 0.5806180239, -0.2822521925, 0.3902699053, -0.4890803695, -0.160902828, 0.2910924256, -1.0945994854, -0.9462422729, -0.8088686466, -0.6779652238, -0.0892946646, 0.1269186288, 1.0447993279, 0.8861417174, -0.9064099789, -0.0488479212, -0.1159734577, -0.3739194572, -0.0576846153, -0.2237266004, 0.7248774767, -0.2706574798, -0.9097688198, 0.0919819847, 0.1295099854, 0.3292875886, -0.41856426, 0.1083707511, -0.1904405653, -0.2870049477, 0.3916551471, 0.4034746587, -0.686701417, -0.615028441, -0.5111196041, -0.054147251, 0.0141758993, 0.7797557116, -0.7396163344, 0.4654729962, 0.140223816, 0.5607679486, 0.3483250141, 0.2977845967, 0.4681074321, -1.0210183859, 0.4603956938, 0.1214180812, 0.3478420675, 0.8155418038, -0.4118346274, 0.7107869387, 0.1905597299, -0.6341543794, -0.6790451407, 0.1385463327, -0.8663791418, 0.2275194973, 1.1865596771, -0.3580558598, -0.0130305355, 0.015817361, -0.3243571222, 0.2868411541, -0.5184772015, 0.8500480652, 0.5913537145, 0.0722269267, -0.271181047, -0.6065356731, 0.570650816, -0.084395051, -0.9165150523, 0.3482477069, 0.6097593307, 0.0825455785, 0.3175332546, 0.7232201695, -0.2740598917, 0.0439504869, -0.2307339609, 0.4776265323, -0.3225881159, 0.1097802147, -0.1672649086, 0.2333306521, 0.1133798808, -0.4157569706 ]
http://arxiv.org/abs/2402.05467v1
http://arxiv.org/pdf/2402.05467v1
Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia
2024-02-08T07:56:49
2024-02-08T07:56:49
Guangyu Shen, Siyuan Cheng, Kaiyuan Zhang, Guanhong Tao, Shengwei An, Lu Yan, Zhuo Zhang, Shiqing Ma, Xiangyu Zhang
cs.AI
cs.AI, cs.CL, cs.CR
Large Language Models (LLMs) have become prevalent across diverse sectors, transforming human life with their extraordinary reasoning and comprehension abilities. As they find increased use in sensitive tasks, safety concerns have gained widespread attention. Extensive efforts have been dedicated to aligning LLMs with human moral principles to ensure their safe deployment. Despite their potential, recent research indicates aligned LLMs are prone to specialized jailbreaking prompts that bypass safety measures to elicit violent and harmful content. The intrinsic discrete nature and substantial scale of contemporary LLMs pose significant challenges in automatically generating diverse, efficient, and potent jailbreaking prompts, representing a continuous obstacle. In this paper, we introduce RIPPLE (Rapid Optimization via Subconscious Exploitation and Echopraxia), a novel optimization-based method inspired by two psychological concepts: subconsciousness and echopraxia, which describe the processes of the mind that occur without conscious awareness and the involuntary mimicry of actions, respectively. Evaluations across 6 open-source LLMs and 4 commercial LLM APIs show RIPPLE achieves an average Attack Success Rate of 91.5\%, outperforming five current methods by up to 47.0\% with an 8x reduction in overhead. Furthermore, it displays significant transferability and stealth, successfully evading established detection mechanisms. The code of our work is available at \url{https://github.com/SolidShen/RIPPLE_official/tree/official}
[ -0.6693759561, -1.0429791212, 0.6580960155, 0.5096039176, -0.3618107736, 0.2553201616, -0.2724882662, -0.4445059299, 0.1186630055, 0.6636599302, -0.7927897573, -0.3415363133, -0.6290287375, 0.0364189707, -0.2795199752, 0.6977446079, -0.0988164544, -0.166942209, 0.2980596125, -0.0602200776, -0.6128925681, -0.481726706, -0.4167212546, -0.052914571, 0.3281744421, 0.4136859775, 0.4439193904, 0.5862611532, 0.5141496062, 0.2716009915, -0.0108396979, 0.274333328, -0.7969748378, 0.1508286744, -0.0605073348, -0.2006565183, 0.0774969235, -0.1418482959, 0.4400744736, 0.4326191843, -0.2608793676, -0.0172401797, 0.1587208211, 0.6746243834, -0.8597677946, -0.1914856136, -0.7935222983, 0.2020950317, -0.1230091825, -0.1082831994, -0.327911377, -0.4957789481, -0.2614715397, -0.4459660947, -0.1925355196, 0.3333672881, 0.5574886203, 0.2624101937, -0.0607897639, -0.4107930958, -0.5962599516, 0.8399381638, -0.3397683501, 0.3995629251, 0.2065867335, 0.0757492781, -0.3834770024, -0.4728290439, -0.5475013852, -0.4150286019, 0.2486465126, -0.165337041, -0.4249880016, 0.2728368044, 0.2860781848, 0.1324801743, -0.3279823363, 0.3439200521, -0.0047703316, -0.315285176, 0.4281814396, 0.4084944129, 0.2702921331, -0.1005184129, -0.5504178405, -0.1900944412, -0.4298765659, 0.2521045506, 0.4326682389, 0.4454521835, -0.3003978133, 0.6324954629, 0.1216363385, 0.5947054625, 0.1720573902, -0.2501598895, 0.0995816961, 0.0329337418, 0.0602973104, 0.0159193985, 0.9076129198, 0.38362661, 0.1677249223, -0.1279441565, -0.6091824174, 0.0095290802, 0.4703706503, -0.6759919524, 0.4901606143, 0.5403036475, -0.5433446169, -0.5582678318, -0.1139544919, -0.8210791349, -0.7983542085, -0.1161869764, 0.2796861827, -0.6166293025, -0.134288013, 0.1815438718, -0.0972492248, 0.329875946, -0.0776181743, -0.9237862825, 0.33654055, 1.0357717276, 1.0578180552, -0.0578420721, -0.2225475609, -0.5239276886, -0.110808149, -0.3822987974, 0.6268174648, -0.3473761678, -0.9314697385, -0.0096442597, -0.4869104922, 0.0637661368, -0.4922551811, 0.73223418, -0.4169796705, -0.4146784842, -0.0836574882, -0.4622205496, 0.1059663743, 0.3508531749, -0.4816038609, 0.5886369348, 0.0643423051, -0.6024442315, 0.0628324747, -0.5192738771, -0.450209558, -0.114470385, -0.0082605649, -0.411837697, 0.3226605058, 0.2174492329, 0.1321369857, -0.2876228094, 0.2854361534, -0.4654667675, -0.4899211824, 0.4670362771, -0.2932182848, 0.736997962, 0.5909113884, -0.4614414275, 0.0392363705, -0.5277833343, -0.0490856357, 0.0776196346, -0.115007095, -0.4012593627, 0.00349755, 0.0376356989, -0.0274148025, 0.3363012671, -0.6369059682, 0.2673018873, -0.3739275932, 0.2544538379, 1.1829400063, 0.2793370187, 0.3177941442, -0.1650380343, 0.5186097622, -0.393353194, 0.6726487279, -0.0272809416, -0.1790438741, -0.4391785264, -0.6351376176, -0.2880199254, 0.8146777153, -0.2460971177, 0.6844046116, 0.1409611553, -0.5291168094, -0.3669190407, 0.4223528206, 0.6217470169, 0.6451174617, 0.2168640196, -0.3050223589, -0.9005204439, -0.8949166536, -0.7122616172, -0.0781108886, -0.0131800836, 0.4237567782, 0.1208519787, -0.6626452208, 0.9148789644, -0.5353807807, -0.4135440886, -0.3967091143, 0.05579485, 0.5871553421, 0.4990579188, 0.2765472531, -0.4701503813, -0.2175452411, -0.2035316974, -0.9134269953, -0.3207467198, -0.4767904878, -0.265535295, -0.0834754333, 0.5299188495, -0.7873815894, 0.1340952963, 0.290532589, -0.1848116666, 0.8285266161, -0.0371241085, -0.2062266469, -0.7869102359, -0.0078484342, 0.0876965746, 0.0909666419, -0.5929965377, 0.3288445175, 0.1401760727, -0.3160666525, -0.5373056531, 0.6585657597, -0.5078049898, 0.1791345924, -0.3464592099, 0.1469021291, -0.5160226822, 0.5406134129, -0.2261153907, 0.6343034506, 0.6075922251, -0.3492843509, 0.124228932, 0.1741379648, -0.3543485999, 0.2668500841, -0.5187109709, 0.295663029, 0.0034181934, 0.1275445372, -0.4744248986, -0.051993493, 0.2940663099, -0.2394713163, 0.0652737841, -0.0177864637, -0.3247376084, -0.4612375498, -0.6654024124, 0.2424912155, 0.8486078978, -0.5774230957, 0.7489473224, 0.5241754055, -0.0067028329, -0.8597869873, -0.3731517196, 0.3546628654, -0.3461498618, -0.4450493753, 0.0600415133, 0.0016183463, -0.7087831497, -0.4253719449, -0.2532271743, 0.2711277008, 0.1501012892, 0.4870621264, 0.4850282371, 0.2582135201, -0.3544330001, 0.0446339212, -0.2156648338, 0.1598085612, -0.3745507896, 0.6456065774, -0.3399812877, -0.2507164478, -0.4948362708, 0.3696954548, 0.5271107554, -0.0145012829, 0.5952289104, 0.4394459724, -0.1272441894, -0.4341275692, -0.8152377009, -0.3301106393, -0.6283311844, 0.2607572377, -0.3848569095, -1.0184099674, 0.5623327494, -0.2247806191, 0.0460444279, -0.3806075156, 0.64262712, -0.0318998359, 1.0058835745, 0.7493780851, -0.4648845792, 0.6779671907, -0.1912349164, 0.5610775948, -0.8699041605, -0.1842704564, -0.4242162406, -0.1966400445, -0.5718249679, -0.5301216245, 0.4782025814, 0.2709699571, -0.4342255592, 0.1803025752, -0.5140333772, 0.5131621957, 0.3610982597, 0.1092339754, 0.0859808475, 0.0005714099, -0.3621213734, 0.1500299126, -0.2686965764, -0.4302386642, 1.1443139315, 0.3982847333, 1.1274101734, -0.0721802637, 1.0275082588, 0.3958770037, 0.4415796101, -0.7782749534, 0.7607275844, 0.0397636406, -0.2954538763, -0.156084612, -0.3160476089, -1.0695188046, 0.3475399017, -0.2283839136, -1.0951843262, 0.1898410022, 0.1430334151, -0.2483654469, 0.3684502244, -0.6709819436, 0.366464138, -0.4986775219, -0.5487327576, -0.3138153553, -0.6727441549, 0.7018891573, -0.3700980842, 0.6873157024, -0.2664352357, -0.3084886968, 0.4556373656, -0.7619906664, 0.9510801435, -0.4665039182, -0.1142904311, 0.4393850565, 0.2927601039, 0.818629384, 0.2181660384, 0.0749171078, 0.2551943064, -0.6719363332, -0.3262426555, -0.5061709285, 0.688523829, -0.8875054717, -0.792278707, -0.1348753273, -0.5344777107, -0.4421848357, 0.4251683652, 0.268735975, 0.0874451324, -0.1691608429, -0.2647351921, 0.7237573266, -0.23855488, 0.5299006104, 0.5147371292, -0.2645197511, -0.545161128, 0.8853949308, -0.3815520406, -0.0994860604, 0.1862079203, 0.32202214, -0.3774717152, -0.7648228407, 0.0386996157, 0.3408640921, -0.4969973862, -0.1528767049, -0.6365109682, -0.0326592848, -0.3220785558, -0.6052539945, -0.4999895692, -0.1843114048, 0.0120853083, -0.2250775546, 0.1644266248, 0.2805954814, -0.5342940688, 0.0544707775, -0.9122325182, 0.735004425, 0.2622615993, 0.4350760877, 0.0274584107, -0.2616491616, -0.1201337427, -0.1573586762, -0.3290177584, -0.7345257998, 0.4466242194, -0.0712028146, 0.6456782818, 0.6945804358, 0.268113941, 0.8094285727, -0.3732699454, 0.4725711048, 0.5350011587, -1.1558215618, 0.7176007628, -0.3956929147, -0.0601796359, 0.6718658209, 0.1622376144, -0.6888543367, -0.7575015426, -0.3068957627, -1.1284798384, 0.2926471829, 0.1570799202, 0.3990067542, -0.1568754613, 0.3549337983, 0.1511543989, 0.0621528737, -0.6341768503, -0.0937770084, -0.0471391007, -0.0298715122, 0.0596068464, -0.2045640796, -0.4049578905, -0.0154123995, 0.4534188807, 0.0042257225, 0.2738999128, 0.1296789646, -0.2735969424, -0.0408862755, 0.0652009547, 0.58526057, 0.2359470725, -0.2227225602, -0.0666312948, 0.1139399111, -0.8114094734, 0.4382002056, -0.1119956002, -0.0925729796, -0.3090205491, 0.4827487767, 0.748650074, 0.1167798638, -1.2519652843, 0.4075326324, -0.0970919058, -0.0378565826, -0.5186753273, 0.2028559595, -0.4026347697, 0.3356108665, 0.5740278959, 0.2103921473, 0.0565880276, -0.3274255991, 0.1288211495, 0.5695829988, -0.2725383341, 0.0057945503, 0.6372359395, 0.2558731735, -0.5882602334, 0.8492760062, -0.0062009576, -0.3687136471, 0.4598829448, 0.5388790369, 1.336982131, -0.0011027601, -0.1730323881, 0.2961937785, 0.4744120836, -0.1358696371, 0.2351872623, -0.25745821, -1.0588965416, -0.1897058189, -0.6229878664, -0.5231433511, -0.0947959349, -0.7272268534, 0.3456088305, -0.8339779377, -0.2959581614, -0.5901728272, -0.2472465932, -0.2691677213, -0.1355221868, 0.4027643502, 1.2022601366, -0.4581065476, 0.6638664603, 0.1590666473, 0.0034497471, -0.8833436966, -0.0592118539, 0.2646002173, -1.2375022173, 0.2757982612, 0.2676805258, -0.3605390787, -0.1491194069, -0.627607882, -0.7319779992, 0.7151466012, 0.3846275508, -0.9553599954, 0.0881119296, 0.0633296743, 0.3117009401, -0.2212917656, -0.06354931, 0.9210998416, 0.6831662059, -0.2010032386, -0.602525413, 0.1569620073, -0.3833627403, 0.0877929479, 0.2292758673, -0.7189105153, 0.5173799992, -0.7252988815, -0.055142805, 0.1646687835, 0.2857401073, 0.9061337113, 0.1742830426, 0.7006422281, 0.8059353828, 0.6994454265, 0.1074711755, 1.3471933603, -0.6526601911, 0.2926875353, 0.8047207594, -0.3868430555, 0.6430328488, 0.9279849529, 0.0371510908, 0.4417370558, 0.5807629228, -0.0534006096, 0.6568868756, 0.3837544918, -0.395052433, -0.1133877933, 0.0489824675, -0.1737218946, 0.3657695055, 0.4002900124, -0.1880527884, 0.0944644734, 0.4627617002, 0.3777998388, -0.0302789081, -0.3937461674, 0.7439881563, 0.2484260499, -0.6218737364, 0.9331535697, -0.0028604751, 0.8376136422, -0.7444455624, 0.3930997252, -0.5788999796, 0.2488819808, -0.0611606762, -0.5274467468, 0.1066474766, 0.3982483745, 0.3061209023, -0.5774503946, 0.7500206828, 0.2777760029, -0.44476372, 0.5670459867, 0.2274353802, -0.0927887708, 0.0228119884, -0.7293871641, 0.6273638606, 0.0489220694, -0.5473191738, 0.3865228295, 0.0648752078, 0.0283589121, 1.0759145021, 0.8545336723, 0.2231344581, -0.0244867839, 0.0439335629, 1.1093417406, -0.8986360431, -0.7144762874, -1.0833741426, 0.364291966, -0.0766230151, -0.2356443852, 0.8236256242, 0.6109337211, 0.4440507293, -0.0130867129, 0.8823801875, 0.0174531359, 0.1939808726, -0.5067208409, 0.4898446798, -0.1880788058, 0.6798135638, -0.4157437086, -0.9765554667, -0.2737288475, 0.5345904231, -0.2414530665, -0.3230641782, 0.5081650019, 1.0276527405, 0.3740811348, -0.0847323388, 0.1544190496, 0.3657231927, 0.3715326488, 0.6610758901, 1.019397974, 0.1454837024, 0.4916325212, -0.4192850292, -0.5428980589, -0.2944692075, -0.7168678641, -0.6195027232, -0.1635462344, 0.0702064186, -0.4499858916, 0.13077344, 1.066237092, 0.6436561942, -0.5405504704, -0.5930591226, -0.3802843392, 0.3021330535, -0.3343679607, -0.2355159074, -0.0117208231, -0.62371701, -0.4717889428, 0.6260052919, 0.5166835189, 0.0405710265, -0.1964700669, -0.2415193915, 0.3407823741, 0.5030865669, 0.4938197434, 0.5490354896, -0.6556718349, -0.1907181442, -0.0759483203, -0.1156617403, -0.1074163765, 1.2459540367, -0.7156921029, 0.4362999499, 0.1518035978, 0.4923609793, 0.4879209101, 0.0789504945, 0.4491310716, -0.6003026962, 0.6013249159, 0.5460923314, 0.3571513593, -0.0366049334, -0.4920465648, 0.267609328, 0.0958224237, -0.2936496735, -1.1755737066, 0.2804104984, -1.0709835291, -0.5265371799, 0.9143567085, 0.069651328, -0.401828438, -0.0738504604, -0.3267146349, -0.0516472608, -0.4987710714, 1.1760715246, 0.2419202775, -0.4734249115, -0.1324670464, -0.0588252284, 0.2683728337, 0.2423024029, -0.4932039678, 0.1614468992, 0.298328191, 0.1243746802, 0.0389549807, 0.7083208561, -0.1777895242, 0.2182380408, 0.2862311006, 0.2165160477, -0.1951065809, 0.0981980562, -0.4236476719, 0.4363471866, 0.111973092, -0.0760712251 ]
http://arxiv.org/abs/2402.05457v1
http://arxiv.org/pdf/2402.05457v1
It's Never Too Late: Fusing Acoustic Information into Large Language Models for Automatic Speech Recognition
2024-02-08T07:21:45
2024-02-08T07:21:45
Chen Chen, Ruizhe Li, Yuchen Hu, Sabato Marco Siniscalchi, Pin-Yu Chen, Ensiong Chng, Chao-Han Huck Yang
cs.CL
cs.CL, cs.AI, cs.MM, cs.SD, eess.AS
Recent studies have successfully shown that large language models (LLMs) can be successfully used for generative error correction (GER) on top of the automatic speech recognition (ASR) output. Specifically, an LLM is utilized to carry out a direct mapping from the N-best hypotheses list generated by an ASR system to the predicted output transcription. However, despite its effectiveness, GER introduces extra data uncertainty since the LLM is trained without taking into account acoustic information available in the speech signal. In this work, we aim to overcome such a limitation by infusing acoustic information before generating the predicted transcription through a novel late fusion solution termed Uncertainty-Aware Dynamic Fusion (UADF). UADF is a multimodal fusion approach implemented into an auto-regressive decoding process and works in two stages: (i) It first analyzes and calibrates the token-level LLM decision, and (ii) it then dynamically assimilates the information from the acoustic modality. Experimental evidence collected from various ASR tasks shows that UADF surpasses existing fusion mechanisms in several ways. It yields significant improvements in word error rate (WER) while mitigating data uncertainty issues in LLM and addressing the poor generalization relied with sole modality during fusion. We also demonstrate that UADF seamlessly adapts to audio-visual speech recognition.
[ -0.2814658284, -0.7712567449, 0.4455809295, 0.12938039, -0.1848839223, 0.3291869462, -0.1449307203, -0.5380023122, -0.1914672405, 0.2370209992, -0.3704859018, -0.2633790076, -0.3917173743, -0.0244365111, -0.492395103, 0.5252346396, -0.0342444815, 0.0945168585, -0.1959271878, -0.0644343868, -0.1960253716, -0.3265203536, -0.6964641809, -0.4826047719, 0.3864814639, 0.1666252464, 0.6425272226, 0.8732804656, 0.3873177767, 0.3748659194, -0.0503376424, 0.1491106749, -0.2760835886, 0.0803040117, 0.1657812446, -0.406000942, -0.5688322783, -0.2588128448, 1.0680553913, 0.8744368553, -0.4283970296, -0.1391447186, 0.0665720478, 0.3537767231, -0.5399622917, 0.1935282499, -0.6098509431, 0.1258926392, -0.3765069544, -0.2427740544, -0.2452282459, -0.1840737909, -0.0244482979, -0.4928303659, 0.1215653569, -0.1280210167, 0.5519522429, 0.7021692991, -0.3801019192, -0.1035054103, -1.330518961, 0.8710385561, -0.7556995153, 0.7888336182, 0.3775389791, 0.4961530864, -0.5089847445, -0.4743868113, -0.9362170696, 0.1851616204, 0.263097167, 0.116469495, -0.4309726655, 0.2703936398, 0.1526718587, 0.3823128343, -0.4937568605, 0.2339202017, -0.1280774325, -0.5731378794, 0.580653429, -0.0530857295, 0.228978157, 0.0258929525, -0.1636420786, -0.4176949859, -0.4647020996, -0.0609609596, 0.2920945585, 0.2587768137, -0.3606872559, 0.5106298923, -0.0217038523, 0.9346708059, 0.2981903553, -0.4434028566, 0.2953831851, -0.3911302388, -0.184498027, 0.5158376098, 0.902607739, 0.0615182482, -0.2990660369, 0.0074638664, -0.4435520768, 0.3306767344, -0.1897592098, -0.3083554208, -0.1383776963, 0.4300262928, -0.1434212923, -0.1155496389, -0.1003005132, -0.7153562307, -0.3358517587, -0.12962991, 0.6647998691, -0.2748434246, -0.2740333974, 0.186609149, 0.0978390574, 0.1881964952, 0.3249539733, -0.6387645602, -0.047540389, 0.3197823465, 0.6778762341, 0.0765129924, -0.23932302, -0.9590752125, 0.5149025917, -0.3768177927, 0.8428861499, -0.4212347865, -0.5534933209, -0.1819097102, -0.3651921749, -0.0131655792, -0.3865743876, 0.5244140029, -0.4248034954, 0.1033840179, 0.0686917827, -0.5168455839, -0.0196583048, -0.1559990346, -0.8527242541, 0.6633607149, 0.090582259, -0.517635107, 0.3671516478, -0.4416896403, -0.5259839892, -0.0179281235, -0.3974715173, -0.6114911437, 0.0050672558, 0.3069090843, 0.3436426222, -0.1015676633, 0.2394564301, -0.3297475576, -0.3379482329, 0.2583039999, -0.738697648, 0.4492952526, 0.2556634247, -0.310949564, -0.0544809178, -0.9834273458, -0.0012604328, -0.1063344851, -0.6748614907, -0.0199163463, -0.151593402, -0.0403055251, 0.1458680481, 0.1695388258, -0.5356500745, -0.0180024132, -0.5613831878, 0.3979110122, 0.6617659926, -0.2130016834, 0.6367538571, -0.3892810643, 0.4767940044, -0.2456943095, 0.0267613251, -0.1280625015, -0.2338357717, -0.7938437462, -0.1841818243, 0.3282361925, 0.6105293632, -0.9361625314, 0.6997663379, -0.1488507241, -0.7377721667, -0.6342785358, 0.1726000011, 0.4360210896, 0.560982883, 0.2089877576, -0.3115536869, -0.6839011312, -0.484790355, -0.0399114154, -0.523414135, 0.0384514593, 0.325186342, -0.1742191315, -0.4630004466, 0.8860316277, -0.2586909235, -0.6817216873, -0.3457623124, 0.3982363343, 0.2774032354, 0.5858187675, 0.1942633092, -0.824131012, -0.1965164393, 0.0674759373, -0.6878512502, -0.1500425935, -0.3304975331, 0.1983420402, 0.2787799537, 0.4945619404, -0.5541826487, 0.1855832189, 0.9283803701, -0.0791325644, 0.2203737348, -0.4013334513, 0.0812591389, -0.8755127788, -0.1114713997, -0.2404655665, -0.0885526389, -0.5191595554, -0.4857380092, -0.080409497, -0.1640994847, -0.4340541363, 0.5017317533, -0.5939978361, -0.2265322804, -0.3675933778, -0.1106043383, -0.1041729823, 0.1197734103, -0.0933112204, 0.7443686128, 0.6215680838, -0.565148294, 0.6975794435, 0.193535462, -0.2567263246, 0.3080945313, -0.5262063742, 0.2019263059, -0.1624596268, 0.5568699837, -1.0164041519, -0.5477086306, 0.0780549422, -0.5440707207, 0.647539854, -0.0489523672, -0.3816452622, -0.4823577404, 0.1185689494, 0.7767367363, 0.4231370986, -0.4189163446, 1.2271168232, 0.5876826048, -0.3560254276, -0.4651433527, -0.8012340665, 0.0983547047, -0.1200143918, -0.7101155519, 0.4557726085, -0.2183733284, -0.1702172905, -0.0560834147, -0.1032560766, -0.0807231814, -0.1585789174, 0.1781385839, 0.1649243385, -0.0499319285, 0.1427296847, 0.0526728518, -0.3131361604, -0.2601723969, -0.1642421335, 0.7330422997, -0.1423205286, -0.6332976222, -0.5512506962, 0.3018327057, 0.6841122508, -0.2942941785, 0.3424638212, 0.9714191556, -0.6098982692, -0.0449318849, -0.8529513478, -0.1193941236, -0.490745157, 0.2096008956, -0.0566296577, -0.6660260558, 0.4936695993, 0.1253847778, -0.072809644, 0.4627785981, 0.4694094956, -0.3473151326, 1.0636823177, 0.740735054, -0.1732510924, 0.5960782766, -0.3103104234, 0.1949772388, -0.538959384, -0.2970392406, -0.3057232797, -0.1302445531, -0.3422080874, -0.660710156, 0.6974993348, -0.2683953643, 0.2174220383, 0.0317579508, -0.1000884101, 0.2761995792, 0.4980478883, 0.0110432319, 0.1639996469, 0.0267409962, 0.0182117634, 0.0361138284, -0.9201737642, -0.0552616231, 0.9878497124, 0.2740861177, 1.1302423477, -0.0717931911, 0.7249999046, 0.3324024677, -0.3010319173, -0.6254040599, 0.3716942072, -0.1529733539, -0.1215569079, -0.6708152294, -0.5557017326, -0.7931930423, -0.015475546, -0.459572345, -0.1455916613, 0.3183091283, 0.5551953316, -0.9345609546, 0.359456867, -0.5868154764, 0.4107620418, -0.4778322279, -0.207670331, -0.1320190132, -0.7615083456, 0.1007942334, -0.5432617068, 0.5093845725, -0.0018331718, 0.0192128047, 0.9394317269, -0.2141597718, 0.7063326836, -0.1840560585, -0.3527851701, 0.2111416906, -0.1354788542, 0.6806339025, -0.251750201, -0.0899534449, 0.1152111888, -0.268198669, -0.0540677495, -0.5400348902, 0.7534784079, -0.6407616138, -0.3977752924, -0.6215295196, -0.7515050173, -0.3221870065, 0.2057420611, 0.3017493784, 0.6335755587, 0.0002695632, 0.1255395263, 0.8106503487, -0.1098307818, 0.5919818878, 0.4164921939, 0.1505607367, -0.548586905, 1.0600633621, 0.2175278664, 0.2739846706, 0.3995960951, 0.3057207167, -0.4725509584, -0.7120814919, -0.4700617492, 0.3938856125, -0.5491919518, -0.228355214, -0.8431735039, -0.2561447322, -0.4699126184, -0.1533005685, -0.5921134353, -0.2395433187, -0.5266594887, 0.1050817296, 0.3137597144, 0.47078529, -0.5889969468, 0.4102630615, -1.119053483, 0.4266572893, 0.4077866077, 0.2679328024, -0.2490151823, -0.4257780015, -0.1950226128, 0.2308568954, 0.033445131, -0.5846564174, 0.3145921826, 0.6452522278, 0.6894895434, 0.4043455124, 0.1745271981, 0.7657535672, -0.3699295521, 0.6518918872, 0.3642716706, -0.944776237, 0.6315882206, -0.4031784534, 0.5505943298, 0.1814019233, -0.0028432671, -0.4471672475, -0.5109836459, -0.5612043738, -0.9822931886, 0.4501830637, 0.0387617983, -0.0441410318, 0.4607619345, -0.0745365843, -0.0507901013, 0.0973085091, -0.2439477295, -0.0491753891, -0.0675417632, -0.287777245, -0.3592736721, -0.2367594838, -0.1550542414, -0.2103189975, 0.5972875953, -0.1349927187, 0.3801970184, -0.0046571931, -0.0498462655, -0.6508542299, 0.2994270921, 0.5200486183, 0.4789672792, -0.1522416025, 0.096363917, 0.2441278249, -0.4146439135, 0.3905202448, 0.5312130451, 0.1765765101, 0.0432001278, 0.6035590768, 0.7281610966, 0.3872659802, -0.7790244222, 0.5002164245, -0.1193342432, 0.1284550577, -0.5526219606, 0.0660883784, -0.0590305328, 0.4813222289, 0.5493894815, 0.2287015915, 0.0784093812, -0.4148073792, 0.4867391586, 0.3997364044, -0.2921282053, -0.220183, 0.7612019181, 0.1844608784, -0.0948181674, 0.3961586952, 0.1157531589, -0.4644988179, 0.2368854284, 0.4639864564, 0.7179448009, -0.85181427, -0.1405904591, -0.0118758455, -0.0490785651, 0.0049226927, 0.3505678773, -0.0967101529, -0.6854432821, -0.6211031675, -0.7580153942, -0.2928469777, 0.0587225072, -0.5188062787, 0.2810916007, -0.3388620615, -0.2574923038, -0.0579175837, -0.3267799616, -0.5913232565, 0.4524781108, 0.2676394582, 0.4520461559, -0.9138615131, 0.8091983795, 0.4503622651, -0.1666838676, -0.916952014, 0.0389993191, 0.1907870471, -0.7386631966, 0.2790865004, -0.2827824056, -0.4187155664, 0.1070845723, -0.248829037, -1.1022721529, 1.1147648096, 0.5886951089, -0.8566234112, -0.2691156566, 0.118855536, 0.3058435619, -0.072197102, -0.1949555725, 0.5869910717, 0.4412856996, 0.712485075, -1.2680658102, -0.4146696031, -0.1280216426, -0.2436215729, 0.2858895957, -0.3917746246, 0.8791740537, -0.5315875411, -0.3323728144, -0.1169239357, 0.8050263524, 0.159168601, 0.2361858338, 0.8268438578, 0.5444096923, 0.8712900877, -0.1385205984, 0.8843536377, -0.0887071118, -0.0308495536, 1.0006843805, -0.1369176209, 0.8613341451, 0.5270788074, -0.1158163399, -0.0121933864, 0.5797826648, 0.0103690531, 0.6008709073, -0.0800745487, -0.4756597281, -0.4369236827, -0.3537220061, -0.6200601459, 0.8796874881, 0.4461070597, -0.1450546235, -0.1865610331, 0.363948971, -0.1337948591, -0.0200221185, -0.2528269291, 0.9453995228, 0.1311054528, -0.1527612358, 0.7200401425, -0.2750486434, 0.7155320048, -0.6556473374, -0.182002157, 0.0304865874, 0.3440621495, -0.2295140177, -0.6687932611, 0.2604315877, -0.17839849, -0.1883148551, -0.1700318903, 0.7013317347, -0.9339392781, -0.713675499, 0.236827001, 0.3522996008, -0.01067123, 0.0645969287, -0.3367216587, 0.6731094718, -0.0043943292, 0.2856420875, 0.0864169896, 0.1203510389, 0.2280899137, 0.8374145627, 0.8258945346, 0.5457576513, 0.0454117805, 0.0342127383, 0.927870512, -0.3625740111, -0.6622698307, -0.6145815849, 0.4583826661, 0.2998220623, 0.1296980828, 0.5476697683, 0.4109765291, 0.803476274, 0.1614583433, 0.9594009519, 0.2831158042, 0.5180633664, -0.7384811044, 0.9537758827, -0.7043194771, 0.252291292, -0.5049316287, -0.8331167102, -0.5319566131, 0.6286836863, -0.0477831364, 0.0905537233, 0.2900437415, 0.7623590827, 0.0515311845, -0.1424123198, 0.5228859782, 0.2684480846, 0.5280936956, 0.6120432615, 0.6865971684, -0.4573709667, 0.7985653877, -0.2880239487, -0.2664726377, -0.3092536032, -0.8596392274, -0.3089336455, -0.7652768493, -0.3311807811, -0.3909442723, 0.0299499389, 0.9100730419, 0.5898477435, -0.6447545886, -0.2187597603, 0.2452251762, -0.0657139271, -0.142274648, -0.0779699162, 0.4126628935, 0.0929703191, -0.730750978, 0.8486118317, 0.2918827236, 0.7263768315, -0.2821011543, -0.2451889366, 0.0235297829, 0.0065590953, 0.3342380524, 0.4174663126, -0.7438489795, -0.2470704913, -0.189705506, 0.0405396223, -0.0611307509, 0.5857827663, -0.7837982178, 0.9454731345, 0.3567221761, 0.7343271971, 0.2650259435, -0.2811944485, 1.0786212683, -0.4870929718, 0.1774279922, 0.4742769301, 0.4729114473, 0.7231041789, -0.3968083858, 0.1032516286, 0.2882751226, -0.4370098114, -1.0020091534, 0.1646402627, -1.1090928316, 0.2232334018, 1.1464468241, 0.1392248273, -0.2430562973, -0.2324514836, -0.1789586991, 0.6251888871, -0.5175706744, 0.7478045225, 0.5088188648, -0.090576157, -0.2597601414, 0.0709033683, 0.6432468295, 0.1238320023, -0.6149891615, 0.0119112842, 0.6423502564, -0.1783280075, 0.3087466359, 0.5591725707, 0.0194049329, 0.6224112511, 0.0812443346, -0.1062518656, -0.1710919589, -0.4544008076, -0.5755118728, 0.0222008377, 0.1836731881, -0.2034441233 ]
http://arxiv.org/abs/2402.05455v1
http://arxiv.org/pdf/2402.05455v1
Large Language Models for Psycholinguistic Plausibility Pretesting
2024-02-08T07:20:02
2024-02-08T07:20:02
Samuel Joseph Amouyal, Aya Meltzer-Asscher, Jonathan Berant
cs.CL
cs.CL
In psycholinguistics, the creation of controlled materials is crucial to ensure that research outcomes are solely attributed to the intended manipulations and not influenced by extraneous factors. To achieve this, psycholinguists typically pretest linguistic materials, where a common pretest is to solicit plausibility judgments from human evaluators on specific sentences. In this work, we investigate whether Language Models (LMs) can be used to generate these plausibility judgements. We investigate a wide range of LMs across multiple linguistic structures and evaluate whether their plausibility judgements correlate with human judgements. We find that GPT-4 plausibility judgements highly correlate with human judgements across the structures we examine, whereas other LMs correlate well with humans on commonly used syntactic structures. We then test whether this correlation implies that LMs can be used instead of humans for pretesting. We find that when coarse-grained plausibility judgements are needed, this works well, but when fine-grained judgements are necessary, even GPT-4 does not provide satisfactory discriminative power.
[ -0.2370166928, -0.9228544235, 0.8766567111, 0.4006093144, -0.1388021708, -0.1731363684, -0.5292447805, -0.6033928394, -0.1034931466, 0.3079231679, -0.1766010225, -0.2697141767, -0.3039776683, 0.2404644042, -0.4606916904, 1.1586842537, -0.1325831115, 0.02617478, -0.0946846828, 0.1494508386, -0.2866501808, -0.9876986742, -0.2272752225, -0.4797371626, 0.6113394499, -0.1001623943, 0.9230632186, 0.0501918495, 0.5703685284, 0.3114114702, 0.1166407093, -0.4499234855, -0.2908568978, -0.0870522037, -0.3751663864, -0.5555779338, -0.8947533965, 0.250228107, 0.4389721155, 0.9239223003, -0.2993112206, -0.000520096, 0.2954469919, 0.0208644569, -0.4722353518, 0.1826717705, -0.4806724489, 0.0614948869, -0.2977528572, -0.2037767619, -0.5557001829, -0.5289918184, 0.3230137825, -0.4797935784, 0.3531908691, 0.1096164957, 0.900965631, -0.0453839339, -0.335746944, -0.5022932887, -0.8559475541, 0.5991598964, -0.9666250944, 0.536136806, 0.8970211148, 0.2157844156, -0.1303816736, -0.8509694338, -0.685033977, -0.9367793798, -0.2912683785, 0.0074102688, 0.0368190184, 0.2563722134, 0.333242476, 0.4190270305, -0.6967206597, 0.1446139365, -0.2532070875, -0.4583823085, 0.5332013965, 0.0523560755, 0.28317222, -0.0579012185, -0.2061390281, -0.1520391554, -0.6226376891, -0.0668042675, 0.6858291626, 0.3186773956, -0.0836904198, 0.562782228, 0.2568960786, 0.6146401763, -0.107474342, -0.3106052577, 0.2938239872, -0.6637690067, -0.1906973422, -0.1815284193, 0.8681615591, 0.2623073757, 0.5506869555, -0.2169940174, -0.3066155612, 0.2218282521, 0.2151989639, -0.7927909493, -0.5064172149, 0.0609059446, -0.4453658462, -0.147934854, -0.109168835, -0.6076732278, -0.3150376379, -0.2764484584, 0.6018874049, -0.4826672971, -0.540638864, 0.3122291267, 0.0766213164, 0.1801481098, 0.0115646655, -0.6669622064, 0.4868195653, 0.4092711806, 0.6611250639, -0.0508604497, -0.6067474484, -0.2362197787, -0.188800171, -0.4332253039, 0.7772179246, -0.5519508719, -0.2845428288, -0.2393425107, 0.085151732, -0.0404035449, -0.5413028002, 0.8055079579, -0.3407304883, 0.4514602423, -0.167450875, -0.6493032575, -0.0788228214, 0.117146723, -0.6380194426, 0.5972304344, 0.1962254494, -0.5678800941, 0.3468452692, -0.6244978309, -0.5750555396, 0.2046537548, -0.2814177275, -0.4837821424, 0.2045871764, -0.337816, 0.4224348366, -0.3502120078, 0.7293779254, -0.5446252823, -0.3143835068, 0.4920004308, -0.552834332, 0.5949572325, 0.1334965527, -0.4309175014, 0.1181352735, -0.4351961017, 0.0425936542, 0.2379044741, -0.426260829, -0.3208171725, 0.1351615787, 0.1998559684, 0.297453016, 0.1515770108, -0.2803943753, -0.1516419351, -0.3953610659, 0.278690815, 0.6246026754, -0.2614921331, 0.2100745291, -0.3716295063, 0.7247202396, -0.1914252639, -0.0640837178, 0.050656952, -0.3626230955, -0.2928648293, -0.389098227, 0.2463315278, 0.3458410501, -0.4737437665, 0.5435010791, 0.0174042899, -0.4220400453, -0.0754310489, 0.1511247307, 0.5639736056, 0.3135901392, -0.0364749804, -0.3586806655, -0.6093600988, -1.0022774935, -0.5572875142, -0.227637127, -0.3052595556, 0.1231927499, 0.5905843377, 0.0616273917, 0.9515346885, -0.4651077092, -0.1515155435, -0.3010779023, 0.1650486141, 0.1584144533, 0.1058276147, 0.84866184, -0.7875848413, -0.1063395217, -0.3469181955, -0.7203342915, -0.3176505566, 0.1336304694, 0.3134854436, 0.1268956363, 0.347568661, -0.5559143424, 0.3867203593, 0.6584533453, -0.5923910737, 1.0659943819, -0.4152525067, -0.0392109342, -0.7420919538, 0.1426301003, 0.0326603577, -0.2877208591, -0.6168734431, 0.1667895317, -0.0377131216, -0.0566676594, -0.2586142421, 0.5532769561, -0.3640969992, -0.1804113984, -0.0561063215, 0.1376526654, -0.0071379724, 0.2994571328, 0.1773596257, 0.5713639855, 0.3415079713, -0.5839480758, 0.039368663, -0.0304773059, -0.7157438993, 0.3695475161, -0.7483475804, 0.1499388516, -0.0081624873, 0.485085696, -0.9063957334, -0.3921455145, -0.1010744274, -0.0997127891, -0.0771144331, 0.2341189682, -0.6981449127, -0.3779365122, -0.0752435848, 0.4592557847, 0.4735212326, -0.0617194399, 0.4519179165, 0.2452774346, -0.6031807661, -0.0445050374, -0.5420069695, 0.0152997915, -0.4741857946, -0.3280467093, -0.0260581672, -0.5484442711, -0.5361944437, -0.2777236402, 0.1894774139, -0.147920996, 0.2933521569, 0.2890101969, 0.3375381827, -0.4374061823, 0.0955752209, -0.427698493, 0.0268862862, 0.1548231244, 0.0850218534, 0.7559970021, -0.3374679089, -0.5923181772, -0.2973864377, 0.2700787485, 0.5225840807, -0.312356472, 0.4453908503, 0.4157537222, -0.4134121537, 0.0628355891, -0.5788472891, -0.4079859555, -0.4393801689, 0.6256110668, -0.6632201672, -0.6948294044, 0.4902758598, 0.0261752121, -0.1915598065, 0.1437219083, 0.9069452286, 0.0171857066, 0.9168500304, 0.4056874812, 0.2308982164, 0.4389917552, 0.154734388, 0.6658930779, -0.3145368397, 0.1965532005, -0.4680066407, -0.1207607985, -0.5559569597, -0.282664448, 0.1809427142, 0.1659946591, -0.1474069506, 0.1775254607, -0.0487325415, 0.6188287139, 0.2375942916, 0.0817719549, 0.3790647388, -0.1315854043, -0.1747883707, -0.0956281349, -0.2695597708, -0.7381293178, 1.042495966, 0.4269451201, 0.5918033719, 0.2457989156, 0.2626499534, 0.0019588964, 0.6294804811, -0.6601803899, 0.5640587807, -0.2119053751, -0.8823506236, -0.3183121383, -0.3218816221, -0.9532470107, 0.1426104754, -0.1546783447, -0.8371981978, 0.0210793894, 0.162123099, -0.4915593565, 0.1215749905, -1.0512154102, 0.8018651009, -0.4092915654, -0.1633483768, -0.1265147328, -0.4688744843, 0.5372136235, -0.5801644325, 0.3991642594, -0.1334736794, 0.3587636352, 0.8070444465, -0.2319407761, 0.8905493617, -0.0819263458, -0.4295380116, 0.1097920239, 0.310980618, 0.2456094027, -0.2642429769, -0.2972924113, 0.0307820868, 0.2288626432, -0.3119044304, -0.5040884018, 0.5077309012, -0.6608738303, -0.6510798931, -0.2667809427, -0.7435980439, -0.2680962086, 0.3558264971, 0.1942481995, 0.4087001681, -0.3825794756, 0.2249998897, 0.0849747509, -0.2933714986, 0.2149534523, 0.789740026, -0.4601981044, 0.0509900488, 0.8351247907, 0.1003513038, 0.4021517336, -0.1037724689, 0.6320734024, -0.4115145802, -0.7421937585, 0.2429289818, 0.2614539862, -0.4879580438, 0.1411545575, -0.199023515, -0.1772036552, -0.4953043759, -0.0239277557, -0.159400478, -0.0037152851, 0.2436037809, -0.2756869793, 0.0219628979, 0.9051576257, 0.0338788815, 0.24759911, -0.5035324693, 0.4814918041, 0.1511875093, 0.4209032655, -0.0357574709, -0.493296206, 0.0487557054, 0.1255533099, -0.3035799861, -0.8713176847, 0.3587000072, 0.2274273485, 0.5001741052, 0.3639024198, 0.068439424, 0.5588464141, -0.5966410041, 0.7145559788, 0.2267550677, -0.9565318823, 0.3080336452, -0.5867907405, -0.1060670167, 0.3844221234, 0.4664469957, -0.0657531619, -0.5837013125, -0.5806168318, -0.8087494969, 0.4368176758, 0.1681655943, 0.0408268049, 0.0537864193, 0.2681623399, 0.3270656466, 0.0936316848, -0.7952017188, 0.2399327755, -0.1086968705, -0.2868923843, -0.6818665266, -0.2021012455, -0.1144254282, -0.1703084707, 0.0935317576, -0.036368981, -0.0807387531, 0.1608603746, -0.1995410174, 0.0582208335, 0.5176099539, 0.7873659134, 1.025403738, -0.5024307966, 0.2741934061, 0.0950314105, -0.5931951404, 0.2591067255, 0.1814407557, 0.1476363242, -0.2177857906, 0.5496310592, 0.7859331369, 0.312107265, -0.6776221395, 0.6894394159, -0.2778041661, -0.2794871926, -0.4771744311, -0.1432810277, 0.2129409909, 0.2259754539, 0.1844680309, -0.1570302695, 0.0488407649, -0.9375150204, 0.272133112, 0.2686536908, 0.2619767189, -0.8353985548, 0.5216059089, 0.0771760419, -0.6464468837, 0.4282330275, -0.3168347478, -0.563113153, 0.3102030754, 0.8048151135, 0.6496089101, -0.4976276457, 0.1138264686, 0.0252246056, 0.0998982415, -0.3036543131, 0.1774487495, 0.1412563175, -0.9357176423, -0.568114996, -0.8130292296, -0.4845302105, 0.4520019293, -0.6374500394, 0.217560783, -0.3062844872, -0.3126869202, 0.1339231133, -0.0334657989, -0.8914045691, 0.1702801287, 0.2663983405, 0.6343809366, -1.2305077314, 0.8171098232, 0.594836235, -0.4301689267, -1.0610655546, 0.1624480635, -0.1516962498, -0.5812398195, 0.6892725229, -0.0720605105, 0.0158237629, -0.133626923, -0.3868924677, -0.5415023565, 0.9594624043, 0.8912388086, -0.5666058064, -0.4741640389, 0.1224965528, 0.7247487903, -0.1357909441, 0.5011302233, 0.7610807419, 0.6096825004, -0.0962179005, -1.4983311892, 0.1896805614, -0.0890133902, -0.3036885262, -0.0814340636, -0.2656466365, 1.0869531631, -0.1886101961, -0.0623773597, 0.0919447541, 0.3011655509, 0.6723097563, 0.3040262759, 0.7939351201, 0.3369298279, 0.9305068851, 0.1326688975, 1.37591362, -0.2386413217, 0.3403471112, 1.4539052248, -0.7254055738, 1.0154230595, 0.4334319532, -0.3881486654, 0.5657548904, 0.5860651135, 0.2307638377, 0.3201820254, 0.3965276778, -0.0677870885, -0.3146306574, -0.0641010925, -0.2584779859, 0.6880870461, 0.3279352784, -0.3317543566, -0.354978919, 0.0525727533, 0.0377551988, -0.0362282507, 0.0569137074, 0.4723641574, 0.3444945514, -0.7176789641, 0.5640388727, -0.2352743745, 0.596165061, -0.8424050808, 0.184704572, -0.076261729, 0.5026057363, -0.2494927496, -0.7552881837, 0.3803799748, 0.0777226537, 0.0569048561, -0.2249346524, 0.7374333739, -0.3747109473, -0.4235863388, 0.5186835527, 0.7270201445, 0.5389506817, -0.2453413904, -0.3308339715, -0.1155864745, -0.277754426, -0.5661640167, 0.6592695713, 0.3219997287, -0.2902852893, 0.4570877254, 0.8026738167, 0.3782689571, -0.1578275114, 0.3620812595, 0.6320312619, -0.6279674172, -0.5739793181, -0.9831008315, 0.1914582998, 0.2242311239, -0.1282495856, 0.8645207882, 0.4194514155, 0.6006915569, -0.0955779478, 0.7966655493, 0.1045761406, 0.2933583558, -0.4905886054, 0.8693692088, -0.2488792986, 0.0711503401, -0.4289235473, -0.9418100715, -0.2084736526, 0.7489349842, -0.6441297531, 0.3124587238, 0.9941491485, 0.7858401537, -0.1418953538, 0.0533993579, 0.6685242057, 0.6441972852, 0.3323169053, 0.6386402249, 0.9225971103, 0.0479058996, 0.4068464637, 0.147571072, -0.2064060867, -0.0173666868, -0.9956147671, -0.9575612545, -0.6237629652, -0.1550982594, -0.2828647196, -0.0978090763, 0.7709521055, 0.6281151772, -0.7093404531, -0.3093350828, 0.0047828425, -0.1843809187, 0.131172657, -0.2737921178, 0.3934243023, 0.0081247445, -0.4485088587, 0.3796516955, -0.0498411357, 0.2560501695, -0.3406970501, -0.1702274084, 0.0045750556, 0.1220247224, 0.5888627172, 0.0258345213, -0.960536778, -0.5044697523, -0.1231649518, 0.0611440465, -0.1465563774, 0.9932219386, -0.7412118912, 0.0623205118, 0.5138428211, 0.2435571849, 0.1600555629, -0.0283332467, 0.9349546432, -0.7066118121, 0.3024850786, 0.3518810868, 0.5906836987, 0.2935450077, 0.0041726301, 0.3391078711, 0.0597388968, -0.6311022043, -1.1086007357, 0.3361871839, -0.7803140283, -0.2176648527, 1.0929344893, -0.5002782345, -0.0281664897, -0.3077219129, -0.198043406, 0.0620572679, 0.0693171024, 0.5856019258, 1.0402308702, -0.1206375211, -0.0933023691, -0.7162697911, 0.5222142339, 0.5624650121, -0.8484576344, 0.1436171383, 0.2134760469, 0.6559557319, 0.4011103213, 0.9149979949, -0.0315784961, 0.0904392973, -0.0809429809, -0.005785598, 0.1829863787, -0.0507245734, -0.3096801639, 0.2574605942, 0.3754145801, 0.2844914198 ]
http://arxiv.org/abs/2402.05445v2
http://arxiv.org/pdf/2402.05445v2
Accurate LoRA-Finetuning Quantization of LLMs via Information Retention
2024-02-08T06:53:31
2024-05-27T09:20:35
Haotong Qin, Xudong Ma, Xingyu Zheng, Xiaoyang Li, Yang Zhang, Shouda Liu, Jie Luo, Xianglong Liu, Michele Magno
cs.LG
cs.LG, cs.CL
The LoRA-finetuning quantization of LLMs has been extensively studied to obtain accurate yet compact LLMs for deployment on resource-constrained hardware. However, existing methods cause the quantized LLM to severely degrade and even fail to benefit from the finetuning of LoRA. This paper proposes a novel IR-QLoRA for pushing quantized LLMs with LoRA to be highly accurate through information retention. The proposed IR-QLoRA mainly relies on two technologies derived from the perspective of unified information: (1) statistics-based Information Calibration Quantization allows the quantized parameters of LLM to retain original information accurately; (2) finetuning-based Information Elastic Connection makes LoRA utilizes elastic representation transformation with diverse information. Comprehensive experiments show that IR-QLoRA can significantly improve accuracy across LLaMA and LLaMA2 families under 2-4 bit-widths, e.g., 4- bit LLaMA-7B achieves 1.4% improvement on MMLU compared with the state-of-the-art methods. The significant performance gain requires only a tiny 0.31% additional time consumption, revealing the satisfactory efficiency of our IR-QLoRA. We highlight that IR-QLoRA enjoys excellent versatility, compatible with various frameworks (e.g., NormalFloat and Integer quantization) and brings general accuracy gains. The code is available at https://github.com/htqin/ir-qlora.
[ -0.3887984455, -0.6248983741, 0.3881503344, 0.0692142099, -0.5673502684, 0.2072229236, -0.1910077035, -0.3838378489, 0.1750857979, 0.1186548173, -0.2100717425, -0.5533648729, -0.0575654469, -0.1170768589, -0.1684692651, 0.7784263492, -0.0802546144, -0.0089951567, 0.2417649776, -0.6835569143, -0.4325114191, -0.2698483467, -0.1306883246, -0.5110654235, 0.858178556, 0.554474175, 0.7651155591, 0.6528756022, 0.6614348888, 0.1938811541, -0.1136410013, 0.4001936316, -0.5403680205, -0.0040716468, 0.1255328804, -0.7308558822, -0.5412655473, -0.3232473135, 0.8866089582, 0.247662887, -0.4499779642, 0.5807504654, 0.0478749163, 1.2571640015, -0.8699817657, -0.1169434935, -0.6783567667, 0.1094418764, -0.4060514867, -0.5958881974, -0.330868572, -0.5897424817, -0.1365094483, -0.7931857705, -0.1597617567, 0.093130894, 0.8600722551, 0.4569942355, -0.6022414565, 0.1625304222, -1.0584275723, 0.7097132206, -0.6168316603, 0.5205665827, 0.2357289493, 0.5105671883, 0.0682060346, -0.6150832772, -0.2493895143, 0.0742795989, 0.3203265965, 0.1966325194, -0.1717254519, 0.1936284453, 0.0477550738, 0.3416859806, -0.4320727885, 0.2687297463, -0.4280426204, 0.0558823198, 0.1807577163, -0.0531581566, -0.3012493849, 0.2112118155, -0.7986017466, -0.1738726944, -1.1272394657, -0.0701696053, 0.3878050148, 0.1065989807, -0.1047290415, 0.4758863449, -0.11081478, 0.4088690579, 0.1398016959, -0.3125692308, 0.1240495592, 0.0206059944, -0.2298570275, 0.1749314964, 0.5537564158, 0.3535658419, -0.0519446768, 0.1364765167, -0.2958058715, -0.0137742674, -0.1639051288, -0.9456548095, 0.0226765778, 0.2962896824, -0.4002741575, -0.036520347, 0.1644134223, -0.6169840693, -0.1458716244, -0.2722120285, 0.5973858237, -0.3931503594, 0.0316286758, 0.1167847216, 0.174054414, 0.1937355101, 0.4517782032, -0.7163596153, -0.0201455746, 0.6100205183, 0.7480980158, 0.0269654784, 0.2388643324, -0.4682736397, 0.3070742786, -0.2287508994, 0.8020387888, 0.138348788, 0.2383062243, -0.1331551969, -0.4615080655, 0.4105452001, -0.6492774487, 0.2411905676, -0.9078099728, -0.1350888759, 0.0762904584, -0.332248807, -0.2068212628, 0.2199267596, -0.8067258596, 0.7684200406, 0.2555912435, -0.4733017087, 0.0921993256, -0.2825017869, 0.2840755284, 0.0312895291, -0.3014741838, -0.5926927924, 0.0903765112, -0.1321684867, -0.0669701397, -0.6343463659, 0.3308060467, -0.321496278, -0.8472024202, 0.5200440288, -0.8841642737, 0.4624690115, 0.5323121548, -0.3083706796, -0.1755821258, -0.8810017109, 0.4274321198, -0.2123867869, -0.6409294605, -0.3044132888, -0.3796410561, -0.0387374759, -0.1896847486, 0.5176462531, -0.5351871848, 0.2067087591, -0.1605665833, 0.3846607804, 0.8571394086, -0.2021485567, 0.4145465195, -0.5179440379, 0.5078699589, -0.1390415281, 0.3585934639, 0.0142343864, -0.1016515419, -0.6417781711, -0.300999999, 0.6759281754, 0.6028633118, -0.6889093518, 0.4384708703, -0.4157111943, -0.5454273224, -0.3246512115, 0.1922053695, 0.3583303094, 0.2589541078, 0.2682794034, -0.1662192643, -0.4418160021, -0.5550926328, 0.0013727242, -0.1865932047, -0.1077444181, -0.0788685381, 0.0338266343, -0.4218542874, 1.0206260681, -0.2956572175, -0.8065276146, 0.1992500722, 0.1603690684, 0.4187040627, 0.7039341331, 0.3910108209, -0.7636892796, -0.2690111995, 0.2240781188, -0.671996057, -0.0546652749, -0.0421422236, -0.2446212023, 0.1705813706, -0.030496832, -0.3603802323, 0.5525687933, 0.7021083832, -0.3293102086, 0.3310374916, -0.3480730057, 0.2156906873, -0.8985687494, 0.0986440927, 0.1629568934, -0.3622848988, -0.4282399714, 0.1213195696, 0.324945271, 0.2300937474, -0.6989142895, 0.3571533859, -0.4184134007, -0.0831771791, -0.0978874937, 0.0978391692, 0.1772334278, 0.5635192394, -0.5567144752, 0.866962254, -0.1710925251, -0.4436948001, 0.3118022084, -0.0284041464, -0.1334356219, 0.8109299541, -0.4875555038, 0.0722467229, -0.1863598824, 0.1610481143, -0.5767822266, 0.1052853689, 0.0210396089, -0.1208025366, 0.1116372049, -0.3243333995, -0.5744799972, -0.0199765079, -0.6508271694, 0.8017498255, 0.8398380876, -0.6104894876, 0.6367301941, 0.1058911383, 0.1773270071, -0.5017215014, -0.9297698736, -0.2619856298, -0.5174671412, -0.4854851663, 0.4542758167, -0.2679841518, -0.2968819141, -0.174992159, -0.3403825462, -0.3279326856, -0.0123526314, 0.0682660565, 0.35625723, -0.4219392836, 0.4179761708, -0.0847920477, -0.1921128333, -0.3259108365, -0.3000795245, 0.485635072, -0.4602362514, -0.3620802462, -0.8544360995, 0.1103111133, 0.4486395717, 0.0525739156, 0.5448387265, 0.7523258328, -0.3295920491, -0.0560654402, -0.8480686545, -0.1860456616, -0.5532531738, 0.2164430171, -0.3236970305, -0.8384107351, 0.7153664827, -0.1541342288, -0.079355225, 0.3390085399, -0.10030853, -0.539355278, 0.8279743195, 0.5088076591, -0.0529210195, 0.7869182229, -0.5863281488, -0.0603862554, -0.7832493186, 0.1031256318, -0.3465402424, -0.4084131718, -0.4744495451, -0.3038436174, 0.7995200157, 0.3432572186, -0.7032051682, -0.029616233, -0.5202789903, 0.3995409906, 0.6143262982, 0.3790282607, 0.5900557041, 0.503040731, 0.4244755805, -0.112620987, -0.7661720514, -0.571998179, 0.968244791, 0.37152946, 1.3782730103, 0.2266383618, 0.6606459022, 0.4743576348, 0.1367195845, -0.4303609133, 0.2957029641, -0.2274000794, -0.0421001576, -0.3143864572, -0.6912605166, -0.8261474967, 0.1884974092, -0.0204264745, -0.523817718, 0.3288228214, 0.537358284, -0.6054730415, 0.6382050514, -0.5688861609, 0.2306981534, -0.2640504241, -0.3817203641, -0.2283220738, -0.5420634151, 0.2137247026, -0.1778291613, 0.0399383903, -0.3247967958, -0.1719947159, 0.7756707072, -0.7269558907, 0.5653069019, -0.176532492, -0.6369555593, 0.5291642547, -0.0004041818, 0.6225154996, 0.059614554, -0.213198185, 0.1292116195, 0.1625716239, -0.3918942809, -0.8792377114, 0.6389356256, -0.6063095927, -0.2741851211, -0.2754160464, -0.4721428454, 0.081635721, 0.1332175434, 0.0821232647, 0.5747824311, 0.0973394141, 0.4183591604, 0.8248696327, 0.1971630752, 0.0765036047, 0.5681275129, 0.0828752294, -0.8613221049, 1.2606924772, 0.3177771866, 0.414362371, 0.4723387957, 0.2761366665, -0.1740175933, -0.5095081329, -0.460478276, 0.3608075976, -0.5921969414, -0.8390837312, 0.006820708, -0.0714325681, 0.0502324328, -0.1920238882, -0.6578599215, -0.5636479259, -0.567912817, 0.2137804031, 0.7719247937, 0.5289743543, -0.2834039629, 0.7113947272, -0.8720921874, 0.3387404084, 0.278203845, 0.4745019674, -0.1298827827, -0.5112860203, -0.2674736977, 0.4885119796, -0.2949808836, -0.5594551563, 0.2267375439, 0.3787383437, -0.081054166, 0.5545110703, 0.3135288954, 0.9805785418, -0.011873194, 0.3137585521, 0.3172641098, -0.7633436918, 0.6244062185, -0.2865919769, 0.51634413, 0.8014358878, -0.0748130381, -0.3080948293, -0.3048425317, -0.3233714998, -0.8494645953, 0.4666136801, -0.0436048135, -0.2182536572, 0.5247201324, 0.4117428362, 0.0624955446, 0.1731017679, -0.7239457965, -0.5516411662, 0.1385691017, -0.5216950178, 0.4270859957, -0.4733019173, -0.2241477221, 0.1492593437, 0.6792756319, -0.5406938791, 0.5505304337, 0.2541556358, -0.1021845564, -0.1614576429, 0.3210844994, 0.5332562923, 0.6603998542, -0.5192917585, 0.3611968458, 0.2265547514, -0.5544635057, 0.7107174397, 0.0769088492, -0.434273988, -0.1768803596, -0.1081246585, 0.5414850712, 0.1629794091, -0.5923990607, 0.3656852245, -0.0485488214, 0.0216150321, -0.586789608, 0.0199852418, -0.3169418573, 0.5783260465, 0.8079997301, 0.0962188095, -0.047480993, -0.4569703043, 0.0400994495, 0.3015702069, -0.3008265197, -0.2472682595, 0.6111339927, 0.0625232384, 0.02518088, 0.2762761712, -0.1626197696, -0.1291310042, 0.6025460958, 0.4840885103, 0.5335180163, -0.0376131721, 0.0501083285, 0.1468721032, 0.0095092272, -0.2199547589, 0.5656935573, -0.2485477626, -0.5083550811, -0.1776722819, -0.3331694901, -0.4132487774, -0.2925830781, -0.8006862402, -0.0020774377, -0.5135992169, -0.4511114359, -0.71554178, 0.0897505805, -0.4971799254, 0.0361186564, 0.020290643, 0.7945311069, -0.2228522301, 0.7787441611, 0.1837846041, -0.1936991066, -0.7567124963, -0.4229289889, -0.1461988539, -0.6768241525, 0.6008185744, 0.0258871, -0.3349351287, 0.1879244, -0.4739091694, -1.1783950329, 1.8514775038, 0.7013642788, -0.9286715984, 0.1314483583, 0.1992247701, 0.3534452617, 0.0300527215, 0.2802068889, 0.502166748, 0.4862428606, 0.0649013817, -0.7370234132, -0.0538308434, -0.0312235747, 0.0943872184, 0.2065162957, -1.071234107, 0.5833240151, -0.3383511007, -0.5058400631, 0.5764698982, 0.9809295535, 0.648669064, 0.2645855546, 0.4814915061, 0.5008742809, 1.0007766485, -0.2334203124, 0.5639865398, -0.2593899667, 0.5103870034, 0.8553340435, -0.2215422392, 0.7942729592, 0.6688462496, -0.1536046863, 0.4060023427, 0.3066549301, 0.1756933928, 0.4718818665, 0.2638845444, -0.600579083, 0.1958325803, -0.3164559901, -0.4580335617, 0.1981872916, 0.2464505732, -0.0496535487, -0.0192172825, 0.2418544441, -0.0824524611, -0.23727566, -0.4108806551, 0.4221043885, 0.0248349681, -0.463588208, 1.0347598791, -0.1789133102, 1.026638031, -0.5963145494, -0.2442378849, -0.3721292019, 0.2460377514, -0.3248637319, -0.4817487001, -0.2042654753, -0.0982612744, -0.0033533133, -0.073699072, 0.6403797269, -0.6203073263, -0.2757650018, 0.0308306813, 0.3214742243, -0.0248823017, 0.1297686547, -0.1772485971, 0.3871705532, 0.1332185715, -0.1269503683, 0.3724289238, 0.4525630474, 0.0606789291, 0.8673671484, 0.4418039024, 0.2853728831, 0.2790334523, 0.1604292095, 0.718667984, -0.8023244739, -0.3824414909, -0.4895008206, 0.2328353226, 0.3780780733, -0.2719556093, 0.3709507287, 0.3762025237, 0.5084593892, 0.1593309492, 0.2957146466, 0.1576226652, 0.1354868412, -0.921679318, 0.5219080448, -0.4445335269, 0.461920023, 0.0791748688, -1.0814458132, -0.407361269, 0.6006707549, 0.2903286219, 0.0751952529, 0.5597336888, 0.7841669321, 0.0721698776, -0.1735703498, 0.4144127667, 0.149870947, 0.3955648243, 0.7393488884, 0.7632265091, -0.864580512, 0.6429392099, -0.4150291085, -0.2010359913, -0.3721189797, -0.7103475928, -0.1376176029, -0.3197162747, -0.5387222171, -0.0830702558, 0.2490751296, 0.8799948096, 0.8177921176, -0.4754284024, -0.1926584393, 0.0146924425, 0.101936616, -0.0159958284, -0.2801747024, 0.3268094361, -0.0772175416, -0.4327668548, 0.2163015902, 0.2342108637, 0.6189017296, -0.4179432392, -0.2503542602, 0.0415488519, -0.1786753237, 0.4213052392, 0.5830760002, -0.5973159671, -0.3294578195, -0.2237052172, -0.3102384508, 0.4042304754, 0.4614261389, -1.0290015936, 0.1409390718, 0.3015544415, 0.4729005694, 0.3958611488, 0.2036302984, 0.4027697146, -0.635573864, 0.2280298471, 0.1882414371, 0.3046009839, 0.1264213622, -0.4556518197, 0.7264047861, -0.0791641548, -0.797399044, -0.8653932214, -0.0849718302, -1.1732540131, 0.3376864791, 1.0329333544, -0.139658466, -0.5025343299, 0.2966821194, -0.3428654075, 0.199241668, -0.6165558696, 0.6601260304, -0.2329420894, 0.0253043137, -0.1086300537, -0.2188610435, 0.1811666638, 0.5267097354, -0.5803422928, -0.1471889317, 0.3837343752, -0.0046642376, 0.2671678364, 0.5632384419, -0.0121454494, 0.6297699809, -0.4094907343, 0.3163816035, -0.0710186437, -0.2252599746, -0.6193907857, 0.2487692386, 0.3412011862, -0.2915250361 ]
http://arxiv.org/abs/2402.05440v1
http://arxiv.org/pdf/2402.05440v1
Improving Agent Interactions in Virtual Environments with Language Models
2024-02-08T06:34:11
2024-02-08T06:34:11
Jack Zhang
cs.CL
cs.CL
Enhancing AI systems with efficient communication skills for effective human assistance necessitates proactive initiatives from the system side to discern specific circumstances and interact aptly. This research focuses on a collective building assignment in the Minecraft dataset, employing language modeling to enhance task understanding through state-of-the-art methods. These models focus on grounding multi-modal understanding and task-oriented dialogue comprehension tasks, providing insights into their interpretative and responsive capabilities. Our experimental results showcase a substantial improvement over existing methods, indicating a promising direction for future research in this domain.
[ -0.3942745626, -1.1847300529, 0.5441967845, 0.0631688535, 0.2078592628, 0.3469194472, -0.2258992046, -0.644305706, -0.2549146414, 0.3306097686, -0.5996435881, -0.2889695168, -0.4674127996, 0.0044402205, -0.0194316991, 0.5926275849, 0.0394773334, -0.1562746018, -0.6778036952, -0.1528756469, -0.8103721738, -0.6093925238, -0.7163495421, -0.4545185864, 0.2662581205, 0.274058193, 1.0772355795, 0.8265331984, 0.3750260472, 0.5810651779, 0.0640217662, 0.2530984879, -0.5348221064, 0.2350285798, -0.3686801791, -0.3599582016, -0.5850301385, -0.1672156751, 0.1945139021, 0.6404632926, -0.1236394718, 0.1330619305, -0.0796454996, 0.1010021493, -0.2955814898, 0.8461289406, -0.5573116541, -0.2585194111, 0.2512938976, 0.0553154238, -0.344281882, 0.3173337579, 0.2843915224, -0.9079337716, 0.2390601635, 0.1401141584, 0.5527985096, 0.3127369583, -0.2414025217, -0.1555179805, -0.4957411289, 0.7561483383, -0.6967599392, 0.366325587, 0.5791631937, 0.1623769999, -0.3287860453, -0.3960180581, -0.6583744287, -0.4083276093, -0.0154443393, 0.1075559035, -0.2360004783, 0.3995858133, 0.1736710966, -0.065977186, -0.3164241016, 0.0228899028, -0.3940375149, -0.2277948707, 0.6604412198, 0.411036998, 0.7327066064, -0.2154024243, -0.022503512, 0.012473966, -0.0945421085, 0.2742200792, 0.1270285398, 0.6491405964, -0.2110747397, 0.6181149483, -0.1692357957, 0.9538567066, -0.0878709331, -0.044795543, 0.0600581653, -0.6979371309, -0.4464093745, -0.2869315743, 0.0971934274, 0.4989768267, 0.2078153342, -0.4028215706, -0.0289133135, 0.4488256276, 0.7422155142, -0.3681395948, -0.0670958459, 0.4428777993, -0.578268826, -0.4757407308, -0.0719858855, -0.3177894056, -0.6195411086, -0.7938848734, 0.3936507106, -0.2243087292, -0.8997753263, 0.0808720142, -0.4866439998, 0.0387379937, 0.5673496723, -0.5548258424, 0.6296003461, 0.7476452589, 0.7701491714, 0.0479812473, -0.4504111707, -0.5418736935, 0.2878046036, -0.086392276, 0.6722112298, -0.8177261949, -0.5520871282, -0.19779405, 0.0012678227, -0.0673289523, -0.5644083619, 0.115349181, -0.1803135425, 0.2740480304, -0.0408785269, -0.1597437412, -0.2337296307, 0.4865182042, -0.6399064064, 0.7903079391, 0.4414213896, -0.3432637155, -0.1372196227, -0.9534671903, -0.1482227594, 0.1143493205, -0.0074705947, 0.065681614, 0.3992140889, 0.1837480813, 0.3396589756, -0.2131197751, 0.1363366544, -0.1522040218, -0.369405508, 0.222957164, -0.0943855643, 0.6202067733, 0.2434680462, -0.3409219384, 0.5202850699, -0.4744178057, 0.1176083609, 0.0396859087, 0.0084681464, -0.4698089063, 0.1306965798, 0.1191937923, 0.320717454, 0.1351809204, -0.1887559444, 0.4862178266, -0.4365855157, 0.1171008795, 0.8709208369, -0.2538328171, 0.5720916986, -0.4044100046, 0.7610625625, -0.0061286697, 0.058929272, -0.0898765624, -0.3393449187, -0.4023778141, -0.3300378025, -0.0822006464, 0.7243754864, -1.0975122452, -0.0575195216, -0.2722488344, -0.3159891963, -0.635640204, 0.241831407, 0.6836003661, 0.4483993948, 0.2527946532, -0.4615882337, -0.5951138139, -0.538515687, -0.0472151376, -0.543863833, 0.0247988664, 0.5872451663, 0.0369236581, -0.3054772019, 1.00761199, -0.0833983198, 0.029828934, -0.626226306, 0.1693844497, 0.0868979096, 0.3302278221, 0.4071351588, -0.9511324167, -0.4920706749, 0.2791160941, -0.9052981138, -0.1977842003, -0.2281771898, -0.185566321, -0.0262521133, 0.499738425, -0.6220103502, 0.4008132517, 0.5665796399, -0.6448125243, 0.4228410423, -0.2147466391, 0.2667732239, -1.1181571484, -0.373647064, 0.1102032736, -0.378279388, -0.9960591197, 0.255029887, -0.266811341, -0.1285466105, -0.5340445042, 0.7268317342, -0.8907283545, 0.0796841457, -0.6428819895, 0.3554017246, -0.1923885494, 0.5707080364, 0.1499829292, 0.8853994608, 0.7755230069, -0.4461406469, 0.6681272388, 0.252908349, -0.1373324245, 0.76368922, -0.8489006162, 0.2746055126, -0.3997129798, 0.0318103209, -0.9174003005, -0.2293654978, 0.2633900344, -0.5063029528, -0.1407980025, -0.2762658894, -0.4635304213, -0.4053811431, -0.0329064503, 0.2733541727, 0.2266869396, -0.1669804901, 0.9317551255, 0.545220077, -0.1953585148, -0.4972673953, -0.3832236528, 0.057579495, -0.0989991203, -0.6974701881, 0.1746355444, -0.0713032335, -0.9732303619, 0.1378333867, -0.0742288455, -0.408605516, 0.3506864905, 0.7128533721, 0.2787470222, -0.1633237451, 0.3657754362, -0.2909199893, -0.0276143067, 0.0998402908, -0.0942260027, 0.4742304981, -0.1504642516, -0.299492687, -0.5721088052, 0.4930362105, 0.7231174707, -0.4418829978, 1.1034394503, 0.4234023988, -0.4386309683, -0.2112342864, -0.5314869285, -0.1357788295, -0.5263577104, 0.5314279199, -0.7666264176, -0.7189285159, 0.6383990049, -0.2290690541, 0.0731385127, 0.1325636655, 0.5596297383, -0.1329336017, 1.1261171103, 0.8087314963, -0.2914524376, 0.6758722067, -0.1400221586, 0.1717835367, -0.6570478082, -0.2385089695, -0.3376618624, -0.1576699764, -0.2126914412, -0.7548078299, 0.1878581643, -0.0630580559, 0.1443275511, 0.5119290948, -0.4455664456, 0.4098461568, 0.2610217035, 0.2605505288, 0.1410043091, -0.0400898419, 0.2167772353, 0.2936302125, -0.5485856533, -0.5245863795, 0.7271526456, 0.1917386651, 0.5201321244, 0.4426151216, 0.3120427132, 0.5424950719, 0.4082151949, -0.5585180521, 0.4434166253, 0.5796202421, -0.6524947882, -0.6231902242, -0.2763178647, -1.1968624592, 0.6720340252, -0.2895281315, -0.8437721133, -0.0818455145, 0.0736935437, -0.2321811467, -0.0347691178, -1.0479136705, 1.10384655, -0.0398382954, -0.429118067, -0.6400393844, -0.4620083869, -0.0582237244, 0.3841755092, 0.6150170565, -0.232602194, 0.1242191121, -0.086462453, -0.3179342151, 1.0124306679, -0.4054283202, -0.0440657772, 0.480679065, 0.1675567925, 0.7289370298, 0.002647734, -0.4558729231, -0.2921828926, 0.0084147081, -0.7370123863, -0.836709857, 0.616414845, -0.9814355969, -0.8022359014, 0.0143789724, -1.0792738199, -0.2300992608, -0.1239576489, -0.530613482, 0.6938044429, -0.4338804185, 0.0081292065, 0.4103932381, -0.0212768335, 0.4172956049, 0.5270402431, -0.0105136177, 0.0970155373, 0.9301103354, -0.1143825799, 0.4192024171, -0.0436933972, -0.1609020978, -0.1697712094, -0.410969615, -0.4069210589, -0.0483818538, -0.5173394084, 0.030396603, -0.8511462808, 0.0490738489, -0.7273845673, -0.3078032434, -0.0749998316, -0.2932694256, -0.2128797621, -0.4299467504, 0.1737222522, 0.9873698354, 0.0402195714, 0.4575793147, -0.8622760773, 0.5034159422, 0.3127995431, 0.098643966, 0.1668451577, -0.2179650366, -0.5067452192, 0.1247398183, -0.0871358588, -1.0888299942, 0.3390448093, -0.0913968012, 1.2282599211, -0.0750336349, -0.0299436338, 0.757689476, -0.3054741621, 0.8824371696, -0.1491058171, -1.1621545553, 0.6134752631, -0.6089197397, 0.6093062758, 0.3918602169, -0.0532920398, -0.6663081646, -0.5442473292, -0.7753435373, -0.6494563818, 0.7510929108, 0.3029454947, 0.3971901238, 0.1475043446, 0.294882983, -0.1421029419, 0.3512708545, -0.6157191992, -0.1620215774, -0.1240333989, -0.3452447057, -0.0057534543, 0.0064670588, -0.2262366563, -0.3193414509, 0.4580521584, -0.1737653464, 0.3426459432, 0.0142645435, -0.4989043176, -0.1003300622, 0.1977876872, 0.5609585047, 1.0945829153, 0.2773630917, 0.231473878, 0.4819938838, -0.1723691374, 0.1861462295, 0.0597416349, 0.4276326001, -0.3055196702, 0.5161747932, 0.7712609768, -0.295116365, -0.8794152141, 0.4051587284, -0.1379295141, 0.120641917, -0.0370224752, 0.3923526108, 0.1238576919, 0.5702784657, 0.1616192609, -0.0331223384, 0.1187113747, -0.8338101506, 0.0864678472, 0.437215358, -0.4282931089, -0.4465370774, 0.4034045041, 0.506717205, -0.610249877, 0.7929007411, -0.0919172615, -0.4457954466, 0.9925708771, 0.6150150895, 0.6448533535, -0.337951988, 0.4449002445, 0.036869958, 0.3873978853, 0.0775345862, 0.4498768449, -0.2292232066, -0.9051308036, -0.5676797032, -0.1294059753, -0.5181761384, -0.2633838952, -0.34842062, -0.1428274959, -0.2490972131, -0.2091700733, -0.207642287, 0.0027867241, -0.9843894243, 0.1626907438, 0.2773523629, 0.4383349121, -0.8823800683, 0.8998123407, 1.0526846647, -0.3419581652, -0.7431976795, -0.1968993843, 0.2851754725, -0.4762603641, 0.5422791839, 0.0425401889, -0.2988957763, -0.008664161, -0.7317616343, -0.7320867777, 0.8983371258, 0.1751908064, -0.1313993037, -0.0192104783, -0.0214866232, 0.9037125707, -0.3620607257, 0.5464945436, 0.2734477222, 0.6595445871, -0.4700710177, -1.3669885397, 0.0748263299, -0.7001555562, 0.1377645135, -0.0502473488, -0.6696978211, 0.4054534137, -0.1097304747, -0.0885483623, -0.0606407039, 0.9110863209, 0.1350210309, 0.4076740146, 0.8589619398, 0.1248243526, 0.7819250226, 0.0382211767, 1.238841176, -0.1958328933, 0.0380605161, 1.1837756634, -0.0426137522, 0.4839282334, 0.5050438046, -0.0154477945, 0.536359787, 0.4643928409, 0.3338034451, 0.3772206903, 0.493157208, -0.4767899513, -0.4224793911, -0.7335264683, -0.1757081449, 0.4937871397, 0.4914149344, 0.0560546927, 0.0949280187, 0.4473712444, -0.1384617984, 0.3430608511, -0.2329429984, 0.9925608039, -0.2211723626, -0.6447826028, 0.1129589304, -0.1190621853, 0.410676688, -0.2387633771, -0.2767707705, 0.0370661579, 0.004197605, -0.1452103108, -0.4217386842, 0.3513557613, -0.154603973, -0.4114277065, -0.5116442442, 0.7046835423, -0.5649733543, -0.3447733223, 0.2871844172, 0.8891584277, 0.0751783103, -0.2631577849, -0.7086231709, 0.3400568962, -0.1700481325, -0.17931436, 0.0610898398, 0.5284910202, -0.2569117844, 0.7502804995, 0.6528244615, -0.0852340385, 0.0874794871, 0.1519144028, 1.02412498, -0.4281196892, -0.3095264137, -0.6278681755, 0.9113084078, -0.3320772052, 0.0686302856, 0.7916556001, 0.2476214767, 0.9077684283, -0.147375688, 0.9221283197, -0.2643612325, 0.3075206876, -0.1628094465, 0.3049245179, -0.4791609943, 0.0222115144, -0.2061722577, -0.8533063531, -0.0985040441, 0.7099183202, -0.0775921494, -0.1573738307, 0.319316119, 0.8685762882, -0.1486196071, -0.2189721167, 0.5031093955, 0.1950774789, 0.5666192174, 0.2506776452, 1.0462468863, -0.0691134781, 0.3523430824, -0.1313200891, -0.1574256271, 0.0713615268, -0.520108223, -1.154201746, -0.6307774186, -0.2537149191, -0.2196907848, 0.3828135729, 1.2668944597, 1.0228918791, -0.6674565673, -0.4983213246, 0.0152055193, 0.2266275287, -0.7061405778, -0.2157129794, -0.1415320337, -0.470512569, -1.0385005474, 0.8941635489, 0.1402016878, -0.0717764869, -0.2644763887, -0.2457554191, -0.1454105228, 0.2024215311, 0.6882701516, 0.087052308, -0.9664991498, -0.4401434958, 0.1723411679, -0.2560088634, -0.1110248864, 0.8616076708, -0.8765993118, 0.8722985983, 0.7432230711, 0.7678037882, 0.1894219071, 0.5594847798, 1.0069330931, -0.7077870369, 0.3982748091, -0.074571833, 0.0375481471, 0.2242850065, -0.6811489463, 0.6670383215, 0.1907155216, -0.4223122895, -0.6718208194, -0.1054080427, -0.9065838456, -0.437823683, 0.9454544187, -0.0573476031, -0.1824175417, -0.5745384693, -0.762678206, 0.3988488317, -0.3139169812, 0.8258383274, 0.9982041717, -0.1699946076, -0.6381549835, -0.7734318972, 0.2895674109, 0.5750710964, -1.1858856678, 0.1195566729, 0.9792916775, -0.1551878303, 0.1149811223, 0.7692102194, 0.4198865891, 0.2315218151, -0.0416369401, 0.1677488536, -0.4452036917, -0.3933404386, -0.1034306288, 0.1589272916, 0.0878405795, -0.22337614 ]
http://arxiv.org/abs/2402.05435v1
http://arxiv.org/pdf/2402.05435v1
GPT-4 Generated Narratives of Life Events using a Structured Narrative Prompt: A Validation Study
2024-02-08T06:20:01
2024-02-08T06:20:01
Christopher J. Lynch, Erik Jensen, Madison H. Munro, Virginia Zamponi, Joseph Martinez, Kevin O'Brien, Brandon Feldhaus, Katherine Smith, Ann Marie Reinhold, Ross Gore
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7; I.6.4
Large Language Models (LLMs) play a pivotal role in generating vast arrays of narratives, facilitating a systematic exploration of their effectiveness for communicating life events in narrative form. In this study, we employ a zero-shot structured narrative prompt to generate 24,000 narratives using OpenAI's GPT-4. From this dataset, we manually classify 2,880 narratives and evaluate their validity in conveying birth, death, hiring, and firing events. Remarkably, 87.43% of the narratives sufficiently convey the intention of the structured prompt. To automate the identification of valid and invalid narratives, we train and validate nine Machine Learning models on the classified datasets. Leveraging these models, we extend our analysis to predict the classifications of the remaining 21,120 narratives. All the ML models excelled at classifying valid narratives as valid, but experienced challenges at simultaneously classifying invalid narratives as invalid. Our findings not only advance the study of LLM capabilities, limitations, and validity but also offer practical insights for narrative generation and natural language processing applications.
[ 0.1424827278, -0.7523723245, 1.1599112749, 0.1692744792, -0.1681096107, -0.0897885263, 0.131800741, -0.3550460935, -0.2129478902, 0.2944329381, -0.6787349582, -0.6697285771, -0.2760863602, 0.3932905197, -0.283128351, 1.2055999041, -0.3149034977, -0.218114242, -0.1533657908, -0.022579791, -0.5930056572, -0.5266646147, -0.4274964333, -0.2401320189, 0.6794540882, 0.1225345582, 0.521361351, 0.6254428029, 0.1663582325, 0.1732936352, 0.1895717233, 0.2851301134, -0.4098888338, 0.3820698559, 0.1988916397, -0.3367381096, -0.3372705877, 0.356703788, 0.546843946, 0.6182132363, -0.0974156931, 0.2554911077, 0.0492835715, 0.2613225281, -0.3863254786, 0.1064345166, -0.3512917757, 0.3539320529, -0.123228766, -0.2217781693, -0.5434682369, -0.817473948, 0.0149418069, -0.4389123917, 0.3201774955, -0.0780178085, 0.9102793932, 0.0707827955, -0.418969065, -0.4890805483, -0.9098357558, 0.578504324, -0.7483597398, -0.0536010824, 0.1829340905, 0.3161532283, -0.2311832309, -0.7973860502, -0.6070863008, -0.3048575222, -0.0443223305, 0.1257828027, -0.0892223418, 0.1173928678, 0.3658045828, 0.4238291681, -1.054005146, 0.2760742009, -0.3496131003, -0.2629068494, 0.425871551, 0.6384337544, 0.5436899662, -0.4491720498, -0.2696792185, 0.2072840184, -0.8265155554, 0.0296972618, 0.7228360772, 0.12881805, -0.1761762202, 0.7306281924, -0.2089665234, 0.6539170146, -0.1195204556, -0.5817485452, 0.2248921245, -0.4200884104, -0.1858988553, 0.1851658374, 0.9099192023, 0.6388289332, 0.4823436737, -0.1359396726, -0.1469655782, 0.1612249911, 0.2605966926, -0.8693189025, 0.1873196065, 0.4137863815, -0.4851538539, -0.5335181952, -0.2430617064, -0.5241094828, -0.5186488032, -0.0292332396, 0.1308593154, -0.3754143119, 0.2228444964, 0.1855642349, -0.227035448, 0.3847411871, 0.5491471887, -0.733697474, -0.1939223111, 0.5471475124, 0.824539125, -0.2587968111, -0.1286109239, -0.5510101914, 0.2049035728, -0.3855140209, 0.7163054347, -0.3836993575, -0.2085842937, 0.1432188749, -0.1150993332, -0.0568987951, -0.3962410092, 0.9868044853, -0.4057582021, 0.4643343687, 0.0020962565, -0.5650303364, -0.0776323825, 0.5941887498, -0.4562587738, 0.650676012, 0.0840854719, -0.427549839, 0.5582394004, -0.4633607864, -0.3282875419, 0.3380648196, -0.5243965387, -0.4500562847, 0.0768745169, 0.1841706038, 0.5739905834, -0.1369036734, 0.8756957054, -0.0941294208, -0.3399619162, 0.0386679769, -0.6335501671, 0.5737751126, 0.3020184934, -0.2911968827, 0.0744405463, -0.7994045615, -0.2319828123, 0.4173214734, -0.5555209517, 0.2254808247, -0.1628631502, -0.1494716853, 0.0630078986, -0.0773923323, -0.8093068004, 0.4914261401, -0.4124481678, 0.4059886336, 0.4153707623, 0.453967154, 0.1784684062, -0.4802985489, 0.9376788735, -0.0016524638, 0.0903080478, -0.949637115, -0.8641217351, -0.2037369907, 0.1624368131, 0.0107201198, 0.6786745787, -0.8475586772, 0.2778903544, -0.151074633, -0.3769325912, -0.1027379036, -0.2476399243, 0.0793901309, 0.9508553743, 0.1973982751, 0.112944074, -0.6636311412, -0.6796104312, -0.288720727, -0.3897204101, -0.2727009356, 0.060804978, 0.3384066224, -0.2579133809, 1.1212713718, -0.3880769014, 0.0147474185, -0.4498608708, 0.3907046914, 0.4162319303, 0.2823642194, 0.6706682444, -0.7036213875, -0.2323070765, -0.2589919567, -1.1658447981, -0.1338510513, -0.5465114713, 0.3460826874, 0.3222454488, 0.0479408391, -0.6389638186, 0.7734616399, 0.4177547395, -0.4208509624, 0.9648211598, -0.2639162242, 0.1883175373, -0.7902984023, -0.0586758517, -0.0156964455, -0.321387291, -0.5907853246, -0.3225424588, 0.0319316387, -0.2990216315, -0.4117455781, 0.7223175168, -0.2836904824, 0.0621410571, -0.0915672779, 0.2126334757, 0.0260208473, 0.4264788032, -0.0127971917, 0.5421421528, 0.116032809, -0.4345806539, 0.5457988381, 0.5491218567, -0.4699768722, 0.4230174124, -0.5384829044, 0.0028633217, -0.2184475064, 0.6967845559, -1.0202089548, -0.625677824, 0.3702293634, -0.442909658, -0.0103793954, -0.0894546658, -0.7193953395, -0.3578546941, -0.2313456088, 0.2343758047, 0.5628447533, -0.3194869459, 0.7054010034, 0.0002418301, -0.3666560054, -0.1799762398, -0.7253363132, 0.3970387578, -0.4122032821, -0.6464582682, 0.1264017969, -0.2698452771, -0.0580043793, -0.1597049981, 0.0708269775, 0.0055757514, -0.1035707965, 0.5106938481, 0.4425537586, -0.3352117538, -0.1427239776, 0.0205611903, -0.2870740891, -0.0367302559, -0.2620973289, 0.3822740912, 0.2329297364, -0.4825062156, -0.3634598255, 0.2431031913, 0.4329076707, 0.191623643, 0.7967244387, 0.5491948724, -0.4796874225, 0.109555915, -0.5069637895, 0.3014988005, -0.3930194974, -0.1198388115, -0.1284722537, -1.0320181847, 0.5037865639, 0.122106947, 0.2458709627, 0.4477683902, 0.6425846815, 0.1190063432, 0.9826207161, 0.2579019368, 0.1083541289, 0.1362786591, 0.2355599701, 0.3261642158, -0.4819974303, -0.1267929822, -0.3059931695, -0.0450623967, -0.4052481651, -0.0943808705, 0.6128047705, 0.0442093089, -0.3614426851, -0.0435070768, -0.3061933815, 0.6274625659, 0.3610837162, -0.1752821654, 0.6426371932, -0.1814136952, -0.3053829074, -0.0209895372, -0.5065544248, -1.0941220522, 0.9559092522, 0.4518130124, 0.4524743855, 0.0100756148, 0.7011983395, 0.2870253325, 0.4379597306, -0.3269485235, 0.3747147322, 0.1184228808, -0.601123929, -0.2895612717, -0.389514327, -0.9933965206, -0.1574525982, 0.0475417934, -0.8489687443, -0.0324301012, -0.0645006299, -1.0343410969, 0.0926021114, -0.7080497146, 0.9120729566, -0.4325740039, 0.032779105, 0.4057657421, -0.7258891463, 0.5358514786, -0.3378144503, 0.1635059863, -0.0910289958, 0.0758762881, 0.4566097856, -0.3964784443, 0.9811682701, -0.1388666183, -0.1429679394, 0.5618474483, 0.123188071, 0.6064360142, 0.09503223, -0.2452100217, 0.0075331577, -0.0998936072, -0.1600743234, -0.3500550091, 0.4316475093, -0.5178664327, -0.3978290558, -0.2857705355, -0.4772758782, -0.2347377539, 0.130835101, 0.3128720522, 0.6875865459, -0.3438281715, -0.0040346459, 0.328561604, -0.7616559863, 0.6564108133, 0.432340771, -0.4018752277, -0.3817850947, 0.5812382102, 0.2008296847, 0.1999381334, 0.0829792544, 0.1815610528, -0.1986884922, -0.8808008432, -0.8088764548, 0.2219488472, -0.702342689, -0.3474017084, -0.8165907264, -0.2950116694, -0.4269801676, -0.2620217502, 0.0998855233, -0.1377136558, -0.3834286928, -0.7411987185, 0.0428432524, 0.9660927653, 0.0086079752, 0.1364617348, -1.1875269413, 0.4636503458, 0.0932063311, 0.1912784129, -0.2829916775, -0.4493189454, 0.0886237696, -0.0924959555, -0.4923045337, -0.9850601554, 0.5540403724, 0.0869689584, 0.5272216797, 0.394829005, 0.1829627007, 0.4712353945, -0.8648962975, 1.2963380814, 0.053141091, -0.6292824149, 0.779697299, -1.0339539051, 0.4194678366, 0.2790213227, 0.6354396939, -0.4537001848, -0.378433764, -0.7609864473, -0.7377988696, 0.6710990667, 0.4516319036, 0.2559146583, -0.1588506103, 0.7222496867, 0.3189354539, 0.1311879605, -0.8886144161, -0.2370132506, 0.0085917581, -0.4126676321, -0.0058081602, -0.4969443083, 0.1577148438, 0.0908156335, 0.3652268946, -0.1749424785, 0.087741673, 0.1611344516, 0.0143953916, -0.2721106708, 0.1617238522, 0.7741088271, 0.6272150278, -0.1196181625, -0.0658866763, 0.167326346, -0.3928912282, 0.2537021041, 0.070513241, -0.3400564492, 0.0289946813, 0.6291543245, 0.9113310575, 0.1020991802, -0.8393618464, 0.6629617214, -0.3854041398, -0.3159600496, -0.3389975131, 0.2041961551, 0.0499590524, 0.2717468739, 0.3986715078, -0.2543030083, -0.0241215508, -0.6404178143, 0.0426693447, -0.0007637059, -0.0988015458, -0.4616619349, 0.7023831606, 0.0777508914, -0.2409770638, 0.7848243117, -0.3721265793, -0.3408162296, 0.5306938291, 0.4749755263, 0.8959021568, -0.1338293999, 0.4788696766, 0.4582290649, 0.3048292696, -0.008462213, -0.0537213981, 0.108068727, -0.9298112988, -0.6607034802, -1.0734423399, -0.6030503511, 0.5582748055, -0.3792948723, 0.2029340714, -0.1453056335, 0.1521889865, -0.1777818799, -0.2899618447, -0.5999663472, 0.2149114013, 0.6475765109, 0.7355511785, -1.022387743, 0.5311686397, 0.394290328, -0.7085232139, -0.9425980449, 0.0460878387, 0.1580068618, -0.5792079568, 0.5130891204, 0.4025826454, 0.2906225324, 0.0218041744, -0.5966008902, -0.4931381345, 1.2205181122, 0.4834180176, -0.4487796128, -0.4224330187, 0.4588020444, 0.7236410379, -0.5658909678, 0.3175450265, 0.3826345205, 0.574847281, 0.3780766726, -0.9285761714, -0.0587777719, 0.025562698, -0.0566109754, -0.1322809458, -0.1686362475, 0.6211567521, -0.2995916009, -0.5482265353, 0.2805404961, 0.6447652578, 0.6741932631, 0.6645298004, 0.282789737, 0.3635210097, 0.8390377164, -0.15307495, 1.3543101549, 0.0612838119, 0.1436989903, 0.9609136581, -0.5724654794, 0.3129405379, -0.1077391431, -0.033316344, 0.7003591061, 0.8450616002, 0.1157315597, 0.1293763816, 0.029966088, -0.3440652192, -0.2391554713, 0.0136253452, -0.0762577802, 0.2974063754, 0.1619867086, -0.3550799191, -0.4504432082, 0.3666942418, -0.0180741455, -0.1493427306, -0.2234324515, 0.7781858444, 0.0971826389, -0.8094052076, 0.2262931913, -0.0460461229, 0.3194355965, -0.5366744399, -0.2453477085, -0.2013153583, -0.112875551, -0.1547814608, -0.8113968372, 0.3633823693, 0.467553407, -0.2013263404, -0.6311026216, 0.9221766591, -0.2144839913, -0.3160698414, -0.2621830702, 0.5881279707, 0.3373849988, -0.2765604854, -0.3121004701, 0.1444514543, 0.1157889813, -0.437961936, 0.2385674268, 0.747361362, -0.1724111736, 0.3871070445, 0.6227630377, -0.0165816508, 0.0271647442, 0.1106866822, 0.6225891113, -0.9750965834, -0.6543912888, -1.0594110489, 0.7919929624, 0.1720424145, -0.293437928, 0.6904885173, 0.5883745551, 0.4019281566, -0.0319260918, 0.9656218886, 0.2589216232, 0.7109322548, -0.6020410657, 0.4260246754, -0.0123864403, 0.1857022792, -0.1027791128, -0.7047683597, -0.4320864081, 0.3468709886, -0.5179945827, 0.2875936329, 0.651859045, 0.4208607376, 0.3434430659, 0.217298612, 0.4384242892, 0.1210646555, 0.5211071372, 0.4703992009, 1.1773309708, -0.3124823868, 0.5278052092, 0.4105994105, -0.1350346506, -0.1362193823, -1.2358769178, -0.7497653961, -0.4301679134, -0.3246943653, -0.1204896495, -0.0146838753, 0.5673909187, 0.368868649, -0.5122044683, 0.2794116735, -0.0970052853, -0.1647272855, 0.4544929862, -0.2887051702, -0.0080002081, -0.3785323203, -0.4487429857, 0.6745954156, 0.6424898505, 0.1226790845, -0.2300285548, -0.1783206314, 0.074234359, 0.0851005912, 0.5195178986, 0.1112771928, -0.6611943841, -0.4831668139, -0.2514970005, -0.2105562985, 0.1164597124, 0.9000046253, -1.0898592472, 0.0804569572, 0.3223252892, 0.6309335828, 0.3818220794, 0.2119104862, 0.7642176747, -0.9112783074, -0.2726963758, 0.3361082971, 0.4414767623, 0.2901621163, -0.636700809, 0.6338374615, 0.3105515838, -0.8423596621, -0.9134348035, 0.2863036096, -0.9218531251, -0.1353844702, 1.3754047155, -0.2609780729, -0.1347353756, -0.2655728459, -0.3311672509, 0.1603441536, -0.1541661769, 0.4052135348, 0.8381745815, -0.4588252008, -0.221866399, -0.8741473556, 0.3620017469, -0.0983190909, -1.070306778, -0.0609434396, 0.876652956, 0.2062042952, 0.1102505848, 0.7860859036, -0.0628188923, 0.1947888583, -0.202851668, -0.0703707039, -0.3285508752, -0.2556385398, -0.4215397537, 0.4443185031, -0.1148731261, 0.2017154843 ]
http://arxiv.org/abs/2402.05406v2
http://arxiv.org/pdf/2402.05406v2
Everybody Prune Now: Structured Pruning of LLMs with only Forward Passes
2024-02-08T04:48:26
2024-02-09T19:53:56
Lucio Dery, Steven Kolawole, Jean-François Kagy, Virginia Smith, Graham Neubig, Ameet Talwalkar
cs.LG
cs.LG, cs.CL
Given the generational gap in available hardware between lay practitioners and the most endowed institutions, LLMs are becoming increasingly inaccessible as they grow in size. Whilst many approaches have been proposed to compress LLMs to make their resource consumption manageable, these methods themselves tend to be resource intensive, putting them out of the reach of the very user groups they target. In this work, we explore the problem of structured pruning of LLMs using only forward passes. We seek to empower practitioners to prune models so large that their available hardware has just enough memory to run inference. We develop Bonsai, a gradient-free, perturbative pruning method capable of delivering small, fast, and accurate pruned models. We observe that Bonsai outputs pruned models that (i) outperform those generated by more expensive gradient-based structured pruning methods, and (ii) are twice as fast (with comparable accuracy) as those generated by semi-structured pruning methods requiring comparable resources as Bonsai. We also leverage Bonsai to produce a new sub-2B model using a single A6000 that yields state-of-the-art performance on 4/6 tasks on the Huggingface Open LLM leaderboard.
[ -0.2630107999, -0.779170692, 0.5549641848, 0.6224454045, -0.5736700892, -0.1985951215, -0.1677749455, -0.4791041017, 0.1981199533, 0.5727797747, -0.9847855568, -0.4427886307, -0.1722687781, -0.081087254, -0.4707207084, 0.8667060137, 0.140418753, -0.0303522926, -0.3298868835, -0.0941196084, -0.3563966155, -0.5462026, -0.4659268856, -0.4865118861, 0.6192827821, 0.3979209363, 0.5390255451, 0.5550082922, 0.3107447922, 0.2247041017, -0.3751725852, 0.1622813195, -0.5459957719, 0.0983217284, -0.0524434708, -0.6375979185, -0.713490963, -0.0460779071, 0.6867627501, 0.7112277746, -0.3272967339, 0.3174310923, 0.1317309737, 0.6623625159, -0.5474467874, -0.207342416, -0.7498819828, 0.137985006, -0.372173667, -0.3931301832, -0.4348791838, -0.4591931999, -0.4304992259, -0.6828783751, 0.3656055033, -0.0959791169, 0.7803023458, 0.4401781261, -0.1413113326, 0.3821052909, -0.7821070552, 0.7719889283, -0.371299535, 0.230300203, 0.0037056813, 0.301314652, -0.2006000578, -0.7546181679, 0.021863075, -0.1033678651, 0.0390275456, 0.0417542383, 0.069675222, 0.2869177461, 0.1369662583, 0.3002550304, -0.1996554434, 0.2894723713, -0.4657980502, -0.0925455242, 0.8425358534, 0.0946504474, -0.1403696388, 0.0160720777, -0.785212934, -0.0101246471, -1.0675222874, -0.1699320078, 0.2315765768, -0.1769208759, 0.3680499792, 0.4748544693, 0.2149713188, 0.824772656, -0.2996506095, -0.2843281627, -0.4041278958, -0.1735734195, -0.6223466396, -0.1755706072, 0.4944600463, 0.420298785, 0.4994853735, -0.0629101098, -0.2165220529, 0.023508532, 0.1026495472, -1.0099278688, -0.7925763726, 0.2684009373, -0.4390720725, -0.217793867, -0.2104680985, -0.6620742083, -0.198972851, -0.1094535813, 0.0515397191, -0.0480710231, -0.2922810018, -0.0623501539, -0.0974580422, 0.138205424, 0.8794127107, -0.5348139405, 0.5746661425, 0.8890417814, 1.0655044317, 0.1082120538, -0.0178407189, -0.3273571134, 0.2652346194, -0.4423552454, 0.5829234123, -0.4014077485, -0.9715894461, -0.5561899543, -0.0115619395, 0.0337803029, -0.7166317105, 0.4715837836, -0.4436757863, -0.2975497842, -0.1092425734, -0.3913217783, -0.276370585, 0.2419417202, -0.5307422876, 0.6477112174, -0.0415911637, -0.4975844324, 0.043256823, -0.401584208, -0.4483554065, 0.1409263909, -0.3420457542, -0.6549288034, 0.3251674175, -0.0024929126, 0.5189805031, -0.2961132526, 0.5524682999, -0.5252842903, -0.6066120863, -0.1790627986, -0.5401538014, 0.9392272234, 0.092316553, 0.116102092, 0.2434371561, -0.411952734, 0.1287204772, 0.2792045772, -0.3776207268, -0.1367837936, -0.1400550306, 0.0459818952, 0.1638307422, 0.2158399969, -0.5931959152, 0.4393420815, -0.2254247218, 0.6331937313, 1.1290217638, 0.2209484577, 0.3706353605, -0.556458354, 0.6376956701, -0.0304698944, 0.3953488469, -0.1561796963, -0.6493917704, -0.5400835872, -0.4365985394, 0.395476222, 0.376270771, -0.0742544681, 0.3030802608, -0.1628062278, -0.5935268402, -0.4087189734, 0.2620798945, 0.3194070458, 0.4631542563, 0.2479193956, -0.541302979, -0.4058776498, -1.0587512255, -0.247857064, -0.0883678421, -0.3889839649, 0.536709547, 0.3963192403, 0.2428735942, 0.7877462506, -0.5848093033, -0.4834347367, 0.0940962881, -0.1188927218, 0.1193010062, 0.8116466403, 0.1642493159, -0.8717429638, 0.0181202721, -0.2138573527, -0.5624182224, 0.1779700965, -0.323240906, -0.0959266797, -0.0021290819, 0.367506057, -0.8135476112, 0.5885643363, 0.4782230854, -0.1563437283, 0.639539063, -0.420121938, -0.4850606322, -0.5786550641, 0.2409138381, 0.1644067466, -0.4132785499, -0.1435010284, 0.1011187732, 0.0931969583, -0.1981344521, -0.5181516409, 0.5664426684, -0.7446588874, -0.5486192703, 0.0542922132, -0.0088003185, 0.2678790689, 0.6875402927, 0.0974242613, 0.5129597783, 0.3309091926, -0.8285571933, 0.1721275151, 0.1557939649, -0.3125351965, 0.4245774746, -0.8330494761, 0.0793058723, -0.1859951168, 0.803725481, -0.5976437926, -0.1251322627, 0.3908087611, -0.1009054855, 0.5509712696, -0.2321018577, -0.21089378, -0.2414764613, -0.2275057584, 0.2268755883, 0.6657270193, -0.4410326779, 0.5787189603, 0.1856943071, -0.1276502162, -0.288441956, -0.8597009182, 0.0633990839, -0.241499573, -0.7073252797, 0.624237299, -0.2175876051, -0.2872995436, 0.0228263997, -0.5926920176, -0.0193471778, 0.6723157167, 0.3763706088, 0.2474864721, 0.0059317052, -0.0912124664, -0.045576416, -0.0462188646, 0.0509888418, -0.5635862947, 0.1990311444, 0.0629865006, -0.5941433311, -0.6135331988, 0.33217296, 0.4550978839, -0.3435896635, 0.4765870571, 0.251383543, -0.2417707741, -0.442135781, -0.3444038928, -0.4508804679, -0.4391043484, 0.4008282125, -0.5381082892, -0.7199829817, 0.0440934598, -0.4883152246, 0.7924588323, 0.1069900915, 0.2959367633, -0.1013022214, 0.7488113046, 0.5770530701, 0.1929747909, 0.3042056262, -0.4860799611, 0.0938676745, -0.901681602, -0.5173415542, -0.4701448977, -0.723064959, -0.2886165082, -0.6768519878, 0.4036847949, 0.4870601594, -0.1782986075, -0.0364952795, -0.7635500431, 0.5720124841, 0.5467393398, 0.4421385527, 0.4743955731, -0.0128367431, 0.3455430269, 0.2008975744, -1.027354002, -0.4472408891, 0.7842955589, 0.4627427757, 0.6465734839, -0.2056211233, 0.7215695381, 0.0566494092, 0.9508416653, -0.7799493074, 0.8888221979, -0.0090635279, -0.7708708048, -0.1985896379, -0.4779451489, -0.7568272352, 0.4906055927, 0.3186300993, -0.586520493, 0.3168634772, 0.3902955055, -0.4824109674, 0.6815850735, -0.4352979958, 0.4872814119, -0.3030954599, -0.5629836917, -0.2979738414, -0.7476375699, 0.8598265648, -0.0972059518, 0.1726430655, -0.4018139243, -0.3945883811, 0.8175793886, -0.6825507283, 0.9457119107, -0.4917098582, 0.0066767423, 0.301597178, 0.389002949, 0.5437753201, 0.0442177095, -0.0067107249, 0.2776347399, -0.1524410397, -0.7034805417, -0.5961768031, 0.6965296268, -0.4809884429, -1.0071377754, -0.166359365, -0.3687461019, -0.0569613315, -0.097506471, 0.0650263876, 0.328500092, -0.1407809556, 0.2238003016, 0.5946977139, 0.1677712351, 0.4513637125, 0.3851128519, -0.08020401, -0.1873536259, 0.8570918441, 0.3010860682, 0.0102430815, 0.125083372, 0.1142853126, -0.100166142, -0.6452991366, -0.4548121989, 0.2741884589, -0.5179265738, -0.3616125286, -0.5748456717, -0.1519432068, 0.0846695378, -0.2832101285, -0.2927004695, -0.7218202353, -0.3754129112, -0.0545924455, 0.3480605781, 0.7167381644, -0.163315773, 0.4029394388, -0.8140530586, 0.0715408772, 0.0647640079, 0.1308176666, 0.2310311347, -0.2719085217, 0.0974469781, -0.1121850833, -0.5306705832, -0.7370396256, 0.4196462035, 0.4498882294, 0.2659236491, 0.4137940109, 0.0721526295, 0.778398931, -0.4541336894, 0.5166143775, 0.2831217647, -0.5460879207, 0.4086810052, -0.0687706918, -0.001646513, 0.4125026762, 0.462964952, -0.1905412078, -0.0057809181, -0.9359449148, -0.8968731165, 0.5265068412, 0.0247808285, -0.2695633769, 0.3778046072, 0.4659094512, -0.0376206972, 0.3829858005, -0.5121576786, 0.0137562575, -0.029053418, 0.1166014224, -0.1870621443, -0.1359620541, -0.3741941154, -0.2555915713, 0.7449451685, 0.0020613014, 0.1362293214, 0.4033958912, 0.1418416649, -0.1225890964, 0.1119798198, 0.1554217041, 0.7241860628, -0.1967976689, -0.1158113927, -0.0494709015, -0.0911966339, 0.4420873821, 0.0178189408, -0.4685479701, -0.0093521811, 0.1748398095, 0.5545895696, 0.556402266, -0.4437691867, 0.3900071979, -0.0483727865, -0.4263793528, -0.169105947, 0.194861725, 0.2451624125, 0.2335336357, 0.0359028503, 0.5288062692, -0.1739404947, -0.3022112846, 0.2059245706, 0.4393639266, -0.1570487171, -0.3446309865, 0.7601698041, 0.5235472322, -0.5651253462, 0.8552480936, 0.2478672266, -0.3584604263, 0.6297820807, 0.3843788505, 0.7595253587, -0.0863366649, 0.0809043646, 0.1376464814, 0.2809126973, -0.2578314841, 0.1786714196, -0.8014076352, -0.1809225678, -0.6172842979, -0.9040054679, -0.6540004015, -0.1440517604, -0.6130517125, -0.0088245748, -0.9733780026, 0.0176873766, -0.332826376, 0.2873632014, -0.4822681248, 0.2819870412, -0.1766091287, 1.4313993454, -0.773948729, 1.0035339594, 0.6068109274, 0.0102372207, -0.6913343072, -0.2364770919, -0.0330119915, -0.6671431065, 0.3399404883, 0.2995298207, -0.0073768753, 0.2504820526, -0.7023809552, -0.4860502481, 1.2105077505, 0.4713804126, -1.0820100307, -0.5491800308, -0.5651580095, 0.0127707478, 0.1557316184, 0.0931050479, 0.5821874738, 0.6992737651, 0.4042938054, -0.3415408134, -0.0460985489, -0.1620230824, 0.0063379346, 0.389354825, -0.9996227622, 0.9033734202, -0.2151240259, -0.3149905503, 0.2981771529, 0.776096344, 0.7831587791, 0.2989564836, 0.6302911043, 0.5443589687, 1.1187531948, -0.0857850015, 1.0820330381, -0.2773402631, 0.0404779278, 1.0194425583, -0.3538998365, 0.5689733624, 0.5365465283, -0.2150275856, 0.2855735421, 0.9839821458, 0.1899664253, 0.1390790194, 0.4875248373, -0.3852616549, -0.5233176351, -0.2004494071, -0.2279313654, 0.1226079315, 0.4432201684, 0.0087305764, -0.2565194368, -0.1462525278, 0.1871065497, -0.0242832452, -0.5284616351, 0.5478281975, 0.6168564558, -0.8366555572, 0.5116314888, 0.1540721953, 0.7775274515, -0.8245968819, 0.0582143925, -0.3040342629, 0.2534132898, -0.4788876772, -0.5540685654, 0.4131815135, -0.1276106387, 0.2194187194, -0.7388093472, 0.9155769348, -0.242231518, -0.4556459785, 0.2798995972, 0.3883913457, 0.4999033809, -0.2020282894, -0.5897840261, 0.1182686165, 0.0899664909, -0.5109272003, 0.4497309625, 0.2934171855, -0.2876138687, 0.7780486345, 0.5833986402, 0.4781896174, -0.1312488019, -0.2132580876, 1.067496419, -0.6123347282, -0.4081800282, -0.8085051179, 0.3400198519, -0.0548602678, -0.3351536691, 0.7479221225, 0.3582229912, 0.7910324335, 0.3404572904, 0.3448448479, 0.2472300828, 0.1065457389, -0.407325685, 0.4619888663, -0.7817860842, 0.3369244337, 0.1881657839, -0.9051855803, -0.1899898201, 0.4956921339, -0.1646960676, 0.0637054741, 0.1072611958, 0.6834192276, -0.0899514779, 0.2940514982, 0.3620370328, 0.232667774, 0.3213199675, 0.7183819413, 0.6643388271, 0.042676948, 0.3907170296, -0.4486183226, -0.3637382984, -0.3242968619, -0.8954796791, -0.43106547, -0.0953732803, -0.2842013836, -0.1551722735, 0.1813727915, 0.5759376884, 1.0391631126, -0.3113004565, -0.2722085118, -0.5114617944, 0.2330416441, -0.1945948303, -0.1668628156, 0.2842403948, 0.1778903604, -0.3665113747, 0.6820383668, 0.3091334999, -0.0293057151, -0.6940844059, -0.0297065713, -0.1594750136, -0.052456446, 0.2673349977, 0.3856508136, -0.5013016462, 0.2757895291, -0.3107486963, 0.2532736063, 0.1290400475, 1.0251033306, -1.0360844135, 0.027967317, 0.1905064285, 0.5404155254, 0.8254817128, 0.4338944256, 0.5784131289, -0.9122244716, 0.3756859303, 0.7472795844, 0.2579280138, 0.3668861687, -0.2405087054, 0.4864060879, 0.3697273731, -0.6564253569, -0.9118521214, 0.4135338962, -0.5149020553, -0.6499630213, 0.6271520257, -0.472268641, -0.8409845829, 0.1664938331, -0.0892370269, 0.1555133462, -0.1986582726, 0.2972271144, 0.1379168481, -0.1466863602, -0.1682366133, -0.2973930836, 0.347350806, 0.6478691101, -0.6418082714, 0.1762992144, 0.5554593205, 0.1733459383, -0.176035583, 0.8851436377, -0.0677768737, 0.1600276977, -0.0897259414, -0.0911854804, -0.4311719239, -0.9596713781, -0.4950197935, 0.5490194559, 0.1340744197, -0.1697764099 ]
http://arxiv.org/abs/2402.05403v2
http://arxiv.org/pdf/2402.05403v2
In-Context Principle Learning from Mistakes
2024-02-08T04:42:29
2024-02-09T19:09:52
Tianjun Zhang, Aman Madaan, Luyu Gao, Steven Zheng, Swaroop Mishra, Yiming Yang, Niket Tandon, Uri Alon
cs.CL
cs.CL, cs.AI
In-context learning (ICL, also known as few-shot prompting) has been the standard method of adapting LLMs to downstream tasks, by learning from a few input-output examples. Nonetheless, all ICL-based approaches only learn from correct input-output pairs. In this paper, we revisit this paradigm, by learning more from the few given input-output examples. We introduce Learning Principles (LEAP): First, we intentionally induce the model to make mistakes on these few examples; then we reflect on these mistakes, and learn explicit task-specific "principles" from them, which help solve similar problems and avoid common mistakes; finally, we prompt the model to answer unseen test questions using the original few-shot examples and these learned general principles. We evaluate LEAP on a wide range of benchmarks, including multi-hop question answering (Hotpot QA), textual QA (DROP), Big-Bench Hard reasoning, and math problems (GSM8K and MATH); in all these benchmarks, LEAP improves the strongest available LLMs such as GPT-3.5-turbo, GPT-4, GPT-4 turbo and Claude-2.1. For example, LEAP improves over the standard few-shot prompting using GPT-4 by 7.5% in DROP, and by 3.3% in HotpotQA. Importantly, LEAP does not require any more input or examples than the standard few-shot prompting settings.
[ -0.2993250191, -0.6419741511, 0.6503175497, 0.0420622304, -0.1116413474, -0.037444111, 0.0104854424, -0.1808998138, -0.5714033842, 0.2823924124, -0.6829150319, -0.3499571085, -0.4666883349, 0.0286871307, -0.1411796659, 1.239110589, -0.0972410142, 0.2302378267, -0.0959730148, 0.0616314523, -0.5775479674, -0.3001728654, -0.6625378728, -0.3666549027, 0.3938215971, 0.941595912, 0.0143081136, 0.2453438789, 0.5244627595, 0.0746838152, -0.1551837921, 0.3930278718, -0.7178243399, -0.4198508859, 0.0626297891, -0.656920135, 0.0567755699, 0.0158952661, 0.5821629167, 0.5896776915, -0.1294523031, -0.0324369408, 0.695293963, 0.7697940469, -0.7665173411, 0.2040343881, -0.6638895273, 0.189446643, -0.0143589806, -0.3157227933, -0.6800161004, -0.3317068815, -0.0534031168, -0.6635299921, 0.1237009317, -0.253271848, 0.6971212029, 0.2703651786, -0.4851892591, -0.346698463, -0.7474367023, 0.8737257123, -0.7629060745, 0.4334653914, 0.3788497746, 0.3588021696, -0.2787896097, -0.6546114683, -0.3474647403, -0.0075893034, 0.0278031882, 0.2235243022, 0.152804479, 0.0146032823, 0.4348789155, -0.1322872788, -0.0890915468, -0.0915594473, -0.4439966977, 0.0399976186, 0.5078414679, 0.2004719526, -0.1060050428, 0.0771852061, -0.577991128, -0.2914829552, -1.3194646835, 0.6011888385, -0.1244743913, 0.6060554385, -0.1754183471, 0.0829233676, 0.0090525867, 0.699645102, 0.414211154, -0.4243911803, 0.0486210994, -0.3707452118, -0.2862889767, -0.1448555142, 0.1668103337, 0.1537898481, 0.0854370072, 0.0833897367, -0.0857821181, -0.4962666631, 0.2293337882, -0.5785241723, -0.201269567, -0.1326528937, -0.2183553278, 0.0529707745, 0.1059753299, -0.4732030034, -0.3044668734, -0.2156479508, 0.6064474583, -0.7658948302, 0.1461783946, 0.0237415228, -0.0591498613, 0.7291361094, 0.7361454964, -0.810049355, 0.5018962622, 0.8843450546, 0.8197805285, -0.1842670143, -0.5373861194, -0.8604417443, 0.0436486751, -0.6412587166, 0.7266810536, -0.1341002434, -0.5701056719, 0.0013425335, -0.3656802177, -0.3498846292, -0.6282126904, 0.3828071654, -0.4657144845, 0.0382857174, -0.5099636316, -0.8220959306, -0.4076721072, 0.4105372429, -0.2005913854, 0.7887195945, -0.0823784471, -0.5432785153, 0.8097377419, -0.9530958533, -0.2784883678, -0.1816989183, -0.1836043894, -0.1321953833, 0.1289027333, 0.0944385603, 0.444617331, -0.09125413, -0.2037639469, -0.1746546477, -0.5158536434, -0.0125268642, -0.3548199832, 0.8176204562, 0.0645264909, -0.3568772674, -0.2361360639, -0.7202242613, 0.1907058954, -0.0068759704, -0.6661435962, -0.3373064101, 0.0812865347, -0.2622704208, 0.386122793, -0.3919942081, -0.2698821127, 0.1562125683, -0.4755023718, 0.2446935177, 0.7596483827, 0.4055436552, 0.4356358647, -0.4238899052, 0.2865640819, 0.4365134239, 0.1733285785, -0.4539206028, -0.3760511875, -0.7138559818, -0.1693640798, -0.1079541445, 0.6547842026, -0.6075353622, -0.0367674232, 0.1678162664, -0.2847653329, -0.1047950834, 0.6724168658, 0.5584293008, 0.8925559521, 0.4778575897, -0.1235024408, -0.2411863804, -0.4505858719, -0.4698259532, -0.5125694871, 0.146018073, 0.2430110276, 0.4104686081, 0.127752468, 0.932456255, -0.4121854305, -0.195454061, -0.2299549133, 0.1339982003, 0.2344955206, 0.393321991, 0.3630928695, -0.8082085252, -0.5546337962, -0.155259639, -0.7002468109, 0.269174546, -0.071069099, 0.0865033418, 0.0648877174, 0.4960295856, -0.5272287726, 0.4627366662, 0.1765679121, -0.1816043705, 0.3443019092, -0.0351882502, -0.0088025304, -1.1611047983, -0.5727795362, 0.1526005268, -0.028466301, -0.6997920871, 0.2389953732, 0.397051096, 0.2055469453, -1.0532220602, 0.6065787673, -0.2706020772, 0.0456270613, -0.1476104707, -0.235066399, 0.05325583, 0.4471398294, -0.1195519492, 0.720641017, 0.4526124895, -1.0046371222, -0.059742894, 0.2124643624, -0.2013727576, 0.4022729695, -0.479072094, 0.4291715026, -0.0873857811, 0.1675370336, -1.2336007357, -0.0193510167, 0.2098563761, -0.2536099553, 0.5191485286, -0.2840465605, -0.3355739415, -0.1280783266, -0.3918587267, 0.2212379873, 0.6269740462, -0.9123553038, 0.2940436602, -0.2118659616, 0.1006539986, -0.7995418906, -0.6773860455, -0.1725753397, -0.2441495061, -0.2653108835, 0.0891366974, -0.282802999, -0.3641645908, -0.1829249263, -0.0942271948, -0.1585318297, 0.2405697256, 0.1706368029, 0.1377345622, -0.2870821953, 0.2161293179, -0.1874928027, 0.0458483584, -0.1143608615, -0.2676043212, 0.1316961646, -0.3168449402, -0.5252187252, -0.3066275716, 0.067079708, 0.3761115074, 0.227726832, 0.2460263073, 0.2071734369, -0.436522454, -0.3142067492, -0.2704848051, -0.5828375816, -0.4363258481, 0.3227104843, -0.4858374894, -0.6892876029, 0.1160017774, -0.2791414559, 0.5266088843, 0.1812283099, 0.1758149266, -0.6634916663, 0.7264120579, 1.0460640192, -0.1877703518, 0.3463931978, -0.4964819551, 0.2163497508, -0.855409503, 0.0846156627, -0.210380435, -0.3132174015, -0.4182515144, -0.493303895, 0.6078965068, 0.5125043392, -0.4758316576, 0.1735729724, 0.0044703283, 0.5041363835, 0.7545278668, 0.2257098705, 0.2590205669, -0.0349789262, -0.4006382525, -0.2379348576, -0.9231019616, -0.4691272974, 1.2029515505, 0.2105645239, 0.9402537346, 0.160703361, 1.1877789497, 0.0415999293, 0.3670318723, -0.908003211, 0.4623724222, 0.108618021, -0.5981156826, -0.2785659134, -0.1239735857, -0.6931817532, 0.1913221031, -0.0522800721, -0.7113247514, 0.293335557, 0.542951405, -0.6972080469, 0.4172329307, -0.7111579776, 0.5189276934, -0.2284237295, -0.4878210723, -0.1680922359, -0.6984542608, 0.6865937114, -0.1345856041, 0.0484659299, 0.1846199334, -0.1150053442, 0.4041451216, -0.2879346311, 1.2594803572, -0.2765921056, 0.0861708373, 0.5521970987, 0.1504064202, 0.652623117, 0.0132991709, 0.0923787355, -0.0081639504, -0.1969937831, -0.3690666258, -0.7799808383, 0.4363669753, -0.7871306539, -0.5535444021, -0.4055575728, -0.4791854322, -0.5094012618, 0.0221398398, 0.4685724974, 0.3745696247, -0.2351119816, 0.2442650199, 0.7250589728, 0.0794822127, 0.8394749761, 0.5395805836, 0.0054734545, -0.3013528883, 0.4925610125, 0.0616085492, 0.4297662973, 0.5020938516, 0.3326386511, -0.3561169803, -0.4988970459, -0.4709329903, 0.0911086872, -1.0590517521, -0.3390959203, -0.541364789, -0.2214263231, -0.2650631666, -0.3480420411, -0.3290489018, -0.1137818098, -0.3259126842, -0.1305188686, 0.2454783469, 0.6986857057, -0.2187469155, 0.2912181318, -0.942011416, 0.2161422223, 0.7379363179, -0.1393616647, -0.1514585763, -0.7744669318, -0.2261228412, -0.0024882881, -0.7227424979, -0.7194676995, 0.1806177199, 0.3903403282, 0.5846123695, 0.6600081921, -0.0225481074, 0.8960441947, -0.6627439857, 0.861910522, 0.2852315009, -0.8226009011, 0.6075341105, -0.0211734977, 0.2931157053, 0.6704908013, 0.5092752576, -0.4621027112, -0.081661962, -0.7469086647, -0.4753454328, 0.6727656722, -0.0586668849, 0.1746672988, 0.1549854279, 0.5292016864, 0.1708602607, 0.1556595266, -0.7277511358, -0.1693460196, -0.027950719, -0.1038919911, -0.1956786215, -0.0040777973, -0.3057180643, -0.2640002966, 0.6530123949, -0.5404379368, 0.208918035, 0.158433497, -0.3075808287, -0.1042617857, 0.275852561, 0.8009693027, 0.9786234498, -0.0592589416, 0.224024415, 0.5213149786, -0.2857404649, 0.4290006161, -0.1954491735, -0.5377194881, -0.2503601313, 0.4317803085, 0.7106907368, 0.4727389216, -0.4176479578, 0.3778153658, 0.1698653996, -0.1975280941, 0.0030119205, 0.3898006976, -0.0129936198, 0.3694993258, 0.6442760229, 0.2249596864, 0.1267492473, -0.6298912168, 0.5209213495, 0.3031279445, -0.5006092787, -0.3422637284, 0.427682668, -0.0358138606, -0.2941710651, 0.4733465314, -0.1464136243, -0.2517279983, 0.6109780073, 0.8842145205, 0.8681789637, -0.0843459219, 0.3043807149, 0.4371044934, 0.3360468745, -0.2188711911, 0.229224667, -0.2105356753, -0.9374032617, -0.361320287, -0.1730042994, -0.7637120485, 0.1379751414, -0.5666640997, 0.4779800475, -0.8507271409, 0.2656746805, -0.2880802155, 0.0481016934, -0.6886022091, 0.2990354002, 0.0573839433, 0.9657781124, -0.8495194912, 0.7446849346, 0.8239664435, -0.4185532033, -1.0501623154, 0.3900848627, 0.4412516057, -1.09651649, 0.9272481799, -0.0935748219, -0.0377192497, 0.0658235922, -0.8762010932, -0.8535820842, 0.9546625614, 0.236638397, -0.4975531101, 0.0424467362, -0.1894965917, 0.1256211996, -0.498542726, 0.1894777119, 0.3301460147, 0.1900374293, 0.2320796251, -0.6621930003, -0.2411162406, 0.0419588238, -0.175139308, 0.061991334, -0.8062246442, 0.8990398049, -0.7589181066, 0.0421872474, -0.1840045303, 0.475599587, 0.7960485816, 0.7148500085, 0.5309853554, 0.3816278577, 0.7521027923, 0.0263560321, 0.9389542341, -0.0157228857, 0.3504606783, 1.3137953281, -0.4542749524, 1.1187292337, 0.7066624165, -0.2372618616, 0.4176729918, 0.8626016378, 0.4128813446, 0.7850822806, -0.0314059593, -0.1306868792, -0.0956975073, 0.4149046242, -0.1245061979, 0.4227065444, 0.4207927585, -0.0491743162, -0.5087419748, 0.1329360604, -0.0094023012, -0.0519955866, -0.4002600312, 0.9874369502, 0.376065284, -0.5649681687, 0.7111532092, -0.3225926459, 0.5974763632, -0.5811591148, -0.4368655086, -0.4684553742, 0.3285061121, 0.0072781527, -0.6643276215, 0.0167270936, -0.0365362912, -0.2741409242, -0.1662795395, 0.8254188299, -0.1347578764, -0.4720849097, 0.0615540296, 0.6371570826, 0.2658049762, 0.1539678723, -0.7775577307, -0.3928276002, -0.0810569301, -0.0839356706, 0.3359102309, 0.329672277, 0.0234653167, 0.649099648, 0.4434279203, 0.1008614674, 0.2792259753, -0.2453313023, 0.6839871407, -0.925183475, -0.5555300117, -0.7883332968, 0.5687378645, 0.0989461914, -0.5189896822, 0.7410511971, 0.2899205387, 1.1730048656, -0.0130215995, 0.9011102915, 0.2124910951, 0.484898299, -0.7913021445, 0.2637675405, -0.5494688749, 0.1898100674, -0.3618262708, -0.8372365236, -0.3815076053, 0.5436202288, -0.1839349568, 0.0557592101, 0.8419163823, 0.6630376577, -0.138528198, -0.1876754463, 0.6786990762, 0.0210027043, 0.3549274206, 0.865406394, 1.0082837343, -0.7132148147, 0.4691501558, -0.3538737893, -0.0398560874, -0.4326266944, -0.9589955807, -0.6228263378, -0.5178239346, -0.417442888, -0.4116123617, 0.1438604295, 1.1470764875, 0.9411344528, -0.7386514544, -0.283706218, -0.3197495341, 0.3975409567, -0.6662749052, -0.2041798383, 0.1376633495, -0.7751379609, -0.575050354, 0.6702086926, 0.3972952366, 0.2178888321, 0.1146610901, -0.5352295637, -0.1552202553, 0.058002159, 0.7197086215, 0.6488207579, -0.6819614768, -0.345526576, 0.1535624266, -0.0485249497, 0.4042761624, 1.0131499767, -0.6728002429, 0.285451889, 0.4212502837, 0.912940681, 0.3891229033, -0.0653784871, 0.3343955278, -0.7332028747, 0.0872869045, 0.2818048894, 0.3012515306, 0.2271509171, -0.3736044466, 0.5249295235, 0.3050304651, -0.3361191154, -0.6502610445, 0.2427108586, -0.5396538377, -0.1370090842, 1.3078039885, -0.2892689705, -0.2130676508, -0.1368853152, -0.1256876439, -0.0034479396, -0.2425707877, 0.7615998983, 0.6803911924, -0.6568672657, -0.4741000831, -0.4809882939, 0.64037323, 0.6079984903, -0.8123998046, -0.2088303119, 0.4448885918, 0.4343607128, -0.0319576636, 0.7444119453, -0.0636714399, 0.5659339428, -0.233597219, -0.053970553, 0.2390766889, -0.6141913533, -0.6201997399, 0.1246210113, 0.4291238487, -0.530872941 ]
http://arxiv.org/abs/2402.10941v1
http://arxiv.org/pdf/2402.10941v1
Text2Data: Low-Resource Data Generation with Textual Control
2024-02-08T03:41:39
2024-02-08T03:41:39
Shiyu Wang, Yihao Feng, Tian Lan, Ning Yu, Yu Bai, Ran Xu, Huan Wang, Caiming Xiong, Silvio Savarese
cs.CL
cs.CL, cs.AI, cs.LG
Natural language serves as a common and straightforward control signal for humans to interact seamlessly with machines. Recognizing the importance of this interface, the machine learning community is investing considerable effort in generating data that is semantically coherent with textual instructions. While strides have been made in text-to-data generation spanning image editing, audio synthesis, video creation, and beyond, low-resource areas characterized by expensive annotations or complex data structures, such as molecules, motion dynamics, and time series, often lack textual labels. This deficiency impedes supervised learning, thereby constraining the application of advanced generative models for text-to-data tasks. In response to these challenges in the low-resource scenario, we propose Text2Data, a novel approach that utilizes unlabeled data to understand the underlying data distribution through an unsupervised diffusion model. Subsequently, it undergoes controllable finetuning via a novel constraint optimization-based learning objective that ensures controllability and effectively counteracts catastrophic forgetting. Comprehensive experiments demonstrate that Text2Data is able to achieve enhanced performance regarding controllability across various modalities, including molecules, motions and time series, when compared to existing baselines.
[ -0.0059054275, -1.0253460407, 0.4816377759, 0.1154038534, -0.119074069, 0.1458075345, -0.3889507949, -0.1693235487, -0.0783824176, 0.6188211441, -0.6122559905, -0.5571326613, -0.5938119888, -0.1188969687, -0.375399828, 1.3400011063, -0.358084172, -0.2518206239, -0.4415992796, -0.1114775091, -0.3997571468, -0.266741097, -0.5692195296, -0.515062809, 0.3108962774, 0.6185020208, 0.693208158, 0.7361122966, 0.306830883, 0.1731441468, 0.0148982108, 0.5136111975, -0.6928700209, 0.0881692618, -0.2744330764, -0.4038516283, -0.0618718751, 0.021321794, 0.3794074655, 0.751578927, -0.1042382345, 0.1238935292, 0.4252981842, 0.9070237279, -0.5357013941, 0.1371431649, -0.5195691586, 0.1967843622, -0.2827723324, -0.2391642034, -0.380114913, -0.2545206547, 0.0785420612, -0.9348556995, 0.3010934591, -0.1957564652, 0.5780798197, 0.7865228653, -0.4415305257, -0.6873244047, -0.8942511678, 0.8116660714, -0.0685205162, 0.0802409798, 0.7858651876, 0.0553521588, -0.1274473816, -0.8170223236, -0.4955914915, 0.3242293596, -0.151883781, 0.2176020443, -0.3181357086, -0.2312831879, 0.0086364849, -0.1563325077, -0.5408393145, 0.2385532409, -0.346198678, -0.1870934367, 0.4278052151, 0.1806046218, 0.1923323125, -0.360050261, -0.3974742293, -0.0185322203, -0.2505359948, -0.1298433542, 0.3193308115, 0.3149672747, -0.3900598288, 0.8191118836, -0.1353946775, 0.2962340713, -0.0759895742, 0.0875008181, 0.05555382, -0.4439596832, -0.2115450203, 0.1676597446, 0.9620838165, 0.4617418051, 0.0996105522, -0.3304314911, -0.0797078088, 0.1129580215, 0.2079254538, -0.975320816, -0.5295687318, 0.1960763037, -0.4684614539, -0.4097294807, -0.2044368684, -1.1879749298, -0.5142251849, -0.5218582153, 0.2389771938, -0.5119558573, -0.0393884592, -0.0276986565, -0.0923505798, -0.2663936317, 0.2621333301, -1.1588730812, 0.4152704179, 0.4088581204, 1.0752655268, -0.5035685897, 0.2286062986, -0.2856272161, 0.4843826294, -0.4912996292, 0.5846212506, -0.4428122938, -0.5640097857, -0.2255422324, -0.2410097867, 0.1618245989, -0.5922372937, 0.3227027953, -0.27018255, 0.3046858907, 0.0529768355, -0.5364884734, 0.0213781893, -0.2079719007, -0.7569076419, 1.2294561863, 0.2654133737, -0.8216384649, 0.3110810518, -0.7439119816, -0.5494921207, -0.0975496769, -0.3326816261, -0.8014245629, -0.1394632012, -0.0999706537, 0.378110379, -0.4656048715, 0.4719449878, 0.0903563574, -0.0874539763, 0.200012207, -0.8152167201, 0.4162477553, 0.2827650905, -0.3278649747, -0.2714999914, -0.9251900315, 0.1017127335, 0.1505334377, -0.658970654, -0.4825574756, 0.2828625143, 0.5838366747, -0.0649367869, 0.252833426, -0.3486184478, 0.1919442415, -0.205161348, 0.4724540114, 0.57417804, 0.197938785, 0.776606977, -0.089715071, 0.2898695767, -0.0210568011, -0.2433716655, -0.034370359, -0.3282139003, -0.6023032665, -0.0055819494, 0.2951368093, 0.7301350832, -1.0621051788, 0.2301037461, -0.0823397115, -0.2930410504, -0.4602024257, 0.5315788388, 0.4027303159, 0.6577576399, 0.7250188589, 0.0874008536, -0.5398342013, -0.754922986, 0.1644537449, 0.1618659496, -0.4005931914, 0.2954964638, 0.457220912, -0.6308247447, 1.1422919035, -0.7100455761, -0.4825854599, -0.1283259392, 0.5890719295, -0.2879844606, 0.7818425298, 0.4842431247, -0.9006146789, -0.1432521492, 0.0900285691, -0.8411743045, -0.2234565914, -0.4330061674, -0.4252498448, 0.5534049273, 0.543376863, -0.4066362381, 0.3219011128, 0.581806004, -0.4353622496, -0.0625831261, -0.4649263322, -0.2537728548, -1.24264884, 0.257345438, 0.0610303693, -0.0533525459, -0.4349244237, -0.6530359387, 0.0461552553, -0.0876962766, -0.170440197, 0.4585908055, -0.2348388433, 0.1558234841, -0.14829579, -0.0652768537, -0.0699825436, 0.4810538888, 0.1957517117, 0.7145810723, 0.1746790111, -0.6857218742, 0.1668243557, 0.5085223317, -0.2989042401, 0.5006257296, -0.5032795668, 0.0130346445, -0.4389382899, -0.0581626669, -0.8309531212, -0.5450386405, 0.17866759, -0.4682915807, 0.3325247467, 0.0192101449, -0.5720143318, -0.0572251789, -0.1054826453, 0.3835496306, 0.6928526759, -0.449927628, 0.2795459032, 0.5154665112, -0.196057573, -0.0801423714, -1.0616083145, 0.0053819814, -0.0570324622, -0.0218534544, 0.3305360079, -0.0954004377, -0.1426720619, 0.1809921116, 0.0800193623, -0.4673910737, 0.0526809618, 0.3942635953, 0.1604029536, 0.3079832196, 0.4319206178, 0.6937604547, -0.3583320677, -0.001557594, -0.4759278595, 0.3425925672, 0.6507849097, 0.0980902612, -0.7131379247, 0.4446534216, 0.1819689572, 0.0688408315, 0.4957707226, 0.5271565914, -0.4456776381, -0.5363382101, 0.2843651474, 0.0408486873, -0.4892601371, 0.428039521, -0.0181055684, -0.6641884446, -0.0532760285, -0.3159009516, 0.005274171, 0.4388783872, 0.6301804781, -0.5860521793, 0.685041666, 0.6749975681, 0.2382998019, 0.3258737922, -0.4707969129, -0.2616892755, -0.4148724377, -0.6102275848, -0.43907547, -0.5789557695, -0.7116773129, -0.6585915685, 0.2133561671, 0.3202748895, -0.338040024, 0.0983695686, -0.7112674713, 0.4294787943, 0.4760533869, 0.2053486407, 0.2398579717, 0.1893005669, -0.0180130154, -0.3318185508, -0.5934523344, -0.7250791192, 1.2374734879, 0.1205440536, 0.941486001, 0.1721412987, 0.4461978674, 0.6076015234, 0.0001166931, -0.702262044, 0.2454679608, -0.4754746854, -0.1876434684, -0.2849212587, -0.6576138735, -1.0030919313, -0.2226994932, -0.4079099894, -0.4953995943, -0.0404050462, 0.3253912032, -0.1738924235, 0.2043931633, -0.9370345473, 0.6831365228, -0.120600991, -0.5531184673, 0.0971404612, -0.5506907701, 0.1770341992, -0.4176297486, 0.1738982201, -0.0625049397, -0.3580028713, 1.0825712681, -0.4861973524, 1.0211932659, -0.2110405564, -0.1664911658, 0.5308627486, 0.2009476423, 0.5535109043, 0.1634436697, 0.0781709924, -0.0448523089, -0.2865860462, -0.4016658962, -0.3251783848, 0.6324243546, -0.7192900181, 0.294623673, -0.0246798005, -0.5909194946, -0.1826175302, 0.2172391117, 0.6012809277, 0.3549838662, -0.1730275154, 0.2615713775, 0.8634076715, -0.3277884722, 0.7378123403, 0.2196121663, 0.1620985866, -0.4448308647, 1.1127202511, 0.2992798388, 0.2603141963, 0.6625034213, -0.0853008181, -0.332868576, -0.4531583786, -0.6151232123, -0.1138843, -0.2317428589, -0.3541888297, -0.7450333834, 0.0208788458, -0.0161807016, -0.268402338, -0.5106822252, -0.5489399433, -0.8416448832, -0.3080219626, 0.6404179335, 0.7358358502, -0.0504481159, 0.4782994092, -0.5407995582, 0.6321194172, 0.1634504795, 0.4348037839, -0.2038241923, -0.0816617385, -0.303016603, 0.1462379992, -0.4651933014, -0.60568887, 0.2403960973, 0.2187360674, -0.0572522841, 0.2351698875, 0.2494765073, 0.1888578534, -0.6019729972, 0.5755851269, 0.3139454424, -0.8181931973, 0.7961518764, -0.3264818788, 0.2917335629, 0.4868090451, 0.3823289275, -0.2967653275, -0.3171673417, -0.298689276, -0.961594224, 0.705570519, 0.4989055991, 0.2363255769, 0.2302371114, 0.3617174923, 0.2715167701, 0.2228168845, -0.3829281032, -0.1594453007, -0.3991588354, -0.7750324011, -0.0699291378, -0.3157590926, -0.0885933191, 0.068129912, 0.3181132078, -0.2638167143, 0.2270504236, 0.1131787971, 0.0283805709, -0.1264151484, 0.1610614657, 0.4525488019, 0.0912714303, 0.0699869916, 0.2821604311, -0.1087380648, -0.778598249, 0.2712439001, 0.1527315527, -0.6448557377, 0.0369622074, 0.341160059, 0.8916749358, 0.1556248814, -0.7737372518, 0.2061205506, 0.135361895, -0.5384495854, -0.0106377788, 0.0670756474, 0.0017196655, 0.0569072701, 0.2679658234, 0.2430484146, 0.0494568832, -0.1533611864, 0.4740225673, 0.1222076043, -0.4917092621, -0.3158613443, 1.2261086702, 0.3377535939, 0.1120354384, 0.4967452288, -0.2528522313, 0.047805883, 0.5910809636, 0.4560608566, 0.4841367304, 0.018120043, 0.5302813053, 0.2565762997, 0.3016526997, -0.055326432, 0.3520604074, -0.1736724824, -0.5602846742, -0.1018574759, -0.6478487253, -0.166148603, 0.0091392063, -0.662364006, 0.0781028345, -0.6649103165, -0.1812673807, 0.1186728105, -0.0296307039, -0.4254671335, 0.3326289058, -0.1703229547, 0.7065951824, -0.7390323281, 0.8620084524, 0.3143886924, -0.3331047595, -0.4515752792, -0.0042148572, 0.1966632307, -0.451243192, 0.5828925967, 0.1120657474, 0.0371814296, 0.1867101789, -0.5962093472, -0.4714886844, 1.2113940716, 0.2578136027, -0.5600748062, -0.0592029281, 0.3065913022, 0.4978834987, 0.1076110378, -0.2947508693, 0.7041969299, 0.5966659188, 0.2215398103, -0.451787442, -0.1554154605, -0.1389537752, 0.1138773486, 0.4815019071, -0.4722511172, 0.6560714841, -0.3577666283, -0.4266999364, 0.0575796962, 0.6135337353, -0.1037265509, 0.4770605266, 0.0145268161, 0.6484952569, 0.926573813, -0.2951555848, 0.8715099692, 0.1045879722, 0.4416409433, 1.2608525753, -0.0968351513, 0.7703954577, 0.5115541816, -0.1311833709, 0.2089213431, 0.5284199119, -0.0837991685, 0.8532461524, 0.0302757286, -0.2606363595, 0.1439626068, -0.3595955372, 0.0341226198, 0.4256352484, 0.4119408727, -0.2715703547, -0.2143951952, 0.3404553831, 0.2494119257, 0.5493015051, -0.2923718095, 0.9951343536, -0.2699804008, -0.198478967, 0.4783915579, 0.1711423397, 0.7972887754, -0.4819529057, -0.0992185771, -0.2392736524, 0.1876955032, -0.2849809527, -0.9593293667, 0.5225296021, 0.4513984025, -0.5807976127, -0.5012630224, 0.3491683006, -0.7976347804, -0.5146983862, 0.2342359573, 0.1742211878, -0.0314535201, 0.3662467599, -0.413902998, -0.0786491856, 0.149981454, -0.1959726363, 0.1203342453, 0.6477479339, -0.184812218, 0.5992546082, 0.5296326876, 0.0676194951, -0.1611087471, -0.2695243359, 0.7013985515, -0.6124031544, -0.429643929, -0.6021651626, 0.3314548135, 0.0053610308, -0.3119950891, 0.2762152553, 0.9107361436, 0.7798178196, 0.1287661046, 1.182074666, -0.1994374543, 0.5875205994, -1.0323597193, 1.0378929377, -0.4363265932, 0.0050126771, 0.0447409824, -0.4883479476, -0.13386783, 0.2159622014, 0.0685169548, -0.2156963944, 0.5359630585, 0.6568613052, 0.0630490258, -0.160771668, 0.007612329, 0.1486623585, 0.2966310978, 0.8360228539, 0.3021349013, -0.3660265505, 0.7061659694, -0.1066480353, -0.1831929088, 0.0870017111, -0.6102361679, -0.8198618293, -0.7546194196, -0.1793902069, -0.2576238215, -0.1799746007, 0.7733576894, 0.4682728648, -0.7178543806, 0.0675103143, -0.638278842, -0.0097313533, 0.2155907303, -0.2319189757, 0.5458136201, -0.1963287294, -0.9356200099, 0.2627918124, 0.2106041908, 0.804304719, -0.0154262763, -0.2798483074, 0.0778557882, 0.0345550478, 0.5602377653, 0.3061995804, -0.226819545, 0.1692630202, -0.3417018652, -0.531229198, -0.1770366877, 0.9131937027, -0.9116766453, 0.4260402918, 0.2105289102, 0.9940098524, 0.4762214422, 0.1117536724, 0.4379389882, -1.0134660006, 0.4497818053, 0.1271770447, -0.2828364372, 0.2913507223, -0.4656071663, 0.5677865148, 0.2944340408, -0.2894429564, -0.5404298902, 0.0155410403, -1.0172725916, -0.5656807423, 1.0556879044, 0.3553077579, -0.0205659941, -0.0260138791, -0.4559198916, 0.3979387283, -0.5848569274, 0.7068448663, 0.3374387026, -0.1609178483, -0.0573718697, -0.8325484991, 0.9833629131, 0.1985187531, -1.183844924, 0.3614446521, 0.7631636262, 0.0226225629, -0.159461081, 0.6808073521, 0.0851183087, -0.0472221039, -0.091661483, -0.084201619, -0.0943013281, -0.4395003319, -0.0693367198, 0.2189401984, -0.5559552312, -0.3527428806 ]
http://arxiv.org/abs/2402.05376v1
http://arxiv.org/pdf/2402.05376v1
Zero-Shot Chain-of-Thought Reasoning Guided by Evolutionary Algorithms in Large Language Models
2024-02-08T03:17:38
2024-02-08T03:17:38
Feihu Jin, Yifan Liu, Ying Tan
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable performance across diverse tasks and exhibited impressive reasoning abilities by applying zero-shot Chain-of-Thought (CoT) prompting. However, due to the evolving nature of sentence prefixes during the pre-training phase, existing zero-shot CoT prompting methods that employ identical CoT prompting across all task instances may not be optimal. In this paper, we introduce a novel zero-shot prompting method that leverages evolutionary algorithms to generate diverse promptings for LLMs dynamically. Our approach involves initializing two CoT promptings, performing evolutionary operations based on LLMs to create a varied set, and utilizing the LLMs to select a suitable CoT prompting for a given problem. Additionally, a rewriting operation, guided by the selected CoT prompting, enhances the understanding of the LLMs about the problem. Extensive experiments conducted across ten reasoning datasets demonstrate the superior performance of our proposed method compared to current zero-shot CoT prompting methods on GPT-3.5-turbo and GPT-4. Moreover, in-depth analytical experiments underscore the adaptability and effectiveness of our method in various reasoning tasks.
[ -0.3750679195, -1.1918361187, 0.9875662923, 0.052870959, -0.6201059222, 0.3155021369, -0.4133206308, -0.2125136554, 0.3581906855, 0.2761188447, -1.1340799332, -0.5225848556, -0.2927416861, 0.4376716018, -0.1706793606, 0.8095863461, -0.2187774479, -0.2765442133, 0.080352053, 0.1064349413, -0.7474064827, -0.1493625045, -0.5143876672, -0.2998046279, 0.9667211175, 0.5075325966, 0.4220618308, 0.4084843397, -0.1067263633, 0.1946705431, -0.1791380644, 0.4145745635, -0.4562711716, 0.5759757757, -0.3637940884, -0.5405162573, -0.0787741989, -0.2784669399, 0.4611323476, 0.4783007801, -0.0190047268, 0.1109504998, -0.3158195317, 0.3258190453, -1.0361795425, -0.3034267128, -1.2307816744, 0.2582234442, 0.0702987909, -0.7200784087, -0.5327994823, -0.2769666314, -0.0070469636, -0.5505799055, 0.0946581364, -0.1291272342, 0.5111835599, 0.1413200647, -0.181571722, -0.4005533457, -0.6579556465, 0.733040154, -0.5759362578, 0.2719541192, -0.0995741487, 0.110345602, -0.3613201976, -0.4109177887, -0.8589978814, -0.2661484182, 0.398341924, 0.0769752935, -0.1654027551, -0.1165413633, 0.1075332537, -0.0128325429, -0.5512972474, 0.1764178276, -0.2748369873, 0.2039633691, 0.3739026487, 0.0187754463, 0.1222887412, 0.1966599524, -0.4056500494, 0.0154333077, -0.9869265556, -0.1310760528, 0.1781616062, 0.4018276036, 0.0726396963, 0.3879030347, -0.3797189891, 0.8716052771, 0.1991884559, 0.2028649151, 0.1776207536, -0.0541591644, -0.3167335987, 0.3269212544, 0.8028715849, 0.1851970106, 0.5277011991, -0.1902554333, -0.0759804994, 0.0547527373, 0.2692801654, -0.4348726869, -0.0045156083, 0.2228491008, 0.0606046431, -0.6261136532, -0.3331768811, -0.971767962, -0.2111315727, -0.1889195591, 0.6151069403, -0.4854371548, 0.0050326185, 0.3373527825, -0.1259153932, 0.3987673521, 0.3785172105, -1.0200493336, -0.2279926986, 0.4918608665, 0.9148749113, 0.1646036059, -0.4974059463, -0.6743537784, 0.2710770667, -0.4810240567, 1.0684672594, -0.7524783611, -0.3563527465, -0.0248991642, -0.3317851722, -0.0642094687, -0.1425186098, 0.2707862556, -0.4210755229, 0.1931513995, -0.3082478344, -0.3348810971, -0.0993314907, 0.6113269925, -0.1118936911, 0.8348699808, -0.0887057707, -0.3816580176, 0.5540087223, -0.6711378098, -0.3770726919, 0.3219969869, -0.5107277036, -0.1973582804, 0.3055018485, 0.7067913413, 0.2700163126, -0.2435630709, 0.2114095241, -0.4170591831, -0.4355778098, 0.0252664369, -0.5160797834, 0.7605468035, 0.1277307421, -0.5714930892, 0.2036585361, -0.3904926777, 0.3391978443, 0.4197898209, 0.1290555447, -0.1130846292, -0.0825775862, -0.9295012355, 0.1469199806, 0.0738186911, -0.5193414092, 0.6631787419, -0.3231650889, 0.5575858355, 0.8669225574, 0.375297457, 0.1099708155, -0.2598757148, 0.6871033311, -0.1162078232, 0.1931373179, -0.4825542569, -0.6222252846, -0.7016612291, -0.0386140421, -0.0384974964, 0.5654924512, -1.0160793066, 0.5737022758, -0.1576377898, -0.4743866324, -0.3105748594, 0.0609259903, 0.2813765705, 0.379306823, 0.4293515086, -0.0440838076, -0.3634977043, -0.3929169178, -0.2802172005, -0.2005137056, 0.0823120773, 0.230949387, 0.4255622327, -0.0642185956, 0.9031838179, -0.705119729, 0.4212887883, -0.4237430096, 0.4276241362, 0.2231715173, 0.1318911165, 0.5642362237, -0.1236558631, -0.1677633971, -0.1170340776, -0.7356073856, -0.4124805033, -0.6578552127, -0.4585161209, -0.1250498146, 0.5006933808, -0.6988745332, 0.3121041656, 0.2486542761, -0.1907574683, 0.8583325148, -0.2347731143, 0.0094229868, -0.8122114539, -0.0785797462, -0.3045427501, -0.0034481729, -0.6300349236, 0.2422769666, -0.0992107466, 0.0315410122, -0.5023107529, 0.5607156157, -0.6169354916, 0.1736042202, -0.255949229, 0.294200629, -0.0552782342, 0.5690581799, 0.0241244957, 0.7205151916, 0.8184458017, -0.6947050691, 0.5510146022, 0.3554399908, -0.0857476145, 0.417699635, -0.443139255, 0.5018819571, -0.3186753094, 0.4839588106, -0.6441419125, 0.0995956659, 0.2806675434, -0.2870809734, 0.006564056, -0.0214408413, -0.2408257276, -0.6439041495, -0.568692863, 0.5729718804, 0.4940163493, -0.7338462472, 0.4007274806, -0.4411088824, -0.2520733476, -0.4097091258, -0.4796312153, 0.3934625387, -0.1027893722, -0.3505680561, 0.1825681031, -0.135864988, 0.1414889693, -0.1881325394, -0.243419826, 0.1941693872, -0.1078626513, -0.140414387, 0.5018472672, -0.2373207361, 0.0930278674, 0.3038161397, 0.0331332423, -0.062097352, -0.6362455487, 0.901037991, 0.0837737173, -0.324528724, -0.3708364666, 0.13751553, 0.5472869873, -0.3398464918, 0.5775960684, 0.1850282252, 0.0046474724, -0.6888815761, -0.5536592603, -0.3177502453, -0.5096508861, -0.1152534634, -0.428296864, -0.8928200603, 0.3115399182, -0.2304036468, 0.1081447527, 0.0272946134, 0.9161484241, 0.1042675152, 0.7684975863, 0.1076658741, 0.1681236178, 0.5897750258, -0.2473127246, 0.5587514639, -0.8693345785, -0.2557718754, -0.250382185, -0.3556248546, -0.3390795588, -0.4266376793, 0.3032864928, 0.2382685393, -0.4947154224, 0.2452711463, -0.7903160453, 0.8891454339, 0.4791338742, 0.1699903905, 0.1777504236, 0.0584165566, -0.5661455393, 0.6503041983, -0.7202399373, -0.3380975127, 0.9743475914, -0.0528943874, 0.6285431981, -0.0750959963, 1.0363599062, 0.0241201967, -0.0023277614, -0.8225993514, 0.7805400491, 0.1917078346, -0.3987663984, -0.3012550771, -0.407465905, -1.1336653233, 0.1837872863, -0.366011858, -1.0859205723, 0.2010944933, 0.1811341047, -0.8564614654, 0.4437529445, -0.5040961504, 0.4512797296, -0.4698880315, -0.2584920824, -0.0880772397, -0.564568162, 0.3999359012, -0.1544259638, -0.1248946264, -0.1735173017, -0.0633694977, 0.2096597403, -0.4544581771, 0.5970060825, -0.083245337, -0.1098684818, 0.5716771483, 0.3887646496, 0.6413726211, -0.1052207723, -0.179067418, -0.0504227765, -0.190724507, -0.371650666, -0.7763043046, 0.7057849169, -0.5296418667, -0.7637447119, -0.3789083064, -0.5317378044, -0.4926882088, 0.2725820243, 0.3815145791, 0.244505465, 0.1186717823, -0.0716201514, 0.4237350821, -0.3785623014, 0.5364460349, 0.3931316435, -0.1495580077, -0.2888749242, 0.6746198535, -0.1072568223, 0.5093784928, 0.1998631805, 0.3670477271, -0.2507429421, -0.675909698, -0.6954907179, 0.1792814881, -0.5389387012, -0.3317700922, -0.5253939033, -0.1027066559, -0.2080479115, -0.7618489861, 0.0411453433, -0.2238896042, -0.1236818135, -0.181547761, 0.5307097435, 0.6573204398, 0.2142001987, 0.216163069, -0.7389790416, 0.3898823559, 0.542996347, 0.4387231469, 0.31151703, -0.2739409506, 0.3437328637, 0.2419958264, -0.5525583029, -1.0491452217, 0.147599116, 0.0785599053, 0.5139616728, 0.4207022488, 0.1516968608, 0.8762475252, -0.7060984373, 1.0315872431, 0.473220408, -1.0470333099, 0.8876414895, -0.5779621005, 0.6431539655, 0.6170393825, 0.1349848062, -0.4749378562, -0.5773606896, -0.5635758638, -0.8652820587, 0.5553530455, 0.2749510109, 0.2472425252, -0.417911917, 0.6013368368, 0.1311647147, 0.1786420941, -0.5132191777, 0.0697708055, -0.1412301809, -0.0129665677, 0.3133452535, 0.0560324192, 0.0491260961, -0.2804507315, 0.5559999943, -0.3296751976, 0.3445772827, 0.2958989143, -0.0601702593, -0.2806374431, 0.5829370022, 0.8083465099, 0.6161177754, -0.0938480422, 0.1340332478, 0.7348341942, -0.1500122547, 0.3571543992, -0.4459042847, -0.3424012661, -0.0629499927, 0.3922556341, 1.0503971577, 0.0921030268, -0.5896405578, 0.3146114945, 0.1028819755, -0.4781785607, -0.0025786043, 0.3805257976, -0.0540571362, 0.1443042904, 0.2779029608, -0.2530302703, -0.330165416, -0.8063118458, 0.0099481065, 0.4775527716, -0.0902445093, -0.1425936967, 0.4607824385, 0.2127895057, -0.4224461913, 0.5980657339, -0.4584939778, -0.560102284, 0.4046139717, 0.7091561556, 1.1458052397, -0.2079414576, 0.4319481552, 0.1940984428, 0.1277779341, -0.0885113999, 0.4814041555, -0.3209657073, -0.8171347976, -0.6556631327, -0.5623579025, -0.5528271794, 0.1467941999, -0.347114116, 0.4914307892, -0.7495428324, 0.1017152369, 0.1210626066, -0.4430346787, -0.4545311928, 0.1410567462, 0.5293066502, 0.9854730368, -0.5460166931, 0.7309275866, 0.4749663472, -0.4043759704, -0.8718705177, 0.2952420115, 0.1650352925, -1.1807496548, 0.3380600512, 0.0487838723, -0.5508136153, 0.1073189303, -0.7560068965, -0.5211907625, 1.1689100266, 0.3540923893, -0.8731572032, -0.076674208, 0.0776476935, 0.3895926774, -0.5737456679, 0.4162780046, 0.5755594373, 0.336709857, 0.6582561135, -0.7240959406, 0.1745058894, -0.0820734277, -0.0010583011, 0.4908386469, -0.4523302913, 0.7755839229, -0.4884231389, -0.0758779943, 0.0844270289, 0.2581469715, 0.7551691532, 0.1501392573, 0.6438248754, 0.4148247838, 0.8325887322, 0.0582315736, 0.8044264913, -0.3278654814, 0.2844863534, 1.1494123936, -0.6845787168, 0.8472515345, 0.4835562408, 0.1010696143, 0.9591390491, 0.4227352738, -0.2116779834, 0.4209856093, 0.4190388918, -0.6227940321, -0.3796747923, 0.0000382268, -0.2518966198, 0.39755252, 0.1265549064, -0.1821929514, -0.5211004019, -0.1304742396, 0.1193845123, -0.2344461083, -0.4064984024, 0.8801320791, -0.0812567323, -0.9623324275, 0.963065207, -0.3172716796, 0.7029796839, -0.6095210314, 0.0467811003, -0.1054590121, -0.1110576317, -0.0563790686, -0.9723357558, 0.045921918, 0.3647799194, 0.091811277, -0.3156920969, 0.4407471418, -0.394254148, -0.5068215132, 0.2514720559, 0.5997872949, 0.0803702176, -0.0057905479, -0.5855858922, 0.0986111015, 0.0982012898, -0.1443444043, 0.0467885695, 0.6388159394, -0.2209170759, 0.678082943, 0.919737339, 0.273907423, 0.0456060357, 0.3455352187, 1.0519522429, -0.8685119152, -0.5589126945, -1.1409934759, 0.3533605933, -0.059645731, -0.4112132788, 0.3283337653, 0.1338912249, 0.5901400447, -0.019484479, 0.8182701468, 0.0660414398, 0.0343434401, -0.5725702047, 0.3847769201, -0.3380655646, 0.2392932326, -0.2291548401, -1.0393697023, -0.4343576729, 0.6766082048, -0.5750637054, 0.1047067866, 0.9406080246, 0.8024539351, 0.1052893698, 0.4095667005, 0.2612026036, 0.2132265866, 0.4276216626, 0.8504238725, 0.9246688485, 0.1534496695, 0.5231233239, 0.2264325619, -0.3104095459, -0.1065321565, -1.2352073193, -0.9419544935, -0.0813179314, -0.2622511089, -0.0391707942, 0.3913574815, 1.2755968571, 0.4800605476, -0.7503022552, 0.0993072391, -0.6733264923, -0.0343234725, -0.1853291243, -0.1684536189, 0.0688366666, -0.6528534889, -0.2835572958, 0.6039125919, 0.5633833408, -0.060471978, -0.1762119979, -0.0043661958, -0.4726656377, 0.5681192875, 0.6351496577, 0.3443649709, -0.8413303494, -0.5228231549, -0.0215453673, 0.4218320847, -0.0281436816, 0.935913682, -1.0910625458, 0.6505743265, 0.5251366496, 0.355140388, 0.5071752071, -0.1827692837, 0.7036368847, -0.7877706289, 0.1622458547, 0.4315135181, 0.3186033666, 0.0342393406, -0.374620229, 0.2446980178, 0.131510362, -0.4697521329, -0.7912271619, 0.4759913385, -0.9043012261, -0.5200825334, 1.2438184023, 0.0060345577, -0.1845402867, 0.0408389941, -0.3457198441, 0.1875934303, -0.3884228766, 0.9056251049, 0.7045431733, -0.3755888343, -0.5166284442, -0.2293480337, 0.1473099291, 0.5593938231, -0.8424599767, 0.1470757574, 0.2361983508, 0.2522299588, 0.0443404801, 0.4102594256, 0.1453385055, 0.3876207471, -0.047233887, -0.0477769822, -0.1944924444, -0.3456335366, -0.3523160517, -0.0271892324, -0.0070462865, -0.0929500759 ]
http://arxiv.org/abs/2402.05374v2
http://arxiv.org/pdf/2402.05374v2
CIC: A framework for Culturally-aware Image Captioning
2024-02-08T03:12:25
2024-05-02T02:41:50
Youngsik Yun, Jihie Kim
cs.CV
cs.CV, cs.AI, cs.CL
Image Captioning generates descriptive sentences from images using Vision-Language Pre-trained models (VLPs) such as BLIP, which has improved greatly. However, current methods lack the generation of detailed descriptive captions for the cultural elements depicted in the images, such as the traditional clothing worn by people from Asian cultural groups. In this paper, we propose a new framework, \textbf{Culturally-aware Image Captioning (CIC)}, that generates captions and describes cultural elements extracted from cultural visual elements in images representing cultures. Inspired by methods combining visual modality and Large Language Models (LLMs) through appropriate prompts, our framework (1) generates questions based on cultural categories from images, (2) extracts cultural visual elements from Visual Question Answering (VQA) using generated questions, and (3) generates culturally-aware captions using LLMs with the prompts. Our human evaluation conducted on 45 participants from 4 different cultural groups with a high understanding of the corresponding culture shows that our proposed framework generates more culturally descriptive captions when compared to the image captioning baseline based on VLPs. Our code and dataset will be made publicly available upon acceptance.
[ -0.5313779712, -0.2868075371, 0.1137837544, 0.4400894046, -0.4776964784, 0.245423615, -0.2985255718, -0.6494725347, 0.3152346611, 0.6350431442, -0.5413312316, -0.648680985, -0.0743241683, 0.4516828358, -0.1608889252, 0.6118952632, -0.1239995882, 0.1545483172, -0.3743737936, -0.1982179731, -0.2417060435, -0.3070366085, -0.2663222551, 0.3472957313, 0.3337073922, 0.8074259162, 0.5109391212, 0.6885119677, 0.7319637537, 0.266784668, 0.1567196697, 0.4005427659, -0.1999025941, -0.085663259, -0.2501772344, -0.5492215157, -0.0946917385, -0.088197805, 0.2005082369, 0.4019375145, 0.1280228198, 0.4522049129, -0.2089596391, 0.4908942878, -0.827500999, 0.1801440567, -0.5076873899, 0.2712055743, -0.0363370292, -0.5123121142, -0.3221898377, -0.1539640576, 0.0920657143, -0.6923248768, 0.2937042415, 0.3318293095, 0.7650111318, 0.1251023561, -0.4987488985, -0.3842378557, -0.5727902651, 0.5074121952, -0.3175862134, 0.150243029, 0.4311256409, 0.518445015, 0.336461097, -0.7251017094, -0.7654066086, -0.0188451502, -0.120471403, 0.4567941129, 0.2199237049, -0.3538473547, 0.1942510009, 0.494130671, -0.6165904403, 0.0789752007, -0.593351841, -0.3084767759, 0.5961765647, 0.2254534662, 0.7208203673, -0.3455971479, -0.7545145154, 0.120411694, -0.8196741939, 0.1353937089, -0.1364599466, 0.0781535953, -0.5139136314, 0.4916840196, -0.6186612248, 0.3715638518, -0.0222982671, -0.1745465994, 0.0835126415, -0.2898231745, 0.0856641456, 0.1371596456, 0.5330967903, 1.1683546305, 0.6773857474, 0.0038119152, 0.0626738593, 0.1137165204, -0.2043418288, -0.7832503319, -0.1124310046, -0.004368396, -0.7628353238, -0.3600047827, 0.3659642935, -0.6604896784, -0.6348043084, -0.4264011085, -0.3598091304, -0.1036646515, -0.2509537935, -0.157317102, -0.0597768314, 0.8488950133, 0.2744078934, -0.7171535492, -0.0260307342, 0.1209500208, 0.6731309891, -0.2708173096, -0.0061188559, -0.2863226831, 0.355047375, -0.3146939278, 0.6071953773, -0.3626390398, -0.3690865636, 0.246773079, 0.2695828974, 0.4993000627, -0.3314330578, 0.3689878285, -0.5884792805, 0.1450838894, -0.6710144281, -0.0511273332, -0.1831965595, 0.3234995008, -0.7403727174, 0.3313530087, -0.0921996608, -0.8958166838, 0.5084834099, -0.6413040161, -0.5550578833, 0.7044504285, -0.3222388029, -0.1604961306, -0.1455268413, 0.7621177435, 0.4670084715, -0.3618327081, -0.0083702104, -0.2526974678, -0.6743878722, 0.45609653, -0.0894376636, 0.8788398504, 0.7101642489, -0.5597407818, -0.0401138589, -0.5121169686, 0.0419769064, 0.2127602398, -0.0748326033, -0.276745379, -0.0493922904, 0.0772689804, 0.1260278672, 0.4011629522, -0.4043698013, -0.1588939875, 0.042966608, 0.4628776312, 0.6874504685, 0.1202666685, 0.5885712504, -0.2200976312, 0.7342022061, -0.007023559, 0.2395677418, -0.6971417665, -0.0424329042, -0.6803216338, -0.5657542348, -0.0750117302, 0.6950935125, -1.3662952185, 0.3143853545, -0.3743260503, -0.5471145511, -0.261769563, 0.0074592424, 0.3635522127, 0.4493037164, 0.0198885333, -0.5529071689, -0.5917810798, -0.925742209, 0.3138626814, -0.2947795689, -0.1407840252, 0.3357723951, 0.3865954876, 0.0029593089, 0.6934068799, -0.3892869353, -0.3280642033, -0.151986599, 0.0690162182, -0.1959701926, 0.3659432828, 0.592553854, -1.0618854761, -0.5682719946, 0.0981573686, -0.923992455, -0.1519973725, -0.2433405221, -0.3526865542, 0.4388635159, 0.7313297391, -0.1095129102, 0.4182862043, 0.371801585, -0.1443596035, 0.743072331, 0.1136762425, 0.5287930369, -1.1120994091, 0.2416497022, -0.0484260768, -0.1130094379, -0.0138065964, 0.4054887891, 0.0806935206, -0.307081759, -0.6401358843, 0.4902498722, -0.619022429, 0.0385095626, -0.0401126035, -0.1078051999, -0.0002250728, 0.6323312521, 0.6980827451, 0.5478835702, 0.7843353748, -0.4092012346, 0.4335868061, 0.2661553621, -0.6885916591, 1.1565549374, -0.4638220966, 0.0817701146, -0.4640675783, 0.2515815198, -0.8858363032, -0.4256888032, 0.3068208694, -0.3945300281, -0.0268853325, -0.0933062881, -0.5890188217, -0.5885566473, -0.1649507582, 0.5717009306, 0.4635221064, -0.6082104445, 0.4319399595, -0.0174644589, -0.2000124156, -0.4640292525, -0.8198820353, 0.0545941144, -0.4989695251, -0.6577435732, -0.0674209073, -0.2754983604, 0.0306439195, -0.2593431771, 0.0652508289, -0.1012358516, 0.0699527934, 0.1969475448, 0.3199870288, -0.2133427858, 0.0420937799, -0.2183305025, 0.3017567396, 0.0654971376, -0.3110087812, 0.4264911711, -0.3568896949, -0.282088697, -0.6122999787, 0.7656570673, 0.5911412835, -0.9687252641, 0.2994630635, 0.7649793625, -0.2725580633, 0.1925349534, -0.345900327, -0.0632854253, -0.4487343132, 0.2957350314, -0.321438849, -0.8508268595, 0.6499769092, 0.0257905889, -0.1076617762, 0.0549666397, 0.5737296343, -0.4896806777, 0.9265498519, 0.5885906219, 0.0778610334, 0.4518040717, -0.155434072, 0.0804449394, -0.3583189845, -0.1342534274, -0.3707220852, -0.3124473393, -0.8342051506, -0.4421336651, 0.4596270919, -0.1132285148, -0.5229606628, -0.026894588, -0.4906928241, 0.6998838782, 0.5985494256, 0.141427502, 0.2744064927, 0.3600925207, 0.0150852595, -0.1004471108, -0.4988449514, -0.633761704, 0.8231608868, 0.1651314199, 0.7682939768, 0.1449593604, 0.4395240843, 0.4102988243, 0.5293633938, -0.5373736024, 0.606413126, -0.2984363735, -0.6229171753, 0.1183370426, -0.2421416938, -0.4509444237, -0.1539908946, -0.3579342663, -0.5567703843, 0.2049709558, 0.3156742156, -0.2773914337, 0.1550804228, -0.4614054859, 0.4448693395, -0.5217060447, -0.2043275386, 0.2567121983, -1.0143108368, 0.4876978993, 0.2693251073, 0.2619361579, 0.0529340804, 0.1193049923, 0.3941120803, 0.001765433, 1.024373889, -0.2006174177, 0.1530276239, 0.6321307421, 0.223318547, -0.0256079752, 0.0016849235, 0.275690794, 0.1084492579, 0.1241153479, -0.5104218721, -0.4202111959, 0.402215749, -0.5074211359, -0.4103569388, -0.0797739029, -0.4311522245, 0.0514193401, 0.1160418689, 0.4379292428, 0.3738709092, -0.0301289726, 0.4007680714, 0.5008827448, -0.4806698859, 0.3472977281, 0.4258707464, -0.184305951, -0.5975119472, 0.7052468657, -0.1680024862, 0.1297494322, 0.4740664661, -0.0511166528, -0.1050119549, -0.2968678772, -0.5193001032, 0.1463433057, -0.8538436294, -0.3335965574, -0.1012919247, -0.0400670022, -0.312992245, -0.5318786502, 0.1679689139, -0.1028017998, -0.1339687854, -0.0898590237, 0.1384592056, 0.1585711092, 0.0511161089, 0.5669781566, -0.6140124202, 0.2998508811, 0.3394208848, 0.3140081763, -0.0665656477, -0.0404386707, -0.1830525696, 0.1433624029, -0.1462454647, -0.6666534543, 0.2659281492, 0.0863455832, 0.2898235619, 0.7326127291, 0.4053848386, 0.5994828939, -0.2255369425, 1.0068637133, 0.5009920001, -0.6815092564, 0.5348221064, -0.2570025921, 0.6502728462, 0.3419784307, 0.4253666401, -0.7188448906, -0.4578225613, -0.2067021579, -0.8094987273, 0.1462517083, -0.0567247681, 0.3476547003, -0.3199765086, 0.1703895777, -0.0270786807, 0.0940756127, -0.9222239852, 0.170680657, -0.4522953033, -0.2794723511, 0.1799040884, -0.2345977128, -0.1549042761, -0.1049974486, 0.3782145679, -0.5376150012, 0.117475681, 0.5053017735, -0.3479139805, -0.1245235056, 0.0727424026, 0.4368022978, 0.6088914275, 0.0614282973, 0.0368452631, -0.0199095272, -0.0904010832, -0.214744091, -0.1859693676, -0.3939914405, -0.4222016633, 0.4618824124, 0.542902112, -0.4184880555, -0.8820723891, 0.4202254415, -0.2784193456, -0.1448217332, -0.7399493456, -0.291297406, 0.0050698328, 0.1542516947, 0.3278006911, -0.0741245523, 0.2109673619, -0.5591152906, 0.1419845074, 0.292088598, -0.4382841587, -0.028352933, 0.7356160283, 0.5619804859, 0.0912386775, 0.7499790788, -0.0776562989, -0.656003654, 0.6136692762, 0.3614587188, 0.3757828176, -0.0225631204, 0.5999317169, 0.5196875334, 0.3826793134, 0.3248419762, 0.5418086052, -0.3086717129, -0.6771253347, -0.507573247, -0.5221021175, -0.1145766824, -0.2546088398, -0.6725720167, 0.3434189856, -0.5106526017, 0.1892871708, -0.3767969012, -0.166216284, -0.869122088, 0.4724611044, 0.6303642988, 0.9104946852, -0.9570989609, 0.2955065668, 0.8423754573, -0.6361612678, -0.7414066792, -0.1603257954, -0.0559221879, -0.6281806231, 0.5257585049, 0.3467929065, -0.0645061135, -0.3250508606, -1.2150173187, -0.6677643657, 1.1824580431, 0.1091767401, -0.3370381594, 0.1509736627, 0.2969985306, 0.5802605152, -0.905305624, -0.0321000665, 0.1708174646, 0.3757443428, 0.5391725898, -0.55209589, 0.0318026654, -0.4526837468, 0.1672123224, -0.4921446443, -0.5284822583, 0.3812374175, -0.4450606406, -0.340677321, 0.6758246422, 0.9690777659, 0.4223878086, 0.4456016421, 0.6628311276, 0.0150294043, 0.5914617181, -0.2225234509, 1.113812089, -0.08717639, -0.1359485984, 1.181101799, -0.2624716759, 0.4745302796, 0.390869379, 0.3066568375, 0.5436010361, 0.7664120793, -0.1769918948, 0.4718139172, 0.5133148432, -0.200889796, -0.3717362881, -0.6666833162, -0.1221273988, 0.8810645938, 0.0284257904, -0.5988403559, 0.1913170218, 0.039496351, -0.0120194349, 0.5815392733, -0.5074332356, 0.8241128325, -0.0780066773, -0.6313974261, 0.5155243278, -0.2166020721, 0.558226347, -0.4459914863, -0.100089401, -0.3703185618, -0.3718910515, -0.2226596922, -0.6142397523, 0.015790876, 0.1417865455, -0.3096804619, -0.0158066917, 0.4023085237, -0.6944907904, -0.6445394158, -0.2732037902, 0.2886806726, 0.2408103198, 0.1274373084, -0.256411463, -0.1399320811, 0.1477713138, 0.3896820545, -0.3563525677, 0.3648289144, -0.7420176864, 0.491269052, 0.609692812, 0.0002872016, -0.0466716699, 0.2279244512, 0.3316571414, -0.4532746077, -0.7830748558, -0.285212785, 0.7407286167, -0.348588109, 0.0894725248, 0.135620892, 0.3112170398, 0.960057497, -0.4600694478, 0.9754937887, -0.4673290253, 0.0722089112, -0.4747729301, 0.8047359586, -0.6143864393, 0.0341995545, -0.1041983366, -0.8782988787, -0.3520965278, 0.4069144428, 0.0190150458, -0.1441484094, 0.5526405573, 0.9596914053, 0.1868017763, 0.2027769089, 0.1469026059, -0.0242963303, 0.2562426627, 0.2997285724, 1.0387313366, 0.125403598, 0.6240206957, -0.5164356232, -0.3399511278, 0.2171513438, -1.085970521, -0.6657142639, -0.8752579093, -0.4692781568, 0.1074365079, -0.2005860507, 0.8318781257, 0.7311327457, -0.7076044083, -0.2144958824, 0.4486240447, -0.1071042269, -0.2808212042, -0.2355662882, 0.4004594386, 0.0686832815, -0.7083550096, -0.3170515001, 0.0722421855, 0.0983784869, -0.3259164393, -0.1069982052, 0.0449221767, -0.1598382145, 0.6250953674, 0.1994711161, -0.6281709671, -0.4583120346, 0.1277876645, -0.0105375471, -0.1823310107, 0.8464882374, -0.3651028574, 0.6551554799, 0.3627839684, 0.3358864486, 0.1211730167, 0.076799795, 0.6601246595, -0.7400413156, 0.1151421666, 0.1031589732, 0.5175119638, 0.7455981374, -0.3748726547, 0.524615705, 0.1309351623, -0.2038169205, -0.2593730986, 0.4375136495, -1.2690855265, -0.143632561, 1.0024666786, -0.4113724828, -0.3726220727, 0.2620221376, -0.5614888668, 0.1163884252, 0.0108885635, 0.7172150016, 0.4823384583, 0.5011350513, -0.4582754672, 0.0312674157, 0.0723734722, 0.225077942, -0.7254759073, 0.0445554703, 0.7503097653, 0.3474389017, 0.1118087843, 0.4469663799, -0.4564234614, 0.66705513, -0.6422082782, 0.6181441545, -0.0892450958, -0.2030962855, 0.1585169286, 0.117878519, -0.0692306757, -0.2595903575 ]
http://arxiv.org/abs/2402.05369v2
http://arxiv.org/pdf/2402.05369v2
Noise Contrastive Alignment of Language Models with Explicit Rewards
2024-02-08T02:58:47
2024-07-03T13:53:06
Huayu Chen, Guande He, Lifan Yuan, Ganqu Cui, Hang Su, Jun Zhu
cs.LG
cs.LG, cs.CL
User intentions are typically formalized as evaluation rewards to be maximized when fine-tuning language models (LMs). Existing alignment methods, such as Direct Preference Optimization (DPO), are mainly tailored for pairwise preference data where rewards are implicitly defined rather than explicitly given. In this paper, we introduce a general framework for LM alignment, leveraging Noise Contrastive Estimation (NCE) to bridge the gap in handling reward datasets explicitly annotated with scalar evaluations. Our framework comprises two parallel algorithms, NCA and InfoNCA, both enabling the direct extraction of an LM policy from reward data as well as preference data. Notably, we show that the DPO loss is a special case of our proposed InfoNCA objective under pairwise preference settings, thereby integrating and extending current alignment theories. By comparing NCA and InfoNCA, we demonstrate that the well-observed decreasing-likelihood trend of DPO/InfoNCA is caused by their focus on adjusting relative likelihood across different responses. In contrast, NCA optimizes the absolute likelihood for each response, thereby effectively preventing the chosen likelihood from decreasing. We evaluate our methods in both reward and preference settings with Mistral-8*7B and 7B models. Experiments suggest that InfoNCA/NCA surpasses various preference baselines when reward datasets are available. We also find NCA significantly outperforms DPO in complex reasoning tasks like math and coding.
[ -0.3151398897, -0.3287144303, 0.6173818111, 0.0936867669, -0.1330751777, -0.1802457571, -0.4559791386, -0.1760774553, 0.2009955496, 0.3944980502, -0.6708419919, -0.4061906934, -0.5707524419, -0.0674051195, -0.0641659796, 0.9845392108, -0.0224044975, -0.0695392117, -0.2762733996, -0.119182609, -0.5764356256, -0.2313046604, -0.6805225611, -0.1379409432, 0.8699022532, 0.47178635, 0.7624340653, 0.972830236, 0.6734657884, 0.228705436, -0.1277377009, 0.2545224428, -0.6764678955, 0.0040226248, -0.1477980763, -0.2695710957, -0.1229172722, -0.1138551906, 0.403491199, 0.4688587487, -0.1327557117, -0.1147913486, 0.2496955693, 0.8929738402, -0.974937439, 0.0979995504, -0.4878286421, -0.0983364433, -0.2066895664, -0.3281137347, -0.1939335614, -0.5562970042, 0.1854958832, -0.7713037729, -0.3063625693, -0.062676765, 1.1154108047, 0.5762578845, -0.1278315783, -0.3492451608, -0.6420244575, 1.1124798059, -0.564101994, 0.3844136894, 0.3313008547, 0.1789248735, -0.1429216713, -0.1342771202, -0.5348294973, -0.0539384894, -0.1893935651, 0.222662285, -0.3035477996, 0.1937014312, 0.0884821266, 0.5417837501, -0.5076127648, 0.5033558011, -0.2046758533, -0.1146080941, 0.3400250375, 0.2061516941, 0.0490427986, 0.2804338932, -0.3239239752, -0.2759436667, -0.6262463331, 0.2861374021, 0.6180438995, 0.5270396471, -0.388201952, 0.4574912488, -0.1935200095, 1.0039894581, 0.5059483647, -0.0296508968, 0.1812459528, -0.4671109915, -0.0136049381, 0.2051561028, 0.8326182961, 0.4732881188, 0.0753292963, -0.2545947433, -0.1291703582, 0.1674782336, 0.0782642439, -0.680539608, -0.0944879502, 0.3532550335, -0.3292393386, -0.6171937585, -0.0193826724, -0.6545645595, -0.6341947317, -0.8808341026, 0.2348262966, -0.0478671566, -0.2977842093, 0.2957177758, 0.1663274169, 0.3539306819, 0.1106392294, -1.2253701687, 0.3371022344, 0.9394322634, 0.6292092204, -0.4148305058, -0.1432274878, -0.7265719175, -0.1139151007, -0.318059206, 0.6970679164, -0.6559163928, 0.1536884308, 0.0950006843, -0.2621783912, -0.0744473338, -0.5375900865, 0.8195610642, -0.496750921, 0.4109744728, -0.5410056114, -0.6207700372, 0.0053842301, 0.1872068346, -0.7900616527, 0.8464227319, 0.0646978766, -1.1013233662, 0.5390683413, -0.5398035645, -0.0620807074, -0.4184058011, -0.2891848981, -0.4023945332, 0.0739544183, 0.2498038262, 0.256075561, -0.4570766389, 0.4922302067, -0.446888715, -0.6196682453, 0.1550604403, -0.1333791614, 0.6781284213, 0.2671654522, -0.4142714143, 0.439162761, -0.5337182283, -0.2623098195, -0.0012495596, -0.2063505203, -0.5538359284, 0.0725091994, -0.2525808811, 0.3054305017, 0.4781316221, -0.4643872678, 0.1708244085, -0.4493490756, 0.0332930498, 1.1379822493, -0.4338504076, 0.5424374938, -0.3115941584, 0.3829093575, 0.155799821, 0.251046747, 0.3309106827, -0.0348032117, -0.682531774, -0.4201231599, 0.4704263806, 0.3430787027, -0.1237001196, 0.6555093527, -0.4153722823, 0.0267704707, -0.9070100784, 0.1406058073, 0.4788860083, 0.6918921471, 0.3005365431, -0.0376636684, -0.5515109897, -1.1392424107, -0.1954439878, -0.0358786508, 0.0976381674, 0.2916289866, -0.395054996, 0.1024469212, 0.8331512809, -0.4305435717, -0.2078171074, 0.0825995654, 0.0396119952, 0.5494143367, 0.4354664683, 0.3560453057, -0.8378019333, -0.4740992188, 0.1290056556, -0.5273709297, -0.3534499407, -0.0753150061, -0.3610813618, -0.0019445167, 0.2058327496, -0.0323634557, 0.2142127752, 0.8336464167, -0.1940668672, 0.4188849628, 0.1544523537, 0.2683885992, -0.9775798321, 0.0856003165, 0.0338463224, -0.012209055, -0.577702105, -0.2960282266, -0.0638155863, 0.2139983475, -0.0437326916, 0.7058891654, -0.3364629447, -0.0761635602, -0.4368904531, 0.1186269969, -0.1006478518, 0.6666371226, 0.4042622447, 0.6185498834, 0.5842265487, -0.7464368343, -0.1136422902, 0.0978286192, -0.3236961365, 0.7323450446, -0.4720568359, 0.1628128439, -0.1351883411, -0.3257415295, -0.852319479, 0.0040176674, 0.4162982404, -0.0328031667, 0.3764638901, 0.0205746051, -0.0986558944, 0.0245762095, -0.3567604423, 0.5753179193, 0.3125688732, -0.8859967589, 0.1374051422, 0.3949088454, -0.1775170416, -1.0389614105, -0.3306960762, -0.1698303223, -0.4586480856, -0.4170411825, 0.5429512262, -0.1570021361, -0.4663515389, 0.0033120627, -0.2866688669, -0.1174494997, -0.0264014732, 0.2032880485, 0.3996359408, -0.2246436626, 0.1843914688, 0.1409897804, -0.2317764312, -0.2550992072, -0.1070300639, 0.4916748703, -0.1640627831, -0.2139399797, -0.4132812917, 0.1573757529, 0.0662337467, -0.0665747672, 0.4739038944, 0.4732640088, -0.0279719662, 0.2321716696, -0.774627924, -0.3272209466, -0.4806631804, 0.195675835, -0.3991050422, -0.9387013912, 0.229571864, 0.0832167119, 0.324916333, 0.2738078237, 0.4219193459, -0.0302484371, 0.9779271483, 0.6307817101, -0.3087346554, 0.7571296096, 0.2185283452, 0.1297544092, -0.761869669, -0.0170680173, -0.538850069, -0.5066171288, -0.5453947186, -0.1493942142, 0.0714419335, 0.2830024958, -0.3364979625, 0.2432118058, -0.6828281879, 0.5179884434, 0.6323763728, 0.1093340218, 0.2621192932, 0.2449267507, -0.0316705182, -0.3085340559, -0.6587737799, -0.2632553279, 0.9963142276, 0.0834098309, 0.6341222525, -0.0127909761, 0.8192350268, 0.0344581455, 0.1161418036, -0.6966837645, 0.1800502837, -0.2621025443, -0.0691285878, -0.340832293, -0.5715913773, -1.1088607311, 0.0673308969, -0.2363035977, -0.7795629501, 0.6750247478, 0.3902745843, -0.254481107, 0.0230693966, -0.3241279125, 0.939586997, -0.2942448854, -0.5349362493, -0.172881186, -0.5826708078, 0.4677270651, 0.0274926852, 0.2099869549, -0.2342844158, 0.0490737744, 0.583032608, -0.2975783348, 0.5465406179, -0.0553705804, -0.1873063147, -0.1357610971, 0.004895288, 0.6750943065, -0.3943375945, -0.3308730125, 0.081963174, -0.2094763368, -0.3859807551, -0.7128602266, 1.0148444176, -0.6705064178, -0.4323454499, -0.2971667349, -0.7714042664, -0.311562717, 0.0300320927, 0.0843001083, 0.2227590829, -0.1749426425, -0.0809781179, 0.5609882474, -0.040125981, 0.1788017005, 0.5257149935, -0.0397417098, -0.3374454379, 1.0879238844, -0.345113188, 0.3061839938, 0.6734063625, 0.6020103097, -0.5495779514, -0.5957816243, -0.1714249104, 0.322645843, -0.5294169784, 0.0001893607, -0.3835372925, 0.2520831525, -0.3191785514, -0.3033154011, -0.2809426486, -0.3980665803, -0.0555951074, -0.0984893516, 0.3298152685, 0.4271465838, -0.3008407652, 0.1676557511, -0.2556477785, 0.2484260648, 0.3036727309, 0.3596196473, -0.4700059891, -0.5716381669, -0.165722698, 0.1142015979, 0.0222246833, -0.5020520091, 0.0568148717, -0.145813182, 0.4356164634, 0.5890955925, 0.176123932, 0.9385721684, 0.0197507665, 0.2891267538, 0.4321362972, -0.6844305396, 0.3252572417, -0.2253128886, 0.4016925395, 1.0113946199, 0.2835157514, -0.5146840215, -0.1953360587, -0.3051224649, -0.6582430005, 0.8192276359, 0.1836813837, -0.2271152139, 0.1146968529, 0.2801705003, 0.1038175672, 0.1632585377, -0.7625454068, -0.2169135213, 0.0068376237, -0.5985034108, 0.0463346802, -0.2340008318, -0.3973657489, 0.0338576064, 0.7397143841, -0.1346773207, -0.0874209926, -0.1162440926, 0.0729540214, -0.06272991, 0.2993436456, 0.6316584945, 0.5473673344, -0.347958982, 0.0051961443, -0.3369163573, -0.0626892745, 0.1238651723, 0.1678286642, -0.31537655, -0.2145658433, -0.0848641321, 1.098143816, 0.4838858843, -0.5745555162, 0.6755592823, -0.1333701909, -0.0995901674, 0.0803294256, -0.1149632484, 0.0894222409, -0.038228292, -0.336497277, -0.0879832357, 0.3202254772, -0.1879915297, 0.0335591361, 0.5141683817, -0.8931087255, -0.2275121212, 0.4320462048, -0.0181463491, 0.0014146686, 0.4374658167, -0.003472381, 0.0710086301, 0.4563668072, 0.3717720211, 0.952329576, -0.2983481884, 0.1505715251, 0.5536037087, 0.1069078967, -0.0842909738, 0.2451570928, -0.2190232724, -0.8840733767, -0.3761331141, -0.6708605289, -0.3002449572, 0.2408651263, -0.82546103, 0.4912371337, -0.2064558119, 0.2193130851, 0.2013651133, -0.2573492229, -0.7183641195, 0.0550559834, 0.0325357877, 0.2743202746, -0.6717767715, 0.7309415936, 0.4558531344, -0.3547771275, -0.8282089829, -0.0828996301, 0.207557112, -0.8447709084, 0.6033580899, 0.038484361, -0.3370480537, -0.1407189369, -0.2399356663, -0.9241073728, 0.7736853361, 0.6749866009, -0.9324276447, 0.1082120538, 0.1075454354, 0.2564354241, -0.478615582, 0.1767595559, 0.6136760116, 0.7124580145, 0.1722528189, -0.8172851801, 0.1429060847, -0.0883460864, -0.2430410236, 0.4494511485, -0.4456628561, 0.5039008856, -0.0479759313, -0.2012609243, -0.0537556559, 0.3696655333, 0.4310365319, 0.1102370322, 0.7873122692, 0.5810335875, 0.8130275607, -0.104662247, 1.0179213285, -0.3191882074, 0.0327125564, 1.3818430901, -0.1961226016, 0.4774242938, 0.8026788831, -0.1434692144, 0.4168887138, 0.7050307989, 0.2506554723, 0.736979723, 0.363515079, -0.2168076336, -0.2533014715, -0.3920761347, -0.2804955244, 0.3191397488, 0.0983912647, -0.3419286013, -0.0718990266, -0.3901800215, -0.0232188832, 0.3180070817, -0.3055585325, 1.0574471951, -0.1061948091, -0.9947628975, 0.676548183, -0.2821036279, 0.7193213701, -0.6082502007, -0.014666236, -0.2853365541, 0.2227662355, -0.2479399145, -0.4798741043, 0.19933258, -0.1795210987, -0.3146713078, 0.068136692, 0.490262568, -0.7817357183, -0.2096711248, 0.3108490705, 0.0253546759, 0.1997026503, -0.120081678, -0.889349401, 0.2614426613, 0.0780930817, -0.0146480538, 0.6542232037, 0.026892662, -0.0796192959, 0.2378510684, 0.5932191014, 0.0871758312, -0.1702680141, 0.2290471196, 0.8150507212, -0.5201519132, -0.503567934, -0.8385411501, 0.3765491247, -0.2782012224, -0.2446795106, 0.5237383246, 0.7904655933, 0.6534731984, 0.162149936, 0.6445592046, 0.218720153, 0.490862608, -0.6877412796, -0.0022353164, -0.5437882543, 0.3907800615, -0.3743171096, -1.0293961763, -0.2348083109, 0.48843503, -0.3696635962, -0.3127958775, 0.5580749512, 1.046195507, -0.2857614756, -0.1087370366, 0.2699832916, -0.088128157, 0.0262522064, 0.5634403825, 0.7141680121, -0.1004865468, 0.4829968512, -0.5597821474, -0.3286056817, -0.0754124671, -1.0319362879, -0.5808284283, -0.4607386291, -0.5970174074, -0.3452430367, 0.2086922675, 0.8606869578, 0.6305452585, -0.9695310593, -0.5950123668, -0.3101878166, 0.328482151, -0.6550807953, -0.2299634218, 0.6103969216, -0.5437681079, -0.9894657731, 0.4482652545, 0.4845039248, -0.1517266631, 0.0513116457, -0.4413113296, -0.1652202606, 0.0798057765, 0.0656916499, 0.5911992788, -0.8380445242, -0.1243971288, -0.0202163178, -0.1968565434, 0.310808301, 0.8683260679, -0.4386858046, 0.7234632969, 0.5092749596, 0.6984026432, 0.4968990386, 0.1852295697, 0.8693134189, -0.5731679797, 0.2029014975, 0.1489784122, 0.2835862339, 0.2653647363, -0.3620069921, 0.5651581883, -0.201985091, -0.5819294453, -0.8503967524, 0.2241167724, -1.1640491486, -0.1263632327, 1.0891480446, -0.0480454378, -0.1443644762, -0.0926140249, -0.2528761923, 0.0351110399, -0.4716338515, 0.9293890595, 0.6322208643, -0.1072804481, -0.095667392, 0.0478356406, 0.9436064959, 0.7267204523, -0.8066222072, 0.2178054452, 0.6180020571, 0.0421866141, 0.0939759389, 0.7680229545, -0.2207834423, 0.4089697301, -0.3273531199, 0.2975059748, -0.1018112004, -0.0697966516, -0.7719322443, -0.023236597, 0.1580546647, -0.3421832323 ]
http://arxiv.org/abs/2402.05359v6
http://arxiv.org/pdf/2402.05359v6
An Examination on the Effectiveness of Divide-and-Conquer Prompting in Large Language Models
2024-02-08T02:37:30
2024-07-02T18:18:18
Yizhou Zhang, Lun Du, Defu Cao, Qiang Fu, Yan Liu
cs.AI
cs.AI, cs.CL, cs.LG
Foundation models, such as Large language Models (LLMs), have attracted significant amount of interest due to their large number of applications. However, when handling tasks involving repetitive sub-tasks and/or deceptive contents, such as arithmetic calculation and article-level fake news detection, simple instructional prompts suffer from inaccurate responses. Existing works show that more complicated prompting strategies, such as Chain-of-Thoughts and Least-to-Most, can unlock LLM's powerful capacity in diverse areas. Recent researches reveal that simple divide-and-conquer prompting strategy, i.e. simply dividing the input sequence to multiple sub-inputs, can also substantially improve LLM's performance in some specific tasks such as misinformation detection. In this paper, we aim at examining the utility of divide-and-conquer prompting strategy and answer on which kind of tasks this strategy gets advantages. Specifically, we provide a theoretic analysis to divide-and-conquer prompting strategy and help us identify the specific tasks where DaC prompting can bring performance boost with theoretic guarantee. We then present two cases (large integer arithmetic and fact verification) where experimental results aligns with our theoretic analysis.
[ -0.7972677946, -1.24033916, 0.6275473237, 0.4774137735, -0.0480155423, -0.0377835967, -0.2125172168, -0.2522091866, -0.070695594, -0.0832464397, -0.7097945809, -0.0592784397, -0.7878988981, 0.3268973827, -0.5002898574, 0.7022487521, -0.0183022395, 0.1180931255, -0.3893324435, 0.151163131, -0.7369095087, -0.5007309914, -0.8122239113, -0.3225620389, 0.6056214571, 0.5916421413, 0.4455181956, 0.6671683788, 0.2869981825, 0.3025688827, -0.3411004245, 0.3361490965, -0.2911882699, 0.1849028766, -0.0124041401, -0.5836825967, -0.2074026912, 0.0397822075, 0.6338870525, 0.6980335116, -0.3830244243, -0.1900906712, 0.0153313819, 0.8087726235, -0.7138953805, -0.1079206243, -0.4087239206, -0.188707903, -0.1268892884, -0.2380441278, -0.6147329807, -0.3608008623, 0.0909605324, -0.3979337215, 0.046207983, -0.0018260977, 0.453045398, 0.1593903899, -0.6205419898, -0.7760876417, -0.4809720218, 0.721011281, -0.4480179846, 0.3259476721, 0.513356626, 0.1801742911, -0.2073324025, -0.4035712481, -0.7211948633, -0.207333684, 0.0654138699, -0.0261704493, -0.4408113956, 0.1107346639, 0.5253485441, 0.5035758615, -0.3670170009, 0.4130687416, -0.2850809693, -0.1591503173, 0.2987538874, 0.1822813451, 0.5556067824, -0.0092679914, -0.3605846465, -0.2861162126, -0.9204686284, 0.2644135058, 0.3679486513, 0.1085406095, -0.1161224246, 0.5394993424, -0.2451152653, 0.9323065281, 0.5230594873, -0.4361878633, -0.2013594806, -0.3654923439, -0.2302342504, 0.0663629249, 0.439414531, 0.1274983138, 0.2537426651, 0.0966221839, -0.1824581772, 0.1669101417, 0.1886085719, -0.9607705474, 0.0877035409, 0.2623816729, -0.1443981379, -0.3923642337, -0.1935736686, -0.6916744113, -0.3618164659, -0.3719380796, 0.3596672714, -0.6697314978, -0.0611323602, 0.3212394714, 0.085621044, -0.056556277, 0.5419618487, -1.0233209133, 0.1723517925, 0.8727083206, 0.699823916, -0.4749478698, -0.2634118795, -0.9015467763, -0.3790082633, -0.4542163312, 0.6085602641, -0.3222580254, -0.363535285, 0.043502681, -0.3965102732, -0.2844433486, -0.6265841126, 0.6062125564, -0.7998353839, 0.297919333, -0.9108560681, -0.6713961959, -0.2219693363, 0.5669543743, -0.9462771416, 0.7713161707, -0.2687556744, -0.9091056585, 0.2198993713, -0.62926054, -0.6994978786, -0.0676552728, -0.179682821, 0.0446442999, 0.0498059168, 0.59265697, 0.2963980138, -0.332810849, 0.2993760109, 0.0427107885, -0.1505242437, 0.5684350133, -0.8741726875, 0.8137291074, 0.0659540445, -0.4481655955, -0.1710393876, -0.2693042457, -0.1660608202, 0.0116716921, -0.6020492315, -0.361289531, -0.2570846975, -0.6755799651, 0.1065139771, 0.0604181811, -0.41110304, 0.3720703721, -0.4355114996, 0.0731750876, 0.7892173529, 0.1560693681, 0.3899892271, -0.4718064964, 0.7817748785, 0.1527899653, 0.0120050795, -0.3280027807, -0.4004231989, -0.7410342097, -0.599430263, 0.4779052138, 0.4502507448, -0.9329907894, 0.0870809034, 0.0618024357, -0.0715896636, -0.331543982, -0.0254082922, 0.3899326324, 0.4427841604, 0.165967077, 0.0546092428, -0.3940605819, -0.6222545505, -0.0627191961, -0.090686962, 0.2035561204, 0.1515132189, 0.3685035706, 0.1437732726, 0.8701213002, -0.0995326713, 0.2157190442, -0.3467297256, 0.1596436799, 0.1137058511, 0.0299999882, 0.4206545651, -1.1726878881, -0.6145542264, -0.3562104404, -0.3928204477, -0.2394673079, 0.0007222649, 0.1199693084, 0.3212904036, 0.1547857076, -0.8562610745, 0.4471775889, 0.7113888264, -0.293815136, 0.8868133426, 0.0127769401, 0.5312616825, -0.6760231853, -0.0937352702, -0.0528265983, -0.1123280376, -0.7695351243, 0.1171550974, -0.0647970214, 0.3463521302, -0.3187070191, 0.2766480446, -0.4410338998, 0.193399176, -0.5489917994, 0.1248702556, -0.1827156991, 0.1856402457, -0.1191745177, 1.0599837303, 0.5593214035, -0.9611434937, 0.4538338482, -0.0035197951, -0.3675769866, 0.825355649, -0.5675034523, 0.0455015264, -0.1169998348, 0.3348929584, -1.0753722191, -0.1624562591, -0.0223871171, -0.3590718806, 0.1891443133, 0.0507181846, -0.6574020386, -0.4142037928, -0.2286316752, 0.5196421742, 0.5207002163, -1.1259739399, 0.4804584682, -0.1365671456, -0.2076873034, -0.7730180621, -0.3566099703, -0.0502392389, -0.3069936335, -0.7062059641, 0.3036033511, -0.3554914892, -0.4971589446, -0.2719215155, -0.2939916849, 0.3288558424, 0.115008533, 0.3958116174, 0.3672499657, -0.1185468659, -0.0777098387, 0.091380246, 0.0096454322, 0.1988529265, -0.2224345505, 0.691031754, -0.0588787608, -0.6483197808, -0.4119116664, 0.1733420938, 0.5752106309, -0.1101690531, 0.6332994699, 0.0550918803, -0.1582276672, -0.2864862084, -0.8697965145, -0.3052425981, -0.4860692918, -0.0266244411, -0.4293961823, -1.0093169212, 0.1884174794, -0.2458411306, 0.0265007038, 0.3830906749, 0.8384760618, 0.1448088437, 1.10493958, 0.3679076433, -0.2079243511, 0.1724782139, -0.1714458466, 0.1652115285, -0.5101873279, -0.3118335307, -0.5960349441, -0.2420318574, -0.0906900316, -0.5342566371, 0.3850501776, 0.3219441473, 0.0839920789, 0.013284564, -0.2824546397, 0.6886562705, 0.4993632138, -0.213840723, 0.5291751623, 0.3801417351, -0.3840524256, -0.0048713232, -0.8923371434, -0.1010938138, 0.6859093308, 0.3052642941, 0.572863102, 0.1283672601, 0.623018384, 0.5121359229, 0.1502942443, -0.9590315819, 0.4759036899, 0.0734102353, -0.5828319788, -0.3492429852, -0.4872309268, -0.8014032245, 0.2830042243, 0.0495852903, -0.5754686594, 0.5110471845, 0.0702701136, -0.4330711365, 0.3805186749, -0.4750034213, 0.4772721231, -0.2822728157, 0.0485028364, -0.417348057, -0.2162529677, 0.4416162372, -0.1464411169, 0.3084515035, 0.4230804741, 0.0417860039, 0.6829891801, -0.3741972148, 0.8475269079, -0.109169066, -0.274148941, 0.3466139138, 0.3331491351, 0.8170521855, -0.2149872184, 0.023629237, -0.2392388731, -0.1939468384, -0.2157883793, -0.6165846586, 0.6456395984, -0.4619363844, -0.7185838819, -0.4118458927, -0.6316316724, -0.2657620013, 0.0362137705, 0.5393815637, 0.4213444293, -0.2186181396, 0.3689931333, 1.051766634, 0.1252292246, 0.619519949, 0.5396162868, -0.1554022282, -0.3907266259, 0.6086372137, 0.0295840222, 0.4912094176, 0.2980844975, 0.2104271501, -0.3823538721, -0.5323201418, -0.6604945064, 0.2051418871, -0.6913277507, -0.2324384153, -0.5199107528, -0.0586995631, -0.1936789602, -0.0767687038, -0.0089952312, -0.3506911695, -0.0452571362, -0.342929244, 0.2306104004, 0.8387254477, -0.1414365172, 0.3200407624, -0.3847470284, 0.2377780676, 0.7407758236, -0.2392765582, 0.4472113848, -0.5695026517, -0.2059797794, 0.2142858207, -0.2586039007, -0.9309596419, 0.1572361737, -0.2724058032, 0.5478616953, 0.52468431, 0.0474569462, 0.4522772431, -0.2917871475, 0.6608333588, 0.3274452984, -0.8522340655, 0.0515036881, -0.1561907232, 0.2179267704, 0.2923538089, 0.6377165914, -0.5919696689, -0.1077462509, -0.7087869048, -0.4292574525, 0.7275393605, 0.1406911761, -0.1302750409, 0.0434372351, 0.2379370779, 0.037828885, 0.3152537644, -0.4761890471, -0.3285700679, 0.1907650828, 0.0086190505, 0.3771492839, -0.6914697886, -0.3950626552, 0.1543114185, 0.7553303838, 0.029594874, -0.0640778467, 0.109388046, -0.1049524993, -0.2213228494, 0.5670824647, 0.6894190907, 0.7425872087, 0.3706300557, 0.2423761338, 0.3145271242, -0.3798595965, 0.3775064945, 0.0701629519, -0.3900101483, -0.1729106903, 0.5009552836, 0.8232511878, -0.3253887594, -0.4484685063, 0.5896344185, 0.1728699505, -0.3477668166, 0.2396960855, 0.1356301755, 0.1930256933, 0.2284447998, 0.7236974835, -0.1691532135, 0.1062145755, -0.4844660759, -0.0592715181, 0.3650331199, -0.008962105, -0.128476873, 0.1382813752, -0.0006760044, -0.3970303833, 0.5720805526, -0.4349906743, -1.013908267, 0.7514004111, 0.6441527605, 0.4671808779, -0.4808472395, 0.4109679461, 0.1677650958, 0.2965150476, -0.3413713872, -0.0253244173, -0.237049669, -0.685726881, -0.9958856106, -0.5056712031, -0.2913807034, 0.1393073648, -0.5511894822, 0.0192218348, -0.2624785006, -0.0589812547, 0.1873047054, 0.0209284965, -0.3862609267, 0.399466306, 0.2880278528, 1.1565762758, -0.6771402359, 0.6416301727, 0.4884211421, -0.0615724139, -1.1996155977, -0.0025073243, 0.2408237606, -0.7575370073, 0.8856237531, 0.122587353, -0.1830930412, -0.234130621, -0.5997719765, -0.5456402302, 0.7988339663, 0.2473663688, -0.6862773299, -0.2403600514, 0.2542484403, 0.375472784, -0.4949532449, 0.1102011874, 0.6876295805, 0.5852169991, 0.5824221373, -0.9032082558, 0.2859954834, -0.0457327329, -0.0881483331, 0.1386527568, -0.370882988, 0.9441745281, -0.4036218524, -0.1431745291, -0.0685912296, 0.5720399618, 0.6171301007, 0.3721657395, 0.9856003523, 0.4654835761, 0.8568775654, -0.1085747927, 1.0066232681, -0.1276895702, 0.1246000826, 0.6370587349, -0.0662338883, 0.4926875234, 0.3928565681, -0.2624937296, 0.7161350846, 0.5772797465, 0.1580918133, 0.3866681159, 0.074719131, -0.3828597665, -0.437374562, -0.180379048, -0.3843000233, 0.1187064201, 0.4239888489, -0.0530354716, -0.1280467659, 0.1342502683, 0.1619165689, -0.0957682207, -0.1953551769, 0.703846693, 0.1382155418, -1.0740537643, 0.6550332904, 0.1237436607, 0.6931304336, -0.555318892, -0.0089431936, -0.3388389051, -0.1047032997, -0.1625041664, -0.5681677461, -0.0804388747, 0.028442068, -0.4633140266, -0.1359541863, 0.678809166, -0.5544105172, -0.0690281764, 0.0935112983, 0.2989897132, -0.190900594, -0.3493310213, -0.5757423639, 0.1128900498, 0.2570585012, -0.2171028405, 0.3298600018, 0.6161549091, -0.1451530606, 0.7451355457, 0.8731876612, 0.180362463, 0.0213657971, 0.0559256487, 0.7530729771, -0.2102537304, -0.6863389611, -1.1146006584, 0.3147727847, -0.07124497, 0.2898363769, 1.0344535112, 0.5320605636, 0.5504462123, 0.1327845603, 0.668168664, -0.165662244, 0.4081098139, -0.6507528424, 0.2112641037, -0.4506908953, 0.3005014956, 0.0364873223, -0.699424684, 0.1123512983, 0.2788049579, -0.4257793128, 0.121600993, 0.8565918207, 0.6140738726, 0.0383958817, 0.372081995, 0.2438199818, 0.1906111985, 0.2121139169, 0.5352583528, 1.0042479038, 0.0410654619, 0.5005461574, -0.1646149158, -0.3289943933, -0.4009658992, -0.6951904297, -0.995339334, -0.3370367289, -0.2031501979, -0.7043449879, 0.0635950565, 0.865874052, 0.7240096331, -0.8171799183, -0.1889143884, -0.1448363215, 0.3632305264, -0.2524743378, -0.124846153, 0.3548377156, -0.0635937899, -0.8197045326, 0.6384893656, 0.2066524923, 0.1814479381, -0.3318478465, -0.2148252726, -0.2040801346, 0.3211978674, 0.5362874269, 0.3531826437, -0.6543168426, 0.2776524723, 0.311756134, -0.1734697223, -0.111375846, 1.0643341541, -0.5540653467, 0.4052506685, 0.6310526729, 0.7082204819, 0.484248817, 0.4327492714, 0.5176782012, -0.6258332133, -0.0470328331, 0.0382763408, 0.1574930996, 0.4565275908, -0.4440218806, 0.2134347409, 0.3091908991, -0.4270172119, -0.7327009439, 0.1552579999, -0.6908532977, -0.2255970836, 1.2807945013, -0.0081411069, -0.2696743608, 0.2349773198, -0.3352880478, -0.089402698, -0.4150006473, 0.6793531179, 1.0233371258, 0.0119426511, -0.0056001069, -0.2391681969, 0.5080937743, 0.7070296407, -0.6798815131, 0.0855955482, 0.6430558562, 0.2551450133, 0.4029552042, 0.5683627129, 0.0933695659, 0.5303190947, -0.2454296649, -0.4123252034, -0.3212097585, -0.6691489816, -0.4910320342, 0.1585695446, 0.138088122, -0.0011220727 ]
http://arxiv.org/abs/2402.14590v1
http://arxiv.org/pdf/2402.14590v1
Scaling Up LLM Reviews for Google Ads Content Moderation
2024-02-07T23:47:02
2024-02-07T23:47:02
Wei Qiao, Tushar Dogra, Otilia Stretcu, Yu-Han Lyu, Tiantian Fang, Dongjin Kwon, Chun-Ta Lu, Enming Luo, Yuan Wang, Chih-Chun Chia, Ariel Fuxman, Fangzhou Wang, Ranjay Krishna, Mehmet Tek
cs.IR
cs.IR, cs.CL, cs.LG
Large language models (LLMs) are powerful tools for content moderation, but their inference costs and latency make them prohibitive for casual use on large datasets, such as the Google Ads repository. This study proposes a method for scaling up LLM reviews for content moderation in Google Ads. First, we use heuristics to select candidates via filtering and duplicate removal, and create clusters of ads for which we select one representative ad per cluster. We then use LLMs to review only the representative ads. Finally, we propagate the LLM decisions for the representative ads back to their clusters. This method reduces the number of reviews by more than 3 orders of magnitude while achieving a 2x recall compared to a baseline non-LLM model. The success of this approach is a strong function of the representations used in clustering and label propagation; we found that cross-modal similarity representations yield better results than uni-modal representations.
[ -0.5191907287, -0.572142005, 0.5794288516, 0.320684731, -0.5290182829, 0.0366260596, -0.5612391829, -0.2936213315, 0.4659878612, 0.6787358522, -0.2394335121, -0.6870214939, -0.765119493, 0.1281182766, -0.5309419632, 1.2871544361, 0.0924788341, 0.1145573854, -0.2940634191, -0.1706779897, -0.1236056462, -0.0915239975, -0.9164854884, -0.2441338748, 0.5353170037, 0.2228442281, 0.6972261667, 0.6198700666, 0.4277075529, 0.2520830333, -0.5083544254, 0.2469358295, -0.9185418487, -0.0853391588, -0.179807201, -0.3881910145, -0.7713454962, 0.2493385673, 0.7671839595, 0.7152325511, -0.2645932734, 0.0881372318, 0.039893087, 0.7179261446, -0.3464695513, 0.0249546375, -0.8234204054, -0.2445738167, 0.3671099544, -0.1146940365, -0.4252597094, -0.4855776429, 0.2395254821, -0.6687809825, 0.2841730416, 0.0790993497, 0.5469692945, -0.0916377008, -0.7902622819, -0.4695517123, -0.9104830623, 0.9355295897, -0.6430926919, 0.1637987047, 0.3030809462, 0.2067752182, 0.0359271355, -0.5605698228, -0.2727091908, -0.4440698028, -0.0713797435, -0.0308032148, -0.1803843081, -0.2342379987, 0.0815537646, 0.6843613982, -0.2453100979, 0.0548107848, -0.542973578, -0.2128896564, 0.8251924515, 0.1889490038, 0.0395909473, -0.0379693545, -0.6374717355, -0.158965379, -0.9426816702, -0.0025274856, 0.4498495758, 0.1386147439, 0.2001841217, 0.4610573649, -0.288305372, 0.43246907, 0.3157353103, -0.1143447012, 0.0024676977, -0.6927955151, -0.2026940435, -0.0269219112, 0.6229149699, 0.8405129313, -0.0786707252, 0.0956477076, -0.4835985899, 0.1311425865, 0.7744596004, -0.8416400552, -0.0669110566, -0.0550981313, -0.7086169124, -0.2160118669, 0.0620731562, -0.6599634886, -0.5564889312, -0.2306039035, 0.5032733083, 0.0349583328, 0.0571685247, 0.2114762217, 0.3480581939, -0.2346490026, 0.4771283269, -0.6685646772, 0.4173422456, 0.6225531697, 0.6219685078, -0.3540367484, 0.1761320978, -0.4719188511, 0.1349278539, -0.3656518757, 0.9277566671, -0.5504938364, -0.6713332534, -0.0094679985, 0.0877466574, 0.0739332587, -0.6742635369, 0.5780344605, -1.1068553925, 0.2568783164, -0.3536021113, -0.7014995813, -0.5245897174, 0.3852165639, -0.9763448238, 0.528424561, 0.2833303809, -0.2554691136, 0.5640704036, -0.2790041566, -0.6001077294, 0.0190701466, 0.1023908854, -0.67692554, 0.1403380483, 0.7138108611, 0.3764069676, -0.281855762, 0.2335678041, -0.2469085306, -0.3348661661, -0.0497049354, -0.3172218502, 0.3373053372, 0.3496179581, -0.1558067054, 0.5186787248, -0.4556789994, -0.2479626089, -0.0253995564, -0.6444689035, -0.2917745411, 0.0658093244, 0.0425538942, -0.1027393863, 0.0970804542, -0.3788701296, 0.3452968001, -0.0850892588, 0.3792015314, 0.7843563557, 0.2406405061, 0.8935504556, -0.4286524057, 0.5642481446, -0.1240180209, 0.1931377947, -0.0505701229, -0.4363837242, -0.6519541144, -0.2170625776, 0.2274444997, -0.0624423958, -0.5056536794, 0.552546382, -0.4750676155, -0.4343423247, -0.5805925727, 0.6884170175, 0.29538095, 0.1498542875, 0.1508038789, -0.5764973164, -0.0672301129, -0.6481243968, -0.0119085573, -0.0821328685, -0.3478911519, 0.4833404124, 0.301769495, -0.5181300044, 0.555367589, -0.4479842186, -0.6868127584, -0.2579905689, 0.0781284943, 0.0965275466, -0.0208470728, 0.3648684621, -0.8298771381, -0.5803669691, -0.1395370513, -0.0342565104, -0.184117943, -0.1664554477, 0.3148874044, 0.2166685015, 0.348862648, -0.2221446335, 0.1469691694, 0.9173334837, -0.3332130611, 0.2195468992, -0.1781864464, 0.4316153228, -1.0224299431, -0.2086415142, 0.2767242491, -0.4622147679, -0.1332522333, -0.0203857645, 0.0847855657, 0.1250586063, -0.2632469833, 0.3820303679, -0.3989682496, -0.0133717768, -0.4140499234, 0.4495655298, 0.2607147396, 0.1620789319, -0.2124719322, 0.8666421175, 0.3085735142, -0.7660014629, 0.608473897, -0.0766206682, -0.6909378767, 0.618260324, -0.7735500336, 0.0048659965, -0.1406887919, 0.756680131, -1.5450179577, -0.0348329246, -0.0884569138, -0.1542561203, -0.0058898209, -0.0460627265, -0.5208335519, -0.2570771575, -0.6191407442, 0.2390168309, 0.3331438303, -0.7684678435, 0.3871144652, 0.6171680093, -0.2921918929, 0.0322068259, -0.0571646132, 0.0359158739, -0.1858997643, -0.5236352086, 0.392442733, -0.1961991936, -0.1336604208, 0.2926961482, -0.1991950721, 0.29522717, -0.182049036, -0.0481583513, 0.0967649668, -0.1104339659, 0.1154732704, -0.0914801434, -0.0285997111, -0.0884018838, -0.2061739117, 0.4221622348, -0.1525806636, -0.2434085757, -0.1781022251, 0.3155747056, 0.6904436946, -0.0083416728, 0.2538993955, 0.7813726664, 0.041380439, -0.364153564, -0.6008277535, -0.3333461583, -0.4047290087, 0.3567824662, 0.1283391565, -1.3157365322, 0.4995422363, -0.0895346105, 0.1961856037, 0.4172384441, 0.8342823386, 0.0725125223, 1.489151597, 0.6047435999, -0.4350142777, 0.536269486, -0.3430018425, 0.2479033768, -0.9329625368, -0.1162399799, -0.1264151931, -0.571149528, -0.465324074, -0.6611231565, 0.6383664608, -0.1198140383, 0.2055878639, 0.299256295, -0.2861778438, 0.5468063951, 0.4643023312, 0.2476407737, 0.5304566026, 0.4577359855, 0.2502523661, 0.1156138256, -0.4956686795, -0.5374937057, 1.1418063641, 0.390450418, 1.2243107557, 0.257938683, 0.0514408909, 0.388419807, 0.7615217566, -0.8558202982, 0.6525573134, -0.5022640824, -0.6699352264, -0.3582699895, -0.5832077861, -0.8615653515, 0.3081090748, -0.1951298416, -0.2274935842, -0.3158403635, -0.0434945896, -0.5158497691, 0.5995970964, -0.462105006, 0.1114823073, -0.0516031533, -0.2325957119, -0.777933836, -0.2693904042, 0.2934198081, -0.1686327457, 0.2338563055, 0.1076982319, -0.1140147522, 0.701767385, -0.327503264, 0.86353302, 0.2034825236, -0.5764507055, 0.5891498923, 0.2289782614, 0.6264982224, 0.4107062221, 0.1631019264, -0.1028598398, -0.3905983269, -0.224376902, -0.6147336364, 1.1690206528, -0.6592609882, -0.7469565272, 0.0501731597, -0.6005310416, -0.0718513876, 0.0670505166, -0.0552823916, 0.1747540534, -0.0587491728, 0.731048286, 0.6724398136, 0.1067204475, 0.2396623194, 0.5035964251, -0.3159295619, -0.7994365692, 0.6347134113, 0.0497848354, 0.544677496, 0.0318001658, 0.3019515276, -0.6457916498, -0.4679798782, -0.494641304, 0.3154197931, -0.5731462836, -0.0366784148, -0.6763725877, 0.0501044616, -0.6455579996, -0.1792606413, -0.4016777873, -0.2476601601, -0.2968952954, -0.0381484143, 0.2777536213, 0.9105570912, 0.0883440822, 0.664890945, -0.5911585689, 0.4447891414, 0.7340924144, 0.6801671386, 0.0232609101, -0.7895032167, -0.3465082049, -0.1057053804, -0.3053393364, -0.4687604308, 0.2891447842, -0.1229607537, 0.3440472484, 0.76080966, -0.1548902988, 0.5113660097, -0.2594955564, 0.9621958137, 0.1520762742, -0.5543726683, 0.1976024359, -0.4124463797, 0.2933269143, 0.4906665683, 0.4872676134, -0.4665831327, -0.2055107802, -0.2950489223, -0.8791268468, 0.3517506719, 0.035193447, 0.5406181812, 0.0516665988, 0.2208013535, 0.0488470159, 0.2748985589, -0.6901350617, -0.0101171387, 0.3129905462, 0.3883506358, -0.4712189138, -0.7131993771, -0.4017745852, -0.1978858858, 0.7911513448, -0.1172562167, -0.1363033652, 0.0329479054, -0.0112703722, -0.4846038222, 0.3257414103, 0.4784001708, 0.7279547453, -0.2503378987, 0.1390906423, 0.1073320433, -0.4533208013, 0.1435685158, -0.299695015, -0.3387295008, -0.1287970692, 0.0961920172, 0.7049381733, 0.2029573917, -0.5410491228, 0.5342624187, -0.1968655735, -0.1803438067, 0.0751626492, -0.1274077445, 0.0445097946, 0.2135938257, 0.1108410805, -0.2275623381, 0.136960268, -0.5780745745, 0.3227054775, 0.4972782433, -0.5198742747, -0.2690519989, 0.7883812785, 0.4706023932, -0.06102027, 0.5611613393, -0.0735218972, -0.4958133101, 0.5163291097, 0.6551026106, 0.9099120498, -0.1944660842, 0.3180424571, 0.3827686906, 0.3978472054, -0.2136117816, -0.0840365738, -0.0568950437, -0.5946601033, -0.623241961, -0.4854017794, -0.6915128231, 0.3421108425, -0.5518904328, 0.22990641, -0.5677799582, -0.3198032379, -0.139026463, 0.365958631, -0.2892392874, 0.3685501516, 0.2963404059, 0.6724044085, -0.9648622274, 0.5261185169, 0.7768841982, -0.1213772595, -0.6034139395, -0.0809224397, 0.199803561, -0.5278576612, 0.1401400566, 0.1533908695, -0.3301774263, -0.1589307785, -0.6468334198, -0.7622461915, 1.0259757042, -0.0494018942, -0.6194438934, 0.2549096942, -0.2974864841, 0.7708391547, -0.7557091117, -0.0130304713, 0.3195045292, 0.2437571138, 0.2149135023, -0.7189217806, 0.1437928826, 0.095641084, 0.1599036306, -0.0609082952, -0.5802269578, 0.93114537, -0.4169505537, -0.3047580123, -0.0651572272, 0.5430803299, 0.3300885856, 0.2699623704, 0.9211043715, 0.5819152594, 0.415266782, 0.3708417714, 1.2253928185, -0.1210041568, 0.588064611, 1.0182231665, -0.3066094816, 0.641336441, 0.5687099695, -0.1877033412, 0.4637100399, 0.6347322464, -0.1824362129, 0.3954497874, 0.2757206261, -0.4811972976, -0.3618860841, -0.4464164078, -0.1384447962, -0.0014759875, 0.2284960747, -0.6959070563, -0.4709207714, -0.046092473, 0.2418731749, 0.2992344797, -0.5307325721, 0.8669734597, 0.0322871916, -0.6297029257, 0.3848769963, 0.1640817225, 0.6101419926, -0.4827853739, 0.0332459882, -0.262827754, 0.1592774093, -0.0557765923, -0.9647247791, 0.1491642594, -0.1040506661, -0.3984323144, -0.6607503295, 0.610071063, -0.6833506227, -0.656873107, 0.5028311014, 0.217294395, -0.0676315203, -0.2351350784, -0.3461763561, 0.1658887118, -0.0326659605, -0.4934692979, 0.2693641782, 0.0395205431, -0.4486015141, 0.5781341195, 0.8436661363, 0.3981310129, -0.0175143909, 0.3792419136, 1.0797100067, -0.3450800776, -0.6159781218, -0.6198428869, 0.014731776, -0.0931354463, 0.0725505054, 0.8059268594, 0.5041684508, 1.1614857912, -0.0507230163, 0.540851593, 0.2027754784, 0.3199286163, -0.3843678236, 0.7660396099, -0.6710586548, 0.6281638741, -0.0695032328, -1.1599128246, -0.5374239683, 0.3436826468, -0.4216009378, 0.0140044531, 0.4968710542, 1.0098859072, 0.0268766694, -0.1876638532, 0.3802134693, 0.2332446426, 0.5261274576, 0.4865196049, 0.7081542611, -0.3453046083, 0.8262759447, -0.2569796443, -0.1350502968, -0.4001941085, -0.7710191011, -0.9617240429, -0.3205857575, -0.3237015605, -0.6538904905, -0.3191360831, 0.7638491392, 0.9108166099, -0.8000636697, -0.3694338202, 0.3839393854, 0.3380922675, -0.419829309, -0.1746852547, 0.3391206563, -0.1666925848, -1.0238131285, 0.3967072666, 0.3339357376, -0.286667347, -0.6202062368, 0.0038059275, 0.0603107587, 0.184321627, 0.9186577201, -0.2074568123, -0.6402231455, -0.3217440248, -0.0842261016, -0.3340491652, 0.0345142297, 1.0568765402, -0.4245580137, 0.8914942145, 0.6700853109, 0.4613075256, 0.3696804047, 0.3152704537, 0.3964144886, -0.5500171781, -0.279642731, 0.0622590519, 0.1112415418, 0.2651036084, -0.3019284606, 0.3345394135, 0.1202082783, -0.6739906669, -0.4470559359, 0.2881360352, -1.0650495291, -0.0983279496, 1.5008380413, -0.0339175723, -0.153419897, 0.3262794614, -0.3556222916, -0.1286823601, -0.462411195, 1.2158075571, 0.6102780104, 0.1425802261, -0.032437671, -0.292481482, 0.318497777, 0.3623173833, -0.4867210984, -0.0357764885, 0.645745635, 0.5641907454, 0.1274595559, 0.6160574555, -0.4720024765, 0.0254777875, -0.3663730025, -0.2799963355, 0.1291324794, -0.5032579899, -0.6851345897, 0.3000888526, -0.1348161846, 0.0353722386 ]
http://arxiv.org/abs/2402.05318v1
http://arxiv.org/pdf/2402.05318v1
Navigating the Knowledge Sea: Planet-scale answer retrieval using LLMs
2024-02-07T23:39:40
2024-02-07T23:39:40
Dipankar Sarkar
cs.IR
cs.IR, cs.CL, cs.LG
Information retrieval is a rapidly evolving field of information retrieval, which is characterized by a continuous refinement of techniques and technologies, from basic hyperlink-based navigation to sophisticated algorithm-driven search engines. This paper aims to provide a comprehensive overview of the evolution of Information Retrieval Technology, with a particular focus on the role of Large Language Models (LLMs) in bridging the gap between traditional search methods and the emerging paradigm of answer retrieval. The integration of LLMs in the realms of response retrieval and indexing signifies a paradigm shift in how users interact with information systems. This paradigm shift is driven by the integration of large language models (LLMs) like GPT-4, which are capable of understanding and generating human-like text, thus enabling them to provide more direct and contextually relevant answers to user queries. Through this exploration, we seek to illuminate the technological milestones that have shaped this journey and the potential future directions in this rapidly changing field.
[ -0.6049958467, -0.8000571728, 1.141023159, -0.2138794214, -0.0934090838, 0.4433979094, 0.0469753183, -0.4480186403, 0.079621464, 0.5860397816, -0.5478785038, -0.2940531671, -0.4101791382, 0.0404057503, -0.3844124973, 0.8384878635, 0.1816282868, -0.1000651568, -0.3385776579, 0.0790419281, -0.2092106491, -0.6625477672, -0.3932309151, -0.3979477584, 0.6280784011, 0.2987703085, 0.8434351087, 0.7212541699, 0.9091056585, 0.2589374781, -0.2864098549, 0.1107420549, -0.4404624999, 0.3518604338, -0.3538852632, -0.7675324082, -0.3492401838, -0.0120025706, 0.5719213486, 0.8513206244, -0.1931625456, 0.2390336543, 0.0706852004, 0.7944303155, -0.3932723701, 0.1101761758, -0.6026628613, -0.0275641363, -0.3342725039, -0.7107492685, -0.1763668805, -0.4820031524, 0.2906806767, -0.8415749073, 0.0454993621, 0.425604552, 0.4592383802, 0.1680078655, -0.6735390425, -0.7021451592, -0.8640838265, 0.7753348947, -0.4500315189, 0.5491688251, 0.0355956927, 0.6071253419, -0.3985610604, -1.0423295498, -0.5331884623, -0.0283555612, 0.2797228098, 0.0767641068, 0.0268784557, -0.0567718074, 0.0437581129, 0.4332864583, -0.57984519, 0.0398170687, -0.5713291168, 0.0549163297, 0.3619036674, 0.2388899326, 0.2079745978, -0.2650114596, -0.4249008298, 0.11084719, -1.044782877, -0.205337733, 0.0545935147, 0.4592984915, 0.2397647798, 0.6653813124, -0.1553771496, 0.8776701689, -0.1695767641, -0.3413996398, 0.012473573, -0.3391503394, -0.082015723, -0.0688355342, 0.4710960686, 0.3223258257, -0.0287311412, -0.1281373799, -0.1548916698, -0.3685958087, 0.309251368, -0.6914735436, 0.0730667487, -0.0376645178, -0.5504177213, -0.3192378879, 0.0052276105, -1.0077764988, -0.8042209744, -0.3747692704, 0.5037166476, -0.0808366686, -0.3419059813, 0.1817228198, -0.0939802602, 0.4724270105, 0.3920719326, -0.6756783128, 0.3140332699, 0.8968594074, 0.9249876738, -0.1013370529, 0.2707555294, -0.2007560432, 0.2650689483, -0.3056785464, 0.7568854094, -0.5692831278, -0.7247934937, 0.1816268265, -0.1568921506, 0.3328731954, -0.6369723082, 0.4469848275, -1.3539830446, 0.2263890952, -0.6620761752, -0.593380928, -0.4402893186, 0.6102112532, -0.6028890014, 1.003534317, 0.0224086065, -0.7013271451, 0.0208156109, -0.9192199707, -0.0044217198, 0.521795094, -0.2196484357, 0.186522007, -0.091523461, 0.0131635629, 0.203915745, -0.996294558, 0.034863919, -0.2616295218, -0.4790529609, 0.0728593469, -0.0268911738, 0.3876418471, 0.3545402884, -0.1265064627, -0.1386413425, -0.4909397662, 0.0990510583, 0.1272681952, -0.6216677427, -0.5035060048, 0.1176754236, -0.1754551828, 0.5128595829, 0.7724329829, -0.4448493421, 0.432325989, -0.0112446398, 0.717880547, 0.6304669976, 0.2594729364, 0.5169265866, -0.2448608577, 0.6498154998, 0.0477492623, 0.2502034009, -0.2743290961, -0.6157260537, -0.4032013714, 0.3459305167, 0.134447515, 0.5942612886, -0.9618073702, 0.0726194531, -0.7180399895, -0.6455501914, -0.7097061276, 0.1891195774, -0.0554202236, 0.5512375832, 0.4703102708, 0.022454761, -0.3216220438, -0.7463067174, -0.2126372457, -0.3631686866, -0.2372771651, 0.4992805123, 0.2408171892, -0.2773085833, 0.8042455912, -0.5802335143, -0.0556300692, -0.196210131, -0.1550422311, 0.438493818, 0.1082784683, 0.0769514292, -1.3955465555, -0.161210224, 0.2039174885, -0.9257876873, -0.0850440338, 0.2108087689, -0.0414069071, -0.2574882209, 0.9370171428, -0.4975630045, 0.044730179, 0.3272639811, -0.1289687157, 0.4385231733, -0.18400684, 0.3865623772, -1.0941970348, 0.2196819037, -0.0365907885, -0.0594929494, -0.5204820037, 0.3162248433, 0.1667028368, 0.0805724934, -0.0736269876, 0.4560551047, -0.6725051999, -0.5632301569, -0.2853336334, 0.6929320097, -0.1345353425, 0.0063117486, -0.2251992673, 1.0538778305, 0.2028289139, -0.8806151152, 0.5505943894, 0.2724449039, -0.2329310179, 0.6824487448, -0.3675630391, 0.3130015433, -0.2132081389, 0.1089336872, -1.0914860964, -0.0817293897, -0.2317808867, -0.2431931496, 0.0391639434, -0.1683348715, -0.8175022006, -0.6475225687, -0.2753103971, 0.4463503361, 0.4322214127, -0.608240664, 0.5816829801, 0.5736920238, -0.6627063751, -0.4358919561, -0.4492994249, 0.3991856575, -0.3659257293, -0.6083425283, 0.345087111, -0.3994188011, -0.431760937, -0.2518828511, -0.1607948691, 0.0629530698, 0.022499837, -0.0675842538, 0.623136878, -0.3556486964, 0.3470624983, -0.165448606, 0.1647135615, 0.1077616289, -0.546705842, 0.6862681508, -0.2337248027, -0.2335298061, 0.0010065498, 0.1555463076, 0.7840148211, -0.2683710158, 0.5644232035, 0.2703537345, -0.1173514947, 0.3102214932, -0.8237688541, -0.2328812927, -0.5573593378, 0.4430579841, -0.4400289059, -1.2186723948, 0.5319183469, -0.589127183, -0.0984469652, 0.2987105846, 0.2485113442, -0.0888732374, 0.8313438892, 0.901263535, -0.1121278182, 0.3660795689, 0.1341330409, 0.3208518326, -1.1491211653, -0.4773662984, -0.5115674734, -0.2534532547, -1.0873376131, -0.5064259171, 0.8998169899, -0.0899408087, -0.5027007461, -0.0950413793, -0.4210973084, 0.3543255627, 0.4268175066, 0.0847375095, 0.5959636569, -0.1226838529, -0.1237981915, -0.112732932, -0.6808007956, -0.5379137397, 1.2982574701, 0.2868078053, 0.8591141701, 0.3609910011, 0.4811843336, 0.2878872752, 0.2312917262, -0.6538055539, 0.8660553098, 0.1136073694, -0.6299224496, -0.3515816033, -0.4771809578, -0.7680621147, 0.3400435448, 0.0302716363, -0.5264204741, -0.0221123807, -0.3503417373, -0.2290148139, 0.4569225907, -0.3016301095, 0.3550803065, -0.2375239432, -0.4662097991, -0.2071820945, -0.9411574006, 0.2093081772, -0.1790840775, 0.498809278, 0.2591624856, -0.4860887527, 0.7148708701, 0.1283124089, 0.3975148499, -0.141575411, -0.3087828159, 0.212704733, 0.2593600452, 0.3092199564, -0.2547307014, -0.2305920124, -0.2685429156, -0.0105090719, -0.3397243619, -0.5009073019, 0.9476523995, -0.5938735604, -0.8353247046, -0.2497584671, -0.5303940773, -0.3401543498, 0.4775642753, -0.0312169585, 0.1873863041, -0.056724418, 0.203118369, 1.2387382984, -0.25137344, 0.3232697845, 0.673982501, -0.6347987056, -0.1312446743, 0.6726087332, 0.1980852485, 0.1962017119, 0.6199788451, 0.00667952, -0.5458085537, -0.5570388436, -0.174792856, 0.487595886, -0.9339305758, -0.266441375, -0.405921638, -0.1875342727, -0.2178589702, -0.0158011913, 0.0153640946, -0.2437973619, -0.1007122695, -0.2044059783, 0.2069163918, 1.3101581335, 0.1423268318, 0.2329796255, -0.753724575, 0.1462848186, 0.3417690098, 0.2568085194, -0.1516668051, -0.5873420835, -0.128472954, -0.1606607139, -0.4090132415, -0.9669653177, 0.2071765065, -0.0930190757, 0.4297369719, 0.1502714753, -0.1704560369, 0.5319057703, -0.4615316987, 0.9725498557, -0.0008260045, -0.51088202, 0.5285245776, -0.665337801, 0.5219781399, 0.3322602808, 0.6076884866, -0.9990816116, 0.0963646844, -0.2806007564, -1.0754622221, 0.3845385909, -0.3689084053, -0.0150415096, 0.1423319578, 0.8069798946, 0.0071293032, 0.5792322755, -0.5816115141, -0.1352487952, 0.219512403, -0.007661073, -0.0467151031, -0.233647123, 0.0189328957, 0.0718298554, 0.8399335742, -0.2341410965, 0.3685017228, 0.1993266344, -0.056034483, -0.1063283607, 0.4782923758, 0.3031834364, 0.7368917465, -0.1364199966, 0.1673520505, -0.0562654994, -0.5455650091, 0.0568843037, 0.1761741936, -0.1850441545, -0.252137363, -0.0250430033, 0.4745028615, 0.1791674048, -0.5708250999, 0.3539293706, 0.1075615734, -0.0353215598, -0.3907872438, -0.05186335, 0.3516608477, 0.453646332, 1.0824213028, -0.3685798347, 0.3821042478, -0.6284613013, -0.0272578653, 0.4458957613, -0.3903062642, -0.1783936471, 0.7098886967, 0.0420347638, -0.1619886011, 0.651081264, 0.0744287893, -0.3566925824, 0.2312598228, 0.3896701932, 0.508731246, -0.4227111936, 0.0627295449, 0.1633450091, 0.4401569664, -0.0426807478, 0.3409160078, -0.1627332568, -0.4567724466, -0.1853251606, -0.6708391309, -0.4788713455, 0.220203653, -0.6834452748, -0.0114388624, -0.3861200213, -0.2587874234, -0.0080124578, 0.0808529705, -0.7082338333, 0.2147897929, 0.3040626645, 1.2316939831, -0.4439234734, 0.5179219246, 1.0400929451, -0.3792383373, -0.3415768445, 0.1589722633, 0.2450138032, -0.7681216598, 0.8944503069, 0.0426167101, -0.2464827001, 0.3222900033, -0.766821444, -1.1547861099, 1.5718755722, 0.0176794436, -0.4306434095, -0.4659594297, 0.3396838307, 0.5710125566, -0.3416762352, 0.2996021211, 0.6941766739, 0.4572006762, 0.0176649056, -1.0226213932, 0.0767186955, -0.0597318411, 0.4028432965, 0.3100683689, -0.6432988644, 0.7361991405, -0.0726498514, 0.0009169467, 0.2137035877, 0.6296064258, 0.2659862339, 0.0881817341, 0.2723034918, 0.2094810754, 0.8609415293, -0.190759927, 0.9367001057, -0.2825025618, 0.1349385381, 0.5221819282, -0.3917426467, 1.0204979181, 0.7542681694, -0.3779696226, 0.6956089735, 0.5976225138, 0.3344391584, 0.4088131785, 0.2194187194, -0.6366596818, -0.2352921367, -0.1477679163, -0.2769926488, 0.2377888709, 0.7913709879, -0.3000859022, -0.419626981, -0.0016516665, -0.0323627703, 0.070449613, -0.6667862535, 0.8878269196, 0.0943175778, -0.75298208, 0.324208945, -0.0760435462, 0.7156999707, -0.753046751, -0.0222063679, -0.1784816235, 0.0048869527, -0.0746067315, -1.1248818636, -0.2469163388, -0.2396972477, -0.2242430151, -0.0837233141, 0.7655175924, -0.2138156742, -0.037232291, 0.4598821104, 0.7418546677, 0.1549338549, -0.0695262998, -0.6971021891, 0.0170772336, 0.0087541118, -0.4153701961, 0.4947163165, 0.5653498769, -0.1123496965, 1.0954101086, 0.5978637338, -0.1562211215, 0.2875362635, -0.3044728935, 0.9935905933, -0.9518715143, -0.5710032582, -0.6083493233, 0.075929068, -0.0437576436, 0.0825428292, 0.7123658657, 0.6309353709, 0.4112162292, 0.1173995435, 1.0877922773, -0.0583454557, 0.7841092944, -0.3798907995, 0.5083302855, -0.5142298341, 0.5551738143, -0.1787759364, -1.04248631, -0.0792199075, 0.1175757051, -0.5750978589, 0.2583835721, 0.4268480241, 0.7878064513, -0.0238362905, 0.153061524, 0.2561506629, 0.2910321057, 0.4670854509, 0.3176883161, 0.8185302615, -0.3174485564, 0.7390953302, 0.3396920562, -0.37001279, -0.3916077912, -0.7519586682, -0.2304396927, -0.7403774261, 0.0541916303, -0.1700073332, 0.2468896061, 0.6747248769, 0.3766049147, -0.3896813691, -0.5195173025, -0.0446496233, -0.1637016684, 0.1881762147, -0.2473568022, 0.0867333114, -0.3849116266, -0.4692008197, 0.5268741846, 0.512278676, 0.0463747717, -0.4929821789, 0.0441681854, -0.3814657331, 0.1030669883, 0.6027951837, 0.4149803519, -0.4538356662, 0.0052283881, 0.3919217587, -0.2162454575, 0.1222238988, 0.6492334008, -0.9126092196, 0.4531035423, 0.2472726107, 0.7931622863, 0.6096606255, 0.0420917086, 0.6322137117, -0.402789861, -0.2707278132, 0.1826158017, 0.1332429498, 0.7602256536, -0.3409960866, 0.6608898044, 0.1972703636, -1.0000190735, -0.6942577958, 0.2590641379, -0.8366692066, -0.2426018864, 1.1376581192, 0.2013367862, -0.2521459758, -0.2063348293, -0.200237453, -0.0616465323, -0.1792923808, 0.7719871998, 0.7842783928, -0.1961457729, -0.1904156357, -1.0792540312, 0.4114735723, 0.1536867321, -0.8730044365, -0.0371201746, 0.4841733575, 0.4295467734, 0.575394392, 0.5184143186, -0.359607935, 0.1093217731, -0.4518738985, -0.0748114511, 0.335612148, -0.156025961, -0.1864329576, 0.3472483754, 0.412178874, 0.0977611169 ]
http://arxiv.org/abs/2402.05294v1
http://arxiv.org/pdf/2402.05294v1
Examining Modality Incongruity in Multimodal Federated Learning for Medical Vision and Language-based Disease Detection
2024-02-07T22:16:53
2024-02-07T22:16:53
Pramit Saha, Divyanshu Mishra, Felix Wagner, Konstantinos Kamnitsas, J. Alison Noble
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV
Multimodal Federated Learning (MMFL) utilizes multiple modalities in each client to build a more powerful Federated Learning (FL) model than its unimodal counterpart. However, the impact of missing modality in different clients, also called modality incongruity, has been greatly overlooked. This paper, for the first time, analyses the impact of modality incongruity and reveals its connection with data heterogeneity across participating clients. We particularly inspect whether incongruent MMFL with unimodal and multimodal clients is more beneficial than unimodal FL. Furthermore, we examine three potential routes of addressing this issue. Firstly, we study the effectiveness of various self-attention mechanisms towards incongruity-agnostic information fusion in MMFL. Secondly, we introduce a modality imputation network (MIN) pre-trained in a multimodal client for modality translation in unimodal clients and investigate its potential towards mitigating the missing modality problem. Thirdly, we assess the capability of client-level and server-level regularization techniques towards mitigating modality incongruity effects. Experiments are conducted under several MMFL settings on two publicly available real-world datasets, MIMIC-CXR and Open-I, with Chest X-Ray and radiology reports.
[ -0.0967648774, -0.7579455972, 0.2432020605, 0.1208097711, -0.1167147905, -0.1966883689, 0.0113570392, -0.7381778955, 0.3281946182, 0.1435379088, -0.6467731595, -0.1107483655, -0.3561199903, 0.2815787196, 0.1802929938, 0.9414444566, 0.0994295925, 0.4142623246, -0.4143903255, -0.5403049588, -0.4149935544, -0.4683833718, -0.3663482964, -0.3961060643, 0.5140999556, 0.4592772722, 1.0367017984, 0.7475995421, 0.728942275, 0.2262056321, 0.4132535756, 0.2255117893, -0.3770886362, 0.0691039711, 0.0536077879, -0.4227308929, -0.5073429346, 0.1867981106, 0.6469402909, 1.0086889267, 0.0892026722, -0.006233633, -0.2390254438, 0.5438066721, -0.5046996474, 0.2381447554, -0.2063242346, 0.6585866809, -0.389960587, -0.4559786916, -0.2170096934, 0.2967403531, 0.2826581597, -0.481993556, 0.2841528952, 0.0448038951, 0.587182045, 0.3738994598, -0.7273441553, -0.3113788962, -0.4305711389, 0.436032474, -0.5113865137, 0.7004229426, 0.5243750811, 0.228339687, -0.1203828752, -0.5911664367, -0.3629606962, -0.3759405315, -0.4043618739, 0.3312060535, -0.0469740406, 0.2246761769, 0.1201657057, 0.5059328675, -0.7777372599, 0.1263322532, -0.2589136064, -0.5325097442, 0.419110626, 0.1907028407, 0.3226425648, -0.31680125, -0.7087826729, 0.0847718939, -0.4738683701, 0.0957695618, 0.2963633835, 0.2347734272, -0.4122680128, 0.3884465396, -0.1694255024, 0.5622255206, 0.1274347603, -0.6744453311, 0.5285786986, -0.708851397, -0.482301414, -0.1147675514, 0.6874759197, -0.1189205125, -0.4942926168, -0.2451952994, -0.1771939546, -0.2346634269, -0.0820616558, -0.4508055151, -0.311432749, 0.1743512005, -0.9293336272, -0.3103701174, -0.0641098246, -0.3833174706, -0.2118244469, -0.2470987588, 0.5765485168, -0.6189220548, -0.5283344984, -0.1151480526, 0.0600356236, -0.1288946271, 0.4229733348, -0.6852912307, -0.0874026269, 0.3401637673, 0.6339175701, 0.0267090332, -0.4951861501, -0.7503839135, 0.097802192, 0.0832708478, 0.5101328492, -0.6174653172, -0.190679118, -0.2918741107, 0.097387515, -0.5835828781, -0.4846286774, 0.289478749, -0.1229838207, 0.4866183996, -0.1377004087, -0.3615667224, -0.291349858, 0.3747269213, -0.8013171554, 0.4961663187, 0.2485427111, -0.5072159171, 0.4596455693, -0.5079151392, -0.5452409387, 0.1187869459, -0.5013452768, -0.517726481, 0.1927507222, -0.1658918411, 0.57355088, -0.2135427147, 0.1789248139, -0.4626092017, -0.2925661504, 0.4755812883, -0.769359827, 0.7418797016, 0.2398763448, -0.369225055, -0.0487845913, -0.851968348, -0.1719097644, 0.0102166627, -0.411370635, -0.2561508119, -0.1632116139, 0.2933672667, 0.4507420063, -0.0388471968, -0.3530773818, -0.0229610745, -0.3738229871, 0.2883256376, 0.5953277946, -0.1437263638, 0.0160540603, -0.7478548884, 0.514125824, 0.4337813556, 0.7108286619, -0.3714981675, -0.3062062562, -0.2976144552, -0.8397099376, -0.1127023101, 0.0898473784, -1.0383262634, -0.2175751925, -0.0836190358, -0.0383227915, -0.595977366, 0.0211108923, 0.7958397269, 0.6115068793, 0.3200546801, -0.5176224709, -0.2167909592, -0.9403359294, 0.0270539839, -0.0601338632, 0.3335112929, 0.4217110872, 0.2003827691, -0.5575805902, 0.5023804903, 0.0465569571, -0.8224179149, 0.097765699, 0.1049532145, -0.0886590555, 0.4238620698, 0.7156566978, -1.0229568481, -0.352905184, 0.1646079421, -0.7538856268, 0.0629915893, -0.2508401871, 0.437422961, 0.4147573411, 0.2576552629, -0.1191605181, 0.3821426928, 0.7249171138, -0.547262013, 0.600174129, -0.303807646, 0.4015163779, -0.7012791634, 0.1577572078, -0.0809311345, -0.3642841876, -0.7271802425, 0.1749252975, 0.052939143, -0.165054068, -0.1939019114, 0.2389806807, -0.5928139091, -0.1540437341, -0.0094556576, -0.3343081772, 0.1486688554, 0.507327199, -0.3891341388, 0.7073810101, 0.4587316811, -0.2193487287, 0.0697201118, 0.0425468944, 0.1046330407, 0.7384907603, -0.2545155287, -0.1413511485, -0.2761662602, 0.1037103608, -1.0997463465, -0.462071389, 0.4766450524, -0.3097251952, 0.4780620039, 0.0010393751, -0.6157274246, -0.1418950856, -0.3285140097, 0.8057742119, -0.2350606322, -0.3474480808, 0.5993139744, 0.2284508497, 0.3890219033, -0.4510733485, -0.8736295104, -0.1638726145, 0.0688863546, -0.7810035348, -0.0354024097, -0.5015217662, 0.0099692801, -0.0186749902, -0.216263026, -0.2214527726, 0.2708658874, 0.4717107117, 0.1664459556, -0.3949151039, 0.5886816382, -0.0821791887, 0.0762909949, -0.1689671874, 0.0476034768, 0.3847727478, -0.2390328199, -0.9762054086, -0.5210168362, 0.6195385456, 0.8137644529, -0.2640218139, 0.3868886232, 0.8022050858, -0.1820922047, 0.1334539205, -0.6901320815, -0.1514231414, -0.4062831104, 0.2103420496, -0.558618784, -1.0189204216, 0.3906796277, 0.2714186311, -0.2983483076, 0.1805635095, 0.5137856603, 0.0234538224, 0.8558580279, 0.8700292706, 0.1488883793, 0.5545538068, 0.0073213149, 0.1030498669, -0.5718083382, -0.3934614062, 0.067563571, -0.3529938161, -0.3977592289, -0.4640473127, 0.7613414526, -0.2773780525, 0.2718860209, -0.2742463946, -0.3224366009, 0.1947632283, 0.2479054779, 0.5364995003, 0.6889182925, 0.0552054979, -0.2928658426, -0.1652325243, -0.8561641574, 0.3033455908, 1.1458030939, 0.3246546984, 0.5305173397, 0.3332616389, 0.3490054905, 0.5681946874, 0.4811016321, -0.8082864285, 0.0703368634, -0.1539383531, -0.5592710972, -0.1117116436, -0.6237900853, -0.8499077559, 0.5235160589, -0.4114866853, -0.2315847576, 0.6800031662, 0.2350308448, -0.2514670789, 0.0611048825, -0.722452879, 0.8773261309, -0.2269054949, -0.3111230135, -0.2369606644, -0.9185205698, 0.5577517152, -0.1564518213, 0.3595734537, -0.1650336385, 0.0484498329, 0.0688729212, -0.3652872145, 0.9342418909, 0.0624442585, -0.0114252046, -0.4083512425, 0.0126117896, 0.1004869565, 0.2428812981, 0.1555627435, 0.2877586782, 0.0024680775, -0.4638950825, -0.1626358032, 0.7129753828, -0.70714885, -0.3479931056, -0.5148285627, -0.9497029781, -0.3163413703, 0.2080253512, 0.2902625501, 1.0292122364, 0.07121104, 0.0697544515, 0.8182688355, 0.1060094237, 0.4952560365, 0.7958119512, 0.1141933128, -0.4593538344, 0.903319478, 0.2987238765, 0.5745269656, 0.4367485344, 0.1710851341, 0.2161921263, -0.4338666797, -0.433295846, 0.5244526267, -0.6889945269, -0.2508497834, -0.7916178107, -0.0191353206, -0.4535387158, 0.0183225255, -0.2144839317, -0.1454160064, -0.4275405705, 0.3976215124, 0.0471899733, 0.2783857882, -0.3634475768, 0.0016489531, -0.6664587259, -0.0167848803, 0.2353014201, 0.3854355514, -0.002977293, -0.2009376436, -0.3882846832, 0.1655950546, 0.0059692482, -0.6779965758, 0.0256030932, 0.5295560956, 0.64855057, 0.8211342692, -0.1812114865, 0.7555692792, -0.0870408788, 0.249341622, 0.6084427834, -0.6217634082, 0.2352524847, -0.324637711, 0.2857182026, 0.458084017, 0.3218075335, -0.5399148464, -0.33049649, -0.5708674788, -0.3725362122, 0.6004869342, -0.0482632481, -0.147545144, -0.1138164923, 0.1360960901, 0.534506917, 0.19474186, -0.8101755977, -0.5367967486, -0.3229258358, -0.0736303106, 0.0274724271, -0.2029114664, -0.5084143877, -0.2156729847, 0.2564485669, -0.4451909363, 0.4048885405, 0.65303123, -0.3471811414, -0.4832035005, -0.0063202679, 0.8074130416, 0.6428408623, 0.0407331884, 0.1675683856, -0.4041471481, -0.636767149, -0.0563206561, 0.3247362971, 0.019606391, 0.1148199365, 0.6313098073, 0.6814959645, 0.3623833358, -0.8077476025, 0.8698554635, 0.0158447959, -0.2187611908, -0.0313850231, -0.0800646991, -0.4169722795, 0.5736910701, 0.4278558493, 0.4027417302, 0.3976502419, -0.8830371499, 0.3728617132, 0.731311202, -0.6688613296, -0.467218101, 0.6410129666, -0.0314755477, 0.165875718, 0.1568841785, 0.1046595946, -0.0968120173, 0.4845893383, 0.5714671016, 0.4086631238, -0.2492067218, 0.4527354836, -0.2508772314, 0.4580299556, 0.1993378103, 0.1322093457, -0.3450012803, -0.5929131508, -0.3016724885, -0.1954359859, -0.2446896881, 0.0386379175, -0.4625704885, -0.0298425667, -0.4516767263, -0.1042298824, 0.1222209781, -0.0348075703, -0.679181397, 0.1739535034, 0.1382394731, 0.5050961375, -0.9375422597, 0.8528562784, 0.8389400244, -0.7913070321, -0.8120825291, 0.2005687803, 0.3294514418, -0.9012969732, 0.5189207196, 0.2691969872, 0.0324817598, -0.1098148152, -0.2605911791, -0.9539800882, 1.3069504499, 0.2937809527, -0.1077478006, 0.1621810645, 0.3393277824, 0.4849038422, -0.3705567718, 0.2000669986, 0.1307125241, 0.2980796993, 0.1124008149, -1.2076038122, 0.2301228046, -0.2360805422, -0.1447826475, 0.249176681, -0.9350270629, 1.1130838394, -0.1206720471, -0.3426746726, -0.284484297, 0.1683543175, -0.2736986279, 0.6334536672, 0.3096900582, 0.5538058877, 0.7295472622, 0.137469396, 0.8279651403, -0.0164224431, 0.2904575467, 0.8419328332, -0.0756826326, 0.1392575204, 0.5539333224, 0.0527717732, 0.2596282959, 0.2957260311, 0.1471158415, 0.4430477321, -0.3770204782, -0.3082770407, -0.1410269439, -0.2177658081, -0.6666477323, 0.6159704328, 0.2593781948, -0.4021581411, -0.4398477376, 0.8430488706, 0.1015119255, -0.2642525733, -0.1534750909, 0.6805305481, -0.19006899, -0.1358582675, 0.6295685172, -0.2271026969, 0.6532347202, -0.6798893213, 0.0341048166, -0.6224702001, 0.1487584859, -0.3760493696, -0.0920825079, 0.205365181, -0.8386439085, -0.5326039791, 0.015054008, 0.6744406819, -0.6041990519, -0.1939935237, 0.2406980544, 0.7391918302, -0.0291293953, 0.113350153, -0.5862388611, 0.1840460002, -0.0719510987, 0.0330701172, 0.729580164, 0.7084777951, -0.0002569505, 0.6928818822, 0.7869940996, -0.0965095609, -0.0306618288, -0.1487269849, 0.9186118245, -0.207482338, -0.2810247242, -0.5623924136, 0.2427408546, 0.1494122744, -0.3588319123, 0.7381568551, 0.3833607435, 0.8922784925, -0.0124021899, 0.3321099579, -0.066620186, 0.0020508522, -0.4019165933, 0.7476735115, -1.0835921764, 0.2313729376, -0.0234515872, -0.2201602012, -0.5820691586, 0.3056022823, -0.0067659798, -0.4030697048, 0.8615508676, 0.74981004, -0.3240974247, -0.001291095, 0.7537216544, 0.1882404387, 0.0989916399, 0.4897676706, 0.283929646, -0.3120391667, 0.4300673604, -0.4518427551, -0.4878756404, -0.6745439768, -0.516936779, -0.8131309748, -0.6060265303, -0.3495096862, -0.131394431, -0.0441475958, 1.0188838243, 0.6797994375, -0.4939397275, 0.0137017686, 0.2529279888, 0.0911494344, -0.4283700883, -0.2531342804, 0.2645139992, -0.3845820725, -0.2809771597, 0.5491356254, 0.7703068256, 0.1427810341, -0.4569012523, 0.2202833593, -0.3769976795, -0.254586339, 0.6807842851, 0.2923888564, -0.626067102, -0.3146398067, -0.123797968, -0.3750654757, 0.336648345, 0.8949949741, -0.7166570425, 0.9340439439, 0.1861571521, 0.573335588, -0.0933648422, -0.340598613, 0.2762813568, -0.7959511876, 0.3850213885, 0.3428031504, 0.4575977325, 0.1730676442, -0.698163867, 0.5252264738, 0.8783149123, -0.3802199066, -0.8423152566, 0.4278851449, -0.9759042263, -0.3720732331, 0.80835706, -0.1032072231, 0.0492489971, -0.3875302672, 0.0411102846, 0.0277724806, -0.1097788364, 0.8169255853, 0.4266211987, -0.3903699815, -0.2065769583, -0.472543776, 0.4256002307, 0.5455231667, -0.5962196589, -0.3619500995, 0.9164803624, 0.4264846146, 0.1171151996, 0.9349307418, -0.1819191724, 0.5547941327, -0.1528368443, -0.2032274455, -0.5580435991, -0.3014642298, -0.3773925006, 0.4276933372, -0.3646874726, -0.0058914414 ]
http://arxiv.org/abs/2402.05282v1
http://arxiv.org/pdf/2402.05282v1
TreeForm: End-to-end Annotation and Evaluation for Form Document Parsing
2024-02-07T21:54:53
2024-02-07T21:54:53
Ran Zmigrod, Zhiqiang Ma, Armineh Nourbakhsh, Sameena Shah
cs.CL
cs.CL
Visually Rich Form Understanding (VRFU) poses a complex research problem due to the documents' highly structured nature and yet highly variable style and content. Current annotation schemes decompose form understanding and omit key hierarchical structure, making development and evaluation of end-to-end models difficult. In this paper, we propose a novel F1 metric to evaluate form parsers and describe a new content-agnostic, tree-based annotation scheme for VRFU: TreeForm. We provide methods to convert previous annotation schemes into TreeForm structures and evaluate TreeForm predictions using a modified version of the normalized tree-edit distance. We present initial baselines for our end-to-end performance metric and the TreeForm edit distance, averaged over the FUNSD and XFUND datasets, of 61.5 and 26.4 respectively. We hope that TreeForm encourages deeper research in annotating, modeling, and evaluating the complexities of form-like documents.
[ -0.1468226016, -0.973067224, 0.2789347172, 0.2257081121, -0.328528434, 0.3048119247, -0.1685940027, -0.6464081407, -0.001241999, -0.064040795, -0.5985918045, -0.5450574756, -0.4880773723, 0.1403083652, -0.3249160349, 0.645876646, -0.2879691422, -0.1625900567, -0.8212566972, -0.0674394965, -0.101084888, -0.4934414029, -0.4734177291, 0.1490686238, 0.4399141073, 0.1902534217, 0.8645018339, 0.708732903, 0.6078082323, 0.2395270467, -0.5383505821, 0.0509453267, -0.4925836027, 0.3098807931, 0.0958030671, -0.4575367272, -0.5433829427, -0.0397051163, 0.8204925656, 0.6968005896, 0.1424597204, 0.3247021735, -0.2321742177, 0.4819064736, -0.7053393126, 0.5191442966, -0.3382963836, 0.3444166183, -0.4082621634, -0.2436489016, -0.4746029079, -0.0969435945, -0.0021707762, -1.2011547089, 0.3386061192, 0.0827287287, 1.0821486712, 0.1458618492, 0.1234701276, 0.2303972095, -0.4990321994, 0.1562059522, -0.3460919857, 0.8097955585, 0.4782848656, 0.8320406675, -0.0111702057, -0.7200775743, -0.5954620242, -0.1675381511, -0.2153844386, 0.1897653788, -0.4333694875, 0.3952445388, 0.2688310444, 0.6216409802, -0.5291729569, 0.0702619255, -0.318323791, -0.2877236009, 0.5410583615, -0.1029319391, 0.322145462, -0.4713012576, -0.2039728165, -0.3258489966, -0.418105334, 0.7405869365, 0.2740507722, 0.0723694339, -0.1973633617, 0.5118814707, -0.3523661196, 0.7318931222, -0.2453148812, -0.0144040603, 0.3055639565, -0.2143068314, -0.8765863776, 0.0257250406, 0.6039101481, 0.3032538891, 0.1638329178, -0.3352248967, -0.195065245, -0.1119336411, -0.0631268099, -0.8574889898, -0.0494646803, -0.2080035359, -0.5346521139, -0.5529870987, 0.2193666548, -0.4133083522, -0.345323205, -0.2726504505, 0.3031082451, -0.4603979886, -0.248056069, 0.0280959792, -0.2759007215, 0.2687276304, 1.0586010218, -0.5436040163, 0.4919634461, 0.7868536115, 1.0015405416, 0.0615318865, -0.203358233, -0.8929781914, 0.0056278459, -0.2476984262, 1.0817843676, -0.8195582032, -0.4526304901, -0.3879936039, 0.0689880773, 0.0108158337, -0.3227443695, 0.8066159487, -0.1217277125, 0.4423758388, -0.0019977579, -0.2499627173, -0.6081531644, 0.1810468435, -0.828458488, 1.267790556, 0.9081448317, -0.606207788, 0.754322052, -0.5994628668, -0.4414021671, 0.414277643, -0.310605824, -0.5199338794, 0.3831014037, 0.0862408802, 0.4244878888, -0.2451539487, 0.2989317477, -0.5314908028, -0.3123799264, -0.1127482057, -0.6297382116, 0.5436240435, 0.0904626474, -0.3148437142, 0.67297405, -0.9532484412, -0.0630053878, -0.0738396794, -0.1490294337, -0.3354113102, -0.3133808076, 0.4033596814, 0.2148632258, -0.1461535543, -0.5992113948, 0.289866209, -0.288903594, 0.5729006529, 0.6067903042, -0.2033076435, 0.073890537, -0.1879284829, 0.8365854025, -0.1581979245, 0.3731784821, -0.4082451165, -0.4760551751, -0.3691650927, -0.4380442202, 0.168141976, 0.1301336288, -0.0451535955, 0.1667706072, -0.389721632, -0.5840890408, -0.5365642905, -0.0077811861, 0.2599987686, 0.6567212939, 0.1915472448, -0.3257825375, -0.4781287313, -0.8005964756, 0.0822092146, -0.4607487619, 0.2935281694, 0.234625116, 0.1938857287, -0.2210374922, 1.0226136446, -0.2143214643, -0.3207240701, 0.0516739897, 0.0402181335, -0.273688972, 0.2351229638, 0.7627939582, -0.6962807178, -0.2392807156, 0.2228082567, -0.3330392838, -0.1334890127, -0.1521818042, -0.1909498274, 0.0327343605, 0.3816571534, -0.7273887992, 0.7738132477, 0.2588884532, -0.8489174843, 0.5019739866, -0.035178192, 0.2666583061, -0.4458666742, 0.3006275594, 0.0528455786, -0.5161290169, -0.0528922454, -0.0621643923, 0.1050715521, -0.0402871557, -0.3458070755, 0.4818964601, -0.4615167081, -0.2755188644, 0.2357847095, -0.0683785528, 0.4646848142, 0.2054637223, 0.0825881958, 0.7226229906, 0.4407241046, 0.1695177108, 0.1305456012, 0.226865232, -0.1742205769, 0.5528733134, -0.521810174, -0.2262596339, -0.453545332, 0.3160023987, -1.3721957207, -0.1407640278, 0.0435266793, -0.5839323997, 0.2027451992, 0.1215228587, -0.4586054385, -0.1214745119, -0.6873906255, 0.4249418676, 0.160071969, -0.3313067555, 0.555093646, -0.0461880006, -0.0896521881, -0.1458355784, -0.421168685, 0.0778753906, -0.0720018521, -1.0112090111, 0.6434557438, 0.01407927, -0.1300651878, 0.105561927, -0.3981109858, -0.1692959219, 0.4818581343, 0.7303986549, -0.1567908525, -0.6499737501, 0.0092423446, 0.4315465987, 0.0079928692, 0.1199600771, 0.1774525344, 0.0246641245, -0.2617898583, -0.2568944097, -0.3686880171, 0.176847741, 0.8305174708, -0.6106114388, 0.2805536389, 0.4863196313, -0.8170311451, -0.1078171656, -0.3312805593, 0.3786320984, -0.3352461457, 0.2467538416, -0.7332226634, -1.0394819975, 0.262509346, -0.0087325051, 0.2453482449, 0.8672955632, 0.1677227467, 0.0075409049, 0.6765206456, 0.8163978457, 0.5211833715, 0.4583970904, -0.3317910135, -0.0913807899, -0.576533556, -0.7618093491, -0.5629867911, -0.2185330987, 0.0880628899, -0.6306270361, -0.0035924276, 0.8786494136, -0.0094993105, 0.2424290925, -0.4866192937, 0.1993446499, 0.3250891864, -0.2725533247, 0.506755352, 0.2030405551, -0.1391956061, -0.0060428665, -0.3996982276, -0.5342969894, 0.7214720249, 0.6994398832, 0.3455525637, 0.128869772, 0.4439674616, 0.4092999697, 0.7343349457, -0.8288080692, 0.0902219415, -0.0226745196, -0.0398414433, -0.5947270393, -0.0751782209, -0.5973170996, 0.2877891064, -0.2296967208, -0.6938018799, 0.094855547, -0.0579825267, -0.4958387613, 0.0501693822, -0.8503732681, 1.2925745249, -0.2888615429, -0.2390829176, 0.1228330657, -0.3916685283, 0.2845691442, 0.1032205671, 0.349370122, -0.2004539222, 0.0149710812, 0.8723531365, -0.5876089334, 0.4921394587, -0.2626763582, -0.0418406874, 0.2561855614, 0.1879520863, -0.0268538613, 0.3837409616, -0.1049604639, -0.0143439882, 0.298083663, -0.024802912, -0.8964971304, 0.3251969814, -0.690089643, -0.3553066254, -0.4032538235, -0.2083641142, -0.0756569654, 0.2672810256, -0.0448325835, 0.2765020132, -0.4321199954, 0.4177586734, 0.2534433007, 0.0664185286, 0.4029828906, 0.2747524083, -0.4052570164, -0.6185792685, 0.4868083, -0.0755912811, -0.0455450788, 0.70844239, 0.3542403281, -0.6085253358, -0.4456983209, -0.8218203187, -0.1132265255, -0.6195335984, -0.5127409697, -0.8011953831, -0.2348899543, -0.4874627292, -0.2545956671, -0.0402057655, -0.762556076, -0.2637676597, -0.5829315782, 0.6756531, 0.7060289979, 0.0418033265, 0.4535982311, -0.425303787, 0.3960878551, -0.1137115657, 0.8741163611, 0.0107314922, -0.3418160975, 0.0946823135, -0.2732062042, -0.3105104268, -0.8228311539, -0.1582286656, 0.5628402829, 0.7851576209, 0.4274775088, -0.3803920448, 1.0389555693, -0.2559419572, 0.6271908879, 0.3298528194, -0.9511644244, 0.7226833105, -0.0440037474, -0.0353225693, 0.7398506403, 0.0999902412, -0.5522639751, -0.0915250853, -0.7612392306, -0.6327201724, 0.5831477642, 0.2664355338, -0.2659063637, 0.3213365376, 0.3377353847, 0.5054299235, 0.0053184754, -0.6393769383, 0.0741294846, -0.4996778369, -0.140168637, -0.0091638779, -0.1325152367, 0.2495764792, -0.7200037241, 0.3035813272, -0.0931631774, -0.0794920102, 0.4212081134, -0.251074791, -0.5675116777, 0.1655040979, 0.6174288392, 0.7025552392, -0.3478755057, 0.1591454297, -0.2327095121, -0.6066111326, 0.1583369523, 0.5871768594, -0.2994058132, 0.2707939446, 0.7054628134, 0.9623951912, 0.1716438979, -0.6535491943, 0.7862579226, -0.251945734, -0.3492744267, -0.0791654289, 0.1171864048, -0.1331744641, -0.2351859659, 0.1610112041, 0.0576413274, 0.2180402875, -0.4041208029, 0.3628080189, 0.2863673866, -0.7882164717, -0.432433188, 0.831232667, 0.3279383779, -0.3890503347, 0.1065613776, -0.1772117168, -0.2740700841, 0.5082656145, 0.3571778834, 1.170257926, -0.1685780287, 0.5535356998, 0.2207504511, 0.3057893813, 0.4176675081, 0.2873550951, -0.7023599744, 0.1083509177, -0.5667073727, -1.1666189432, -0.1451732218, 0.3120046556, -0.3475159109, 0.5002290606, -0.6956630945, 0.1956128776, 0.303974539, 0.0553818792, -0.6610721946, 0.6369842887, 0.1994320005, 1.2706828117, -0.6963267326, 0.3830559552, 0.9947286248, -0.5865722895, -0.7601881623, -0.2759007514, -0.0176945832, -0.5677701235, 0.7250056863, 0.5951147079, -0.1306199282, -0.3228788376, 0.0237256996, -0.6357361078, 1.1817641258, 0.4440832138, -0.5762887597, -0.4308519959, 0.2680729926, 0.5292816758, -0.2983788848, 0.8122889996, 0.372674793, 0.5293439031, 0.0118163228, -0.9181681275, 0.1892650425, -0.6684148312, 0.0848682374, 0.0898597911, -0.4627733231, 0.4730246365, -0.0085863378, -0.4372846186, -0.1429366767, 0.8350135088, 0.0575986877, 0.4025138617, 0.7084017992, 0.746479094, 0.6411345005, -0.0373735353, 0.7467272878, -0.0963593721, 0.2845621705, 0.8318584561, 0.0745761842, 0.6475938559, 0.3833729327, -0.1786077172, 0.3821533024, 0.7409502268, 0.2034272105, 0.1603283584, 0.6105804443, 0.0002161979, -0.219286114, -0.1556874514, -0.4437875748, 0.5039551854, 0.2930069566, -0.4196320176, -0.7075068355, -0.0575427748, 0.1392557174, 0.3649795949, -0.039760299, 0.6926124096, -0.0535075068, -0.4036467969, 0.4683746099, 0.2539254725, 0.3854049742, -0.548491478, -0.3934287429, -0.0869836211, -0.3299531937, -0.4945274591, -0.9866067171, 0.335658133, 0.1539183408, -0.2500921786, -0.3991882205, 0.5881775618, -0.0762544349, -0.6004498005, 0.2886324823, 0.3762682676, -0.0805159956, -0.4153168499, -0.5609093308, 0.3692352176, -0.2096698284, -0.3256407082, -0.1797288358, 0.836032927, -0.5459306836, 0.2705601752, 0.7636076808, -0.0391953401, -0.000036683, 0.3987529576, 0.7580356002, -0.6033046246, -0.7879325151, -0.8022674918, 0.5821254253, -0.0799041018, -0.7717273831, 0.3505350649, 1.0461086035, 1.0353763103, 0.2872071564, 0.8089381456, -0.15747118, 0.0922899023, -0.2308959961, 0.8026015162, -0.7386739254, -0.2202778459, -0.6624523997, -1.104993701, -0.4761758447, 0.5818882585, -0.160585314, -0.1533813775, 0.4608533978, 0.3338938653, -0.3183377385, 0.243500337, 0.3328818679, -0.006876091, 0.7099096775, 0.5326427817, 0.6617084742, -0.1498876363, 0.4206993282, -0.5139152408, -0.573263526, -0.1653283238, -0.9451879859, -0.7086006403, -0.6974750757, -0.3274562955, -0.0167890433, 0.0292485468, 0.4821281135, 0.7627620101, -0.4427012503, 0.0075961747, -0.3326962292, -0.1457570344, -0.1424732506, -0.3073101342, 0.6458756924, -0.0379103571, -0.0845269933, -0.0100443885, 0.7074297071, 0.1823716611, -0.3156072795, -0.1004247218, 0.1899642944, -0.4408928454, 0.930490613, 0.131828323, -1.0138901472, -0.274006784, 0.1182008311, 0.022312073, 0.3684317172, 0.6111027002, -0.9554074407, 0.6064767838, 0.5783034563, 0.8214969039, 0.4201724231, 0.2972936034, 0.3646654487, -0.3955488205, -0.0137647176, 0.2515934408, 0.3555346727, 0.4812316298, -0.6570634842, 0.4608765244, 0.5267546177, 0.1742710471, -0.9042247534, -0.0995934457, -1.3865066767, -0.0154470894, 0.7626745701, -0.2174555361, -0.4765891731, 0.4422027767, -0.7251179814, 0.3155269623, -0.3568515778, 0.3523916304, 0.6351677179, -0.3506037593, -0.5342399478, -0.4327954948, 0.7392020822, 0.3583755791, -1.2168540955, 0.3109647334, 0.6469407678, 0.0136906691, 0.139764756, 0.7442202568, -0.1979586184, 0.6706961989, -0.1177664176, -0.2101852149, -0.6656022072, -0.5173521638, -0.1907219142, 0.3027483225, 0.1714733392, 0.051502727 ]
http://arxiv.org/abs/2402.07938v2
http://arxiv.org/pdf/2402.07938v2
Large Language User Interfaces: Voice Interactive User Interfaces powered by LLMs
2024-02-07T21:08:49
2024-04-16T07:39:05
Syed Mekael Wasti, Ken Q. Pu, Ali Neshati
cs.HC
cs.HC, cs.AI, cs.CL, cs.LG, I.2.7; I.2.1
The evolution of Large Language Models (LLMs) has showcased remarkable capacities for logical reasoning and natural language comprehension. These capabilities can be leveraged in solutions that semantically and textually model complex problems. In this paper, we present our efforts toward constructing a framework that can serve as an intermediary between a user and their user interface (UI), enabling dynamic and real-time interactions. We employ a system that stands upon textual semantic mappings of UI components, in the form of annotations. These mappings are stored, parsed, and scaled in a custom data structure, supplementary to an agent-based prompting backend engine. Employing textual semantic mappings allows each component to not only explain its role to the engine but also provide expectations. By comprehending the needs of both the user and the components, our LLM engine can classify the most appropriate application, extract relevant parameters, and subsequently execute precise predictions of the user's expected actions. Such an integration evolves static user interfaces into highly dynamic and adaptable solutions, introducing a new frontier of intelligent and responsive user experiences.
[ -0.537558198, -0.9968314171, 0.9334617853, 0.4384539425, 0.1754083186, 0.4259046912, -0.4274692237, -0.6294432878, 0.3981848359, 0.568310082, -0.8275465965, -0.3914375007, -0.081236586, -0.0324575305, -0.413094759, 0.4257595539, 0.0832401887, -0.2986622751, -0.3624023497, -0.0444943383, -0.3653244972, -0.5724653602, -0.5927765369, -0.520106554, 0.7786619067, 0.5195893049, 1.0270811319, 0.3576728702, -0.004934133, 0.4314326942, 0.1105289981, 0.2029574513, -0.2930312753, 0.6715660691, -0.2791158259, -0.5023444891, -0.4780597687, -0.1332020164, 0.5392195582, 0.5239400864, -0.1622083187, 0.0736580938, -0.1569245607, 0.171890229, -0.22430785, 0.1727525145, -0.5551730394, -0.0084410384, -0.0038921691, -0.4765343666, -0.3603981137, -0.0557833537, 0.0750940964, -0.9747871757, -0.48844558, 0.1083030701, 0.7260628343, 0.4585190415, -0.3330167234, -0.3394165039, -0.8122496605, 0.7297116518, -0.753747046, 0.3420579731, 0.0453423299, 0.5543112159, -0.4953053296, -0.8629193306, -1.0160707235, -0.5597974658, 0.0271067861, -0.0182054192, 0.0349187702, 0.1263227463, 0.3316810131, 0.0141838454, -0.2433429062, 0.6262162924, 0.2775720358, -0.0974202156, 0.5873284936, 0.480225414, 0.824595511, 0.1277583838, -0.2737448215, 0.1347563565, -0.7855302691, -0.1607615799, 0.4293669462, 0.4951160252, -0.3551838398, 0.6574781537, -0.2873386145, 0.7860370278, -0.0545600094, -0.1593620479, 0.0734789744, -0.0563691445, -0.1779991686, 0.1227704212, 0.8350222111, 0.080026798, 0.5176561475, -0.1093553007, -0.1661790758, -0.2244596928, 0.1281726211, -0.7375760674, 0.2110667527, 0.40958637, -0.3199037313, -0.2561200261, -0.1305542141, -0.614405632, -0.6744303107, -0.8117391467, 0.3143333197, -0.1146618798, -0.4371421933, 0.0097306026, 0.1749004722, 0.2065194696, 0.6917205453, -1.0092865229, 0.3008278012, 0.7431910038, 0.6554057002, -0.1085579768, -0.2208934128, -0.7470827103, 0.3983515203, 0.0762149692, 0.6138603687, -0.7709599137, -0.4281088114, 0.1850122809, 0.0096493866, 0.0636190251, -0.5577175617, 0.2674830854, -0.5709364414, 0.2138290703, -0.1007502601, -0.5091106892, -0.1742468327, 0.122484751, -0.5573590994, 0.9072602987, 0.0450999103, -0.4435512125, -0.093611829, -0.9201931357, -0.4150440991, 0.418253094, -0.3216862977, 0.0487110801, -0.0189619623, 0.0385973267, 0.6059736013, -0.3925721645, 0.30291152, -0.4210084081, -0.3634243906, 0.5170410872, -0.3531840146, 0.6594004035, 0.2964978218, -0.3731104434, 0.4184089303, -0.8885397911, 0.18025814, -0.0030258368, -0.5048828125, -0.1384185702, 0.4023904204, 0.3801135123, 0.3349376619, 0.4836393595, -0.4557498991, 0.2373085618, -0.2996032238, 0.5995947123, 0.4340363145, -0.1329254061, 0.2770165503, 0.0364171714, 0.5543771386, -0.17379269, -0.1377096027, -0.3843615949, -0.3143513203, -0.6998476982, -0.3461520374, 0.097701475, 0.8221840262, -0.809322238, 0.5451596379, -0.4315598011, -0.3486361504, -0.3452583253, 0.1138611585, 0.0337867811, 0.4424915314, 0.150757283, 0.1767709106, -0.2410765439, -0.7977241874, -0.1521223634, -0.5819920897, -0.5265834332, 0.4112658501, 0.0301938988, -0.5825535655, 1.2433178425, -0.1706363857, -0.1026565284, -0.3224462867, 0.207260102, 0.0037885308, 0.2945961356, 0.421970278, -0.8837412, -0.4051629603, 0.3989787996, -0.9239808321, -0.7484053373, -0.3853192925, -0.0747847334, 0.1351144761, 0.676215589, -0.6016332507, 0.1684848964, 0.5281333923, -0.2677971423, 0.3657442629, -0.1588444859, 0.0552354977, -1.0838975906, 0.0522787459, -0.0943754837, -0.4143691957, -0.6174607277, -0.0467953607, -0.1634432077, -0.2907954156, -0.488959223, 0.9464928508, -0.3975103199, -0.2161208987, -0.3510096669, 0.4877718985, 0.0146127734, 0.3931019604, 0.0660673007, 0.924808979, 0.173234418, -0.3556709886, 0.7800393701, 0.1852838397, -0.2004212588, 0.7525737286, -0.7789993286, -0.0336035602, 0.1539669484, 0.1060120612, -0.8845466971, -0.5544244647, 0.0107503925, -0.3143035471, 0.1458018422, 0.0822877586, -0.8703349233, -0.112401545, -0.0047516944, -0.0352849811, 0.2502935529, -0.5992408395, 1.1548081636, 0.4167460501, -0.6137877703, -0.0996587723, -0.6274988055, 0.5410829782, -0.1584056318, -0.8265991807, 0.1222105026, -0.029089015, -0.4531275928, -0.0061221626, 0.4513744414, -0.0637326986, 0.262403816, 0.5217475891, 0.2093475312, -0.2431246638, 0.3358754516, 0.3205732107, -0.1745162159, 0.0328515954, -0.1683006883, 0.3837805688, -0.0506447777, -0.5945196748, -0.7484378219, 0.6171952486, 1.0304917097, -0.3016759157, 0.5231012702, 0.5692717433, -0.3479025662, -0.0299327001, -0.7017382979, 0.0877295807, -0.5235724449, 0.3941653073, -0.6075423956, -1.1199849844, 0.758874476, -0.3979494274, 0.2543302178, 0.1148627251, 0.9372665882, -0.1578950733, 1.0704016685, 0.5136124492, 0.0360714383, 0.5907884836, 0.3564004004, 0.1885539442, -0.7095594406, -0.3235701621, -0.4560574591, -0.3721261024, -0.4616890848, -0.1713285893, 0.4554424882, -0.2872022986, -0.3007098138, 0.0026299241, -0.1864346117, 0.0947438404, 0.4690605998, -0.2540401816, 0.1653682292, -0.0346257538, -0.0861579105, -0.1350988895, -0.4183550775, -0.7669138312, 0.3054126501, 0.5992718935, 1.2075508833, 0.3832806051, 0.2243981063, 0.2590893805, 0.3052215576, -0.9438057542, 0.8382183909, 0.1709323227, -0.4034306705, -0.4826947153, -0.2799097598, -0.7600933909, 0.3179059327, -0.595700562, -1.0015856028, 0.0594441034, 0.0738526434, -0.3896044195, 0.0989999473, -1.0033813715, 0.5537669659, -0.506667912, -0.6686983109, -0.1606956124, -0.6255740523, 0.0093218535, -0.0490638278, 0.1378136724, -0.3055539429, -0.2907244265, 0.3747332096, -0.4314460456, 0.9837446213, -0.3654626608, -0.3280892372, 0.2210259587, 0.0908309147, 0.4268471301, 0.0751734897, -0.3204342425, -0.1323998123, 0.0622553229, -0.0893310606, -0.9617220163, 0.9775569439, -0.5815419555, -0.6356895566, -0.129518345, -0.553809464, -0.4581687748, 0.264587909, -0.5130723715, 0.612095356, -0.1615952253, 0.2074977309, 0.7207548618, -0.5693352222, 0.4234562218, 0.7233194709, -0.5473214984, -0.0437033325, 0.772949338, 0.0509209111, 0.2251692265, 0.606682241, 0.171239987, -0.4851639867, -0.2301704288, -0.6460341811, 0.2252005935, -0.4767400026, 0.0863451213, -0.6166360378, -0.1675686538, -0.0860667452, -0.3335217535, -0.0733560845, -0.2669864893, -0.5586106777, 0.0687566698, 0.3324551284, 0.7822813988, 0.3488369584, 0.5397237539, -0.8243709207, 0.2438215613, 0.4618641436, 0.3026402891, 0.0513839424, -0.1537270993, -0.2899968326, -0.1183405593, -0.0099582402, -0.6357277036, 0.1971209198, 0.1298807859, 0.7282471061, 0.3404967487, 0.0187542811, 0.5193616152, -0.6879099011, 0.9429385662, 0.1053828523, -0.9172033668, 0.3382451236, -0.5268847346, 0.5927245617, 0.4136225879, 0.0873849615, -0.7159464955, -0.3509650826, -0.2394703478, -0.8280476928, 0.5086748004, -0.1904387176, 0.2771633565, 0.2346648872, 0.5001536012, -0.0661269128, 0.1895356774, -0.3672720492, 0.0467764549, 0.0379128382, -0.6515260935, 0.1904829293, -0.2833850682, 0.0042870734, -0.0681494698, 0.5704962611, -0.4607451558, 0.1165886596, -0.039673727, -0.1250488162, -0.0080249598, 0.3805429935, 0.6515693069, 0.76530689, 0.1638240069, 0.1182903871, 0.0484299138, -0.315109849, 0.1449127942, 0.2082220465, 0.0513335913, -0.1539905369, 0.3884562254, 0.9357468486, 0.4782901108, -1.1549651623, 0.3509482741, -0.2825919986, 0.0840869844, -0.5227464437, 0.2651755214, 0.508156836, 0.4133856595, 0.3753022254, -0.6108498573, 0.002894145, -0.5248003006, -0.0421065316, 0.4102980196, -0.3552320302, -0.2886500955, 0.8855936527, 0.6090651751, -0.6445456743, 0.2875225246, 0.3156456947, -0.3994106352, 0.202033177, 0.349049598, 0.8644048572, -0.3202034235, -0.0327701904, -0.155087322, 0.0820683613, 0.3149078488, 0.2349636853, -0.1943405271, -0.3908474147, -0.6292660236, -0.5503327847, -0.5660364032, 0.0400345623, -0.2873792052, 0.2885987163, -0.3864672482, -0.1511727124, 0.1237786636, -0.0624370836, -0.4346557856, 0.2684725821, 0.1932644248, 1.0687321424, -0.5483026505, 0.7866533995, 0.8011656404, -0.1843749732, -0.6748028398, -0.0430857167, 0.1140827164, -0.7285176516, 0.7449839711, -0.1088048518, -0.51210922, 0.0101310099, -0.4477391541, -0.5079865456, 0.9183803201, 0.5941232443, -0.7074522972, 0.0783549473, 0.238578096, 0.6482075453, -0.4483148754, 0.3597195446, 0.3239176571, 0.5996960402, 0.0767502859, -0.8688477278, 0.0559695512, -0.282532841, 0.2007468343, 0.0594445914, -0.5446760654, 0.3734204769, 0.1696018875, -0.1700722575, 0.1639835536, 0.76571244, -0.0332393758, 0.2040192783, 0.7049582005, 0.253785938, 0.6369863153, -0.0959404632, 0.8539438844, -0.1954859346, -0.1479973942, 1.1516708136, -0.6895495653, 1.0438002348, 0.6586354375, -0.0947605222, 0.7358559966, 0.5233516097, 0.5315033197, 0.1285503656, 0.3757456243, -0.7457762957, -0.3192773461, -0.3117358387, -0.1762765795, 0.3348345459, 0.8078324795, 0.0262343921, -0.1018257812, 0.1684589982, 0.0619639494, 0.387871623, 0.0113007762, 0.9430832863, 0.0799266174, -0.4819608033, 0.2073763758, -0.0848696008, 0.5092952251, -0.7509914041, -0.1677265465, 0.1794542819, -0.1509095281, -0.3066966832, -0.9692575336, 0.096993506, -0.0955104455, -0.2276700884, -0.4136984348, 0.8006585836, -0.504689157, -0.2866929173, 0.4102888405, 0.4886959791, 0.0736390725, 0.179315716, -0.5883364677, 0.5926885605, -0.2421537638, -0.5266469121, 0.2447887212, 0.7082096934, -0.1972889751, 1.0047347546, 0.5949311256, 0.0075718896, 0.0794138238, 0.2859823704, 0.8357629776, -0.4932288527, -0.7054967284, -0.5813454986, 0.5926318169, -0.2771896124, 0.0785012096, 0.4889359474, 0.4109142721, 0.2744839489, 0.2447755039, 0.9976621866, -0.0014574083, 0.706716001, -0.4966450632, 0.7816332579, -0.6773492098, 0.3952451944, 0.0098878406, -0.7512611747, -0.2690580785, 0.4220747352, -0.1131188348, 0.0004721634, 0.1942074448, 0.6906365156, -0.1458647251, -0.013462265, 0.4043125808, 0.3154557347, 0.7323057652, 0.2205296606, 0.9287762642, 0.3118067682, 0.1090745404, 0.3842327297, -0.4268299937, -0.4957952797, -0.987010181, -0.7809051275, -0.6923595071, -0.0517688207, -0.1721435785, 0.0098764785, 1.1024377346, 0.750208199, -0.463840276, -0.3891642988, 0.2249703258, 0.0877816156, 0.2653652728, -0.2462180853, -0.1146471724, -0.4052045345, -0.9759252071, 0.5639836192, 0.6323188543, 0.1032505184, -0.8066672683, -0.1622947752, -0.0662683323, 0.2508805394, 0.8791657686, 0.5596598983, -0.9601299763, -0.514537394, -0.1644132435, -0.1599438488, -0.2906509042, 0.7681537271, -0.9859643579, 0.5975275636, 0.4221377969, 1.1404652596, 0.3507575691, -0.1170386374, 0.7455506921, -0.4958481193, 0.3223900795, 0.0206144713, 0.0948709697, 0.4201663136, -0.4666736722, 0.2566637695, -0.135627687, -0.4116105437, -0.6981112957, 0.4213564992, -1.2278321981, -0.1349395812, 1.1517212391, -0.1055737808, -0.2543489635, -0.3136845231, -0.4983761013, 0.0297207143, -0.4023666978, 0.4213600159, 0.7382199764, -0.2903333902, -0.0954152122, -0.7525880337, 0.1607198268, 0.239710182, -1.189915061, 0.1869600564, 0.6118175983, 0.0409740955, 0.131532535, 0.609085083, 0.0185276233, -0.049791079, -0.3528596163, -0.0184925608, -0.1516537368, -0.1485756487, -0.1649165899, 0.0460796282, 0.1590872258, -0.0096008638 ]
http://arxiv.org/abs/2402.10940v1
http://arxiv.org/pdf/2402.10940v1
Neural machine translation of clinical procedure codes for medical diagnosis and uncertainty quantification
2024-02-07T20:11:56
2024-02-07T20:11:56
Pei-Hung Chung, Shuhan He, Norawit Kijpaisalratana, Abdel-badih el Ariss, Byung-Jun Yoon
cs.CL
cs.CL, cs.AI, cs.LG
A Clinical Decision Support System (CDSS) is designed to enhance clinician decision-making by combining system-generated recommendations with medical expertise. Given the high costs, intensive labor, and time-sensitive nature of medical treatments, there is a pressing need for efficient decision support, especially in complex emergency scenarios. In these scenarios, where information can be limited, an advanced CDSS framework that leverages AI (artificial intelligence) models to effectively reduce diagnostic uncertainty has utility. Such an AI-enabled CDSS framework with quantified uncertainty promises to be practical and beneficial in the demanding context of real-world medical care. In this study, we introduce the concept of Medical Entropy, quantifying uncertainties in patient outcomes predicted by neural machine translation based on the ICD-9 code of procedures. Our experimental results not only show strong correlations between procedure and diagnosis sequences based on the simple ICD-9 code but also demonstrate the promising capacity to model trends of uncertainties during hospitalizations through a data-driven approach.
[ 0.0721361861, -0.4554127753, 0.9516766667, 0.5317090154, -0.5073043704, -0.0639376715, -0.1422506124, -0.1743583381, 0.10001605, -0.061237637, -0.3562323749, -0.5936695933, -0.9527921677, 0.1480527818, -0.3266007602, 0.8610399961, -0.1555891335, 0.7436594963, -0.1791148782, 0.2312907428, -0.4344267249, -0.3108862936, -0.7705549598, -0.2126738429, 0.4399483204, -0.0852720216, 1.1001722813, 0.6057421565, 1.0663611889, 0.2658472955, 0.0652664155, 0.0335904323, 0.4665328562, 0.3107572198, 0.3557244241, -0.6641482711, -0.3914211988, -0.5237618685, 0.2963864207, 0.6340395212, -0.517762959, -0.0854250938, -0.1492377371, 0.5705422759, -0.5928304791, 0.0989210382, -0.199613139, 0.6174943447, 0.1981655508, -0.4226901531, -0.2526922524, -0.4390735328, 0.1522485614, -0.7632491589, -0.0669626445, -0.1316056997, 0.3636750579, 1.023712039, -0.1726878434, -0.3915062249, -0.8093378544, 0.4756956995, -0.7279287577, 0.4015902877, 0.6378543377, 0.4456542432, -0.0320892818, -0.8055506349, -0.3317113221, 0.1376036406, -0.0566472225, 0.0809716582, -0.1770192385, 0.2166701406, -0.1619830132, 0.1360151023, -0.6267683506, 0.1879639179, -0.4521526396, -0.3481607139, 0.7067266107, 0.6372337937, 0.4099422097, -0.0194465127, -0.352509588, 0.0015222597, -0.1876583546, -0.1932621449, -0.2742152512, -0.1244394109, -0.4699267745, 0.2548626959, -0.1428215057, 0.7058022022, 0.0754836053, -0.3936493397, 0.4623748958, 0.0552755184, -0.5886531472, 0.3147280514, 0.8867415786, 0.4110874534, -0.2965800166, -0.3219304681, -0.1873553544, 0.0264161844, 0.5064470172, -0.5341338515, -0.0942568034, 0.6321892738, -0.8698177934, -0.7267385721, -0.1639101207, -0.6049924493, -0.7069119811, -0.3858354986, -0.0129875876, -0.8022174835, -0.1197765768, 0.5455633402, -0.0645894259, -0.2196886241, 0.5842707157, -0.3305050135, 0.1503384858, 0.4213294983, 0.8135883808, -0.2095860392, 0.1379705369, 0.1225607395, -0.1505990922, -0.7592438459, 0.3679538369, -0.4090101123, -0.2768289745, -0.1048841923, -0.3908576369, -0.0713891014, -0.635186851, 0.5885695815, -0.5298629403, -0.2884407043, 0.1522611678, -0.3586999774, -0.004058897, 0.1502987593, -0.3682615459, 0.4855144024, 0.220624283, -0.3667923808, 0.5199125409, -0.3112149239, -0.4642527699, 0.1742516309, -0.3279527426, -0.4226490259, 0.3634196818, -0.0079618711, 0.4305695295, -0.6961635351, 0.7306379676, -0.307756573, -0.0098311966, 0.4661652148, -0.639490068, 0.7113417387, 0.870246172, -0.0910833478, -0.0004727024, -0.9829273224, 0.2677594423, -0.1881926805, -0.4919714928, -0.3308875859, 0.1110380441, -0.1085790172, 0.3063479662, 0.205602318, -0.1176787913, 0.089086704, -0.1505510658, 0.4499359131, 0.5086097121, 0.1491192728, 0.4882448912, -0.3012576401, 0.7390826941, 0.5483675599, 0.3977152407, 0.1135402024, -0.7127196193, -0.3538395762, -0.070372574, 0.483572036, 0.9866422415, -0.8062739372, 0.6254227757, -0.0388288312, -0.5005902648, -0.948118329, -0.2795894742, 0.3163617551, 0.3915028274, 0.3264669478, -0.1236580014, -0.5468379259, -0.7347351909, 0.2420736104, -0.3935127258, -0.342967391, 0.0335742757, 0.1496143043, -0.3856257498, 0.4179022014, -0.4999405444, -0.3006327152, 0.3764923513, 0.171668902, 0.1905315518, 0.8707236052, 0.2244411707, -0.7744638324, -0.2034326792, 0.3018354177, -1.1913284063, 0.1055841893, -0.570132792, -0.0474828444, 0.1653402299, 0.5885457993, -0.6613259315, 0.9580819607, 0.2586352229, -0.2660455108, 0.2855886221, -0.7352491021, 0.212541908, -0.9902595878, -0.0797084421, -0.1748997867, 0.1552272439, -0.5208151937, 0.1151012555, 0.3021062315, 0.0443746112, -0.2147811651, 0.0620822906, -0.1299303621, 0.1417971551, 0.0675408095, -0.4810453653, 0.0038329046, 0.0862540305, 0.0383189395, 0.5115658045, 0.94658041, -0.6841183305, 0.3466497958, 0.0397301093, -0.4477343857, 0.621506989, -0.6422851682, -0.1503442228, -0.1322734654, 0.1200657934, -0.4395256042, -0.1787714213, 0.1933370084, -0.6030591726, 0.4012361765, 0.1699293703, -0.4851089418, -0.3969319761, 0.3194129765, 0.63473773, 0.4430238903, 0.1254386455, 0.4214737117, 0.1411887556, -0.2499654144, -0.5779519081, -1.0363346338, 0.2671887577, -0.2687874436, -0.546992898, 0.5279539824, -0.1507208049, -0.5755254626, -0.1861704886, 0.0391717963, -0.3172566891, 0.3823418915, 0.2619642913, 0.2065327764, -0.4135459661, 0.4706692696, 0.5830819011, -0.1394560188, 0.3311491311, -0.5858441591, 0.4484571218, 0.0254583061, -0.4628457427, -0.7631621361, 0.4535190761, 0.6974479556, 0.0033521471, 0.7497361898, 0.6129528284, -0.9061995745, 0.1356208026, -0.254670918, -0.0278300643, -0.35893929, 0.2603247464, -0.1835066378, -0.2879911363, 0.8975991011, 0.1220621914, -0.6531501412, 0.399697721, 0.723938942, -0.2739584446, 1.4568645954, 0.1679466814, 0.0443890579, -0.1735778451, -0.0101077389, 0.2293947786, -0.4420209229, -0.3749819696, -0.5424437523, -0.3425475061, -0.4663002193, -0.577716887, 0.9191504121, 0.2543283701, -0.2389815003, -0.2718700767, -0.8643472195, 0.0751522407, 0.5039932728, 0.6902063489, 0.0486391038, -0.2797148824, -0.223226428, 0.146473676, -0.7011612654, -0.1855841577, 1.0686182976, 0.1613204181, 0.8145218492, 0.0405185968, 0.7313098907, 0.5286939144, -0.1923327893, -0.6552067399, -0.0246950146, 0.1042177007, -0.2984628975, -0.3146830499, -0.3672890663, -0.8940830827, -0.1984291971, -0.2002630085, -0.3787153661, 0.7382977605, -0.0856712684, -1.0823938847, 0.1597879231, -0.6732110977, 0.5306969881, -0.2940143347, 0.1903582662, -0.2543753982, -1.1718398333, 0.0419447348, -0.3626563847, 0.227481544, 0.2599821985, -0.3059446216, 0.3792079091, -0.6276969314, 0.8128902912, 0.0680009425, -0.2615866661, 0.1183142439, 0.3489662409, 0.3111596406, 0.340893507, -0.2683478892, 0.3471299708, 0.0651884228, -0.321667403, -0.7422930002, 0.3396921158, -0.7629750371, -0.3109388649, -0.420058459, -0.7969963551, -0.1019054353, 0.2346712947, 0.6589787602, 0.3361999989, 0.2014188319, -0.0864319503, 0.6370228529, -0.5769386888, 0.2798137069, 0.1816002727, 0.4093444347, -0.4291902781, 0.7870509624, 0.1749624312, 0.0114534115, 0.5391837358, 0.1363779902, 0.132157445, -1.0180027485, -0.4977199435, -0.3397435844, -0.5739121437, -0.8208082318, -0.4709283412, -0.1778675318, -0.510697484, -0.4945665002, -0.0440470986, -0.5296174288, -0.6390451789, -0.1848962605, 0.2516127825, 0.5646473169, -0.3636971414, 0.2498933673, -0.8743371367, 0.16474922, -0.1242171004, 0.3458930552, -0.155233711, -0.173770383, -0.4703174531, 0.1599630415, -0.2729105949, -0.9206780791, 0.723959446, -0.0045699226, 0.286421746, 0.8158563972, 0.4633460045, 0.7091158628, -0.4311353564, 0.6955509782, 0.4303361773, -0.7571126819, 0.6792494059, -0.200252533, 0.0164604317, 0.3376669884, 0.2789791822, -0.3676763177, -0.3712885976, -0.8707510233, -0.7847118378, 0.5102387071, 0.1690877229, -0.3095337152, -0.1737481952, 0.4551873803, -0.0609139726, 0.2896871567, 0.0999686494, -0.4259313941, 0.100849174, -0.6870372891, 0.0507115498, 0.182804063, -0.2200439274, -0.2993361652, 0.3485969305, 0.0071619726, 0.6331613064, 0.5308899879, 0.1487452984, -0.4616347253, 0.05381044, 0.9271831512, 0.3863482177, -0.1758453101, 0.090453662, 0.0050912807, -0.6301288605, 0.1856474727, 0.1637009829, -0.1573954076, -0.0608815923, 0.2006009221, 0.6743539572, -0.4320453405, -0.5352138877, 0.2733585835, -0.1771049798, -0.0439946614, -0.4986363351, -0.0953502879, -0.1145368665, 0.3265325725, 0.2577883601, 0.9360486865, 0.5124611259, 0.0066958871, 0.4542135894, 0.1201098338, -0.5196406841, -0.2356020212, 0.715544939, 0.0759114772, -0.4877443016, 0.7390397191, -0.1715991199, -0.1036531404, 1.2307069302, 0.4645830393, 0.7947158217, -0.3869682848, 0.2103051245, 0.1675307006, 0.3057570457, -0.0840518698, 0.4041655362, 0.0196641516, -0.6164303422, -0.2283707559, -0.3603187799, -0.0933797285, -0.1533645988, -1.2446420193, 0.2274131775, -0.6748280525, -0.4253046215, -0.1488856226, -0.5401591659, -0.635920465, 0.6104538441, 0.386384815, 0.9197452068, -0.3811921179, 0.7238109112, 0.5893656015, -0.3552205563, -0.6870803237, -0.2022995651, 0.196249783, -1.1244757175, 0.5053135753, -0.4166891873, 0.4153117836, -0.3314856887, -0.4601612985, -0.8957796097, 1.0408729315, 0.4361303151, -0.3265668154, -0.2954342067, 0.2193330526, 0.7838782072, -0.3862459064, 0.1688670218, 0.5414078236, 0.3865980804, -0.1922867298, -0.9826633334, 0.1590341479, -0.3749713302, -0.0886971727, 0.3049092591, -0.2849453092, 0.7776305676, -0.6321903467, 0.1100695133, 0.1567696631, 0.280387044, 0.0753938407, 0.6836256981, 0.1161679104, 0.8313298821, 0.9727403522, -0.113792941, 1.2932522297, -0.7028416991, 0.0997618958, 0.704390049, -0.1258779764, 0.4912774861, 0.5044142008, -0.4429620206, 0.4087044001, 0.8979396224, 0.3596208394, 0.5925822854, 0.3310852647, -0.4400275946, -0.4901816249, -0.1019000858, -0.7458620667, 0.130555734, 1.0028281212, -0.934861064, 0.1465667486, 0.2388443798, -0.1119967476, -0.3637799025, -0.21887815, 0.9688696861, 0.2368656546, -0.7608497143, 0.748251617, -0.0006437731, 0.1641710699, -0.4438129365, -0.0770580545, -0.0265890248, 0.1739758104, -0.3634019792, -0.4661597908, 0.3421493769, -0.419870764, -0.4283086956, -0.1481757611, 0.2960512936, -0.08031746, -0.7981613874, -0.0891053677, 0.3132239282, 0.1377106458, 0.0193169955, -0.8803389072, 0.1133192256, 0.0376193896, 0.1717511266, 0.4030226171, 0.9852156639, 0.0183260199, 0.8611529469, 0.2768444717, 0.4361203611, 0.0788097009, -0.1042540967, 0.66437608, -0.2496722043, -0.5084916949, -0.6514797211, 0.4590980709, 0.3524315059, -0.5769509077, -0.0309862923, 0.209766522, 0.4839659631, -0.0848795399, 0.915486455, -0.0903852209, 0.1003688797, -0.6033723354, 0.8892442584, -0.5050545335, 0.4867680073, -0.0681432784, -0.0297141857, -0.7952554226, 0.6855580211, 0.1012660787, -0.1828866899, 0.7483882308, 0.5777283311, 0.3737561405, 0.0253458843, 0.3786521852, 0.2695690393, -0.100769721, 0.5649811625, 0.3993071914, -0.5571891665, 0.3461517394, -0.5303365588, -0.0880270749, -0.0445382558, -0.5326673388, -0.042736195, -0.6462084651, -0.5605559349, -0.6433696747, 0.0725075006, 0.9901317954, 0.8408019543, -0.9151592255, 0.0864104033, -0.289481014, 0.2188583463, -0.7111421824, -0.1201209575, 0.7255709767, -0.5645991564, -0.3114670515, 0.1896425784, 0.3147595823, 0.2538136542, 0.1139078364, -0.3366923332, 0.307587415, -0.1302844882, 0.2907837927, -0.2014841288, -0.730837822, 0.1516608894, 0.0530875362, -0.1737834662, 0.1093062833, 0.7550213933, -0.7344194055, 0.5771718025, 0.3953116238, 0.783301115, -0.1517663896, -0.2451619357, 0.8565548062, -0.4211433232, 0.1019457057, 0.593732357, 0.4833388329, -0.0311474148, -0.8787740469, 0.4930077493, 0.2224280834, -0.5534713864, -0.8499689698, -0.0674972981, -0.6458801627, -0.2912972271, 0.942553699, -0.2167032957, 0.1049050689, -0.4593071342, 0.0904179588, 0.2203079313, -0.4083516598, 0.9590989947, 0.4132013619, -0.245914191, 0.0415202826, -0.41358006, 0.6576088667, 0.4258768857, -0.5557123423, -0.4328067899, 0.1803092659, -0.248241663, 0.4804624617, 0.463434577, -0.1681821346, 0.5042564273, -0.0167468451, 0.1335898936, 0.2934010923, -0.1915326864, -0.5324647427, 0.1163877994, -0.1727973372, -0.2878177166 ]
http://arxiv.org/abs/2402.05224v2
http://arxiv.org/pdf/2402.05224v2
VerAs: Verify then Assess STEM Lab Reports
2024-02-07T20:02:09
2024-04-25T16:16:36
Berk Atil, Mahsa Sheikhi Karizaki, Rebecca J. Passonneau
cs.CL
cs.CL, cs.AI, cs.LG
With an increasing focus in STEM education on critical thinking skills, science writing plays an ever more important role in curricula that stress inquiry skills. A recently published dataset of two sets of college level lab reports from an inquiry-based physics curriculum relies on analytic assessment rubrics that utilize multiple dimensions, specifying subject matter knowledge and general components of good explanations. Each analytic dimension is assessed on a 6-point scale, to provide detailed feedback to students that can help them improve their science writing skills. Manual assessment can be slow, and difficult to calibrate for consistency across all students in large classes. While much work exists on automated assessment of open-ended questions in STEM subjects, there has been far less work on long-form writing such as lab reports. We present an end-to-end neural architecture that has separate verifier and assessment modules, inspired by approaches to Open Domain Question Answering (OpenQA). VerAs first verifies whether a report contains any content relevant to a given rubric dimension, and if so, assesses the relevant sentences. On the lab reports, VerAs outperforms multiple baselines based on OpenQA systems or Automated Essay Scoring (AES). VerAs also performs well on an analytic rubric for middle school physics essays.
[ 0.0239326041, -0.8913303614, 0.7621501088, 0.2103959769, 0.2550899386, 0.5404070616, 0.0020031745, -0.3664382398, 0.1675784141, 0.254204303, -0.5134568214, -0.5852102041, -0.1587526649, 0.2157174647, -0.5844735503, 1.0396857262, -0.3201218545, 0.1782290041, -0.6721662283, 0.149981454, -0.3546257615, 0.0286735296, -0.5173563361, -0.2787662446, 0.5199795365, 0.5282949209, 0.2281480879, 0.2977034748, 0.7559079528, 0.3922695816, 0.0084683988, 0.5277697444, -0.4226175845, 0.2549900115, -0.3198199868, -0.3279209435, -0.3112291694, -0.0979327038, 0.893150568, 0.6130797863, 0.1429705471, 0.5269995332, -0.2459910214, 0.7249879837, -0.8669585586, -0.1544780582, -0.3693515658, 0.0119275497, -0.0117692044, -0.2363575846, -0.8343673348, -0.6948869228, 0.3215379119, -0.5808722377, 0.2608113885, 0.1768420488, 1.0254286528, 0.0854213685, -0.3887479007, -0.0395167433, -0.8841375709, 0.67706424, 0.1313550919, 0.203821823, 0.315849781, 0.4343096912, -0.1024242267, -0.8017725348, -0.5316574574, -0.4003083706, 0.1124803722, 0.4467360973, -0.0784855485, -0.0766268894, -0.0260318816, 0.2730652988, -0.5219268203, 0.031142503, -0.924326539, -0.5140761137, 0.5572215319, 0.2914871573, 0.0085851019, 0.0204411168, -0.4942180812, -0.1416384578, -0.7003926039, 0.3441053331, 0.3555096686, 0.1696474701, 0.2698636651, 0.8100644946, -0.4048284888, 0.5798100829, -0.0088343816, 0.146831125, 0.2148181796, -0.4489015043, -0.1716121584, 0.1109679192, 0.800162375, 0.3741428852, -0.1129597798, 0.0162849557, 0.0437060222, 0.05734317, 0.5475400686, -0.6791908741, -0.0652501583, 0.4877256751, 0.0558793955, -0.1784887314, -0.1300850809, -0.7729018927, -0.4596216679, -0.4466115236, 0.8844450116, -0.5696053505, 0.2235814333, 0.1743952185, -0.1195451543, 0.2154425234, 0.768381834, -0.551471293, 0.6698658466, 0.4244022369, 0.9087003469, -0.0561976992, -0.6233522892, -0.7095192075, -0.0627600178, -0.6386763453, 1.0936030149, -0.2795161009, -0.2637342811, -0.1016687527, -0.2229869068, 0.0671636388, -0.1235895678, 0.4872074425, -0.506469965, 0.2974441051, -0.3397084475, -0.4411100447, 0.0105251279, 0.2222096324, -0.201854676, 1.3271530867, 0.4524978101, -0.5706186891, 0.3934561908, -0.7281440496, -0.2962747216, 0.0876728892, -0.0937767997, -0.3019044399, 0.0292539746, -0.124423489, 0.3936388195, -0.3685318828, -0.0694833994, 0.2087269574, -0.0872851536, 0.5398218632, -0.1482350528, 0.3931269944, -0.1539963037, 0.0032228555, 0.632245779, -0.982557714, 0.382319659, -0.2743798494, -0.0943517163, -0.0381556675, -0.0086073242, -0.3228949904, -0.2902456522, 0.1303454638, -1.1612976789, -0.2480298579, -0.2066171169, 0.0413225554, 0.7236912251, -0.0482229441, 0.3336116672, -0.5205447674, 0.3722007573, -0.1728770286, 0.131559521, -0.1053135246, -0.3698392212, -0.6814606786, -0.4423718154, 0.1138675809, 0.6894401908, -0.5090481639, 0.6417446136, -0.134497121, -1.1869344711, -0.7008581758, -0.1133243591, 0.5488637686, 0.979203999, 0.7697939277, -0.3437719941, -0.1288513988, -0.7796126008, 0.0326747596, -0.2221178561, -0.1462405324, -0.0644657686, 0.6957963705, 0.3650654554, 1.1764942408, -0.7675090432, -0.2456843853, -0.0028448454, 0.3715069592, -0.0086141676, 0.4730440378, 0.2895299196, -0.3992302418, -0.4868572652, 0.1533475369, -0.4464601278, -0.087921083, -0.0819448382, -0.3322887421, 0.004034542, 0.2907489538, -0.6549313664, 0.6654184461, 0.0985993221, -0.6806216836, 0.9768276811, -0.5328840613, 0.4377352595, -0.490726918, 0.0371828936, 0.0417411178, -0.1496818811, -0.4653511047, -0.2330928892, 0.2378877103, 0.233090356, -0.5305774808, 0.3428552151, -0.4106313288, -0.0475237556, -0.1372528672, 0.1608854234, 0.4230619371, -0.1145326644, -0.0928598046, 0.48901847, 0.8670890331, -0.5670807958, 0.6802175641, 0.0948812515, -0.4941538274, 0.8281299472, -0.7573324442, 0.046751406, -0.3945353031, 0.3231259286, -0.971603334, -0.2269947231, -0.2740453482, -0.7889559269, 0.3378959, 0.2551258206, -0.4451817274, -0.5380391479, -0.6565769911, -0.1436039209, 0.4214713275, -0.3447420001, 0.9894897938, -0.0642173216, 0.0025836832, -0.9327683449, -0.4982661009, -0.3007743657, 0.1287849247, -0.6279844642, 0.1261952668, -0.2195055783, -0.2480446994, 0.082529746, -0.0895019621, -0.2971602678, 0.1876483709, 0.3282976449, 0.7361641526, -0.3074609041, 0.2654334605, 0.5289888382, -0.0653440207, 0.3138328493, -0.0296975616, 0.2252987027, -0.4625501931, -0.4425400198, -0.3653463423, 0.3402382433, 0.9690514803, -0.3142884076, 0.6964645386, 0.4088200033, -0.4118013084, -0.3946049511, -0.5519809723, -0.2087363899, -0.476152122, 0.505028069, -0.3600279391, -0.7750835419, 0.5362309813, 0.1609658897, 0.2516037226, 0.7436949611, 0.6491510868, -0.1588431895, 0.3131556511, 0.580958128, 0.4731316864, -0.1367574781, -0.1626506001, 0.3207035363, -0.7478837371, -0.7249501944, -0.9160662293, 0.0150213102, 0.1100663692, -0.5158917904, 0.3799565732, -0.2438109368, -0.3045269847, 0.0150091555, -0.8765388727, 0.9796524048, 0.3935328424, 0.0871777236, 0.2213196456, -0.0936367139, -0.1376706362, 0.0043313983, -0.188536644, -0.4743492603, 0.9292238951, 0.4289324582, 0.5842152238, 0.0952956453, 0.4450483322, 0.1322748065, 0.587908268, -0.9789681435, 0.6947492957, 0.142851159, -0.7078216672, -0.6273269653, -0.2843598723, -0.6641024351, 0.3141443729, -0.3554285169, -0.9218314886, -0.0959670693, -0.1935129017, -0.8096508384, 0.1435551941, -0.8492763042, 0.5401066542, -0.0339667574, -0.8080965281, -0.3131509721, -0.7343023419, 0.1375598907, -0.2266857177, 0.0048192623, -0.1360632777, 0.0615838431, 0.919670105, -0.371191442, 0.767575562, 0.1076257676, 0.2072107494, 0.7845474482, 0.2812738419, -0.2098310739, 0.1493437141, -0.0344679356, -0.2669204772, 0.3854152858, -0.1810829043, -0.4839785993, 0.6263601184, -1.0097106695, -0.4835362136, -0.805349052, -0.641687274, -0.1772579104, 0.2161547989, 0.1698921472, 0.4865283966, -0.2260146141, 0.1184363142, 0.9615454078, 0.1142067388, 0.1888922155, 0.7619441152, -0.2961652279, -0.3487164974, 0.9057864547, 0.2173699439, 0.4392077029, 0.4262815714, 0.4643882215, -0.2729508281, -0.572416544, -0.5383008718, 0.20924218, -0.9398223758, -0.5025821328, -0.648142755, -0.4993102252, -0.5238050818, -0.5329412818, -0.6080700159, -0.4232123494, -0.3141971827, -0.4471051991, 0.6293322444, 0.961420536, -0.2489845306, 0.0930856243, -0.8256937265, 0.1929036975, 0.1312975734, 0.1113590002, -0.2033391893, -0.5571009517, -0.1882393211, -0.2765598893, -0.4716836512, -0.7876372337, 0.0481444709, 0.0314317718, 0.3325780034, 0.0764431804, -0.1738698184, 0.2874237895, -0.5605251193, 0.9463051558, 0.3906906545, -1.1958035231, 0.7093140483, -0.123433277, -0.008667252, 0.7549265623, 0.6390808821, -0.0805033445, -0.4424245656, -0.3108362854, -0.5890809894, 0.4725195467, 0.0787662938, 0.033310093, 0.1100889817, 0.434068352, 0.2510908842, -0.1161142811, -0.4393748641, -0.081306912, -0.2121482491, -0.363435626, 0.2351113409, -0.0353269242, -0.3635930121, -0.4549614787, 0.5314477086, -0.298509717, -0.0184297673, 0.7133123875, 0.4070513248, -0.2376691103, 0.3688718379, 0.4930703938, 0.8311445713, -0.2307779193, 0.1810822487, 0.241569832, -0.7962275147, 0.1789766699, -0.0665210858, -0.2054941058, -0.061018087, 0.2784264684, 0.1817720383, -0.4198668897, -0.6697188616, 0.5431441665, -0.273319602, -0.4628999531, -0.1920442581, 0.2361347079, -0.1534584314, -0.1148809865, 0.3573352695, 0.2525448203, 0.1252707839, -0.5677090883, -0.0159475692, 0.0792173818, -0.4445364773, -0.2776742876, 0.2414351255, 0.0505426042, -0.1324894577, 0.420745492, 0.0472250506, -0.4165738523, 0.7726765871, 0.4201280475, 0.8013147712, -0.5289553404, 0.5373311639, 0.6322422624, 0.5421020985, 0.0186988749, 0.7804594636, -0.0789322928, -0.4450249374, -0.5296775103, -0.6067388654, -0.9773128033, -0.4406350255, -0.5776569843, 0.3913018703, -0.9003711343, -0.0761175305, 0.1244389191, 0.0272920299, -0.3978874981, 0.5575045943, -0.3062072694, 0.9397234321, -1.0546150208, 0.3820511997, 0.6819565296, -0.3113432825, -0.617564559, -0.7021600008, 0.0789033473, -0.3981928229, 0.834246397, 0.2084849626, -0.6792080402, -0.2895200253, -0.6392660141, -1.1803088188, 1.1127676964, -0.2101915032, -0.0697156712, 0.3715297282, -0.1295651495, 0.867395699, -0.3225595057, 0.5417824984, 0.3484296501, 0.3018747866, 0.2333308607, -0.8327524066, 0.1424304098, -0.1519150436, -0.6982877254, 0.1265304089, -0.5689057708, 0.7736991048, -0.5021528006, 0.0140645523, 0.0762431771, 1.1167961359, 0.2040394992, 0.6720240712, 0.1060756296, 0.2790782154, 1.1963094473, -0.2092241049, 0.8155659437, 0.1513436288, -0.0119135175, 1.1849570274, -0.6242409945, 1.0449819565, 0.4786261916, -0.2397028059, 0.8090464473, 0.3609595597, -0.1120391414, 0.3086007833, 0.8003112078, -0.3644179404, 0.028098084, -0.4798253179, -0.2054873407, 0.4640412927, 0.6697477698, 0.1085826904, -0.0255790185, -0.1932076663, -0.0909382328, 0.3434817195, -0.2608788908, 0.2196172625, -0.3027768731, -0.874658823, -0.125921011, -0.107298404, 0.0476264805, -0.8407584429, 0.0572654232, 0.1036919951, 0.2457884103, -0.466681838, -1.2998262644, 0.4492277205, 0.1364402026, -0.1763325185, -0.1429855078, 0.7192353606, -0.0991036147, -0.4711188674, 0.046827089, 0.5284904242, 0.0403656028, 0.5705112219, -0.0034638788, 0.0023764742, -0.3850908279, -0.277533561, 0.0006552908, 0.4664166868, 0.1555900872, 0.8115104437, 0.651805222, 0.1378337592, 0.0779270306, 0.0799137279, 0.8495191932, -0.3359601498, -0.338509351, -0.5206941366, 0.8305081725, -0.3877559602, -0.6345997453, 0.6846097708, 0.7004473805, 0.4596470892, 0.0869380459, 0.6266502142, 0.1500178725, 0.8203744888, -0.6741991639, 0.6801814437, -0.1734613031, -0.0588592961, -0.0501837544, -0.6553013921, -0.5331439972, 0.533844471, -0.2966498733, -0.1032869518, 1.4393678904, 0.5164395571, 0.3928867877, 0.2891354561, 0.1643627584, 0.2945893705, 0.5431349874, 0.4938451648, 1.170853138, -0.2840756178, 0.2135736644, -0.4018263221, -0.6135722995, 0.1916109174, -0.7095137239, -1.1931517124, -0.5180260539, -0.7529363632, -0.7076330185, -0.2672917247, 0.4767606258, 0.2599650621, -0.3909439147, -0.0867397785, 0.157421872, 0.1730463505, 0.0292288139, -0.2594898343, 0.5709747672, -0.2605439425, -0.1843514144, 0.5864434242, 0.6249138713, 0.1527578384, -0.4014694691, 0.395109266, -0.0262218863, 0.4540840387, 0.5244289041, 0.2416400909, -0.435120374, -0.5019577742, 0.4655287862, -0.2504517138, -0.0161521882, 0.5136734247, -0.8897697926, 0.536722064, 0.7431289554, 0.5302339196, 0.424256444, -0.3832386136, 0.2131224722, -0.3511363268, -0.4535349607, 0.5325165391, 0.3021930456, 0.5301752687, -0.4828076363, 0.3647009432, 0.0555367395, -0.7462893724, -0.810814023, -0.0991653651, -1.3497130871, -0.1011966839, 0.642529726, -0.3051357567, -0.5538294315, -0.1671505421, -0.3620973229, -0.0147618726, -0.2180014998, 0.7753409743, 0.8418121338, -0.2145158201, 0.3608207703, -0.2217800766, 0.1010078713, 0.5277327895, -1.1258510351, 0.0956538096, 0.6544606686, 0.1081341058, 0.7454723716, 0.6764710546, -0.1023348421, 0.6694951653, 0.1530131251, -0.0547121614, -0.1271054, -0.9089779854, 0.0619449131, 0.4683752358, -0.2066941112, -0.223395884 ]
http://arxiv.org/abs/2402.05201v2
http://arxiv.org/pdf/2402.05201v2
The Effect of Sampling Temperature on Problem Solving in Large Language Models
2024-02-07T19:11:23
2024-06-14T18:41:51
Matthew Renze, Erhan Guven
cs.CL
cs.CL, cs.AI
In this research study, we empirically investigate the effect of sampling temperature on the performance of Large Language Models (LLMs) on various problem-solving tasks. We created a multiple-choice question-and-answer (MCQA) exam by randomly sampling problems from standard LLM benchmarks. Then, we used nine popular LLMs with five prompt-engineering techniques to solve the MCQA problems while increasing the sampling temperature from 0.0 to 1.6. Despite anecdotal reports to the contrary, our empirical results indicate that changes in temperature from 0.0 to 1.0 do not have a statistically significant impact on LLM performance for problem-solving tasks. In addition, these results appear to generalize across LLMs, prompt-engineering techniques, and problem domains. All code, data, and supplemental materials are available on GitHub at: https://github.com/matthewrenze/jhu-llm-temperature
[ -0.4911494255, -0.9114167094, 0.8112967014, 0.2694296539, -0.0989854038, -0.0240267664, -0.3957621157, -0.3648957312, 0.1872105896, 0.383155942, -0.2791228592, -0.3513401747, -0.3304806352, 0.0912975371, -0.312933892, 0.4867653549, -0.1237721592, 0.021945646, -0.4448443949, 0.2924503386, -0.2487329841, -0.8059945703, -0.7958801389, -0.2070990652, 0.7032907605, 0.6799513102, 0.3667972684, 0.3926454186, 0.4166463614, 0.3071595728, -0.2519970834, -0.2278482467, -0.4332674146, 0.560012877, 0.0879946649, -0.527579844, -0.0146922767, 0.0686529055, 0.689794302, 0.6441283226, -0.3665515184, 0.3155252934, -0.0254849214, 0.6903303862, -0.6908633113, 0.2440377027, -0.7780478001, -0.3429607749, -0.3987280726, -0.2977259159, -0.4586847723, -0.0860976651, -0.0399203226, -0.4865528047, 0.3903978169, 0.2940391004, 0.3480201364, 0.2512577474, -0.4061262608, -0.2336591184, -0.7276624441, 1.0676225424, -0.831827879, 0.1781384051, 0.133215338, 0.168200314, -0.3694913983, -0.2550789714, -0.7968318462, -0.2358561158, 0.534019649, 0.1058532298, 0.0525761135, -0.1454693526, 0.5831688643, 0.1875510216, -0.5268087387, 0.2215373367, -0.5865143538, -0.0274758004, 0.6724220514, 0.431090802, 0.2828238308, -0.0606362857, -0.1041513085, -0.2811667621, -0.4571049511, 0.3307549059, 0.3503694832, 0.504375875, 0.1152628288, 0.3768158555, -0.2092456073, 0.6899965405, -0.3769138455, 0.0549327172, 0.2981346548, -0.0522678085, -0.257737875, -0.1961784214, 0.544003427, 0.1704957485, 0.3469314277, -0.0096700732, -0.0955872685, -0.4997046292, 0.0350154229, -0.7656496167, -0.4566226006, 0.4088761806, 0.0182275064, -0.1257133484, -0.0297358967, -0.7012050748, -0.4741970897, -0.3864540458, 0.1792128384, 0.1251632124, -0.5026900172, 0.107366845, -0.4408296943, 0.2878941894, 0.2554666698, -0.6322324276, 0.2159174383, 0.4845161736, 0.5727297664, -0.2233410627, -0.3215489984, -0.0853671953, -0.0854006484, -0.4357641637, 0.8988076448, -0.6882476211, -0.659106791, -0.154258877, -0.0949224308, -0.2591030598, -0.8152958155, 0.2609565258, -0.8140458465, -0.0389086902, -0.7601558566, -0.3048499227, 0.238594532, 0.3490192592, -0.900036633, 1.2506980896, -0.3465259373, -0.6016275883, 0.1074983478, -0.4546725154, -0.0901218802, -0.2323355824, 0.0510164499, -0.2075529099, 0.1581941396, 0.1629854888, 0.4027069211, -0.4410871863, -0.1186775044, -0.5225800276, -0.3430230618, 0.7777095437, -0.2784681022, 0.6841804981, 0.2739549875, -0.0192882121, -0.0871710181, -0.6264952421, 0.2258275896, 0.412311852, -0.3651952446, -0.37794137, -0.200630784, -0.1666522622, 0.1316645294, 0.1288270652, -0.6359201074, 0.3983808458, -0.2015109062, 0.0771173164, 0.7252922058, 0.3344099522, 0.4559173584, -0.4942078292, 0.7697321177, 0.1415119618, -0.3532190621, -0.0113231596, -0.7274201512, -0.5922840834, -0.1428762525, 0.239838928, 0.7670372725, -0.8523335457, -0.427041471, 0.2468248308, -0.7025817633, -0.1073698327, 0.3419086337, 0.1696467698, 0.3727224767, 0.2887306511, 0.1548313349, -0.3688747585, -0.7500662208, -0.27896294, 0.0100416932, -0.1881267875, 0.3601494431, 0.5081543326, 0.4014576077, 1.0268667936, -0.7271119356, 0.2807264924, -0.1398689002, 0.2050468475, 0.5040177107, 0.5514379144, 0.593306601, -0.5777741075, -0.3722862601, -0.4346752763, -0.5605486035, -0.3780647814, 0.1920440793, -0.0814630166, 0.4412131011, 0.771084547, -0.8677913547, 0.1300771683, 0.6434252858, 0.004177901, 0.9342743754, -0.0561828762, 0.3488491476, -1.0127700567, 0.1329326034, 0.3592576981, 0.2697057426, -0.7507032156, 0.3640353084, 0.1064060777, -0.2342454195, -0.7731258869, 0.9002091289, -0.571361661, 0.2283429503, -0.3708564937, -0.0125591084, -0.0629052371, 0.2243957818, -0.1450177282, 0.9565646648, 0.4708856642, -0.8578885794, 0.5670009255, -0.2862678766, -0.3548074067, 0.0857923552, -0.6524532437, 0.4400507212, -0.2308718711, 0.2903663218, -1.0888297558, -0.1970334649, 0.0653941631, -0.5076626539, 0.2689146101, 0.0912845135, -0.8615163565, -0.3614807129, -0.2021718472, 0.6846860647, 0.3944800496, -0.2644133866, 0.28519243, 0.0411240533, -0.5191636682, -0.3098877966, -0.5495993495, -0.232283175, -0.3161202967, -0.413982749, 0.0588520467, -0.4844431877, -0.7336471081, -0.3113517463, -0.1371876001, -0.2626044452, 0.2262340039, -0.0469519123, 0.0945985839, -0.038694635, 0.3698585927, -0.1510933191, 0.0133244824, 0.5691940188, 0.0724234506, 0.7447588444, 0.1269036531, -0.4074354768, -0.1133210063, 0.5694615245, 0.3770098686, -0.0523367003, 0.8664990664, 0.1343484372, -0.348341018, -0.2633794546, -0.715318501, -0.3199258149, -0.5306072831, 0.2612397969, -0.6382454038, -0.7572706938, 0.848171711, 0.2244048417, 0.1734531224, 0.3935171664, 0.657669723, -0.4727218747, 0.8511580825, 0.339191556, 0.0249948315, 0.4630461037, 0.0388189703, -0.0367172621, -0.7807043791, -0.2040790319, -1.0453983545, -0.3896249235, -0.5144427419, -0.5544754863, 0.5709027648, 0.0271342937, -0.3288112581, -0.1474585682, -0.1055872217, 0.7245302796, 0.8594784737, 0.1411263496, 0.1020596772, -0.1604558229, -0.0533002988, -0.1014062092, -0.6961510777, -0.0993695036, 1.134940505, 0.2512637079, 0.7513332367, 0.1596036106, 0.8693125844, -0.2178796679, 0.1909992695, -0.5131214261, 0.6925758719, 0.2133813947, -0.9702980518, -0.5743501186, -0.654599309, -1.020657897, 0.1633209735, 0.1362839937, -0.7910688519, -0.1834252477, 0.0599167272, -0.2169428319, 0.35889709, -0.7462792397, 0.6104169488, -0.0384652428, -0.2041146457, -0.1607049108, -0.1765832454, 0.3798522651, -0.1190818474, 0.5423753858, -0.2610662282, 0.1451421231, 0.9561886787, -0.0430912264, 0.9087898731, -0.3350721896, -0.296150744, 0.3781512678, 0.18611148, 0.450587064, 0.0542071089, -0.5570394993, -0.0666407198, 0.3712332547, -0.9993310571, -0.6840905547, 0.7734116316, -0.7038196921, -1.1204899549, -0.6888716817, -1.010568738, -0.4571195841, -0.0812430754, 0.0072472366, 0.352984041, 0.056431774, 0.2144435495, 0.9577797055, -0.4967925549, 0.5084950924, 0.6517859101, -0.4198449552, 0.0849400312, 0.7481458187, 0.4380349219, 0.5870271921, 0.1227810904, 0.2603861988, 0.0465377644, -0.549338758, -0.4081846178, 0.2003368288, -0.8139856458, -0.0779301599, -0.3741341531, -0.3381691873, -0.6065140963, 0.0212271474, -0.1130826175, -0.2247605175, -0.4780212045, 0.1447675973, 0.4829421341, 0.2810180187, 0.0803440511, 0.1475916505, -0.8634693027, 0.0743712634, 0.2951099277, 0.1176483035, 0.0870220661, -0.6721730828, -0.1971397549, 0.0687788501, -0.0549025498, -0.8993926048, 0.2725519836, -0.1202610061, 0.8115873933, 0.0400648899, 0.330262363, 0.5436775684, -0.15814735, 0.9638207555, -0.0105099427, -0.7443704605, 0.2929302156, -0.4046487212, 1.1627113819, 0.4002529383, 0.4868689775, -0.4485400319, -0.6745167971, -0.4687284231, -0.844369173, 0.2205507159, -0.1005263031, 0.51580441, 0.0114303073, 0.5163064599, -0.1091453582, 0.043387413, -0.4855090082, -0.3533348739, 0.3904879689, 0.1968333572, -0.2550599873, -0.4649659693, -0.0148146078, -0.4720260799, 0.6723965406, 0.0158380531, 0.3026994765, 0.0579884499, 0.1313674003, -0.1083799154, 0.5769731402, 0.7962233424, 0.6885718703, -0.4723617733, 0.0847008526, 0.4780948162, -0.3410098553, -0.1472581923, 0.1184649169, -0.0581408851, -0.0828218162, 0.2383214533, 0.1524175555, 0.0589450411, -0.6128535867, -0.0620971844, -0.0900288224, -0.4090367556, -0.3251822889, 0.3273120224, 0.1730153114, 0.2005384117, 0.7162259817, -0.0858577862, 0.0461826883, -0.7486972809, -0.0836160332, 0.4829258621, 0.0778024122, -0.0440033302, 0.2779526412, 0.0575081669, -0.1821871549, 0.844635129, -0.1566258967, -0.5597033501, 1.0983946323, 0.8423175812, 0.1864740849, -0.3074592054, -0.0565672219, 0.4321583807, 0.3488374054, 0.0979650393, 0.7076907754, 0.1418601424, -0.7964545488, -0.4832043648, -0.5306887627, -0.8880153894, 0.162301451, -0.6276652813, -0.07537736, -0.4942569137, -0.0881633162, -0.263651371, 0.0817033648, -0.889586091, 0.3644453883, 0.2218086869, 1.0851018429, -0.7707189918, 0.7468503118, 0.6617288589, -0.1502084285, -1.1166946888, 0.1173087358, 0.1938244849, -0.6441107988, 0.5019267201, -0.0553881116, -0.0198752079, 0.1149755269, -0.7263489962, -1.2234075069, 0.9741466641, 0.3150782883, -0.6441600919, 0.0374132358, 0.2226858288, 0.557590425, 0.0748359412, 0.3054460883, 0.6786516905, 0.4771037996, 0.3024326563, -1.2044935226, 0.0080289794, -0.4869920611, -0.1354044378, 0.2135522813, -0.6586004496, 0.8497530222, -0.2682268322, -0.113539204, -0.0310254879, 0.6633563042, 0.7308628559, 0.6615254879, 0.3721345663, 0.60774225, 0.8830257058, -0.0708761215, 1.1451816559, -0.2668879628, 0.1684966385, 0.8702540398, -0.5046015978, 1.0351066589, 0.7886354923, -0.2008311599, 0.1586632282, 0.6591662169, 0.2521287203, 0.2963929474, 0.7729684711, -0.3646303117, -0.2081965953, -0.0831580162, -0.7369982004, 0.234210223, 0.3039948642, -0.0305901524, -0.0809037611, 0.1713504642, 0.1643082649, -0.0901671126, -0.3906284273, 0.3909920752, 0.3271043301, -0.5322758555, 0.4806102812, 0.0356831811, 0.4942247272, -0.2155004591, 0.2587857842, -0.2440722138, -0.1713582277, -0.0419347212, -1.0009921789, 0.3993748724, 0.0454010218, -0.311552763, -0.3863510191, 0.489418149, -0.1387969404, -0.6682159901, -0.0983083993, 0.7292538285, 0.2847007513, -0.2932211757, -0.3612554371, 0.3131752312, -0.3692981899, -0.7421993017, 0.4784690142, 0.4202768803, 0.1662486643, 0.7280637622, 0.8179844618, -0.0284914896, 0.1488673091, 0.1376472861, 0.9344388247, -0.8305375576, -0.2503342032, -0.7369299531, 0.2740228176, 0.0419365093, -0.3119182885, 0.6723498106, 0.6212251782, 0.8456835151, -0.1326068342, 0.7270405293, 0.1008875892, 0.6925244331, -1.0113286972, 0.4478902817, -0.4429953098, 0.4108729661, -0.3268502653, -1.1908963919, -0.2561088204, -0.059561871, -0.7712222934, 0.2621966302, 0.8211221695, 0.8962330222, 0.2728549838, -0.1627345532, 0.3167538345, 0.2236769199, 0.4602983594, 0.3916683793, 0.9150561094, -0.0499963798, 0.4958517849, -0.4037380517, -0.151876688, 0.0151508814, -0.8053708673, -0.8079026937, -0.6409623623, -0.3038544059, -0.4721373022, -0.0279011, 1.0399521589, 0.3738648593, -0.7809320688, -0.2436690181, 0.3948711455, -0.0359905511, -0.1242502257, -0.2717813253, 0.0698947385, -0.3574002981, -0.7729483247, 0.359118849, -0.1990270168, -0.1655576676, -0.2515088022, 0.2679347396, -0.0568762757, 0.4771026969, 0.3171908557, 0.3266143799, -0.5593889952, -0.160111472, 0.2869012356, -0.3336142302, 0.0444910824, 0.8589583635, -0.6369941831, 0.1929498464, 0.6419177055, 0.6311964989, 0.6084933281, -0.0091851056, 0.3664152324, -0.8278018832, 0.028098328, 0.1549722403, 0.3359909356, 0.0254051425, -0.3205589652, -0.0471225753, 0.1197766885, -0.7130449414, -0.7620048523, 0.3005809188, -1.0294975042, -0.526550591, 1.4583775997, 0.2762167454, -0.3595321476, 0.0452785492, -0.1710790992, 0.0620214827, -0.5449960828, 1.1516854763, 1.1283103228, -0.0997984931, -0.6507076621, -1.0870701075, 0.0255870949, 0.6029569507, -0.7464207411, -0.0482193604, 0.3807886541, 0.5610942841, -0.1288943589, 0.707909584, 0.3695424497, 0.2865368128, -0.0538281687, 0.0496657602, -0.2307249308, -0.1757603437, -0.2010045052, 0.2906984985, 0.2691053748, 0.2082260102 ]
http://arxiv.org/abs/2402.05200v1
http://arxiv.org/pdf/2402.05200v1
Are LLMs Ready for Real-World Materials Discovery?
2024-02-07T19:10:36
2024-02-07T19:10:36
Santiago Miret, N M Anoop Krishnan
cond-mat.mtrl-sci
cond-mat.mtrl-sci, cs.AI, cs.CL, cs.LG
Large Language Models (LLMs) create exciting possibilities for powerful language processing tools to accelerate research in materials science. While LLMs have great potential to accelerate materials understanding and discovery, they currently fall short in being practical materials science tools. In this position paper, we show relevant failure cases of LLMs in materials science that reveal current limitations of LLMs related to comprehending and reasoning over complex, interconnected materials science knowledge. Given those shortcomings, we outline a framework for developing Materials Science LLMs (MatSci-LLMs) that are grounded in materials science knowledge and hypothesis generation followed by hypothesis testing. The path to attaining performant MatSci-LLMs rests in large part on building high-quality, multi-modal datasets sourced from scientific literature where various information extraction challenges persist. As such, we describe key materials science information extraction challenges which need to be overcome in order to build large-scale, multi-modal datasets that capture valuable materials science knowledge. Finally, we outline a roadmap for applying future MatSci-LLMs for real-world materials discovery via: 1. Automated Knowledge Base Generation; 2. Automated In-Silico Material Design; and 3. MatSci-LLM Integrated Self-Driving Materials Laboratories.
[ -0.1762845516, -0.6291370392, 1.1272563934, -0.0516857728, 0.081080839, 0.5020350814, -0.0684504732, -0.371747911, -0.1599562168, 0.178090468, -0.6854093075, -0.361030072, -0.3474633098, 0.1965902597, -0.2105270922, 0.4730410278, -0.4103414416, 0.1089010164, -0.6069537401, 0.4038999379, -0.2244350314, -0.4004743695, -0.2946308851, -0.3659848869, 0.3244898021, 0.6559482813, 0.3261901438, 0.6503394842, 0.4915205836, 0.200906232, -0.0840609372, 0.6377173662, -0.0342298448, 0.2478463948, -0.1625820547, -0.6664523482, -0.4172553718, 0.2972699404, 0.6547626257, 0.8695808649, -0.0355313048, 0.110924527, -0.1152366251, 0.3360902667, -0.2486709654, 0.0684955642, -0.4986949861, 0.4977374673, -0.3182859123, -0.5301135778, -0.4398357868, 0.0399925187, 0.0882310197, -0.6957208514, 0.4242382348, 0.4358963072, 0.7551713586, 0.0046010902, -0.4507324696, -0.4581900835, -0.7855935693, 0.9465938807, -0.617869556, 0.6340282559, 0.345117867, 0.4168960154, -0.4922149777, -0.7131328583, -0.4991378784, -0.4217163026, 0.1755717844, 0.0728693902, 0.8247391582, -0.1691717356, 0.2091226131, 0.390783757, -0.3497773707, 0.1075998023, -0.4278026521, -0.3738279939, 0.2351127416, 0.4619413614, 0.1968719661, 0.0768424347, -0.4104411602, -0.0442766286, -1.028124094, -0.4326196313, 0.2725792825, 0.3822341263, -0.0455099382, 0.7319030762, 0.0304715801, 0.2097238302, -0.482910037, -0.2989667058, 0.1929752976, -0.6823586226, 0.0574630499, -0.0857912004, 0.4847401977, -0.0928669199, 0.172090143, -0.3390353024, -0.3050911129, -0.1857227534, -0.0389568396, -0.9118914604, -0.0004754137, 0.3667028248, -0.334428668, -0.2036520243, 0.0893846899, -0.5486533046, -0.7279786468, -0.4961899221, 0.191246435, -0.0865060613, -0.5890375972, 0.1970422119, -0.4235049188, 0.0672565028, 0.5688998103, -0.7782271504, 0.3301484883, 0.6013061404, 1.0493600368, -0.2650925815, -0.4389900863, -0.2291807383, 0.2448875457, -0.4275160134, 0.947640717, -0.2495197952, -0.5771206617, -0.3032151759, 0.1150088981, 0.2744279206, -0.7106529474, 0.3895054162, -0.1145268157, 0.0560432412, -0.5625225902, -0.3124980927, 0.252337873, 0.3178559542, -0.4855861068, 0.7602319717, -0.0038859094, -0.6734696627, 0.3123336434, -0.4372270405, -0.4177784622, -0.1070561409, -0.3894999623, -0.381059438, 0.1534275115, -0.3967000842, 0.6792080998, -0.8651906848, 0.5518205166, -0.4838557541, -0.2225332558, 0.5944043398, -0.496565938, 0.1596566886, 0.3166164458, -0.2237236053, -0.3205086887, -0.8308846951, -0.3323869407, 0.295136869, -0.3804225922, 0.1001325473, 0.478233397, 0.0925411582, 0.3562246263, 0.3156681061, -0.8070016503, 0.0348061174, -0.0864735395, 0.5231698751, 1.0697489977, -0.2136606276, 0.4821262956, -0.259331882, 0.4040564001, 0.0947896317, -0.1449330449, -0.3004294336, -0.0319114737, -0.8156222701, 0.0875681266, 0.2423487008, 0.3772161901, -0.4660537839, 0.0763407126, -0.1725083292, -0.6953253746, -0.0432905331, 0.095937252, 0.1149176508, 0.5917124748, 0.0736585632, -0.0796310902, -0.611276567, -0.7213242054, -0.1238500252, 0.1090738997, 0.0668266863, 0.3191259801, 0.3844636977, -0.0957707688, 1.1035398245, -0.6572849751, -0.3215847015, -0.0996851325, 0.0225714594, 0.2997199297, 0.368204385, -0.1384619772, -0.9501392245, -0.0826766193, 0.0750619173, -1.1435015202, 0.1587325335, 0.0532122403, 0.2705451548, -0.0710104033, 0.8586493731, -0.488623172, -0.0526719131, 0.1301921755, -0.145425275, 0.6187084913, -0.238632828, -0.0693166479, -0.9753699303, 0.0436415374, 0.1975061148, -0.0333000831, -0.5565957427, -0.2997973859, -0.0352462679, -0.3892801106, -0.6151023507, 0.7819344997, -0.7654449344, -0.4652914107, -0.0946187451, 0.0459843092, 0.1540779173, 0.1606089324, 0.165779233, 0.8603130579, 0.4534417987, -0.78977108, 0.3240740299, -0.1107056141, -0.5128632784, 0.4489939511, -0.4424643815, -0.2164725661, -0.0650014281, 0.3185680211, -0.6140130758, -0.386924684, 0.0455380976, -0.0707301423, 0.350518465, 0.1719329655, -0.7831044793, -0.3361451924, -0.2183049321, 0.2111807019, 0.0665177554, -0.6145122647, 0.8075251579, 0.3568071127, -0.3452116251, -0.4024754763, -0.7189204693, 0.0680040643, -0.1497419924, -0.5882486701, 0.2441617399, -0.6821411252, -0.3737680912, -0.2551500201, -0.439397186, 0.1560531259, 0.5766544938, 0.2403037697, 0.1546190828, -0.1639878154, 0.4079338014, -0.206843853, -0.2446213365, 0.144418478, -0.0285557006, 0.6763369441, -0.1927995384, -0.5377095342, -0.1041239575, 0.068265602, 0.5036995411, -0.0353167839, 0.1374273449, 0.3531860709, -0.6145637631, -0.440233171, -0.4826118648, -0.3532245159, -0.540591538, 0.5186974406, -0.6722820401, -0.6718118191, 0.4940998852, -0.5388213992, 0.1031746939, 0.2135808617, 0.3345970511, -0.231394127, 0.8597068787, 0.5970810652, 0.4536192715, 0.195260793, -0.1391390413, 0.4373042881, -0.7837056518, -0.5477669239, -0.3237345815, 0.1348129064, -0.1576926261, -0.3320800662, 0.5015841126, -0.3124034703, -0.1047091931, 0.0581592433, -0.4504735172, 0.4668267667, 0.126420036, 0.0255928654, 0.4957931638, 0.1434739083, 0.0007880692, -0.0198088735, -0.6213102937, -0.586081028, 0.9424525499, 0.5363029242, 0.9906628728, -0.2192918211, 0.2569757104, 0.4792143703, 0.0214965306, -0.670978725, 0.7280891538, 0.180986926, -0.6447959542, -0.0407062545, -0.4585745931, -0.5945911407, 0.2211928219, -0.1507222503, -0.0147803482, 0.2947887182, -0.0878532529, -0.2509976327, 0.3754929304, -0.6264894009, 0.6110923886, -0.6693776846, -0.3070577681, -0.0412542149, -0.4984315038, 0.2030518055, -0.2692488432, 0.8021280766, -0.6189383268, -0.1125427708, 0.7486602068, -0.2577354014, 0.8336902857, -0.087399818, -0.5163981318, 0.3888727725, 0.2772637308, 0.2679112852, 0.1157903373, -0.3467758596, -0.1009423733, -0.0751241222, -0.1988020986, -0.207332164, 0.7700073123, -0.3255914152, -0.522495389, -0.6185947061, -0.5522587299, -0.2203814983, 0.1459259838, 0.1496410966, 0.5113378167, -0.2739630342, -0.0568156503, 0.8181462884, 0.0407385007, 0.3222486079, 0.5271395445, 0.1830697656, -0.0100753205, 1.7033691406, 0.4256635606, 0.1809772104, 0.0985988081, 0.2086655498, -0.0229869559, -0.7072326541, -0.3296310306, 0.2705752254, -0.7531220317, -0.2648879588, -0.5005273223, -0.3099123538, -0.318973273, -0.3352759778, -0.4442031384, -0.3020953834, -0.5564821362, -0.2323161662, 0.047403723, 0.9335792661, -0.1667598635, 0.037829306, -0.7035948634, 0.3711318374, 0.0443371534, 0.4534710944, -0.1219849512, -0.2912654877, -0.4943030477, -0.0381602272, -0.046956189, -0.4562491477, 0.2375557274, -0.0419047289, 0.635830462, 0.1160452515, -0.2160625756, 0.2797826529, -0.5205559134, 0.6304805279, -0.0217281785, -0.5116199851, 0.4383508563, -0.4187911153, -0.198489815, 0.2554043829, 0.4883781075, -0.3197411895, 0.1481209993, -0.6058604121, -0.7081054449, 0.7365401387, -0.2304330915, -0.1949588656, 0.0839219093, 0.197241053, 0.2829360664, 0.1507245153, -0.7981675863, -0.0562709756, 0.0688648894, -0.227045238, 0.0522346608, -0.2022997737, -0.2831450105, 0.3037613332, 0.8303445578, -0.3620012105, 0.1559887528, 0.301528424, -0.2136941105, -0.0765600577, 0.2524753511, 0.5234831572, 0.6437389255, -0.5122911334, 0.3316315114, 0.153965652, -0.2694023848, 0.2815156281, -0.0443900488, 0.0536355786, -0.3074605763, 0.0407008491, 0.5321777463, 0.0121784927, -1.0740249157, 0.3055788875, 0.0407348499, -0.1584085524, -0.6230317354, -0.104958266, 0.0612258688, 0.2275432199, 0.538420558, -0.104155682, 0.0094960844, -0.854001224, 0.0748392865, 0.5081600547, -0.1460140646, -0.2416293621, 0.3844368756, 0.2047428042, -0.0558915883, 0.3030601144, -0.2670476139, -0.4122342765, 0.9150652885, 0.6381562352, 0.2995938063, 0.0752575472, 0.0796033964, 0.1938903034, 0.2553704679, -0.3884417415, 0.0515458062, -0.1578438878, -0.6852177978, -0.0760864243, -0.4534805417, -0.8749088049, -0.126209572, 0.011493504, 0.4945806563, -0.7007382512, 0.2664289176, -0.2538995147, 0.2499028742, -0.1521710306, 0.5755758286, 0.1473294795, 0.8262891173, -0.9549042583, 0.3835244775, 0.1935613453, -0.2720270753, -0.3211962283, -0.5090421438, 0.1714116931, -0.6681102514, 0.7027157545, 0.1428194642, -0.1514206678, -0.1700061113, -0.8096154332, -1.1495162249, 1.4060120583, 0.2714824975, -0.1882427484, -0.2759879231, 0.1781804413, 0.1160634831, -0.2664343119, 0.2513197064, 0.3409326077, 0.5890501738, -0.0050483253, -0.4885044098, 0.1327639967, -0.1471950114, -0.5047089458, 0.149389565, -0.7386348248, 0.9247719646, -0.151627779, -0.412261337, 0.0924323648, 0.8576392531, 0.5020990372, 0.4487433434, 0.3928731382, 0.4898920059, 0.7131367922, -0.1772061884, 0.8774234056, 0.0850175172, 0.0836023539, 0.829867661, -0.581165731, 0.5263139606, 0.4005366862, -0.1644450426, 0.349165231, 0.9386414886, -0.2028196603, 0.1441984922, 0.3325657547, -0.3401570022, -0.5258756876, -0.4456602931, -0.4514421821, -0.0159283057, 0.881238699, 0.0628459379, -0.167513296, 0.0913285017, -0.0774423778, -0.0885322541, -0.0048880582, 0.244513765, 0.2472908795, -0.3694389164, 0.1544655412, 0.0734261498, 0.7637967467, -0.5738946795, -0.176651001, -0.1643729657, -0.044253666, -0.2655120492, -0.8966091871, 0.0259301011, -0.3072424531, -0.2684181929, -0.435269177, 0.9439823627, -0.1484887004, -0.2640752792, 0.033854723, 0.674398005, 0.2665593922, 0.1737696826, -0.2005299926, 0.0701251402, -0.0995616391, -0.3146806359, 0.5532101989, 0.3982465267, -0.0381243937, 0.97262007, 0.888923645, 0.0882654414, -0.0013305964, -0.1570981294, 0.7661554217, -0.7747468352, 0.0741189867, -0.5324052572, 0.2554122508, -0.121553719, 0.008354675, 0.6182645559, 0.8433759212, 0.5819969177, 0.0023885705, 0.8774113655, 0.0609754547, 0.7604833245, -0.5739527941, 0.4198459685, -0.6097038984, 0.4598631859, 0.1315287054, -0.8107028008, -0.2654365301, 0.3894777596, 0.2001006752, 0.0012140656, 0.7808853984, 0.7324616313, -0.2637502849, -0.1290662438, 0.1641537398, 0.3585524559, 0.6030495167, 0.1270308942, 0.963348031, -0.2943843305, 0.5706933737, -0.2060747743, 0.0586793348, -0.0334311016, -1.0476108789, -0.5481274724, -0.630161643, -0.0772535577, -0.3927395642, -0.2635572553, 0.6869376302, 0.6504621506, -0.3633974195, -0.4193459451, -0.5150785446, 0.2674853206, 0.5325086117, -0.2233538628, 0.2603798509, -0.5015115738, -0.7289569974, 0.9191505909, 0.3597883284, 0.3125252128, -0.3651032746, -0.1319131404, -0.1467193812, 0.1724497229, 0.4442059696, 0.5727573633, -0.2960163355, -0.0025384913, 0.3447073996, -0.2086933553, 0.1317885816, 0.8137248755, -0.713488698, 0.1879664361, 0.5631032586, 0.6812120676, 0.549939692, -0.4653604925, 0.6139685512, -0.511893034, 0.0705306903, 0.2266775966, 0.6243215203, 0.592638433, -0.2107783407, 0.794424355, 0.5150145888, -0.572316885, -1.0348848104, 0.4830850065, -1.0950829983, -0.4944660962, 1.1831561327, 0.2587932646, -0.263074249, -0.1525699049, -0.2682332993, 0.1620659828, -0.0192557964, 0.3410610855, 0.6601982117, 0.047910884, 0.0621266961, -0.6634929776, 0.3691039681, 0.5871332884, -1.0552994013, 0.2806568146, 0.2868441045, 0.344556272, 0.3695784509, 0.572809279, -0.2436072975, 0.1062509418, -0.0019289741, 0.0766258985, -0.2138783783, -0.6576935053, 0.0963093117, 0.0766416863, 0.3153354824, 0.4545998573 ]
http://arxiv.org/abs/2402.05195v2
http://arxiv.org/pdf/2402.05195v2
$λ$-ECLIPSE: Multi-Concept Personalized Text-to-Image Diffusion Models by Leveraging CLIP Latent Space
2024-02-07T19:07:10
2024-04-09T22:14:37
Maitreya Patel, Sangmin Jung, Chitta Baral, Yezhou Yang
cs.CV
cs.CV, cs.CL
Despite the recent advances in personalized text-to-image (P-T2I) generative models, it remains challenging to perform finetuning-free multi-subject-driven T2I in a resource-efficient manner. Predominantly, contemporary approaches, involving the training of Hypernetworks and Multimodal Large Language Models (MLLMs), require heavy computing resources that range from 600 to 12300 GPU hours of training. These subject-driven T2I methods hinge on Latent Diffusion Models (LDMs), which facilitate T2I mapping through cross-attention layers. While LDMs offer distinct advantages, P-T2I methods' reliance on the latent space of these diffusion models significantly escalates resource demands, leading to inconsistent results and necessitating numerous iterations for a single desired image. In this paper, we present $\lambda$-ECLIPSE, an alternative prior-training strategy that works in the latent space of a pre-trained CLIP model without relying on the diffusion UNet models. $\lambda$-ECLIPSE leverages the image-text interleaved pre-training for fast and effective multi-subject-driven P-T2I. Through extensive experiments, we establish that $\lambda$-ECLIPSE surpasses existing baselines in composition alignment while preserving concept alignment performance, even with significantly lower resource utilization. $\lambda$-ECLIPSE performs multi-subject driven P-T2I with just 34M parameters and is trained on a mere 74 GPU hours. Additionally, $\lambda$-ECLIPSE demonstrates the unique ability to perform multi-concept interpolations.
[ -0.4908681512, -0.5561052561, 0.7492505908, 0.4271927476, -0.5148711801, 0.2371646911, -0.1176271588, -0.1599140912, 0.3699838817, 0.5077716708, -0.4241153896, -0.5512393117, -0.5501565933, -0.2069571167, -0.3049245477, 0.8294652104, -0.0664729252, -0.0182316173, 0.0164630786, -0.0693368465, 0.0775139332, -0.1558599025, -0.6455934644, 0.2675055563, 0.5797757506, 0.3637857735, 0.3166332841, 0.3345879912, 0.2911417782, 0.1203892753, -0.2542435825, 0.1688033193, -0.2271203548, -0.0923377201, -0.147579819, -0.2874797881, -0.3717207015, 0.0285314098, 0.4314947128, 0.5745876431, 0.1762564778, 0.0708307922, 0.2152712494, 0.4879578054, -1.092492938, -0.3491507173, -0.3760117292, 0.2365410328, -0.3447101414, -0.1934059262, -0.2724768519, -0.2294822931, 0.4245025516, -1.156242013, 0.372146219, -0.1022437811, 0.6028636098, 0.3212495148, -0.4653878212, -0.022737572, -0.7951460481, 0.8041414618, -0.4351884425, 0.2616579235, 0.1111559048, 0.1545752585, 0.3427885175, -0.740413785, -0.5557843447, 0.2605499029, 0.3270295262, 0.6085159183, 0.3087635338, 0.0447931699, -0.0523107424, 0.2838398218, -0.3811860085, 0.156147778, -0.2805301845, 0.0387723595, 0.187245205, 0.0244448707, -0.0104738986, -0.1423712373, -0.5318484902, 0.0853337124, -0.7214756012, -0.1119503304, 0.1944163293, -0.2255281508, -0.1945799291, 0.6358865499, 0.2729156315, 0.2554804087, 0.2211746275, -0.103900753, 0.0251959674, -0.5842584968, -0.0688159466, -0.1597051919, 0.7937424183, 0.4264174402, -0.1881297529, -0.349989146, 0.1369864196, -0.0541461408, 0.1013747454, -1.2052459717, -0.3341743648, 0.2973428369, -0.3276809156, -0.0751837343, -0.1244011596, -0.9164410233, -0.3554518819, -0.0542463586, 0.1895508468, -0.5809478164, -0.39039886, -0.1181255877, -0.3872248828, -0.0296824295, 0.6349433064, -0.7068172097, 0.1852730215, 0.5304214358, 1.3397722244, -0.3399662077, -0.2099359781, -0.3008871675, 0.5119000673, -0.5514680147, 0.6655244827, -0.5320537686, -0.6610816717, -0.1566669792, -0.0073974892, 0.0732279643, -0.391135186, 0.507815361, -0.5573210716, 0.4944942892, -0.2021219283, -0.8577307463, -0.0666490197, -0.1061599702, -0.5410234928, 0.8610741496, 0.0871103927, -0.9530776739, 0.425660491, -0.8634156585, -0.0739058107, 0.0030456726, -0.1194934547, -0.6296660304, 0.042188514, 0.2740483284, 0.6725330353, -0.3269807696, 0.0524638109, -0.7533874512, -0.303234607, -0.0464255884, -0.2300908267, 0.4808524251, 0.0553266555, -0.4157500267, 0.2411012501, -0.7346975803, -0.2856586874, -0.0556347333, -0.0199614838, -0.8757050037, -0.2176190764, 0.3761874735, 0.4225577116, 0.1428680271, -0.6608888507, 0.1457574069, -0.5594838262, 0.2369243205, 0.8073999882, 0.1287818551, 0.9207607508, -0.0997195914, 0.5746504664, 0.4088824987, -0.1553999931, -0.6064847112, -0.4749236107, -0.5904667974, -0.5601245165, 0.1538345218, 0.4290351272, -0.9141696692, 0.440975368, -0.1462413818, -0.4751363397, -0.4715472162, -0.0058247996, 0.4206652939, 0.7308933139, 0.4249746501, -0.5494935513, -0.2003203034, -0.8292930126, 0.264985919, 0.4551784694, -0.231870234, 0.6060917974, 0.5160220861, -0.1871090978, 0.9527571797, -0.6452146173, -0.4063137472, 0.2597294748, 0.2148533612, -0.262713939, 0.4902190864, 0.8515325785, -0.7336953282, -0.5969573855, -0.2374139875, -0.5548562407, 0.110071443, -0.2380413115, -0.2946337461, 0.1323054731, 0.4456261694, -0.3348446786, 0.4669712782, 0.7232569456, -0.4234125018, 0.4927363992, -0.4688994288, 0.1781982034, -1.5220676661, 0.2214062363, 0.4660159647, -0.1846740842, -0.2307632715, -0.1300293803, 0.3002756834, -0.1188995242, -0.701089561, 0.8234032989, -0.5427363515, -0.2935377657, -0.4243639112, 0.1545274705, 0.1556286961, 0.5589129329, 0.4004633129, 1.1483917236, 0.8125931621, -1.0450838804, -0.0848759413, 0.175346911, -0.313824147, 0.6689206958, -0.6449670196, 0.2737141848, -0.1340032071, 0.4430969656, -0.9618384242, 0.0611359887, 0.302588582, 0.1348307431, 0.0008467604, 0.1507871151, -0.3214461803, -0.1987131387, -0.7697589993, 0.753190577, 0.3285800517, -0.6742871404, 0.6348401308, 0.2511103749, -0.0710142255, -0.5859103799, -0.507519722, 0.0165365599, -0.4691586494, -0.6104381084, 1.0662256479, -0.1267686635, 0.2764974236, 0.3727695048, 0.1105437428, -0.2782874107, 0.1536408514, 0.2952083647, 0.113569051, -0.2636473477, 0.1234790906, 0.3653807938, -0.1515391916, -0.446667105, -0.7023655176, 0.3490442038, 0.4469386339, -0.2208678424, -0.6688395739, 0.3573337793, 0.4639951885, -0.2845963836, 0.8850438595, 0.7698073387, -0.2370430529, 0.0330201313, -0.3564213812, -0.0873806328, -0.4039806724, 0.5870066285, -0.4868704975, -0.8241189718, 0.2935268283, -0.6053467989, 0.3557806909, 0.2447445989, 0.4998806417, -0.3538436592, 0.5497276187, 0.8416499496, 0.1595243365, 0.8753959537, -0.604559958, -0.2439132482, -1.6281248331, -0.0201212019, -0.1364877969, -0.1726595312, -0.1216836646, -0.9271460176, 0.5128290653, 0.0614902154, -0.3349873424, 0.1479075253, -0.551676333, 0.4338296056, 0.4798571169, 0.2251114845, 0.1135918573, -0.1031023934, -0.0882085711, -0.3364619315, -0.3849495053, -0.515869081, 1.569886446, 0.1704691797, 0.677618742, 0.3466592431, 0.5227867961, 0.0162163507, 0.4109836817, -0.5847941637, 0.4188989997, -0.5340328813, -0.3210200667, -0.3301568925, -0.036593996, -0.9768543243, 0.4744482636, -0.1455647647, -0.4742504656, 0.1659997255, 0.19392775, -0.5325494409, 0.3824429214, -0.8623655438, 0.8072609305, -0.1906986386, -0.6160261631, -0.380219847, -0.3126468062, 0.5395382047, -0.3768066168, 0.0015895513, -0.1067424864, -0.7262080312, 0.7726646662, -0.4582714736, 0.7208219171, -0.269877851, -0.1855954826, 0.0357657894, -0.1420470178, 0.259855479, 0.2503360212, 0.0832549259, -0.124355346, -0.3139133751, -0.4291167855, -0.6213648319, 0.639603138, -0.8161813021, -0.4552467465, -0.2380150855, 0.1260739416, -0.0687068105, 0.0179285333, 0.7447462678, 0.2052085251, -0.4628174901, 0.0419584736, 0.7304095626, -0.4829477668, 0.6588605642, 0.3658575714, -0.1273361593, -0.590026319, 0.8394734859, -0.1470972747, 0.1621808857, 0.5175775886, 0.0160969552, -0.4405642748, -0.3519627452, -0.5464324355, 0.3580498397, -0.3094580472, 0.1372846365, -0.8609251976, 0.1864858866, -0.2628710568, -0.2856971025, -0.7593234777, -0.4765900075, -0.8604111671, 0.3081371486, 0.0166711528, 0.2124660611, 0.3529557884, 0.4666239917, -0.6692704558, 0.3958176374, 0.2109010071, 0.3533629179, 0.0885064006, -0.4728090465, -0.2598988116, -0.3562426865, -0.6764786243, -1.0266497135, 0.1957893968, 0.3601079285, 0.0599324666, 0.4291556776, -0.217966184, 0.7009686828, -0.6147691011, 0.7897130847, 0.5778396726, -1.0142700672, 0.4708478451, -0.003079314, 0.3105802834, 0.1592683941, 0.3876584172, -0.5137742162, -0.5261210799, -0.5949127674, -1.1152344942, 0.7921429873, 0.1518150419, 0.1126342937, 0.4363500178, 0.5118581653, 0.1653366387, 0.2455544919, -0.5206933618, -0.2758837938, -0.4605569541, -0.2146544158, -0.282191962, -0.2926842868, 0.0619940236, -0.1472041607, 0.7053108215, -0.2467264235, 0.2009183317, 0.3511555493, -0.0565654635, 0.2305105478, 0.1693982184, 0.6364130378, 0.257761538, 0.0340173319, -0.0194878168, -0.1709884405, -0.3998689651, 0.4366580248, 0.2697138488, -0.2909903526, 0.0873184279, 0.0534592308, 1.0756802559, 0.2881567478, -0.3076858222, 0.7638341784, -0.1775179058, -0.1789814681, -0.4597680271, -0.0495932214, 0.260912627, 0.1812208444, 0.2261086255, 0.2860883176, 0.2154839486, -0.0592777133, 0.1442272812, 0.2326605171, -0.0342833437, -0.5586933494, 1.0957818031, 0.5417413116, 0.0515302531, 0.1169694588, -0.2715667486, -0.1293874532, 0.6104886532, 0.2341667414, 1.1148401499, -0.1587151885, 0.4137011468, 0.2841289937, -0.1113363057, -0.0490203165, -0.1068590134, -0.298265934, -0.6832311153, -0.4958271086, -0.2221449763, -0.5376325846, 0.2855242789, -0.0868907273, 0.3208020926, -0.7375900149, -0.1925335228, 0.3794474602, -0.244611159, -0.5248789191, 0.1678952724, 0.0630614758, 0.7496038675, -0.6016044021, 0.9468714595, 0.8125343919, -0.2954199612, -0.6343511343, 0.4248091578, -0.1285278499, -0.0637284517, 0.5921316147, 0.1294908077, -0.0439371802, -0.0748262033, -0.1905026585, -0.7644897699, 1.1518769264, 0.4447685182, -0.6751642227, -0.2197547108, -0.4421726465, 0.4478207827, -0.4519215822, 0.4790505767, 0.2179125845, 0.0899402723, 0.2798198462, -0.5617397428, -0.2048770189, -0.0146654584, 0.4166324437, 0.0535856113, -0.8959410787, 0.9762521386, -0.2253549844, -0.2962957919, 0.276296556, 0.8231287599, 0.2806816697, 0.4089770019, 0.5348239541, 0.5787438154, 0.8121064901, 0.0971922278, 0.9675340056, -0.4755742252, 0.3136734366, 0.9315707684, -0.3983221948, 0.5784245729, 0.3536360562, 0.0145380097, 0.3395548761, 0.8792389631, 0.1448517442, 0.9200973511, -0.1562338918, -0.4710222483, 0.0740768313, 0.0389268883, -0.2827149034, 0.0010410808, 0.3238102198, -0.323158443, -0.114883624, 0.4688701332, -0.2121490687, -0.0498209186, -0.07767988, 0.7546949983, 0.0142734572, -0.602468133, 0.2157325447, 0.2640901506, 1.3359839916, -0.3511018753, 0.2436603755, -0.1989793926, 0.2008238435, -0.0761945248, -0.7470400333, 0.3359878063, 0.0426036939, -0.0587516315, -0.1978855282, 0.3390187621, -0.5137529373, -0.2827349603, 0.2375857681, 0.3515678644, 0.0175857153, -0.1539057195, -0.7627401352, -0.3406658769, -0.2152609825, -0.3552959263, 0.1418834776, 0.5592852831, 0.0420953967, 0.410777241, 0.2869584262, 0.1018189266, -0.0113981003, -0.0212790873, 0.7208852768, -0.6920345426, -0.8293355703, -0.7556481957, 0.3196960092, -0.0476030521, -0.6941159964, 0.5439360738, 0.9451701641, 0.5744546652, -0.2173702866, 0.7887441516, 0.252158314, 0.5959765315, -0.7739914656, 0.3014800251, -0.9745616913, 0.1951608807, -0.6425150633, -0.9625611305, 0.0547732301, 0.3261093199, -0.1833399087, -0.0259795487, 0.7837321758, 0.5077905059, -0.2616451979, -0.1411365122, 0.115187116, -0.1788806021, 0.6619055867, 0.7556203008, 0.7146075368, -0.2227146626, 0.310072124, -0.3486477733, -0.326203227, -0.1538785398, -0.6989272833, -0.7814615965, -0.8865499496, -0.6709582806, -0.1437022686, -0.3010984361, 0.6317554712, 1.0935924053, -0.4284203351, 0.1272904277, -0.3596076965, -0.0412227772, 0.0207402632, -0.170213297, 0.7798067927, -0.0530280024, -1.0966485739, 0.0579660013, 0.6818000078, 0.4595464468, -0.4408905506, -0.1221153289, 0.1306049675, 0.0420291796, 0.5787121058, 0.1860002875, -0.7011941671, 0.1242534593, 0.0170458406, -0.3698458374, 0.2326117903, 0.9779151678, -0.77140522, 0.3421730995, 0.0386417471, 0.9142566919, 0.9853639007, -0.0143243112, 0.3293697536, -0.9498243928, 0.7738307714, 0.2449109256, 0.26269418, 0.3268631697, -0.3376302123, 0.4306892455, 0.4194417, -0.2273806185, -0.3597531617, 0.1656067967, -0.911098659, -0.6174111962, 0.9738169312, -0.3085387945, -0.1796646267, 0.0289245304, -0.4593697786, 0.1094284058, -0.572891295, 0.7778377533, 0.6981465816, -0.0807374194, -0.4772323668, -0.1119910255, 0.603813231, 0.6744149923, -1.0172897577, -0.3729859591, 0.3644505143, 0.2219927013, 0.2710475624, 1.0673779249, 0.0770334229, 0.2830286324, -0.306784451, -0.0017029681, 0.169334501, -0.3473459482, -0.1877650172, 0.3463456929, -0.1594755948, -0.5823125243 ]
http://arxiv.org/abs/2402.05188v1
http://arxiv.org/pdf/2402.05188v1
InCoRo: In-Context Learning for Robotics Control with Feedback Loops
2024-02-07T19:01:11
2024-02-07T19:01:11
Jiaqiang Ye Zhu, Carla Gomez Cano, David Vazquez Bermudez, Michal Drozdzal
cs.RO
cs.RO, cs.AI, cs.CL
One of the challenges in robotics is to enable robotic units with the reasoning capability that would be robust enough to execute complex tasks in dynamic environments. Recent advances in LLMs have positioned them as go-to tools for simple reasoning tasks, motivating the pioneering work of Liang et al. [35] that uses an LLM to translate natural language commands into low-level static execution plans for robotic units. Using LLMs inside robotics systems brings their generalization to a new level, enabling zero-shot generalization to new tasks. This paper extends this prior work to dynamic environments. We propose InCoRo, a system that uses a classical robotic feedback loop composed of an LLM controller, a scene understanding unit, and a robot. Our system continuously analyzes the state of the environment and provides adapted execution commands, enabling the robot to adjust to changing environmental conditions and correcting for controller errors. Our system does not require any iterative optimization to learn to accomplish a task as it leverages in-context learning with an off-the-shelf LLM model. Through an extensive validation process involving two standardized industrial robotic units -- SCARA and DELTA types -- we contribute knowledge about these robots, not popular in the community, thereby enriching it. We highlight the generalization capabilities of our system and show that (1) in-context learning in combination with the current state-of-the-art LLMs is an effective way to implement a robotic controller; (2) in static environments, InCoRo surpasses the prior art in terms of the success rate; (3) in dynamic environments, we establish new state-of-the-art for the SCARA and DELTA units, respectively. This research paves the way towards building reliable, efficient, intelligent autonomous systems that adapt to dynamic environments.
[ -0.0548756756, -0.742797792, 0.6842942238, -0.0899811164, -0.2023354024, 0.1565948129, -0.1282341182, -0.4686878324, 0.0192112681, 0.332164675, -0.6784669757, -0.5316333175, -0.265104115, 0.1746608168, -0.0536732711, 0.9097755551, -0.278511405, -0.1210868508, 0.0488709398, -0.3530435264, -0.4343540668, -0.4295759201, -0.5114786625, -0.595089972, 0.4429183602, 0.5794821978, 0.3063509166, 0.530389607, 0.3474264741, 0.277173847, -0.0725525692, 0.3769009709, -0.4924825132, 0.2630508542, -0.3196541369, -0.4314430654, -0.2021085471, -0.3988341391, 0.4810158312, 0.5233251452, -0.2433183342, -0.0937185511, 0.0912986547, 0.410171032, -0.7183324695, 0.0521587357, -0.5788702965, 0.506452024, 0.3637968004, -0.4599612653, -0.1992038935, -0.2867042422, 0.028093243, -0.860081017, -0.2727605999, -0.2173441499, 0.7405948043, 0.5059236884, -0.5774091482, -0.6764170527, -0.9888379574, 0.7198055983, -0.4929894209, 0.2066077441, -0.2312355489, 0.4216564, -0.4725891054, -0.6040512323, -0.5073117018, -0.4319458306, 0.0687261596, 0.4674228728, -0.001900639, 0.1969331056, 0.2028309107, 0.0675353706, -0.2285491079, 0.2667760253, -0.2718152404, 0.1118347645, 0.3445641696, 0.2670942843, 0.145724833, -0.0869701803, -0.9322408438, -0.1615578681, -0.7647866607, 0.4507941306, 0.2618727088, 0.3261883259, -0.2574441433, 0.251386106, -0.453635931, 0.7290584445, 0.1521604657, -0.5385504365, 0.0424015336, -0.2128291428, -0.5173520446, -0.0427523851, 0.4985595345, 0.0883990228, 0.019868793, -0.0540962815, -0.2932709157, -0.1738612503, 0.4255150557, -0.219350338, -0.0638563782, 0.0841164514, -0.2486726046, -0.0877604038, 0.1508974135, -0.7170144916, -0.32608518, -0.567879498, 0.4941777289, -0.3254327476, 0.1689315438, -0.1981808692, -0.0616447963, 0.3226297796, 0.8015835285, -0.5913469791, 0.0483126603, 0.3537600935, 0.885917604, -0.0655911565, -0.2885207236, -0.6806883216, 0.5927304029, -0.6442191005, 0.7595009208, -0.4194837213, -0.3313502371, 0.213058874, -0.0200827233, 0.0921021402, -0.8599829674, 0.0316741355, -0.4780031741, -0.0207180306, 0.2424622327, -0.2392508686, -0.5339760184, 0.3620012105, -0.0509389378, 0.8230028749, 0.3514923751, 0.1042684838, 0.4558850825, -0.7127767205, -0.5229861736, 0.040394105, -0.1245166808, -0.0798776224, -0.1280095577, -0.2163048238, 0.3286290765, 0.1469416916, 0.1916222572, -0.5756041408, -0.6019089222, 0.1751152277, -0.0385953113, 0.5021609664, 0.3169521093, -0.4521439373, 0.6104259491, -0.5607328415, -0.0273152534, -0.3159927726, -0.4861038327, -0.041921109, -0.0252664741, -0.5293463469, 0.2003635466, 0.2917848825, -0.2072277218, 0.2712097168, -0.2426566929, 0.4383260608, 0.8463176489, 0.0215428378, 0.6250084043, -0.1660586447, 0.8371785879, -0.3858819604, 0.148678109, -0.4968473613, -0.1261081845, -0.8662400246, -0.358496964, -0.1942600012, 0.7518999577, -0.9122251868, 0.5084761977, 0.2906259596, -0.2269366086, 0.164716363, 0.5100400448, 0.4305352569, 0.6370111108, 0.3874563873, -0.1742071658, -0.4491141438, -0.5215147138, 0.193638891, -0.0017089405, -0.5762222409, 0.4839683175, 0.4178471565, -0.2983204126, 0.6733167171, -0.1214244068, -0.5240339041, -0.2370091081, -0.1998120546, 0.4288907647, 0.3686183691, 0.3658205867, -0.4647480249, -0.2175245583, 0.3284022808, -1.2037798166, 0.0709299818, -0.2737469673, -0.1914237142, 0.160047546, 0.630553782, -0.213846311, 0.3600215614, 0.4002425373, 0.0269819964, 0.1692247689, -0.5597749949, -0.2099207491, -0.4644383788, 0.0547870919, 0.0790373534, -0.2274745107, -0.372495383, 0.5234336853, -0.1137006059, 0.0166456699, -0.542644918, 0.3337527514, -0.2082509696, -0.1496877372, -0.3848025799, 0.208344236, -0.1838010252, 0.8228120208, 0.0420372561, 0.410913378, 0.3617481291, -1.2048667669, 0.7214577198, -0.0843403935, -0.4483057559, 0.614515245, -0.5801686049, 0.3209932446, 0.1121701673, 0.5994209647, -0.7176344991, -0.5273615718, 0.7364397645, -0.1688067317, 0.1732786447, 0.0233566258, -0.4881056547, -0.1735582799, -0.2522974908, -0.059046004, 0.3956641257, -0.7703940868, 0.5449047685, 0.3435094655, 0.3158724308, -0.4242316782, -0.5979579091, -0.2097155154, -0.3944474757, -0.1417974681, 0.0429754145, -0.1809499711, -0.2891497016, -0.166863054, -0.1956072897, -0.1844587773, 0.3711789846, 0.1112000495, 0.1957971305, 0.0502158627, 0.2938346863, 0.3561908901, -0.0852753669, -0.0807993114, -0.2365861386, 0.4242613912, -0.1021419093, -0.1630048156, -0.6428572536, -0.1040084809, 0.3269414306, 0.3942254186, 0.2789719105, 0.1314770132, -0.3241783977, -0.6621133685, 0.1533435732, -0.2022080272, -0.5364845395, 0.1826500148, -0.4118776023, -0.8389217854, 0.3902249038, -0.4870743155, -0.0622157715, 0.1234021634, 0.4943329692, -0.5699616075, 0.4139114022, 0.9230104089, 0.1896201223, 0.591527462, -0.4311531186, 0.110367395, -0.9015103579, -0.5271655321, -0.087911047, -0.7226027846, -0.4053730667, -0.4530635178, 0.7937546372, 0.3257330656, -0.7182933688, 0.3322443962, -0.7038484216, 0.2321574539, 0.689580977, 0.3284653425, 0.3041886985, -0.1203850582, -0.1379298717, 0.468719393, -0.9718937874, -0.6662001014, 0.7361255288, 0.1306554228, 0.7883008718, 0.071059294, 0.3430715799, 0.3469462395, 0.3427200019, -0.8551524878, 0.4235028028, 0.0322604328, -0.3257588744, -0.2955661714, -0.3174125254, -0.9603740573, 0.2420482039, 0.1275308579, -0.7667697072, 0.2976763248, 0.3100322187, -0.6637438536, 0.4118802249, -0.5566747785, 0.5221703649, -0.3898346722, -0.2781171799, -0.35322088, -0.8203189373, 0.4235361218, 0.0884054676, 0.1459224969, -0.2049925923, -0.4067459106, 0.0697931573, -0.2967164814, 0.9506301284, -0.1865988225, -0.4394851625, 0.6260910034, 0.1427366287, 0.293769598, 0.332493782, -0.1310185045, 0.156493336, -0.3128519058, 0.0047955918, -0.7333780527, 0.6736910939, -0.655174017, -0.36013484, -0.4806010723, -0.6748146415, 0.108422108, -0.066613622, 0.11102245, 0.2456815243, 0.204624936, 0.3772202432, 0.594779253, -0.4203287661, 0.4717852175, 0.6798112392, -0.1547807902, -0.3153988421, 0.6118321419, 0.1574143469, 0.2424960434, 0.7754077315, 0.0317742564, 0.0601506233, -0.1429132819, -0.6624231339, -0.2801494896, -0.7806904316, -0.5764333606, -0.1819649935, -0.0007143097, 0.0068754097, -0.7831431627, -0.1137426049, 0.0126952734, -0.4244841039, -0.0159724932, 0.3166584373, 1.0526447296, -0.2986489534, 0.309342593, -0.466870755, 0.2304165661, 0.4254499674, 0.2712894976, -0.0466749407, -0.5462993383, -0.1304428428, 0.0889988169, -0.6464374661, -0.6265889406, 0.3221025169, 0.1448248327, 0.5795863271, 0.5971582532, 0.119420968, 0.5638362169, -0.2183891535, 0.6635963917, -0.0595128126, -1.1199295521, 0.8526929617, -0.4830982387, 0.3699668348, 0.3090195358, 0.311054498, -0.4621156454, -0.3698269427, -0.3691660762, -0.7658074498, 0.7225541472, -0.3185503185, 0.3049826324, 0.2459445149, 0.7976414561, 0.3681306541, 0.260025382, -0.64738518, -0.0604246557, 0.0230085272, 0.0400891341, 0.1092007086, 0.0475820526, -0.2977383733, -0.2431784719, 0.3909792304, -0.5874519944, 0.3497861326, 0.2935875654, -0.0388736948, -0.3864144981, -0.0527356192, 0.7330234647, 0.8186620474, -0.1843166947, 0.0661190003, 0.7279223204, 0.1739857346, 0.345015198, -0.5212281942, -0.3548265994, -0.2324371934, 0.3783816695, 0.615917027, 0.61412251, -0.8716028333, 0.0355019979, 0.5191384554, 0.0550836213, -0.5219715238, 0.6448059678, -0.2993201017, 0.412106812, 0.333927542, 0.2242909521, 0.0572943948, -0.8500449657, 0.1989320666, 0.3153236806, -0.5059882998, -0.4909186661, 0.4823928177, 0.2206139565, -0.3119865358, 0.3011304736, -0.2718853951, -0.3994111717, 1.0989186764, 0.4413824677, 0.5967715383, -0.1293581128, 0.2331146598, 0.5126105547, 0.397759527, 0.150243327, 0.1756099164, -0.4803829789, -0.8189613223, -0.1711341888, -0.329223454, -1.0526047945, 0.0532048158, -0.396753639, 0.2632722855, -1.1832172871, 0.3265603483, -0.8181425333, -0.1459914148, -0.5065666437, 0.3347256482, 0.217565313, 0.5497499704, -0.3032368422, 0.9528813362, 0.8665721416, -0.240168035, -0.567653954, 0.1187479347, 0.0703337267, -0.6977375746, 0.7810513377, 0.1510085315, -0.6959562898, -0.4296966195, -0.871142745, -1.1050614119, 1.2567938566, 0.550393939, -0.3876905739, 0.3821597993, -0.5037515163, 0.785733521, -0.5869889259, 0.1700357497, 0.2128903568, 0.4346375763, -0.0012671622, -0.7486882806, -0.1675082892, -0.0848729387, 0.0727060512, -0.0986960977, -1.1406898499, 0.7601944804, -0.317961067, -0.3187353313, 0.252453059, 0.7855458856, 0.5801352859, 0.5850060582, 0.3680576384, 0.3228305876, 0.8236173987, 0.0048831468, 1.2668315172, -0.1664171368, 0.2499127239, 1.1840127707, -0.4983969331, 0.7549183369, 0.1403978765, -0.1708049029, 1.1353939772, 0.6221439838, 0.1419693828, 0.7278332114, 0.30597049, -0.3290855885, -0.0885113329, -0.086433351, -0.178886652, 0.5561079979, 0.547973156, 0.0463856161, -0.1255881488, 0.2558642626, -0.0693291202, 0.2721931338, -0.3157723248, 0.7340777516, 0.0486773886, -0.4634844363, 0.366815418, -0.0564832278, 0.8975894451, -0.9066445827, -0.1408043355, -0.3246138394, 0.5598521829, -0.1451552361, -0.7229466438, 0.4132952988, -0.0211343672, 0.1294939518, -0.3651329577, 0.6656901836, -0.2996000648, -0.085103184, 0.6969349384, 0.0667653307, 0.1472257227, 0.4003127217, -0.3534216285, 0.0400361195, -0.0704042166, -0.1157593802, 0.3006441891, 0.5629796982, 0.1606581956, 1.1061441898, 0.3340952694, -0.3438933194, -0.0588764288, -0.5032973886, 0.6995970607, -0.6092765331, -0.2567046583, -0.4676320255, 0.2849365771, 0.2801305652, -0.650588274, 0.8446276188, 0.2571371198, 1.266130805, -0.0190513581, 0.7560645938, 0.0037183184, 0.350679934, -0.6658989191, 0.3740182221, -0.7785664797, 0.1520463228, 0.0755381361, -0.7337459922, -0.4160830975, 0.8907421827, -0.055812072, 0.1567533612, 0.5335099101, 0.4430481791, 0.0977665633, -0.3569976091, 0.4597982764, 0.203627497, 0.1902133524, 0.7800300121, 0.987693131, -0.2052348852, 0.5220914483, -0.4520466328, -0.2620768845, -0.2600800395, -0.8677180409, -0.3734073043, -0.0984380916, -0.2074334025, -0.0315470733, 0.1711732745, 1.0573276281, 0.749997735, -0.8302890062, -0.7325638533, -0.2760339975, 0.5583889484, -0.4287959039, -0.2323596776, -0.1295567155, -0.7782165408, -0.8835104108, 1.1417577267, 0.6544885039, -0.4052711427, -0.3494592011, -0.3529868424, -0.149851501, -0.0406472571, 0.6762791872, 0.6087669134, -0.6878226995, -0.5145132542, -0.1278482676, -0.0408608802, 0.28720209, 0.7208818793, -1.2404429913, 0.5941357017, 0.397721231, 0.2305385619, 0.3093519807, -0.2514730394, 0.693849504, -0.6193324327, 0.3657052219, 0.0605239905, 0.3448559344, 0.2109553516, -0.5132235885, 0.8408156633, 0.2771726251, -0.5221379995, -0.591011107, 0.2579956055, -0.88393718, -0.3741983473, 0.9184949994, -0.3583117723, -0.0363433398, -0.0277769808, -0.1058136597, 0.3358492851, -0.5636011362, 0.9535348415, 0.3215636015, -0.5207405686, -0.1025571749, -0.4448671937, 0.1436933428, 0.2358522862, -1.0775965452, -0.4737416804, 0.3593151271, 0.1674008667, 0.2125018239, 0.3066584468, 0.2436554134, 0.3364396393, -0.2093976438, 0.2262968123, 0.1538119316, -0.6656466722, -0.6606791019, 0.4203537107, -0.430914104, -0.2474330515 ]
http://arxiv.org/abs/2402.05111v1
http://arxiv.org/pdf/2402.05111v1
Edu-ConvoKit: An Open-Source Library for Education Conversation Data
2024-02-07T18:59:31
2024-02-07T18:59:31
Rose E. Wang, Dorottya Demszky
cs.CL
cs.CL, cs.AI
We introduce Edu-ConvoKit, an open-source library designed to handle pre-processing, annotation and analysis of conversation data in education. Resources for analyzing education conversation data are scarce, making the research challenging to perform and therefore hard to access. We address these challenges with Edu-ConvoKit. Edu-ConvoKit is open-source (https://github.com/stanfordnlp/edu-convokit ), pip-installable (https://pypi.org/project/edu-convokit/ ), with comprehensive documentation (https://edu-convokit.readthedocs.io/en/latest/ ). Our demo video is available at: https://youtu.be/zdcI839vAko?si=h9qlnl76ucSuXb8- . We include additional resources, such as Colab applications of Edu-ConvoKit to three diverse education datasets and a repository of Edu-ConvoKit related papers, that can be found in our GitHub repository.
[ -0.5046949387, -0.9859583974, 0.1148137748, 0.0418811254, 0.003644644, 0.3833838999, -0.3373463452, -0.3226901293, 0.1908675283, 0.3283790946, -0.6413036585, -0.5893783569, -0.5248072743, -0.4481802583, -0.4169076383, 0.8073182702, 0.1951509267, 0.1813741624, -0.7886698842, 0.0690224692, -0.4698901772, -0.5152910948, -0.6746572852, -0.3972838521, 0.1689293236, 1.0887809992, 0.498280406, 0.0610371232, 0.5775353909, 0.2345960736, 0.0936341584, -0.1283576339, -0.7442236543, 0.3938806951, -0.122677736, -0.1368401349, -0.4420692027, 0.221825853, 0.6039300561, 0.8374046683, -0.5025590062, 0.2536264956, 0.5026273131, 0.8672875166, -0.7812097073, 0.3012338281, -0.4101783335, -0.1866697818, -0.3311733305, -0.0692339838, -0.4955274761, -0.5555105209, 0.4726437628, -0.8269542456, 0.1233198047, -0.3617314696, 0.5511667728, 0.2841224372, -0.0438716076, -0.4152248204, -0.6439803243, 0.5525320768, -0.1885781884, 0.5755568147, 0.5969807506, 0.6125347018, -0.466850698, -1.0829170942, -0.4084329605, 0.3365403116, -0.0050039934, 0.2969399691, -0.2479777634, 0.3229942322, 0.1269501448, 0.3319578469, -0.6096151471, -0.0150702437, -0.6759119034, -0.0069841691, 0.2410370559, 0.0895769745, 0.2153532207, 0.1139042228, -0.0879321471, -0.1813390702, -0.3848964572, 0.3660901785, 0.6047266722, 0.2198647112, -0.2977800071, 0.5090042353, -0.2334721684, 0.5511761904, -0.3991494179, 0.2244102806, 0.2503373921, -0.3003164828, -0.2891552448, 0.3741499782, 1.0159907341, 0.2174199969, 0.0860691071, 0.3261851668, 0.4888839722, 0.1949637532, 0.1234331429, -1.114972353, -0.8356232643, 0.429404825, -0.2393787354, -0.1498000026, -0.0592819415, -1.1418848038, -0.3675175607, -0.1225512326, 0.0897580683, -0.3932597637, -0.4230694771, 0.0234897416, -0.1070061326, 0.0151034817, 0.453835845, -0.6733807325, 0.301178962, 0.8705078959, 0.9200358391, -0.1407130212, -0.0340915918, -0.3195389509, -0.3495555222, -0.0225507785, 0.6008602977, -0.9897913337, -0.7865327597, 0.3402554989, -0.0612678938, 0.0388053395, -0.5030787587, 0.7332808375, 0.0292475224, 0.5160438418, 0.1347332001, -0.6839036942, 0.1106292978, 0.2130074948, -0.6333891153, 1.1574523449, -0.0038304848, -0.664046526, 0.0729782805, -1.1366612911, -0.2067533582, 0.5238274932, -0.3796492815, -0.2882018089, -0.4999851584, 0.289511472, 0.3298692703, -0.4453755319, 0.9130186439, -0.3358131647, -0.3908829987, 0.1932069063, -0.6516913772, 1.2802906036, 0.3475615978, 0.111753799, 0.0645805448, -0.8932572603, -0.0937680155, -0.0993191078, -0.2782309055, -0.5266259313, 0.0525027066, -0.0992821679, -0.2702946365, 0.2709053159, -0.7079670429, 0.4209346175, -0.1637954265, 0.354159981, 0.6174898148, -0.4012553394, 0.565941453, 0.1177139431, 0.4685342908, 0.0202594046, 0.5813169479, -0.450820148, -0.726020813, -0.4748559892, -0.1772085875, 0.0500989147, 0.3529836833, -1.002656579, 0.1045724452, -0.2716832757, -0.8058540821, -1.0265916586, -0.2308935523, -0.0168148335, 0.7022503614, 0.3274505436, -0.2064810246, -0.680129528, -0.5535593033, 0.18733266, -0.5850416422, -0.0384762846, 0.3517944515, 0.3360573351, -0.1187919527, 1.2722129822, -0.6265001893, -0.2670424879, 0.04947998, 0.1567106694, 0.1603705734, 0.6736568213, 0.5181265473, -0.7560023665, -0.4482162595, -0.2645423114, -0.6406499743, -0.2137200385, 0.173675105, -0.2713019848, -0.1532065272, 0.3407391012, -0.4225905836, 0.4526033103, 0.7728486061, -0.3855846524, 0.3885131478, 0.220151335, 0.1995437145, -1.1338824034, 0.0712916702, -0.2037159055, 0.0139421131, -0.5616006255, -0.3477590382, -0.0196689107, -0.4615626931, -0.718958199, 0.4135623276, -0.0330672674, 0.314153105, 0.1559655815, 0.342030108, -0.0084505575, 0.2767644823, -0.0500898771, 1.018930316, 0.8641942143, -0.3812731504, 0.7718643546, 0.7092475891, -0.5369489789, 0.8418362737, -0.5948124528, 0.1208142266, 0.2913702726, 0.4010514021, -0.7246999741, -0.4000840485, 0.8298014998, -0.5852732062, 0.0896595865, -0.4421058595, -0.1945385784, -0.4159710705, -0.5541293025, 0.3517261744, 0.1957339793, -0.9422180653, 0.3339964449, 0.835906744, -0.2625856102, -0.875751555, -0.2434851378, 0.0885658115, 0.3149128258, -0.4782580435, -0.0291856173, -0.5696955919, -0.1194009632, 0.4260213971, 0.1552253366, -0.4622653127, 0.1111208871, 0.743709147, 0.5780986547, -0.1104493588, 0.0975093022, 0.099149622, 0.1441634446, 0.2435046434, -0.0996574163, 0.4338332117, 0.0447578058, -0.3551623821, -0.3923222125, 0.4113461077, 0.594203651, -0.0005369568, 0.5335334539, 0.1979082674, -0.42690593, -0.2784782052, -0.2867834568, -0.2569339573, -0.5221781731, 0.1155563518, -0.1135461703, -0.8466714621, 0.1656282842, -0.261824429, 0.2530822754, -0.1257057935, 0.1928033084, -0.4575836957, 0.4664800167, 0.6259357333, -0.0301939864, 0.927988112, -0.6122114658, 0.0467475019, -0.6986883283, -0.5678530931, -0.7132892609, -0.4477903545, -0.3491987288, 0.0555486716, -0.0653107688, -0.1765185297, -0.0444458574, 0.1448005438, -0.8895043135, 0.6906051636, 0.8263357878, -0.251608938, 0.1091289371, -0.0967670456, 0.3614252806, 0.0602306984, -0.7957818508, -0.3416669965, 1.0011554956, 0.3285705149, 0.9313459396, -0.0913996175, 0.6149493456, 0.064213872, 0.3983917236, -1.0278333426, 0.886138916, -0.04229635, -0.6372339129, -0.2469170392, -0.3719970584, -1.2370203733, 0.136585921, -0.3249444664, -0.750465095, 0.3533096313, 0.069352895, -0.0866041183, 0.4826641977, -0.8240053654, 1.2072894573, 0.1254807711, -0.2104630619, -0.0739977509, -0.4771109521, 0.1923977137, 0.0314216763, 0.2000672668, -0.0691042989, 0.656966269, 1.1667838097, -0.3617667854, 0.9748879671, -0.2313468009, 0.1282495856, 0.9184200168, -0.2132061571, 0.2091299593, -0.0765111819, 0.0285533573, 0.5468085408, 0.1000382006, -0.1234814227, -0.5405917764, 0.8592048883, -1.071359992, -0.474555105, -0.5624213219, -0.3966852725, 0.1262481958, -0.0635741279, 0.118523784, 0.4939986765, -0.5110604167, 0.7189924717, 0.3994092345, -0.1564203799, 0.4224440455, 0.5087018609, -0.2706986964, -0.2899727225, 1.0021617413, 0.5436236262, -0.0359454565, -0.1396580338, 0.1010251716, 0.0256142747, -0.3774960339, -0.2491639256, 0.0415104143, -0.8604263663, -0.1551253349, -0.6884693503, -0.3512248099, -0.6833488941, -0.2127972245, -0.5498425364, -0.4356935024, -0.6169875264, -0.2710578442, 0.3259124756, 0.6309345961, -0.0671539456, 0.6646427512, -0.6357738972, -0.0645500049, 0.2964665592, 0.4810145497, -0.4900942147, -0.2841397524, -0.3256736994, 0.1050173789, -0.6816526651, -0.7464741468, 0.1462639123, 0.365588069, 0.2976047695, 0.3323247433, 0.6302886009, 0.4815911651, -0.2521647215, 1.2335933447, 0.2208196223, -0.6294471622, 0.7872105837, 0.1745852083, 0.0243665744, 0.6105883718, 0.4568181932, -0.4978246987, -0.6293616295, -0.8902111053, -1.118240118, 0.9695144892, 0.2178797424, 0.1875809729, 0.1147278547, -0.1467427462, 0.2831355035, 0.2251987457, -0.0654138178, -0.6987380981, -0.5187190771, -0.3664530814, 0.0196124706, -0.4093799293, -0.3439897299, -0.229064256, 0.7987878323, 0.1816632748, -0.1578060836, 0.0005909612, 0.1677647531, -0.2162661999, 0.5744109154, 0.0645603612, 0.6338780522, -0.5624197721, 0.0392023735, -0.1621987075, -1.2467849255, -0.1212881953, 0.3074208796, -0.140253827, 0.3826391101, -0.01128818, 0.6767739654, 0.3675090075, -0.6075467467, 0.6556172371, -0.5431583524, -0.0444710106, -0.5684639215, 0.1292293072, -0.0672200248, 0.2778095305, 0.3707567751, -0.324279964, 0.1574061513, -0.4883338809, 0.226257816, 0.1763240695, -0.4196647108, -0.2673579752, 0.6656334996, 0.815500617, -0.6462868452, 0.9420905709, 0.1660934985, -0.1616886258, 0.5275480151, 0.526919961, 0.877309978, -0.3185590804, 0.6976651549, 0.5518566966, 0.0100129265, -0.0140513964, 0.1615683585, -0.1889878958, -0.7131054401, -0.1669047177, -0.2565229535, -1.1852812767, 0.3168621957, -0.7374847531, 0.3881274462, -0.1960835159, -0.2092087865, 0.195531413, -0.1224040017, -0.7217079401, 0.1239675432, -0.0817233101, 0.9037408233, -0.7561594844, 1.1553372145, 0.8308101296, -0.0210672878, -0.7178223729, -0.6044102907, 0.1030960977, -0.2155775428, 0.565115571, 0.1084871739, -0.0698445216, 0.2451914251, -1.0044519901, -0.2357905358, 1.0209553242, 0.5809537172, -0.9172275066, 0.0665105432, 0.0387529097, 0.2466899306, -0.1839435399, 0.3635753989, 0.6261364818, 0.2821160257, 0.1855567396, -0.7427057624, -0.6390166283, -0.4633730948, -0.8426147103, 0.1514968425, -0.2034887969, 0.6108959317, 0.0436731428, -0.4654526711, -0.375743717, 0.7028596401, -0.0812184513, 0.9898991585, 0.0722622797, 0.5486068726, 0.9621614814, -0.5333184004, 0.6914486289, -0.316067487, 0.5459772944, 1.6530952454, 0.2435343266, 0.7619152665, 0.481947273, -0.308467865, 0.3337541521, 0.6266184449, 0.0790195763, 0.3174102604, -0.2800856233, -0.5460583568, 0.073925674, -0.3321148455, -0.4631165266, 0.2117892802, 0.6617814302, 0.2456843406, 0.011509371, 0.2078637183, 0.0338739902, -0.0781653672, -0.2858421206, 0.7171391845, 0.0678087324, -0.4357973635, 0.3486952484, -0.9130023122, 0.6361032724, -0.53396523, -0.4252693951, -0.1143689603, -0.0981022567, -0.3069880307, -1.4138797522, 0.1627962291, -0.0023081731, 0.2335848957, 0.0042145103, 0.7817912102, -0.8449701667, 0.04625028, 0.4992188513, 0.3263655305, 0.4478847682, 0.1043122858, -0.6818655729, 0.3324601948, -0.2739363909, -0.2372072339, 0.1216882467, 0.3767534494, 0.2504466176, 0.7570015788, 0.8328425884, 0.0951995403, -0.1052879691, 0.2013003081, 0.9324228168, -0.0019659176, -0.4348727763, -0.65874964, 0.7211369872, -0.1752423793, -0.3259660304, 0.5127376914, 0.6667295694, 1.4722374678, 0.0913103297, 1.0182601213, -0.221250847, 0.1936868429, 0.1642657816, 0.843731761, -0.2887435257, 0.1401023716, -0.2400681525, -0.9450410604, -0.1507158577, 0.4380390346, -0.2028418779, -0.5856438279, 0.4902747273, 0.6330308318, -0.0920793116, 0.4415578246, 0.3458263278, 0.2089483589, 0.8166172504, 0.3406409025, 0.8674550653, -0.4211457968, 0.9968921542, -0.3839636445, -0.3355464339, -0.3855621517, -0.5026394725, -0.8884758353, -0.8487570882, -0.6499598026, -0.3739575744, 0.1476221979, 1.1484830379, 0.514775753, -0.8981390595, -0.2124856263, 0.2178265005, 0.3571256101, 0.0794282407, -0.2588305175, 0.3134383857, -0.1700236499, -1.1259176731, 0.5845716596, -0.1075135469, 0.011158553, -0.1326037645, 0.0271791648, -0.1414066851, 0.014464247, 0.4567020833, 0.5355426073, -0.2016292512, -0.4282562733, -0.3216119111, -0.1552184224, 0.1610085368, 0.925881505, -0.7385840416, 1.1643314362, 0.5562145114, 0.7708200812, 0.1338371933, -0.1514753699, 0.2475655228, -0.8548772335, 0.2930138707, 0.2439203113, 0.3054645658, 0.3844115436, -0.2001211345, 0.8728904128, 0.2413950413, -0.8339805007, -1.1318089962, 0.0032106431, -1.1401352882, -0.1066535488, 0.7055293322, -0.3121858239, -0.0857605338, -0.3421262205, -0.664021492, 0.4455782473, -0.8554451466, 0.5758735538, 0.6896739006, 0.2685658336, -0.26677984, -0.6666130424, 0.4299548864, -0.2591086626, -0.7944603562, 0.2132645547, 0.4792131782, -0.0306516457, 0.3152481019, 0.7183741331, 0.0748132169, 0.0387652926, -0.0589040071, 0.344781369, -0.3486803472, -0.6519708037, -0.0935338736, 0.3591423333, -0.4602973461, -0.8351157904 ]
http://arxiv.org/abs/2402.05106v1
http://arxiv.org/pdf/2402.05106v1
Image captioning for Brazilian Portuguese using GRIT model
2024-02-07T18:57:37
2024-02-07T18:57:37
Rafael Silva de Alencar, William Alberto Cruz Castañeda, Marcellus Amadeus
cs.CV
cs.CV, cs.AI, cs.CL
This work presents the early development of a model of image captioning for the Brazilian Portuguese language. We used the GRIT (Grid - and Region-based Image captioning Transformer) model to accomplish this work. GRIT is a Transformer-only neural architecture that effectively utilizes two visual features to generate better captions. The GRIT method emerged as a proposal to be a more efficient way to generate image captioning. In this work, we adapt the GRIT model to be trained in a Brazilian Portuguese dataset to have an image captioning method for the Brazilian Portuguese Language.
[ -0.3721578121, -0.6125404835, 0.3523504436, 0.4023415744, -0.7646166086, 0.1425110102, -0.0299287569, -0.3553864062, 0.2769577205, 0.5961292982, -0.2669941783, -0.2643527091, -0.6670493484, -0.1499843597, -0.3404383063, 1.3763391972, -0.1654573083, 0.6237872243, -0.3819675744, -0.1017357334, -0.5862628222, 0.1540487707, -0.9096931219, -0.4195503294, 0.3210811317, 0.2616898119, 0.9933469296, 0.9664757252, 0.970389843, 0.3998256326, 0.1638575643, -0.0882154033, -0.5381780267, -0.2880806327, -0.1944558769, -0.675621748, -0.1247836649, -0.1036592349, 0.5552332401, 0.3315864801, 0.0947187543, -0.0478850454, -0.1312478632, 0.3846991658, -0.3374153674, 0.6482082605, -0.6302842498, 0.0676122531, -0.0038827786, -0.531875968, -0.1119861528, -0.3192963898, -0.0038917765, -0.4224192202, 0.7328144312, 0.0334981121, 1.4798713923, 0.1822731793, -0.0062648426, -0.1693714559, -0.9024373889, 0.5937084556, -0.0816150084, 0.1408444792, 0.0652897879, 0.959130168, 0.4429969192, -0.9078043699, -0.270424217, -0.1273388267, -0.2203986049, 0.0970405638, -0.0275126733, -0.010281113, -0.124159947, 0.6582538486, -0.3348014355, 0.0731024593, -0.8423591852, -0.4397765398, 0.7777146697, 0.1125003546, -0.0312152393, 0.0417706408, -1.0418914557, -0.3436029255, -0.8413245678, -0.0398870595, 0.2071527392, 0.3323894143, -0.2181649059, 0.264526248, -0.0133814327, 0.6079768538, -0.4525932968, -0.539477706, 0.0972831398, 0.1110243499, -0.185531944, -0.0124788545, 0.6605322957, 0.6209850311, 0.4707022309, -0.4604121745, -1.0091586113, 0.0606042929, 0.5814094543, -0.6653868556, -0.3093042374, -0.0064768349, -0.2939534783, -0.4942760766, 0.1716516465, -1.043420434, -0.6454432607, -0.1776878238, 0.5244546533, -0.3216786385, 0.2546375096, -0.1459306628, -0.3147007227, 0.5748335719, 0.3399996161, -0.5259582996, 0.6429587603, 0.3718001544, 1.0058943033, -0.1696232855, -0.5470532775, -0.4303668737, -0.0116014639, -0.222641781, 1.3306677341, -0.2682818174, -0.3575935662, 0.2654826641, 0.3037814796, 0.2381272316, -0.262886852, 0.451857239, -0.6956661344, -0.0981733128, -0.1908245385, -0.015598312, -0.4883417189, 0.1179545, -0.796043992, 0.8425778747, 0.5178588629, -0.477757901, 0.2593801618, -0.7774799466, -0.4978192747, 0.5647879839, -0.3173267543, -0.5268880725, 0.1097848192, 0.2698431015, 0.2669204473, -0.5409557819, 0.4317381978, 0.0659496039, -0.6365380883, 0.2141498923, -0.4687719345, 0.4012148976, 0.3358309567, -0.3418675363, 0.1516461819, -0.2936556339, -0.3523418009, 0.692430675, -0.1140323356, 0.1797894388, -0.1546399593, 0.6128744483, 0.2972812653, 0.4766477048, -0.6277402043, 0.0518225059, 0.0248782691, 0.4799845219, 0.4714151025, -0.0600988381, 0.654558897, -0.5833644867, 0.7115421891, 0.1485509574, 0.2082927078, -0.5788906217, -0.5771811604, -1.0505375862, -0.1828227639, 0.5188678503, 0.767444253, -1.1647411585, -0.2460612655, -0.8358912468, -0.577239275, -0.8535295725, 0.0362405293, 0.7944954634, 0.4686056972, 0.4384335577, -0.5820631981, -0.2453736961, -1.2501661777, 0.2908282876, 0.29399544, 0.1229794323, 0.5369601846, 0.4978779852, 0.2568332255, 0.7438599467, -0.6599806547, -0.614392817, -0.1504213363, 0.1570615023, 0.0678093955, 0.4590925872, 0.7451495528, -0.9533474445, -0.3668454885, 0.0494414568, -0.5155374408, 0.0868205279, -0.2832415104, 0.0115919681, 0.2641113997, 0.5534952879, -0.19470945, 0.6003056169, 0.3098636866, 0.0238077063, 0.3579877913, -0.3988870382, 0.23271586, -0.7295644879, -0.0350596048, 0.165465951, -0.4926576018, -0.2823036909, 0.4517925084, 0.0136736287, -0.1940828562, -0.7656841278, 0.5808820128, -0.5104296207, -0.380959034, -0.5404964685, -0.0881568193, 0.1737495363, 0.7581333518, 0.5078173876, 0.9584849477, 0.8498746157, -0.2777563334, 0.3664283752, 0.0690400526, -0.3215053082, 0.7356669307, -0.9411413074, 0.0889109373, -0.4644294679, -0.131213814, -1.218421936, -0.1031704843, -0.1305800676, -0.2767551243, 0.6209264398, -0.5818013549, -0.19374457, -0.7301236391, -0.2889883816, -0.0535505526, 0.5139858723, -0.5425595045, 0.4606643021, 0.4410902858, -0.3540845811, -0.3242051005, -0.8279180527, 0.1823181212, -0.3333524168, -0.5011230707, 0.6370595098, 0.3790284097, -0.071434103, -0.2576251626, 0.3044519722, -0.5276309848, -0.1418490857, 0.280669868, 0.3969068825, -0.3303829134, 0.1074348763, 0.1716368794, -0.1940736771, -0.0815259367, 0.0490334593, 0.8904775977, -0.7060976624, 0.1798069924, -0.1369773149, 0.4288384616, 0.4508205652, -0.4869374335, 0.5273451805, 0.7471780181, -0.136497736, 0.0529077984, -0.4775602818, -0.366510421, -0.4866805375, 0.3965381682, -0.4172668457, -0.5496720076, 0.8461130261, -0.0307966303, -0.0759929344, 0.2835713029, 0.4477518201, -0.281747669, 0.4105792344, 0.7303805947, 0.0231446102, 0.4941206574, -0.5317028761, -0.0921660364, -0.5914974213, -0.1791353971, -0.5997388363, -0.4463977814, -0.6557820439, -0.4190529883, 0.2908187211, -0.1465489268, -0.2006380409, 0.3949488997, -0.5336790681, 0.7401760221, 0.7855162621, 0.4572575092, -0.0096061509, 0.2272169441, 0.1488036215, 0.0354052857, -0.7692759037, -0.7227124572, 0.8125903606, 0.4290575385, 0.7439450026, -0.1943464726, 0.595965445, 0.4788025022, 0.3740826547, -0.9415069818, 0.3449882269, -0.1105972007, -0.3317076564, -0.1820702553, 0.1513175368, -1.3244621754, 0.0986473635, -0.3374357224, -0.3409704864, -0.0373301655, -0.0237271562, -0.2536000013, 0.2042252272, -0.560166955, 0.7723945975, -0.2224848568, -0.2856725752, 0.2661528885, -0.8341960907, -0.0016942015, 0.2432132363, 0.3727268577, 0.2374207377, -0.069156535, 0.7862837315, -0.2165607661, 0.6016294956, -0.3097293973, 0.097573176, 0.7395782471, 0.3121432364, 0.4476243556, 0.0807946995, 0.3607219458, 0.5011692643, -0.312500447, -0.588465035, -0.4042994082, 0.5648988485, -0.7716370821, -0.4571211636, -0.3254965842, -0.8428509235, 0.1191784889, 0.3211667538, 0.3268747628, 0.4090806246, -0.1384124756, -0.0405353121, 0.4657274187, 0.1112241447, 1.0730905533, 0.5323697329, -0.2601787746, -0.6985751987, 0.9990490079, 0.0096950941, -0.0219557341, 0.3678315282, 0.119450748, -0.1770081222, -0.8353972435, -0.7157202959, 0.3183396757, -0.7000669241, -0.5819060206, -0.2414044142, -0.2150385976, -0.3239379823, -0.5695989728, -0.5058557987, -0.1486228555, -0.0211883504, 0.103596054, 0.4629949629, 0.7445007563, 0.4679868221, 0.9749869704, -1.0019072294, 0.0243610237, 0.4017008841, 0.5413108468, -0.3516319394, -0.4971325099, -0.2736181915, 0.0782254934, -0.55678159, -0.9794943929, 0.7524309754, 0.1254226863, 0.4170387387, 0.4725032449, -0.4060108364, 0.4364226758, -0.659963727, 0.856731832, -0.0596108958, -0.7025849223, 0.5413967371, -0.5971152782, 0.2284723669, 0.575407505, 0.4792267382, -0.0993180051, -0.1122679934, -0.7974191308, -0.5550996065, 0.500848949, 0.1970845163, 0.3702643216, 0.086154528, 0.2560000122, 0.2873301506, 0.2592639327, -0.8996754289, -0.1021399125, -0.3778120875, 0.1160230637, -0.11945308, -0.0736164376, -0.3802249134, -0.1286145747, 0.5129913092, -0.4758570194, 0.787768364, 0.0549212955, -0.2927253842, -0.0904552639, -0.0224860739, 0.7769844532, 0.4069358706, -0.0274604037, 0.0111287115, 0.0697141662, -0.5469112396, -0.1844641864, 0.1139573082, -0.2928711474, 0.2191562355, 0.2862217128, 1.1253548861, 0.2860429883, -0.4082918465, 0.7340114713, 0.1980281919, -0.0662442893, -0.1722189337, -0.0163698271, 0.0035485649, 0.1085904837, 0.1698329598, 0.0855972916, 0.2128169388, -0.2226873189, 0.0130800661, 0.3487125337, -0.9070785642, 0.0520989709, 0.3991067708, 0.2310528308, -0.5523381829, 0.6850467324, -0.2343423963, -0.5187979937, 0.9236301184, 0.72637254, 0.6275476217, -0.2675611377, 0.493475467, 0.1878437996, 0.5039413571, 0.0182425361, 0.716209352, 0.0696465075, -0.5696613789, -0.1628946811, -0.7484368086, -0.3072782755, -0.0299598649, -0.8860512376, 0.6889545321, -0.2653142512, 0.0331791863, -0.0281658694, -0.1869350076, -0.903398931, 0.5197408199, 0.2582288384, 0.8020712137, -1.2204927206, 0.8390558362, 1.0853928328, -0.6103785634, -0.3302372396, -0.7817548513, -0.5099979043, -1.2068549395, 0.1408557445, 0.2922896743, 0.1644659191, -0.0929223448, -0.9653121829, -0.8365218639, 1.38104105, 0.3199290931, -0.3012623191, 0.397795409, 0.4105029106, 0.63543576, -0.7434279919, 0.2689664364, 0.5274786353, 0.4007557929, 0.5515714288, -0.8682120442, -0.2933779657, -0.2061898112, 0.3897916973, 0.343585223, -0.7512257695, 1.0072786808, -0.3849987388, 0.0485561378, 0.0123685785, 0.93444556, -0.0505724922, 0.2824184895, 0.2384618819, 0.458946079, 0.4964981079, -0.4905578494, 1.4168651104, -0.2956256568, 0.5611348152, 1.2395040989, 0.1456568092, 0.5386559963, 0.4997424781, -0.3069368899, 0.6689832211, 0.5557793379, -0.4419021904, 0.5461101532, 0.0842952132, 0.0028907445, -0.0956383646, -0.3885316849, -0.1132244691, 1.0040699244, 0.2416938543, -0.8188297153, -0.5461863279, 0.1116372347, 0.3668845892, 0.1231449693, -0.6999406219, 0.7815858722, -0.3048150837, -0.7424278259, 0.4990977347, 0.1858777255, 0.538072288, -0.3660485446, -0.1932231933, -0.2850815654, -0.2687724531, 0.098013334, -1.1589127779, 0.4241240919, -0.1165973544, -0.1304403543, -0.2275557965, 0.6969747543, -0.4452509284, -0.6990203857, -0.2545479536, 0.413926065, 0.626688242, -0.1160401255, -0.6725369692, -0.0422993451, -0.173892647, 0.1673336327, 0.2075474411, -0.0004660795, -0.4268853068, 0.5307597518, 0.2822766304, -0.0178563204, -0.0313427486, 0.0343488827, 0.9142093658, -0.5396255255, -0.627638638, -0.5890858769, 0.4028644264, -0.0803635046, -0.3013424873, 0.4137979448, 0.7029080987, 0.4769822359, -0.591596961, 0.6688099504, -0.1067693308, -0.2790027857, -0.3779858649, 0.9358445406, -0.1149285212, -0.3160676062, -0.0353620499, -1.1436957121, -0.3091918528, 0.651894331, -0.2714623213, 0.1871339381, 0.7659661174, 1.0058921576, 0.1686367244, 0.1416009963, 0.3113140464, 0.0214578584, 0.0871268809, 0.5207138062, 0.2060701847, -0.7052429318, 0.5030443668, -0.7917520404, -0.2100351751, 0.0959532484, -1.2281494141, -0.7614097595, -0.603828311, -0.402995646, -0.6019479036, -0.0416309871, 0.4471568167, 0.5528398752, -0.8935879469, -0.2870557904, -0.067437537, 0.1318901032, -0.2473423332, -0.2879680991, 0.4541221559, -0.3726195097, -0.9262648821, -0.0925450101, 0.2570613027, 0.3392439783, -0.5477357507, -0.0033605772, -0.0463360138, 0.1271554828, 0.3196620047, 0.1408596933, -0.352863878, -0.1262138635, -0.2102933079, -0.1565459967, 0.5403926969, 0.7369466424, -1.0017464161, 0.4795033336, 0.312105298, 0.212058574, 0.6181465983, -0.2475801855, 0.295411557, -0.5625290871, 0.3816226423, 0.2863376439, 0.6052685976, 0.6860188246, -0.321480304, 0.5274044275, 0.2183762789, -0.309325546, -0.3731611073, -0.1813220084, -1.3292375803, 0.1219923571, 1.2541074753, -0.406619221, -0.7260965705, 0.0102261538, -0.5500861406, 0.0997854099, -0.4137193561, 0.9881781936, 0.5491800904, 0.3220778704, -0.2909823954, -0.1383537948, 0.1521974057, -0.1998332143, -0.8244350553, -0.518030107, 0.3326097727, 0.1877643764, 0.4265235066, 0.1636822671, -0.4982916117, 0.6764687896, 0.3800786436, 0.5625317097, -0.407465905, -0.7140309811, -0.4903954268, 0.3446038663, -0.2528130412, -0.2417043 ]
http://arxiv.org/abs/2402.05162v3
http://arxiv.org/pdf/2402.05162v3
Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modifications
2024-02-07T18:34:38
2024-07-01T07:11:17
Boyi Wei, Kaixuan Huang, Yangsibo Huang, Tinghao Xie, Xiangyu Qi, Mengzhou Xia, Prateek Mittal, Mengdi Wang, Peter Henderson
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) show inherent brittleness in their safety mechanisms, as evidenced by their susceptibility to jailbreaking and even non-malicious fine-tuning. This study explores this brittleness of safety alignment by leveraging pruning and low-rank modifications. We develop methods to identify critical regions that are vital for safety guardrails, and that are disentangled from utility-relevant regions at both the neuron and rank levels. Surprisingly, the isolated regions we find are sparse, comprising about $3\%$ at the parameter level and $2.5\%$ at the rank level. Removing these regions compromises safety without significantly impacting utility, corroborating the inherent brittleness of the model's safety mechanisms. Moreover, we show that LLMs remain vulnerable to low-cost fine-tuning attacks even when modifications to the safety-critical regions are restricted. These findings underscore the urgent need for more robust safety strategies in LLMs.
[ -0.1853616536, -0.8509534001, 0.5852280259, -0.1057263166, -0.3417530954, 0.2078224421, -0.2253887802, -0.2386340946, -0.0330567323, 0.3015313447, -0.477389276, -0.3960015476, -0.8765223622, -0.1709962934, -0.2855598927, 1.1151936054, -0.1331194043, -0.2075196803, 0.2247980684, -0.1138501912, -0.4127110839, -0.6021145582, -0.5893653631, -0.2318535149, 0.7517302632, 0.4328288138, 1.0283170938, 0.9230820537, 0.750004828, 0.3156832755, -0.6648837328, -0.3409512341, -0.5119754672, -0.0057448228, -0.1923315972, -0.4844788909, -0.9063197374, -0.1812783182, 0.5326673388, 0.7945606112, -0.1871955842, -0.2258165479, 0.4339957833, 0.5949627161, -0.6378002167, -0.181001544, -1.0364407301, -0.1538185179, -0.5366792083, -0.1052109897, -0.366848737, -0.3855776787, 0.0024294648, -0.1710303426, 0.079937622, 0.1271585524, 1.1998274326, 0.3758247197, -0.5502231121, 0.1305881292, -0.6556531191, 0.9065799117, -0.6162663102, 0.1114463732, 0.4358112216, 0.1033881828, -0.5846956968, -0.23287341, -0.2255090624, -0.1632196456, -0.0350556709, -0.235366568, -0.0558976494, 0.494128406, 0.2131390423, 0.1986677796, -0.5386033654, 0.554469645, -0.3121248782, -0.3230818808, 0.5753424168, 0.2630542517, 0.5282325149, -0.2807382047, -0.3339706361, -0.3561284542, -1.2072899342, 0.106201984, 0.6882594824, 0.4187524617, -0.0798721164, 0.5173252225, 0.231284216, 0.6436445117, -0.1546659917, -0.3616366982, -0.0590954833, -0.2599841058, -0.1945049614, 0.2144433111, 0.8734594584, 0.5552043915, 0.1829590201, -0.2294465452, -0.2565540671, 0.0720017254, 0.252460897, -0.3711465001, -0.296210438, 0.3898470402, -0.4580901265, -0.5407602191, -0.3384085596, -0.5503949523, -0.6354270577, -0.0911594555, 0.2640766501, -0.6227381229, -0.2871134579, 0.1274649799, 0.0684269816, 0.2438227832, 0.1001673415, -1.2005140781, 0.0899970084, 0.9061578512, 0.9361235499, -0.0639801547, -0.522280097, -0.3780928254, 0.212180227, -0.3925258517, 0.5767228007, -0.2073636502, -0.1913533807, -0.2061060965, 0.2730585635, -0.11602889, -0.4590079784, 0.9199323654, -0.3419644833, -0.5515033007, -0.0752984583, 0.0654743388, 0.0468034148, 0.2666939497, -0.7094556689, 0.601010263, -0.1251823753, -0.7972223163, 0.5107309818, -0.1010468453, -0.6331729293, -0.4547664523, -0.0503133424, -0.6908487678, 0.2655591965, 0.0231512897, 0.2346165925, -0.0859549195, 0.4491713941, -0.6715078354, -0.2189386934, 0.3726573884, -0.6730766296, 0.5785079002, 0.0861416757, -0.3334006667, 0.2466622591, -0.6581846476, -0.0172026716, 0.0438642874, -0.4878969789, -0.5778829455, 0.4003659785, 0.0416728109, 0.283185035, 0.4489605129, -0.3407680392, 0.1707428098, -0.6984214783, 0.6542899609, 1.242657423, 0.0124500496, 0.5893333554, -0.2944948375, 0.2117102593, 0.2531728148, 0.4809382558, 0.5221480727, -0.0749152824, -0.7789613008, -0.1058848426, 0.4864982963, 0.4248354435, -0.4191346467, 0.5719348192, -0.4175780416, -0.552020371, -0.5136795044, 0.2191393375, 0.5561307073, 0.1410019696, 0.2369573265, -0.3492518365, -0.3023789227, -1.0964238644, -0.2805545926, -0.3242222071, 0.041308403, -0.2265441269, 0.5170145631, -0.0387247428, 0.8239603639, -0.2926225066, -0.0578693859, -0.240527764, -0.0798423216, 0.1613257676, 0.8642998338, 0.4931341708, -0.5652691722, -0.1368986964, 0.0540960208, -0.6142565608, 0.192338407, -0.0945602357, -0.1400781125, 0.034340106, 0.6060189605, -0.5332117677, 0.3928042352, 0.4858156741, -0.2341226786, 0.3703587055, -0.1417246908, -0.1287384331, -0.8553695083, -0.0093919607, 0.0212890785, 0.0379410051, -0.7107060552, 0.0208116584, 0.138833791, 0.0228698179, -0.4285532534, 0.0103047583, -0.599388957, 0.02354558, -0.1899567991, 0.1919861585, -0.1780116558, 0.3786374032, -0.2276646644, 0.5609484911, 0.5983073115, -0.4849598408, -0.3075548708, 0.1114469841, -0.45000723, 0.2262050062, -0.7462337613, 0.0936076045, -0.2326536179, -0.10516233, -0.6574010849, -0.4461908937, -0.0885958001, 0.0501373447, 0.4209765196, -0.7910374403, -0.4711068273, 0.16971457, -0.4283855557, 0.2270231992, 0.5591565371, -0.2074568421, 0.2719255388, 0.7896382809, -0.5864788294, -0.6950013638, -0.5491764545, 0.0954209864, -0.6688570976, -0.8066583872, 0.4322052598, 0.1139430404, -0.4792300463, -0.3191916347, -0.4074665308, 0.043393787, 0.8196822405, 0.5060943365, 0.343416661, -0.0133280521, -0.122652255, 0.3093082905, -0.2205829173, 0.0379556865, 0.2698616683, 0.4939849675, -0.2230909914, -0.5289269686, -0.2562286556, 0.1923787743, 0.9276061058, -0.1899555624, 0.8649024367, -0.0050565409, -0.4489849806, -0.1521810889, -0.1430889517, -0.279684186, -0.5691295862, 0.4439458251, -0.2113742679, -1.0691047907, 0.4516011178, -0.3056054413, 0.3453628123, 0.1712708622, 0.2463233918, -0.1027668342, 1.2762172222, 0.7353242636, -0.1842670292, 0.4368405342, 0.2929339409, 0.5674292445, -0.8704131842, -0.0363699347, -0.6985414028, -0.5260578394, -0.6169176698, -0.044070676, 0.5880048275, 0.5816332698, -0.2545243204, 0.6040838361, -0.5150083899, 0.5708352327, 0.0661227033, 0.0847117454, 0.1290256381, -0.0254528672, -0.120083414, -0.2878265381, -0.535505712, -0.8067613244, 0.7830786109, 0.7593031526, 1.0483816862, 0.534389317, 0.6368495822, -0.162695393, 0.1238475293, -0.7111496925, 0.6967770457, -0.2941364944, -0.4625496864, -0.2989879847, -0.3756244779, -1.0377153158, 0.3205297887, -0.4075101614, -0.9626060724, 0.2670292854, 0.241218105, -0.5390582681, 0.2622835636, -0.9401174784, 0.9443692565, -0.6420152783, -0.4056052268, -0.1768746376, -0.6863583922, 0.5273080468, 0.0054740869, 0.2374585122, -0.2517921925, 0.2614108026, 0.7471401691, -0.4817266762, 0.9850369692, 0.0858946666, -0.1591302305, -0.149175331, 0.3502070606, 0.7248686552, -0.1201792955, -0.0168818925, -0.0380394831, -0.0567811318, -0.2939496636, -0.3018958271, 0.9270584583, -0.7099013925, -0.7536272407, -0.6075446606, -0.4431398213, -0.3875255585, 0.1659148932, 0.0432258099, 0.2484468818, -0.1075024009, 0.3295536637, 0.8285565972, -0.1702561527, 0.6593762636, 0.4095318019, 0.3274143338, -0.2564819455, 0.7655780911, 0.2991274297, 0.3531907797, -0.0437022708, -0.0860032067, -0.1288396716, -1.2450493574, -0.0991611853, 0.1347122937, -0.7224065661, -0.0327654928, -0.3281387985, -0.3706370294, -0.2233618498, -0.3652421832, -0.4169270396, -0.4280141294, -0.1230519488, -0.4377946854, 0.330532223, 0.5105751753, 0.0008804701, 0.5273784995, -0.9226258397, -0.1127151921, 0.1556728631, 0.3667576313, -0.0574007407, -0.4543593824, -0.1257565469, -0.3207740486, -0.2627491355, -0.7515578866, 0.3053730428, -0.0861322284, 0.4349014461, 0.3739969134, 0.2098450065, 0.8385058641, -0.6910738945, 0.5925524831, 0.3552930951, -0.7977259755, 0.5270127058, -0.4179781675, -0.1396601349, 0.8312345743, 0.186201334, -0.1838119775, -0.434938103, -0.4881406724, -1.347555995, 0.6005296707, 0.1167833209, -0.1251999885, -0.0044337865, 0.19938308, -0.1717984676, -0.065310441, -0.9221659303, 0.0101256957, 0.2500787377, -0.2248288393, 0.1486848891, -0.3612528741, -0.6626955867, 0.0648726821, 0.5210348964, -0.0415782072, -0.2440458238, -0.1433800459, -0.2106866986, -0.1024968773, 0.8037362099, 0.6749086976, 0.4765123725, -0.3459269702, 0.4821705222, 0.2733288109, -0.5264174342, 0.2908926606, -0.1785561293, -0.1801691502, -0.3173280358, 0.3163627386, 0.7813183665, 0.3054347038, -0.5126677155, 0.364138633, -0.1080379263, -0.0200985353, -0.1374454349, 0.3261323273, -0.0408939011, -0.0652360022, 0.042651277, 0.3368450999, -0.3028172851, -0.5013234615, 0.0778136253, 0.5870240927, -0.5241912007, -0.4528854787, 0.5262490511, 0.1906202137, -0.2542239428, 0.2987852395, 0.2293328643, -0.3715773225, 0.5884557962, 0.2372981906, 0.9043191075, 0.018392304, -0.0559929982, 0.2900630236, 1.0608437061, -0.314447701, -0.1153763905, 0.4332404733, -0.4397179186, -0.4263760746, -0.7964801788, -0.2917803526, 0.2090612948, -0.5286751986, 0.2427131236, -0.8278685808, -0.4708551168, -0.1652034968, -0.5038951635, 0.0736474767, 0.1265079975, -0.2331424952, 0.6862257123, -1.1527148485, 0.7621323466, 0.5063755512, -0.2407593876, -0.9509487152, 0.3998831511, 0.1202130988, -0.2785542607, 0.2709908187, -0.0635038838, -0.1103215963, -0.2858466208, -0.5837123394, -0.9368101954, 1.0615538359, 0.6371810436, -0.8201196194, -0.2585720122, 0.0721235722, 0.3994743526, 0.4595142901, -0.0594467819, 0.8319066763, 0.4150187075, -0.3972285688, -1.1841363907, 0.3243793845, -0.0135915056, -0.0727058724, 0.6108214259, -0.8551037908, 1.0035722256, 0.0994387344, -0.4389321804, -0.0668170005, 0.2703545392, 0.5511199236, -0.0096249636, 0.6570909023, 0.7126877904, 0.5827005506, -0.4179596305, 0.6570456028, -0.2617929578, 0.2196226269, 0.8997898102, -0.4308748245, 0.9923457503, 0.9370273948, -0.0361680239, 0.3531284928, 0.4876401722, 0.3781301677, 0.7675995827, 0.0626692623, -0.2841135263, -0.4439660013, 0.0852842256, -0.165654555, 0.2560859025, 0.4657824039, -0.180901885, -0.3274985552, -0.2719826698, 0.4548200369, -0.153437376, -0.1968751401, 0.81517452, 0.3426228464, -0.8873721957, 0.7546508312, 0.1895912886, 0.6190657616, -0.7441358566, 0.1183448881, -0.1413434893, 0.3769359291, -0.291271925, -0.9349355102, 0.5000565052, 0.1680268645, 0.0098917605, -0.2755250633, 0.6817290783, -0.0778725743, 0.06201322, 0.4221513867, 0.0360050127, -0.162277773, 0.3184428513, -0.6024945974, 0.3026408255, -0.1014545634, -0.2287229449, 1.0972446203, 0.2773571014, -0.3394155502, 0.6773535013, 0.6753968, 0.1360592544, -0.0015820208, -0.1980618238, 0.9687180519, -0.6243442297, -0.3401342332, -1.0736939907, 0.8914657235, -0.0863143355, -0.3823263645, 0.7626076341, 0.1863473207, 0.5029219985, 0.0433988087, 0.7506329417, -0.2698517442, 0.0186762903, -0.835381031, 1.2006260157, -0.5273154378, 0.5641607642, -0.3148024976, -0.5874484777, -0.2776566744, 0.4782682061, -0.5101578236, -0.3441112339, 0.7710520029, 1.1986207962, -0.1872405857, -0.5065978169, 0.3371551931, 0.3795264363, 0.2456471175, 0.6706826091, 0.8514596224, -0.3775705993, 0.8123005033, -0.2027842999, -0.1903706491, -0.1314130425, -0.9791531563, -0.8916279078, -0.3890419602, -0.3898119926, -0.6137132645, 0.0954120159, 0.6084519029, 0.5716003776, -0.7309683561, -0.0538088493, -0.230302304, 0.3482551277, -0.0802247599, -0.18197155, 0.4595379829, 0.0553543381, -0.4677192867, 0.8096116781, 0.4852501452, 0.2324916571, -0.0646941438, 0.1074736863, -0.05361671, -0.0050541912, 0.1675721258, 0.4800630212, -0.5797327757, -0.6835395694, -0.1984536648, -0.3414676785, -0.0950955153, 0.3918392956, 0.0415368751, -0.0221228953, 0.6007851362, 0.4317014515, -0.0546071641, 0.0720897168, 0.5905540586, -0.9674910903, 0.3659285605, 0.1991440207, 0.6951400042, 0.3730372787, -0.0708026588, 0.2008788437, -0.0301263034, -0.8244720101, -1.2929208279, 0.479031533, -1.1411473751, -0.1248543859, 1.0197213888, -0.1064962, -0.7016153932, -0.3927688301, -0.1012535468, 0.0238525756, -0.0279118419, 0.9241080284, 0.7886890173, 0.2411625385, -0.1340951771, -0.3904854655, 0.7687379122, 0.7343108058, -0.6678227186, 0.2025899589, 0.4152460992, 0.5884338021, 0.3264518976, 0.335065335, -0.4334856272, 0.2303721905, -0.0928340927, -0.0927076414, 0.4437373281, -0.396450758, -0.6659109592, 0.3949428797, 0.7762084007, 0.0387657918 ]
http://arxiv.org/abs/2402.05070v1
http://arxiv.org/pdf/2402.05070v1
A Roadmap to Pluralistic Alignment
2024-02-07T18:21:17
2024-02-07T18:21:17
Taylor Sorensen, Jared Moore, Jillian Fisher, Mitchell Gordon, Niloofar Mireshghallah, Christopher Michael Rytting, Andre Ye, Liwei Jiang, Ximing Lu, Nouha Dziri, Tim Althoff, Yejin Choi
cs.AI
cs.AI, cs.CL, cs.IR
With increased power and prevalence of AI systems, it is ever more critical that AI systems are designed to serve all, i.e., people with diverse values and perspectives. However, aligning models to serve pluralistic human values remains an open research question. In this piece, we propose a roadmap to pluralistic alignment, specifically using language models as a test bed. We identify and formalize three possible ways to define and operationalize pluralism in AI systems: 1) Overton pluralistic models that present a spectrum of reasonable responses; 2) Steerably pluralistic models that can steer to reflect certain perspectives; and 3) Distributionally pluralistic models that are well-calibrated to a given population in distribution. We also propose and formalize three possible classes of pluralistic benchmarks: 1) Multi-objective benchmarks, 2) Trade-off steerable benchmarks, which incentivize models to steer to arbitrary trade-offs, and 3) Jury-pluralistic benchmarks which explicitly model diverse human ratings. We use this framework to argue that current alignment techniques may be fundamentally limited for pluralistic AI; indeed, we highlight empirical evidence, both from our own experiments and from other work, that standard alignment procedures might reduce distributional pluralism in models, motivating the need for further research on pluralistic alignment.
[ -0.5762484074, -0.0994144231, 0.4879135191, 0.1259028316, -0.0439417809, 0.0278929211, -0.0610302687, -0.4678063393, -0.0085216239, 0.593824923, -0.495531559, -0.3022236228, -0.6918546557, -0.1604259461, -0.4371497333, 1.199418664, 0.0847275406, 0.0032165346, -0.2609580755, -0.6302905083, -0.7052137852, -0.4061561227, 0.1248957738, -0.1646375954, 0.6532922387, 0.4172552824, 1.2520575523, 0.7575407624, 0.7475066185, 0.2785009444, 0.2997354269, -0.2207520604, -0.2946575284, -0.0377077162, -0.322778821, -0.2057412714, -0.3647004664, 0.3712299466, 0.7055314779, 0.922612071, -0.1894515455, 0.1843522936, -0.2845550776, 0.5141186118, -0.8311945796, -0.3021357954, -0.5220537782, -0.1207303703, -0.1733583361, 0.5468360782, -0.1404750496, -0.6877821088, 0.2965476215, -0.4474214613, -0.174597472, -0.0320962444, 0.7244371772, 0.4130420089, -0.6937326789, -0.114792034, -0.7950946093, 1.1237283945, -0.8584015369, 0.34166646, -0.0041879076, 0.548007071, 0.3121248782, -0.1859750301, -0.6535295248, -0.0957390293, 0.0339811482, 0.3036955893, 0.0257513635, 0.0526109859, -0.0913960487, 0.0871185362, -0.5029853582, 0.3272053003, -0.5223841667, 0.2177824974, 1.0257403851, 0.2081027478, 0.4260523617, 0.2646700442, -0.6397356987, 0.0623284467, -0.3358894587, -0.1297075748, 0.6202033162, 0.5875119567, 0.0386458896, 0.7601691484, 0.1306883991, 0.7122263312, -0.0845467374, 0.0900562927, 0.1376595944, -0.572596848, 0.083651565, 0.0312846489, 0.4937547743, 0.507176578, 0.3364978731, -0.2402752489, -0.3273232877, 0.4056822956, 0.8007853627, -0.3930278718, 0.244172141, 0.2294541746, -0.3521769345, -0.2564066052, 0.1070565656, -0.4685757458, -0.5376527905, -0.6862940788, 0.3090102673, -0.2185853571, -0.4063465893, 0.0997787118, -0.411269933, 0.3325606585, 0.3709807992, -1.244148016, 0.5243589878, 1.0996290445, 0.7557910085, -0.3710094988, -0.4813146293, 0.1203585342, 0.2977179885, -0.4194495976, 0.8307793736, -0.651153326, -0.330486387, 0.0514050387, -0.5734472871, -0.1542254686, -0.6043350697, 0.341155529, -0.1958748847, 0.3940541446, -0.4460348487, -0.6760196686, -0.2310351878, 0.5033120513, -0.6525890827, 0.4588245153, 0.0101182768, -0.452927053, 0.4774360657, -0.8675051332, -0.2981452942, 0.0629248321, -0.4304533899, -0.2453045547, 0.0177080985, -0.1455385834, 0.0452830233, -0.3274684548, 0.621111095, -0.4905999899, -0.2772909105, -0.0295434259, -0.3292315602, 0.9575419426, 0.1213266253, -0.4598099589, 0.3930422962, -0.2719498277, -0.0311774258, -0.2727802396, -0.2218161225, -0.1734953225, 0.266184628, 0.1492444128, 0.1748935431, 0.2837301791, -0.2329690605, 0.6717722416, -0.4917212129, 0.2626032829, 1.0743249655, -0.5892063379, 0.8011828065, -0.6264113188, 0.5792869329, 0.1041887328, 0.3525761962, 0.5252669454, -0.6278018355, -0.3924843073, -0.3026227653, 0.1811083704, 0.5898902416, 0.2299063802, 0.7800760269, -0.3749679923, -0.4828885794, -0.9330133796, 0.0495703407, 0.1022279635, 0.2558595538, 0.3914490342, -0.3515999317, -0.5498309731, -1.1622161865, -0.4317718744, -0.5926659107, 0.1875230521, 0.2519676685, 0.4224906862, -0.4807187021, 1.1621586084, -0.1458654255, -0.1512557119, -0.1799270064, 0.1691983193, -0.002047708, 0.4729361236, 0.3393485248, -1.092510581, -0.0798965991, 0.1296580434, -0.6361913085, -0.0095123099, 0.0827828273, -0.2604212463, -0.2419624478, 0.1394250244, -0.5171698332, 0.2719121873, 0.5649966598, -0.2360902727, 0.4874538779, 0.3265072405, 0.046351254, -1.1431117058, 0.2079361379, -0.0406551845, 0.1051874161, -0.5924605727, 0.1481027007, -0.1853193045, 0.0024394474, -0.1573166847, 0.7743691206, -0.1857901663, -0.285594523, -0.0945334285, 0.2596784234, -0.0794364214, -0.0199304894, -0.1684907228, 0.6223048568, 0.2169902921, -0.2396153957, 0.3625103533, 0.3400716782, 0.0016285101, 0.7706641555, -0.6327179074, -0.3058137, -0.3404881656, 0.2728572786, -0.9765277505, 0.0684493631, 0.2034982443, -0.231438309, -0.3272255361, -0.0753480792, 0.0058524809, -0.1516822577, -0.1418172568, 0.8866689205, 0.4329880774, -0.4276093245, 0.8099458814, 0.6442347765, -0.1648516208, -0.7248787284, -0.2974308431, 0.0713469982, -0.4766435325, -0.8770862222, 0.6416860819, -0.2392891943, -0.7378213406, -0.1452492774, 0.2197967619, 0.0443860181, 0.1512580514, 0.2970977128, 0.3656278253, -0.3987908661, 0.275909096, -0.2586543262, -0.1458858848, -0.2885369658, -0.5387930274, 0.2358641028, -0.4888992608, -0.6771180034, -0.1433233023, 0.6960033774, 0.7051736116, -0.2867558897, 0.5700234175, 0.4505447149, -0.4223905504, 0.2377938628, -0.6633970737, 0.0167506505, -0.3993743658, 0.1596135348, -0.0031134046, -0.624405086, 0.4305449724, -0.0643777773, 0.6930535436, 0.4909765124, 0.6094192266, -0.1012609527, 1.4844483137, 0.7231140733, -0.2979068458, 0.2817744613, 0.0280518476, 0.4467732012, -0.6496506333, -0.1003969535, -0.5512492657, -0.7688865066, -0.4037391543, -0.1454984844, 0.1872486323, 0.06273669, -0.4071117043, 0.1586525738, -0.6358832121, 0.3865970671, 0.684995532, -0.6851380467, -0.0240665097, -0.5223383904, 0.1375616491, -0.065679431, -0.4432117641, -0.766279459, 0.950704515, 0.1988045275, 0.714523375, 0.5090708137, 0.7511678338, 0.3413502872, 0.6221237183, -0.6290599108, 0.3781895638, -0.2711290717, -0.9059919715, -0.5273205638, -0.0094908224, -0.8893833756, 0.4371073246, -0.0591382533, -0.568374455, 0.3244887888, -0.0187412594, -0.4156962037, 0.1623993963, -0.7400852442, 1.2683295012, -0.451512605, 0.1711238474, -0.0313417353, -0.8062877059, 0.5117480159, 0.2971227169, 0.2832964957, -0.4970489144, -0.128714025, 0.6236124039, -0.2470539808, 0.9208919406, -0.183417201, -0.1230733618, -0.1211822033, -0.4355879724, 0.2587292492, -0.172825709, -0.1928200871, 0.2392902374, 0.068075642, -0.6898338795, -0.3570131958, 0.5291976929, -1.2849539518, -0.6268103719, -0.3388773203, -0.7129800916, -0.1012818292, 0.2330974191, 0.0362252221, -0.0450284109, -0.5889673829, -0.2076644897, 0.3760378957, 0.4228983521, 0.2296096236, 0.2312094718, -0.0934815034, -0.2622964382, 0.8764750361, 0.2667048573, 0.2795983851, 0.093491964, 0.1783155501, -0.5625444055, -0.5078735352, -0.6137715578, 0.0125031639, -0.6133165956, 0.0350396335, -0.4547508955, -0.1824773699, -0.9055249095, -0.5991631746, -0.497033447, -0.3956362903, -0.3062575459, -0.0172106866, -0.1648218483, 0.8015059233, 0.0638550818, 0.1410693824, -0.5021766424, 0.3088536263, 0.4601472914, 0.1891284883, -0.2447050959, -0.3658162951, -0.0059379083, 0.1846250594, -0.3197523057, -0.7307789922, 0.0495627858, -0.0003300606, 0.8011234403, 0.6515735984, 0.0604474247, 0.8452596068, -0.4327484071, 0.7380030155, 0.3749532402, -0.9468640685, 0.5078715682, -0.2669403851, 0.2115567625, 0.8039610982, 0.4194357991, -0.9841448665, -0.4151636958, -0.6042236686, -0.8308849335, 0.2416885942, -0.1399150044, 0.2316289544, 0.060227856, -0.0413453653, 0.3596985638, 0.3167796731, -0.7919555902, 0.1492869854, -0.2978028059, -0.7167395949, -0.1261995584, 0.3441676199, -0.6820537448, -0.0227897558, 0.575722754, -0.3226020336, -0.1675516367, -0.3097308874, -0.0294588841, -0.0017895319, 0.3185122907, 0.7495639324, 0.8995347023, 0.1053633168, 0.1601552516, -0.3150387406, -0.0162327699, 0.4203495979, 0.3650117815, -0.4254308641, -0.3416704237, 0.1980081499, 0.5397509336, -0.0666124895, -0.7769623399, 0.6998035908, 0.0067777517, -0.0510892347, -0.2874267399, 0.1668683887, 0.0913187265, 0.4741173089, 0.1324986666, 0.3635104001, 0.0912050456, -0.4837557077, -0.0145274587, 0.8967220187, -0.5043192506, -0.3267876208, 0.5628471375, 0.2858324349, -0.5921666622, 0.7130016088, -0.0083191944, -0.2914705575, 0.5486721396, 0.4018119574, 0.9180227518, -0.2418824285, 0.3218130469, -0.0384764522, 0.404176563, -0.2581237555, 0.0502965003, 0.1580604911, -1.1661065817, 0.0087105557, -0.3897378147, -0.4343956411, -0.4993495345, -0.6911244988, 0.1989414096, -0.4084286988, -0.2097937912, 0.4317823648, -0.1880100816, -0.3907971084, 0.158649236, 0.3924033642, 0.4036445618, -1.1743658781, 0.3931969702, 0.6626261473, -0.6077380776, -0.5111984015, -0.0280888844, 0.2146651149, -0.9292824864, 0.2166226208, 0.1848973483, 0.0096626198, -0.0910543948, -0.5605451465, -0.9198063612, 0.9000752568, 0.3104993701, -0.3776715398, -0.1476642042, 0.1359796226, 0.3294113874, -0.6706885099, 0.2026560456, 0.4692315459, 0.8737950325, -0.1334312558, -0.7143568397, -0.0654332042, -0.3903352022, 0.1183626428, 0.4190336764, -0.6194918752, 0.8086770773, -0.3305245638, -0.2243357599, 0.0744312406, 0.531098187, 0.3718692064, 0.2628303766, 0.5891266465, 0.7452141643, 0.7114923, 0.0412254594, 0.5969280601, -0.0203067958, -0.0695682541, 0.8024837375, -0.6420167685, 0.7200294733, 0.7132479548, -0.2384305, 0.5799343586, 0.5686790943, -0.2031498849, 0.3517353833, 0.1883923113, -0.3249127865, -0.2455371618, -0.3564580977, -0.5314308405, 0.3127353489, 0.1239729151, -0.0373240113, -0.119879514, -0.0776610598, -0.5261528492, 0.1559327245, 0.0183427744, 0.9413432479, -0.2719400525, -1.083922267, 0.4058644474, 0.1233998239, 0.6195096374, -0.3762216568, 0.0773590803, -0.1082697585, 0.1326191127, -0.0424555875, -0.6351035237, 0.2460263819, -0.356572032, -0.5645449162, -0.3407473564, 0.295384407, -0.4501112103, -0.5964844823, 0.2254683226, 0.4347993135, 0.1170487702, 0.1661014408, -0.8562575579, -0.0454524942, -0.142584756, 0.2033433765, 0.2492256314, 0.036793299, -0.3309334219, 0.5477523804, 0.5177570581, 0.0397065952, 0.179522559, 0.4220286012, 0.5843400359, -0.7007228732, -0.5770226717, -0.8272095919, 0.7937126756, -0.0998672917, -0.7360252142, 0.4526160061, 0.5390443802, 0.7891030312, 0.3786832988, 1.0918387175, 0.040850237, 0.1069685742, 0.0025425807, 0.2504373789, -0.5710553527, 0.1046372801, -0.0946083665, -0.8180723786, -0.3526212871, 0.4436761439, -0.4037321806, 0.2307392061, -0.0582484379, 0.6239336729, -0.1001774669, 0.15861094, 0.2523165643, -0.0664782673, 0.4327820539, 0.1377699077, 1.1675513983, -0.2504844069, 0.4016852379, 0.1780519783, -0.2226698548, -0.3647149801, -0.5099310279, -0.3340761065, -0.511049211, -0.3089083731, 0.0426143594, 0.2773144245, 0.7497165203, 0.9964290261, -0.7596008182, -0.4863444567, -0.2054313272, 0.3724564612, -0.4490240812, -0.2014761269, -0.1905590892, -0.2974497974, -0.6106907129, 0.0901770964, 0.5895968676, 0.1587818861, -0.5997848511, -0.2079447359, -0.4165936112, 0.3040220141, 0.0660057962, 0.3589037657, -1.1260176897, -0.384724021, -0.0712519437, -0.3669677377, 0.1943073869, 0.7354090214, -0.303596735, 0.284840256, 0.28076756, 0.5889790058, -0.079511255, 0.5366064906, 0.8395136595, -0.5411165357, -0.0622228161, 0.9121901393, 0.089538075, 0.2156609446, -0.1304046065, 0.244613573, 0.0007351805, -0.6701860428, -0.7986366749, 0.6308935285, -0.762028873, -0.3166517913, 0.6994251609, 0.1541135162, 0.0979633778, -0.1794189066, -0.0628854334, -0.011864217, -0.1139722392, 1.0011718273, 0.7235613465, -0.1581892371, 0.2010783553, -0.1275610477, 0.159703359, 0.6763045192, -0.9183418751, 0.0664680153, 0.5796126127, -0.020687677, 0.4463594854, 0.7270466685, -0.046011351, 0.1853000224, -0.1139521748, 0.2263518423, 0.7938633561, -0.3920621276, -0.2697586119, 0.0548572727, 0.0523152612, -0.0904295817 ]
http://arxiv.org/abs/2402.05044v4
http://arxiv.org/pdf/2402.05044v4
SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Models
2024-02-07T17:33:54
2024-06-07T12:05:46
Lijun Li, Bowen Dong, Ruohui Wang, Xuhao Hu, Wangmeng Zuo, Dahua Lin, Yu Qiao, Jing Shao
cs.CL
cs.CL, cs.AI, cs.CR, cs.LG
In the rapidly evolving landscape of Large Language Models (LLMs), ensuring robust safety measures is paramount. To meet this crucial need, we propose \emph{SALAD-Bench}, a safety benchmark specifically designed for evaluating LLMs, attack, and defense methods. Distinguished by its breadth, SALAD-Bench transcends conventional benchmarks through its large scale, rich diversity, intricate taxonomy spanning three levels, and versatile functionalities.SALAD-Bench is crafted with a meticulous array of questions, from standard queries to complex ones enriched with attack, defense modifications and multiple-choice. To effectively manage the inherent complexity, we introduce an innovative evaluators: the LLM-based MD-Judge for QA pairs with a particular focus on attack-enhanced queries, ensuring a seamless, and reliable evaluation. Above components extend SALAD-Bench from standard LLM safety evaluation to both LLM attack and defense methods evaluation, ensuring the joint-purpose utility. Our extensive experiments shed light on the resilience of LLMs against emerging threats and the efficacy of contemporary defense tactics. Data and evaluator are released under https://github.com/OpenSafetyLab/SALAD-BENCH.
[ -0.3357425332, -0.8563673496, 0.5245764256, 0.1699572057, 0.0441653617, 0.4879577756, -0.1536281407, -0.2854106724, 0.1294573396, 0.1488573998, -0.3282540143, -0.5792462826, -0.513148725, 0.0357076116, -0.7471073866, 1.0121552944, -0.0101130707, 0.2595279217, -0.2760137618, -0.1858478487, -0.3340094686, -0.4140208066, -0.6067898273, 0.0332634635, 0.6213464737, 0.1113228723, 0.7429651618, 0.6029223204, 0.7401216626, 0.3172043264, -0.1508672535, -0.0644821078, -0.5155685544, 0.5412698984, -0.5769037008, -0.4467257559, -0.6045458317, -0.008750529, 0.6538498402, 0.7609722018, -0.4566605985, -0.0379489213, 0.0361070074, 0.8403458595, -1.2044513226, -0.2368330508, -0.7450067997, 0.0232254136, -0.4324543476, 0.0973663628, -0.2134360373, -0.603902936, -0.1649903059, -0.2624652982, -0.3361616731, -0.0785729438, 0.6630234718, 0.203451395, -0.6852810979, 0.2784622014, -0.4121144414, 0.6814439893, -0.3362754583, 0.4400440156, 0.3733831346, 0.8529950976, -0.4957320988, -0.7714897394, -0.4075548053, -0.2602628171, 0.451505959, 0.199044764, -0.1236282513, 0.1114632338, -0.0281530172, 0.6987609267, -0.5079709291, 0.1301115453, 0.2316830605, 0.1701866835, 0.6827357411, 0.3673775792, 0.4357346892, -0.0402032435, -0.5622504354, -0.3417734504, -0.7852963805, -0.0260357969, -0.1229812875, -0.0623259842, -0.3564691842, 0.3515496552, -0.5212930441, 0.3505634069, -0.1527596116, -0.1609027535, 0.2315635085, -0.2927047312, -0.2181986421, -0.3947457969, 1.093534112, 0.6439294219, 0.1242207512, -0.3658431768, -0.4398640692, 0.221590519, 0.5683794618, -0.7051693201, -0.2954443097, 0.1870704144, -0.3182553053, -0.6159838438, -0.1737832576, -1.1264044046, -0.9613281488, 0.2001639009, 0.2857898176, -0.2691180408, -0.3219432235, -0.1309583485, -0.1577135324, 0.2922079861, 0.0058998289, -0.7218698859, 0.7023082972, 0.9638788104, 0.6996446848, -0.4242866337, -0.1989020556, -0.7762640119, 0.2555360496, -0.7134655118, 0.7559504509, -0.3769381642, -0.4360457957, 0.1439635605, -0.0759424418, 0.0248935763, -0.6088610291, 0.8126949668, -0.4995206892, -0.2699042261, -0.4777005315, -0.3028885126, -0.0352893323, 0.6647930741, -0.7477335334, 0.8288400173, 0.2187953144, -0.7937695384, 0.3461618721, -0.3279337883, -0.7094610333, 0.1726463586, -0.57684201, -0.2957017422, 0.0295931417, 0.0689010769, 0.2698410749, -0.9359398484, 0.266628772, -0.7206397057, -0.0745252967, 0.4404387474, -0.4652042687, 0.5698450804, 0.12907736, -0.1823959053, 0.3993862569, -0.8798179626, 0.2963011861, 0.2699194252, -0.6716361642, -0.2890493572, 0.1578951925, 0.0478589721, -0.0286872722, 0.3103682995, -0.3605549335, -0.2412540466, -0.3912726641, 0.4158967733, 0.8839794993, -0.0832302868, 0.3677251935, -0.53125453, 0.6330868006, -0.2486512959, 0.2583762109, 0.1311566681, -0.0024325475, -0.4847195745, -0.682978332, 0.6404781938, 0.6577823162, -0.6758470535, 0.5680286884, -0.26941818, -0.7260884047, -0.2414964437, -0.0884569064, 0.6044430137, 0.164893508, 0.212469399, -0.5477973223, -0.4563406706, -0.9367806911, -0.6209884882, 0.0177178122, 0.035725791, 0.0486755222, 0.3264988661, -0.3600575626, 0.7598850727, -0.2107141167, 0.2304788083, -0.1569450796, -0.3081021309, 0.3041155934, 0.5069739819, 0.7132492661, -0.5923842788, -0.6105156541, -0.0279656556, -0.8031132817, -0.0231305566, 0.1863042116, -0.3217984438, 0.18842116, 0.3646405935, -0.9129543304, 0.0999577194, 0.5527613759, -0.2174811065, 0.6637656093, 0.2561627328, 0.2735323608, -1.130466938, 0.1708518863, -0.0325253606, -0.2956267595, -0.6509358883, 0.6919890642, 0.2832847238, 0.2112925351, -0.1875427216, 0.3654183447, 0.0072072735, -0.091511935, -0.0412008315, -0.1217789575, -0.1017714739, 0.0059815426, -0.5018082261, 0.6658123732, 0.7299522758, -0.4513866305, 0.3953953683, -0.0026955486, -0.6126639843, 0.8602452278, -0.6711120605, 0.0689848959, 0.2029473484, 0.3717503548, -1.1487113237, -0.3398462534, 0.3261027932, -0.0295472704, 0.4164780676, -0.0627383664, -0.548895359, -0.1752024442, -0.7221644521, 0.4065297246, 0.4227782488, -0.6900462508, 0.7554613352, 0.7509431839, -0.2202279419, -0.797492981, -0.4409621358, 0.3002457321, -0.4047698379, -0.5523653626, 0.3332559168, -0.3199947178, -0.5704430938, -0.298342824, -0.5809980035, -0.2640943527, 0.6320957541, 0.3224091828, 0.2034571618, 0.0255810283, -0.1274205148, 0.0842002481, -0.003394179, 0.4317670166, 0.19509767, 0.6563384533, -0.071790196, -0.2215119451, -0.2231998593, 0.3265803456, 0.7723498344, -0.3391961455, 0.6330801845, 0.2160611451, -0.2173131406, -0.2327201962, -0.5473737121, 0.0749161318, -0.5102783442, 0.4967845976, -0.5748894215, -0.4880973399, 0.2358047068, -0.2336279452, 0.2009030282, 0.3115588427, 0.4201074839, -0.1860997975, 0.8266457915, 0.0688702017, -0.3607863486, 0.3217733502, 0.1091171429, -0.0598400831, -0.6428650022, -0.1412029564, -0.5650730133, -0.1686562002, -0.5691438317, -0.2961727679, 0.5506389141, 0.1249166653, -0.5949712396, 0.138574034, -0.0590261519, 0.5211664438, 0.407022506, -0.0383855775, 0.077760227, -0.248905912, -0.3109101355, 0.2246166617, -0.3804977834, -0.2648568451, 1.2661856413, 0.6133638024, 0.9338664412, 0.3842298388, 0.8237788677, 0.2152258903, 0.0751058012, -0.742701292, 0.8348681331, -0.175391376, -0.5438765883, -0.0842427835, -0.6921872497, -0.8399761915, 0.6255914569, -0.3272406161, -0.5601598024, -0.1944518238, -0.097645618, -0.3842378557, 0.0543369465, -0.4987217188, 0.9379333854, -0.4849238098, -0.5418159962, -0.386194706, -0.5098926425, 0.49470222, -0.1655756086, 0.4823393226, -0.1247932464, -0.133223474, 0.5848852992, -0.2978002727, 0.5564731956, 0.0811046511, -0.256120801, -0.1663693041, 0.5542010665, 0.5384651423, 0.0510912277, -0.0077510187, 0.1389429867, 0.1967785507, -0.1070153341, -0.2703779638, 0.9987258911, -0.5443188548, -0.791079998, -0.6207715869, -0.6260018349, -0.5251287222, 0.4502381384, -0.2789151669, 0.0242276173, -0.5352547169, 0.481149286, 0.6967731118, -0.1755886078, 0.4448311925, 0.5531727672, -0.2279933244, -0.6988303661, 0.6289522052, -0.0733594075, 0.2507155538, 0.4447528124, 0.1174982563, -0.2090999037, -0.7011085153, -0.2491081655, -0.2094570398, -0.8193299174, -0.4789625108, -0.5112332702, -0.2158485204, -0.182889685, 0.0861391872, -0.5220876932, -0.4948522747, 0.284299463, -0.0629447699, 0.1490021646, 0.5375944972, -0.0858566463, -0.032479234, -0.5743764043, 0.652831316, 0.4290906787, 0.5697463751, -0.1330461949, -0.1212918833, -0.0306272693, -0.1802707613, -0.5127735138, -0.8399834633, 0.0553989112, 0.0616430454, 0.590046227, 0.4389466941, 0.2004299462, 0.1821122617, -0.7402053475, 0.5916905403, 0.4208777845, -0.8034566641, 0.2692270577, -0.447857976, 0.1744303405, 0.6348228455, 0.3228779733, -0.3144967854, -0.1876229644, -0.0919774398, -0.9862688184, 0.3119080067, -0.1345800012, -0.2233617306, -0.28088817, -0.1330030859, 0.0265617855, 0.1714551598, -0.5302469134, -0.149677068, 0.0270381607, -0.2815084159, 0.075885646, -0.3681604862, -0.645026803, -0.150749743, 0.4951926768, 0.0223784707, -0.2943001091, -0.4167474508, 0.1499119401, -0.2450685352, 0.5867299438, 0.0317800157, 0.5894088745, -0.1249848455, 0.2100708187, 0.4169451296, -0.347440511, 0.1226991192, 0.3640504181, 0.1094738245, -0.3736733496, 0.2220707983, 0.1314650327, 0.4949639738, -0.9348761439, 0.5404525399, -0.2360468209, -0.0386694558, -0.2164742053, 0.3762873113, 0.1945641637, 0.2620231211, 0.2072989494, -0.0011552721, 0.3675013185, -0.6229987144, 0.0935397297, 0.8062130213, -0.0472737588, 0.1602410674, 0.5066406131, 0.2707727253, -0.01517398, 0.1707322896, 0.1348370463, -0.3861204088, 0.4585658312, 0.2950093448, 0.8731628656, -0.4748461246, -0.0052831876, 0.1540876925, 0.2856076956, -0.0491456948, 0.4975429177, 0.0020246343, -0.424696207, 0.0672760978, -0.7754349709, -0.2570408881, 0.2892430723, -0.6001698375, -0.1120012775, -0.853603065, -0.2056202292, 0.0893259868, -0.1189222634, -0.3257057667, 0.1482278854, 0.0452750213, 1.2993942499, -0.4641236961, 0.5737774372, 0.7072282434, -0.2326973081, -0.2337837666, 0.148769334, 0.2200715244, -0.5338661671, 0.2709272802, 0.0594729111, -0.2706975937, -0.6162783504, -0.3112432659, -0.8865407109, 1.0259999037, 0.4265468121, -1.0308754444, 0.1110135317, 0.2223709226, 0.3836777508, 0.0260965526, 0.0693134665, 0.9365925193, 0.3717828989, -0.1189208552, -1.1222041845, 0.3143059909, -0.236644268, 0.2498585284, 0.3000001311, -0.6853204966, 0.9605690837, 0.1412703246, -0.3148504198, 0.5878132582, 0.3879445195, 0.4386997819, 0.1536996216, 0.6047742963, 0.9050884843, 0.6292818189, -0.1720311046, 1.4572478533, -0.3242239654, -0.0456687175, 1.2167123556, -0.4462726116, 1.0735542774, 0.4455049336, -0.353351891, 0.3865619004, 0.5053227544, 0.1862086803, 0.8857157826, 0.5070510507, -0.343637377, -0.3021463454, -0.0950704068, -0.5240150094, 0.4329813123, 0.289175868, -0.3631770909, -0.1683868915, -0.4122165442, 0.115580298, 0.2263344824, -0.3206154704, 0.8357216716, 0.2352075726, -0.5889666677, 0.7961251736, 0.0645355806, 0.4432223439, -0.5653333664, 0.0389931239, -0.1632736772, 0.4500892162, -0.1023145691, -0.9120989442, -0.1923755556, -0.0610984229, -0.0623152666, 0.2352014184, 0.4321887791, -0.2067620158, -0.0653269663, 0.4098309278, 0.3001661897, -0.1949497908, 0.0211660061, -0.6539009809, 0.4689860344, -0.5629962683, -0.0832467973, 0.607376039, 0.2097777277, 0.075552389, 0.6840316057, 0.4317607582, -0.2068064809, -0.10021393, 0.1902137697, 1.1363075972, -0.5492730141, -0.6090980172, -0.8953362703, 0.4291521609, -0.2191441953, -0.1835977286, 0.7060669065, 0.5811428428, 0.7332438231, -0.0578003228, 0.8353821039, -0.1610209346, 0.6118821502, -0.4902931154, 1.1894563437, -0.5011520386, 0.2132470161, -0.3043808341, -0.8266131878, 0.0004219604, 0.4168611467, -0.1572031528, 0.2019705474, 0.759730041, 0.6745089293, -0.0034940108, 0.0713681504, 0.2052820772, 0.3647542596, 0.3327658474, 0.6835330725, 1.1056314707, -0.3323599994, 0.4331865907, -0.1924783885, -0.5332214832, -0.0863295496, -0.6869156957, -1.18574965, -0.3152738214, -0.2252590358, -0.4340331554, 0.5008003712, 0.9047948122, 0.6623079181, -0.8754514456, -0.387213558, -0.199055016, 0.037437655, -0.3615582883, -0.1856182516, 0.1689569503, -0.5111467242, -0.477558136, 0.9832632542, 0.111974135, -0.2717363238, -0.152943939, -0.0743453279, -0.2424807549, 0.1039876416, 0.5536896586, 0.2559820712, -0.55750525, -0.0906383544, -0.6092953086, -0.2298562676, -0.2275743335, 0.3180134594, -0.452658534, 0.3430315554, 0.4601066113, 1.1860209703, 0.0199718755, -0.279166162, 0.812359333, -0.5754961967, -0.3543531001, 0.1260549128, 0.5944849253, 0.2909692228, -0.1538199037, 0.7710580826, -0.0615423881, -0.4000710547, -1.1091011763, 0.3215999901, -0.9349963069, -0.3592883945, 1.1801464558, -0.1933547258, -0.2644011378, 0.2133751512, 0.0668374598, 0.0333694369, -0.3683714569, 1.0797743797, 0.4615194201, 0.4842179716, -0.1194696277, -0.3812877238, 0.7017021775, 0.5670735836, -1.2297101021, 0.1629480273, 0.4622935057, 0.4435859025, 0.0298961848, 0.2343505025, -0.3016792834, 0.6952385306, -0.0397430547, -0.2834853232, 0.297418505, -0.6356455684, -0.2828760743, 0.4047191143, 0.1317386627, -0.4026443064 ]
http://arxiv.org/abs/2402.05034v1
http://arxiv.org/pdf/2402.05034v1
How BERT Speaks Shakespearean English? Evaluating Historical Bias in Contextual Language Models
2024-02-07T17:07:53
2024-02-07T17:07:53
Miriam Cuscito, Alfio Ferrara, Martin Ruskov
cs.CL
cs.CL, cs.CY, I.2.7; J.5
In this paper, we explore the idea of analysing the historical bias of contextual language models based on BERT by measuring their adequacy with respect to Early Modern (EME) and Modern (ME) English. In our preliminary experiments, we perform fill-in-the-blank tests with 60 masked sentences (20 EME-specific, 20 ME-specific and 20 generic) and three different models (i.e., BERT Base, MacBERTh, English HLM). We then rate the model predictions according to a 5-point bipolar scale between the two language varieties and derive a weighted score to measure the adequacy of each model to EME and ME varieties of English.
[ -0.6115959883, -0.9375206232, 0.4152763784, 0.1973386854, 0.0945634469, -0.4104370773, -0.3783276379, -0.4977217615, 0.4575234652, 0.3289688528, -0.4246342778, -0.1868060082, -0.3037760556, 0.0109549742, -0.2011460811, 0.706781745, -0.0061592581, 0.6713021994, 0.0463042744, -0.1736900061, -0.6018746495, -0.4871059358, -0.445476979, -0.3786484599, 0.4467731416, 0.1140990257, 0.8210524321, 0.2522011101, -0.0328337662, 0.2670482397, -0.3535508811, -0.3024543226, -0.3599909246, 0.470879674, -0.2327255458, -0.4783338308, -0.1659185737, 0.0907450467, 0.3624627292, 0.8742597103, 0.1353922188, 0.0587133393, 0.0743299499, 0.438146472, -0.5567446947, -0.1176422238, -0.7639118433, 0.031672284, -0.0793265104, -0.0401976742, -0.6781207919, -0.2665227056, 0.4783416092, -0.2504629493, 0.1516512632, 0.0213163029, 0.7990355492, -0.3547708094, -0.6591786742, -0.2135034353, -0.5835340023, 1.1657576561, -1.0931369066, 0.3574118912, 0.4058105946, 0.2947615981, -0.0675829425, -0.4979341328, -0.5541409254, -0.6537154317, -0.1220552027, 0.1591427326, -0.1627835035, -0.0978857353, 0.0605219379, 0.1735724658, -0.5308473706, 0.0510944054, -0.3455725014, -0.1550673693, 0.4924250543, -0.2523437142, 0.2062336504, -0.3343494833, -0.4552588463, -0.0581338815, -0.4752906859, 0.3025056422, 0.5659127831, 0.2706452012, 0.1748337448, 0.3967894614, 0.1589758694, 0.9141677022, 0.2512788475, -0.0264121089, -0.0366226397, -0.042585101, -0.1860868335, -0.0570468083, 0.3632596433, 0.2932297885, 0.6275328398, -0.1396941841, 0.0128482645, -0.3120609522, 0.2054644674, -0.3998930156, 0.0480948947, 0.0472820476, -0.5428281426, -0.0670004413, -0.0457140841, -0.3764727414, -0.1420577765, -0.1465746015, 0.7209544778, -0.545181036, -0.0017672463, -0.2326270789, -0.2486752421, 0.2579360902, 0.3054590821, -0.9815887213, 0.1625621319, 0.4908429384, 0.3806114197, 0.030641906, -0.3532001376, 0.0326193161, 0.144343853, -0.3810503185, 0.5740663409, -0.5565776229, -0.172258094, 0.2754407525, 0.1148676053, -0.0114065232, -0.2074136287, 0.6542406082, -0.3091831207, 0.6744137406, -0.3178378642, -0.6295646429, -0.4765554667, 0.2624381483, -0.6360798478, 0.7699030638, 0.0011890403, -0.6980157495, 0.5659015179, -0.2710874677, -0.4922284484, -0.1843684912, -0.346796602, 0.0096770721, 0.237044543, 0.2886768579, 0.4105185866, 0.0403708667, 0.5418329835, -0.2306193709, -0.3047252595, 0.2499278784, -0.569845736, 1.1629196405, 0.1325436085, -0.6567143202, -0.3967484534, -0.5288117528, -0.0315058827, -0.2078031301, -0.2865403891, -0.7199218869, 0.2456505895, 0.1827715784, 0.1599448472, 0.2521528602, -0.7565764785, 0.0241530873, -0.5227196813, 0.2796048224, 0.6809414029, -0.1800843626, 0.1689768732, -0.6310428381, 0.1958065927, -0.1100314409, 0.1134521738, -0.2802233994, -0.7298362851, -0.7248697877, -0.103063643, 0.4263971746, 0.2962642312, -0.2356883287, 0.5903571844, -0.1184373051, -0.3625132442, -0.4942146242, -0.216464743, 0.1016559228, 0.4815682173, 0.2065793425, -0.3821558952, -0.455095917, -1.3718707561, -0.4082912207, -0.2867803872, -0.3495090604, 0.6688554287, 0.4267750382, -0.0148314526, 1.1555165052, 0.0767122954, 0.0530227348, -0.0334833078, 0.2700724304, 0.2099829763, 0.5542621017, 0.9938423634, -0.4187649786, -0.5693042278, -0.0468012094, -0.2482642382, -0.3307015896, 0.0370638557, 0.0710708722, 0.398347497, 0.2471684664, -0.0633946508, 0.3285396099, 0.8620188236, -0.5381812453, 0.3543861806, -0.0732554793, 0.4401504397, -1.1474155188, 0.0093694841, -0.1824303716, -0.211745441, -0.6871932149, -0.3561981618, -0.0256712772, -0.0568703152, -0.531278491, 0.6224004626, -0.5709181428, -0.0011159979, 0.0885589793, 0.3849846721, 0.1381398439, 0.425278604, -0.0342063308, 0.284124136, 0.3703681827, -0.4440812171, 0.0821481943, 0.0360129438, -0.2684194148, 0.4920044839, -0.5027597547, 0.0005167657, -0.2064334452, 0.2093591541, -1.4221910238, 0.0276656393, -0.4646676183, -0.5828111172, 0.358484745, 0.0259133615, -0.0200264268, -0.1299322695, -0.3642300367, 0.3258969486, 0.4633123577, -0.4389086664, 0.631113708, 0.249644652, -0.366540432, -0.7938508391, -0.9770296216, 0.0325928219, 0.0750675425, -1.0061314106, 0.2561003566, 0.0314590111, -0.723338306, -0.0853342637, -0.1037024185, -0.3565228879, 0.0249360558, -0.0716127902, 0.003224005, -0.3882793486, 0.0241297912, 0.3206550181, 0.4492572248, -0.1503789872, -0.0795244277, 0.5030512214, 0.2449008077, -0.3558731079, -0.094900474, 0.4243136942, 0.6864982247, 0.3532535732, 0.763186276, 0.3092336357, -0.3587768674, -0.0329762921, -0.9713482261, -0.454189688, -0.3496497273, 0.2744342387, -0.2370626926, -0.9344860911, 0.8557260036, 0.444404453, 0.321976155, 0.7996141911, 0.7470881939, -0.1214511618, 0.9986516237, 0.3026961982, -0.1068659499, 0.6567232609, 0.1643404812, 0.0616368502, -0.5796908736, 0.0688956529, -0.5148296952, -0.6179273725, -0.8453193903, 0.0270157922, 0.4800798297, -0.0617200248, -0.2967254519, 0.3416542709, 0.0439325757, 0.3316694498, 0.6751489639, 0.113659136, 0.0533860549, -0.1730266511, -0.4573336542, -0.2931590974, -0.4843299687, -0.8319818974, 1.1790440083, 0.5173469186, 0.5482206345, 0.396304369, 0.3711121082, 0.4523803294, 0.3106262684, -0.5885131359, 0.3309099078, -0.1657296121, -1.3414071798, -0.4014777541, 0.0639605671, -1.0215909481, 0.4890111387, -0.1611605585, -0.7064930201, 0.4871659577, 0.1921557784, -0.163846001, 0.1314892471, -0.7921080589, 0.7549301386, -0.2601561546, -0.4400310516, -0.3242172301, -0.7025721669, 0.5181669593, 0.1755775064, 0.3841524124, 0.0380662791, 0.0749833137, 0.8068985939, -0.2833453119, 0.8907034397, -0.1037658602, -0.1436003447, 0.1330447346, 0.2044971883, 0.2968723178, -0.0882591084, -0.2380020916, 0.1431978345, 0.2251351923, -0.7926928997, -0.3335854113, 0.6865392327, -0.6562045217, -0.4820889533, -0.4918809235, -0.5061703324, -0.3370028734, 0.0850293338, 0.1413531452, 0.6199499965, -0.7361260056, 0.3514085114, 0.3078126609, -0.3491021991, 0.7530789971, 0.9188972116, -0.1394249201, -0.2323760539, 0.0380725227, 0.2144916952, 0.4663418829, 0.3522615433, 0.2963563502, -0.0646109283, -0.2227181345, -0.2459713966, 0.0193317067, -0.5359498262, 0.2358993292, -0.3394384086, 0.0010591168, -0.6010261178, -0.4076762795, -0.1379884928, -0.4803970456, 0.0308678579, 0.0774687007, 0.0269056354, 0.9194098115, -0.102104187, 0.3561760187, -0.3896068633, -0.2619062066, 0.5616849661, 0.0023635849, 0.0632772446, -0.647177875, -0.2270698845, 0.288480252, -0.4989901185, -1.2521665096, 0.3616163433, 0.1211740449, 0.8110083938, 0.5010126233, -0.2522725463, 0.2835822999, -0.7617992759, 1.3247667551, 0.0139062712, -1.1044954062, 0.4792154729, -0.3299619555, 0.0628311634, 0.3178570271, 0.2786750495, -0.6001634598, -0.7411907911, -0.792576313, -0.8439196944, 0.5020381808, 0.1350394338, 0.2625646889, -0.1885000169, 0.1731721312, 0.4050090909, 0.1396684498, -1.0425788164, -0.4795193672, -0.0582769737, -0.1240613982, -0.1609626263, -0.5844604969, -0.0773268119, -0.2864260077, 0.6048688889, 0.2549250126, 0.1629425883, 0.3387304544, -0.4477902353, -0.1026623473, 0.7041991353, 0.9088201523, 1.1247650385, -0.6147282124, 0.2759645283, 0.3748448491, -0.6538884044, -0.0962786525, -0.0121723115, -0.3315657675, 0.579400003, 0.7276176214, 0.7405782342, 0.3626083136, -0.5448058844, 0.6170293093, 0.1652325839, -0.0919190124, -0.3620061874, -0.3759048581, -0.1939628273, 0.2262877971, 0.5982193351, -0.0430637375, 0.0464322567, -0.8454582095, 0.2725009918, 0.5704951286, -0.5312474966, -0.3113542497, 0.4945696592, 0.3683665097, -0.0637150034, 0.0104174456, 0.2069224268, -0.7184947133, 0.4575329721, 0.6218698025, 0.9336060286, -0.5156748891, -0.0429821648, 0.3641335666, 0.6725596189, 0.2920989394, 0.2733757794, 0.0225539301, -0.7552872896, -0.5447704792, -0.5082066059, -0.5094355345, 0.2735037804, -0.7377126217, 0.0805513933, 0.1181214675, -0.2789342403, 0.1035124213, -0.0350526758, -0.4850760996, 0.2661960423, 0.1709069163, 0.8963564038, -1.1497703791, 0.7305056453, 0.6195522547, -0.2252032459, -0.4695064723, 0.1405335069, -0.0988858938, -0.9115508199, 0.9522354007, -0.1344485432, 0.0857967734, -0.0940950736, -0.4800648689, -0.7876214385, 0.8416261077, 0.2848816514, -0.5818465352, 0.211626187, -0.4831178486, 0.5637039542, -0.4606127143, 0.7302193642, 0.5194840431, 0.6839394569, -0.3029444516, -1.2253614664, -0.3833992481, 0.0575637333, 0.0441161506, -0.038334664, -0.2798549831, 1.1627215147, 0.1197440475, -0.0593964644, -0.0555089004, 0.4655238986, -0.2642238438, 0.1411834508, 0.4867210984, 0.3121515214, 0.5222248435, -0.2245898098, 0.8840824366, -0.4761422873, 0.4515549242, 0.7581545711, -0.186837852, 1.0469111204, 0.5480654836, -0.2773196101, 0.7045486569, 0.5856969953, 0.2111610472, 0.4026145339, 0.2914642096, -0.3334600627, 0.1005244553, -0.0198565852, -0.353499651, 0.2985123098, -0.024779601, -0.6617053151, -0.1571377218, 0.1050757915, 0.3636224568, 0.1755377948, -0.4157428741, 0.6046134233, -0.213934049, -0.8580148816, 0.5790780187, -0.0073052403, 0.7597387433, -0.5720876455, 0.3523114324, -0.3645113111, 0.0726714656, 0.098465994, -0.6090721488, 0.2575397789, -0.0100919371, -0.2980546653, -0.1329069287, 0.2614654899, -0.7654788494, -0.2928457856, 0.1615553945, 0.5428085923, 0.2782490849, 0.3724558651, -0.3843429387, -0.1290690154, 0.1574501693, -0.3661906719, 0.0056231865, 0.2883789539, 0.0573971234, 0.31425336, 0.1386035085, 0.2735385001, 0.3004162312, 0.2300397754, 0.3032951951, -0.8436037898, -0.39184618, -0.9333425164, 0.5250602961, 0.0344606936, -0.3546175957, 0.8726524711, 0.5934643745, 0.7150244713, -0.2568345368, 0.8369583488, -0.2072031647, 0.7744788527, -0.3764131367, 0.6977915168, -0.4933825433, -0.1325335652, -0.2964219749, -0.892020762, 0.0529854447, 0.8256076574, -0.4191409945, 0.2643457949, 0.9985248446, 0.4517125785, 0.103682138, -0.0295658372, 0.5507819653, 0.6243178248, 0.1381255239, 0.3325667083, 0.7950741649, -0.4340749085, 0.0807536691, 0.0161077529, -0.4385950863, -0.2913617194, -0.9986852407, -0.9281997085, -0.6705706716, 0.0315026902, -0.4273347557, 0.0247155875, 0.8380540609, 0.538459301, -1.2027767897, -0.5381937623, 0.3860628605, 0.0819297656, -0.2590681612, -0.2189032435, 0.3682551086, -0.4091917276, -1.0420780182, 0.3291158676, 0.0514151342, 0.1963366121, -0.543938756, 0.1285464317, -0.4441512823, 0.5801356435, 0.6652428508, 0.0408597514, -1.2234675884, -0.5896247625, 0.0328555629, -0.1846227348, -0.1271310598, 0.755135417, -0.3836506903, 0.7870879173, 0.6349874735, 0.1046263576, 0.360780865, 0.0421726033, 0.9760830402, -0.8488870859, 0.2623205483, 0.2978789508, 0.6594981551, 0.3288789988, 0.0937677845, 0.1277643144, 0.0848655924, -0.5436244011, -0.6835346818, 0.2602463663, -1.0395249128, -0.4164609313, 1.0236313343, -0.0838695914, -0.0319374017, -0.2504531443, -0.3678869903, 0.1113819554, -0.1249926314, 0.7323788404, 1.2066318989, -0.0160962436, 0.1813823432, -0.7416559458, 0.3136756122, 0.6128186584, -0.0750166252, -0.3046071827, 0.598705709, 0.2552194595, 0.269777745, 0.200840354, 0.1098717526, 0.0484823398, -0.1397376508, 0.3582285345, 0.2952466309, 0.1048866436, -0.2461203635, 0.0939424112, 0.0606329851, -0.1991753578 ]
http://arxiv.org/abs/2402.05000v1
http://arxiv.org/pdf/2402.05000v1
Pedagogical Alignment of Large Language Models
2024-02-07T16:15:59
2024-02-07T16:15:59
Shashank Sonkar, Kangqi Ni, Sapana Chaudhary, Richard G. Baraniuk
cs.CL
cs.CL
In this paper, we introduce the novel concept of pedagogically aligned Large Language Models (LLMs) that signifies a transformative shift in the application of LLMs within educational contexts. Rather than providing direct responses to user queries, pedagogically-aligned LLMs function as scaffolding tools, breaking complex problems into manageable subproblems and guiding students towards the final answer through constructive feedback and hints. The objective is to equip learners with problem-solving strategies that deepen their understanding and internalization of the subject matter. Previous research in this field has primarily applied the supervised finetuning approach without framing the objective as an alignment problem, hence not employing reinforcement learning through human feedback (RLHF) methods. This study reinterprets the narrative by viewing the task through the lens of alignment and demonstrates how RLHF methods emerge naturally as a superior alternative for aligning LLM behaviour. Building on this perspective, we propose a novel approach for constructing a reward dataset specifically designed for the pedagogical alignment of LLMs. We apply three state-of-the-art RLHF algorithms and find that they outperform SFT significantly. Our qualitative analyses across model differences and hyperparameter sensitivity further validate the superiority of RLHF over SFT. Also, our study sheds light on the potential of online feedback for enhancing the performance of pedagogically-aligned LLMs, thus providing valuable insights for the advancement of these models in educational settings.
[ -0.0974128321, -0.8883289695, 0.5085439682, -0.1129503772, -0.0653467923, 0.3860671818, -0.5661045313, -0.1832502186, 0.1472354084, 0.2689467967, -0.7960021496, -0.3810273111, -0.420617789, -0.112707451, -0.2365555316, 1.0514820814, -0.2400498241, 0.2175304741, -0.3035483658, 0.0257112551, -0.5429198146, -0.5097939968, -0.2853706479, -0.6413711309, 0.7164188027, 0.4115035236, 0.6038330793, 0.9806072712, 0.678704381, 0.2430548221, 0.1198953614, 0.1761704087, -0.609371841, 0.137082532, -0.3976296782, -0.3420917392, -0.2028618157, -0.0121194888, 0.5579907298, 0.8916925788, -0.5871248841, 0.1675798893, 0.4759114385, 0.758390069, -0.5155500174, 0.1132846177, -0.1612518579, 0.1146136448, -0.2775114775, -0.1280292571, -0.4729005396, -0.5239984989, 0.0429680906, -0.6288303733, -0.2992756963, -0.2328491658, 0.7358393073, 0.3430199623, -0.1874840558, -0.1595205814, -0.5461289883, 0.919849515, -0.6122922301, 0.3722399771, 0.04602075, 0.3228247166, -0.1771299243, -0.3076791763, -0.3468855023, 0.0190076008, 0.0281408932, -0.0345617533, 0.4335041046, -0.0993138626, -0.0280366261, 0.2482269853, -0.5071079731, 0.5840640664, -0.1580429524, -0.160050258, 0.6321511269, 0.3328739107, -0.0331060216, 0.0433642939, -0.6862460971, -0.2131182402, -0.8125427961, 0.3659650087, 0.554504931, 0.5908746719, -0.1642780602, 0.5675034523, 0.0731724352, 0.9263105989, 0.4000098109, -0.5232464671, 0.1082472503, -0.1527854949, 0.0560319833, 0.2969830036, 0.6820541024, 0.3456875384, 0.4493523836, -0.0285693333, -0.3430368602, 0.0907851085, 0.2729189992, -0.5473207831, -0.09400592, 0.0083199469, -0.2542356849, -0.550000608, 0.0478053279, -0.5932258964, -0.3977009952, -0.6840214729, 0.5162124634, -0.177284807, -0.2060400397, 0.0652106181, 0.5118284822, 0.4806266129, 0.4404169619, -1.138255477, 0.2316193879, 1.1727737188, 0.5561861396, -0.5483930111, -0.4709096253, -0.4636718333, 0.3363271952, -0.3012906611, 0.456097424, -0.6006023288, -0.0449790023, 0.2170908153, 0.1048824117, 0.032744851, -0.4779567719, 0.3503282368, -0.2980154753, 0.393224895, -0.055461783, -0.780580759, -0.1185196638, 0.4796124697, -0.4090670645, 1.0694503784, -0.064722769, -0.5300299525, 0.0211343151, -0.26659289, -0.2070009857, -0.0008396693, -0.3943797946, -0.3828927279, -0.1114307716, 0.1338030845, 0.4936894178, -0.1680377871, 0.8858633041, -0.1061451808, -0.5855020881, 0.4217906892, -0.4167692065, 0.5883911848, 0.0159388855, -0.5001246929, 0.3769446015, -0.3532914519, 0.0350962989, 0.2610129118, -0.5569173098, -0.1457898617, 0.0263641104, -0.0798015743, 0.1647787243, 0.4160488248, -0.3786084354, 0.3811407387, -0.4794690609, 0.4787222743, 0.9915118217, -0.3350451589, 0.4765501022, -0.4399363399, 0.5739503503, -0.3272936642, 0.1215983182, -0.1129745543, -0.0554072075, -0.2848863602, -0.0805091485, 0.4837993681, 0.4483242929, -0.3148756027, 0.3136657476, -0.2800953686, -0.3237227499, -0.7513744235, 0.356379658, 0.5227513909, 0.5581271648, 0.0614275038, -0.1617906094, -0.3951523304, -0.856842339, -0.3591881096, 0.0275395866, 0.1140189692, -0.0037716532, 0.2072209567, 0.0448266417, 0.7521167397, -0.3494917154, -0.1388055533, -0.0421630256, -0.165144369, 0.2598093748, 0.5893260837, 0.0082399491, -0.6553333402, -0.4705794752, -0.0151497833, -0.6762915254, -0.1681688279, -0.0035229372, -0.0681802258, 0.2535320222, 0.4263710976, -0.3969991505, -0.1136087775, 0.5516467094, -0.1549079567, 0.4019600749, 0.1022705734, 0.0104288086, -0.7640837431, -0.0612555034, -0.0718851164, -0.3696361184, -0.268779248, 0.1962393373, 0.2260757238, 0.0329645909, -0.4910231531, 0.5567183495, -0.3460398316, -0.0624268875, -0.3248612285, 0.4043067992, -0.0546905659, 0.7095823288, 0.2155944258, 0.4818506539, 0.2295259535, -0.2052718997, 0.5055857301, 0.097918354, -0.3750011325, 0.8707080483, -0.4279792309, 0.043807622, -0.0086185895, 0.260833025, -0.8791735768, -0.1984743923, 0.2711748481, -0.2611186504, 0.544842124, -0.0372796655, -0.2843146622, -0.0718792528, -0.3074423075, 0.465488553, 0.379557848, -0.7013049722, 0.3841505945, 0.4266501665, -0.2040431648, -0.7657214403, -0.4083867967, -0.1661484987, -0.4110146165, -0.3830287755, 0.4881725609, 0.0117502678, -0.26525563, -0.0331368148, -0.2345390022, 0.2114361227, 0.1917050034, 0.2726567686, 0.6271239519, -0.2132851481, 0.2092911005, -0.2124282718, -0.1253384352, 0.0332760885, -0.2387495935, 0.4836788177, -0.0311646778, -0.530297935, -0.4496763349, 0.2401226759, 0.316390872, -0.3009248078, 0.6336326003, 0.4123061001, -0.3115507364, -0.0308202673, -0.5390983224, -0.2999132574, -0.4602859616, 0.3140605688, -0.0745058805, -1.0769484043, 0.2033221424, -0.1180330291, 0.1553017646, 0.1204807088, 0.6552491784, -0.2782201469, 1.0224963427, 0.5798946619, 0.1555054188, 0.5087841749, 0.0425613113, 0.2792043984, -0.8741469979, -0.649983108, -0.2183680087, -0.5452204943, -0.4260888696, -0.194115445, 0.0238438267, 0.3381862044, -0.629072845, 0.1208584309, -0.656270802, 0.4426534474, 0.259021908, 0.0693980604, 0.1396214664, -0.0753398985, -0.1472086608, -0.2010905296, -0.7081975937, -0.6165946722, 1.0361289978, 0.4423303902, 0.9261505604, 0.2438372821, 0.8782138228, -0.0231266394, 0.4344570339, -0.7916553617, 0.4340053201, 0.1363596022, -0.3224311471, -0.5680339932, -0.1486685574, -0.9146752954, 0.1852982491, -0.2192048132, -0.7575644255, -0.1405703723, -0.0501628108, -0.3573385179, 0.1488590389, -0.604659915, 0.9777002335, -0.5968091488, -0.9826815724, -0.0305949021, -0.6356033087, 0.1871473938, -0.1470994502, 0.4950989783, -0.038648203, -0.0094788149, 0.8997867107, -0.4425238073, 1.0214104652, -0.142768085, -0.5177007318, 0.2083474547, 0.0965830237, 0.7358961701, -0.3326514363, 0.170455724, -0.1730774641, 0.0866437331, -0.3979548812, -0.4728554487, 1.1241976023, -0.6821779609, -0.9025285244, -0.4466661811, -0.8480373621, -0.2977986634, 0.0569336899, -0.2657499313, 0.1840269566, -0.0471964218, 0.0362035967, 0.7303499579, -0.0814757273, 0.3576024473, 0.5678806305, -0.408354789, -0.2346117496, 0.9981694221, 0.1101981103, 0.3761105239, 0.6468916535, 0.2385898381, -0.5602993369, -0.2635279894, -0.3717890382, 0.3143847287, -0.6890286803, -0.2553140819, -0.1835010499, 0.0094824657, -0.3545157611, -0.497049123, -0.3030789495, -0.2853203416, -0.1235810146, -0.1994089037, 0.0434207916, 0.847474277, 0.0519430004, 0.2842533588, -0.5890968442, -0.1505387723, 0.3529086709, 0.3899218738, 0.061895486, -0.4756680429, -0.2698838115, 0.0649464652, -0.5095989704, -0.8254793286, 0.2101251781, -0.1047485918, 0.5900429487, 0.2191500515, -0.1189988479, 0.6653268337, -0.3914677799, 0.6658201814, 0.3535854816, -0.8422622085, 0.367608279, -0.4426870942, 0.2421348691, 0.3369499743, 0.2975727618, -0.5053064823, -0.0129968217, -0.4070558548, -0.8159239888, 0.6567835212, -0.4122005105, -0.0359063596, 0.2150573283, 0.4139216244, 0.290866971, 0.257014066, -0.7873413563, -0.0500990227, -0.0551345348, -0.6321699619, -0.1182047352, -0.1450686604, -0.3599236608, -0.1545006484, 0.7219470739, -0.2464511096, -0.1031552628, -0.216104269, -0.1576504558, -0.3410952091, 0.3826268315, 0.4972462952, 0.7781521082, -0.0413434133, 0.133195132, -0.2077702284, -0.0847360566, 0.4175231159, -0.0516026728, -0.0260121319, -0.5274561048, 0.422300756, 0.562804997, 0.6929734945, -0.8881115317, 0.6147522926, 0.2789513469, -0.1343139261, -0.2073928714, 0.1144450232, 0.4024054408, 0.4937125742, 0.2592028379, -0.5455728769, -0.3113259673, -0.5733149648, 0.0383374803, 0.5337246656, -0.451359421, -0.0544974208, 0.5402677059, 0.1233845353, -0.714538455, 0.5562215447, 0.2982280254, -0.4197931588, 0.5692015886, 0.7570230961, 0.5134833455, -0.2476905882, 0.2629199326, 0.3101892173, 0.0670388788, -0.3480772674, 0.0483112969, -0.1991458535, -0.6321036816, -0.7806084752, -0.704354167, -0.4339068234, 0.0080815898, -0.8343205452, 0.3232170641, -0.337733835, 0.1497891843, -0.0920839831, -0.0623746887, -0.2703980505, -0.0018673859, 0.2392225415, 0.481639266, -0.7908123732, 0.9021039009, 0.7974776626, -0.1693272442, -1.1543573141, -0.0848733187, 0.21980533, -0.8745521307, 0.7184897661, 0.0865558535, 0.1055950895, 0.062505655, -0.4774831831, -0.9510739446, 1.1230925322, 0.5522609353, -0.9994465709, -0.141729489, 0.0397981517, 0.3845016658, -0.4243565202, -0.0985951573, 0.439751327, 0.562802732, -0.0595932119, -0.9459967017, 0.0211599302, 0.0442695245, -0.174431473, 0.5992149711, -0.5996755362, 0.6176227927, -0.2135832608, -0.0541736409, -0.0627788231, 0.3753299713, 0.432420224, 0.1076798961, 0.2315621823, 0.7180867195, 0.646071732, -0.330747962, 0.7494609952, -0.0890202969, 0.4921098351, 1.1588916779, -0.2886669338, 0.7785888314, 1.0259606838, -0.3371664286, 0.4814123213, 0.78118819, 0.0404102169, 0.5174474716, 0.4621030688, 0.0610928722, -0.4166658521, -0.252332449, -0.3157036304, 0.3433744311, 0.2000613511, -0.083304517, -0.2515827417, 0.0422128476, -0.2277463675, 0.6637197733, -0.5769943595, 0.6633783579, -0.06940265, -0.9466249347, 0.6245877147, -0.0237059109, 0.8282524943, -0.5197870731, -0.1578826159, -0.0065482892, 0.3170251548, -0.47730425, -1.0254174471, 0.1050495803, -0.1690826714, -0.1418835521, -0.4572059214, 0.2834785879, -0.820548594, -0.2347538769, 0.1889558285, 0.3057103753, -0.0778672993, 0.4513211846, -0.636402607, 0.3062828481, 0.032953158, -0.0531448647, 0.7527658939, 0.2244871706, -0.2079407424, 0.5770149231, 0.4568384588, -0.0251470469, -0.1348348111, -0.0272949021, 0.4777225554, -0.532333374, -0.4703199565, -0.8674097061, 0.3954517245, 0.2929890752, -0.172173366, 0.6260936856, 0.4158866405, 1.1891442537, 0.0702051818, 0.3830031455, 0.254455179, 0.5297847986, -0.5788301826, 0.1495337635, -0.3042574823, 0.4822360873, -0.2030838132, -0.9097962379, -0.1767490655, 0.6954711676, -0.4861256778, -0.0398227572, 0.4334972501, 0.5788635612, 0.1779658943, -0.0582963452, 0.1811127216, -0.018065257, 0.0766800046, 0.7072585225, 1.0934054852, -0.154764697, 0.2853177786, -0.3828802407, -0.1240293384, -0.2842852473, -0.8780658841, -0.6571757197, -0.48597157, -0.423204571, -0.207437858, 0.2990406156, 1.1834224463, 0.3367009759, -0.597951591, -0.4822425544, -0.0590487681, 0.2932320237, -0.4435527325, -0.2845727205, 0.5242573023, -0.2187610418, -0.7266970873, 0.2507162392, 0.2469248176, -0.0427309796, -0.5123390555, -0.3802421987, -0.3958439827, -0.1438509375, 0.2217949927, 0.2326266468, -0.9377881289, -0.3907716572, 0.1066737249, -0.2996844053, 0.0181985609, 0.7623315454, -0.8044643402, 0.1912629604, 0.2882336974, 0.9540676475, 0.2937059104, 0.0866162479, 0.4605398476, -0.4907003641, -0.0126707172, 0.2166358083, 0.2326633185, 0.4454922378, -0.388753891, 0.4089746773, 0.0048692264, -0.6251494288, -1.0380256176, 0.1881844252, -0.7207260728, -0.3521421552, 0.8692427278, -0.1455233991, -0.2035615444, 0.2936827242, -0.2061865926, 0.2687047124, -0.1902360022, 0.945499897, 0.8821878433, -0.1875087917, -0.1839062572, -0.1949947625, 0.2412206978, 0.7513518333, -0.5729376674, 0.1556527317, 0.430498898, 0.4006560147, -0.0381153114, 0.2828983366, -0.3067672849, 0.1841287166, -0.5434826612, 0.0700945407, -0.2335653007, -0.2942924201, -0.6749610901, 0.3814628422, 0.2148960978, -0.0648706555 ]
http://arxiv.org/abs/2402.04978v2
http://arxiv.org/pdf/2402.04978v2
An Enhanced Prompt-Based LLM Reasoning Scheme via Knowledge Graph-Integrated Collaboration
2024-02-07T15:56:17
2024-06-12T16:03:31
Yihao Li, Ru Zhang, Jianyi Liu
cs.CL
cs.CL, cs.AI
While Large Language Models (LLMs) demonstrate exceptional performance in a multitude of Natural Language Processing (NLP) tasks, they encounter challenges in practical applications, including issues with hallucinations, inadequate knowledge updating, and limited transparency in the reasoning process. To overcome these limitations, this study innovatively proposes a collaborative training-free reasoning scheme involving tight cooperation between Knowledge Graph (KG) and LLMs. This scheme first involves using LLMs to iteratively explore KG, selectively retrieving a task-relevant knowledge subgraph to support reasoning. The LLMs are then guided to further combine inherent implicit knowledge to reason on the subgraph while explicitly elucidating the reasoning process. Through such a cooperative approach, our scheme achieves more reliable knowledge-based reasoning and facilitates the tracing of the reasoning results. Experimental results show that our scheme significantly progressed across multiple datasets, notably achieving over a 10% improvement on the QALD10 dataset compared to the best baseline and the fine-tuned state-of-the-art (SOTA) work. Building on this success, this study hopes to offer a valuable reference for future research in the fusion of KG and LLMs, thereby enhancing LLMs' proficiency in solving complex issues.
[ -0.355551213, -0.6244153976, 0.9024273753, 0.225537017, -0.2148750275, 0.390779227, -0.3424211442, -0.3813850582, 0.2187857628, 0.5015021563, -0.7470883131, -0.7185790539, -0.5394199491, 0.3581413031, 0.0918967277, 0.4001255929, -0.2224084288, 0.0955098942, -0.6351987123, -0.2629841566, -0.652761817, -0.3941274285, -0.6560515761, -0.6198543906, 0.6538626552, 0.5864586234, 0.5923349857, 0.2458698601, 0.3480584919, 0.2832820714, -0.1951429695, 0.8980934024, -0.3168890178, 0.5518064499, -0.3329246044, -0.4315710366, -0.4335213006, -0.0976996571, 0.2883654833, 0.8479804993, -0.0299808085, -0.2071584314, 0.307356894, 0.6860963106, -0.3840690255, 0.3755550385, -0.600746274, -0.0769855529, 0.0666980222, -0.2250837535, -0.5355190635, -0.3799524903, -0.0326086842, -0.8975708485, -0.1900618672, 0.3890296817, 0.4114862978, 0.3915831745, -0.1417269856, -0.3933010995, -0.2307831049, 0.6243545413, -0.4905288219, 0.3626036644, 0.2612330317, 0.4232777655, -0.5181016922, -0.7551201582, -0.7177183628, -0.2477955818, -0.1747480631, 0.1303816736, -0.0645428076, 0.2227723449, 0.3157099187, 0.1218362153, -0.5460160971, 0.1550127566, 0.1651962996, -0.4288637042, 0.50454849, 0.2176803946, 0.2532446384, -0.1276063472, -0.3736193478, 0.1779495478, -0.5257588625, -0.0625555366, 0.0074882065, 0.4701558053, -0.149707213, 0.6989036202, -0.5226665139, 0.631129384, -0.1695979834, -0.0608557239, 0.1107704416, -0.3861114085, -0.205147177, 0.0782094896, 0.8954648376, 0.4441125095, 0.2986212373, -0.4359581172, -0.0214733835, 0.1942053586, -0.3968864083, -0.3689348996, -0.1477352828, 0.2727456093, -0.0283340421, 0.0184797533, -0.369432658, -0.3355276585, -0.5174083114, -0.4650548995, 0.3657590151, -0.5894570947, -0.1154158339, 0.2621979415, -0.188397184, 0.0282281563, 0.6938564181, -0.6476820707, 0.1371001899, 0.817065835, 0.7046452761, -0.1436329186, -0.2321799994, -0.6603025794, 0.4549878836, -0.1370544136, 0.9632314444, -0.4696327448, -0.1939107478, -0.2468193024, -0.2228354663, -0.1367655247, -0.5791644454, 0.465058744, -0.6238273978, 0.2037236392, -0.4402937889, -0.7622510195, -0.1145786867, 0.7448154092, -0.4958079755, 0.9981188178, 0.0836734623, -0.9075447917, 0.2060291022, -0.513541162, -0.0645525604, 0.4820776582, -0.5088785887, -0.026061736, -0.6278607249, 0.5312253833, 0.4339430034, -0.4284048676, 0.5195124149, -0.5074594617, -0.3277846575, 0.0387192033, -0.0777400434, 0.9136951566, -0.0187199879, -0.1487282813, 0.336809665, -0.6029667854, 0.1994896233, 0.1436570138, -0.1647206396, -0.2633089721, -0.5368496776, -0.6992800832, -0.003488214, 0.4982859194, -0.3574832082, 0.5020891428, -0.2277246565, 0.146963492, 0.6525622606, 0.1486820877, 0.5181697607, -0.3519350588, 0.3830689192, -0.2303165644, 0.2227450162, -0.0721850917, -0.6854897738, -0.7204824686, -0.3598205745, 0.0822203159, 0.6065769792, -1.1845448017, 0.5046115518, -0.065144524, -0.1304322034, -0.3450537026, 0.1645744294, 0.3243243098, 0.8102728128, 0.536750555, -0.0242139194, -0.5755963326, -0.6327174902, -0.1880302578, -0.1644937992, -0.0648553073, 0.4377360642, 0.2534829378, -0.185586378, 1.1266798973, -0.3747343719, -0.246278584, -0.6576952934, 0.0633223876, 0.2637853324, 0.367919594, 0.1273177564, -0.3919640481, -0.6024461985, -0.1750251055, -1.0697091818, -0.3592272997, 0.0987720639, -0.5495666862, -0.0044679637, 0.5504155159, -0.6730427146, 0.0195618588, 0.437087059, -0.4248762727, 0.5469241738, -0.1901946962, 0.0411896147, -1.0541753769, -0.2111553848, -0.2988980412, -0.2875335515, -0.2025722563, 0.0306725334, -0.2320771962, 0.0549488179, -0.0665464029, 0.5604490042, -0.3151698411, -0.007497034, -0.1097211838, 0.5857514739, 0.1650648117, 0.574408114, -0.0148554137, 0.7386805415, 0.6499944329, -0.4939345419, 0.6981276274, 0.4384776056, -0.1088625491, 0.6184671521, -0.347063303, 0.3709828556, -0.0297986716, 0.435541898, -0.8691428304, -0.2456616759, 0.5969979167, -0.5286561251, 0.0973989218, 0.0342457369, -0.8552531004, -0.3247789741, -0.0689201728, 0.0626435354, 0.2312555164, -0.6843013167, 0.7825389504, 0.0936365873, -0.0857857615, -0.5825096369, -0.3617762923, 0.2407423705, 0.0425249673, -1.1183072329, 0.3842312098, -0.048114486, -0.4164663255, 0.1563518792, 0.0211629309, 0.038061101, 0.0562853999, 0.0753318369, 0.181705147, 0.0743121207, 0.2189368457, 0.2117621899, -0.4381334186, -0.0650815219, -0.3343818486, 0.567006886, -0.0892177448, -0.5115559697, -0.4581908584, 0.3662540615, 0.2907452285, -0.0900122747, 0.8635100722, 0.3917833865, -0.2588112354, -0.390494585, -0.5268075466, -0.3394526243, -0.4788020849, -0.1150464341, -0.2445867658, -1.244510293, 0.471944809, -0.6312841773, -0.1984022558, 0.101118885, 0.4007819891, -0.1889666766, 0.7948601842, 0.4740864038, 0.0949074849, 0.080596596, -0.2092039734, 0.0937124044, -0.8519058228, -0.7595258951, -0.3708377182, -0.1119235158, -0.0208700132, -0.5957103372, 0.5996631384, 0.4722608328, -0.2015007585, 0.0025879636, -0.4482328296, 0.5245879889, 0.6404371262, 0.2962058187, 0.6387968063, -0.1007018536, -0.8158342242, 0.00221389, -0.9043377042, -0.4103629291, 0.6436218619, -0.0674593747, 0.4430832863, -0.009420095, 0.8070206642, 0.2300802916, 0.1953222156, -0.677949667, 0.9891600013, 0.2156678736, -0.0343361497, -0.4636646211, -0.5124559402, -0.7418559194, 0.2125341892, -0.2891193926, -0.7578226924, -0.3886372447, 0.1188503504, -0.1775398105, 0.206909582, -0.5707356334, 0.5779210329, -0.0940870866, -0.5094531775, -0.3152469993, -0.7083738446, 0.3206433058, 0.2503421009, 0.2853286862, -0.324511826, 0.1619835049, 0.6131078601, -0.5481695533, 0.7946482301, -0.3388261795, -0.0903344974, 0.4688337147, 0.1217164844, 0.8745779991, 0.0836064368, -0.1267358363, -0.0288624316, -0.5882976651, -0.2460430413, -0.8908718824, 0.5115129948, -0.4801571667, -0.75247401, -0.0789434537, -1.0211488008, -0.6350661516, 0.2224779874, -0.0121979062, 0.2430053502, 0.3174255192, 0.1574887931, 0.6408772469, -0.1174963638, 0.256033808, 0.4626893699, -0.2501120567, -0.6247828603, 0.5092863441, -0.0100085493, 0.2268572152, 0.4100969732, 0.3808733821, -0.4271740019, -0.5831301212, -0.4942498207, 0.3580762446, -0.9669906497, -0.186554268, -0.7268562913, -0.0584852286, -0.4337254763, -0.2578831315, -0.0574456677, -0.4013335407, -0.0600408241, -0.0222726557, 0.6159133315, 0.3418990374, 0.022594586, 0.0894993916, -0.932834506, 0.2064577341, 0.5069482327, 0.257203728, 0.0538156852, -0.3702568412, -0.099475719, -0.2355142683, -0.0505290627, -0.7251397371, 0.0909752399, -0.318906337, 0.905628264, -0.0167573895, 0.3874279857, 0.4570357203, -0.0913653001, 0.7424375415, 0.2623792887, -0.9119026661, 0.483032912, -0.5184053779, 0.2357666939, 0.6205298901, 0.3243330419, -0.4793335795, -0.5460320711, -0.4906311035, -0.797008872, 0.5303558707, 0.3056985736, -0.3795422018, 0.1674550325, 0.3817304969, 0.0400428697, 0.1086083055, -0.5843248963, -0.1602727622, 0.209580496, -0.38048926, 0.4788327813, -0.0045739375, -0.3328400254, -0.3791850507, 0.7096986175, -0.5049413443, 0.0088553149, 0.162380144, -0.0423047356, 0.0637697577, 0.2698861659, 0.1562975198, 0.3382969201, 0.0567242056, 0.2388898432, 0.4187638164, -0.0521175861, 0.0559327789, 0.1045012325, -0.0475874543, -0.1583282799, 0.5574160218, 0.6444454789, 0.08872623, -0.7079803348, 0.6027835608, -0.1531770974, -0.3223064244, 0.0300230142, 0.207055375, 0.579180479, 0.8034616709, 0.2379276901, -0.0432589091, -0.1521023661, -0.1044929847, 0.1940766126, 0.5548678637, -0.2031487525, 0.0761905611, 0.4648137093, 0.2932563126, -0.2606575787, 0.6278787255, -0.6404600739, -0.5302022696, 0.5216983557, 0.5328819156, 0.59963727, 0.1021888852, 0.3128165305, 0.2786478996, 0.1481907219, -0.2041439712, 0.3784816563, -0.4145896435, -1.0007025003, -0.6557155252, -0.240637064, -0.8838062882, -0.0198985711, -0.3091565669, 0.2772223651, -0.354718864, 0.2415767461, -0.5043809414, -0.0235637277, -0.2465740889, -0.0033218551, 0.2602628469, 0.9813094139, -0.6516718268, 0.7906038165, 0.5146542192, -0.2743917108, -1.226575613, -0.0693390444, -0.1763214916, -0.9915921092, 0.6045428514, 0.4099203348, -0.3125921488, 0.1429933161, -0.7385401726, -0.648244381, 1.4715852737, 0.6885142326, -0.7654246688, -0.0524472743, 0.1158204228, 0.3035592437, -0.262660861, 0.0879573077, 0.3382776976, 0.4532516003, 0.6473167539, -0.8709760904, 0.3562392592, 0.0064699748, -0.4437330663, -0.0095356526, -0.7878310084, 0.6373927593, -0.4167810977, -0.1640294641, -0.0844481736, 0.6678711772, 0.8870500922, 0.5917547941, 0.6423275471, 0.6902994514, 1.364548564, 0.1029160395, 0.72172755, -0.4362772703, 0.1824946404, 1.1389001608, -0.4971893132, 0.4180882573, 0.4835713804, -0.0574787185, 0.7187541127, 0.3307044208, 0.1968148351, 0.4153115451, 0.0674711764, -0.6699448824, -0.7042691708, -0.5927000642, -0.317689687, 0.0780751407, 0.4122422636, -0.19464688, -0.4950094223, -0.0201717503, 0.0791533962, 0.2403989881, -0.3886427283, 0.7354994416, 0.2887038887, -0.716689527, 0.3774403334, -0.2088900208, 0.6255495548, -0.5977021456, -0.1434422284, -0.1737706661, -0.1036493555, -0.272665143, -0.8966434598, 0.1212639809, -0.0418074206, 0.0319071077, -0.389169842, 1.0033890009, -0.4017479718, 0.026496511, 0.5557554364, 0.8940293789, 0.0007646332, -0.0804799944, -0.5270545483, -0.0016822425, -0.0432264134, 0.0398681611, 0.2896246314, 0.7012013197, -0.0364887714, 0.8231121302, 0.6114971042, -0.0226423983, -0.2363744974, 0.4801955521, 1.1650207043, -0.4836550057, -0.5867131352, -0.8631765246, 0.3128071129, -0.2534530759, 0.2103709579, 0.711389482, 0.3909361362, 0.6413431168, 0.2871244848, 0.9078091383, 0.2058836967, 0.5648809671, -0.8047727942, 0.4525653124, -0.1358078718, 0.4107294083, -0.0298813041, -0.6534766555, -0.5355668068, 0.5543932319, -0.2328768075, -0.2278442979, 0.7719424963, 0.7145149708, 0.3228599429, 0.1893222928, 0.1617533118, 0.0153799821, 0.3622117639, 0.7464036942, 0.9675343037, 0.1927648783, 0.7079019547, -0.1983290613, -0.2797587812, 0.0152882887, -1.0738284588, -0.927486062, -0.1830073148, -0.2002495825, -0.4502708018, 0.0650257915, 1.2100986242, 0.2873300016, -0.3866089582, 0.2145169079, -0.5405011177, 0.3858319521, -0.1309773624, -0.2325177938, 0.2766960859, -0.4851862192, -0.4377730787, 0.6372689009, 0.4389964342, -0.0630309135, -0.2816895843, -0.4028602242, -0.0043601128, -0.074374713, 0.4727435112, -0.0773207545, -0.5400747061, -0.2995735407, 0.1356590986, -0.1118415967, 0.0360015258, 0.7883697748, -1.0667165518, 0.4813963175, 0.6247742772, 0.739251256, 0.302323848, -0.1287551671, 0.41419366, -0.8442065716, 0.094351463, 0.3057474792, 0.4007883966, 0.4868901968, -0.4988667667, 0.4617104232, 0.6654240489, -0.481417805, -0.7245990634, 0.3364513218, -1.1004831791, -0.2384764403, 1.2402384281, -0.3225548565, -0.027275227, -0.3900254965, -0.3657708168, 0.5659305453, -0.5457569361, 0.605948627, 0.7400205135, -0.634881258, -0.241517812, 0.0107202241, 0.2557578981, 0.3880506754, -1.0059964657, 0.1298890263, 0.4191649854, 0.0283679571, 0.107511282, 0.9346652627, 0.1385833621, -0.0685173944, 0.0669228658, -0.1448391378, -0.5603351593, -0.4106015861, -0.0051792846, 0.4496680498, 0.1662588567, 0.025468098 ]
http://arxiv.org/abs/2402.04967v1
http://arxiv.org/pdf/2402.04967v1
Text or Image? What is More Important in Cross-Domain Generalization Capabilities of Hate Meme Detection Models?
2024-02-07T15:44:55
2024-02-07T15:44:55
Piush Aggarwal, Jawar Mehrabanian, Weigang Huang, Özge Alacam, Torsten Zesch
cs.CL
cs.CL, cs.AI, cs.CV
This paper delves into the formidable challenge of cross-domain generalization in multimodal hate meme detection, presenting compelling findings. We provide enough pieces of evidence supporting the hypothesis that only the textual component of hateful memes enables the existing multimodal classifier to generalize across different domains, while the image component proves highly sensitive to a specific training dataset. The evidence includes demonstrations showing that hate-text classifiers perform similarly to hate-meme classifiers in a zero-shot setting. Simultaneously, the introduction of captions generated from images of memes to the hate-meme classifier worsens performance by an average F1 of 0.02. Through blackbox explanations, we identify a substantial contribution of the text modality (average of 83%), which diminishes with the introduction of meme's image captions (52%). Additionally, our evaluation on a newly created confounder dataset reveals higher performance on text confounders as compared to image confounders with an average $\Delta$F1 of 0.18.
[ -0.6548507214, -0.6895422935, 0.2998510301, -0.1214290559, -0.357201308, 0.1112365574, -0.0929136202, -0.6625011563, 0.0442161709, 0.178739965, -0.6325349808, -0.258626163, -1.118937254, 0.1583127826, -0.3838523328, 1.0436724424, 0.155154556, -0.1929965317, -0.2375679016, -0.3389706612, -0.3832196593, -0.6756900549, -0.6793682575, -0.2035184652, 0.9549264312, 0.2335596532, 0.8267524242, 0.2730051279, 0.4519785941, 0.2209162563, 0.5215842128, -0.1063355953, -0.3368834257, 0.1910378039, -0.2703108191, -0.4776492715, -0.1347881109, 0.2475645691, 0.0935694873, 0.0817641988, 0.4551794231, -0.1318716854, -0.2343166918, 0.417963326, -0.7076762915, -0.2682061493, -0.9776646495, 0.1659956872, -0.2184000164, -0.3849979043, -0.4988063276, 0.1156641915, 0.3306159675, -0.5324403048, 0.6145855784, 0.2185560763, 0.7787135243, 0.1162913218, -0.728587985, -0.5262235403, -0.7635958791, 1.2662256956, -0.2678076327, 0.4780453444, 0.0070741158, 0.2413202822, 0.2182252109, -0.3371865749, -0.848231554, 0.1243769601, 0.0275262669, -0.0198699292, -0.7629538178, -0.0818211734, 0.2420786917, 0.5020760894, -0.8235551715, 0.1690611392, -0.385859549, -0.4163100719, 0.46043998, -0.0232778415, 0.6922248006, -0.0348288193, -0.5870267749, -0.2049496621, -0.5952433944, -0.1660961509, 0.4348472953, 0.0001312155, -0.0702396408, 0.584161818, 0.1633030623, 0.5165078044, 0.0238172095, -0.0785780996, 0.2005927563, -0.2160362899, -0.1430381984, -0.2803898156, 0.8479160666, 0.7816208005, 0.6407133341, -0.2431027442, -0.0158851054, 0.6655169129, 0.480892837, -0.9732450247, -0.1178651005, -0.0566964522, -0.5171322227, -0.2930392027, -0.4374518991, -0.8860478401, -0.4283524454, -0.1320726573, 0.2229859084, -0.4249498248, -0.1382704377, -0.1961545795, -0.5948119164, 0.0855992734, 0.4851141274, -0.8500512838, 0.1581100225, 0.280080229, 0.5388804674, -0.3837139904, -0.1653522998, -0.3131350279, 0.0231711213, -0.2110971212, 1.0730175972, -0.9079232812, -0.0401976556, -0.0541890822, 0.1181173548, -0.3050467074, -0.6213246584, 0.4647637904, -0.5502032042, 0.2566235065, 0.050793726, -0.4742851257, -0.3250187337, 0.2906041741, -0.6018239856, 0.3782570958, 0.1470019817, -0.7590728402, 0.7101178765, -0.5595453382, -0.4074738324, -0.1775435209, -0.2064740658, -0.7331191301, 0.1405751556, -0.0692091137, 0.705013752, -0.2055376768, -0.0261947773, -0.6676570177, -0.0938821211, 0.3884893954, -0.4446389675, 0.3691308498, 0.2332736403, -0.6245028973, -0.2713324726, -0.6619529128, -0.3574899137, 0.4043417871, -0.1244317219, -1.0488170385, -0.0402358621, 0.1805419326, 0.3725527525, -0.182781443, -0.8249159455, -0.1270986199, 0.2199635059, 0.0799551085, 0.7570832968, -0.2003206462, 0.4472992718, -0.4561104476, 0.5719610453, 0.3895438015, 0.1710898876, -0.0874036625, -0.7337102294, -0.2951582074, -0.3495342433, 0.0222306885, 0.400760293, -0.8260324597, -0.2185165584, 0.0974304825, -0.239500314, -0.1296354681, 0.0867347866, 0.56524086, 0.2686208189, 0.5791635513, -0.2436228245, -0.6468562484, -1.2602069378, -0.5026769638, 0.0690148547, 0.0581644922, 0.4316910803, 0.6820489764, -0.5171416998, 0.4095681012, -0.4498548508, -0.393966049, 0.0922235101, 0.2575129867, -0.2721118331, 0.3977257311, 1.1654862165, -1.2401416302, -0.6141574383, -0.1652959138, -0.7137108445, -0.1332289428, -0.0973773077, 0.149474293, 0.2676778436, 0.3135359585, -0.180776462, 0.5174159408, 0.7906486988, -0.5541654825, 0.5619547963, 0.4027724266, 0.7364042997, -0.804207027, -0.3056433201, 0.4470305443, -0.0932061076, -0.7663269639, -0.0971908346, 0.0430597253, 0.0317874625, -0.4544934928, 0.2827816904, -0.3300263584, 0.3607438207, -0.268260777, -0.0764318034, 0.0202656835, 0.4886321425, -0.1470172107, 0.7442724705, 0.3371182978, -0.5405574441, 0.3251613081, 0.1707695425, -0.126237303, 1.0248626471, -0.419975996, -0.0282533206, -0.2734464407, 0.1414095908, -1.219233036, 0.0698549822, 0.610719502, -0.5759907365, 0.3467957377, -0.1490381062, -0.2261191308, -0.2571771443, -0.4436509907, 0.8737207055, 0.2301021516, -0.4866444468, 0.5854999423, 0.2857055962, 0.0965918228, -0.7493088245, -0.7782335281, 0.1589889228, -0.3195935488, -0.4990867972, 0.4838216305, -0.3507398963, -0.1955531538, 0.021911893, -0.1414490491, -0.3167580068, 0.0807782486, 0.4587439001, -0.068626754, -0.1682627946, 0.2870374322, 0.2135943621, -0.0616890676, 0.0465150401, -0.122737512, 0.3605393171, 0.1829822063, -0.1299604326, -0.2144121975, 0.5789298415, 0.6108884811, 0.2264331132, 0.6335046291, 0.4811341166, -0.3662509024, -0.4077470303, -0.5396909118, 0.1034351885, -0.4070437849, 0.2990592718, -0.4267310798, -1.0204524994, 0.3893735409, 0.2177897394, -0.0769070238, 0.6336515546, 0.3736938536, -0.0902851075, 0.8444601893, 0.6798674464, -0.066917628, 0.469124943, -0.113510564, 0.2789151371, -0.4635870457, -0.2741214037, -0.6407031417, -0.3769748509, -0.4340477884, -0.5048782229, 0.058935672, -0.5926867127, 0.1154543087, 0.3563939333, -0.6058465242, 0.33390522, 0.3275323808, 0.1483438015, 0.1867353618, 0.5252033472, 0.0560803227, -0.4815711081, -0.4681125283, -0.2942703366, 1.3899873495, 0.3575253189, 0.892784059, 0.2362617552, 0.1942991912, 0.8947175741, 0.4413808286, -0.6810488701, 0.3113965094, -0.6224014163, -0.8527322412, 0.0444324128, -0.2973907292, -0.9446120858, 0.3005276322, -0.361207664, -0.166842863, 0.0587244332, 0.3060728908, 0.2949877977, 0.646458149, -0.7910103202, 0.9925983548, -0.0380744934, -0.1774819195, -0.5921044946, -0.2689750791, 0.3132245541, -0.1969355792, 0.488571614, -0.1873919517, -0.1648003012, 0.8115280271, 0.0428083651, 1.026129365, -0.2899929881, -0.1173515618, 0.1302310079, 0.1611321419, -0.1381072849, -0.5937770605, 0.247883305, 0.2458813637, -0.2999117672, -0.6047683358, -0.592582047, 0.5898640752, -0.6484799385, -0.3680920005, -0.2863768339, -0.6305626631, -0.0448107161, -0.0145610962, 0.3100722432, 0.5874657631, -0.318929106, 0.152595669, 0.9040704966, -0.5802173018, 0.263684541, 0.3875570595, -0.005807518, -0.4116915762, 1.1224803925, 0.154165417, 0.4756790102, 0.5817103982, 0.0062116189, -0.1659122556, -0.5997860432, -0.6536474228, 0.1076037586, -0.7454249263, -0.232438311, -0.9743645191, 0.121495761, -0.2505550086, -0.2717373371, 0.0013269215, -0.4653327763, -0.2214637101, 0.249153167, 0.1762978733, 0.7247951031, 0.0860529542, 0.4370316863, -0.4514013231, 0.5159079432, 0.5628590584, 0.4286707342, 0.1216956601, -0.6916090846, -0.2497479916, 0.0312551372, -0.6639027596, -0.8908187151, 0.0971558616, 0.1038515046, 0.4447178543, 0.5709265471, -0.0680986047, 0.4326656163, -0.382888943, 0.6208129525, 0.4269353151, -0.674464047, 0.3225546479, -0.2606575489, -0.0137970271, 0.0972415656, 0.9688436985, -0.4780651927, -0.8859350681, -0.6290692687, -0.2107503563, 0.4077093303, 0.2430398166, 0.3653687239, -0.1008048877, 0.1266475022, 0.420136869, 0.2147307247, -1.0674904585, -0.7078793645, -0.3454695344, -0.1086378917, -0.0852852464, -0.6255787611, 0.0157230776, -0.1840509772, 0.7003652453, -0.1525244415, 0.4192464054, 0.148738116, -0.3902396262, -0.1571161151, 0.2787089348, 0.806168437, 0.4213263392, -0.042806346, 0.4520230889, -0.2019042969, -0.4330752492, 0.3473787606, -0.1223624274, -0.1429470628, 0.2519553602, 0.4078067541, 0.5914384127, 0.1180564463, -0.5005387068, 0.9095018506, -0.1579966545, -0.5571483374, -0.060616564, -0.1279015839, -0.3779169023, 0.2521391213, 0.6416861415, 0.4226241112, 0.3168988228, -0.4040078223, 0.4617827535, 0.732619226, -0.3870495558, -0.6118053794, 0.8346922994, 0.0803714916, 0.0968968272, -0.1717499793, 0.0046570865, -0.8614177108, 0.804466486, 0.6478719115, 0.737191081, -0.3073890507, 0.4909396172, 0.1953518689, 0.5297675133, 0.6741858721, -0.1065598279, -0.0055527659, -0.9501546025, -0.0373316519, -0.405605644, -0.4449188411, 0.3372246325, -0.0540091135, 0.1144272014, -0.5076568127, 0.0375009105, 0.7756809592, -0.2755304277, -0.5908812284, 0.6044248939, 0.4091085494, 0.6203901172, -1.0634393692, 0.2550151646, 0.8524625301, -0.3935446441, -0.1983894408, -0.0672182366, 0.1131914109, -0.8446685076, 0.5961999297, 0.2779448926, -0.0793642178, -0.3474045694, -0.909247458, -0.2763287425, 0.4472024441, 0.0922176391, -0.3139178157, 0.2965861261, 0.1981693953, 0.5435382724, -0.7409656644, 0.2420667261, 0.1392559856, 0.283198297, -0.1128899306, -0.4792637527, 0.2677412033, -0.2221702337, -0.073837541, 0.2640450001, -0.5234156847, 0.9690048099, -0.0373338647, -0.2249577641, -0.4417807758, 0.3274382949, -0.3678505123, 0.8132275939, 0.7305358052, 0.6024221778, 0.0708702356, 0.124597162, 0.9798415303, 0.2397838384, 0.1498335153, 0.689740181, 0.2412586957, 0.2390265316, 0.4584228098, -0.1986973286, 0.8074946404, 0.4147357345, -0.369594276, 0.4449205697, 0.128461048, -0.5408802629, -0.3117242455, -0.2329666317, -0.2715269923, 0.2155994326, 0.2499913424, -0.6729974747, -0.5028173923, 0.4234933853, 0.2433804125, 0.3821356595, -0.1748433262, 0.5812630057, -0.0614845455, -0.28867203, 0.7496017814, 0.0501392148, 1.0302923918, -0.4046467841, 0.0526555888, 0.1470469683, 0.2362472266, -0.3973895311, -0.5988957286, 0.5210608244, 0.0525627881, -0.8582747579, -0.1209039092, 0.8896727562, -0.4862085581, -0.0058900677, 0.6788883209, 0.3778908551, 0.2160955518, -0.4359279275, -0.8887981176, 0.12192031, 0.1641741991, 0.0063777482, 0.5705917478, 0.5338236094, -0.2016540319, 0.5461621881, 0.5805826783, -0.4628559649, 0.3650481701, 0.0707956851, 0.8711133599, -0.6133832335, 0.0884285718, -1.0057122707, 0.3157798648, -0.0571705811, -0.2147601247, 0.6250920892, 0.7144034505, 1.0340824127, -0.4585474432, 1.189260006, -0.3290611804, 0.57282722, -0.0826339871, 0.4538985491, -1.0336036682, -0.2270347476, -0.5642213821, -0.5221480727, -0.4950796664, 0.1823754311, -0.3594775498, -0.0402433835, 0.7921757698, 0.7437879443, -0.3260776103, -0.0310235359, 0.6906429529, 0.12554878, 0.48429057, 0.6219336987, 0.9252135158, -0.8530151844, 0.8583248854, -0.3898686469, -0.4401129782, -0.1168248728, -0.6614298224, -1.2113194466, -0.5951928496, -0.6481004357, -0.4409997463, -0.1291199327, 0.4928381443, 0.4085291326, -0.9975824952, 0.0703033507, 0.3568444252, 0.4744345844, 0.0978225246, -0.2727547884, -0.1762345731, -0.3608071506, -0.8023466468, -0.0540920235, 0.3844146729, 0.2720212936, 0.1808834523, -0.0433856845, -0.4547384679, 0.2060768157, 0.9050358534, 0.1673071384, -0.618590951, -0.5228483677, -0.1692255586, -0.2305470854, 0.1438884139, 0.957269907, -0.4359691441, 0.3871671557, 0.0457632169, 0.6970294118, 0.253310591, -0.0476727635, 0.3777257204, -0.6254899502, 0.1925161481, -0.0604531914, 0.1740042269, 0.3140315115, -0.2814120352, 0.4695776403, 0.948253572, -0.395825237, -0.651720643, 0.260340184, -0.8800862432, -0.4057176709, 0.8550128937, 0.0389333665, -0.2190494686, -0.362246573, -0.2081662267, -0.0119771566, -0.56585145, 0.6670008898, 0.7029043436, 0.2158478647, -0.2891893983, -0.3350616097, 0.3968902826, 0.5503246188, -0.5675785542, -0.1582253575, 0.8200249672, 0.5284787416, 0.3565815389, 0.4867624342, -0.0380110554, 0.5570254922, 0.0110712163, 0.4230948389, 0.1627119929, -0.3075815737, -0.1656243801, 0.3349698186, -0.4564849436, -0.3777921498 ]
http://arxiv.org/abs/2402.04957v2
http://arxiv.org/pdf/2402.04957v2
Reconfidencing LLMs from the Grouping Loss Perspective
2024-02-07T15:40:22
2024-06-18T20:31:56
Lihu Chen, Alexandre Perez-Lebel, Fabian M. Suchanek, Gaël Varoquaux
cs.CL
cs.CL
Large Language Models (LLMs), including ChatGPT and LLaMA, are susceptible to generating hallucinated answers in a confident tone. While efforts to elicit and calibrate confidence scores have proven useful, recent findings show that controlling uncertainty must go beyond calibration: predicted scores may deviate significantly from the actual posterior probabilities due to the impact of grouping loss. In this work, we construct a new evaluation dataset derived from a knowledge base to assess confidence scores given to answers of Mistral and LLaMA. Experiments show that they tend to be overconfident. Further, we show that they are more overconfident on some answers than others, \emph{eg} depending on the nationality of the person in the query. In uncertainty-quantification theory, this is grouping loss. To address this, we propose a solution to reconfidence LLMs, canceling not only calibration but also grouping loss. The LLMs, after the reconfidencing process, indicate improved confidence alignment with the accuracy of their responses.
[ -0.3129886091, -0.6469548345, 0.6232451797, 0.1786448658, -0.1801532507, 0.3929428756, -0.2615848482, -0.0722537115, 0.2234399766, 0.4341194034, -0.5115886927, -0.5755487084, -0.772670567, -0.0540677346, -0.59789747, 0.9727879167, -0.2262305617, -0.1399295926, -0.1528338343, -0.1300529093, -0.5199893117, -0.7120429873, -0.7036018968, -0.5247158408, 0.6432099938, 0.4308954775, 0.7533670664, 0.3572283685, 0.3543496728, 0.233761996, -0.0933272764, 0.1549430788, -0.9621271491, 0.1911738813, -0.1466764361, -1.0539749861, -0.1825450957, 0.1425630003, 0.5886850953, 0.8195273876, -0.9642378092, 0.0910385102, 0.0499626175, 0.6708914638, -0.6692205667, 0.0844606459, -0.9210287333, 0.0951702297, 0.1814427227, -0.4001681805, -0.5224804282, -0.7439482808, 0.1231105104, -0.5406184793, 0.2907317281, 0.1527065337, 0.6771383882, 0.6484286785, -0.3577060997, -0.2269591987, -0.7270622849, 0.8873873949, -0.5269579291, 0.1693434268, 0.5847558975, 0.1285221726, -0.4725674987, -0.3457227945, -0.3895718753, 0.0920908004, 0.070530206, 0.2889000177, -0.1365791112, -0.0507955924, -0.2589583993, 0.6295239329, -0.5535677671, 0.0895262584, -0.2179836929, -0.3561374843, 0.7800700665, 0.2588137686, -0.2968583107, 0.3050623238, -0.2619015872, -0.0731662512, -0.8373916745, -0.1792681068, 0.1502839476, 0.1172531098, 0.2642273903, 0.6738737226, -0.1036756933, 0.3357392251, 0.3934210539, -0.3488780856, 0.1142632738, 0.0879310369, -0.3351150155, 0.265651077, 0.5017426014, 0.8119162917, 0.5094462633, -0.1408694983, -0.1147882044, 0.0780485496, 0.1484034359, -0.5693415999, -0.1849221736, 0.3186136782, -0.4650529623, -0.2709681988, -0.0921944752, -0.4599958062, -0.6372355819, -0.1987602562, 0.5155248642, -0.2416669279, -0.2059729993, 0.3590913117, -0.1559527963, 0.4594741464, 0.6169319153, -0.6107674837, 0.4729213715, 0.6847921014, 0.7949358225, -0.3087496459, -0.1424655467, -0.179390505, -0.0010680207, -0.6723968983, 0.6007023454, -0.3036010563, -0.9319061041, -0.0725325048, -0.0378689319, -0.1451131552, -0.6554613113, 0.2178721577, -0.6477627754, 0.519639492, -0.3146761358, -0.8037996292, -0.5835440755, 0.5654057264, -0.4913876951, 0.9799604416, 0.1850296855, -0.6027036309, 0.2472235113, 0.2157192379, -0.149739787, -0.2465168536, -0.2595255971, -0.1478319317, 0.285001874, 0.1583982855, 0.4534952939, -0.3838748932, 0.0996553004, -0.218558386, -0.6014808416, 0.5216285586, -0.4652826488, 0.4037681222, -0.0185543038, -0.0740147308, -0.1609523892, -0.5586152077, 0.2803100348, -0.1221160889, -0.4471011162, -0.356893301, 0.0688795447, -0.4543122053, -0.0346873663, 0.1068933606, -0.4259821475, 0.2888734639, -0.1848133951, 0.2479269356, 1.0757625103, 0.3693646491, 0.3210754693, -0.6394845247, 0.6726692319, -0.1370736957, 0.1545169055, 0.2850165367, -0.6558977365, -0.9590432048, 0.0176754668, 0.0151496306, 0.751717031, -0.6682198644, 0.3433093131, -0.2658598125, -0.6905018687, -0.5838341117, -0.0390753932, 0.2544585764, 0.5473824739, 0.1751241237, -0.4772298038, -0.4638940096, -0.8048892021, -0.0541628376, -0.4722496867, -0.1680210084, 0.0599668398, 0.2816138864, -0.2801435292, 0.8086702228, -0.7022000551, -0.239817217, -0.0288439468, 0.1109556109, 0.2895134091, 0.3620917797, 0.0364716239, -0.7739067674, -0.1338312328, 0.00663696, -0.4201330543, 0.1147182584, -0.0865076706, 0.019740466, 0.3861801028, 0.4611393213, -0.6184925437, 0.5330596566, 0.7705410719, 0.022518158, 0.6519477963, 0.2470970005, 0.3958526552, -1.1250977516, -0.2732647061, -0.2068621814, -0.212973088, -0.2471728921, -0.2221110761, -0.380271405, 0.4580835998, -0.1433088779, 0.0652835965, -0.1998966634, 0.0266883429, -0.1183243617, 0.3131233454, 0.2266742289, 0.4794459343, 0.0263243094, 0.7538970709, 0.4174982607, -0.5708081722, 0.4366427958, 0.2058931142, -0.4418694973, 0.5569242239, -0.7167442441, 0.0452546589, -0.3870875239, 0.4507947266, -1.3610367775, -0.3360975683, 0.2888796628, -0.6967666745, 0.3011898696, -0.0412786193, -0.0633068755, -0.0714354292, -0.5137865543, 0.4949089289, 0.4404965043, -0.2925898433, 0.359292686, 0.3691105545, -0.1702896357, -0.9749361277, -1.1629787683, 0.0196876097, -0.5114750266, -0.4199075103, 0.4850862026, -0.1121022627, -0.4280989468, -0.0220632218, -0.2860826254, -0.188025713, -0.0950100645, 0.3532202244, 0.1824667156, -0.127116859, 0.6787718534, -0.2782492936, -0.0747303367, 0.1324177384, -0.0338827036, 0.7425542474, -0.2919592261, -0.524889946, -0.2397387177, 0.3976105154, 0.2996098399, -0.1803199947, 1.0445291996, 0.4080693424, -0.295697093, -0.0166019518, -0.91993016, -0.0588530488, -0.4543984234, 0.4945879579, -0.2136591822, -1.390779376, 1.0073703527, -0.0317573212, -0.0994200334, 0.5302823782, 0.8424463868, -0.028506035, 0.7299981713, 0.7592907548, -0.3416203856, 0.1705273837, -0.1728346199, 0.1614484638, -0.7612109184, -0.419960171, -0.370047003, -0.2164335996, -0.8220377564, -0.5081056356, 0.2421319634, 0.0125800185, -0.3682088256, -0.0545911826, -0.5875532627, 0.5932715535, 0.4676702023, 0.2291988432, 0.3635520041, -0.2026846111, 0.3886933327, 0.0345407315, -0.6593163013, -0.4889394045, 1.1605131626, 0.3574910462, 1.4209702015, 0.2781278789, 0.9754232764, 0.1246367171, 0.5603639483, -1.2067582607, 0.3184971213, 0.3355378509, -0.5294425488, -0.4784971476, -0.7153289318, -0.8438859582, 0.3072226346, 0.0659787729, -0.9303845167, 0.3828193843, -0.0144592002, -0.6106591821, 0.1546361595, -0.5229968429, 0.4322839081, 0.1449956447, 0.0659649596, -0.0961068496, -0.7451685667, 0.8108099103, -0.3130347729, 0.0427711084, -0.1440689862, -0.2330887169, 0.6717275977, -0.3785389364, 0.9195411801, 0.2007392347, -0.6256898642, 0.5156419277, 0.2333702147, 0.3125252724, 0.1448388696, -0.407869637, 0.0165716894, 0.1006897613, -0.075561747, -0.836458683, 0.7610169649, -0.6904321313, -0.8336193562, -0.2867606878, -0.3947027028, -0.0635154918, -0.1546188891, 0.6618391871, 0.0547326207, -0.238342315, 0.0346598625, 0.8890395164, -0.2410124093, 0.1299323738, 0.2709533572, -0.2933365703, -0.5407495499, 0.4350720644, 0.1730509251, 0.5699806213, 0.2060804367, 0.0475418866, -0.4267789125, -0.3380714953, 0.0705884919, 0.2155924886, -0.8267384171, -0.4104469419, 0.0449670628, -0.2320143431, -0.449311316, -0.1079874188, -0.3670434356, -0.5592060685, -0.1680363864, -0.2814105451, 0.3753134608, 0.6408929229, -0.0192408934, 0.6949687004, -0.7139261961, -0.0134232044, 0.3260531723, 0.3231831491, -0.0546010695, -0.8802230358, -0.0473990515, 0.0374059528, -0.0892507583, -1.1242269278, 0.2998957634, 0.3946072161, 0.6103566289, 0.5015029907, 0.2062294632, 0.9007237554, -0.2685289085, 0.6583479643, -0.0168884676, -0.8897647262, 0.3959133923, 0.0143225361, 0.1480621248, 0.644454062, 0.4343755543, -0.9586832523, -0.3885155618, -0.522382021, -0.6894231439, 0.3139220476, 0.0609475523, 0.0514151156, -0.0703906342, 0.6792964339, -0.1517892331, 0.366761148, -0.7437926531, -0.336835593, -0.0096182339, -0.0970159471, -0.2609348595, -0.4341578782, -0.4989121556, -0.0885175988, 0.7399870157, 0.1023571268, 0.2044320554, 0.431922704, 0.1344989091, -0.3375517726, 0.2469764352, 0.4993685186, 0.4736233354, -0.2445659041, 0.1676280499, 0.3432913125, -0.4031685293, 0.5691709518, -0.2054874599, 0.1736685485, -0.1318901479, 0.6572957635, 0.3562527895, -0.1037918329, -0.4785260856, 0.6486390233, -0.1891125292, -0.233187601, -0.5183330774, -0.0085086357, 0.0468256548, 0.1223843023, 0.4286462963, 0.1104708388, 0.1170862168, -0.5689219236, 0.3399909139, 0.2499469519, -0.4133746922, 0.1081955135, 0.2170772254, -0.1436255723, -0.1088873744, 0.7651719451, -0.2079034001, -0.817827642, 0.5625320077, 0.4713637233, 0.7031583786, -0.815256536, 0.2526041269, 0.2473057508, 0.7250335813, -0.350613296, 0.1238008291, 0.2686099112, -1.0957406759, -0.8040174842, -0.4364762008, -0.4237080812, -0.0911299363, -1.0402001143, -0.1868185848, -0.4303325713, -0.3686558008, -0.5739325285, -0.1196327507, -0.2152145058, 0.3333692849, 0.045173943, 0.6583253145, -0.7713885307, 0.6352025867, 0.3899895549, -0.1728915572, -0.9390572309, 0.0518351234, 0.2602897882, -1.1071228981, 0.3921276629, 0.2829577625, -0.3958826959, -0.106760785, -0.6537902951, -1.0845537186, 1.1289499998, 0.2757641673, -0.4808087349, 0.1329492778, 0.1983627379, 0.5052458048, -0.2145359069, -0.0247877203, 0.786971271, 0.331161797, 0.4670350552, -0.9170129895, 0.1170764565, 0.1830850393, -0.1299781054, 0.2455412596, -0.7767879963, 1.1334606409, -0.2681468129, -0.4214491248, 0.1421602815, 0.5596150756, 0.3136535883, 0.0649110079, 0.5140993595, 0.6655625105, 1.0716136694, -0.2088996619, 0.8856531978, 0.0974004418, 0.4118991196, 1.3665342331, -0.1881283224, 1.051169157, 0.6393141747, -0.3583411872, 0.447532326, 0.9984409809, 0.2497773468, 0.4550172985, 0.6523222923, -0.4331385195, -0.5385061502, -0.0475654639, -0.384267956, 0.640126884, 0.7692260742, -0.2728107274, -0.1111693978, -0.2465173751, 0.1749372035, 0.0416265018, -0.4498786628, 0.4552127123, 0.3138137162, -0.6154786348, 0.8535334468, -0.0555261001, 0.5670473576, -0.4094577432, 0.0660961792, -0.5526822805, 0.2429560125, -0.3609398901, -0.8468422294, 0.3758075833, -0.4060249627, -0.0598634407, 0.2725805938, 0.3864229918, -0.708396852, -0.5055603385, 0.0438831709, 0.5271248817, 0.3719142675, -0.371142447, -0.4459584653, -0.0142673086, 0.2319970578, -0.3609337211, -0.1224007756, 0.5396201611, -0.1155596375, 1.1596906185, 0.2365561277, -0.1085471436, 0.0847345442, 0.0720304102, 0.9197204709, -0.5221876502, 0.0932415426, -0.9978029132, 0.1510483474, 0.1068070382, -0.4030264616, 0.9009568095, 0.4022985101, 0.6976107955, 0.2174628973, 0.582559526, 0.1417236328, 0.5347495675, -0.5008160472, 0.6949998736, -0.4633780718, 0.4148168862, -0.369582355, -0.9205787778, -0.6011937261, 0.7124409676, -0.0823750719, -0.0056575425, 0.5138891935, 1.1158427, 0.4686125219, -0.1515751034, 0.3214126527, 0.1913682669, 0.3137086034, 0.8062646389, 1.1515291929, -0.5056547523, 0.6590275764, -0.1456953734, -0.3571308851, -0.1190464869, -0.8123402596, -0.6511963606, -0.3968425691, -0.3494173586, -0.2065348476, 0.0004569727, 0.609313786, 0.4017192423, -0.7253947258, -0.2356763631, 0.1179619506, 0.1659041494, -0.1052569821, -0.2110623121, 0.475803256, -0.157646209, -0.4156472981, 0.2191803455, 0.0253615454, 0.3175421655, -0.3732880056, -0.1021535173, 0.0301487893, 0.1284118742, 0.5666720271, -0.0064771227, -0.9212012887, -0.6024127603, -0.0910360292, -0.0916734487, -0.0750022009, 0.427650243, -0.7102895379, 0.1169763356, 0.1358152479, 0.5425131321, 0.2545703053, 0.3936325908, 0.8485664725, -0.9758929014, 0.0783493593, 0.2895736098, 0.301733315, 0.3774609268, -0.3514400721, 0.6753683686, 0.0418798439, -0.8552146554, -0.601136744, 0.1834682822, -1.0351983309, -0.0708949342, 1.0196003914, -0.3110346496, -0.0816824138, 0.0265947338, -0.4467038512, 0.2710638642, -0.3594390452, 1.0343677998, 1.0456858873, -0.1670131385, -0.2351351529, -0.121380724, 0.5173218846, 0.5807806849, -0.6562037468, 0.2534440458, 0.5970177054, 0.0801225603, 0.2366630584, 0.6829138398, 0.0046459031, 0.0414775014, 0.000691323, 0.265701592, 0.4602983892, -0.0513185486, -0.4400259852, 0.0453937575, 0.2945622504, -0.4343436956 ]
http://arxiv.org/abs/2402.04918v1
http://arxiv.org/pdf/2402.04918v1
Prompting Implicit Discourse Relation Annotation
2024-02-07T14:44:42
2024-02-07T14:44:42
Frances Yung, Mansoor Ahmad, Merel Scholman, Vera Demberg
cs.CL
cs.CL, cs.AI
Pre-trained large language models, such as ChatGPT, archive outstanding performance in various reasoning tasks without supervised training and were found to have outperformed crowdsourcing workers. Nonetheless, ChatGPT's performance in the task of implicit discourse relation classification, prompted by a standard multiple-choice question, is still far from satisfactory and considerably inferior to state-of-the-art supervised approaches. This work investigates several proven prompting techniques to improve ChatGPT's recognition of discourse relations. In particular, we experimented with breaking down the classification task that involves numerous abstract labels into smaller subtasks. Nonetheless, experiment results show that the inference accuracy hardly changes even with sophisticated prompt engineering, suggesting that implicit discourse relation classification is not yet resolvable under zero-shot or few-shot settings.
[ -0.5972313881, -0.7720047832, 0.8195902705, 0.2396586239, -0.1215575933, -0.0584396347, -0.1164112836, -0.4505211115, -0.2124078274, 0.1107202396, -0.7609699368, -0.2417627722, -0.548542738, 0.217114225, -0.1388303787, 1.1577465534, 0.1145413741, 0.1383791119, -0.252745837, -0.0235750191, -0.4283836186, -0.5897123814, -1.1061381102, -0.2888547182, 0.8058100343, 0.3413310051, 0.4902843833, 0.1681401283, -0.0355974026, 0.2893134356, -0.3631754518, 0.4326776862, -0.3625231087, 0.2699557245, -0.020858964, -0.3674610555, -0.1151846871, 0.3349269032, 0.4706213772, 0.7095505595, 0.3344573081, 0.184157908, 0.1951759011, 0.3972703218, -0.6695502996, 0.6053194404, -0.5152340531, -0.0549662746, -0.1466757357, -0.163091898, -0.8559259772, -0.4864426851, 0.4153776169, -0.6510522962, 0.2174132466, 0.2904049158, 0.8774498105, 0.3271442056, -0.4951792061, -0.2594429553, -0.5408033133, 0.4049886465, -0.3329519629, 0.2201537639, 0.6343930364, 0.1789257824, -0.2075459659, -0.6767228246, -0.4812392294, -0.5032222867, -0.5209679604, 0.2263281941, -0.1082456931, 0.4616641104, 0.7615995407, -0.1030275077, -0.4131130278, 0.0697409213, -0.3604890108, -0.142205283, 0.2844775617, -0.0962603167, 0.1116927937, -0.3963224292, -0.2317208201, 0.1254363209, -0.778445065, 0.1020085961, 0.2032883018, 0.2410162985, 0.2064017653, 0.4339144528, -0.0718144327, 0.5652112365, 0.2235950232, 0.1615907699, 0.0409794077, -0.116199702, -0.0415712483, 0.0725073814, 0.7707503438, 0.0241883341, 0.580129087, 0.3087705672, 0.2170356661, 0.0435286537, -0.0164779201, -0.6557466984, -0.4787811041, 0.1732584834, -0.0874616131, 0.1225587353, -0.1472333074, -0.412945658, -0.3742155433, -0.4081070721, 0.1655863672, -0.5798113942, -0.0778687149, -0.2787845433, -0.2285026461, 0.3559034467, 0.7281172276, -0.8457025886, 0.1714157015, 0.6686532497, 0.8432784081, 0.096382685, -0.2181691676, -0.6656012535, 0.0183144398, -0.2811808586, 1.2426589727, -0.619528532, -0.4661183357, 0.0370518416, -0.0587516464, -0.2838451862, -0.1603141874, 0.4713175297, -0.4284559488, 0.5569276214, -0.4839330614, -0.5230355263, -0.1523318142, 0.377710849, -0.3980166912, 0.9988713861, -0.0976056755, -1.022881031, 0.3645147383, -0.7459388375, -0.2504480481, 0.0944522172, -0.2774347365, -0.2268016934, -0.113617368, 0.7016492486, 0.5532913208, 0.090336062, 0.1420594752, -0.2113389969, -0.3883161545, 0.1857738197, -0.4249212146, 0.7940554023, -0.0461890213, -0.0718189403, 0.0393858254, -0.5365673304, -0.0828466639, -0.1590132415, -0.0425440408, -0.3890424669, -0.2005110681, -0.3999087811, 0.2733525336, -0.127760306, -0.4481169879, 0.3909542561, -0.4559545815, 0.2743533254, 0.8594745994, 0.2687813044, 0.377155453, -0.1415776759, 0.5249063373, -0.043528311, -0.1387173235, -0.5069403648, -0.8235618472, -1.0638059378, -0.157140255, 0.6460687518, 0.5884341598, -1.0486526489, -0.205096826, -0.2365399152, -0.3613578975, -0.4352933168, -0.3349780738, 0.5510848761, 0.7094583511, 0.4045110345, 0.0420640521, -0.4685046673, -0.8454703093, -0.0944776684, -0.6116669774, -0.0485597737, 0.4895952046, 0.4583831728, 0.270275414, 0.8900766373, -0.7036486268, -0.071062699, 0.099840343, 0.8248750567, -0.1124270484, 0.3901917636, 0.4446744919, -0.4613599777, -0.5561428666, -0.0631772354, -0.4442875683, -0.2452744097, 0.0182921458, -0.0668023303, 0.2121472508, 0.6391456127, -0.7985116839, 0.3806690276, 0.2837279439, 0.005394842, 0.7586638927, 0.0941775814, 0.2149090022, -0.6530604959, -0.12743406, -0.0460988544, -0.2692636549, -0.6129774451, -0.4363944829, -0.0803483203, -0.1587518901, -0.6675705314, 0.5413425565, -0.7408604026, 0.0766385719, -0.1731231511, 0.1133653596, -0.1260063499, 0.7736669779, 0.4421301484, 0.8997795582, 0.559735477, -0.7420399785, 0.1813150346, 0.5017977953, 0.0660862476, 0.6782929897, -0.6475410461, 0.5456769466, -0.4514020383, 0.5428084731, -1.3834985495, -0.3364422321, 0.5566089749, -0.5619415641, 0.3388239741, -0.7869668007, -0.4051635563, -0.193623811, -0.2277397066, 0.3943350613, 0.5444466472, -0.6388657093, 0.3639732897, 0.0145409955, -0.4810655415, -0.6246361732, -0.5176380873, -0.0818944573, -0.0254554134, -0.4043807089, -0.0058111446, 0.1980718374, -0.1607775539, -0.0888410509, 0.0043900893, -0.2950301468, -0.3629390001, 0.4673282206, 0.2831694484, -0.1345412731, 0.5119078159, 0.2940406203, -0.3319686949, 0.1553462893, -0.0298937634, 0.2412381321, -0.0466278382, -0.3523672521, -0.5041347146, 0.3252418339, 0.2228584439, -0.1301973313, 0.6683655381, 0.3606035113, -0.1207927018, 0.0024265631, -0.6927418113, -0.3173511028, -0.45478037, -0.0698863789, -0.4301418662, -1.232068181, 0.1637548208, -0.3819103539, 0.2424584478, 0.2188738585, 0.0664607286, -0.1389819086, 1.1691991091, 0.1140476465, 0.1109207794, 0.3125955462, 0.1542668492, 0.0567878373, -0.709536612, -0.0532370545, -0.7934687138, 0.0309043285, -0.6745628119, -0.2611336112, 0.4276419878, -0.4296929836, -0.1117509305, 0.113966994, -0.5714582205, 0.4590108693, 0.3165833354, 0.0210271776, 0.3808342516, -0.1408838034, -0.0060211178, -0.2322591096, -0.7136793733, -0.4291991293, 0.4562589526, 0.1519272178, 0.4627175927, -0.2275761366, 0.6269436479, -0.0862792358, 0.6227451563, -0.8669579029, 0.6847422123, 0.2171701342, -0.5633864403, -0.3323679268, -0.4245394766, -1.1874605417, 0.395318538, -0.0984393805, -0.7878454328, 0.2061621398, 0.3931232393, -0.5167543888, -0.2204115093, -0.9534829259, 0.5067746043, 0.1535238028, -0.1550821513, 0.2405492514, -0.5833989978, 0.5534691215, 0.2260684222, 0.2167749852, -0.2356747687, -0.0051837699, 0.5765380263, -0.4358431399, 0.93645823, -0.2900984883, -0.0422438495, 0.3716677427, 0.082604602, 0.5661349297, 0.1414238214, 0.1046768874, -0.2398003489, -0.2010602653, -0.314242363, -0.8848167658, 0.4739130437, -0.3814418912, -0.8456587791, -0.4694072008, -0.3489402235, -0.6223512888, 0.0544309728, 0.4236035347, 0.2135808915, -0.1279761344, -0.1513339728, 0.6957678795, -0.005644233, 0.4261897504, 0.2504989803, -0.2408074737, -0.0363703556, 0.5676788092, 0.3767697215, 0.1701932847, 0.0841180533, 0.0394780412, -0.5080754757, -0.3514840603, -0.3470493853, 0.2786398232, -0.598952651, -0.1376202703, -0.8308985233, -0.2517233491, -0.4629524648, 0.0094758971, -0.2586331367, -0.5917671919, -0.2501781583, -0.3495365679, 0.492769748, 0.6299495697, 0.1308337599, 0.3543994427, -0.6599911451, 0.1532426625, 0.6816424727, 0.0409066156, -0.0290123262, -0.3659193814, 0.2918153405, -0.127104491, -0.1130847409, -1.023099184, -0.0080324402, 0.1763772815, 0.2441192567, 0.3649509251, 0.1679562479, 0.930564642, -0.7067171931, 0.8838738203, 0.0287020802, -0.88797158, 0.8942202926, -0.3880047798, 0.4810651839, 0.4637765288, 0.7786703706, -0.3624174893, -0.507568717, -0.7452677488, -0.7681362033, 0.9013591409, 0.4147523046, 0.3117346168, -0.1433626413, 0.2948551178, 0.0630736127, 0.0929885358, -0.8148719668, -0.3441702425, -0.1576918066, 0.2782946527, 0.2834629118, -0.3722397685, 0.1099835187, -0.4020672739, 0.8323200345, -0.1862143874, 0.2720035315, 0.2946566343, -0.0221044607, 0.247662887, 0.4807740152, 0.491063714, 0.6617969871, 0.1624006331, 0.2609260082, 0.4576581419, -0.2142913491, 0.4251758158, 0.3678450882, -0.3079658747, 0.3451069593, 0.2239046544, 0.7735588551, 0.3823021352, -0.2655973732, 0.463031292, -0.2251195163, -0.4017140269, -0.1735668331, 0.100519672, 0.25529778, -0.0406126156, 0.296657443, -0.1993417144, 0.1844530106, -0.2890051305, 0.0130648464, 0.3331750333, -0.5549407601, -0.059687186, 0.3235955238, 0.2025766224, -0.1671532542, 0.760835886, -0.480011344, -0.4649567306, 0.1310521364, 0.148248747, 0.6409799457, -0.4310147464, 0.5109305382, 0.5134019852, 0.2895568609, -0.2572092414, -0.0238642972, -0.2995253503, -0.6253996491, -0.906686902, -0.0087448508, -0.7091758847, 0.2180290669, -0.5012588501, 0.2531833649, -0.5436972976, -0.2578469515, 0.2241662443, -0.3341713548, -0.4622055888, 0.092362009, 0.103310369, 0.6238577366, -0.6696032882, 0.4730183482, 0.724401474, -0.3975093961, -1.0542964935, -0.0533193722, 0.0975460336, -0.4040786624, 0.7412078381, 0.3502939343, -0.1643103659, 0.1308220029, -0.8696405292, -0.5126373768, 0.4640709162, 0.5539721251, -0.325006038, -0.0984547734, -0.0492831543, 0.5060091019, -0.0032224627, 0.5712786913, 0.4161729515, 0.7111992836, 0.3376424313, -1.0275430679, 0.1772537082, -0.1699970365, -0.0668777078, 0.1907364726, -0.5121085644, 0.5858108997, 0.0019119518, -0.4109145999, -0.1004593298, 0.847699821, 0.3498936594, 0.4176872969, 0.6216303706, 0.1200953349, 0.8395671248, -0.4614282846, 0.7870601416, 0.2811834216, 0.1324036568, 1.2776693106, -0.3135843873, 0.5803978443, 0.3339309394, -0.1745215356, 0.5714861155, 0.7297896743, -0.0010540192, 0.1342123002, 0.0389987156, -0.3808072209, -0.3050415814, -0.3849051893, -0.414170742, 0.4335612655, 0.5590659976, -0.1208366454, -0.2533905804, 0.0016839912, 0.2762698233, -0.1834675819, -0.3564353883, 0.9212348461, 0.3246481121, -1.203056097, 0.5417706966, -0.5533847213, 0.5039636493, -0.3440187573, -0.2501018643, -0.0759398937, -0.6019080281, -0.3124378026, -0.7006853819, 0.101344794, -0.0870411173, 0.199103862, -0.3261262178, 1.0357187986, -0.3410800993, -0.177377969, -0.0554264486, 0.7468033433, 0.318970114, -0.1995055377, -0.5438862443, -0.3597571254, -0.1950904876, -0.4419338703, 0.2040190846, 0.7043607831, -0.0401438512, 0.5066880584, 0.7542331815, -0.2838187516, -0.1140152887, 0.1389913261, 0.8511553407, -0.4313423634, -0.4731216729, -0.8274289966, 0.5179501176, -0.2822053134, -0.2539267242, 0.8577947021, 0.1650513262, 0.5738039613, -0.1265972108, 0.8186526895, 0.1452868879, 0.6003177762, -0.6098530293, 0.2446485311, 0.0430799276, 0.0520765968, -0.4712409377, -0.7981831431, -0.2181769311, 0.5235085487, -0.6152412295, 0.2503008842, 0.9270740747, 0.6596368551, 0.0782029405, 0.3128983676, 0.2909543812, 0.1203877553, 0.1523170918, 0.4363217652, 1.3608121872, 0.0639290139, 0.8080540895, -0.0496000312, -0.1364400685, 0.0579407774, -0.9944420457, -1.1215808392, -0.5399036407, -0.5460885763, -0.2531474531, 0.2036020756, 0.9569458365, 0.8377920985, -0.5484556556, 0.2913841903, -0.1543565392, 0.1647284925, -0.1044321656, -0.2484003752, 0.3536555767, -0.4727939367, -0.895730257, 0.1800315678, 0.2586423755, 0.2124839723, -0.124432303, 0.2675403655, -0.2939068079, -0.0472313724, 0.721453011, 0.4281165898, -0.5832777619, -0.5132586956, -0.2528748512, 0.185358882, 0.1645271331, 0.9549078941, -0.8750098348, 0.0911472589, 0.4973298907, 0.4656758904, 0.6785497069, 0.2248533368, 0.4794414639, -1.1516942978, 0.2136286199, 0.359624505, 0.2307975292, 0.2640956938, -0.4993652105, 0.6102510095, 0.0149872815, -0.6687157154, -0.5749515891, 0.3836462498, -0.8095828891, -0.2217593342, 1.1865919828, -0.3965324759, -0.142456457, -0.6646931171, -0.8367625475, 0.1415165514, -0.6887039542, 0.5276446939, 0.9689670801, -0.6531702876, -0.5781340599, -0.5805926323, 0.8241148591, 0.513850987, -0.7914810777, 0.1243585423, 0.721758604, -0.0862036571, 0.3438428938, 0.9226195812, 0.1338062137, 0.4799904525, -0.0731104612, -0.3700919449, -0.1204472929, -0.1669356078, -0.0040899981, 0.3984811008, 0.2707391381, -0.0818598792 ]
http://arxiv.org/abs/2402.04914v1
http://arxiv.org/pdf/2402.04914v1
Personalized Text Generation with Fine-Grained Linguistic Control
2024-02-07T14:41:08
2024-02-07T14:41:08
Bashar Alhafni, Vivek Kulkarni, Dhruv Kumar, Vipul Raheja
cs.CL
cs.CL
As the text generation capabilities of large language models become increasingly prominent, recent studies have focused on controlling particular aspects of the generated text to make it more personalized. However, most research on controllable text generation focuses on controlling the content or modeling specific high-level/coarse-grained attributes that reflect authors' writing styles, such as formality, domain, or sentiment. In this paper, we focus on controlling fine-grained attributes spanning multiple linguistic dimensions, such as lexical and syntactic attributes. We introduce a novel benchmark to train generative models and evaluate their ability to generate personalized text based on multiple fine-grained linguistic attributes. We systematically investigate the performance of various large language models on our benchmark and draw insights from the factors that impact their performance. We make our code, data, and pretrained models publicly available.
[ -0.4692322016, -0.9220731854, 0.4426913857, 0.3579667211, 0.1326237917, 0.0494803078, -0.4601096213, -0.3233518898, -0.0798559934, 0.5765182376, -0.5365470052, -0.6597079635, -0.482629329, 0.1686814278, -0.3132208586, 1.3003051281, 0.0465460829, -0.2231347859, -0.2567942739, -0.0942410901, -0.2791386247, -0.7407230735, -0.5353719592, -0.423502177, 0.7350026965, 0.1768953651, 0.8704192042, 0.478000313, 0.5902712941, 0.3047499061, -0.2248793691, 0.07020206, -0.3630815744, 0.1473746002, -0.4095573127, -0.2857708931, -0.4836810827, -0.07987459, 0.6417613029, 0.5509030819, -0.1443760395, 0.2836497128, 0.1793448329, 0.3895153403, -0.7008665204, 0.0257735197, -0.6925266981, 0.0660958216, -0.4350964129, -0.1788971126, -0.550698936, -0.6338402629, -0.0404524542, -0.4930822551, 0.4233190715, -0.0344118029, 0.9202132821, -0.0344220139, -0.2303762287, -0.2905185819, -1.0796903372, 0.8588324785, -0.8206140995, 0.1322334111, 0.5873693228, 0.2679616511, 0.0787989199, -0.7980812788, -0.5024108291, -0.3718969524, -0.1308791935, 0.008747587, -0.0570621938, -0.0132936928, 0.165577963, 0.4368897974, -0.3053122163, 0.3467701375, 0.0390558392, -0.1797742248, 0.6021428704, 0.3991640508, 0.2482188195, -0.1740754247, -0.2368891686, -0.2588400841, -0.3185299933, 0.1480322778, 0.6181501746, 0.391174078, -0.1382052004, 0.6508812904, -0.6118640304, 0.5520966053, 0.0623215102, -0.1866562068, 0.2321572155, -0.5037552714, -0.0588550977, -0.0223359764, 1.0986785889, 0.1999501437, 0.3976812959, -0.3438964188, -0.369523406, -0.1133000106, 0.330250442, -0.9592945576, -0.2328000218, 0.1393627226, -0.5165839791, -0.6875480413, -0.1606337577, -0.654713273, -0.4601299167, -0.2779971361, 0.1976996213, -0.6427372694, 0.0354612805, -0.0404870063, 0.0659363344, -0.0269809701, 0.0865669996, -1.3428487778, 0.2979360223, 0.5298762918, 0.7640911937, -0.2211351246, -0.3958463967, -0.4948579967, 0.2405156642, -0.3008231223, 0.6721355915, -0.8312034607, -0.1180488095, 0.2809503376, -0.5010825396, 0.213567242, -0.380405426, 0.2739140093, -0.4546231329, 0.1052591056, -0.0931524858, -0.4700961709, 0.2623883188, 0.1718898267, -0.5038761497, 0.8908493519, 0.1330828518, -0.6909092665, 0.5927166939, -0.2419595122, -0.5075993538, 0.1429775059, -0.4121497273, -0.7796804309, 0.3920968175, 0.0225102063, 0.8299776316, -0.3932012618, 0.5201465487, -0.3342563808, 0.275431931, 0.4807330966, -0.3354910314, 0.0952656344, 0.2770152986, -0.2697529197, 0.2649710774, -1.1549001932, 0.4020153582, 0.1441753805, -0.5046909451, -0.4280345142, 0.0174250342, 0.4679171443, 0.1553826779, 0.4708971083, -0.4848380387, 0.0633163452, -0.2433706373, 0.3268384337, 0.678243041, -0.0296792891, 0.5118727088, -0.2959608436, 0.4703476131, -0.0042439802, -0.1667090207, -0.2407297939, -0.1595540941, -0.5589727163, -0.0057038045, 0.3624726236, 0.2034161985, -0.5349696875, 0.586625874, -0.0131162973, -0.5840458274, -0.3102438152, 0.3620918393, 0.8598663807, 0.0288878605, 0.2914293706, -0.3860221207, 0.0454659313, -1.0138144493, -0.5196983814, 0.2169776708, -0.218982175, 0.5082908273, 0.2941870987, -0.0660001785, 0.8929789066, -0.8160705566, -0.2726303935, -0.4306262732, 0.5971643329, -0.4174619615, 0.6246742606, 0.6733507514, -0.6924165487, -0.5184526443, 0.295556277, -0.4894935787, -0.4006485343, -0.4250335693, -0.1929443479, -0.0078575257, 0.4386541545, -0.4166412354, 0.2995863557, 0.6912816763, -0.5809662342, 0.62953794, -0.4181980789, -0.0810336471, -1.2534228563, 0.2930188179, 0.2973753214, -0.3098705113, -0.6557343006, 0.2674199939, 0.1043036059, -0.1106342375, -0.2679081857, 0.4446876943, -0.2118777484, 0.091967918, -0.1489098966, -0.1385838091, 0.0334947109, 0.5744304657, 0.049722787, 0.7066693306, 0.2454671711, -0.5909610987, 0.0884825289, 0.3372242153, -0.4419511855, 0.5720363855, -0.7279835343, 0.0987075046, -0.10351827, -0.0561244488, -0.6522606015, -0.5524088144, -0.3575391471, -0.1592892855, 0.2654030621, 0.4754547477, -0.6684274077, 0.0487003028, -0.056421157, 0.1225077361, 0.3353660405, -0.2765621543, 0.6038036942, 0.0978319272, -0.4123239219, 0.0906523019, -0.6605488062, -0.0383412912, -0.0642160252, -0.2809122801, 0.548963666, -0.1684206426, -0.1023081914, -0.1560034305, 0.2448493689, -0.1143816262, 0.1447513252, 0.1826492846, -0.2715578675, -0.119575724, 0.1156638935, 0.3908755481, -0.106167905, -0.0484134592, 0.0419925414, 0.9062872529, 0.0219883621, 0.0184025299, -0.6424167156, 0.3604381979, 0.2811015546, -0.7570884228, 0.9348682761, 0.74911654, -0.1129198894, -0.492412895, -0.5179175735, -0.0425421223, -0.4958671331, 0.5108882189, -0.5610052347, -0.8509463668, 0.5795130134, -0.0088094585, 0.0145103978, 0.3498337865, 0.8203670382, 0.236438185, 1.213593483, 0.8995210528, -0.0518955775, 0.5535486937, 0.0060750805, -0.0605143495, -0.6437469125, -0.2803844213, -0.7097130418, -0.385569483, -0.9168809652, -0.0524517111, -0.068108134, 0.0937168151, -0.4469853938, 0.2452461123, -0.5779947639, 0.4067050517, 0.7938494682, 0.0769133866, 0.2642707825, -0.1129553691, -0.2485740781, 0.0341974385, -0.4115575552, -0.7225233316, 0.7909148335, 0.297260344, 1.0952553749, 0.0659096688, 0.6754699945, 0.1625652015, 0.0811509788, -0.3815549612, 0.4205379188, -0.7072103024, -0.4953430295, -0.1408375353, -0.6025694013, -0.6229869127, 0.0141232722, -0.4633754194, -0.8753896952, -0.0494741537, 0.4214885831, -0.5021505952, 0.2106958777, -0.8181684017, 0.9249733686, -0.2181413919, -0.4878526926, -0.1001353785, -0.449560523, 0.2292885482, -0.3816044033, -0.2237372696, -0.2745946348, 0.0308582485, 0.4506191015, -0.2555785775, 0.9380082488, 0.1244288012, -0.0348069146, -0.0644809306, 0.3130034506, 0.4978165329, 0.1167849451, -0.0150955664, 0.1519765705, -0.1168858558, -0.2414631546, -0.2624891698, 1.0252525806, -0.7650828362, -0.2926521003, -0.0739497915, -0.5107993484, -0.362562269, 0.4994345307, 0.5951138735, 0.6521937847, -0.4199538529, 0.4080102444, 0.5399301648, -0.6228779554, 0.4988917112, 0.1772931963, -0.2011261582, -0.4404989481, 0.9863164425, -0.0608836636, 0.5542013049, 0.6702276468, 0.5357955694, 0.0148645537, -0.5800904036, -0.3281703591, -0.1476412863, -0.3997718394, -0.322106719, -0.7816229463, -0.2635943294, -0.451123178, -0.3371404707, -0.4357334375, -0.1707346886, -0.4636743367, 0.2465675175, 0.2528156638, 0.9523912072, 0.6587952375, 0.764688313, -0.7602298856, 0.4755946696, 0.1923844963, 0.6314877868, 0.0250798725, -0.1288087517, -0.1837374717, -0.1626841575, -0.7338335514, -0.5699791312, 0.3891575038, 0.4413805902, 0.2694946826, 0.4018749595, -0.1135070398, 0.2404420525, -0.8068516254, 0.8625326753, 0.2897157371, -1.0629738569, 0.6981548667, -0.3805448711, 0.8554911613, 0.5296390653, 0.1907119602, -0.2943652272, -0.919731617, -0.5315881968, -0.6603218913, 0.7059563398, 0.524826467, 0.5163857341, 0.0941974372, 0.3856528699, 0.2877739072, 0.4257121086, -0.7691111565, 0.0024307484, -0.1318935305, -0.4319678843, -0.3431995511, -0.4560400844, 0.0900046974, 0.0548538193, 0.4018001556, -0.1957463622, -0.163374126, -0.1016500369, 0.2541270852, 0.0219015665, 0.4073793888, 0.7004033923, 0.4707266092, 0.0092767235, 0.1780719012, -0.0652465299, -0.4373672605, -0.1082808599, 0.1210380644, -0.4181366861, -0.1377435476, 0.3491179347, 1.1178718805, 0.1361888349, -0.3580673635, 0.4106943309, -0.0323194936, -0.194820255, -0.0351113416, 0.3420864642, -0.0110033536, 0.1155859232, -0.1493553817, 0.2474972308, -0.047979448, -0.3128192127, -0.072285898, 0.3659353554, -0.2015188634, -0.6337237954, 1.1324621439, 0.3290448487, -0.2396463901, 0.2435846925, -0.1964680552, -0.2216748446, 0.3155550361, 0.7006825209, 1.0769048929, -0.216825977, 0.3599782586, 0.3106781542, 0.0737113431, 0.0705915913, 0.1107091606, -0.1321219951, -0.8232750297, -0.2009385079, -1.0824853182, -0.1926842183, 0.3772032261, -0.6666688323, 0.1287192255, -0.7021927238, -0.4684073329, 0.5631135702, -0.0807877928, -0.7987792492, 0.4129949212, 0.1375778615, 0.7849036455, -0.7984776497, 0.777086854, 0.7042658329, -0.4073086977, -0.6448205709, 0.0860336497, -0.1775405109, -0.3705174327, 0.6225007772, 0.1615379006, -0.1286111623, 0.0477321409, -0.4780421257, -0.6182978749, 0.7837198377, 0.1620604396, -0.6132348776, -0.1196590886, 0.3795743883, 0.7543760538, -0.323423028, -0.032698378, 0.7598400712, 0.2296629548, -0.0645375475, -0.9086007476, -0.1513372362, -0.2094265819, 0.6462604403, 0.3577498496, -0.6839157939, 0.8286297321, -0.0157332197, 0.0410449691, 0.3114759922, 0.7921254635, 0.0808161125, 0.1706527919, 0.19028081, 0.5564346313, 0.6106582284, -0.0773304179, 1.3265951872, -0.5590186715, 0.2426421344, 1.3081803322, -0.2783397138, 0.8482165933, 0.1906832904, 0.0627414361, 0.4346759617, 0.2147003263, -0.0176428333, 0.5835031867, 0.1513099521, -0.3868568838, -0.1608783901, -0.2796810269, -0.2066819668, 0.6602627635, 0.0934949443, -0.7508364916, -0.034462031, 0.2090060413, 0.0722505376, 0.5956696868, -0.2307604998, 1.0631295443, -0.208486557, -0.6001070142, 0.1639907956, 0.3201602101, 0.7329280376, -0.8386603594, 0.3098269403, -0.2277408689, 0.4551126659, -0.1499020457, -0.8721712828, 0.0557107739, 0.3140184283, -0.282253027, -0.5514084697, 0.6818547249, -0.5698315501, -0.611448586, -0.1001306698, 0.1314979345, -0.2945970893, -0.0044152234, -0.3682767153, 0.1092413813, -0.0898027122, -0.5333049297, 0.3919745386, 0.5664716959, -0.0929460526, 0.6261322498, 0.5881756544, 0.4913620651, 0.1146864817, 0.344004333, 0.8465141058, -0.7431402802, -0.627794683, -0.7661641836, 0.2480240315, -0.1529030502, -1.0197780132, 0.7469829917, 0.6982805133, 1.0609942675, -0.3153094649, 0.819301188, -0.2279779613, 0.3341161907, -0.6833059192, 0.9643058181, -0.394731313, -0.1484161466, -0.3309751451, -0.8906811476, -0.3243571818, 0.3460408747, -0.2532809973, 0.3323759437, 0.4647555649, 0.6578406692, 0.0155842341, -0.1794061512, 0.435721904, 0.1291997135, 0.5492522717, 0.2951845229, 0.7438051701, 0.0019709328, 0.1123081371, -0.6972421408, -0.1225447357, 0.0534590669, -1.0155094862, -1.0238593817, -0.6944833398, -0.3074113429, -0.2493179739, -0.2500633597, 0.688716948, 0.6430414319, -0.880812943, -0.1124992073, -0.4410422444, -0.3290970325, -0.0537114963, -0.2543726563, 0.2256771475, -0.6904851198, -0.8427247405, -0.1431353539, 0.1825736016, 0.102948688, -0.5096399188, 0.1085798964, 0.093283169, 0.1822536141, 0.7338094711, 0.0019208513, -0.5985136628, -0.1918166578, -0.2474857122, -0.5677009225, -0.0917993337, 1.1585376263, -0.4256874919, 0.5691704154, 0.6437527537, 0.4858319759, 0.2803022563, 0.2028966397, 0.6616090536, -1.2311598063, 0.080403924, 0.1563725919, -0.0202078372, 0.3507404625, -0.4757307768, -0.0061682845, -0.1489982456, -0.7686444521, -0.4693945646, 0.1668058783, -0.8699291348, -0.2245815694, 1.2658178806, -0.0283714347, 0.0160905719, 0.457541734, -0.1916629672, 0.064375706, -0.318066299, 0.7588482499, 0.5789639354, -0.0154343462, 0.026321467, -0.5528995991, 0.7799422145, 0.324858129, -1.0745565891, 0.3109256923, 0.4996011257, 0.0948822424, 0.1477523893, 0.5450966358, 0.0285500716, -0.0240417905, -0.0511240363, 0.3250409663, -0.024789907, -0.4494693875, -0.2851133049, 0.3093327582, 0.1571690589, 0.1499093026 ]
http://arxiv.org/abs/2402.04902v3
http://arxiv.org/pdf/2402.04902v3
L4Q: Parameter Efficient Quantization-Aware Fine-Tuning on Large Language Models
2024-02-07T14:35:05
2024-05-22T20:23:54
Hyesung Jeon, Yulhwa Kim, Jae-joon Kim
cs.LG
cs.LG, cs.CL
Due to the high memory and computational costs associated with Large Language Models, model compression via quantization and parameter-efficient fine-tuning (PEFT) methods, such as low-rank adaptation (LoRA), are gaining popularity. This has led to active research on quantization-aware PEFT techniques, which aim to create models with high accuracy and low memory overhead. Among quantization methods, post-training quantization (PTQ) is more commonly used in previous works than quantization-aware training (QAT), despite QAT's potential for higher accuracy. This preference is due to PTQ's low training overhead. However, PTQ-based PEFT methods often utilize high-precision parameters, making it difficult to fully exploit the efficiency of quantization. Additionally, they have limited adaptation ability due to a reduced and constrained LoRA parameter structure. To overcome these challenges, we propose L4Q, which leverages joint quantization and fine-tuning to reduce QAT's memory overhead and produce models that consist entirely of quantized weights while achieving effective adaptation to downstream tasks. By design, L4Q allows quantization parameters to reflect weight updates, while weight updates reduce quantization errors. Our experiments demonstrate that this coupled quantization and fine-tuning approach yields superior accuracy compared to decoupled fine-tuning schemes in sub-4-bit quantization. Using the LLaMA model families and instructional datasets, we showcase L4Q's capabilities in language tasks and few-shot in-context learning.
[ -0.2016812414, -0.6438500881, 0.5861653686, -0.0564315058, -0.401027143, 0.1694227457, -0.2976133227, -0.2016664147, -0.3071537316, 0.4919881523, -0.2051585019, -0.4663976133, -0.3139584363, 0.0578094423, -0.2204492092, 0.998873353, -0.0898298547, -0.1747897416, 0.0369946621, -0.3139296174, -0.2232332081, -0.6645128727, -0.8822462559, -0.1220728159, 0.551094234, 0.3499925435, 0.7164903879, 0.5688400865, 0.289483279, 0.2195172012, 0.0198490918, 0.1150854006, -0.6923357248, -0.08028467, 0.072506398, -0.7142442465, -0.7548918724, -0.1675569266, 0.9517602921, 0.594199717, -0.0731032491, 0.3189070523, 0.1138608605, 0.8623772264, -0.9055043459, 0.0958705693, -0.7266486287, -0.0678727254, -0.2578395903, -0.2738058269, -0.0707783401, -0.3933381438, -0.2579041719, -0.8867921829, -0.0173386578, -0.0400450565, 0.7748670578, 0.4984922111, -0.524009943, 0.2729073465, -0.6456407309, 0.9278734922, -0.8924171925, 0.6555473208, 0.6862410307, 0.10102088, 0.063422218, -0.7121939659, -0.3591305017, 0.1718875617, 0.3466006517, 0.0250182599, -0.1332412064, 0.3334769309, 0.3732723296, 0.3667517006, -0.3954997361, 0.1676992327, -0.2382094413, -0.1402540058, 0.3410664797, -0.0589579977, -0.1207405776, 0.2603900731, -0.0691558346, 0.0000547406, -0.9646987319, 0.2370405644, 0.4164756835, 0.2369218171, -0.0398144759, 0.181287393, -0.6354974508, 0.8644762039, 0.333542347, -0.312283814, 0.0745074674, -0.5389832854, -0.1781808287, -0.0361465588, 0.6219493151, 0.1819623262, 0.0123273022, -0.0351175331, -0.3076380193, -0.2180941999, -0.0467415452, -1.049895525, -0.4052527249, 0.1816857904, -0.3656173646, -0.1624986976, -0.5452450514, -0.4086094201, -0.1282780766, -0.2501921654, 0.9182506204, -0.4926309884, 0.0689823776, 0.2046685815, 0.209547624, 0.4162310362, 0.4128881991, -1.0536563396, 0.4695836306, 0.6838684082, 0.5910833478, 0.0799556524, -0.1852322668, -1.01719594, 0.3131415248, -0.3298149407, 0.6024784446, -0.3676993251, 0.0917646438, -0.3318010271, -0.2053997964, 0.1303288639, -0.4324471653, 0.5751691461, -0.5981968641, 0.0594802275, -0.2569145262, -0.4233736098, -0.2539327741, 0.2326325774, -0.7047638893, 1.1249152422, 0.3370590508, -0.6240605712, 0.3121680915, -0.4143796861, -0.1217485443, 0.0909105986, -0.0201610271, -0.608953774, 0.2137729228, 0.4108597934, 0.4575843811, -0.4270136952, 0.0717232674, -0.3045487404, -0.728979528, 0.0449706838, -0.3280818164, 0.3723991811, 0.074700132, -0.1705265194, 0.2732726336, -0.7227707505, 0.1987342685, 0.0356126837, -0.6610151529, -0.4729478955, -0.0833910406, -0.3794177771, -0.1039627418, 0.4478238523, -0.07710094, 0.2665023506, -0.6166387796, 0.6227836013, 0.5960928202, -0.0582498126, 0.6456468105, -0.1997206956, 0.5069510341, -0.1728075594, 0.2542489469, -0.0533600636, -0.190280363, -0.728976965, -0.329882592, 0.7671006918, 0.3076292276, -0.9067399502, 0.2046834826, -0.277094394, -0.2453230917, -0.4489200413, 0.3012649119, 0.3979607522, 0.3040660024, 0.2714360654, -0.1707890034, -0.3828493059, -0.7364004254, -0.3691743016, -0.0470693149, -0.0173719879, -0.0305112731, 0.2612214684, 0.1804416031, 0.5747203827, -0.257340759, -0.0807830766, -0.1339890212, -0.0070329057, 0.3502306342, 0.4519040287, 0.570741415, -0.5328069329, -0.4729551375, -0.0159698073, -0.2589566112, -0.0397300944, -0.0450216793, -0.3465998769, 0.1411240399, 0.3617098033, -0.4184055328, 0.0993698239, 0.7690061331, -0.2304230183, 0.238734737, -0.279445678, 0.1657649428, -0.9728555679, -0.0175088346, -0.2196299732, -0.6393564939, -0.5736954212, 0.1729108691, 0.3627384603, -0.1117533073, -0.3615582883, 0.3715747893, -0.4605078697, -0.2768362164, -0.2152718455, -0.1159348488, 0.2624719143, 0.7223178148, -0.1524030119, 0.784832716, 0.5574988723, -0.5333452225, 0.1239007488, -0.0482641049, -0.1707922667, 0.4461938739, -0.6247556806, 0.1850511432, 0.214589268, 0.1550002098, -0.5686026216, -0.109592557, 0.2635568976, -0.1161447242, 0.1222452819, -0.362624824, -0.7016018629, 0.0811583251, -0.5640746951, 0.8091514707, 0.6871006489, -0.4825085402, 0.6160142422, 0.1509688646, -0.0942224041, -0.4259904325, -0.3088200092, -0.2093774825, -0.5014113784, -0.1377598792, 0.5937222242, -0.2217152864, 0.1179911792, -0.2093097568, -0.3374496698, -0.2956078649, 0.2503266037, -0.1055713445, -0.2190157175, -0.1592332125, 0.1378428936, 0.422888279, 0.0219588019, -0.2317439169, -0.2589659691, 0.4030205011, -0.3144340515, -0.0365589932, -0.5812422633, 0.192471087, 0.4004113078, -0.4992440343, 0.6795341372, 0.7686007023, -0.4788903594, -0.1695305109, -0.3196508288, -0.247865662, -0.4938462675, 0.3966297805, -0.6848577261, -1.1462090015, 0.3528036773, -0.3339253664, 0.0001291154, 0.120471634, 0.5500349998, -0.0800090134, 1.0656273365, 0.5787146091, 0.0625949502, 0.6268646717, -0.1444922239, 0.2170145512, -0.7945082188, 0.3110597432, -0.4009841681, -0.4619283378, -0.4440182447, -0.6485951543, 0.5433881879, 0.6713190079, -0.5622891188, 0.2493180335, -0.3871831298, 0.5754190087, 0.7444396019, 0.2347388566, 0.4275763631, -0.0510573536, 0.2701760232, 0.0130296955, -0.8030537367, -0.080228202, 1.1010376215, 0.3081206083, 0.6721298695, 0.2590820491, 0.7472083569, 0.0282232258, -0.2348773032, -0.9306473136, 0.4466282129, -0.1723028719, -0.071677275, -0.4648757875, -0.5113463402, -0.8983550668, 0.237617895, -0.3267149031, -0.4808305204, 0.1279846132, 0.4501419365, -0.8295776248, 0.1466549784, -0.5583672523, 0.8800542355, -0.3860420287, -0.4981182814, -0.3841049671, -0.4346652329, 0.4091434777, -0.5838201046, 0.2126235068, -0.2919299006, -0.3710511029, 0.7786458731, -0.335740298, 0.8319849372, -0.1185834333, -0.3694983125, 0.0091899186, 0.1376466751, 0.6473159194, 0.1193500757, -0.1362893879, 0.2070414722, 0.5429128408, -0.5833436847, -0.7567279935, 0.7623443007, -0.8759334683, -0.4824141264, -0.0988375992, -0.6425772309, -0.4318268001, 0.2099917382, -0.0590897053, 0.3667969108, 0.2681467831, 0.2798926234, 0.6075344682, -0.3830789924, 0.3032377064, 0.3993745744, -0.1250019073, -0.5123309493, 0.9065940976, 0.0126458807, 0.27918455, 0.6041452885, 0.323246479, -0.1636562496, -0.8367311954, -0.2689749897, 0.3251990974, -0.497500807, -0.6141455173, -0.2275525928, -0.0183940511, -0.2029248625, -0.0186885428, -0.6429014206, -0.6003196836, -0.311137408, 0.2479630113, 0.6215635538, 0.1546662152, 0.1370770186, 0.6274681687, -0.9217249751, 0.5587611198, 0.5194023252, 0.4165417552, -0.3049600422, -0.7786781788, -0.6359741092, -0.0115850195, -0.3043916821, -0.6013839841, 0.2947917879, 0.6797405481, 0.2608439624, 0.228800416, 0.2849372029, 0.8951912522, -0.4865740538, 0.5969928503, -0.0144996867, -1.3207038641, 0.4696370959, -0.4008828104, 0.4938395321, 0.5226549506, 0.3464950025, -0.0785172135, -0.0529442504, -0.2819268107, -0.7953961492, 0.6370810866, 0.1547499746, 0.0462530591, 0.4708123803, 0.7583642006, 0.1007467061, 0.2057413459, -0.8850155473, 0.2607492507, -0.1193651035, -0.3288635015, 0.1576333344, -0.2649801373, -0.1236765236, -0.4436425567, 0.5605382919, -0.5801793337, 0.2071991414, -0.2596699595, 0.0131258108, -0.2177175432, 0.2321074754, 0.3787875175, 0.5425295234, -0.1628478765, 0.1815080941, 0.4587237835, -0.0935650319, 0.0228638723, 0.0715583414, -0.0017996971, -0.3974557519, 0.139412418, 1.073230505, 0.6477233768, -0.7210586667, 0.5137135386, -0.1037434638, -0.4377560318, -0.2026033551, 0.214791432, 0.091211766, 0.5641835928, 0.2026740611, -0.2076187581, 0.2438714206, -0.4209991693, -0.0940849185, 0.4306121171, 0.0684929416, -0.589832902, 0.764256835, 0.2234202027, -0.080184117, 0.2171091884, -0.113484852, -0.2899973989, 0.1475625038, 0.3934536278, 0.445985347, -0.2256930172, -0.0953532457, 0.45624578, -0.005706077, -0.2707392275, 0.4717567861, -0.3506471515, -0.6553153396, -0.8144284487, -0.9005304575, -0.4081185758, 0.2171791047, -0.6214937568, 0.3354854286, -0.5723359585, -0.1672842652, -0.2678972185, 0.067671515, -0.4570152462, 0.0417240933, 0.1269629002, 0.4914813042, -0.5670651197, 1.2376945019, 0.5744974613, -0.1306121349, -0.9357447028, 0.0670898631, -0.4307231605, -0.6358043551, 0.5083522201, -0.1267251372, 0.0414001793, 0.5560991764, -0.463075757, -1.2298523188, 1.1824239492, 0.7265325189, -0.796544373, -0.1677757353, 0.0598400682, 0.3443537354, 0.1584441811, -0.0175715555, 0.7169823647, 0.2973270118, -0.0963127315, -1.051400423, 0.1334355772, 0.1395170093, 0.0778225288, 0.5186050534, -0.8392993808, 0.8595760465, 0.1020958498, 0.0590570122, 0.2679239213, 0.6101150513, 0.4899980724, 0.0111053055, 0.5242293477, 0.5139068961, 0.6733367443, -0.0071683596, 0.7692968845, -0.4503538013, 0.3515696526, 1.0918837786, -0.2475797087, 1.074895978, 0.5213519931, -0.3262373507, 0.3046254814, 0.6382908225, 0.2905429602, 0.6328232884, 0.1561868787, -0.3988230824, -0.4753300548, 0.0909667537, -0.17502141, 0.6125276089, 0.4599711895, -0.0456339046, -0.0839541554, 0.0028752976, -0.1387936175, -0.123715803, -0.5869843364, 0.6745104194, 0.1712997407, -0.4397605062, 1.1830137968, 0.1265812367, 0.6190927029, -0.5851707458, -0.0803447515, -0.2329316437, 0.1308850497, -0.0556352176, -0.3736786842, 0.1276489049, -0.0164390448, -0.0118121104, -0.2805455625, 0.5250654817, -0.4380092621, -0.3482481539, -0.0775778219, 0.5130195022, 0.1154609248, -0.3310771883, -0.7631976008, 0.3656623363, -0.0573681891, -0.2401473522, 0.6730342507, 0.5366165638, -0.1994972676, 0.4846634567, 0.559710443, 0.1509475112, -0.0575694256, 0.1260795146, 0.8182156682, -0.7525740266, -0.3995669484, -0.6485697031, 0.2494915873, 0.3178218901, -0.1098603085, 0.5150705576, 0.3581039906, 0.8206475973, 0.0938346982, 0.5682414174, 0.2797601819, 0.5179659128, -0.8645023108, 0.4570819139, -0.7810204029, 0.2444580048, -0.0969747975, -0.9568548799, -0.4965538085, 0.6342816949, -0.2534847558, 0.1495889127, 0.6024851203, 0.5860626101, -0.1123303622, -0.4772918522, 0.6558155417, 0.2244252563, 0.0569192097, 0.9465582371, 0.6645276546, -0.6419165134, 0.6226934195, -0.3022984266, -0.1028897837, -0.2142471671, -0.8618893027, -0.8745588064, -0.5216363668, -0.4572345912, 0.056047678, 0.2015653253, 0.7236207724, 0.9105266333, -0.6478818059, -0.0534940884, -0.1376610845, -0.1648111641, -0.277564168, -0.1738260835, 0.5110639334, -0.1246872842, -0.9463519454, 0.4223048687, 0.2293126136, 0.0235098992, -0.0331688076, -0.2556076944, 0.1043046266, -0.0690317005, 0.7512483001, 0.3176442683, -0.7263227701, -0.345250845, -0.2456725985, 0.185405165, 0.1055770665, 0.6000285745, -1.0350425243, 0.1683276147, 0.3734147847, 0.7876998782, 0.593136847, 0.141366303, 0.6535797715, -0.7873433828, 0.2102697045, 0.2233043462, 0.2286257148, 0.2481414378, -0.3621696234, 0.4356313646, 0.0214537829, -0.7704102397, -0.8939774036, 0.2120984495, -1.1067200899, -0.2518070936, 0.9363150597, -0.0528610423, -0.2615768015, 0.1470266879, -0.2850664854, 0.4181456566, -0.4205980599, 0.5336281657, 0.256495595, -0.3179723024, -0.8068103194, -0.617410779, 0.6760288477, 0.5815111995, -0.8852059841, -0.0666882098, 0.351369679, 0.3040494621, -0.4567388594, 0.6403630972, 0.1938078701, 0.310896188, -0.3125927448, 0.1454108059, 0.0207623336, 0.0568261035, -0.4057342112, 0.0875655189, 0.6744666696, -0.0867334083 ]
http://arxiv.org/abs/2402.04889v2
http://arxiv.org/pdf/2402.04889v2
Detecting Generated Native Ads in Conversational Search
2024-02-07T14:22:51
2024-04-30T09:15:42
Sebastian Schmidt, Ines Zelch, Janek Bevendorff, Benno Stein, Matthias Hagen, Martin Potthast
cs.IR
cs.IR, cs.CL
Conversational search engines such as YouChat and Microsoft Copilot use large language models (LLMs) to generate responses to queries. It is only a small step to also let the same technology insert ads within the generated responses - instead of separately placing ads next to a response. Inserted ads would be reminiscent of native advertising and product placement, both of which are very effective forms of subtle and manipulative advertising. Considering the high computational costs associated with LLMs, for which providers need to develop sustainable business models, users of conversational search engines may very well be confronted with generated native ads in the near future. In this paper, we thus take a first step to investigate whether LLMs can also be used as a countermeasure, i.e., to block generated native ads. We compile the Webis Generated Native Ads 2024 dataset of queries and generated responses with automatically inserted ads, and evaluate whether LLMs or fine-tuned sentence transformers can detect the ads. In our experiments, the investigated LLMs struggle with the task but sentence transformers achieve precision and recall values above 0.9.
[ -0.3653788865, -1.0192723274, 0.4198863506, 0.1325659156, -0.2806954682, 0.33019045, -0.1254001558, -0.7151562572, 0.6308967471, 0.7698579431, -0.5540988445, -0.4282060862, -0.1099882498, -0.0033809317, -0.5190208554, 0.7272196412, 0.4958212078, -0.3049416542, -0.4811460674, 0.1744485646, -0.6446788311, -0.6941612959, -0.5865083337, -0.0889243484, 0.1434101462, 0.2976466715, 0.6487678289, 0.2554669082, 0.3056328893, 0.352891326, -0.0575111695, 0.3428707719, -0.4238482416, 0.2915415764, 0.0345110819, -0.5644259453, -0.4340732694, -0.0830933899, 0.3653334081, 0.4091163576, -0.2675192356, -0.2815100849, -0.0251742657, 0.3112588525, -0.4933351874, -0.1393674463, -1.2664637566, -0.0100188032, -0.2844773233, -0.2486058772, -0.5185666084, -0.4350045323, 0.2566353381, -0.4392310977, 0.4723257422, -0.0303565748, 1.0587537289, 0.0403281078, -0.594256103, -0.5614161491, -0.7990078926, 0.7380678654, -1.0155413151, 0.2330712974, 0.2793038487, 0.2873247266, -0.5226054192, -0.8168528676, -0.5109263062, -0.1628783941, -0.2632955611, 0.0368445031, -0.6358059049, 0.021258533, 0.2234301269, 0.3213936388, -0.8573890328, 0.3966033161, -0.5400327444, -0.4314671755, 0.8011032343, 0.1583073437, 0.4005121589, -0.2206327319, -0.5551970601, 0.2267750502, -0.8193975091, 0.0267017875, 0.4516765177, 0.443497926, 0.1235997602, 0.5694740415, -0.3235444725, 0.7597867846, 0.0516244918, -0.0267113242, -0.1520923674, -0.3845641315, -0.0196448937, 0.3741925657, 1.0025351048, 0.4107378125, 0.6998978853, 0.078920804, -0.4233396053, 0.5317443013, 0.4576756954, -0.5993376374, -0.0407581441, -0.0022794825, -0.147380054, -0.3167831302, -0.1640616953, -0.4901987612, -0.318187952, 0.0743508786, 0.1504704505, 0.0155698536, -0.0497602262, 0.3153803945, 0.2998788059, 0.1299161762, -0.3598781526, -0.8226456642, 0.6679083109, 0.5748890042, 0.6476489902, -0.2094259411, 0.2028512657, -0.7459277511, -0.040991772, -0.2559015155, 1.0408850908, -0.4066052437, -0.8277273178, 0.21480079, -0.0133504085, -0.2164631039, -0.8374088407, 0.4351501167, -0.842541039, 0.3677375317, 0.0567596406, -0.4844380915, -0.1663165689, 0.3574068546, -0.630235672, 0.9518155456, -0.3026228249, -0.2200394124, 0.2016077787, -0.7278478146, -0.8598646522, 0.2532258034, -0.0536477417, -0.606677413, 0.0405338146, 0.560264647, 0.3613004386, -0.0718313828, 0.3738925457, -0.1960670948, -0.3374764025, 0.5999705791, -0.6413456202, 0.6002409458, 0.4068605304, -0.315145731, -0.0170512181, -0.4144390225, -0.3210556805, 0.4732678533, -0.3598772585, -0.3872671723, 0.323859185, -0.11231222, 0.0642592907, 0.4806259573, -0.7231822014, 0.106752269, -0.5469173193, 0.4002938867, 0.6517195702, 0.1575497091, 0.1205893308, -0.0423283875, 0.8498214483, -0.1444022506, -0.0439877138, -0.3479628265, -0.7472471595, -0.5557048917, -0.0417268015, 0.0654897615, 0.2367138267, -0.4702146649, 0.311080426, -0.3323577642, -0.3876681328, -0.3306799233, 0.3556561172, 0.2353056967, 0.5472328663, 0.0137833767, -0.3080925941, -0.5267208815, -0.9417529702, -0.3249296844, 0.0453845784, -0.1533419788, 0.4996381402, 0.0968912765, -0.0620818324, 1.1564400196, -0.7161035538, -0.3527058065, -0.1511618942, 0.1306909323, 0.0901328325, 0.1404922605, 0.666482389, -0.9843074679, -0.5283116102, -0.263571173, -0.3933783174, -0.4244947433, -0.375954777, 0.3240233064, 0.4262548387, 0.7123647332, -0.7276737094, 0.3059936464, 0.7318716645, -0.304248631, 0.486595422, -0.1557713747, -0.2289705724, -1.149877429, -0.0075408691, 0.254470557, -0.5392463803, -0.4310037196, -0.2141393125, -0.1237938479, -0.3786872029, -0.5136668086, 0.3942815959, -0.3052502871, -0.2834762335, -0.3287190795, 0.5458260179, 0.2795593441, 0.3871963024, 0.1375727654, 1.1589590311, 0.2040511072, -0.8675664663, 0.11911235, 0.2482518852, -0.5476101041, 0.543582499, -1.0581357479, 0.2903865576, 0.2292781174, 0.4496487081, -1.3430659771, -0.0479064099, -0.1532041132, -0.5644335151, -0.1568790376, -0.015735181, -0.6272267103, -0.576358974, -0.2390257567, 0.1753112525, 0.3280796409, -0.5815779567, 0.4822755456, 0.3811981082, -0.3662321568, -0.1672738642, -0.5627518296, 0.3057959378, -0.2791319489, -0.6598457098, 0.4894348383, -0.0669675097, -0.1030668616, -0.0566800535, 0.2187762856, 0.2508319914, 0.3210338354, -0.0195455533, 0.2807042003, -0.3486639857, -0.1157584488, 0.0063657966, 0.0235642344, 0.1253395975, -0.132295385, 0.7631902695, 0.0471282825, -0.5414681435, -0.4884285033, 0.1469151825, 0.9193775654, -0.6294734478, 0.2965648174, 0.4276948869, -0.3415799141, 0.2086084783, -0.6095281243, -0.2505528629, -0.6328415871, 0.2197500914, -0.0758001506, -0.7253756523, 0.5126224756, 0.0663110316, 0.0552047603, 0.3062613308, 0.5311284065, 0.0094009629, 1.7694399357, 0.2986931801, -0.0708979219, 0.4615398347, -0.1479999125, 0.45400545, -0.7597504258, -0.295234412, -0.4416843951, -0.5815597773, -0.9940803051, 0.1511684954, 0.4736994505, -0.1790451854, 0.168650642, 0.5144595504, -0.4369239807, 0.337313652, 0.8635998964, -0.0119047556, 0.2274750173, 0.2041246444, -0.1146047488, -0.1810217798, -0.4580841362, -0.4270896018, 0.9215862751, 0.0493149906, 0.7206766009, 0.1683500707, 0.3971886635, 0.4372026324, 0.0335393026, -0.9998008013, 0.7432156205, -0.2837981284, -0.7423654795, 0.2386425883, -0.084737584, -1.4088187218, 0.0848800689, -0.2282352895, -0.9523825049, -0.0414443873, 0.0630859733, -0.5750430822, 0.3846695423, -0.7500616908, 0.541801393, -0.512242496, -0.3358716369, -0.2946216464, -0.2074309886, 0.2369348556, 0.0459277928, 0.1004734784, 0.0743765458, 0.1664536148, 0.6423411369, -0.1234715581, 1.056624651, 0.0189904477, -0.2195249051, 0.6329731941, 0.3701789975, 0.7048383355, -0.2089264542, 0.3220303357, -0.1690137535, -0.2380793393, -0.5769942999, -0.3951389492, 0.923517704, -0.2054825574, -0.798158586, -0.1608910263, -0.6701407433, -0.1147807613, 0.3302147985, 0.3064405024, 0.3915213048, -0.3970067501, 0.3066290617, 0.6341961622, -0.4072504342, 0.4930239618, 0.7973791957, -0.1937605441, -0.2787979543, 1.0488278866, -0.170253247, 0.236990124, 0.1052565426, 0.4184808135, -0.6346680522, -0.4866330028, -0.2074913383, 0.2666224241, -0.194410488, -0.2566059232, -0.594450593, -0.1487738639, -0.623301208, -0.1881557703, -0.3800288737, -0.1940503865, -0.2739374936, 0.0300845951, 0.281013459, 0.9463362694, 0.1266557127, 0.5502672195, -0.797228694, 0.3189634383, 0.5173390508, 0.193910107, -0.0211808104, -0.1440421492, -0.1787731946, 0.3574937582, -0.7076381445, -0.4771098793, 0.5387929678, 0.1108287796, 0.3817400336, 0.8126173019, 0.076086238, 0.3661347926, -0.2428017855, 1.0746706724, -0.0343821086, -0.4785676897, 0.5777137876, -0.5165048242, 0.3508189917, 0.0525955409, 0.2864120305, -0.6121801734, -0.249223426, -0.5081012845, -0.7546012998, 0.4680675864, 0.1509687752, 0.6407232285, -0.2634339035, -0.0345658623, -0.220405966, 0.156792894, -0.5970835686, 0.0177729968, 0.2509107292, 0.0284719504, -0.037130937, -0.346549809, 0.3408550024, 0.1654610634, 0.4374460876, 0.0208328255, -0.05293734, -0.0607826412, -0.1990236938, 0.0320406109, 0.134000212, 0.8361509442, 0.0908027813, -0.2706531882, -0.0692009777, -0.281237781, -0.3396980762, -0.2177691013, 0.0918916464, -0.2806147635, 0.0180278979, -0.0628336817, 0.4150830507, 0.2057203501, -0.9741547108, 0.5456572175, -0.1902769804, -0.0381238833, -0.3327327073, -0.1735064536, 0.2151665539, -0.065317601, 0.3138211668, -0.0752483681, 0.235817343, -0.4700020552, 0.1837685257, 0.9282392263, -0.4157239795, -0.5041692853, 0.861353755, 0.4876921773, -0.7820442319, 0.7717660069, -0.0445257649, -0.9955374002, 0.6086940765, 0.917762816, 0.9360132813, -0.266190052, 0.0016208387, 0.144064337, 0.2094861418, 0.2640475631, 0.0688714832, -0.1126790121, -0.8668996096, -0.473218888, -0.2195082903, -0.3497703671, 0.5389385223, -0.6240430474, 0.4162046909, -0.2140896618, -0.1093662307, 0.1412198693, -0.0953962654, -0.6434559822, 0.0379865617, 0.5720683336, 0.4786811769, -0.755030036, 0.5089663863, 0.5971672535, -0.1976377666, -0.2306690067, -0.0957317576, 0.2099200934, -0.8301618695, 0.2437284589, 0.3404027522, -0.5704587698, -0.0027838605, -0.7057805657, -0.5681916475, 0.7519066334, 0.1660063267, -0.5053392053, 0.0457279459, 0.3374965787, 0.5697327852, -0.2620358169, -0.101598762, 0.4903447032, 0.0131116873, -0.1027887464, -0.9572004676, -0.0251124762, -0.1662683636, -0.0646418631, 0.0631014183, -0.4739915431, 0.6304464936, -0.02275878, -0.4165208936, 0.2405924052, 0.2108739614, 0.239851132, 0.4357442856, 0.4766232371, 0.478976965, 0.3908123374, 0.1965605766, 1.1411662102, -0.2237828672, 0.019795401, 0.8902417421, -0.4650810361, 0.827960372, 0.3382112384, -0.144961223, 0.7310515046, 0.5697099566, 0.0305349119, 0.2981185317, 0.1485202014, -0.2905870974, -0.3280959427, -0.6771873832, 0.0876574218, 0.8012816906, 0.7564647198, -0.2943661511, -0.2714323699, -0.0644821525, 0.1541569084, 0.6650189757, 0.0992287993, 0.8924248815, -0.0642535463, -0.8165758848, 0.7669157386, -0.0861698538, 1.0515440702, -0.6748464704, 0.0300989617, -0.4995840788, 0.1727196574, -0.0497418046, -0.5042674541, 0.2359520942, 0.0727377832, 0.1439571232, -0.0341235325, 0.8651713133, -0.3096257448, -0.5267509222, 0.1709404886, 0.3521936834, 0.1148029193, -0.2385983318, -0.6755704284, -0.1810887605, 0.0951242, -0.2412208617, 0.2134682238, -0.0766271949, -0.2608467937, 0.7574726939, 0.9805240631, 0.0871355683, 0.0650102645, -0.0281161834, 0.6653160453, -0.4345369041, -0.6748508215, -0.7305826545, 0.1496791691, -0.1150050461, 0.0334086567, 0.6451147199, 0.7572993636, 0.9113368988, 0.2149012685, 0.7243560553, 0.3075487018, 0.3549685776, -0.4400706291, 0.654687047, -0.673386097, 0.6029244065, -0.2059671134, -0.853482604, -0.1591684371, 0.1488123983, -0.3968915343, -0.1127514765, 0.2271871418, 1.0469747782, -0.4007683098, -0.1605307013, 0.3259458542, -0.1052704006, 0.7391739488, 0.4728562832, 0.8566298485, -0.3318360448, 1.0976022482, -0.2523834109, 0.268710047, -0.3916647732, -0.6381266713, -0.8207849264, -0.3013888299, -0.2564086616, -0.267519176, -0.3763373196, 0.6697836518, 0.5732522607, -0.8950375319, -0.4469353259, -0.1649403274, 0.1376122534, -0.1787126958, -0.3331963718, 0.2482066154, -0.1210276634, -1.0855337381, 0.7550910711, 0.0170559082, 0.3707419634, -0.4705811143, 0.1412474215, -0.581879437, 0.3194370568, 0.5833960176, 0.3332620263, -0.7460952401, -0.0935169756, 0.5195644498, -0.1652055234, 0.0979232565, 1.0286960602, -1.0756599903, 0.8874887228, 0.2967067659, 0.5017561913, 0.5267691016, 0.1627512127, 0.8339300752, -0.9271138906, 0.1498754472, 0.2874331176, 0.3103870749, 0.5960006118, -0.4097769856, 0.2416538596, 0.1207289845, -0.3231092095, -0.7910174727, 0.4408916831, -0.6416127086, -0.199396506, 0.931163609, 0.1290248334, 0.0613210425, -0.1203852594, -0.2593009174, -0.0945581943, -0.4365547895, 0.880445838, 0.3020527959, -0.0612438135, 0.3652842939, -0.4478509724, 0.1863704771, 0.5917729139, -0.4024173617, -0.1266552806, 0.3683380783, 0.2584596276, 0.4089887142, 0.3990392685, -0.1060463414, 0.2867644429, -0.2071920782, -0.0932841152, -0.0248395689, 0.0799264088, -0.2274996042, -0.284486711, 0.1705232561, -0.6043173075 ]
http://arxiv.org/abs/2402.04875v3
http://arxiv.org/pdf/2402.04875v3
On Provable Length and Compositional Generalization
2024-02-07T14:16:28
2024-06-07T20:25:05
Kartik Ahuja, Amin Mansouri
cs.LG
cs.LG, cs.CL, stat.ML
Out-of-distribution generalization capabilities of sequence-to-sequence models can be studied from the lens of two crucial forms of generalization: length generalization -- the ability to generalize to longer sequences than ones seen during training, and compositional generalization: the ability to generalize to token combinations not seen during training. In this work, we provide first provable guarantees on length and compositional generalization for common sequence-to-sequence models -- deep sets, transformers, state space models, and recurrent neural nets -- trained to minimize the prediction error. Taking a first principles perspective, we study the realizable case, i.e., the labeling function is realizable on the architecture. We show that limited capacity versions of these different architectures achieve both length and compositional generalization. Across different architectures, we also find that a linear relationship between the learned representation and the representation in the labeling function is necessary for length and compositional generalization.
[ -0.3492197692, -0.3965278268, 0.7345143557, 0.1391475946, -0.3681004643, -0.102138862, -0.2699069679, -0.4714471102, 0.2246647179, 0.5500691533, -0.5824751854, -0.0867728367, -0.5671229362, -0.178900227, -0.5761396289, 0.9584700465, 0.132445544, -0.0803391188, -0.3518424034, -0.3804222047, -0.455758512, -0.6039125919, -0.0657121092, -0.2869005799, 0.6573147774, 0.0979847834, 1.0228130817, 0.7129946947, 0.6595150828, 0.2297949642, -0.0070322687, 0.0852730498, -0.3228556216, 0.0271495916, -0.0322496705, -0.700122118, -0.2735311687, -0.1567119062, 0.9662140012, 0.9107256532, 0.0138398092, 0.1274795532, -0.1518523246, 0.8805795312, -0.5864130259, -0.0965296179, -0.1821907014, 0.465657115, 0.1376051754, 0.1508139521, -0.5418813229, -0.2792997062, 0.5166670084, -0.8556197286, 0.2131488174, -0.1392847449, 0.5092284679, 0.2256079614, -0.3171637058, -0.1021408215, -1.136097312, 0.9211685061, -0.5085023046, 0.5419850349, 0.138767004, 0.6211946607, 0.0319795199, -0.9500755668, -0.4189825356, -0.4475340545, -0.5138169527, 0.0303095654, -0.0519309938, 0.3153224587, 0.2202579528, 0.6185584664, -0.7251554728, 0.1392922997, -0.3830666542, -0.1341156363, 0.5528561473, 0.086231485, 0.1230537295, 0.3282855153, -0.315549314, -0.1519947052, -0.7480818629, -0.1350826025, 0.3741509914, -0.2138604373, -0.0965006277, 0.6600646377, 0.0312533118, 0.7365688682, -0.0930797979, 0.2821280658, -0.0864264369, -0.3267534971, -0.3582367897, -0.1728253067, 0.4605223238, -0.2704453766, 0.2651436627, -0.561365366, -0.1269098371, -0.044360619, 0.3739242256, -0.6668698192, 0.0128470995, 0.1485881805, -0.681321919, 0.0446118154, 0.4549786448, -0.2094969302, -0.1562449932, -0.5563282371, 0.58320719, -0.2934228182, -0.1450048089, 0.315859884, -0.1577814817, 0.0026260985, -0.3944480419, -1.1717588902, 0.4519165456, 0.9095560908, 0.8853700757, 0.1066138372, -0.1113096625, -0.1425391734, 0.1301508993, -0.4158553481, 0.2449258417, -0.3644427061, -0.3517035842, 0.0010918255, -0.2216498703, 0.0055466718, -0.5385046005, 0.0761961117, -0.7391436696, -0.2004120648, -0.2152298242, -0.9720805883, -0.1754124165, -0.1040284932, -0.7875342965, 0.2046133578, 0.3339694738, -0.6596013308, 0.3685828745, -0.5286120176, -0.7088041306, -0.1811831295, -0.1169514135, -0.5664104819, 0.5409681797, -0.3240999281, 0.4000426233, 0.0253694914, 0.4898222685, -0.2799779773, -0.4712767303, 0.4979158342, -0.4142655432, 0.2830384374, 0.4676727355, -0.0218543112, 0.119442068, -0.9680351615, -0.0658405349, 0.0306565687, -0.7612633109, 0.0351345949, 0.2982062399, -0.3853518367, -0.2001254857, 0.3579242527, -0.4499761462, 0.234523952, -0.743139565, 0.6087580919, 0.4989884496, 0.0284955278, 1.0003755093, -0.308193773, 0.4902660847, 0.1523473859, 0.3496804237, -0.3728852272, -0.3114649355, -0.7110055089, -0.2348959446, 0.4890170991, 0.6106241941, -0.5169429183, 0.5709765553, -0.3905348778, -0.4940959215, 0.0418986566, -0.1210276932, 0.6036770344, 0.2993750274, 0.3612131774, -0.2575052083, -0.7441325784, -1.1434810162, -0.1698773652, -0.041290231, -0.2738214433, -0.0648176, 0.2940217257, -0.2297591865, 1.2989919186, -0.7466933727, -0.0103255659, -0.3356570005, -0.1350878179, 0.4927087426, 0.5886255503, 0.4529710412, -0.6462842822, -0.2066892982, -0.0763251558, -0.6786429882, 0.4261471033, -0.1222118884, -0.047861468, -0.1518972218, 0.1705166847, -0.4680518508, 0.5701372623, 0.4781783521, -0.0602730885, 0.227051571, -0.6329742074, -0.4743060768, -0.9628733397, -0.1925286055, 0.1564818472, -0.1646724939, -0.9653834105, -0.0719340071, -0.1540339738, -0.1001528949, -0.3733606935, 0.4103856981, -0.1365988553, -0.5762219429, 0.0187977403, -0.4453518093, 0.1056452543, 0.3506835401, 0.2736341357, 0.5696386099, 0.5856025219, -0.9496370554, 0.1246303916, 0.2564275265, -0.5294627547, 0.1735392511, -0.87127918, -0.2280407697, -0.2613574564, 0.4334085286, -0.7769581079, -0.1648890078, 0.2919270396, -0.2355758548, 0.3565368652, -0.1137770861, -0.2199220061, -0.3258510232, 0.1305626035, 0.6791136861, 0.6293339133, -0.4175059199, 0.5516617894, -0.0143444613, 0.4220958948, -0.7816879749, -0.9576802254, -0.4661360681, -0.1210280508, -0.7631406784, 0.5626449585, -0.2103876621, -0.1356151104, -0.3333066404, -0.048072163, -0.2319431603, 0.0291804541, 0.2016011328, 0.0157556925, -0.2742086351, 0.3596332073, 0.0134222396, -0.1289778799, -0.1368719637, -0.6618483067, 0.5006638169, -0.0507616773, -0.4582325816, -0.1952679902, 0.4249844849, 0.1809494048, -0.1649174541, 0.7949722409, 0.4837517142, -0.2865413725, -0.1760426164, -0.1418168843, -0.4070545435, -0.4632378817, 0.4515446424, -0.2503446043, -0.885240972, 0.770930171, 0.2203678936, 0.0137472693, 0.2437908649, 0.0272361711, -0.0931895748, 0.7706090808, 0.439907372, -0.0974669904, 0.5399987698, -0.7722782493, 0.4583984911, -0.6223429441, -0.1841927767, -0.0304449406, -0.6869292259, -0.5546889305, -0.261457175, 0.3557047546, 0.0147308065, -0.367426753, 0.4677169621, -0.5635475516, 0.7337719798, 0.8405176401, 0.3158682287, -0.1894335449, 0.0784140527, 0.0368189327, 0.0596170425, -0.6460385323, -0.1048045754, 1.1223523617, 0.5269616246, 0.4218283892, 0.2272324413, 0.8805147409, 0.4436536729, 0.0515521616, -0.9037796855, 0.5475819707, -0.6498737931, -0.637558341, -0.3929199278, -0.1987163723, -0.9404663444, 0.0883421525, -0.0987679139, -0.3563401699, 0.6190524101, 0.3431533277, -0.4261865914, 0.2842817605, -0.4919452965, 0.566632688, -0.1534279585, 0.1084709689, -0.2522259057, -0.8704134226, 0.4292514026, 0.1959282309, -0.0312146489, 0.2080813497, 0.1339828074, 0.5394220352, -0.641459167, 0.9056868553, -0.1042150408, 0.0775933862, 0.6100133061, 0.184852615, 0.2964586318, 0.1514513642, 0.3112483919, 0.1608788818, -0.1392715126, -0.3935685754, -0.5216571689, 0.2592129111, -0.8037893772, -0.4822281301, 0.018127948, -0.2621634901, -0.1938210428, -0.0458662435, 0.7344634533, 0.6261687279, -0.2972554862, 0.2299932837, 0.964700222, -0.1113280877, 0.6507205367, -0.019155845, 0.0051604914, -0.5580545664, 0.9311825633, 0.2949531078, 0.4610546529, 0.7390698195, 0.370754391, -0.571888268, -0.4965631664, -0.0270462614, 0.0583137423, -0.9914106131, -0.0635462999, -0.3291679323, -0.4645766616, -0.1905411482, -0.2349914312, -0.3643655479, -0.7741392851, -0.6621849537, -0.3559286296, -0.0692329109, 0.9295547605, -0.3395862579, 0.5807974339, -0.8274275661, 0.3384954333, 0.6351807714, 0.3062583506, 0.0291535947, -0.690405786, -0.4637480676, -0.0019250039, -0.3828578591, -0.7711833715, 0.0750482902, 0.4735789895, 0.4300862849, 0.6509570479, -0.2502456307, 0.306861639, -0.3853860199, 0.7084576488, 0.4776328802, -0.8207674026, 0.381782949, -0.2091106921, 0.0238645393, 0.1942953467, 0.330334872, -0.4713709056, 0.106407918, -0.5602473021, -0.6928988695, 0.2999506295, 0.0748102739, 0.4472477734, -0.1930435151, 0.5493488312, 0.1446925253, 0.2026233673, -0.6052894592, -0.3201601207, -0.4866112173, -0.2368866205, -0.2361283749, -0.4815402031, -0.0454097502, -0.0532104596, 0.4141622186, -0.0260030255, 0.4127783477, 0.2352516949, -0.0928866118, 0.3374551833, 0.4446292818, 1.0529509783, 1.0070639849, -0.1475796551, 0.0683121309, -0.1607394814, -0.2787408531, 0.5691533685, -0.1511166394, -0.150272131, -0.0412706286, 0.5585250258, 1.0013881922, 0.2681978047, -0.4096955955, 0.4885818064, 0.4037361443, -0.2763706744, -0.3760505915, 0.1521367878, 0.1899401844, 0.3047380149, 0.1078163385, 0.0973497406, 0.3314169645, -0.3464348614, 0.2342739403, 0.1897564232, -0.270372957, -0.5952020884, 0.5274071693, -0.1226327494, -0.142620787, 0.6309679151, -0.1078528836, -0.2518263459, 0.9057916403, 0.5443925858, 0.8922235966, 0.0737793893, 0.4613342285, 0.3498696983, -0.1264831573, -0.3396691382, 0.0226655882, -0.2268678844, -0.8662452698, -0.2474987805, -0.5770856142, -0.2848599255, -0.1047575399, -0.6564257145, -0.0733525604, -0.8067131042, -0.4335002601, -0.1023611724, -0.4001474977, -0.5404025912, 0.3157068789, 0.126359418, 0.7000250816, -0.6893892884, 0.5654456019, 0.4037100673, -0.3935340941, -0.7113457322, -0.4216997325, -0.5178964138, -0.6805817485, 0.9436353445, 0.1286753863, 0.3561784923, -0.0927091464, -0.3897816241, -0.813087225, 1.2616813183, 0.4604465663, -0.9267368913, -0.040896561, 0.6448833346, 0.5133280754, -0.5469296575, -0.1270870864, 0.7716926932, 0.434730351, 0.3276552558, -0.4972665906, -0.3729904592, 0.3937859833, 0.3966048658, 0.1483717412, -0.5426981449, 0.8115447164, -0.3068006039, -0.1733159125, 0.2414676696, 0.77429533, 0.2892223001, 0.3807480931, 0.2337596714, 0.9585401416, 0.4549950063, -0.1576768458, 1.1516081095, -0.0832778811, 0.1585151553, 1.1239752769, 0.0617641583, 0.6493343711, 0.2905276716, -0.4909251332, 0.3126629591, 0.6813898087, -0.071018666, 0.8322868943, 0.6592047215, -0.4843954444, -0.1420453489, 0.1371555626, -0.3376314342, 0.1504148692, 0.1876873225, -0.848061204, 0.2651879787, 0.0306484606, -0.2116103917, 0.073899731, -0.3254925609, 0.8534122705, 0.1410732865, -0.7332434058, 0.4700489342, -0.0804678723, 0.5382980704, -0.6132007837, 0.1929451525, -0.2833122313, 0.2482970953, -0.0203538295, -0.7644716501, 0.3905497193, -0.7574185729, -0.6540263891, 0.1954293102, 0.6824839711, -0.2878500223, -0.3829336762, 0.0345892943, -0.0343449414, -0.2710965574, -0.0344824605, -0.2060692012, -0.2551548183, -0.275728792, -0.2372364551, 0.3924980164, -0.1609693617, -0.0327695869, 0.6688076258, 0.4081665277, -0.0108456491, 0.6848521829, 0.018076444, 0.729562819, -0.3211466372, -0.5768131614, -0.9257490039, 0.6123456359, 0.1782419831, -0.0388706774, -0.2460038662, 0.482996285, 0.7926941514, -0.7453950644, 0.8421484232, 0.1528478861, 0.0496147759, -0.5386590958, 0.3257281482, -0.3290979564, 0.0975208879, 0.4981780946, -1.236695528, -0.412294209, 0.4626761377, -0.1813636273, -0.0805963576, 0.4615039527, 0.5284035802, -0.0935557932, -0.1702324897, 0.5397729278, -0.2620441318, 0.3432098031, 0.6765910983, 0.6997669339, -0.3856840432, 0.3419991136, -0.2069821656, 0.1077670678, -0.1050891802, -0.7434068918, -0.6747735739, -0.7087260485, -0.0807081088, -0.1471279562, -0.04526788, 0.336486429, 1.0313045979, -0.7126877904, 0.0165729169, -0.4724753499, 0.0620224252, -0.1260538399, -0.1727995574, 0.1546445191, -0.2399349958, -0.280081898, 0.3355222046, 0.3230285645, 0.4858606756, -0.3571593165, -0.4324657917, 0.2323341072, 0.4568346143, 0.5350272059, 0.6306444407, -0.677577734, -0.3428969979, -0.142222777, 0.3656239808, 0.1464885026, 1.0838750601, -0.5039211512, 0.3018108606, 0.7660298347, 0.6949613094, 0.2580849528, -0.1043962613, 0.5353139639, -1.1757534742, 0.2004005462, 0.1588852555, 0.5410811901, 0.051160112, -0.4090149999, 0.6514800191, 0.1749740839, -0.5880377889, -0.3819319606, 0.9615395665, -0.8134256005, -0.2939540446, 0.7713209987, -0.5237968564, 0.0595667325, 0.4109911323, 0.1750909835, 0.4287559688, 0.1008365899, 0.3766852915, 0.7095354199, -0.0372044742, -0.0225252043, -0.0256194603, 0.4314530492, 0.2388495356, -0.611700356, -0.1526243836, 0.4171000719, 0.279861331, 0.3506523073, 0.4233230054, 0.1847547293, 0.2216107845, -0.2543373704, -0.4154980779, -0.2198003083, -0.5968544483, -0.3087219298, 0.067394115, 0.0161728598, -0.3562132418 ]
http://arxiv.org/abs/2402.04858v2
http://arxiv.org/pdf/2402.04858v2
CodeIt: Self-Improving Language Models with Prioritized Hindsight Replay
2024-02-07T13:55:27
2024-07-01T10:03:33
Natasha Butt, Blazej Manczak, Auke Wiggers, Corrado Rainone, David W. Zhang, Michaël Defferrard, Taco Cohen
cs.AI
cs.AI, cs.CL, cs.LG
Large language models are increasingly solving tasks that are commonly believed to require human-level reasoning ability. However, these models still perform very poorly on benchmarks of general intelligence such as the Abstraction and Reasoning Corpus (ARC). In this paper, we approach ARC as a programming-by-examples problem, and introduce a novel and scalable method for language model self-improvement called Code Iteration (CodeIt). Our method iterates between 1) program sampling and hindsight relabeling, and 2) learning from prioritized experience replay. By relabeling the goal of an episode (i.e., the target program output given input) to the realized output produced by the sampled program, our method effectively deals with the extreme sparsity of rewards in program synthesis. Applying CodeIt to the ARC dataset, we demonstrate that prioritized hindsight replay, along with pre-training and data-augmentation, leads to successful inter-task generalization. CodeIt is the first neuro-symbolic approach that scales to the full ARC evaluation dataset. Our method solves 15% of ARC evaluation tasks, achieving state-of-the-art performance and outperforming existing neural and symbolic baselines. Our code is available at https://github.com/Qualcomm-AI-research/codeit .
[ -0.2116191834, -0.5849454999, 0.4888707399, 0.4213738739, 0.1080939025, 0.3936977684, -0.4302217364, -0.0335728489, 0.2820994854, 0.4536547959, -0.4347843528, -0.5228860378, -0.5066819191, -0.0995659381, -0.4607224464, 0.964989841, -0.0321354903, -0.1362882107, -0.1245635226, -0.2064456642, -0.8364582062, -0.7551622987, -0.5595569611, -0.3137043715, 0.3742484152, 0.8022537231, 0.4459836185, 0.4105438292, 0.4964453578, 0.2962200046, 0.5185970664, -0.1464552134, -0.6038244963, 0.0717990324, -0.1065985784, -0.427058816, -0.3702560961, -0.0185003765, 0.5515863299, 0.5990403295, -0.1675612628, 0.1063266695, -0.079349868, 0.5900514126, -0.6689460874, 0.1331012845, -0.4459420741, -0.1678759456, 0.2832022905, -0.2374181449, -0.4143884778, -0.4648604989, -0.0970525518, -0.5551895499, 0.0596276745, 0.1167422235, 0.6144832373, 0.4114508927, 0.1455992311, -0.019333275, -0.7916216254, 0.857413888, -0.7717084885, 0.1649350226, 0.3880783319, 0.267531991, 0.0222474132, -0.9452175498, -0.4276528656, -0.3734770417, 0.0376166701, -0.055288706, -0.5131398439, 0.0863502473, 0.2820321023, 0.4047547579, -0.5930390954, -0.1048131511, -0.4360407591, -0.2936231494, 0.5736464262, 0.1162134036, 0.3076533079, 0.2932455242, -0.016308289, -0.3500200808, -0.6221554875, -0.1006849781, 0.165536806, -0.0163261425, 0.2287106961, 0.4000258446, -0.4544516802, 0.4381411672, 0.1049279273, 0.4523076415, 0.5851017237, -0.3889901042, -0.122799933, -0.0689760819, 0.4544735253, 0.1885290891, 0.3916982412, -0.4129024148, -0.2955769002, 0.3912867606, 0.6375052333, -0.6582715511, -0.574895978, 0.3219325542, -0.2901970446, -0.1905906945, -0.4214634299, -0.5752440691, -0.0535046048, -0.4441428781, 0.485075891, -0.5699096322, -0.4538005888, 0.1634496897, 0.1030670702, 0.0385800414, 0.1743279397, -0.7601763606, 0.3287100494, 0.8184053898, 0.5883472562, -0.2348984927, -0.7509788275, -0.5728068352, -0.2309776396, -0.6447437406, 0.8508743644, -0.6547877789, -0.1351206601, -0.3158963323, -0.3875587583, -0.0614615791, -0.6864590049, 0.2514593601, -0.2533144355, -0.1162762344, 0.132807076, -0.5051805377, -0.1497271657, 0.2621841729, -0.3714787662, 1.1617970467, 0.0307604689, -0.4841941595, 0.3342513144, -0.7545407414, -0.374312073, -0.1188980266, -0.3144983351, -0.3283000886, 0.3934082091, 0.3853485286, 0.4090035856, -0.1173283085, 0.736946106, -0.137898013, -0.601832211, -0.1971991807, -0.3388780653, -0.0154862851, 0.1534051895, -0.6641641259, 0.5574912429, -0.7536225319, 0.4182687402, 0.0427888893, -0.1191669926, -0.3741006851, -0.0053612585, -0.2175220847, 0.192719385, 0.0406825542, -0.2577702105, 0.3158093095, -0.7635297775, 0.563244462, 0.7604904771, -0.0228911415, 0.6536494493, -0.3377445042, 0.5775468946, -0.1159748882, 0.0896093473, -0.3491456509, -0.3528491855, -0.9257691503, 0.0196952783, 0.246715501, 0.4146827757, -0.6881673336, 0.1993605047, -0.389534086, -0.4584782124, -0.4159985185, -0.0641339347, 0.6693776846, 0.291344285, 0.5878462791, -0.462970674, -0.4556377232, -0.9848288298, -0.286664784, -0.3176307082, -0.0849739835, 0.2551715374, 0.420163691, -0.3027415276, 0.993830204, -0.41426301, 0.0095402086, -0.3651816547, 0.5965787768, 0.3889194131, 0.7573280931, 0.1735772491, -0.5406461358, 0.0434961431, -0.2306679934, -0.6618495584, -0.0406215005, -0.3291695714, -0.12667723, -0.0603527948, 0.6460532546, 0.00867448, 0.5305873752, 0.4594449103, -0.3915400803, 0.6692456007, -0.3981525004, 0.3704384863, -0.6382037997, 0.1739973873, -0.3748823404, -0.0268038232, -0.4917781353, 0.1950270981, 0.0418877155, -0.183910355, -0.2154482603, 0.5914281607, -0.4068702459, -0.2046009004, -0.4356411099, -0.2193367183, -0.3107307255, 1.0577731133, 0.1657377034, 0.9023332596, 0.5851182342, -0.5965027213, 0.0776468366, -0.1777310669, -0.2741943896, 0.1414215416, -0.7348121405, 0.3480273783, 0.0259783864, -0.1373898089, -1.1191563606, 0.2219382375, 0.1612330675, -0.4795269072, 0.1695705056, 0.0577982366, -0.1118164808, -0.3678411841, -0.0095492946, 0.7563175559, 0.565964818, -0.4640004635, 0.8253073692, 0.2273222357, -0.1967492402, -0.7991630435, -0.4682831466, 0.2799327374, -0.0917595476, -0.3377663493, 0.1521369815, -0.2935317457, -0.1744662374, -0.0889600888, -0.3671344221, -0.1159131974, -0.021348983, 0.4119175375, -0.0140996426, -0.2252227515, 0.2846289873, 0.1364643276, -0.3738504648, 0.1475844532, -0.4388182163, 0.6302843094, -0.5161953568, -0.3065685034, -0.2225915194, 0.3398734927, 0.2519025803, -0.3248961568, 0.0492821336, 0.2666492462, -0.2667112052, -0.3027666509, -0.7991557121, -0.4635108411, -0.4348247945, 0.5825990438, -0.5799179077, -0.9090559483, 0.2254636586, -0.407617867, 0.2146915197, 0.1961165965, 0.4089030921, 0.0825208649, 0.8597784042, 0.784268558, -0.4766174257, 0.4239648879, -0.577585578, 0.1812586933, -0.4573793113, 0.1286049634, -0.3433195651, -0.3585879207, 0.0106503461, -0.5580522418, 0.0233642217, 0.2432337999, -0.4815250635, 0.4386190772, -0.7000297904, 0.5579336882, 0.8702147007, 0.0925230384, 0.4111587703, -0.055416096, -0.2250103205, -0.0639924705, -0.9685500264, -0.3492713571, 1.1958925724, 0.1790933758, 0.7745932937, -0.3836535513, 1.0672608614, 0.5199367404, 0.6161821485, -0.4406384826, 0.5737397671, 0.1607412249, -0.2250936031, -0.4615251422, -0.3792491257, -0.7635160089, 0.024277892, 0.0481759124, -0.6220645905, 0.3275476992, 0.4394871294, -0.3325744867, -0.0115578994, -0.8748505712, 1.1464825869, -0.1783342212, -0.2992694378, -0.8247582316, -0.5000086427, 0.2038186491, 0.0094515458, 0.1937749833, -0.0939581543, 0.1697125733, 0.5539360642, -0.3863282502, 0.8123778701, -0.0206375103, 0.2569585145, 0.2710611522, 0.3218821883, 0.3782311678, 0.1427800059, 0.168674469, 0.4180191159, -0.2439087629, -0.4271234572, -0.8421831131, 0.6516151428, -0.6387434006, -0.7877111435, -0.3679226339, -0.5092079639, -0.2048763782, 0.1002163514, 0.0384256765, 0.6465173364, -0.2498434633, -0.0432543643, 0.3565193415, -0.3992301822, 0.5253706574, 0.1441705674, -0.2613304555, -0.4136086404, 1.0816627741, -0.2374375015, 0.2427141815, 0.2741322517, 0.0682434738, -0.083768867, -0.5866869092, -0.2971430719, 0.1387965381, -0.6977299452, -0.2459947169, -0.5924906135, -0.0958842039, -0.2265197486, -0.3184600472, -0.6382805705, -0.399281472, 0.2093368918, -0.0611734092, 0.1852560043, 0.602801919, -0.217360422, 0.1392106712, -0.3556602895, 0.3221684396, 0.2664644122, 0.466252476, 0.1223653182, -0.2886807323, -0.2638638914, -0.01550081, -0.0711206347, -0.466378659, 0.3581902981, 0.1047152802, 0.5585954189, -0.1198778749, 0.0543626994, 0.7489655018, -0.6029515862, 0.4137689173, 0.2076966316, -1.0710227489, 0.6970564723, -0.0339382887, 0.4472743571, 0.7768871188, -0.001532895, -0.5214692354, -0.699727118, -0.6571489573, -0.9990349412, 0.5461547971, 0.3032528758, 0.1350401789, -0.127294302, 0.3584192991, -0.1533390135, 0.1389538348, -0.5660228729, -0.1591581106, -0.4360679388, -0.1784454435, -0.2212099731, -0.1098793373, 0.0267141201, -0.3347405195, 0.5466272235, -0.3894875646, 0.5352779031, 0.33253479, -0.2646720707, 0.3284356296, 0.2394007444, 0.5650761127, 0.9153513312, 0.094651401, -0.0825390294, 0.1469797343, -0.419368118, 0.2572822869, -0.1480277032, 0.1251055002, -0.1540064365, 0.3006603718, 0.6242260933, 0.6369969249, -0.9527037144, 0.5552578568, -0.2618921399, -0.0967469439, -0.3707786202, 0.183739692, -0.0395846888, 0.4308757484, 0.4411589205, 0.2516686618, 0.2935582995, -0.4520143569, 0.5845894814, -0.0131923147, -0.1807291657, -0.0872980356, 0.8241761327, 0.0252336953, -0.3509676754, 0.739146769, -0.1239189878, -0.3236540854, 0.8331628442, 0.4128190279, 1.0135873556, -0.1648714542, 0.2095730007, 0.6754543781, 0.1539179683, -0.2431726903, 0.3845128417, -0.21916987, -0.764082551, -0.6919885278, -0.3816708624, -0.3006640673, -0.2281596363, -0.3927024603, 0.0804577544, -0.5043127537, 0.025462877, -0.2234043479, -0.2656448781, -0.5407222509, 0.2995976508, -0.1923532784, 0.8253234625, -0.5728614926, 1.1453715563, 0.3814347982, -0.6329727173, -1.0917434692, 0.0260254554, -0.5211752653, -0.9517349601, 0.7243173122, 0.0720108226, -0.0896242037, 0.2694836855, -0.4889058769, -0.9592248201, 0.7297545075, 0.3691209853, -0.7350841761, -0.2312442213, -0.1762428731, 0.6141353846, -0.5123156309, 0.5073644519, 0.6137187481, 0.3969522417, -0.024838483, -0.7333755493, -0.074811399, -0.5069209933, 0.0555647276, 0.2247549742, -0.3387946486, 0.4551229775, -0.4444690645, -0.0390717871, 0.1786639988, 0.7570459843, 0.2544510663, 0.3893062472, 0.4465569854, 0.5713602901, 0.4065769613, -0.2139965594, 1.0581495762, -0.4654299915, 0.2634827793, 1.4532546997, 0.0303593352, 0.7876916528, 0.4046668112, 0.0619249195, 0.5008636117, 0.3727432787, 0.0143755497, 0.5034818053, 0.4345404208, 0.174560219, -0.3622887135, 0.3652115762, -0.3967795372, 0.4286029935, 0.1549115777, -0.2671539485, -0.1593163162, 0.246941492, -0.1151961237, 0.3487859368, -0.3600118458, 0.7534780502, -0.1672772169, -0.853254199, 0.8455525041, -0.2148515284, 0.7212895155, -0.5404101014, -0.4196108282, -0.5277762413, 0.3939109445, 0.0627291352, -0.4960452616, 0.5207569599, -0.2150398344, -0.0757049248, -0.2600314319, 0.4587422907, -0.3330095708, -0.4570775032, 0.4044722319, 0.4203214943, 0.2651318312, -0.2600823045, -0.6489456892, 0.0569024123, -0.0743008852, -0.2170311809, 0.194104284, 0.0793840587, -0.2300112396, 0.8963699937, 0.4369499683, -0.005550677, 0.1708862931, 0.1785179377, 0.9639245272, -0.8228748441, -0.575678885, -0.6445762515, 0.4359422028, -0.0987563059, -0.5610870719, 0.5160303712, 0.7183533311, 1.041904211, -0.0645645112, 0.6670485139, 0.0143769355, 0.3971085846, -0.307064414, 0.517247498, -0.4055785537, 0.2290182859, -0.5297704339, -0.775724411, -0.3722987175, 0.6711444259, -0.5202829838, 0.0035083217, 0.7577652335, 0.8914170265, 0.0789233521, -0.0467839614, 0.4888944924, 0.2304097116, 0.1330590993, 0.9770295024, 0.8402779698, -0.3877855241, 0.5654439926, -0.2750575244, -0.3304083645, 0.1293313801, -0.6818290949, -0.6262269616, -0.6331832409, -0.4290441573, -0.1681250185, 0.4384889007, 0.8125095367, 0.8743598461, -0.9477465153, -0.4082668722, -0.4722794592, 0.1641977429, -0.7043411136, -0.1944520772, 0.2978629768, -0.6916434765, -0.6821935177, 0.5105353594, 0.4872530401, -0.5503784418, -0.0251619127, -0.2732235491, -0.0974428132, -0.1335689723, 0.3728323877, 0.6000948548, -0.724123776, -0.4131567776, -0.0095618023, 0.1551163495, 0.3415502608, 1.2488723993, -1.2518966198, 0.4634976983, 0.2127726078, 1.0093433857, 0.58398211, -0.0630109608, 0.9235737324, -0.5337609053, 0.0485856161, 0.5226821899, 0.3056427538, -0.1328442693, -0.2664821744, 0.8190950751, 0.1537903696, -0.6517674327, -0.6467434764, 0.1575786471, -0.5500520468, -0.4011824131, 0.8552433848, -0.1737284064, 0.0368986465, -0.1348702908, -0.2653193176, -0.0389040336, -0.4695499837, 0.8455031514, 0.5095006227, -0.1727983952, -0.3713377714, -0.2670826912, 0.3644076884, 0.7351132631, -0.7288805246, 0.1933748424, 0.6769221425, 0.327745527, 0.0682415962, 0.9883031249, 0.0088647557, 0.5343116522, 0.0623589717, 0.408387512, -0.0859781802, -0.7470131516, -0.4701683521, 0.1495314837, 0.1242802441, -0.1042131856 ]
http://arxiv.org/abs/2402.04854v4
http://arxiv.org/pdf/2402.04854v4
Hierarchical Tree-structured Knowledge Graph For Academic Insight Survey
2024-02-07T13:54:06
2024-07-03T01:34:52
Jinghong Li, Huy Phan, Wen Gu, Koichi Ota, Shinobu Hasegawa
cs.DL
cs.DL, cs.CL, cs.LG
Research surveys have always posed a challenge for beginner researchers who lack of research training. These researchers struggle to understand the directions within their research topic, and the discovery of new research findings within a short time. One way to provide intuitive assistance to beginner researchers is by offering relevant knowledge graphs(KG) and recommending related academic papers. However, existing navigation knowledge graphs primarily rely on keywords in the research field and often fail to present the logical hierarchy among multiple related papers clearly. Moreover, most recommendation systems for academic papers simply rely on high text similarity, which can leave researchers confused as to why a particular article is being recommended. They may lack of grasp important information about the insight connection between "Issue resolved" and "Issue finding" that they hope to obtain. To address these issues, this study aims to support research insight surveys for beginner researchers by establishing a hierarchical tree-structured knowledge graph that reflects the inheritance insight of research topics and the relevance insight among the academic papers.
[ -0.3202967942, -0.5504339933, 0.7021387815, 0.0672087297, -0.1647776961, 0.5148803592, 0.3633855879, -0.3656216264, 0.4294563532, -0.0495786257, -0.6413097978, -0.7272356153, -0.5250263214, -0.0446616709, -0.1296199858, 1.3568918705, 0.0234682206, -0.2865445018, -0.718554914, -0.1344168335, -0.0830770805, -0.1908497065, -0.9740871191, -0.403942138, 0.9337047338, 0.5195487738, 0.4968276918, 0.5042204261, 0.5778074265, 0.2049670219, -0.401049614, 0.1811625659, -0.7614527345, 0.1372357607, -0.0586916767, -0.3744812012, -0.5874074697, -0.1599136442, 0.4325118363, 1.1909110546, 0.2230895907, 0.2888458371, 0.4593366385, 0.9048179984, -0.6167744994, 0.5147369504, -0.443867594, 0.2099620998, -0.3399808705, -0.6870145798, -0.2103285193, -0.508820951, 0.3817668855, -1.1486700773, 0.2717279196, 0.2166431397, 0.6604055762, -0.1416766047, -0.6135714054, -0.2292202562, -0.5599498749, 0.3640237451, -0.3864340484, 0.0583088696, 0.4291493595, 0.3131429255, 0.0124816084, -0.7717428207, 0.0186960474, 0.1183061749, -0.5480095744, 0.2704140246, -0.2047789842, 0.0583184063, 0.0240848344, 0.1262290329, -0.5281615853, -0.2966641486, -0.2953064144, 0.0633549094, 0.323205322, 0.4779748619, 0.004316329, -0.4197036624, -0.0995822921, 0.0147083886, -0.4811218381, 0.3893597126, 0.3573303819, 0.382291913, 0.0667275935, 0.2047992349, -0.4660121799, 0.5789989233, 0.2789299786, -0.3731473684, 0.4232060313, -0.5093587637, 0.0553032681, 0.1162964851, 0.5325469375, 0.3652843833, 0.0718737021, -0.3650984466, 0.2152975649, -0.3745830953, 0.2939872146, -0.8076671362, -0.535817802, -0.1392905861, -0.7338964939, -0.5194808245, -0.0881583691, -0.6981247663, -0.4535204172, -0.0624391735, 0.0916754529, -0.5354093909, -0.5009782314, -0.479550153, -0.2552799881, 0.0342399664, 0.4273999929, -0.6461552382, 0.3915526569, 0.5210005641, 0.8714606762, -0.1549545527, 0.0142320693, 0.2239659131, 0.3329783678, -0.1138131246, 0.8200312853, -0.7303120494, -0.8077378273, -0.0512124747, -0.0221276041, -0.0853475705, -0.2016285062, 0.8356518745, -0.5895107388, 0.3341833949, -0.3943560421, -0.3771297932, -0.3552723825, 0.7016699314, -0.3061595261, 0.8800286055, 0.41738832, -1.4545972347, 0.5179901719, -0.851123929, -0.3707982898, 0.4414944351, -0.3798493147, -0.3504054844, -0.3469866812, 0.2588875294, 0.1731503159, -0.1053458005, 0.0968703106, -0.3317254782, 0.0886730999, -0.4246657491, 0.1369946748, 0.8995870948, 0.1555108577, -0.1203972921, 0.0794584081, -0.6940704584, 0.114397496, 0.1247273982, -0.246201694, -1.1180204153, 0.2142130136, -0.1337240636, -0.4062007666, 0.3451403081, -0.4512212276, 0.3570874333, -0.1685741395, 0.1059088185, 0.4298279583, 0.3684692085, 0.3364382684, -0.3281520009, 0.8318650126, 0.2269608676, -0.0578553416, 0.0158032272, -0.6053537726, -0.4705324173, 0.3694275916, 0.4118818045, 0.4061546028, -0.5544926524, 0.271247983, -0.4531214535, -0.4328871965, -0.2154472023, -0.1195389926, 0.3492805362, 1.0678684711, 0.2230087519, -0.1106382683, -0.6872087121, -0.9257013798, -0.0213492811, -0.3727927804, 0.0521089099, 0.6081150174, 0.5881294608, -0.0289147794, 1.2210476398, -0.8289670944, -0.4927820861, -0.0056374227, 0.5245292783, 0.1302886903, 0.3662240803, 0.6897304058, -0.811326921, -0.63613379, 0.2242210358, -0.5114073157, 0.0304262489, 0.2969346941, -0.2602658868, -0.4760488868, 0.3244128823, -0.3151329458, 0.1376105696, 0.1927581429, -0.5660265088, 0.3729802966, 0.0813399851, 0.2454990894, -1.2652016878, 0.3830213547, 0.1016686931, 0.0361961909, -0.3553835452, -0.1875241548, -0.1307303756, 0.0631607249, 0.2844296396, 0.1875363588, -0.3598750234, 0.2919514179, -0.0187439229, 0.1642640829, -0.0444993563, 0.2468025833, -0.143071875, 0.5684978366, 0.483219862, -0.3141659796, -0.3328384459, 0.4247496426, -0.3417282701, 0.7469611764, -0.6311240196, 0.0511770174, -0.3371918201, 0.2036186457, -1.0063010454, -0.0918358415, 0.1919101179, -0.7558018565, 0.1610545516, -0.3804530799, -0.1223207861, -0.2729917765, -0.3486974239, 0.6593104005, 0.271484673, -0.167427361, 0.4370821118, 0.4335127175, -0.525567472, -0.7407490611, -0.1091821641, -0.0443705283, -0.3844866157, -0.7163299918, 0.702296555, 0.1791808903, -0.2270721793, 0.5446206927, -0.1576332748, -0.1905768365, 0.1292880625, 0.4438825548, 0.0200381, -0.4064769149, -0.03144769, 0.0103458557, 0.0318074673, 0.4785083532, -0.2099864781, 0.0564931482, -0.0954827145, -0.1186617091, 0.0041687936, 0.1938322484, 0.6362831593, -0.0585004166, 0.3901585042, 0.3214185834, -0.3230778873, -0.0524046607, -0.1032462493, -0.01488047, -0.3999835551, 0.2644889653, -0.4906274974, -0.9266331792, 0.4954028428, -0.3788357377, 0.2267800868, 0.5433616638, 0.0522298664, -0.3518124223, 1.2394618988, 0.602688849, -0.234540984, 0.3404723406, -0.4605722427, 0.2974135876, -0.9045597911, -0.7795326114, -1.0998190641, -0.5252486467, -0.3443363309, -0.0039045229, 0.6861348152, -0.0009023288, -0.1900278181, -0.0692265853, -0.614176333, 0.418277353, 0.6454920173, 0.117986083, 0.4245998561, 0.2352672368, -0.4090470076, -0.072616972, -0.8865582943, -0.3031075597, 0.8930799961, 0.1526084095, 0.6935015321, -0.1258526742, 0.7268272042, 0.1206922606, 0.2041145563, -0.8021336794, 0.2944039404, 0.1301737577, -0.5308551192, -0.3748472631, -0.577196002, -1.4520807266, 0.1517510414, -0.1707830727, -0.6299325228, 0.361014545, 0.0702854842, -0.3206535876, 0.2700420618, -0.1688931137, 0.7348738909, -0.0036115213, -0.1875240505, -0.0137238605, -0.5394018292, 0.4527620077, 0.1972758025, 0.4165340662, 0.1344638616, 0.2671654224, 1.2003111839, -0.3709809482, 0.7143217325, -0.4886580408, 0.288195461, 0.205453366, 0.1996885985, 0.3746938705, -0.0012795435, 0.1092623174, -0.4919739366, 0.1860638857, -0.2167652845, -0.6442904472, 0.5195462704, -0.9203011394, -0.725672543, -0.3095949292, -0.6511153579, -0.5262245536, 0.2921720445, 0.0366024747, 0.1878782213, -0.217094928, 0.6195287108, 0.6233173609, 0.374042064, -0.0360923037, 0.3603728712, -0.2113685608, -0.2563635111, 0.5447419286, 0.2174240947, -0.3966894448, 0.451497376, 0.5190261602, -0.3016175032, -1.0569447279, -0.1462313384, -0.1136317253, -0.5138412714, -0.2816902101, -0.729244411, -0.292840302, -0.4424184859, -0.140816763, 0.2351765037, -0.5592140555, -0.2134164721, -0.2326135188, 0.6180563569, 0.7961726785, 0.0956960768, 0.3134207129, -0.4460569024, 0.249157086, 0.3807927966, 0.2890785933, 0.4376752079, -0.4563399255, -0.442551285, -0.2136910111, -0.4826298654, -0.7930265665, 0.094491668, 0.0507674329, 0.6758421659, 0.8177976608, 0.1978587806, 0.8196401596, -0.2536797822, 0.443662703, 0.1863697022, -0.2983768582, 0.8204936385, -0.7814062238, 0.3030184507, 1.0871995687, 0.9614866972, -0.1717851013, -0.3332612514, -0.7282793522, -0.9060274959, 0.4985288084, 0.1773421764, -0.3284705877, 0.3680951297, 0.2508205473, -0.0178407878, 0.1225762516, -0.7019568086, -0.3141902089, -0.0929271728, -0.1455987394, 0.2718831599, -0.1882849485, -0.4535499513, -0.6396498084, 0.5378986597, -0.1151600331, -0.2081193924, 0.2602506578, 0.4312395155, -0.406562537, 0.2058990747, -0.1966421306, 0.8838512897, -0.516528964, 0.3838609457, -0.1883588731, -0.5319685936, 0.0481204204, 0.0488739572, -0.6570441723, -0.0365849882, 0.3468026221, 0.4419212043, 0.2579563558, 0.0444907136, 0.2377923876, 0.1086052954, -0.6062533855, -0.074558273, -0.0650431588, 0.5039299726, -0.0587762222, 0.5261100531, 0.1212053001, 0.4219507873, -0.6855563521, -0.0184982084, 0.6371703744, -0.3404659331, 0.0516471229, 0.5061565042, 0.3855009675, -0.345643878, 0.6812130809, -0.076397866, -0.467369616, 0.6528761983, 0.4208737016, 0.7153232098, 0.1046387255, 0.2942103744, 0.4807962775, 0.2349300086, 0.3529874086, 0.157259196, -0.2717285454, -0.5279216766, -0.0906441435, -0.6867113709, -0.5123800039, 0.2041841298, -0.7399669886, -0.1205086559, -0.3621389866, -0.2061719, 0.1707508266, 0.1695272475, -0.4410482645, 0.1950029731, -0.3328558207, 0.9833483696, -0.6692835093, 0.7297914028, 0.9527776241, -0.1374925971, -0.8684386015, -0.1058054641, -0.0303864274, -0.5057057738, 0.7069033384, -0.1090278774, -0.4493890703, 0.0504796095, -0.3402047753, -0.8925759196, 1.2293112278, -0.1464508325, -0.3293887079, -0.3816203773, -0.0173760969, 0.5595407486, -0.5623914599, 0.2113449574, 0.3910158277, 0.6606092453, 0.295704484, -0.4737176597, -0.0282455925, -0.554776907, -0.2318641245, 0.2575462759, -0.2308564186, 0.7027484179, -0.0762221366, -0.1628073007, -0.2980828285, 0.4736745656, 0.425437212, 0.8180140257, 0.7675352097, 0.6777217388, 0.7790833712, 0.0544632375, 0.7053465843, -0.4808629453, 0.2242677659, 1.1220936775, 0.0884083137, 0.5606742501, 0.4881020188, -0.3944965005, 0.9890704155, 0.974350214, 0.0637964085, 0.5921300054, 0.1139396876, -0.1506909877, 0.0405352563, -0.2967627048, -0.8147507906, 0.00163182, 0.649785161, -0.4286634922, -0.405190289, -0.5102366805, 0.0161281731, -0.0349712782, -0.4988351464, 0.6754338145, -0.0654330105, -0.6230083704, 0.2363187373, -0.2215848863, 0.549066186, -0.8335958123, -0.0246013384, -0.2827193141, -0.3567992449, -0.6835512519, -0.9094980955, 0.199552685, -0.1059304774, -0.2886271775, -0.306712091, 0.7497971654, 0.0033127007, -0.5268169641, 0.2288175523, 0.8546561003, 0.13203758, 0.1739541143, -0.6310065389, -0.4438126981, -0.0467625856, -0.2481332868, 0.2933987081, 0.5919805765, 0.0999148786, 0.5592141747, 0.3565405011, 0.1223789379, -0.0825830698, -0.009007684, 0.8569746017, -0.3967085183, -0.6513814926, -0.4961383939, 0.3568617404, -0.2765677273, -0.4501783848, 0.9066217542, 0.7833560109, 0.682176888, 0.0516108274, 0.984645009, -0.3420456052, 0.62127918, -0.0870525986, 0.7160971761, -0.7256243229, -0.1226205751, -0.4752240479, -0.7527369261, -0.2216030955, 0.5265515447, -0.4255862534, 0.0796313137, 0.8395144939, 0.4969110191, -0.2848894298, 0.0951508358, -0.1110494733, 0.1035095453, -0.0938245207, 0.5275309682, 0.881393075, 0.229083702, 0.8596705198, -0.3208892643, -0.3546322882, -0.2110670209, -0.7464067936, -0.8085465431, -0.6030367613, -0.4606967866, -0.2247537673, 0.1737731844, 0.3027432859, 0.8685682416, -0.7572615743, -0.2608544528, -0.3822045326, 0.37719208, -0.1191748455, -0.3381865025, 0.6882727146, -0.2938233912, -0.2812053561, 0.3696058989, 0.1373393089, -0.0979451463, -0.2831779122, 0.0179135501, -0.1453166157, -0.2937570214, 0.4378508329, 0.337495029, -0.3149220645, -0.1531179994, -0.1299462765, 0.0716134384, 0.3626946211, 1.285479784, -0.9832133055, 0.2278988063, 0.7245873213, 0.738244772, 0.6685352921, 0.264036119, 0.2193257213, -0.7278578281, -0.1918711513, 0.4699010253, 0.2874605358, 0.0646684766, -0.4593168497, 0.7800961733, 0.3473184705, -0.6863616705, -0.5823982358, -0.0071510016, -1.1071830988, -0.3101494312, 0.6084926724, -0.2341392338, -0.0735270828, -0.4177161455, -0.2972683311, 0.0915915444, -0.4410323799, 1.0400271416, 0.6187342405, -0.5958403349, -0.1816493273, -0.315823853, 0.5630730987, 0.4545283616, -0.9451242089, -0.1049445868, 0.36504215, 0.1013027355, 0.4270876646, 0.7026993632, -0.0602209456, -0.0433192477, 0.2052673101, -0.3505104482, -0.0005692569, -0.3792304695, 0.2513249516, 0.9810020328, 0.5018801689, -0.0820474774 ]
http://arxiv.org/abs/2403.15391v1
http://arxiv.org/pdf/2403.15391v1
CapsF: Capsule Fusion for Extracting psychiatric stressors for suicide from twitter
2024-02-07T13:41:22
2024-02-07T13:41:22
Mohammad Ali Dadgostarnia, Ramin Mousa, Saba Hesaraki
cs.CL
cs.CL, cs.SI
Along with factors such as cancer, blood pressure, street accidents and stroke, suicide has been one of Iran main causes of death. One of the main reasons for suicide is psychological stressors. Identifying psychological stressors in an at risk population can help in the early prevention of suicidal and suicidal behaviours. In recent years, the widespread popularity and flow of real time information sharing of social media have allowed for potential early intervention in large scale and even small scale populations. However, some automated approaches to extract psychiatric stressors from Twitter have been presented, but most of this research has been for non Persian languages. This study aims to investigate the techniques of detecting psychological stress related to suicide from Persian tweets using learning based methods. The proposed capsule based approach achieved a binary classification accuracy of 0.83.
[ -0.219752118, -0.9907021523, 0.6597826481, 0.4086006284, -0.115739949, 0.4975032508, -0.3917528689, -0.294462949, 0.3232702911, 0.047122404, -0.9734517932, -0.7230514288, -0.7174118757, 0.4144282043, -0.1470213681, 0.7214301229, -0.1744338274, 0.071530588, 0.1106844991, 0.2397736758, -0.3486474752, -0.2669388056, -1.1150155067, 0.2412038743, 0.6251080036, 0.6969277263, 0.3695465922, -0.230472967, 0.7145476937, 0.3425221741, 0.2253883332, 0.2741964757, -0.2769367695, 0.0838569477, -0.1130470559, -0.0161222555, 0.101184234, -0.1523108333, 0.3549014926, 0.2204616517, -0.2074057758, 0.3285158277, 0.0588069223, 0.4250966012, -0.6570116282, 0.0326596163, -0.19583565, 0.4712537229, -0.3616675138, 0.1106057242, -0.1348480433, -0.7402253151, -0.3194154203, -0.7003440857, 0.0795565546, 0.2532280982, 0.7405275106, 0.2338460684, -0.3089681566, -0.2230041027, -0.8739504218, 1.0619579554, -0.3390558958, 0.0403419584, 0.1150581017, 0.6408747435, -0.069814235, -0.1512980759, -0.810721159, 0.2096391618, -0.2225405574, 0.0042415923, -0.1254313141, 0.0680914074, 0.2638143301, 0.4911080003, -0.5844606757, -0.1182813048, -0.6340646744, -0.3505879641, 0.5026761293, 0.1479796022, 1.0460004807, -0.4735148847, -0.2389104217, 0.0223072618, 0.1238522753, -0.0155119719, -0.0111055002, 0.2816464603, -0.3314034939, 0.5039587617, 0.0017927333, 0.2401962876, 0.2781868577, -0.2209416032, 0.3423273861, 0.0320678279, -0.1661343724, -0.0738064498, 1.2801834345, 0.237769872, 0.2868550718, -0.1082907617, 0.2485543787, -0.1630088985, 0.371394515, -0.5607331991, -0.0858701095, 0.4919081926, -0.6974522471, -0.4212939739, -0.1492043287, -0.8816173077, -0.4024370611, 0.2683820128, 0.3138341904, -0.9307040572, -0.382424593, -0.054595679, -0.4486287534, 0.311083287, 0.2840237319, -0.4902460277, 0.3819030821, 0.5135856271, 1.1284816265, -0.6117254496, 0.1346782148, -0.1837956905, -0.1389410645, -0.3096727729, 1.0029536486, -0.3196820915, -0.2726020813, 0.2661910951, -0.0282986872, -0.1641838849, -0.2397089154, 0.9305437803, -0.1910415739, 0.3589293957, -0.8427526355, -0.4202936888, -0.1019155458, 0.2286342084, -0.6433132291, 1.0908955336, 0.3437452018, -1.0060557127, 0.5316021442, -0.7812706232, -0.5752546191, 0.3039624393, 0.048629757, -0.5825839639, -0.1470591277, 0.4640770257, 0.7305455804, -0.3340381086, 0.1988472342, -0.3291279376, -0.2176463455, 0.3294773996, 0.1464999318, 0.9143850803, 0.5498797297, 0.0047022528, 0.1166326478, -0.4980209172, -0.0467424355, 0.0225472711, 0.0200793725, -0.323297143, 0.0801253319, 0.4456662238, 0.478471756, -0.1137251258, -1.0694214106, 0.0482503064, -0.033702895, 0.1214558631, 0.4511297941, 0.9981973767, -0.0460033417, -0.3546897769, 0.7630485296, 0.2394882888, 0.5303298831, 0.6103078723, -0.5239518881, -0.2315269113, -0.8057345748, -0.3800329864, 0.8303921223, -0.7283188701, 0.5184509158, 0.1763768345, -0.8173061013, -0.2142774463, 0.0594408177, 0.5221472979, 0.5652238131, 0.4784163535, 0.0429978706, -0.8618295193, -0.9673894644, -0.5055293441, 0.0249593761, 0.0303929076, 0.2208572179, 0.3569174707, 0.0278826542, 0.6537017822, -0.8970866203, -0.4693297446, -0.5898228884, 0.3063653708, 0.1837877631, 0.4909898639, 0.4497784078, -0.7889925241, -0.7076561451, -0.2815781534, -0.9931088686, -0.2307300717, -0.4148994982, -0.3168953061, -0.1046644002, 0.4150481522, -0.7252079844, 0.4050018787, -0.1450971365, -0.015094256, 0.618044436, 0.2314039767, 0.391364187, -1.3960038424, 0.2401131243, 0.2454434782, -0.2162310481, -0.7696697116, -0.4155510366, 0.0666817874, -0.394045949, -0.6232292652, 0.1899423152, -0.4515283406, 0.3239400685, -0.1314101815, -0.0667788386, -0.2823415101, 0.3317001462, -0.0385523587, 0.7053071856, 0.4055043757, -0.2322338074, 0.193453908, 0.5583992004, -0.2820268273, 0.6088714004, -0.309142828, -0.2597544193, -0.2934329808, 0.2435958833, -1.2138544321, -0.3620745242, 0.5909762383, -0.5418373346, 0.1851038486, 0.2917013764, -0.5437054634, -0.8360877037, -0.4644399583, 0.3415610492, 0.5231018662, 0.1248794496, 0.4771889746, 0.5157871842, -0.1253254414, -0.4082130492, -0.5647101402, 0.0436564162, -0.4152486324, -0.1264010966, 0.20212771, 0.0345164835, -0.3072951436, -0.0527453832, 0.1267810762, -0.1041172594, 0.0415736549, 0.696223557, 0.1768670678, 0.0775458366, 0.337138325, 0.358977139, 0.0698034167, -0.0002720302, -0.0769050419, 0.5445434451, 0.0910690576, -0.0112996278, -0.8813624978, 0.7447972894, 0.3732315004, 0.014146491, 1.3616069555, 0.9640785456, -0.7450147867, -0.2057150751, -0.8675653338, 0.0641599521, -0.4564265013, -0.1349669695, 0.0947064981, -0.7038332224, 0.6011858582, -0.1776581556, -0.4527824819, 0.5548389554, 0.5373684168, -0.0932284743, 0.7032448649, 0.6751366854, -0.4636628032, 0.5132133961, 0.0422891416, 0.4697159529, -0.5346909165, -0.2299928367, -0.2921729088, -0.3228183985, -0.4402675331, -0.3336187601, 0.7324852943, -0.1490607113, -0.3130525351, 0.3434431851, -0.6587958336, 0.4352629185, 0.4206079245, 0.3541882038, -0.2056600749, 0.0175438598, -0.1732174754, -0.0311125703, -0.1427087337, -0.2057451159, 0.6451845169, -0.0633765459, 0.3721273243, -0.0917808637, 0.7466273904, 0.6365107894, 0.277656287, -0.5338697433, 0.4948765337, 0.0999183208, -0.7295549512, -0.3091926575, -0.3147988617, -0.4302291572, -0.4641152918, -0.2693679631, -1.1059635878, 0.2043809146, -0.2654559612, -0.8840843439, 0.3621124923, -0.4544307888, 0.6109381914, -0.010891458, -0.058134973, -0.165750742, -0.7557755113, 0.5980889201, -0.1491333246, 0.3145131767, -0.313259393, 0.1012936532, 1.1103727818, -0.6456911564, 0.8316915631, -0.2673488855, 0.3142278194, 0.3791210353, 0.0916271731, 0.0356488414, -0.1031294167, -0.0041573304, 0.0653714612, 0.0145685887, -0.5110333562, -0.3772960901, 0.5427014828, -1.0676392317, -0.384513557, -0.5259436369, -0.5188412666, -0.350045681, 0.2399504334, 0.3256855011, -0.1521432698, -0.111604467, -0.3627527058, 0.3857167959, -0.6782381535, 0.6194622517, 0.106672287, 0.0347714946, -0.692070663, 0.6213835478, -0.0889987648, -0.0958307758, 0.543725729, 0.2649767697, 0.1546957195, -0.0420027412, 0.0416051, 0.5296645761, -0.3349751234, -0.5270949602, -0.7153608203, -0.2720816433, -0.7429323196, -0.256344229, -0.2590439916, -0.3707898557, -0.538307786, -0.5367261171, 0.6054688096, 0.5586402416, -0.5606906414, 0.3441412151, -0.9363119602, 0.5085381269, -0.07393042, -0.0369318761, -0.0566344596, 0.1692538261, -0.2532884479, -0.3420110643, -0.5079267025, -1.3676472902, 0.5228250623, 0.4496003091, 0.1687330157, 0.9894812703, 0.361125052, 0.789276123, -0.129338026, 0.8629156351, 0.1396744698, -0.8820919991, 0.8077732921, -0.5813132524, -0.0727259517, 0.7370800376, 1.2032262087, -1.1678465605, -0.3596104681, -0.4977629185, -0.3668692112, 0.8280336261, 0.4545165598, -0.2395051867, -0.3607120812, 0.7456325293, 0.0919576958, 0.0641119927, -0.2652323246, -0.3312957287, 0.2214258015, -0.3992691338, 0.0806738138, -0.390948534, 0.2213466167, -0.3422206342, 0.6378520131, 0.3335184753, 0.5830942988, 0.4264383316, -0.0077899811, -0.6928359866, -0.0542811491, 0.3459717631, 0.1687291265, -0.508990109, -0.1563622952, 0.171228677, -0.5123941302, 0.1053908467, -0.0588780306, -0.191859439, -0.1814811677, 0.2863455415, 0.2962621748, 0.0199615303, -0.7053271532, 0.6484587789, -0.1712656021, -0.0725757107, -0.846452415, -0.0381241478, -0.0976142213, 0.2599165738, 0.5512811542, -0.0514338017, 0.3297762573, -0.4937720895, 0.3606699407, 0.4123807549, -0.3690122664, -0.5422863364, 0.3566412628, -0.1361061633, -0.3312861919, 0.6146965027, -0.3423737884, -0.9876810908, 0.2732888162, 0.331723839, 0.9708531499, -0.6172338724, 0.696208179, 0.6643503308, 0.1033691168, 0.0637265667, 0.7249001265, -0.3076337874, -0.6463527083, -0.1329539865, -0.7299957871, -0.4215715826, 0.1323448271, -0.77610147, 0.3564609885, -0.7000483274, -0.2522476912, -0.1752621233, 0.3262866735, -0.4282731712, 0.3953328431, 0.6068335772, 0.7786974907, -1.3894171715, 0.3202370703, 0.4035806656, -0.7251387835, -0.7848800421, 0.2300658077, 0.2179883271, -0.6416673064, 0.5015699267, 0.2729324102, 0.2824791372, -0.3540008962, -0.6179131269, -0.9570953846, 0.8502614498, 0.0136636868, -0.153706193, -0.1717797369, 0.5586477518, 0.6365206242, -0.1369408816, 0.3419617116, 0.2667331994, 0.4313948154, 0.0640298575, -0.6655156612, 0.4604125321, -0.3276720941, -0.0868350118, 0.3280946612, -0.7955448031, 0.7711309195, -0.0076412833, -0.6315603852, -0.2073597908, 0.5629291534, -0.0291657913, 0.1972994655, 0.4040465653, 0.7029676437, 0.7148956656, 0.429363668, 0.9157620072, -0.1246836185, 0.4186366796, 0.5024320483, -0.1832845658, 0.8570554852, 0.4824298024, -0.1481280625, 0.7446534038, 0.6737992167, -0.001761943, 0.5190142393, 0.1860281527, -0.3583660722, -0.417242974, -0.0770246759, 0.1179877669, 0.0699660927, 0.8190917969, -0.3099993169, -0.3618234694, 0.823515296, 0.371994406, -0.080148086, -0.0020606988, 0.8145217299, 0.1358085424, -0.6164349318, 0.3545186222, -0.151814729, 0.3470164835, -0.1401300132, 0.1683455408, 0.1420623362, 0.2487185001, -0.1831786186, -0.5264932513, 0.8469730616, 0.0864057988, 0.0348329879, -0.2528139055, 1.2537400723, 0.0118506234, -0.9785956144, 0.2333485633, 0.6859820485, 0.1278267503, -0.5257595778, -0.6522958279, -0.2197952867, -0.2838377953, -0.206477344, -0.0356217362, 0.3299356997, 0.0640776157, 0.6520465016, 0.5112838149, 0.201711297, -0.2227379382, -0.4033660889, 0.7696319222, -0.7446698546, -0.1319786608, -0.9191522002, 0.2584840655, -0.3491224647, -0.2932735384, 0.8038388491, 0.4759495258, 0.1460150629, -0.3662027419, 0.8140019774, -0.4055411518, 1.0516862869, -0.0428864881, 1.1876608133, -0.4254495203, -0.2541604638, -0.4014747739, -0.3894149959, -0.5913630724, 0.3318068981, -0.6908739805, -0.2074047178, 1.0067845583, 0.6700155735, -0.005305856, -0.0510889105, 0.1421104521, 0.2796381414, 0.2622626424, 0.6441841722, 0.592938602, -0.5886636972, 0.351328373, -0.4863910973, -0.2666016817, -0.1676755399, -0.5351181626, -1.3004046679, -0.9194339514, -0.5186909437, -0.2570193112, 0.1576393545, 1.1754332781, 0.3133194745, -1.0593241453, 0.0971337408, -0.1375421882, 0.1418151557, -0.3083252609, -0.2657185495, 0.5810153484, -0.4045904875, -0.1506394595, -0.0515061058, 0.1753145456, -0.3231714964, 0.1573399007, 0.5672413707, -0.5058011413, 0.3073372841, 0.1536327899, 0.4119328558, -0.3826468885, -0.3270439506, -0.1207194552, -0.0875542015, -0.0162467733, 0.7368300557, -0.8533640504, -0.2555177808, 0.5480015874, 0.2174086422, 0.1476911306, 0.1192709282, 0.3321842849, -0.8396683931, -0.178256616, 0.1395536512, 0.2363154143, 0.3484473228, -0.870706439, -0.0249857008, 0.4442193508, -0.4276170433, -0.6588520408, -0.1807643771, -1.1714370251, -0.101835303, 1.0269998312, -0.1591738313, -0.8012878299, -0.1461602896, -0.351913482, 0.8254520297, -0.5442304611, 1.1716462374, 0.5250715613, -0.0752476007, -0.1426200867, -0.1419615149, 0.8195634484, 0.0287834667, -0.9291726947, -0.2141074985, 0.0272296965, 0.3019247055, 0.2643760145, 0.5767835379, 0.063230969, 0.3482667208, -0.2313224375, 0.0903642103, 0.1690863073, 0.0938816145, 0.151309222, 0.281326592, -0.6077635884, -0.2319446355 ]
http://arxiv.org/abs/2402.04838v4
http://arxiv.org/pdf/2402.04838v4
PaDeLLM-NER: Parallel Decoding in Large Language Models for Named Entity Recognition
2024-02-07T13:39:38
2024-02-15T01:52:16
Jinghui Lu, Ziwei Yang, Yanjie Wang, Xuejing Liu, Brian Mac Namee, Can Huang
cs.CL
cs.CL, cs.AI
In this study, we aim to reduce generation latency for Named Entity Recognition (NER) with Large Language Models (LLMs). The main cause of high latency in LLMs is the sequential decoding process, which autoregressively generates all labels and mentions for NER, significantly increase the sequence length. To this end, we introduce Parallel Decoding in LLM for NE} (PaDeLLM-NER), a approach that integrates seamlessly into existing generative model frameworks without necessitating additional modules or architectural modifications. PaDeLLM-NER allows for the simultaneous decoding of all mentions, thereby reducing generation latency. Experiments reveal that PaDeLLM-NER significantly increases inference speed that is 1.76 to 10.22 times faster than the autoregressive approach for both English and Chinese. Simultaneously it maintains the quality of predictions as evidenced by the performance that is on par with the state-of-the-art across various datasets.
[ -0.5479653478, -0.8087835312, 0.3613570333, 0.5839750767, -0.3055965304, 0.1934740841, -0.3117310107, -0.5200386643, 0.3685309589, 0.8109611869, -0.1399085969, -0.6883612275, -0.662691772, 0.4140937626, -0.3769342005, 0.8569877744, -0.1633154601, 0.1246937513, -0.1434470564, -0.0646770969, -0.1779802591, -0.6879758239, -1.032227397, -0.3600182533, 0.7857502699, 0.425075978, 0.413479656, 0.9078906775, 0.7579875588, 0.2471693903, -0.1043849587, 0.2632500231, -0.4018529356, 0.4227592647, 0.090005748, -0.5136141181, -0.9088557959, -0.3412046731, 0.9378025532, 0.903570354, -0.0467584282, -0.0701598078, 0.0127941482, 0.7352324724, -0.6069461703, 0.2687703669, -0.3952063322, 0.0490809716, -0.2853505909, -0.3417064846, -0.5432101488, -0.3441012204, -0.1045706049, -0.437259078, 0.4814096093, 0.3701244593, 0.6466737986, 0.0223060101, -0.3036683798, -0.1326177269, -0.7013586164, 0.6715731621, -0.5935153365, 0.2850833833, 0.3987227082, 0.1829691529, -0.3971501887, -0.7215237617, -0.769372344, -0.1620564461, -0.0879119858, 0.0338890478, -0.1387148499, 0.3582071364, 0.4381116927, 0.5426029563, -0.7359629869, 0.4844810665, 0.0462218337, -0.1539945602, 0.6753566861, 0.4064007103, 0.2860820591, -0.1040684357, -0.5263754129, -0.0930156931, -0.9740509391, -0.2109686881, 0.3941225111, 0.1681813598, -0.1228783429, 0.3712416887, -0.2306877673, 0.6848516464, 0.0475551076, -0.0938322991, 0.2219081223, -0.0280800797, -0.1839835942, 0.308791697, 0.7971031666, 0.295648098, 0.0048571811, -0.313989073, -0.2849773765, 0.1182466447, -0.3599956632, -1.2109907866, -0.4114082158, 0.1957062483, -0.8221719265, -0.0539362468, 0.0640635937, -0.9550130963, -0.2731876075, -0.271048367, 0.1613766104, -0.2099079043, -0.3429656923, 0.230588004, 0.0851323605, 0.3053724766, 0.3848569095, -0.7794981003, 0.6928371191, 0.8124225736, 0.8133758903, -0.3423280418, -0.436201781, -1.0507416725, 0.1663378477, -0.3989000916, 0.9465134144, -0.574437499, -0.4915655851, -0.317245692, 0.1738590747, -0.18048729, -0.8197954297, 0.3350440264, -0.8171758652, -0.1463940591, -0.1755795777, -0.8975883722, -0.1395553797, -0.0017948697, -0.7779590487, 0.6645247936, -0.4185093641, -0.842017293, 0.1952945143, -0.4178848267, -0.6242759228, 0.1876807958, -0.2142688781, -0.4297679067, 0.20678927, 0.4747778177, 0.7406579852, -0.6342941523, 0.3345254958, -0.317257762, -0.3901931047, 0.1888154447, -0.3882737458, 0.5753152966, 0.1467681378, -0.2442914248, -0.0522500016, -0.8948228359, -0.1889082044, 0.0153741371, -0.3775370717, -0.3298076689, -0.0674362034, 0.244825393, -0.0889406502, 0.0064738248, -0.5141629577, 0.1015000567, -0.3198290467, 0.2291220427, 0.4830811918, 0.0262421668, 0.5750069618, -0.2395852655, 0.5833359957, 0.1613032371, -0.4056096673, -0.5395661592, -0.4028070867, -1.0222280025, -0.418263495, 0.6222721338, 0.5481144786, -0.6456935406, 0.3949219286, -0.3468146026, -0.3019579947, -0.3471421599, -0.0615643263, 0.5431724191, 0.4884144068, 0.4030571282, -0.3874647617, -0.6621069312, -0.7241951227, -0.1026765034, -0.0119649097, -0.0511493012, 0.4309226573, 0.4872093797, -0.2931787372, 0.584687233, -0.3020389378, -0.0405298062, -0.3603856862, 0.4490582645, 0.3029998243, 0.5981439948, 0.2417608649, -0.7137777805, -0.6563109159, -0.0147004491, -0.8093599677, -0.2633050978, -0.0063427472, 0.0106688011, 0.2427412122, 0.7314328551, -0.6902886033, 0.3689180017, 0.5737231374, -0.0860485137, 0.466372937, -0.4353665113, 0.0810699686, -1.1707599163, -0.0424244963, -0.1792689115, -0.1576379687, -0.4794976711, -0.0378172733, 0.1381104887, -0.1440162808, -0.066937454, 0.8126384616, -1.1347140074, -0.3538087606, -0.5359002948, 0.1363554448, 0.0997064933, 0.066709511, 0.2017897516, 1.0306478739, 0.6540016532, -0.8389213085, 0.4014757574, 0.1762948781, -0.3834401965, 0.5113435984, -0.7064484358, 0.1328582019, -0.2555891573, 0.4936336577, -0.49112463, -0.2641304731, 0.0108084958, -0.3177965581, 0.6842027307, -0.1061655656, -0.6569736004, -0.3347256482, 0.0039263815, 0.7916184664, 0.5557972789, -0.9660433531, 0.5611253977, 0.5140061975, -0.3731221855, -0.5705238581, -0.7790692449, 0.4129902422, -0.261161387, -0.5724958777, 0.7621713281, 0.0921465605, -0.1411979795, 0.0562003106, 0.0923583731, -0.0842146277, -0.2154082507, 0.1567899436, 0.1707939506, -0.4769589007, 0.1759050339, -0.0599777512, -0.6462695599, -0.0789490119, -0.279102385, 0.6331755519, -0.0769788697, -0.0731551647, -0.6514559388, 0.5919933319, 0.3652501106, -0.4017454386, 0.9354829788, 0.4472282231, -0.3794929385, -0.430267483, -0.7237647176, -0.271940738, -0.4207740128, 0.2704699934, -0.555393219, -0.9995260835, 0.8595549464, -0.2644748986, -0.6897341013, 0.2338276058, 0.4978998899, -0.0173031595, 0.6995588541, 0.5605996847, -0.2160692066, 0.2539713383, -0.3090533912, 0.3956721723, -0.9553221464, -0.3216529191, -0.5260981917, -0.2163389027, -0.7209708095, -0.7633082271, -0.0628170893, 0.3953256905, -0.1427797675, 0.3894259334, -0.2950492501, 0.5366124511, 0.4662755132, -0.056529101, 0.4586374462, 0.196311146, -0.1968711317, -0.055507835, -0.7683029771, -0.4739534855, 1.0340942144, 0.1974218786, 0.912183702, -0.0718331411, 0.9681356549, 0.0994089469, 0.2480176687, -0.5756920576, 0.7296316624, -0.3590509892, -0.2062687427, -0.0154356556, -0.6200757623, -1.2302371264, 0.1613684595, -0.0241592545, -0.6373766661, 0.3230566382, 0.1029778346, -0.2198952436, 0.5639669895, -0.2538052201, 0.6493516564, -0.0663098544, -0.1766978502, -0.2476663589, -0.4426116049, 0.3092817366, 0.1084131449, -0.0435238108, -0.3266333342, -0.1467090547, 0.7418413162, -0.5069137216, 0.4551909268, -0.1675098091, 0.1118535772, 0.1205067039, -0.1305456609, 0.7944569588, 0.2625235915, -0.1044697315, 0.477550149, -0.4833325744, -0.4571484029, -0.4697425067, 0.9992237687, -0.6160641313, -0.4826871753, -0.3637486994, -0.5166876912, 0.0996470526, 0.0982861146, 0.4355025291, 0.4736593366, -0.1810267717, 0.236989826, 0.9269087911, -0.4503284097, 0.631467998, 0.4991554022, -0.343837589, -0.7036395073, 0.8057149649, 0.1667258441, -0.0455149934, 0.8076683879, -0.3520159721, -0.235333845, -0.9544306397, -0.1643574238, 0.4619151056, -0.426620543, -0.4017213285, -1.0745761395, -0.3114483654, -0.1399196237, 0.0496586524, -0.322791487, -0.314858526, -0.3863683343, -0.0876206383, 0.4204519689, 0.586001277, -0.1634771526, 0.4199601114, -0.9071065187, 0.541338563, 0.1110781804, 0.3111103177, 0.0610105619, -0.2830370963, -0.1361227483, -0.3553590775, 0.2798145115, -0.7957923412, 0.5167531967, 0.0658297539, 0.5229492784, 0.2976045907, 0.1455095559, 0.6963271499, -0.660656631, 0.3219978213, 0.1955638677, -0.7917690277, 0.3018582761, -0.2752449512, 0.0157450177, 0.2323963046, 0.1824555993, -0.5089635849, -0.0173971877, -0.3501540422, -1.0387517214, 0.6088451743, 0.1105588153, 0.0665714294, -0.3590022922, 0.2793885767, 0.2949852049, 0.1801184714, -0.3870278895, -0.3336469531, 0.3331431448, 0.0940893963, -0.2207529396, -0.7594253421, 0.2164766937, -0.1026385054, 0.5671900511, 0.1181135476, 0.5728435516, 0.1783474833, -0.2545439303, 0.1465225369, 0.2159148902, 0.2881481051, 0.2924628258, -0.0910431817, 0.16217044, 0.1493974775, -0.3210074902, 0.1835451871, 0.5485190153, -0.1451671571, 0.2569245696, 0.3408239782, 1.1041920185, 0.2602203488, -0.3208927512, 0.4365799725, -0.1452928185, -0.0484843031, -0.3601381481, -0.1040990353, 0.1512302905, 0.3336643577, 0.3261542022, -0.0511921197, 0.1094594598, 0.0031466396, 0.1504961252, 0.1709896475, 0.2184937596, -0.2291845232, 0.7741314769, 0.3021606505, -0.3945025504, 0.7993565798, -0.2862249017, -0.1971361488, 0.9908198714, 0.6434908509, 1.1128547192, -0.2840715349, 0.123057425, 0.4483995736, 0.0342070051, -0.3019975126, 0.3549906909, -0.1399665326, -0.7906999588, -0.54759866, -0.9158246517, -0.4162680209, 0.2955687344, -0.8044589758, 0.1101742983, -0.4304180443, -0.1829646677, -0.0518797301, -0.1841323823, -0.669208765, -0.0337295011, 0.1301212609, 0.8736023903, -0.3529927135, 0.9375252724, 0.5901021361, -0.2879447639, -0.7786319852, 0.244067058, -0.3638605177, -0.5587283373, 0.969858706, 0.4813216925, -0.1716831774, 0.2994582653, 0.0022771275, -0.9635632038, 1.0727467537, 0.4638983011, -0.8871077299, -0.0822609589, 0.0663698316, 0.3798201084, -0.6422320604, 0.1174871475, 0.348779887, 0.3490388989, -0.2490501851, -0.8883212209, -0.0486013256, -0.2255851179, 0.5105767846, 0.3609263599, -0.5470231771, 1.1065433025, -0.3495315313, -0.3898111284, 0.4468535483, 0.6931029558, 0.4239000976, 0.5494309068, 0.0379367732, 0.7950981855, 0.8434073925, -0.1230000407, 1.0109343529, -0.6742893457, 0.4207392931, 1.2323946953, -0.3424935937, 1.0809967518, 0.3961431086, -0.2984950542, 0.4555118382, 0.5709454417, -0.0801176354, 0.4313944578, 0.2673726678, -0.6039658189, -0.2157830447, 0.0328758992, -0.7189438343, 0.3677495122, 0.5029063821, -0.4260987937, -0.2100406587, 0.2059708983, 0.0901847333, 0.211335659, -0.4465118051, 0.5791658163, 0.3404917419, -0.4333588779, 0.5896318555, 0.1325233281, 0.8633857369, -0.185588941, -0.0834768265, -0.4331309199, 0.3722787797, -0.1297374368, -0.3638561368, 0.0462190509, -0.0860579386, -0.5558969378, -0.2280008942, 0.758567512, -0.6198508739, -0.5141865015, 0.8058181405, 0.6135517955, 0.3477120101, -0.062900506, -0.4677746892, 0.0966560245, -0.4533678591, -0.253519237, 0.3824262023, 0.3501833081, 0.0267623197, 0.61220783, 0.6851084828, 0.1376353055, 0.2010532469, 0.1462989151, 0.684964478, -0.8781349063, -0.4611447155, -0.7543450594, 0.1205492392, -0.052007433, 0.1143408567, 0.7749198079, 0.7149204612, 0.9456129074, -0.1809621751, 0.6978984475, 0.2215466499, 0.5535148382, -0.7179043293, 0.7781660557, -0.2386551946, 0.5082150102, -0.0663776845, -1.150968194, -0.4614259601, 0.4887647033, -0.3930606544, 0.05954469, 0.727019906, 1.0212599039, 0.0455291681, -0.053659182, 0.3750307858, 0.3760866821, 0.0275397431, 0.5537854433, 0.7774966359, -0.4700977802, 0.3143365383, -0.2592769265, -0.0693279654, -0.3251591623, -0.9149074554, -0.9569254518, -0.2093518972, -0.3867764771, -0.1873127222, 0.3425572813, 0.628487885, 0.5830004215, -1.0969957113, -0.3991623223, -0.5696840882, -0.0083227623, 0.0258525331, -0.2435038239, 0.5416069627, -0.4470281303, -0.895601511, 0.4966199696, 0.5365388989, -0.0395951048, 0.0983118266, -0.4023166597, 0.0443999767, -0.2176798582, 0.4741008878, 0.3646089733, -0.8346010447, 0.2169612199, -0.110084489, -0.1825419366, 0.1747641265, 0.9985972047, -0.8160142303, 0.4740925133, 0.5781978369, 0.8776469827, 0.7945821285, -0.1337931007, 0.5955052376, -0.1718230247, 0.3468625844, 0.3112605512, 0.5422638059, 0.4216506779, -0.27754879, 0.2219020426, 0.3851273358, -0.6540020704, -0.8074805737, 0.1816198528, -0.840477407, -0.029917974, 0.9503729343, -0.44053635, -0.1191374287, -0.0698358491, 0.0385532454, 0.2136625946, -0.3909285665, 0.457731396, 0.4643495083, -0.2888709903, -0.460922718, -0.4126769602, 0.3487394452, 0.3934884071, -0.7428253889, 0.0559659861, 0.4408101737, 0.2237141877, -0.1456935257, 0.7933592796, -0.0254996885, 0.3384527862, 0.3296819627, 0.121847488, -0.1235962957, -0.4606280327, -0.4213773012, 0.3122251928, 0.0592289381, -0.3085236847 ]
http://arxiv.org/abs/2402.10938v1
http://arxiv.org/pdf/2402.10938v1
News Source Credibility Assessment: A Reddit Case Study
2024-02-07T13:39:24
2024-02-07T13:39:24
Arash Amini, Yigit Ege Bayiz, Ashwin Ram, Radu Marculescu, Ufuk Topcu
cs.CL
cs.CL, cs.SI
In the era of social media platforms, identifying the credibility of online content is crucial to combat misinformation. We present the CREDiBERT (CREDibility assessment using Bi-directional Encoder Representations from Transformers), a source credibility assessment model fine-tuned for Reddit submissions focusing on political discourse as the main contribution. We adopt a semi-supervised training approach for CREDiBERT, leveraging Reddit's community-based structure. By encoding submission content using CREDiBERT and integrating it into a Siamese neural network, we significantly improve the binary classification of submission credibility, achieving a 9% increase in F1 score compared to existing methods. Additionally, we introduce a new version of the post-to-post network in Reddit that efficiently encodes user interactions to enhance the binary classification task by nearly 8% in F1 score. Finally, we employ CREDiBERT to evaluate the susceptibility of subreddits with respect to different topics.
[ -0.2884410024, -0.8200901747, 0.4305661917, 0.4441792369, -0.480848074, 0.3728462458, -0.5389161706, -0.3422124982, 0.2077197433, 0.0815484002, -0.1542311311, -0.6316797137, -0.9260088205, 0.2493558377, -0.7500643134, 0.8371873498, 0.1678624153, 0.1519461721, -0.4739581048, -0.1629738808, -0.2748260498, -0.5387459993, -0.3963032961, -0.1139517725, 0.7149196267, 0.3156899214, 0.722986877, 0.3150643706, 0.8672217727, 0.2587667704, -0.0648586154, 0.0804546252, -0.4663716853, -0.1552482247, -0.7234521508, -0.3098907173, -0.0601778217, 0.1150091514, 0.269375056, 0.2372326404, -0.3276982009, 0.6642612219, 0.1309669614, 0.5177624226, -0.576990962, 0.1819236726, -0.7632725239, -0.1317349076, -0.18786183, -0.5189683437, -0.5405141115, -0.7747019529, 0.0958352983, -0.3578348458, 0.2837124467, -0.2891350389, 1.0594171286, 0.1622746438, -0.4726890326, -0.3554380238, -0.8480499387, 0.5987110138, -0.4080475867, 0.6743398309, 0.1005292833, 0.4518966079, 0.1266646683, -1.1017677784, -0.6224961877, 0.1085824296, -0.1696195304, 0.1983744651, -0.0466179661, -0.2110437602, -0.1559036821, 0.1076661944, -0.4298791289, -0.4567206204, -0.6964993477, -0.4895117581, 0.6602172852, -0.4696986973, 0.1303071231, -0.4758450389, -0.4242391288, -0.2953070402, -0.3439619839, -0.0924974158, 0.5158777833, 0.3793890774, -0.0495762043, 0.6706968546, -0.033772368, 0.543686986, 0.2644574046, -0.2889029682, 0.1325949878, -0.5496034026, 0.121041365, 0.2566346228, 0.7274594307, 0.8359399438, 0.2760434449, 0.2515090108, 0.0393753871, 0.4209314287, 0.4644863904, -0.6439156532, -0.2036303878, 0.0435991623, -0.5780989528, -0.5621765852, 0.5712857842, -1.0535333157, -0.3276148438, -0.2145181149, 0.2414710075, -0.1168714464, -0.1793305129, 0.001237217, -0.2779307961, -0.0356957987, 0.477404654, -0.0973862931, 0.0073930756, 0.6535363197, 0.8446916938, -0.2040174603, -0.0741404369, -0.3158348501, -0.2494033128, -0.0946771875, 1.1237061024, -0.7730396986, 0.1959968507, 0.3163180351, 0.0876257494, 0.099866502, -0.2654820383, 0.9248568416, -1.0281473398, 0.3316581249, 0.1047793552, -0.4487452805, -0.320363909, 0.5654572845, -0.7460616827, 0.8732872605, 0.3390673399, -1.0044163465, 0.3037381768, -0.4571411908, -0.5691725612, -0.1308821589, -0.0530806258, -0.2527859807, -0.0617554262, 0.157934621, 0.122697778, 0.1399797648, 0.3436654508, -0.1841810346, -0.1688762456, 0.5657254457, -0.6125899553, 0.7766594887, 0.0095663127, -0.0129307862, -0.2562954724, -0.8066320419, 0.1352595538, -0.1815911978, -0.7258489132, -0.2861111462, -0.2303910702, -0.0205405559, 0.252602011, 0.3363598883, -0.7792779207, -0.2708705962, -0.0506693609, 0.881246686, 0.3638831973, 0.4574709833, 0.2758418918, -0.1796489209, 0.2585633099, 0.0740181506, 0.2667784989, 0.1872572899, -0.4234381616, -0.6579502821, 0.1753001064, 1.0344455242, 0.6306477189, -0.763720572, 0.3733450472, -0.4053207636, -0.6969530582, -0.419408828, 0.0726548433, -0.1008520052, 0.4505885541, 0.4512673616, -0.2591904402, -0.6594616771, -0.9538438916, -0.8528710008, -0.4736936986, -0.143567279, -0.073815316, 0.4125591516, -0.2078011334, 0.8701869249, -0.0330700055, -0.1537368745, -0.0582672469, 0.4268907011, 0.0057347114, 0.1797099859, 0.3628278375, -1.0015070438, -0.5713536739, -0.2114156932, -0.6444985271, 0.0856933594, -0.1670435965, 0.006200124, 0.0207267404, 0.2250641584, -0.6957651973, 0.4459698498, 0.8146064281, -0.3413097858, 0.3089901805, 0.1389171928, 0.8242138028, -0.6250425577, -0.3117794991, 0.3792205155, -0.6155359745, -0.3657723963, -0.0525086448, 0.3408524692, -0.1044551134, -0.7568132877, -0.0166550782, -0.1505099386, 0.046209611, -0.119815439, 0.5584083796, 0.3862469494, 0.3160182536, 0.0191404819, 0.522300303, 0.1954443306, -0.5129950047, 0.3815856576, 0.1803591102, -0.4556701779, 0.7237758636, -0.693718195, 0.2536121309, -0.0329597034, 0.2736139596, -0.8584710956, -0.2916199863, 0.0949139446, -1.0532950163, 0.175569728, -0.1663034707, -0.617105782, -0.3462010026, -0.1055319831, 0.3853181303, 0.2630085051, -0.5208258033, 0.5576355457, 0.2721952498, -0.1940331608, -0.3040739298, -0.7868902087, 0.2598466873, 0.08575169, -0.6310047507, 0.3069852293, 0.143151179, -0.3693065345, 0.1990251094, 0.02722173, -0.4006461799, -0.1713610739, 0.0740918741, -0.0196147375, -0.1976649463, 0.006980998, -0.0169379003, 0.0136866402, 0.148861289, 0.2267085165, 0.2526229918, -0.0780157298, -0.5372470617, -0.8044842482, 0.0365106203, 0.7507767677, -0.262355417, 0.7455183268, 0.2406190485, -0.3431679904, -0.1023377553, -0.5199894309, -0.479698956, -0.4005007148, 0.3013562858, 0.5258650184, -0.7559508681, 0.1744466871, -0.0578745976, 0.1616665572, 0.5243700743, 0.5839776397, -0.1260782033, 0.7385684252, 0.4112293124, 0.2181922942, 0.253575325, 0.3786309958, 0.4922532141, 0.0194080938, -0.3665295541, -0.6497840285, -0.3435864449, -0.3535814881, -0.6587329507, 0.0550060533, -0.0698843449, -0.0110721905, 0.6927857995, -0.7027519345, 0.5350256562, 0.6603808999, 0.3142806292, 0.7524502873, 0.2761049569, 0.3618965149, -0.3185299337, -0.6180803776, -0.6529330015, 0.8624997139, 0.7414776087, 0.8231775165, -0.0583634786, 0.2076845765, 1.0547374487, 0.5476490855, -0.48487854, 0.5112315416, 0.2665849328, -0.7124334574, 0.0296656583, -0.3641715646, -0.2975284159, -0.0829117298, -0.4015810192, -0.1711336374, 0.3347047269, -0.1370918155, -0.3723869026, 0.2368447781, -0.5762444139, 0.3801003695, -0.3107150197, -0.4216367304, -0.4039175212, -0.4904325902, 0.247040689, 0.0436888784, 0.2943267524, 0.2153844088, 0.0426370203, 0.8215909004, 0.0581377409, 0.9293171763, -0.0870655254, 0.2391723245, 0.6768967509, 0.0074735098, 0.3513538837, 0.4654592574, -0.1223910749, 0.9100534916, 0.0686013028, -0.1889927834, -0.7160770297, 0.6168896556, -0.6909214854, -0.3737020493, -0.532111764, -0.034135446, -0.0523601472, 0.2144664973, 0.2735714614, 0.3872637451, -0.3418930769, 0.7470993996, 0.5222143531, -0.0016202575, 0.1569329947, 0.4446806312, 0.1283139884, -0.8438556194, 0.4459138811, 0.1206060797, -0.0056301695, 0.2914078832, 0.0268665217, -0.4631632268, -0.3444686234, -0.343468219, 0.0786807388, -0.8844935894, -0.6541196704, -0.3802022338, -0.6840392947, -0.3035796881, -0.0474073105, -0.7933356762, -0.6626605988, -0.1693491936, -0.3731021285, 0.1790952384, 0.6231172085, 0.1115828678, 0.0672304034, -0.9574999809, 0.0499842763, 0.2008123845, 0.4233181477, -0.4469417632, -0.6656793952, -0.141854465, 0.4234627783, -0.4119609892, -0.9726498127, -0.1025673971, -0.0119267618, 0.5060981512, 0.5292836428, 0.502876699, 0.4605652988, -0.2993878722, 0.8923254013, 0.2103414237, -0.6183772683, 0.6070625186, -0.1672532558, -0.397213608, 0.8535711169, 0.490373224, -0.2464508563, -0.6214881539, -0.8150565028, -0.3359751701, -0.1417092234, 0.5403593183, 0.1650557816, -0.2937859297, 0.4042401314, -0.0631641224, 0.3334571421, -0.8845109344, -0.0344721302, -0.7755451202, -0.2608055174, 0.2456546277, -0.478787899, -0.407790333, -0.3139685988, 0.5475516915, 0.1784308702, 0.3377217948, 0.7332444191, -0.2554769814, -0.2020572126, 0.3398455083, 0.777979672, 1.0612508059, 0.0329266563, 0.3195068836, -0.0836957395, -0.2495452166, -0.0183988642, -0.1172058284, -0.3023260534, 0.4337988794, 0.7375378013, 0.0115149003, 0.3005609512, -0.5120642781, 0.8650948405, -0.5106377602, -0.5360677242, -0.4476421475, -0.1073334888, 0.2228977233, 0.4015559256, 0.307885319, 0.5074773431, -0.2577906251, -0.494007796, 0.5309211612, 0.0226354785, -0.601000607, -0.4298509359, 0.5093075037, 0.6223147511, -0.6788157821, 0.5093460679, 0.137384817, -0.8282709718, 0.3875909746, 0.2093455046, 0.3489994705, -0.1102390438, 0.3767561316, 0.8894590735, 0.6169940233, -0.2206971347, -0.2152366638, 0.1849846542, -0.7697352767, -0.1687516719, -0.6040427089, -0.4131970704, 0.0114713581, -0.6072579026, 0.2584913671, -0.613269031, -0.5154197216, -0.3051013649, 0.1358024776, -0.3888761699, -0.0667935088, -0.1400387287, 1.3320370913, -0.9495128989, 0.3746047616, 0.629725039, -0.1491354555, -0.4844085574, 0.1802090555, -0.0133296894, -0.3671238124, 0.4183264673, -0.0111382371, 0.0038633556, -0.2109539211, -0.6889107227, -0.529499352, 0.9938828945, 0.4486080408, -0.5994639993, 0.2608799934, 0.2401643246, 0.5009657145, -0.3112430274, 0.1336623132, 0.2515074909, 0.7095697522, -0.0993275493, -0.7450190783, -0.0336386822, -0.1910306364, -0.1540318877, -0.2433929145, -0.7359223962, 0.6101633906, 0.0647894517, -0.5573847294, -0.3479026556, 0.9721505046, 0.1997484863, 0.3659622967, 0.6262304187, 0.3337245286, 0.6639168859, -0.1287030131, 0.6437970996, -0.6096391082, 0.6978963017, 0.9832865596, -0.0729411468, 1.074243784, 0.4880852103, 0.0195107833, 1.087916255, 0.7443070412, -0.1890452057, 0.5274911523, -0.2283921242, 0.0212295037, -0.418163836, -0.1611881852, -0.2844908237, 0.4580646455, 0.2579070032, -0.6888338923, -0.6078428626, 0.1359410733, -0.0583367944, 0.6721664667, -0.1761825532, 0.4376544058, -0.034420643, -0.8301730156, 0.1105551198, 0.0002784104, 0.3744938076, -0.2619809508, -0.3714607954, -0.0573292784, 0.3315912485, -0.3568216562, -1.1018048525, 0.4389986992, 0.0270120539, -0.0252807867, -0.1096102223, 1.2688099146, -0.4865325987, -0.7596620321, 0.3814101815, 0.4317776859, -0.2378109545, -0.1221106276, -0.7009218931, 0.2040204257, -0.146440655, -0.429538846, 0.0974492729, 0.4933747351, 0.2164569199, 0.5730784535, 0.7853142619, -0.0516892374, -0.2401635349, -0.0481902994, 0.9462944269, -0.4484637976, -0.4508096278, -0.728930831, 0.2873859107, -0.479952544, -0.0065542981, 1.0693609715, 0.5208299756, 0.861988008, 0.1820114851, 0.7418375611, -0.1473892629, 0.8508621454, -0.1948047131, 0.9087724686, -0.3124104142, 0.2033614516, 0.0015944442, -0.7335003614, -0.4659640789, 0.7586166859, -0.0847030059, -0.0045956639, 0.8426679373, 0.9465216994, -0.2082609087, 0.2821475863, 0.1434379518, 0.2108040899, 0.0183601566, 0.1305811554, 1.0330334902, -0.3464808166, 0.8510195017, -0.6201796532, -0.1711243093, -0.297412008, -0.9535734653, -1.2159430981, -0.3000313044, -0.6726214886, -0.8729678392, 0.1803101301, 0.5249468684, 0.6841501594, -0.6512662172, 0.2910839915, 0.0544108525, 0.2524616718, -0.2633123994, -0.3626942337, 0.1252529323, 0.2561094463, -0.3994208574, 0.0370148979, 0.2563391626, -0.3898627162, -0.4493637681, 0.174314186, -0.3678666949, 0.1967592984, 0.6311767697, 0.1699537933, -0.4628574252, -0.9048729539, 0.0602085479, -0.184561342, 0.2367547601, 0.8048304319, -0.5507333875, -0.0083757993, 0.6391691566, 0.5457471013, 0.1590077281, 0.8365751505, 0.3327713013, -0.6730113626, -0.1105177924, 0.3863749802, 0.1042063683, 0.5527279377, -0.5688075423, 0.2591684759, 0.4360432327, -0.6351294518, -0.619851768, -0.0823523104, -1.0094618797, -0.1937886626, 1.2466061115, -0.1096477136, -0.5729945898, -0.3382395506, 0.1525213122, 0.1937128752, -0.5299597383, 0.8789603114, 0.7911533117, 0.2742327154, -0.3990861773, -0.7109895349, 0.1413788646, -0.2728417814, -0.5381923318, 0.0515692495, 0.2402305305, 0.6188425422, 0.5615559816, 0.454079181, -0.3228519261, 0.4004407525, -0.0308933333, -0.0948322266, 0.093688935, -0.5469399691, 0.1351328939, 0.6095089912, -0.1762713343, -0.1216978356 ]
http://arxiv.org/abs/2403.06988v1
http://arxiv.org/pdf/2403.06988v1
Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generation
2024-02-07T13:36:02
2024-02-07T13:36:02
Luca Beurer-Kellner, Marc Fischer, Martin Vechev
cs.LG
cs.LG, cs.CL
To ensure that text generated by large language models (LLMs) is in an expected format, constrained decoding proposes to enforce strict formal language constraints during generation. However, as we show in this work, not only do such methods incur performance overhead during generation, but many of them also significantly impair task accuracy, if they do not correctly align the underlying LLM sub-word vocabularies with external constraints. To address this, we present a novel decoding algorithm, DOMINO, that can enforce constraints in a fully subword-aligned fashion, while leveraging pre-computation and speculative decoding to achieve virtually no overhead and in some cases even almost 2$\times$ speedup over unconstrained decoding -- thereby outperforming existing approaches by a wide margin.
[ 0.0168641992, -0.5553384423, 0.5661278963, 0.2869747579, -0.5983563662, 0.1536283195, -0.1016578674, -0.0931917801, 0.1983604878, 1.0242515802, -0.9813972116, -0.8679457307, -0.5576251745, 0.2786623538, -0.2360993028, 0.983014226, -0.0854016021, -0.0902203619, -0.3674711585, 0.1156114489, -0.1916738302, -0.2208619863, -0.1625658274, -0.2742137313, 0.2677735686, 0.4998154938, 0.8559951186, 1.3689148426, 0.3020422459, 0.2806814313, -0.0814994946, 0.7648833394, -0.5630415082, 0.013218483, -0.1374155134, -0.5417222381, -0.3237114251, -0.3545230329, 0.61821419, 0.5189110041, -0.301679492, 0.0886671767, 0.0690181851, 0.7203220725, -0.8123640418, 0.0143896639, -0.75502038, 0.1139357686, -0.5767051578, -0.621665895, -0.6598019004, -0.5482574105, -0.2965024412, -0.9622498155, 0.2181518674, 0.1395644993, 0.8283614516, 0.5317275524, -0.6010128856, -0.594530344, -0.6298061609, 0.7320453525, -0.5161604881, 0.4559445679, 0.3366149366, -0.1557795256, -0.5233559608, -0.4953188598, -0.5495757461, 0.0615853667, 0.1289446801, 0.0863815248, -0.0049715685, 0.29666394, 0.3361667395, 0.1872817427, -0.5318459868, 0.2491880953, -0.1600137502, -0.4351037741, 0.4848018289, 0.4646812081, 0.1904044002, -0.4321142435, -0.1866705418, 0.1264214218, -1.009180069, -0.1255113482, 0.417252928, 0.3178346455, -0.1113227233, 0.7020323873, -0.0275304019, 0.6705361605, 0.1539798975, -0.1529168487, -0.1937223971, -0.4854477048, -0.2538880408, 0.1314085126, 0.7506553531, 0.450942874, 0.0997304171, -0.1251418144, -0.102397792, 0.4022430182, 0.1572104394, -0.5379062891, -0.3407151401, 0.0720738918, -0.042907469, -0.1602904648, -0.2962712348, -0.7581999898, -0.5483959317, -0.0482636467, -0.104526639, -0.4979334772, -0.0125879729, 0.0946445465, -0.0005877212, 0.3818508983, 0.0755955428, -1.0669637918, 0.1617302448, 0.8502551317, 0.6831458211, 0.4224235415, 0.1055819467, -0.8003976941, 0.681545496, -0.9301276207, 0.5826119781, -0.4798777699, -0.6676706672, 0.2956179976, -0.2771730423, 0.2194944471, -0.5615916848, 0.6956671476, -0.5672749281, -0.0163574759, -0.3429211378, -0.7099487782, 0.2745316625, 0.3185768127, -0.5006982684, 0.9622615576, 0.0815674663, -0.572209239, 0.5713918209, -0.2809083164, -0.7289044857, 0.2486350089, -0.4422307909, -0.5667568445, 0.3069429696, 0.7487136126, 0.3324535191, -0.3439506888, 0.283638984, -0.0303272344, -0.2437551469, 0.002690326, -0.2074203938, 0.6991511583, 0.171175018, -0.3285078704, 0.16421552, -0.8559515476, 0.1818635315, 0.0190588981, -0.4737517238, -0.0649412572, 0.2229658812, -0.3871311247, -0.1804844737, 0.5097147822, -0.5652186871, 0.5538967848, -0.4130138755, 0.428954035, 0.923365891, -0.0167911649, 0.5783362985, -0.1813940555, 0.6092107296, -0.0788583085, 0.2554547489, -0.0056562745, -0.1391785145, -0.8508161902, -0.2047647238, 0.3292087913, 0.6506265402, -1.1967288256, 0.4899950027, -0.4763784409, -0.3900316358, -0.6826877594, 0.6462721229, 0.7919437289, 0.3541610241, 0.3232444227, -0.1408995688, -0.7091737986, -1.0048838854, -0.2349427193, -0.0079068858, 0.1299161166, 0.31506446, 0.0146632157, -0.341307193, 0.5557307601, -0.4613927901, -0.1529701501, -0.4267726839, 0.0912651196, 0.2803126872, 0.6098250747, 0.0057883831, -0.6355705261, -0.6458134055, 0.0348943658, -0.6505631208, -0.3003810942, -0.3179709613, -0.2377218604, 0.4784639478, 0.7627577782, -0.787460506, 0.3423117399, 0.6587580442, -0.0968463868, 0.2200148702, -0.4625634253, -0.4148393273, -1.0172355175, -0.2963129282, -0.2079989761, -0.3582006693, -0.5438473821, 0.0819667727, 0.446587503, -0.0152688241, -0.2036916763, 0.0444438793, -1.0544942617, 0.1429178119, -0.1764464676, 0.2031625956, 0.1883813292, 0.2495303154, 0.0978168398, 0.727325201, 0.4478422999, -0.7864095569, 0.2657433748, 0.1499744356, -0.6276237965, 0.3481513262, -0.2111914605, 0.2944402993, -0.3215990961, 0.3779744208, -0.5823690295, 0.0206425618, 0.3488385081, -0.1682761461, 0.4460203052, -0.190552786, -0.6797615886, -0.2580919564, -0.0874530524, 0.4966593981, 0.6561940312, -0.5961725712, 0.7539772391, 0.2180616409, 0.4378949404, -0.7392724752, -0.6279428601, 0.2275811136, 0.043035116, -0.5364168882, 0.495157063, -0.0282798838, 0.0119208749, 0.1216369569, -0.159446016, 0.1138468832, -0.2221857607, 0.1249114275, 0.1454688609, -0.0712329745, -0.3365255594, 0.2371800393, -0.1720932424, -0.1448238194, -0.5214435458, 0.4788656235, 0.5038135052, -0.2172755599, -0.675108254, 0.330204308, 0.6100596786, -0.2116222531, 0.5783671737, 0.3894162178, -0.134381637, -0.738509953, -0.3796351552, 0.174747318, -0.6048175693, 0.3622242808, -0.6242711544, -0.6020899415, 0.2932513654, -0.1664355248, 0.1521610022, 0.1179858223, 0.4025254846, 0.143020153, 1.0401016474, 0.9223251939, 0.0845900625, 0.3740667403, -0.0484575108, 0.3200113177, -0.9204393029, -0.3502000272, -0.4069932997, -0.0336620584, -0.6197162271, -0.6541545987, 0.1742977649, 0.3329950273, 0.302706331, 0.4324412942, -0.6839942336, 0.6993858218, 0.5817163587, 0.0523496494, -0.0047655804, -0.331869781, -0.4434223473, -0.1768772751, -1.003537178, -0.4414743483, 1.1566400528, 0.0684555322, 0.7733858824, 0.3628195524, 0.9043983817, 0.092214264, 0.4657524228, -0.4352648854, 0.8776297569, -0.4311151803, -0.7045180202, -0.1323264986, -0.5810797215, -0.9441823363, -0.0875810906, -0.2417263538, -0.5877036452, -0.0453973301, 0.3685109913, -0.4215257764, 0.3503006399, -0.4026694894, 0.4452200532, -0.2683165967, -0.5985671282, 0.0684990212, -0.4160289168, 0.4261441529, 0.1335079819, 0.3054111898, -0.1296313703, -0.2388538867, 0.4473197162, -0.6254569292, 0.8678544164, -0.3198886216, -0.3769901693, 0.373988539, 0.439979136, 0.858189106, 0.0304178167, -0.0991320685, -0.2073933482, 0.0135270627, -0.5832896829, -0.7260829806, 0.6462633014, -0.6427258849, -0.9267137647, -0.331517607, -0.7641836405, -0.2205156088, 0.3045203686, 0.7818008661, 0.5326162577, -0.1967873573, -0.0421181954, 0.9179831743, -0.1451635063, 0.1628166586, 0.4631311595, -0.0871090293, -0.6106718183, 1.0421745777, 0.2904338241, 0.1091714278, 0.961320281, 0.1314812154, -0.6416064501, -0.9799288511, -0.8529886007, 0.1780633032, -0.6085903645, -0.1838806421, -0.0803842247, 0.0153065715, -0.8140546679, -0.4261486232, -0.3801234961, -0.1540774256, -0.4333381355, -0.0909769759, -0.1183804274, 0.8890189528, -0.1920424402, 0.2948796153, -1.0858845711, 0.2368174195, -0.0414687172, 0.2134406716, -0.497079879, -0.1880128831, -0.2987540364, -0.2987281084, -0.2474002987, -0.9577626586, 0.2454657853, -0.0139130438, 0.4265319407, 0.6059422493, 0.4175617397, 0.8274318576, -0.7004988194, 0.7288799286, 0.1310528368, -1.3172316551, 0.3705062568, -0.4810968935, 0.4587990344, 0.4818399549, 0.1110336408, -0.3503214717, -0.2894951999, -0.348852694, -0.8785207272, 0.4275049865, 0.2392407805, 0.0708114803, -0.081975691, 0.704673171, -0.0989224315, 0.143469587, -0.8303847313, 0.0017446374, -0.1358945966, -0.5426796079, -0.2973797321, -0.4804406762, -0.4545000196, 0.1393595934, 0.7508755922, -0.1145837754, 0.1312287748, 0.3519615829, -0.153695479, -0.1581422389, 0.307641834, 0.9323512912, 0.408980459, 0.0501747355, 0.1819581389, 0.1304089278, -0.2691086531, 0.1549285799, -0.1333950758, -0.4636430144, -0.1026054546, 0.5307830572, 0.6584615707, 0.072118856, -0.5731253624, 0.3478101492, -0.0548209064, -0.4639832079, -0.3126623929, 0.1338272691, -0.0624202192, 0.158584699, -0.0060231904, -0.3202017546, -0.3492117226, -0.2404479384, 0.1142035201, 0.6852370501, -0.2392938137, -0.1812872738, 0.5549072027, 0.4677575827, -0.4765809178, 0.8162360191, -0.3809786141, -0.5606784821, 0.4399114847, 0.7704834938, 0.7923954129, -0.009801005, 0.0341331474, 0.1241141781, 0.8036338091, 0.1588174999, 0.5283403397, -0.3648056686, -0.8634296656, -0.5101830959, -0.5581852198, -0.4099060297, -0.0286865067, -0.6404451728, 0.0110452613, -1.1277492046, -0.0714197159, -0.41781497, 0.0776158795, -0.4094976485, 0.2833071649, 0.1135970131, 0.9875441194, -0.3641864955, 1.1120434999, 0.4338793457, 0.1551622897, -0.9316762686, 0.0487941727, 0.2349393368, -0.9015988111, 0.3722306192, 0.1056816876, -0.4457702637, 0.113897562, -0.3517256379, -0.7661850452, 0.9596120715, 0.3880403638, -0.9441121817, -0.0949828103, 0.4818179905, 0.2385545522, -0.1398160756, -0.1507053375, 0.3037189245, 0.496574223, 0.0242266152, -0.6761730909, 0.2856498361, -0.3295983672, -0.0384563096, 0.8152139783, -0.6643791795, 0.6104906201, -0.1312575787, -0.7242491841, 0.3998600245, 0.6895358562, 0.0798885226, 0.2113628238, 0.4025535583, 0.8840171099, 0.9472423792, -0.0852512419, 1.0265203714, -0.599262476, -0.0386830792, 0.849930644, -0.2148961127, 0.5709966421, 0.5920291543, 0.10055089, 0.6713027954, 0.6557646394, 0.1686628908, 0.5796113014, 0.4279577732, -0.3268369436, -0.4693754315, -0.2802044749, -0.1898237765, 0.2731824219, 0.6254402995, -0.2384656221, 0.0158880539, -0.4416113794, 0.1341232359, 0.5361202359, -0.3899350166, 0.6231190562, -0.0488055646, -0.9787541032, 0.6921240687, 0.2274889946, 0.6560308337, -0.8220040202, 0.2627830207, -0.1062330604, 0.3691493571, -0.2642315626, -0.4444500208, 0.2213639319, -0.1738643497, -0.1226296052, -0.2890952229, 0.4024660289, -0.4206587672, -0.5580704808, 0.2237449437, 0.2330629975, -0.1613391042, 0.4524294436, -0.5657600164, 0.3019346297, 0.2851419449, 0.0026287069, -0.0052508861, 0.6674826741, 0.1532259583, 0.6754787564, 0.7677404881, 0.1873612106, 0.427216053, -0.1700852364, 0.7930391431, -0.8172392845, -0.7426620722, -0.9648026228, 0.2886851132, 0.1112978235, -0.4220522046, 0.9781960249, 0.6211262941, 0.7065787315, 0.3567272127, 0.5701479912, 0.3147569597, 0.231801793, -1.1033316851, 0.2031515688, -0.5603433847, 0.3597263396, -0.1751112491, -0.7801772356, -0.5073662996, 0.3569585681, -0.3757131398, -0.3815920055, 0.5462322235, 1.0761927366, 0.1944365799, -0.0659152046, 0.2866735756, 0.0032729011, 0.526668787, 1.0124144554, 0.8218162656, -0.1015448645, 0.8136005998, -0.3854018748, -0.2680989802, 0.1268345118, -1.0386143923, -0.9448605776, -0.2481907606, -0.2192980498, -0.5120565891, 0.1433665603, 0.6544211507, 0.9217649102, -0.3527545631, -0.3421895802, -0.5861377716, 0.2765919864, -0.1177477017, -0.1064746603, 0.2558219731, -0.1133519188, -0.9766122103, 0.6794997454, 0.3472815156, 0.1216090694, -0.3736124933, -0.3604975939, -0.0103309546, 0.4579415619, 0.2094031274, 0.4263551831, -0.6245555878, -0.0737589598, -0.0438071676, -0.2459210753, 0.0153396158, 1.2007529736, -0.4997901022, 0.3033024967, 0.358779341, 0.7499492764, 0.4811161458, 0.1147249639, 0.7705435753, -0.9172170162, 0.101201281, 0.3863249719, 0.1913609505, 0.3219952881, -0.6804752946, 0.0541033894, 0.2347221375, -0.5086438656, -0.9115456343, 0.8037132621, -0.698792696, -0.4081811011, 1.0034474134, 0.0658914074, -0.5232083797, -0.1888300627, 0.0799656734, 0.3017421663, -0.3273341656, 0.5202639103, 0.5282743573, -0.3407761753, -0.3634741604, 0.0446254127, 0.7265654206, 0.8118447065, -0.4508608282, 0.2021750361, 0.5321934819, 0.1407891214, 0.2617094219, 0.7867310047, 0.0057788659, 0.0024712214, 0.2457872033, -0.2408489287, -0.299169004, -0.5463367701, -0.0854663402, 0.316767931, 0.0763292611, -0.236430943 ]
http://arxiv.org/abs/2402.04833v2
http://arxiv.org/pdf/2402.04833v2
Long Is More for Alignment: A Simple but Tough-to-Beat Baseline for Instruction Fine-Tuning
2024-02-07T13:32:11
2024-06-04T17:20:01
Hao Zhao, Maksym Andriushchenko, Francesco Croce, Nicolas Flammarion
cs.CL
cs.CL
There is a consensus that instruction fine-tuning of LLMs requires high-quality data, but what are they? LIMA (NeurIPS 2023) and AlpaGasus (ICLR 2024) are state-of-the-art methods for selecting such high-quality examples, either via manual curation or using GPT-3.5-Turbo as a quality scorer. We show that the extremely simple baseline of selecting the 1,000 instructions with longest responses -- that intuitively contain more learnable information and are harder to overfit -- from standard datasets can consistently outperform these sophisticated methods according to GPT-4 and PaLM-2 as judges, while remaining competitive on the Open LLM benchmarks that test factual knowledge. We demonstrate this for several LLMs (Llama-2-7B, Llama-2-13B, Mistral-7B-v0.1) and datasets (Alpaca-52k, Evol-Instruct-70k). In addition, a lightweight refinement of such long instructions can further improve the abilities of the fine-tuned LLMs, and allows us to obtain competitive results on MT-Bench and the 2nd highest-ranked Llama-2-7B-based model on AlpacaEval 2.0, while training on only 1,000 examples and no extra preference data. We also conduct a thorough analysis of our models to ensure that their enhanced performance is not simply due to GPT-4's preference for longer responses. Overall, our findings suggest that fine-tuning on the longest responses should be the default baseline for any work on instruction fine-tuning. We provide our code at https://github.com/tml-epfl/long-is-more-for-alignment.
[ -0.5543283224, -0.6286752224, 0.5584993958, -0.1016631201, -0.416793257, 0.049052868, -0.4564683437, -0.722858429, -0.0619701371, 0.4005866349, -0.583201468, -0.7550327778, -0.7603367567, 0.0486266315, -0.4658141434, 1.2948739529, -0.2240225673, -0.1863568872, -0.2299820483, -0.420306623, -0.5420233011, -0.2245093882, -0.4905817509, -0.3808039129, 0.6247528791, 0.7544025183, 0.8612027168, 1.1221880913, 0.6828737855, 0.2112486213, -0.2263175994, 0.4123435915, -0.5502520204, -0.1647132933, 0.0766759142, -0.5629607439, -0.7516114712, 0.2103850543, 0.4738789499, 0.6827208996, -0.1517782062, 0.4898083806, 0.1815148592, 1.0312685966, -0.4829066992, 0.0599317923, -0.1962407231, 0.0424910411, -0.3161486685, -0.3201333582, -0.3322437406, -0.7423610687, 0.1396506131, -0.797857821, -0.1250452399, 0.1348861158, 1.0204025507, 0.5664427876, -0.4435759783, -0.5953740478, -0.656059444, 0.9665989876, -0.5887085795, 0.5360333323, 0.3965767622, 0.4005974531, -0.2676863074, -0.5857669115, -0.3344705701, -0.3662700653, 0.1306705028, 0.2157158405, 0.1280730516, 0.0487456359, 0.4540421367, 0.3075720072, -0.4353803396, 0.7146008015, -0.4663503766, 0.0874275863, 0.4254610538, 0.2035216689, -0.2151668221, 0.2592035532, -0.5420851707, -0.0185136553, -1.2032477856, 0.2504722774, 0.5036206841, 0.0100567481, -0.2129654884, 0.6372237802, -0.335607022, 0.9904782176, 0.2917124629, -0.4299981594, 0.0799443722, -0.0849802941, -0.1803233325, 0.1192113459, 0.4742693007, 0.6469579935, 0.1274496466, 0.0284733716, -0.2972680628, -0.1538771689, 0.0144483261, -0.8319664598, 0.0185462721, -0.0380270407, -0.3794355392, 0.1593327075, 0.0163209215, -0.6248419881, -0.1453737319, -1.0371125937, 0.3350939155, -0.3809773326, 0.5943486691, 0.269405216, 0.1353242099, 0.8233027458, 0.404366076, -0.8066213727, 0.4517017007, 1.170361042, 0.6685586572, -0.4006149173, -0.3777109385, -0.6363588572, 0.0735438615, -0.5875723362, 0.70116961, -0.5457867384, -0.2013774365, -0.1723230332, -0.0078688674, 0.2985477149, -0.4908569753, 0.682700336, -0.620649755, 0.5338094234, -0.6561001539, -0.8782298565, 0.0278988648, 0.0950159803, -0.4688062966, 1.0333855152, 0.0467156693, -0.2620503902, 0.6202899814, -0.4861349463, -0.4283232391, -0.1859908849, -0.1226540506, -0.5211841464, -0.0032973585, 0.2383717, 0.3760097921, -0.5817784667, 0.0569856539, -0.2502892911, -0.7541761994, -0.0031642539, -0.4367090464, 0.4931709766, 0.16522865, -0.5514070988, -0.0198298357, -0.7687225342, 0.1647958755, -0.2405024916, -0.6640619636, 0.1247800291, -0.0015109623, -0.6779141426, 0.0423029959, 0.4128701687, -0.4414524436, 0.2312776595, -0.2591529191, 0.3275357485, 1.0391997099, -0.3101109862, 0.3490711153, -0.5264852643, 0.3808449507, -0.2827831209, 0.4518259168, 0.1049768031, -0.4378709793, -1.0540827513, -0.074441053, 0.2269913703, 0.4899238646, -0.2510329783, 0.7829379439, -0.4880506098, -0.4618119895, -0.6267811656, 0.5266636014, 0.6340448856, 0.6216575503, 0.5936535001, -0.3607627451, -0.4118045866, -0.7800194025, 0.1467909813, 0.164163664, 0.085208267, 0.1085188389, 0.416667521, 0.0477044284, 0.6215298176, -0.5235151649, -0.0888529196, 0.1551193595, -0.0418310165, 0.4028552771, 0.2870593667, 0.4559117854, -0.260397464, -0.472815007, 0.0568337142, -0.6615178585, 0.0237599351, 0.0471775681, -0.4099923074, 0.1284447461, 0.477296561, -0.6487699747, 0.2348038554, 0.4036133587, 0.0750683397, 0.3921609521, -0.1571134329, 0.0843022317, -0.7808132768, -0.0921357125, -0.0884932205, -0.1432602555, -0.2453943193, 0.2476362288, 0.1920478791, 0.2073646486, -0.2933233976, 0.2951887846, -0.6055647135, -0.2016851008, -0.4270982444, -0.0181030035, 0.1674876064, 0.4360190928, -0.1255271286, 0.9332577586, 0.2042390853, -0.6230741739, 0.6519091725, 0.159116745, -0.7188096046, 0.6136848927, -0.7474368215, 0.3930934966, -0.099530451, 0.3457019031, -0.70248276, -0.3085979819, -0.04194602, -0.1685064733, 0.5541997552, -0.1721622497, -0.3308408856, -0.4813961089, -0.5059263706, 0.1746901274, 0.8583235145, -0.8676400185, -0.0281158797, 0.0104276277, -0.0506638736, -0.9307793379, -0.4612870812, -0.102918759, -0.3369961679, -0.2775574923, 0.2373937666, -0.1938234568, 0.1275031418, -0.4193399847, -0.4820875823, 0.1064965278, 0.1483452469, 0.2733877897, 0.2547428906, -0.5159980655, 0.0135797933, 0.1380913407, -0.2819902003, -0.011410078, -0.234358117, 0.4666140079, -0.1236099154, -0.7038223147, -0.7765313983, 0.1321111172, 0.5815093517, -0.1950356066, 0.5085334778, 0.526923418, -0.0935730934, 0.080524005, -0.632989943, 0.0347740576, -0.4782168567, 0.1352657974, -0.1340521872, -0.7796162963, 0.26274243, -0.0956049263, 0.3465987444, 0.2754428089, 0.3660291433, -0.3453969657, 0.9008454084, 0.5793099999, -0.2680243254, 0.4701380432, -0.3239522576, -0.1057798937, -0.9013769627, -0.3352166712, -0.4855105579, -0.6588375568, -0.5736913085, -0.4022637904, 0.2584888935, 0.0909863636, -0.6235419512, 0.2735325396, -0.7151480317, 0.9375244379, 0.6628298759, 0.2438814938, 0.1599299759, -0.0799318105, 0.1478809267, -0.0199221987, -0.2904754877, -0.7002686858, 1.1728477478, 0.3732943237, 1.0078982115, 0.173101142, 0.895930171, -0.140022561, 0.1814982295, -0.8485700488, 0.4423324466, -0.272613138, -0.277344048, -0.3078995049, -0.1828411669, -0.9885735512, -0.4056505561, 0.1299841702, -0.3052322865, 0.036602091, 0.1687233001, -0.7779160142, 0.0391021371, -0.6899621487, 0.4536620975, -0.5825299621, -0.4046085775, -0.0205361303, -0.8498289585, 0.1650539339, 0.1084660739, -0.0928834379, -0.3119701445, -0.4014784992, 0.816659987, -0.3825163245, 0.7493197918, -0.061988391, -0.2160383165, 0.2835519314, -0.2362096459, 0.5706233978, -0.0341286212, -0.1899673641, -0.1504554898, -0.1883145124, -0.5705644488, -0.6013807654, 0.8658081293, -1.0198922157, -0.7359883189, -0.1330733299, -0.1963996142, -0.1292127371, 0.1257583797, 0.412053287, 0.3587813675, 0.1257591993, 0.4380974472, 0.8586369157, -0.1282058209, 0.2288537621, 0.3071208298, 0.239274323, -0.3432990909, 0.8727730513, 0.287050426, 0.3721628487, 0.566270113, 0.1854848117, -0.2673023045, -0.736731708, -0.6012957692, 0.0178700369, -0.7769892216, -0.5398691297, -0.2020893544, -0.160680443, -0.1259823591, -0.2220301628, -0.336060524, -0.4637689292, -0.484135747, -0.3317265213, 0.3608704507, 0.7510899901, 0.2045771778, 0.5521687865, -0.5893779993, 0.3784156144, 0.4973159134, 0.4684945643, -0.2114754468, -0.7313681841, -0.2419475764, 0.0772032067, -0.5550101995, -0.5878639817, -0.0236526784, 0.3810479343, 0.4285143018, 0.4139975309, -0.2859038413, 1.2228519917, -0.4691167474, 0.6354002953, 0.026134422, -0.6849075556, 0.4375727773, -0.0491637625, 0.2487229407, 0.6643925309, 0.572471261, -0.2104072422, -0.1472413391, -0.2533088923, -0.775277555, 0.506596446, -0.144242689, 0.1102881357, 0.034707576, 0.6705752611, 0.5920313597, 0.1939539313, -0.4914202392, -0.1003349274, -0.0565464534, -0.2849856913, -0.0420129411, -0.2632018328, -0.3555513024, -0.431655854, 0.515334487, -0.1953774691, 0.2400675714, -0.1787553579, -0.1309282333, -0.1754954755, 0.3023462296, 0.7736976743, 0.8846437335, -0.1092450172, -0.0715852082, 0.4515124559, -0.22619313, 0.1013047025, 0.0563700199, -0.0833494663, -0.3364573717, 0.6096081138, 0.8972975016, 0.13772659, -0.260166347, 0.4542632401, 0.2401854396, -0.0316909663, -0.2021142542, 0.2862421274, 0.0070182104, 0.1719977409, 0.0837945193, -0.1742564589, 0.0045815348, -0.4792168438, 0.1357869953, 0.3294511437, -0.2631973326, -0.2450310588, 0.3639364541, 0.1046638042, -0.0705961436, 0.6055721641, -0.1424752027, -0.2104825526, 0.7468716502, 0.3877722025, 0.1908299625, -0.0198663007, -0.0552607141, 0.3639489114, 0.1505179554, -0.3318825066, 0.3134878278, -0.1885203868, -0.1874632686, -0.5638195872, -0.6795439124, -0.5415856242, 0.1140274033, -0.9266235828, 0.5285791159, -0.8986846805, -0.1525795758, -0.0749000162, 0.236573264, -0.7559169531, 0.1747594476, 0.1747071594, 0.8191127777, -0.5547996759, 0.6795630455, 0.4545865953, -0.0673293844, -0.804233253, -0.3174376786, 0.0591349415, -1.2018305063, 0.4915591478, 0.3600803316, -0.0039016628, -0.2215041369, -0.749204576, -1.0216283798, 1.3925286531, 0.5764210224, -0.9130160809, -0.3235281706, 0.1416721344, 0.6914005876, -0.1041448191, 0.3680637777, 0.8342612982, 0.370372653, 0.1956582665, -0.9187686443, -0.1419195682, 0.1831891984, -0.3063739836, 0.5257165432, -1.0064263344, 0.7782409191, -0.3468615413, 0.0243756752, 0.4616283476, 0.7914347053, 0.2974055111, 0.2982589304, 0.0526037067, 0.8358489275, 0.8714801073, -0.2069476843, 0.8525872827, -0.3164799511, 0.1304932088, 1.4594781399, -0.2087475955, 0.8099914789, 0.4808513224, -0.1661325246, 0.4989005923, 0.7766202688, -0.0766182989, 0.3550307155, 0.3046815693, 0.1009256542, -0.2317391187, 0.0688701421, -0.5041455626, 0.4979685545, 0.3559387922, -0.211055398, -0.2003512383, -0.2319244593, 0.0754572898, 0.010020325, -0.1681777537, 0.8336539268, 0.1659275591, -0.8421960473, 0.8854430914, -0.0730182081, 0.6940808296, -0.3314123452, -0.1466666609, -0.3887723088, 0.0327802934, -0.2985159755, -1.0216591358, -0.0611420907, 0.2047704756, 0.0296131559, -0.1412181109, 0.1301056296, -0.1008853167, -0.1930230856, 0.1147781536, 0.3077455759, 0.1334671527, 0.4791563153, -0.6857711077, -0.0439404026, -0.1392934471, -0.2489241064, 0.3759465814, 0.3831114471, -0.1850448251, 0.7032541037, 0.6480067372, 0.0391606204, 0.2892386317, -0.0385784023, 0.7734854817, -0.6461794376, -0.0493471399, -0.925978601, 0.0980663076, -0.0959745795, -0.6535181999, 0.4470051825, 0.7319962978, 0.9503605366, 0.2992488146, 0.1428754032, 0.298168093, 0.4224373698, -0.8819959164, 0.2423194945, -0.4156608582, 0.3679271638, 0.2070202827, -1.0375387669, -0.0893051922, 0.4302282631, -0.30759269, 0.0581271164, 0.5418477654, 0.587529242, -0.1945674717, 0.0335671827, 0.1915521771, -0.0770769194, 0.3744509816, 1.0219191313, 1.0361847878, -0.3004152179, 0.5500962734, -0.4161230028, -0.1250237823, -0.2391330153, -0.7837486267, -0.7911401391, -0.1527663767, -0.1174405962, -0.0758523569, 0.2823858261, 1.1915112734, 0.6015346646, -0.65141958, -0.3242464066, 0.2343572229, 0.1235828027, -0.1085206196, -0.0791010782, 0.4923675656, -0.3036185205, -0.6550662518, 0.3848653138, 0.1929756105, 0.3634172678, 0.2833322585, -0.2778069675, 0.2007535547, -0.1326782256, 0.6076878905, 0.4322113097, -0.6755698919, -0.4920566678, 0.1325865239, -0.3682278693, 0.4400810897, 0.4134283364, -0.5098230839, 0.105095312, 0.2525600195, 0.6818714142, 0.3667023182, 0.0609499328, 0.3503804803, -0.6406086087, -0.0214602109, 0.2759796381, 0.3613506258, 0.2495508939, -0.3716411293, 0.4739892483, -0.2609629333, -0.8119869828, -0.7730372548, 0.2243981212, -1.0453323126, 0.128176704, 1.1002099514, -0.2571650743, -0.3293962777, 0.2320557237, -0.2200191915, 0.4092448354, -0.4162168205, 0.8728095293, 0.7705293298, -0.4004704654, 0.0860194713, -0.6085733175, 0.5242230892, 0.6442459226, -0.9309985638, -0.0928026885, 0.4979340434, 0.3035405576, -0.0144473314, 0.1956556886, -0.1578323543, 0.6354737282, -0.5542439818, -0.377315253, -0.2073314637, -0.5745966434, -0.2478967309, -0.0615977943, 0.4122910202, -0.1096209139 ]