id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/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.0226290319, 0.0931861773, 0.0193560813, 0.0601378419, 0.0033974154, -0.0106262304, 0.0095186802, -0.0079016248, -0.0037079456, -0.009267549, -0.0537421554, -0.0109252566, 0.0025838616, 0.020287618, 0.0170791391, -0.002681314, 0.0505469814, -0.0456047915, -0.007773893, -0.0282394625, -0.0026683093, 0.0316971801, -0.0193790514, 0.0038732805, 0.0078423778, -0.0119646927, -0.0126485042, 0.0354479477, -0.0215406567, -0.0372028127, 0.0240649953, 0.0271965936, 0.0190801863, 0.0354236811, 0.000002011, -0.0150177525, 0.0220351983, -0.0239021331, -0.0464496203, 0.075276956, 0.0291771684, -0.0227381531, 0.0037017933, 0.0130963773, 0.0019711156, -0.0196352061, 0.073021926, 0.0238206834, 0.0211428665, 0.0694341585, -0.006308666, -0.0265305135, 0.012066748, -0.0623242557, 0.0104770381, -0.0337509215, -0.0054547368, -0.0204338077, -0.0233022049, 0.0221261811, -0.0290974695, 0.0318324342, 0.0391621813, 0.0394502692, -0.0073282225, 0.0613507815, -0.0112570999, -0.0217131898, 0.0135245863, 0.058360707, -0.0404009745, -0.0260289647, 0.0138560701, -0.0107609732, -0.032571163, -0.0626443923, -0.0160573237, 0.0132700559, 0.0036473505, 0.0528524034, 0.031106906, -0.0033313185, 0.0781620368, 0.0471880324, -0.0249300506, 0.0395791344, 0.0210199691, 0.0070132259, -0.0275119394, -0.0032554464, -0.0433959067, -0.0197035838, -0.0375678316, 0.031009106, -0.0287381746, 0.0149371559, -0.0643319786, -0.0123431124, 0.0116549246, -0.0346485935, 0.0709560737, 0.0749456286, -0.0077688461, 0.024675943, -0.0782334879, -0.0087522091, -0.0397104882, 0.0284304731, -0.0371914655, 0.0066398024, 0.0246628895, 0.0098917615, -0.0182983372, 0.0269312561, -0.0486334413, -0.0150002828, -0.0368707627, 0.0301742852, -0.0104088727, -0.023070531, -0.0271829925, 0.0141272675, -0.0248562768, -0.0289176255, -0.035780739, 0.0218311343, -0.0249047838, 0.0491860248, -0.0222435221, -0.0501431972, -0.0206556991, 0.0405127555, 0.0347083248, -0.0162123982, 0.059679985, 0.0435123853, -0.0450202152, -0.0427967086, -0.0823717639, -0.0061949291, 0.0245536789, -0.0780853853, 0.0279318783, -0.0771579072, 0.0513808131, -0.0003415401, -0.0129622845, -0.0538189895, 0.0285083093, 0.0217106659, -0.0349070542, 0.0475847721, -0.0066720261, -0.0040163575, 0.0265437458, 0.012127405, 0.0081630973, 0.0846409053, 0.02376955, 0.0431152843, -0.0146938879, 0.0106019964, -0.0659944266, 0.0158020556, 0.0676021725, 0.0187173747, -0.0246147476, -0.025306616, -0.0550932698, 0.033916764, 0.1152403802, 0.0720988363, -0.0515012555, -0.0218962748, 0.0417696461, 0.0360108539, 0.0120100826, 0.0288067535, 0.0383693837, 0.0022524423, 0.0001758836, -0.0011046432, -0.0530747548, 0.0637914911, 0.0079091461, 0.0034591267, 0.0599182844, 0.0339130573, -0.049708616, -0.0334899426, -0.006750281, -0.0273724254, -0.025572814, 0.0391057134, 0.00629939, 0.0076418687, -0.0515280813, 0.1048382968, 0.0405798443, -0.018682193, -0.0117716948, -0.0762074068, 0.0468308106, 0.0372693688, 0.0121867713, 0.0200764555, -0.0124651743, 0.0337723345, 0.0075117247, 0.0337247215, 0.0090294862, 0.0055478509, 0.040318273, -0.0667941272, 0.0049285749, -0.0553771444, 0.0278436188, 0.0033470972, 0.0432400331, -0.0094697466, 0.0488302596, -0.0003292254, -0.0012352505, 0.0309712011, -0.0189086106, -0.0319749042, 0.0225627366, 0.0033708056, 0.0301076081, -0.0480527133, -0.0046590855, 0.0125280805, 0.0095767323, -0.0661724508, 0.0180832297, -0.0201836769, -0.0644847676, -0.0498764217, 0.0195616651, 0.0489740558, 0.034660235, 0.0488181897, -0.0532495901, -0.048785571, 0.038920708, -0.0398946181, 0.0439269543, -0.0657525212, -0.0025301268, 0.0428066552, 0.043569725, -0.0139874406, 0.0485476069, -0.0261733737, 0.0171930864, 0.0419857986, 0.0035675173, 0.0181235578, -0.0046086176, -0.005365306, -0.0230093449, -0.0132028908, 0.0335862301, -0.0300913416, 0.0002765188, 0.0138384746, -0.0270096902, -0.0619154498, 0.0113943443, -0.039747294, 0.0212424602, 0.0316970833, 0.0329989381, 0.0406421013, -0.0024148675, -0.018159695, 0.0427117832, 0.0075891269, 0.0291453674, 0.0019054412, -0.009443067, -0.0497510768, -0.0385636203, -0.0272764843, 0.0210901499, 0.030880589, -0.0455245487, -0.0276577529, -0.0290991701, -0.0052983095, -0.007717446, 0.0446586795, -0.0159390345, -0.0514322445, -0.0144611187, -0.0034225467, 0.0223464034, 0.059750326, -0.0283793826, 0.015189508, 0.0466232151, 0.0540859476, -0.019825602, 0.0340170488, -0.0010122336, -0.0225552898, -0.0198628027, -0.01667176, -0.0285062529, 0.0759439245, 0.0039346698, -0.0080394167, -0.0444351472, -0.0410115346, 0.0123903956, -0.0420732647, -0.0198130906, 0.0209184941, -0.0051661516, 0.0366825983, -0.0509727523, -0.0514170341, 0.0334648266, -0.0267940536, -0.0180117823, -0.0095289489, -0.0122711118, -0.0376981832, 0.0515272729, 0.0490854867, 0.0566073358, -0.0219578519, -0.01892915, -0.0431408249, 0.0005323902, -0.0181335974, -0.0040875608, 0.0812949985, -0.023472324, 0.020362366, -0.02563099, -0.0514538884, -0.0265391264, -0.0003892142, -0.0168243553, 0.0436316468, 0.0206364188, -0.0226763468, -0.0136397909, -0.0188737549, -0.0183735639, 0.0908300877, 0.0125679784, -0.0028314167, -0.0367160514, 0.0327448733, 0.0435702242, 0.0211031698, 0.0037759263, -0.0391002893, -0.0114768157, 0.0457433537, -0.0167432819, -0.0008594829, -0.0609745793, 0.0129711358, 0.0293893628, 0.0100696199, -0.0069484035, 0.0284988154, 0.0409451276, -0.0571760125, -0.0081452215, 0.07983426, -0.0063751396, -0.0281134397, 0.0292973258, 0.0201561153, 0.0808765516, 0.0347232483, 0.0299877394, -0.073519595, -0.0412992761, -0.0196273066, 0.003196728, 0.0104780281, 0.022538757, -0.0151534649, -0.0547936931, 0.0071963263, 0.004537072, -0.0275670234, -0.0265234374, -0.0294407811, -0.032484863, 0.016532708, 0.0099518606, 0.0229982492, -0.0167997591, -0.0324612185, 0.0268078689, 0.0024538422, -0.0411765575, 0.0307782274, 0.0146576185, 0.0263030417, 0.0073492872, -0.0167476647, -0.0056380634, -0.0428172089, 0.0314930789, -0.0129002258, 0.0168785695, -0.0147496564, 0.0268781967, 0.0364982113, -0.0423152111, -0.0004079675, 0.0059804758, -0.0271139387, -0.010643566, -0.0425594933, 0.0563927218, -0.0080891196, 0.0123220263, 0.0169509593, -0.0240901895, -0.0149479387, 0.0365466848, 0.0365867577, -0.002023014, -0.0397949964, 0.004589994, -0.0327245891, -0.0748089477, -0.0049791373, 0.0201116204, 0.0021038058, -0.04523357, -0.0301772729, 0.0063509545, -0.0316341594, 0.0334034003, -0.0280124843, 0.0112426607, -0.0019316288, -0.0141730774, -0.0732703134, 0.0363090895, -0.0372960977, 0.0249401629, -0.0635793805, -0.0266916435, 0.028628204, 0.0004188469, -0.0004266492, 0.0106409267, -0.1289460808, -0.0825364366, -0.0327463746, 0.0304689407, 0.0126101477, 0.0257024765, 0.0220189709, -0.0393267274, 0.0615387671, 0.0283252932, -0.0400394835, 0.0706467181, 0.0347888023, -0.0262340065, -0.0095082624, 0.0666673481, -0.0131900255, 0.0326554663, 0.0098733008, 0.0358735807, -0.0072247931, 0.0051142648, -0.0076520881, -0.0135684935, 0.0029273005, -0.0255597215, 0.0112791779, -0.040856231, 0.0352214612, 0.0314146206, 0.0218881126, -0.0523081198, -0.0289803352, 0.0384852216, 0.0218976382, -0.0186529066, -0.0252159964, 0.0569135956, 0.0287659746, 0.0252607688, 0.0094341412, -0.0188861787, -0.0102620553, 0.0280796457, -0.0003191218, -0.0551407859, 0.024830034, -0.0156842079, 0.0265380517, -0.0456630662, 0.0271438938, -0.002840108, 0.0139257004, -0.0921356156, 0.0149954576, -0.0191025827, -0.067775093, -0.0126468185, 0.0045468039, 0.0833783373, 0.0035376309, 0.0633027032, -0.0301371049, -0.0131896501, -0.0198002402, 0.0220059901, -0.0416440703, -0.0219545811, 0.0615400225, 0.0345437229, 0.0188079402, -0.0224415306, 0.0749545991, 0.0338376239, 0.0475716591, -0.0039295419, 0.0362441577, -0.006527449, -0.0616913885, 0.0121661536, 0.0271086749, -0.0351000242, 0.0101336427, 0.0180326402, -0.0723001063, -0.0006324081, -0.0205987412, -0.0143974954, -0.0354964174, 0.0330293104, 0.0484149158, 0.0104783969, -0.0427831635, -0.0342919603, -0.0341542438, 0.0069278022, -0.0185944326, -0.0002125911, -6.996897228e-33, -0.0040577487, -0.0146596814, 0.030469941, 0.0123959407, -0.0356166288, 0.0396281369, -0.0582355447, 0.0141710788, -0.0525271371, 0.0140425758, 0.0030436614, 0.0072382735, 0.0082120765, 0.0499138944, -0.0222129188, -0.0041657626, 0.066735588, 0.0006825094, -0.0018348161, 0.0237801019, 0.0301713683, 0.0071057635, 0.0293749962, -0.0219320916, -0.0626607612, 0.0134755839, 0.0018258825, -0.0035089185, -0.0169200413, 0.0336658582, -0.051212471, 0.0582413636, 0.0289085843, -0.0058983616, 0.0097383419, -0.0292590652, -0.0859841779, -0.0320783556, 0.0345496796, 0.0010023681, -0.0355763212, -0.0391778275, 0.0419462249, 0.0186899602, -0.0047951858, -0.0279190503, -0.0240869783, -0.0043828934, -0.0708298832, -0.008621213, -0.0736428276, 0.0223329775, 0.0361998752, -0.013618663, 0.0341245383, -0.0002593179, -0.0244910922, -0.0077028982, -0.0458916575, -0.0430012383, -0.0165653788, 0.0958848372, 0.0429306366, 0.0602341257, 0.0036743376, 0.0240502451, 0.0096253389, 0.0169354863, -0.0284142718, 0.0459372476, 0.0523344688, 0.0484329201, 0.0060591982, 0.0126312012, 0.0640802681, -0.0137692885, -0.1153989583, -0.032387536, 0.0078368085, 0.0561561212, 0.0255117863, 0.0244574826, -0.0289356112, -0.0403865799, -0.0285767075, 0.0180864353, -0.0538812131, -0.0208986793, 0.0010644599, 0.0579395629, -0.0019855062, -0.0368983783, 0.0183547474, -0.0146708433, 0.0072476254, 0.0259071868, 0.0144337658, 0.0147484541, -0.0079637971, 0.0166497082, -0.0768703595, -0.0620517284, -0.0134138605, -0.0249576699, 0.0244240891, -0.0063316342, 0.041874662, 0.0486393273, -0.0726984218, -0.0253090262, -0.0640527755, -0.0021382631, 0.0117518175, 0.0533184558, 0.0314664394, -0.0092377616, -0.0042380393, 0.0622196123, -0.0311757382, 0.004885742, -0.0211129896, -0.0296181161, 0.0182966273, 0.0561060384, -0.0426448211, -0.0014496718, -0.0613323636, -0.0038856512, 0.0054473239, -0.0925371274, -0.037876945, 0.0173780955, 2.69e-7, 0.0035589535, -0.0117571428, -0.0238640569, 0.0669008717, 0.0083603105, 0.0162211843, 0.0389412753, 0.0029389216, -0.0296707973, -0.0386995152, 0.0289020147, 0.0425972417, 0.0535306409, 0.0083553949, -0.0403929725, 0.043500822, -0.05513338, 0.0210599583, -0.0330692306, -0.0687379465, 0.0243412405, 0.0966032371, -0.0109072467, -0.053490404, 0.0512275919, -0.0080839982, 0.0642160997, 0.0344747752, 0.0063579134, 0.0187238622, 0.0427678637, 0.0108919227, -0.0210061204, -0.0227675736, -0.0131617002, -0.0017395584, -0.0523568392, 0.083756946, 0.0004429861, -0.0584210642, 0.032763809, -0.0186109263, -0.0131350067, -0.0371190719, 0.0599873178, -0.0159960911, -0.0277520344, -0.0333912857, 0.036125131, 0.0190118738, -0.0053176344, -0.0225123428, -0.0166725051, 0.0085894372, 0.0262691267, -0.0421330631, -0.038023334, -0.0835341811, -0.0303136595, 0.0030547141, -0.0312336851, -0.0316183232, -0.0831503421, 0.0136954794, 0.0384360105, -0.011414621, 0.0042116824, 2.47039528e-34, 0.020078212, -0.0631198958, 0.0173536167, 0.0473434031, 0.0304689687, -0.032781072, -0.001865573, 0.0069585079, 0.0086270273, -0.0619993322, -0.0312969014 ]
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.0350342318, 0.0768224746, -0.0193118248, 0.0249369368, -0.0562056191, -0.0026609425, -0.0453069732, 0.0028285526, 0.0029599725, -0.0489538386, 0.0407234505, -0.0032862239, 0.002987243, 0.0146650737, 0.0152682578, -0.0377043299, 0.0540610068, -0.0093710721, 0.0486607552, -0.018635327, -0.0065313019, 0.0346659459, 0.0447081104, 0.046756722, 0.0018518709, -0.0370724648, -0.0115362247, 0.0127414009, -0.0367946289, -0.0245407429, 0.0153950807, 0.0039801151, -0.0252260119, -0.0130076343, 0.0000020169, -0.0702309906, -0.0400059335, -0.0301902872, 0.027696915, 0.012996763, 0.120780997, -0.0106954174, 0.0007274143, 0.045985803, -0.0135426354, 0.0707613826, 0.0196648743, 0.0581047907, 0.0416432098, 0.0520870239, 0.0014456252, -0.0354616717, 0.0355148539, 0.0073596709, -0.0316264145, -0.0324165858, 0.0199992247, 0.047574766, 0.0698698908, 0.012167735, -0.0149275046, 0.0479805097, -0.0276230406, 0.012365628, -0.0136371152, 0.0117863463, 0.0206361245, -0.0263229702, -0.024213789, 0.0006064808, 0.0371831693, -0.053569857, 0.0290235244, -0.0056872438, -0.0157739539, -0.0391731486, -0.0398334935, 0.0494043529, -0.0344300494, 0.0319378152, 0.0720846131, -0.0278273281, -0.0130702686, 0.0162274502, -0.0284978338, 0.0839864761, 0.0327740014, -0.0354242623, -0.0501388758, 0.0096594952, -0.0324752852, -0.0874696374, 0.0379497334, 0.0374752693, -0.0818531066, 0.0121738035, -0.0834339112, -0.0690608099, 0.0387656577, -0.0394944623, 0.0176900215, 0.0401956439, 0.0253446922, -0.0187338553, -0.0138124824, 0.041088257, -0.0303444341, -0.0061706672, -0.0647331104, 0.0010108028, -0.0033632338, -0.0471851975, -0.0757661983, 0.043726813, -0.041334521, -0.0216551106, -0.0428365134, 0.0203857161, 0.0368184559, 0.0106331902, 0.0089549888, 0.0128607908, -0.052175045, 0.0089172591, 0.0068793711, 0.0228550714, -0.0025167773, -0.0082484661, -0.0088836262, 0.0088652503, 0.0026177124, 0.026591219, 0.0388743989, -0.016579235, -0.0057607638, 0.0518236011, -0.0307506919, 0.0034637442, -0.0165945012, -0.0581368804, -0.0251165684, -0.0311831944, -0.0477982722, -0.0670020655, -0.0107882936, 0.038934052, 0.0035885745, -0.0412412584, 0.023801282, 0.0438614711, -0.0446021035, 0.001199155, -0.0184811912, 0.0051710275, 0.0424170904, -0.0190859511, 0.0535056144, 0.0544544756, 0.0570192374, 0.0356915742, 0.0262419675, 0.0239593294, 0.0175789036, 0.0275497641, 0.0129921595, -0.0238409806, -0.0461426489, -0.0021876257, 0.0183175839, 0.0225424264, 0.0297919028, 0.0814962089, -0.0002175708, 0.0488190763, 0.0231144857, -0.0038593172, 0.0132979155, 0.009096805, 0.0749869421, 0.0207776427, -0.0099803014, 0.0521046445, -0.0004577166, -0.0030011944, -0.0401210003, 0.0501428656, -0.0046989252, 0.06355647, 0.0105386181, -0.0520592816, 0.0038597235, -0.0058739581, -0.0049453066, -0.0428584479, 0.0181285273, 0.043495845, -0.0872852951, 0.0169715583, 0.0361746065, -0.041618485, 0.0226800274, -0.0035679529, 0.0285115875, 0.0377884544, 0.0631996244, 0.0282703564, -0.0013506104, -0.0067884321, 0.0101571605, 0.0659910515, -0.0223694686, 0.013949858, -0.0371567272, -0.0338159911, -0.000872533, -0.0063955183, 0.0321537517, 0.0107952831, -0.0168344527, 0.0212838426, 0.0279571936, -0.0017523468, -0.0329768173, 0.0502968393, -0.0292439032, -0.0160018206, 0.009093089, -0.0093919374, 0.0210132189, -0.0044703172, -0.0126155363, 0.0408494473, -0.006860218, -0.0356614962, -0.050391037, 0.0313274786, -0.0451478362, -0.0471782945, 0.0489019342, -0.0276614167, -0.0046448582, 0.0139123918, 0.0285118576, -0.0653150529, 0.0514763072, -0.0511152744, 0.042295631, -0.047604274, 0.0364138447, -0.005573336, -0.0227066949, -0.0481357388, 0.0687144101, 0.0212203283, -0.0021724752, 0.0262339674, 0.0239652339, -0.0036814534, -0.0045937174, -0.005979429, 0.0297803972, -0.0134526221, 0.0072808531, 0.0491015762, 0.0272628553, -0.0149113135, -0.0868881792, -0.0673740655, -0.0137088206, -0.0008545431, 0.0095490031, 0.0190570001, -0.0013282294, -0.0074599879, 0.0317177847, -0.0045726281, -0.0363501757, 0.0507851243, -0.0183700118, 0.0522590466, -0.0205807332, -0.0624190904, -0.0510870107, 0.0213903673, -0.0221757684, 0.0383326598, 0.0475231521, -0.0256854612, -0.0638986677, 0.0880902559, -0.0193551462, -0.0046982225, 0.0116515299, -0.0649217293, 0.0198465232, -0.0180087648, 0.0652608573, 0.0314948745, 0.0232624318, -0.0270416178, 0.0302987136, -0.0036326833, -0.0452041477, 0.0017815008, -0.030531982, -0.0500135534, -0.0391857512, -0.0292594712, 0.0411492251, 0.0739722922, 0.0550470389, 0.0083954139, -0.0608040765, 0.0242610946, -0.0366572663, -0.0153070074, 0.0084235212, -0.0162149891, -0.0394724384, 0.0303246398, -0.0183362868, -0.0089378171, 0.048728358, -0.0578142591, -0.013671753, -0.0396320894, 0.0204179399, -0.0394707359, 0.0342796482, 0.0143889887, 0.0352090038, 0.0424518622, -0.0554484501, -0.0276770201, -0.034578573, 0.012234129, -0.0005619998, 0.0122827804, -0.0403594971, 0.0037591502, 0.0226618946, -0.0041636177, -0.0449547656, -0.0244238526, -0.0527270883, -0.0107941525, 0.0418627933, 0.0222359709, 0.0240345672, -0.0172762312, 0.0100856312, -0.0125181256, -0.0257481113, 0.0037714958, -0.0551039651, 0.0388111621, 0.0728684813, -0.0228842422, -0.0159440432, -0.0272023678, 0.0332692154, 0.0494885109, -0.0046279421, 0.0317280293, -0.018327957, 0.0063673849, 0.0289293434, -0.0352088213, -0.0431234017, 0.0161680486, 0.0289501082, -0.0327417068, -0.0334309116, 0.1259673238, 0.0390685946, -0.0073190746, 0.0132557768, -0.0199304074, 0.0594353564, 0.0183114111, 0.0381262191, -0.0617081672, 0.002760089, 0.0410704874, 0.0159731209, -0.0278095305, -0.0024888986, -0.0277570039, -0.1010747254, 0.025669422, 0.0308434833, 0.0261234753, 0.0047083865, 0.0069986563, -0.0294014923, 0.0232652519, -0.0075465585, 0.0569495708, -0.0265624784, 0.0213537961, 0.0055800439, -0.0525802411, -0.0081990641, -0.0415005274, -0.0349026658, 0.0394783989, 0.0621825345, 0.0273094401, -0.0101355752, 0.008135166, 0.0274003725, -0.037690565, 0.0110949827, -0.0529112965, 0.0012544129, -0.0243668575, 0.0064375121, -0.0272393245, 0.0256491434, 0.0057534929, -0.0026337833, 0.0424200147, 0.0555007271, -0.021261869, -0.0121010505, -0.0191775803, 0.0379214212, 0.0081818486, 0.0603940748, 0.0462336093, -0.0662066638, -0.0652923584, -0.0632029399, -0.013042273, -0.0951489583, -0.0149031598, -0.0234911945, -0.0152487177, 0.0224392749, -0.083830148, -0.0262855776, 0.0315851122, 0.0114036752, 0.0004515383, 0.0426792242, 0.0256230012, -0.0435037613, -0.0279146284, -0.0543290973, -0.0320550539, -0.0012462769, -0.0637671426, 0.0065330216, 0.0397521779, -0.0681613311, -0.0089904591, -0.0004960506, -0.0500349142, -0.067997992, 0.0100008463, 0.012199101, 0.0151685765, 0.0306231529, -0.0212641712, -0.0446841456, 0.005824137, 0.042189341, -0.0714162737, 0.0816951618, 0.0199957341, 0.0599319749, -0.0069084438, 0.0333259404, -0.0090455171, 0.0316359289, 0.0057360083, 0.0692708865, 0.004025117, 0.0020232794, 0.0563412048, 0.0667819157, -0.0126475263, -0.0531382784, 0.006762295, -0.0055235298, -0.015888745, -0.0651337877, -0.042266272, -0.0631800964, 0.022848621, -0.0059491666, 0.0014555291, -0.0120583819, -0.0854008645, -0.0648767576, 0.0433402471, 0.0093774367, 0.0262443069, -0.0417652465, 0.0128914602, 0.038050469, 0.0003702797, -0.0199633185, 0.0026943982, -0.0241916385, 0.0378589481, -0.0155128296, 0.0140722925, 0.0195863359, 0.0150604546, -0.0612849742, -0.0141227795, -0.0203340426, 0.0263440628, -0.0047369888, -0.0126889031, 0.0664364994, 0.0193183105, 0.0772146806, -0.0400294773, 0.0023258994, 0.0166787058, 0.0696408674, 0.0367242135, -0.0444936715, -0.0135978926, -0.0193466637, -0.0520180874, -0.0405355096, 0.0604012385, 0.0279306751, -0.0007962373, 0.0107669989, 0.012155313, -0.0375721678, -0.0288352035, -0.0237342976, -0.0212193541, -0.0022011951, -0.015235302, -0.0250009336, -0.0394944027, 0.0383683033, 0.0146999573, -0.0066321166, -0.036009524, 0.0082555311, 0.0206506718, -0.0041652494, -0.0468713045, -0.0553176291, 0.0201041214, 0.0128757684, -0.0253243707, -0.0376424491, -6.261382332e-33, -0.0828164816, -0.0388949588, 0.0106509998, 0.0061799255, -0.026199786, -0.0219527353, -0.0555717945, 0.0256651901, 0.0522816926, 0.008554332, -0.0250330325, 0.0110137947, -0.0061730458, 0.0437098145, 0.0251673348, 0.0344547778, 0.0686824694, -0.0162627418, -0.0177699272, 0.0027501304, 0.0300161578, 0.0496591628, -0.0152159613, -0.0497924797, 0.0017204038, -0.0310197901, -0.0311160237, -0.013877904, -0.0085614333, 0.045965746, -0.0107785743, 0.032319095, 0.0019472215, 0.0180005394, -0.0478200689, 0.0432931185, -0.0599088222, -0.0167430062, 0.0429606959, -0.0215727463, 0.0051891007, -0.0769125298, 0.0233745426, -0.0426619723, -0.0402452499, 0.0236059185, 0.0183320064, -0.0226687286, -0.001676477, -0.01367498, -0.0688373893, 0.0120629668, 0.017919261, 0.0405879542, 0.0139587363, 0.0376922823, -0.0104404343, 0.0429080762, 0.0341430157, 0.0182962138, -0.0008319521, 0.0510928854, 0.0125213666, 0.0227531847, 0.0092503671, 0.0389240757, -0.0240091253, -0.0041401852, -0.0543389916, 0.0567330532, -0.0007053229, 0.0200610161, 0.0192819498, 0.053452678, -0.0510825552, -0.0582303442, -0.0248896591, -0.008912622, -0.0138633708, 0.0301534962, 0.0003766824, 0.001743577, -0.0129770413, -0.0441251248, -0.0384978093, -0.006827977, -0.0218207315, -0.0033080478, 0.0266050305, 0.0184665099, -0.0632308722, -0.065384157, 0.0017275298, -0.0416126437, -0.0132230362, 0.0239604805, -0.0391200371, 0.0408552364, -0.0099697802, 0.0377312601, 0.0024605123, -0.0153347338, 0.0042524603, 0.0003791033, 0.0018451592, -0.0031277917, -0.030839527, -0.0038881202, -0.0486834161, 0.0360876955, -0.0161492936, 0.0116277868, -0.0150237074, -0.027755877, 0.0225512907, -0.0013036371, 0.0099647082, 0.0139511405, 0.0073363176, -0.029823821, -0.0437205248, -0.0323466323, 0.0141293611, 0.0623865426, -0.0325974561, 0.0010096178, -0.0418259539, 0.0588188656, 0.0566817969, -0.0280629899, -0.0049093892, -0.0032316453, 2.745e-7, 0.0277479701, 0.0837272778, 0.0368274637, 0.0575571582, -0.0118606491, 0.0065413071, 0.0285921395, 0.029194504, 0.0322206616, 0.0162203927, -0.0171046779, -0.0347015932, 0.0515499935, -0.0086727543, -0.094734937, 0.026652243, -0.0390060395, 0.0231773853, -0.0563610904, -0.0149090821, 0.0730202794, 0.0051604817, -0.0132484837, 0.0385175198, -0.0196415186, -0.0288637187, 0.0426312871, -0.0111671165, -0.0205077194, 0.0507711582, -0.007577138, -0.0270589925, 0.0359274149, -0.0258470811, 0.0022205608, 0.0159993954, -0.0056715622, 0.0822203234, 0.0405625813, 0.001826506, -0.0012809401, 0.0121742804, -0.0198172312, -0.0532935299, 0.0433776453, -0.0527378097, 0.0132486066, -0.0250950996, -0.0547124296, -0.0029754753, -0.0598995425, -0.0132637629, -0.0081484802, 0.0096040107, 0.0138548929, 0.0273022875, 0.0038466272, -0.025090009, -0.0445992462, 0.0178017523, -0.0460213087, -0.0324969515, -0.0197301041, 0.0393702611, 0.0137683749, -0.0788877904, -0.0143885296, 2.696278458e-34, 0.0686848462, -0.0328488201, 0.0314385109, 0.0121384207, 0.0350097455, 0.0155962529, 0.0259201881, 0.0627122596, 0.026881326, -0.0738843903, -0.0197603982 ]
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.0070911129, 0.126562506, -0.0044538146, 0.058939673, -0.0711233616, 0.0063805906, 0.0339836441, 0.0125702964, -0.0356172919, -0.0479874276, -0.0098313913, -0.0805027857, 0.0038362301, -0.0124806082, 0.0480898693, -0.0070929648, 0.0505028069, -0.0621853806, 0.0102609899, -0.0390855148, -0.0363278985, -0.037453413, -0.0186027493, -0.0099447919, 0.0216129757, -0.0234129746, 0.0242758784, -0.0568806641, 0.0075947293, -0.0150453877, -0.0513005555, 0.0497781746, -0.0034283826, 0.0710529834, 0.0000021141, -0.0616914965, 0.0050355308, 0.0225175768, -0.0505153127, 0.0669011325, -0.0025082282, -0.0099206446, -0.0026381924, 0.0328006148, -0.0144267026, 0.0051668426, 0.0444356836, 0.0000437567, 0.0442965068, 0.0536780842, -0.0030001886, -0.0603117868, 0.0219599046, -0.0481650308, 0.0340803526, -0.0374608338, 0.0377937406, 0.0252204705, 0.0366887562, -0.0252303127, -0.0053345119, 0.0184476469, 0.0578196011, 0.0354328677, -0.0526965, 0.0392755233, -0.0366039611, 0.0052815326, 0.0135024348, 0.0507726707, -0.0035749516, 0.0029565783, -0.0221670177, -0.0057672588, -0.0125759104, 0.0066429069, -0.0600721575, 0.06198553, 0.019086834, 0.0012162133, 0.0033281078, 0.0307953916, 0.0316944979, 0.0275140796, -0.0796460435, 0.1108908281, 0.039372962, -0.015618247, -0.0509582683, -0.0216720309, -0.0998127237, -0.0402022153, -0.0372345932, 0.0441612937, 0.0102714142, 0.0222304314, 0.0087641459, -0.0062538418, 0.0285690743, -0.0453612357, 0.0213706419, 0.0677056685, 0.0294322632, 0.0545515232, -0.035138607, 0.078962326, -0.0251305867, 0.0287777223, -0.0098894238, 0.0323369615, 0.0016461905, -0.0216378924, 0.014539659, 0.0407437049, -0.0121862283, -0.0086038215, -0.0340029038, 0.0162872244, -0.0284243207, 0.0152595034, -0.0036899659, -0.0415871888, 0.0433700085, -0.0416934043, 0.0016160069, 0.0114623019, -0.0165696144, 0.0471000336, -0.0070256204, -0.0382900536, -0.0017615764, -0.0065934891, -0.0280346461, -0.005425442, 0.0170391053, 0.0702276081, 0.020596467, -0.0289424881, -0.0160822999, 0.0050387108, -0.0276746396, -0.1041752845, 0.0117809735, -0.065269649, 0.0300077628, 0.0827907696, -0.0098084193, -0.0371058658, 0.0186233614, -0.0097373147, -0.0079797804, 0.062470831, 0.0976251811, 0.0311278347, -0.0367064811, -0.0014135733, 0.0027259896, 0.0527911633, 0.0413752198, -0.0251441449, 0.019704422, -0.0132189766, -0.0039890618, 0.0381312221, 0.0158696976, 0.0286975875, -0.0405639559, 0.0114290453, 0.0192988031, 0.0050754249, -0.0272681396, 0.0992313996, -0.0305401292, -0.0445212387, 0.0558690131, 0.024165038, -0.0269088745, 0.0438929796, -0.0116661983, -0.0502005443, 0.0159962382, -0.0030654985, -0.0661451072, 0.0156724975, -0.0348340869, 0.0400055461, 0.0242193248, 0.0275728051, -0.0211620033, -0.0231716409, -0.0610317774, 0.0051440317, 0.059303239, 0.0152905071, 0.0840081796, -0.0512473732, -0.0321018845, 0.0318671986, 0.0012773859, -0.080574289, -0.0212035831, -0.0629332513, 0.0425792076, -0.0159445815, 0.0514265187, -0.0149222184, -0.0136674047, 0.0031072726, -0.0104998536, -0.002202024, 0.0205154382, 0.0210790057, -0.0299732666, -0.0301220492, 0.0242006127, 0.0139723001, 0.0267572962, -0.0034901409, 0.008417422, -0.0279486887, 0.0208763722, -0.0139911314, 0.0256302711, -0.0043973033, -0.0404894985, -0.0117595522, -0.0026598996, -0.0113661941, 0.0167332627, -0.0004341921, 0.0065235444, 0.060830351, 0.0251001418, -0.0416557193, -0.0146940341, -0.0006892926, -0.0406314842, -0.0103335474, 0.0318111107, 0.0364722721, 0.012954846, 0.0486207567, -0.0071282042, -0.0099608861, 0.0797022432, -0.0322848447, 0.0394915901, -0.0257416964, 0.0641561523, -0.0173522271, 0.0074587357, -0.0267225541, 0.0944936201, -0.0355352834, 0.0636263788, -0.0329966061, 0.0103301536, 0.0318619087, -0.0322979428, -0.0340357609, 0.0357001424, -0.0134557551, 0.0012092763, 0.009607018, -0.0441849791, -0.0041471794, -0.0375347771, -0.0299005061, -0.0305492282, -0.0302275456, 0.0607753769, -0.0062373802, -0.0052886866, 0.0014664821, 0.0057876278, 0.0112095084, -0.0008274693, 0.0500356443, 0.0440455638, 0.0292443372, -0.006059594, -0.0697298124, -0.0187026225, -0.0468917824, -0.0529361106, 0.0663381889, 0.0055309683, 0.0628952309, -0.0243215188, 0.0200898387, -0.0522249006, 0.0097554969, -0.0308615845, -0.0042426297, 0.0225462392, -0.0147646526, 0.0251741502, 0.0704370439, -0.019612113, 0.0143077122, 0.0358246788, -0.0075690267, 0.0002277025, -0.0142772058, -0.027910348, 0.0105484677, 0.006197799, -0.0273653828, -0.0569170006, 0.098202683, -0.003511891, -0.05011563, -0.0275302064, 0.0133712953, -0.0504272953, 0.0256355256, -0.0288687889, -0.0215085745, -0.003068916, 0.0367281251, -0.0343989097, -0.0317073278, 0.040301498, 0.0025723265, -0.0214126576, -0.0623117574, 0.0182399377, -0.0743782669, 0.1121388227, 0.0089818733, -0.0105524343, 0.0038293216, -0.0033914011, -0.0217659101, -0.0461764671, 0.0160003025, -0.0327532887, 0.0582749471, -0.0501457192, 0.0373324789, -0.0158613343, -0.0561478175, -0.0444410406, -0.0254875273, 0.0039458293, 0.0351122543, 0.0038578846, -0.0551892631, -0.0470273234, 0.0614230223, 0.0328914486, 0.0163889267, -0.0374151506, 0.0117015308, -0.0079072742, 0.0120769367, -0.006132144, -0.0144820046, 0.0554480776, -0.0645681918, 0.0164985638, 0.0253838319, 0.0507633537, 0.0493793897, -0.0171357375, 0.0098299142, 0.0298486054, -0.0002219108, -0.0414197445, 0.0391242839, -0.0020904497, -0.0465198494, -0.0031406833, 0.1205672175, 0.0487174056, 0.0094445832, 0.0422131531, -0.0234584045, 0.0012618133, 0.0390225612, -0.0037986988, -0.0276896376, 0.0034902585, -0.0053659794, -0.0546927825, -0.0029150287, -0.0470576324, 0.0043320875, -0.0876250938, 0.0018000271, 0.0127146021, -0.0607641079, -0.0550854318, -0.0526703186, 0.0267919023, -0.0361824483, 0.0274257679, 0.0592410043, -0.0095740883, -0.0208300184, 0.0100550232, -0.0044544567, -0.0049959789, 0.054840669, -0.020363614, 0.0156614371, 0.0542014465, 0.0102365967, -0.0206828881, -0.0865617618, 0.0387239568, 0.0194408409, -0.0285956673, 0.0237944275, -0.0167472661, 0.0411957391, -0.0022299262, -0.0143599641, 0.0299960021, -0.036094252, -0.0260088276, -0.0256087091, 0.0632725582, 0.0146538252, -0.029977262, 0.0037566388, -0.0062150648, -0.0217436627, 0.0894795135, 0.0056658117, -0.0083811274, -0.0371039808, -0.0276263077, -0.0295725595, -0.0040011359, -0.0314525105, 0.0029324419, 0.0641776323, -0.0145044457, -0.0222677868, 0.0008858697, 0.0184771828, 0.012862022, -0.0263302457, -0.0220401883, 0.0195991024, -0.0227124244, -0.0312794521, -0.0012383398, -0.0210790969, 0.0509298928, -0.0654029846, 0.0411976352, 0.0289351493, -0.0144668845, -0.0459720455, 0.0033829636, -0.1108420417, -0.060944166, 0.0066679665, -0.0184432156, 0.0267978758, -0.0216632187, 0.0188997649, -0.0269176643, -0.026291253, 0.0110158641, -0.0483626202, 0.0469059758, 0.0094037447, 0.0016753366, 0.0284157377, 0.0144942906, 0.0052166302, 0.0411495157, 0.0129493456, 0.0457899794, -0.0514136516, -0.0278650727, 0.0195370298, 0.0509195812, 0.0058374014, 0.0199423004, -0.0007747416, 0.0342654735, 0.0360598303, -0.0520504005, 0.0033812583, -0.0214633625, -0.0108621512, 0.0320181958, -0.0019474622, -0.0294054225, -0.0294054858, 0.0318124816, 0.0387101471, 0.0069422475, 0.0474236161, -0.0555718839, 0.0173941609, 0.039083764, -0.012292563, 0.0199198071, -0.0218874607, -0.0365585908, 0.0360067412, -0.0000881951, 0.0346270651, 0.0255111977, 0.0116316108, -0.0623565949, -0.0061098263, -0.0610996783, -0.04476, 0.0075632753, -0.0039915545, -0.0153269209, 0.007833642, -0.0120003782, -0.0847217068, 0.0043210215, -0.0379663967, -0.0045021558, 0.002491527, -0.0291909855, 0.0047209566, 0.0400450118, 0.0206584223, 0.0097235395, 0.044945661, 0.0010261826, 0.0373774283, 0.0007810058, 0.02934663, -0.0328205451, -0.03431575, 0.0035953852, 0.0061751259, -0.0219601151, 0.0374441408, -0.0941317752, -0.0695442185, -0.0319822542, 0.0181135759, 0.0340274386, -0.003569142, -0.0046119094, 0.0896097198, -0.0432677381, -0.015823951, -0.0114648947, 0.0066248402, -0.016085567, -0.0062544718, -0.0544970073, -6.263562139e-33, -0.0128847919, -0.0208334886, 0.0391855389, -0.0192965697, 0.0131260008, -0.0236831699, -0.046051912, 0.0516610891, -0.033351019, -0.0258277729, 0.0031175581, 0.0036259305, -0.0090684108, 0.0347799957, -0.0044072689, -0.0164690837, 0.0155372964, 0.0176415462, -0.0233359933, -0.0199735947, 0.0252853278, -0.0468146428, 0.0295356624, -0.0340405554, 0.0192299746, -0.0250678919, -0.0126150949, 0.0016952609, -0.0878048688, 0.0585566424, -0.021401966, 0.0015459334, 0.0021341539, -0.0518811904, -0.0036049162, -0.0192542356, -0.0332131125, -0.021095559, 0.0252954569, -0.0076922821, -0.003036926, -0.0285256971, 0.0392483622, 0.0070270314, -0.0433558486, -0.0211543813, -0.0137979323, -0.0067362054, -0.0173141826, 0.0468375646, -0.057449162, 0.0283691622, -0.002519903, -0.0278184023, -0.0004837172, -0.029244706, -0.0257785991, 0.0064862645, -0.0125886425, 0.0484866202, 0.0093235634, 0.0337465927, 0.0324958898, 0.0287567247, 0.0156988483, 0.0219721179, 0.0261869077, 0.0101982811, -0.0421494879, 0.0074471291, 0.0491201058, 0.041400075, 0.0724741966, 0.0087909447, 0.0502128825, 0.0158553012, -0.0534636974, -0.0351388007, 0.0166744404, 0.0324996524, 0.0479491092, 0.0219806973, -0.0784466043, -0.0269052275, -0.0312374309, 0.0021754939, -0.0615025386, -0.0016757817, 0.0021371427, -0.0139577314, -0.028148137, 0.0150458077, 0.0535249971, -0.06018278, -0.0358451903, 0.0626468286, 0.0103926715, 0.0417534932, -0.0021493097, -0.0065936889, -0.0492821597, -0.0262248423, -0.0281431992, 0.0064984239, -0.0042962101, -0.0055220905, -0.0025827517, 0.0425410941, -0.0491471104, -0.0400068499, -0.0292475149, -0.0164668243, 0.0371955223, -0.0117718372, 0.0359836929, 0.0405338705, 0.0115172733, 0.0421294309, 0.0037927998, -0.0298596825, -0.0110769197, 0.0220770873, -0.0176790394, 0.0455611423, 0.0253971312, -0.0307618268, -0.0212424602, -0.0031741052, 0.0524860546, -0.0169176366, -0.0118955569, 0.009701631, 2.829e-7, 0.0534845777, 0.0413557999, 0.0126385167, 0.060789831, 0.024622703, 0.022668764, -0.02622029, -0.0459363908, 0.0047111074, 0.0044775046, 0.0011472122, 0.0582216792, 0.0009528592, 0.0071563004, 0.0035636439, 0.05439936, -0.0671044737, 0.0017809396, -0.0266067255, 0.0345670283, 0.0150969801, 0.0651769936, 0.0380604006, 0.009641923, -0.0203343201, -0.0457259901, 0.0218021106, -0.0069464599, -0.0008649645, 0.0269576441, -0.0145208128, -0.0407942608, 0.0196936931, 0.0396232344, 0.0177382734, 0.0454699621, -0.0081597203, 0.0234788768, 0.0058130189, 0.0123886485, -0.0366390273, -0.0650667995, -0.0075089778, -0.0669397935, 0.0807664022, -0.0197146107, -0.0532432497, -0.0016364314, 0.0142847188, 0.0368515551, 0.0347732306, 0.0191491395, 0.0116100991, -0.0018255473, 0.0081941495, -0.0337611474, 0.0117177898, -0.0633960962, -0.0308720898, 0.0127115333, -0.0617843904, -0.0621793084, -0.032684993, 0.013436594, 0.0251204539, -0.0611074008, -0.0329004861, 3.092205389e-34, 0.0395862348, -0.0119155403, -0.0074973148, 0.0404688902, 0.0337489098, -0.0279811732, -0.0618487746, 0.0385717377, 0.0341163464, -0.0764568895, -0.0113447579 ]
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.0505576544, 0.065453805, -0.0512923338, 0.029128911, -0.0049707079, 0.0284987167, -0.0093776695, -0.0044255755, -0.0595738254, -0.0289537832, -0.0722132474, -0.0172252525, 0.0368274301, 0.0034581567, 0.0755784363, -0.0707307234, 0.0179907158, -0.0198273659, 0.0143962009, -0.0106808655, 0.0338518173, 0.0133280186, 0.0039758519, 0.0430677645, -0.0061155194, 0.0227926187, -0.0153107112, 0.0176272616, 0.0196800604, 0.0176096223, 0.0452189967, 0.0778953359, 0.0020563845, -0.0088702999, 0.0000017718, -0.0226574261, 0.0530023947, -0.0232855771, -0.0206962433, 0.0012146173, 0.0112451836, -0.0020547439, 0.0152719002, -0.0062262523, -0.0572053306, -0.0086278664, 0.0495688207, 0.052799888, 0.0408700779, 0.0665452406, 0.0139824105, -0.0307712406, 0.0064985361, -0.0566994697, -0.0194245875, -0.0336431637, 0.0211682227, -0.0288339313, 0.0166399367, 0.0066979965, -0.0360025056, 0.0160172153, -0.0071528414, 0.003096092, 0.0216144081, 0.0152444914, -0.1129843146, -0.0086396728, 0.019058913, 0.1083005145, 0.0266917106, -0.0010600347, 0.0245489031, -0.0122349858, 0.0359755717, 0.0089249741, -0.0434616953, -0.0326593183, 0.0136636803, 0.0268428698, -0.0269113537, -0.0012814839, 0.0278703365, 0.0247186609, -0.0028969112, 0.0192813221, -0.0431707576, -0.0415416546, 0.0041406848, -0.0005875094, -0.0212500505, -0.0504167639, -0.0301747918, -0.0143836252, -0.0525574237, -0.0157021116, -0.0654515699, 0.0030378066, 0.0043539484, 0.0376578383, 0.0329893641, 0.0148348808, 0.0093710544, 0.0320025347, 0.0154613424, 0.0199023429, 0.0175794289, 0.0387946516, -0.0314948037, 0.0083369482, -0.0432184525, -0.0051805247, -0.0273348354, 0.0002783845, -0.0271152388, -0.0270710345, 0.0026253737, -0.0220856965, -0.0219375547, -0.0078112083, -0.0142019764, -0.0097059673, -0.0537598543, 0.0133667486, -0.0005300433, 0.014751371, -0.0677432939, 0.0356756821, 0.0310120992, -0.0859809816, -0.0306820218, 0.0264517721, 0.0168778356, -0.0423221663, 0.004978152, 0.0066976855, -0.0087711466, -0.0462476015, -0.0023945456, 0.0080468487, -0.0415186323, -0.0826623589, 0.0060908943, -0.0460987724, 0.0454756841, 0.0018720333, -0.0019548931, -0.0288161039, -0.0174441077, -0.0126780495, -0.0627160743, 0.0456481054, -0.0189981107, 0.026252294, -0.007093681, -0.0175553095, 0.0211865027, 0.0675055385, 0.0315647423, 0.0010086059, 0.0207788292, -0.0402808972, 0.0276039671, 0.0412320308, 0.0316974521, 0.0216967128, -0.0296253562, 0.0102126272, -0.0096995337, 0.0466353409, 0.0496598594, 0.0263470169, -0.0517674237, -0.0032068847, 0.0686365515, 0.0283747241, 0.0049396036, 0.0098154582, 0.0088305818, 0.0623225495, 0.0189775694, 0.0777604431, -0.0707075298, 0.0373034067, -0.0119276885, 0.0089006964, 0.0497389324, 0.0156455282, -0.0463089943, -0.027622167, 0.0048132739, 0.0147951851, 0.0199402496, 0.0267507453, 0.0005429888, 0.0458863266, -0.0073447945, 0.0094596613, 0.0712748542, -0.0202051718, -0.0285264812, -0.0550181195, 0.010882712, 0.0608492456, 0.0171158034, 0.0004093499, 0.0061409073, -0.0331103317, 0.0573035292, 0.0165176168, 0.0895363167, -0.0166707244, 0.0365521647, -0.0534256734, 0.0115150446, -0.0179750286, 0.0260701384, -0.0106959306, 0.0180517491, -0.006830907, -0.0085351998, -0.0292060748, -0.0307777878, 0.048970826, -0.0089420918, -0.0205672998, -0.0019791622, 0.0233026482, 0.0083807865, -0.0317688771, -0.0325874873, -0.0161297303, -0.0162055325, 0.0168681834, 0.0549414568, -0.0117614157, -0.0419359356, -0.0301563032, 0.0011773043, -0.0338865146, -0.051193852, 0.0248016566, -0.0398163609, -0.0450603589, -0.0094597572, -0.0409138724, -0.0067218905, -0.0270690508, -0.0054502441, -0.0359806046, 0.0514728874, -0.049423039, 0.0217637978, 0.0162633602, 0.00290677, 0.0081628552, -0.003744784, -0.0176969375, -0.0711102709, -0.0315138809, 0.0237308834, 0.0022907108, 0.0294508692, 0.0124051981, 0.0259302203, -0.0623896606, -0.0356231108, -0.0910351947, -0.010979143, -0.0449632071, -0.0081665711, 0.0007941169, -0.0094309701, -0.037533965, -0.0220481213, -0.040602304, 0.0029833401, -0.021000674, 0.0177049171, 0.0515923202, 0.0148582598, -0.0052167079, -0.0519368574, -0.0053298976, 0.0227719564, 0.0417325683, -0.0248554591, 0.0156214312, -0.0391848497, -0.0066638896, -0.0150158629, 0.0013384257, -0.0336084738, -0.0655045658, 0.0134747354, 0.0086733717, 0.0047138631, 0.0986972526, 0.0392108448, 0.0326088257, 0.002471152, 0.0142678544, -0.0425987951, 0.0236764606, -0.0220626537, -0.0238580331, -0.0580725223, -0.0123357931, 0.0254621431, 0.0251314249, -0.0003302282, 0.0218946394, -0.0805726051, 0.060991101, 0.0452906862, -0.0312151499, 0.0136802802, 0.0201158337, -0.0403317399, 0.039476268, -0.0236182567, -0.0687046275, 0.0961240605, -0.0115685482, -0.0131137632, 0.0090168342, -0.0077080941, -0.0033241794, 0.0355923213, -0.0005794897, -0.0050498359, 0.000744687, -0.0043128571, -0.0655494779, -0.0347733758, 0.049225457, -0.022196807, 0.0529368185, -0.0436835103, -0.0073865317, 0.0094266227, -0.0681888685, -0.0134850219, -0.0513497479, -0.0301974956, 0.0040770397, 0.0327537544, -0.0187250078, -0.0196264312, -0.017725816, 0.0133867189, 0.0284472238, -0.0611272268, 0.0109007368, -0.0207920764, 0.0100166034, 0.0662476271, 0.0541412607, 0.0206862297, -0.0364986546, 0.0052105794, 0.0021014104, 0.0077453679, 0.0500717573, -0.0042894478, 0.00839628, 0.0269133598, 0.0176356975, -0.0342432931, 0.0277319364, 0.1093739122, -0.0357628688, -0.024811225, 0.0866887197, 0.000369284, -0.0344675779, 0.0143931108, 0.0160566829, 0.0376753546, 0.0181571543, 0.0519884862, -0.033216048, -0.0514685288, 0.0183983408, 0.0433463007, -0.0023172579, -0.0161061697, -0.0033013367, -0.095840767, 0.0811221153, 0.0222639441, -0.0912642702, -0.0285414979, -0.031953644, 0.0535362586, -0.0234373771, 0.0367441438, 0.0025158084, -0.0083163269, 0.004426768, 0.0286963899, 0.005343297, -0.0993098393, 0.0220979415, -0.0348681472, 0.0646342412, 0.0615888275, 0.0580202639, 0.0035620029, -0.0478125922, 0.0215140395, -0.0164758042, 0.0306291543, -0.0150920656, 0.087072134, 0.0105283232, -0.0345827416, -0.0100333244, 0.0730007365, 0.0136000551, 0.0249295458, -0.0238651708, 0.0164489336, -0.0286445785, -0.0157022551, 0.019432053, 0.0011502848, 0.0393444598, 0.0527321473, 0.0736643896, -0.0687000453, -0.0116349403, -0.0277525876, -0.0105417222, -0.0236360244, -0.0403044559, 0.0160637219, 0.0208665952, -0.0111418562, -0.0543715246, -0.0641794652, 0.0511351898, 0.0221767426, -0.007248838, -0.0163550284, -0.0017227287, 0.0037915208, 0.006266179, 0.0710526779, -0.0345233418, 0.0327300057, -0.0498401672, -0.0618397146, 0.0272715315, -0.0740432218, 0.0061700568, 0.01330919, -0.0588896088, -0.08470276, 0.0193023738, 0.0514254533, 0.0208499543, 0.0715098381, 0.0107675903, -0.1009337679, 0.0054643662, 0.0874188021, -0.032788083, 0.0282456968, 0.0297618657, -0.0459705405, -0.0244640447, 0.0744806007, 0.0055652494, 0.0420433991, 0.0390164778, 0.0039999513, -0.0039488208, -0.0463496819, 0.0011945796, 0.0144489007, 0.0708260611, -0.0026331318, -0.0352766886, -0.0069683217, -0.0114567215, 0.0501891114, -0.019056106, -0.0499020144, -0.0613012277, -0.0074470998, 0.0215730797, -0.0065964586, -0.0379728936, -0.0106735965, 0.0360236093, -0.0767862946, 0.0003003425, 0.0068485173, -0.0059835119, 0.0485024638, 0.0274685305, -0.0017422767, 0.0623547994, 0.0035511882, 0.0567907169, 0.0043977797, 0.0303511471, 0.0580824539, 0.0111087477, -0.0114701455, 0.0147473617, -0.0679187551, -0.0699357912, -0.0233275648, 0.0035542995, 0.0122877453, -0.0531739518, 0.054091692, 0.0065089497, -0.0144881774, -0.0069805388, 0.0419835448, -0.0101216389, -0.0040760967, 0.0182635952, 0.0378317349, -0.0480289757, -0.0020175301, 0.0644766092, -0.0240701362, 0.00565942, -0.0117599657, 0.032223355, -0.0242247432, -0.0342974737, 0.0187412985, 0.0154614039, 0.0163122062, 0.0113822799, -0.0265487581, -0.0516944937, -0.0471136384, -0.0001077555, -0.0074771279, -0.0433836952, 0.0676929578, 0.0512202419, -0.0371661335, -0.0008705248, -0.0450891517, -0.0203600693, 0.0390955247, -0.0060296729, -0.0285739396, -6.276796736e-33, -0.0261809863, -0.0027549583, -0.0092531228, 0.0452799611, -0.0299001988, -0.0432323962, -0.043225307, 0.0281385649, -0.0653778389, 0.0419451296, -0.045788005, 0.0140430797, 0.014742177, 0.0194235798, -0.0006561149, -0.0209260825, 0.0571214966, -0.0135415029, -0.0558029525, 0.0266375709, -0.0053926026, 0.0072696107, 0.0545194782, -0.0622175708, 0.0076229512, -0.0032674766, -0.0193467904, 0.011883527, -0.0227515604, 0.0313880108, 0.0185705367, 0.0397942923, 0.00407437, -0.0054868748, -0.0268147402, 0.0054842671, -0.0621661432, -0.0193768088, 0.0291442145, 0.0311446637, -0.0110048568, -0.0145407496, 0.0685770512, -0.0476059616, -0.0111824451, -0.0084021809, 0.0293921418, -0.0319363326, -0.0401905142, -0.0327391624, -0.0396052971, 0.0212612655, -0.0193287805, -0.0703757629, 0.0365138613, 0.0095431237, -0.0268181693, 0.0040940535, -0.0199125595, 0.019417733, 0.0296196137, 0.0264447965, 0.0262132026, 0.0266454667, 0.0189515818, 0.0524177812, 0.0178181659, 0.0719948709, 0.0266566891, -0.0446579605, 0.0556185134, 0.0635738894, -0.0122131081, 0.0476769395, 0.0316148698, -0.038734775, -0.0024408342, -0.0171741787, -0.0099027706, -0.0028154501, 0.0028743916, 0.0088971183, -0.0643307492, -0.0604138859, -0.0518484414, -0.009794713, -0.0110036694, 0.0155688794, -0.0003360966, 0.0152326757, -0.0239290558, -0.0014752343, 0.016262643, -0.0382922366, -0.0175163634, -0.0114422431, -0.0538661741, 0.0059802625, 0.0016732353, -0.0399418138, -0.0398023315, -0.0452300943, 0.0190155338, 0.0158722885, 0.02899253, 0.0193636641, 0.0879213139, 0.0093570119, -0.0412517674, 0.0003106005, 0.0002729877, 0.0415245481, 0.0038849299, -0.0206119865, 0.0250864048, 0.0268119052, -0.0199524686, 0.0548538305, 0.0006625251, -0.0463832095, -0.0405605361, -0.0138303507, -0.0005113372, 0.0023536079, -0.0253549013, -0.0098987808, -0.0349101275, -0.0375900231, 0.0294639096, -0.0214343891, -0.0239292718, 0.0157625973, 2.526e-7, -0.0131214634, 0.0389955267, 0.0109509407, 0.0240172204, 0.0357702635, 0.0535839386, -0.0096767684, 0.0021517526, 0.0104433624, -0.014799173, 0.0111292591, 0.0369293429, 0.0953099877, 0.0111644622, -0.0912149325, 0.0137716355, -0.0780668408, 0.0097639523, -0.0118837059, -0.0367812887, -0.0096003264, 0.069467552, 0.0142431464, -0.0028162678, 0.0273202993, -0.0166897085, 0.0599435829, -0.051497627, 0.0229623746, 0.0548201241, -0.0181307588, 0.0145015894, -0.023405619, 0.053183049, 0.003238468, 0.0277884174, -0.007483793, 0.0713479817, 0.0023943065, 0.0022758648, -0.0059430641, 0.0076262942, 0.0105791371, -0.0338416621, 0.057521943, -0.1005485579, -0.0413385071, -0.0218857825, 0.0323280059, -0.0203816518, 0.016032774, -0.0146988956, 0.0145979654, 0.0575890094, 0.0360968187, -0.0014334961, -0.0118753826, -0.0654785335, -0.0357458368, 0.0431979559, -0.0595377535, -0.0444820374, -0.0173934549, -0.0263239294, 0.0199399386, -0.0199284144, 0.020954594, 1.759392127e-34, 0.0310959984, 0.0113940891, 0.0260645021, 0.0064367917, 0.0361875221, -0.0023222049, 0.0210995954, 0.0094131334, 0.0494969338, -0.0628174543, -0.0045418162 ]
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.0390831903, 0.0289280396, 0.0269109253, 0.0694303513, -0.0304480046, -0.0002371754, 0.0936029777, -0.046042107, 0.0000837038, 0.0105119571, 0.0124972267, -0.0545991622, 0.0510955118, 0.0262598023, 0.0232262071, -0.0301727448, -0.0016763193, 0.0388325602, -0.0371528529, -0.0188629124, 0.0033912368, 0.0032231261, -0.0466409028, 0.0171437375, -0.0406496599, 0.0211083759, 0.0089419447, 0.009095313, 0.0757110491, 0.0159049556, -0.0045843343, 0.013487597, 0.0243227482, 0.068886362, 0.0000021959, -0.0008044266, -0.0304621048, 0.0069470434, -0.0771505237, -0.0314400569, -0.0134762023, 0.0602185056, -0.0730292723, 0.0432502441, -0.0154976677, -0.0336633697, 0.0193009414, 0.0394872762, 0.0088627478, 0.01436421, -0.0094435448, -0.0510519966, 0.0275692251, -0.0080568288, -0.0353832729, -0.0459321104, 0.0099839382, -0.056547638, -0.0247907154, -0.0541917272, 0.0306201093, 0.0518549792, 0.0497055873, 0.0388410576, 0.0429760702, 0.0328059904, -0.0205416251, -0.0071209981, -0.0025103523, 0.0652440265, -0.0363880061, 0.0050722924, 0.039874807, 0.0219744612, -0.0283148549, -0.0226235874, 0.006120027, -0.040011283, 0.0059764301, -0.0456027649, -0.0776789933, 0.0226605218, 0.0334462859, 0.0131821148, -0.0220902041, -0.0336218253, 0.0083483607, 0.0186700411, -0.008404634, -0.0349462219, 0.002221422, -0.0711865276, -0.0130830193, 0.0229155663, 0.0001811408, -0.0288957655, -0.0314168371, -0.0258523859, -0.0407293327, -0.0507790186, -0.048551321, 0.030171087, -0.0555333495, 0.0212394912, -0.027517207, 0.0537919551, -0.0450188443, -0.0190873016, 0.0081587303, -0.0514699034, 0.0125625832, 0.0105906986, -0.0286451671, -0.0000113084, 0.0318943113, -0.0081735086, -0.0536042154, -0.0118383989, -0.0561279953, 0.005970635, -0.0262567885, 0.0288606621, 0.0111859143, 0.0009709953, -0.0084389951, 0.0174258891, 0.0461026281, 0.0319112688, -0.0463254005, -0.0617396608, 0.0058762562, -0.0075586522, 0.0494077951, -0.0006651463, 0.0404553376, 0.0159723908, -0.0126716327, -0.039291665, -0.0145863835, 0.0472447611, -0.0344836488, -0.0063137827, 0.0293469392, -0.0908230394, 0.0521862321, -0.021426525, -0.005678325, -0.0079753436, -0.0054006218, 0.0090024937, 0.0422349758, 0.0480740927, -0.0133473435, 0.0210445374, 0.0853509754, -0.00133545, -0.0094944835, -0.0143039906, 0.0473191328, 0.0085357092, -0.0321578868, -0.0013470626, -0.0197865851, 0.0410513915, 0.0003019303, -0.036614649, -0.0523320399, -0.0228019096, -0.0455250666, -0.0007351044, -0.0187986866, -0.0051125363, -0.0093405433, -0.014528418, 0.0136211719, 0.0211101547, 0.0000946302, -0.0643007383, 0.0287053548, -0.0124421613, 0.0106782801, -0.0372026376, -0.0303495768, 0.0448990427, 0.0012025766, -0.0268155038, 0.0288646817, 0.0930923969, -0.0299259517, 0.0093563255, 0.0132928761, -0.002581978, 0.0368610732, 0.0769046992, -0.016911298, -0.0501197129, -0.0060551194, 0.0313965902, -0.0009909645, -0.0232967287, -0.0465437137, -0.0509869568, -0.0309951808, -0.0059701698, 0.0165046472, 0.0244381707, -0.0036190168, 0.0002261473, 0.015971899, 0.0007632573, 0.0172471553, -0.0193454809, 0.0376746319, -0.0235699918, -0.0636142343, 0.030872805, -0.0444567241, 0.052007433, 0.0089540631, 0.0126780849, 0.060384661, 0.036206048, 0.0525761954, -0.0112247178, -0.012209422, -0.0260697287, -0.003994213, 0.0555003658, 0.0680650026, 0.0516809411, -0.0149492929, -0.0438727401, 0.0204096716, -0.0250945464, 0.006465964, -0.0049721338, -0.0708242431, -0.067605257, 0.0479046777, -0.020789979, -0.0414431021, 0.0927711129, -0.0044564824, -0.067495808, 0.0051468369, -0.0221716333, 0.0307402648, -0.0223737676, 0.0341277346, -0.0060746553, 0.0082015982, 0.0101701384, 0.0467809588, -0.0038996525, -0.0172330625, -0.0002202946, 0.0209871884, 0.043982029, -0.0427173078, -0.0232939962, -0.0156515781, -0.0134740425, -0.0092073921, -0.0030632268, 0.006037158, 0.0023753438, -0.0186733026, -0.0874907225, -0.0243284721, -0.0129885618, -0.0493517667, -0.0569388643, 0.0137254316, 0.035686601, -0.0530641675, -0.0566437617, 0.0067828721, -0.0016466116, -0.0195341725, -0.0352213569, 0.0226749089, -0.0806590244, -0.0048683011, -0.0273444969, -0.0156816039, 0.0155524798, -0.0251971744, -0.0738700256, 0.0815699473, -0.0092040505, -0.0114315022, 0.0548867509, -0.0003327327, 0.041670721, -0.0102453222, 0.0403488763, 0.0182574615, 0.0159481615, 0.0346098579, -0.0651887655, -0.0167246815, -0.0051116091, -0.0136891911, 0.0392205082, 0.0190951098, 0.0762537792, 0.0379482917, 0.0081493035, -0.0487921499, -0.008002704, -0.0273598786, 0.0302234273, -0.012732219, 0.0072783427, 0.0277913716, -0.0301778987, -0.0081295343, -0.031818103, -0.0071901595, -0.0388584659, -0.0442004427, -0.0383260995, 0.0144292125, -0.0852548629, -0.0312213544, -0.0097660152, -0.0783329457, -0.0313164741, 0.016104158, 0.0479307249, 0.0294817276, -0.0310806837, -0.0213448238, -0.0282790326, 0.0091739483, -0.0118122548, -0.0537424088, 0.0624579564, 0.0259516072, 0.0200590938, -0.0527527742, -0.0351131521, -0.0524727926, -0.024089843, -0.02940646, 0.0007108556, -0.0006413684, -0.0544007272, -0.0170376841, 0.0149718551, 0.0523611978, 0.0182554163, 0.0295734741, 0.0277108625, -0.0245040413, 0.0674474388, 0.0058087297, 0.0652826652, 0.0191756226, 0.0109181777, 0.0260713454, -0.0226562582, 0.0451836586, 0.0265574604, -0.0775507838, -0.0292132217, 0.0173805598, 0.0457427688, -0.0045600799, 0.0309313107, 0.0082988786, -0.0181106161, 0.05079538, 0.0761626363, -0.0229098685, -0.0422202758, -0.0526305065, 0.0326210931, -0.0238069557, -0.014104058, -0.0103949094, -0.015751075, -0.0351088457, 0.0805451721, 0.0041906824, 0.0119077368, 0.0300877579, -0.0354135782, -0.0497744121, 0.0208566543, -0.0004537003, -0.0346709341, -0.0325567797, -0.0006646298, -0.0082232673, 0.0112008443, 0.0891403705, -0.0075232387, 0.0081096413, -0.0438233428, 0.0365915895, -0.0479724742, -0.0362327397, 0.0484035797, -0.0005385018, 0.0106072128, 0.0149776582, 0.02392051, -0.0121118156, -0.0550553165, -0.0115112746, 0.0154422019, -0.0223324802, 0.0000824106, 0.0194939692, -0.0077453251, -0.0249991883, 0.0145229343, 0.0142750498, 0.0304144379, -0.0014475796, -0.0382121541, 0.0097596301, 0.0213294569, 0.0397006422, -0.0358321518, 0.0422006175, -0.0217127297, 0.0418454073, -0.0066740769, 0.0116665969, -0.000831173, 0.0879325569, -0.007750073, 0.0008264609, -0.0075875716, 0.0221214425, -0.0138897048, -0.0367404483, 0.014166126, 0.0011257908, -0.0191774834, 0.0158539303, 0.00758497, -0.0127523923, -0.0399124362, 0.0432477072, -0.0640187189, 0.0498054214, 0.0016029289, 0.0901889279, -0.0539607182, 0.063378647, 0.0190416556, -0.0362173505, -0.0102229845, 0.0515109934, -0.0614521094, -0.0267706625, 0.0200168751, -0.0441538207, -0.0005159159, 0.0213339347, -0.0152942641, -0.0156755727, 0.0564393774, 0.0042243851, -0.0015428357, 0.0633124188, 0.0238811001, -0.0312287156, -0.0221045204, 0.0045067314, -0.0612071268, 0.0704278275, -0.0216737241, -0.0626505017, -0.0532964282, -0.0424789004, -0.0323377587, 0.0099998452, 0.0274258666, 0.0050731553, 0.0652485192, -0.0482887067, 0.0474901907, 0.0117043797, 0.0321374312, -0.0291472431, -0.0443649441, -0.0465910025, 0.0215717349, 0.0300943404, 0.0507266968, 0.064662829, -0.0255841874, 0.0114271147, 0.0230756346, -0.0236485209, -0.0151628815, -0.027516285, 0.0105530294, 0.0030951435, 0.0083917538, 0.0308578368, -0.0160431899, -0.0033558712, 0.0042046318, -0.0147424564, -0.0338350907, -0.0224037152, 0.0498159155, -0.0079045249, -0.0359984674, -0.0046840152, -0.0305681881, 0.070460394, 0.0076882807, 0.0151825268, 0.0028139839, 0.0145622529, -0.018350644, -0.0205867141, -0.0389675908, 0.0228726156, 0.0400824584, 0.0142700113, -0.0096079139, 0.0223817173, 0.0170420352, 0.0456922688, -0.0256912503, -0.0167127978, 0.0376538634, 0.0002343242, 0.0061035044, 0.0500164516, 0.0268832911, -0.0206901655, -0.0474455059, -0.0112612564, -0.0109999459, 0.0465187058, -0.0289155673, 0.0190757383, 0.0468696281, 0.0200580098, -0.0184011422, 0.0037444127, -0.0392254554, 0.0371822976, -0.0398946628, 0.0129663674, -0.0096597662, 0.0583735332, -6.100816783e-33, -0.0249705706, 0.0125170453, -0.0061489055, -0.02108505, -0.0079124253, 0.0596554689, 0.016442474, -0.0011392437, -0.0142465224, -0.0390979126, -0.0230535548, 0.0345624611, 0.0265129097, 0.0306751728, -0.0558053516, 0.0271488428, 0.1038543582, 0.0013439435, 0.0965697989, -0.0044085756, 0.0320218019, -0.0025905147, -0.0279767402, -0.0674571991, -0.077566579, 0.007018378, 0.0066635762, -0.0234670434, -0.0247359965, -0.0041785915, -0.019075945, -0.0330897309, -0.0199968535, -0.0323128551, -0.0055656699, 0.0919906497, -0.044112429, 0.0116875647, -0.0859216452, 0.0681983605, -0.0090159271, -0.0052539171, 0.0421176478, 0.0033427742, -0.0341138765, -0.01867087, 0.0179823581, 0.0174754523, -0.0225216206, -0.0699195042, 0.0434328131, 0.0526090935, 0.0091863563, -0.0470711216, 0.0284697339, 0.0096174246, 0.0095172254, -0.0298256241, -0.0991054103, 0.0102231614, 0.0194803812, -0.004022731, 0.0266247448, 0.0797902122, 0.0148705281, 0.0616377965, 0.0844650492, -0.0502709635, -0.0036895862, -0.0056017549, 0.0251874067, 0.0542584285, 0.060214296, 0.028508937, 0.0634411275, -0.0218062308, -0.0969770104, 0.0570937693, -0.0052187578, 0.0060281828, -0.0224505868, 0.0191967096, -0.0433588661, 0.0006233899, -0.0180416722, 0.0105265025, -0.0166025553, -0.0003305028, 0.0115053486, -0.001835577, -0.0112569127, -0.0214399416, 0.0366119482, -0.0471716039, 0.0526396371, 0.0067529758, -0.0012153414, 0.0125210285, 0.0336298682, -0.0017737949, -0.0225531477, -0.026755752, 0.0346399322, 0.0189682748, 0.0067498214, 0.0009491748, 0.0011087899, 0.0817744434, -0.0333743617, -0.0261205491, 0.0055058086, 0.0147403032, 0.0124613326, 0.0480826795, 0.0387778506, -0.0236867275, 0.0390740298, 0.0169000905, 0.0169637091, -0.0172280353, 0.0007107727, -0.0052230777, 0.0079932902, 0.0147482166, -0.0097589698, 0.0470380001, -0.0259561539, 0.0056766244, 0.0673731416, -0.0214676484, 0.0279065184, 0.0026184884, 3.069e-7, -0.1256228983, -0.0371699855, 0.0303451326, -0.0474665165, 0.013329058, 0.0122801866, 0.0430692062, 0.0492324457, -0.0339374505, -0.0117253028, 0.0117289349, 0.0055330936, 0.0461464077, 0.059870027, -0.049329225, -0.018723065, -0.0427230597, 0.0145436423, -0.0280072112, 0.0420685448, -0.0168880671, 0.0733730122, 0.0297958571, -0.0542295091, 0.0569599718, -0.0138776321, 0.0198518373, 0.0236809701, 0.0008801233, -0.0363061652, 0.0799328312, 0.0134929167, 0.0063530533, 0.0215058196, -0.0104991021, 0.0746429265, 0.0190349631, 0.032049045, -0.0248131361, -0.0354298353, -0.0405332483, -0.0009229387, -0.0471132249, 0.0144111849, 0.0707524121, 0.0136785237, -0.0576746427, -0.0445150137, -0.0015407134, 0.0014655729, 0.0422810055, 0.0348565839, 0.0019059412, -0.0100510046, 0.0074987318, -0.1032387093, -0.0348778889, -0.0915734768, -0.0042051845, 0.0312876776, -0.0447947048, -0.0117615676, -0.0058919955, -0.0390036888, 0.0417670868, 0.0140171843, -0.0474504903, 2.286356257e-34, -0.0467240512, -0.0060885171, 0.0045413044, -0.0243897103, -0.0132923517, -0.023604583, -0.0235407278, -0.0137280505, 0.0002762973, -0.0469455756, -0.0094360616 ]
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.0400302485, 0.0331139676, -0.0082893455, 0.0260897242, -0.0076947976, -0.0113694202, 0.0082199397, 0.0252652057, 0.0305949599, -0.0471114777, -0.039721325, -0.0047019506, -0.0658832118, -0.0506614186, 0.0074100858, -0.06218509, 0.0075429585, -0.016852634, 0.0145912776, -0.0137377512, 0.0256263558, 0.0100423777, 0.0050888998, 0.0389902107, 0.0347956456, 0.0137747312, -0.0134523809, 0.0161145255, -0.0337472856, -0.0550025925, 0.0134884398, 0.0288398787, 0.0418642163, -0.0126368068, 0.0000018638, -0.0374169759, -0.0413158275, 0.0069070347, -0.0196241792, -0.0107347071, 0.052056171, 0.0719634742, 0.0391254872, -0.0058183908, -0.0450321995, -0.0098237554, 0.0373859182, -0.0015807495, 0.0761651471, 0.095200412, 0.0135291023, 0.0248529408, -0.0210091528, 0.0082142754, 0.0932709053, -0.0269939341, 0.0107684163, 0.0273410566, 0.0712672397, 0.0793582425, -0.0148087405, -0.0022627639, -0.0020710018, 0.0339726731, 0.0095583415, 0.0094213597, -0.0147870332, 0.0308798552, 0.0390183963, 0.0521227904, -0.0077636582, -0.0055180872, -0.003839968, -0.0093366876, 0.0275903363, 0.0341548845, -0.0717909634, 0.0326167494, 0.0099802967, 0.025187565, -0.016484566, 0.0066608167, 0.010203056, 0.0251487102, -0.0032278448, 0.0337446034, 0.023962874, -0.033823818, -0.0044657285, -0.0073681581, -0.0186588764, -0.008641555, -0.0103220167, 0.0181927048, -0.0272144303, 0.0086938823, -0.016780708, -0.0504029244, 0.0351491682, -0.0283629913, 0.071133323, 0.0239342097, 0.0131511297, 0.0349486805, 0.0211915132, 0.0292755086, 0.0205623731, 0.0246848408, -0.1100603417, -0.0043182033, -0.083660081, 0.0060674101, -0.0834833011, 0.0846273974, -0.0459102318, -0.005448706, -0.0562860519, 0.0161982253, -0.0076329345, -0.017758511, -0.0012775594, 0.0269533265, -0.0384593233, -0.0136793535, -0.048381649, -0.0135071566, -0.0428532809, 0.0093814461, -0.0079815937, -0.0523444414, 0.0177119244, 0.0066178227, 0.016842708, -0.0643758252, 0.0585231446, -0.0002893766, -0.010331817, -0.0756503567, -0.0220601819, -0.0265095923, 0.000047762, -0.0372349098, -0.0077438145, -0.0746907294, 0.0234106146, -0.0321362801, 0.0088947061, -0.0157866217, 0.015766602, 0.0591654889, -0.0306274351, 0.0717774183, 0.0442602374, 0.0157074016, 0.0286563132, 0.006949977, 0.0387957133, 0.0658017471, 0.0084217731, -0.0207204018, 0.0610276423, -0.0047752848, -0.0114194555, 0.0157576166, 0.0267511606, 0.0076021557, -0.0027091568, 0.0349424072, 0.0170868766, 0.040581584, -0.0177651457, 0.0294161998, -0.0395276211, -0.0048109377, 0.0556341782, 0.0774830729, -0.0029387011, -0.0080045871, 0.0260789637, 0.0373748876, -0.0154183088, -0.034191139, -0.0338619091, -0.0078049814, -0.0162758529, 0.0038468491, 0.0458190069, -0.0001090787, -0.0469729416, -0.0456242636, -0.0054529384, -0.0170743875, 0.0211946145, 0.0508486256, 0.0831240788, 0.0086171497, -0.0126354899, 0.0682587549, 0.0245320145, -0.0688679516, 0.0473761521, -0.0256206617, 0.0058733667, 0.0201443937, 0.0538596101, -0.0567429289, -0.0204256661, 0.018253509, 0.0319095142, 0.0015717321, 0.0391175635, -0.0073765158, -0.0296853445, -0.0615767315, -0.0422343612, -0.0074197203, -0.0071973773, -0.0448696017, 0.0214580502, 0.0167336315, 0.0144544877, -0.0596467741, -0.0655502081, 0.0368037745, -0.0428980067, -0.0553359464, 0.0234473813, -0.0066591194, -0.0047208993, 0.0333625935, 0.0124826645, 0.0200816691, 0.0331309177, -0.0404300578, -0.0299286228, -0.0378188677, -0.0031842382, 0.0161353517, 0.0509069264, -0.0527781434, 0.0280741751, 0.0192914251, -0.0020623263, -0.0363117531, -0.0073004239, -0.0081573576, 0.0379818641, -0.0405855663, -0.000898512, 0.0245059226, -0.0410959907, -0.0481313691, 0.0313623063, 0.0351298042, 0.0585279763, 0.0474197492, -0.0057865703, 0.0137670226, -0.0876975283, -0.0770526305, 0.0269802772, -0.0139229586, 0.0378862731, 0.0518969968, 0.0274459105, -0.0523802452, -0.0042838319, -0.0850493312, 0.0316952989, 0.0032605985, 0.0132545661, 0.0110758729, 0.0170040391, -0.0102821756, -0.0394305848, -0.0569007508, -0.0439627096, -0.0180379637, 0.0438294299, 0.0012587832, 0.0134645849, 0.0207627174, -0.0496226698, -0.0196360201, 0.0013604155, 0.0308517087, 0.034449663, 0.0713705048, -0.0096213138, 0.0274096914, -0.0472995155, 0.0338056795, 0.0232130866, -0.0262126774, 0.0134745687, -0.0675517097, 0.0171397366, 0.038928885, 0.0311029088, -0.0079362588, 0.0614561364, -0.0122559201, -0.0911401659, 0.0365067758, -0.0724066943, -0.0595779717, -0.0518322662, -0.0560902171, 0.0293720271, 0.0116546098, 0.0186290964, -0.0152372038, -0.0860766023, 0.0060280468, -0.0288643725, 0.0452155583, -0.0800433904, 0.0394955613, 0.0111135421, -0.0002485024, -0.0102549121, -0.0193976369, 0.0533099696, -0.0070566651, -0.0245411582, -0.03371346, -0.008062141, -0.0352921225, 0.0379528999, 0.003737815, 0.0416878276, 0.0021161821, 0.0268659517, -0.0362693444, 0.0122198435, 0.0666169673, -0.0730448961, -0.005210422, -0.0077084475, 0.0197589602, 0.0267329309, -0.0354710147, -0.0260444246, -0.0093695158, 0.0041774423, -0.0287286546, -0.034204457, -0.0015879694, -0.0177051052, -0.0349583887, -0.0031857812, -0.0191522799, -0.0171970986, -0.0211200379, 0.0059574014, 0.0467689112, 0.0663068071, 0.0105815306, -0.0528268479, -0.0266883448, -0.0267510973, 0.0515398793, 0.0483742058, -0.0149812587, 0.0081130052, -0.0004689984, 0.0548348278, -0.0664743781, 0.0081426827, 0.0613708086, 0.0315859765, -0.0227225535, -0.0525414534, 0.0774783865, 0.0281007607, -0.0229282249, -0.0185436234, -0.0013340698, 0.0331455916, 0.0322600491, 0.0445241481, -0.0720627904, -0.0240515824, -0.0111156991, 0.0620553717, -0.018792076, -0.0170989651, 0.0042117988, -0.1527940333, 0.003944417, 0.0105761187, -0.0334686935, -0.0118322549, -0.0489865318, -0.0210888498, -0.0311575327, -0.0123401079, -0.0021461511, -0.0237928554, 0.0532801785, -0.0041845622, 0.0029671628, -0.0461304449, 0.0178879872, -0.0262138434, 0.0477057695, 0.0220853984, -0.00522264, -0.0179210287, -0.0648334473, 0.0194353592, -0.0325613543, -0.0410854407, -0.019626148, 0.0675116256, -0.0097712092, 0.0053549837, -0.0350744724, 0.0679253638, -0.0140677169, -0.0208857078, 0.0207483843, 0.0950101763, 0.0152717791, 0.0199337006, -0.0557792708, -0.019501036, 0.019935539, 0.0933158472, 0.0083367089, -0.0662157312, 0.0208715312, -0.0298108608, 0.0232962538, -0.0219002739, -0.0594082437, 0.0293209516, -0.0209689606, 0.0607148893, -0.0500770509, -0.0594475418, 0.0274301395, 0.0183306374, -0.0199117176, 0.0260364618, -0.0008018225, 0.001148785, -0.0535450727, 0.0754457563, -0.0280953851, -0.011643297, -0.0578555316, -0.0409145765, 0.02509843, -0.0334422737, -0.0180569477, -0.0200350899, -0.0680349246, -0.0288887341, -0.0347920544, 0.062626496, 0.0096762208, 0.0439592749, 0.003416779, -0.0407213196, -0.003447924, 0.0340549685, -0.0561445914, -0.0141160749, 0.0011226668, 0.0044714264, 0.0191691518, 0.0255757645, -0.0356799364, -0.0000315427, 0.0252021868, 0.0650014207, -0.0461156219, -0.0439326465, 0.060234528, 0.0240080822, 0.04038449, 0.0216416288, -0.0261533372, -0.0386595204, 0.0003802753, 0.0006450643, -0.0406779423, -0.050757546, -0.0354247577, 0.023442708, -0.0116741266, -0.0020323263, 0.0276071094, -0.0261728764, 0.068259865, -0.022758089, 0.0189176295, 0.0109585598, 0.0101698739, 0.0173959006, 0.0037934128, 0.0218379162, 0.0138602359, -0.025996631, 0.0306798164, -0.0272646658, 0.054885406, 0.0117898546, -0.0080161579, -0.0082600387, -0.0224416777, -0.0104236156, -0.0145033281, -0.0089223171, 0.0262627658, 0.0236916393, -0.0338961408, -0.0074051535, 0.0124987541, -0.0163039602, -0.0068753618, 0.0138280392, -0.0205423869, -0.0366947986, 0.0387702584, 0.0384273902, 0.0192911066, 0.0155185154, 0.0504020825, -0.0112236869, 0.0501672402, 0.0046284832, -0.042243544, -0.0271741021, -0.0173992142, 0.0646401495, 0.0585215203, -0.0385908224, -0.0206070375, -0.0383152254, -0.0401337184, -0.0049303006, 0.0201336201, -0.0372868516, 0.0124006923, 0.074868165, 0.0399151631, -0.0733027458, -0.0369293205, -0.0402960368, 0.0284347907, -0.0152586205, -0.0325261019, -0.0275504142, -5.545016972e-33, -0.0037648301, -0.012921338, 0.0659034327, 0.0061401622, 0.0014411189, 0.0002057028, -0.0241838116, 0.0127964653, 0.0008788235, -0.0057104067, 0.0117470557, -0.0251311548, -0.0195768457, 0.0407590829, 0.0261034276, 0.0119622601, 0.0359049626, -0.0248204526, -0.0021633764, 0.0193607975, 0.0212520324, 0.0193158239, 0.0289559942, -0.0520758554, 0.0365481861, -0.0384524986, 0.0144389719, 0.0365884267, 0.0243576895, 0.0735188052, -0.0190493613, 0.036579974, 0.0044284342, -0.0391388796, 0.0118890516, -0.0365635939, -0.0324879177, -0.0427906737, -0.0281667113, -0.0134471441, -0.0401445478, -0.0181627758, 0.0338547789, -0.0085226782, -0.0249736737, -0.0113236904, 0.0713914558, -0.0031781842, -0.0098315729, 0.0081805866, 0.0023848352, 0.0037994273, -0.0248030815, 0.0109838909, 0.0339177549, 0.0132588269, -0.0088597778, 0.0306937788, -0.0185788739, 0.0637498796, -0.0047231708, 0.0506826602, 0.008053232, -0.0012756984, -0.0128813107, 0.0232594945, 0.020102527, -0.0176291876, 0.0160598606, 0.0183357187, 0.0690011382, 0.0299532153, 0.0320019089, 0.0775540844, 0.0403879993, 0.0445788801, -0.0360529833, 0.0505504161, -0.0150753949, 0.0019667833, -0.0084956819, 0.0126604373, -0.0316157527, 0.0011489228, -0.0444485247, 0.0006097087, -0.0636686087, -0.0215434767, 0.0561910085, 0.0179896448, -0.0295520686, -0.0324423164, 0.0161406454, -0.01525818, -0.0541038848, 0.0073061986, 0.0100105135, -0.0042658313, -0.01950524, 0.0150915077, -0.0550400168, -0.032283742, 0.0020252266, -0.0609770976, -0.0317219347, 0.0213293359, 0.0160945822, 0.0214204732, -0.0510180928, -0.0028692945, 0.0013766602, -0.0488965623, -0.0070115048, -0.0110904854, 0.0244210102, 0.0544883721, -0.0254128762, 0.116990529, 0.0239555761, -0.0225879885, -0.0577659532, -0.0566114932, 0.0317613855, -0.038526427, 0.0193440411, 0.0225516576, -0.0469143577, 0.0414224938, 0.0295055322, -0.0377164818, 0.004092026, 0.0200385097, 2.5e-7, 0.0297081489, 0.0252937712, -0.0360434353, 0.0253373813, -0.0453554727, 0.0419494659, -0.002183866, 0.0176464487, 0.0280688927, 0.0421677046, 0.0156098465, 0.0509485118, -0.0093321251, 0.0309263039, -0.0627174899, 0.0170079768, -0.0123628769, -0.0061488762, -0.0646476373, -0.0051408838, 0.057471659, 0.0543061048, 0.0497559644, 0.0226876624, 0.0064737126, -0.071241729, 0.0733015761, -0.034449812, -0.0243086033, 0.0362398811, 0.0139595447, 0.0217457525, -0.0024973135, -0.0460235849, -0.0191187896, -0.0112738488, 0.0237956289, 0.0472475737, 0.0105212564, -0.0288758129, 0.0012604137, 0.0127767827, -0.0421962366, -0.0278938357, 0.0424463712, -0.0533007123, 0.0099002654, -0.0124997059, -0.0465657748, -0.0084125372, 0.0078423396, -0.0263779555, -0.0219808556, 0.0094376411, 0.0202593207, -0.0023402011, 0.0028368903, -0.0534499921, -0.0143848257, -0.0296991616, -0.0527671389, 0.0223599207, -0.0664402246, 0.0461415276, -0.0381151959, -0.0525391959, 0.0186619274, 2.009378793e-34, -0.0200576317, 0.0335589088, 0.0286097359, -0.0063141775, 0.0033549699, 0.0176654961, -0.0091032833, 0.0241265539, 0.0366305783, -0.0916454643, -0.029187208 ]
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.0213427749, 0.0597741157, -0.0316323191, 0.0581031963, -0.035395626, 0.0253698807, 0.0020961172, 0.0015430485, 0.0477857329, 0.0031283929, -0.0344619229, -0.0472950339, 0.0173438732, 0.0346462838, 0.0358524583, -0.0183436312, 0.0148313912, -0.0151907494, 0.0226767473, -0.0006642272, -0.0414682627, 0.0543946587, -0.0224935915, 0.0192260724, 0.0176652763, -0.0151176387, -0.0356497951, -0.0082408609, 0.0594195761, -0.0547802225, -0.0140332496, 0.0018968299, 0.0235459618, 0.0270365663, 0.0000020109, -0.0760532245, 0.0077951537, -0.0003201419, 0.0143408198, -0.0148402154, 0.0421900712, 0.031632591, 0.0276573617, 0.0126988441, -0.0422518551, 0.0295570642, 0.0014681, 0.0783484504, 0.028139824, 0.0778930932, -0.0149970818, -0.0167623814, 0.0045338031, -0.0225065146, 0.0260044169, -0.0496149026, -0.0048902244, -0.0572936125, 0.0390012041, -0.0540636405, -0.0009066325, 0.0045812721, 0.009251019, 0.0142493257, -0.0202025231, 0.0361982659, 0.0071556913, 0.0157346092, -0.0155605879, 0.10898678, 0.0689236894, 0.0372423083, -0.0044245096, 0.0063706799, 0.0151845785, -0.0013439934, -0.003814118, 0.0286639687, -0.0093257809, 0.0149727724, 0.0171949398, 0.0250640083, 0.0182246603, 0.0242766105, -0.0368774608, 0.0677404329, -0.0098231044, -0.0084947003, 0.0171850063, -0.0177937392, -0.0117222825, -0.0529116578, -0.0141774574, 0.055148907, -0.0259979311, 0.0085952953, -0.0194430389, 0.033835806, -0.0194804613, -0.0587348491, 0.0786268935, 0.0445410758, -0.0179087594, 0.0257433876, 0.0289161336, 0.051437933, -0.0063177948, 0.0522906035, -0.0215947498, 0.0132989408, -0.0336812176, 0.0056551546, -0.0259242803, 0.0584168881, 0.0120053086, -0.024642257, -0.0030171222, -0.0003215302, -0.0182628073, -0.0220343992, -0.0173932407, 0.0315189511, 0.0094196266, -0.004212806, -0.0792777315, 0.0117592542, -0.0549806394, -0.0032478282, 0.0197602883, -0.0231931526, -0.0121742822, -0.0294848867, 0.0236296151, -0.007335708, 0.0345672145, 0.0805318207, 0.0146510378, -0.0494743772, -0.0553929694, -0.0291975792, -0.0120698456, -0.0920991227, -0.0066122739, -0.0100701423, 0.0260340311, -0.0156101761, -0.0193035956, -0.0510567129, 0.0185347088, 0.0087206857, -0.0466116443, 0.0584424287, -0.0093733324, -0.0210701078, -0.014047672, 0.0305146705, 0.0147901466, 0.0075196545, 0.0487731956, 0.0076538986, 0.0013578823, 0.0351626351, 0.0177574176, 0.0234550294, -0.0178383086, -0.0222792774, -0.0316498093, -0.0014415865, 0.0012513135, 0.0846275389, 0.0209615342, 0.0620209984, -0.0230137091, -0.0251708664, 0.0622716062, 0.0960334539, -0.0111923851, -0.0171702001, 0.0487883165, 0.0328357741, 0.0226398371, 0.0004718399, -0.0641509891, 0.0507801771, -0.0317140222, -0.0439272039, -0.0154553289, 0.0186838992, -0.0223094132, -0.0059890244, -0.0258154329, 0.0001631462, 0.0359949805, 0.0021323154, 0.0006966387, -0.0409414321, -0.0179570094, 0.0273181926, 0.0303457435, -0.0409070514, -0.0130582144, -0.0720540211, 0.021460101, 0.0568090118, 0.0409726575, -0.026074715, -0.0716297925, -0.0237128939, -0.0389330275, 0.0571125299, 0.0508212484, -0.0131292371, 0.0198739022, -0.0439212285, 0.0341719724, -0.0420029871, 0.0076029697, 0.0507472195, -0.0385038853, 0.0259105265, -0.0122182276, -0.003995216, 0.004562329, 0.0175846145, -0.0412955135, -0.0202887449, -0.0554121956, 0.0234916881, 0.044545304, 0.0239300281, -0.0041972133, -0.0222280845, 0.0110250385, -0.0030701575, -0.0143444799, 0.0313329808, -0.0254431963, -0.0001354257, 0.0570090003, -0.0285808221, -0.060701821, 0.0863784924, -0.0066231373, -0.0133014899, -0.0033000645, -0.0544843785, 0.0220054742, -0.0260541979, 0.00262679, -0.031500943, 0.0157126728, -0.0134183979, 0.0547934882, -0.030601589, -0.0087348437, 0.0289469268, -0.0295519643, 0.0414680429, -0.0306269545, -0.0237490311, 0.0215020515, 0.0223896839, -0.0020637242, 0.0010896748, 0.0034475443, -0.0544863306, -0.0535127223, -0.0798957497, -0.0177872349, 0.0220717583, -0.0228497908, 0.0145214926, -0.0142654004, -0.0325193107, 0.0357572995, -0.0579702631, 0.0594749525, 0.0239705611, -0.0169222262, 0.0500190705, -0.0102704847, -0.0229146387, -0.0287393462, 0.0348577164, -0.0662326887, 0.0240385998, -0.0065614106, 0.0197891742, -0.026795581, 0.0452888831, -0.0829573125, 0.0310749002, -0.0330523141, -0.0718742833, 0.0556293055, -0.0219271611, -0.0088414997, 0.0869079009, -0.0057011219, 0.0064533711, 0.0678274706, -0.0302802864, -0.0424477793, 0.0383369476, 0.0362045728, 0.0259072352, -0.0648387, -0.0536289439, -0.0026177722, 0.0667048767, 0.0075450097, 0.0034677361, -0.0657316521, 0.0252033826, 0.0104727885, -0.0330015235, 0.0158914682, 0.0214401148, -0.0264821146, 0.039870277, 0.0016837318, -0.0147214737, 0.0898105204, -0.0340834595, 0.0064465138, -0.0375145525, 0.0161296558, -0.0613285042, 0.1019351408, 0.0052174092, 0.0297056492, 0.0579720475, -0.0169549976, -0.065302521, -0.0373559371, -0.0307472255, -0.0154524846, 0.0118882386, -0.0253416225, -0.0178048313, 0.0203702394, 0.0074910764, -0.0269499049, -0.0376319699, -0.0692419186, -0.0052758302, -0.0088915965, -0.0429276302, -0.0271581579, -0.034089569, 0.0239574555, -0.0074194609, -0.0057927375, -0.0260587335, -0.0194640309, -0.0084065944, 0.0526511297, 0.0357411616, 0.0366084278, -0.0385040455, 0.0407491699, 0.0428443663, -0.0352389067, 0.0373578705, -0.0200746506, 0.0276959334, 0.0235019084, 0.0213383213, 0.0059952512, 0.024516819, 0.0748023763, -0.0204096008, -0.0060981535, 0.1427424699, 0.0269234069, -0.0094070015, 0.0120010879, -0.017639799, 0.0161174182, 0.0257207602, 0.0133686885, -0.0224628914, -0.0136515833, 0.0092086764, 0.0074277436, -0.0211511739, -0.0793621689, -0.0242003277, -0.0868827701, 0.0327673964, -0.0111092879, -0.0201427154, -0.0125980042, 0.0170319099, 0.0249722414, 0.0042790677, 0.0038581633, 0.0147995641, 0.0301082395, -0.0068601463, -0.042254772, -0.0209915657, 0.0042273798, 0.085684523, -0.0611027256, 0.0856214687, 0.0089887371, 0.0879698321, -0.0083568888, -0.0498053841, -0.000116435, 0.058703322, 0.0170167889, -0.0110389395, 0.0511836149, -0.0073552663, -0.0011634335, -0.0605172962, 0.0336252265, -0.0177426059, -0.0048450804, -0.0303507838, 0.0681446642, -0.0223193262, -0.0219028909, -0.003631141, 0.0507102646, -0.0346973874, 0.081367068, 0.0059673805, -0.0658027828, -0.0018136823, -0.0073391884, -0.0403947905, -0.0186185706, -0.0457433835, 0.0052371351, 0.0075493725, -0.0038057764, -0.0522779338, -0.083809115, 0.0164559223, 0.0264852662, 0.0155590847, -0.0423957147, 0.0251769647, 0.0134585472, -0.0093317255, 0.017564429, -0.0445666984, 0.0123902364, -0.0051285974, 0.0238318183, 0.0482085645, -0.0501973405, -0.0015501168, 0.0077755991, -0.0319458954, -0.0694448501, 0.0085551664, 0.0177348424, 0.0257668644, 0.0197079778, 0.0026648634, -0.0438515358, 0.0365429446, -0.052745007, -0.0254199803, 0.0757430941, -0.0046893745, 0.0735368878, 0.0002837513, 0.0477089062, -0.0218405966, -0.002508458, -0.0144323632, -0.0080398321, -0.005141777, -0.0176190287, 0.0125298565, 0.0174204987, -0.0069752471, 0.0114180557, 0.0024198988, -0.0482105576, -0.0230508447, -0.0451516435, 0.0029376328, -0.0558289662, -0.0184447691, 0.0598192401, 0.0356989317, -0.0437925607, -0.0868281499, -0.0383342765, 0.0253788736, -0.0078150742, -0.0203302521, 0.0054187845, 0.0237384755, -0.0109138889, 0.021597214, -0.0248005297, -0.0099071702, -0.0749417618, 0.0401787497, 0.002474952, 0.0963962376, 0.0288034752, -0.0127570983, -0.0155660454, 0.0306664761, -0.0598136261, -0.0700273663, 0.0574251488, -0.0055036913, 0.0011277063, 0.0125176888, 0.003520601, -0.0395673625, 0.0245371945, 0.0353760347, 0.016903609, 0.0015703926, -0.0138872126, 0.0003613081, 0.0101561714, 0.0016876291, -0.0026965691, 0.0126031823, -0.0232681781, 0.0404500663, 0.0209951568, -0.0133702327, -0.0408668704, 0.0168547705, -0.0056173443, 0.0620475486, 0.0016353677, 0.0082265399, -0.0923757032, -0.0325093195, 0.0868072063, 0.0168276187, -0.0196461547, -0.0269440655, 0.0274275988, 0.0309209935, 0.0036138175, -0.0168455169, 0.0070875771, -0.0221099947, -0.0289717242, -0.0290021803, 0.0012556093, -5.818545324e-33, -0.0289405137, 0.0132977301, 0.0225535557, 0.0268737879, -0.0882765651, -0.0089297891, -0.0560603067, 0.0092981625, -0.0303915162, 0.0105287498, -0.0113849947, 0.0437071398, -0.0125404438, -0.0113279326, -0.0155022228, -0.0331296772, -0.0013088593, -0.0287553295, -0.0305718165, -0.0116099557, 0.01578396, 0.0222515687, 0.0333271287, -0.068862319, 0.0193711463, 0.0038395112, -0.0094705559, 0.0140407085, -0.0128674274, -0.0066454983, -0.017941555, 0.014930184, 0.0249368455, -0.0037585956, 0.0241784714, -0.0024092519, -0.0242860951, -0.0678065866, 0.0206594672, -0.0286590699, -0.0212051384, -0.0540671498, -0.0160908438, -0.0153527176, -0.0195382927, -0.0399404205, 0.0268827397, 0.0054146145, 0.079933174, 0.047892794, -0.0543866269, -0.020771509, -0.0152073931, -0.0316904336, -0.0309547186, 0.0236706845, 0.0034348173, -0.0066177896, -0.051058542, 0.0020498801, 0.0116922641, -0.0297506917, 0.0088173635, -0.0216508564, -0.0086663179, 0.0896417052, 0.0852110833, 0.0259526782, -0.0592062175, 0.0046954886, 0.0312635712, 0.0594517216, 0.052731365, 0.037982557, -0.0154578062, -0.0130219497, -0.0670983046, 0.0281645358, 0.0305270571, 0.0216902401, 0.047998853, -0.0156922136, -0.0204897989, -0.013563809, -0.0474085547, -0.0405634418, -0.0307121556, 0.0030111566, 0.0102957999, -0.0249256045, 0.0061002993, -0.0748062134, 0.0376475044, -0.0404120088, 0.0374319889, 0.004009801, -0.0231760759, 0.0278386399, 0.0065857745, 0.0364985317, -0.0281097833, -0.0100114252, -0.0081842449, 0.0282240435, 0.0734383389, 0.0079743154, -0.0214627851, 0.0337336361, -0.0083870087, -0.0237658732, -0.0422057286, -0.0025022062, -0.0122237345, 0.0024836431, 0.0012329808, 0.010720999, -0.0176568907, -0.0118366219, -0.0210525431, -0.0135875577, -0.0497460328, 0.035613209, 0.0033293155, -0.0143548939, -0.0254645664, 0.0138529064, -0.0085951742, 0.021853419, 0.0341373794, -0.049387496, -0.0015210011, -0.0010157995, 2.79e-7, -0.0241774637, 0.0495417118, 0.0066439845, 0.0127248289, 0.0088297268, 0.0574046336, -0.0238776263, 0.0500566103, 0.0061353245, -0.0485363007, -0.0109044649, 0.0491446927, 0.0506423078, 0.0493101701, -0.0677608848, 0.004642514, 0.0301244147, -0.0435321182, -0.0351118594, -0.0019185706, 0.0625495762, 0.0238196366, 0.0515877046, -0.0250516254, 0.0310568735, -0.0253772121, 0.0357521921, -0.0443378799, 0.0024504166, 0.0147214364, 0.018759843, -0.0153430784, -0.0032140566, 0.0045339842, 0.0469842926, 0.0333742388, -0.017706193, 0.0122137219, -0.0347409844, -0.0657377094, -0.0077615036, -0.0164125916, -0.0438076816, -0.0397746526, 0.0586845204, -0.0424751453, -0.0883468613, 0.0208121315, 0.038099438, -0.0159749333, 0.022181822, 0.0195636023, -0.0011684647, 0.0115806945, 0.0028918663, -0.0388425328, 0.0061397348, -0.1027061865, 0.0137013216, -0.0169456843, -0.0083686486, -0.0621825047, -0.0267083216, 0.0003245009, 0.0411589183, -0.0804097429, 0.0204446781, 2.245896752e-34, -0.0003581176, -0.0014829943, 0.0046403776, 0.0008911673, 0.0763001442, 0.012513102, -0.006361851, -0.0003972416, 0.0464587286, -0.1210529357, -0.0085850451 ]
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.0437520072, 0.0600628629, -0.0227583218, 0.0273329467, -0.0636029318, 0.0117943957, 0.0429753177, -0.0339273438, -0.0152685484, -0.0644529909, 0.0188413169, -0.0841965526, 0.0058047413, -0.0003119397, 0.0010825536, -0.0159839839, 0.0174410027, 0.0123098064, -0.0115080159, -0.0352298953, 0.0078697903, 0.0355110168, 0.0318380557, 0.0241452865, 0.0144640571, 0.0053437846, 0.0027902825, 0.0726017132, 0.0039532701, 0.0268891621, 0.0322283208, 0.0673518777, -0.0119570261, 0.0596282333, 0.0000021798, -0.0622964799, -0.0248964746, 0.0311067291, 0.0222079679, -0.0013666733, 0.0277509987, -0.0457517356, -0.0355005972, 0.0346646123, -0.0169226751, -0.0226935297, 0.0774295926, -0.0147649217, 0.0494490489, 0.0343535207, -0.0275531448, 0.003340557, -0.054412704, -0.0589940175, -0.0336150303, -0.0290402789, 0.0106894393, -0.0562008806, -0.0358496159, 0.0231453087, -0.0088511808, 0.0547553711, 0.004687211, -0.000128732, -0.0318703912, 0.0021136452, -0.0258658975, -0.0591809452, -0.0171790197, 0.0419259518, -0.0038546873, -0.0132077942, 0.0105753727, -0.0218189564, 0.0013429283, 0.0052348902, -0.0335451849, 0.0302624013, -0.021113487, -0.0103205135, 0.0115969107, -0.007126248, 0.0200863704, 0.0225846041, -0.0639350861, 0.0609358139, 0.0466393121, -0.0678878129, 0.0144614521, 0.0223746337, -0.0309137367, -0.0266030747, 0.0486360081, -0.0182031747, 0.0331275277, 0.0102256993, -0.0091385692, -0.0421579704, 0.0365704671, -0.057614658, 0.0110972282, 0.0882705972, 0.019872779, 0.0177005008, -0.0012490506, 0.0115968511, -0.0236224663, -0.0133884707, -0.0546178333, -0.027660517, 0.0085862642, 0.0095959203, -0.0504355878, -0.0333471633, -0.0603910759, 0.0443567112, 0.004135021, 0.0118601248, -0.0255901534, -0.0046163909, 0.0613863952, -0.0197031908, -0.0634453148, -0.0207698215, 0.0092157358, 0.0390424617, -0.0411572419, -0.0036672987, -0.051383201, -0.08604379, -0.0301156621, 0.0161499884, -0.0124026602, -0.0344354697, -0.0238200147, 0.0501840375, -0.0165563338, -0.0326796435, 0.0124361031, 0.0035231321, -0.025034301, -0.0832781419, -0.0024964572, -0.0609103814, 0.035538964, 0.0711473525, 0.0276876632, -0.0338543393, 0.0006086999, 0.0148676746, -0.0147246746, 0.0598203205, 0.0333557613, 0.0110692307, 0.045707766, 0.0037474886, -0.0235587787, 0.0942665562, 0.0295117162, -0.0010346732, 0.0249577146, 0.0218731724, -0.0220805369, 0.0678520426, 0.0214129351, 0.0654485971, -0.0252888128, 0.0282657258, -0.0052839988, 0.0346125215, 0.0322291367, 0.0362229757, 0.029229736, -0.0096263867, 0.0406683646, 0.0343594253, -0.0140795065, 0.0603127293, 0.0687599108, 0.0082469247, -0.0226809252, 0.0230298154, -0.05550877, 0.0052162264, -0.0167785455, -0.0121807465, 0.0184140597, 0.0431987643, -0.0047943871, -0.0264974367, 0.0005388886, -0.0022903665, 0.0503758192, -0.0161014404, 0.0443050861, -0.0071325991, -0.0452426597, 0.0387505554, -0.014717374, -0.0934050977, -0.0084348451, -0.0390288085, -0.0150252441, 0.0346692428, 0.0179496948, -0.0232178941, -0.0627000704, -0.019512672, -0.026375737, 0.071246095, 0.0807765946, 0.0458484143, 0.0085519096, -0.0901192278, -0.0229219086, 0.0592644699, 0.0353047997, 0.0462750718, 0.0361590162, 0.0516649708, 0.0690873861, 0.0167501643, -0.0585593693, 0.0132635608, -0.0061357087, -0.0335379317, 0.0571712926, 0.0043029599, 0.0359524339, 0.0249825865, -0.0176680163, 0.0082298378, 0.029004585, -0.0239384435, -0.0317001417, 0.0585800298, -0.0215195939, 0.0263896734, 0.0137867546, -0.0409284532, -0.038615752, 0.0551869161, -0.031687852, -0.0447798483, 0.0321859978, -0.0125339553, -0.0184352547, -0.0414597429, 0.0444468111, 0.0153682251, -0.0069995625, -0.0273417383, 0.0050635138, -0.0177725647, -0.0341983251, 0.0172741544, -0.0423222594, 0.0280908179, -0.0560774244, -0.0490137748, 0.0469952375, 0.0465849377, 0.0223076176, 0.052078221, 0.0106134536, 0.0072302008, -0.0393635482, -0.0796563029, 0.0130524207, -0.0249426495, 0.0272086151, 0.0270601194, 0.0600794926, -0.0283920597, 0.0156693235, -0.027254317, 0.0019584461, 0.0178139769, 0.0274359118, 0.0279678069, -0.0288546458, -0.0031417264, -0.0055318242, -0.0131859174, -0.0256966334, -0.0040547107, 0.061275091, 0.0137975486, -0.0488052256, -0.0117710959, -0.0120711932, -0.0073679881, 0.0131117599, -0.0478271507, -0.0063138166, -0.0323037393, 0.0422258824, 0.0423816293, -0.0043399781, -0.005425381, 0.0446817242, 0.0072507709, -0.0404748581, 0.024946453, -0.0121110287, -0.0254473146, 0.0514787994, -0.098096028, -0.0105851898, 0.0186859183, 0.0022011457, -0.0520706773, -0.0926953405, 0.0175665412, -0.0356099866, -0.0179244913, -0.0032144943, 0.0022708504, 0.0172236525, 0.0304353423, -0.0259902123, -0.0487633012, 0.0397188067, -0.0279771741, -0.0273422971, -0.0560492091, 0.0158616137, -0.0613230616, 0.0569301434, -0.0310522933, 0.0166092366, -0.0120344795, 0.0135371508, -0.033482451, -0.0076800827, 0.0198887121, -0.0136319334, 0.0538869202, -0.0635790601, 0.0354202539, -0.0329302587, -0.0041237473, -0.0195891671, -0.0253257118, 0.0114695933, 0.0038636774, 0.0367110334, -0.0124520008, 0.0015684288, 0.0645583719, -0.0246373154, 0.0730433539, -0.0292139277, 0.0112012178, -0.0295649096, -0.0147897862, -0.0110883163, -0.0197015647, -0.0091975713, -0.0246101394, -0.0172581133, 0.0197840054, -0.0230571963, 0.0176932905, 0.0067782775, -0.0147567336, 0.0436876379, -0.0380987674, -0.0225032009, -0.0560188554, 0.0079741394, -0.0585026518, 0.0090361256, 0.1019326299, 0.0203238986, -0.0905654207, -0.0184392091, -0.0096041244, 0.0142530072, 0.020380225, 0.0246106423, -0.0680928305, 0.0024547232, 0.0332900733, 0.0363374688, -0.005824598, -0.0185961146, -0.0369182751, -0.0876758322, 0.0196084119, 0.0482404158, -0.0475748479, -0.0538515709, -0.0042800526, -0.0145817315, -0.0561749488, 0.0033317746, 0.0161862634, 0.0156753659, 0.0075958711, -0.0362377167, 0.0325986445, -0.0364614204, -0.0068775136, -0.0670650303, 0.0266062412, 0.0392154939, 0.0465986617, -0.0365282446, -0.0017296432, 0.0354262814, -0.0202292316, -0.0390982926, -0.0406576246, -0.0234708171, -0.0044389865, -0.003263931, -0.0092897927, 0.0237991419, 0.0141502637, 0.0555926636, 0.0519522876, 0.0309235603, 0.0155515494, -0.0231979769, -0.0228253677, -0.006659931, 0.0543605983, 0.0791012943, -0.0004734276, -0.032174468, -0.0407972336, -0.0420890562, -0.0024915261, -0.041351907, -0.0092713125, -0.0467371009, -0.0068260296, -0.055146955, -0.0483689867, -0.0620505847, 0.0244459491, 0.0189165566, 0.0409509018, -0.0347582996, 0.0143173067, 0.0228695683, -0.0640345961, 0.0346984118, -0.0041133524, 0.0275704563, -0.0295520872, -0.0311951861, -0.0214304347, -0.0346110463, 0.0004285854, 0.0715107471, -0.0112737678, -0.0753062814, -0.0064666765, 0.0537008755, 0.0327666365, 0.0239081644, -0.0263224263, -0.0134130539, -0.0210062768, 0.0545017868, -0.0283210147, 0.0135838334, 0.0527914129, 0.0099886395, -0.0085255615, 0.0621969849, 0.0022655178, 0.0051021148, -0.0358698107, 0.0603841841, 0.0149222557, -0.070845671, 0.0279952791, 0.0348889604, -0.0138540156, -0.0580417886, -0.0013959748, -0.038987916, 0.0232782308, -0.0481920689, -0.0210142378, -0.0403934494, 0.0028431339, 0.0205690488, 0.0087962365, -0.0248028841, -0.0313666984, -0.0499885082, -0.0285523348, -0.0065087308, -0.0076657939, -0.0293447785, 0.0576226003, 0.0095639313, -0.0067875953, -0.0137713049, 0.0032614756, -0.0131512396, 0.0080163544, -0.0284713339, 0.0381652936, 0.0058801686, 0.0416384563, -0.024397824, 0.037492834, -0.0136302337, -0.0055733426, -0.0194285288, 0.019537583, 0.0664121658, -0.0197854079, 0.113224186, -0.0306282993, -0.0213683788, -0.0058017955, 0.0037467447, 0.0428460278, 0.0372865684, -0.0095155025, 0.0003338685, 0.0198754072, 0.0129896337, 0.0313013084, 0.0268368535, 0.0455876887, -0.018183602, -0.0330342762, -0.0125183593, -0.0573886968, 0.0211299285, -0.0374328271, -0.0326953344, -0.0110952528, -0.0871706381, -0.0505091064, -0.0297601297, 0.0105026038, 0.0247720014, -0.0244496129, -0.014457087, 0.0879554749, -0.0429496765, -0.036174491, -0.0456061698, 0.0300497264, -0.0161025263, -0.0108632362, -0.0506573617, -6.660563315e-33, -0.0191676691, -0.0030623381, -0.0043480811, -0.0067846053, -0.005020957, -0.0277428329, -0.0203376282, -0.0245346725, 0.027356606, 0.0009076164, -0.0149978865, 0.0134705342, 0.0238878001, -0.0178430658, 0.0302256625, 0.0441649146, 0.0761138052, 0.0249532163, -0.0389673226, 0.0032169144, 0.0099600283, 0.0020089014, 0.0335249528, -0.0551462732, 0.1045196056, -0.0505861752, -0.0355626531, 0.0109830126, -0.0801887065, -0.0271532312, 0.0048840032, 0.0247685816, 0.0199739709, -0.0073553286, 0.0068172053, 0.017937351, -0.0667054132, 0.009431907, 0.0410495736, 0.0197373591, -0.0029130683, -0.0294208527, 0.0257597156, -0.013061326, -0.0548358001, -0.0107624959, -0.0031783353, 0.0141909206, 0.0482517518, 0.0314890482, -0.0585804693, 0.0179982558, -0.015031484, -0.0075631291, 0.0352250449, 0.0448050126, -0.0136809889, -0.01137779, -0.0452354774, 0.0330574661, 0.0282674544, -0.0022309911, 0.0674787238, -0.0163609888, 0.0086096264, -0.0536174402, 0.0343012922, 0.0064137043, -0.0233066734, -0.0357960798, 0.017498821, -0.070119746, 0.0527289622, 0.0271925535, 0.0665451139, -0.0145205315, -0.0471524857, 0.0091251573, 0.0181572102, 0.0116914343, 0.0128735723, -0.0199350193, -0.0782041922, -0.0355370492, -0.0277450588, -0.0939681828, -0.0322373882, -0.0225342624, 0.0263839718, 0.0120229525, -0.0899779722, 0.0289640874, 0.0324316546, -0.0267222021, 0.0051555363, 0.0177839026, -0.0037366599, -0.0377878174, 0.016525941, 0.0550418273, -0.0052313474, 0.0134528372, -0.0010998762, 0.030428445, -0.0061591719, 0.0149759268, -0.0224445164, 0.0467520878, -0.0606215149, 0.0000144616, -0.0575002506, 0.0335185714, -0.0185607821, 0.0232657399, -0.0068762144, 0.0361693278, 0.030033974, 0.0197794475, 0.08521308, 0.0234386232, -0.0603577904, 0.0279288199, 0.0034179441, 0.0265869182, -0.0170284435, 0.0206142142, 0.0219091773, 0.0112877106, 0.0553967543, -0.0445838608, -0.0130569274, -0.0255664513, 2.865e-7, 0.02279949, 0.0404636934, 0.0194299072, 0.0161629263, 0.0040056738, 0.0203763973, -0.0218964741, 0.0403016768, 0.0373414606, 0.0763525888, 0.0090189893, 0.0426319204, 0.0185674727, 0.0277541876, -0.0672746077, -0.0028931701, -0.0098882169, 0.0423618704, -0.0392413288, 0.0260210335, 0.0419792198, 0.0553372465, 0.0152758239, 0.0131044853, -0.0359322131, -0.0106257685, 0.0461480431, -0.0064124698, 0.0224445108, 0.0235001184, 0.0406730548, 0.0016679423, -0.0315545388, 0.0138739916, 0.0242985003, 0.0076371878, 0.0214714985, 0.1068909541, -0.0065407436, 0.0461398661, 0.0131772347, -0.029352434, -0.0128439832, -0.0658983141, 0.0762922764, -0.0099821817, 0.0069454359, 0.0290245358, -0.0165856648, 0.0315668397, 0.0495887771, -0.0328116789, -0.0608578697, 0.0252691209, 0.0299316552, -0.0039496562, -0.0127906296, -0.0449543595, -0.0252181906, -0.0505488068, -0.0206152536, -0.050638672, -0.0123870084, 0.0553666577, 0.0174494907, -0.0292378832, 0.015827762, 2.773510962e-34, 0.0393739492, 0.0114073036, 0.0059727286, -0.0228222851, 0.0178059153, -0.0208419804, -0.0025574453, 0.0302517209, 0.0135508552, -0.0156066194, -0.0497894213 ]
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.0496108048, 0.0765365884, -0.0236648079, 0.0154339047, -0.0854394436, -0.0196339935, 0.0011443932, 0.0245932303, 0.0065350463, -0.0619620048, 0.0257027466, -0.0457773693, 0.0223480705, 0.0148171913, 0.0135833947, -0.0484724678, -0.0027066353, -0.0503602475, 0.0713283792, 0.0025712217, 0.0068788151, -0.0152282389, -0.031154599, 0.0191272739, 0.0257838182, 0.0317043476, -0.0104942527, -0.0476008356, -0.0238681622, -0.0027864375, -0.0201062374, 0.0574979, 0.0173078496, 0.0251059663, 0.0000017058, -0.0725777745, 0.0016746114, -0.0025120112, 0.0070451684, 0.0205869433, 0.0374690108, 0.0143543519, 0.0020080411, 0.0271732807, -0.0201019328, 0.0094019314, 0.0541499779, 0.0189877246, 0.0219352115, 0.0489013493, 0.0080887489, -0.0337639898, 0.0062795673, 0.0190765671, 0.0618649609, -0.050087288, 0.0646491721, 0.036443416, 0.0208040643, -0.0353269801, -0.0007316475, -0.0050779283, 0.0078786444, -0.0139295161, -0.0220405012, 0.0283614546, -0.0123931915, 0.0057051885, -0.00604368, 0.034166038, -0.0193446986, -0.0162049439, 0.0073780054, -0.0012010662, -0.0204159226, 0.0533969216, -0.0413660258, 0.0702461526, -0.0496671833, 0.0259503685, 0.0306554977, -0.0133016473, 0.0442246944, 0.0438243113, -0.0337361135, 0.1105251163, 0.0028704042, -0.0112812575, -0.0185663048, 0.0063872649, -0.0251122098, -0.0809952691, 0.0195229333, 0.0023284969, -0.022709284, 0.0232810751, -0.0079392558, 0.0219274946, 0.0262936112, -0.0178404674, 0.0390361585, 0.0318573117, 0.0578231961, 0.0476705097, -0.0017657515, -0.0080435472, 0.0067201336, -0.0310311653, -0.016703913, 0.0215446912, -0.0735171586, 0.0112670725, 0.0119489506, 0.0370368063, -0.0178416967, -0.0172385443, -0.0364971124, 0.0182031151, -0.0036834078, 0.0035978484, -0.0205206908, -0.0339527838, -0.0264130533, -0.0137010394, -0.0889258012, -0.0227911863, -0.0255115591, 0.0536169745, 0.0082351929, -0.0259254333, 0.0126646003, -0.0264104065, -0.0029147938, 0.0076785567, 0.0010935805, 0.0671092793, 0.0083554657, -0.0266428422, -0.0269548129, -0.0693801418, -0.0282408912, -0.0306254197, 0.0057515092, -0.0763055831, 0.0007392447, -0.0126664331, -0.0012162116, -0.0234867781, 0.0100125028, 0.0284093358, -0.0531147532, 0.1087836847, -0.009905247, -0.0014502216, 0.0068580406, -0.0152302105, -0.0228701085, 0.0514647961, 0.0221883189, -0.004538612, 0.028441513, 0.0423886329, 0.0578959957, 0.0361546092, -0.0016673892, 0.0022377409, 0.0074823522, -0.0228321888, 0.0014236192, 0.0534874164, 0.0013091118, 0.0526062772, -0.0565334074, 0.0338761285, 0.0923168361, 0.0300695598, 0.002447143, -0.0189028997, 0.0403601974, -0.0029444622, 0.0345125496, -0.0045051589, -0.0569527484, -0.0123973871, -0.0453591123, 0.0341872424, 0.0158185903, 0.02185449, -0.0054141199, -0.0636491925, -0.0150007969, -0.0065502776, 0.0041834475, -0.0013936954, 0.0897313133, -0.0214287806, 0.0197978187, -0.0224426668, 0.0384913161, 0.0000837696, -0.0073218541, -0.0686207265, 0.0679973885, 0.0892465562, 0.0660085678, -0.0359841362, 0.031196855, -0.010812046, 0.0046535474, 0.0057117171, 0.0212466959, 0.0053672772, -0.0050961347, -0.0271307826, -0.0068033338, 0.0214724168, 0.0328658782, -0.0094122998, 0.0366116166, -0.0313711204, -0.0112304026, -0.0211934112, -0.0023904771, 0.0485897437, 0.0281632915, 0.0177027602, 0.0047879415, -0.0452912189, 0.0378110521, -0.0220763907, -0.0248221066, 0.0345831588, 0.0069123427, 0.0133487182, -0.0419539325, -0.0010026467, 0.0333424695, -0.0526493043, 0.0461338535, -0.0383698903, -0.0070503028, -0.0668235123, -0.0187153798, 0.0043964372, -0.0166592486, -0.0457594879, 0.0337202325, -0.0416106731, 0.0128789926, 0.014570279, -0.0345769674, -0.0351168625, 0.0438443758, 0.0036347411, 0.0096421586, 0.019564053, -0.0418325476, -0.0015828478, -0.0670355186, 0.0102547528, 0.0017619892, -0.010307678, -0.0115507497, 0.0497739278, 0.0032534902, -0.0157226175, -0.013535399, -0.0401849039, 0.0013083211, 0.0112828882, 0.0134268533, -0.0252884366, -0.0192641914, -0.0325612091, -0.0098382989, 0.017748449, -0.0101705436, -0.0192997791, 0.0474636629, 0.0277008098, -0.0224070977, -0.043208316, -0.0260956064, -0.0219038948, -0.0254070181, 0.0422615334, 0.0376752429, -0.0052604917, -0.1052820832, -0.0173895396, -0.0554415919, 0.0241105855, 0.0054509351, -0.0053826733, 0.0205592494, -0.0137994848, 0.0508766733, 0.0588962436, -0.0112460433, -0.0070761102, 0.1009309068, -0.0224093292, -0.0243229512, -0.0279237926, -0.0283329468, -0.0394669101, -0.018087972, -0.0652035177, -0.002013257, 0.0069033196, 0.0017320254, -0.0204755776, -0.0377579741, 0.0773663744, -0.0078816637, -0.0474383496, -0.036869254, -0.0354194157, -0.0061838524, 0.0499855652, -0.0029746967, -0.0660812035, 0.0893383697, 0.0121411169, 0.0370084979, -0.0814216137, 0.022741124, 0.0093815681, 0.0391522758, 0.0336867683, 0.0343548581, 0.035922803, 0.0106906593, -0.0099646645, 0.0029630503, 0.0536611006, -0.0291085448, -0.0115355384, -0.1569054276, 0.0261649415, 0.0383499227, -0.029060768, -0.0222174972, -0.0391570963, -0.0530993156, -0.0245601051, 0.0124963084, -0.0083769159, -0.001821116, 0.0136007452, 0.0369685665, 0.0111925034, 0.0150597459, -0.046302475, -0.0158132557, -0.0093875816, 0.0394181162, -0.0216420628, 0.0024100887, -0.0030430844, -0.0132803628, 0.0537498184, 0.0376188159, 0.0205080565, -0.0167621989, 0.0143961161, 0.0004297891, -0.0321703777, -0.0029611106, 0.0920033827, 0.0136407353, -0.0261002537, 0.0080576129, 0.1037479714, 0.051378198, -0.0077571142, 0.0094639957, -0.0082384562, -0.048925437, -0.0251472797, 0.0364096314, -0.0927314982, -0.041260317, 0.0423578769, 0.0015373848, -0.0536910556, -0.0639040843, 0.0046065003, -0.0972755849, 0.0185779557, 0.0006017697, -0.0046678539, -0.016729854, -0.0981159583, 0.0141796814, -0.0405014083, -0.0287966896, 0.0240891781, 0.0072976775, 0.0352855064, -0.0215315316, -0.0335041508, -0.0447138213, 0.0232585259, -0.0589743629, 0.0713926554, 0.0438255481, -0.0057794848, 0.0103922365, -0.0270051062, -0.0063313041, 0.0212611426, 0.0037833885, -0.0245683938, 0.0350236669, 0.0372455455, 0.0241184104, -0.0625345558, 0.0595061518, -0.019801084, -0.0528940372, 0.0274538361, 0.0597241297, -0.0255233236, -0.0614141151, -0.0083905645, 0.0048932023, 0.026759332, 0.0773636997, -0.0220463574, -0.0405810289, -0.0199786294, -0.0493424796, -0.0287863966, 0.0167484134, -0.0264014248, -0.0355757996, -0.0276082009, -0.0109930085, -0.0880682394, 0.0144132683, 0.023949692, 0.0293145664, 0.0308205169, 0.025125362, 0.0781149417, 0.0232462827, -0.0015589737, 0.01355551, -0.0440464839, 0.0339489169, 0.0175552685, 0.0097975582, 0.0474130549, -0.026224548, -0.0129309595, 0.0331287161, -0.0279121436, -0.0826274082, 0.0131908478, 0.0379879661, 0.0298767164, 0.017702315, -0.0129123144, -0.0435526296, -0.0143315298, 0.0011183721, -0.0291145854, 0.0083686318, 0.0122903725, 0.02455654, 0.0222647432, 0.0156843103, -0.016523391, 0.00874878, 0.0105508389, 0.042441655, -0.0537947565, -0.064834401, 0.0568808056, 0.0314150192, 0.0465556644, -0.0192652084, -0.0513881445, 0.0039267763, -0.0056744544, -0.0347359516, -0.0326243304, 0.0105815986, -0.0123999957, 0.0067427591, 0.0125673655, -0.0270122699, 0.0168112069, -0.022254603, 0.0046035796, 0.0229999516, -0.0715725571, 0.0409887284, 0.0067798966, 0.033617571, -0.0431144238, 0.019869037, 0.027063014, -0.0238348078, 0.0452913456, -0.0001579507, 0.0416438468, 0.0344669297, -0.0624910481, -0.0757459775, -0.0286731366, -0.0528322123, -0.0383101329, -0.0026877753, 0.066168651, 0.044834923, 0.0145115657, 0.0002572952, -0.0697741434, -0.0036999774, -0.0055244649, 0.0221512653, -0.0067693344, 0.031925261, 0.0526924767, 0.0092950333, -0.0400077887, -0.0172643382, 0.0531370156, 0.0177117269, 0.032238394, -0.0279659815, -0.0578649007, -0.0102081485, -0.0081153978, -0.0135951927, 0.065077655, -0.0260009766, -0.0212443117, -0.0268539358, -0.0220292713, -0.0377659947, 0.0538567118, 0.0144898519, -0.022990346, 0.0309753753, 0.0851880684, -0.0045450632, -0.0315402895, -0.0240273345, 0.0263328403, -0.0088316444, -0.0097417058, -0.0353739671, -6.021772869e-33, 0.0141668217, -0.0341166183, 0.0441964231, 0.0220318567, 0.0257528555, -0.0592636652, -0.0185711198, 0.0259738211, 0.02561008, 0.0255739801, -0.0001496162, 0.0066162916, 0.0223169513, -0.0263242833, 0.0241292045, -0.0040419488, 0.0265592933, -0.0034634687, -0.0257131718, -0.0507007912, 0.0234262161, -0.0304873567, 0.0111749396, -0.0643364862, 0.0345167033, 0.0456660725, -0.0119812125, 0.0614724346, -0.0330567062, 0.0177797303, -0.0056782002, 0.0413548052, 0.0183684137, -0.0278485715, 0.0063131754, 0.0084711108, -0.0310542695, -0.0220079012, 0.0100631714, -0.0032995231, 0.0078200726, -0.0306782927, 0.0439355299, 0.0138737466, -0.0493553728, 0.041478768, 0.0305463765, -0.0379412323, 0.0109453788, 0.0127559621, -0.0441965871, 0.0363052599, 0.0163502749, -0.0116073908, -0.020387385, -0.0540289469, -0.019235529, -0.0214739591, -0.0269617587, 0.0535065494, 0.0296114478, 0.0173588619, 0.0465078354, -0.0128900064, 0.0097714141, 0.0456321053, 0.0022425118, 0.0113696344, -0.0256135464, -0.0154205859, 0.0124798007, 0.0158268511, 0.0309982672, 0.0605905764, 0.0526139066, 0.0517372079, -0.0802412033, 0.0288773626, 0.0596181154, 0.0290254336, 0.0400398746, 0.0427468754, -0.0528390221, -0.0253771767, -0.0362638123, 0.0269771982, -0.0118910735, -0.0230568703, 0.0050826045, 0.0083455648, 0.0073713497, -0.0198742859, 0.0010593347, -0.0127930185, -0.0285644941, -0.065062061, 0.0177083332, 0.0084232101, -0.0180969313, -0.0000785868, -0.0666617453, -0.0243737176, 0.0080016758, -0.0112614948, -0.018728368, 0.0035628306, -0.0150036179, 0.0156146958, -0.0468671136, 0.0011727348, -0.0227678418, -0.03461238, 0.0417866297, -0.0290509053, 0.0253037456, 0.0318549983, 0.0083262222, -0.0121322935, 0.0352158099, -0.0191826932, -0.018363297, -0.0041904734, 0.0073605408, -0.0176908113, -0.0005960314, 0.0044573443, -0.0259705558, -0.0077983225, -0.0147270234, -0.0227788091, -0.0270300694, 0.0423570089, 2.583e-7, 0.0633695945, 0.070627518, -0.0291509312, 0.0459874123, 0.032078404, 0.0237090979, -0.0246971305, -0.0286953356, 0.0565390289, -0.0016640733, 0.0141587816, 0.0295928102, 0.0024782124, 0.0384621546, -0.0628415495, -0.0759940073, 0.0042190501, -0.0065529114, -0.0420176536, -0.0276071671, 0.0454724133, 0.082125783, 0.0307136327, 0.0162857082, 0.0038387703, -0.0735508502, 0.0514425747, -0.0217268765, -0.0211611502, 0.0432650521, 0.040590968, -0.0157078672, 0.0045130001, 0.0567220002, -0.0008645895, -0.0216210634, -0.0082149692, 0.0408084057, -0.0180671532, 0.0514466055, -0.0319066197, -0.0623130128, 0.0280379299, -0.0454683974, 0.0798131749, -0.069793433, -0.0118032396, 0.0053425133, 0.0008732881, -0.0801967829, -0.004397959, -0.0179094616, -0.0193718895, 0.0090161851, -0.010370383, 0.0591968819, 0.0012020597, -0.0315151662, -0.0175354723, 0.0099450732, -0.0416747816, -0.0868092924, -0.0100250524, -0.0245681219, 0.0168417171, -0.1086648703, 0.0251538977, 2.268850345e-34, 0.0187832862, 0.0236069411, -0.0268548913, 0.0281205289, 0.035445109, 0.0102391355, -0.0147803817, 0.0187983271, 0.0452455916, -0.1077785492, -0.0077597951 ]
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.0215074494, 0.0629932433, -0.0141731137, 0.054895781, 0.0165735353, 0.0627135932, 0.0321611576, -0.0327211991, 0.0177908018, -0.0511449054, -0.0682073236, -0.0802951679, 0.0077417241, 0.0342779569, 0.0125773652, -0.08318609, 0.019668851, 0.0011722448, -0.0056883469, 0.0025495309, -0.0009503925, 0.0178215653, 0.0329956599, 0.036073789, -0.024335945, -0.0161958225, 0.0349191539, -0.0010619377, 0.0476482548, -0.0412747711, -0.0073879431, 0.0538665205, 0.0358156003, 0.0362087227, 0.000001896, -0.0078514349, 0.0450571962, -0.0247002374, 0.0455631465, 0.0614343658, 0.0556389131, -0.0428148173, -0.0093385745, -0.028368881, -0.0544951111, -0.0461104922, 0.0747320279, 0.0395239592, 0.0443027467, 0.0317505896, -0.0162765142, -0.0424547978, -0.0349170715, -0.0652828366, -0.035456188, -0.0559999645, 0.0178355649, 0.0840290934, -0.0169971678, -0.0080437921, -0.0527936146, 0.033340659, 0.0285428502, -0.0018419792, -0.0204939339, 0.0379490405, -0.0715764165, -0.0370233133, 0.0035142873, 0.073830463, 0.0555808768, 0.0346582495, -0.0165160894, 0.005494542, -0.0406225435, -0.0366808102, -0.0296284258, 0.0313318111, 0.0188018624, 0.0228668042, -0.0226362757, 0.027548125, 0.0253996942, 0.0251220688, 0.0253706519, -0.0110830786, -0.000116943, 0.0469180793, -0.0275968034, 0.0192227233, -0.0860761255, -0.0131521327, -0.0053421496, -0.0343011804, 0.0345813371, -0.0218258686, -0.0298121385, 0.0089831445, -0.0036917448, -0.0427896716, 0.0155905848, 0.0492528081, -0.0909739658, 0.0679173246, -0.0060300366, 0.0758847296, -0.0371942371, 0.0192219503, -0.0222370699, -0.024431048, -0.0237939805, -0.0070296153, 0.0201241132, -0.034033075, -0.0542648919, -0.0207666624, -0.0781554356, -0.0134613635, -0.0476312041, -0.0207176022, -0.03417008, -0.0135158105, -0.0169568788, -0.0003452137, -0.0296691395, 0.0443990454, -0.0168123022, -0.0375375934, -0.0617544241, -0.0902333856, 0.0148898549, 0.0428452902, -0.0417213216, -0.0406835675, 0.0045459378, 0.0194108486, -0.0300608147, -0.0407088175, -0.0584241413, 0.0270384997, -0.0299045425, -0.0473781489, 0.04145642, -0.0465856232, -0.0030758136, -0.0201797709, 0.0344520845, -0.0335612185, -0.0133914687, 0.0034475478, 0.0170152765, 0.0838537961, 0.0255210176, -0.009640269, 0.034644518, 0.0188957639, -0.0124464165, 0.0854864717, 0.0109281447, 0.0306461304, 0.0378375873, -0.0134759275, 0.0039873896, 0.0359934643, -0.0064279488, 0.0238177478, -0.0579462387, 0.0124633415, 0.0241683498, 0.0027248494, 0.0776155666, 0.0253302753, 0.0029754683, -0.0105107976, 0.0611414015, 0.0510960817, -0.0443996154, 0.0479079783, 0.0572535954, -0.0177577864, -0.008964763, 0.0146729071, -0.0516926199, 0.0595352612, 0.0284084585, -0.0308610108, -0.001989251, 0.0486406684, -0.0505826175, -0.0157346874, -0.0087323319, 0.0071855518, 0.0297092665, -0.0008996265, 0.034193065, -0.0369562916, 0.0199424028, -0.008390571, 0.0346747898, -0.0211876705, -0.009415091, -0.049735859, 0.0065388372, 0.0340663679, 0.0054405089, 0.011707129, 0.0087186396, 0.0018111084, 0.0543848872, 0.0516368523, 0.0644014552, 0.0247844774, 0.0257282909, -0.0442178398, -0.0289664436, -0.0272654574, -0.0073832669, 0.0584561788, 0.0205212887, 0.0264148917, 0.0445726924, -0.0036007608, -0.062378969, 0.0108222347, 0.0190663002, 0.0009328135, -0.0005972392, 0.0173242278, 0.0200586151, 0.024924919, -0.0262798406, -0.0439994521, -0.0307893176, -0.0212822147, 0.0291670654, 0.0418040864, -0.0825602114, -0.0166955646, 0.0340353549, -0.066027917, -0.0127599314, 0.0365561359, -0.0196659435, -0.024581477, 0.0328985266, 0.0037626065, -0.0422519334, -0.0875924453, -0.0473609306, -0.0089088259, 0.0564051867, 0.0110518513, 0.0538788885, -0.0070816055, -0.0367101505, -0.0063773398, -0.0200175438, 0.0374650657, -0.0263158511, -0.0647196174, 0.0414312333, 0.0384058803, -0.0029410312, 0.0110840155, 0.048661489, -0.0377209261, 0.0353693254, -0.1398049891, -0.0232528895, -0.05355113, -0.0306630433, -0.0201688204, 0.0017082526, -0.0194316916, -0.056702707, -0.0561835095, -0.0140245669, 0.0105030099, 0.0285915155, 0.0271757357, 0.0206741337, 0.0170147717, 0.0104639065, -0.0124735013, 0.0170817319, 0.0484573171, 0.0159349218, -0.0450029783, -0.0061428235, -0.0494393706, -0.0273489542, 0.0023266191, -0.0281444453, -0.0524759144, -0.0042877523, 0.0246614702, 0.0100200744, 0.0225961264, -0.0014022168, 0.0312375557, 0.0271849483, -0.0048225154, 0.0360318385, 0.0030833913, 0.0121188583, -0.0379123352, 0.0211463589, -0.0377680808, -0.0345193595, 0.028331738, -0.0442217477, 0.0160841215, -0.0785588101, 0.017916603, -0.0367009751, -0.0481118299, -0.0237945467, 0.0316595472, -0.0056722728, 0.0560452566, -0.0368542261, -0.0668230504, 0.0469039232, -0.0300482009, -0.048366338, -0.0009658509, 0.0094979834, -0.0477953218, 0.0828763768, 0.0104506779, 0.0289557725, -0.0290332008, -0.025352994, -0.0167939272, -0.0176131595, 0.0150947208, -0.0208613202, 0.0804767832, -0.0653279275, -0.0201018713, -0.056264583, -0.0120023498, -0.0313792415, 0.0159673188, -0.022275893, 0.0214412324, -0.016225785, 0.014382123, 0.0060842587, 0.0389811546, 0.0324277952, 0.0131603433, -0.0093895225, 0.0374078602, 0.0280763973, 0.0097235516, 0.0175957996, 0.0241236351, -0.0185380131, -0.0347787514, -0.0051227021, 0.0017901933, 0.0440291204, -0.0141864792, -0.0375530794, 0.0627249777, 0.0402941741, 0.0599987693, -0.0200707316, -0.0228708088, 0.0731394589, -0.0255078729, 0.0319747962, 0.0666249543, 0.0002833585, -0.082754001, -0.0310324226, 0.0096347583, 0.0179988053, 0.0345601514, 0.0250036288, -0.0983620286, -0.0229844544, -0.0315441713, 0.0059573879, 0.0138640981, 0.0035766042, -0.0432982892, -0.0663846582, 0.056128975, 0.0187184066, -0.0616271421, -0.0520754792, 0.0326734446, -0.0233299304, -0.039068047, 0.0192434285, -0.0320484228, 0.0038315437, 0.0040821424, 0.0109204194, -0.0052120257, -0.0579115339, 0.0542699918, -0.0336537361, 0.0179395732, 0.0638755932, 0.0181212351, -0.0053002313, -0.0653882995, -0.0131235672, -0.0421395041, -0.0002094397, -0.0083936471, 0.0481380187, -0.0107098371, -0.076371491, 0.0508345254, -0.0066732955, -0.005740942, -0.013990825, -0.0130213834, 0.0102902874, 0.0090834657, 0.0013422591, 0.0072106589, 0.0185121503, -0.0164289922, 0.0331089161, 0.047570575, -0.0075883577, -0.0185246114, -0.0179165434, 0.0129826954, -0.0509366654, -0.0396630578, 0.0142989168, -0.0110519072, -0.0565979257, -0.0382523499, -0.0492009968, 0.0177183896, 0.0037423088, 0.019555131, -0.0301156621, -0.0278530009, 0.0534341522, -0.0470713899, 0.0936819389, -0.0361010768, 0.0128213074, -0.0273653585, -0.0319540538, 0.0430704728, -0.0553426445, -0.0025913324, 0.0380432867, -0.0493729934, -0.0106141688, -0.0071523129, 0.057160072, 0.0057827183, 0.0193299614, 0.0499818325, -0.0494826101, -0.0114123384, 0.0089257965, 0.0432804711, 0.0161678549, 0.0065495088, 0.0095355054, -0.0385486968, 0.0290894993, 0.0022917229, 0.0560839958, 0.021591831, 0.0277226865, -0.0073138135, 0.0241482258, -0.0201479755, 0.0073404997, 0.048237171, -0.0823768228, -0.0010348606, -0.0312750973, -0.0315632671, 0.0188713204, 0.0045361621, -0.0536153577, -0.0390338525, 0.0296480563, 0.0192563199, -0.0068155094, -0.0083931861, 0.0108964248, -0.0125693455, -0.0202148557, 0.0178771168, 0.0450280085, -0.0102113318, -0.0453978591, 0.0457822122, -0.0182978194, 0.0123844547, -0.0013311261, 0.0303751733, -0.0157707613, 0.0977484807, 0.0164186675, -0.0081792185, 0.0398251638, 0.0506505109, 0.0149730304, -0.0129083097, -0.0045208782, 0.0310480557, 0.0975988135, -0.0434965901, 0.043692898, 0.0019662685, -0.0051717069, -0.0220645964, 0.0319206081, 0.0067038755, -0.0140736764, 0.0214634333, 0.0071224058, -0.0223293845, 0.0070473365, 0.0484881774, 0.0013559177, -0.0132038686, 0.020080857, -0.0455509573, -0.0158870425, -0.0417237543, 0.0316823609, -0.0269815754, -0.0179242678, 0.0523706004, -0.0546430238, -0.0491316877, -0.0198551677, -0.0144842835, -0.0041447454, 0.0438985042, 0.0442592278, 0.0586750284, 0.002965644, -0.0222089402, -0.0561226346, -0.0582037941, -0.0153325982, 0.0478958413, 0.0338393264, -5.92183087e-33, -0.0494395643, 0.0093414849, 0.0073670847, 0.0104541574, -0.0228568502, 0.0067067584, -0.0362540297, 0.01292744, -0.0273779724, 0.0183358118, 0.02590557, -0.0071718814, 0.0283230972, 0.0519942492, 0.0208998453, 0.0056861141, 0.0084175579, 0.0097912028, -0.0131121585, 0.0243166983, 0.0143424664, 0.0030944501, 0.0835728571, -0.0442985483, -0.0058283098, 0.0200259797, 0.0100268871, -0.0155079393, 0.0502170734, 0.057707198, -0.0736742467, 0.0298389327, 0.0228858646, -0.0101910299, -0.0017366196, -0.0238296241, -0.0561440662, -0.0086493641, 0.0270203818, 0.063876383, -0.0228449553, -0.0260012187, -0.0024052316, -0.0404569879, -0.0315767452, -0.0100291502, 0.0554059297, -0.0238325018, 0.0055668107, -0.0071387836, -0.016919706, 0.0468962304, 0.0139498236, 0.0119435061, 0.0637574345, 0.0283194128, 0.0105172284, 0.0382104255, -0.042616915, 0.0264332239, 0.0081488537, 0.0101430081, 0.0878451765, 0.0689659268, 0.0154677397, 0.0498291701, 0.031374, -0.008593726, -0.0025748464, -0.025999384, 0.029615676, -0.0127671612, 0.0209160522, 0.0681368262, 0.020168433, 0.0299855731, -0.0254410785, -0.0013423847, -0.0175719019, 0.0053002886, 0.0087290518, -0.0099526457, -0.0049343891, 0.0048178537, -0.0049722404, -0.0214740876, -0.0455516092, -0.0327091552, 0.0629218146, -0.0026438085, -0.0113191633, 0.0604091883, 0.0747375637, -0.0338766389, 0.0121525703, -0.0149045605, -0.0155261932, 0.0125309555, 0.0377646536, 0.0009474599, -0.0286194421, -0.0272655189, 0.017085854, 0.0144840516, -0.0018093747, -0.0293263514, 0.0444247015, 0.0241404399, -0.0329357311, 0.0048440667, -0.0325700827, -0.0023704502, -0.05386848, 0.02045759, 0.019804379, -0.0046831495, -0.0548034571, -0.0119085135, 0.0129340524, 0.0006717724, -0.0117651746, -0.0756225735, 0.0031750153, 0.0480658785, -0.0292532425, 0.0187845323, -0.003714809, 0.0104694832, -0.0043895706, -0.0258674268, -0.0197205469, 0.0294399653, 2.525e-7, 0.0149621572, 0.0058764885, 0.0136123821, -0.0039389185, 0.0133160586, 0.03935574, -0.0518454984, 0.0032051476, -0.0106541375, -0.0230743233, 0.0448180512, 0.047119692, 0.0675153881, -0.0022982948, -0.0319742411, 0.0329290405, -0.0182288308, 0.0274477657, -0.0292566102, -0.0177879799, 0.0172898844, 0.0750002265, -0.0058976635, -0.0310266539, 0.007744594, -0.0790399611, 0.1035080031, -0.043605864, -0.0102942744, -0.0214698259, -0.0006476244, 0.0417650901, -0.0433070175, 0.0083738267, -0.0136183398, -0.0206618235, 0.0805226415, 0.0507633425, -0.0141319484, 0.0096348599, -0.023209095, 0.090174295, -0.0310323536, -0.0801817998, 0.0622165427, -0.0202516913, -0.0380962268, -0.000417237, -0.0238678996, -0.0234127101, 0.0576015413, -0.01369044, -0.0310323928, 0.0265600104, 0.0203457847, -0.0464403592, -0.0313681662, -0.0666821748, 0.0196205117, -0.0218964573, -0.0275247749, -0.0169059746, -0.0580845289, -0.0206997674, 0.0002480694, 0.0393768772, -0.0182581507, 1.635075678e-34, 0.0401129015, -0.0323383212, -0.001344839, -0.0161966737, -0.0029861063, -0.0054908958, -0.0217484497, -0.0184089374, -0.0101166442, -0.0138161378, 0.009913967 ]
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.0073501272, 0.0639786124, 0.0117661953, 0.0581502691, -0.0217342377, 0.0168024693, 0.0317405425, 0.0039107595, 0.0004743705, -0.0701900795, -0.0835542083, -0.0282710344, 0.034993615, 0.0214466434, 0.0297434386, -0.0486937165, 0.0066726864, -0.0963522941, -0.0563752726, -0.0010863562, 0.0197806079, 0.0078038182, -0.0249666516, 0.0244556647, 0.0119091524, -0.023523571, -0.0099282227, 0.0336204618, 0.0141589716, -0.0406761095, -0.0357799493, 0.0413541608, 0.0547025464, 0.0356579199, 0.0000019222, -0.0274856612, 0.0328839198, -0.0054804995, 0.0346891098, 0.0121558215, 0.0554245785, -0.0574209094, 0.0025698326, 0.0130848326, -0.0079831732, -0.0664574653, 0.0630491376, 0.0542737916, 0.0230425354, 0.0654967874, -0.0158612747, -0.0379330218, 0.0321246237, -0.0244117472, -0.0291971285, -0.0347514413, 0.0388601571, 0.0078284536, -0.0237555318, 0.0134994537, -0.0446565785, 0.0425578132, 0.010870154, -0.043220669, -0.0396497622, 0.0385736562, 0.0535884239, -0.0565307029, -0.0121802343, 0.0627079234, -0.0184225291, -0.0028119828, -0.0373176374, 0.007201666, -0.0264875907, 0.0034272471, -0.0466826819, 0.057887651, 0.0047671143, 0.0178369693, -0.0185322147, 0.0025968917, 0.0216719508, 0.0088138776, -0.0112391226, -0.021035824, 0.0321749114, 0.0216082372, -0.0070199077, -0.013661488, -0.0077768359, -0.0290079825, 0.0001567081, 0.0359565951, 0.002600169, -0.0019412522, -0.0435581803, -0.0394786894, 0.0241847485, 0.0010164906, 0.0586464554, 0.0184346326, -0.0705173165, 0.0455871597, -0.0384187922, 0.0705523938, -0.0411298983, 0.0734106749, -0.0369168334, -0.03901048, 0.0083945794, 0.0096199159, -0.0137168849, -0.0214458518, -0.037865974, -0.0207665954, -0.0270478968, -0.0088982582, 0.0082225399, -0.0175384842, 0.0125455819, -0.0157673638, -0.0222062226, -0.0399686769, 0.0135933496, 0.0591520332, 0.0047789081, 0.0476454161, -0.0149530424, -0.0614496842, 0.0088893455, 0.0602538064, 0.0069833896, -0.0192118287, -0.0009610024, 0.1018027812, -0.0472155139, -0.0585893914, -0.041661337, 0.0336181372, -0.0232557226, -0.0764642581, 0.0317442864, -0.0656459332, 0.0257347114, -0.00541656, 0.0339007862, 0.0177943259, 0.0076028709, 0.009830921, 0.0155418664, 0.0969345793, 0.0036477922, -0.0084106755, 0.0325682499, 0.0025409879, 0.0431575887, 0.1029854268, 0.0539003424, 0.0374343991, 0.0152525827, -0.0054783076, -0.0102399699, 0.0714669377, -0.0231410116, 0.0203457698, -0.0253202952, -0.0168604963, 0.0694891065, 0.0541555285, 0.0513145961, 0.0694554299, -0.041186776, -0.0183722749, 0.0874108002, 0.0256066527, 0.025935445, -0.0049432432, 0.0142429937, -0.031493526, 0.0230860598, -0.0211186241, -0.0449855886, 0.0210732408, 0.0180802885, 0.0083705215, -0.0041767173, 0.0813107267, -0.0324332677, -0.004429684, -0.015070783, -0.0333200693, -0.0206234455, -0.0027086248, 0.0893532112, 0.005765385, -0.0481686369, 0.0011769182, 0.0178567879, -0.0143980868, 0.0157930888, -0.0382597595, -0.0068259449, 0.037550021, 0.0405324548, -0.0064728544, -0.0011075613, 0.005522301, 0.0357141681, 0.0739152431, -0.0002287128, -0.005278178, 0.023496218, -0.1175930947, -0.0238151904, 0.014131791, -0.0168274119, 0.0106212832, 0.0063238423, 0.0249889027, -0.0101462184, -0.0403938033, 0.026848875, 0.0493319258, -0.0121884765, 0.0017741623, -0.0383838303, 0.0014775812, 0.0199621059, -0.0074645397, -0.0125468289, -0.0195936654, 0.0218573622, -0.0725997463, 0.0272222664, -0.0081699667, -0.043462228, -0.0380723476, 0.049860701, -0.0190691967, 0.024355717, 0.0766588077, -0.0198929384, -0.0291798804, -0.0287041832, -0.0310838409, 0.0319309644, -0.0588241741, -0.0059094047, 0.0021537247, 0.0355312563, -0.0496325903, 0.0118200146, -0.0220023748, -0.0200803876, 0.0353178047, -0.0133516248, -0.0084860632, -0.0133758979, -0.0327985212, 0.0457750969, 0.0014976141, 0.0226797368, -0.0373219736, 0.0347800143, -0.0051871315, -0.0474341251, -0.0965608731, -0.0185175072, -0.0300270412, 0.0053541292, 0.008663361, 0.0005157457, 0.001703233, -0.041110713, -0.0001833229, 0.0146873631, 0.0061830683, 0.018775193, 0.0040424764, -0.0040736501, -0.0399703234, 0.0051486581, -0.0290792957, 0.0089659002, 0.0613499396, 0.0123587372, -0.0410212316, -0.0451191738, 0.0060278289, -0.0043891985, 0.0229009949, -0.0327607356, -0.0330376811, 0.003392115, -0.0213189162, 0.0386134125, 0.0577706359, 0.0227274485, 0.0292494651, 0.0626682267, -0.0068647247, -0.0142748151, -0.0262794532, 0.0091921007, -0.0523921996, -0.0599519797, -0.006162026, -0.0463544764, 0.0430722237, -0.0260109976, 0.0324353948, -0.0321269855, -0.0236521382, -0.0146060335, -0.0497126877, -0.022396395, 0.0177914724, -0.0186863169, 0.0194980651, -0.0156934001, -0.0683372021, -0.0011708755, -0.0758272633, -0.0342791863, 0.0116529334, 0.0118554756, -0.0548380017, 0.0699517131, 0.0192589182, 0.027607074, -0.002821784, -0.0341744013, -0.0454883054, -0.0099022891, -0.0139785334, -0.0192258917, 0.0457165167, -0.0582008101, 0.0394526385, -0.0588237494, -0.0165354218, 0.0103715528, 0.0258923452, -0.0417850837, 0.0004295437, -0.0354503542, -0.0241018049, -0.0561755821, 0.0369999222, 0.0317879915, 0.0605439171, -0.0204385296, 0.0147263939, -0.0212134738, 0.0646851361, 0.0503927357, 0.0679191947, 0.0068475991, -0.0845635459, -0.0010175526, 0.029354509, 0.0169126987, -0.0089960201, -0.0468761213, 0.0124496827, 0.0614568405, 0.0302450154, 0.0138467262, 0.0009480701, 0.0459055714, -0.0455100238, 0.0034531173, 0.0640157759, -0.0166213419, -0.069192335, -0.0446393825, 0.0028693043, 0.0503181964, 0.0041443147, -0.0130824037, -0.0699037835, -0.0499452613, 0.0084960051, 0.0203435551, 0.0382369198, 0.0146944765, 0.0036916884, -0.0845210999, 0.0445859917, 0.0097177448, -0.0471311919, -0.0426382497, -0.036232736, -0.0129646249, -0.0286895465, 0.011555519, -0.0024744561, -0.0330996029, -0.0477818884, 0.020028716, 0.0252294708, -0.0424299054, 0.0052394499, -0.0340406112, 0.0310351364, 0.0061641554, 0.0253557954, -0.0107647935, -0.0397416018, 0.0521250032, -0.0171911381, -0.0102264723, -0.0162406154, 0.0469568856, -0.0203428231, -0.0338192321, -0.0034973314, 0.0297666341, -0.0406267829, -0.0112727098, -0.0140523771, 0.0287332349, -0.0069693574, 0.0030910848, -0.0281761345, -0.0287618712, -0.0518082455, 0.0462693535, 0.0137998322, -0.0333034061, -0.0096429326, -0.004902028, 0.0189728495, -0.0429659225, -0.0252413228, 0.0029143691, -0.0201562177, -0.0093299244, -0.0261393562, -0.0107822614, 0.029726997, 0.057872232, -0.0055094673, -0.0200261492, -0.002825856, 0.0190864839, -0.039226301, 0.0449396297, -0.049823612, 0.0162681174, -0.0842372626, -0.0029430811, 0.0473404154, -0.0288934745, 0.0022728033, 0.0053218012, -0.1180931032, -0.0280441847, -0.0148795443, 0.0527581051, 0.0168409962, 0.0292816646, 0.0299906656, -0.0606593415, 0.0527237579, 0.0128087634, 0.0104498975, 0.0390039012, -0.0052822246, -0.0166040696, -0.0150740072, 0.0393639989, -0.0280968081, -0.0077194888, 0.0007660131, 0.0352569371, 0.0162250586, -0.0241750106, -0.017405767, -0.0133072687, 0.0124960355, -0.031313926, 0.0062353713, -0.0673258826, 0.0351105668, -0.0079061501, 0.0320568644, -0.0578857362, 0.0161397606, 0.0278123897, 0.0270297471, 0.0156824514, 0.0194754787, 0.0516073033, 0.0037910582, -0.0211680606, 0.0522364937, -0.0044959686, -0.0201677643, 0.0197222587, 0.0156834275, -0.0173977353, 0.0365675204, -0.0313527547, 0.0174371563, -0.0113854557, 0.0436983034, 0.0160817485, -0.0056145578, -0.0205767136, 0.0483661592, 0.0010453707, -0.0368836336, -0.0586728156, 0.0411312394, 0.0642856732, 0.0220330078, 0.0582676008, -0.0012039911, -0.0128138764, -0.0369551405, 0.0349145234, -0.0168508794, -0.0201512165, 0.0331389681, 0.0212263074, 0.004769925, 0.0064862645, 0.0855413675, 0.0294332411, 0.0392637812, 0.0057823947, 0.0471315831, -0.0348008685, -0.0427936725, 0.0345857069, 0.0050482922, -0.0308671687, -0.0254305117, 0.0173491668, -0.0439492315, 0.0074017486, 0.0030046124, -0.0350335538, 0.0055256276, 0.0275903847, 0.0314634144, 0.0025943802, -0.0100283641, -0.0153982677, -0.0139338337, 0.0263686422, -0.0127592804, 0.0220066011, -5.674837099e-33, -0.0342279784, -0.0191293601, 0.0359823108, -0.0056201783, -0.0119995726, 0.0359504372, -0.0067338427, 0.0071923244, -0.0256832521, 0.0063549071, 0.0369994305, -0.0406512022, 0.0251255054, 0.0575190149, 0.0011083997, 0.0177804716, 0.0314622149, -0.0245594811, 0.0006124848, 0.0098786568, 0.0170457736, 0.0266407002, 0.0564461574, -0.0477425456, -0.0313408598, 0.0000909874, -0.0401737876, 0.0358726978, 0.0002651328, 0.0860597268, -0.0461385064, 0.0287983883, 0.014301219, -0.0038759778, -0.0106898304, 0.0343028978, -0.0701020285, 0.0295142382, -0.0120985471, 0.0699303076, -0.0474572256, -0.0092554111, 0.0239007119, -0.0136710703, -0.0043967669, -0.0197556056, 0.0493337922, -0.0171426497, -0.0208322499, -0.0027594217, -0.0506469421, 0.0160384122, 0.0086840317, -0.0275592823, 0.0384032167, 0.0109205479, 0.0017526228, 0.03440772, 0.002163073, 0.0289231613, 0.0076123187, 0.043324355, 0.0832897276, 0.0837760791, -0.0138351806, 0.049776867, 0.029954154, -0.0322592184, 0.0120271808, -0.0169191491, 0.0703753382, 0.0250094291, 0.0307562705, 0.0727943406, -0.0499665737, 0.0334675163, -0.0663735792, 0.0091963261, 0.005570061, 0.0448238514, 0.0239524897, 0.0259968787, 0.0340570174, 0.0187139623, -0.045321513, 0.0122643188, -0.0370246507, 0.0290709883, 0.0487906933, 0.0401412733, -0.0034968453, -0.0079526501, 0.0785699934, -0.0332667567, -0.0500054397, -0.0134642646, 0.016448535, 0.0628179759, -0.0154084675, 0.0107627008, -0.0572774261, -0.0518523157, 0.0307569318, -0.0289379228, 0.0104544694, -0.0041674776, 0.0160563365, 0.0202930868, -0.0686026961, -0.0097603761, -0.0336405784, -0.0207617525, 0.0400679596, 0.0652943924, 0.055116158, -0.0464273654, -0.0378802381, 0.0483118519, 0.0043416298, 0.0068324758, -0.0201393608, -0.0302371103, 0.0014952361, 0.0358080082, -0.0320503227, 0.0236896183, -0.0518707186, -0.0498056971, 0.0303395893, -0.0353631489, -0.0042609959, 0.0481402501, 2.495e-7, 0.0454987139, 0.0484890826, 0.0125958389, 0.0058845677, 0.0199312698, 0.0440554805, -0.0176257584, 0.03599995, -0.0159470532, -0.0358452424, -0.0194563568, 0.0291835293, 0.045245856, 0.0066995574, -0.0535122417, 0.0199987832, -0.0024663089, 0.0147783207, -0.0472059771, -0.0115579208, -0.0026437077, 0.0948932245, -0.0399741195, -0.0370613411, 0.0101492619, -0.0655443743, 0.0900175646, -0.0341336653, -0.0256248768, -0.0026526216, 0.0217037573, 0.0241910852, -0.029944744, 0.0152480733, 0.0200040117, -0.0051902733, 0.0466808379, 0.0436424352, -0.0217890609, -0.0261136442, 0.0324911214, 0.0154286269, -0.0595466383, -0.0702237263, 0.0373317301, -0.00865997, -0.0156496055, -0.054766193, -0.0158644877, -0.0060762274, 0.022997437, -0.0387300178, -0.0190440975, 0.055539038, 0.0355103202, -0.0386311524, -0.0447117798, -0.0598977804, -0.0164885633, -0.0480984934, -0.0577600077, -0.0242537968, -0.0739558041, -0.026787011, 0.0270455908, -0.0583302081, -0.0308912899, 2.096515297e-34, 0.0305349194, -0.0305319577, -0.0019698616, 0.0431288853, -0.0109796487, -0.0319689922, -0.0373151228, -0.0031301922, -0.0640979111, -0.1045186743, -0.0002860588 ]
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.0150457677, 0.0123573747, -0.0104913255, 0.0284326579, -0.015663635, 0.0163373295, 0.0265808366, -0.0059676371, 0.0069157099, -0.0031882336, 0.0268603452, -0.0060491646, -0.0439499244, 0.0357745253, 0.0210080892, -0.054734204, 0.0078046564, -0.0974057615, -0.0112622697, 0.0014392431, -0.0096615348, 0.005615551, 0.0086176218, 0.0138253104, -0.0161810629, 0.0254363734, -0.0148162125, 0.0326273404, 0.0635719299, 0.0032459444, -0.0125272935, 0.0137905972, 0.1039335206, -0.0227046497, 0.0000021079, -0.0339695551, 0.0161154233, -0.0202240013, 0.0195670202, -0.018051222, 0.0109358979, -0.005854229, 0.0026463019, 0.0343801267, -0.0345830545, -0.014561465, 0.0087169968, -0.017382795, 0.0532551147, 0.08914233, -0.012549106, -0.038816411, -0.0412619077, 0.0100128073, 0.0280704554, -0.034179233, 0.0376330987, 0.0229940563, 0.0215532016, -0.0197451897, -0.0223764386, 0.0106210494, 0.0481836945, -0.0193031337, -0.025661137, 0.0292283352, -0.0183508527, -0.004081184, -0.0036304563, 0.0759131387, -0.0399318263, -0.0833964571, 0.0511583239, 0.0162542649, -0.0425358787, -0.0366964228, -0.0509865098, -0.0040945816, 0.0300371386, 0.0240637083, -0.0282997694, -0.0251957662, 0.014783062, 0.0106039103, -0.0777654946, 0.0869383588, 0.0051325853, -0.0001372845, 0.0051996564, 0.0057488815, 0.0243511833, -0.0728531107, 0.0289382804, 0.0605182201, -0.0321394615, -0.006311384, -0.0272294749, 0.0537718497, -0.0042685876, -0.0506539941, 0.0686210617, 0.0379571617, -0.0406071767, 0.0668357983, -0.0103426185, 0.0304081943, 0.0252453387, 0.013500669, -0.011723334, -0.0351359025, -0.0305236299, 0.037488535, -0.0284202695, -0.0190101862, -0.0592696033, -0.0052086711, 0.017022403, 0.0548880398, -0.0048774537, 0.0359625928, -0.0439460166, 0.0071050096, -0.0137587953, -0.0498878062, 0.0310019739, -0.0304767378, -0.0443462022, 0.0209860392, -0.0148367453, -0.0181815214, 0.0222044922, 0.0161048863, -0.0179478005, 0.0011039438, 0.0140171219, 0.1115011126, -0.0076025696, -0.0117024221, -0.0447613224, -0.002765327, 0.0081449812, -0.0325501263, -0.0193442386, -0.091680795, 0.0365118682, -0.0000645399, -0.0312435515, -0.0498537645, -0.0165973306, -0.0101778861, -0.0088958377, 0.0451930054, -0.0033590102, 0.0281138215, 0.0229157321, 0.0130425273, 0.0474054478, 0.0703903064, 0.0304544941, 0.0447917767, 0.0224820562, 0.0553298779, 0.0219986122, 0.0375054665, -0.0075395084, 0.0588726699, -0.0184275638, 0.0229913145, -0.0012886848, 0.011487741, 0.0298417248, 0.0207975116, -0.0240148902, -0.0172670111, 0.011063912, 0.0294179115, -0.0398950092, -0.0010455956, 0.0605744682, 0.0509656928, -0.0354280435, -0.0580232702, -0.0550032221, -0.0150240371, -0.0431720689, -0.0113665648, -0.0311328657, 0.07497821, -0.04522283, -0.0155319534, 0.0200315043, -0.0013580256, 0.0252495222, -0.0054874076, 0.0328137875, -0.0435183346, 0.0100097954, -0.0031608755, -0.0035364644, 0.0002102266, 0.0103165889, -0.035415642, 0.0156030655, 0.0714617297, -0.0056429985, 0.0003440211, -0.0506580956, 0.0069951084, 0.0581279881, 0.011578992, -0.0147932237, -0.0097203571, 0.0331781097, -0.0624721013, -0.043802198, 0.0803620443, 0.0166781005, -0.0160035435, 0.0444465652, 0.0332611725, 0.0289690625, -0.0660871565, -0.0147462096, 0.0208891481, -0.0040756511, -0.0245860275, -0.0061716349, 0.0124553982, 0.0067031314, -0.0383179449, -0.0317519419, -0.0120825367, 0.0319650769, 0.0008101841, 0.0122445961, 0.0403866097, -0.0123993875, 0.0319920629, 0.057482101, -0.0720827654, -0.0151264826, 0.0160974506, -0.0418541059, -0.0374722891, -0.0616828948, -0.0000317187, 0.015959464, 0.0452505983, -0.0026610291, 0.0476702303, -0.0002729063, 0.0025693758, -0.0033729135, 0.0373951532, -0.0156744514, 0.057151325, -0.0117825093, 0.0182642192, -0.0155569389, -0.0371638797, 0.0170483608, -0.0276377834, -0.0134809501, 0.0066833817, 0.0584577583, -0.0154492371, -0.003778887, -0.0257414635, 0.0039357548, -0.0331827514, -0.0028401099, 0.0200444553, 0.0112803923, -0.0291701239, -0.0297752358, -0.0055088312, 0.0313496813, -0.0130170705, -0.0271414295, -0.0108364793, -0.0204326548, -0.0681869015, -0.0074953036, -0.0088228593, -0.0362560973, -0.0278620068, -0.0147208516, -0.0324572325, -0.0633327588, 0.0105486382, -0.0271548647, 0.0506901518, -0.0238788575, -0.0462761894, 0.0067323996, 0.0110997744, 0.0392036587, 0.095736146, -0.0000508778, -0.0596138351, 0.057620842, -0.025759127, -0.067670241, -0.0038171788, -0.0157117285, -0.0266592819, -0.086925596, -0.0535093732, -0.0193894971, 0.0183301996, -0.0176680703, 0.0219023097, -0.0450985879, -0.0488258041, -0.0470128283, -0.0596757419, -0.055011861, 0.0437319577, -0.0140746757, 0.0617658086, -0.0069768718, -0.0389031358, 0.0188531652, -0.0037155792, 0.0087074945, -0.0041534537, -0.019922575, -0.0119296182, 0.0561815202, 0.038052056, 0.0257240087, -0.0073538031, 0.0218655653, 0.0170807205, -0.0257926397, -0.0461076796, 0.0174753666, 0.082512252, -0.0905867293, 0.0194167495, -0.0162345581, -0.0645171627, -0.0108969007, -0.0195316374, -0.0372408666, 0.0248422772, -0.0516542271, -0.0550920255, 0.0129494099, 0.0036426724, 0.0436940156, 0.0809679031, 0.0009812183, -0.0057892594, -0.0242311973, -0.0742744058, 0.0970991328, 0.0235217102, -0.0456433743, -0.0069123311, -0.0041956617, 0.0137541657, 0.0533019863, -0.0139107248, -0.0316105969, 0.0166579485, 0.0390543565, -0.0141702546, -0.0106172999, 0.1015302092, 0.056137763, -0.0567272753, -0.0494728759, 0.0557898805, 0.0306473207, -0.0269967318, 0.0169395432, -0.0370718576, 0.0349739119, 0.0023276743, 0.0494333953, -0.1070824564, -0.0325623155, 0.0097859548, -0.0091018649, 0.0084327478, -0.0023100313, 0.0281835087, -0.0533012934, 0.0332581326, 0.0297868457, -0.0665980875, 0.0100510819, -0.0250665285, -0.0156737119, -0.0446220003, 0.0294505414, -0.0015333422, -0.0198999178, -0.0321525522, 0.0221130494, -0.0211385507, -0.0363262445, 0.0001700235, -0.0176958423, 0.066202417, 0.0517894737, -0.0212451369, 0.0032187833, -0.0222533382, 0.0138682071, 0.0431902036, -0.0015507531, -0.0507371537, -0.0219202861, -0.0235493742, -0.0027835171, 0.0216311682, 0.0493364185, -0.0533195697, -0.0487821512, 0.0117042055, 0.0678147674, -0.026195772, -0.0144913793, -0.0443191379, 0.0002141768, 0.0192768965, 0.0528892167, -0.0266122837, -0.0132238511, -0.0423035733, -0.0494200625, -0.0884072557, -0.0457816124, -0.0677727535, -0.0379041098, -0.0492213517, -0.0397994332, -0.0032051003, -0.0367727466, 0.0447152071, 0.0294713993, 0.0228088722, -0.0193483662, 0.0414276309, -0.0106605049, -0.0208831914, -0.0382083505, -0.0427656882, 0.0139718577, -0.0083838524, 0.0147241326, 0.0117575731, 0.0190367885, -0.0467480235, 0.016307665, -0.0151754254, -0.0707593709, 0.0778049678, 0.0202185865, 0.0184977408, 0.0273393951, -0.0491870046, -0.0612192415, 0.0817648917, 0.0152147869, 0.0429653414, 0.063496165, 0.0182754565, 0.0143192364, 0.022888422, 0.0643327162, -0.0664008856, 0.0302134044, 0.0173428077, -0.0228247121, -0.0831221566, -0.0069066631, 0.0117992321, 0.023828702, -0.0255034193, 0.0064232876, 0.0318495333, 0.0287456252, 0.0202205721, 0.0084407218, 0.0123997601, -0.0301808268, 0.0271842033, 0.0145544074, -0.0087985285, 0.0035191611, 0.0552755147, 0.0098750992, -0.0380743854, 0.0004475414, 0.0107609164, 0.0658955425, 0.0212167986, 0.0194109213, -0.0314309113, 0.0024257642, 0.0026195208, 0.0081893103, 0.050276123, -0.0020920197, 0.0314698517, 0.0268783458, -0.0107237389, -0.017692484, 0.0042718207, -0.0318336412, -0.0856300369, -0.0101946415, 0.0535115786, 0.0752615556, 0.0013938971, 0.0459385514, -0.0702098086, 0.0065701357, -0.0098916339, 0.0148933437, 0.0233684573, 0.0005503861, 0.0390983038, -0.0189048331, -0.024122823, -0.0094962716, 0.0539414696, 0.0303057134, 0.0703911334, 0.0328353494, -0.0025563573, -0.0473446324, -0.0173123926, 0.0502414852, -0.0273739379, -0.0100546954, -0.0246856175, -0.0115749231, -0.0259692892, -0.0397916809, 0.0595324412, -0.0096058631, -0.0354866572, 0.0006760522, -0.0146920532, 0.0002936145, -0.0717231482, 0.0020975261, -0.0239069741, -0.0058514532, -0.0355748832, -0.0122479815, -6.367904895e-33, -0.0379878283, 0.0201212987, 0.0561888032, -0.0364771672, -0.0061403299, -0.0558170602, -0.0280795768, -0.0007389041, -0.0142983273, 0.0181890335, -0.0215523914, 0.0522064678, 0.0349163078, 0.001449112, 0.0215462707, -0.036072433, 0.026068721, 0.0102878204, -0.016934095, 0.0208950862, 0.042580951, -0.0052232575, 0.0122456457, -0.0510880202, 0.0193418842, -0.0136048337, -0.03884371, 0.0425752774, -0.0089517338, 0.0427555777, 0.0124498978, 0.0155749815, 0.0127380611, 0.0065632416, -0.0540973134, 0.0200521667, -0.0062927171, -0.0045213038, 0.0374788344, 0.0312339105, -0.0383609757, -0.0462285355, 0.06474749, -0.0140720177, -0.027874317, 0.0257046185, 0.0338023081, -0.0256727971, -0.0148184365, 0.0240984783, -0.047511816, 0.0101940064, 0.0103895124, -0.0157283079, 0.0067198947, 0.0145614324, -0.0189505685, -0.0319111757, -0.029553039, 0.0032041362, 0.0061354586, 0.053730946, 0.0635530204, -0.016726641, 0.0352174528, 0.01162952, -0.0175569858, -0.0621992275, -0.0142813418, -0.0062397853, 0.0307614263, 0.0523349829, -0.0578323901, 0.0820661634, -0.0057387576, -0.0135693895, -0.0755628571, 0.0294073801, -0.0221434589, 0.0405326225, 0.0182098541, 0.0025549594, -0.0817470849, 0.0058613815, -0.0166327618, 0.0237062536, 0.0063620489, -0.0503774025, 0.0570152439, 0.0189565998, -0.029603174, -0.0269165132, 0.0544911288, -0.0736021549, -0.0150153125, 0.0008053957, -0.0237288568, -0.0089525692, 0.0142139653, 0.0278774332, -0.1140437275, -0.0479294285, -0.0290820189, 0.0019183828, 0.0239570141, 0.0178598668, 0.0046731979, 0.0446179248, -0.0521266609, 0.0051948153, -0.0484449267, -0.016012108, 0.0551265553, 0.0149678653, 0.0500398129, 0.0135520576, 0.005902811, 0.0142707042, -0.0246425476, -0.0968898982, -0.0020520953, -0.0091563966, 0.0180818327, 0.0323336534, -0.0276238434, 0.0408331379, -0.0288765784, 0.0102563947, 0.0255908147, -0.0180405322, 0.0127342679, 0.0107125333, 2.693e-7, 0.0052131172, 0.0166119523, -0.0429890566, 0.0484632403, 0.0159279779, 0.043450769, -0.0045530349, 0.0455089733, -0.0324571729, 0.0314229019, -0.0058604241, 0.0534401238, 0.0113140987, -0.0055750348, -0.0546599589, 0.0425622091, 0.0136402603, 0.0084299324, -0.0497025661, 0.0186711531, 0.0403695814, 0.097659491, -0.0252781585, 0.0123581402, 0.0751259848, -0.0132340603, 0.0291889813, -0.0692949295, -0.0046903528, 0.0072080917, 0.0139379045, 0.0454397686, 0.0045444737, -0.0002436207, 0.0045598876, 0.0163284447, -0.0683112517, 0.1212604865, -0.009450498, -0.0136938263, -0.0034353067, -0.0861932561, -0.0011912442, -0.060974136, 0.0337448493, 0.0121468594, 0.0311309826, -0.0020479898, 0.0054946458, -0.0212440137, -0.0191125069, 0.017929161, 0.0143743977, -0.0258167759, 0.0404288471, -0.0197594315, -0.0043925499, -0.0432905927, 0.0123496279, 0.0152836097, 0.0046577589, 0.0019269924, -0.0117573002, 0.0618251748, -0.0146897873, -0.0153392348, -0.0215246864, 1.955084041e-34, 0.0021908635, 0.0118236449, 0.0007989346, 0.0016490126, -0.0177125707, 0.0253093801, -0.0438869521, 0.0226497259, -0.007689314, -0.0371060856, -0.0260287523 ]
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.0344220214, 0.0478948839, -0.0222284067, 0.0317713954, -0.0015796213, 0.0297345705, 0.0109873563, 0.0167420544, 0.0335204862, -0.0755936503, -0.0372948982, -0.0417457558, -0.019630827, 0.0364649557, 0.0221067406, -0.0835038871, 0.0131905889, -0.0275412202, -0.0017536609, 0.0231772885, 0.0203075781, -0.0079565179, -0.0449666344, 0.0542993769, 0.0139414603, -0.0084678261, -0.0491513275, 0.0269839205, 0.0271641593, -0.0451057926, 0.0338524394, 0.0341133773, 0.0552144013, 0.0224934109, 0.0000018238, 0.0155641884, 0.0218077246, -0.0366521142, -0.0202501528, -0.0089879017, 0.0024557256, 0.0106288074, -0.0242136233, 0.0177740604, -0.0382924601, -0.0199808422, 0.0126872081, 0.0613406971, 0.0675394312, 0.1016172096, -0.003305414, -0.0104699163, 0.0170525741, 0.0038311505, 0.0073778648, -0.0741327554, -0.0098631103, 0.0146046113, 0.0014955222, 0.0178577397, -0.0374939404, 0.0194435734, -0.0061943177, 0.0093260882, -0.0233010333, 0.0553721376, -0.0251067393, -0.0352342874, -0.0122883068, 0.1218841597, -0.025332775, 0.0133696608, 0.0247609187, 0.0230660178, -0.0121640004, -0.0156688094, -0.0721450448, 0.0301444214, -0.0237411056, 0.0054367934, -0.0574598089, -0.0073137097, -0.0011576584, 0.0060589709, -0.0283608027, 0.0016445343, 0.0022865583, -0.0290910769, 0.0132094827, 0.0123476284, 0.0110425809, -0.0196917839, 0.0389095582, 0.0355842076, -0.0560919978, 0.0417513214, -0.0233568233, 0.0318310261, 0.0100644566, -0.0328070745, 0.0309034903, 0.032556124, -0.0131577514, 0.0770412236, -0.0148616834, 0.0367543846, -0.0235360358, 0.0137640694, -0.0259812996, 0.0175296683, -0.0532260388, 0.0166417696, -0.0168134682, 0.0165863931, -0.0462552719, -0.0547333024, 0.0259679686, 0.0684739426, 0.0093784733, 0.0304905307, -0.0017384979, 0.0308260582, -0.0268165506, 0.0158206746, -0.0184625294, 0.0387217999, -0.03386572, 0.0026262153, 0.0176321771, -0.0814710632, -0.0070239236, 0.0240461081, 0.0273074154, -0.046190653, -0.0313579366, 0.0995462611, -0.0550061651, -0.057931412, -0.006743276, -0.0145287262, -0.0044692927, -0.0399984866, 0.019380318, -0.0187827758, 0.0824477449, 0.0160554498, 0.0127362004, -0.0283886883, 0.0045496733, 0.04879665, -0.0033123232, 0.0573065244, 0.0352338292, 0.0074154409, 0.0198384672, 0.0042364034, -0.0148278764, 0.0537428446, 0.0112438174, 0.0843684077, 0.0455450527, 0.0056789499, 0.0296134409, 0.0407690443, 0.0047287229, 0.008374786, 0.0419355445, 0.0011394996, 0.0040665511, 0.041485671, 0.0437311456, 0.0617803372, -0.069805935, -0.021664476, 0.0853229389, 0.0245949812, -0.0200338885, -0.0003199656, 0.0157944802, 0.0270057246, 0.0193831827, 0.0117740678, -0.0598725677, 0.0344611667, -0.0380871557, -0.0203963537, 0.0449274965, 0.0168140493, -0.0423518941, -0.0237082541, 0.0204325058, 0.0009947004, 0.0403082632, 0.0071578738, 0.058946833, -0.0067501967, -0.0747133493, -0.006390709, 0.0033249671, -0.0473396331, -0.0090102144, -0.0340763591, -0.0075961216, 0.1007615402, 0.0697708875, 0.0021632125, -0.0512221418, -0.0164175499, 0.0265670717, 0.0137521569, 0.0432541892, -0.0225755218, 0.0105414335, -0.0370981917, -0.0631309599, 0.0107707148, -0.0087121716, 0.020671811, 0.0089073256, -0.0036592665, 0.0188218746, -0.024730321, 0.005373742, 0.0350008868, 0.0065226005, -0.0279811528, -0.0386396125, 0.0107252253, 0.0122938575, -0.0025400079, -0.0212411303, -0.0212549921, 0.0301986821, -0.014278803, -0.0111490153, -0.0030594163, -0.018929949, -0.071583502, 0.0371646136, -0.0835617706, -0.0067047239, 0.0842989683, -0.046962887, -0.025885243, 0.0178653821, -0.0494435765, -0.0017315416, -0.0190251153, 0.0048970026, 0.0664070845, 0.0228572097, -0.0287950449, 0.0376327373, 0.0021312076, -0.0052265157, 0.0240988024, 0.0035533526, -0.019711569, -0.054383982, -0.0443060845, 0.0181716029, -0.0337262824, 0.0406592004, 0.0497775301, 0.0108818486, -0.0697635263, -0.0240540896, -0.1046311632, -0.003627084, -0.0239064004, -0.0029654757, 0.0104017202, -0.0019614671, 0.0082703745, -0.0437412374, -0.0270988252, 0.010759864, 0.0176720135, 0.0336575769, 0.0162426401, 0.0112479171, -0.0241465904, -0.0617160909, -0.018776007, 0.0233795177, 0.0345005505, -0.0313334614, -0.0225530919, -0.0194459073, -0.0047211754, -0.0138380378, 0.0575330406, -0.058032643, -0.0604570471, 0.0404894389, -0.0414105281, -0.0205552671, 0.0982613042, 0.032198593, 0.0570109189, 0.0120888632, -0.0381230302, -0.0835025832, 0.0168849528, -0.0022192521, -0.0228409898, -0.0993174762, 0.0026940419, 0.0226701107, 0.0516158566, -0.0069105318, 0.036111705, -0.0465912446, -0.0012883438, 0.0139084449, -0.0340195224, -0.0190444048, 0.0453175642, -0.038987387, 0.043846678, -0.0162506849, -0.0170422476, 0.0388486423, -0.0120929554, -0.0323479734, 0.0196356848, 0.01786796, -0.0029072349, 0.0505092032, 0.0101806121, 0.0355578996, -0.0179810133, -0.0313311331, -0.0497426912, 0.020603627, 0.0487201139, -0.0412044525, 0.0521248095, -0.042860914, 0.0258034952, -0.0357430466, -0.0588535853, -0.0598057918, -0.0233667567, -0.00929581, -0.0404107273, -0.0099015227, -0.0158394296, -0.0644074529, 0.0067070643, 0.0426595695, 0.038111452, 0.000267879, -0.0277960636, -0.0322601944, 0.029613547, 0.0618634261, 0.0204060264, -0.0455311835, -0.0304843392, 0.0323570371, 0.0786961988, 0.0410260111, -0.0112977065, -0.0324286707, -0.0045063556, 0.0323542096, -0.0238814745, -0.0067714206, 0.034932781, 0.018281579, -0.0386776514, -0.0113044474, 0.1188126653, 0.0318227224, -0.0567240566, -0.0323966555, 0.0117792692, -0.0013735895, 0.0151207885, 0.0267408118, -0.0501953214, -0.0470288992, 0.0142080728, 0.0113893524, 0.0324859768, 0.0020630094, 0.018050367, -0.0968584567, 0.0074423845, 0.0061430656, 0.0202307701, 0.0002171638, -0.0305689815, 0.017180983, -0.0172214005, 0.0256407354, 0.0500973053, -0.009273503, -0.0129391504, 0.0059513734, 0.0061496547, -0.0378407054, 0.0284103565, -0.0045798263, 0.0281190872, 0.0459348969, 0.0557654127, 0.0220312085, -0.0295606032, 0.0123210475, -0.0337056778, 0.0053319992, -0.0057789679, 0.0819593146, -0.0555315092, -0.0045270291, -0.0083623715, 0.0148942098, -0.025119679, 0.0010057569, -0.0007249127, 0.0253726523, -0.0547918789, -0.0126646319, -0.0289105475, -0.0292187706, -0.0160248671, 0.046787899, 0.0194374565, -0.0274996944, -0.0921581686, -0.0389234163, -0.0091494471, -0.0538095944, -0.0241346881, -0.0023706788, 0.0385913402, -0.0232636817, -0.1017919928, -0.052888535, 0.0219458677, 0.0328609087, -0.0112374509, -0.0531514622, 0.0372872315, 0.0301438328, -0.0281415246, 0.013871083, -0.0573208109, 0.0199890621, -0.0570978038, 0.0022677728, 0.0543736555, -0.058404658, -0.0144030601, 0.0322188325, -0.0538686477, -0.0459206142, -0.0236961823, 0.0513961278, 0.0184664782, 0.0471071228, -0.0245165937, -0.0474356338, -0.0082994336, -0.0125014791, -0.0529731549, -0.0246942453, 0.0495218262, 0.0317195319, -0.0230631977, 0.0198916383, -0.071995154, 0.0076392917, -0.0425683446, 0.0359103866, -0.0429387763, -0.0363033004, 0.0372308418, -0.0142492671, 0.0561889485, 0.0178203192, 0.0121659115, 0.0112388106, 0.0270190723, 0.0192762818, -0.0119164363, -0.0474453904, -0.0054972749, 0.0202742461, -0.0000062771, 0.020701535, -0.0063392292, 0.0036044554, 0.0060146642, -0.0454218127, -0.0294217858, 0.0275735129, -0.0228512716, 0.007556452, 0.0074935332, -0.0205706507, 0.0223867539, 0.0320162773, 0.0272535998, -0.0095355175, 0.049268771, 0.0425444618, -0.0340004973, -0.0045810966, 0.0480768047, -0.0532839261, -0.0272840913, -0.0282166898, 0.0022602805, 0.0634032264, 0.0309936479, 0.0604740344, -0.0055696578, 0.0220658705, -0.0323700979, 0.0298233423, -0.0085086524, -0.0227475557, 0.0222840328, 0.0400202721, 0.0193841383, -0.0006488429, 0.0742514059, 0.0020255221, 0.0136028593, 0.0110149626, -0.0101388078, -0.056870617, -0.0374981537, -0.0133701507, 0.0447454304, 0.0011750226, -0.0239369012, 0.0025995269, -0.0316908285, -0.0348051116, 0.0031722852, -0.013550153, -0.0341200195, 0.0580445752, 0.0509573743, 0.0169842709, 0.0008681957, -0.0367626846, -0.0206805933, -0.0071697268, -0.0104654869, -0.0426590703, -5.843703842e-33, -0.0141237648, -0.0319506191, 0.043345578, -0.0002939767, -0.0391614176, -0.0362773947, -0.0652258918, 0.0112635354, -0.0393810868, -0.0185776334, -0.0161287952, 0.0062038279, 0.0221893359, 0.0641469881, -0.0218425114, -0.0242743511, 0.0593562573, -0.0044364049, -0.0377255641, 0.0524616502, 0.0233385824, 0.0257784314, 0.0238866396, -0.0270361975, -0.0182719901, -0.0278531276, -0.0329044834, -0.0074178083, 0.0075064907, 0.0658196434, -0.0517149232, 0.0436630994, 0.022895867, -0.0149768954, -0.0013895443, 0.0112325102, -0.0924821794, -0.0139447013, -0.024426233, 0.0560580269, -0.013862987, 0.0268214755, 0.0207772255, -0.0138625093, -0.0052710902, 0.006007378, 0.0392158106, -0.0129145859, -0.0417731367, -0.0125060771, -0.0492613986, 0.0214133151, -0.0257142689, -0.07007882, 0.0354605317, 0.0915489718, 0.0224840697, -0.0055643809, -0.0400167853, 0.0222563297, -0.0119602364, 0.0171893314, 0.0723365545, 0.0063561667, 0.0049784565, 0.0838940591, 0.0204479899, 0.016352741, -0.0188761111, -0.0063660387, 0.0368696935, 0.0664397106, -0.0249522999, 0.0372445658, -0.004241928, -0.0015084804, -0.0068892012, 0.0553374216, 0.0545299686, 0.0660556555, 0.0117577426, 0.0308063366, -0.0214643236, 0.0054042619, -0.0363315977, -0.0001983158, -0.0282973442, -0.0328005962, 0.0617464669, 0.0540101789, -0.0039616735, -0.0386689343, 0.0742677823, -0.0495066158, -0.0303022079, 0.0493006073, -0.029484069, 0.0508918352, -0.0089744413, -0.0223215204, 0.0046339338, -0.0788986087, 0.0439089984, -0.0210814979, -0.0107128583, 0.0022639036, -0.0236877687, 0.0193290431, -0.0476005338, -0.0131821223, -0.0569415502, 0.0160213541, -0.007909582, 0.0325785726, 0.0467637107, -0.0208251905, -0.0651634112, 0.0498165712, -0.0203285068, -0.0197547078, -0.0376983881, -0.0644614846, 0.005707934, -0.0076544536, -0.0444191657, -0.0097637149, -0.0384594351, 0.0366409533, 0.0110456282, -0.0574164838, -0.0097484337, 0.0446598567, 2.605e-7, -0.0183173548, 0.0499349423, 0.0182775259, 0.02391693, 0.0303197391, 0.0410102196, -0.0268284921, 0.0387952253, 0.0125377746, -0.0555376746, 0.0089435158, 0.054948654, 0.0294478387, 0.0128739337, -0.048737783, -0.0201576445, -0.0222802311, -0.0275216922, -0.0383437611, -0.025182033, 0.0440972969, 0.0744614825, -0.0215246659, -0.0139166238, 0.0396833085, -0.0003111973, 0.0544199012, -0.0090620611, -0.0145688877, -0.0005204168, 0.0124478238, 0.0277252868, -0.0094407275, -0.0043511461, -0.0042622699, -0.005526986, 0.0309000928, 0.0559796505, -0.0062810979, -0.0636532232, 0.001724437, -0.0170349553, 0.0189610049, -0.034634728, 0.0765883997, -0.0119785601, 0.0066672727, 0.0153693408, -0.0458778404, -0.0365035422, -0.0218762904, -0.0358332358, -0.0111533981, 0.0145434085, -0.0080740945, 0.0009158599, -0.0091668256, -0.1201356128, -0.009405111, -0.0030283425, -0.0476486869, -0.0365653187, -0.03634822, -0.0080400705, 0.0273346007, -0.0069550686, -0.0284632556, 1.870781237e-34, 0.0300612357, 0.0043927026, 0.0125682233, 0.0225166604, 0.0322332457, 0.0264430977, -0.0132467179, 0.0037358706, 0.0227895416, -0.0665657297, -0.0256152451 ]
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.0138837881, 0.1061683372, -0.0126705775, 0.0582923815, -0.0356483832, -0.007044049, 0.0504814722, -0.0129852239, 0.0151304267, -0.0090115825, -0.0702624172, -0.0771670491, 0.0287563782, 0.0055502062, -0.0066968156, 0.0091989944, 0.0092439679, -0.0346369892, -0.0152085777, -0.0367650427, -0.0405309163, -0.0046716686, 0.0169658307, 0.0163281411, 0.0216977969, -0.0504181422, -0.0084255822, 0.0053035407, 0.0070784218, 0.0091172149, 0.0166198444, 0.0553276464, 0.0219450016, 0.1024195701, 0.000002031, -0.0289995391, -0.0277864467, 0.0153002758, -0.008960668, 0.0772237256, 0.0045714211, -0.0159243718, 0.0089010503, 0.0164243188, -0.0302899033, -0.0334783271, 0.0285421181, -0.0137200896, 0.040794149, 0.1061362699, 0.0031307868, -0.0361275598, 0.0131839551, -0.0601303279, -0.106390357, -0.0524131469, 0.0077564735, -0.0561423115, -0.0462788753, -0.0235048831, -0.0050692731, 0.016910078, 0.0069368598, 0.036644876, 0.0046292595, 0.0193468966, -0.0448777191, -0.0276873019, -0.043373365, 0.0407459289, -0.014198971, 0.0114664417, 0.0157618355, -0.0228264183, -0.0030180397, 0.0174897164, 0.0016167893, 0.0412298851, -0.0113924472, 0.0269340724, 0.0162901599, -0.0385323837, 0.0422550328, 0.0155828763, -0.0188869238, 0.1050273925, -0.0172128566, 0.0121091669, -0.0094279842, -0.0439630561, -0.0646860898, -0.0457575619, 0.0282830577, 0.0238996465, -0.0081369281, -0.0272712689, -0.0612821057, -0.0799707025, 0.0129340682, -0.0073956526, 0.0577472933, -0.0147772674, 0.0550179593, 0.0495547205, -0.004698379, 0.0030277905, -0.0177576095, 0.0140246507, -0.0149220061, 0.0440983027, -0.0264132489, 0.001706915, -0.0045098984, 0.0603232048, -0.0739647225, -0.0061796219, 0.0054705678, 0.0282681771, -0.0171094276, 0.0196432211, -0.0093666613, 0.0096850768, -0.0276523288, -0.024268901, 0.0184388217, 0.0165572427, -0.0305507537, 0.0216880534, 0.0007841776, -0.0317765549, -0.0223289542, 0.0002563467, -0.0012518212, -0.0054530185, -0.0129368538, 0.0438118055, -0.0007562296, -0.0176214408, 0.0176814888, -0.0536943153, 0.0456813946, -0.0650448501, 0.0083312979, -0.0399746783, 0.0049734097, -0.0005421043, 0.0182327181, -0.0405477807, -0.0083277747, -0.0074429824, -0.0381368063, 0.0749998763, -0.0121079898, -0.0015234469, -0.0284668338, -0.0073753595, 0.0443238243, 0.0927840248, 0.0199909508, 0.0105967252, 0.0587675348, -0.0000544057, -0.0293437093, -0.000691159, 0.0418235958, 0.0693773627, 0.0003351468, -0.0106752841, -0.011859186, 0.0334242545, 0.0083751623, 0.0218452029, -0.0160663854, -0.0540636964, 0.0405717604, 0.0788892433, 0.061351601, 0.0149817355, -0.0626623407, 0.0249997526, 0.0181302037, 0.0339430682, -0.0450028703, -0.021651553, -0.0580204912, -0.0216111355, 0.0095350491, 0.0713924319, -0.0130566955, -0.024721818, -0.0108640855, -0.0462708734, -0.0109639755, -0.0063271914, 0.0070445989, -0.0200547315, -0.0087906774, 0.0188567769, -0.0012862977, -0.0196577366, -0.0265754778, -0.0306149106, -0.0168916322, 0.0587942265, 0.0592631809, -0.0406661704, -0.0197071191, -0.0203724522, 0.0162047334, -0.0049421163, -0.0367487893, 0.0242837761, 0.0797587261, -0.0207030475, -0.0370295197, 0.0294632688, 0.0138828102, 0.0119107123, -0.0330853462, -0.0075053945, -0.018741563, 0.0159955267, -0.0072433301, 0.0125846695, 0.0110085309, -0.0435448736, 0.043995671, 0.0189795978, 0.0470193438, -0.0114182355, -0.0316644274, 0.0015975485, 0.0088175815, 0.0008972647, -0.0142934788, -0.0504045077, -0.0087646805, 0.002010179, -0.0010095795, -0.0097156484, 0.0440130159, 0.0535080731, -0.0488389917, -0.0178426728, -0.0154147632, 0.0140805626, 0.067335166, -0.026320586, 0.0289005861, -0.0243234355, 0.0573183633, -0.024666667, -0.0010654419, -0.0781513825, -0.0259352997, -0.0247729942, -0.0323643014, -0.0062401528, -0.0078440895, 0.0336070806, 0.0112547716, 0.0311622713, 0.0360950492, 0.0093392618, 0.0169439651, 0.0174929947, -0.0001761299, -0.0190944299, 0.0409160182, -0.0478896499, 0.0359025188, 0.0104791485, -0.0024150938, -0.0151580665, -0.0150026502, 0.022572292, 0.0326921046, -0.0410102792, 0.0361468717, 0.0059831515, 0.0203144271, -0.0581321605, 0.0248673018, -0.0441329107, 0.00994597, 0.0454097912, -0.034984421, -0.0290705711, -0.0480915494, 0.0275820661, -0.019404212, 0.0422015637, 0.002121943, -0.0147805661, -0.0154812122, 0.0218674242, -0.0292934049, 0.0803897232, -0.0096803652, 0.0249023046, 0.0415974297, 0.0343596004, 0.0028645184, -0.0069119274, -0.0386426523, -0.0398873389, -0.0298640803, 0.0529475398, 0.0627475828, 0.0394875668, -0.0285429768, -0.0442877747, -0.0222450737, 0.0769043639, 0.0086667724, -0.0269865878, -0.0285270475, 0.0281904247, 0.0093335509, 0.0305437669, 0.0125495316, -0.088392958, 0.0707248822, -0.0220458731, 0.0305812787, -0.0223316606, -0.0229276549, -0.0611107349, 0.0309867114, 0.0132670728, 0.0385068022, 0.0155495526, -0.040744625, 0.0035099296, 0.0296356417, 0.0469105393, -0.0279914569, 0.0175308976, -0.0039123292, -0.0066890717, -0.0119070252, -0.0500178039, 0.0203367304, -0.0806319341, -0.0137128979, 0.0121731916, 0.0039566695, -0.0297135711, -0.0094531337, 0.0033604775, -0.0126367426, 0.0169665646, -0.0157422628, 0.0089240102, -0.020355681, 0.0208689682, 0.0105196545, -0.0090317558, 0.0005262959, -0.0268524848, -0.0003554939, 0.0524064079, 0.0584051684, 0.0032559307, 0.0596301854, -0.0418731123, 0.0443691202, -0.0263141766, -0.0414049141, 0.0015487284, 0.0349646136, -0.0331055224, 0.0162854623, 0.0590875149, 0.0014777662, -0.0632062703, 0.0050481753, -0.0044916989, 0.0844994336, 0.0094126165, 0.011238046, -0.0815813243, -0.0199212525, 0.0118793994, 0.0555601344, -0.0010107555, -0.0473812297, -0.0409058183, -0.0899872407, -0.0125063034, 0.0385287702, -0.0182323083, -0.0398753844, -0.0396803021, 0.0152727365, 0.0067457412, 0.0109138247, -0.0019807988, -0.0019382718, -0.0281032026, -0.0010796388, -0.0083896173, -0.0382313877, -0.0321197473, -0.0150344735, 0.0438428856, -0.0033180008, -0.0032652451, 0.0049073822, -0.0806202888, -0.000814715, 0.0396597497, -0.0158081725, -0.0358074792, 0.006161503, -0.0412752554, 0.0094105024, 0.0124699427, 0.0527864285, -0.0026398648, 0.0049058916, 0.0159356985, 0.040199317, -0.014310617, -0.0121771963, 0.0189951267, -0.0307011623, 0.0452007949, 0.0379840322, 0.0074213771, -0.0369424149, -0.0312215257, -0.0073170387, 0.0121627636, 0.0046625626, 0.0045436602, 0.0130039817, 0.0178512502, -0.0045601856, -0.0046607251, 0.0504361652, -0.0208830331, 0.0484742485, 0.0156236235, 0.0334445052, 0.0417409949, 0.0055974061, -0.0150177991, 0.0488851145, -0.0553900637, 0.0143536357, -0.08646705, -0.0266251285, 0.0230672229, 0.0050384006, -0.0273041446, 0.0410264693, -0.0890698284, -0.0689579248, 0.0084084002, 0.0059918109, 0.0144732175, 0.0498646349, -0.0083944211, -0.0926057026, 0.0456902497, 0.0539300404, -0.0579320379, 0.0489357375, 0.0727500021, -0.0642599761, 0.0097295474, 0.0671549067, -0.0002696369, -0.0136075458, 0.052613873, -0.0120931165, 0.0295970645, -0.0720994547, -0.0320863351, 0.0426307693, 0.071472235, -0.0097142113, 0.0187067296, -0.0290843006, 0.0573986024, -0.0193972979, 0.0062056924, -0.0132868988, -0.0287363939, 0.016207533, -0.0119159753, -0.0105141141, -0.0276813563, 0.0559328385, -0.0076667173, -0.0201278757, 0.0056453566, 0.0209967308, -0.072228156, 0.0732253417, 0.0033053544, 0.0010925769, 0.0778171867, 0.0186631195, 0.0666176677, -0.0228372719, 0.0344647318, -0.0122403577, 0.0268530399, -0.0819366947, 0.0479548611, -0.0382282175, -0.1459070593, -0.0117217349, 0.01759547, 0.0317545459, -0.0025175207, 0.002393604, -0.0183016434, -0.0141244605, -0.0289469063, 0.0114053311, -0.0351638086, -0.018963933, -0.0030445915, -0.0182181094, -0.0041206903, 0.0961220413, 0.0958948731, 0.0350827873, 0.00903056, -0.0379214138, -0.0149113862, -0.047199171, -0.0273700524, -0.0046190238, 0.0590376928, -0.0188899729, 0.0180146676, -0.0441164039, -0.0564153194, -0.0085838893, -0.0288899336, 0.000432493, -0.0217418429, 0.0210378077, 0.0118663423, -0.0231839754, -0.0214886945, -0.0581925698, 0.0114503521, 0.0173689183, 0.0028100326, 0.0215186868, -6.633151522e-33, -0.0137390299, -0.0093131149, -0.0259688385, 0.041463308, 0.0048216577, 0.0287235286, 0.017545633, 0.0207819436, 0.0109143192, -0.0250213146, -0.054498598, 0.0034339565, 0.014104411, 0.0412911065, -0.0318681151, 0.0100947721, 0.0394580103, -0.0580120832, -0.042777542, 0.0292197447, 0.0450806245, 0.0281081516, 0.020166371, -0.027777534, -0.0033630396, -0.0003601716, -0.0059047388, 0.0524396747, -0.0379254967, 0.0251689497, -0.0299947616, 0.0358267426, 0.0113975843, -0.0368909761, 0.0026077738, 0.0093976781, -0.029111661, 0.0048059663, -0.0021214418, -0.0075277658, -0.0355951414, -0.0566677228, 0.0453161299, 0.0103805345, -0.0176973082, -0.0347482748, -0.0134595595, 0.0100343712, -0.0534028783, -0.0371789001, -0.0134697231, 0.0141996555, 0.0102612618, 0.0105610853, 0.0482091904, 0.0009258668, -0.0156055978, -0.0159899238, -0.0435281545, -0.0057723988, 0.0524107628, 0.0266469456, 0.056083262, 0.0463305041, 0.0190200135, 0.0360614434, 0.0673989728, 0.0346522406, -0.0400366113, 0.0295997243, 0.0042041047, 0.0012452954, -0.0333854929, -0.0145542873, -0.0004954863, -0.056736961, -0.0551154427, -0.0359938629, 0.012425554, -0.0140851364, 0.0403783172, 0.0310889985, -0.0227017906, -0.0171453431, -0.0295094997, -0.0103726443, -0.0195648167, 0.0452638529, -0.0190791693, 0.0289811008, -0.0546641983, -0.0539754555, 0.0409027748, -0.0311419033, -0.0094847558, 0.013439483, 0.06877473, 0.0046611633, 0.0031275472, 0.0247671343, -0.0700405911, -0.0169873908, -0.0465821177, -0.0224956349, 0.0339868553, -0.0150437988, 0.060644716, 0.0212521926, -0.0592239648, -0.0212556887, -0.0248662941, 0.0332035422, 0.0209688768, 0.0642874613, 0.0671885461, -0.0321188569, 0.0116851125, 0.0438194796, 0.0233007316, 0.0067619486, -0.039839495, -0.0058859168, 0.0030256039, -0.0063075144, 0.0100153927, -0.0063210232, -0.0116939256, 0.0016659506, 0.0750652626, -0.0324145183, -0.0100012822, -0.0365441851, 2.857e-7, -0.0067433999, 0.0269305408, -0.0406177714, -0.0518727154, 0.0446351469, 0.0356694311, -0.0176778156, 0.0267264321, -0.0115287825, 0.0166713744, -0.0044090599, 0.0062778429, 0.0248416346, -0.0229367204, -0.0598201267, -0.0167517215, -0.0143777458, 0.085251689, -0.0590577684, -0.0505889915, -0.0526184216, 0.092936188, 0.0118269278, -0.0285400711, 0.002924093, -0.024315469, 0.0515510514, -0.0256621819, -0.0302061737, 0.0047084652, 0.0395059474, 0.1026617661, -0.0218768567, -0.0159128103, 0.0082047349, 0.0521939769, -0.0433136076, 0.1037724391, 0.0171164218, 0.0095273983, 0.0185760502, -0.0303604435, -0.0373588242, 0.0133808171, 0.0674703717, -0.031206917, -0.0409543589, -0.0254981611, 0.0689284205, -0.0692190677, 0.0598366894, -0.0134218717, -0.0058264043, 0.0239367224, -0.0019036907, -0.0222855955, -0.0146544958, -0.066419974, 0.0015097894, 0.0073509291, -0.0424907915, -0.0532962829, -0.0170580335, 0.0271578785, 0.0102231996, -0.0441958643, 0.0033865103, 2.76249782e-34, 0.0349472389, -0.0441199727, 0.0411491618, 0.0070703002, 0.0172727294, -0.0370718203, 0.0100930231, 0.0044517796, 0.0279133543, -0.0759044588, 0.0021828385 ]
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.0156663302, 0.0707443506, -0.0005245768, 0.0239923447, -0.0238460731, 0.0045681619, 0.0376336835, -0.0339842811, -0.0301896594, 0.0063449, -0.0414280221, -0.0619279556, -0.0284846649, 0.0013597594, 0.0457521603, -0.0611168593, 0.0361879505, -0.036571227, -0.0273793284, -0.0257498436, 0.0057721315, 0.0062831487, -0.0310476143, 0.030319076, -0.0063490458, -0.01219586, -0.0356456973, 0.0338706225, 0.0202883594, -0.0383018591, 0.0177200288, 0.0386419818, 0.0438612662, 0.0297390576, 0.0000022918, 0.0032000623, 0.0213066749, 0.0098921172, -0.0315809064, 0.0853706673, 0.014628483, 0.0437646881, -0.0620820075, 0.0244483668, 0.0080605084, -0.0166197345, 0.0742933974, 0.0336753838, 0.054230731, 0.0524800494, -0.0105786119, -0.0377098061, 0.0277948938, -0.0471994802, -0.0458056107, -0.0547549166, 0.0149192363, -0.0148947518, -0.0355971158, -0.0769417733, -0.0012942426, 0.0000179009, 0.0523610078, 0.0201754197, -0.0095943641, 0.0501912385, -0.0310137141, -0.0276215486, -0.0194744151, 0.067079708, -0.0832976252, -0.0114772553, -0.0279110428, -0.0148841869, -0.0420438126, -0.0255470667, -0.014960506, 0.0139377108, 0.0138121294, 0.0154824881, -0.0308304019, -0.0077134278, 0.0553151295, -0.0043792925, -0.0545279197, 0.024594048, 0.0338563435, -0.039603658, 0.0293587502, 0.0141279474, -0.0319342241, -0.0359433629, 0.0127656022, -0.0034184137, 0.0128335943, 0.0196475033, -0.0409064293, -0.0182263516, -0.0183589794, -0.0503762737, 0.0730040669, 0.0402325168, -0.0287107825, 0.0182574335, -0.0524530895, -0.0028151709, -0.0396503955, 0.0376165286, -0.0317477994, 0.0216023177, 0.017564455, 0.0017498177, -0.1047539935, 0.0224834345, -0.043133799, -0.0326196887, -0.0397591963, 0.0205155313, -0.0010721548, -0.0281622261, 0.0122253131, 0.0036096596, -0.0279591717, -0.0217010248, 0.037810076, 0.025563905, -0.0219863504, 0.0435318947, -0.0007612231, -0.0471442491, -0.0255547874, 0.0081979623, -0.0113847209, -0.0112898229, 0.0231877249, 0.0570878536, -0.0284792334, -0.0372902267, -0.0965662599, 0.0057113748, 0.0140374098, -0.0671343803, 0.0116038341, -0.0532478653, 0.0124064069, -0.0303534232, 0.0033305918, 0.0047898055, 0.0000034126, 0.0137457997, -0.0062413672, 0.0150502967, -0.0209739786, -0.0202013329, 0.0155694112, 0.006474182, 0.0339437649, 0.0491280071, 0.0466473512, 0.0238278024, 0.004502648, -0.0215741973, -0.051320143, 0.0634934679, 0.0706701353, 0.0077235512, -0.0226323474, -0.0182315093, 0.0392886177, 0.0167288277, 0.0661823824, 0.0267973673, -0.081891492, 0.0062085339, 0.0399523079, 0.0438422784, 0.023956947, 0.0761910379, 0.0303585976, -0.0045894636, 0.0465787947, -0.0017749151, -0.0408047028, -0.0037446024, 0.0142385811, 0.0066287424, 0.0078182705, 0.0422811657, -0.0608098209, -0.0293346476, 0.0028514445, -0.0106646931, -0.0020650583, -0.0053823143, 0.0330049023, 0.0013304392, -0.0691422448, 0.0763258338, 0.0599092469, -0.067441605, -0.0055458085, -0.0558223538, -0.0284395702, 0.0480276905, 0.0055960077, -0.0130410241, -0.0353233144, 0.0250997134, 0.0349405073, 0.0007516417, 0.0319759808, 0.0012826296, 0.0418668054, -0.0497114733, -0.0242889859, 0.004986072, -0.0005248857, 0.0496660098, 0.0087758675, -0.0044272295, -0.0142752025, -0.0467510819, -0.0052905758, 0.0282342546, -0.0611387827, -0.0057805185, 0.005393785, 0.0070725619, 0.0315335542, 0.0025872695, -0.062874265, -0.0116535434, 0.0334606208, -0.0237973463, -0.0253444593, 0.0021569391, -0.0711934194, -0.0267727878, 0.014174806, 0.0516411252, 0.0037618892, 0.0572221912, -0.048051741, -0.0278842729, 0.0252512656, 0.0017884002, 0.1002530828, -0.0455115885, 0.0066446979, 0.0134592783, 0.0034849639, -0.0188196488, 0.0329918824, -0.0202751458, -0.0180146284, 0.0095324293, 0.0119241988, 0.0119621893, -0.0550153032, -0.0235109422, 0.0048212539, -0.0097948397, 0.0290608164, -0.0212409943, 0.0120171485, -0.0183315556, -0.0176750422, -0.0908401832, 0.0175834522, -0.0525034368, 0.0619416423, 0.0086632743, 0.0008169989, -0.0136779696, -0.0288962591, 0.0030567825, -0.006639549, -0.036281649, -0.0095742121, -0.0366322435, 0.0123797981, -0.0325432867, -0.0334620662, -0.0612367541, 0.0237766337, 0.0644224137, -0.0263998453, -0.0297943205, -0.0153935477, -0.0193516389, -0.005595691, 0.051679723, 0.0008064669, -0.0683651865, -0.0212314036, -0.0013164539, 0.0110388286, 0.0511350296, -0.0110141784, 0.0116487266, 0.0058866395, 0.0163757876, 0.0060025854, 0.0391365476, -0.030354796, -0.0430371985, -0.0522882454, 0.0173261557, -0.0062193451, 0.0862757042, -0.0020767639, 0.0144209405, -0.0411366895, -0.0564859621, -0.0100133661, -0.0178676397, -0.0140791275, -0.0351000838, -0.0194698796, -0.0119814491, -0.0152954049, -0.0337052941, 0.0384570137, -0.0480566062, -0.0173350871, -0.0556994453, -0.0273208581, 0.0060341125, 0.0289991256, 0.0389169715, 0.0444914363, -0.0191142987, -0.0344017632, -0.0303539634, 0.004072669, -0.0114162639, 0.0115461126, -0.005558582, -0.0326125324, 0.0364573225, -0.0202562492, -0.0758701563, -0.0244198274, -0.0152367409, -0.0072710267, 0.0335632823, 0.000814157, -0.0504705682, 0.01146439, 0.0173872113, -0.0090750847, 0.0836414322, 0.0005070192, 0.0128607666, -0.0086984653, 0.0679272711, -0.0050880946, -0.0105349179, 0.0160499439, -0.0289763473, 0.0335990377, 0.0280636195, 0.0584300645, 0.0183275789, -0.056291014, 0.0106692789, 0.0137820402, -0.0239429679, -0.0280717034, 0.0242305696, 0.0581843369, -0.066000551, 0.0030860717, 0.057426177, 0.0185607504, -0.0195974018, 0.0074107316, 0.046261996, 0.0744788721, 0.0016216419, 0.0185908694, -0.052295696, -0.0282746926, 0.0074863494, 0.0302533116, 0.0527865626, 0.0205931794, 0.0090758055, -0.0937589705, 0.0327155814, 0.0135196466, -0.0330237262, 0.0252371952, -0.0546873771, -0.0247125234, -0.013569708, 0.0577002242, 0.016747918, -0.0177455489, -0.0227059759, 0.0637956262, -0.0312615745, -0.0568799488, 0.0306036081, -0.0448253155, 0.0125070363, 0.0467802659, -0.0155522553, 0.0000632322, -0.024385035, 0.1129475906, -0.048229672, 0.0186919551, 0.0145018175, 0.0378692523, 0.0100165708, -0.0210380107, -0.0047065113, 0.0028674204, 0.015626682, -0.0150465211, -0.024417486, 0.0519255958, 0.0043343743, -0.0024707739, 0.0070783063, 0.001689134, -0.0147033073, 0.0331942663, 0.006956805, -0.0376822948, -0.0308474451, 0.0016986211, 0.0323769562, -0.0685776472, -0.0131103471, 0.0345570371, -0.0191355478, -0.0276521798, -0.018980436, 0.0046648826, -0.0060861167, 0.0847565383, -0.0124462349, -0.0402481295, 0.0375628248, 0.039029412, -0.0696837381, 0.0477186926, -0.0171475075, 0.0190372188, -0.0649295449, -0.0365071595, 0.0201152582, -0.0001172584, -0.0368756987, -0.0212954581, -0.0881500989, -0.0577359609, 0.0113482773, 0.0419978499, 0.0162400641, 0.0666758567, 0.0245323256, -0.0470451228, 0.0756766871, -0.0129384194, -0.0030208447, 0.0403194502, 0.071336247, -0.0556563102, -0.0127303591, 0.0272413474, -0.0264799073, 0.0367367528, 0.0259802714, 0.031606935, 0.0030408592, 0.006878247, -0.0062948335, -0.0292932708, 0.0532230474, 0.0250712018, 0.0126122283, -0.0476829037, 0.0743489042, 0.0204024408, 0.0350882895, -0.0504531525, -0.0064446027, 0.0177572388, 0.0114844358, 0.0136188166, 0.0193978548, 0.0543921404, 0.0232638344, -0.0179059971, 0.0205261502, 0.0151376305, 0.0122175179, 0.0497934744, 0.0033102429, -0.0279776622, -0.0158582944, -0.0094450042, -0.0058882693, -0.0398662835, 0.0039482564, 0.0214152895, 0.0130906617, -0.0368113331, 0.0268866289, -0.0444262736, -0.0723435283, -0.057035286, 0.0232388806, 0.0761684105, -0.0092198458, 0.0145957749, -0.0304561015, -0.0135829793, 0.005948625, -0.0007621417, -0.0245367866, -0.0281749703, 0.0364231393, 0.006772629, -0.008151941, -0.0121891629, 0.0484975167, 0.0396662094, 0.0757929981, -0.0070341765, 0.0276968628, -0.0296399482, -0.0460198, 0.0367690623, 0.0578164011, -0.0196966585, -0.005556169, -0.017066652, -0.0710474774, -0.0252455138, 0.0250181686, 0.0245200936, -0.0162082464, 0.074338384, 0.0461984277, -0.01258412, -0.0099277068, 0.0216969624, -0.0433886088, 0.010008147, -0.0021823479, 0.0143449316, -6.722068119e-33, -0.00351185, 0.0562528893, 0.0395913497, -0.0050239018, -0.0436790697, 0.0352830328, -0.0283117257, -0.0052411519, -0.0203175861, 0.0223061889, -0.0195725448, -0.0008928509, 0.0306506902, 0.0281148944, -0.0511397161, 0.0090268981, 0.1155305728, -0.0246900413, -0.0022948477, 0.0412322097, -0.0064354641, 0.0270636026, 0.0635667741, 0.0134659428, -0.061256472, -0.0068374765, -0.0283027943, 0.0194515251, 0.0057716714, 0.0114189433, -0.0318324156, 0.0324446633, -0.0187715013, -0.0453949273, -0.0006573728, 0.0139278341, -0.0928738713, -0.0194757711, -0.0149093838, 0.0269352328, -0.0620388426, 0.0247114282, 0.0300194528, 0.0204372387, -0.0339580961, 0.0184210762, 0.0023541553, 0.015329916, -0.0459670536, -0.0299558546, -0.0376572832, 0.0285168905, 0.0223263875, -0.0258927587, 0.0177674629, -0.0276086926, -0.010514209, -0.0396259651, -0.073172085, -0.030813152, 0.0215148106, 0.0557472259, 0.0215955749, 0.0340338461, 0.0218153298, 0.0321137346, 0.0634971485, 0.019392103, 0.0013457561, 0.0272065103, 0.057832472, 0.0252442006, 0.0105772009, -0.0476686694, 0.0507465638, -0.0092818057, -0.077385135, -0.0380966365, 0.0341125503, 0.0168932788, -0.0038600159, 0.0211963989, 0.0007758283, -0.0281745903, -0.0494176373, -0.0228609294, -0.0063358606, -0.016968986, 0.0234368201, 0.0432687961, 0.0020559912, -0.0125579489, 0.030383531, -0.0005348955, -0.0095233088, 0.0359101035, -0.0043975734, 0.0350283943, -0.0097953891, 0.0347285606, -0.0856167898, -0.0343213305, -0.0261653308, 0.0050899214, 0.0154866371, -0.0023609009, 0.0523166992, 0.0723539218, -0.0629160777, -0.0011929057, -0.0347571857, 0.0299888663, 0.0576957725, 0.0823728964, 0.0569668785, 0.0103278542, 0.0120274648, 0.0615142807, -0.0213106442, 0.0026372692, 0.0002139972, 0.0269984268, 0.0086569553, 0.0404419303, -0.0152869448, 0.0128417201, -0.0810420439, 0.030622093, 0.0023200864, -0.1147722602, -0.0430267341, 0.0224941336, 2.944e-7, 0.0002148292, 0.0159221385, 0.0312578157, 0.0336234942, 0.0144434087, 0.0092595611, -0.024108015, -0.0025055576, -0.0097719301, 0.030420946, 0.0106402906, 0.0333397202, 0.0152829317, 0.0145998523, -0.0824991092, -0.0080141099, -0.0950877368, 0.0448285975, -0.0355222635, -0.0148073891, 0.004874391, 0.0982069075, 0.0151265813, -0.0472659804, 0.0290633217, -0.0313534513, 0.0539983511, 0.0182908997, 0.0147798564, 0.009032852, -0.0026034468, 0.0385972261, -0.0255759731, 0.0122626582, -0.035254281, 0.0105994567, -0.0351031534, 0.0518535674, -0.0224547964, -0.02790685, 0.0452499799, 0.0302459486, -0.0158522613, -0.0229537226, 0.0606479309, -0.0369464792, -0.0078818351, -0.0210954975, 0.0006166981, -0.0188322961, 0.0132900896, -0.0269698426, -0.0229099505, 0.0321700163, 0.0322302021, -0.0080993082, -0.0181921143, -0.0880884081, -0.0047703343, 0.0333171412, -0.0231444445, -0.0443612151, -0.0529700257, -0.0063917488, 0.0575323477, -0.0542621277, -0.0103199426, 2.889549704e-34, 0.0752895102, -0.0342426375, 0.022614399, 0.0157042183, 0.0041985316, -0.0178622883, 0.0438710153, -0.0178481527, -0.0453768745, -0.07382866, -0.0301090907 ]
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.0398642942, 0.067586191, 0.0200231485, 0.0335124955, -0.0568721481, 0.0054080859, -0.0029149626, -0.0045714779, 0.0415662229, -0.0510283336, 0.0143233594, -0.0145860286, 0.0034379354, 0.0201636739, 0.0120789949, -0.0008217264, 0.0517699122, 0.0385246091, 0.0692551881, -0.0110011455, 0.011804658, 0.0695426911, -0.0215529446, 0.031137323, -0.0349332914, -0.0053957729, 0.0805438161, -0.0062736045, 0.0598269328, -0.049201943, 0.0092405211, 0.0324974358, 0.0173888206, 0.1136379912, 0.0000014862, -0.0401413217, 0.0171200372, 0.0250997152, -0.0393042527, 0.0399318933, 0.0071713659, -0.012916238, -0.0247828495, 0.0302481055, -0.0072255367, -0.013561625, 0.0488730222, 0.050005395, 0.089031674, 0.089070946, -0.0210814569, -0.0246694572, 0.0229612738, -0.0097555658, -0.0170737654, -0.0315450579, 0.0858177394, 0.0157320965, -0.0119120702, 0.0101860119, 0.0527229644, 0.0349925645, -0.0217576977, -0.0166398492, -0.0324640982, 0.0251449738, -0.0430115424, -0.0077212807, 0.0115831643, 0.0469899736, -0.0063112369, -0.0744128674, 0.0156287756, -0.0209225435, -0.0082096895, 0.0507581122, -0.0140598165, 0.0501412749, -0.0401350558, 0.0293881632, 0.010232578, -0.0411100388, 0.0483223721, 0.0666653588, 0.0331973024, 0.0641588569, 0.0113302479, -0.0569536649, 0.014313167, 0.0136507815, 0.0011451966, -0.0631931722, 0.0388942994, -0.001188624, -0.0013240726, 0.017970223, -0.031542588, -0.0173184238, 0.0745860413, -0.0774144828, -0.0265576281, 0.0041799154, -0.0407149121, 0.0712235793, -0.0318819582, -0.0032056526, -0.0305029005, -0.0240845624, 0.0141580915, -0.0219526328, -0.0112453001, 0.0184510015, -0.0021186187, -0.0048097274, -0.025796229, 0.0357376188, -0.0433556065, -0.0203963108, -0.0137495445, 0.029578479, 0.0156037947, -0.0086731939, 0.0086863535, -0.0536022969, -0.052164387, 0.0661007389, 0.0161307305, 0.0559592694, -0.0327263549, -0.0250106882, -0.0029262376, 0.0221928228, 0.0134096639, -0.010697647, 0.0126676457, -0.0171904974, 0.0065629967, 0.0042601321, -0.0507810749, -0.0127998507, -0.0181665979, -0.0441467836, -0.029150309, -0.0681418851, 0.0242915731, -0.0148867313, -0.0053926511, -0.0320838615, 0.0132614672, 0.0427793153, -0.0664777011, 0.0212518815, -0.028839143, 0.0181907807, 0.0648341849, 0.0079227388, 0.0192132667, 0.031658534, 0.0293643605, 0.0415211953, 0.0327801257, 0.0223785602, 0.0047948575, 0.020132903, 0.0419170745, 0.0318866409, 0.0553097464, -0.0023619456, 0.0157134719, 0.0084825121, 0.0061753192, 0.0560386181, -0.0113766482, -0.0382290892, 0.1044303179, 0.0142714949, -0.0377872176, -0.0024981976, 0.0298356749, 0.0053203064, 0.0319820531, -0.0325611643, -0.0506067015, 0.0122549767, -0.0484049879, -0.0348693132, 0.0244491678, 0.0770160034, -0.0013240895, 0.0036809465, -0.0294324644, 0.0145910811, 0.0089207795, 0.0100702019, -0.0310984198, 0.0073125088, -0.0276169684, 0.0444786772, 0.0372692756, -0.0207562298, -0.0333992839, -0.0630414039, 0.0261741877, 0.0001155318, 0.0335365944, 0.0034907393, -0.011862251, -0.0303458087, 0.026794631, 0.0509116277, 0.0630526394, -0.01399267, -0.016351657, 0.0126219885, -0.0070598191, -0.0037474474, 0.0186929591, -0.0135686221, 0.081782788, 0.0152191697, 0.0067945286, -0.0125885392, -0.0615688451, 0.0284421444, 0.0060306769, 0.0038357042, 0.0061054975, 0.011911531, 0.0170568191, 0.0056233229, 0.0096354857, -0.008341697, 0.0200567506, 0.0121947126, -0.031246746, 0.0141668748, 0.0379906446, 0.0028541978, 0.0393841676, -0.0242408458, -0.0712881386, 0.0434274748, -0.054337807, 0.0082230149, -0.0299854446, -0.0311167892, 0.0010195186, -0.0291009732, -0.004228191, 0.0026686371, 0.0024480652, 0.0187773202, 0.0615438558, -0.0186203793, -0.018684011, -0.0407405943, -0.0157724321, 0.0092324689, -0.0154430568, -0.0127025992, 0.0142834131, 0.0189947449, 0.0186541528, 0.0341134667, -0.0420448966, -0.0209141616, 0.0142591316, -0.0715030953, 0.0093473671, 0.0045782947, 0.0091865091, 0.025526857, -0.0170986131, -0.0121433996, -0.0041728206, -0.0365319401, -0.0287328362, 0.0473151729, 0.0236121733, 0.0233223159, -0.0192154031, -0.0013358603, -0.041838102, 0.0295877047, -0.0401331112, -0.0028831044, 0.0424820744, -0.0658830032, -0.0593165644, 0.0010239956, -0.0519022383, 0.0160354562, -0.0035025298, -0.0085195294, 0.0124554001, 0.0462490655, -0.0091846408, 0.0164502095, 0.0244814437, -0.0265283398, 0.0632910654, 0.0436185598, -0.0251013972, -0.0061316425, -0.021989448, -0.0224365387, -0.0111670205, -0.0591091961, 0.025554575, 0.0476376079, 0.008001036, -0.0161126498, -0.0157908723, 0.025853578, 0.0038320813, -0.0009684796, 0.0347474739, -0.0437912494, -0.0104777608, 0.0218686517, -0.0419977568, -0.0392981581, 0.0897737518, -0.0364799164, 0.0524543747, -0.0343178324, -0.0253742132, -0.0172429401, -0.0184615012, 0.0038400707, 0.0401080661, -0.0062359348, 0.0166092329, 0.0372720286, -0.0354222767, 0.0377758779, -0.013285161, 0.032416679, -0.0614534095, 0.0512035675, 0.0282846615, -0.0462023877, -0.0344936997, -0.1053782925, -0.0477592833, -0.041815266, -0.0619188137, -0.0231832732, -0.1238805428, -0.0378187969, 0.0538234077, 0.0442122295, 0.0296192933, 0.0065355781, 0.027368607, -0.0062996298, 0.0234794524, 0.0162212625, 0.037135087, 0.0129514737, -0.0256783925, 0.0663223118, -0.0234731436, 0.0247838814, -0.0197674818, -0.0601620562, -0.0251857378, -0.0372575112, 0.0229558796, -0.031853009, 0.0253389459, -0.0230493564, 0.037657842, 0.0784808397, -0.0037975244, 0.0044271033, -0.003175843, 0.0151631525, -0.0301852785, 0.0284004174, -0.0063652713, -0.1061811894, -0.0006705422, -0.038106665, -0.0289897285, -0.0273294132, -0.0162955541, -0.0309156738, -0.0843289196, 0.0325442553, 0.0150001328, 0.0314253867, -0.051559262, -0.0602339469, 0.0239527132, -0.0131252082, 0.0051966393, -0.0055997237, 0.0265728943, -0.0434852205, -0.0202378351, -0.0379935913, -0.0382166989, 0.0468607396, -0.0386135355, 0.0402069576, 0.0259805601, 0.058366254, -0.00133528, -0.0407139845, 0.0006102128, 0.0372929387, -0.0680185035, 0.008984399, 0.0500160195, -0.0252176877, 0.0025440159, -0.0369106457, 0.0299801882, 0.0247231945, -0.0419195667, -0.0046790163, 0.0754817799, 0.0077683171, -0.0486639924, -0.0224262122, 0.0353818499, 0.0223866776, 0.0676266029, -0.0137967616, 0.0358265676, 0.0116080819, -0.0243782252, -0.0480422936, -0.0030375898, -0.0489971749, 0.0613145083, -0.0160223022, -0.0338693559, -0.070123449, 0.03340514, 0.0021945515, -0.0309200939, -0.0125368377, -0.016604621, 0.0506985337, 0.0016125119, -0.0117158918, 0.0545876287, -0.051324416, 0.0606545471, -0.004997028, 0.0036075332, 0.0395528078, -0.0109399771, 0.0056580589, 0.0502300337, -0.068345651, -0.07373707, -0.0116293374, -0.0359361842, 0.018297296, 0.0586039238, -0.0221735593, -0.0320770219, 0.0043335017, 0.0564772412, -0.0278532114, 0.0211456995, -0.0191570725, -0.0123931728, 0.0038569507, -0.000400665, -0.0078664413, 0.0251944978, 0.0078630522, 0.0082054883, -0.0556080937, -0.0431745872, 0.0615525842, 0.0500029661, 0.0498360135, -0.0144154048, 0.0340184681, -0.0430240482, -0.0167251453, -0.010147878, -0.0340451077, 0.0174797904, 0.0214408562, 0.0222208984, -0.0304967128, -0.0307768192, -0.0200217292, -0.0418187417, 0.0120452335, -0.043149963, -0.0098811481, -0.0396820493, 0.0184720177, 0.0199232344, -0.042619206, -0.0273397453, 0.0097221946, -0.0080685755, 0.0303628519, -0.0052607819, 0.0030073004, 0.0054527, 0.0072954013, 0.0174579322, -0.0405731052, -0.044069685, -0.0415878743, -0.0593793355, -0.0090930825, 0.0347595327, -0.0195073355, 0.0435626209, -0.0325882733, -0.0610587634, 0.0096408678, -0.0333691686, -0.0347514153, 0.0088194301, 0.0312915929, -0.001900552, -0.033047881, 0.0421431959, 0.0311777219, 0.0246285871, 0.0793259069, 0.0266467892, -0.0707583278, -0.0169280246, -0.0853052959, -0.0506175682, 0.0115684094, -0.0201662555, -0.0200552382, -0.0513737611, -0.0544822067, 0.0149928881, 0.0122100515, 0.0104434518, 0.0065573724, -0.02634947, 0.0643983185, 0.0231144149, -0.0230092779, -0.0168058351, 0.0270451847, 0.002884978, -0.0159810241, -0.021937523, -5.915198511e-33, -0.0017596944, -0.0624235943, 0.0027602562, 0.0006757636, -0.0061481888, 0.0043029934, -0.0097483844, -0.0355705619, -0.0398207754, 0.0685776919, 0.0278757308, 0.0612651631, 0.0053663859, -0.0189382806, -0.0214926526, 0.0200228207, 0.050547339, 0.0104225874, -0.0291035771, 0.0108987866, 0.0338419825, -0.0296005532, 0.0406352989, -0.10701368, 0.0512537993, -0.0082312068, -0.0438179597, 0.0074413144, -0.0412560366, 0.039043121, -0.0101624243, 0.0490838997, 0.0355870314, -0.0134039847, 0.0190480016, 0.0393154137, -0.0483801849, 0.0226137936, 0.0670396909, -0.0406878665, 0.0021002661, 0.0065606986, 0.0265735351, -0.0067774234, -0.0295827035, 0.0125689004, 0.0097637968, -0.0392113402, 0.0347400941, -0.0027710632, -0.0645415187, 0.0314633362, 0.0211175848, 0.0241246708, -0.0335667022, 0.0067295111, -0.0060276235, 0.0569779389, -0.0693864599, 0.0349090248, -0.0378729105, 0.0044301124, 0.0239306819, -0.0663149431, -0.0452095903, 0.0559529513, -0.0446888283, 0.0118284337, -0.0526068285, 0.0279316083, -0.0439529046, 0.0229972582, 0.0464725457, 0.1103544235, 0.0220939219, -0.0462973751, -0.0948414207, 0.0307930447, 0.020105904, -0.0012930114, 0.0002387991, -0.0282766074, 0.0011076347, 0.0195817184, -0.0394512266, 0.024153851, -0.0364504196, 0.0323199779, -0.0271875709, 0.0363368206, 0.002961138, 0.0558026396, -0.0218355283, -0.0334893875, 0.0233951993, 0.0108076679, -0.016473813, -0.0302345417, 0.0082512992, 0.0322801173, -0.0734774992, 0.0438955985, -0.0079424586, 0.0226377081, 0.015204546, -0.0002976148, 0.0600778162, -0.0246896669, -0.065038085, 0.0392102487, -0.021722246, 0.018309582, -0.0135630155, -0.0343312621, 0.0307465438, 0.0206812974, 0.0180554837, -0.0007212128, -0.0012905578, 0.0146704158, -0.0255351905, -0.0157684907, -0.0128620304, 0.0315027982, -0.011447276, -0.000557536, -0.0220377836, 0.0134250578, 0.0099751977, -0.0866656825, 0.0173111558, 0.0114869466, 2.433e-7, 0.0384264812, 0.0656759515, -0.0104801059, -0.0067097764, 0.0338485353, 0.0267532952, 0.0128127541, 0.0097671384, 0.018656997, -0.0848293751, -0.0277036522, 0.0328180045, 0.0298230015, 0.031129688, -0.0259564351, -0.0004661349, -0.0740422085, -0.0374119021, -0.0729162917, -0.0185603611, -0.0191505607, 0.0360000022, 0.031875927, -0.0196813084, -0.011729626, -0.022382196, 0.0780830607, 0.0311018229, -0.0492891781, 0.0107612396, 0.0505266674, -0.0073759356, -0.0063309264, 0.0348668322, -0.0420913026, 0.0180134289, -0.006615561, 0.0619033091, -0.0037424963, 0.0169895329, -0.0533387586, -0.0300751962, 0.0233884305, -0.0474859737, 0.0279993713, -0.0232135542, -0.0372135341, -0.0676988661, -0.0268014316, 0.023869006, 0.0142725036, -0.0220066849, -0.0208708886, 0.0055884533, -0.0062178602, 0.0320963375, -0.0154559985, -0.0535767861, -0.0093720434, 0.0292228032, -0.0640287846, -0.055891607, 0.0345585197, -0.0065803085, 0.028729694, -0.0644144341, 0.0581661686, 1.903685321e-34, 0.0184070915, 0.0017469728, 0.0013999145, -0.059730716, 0.0592025928, 0.0507546328, -0.0236697905, 0.0172592998, -0.0038623889, -0.0377024263, 0.0242741294 ]
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.0032343827, 0.0394863822, 0.0074899797, 0.0513664372, -0.0204675589, 0.0104747601, 0.0066469535, -0.0088135311, -0.0440107957, -0.0909394175, -0.0197906792, 0.007223512, 0.0025745342, 0.0274289139, 0.0300888065, -0.0654551759, 0.0330977291, -0.038678132, -0.0189488288, 0.0014695828, 0.025072813, 0.0016817977, -0.0389752463, 0.0299712773, -0.0719252005, 0.0123541607, -0.04305581, 0.0058132657, 0.049994953, -0.0243127774, -0.0388535149, 0.0232693851, 0.0866889209, -0.0230422895, 0.0000020048, -0.0362418108, 0.004945334, -0.0021467451, 0.0114681609, -0.0396660082, -0.0109776128, -0.0160459857, 0.0293003041, 0.049421683, -0.0601620823, -0.0027128642, 0.0740558282, 0.0112902243, 0.0345710404, 0.0280806404, -0.0335667841, -0.0575566441, 0.0107720224, 0.014847408, 0.0643529594, -0.0042180866, -0.0339789316, -0.0128313815, 0.0709666833, -0.0090996288, -0.0323527753, 0.0236869641, 0.0256017689, -0.0301145762, 0.0108358357, 0.0441052876, -0.0110781649, -0.0380323045, -0.0183107574, 0.0655883402, 0.0122704869, 0.0338319242, -0.0082081491, 0.0355818495, 0.0006905753, 0.0048538917, -0.0438492931, 0.0282413941, -0.0089829983, -0.004109093, -0.0520402268, -0.0011753374, 0.0406125262, 0.0109691797, -0.0042030704, 0.0717050731, 0.0240805298, 0.0456571393, 0.0006748122, -0.0084761651, -0.0088069458, -0.0487687439, -0.0282576326, 0.0543968603, -0.0394675657, 0.0018842757, -0.0189906657, 0.0211680532, -0.0176669694, -0.0221934859, 0.0507167056, 0.0380919613, -0.0348613299, 0.0537492223, -0.0262815785, 0.0197781939, -0.0354371406, 0.060915783, -0.015196871, -0.0498117283, -0.0655677244, -0.0079281861, -0.0112963058, 0.0161937028, -0.0278417021, -0.0053317994, -0.0180185344, 0.0343652219, -0.0340004191, 0.0058319317, -0.0315163471, 0.0547495261, 0.0222888216, -0.0262367763, -0.050790865, 0.0278114974, -0.0565709136, 0.0722362846, -0.0052534072, -0.0547030531, 0.0098588597, 0.029676592, -0.0033549755, -0.0249274597, 0.0263636895, 0.0701516122, -0.058988858, -0.0412379093, -0.0276159458, -0.0235716179, -0.0159127619, -0.0507574417, 0.0768488199, -0.0659785643, 0.0359799154, -0.0004895377, -0.027783988, 0.0282385126, 0.0094995676, 0.0003418326, -0.0194968022, 0.1024789289, -0.0046773045, 0.0128576746, 0.0254045445, 0.0303840209, -0.0216193367, 0.058061067, 0.0437885374, -0.0041888771, 0.0070650014, 0.0122387735, 0.0310839675, 0.0049438658, -0.0383241288, 0.0035272413, -0.0739465877, 0.0141601209, -0.0308716744, 0.0232680161, 0.0142515684, 0.0218342245, -0.0217798427, -0.050208807, 0.0112299602, 0.0239255074, -0.0103367353, -0.0634923503, 0.0160846617, -0.0340814218, -0.0026066157, -0.015796477, -0.04807638, 0.1117527932, -0.0192130003, -0.0111532966, 0.0263499133, 0.0513524972, -0.0463034958, -0.0454558469, -0.0367258266, -0.0043367129, 0.0223968793, 0.0387751497, 0.0407394581, -0.0211012233, 0.0032345832, 0.0345836468, -0.0123540619, -0.033799313, 0.0061261868, -0.0306502767, 0.013387166, 0.0427682176, 0.0094649121, -0.0214775354, -0.0537318215, 0.0200457871, 0.0125128673, 0.0024148456, -0.0072892797, -0.0083860941, 0.0555164181, -0.0478897654, -0.0639252141, -0.035074383, 0.0183131881, 0.032849554, -0.0153634958, -0.0351535194, 0.0140588311, -0.0532991514, 0.0799587667, 0.0285370219, 0.0350246094, 0.0134488484, -0.0159927122, 0.0212193057, 0.033835195, -0.0160224345, 0.0351456888, 0.0004122884, 0.0301993564, -0.0294301752, -0.0090453932, 0.052490674, -0.0412422456, -0.0208830647, 0.0326400213, -0.0648647919, 0.0038227611, 0.0193124712, -0.0710648075, -0.0422739312, 0.0486171432, 0.0240178946, 0.0120058646, -0.0375077613, -0.0362198353, 0.0488913357, -0.0084000761, -0.0012080721, 0.0332379974, -0.0364470445, -0.0120443432, 0.0337185375, 0.0262563322, 0.033275947, 0.0155752823, 0.0093000066, 0.0030308834, -0.0190247707, 0.004352964, -0.0252940878, -0.0319311507, -0.0445885472, -0.0198789481, -0.1037206575, -0.0104929525, 0.0040079635, -0.0224627256, -0.0168140661, 0.0061344132, 0.0172526352, -0.0262458734, -0.0213435963, 0.0112713659, 0.0149448402, 0.0219931565, 0.0085851438, 0.0262462813, 0.0207474437, -0.0087881749, -0.0019874072, 0.0062435474, 0.0480575487, 0.0124237444, 0.0153243616, 0.027992392, -0.0631290525, -0.0605359674, 0.0420645736, -0.0419915989, -0.0239779633, 0.0416095108, -0.042731896, 0.0072935219, 0.0321011916, 0.0147091188, -0.013375123, 0.0365650356, -0.0582084917, -0.0101164375, 0.0363133736, -0.0110685294, -0.0061955522, -0.0224430412, -0.0039167926, -0.0449784137, -0.0087904762, -0.031007804, 0.0195255131, -0.0328046493, 0.0008924534, 0.0458773449, -0.0551706031, -0.0384453461, -0.0046377648, 0.0076759197, 0.0200543143, -0.0332525223, -0.0325584188, 0.0418036468, -0.0497171134, -0.0038906455, 0.018162122, 0.0091378354, -0.0283832289, 0.0635920539, -0.0020662711, 0.007900781, -0.0251989495, -0.0131754838, -0.0472562127, -0.0390907824, 0.0249514598, 0.0078906287, 0.0415596738, -0.0738067254, 0.0026738625, -0.0196453203, -0.0255732536, -0.0421704948, 0.0165832024, -0.0456601344, 0.0121882036, -0.0511021838, -0.0347544849, -0.0184088722, 0.0078671398, 0.0340308249, 0.0164007582, 0.0013004958, -0.0037839895, -0.0226280224, 0.0258098952, 0.0236536078, 0.0885573998, -0.0472767763, -0.0268738456, 0.0160780046, 0.0562749207, 0.0414303206, -0.0609942302, -0.0570843183, 0.0690798014, 0.0449347869, 0.0585267358, -0.0312004406, 0.0366325416, 0.0518061593, -0.0744906217, 0.0243905038, 0.0505674258, 0.0095055318, -0.018411627, -0.0026765801, -0.0032891103, 0.0217646901, 0.0411407053, 0.0118911071, -0.0855235159, -0.0806142539, 0.0192534011, 0.006579916, 0.023550421, 0.0134686716, -0.0265186299, -0.0686833337, 0.0769814327, -0.0012576327, -0.0140752932, -0.0287571196, -0.0140545936, 0.0131349778, 0.0177528057, -0.0165276732, -0.0197005942, 0.0157899223, 0.0163969863, 0.0118744578, 0.0312579647, -0.0285276696, 0.0367568508, -0.0144058438, -0.0043628304, 0.0118589392, 0.0049566403, -0.0040525389, -0.0931857452, 0.0285101887, 0.014031657, 0.0357037596, -0.044485148, 0.0144761754, -0.0112221073, -0.0104302727, 0.0196522512, 0.044640623, 0.0271432232, -0.053896226, -0.0272249095, 0.091653727, -0.0568661876, 0.0369188376, -0.0643780306, 0.0026468311, -0.0155299352, 0.0446318462, -0.0378459506, 0.0223165713, -0.0192722306, 0.0048654913, -0.0583623759, -0.0104034049, -0.0067807846, -0.0163189173, 0.0219228491, -0.0143519333, -0.0291389935, 0.0206453074, 0.0477099642, 0.073886171, -0.0283907708, -0.0100849234, -0.0340303332, 0.0509465896, -0.0613253303, 0.0657078326, -0.0049584261, 0.0150304157, -0.0305351634, 0.0429075658, 0.0467099808, -0.0458605066, 0.0071586031, 0.0044227852, -0.0448397137, -0.0604662709, -0.0573627502, 0.0731722265, 0.0202691406, 0.07333529, 0.0027787387, -0.0068632145, -0.0073958761, 0.0309193358, -0.0239504743, 0.0116799213, 0.0325225666, -0.028455317, -0.0107787428, 0.0078992471, -0.0518953875, -0.0000335329, -0.0138416588, 0.0158752017, -0.0507014543, -0.0066884528, 0.0160388295, -0.0415264964, 0.0637448877, -0.0015411761, -0.0060533863, -0.0381561369, 0.0205360353, 0.0084741674, 0.014536798, -0.0828211755, 0.0547900535, -0.0090636238, 0.013071632, 0.0324357376, -0.0059769186, 0.0192203056, 0.0097597409, 0.0090664709, 0.0078970771, 0.020494381, -0.0203382969, -0.0277046058, 0.0211320464, 0.0404293165, 0.0432845019, -0.0210343581, 0.017069893, -0.0094931396, 0.0714345202, 0.0176765583, -0.0336859897, -0.0268819667, 0.0334249213, -0.0407060683, -0.0278756209, 0.0248351078, 0.039987836, 0.0365793779, 0.0219385885, -0.0414051227, -0.00798978, -0.004048733, 0.0114179468, 0.0676874816, 0.0133455666, -0.047869347, 0.097185798, 0.0341039412, 0.0010922179, -0.0201727282, 0.0374581255, -0.0253104363, 0.0283323638, -0.026568722, -0.0062799486, -0.016345989, -0.032997597, 0.0574033856, 0.0345373228, -0.0175129753, 0.0156290531, -0.0480201952, -0.0503478833, -0.0185038224, 0.0053065671, -0.0290641189, 0.0299011339, 0.0415132791, 0.0485613085, 0.017501045, -0.0646756887, 0.0085694715, -0.0365715027, -0.0005686374, 0.0025062496, 0.0329388976, -6.299736508e-33, -0.0100622606, -0.0355181247, 0.0692475513, -0.0430442393, -0.0109299375, -0.0059000449, 0.005431023, 0.0132643785, -0.045463983, 0.003897832, 0.0104500707, 0.0090614138, 0.0014338661, 0.0179417878, 0.0250308793, -0.0392494872, 0.0184698589, 0.0081957495, -0.0271786377, -0.0103505682, 0.0670046583, -0.0141736837, 0.0527904779, -0.0737430751, -0.0263677463, 0.0518255122, -0.0626045018, 0.067501761, -0.0491922945, 0.0431020409, 0.0048784986, -0.0278011486, 0.0158298761, -0.0063384008, -0.0115934853, 0.0223419107, -0.0532763451, -0.0177322552, 0.0320594832, 0.0164473783, -0.0897849649, -0.0186048616, 0.0330583379, 0.0144317411, 0.0316626318, -0.0473677777, 0.0185912121, -0.0229913797, 0.0234558284, 0.0086723277, 0.0009486253, 0.0183420628, -0.0174475815, -0.0390900187, 0.0050042234, 0.0503654294, 0.0337302089, -0.0061627426, -0.0343525894, 0.0117628034, -0.0196435358, 0.0143775856, 0.0876472816, 0.0314575545, -0.0046732663, 0.0526772812, -0.009701035, -0.0776201487, -0.0372145735, -0.0057705175, 0.0162169021, 0.1201471984, 0.0546037257, 0.067045331, 0.0293700192, 0.0137776034, -0.0151732769, 0.0171744525, -0.0489591919, 0.0858173072, -0.0296771321, 0.0242249575, 0.0418966562, 0.0012569627, -0.0309009347, 0.0261304881, -0.0332675576, -0.0117820799, 0.0280394237, 0.0234741699, 0.0118981628, -0.0132351033, 0.0590568669, -0.0073944451, 0.0324749276, 0.0122591909, 0.0184339173, 0.0356784761, 0.0266520046, 0.0161126517, -0.0221901946, -0.0090115294, 0.0576106943, -0.0462549217, -0.0176151544, 0.0018824002, -0.0034646746, 0.0864758715, 0.008481591, -0.0299170502, -0.0282941815, 0.0010955292, 0.0119318552, 0.0126773752, 0.034790244, 0.020991642, -0.0422552675, 0.0253599659, -0.0616773441, 0.0213171039, -0.0394605473, -0.0352374539, -0.0283558425, 0.0412035249, -0.0063599721, 0.0228214022, -0.0561364666, -0.0910714418, 0.0131086139, -0.0577922538, -0.0147860479, 0.0554549098, 2.879e-7, 0.0132884933, -0.0085193226, -0.0449659228, -0.0313882828, -0.0172787737, 0.0737472549, -0.0174319204, 0.0222812425, 0.0302358139, -0.0480694361, 0.0006621758, 0.0594484657, 0.0286553092, 0.0351227894, -0.0064629139, -0.0262787268, 0.010430404, -0.0557366498, -0.0366190076, 0.008817479, 0.0556574613, 0.0757268518, 0.0305559598, -0.0089436164, 0.0295587778, -0.033768218, 0.0491496921, -0.0125049539, -0.0182227176, -0.0318168178, 0.0536892228, -0.0067755315, 0.0084200855, 0.0084109362, -0.0244655348, -0.022200143, -0.0200251769, 0.0241132081, -0.018532671, -0.0945882425, -0.0281862859, 0.0001582908, -0.0153066758, -0.049592115, 0.079394348, 0.0046905824, -0.0090000443, -0.0243529715, -0.017735254, 0.019119544, -0.0220901687, 0.02494663, -0.0294615217, -0.0029344386, 0.0051603429, -0.040618062, -0.0376546495, -0.1120625809, -0.0123306289, -0.0188384093, -0.0392456539, 0.0102281896, -0.0126130721, -0.0209664833, 0.0605534278, -0.0126669593, -0.108236827, 2.290743009e-34, 0.0073231971, -0.0144388163, -0.0005067066, -0.0129247569, 0.0030405382, 0.0049178367, -0.0498603024, 0.0102791246, 0.0140752178, -0.0444881134, -0.0152999386 ]
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.0562008582, 0.0399453752, -0.0431804135, 0.0009050412, -0.0177617725, -0.0488290228, 0.0422854088, 0.0088712415, 0.0125727626, -0.0251815543, -0.0320770405, -0.0215792581, -0.0181099176, -0.019213412, -0.0025576614, -0.0335833691, 0.0283826813, 0.0228472818, 0.0517756566, -0.012696147, 0.0463875346, 0.0254297312, 0.0283822995, 0.056752298, 0.0355245061, -0.0016503972, 0.0348408334, 0.0237114374, -0.0007443068, -0.0342095494, 0.0099407919, 0.0335377678, 0.0039022702, 0.0478125624, 0.0000018667, -0.0277942643, -0.0052145724, -0.0027911868, -0.0280608237, 0.0035098263, 0.0704295039, 0.0890140235, 0.0332899056, 0.0317533538, -0.0519761257, 0.009017434, 0.0159753133, -0.0061639785, 0.0257719029, 0.0156568848, 0.0235718489, -0.0147955958, -0.04069544, -0.0017213156, 0.0423196889, -0.0031016027, 0.0039292127, -0.0387020893, 0.0107338559, 0.0553921834, 0.0194965247, 0.0425443687, -0.040901605, -0.0188641045, -0.003433499, 0.005836003, -0.0263834, -0.0372856557, 0.0306331404, 0.0691664964, 0.0578480624, -0.0142119182, -0.00111329, -0.014545464, 0.0246151797, 0.0408253931, -0.0628334656, 0.0633538812, -0.0372892171, 0.0016771663, -0.0380598754, -0.0004367056, 0.0464776754, 0.019905325, 0.0080798073, 0.0746120065, -0.0164017342, -0.0471406803, 0.0121781081, -0.0241810381, 0.0520786196, -0.0193600729, 0.001811172, 0.0080969315, -0.0346457288, 0.0360350795, 0.0285169911, -0.0094159534, 0.0498181805, -0.0516295582, -0.0147790946, 0.0196916182, -0.0170061458, 0.0354189724, 0.0567554645, -0.0386331044, -0.0269786417, 0.0203192364, -0.0052117039, -0.0038140102, 0.0057647834, -0.0349443257, 0.0216560457, 0.0064683715, -0.0321581364, 0.0030496849, 0.0107410606, 0.0037314193, -0.0077484986, -0.0453183837, -0.0442443974, 0.0170714986, 0.026027564, 0.0057724612, -0.0585856885, 0.022026835, -0.0233521964, 0.0289980341, 0.0087840911, -0.0761112645, 0.0248277877, 0.0442479104, -0.0029939052, -0.0114287743, 0.0032905478, 0.0284344573, 0.0344481319, -0.0405135192, 0.0013021062, -0.0158301629, 0.0139103197, -0.0158815533, 0.0054315398, -0.033577729, 0.0245543122, 0.0215937644, -0.0030448735, -0.0048396876, 0.003674878, 0.0429174155, -0.0419876017, 0.0536653176, -0.0145368725, 0.0390303805, 0.0887488872, 0.0620242618, 0.0202812981, 0.0836694241, -0.0268409457, 0.0008297327, 0.0425047055, 0.0023035987, 0.0383452475, 0.0172629654, -0.0229010396, 0.0270664785, -0.0063688108, 0.0457341522, -0.0519465543, -0.0009224616, -0.0010544572, 0.078952387, -0.0414751954, -0.0038260259, 0.0750078484, 0.0689542741, -0.0212132391, 0.00882643, -0.006956832, 0.0195435099, -0.0181026421, -0.0055647762, -0.0121697718, 0.0065457365, -0.0254408438, -0.0389822088, 0.0532442331, 0.0044810432, -0.0318801813, -0.0102483872, -0.0248954892, 0.0291364603, 0.0525614843, 0.0360894091, -0.0053601498, -0.0219615716, -0.0041447077, 0.0521848164, 0.0274381805, -0.0468654595, -0.0067205732, -0.060327094, 0.0333421603, 0.0682210848, 0.035752371, -0.0193213001, -0.001258122, -0.0315661654, 0.0023798121, 0.0943286195, 0.0607167743, 0.0251859557, -0.0501222908, -0.0207512751, -0.0271504447, 0.0193542168, -0.0060833814, 0.0072199954, 0.0336642638, 0.0344149023, 0.0009450887, -0.0121442974, -0.0263415687, 0.0089330757, 0.0069631874, -0.0215202533, -0.0564220212, 0.0296184644, 0.0012736554, 0.0169188716, -0.012451645, 0.0125701716, 0.0105823735, 0.0136877112, -0.0468778946, -0.0016505987, -0.0303459559, 0.0817255974, -0.0054639853, -0.0555456728, -0.0282975547, -0.025666913, 0.0398337469, 0.0211349707, 0.0251016151, -0.02615886, 0.0564020425, 0.0158070177, -0.0084073571, -0.061285913, -0.0017563414, -0.0726183951, 0.017607918, -0.0128508452, 0.0098704193, -0.0043432647, -0.0276733804, -0.0171489697, -0.0284138005, -0.0506056994, -0.001905283, 0.0329228714, -0.0010456367, 0.032092087, -0.0469139665, -0.028968282, -0.0019233269, -0.0990566313, -0.0131508745, -0.0173059143, -0.0041119829, 0.0088887941, 0.0101550417, -0.0225834101, 0.0243678559, -0.0411041938, -0.035538245, 0.0070532537, 0.0557810366, -0.0026635523, 0.0151486648, -0.0128876809, -0.0618629977, -0.0090804799, 0.003798946, 0.0106412815, 0.0409435146, -0.0065547298, -0.0310716014, 0.0163123421, -0.0586563312, -0.0073991367, -0.0309220422, -0.0044017797, 0.0658114105, 0.0067812097, -0.0172589272, 0.0347296968, 0.0650005862, 0.0220306516, 0.0523734502, 0.0309067648, -0.0618222505, -0.021590177, -0.0222008601, 0.0096231038, -0.0107651241, -0.0704450011, 0.0511810742, -0.0188906435, 0.0244856048, 0.0510083437, -0.0296440553, 0.0531293452, -0.0279117469, -0.0480100326, -0.0274136867, -0.0420679152, -0.0257773027, 0.0268453155, -0.0027683603, -0.041901242, 0.0108652525, 0.0077356379, 0.033298865, -0.0127758933, -0.0284595564, -0.0140769249, 0.0168950483, -0.0247143749, 0.0340445191, 0.0267473441, -0.0220796764, -0.0442855842, -0.0522768125, 0.052955199, -0.057238441, 0.0514109731, -0.0199043714, -0.0184166431, 0.0401814915, -0.0434063263, -0.0287200511, -0.0631839857, -0.025749011, -0.0282523371, 0.1107860208, -0.0164759047, -0.0215565059, 0.020698484, 0.0680087656, -0.0313256532, 0.0063560526, -0.0285784025, 0.0200825315, 0.005195586, 0.0104834037, 0.0002900245, 0.0875858217, 0.0083349636, 0.0236405618, 0.0349402539, 0.0355170555, -0.0368641913, 0.0034211071, -0.0817558989, 0.0418085866, -0.0114941644, -0.0522554964, -0.0175386183, 0.031984102, -0.0190303233, 0.028166784, 0.048866991, 0.0318371579, -0.0735528618, -0.0385218784, -0.0687613711, 0.0078018331, 0.0398464352, 0.0066151056, -0.0655470118, 0.0314467773, 0.0066877045, 0.0374164879, -0.0614019036, -0.0281226691, -0.0207716879, -0.1451616436, -0.0035373284, -0.0211900901, 0.0171226822, 0.0138368113, -0.0428350046, 0.0124838799, 0.0090523083, 0.0302939191, 0.0185445342, -0.0199020933, 0.0077819689, -0.017062502, -0.061194431, 0.0144769065, 0.0059551457, -0.0490948074, 0.032229986, 0.068177104, 0.0231138915, -0.0268480256, -0.0083348481, 0.0748619661, 0.0184046905, 0.0037147324, -0.0213335771, 0.0247230344, -0.0309817065, 0.0229802225, -0.0563332811, -0.0200286042, 0.0324924998, 0.0358453244, 0.0097847553, -0.0021199465, 0.000467777, -0.0141061628, -0.0362160057, 0.0242176633, 0.0424833596, 0.0672883987, 0.0305676498, -0.0453555286, 0.0101848496, -0.0590264164, 0.0080729378, 0.0107309576, -0.0849834383, 0.0005494233, 0.0049614855, 0.061110232, -0.0349238776, -0.0197130851, -0.044538185, -0.0225170143, 0.018749008, 0.0206049494, 0.0028218601, 0.0089199701, 0.0454442836, 0.0048438371, -0.0162722077, -0.0057982351, -0.0191306453, -0.0070534269, 0.0035283382, -0.0394299887, 0.0054355385, 0.0047339667, 0.0193959195, -0.0582020245, 0.0078279302, 0.0319457501, 0.0339856334, 0.0300972965, 0.0086555369, -0.0458388738, 0.0401457027, 0.0559595488, -0.0079830224, 0.0077981842, -0.0188265778, 0.0431644134, 0.0304386411, -0.0035617326, -0.0341156833, -0.012033416, 0.0225817114, -0.0293530896, -0.043746829, -0.0515268557, 0.0241341703, 0.0140350247, 0.0504495502, 0.0099716652, 0.0321849994, -0.0056029106, -0.0267340336, -0.0493451618, -0.0303196367, 0.0395301059, -0.0224381611, -0.013444283, -0.0129681043, 0.0083033368, 0.0597521439, -0.038582392, 0.0652066916, -0.0343545452, 0.0798367038, -0.0419024639, -0.0405679643, 0.0140176807, 0.0007972654, -0.005472966, 0.0749661699, -0.023701366, 0.0247764904, 0.0234117117, 0.0254808441, -0.0098750973, -0.025187403, 0.0327153131, 0.001125914, -0.0444112793, -0.1237395555, 0.0252272096, 0.0214871969, -0.0221397281, -0.0007562694, 0.0004238007, 0.0013310994, 0.0078619141, 0.0002295, -0.0367084481, -0.0063212169, 0.0084726615, 0.0391791835, 0.0165438764, -0.0452826619, -0.0250945538, 0.0459806509, 0.0080488482, 0.0410775021, -0.0167106725, -0.0586102158, -0.0166041944, -0.0268054549, 0.0218174681, 0.0371737927, -0.0279650576, -0.018260546, -0.074896127, -0.0069820229, -0.0372354276, -0.0047211819, 0.028717, -0.0577466637, 0.0156422984, 0.0829474702, 0.0064787506, -0.0101293707, -0.019500507, 0.0580256321, -0.0832376182, 0.0260990094, -0.0073133274, -6.164540699e-33, 0.0132238045, -0.0534023121, -0.0035200021, -0.0277301949, -0.0208716746, -0.0252564251, 0.0021872993, 0.0657849237, -0.037818566, -0.0089455014, -0.007144724, 0.0346176289, 0.0117159188, -0.0282863062, -0.0122122308, -0.0125837987, 0.0472043827, -0.0217641741, -0.0269326922, -0.0028582774, 0.0373090655, -0.009067677, -0.0488940068, -0.0741836429, 0.0361878499, -0.0290932097, 0.0089960555, 0.0144503778, -0.019954605, 0.0318522304, 0.0094246808, 0.066573754, 0.0106356107, -0.0323430523, 0.0060367393, 0.0889499113, -0.0005345735, 0.0064508342, 0.0559955351, -0.0132756131, 0.0259791929, -0.008888863, 0.0281823445, 0.0094170775, -0.059663672, 0.0657026693, 0.0192427002, -0.0199500881, -0.006535436, -0.0222820137, -0.0078812828, 0.0065748719, 0.0063962168, 0.0222134013, -0.0526029207, 0.0515054986, 0.0154892365, 0.0781240761, -0.0527039804, 0.051972989, -0.025866041, 0.0084906649, 0.0389642119, 0.0213166401, 0.0269361306, 0.06984476, 0.0529854931, 0.0460901707, -0.0626092106, -0.0734752417, -0.008773135, 0.0070885937, 0.016399771, 0.0616928041, -0.0197076201, -0.0829868913, -0.012447183, -0.0227194261, 0.0131452866, -0.0135237128, 0.0762307197, 0.0221893489, -0.0540373065, -0.0338715613, -0.0192728098, -0.0430015139, -0.0557457879, -0.0291725639, 0.008924976, 0.0346829966, -0.0142391184, -0.0633555204, 0.007894502, -0.0125882532, -0.0170490239, 0.024717208, -0.0362320729, -0.0274567138, 0.0058233007, -0.023689596, -0.0622947514, 0.0298123788, -0.0465004817, 0.0224454366, -0.0285072606, 0.0082412064, -0.0297331549, -0.0104088206, -0.0696926787, -0.0174545832, 0.0049069631, 0.0044775512, 0.0049689524, -0.0248902366, 0.0414650552, 0.0247532614, 0.0151518006, -0.0123134963, 0.0619395338, 0.0230575129, -0.045311749, -0.0425306708, -0.0683008432, 0.0064002723, -0.0206706766, -0.0096906424, -0.0255562849, 0.0396194793, 0.022876244, -0.0730909556, -0.0228846706, -0.0383010954, 2.535e-7, 0.0351747982, 0.0701199695, -0.0454227068, 0.0182734709, 0.0405590497, 0.031457562, 0.0409536436, -0.0037615956, 0.0278215408, -0.072509788, -0.0402366109, 0.0190833416, 0.0052041709, 0.0259665269, -0.0634139478, -0.0329252519, -0.0552084967, 0.0208849534, -0.0260283574, 0.0061497311, 0.007749666, 0.0336431861, 0.0002140178, 0.0175583437, -0.0651397631, -0.0397436991, 0.0623696223, -0.0435069427, -0.0112889847, 0.0250687599, 0.0430024005, 0.0065722922, 0.0133615956, -0.0033896158, 0.0127961896, 0.0049769711, -0.006935636, 0.0036569184, 0.0438169092, -0.0584307052, 0.0058136173, -0.0011692358, -0.0078537073, -0.0817498341, 0.0478815734, -0.0208747517, 0.0189873967, -0.0694936588, -0.0154032176, -0.0255827382, 0.0404305644, -0.0417920053, -0.0513096526, -0.0214962997, -0.0265930258, 0.0099199209, 0.0011614807, -0.0660616308, -0.0102377441, -0.0368060134, -0.0758340731, -0.1030656695, -0.0282867514, 0.0238581896, -0.0375332795, 0.020172881, 0.0504439622, 1.929427729e-34, 0.0482793078, 0.0161636863, 0.0076122712, -0.0230205338, 0.0402457677, 0.0495170653, -0.0281820577, -0.0238650795, 0.0303767696, -0.0671038479, 0.0090782754 ]
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.0556418151, 0.0809895098, -0.012253521, 0.0443337932, -0.0247844178, 0.0155822579, 0.042714335, -0.0034201348, 0.0725821257, 0.0137999859, -0.0085636564, 0.0102446973, 0.0003827812, 0.02730041, 0.0269820429, 0.0074433219, 0.0156615209, -0.0154179409, 0.0093220808, -0.0470624007, 0.0107476534, 0.0283927508, 0.0160437543, 0.0302565135, 0.0218500402, -0.0192869417, -0.0394313261, -0.0289898068, -0.0286451057, 0.0013294253, -0.0069604069, 0.0491635203, -0.0304422379, 0.0530620441, 0.0000022248, -0.0236186143, -0.039926365, 0.0154003464, -0.0910828486, 0.0089889634, 0.0819412917, -0.0257014316, -0.021302484, 0.0317149535, -0.0068791094, 0.0199744143, 0.0492237918, 0.0293738209, 0.0802868456, 0.0280733518, -0.0119915027, -0.0121975373, 0.0000403869, 0.001197424, 0.0281455088, -0.0104192747, -0.0126942853, -0.0856503174, -0.0185714513, 0.0371791869, 0.0132847503, 0.022248175, 0.0202309918, 0.0115481829, -0.0085917506, 0.0211481508, -0.0154007031, -0.0472220518, -0.021170808, 0.0390986912, 0.0036827405, 0.0049130996, 0.0131147681, 0.0235299524, 0.0244037211, 0.0341011211, -0.0182316676, 0.0021131011, -0.027694948, -0.0271839015, -0.0204029735, 0.0092220195, 0.0264672227, 0.0214886814, 0.0093431538, 0.0511058345, 0.0274800882, -0.0231331941, -0.0205807313, -0.0454236194, 0.0191286318, -0.0518066175, 0.053473819, 0.0063371379, -0.014374611, -0.007268942, -0.0590385906, -0.065000765, 0.0280463099, -0.0573880561, 0.0037559911, 0.0535089709, -0.0008819425, 0.0329779349, -0.0102385376, 0.0658224151, -0.0025346205, 0.0066094352, 0.0513173714, -0.0348847322, 0.0051907259, -0.013577831, -0.0159700401, 0.0504058227, -0.0058354759, 0.0228182767, -0.0607294366, 0.0711014345, 0.0066739661, 0.0444515459, -0.0124982577, -0.0178808626, 0.0152158299, 0.0121360142, -0.0080911359, -0.039038986, -0.0537396371, -0.0049975957, -0.0044481419, -0.041057691, -0.0011523153, 0.0015098436, 0.0042755767, 0.0213684905, 0.0082858866, 0.0799259469, 0.0469760112, 0.0045165289, -0.0009755377, -0.0717016906, 0.0137016131, -0.0119102187, -0.023148248, -0.0538086593, 0.0352850147, 0.0337910913, -0.0024445085, -0.0132039422, -0.0133979581, 0.0262077656, -0.0717235282, 0.0511104241, -0.037396349, -0.0081269881, -0.0240616724, 0.0396299027, -0.0286758766, 0.0065395222, 0.0117758494, 0.0438916683, 0.0629439428, -0.0351514779, 0.061996337, 0.0245809201, 0.0051447749, -0.0028196557, -0.0162943508, 0.034207236, 0.0158808883, -0.0319017619, -0.0274550337, 0.0494364388, 0.0084296549, -0.0476465784, 0.0993262306, 0.0999001861, -0.0485313535, 0.044907093, -0.063089706, 0.0344105326, 0.0077110152, -0.0478190146, -0.0572241656, 0.0256617796, -0.0566178858, -0.0479241982, 0.0366737992, -0.0185947362, -0.0166360624, 0.0115558282, 0.0488903895, -0.076347135, 0.042242527, 0.007126342, -0.0418609791, 0.0157257318, -0.0143481717, 0.0392826498, 0.0053346264, -0.0763147771, -0.0506069511, -0.0289625134, 0.0470452644, 0.0938821733, 0.0363620706, 0.0532066189, 0.0317748338, -0.0283166729, -0.0014704023, 0.0074194097, -0.0030635318, 0.033375036, 0.037884891, -0.0279115718, -0.023224527, 0.0386136845, 0.0152446628, -0.0420774035, -0.0016974446, 0.0476259142, -0.0059182029, 0.0176363699, 0.02783533, -0.0136948982, 0.0025914807, 0.0040832991, 0.0186464395, 0.0030377689, 0.0130870957, 0.0464529321, 0.012367798, 0.0117158685, -0.0045981547, 0.0247820597, -0.0071816109, -0.0099956309, -0.0251517911, 0.0190821346, -0.0184568856, -0.0031644446, 0.0007773119, 0.0199001711, -0.0394801982, 0.0204577986, 0.0205828883, 0.0043484834, 0.0300735794, -0.0036929101, -0.0066955155, -0.0228631962, 0.0266742092, 0.0061694435, -0.0153846322, -0.0246811379, 0.0236861948, -0.0642589331, 0.0016294161, 0.0083849514, 0.0125757735, -0.0198259242, 0.0234213416, 0.0061030961, 0.0177733097, 0.0095691364, 0.0193338059, -0.0538741499, -0.0025151903, -0.1040738225, 0.0088845752, -0.0081853317, 0.038016241, 0.0119682467, 0.0722382963, -0.0379557125, -0.0581631139, -0.0589889362, -0.0190823954, -0.02414109, 0.0338083394, 0.0385401994, -0.019115774, -0.0283600334, 0.0127843227, -0.0041711456, 0.0016663687, 0.0295893904, -0.0365727134, -0.0246932525, 0.0069510052, 0.0004677042, -0.0014848898, -0.0399372056, 0.0088330312, -0.0317271724, -0.0025846974, 0.0119533651, -0.001931421, 0.0166106764, 0.040500693, 0.0105318194, -0.0096054794, -0.00444972, -0.0239984784, -0.0212338138, -0.0200252458, -0.0275190286, -0.0286431368, 0.0177806672, 0.011831454, -0.015917208, 0.0111251865, -0.0137311844, -0.050676886, 0.0558817685, -0.0020498901, 0.0162772536, -0.0755723044, 0.0101187704, 0.0081280908, -0.0025378272, 0.0014498343, -0.0550429001, 0.0389101058, -0.0078785457, -0.0073357238, -0.0344511643, -0.0420860909, 0.0098609133, 0.0499465205, -0.0291498546, 0.0278392695, -0.0006740138, -0.0234403089, -0.0123018045, 0.0196498167, -0.0048782066, -0.0668642744, -0.0524750873, 0.0155789703, -0.031719178, 0.0221507736, -0.0397854224, -0.0225667208, -0.0843500942, -0.0517308451, -0.031410113, -0.0129722273, -0.0544175655, 0.0104403701, -0.0149231367, 0.0173072107, -0.0050068256, -0.0463667475, -0.0001316641, -0.0312763266, -0.0537064336, -0.0334038772, -0.0312507264, -0.0344579555, -0.015439718, 0.023652507, 0.1227160096, 0.0328352936, -0.0374504365, 0.0002280819, -0.0091887778, 0.0257741474, -0.0225383118, -0.030429069, 0.0333227776, 0.0382001661, -0.0214984659, 0.0448209234, 0.0722623542, 0.0121407555, -0.0770132169, -0.0102070263, 0.0270936098, -0.0025474776, -0.0199616142, 0.0023154598, -0.1131218672, -0.0195620582, 0.0266215149, 0.0725186393, -0.033804711, -0.0087746475, -0.0318343826, -0.0881467983, 0.0310971029, 0.0059062894, 0.0448514745, -0.0447383076, -0.0591118261, 0.0086844368, 0.0232777968, -0.007655547, -0.0428133868, 0.0219238419, 0.0172690172, -0.0239487812, -0.0514710285, 0.0062905224, 0.0114408741, -0.0598530285, 0.0313990489, 0.0472265221, 0.0262872223, -0.0055652652, -0.0347524025, 0.0182599705, 0.0649920106, -0.0811679289, 0.0036921857, 0.0355504751, 0.0200509913, -0.0100769196, -0.0243565142, 0.0473444201, -0.0298395623, 0.006691643, 0.0340270996, -0.0043225172, -0.0443892851, 0.0145219453, -0.0100154299, 0.0057076416, 0.0336433612, 0.0710041299, 0.0012715237, -0.07821621, -0.0237356648, -0.0729830191, 0.0391351804, -0.0225045346, -0.0130065084, -0.0085391859, 0.0435976163, -0.0244034603, -0.0099120466, 0.0101082679, -0.0365244597, -0.0263222549, 0.0162256341, 0.014799607, 0.0283510648, -0.0262728333, 0.0156829283, -0.0115084983, -0.0751476809, 0.0475347638, -0.0263104551, 0.0409064293, -0.0218443777, 0.0050490382, -0.0113412347, 0.0000909123, -0.0569314137, -0.0149862999, 0.0356524363, 0.0620718189, 0.019290179, -0.0002357427, -0.0711278319, -0.0779999942, 0.0775859579, 0.066484794, -0.1061355397, -0.0146384882, 0.0318635143, -0.0064720088, 0.0037032082, -0.0044846144, -0.0383142717, -0.0364743844, -0.0021949837, -0.0524874069, -0.0276979487, -0.0395542011, -0.0244727302, 0.0595091842, 0.0071838647, 0.0323745385, 0.0355844907, -0.0066732359, 0.0247962661, -0.0079611223, -0.0193041898, -0.0108983507, -0.0052027395, 0.0060762423, 0.0005530374, 0.0409632549, -0.0479265116, 0.0344593897, -0.0327765234, -0.0182965342, 0.0326960608, 0.006922822, 0.0579984784, 0.0402537249, -0.0117424382, -0.0385144837, 0.0639385432, 0.040864747, 0.0204521958, -0.0534601882, 0.0235645343, -0.0073099672, -0.0050728912, -0.031735383, 0.0747862533, -0.0437026173, -0.0913901776, 0.0218380056, 0.0506049134, -0.0305255353, 0.0322472192, -0.0258760527, -0.0566461049, 0.0056216638, -0.0499872342, -0.0085186325, -0.0013634838, -0.0104346285, -0.0237338375, -0.0186805036, -0.0238136593, 0.0025095092, 0.0461372994, -0.035555277, 0.0393018425, -0.0146484431, -0.0311107598, -0.0565742627, 0.0288984682, 0.0077130906, 0.047795292, -0.0483514145, -0.0181801766, -0.0191624686, -0.0401653461, 0.0027268706, -0.0410730764, 0.0116654411, -0.0092933187, 0.0072389995, 0.0269959942, 0.0006124052, 0.0041070334, -0.090036273, 0.0172502808, -0.0014603811, -0.0520924926, 0.0018985749, -5.648178724e-33, 0.0464249924, -0.0231250599, -0.0266407598, 0.0225703344, 0.0509276018, 0.0233779084, -0.0041801748, 0.0333987288, 0.0088223787, -0.0028761043, -0.0270793252, 0.0217901599, 0.0304948781, 0.0249724537, -0.0027593614, -0.0355796441, 0.0137732336, -0.0099012414, 0.0109062139, 0.0566744804, 0.0506494045, 0.0093216039, -0.002932091, -0.1059029475, 0.0688903779, -0.019316433, -0.047440812, -0.0328329504, -0.0353492871, 0.0568583198, -0.0214727167, 0.0340867117, -0.0153195513, -0.0454868674, 0.0031421653, 0.0750131011, -0.0139446501, -0.0368284546, 0.0049047335, 0.006338581, -0.0315753929, -0.0764281973, 0.0072243693, -0.0023353233, -0.0393857844, 0.0291283801, -0.0373007916, 0.0091342553, -0.0059162984, -0.0387098119, 0.0469634868, 0.0090304054, -0.0290558357, 0.0130584063, 0.0618225448, 0.0302596446, 0.0001326799, 0.0219090786, -0.0207018647, 0.0528193675, -0.0173860453, -0.0369237848, -0.0239852127, -0.0064664916, -0.0396762267, 0.0280035678, 0.0527488999, -0.032595668, -0.0043850723, 0.004008106, -0.0206796322, -0.0014637386, 0.0254950803, 0.0492312722, 0.0353995785, -0.0591767952, -0.0159699172, 0.0209141653, 0.0581055097, -0.0259630848, 0.0730159953, -0.0034926373, -0.0719965696, -0.0300774425, -0.0263332017, -0.0053410078, -0.0439759158, -0.0066720778, -0.0329674818, 0.005027852, -0.0245976988, -0.0167949758, 0.0142237712, -0.0506853722, -0.0215365738, 0.0156659465, 0.0072316104, -0.0353142954, 0.0145071317, 0.0321109891, 0.0285022445, 0.018519016, -0.0318791196, -0.0899191126, 0.0073673376, 0.0176100917, 0.0232109837, -0.0031537341, -0.0766634345, -0.0357119292, 0.0288850889, 0.0476509593, 0.010924669, 0.0015640112, 0.0304415338, 0.0006996474, 0.0174931921, 0.0278698877, 0.0207678583, 0.0373224728, -0.0211917497, -0.0060766698, -0.0133522525, -0.0065769758, 0.0285967588, -0.0135611873, -0.0146901598, -0.0168464165, 0.0349183269, 0.0182185117, 0.0086285761, -0.034625195, 2.948e-7, 0.0230050888, 0.0220898818, -0.0084635466, 0.002208971, 0.0508395657, 0.0825959295, 0.0180409215, 0.0527421534, -0.0101817846, 0.0106026512, -0.0368532538, -0.0059332903, 0.0959800184, 0.0317546465, -0.0880717635, -0.0179600231, -0.0554604642, 0.0001892982, -0.0679519475, 0.0755800605, 0.0586505085, 0.0953106657, 0.0397442691, -0.0002604666, -0.0315207578, -0.0134483427, 0.0107393125, -0.0662656724, -0.0147840325, -0.0431273058, 0.0376733355, 0.0369378142, 0.0351835713, 0.0236827713, -0.0183516145, -0.0179460775, -0.0078927185, 0.0628314614, 0.0635155365, 0.0225648116, 0.0135776801, -0.037132252, 0.0011043665, -0.0365634561, 0.051247064, 0.0322795324, -0.0568207018, -0.0313650854, 0.0219512638, -0.0426901169, 0.0805529058, -0.0086352546, -0.0449570939, 0.0212385599, 0.0163478758, 0.004574087, -0.0094166538, -0.0617529526, -0.0123991882, -0.0382152423, -0.0114742173, -0.0049667684, -0.0198151562, 0.0505857654, 0.0327047929, -0.0032429898, 0.0823487192, 2.781334888e-34, 0.0046284609, -0.0250682794, -0.0084011434, 0.0330085307, 0.0299935825, -0.0067114546, 0.088285096, 0.0086350525, 0.048940707, -0.0210261829, -0.0108438656 ]
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.0099764457, 0.0233818162, 0.0290792529, 0.0528883487, -0.0382404514, 0.022407556, -0.0272867437, 0.0464125536, -0.0164627023, -0.0083141811, -0.025067322, 0.0410768464, -0.002144071, -0.0181024801, 0.043446444, -0.0032669033, -0.0181073677, -0.0058939224, -0.0067336103, -0.0197330546, -0.0319117233, -0.005160111, 0.0156289935, -0.0417909548, 0.0414821431, -0.0244061984, -0.0413791426, 0.0362608656, 0.0119197061, -0.0445260331, -0.056729544, 0.0180567168, -0.003831611, 0.0549934767, 0.0000022699, -0.0109550785, -0.0353994444, 0.0235594325, -0.0622735545, 0.0181821287, 0.0313653722, -0.0177771952, -0.0493786335, 0.0184666831, -0.0537127182, 0.0299269799, 0.0149436789, 0.0784010887, 0.0369375423, 0.0775265843, -0.0026919963, -0.0353351869, 0.0440293178, -0.0048884992, 0.0463291183, -0.0509535, -0.0033179249, -0.012324092, -0.0401675664, 0.0129912328, -0.0431464873, 0.0224805921, 0.0078129582, 0.0131600443, -0.0399868302, -0.0104508931, 0.0373355709, 0.0120220855, -0.0418987721, 0.0298857968, -0.0299877319, -0.0288351662, 0.0136556271, -0.0086483583, 0.0287585016, -0.0077329469, -0.0151648307, 0.0197140295, -0.0083511751, 0.0535201691, 0.0007176528, 0.0023690925, 0.0443232432, -0.0309004821, -0.0386877693, 0.0676332191, 0.0296208356, -0.0022155493, -0.0315775648, 0.0065603787, 0.0191925, 0.003211681, 0.0028928567, -0.0093974154, 0.0573971532, -0.0178638995, -0.0926903337, -0.0486600772, -0.0004470855, -0.0459278822, 0.0496016592, 0.0025475831, 0.0190505981, 0.0269529819, -0.0507633574, 0.0199046209, -0.0398021564, 0.0779699311, 0.0221912544, 0.0134541653, 0.0345525779, -0.0174352974, 0.0009172412, 0.0575293936, -0.0014277791, 0.0349556245, -0.0245632846, 0.0399652161, 0.043796882, 0.019124737, 0.0041253436, -0.0303897168, -0.0089148609, -0.0238680486, 0.0435969718, -0.0300661922, 0.0442943051, 0.0185695309, -0.0181859508, -0.0215810388, -0.0182613693, 0.0511732027, -0.0023159978, 0.0234686267, -0.0257469416, 0.0810768753, 0.0125419749, -0.0465702042, -0.0373560041, -0.0163766388, 0.0169447921, 0.0215082429, 0.0073127351, -0.0377157293, 0.0021537351, -0.0107302302, 0.015270344, -0.0473238789, 0.025600763, 0.0069460548, 0.0188836046, 0.0490389578, -0.0286847856, -0.0392756201, -0.0200402327, 0.0206898078, -0.0086403545, 0.0695965588, 0.0497444384, 0.0068187378, 0.0375446863, 0.0244368985, 0.0220423676, 0.0387536213, 0.0205837991, -0.0132091204, 0.0252347309, -0.0299890637, 0.0341328047, -0.0397906154, 0.0435480289, 0.0239827745, -0.0206783004, -0.0501678847, 0.0103631113, 0.0375519618, 0.0000631948, -0.0136879561, -0.0670581609, 0.0190992802, 0.0298652761, 0.009096982, 0.0082130861, 0.0274963211, -0.0368047766, -0.0180919934, 0.0488445312, -0.0104023283, -0.0144348582, 0.0070480327, -0.0021076135, -0.0431352668, -0.0057417718, -0.0170117021, 0.0238928925, 0.0142823448, -0.0378751196, 0.0728212446, -0.030995477, -0.0534745418, -0.0172636099, -0.05275378, -0.0017656269, 0.0434497409, 0.0666186064, -0.0009897933, 0.0802546367, 0.006807887, -0.0635676384, 0.0263901986, -0.0577200875, 0.049636092, 0.0541241169, -0.0334865153, -0.0246550329, 0.0077412529, 0.0194688011, 0.0267978925, 0.0132261515, 0.0514576435, 0.0034350993, -0.0642152503, 0.0417360067, -0.0073214355, 0.0154373478, -0.0589232333, 0.0424276516, -0.0239038691, 0.0376339033, 0.0358634219, 0.0098914448, 0.0437068492, 0.0315216444, -0.0604234114, -0.0111226831, -0.0253735986, 0.0203092918, -0.0809988081, 0.019410165, -0.0748671964, 0.0010401739, 0.0449431241, -0.0313863046, -0.0125545627, 0.0042003542, -0.0275906175, 0.0462794043, -0.0386062004, 0.0146446154, 0.0127016753, 0.0313178524, -0.0449126624, -0.0015982985, -0.0457226969, 0.006337136, -0.0506464541, 0.0246364642, 0.018455008, -0.0390685834, -0.0328601003, 0.0297296345, -0.0234139655, 0.0013144921, -0.0505448841, 0.0387889519, 0.0211806018, -0.051907625, 0.0267086532, -0.0077745467, -0.022294933, 0.0477722287, 0.0031172091, -0.0272602085, 0.0148994913, -0.0433436036, -0.0524465777, -0.0271427575, -0.0112476954, -0.0452457592, 0.0147706885, -0.0221163034, -0.0171176996, 0.0651459098, 0.0297762137, 0.0374324471, 0.034027122, -0.0387107879, -0.0466595143, -0.1166840345, 0.0638887361, 0.0369874761, -0.045236133, 0.0040629883, 0.0123916185, 0.0001250758, -0.0124005117, -0.0302252937, 0.0275012366, -0.0010590903, -0.0132208159, -0.0270986576, 0.0417118222, -0.0282201562, -0.0416322351, 0.0050227363, -0.0293472186, -0.042707812, -0.0332225598, 0.0304727517, -0.0344705768, 0.0137998592, 0.0099604093, 0.0070715165, -0.0064322962, 0.0637467355, -0.0244989228, 0.0122127291, 0.0215565786, -0.0228173193, 0.0137785431, 0.0023725654, -0.0316980891, -0.0241958871, -0.0459514707, 0.0039231614, -0.0187432207, -0.0106691057, -0.0223586578, 0.0242902134, -0.0455474518, 0.0170134082, -0.0291515309, -0.0529533513, -0.0057240506, -0.0160358157, 0.060672611, -0.070231311, -0.0237531047, -0.0110566402, -0.0353029668, -0.0424364433, -0.011427572, -0.0207282547, -0.0124880616, -0.014227557, -0.0471399948, 0.008036484, -0.0068852315, 0.0025852672, -0.0000435491, 0.0329345576, -0.0273443982, -0.0099962624, 0.0143912314, -0.0375875086, 0.0316244811, -0.0573859997, -0.0218043961, 0.0442526788, -0.0054034973, 0.0149011565, 0.1071814001, -0.003756281, 0.0167162046, 0.0298451874, 0.0187778063, 0.0562081188, 0.0046501537, -0.0090663973, 0.024713248, 0.003069025, 0.0289032925, 0.0270454213, 0.0258796252, 0.0001601367, -0.0662867203, -0.0088580344, 0.0006968593, -0.014769217, -0.0005761499, -0.0367998742, -0.0783108324, -0.0278855097, 0.0358165205, 0.0882933587, -0.0094450992, 0.0186043195, -0.0443888046, -0.059222348, 0.0268241297, 0.0474723652, 0.0250790343, -0.085888654, -0.0381132327, -0.0426265784, 0.0636646152, 0.0143777514, -0.002135718, 0.0615736395, -0.0150045846, 0.0157313813, -0.0111796614, -0.0366866142, -0.0467768796, 0.0090036588, 0.0277609695, 0.0799404904, 0.0168297794, 0.0103845196, -0.0376028828, -0.002194209, -0.0044915541, -0.0759843662, -0.0194326043, 0.0144951157, 0.0154337864, -0.0086419601, -0.0113057196, 0.0173037983, 0.0121436585, -0.0259391926, -0.0211788416, 0.0221753512, -0.0170128122, 0.0027173543, 0.0319844373, -0.0268140696, 0.029964257, 0.0527328029, -0.0059280335, 0.0046693236, -0.0178786572, -0.0812036544, 0.066506438, -0.0778815374, -0.0399725474, 0.0044975691, -0.0119865956, -0.0197595097, 0.0004131197, 0.0693737119, -0.0425131992, 0.0177566838, 0.0061306329, 0.0639621168, 0.0134415757, -0.0335957482, -0.0684589073, -0.0983194858, -0.0885650814, 0.0254510771, -0.0741075501, -0.0221969727, 0.0375451855, -0.0056421435, 0.0000145206, 0.0257943701, -0.0823516697, -0.0118351029, 0.0158403572, -0.0083996244, 0.0155112278, -0.0263169799, -0.0097856922, -0.0137695428, 0.0444734246, 0.0640798509, 0.0050810524, 0.0494199023, 0.0482697859, 0.0351875797, 0.0139035322, 0.0295591075, -0.0561149679, -0.059480153, 0.0557739809, -0.000054221, -0.0341091901, -0.0407851115, 0.0097715175, 0.073458083, -0.0197711606, -0.0310398005, 0.0514771976, 0.0617098883, 0.0875934958, -0.0307265297, 0.0059891245, -0.0146240201, 0.0314501524, 0.0247916076, -0.0645368472, 0.0139499381, -0.0064296531, 0.0103684599, 0.0130567504, 0.009176679, 0.0422508381, -0.0595163964, -0.0221914575, 0.0034277714, -0.0017702436, -0.0046186415, 0.048584044, 0.0647657439, -0.0000442344, 0.0258105528, -0.0121902749, 0.0121107148, 0.0012509436, -0.0189400017, 0.0374821499, -0.0805281922, -0.0137087973, -0.0074833254, 0.0280448832, 0.0423170961, 0.0916704386, 0.0060958164, -0.0273438003, 0.0168204363, -0.0426500887, 0.0255420897, -0.0442470014, 0.0084715951, 0.0014302428, -0.0382376499, -0.0121519305, 0.0148237534, 0.0212459676, 0.0213512611, 0.0298262239, -0.0096477922, 0.0057889167, -0.0392688662, -0.02818322, 0.0441803709, 0.0154776331, -0.0164824594, -0.0139645524, -0.027949743, 0.003139378, 0.0401122645, -0.0159874614, 0.0440027155, 0.0109842932, -0.0330356769, -0.0067141759, -0.023066001, 0.01286685, -0.0312100183, 0.0076937145, 0.0717631429, -0.0654030889, 0.0061505381, -5.501729393e-33, -0.0202822555, -0.0203737542, -0.0419289693, -0.0140463663, 0.0478651747, -0.0190090723, 0.0049936883, -0.0011718264, 0.0459672622, -0.0172626879, 0.0076185968, -0.007933436, 0.0300332457, 0.0183655806, -0.0542838983, -0.037481647, -0.003705852, -0.0307679474, -0.0092314845, -0.0153400321, 0.0384757295, 0.0156418849, 0.0402427241, -0.0412787721, 0.0108693046, -0.0180659126, -0.0730539411, -0.0370746031, -0.0349518657, 0.0259898342, 0.014397121, -0.0123297926, -0.0079301484, 0.0211345516, -0.0314123705, 0.0080202091, -0.0103855599, -0.0178311691, -0.0033104594, 0.0574634038, 0.0498223118, -0.0898150876, -0.0186756682, -0.0102148373, -0.0531257764, 0.0252671614, -0.0478065796, -0.0154227316, -0.0175419431, -0.0576893315, 0.0778750852, 0.036885675, -0.0198901948, 0.0235688183, 0.020218078, -0.0326940417, -0.0197496172, 0.0023863222, -0.0815011188, 0.0536106229, 0.0276755095, -0.0061656614, 0.0029012619, -0.0142241791, -0.0148066655, 0.0162134599, 0.0153917391, -0.03755771, -0.0098222066, -0.0217047352, -0.0016723326, 0.0047830995, 0.0291095115, 0.0764057413, 0.0936840549, -0.0127870152, -0.0126515552, 0.0568607673, -0.0283754412, -0.0389668383, 0.0376127474, 0.0297501124, -0.0404015444, -0.0324967429, -0.0205822401, -0.0463924594, 0.0103801889, 0.0058891559, 0.0189145319, 0.0138568161, -0.0252541099, -0.0413029306, 0.0331589952, -0.0584069565, -0.0433681495, -0.0257914327, 0.0299597569, 0.0302976519, -0.0222892947, -0.0003882164, 0.066688478, 0.0132694049, 0.0367380306, -0.072026886, 0.0173156075, -0.0379800871, 0.030743897, 0.0066012149, -0.0977958366, -0.0195538718, 0.0270827264, -0.0118139461, 0.0555948094, -0.0249907617, -0.0159282237, -0.0661448985, 0.0132848239, -0.0361428633, -0.0137751093, -0.0357758291, 0.0123275751, 0.001270261, -0.0099103656, 0.0648367181, 0.004542795, 0.0542284995, -0.0055114916, 0.0311098974, 0.0413159207, -0.0019212238, -0.0131617626, 0.0166450497, 2.888e-7, 0.0492756292, -0.0103504956, 0.0533752106, 0.0171448942, 0.0259602144, 0.0226002466, -0.0134680606, 0.0233130641, -0.0766724795, -0.0043416438, -0.0459242314, 0.0148442956, 0.0626865774, -0.0393329896, -0.0606808327, 0.014691934, 0.054824762, -0.0106021911, -0.0025115414, 0.0132351136, 0.0637740418, 0.0617321916, -0.004878683, -0.0002839191, 0.0130773392, -0.0338744894, 0.0101179937, -0.0234105587, 0.0320083238, -0.0439276807, 0.0085262842, -0.0327318311, 0.0279293619, 0.0120715238, -0.0290998612, -0.0457919873, -0.0018188342, 0.0687540472, 0.0231311675, -0.079677552, -0.0234169494, -0.0092239091, -0.0051523433, 0.0181542672, 0.0317092575, 0.1184620783, -0.0116827972, -0.0129345218, -0.0596407019, 0.006950059, 0.0343458839, -0.0034273255, 0.0024288108, -0.0036398889, 0.0130948629, 0.0206367914, 0.0026731596, -0.0153643703, -0.0201383848, -0.0898046941, -0.0151024954, -0.0401498005, -0.0290741865, 0.0508437045, 0.0874562263, -0.0576280095, 0.0046355696, 2.962724686e-34, 0.0146316458, -0.0560709052, -0.0025667343, 0.1207831278, 0.0184754189, 0.0034272263, 0.0255675167, 0.0209728647, 0.0102205602, -0.0381330997, 0.0123827327 ]
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.06513796, 0.0715891793, -0.0372529291, 0.0439950116, -0.0348949395, -0.0170755144, 0.0134728719, 0.0245119538, 0.0054488652, -0.0125000011, -0.0613499209, -0.0390169807, 0.0240584873, 0.02576508, 0.028319316, -0.0593040213, -0.0040388349, -0.0255813822, 0.0729107037, -0.0167571865, -0.0058055762, -0.0026355104, -0.005914594, 0.0318892896, -0.0026649027, -0.0021245652, -0.0345143639, -0.0134158125, 0.0275864713, -0.03924492, -0.0194563214, 0.0580263026, 0.0126297399, 0.0281646792, 0.0000020786, -0.0785851255, 0.0141895935, -0.0321377702, -0.0172864534, 0.0282218959, 0.0769361928, -0.0089140702, 0.0131840007, 0.0167837236, -0.1016427502, -0.0106697986, 0.0205375943, 0.0908724815, 0.0569189638, 0.0524971336, -0.0040328139, 0.0275226254, 0.0060019731, -0.0299207605, 0.0051414431, -0.0753934532, 0.0345824286, -0.0174394287, 0.0356674306, -0.002831927, 0.011791938, -0.008246839, 0.0059238607, -0.0216529947, -0.0837695003, 0.0438868068, -0.0578597784, -0.0290496349, -0.0089765349, 0.0706062987, 0.0266981851, 0.0089496998, 0.0290890504, -0.0063891513, 0.0156347435, -0.0053624953, -0.0256351456, 0.0455279499, 0.009689902, 0.0195010602, -0.0006755406, 0.0209196378, 0.0250852183, 0.0175453313, -0.0058407285, 0.0825620815, -0.0390442125, -0.0128932949, 0.0105586508, -0.0293746721, -0.0391395614, -0.0936664864, -0.0302746315, 0.0329798758, -0.064503409, 0.0182442944, -0.0343026817, 0.0405246355, 0.0352822617, -0.0517228954, 0.0072371424, 0.0205667876, 0.0363371, 0.0402671248, 0.0613876507, 0.0131814843, -0.0202995241, 0.0148595357, -0.0064979354, 0.029581992, -0.0005479508, -0.020347381, -0.0349916071, 0.0019956781, -0.0346572436, -0.0251658317, -0.0209535696, 0.0305034202, -0.0598281249, 0.0136327585, -0.0181660559, 0.0222015213, 0.0383287109, -0.0011086575, -0.0652540028, -0.0385615528, -0.0481442995, 0.016745545, 0.0383875519, -0.0653504431, 0.0129329069, -0.0111823892, -0.0064761657, -0.0303399842, 0.0028189197, 0.0872314796, -0.003011124, 0.0105053661, -0.0097721405, -0.034401346, 0.0377672911, -0.0785809383, -0.0228340086, -0.0475303642, 0.0325981937, 0.0045843343, -0.0485618934, -0.0471979938, 0.0254189447, 0.0038704793, -0.0410006605, 0.0834787488, 0.0088083912, 0.0190043561, 0.0433782786, 0.032369975, -0.0438847877, 0.0476100743, 0.06214156, 0.0053219777, 0.0443670005, 0.0115446383, 0.0399196967, 0.0478506424, -0.0135484505, 0.0081514446, 0.0199064035, -0.0055111875, -0.007260202, 0.0411567204, 0.0077855983, 0.0549376644, -0.053975936, -0.0514766723, 0.1105616167, 0.0989887714, -0.0179634038, 0.0303300284, -0.0173906498, 0.0705653355, 0.002252209, -0.0415843576, -0.0400792174, 0.0505326204, -0.0155739682, -0.0208657645, 0.0195550881, 0.0123241367, -0.0217738301, -0.0106298029, -0.0084794788, -0.0096400576, 0.070272401, 0.0227876995, -0.0316135883, -0.0523974299, -0.0285570566, 0.0043472424, 0.0003723327, -0.0122446371, -0.0226012804, -0.0504112281, 0.0200217403, 0.0476007946, 0.0333215296, 0.0058629499, 0.0316491537, -0.0090221716, -0.0390838906, 0.057299383, 0.0524144545, -0.0004250963, -0.0246516149, -0.0438689552, 0.0059358124, -0.0121778548, 0.002697245, 0.0211717542, -0.0068465918, 0.0116448412, -0.012777484, -0.0222542472, 0.0324019156, -0.0036766645, 0.0031380544, -0.0258246306, -0.0495466366, 0.0145679982, 0.0344422348, -0.0214121565, 0.0030150907, 0.0037144087, 0.0120548857, 0.0123831984, -0.0338129476, 0.0564870201, -0.004323096, 0.0463819392, 0.0210611876, 0.0008768507, -0.0217749309, -0.0159721691, 0.0107572749, -0.005159446, 0.0301257819, -0.0173077602, 0.0451496914, -0.0289535932, 0.0035494294, -0.0088056745, 0.0335554965, 0.0175985117, 0.0412875079, 0.0176174566, -0.0168150067, 0.0113524534, -0.0394530483, 0.0069835894, -0.0500633493, 0.0318527296, 0.0093916086, 0.01281182, 0.0424529612, 0.0086822985, 0.0285717919, -0.0277984999, -0.0247793179, -0.0728785172, -0.0420737341, 0.0230215769, 0.0007744745, 0.0112039503, -0.0257179867, -0.0160485711, 0.0404057838, -0.0207477398, 0.0283781514, 0.0387318656, 0.0372503102, 0.0194687583, -0.0144381886, -0.0210335068, -0.0423541516, 0.0295597166, -0.0205309764, 0.0264427904, 0.0036004898, 0.0220697988, -0.0306656882, 0.0057639903, -0.0359723717, 0.038035702, -0.0306202285, -0.0686254501, 0.0355654918, 0.014523915, -0.0171200112, 0.0594008081, 0.0130209345, 0.0444390625, 0.0231575333, -0.0386297703, -0.077011779, 0.0152624436, -0.0071461434, 0.0396017171, -0.0947232693, -0.0628084168, -0.0181137752, 0.0863916799, -0.0121094957, 0.0328886621, -0.0213949997, 0.0642362311, 0.033275187, -0.0648019388, -0.008608928, 0.0045930874, -0.0356304161, 0.096301131, -0.0018467574, -0.0238266699, 0.0782026649, -0.0200703535, -0.0184655301, 0.0279431585, 0.0150680775, -0.03903725, 0.0830496326, -0.0389029235, -0.0193629991, 0.0028955375, 0.0023301358, -0.0212015267, -0.0562886596, 0.0195192154, -0.0207953621, 0.048142191, -0.0618381537, -0.0128362598, -0.0004912783, -0.0091308989, -0.0289573185, -0.0364654548, -0.0558587685, 0.0210889652, 0.0267398227, -0.0416811742, -0.0693666413, -0.0110412324, 0.0301114731, -0.0007985294, 0.0228807479, -0.0093064141, -0.0120392935, -0.0468361862, 0.0518496633, 0.070010379, 0.0282633286, -0.0245980471, 0.0200909991, 0.0534585454, -0.0250540804, -0.0077989521, 0.0191708524, 0.0166947637, 0.0175810028, 0.0187471565, 0.0177347437, 0.0343574695, 0.0095946891, -0.0310175549, 0.0087527344, 0.0746681914, 0.032238625, -0.011267636, 0.0325598307, -0.0694786012, 0.0385649204, 0.0120396549, 0.0292881262, -0.0701282471, 0.0066538244, -0.0108599635, 0.0085430853, -0.0353837796, -0.05255007, -0.0017315889, -0.109067969, 0.0125415456, -0.0007727825, -0.0100564929, 0.063111037, -0.0046154028, 0.0114105903, -0.0042397263, 0.0484790653, -0.0021351255, 0.0324483365, -0.0244933013, -0.0368522219, 0.0032000754, 0.0347504281, 0.0499703102, -0.0245708134, 0.0626667291, 0.0098249028, 0.0667665228, -0.0098489858, -0.0563389808, 0.0029728201, 0.0382297374, -0.0191051513, -0.0043146997, 0.0011889047, 0.0127583724, 0.0168085024, -0.005024923, 0.0418685749, -0.0452228598, -0.028350858, 0.0329175517, 0.0600881279, -0.0150618246, -0.0432314537, 0.0329295248, 0.0094825551, 0.0314553715, 0.0429067872, 0.0024435956, -0.0589805655, -0.0555946603, -0.0306821689, -0.0667198226, -0.0154444752, -0.0782072023, -0.0024504557, 0.0492202714, -0.0018478411, -0.0382219516, -0.0772120953, 0.0097138956, -0.0016100791, 0.0055911397, -0.0130127156, 0.0496634319, 0.0068562841, 0.0181463063, 0.0070389756, -0.0136942761, 0.0187151302, -0.0171263441, 0.0061052102, -0.0094457539, -0.0803582445, -0.0105105452, -0.0144450422, -0.0080879005, -0.0559857972, -0.0138936937, 0.0216036122, 0.0343179889, -0.0132677611, 0.007073869, -0.0467055179, -0.0495245308, 0.0032042968, -0.0233141389, 0.0536041074, 0.0251865536, 0.0512541197, 0.0083574262, 0.0455019362, -0.0128005994, 0.0322084352, 0.0036808564, 0.0323393568, -0.0592458881, -0.0606374741, 0.008758653, -0.0236111805, -0.0375186875, 0.0220321938, -0.0075523234, -0.0010557428, 0.0066727828, -0.0462130606, 0.0044019357, -0.0284243673, -0.0787324607, 0.006709198, 0.0127184466, 0.0156831034, -0.0336579382, -0.0339896977, 0.0098078633, 0.0574629344, 0.0212890506, -0.0174977053, -0.0061780815, 0.019913435, 0.0054597193, 0.0332287438, 0.0312063415, -0.0497478098, 0.0507870689, 0.0227481779, 0.0769214481, 0.0101660499, -0.0554650947, 0.0007738208, 0.0327800661, -0.0134155508, -0.1059783995, 0.0852140859, 0.0123287998, -0.0046290429, -0.0017410653, 0.0446657948, -0.0588816106, 0.0174233746, -0.0125479391, 0.0038699897, -0.0324465297, -0.0608002804, 0.0229912978, 0.0200928245, -0.03214854, 0.0116648739, 0.0255152192, -0.0262297653, 0.010286239, -0.020423051, -0.0154278977, -0.0171389915, -0.0379510596, -0.0266175866, -0.0132868215, -0.02987005, 0.0012869017, -0.0763199851, -0.0368703119, -0.0030509694, 0.03082815, -0.0433199592, -0.033709649, 0.0092271948, 0.0329132602, -0.0082147606, 0.0077988524, -0.0212629158, 0.0109536676, -0.0530873276, -0.0246751681, -0.0574558638, -6.135793617e-33, 0.0177073739, -0.0631282926, 0.0407676399, 0.0224627759, -0.0111747431, -0.0503260307, -0.0437489785, 0.0388594866, -0.0172636341, 0.0055485382, -0.0343613923, -0.0089875758, 0.0262199603, -0.0285103191, 0.0209303759, -0.0054412521, -0.0107129505, -0.0138814114, -0.0356770381, -0.0287549123, -0.002390638, -0.0129086953, 0.0326881446, -0.0758142322, 0.0354341716, -0.011601299, -0.0181828011, 0.0224337392, -0.0302697551, 0.0337860622, -0.0099617187, 0.0049546389, 0.0189226288, -0.0012281229, 0.0080549587, 0.0300889574, 0.0034725284, -0.0056884079, 0.0565463677, -0.0201430004, -0.0253255218, -0.038919799, -0.002627366, -0.0043464135, -0.036729075, 0.0015860988, 0.0162285026, -0.0032736801, 0.0103640929, 0.0618491732, -0.0511793792, -0.0013548572, -0.0411760323, -0.001784677, -0.0024764847, 0.0104912454, -0.0316923559, -0.0229633804, -0.0780068934, 0.0569275133, -0.0299155153, 0.001094628, 0.0315302648, -0.0256573837, 0.0516313612, 0.0765641481, 0.0136185102, 0.0404669046, -0.0120610362, -0.0308512878, 0.0409456082, 0.0885116979, 0.019112397, 0.0675076321, -0.0433732644, -0.0309825707, 0.0171963219, -0.0003147465, 0.0709802508, 0.0163720157, 0.0382970832, 0.0366834849, 0.0063515529, -0.0209178831, -0.023676008, -0.0010281831, -0.0453300588, -0.0524601042, 0.0168539155, 0.0122292442, 0.0268291067, -0.0092481226, 0.0354772173, -0.0363565348, -0.0580914393, -0.0080697937, 0.019679822, 0.0490279235, -0.0069321636, -0.0094770128, -0.0365469642, -0.0159023982, -0.0041079358, -0.001614388, 0.055031091, 0.0277808551, -0.0253310651, -0.0035848385, -0.0088518625, -0.0047783256, -0.0182370543, 0.049111288, -0.0253187008, -0.0056064394, 0.0075065033, -0.0151015678, -0.0133245951, -0.0528514758, -0.0318676531, -0.0494178385, -0.0727236569, 0.0518426932, -0.0153474566, 0.0081140269, -0.020775171, 0.0128227761, -0.0555819944, 0.0260323938, 0.0277031623, -0.0182458516, 0.0026693011, -0.0334266163, 2.786e-7, -0.0245065577, 0.0648688972, -0.0251033884, 0.0239251386, 0.0225875396, 0.0968045741, -0.0349799171, 0.0235589202, 0.025436556, -0.0721516833, 0.0216351245, 0.0325023271, 0.0632040128, 0.0505005457, -0.0612576567, 0.0282578189, -0.0361150727, -0.058977101, -0.0248564407, -0.025375938, 0.0543335788, 0.021487955, 0.0333810113, 0.0032840387, -0.0208116192, -0.0202354416, 0.0260641742, -0.0843737125, -0.0109351119, 0.0222800151, -0.0255009718, -0.0431054197, 0.0133329723, -0.0054529458, 0.0112260086, 0.0113657871, -0.0533459373, 0.0537082888, -0.0057253973, -0.0727781206, -0.000355986, -0.0431618318, -0.019969184, -0.0556280352, 0.0184433814, -0.0432727337, -0.0570522435, 0.0247333478, 0.0453655012, -0.035383597, -0.0183691047, -0.0234236643, 0.0143413758, 0.0113057327, 0.0132398512, -0.0063407044, 0.0449324735, -0.0391772985, -0.0201690085, -0.0149787841, -0.0488829389, -0.0469285026, -0.0370218977, 0.0484352708, 0.0042285719, -0.016584564, 0.0070644892, 2.007216297e-34, 0.0187997222, 0.0298933145, 0.0174069572, 0.0510052592, 0.0676303729, 0.0391641743, 0.01440203, 0.0468961, 0.0247701071, -0.0563086085, -0.0094055478 ]
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.0259040464, 0.0482201278, -0.026152242, 0.0118729444, -0.0024180375, -0.0087733706, -0.0353291258, -0.020682279, -0.0146812918, -0.0172899719, -0.0020118323, 0.0386393107, -0.011788019, 0.0768675953, 0.0295538399, -0.0214094892, 0.0152308298, -0.0056227185, -0.0133398902, 0.0478815511, -0.011919436, 0.0458492227, 0.0300774127, 0.0992350057, -0.0059749112, -0.0381176621, 0.0055408473, 0.0095709125, -0.0487618223, -0.022724878, 0.0145721799, 0.0158877671, 0.0217187777, 0.0162041225, 0.0000022982, -0.0157412682, 0.0027855772, -0.024855461, -0.0277364198, -0.0186220463, -0.0016785535, -0.0185278133, 0.0233445838, 0.0103613567, -0.0622489899, -0.0322198309, 0.0550212972, -0.0155703099, 0.0656427965, 0.023184346, 0.0081837969, -0.0105614588, 0.0356203392, -0.0013104009, 0.0365066975, -0.0191828366, -0.0165443979, 0.0090987394, 0.0282126553, 0.0035514352, 0.0110460809, 0.0296726897, 0.0430252478, -0.0204184335, 0.0764223337, 0.0339185521, -0.0295255873, -0.0290114619, 0.0104264934, 0.0611892641, -0.0693603009, -0.0343534835, 0.0105493451, -0.0271542631, -0.0157478061, -0.0702501908, -0.0160658881, 0.0106773432, 0.0009971055, -0.016073307, 0.0003259631, -0.0299938098, 0.0088044805, -0.0031113508, -0.0154069206, 0.0347348452, -0.0034453797, 0.0124784028, -0.0232056025, -0.0273793098, 0.034780018, -0.0722026974, 0.0224442687, 0.0697207078, -0.0290057678, 0.0159882512, -0.0551083162, -0.0397439823, -0.0005315106, -0.0394492075, -0.0377266929, 0.0484744422, -0.0633684471, 0.0161342397, -0.0585813373, 0.0324817225, -0.0223858282, -0.0045566252, -0.0498401485, -0.0195372943, -0.0481705442, 0.0070224707, -0.0532098264, 0.0542696305, -0.0451937951, 0.0073524574, -0.0133017031, 0.0691990107, 0.0327307731, 0.0396843068, -0.0028844681, 0.0185450483, -0.0459238216, 0.0129447086, 0.0066604475, -0.0058323168, -0.016130764, -0.0409066565, -0.013455607, -0.0602979548, -0.0019999391, 0.0191001724, -0.0200294182, -0.0378589891, 0.0425751582, 0.0748155639, 0.0371574573, 0.0091332234, -0.0666051432, -0.0344041698, 0.024736343, 0.0241639186, -0.0016703079, -0.0879914686, -0.0365779698, 0.0144165298, -0.0336682461, -0.0990401804, -0.0004997168, 0.0392355695, 0.0305422768, 0.0248591695, -0.0976433381, -0.0189360864, 0.0435522981, -0.0060927826, -0.0099651599, 0.0105425892, 0.0500096865, 0.0418883674, 0.0026443915, -0.066298984, 0.0262665432, -0.0117664561, -0.0191558842, -0.0290719178, 0.0027970017, 0.0238363259, 0.0066761151, -0.0033027784, 0.0399277359, 0.0170111489, 0.0022465417, -0.0267813336, -0.0213278234, 0.0310703479, 0.0397078544, 0.0383954868, 0.1041087583, 0.0273586344, -0.0400280058, -0.0446877368, -0.0421370454, 0.0807792693, 0.0087357853, 0.0072834129, -0.0176707488, 0.043525435, -0.0110161174, -0.0598727427, 0.0273382012, -0.0388391912, 0.0155341076, 0.0014892988, 0.0248145852, 0.0032053266, -0.0519517437, 0.0048550451, 0.024692608, -0.0286333561, 0.0034827129, -0.0230699722, 0.031621851, 0.0511219539, 0.0491426177, -0.0424919464, -0.0285266675, -0.0464755669, -0.0193121303, -0.0214669239, -0.0060573835, -0.0092651658, 0.0130933328, -0.0643224046, -0.0211422723, -0.058307413, -0.0322484002, 0.0524556674, -0.0254447032, -0.0327740349, 0.0310332235, 0.0132515328, -0.0578397699, 0.0577708483, 0.0130035738, -0.021355398, 0.02262103, -0.0002690543, 0.0168314278, 0.0119909327, -0.0040253261, 0.0188578665, 0.0417862646, -0.0410075784, -0.0570078455, -0.0049471036, -0.0514370352, -0.0416309536, 0.0256156512, -0.0434161648, -0.0386619195, 0.0253514722, -0.016576333, -0.0122038759, 0.0637952089, -0.0472520888, 0.0197603535, 0.0005801671, -0.032691028, 0.020218445, 0.0119684469, -0.0337123983, 0.0473068021, 0.029715376, 0.0261025447, 0.0341618918, 0.0398360305, 0.0629529282, -0.0037278947, -0.0197751913, -0.0049016965, -0.0410126783, 0.0092151882, 0.0236132573, 0.0610898174, -0.0030022631, 0.0085908063, -0.0494245403, 0.0039668437, -0.0206486601, -0.0039229733, -0.0104213953, 0.0488042347, 0.0320241973, -0.0417596251, -0.0269259121, -0.0214398131, -0.0552033186, -0.0258875564, 0.040606156, 0.0077107451, -0.045648165, -0.0344167612, -0.0181709118, -0.0440039635, 0.0398232378, -0.0030903879, -0.0250608176, -0.0432845429, 0.0216904189, -0.002866941, 0.0446855091, -0.00380906, -0.0487650372, -0.0143801756, -0.027452644, 0.0383985676, 0.0598536283, -0.0081638927, -0.0417195372, 0.0444668345, 0.0293105133, -0.0491962917, 0.053305693, 0.0173352994, -0.0109960437, 0.0078871511, -0.0278823022, 0.0650025681, 0.0413162373, 0.0207983907, -0.0039196941, -0.0315942466, 0.0134398947, 0.0230454672, 0.0073728478, 0.0043063695, -0.0369908847, 0.0166847873, 0.03478311, -0.011335656, -0.0658659488, 0.0897978172, -0.027417386, -0.0650524125, -0.0500119999, -0.0415159315, -0.061427515, 0.053998895, 0.0106863761, 0.0127442563, 0.0111274542, -0.0504425503, -0.0196918231, 0.02509786, -0.0535248928, 0.0186330341, 0.025534749, -0.0234760586, 0.0058045285, 0.0005937018, 0.0121226376, -0.0415102951, -0.0047394712, -0.0284843985, 0.006819638, 0.0639955923, 0.0053724386, 0.0709656477, 0.0101727787, 0.0212925747, 0.0582820028, 0.0609897375, -0.0298810638, -0.0468534119, -0.0511906557, 0.0031617484, -0.0307359323, -0.0231390446, 0.0446541421, -0.0168304853, -0.014216871, 0.0470140651, 0.0638855398, -0.0969634503, -0.0098622339, 0.0457682721, -0.0231854469, -0.0405653454, 0.060610652, 0.0087073827, -0.0416976102, -0.0063339565, 0.0938774571, 0.032276772, -0.0438105352, 0.0064322352, -0.0193652809, 0.0028937096, 0.0805198774, 0.0542395562, -0.0616945401, -0.0411075689, -0.026902644, -0.0037212993, 0.0031065217, 0.0119301975, -0.0192222334, -0.0648259968, 0.0150181018, -0.0276583619, -0.0432004184, -0.0464217514, -0.0022073137, -0.028262889, -0.0003783012, -0.0408447422, 0.007349262, 0.0103464676, 0.0009275696, 0.0044309706, -0.0556768104, 0.0260739103, 0.0297823139, -0.0500055142, 0.0402320512, 0.1400092691, 0.0303106643, 0.0033657493, 0.0019208333, 0.0376392491, -0.0357507579, 0.0253980439, -0.0268966779, 0.0410278328, -0.0249213055, -0.0145183522, 0.0533541888, 0.0073655304, -0.0754713565, 0.0118855499, 0.0360618941, 0.0560520105, -0.0152003579, 0.0138409277, -0.0571481101, 0.0063902554, -0.0060292059, 0.0187084638, 0.075356327, -0.0281803589, -0.0115054809, -0.06881392, 0.0177764539, -0.0614482053, 0.027609, -0.0268585421, -0.0068008495, -0.0030921486, -0.0691520348, -0.0228727683, 0.0427266769, 0.0156681016, 0.0339781083, -0.0041019232, 0.0321824774, -0.0183301736, -0.040693488, 0.0269900542, 0.0126082376, 0.0186293814, -0.0242944211, -0.0113841956, 0.0294714961, -0.064620994, -0.0230541695, 0.0179677699, -0.0418592729, -0.0086492859, -0.0462952293, 0.0692406967, 0.007549176, 0.0189554226, -0.0618612692, -0.0874814764, -0.0545664728, 0.0188961364, -0.0374434069, -0.030243082, 0.0280767232, 0.0330102369, 0.0120554436, -0.0050268038, -0.081592828, 0.005466098, 0.0012638053, -0.020833632, -0.0011030055, -0.0134031614, 0.0505235344, -0.0010833837, 0.0055184448, 0.0537958667, -0.0082754334, -0.0211483557, 0.0137337148, 0.0181818195, -0.008328869, -0.054911565, 0.0160709787, 0.0217172615, 0.0244325902, 0.0580876246, 0.0042712297, -0.0441209637, 0.0356854014, 0.0011253625, 0.0589300543, 0.0210832562, 0.0777468085, 0.0159735996, 0.0103130471, -0.0220453888, 0.0004605862, -0.0194814224, 0.0303778518, -0.0328224264, 0.022697147, 0.0233619958, 0.0223775785, 0.0299597047, 0.0207137968, -0.0480619818, -0.0610312894, -0.0179563668, -0.0255341027, 0.0263731852, 0.0445127748, -0.0111260619, 0.0009393028, 0.0375074744, -0.0108922515, 0.0632046536, -0.0156358834, -0.0789625347, 0.0017090368, 0.023193758, -0.0199715383, -0.0631595924, 0.0750986636, -0.0258944407, 0.0021944295, -0.0052268757, -0.0093858, -0.0376839824, 0.0341469683, 0.0353602208, 0.034960486, -0.0329525471, -0.0166320093, 0.0137244351, -0.0412416048, 0.0225563664, 0.0302370712, 0.0205016881, 0.0154927494, 0.0637697577, 0.0910245553, -0.0005747104, -0.053358499, -0.0023321679, 0.0276100766, 0.0020226168, -0.0475657433, -0.0851541311, -5.651809532e-33, -0.0247456562, -0.0183339417, 0.0283331778, 0.0422882102, 0.0094029997, -0.0327833481, -0.0379252955, -0.0235161278, -0.0437544696, -0.0505756624, 0.0251022298, 0.0270854905, -0.0136361346, 0.0006947822, 0.0473879166, 0.0090960255, 0.059669178, 0.0559596568, -0.0020280723, 0.0659772679, -0.0323058851, 0.0477665178, 0.0359515324, -0.0505766869, -0.0419693775, 0.0022390217, 0.0713905767, -0.0078728525, 0.0226865653, 0.0469273813, -0.0034420323, 0.0051979166, -0.0074218051, -0.0155950859, -0.0329212509, -0.0297262017, -0.0113295875, -0.0536106862, 0.0012341625, 0.0052876142, -0.0209266134, -0.0499304123, 0.1320115924, -0.0307431687, 0.0237631295, 0.0375119746, 0.0672958493, 0.0335130505, -0.0026675037, -0.0327491462, -0.05626316, 0.0174915623, -0.0413689055, -0.0184640326, -0.0270559415, 0.0476299301, -0.0137083093, 0.0300847031, -0.0090921083, -0.0288450737, -0.0114381723, 0.0724209845, 0.0501882471, 0.0052405787, -0.0019341779, 0.0049761524, 0.0616986193, -0.0231092684, -0.0266322903, 0.0360710062, 0.0575037412, 0.036205925, 0.0426795669, 0.0019214947, 0.0215507839, 0.0054541654, -0.0168989021, 0.0180479921, -0.0063780202, 0.0527406037, -0.0026239452, 0.0522418581, -0.0286784563, -0.0123518286, -0.0301085655, -0.0265454408, -0.0304216053, -0.0531530231, 0.0336634852, -0.0081779379, 0.017020978, 0.0225303862, 0.0024054688, -0.0089407954, 0.0441168733, 0.017261507, -0.0285946596, 0.0319411568, 0.009133528, 0.021245582, -0.0230944529, 0.0096217934, 0.0259088725, -0.0363121778, 0.0742865279, 0.020266708, 0.0002202405, 0.0382302366, -0.0208879914, -0.0133975362, -0.0581815131, -0.0275166612, -0.0347076915, 0.0110135032, 0.0041282582, 0.0170802046, -0.0253369156, 0.0169900171, -0.023045063, -0.0219859742, -0.0633947849, -0.0291921645, 0.0301156566, 0.0028605685, -0.0516553856, -0.0457342453, -0.0208655782, 0.0597802959, 0.041174829, -0.0334260911, -0.0516808815, 0.0241920874, 2.945e-7, 0.0016146, 0.016270915, 0.0184658486, 0.0466019586, -0.0329583623, 0.0200164896, 0.0089352755, 0.031108981, 0.0310029164, 0.0131009603, -0.0451163724, -0.0233957898, 0.0009209703, 0.0270145722, -0.0829016194, 0.0131933698, 0.0087452158, 0.0093739117, -0.0646794662, 0.0061016916, 0.0406805016, 0.0758686811, 0.0210282188, 0.0107890442, 0.0355813727, -0.033379402, -0.017517861, -0.0138559313, 0.045331534, 0.0413618796, -0.0191745162, 0.0545938797, -0.0116070872, -0.0174701102, 0.0031400495, -0.0158828199, 0.027722517, 0.0099721439, -0.0219910797, 0.037647754, 0.0123489024, -0.0092019159, -0.0040794862, -0.045567926, 0.0051076789, -0.0533134416, 0.0063175112, 0.0141132791, -0.0220347587, 0.0375353098, -0.0130531583, -0.0158081148, 0.0229245033, -0.0253246762, 0.0086483099, -0.0475965291, -0.0428174101, -0.0501403287, -0.0129043991, -0.0076865084, -0.0125892339, -0.0036859673, -0.085741207, 0.0203666482, 0.0368902236, 0.005772606, 0.0202450491, 2.807174182e-34, -0.0015807367, -0.0297368634, -0.0018876239, 0.0367024317, 0.0279948842, -0.0036399853, -0.0026998359, 0.0308375638, 0.0037313199, -0.0433635786, -0.0551500097 ]
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.0892652571, 0.0136917094, -0.0562808812, 0.0214987807, -0.0367808789, -0.0050612786, -0.0152167464, -0.0126943653, -0.000332677, -0.0342332944, -0.0568811446, -0.0313159153, 0.0212138556, 0.0311707743, 0.0305393804, -0.0732560828, 0.0601373836, -0.0457564257, 0.0058704079, -0.009865569, 0.0055000801, -0.0208298173, 0.0121977571, 0.0270624664, -0.0173041634, 0.004377888, -0.0482562818, 0.006271102, -0.0055975262, 0.0195863452, -0.0257111732, 0.0602730848, 0.0005914075, 0.0201384686, 0.0000020528, -0.0542921945, -0.0033264495, -0.0347825922, -0.0514953434, 0.0476870574, 0.0439376831, -0.006648195, -0.0446908437, -0.0078919437, -0.0340332538, 0.0403470136, 0.0715202317, 0.001902831, 0.062904425, 0.0770316944, 0.0016154979, 0.0207793936, 0.0208480041, -0.0152525287, -0.0101051768, -0.0387309492, 0.0207641777, 0.0075233639, 0.0039295368, 0.0023014355, -0.0228369031, 0.0562516116, 0.0244366508, -0.0447950624, -0.0134933004, 0.0042291442, -0.0150168575, -0.0178726371, -0.0219553653, 0.0464983359, 0.0286166854, -0.0254057311, -0.0024808331, 0.0025441449, 0.039855659, 0.0146156903, -0.0365458801, 0.0164851993, 0.0218010526, -0.0139956214, -0.0115038306, -0.0456925407, 0.0237830523, 0.0071122777, -0.0071180798, 0.0451747365, 0.0251878556, -0.0379034802, -0.028824985, -0.0296093263, -0.0050611738, -0.0843985155, 0.004954163, 0.0450692959, -0.0490549095, 0.044603318, -0.0711675286, 0.0101966364, 0.0110985683, -0.0279934555, 0.0691777915, 0.0384196267, 0.0067358762, 0.0276917331, -0.0068345894, 0.0749617815, 0.0044755177, 0.0024594811, -0.0131332437, 0.0090305312, -0.0647369549, -0.0389196537, -0.0590800978, 0.0387023576, -0.0106705343, 0.0137214921, -0.0365433022, 0.0690104961, -0.0034698416, 0.0346879289, -0.0346718058, -0.0060027419, -0.0307468064, -0.0276029911, -0.0254450347, -0.0049835015, -0.0287897829, 0.0184525158, 0.0422362238, -0.0649084821, 0.0032121479, -0.0139518362, -0.0079709971, -0.0187449399, -0.0175452139, 0.0560078844, -0.027389016, -0.0280990358, -0.0325033069, -0.0445441119, -0.0168500394, -0.0606758967, -0.004702162, -0.0320489071, 0.0580684543, -0.0101859309, -0.0339119732, -0.0838733912, -0.0076474026, -0.0214012228, -0.0419200547, 0.0515714549, -0.0086440323, 0.0437890925, 0.0614451915, 0.01564488, -0.0280401539, 0.0424220562, 0.0607403554, 0.0284531713, 0.0577059463, -0.0004025007, 0.0333174057, 0.0477194414, -0.0001086578, 0.0145301912, -0.0212220158, 0.0041889558, 0.0018524793, 0.0259548426, 0.0127807492, 0.066329509, -0.0220993739, -0.0230952129, 0.1093850657, 0.0202877689, -0.0245514885, 0.031010475, 0.0495150089, -0.0095284097, 0.0403657071, 0.0339668021, -0.0491665974, 0.0052927448, -0.0379553027, 0.0311245471, -0.0237399805, -0.0111214304, -0.033550445, -0.0343907028, -0.0003188408, 0.0128543442, 0.031072421, 0.0012184727, 0.003441764, 0.0327976421, -0.020136226, 0.0403654687, 0.0189070087, -0.0448788069, -0.0166813228, -0.0749793649, 0.0042891428, 0.0736339837, 0.03743672, -0.0218674392, -0.030021634, 0.0074184826, -0.0056387899, 0.0380196273, 0.0923543945, -0.0282518324, -0.0058326568, -0.0261291023, 0.0354043394, -0.0315951258, 0.02835989, 0.0260893311, 0.032200478, 0.0004008515, 0.0119645158, 0.0121631697, -0.0101005342, -0.0017260553, -0.0442965887, -0.0117619755, -0.0253933221, 0.0039506219, -0.0041778903, 0.002918853, -0.0301563907, 0.0021619375, -0.0153940907, 0.0100075677, -0.0021547088, 0.032895226, -0.0524629205, 0.0195905399, 0.0338181518, 0.0272931177, -0.0303418282, 0.0120881749, -0.0053587379, -0.0316837691, 0.0244844537, -0.0691764578, 0.0582512952, -0.0292629302, 0.0687888488, -0.0179661456, -0.0214080792, -0.0127374148, 0.0267309994, -0.011223346, -0.0659789219, 0.0442110188, 0.0241064914, -0.0288411826, -0.0632314682, -0.0206816848, 0.0356915444, 0.0067279804, -0.0128814969, 0.0094564119, -0.0197977219, -0.0433432534, -0.0685845241, -0.0911105648, -0.0287577529, -0.0188587382, -0.0254018437, 0.0336304866, 0.0150279002, -0.0305650849, 0.0202828571, -0.0354434066, 0.0109558394, -0.0001729585, 0.0490944013, 0.030735597, 0.0270474982, -0.0516828671, -0.0618003607, 0.0183802675, 0.0161343701, 0.0287674312, 0.0028933524, -0.0348973647, -0.0649187267, 0.0548833236, -0.0651132613, 0.0120092994, -0.0092061125, -0.043628417, 0.0092096822, 0.0139450589, 0.0974111855, 0.0666498095, 0.0145943193, 0.0421605855, 0.0640726388, -0.0322781615, -0.0295675863, 0.0113883857, -0.011315708, -0.0495691001, -0.0293790083, -0.0598645322, 0.0171277039, 0.0624374337, 0.0215760004, 0.0211016852, -0.0455593951, 0.0515685678, 0.0184825528, -0.08602608, -0.0248404369, -0.0470347442, -0.0397542752, 0.0456974171, -0.0270492658, -0.0530940965, 0.074509263, -0.0218634605, 0.0155868307, 0.0063425489, -0.011801309, 0.0065621543, 0.0774872825, -0.0158737879, 0.0351302251, 0.0102383737, -0.0180307832, -0.0707608238, -0.0416772813, 0.0174580123, -0.030777555, 0.0175748616, -0.0938970149, -0.0120912241, 0.0375474393, -0.0405729599, -0.046120178, 0.0133718355, -0.0476225317, 0.029165769, 0.0316193737, -0.0333414115, -0.0074375211, -0.0091652293, 0.0462920815, 0.0446745902, -0.0001534699, 0.0059178383, -0.0170817114, -0.0220563486, 0.0735417008, 0.0375245139, 0.016406808, -0.0389142781, 0.0478680879, 0.0267065577, 0.0169475153, -0.0353937075, -0.0046513174, -0.01290261, -0.0063130972, -0.0541075394, -0.0315554664, 0.0334589705, 0.0538485944, -0.0349795595, -0.0313379467, 0.0916845575, 0.042142164, -0.0272342265, 0.0388521031, -0.0493449979, 0.0340927616, 0.0277479142, 0.0371535346, -0.0693338588, -0.010221838, 0.0441749357, -0.001392663, -0.0463248678, -0.0287244078, -0.0335802808, -0.1099014804, 0.0298609808, 0.0024961105, -0.048107855, -0.045045685, -0.0005699874, -0.0033963709, 0.0301183071, 0.0408499651, 0.0337305702, 0.0048934259, -0.0168518052, -0.0133795785, -0.0248024706, -0.0361608081, -0.0000769195, -0.0125872549, 0.0812597945, 0.0581972972, 0.005685519, 0.024202833, -0.0242209509, 0.0327471457, 0.0627440289, 0.051569581, -0.0032822185, 0.0100379083, 0.0148759857, 0.0095363175, -0.0073397807, 0.018549256, 0.0295795463, -0.0273587611, 0.0470735878, 0.058855854, -0.0459029935, 0.003648272, 0.0181476045, -0.000135987, -0.0042533479, 0.0691111684, 0.069536984, -0.0504054502, -0.013764387, -0.030991029, -0.021772515, -0.0118332244, -0.0387771167, -0.0037739424, -0.0176958144, 0.0005869121, -0.0930027291, -0.0637939796, 0.0224108957, -0.0075838468, 0.0550796241, -0.0276371706, 0.0140314996, -0.0040542586, 0.008236154, -0.0138454838, -0.0557467975, -0.0057147141, -0.0655166581, -0.0358457118, -0.001573006, -0.0744313151, 0.0092186313, -0.0000878508, -0.0407424122, -0.0899936706, 0.0392467044, 0.0572577603, 0.0347418152, 0.0432265475, 0.0238469038, -0.0732392892, -0.0136101702, -0.0040193587, -0.0151624046, 0.0723034665, 0.0237655938, 0.0084715113, -0.0000263102, 0.0590539202, -0.0398639962, 0.0050065038, 0.0374757759, 0.0385650881, -0.0089641744, -0.0662124604, 0.0246693175, 0.0463861264, -0.0143141793, 0.0068148524, -0.0106657688, -0.0149507569, 0.0469214618, -0.0403035954, -0.0113169141, -0.0216829441, 0.0063314415, -0.0035429401, 0.0263619702, 0.0032122028, -0.0393825993, -0.0459612347, 0.0554008223, 0.0087656658, -0.0203685258, -0.0311399512, 0.009520256, 0.0384387448, 0.0402993746, -0.0271939114, 0.0808565021, -0.011346397, 0.032132294, 0.0286793634, 0.0754990131, -0.0030712045, -0.0521496609, -0.0642341673, 0.0423752926, -0.0740828738, -0.0681770369, 0.0291793756, 0.0433649868, 0.0408763811, 0.0078761429, 0.0230606515, -0.0825158507, -0.0058154226, -0.0229394678, 0.0123610534, 0.0509558655, -0.0630942136, 0.0133502269, 0.0094714314, -0.0177182704, 0.0267411843, 0.0389282294, -0.0379358381, 0.0843386278, -0.0253833663, 0.004355235, -0.0376951844, -0.0476087481, 0.010493313, -0.0236790087, -0.0435201675, -0.0315154083, -0.0830976442, -0.0596112497, 0.0130753592, 0.0087050498, 0.0244122483, -0.0320834443, 0.0369882993, 0.0473542772, -0.0179744288, 0.0169445854, -0.0234700833, 0.0263810027, -0.0165001154, -0.0032914726, -0.0148081165, -5.860675409e-33, -0.0153522724, 0.0062809521, 0.0256368238, -0.0161312874, -0.0131471083, -0.0163591467, -0.0590203628, 0.040104568, -0.0014409949, -0.0080731614, -0.0519184768, -0.0086332737, 0.0148843909, -0.0040023117, 0.0013643582, 0.0073599559, 0.0662205368, 0.021279024, -0.0524655059, 0.011277427, 0.0210125986, 0.0105092144, 0.0209007338, -0.0514505841, 0.0425532348, 0.0104078697, -0.0247715898, 0.0107295513, -0.027571464, 0.0519913808, -0.0064119333, 0.0216963831, 0.0036877065, -0.0228282455, -0.037919309, 0.0142638218, 0.0017902736, 0.0051922817, 0.0555092767, 0.0151872495, -0.0087205181, -0.0711010993, 0.0075119226, -0.0287541095, -0.0502247736, 0.028278254, -0.0100995554, -0.0410417058, 0.0061337715, 0.0150549691, -0.0753273517, -0.0036513088, 0.0006196783, -0.0264884494, -0.0192053784, 0.0172007512, -0.0102479542, -0.0072671673, -0.0353181846, 0.0453736261, 0.0584803186, 0.0177353919, 0.0608625412, 0.0075865979, 0.0100786369, 0.0503692515, 0.0546970405, 0.0667627826, -0.013425353, 0.0057842466, 0.0022859441, 0.0178808905, 0.0271700639, 0.0658683479, -0.0310999174, -0.0278682914, 0.0132416943, -0.0343005769, -0.0205669198, 0.0127204806, 0.0153421676, 0.0163303223, -0.0283095688, -0.0010960586, -0.0579906367, 0.0556008071, -0.0325964428, -0.0475281365, 0.0379026867, 0.0131283635, -0.0098300064, -0.033112485, 0.0163195226, -0.0112415887, -0.0046201642, -0.0069461381, -0.0309913326, 0.0520409048, -0.0099760192, -0.0127480719, -0.0170757696, 0.0005107053, 0.020158086, -0.0077407947, -0.0007908465, 0.0321458876, 0.0217878688, 0.0496462211, -0.03297076, 0.0193276629, -0.0115620345, 0.0431020558, 0.0062607252, -0.0499281436, 0.0084638018, 0.0003162465, -0.03372081, 0.0177388601, 0.0283769071, -0.0254709106, -0.0445247442, 0.0168054681, -0.0159062985, 0.0158825908, -0.0538462251, 0.0035255114, -0.0287214704, 0.0436064824, 0.0250879321, -0.0255819894, 0.0038841469, -0.0213480573, 2.853e-7, -0.0039815754, 0.0539576188, 0.0241201743, 0.0163546186, 0.0328472108, 0.0300784204, -0.0151536195, 0.014678522, 0.01707335, -0.0218865462, 0.0118437614, 0.0269716904, 0.0406451598, 0.000567987, -0.0660374314, 0.0007085797, -0.0547225028, -0.0014051849, -0.0456374288, -0.0043726768, 0.0327630378, 0.0593579113, 0.0236148238, -0.0055989888, -0.0181928445, -0.0346145928, 0.0477883145, -0.0653948709, -0.0205671061, 0.0090761352, 0.0336387865, -0.0031488193, 0.0062971618, 0.0191499181, -0.0148689654, -0.0161129944, -0.0242423192, 0.0848631784, -0.0075109354, 0.010895675, 0.0076987171, -0.0064556631, -0.0253072698, -0.0440155268, 0.0428525321, -0.0476253778, -0.0060132872, -0.0105992407, 0.0173607562, 0.0116899805, -0.0032008477, -0.0498645604, 0.0021270539, 0.0147398598, -0.0052769617, 0.0472695194, 0.0189291295, -0.0357443243, -0.019886015, -0.005847197, -0.0201781355, -0.0669587627, -0.0606699325, -0.024934195, 0.0208872575, -0.0810471326, 0.0188250542, 2.266315685e-34, 0.0199850835, 0.0185644068, 0.0456668809, 0.0475387126, 0.0572994128, -0.0033530197, 0.0304594673, 0.0389153734, 0.0421271808, -0.0614307858, -0.0442172028 ]
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.0217025392, 0.0464618653, 0.036104437, 0.0415018909, 0.0050736517, -0.0100053977, 0.0320030227, -0.0314046219, -0.0457210578, -0.0493414253, -0.0775606781, 0.0005693117, 0.024208406, 0.0264206473, 0.0273643974, -0.0472260863, 0.0420440286, -0.0676204488, -0.0511604175, 0.0006955538, 0.0148362322, 0.0255865399, -0.0390741378, 0.0032423639, -0.031474743, -0.0394194461, -0.0225051679, 0.0510595664, -0.018249901, -0.0030410851, -0.0580202676, 0.0408292152, 0.074542731, 0.0313908011, 0.0000016186, -0.025341507, -0.0031113364, -0.0037404636, -0.07521981, 0.0254387725, 0.0244285408, -0.0546137802, 0.0096875867, 0.0288562495, 0.000152042, -0.0581202023, -0.0011934855, 0.0763880312, 0.0593984574, 0.0226390082, 0.0023249488, -0.0170317814, 0.0104144718, -0.0426205285, -0.0054142321, -0.0657186732, -0.0024584511, 0.0308986232, -0.0232516099, -0.0107953241, -0.0330079943, 0.06176465, -0.0095709004, -0.017397631, 0.0048163827, 0.033242885, -0.0254953206, -0.0321859419, -0.0308746267, 0.0764967054, 0.0284372885, -0.0086107925, 0.0099551799, 0.0056220023, -0.0183386952, 0.0241352879, -0.025520904, -0.0218651332, 0.0159869064, -0.0076871263, -0.0045361547, 0.0445736907, 0.0280705076, 0.01014667, -0.0234692357, 0.0327008292, -0.0145192519, -0.0112893702, 0.0291559491, -0.0301979724, -0.0179929491, -0.0156696327, -0.0079985345, 0.0086860415, 0.0028595545, 0.0336619839, -0.0480774753, 0.017209677, -0.0206432752, -0.0367247835, 0.04667468, 0.0598660633, -0.0593366101, 0.0548397601, 0.0092301313, 0.0564378463, -0.0145540787, 0.0163078383, -0.0455349386, -0.0023776209, -0.0423023142, 0.0004115329, -0.0866550729, 0.0251907725, -0.0783562064, -0.0409756303, 0.0118706245, 0.0010430962, 0.0014273047, -0.0131522054, 0.0378861688, 0.0097817164, -0.0760639682, -0.0095974226, -0.0039835344, 0.0355134048, 0.0010923852, 0.0112587307, -0.0311897695, -0.0195209291, -0.022991797, 0.0154417055, 0.0379242338, -0.022805484, -0.0046012765, 0.0813064054, -0.0020947475, -0.0370985046, -0.0108301202, 0.009335245, -0.0102710957, -0.0338711403, -0.0199621823, -0.0095016882, 0.0125157349, -0.0391325839, 0.0006707492, -0.0238931626, 0.0108927432, -0.011541429, 0.0139451949, 0.110558711, -0.0095031569, 0.0105618481, 0.0275879521, 0.0188648179, 0.0035823211, 0.0840986669, -0.0040982286, 0.0196673535, 0.0235612504, -0.0145028373, -0.0075543798, 0.0393305346, 0.0336424708, -0.0212483164, -0.0518379994, 0.0157539248, 0.0043253056, 0.0416939445, 0.0765416175, 0.0437176935, -0.0358207002, -0.0434187762, 0.0657031611, 0.0593592301, 0.0263015628, 0.0051541906, 0.0331437513, 0.0488229468, -0.0158432722, 0.0165904295, -0.0380528271, -0.0160456654, -0.0447992496, 0.0233255345, -0.0234983657, -0.0186564699, -0.060643781, -0.0449269079, -0.0273756925, -0.0090943342, -0.0042092325, 0.0269557908, 0.0559556335, 0.0493817702, -0.0547396727, 0.0282327291, 0.0165398885, -0.0396861546, 0.036370948, -0.0112479236, 0.0238214061, 0.0624810681, 0.0314081311, -0.011998021, -0.0090381838, -0.0200024284, 0.0103727793, 0.0588649847, -0.0042995764, -0.0188196804, 0.0507756732, -0.0479211733, -0.0285431761, -0.0006565224, -0.0217412598, 0.0040535587, -0.0374833569, -0.0183648914, -0.0164633244, -0.068274349, 0.019576095, 0.0399573855, -0.0155980727, -0.0106223561, -0.035277959, 0.0270750392, 0.0107952207, 0.0184653196, -0.0184046011, -0.02551567, 0.0269168802, -0.0261933152, 0.0258425288, 0.0177262723, -0.0568414517, -0.0670928732, 0.0191968624, -0.0216701031, 0.0020850478, 0.0590079837, -0.0088932784, -0.0515644588, 0.0206795502, -0.0086035952, 0.0483705737, -0.0881213546, 0.0131432833, 0.0423648767, 0.035084065, -0.0193710364, 0.014919254, -0.0053563695, -0.0152479606, 0.0085227052, 0.0468382351, 0.0186779592, -0.0377211124, 0.0010203868, 0.0382291414, -0.0210678913, 0.0164361931, -0.0459133387, -0.0024491295, -0.0473522432, 0.0054522171, -0.0856858566, -0.018566601, -0.0280949771, -0.0166678783, 0.0421852246, -0.0009988298, -0.0215602834, -0.0376724042, 0.0111628696, -0.0136038931, -0.0260668807, -0.0486876145, -0.0048662541, 0.0147201763, 0.0011523152, -0.0509692207, 0.0119742891, 0.0327868238, 0.0415406302, -0.0041685537, -0.0231782179, -0.0377934501, 0.0231169648, -0.0178948455, 0.0509460568, -0.0165199693, -0.0257691406, -0.0348114483, 0.0038865602, 0.0145912198, 0.0273041222, 0.0040147002, 0.0536979809, -0.0092376387, -0.0368795954, -0.0427123494, 0.0135922488, 0.0093071209, 0.0164912343, -0.0138854133, 0.0281398669, -0.0422760397, 0.0668321401, 0.0298543405, 0.0267305691, -0.044415161, -0.0254693013, -0.0193105061, -0.0500516705, -0.0674837977, 0.0050631706, -0.0016503501, -0.0024388384, -0.0512522869, -0.0282324012, 0.0549279936, -0.1180543527, -0.0358098783, -0.0255280957, -0.0448722653, -0.0209147781, 0.0567535274, -0.016234668, 0.0041224998, -0.0329291858, -0.0395354033, -0.0435615964, -0.0321017131, 0.0015990053, -0.0201876294, 0.0748598352, -0.0310583413, 0.036515642, -0.0157008003, 0.0122307353, -0.0662264898, -0.0627499521, -0.0608868524, -0.024924757, -0.0647208616, -0.0116922809, -0.0093232524, 0.0553486794, -0.0073788241, 0.0766417682, 0.0082246391, 0.0128281135, -0.0310755521, 0.0512657128, 0.0363711752, 0.0358143635, -0.0332478508, 0.027754711, 0.0660188049, 0.0253646635, 0.0598948859, -0.0161580592, -0.0453502126, 0.0253493395, 0.0200449694, 0.0092508486, -0.0187040884, 0.0034324585, 0.0232379604, -0.0570901483, -0.0227356162, 0.1083678082, 0.0096600186, 0.0345676392, -0.0124204615, -0.0035878967, 0.0339746699, 0.0515692532, 0.0221678019, -0.0139320577, -0.0635065883, 0.0294561032, 0.0067374478, 0.0458577201, 0.0349811874, -0.0288487207, -0.07694076, 0.0422536246, 0.0063104709, -0.029571088, -0.018964665, -0.0094611496, 0.0149869863, -0.0089655779, 0.025681166, 0.0132230269, -0.0249898769, -0.0208665095, 0.0348917991, -0.0369950719, -0.0181296803, 0.0319517702, -0.0226679146, 0.0469078049, 0.0416372083, 0.0267755408, -0.0108072627, -0.0275641959, 0.0383788086, -0.0461025722, 0.018907316, -0.0313746482, 0.0549274944, -0.0420907885, -0.0123460284, 0.0281986613, 0.0539899431, -0.0298258997, -0.0125565408, -0.0191713292, 0.0427983999, -0.0169630554, 0.0251437258, -0.0065035229, 0.0551630259, -0.003710568, 0.0841175914, 0.0454692915, -0.0209224522, -0.0128861992, 0.0096868267, 0.01891388, -0.0029197985, -0.0328250267, 0.0169588272, 0.0102081224, -0.0320236459, -0.0347043537, -0.0474324673, 0.0344802439, 0.0865592435, -0.0075600147, 0.0211310238, -0.0041526398, 0.0199882612, -0.0609250143, 0.083300598, -0.0149402516, 0.0144264167, -0.0385435298, -0.0279223435, 0.0804906562, -0.0652477145, -0.0239728559, 0.0258420669, -0.0335162766, -0.0248570424, 0.0023476125, 0.0157286432, 0.0256666876, 0.0967859626, -0.0201793704, -0.0289728288, 0.0550771393, 0.0009013852, -0.0254246686, 0.0290318672, 0.0602078438, 0.0003677815, -0.0181974843, 0.0259134118, -0.0115946438, 0.0372230262, -0.0209356714, 0.0204503573, -0.0050984127, 0.0351229422, 0.0128742876, -0.0091404524, 0.0887156203, -0.0011535947, 0.0031924164, -0.0659833923, 0.0421879254, 0.0002400954, 0.0169454385, -0.0561236851, -0.0049104551, 0.0009830856, -0.0297904033, -0.0136634782, -0.048837848, -0.0677374005, 0.0108734677, -0.0064536086, 0.0031711271, -0.025047306, 0.0149690295, -0.0407587364, 0.0146910083, 0.0085901432, 0.0327653773, 0.0262368433, 0.0376763344, 0.0098104775, 0.0522360764, -0.0096656093, 0.0077223182, 0.0025890791, 0.014171253, -0.0329999663, -0.0034277614, -0.0458679497, 0.0304187983, 0.0006537415, -0.0150808031, -0.0192906745, 0.0343797281, -0.000882154, 0.0058583077, 0.0166446064, -0.0476893783, -0.0286774002, 0.0670653433, 0.0177326072, -0.0125556476, 0.0000212435, 0.0256978534, 0.0500436462, 0.0175356232, 0.0003382398, 0.0592073053, -0.0528908111, -0.0281586628, 0.0128693189, 0.0182589982, -0.0271309987, 0.0152493427, -0.0351892449, -0.0892621353, 0.0582711287, 0.0245945454, -0.0265211966, 0.0041423012, 0.0307948142, 0.0063199135, -0.0238232762, 0.0183402039, 0.0009978404, -0.0057626804, 0.0147752995, 0.0211254135, 0.0528040454, -5.960567817e-33, -0.0842167363, 0.002184811, 0.012496111, 0.0076165413, -0.0284805857, 0.0368055627, -0.0149473231, 0.0063897423, 0.0329043828, -0.0017897137, -0.0149539672, 0.035464298, 0.0245694574, 0.0535794124, -0.0755454823, -0.033904776, 0.0797607526, -0.0157815609, -0.0044727833, -0.015518357, -0.002471871, 0.063096337, 0.0502709337, -0.0502936095, -0.0417156778, 0.0003876358, 0.0144949453, 0.0227764491, 0.0344913565, 0.0561212525, -0.0346804671, 0.0243066587, -0.0205083881, 0.0071343603, -0.043425858, 0.0400844514, -0.1248258874, -0.0040585394, 0.0520349666, 0.0497661941, -0.0521902479, 0.0581473708, 0.016092455, -0.0085921688, 0.000069787, -0.0277491547, 0.012663682, -0.0241442062, -0.0456668846, 0.0324701779, -0.0080933394, 0.0147414077, -0.0066045979, -0.013923442, 0.0763748884, 0.0159924682, 0.0303334892, -0.0079242736, -0.0614412576, -0.0104561392, -0.0298785158, 0.0202607401, 0.0900395289, 0.0540796556, -0.0046480699, 0.0560484268, 0.0517238639, -0.0841348693, 0.0102568874, -0.0494029112, 0.0506514162, 0.032712236, -0.0070657199, 0.0121921832, 0.0181928985, -0.0107742557, -0.0151098762, 0.0209286492, -0.0254126228, 0.0054173185, -0.0048891567, 0.0291862395, -0.0371277742, 0.0099949613, -0.0780256912, -0.0442648456, -0.0299328845, 0.0131907612, 0.0602135807, 0.0315609835, -0.035578344, 0.0466803983, 0.0577010699, -0.0332245529, 0.0021649092, 0.0303831827, 0.0070954906, 0.0058098086, -0.0260011852, 0.0767341331, -0.0399802774, -0.0250012409, 0.0357166789, 0.0412171595, 0.0055280258, -0.0477304421, -0.0116269756, 0.0134308357, -0.045909673, -0.0212497525, -0.0352712534, 0.0178933945, -0.0652951151, -0.019904349, 0.0468969308, 0.0041615693, -0.0410624668, 0.0631988794, -0.0166258533, -0.0586245321, -0.032656353, 0.0153209995, -0.0076209507, 0.0373153314, -0.0156492647, -0.0123773227, 0.0251072925, -0.0703541562, 0.057343021, -0.0721994191, 0.0133821843, 0.0316326804, 2.41e-7, 0.0040586963, 0.0023076306, 0.0382665209, -0.0185837075, 0.0003839978, 0.0160519667, -0.0270874649, 0.0015324276, -0.0111867534, -0.0759716779, 0.0360146239, 0.0489637032, 0.0360454582, -0.0112240203, -0.0381007008, 0.0334930383, -0.0135142701, 0.0086341435, -0.0395777747, -0.0177036673, -0.0184160136, 0.101396881, -0.0186303388, -0.025757065, 0.0257738028, -0.0111586535, 0.0494471677, -0.014619776, -0.0069060884, -0.0191109516, 0.0049911276, 0.0209860709, -0.0086447215, 0.0391199216, -0.0002219777, 0.0482372977, 0.0591609627, 0.0366589911, -0.0286497623, -0.0351445526, -0.0478661247, 0.0254717078, -0.0169999264, 0.0208289754, 0.0543350503, -0.0476916283, -0.0051556244, -0.0197418518, -0.0242921226, -0.0017893678, 0.0119446088, 0.0110916169, 0.0064366674, 0.0584917665, 0.0399898626, -0.0439119749, -0.0311499722, -0.092271477, -0.0016508098, -0.0195078701, -0.0633595809, 0.0250336956, -0.0349650234, -0.0050068344, 0.0185108948, -0.026505148, -0.0465418883, 1.723522559e-34, 0.0398484692, 0.0075585023, -0.0263825525, -0.0148694851, 0.0023848277, -0.0252747536, 0.0107442075, -0.0158683769, 0.0505747758, -0.0581752919, -0.0076147993 ]
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.0202629808, 0.0947857797, -0.0235413834, 0.0176703744, -0.0451969914, 0.0307924133, 0.0441532806, -0.0201589186, -0.0250598118, -0.0358278602, -0.0468711704, -0.0580964535, -0.0022575243, 0.0106575564, 0.0263060816, 0.0083013242, 0.0420861244, -0.021744987, 0.0234801583, 0.0015779787, -0.0173937231, 0.0126292398, 0.0093086753, 0.0157651864, 0.0004029184, -0.0334567018, 0.0028410044, 0.0006685597, 0.0018477204, -0.0040199561, 0.0183156822, 0.0449212044, -0.0059437747, 0.0437680595, 0.0000023439, -0.0481658094, -0.0638271794, -0.0019127517, -0.0333052017, 0.037584383, 0.0354736373, -0.0122524342, 0.0026392292, 0.006960433, -0.0178974345, -0.0144232884, 0.0690336302, -0.0033991917, 0.0191513784, 0.0708313659, 0.0058851335, 0.012748831, 0.0123650534, -0.0423788391, 0.0163141191, -0.0242200755, 0.0433970653, -0.0525421686, -0.0911444947, -0.0301981177, 0.0003104488, 0.0649981201, 0.0114486385, 0.009139332, 0.0039048472, 0.0476632304, -0.0155538293, -0.0507901236, -0.0015275571, 0.0309914444, -0.0144156199, 0.0061910083, 0.038031064, -0.0294322241, -0.0201489758, -0.0153936651, -0.0459001549, 0.0377632901, -0.0006600861, 0.0136955716, -0.007928865, -0.0404995568, 0.0492575839, 0.0325844809, 0.0173986293, 0.0215438586, 0.0339179188, -0.0071445028, 0.0066557475, -0.0284799859, -0.0261276364, -0.0468599238, 0.0525781289, 0.0369813554, 0.0216888953, 0.0431125723, -0.0170374997, -0.0159076136, 0.0298354793, -0.0517541915, 0.0632874593, 0.0007516683, 0.009527375, 0.0142731536, -0.0357653908, 0.0610499084, 0.031597171, 0.0161551088, -0.0207928922, 0.0241686348, -0.0174412839, -0.0314858109, 0.0219347682, 0.0518355109, 0.004547176, 0.0257649738, -0.0279635582, -0.0017741661, -0.0353322588, -0.0023557891, -0.0135925263, 0.0244024768, -0.0788156837, -0.0034478167, -0.0259467587, 0.0122628594, 0.0004367965, 0.0091281785, 0.0444461145, -0.0730106533, -0.0127784275, -0.0137570668, 0.0240045935, -0.0261139236, 0.0165098906, 0.0714442879, -0.0110371504, -0.0480848663, -0.04144153, -0.0438197479, -0.0116670923, -0.081809476, 0.0463732816, -0.0314679556, 0.0302537885, -0.0400913693, -0.0255835932, -0.0983484089, 0.0171406753, 0.0428664163, -0.0260009225, 0.0068670767, 0.0044092778, -0.0197488517, 0.0473000109, 0.0294645578, 0.0037322962, 0.0517713986, -0.0035152195, 0.0603267923, 0.0271377061, -0.012322423, 0.0447623134, 0.0248335693, 0.0283734743, -0.0279606432, -0.0486008003, -0.0405373834, 0.0375702307, -0.0203246698, 0.050927788, 0.0667029992, -0.0409088545, -0.0176832546, 0.0858947262, -0.0112417806, -0.0002286347, 0.0311938263, 0.0141562046, -0.0115265064, 0.0025373227, 0.0288251285, -0.0546329096, -0.0039265295, -0.0463573448, 0.018366009, -0.0060445662, 0.0280796308, -0.02490215, -0.040937636, 0.009584561, -0.0499344915, 0.0414250493, 0.0119485548, 0.0608355738, 0.0398173481, -0.0355001315, 0.0847791061, 0.0376645364, -0.0561950952, 0.0474032238, -0.0423247106, 0.0268375576, 0.0397372097, 0.0559700467, -0.0306986552, -0.0393060446, -0.0094176084, -0.0362826698, 0.0055639781, 0.0094140144, -0.0097751766, 0.0758436918, -0.0753365234, -0.0114526926, 0.007681103, 0.0338655934, 0.0124429464, 0.0346975327, -0.0435814634, 0.0560568981, -0.0419535376, -0.0382782742, 0.0466824695, -0.0617826767, -0.0688985959, 0.0134374956, -0.0096398788, 0.0087026795, 0.0126851108, 0.0059301439, 0.0180254038, 0.0577648282, -0.0108532906, 0.0102495095, -0.0611386411, -0.082096085, 0.013539454, 0.0120478831, 0.0209053587, 0.0351495855, 0.0303086042, -0.0129259406, -0.0110846665, 0.0045413249, -0.0219291635, 0.021111697, -0.0593619384, 0.0303161107, -0.016604865, -0.002675978, -0.0348692425, 0.0850458592, -0.050019376, 0.0089516779, -0.0016977279, -0.0276110265, -0.0426509827, -0.0659637973, -0.0414372161, 0.0067774914, -0.0159986299, 0.0179733466, 0.03145051, -0.0036148098, -0.0496343859, -0.0363044515, -0.0626508966, 0.0056611612, -0.0070468984, 0.0106785335, 0.0022422699, -0.012615894, -0.0050812559, -0.0060448796, -0.006163863, 0.0078155352, -0.0347198844, 0.0444805287, 0.0105586899, 0.0150458543, -0.0094859898, -0.0267422479, -0.0207743961, 0.0136437435, 0.0583195537, -0.0211810339, -0.0084974868, -0.0089798989, 0.0543486774, -0.0879860818, 0.009177966, 0.0025229717, -0.0143876662, -0.0059133708, -0.0105714919, 0.0175885241, 0.0555979051, -0.0021485256, 0.0449209586, 0.0778683349, -0.0359453522, -0.0195816979, -0.0049277819, -0.057254713, -0.0364337228, 0.028518809, -0.0144480746, -0.020022301, 0.013260969, 0.0226983801, 0.0091411229, -0.0018958218, 0.0462490022, -0.034758836, -0.0457876995, -0.0167358425, -0.0153521206, -0.0487249419, 0.0424932726, -0.0267303176, -0.0788997337, 0.0430828817, -0.0009322827, 0.0397337154, -0.0213611629, 0.007894733, 0.0338998102, 0.0662821531, 0.0123505844, 0.0494373143, 0.059236493, -0.0487379991, -0.0462156534, -0.0217648502, 0.0143386489, -0.0637280867, -0.0149156079, -0.0704666674, -0.0343916081, 0.0196115989, -0.0123108765, -0.0520293824, -0.0180769023, 0.0330068357, 0.011690164, -0.0256222263, 0.0054867007, -0.0125469714, -0.0307790823, 0.0198627822, 0.0250745751, 0.0021594418, 0.0181354359, -0.0106230723, 0.0457159653, 0.0405616909, -0.0209815484, 0.012730673, -0.0370181687, -0.0034859807, 0.0714937374, 0.0312674083, 0.033086434, 0.0299554747, 0.010957011, 0.0042691198, -0.0239618216, -0.0244936161, 0.0469556823, 0.0318266228, -0.0795715153, -0.0632071942, 0.1032893732, 0.0174027514, -0.0423606858, -0.0115259122, 0.0515784025, 0.0214899257, -0.006571468, -0.0064787511, -0.0614368245, 0.0086830035, 0.0238237362, 0.0396436974, -0.0353382193, -0.0338503495, -0.0286013894, -0.1085512266, -0.0030148081, 0.0268904231, -0.0542916618, -0.0412564836, -0.0343512408, -0.0104738241, 0.0044164606, 0.0651800632, 0.0241249464, -0.0013089434, -0.0127321109, 0.0244605299, -0.0337166823, -0.0824541971, 0.0106358351, -0.0289217811, 0.0473033302, 0.0517065264, 0.0413192697, -0.0024536413, -0.0331404619, 0.0568736978, -0.0121829221, 0.0230077039, -0.0179568455, 0.0606655441, 0.0013537621, 0.0078340154, -0.0198394787, 0.0385139398, 0.0210377742, -0.038917616, -0.0185694452, 0.0308270175, -0.0123672457, -0.0078689316, 0.0412692837, -0.0193206929, -0.0048019267, 0.0703986436, 0.0407891646, -0.0432063155, -0.0092195552, -0.0114372047, 0.037961185, -0.0071133072, 0.0432726257, 0.0043143556, -0.0162663385, -0.0493745953, -0.0812097862, -0.0295743216, 0.0146913845, 0.0179689229, 0.0178116336, 0.0048311548, 0.0228076167, 0.0024472056, -0.0473333821, 0.0137424404, -0.0446939096, -0.0450342894, -0.007250899, 0.0053629563, -0.0132309766, -0.0257292613, -0.0164865851, 0.0463198349, -0.107301712, -0.0761742443, 0.0551967844, 0.0512419343, 0.0268739853, 0.0358454622, 0.0175031237, -0.0666180626, 0.0664610565, 0.034803763, -0.0260048043, 0.009367859, 0.0338329859, -0.0126878303, -0.0228531044, 0.0355929732, -0.0207807776, 0.0002415169, 0.0634635463, 0.0383108817, 0.019191524, 0.0010533368, 0.0177494902, 0.0138852224, 0.0360780694, -0.006777266, -0.0583729967, -0.0608714409, -0.0064973426, -0.0099891173, -0.0170886144, 0.0029508905, -0.0084659001, 0.0482420661, 0.0451375991, -0.0161350835, -0.0387053341, 0.015685387, 0.0355696045, -0.0201846771, -0.0456173159, 0.0382692106, 0.0235627294, -0.0011869448, 0.0128327589, -0.04613363, 0.0476970971, -0.0370105579, 0.0308971405, -0.0411935002, 0.0676566437, -0.0087201782, 0.0091270721, -0.0466817766, 0.0024908879, -0.0100222146, -0.0272285584, -0.0708645806, 0.007198724, 0.0231254343, -0.0154189123, 0.0308734439, -0.01507439, -0.014382571, -0.0423904583, 0.0116963917, 0.0310780089, -0.0358677879, -0.0119314706, -0.0029261329, -0.0247257687, 0.0355264321, 0.0664509013, -0.0077106776, 0.0396176167, -0.0342991203, 0.0074008955, -0.0331505165, -0.0103103397, -0.0111564258, 0.0400405526, -0.0332670547, -0.0269257464, -0.0374353975, -0.0663517267, 0.011421808, -0.0072626863, 0.0197026972, -0.0057618329, 0.0434525348, 0.0415076166, -0.0482706726, 0.0057759513, -0.0683938041, -0.0040827431, 0.0234969314, 0.013855367, -0.0348223858, -7.306415911e-33, -0.0043378486, -0.0267386734, 0.0040894132, 0.0208750665, -0.0209127963, 0.0344698206, -0.0286780801, -0.0047537722, 0.0105236629, -0.033420343, -0.0089112967, -0.0154098943, 0.0080190515, 0.0291939657, -0.0092709782, -0.004888271, 0.0418590903, -0.0117498348, -0.0324682593, 0.0534550734, 0.0688923001, 0.0606084242, 0.0587089621, -0.0663972721, 0.0435565598, 0.0097582173, -0.0520113558, 0.0095679527, -0.0074965097, 0.0444215015, -0.050825119, 0.007617529, 0.0106501449, -0.0268074889, -0.0181240495, 0.013289527, -0.0783654004, -0.0075458488, -0.0181968492, -0.0365682505, 0.0148980627, -0.0721929297, 0.0454816222, -0.0286330283, -0.0034628296, -0.027542362, -0.0053716218, -0.0138725294, -0.0626652911, -0.0393402204, -0.0461904742, -0.0006738743, 0.0177187566, -0.0052789287, 0.0257627778, 0.0020749324, -0.0284120422, -0.0253694989, -0.0794527158, -0.0115955072, 0.028513059, 0.03305576, 0.0626614317, 0.0504568256, -0.0048244605, 0.102033779, 0.0732770935, 0.0155833028, 0.0357065462, -0.006292663, 0.0687495843, 0.0103995558, 0.0285644121, 0.0035407359, 0.0459229834, -0.04431656, -0.0677711666, 0.0036302789, -0.0096063986, 0.0346815139, 0.0716721043, 0.0210578479, -0.0118646435, -0.025256671, -0.0576523319, -0.0150229931, -0.0504548065, 0.0012343122, 0.0345943123, 0.0228202511, -0.0654322878, 0.0008389859, 0.0053775436, -0.001900573, 0.0077053793, 0.028478289, 0.0211960245, 0.0079725133, -0.0196009539, 0.0007186609, -0.0515675098, -0.037091203, 0.0205560755, -0.0122791389, 0.0126118092, -0.0015128145, 0.0327249058, 0.0464675948, -0.053022258, 0.004658353, -0.0626694858, 0.0228310563, 0.0446846224, 0.034842182, 0.0501362719, 0.0055347621, -0.0206645336, 0.0126897423, 0.0614788905, 0.0382345915, -0.0489146821, 0.0128899347, 0.0169289839, 0.0085870316, -0.0134391962, -0.012147285, 0.028629018, 0.0103856223, 0.052847743, -0.0152620599, 0.0228854567, 0.0090643186, 3.008e-7, 0.0293830521, 0.0261384156, 0.0217416584, -0.0235706829, 0.024956163, 0.0171668828, -0.0052365167, 0.00452124, 0.0206400976, 0.0408872254, 0.0173373725, 0.0064624297, 0.0735986531, 0.0260143597, -0.0634215176, 0.0081633506, -0.0375489667, -0.0110783074, -0.0463846363, -0.0140565708, -0.0066071399, 0.0864219368, 0.0144421384, -0.0307331961, -0.003501771, -0.0325316526, 0.0552688241, -0.0614753142, -0.0165305473, -0.0062297336, 0.0486282483, 0.0769575462, 0.0052993614, -0.0032290134, -0.0294058286, -0.020237254, 0.0168314707, 0.0848523155, 0.026858123, -0.0640679747, 0.0198510364, 0.0298571121, 0.0031488712, -0.0419850014, 0.0633156821, -0.0335095115, -0.0172335729, 0.0026035111, -0.0073158634, 0.0080139721, 0.0363231301, -0.0272536706, -0.0403597169, 0.0432446711, -0.0258503053, 0.0446632318, -0.0230701379, -0.0549827628, -0.0276862886, 0.0051187873, -0.0478010476, -0.0627295896, -0.0060366127, -0.0205116365, -0.0242783651, -0.0977582484, 0.0509909913, 2.837654613e-34, -0.0137491366, -0.0367951058, -0.0209785551, 0.0334745049, 0.0288217999, 0.0115621202, -0.0076059354, 0.0296456255, -0.0192607511, -0.0666873306, -0.0145783117 ]
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.0859217495, -0.0645455793, -0.0253170412, 0.0032382624, -0.0251300335, 0.0130820824, -0.003126702, -0.0125808856, 0.0157740172, -0.0485604666, -0.0076043322, -0.0120057594, 0.0107925385, 0.0364782922, -0.0029426629, -0.0433900431, 0.01960079, -0.0110965306, -0.0305969249, 0.0197322425, 0.0048948075, 0.0380348787, -0.014403942, 0.0150585975, 0.0064891414, 0.0028739972, 0.0011614588, 0.0132190986, 0.0038451287, -0.0194891784, 0.046463035, 0.0351848863, 0.0017180078, -0.0596960522, 0.0000019677, -0.0571909063, -0.022626387, 0.0019763408, -0.0118294787, -0.0053400272, 0.0366770811, 0.0192426145, 0.0472240858, 0.0483406559, -0.044094909, 0.0124361934, -0.018102536, 0.0182893742, 0.1123866141, 0.0400210507, -0.0172458198, -0.0706464574, -0.0094390688, 0.0141514661, 0.01877914, -0.0600674748, -0.0168901216, 0.0513141416, 0.0293932278, 0.0360033922, 0.0324937887, -0.0019057452, 0.010612946, -0.0303327292, 0.0712475181, -0.000679287, -0.0008346142, -0.0247798525, -0.0057226084, 0.0963397399, 0.0466793217, -0.0160032623, 0.0413835719, 0.0158645771, 0.0473894849, 0.0297621991, -0.0127615649, 0.0134755895, -0.0151875727, -0.0473176688, 0.0253544282, 0.0191755537, -0.0328251906, 0.0033736869, 0.0030209071, 0.0057197558, 0.0200908016, -0.0202952512, -0.0450617671, -0.0179572646, -0.0030186519, -0.0751332864, 0.0620325394, 0.0894669294, -0.0182040948, -0.0065332097, -0.0244452115, -0.0203243867, 0.0424555205, -0.0526600219, -0.0182742719, 0.0002638919, 0.0022009781, 0.0256026015, -0.0005335005, 0.0303744413, -0.0000157665, -0.0436181389, -0.0717106611, -0.0166525878, -0.0926611423, -0.0287453756, -0.0370054655, 0.0618501268, -0.0461850017, -0.0243023261, -0.0085183429, 0.0285065733, 0.0558611006, 0.009843233, 0.0315719359, 0.0301404893, -0.0364926271, -0.0086470703, -0.0303563513, -0.0171324983, -0.0857822746, 0.0184600614, 0.0078138504, 0.0035445357, 0.0222156942, 0.0178388823, 0.0138619207, 0.0012110804, -0.0091384584, 0.0328713804, -0.0118000582, 0.0101669962, -0.0423954725, -0.060934566, -0.0137816379, 0.0129497703, -0.0134885143, -0.0294766016, -0.0037157813, 0.0210111421, -0.0317733549, -0.015692044, 0.0245902259, 0.0676301494, -0.0297981277, 0.0335690677, -0.0254929531, 0.0177816171, 0.1322664917, 0.0028156941, 0.0282954331, 0.000680181, 0.0212467648, 0.0196933933, 0.0439959876, 0.0144823091, 0.0323818326, -0.0329570919, -0.0066857422, -0.0316496715, 0.019447891, 0.0856526792, -0.04648114, 0.0171995815, -0.0307113845, 0.079946138, 0.0110267252, 0.0210856386, 0.0315275826, 0.0227458831, 0.0150963487, 0.0630152598, 0.0271033719, 0.0577045418, 0.0227827895, 0.0148499496, -0.0063845566, 0.0546496436, -0.0125904707, 0.0039486126, 0.0256683994, 0.0259696748, -0.0302910246, -0.056705635, -0.001099215, 0.009419986, 0.0138483113, 0.013455214, 0.0163018033, 0.047017891, -0.044449389, 0.0152394492, -0.0318189226, -0.0335832648, 0.0301358066, -0.0255825501, 0.0393375009, 0.0448548123, 0.041991841, -0.000049798, -0.0287798196, -0.0195406433, 0.0188556463, 0.039066501, 0.0464176424, -0.0124151492, -0.0194174424, -0.0422510728, 0.0047233235, -0.0223309491, -0.0070515131, -0.0426164232, 0.0138668418, 0.0131926853, 0.0707595944, -0.0758263245, -0.0555628128, 0.0462008193, 0.0098841349, -0.0404693857, 0.0417473949, 0.0055915206, -0.0466341674, 0.092564024, -0.005352987, 0.0286664143, -0.0017571943, -0.0191884954, -0.0186537933, 0.0054064794, -0.0212384686, -0.0284898318, 0.0011438358, -0.0686716959, -0.0065664663, 0.0419761837, -0.0434298366, -0.046303872, -0.0235030446, -0.0647766367, -0.021015143, -0.0566691123, -0.0276832059, 0.0390970223, -0.0227140747, -0.0385879762, 0.0772403851, 0.0402351879, -0.0301645026, 0.0221523438, -0.0130434977, 0.0191757847, -0.0352619551, 0.0339618362, -0.0543050654, -0.0338702165, 0.000295338, 0.0310838036, 0.0252620447, -0.0610889234, -0.0012979436, -0.0731798485, 0.0112440661, -0.0177324992, 0.0057732891, 0.0585418679, -0.0000586558, -0.0097445026, -0.0184627417, -0.087250717, -0.0146368891, 0.0010508473, -0.017575074, 0.090291284, 0.0227393638, 0.0134283192, -0.0295363721, 0.0095361145, -0.011654594, 0.014878517, 0.0639504641, 0.0214570742, -0.0626177937, 0.0156230545, -0.0560152195, -0.0388843194, 0.0618733615, -0.010824373, -0.0125540728, 0.0153366718, 0.0232794546, 0.0482497886, 0.0936617851, 0.0030744916, -0.0181467813, 0.0142540988, 0.0004565101, -0.0000506745, -0.0328298137, -0.0031528813, 0.038338434, -0.0612627305, 0.0717449337, 0.018446492, 0.0224781875, 0.001357317, -0.0333566256, 0.0507620536, -0.0188844968, 0.0001675981, -0.0528542995, -0.0293719918, -0.0003228314, 0.054420229, 0.0028958905, 0.0078593427, 0.075923793, -0.009815855, 0.0137690548, -0.0920905769, -0.000880752, -0.0614397638, 0.0316915736, -0.0390318371, 0.0576998517, 0.0282625686, -0.0283239037, -0.0322908536, -0.0137552312, 0.0317719616, -0.0368636586, -0.0124341976, -0.0393859521, -0.0012675372, -0.0043115979, -0.0436782949, -0.0216781739, -0.0056529823, 0.0098796571, -0.023794787, 0.009516268, 0.0059375726, 0.012556945, 0.016222015, 0.018908767, 0.0166611765, -0.0196469892, -0.0373751335, 0.0171036515, 0.0886919722, 0.0729948133, 0.0039345208, 0.0184421502, -0.0153275579, 0.0288703535, 0.0295268651, -0.0166136473, 0.0020797299, 0.0237929467, -0.0243522227, -0.0184872802, -0.0595316961, -0.0075718402, 0.0106989453, 0.0414962135, -0.0463050082, -0.0245316587, 0.1144713685, 0.0853350163, -0.0012867664, -0.009584331, -0.020592235, -0.0089947945, 0.0075583467, 0.0630911514, -0.060997203, -0.0255861655, -0.0092056952, 0.0575900674, 0.013491381, 0.0057948329, 0.0055840844, -0.0636821166, 0.0281835422, -0.0258073565, -0.0120346546, -0.0481313989, -0.0159383286, -0.027891567, 0.0061408137, -0.0399324335, 0.0182885099, -0.0307373833, 0.0253534615, 0.0152779799, -0.0358408876, 0.0004488737, 0.0183820259, 0.0195597969, 0.031303864, 0.0554307438, 0.026657261, 0.0238251556, -0.0112189725, -0.0050398433, -0.0324898846, 0.0248825457, -0.0082263332, 0.036990609, -0.0078962892, 0.0059798216, -0.0538301431, 0.0505776182, -0.0286644995, -0.000678485, 0.0698533058, -0.01071171, -0.0235709194, -0.0173777156, -0.0546420403, 0.0286652446, 0.0021684093, 0.1048781425, 0.0215453971, -0.0422561802, -0.0031342288, -0.0264260881, 0.0307591632, -0.0586897694, -0.0635456145, -0.0048718122, 0.0110362805, 0.0173873939, -0.1105730757, -0.0308949463, 0.0443238392, 0.0130495662, 0.0152702993, -0.0222312994, -0.0006537083, 0.0235824622, -0.0413006358, -0.0188690145, 0.0089516863, -0.0146605186, -0.0599788614, -0.0208876412, 0.0456143171, -0.0506309718, -0.0387493931, 0.0214574579, -0.0110675227, -0.0066811237, -0.0153025063, 0.0260888971, 0.0135898208, -0.0377464592, 0.0046910057, -0.0052412027, 0.0481986925, 0.0139632076, -0.0811124742, -0.0164357349, -0.0371632129, 0.0236669146, -0.0072848112, 0.029048251, -0.0597514659, 0.0467937216, -0.0814649612, 0.0512513779, -0.0054243961, -0.0920848325, 0.0471662991, 0.014561519, -0.043200735, -0.0073954673, 0.0114508187, -0.0129891504, 0.0192177761, -0.0168983527, -0.0198978055, -0.0253210161, 0.0499535911, 0.0049995249, -0.0164277591, 0.021805726, -0.0057088737, -0.0554041937, 0.0439931564, -0.0004471275, -0.0165620819, 0.0112170754, 0.0382390395, -0.0417051055, -0.0320235714, -0.039801579, -0.0234890413, -0.0060308711, 0.0454112031, 0.0257010832, 0.0655633062, -0.0070210104, -0.0063191568, -0.0348429233, 0.038947735, -0.0440347865, -0.0564937852, -0.038269233, -0.0276544392, -0.0196041614, 0.0067499056, 0.0080983415, -0.0213391613, -0.0259498581, 0.0033527194, 0.0388004929, 0.0123984888, -0.007492736, 0.0142042162, 0.015698282, -0.0224357266, -0.0271329954, 0.045047015, -0.0035561284, -0.020495085, 0.017475076, -0.0327587426, -0.0501244627, -0.0298625864, -0.0053133201, 0.0047733211, 0.0010398062, 0.0136693092, -0.0696551204, -0.0613437034, -0.0042220047, 0.0076508871, 0.0343982354, 0.0007912362, 0.0597544089, 0.0510927476, 0.0242049526, -0.0716441125, -0.0705370083, 0.0456421822, -0.0691162422, -0.0277907904, 0.003477812, -6.365864678e-33, -0.0311691742, -0.0485164821, -0.0037383779, 0.0023056057, 0.0389182158, -0.0005888437, -0.0375794545, -0.0074202619, -0.0150592914, 0.0099031907, 0.0120641431, 0.0096881408, -0.0075645284, 0.0125830397, -0.0442888997, -0.0204497576, 0.0490242727, -0.0227063186, -0.0230127424, 0.0589213595, 0.0213227235, 0.0175173935, -0.018629346, -0.0280323867, 0.0148256626, -0.0463641621, -0.0204173699, 0.0447621085, 0.0458771586, 0.0533840507, 0.0062102014, -0.0015130017, 0.047770571, -0.0204137042, 0.0378180221, 0.0704371482, -0.0778635442, -0.0207094718, 0.0210481696, -0.0737745315, -0.0458268039, -0.016895052, 0.0140174925, -0.019171875, 0.0575795695, -0.011977911, 0.0717790648, -0.0113570886, 0.0356515013, -0.038988132, -0.031044241, 0.0030898382, -0.0514829494, -0.0222193841, -0.0397709161, 0.0949232876, -0.0114543289, -0.009925657, -0.0334147215, 0.0305709019, 0.0173709039, 0.0374850444, 0.0331059769, -0.0176161006, -0.0186169706, -0.0158962384, -0.0433942005, 0.0189266577, -0.0176611897, 0.0256434865, -0.0668075159, 0.0131550208, 0.0189805273, 0.0689855888, 0.0204283781, -0.0143831419, -0.0517061427, 0.0793466344, -0.034504924, 0.0112100746, -0.0167863443, -0.050898809, -0.0051557552, 0.0277327802, -0.0498217791, 0.0889319703, -0.0373854116, -0.039628122, 0.0616409592, -0.0042729359, -0.082805939, -0.0414353423, -0.0169166718, 0.015520284, 0.006022865, -0.017907802, -0.0238988865, 0.0113412188, 0.0084337704, 0.0238815211, -0.0149479387, 0.0346691534, 0.0092916647, 0.0274530407, 0.0184008069, 0.0172819495, -0.0171152577, 0.0005922451, -0.0319708064, 0.0117569761, 0.0227160603, 0.0271372013, -0.0591103919, -0.0184834041, -0.0195111744, 0.0364319682, -0.0265517533, 0.0244326033, -0.018448934, 0.0035931284, -0.0500270836, -0.0324954353, 0.0343891717, 0.0515429266, -0.0296877865, -0.0068044984, -0.0180761833, 0.0534648634, 0.0241691712, -0.0283646863, -0.0040765819, -0.0160963312, 2.668e-7, 0.0580943115, 0.0402169786, 0.0261965822, 0.033153791, -0.0085324552, 0.0287113842, 0.0598406866, 0.0329289325, 0.0297744758, -0.0012167057, 0.0380475484, 0.0486017242, 0.0042678425, 0.0126786493, -0.0644581169, -0.0256650373, -0.0063577848, 0.0028203137, -0.0482704751, 0.0143246008, 0.0865855962, 0.0039164168, -0.0457680933, -0.0049397275, -0.0372196399, -0.0293340459, 0.0380067341, 0.0103280321, 0.0201619118, 0.0425157696, 0.0173896402, -0.0010734758, -0.0150080528, 0.0179771893, -0.041588787, 0.0113415476, 0.0227379128, 0.020293748, 0.0009550924, -0.0520088673, -0.0284860581, -0.0100325914, 0.049452085, -0.0912499949, 0.0579989962, -0.0647387728, -0.0106003219, -0.0012696955, -0.0431486703, 0.0019862363, -0.0174945313, -0.0068657417, -0.0250812899, 0.0370082706, -0.0002531721, 0.0081388168, 0.0366825573, -0.0304831248, -0.0126009686, 0.0141038159, -0.0103388736, 0.0074772476, -0.0732071996, -0.0063855019, -0.0306131486, 0.0009878022, 0.0195354093, 1.939028671e-34, 0.009359424, 0.0080441395, -0.0073926905, 0.0201450493, 0.0200878177, 0.0052960385, -0.0391942896, -0.0001587851, 0.027297847, -0.0531899929, 0.0170654431 ]
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.040167056, 0.0273855254, -0.0067636529, 0.0176918153, -0.0375927016, 0.0299860537, -0.0171533432, -0.0195223521, -0.005463351, -0.018803712, -0.0160224941, 0.0249408428, -0.018057989, -0.0056294673, 0.028407244, -0.0613141656, 0.0585849844, -0.0867177099, 0.0492046624, 0.0070411628, -0.0266888868, 0.0030352809, -0.0205805935, 0.0220323764, -0.0146896373, -0.0345197693, -0.0299839787, -0.0174246393, 0.0247083884, -0.0512530841, 0.0035060663, 0.0373228379, 0.0553099886, 0.0120310988, 0.0000022597, -0.0540649444, -0.0093478905, -0.0130871795, -0.0516515523, -0.0083477069, -0.0207097288, 0.0195172001, -0.0005088077, 0.0296842624, -0.0070856558, 0.0368081704, 0.0099246912, 0.0360929035, 0.0811400786, 0.0656121969, 0.0258081984, -0.031798169, 0.0192925036, -0.0333300009, 0.0173587874, -0.0226440895, 0.0090696597, 0.0677447617, 0.061061658, 0.0070876018, -0.0191126112, 0.0143385772, 0.0669294223, -0.0205543153, -0.0756246224, 0.0526131988, 0.0005059804, -0.0259884559, 0.0010249362, 0.0467473567, 0.0001011631, -0.0417605266, 0.0050372877, -0.0081128404, 0.0057219714, -0.0632757246, -0.0516828485, 0.062023744, -0.0070413519, 0.0273103733, 0.0317540132, -0.0216819383, 0.0094820671, 0.0056932918, -0.0182611216, 0.0925979689, -0.014883358, -0.0488673151, 0.0379929207, 0.0159890242, -0.0261209868, -0.0357226729, -0.0097784027, 0.0569023751, -0.0642443299, 0.0358371735, 0.0001899579, 0.0018281967, 0.0101799574, -0.0052613015, 0.0364367589, 0.0490148552, -0.00404617, 0.065914847, -0.0499684401, 0.080597423, -0.0418198593, 0.0963200778, -0.0140927648, 0.0112124579, -0.0404509753, -0.0020776861, -0.0313330591, 0.0465986989, -0.0335716642, -0.0051989788, -0.0344198458, 0.0370226838, -0.0155887725, 0.0597593598, 0.0230061468, 0.0095541589, -0.0254309662, -0.0216157474, -0.0266809762, 0.0118623646, -0.0355311967, 0.0246994216, 0.0254430436, 0.0054979776, -0.0328990221, -0.0061770217, -0.0243368484, -0.0182055291, 0.0366392955, 0.0717844367, -0.0169251524, -0.0137701342, -0.0432237461, -0.038331449, 0.0144944033, -0.1095496342, 0.0325904191, -0.0837033913, 0.0020723699, -0.0025713153, -0.0071840333, -0.012410013, 0.0299108513, 0.0089106476, -0.0042240866, 0.0589341857, 0.0304626171, -0.0032822762, -0.0076373569, 0.0210875496, -0.0383152962, 0.0682783127, 0.0168320611, 0.0191775057, -0.0166387167, 0.0316444784, 0.0098125739, 0.0130776679, 0.0432189628, -0.0002336234, -0.0430963263, 0.0018616297, 0.0228502564, 0.03053445, 0.0347740091, 0.0310545489, -0.0332603231, 0.0001378746, 0.0160507262, 0.0541646928, -0.0283902865, -0.0283867046, 0.0563660674, -0.018836759, 0.0382054523, -0.0199119188, -0.0947944447, 0.0394672267, -0.0120746493, 0.0168843661, -0.0269916859, -0.0379987508, -0.0255165026, -0.0570396893, -0.0088529503, 0.0204573832, -0.0119572245, 0.0279525984, 0.048104573, 0.0148146115, -0.0530332066, -0.0165222585, 0.0294497218, -0.011839658, -0.0084633622, -0.0746147484, 0.0690631196, 0.039095927, 0.024781812, -0.0519085154, -0.0457472093, -0.0104526868, 0.0491668433, 0.031645827, -0.0152896931, -0.0210139193, -0.0197059903, -0.02531223, -0.0336372778, -0.0406104326, 0.0174109526, 0.0110494243, 0.0590412132, -0.0231274348, -0.0265077502, -0.0183079746, 0.0089628194, 0.0394571647, -0.0372086279, -0.0302938633, -0.0364810079, 0.0083737532, 0.0128303198, -0.0232206471, 0.0069389534, 0.0022708189, 0.031657584, -0.0164089091, -0.0057040215, -0.0025935636, -0.0509119891, -0.0827014446, 0.0339535438, 0.0242884587, -0.0350885242, 0.0232734028, -0.0468372926, -0.0238254257, 0.0380222984, 0.0024170168, 0.059914913, -0.0037936927, 0.0221590195, 0.0391113795, -0.0467417501, -0.0319000557, 0.0780733079, -0.0392239392, 0.0069806622, 0.0420853905, 0.0001935185, -0.0129496967, -0.0445979796, 0.0109638395, 0.0069548702, -0.0172941294, 0.0131561905, -0.0151347108, 0.0326007232, -0.0626490936, -0.0176600758, -0.0357811712, 0.0210611299, -0.0265500154, 0.0289483611, 0.0114062903, -0.025325017, 0.0056802644, -0.0317267254, -0.0099455295, -0.0144250905, 0.0220746025, 0.0130842105, 0.004131848, 0.0304891244, -0.042749472, -0.0424767174, -0.016360309, -0.0354496129, 0.0348747931, -0.0191859063, 0.0430475585, -0.0572884008, -0.0065451721, -0.0029572519, 0.0330323614, -0.0338973403, -0.0122989174, 0.0485457517, -0.0318529382, -0.0128895026, 0.0847020671, -0.047358375, 0.0341318808, 0.0269713774, -0.0066885855, -0.0651637241, 0.0424027517, -0.0091798697, -0.0395107009, -0.0193187408, 0.00263796, -0.0282268114, 0.0810766816, -0.0085365567, 0.0318927914, -0.0485327095, -0.0251698103, 0.0011987317, -0.0194128081, -0.0294665713, -0.0324280262, -0.0246496461, 0.0345130451, -0.062247891, -0.0155574009, 0.0903156996, -0.0068181171, -0.011978304, -0.032800667, 0.0085305888, -0.0021520702, 0.0794776902, -0.0163193792, 0.0112477671, -0.0202969443, -0.0271918662, -0.0516568124, -0.0514861308, 0.019005768, -0.0192758571, 0.0331307799, -0.0799532756, 0.0034390297, 0.0005760703, -0.0368821993, -0.07805641, 0.0343051441, -0.0223599188, 0.0437384509, -0.0445925668, -0.0052396064, -0.0109310765, -0.018730063, 0.0242575128, 0.0240680184, -0.0134010594, -0.0140152285, -0.0504151694, -0.0206629075, 0.0072655384, -0.0165461116, -0.0024045352, -0.0443823598, 0.0396754406, 0.0379572436, 0.0879292861, -0.021564845, -0.0269935671, 0.0456999019, 0.0108978534, -0.025960356, -0.0063756425, 0.0375378728, 0.056712348, -0.1003919616, -0.0387403928, 0.0880434588, 0.0354789644, -0.0230179969, -0.0142423697, -0.0220632944, 0.0034144705, 0.0479487665, 0.0556453168, -0.0237800777, -0.0174856, 0.0184808504, 0.0267889109, 0.0263234396, -0.0240092315, -0.0024437027, -0.1236173883, 0.0389614701, -0.0127658667, -0.0025295692, -0.0163819995, -0.0383903235, 0.0066817813, 0.0070136911, -0.0168721396, 0.044565212, -0.0019746469, -0.0123504773, 0.0409203358, 0.0275016781, -0.0022863285, 0.0583234765, -0.0097582806, 0.0254094396, 0.0597891584, -0.0029395532, 0.0237593409, -0.0487977788, 0.0528137609, -0.011198232, 0.0012855381, -0.0085426988, -0.0032011771, 0.0102623012, -0.0271271523, -0.0108046718, 0.0764916912, -0.013856017, -0.0602285564, -0.0206976347, 0.1144486368, -0.0228573754, -0.0016465208, -0.0161102135, 0.0081168804, -0.0042098304, 0.0380443707, 0.015475058, -0.0233171284, -0.0597587973, -0.0355521105, -0.0333584733, -0.0195656382, -0.009751102, -0.0118305795, 0.0312580913, 0.0135168862, -0.0202517938, -0.0221602675, 0.0654238835, 0.0721760839, -0.0098485341, -0.0166593846, -0.0062303212, 0.0007328647, -0.056089811, 0.0255903006, -0.0463890992, 0.0312416162, -0.0677574575, 0.0061187204, -0.009666292, -0.0182126965, -0.0468512215, -0.0132613992, -0.0817389861, -0.0597219989, -0.033766754, 0.0869451463, 0.0255454127, 0.081020005, -0.0129557699, 0.0025133237, 0.0188257173, -0.0043319645, -0.0148682185, 0.0073245312, 0.04792808, 0.0057338239, -0.0004768363, 0.0256266389, -0.0442345738, 0.0207612421, 0.0212412067, 0.0656509995, -0.0062760436, 0.0218023155, 0.0483845882, -0.0320367143, 0.0565075092, 0.0047510699, -0.0211624224, -0.0461644717, 0.0336437896, -0.0175040346, -0.023785647, -0.0169439949, 0.0245541353, 0.0178869814, -0.0275451895, 0.0137160141, -0.0356989093, 0.0065498627, 0.0227446761, 0.0005929498, 0.0087535344, 0.0209812634, 0.0300713666, 0.0191754755, -0.0015186233, -0.0248002466, 0.0046337787, 0.0153898858, 0.0495760776, -0.031834688, 0.0723638609, 0.0379106253, 0.0245387852, -0.0432479195, -0.0089298515, -0.0408637039, -0.038884677, 0.0079637635, 0.0252267178, 0.0529443957, 0.0141424444, -0.0087886341, -0.0515115298, -0.0030335884, 0.0210091565, 0.0277026389, -0.0229977425, -0.0429918654, 0.0501732714, 0.0397537276, 0.0437734313, -0.0275639407, 0.0292574186, 0.0024564303, 0.0867511332, -0.0202398058, 0.0101175504, -0.0318828896, -0.0617399216, -0.0014802316, -0.0069112489, 0.0022189899, 0.0115531245, -0.0342209116, -0.0976189375, -0.0498185158, 0.0519943908, -0.0218585692, -0.0172829367, 0.0277076345, 0.030192215, 0.0073433435, -0.0613579936, -0.0055269715, -0.0267185085, 0.0197169483, -0.0372717306, -0.0121502718, -6.580418111e-33, -0.0425489359, -0.0148860076, 0.0687793642, -0.0134097356, -0.0088337939, -0.0361818448, -0.0623725541, 0.0006791031, -0.001196752, 0.0422276706, -0.0058351671, 0.0059369486, 0.0044149486, -0.0083160317, 0.0353528187, 0.009341402, 0.0421277061, -0.0016017888, -0.0406360477, 0.0248741359, 0.0206778031, 0.0085830363, 0.0583078116, -0.0293864999, 0.010321538, 0.0430766977, -0.033144284, 0.0541926734, -0.0744841173, 0.0664726198, 0.0021736505, -0.0140115926, 0.0062098461, -0.0478095599, -0.0165230334, -0.0081275972, -0.1101543382, -0.0483521372, 0.0347597525, 0.0098687597, -0.0707822293, -0.0257997308, 0.0276041068, 0.0057006204, 0.0016811329, 0.0044384482, -0.0040143188, -0.0059818737, -0.0029233778, 0.0308979321, -0.0520144254, -0.0061092773, -0.0093713421, -0.0573087558, 0.0135802031, 0.0019936706, -0.0099065788, -0.0156447142, 0.0031440556, -0.0101067666, 0.009050292, 0.0124057066, 0.0616003051, 0.0463006496, -0.0037650971, 0.0401570462, -0.0206500608, -0.0227716696, -0.0102073783, -0.005258576, 0.0283025932, 0.0766379982, 0.0139127672, -0.0154156731, -0.0061180466, 0.0218072161, -0.0796344131, -0.0228002667, -0.0107063791, 0.1041882336, 0.0260118954, -0.0021478648, -0.0387657508, -0.0204272028, -0.0739578009, 0.0007775161, -0.0337713361, -0.0140665909, 0.0621306747, 0.0414419435, -0.0334522165, -0.0262974706, 0.0024652244, -0.0308996886, -0.0119397622, 0.0667201653, -0.0265594367, 0.0319815427, -0.0201638509, 0.0351788029, -0.0625216588, -0.0379664302, 0.0192473754, -0.0251547657, 0.0110584842, 0.015161193, 0.0541833527, 0.0446905568, -0.0552567691, 0.011611809, -0.0658877939, 0.0428860672, 0.0277200397, 0.0152898105, 0.0470769778, 0.005999322, -0.006480536, 0.0438607968, -0.0223419033, -0.0289683081, -0.0183617976, 0.0171412136, -0.0228598155, 0.0306441281, -0.0360580385, -0.0176870786, -0.0546376146, 0.0385365337, -0.0068787346, -0.0427782461, 0.0086475844, 0.0454729162, 2.969e-7, 0.0131499721, 0.0273797289, 0.0278002266, 0.0754905418, 0.0070812446, 0.0284784436, -0.0446220599, -0.012197786, 0.0419827439, -0.0358498804, -0.0071086842, 0.0549185909, 0.0119965598, 0.0216432158, -0.0447116271, -0.009891279, -0.030949844, -0.0196926035, -0.0532737635, -0.0303597189, 0.0534024686, 0.0887825266, 0.0449274369, -0.0131550469, -0.000688856, 0.0151171964, 0.0541830696, 0.0146409515, 0.0180982817, -0.0089826453, -0.0036379274, 0.025891332, 0.0116213383, 0.005452618, 0.0167303458, 0.0105887344, -0.0643365756, 0.0750900134, -0.0021777111, -0.010798227, -0.023231905, -0.0115187056, 0.0246961247, -0.0290304441, 0.0601045229, -0.0618635304, 0.0129244691, 0.002256261, 0.0274269842, -0.0472136512, -0.0166467596, -0.0155987069, 0.0238316227, 0.0087877382, -0.006242157, -0.0042850659, 0.0022861399, -0.0912829787, -0.0294262879, 0.0312676318, -0.0098779853, -0.0172146298, -0.0311626755, 0.0254635457, -0.0106807267, -0.0659469888, 0.0022135191, 2.936645242e-34, 0.0278377291, -0.0262467992, 0.0119536892, 0.0091423271, 0.0225324687, 0.0043480466, 0.0063351314, 0.024091512, 0.0500934236, -0.0504828095, -0.0363589674 ]
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.0005902962, 0.039546486, -0.0394832492, 0.0040526171, -0.0389289781, -0.0109263249, 0.021800369, -0.0102309296, -0.0132898334, -0.0246167555, -0.0227808226, -0.075080663, 0.0552491732, -0.049194172, 0.0240741819, -0.068194434, 0.0035782652, -0.0441730767, -0.0349491127, -0.0377890505, 0.0036557561, 0.0353505462, -0.0282524247, 0.0204163808, 0.0218797456, 0.0261023939, 0.0022126201, -0.0230249204, -0.0029413332, -0.0103826206, -0.0469462872, 0.0341056995, -0.0116811516, 0.0175456703, 0.0000018523, -0.0728986934, -0.0432995148, -0.0091600036, -0.0256935135, -0.0194083862, 0.0230794456, 0.0930236429, -0.0302761439, 0.0376427099, -0.0092926733, -0.0075154188, 0.0713160113, -0.0215141643, 0.01331311, 0.0425351448, -0.0206320994, -0.0312123951, -0.0298971049, -0.0132615045, 0.0243003871, 0.027069727, 0.0042234981, -0.0359328687, 0.0458073169, -0.029410664, 0.0234517474, -0.0036992466, -0.0428433307, -0.0219805017, -0.0062098489, -0.0171574093, -0.0967154279, -0.075291805, 0.013466577, 0.0107289888, 0.0219974518, -0.0387039296, 0.0439317673, 0.0411662608, -0.0167054944, -0.0111526176, -0.0501842499, -0.006015074, -0.0206900742, 0.0227766819, 0.0334016681, 0.0613609292, -0.0062383888, 0.0106905894, -0.0035918737, -0.0288388319, 0.0188975278, -0.0466691479, 0.0237466656, 0.0044628242, -0.0009673021, -0.0056553492, 0.0426276326, -0.0023611756, 0.0062758098, 0.0056597074, 0.0452492721, -0.0643845126, 0.0481469333, -0.0466928743, 0.0187313929, -0.0294985753, -0.0564693846, 0.0097614415, 0.0134247048, -0.0422205329, 0.0143286614, -0.0588903502, -0.0083970437, -0.0094325747, -0.0247838534, -0.0013618163, -0.0601345524, 0.0339714624, 0.0066409344, 0.0542526618, -0.0484109856, -0.0220279265, 0.0094900122, -0.0417246819, 0.0318556353, -0.0253725555, -0.0348214805, 0.0067078946, 0.0072018942, -0.0168682747, -0.012625833, 0.0476142168, -0.0662941784, -0.0886532962, 0.0291930083, 0.0291704275, 0.0490627252, -0.0058521386, 0.0154155083, 0.0061967541, -0.0006776035, -0.0346735306, -0.0175954551, -0.0172654465, -0.0678281784, -0.0758697316, -0.0498619638, -0.0506700948, 0.0409014858, -0.0105683142, 0.0202250462, 0.0383077338, -0.0021730936, 0.0132918814, 0.0534472689, 0.0141069451, 0.0067734309, 0.0230041575, 0.0437329188, -0.0337098166, 0.0155534912, 0.0315622203, 0.0334346481, -0.0422570556, 0.0479953773, -0.0150203342, -0.043491859, 0.0474650487, 0.0106253298, -0.0023708772, 0.0262879524, -0.0089175496, -0.0141022392, -0.0091319606, 0.0168608688, 0.0548615493, -0.0095173195, 0.0485002436, 0.046453096, 0.0364528559, 0.0270834938, 0.0549549907, 0.0239985753, -0.0169830117, 0.0190474689, -0.0071860966, 0.0608591326, -0.0526453778, 0.0113407904, 0.0009962389, 0.0157527477, 0.0552455224, -0.037309736, 0.0056782393, 0.0153388735, -0.0318295434, -0.0269529093, -0.0005992802, 0.0465731137, -0.0084745688, -0.0006620465, 0.0281882398, 0.0033207715, -0.081688337, -0.0185056012, -0.0109827425, 0.0197711475, -0.0098985862, 0.0291928034, -0.0067300168, 0.0402544998, -0.031023046, 0.0234565679, 0.0497596934, -0.0019731612, -0.016344415, 0.037329793, -0.0992289484, -0.0138852224, 0.0764647424, -0.014783673, 0.0354229845, -0.0406283848, 0.0505616814, 0.0171778761, -0.0731318519, 0.0195550583, -0.0043486315, 0.0170121789, -0.0159778167, 0.035254579, 0.0223572161, 0.0521383993, 0.0663526878, -0.0119488006, -0.0091212513, 0.0077338442, -0.0423020907, 0.0653525814, 0.0503167436, -0.0146400565, -0.0167434812, 0.0017648112, -0.0629938021, -0.0137462532, 0.039371565, 0.0751547515, -0.090993315, 0.0072865169, -0.0478194207, 0.0536793284, -0.0472733229, 0.0512995347, -0.0170421135, 0.0559376329, 0.002518804, 0.0328314155, 0.0563474186, -0.0114619499, 0.0025031327, -0.0052141631, 0.0170318447, -0.1156873405, -0.033547122, 0.0216898918, -0.004357839, 0.0157836061, 0.0109234899, 0.0134156309, 0.0112994919, -0.0225598644, -0.1084931642, -0.0110546788, -0.0074776546, 0.0191456601, -0.0294420663, 0.048274558, -0.0017534539, -0.0163049567, 0.0034431459, -0.0169434361, -0.0067646778, -0.0304593947, -0.0163540207, -0.0196641702, -0.0161734615, -0.0075741904, 0.0203280095, 0.0416261964, 0.0314690284, 0.0352948308, -0.0668777227, -0.0452688672, 0.0527228341, -0.0138344709, -0.0076150903, 0.0305982288, -0.0179134533, -0.0238433462, 0.01001726, 0.0466187373, -0.0288852472, -0.0028638793, -0.0337188281, 0.0355120786, 0.0135093732, -0.0106029166, -0.0294764396, -0.0102891801, 0.0526316166, -0.0273251571, -0.0061400612, 0.0217503048, -0.0010395178, 0.0465633348, -0.000244325, 0.0040663336, -0.0400427803, -0.018702209, 0.0044627218, 0.0244783834, -0.013262976, -0.0674473643, 0.0323891416, 0.0004267214, -0.009409911, 0.0565455817, -0.0618669242, -0.0335629359, -0.1285868436, -0.0257832296, -0.0406688973, 0.0310941003, -0.0133848414, -0.004142886, -0.0065772976, -0.0310475137, -0.0215356424, 0.031071214, 0.043976713, -0.0237188805, 0.0172442347, -0.0242587719, 0.0066382713, 0.0130228819, -0.0752930567, 0.0080079297, -0.0217742994, -0.0305359177, 0.006733261, 0.0575744882, 0.0268979855, 0.0185493827, 0.0326347761, 0.0227194186, 0.0483919829, 0.0115740849, 0.0158036221, -0.0032022998, 0.0649320409, 0.0042456384, 0.0490628257, -0.0270742625, -0.0195831768, 0.0587726906, -0.0395645387, 0.0403893664, 0.0391030163, 0.021995075, -0.0066083563, 0.0044189473, 0.003340641, -0.0808794722, -0.0008203418, 0.0216275789, 0.0059465677, -0.0075441953, 0.069360815, -0.0046035014, -0.0392574295, -0.0147533063, -0.0156070571, 0.0457181558, -0.0255563296, 0.0376281403, -0.0483739115, 0.01085262, 0.0305458158, 0.0414491631, -0.0565208681, 0.0239680205, -0.0296870079, -0.1175976247, 0.0570674017, 0.0064138956, 0.0089495601, 0.0277668964, -0.0561630875, 0.0107335439, -0.0164233278, -0.0179375261, -0.0017050867, 0.0032110426, -0.0391303822, 0.0592365302, -0.0942387655, -0.0798370019, 0.001093596, -0.011673945, 0.0142227365, 0.054403495, 0.0282332115, -0.0277937893, 0.0124984095, 0.0318935439, -0.0111266794, -0.0128258113, -0.0138534317, 0.024839323, 0.0505833924, -0.0280164424, -0.027395172, 0.0572491959, 0.0175929777, 0.0305711664, 0.0543760434, 0.0801964328, -0.0454835892, 0.0552736185, 0.0176311396, 0.0364479795, 0.0234275255, 0.0175423939, 0.0347733758, -0.0777096152, 0.0032842318, 0.0446099006, 0.0119921183, -0.0530078188, 0.0169747397, 0.0558646284, 0.0158766601, -0.0873507559, -0.0493931845, -0.018252084, -0.0153684225, 0.0441591181, 0.0414334685, 0.0409506895, 0.0072459704, 0.052824717, -0.0153617281, -0.0236554835, 0.0226852223, 0.0180080496, -0.0597778894, -0.0389054976, -0.0112942606, -0.0694695339, -0.0197721645, -0.0418170094, -0.0468835793, -0.0701762885, 0.0477225818, -0.0284080096, 0.0290532019, 0.0188520011, -0.0291748531, -0.0712356344, 0.0532071963, 0.0422900096, -0.0179516859, 0.0252461117, 0.0446577594, -0.0290141124, -0.025368195, 0.0295237396, -0.0083495798, 0.0334816501, -0.0133108804, 0.0138353333, -0.0458134003, -0.0279837903, -0.0186583083, 0.0179954302, 0.0682460666, -0.0435217395, 0.0277621876, -0.0335679762, 0.0330209956, 0.0385516249, 0.0557228178, 0.0004590951, 0.0092857368, 0.0191825069, 0.0146214869, -0.0204573832, -0.0464795753, -0.0628769323, 0.0070265066, 0.0135430945, 0.0667927638, 0.0365415439, 0.0158647317, 0.0243685376, 0.0110237347, -0.0136586986, 0.0401059091, 0.0080871163, 0.0301918648, -0.009838732, 0.0039086961, 0.0010589425, -0.0138113257, 0.0146432323, 0.0109058814, 0.0028235742, 0.0446941368, -0.0328722596, 0.0010435337, 0.0302974861, -0.0228492282, 0.0652975366, -0.0027282245, 0.0215318929, -0.021440981, 0.0318784043, 0.0045453813, 0.0081410883, -0.0097744297, 0.0113156782, -0.0442927554, 0.0474641733, 0.044993598, -0.0259079877, -0.0113215558, -0.0134166451, 0.0137080429, -0.0394779295, -0.0096012708, 0.0067479028, 0.0070000882, -0.029114252, -0.0281903353, -0.0710462406, -0.0348550305, 0.0303422343, -0.0168530755, 0.0001468223, -0.0239998214, 0.0258403346, 0.0271504782, -0.0294777788, 0.0542436987, -0.0169450603, -0.0078045549, -0.0103007276, 0.0388785079, 0.0007335178, -5.212480641e-33, -0.0051018945, 0.0054611401, -0.0455714688, 0.0266210921, 0.0130427806, 0.0143464338, -0.0124028511, 0.0062231836, -0.0155905858, -0.0174918622, -0.0008200272, -0.0341402255, 0.0327201784, 0.0062967646, 0.0005411798, 0.0419188663, 0.0415544249, -0.012997359, -0.0049859039, -0.002892687, 0.043430768, 0.0614896044, 0.0174380038, -0.0135501111, -0.0110560125, -0.0384358428, -0.0045869648, 0.0021648831, 0.0359513238, 0.0650462657, 0.0118608736, 0.0424117185, -0.0130265616, -0.0226767212, -0.0138701387, 0.0259055104, -0.0603344999, -0.0663636997, 0.0257226583, 0.0605797209, 0.0768595859, 0.0063280668, -0.011712783, 0.0018311604, 0.0056242193, 0.0114763817, 0.0332530215, -0.0633579716, -0.019193206, -0.0586154014, 0.0167057067, 0.0584314428, 0.0215719324, -0.0339255594, 0.0581546798, 0.0841234326, -0.0774309188, -0.0253768303, -0.0097508309, 0.0510043167, 0.002584043, 0.0159791261, -0.0039275773, 0.008894477, 0.0070977951, 0.0366273448, 0.0586285144, -0.0593812913, -0.0058460999, 0.0092629762, 0.0146698346, 0.0110687464, -0.0260870364, 0.0659815669, 0.0206728056, 0.011686122, -0.0513520092, -0.0171661992, 0.0689042807, -0.0405535735, 0.0101315193, -0.0051585478, -0.0779274851, -0.0190965831, -0.0016396708, -0.0445589013, 0.0007131047, -0.0042293011, 0.0148213636, -0.0269362349, -0.0270193052, 0.0222403668, 0.0350357033, 0.0118258791, -0.0218255967, -0.0307106357, -0.0369248353, 0.0123613328, -0.0034838524, -0.0116955126, -0.0381498113, -0.0223607272, 0.0245004445, 0.0572857596, 0.0281800069, -0.0099710384, 0.0057108458, 0.0263701901, -0.0604348555, 0.0201707091, 0.002936864, 0.0001094104, -0.0265314598, 0.0804218352, 0.0105349207, -0.0009996593, 0.0318619087, 0.0273113381, 0.0088920817, -0.0025303233, 0.0016057463, -0.0091367103, -0.0220483001, 0.0318372436, -0.0313771106, -0.0124097858, 0.0093610035, 0.0105960909, 0.0280632693, 0.0007306235, 0.0043042209, -0.0431023613, 2.634e-7, -0.0193811171, 0.0048158262, 0.0038944229, -0.0192359742, 0.0345525779, -0.0074547241, -0.0218237881, -0.012726414, -0.014378326, 0.0217584949, 0.0289898571, -0.0429657847, 0.1232129857, 0.0410114676, -0.1287245899, -0.0097446041, -0.058255624, -0.030795306, -0.0719669685, -0.0252394825, 0.0292003304, 0.0864045694, 0.0242794286, -0.0694972277, -0.0309977122, -0.0031032176, 0.0139345555, -0.0169426315, -0.0081219934, -0.0403221399, 0.0425511859, -0.0154465158, -0.0236520022, 0.0273573902, -0.0515992418, 0.0632944182, 0.0102305515, 0.0269961543, -0.0057958658, 0.0145220505, 0.0641992763, 0.017558245, -0.0821027458, -0.0210139677, 0.0468503572, 0.0170532782, -0.015225363, -0.0013388193, 0.0002377206, -0.0380618721, 0.0017121616, -0.0195769109, -0.0263004247, 0.0072918893, 0.0085534249, -0.0610686876, -0.0251318607, -0.0170469601, 0.0007171885, 0.0336174145, -0.0590795279, -0.0511427037, -0.0034904575, 0.0059258477, 0.0531760715, -0.0357196666, 0.0460071675, 2.172730034e-34, 0.0287430584, -0.0406216681, -0.0121940356, -0.0350979641, -0.0203127172, -0.0387213007, 0.0870836303, 0.0202757828, 0.01730882, -0.0163063537, -0.0216303915 ]
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.0127718542, 0.064220719, -0.0170601569, -0.0098180454, -0.0312785804, 0.021852687, -0.0279600322, -0.0312713534, -0.0368001349, -0.0255431533, -0.0282757618, -0.0495818555, 0.0258148033, -0.0037936573, 0.0241066758, -0.0425394811, 0.0286026876, -0.0666016936, -0.0761885121, -0.0161366407, -0.0394419655, -0.0080587091, -0.0167147033, 0.0576005019, 0.0121680759, -0.0183862559, -0.0434213616, -0.0211639367, -0.0332127437, 0.0023323717, 0.0045050504, 0.0325911529, 0.0366164297, 0.0479447767, 0.0000019886, -0.0325331353, -0.009722013, -0.0223611835, -0.0238469709, -0.0286593884, 0.033343181, -0.0264127254, -0.0166691579, 0.0397623815, -0.0142596588, -0.028683478, 0.0766602531, 0.0351824798, 0.0647206008, 0.0589752048, 0.0124814771, -0.0073185666, 0.0237885155, -0.0202885754, 0.0157666616, 0.0290230252, 0.0082341349, -0.0194115881, 0.0277678389, -0.013927374, -0.0305785295, 0.0173488818, 0.0451016761, 0.0354411714, -0.0425197072, 0.0577992387, -0.0157784056, -0.0091853319, -0.0138988225, 0.0185496863, -0.0319502652, -0.0489921309, 0.002676157, 0.0047938116, 0.0017768102, -0.0055298796, -0.0490417518, 0.0557071008, -0.0303074978, 0.0166155025, 0.0096546728, -0.0142871663, 0.0239704661, -0.0320637673, -0.0371262841, 0.0669812113, 0.0026468488, -0.0427280106, -0.0053014597, 0.0034410472, 0.0408462845, -0.0432279184, -0.0141387023, 0.0699653774, -0.0406111591, 0.0100742504, -0.0524334908, -0.0415620059, -0.002814742, 0.0062116287, 0.0671686977, 0.0650898069, -0.0019663849, 0.0070674731, -0.0455321409, 0.0660799295, -0.0044749081, 0.0012077828, -0.0500845201, 0.0027956434, -0.0721998215, -0.0306439865, -0.0645464361, 0.0828831717, -0.0210437942, 0.0067135184, -0.021243114, 0.0574677289, -0.0027034525, 0.0323861316, 0.0285986569, -0.0345798992, -0.0916704908, -0.0106047262, 0.0074705584, -0.0060123676, 0.021161858, 0.0134073691, 0.0357440971, -0.0525814146, -0.0110131782, -0.0149170421, -0.0210368428, -0.003796746, 0.0171274357, 0.0737469196, -0.038123183, -0.0247332118, -0.0178199485, -0.0073803491, 0.024892278, -0.0554265939, 0.0350912921, -0.0976706594, 0.0315927751, -0.0109188631, 0.0142072411, -0.0237411354, 0.0325996801, 0.0190941431, 0.0122243557, 0.0821296871, 0.0236424673, 0.0035153509, 0.0052513378, 0.0031639389, -0.033756692, 0.103435792, 0.040789213, 0.0149432346, -0.0345848426, 0.0009634722, 0.0302543528, 0.0373663232, -0.0041989856, -0.0010574262, 0.0309191477, -0.0306537803, 0.0194096845, 0.0134609025, 0.0349291675, 0.0788838491, -0.010526618, 0.0375930183, 0.0487421378, 0.0240718555, 0.0516180657, 0.0406999923, 0.0802364573, 0.0007608347, 0.0050004586, 0.0430147946, -0.0611071289, 0.061772868, -0.013324297, 0.0153864566, -0.0316304378, 0.0450669602, -0.0423224531, -0.058033023, 0.0131782331, -0.0361200459, 0.0105573637, -0.0251044761, 0.0413346291, 0.0449958481, -0.0931030512, 0.0446998253, 0.0023006529, -0.0696757361, -0.0197260417, -0.0513243787, 0.0171846971, 0.013745415, 0.0167910103, -0.0293290224, -0.0245073065, -0.0183144901, 0.0322668701, -0.0028567542, 0.0028491807, -0.0163506214, 0.0117480326, -0.0463077128, -0.0113654938, -0.0276775155, 0.0259412825, 0.0171597209, 0.0259742029, -0.041956719, 0.0038055333, -0.0054341401, -0.0189543106, 0.0406761654, -0.0112472521, -0.0386848412, 0.0038755219, 0.0262574125, 0.0305972751, -0.0553598441, 0.0162692312, 0.0293937661, 0.0163427088, -0.0481626503, -0.0489230715, 0.0081723947, -0.042589765, -0.0727949962, 0.0053711645, -0.0241809599, 0.02356603, 0.0354792401, -0.0349384136, -0.0497607663, 0.0219965857, -0.0893860981, 0.0283503961, 0.0047118864, 0.0291119106, 0.0232290253, -0.029205123, 0.0108884741, 0.0395530798, -0.026919201, 0.0086064581, -0.0020999028, 0.0133060068, -0.00361559, -0.0358743221, -0.0289430451, 0.0108596859, -0.0429462083, 0.0243037697, -0.0289524086, 0.0027866215, -0.012913459, -0.0743858293, -0.0607982688, 0.0042311144, -0.0268282909, 0.0290455557, -0.0079520997, 0.0520275868, 0.0228522792, 0.0126727354, -0.023512857, -0.0072822073, -0.021807164, 0.0315492228, 0.022678839, -0.0022882719, -0.0550610572, -0.0190358143, -0.0183268227, -0.0347593017, 0.0362058319, -0.0351244211, -0.0045975656, -0.0504520833, 0.022375783, 0.0198086742, 0.023882024, -0.0417304598, -0.0366171263, 0.0242347624, -0.0116291726, 0.1096512526, 0.0667999461, -0.0209111683, 0.021034725, 0.0384412147, -0.0086449301, -0.0084903575, 0.0300042368, -0.0388405025, -0.0727888569, -0.0019788896, -0.0215201117, 0.0244131908, 0.103764154, -0.0262585077, 0.0023275253, -0.0706425607, 0.0065804594, -0.0203823168, 0.0175884664, 0.0134752337, -0.0110697094, -0.0408479013, 0.0160771441, -0.0294912364, -0.0475979336, 0.0628439784, -0.0287636518, -0.0154487137, -0.0371793248, -0.0062049464, -0.0456710868, 0.0456481688, 0.0194322746, 0.021501068, 0.0441491492, -0.0354579873, -0.10330154, 0.0402979925, 0.0085032806, -0.0275943242, 0.0555909798, -0.0406124517, 0.0045219916, -0.0210662596, -0.0578267537, -0.03610342, 0.0543511994, 0.0076184105, 0.0486127958, 0.0208409298, -0.0094296345, -0.0181943122, 0.0146216489, 0.0240405835, 0.038924098, 0.0197016131, -0.0374417268, -0.0138483718, -0.0014970839, -0.0139082391, 0.0083211772, -0.0138273453, -0.0512998737, 0.0236547366, -0.0063097416, 0.0778574124, 0.0253804214, -0.0377065316, 0.0175515469, 0.0218525361, -0.0290676933, -0.0169473253, 0.0499978811, 0.0552566834, -0.0608166903, -0.023684999, 0.0599788912, 0.0196639579, -0.0429318957, 0.0162887331, -0.0026405, -0.017437784, 0.0366913266, 0.0443992727, -0.0724476948, -0.0029096422, 0.0252968911, 0.0130144153, -0.0276998077, -0.0061435676, -0.0202703457, -0.1255530715, 0.0286292974, 0.0022399302, -0.0508654267, -0.026895741, -0.037768092, -0.0165949035, -0.0056429636, -0.0439420678, 0.0281133987, -0.0287125316, -0.0047003678, 0.0379381552, -0.0252101831, -0.0395457484, -0.0134440549, -0.0109614227, 0.0174253825, 0.0622477606, 0.0063173133, -0.0101799509, -0.0383197479, 0.0254762024, -0.0270393491, 0.0101865474, 0.015343219, 0.0098707248, 0.0154320952, -0.018269578, 0.0254790243, 0.0488437861, -0.0486113802, -0.0122157661, -0.016158469, 0.0818290859, 0.0081370464, -0.0276190508, 0.0065557682, -0.0018191043, 0.0374695621, 0.0435993671, 0.033082772, -0.0227408838, -0.0138428425, -0.0583432131, 0.0081450697, -0.0626336709, 0.0092746913, 0.0149597535, 0.0387560166, 0.0036138021, -0.0559234582, -0.0006498265, 0.0326037407, 0.0571123958, 0.0198717229, 0.0096741375, 0.0330876932, -0.0063931923, -0.0801317841, -0.0364642963, -0.034666203, 0.0457506813, -0.0619961433, -0.027315747, 0.0240013041, -0.0360530801, -0.0143613974, -0.0382807292, -0.1513759792, -0.0267343763, -0.0088799102, 0.0905373916, 0.0236719027, 0.0096652675, 0.0086362474, -0.0100151328, 0.0208864305, 0.0357022807, -0.0111801205, 0.0292863119, 0.0625238344, -0.0081808139, 0.0178883225, 0.0152548235, -0.058300104, 0.003420803, 0.0136098582, 0.0296490528, 0.0157855395, 0.0424218662, 0.0728109851, -0.0289983675, -0.0078186085, -0.0102929762, 0.0241382439, -0.0047873417, 0.0351645723, 0.0418840013, 0.0021095194, -0.0647129118, 0.0063570431, 0.0189393722, 0.0405026153, 0.0531957559, -0.0144130029, 0.0135766529, 0.0407835469, -0.0017067248, 0.0501587167, 0.0223947633, 0.0019899914, 0.0667115077, 0.0255558454, -0.0294495896, -0.0045166183, 0.0212420505, 0.015739616, 0.0111038433, 0.0432890356, 0.0169805847, 0.0504090153, -0.0517852977, 0.0176460315, -0.0469172783, -0.0419219434, -0.02375485, -0.0146479802, 0.0445644855, 0.0043323254, -0.0277905855, -0.0532497838, 0.0231560972, -0.0098256785, 0.0204572286, -0.0362776257, -0.0057440493, 0.0576088391, 0.0358942784, 0.0437584706, -0.0129164681, 0.1255062521, -0.0103289587, 0.0819794461, -0.0004548886, 0.0569075905, -0.0402799845, -0.030385118, 0.031244589, 0.0151030058, -0.0155616375, -0.0359730795, -0.026391102, -0.0370504074, 0.0133264689, -0.0085237706, 0.0199728552, -0.0501959212, 0.0662823915, 0.0578501821, 0.0083290255, 0.0204289854, -0.0148718422, -0.0372716635, 0.0394253805, -0.0100861853, -0.0076132035, -6.043465515e-33, -0.0533994362, -0.0208577458, 0.0455548614, 0.0529167056, -0.0217250455, -0.0011163293, -0.0374222733, -0.0024240208, 0.0107886139, -0.0119330287, -0.0004393633, 0.0069636148, -0.0028449972, 0.0209131856, 0.0353632607, 0.0157637689, 0.0720583424, -0.0254769195, -0.0523974188, 0.0067760814, -0.0098383296, 0.019598946, 0.0247861631, -0.0076531102, -0.0081878481, 0.0077761412, 0.0000810875, 0.0000732401, -0.0247810688, 0.0711322501, 0.0051926612, 0.025689736, 0.0216377694, -0.0571590737, -0.0256352052, 0.0216788389, -0.0507830121, -0.0364375301, 0.028057849, 0.0024067517, -0.0279611237, -0.0713399425, 0.0429558568, -0.0091618523, -0.0321767405, -0.041600056, 0.0026601073, -0.0109946048, -0.0390823334, -0.0684580728, -0.0870534331, -0.0186620355, 0.0210345313, -0.062999703, 0.0064288387, 0.0223964695, -0.0281081125, 0.0015968803, -0.0163663775, 0.0341670737, 0.0050035268, 0.0507121943, 0.0364549942, 0.0204050057, 0.0045628063, -0.0023930429, 0.0293457042, 0.015014464, -0.0412837416, 0.0239723846, 0.0142743094, 0.0482075214, 0.0243386701, -0.0002902529, 0.0424304903, 0.0233163442, -0.0254520867, 0.0121670421, -0.0149603672, 0.0438954681, 0.027518807, 0.0172727052, -0.0143418536, -0.0340508185, -0.0475379191, -0.0148465149, -0.0038048767, -0.0218558833, 0.0341657102, 0.0474442802, -0.0021244637, -0.0285807867, 0.0243179128, -0.0303946156, 0.0094797099, -0.0163997281, -0.0293591414, 0.0357203372, -0.0128993439, 0.0052692932, -0.0588896051, -0.027314188, 0.0274491329, 0.0339522287, 0.0310175009, 0.0289930385, 0.0594383627, 0.0751445591, -0.0765519813, -0.0207103286, -0.0648257062, 0.013533134, 0.012592786, 0.0760118663, 0.053492181, -0.0067902245, -0.0114398785, -0.0013884928, -0.0533375777, -0.0749046504, -0.0394019671, 0.040284358, -0.0322004259, 0.0272582173, -0.0275587942, -0.0276667029, -0.0618813783, 0.0353874229, 0.0252348576, -0.0304043256, -0.0358084813, 0.0226343777, 2.756e-7, -0.008045461, 0.0151811577, 0.0052585346, 0.0225452445, 0.0108631551, 0.0080713816, -0.0487931557, 0.0043059783, -0.025903577, 0.0335889906, 0.0089916177, 0.0086515006, 0.0432613604, 0.0143575436, -0.078731373, -0.0109620141, -0.0323006734, 0.0128601389, -0.0410860889, -0.0341622271, 0.0363850147, 0.0847579986, -0.0054382808, -0.0084757702, -0.0008699243, -0.0019942813, 0.0830943137, -0.0040156557, 0.0232314486, 0.0042511839, -0.0186331086, 0.0587012805, -0.0194644891, -0.0149301756, -0.0149242459, 0.0009080999, 0.0052799964, 0.0415876731, 0.0211117342, 0.0059756874, 0.0574659519, -0.0009225184, -0.0176744442, -0.0254301932, 0.0284493025, -0.0904449001, 0.0010926137, 0.0062714596, 0.011071912, 0.0208508503, -0.0279402509, -0.0094754407, 0.0224368032, -0.0014520122, 0.001073811, 0.0272477735, 0.0064674909, -0.0442649089, -0.0177713614, 0.0062037581, -0.0123574557, -0.0328913964, -0.0591830574, 0.011862617, 0.0196614154, -0.0368721634, -0.0191349927, 2.814128425e-34, 0.0122606242, -0.0368835591, 0.0368367545, 0.0544365384, -0.0071565439, -0.0355636664, 0.0000244033, 0.0426430032, 0.0082343481, -0.0392281301, -0.0201079082 ]
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.0002261262, 0.107965529, -0.0045556719, -0.009832534, -0.0063393833, 0.0065243263, -0.036600776, 0.0018182492, -0.0211994629, -0.0470095687, -0.0361748748, 0.0279424582, -0.0111181969, 0.0546136163, 0.0758109242, -0.0486597568, 0.0447374135, -0.0275085624, -0.0108208545, 0.0292594638, 0.0033117344, 0.0096514588, 0.018077258, 0.0637381822, 0.0176717602, -0.0201071315, -0.0236087423, -0.0156450495, -0.0025075423, -0.0324619822, -0.0016977584, 0.0430907123, 0.0249215178, -0.0475470871, 0.0000019149, -0.0157970134, -0.0243530963, -0.0010568094, 0.0218996983, -0.0073418366, 0.0268696845, 0.0059905131, -0.0050038691, 0.0283879526, -0.0457357801, -0.0216873828, 0.0680756494, -0.0030529979, 0.0925011933, 0.0833982602, 0.0053408756, 0.032409966, -0.0008859395, -0.0149438363, 0.0396162234, 0.0042598508, -0.0041093007, 0.0414454639, 0.0206592493, -0.0002114576, -0.0122107444, 0.0221250728, 0.0224751756, -0.0038678588, 0.016372161, 0.0639355034, -0.0002799642, -0.0020238808, -0.0282767471, 0.0494659171, -0.0909819007, -0.0526085347, 0.0369707122, -0.0153939072, 0.0061088074, -0.0319119804, -0.0171935502, 0.0390353985, 0.0161312856, 0.0158657283, 0.0038301151, -0.0135859326, 0.0172084495, -0.0207674298, -0.0380898602, -0.0049340273, 0.0219107252, -0.0355618633, -0.0237748362, 0.0008952487, -0.0137413843, -0.0870334581, 0.0204977617, 0.051154796, -0.0044986121, 0.0157655701, -0.0898391306, -0.0200470593, 0.0094656767, -0.0320536457, 0.058924593, 0.0599620007, -0.0176167879, -0.0240922868, -0.0529100746, 0.0281288754, 0.00626302, 0.0282859057, -0.0531301759, 0.0553564988, -0.0884444416, -0.0112206554, -0.0534324124, 0.0646659061, -0.0269167367, -0.0179768614, -0.023778528, 0.0528341904, 0.0493375361, 0.0121426927, -0.0029827172, -0.0034414758, -0.0837088823, 0.0213681962, 0.0331163593, -0.0425244346, -0.008624197, -0.0086018983, 0.0133576961, -0.0328722484, -0.0163792856, 0.031315878, -0.0231559947, -0.0283214524, -0.0027251493, 0.054440476, -0.0345242657, -0.0024469132, -0.0301636774, -0.04204835, -0.0173647758, -0.0169697721, -0.0115115587, -0.0557633229, -0.0306248516, 0.0217899922, -0.02020666, -0.0563443825, 0.0040493668, 0.0037489815, 0.0121501824, 0.064692691, -0.0183412321, -0.0180035736, -0.0211704802, 0.0017339099, -0.0104139363, 0.040381074, 0.0413962305, 0.0088530844, 0.0008962381, -0.0379171036, -0.006664597, 0.0185092017, 0.0221425612, -0.0285644848, -0.0265987031, 0.0286439322, 0.0348627642, 0.003778894, 0.0510791354, 0.0209338218, -0.0204857923, 0.0341761187, 0.0030147615, 0.054454919, 0.0513133854, 0.0747506618, 0.1106464341, 0.0162154995, -0.0062889177, 0.0083203949, -0.0644833669, 0.002248938, -0.0094979052, 0.0577247217, 0.0043350053, 0.0469380617, -0.0084175691, -0.0494188927, -0.0016375813, -0.0253674164, -0.0068305046, -0.0558699369, 0.0101093436, 0.0270354375, -0.0660889223, 0.0403718911, -0.0109365415, -0.0795731097, 0.0289862342, -0.0427792408, -0.0231589489, 0.0291436855, -0.0028694582, -0.0434730388, -0.045235917, -0.0074671279, -0.0048586335, -0.0084325066, 0.0079920245, -0.0192873646, 0.0057782787, -0.0361192599, -0.0254538208, -0.0394574441, -0.0046319216, 0.0267760213, -0.0100748288, 0.0151221724, 0.0543800071, -0.0315125845, -0.0137109375, 0.0613131486, -0.0546687134, 0.0120823747, -0.0015192454, -0.0052373675, 0.0224385746, -0.0314662196, -0.0532695241, 0.0522000752, 0.0272583086, -0.0257263817, -0.0107765477, 0.0208930485, -0.0888552442, -0.0578137636, 0.0222615134, -0.0237509757, 0.0235097893, -0.0145589896, -0.0261530932, -0.0264864769, 0.0429049842, -0.0158526599, 0.0448213965, -0.0022359823, 0.0159318522, 0.0346710533, -0.0196695384, -0.0045680464, 0.0354036167, -0.0113564879, 0.0077965721, 0.0312050357, 0.0202762894, -0.0123012401, -0.0141084613, 0.0281040519, 0.0309316386, -0.0385741442, 0.0340921842, 0.0265048761, 0.0701774359, -0.0275911875, -0.0386733487, -0.1053880006, 0.0139719034, -0.015278752, 0.0466080271, 0.0363629833, 0.0177348778, 0.0028942532, -0.0212261491, -0.0572045296, -0.0180593953, 0.0133575229, -0.0112098167, 0.0344451629, 0.0055139582, -0.0509158671, -0.0422819294, -0.0040845932, -0.0223030075, 0.0634593368, -0.0138394311, -0.0123347854, -0.0538795628, 0.0274847243, -0.0145578152, 0.0087315664, -0.0086387256, -0.040267881, 0.0173889082, -0.0290367659, 0.0720791295, 0.0309501495, 0.0209981371, 0.0204941966, 0.0321858376, -0.0112131899, -0.049942378, 0.008902506, 0.0041266186, -0.0206752419, -0.0110462187, -0.0388725922, 0.0591727197, 0.1076878458, 0.0140575524, 0.0039457241, -0.0724076182, 0.0131562157, -0.0010427209, -0.0230948348, -0.0082890345, -0.0114697972, -0.0107898591, 0.0402186662, -0.0213650167, -0.0678543597, 0.0734756216, -0.0278202202, -0.0118560251, -0.0297604091, -0.018950142, -0.0324681476, 0.015932478, 0.0025589222, 0.0264211074, 0.0402500071, -0.0446108095, -0.0532591008, -0.0234698206, -0.0238279495, -0.0211611092, 0.0517254286, -0.039324116, 0.0202654116, -0.0020354339, -0.0273382235, -0.0520293154, -0.0253297985, 0.0174986664, 0.0098394994, 0.022412939, -0.0063491613, 0.0421704948, 0.0179781057, -0.0277521461, 0.0584160201, 0.0009287178, -0.0214749761, -0.0257685911, 0.0080584632, -0.0430423692, -0.026086593, -0.0337388217, -0.0106437877, -0.0051944656, -0.0018713702, 0.0696396232, 0.0144874202, -0.0581839569, 0.0227371026, 0.0159051437, -0.0482638367, -0.055474367, 0.0650505796, 0.0518293008, -0.0452456065, -0.0432101414, 0.0973204896, 0.03179067, -0.0060721124, 0.0414682031, 0.0156918224, 0.0566172265, 0.0298593622, 0.0328021422, -0.0517574437, -0.0373983011, -0.0059955837, 0.037781179, 0.005127267, -0.0198391899, -0.0458207317, -0.0894184038, -0.0124309864, 0.0087450659, -0.0276008956, -0.0142186861, -0.0214522053, -0.0354611538, 0.0135663636, -0.038625598, 0.0112484889, -0.0416553132, 0.0356093459, 0.0187538657, 0.003766973, -0.0293125212, -0.0093503231, -0.0090282783, 0.0358151719, 0.085575141, 0.0197127871, 0.0174830239, 0.0057199849, 0.0314124376, 0.0112512484, 0.0334643722, -0.0167076103, 0.0069107427, -0.0080092764, -0.0099575371, 0.0391539, 0.0396075211, -0.0441749506, -0.0343365893, 0.0183612984, 0.053413257, 0.0091968961, -0.0182997491, -0.030097032, 0.0108626494, 0.0353703983, 0.0307405405, 0.0552064255, -0.0455337204, -0.0400488041, -0.0614941865, 0.0162639879, -0.0401758105, -0.0533802956, -0.0291254297, -0.0187693778, -0.0030964406, -0.0884178802, -0.0405556522, 0.025047563, 0.0697770864, 0.0098215379, -0.0092948247, 0.0096635856, -0.0276068319, -0.0748570412, 0.0370057896, -0.0216357913, -0.0108714886, -0.0687820837, -0.0206526555, 0.001717388, -0.0645819381, -0.0354993716, -0.0442513339, -0.0744938776, -0.0461643152, -0.0425754078, 0.098528266, 0.0131884217, 0.0623198301, -0.0030811678, -0.0071722986, 0.0232707895, 0.0622252934, -0.0570707358, -0.0258612148, 0.0744907334, -0.0077209589, 0.0200400408, 0.0069767199, -0.0586876981, -0.00595024, 0.034139622, 0.0264715143, 0.0255253464, -0.0137588587, 0.0437303297, 0.0032874129, 0.0241715349, 0.0026308626, -0.0366926454, -0.0050099278, -0.0212077759, 0.0129467677, -0.0308338609, -0.0686519817, 0.0394641683, 0.0226677768, 0.0264635738, 0.0406372063, 0.0261587929, -0.0429730378, 0.0571312308, 0.016647514, 0.0594187789, 0.018212134, 0.0592759438, 0.0557053499, -0.0047620796, -0.0290186703, 0.0131615065, -0.0079712886, 0.0244502369, -0.0535374843, 0.0354831442, 0.0144791091, 0.0415351689, -0.0014684546, 0.0386511311, -0.0517343245, -0.0163313597, -0.0572705418, -0.0018186721, 0.0246010423, 0.0249704383, 0.0358352475, -0.0362590551, 0.0384881757, -0.0107888496, 0.0863767639, 0.0145087354, -0.0427634753, 0.0229830705, 0.0050128708, -0.0112075377, -0.0351099521, 0.0847200826, -0.0010236254, 0.0083891321, 0.0081006121, -0.0227670036, -0.0543876253, -0.0015906695, 0.0765505508, -0.016710056, -0.0195995681, -0.0024480852, -0.0231706668, -0.0673128068, 0.0034869483, 0.0237877574, -0.0020129229, 0.0044510094, 0.031157475, 0.0661068186, -0.0120519716, 0.0009835246, -0.0178028867, 0.0295354091, 0.0425927602, -0.0480132215, -0.033884909, -5.600493694e-33, -0.0457883105, -0.0133386608, -0.0014148022, -0.0352900289, -0.0087573938, 0.0029349683, -0.0457531139, 0.0030760709, 0.0343443081, -0.0457872935, 0.0140539231, -0.0050520771, -0.0014500573, 0.0025108524, 0.014584925, 0.0211453326, 0.0614108033, 0.0024344728, -0.0611888841, 0.0563309826, -0.0312007442, 0.0352306552, 0.0554787479, -0.0358034447, 0.0105241816, 0.0079314616, 0.0088997902, -0.0239980891, 0.0363019332, 0.0520348959, -0.005806658, -0.0023444814, -0.0028698165, -0.0246879533, -0.0800572559, 0.0068978909, -0.0261895005, -0.0307179689, 0.0397287309, -0.0137760052, -0.0164900832, -0.0612750091, 0.0607028268, -0.0396297835, -0.0215283763, 0.0050417073, 0.0414494574, 0.008625892, -0.0074672629, -0.016961934, -0.085240528, 0.0233417302, -0.0474529415, -0.0323474482, 0.0138692046, 0.0322814211, -0.0150102153, 0.0061520939, 0.0327768102, 0.0077324901, 0.0278362725, 0.0703294277, 0.0615057759, 0.0419454724, 0.0137707628, 0.02283944, 0.0377777815, -0.0229201447, -0.013039168, 0.0395937078, 0.0405488275, 0.0411201604, 0.0135354493, 0.0210640114, 0.0591829121, 0.0170065649, -0.0097355405, -0.0028801875, -0.0203781296, 0.0067642047, 0.0177547168, 0.0322474577, 0.0097465552, -0.0114436336, -0.06379316, -0.0518752337, -0.0091066165, -0.0677563548, 0.068252109, -0.0044631767, -0.0322720483, 0.0040740329, 0.0438358597, -0.0055057169, -0.0334005766, 0.0503529832, -0.0400823876, 0.0248277001, -0.024003597, 0.0374492705, -0.0696006417, -0.0419264138, 0.0628950149, -0.0272132866, 0.0626161546, 0.012944188, 0.0144761233, 0.034684673, -0.0463250019, -0.0015058642, -0.0252615269, -0.011536099, 0.0157717112, 0.0552976876, 0.0677627996, -0.0220312588, -0.0152826896, 0.0635564923, -0.0152427293, -0.0571303256, -0.0352319591, -0.0066218991, 0.0157016534, 0.0526920073, -0.0258111339, -0.0083755106, -0.0605848879, 0.0271354523, 0.0189465042, -0.0362027138, -0.0407554284, 0.0205456372, 2.607e-7, 0.0267092567, 0.0044938195, 0.0337299444, 0.0367621854, -0.0190557279, 0.0391430072, -0.0403504297, 0.040804673, 0.0228334889, -0.0066539939, -0.0213449281, 0.0063509862, 0.013938725, 0.0165327024, -0.0412359685, 0.0067533525, -0.0270760935, 0.0372632593, -0.0486698151, 0.0036857978, 0.0700365156, 0.0765388086, -0.0374973603, 0.0296766292, 0.0153540224, -0.0635994226, 0.0368937477, -0.0162211079, 0.0075493325, 0.0217987001, -0.0382882841, 0.0039726389, -0.0177542605, -0.0118525792, -0.0203817543, -0.017723009, 0.0380255058, 0.0723738372, 0.0054808781, 0.0361501053, 0.0188731235, 0.0036162576, 0.0058431937, -0.0058980845, 0.0491180308, -0.0721464083, 0.002607431, -0.032051865, -0.0242740083, 0.0111716781, -0.0150946071, -0.0302179996, 0.0006556405, 0.0315807797, 0.026707286, 0.0160636306, -0.0264130384, -0.0360540748, -0.0423727185, 0.0060879551, -0.0194671247, -0.0256298352, -0.0839977264, 0.041753415, 0.0234523546, -0.0452566408, -0.0165648721, 2.921454962e-34, 0.0066548926, -0.0398317873, 0.0259798244, 0.0165575016, 0.0323138684, -0.0200641956, 0.0178944282, 0.0256050825, 0.0355323777, -0.0474377871, -0.0565232858 ]
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.0382892936, 0.0710491613, -0.0390896536, 0.0564983748, -0.0141359251, 0.0502765216, 0.0703866631, -0.0102607235, 0.0256437529, -0.0803618208, -0.0340798348, -0.0747846738, 0.0347519852, 0.018685434, 0.0258797202, -0.0694945455, -0.0016214653, 0.0032504089, 0.0089704897, -0.0419258587, 0.0069192909, 0.0361210853, 0.0352312103, 0.0394053124, -0.0323580243, -0.0348603353, 0.0259028003, 0.0299830548, 0.0142496992, 0.0177885108, -0.0043370584, 0.0434695855, 0.027538633, 0.0101523735, 0.000001612, -0.0459187329, 0.0614927262, 0.0021850492, 0.0234825853, -0.0240773875, 0.0315086842, -0.0029064314, -0.0143592898, 0.0073219277, -0.0479227044, -0.0145261381, 0.0643911287, 0.0452166423, 0.0556190424, 0.0179683268, -0.0202282481, -0.0170861147, -0.0556323901, -0.0048542824, 0.020378001, -0.0122609101, 0.0428852066, 0.0046374975, -0.0115307095, -0.0362051725, -0.0299825091, 0.0219830088, 0.017372068, -0.000354724, 0.0058732643, 0.0566975698, -0.0386169441, -0.0781621486, 0.0011768637, 0.0879580453, -0.0161449034, 0.0078170123, -0.0102434373, 0.0092833927, 0.0065732854, 0.0093482872, -0.0498722866, 0.0612401739, 0.0017972393, 0.013294532, -0.0712863952, -0.0274823438, 0.0189439841, 0.0398167297, 0.0011850182, 0.0215227921, 0.0203594957, -0.0076382384, -0.0262791347, 0.0237781666, -0.0168497469, -0.0741685554, -0.00722695, 0.0020346823, 0.0140664298, 0.0087865358, -0.0453087464, -0.0126567921, 0.0022515841, -0.0797099173, 0.0365985557, 0.024308756, -0.0272033419, 0.040463306, 0.0104233725, 0.0768599361, 0.0105623864, 0.0123694241, -0.030085491, -0.0484906174, 0.0037321523, -0.0112518463, -0.0198508129, -0.0194450039, -0.0404404812, -0.012711538, -0.0447127596, 0.008075702, -0.0638265461, 0.0079201218, 0.0055759959, 0.0473779961, -0.0217036903, 0.0033746343, -0.0359112024, -0.0141034583, -0.0065082996, -0.0000289541, -0.0436324552, -0.1055829078, 0.0116742393, 0.0158523377, 0.0106335878, -0.0370214097, -0.0116027892, 0.0383799635, -0.0027364455, -0.0258213338, -0.0205173343, -0.0171545651, 0.0021496057, -0.0708720535, 0.0322797149, -0.0736736208, 0.0357253067, 0.0050606383, 0.0210802313, -0.0240716916, -0.011021154, 0.0486380123, -0.0524790287, 0.1029270738, 0.0461620875, 0.0094850799, 0.0545228906, 0.0172855146, 0.0009145612, 0.0936630294, 0.0313917883, 0.0326900333, 0.0610942356, -0.0070788404, 0.0105052739, 0.0419323333, -0.0056490446, 0.0131354379, -0.0628048405, 0.032254789, -0.0061587128, 0.0303773899, 0.0548490807, 0.0389744863, -0.001673078, -0.0497519001, 0.0742543787, 0.1011998132, 0.0033917155, 0.0252582077, 0.052746959, -0.0156140467, 0.0168165788, 0.0175522733, -0.0733761936, 0.0576764829, 0.0098721804, -0.0254026875, -0.0168961007, 0.0766276121, -0.0581078343, -0.006518024, -0.0000703691, -0.0162372589, 0.0224853642, 0.0326982662, 0.0146018751, 0.0030320382, 0.0049985969, 0.0055085639, 0.0161709785, -0.0475210883, -0.018743949, -0.0595050305, 0.0200567804, 0.0587562099, -0.0126100779, 0.0213355068, 0.0219226293, -0.0103577962, 0.0097793899, 0.0411201753, 0.0266222786, 0.0192256849, 0.0284200832, -0.0495572612, -0.0122216828, 0.0214224569, 0.0027764998, 0.0215152483, 0.0406635478, 0.034077201, 0.0326420069, 0.0273419768, -0.0486832745, 0.0252644382, -0.0108060231, 0.0206290223, 0.0146041522, 0.0208998583, 0.0053274026, 0.0048923446, -0.0336045362, -0.0123620732, -0.002065768, -0.0009103054, -0.0010361008, 0.0539473295, -0.0464108214, -0.0192240179, 0.0345832333, -0.0849644691, -0.0599269718, 0.0548019148, -0.0141879488, 0.0004536734, 0.0415478908, -0.0266666189, -0.0198807325, -0.0416131467, -0.0005126013, 0.0026552356, 0.04643609, -0.0061394922, 0.030149458, -0.0225722026, -0.0299957376, 0.0134332553, -0.0039664079, -0.0218831301, -0.0696004778, -0.0342298448, 0.0198100582, 0.0327996612, 0.0094521157, 0.0001180319, 0.002833497, -0.0455900542, 0.0273395851, -0.0947846472, -0.0317819454, -0.0216550827, -0.0634819418, -0.0140792271, 0.0108407317, -0.0246542152, -0.0356157869, -0.0403226055, 0.0485753231, 0.0104926424, 0.0437905006, 0.0267686304, -0.0185517296, 0.0017753887, -0.0291701667, -0.0412047096, 0.0023396723, 0.091346994, 0.0426056534, -0.0022119998, -0.0266881771, 0.0277618896, -0.0383959487, 0.0612131394, -0.0014906065, -0.0391275696, 0.0226474367, 0.009166711, 0.0489523932, 0.097858794, 0.0289733205, 0.0272987578, 0.0279042926, 0.0004662276, -0.0233050641, -0.0149239842, 0.0324229933, 0.0211368501, 0.0239504054, -0.0979855508, -0.0410938859, 0.0061228713, -0.0060266731, 0.0010549688, -0.059546791, 0.0643560663, -0.0099901659, -0.0876923054, -0.0448591486, -0.0085587977, 0.0074036843, 0.0420280434, -0.0588472001, -0.0844051018, 0.0405070819, 0.0031807083, -0.0089236377, 0.03593475, 0.0084243603, -0.0484863818, 0.0725308359, 0.0276475213, 0.0348179042, -0.0200251564, 0.026735004, -0.0618897527, -0.0288821626, -0.0032585284, -0.0335005969, 0.0624841563, -0.0402803198, -0.0087857312, -0.0185296349, -0.0515676737, -0.034227334, -0.0289225262, -0.0274966303, -0.0172597282, -0.0387388133, -0.023177525, -0.0143302726, 0.0198470671, 0.0056298128, -0.0178335309, -0.0214337111, 0.012714277, 0.0070065097, 0.0286575388, 0.0943594128, 0.0167275313, 0.0005301664, -0.0378509834, 0.0191714186, 0.0460092202, -0.0015230662, 0.0173330493, -0.0415835157, 0.0181470644, 0.0243444312, 0.0409965739, -0.0114215547, -0.0032861235, 0.0485857353, -0.0116202105, 0.0236290898, 0.1030310467, 0.0094523998, -0.0779737979, -0.0154820019, -0.0017008346, -0.0169691704, 0.02956146, 0.0059698592, -0.0784286708, 0.0014980981, -0.0030784328, -0.0274211336, -0.0347424038, -0.0401368961, -0.0526842028, -0.1104503721, 0.0440209247, 0.0060840664, -0.0231659096, -0.0351374112, 0.0120595461, -0.0024585819, -0.0175747145, 0.0286285318, -0.0199228562, 0.0022065761, 0.0018119054, -0.0260515027, 0.0005987157, -0.0090789162, 0.0481604859, -0.0632939339, 0.0252669789, 0.032594759, 0.0497020707, -0.0059484569, -0.0412846506, 0.0163291879, -0.0024715506, 0.0248092283, -0.017426027, 0.0359874368, -0.0603340529, -0.0406925716, -0.0345043689, 0.0295885019, 0.0245642588, 0.0005032957, -0.0084951958, -0.0038952983, -0.0060876948, -0.0288625471, -0.0583378784, 0.0014564329, -0.0000538929, 0.0673171133, 0.02217949, -0.0508115776, -0.0385138094, -0.0319292434, -0.0081087714, -0.0055992017, -0.0564496554, 0.0107305944, 0.0141955595, -0.0088066114, -0.0379534736, -0.0443030298, 0.0322452821, 0.0045762784, -0.0252042469, -0.061047297, 0.016935356, 0.033481352, -0.0663723275, 0.0500987731, -0.0350292623, 0.050475806, 0.0201222096, -0.0157626998, 0.0009955859, -0.0480378196, -0.0027966255, 0.0154745597, -0.0982052013, -0.0346433036, 0.0021435397, 0.0536693297, 0.0205853488, 0.0356983468, 0.0281837825, -0.0809134766, -0.0022900049, 0.0239554457, 0.0165708289, 0.038545873, -0.0194778573, 0.0360669754, -0.0023414744, 0.0434726402, -0.0134971794, 0.0275854953, 0.0102553358, -0.0426524729, -0.0389699712, -0.0517178029, -0.0293120332, 0.0221252069, 0.005708931, -0.019678086, 0.0190987047, -0.0269679613, -0.0108092902, -0.0258283634, -0.0077381781, -0.0493384413, -0.0404523499, 0.0134268934, 0.021441672, -0.0209747087, -0.02271327, -0.0339427479, 0.0050109252, -0.0466833636, 0.0012971216, 0.0312193632, 0.0143556278, 0.0056524803, 0.0215182342, 0.0106461579, 0.0299923997, -0.0483758263, 0.0197122414, 0.0425033346, 0.0335641019, 0.0186896473, -0.0194167309, -0.0250450447, 0.0328210294, -0.030807225, -0.0422360301, -0.0010828055, 0.0326464511, 0.0562823974, -0.0124444626, 0.0372675881, 0.0110954987, -0.0101261036, 0.0011117775, 0.002273564, 0.028770633, -0.0103638135, 0.0828986391, 0.0113948602, 0.011640151, 0.0123157417, 0.0663734227, 0.0351758115, 0.019515397, -0.0025979895, -0.0594847426, -0.013503137, -0.0077455458, 0.0516435355, -0.0328479148, 0.0077156648, 0.0223652348, -0.047963798, -0.0690059289, -0.0081930151, -0.0057785558, 0.0287919994, 0.0328250043, 0.0459756777, 0.0431025364, -0.0035019065, -0.0249221865, -0.0110104401, -0.0131034544, -0.0470166244, -0.0262810681, 0.0004495038, -5.565625592e-33, -0.0226547886, -0.0421302915, 0.0020021596, -0.0114169884, -0.0393487252, 0.0036936889, -0.0007901659, -0.0216167159, -0.0244266968, 0.0079322653, 0.0011727841, 0.0445070267, 0.0167935733, 0.0285493825, -0.0142011838, 0.0186250787, 0.0521467216, -0.0142405303, 0.0009518733, -0.021512961, -0.0127211474, 0.0122979116, 0.0149197467, -0.0448733456, 0.0227365326, -0.0194476135, -0.0062764431, 0.0017054756, 0.0094103841, 0.0509891212, -0.0421700291, 0.0556127764, 0.0452749319, 0.0118561285, -0.0234660208, 0.0822044164, -0.0450577624, -0.01107476, 0.0109957857, 0.0547820888, -0.0503866524, -0.0078432811, 0.0163209792, -0.0104531376, -0.0217625685, -0.0639242306, 0.0683979839, -0.0194676351, 0.0343994796, 0.0450645015, -0.0058941799, -0.0006402943, -0.0210896861, 0.0018248713, 0.0241870042, 0.0218123607, -0.0100436239, 0.0288380701, -0.0481388792, 0.0475152917, 0.0014941433, -0.0323704518, 0.075118266, 0.0556885488, 0.0623919442, 0.0357342474, 0.0939271525, 0.0030654601, -0.045146849, -0.078809917, 0.0048506367, 0.0191078503, 0.0191727299, 0.0921775401, 0.0164914224, 0.0034457287, -0.0594432577, -0.0191424284, -0.0127401035, 0.0421008058, 0.0288917758, -0.0089657158, -0.022493653, -0.0090343626, -0.0331624858, -0.042500522, -0.0413254909, -0.0205533486, 0.030609997, -0.0040477035, -0.0046782256, 0.0407982692, 0.0361371562, -0.0737533718, -0.0054426007, -0.0158514325, -0.0171852168, 0.0085785035, 0.0321611017, 0.0069947676, -0.0428232141, 0.0178303588, 0.047132995, 0.0417830013, 0.0130873136, 0.0250160303, 0.0052256263, 0.0112177664, -0.0530960225, -0.0092278766, -0.0399843901, 0.0008112098, -0.0030747461, 0.0247788504, 0.0113549801, 0.0267454106, -0.0439446568, 0.0042503676, 0.0026474199, -0.0185851194, -0.0384128913, -0.039918106, -0.008738094, 0.0224159006, -0.0390146337, 0.0064014867, -0.0328794532, 0.0084368195, 0.0572496466, -0.0483022183, -0.013144155, -0.0015295354, 2.199e-7, -0.0324786939, 0.0216834731, 0.0165024344, 0.0416518673, 0.0485066921, 0.039876312, 0.0058009266, 0.0558613427, 0.0496356413, -0.0147483526, -0.0155486362, 0.0637528598, 0.0120069226, -0.0012328689, -0.0192216076, 0.0266802423, -0.0781985968, -0.0092272507, -0.0189915765, 0.0106129115, 0.0347099937, 0.0824735984, 0.0232922379, -0.0271553919, 0.0035047741, -0.0389114842, 0.0702942908, -0.0445112176, -0.0086151846, -0.0351680145, -0.0267610997, 0.0242504999, 0.0046467786, 0.0584478676, 0.0126051996, 0.0034337612, 0.0303964484, 0.0049497047, -0.0322298743, 0.0156549811, -0.0214332454, 0.0209875666, -0.0504901819, -0.0736059994, 0.0869188309, -0.0123769706, -0.0648036525, -0.056838531, -0.0003715952, -0.0105304522, 0.0730632842, -0.0213658176, -0.0270556137, 0.0113782603, 0.0445573144, -0.0277805217, -0.0137803769, -0.0775811896, -0.0056775352, -0.0513651185, -0.030331878, -0.0551719777, -0.0515184812, 0.0135873845, 0.0454359837, -0.0127995554, 0.0043154587, 1.235976635e-34, 0.0031389587, 0.0331778228, 0.003566636, -0.0144972038, -0.0043401765, -0.01402268, -0.0406018682, -0.0194134973, 0.0371060297, -0.0545455031, -0.002916408 ]
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.0020111271, 0.0289674979, -0.0048550987, -0.0242060106, -0.0349298604, 0.0098017771, -0.0023984881, 0.0174649768, 0.0726166889, -0.016148001, -0.0185610782, 0.0012603505, 0.0219619647, 0.0218586475, -0.0310777742, -0.0988882408, 0.037122447, -0.027062688, -0.0260808188, 0.0484140478, 0.0052569932, -0.010574772, -0.034107931, 0.057657022, -0.0358656347, -0.0621612184, -0.0413003899, 0.0472468734, -0.0035141674, 0.048887223, -0.0295838602, 0.0391698815, 0.0054800771, 0.0244176984, 0.0000020643, -0.0673821792, 0.0444161296, -0.0202711783, 0.0005289464, 0.0484387949, 0.0278861541, 0.0439202785, -0.0078881821, -0.0027700851, -0.0141426222, 0.0581935793, 0.0418754667, 0.0577088892, 0.0412885919, -0.0267454293, -0.0121755637, 0.0823547468, -0.0034824971, 0.0349363051, 0.0763959289, -0.0259807594, 0.0101913363, -0.0141010629, 0.0568461306, -0.0569654256, 0.0122492788, -0.0026939618, -0.0057513546, 0.0069715441, -0.0439470597, 0.0469005182, -0.0221580435, -0.0747812837, -0.0470471829, 0.023421675, -0.044293087, 0.0348166414, 0.0540251844, 0.0197511744, -0.0078222863, 0.024114579, -0.0222157519, -0.0579223819, -0.0307495147, -0.0390093997, -0.0331620909, 0.0095248502, 0.0045285104, 0.0157092698, -0.0326642133, 0.0406247526, 0.0081180502, -0.0227902476, 0.0363604017, 0.0270667616, 0.0256827679, -0.0306549761, 0.0000688131, 0.0381161757, -0.1279852688, 0.0006776611, -0.0205618702, 0.0123431953, 0.0033018561, 0.0013131879, 0.0140580228, 0.0308647659, -0.0384862125, 0.0248763803, 0.0318780839, 0.088859275, -0.0248219799, -0.0697375461, -0.0045422027, 0.0075217495, -0.0469597466, -0.0166840684, -0.0547078475, 0.0057566138, -0.0433441624, -0.0218422338, 0.0104818316, 0.0612021573, -0.0128973685, 0.0340854153, -0.0075648185, 0.0387998335, -0.0393499769, 0.0088078268, -0.0168417282, -0.0270232204, -0.0593968369, -0.0122433174, 0.0210373569, -0.0168808959, 0.0090219835, 0.0153410481, 0.0019763734, 0.0075747077, -0.0056955409, 0.0406348035, 0.0069732075, 0.0249241889, -0.0266526919, -0.0619303435, 0.0376669243, -0.0344140232, -0.0643511415, -0.0302687865, 0.0413630307, -0.0036149109, -0.0368513763, 0.0062768082, -0.0123077128, 0.0456522778, -0.0003920236, 0.0710860193, 0.0108275693, 0.005794866, 0.0377872698, 0.0307361446, -0.0475651957, -0.0007117103, -0.0223743878, 0.1310457438, 0.0512417071, -0.0048365286, 0.0800261647, 0.0337366909, -0.0470941924, -0.0016755511, 0.0617607124, -0.0038143545, -0.0132758701, -0.0008007091, -0.0360259376, 0.0134372171, 0.0141317658, 0.0367521457, 0.0548316166, 0.0765996054, -0.0479960106, -0.0249676649, -0.0080392631, 0.0281998757, -0.0167417359, 0.0148182828, -0.0269204602, 0.0754522234, 0.020380903, -0.0036798446, -0.0134480204, -0.0096966904, -0.0331628695, -0.0157369766, 0.0208093822, -0.0097800968, 0.0292298496, -0.0052502244, 0.0290681105, -0.0083121378, -0.0188339502, -0.0254142992, 0.0009917101, -0.0072058155, -0.0483218618, -0.0973005593, 0.0085648494, 0.0839500278, 0.0031467364, -0.0117108366, -0.0142390644, -0.0076319552, 0.0209653005, -0.0158400126, 0.0420123711, -0.0137536423, 0.013306167, 0.0409208536, -0.0248754956, -0.0033620838, 0.0109899947, 0.0701524615, -0.0215742122, -0.0030525778, -0.0101185534, -0.0384526215, 0.0235270187, 0.0172606073, 0.0628851876, -0.053023506, -0.0012706236, 0.0440848432, 0.0081185577, 0.0142014157, 0.0160461329, -0.0144051965, 0.0284490865, 0.0068968083, 0.0083638597, 0.0066947038, 0.0294862501, 0.0660309568, 0.0108347386, 0.0119357165, -0.0062081115, 0.0444009975, -0.0148922121, -0.0316330492, 0.02709122, 0.0250740815, 0.0245455708, -0.0096821627, 0.0030923653, -0.0157401599, -0.0431027301, -0.0083063636, 0.0360602774, 0.0455193631, -0.0275767446, 0.0618714057, -0.0204765406, 0.0299900789, -0.0073729698, 0.0171905197, -0.0232734699, -0.0203514379, 0.0019474439, -0.0071115131, -0.0125294067, 0.0072952011, 0.0067825611, -0.1062285155, 0.0174250901, -0.0466473289, -0.0074715558, 0.0295738485, 0.0811304376, -0.0220163651, -0.0279647969, 0.0162578877, 0.0109454701, 0.0154807596, -0.0173797198, 0.0386675708, -0.013676865, 0.0097933905, -0.0453929603, 0.0175231043, -0.0162829533, -0.0585434772, 0.0430104807, -0.0445187986, -0.04450804, 0.0014891002, 0.0169803593, 0.0331522264, -0.0224759746, 0.0043714116, 0.0451399349, -0.018695103, 0.0159885064, 0.0851785243, -0.0257623512, 0.0355219133, 0.0552338958, 0.0007193016, -0.0267251618, 0.0259320382, 0.0325231887, 0.012156127, 0.0043165563, 0.0111219734, 0.0930606127, 0.0252612177, 0.0042511527, 0.0156433582, -0.0122446157, 0.0099258246, -0.0194456298, -0.0159408096, -0.039484255, 0.0042321165, -0.0562706254, 0.0438636988, -0.0341757871, -0.0681362003, 0.0421963967, -0.0572929718, -0.047436934, 0.0669977143, -0.0447385721, 0.0073260712, 0.0592262931, -0.0117612407, -0.035182979, 0.0070598326, -0.0694626346, -0.0039728107, 0.0244225487, 0.0148584386, -0.0191482175, -0.0132806804, -0.068513073, 0.0153604615, -0.0142502869, 0.0021285887, -0.0007521893, -0.0156446993, 0.0047651567, -0.0477234088, -0.049799636, -0.0281739831, -0.0436750688, 0.0120592397, 0.0326436274, 0.0539517328, -0.0010596152, -0.0493851528, -0.0018115293, -0.0837696567, 0.0503731593, 0.036124602, -0.1097629666, 0.0155495396, -0.0051925303, 0.0389336087, 0.0423932262, -0.0194849316, 0.0059882915, -0.0020276301, 0.019833317, -0.0204162057, -0.0231108572, 0.0272594541, 0.0119702984, -0.0387213938, 0.0473840311, 0.0680956542, 0.0625448227, -0.031344831, 0.0019121958, -0.0398863181, 0.0059023821, 0.0492779538, 0.0354399867, -0.0506698005, -0.0248863269, -0.0140747419, 0.0445583761, 0.0356373154, -0.0369562842, 0.0253815297, 0.0245735142, 0.0153184477, -0.0284646172, 0.0302910395, 0.0157547258, -0.0360939018, 0.0536910482, -0.0050237342, -0.0483012423, 0.0205465294, -0.0110009648, -0.0194058251, -0.0212228019, 0.0082587451, 0.0193793699, 0.0467922948, -0.0173477493, -0.0520165637, 0.0960834324, 0.0137018804, 0.0076288725, -0.0478057489, -0.0463182442, 0.0401287749, 0.0189071689, -0.0489081666, 0.0409072153, -0.0127461553, 0.0042648762, -0.0340392664, 0.0530484468, -0.0520702079, -0.0069237975, 0.0430537201, 0.0658594221, -0.0418061912, -0.0308705997, -0.0362201184, -0.0693308264, 0.0432458818, 0.0165333431, -0.0358631909, -0.0318790004, -0.080671832, -0.0289420933, -0.0088836486, 0.0314794108, -0.0725573748, 0.0170113053, 0.0165183842, -0.0516775474, -0.0316834822, -0.0442318507, 0.0662767217, 0.0512742661, -0.0123325316, -0.025964357, -0.0299011841, 0.0401014909, -0.017915871, 0.0048894905, 0.031142557, 0.0216457322, 0.0281630345, 0.0128032342, -0.0067479815, -0.008782357, 0.0216140058, 0.0121518029, 0.0405196883, -0.0238728318, -0.0309212953, 0.0481404737, 0.0204872563, 0.0241697691, -0.0031696428, 0.0248283129, -0.0240224805, -0.0269925334, 0.0034740111, -0.0004507937, 0.0152317099, -0.0391185507, -0.0336166807, -0.0076655345, -0.0831458718, -0.0403532274, -0.0409466699, -0.000186438, -0.0129416538, -0.0032299263, 0.0445240214, 0.0194776505, 0.0015982583, -0.0428722054, 0.0493317582, 0.0074620377, 0.0173437912, 0.0335281342, 0.0052012047, -0.0327263288, 0.0291651711, -0.0632724985, -0.0160605926, 0.0371157452, -0.0185367987, -0.050703194, -0.0246161334, -0.0660133734, -0.0078908131, -0.0608420037, 0.012346724, 0.0327100903, 0.0045574517, 0.0049102325, 0.0245418958, 0.0479561314, 0.0870983228, -0.040515177, 0.019485563, -0.0078415843, 0.0102585545, -0.0149103934, 0.0251933001, -0.0336843319, -0.0281008985, 0.051590953, 0.0243763998, 0.0212469026, 0.0029542684, -0.008105834, -0.0467904434, 0.011773115, -0.0279728435, -0.0146410028, 0.0193149876, -0.0023730733, -0.0672480389, 0.0193908885, 0.0242664851, -0.0395863801, 0.0300405994, -0.052339863, -0.0089935977, -0.0124626225, -0.0488748923, -0.0727621317, -0.0277039688, -0.0088575268, 0.0197945237, -0.0185114238, -0.0334295593, -0.0431583598, -0.0299423318, -0.04467199, 0.0166648999, -0.0594512448, -0.0775177926, 0.0391893275, 0.0607971363, 0.016904192, -0.0025925573, -0.0020045284, -0.0386120901, -0.0428291708, 0.0419718213, -0.0519381575, -5.185822633e-33, -0.0044136327, -0.0230794251, 0.024516942, 0.0768902823, 0.0232160278, -0.0664053783, -0.0030271513, 0.006636593, 0.0150312446, -0.0132562062, -0.024568487, -0.0131103862, 0.0257798918, -0.0543304533, 0.0210302398, 0.0626251176, 0.0287821032, -0.0063736993, -0.0402446054, 0.0308454838, -0.0035761234, -0.0063523529, -0.0188565962, -0.0982340276, 0.0353335105, -0.0234440472, 0.0365152508, 0.0051208078, -0.0104069067, -0.0061971494, -0.0091961501, 0.0407138355, 0.0212470312, 0.0333986208, -0.0090568857, 0.0794795752, -0.0230552088, -0.0622854158, 0.0118426224, 0.0340691805, -0.0417789407, 0.0111205541, -0.0265456624, 0.0385360308, 0.0076222261, 0.0376921482, 0.0262455735, 0.0194734111, -0.0048476327, 0.0230164267, -0.0843302161, -0.0107782464, 0.0389951877, -0.0330528729, -0.0019430582, 0.0623071343, -0.0144259101, -0.0233590193, -0.0190111585, -0.0351762474, 0.0014897136, 0.0108729461, 0.0354362167, 0.0548693761, 0.0192884076, 0.0005602797, -0.0093038995, 0.0193244144, -0.0108367745, 0.0168049671, -0.0083913757, 0.0705780685, -0.0034576273, -0.0298441835, -0.0204433035, -0.0497641191, 0.0175557081, 0.0529199056, 0.0464519709, 0.0250445232, -0.0218169093, 0.0186366402, -0.0192673579, 0.0167895239, 0.0537454672, 0.0245353915, -0.0334269702, -0.0620331354, 0.0447384492, 0.0367490463, -0.0184608959, -0.050660383, -0.0439366214, 0.0204607286, 0.027151376, -0.0657415912, 0.0053629391, 0.0023873311, -0.0211864989, -0.032053683, 0.0364829823, 0.0014218733, -0.03145504, 0.0268747676, 0.0680512637, 0.0004946448, -0.0745597854, 0.044629328, -0.0085532479, 0.0005672031, -0.0062457067, 0.0179704521, -0.014725388, -0.0482556075, 0.024173595, -0.0323393717, -0.0121200439, 0.0236518364, -0.0422982201, -0.0921889096, -0.044020962, -0.0208687298, -0.0094195958, -0.0202786401, -0.0546086617, -0.0516071729, -0.0526820794, 0.0151592623, 0.0433268249, -0.0035476538, -0.0006614017, 0.0156760123, 2.873e-7, -0.037604101, -0.0010835581, -0.0052706571, 0.039199844, -0.0027744754, 0.0368291587, -0.01357341, 0.0525947884, 0.0071932431, -0.0659331754, 0.0228066463, -0.0295565184, 0.0136691239, 0.0399287492, -0.06356024, -0.0138757695, 0.0687754005, 0.0033668685, -0.0510053895, 0.0269713476, 0.0581376739, 0.0208083, 0.0011043607, -0.0146111362, 0.0881321728, -0.0221329983, -0.0239407737, -0.0300907083, 0.0288451631, -0.0333576761, -0.0202534031, 0.0240905397, 0.0073643499, 0.0241643712, -0.0487414077, 0.0150619149, -0.047786396, 0.0492866859, -0.0496169999, -0.0428108983, -0.0139793716, -0.0232259277, 0.0391795598, -0.0039707967, 0.0332429931, -0.038815219, -0.0000772491, 0.0310523324, 0.022857843, 0.0031563304, -0.0567925535, 0.0092100576, 0.0041042664, -0.0197316241, -0.007512318, 0.0068139848, -0.0279926918, -0.0244760048, 0.0150830364, 0.0177609567, -0.0247238036, -0.0408744924, -0.0391819552, -0.0340724587, -0.0099390494, 0.0115505271, -0.02995372, 2.388424294e-34, -0.0090288585, 0.0183957703, 0.0311305597, 0.023017982, -0.006666916, 0.0740675405, -0.0359040648, 0.0498145483, 0.0809486136, 0.0062893643, -0.0230059698 ]
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.0170925334, 0.0674188212, -0.0016423524, 0.0238474067, -0.0387185253, 0.0010972951, -0.0091235349, -0.0188346449, -0.0560691506, -0.0724341497, -0.0779218823, -0.0344476439, 0.0185410753, 0.0716229454, 0.0518661588, -0.0717855692, 0.0292811096, -0.0328761451, 0.0264097489, 0.0070683756, 0.0496111065, 0.0365193188, -0.0302708857, 0.0261718929, -0.0499137007, -0.0139075452, -0.0344232321, 0.0236411951, -0.0126269571, -0.0061679147, -0.0138035221, 0.0149777681, 0.0854942724, 0.0046558594, 0.0000019478, -0.0035327612, 0.0059543732, -0.0022545834, 0.0039142752, -0.0147654451, 0.087972872, -0.027708983, 0.0094397254, 0.0425519906, -0.0383886956, -0.0523621775, 0.0388557576, 0.0552409329, 0.0530463308, 0.07819058, -0.0170719121, -0.0246632621, 0.0425096266, -0.0296498016, -0.0015897544, 0.0259114895, -0.0237813573, -0.0147994859, -0.0092645595, 0.0075251278, -0.035218671, 0.0559824854, -0.0029342768, 0.0001352241, -0.0082230931, 0.0224874672, -0.0222189743, -0.0209425874, -0.0407461338, 0.0691414699, -0.0156150926, -0.0173615608, 0.0301447678, -0.0036522306, -0.0303804707, -0.0187797043, -0.0360468514, 0.041137863, 0.034098953, 0.0085250456, -0.0166143533, 0.0399694741, 0.0418697074, -0.0046268487, 0.021735698, -0.0043860013, 0.0133541068, -0.0121673364, -0.0162728522, -0.0413240716, -0.0035202461, -0.0397204012, -0.0137679949, 0.0084939478, -0.0056369989, 0.0304334089, -0.0765644163, -0.0330965482, -0.0054253191, -0.0101964567, 0.0453910306, 0.0197036881, -0.0156288408, 0.018146826, 0.0073405779, 0.0255940165, 0.0132294549, 0.0248266011, -0.0233172998, 0.001248217, -0.0248171911, -0.0367518291, -0.0138134575, 0.0127455285, -0.0590277091, -0.0808597654, -0.0023947491, 0.0255865771, -0.0048598074, -0.0110997763, 0.0269047227, -0.0181640815, -0.0252978969, -0.0103453277, -0.0066388254, 0.018827986, 0.0480129123, 0.0603059977, 0.0212478507, -0.0317922086, 0.012971025, 0.0481884181, 0.009637624, -0.0216676313, 0.0140933041, 0.0985385031, -0.0408901609, -0.0476696156, -0.017598236, -0.0400865264, -0.0202305894, -0.0653001145, 0.0056562135, -0.0616864488, 0.0573053956, -0.0094985645, 0.0046583219, -0.0148784108, 0.022613585, 0.0141872764, 0.0252712835, 0.0879668072, -0.013651018, 0.0228137169, 0.0203929227, -0.0037016915, 0.0394164994, 0.0792998746, 0.0596457347, 0.017115172, 0.0185808465, -0.0100299884, -0.0271293707, 0.0449904911, -0.0025227054, -0.0104865069, -0.0524684712, -0.0480376668, 0.0482132211, 0.0306510925, 0.0419016741, 0.090925537, -0.0183472484, -0.0051681385, 0.0531969182, 0.0336514339, 0.0099462774, -0.0158487111, 0.072472848, 0.0563809387, 0.013979055, -0.0063303071, -0.0297472328, 0.0137917893, 0.0184217077, 0.0117482999, 0.0647945479, 0.0297626406, -0.0402433574, -0.0333797485, -0.0372036472, -0.0589638315, 0.0243323185, -0.0090496037, 0.0286768228, 0.0495090149, -0.0735193565, 0.0483527333, 0.015776068, -0.0511621125, 0.0240461528, -0.0074169203, 0.0071710814, 0.0554262213, 0.0240941457, -0.0245095976, 0.0441388264, -0.0232046898, 0.0106263729, 0.0612554476, 0.0155823026, -0.0027195897, 0.049986057, -0.0713143945, -0.0041209683, -0.0197216142, 0.0007418427, 0.0071784481, -0.0496921167, 0.0055251936, 0.0050016651, -0.0224641301, 0.0027890005, 0.0337563828, -0.0008537283, -0.0093844524, -0.0073166611, -0.017225951, 0.0299894288, 0.0027089508, -0.030884251, 0.022912059, 0.0494087003, -0.0378243104, -0.0439236946, 0.0459350273, -0.060717307, -0.056363795, 0.0237189922, 0.0021976789, 0.043941386, 0.0072436994, -0.0080496185, -0.0629971623, 0.0285034757, -0.0486744866, 0.0559571125, -0.0512978509, 0.0223015975, 0.0345585831, -0.0014644695, -0.0102732275, 0.0130783273, -0.0061261412, -0.0097273625, -0.0069528008, 0.0062606935, 0.0078582838, -0.0304347072, -0.0350381769, 0.0338731743, -0.0015796289, 0.0358703732, -0.0248033591, -0.021784056, 0.0200195853, -0.0205212459, -0.1394395977, -0.0102145104, -0.0001788882, -0.00409623, -0.0139685106, 0.0111932708, 0.015037802, -0.0092795398, -0.0324321277, -0.0131170936, 0.0206636135, -0.0023954173, 0.0107775647, 0.0112386718, 0.008390395, -0.0280194636, -0.0173268318, -0.0104834875, 0.0637805611, -0.0320589282, 0.0116323922, -0.0094361724, -0.0035528005, -0.0076170866, 0.0346573517, -0.0198766906, -0.0530697443, 0.0000500805, -0.0368751213, 0.0710291266, 0.0237752609, 0.0440765396, 0.0035298348, 0.0222958457, -0.0021408945, -0.0416580476, 0.0174692068, 0.0153600173, 0.0462656319, -0.007054456, -0.0077766958, 0.0143986419, 0.0760543272, 0.0542525873, 0.0473205931, -0.0326350294, 0.0152088422, -0.0036910956, -0.0404100716, 0.0059768101, 0.0038583267, -0.0493886024, -0.0223156642, -0.0252746493, -0.042071119, 0.0228103232, -0.0817115009, -0.0353260413, -0.0133266179, -0.035338968, -0.0543020219, 0.0570220053, -0.013442602, 0.0203629304, -0.0271451231, -0.0181109775, -0.0330550484, 0.0017962814, 0.0114608295, -0.0313157961, 0.0261093602, -0.0297903959, 0.0021596688, -0.0005399265, -0.0294009373, -0.0118772862, -0.0502175093, -0.0385719948, 0.0167670213, -0.0014178312, -0.014613485, -0.0106550772, 0.0134144668, 0.0297202524, 0.039105732, -0.0156702269, 0.0295487121, -0.035155233, 0.0124927452, 0.0455232635, 0.0227889698, -0.0910082161, -0.0329907648, 0.01538797, 0.0037691118, 0.0081870873, 0.0296178367, -0.0443707332, 0.0099215098, -0.0056556975, 0.0384662375, -0.0366935097, 0.0126326624, 0.0386201255, -0.0572741106, 0.0182886552, 0.1127317771, 0.0035279887, 0.0016387957, -0.0182414781, 0.0265166517, 0.0287756212, 0.0288863219, 0.0047797509, -0.0547195673, -0.0732003525, 0.0251479875, -0.0133795217, 0.0272052605, 0.0383794904, -0.0286611952, -0.0694809705, -0.0081573008, 0.0217555221, -0.0605326854, -0.0211112965, -0.0076099355, -0.0315819234, 0.0024215051, -0.0204735678, 0.0128750447, -0.044746656, -0.0188534819, 0.0151031706, -0.0372774526, -0.0367255136, -0.0136015126, -0.02760409, 0.0248960163, 0.0661341622, 0.0427912511, -0.0250876527, -0.0738387629, 0.0328837, 0.0046362472, 0.0125029385, -0.012697855, 0.034679912, -0.0500063114, -0.019612059, 0.0131627014, 0.0372258052, -0.0067520575, -0.0222949442, -0.0160658285, 0.045735985, -0.0291962977, 0.0056435852, -0.0343072265, 0.0173648931, 0.0337265097, 0.0546059571, -0.0001091561, -0.0921416357, -0.0255287774, -0.0047229119, 0.0233034045, -0.0120166894, -0.0318541229, -0.010991226, -0.0019413526, 0.0090372013, -0.0718333423, 0.0173627399, -0.0201179422, 0.0595599338, 0.0153370118, 0.0169719551, -0.019830443, -0.0272037107, -0.0882909596, 0.0011685754, 0.0040408829, 0.0542368181, -0.073508583, -0.0233730935, 0.0500110611, -0.0518365204, -0.0065449518, 0.0014482468, -0.0775367245, -0.0469557978, -0.0204905681, 0.0482160635, 0.012910963, 0.0387610942, -0.0123120435, -0.0476314463, 0.0303694904, 0.0271952804, -0.0557450987, 0.0218898933, 0.0526211448, 0.0040056454, -0.0195189677, 0.0098286588, -0.0293510612, 0.0002616548, -0.0056221946, 0.0216774698, 0.019825248, 0.0063915951, -0.0053379927, -0.0140036726, 0.0430310592, 0.0064290194, -0.0126386276, -0.042203173, -0.0082133887, -0.009808653, -0.0036570323, -0.075126633, 0.0151028233, 0.00068814, 0.0560065806, -0.0051444564, -0.0008846407, -0.0051591774, 0.0154779218, 0.0247479361, 0.0294987801, 0.0319865197, 0.0173948482, -0.0057594692, 0.0329619497, -0.0065213921, 0.0409678705, -0.0202194601, -0.0131290797, -0.0062702163, 0.0273238905, -0.0142700793, -0.0234767962, -0.012836826, 0.0370275415, -0.0343090035, 0.0077036209, -0.022723807, 0.0161518641, 0.0156648196, 0.0285002552, 0.0127310166, -0.0102455355, 0.010391864, -0.0327519663, 0.0846282691, -0.0200516731, -0.0405860618, 0.0618219562, 0.0152057018, -0.0487779602, -0.0015972705, 0.0555751137, 0.0279058348, 0.0238327496, -0.0136197433, 0.0286908597, -0.0441403538, -0.008601767, 0.065296337, 0.0622719936, 0.0003098, 0.0028684367, -0.0263675265, -0.0721224323, 0.0786081776, 0.0259180572, -0.0265469346, -0.0175692681, 0.0419282652, 0.0365687907, -0.0113767656, 0.0155410115, -0.0351822823, -0.0251203068, 0.0205629729, -0.0026949339, 0.0059981355, -5.938768274e-33, -0.0300769471, -0.0051822346, 0.0146721592, 0.0080176275, -0.0603091642, 0.0310303681, -0.0061276844, 0.0060943775, 0.0261824895, -0.0117750363, 0.0048530134, 0.0028118652, 0.0024759895, 0.0463503301, -0.0115574803, 0.0315058976, 0.0539020337, -0.0170655996, -0.0069769961, -0.0073816511, 0.0322840214, 0.0395049639, 0.0232770294, -0.060434781, -0.0244917162, 0.0116115231, -0.0283291917, -0.0027265886, 0.0024426456, 0.0779661834, -0.0280851051, 0.0392832756, -0.0070646573, 0.0175672546, -0.0453033745, 0.0659903809, -0.0490023308, -0.002337575, 0.0365471393, 0.0347822271, -0.0665085688, -0.0169266202, 0.0328821577, -0.055912219, -0.006590805, -0.0129848262, 0.0398022309, -0.0041165007, -0.0112544391, -0.0586250611, -0.0398272574, 0.020392498, 0.0226027407, -0.0345769934, 0.0310855154, 0.0341857076, 0.0008848818, -0.0129517075, -0.0494802669, 0.0336077251, -0.0595152304, 0.020018084, 0.0402724519, 0.0453954525, -0.0039417185, 0.0784078538, 0.0234697871, -0.0389499702, 0.0240067858, 0.0425656959, 0.0732002258, 0.0457666442, -0.0045754691, 0.0520583913, -0.0230628699, -0.0134316357, 0.008143818, -0.0075358483, 0.0506679974, -0.0033964699, 0.0085339472, 0.0590213351, -0.0139526604, -0.0139740529, -0.0719844326, -0.0574983656, -0.0168146342, -0.0233166721, 0.0503614359, 0.0344578139, 0.019872915, 0.0095669804, 0.0610242747, -0.0111284694, -0.0245102178, 0.0050443853, -0.0257669762, 0.0333420634, -0.0209269933, 0.0316632688, -0.0501995496, -0.0564555712, 0.084208414, 0.0171026457, 0.0110297585, -0.0042488733, 0.0173442699, 0.0803930983, -0.0599534288, -0.0102960514, 0.0098664286, 0.0156684108, -0.0063761501, 0.0182351694, 0.0504117571, -0.0004722401, -0.049291797, 0.0394581892, -0.053731408, -0.0417439044, -0.041113425, -0.0586694889, -0.0259911977, 0.0562845394, -0.0370927677, 0.021910673, -0.0233200509, -0.067310296, 0.0093473997, -0.0528452136, 0.0097823553, 0.0563250743, 2.666e-7, -0.0086386949, -0.0165242683, 0.0187392458, 0.0229255967, 0.0424431078, 0.0282726828, -0.0422669463, 0.0405206569, -0.0200259387, -0.0010017864, -0.0254968926, -0.0042276285, 0.0909943059, -0.0316667408, -0.0992444828, 0.0151035488, -0.0520403348, 0.0177778434, -0.0596672185, -0.0087038316, 0.0366097204, 0.1181272045, 0.0173084233, -0.0110045811, -0.0091829197, -0.0259076841, 0.0742224976, -0.0113647273, -0.0450027324, -0.0360359587, -0.0588853434, 0.023784874, -0.0240884647, -0.0031921621, -0.052385021, 0.0161557943, 0.0733852684, 0.0903044567, -0.0102980835, -0.0511933081, 0.0094904127, 0.0449501984, -0.0652292296, 0.0408600904, 0.0829636082, 0.0056807334, -0.0228018034, -0.0470934026, -0.019992765, 0.0058997516, 0.0014983237, -0.0162859634, -0.0696756393, 0.0335031711, 0.0397927612, -0.0295054335, -0.0265368372, -0.0820595473, -0.0329537913, -0.0204738677, -0.0637668222, -0.0005345564, -0.0547966734, 0.0017067114, 0.0156865753, -0.0484271534, -0.0300715566, 2.46644842e-34, 0.0448160842, -0.0287372321, 0.0152268354, 0.0064459518, 0.0082739489, -0.0004864336, 0.0297714695, 0.0170439817, 0.0256184731, -0.0627671033, -0.0194325447 ]
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.029166935, 0.0032942176, -0.0440033823, -0.0064825616, -0.0418682694, -0.0055152057, 0.0475337692, 0.0143969087, 0.0165375695, -0.0192857385, -0.0146803865, -0.0344500467, -0.0192388296, 0.0098068761, -0.0166056026, -0.0399018899, 0.0602480806, -0.0547673404, 0.0143075669, 0.011683411, -0.0046262345, -0.0027435711, -0.0491257869, 0.0577728525, -0.007375048, -0.0509263985, -0.0424917378, -0.0388213247, 0.0397829972, -0.0299736857, 0.0035530655, 0.0441762395, 0.0366382077, 0.0382568017, 0.0000021633, -0.0042967056, 0.0275690798, -0.0227650236, -0.0111494595, 0.0177132245, 0.0779670626, 0.0256254245, -0.0026557308, 0.0127774216, -0.0572334602, 0.0217342377, 0.0300256293, 0.0019707589, 0.0241805818, 0.044576671, -0.0212534294, 0.0648011118, -0.0170831792, -0.0046227528, 0.0240561645, -0.0536526851, -0.0077063679, 0.0197083615, 0.0914708972, -0.0153157404, 0.0138502838, 0.0390595905, 0.0506428443, -0.014916732, -0.0275437217, 0.059023045, -0.0266106762, -0.0116219129, -0.0520260781, 0.0421410725, -0.0099578882, -0.0419339575, 0.0120597566, 0.0004875086, -0.0237703566, -0.0099409651, -0.048083622, 0.0058493265, 0.0110520553, -0.0092413975, 0.018414652, 0.0498744398, 0.0126071386, -0.0107096015, 0.0398166217, 0.0581545569, 0.0147848334, -0.0374868326, -0.0447783098, 0.0077146557, 0.0251431856, -0.0607466027, 0.0296187568, 0.0622078441, -0.0781345963, 0.0014657518, -0.0664870515, -0.0123585975, 0.024643762, -0.0494798422, 0.0162318498, 0.0511645116, 0.0205012728, 0.0210596062, 0.0235184096, 0.0573279671, -0.0300175492, -0.0355950929, -0.059219718, -0.0035308425, -0.0630499348, -0.0190916248, -0.0394575596, -0.0156692322, -0.0539769642, -0.0462472029, -0.0065185493, 0.0618983582, -0.016674079, -0.0288684666, 0.0137357917, 0.0076533793, -0.0233252272, 0.0107839834, -0.0432620086, -0.0183218662, -0.0370977111, 0.0222766399, -0.0137060657, -0.0571522601, -0.0156028597, -0.0009483675, -0.0097913491, -0.0391298719, -0.0204214007, 0.0585927591, -0.0441875495, -0.0115062054, -0.0091225412, -0.0292033143, -0.0018001419, -0.0402380489, -0.006148302, -0.0480263643, 0.041161254, -0.0162049625, -0.0151135838, 0.0255426597, -0.0069305198, 0.0091204196, 0.0185986385, 0.0539556444, 0.0360110104, 0.0442543514, 0.0358382985, 0.0107986797, 0.0267337933, 0.0568239316, 0.0623517931, -0.0072358381, -0.0232873857, 0.0273926705, 0.0356968828, 0.0840550587, -0.0346924737, 0.0184951704, -0.0066214926, -0.0106463619, -0.0003008378, 0.0479156971, 0.0330367312, 0.0330460742, -0.0297284294, 0.0540525205, 0.0862129629, 0.0499648638, -0.0401500314, 0.0130715771, 0.0770945624, 0.0238034669, -0.0005181231, -0.0260689426, -0.039230898, 0.0741654113, 0.0099829789, -0.0037678906, -0.0615186617, 0.039403066, -0.0268194117, -0.003702698, 0.0163865648, 0.0137099959, 0.0550983697, -0.0011699431, 0.015135943, -0.0238846522, -0.0671598762, 0.0261572599, -0.0148753831, -0.0192727055, -0.0291390661, -0.0336279757, 0.0145392036, 0.1531369537, 0.0231714826, -0.0517576896, -0.053500466, 0.0130320191, 0.0584504865, 0.058301378, 0.063983418, -0.0171017684, 0.0008899097, -0.0069412095, -0.00659349, -0.0184642393, 0.002665326, 0.0313590169, 0.0320543721, 0.0356255732, -0.0247549769, 0.0352945887, -0.0020272376, 0.0214629155, -0.050635621, -0.0161201339, -0.0450896583, -0.0068811625, 0.0021518313, -0.0071052327, -0.0308471192, 0.0004394084, 0.0206133872, -0.0356663167, 0.0112494305, 0.0759470314, -0.0552899949, 0.0118033998, 0.0250764191, 0.0243569054, -0.0453921929, 0.0448139533, 0.0245287493, -0.023683738, 0.0067179324, 0.0027987577, 0.060981255, 0.0184310321, 0.033705879, -0.0367317572, -0.0018540502, -0.000934983, 0.0660385266, 0.0001757744, -0.0078926729, 0.0361663848, 0.0340636969, -0.0212027766, -0.0379234813, 0.017386876, -0.0007648746, 0.0238417815, 0.0134996111, 0.0073695779, 0.0405984595, -0.0559850112, -0.0468916968, -0.11888735, -0.0160520021, 0.0041381479, 0.0069344486, 0.0089409743, -0.0161332749, -0.0162160583, 0.0166544765, -0.0125427665, 0.0431187712, -0.0315503776, 0.0131925475, 0.0193041172, -0.0229069963, -0.0389493071, -0.0623233058, -0.0023823746, -0.0317084901, -0.0023089221, 0.002254395, -0.0186134875, 0.0078905979, 0.0091868015, 0.0184019394, 0.0307609458, 0.012535423, -0.0132676028, 0.0403841138, -0.0097970236, 0.0900967866, 0.0321545936, -0.0303777028, 0.0348211415, 0.0940612704, -0.0653504878, -0.0492052548, 0.0587451123, 0.0014305569, 0.0223695654, -0.0433078259, -0.0350855365, -0.0090215895, 0.0644185394, -0.005878971, 0.0262956079, -0.0545359738, 0.0087508624, -0.0447366908, -0.0732377991, 0.0238914918, 0.0045850114, -0.0705328435, 0.0069944388, -0.0415547118, -0.0002083762, 0.0337309353, 0.0120492866, -0.0198514666, -0.0139006544, -0.0068082819, 0.0075422111, 0.1005116627, -0.0046121725, -0.0049759652, 0.0070899008, 0.0003333298, -0.0341863781, 0.025818713, 0.0066994461, -0.0125448601, 0.0382346064, -0.0748260841, -0.003588516, -0.00421065, -0.0261221528, -0.0230425112, -0.0272712763, -0.044986818, 0.0097499266, -0.0197426938, -0.0230754074, -0.0805980265, -0.0105970437, 0.0035266085, 0.0586118698, -0.0309510846, -0.026913872, -0.0296242498, 0.0024228627, 0.0733919814, 0.0230708402, -0.0504223257, -0.0240666885, 0.0356644168, 0.0224328823, 0.0651769787, -0.013059983, -0.026935773, 0.0119620375, 0.0176032279, -0.007232096, -0.0287292916, 0.0452699549, 0.0165041666, -0.0482260287, -0.0329953283, 0.1174422726, 0.039408043, -0.0274110902, 0.0350127183, -0.0723870099, 0.0085537136, 0.0275977347, 0.0410521254, -0.0275517255, -0.0209052395, 0.000091914, -0.0440406688, -0.0248837024, -0.0296004042, -0.0005465791, -0.0678512007, 0.0108399745, -0.0122750066, -0.0540563799, 0.0582819879, 0.0099737979, -0.0191004779, -0.0121379932, 0.0412086062, -0.0132180555, 0.0414167084, -0.0165995844, -0.0014153358, -0.0168799218, -0.0138798635, 0.0863459855, -0.0078400802, 0.0803453773, 0.0197772272, 0.059980128, -0.0347220339, -0.0489652641, -0.0078887315, 0.050866399, 0.0193638839, -0.0064892918, -0.0260917898, -0.0000965201, -0.0015309383, -0.0074236444, -0.0101418998, -0.0266664028, -0.0403417461, 0.0320786461, 0.1162397489, -0.001919963, -0.0225123093, -0.0268357061, -0.0236358102, 0.0549733192, 0.040499825, -0.0270426702, -0.0777535811, -0.054016836, -0.006139874, -0.0681213737, -0.0821884796, -0.048624672, -0.0361567363, 0.0031697704, -0.001935167, -0.0483994149, -0.0511110723, 0.0394070186, 0.0097002313, 0.0159267671, 0.0123329582, 0.0171753876, 0.0088970633, -0.025628075, -0.0323879346, 0.0041959961, 0.0364752486, 0.0098944465, -0.0349698327, 0.0189802926, -0.0043507172, 0.0283371322, 0.0903549269, -0.0971628353, -0.0418476462, -0.0014511094, 0.0316641368, 0.0205331687, 0.0058361329, -0.0114266463, -0.0089487107, -0.0080466988, -0.008789191, -0.0525786132, 0.0384043641, -0.0121058794, 0.0030896266, 0.0346664302, 0.0142942108, -0.0505168997, 0.0289261658, -0.0571219064, 0.0368235782, -0.0593926534, -0.0211363919, 0.0082182111, -0.0174445286, -0.0130386669, -0.0050383722, -0.0153572299, -0.0256137624, -0.0033117905, -0.0669325218, -0.0050112647, -0.0355831496, 0.0035631792, 0.0050510922, -0.0150506943, 0.0255937055, 0.0145994965, 0.0188284256, -0.0329138599, -0.0044434099, -0.0132396761, 0.0012584504, 0.0228408426, 0.0180737805, 0.0428462848, -0.0139255626, -0.013061313, -0.0219362527, -0.0063324189, 0.0065045133, 0.029226575, -0.0256693996, -0.0069478424, -0.0387568437, 0.0060414998, -0.0561402291, -0.0166540034, 0.0360242091, 0.0051874123, 0.0400593914, -0.0158388168, 0.0898261368, -0.0558535755, 0.0103159035, -0.0154881692, 0.0218046978, 0.0110758077, -0.0196944699, -0.0146155264, 0.0287265014, 0.0031513672, -0.0106034772, 0.0703530014, -0.0032914663, 0.0567466579, 0.0514947623, -0.0280490089, -0.0389711633, -0.0390397124, -0.0250308271, 0.0046835854, -0.0157497525, -0.0399515294, -0.0621567257, -0.0197401997, 0.0148163391, 0.0434552915, -0.0129514495, -0.0643702075, 0.0283678062, 0.0279609598, -0.0047349897, -0.0418334827, -0.0328692906, -0.0097249178, 0.023791315, -0.0170723442, -0.0333188474, -5.676041246e-33, -0.0262187216, -0.039988257, 0.0956888273, -0.0148181291, -0.0318246596, -0.0051599117, -0.0636443496, -0.0069691418, -0.005697534, -0.0008912013, -0.022316264, 0.0330119096, 0.0203969255, -0.0414338857, 0.0620252341, 0.0157732777, 0.0238056574, -0.0366856903, -0.0017543858, 0.0065346477, 0.019984547, -0.0160755832, 0.0136142308, -0.0179435257, 0.0000362659, -0.0010200236, -0.0203663781, -0.0039747357, -0.0261062365, 0.0512580313, -0.0500259474, 0.0386505276, 0.0197822694, -0.0308595989, -0.0150328213, 0.0520654991, -0.0519840829, -0.0538615212, 0.0059160297, -0.000997675, -0.0456877947, -0.0516973995, -0.0274658948, 0.0444680043, -0.0310566779, 0.0122183701, 0.026180299, -0.0095079644, -0.0261678826, 0.0228887722, -0.1051853523, -0.0088544544, -0.018528169, -0.0400289036, 0.049182009, 0.0542776249, 0.0005840224, -0.0678070411, -0.0434995666, 0.0309801605, -0.0169568639, -0.0176959541, 0.0552485511, 0.0150785809, 0.0333820172, 0.0584184118, 0.0094999894, 0.0550041832, -0.0031457772, 0.02668605, 0.0368542708, 0.0292911008, -0.0024694125, 0.0204068217, -0.001602113, -0.0264415517, -0.0015205627, 0.0151856858, 0.0569666363, 0.005691173, 0.0405016802, 0.0302973799, -0.021615779, 0.0082528424, 0.0013899284, 0.0822040439, -0.0145013975, -0.0166722555, 0.028407814, -0.0019429509, 0.0393922664, -0.0163036659, 0.0209452864, 0.0160854124, 0.0113621503, 0.0057566124, -0.031076381, 0.0371212512, 0.0035498529, 0.0250733737, -0.0540171228, -0.0347459055, -0.0084259911, 0.0434242971, 0.0521558635, 0.0432402343, 0.0009515907, 0.0503795408, -0.0340418443, -0.0300322641, -0.0254388303, 0.0239945799, 0.0691071749, -0.0033117617, 0.0220445637, -0.0564330481, -0.0142386258, 0.0036781703, 0.0124496911, -0.0923056901, -0.0044872952, 0.0265085995, -0.0004565294, -0.0434764586, 0.0015307653, 0.0071562021, -0.0926528871, 0.0606222935, 0.0482027456, -0.0490782559, -0.0188654158, -0.0068754042, 2.775e-7, -0.0118953148, 0.0513941646, 0.0031832838, 0.0456532352, 0.0554838404, 0.0100526791, -0.0064462353, 0.0491963103, -0.0478387512, 0.0194019098, 0.0500031635, 0.0395856462, 0.0395926423, 0.0166641381, -0.0525116995, -0.0289223809, -0.0404238887, 0.0105690202, -0.0470556878, 0.0014340243, 0.0230787974, 0.0260644201, 0.0485791229, 0.0037946906, -0.0101914434, -0.0353746489, 0.0386865512, -0.0368453227, 0.0142879905, 0.0224205144, -0.033839792, -0.0036703832, -0.0384347886, -0.0024904807, -0.0074163908, -0.024452718, -0.0097654797, 0.0670652688, -0.0372282229, -0.0107093789, 0.0116758607, -0.0420363918, -0.0275186487, -0.0212945547, 0.0476056151, -0.0131464303, 0.0007342789, 0.0207956266, 0.0459512882, 0.0008690489, -0.0315922461, -0.0060554924, -0.0016620412, -0.0084647452, -0.0187494382, -0.0067365994, -0.0225396603, -0.0347034968, -0.0157593079, 0.0328423232, -0.070542559, -0.0379182585, -0.0526323617, 0.0004006446, 0.0050994558, -0.0564141534, -0.001288521, 2.267722376e-34, 0.0051068435, 0.0331983082, 0.0188701637, 0.0659571961, 0.0163092203, 0.0267594401, 0.004970632, 0.0217799023, 0.0459510423, -0.0466180183, -0.0675191879 ]
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.0218577553, 0.0963238031, 0.0152732683, 0.030928107, -0.0084848134, -0.0162410066, 0.0259030182, -0.0197574291, 0.0071719131, -0.0738545284, -0.0499875881, -0.033155486, -0.012896874, 0.0622734725, 0.0188389327, -0.0511448309, 0.0377292112, -0.0982832387, 0.0001344506, -0.0160144959, 0.0098564075, 0.0367165618, -0.0345703773, 0.0186459366, -0.0168226305, -0.009775185, -0.0235985275, 0.0124975722, -0.0053146342, -0.0125249671, 0.0044156718, 0.0214562491, 0.0418445431, 0.0218556672, 0.000002091, -0.0443487614, 0.0148359556, -0.0105376318, -0.0324909687, 0.0110852029, 0.0147669706, 0.0276743341, 0.0090120286, 0.050528042, -0.0106563363, 0.0026678764, 0.0076665957, 0.0615342408, 0.0467162393, 0.0796018243, -0.0108725782, -0.0307134222, 0.0350922123, -0.0246433988, -0.0323350318, -0.0295565128, -0.0236685686, 0.0018103664, 0.0080733616, 0.0140197724, 0.0288823023, 0.0329025574, 0.006081393, -0.0167227536, -0.0107270097, 0.0043062991, -0.0137934079, -0.0179255027, -0.0467556752, 0.0915077701, 0.0371324643, 0.0117063532, 0.0284889787, -0.0155383032, -0.0401046649, -0.0436672792, -0.0261604246, 0.0472787917, 0.0090277437, 0.0125824027, -0.001258969, 0.0425287448, -0.004418612, 0.0163939241, -0.0412044376, 0.0352981649, 0.0092285443, -0.0145184612, 0.0195414145, -0.015780367, 0.012996763, -0.072390005, 0.0411520898, 0.037911877, -0.0454876088, 0.0033911038, -0.042211771, 0.0168303531, -0.012551602, -0.0292843264, 0.0157480501, 0.0384389125, -0.0454843901, 0.0193267092, 0.0036934747, 0.0522321947, -0.0311083458, 0.009127425, -0.0291976798, 0.0022155484, -0.0243986249, 0.0117958132, -0.0180987306, 0.033867687, -0.0622426234, -0.0319210254, -0.0087649589, 0.0275272541, 0.0295733102, -0.0236733463, 0.0358490981, 0.0347754434, -0.0289532635, -0.0430190228, -0.0440243892, 0.0542293936, 0.0008582216, 0.0550402924, 0.0192804709, -0.049754072, -0.0042684101, 0.0558911413, 0.0212577041, -0.0086430116, 0.0379059725, 0.0652586445, -0.0369508974, 0.0040526893, -0.0365259834, -0.0381447002, -0.0425366461, -0.0806769654, -0.0053547868, -0.0306271501, 0.0375346057, -0.0098212725, -0.0128998021, -0.0065800305, 0.0213445164, 0.0014314081, -0.0142500773, 0.0354626067, -0.0144171659, 0.0184942335, 0.0326652229, -0.001254949, 0.0022971984, 0.02987561, 0.0555058159, 0.0285831261, 0.0031380635, -0.0059589562, -0.0091753202, 0.0392175913, 0.0150380731, -0.0029231729, -0.0049887449, 0.0499293283, -0.0512060672, 0.0287325662, 0.0514264964, 0.0554078408, -0.042026218, -0.0038925682, 0.0706702769, 0.0661524087, 0.0249712896, 0.0139715821, 0.0319304205, 0.0484179109, 0.0317447744, -0.0189034157, -0.0333050936, -0.0078065316, -0.0151727032, 0.0359980352, 0.0489660278, 0.0297808014, -0.0440853722, -0.0392468609, 0.0326373056, -0.0299010444, -0.0237178709, 0.0251742732, 0.0369215123, 0.0151772471, -0.0587340631, 0.0363624319, 0.0128291929, -0.0610346757, 0.0006468762, -0.0395887047, 0.0192976613, 0.0569397248, 0.0296667255, -0.0178136192, -0.0551379174, -0.0425177403, 0.0152409729, 0.0855164528, 0.0061319745, 0.0034968946, 0.0612103902, -0.0618095733, -0.0069829891, -0.0143579124, -0.0122466767, 0.0546123795, -0.0298950225, -0.0038778193, 0.0327126943, 0.0054240762, 0.0376534984, 0.0009418984, -0.0199302081, -0.0098706242, 0.0560792722, -0.0100558624, 0.0665521473, 0.0451009534, -0.0418881923, 0.0150976684, 0.0136312563, -0.0249373112, -0.018410068, 0.03513496, -0.0866130292, -0.0587492175, 0.0392672531, 0.0106727108, 0.0021960104, 0.0074456334, -0.0229399372, -0.0815408975, 0.0280298237, -0.0131817525, 0.0204155669, -0.0764887556, 0.0064289249, 0.0631741732, -0.0057477816, -0.0009500692, 0.0339770615, 0.0261042248, -0.0345748365, 0.0596986227, 0.067388311, 0.0313801877, -0.0611133203, -0.0019607269, 0.0131853689, -0.0321781263, 0.0289961565, 0.0012490313, 0.0110516828, -0.0154332016, -0.0278624967, -0.0992273837, 0.0075205094, 0.004591709, 0.0240879394, 0.0114727728, -0.0056966958, -0.0183013771, -0.0452754609, -0.0386626273, -0.0196663626, 0.0531540401, -0.0374884605, -0.0108284317, -0.0074995016, -0.0007016794, -0.0326020941, 0.0383703895, -0.004882881, 0.0290889591, -0.0226090197, 0.0064475532, -0.0591322482, 0.0084661487, -0.0213997345, 0.0475509502, -0.0143564213, -0.0472321175, 0.0012580798, 0.0147965886, 0.0522950999, 0.0590520799, 0.0363661982, -0.0304022785, -0.0015670446, -0.0312525406, -0.0547809899, 0.0380335413, -0.0019581963, 0.0124518424, -0.0242215265, -0.0083870394, 0.0188340899, 0.0630862787, 0.0339974947, 0.0453332476, -0.0414823666, -0.0077274092, 0.0407787338, -0.0376784839, -0.0037401076, -0.0506669655, -0.0445910133, 0.0417869873, 0.0022036727, -0.0132040456, 0.0625516549, -0.1090787277, -0.0334639288, -0.0534562841, -0.0336177014, -0.0393876657, 0.0462746434, -0.0249283798, -0.0009068443, 0.0269745234, -0.0218373798, -0.0302374233, -0.0155859627, 0.0028484422, -0.0504639745, 0.038552247, -0.0369233862, 0.0057353773, -0.0216819383, -0.0397180207, -0.0357036442, -0.040705584, -0.0620712154, 0.0043758471, -0.0172907002, -0.0158515461, -0.0046842764, 0.0276926681, 0.0077509638, 0.0355490856, -0.0123231541, 0.0312679857, -0.0350128636, 0.0746959895, 0.0389413051, 0.0295415483, -0.0156484656, -0.0172638521, 0.0831403583, 0.010957893, 0.0504895002, 0.018307887, -0.0395631008, -0.0144993244, 0.0061310125, 0.0421673022, -0.0136058358, 0.0196347833, 0.0424961299, -0.0530565046, -0.0027815804, 0.1231523901, -0.0046525872, 0.0104995538, -0.0291543659, 0.001837826, 0.0439864881, 0.0031464323, 0.0145991426, -0.0736128837, -0.0656450093, 0.0279478002, 0.0116164992, 0.0046367976, 0.0206349436, -0.0057506976, -0.0829676613, 0.0456988215, 0.0021481703, -0.0212015919, -0.0161966458, -0.0115452399, -0.0065906127, 0.0030007644, 0.0150254741, 0.008591447, -0.022367673, -0.0100625316, 0.0398825184, -0.0546389632, -0.0100458907, 0.036752522, -0.0351717472, 0.0617454574, 0.0598368421, 0.0293349121, 0.030424593, -0.0190962292, 0.0439768024, -0.0279881582, 0.017458044, 0.0066981707, 0.0253688302, -0.0110880099, -0.0143622821, -0.0195867661, 0.0468684137, -0.0157158654, -0.0289438386, 0.0250891615, 0.0266801342, -0.0454698466, -0.0104351668, -0.0112632187, 0.0516884215, 0.0127942041, 0.0692538992, 0.0099588819, -0.051880613, -0.0583756678, -0.0117710968, 0.0104372865, -0.0380813293, -0.0403632559, 0.0065848003, 0.0131612848, -0.0087076845, -0.0444008261, -0.0260059312, -0.0115644792, 0.0247743949, -0.008476845, -0.0063877129, 0.0235151015, 0.0035047722, -0.0087435404, 0.0604166016, -0.0281128548, 0.0375228673, -0.0580873154, 0.0172089841, 0.0573478676, -0.0599719025, -0.0387810953, 0.0382799581, -0.0506555066, -0.0567834303, -0.0442733727, 0.0445446484, 0.0178942401, 0.0643946454, -0.0057432582, -0.0172258373, 0.045737844, 0.0050996393, -0.053855855, -0.0120972684, 0.0743284449, 0.0564020872, -0.0328640901, 0.0227391962, -0.0324528068, 0.0445119031, -0.0146019263, 0.0437939465, -0.0124955699, -0.110555388, -0.0108831124, 0.0002476332, 0.052615948, 0.0214563683, -0.0066032666, -0.0510533266, 0.0536275394, -0.012662081, -0.0041965633, -0.0734214336, 0.0063053635, 0.013462564, -0.0191496331, 0.0058843633, -0.0205124654, -0.0461757109, 0.055698581, 0.0189090874, 0.0102938497, 0.0344665349, 0.0454788581, -0.0055373739, -0.0411435887, -0.0305066891, 0.0245210417, 0.0074017704, 0.0242527854, -0.0156562291, 0.0941151977, -0.0043510781, -0.0590654463, 0.0050881952, -0.0013541873, -0.0725936592, -0.0417943038, -0.0348971225, 0.0069906162, 0.0049462975, 0.0132936938, 0.0463065505, -0.0083318278, 0.0198468883, -0.0120342905, 0.0630648807, -0.0152896829, 0.0005951852, 0.0316677392, -0.0034988772, -0.0285538137, 0.0140570058, 0.037559025, 0.0351459868, 0.0179309957, 0.0136425905, 0.0260415114, -0.0470405705, -0.0776877925, -0.0017790361, 0.0170133058, -0.0278014075, -0.0191015378, -0.0393226929, -0.0419875905, 0.0096341455, 0.0273161568, -0.0150200808, -0.014862651, 0.0248994846, 0.039236404, -0.0118285166, 0.0031717462, 0.0008646786, -0.0008221126, -0.0147230038, -0.0119685885, -0.017746903, -6.387836136e-33, -0.0363965742, 0.0040122508, 0.0146229668, -0.0074926121, -0.0626837462, -0.0302319471, -0.0435030125, -0.013088325, -0.0054346966, -0.0245364755, -0.0276062693, 0.0001649937, 0.0199786127, 0.0650510639, -0.0514173098, 0.0091657927, 0.0633735955, -0.0294505525, -0.0107863788, 0.0336323753, 0.0039425264, 0.0276054423, 0.0125604514, -0.067745842, -0.0223105215, -0.0222946145, -0.0135422768, 0.0208001304, 0.0041659363, 0.0454677232, -0.0347165614, 0.0113150822, -0.0049596434, -0.0039384775, -0.0309708733, 0.0914196149, -0.0593609996, -0.0002573618, 0.0355794542, -0.0051198481, -0.0160950087, -0.0018036453, -0.0225468352, -0.0056199054, 0.0177792832, -0.0244121552, 0.0075165858, -0.021123318, 0.0193507615, -0.036739476, -0.0362981297, 0.0379350111, -0.0190563425, -0.0481059253, 0.0084661236, 0.0875046998, 0.0097194603, -0.0081142159, -0.0018321635, 0.0231350586, 0.0079732258, -0.0108528566, 0.0426544175, 0.0345004424, -0.0170681011, 0.0581591129, 0.0241693407, -0.0329691693, -0.0525051318, -0.042577222, -0.0070268139, 0.05281974, 0.0141134933, 0.0769375786, -0.0049645454, 0.0152340094, -0.0701259971, 0.0060334723, 0.00822022, 0.0076463036, 0.0158788096, 0.01186019, 0.0154991858, 0.0070055206, -0.0730050877, -0.0060928962, -0.0247778185, -0.0224386882, 0.0590790622, 0.0286908019, -0.0186380856, -0.0385488309, 0.0666685551, -0.0220315084, 0.0076734209, 0.0076330788, -0.0091383383, 0.0111105479, -0.0322603546, 0.0663163513, -0.0474272333, -0.0346004069, 0.0880344659, 0.0169273056, 0.0073264092, -0.0187417176, -0.025670344, 0.0084864451, -0.0591320582, 0.0105007123, -0.0264175478, 0.0431211814, -0.0434500612, 0.0286975987, 0.0184280816, 0.0069081648, -0.0127867805, 0.0744893998, -0.0532810129, -0.0040891883, -0.0351131782, -0.0465688519, 0.0305705648, 0.0471363962, -0.0285788141, 0.0218490809, -0.0099875145, -0.0425250158, 0.0165152811, -0.0295719262, -0.0017834788, 0.0161768664, 2.766e-7, -0.0156473257, 0.0082860645, 0.0484708883, -0.0060580513, 0.0247401781, 0.0421330519, -0.0158047993, -0.0073873866, 0.0508348122, -0.0310041904, 0.024675848, 0.002656176, 0.1093801111, 0.016190242, -0.0987891108, -0.0060388916, -0.0876995549, -0.0201738104, -0.0540209897, -0.0352026001, 0.0531041846, 0.0838591754, -0.03737358, -0.0179920848, -0.0123159252, -0.0261156503, 0.05366081, -0.0368069895, -0.0162641071, 0.0268092379, 0.0116862608, -0.0400377139, -0.0101959063, 0.0042186552, -0.0242317226, 0.0535992831, -0.0037162488, 0.0876846984, 0.0150893796, -0.0698207915, -0.0249171518, 0.0040159952, 0.0073720063, -0.0251602735, 0.0740662664, -0.0358600505, 0.0044610491, -0.0544629619, -0.0584212244, -0.0167371444, -0.0081151035, -0.0261754654, 0.0011753771, 0.0214830507, 0.0176479537, -0.0155226188, 0.0007926034, -0.0820970163, -0.0260586906, 0.0113122324, -0.0792848617, -0.0213958807, -0.0637857467, 0.0121669034, 0.0496999063, -0.0469682403, 0.0055733421, 2.307144369e-34, 0.0371661708, -0.0277046207, -0.0004259981, 0.0128912674, 0.0348924994, -0.0111768181, 0.0130890245, -0.0119055687, 0.038791161, -0.0842339396, -0.0163153056 ]
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.0534617268, 0.0821963251, -0.0290437043, 0.0423187725, -0.0480747521, -0.0249555595, -0.0100196516, -0.00648596, 0.0299887918, -0.0088259177, -0.0411824882, -0.0381084345, -0.0307905953, 0.0240395311, -0.0030647821, -0.0302596018, 0.0524134524, -0.0098281773, 0.0078145405, -0.03441808, 0.0350341164, 0.0315266103, 0.0159767661, 0.0243484229, -0.0366659202, 0.0317888744, -0.0319111943, 0.0152095165, 0.038175948, 0.0166223738, 0.00765457, 0.0857759789, 0.0247901082, 0.0335943103, 0.0000020482, -0.0493358597, 0.0046230527, -0.0233040769, 0.0225447975, 0.0146264974, 0.0966575965, 0.0144208875, -0.0043900688, 0.0220982656, -0.0911262557, 0.0494641699, 0.0216536019, 0.0204709526, 0.064325735, 0.051476676, -0.0061635505, -0.0102741076, -0.0201005898, -0.0290613379, -0.0359689705, -0.0654536635, 0.0291453209, 0.0343864746, 0.0177961383, 0.0059040096, -0.0087346993, 0.0362261869, 0.0044549294, -0.02995109, 0.000412842, 0.0190416127, -0.0719971284, -0.0047110603, -0.0007118226, 0.0923086256, 0.0316847824, -0.0453527495, 0.034056779, 0.0008257564, 0.0362001769, 0.0187033657, -0.0036968568, 0.0030929218, 0.0193844493, 0.0397030599, 0.0108452793, 0.0261659883, 0.0237530582, 0.0448790155, -0.002186595, 0.0584059209, 0.0014763579, -0.0438275374, -0.0268013366, -0.0205072928, -0.0099897841, -0.040645197, 0.0253525376, 0.0173377767, -0.0643894672, 0.0373924859, -0.0670876801, 0.0234562457, 0.0283929482, -0.0664521307, 0.0097786859, 0.0349352434, 0.0508229285, 0.0667432249, 0.038573388, 0.0387297943, -0.0238930546, 0.0433566533, -0.0268918127, -0.0141078485, -0.000513933, -0.0132521614, -0.0489896573, 0.0131494757, -0.0543217659, -0.0202974193, -0.0062560504, 0.0136146229, -0.0460732318, 0.0177334994, 0.0025710876, 0.0293580201, -0.0264656711, -0.0330336951, -0.0452282019, 0.0111161526, -0.0480143428, -0.0079209656, -0.0044558193, -0.0416504778, 0.0162705015, -0.0217335653, 0.0095711416, -0.0065274951, 0.0144355707, 0.0498839803, -0.0193085521, -0.0174245723, 0.0065391771, -0.0133467903, -0.0144972112, -0.0700524226, -0.0387342423, -0.0635079965, 0.0769308507, -0.0093082469, -0.0486798696, -0.0590022504, 0.0058663269, 0.0417585373, -0.0262700152, 0.0768039152, 0.0082486626, 0.0467681848, 0.0341512039, 0.021939287, 0.0253555197, 0.0838991404, 0.0186648071, 0.0326800533, 0.0315965042, -0.0211491007, 0.0437749922, 0.0738700926, 0.0108267441, 0.0245234966, -0.0525629148, 0.0291336738, 0.0044102198, 0.0745415166, 0.0256712623, 0.0781410038, -0.0157518741, -0.0468161777, 0.0855848864, 0.0784247145, -0.0296443887, 0.0219785385, -0.0045415335, 0.0423721261, -0.011498468, -0.0014447168, -0.0719842762, 0.0402762815, -0.0082893055, -0.0096295634, -0.0019543427, 0.0451215468, -0.0035869661, -0.0203525051, 0.0172172785, 0.0160036236, 0.0381612331, 0.0137459077, -0.0017462381, -0.0278625302, -0.0549022704, 0.006948093, 0.0256557651, -0.0528368391, -0.0077225482, -0.035472773, 0.029132653, 0.1026046723, 0.0682303309, -0.003872819, -0.0043729898, -0.0192579273, 0.0096541941, 0.0503846556, 0.0756901428, -0.0179386754, -0.0392497554, -0.0686474368, -0.0126853883, 0.0217090622, 0.0068259938, 0.0226480179, 0.0503117293, -0.0082580606, 0.0060994388, -0.0232221037, -0.0098365527, 0.0158867985, -0.047636766, -0.0195369329, -0.0503487624, 0.0084130103, 0.0227942336, -0.0017758698, -0.0021485775, -0.0143282963, 0.0143738231, 0.016337378, -0.0003057229, -0.0162517466, -0.0782783851, 0.0138541386, 0.0417417176, -0.0145234605, -0.0384438485, 0.0515945852, -0.0271109957, -0.0063590449, 0.0192405321, -0.0124599542, 0.0119879721, -0.0514930896, -0.0014145238, -0.0434372984, 0.0149674844, -0.052212242, 0.0502565093, 0.0021928151, -0.0338059105, 0.0103874439, -0.0041460888, 0.0014544948, -0.0427487977, -0.0217684265, -0.0087120486, 0.0020713753, 0.0506720282, 0.0479809381, -0.0014284785, -0.0341743603, -0.0462727696, -0.1086553261, -0.020322701, -0.0333499908, -0.0290603973, 0.0199209657, 0.0020648097, -0.0407934859, -0.008264482, -0.0466069505, 0.0037443889, 0.0188317038, 0.0031372847, 0.0420319401, -0.0244380422, -0.0457044803, -0.0550917871, 0.0018268736, -0.0390132144, 0.0074354694, -0.0182382762, 0.0021024612, -0.0016142533, -0.001000993, -0.0245158877, 0.0512123294, -0.022576455, -0.0394747481, 0.01689394, -0.0028078319, 0.0539909452, 0.0742927566, 0.0475919321, 0.0333316624, 0.0468677729, 0.0191595592, -0.0985448658, 0.0066611627, -0.0289851613, -0.0148473149, -0.0642288625, -0.0478643849, 0.0131889563, 0.0543017425, -0.0030156937, 0.0119738253, -0.0716508627, 0.0331761241, -0.0043420885, -0.0589618981, -0.0242042784, -0.023371242, -0.0393815041, 0.0143529009, -0.0244728979, -0.0191790368, 0.0706206858, -0.0080141593, 0.0271722674, -0.0031766454, -0.0109371915, -0.0269659124, 0.0924854726, 0.0003607761, 0.0334715284, -0.0324029326, -0.027215844, -0.0612431206, -0.037586458, 0.0417160578, -0.0565107465, 0.0610312484, -0.0333930552, 0.0127587039, 0.010309645, -0.0507736467, -0.0265347548, -0.0859361291, -0.035538502, -0.0014678359, 0.0142888166, -0.0189179797, 0.0087510813, -0.0087647215, -0.0056103515, 0.0051867794, -0.0240870155, 0.01093134, -0.028714383, -0.0077978498, 0.0856612772, 0.0216203667, -0.0172298867, -0.0000339452, 0.0164490901, 0.025737131, 0.0286569148, -0.0193522107, -0.033224903, -0.0145811196, 0.0297879633, -0.0008492679, 0.0131638777, 0.0189779419, 0.022115523, -0.0141457422, 0.0061803125, 0.1163152456, 0.0132866958, -0.0227972567, 0.0054634418, -0.0328471921, 0.0544488579, 0.0342436694, 0.0508400537, -0.070877552, -0.0011358784, -0.0008836226, 0.0125410557, 0.0138977692, -0.0677336976, 0.017362114, -0.1403143406, 0.0454196595, 0.0077802637, -0.0158899575, -0.032407973, -0.0112801045, 0.0054269154, -0.0508668907, 0.0467907079, 0.0182932578, 0.0114180148, -0.0257308073, -0.0022066806, -0.0005065796, -0.0104883276, 0.0330363438, -0.0621749461, 0.0912981182, 0.0344378278, 0.0562748872, -0.0107408734, -0.0327048786, 0.0053355256, 0.0481030978, -0.0229787268, 0.0339813866, 0.0081415828, -0.0289950538, -0.0136559932, -0.0208077617, 0.0254168995, -0.0000730481, -0.0190082584, -0.0150687909, 0.04892404, -0.019516075, -0.0263982601, -0.0401396118, 0.0318796858, 0.0185824297, 0.0782795474, 0.0213397648, -0.0341281481, -0.0233807955, -0.0058280164, -0.0317677595, -0.027818162, -0.0680568218, -0.01631267, 0.0183891058, -0.0023671882, -0.0217221398, -0.0555853695, 0.0075215651, 0.0383373648, 0.0148656433, -0.0373851284, 0.0167059805, -0.0161865, -0.012674056, -0.0071781175, -0.0814660937, 0.0277334638, 0.0148416031, 0.0216960423, 0.0229695495, -0.024105968, -0.0066479039, 0.0002636074, -0.0154338656, -0.0700562224, 0.0442271754, 0.0449848883, 0.0189196896, 0.0529534072, -0.0192906596, -0.0324036665, 0.0274895262, 0.0436357446, -0.0300822333, 0.035363052, -0.0257197712, -0.0122374324, -0.0111355539, 0.0383258052, -0.0028543556, 0.015750045, -0.0115099186, 0.0437940694, -0.073679693, -0.0489931181, 0.0392575599, 0.0094289593, 0.0180838816, -0.0042272485, 0.0096496148, -0.0317512862, -0.0424065664, -0.0508394763, -0.0391762443, 0.0016872775, -0.0346515253, 0.0436771251, -0.0012417316, -0.0064630867, -0.0341704898, -0.0294982214, 0.0314784981, -0.0019547374, -0.0323335491, -0.0091592772, -0.0018087862, 0.027297046, -0.0087846406, -0.0116412286, 0.0583918765, 0.0052213008, 0.0604675487, -0.0095870113, 0.0374855995, 0.0324225686, -0.0337970331, -0.0099786473, 0.042596627, -0.0248728823, -0.0550538003, -0.0307055656, 0.0388826244, 0.0188891031, -0.0085932892, 0.0058395984, -0.04214691, -0.0001288232, 0.0058047385, 0.008467257, -0.006113729, -0.0623369068, 0.0474519916, 0.0301009901, -0.0315379277, 0.0308633912, 0.0195464715, 0.0187531468, 0.0100091649, 0.0214442555, -0.0132361082, -0.0115128355, -0.0413357988, 0.0160619505, 0.002702594, -0.0319301598, -0.040932592, -0.0756574646, -0.0445285887, -0.0287246425, 0.0537865534, -0.0206589755, -0.0218227673, 0.0352929495, 0.0747541487, -0.0198319405, 0.0130721675, -0.0493654348, 0.0178484581, -0.0397126935, -0.0246021878, -0.0337204337, -6.354677645e-33, -0.0388162881, -0.0397346057, 0.0561926067, -0.0289953034, -0.0554743484, -0.0480674841, -0.0282533653, 0.0189338885, -0.0231324863, 0.0204118453, -0.0336186923, 0.0344689637, 0.0036377162, -0.0094622876, 0.0133550782, -0.0582446121, 0.0102384286, -0.011256922, -0.0299195852, -0.0052165599, -0.0072959503, 0.0029887368, 0.0096272994, -0.0864697173, -0.0144785745, 0.0044100937, -0.0445640199, 0.0147120785, -0.0322117805, 0.0360314138, -0.0001760159, 0.0469371378, 0.0034443843, -0.0169823095, 0.0145950606, 0.0622392111, -0.0308959, 0.001466795, 0.0350768976, 0.0025492993, -0.0175481401, -0.0224406943, 0.0217080414, -0.0346785001, -0.0597766414, 0.0213468447, 0.0291697308, -0.0126348203, -0.0080178836, 0.0180473551, -0.0608433001, 0.0171891656, -0.0252876822, -0.0136492793, 0.0002396067, 0.0130479969, 0.0177906901, 0.011632788, -0.0348581709, 0.0257923435, -0.0109887887, 0.0076183015, 0.0886814222, 0.0156913493, 0.0288201813, 0.0730029941, 0.0138155976, 0.0315532871, -0.0413578339, -0.0494844541, 0.0488082133, 0.0492820255, 0.0193327963, 0.0797888711, -0.0434559733, -0.0314620622, -0.0129212812, 0.0128592951, 0.0045932946, -0.0034361854, 0.0063639735, 0.021430986, -0.0635365844, -0.0344586596, -0.035562925, 0.0051959399, -0.017661877, -0.0320615135, 0.0266667362, -0.0073691877, -0.0375184491, 0.0203382894, 0.0227860473, -0.0594286434, -0.0329474621, 0.0181873199, -0.0187066998, 0.0063588228, 0.0052771168, 0.0507310033, -0.0479376167, -0.0216927174, -0.0137541126, -0.0024903466, 0.0045037968, 0.0444772914, -0.0152237369, 0.0321125835, -0.0490877591, -0.0093682455, -0.0065990109, 0.0258133374, -0.0297607891, -0.0538287982, 0.0253941901, 0.006355538, 0.0033890211, 0.0154815735, 0.0502423085, 0.0058237296, -0.0142022073, -0.0055930605, -0.0175599363, -0.0049389368, 0.0041442681, 0.0220693238, -0.0563851818, 0.0288114548, 0.0437087715, -0.0194823872, -0.0060681626, 0.004876934, 2.739e-7, 0.0246624853, 0.0526853055, 0.0293465983, 0.0232433025, -0.0219849832, 0.0725357831, 0.0183395445, 0.0890373439, -0.0024459742, -0.0556507446, 0.0720072091, 0.0557010174, 0.0377165675, 0.0234735403, -0.0898460373, 0.0316107124, -0.0862902105, -0.0285985582, -0.0576196238, -0.0024144037, 0.0038076567, 0.0692848191, 0.0377640761, 0.0102176648, -0.0066434206, -0.0176750999, 0.0563473627, -0.0528492481, -0.051707156, 0.0469823405, 0.0118566304, -0.0386566073, -0.0092082089, 0.0079332655, 0.0081882048, 0.0415593497, 0.0058136769, 0.0803381652, -0.0087749837, -0.021006126, -0.0198446903, -0.0574211366, -0.0106215104, -0.0688132867, 0.0503555797, -0.0255279895, -0.0216240119, -0.0337463617, -0.0271865055, -0.0042652492, 0.0058990046, -0.0208613239, -0.0364656486, -0.0058662528, 0.0252444968, 0.005004351, -0.0101340553, -0.0517228171, 0.0033505594, -0.0301913768, -0.0326251723, -0.0310807377, -0.0075290217, 0.0510206632, 0.0135132689, -0.0261015054, 0.0225403626, 2.413828977e-34, 0.0477816053, 0.0098027736, 0.0242799204, -0.0013249425, 0.0558613949, 0.0305130035, -0.0085738041, 0.030900564, 0.0413345583, -0.0685935467, 0.0010262363 ]
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.0166970342, 0.022695357, 0.0097339535, 0.0835532174, 0.0025074694, 0.0169325415, 0.0195704121, -0.0403230041, 0.0228153002, -0.0422844291, -0.0368182398, -0.0095616737, -0.0108002508, 0.0132313538, 0.0545145608, -0.0557841547, 0.0382836014, 0.02073255, -0.043369025, -0.0254745539, 0.0179978199, 0.0190976113, 0.046202898, 0.0290865693, 0.0030166958, -0.0057497579, 0.0026705363, 0.0201083943, 0.0080385935, -0.0163468029, 0.0216760114, 0.0578093082, 0.0643254742, 0.0353230499, 0.0000020274, 0.012695997, -0.0091090808, 0.0123480642, 0.0150068207, 0.0403520241, 0.0431808122, -0.0559850298, 0.0261628088, 0.0175531935, 0.007371672, -0.0192231741, 0.0556243174, 0.0468257554, 0.0400649793, 0.0759014264, -0.0164020769, -0.0757213458, -0.010331342, -0.0484208949, -0.0325595178, -0.0077243708, -0.000301926, -0.0337127447, -0.0166132487, 0.0774603114, -0.0331654027, -0.0066808495, 0.0427114666, 0.0398952477, -0.0329191387, 0.0462779962, 0.0270090364, -0.0075423149, -0.0008088781, 0.0686501414, -0.0050313431, 0.0149849728, -0.0143481102, -0.0055269683, -0.030633999, -0.0373364389, -0.0060509075, -0.012195739, 0.0547112189, 0.0429291092, 0.063294068, -0.0006232077, 0.0596782975, 0.0273436494, -0.0013932817, -0.0075478852, 0.0249414612, -0.0398024619, 0.0221886467, 0.0049751922, -0.0219611693, 0.0238139946, 0.021468496, -0.0231627766, 0.0189297479, 0.0051756268, -0.0627167448, -0.0308000389, 0.0402869843, -0.0600357987, 0.0040344135, 0.0471619628, -0.0092973802, 0.055606965, -0.0376426391, 0.0105485367, -0.0294059254, 0.0083447918, -0.0395648591, -0.0260333866, -0.008488155, -0.0045955926, 0.003707651, -0.0274710227, -0.0326152295, -0.041432444, -0.0140879955, 0.0131052537, 0.0023061652, 0.0209846832, -0.013406625, -0.0136737684, -0.0047526737, 0.0007310458, 0.0205314457, 0.0376774929, -0.0525288358, -0.0094011044, -0.0487327315, -0.0287725069, -0.0292182602, 0.0334795192, -0.0307475477, -0.0313696079, 0.024506757, 0.0101717608, 0.008551375, -0.04239114, -0.0257849991, -0.0087063797, -0.0351337306, -0.0402652137, 0.0187358521, -0.0802452639, 0.0381386802, -0.0199202951, 0.0179445483, -0.0046311095, 0.0120212249, 0.013413148, -0.0299273264, 0.0579820834, 0.0007069828, -0.0323349759, 0.015739182, 0.0034344832, 0.0112378895, 0.0893664062, 0.0018696715, -0.0064514717, 0.0409041271, -0.0149031607, -0.084554106, 0.047907792, 0.0188108925, 0.0241700839, -0.0005020812, -0.0061302735, -0.0198232662, 0.0210083779, 0.0473541655, 0.0184452999, -0.0189546011, -0.0645155236, 0.040241234, 0.046191629, 0.035672076, 0.0152866729, 0.0396366641, -0.0005811783, -0.0244558696, -0.0101905027, -0.0085607721, 0.0190316122, -0.0035583561, -0.015401301, 0.0502370484, 0.0361418463, -0.048459895, -0.0074548107, 0.0034659149, -0.0505314544, 0.0387087539, -0.0039443979, 0.0601579361, -0.0576758534, -0.0392752737, 0.0145097952, 0.0578206405, -0.0201638825, 0.0020195507, 0.0133423414, 0.0230628047, 0.0632594079, 0.0130311437, 0.0028689706, -0.0166702438, -0.0180542916, 0.0085557215, 0.0676762387, 0.0586626194, -0.0171771888, 0.0312653221, -0.0706552491, -0.041518677, -0.0480991676, -0.0018212303, 0.0236069523, -0.024321774, 0.0335488617, 0.026535416, -0.009122394, -0.0114032505, 0.0427910611, -0.0513128191, 0.0470260642, 0.0081625516, 0.0274285004, -0.0012606104, 0.0293205939, -0.0088686692, -0.0135279242, 0.0452170484, -0.0425048172, 0.0192437749, -0.02411809, -0.0607747957, -0.0528767034, 0.0397447385, -0.0564704016, 0.0074575567, 0.0358279422, -0.065015696, -0.0276587903, 0.0081810514, -0.0047528832, 0.00211997, -0.0552321449, -0.0259531979, -0.0192690119, 0.0344292819, 0.0039191213, 0.0686212555, -0.0444484241, 0.0606251955, 0.0156815536, -0.0159049369, 0.0414821841, -0.0181794353, -0.0761973411, 0.0243260637, 0.0357881673, -0.0095142089, -0.0112093054, 0.0297557712, -0.0246074386, -0.0185995363, -0.095724009, 0.0103657302, -0.0443128906, 0.0160288997, 0.0036938866, -0.0001803342, 0.007961249, -0.0121943047, -0.0182259902, -0.0448814556, -0.0411561653, 0.0329775438, -0.0045574447, -0.0245098304, 0.0218413956, -0.0079258308, -0.0196208153, -0.0196253248, 0.059487585, -0.0271645263, -0.0372129381, -0.0347795486, 0.0226669852, -0.0221935567, -0.007462434, -0.0142282313, -0.0360451788, -0.0227332003, 0.0257188231, 0.0825930089, 0.0419824384, -0.0204440951, 0.0366824605, 0.0327817351, 0.0291661154, -0.0275010113, 0.0292042587, 0.0002952236, 0.0653829724, -0.0351318792, -0.0395787619, -0.0344050899, 0.0306518786, -0.0125451917, 0.0014949914, -0.0718864352, -0.0031521653, -0.0130356774, -0.0158398002, -0.0010755805, 0.0377744734, 0.0092601217, -0.0071957386, -0.0358721875, -0.0170505326, 0.0781581849, -0.0244551953, -0.0105247367, -0.0557255112, -0.0371871144, -0.0208126232, 0.0105469888, 0.0267292224, 0.0348244086, -0.0205480568, 0.0095504094, -0.0221868884, 0.0271595195, 0.0186937265, -0.0108714756, 0.0313415788, 0.0042038062, -0.0230570827, -0.0307818521, -0.0393485427, -0.0005687451, -0.0461707599, -0.0258080363, 0.031382218, 0.0392608978, -0.0248537455, -0.0199807771, -0.0121102063, 0.0270054433, 0.0503687263, 0.0135408668, 0.0104911402, -0.0024888595, 0.0243739523, 0.0406052992, -0.0016581961, -0.006777517, -0.0803505853, 0.0111467605, 0.0096082203, -0.0237719249, -0.0213115234, -0.0264635365, 0.000802845, 0.0260455329, -0.004726436, -0.0575467013, -0.0096377553, 0.0050208285, -0.0332677737, 0.0177829508, 0.085770227, 0.008862189, -0.0463256948, 0.0149722928, -0.0619860217, 0.0410597324, 0.0218141451, -0.0022228272, -0.1004901677, -0.0438904017, -0.0023637738, -0.0207808074, 0.0445002727, -0.0054305163, -0.0056545078, -0.0868298262, 0.0383240581, 0.0093610864, -0.0337056667, -0.0424031317, -0.0623202324, -0.024115786, -0.0088092303, 0.0051636035, -0.0372611918, 0.0337554254, -0.0224896297, 0.0189636797, -0.0378376469, -0.0998430476, 0.0360701568, -0.0629367083, 0.0158732999, 0.0281158835, 0.0332574509, -0.0276398137, -0.0344182439, -0.0174111817, -0.0301358625, -0.0399595201, -0.0431977995, 0.0792520121, -0.0360754915, -0.0148112904, -0.0043729064, 0.0079726232, -0.0035456205, 0.0119600669, -0.0227716211, 0.1151844636, 0.0183744766, -0.0115477908, -0.0118658366, 0.0048659113, 0.0004453915, 0.073719874, 0.0110847931, -0.0710017756, -0.0170593243, -0.0203034841, 0.0404470935, -0.0516347922, -0.0316352174, 0.0513565801, -0.0138127152, -0.0624919124, -0.0453588031, -0.0701318085, 0.0298780315, 0.0164829195, 0.0014259501, 0.0080584968, -0.0378168933, -0.0503117256, -0.0183988009, 0.0210573543, 0.0089176102, 0.0484136865, -0.0353311934, 0.0358197913, 0.0568154715, 0.0136152906, -0.0215392858, 0.0159858093, -0.0430151895, -0.054025434, -0.0408812836, 0.0414003953, -0.005030931, 0.014170697, -0.0180724952, -0.0455826707, 0.0647432655, -0.0046681599, -0.0147202723, -0.0182891805, 0.0562184714, -0.0148752686, 0.0094430996, 0.0493777841, -0.0438154899, -0.0023100446, -0.0146636069, 0.0472383648, -0.0104516279, -0.039639011, -0.0192614775, -0.0383229442, -0.0017778145, -0.026799202, -0.0117055969, -0.0581328422, 0.0130340829, -0.0398774408, -0.0338843167, -0.035184212, 0.0079053715, 0.0347241126, -0.0012575652, -0.0021657804, 0.012599241, 0.0328735225, 0.0161561482, -0.0007176254, 0.0332489498, 0.0663266778, 0.018932553, -0.0034536603, 0.0488253981, -0.0358149894, -0.0375832357, -0.026807135, 0.0305604171, -0.0454177, 0.0523776859, 0.0047072563, -0.0215469114, -0.03288408, 0.0238009896, -0.0049652061, 0.0269507784, -0.016995905, -0.026217686, 0.0818159804, -0.014861729, 0.0763998553, -0.0138453301, -0.028972486, -0.0308687631, 0.0177618135, -0.0352819711, -0.0453779399, 0.0556945764, -0.0056181024, -0.0205273479, 0.0274205413, 0.082971938, -0.0117909107, 0.0416950546, 0.0320928283, 0.0000374672, -0.0342237502, -0.0031669699, 0.0551350787, 0.0393321626, -0.0472096875, 0.0019267438, 0.0054524499, -0.057864964, 0.0354867615, -0.0115210619, -0.0600038692, 0.0430033803, 0.0039931438, 0.0495399311, -0.0180270541, -0.0194698013, -0.0395196043, 0.0057218531, 0.0210104585, -0.0521438196, -0.0367807671, -6.369834175e-33, 0.0024894332, 0.0184774231, -0.0104961582, -0.0040550339, -0.0113869878, 0.0024193844, -0.0136886407, -0.0094636399, -0.0501416959, 0.0309426766, 0.0205819272, -0.0087679382, 0.0047255857, 0.0365249962, -0.0132230083, -0.0114367828, 0.0215601474, -0.01116163, 0.0038042162, 0.017405238, 0.0417386964, 0.0220066942, 0.1056089327, -0.0343698226, 0.033929348, 0.0125341285, 0.0105606588, 0.01250959, 0.0179791171, 0.0564870276, -0.0305031613, 0.0433255732, 0.0214621723, -0.0140145458, -0.0378651768, -0.0037107039, -0.0712905079, -0.0269185454, -0.0047309087, 0.0296226777, -0.0489006899, -0.0359118804, 0.0240544919, -0.0007643849, 0.0504633822, -0.0188248102, 0.0520417355, 0.0097106295, -0.0373215564, 0.0037007299, -0.0282655284, 0.043706134, -0.0244569387, -0.0013984414, 0.0308967959, 0.0889931321, 0.0506863184, 0.0639262646, -0.0997508168, 0.0040612337, -0.0446434282, -0.0080411369, 0.0341710523, -0.0097603071, 0.0190618541, 0.0561749041, 0.0144579904, 0.0052812607, 0.0088513903, -0.0347306021, 0.0709101111, 0.0186970402, 0.06292025, 0.0544024035, 0.000862773, 0.0047948407, -0.1011418551, 0.0261856616, 0.0259370524, 0.0128475167, 0.0304644331, 0.0096346987, -0.050571233, -0.0318965651, -0.0111075407, -0.0570006408, -0.0250896458, -0.066235438, 0.0114395786, -0.0044066142, 0.0008490413, 0.014799485, 0.0564911589, -0.0336805098, 0.0066465493, 0.0467679128, -0.0073059737, 0.0114817144, 0.003012856, 0.050525941, -0.0804689229, -0.0282037258, 0.0120502673, -0.0262976252, -0.0055949246, -0.0353679843, 0.0540607758, 0.0277167875, -0.0653893724, -0.0034404453, -0.0063685253, -0.06105984, -0.0032633119, 0.034301538, 0.0231698621, -0.001246271, -0.0091799228, 0.0448576882, 0.0547854751, -0.0023679205, 0.0062926691, -0.0819803178, 0.0308316685, 0.0365265198, 0.0110613126, 0.0025741614, -0.0347490162, 0.0055606822, 0.0169966593, -0.0342065319, -0.015157707, 0.0118800318, 2.57e-7, 0.0590174459, 0.0056334264, -0.0104858298, -0.0043845116, -0.0070004077, 0.0545586087, -0.0094872769, 0.0438149832, -0.0145487469, 0.0298373941, 0.0235968493, 0.0146870092, 0.0763588697, 0.0206931084, -0.0643000081, 0.0171495304, -0.0961184502, 0.0102068661, -0.0229285024, -0.0190383345, 0.0411326811, 0.1459980756, 0.0342119001, 0.0329460986, -0.0391769484, -0.0306166336, 0.0947124735, -0.0631596968, -0.0483318903, -0.0193651468, -0.0262721963, 0.0320628397, -0.0264971238, -0.0064776945, -0.0470952764, 0.0671261549, 0.0369801372, 0.0628475994, -0.0084896293, -0.0012602262, 0.0000735647, -0.0205841456, -0.0431364253, -0.0336930305, 0.0488717034, -0.0100248056, -0.0351894349, 0.0006683706, -0.0245301127, 0.008988319, 0.1035086811, -0.0335493647, -0.0609986112, 0.0161346681, 0.02742384, -0.0374130122, -0.0165361892, -0.0674191266, -0.0054581724, 0.0329907238, -0.0519737862, 0.0257457942, -0.0058325431, -0.0089256875, 0.0514385328, -0.0110196136, 0.0387640782, 2.245732136e-34, 0.0124261742, -0.0371289365, -0.0003452919, 0.0286657717, 0.0160136111, -0.0306102242, -0.0099857599, -0.0375251323, 0.0208221972, -0.0579201765, -0.015795026 ]
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.0826463029, 0.0535432063, -0.0178756099, 0.034140151, -0.047777012, -0.0154419383, 0.0458555892, 0.0168120563, 0.0555618517, -0.0249412525, 0.0008074396, -0.04724323, 0.0214293245, -0.0036588325, 0.0464719422, -0.001293706, 0.0362649262, -0.0320261158, -0.0007831132, -0.002683524, 0.0297513604, -0.0072107464, 0.037314415, 0.0300620906, 0.0210260805, -0.0091523807, -0.0034584838, 0.0114279408, 0.0361884311, -0.0553519353, 0.0044748574, 0.0293584261, -0.0128641771, 0.0383782722, 0.0000023269, -0.0523663498, -0.0101015456, 0.0253098607, -0.009387658, 0.0547183901, 0.017589353, -0.0334648751, -0.0187973417, 0.024673406, -0.0410806537, 0.0031433268, 0.023239335, 0.0341482423, 0.0726336613, 0.0783931762, -0.0071215737, 0.0050236676, 0.0382628813, -0.0070913872, 0.0180325992, -0.0403244682, 0.0217644311, -0.0372664183, 0.0099792844, 0.0337077156, 0.0220481511, -0.01216783, 0.0421167687, 0.0024923412, -0.0712628663, -0.0185676869, -0.0499819517, -0.0178434141, 0.0145366471, 0.0530693941, -0.0118940761, -0.0074116345, 0.0294784345, 0.0091923159, 0.0362147801, 0.0485617295, -0.0192382615, 0.0405444093, -0.0226526242, -0.0421075635, 0.0039414871, -0.0033475761, 0.0649377555, 0.0121485787, 0.0067384318, 0.0142860916, 0.005762584, -0.0339895859, -0.0021345429, -0.0485998243, -0.0137560805, -0.0423572287, 0.005109306, -0.0154666826, 0.0052371211, 0.0120007917, -0.0670460388, 0.005942889, 0.058863245, -0.057664644, -0.0216729529, 0.0280607697, -0.0048318952, -0.0054552411, 0.0360773355, -0.0022582079, -0.0214527044, 0.0143242925, 0.0076907608, 0.0282144491, 0.0161523055, -0.0013852122, -0.0024145439, 0.0133405682, -0.001529498, 0.0417491198, -0.0273302644, 0.0206523221, -0.0459612124, 0.0264474023, -0.050699681, 0.0064164642, 0.0101626702, 0.0125114955, 0.0396725759, -0.0312559009, -0.0457349271, -0.0213785693, 0.021225594, -0.0819587782, -0.0102284076, -0.0181794353, -0.0669174492, -0.007008139, 0.0042282245, 0.1260890961, 0.0403116234, -0.0159982312, -0.0666086003, -0.0998001918, -0.0441614613, -0.035027951, 0.001625914, -0.0972223207, -0.0091050072, -0.0101378141, -0.0078540388, -0.0397621505, 0.0103358962, 0.007029694, -0.0321912169, 0.0402874053, 0.0307995714, -0.0207398906, 0.0110283541, 0.0761009753, 0.0121140834, 0.0631989762, -0.0098937815, 0.0592705198, 0.0553409643, -0.0293832868, 0.055455368, 0.0612758994, -0.0170193557, 0.0335193425, 0.0039626448, 0.0030583979, 0.0341571309, 0.0092180753, -0.0351217762, 0.0325503126, -0.031684678, -0.0483380817, 0.1028620452, 0.0687480867, -0.0749286413, 0.0530666001, -0.0342431031, -0.015886778, 0.0420372449, -0.0028446433, -0.0511720665, -0.0083151795, -0.08133398, -0.034350127, -0.049723804, 0.0487421453, -0.0157682691, 0.0090526333, 0.0082596056, -0.0006611379, 0.0037572957, 0.0351507217, -0.0144952061, 0.0108762812, 0.0101496102, 0.0426880643, 0.0296355952, -0.028346967, -0.0278275479, -0.0563532561, -0.0110143125, 0.0397123918, 0.0607930422, 0.0001478054, 0.0110270064, -0.0426178053, 0.0146490214, 0.0171189196, 0.0335470252, 0.0100455368, -0.0077448781, -0.0097363582, -0.0068447292, -0.0388801061, 0.0107281012, 0.0289382618, -0.0020592194, -0.0027188705, -0.0050382479, -0.0132862702, -0.0356682464, 0.0050437017, 0.008211039, -0.0195338055, -0.0040401365, 0.0303681847, 0.019487286, 0.013147451, -0.0146169607, -0.0063328221, 0.0472912975, 0.0105969692, 0.0413632728, -0.0070423856, -0.0462271497, -0.0131625924, 0.0212193076, -0.0486108102, -0.0200364254, 0.0918190777, -0.0232904926, 0.0254457928, 0.0337957814, -0.0246717613, 0.0285445992, 0.006409063, 0.007361725, -0.0311507545, -0.0043007187, -0.0434327014, -0.0017977679, -0.0256103911, 0.0074772546, -0.0147373294, 0.0155818844, 0.0139401974, 0.0046283402, -0.062642768, 0.0420946255, -0.0731981546, 0.0300398711, 0.0191345718, -0.0069984808, -0.033856865, -0.0200122409, -0.0673585087, -0.0285196099, -0.0219856724, 0.0144971618, 0.0532583259, 0.0436450504, -0.0306401234, -0.0022365181, -0.0312202182, -0.0329298005, -0.0026389246, 0.045329079, -0.0109758843, -0.0230183546, -0.0220379718, -0.0133574363, -0.0028100281, -0.0102441637, 0.0512154624, -0.0247399081, -0.0026512183, 0.0179918855, -0.0022644112, -0.0276968051, -0.0044142841, -0.0336984955, -0.0468627773, 0.0504679978, 0.0200985949, -0.0004233703, 0.0608944707, 0.0409764275, 0.0669291094, 0.0572196767, 0.008771874, -0.0428777561, -0.0464071073, 0.0533002838, -0.054309275, -0.0326321982, -0.0995369479, 0.0313600339, 0.0390538238, 0.0459562801, 0.0370852165, -0.009628362, 0.0375741683, -0.0398001634, -0.0451844409, -0.0036258581, -0.0059962478, -0.0516460612, -0.0222455356, -0.0191520043, -0.0497496873, 0.0629001409, -0.0309822913, 0.0203167405, -0.0015545656, -0.0351713374, 0.0145956492, 0.0669066757, -0.0364060216, 0.0196583457, 0.0654084161, -0.0310061183, -0.0325527787, -0.0418811254, 0.0390674397, -0.029048698, 0.037779592, -0.0319266841, -0.0094320597, 0.0008033821, -0.0227001738, -0.033781752, -0.1063457504, -0.0122046424, -0.0412113555, 0.0281608496, -0.0361772701, 0.0071988329, -0.0396892577, 0.0339696705, -0.0054639513, -0.0122377742, -0.0140176769, -0.0136004314, 0.0071096327, 0.0294495784, -0.0615148656, 0.0185567774, -0.0094199767, 0.0539993122, 0.0936194509, 0.043470636, 0.0002317083, 0.0136396009, 0.0237741061, 0.0129564162, -0.0026976147, -0.0213031359, 0.0455653556, 0.079283759, -0.0613441728, -0.0169427209, 0.0291589219, 0.012296577, -0.0048249853, 0.0384625196, 0.0008911899, 0.0157319456, 0.0130850552, 0.0237120427, -0.0555170402, -0.0222503599, -0.0018824018, 0.0707693174, -0.0454047918, -0.0251148455, -0.0243454222, -0.0911430866, 0.0091096638, 0.0356999412, -0.0244532395, 0.0453688204, -0.036993321, -0.0211246591, 0.0155820008, 0.0347239636, -0.0199883226, -0.0234975982, -0.0200652517, 0.0000567286, -0.067568779, -0.0009666212, 0.0324634314, -0.0389099643, 0.0629927441, 0.0651522651, -0.0148012564, -0.0559204407, 0.0238911454, 0.0466322787, 0.0108899428, -0.0286857076, 0.0116652073, 0.0166029781, 0.0173304472, 0.0002788694, -0.0053213378, 0.0311814994, 0.004470862, -0.0400170609, 0.0570212789, 0.0498169474, -0.0065967995, -0.0473860018, -0.0152544435, -0.013156523, 0.0207184963, 0.0288869701, 0.0208715852, -0.0474833064, -0.0137010105, -0.0876437649, -0.0573412925, -0.0261387769, -0.0250407979, -0.010616892, 0.0509531423, -0.0081376033, -0.0366706997, -0.0249781106, -0.0248681158, 0.0364908725, 0.0328450501, -0.0007942253, -0.0361190587, 0.0238315668, 0.0027322536, -0.0068257055, -0.0078598587, 0.047504928, -0.0458585583, 0.0515506193, -0.0258379672, -0.0172592774, 0.0183297843, -0.0017570535, -0.0246571302, -0.0687332749, 0.0228856932, 0.0617512316, 0.0230046641, -0.0018549046, -0.0171664413, -0.0534194931, 0.034037631, 0.0881793797, -0.0645644367, 0.0398651883, 0.0712123141, -0.0136325732, 0.0106046693, 0.0068062628, -0.0162328668, -0.0276176929, 0.0739461407, 0.000218312, -0.0733377188, 0.0062351297, 0.0084411371, 0.0289307553, -0.0033871406, -0.000905815, -0.0013571262, 0.0477999263, -0.0112368548, -0.0078566801, -0.0377509482, 0.0216070227, -0.009791851, 0.0088955769, -0.0118285622, 0.0306003094, 0.0295959041, -0.0196080282, -0.0018575321, -0.0255151503, 0.0464149639, 0.0233090576, 0.0723040402, 0.0539362878, 0.0156203313, -0.0335073657, 0.0450700335, -0.0102918213, 0.0263061468, 0.0086531211, 0.0512019582, -0.0251136646, -0.0184340477, 0.0035253519, 0.0460083298, -0.0724951476, -0.0572410785, 0.0308619887, 0.0751898512, -0.0305106435, 0.0158120859, -0.011438272, 0.0125504276, 0.0077023082, -0.0378191359, -0.0396528803, -0.0093103023, -0.0877863318, 0.025754232, 0.0051635685, -0.0214102417, 0.0278632138, 0.0499754697, 0.0181198847, 0.0433758795, 0.0286622979, -0.0094129322, -0.0189961046, -0.0036871124, 0.0969807506, 0.0291963182, -0.0517619699, -0.0742685571, -0.0875861719, -0.069374159, -0.0392591208, -0.0062578986, 0.0321441479, -0.0013148094, -0.0297699459, 0.0421192534, 0.0134317642, 0.056094747, -0.0465214327, 0.0307399016, -0.0366302505, -0.0583311543, 0.0164989941, -6.152509147e-33, 0.0454637669, -0.0518761501, -0.0508288033, -0.0399790369, -0.0122206975, -0.001212917, -0.0286236778, 0.020428963, -0.0369361043, -0.0333776996, -0.0235395301, -0.0155322179, -0.0038500025, -0.0048523964, -0.0431220829, -0.0654415116, -0.0042101485, 0.0165782962, -0.0391143262, 0.030787196, 0.0432966985, 0.0166120734, 0.0049864152, -0.0387422219, 0.0709492564, -0.0454231128, -0.0288723372, 0.0056772018, -0.0254246239, 0.0499155112, 0.0177647248, 0.0427581668, 0.002632909, -0.0305489898, 0.0032306931, 0.0866646618, 0.0134907141, -0.0120685166, 0.0274650287, -0.0027512745, 0.0111690816, -0.0495214798, 0.0103004249, -0.0158501919, -0.0051212688, -0.0292384624, -0.0089750746, -0.008334632, -0.0202745181, -0.0132180853, -0.0053405697, -0.0171273779, -0.0361699983, 0.0030167771, -0.0518284515, 0.0374311805, -0.008191416, -0.0097911162, -0.0215298403, 0.0258261133, 0.0235009193, -0.0289821029, 0.03046887, 0.0072443429, 0.001912548, 0.0784303322, -0.0500602201, 0.0101518687, -0.0006449502, -0.0216237456, 0.0071798391, 0.0581327714, 0.0613220707, 0.0964901373, 0.0407743417, -0.0305032432, -0.07386484, -0.0078760684, 0.0357578658, 0.0176639874, 0.0293055307, -0.0336077362, -0.0565976277, -0.0235754922, -0.0057676532, -0.0100732613, -0.0216506496, -0.0612655096, 0.031644132, -0.030116111, -0.0467238054, -0.0334655344, 0.0091627948, -0.0697847381, 0.0089880405, 0.0109678507, 0.008262638, -0.0111969924, 0.0052480455, 0.0188375581, -0.0173887033, 0.0292302016, -0.0007456891, -0.0649492443, 0.0407904573, 0.0084357513, 0.0275270995, 0.0268887058, -0.046270892, -0.0239120908, -0.0088649914, 0.0387356542, 0.0024004516, 0.0029836234, 0.0193256885, -0.0064935521, -0.0001495661, -0.0190278199, 0.0445794016, -0.0169399101, -0.0740697905, 0.0228067786, -0.0561556555, 0.0349099748, 0.0064107962, 0.005863457, -0.0158947874, 0.0206052326, 0.0525384694, -0.0444199927, -0.0156691764, -0.026351897, 3.046e-7, -0.052747786, -0.023327034, -0.0179991871, -0.0226146039, 0.0110191656, 0.080951713, 0.005789428, 0.0888767168, 0.0209652614, -0.0564450845, -0.0249880627, -0.0219315235, 0.0676122531, 0.0477637164, -0.059610825, 0.0126593001, -0.0587040372, -0.0021724964, -0.0617778786, 0.0076961969, 0.0258120801, 0.0454521216, 0.0114305159, -0.0354135521, -0.0048717037, -0.0349865519, 0.018542368, -0.0338157266, -0.0187592935, -0.0117481379, 0.0226768758, 0.035879679, 0.0268331617, 0.0168483239, -0.015351099, -0.0349333063, -0.0408927947, 0.036694359, 0.0348594822, 0.0082413387, -0.031694144, -0.0495796651, 0.0111347679, -0.0773565099, 0.0588749237, -0.0114403656, -0.0234444924, 0.0027413075, 0.0106987944, -0.0735004321, 0.0089043593, -0.0255576633, -0.0058944067, -0.0223023128, 0.0192514118, 0.0097816391, 0.0391104557, -0.0290580988, -0.001741827, 0.0038561274, 0.0222309921, -0.0567293242, -0.0133975353, 0.0371544473, 0.0145266168, -0.0185383223, 0.0223344378, 3.074430169e-34, -0.0156262722, -0.0375439227, 0.0303255711, -0.0221840851, 0.0392991491, 0.0372769088, 0.0542673953, 0.0272945929, 0.0073217535, -0.0166700725, -0.0085098688 ]
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.0391014963, 0.009347219, 0.010456915, 0.0189289376, -0.0174795631, 0.0094656749, 0.0094473967, 0.0142732263, 0.0012904411, -0.0344393849, -0.0722144172, -0.0138340648, 0.0012915233, 0.0362916142, 0.0097320806, -0.0819224492, -0.0208960306, 0.0079833567, 0.0198986474, 0.0266602971, 0.0040791091, -0.0230775233, -0.0387079976, 0.0098313112, -0.0468477756, -0.0072420673, 0.0161554832, 0.0492496789, 0.0238697436, -0.0441535115, -0.0057061245, 0.0138530964, 0.0366847999, 0.0169174448, 0.000002187, -0.0273390524, -0.0112907989, 0.0288657546, 0.0401743017, -0.0371523015, 0.0742823556, -0.0778554156, 0.0364726298, -0.0522369966, -0.0120492969, 0.0203402955, 0.0769578367, 0.0597210303, 0.040907979, 0.0436224788, -0.023491282, -0.019127775, -0.0238885731, -0.0323116742, 0.0414773524, -0.0021830758, 0.0087329037, 0.0264124852, 0.0089608748, 0.0584118702, -0.0780647099, 0.0283654556, -0.0157477017, -0.0198785104, 0.0037993644, 0.0399022922, 0.0103897601, -0.0495338067, -0.0023045102, 0.0807453766, -0.0065205884, 0.0031711911, 0.0069139665, -0.0438589789, -0.0334275141, 0.0852585658, -0.0475568324, -0.0273494292, -0.0179200172, -0.0444203541, -0.0288400948, 0.0602688938, -0.0084783435, -0.0312800109, -0.0265371092, 0.0138019994, -0.0220836531, -0.0195161253, 0.0153089091, -0.0113221789, -0.0009101529, -0.0050831251, 0.0245022643, 0.0083408635, 0.0406143479, 0.0154856276, -0.0391276516, -0.0618031174, 0.0484162532, -0.0069600367, -0.0060673743, -0.037097007, -0.0440698527, 0.0522950552, 0.0134392669, 0.0375592001, -0.0143886907, 0.0678523406, -0.0121843657, 0.0239519551, -0.0049197096, -0.0103080273, 0.0093958173, -0.0491990857, 0.0018011695, -0.057221733, -0.0155519908, -0.0257068854, 0.0104056522, 0.0468445532, 0.0384316482, 0.0190478098, -0.0743131265, 0.0093625626, 0.0131251002, 0.0662590116, 0.0208268594, -0.0010348458, -0.0397322774, 0.0200428534, 0.0316271707, 0.0695270896, 0.0111279078, -0.0284813792, -0.0167302769, 0.0704071075, 0.0139548453, -0.0307610538, 0.0227028057, -0.0498780124, -0.0531322844, -0.0356877409, 0.0570392087, 0.0066458769, 0.0250116121, -0.022544492, 0.0269193873, 0.0165989939, 0.012883815, 0.016295094, -0.0143806534, 0.0834031105, 0.0063843303, -0.0174593627, 0.0374427028, 0.0065444354, -0.0231376402, 0.0476661809, 0.0513647161, 0.0282521807, 0.0425439775, -0.0547567308, 0.012841492, 0.039111495, -0.0191320889, -0.0363343656, 0.0468007885, 0.0070418944, -0.0368531831, 0.021642169, -0.0008070688, -0.0326301642, -0.0147913666, -0.0501504391, 0.0642326102, 0.0341789238, 0.0500991084, -0.0228394177, -0.0157688353, 0.0077863038, 0.0247632861, -0.0054375292, -0.0173643027, 0.034114752, 0.0530212075, 0.0345215127, -0.0360451452, -0.0149916783, 0.011871621, -0.0314885378, -0.0221577603, -0.009569793, -0.0055668443, -0.0548592843, 0.0825034082, -0.0072592576, -0.0467933565, 0.0179675855, -0.0027707575, -0.0453788824, -0.0118462993, 0.0556741692, -0.0198462438, 0.0184736326, 0.0554657988, -0.0914814994, -0.0464277342, -0.0318216793, 0.0096923094, 0.0192688983, 0.0192114711, 0.0063311881, -0.0178551972, -0.0591937415, -0.0602153093, -0.0155132078, -0.0098756673, 0.0289697498, -0.0206367373, -0.0105581461, -0.0227157082, -0.0742105246, -0.0126717845, 0.0275986008, 0.041904863, -0.0240299813, 0.0068589007, 0.0318242684, 0.023761332, 0.0202330202, -0.0247191656, 0.0078859758, 0.0421747267, -0.0274777226, 0.0235007256, 0.0371550396, -0.0295510218, -0.0516556948, 0.0079518724, -0.0423270203, -0.0065569663, 0.0268466882, -0.0478704274, -0.0387527496, 0.008260469, -0.0392328203, -0.0503093824, 0.0256446712, -0.0544952825, 0.0098785022, 0.0128122801, -0.0701492876, 0.0401587561, -0.009952317, 0.027803164, -0.0181936547, 0.0573778637, 0.0560065657, -0.0101346774, -0.0157280285, 0.0072041736, -0.0033539471, -0.0091250744, 0.0210123844, -0.0194433182, 0.0122173447, -0.0080803111, -0.0453203991, -0.0230447315, 0.0054470231, 0.0221417975, 0.0187732894, -0.0572858378, -0.0042663142, -0.0425324477, -0.0330275521, 0.0191283002, -0.0382831879, -0.0516115278, 0.0397488549, -0.0332872681, 0.0319862962, 0.0201865789, 0.015156161, -0.0436949618, 0.0357801542, 0.0929214433, -0.024248464, 0.0039300774, -0.0184978582, 0.0132391136, -0.0331783891, 0.0077141989, -0.0012760558, 0.0020540927, 0.0226502474, 0.0011630403, 0.0654252842, -0.0128537687, 0.057123296, -0.0177307911, 0.0056650895, -0.0035614453, 0.0185498539, -0.0127915833, 0.0563943945, 0.0127063403, -0.0147225512, -0.0011474605, 0.0641916543, 0.000183864, 0.0074325972, 0.0028623971, -0.0377024934, -0.0133201899, 0.0214983523, -0.0343497731, 0.0116563169, -0.0224579182, 0.0201686043, -0.0332842842, -0.0319176167, 0.0200601518, -0.0507382415, -0.0433216952, -0.069693312, -0.0122400783, -0.0445526913, 0.0784085095, 0.0448839329, 0.0181936305, 0.0093765054, -0.0265068151, -0.0315960012, 0.0183593854, 0.0389745124, -0.02819754, -0.0420344435, -0.023301404, 0.02656742, -0.050843481, -0.011539124, 0.0100960676, -0.0307689849, 0.0185579062, -0.0273746625, 0.0102085099, -0.0314526036, -0.0750956088, 0.0374525264, 0.0110243782, 0.045461718, -0.000849569, 0.0071613444, -0.0101575255, 0.0856706053, -0.0214841105, 0.0122154336, -0.0607895628, -0.0456455387, -0.0288868062, 0.0324626602, -0.0707639232, 0.009810417, -0.0260713808, 0.0087343212, -0.0162608437, 0.0402087718, -0.0014635953, -0.0224488266, 0.0371370874, -0.0221385323, 0.0280585364, 0.0448119007, 0.0251626931, -0.0652910173, -0.0330618918, 0.0390512086, -0.0028927634, 0.005089764, -0.0046218126, -0.0833956674, -0.0252575204, -0.0145322941, 0.0087637501, 0.0067533851, 0.0088692978, -0.0166125838, -0.0534383617, 0.0675524622, 0.0109237954, -0.0622809827, 0.0053603812, -0.062594153, 0.0177573357, -0.0406821333, -0.0646320209, -0.0626389384, 0.0036919524, -0.0398372635, 0.0345674269, -0.0842550099, -0.0612857528, -0.0569035821, 0.0218329411, -0.0536627918, 0.0242611784, 0.0647359937, -0.0002264679, -0.0282133222, 0.0264222678, 0.0479898714, 0.0032234122, -0.0149423629, 0.0947806388, 0.0066968077, -0.0099705635, -0.0118240751, 0.055529017, 0.0037606566, -0.0265417229, -0.004510703, 0.0336040258, -0.0143095599, 0.0014454847, -0.0731438324, 0.0253119133, 0.0199954957, 0.004731596, 0.0539468415, -0.0246009417, -0.0588669665, -0.0465472937, 0.0693868399, -0.0694128722, 0.0018122753, 0.0061083836, -0.0431951992, -0.0665324405, -0.0391290747, 0.0237965006, 0.0017275043, 0.055181805, 0.0178835187, -0.0211563613, -0.0096380077, -0.0199138466, -0.07686764, 0.0256910436, 0.0080875559, 0.0476399027, -0.0039611286, -0.0494625382, 0.0552964807, -0.0202722419, -0.0433474854, -0.01436939, -0.0513829105, -0.006319161, -0.0266123544, 0.0473918505, 0.015329483, -0.0060862242, -0.0024349464, -0.0188617315, 0.0683113188, 0.0832726732, -0.0334801264, -0.028423721, -0.004762304, -0.0107649034, -0.0469017103, -0.0558014289, -0.031792894, 0.056624271, 0.0218431968, -0.0160652194, -0.0184916928, 0.0130564887, -0.022352675, 0.0129211964, 0.0315367915, -0.0255311411, -0.0044102231, -0.0168161057, -0.0155349532, 0.0114672352, -0.0366469212, -0.0137955947, 0.00269913, 0.035268873, 0.0037386243, 0.0011012334, 0.0007242642, 0.0375947692, 0.0104882205, -0.0547194667, 0.064656429, 0.0341325179, -0.0106940595, 0.0005924615, 0.0480654575, -0.010439558, 0.0165125355, -0.0055592577, 0.0132736191, 0.0535870083, 0.0116404807, 0.0181534626, -0.0046097408, -0.0361037031, 0.0535244569, -0.0779639632, 0.0314820483, -0.0303848404, -0.0074578938, 0.0255853143, -0.0237844177, 0.0136730243, -0.0394547284, -0.0043013073, 0.0188428033, 0.0331313647, 0.0389825329, 0.0432117656, 0.0652772263, -0.0051270635, 0.0253790561, -0.0361537486, 0.0861541778, 0.0274503157, -0.0076536783, -0.011863362, -0.0418477878, -0.0620489344, 0.0340583026, 0.0379204378, 0.0325406939, 0.0033356, 0.0070458106, -0.0441740789, -0.0079689659, 0.0340411216, -0.0006503843, -0.0022952869, 0.0234867204, 0.020799296, 0.0228247326, 0.036604967, -0.0014898526, -0.0027752116, -0.0192149747, 0.0040535713, -0.0053356914, -0.0086548068, -5.248396034e-33, 0.0024737522, -0.0678551123, -0.0175993126, 0.0191179942, -0.0304852445, 0.0212031286, -0.0211222991, -0.015171838, 0.057250388, 0.0282310937, 0.0400777832, -0.0634723827, 0.0191188902, 0.0154089378, -0.0110346619, 0.0144480933, 0.034123525, 0.0092060575, -0.0478262976, 0.0136812748, 0.0309691075, 0.0413305983, 0.0181063619, -0.1142610833, 0.0073175565, 0.0249124244, 0.013254446, -0.0346097946, -0.0118458355, 0.0472306348, -0.00414016, 0.0067617232, 0.0304530691, -0.043080274, -0.0206154902, 0.1095662192, -0.0832627863, -0.026233552, -0.012732585, 0.064625442, -0.009980198, 0.0004220975, 0.0652720928, -0.0150711406, 0.0056688138, -0.0540111661, 0.0710536242, -0.0172020923, 0.0142515572, -0.011780967, -0.0337480307, 0.0499625877, -0.0351383276, -0.0145967202, 0.0308134481, 0.0412391685, 0.0288515482, 0.0709272474, -0.0772124156, 0.0402874164, -0.0274440162, -0.0315404311, 0.0309715047, 0.0636320785, 0.0195571035, 0.0581607483, -0.0063660466, 0.044970613, -0.038365379, -0.0182017982, 0.0247467458, 0.0664300621, 0.0595313832, 0.0098804543, 0.0536895469, 0.0167425331, -0.033504732, 0.0739686191, -0.0225212686, -0.0120172305, 0.0213592388, 0.0172898546, -0.0219870005, -0.0262241978, 0.0234014001, 0.0142814042, -0.0367008895, -0.0009540042, 0.0367158167, 0.0115704155, -0.0242560077, 0.0619592145, 0.0195932146, -0.0306083057, -0.0177489147, -0.0103282006, 0.0264530294, 0.0667579919, -0.0360168479, -0.0862240121, -0.0249557681, -0.0590288378, 0.0562386326, 0.001306414, 0.0177770946, -0.0335973911, 0.0389196724, 0.0242918953, -0.0275249891, -0.0146299591, 0.0177741721, -0.0790745318, 0.0367913507, 0.0628229454, 0.0272575617, -0.0316006504, -0.0364222713, 0.014975844, 0.0244609937, 0.0296427254, 0.0027168463, -0.0569408536, -0.0477810055, 0.0132927299, 0.0114175975, -0.0369806178, 0.0034650106, -0.0656280965, -0.0074988264, -0.0336858854, 0.000113956, -0.0110923313, 2.742e-7, 0.0809886977, 0.0438205749, 0.0458752662, -0.0683109388, 0.0224227682, 0.0132127944, -0.0816741735, -0.0097254682, -0.048173856, 0.0106182313, 0.0237192977, -0.0151512809, 0.0448793657, 0.0504388288, -0.0454516038, -0.0194035899, -0.0375322737, -0.0327626057, -0.0530937649, 0.0523103178, 0.0688994005, 0.0316973142, -0.0133622615, -0.039395161, 0.0159916468, -0.0397212021, 0.0354689844, -0.012335239, 0.0397548266, -0.0111439712, 0.0206445642, 0.0297575053, -0.0297928434, 0.0438733697, -0.0127358856, 0.0052094362, 0.0271643233, -0.011297049, -0.0238091405, 0.0520328656, 0.0251046233, 0.0527511463, 0.0129896216, -0.0433095098, 0.0152517809, -0.0774304941, -0.0616488904, -0.0053536445, -0.0225085095, 0.0165324975, 0.0297779515, 0.0061286758, -0.0145478677, 0.0253532305, 0.0172365867, -0.0168332309, -0.004417337, -0.0483588502, -0.0210612565, 0.0341604389, -0.0247363392, 0.0080497349, -0.0090861227, -0.0049157981, 0.0081387674, -0.019585235, -0.0448929444, 2.914421052e-34, 0.0400339179, -0.0156103512, -0.0229069125, 0.0091701793, 0.0327241048, -0.0176732615, 0.0120017854, 0.0006715314, -0.0091704968, -0.0564723462, 0.0154036488 ]
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.014595326, 0.0339000411, 0.010236566, 0.0593021773, -0.0608853884, 0.0182974003, 0.0507417358, 0.041496221, -0.0364964195, -0.0292159393, 0.0127906231, -0.0174592659, 0.109878175, 0.0377339609, -0.0166946091, 0.0094940346, -0.0100391544, -0.0815603733, -0.0256176684, -0.0000818655, 0.0478024893, 0.0264531374, -0.0144412341, 0.0046077515, 0.0244004298, -0.0342760421, -0.0233766064, -0.0206717923, -0.00444591, 0.0411511473, -0.0116155753, 0.038708251, -0.0195459574, 0.0473634638, 0.0000022015, -0.0961264372, -0.078063719, -0.0055201445, -0.0238185823, -0.0074733468, 0.0574883372, -0.062690571, -0.0753042772, -0.0213233214, 0.0317998342, -0.0000148595, 0.0476559587, 0.0510406569, -0.0202720799, 0.0266430117, -0.0046195989, -0.0688671991, 0.0116490638, 0.052083876, -0.0203157589, 0.0094044777, -0.0018590426, -0.0064945207, 0.0007230286, 0.0183369089, -0.0205477495, 0.0077207717, -0.0276050866, -0.0805162713, -0.0046693441, -0.0057669026, -0.0342412703, -0.0141717251, 0.0228018221, 0.0018680531, -0.0048911422, -0.0213619918, 0.0025397185, 0.0088528777, -0.0251918621, 0.0289150588, -0.0091969632, 0.0473571941, -0.0949600935, -0.0027553507, 0.0185762327, 0.0212331917, -0.0301753636, 0.0007934119, -0.0551337488, 0.0404553637, -0.0066438653, -0.0665499195, 0.0417009778, 0.0137775848, 0.0093871225, 0.0032203963, 0.0188535396, 0.0098041194, 0.063762486, -0.0090018874, -0.0566918701, -0.053965725, 0.0281380415, -0.0440008193, 0.035239879, 0.0902607813, -0.0027858452, 0.0056830901, -0.0407578908, 0.0649340451, 0.0039855731, 0.052864857, -0.020659985, 0.0423135683, -0.0258417241, 0.0075729312, -0.0474959053, -0.0139348097, -0.0338951871, -0.0096415821, -0.0264585111, -0.0014946812, 0.0288591217, 0.039601244, -0.0034006748, -0.0674160644, -0.0204401407, -0.0378216095, -0.0054124808, -0.0413295142, 0.0473286323, -0.0159215424, -0.0760558546, -0.0671488568, 0.0358618535, 0.0162339918, 0.0491281189, 0.0207472816, -0.0109253386, 0.0514193214, -0.0496329144, -0.0284551568, -0.0040978622, 0.0607082509, -0.0339231789, -0.0157836284, -0.0245761741, -0.0569728874, 0.0020544915, 0.0231011789, -0.0137587888, 0.0295861978, -0.000817432, 0.0268326234, 0.0100348871, 0.0345391817, -0.0022378322, -0.0001350939, 0.0785759762, -0.0210385993, 0.0384387448, 0.011610792, 0.0210213717, 0.0048891371, 0.006335502, -0.0036962377, 0.0147283776, 0.0533211753, -0.0231417362, -0.0341419391, -0.0162181761, -0.0269057117, 0.0581065826, 0.0613669418, 0.0091409078, 0.0315529145, -0.0280327369, -0.0076125641, 0.0411690995, 0.0052504339, 0.0243271794, 0.0427687019, -0.0469438508, 0.0221778769, 0.0805655569, 0.0119978599, 0.0198983401, -0.0194366015, 0.0377504975, 0.0291403793, -0.0099101737, 0.0812405199, 0.0220839046, -0.0214125589, -0.0413765237, -0.0071432288, -0.0386479571, -0.0308693144, 0.1336628199, -0.0152242025, -0.0794287622, -0.0583060011, 0.0078217518, -0.0078567099, -0.0400798693, -0.0400910228, 0.0178087633, 0.0501468778, 0.1094648018, -0.0536105335, 0.024762895, 0.0045212642, -0.0628349632, 0.0179894138, 0.0020675445, -0.0090299472, -0.005078115, -0.0509515814, -0.0249606855, 0.036341358, -0.0059734397, 0.0208805762, -0.0038802088, 0.0689963177, -0.0114483414, 0.0035951051, -0.055209659, 0.0300647952, -0.0032176622, 0.0356119759, -0.0603686087, 0.0215734299, -0.0066352133, 0.0225154683, -0.0324222036, 0.005070237, -0.0001763651, -0.056682352, 0.0239716936, -0.0069373497, 0.0036906598, 0.0591828451, 0.0674758554, -0.0010480094, 0.0303585641, 0.0099997297, 0.0357848406, -0.0142286858, 0.0299094971, -0.0172457825, 0.0316138342, -0.0153286485, 0.055759728, -0.0666422173, -0.0319838747, -0.0083446661, 0.0436937772, -0.0154201528, -0.0269914102, -0.0128982347, -0.0974756032, 0.0368385129, 0.0276411772, 0.0041697538, 0.0204346552, -0.0077706864, 0.0077955881, 0.0156657174, 0.0097537255, 0.0040346915, -0.0841483399, 0.0016183598, -0.0300190989, -0.0013216579, 0.035057839, 0.0075442581, -0.0090344111, 0.0070460816, -0.0115014492, 0.0353625268, -0.053465616, -0.0257598534, -0.0365282074, 0.0534410812, -0.0259009171, 0.0014083814, -0.0077176415, -0.0142670348, 0.0200103112, 0.0527979732, 0.0523341745, -0.0877814814, -0.0160080623, -0.0068084113, 0.0199238453, -0.0073953061, -0.0211584978, 0.0002999522, 0.0127593344, -0.0192893129, -0.010345513, 0.0241895802, 0.0032445502, -0.0151285995, 0.0246919487, -0.007744696, -0.012977723, -0.0231917333, 0.0267418548, -0.0160650592, -0.0070538251, -0.0697515234, -0.04160624, -0.0242879689, -0.0558392033, 0.054962568, -0.0093185939, -0.0346969292, -0.0203139931, 0.0160584804, -0.0308401715, -0.0233089421, -0.0068547786, 0.0629066899, -0.0027471378, -0.0233751554, -0.0169980247, -0.0358031355, -0.0129970675, -0.0177293643, 0.0421815142, -0.039252907, -0.0449911356, -0.0362767242, 0.0178686734, 0.0323911943, -0.0549489297, 0.0114403637, 0.0168252531, 0.0549001023, -0.024506297, 0.0299317893, -0.0039304718, 0.0760787874, -0.0364224762, 0.0039669662, 0.0147246774, 0.0141457925, -0.0186718833, -0.0530330017, 0.0126093123, -0.0131557751, -0.0193952248, 0.0730521083, 0.040821407, 0.0930146575, -0.0115676606, 0.0274599008, -0.0070363409, 0.0358068682, -0.002449716, -0.0499061719, 0.0120269787, -0.0635249093, -0.0038289193, -0.0023905574, -0.0379116274, -0.0424702093, -0.0280962586, -0.0134613952, 0.0344024822, -0.0190985519, -0.0424986072, -0.0540240034, -0.0426695459, -0.0557573773, 0.0089150043, 0.0522069372, 0.0038121045, -0.059495315, -0.0618660562, -0.0405556783, -0.0197022427, -0.040733818, -0.0217178985, -0.0868463442, 0.0448970906, 0.0462596528, 0.0834699646, -0.0147343911, 0.0186839849, 0.0314149447, -0.0344797298, 0.0064522475, 0.0062892986, -0.0816267803, -0.0546428375, -0.0196801629, 0.0127371652, -0.0114291171, -0.0658968017, -0.0026801676, -0.0140806241, 0.0186718609, 0.0298128687, -0.0469427258, -0.0216850508, -0.025564393, 0.0129342107, -0.0246799439, 0.0280521605, 0.0083182137, -0.0210609622, -0.0357110761, -0.0084840041, -0.0343095474, -0.0081654442, -0.0387194976, 0.0427639782, 0.0269902982, -0.0107222237, -0.0442839861, -0.0107094273, -0.0339879654, 0.0163110569, -0.0205931757, -0.0217356645, -0.0099228276, 0.0475030094, 0.0192207899, -0.0353249311, -0.0532511659, -0.0470480695, -0.0399386659, -0.0116115334, -0.0786393657, -0.0063597793, 0.0238311272, -0.0496893711, -0.0016233254, -0.0044780136, -0.0117728272, -0.0820327029, -0.0234070271, 0.003052409, -0.0048031076, 0.0342942327, 0.0189652313, 0.0001372281, 0.0372346006, 0.03740431, -0.0305750277, -0.0996462554, -0.0082919709, -0.0056265309, -0.0815236717, 0.0172688141, -0.039278768, -0.0666186064, 0.0154079003, -0.0501305871, -0.0030987698, -0.0086090704, 0.0871066824, 0.0170228984, 0.0172354206, -0.018444404, 0.0061186305, -0.0356664844, 0.0340615176, -0.0056270757, 0.0638611093, 0.0109729646, -0.0084634088, 0.0026914058, -0.0537081435, 0.0151507845, 0.0214344189, -0.0180725176, -0.0202062111, -0.0906420127, 0.0079843113, -0.0441192687, -0.0008199217, -0.0248008817, -0.0188548565, -0.0364718027, -0.0092265159, -0.0348105282, 0.0337248035, -0.0149231926, 0.0246494412, -0.0118809296, 0.0213467106, 0.0026367302, 0.0172277316, 0.0259638075, -0.0016407287, 0.0047476082, 0.0021131602, -0.02298842, 0.0570931137, 0.0089767827, 0.082239978, 0.0125208264, 0.0057797758, 0.0102643156, -0.0149754221, -0.0308878534, 0.0340653621, 0.0067330105, 0.0202084538, -0.0064269165, 0.0071159005, 0.0506186485, 0.0546736494, -0.003779379, 0.0266828202, -0.0377072804, 0.0583096594, 0.0533874333, -0.014878911, 0.0235737506, 0.0153859612, -0.0100217173, -0.0125212483, -0.0030800025, 0.0384792238, 0.0002210525, -0.070059754, 0.0198940914, 0.0102929631, 0.0013496217, 0.0688648149, 0.0066917641, -0.0332357138, 0.0318425521, -0.0250832271, -0.0221538413, 0.0025321995, 0.0448349863, -0.0246476438, -0.0683557391, -0.0197016746, -0.0328938924, 0.0087205805, 0.0671788901, 0.0389734544, -0.0090710083, -0.0074808393, -0.0217716601, 0.035476055, 0.0040539037, 0.0141860051, -0.0249320827, 0.031498298, -0.031821426, -0.0269208774, 0.0242229849, -5.28073021e-33, 0.0320798978, -0.0309829582, -0.0073585049, 0.0066192211, -0.0013260874, 0.0258008186, 0.0067332, -0.0241796169, -0.0043790289, -0.0064616166, -0.036675185, -0.0178306308, 0.0439687148, -0.0111647453, 0.0384435654, -0.0022560088, 0.009958813, -0.0155404918, -0.0494291484, -0.0165634565, 0.0606179647, 0.029041009, 0.0632887036, -0.0528378189, 0.0462848321, -0.0734266043, -0.0249037873, -0.0159204751, 0.019949371, 0.0361271389, 0.011856135, 0.0098136952, 0.0230773482, -0.0078023002, 0.0453342386, -0.0081877047, -0.055065833, 0.0556444339, -0.018030785, 0.108645156, 0.0172698945, 0.0035969715, -0.0442265533, 0.0000706608, -0.0566642284, 0.0197561067, 0.0081937555, -0.0328935869, -0.038187623, 0.0004156352, -0.0599079318, 0.0455255099, 0.0069252681, -0.0060703815, 0.0798587427, 0.0301994402, 0.0047390894, -0.0140573783, -0.01503227, -0.000258502, 0.0144365449, 0.0029064449, 0.0493799709, 0.0267334096, -0.0519808009, -0.0389211774, -0.032194443, 0.002875509, 0.0306279212, 0.0011755328, 0.022429293, -0.0683239102, 0.0094312113, 0.0729665235, 0.0631536394, -0.0076335398, -0.0121817105, 0.0342528261, -0.0485630371, 0.0344360322, 0.0056942878, -0.0016548786, -0.0416208357, 0.009515129, 0.0346774682, -0.0290027298, 0.0030302897, 0.0422318727, -0.0099576889, 0.0212911405, 0.0144854235, 0.0236068666, -0.025466565, 0.0013025736, 0.0441129878, -0.0399037972, -0.0195867904, 0.0524388179, -0.0502374917, -0.0221948214, -0.0551473647, -0.0433092713, -0.0039918302, 0.0153168477, -0.0046461457, 0.0137930093, 0.029040046, 0.0291675031, -0.054470256, 0.0183091443, 0.0125935357, 0.02468119, 0.0642996132, 0.0796485767, 0.00810357, -0.0543255061, 0.0559137613, 0.0089086471, 0.0673955977, 0.0102435872, 0.0032815128, -0.0145087298, -0.0036417278, -0.0378037803, -0.0102545628, 0.0281972494, -0.0125400824, -0.0000250807, -0.055035498, -0.0028107967, 0.0045761075, 0.0248234719, 2.713e-7, 0.0606733933, 0.0313778445, 0.0572008826, -0.0191157274, 0.0180294942, -0.0021698785, -0.0097546428, 0.0478638299, -0.006301254, 0.0207001474, 0.0562185682, -0.0337896347, 0.0859770253, -0.0200501829, -0.023861507, -0.0326932482, 0.0139785269, 0.0312585868, -0.0502913669, 0.037558455, 0.0129586272, 0.0159321725, -0.0683210567, -0.0318012089, -0.013568908, 0.003881233, 0.0244203694, 0.021075014, 0.025389649, 0.0042101247, 0.0533522964, -0.0308349058, -0.0326023847, 0.0576233789, 0.0073720706, 0.0070850574, 0.0553630851, 0.0153526375, -0.0152062215, 0.0613462739, 0.0200207252, -0.0210306663, -0.0008279037, -0.0911852717, 0.040611621, 0.1056609824, 0.022687668, -0.0417879894, -0.0280416943, -0.0124489889, 0.0371516794, -0.0121524679, 0.0054188096, 0.0267045684, 0.0537974425, -0.0087354472, 0.0130584845, 0.0023002035, 0.0121208513, -0.0374728553, 0.0574634708, 0.0016502385, -0.0146055501, -0.0275348425, 0.0509671532, -0.0119728902, 0.0056119855, 2.43419786e-34, 0.0111982077, -0.0096893348, -0.0100137936, 0.0286273565, -0.0044210809, -0.0216082744, -0.0112597151, 0.0119292326, -0.0424028262, 0.0057953917, 0.027737854 ]
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.034479782, 0.058623895, -0.0101183932, 0.0353434049, -0.0415390283, 0.0097253071, 0.00225428, -0.0072226617, 0.0072254525, -0.0584133491, 0.0678032637, -0.05863427, 0.0537057966, 0.0021103227, 0.0030065838, -0.0144491084, 0.0589109473, 0.0303497352, 0.0578940846, -0.0171078295, -0.0057824152, 0.0240673963, -0.0176702291, 0.0217974894, -0.0312767476, -0.0234182607, 0.0051780608, 0.0047118803, 0.0461305119, 0.008630516, -0.0077203824, 0.0386911258, -0.0240241252, 0.0719416887, 0.0000017646, -0.0689631253, 0.0048709153, 0.0190102644, -0.0628918856, 0.0313944481, 0.0579654835, 0.0423528999, -0.0275631174, 0.0029153202, -0.0086554587, -0.0273846295, 0.0006484581, 0.0604519993, 0.0638905317, 0.0865570009, 0.0208818763, -0.0354538262, 0.0519554988, -0.0159143731, 0.0058866683, 0.0082811769, 0.0294031873, 0.0046074539, -0.0400400646, 0.0235064067, 0.0335536972, 0.0280780457, -0.0033595087, -0.0275259987, 0.0327401906, 0.0253711715, -0.0235145129, -0.0101460107, 0.03410298, 0.0123065049, 0.0575891919, -0.009255195, 0.0421249568, 0.0059549315, 0.0321520641, 0.0277506374, -0.0186055899, 0.061620649, -0.0426621325, -0.0168348812, 0.0154186552, -0.0320935138, 0.0244005043, 0.0148687847, 0.0154998256, 0.0236666519, 0.0105631799, -0.0283887628, -0.0092568062, -0.0129213259, 0.0271975026, -0.0766030252, -0.0039028253, 0.0214033071, -0.0119424621, 0.0198383462, -0.039570462, -0.0034572934, 0.0645691454, -0.0825505257, 0.0029468478, -0.0041433466, -0.0186677855, 0.0503171682, -0.0142727224, 0.0288500842, -0.0087501099, -0.0393792056, 0.001435327, 0.0018224106, -0.0213830397, -0.0127880303, 0.0271513686, 0.0423222929, -0.0116886282, 0.0083817476, -0.0533981845, -0.0259540863, -0.0277367923, 0.0152689787, -0.0133764213, 0.0097974082, -0.0037781089, 0.0003765499, -0.0858664066, 0.0453187414, -0.0163716376, 0.0233324785, 0.0052395929, -0.0435687527, -0.0048477687, 0.0090222582, -0.0044384315, 0.0097878939, -0.0096494239, -0.0072954907, -0.0028723029, -0.0104204314, -0.0611234419, -0.0480802916, -0.032779716, -0.0795991346, -0.0085669989, -0.077075161, 0.0320041217, -0.0177479926, -0.0149252238, -0.0553939305, 0.0148842689, 0.0424114689, -0.0541918278, 0.0035756328, 0.0128267445, 0.0105684083, 0.0604643896, 0.0087447818, 0.0129943043, 0.0533807017, 0.0465989709, 0.0148903932, 0.0414408408, 0.0696853474, -0.0012852019, -0.0063301465, 0.018389944, 0.0340382271, 0.0634425059, -0.015076017, -0.0166238789, 0.0147876227, 0.0258580688, 0.066628933, -0.0052318401, -0.0269226525, 0.0780059695, -0.0109506752, -0.0046129329, 0.0052723428, 0.0478959158, 0.007702006, 0.0581373982, 0.0332917497, -0.0291657094, -0.0057774363, -0.0278363843, -0.0042333519, 0.0418460555, 0.0867574587, 0.010049561, -0.039417401, -0.0106096258, -0.0054368745, -0.0053563197, -0.0080929687, 0.0015957081, 0.0145821488, -0.0406417102, 0.0829128474, 0.0302315895, -0.0868685693, 0.0082825096, -0.0237942562, 0.0356531031, 0.0265733041, 0.042051591, 0.0128581738, -0.0302302148, -0.0202258453, 0.0073998496, 0.0469459556, 0.044688452, -0.0104612391, -0.0122183627, -0.0056062969, -0.0110960305, -0.008586037, 0.0533414222, -0.0068139089, 0.0467518829, -0.0126462504, 0.0402355641, -0.0224020276, -0.0123461634, 0.0289989021, -0.0361958742, 0.0353208706, -0.0153836804, -0.0071013351, 0.0152557613, 0.0413037166, -0.0005251558, -0.0079643792, 0.023139935, 0.0056500109, -0.052552022, -0.012214507, 0.004391484, -0.0068318164, 0.0373331234, -0.0215362739, -0.0370343886, -0.0198689681, -0.0097133545, -0.0109234788, -0.0090847416, -0.0634074807, 0.0137743559, -0.020876009, 0.0319036506, -0.0147311166, -0.0214584451, -0.0088973818, 0.1378261894, -0.0180753525, 0.0149900969, -0.0157877803, -0.01823695, 0.0178193338, -0.063918218, -0.0189841837, -0.0185856596, 0.0047832499, -0.0022296268, 0.0288587436, -0.0399119258, -0.0566130877, -0.021775974, -0.0771474466, 0.0640055835, -0.0182673763, 0.0268638674, -0.0022957786, -0.0272259209, -0.004088304, 0.0294350628, -0.0165300388, -0.0543143116, -0.0189182851, 0.0175362471, 0.0365736149, 0.0082124472, -0.0108128013, -0.0129541205, 0.0116412193, -0.0326366015, 0.0354460068, 0.029696906, -0.0035024416, -0.0341546461, 0.047829017, -0.0824988186, -0.008746692, -0.0217455104, -0.0038613335, 0.0094473902, 0.0413862281, 0.0770138353, 0.0707293749, 0.0374919996, 0.0173957851, 0.0010415919, -0.000664999, -0.0020230301, -0.0088402191, -0.0269406252, 0.0062829005, 0.007728335, -0.0632605776, 0.0020711105, -0.0065249419, 0.0107302172, -0.0202591512, -0.0421330109, 0.0299503375, -0.0437952839, 0.0042699664, 0.0262369215, -0.0317986757, -0.0203040168, 0.0147958016, -0.029890649, -0.0169626791, 0.044916708, -0.0395847186, 0.0545171052, 0.0030786465, 0.0000228872, -0.0205530021, 0.0433923565, 0.0071765203, 0.0032720368, 0.0240856614, -0.0086981775, -0.0371287838, 0.0263106022, 0.0438434891, -0.0621144846, 0.0583814122, -0.0372022912, 0.0104221487, 0.0122830691, -0.0236757658, -0.0447022766, -0.0507992581, 0.0158849154, -0.0099348444, -0.0189986322, -0.0380623564, -0.0760370046, -0.0606828295, 0.0674426705, -0.0137454709, -0.022238275, -0.0014214008, -0.0055337506, 0.0114925234, 0.0252972115, 0.0051401812, 0.0649957433, -0.037613593, -0.0203030538, 0.0639621913, -0.0025662766, 0.0132636484, 0.0166640505, -0.0669730976, -0.0347544663, -0.0281235129, -0.0497178398, 0.0135454983, 0.04973929, -0.0699030012, 0.0081236092, 0.090044044, 0.0264134016, 0.0456943847, -0.0326986201, -0.0026798756, 0.0014531588, 0.0103314156, -0.0275352746, -0.0855287164, 0.0186780151, 0.004310641, -0.001264077, -0.052766636, -0.0328865312, -0.0159967467, -0.1311923265, 0.0345831849, 0.0010123722, 0.0222827718, -0.0163322762, -0.0692556351, 0.016634034, -0.0097866394, -0.0039235181, 0.0273249391, -0.0102241831, -0.0061430563, -0.0114127835, -0.0169961583, -0.0289736781, 0.0039993259, -0.0260961112, 0.036161948, 0.0005804285, 0.0694651902, 0.0020111606, -0.0391351879, -0.0065157181, -0.0393219925, -0.0554097928, 0.0124544203, 0.062557295, 0.0080162669, 0.0197129156, -0.0565253459, 0.0103909504, 0.0675813258, -0.0281046219, -0.0285029821, 0.0268696956, -0.0032705101, -0.0146682123, -0.0157555137, 0.0236271489, 0.0083406046, 0.1001225486, 0.0088688061, 0.0269922018, -0.0102153253, -0.0424365699, 0.0182632059, -0.0199001543, -0.0286531895, 0.0586654618, -0.0472431108, -0.0415196829, -0.0792096853, -0.0416412726, -0.0369673073, 0.0025533328, 0.008202753, 0.0099695288, 0.0622171648, -0.0102451174, -0.0378893837, 0.0188668501, -0.0516436994, 0.0143481102, -0.0100125372, 0.0018714005, 0.0185846128, 0.0161323883, -0.0058339615, 0.0032071273, -0.065887779, -0.0490764678, 0.0400357768, -0.0188501794, 0.0248761326, 0.0277085677, -0.0213133506, -0.0375254527, 0.0742786676, 0.0703174472, -0.0205941219, 0.0497591794, -0.0060857753, -0.0057542017, 0.0037976836, 0.0080489898, -0.0346708857, -0.0002404273, -0.026954934, 0.002877109, -0.0326035023, -0.0445403419, 0.0036754939, 0.0324338153, 0.0202374533, -0.0136494413, -0.00491211, -0.0225307923, -0.0169098396, -0.0514809787, -0.0319683217, 0.0185677987, -0.0096775396, -0.0081309639, 0.0271476917, 0.0016343525, 0.0328155905, -0.0299640112, 0.0692065656, -0.0363228507, -0.0286992956, -0.013286151, 0.0070295502, 0.00029072, -0.038897451, -0.0336598158, 0.0001821877, -0.0328251906, 0.0504228584, 0.0067425827, 0.0282215215, 0.0083157727, 0.0110460026, 0.0095511312, -0.0312218498, -0.0758739859, 0.0062863925, -0.0073568132, 0.0226104036, 0.0279520303, 0.019221684, 0.0787148327, 0.0009500851, -0.0194538999, -0.0121112764, -0.0037745782, 0.0078902012, -0.0441829674, 0.0206462871, 0.0087631447, -0.0287484676, 0.04974024, 0.0362606794, -0.0093742767, 0.0547569692, -0.011852717, -0.0295546073, -0.0198392607, -0.0861419439, -0.049437236, -0.000782591, 0.0054471907, -0.0449697711, -0.1190317497, -0.0292270519, 0.057255812, 0.0441845693, 0.0333193801, -0.009048285, 0.0005701489, 0.0484497026, -0.0090517169, -0.0599933676, -0.0660519302, 0.0274749883, -0.0088048, 0.012461138, 0.007401824, -6.429773367e-33, -0.0405412838, -0.0648902655, -0.0068733259, 0.0012870852, -0.0630340502, 0.0315863937, -0.0172384512, -0.0047206054, -0.0466719195, 0.0488020703, 0.0100190956, 0.0498152003, 0.0166245587, -0.0029966165, -0.0232499223, -0.01267506, 0.0600764528, 0.0203996804, -0.048484806, 0.0350301117, 0.0573766679, -0.0266688783, 0.0073871319, -0.067572929, 0.0874582678, -0.0314578302, -0.0275939237, 0.0134122483, -0.0212147906, 0.0536960401, 0.014225062, 0.0250045191, 0.0160424244, -0.0406293869, 0.015139373, 0.0246260483, -0.0709402263, -0.0025602158, 0.0662192851, -0.0224770829, 0.0117208986, -0.0362255387, 0.0517152101, 0.022704903, -0.0151576363, -0.0472888537, 0.0583360605, -0.0234241448, 0.0062961164, -0.0490147844, -0.0404827558, 0.0300505813, 0.024271097, 0.0028863417, -0.0630489364, -0.0026487412, 0.0287584737, 0.0128828855, -0.0899726599, 0.0124496045, -0.0218196344, 0.0225730296, 0.0089282375, -0.0420414358, -0.0082824724, 0.0772266537, -0.0259253923, 0.0428498685, -0.0900997818, -0.0072069275, 0.0102626262, 0.0237999763, 0.0423104391, 0.1141101718, -0.002066951, -0.0073926328, -0.0886763185, 0.0247820467, 0.036329072, 0.0309147537, -0.0019316286, -0.0239775311, -0.038135726, -0.0107534695, -0.0353040993, 0.0138133597, -0.0209723376, 0.0027059077, -0.0131914923, 0.0121776862, -0.0295697898, -0.0137252975, -0.0043478091, -0.0142257111, 0.0052976282, 0.0330069661, -0.0340153761, 0.0092694648, -0.0111491196, 0.0120277461, -0.0286994427, 0.0129714925, 0.0308824554, 0.022675259, 0.0309481658, 0.0007178251, 0.052648399, -0.0242486093, -0.0647551641, 0.0100248968, -0.0090086441, 0.0143924532, -0.0243381895, -0.0526629798, 0.0481286682, 0.0352527425, -0.0021655152, 0.0071508121, 0.0586501509, 0.0622870177, -0.0514298081, -0.0057054255, -0.0050859982, 0.003994497, -0.0107260533, 0.0188211538, -0.0274562296, 0.0507915467, -0.0053592273, -0.056661889, -0.012098317, -0.0122020645, 2.541e-7, 0.015587192, 0.0588772148, -0.005102485, 0.0315421522, 0.0050720372, 0.0509314314, 0.0128624365, 0.0007868183, 0.0137858568, -0.0541384444, -0.0457052328, 0.020008022, 0.0352981426, 0.0489554033, -0.0746714324, -0.0012693543, -0.0583394505, -0.0496527888, -0.0634989291, 0.00523671, 0.0612251423, 0.0240449365, 0.065857254, -0.0139026847, -0.0188147333, -0.0220720544, 0.0659009218, 0.0386861488, -0.0948825628, 0.0314427838, 0.0748487115, -0.0049114251, 0.0054402389, 0.015450133, -0.0182872042, 0.0218889378, -0.0044845082, 0.0632501021, 0.0315913819, -0.003067865, -0.0064664925, -0.0278558154, -0.0156518817, -0.0260936785, 0.0532554835, 0.0202462468, -0.0246040095, -0.0572616123, -0.0598259494, 0.03956585, 0.0138585148, 0.0211551096, -0.0418169908, 0.018903574, -0.0293351039, -0.0000715731, 0.0023350189, -0.0387353562, -0.0319776088, 0.0352199152, -0.0369231477, -0.0829174817, 0.0254984628, -0.0192298703, 0.0120989326, -0.0809969828, 0.0318770744, 2.288038913e-34, 0.018328581, -0.0070708385, 0.0166585278, -0.0556203946, 0.051355511, 0.022658173, -0.0048152311, -0.0062994198, -0.0026634398, -0.0271359216, 0.0233454313 ]
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.0861809924, 0.0607064925, -0.0248574968, 0.049405206, -0.0097571099, 0.0423520766, 0.0158057269, 0.0356029831, 0.0415478982, -0.0835898519, 0.0021192573, -0.0187917538, -0.0279536881, 0.0321074277, -0.0122141587, -0.0600322522, 0.0400000811, 0.0460115522, 0.0194024909, -0.0139344223, 0.0590974353, 0.0046749944, 0.0067138509, 0.0331267416, -0.0727928728, 0.0280241985, 0.0331911072, 0.0037904568, 0.0170809627, 0.0159643665, 0.0364146456, 0.0305406507, -0.0194031298, 0.0516695715, 0.000001854, -0.032186538, 0.0036165281, -0.0055734133, 0.0123601649, -0.0546646342, 0.1505548805, -0.0157999434, -0.0379501618, 0.037414711, -0.0265511107, -0.0039430829, 0.0552276485, 0.0585643239, 0.0782233402, 0.0600371361, -0.0057551428, -0.0452998169, -0.0016961977, 0.0398975983, -0.013146488, 0.0455000363, 0.0681269467, -0.0393841267, -0.0773052052, -0.0040714014, -0.0149728777, 0.015815679, -0.0060726074, 0.0194542073, 0.0294285454, -0.0346166641, -0.0326216184, -0.0500044376, -0.0015419247, 0.0139924977, -0.0626999587, -0.0354704857, 0.010533561, 0.006987087, -0.0402019285, -0.0255401265, 0.0163100567, 0.0177606475, -0.0264509842, 0.0266840644, 0.0232908186, -0.0107768262, 0.0304295197, 0.0758190826, 0.0055490267, 0.0250397567, 0.001887794, -0.0407028124, 0.0211323742, -0.0134507352, -0.0181562621, -0.000279194, 0.0367115214, 0.0235680416, 0.0157690551, 0.0281890072, -0.0553022102, -0.0467648506, 0.0237820502, -0.1039744765, 0.0078102062, 0.0414019227, -0.026874641, -0.0018367402, -0.0018198162, 0.0231423322, 0.0053809923, 0.0186179634, -0.0019423655, -0.0049298601, 0.0151167987, 0.0189741775, -0.0150830001, 0.0154122291, -0.0418018103, 0.050318189, -0.0554599501, 0.0072299875, -0.0385695472, -0.0062649515, 0.0115599297, -0.004681963, 0.0009511926, 0.0249256101, -0.034129139, -0.0296213217, -0.025957698, -0.0000646944, -0.0754555985, -0.079858616, 0.0447992906, 0.026193006, -0.0365464129, -0.0083714686, 0.0563684665, 0.0822341517, 0.041525051, -0.0465926342, -0.0433999822, -0.0176854879, -0.0323522836, -0.0391252488, 0.0237629376, -0.0296878554, 0.0161754508, -0.0305332821, -0.0460523218, -0.0602588616, 0.0152207287, 0.0108110989, -0.0739389509, 0.0639328659, -0.0408941433, -0.0086228205, 0.0579224266, 0.0098317554, -0.0044217496, 0.0401393063, -0.0025287066, 0.0075187786, 0.0581818707, 0.0006902668, -0.0069533684, 0.0580954626, 0.0276402291, 0.0098044453, -0.0494801812, 0.003646984, -0.0402956046, -0.0352203362, 0.0029918775, 0.0877310708, 0.0000733265, -0.0640246421, 0.031026125, 0.0581395701, -0.0615435801, 0.02777794, 0.053971082, 0.0182256121, -0.0120089669, -0.005112662, -0.0559588447, -0.0507839471, -0.0428807959, -0.0519486144, 0.0147700077, 0.0673767254, -0.0049858959, -0.0589577034, -0.0357278027, -0.0175683834, 0.0461061709, -0.0338635743, 0.0484779105, 0.0181333236, -0.0187643375, -0.0305159576, 0.0654922649, -0.0340428762, 0.0222613979, -0.0614063293, 0.0307130385, 0.0887959227, 0.0287888832, -0.0058520129, -0.0039945752, -0.0720341429, -0.0407619439, 0.0329952165, -0.015310064, -0.0048861667, -0.0198293775, -0.0340892188, -0.0051945858, 0.0602314621, 0.0154645611, -0.0070901518, 0.0392873995, 0.01129888, 0.0024645226, 0.0848411694, -0.0337850638, 0.0387560241, 0.0373984091, -0.0155353565, -0.0429196395, 0.029853886, 0.0702101067, 0.022144625, -0.0187128577, -0.0563417375, 0.0252245869, -0.0148850475, -0.0427210629, -0.0091736196, -0.0121610751, 0.0113152973, 0.031517148, -0.0642700866, 0.0072568916, 0.064570412, 0.0159097258, 0.0367465019, 0.0272895768, -0.0384041667, -0.0000563354, -0.0375395268, -0.0009283616, -0.0629493222, 0.021001067, -0.0214844625, 0.0702501759, -0.0416023619, 0.0156251676, 0.0089121489, -0.0623509325, 0.0235579722, 0.0251172036, -0.0889007822, -0.0119374665, -0.0333661847, 0.0170012899, 0.0122782243, 0.026837565, 0.0015267645, 0.0062682759, -0.0501115657, -0.0084215757, -0.0075673843, -0.0068684919, 0.0096812891, -0.0116201853, -0.0264809951, 0.0204836149, 0.0007477307, -0.0433713906, 0.0655081347, 0.0200337395, 0.0104265148, -0.069934994, -0.0408316106, -0.0185096022, -0.0167547856, -0.0205140617, 0.0214076862, 0.0169945862, -0.0471733771, 0.0320231691, 0.0059706853, -0.0444535278, 0.0475171283, -0.0002253827, -0.0825422928, 0.0164482482, 0.0144205699, -0.0239473749, 0.0658915192, 0.05804573, 0.0779596418, 0.0169613715, -0.001404858, -0.0034668106, -0.0037050275, -0.02150058, 0.0131903412, -0.0160474237, -0.0480613299, 0.0060261372, 0.0731852651, 0.049339924, -0.0260500051, -0.0642036572, 0.0423237607, -0.075477466, -0.0376371592, -0.0081791123, -0.0984020308, -0.027626235, -0.0171572529, -0.0160641111, -0.052702345, 0.037457563, 0.0091124875, 0.0240755882, -0.049809318, -0.0032884835, 0.0116961179, 0.0258913431, 0.0248774122, 0.0697001219, -0.0252157804, -0.0162694585, 0.01912353, -0.0279709529, 0.017082544, -0.0374619663, -0.0207144972, -0.0012904606, -0.0135950446, -0.0043049259, -0.0406710245, -0.0753058866, -0.0373674035, -0.0516852848, -0.0589567646, 0.0503827259, 0.0142848175, 0.010371089, 0.0278819837, 0.0047200574, -0.0262158271, 0.0073331106, 0.0151409376, 0.0195240173, -0.0541947894, -0.0083136158, -0.0442641675, 0.0230633114, 0.0256875362, -0.0475594439, 0.0695476308, -0.0057979007, -0.0013359195, -0.0054643098, 0.0228463914, 0.0321990661, -0.0000638777, -0.0041437736, -0.0164366029, -0.0094540641, -0.0141947251, 0.0130668702, 0.089350462, 0.0194265507, -0.0000550917, 0.0031187185, -0.0094908671, -0.0151978917, 0.0128721604, -0.0280928593, -0.0863656774, 0.0172141325, 0.0050154058, 0.0030313067, -0.106881313, -0.0367040336, 0.0391377062, -0.0458958782, 0.009486381, -0.0002938738, -0.0510887317, -0.0305374339, 0.0017019402, 0.0126669444, -0.0025879676, 0.0121371802, -0.0198206715, 0.0063653179, 0.0011570014, 0.0274200831, -0.0323290452, -0.0019115076, 0.0012286135, -0.0354086235, 0.0334431343, 0.0445226915, 0.0628791079, -0.0450094491, -0.047470618, 0.0121457214, -0.005267058, -0.0124388412, -0.0724951997, 0.0478877202, -0.0196888112, -0.0398126841, -0.0442927964, 0.0198604241, -0.0088630384, 0.0222377162, -0.0100109912, 0.037107192, 0.0377338938, 0.0181353856, -0.061975088, 0.0387871377, -0.0137558319, 0.0725738257, 0.0169342589, -0.050273288, -0.0011619629, -0.0446234345, -0.0082349833, -0.0179702081, -0.0810347721, 0.0042370167, -0.0236210022, -0.0445492305, -0.0573307574, -0.0100553446, 0.0392140448, 0.0095713828, 0.0447587296, -0.0287098158, 0.0020701543, 0.0104624135, -0.0446565449, -0.0367090292, 0.0076613505, 0.0220524594, -0.0334774368, -0.0061617177, -0.0007744836, -0.0050815283, -0.031934835, 0.020123817, -0.0070467456, -0.0475386381, 0.1168396398, 0.0708134919, 0.0230272692, -0.0157242026, -0.0114833554, -0.0533371344, 0.0081334515, 0.0490610227, -0.0441456847, -0.0097625181, 0.0488009304, 0.0077324584, 0.0123479469, 0.000505418, 0.0091017988, 0.0371509679, 0.0327442549, -0.0548925921, -0.0451440215, -0.032514669, -0.0145706739, 0.0230049938, 0.0362187028, -0.0086510396, -0.0723538324, -0.0260395724, -0.014687757, 0.001576922, -0.0197661892, 0.0015300985, 0.0375323333, -0.0171558559, 0.0353054628, -0.0596260056, -0.0351017118, -0.0680268183, 0.033232145, -0.0086141238, 0.0169285666, 0.0419527479, 0.0273588244, 0.0153141189, 0.0196046326, -0.0262326617, 0.013855679, 0.0269138478, -0.0361307375, -0.0028433795, 0.0139346328, 0.0107165929, -0.0071158041, 0.0146682374, -0.0021996221, 0.0125547936, 0.014352941, -0.0616010316, -0.0173852853, -0.006339442, -0.0003553146, 0.0043634819, -0.004389612, -0.018663425, -0.0077100722, 0.0070472546, -0.0070176371, -0.046196606, 0.0359884351, 0.0060586715, -0.0391765274, -0.0269171204, 0.0145287896, 0.0113929845, 0.0534293167, 0.0701405481, -0.0440310501, -0.0337428823, 0.0018876946, 0.0496304333, -0.0043378728, -0.0179523248, 0.0454585217, -0.0582820363, -0.0406874754, 0.0068155066, -0.0202819332, 0.0413886681, -0.0095249517, 0.0221929718, 0.0615633428, 0.0164524559, 0.0073302058, -0.0245396588, 0.0343687795, 0.0098457541, -0.0513896756, 0.0168631747, -5.648704023e-33, -0.0326030441, -0.0286176857, -0.0215785448, 0.0291065108, -0.0260210913, -0.053779088, 0.0545960292, 0.0139277205, -0.0205594972, 0.0167329852, 0.0042371466, 0.0015216969, 0.0119594419, -0.0091635156, 0.000103492, -0.0242572799, 0.047236532, -0.0240058657, 0.0005927641, -0.0047500548, 0.0513298735, 0.025169652, 0.0437295847, -0.0488831736, 0.0335327275, -0.0142633645, -0.0471386425, 0.0443210267, -0.0049266177, 0.0678709224, -0.0238018166, 0.0605132468, 0.0278363358, 0.0298938397, 0.0121673224, 0.0445816852, -0.051130902, 0.0078274347, 0.037280567, 0.0472495705, 0.017816361, -0.020342065, 0.0662246123, 0.0076917619, -0.0792520866, 0.0014476153, 0.0317979939, -0.0471541211, 0.0035733688, -0.0516349375, -0.0747841671, 0.0166415442, -0.0155129982, 0.002848912, -0.0067558638, -0.0046943068, 0.0261887386, 0.0039662262, -0.0385368951, 0.0082515562, 0.0273191612, -0.021585051, -0.0165893286, 0.0013554088, 0.025828572, 0.0670138672, 0.0361301638, -0.0136599494, -0.0007108783, 0.0323910043, 0.0573435836, 0.0173111632, 0.035725154, 0.0577938333, 0.0168777462, -0.0718239471, -0.0477435105, -0.007854457, 0.0366015472, 0.0477700196, 0.0194477662, -0.0363635421, -0.0744099766, -0.0225996375, -0.0001538148, -0.0623145849, -0.0139645096, -0.0307817142, 0.0165900756, -0.0170050487, -0.0325076915, 0.0105082365, -0.00335503, -0.039127253, 0.0247949138, 0.0208191555, -0.0046056588, -0.0115601197, 0.0213141199, 0.0361563899, -0.0270988625, -0.0187730026, -0.0136903152, -0.0459422618, 0.0268598236, -0.0094802957, 0.0511833243, 0.0432410799, -0.0782596618, 0.0215756912, 0.0025933129, 0.0759983882, 0.0078371288, 0.0814281702, 0.0036329993, 0.0337633379, -0.0117785204, -0.0267342459, 0.0245026518, -0.0133231999, -0.0402471721, 0.0277979951, -0.018247813, -0.0007000907, -0.0080981674, -0.0083953543, 0.0007391879, 0.0224099979, 0.0285384916, -0.0960028172, 0.006021901, -0.0371805243, 2.536e-7, 0.0200572424, 0.0427230597, 0.0074068815, -0.007902056, 0.0172926225, 0.0356105268, 0.0212774295, 0.0237388257, 0.0064991168, 0.0307226963, -0.0200300869, 0.0153955286, 0.0068083163, 0.0340413228, -0.0296673197, -0.0167495552, -0.0512758307, -0.0251825079, -0.0207209028, 0.0163705219, 0.0086968392, 0.0838674307, 0.0523518063, -0.0486195385, -0.02523393, -0.0103469742, -0.0071135424, -0.0422530621, -0.008900417, -0.0036719865, 0.0521324426, 0.0196613371, 0.0182329454, 0.0062713251, 0.0094518941, 0.0016959547, 0.027885424, 0.0509904847, 0.0072267489, 0.0247363448, 0.0149127645, -0.034558244, -0.0236813091, -0.0392291062, 0.0510790423, 0.0523197465, 0.0167723633, -0.0432026424, -0.0309397429, -0.0196575951, 0.0245255586, -0.0512746312, -0.0087321252, 0.000921584, 0.0329467058, -0.0186400693, 0.01603771, -0.0529548749, 0.0234535392, -0.0295807049, -0.0032672109, -0.0467274487, 0.0109821474, 0.0133684333, 0.0224800259, 0.0332856216, 0.0186538678, 2.224209799e-34, 0.023575997, -0.0257437471, -0.0114365453, -0.0003227547, 0.0344237611, 0.0343588479, -0.0044119912, 0.0004633157, 0.0115698064, -0.0150344623, -0.0042148624 ]
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.0343924388, 0.0390355438, -0.0175999552, -0.0229630321, -0.012636032, -0.0146641973, 0.0180677772, -0.0196400862, 0.0123910438, -0.0346304178, 0.015079191, -0.0297566075, 0.0005827313, 0.0155676557, 0.0169274546, 0.008277907, -0.0088032316, 0.0457541011, -0.0156992152, 0.0334699117, -0.0228226054, 0.0665186942, -0.0160539243, 0.0799804181, -0.0122455778, -0.0342671387, 0.0301892757, -0.037800137, 0.0392223969, 0.0035126889, 0.0311098881, -0.0097335782, 0.0245187413, -0.0014375371, 0.0000018486, 0.0074867597, -0.0051283552, -0.0153209008, -0.0415141396, -0.0634350777, 0.0381812267, -0.0305123627, 0.0191779677, 0.0481287576, -0.0442390256, -0.0441730879, 0.0537836887, -0.0023355489, 0.0249763317, 0.0252808779, 0.0161344483, -0.0239976197, 0.0031601186, -0.0355748273, -0.0011034007, -0.0335836485, 0.0475839488, -0.0842911005, -0.0130760819, -0.0230303705, 0.0211942717, 0.0004276066, 0.0075123082, -0.0589668453, -0.0201613959, -0.0039585955, -0.0193280205, 0.0129100988, 0.0122630876, 0.0473018661, -0.0353018306, -0.0135330809, -0.0405035019, -0.0472029783, 0.0192179941, 0.0335133299, 0.0044169491, 0.0256103463, -0.0157888327, 0.0001531368, -0.0113258138, 0.030526001, 0.0071649151, -0.0079442598, 0.0086569106, 0.0896710008, -0.03786394, -0.0408874527, 0.0606182404, -0.0088757668, 0.058430098, -0.0253525749, 0.0416928865, -0.022503987, -0.0044323131, 0.0129692266, -0.0006616139, 0.000897589, -0.0028355592, -0.047164198, -0.0141510712, -0.0143156741, -0.0344200656, 0.0349666439, 0.0105290478, -0.011528179, 0.0139400596, -0.0160367824, -0.009328478, -0.0337186418, -0.096446164, -0.0381592624, -0.0029016021, -0.0130711431, -0.000322719, 0.0515180267, -0.0571809858, -0.0174483042, -0.0697033256, -0.0027715378, 0.0268996228, 0.0590340868, -0.0214065816, 0.072202757, -0.0761590451, 0.0082129091, 0.0335997045, 0.0095905177, -0.0063470034, -0.0301315654, 0.0453942679, 0.0194680169, 0.0551287755, -0.0467571318, 0.0386847183, 0.0118002016, 0.0378329568, 0.0086947065, -0.0249809269, -0.0279058702, 0.0132551752, -0.0239485316, -0.0123810973, -0.0269228853, 0.06746912, -0.0674934536, -0.0334041826, -0.0744768083, 0.0218308158, 0.0463564955, -0.0347341225, 0.042457182, -0.0237645395, 0.0016612153, 0.0472191609, -0.0472565442, -0.0011402027, 0.0201291721, 0.0188730434, 0.0556377657, 0.0295724832, -0.0574595332, 0.0650055259, 0.0468130969, -0.020702038, -0.0802158937, 0.0058359923, 0.026109213, -0.0085574873, 0.0173880942, 0.0401896164, -0.0595241524, -0.0074164569, 0.0167125985, 0.0126049053, 0.0761417747, 0.0451962762, 0.0023295134, 0.094171904, 0.0533225276, 0.019650545, -0.0419991426, -0.0196543653, 0.0033503028, 0.0385573134, -0.020440666, -0.0576511584, 0.0098840836, -0.0478633232, -0.0111046974, 0.0096667856, -0.0127358595, -0.0113284905, 0.0369735733, 0.0386245549, -0.0007110459, -0.0195351373, 0.0388444848, 0.033338137, 0.014941765, 0.0220385417, -0.0091761686, -0.0607044883, 0.0666355267, 0.0122313248, -0.0378577411, -0.0149843721, -0.0455448404, -0.0078931563, 0.0278944541, 0.03141886, -0.0290747471, 0.032183703, -0.0292369295, -0.0076368181, -0.0275816116, -0.0046963757, 0.0119932592, -0.0209854729, 0.019653488, 0.0193410013, 0.029152764, -0.0481534451, 0.0374558829, 0.0095475148, -0.0527764671, 0.0436223634, 0.0414300375, -0.0115211513, 0.0351598784, 0.0034941768, -0.0072015296, 0.0049563055, -0.0029781701, -0.0032674023, 0.0141236186, -0.0145958802, 0.0016303699, -0.0061860532, -0.0339237563, -0.0558516048, 0.0416649692, -0.0613951124, 0.0153331403, -0.006239864, 0.0217540469, -0.0201402456, -0.005232601, -0.0134351989, -0.0140556535, 0.023301376, -0.0020708519, 0.0714524835, 0.0591465272, 0.024891356, -0.0202619229, -0.0278629679, 0.0034947307, -0.1080275998, -0.0080954423, -0.0321622416, -0.0337331705, 0.049782142, 0.0221449398, 0.0397706702, -0.027915515, 0.0191794112, -0.0382442176, 0.0605923906, 0.0157001782, 0.0176609792, 0.0120530045, -0.0366604961, 0.0032089406, -0.0186169669, -0.0524731651, -0.0228357539, 0.0134381521, -0.0171667375, 0.054621283, -0.0099398047, 0.0009065882, -0.0066690627, -0.0352366865, -0.0317791291, 0.0350646339, 0.0217013732, 0.0297831502, -0.0291109085, 0.0082880119, -0.0307860114, 0.0442805849, 0.0211398508, -0.0169389285, -0.0263997577, 0.0083597647, -0.0687421113, 0.0534179285, -0.0248605888, 0.0395497605, 0.0205652751, 0.0288528949, 0.0171347875, 0.0367233902, -0.0465084836, 0.0278815497, -0.0117210066, -0.0204714816, -0.0129944282, 0.0291059148, 0.0303264912, -0.0131317722, -0.0085954908, 0.028650729, 0.0112606315, -0.0130029758, -0.0433038957, 0.054804787, 0.0018111479, 0.0082207192, -0.0305900052, -0.0135793081, 0.0141318683, 0.0009441032, 0.0224568322, -0.0253804233, -0.094287388, -0.0381909832, 0.0418273844, -0.0129527822, -0.0026098089, -0.0255970955, -0.0491190106, -0.0249438658, 0.0013516172, -0.023584025, -0.0228495076, -0.0431777164, 0.001211515, -0.0168388709, 0.00344106, -0.0187919717, -0.0494194031, -0.010768814, -0.0069831903, 0.043314822, 0.0529820547, 0.0025940246, -0.0428028926, -0.0201343242, -0.025620902, 0.0427936576, 0.0063120918, -0.0041875774, -0.0265279021, 0.0324630439, 0.0672713742, 0.0729890317, -0.032539513, 0.0200606603, -0.0420739874, 0.0082108006, -0.0210907869, 0.0382110737, -0.0252203718, -0.0104545457, 0.0133321844, -0.0903066322, 0.0269079208, 0.0044285352, -0.0277442522, -0.0816875845, 0.0133661851, 0.0710427016, -0.00410973, -0.0284715071, 0.0220571868, 0.0557470806, -0.1007167846, 0.0361012742, 0.0541060157, -0.0592242852, -0.0088905878, -0.0170712806, 0.0345397778, -0.0063476316, -0.0370202623, -0.0040941248, -0.1086939648, 0.0633905604, -0.0670528039, -0.021163566, -0.0582704432, -0.0559582077, -0.0092646088, -0.0520600043, 0.0107502975, -0.0689868927, -0.0146207353, -0.0232748985, 0.0639849678, -0.0294771176, -0.0771157816, 0.0686353222, -0.0486474223, 0.0381926447, 0.0240736417, 0.0553847589, -0.0296163801, -0.0059657437, -0.016330272, -0.0028056444, -0.0104096811, 0.0257375445, 0.0646065697, -0.0437017009, -0.0359955095, 0.0216542408, -0.0055956542, -0.0541506745, 0.0413273275, 0.0312806144, 0.0635581836, -0.018589044, -0.0099372854, -0.0031446523, -0.0081512751, 0.0171383657, 0.0881374329, -0.0306716822, -0.0762509033, -0.0176437553, -0.0329041705, 0.0013390452, -0.0471812859, -0.0589185469, 0.0416602232, -0.020117756, 0.010224768, 0.0077120708, -0.0735268444, 0.0628887489, -0.0237985868, -0.0017124881, 0.0073426692, 0.0161584597, -0.0034105023, -0.0799944773, 0.0421109311, -0.0013943189, 0.0443518572, -0.0142405126, -0.0205417182, -0.0172027033, -0.0427357927, -0.0615417175, -0.0135051077, -0.0757978261, 0.0231957529, -0.0378770828, -0.0197581463, 0.0044954624, 0.0253690258, -0.0069792881, -0.0666210055, 0.0221616123, 0.0694989711, -0.0301340874, -0.0468435846, 0.0096037267, -0.0091230813, -0.0286720712, 0.0051999567, -0.0444589481, 0.000005458, 0.0238844678, -0.0393060073, 0.0165225752, 0.0155528244, -0.0061093443, -0.016685389, 0.0069451099, 0.0474161841, -0.0419235267, -0.0996676758, -0.0127128819, 0.0328442454, -0.0249795672, -0.0390014574, -0.0186540317, 0.0682971552, 0.0023236894, 0.0292833243, 0.0273184758, 0.0470107459, 0.0239531193, -0.0518481024, 0.0589182861, 0.0023857604, 0.0613082387, -0.0570438914, 0.0104233371, -0.0246959683, -0.0069003832, -0.0043252637, 0.0477438718, 0.0250619631, -0.0462001897, -0.0040595098, 0.0299598351, 0.0019055037, 0.0338691734, -0.0165974796, -0.0409784541, -0.0196200367, 0.028763514, 0.0699702874, -0.0937419981, -0.0028732414, 0.016330272, -0.0120518366, 0.0018185558, 0.0017290522, 0.0297519937, 0.0166007113, 0.0038832435, 0.0007588017, -0.0142215714, -0.0108615924, 0.0177052282, 0.0366595909, 0.0368089117, -0.0170852672, -0.0537510142, -0.0297526941, 0.0213416908, 0.0645725653, 0.040332038, -0.0247150492, 0.0145709207, -0.0267492924, -0.0605891682, 0.0195250157, -0.0254050922, -0.0086785415, 0.0164997429, 0.0298187993, 0.0599661767, 0.0116654513, -0.0143441688, -0.0394290239, -0.0184627455, 0.0039407439, 0.0145374089, -0.0692070648, -5.540065937e-33, -0.0029391726, -0.0372102857, 0.0396848209, 0.0265868492, 0.0125198904, 0.0437596738, 0.0725383162, -0.0698196515, -0.0314021073, 0.0023802565, 0.0026510304, 0.0090387538, 0.0111112632, 0.0295553599, 0.0275923461, 0.0039057008, 0.0349859968, -0.0074976045, 0.0270932093, 0.0241469387, 0.0232469458, 0.0321039893, 0.1085784659, -0.0505906008, 0.0279942472, 0.0147305969, 0.0063108196, 0.0446391441, 0.0205929, 0.0664054528, -0.0201573558, 0.0378168598, 0.0303345062, -0.0667777508, 0.0330436565, 0.009925806, -0.0459039509, -0.0279519893, -0.0028242234, 0.015358787, 0.0092028864, -0.0150372703, 0.0219301321, 0.0162223894, 0.0036941473, -0.0218532104, 0.1030662507, -0.0058335643, 0.0420091413, -0.01224289, 0.0018365704, 0.0201883223, -0.0510594994, -0.0005973445, 0.0122082308, 0.0250449348, 0.0076333266, 0.0193937365, -0.1689367294, -0.016628705, -0.0013335048, 0.0338027887, 0.0143470559, -0.0055391672, 0.0046445802, 0.0130008934, 0.0566935614, 0.0301202051, 0.0435172059, 0.0031199469, 0.0183831602, 0.0583025068, -0.0245950054, -0.005018875, 0.0636791438, -0.0365579985, -0.0581145771, 0.0153088579, 0.0303183664, 0.0047883703, -0.0161389839, -0.0170275513, -0.034133926, -0.0006387482, -0.0084431386, -0.0060154609, 0.0148850922, 0.0095773842, 0.0277501419, 0.008457101, 0.0226385426, 0.0569188595, -0.0216117818, -0.0432609841, 0.0181595273, 0.0077388603, -0.0435443297, 0.009938457, 0.0341141149, -0.0252348483, -0.0785667598, -0.0468321666, -0.0308702812, -0.0172999911, 0.0480944291, 0.0676924735, 0.0231464207, 0.0448961854, -0.0189756583, 0.0016024034, -0.0099427402, 0.0323637947, -0.0477063097, 0.0687897503, 0.0106562413, 0.0041871234, 0.0316296853, 0.0011917979, 0.0381176472, 0.0218145493, 0.0191916451, -0.0154126594, 0.0348110087, 0.0119434791, 0.0095419036, -0.0258628931, -0.0333419368, -0.0157560837, 0.0010154911, -0.040163897, 0.0068427892, -0.0302221738, 2.289e-7, 0.0363365225, 0.0046197572, -0.029528819, 0.0541365296, 0.0167373307, -0.0020004013, 0.0132074663, 0.0265425351, -0.0041326941, 0.0215209592, 0.0158957206, 0.0130422367, 0.0178303085, -0.0158404466, -0.091169484, -0.0029211002, -0.0309997331, -0.0164627116, -0.0452899933, 0.0018401607, 0.0472700894, 0.0977569371, 0.0627961829, -0.0326142125, -0.0099527091, -0.0300063808, -0.0000265878, -0.0015001942, 0.0171810519, 0.0532407276, 0.0077227028, 0.0462162122, -0.0339993984, 0.0257612746, -0.0311109107, 0.0658066943, 0.0449562967, 0.0226408616, -0.0461421125, 0.0307812728, 0.0005545253, -0.0198665112, -0.0327246189, -0.0019614354, 0.0420842804, -0.0616228916, -0.035230197, -0.0595507436, -0.0207218993, 0.0177035667, 0.0032169258, 0.0178114232, 0.0117432261, -0.0331320502, 0.0278950837, -0.0481426567, -0.0860531405, -0.0234711189, 0.0362012759, 0.0234149396, -0.0124075925, -0.0368075334, 0.0287705157, -0.022065185, 0.0179164559, -0.027778754, 0.0233436786, 1.840619016e-34, 0.009911539, 0.0689293519, -0.0066530695, -0.0200490877, 0.0245019794, 0.0083540631, 0.0166177042, -0.0067744087, -0.0297121964, 0.0007375704, -0.0180928987 ]
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.0160413515, 0.1301034689, 0.0159699321, -0.0271652862, -0.0224041399, 0.0178352948, 0.0476744175, 0.0140617127, -0.0281898007, -0.0179262422, 0.0349681228, -0.0537324436, -0.0110821128, 0.0411074981, 0.0402800106, -0.0137916412, 0.0159236267, -0.0000016013, 0.0119811092, -0.0077269315, -0.0034588764, 0.0052931523, 0.0194296967, 0.01924132, -0.0085988222, -0.0129650952, -0.0171266608, -0.0251966417, 0.0277743135, -0.0208799113, 0.0000515298, 0.0651126727, 0.0645911023, 0.0413995646, 0.0000020836, -0.0318021141, -0.0062581096, 0.010585661, -0.0250053238, 0.0237966161, 0.0268164184, 0.0220052432, -0.0138352998, 0.0084934998, -0.03503602, -0.0204366874, 0.0722912177, 0.0033812977, 0.0153882196, 0.0493858084, 0.0029157195, -0.0262701418, 0.009423092, -0.0614043772, 0.0540562458, -0.0070300279, 0.0078411028, 0.0127545707, 0.0215295497, 0.0330591798, -0.0006159271, 0.0381759256, -0.0082633272, 0.0016576734, -0.0068972558, 0.0107737752, -0.0317148305, -0.0464811027, 0.0001167039, 0.0530859604, -0.090336293, -0.0435414873, -0.0459957384, -0.0228127092, -0.0378299691, -0.0430408828, -0.038767118, 0.0261581708, 0.0050817407, 0.0396846794, 0.008928258, -0.028866997, 0.0310715176, -0.0249801278, -0.0189897213, 0.0184006654, -0.0073918239, -0.008877947, -0.0092741689, 0.0024028027, -0.0337920822, 0.0056982613, -0.0291235205, 0.0039046244, 0.0167643651, -0.0061634686, -0.0272439755, 0.013232274, 0.0546186827, -0.0084450729, 0.0829754695, 0.0117002223, 0.0015509237, -0.0026773119, -0.021670429, 0.0053755124, 0.0166417453, 0.0158877745, -0.0367180109, 0.0056425356, -0.0402377248, 0.0343709886, -0.0255017728, -0.0027425352, -0.0308620464, 0.0058095963, -0.0629342273, 0.0040479931, 0.0514436997, 0.012345382, 0.0296654701, 0.038465362, -0.0473925732, 0.0316938311, 0.0061188582, 0.0024748994, -0.0101432102, 0.0056311474, 0.0248654094, -0.0651830882, -0.068317242, -0.0170186888, 0.0313016362, -0.0143090263, 0.0118849799, 0.0688797385, -0.0128186857, -0.0404774025, -0.0435865894, -0.0312619917, 0.0275933053, -0.038284421, 0.0047853887, -0.0317332186, 0.0627551898, 0.0414471701, 0.000260309, -0.0598453395, 0.0357658714, -0.0183032826, -0.0137532195, 0.11284592, 0.021544788, -0.0577267334, -0.0002858791, 0.0053025908, 0.0490503497, -0.0030661155, 0.0202591345, 0.0342824645, -0.0031487737, -0.0316721499, -0.0001490778, 0.0190794524, 0.0246587731, -0.0415582992, -0.0145027069, -0.0193149522, 0.0087486543, 0.038511645, 0.0415739939, -0.0078662904, 0.017738007, -0.0139391562, 0.0533214025, 0.0527701825, 0.0436640978, 0.0325086936, 0.0524205081, 0.0291068796, -0.0225356203, -0.0260466561, -0.0126429079, 0.0139069697, -0.0180211738, 0.0303203482, 0.0353451185, 0.0399049185, -0.0264910311, -0.0282381512, 0.0012809079, -0.0104548959, 0.007404278, -0.0376278907, 0.0340422504, -0.0118674887, -0.095098488, 0.0178438928, 0.0372633263, -0.0705605522, -0.0188519116, -0.0109427823, 0.0272398889, 0.0543583222, 0.0461829379, -0.0479313619, -0.0475086793, -0.0192431435, -0.0063575977, 0.0122176679, 0.0041851155, -0.0065034162, 0.0269503873, -0.0501327701, -0.0341041386, -0.0137011688, -0.0061929608, 0.0156443231, -0.0074263155, -0.0329690613, 0.0408724807, -0.0233448856, -0.0511568934, 0.0131742116, -0.023540955, -0.0827041492, -0.0035048358, -0.0017406575, 0.0464396328, 0.0117567368, -0.0402919054, 0.0175481122, 0.087688379, -0.0315346979, 0.0082206801, -0.0756422132, -0.0379311629, -0.0514825098, 0.0167863555, 0.0178525224, 0.0427128337, -0.0342321917, -0.0698392019, -0.041827593, 0.0186045598, 0.0051640016, 0.0009837461, -0.0309296753, 0.0044394271, 0.0388536267, 0.0770762563, -0.0497681722, 0.0091941524, -0.03685591, 0.030277716, -0.0148100108, 0.021045709, -0.0013761196, -0.07168331, 0.022654755, -0.0236334801, 0.0483269915, 0.0314309895, 0.0114522092, 0.0048838533, -0.0193229392, 0.0144676045, -0.0275350027, -0.0174383037, -0.0132153342, 0.0053802542, 0.0052938974, 0.004288096, 0.006844928, -0.0135178808, -0.0255986564, -0.0113628684, -0.0229610875, -0.0535397083, 0.0362367555, 0.0008732203, -0.0298443604, -0.0580479205, -0.0452427045, -0.0024847102, 0.0621390492, -0.0062686796, -0.00572418, -0.0316390023, -0.0155093297, 0.0086442493, 0.0613289513, -0.0057771858, -0.06608776, 0.0138855549, -0.0279649775, 0.0160882026, 0.0577100068, 0.0164509099, 0.0280575752, 0.046305418, 0.0147824073, -0.0144355958, -0.0100027593, -0.0503172092, 0.0080858767, 0.0375709236, -0.0146479923, -0.0223276746, 0.0699342042, -0.0379248895, 0.0140912449, -0.0647041425, 0.063711077, 0.0420015417, -0.0300969649, -0.0200099479, 0.0334975682, -0.0030538405, -0.0016344823, 0.002293977, -0.0446503498, 0.0501327328, -0.0437947586, -0.0100114755, -0.036759451, -0.0136108678, 0.0192965139, 0.0242079068, 0.0515735298, 0.0312465429, 0.0417792685, 0.0186189562, -0.0329468288, 0.0280619301, 0.0040914449, -0.0324114375, 0.0116160018, -0.0478377193, 0.0067279455, 0.0174033139, -0.0190096349, -0.0261481702, 0.0381087251, 0.017530486, 0.0386780463, 0.0672189072, -0.0322336257, -0.0367945023, 0.0467722826, 0.0146426307, 0.042171523, 0.0063239266, 0.0293725524, -0.0404306389, 0.0321144685, 0.0251520015, -0.0518798269, 0.0061208513, -0.0185573436, 0.0281423945, 0.0373379886, 0.0181416478, -0.0081963921, -0.0130354678, 0.0164689571, 0.0093050543, -0.0006496901, -0.0088906549, 0.0444306508, -0.0108721489, -0.0586398132, -0.0526584908, 0.1055138558, 0.0279424991, -0.0219712462, 0.0104700439, 0.0599046797, 0.0058151763, -0.0180533901, 0.0297261085, -0.0846477076, -0.0156313423, -0.037668094, 0.0340775326, -0.0201936066, -0.0028464291, -0.0279770754, -0.0850807577, 0.0403996445, 0.0350132063, -0.051823426, -0.0273706969, -0.054689955, -0.0645983592, -0.0282696765, 0.0125098806, 0.0468029119, -0.0218085088, -0.004254546, 0.0471141525, 0.0098439883, -0.0962086916, 0.0264167935, 0.0142616266, 0.0088753626, 0.072004281, -0.0322816893, 0.0228424948, -0.0007095297, 0.0356947966, 0.0199481733, 0.0415825024, -0.0358834229, 0.0597916692, 0.0426179655, -0.0370165221, 0.0259731766, 0.0448430218, -0.0352624133, -0.0375408567, -0.0441883914, 0.0834247693, -0.0245455019, -0.0020230685, -0.0124877896, 0.0122919027, 0.0401615165, 0.0354844406, 0.0495378375, -0.031556949, -0.0500028655, -0.0290287919, 0.048277989, -0.093294166, -0.0162151344, -0.0111372126, -0.0152829196, -0.0182808414, -0.0435638614, -0.0245660804, 0.0289482698, 0.0244592428, 0.0010606996, 0.0028071816, 0.0336549878, -0.0478079394, -0.0626913831, 0.0357448235, 0.0309686996, -0.0215933919, -0.1104135811, -0.1025836617, 0.0332646444, -0.005532335, -0.0488567203, 0.0552415513, -0.0852872804, -0.0812577605, 0.0253052022, 0.0859076604, 0.0142144915, 0.0011378903, 0.0322927423, -0.0607338361, 0.0786633566, 0.0347713158, -0.0016822331, -0.0207070541, 0.0271525923, -0.0327805839, -0.0326495841, -0.0035618097, 0.0092341071, 0.0659632459, 0.0046422994, 0.0323070288, -0.0036268407, -0.0222153794, 0.0356102996, 0.0031111143, 0.0664872602, -0.0089351991, 0.0218999237, -0.0234892722, 0.02119717, 0.0072246147, 0.0056057815, -0.0474267267, -0.0234654117, 0.0164387729, -0.0076632034, -0.0203696806, -0.0226840004, -0.0382800996, 0.0207471568, -0.053686332, 0.0348975249, -0.0076095033, 0.0173563994, 0.0968437344, -0.0414942577, -0.0041777482, 0.0453312211, -0.0247323234, 0.0307386238, -0.0230502542, 0.0158406943, -0.0054117036, 0.0999257863, -0.0597648434, 0.0546380319, -0.0148173412, -0.0024263626, -0.0749320462, 0.0112751219, 0.0707550421, -0.0335598215, 0.0511641093, 0.0048438357, -0.0127791669, -0.0182646047, 0.0623917803, 0.0066352384, -0.0098911459, 0.022412328, 0.0364263579, -0.0230866671, -0.0188703444, 0.0932591259, 0.0321357325, 0.0489123091, -0.0304449555, -0.0409894064, -0.0268014688, -0.0415750705, -0.0211752504, -0.0311585087, -0.0057538785, -0.0051628184, -0.0042844312, -0.0503513142, -0.0022016596, 0.0287776161, 0.0033968892, 0.0287221055, 0.0630344748, 0.0207174607, -0.0138093708, -0.0263339877, -0.0131231062, 0.0015386561, 0.0362194553, -0.0593522042, 0.0120946458, -6.444764593e-33, -0.0004617815, 0.0122907665, -0.0108891744, -0.0100893937, 0.0039050565, -0.0349873491, -0.0655973032, -0.0220574699, 0.0613394305, 0.0288363956, -0.0096704131, -0.02624676, 0.0187577177, 0.0109417876, 0.0282166433, 0.0539893508, 0.0653581023, 0.0047435141, -0.0109212641, 0.0349193588, 0.0761317611, 0.0605795979, 0.0633709654, -0.0250365548, -0.0393920317, 0.0481498018, 0.0028743963, -0.0531452335, -0.0177793596, 0.0258545466, 0.0050796326, 0.0390787646, -0.0386619642, -0.0345666632, -0.0524430051, -0.018148711, -0.0573388301, -0.0060218195, -0.0059898458, 0.0014959566, 0.0007453065, -0.0115904612, 0.0073418496, -0.0281650592, -0.0250379276, 0.0233825352, 0.0359998941, -0.0148334019, -0.0288686045, -0.0472355261, -0.0672945827, -0.0031404011, 0.019194413, -0.0067212903, 0.0344317853, 0.0001929054, -0.0120563935, -0.0028967797, -0.0209423546, 0.0526640005, 0.0715802461, 0.0707248226, 0.0590325259, 0.0494833924, 0.0283271503, -0.0049003558, -0.0210488029, -0.015169546, 0.012590358, 0.0578752309, -0.0050167292, 0.0219884776, 0.0250300597, -0.015138438, 0.0348215476, -0.0185020398, -0.1066418514, 0.0152764749, -0.0242456831, 0.0184987858, 0.0081574293, 0.0205147564, 0.0187341999, -0.031034952, -0.0329276808, -0.0135688782, 0.0073597431, -0.0285782963, 0.0059612901, -0.0230351202, -0.0420580655, -0.0117928032, 0.0172887016, -0.0205002539, -0.0398396887, 0.0361200273, -0.0295086615, -0.0308561809, -0.021725703, -0.0110783214, -0.0725215971, -0.0678723603, 0.0527009964, -0.0338135213, 0.0105280783, -0.0359656103, 0.0244785007, 0.042642843, -0.0369720906, 0.0083967503, -0.0687587485, 0.0104340808, 0.0336498208, 0.0191326551, 0.0035830571, 0.0032537666, -0.0208900571, 0.0505492724, -0.0004170935, -0.0503292941, 0.0586948283, -0.0197631419, 0.0252611265, 0.0589507595, -0.0596725307, 0.0035687191, -0.0461553968, -0.012892589, 0.0293344222, -0.0455760434, -0.0218550935, 0.007474788, 2.792e-7, 0.0478803478, 0.0354120359, 0.0591692626, 0.004591214, -0.0352729559, -0.0075295959, -0.0152749876, 0.025290776, -0.0724560618, 0.0090907738, 0.0485363156, -0.0115889162, 0.0173572768, 0.00924672, -0.011330693, -0.0002829473, -0.047543183, 0.0311004668, -0.0501051769, -0.0187240783, 0.0062329965, 0.1150963455, -0.004212887, -0.0102402614, 0.0440809205, -0.0043666097, 0.0236431584, -0.013035777, -0.0052392888, 0.0343400575, -0.0325703882, -0.0085365502, -0.0327872336, 0.0400829762, -0.0532412753, -0.0060003949, -0.0129763717, 0.0480930433, -0.0274307337, -0.0508566424, 0.046350725, 0.0029694133, 0.027526658, -0.0236431565, 0.0165006518, -0.0448840484, 0.0053322883, -0.0087455055, -0.0077216486, 0.0138528598, 0.0432582386, -0.0326861739, 0.0260304455, 0.0237136949, 0.010633681, 0.0138308639, -0.0009454542, -0.0594727658, -0.0213562325, 0.0374908634, -0.0115793366, 0.0031764815, -0.0523834154, -0.0175145827, -0.0104920557, 0.0212653391, -0.0189004093, 2.868788683e-34, 0.0383577198, -0.0276076347, 0.007792213, -0.0056721736, 0.0279043224, -0.0293229688, -0.0163004138, 0.0266842935, 0.000762422, -0.086443454, -0.035735976 ]
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.0228264593, 0.0417890586, 0.0022355225, 0.0480313674, 0.0051383167, -0.00489278, 0.0111957882, -0.0248409025, -0.0507334284, -0.0098602977, -0.039043963, -0.0335938521, 0.033837378, -0.0020738759, 0.0403610691, -0.0246061515, 0.0057107196, -0.008938645, -0.0169652607, 0.0070243417, 0.0044094617, -0.0042865542, 0.02042857, 0.0740645751, 0.0067246277, -0.0077524479, 0.0010744063, -0.0142107997, 0.0325661115, 0.0159524642, -0.0118798753, 0.0118208891, 0.0092069805, 0.0432565175, 0.0000020036, 0.0062926929, -0.008857714, -0.000934577, -0.0248500202, 0.0057068351, 0.0169743355, -0.0040972712, -0.0058409101, 0.0187095813, -0.0055402555, -0.0064460519, 0.0966842249, 0.0837907419, 0.0764321014, 0.0372811742, -0.0061937086, -0.0349087901, 0.0210404955, -0.0261570364, 0.0295240395, -0.013077097, -0.0038098467, -0.0606517084, -0.0248071589, -0.0171909202, -0.029443955, 0.0557704233, 0.0332327597, -0.0303678606, 0.0315593965, 0.0256730113, -0.036812637, -0.0219916962, 0.0086691603, 0.0631825551, -0.0232378766, -0.0362014435, -0.0147197256, 0.0060273996, -0.0617775917, -0.0074677449, -0.0567378476, 0.0210846104, 0.0095517505, 0.0030511986, 0.0088302745, -0.0015021317, 0.0493121706, -0.012276914, -0.0347560123, 0.0691341907, 0.0323588029, -0.0077174418, -0.0274927039, 0.0003837122, 0.0081916051, -0.0536552295, -0.0008421497, 0.0423927121, 0.0060686497, 0.0155053232, -0.000304921, -0.013647628, -0.0124927154, -0.0406266674, 0.0632576793, 0.0635786951, -0.0472198017, 0.036942821, -0.0349561051, 0.0787972808, -0.0782424435, 0.0476099625, -0.027359454, -0.0333326235, -0.0132474974, -0.0251331963, -0.0286167897, -0.005806027, -0.0045298114, -0.0407559536, -0.0283790678, 0.024204066, -0.0089406064, -0.0650358796, 0.0143668242, 0.037314862, -0.0488705486, -0.0024144214, -0.0048631849, 0.0612175651, 0.0127121089, -0.0093339961, -0.0018154867, -0.0649724752, -0.0664784536, 0.032628037, -0.004840001, -0.038698554, 0.0041922056, 0.0654226542, 0.0082880557, -0.0505916551, -0.0150703695, 0.0018331925, -0.024513511, -0.0492137335, 0.0329073071, -0.0221680868, 0.0029784162, 0.0058161211, -0.0179093461, -0.0204026736, 0.0122236712, 0.0381459966, -0.0304261539, 0.0725467429, 0.0334688872, -0.0006930755, -0.0045546228, 0.0130746821, -0.0203922559, 0.0378348455, 0.0228785444, 0.0428699926, -0.0221038703, -0.0228686947, 0.0434297957, 0.0290189758, 0.0315559618, -0.0196567066, -0.0165661257, -0.0029521065, -0.0531670898, 0.007311394, 0.0485958159, 0.0234738607, -0.0260327626, 0.0002671047, 0.0498727411, 0.018516358, 0.0664313659, 0.036273744, 0.0166146122, -0.0237616003, -0.0219210703, -0.0122641288, -0.0930636153, 0.1129746512, -0.0068018162, -0.0106457081, 0.0322831757, 0.0399054103, -0.0337783657, -0.0102381986, 0.0010824468, 0.022371985, -0.0207109209, 0.0229234379, 0.0360379517, 0.028121762, -0.0323391743, 0.1341073662, 0.025630353, -0.0312512256, -0.0188435614, -0.0787847713, 0.0098506957, 0.0301216543, 0.0557202399, 0.002009968, -0.0105057117, -0.011882429, 0.0176846068, 0.0525270291, -0.0195527151, 0.0139324591, -0.0029698394, -0.0412800759, -0.0298539493, -0.0146033624, 0.0315548927, 0.0110482853, -0.0067990567, -0.0319955423, 0.0263968837, -0.064922601, 0.007829505, 0.0283143595, 0.0139967939, -0.032365147, -0.0028847163, 0.0171965361, 0.0207765587, 0.0121103656, 0.0148389097, 0.0175675526, 0.0254649874, -0.047727, -0.002905152, 0.0243529696, -0.0439169519, 0.0181477144, 0.0269200616, -0.0503536984, 0.0124368798, 0.0744689032, -0.0073037967, -0.0519884452, 0.054576084, -0.0923931003, 0.0584913343, -0.0216549654, 0.0141713852, -0.0033236707, 0.065391846, -0.0004032252, 0.047638759, -0.0176718123, -0.0026201869, 0.0403395407, -0.014524065, 0.0197997708, 0.0037401612, -0.0137446746, 0.0033796104, -0.0255156718, -0.0038566364, 0.0163226575, -0.0340934806, -0.0099597974, -0.0051208367, -0.0116715292, -0.0102185216, -0.0549051799, 0.0102652889, 0.0292366352, 0.0384086929, 0.0488133803, -0.0144562852, -0.0137853818, 0.0098206587, -0.0185771678, 0.0273420513, 0.0020152426, -0.0135593694, -0.0608073585, -0.0495236926, -0.0292886011, -0.0074401139, 0.0677493215, 0.0097742397, -0.0068461127, -0.0698599294, -0.0382449776, -0.0037692897, -0.0025406228, -0.0386035778, -0.043400079, 0.0196242779, -0.0107085463, 0.0202280562, 0.0483013503, 0.0105553539, 0.0331184678, 0.0669600889, -0.0104451664, -0.047896415, 0.0018373976, -0.0352533981, -0.0142060481, -0.0293573923, -0.0313438103, -0.0223905798, 0.089960061, -0.0312986635, 0.0034332424, -0.0824507251, -0.0022212511, 0.0070149568, -0.007864194, 0.0217325147, -0.0171974264, -0.0183782466, 0.0313050523, -0.0151178148, -0.0466183238, 0.0802178904, -0.0469020344, -0.0274982397, -0.0010191714, 0.0022888223, -0.042988956, 0.041977182, -0.0058266139, 0.0131275598, 0.0062887315, -0.0177723747, -0.0386354662, 0.0203331299, 0.0293145981, -0.0084821461, 0.102137804, 0.0071916236, 0.0044112946, -0.0045032613, -0.0164772943, -0.0513265096, -0.0068904832, -0.0350073166, 0.0137959337, 0.0066804313, -0.0361406654, -0.1021425277, 0.0222653728, 0.044924885, 0.0204801224, 0.0083414614, -0.0134002399, -0.0095686456, -0.0056424597, 0.033228714, 0.0307161342, 0.0865766332, -0.0107462471, 0.0024803728, 0.0354945511, 0.0484837629, 0.0045949384, -0.0425280109, 0.0031588385, 0.0541861393, 0.0001878725, -0.0043681143, 0.0040141572, 0.057264559, -0.0633911192, -0.0269345548, 0.0731051639, 0.0111275753, -0.0920293257, 0.009161002, -0.0434266031, 0.0057475213, 0.0314433202, 0.0391820408, -0.051885955, -0.0349375643, -0.0016573186, 0.0362731963, 0.0269310176, 0.0016329603, -0.0049778484, -0.0543387383, 0.0408035778, -0.0134630566, 0.0080516981, -0.0449158475, -0.0486981869, 0.0117831463, -0.0328506902, 0.0144150453, 0.0119387377, -0.0000367428, -0.0174718704, 0.0086891213, 0.0095049869, -0.0158126019, 0.0607569553, -0.004611956, 0.0196547601, 0.0807236508, 0.0016211171, 0.0087384824, -0.0706032664, -0.0083053438, -0.0456247702, -0.004935944, 0.0024581957, 0.0342747718, 0.0051306868, -0.0123447198, -0.0272630304, 0.0116917649, -0.0450237691, -0.0115690958, -0.0709974095, 0.0742793009, -0.0190721247, -0.0338117555, -0.0143090272, -0.0009450691, -0.012487215, 0.0524636582, 0.0423410647, -0.0104297437, -0.0478683375, -0.04534062, 0.0146313235, -0.0075172638, -0.0791219696, 0.015462135, 0.0539150834, -0.0721261278, -0.0193842743, -0.0093020601, -0.0020284986, -0.0032135744, -0.0003989278, -0.0462612435, -0.0067478041, -0.0264468081, -0.0392592587, 0.0435531661, -0.0125182988, 0.0191163179, -0.0550519638, 0.0045433617, 0.0266389418, -0.0664416924, -0.0177885816, 0.0346004479, -0.1100642681, -0.0463989824, 0.0428428501, 0.0328851901, 0.0242685396, 0.056637872, -0.0386233479, -0.052798897, 0.0546053872, 0.010439707, -0.0331586674, 0.0209793523, 0.0297744647, -0.0589001626, 0.0061475821, 0.0444117486, -0.0575992092, 0.0339533538, 0.0458590649, 0.0540865064, 0.0013236506, -0.0180273131, 0.0480814949, -0.0237997659, 0.0732300431, -0.0154987657, -0.0036280218, -0.0139892874, 0.0393184386, 0.0134048555, 0.0114303883, -0.0583262406, 0.0053952648, 0.0007288855, -0.0081789112, 0.0133472895, 0.000975706, -0.0002293307, -0.0078331763, -0.001375771, 0.0340481289, 0.019900959, -0.0384739228, 0.0148192886, 0.0138862589, 0.0072955186, 0.0058642258, 0.0007403613, 0.0540517531, -0.0110387588, 0.0289295278, 0.0200779308, -0.0034780209, -0.0392466299, 0.0142397117, -0.0942801312, -0.0534968562, -0.0230292846, -0.0217415262, 0.0393548198, -0.0123502854, 0.0535777137, -0.0043794159, -0.0056574913, 0.0053165527, 0.0391988754, 0.0099188108, -0.0186098833, 0.0331949592, 0.0210037231, 0.008455405, -0.0085201496, 0.0469035022, -0.0057203854, 0.025072949, -0.0331395753, -0.0121149328, -0.0096916072, -0.0565615073, -0.0362361483, 0.0134399412, -0.0135059915, -0.0086149713, -0.0434723571, -0.075020656, 0.0346686244, -0.0404226035, -0.01535255, -0.0408866666, 0.0119253173, 0.0794476047, 0.0271128565, -0.0323728137, 0.0034163881, -0.034902472, -0.0085373679, 0.0103236316, 0.0023515339, -6.713630273e-33, -0.0150345843, -0.0212589707, 0.0109484605, -0.0003985938, -0.0169708226, 0.0135619938, -0.0675172061, -0.0244176704, -0.0443299226, 0.0227229521, -0.0218646545, 0.0417378396, 0.0105481185, 0.0308690481, 0.0124148121, -0.0338006392, 0.0622117221, 0.0349569358, -0.0326134488, 0.0507534258, 0.0219610203, 0.0199424066, 0.0742740557, -0.0273944251, 0.012148398, 0.0104783289, -0.0023533655, 0.0067531983, -0.0234785322, 0.0956095904, -0.0546206012, 0.0365954489, 0.0047476362, -0.0723685697, -0.0206387285, 0.0095568039, -0.0689354241, 0.0075457008, -0.0012182586, 0.0263351668, -0.0415113904, -0.0287402049, 0.0622018762, 0.0143709779, 0.0191931631, -0.07174135, 0.0435284711, 0.0031963065, -0.0198650882, 0.0037908934, -0.0354462117, 0.0101254545, -0.0046423986, -0.0256031416, 0.0406861268, 0.0200861841, -0.0060652592, 0.0547011122, -0.0843629912, 0.0047540176, -0.0211979002, 0.0180019811, 0.0740711614, 0.0363410637, -0.0098734358, 0.033563666, 0.0055632545, -0.0302088745, -0.066329971, -0.0703735948, 0.0110878097, 0.0466513857, 0.0562441237, 0.0004798009, 0.0288496166, 0.0300574619, -0.0505165048, -0.0209861118, -0.0142061589, 0.0855604634, 0.0662572011, 0.0198732484, -0.0200234205, -0.0062391846, -0.0135168089, 0.0050669401, -0.0609310046, -0.0338297263, 0.0203208476, 0.0224969238, -0.028913701, -0.0099688824, 0.0403245352, -0.0651827306, 0.0387270376, 0.0157960951, 0.0056139613, 0.0236373711, 0.0152159249, 0.022992583, -0.0183883272, 0.0236024261, 0.0173294917, -0.0037171859, 0.0138002783, 0.0058281198, 0.02593592, 0.0568965971, -0.0403706841, -0.0205135141, -0.0694912747, -0.0134012923, -0.0169634447, 0.0227383543, 0.0103218826, 0.0185841452, -0.0222894978, 0.0116116125, -0.0030216926, 0.0508666001, 0.0006593473, 0.0407538079, 0.0146260913, 0.0273146909, -0.0576850288, -0.0171701498, -0.061800316, 0.0175594538, 0.0236584451, -0.073399283, -0.0463812873, 0.0312564299, 2.771e-7, 0.0594470575, 0.0194914974, 0.0047449269, 0.0276613925, 0.0150898099, 0.0107002221, 0.0212491583, 0.0350087397, 0.0170328468, -0.0129422322, -0.0067872871, 0.0275641624, 0.0361486971, 0.0037873534, -0.0578801706, -0.0144144464, -0.0774725527, -0.0020087915, 0.006963734, -0.056379158, 0.0201318171, 0.1258275658, 0.0109206447, -0.0137406979, 0.0017691607, -0.0062314486, 0.0703447908, -0.0007836707, 0.0365350135, 0.0122940978, 0.0427640639, -0.00711268, -0.0236047357, -0.016030265, -0.0011784526, 0.0112818023, 0.0066668424, 0.0271063223, -0.0140664689, -0.0845534429, -0.0252326, -0.0068475762, 0.0190959852, -0.0731564313, 0.0347480439, -0.0473411083, -0.0478615724, -0.007619834, -0.0258626845, -0.0060339877, -0.014153148, 0.0043877787, 0.0335758142, 0.0009056912, -0.006514681, -0.0221663937, -0.0139428033, -0.1180330366, -0.0539710857, -0.035626024, -0.0377906226, 0.0007382528, -0.0633897036, -0.0703455806, 0.0708216727, -0.0140859541, -0.0076954234, 2.613396005e-34, 0.0132803228, 0.0124678258, -0.0095500015, 0.0278055519, 0.0211877283, -0.023199277, 0.0442873687, 0.0017689777, 0.0296131689, -0.1084485501, -0.0357069895 ]
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.0363510065, 0.0375267304, -0.0097480463, 0.0177948941, 0.020140389, 0.000463521, -0.0186522361, -0.0123717142, 0.0089847026, -0.0682480782, -0.0232662372, 0.0451502204, -0.0087216077, 0.0534040146, 0.0349570177, -0.0453568809, 0.039942652, 0.0304271355, 0.0250757281, 0.0308637172, 0.057483878, 0.0195472762, -0.0046362695, 0.0324825607, -0.030341655, 0.0229513515, 0.0079361042, 0.006865195, 0.0255738404, -0.0143740373, 0.0403204486, 0.051048629, 0.0179322921, 0.038540367, 0.0000018085, -0.0502241626, -0.0222798884, 0.0145794582, -0.0305809919, 0.0257421006, 0.0069361599, -0.0912304297, 0.0203110185, -0.0226778071, -0.03098033, -0.034768492, 0.0608097389, 0.0706270933, 0.0890402794, 0.0783963203, -0.016946692, -0.0032819307, 0.0163344666, -0.0283664335, -0.0015992809, -0.0229219738, 0.0452670194, -0.0005495102, -0.0217065271, 0.0459923483, -0.011958845, 0.0390572958, 0.0300022662, -0.0260996427, 0.0735684112, 0.0266047474, -0.0356936492, -0.002501701, -0.009039022, 0.0692537427, 0.0045025134, -0.0205370355, -0.0234865043, -0.0318629704, 0.018895736, -0.0305650327, -0.0031867323, -0.0444327593, 0.0420973524, 0.0121941613, 0.0129672922, -0.0138455154, 0.0517704971, 0.0396008268, 0.027289439, 0.0687792525, -0.0168704186, -0.0379714705, -0.0083773937, 0.0343743376, -0.0048758583, -0.0209873412, 0.0092704166, 0.0386696868, 0.0218625106, 0.0081895944, -0.0483229458, -0.0493115298, 0.0547873825, -0.0389139652, 0.0376423858, 0.0064988099, -0.0315963216, 0.047822725, -0.0598290823, -0.0552965291, 0.0323859192, 0.0363066196, -0.0396550037, 0.001577253, -0.0163788423, -0.0110112764, -0.0521903783, 0.0278372541, -0.0215413403, -0.0117268767, -0.0595162213, -0.0246569272, -0.0368622392, 0.000662871, 0.0057476196, -0.0107954731, -0.0427861474, 0.0198194925, -0.0301796813, 0.0286100712, -0.0616633184, 0.0741603673, 0.0004615649, -0.0222416967, -0.0218708869, -0.0261336342, 0.036445789, -0.0044088243, -0.0069952738, 0.0450350866, 0.0172985308, -0.061656218, -0.0295286011, -0.0519884042, -0.0383764654, 0.0016809667, -0.020314442, -0.0272918623, 0.0212884694, -0.049430225, 0.0142104141, -0.035300523, 0.0210065115, -0.0025039206, 0.0035430249, 0.1120311022, -0.0981292725, -0.0458252877, -0.0130999805, -0.0068116565, -0.0465146191, 0.0649398193, 0.0023449967, -0.0037677642, 0.0251107067, 0.0029696964, 0.0412792414, 0.0327279679, 0.0364018567, 0.0064762789, 0.0201020837, -0.0367691442, -0.0029811454, 0.0107729435, -0.0288735982, -0.0106248381, -0.0188411828, 0.0141352424, 0.0532461517, -0.0457690917, 0.0587491505, 0.0196882244, 0.001954834, -0.0151355183, 0.0203654543, -0.0210867543, -0.0401486978, -0.004774007, -0.0359677263, 0.0089118183, -0.0076362956, 0.0065958295, -0.0118530979, -0.0673817918, 0.0095693935, -0.0469370522, 0.061380472, -0.0023303579, 0.0551682077, 0.0624816045, 0.0428372361, 0.0022661232, 0.0764551088, 0.0034426639, 0.0413666368, -0.0220577586, 0.0157016385, 0.033512827, 0.0372558869, -0.064438574, -0.035990987, -0.0169464797, 0.0139283473, 0.0073490399, 0.0741509721, -0.0109924031, 0.0167351663, -0.0593972765, -0.0249601938, -0.0254032183, 0.0587926544, -0.0082082376, 0.0145816924, -0.002616978, 0.0522008725, 0.0031393566, -0.0576577038, 0.0370958373, 0.031957522, -0.0266751274, 0.0441623814, 0.0010355525, -0.0308421031, 0.0540042557, 0.0186432116, -0.0041883355, 0.0182824209, -0.0121528767, -0.0505699068, -0.026985174, -0.0101105813, -0.0315433107, 0.0282093175, -0.009162467, -0.0308634769, 0.0004041471, -0.0523230024, -0.0280346461, -0.0270880405, -0.0490895435, -0.0106566092, -0.0451449007, -0.0116860056, 0.039358858, 0.0606666021, -0.0559968315, 0.0429033078, 0.0556205697, -0.0058010165, -0.0123863779, -0.0235586464, 0.0114745544, 0.0183147769, -0.0164133627, -0.0221909564, -0.0078627439, -0.0006188359, 0.0286349431, -0.0044052708, -0.0865877494, 0.001746774, -0.0345311984, 0.0035702512, 0.0157382693, -0.0370260552, 0.0206224993, 0.0321713835, 0.0089480272, -0.0340414792, -0.0316644758, -0.0193314794, -0.0173796564, 0.0117365513, 0.0253503304, 0.0163378213, -0.0181552488, 0.0024739758, -0.0106801856, -0.0444524251, 0.0157734603, 0.0278744232, -0.02812461, -0.0379457846, -0.0552471504, -0.0336465165, 0.0092295706, 0.0165353734, 0.0047082021, -0.0305212792, 0.0043062731, -0.0042336248, 0.0350969471, -0.0175398495, -0.0024153197, 0.028463468, 0.0069066682, -0.0252057873, 0.0257874206, -0.0363162495, -0.0013659891, 0.01006498, -0.0193168242, -0.0160988979, 0.0214992929, -0.038803, -0.0405008309, -0.0510591902, 0.0285641477, -0.0172490105, -0.0254815836, -0.0185929127, -0.0088983588, -0.0075003612, 0.0095432876, -0.0243733767, -0.0414826013, 0.0986873731, -0.0222725309, -0.0099642817, -0.0526837744, -0.0515976176, -0.0628903285, 0.0228309073, 0.0126933586, 0.0137734441, 0.0290333033, -0.0148754753, 0.0366474688, -0.0165734235, -0.0091637, -0.0314470269, 0.0778715685, -0.0436004065, 0.0096861739, -0.0069916691, -0.042500142, -0.0096804984, -0.0426241383, 0.0075235334, 0.0038645579, -0.0190145224, -0.009619019, -0.0239467807, -0.0399887748, 0.0148839355, 0.0478191972, -0.00328217, -0.0106920581, -0.0443843566, 0.0146186976, 0.079281114, 0.0535428561, -0.0430919752, 0.0088269431, -0.0325239673, 0.0135477586, -0.0250500869, -0.0077455943, -0.0273691304, 0.0275110304, 0.0192006603, -0.00729527, -0.0053001083, 0.0004888675, 0.0587202795, -0.0633124039, -0.0044952133, 0.0972997621, 0.0413873009, -0.047010392, 0.0259650499, -0.0147024896, 0.0043706819, 0.0220013615, 0.0016284528, -0.0748218596, -0.0793870166, -0.0032373609, 0.0127828717, -0.015935909, -0.0109475041, 0.0050258809, -0.0691481084, -0.0300300326, -0.0051026614, -0.0424382575, -0.0345692597, -0.0347079448, 0.0318874381, -0.0249565262, -0.0070592696, -0.0548636951, 0.0405264348, 0.0093867471, 0.0073585794, 0.0057758614, -0.0450108834, -0.0204884149, -0.0530076511, 0.0692095011, 0.0562413819, 0.0318505056, -0.0394482724, -0.0281790365, 0.0183186457, 0.0042154994, -0.017488746, -0.0088069877, 0.0558329523, -0.0051691313, -0.0255454816, 0.0068004415, 0.036855299, -0.004204704, -0.0164244808, 0.0115532726, 0.0670275837, 0.0344658718, -0.0145050148, -0.0367241688, -0.0093976175, -0.0086590918, 0.0409521423, 0.0105348518, -0.0213699564, 0.0483678244, -0.0499942191, -0.0056893737, -0.0066559389, -0.0359329507, 0.0090075443, -0.0430724062, -0.0362284072, -0.0698900744, -0.086345762, 0.051039353, 0.0090414565, 0.0581839867, 0.0181247331, -0.0147435199, -0.028259933, -0.0288077611, 0.0633195713, -0.0413693786, 0.0311185401, 0.0252657719, -0.0451763272, 0.037713401, -0.0196809601, -0.0074537275, 0.0683421269, 0.0097028017, -0.0529524684, 0.0284837987, 0.0268178117, 0.0146202641, 0.0551377535, -0.0488100499, -0.0545016862, 0.0416589305, 0.0906836614, -0.0294076931, 0.0030456507, 0.0352210142, -0.0602070205, 0.0156257413, 0.0080439337, -0.0460154638, 0.0153409513, -0.0253737308, 0.0384296328, -0.0253860373, -0.0474335067, 0.0311730113, -0.0002447999, 0.0597444475, 0.0047395341, -0.0218735281, -0.0080648307, 0.0187046956, -0.0264843442, -0.0561771318, -0.008207635, -0.025922209, 0.0372618623, 0.0156756602, -0.0092451274, 0.017326802, -0.0004842377, 0.0501516014, -0.011982305, -0.0381299369, 0.0348410942, 0.0070951506, -0.0050164214, 0.0116386414, 0.0066788415, 0.0442212559, 0.0148341581, 0.0267079398, -0.0258927308, 0.0104492996, 0.0282830913, -0.0106232222, -0.0234785322, 0.021814188, -0.0444304533, 0.0618573427, -0.0406282581, 0.0125750592, 0.0197166, -0.0609113127, 0.0431788601, -0.0237346068, -0.0277412422, 0.0092446627, 0.0276062321, -0.0183703266, -0.0439054854, 0.0243010297, 0.0065150131, -0.0200955309, -0.0159944054, 0.0314116031, -0.0367569588, 0.0701294914, -0.0369420871, 0.0069998507, -0.0164635014, -0.0096038133, 0.0506094955, 0.0467758738, -0.0411162153, 0.0230454654, -0.0048569902, -0.0588349476, 0.0047714687, -0.0272935461, 0.0028137867, 0.0172773972, 0.0076950812, 0.0098180007, -0.0026480146, -0.045901157, -0.0453066714, -0.0213648397, 0.0449479669, 0.0053204531, -0.0063392203, -6.409894288e-33, -0.0268530156, -0.0001293658, -0.0016589015, 0.0000980735, -0.0066103353, 0.0581226684, 0.0129259098, -0.0012303779, -0.0044992683, 0.0217092428, 0.0123240054, 0.0189428702, 0.012464148, 0.0283916201, -0.0159293283, -0.0257840343, 0.0355744697, 0.0356004611, 0.0029244963, 0.0063278968, -0.0330174156, 0.0083402144, 0.0623942018, -0.1057673842, 0.0791481808, 0.0602146313, -0.0535831451, -0.0035534087, -0.0251157954, 0.0530948564, -0.0123753566, 0.0656296462, 0.0168135371, -0.0260788668, 0.0119663011, 0.0275764987, -0.0925370082, -0.0013075288, -0.0093396641, 0.0409610681, -0.0490388907, -0.0125573734, 0.0472234003, -0.0047233277, 0.0386410356, 0.0103660859, 0.0456631593, -0.0640070811, 0.0019296191, -0.0258106943, -0.0441610217, 0.0199388228, -0.0105112465, -0.0085978312, 0.0155864209, -0.0106083686, 0.0305880345, 0.0414495394, -0.1016826332, 0.0090193404, 0.0361380801, 0.048345793, 0.0045798551, -0.001541696, -0.0322339796, 0.0275374744, -0.0155512448, 0.0122773927, -0.0464572646, -0.0045199809, 0.0450046882, 0.0000677157, 0.0774543881, 0.0468239672, 0.0713603348, 0.0151117742, -0.0315369442, 0.0446488298, -0.0005515179, -0.0221476499, -0.0223153587, 0.0160817243, -0.0572413392, 0.014458254, -0.0465481356, 0.0512440465, -0.0427430309, -0.0211664792, -0.0200969968, 0.0463309698, -0.0315768085, 0.078114666, -0.0463797562, -0.0451954566, -0.0286436286, -0.0333808623, 0.0080708107, 0.0093707042, -0.0156162474, -0.01921672, -0.0365937762, -0.0420477875, 0.077166751, -0.0037512328, 0.0236584805, -0.0055474434, 0.1168735325, 0.01486794, -0.0735084787, 0.0111164842, -0.0057270597, 0.0072628018, 0.0054961303, -0.0202142447, 0.0191319063, 0.0344645642, -0.0339619257, 0.0430780761, 0.0905008242, 0.0421629101, -0.0175698269, -0.0373742022, -0.00205098, -0.0093886508, -0.0229968727, -0.006965843, 0.0088592935, -0.027416585, 0.0134366974, -0.0748896748, -0.0184134748, -0.0280040279, 2.595e-7, 0.0476144589, 0.0392597392, 0.0158518292, 0.0224242862, -0.0055758841, 0.0667224005, -0.0209402964, 0.0411324389, 0.0141205024, -0.003268433, 0.0116634937, 0.0019157903, 0.0122677227, 0.0008390343, -0.0609575249, -0.0409220196, -0.0265606903, -0.0036520874, -0.0483585075, 0.0220916402, 0.064260751, 0.1273060143, 0.0586679429, -0.0128671555, 0.0185340587, -0.0535125956, 0.0372775495, 0.0037439116, -0.0055153053, 0.0183010604, 0.0815442279, 0.0226777177, -0.0086598853, 0.0499678962, -0.0533326603, 0.0214610342, 0.0272085331, 0.0170017611, -0.0249406323, 0.0042819944, -0.0167091358, 0.0027844722, 0.0226371177, 0.011202924, 0.0784694701, -0.046587389, -0.0353983343, -0.0062904656, -0.0662130266, 0.0276170354, 0.019220544, -0.0457985662, -0.0385633782, 0.0098455185, 0.0185783543, 0.0298535749, -0.0607820153, -0.1059183031, -0.0518452302, 0.010979048, 0.006537613, 0.0017374066, -0.02536707, 0.0092549957, -0.0148256971, -0.115035072, 0.0244322754, 2.250355365e-34, 0.0099171959, -0.010795529, 0.0072717825, 0.0271968283, 0.0566128045, -0.0004824392, 0.0001043829, 0.0108360359, -0.0026566575, -0.0720805377, -0.0001907237 ]
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.0184326395, 0.064056538, -0.0123082073, 0.0344453566, 0.0012437195, -0.0029849829, 0.0039213537, -0.0212860014, 0.0051338039, -0.057066597, -0.0181802958, 0.0217948947, 0.0103007071, 0.0352749713, 0.0369086713, -0.0496488921, 0.0601183474, -0.0181801226, 0.0507488996, 0.0103899632, 0.045322746, -0.0042288639, 0.0058326568, 0.0256236028, -0.0408601388, 0.0146682281, 0.0125596337, 0.0044984901, 0.0295484066, 0.0065671047, 0.0237289723, 0.0588450693, 0.0004177447, 0.0248127412, 0.0000020681, -0.0532077476, -0.0266309287, -0.0018242043, -0.0245748106, 0.0575571433, 0.0515572317, -0.065280214, -0.0038646092, 0.0031755038, -0.0430604964, -0.0464890786, 0.0675433055, 0.0251181163, 0.0850392506, 0.0828204826, -0.0303091165, -0.0266552567, 0.0404417887, -0.036976818, -0.0127895745, -0.0407761335, 0.0456635691, -0.0033880828, -0.031496983, 0.0096093612, -0.0210682414, 0.0434558243, 0.0040806513, -0.0080761751, 0.0831815004, 0.0222606435, -0.0443873405, -0.0236624647, -0.0144572817, 0.0608746558, -0.0245918371, -0.02370378, -0.0074624983, -0.0266026873, 0.0152188158, -0.0264151525, -0.0128652565, -0.0290080607, 0.0547743961, 0.0285530351, 0.0242264494, -0.0079093939, 0.0340521522, 0.0248194672, -0.0243314095, 0.0799481571, 0.0085260989, -0.031969253, -0.0413514897, 0.013182248, -0.0213884003, -0.0301128887, 0.0278503597, 0.0332818292, 0.0304041207, 0.0038791471, -0.0954004526, -0.0598133989, 0.0240222476, -0.0020527956, 0.0442583188, 0.0321543515, -0.0582595915, 0.0365920439, -0.0493927039, -0.0269388892, 0.0267537236, 0.0457619019, -0.0621412359, 0.024979569, 0.0218082573, 0.0006696412, -0.0953396633, 0.017473055, -0.0360843167, -0.0403534807, -0.0555893481, -0.0182494335, 0.0027107841, -0.0232833307, 0.0037010142, -0.0469223708, -0.0454761721, -0.016622927, 0.0206935592, 0.026162494, -0.0307519957, 0.0548366196, 0.0034481739, -0.0448187292, -0.0092326552, -0.0272999816, 0.0881030113, 0.0050344267, -0.0141669456, 0.0392176583, -0.0101647386, -0.0648661256, -0.0578505844, -0.0042537632, -0.0176103991, -0.0103235384, -0.0640224144, -0.0498924777, 0.0020219698, -0.0311257262, 0.0136504723, -0.0445594005, 0.0260059368, -0.0261818003, -0.0237314031, 0.0850149766, -0.1019867286, 0.0118964221, 0.0266718809, -0.0221419521, 0.0286864806, 0.0513503104, 0.026146302, -0.0181073677, 0.0596316978, 0.0155054517, 0.0526064076, 0.0720266476, 0.0073280293, 0.0051028309, -0.0003666988, -0.0477192774, -0.023552157, -0.0075351275, 0.0334529728, 0.0091784624, -0.0329608358, 0.007407228, 0.048683621, -0.0398392193, 0.053835962, 0.0223285984, -0.0002076561, 0.0009577852, 0.0195756685, -0.0039893268, -0.0126087815, -0.0176871773, -0.0382481441, 0.0280134138, 0.0422981605, 0.0225922745, -0.0224237535, -0.0785596892, 0.0216700975, -0.0508036986, 0.054858651, -0.022267662, 0.0587105043, 0.0686123148, 0.0042900266, -0.0050917668, 0.0588315167, -0.0334094092, 0.0334476307, -0.0276029836, 0.0243634861, 0.0253011379, 0.050136555, -0.0666046292, -0.0238158293, 0.0047749383, 0.0168533679, 0.0164664648, 0.0303994268, 0.009361879, 0.029434653, -0.0895207375, -0.0255243704, -0.0114710135, 0.052532047, 0.0058510113, 0.0043751891, 0.005050208, 0.0613496155, -0.0080360025, -0.0586059839, 0.0392863192, 0.0240374729, -0.0135787725, 0.0409069918, -0.0014294875, -0.0204748735, 0.0276565887, -0.0114581026, 0.0161323752, 0.0128326751, -0.0360394344, -0.0070319567, -0.0079319561, -0.0389823914, -0.049900841, 0.0287670568, -0.0024289219, -0.0091865603, 0.0152333127, -0.0428515188, -0.0527281277, -0.0155976508, -0.0334239192, 0.0309479795, -0.043964684, 0.0550328307, 0.0221003424, 0.05967848, -0.0399242677, 0.0364341885, 0.0308279786, -0.0202050786, -0.0421984605, 0.0020568573, 0.023003811, -0.0113724275, -0.0185816679, -0.0404550433, -0.0328496806, -0.0011741682, 0.0114489682, -0.019793734, -0.0463991053, 0.0243188459, -0.0400921367, -0.0266344491, -0.0179370604, -0.0212142896, 0.0051446776, 0.0806916952, -0.0140746525, -0.0451999046, -0.0076919813, 0.0075045815, -0.0244600791, 0.015747238, 0.0327896103, 0.0237784293, -0.0139768664, -0.0466820039, -0.0046570688, 0.0015545266, -0.0058241468, 0.0122775827, -0.0574852526, -0.0485408716, -0.0080605866, -0.010650469, 0.0199355837, 0.003236132, -0.043495778, -0.0482787117, -0.0153415576, 0.0708643794, 0.0660491511, 0.0024567454, -0.0272207018, 0.0398506336, 0.0052460246, -0.0170882773, 0.0176328234, -0.027977353, 0.0139248287, -0.0105945505, 0.0016310811, 0.0294569731, 0.0500151217, -0.0279630516, -0.0231016725, -0.0296398047, -0.0033589434, -0.0399177261, -0.017577121, -0.0072004753, -0.0202830024, -0.0316799246, 0.034777198, -0.0179748312, -0.0549567193, 0.0691572502, -0.0567541458, -0.0310353618, -0.0610981584, -0.0278623719, -0.0380715802, 0.0052945032, 0.0603467897, 0.0194969438, -0.0107653458, -0.0254469458, -0.0006436106, 0.0107057597, 0.0212449692, -0.0158661678, 0.0521124788, -0.042695757, 0.0125788553, -0.0188754797, -0.032676585, -0.0107495366, -0.0600728095, -0.016311029, -0.0248345118, 0.0173500087, -0.0067343744, -0.0180366412, -0.0050144894, 0.005571147, 0.1144571602, -0.0163116716, 0.0129775368, -0.0468853749, 0.0512310751, 0.0683665499, 0.0201688986, -0.0274188053, -0.0037826065, -0.0180641972, -0.004477005, 0.0191756245, -0.0262585096, -0.0338698886, 0.0211852212, 0.0321532376, -0.0093286335, -0.0297303237, -0.001776002, 0.0675324351, -0.0489206053, 0.0071808188, 0.1015972272, 0.0321699046, -0.0424487628, 0.0332025439, -0.0144802853, 0.0088824211, -0.005767412, -0.0037229804, -0.0996739343, -0.0475641079, -0.0007450437, 0.0044812188, -0.0146539127, 0.002837484, -0.0011249374, -0.0905161723, 0.020308679, 0.0228033401, -0.01377228, -0.0016825808, 0.0011746504, 0.0401927792, -0.025479069, 0.0015002475, -0.0231936481, 0.006247249, 0.003039842, 0.0075823995, -0.0336200967, -0.0614194125, -0.063179858, -0.0233685169, 0.0954364091, 0.056518048, 0.0227807872, -0.0250659194, -0.0355728716, 0.0659843162, 0.0119337933, -0.0147553179, -0.0204745028, 0.0370283946, -0.0009722126, -0.014515087, 0.0332874097, 0.0369667374, 0.0325495675, -0.0263053793, 0.0259584021, 0.0268731005, 0.0244956948, 0.0057162903, -0.0100787953, -0.0299935676, -0.0146788321, 0.0318367109, 0.017297864, -0.0187314935, 0.0128766168, -0.0422605053, 0.005578124, -0.0268828291, -0.0321731828, 0.0095966794, -0.0535385199, -0.0718579218, -0.0692279562, -0.0424538963, 0.0347870849, 0.012446628, 0.0105322357, 0.0054761604, 0.0041790078, -0.0019696979, -0.0017792343, 0.020862231, -0.0503469743, 0.0146978982, -0.0153376292, -0.0446065888, 0.0172618665, -0.0365997367, -0.0024677201, 0.0145340953, -0.0189834014, -0.0530996621, 0.0444937386, 0.0377075523, 0.0212505721, 0.080629535, -0.0628964677, -0.0806540027, 0.0716478229, 0.076227352, -0.0594738349, 0.0288629197, 0.0576598495, -0.0430338643, 0.0058643897, 0.0249274578, -0.0439806841, 0.0437688529, -0.014688964, 0.0372093022, -0.0282053873, -0.0706794858, 0.01806481, 0.0216286816, 0.0557741225, -0.0201057009, 0.0189789105, -0.0535858795, 0.0253479555, -0.0300242081, -0.0214135684, -0.0589451864, 0.0114780106, 0.0484873392, 0.0298316907, -0.0084723048, -0.0115060816, -0.0134195676, 0.0146486759, -0.0302085951, -0.0011726189, 0.014321778, 0.021605799, 0.0275492966, -0.0052294312, 0.0070237862, 0.0249908119, 0.0075249835, 0.0079148067, -0.0352749489, -0.0035945612, 0.0109208282, -0.0204093009, -0.0675239116, 0.0483755209, -0.0405000374, 0.041884955, -0.0579220504, 0.0228621699, 0.019930413, -0.0450742617, 0.0864093676, -0.0213493742, -0.0206059497, -0.0117447758, 0.0253341608, -0.0050773574, -0.0317924432, -0.0051205959, -0.0038613719, -0.0360412374, 0.0174564254, 0.0718798786, 0.0021002884, 0.0342041589, -0.0024823679, 0.0086720977, -0.0300438758, -0.0147232125, 0.0159838535, 0.0532927662, -0.0495660715, -0.0002020988, -0.0048486311, -0.0538288057, -0.0360289887, -0.0239386391, -0.0353537612, -0.0074211149, -0.0017804672, 0.0016647349, -0.0148265269, -0.017884288, -0.0411569066, -0.0308570918, 0.0178259499, 0.0109361652, 0.0323621891, -6.476374371e-33, -0.0243223812, 0.0172571782, -0.0201563872, -0.0054553687, -0.0241233632, 0.03016885, -0.0135744503, 0.0018454465, 0.0023117426, 0.0100543732, 0.0004385909, -0.0008706136, 0.0402592234, 0.0393130295, -0.013611204, 0.00772569, 0.0654412434, 0.0219739415, -0.0060428884, 0.0147360135, -0.0862426832, 0.0245559979, 0.0223601721, -0.0849451944, 0.0082507189, 0.0243119895, -0.0422376022, -0.0106916381, 0.0114578838, 0.0523451418, 0.0015056271, 0.0628657714, 0.0030575944, -0.0004516301, -0.0301950201, 0.0264787283, -0.1074667424, -0.0125525482, 0.001138143, 0.0390843041, -0.0478230454, -0.0091387546, 0.0379178375, -0.0104845213, 0.0267243106, 0.045278009, 0.0415080674, -0.0693316385, 0.004641715, -0.0111878747, -0.0588791221, 0.0505352467, -0.0059675793, -0.0159589928, 0.0439437144, 0.0083374344, 0.0139220301, 0.0044089127, -0.087502256, 0.0294133127, 0.0653492585, 0.0601169765, 0.017294541, 0.0177938826, -0.0143108536, 0.0072688567, -0.0112106511, -0.0012512146, -0.0055147111, 0.0249352157, 0.0616667569, 0.0280167479, 0.027155064, 0.0279271919, 0.0610126555, -0.0117571605, -0.0156064238, 0.0383024365, -0.0116482489, -0.0038391463, -0.0210656058, 0.0505812094, -0.0320912674, -0.0019413104, -0.006409104, 0.0108612878, -0.0306691248, -0.0177915785, -0.0034904955, 0.0602101386, -0.0605457015, 0.0397303477, -0.0114328051, -0.0300608929, -0.0205605216, -0.0212782267, -0.008306927, 0.0338281691, -0.0295116473, 0.0070849583, -0.0473872237, -0.0324137509, 0.0488006696, 0.0021402666, -0.0081333295, 0.0022385784, 0.0563269556, 0.0292666387, -0.0806040317, 0.0095957732, 0.0131877409, 0.0020139171, 0.0249929577, 0.0082936818, 0.0169610288, 0.0169082563, -0.0302163232, 0.0454251654, 0.0643082559, 0.0240161065, -0.0225623213, -0.0262380466, 0.0230361242, 0.0036314181, -0.0318245925, -0.0104539096, -0.0069328919, 0.0047873608, 0.0257338993, -0.0530496538, -0.0240746737, -0.0174442455, 2.677e-7, 0.0491645783, 0.0274199415, 0.0413393341, -0.0452797189, 0.0053714956, 0.0287595931, -0.0173156466, 0.0259136222, 0.0067401021, 0.0283135474, 0.0389132388, 0.0125314509, 0.0403355248, -0.0215946995, -0.0563932247, 0.0008733714, -0.0298954211, -0.0049201525, -0.0549613051, -0.0213050619, 0.025967367, 0.1180094555, 0.0425669737, -0.0049278657, 0.0002633035, -0.0566882007, 0.0188464299, 0.0034840053, -0.0100858891, 0.0540200807, 0.0678829551, 0.0664461032, -0.0154878674, 0.0148975188, -0.0471294671, 0.0439304188, 0.0159786753, 0.0498405024, -0.0414162204, 0.0461823493, 0.0039112978, 0.0277449265, 0.0144429784, -0.0183416456, 0.0776453391, -0.0398081914, -0.001956641, 0.000607116, -0.0547137856, 0.0332792252, 0.0009105415, -0.0266305879, -0.0561000407, 0.0077075772, 0.0635373369, 0.0038983645, -0.0621014982, -0.0859420821, -0.0499477275, -0.0020728267, 0.0006862831, -0.0249030348, -0.0437701643, 0.0239401236, 0.0123852687, -0.0778913051, 0.033444643, 2.609562332e-34, 0.0320103504, -0.0310408995, 0.0064268922, 0.0415766798, 0.0237157494, -0.0183420442, 0.0088822851, 0.04266252, -0.0158362817, -0.0791882202, -0.0031519271 ]
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.0643432364, 0.0565779917, -0.0413192175, 0.0558702685, -0.0486605465, -0.0062579717, 0.0080234492, 0.025554277, -0.0767298639, -0.0213889983, -0.105084613, -0.0386000238, 0.0377663001, 0.0091171656, 0.0358720683, -0.0307837166, 0.0303983428, -0.0241973177, 0.0107850675, -0.016335953, 0.0060336459, -0.035484653, -0.0046330732, 0.0268191397, -0.0033847825, 0.016068818, -0.0212335568, -0.0292470232, 0.0183384269, 0.0265920255, -0.0447159223, 0.0205495227, 0.0331536978, 0.0322828479, 0.0000017992, -0.0466603898, -0.0052146898, -0.004119053, -0.0177163798, -0.0246201251, -0.0226700865, 0.003967273, -0.0291237645, -0.0378092416, -0.0127038304, -0.0747289434, 0.0461836457, 0.0058719022, 0.0003056343, 0.0240019262, -0.0198801663, -0.0486671142, -0.0124114072, -0.0018434776, 0.0229712278, 0.034496285, -0.0077275266, 0.0150071383, 0.0009537538, -0.020401461, -0.0648641437, 0.0261844695, -0.0048947311, 0.0513238795, -0.0098522389, 0.0304998811, -0.0514259115, -0.0133001506, 0.0403657183, 0.0674288943, 0.0065828618, -0.0332461819, 0.0190807898, 0.0225601792, -0.0514829345, -0.0274180882, -0.0270735696, 0.0104031116, 0.0263753459, 0.0057941289, -0.0098766526, 0.0535862483, 0.030472897, -0.0445591323, 0.0051138597, 0.0274557211, 0.0037878719, -0.0507847108, 0.0124357594, -0.0271591377, 0.0425462686, -0.011298053, -0.0092062075, -0.0339192338, 0.0170140993, -0.0023091324, 0.016746711, -0.0208581537, 0.0145999547, -0.0266675968, 0.0204315353, 0.0292586163, -0.0854958966, 0.0426025689, -0.0202418063, 0.0260641649, -0.0225887597, 0.0222517867, -0.0392764062, 0.0053056129, -0.0338544063, -0.0020204301, -0.0040251389, 0.0049593542, 0.0310215466, -0.0139119281, -0.0152247036, -0.0242573917, -0.0382778682, 0.0489747338, -0.0705456585, -0.0377152748, 0.0266767275, 0.0151949069, 0.0060367072, -0.0005446122, -0.067824617, 0.0507366471, -0.0656027645, -0.021428721, 0.0232169144, 0.0390119404, 0.0332982838, -0.0156213436, 0.0073802783, 0.019868426, 0.0316448733, -0.0068333568, 0.0046798787, -0.0407766588, 0.0007276366, -0.051001437, 0.0085221641, -0.0803758204, 0.0778452232, -0.021995008, -0.0149218887, -0.0061157946, -0.0306034107, -0.0454880521, -0.0012340319, 0.0538537987, 0.0273017529, 0.0509336591, 0.0104187867, 0.0127501842, 0.0139423879, 0.0108670481, 0.0305940751, -0.0644838139, 0.0589088351, -0.0579119585, -0.0103782397, 0.046182286, 0.0055645155, -0.0065395706, -0.0361132994, -0.0124492673, 0.004042618, 0.0234073736, 0.0462841988, 0.0314889513, -0.0456616804, -0.070234336, 0.0302846041, 0.102819927, -0.0173083059, 0.0187169816, 0.0501808748, 0.0068459883, -0.0029902344, 0.0764733553, 0.0215912554, -0.006150749, 0.0272613727, 0.0292418581, 0.0799889714, -0.0032042279, -0.0365482941, 0.0208877381, -0.0023974706, -0.0346208476, 0.0141088609, -0.0191186089, 0.0300038829, 0.004900225, 0.0121539356, 0.0640891865, 0.0034250887, -0.0168678071, -0.0156668443, -0.0149460714, 0.0454853252, -0.0208361484, -0.0240277778, -0.0473173186, 0.049929332, -0.0299654789, 0.0092032505, 0.0479957946, 0.0195086058, -0.0158997681, 0.0597747862, -0.0154525246, -0.0004182046, -0.0039369762, 0.0302943215, 0.0457804948, -0.057857208, 0.0155057888, -0.0023418402, -0.0734787136, 0.0165808536, -0.0164942648, -0.0350264981, -0.0300456975, 0.013604071, 0.0435822085, 0.0566709414, 0.0610419065, -0.0666607916, 0.0174141861, 0.0166266486, -0.0581661537, 0.0298568755, 0.0464141592, -0.0496248417, 0.0131435189, 0.0271337982, -0.0375744142, 0.0297681466, 0.0059443959, 0.0243495777, -0.0271862186, 0.0779392943, -0.0353825502, 0.1123228222, -0.0579806305, 0.0120940339, -0.0453356802, 0.0304768607, 0.0509266704, 0.0050774445, 0.021303216, 0.0502529889, 0.008788106, -0.0184637792, 0.0621352717, -0.0244236924, -0.0305691473, 0.0708571523, -0.0239071324, 0.01620779, 0.0032397148, -0.0587858744, -0.0159243438, 0.0497579575, -0.071266152, -0.0123645598, -0.0440555774, 0.0115964301, -0.0168922804, -0.0077875555, 0.0116736991, 0.0080087334, -0.0465676859, -0.0484988801, 0.0064017791, 0.0449425094, -0.0363455079, -0.0103659378, -0.0501915403, -0.0225778893, -0.0256819576, 0.0146795698, 0.033039473, -0.0564052053, -0.0128235901, -0.0072828317, -0.0325063989, -0.0372034349, -0.0016577381, 0.0068288753, -0.0148033164, -0.0238436982, -0.018455822, 0.0385921784, -0.006564491, -0.0567447841, -0.0190191343, 0.0937136412, -0.0099321483, -0.0523144864, -0.0220399015, -0.0036396668, 0.0402471125, -0.0468622185, 0.0139034819, -0.0241425019, 0.0485284589, 0.0515096076, -0.0087593133, -0.0090874331, -0.0097231735, -0.0481480807, -0.0282208454, -0.0387684405, -0.0519831628, -0.0372700244, 0.0785028711, -0.006715945, -0.0235186387, 0.0391184799, -0.0695390031, -0.0209026635, -0.0210872833, -0.0557889082, -0.0129119288, 0.0433104225, 0.0076738126, 0.0275119152, 0.005382596, -0.0202623252, -0.036833562, 0.0281070303, 0.0218973942, -0.025289448, 0.012300157, -0.0028550385, -0.014946416, 0.0043260115, -0.0040099798, -0.0171641726, 0.0034163499, 0.007204026, 0.0342718288, -0.0227002688, 0.0011971026, -0.0115474276, 0.0498270281, 0.0379267782, 0.0157634802, -0.0011680584, 0.0242163558, -0.0067094378, 0.1003105342, 0.0084493766, 0.0413257293, 0.0089635635, -0.0153392563, 0.0225806739, -0.0195669942, 0.0038748784, 0.0393376946, -0.0272017773, 0.03544949, -0.013631775, 0.0288145617, -0.0510610938, 0.0059263404, 0.0158494823, -0.0239746291, -0.0043041939, 0.0891685784, 0.0018637739, -0.0245616566, 0.0293828845, -0.01849504, -0.0162134115, 0.0058706556, 0.0139522348, -0.0418913737, 0.0246386193, 0.0262067076, 0.018566126, 0.0031475697, 0.0278960019, 0.0097610643, -0.0883143246, 0.0421681441, -0.0062897974, -0.0745596439, -0.0442454778, -0.0621717647, 0.0254062545, -0.0021851808, 0.0467090681, -0.0485662259, 0.004459627, -0.0404390618, -0.0113462396, -0.1018503457, -0.0473667867, 0.0436691195, -0.0359915644, 0.0786957666, 0.0235597882, 0.0564441085, -0.0558139533, -0.0434110984, -0.0087819677, -0.0409961604, -0.0180621017, 0.0237620864, 0.0487399846, 0.0503528789, -0.0094253952, 0.0691458657, 0.0221114904, 0.0387750715, -0.015621027, -0.0245226398, 0.0638650879, -0.0218961705, -0.0068120928, 0.0064925943, 0.0333847813, -0.001036205, 0.0704142004, 0.058087457, -0.0208256748, 0.0232408959, 0.0160761196, 0.0320560522, 0.006497859, -0.0355789773, -0.0000970004, -0.0328945145, -0.0589714386, -0.0529195368, -0.0142632416, -0.0219504368, 0.0127486046, 0.0159942321, 0.0050723781, 0.0145029845, -0.0232135002, -0.0425958, 0.0230714269, 0.0207809675, 0.051877778, 0.0175880808, -0.037485335, 0.0210280027, -0.0335897356, -0.0378948152, -0.0045230803, -0.0193461999, -0.0520826504, 0.0214183293, -0.004942413, 0.0110159377, 0.0630448759, 0.0081846481, -0.0124397809, 0.0545133352, -0.0353186205, -0.0502730608, 0.0475794189, 0.0476470403, -0.0049756719, -0.0086193075, 0.0494450592, -0.0570017211, 0.0528109968, -0.0090745129, -0.0136626363, -0.030344367, -0.0075089098, -0.0106773237, -0.0191257317, 0.0211500004, 0.0096512949, -0.0047674445, -0.0300209895, -0.0027468666, 0.0061066481, 0.0327141099, -0.0060106027, -0.0416669026, 0.026725702, 0.0412164181, -0.0181202721, 0.0559350997, -0.036242269, 0.0139323259, -0.0093999328, 0.035670612, -0.0065222234, -0.0033131519, -0.013888061, 0.044094719, -0.0044030435, 0.0227186065, 0.0031252629, 0.0286896843, -0.0167278554, 0.0103614768, 0.0040644715, 0.0092563694, -0.0049374723, 0.0277984869, -0.0283382814, -0.0058198799, 0.0287282765, -0.0185091626, 0.0232872758, -0.0699839741, 0.0401664451, -0.0207141135, 0.0265863761, -0.0150258364, 0.0169549771, -0.0236594807, -0.008677844, 0.0087733949, 0.0153624639, -0.0345196836, 0.0481030494, 0.0425828286, -0.023377033, 0.0159984902, -0.0463063754, 0.0430994704, -0.0149918776, -0.0019112026, 0.0147118466, 0.0339327566, -0.0574995093, -0.0325445458, -0.0203934256, -0.0735426471, -0.0062103639, -0.008004128, -0.0142048365, 0.0161757059, -0.0014951421, 0.0168232825, 0.0034916531, 0.0348116234, 0.0327036567, -0.0736640766, -0.0256551225, 0.0202451628, 0.0416561514, -5.79936493e-33, 0.0081266314, 0.0057106679, -0.0458424538, 0.0066957269, -0.0074228756, 0.029050909, -0.0558318198, 0.0078671798, 0.0057508089, -0.0158384349, 0.0386519097, -0.0118326023, 0.0126256002, -0.0251094252, 0.0228924882, 0.0105633615, 0.049634885, -0.0203380175, 0.0199064799, 0.0046283663, 0.0327286758, 0.006287389, 0.0334721468, -0.1058295071, 0.00472847, -0.0209344868, 0.0361357033, 0.0008239819, 0.0405444875, 0.0840951577, -0.063128449, 0.0384592377, -0.0075979782, -0.0384677425, -0.0384775549, 0.0171423927, -0.0672579706, -0.030179821, 0.0088276751, 0.0560928285, 0.012710575, 0.0219873786, -0.0059893336, 0.009433941, -0.0063707856, -0.0057846843, 0.0437234789, -0.0261971802, 0.0101031354, -0.0394567288, -0.0663595647, -0.0038329007, -0.0287338085, -0.0001592622, 0.1492688209, 0.0511284024, -0.0154828345, -0.041792199, -0.0586904474, 0.0488727242, -0.0240845587, 0.0213936791, 0.0677705258, -0.007120301, 0.0090488903, 0.0508959293, 0.1037525758, -0.0691291317, 0.0388516337, -0.0024463993, 0.0463764146, 0.032653939, -0.0463926345, 0.0484832413, 0.0396619029, 0.0125647495, -0.003618188, -0.0252949037, 0.0292256251, -0.0052645323, 0.0083816303, 0.0257612728, -0.0148289939, 0.0011500511, -0.0366895311, -0.0388144627, -0.0220051575, -0.0260000266, 0.0283366907, -0.0385516025, 0.0328317098, -0.0184883829, 0.071296379, -0.0410102569, -0.0121216113, -0.0209247377, -0.0089382017, 0.0148908114, 0.0341378711, -0.0065010102, -0.0200577937, -0.016656952, 0.043028865, -0.0114542358, 0.0695820898, -0.0285157897, 0.0127617614, 0.0353492573, -0.0474827364, 0.0163136497, 0.0255783591, -0.0754252225, -0.008340124, 0.0001835895, 0.0277323592, 0.0476285517, -0.0082788877, 0.039822448, 0.0263876393, 0.0233599488, -0.0020985801, -0.0241471808, -0.040000394, 0.0476654246, -0.0448907912, -0.0288091097, -0.0229521953, -0.0422428846, 0.0922014713, 0.003878969, -0.0076747513, 0.0053001996, 2.754e-7, -0.0421993323, 0.013912702, 0.0234657545, -0.0314465687, 0.0252759866, 0.0045948555, -0.0771183744, 0.0143054202, -0.0410868414, -0.0423164815, 0.0274328664, -0.002709659, 0.105665423, 0.0798147246, -0.0841170847, 0.0311628412, -0.0675813034, -0.0098212762, -0.0778794214, 0.0094124405, 0.0287050027, 0.0885118097, -0.0313322209, -0.0219667442, 0.0133287571, -0.0223126337, 0.0143726701, -0.056717325, 0.0096948529, -0.0247027241, -0.020462634, 0.0039471923, -0.0254912227, 0.0058913231, -0.0083861388, 0.0568121076, 0.0305839125, 0.0259076543, 0.0186181087, -0.0469389968, -0.0163616464, 0.0508732051, -0.035957545, -0.0101121822, 0.0438805446, 0.0215850547, -0.036233522, -0.010649059, -0.0354731977, 0.0360482819, 0.0380162895, 0.0168070141, -0.003887288, 0.0026706103, 0.0274307616, -0.009288853, -0.0247530807, -0.027145803, -0.0005466845, 0.0797408298, -0.0697232261, -0.0581802875, 0.0181472953, -0.0270675328, 0.0516553223, -0.0516136587, -0.0141781205, 2.047057061e-34, 0.0223093443, -0.0157695524, 0.0086532068, -0.0010577043, -0.0144250225, -0.0711872205, 0.020337427, 0.0128970128, -0.0002232256, -0.0318644345, -0.0087753944 ]
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.0605188049, 0.0483179241, 0.000870985, -0.0118314289, 0.0014735777, 0.064486891, 0.0103171533, 0.0146815814, 0.0446896553, -0.057046067, 0.0300259981, -0.0329783037, -0.0596305244, 0.0652151331, -0.0298604164, -0.02911276, -0.0057073133, 0.0329481885, 0.0193902124, -0.0000485305, -0.008172988, 0.0161902234, 0.0097475732, 0.0277093537, 0.0049322625, 0.0094776712, 0.0549804494, -0.0008252269, 0.0208171029, -0.0352600738, 0.0633712709, 0.0281035136, 0.0008496562, 0.0424510166, 0.0000020743, 0.0269345026, -0.0228034556, -0.0024770889, -0.0145449936, -0.0302561019, 0.0383982845, -0.0976101831, 0.0199492127, 0.0352366753, -0.0166815575, -0.0157656558, 0.0745792687, 0.0848106295, 0.0505935065, 0.0578857772, -0.0246385988, -0.0621873252, 0.0064457506, 0.0173334517, -0.0103027364, 0.0203177277, 0.0511450395, -0.0595831573, -0.0138529809, 0.0134583954, -0.0009467602, 0.0629464164, 0.0312144812, 0.0142980311, 0.0370605215, 0.013648564, -0.0311769135, -0.0554771647, 0.0369856693, 0.0445642397, -0.0047346395, -0.028551111, 0.0214754771, 0.0035042197, -0.0255735461, 0.0471794941, 0.0024007985, -0.0077733248, -0.011078815, 0.0403404534, -0.0077903206, 0.0165095776, 0.0378655642, 0.0431097932, -0.0128498627, 0.0222472716, -0.0099820457, -0.03377885, -0.0048497878, 0.0024586257, -0.0205002949, -0.0488124639, 0.0444341488, 0.0033307842, 0.0075934445, -0.0054716798, -0.0197535865, -0.0602445453, 0.0153108248, -0.067527093, -0.0164012797, 0.0216586962, -0.0401565991, -0.0430299491, -0.0049672555, 0.0039583431, -0.0366544724, 0.0600723885, -0.0048190681, 0.0181576312, -0.0611333735, 0.0048965709, -0.0051479819, 0.0074359369, -0.0300511066, -0.030241685, -0.0397373587, 0.0006604554, -0.040499799, -0.0444480814, 0.0207001846, 0.0633291528, 0.0255944561, 0.0281288009, 0.0363739133, 0.0476811528, 0.0185563676, 0.0187401231, -0.0255209822, 0.0190633349, 0.0415065661, -0.0163884703, 0.0358152799, -0.0320771933, 0.0209890362, 0.0327534713, 0.0217990614, -0.0649740919, -0.0373240858, 0.0144586591, -0.0483600199, -0.0180298742, 0.0186725426, -0.034048155, 0.0020706467, 0.0404013023, 0.019303441, -0.0133242244, 0.019211797, -0.0022464241, -0.0210563019, 0.0346456505, 0.0066071148, 0.0223575141, 0.0673671439, 0.0283177476, 0.0213199072, 0.0597860664, 0.0586182885, 0.0644648895, 0.0222264379, -0.0603862852, -0.0116616264, 0.0048419298, 0.0074501513, -0.0185329169, 0.0227492247, -0.0168912653, -0.0648613349, 0.0139892614, -0.0488101579, 0.0567430109, 0.0057697836, 0.004546633, 0.0486364476, 0.0355334245, 0.0346085876, 0.078302905, 0.0168637633, 0.0452341996, -0.010763769, -0.0436470471, -0.0089562079, 0.0204811599, -0.0044943439, -0.0396705754, 0.0080466457, 0.0231452938, -0.0443530381, -0.014737648, -0.017285794, -0.0376606397, 0.0550633334, -0.0237703007, 0.0192169938, -0.0253180936, -0.0531929657, 0.0446485206, 0.00984836, -0.0311610773, -0.0160738397, -0.0492122918, 0.0079574799, 0.0611099824, -0.0007982106, -0.0134193022, -0.0057508294, -0.0467783473, 0.0247072801, 0.0197066106, -0.0226558279, 0.0242568851, -0.0269887, -0.0103563499, -0.0174938627, 0.0018985416, 0.0171055179, -0.0407061465, -0.0188203994, 0.0484962948, -0.022306148, 0.0442453735, -0.0511327833, 0.0094106188, -0.0161537174, -0.0311389677, 0.039794594, 0.0218413156, 0.0243825708, 0.0485588647, 0.0110332491, -0.0173662771, -0.0050061261, -0.0133179072, -0.0823457614, -0.0036763535, 0.0054730121, 0.0059884111, -0.0233440064, -0.0387043804, -0.00374629, 0.0798505098, -0.0407399237, -0.0094499113, 0.0429158583, -0.0716694966, 0.0325879082, -0.0171191413, -0.013807469, -0.0460734144, 0.0067888703, 0.0348603874, 0.0494055636, -0.0440921672, 0.0085963989, -0.0275505595, -0.0946075469, -0.0274326466, 0.014147656, -0.0266224518, -0.0273077209, -0.0130295474, 0.0082301637, 0.0275262576, -0.0079007037, 0.0064122495, -0.0294416137, -0.0857590511, 0.0019151992, -0.0576359369, -0.0099823195, -0.0252522118, -0.0113787446, 0.0141387396, 0.0211349521, -0.0029686231, 0.0046755364, 0.0182380732, 0.0352934897, -0.0028703082, -0.0108200265, 0.0016133647, -0.0118132103, -0.0185917411, -0.0459887534, 0.0485197082, 0.0251628794, -0.061704345, -0.0085642096, -0.045883555, -0.0131953508, -0.0302259084, 0.0264118109, -0.0659869388, -0.0215361509, 0.0378933772, -0.015919188, 0.0035984337, 0.0496915057, 0.0842636749, -0.0067868829, 0.0585141666, -0.0061679604, 0.0016802516, -0.0315603837, -0.0245860945, -0.035173934, -0.0584376417, 0.0178893097, 0.0447648689, 0.0134138418, 0.0112685561, -0.0464412682, -0.00450393, 0.0146787567, 0.0065382803, -0.0214485303, -0.0304024611, 0.0038835704, -0.0072990921, -0.0128513323, -0.0240367763, 0.0545798875, 0.015329551, 0.0090885321, -0.0180786103, -0.0565549582, -0.0181415454, 0.00073221, 0.0424163267, 0.0694627613, -0.0093496991, -0.0136754569, 0.0734500885, -0.0028904639, -0.0299983155, -0.0356450826, 0.0412132554, 0.018158488, -0.0111391842, 0.0115197515, -0.0294197518, -0.03384386, -0.0596242398, -0.0204818193, -0.0283771679, -0.0018654735, -0.031016646, -0.0697953999, 0.0246243291, -0.0154214194, 0.0342503861, -0.0040382305, -0.0185803175, 0.0089650201, 0.0075243795, 0.0268823616, -0.0461693965, -0.0175138097, -0.0054554362, 0.0136296498, 0.0457913913, -0.0568384714, 0.0340699777, -0.0417822376, 0.0015208741, 0.0097685568, -0.037454579, 0.0139936469, -0.0194591284, 0.0260543972, -0.0090518892, -0.0078685265, 0.093648918, 0.0177536476, -0.050205145, 0.0079992302, 0.0255158991, -0.0483164601, -0.0130498316, 0.0003017711, -0.0674630031, -0.0292873457, -0.0577418432, 0.0319970883, -0.0532960258, -0.02845213, 0.0442466401, -0.0182779748, 0.0069118496, -0.0125739891, 0.0245655514, -0.0651964322, -0.057723701, -0.0095858919, -0.0269320812, 0.0076410994, -0.048066359, -0.0185648799, -0.0078081749, 0.0185890477, -0.065366976, -0.0627387166, 0.0288347397, -0.0243852641, 0.0055114781, -0.0013262598, 0.0561317764, -0.0237727836, -0.0538200438, -0.0026851702, 0.0326875299, -0.0028725569, -0.001148722, 0.0528868474, -0.0123812202, 0.002999038, -0.0255641136, 0.0124705378, -0.0672143698, -0.0180092622, -0.0548639931, 0.1081217676, -0.0248869378, -0.0529250205, -0.0468878448, -0.0171156209, 0.0211327691, 0.0704107583, 0.0411531813, -0.0352874994, -0.0161746331, -0.0364840329, 0.0150143513, -0.0210046861, -0.0165500492, 0.0288591851, -0.0143491635, -0.0852791891, -0.0254426152, 0.0183919687, 0.0251465291, -0.0574656054, -0.007254099, -0.0464126021, 0.0342885107, -0.0312977359, -0.0695603713, 0.0249242391, 0.0267266203, 0.0338756107, -0.0148918265, -0.0499405935, 0.0656610727, 0.016842775, -0.0110819079, -0.0044327816, -0.0169520117, -0.028562732, 0.0215964522, 0.0183886234, 0.0136222355, -0.0322472006, 0.0114356969, -0.0414914526, 0.0290137138, 0.0966621563, -0.030551495, -0.0500236489, 0.0077367024, -0.0291973259, -0.0077799615, 0.0175714716, -0.0147467609, 0.0274464265, -0.0296851229, -0.0393148847, -0.0791934356, -0.0266433209, -0.0292800292, -0.0088192103, 0.0581653081, 0.0123621048, -0.0866507068, -0.0043799547, -0.0389418006, 0.022855429, 0.0145843178, -0.020606475, -0.0180859789, 0.0837870836, 0.0187509544, -0.0461331159, 0.0101757031, -0.0333682932, -0.012322247, -0.0639512315, 0.0782787725, 0.0087348046, 0.0327310115, -0.0156757031, 0.0209996272, -0.0359709784, -0.0121008744, 0.0483616553, -0.0235988982, -0.0105432933, 0.0480809435, -0.0059214281, 0.0683700368, 0.0023347843, 0.0508615412, -0.0369748138, -0.0165083818, -0.046587117, -0.0823111758, 0.0089930156, -0.0308497921, 0.0415296108, 0.0109653994, -0.0261189919, -0.0088405926, 0.0373056121, -0.0513410084, -0.0306086056, 0.037187878, -0.0194536541, -0.0133160995, 0.0054210168, 0.0421361849, -0.0160126463, 0.0115881618, 0.0698726624, -0.0395079665, -0.0097474661, 0.0132242646, 0.0293807629, -0.0037262111, -0.0050715706, 0.0357431062, 0.0017836326, -0.0533493906, 0.0559138954, -0.0828806907, 0.0084969513, -0.0297989044, 0.0359477773, 0.0352844968, 0.0277900752, -0.009807623, -0.0302069169, -0.0071422942, 0.0090154028, -0.0236029755, -0.0373319536, -6.249734652e-33, 0.0487396121, -0.0360453576, -0.0151232164, -0.0041171568, -0.0256423708, 0.0105259474, -0.0170270447, 0.0045185499, 0.0339382254, 0.0164203495, 0.0344478823, 0.0354304761, -0.0111473631, 0.0490954146, 0.0058857249, -0.0560351722, 0.0367082432, 0.0012577454, -0.0083321044, 0.0400865972, 0.0264179185, 0.0364624597, 0.015466989, -0.088396281, 0.0186762419, 0.0170157962, 0.0305627771, 0.0005618996, 0.0575678162, 0.0314414166, -0.0342469104, 0.0957851931, 0.0389315858, -0.0277633686, 0.0401897766, 0.0714363977, -0.0422163382, -0.0161889941, -0.0462262593, -0.0306825936, -0.0167217832, -0.0415322594, 0.0670964569, 0.0339068994, -0.0279577747, -0.0179043561, 0.0608838424, -0.0031541886, 0.0516708121, -0.0071610427, -0.0034131396, -0.0064093764, -0.0459853783, -0.0101868697, 0.0330611207, 0.0574736819, -0.0060218987, 0.0289288685, -0.0799697489, -0.0037737978, -0.0004761124, -0.0337770656, 0.0102974651, -0.046038039, -0.0157191623, 0.0347549506, 0.0026136225, -0.012397117, -0.0505036265, 0.0328685306, -0.0384486914, 0.0640493259, 0.0662648305, 0.0189953614, 0.0417132378, -0.0491219275, -0.0424012989, 0.0456777588, -0.0071159555, -0.000247148, 0.0011949936, -0.0270170756, 0.0094586331, -0.0244833492, 0.0278298184, -0.0407751463, -0.0113424622, -0.0199009106, -0.0397747159, -0.0094879931, -0.0291119944, 0.0661807731, -0.0017517321, -0.036615584, -0.0137585904, 0.0356546193, 0.0366626084, 0.0422152691, 0.0202487614, 0.0120497616, -0.0398377143, 0.0087599289, 0.0080735832, 0.0355476402, 0.0368282869, 0.0054377159, 0.0307353586, 0.0265314337, -0.0116277747, -0.0047442177, 0.0085233143, 0.0003464016, -0.0328728333, 0.0621677972, -0.0452241562, 0.0464344732, 0.0121012302, 0.0300246235, 0.0185720399, 0.0671535805, -0.0342783481, -0.003703492, -0.0031708127, -0.0133815249, 0.0135974986, -0.0271635801, -0.0470823906, 0.064181678, 0.0239733011, -0.123948276, 0.0108058117, -0.0309001524, 2.812e-7, 0.0748314187, 0.069163762, -0.0029195906, -0.015046576, 0.042922128, 0.0296418648, 0.0434419252, 0.0531717278, 0.0329736136, -0.0097740619, -0.0138847781, 0.0462833345, -0.0044389572, 0.0517756008, 0.0063557001, -0.0165510401, -0.1124046892, 0.0311064199, -0.0425466858, 0.023593707, 0.0375789665, 0.0554156378, 0.0125705842, -0.032401368, 0.0186045729, -0.01149798, 0.0589817017, -0.0388472974, 0.0369976163, 0.0163790341, 0.0327195488, 0.0217609722, 0.045776926, -0.0383533686, -0.0352297351, -0.0177481472, 0.0167665202, 0.016504867, -0.0357140079, -0.023439467, 0.0205398183, 0.0054480713, -0.010872798, -0.0279555358, 0.0530735999, -0.1076974273, -0.0571383312, 0.0243706163, -0.0215215869, -0.0019682075, 0.0313956365, -0.0212709401, -0.0166685414, 0.0457496531, 0.0400295705, -0.019269377, 0.0283631012, -0.0881865248, 0.0206438974, -0.0141289113, -0.0420735441, 0.0295718517, -0.012498782, -0.0286648367, 0.0405828133, -0.0349257402, 0.0510289222, 2.221791311e-34, 0.0317826159, 0.0125288619, 0.0016642011, -0.0094070453, -0.0286428444, 0.0246500466, 0.0223470666, -0.0309600215, -0.0302415956, -0.0853393525, 0.0025331648 ]
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.0940176621, 0.0279059112, -0.0243981052, 0.0128814848, -0.0478777215, 0.0164933149, -0.0055999276, -0.0024757162, 0.0619512089, -0.0228475612, -0.0399781205, -0.064018555, 0.0258705262, 0.0122066, 0.0221291296, -0.0756493583, 0.0261159409, -0.0095910104, 0.047631897, 0.0132080801, 0.0158083215, 0.0090814317, -0.0916633159, 0.0711822137, -0.0054632039, -0.0266980492, -0.0081254449, -0.0140500152, 0.007580237, -0.0652410835, -0.0017330223, 0.0201299079, -0.0256345794, -0.0168741811, 0.0000019097, -0.0280089825, 0.0295889843, -0.0033848404, -0.0382861197, -0.0385520309, 0.0604539849, -0.0176555179, -0.010206528, 0.0309079699, -0.038691517, 0.0027124933, 0.0209086761, 0.0333364569, 0.0808601528, 0.0707414001, 0.0007358363, 0.011660737, 0.000862365, 0.0020596848, -0.0183197912, -0.0531155467, 0.0008608064, 0.0391879156, 0.048582539, -0.0085257581, -0.0105053969, 0.0312899686, -0.0176835079, -0.0208163671, 0.0045908056, 0.0355199911, -0.0463075079, -0.0275706109, -0.0199513976, 0.0688407198, 0.0293772891, 0.0152972378, 0.0159173273, 0.0095822839, 0.0323553309, -0.0116374269, -0.038146168, -0.0082405135, -0.0176064633, -0.000085332, 0.0064700404, -0.0150002372, 0.0044687828, 0.0045473482, 0.0177764148, -0.0191663392, -0.011855456, -0.0211364385, 0.0333520472, -0.0036522308, -0.0036758559, -0.0542609468, 0.0192636065, 0.0488816611, -0.0976421535, 0.0271146391, -0.0198711883, -0.0199498665, 0.0454583056, -0.0397936366, 0.0339989476, 0.0181275643, 0.0098100193, 0.0303915665, 0.0332659893, 0.0209930558, 0.0150822746, 0.0281246509, -0.0268482156, 0.003132557, -0.0913107097, -0.0206327625, -0.0321452655, 0.0328893289, -0.003943875, -0.020744415, -0.0621827878, -0.0143796643, -0.0240351819, 0.0428806432, 0.0018891083, 0.0158568732, 0.0057548471, 0.0214288644, -0.028644735, 0.0405532233, -0.0012138003, 0.0182464961, 0.017343916, -0.0781089365, 0.0146123562, 0.0043814597, -0.0171349198, 0.0184075721, 0.0029682454, 0.0475540273, -0.0242525637, -0.0213896018, 0.0187910497, -0.0257105846, -0.0346795693, -0.0466173664, 0.0031724272, -0.0650392175, 0.0308005139, -0.0159045942, 0.0307720639, -0.0416115746, 0.0372108966, 0.0273022745, -0.0542236865, 0.0685824454, -0.0445130691, 0.0333776027, 0.0432006158, 0.0397730209, 0.0027473629, 0.0352700353, 0.0324048325, -0.0535086021, 0.0145331491, -0.0219094269, 0.0191574506, 0.002713898, 0.0154426983, -0.0495000631, 0.0256746095, 0.0244257879, 0.0036167463, 0.1068441868, -0.0622122213, 0.085183166, -0.0185066238, 0.0218535773, 0.0296665002, 0.083708778, 0.0023256259, -0.0001311225, 0.034364447, 0.0130050294, 0.0287101492, -0.0188581347, 0.0010102877, -0.0164554603, 0.0210270658, -0.0232337844, -0.0096864244, -0.0116563439, -0.0427606255, -0.0648111776, -0.0358833522, -0.014495478, -0.0187829882, -0.0184399504, 0.0220365617, 0.0080929929, -0.0238145217, 0.0406429954, 0.0421673171, -0.0582960546, -0.0244513322, -0.0536984392, -0.0072614085, 0.087810047, 0.0629909262, -0.0342158601, -0.0565647259, -0.0192404632, 0.0151845692, 0.0383062921, 0.0561763719, -0.0282607172, -0.0005980912, -0.0470084995, 0.0112530831, 0.0380063206, -0.0005030137, -0.0438723154, 0.0017028392, 0.0118854493, -0.0291662104, 0.0328432471, -0.0445009023, 0.0357607007, -0.0397140346, -0.000526798, 0.009487791, -0.0298344772, 0.0484062843, 0.0551596358, -0.0231949259, 0.0223762821, 0.0267580282, -0.0103873704, -0.0280410405, 0.038069658, -0.0478161797, -0.0576137155, 0.0268242266, -0.0448952429, -0.0227123275, -0.0028121579, -0.0097529218, -0.0336605236, -0.0087726228, -0.0651910231, 0.029377576, 0.0296488777, 0.0367864482, 0.029197013, 0.0072249584, -0.0057173469, -0.003338425, -0.0142968828, 0.0100318361, 0.0181093477, 0.0128559303, -0.0200640745, -0.0479707159, 0.0017151631, 0.0283175725, -0.0008480518, 0.014237579, 0.010383537, 0.0492826477, -0.0466806404, -0.0446982384, -0.1666184664, -0.0155269103, 0.0140729919, -0.0208326112, 0.0025183614, 0.0084031802, -0.0060662688, -0.0081780134, -0.040295437, 0.0192054939, 0.0367481783, 0.0027514731, 0.0198342502, 0.0292982776, -0.0171905849, -0.0400309414, 0.013349738, -0.0453446396, 0.0128169544, 0.0134185608, -0.0191261582, -0.0030313646, 0.0043787109, -0.0331325978, 0.0042175814, -0.0303713679, -0.0414238349, 0.043921385, 0.0091803409, 0.0164363477, 0.0407812111, 0.0228724014, 0.038104225, 0.0137484372, -0.0183821358, -0.037885718, 0.0298546813, -0.0017207285, -0.0546765327, -0.0450123064, -0.0418612659, 0.0063388427, 0.0788262933, 0.0193320736, 0.0183390807, -0.0460235439, -0.0067978897, -0.0225875694, 0.0159970485, -0.0498939417, -0.0006545144, -0.0231029149, 0.0254221596, 0.0125543531, -0.0055853734, 0.0866815969, -0.0216137469, 0.0089706909, -0.0937649682, -0.0357175805, -0.0538286045, 0.0315518826, -0.0194512289, 0.0069722664, 0.0222454891, -0.0082098655, 0.0080129365, 0.0321803987, -0.0207345709, -0.0630269051, 0.0142220194, -0.058760643, 0.0085389884, 0.039812535, -0.037156973, -0.0489389747, 0.0100261169, -0.0540544726, 0.00772424, 0.0695642605, 0.0127006248, -0.0497695506, -0.0072578676, 0.0164957102, 0.0598538257, 0.0384185761, -0.0223745611, -0.0080703339, -0.0091199316, 0.0141288191, 0.0159099717, 0.0085027898, -0.0073034908, 0.0763366744, 0.0632329658, 0.0337343924, 0.0148098459, -0.0057904967, -0.0248671621, 0.0009502168, -0.0018136307, 0.0014654255, 0.0345718302, 0.0373393148, -0.0293428618, -0.0467379689, 0.1097814068, 0.0451811925, -0.0636207387, 0.0324172825, -0.0158612374, -0.0117715718, -0.0037140804, 0.0085424073, -0.0820346922, -0.0367511697, -0.0184660126, 0.0223231222, -0.0216398649, -0.0281984136, 0.0131298332, -0.0977361575, 0.0223094448, -0.0017505797, -0.0055072764, -0.0392302275, -0.0187204387, 0.0003285259, 0.0105903232, -0.018095104, -0.0063422527, -0.0061620022, -0.0131436642, -0.0081909942, -0.0666518956, -0.0628926307, 0.0215154104, -0.0162815992, 0.09609586, 0.0717056617, 0.0585386418, 0.0206017457, -0.0047739665, 0.0187406801, 0.0525416546, 0.0043534576, -0.0124156754, 0.0665035024, -0.0004030786, 0.0044200048, -0.03113712, 0.0540808029, -0.0544789806, -0.0074984697, 0.0433067642, 0.052627027, -0.0387932099, -0.0069187339, -0.0156851746, 0.0885809958, 0.0484808609, 0.0420195386, 0.007120871, -0.0143603636, -0.0131679075, 0.0012047755, 0.0245615989, 0.0437618457, -0.0578890517, 0.0227368064, 0.0164881516, 0.0436710753, -0.0599787273, -0.0490759499, 0.0425584801, -0.0069509321, 0.0087644281, 0.0200229455, 0.0270552747, 0.0410626121, 0.0045774519, 0.0210751146, 0.01370137, 0.0344921909, -0.0733761415, -0.0555247068, 0.0318442993, -0.0121729383, -0.0164045803, 0.0481303334, -0.0348668061, -0.0306596681, -0.016074378, 0.0565719604, 0.0165083632, 0.0288307965, 0.0084024193, -0.0285183396, -0.038723968, 0.0276772603, -0.0769061819, -0.0063226144, -0.0039238217, 0.0537658781, 0.015731534, 0.0300184451, 0.0075350888, -0.0017150693, -0.0118554141, 0.0520485528, -0.0179845523, -0.0459147505, 0.0063303052, 0.0197149646, 0.0215111747, 0.0063030985, -0.0011925761, -0.0144001273, 0.0338214636, -0.0391121767, -0.0119694434, -0.0551131926, -0.0032457551, 0.0004133036, -0.028722534, 0.0163954291, -0.0280572716, -0.0612919554, -0.0066747949, 0.002565349, 0.0342407785, 0.0244339369, -0.0122343479, 0.0299555454, -0.0164762028, 0.006922367, 0.0264436733, 0.0043355701, 0.0199712012, 0.0170112643, 0.1088221297, 0.0114618409, -0.0175277255, 0.0332258046, 0.0256746337, -0.0291622225, -0.0800974518, 0.0032234956, 0.0466775708, 0.0531499535, 0.0308733396, 0.0097839162, -0.0614654943, 0.0342918932, 0.0032504343, 0.0396748297, -0.0412148014, -0.0236395188, 0.0451569781, -0.0034623956, 0.0138720367, -0.0117010241, 0.0866600871, -0.0155420527, 0.0324107148, 0.0052448865, -0.0204308815, -0.0676885098, -0.0074468553, 0.0246445257, 0.0248517375, -0.0464774407, 0.0438150689, -0.0599882863, -0.046396967, -0.0050931964, -0.0045605316, -0.008998015, -0.0412253141, 0.0738985911, 0.0223461911, -0.0044380557, -0.0093687708, -0.0401871465, 0.0516820811, -0.0068476931, -0.0251945779, -0.0212924164, -5.292105322e-33, -0.0237684902, -0.0427980609, 0.0503868423, 0.0327058323, -0.0035900348, 0.0066742641, -0.0232607294, 0.0252414215, -0.0030926585, 0.0287890956, -0.0160506554, 0.0281688832, -0.0073119593, 0.0443249419, 0.0078441938, -0.0330578163, 0.0279491879, 0.0026570598, -0.0111641195, 0.0199975781, -0.0428992584, 0.0507499725, 0.0277568512, -0.1055460498, 0.0319828428, 0.0001642365, 0.018858768, 0.0254555196, -0.0063100629, 0.0373513103, -0.0259490311, 0.0385109857, 0.033719752, -0.0268021431, -0.0019629728, 0.0021581654, -0.0399156325, -0.0283299461, 0.0249281097, -0.0164593793, -0.0730085596, -0.0203025211, 0.0075639589, -0.0125643732, -0.0415090621, 0.0048863795, 0.0113695553, -0.0212654546, 0.0090792691, -0.0003523872, -0.0497576706, 0.0377723351, -0.0442024358, -0.0559217855, -0.0363824219, 0.0315829292, -0.0486510769, -0.0087609468, -0.0194491893, 0.0248462036, 0.0411899574, 0.0165788922, 0.018016763, -0.0441284105, -0.0192039423, 0.0555774868, 0.0291553959, -0.0038592995, -0.0593558252, -0.0051814611, -0.0456583574, 0.0292844325, 0.0529093556, 0.021338515, -0.0444594175, -0.0033854377, -0.0545971319, -0.0009513424, -0.010015022, 0.0440801121, -0.0039181416, -0.0004277107, -0.0706939548, -0.0087939631, -0.0419741347, -0.0197230298, 0.0024773448, -0.0334190391, 0.0341841951, 0.019443946, 0.0265736524, -0.0171051528, -0.0108557176, -0.0103365546, 0.0156817026, -0.0135214832, 0.012024859, 0.0405600965, -0.0387641639, -0.0122417435, -0.0960471854, -0.0126853893, 0.0165570192, -0.000592947, 0.0669249892, 0.0206125472, 0.0070574358, -0.0250023026, -0.0295742285, -0.013421474, -0.0042219465, 0.0250515137, -0.0115191815, 0.0066194502, 0.01460471, 0.023827631, -0.0500753559, 0.1071143076, -0.0134471469, -0.0237085335, -0.054394871, -0.0487290137, -0.0085724844, -0.0414212085, -0.0707114413, 0.0059329672, -0.0602087639, 0.0466190688, 0.0431833081, -0.0400070585, 0.0030924543, -0.0075871255, 2.712e-7, 0.0352402963, 0.0702641606, 0.0009793031, -0.0047501368, 0.0322771631, 0.0187035855, -0.01450272, 0.013429096, -0.0163058527, -0.0174034741, 0.0013108185, 0.0120273698, 0.0462192483, 0.0284779761, -0.0820686147, -0.0573489033, -0.0866300687, -0.0404506586, -0.0363854915, -0.0292724464, 0.0716113225, 0.0666973814, -0.029350182, -0.0224249773, -0.0259254482, 0.0121815894, 0.033893019, -0.0414553769, -0.0286116768, 0.0557927899, 0.0464392826, -0.0154348137, 0.0130808372, 0.0481887162, -0.0030365214, 0.0081408983, 0.0110905031, 0.0765644982, -0.0470240675, 0.0196741782, 0.0346083306, 0.0298547186, -0.0217017476, -0.0213617198, 0.0213177763, -0.0872414634, -0.050407175, -0.015255942, 0.0191282164, -0.0295792297, 0.0564730205, -0.029980056, -0.0185698029, 0.0367777944, 0.0121421134, 0.0083520878, 0.0029231294, -0.0511439331, -0.0081372568, -0.0080361115, -0.0421701223, -0.0128381727, 0.0230710469, -0.0253124014, -0.0387840271, -0.0583941974, 0.0159108005, 2.091100217e-34, 0.0197170638, -0.001006354, 0.0264236014, 0.0449120589, 0.0675220713, -0.0055733365, 0.0220321957, 0.044528123, 0.033382576, -0.0487598367, -0.0200551637 ]
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.0290970616, 0.013098876, 0.0177133549, 0.0327826105, 0.0305696223, 0.0285186581, -0.0020506266, -0.0229363088, 0.0105850445, -0.0233512037, -0.0158524495, -0.0193999894, 0.0204643998, 0.0019256094, 0.0504116677, -0.02823334, 0.0183573458, -0.0265615676, -0.0196592305, 0.0040760543, -0.0174435433, 0.0076277852, -0.0391876437, 0.0132434266, 0.0359066986, 0.0429652631, -0.0182408243, 0.0061064563, 0.0397253223, -0.0291190837, 0.0216487143, 0.005294024, 0.0062685106, 0.0213079192, 0.0000017503, -0.0168280285, -0.0514982231, 0.0205481704, -0.0463800877, -0.050138738, -0.0071661682, 0.0020792393, -0.0311748777, 0.039486371, 0.0234129895, -0.0733484253, 0.0444471054, 0.0605273806, 0.0084574446, 0.0598819144, -0.0287067201, -0.0579792671, 0.0427391976, 0.0110745244, -0.0093798013, -0.0018079331, 0.0278733019, -0.0351536088, 0.0029248602, -0.0093730148, 0.0325429179, 0.0070918072, -0.006462316, 0.0435640775, 0.0335604325, 0.0431657135, -0.0738094151, 0.0196652729, -0.0219969358, 0.0572580583, -0.0117207952, -0.0121444901, 0.0454201363, 0.0147936996, 0.0058379131, -0.0113846576, 0.0178227164, -0.0452680588, -0.0249469951, -0.007830441, -0.0145857548, 0.0189113505, -0.0023843118, -0.0504618436, -0.0335089974, 0.0140240202, 0.0354355611, -0.0639372617, -0.0080880495, -0.0066795382, 0.0175514594, 0.0031736307, 0.0483143888, 0.0114871254, 0.0502290167, -0.0026041239, 0.0054326924, -0.0442177691, -0.0301624276, -0.0425621308, -0.0003085963, 0.0311049372, -0.030573694, -0.0277304817, -0.0505866893, 0.0604609773, -0.0336806662, 0.0384562388, 0.0186313055, -0.0685060099, -0.0378049873, -0.0005604858, -0.0530373529, 0.0514634252, -0.0256079342, 0.0262854192, 0.0084918924, 0.0094282106, 0.0226032417, 0.0355613157, 0.0473619401, -0.0176367033, -0.0163691211, 0.0025660808, -0.0098211467, 0.0070663006, -0.0275866315, -0.0062218406, -0.0352969393, -0.0391408838, 0.0102319987, -0.0208389014, 0.0573548675, -0.0367074311, 0.0061712055, 0.0717684105, 0.0181182306, -0.0506758727, -0.0508970954, 0.0451458618, 0.0115542337, -0.0296128839, 0.0257086121, -0.0276576113, 0.0481149182, 0.0157658756, -0.0167855788, -0.0200305674, 0.0080846529, -0.0115685286, -0.0077912649, 0.0585928299, -0.0468259864, 0.0134909442, 0.0683177784, -0.0385475717, 0.0562071055, 0.0036764883, 0.0498244949, 0.0016850985, -0.0096874628, -0.0214128029, 0.0210794378, 0.0600817949, 0.0043258863, -0.0364528708, 0.0357090607, 0.0429641269, -0.0134995421, -0.0127390055, 0.0197507273, 0.053252317, -0.0193380732, 0.0135982092, 0.0366838016, 0.0296438038, 0.0121693267, 0.0459248871, 0.0143530834, 0.0431523621, 0.0006575558, -0.0447766967, -0.0052230642, 0.0017035683, 0.0184075888, 0.0250319596, 0.0093858484, 0.0171338879, -0.0167840831, 0.0478499122, 0.0221340824, -0.0099796504, -0.0443947352, 0.008725944, 0.031241864, -0.0060471338, -0.0961015597, 0.076458618, 0.0028391164, -0.0319847651, 0.0096558118, 0.0280164722, -0.0211725272, 0.0420718193, 0.0396707505, -0.0234665368, -0.042225834, -0.0650960132, -0.0984989107, 0.0373884439, -0.0070689688, -0.007306024, 0.0273855403, -0.0270129517, -0.0042575393, 0.0419536233, -0.0204085223, 0.0490174294, 0.0086520752, 0.0101293186, 0.0274367556, -0.0440690815, 0.0304814782, 0.0156178419, -0.0324046314, -0.0274350215, 0.0108743291, 0.0317133404, 0.0191261284, 0.0591727756, -0.0272980053, -0.0134658357, 0.0424068719, -0.019276768, 0.0396190099, 0.011756096, -0.00738926, -0.0312467366, -0.0207872149, -0.0661187172, 0.0065272609, 0.050317619, 0.01514511, -0.0660560429, -0.0935650319, -0.0273034405, 0.0622247867, -0.041816581, 0.0157707743, 0.0254384149, 0.0261326712, 0.0033867564, 0.0019268348, -0.003273532, 0.0265074167, 0.05028788, 0.045584783, -0.0003821431, -0.0531689115, -0.0257834401, 0.0058983592, -0.0261403378, -0.0283425804, -0.0036945259, -0.0087030027, 0.0072924187, -0.0525179878, -0.0692256093, -0.0263113566, -0.0218644869, 0.0332223028, 0.0302246381, 0.0169429425, -0.0182959456, -0.0078634629, -0.0290832575, -0.0506920964, -0.016890157, -0.0417976677, 0.0149984248, 0.0014385156, -0.0407818444, 0.0062415395, 0.0282293521, -0.0283481628, -0.0074738534, -0.004867028, -0.0230071824, -0.0923234448, 0.0024171206, 0.0206841845, 0.0427204631, -0.004838557, -0.0270880219, -0.0313271284, 0.0323876627, 0.0643068776, -0.0039599095, 0.0041273804, -0.0130062262, -0.0605744943, -0.0167315453, -0.0136664482, 0.0306854993, -0.0127683729, 0.0556952581, -0.0419882461, -0.0393395089, 0.0111727221, 0.0209949203, -0.0174311008, 0.0495304689, -0.0344081521, -0.0453695282, 0.0330846272, -0.0245453194, 0.0179711301, 0.0105579495, -0.0539920703, -0.0026815897, -0.0008800506, 0.0204949882, 0.0261714663, -0.1082811579, -0.0518208332, -0.0272498876, 0.0085617099, -0.0114372829, 0.0139555, 0.0127054797, -0.00759276, -0.0006711145, -0.1025557294, 0.0245615672, 0.0282112956, -0.0371850133, -0.034575291, 0.0238655563, 0.0354803354, 0.0159566291, -0.0114875399, -0.0471808948, -0.0615820847, -0.0076776049, -0.0076375939, 0.0317464694, 0.0337928422, -0.042319797, -0.0027181031, 0.0696986318, 0.0063360659, 0.0941356495, 0.0145617425, 0.0191223249, -0.04107517, 0.0530280732, 0.0382048227, 0.0335824192, -0.0335264131, -0.0053534801, -0.0024997499, -0.0512998216, 0.0043979404, 0.0106499745, 0.0212432705, -0.01626404, 0.0187157262, -0.0450503491, 0.0117093101, 0.0047761598, 0.0200127698, 0.013511477, -0.0433295518, 0.11717958, -0.0042267861, -0.0215725563, -0.0586310476, -0.0067474516, 0.0090797246, 0.0091916658, 0.0477607548, -0.0507429987, -0.012201421, 0.0427031033, 0.0359476395, -0.0078445114, -0.0301890559, 0.0207805242, -0.1334543675, -0.0056215958, -0.030378975, -0.0503454357, -0.0651545897, -0.0419290587, -0.0227616448, -0.0191121604, 0.0015908717, 0.0093872743, -0.0373199582, -0.0380739681, 0.0398251601, -0.0360604227, -0.0497258939, 0.0129321553, -0.0328054465, 0.0780759379, 0.0309435669, 0.0388154685, -0.0419115871, 0.0134874098, -0.0494095087, -0.0151105113, -0.0365608521, 0.0111364434, 0.0478487238, -0.0437190793, -0.025850568, -0.0162190013, 0.00720486, -0.0120554054, 0.0033386473, 0.0128902346, 0.0372418873, -0.0172108933, 0.0436387695, 0.0291964859, 0.0010135623, 0.0073866989, 0.0570741594, 0.0169717632, -0.0024774971, -0.0188280102, 0.0056199352, 0.0411606357, -0.0219415072, 0.0016731548, 0.044573199, -0.0109177157, -0.0594949313, -0.0085320482, -0.0467793196, 0.0351422988, 0.0175541081, 0.0500838608, -0.0166506767, 0.0746482685, 0.0291624572, -0.0495580547, 0.0103898058, -0.0187535398, 0.0170044079, -0.069919534, -0.0323255211, 0.0429301858, -0.0536325686, -0.0440205485, 0.0056600217, 0.0109954691, -0.0357682593, 0.0318863802, 0.0549853928, 0.0121604968, 0.0343590118, -0.0402685925, 0.0057396046, 0.0299936514, 0.0062085087, -0.0216598753, -0.0383929834, 0.0349029228, 0.0057259421, -0.0180063024, -0.019171685, -0.0093581602, 0.0259222221, 0.0061647836, 0.011780614, -0.0128546935, -0.0208947062, -0.0012531044, 0.0253496785, 0.0751613602, 0.0129935527, 0.0298080761, -0.0711655766, 0.0456509814, 0.0129968747, 0.0818959847, -0.0066475407, -0.0249711052, 0.0013421818, 0.0185189713, -0.0132112559, 0.0337424576, -0.0448715277, -0.0368861668, 0.0003754172, 0.0302752852, -0.0145152174, 0.0721271336, 0.0169477127, -0.0428941138, -0.0181257017, 0.0353115276, 0.0608209819, 0.0498286225, -0.0004707667, 0.0214894526, -0.0187226627, -0.0086339014, 0.007775024, 0.0089530963, -0.0191116389, 0.0165695213, -0.0821639076, 0.0679164901, 0.0302508529, 0.0134650702, 0.0328423902, -0.0098577477, 0.0222232137, -0.01203903, -0.0086894333, -0.0369624048, 0.0053578541, 0.009482421, 0.0047140052, -0.024206195, -0.0252710842, -0.0068600345, 0.0632516965, 0.0331884921, -0.0268360581, 0.0205323789, -0.0582675561, -0.0328676589, 0.0312817357, -0.0419188924, -0.0312677771, -0.0128176128, -0.0136798332, -0.0534121022, 0.0463445671, -0.0025265808, 0.0032454347, -0.0397963785, 0.0110383462, -0.0525555797, -0.0430739708, -0.0074148015, -0.004850938, 0.0042909477, 0.0228528194, -0.0308769569, -0.0123980762, -5.765886116e-33, -0.0439935066, 0.0104393139, 0.0208929908, 0.0050224564, -0.0613411888, -0.0073155565, -0.0159479957, -0.0049708318, -0.0144250868, -0.0420532078, -0.0124485847, -0.0237059388, 0.0348733515, 0.0385748222, -0.0461704172, -0.0578984432, 0.0643578917, 0.0247502197, 0.0110401195, 0.0053794081, 0.034302514, 0.0892010853, 0.1002315283, -0.0413413495, -0.0186264161, -0.0766554326, 0.0302407611, -0.0099375648, 0.0755292848, 0.0325435512, -0.0320092551, -0.001586585, -0.0151359672, -0.0710264891, 0.0364490636, 0.0669704974, -0.1407235861, 0.0077336757, 0.0026007011, 0.0621952415, 0.0469901748, -0.0245772488, 0.0034401082, -0.0140346568, -0.022726858, 0.0367517695, 0.0406287201, -0.0002689261, -0.0012220773, -0.0189164281, -0.02895022, 0.0118516237, 0.0080603939, 0.0061092391, 0.0673986003, 0.0235379506, 0.0466142371, -0.0249161124, -0.0803140253, -0.0321967006, 0.0509996451, -0.0112205017, 0.0185588915, 0.0505715124, 0.0151575506, 0.0203948338, 0.0476035513, -0.0228148606, -0.0281664301, -0.0521810949, -0.0101707848, 0.0085818274, -0.0070152921, 0.022513045, 0.017046947, -0.0498410836, -0.037775442, 0.0258737728, -0.0076123257, -0.0387168825, 0.0236227922, -0.0458768196, -0.0375601202, 0.0402639173, -0.0136854434, -0.0463654622, 0.0007732784, 0.010637193, 0.0484386161, 0.0031899626, -0.032002531, 0.0614608824, 0.0588934608, -0.0068168626, 0.0005620767, -0.0095469775, 0.0140380664, 0.0109867407, -0.0370902419, 0.0489990823, -0.0165144783, -0.0762296245, 0.0337713547, 0.0375201032, 0.0054799216, -0.0127472309, 0.0039747856, -0.0103526786, -0.0569625087, 0.0032570781, 0.0064156768, 0.0635120273, -0.068019636, 0.0375009105, -0.004717967, -0.0008916812, 0.0252976846, 0.0196477678, 0.028089093, 0.0233106557, 0.0068768221, 0.0335740037, 0.0435363129, 0.0298506394, 0.0063688904, 0.0271913595, -0.022785712, 0.0210480839, -0.0173463207, -0.0189379696, 0.0190341137, -0.0030165934, 2.467e-7, 0.0096738162, 0.0029930784, 0.06858138, -0.0353865363, -0.0105829528, -0.0234782062, 0.0306614991, 0.0628992915, 0.0244615451, -0.0061951298, 0.023872491, -0.0506090298, 0.041652143, 0.0144905541, -0.1667300761, -0.0244827662, -0.0712004974, -0.0017618818, -0.0622847304, 0.0734156296, 0.012150283, 0.0788857341, -0.0308923908, -0.0081789261, -0.0145343654, 0.0508461222, 0.0173690412, -0.0139945811, 0.0542932488, 0.0281110145, 0.0077352109, 0.0472510569, -0.0292722303, 0.0187145974, -0.0296030007, 0.0625293478, 0.0122929746, 0.0596747659, -0.0256617721, -0.0496232994, 0.0334341116, -0.0356229059, -0.020771591, -0.0085051125, 0.0594107695, -0.0646812543, -0.0232089236, 0.0558325909, -0.062320888, 0.0284140725, -0.0416670255, -0.0152498828, -0.0178731754, -0.0052810651, 0.0421076231, -0.038638372, 0.0175217856, -0.0310056359, 0.0399365649, 0.0215249155, -0.0274661165, -0.0213392209, -0.0260748137, -0.0782760903, 0.0394542329, -0.0118470006, 0.0186076481, 1.790163332e-34, -0.0264121871, 0.0174119677, -0.0401070751, 0.0271624923, 0.0065111285, -0.0336269289, 0.0335681401, 0.0074259201, -0.0321558006, -0.0415919833, -0.0337550677 ]
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.0463120453, 0.055465281, 0.0148994112, -0.0131646916, 0.0113286013, 0.0415613316, -0.0087046213, 0.0312683024, 0.0969714001, -0.0308630094, 0.0165108778, -0.0121907042, -0.0367662981, 0.0522370115, 0.0083413618, -0.0180555433, 0.0036323599, 0.0455119051, 0.0241183173, 0.0199997183, 0.0223645885, 0.0256532226, 0.0120126121, 0.0408816226, -0.0042470051, 0.0035322809, 0.0722015202, -0.0077667651, 0.0189361386, -0.0749056041, 0.0395930558, 0.0250387304, -0.005689906, 0.0384261794, 0.0000017549, 0.0188530535, 0.0063233674, -0.0118478127, -0.0408054516, -0.0200224612, 0.0194210727, -0.0885005668, 0.0368518829, -0.0153494803, -0.0370878167, -0.0122505957, 0.0621824972, 0.0634410232, 0.0422412716, 0.043621067, -0.0197457746, -0.0564252622, 0.0233505275, 0.0168738458, 0.0114804944, -0.0238182042, 0.0637081116, -0.0497212335, 0.0266893916, 0.0006477738, -0.0058482625, 0.0584181324, 0.0041077756, 0.0148868393, 0.0418120436, 0.0334626697, 0.0077493698, -0.0161277298, 0.0202174298, 0.107725814, -0.0080409981, -0.0151029434, 0.0162010938, -0.0072348281, -0.0249694195, 0.0391567647, 0.004522644, -0.0377108008, -0.0218637567, 0.0383403711, 0.0056819469, -0.0149333226, 0.0813023895, 0.0230506938, 0.0064852145, 0.0570051149, -0.0153757306, -0.0184610318, -0.0005672506, -0.0142841786, -0.0329466723, -0.0665015131, 0.0273304731, 0.0204806272, -0.0146599738, 0.0176536981, -0.0295763556, -0.042123206, 0.0380646996, -0.0426838808, -0.0457139239, -0.0173839722, -0.0374328643, 0.0070204507, -0.0150428601, -0.0273418687, -0.0246767737, 0.0240149386, -0.0101375757, 0.0213895738, -0.0681156665, -0.0002449848, -0.0046479693, -0.0140443286, -0.0142696798, -0.044756338, -0.0334757231, 0.0035010942, -0.0581700802, 0.0215606876, -0.0017460953, 0.0823611468, 0.0224965829, 0.0128069175, 0.0210189633, 0.0404457264, 0.0134991407, 0.0134108197, -0.0276502799, 0.0519893393, 0.022224972, -0.0436395556, 0.0619547963, -0.0262726005, 0.0191814564, 0.0236794669, 0.0734124407, -0.019244628, -0.0259448383, -0.0349014737, -0.0473994389, 0.0067010289, 0.0210456718, -0.0507929958, 0.0254185889, 0.0165703967, 0.0106554618, -0.0242681559, 0.0282545537, -0.0018890043, -0.0750615671, 0.0785675794, -0.0333464555, 0.0010157238, 0.0439811386, 0.0432641171, 0.0200470872, 0.0478911549, 0.0309466589, 0.0074498993, 0.0366254114, -0.0289028864, -0.0270731654, -0.0091554737, 0.048793558, -0.0029777549, 0.0284874626, -0.0156283285, -0.0370214172, 0.026167959, -0.0520372987, 0.047403153, -0.0012650928, 0.0006136961, 0.0168206785, 0.0485569648, 0.0375642665, 0.036867518, 0.0315701514, 0.0306013413, -0.0243390147, -0.0340513214, -0.0265972093, 0.0028123842, -0.0235470962, -0.0144973239, 0.0165505335, 0.0030099999, -0.021302959, 0.0242747273, -0.0316562615, -0.0257505924, 0.0382536091, -0.0102712372, 0.0004036248, -0.0238540284, -0.0379665494, 0.0289490707, 0.050452441, 0.0034460411, 0.0028289636, -0.023978116, 0.010351629, 0.0819680765, 0.009924409, -0.028590329, -0.0099919094, -0.0134620452, 0.0260808151, -0.0069220723, 0.0073406119, -0.0200549085, 0.002388946, -0.0072031301, -0.0210086536, 0.0046664667, 0.0267830528, -0.0659881979, -0.0004742477, 0.0633417889, -0.0228911135, 0.0071564522, -0.0278709084, 0.0193073098, -0.0012254532, -0.0239908416, 0.0068474459, 0.0309148282, -0.002469914, 0.0518907681, 0.0232839156, 0.0165340118, -0.0154745514, -0.0145611474, -0.066706486, -0.0012510105, -0.0247322619, -0.0371871032, 0.0216194261, -0.0250807889, -0.0068245609, -0.0024748223, -0.0541544668, -0.0416858718, 0.0385441221, -0.0531261377, 0.0513597131, -0.0056926082, -0.0614418499, -0.0021376992, 0.0111548286, 0.0110657383, 0.0435940139, -0.0390308499, 0.0175736956, -0.0181407407, -0.0614722855, -0.0347187817, 0.011094315, -0.0489277393, -0.0552528426, 0.0212199762, -0.0048050359, 0.0042445827, 0.0093737198, -0.0218218956, 0.0224879272, -0.1462418884, 0.019435823, -0.0286875106, -0.0192748271, -0.0180596169, -0.0012964396, 0.0238661971, -0.0085801706, -0.0359156765, 0.0280738045, 0.0151508413, 0.0513880104, 0.0208833274, 0.027043771, 0.0142235672, -0.0332381763, -0.0351708643, -0.0511767715, 0.0314615853, 0.0440680794, -0.0463129021, 0.0074612494, -0.0275280531, -0.049801711, -0.0166999754, 0.0220195446, -0.0222367328, -0.0120680919, 0.0065923398, -0.022023309, 0.0292608961, -0.0157225002, 0.0623466484, 0.0041828486, 0.0237707123, -0.0125014735, 0.013641201, -0.0350369886, 0.0084688747, -0.0587696247, -0.037277814, 0.0131547023, 0.0414221473, 0.0265073981, -0.01402013, -0.0573401116, -0.0003446398, 0.0162063465, 0.0386743359, -0.0369678698, -0.0215395354, 0.0323166177, -0.0219945852, -0.0382237472, -0.0056892456, 0.0736692324, 0.0234227553, 0.0268097222, 0.0154635543, -0.0400397852, -0.024083009, -0.0302597601, 0.0375966541, 0.0617789216, -0.0170076415, 0.0099607455, 0.0542013608, 0.0129981441, -0.030356504, -0.0355345048, 0.0292449445, -0.0110933529, 0.0078981183, 0.0243308898, -0.0283717681, -0.0330656134, -0.0068528992, -0.0714684501, -0.019719867, -0.0035130747, -0.0328299478, -0.0266379304, 0.017730521, -0.0183726326, 0.0375075787, 0.0330796242, -0.0236186683, 0.0146273291, 0.0214363057, 0.0588870868, -0.0316110402, 0.0101902317, -0.0139330365, 0.0124535933, 0.039382223, -0.0101979189, 0.0212591924, -0.0292156618, 0.0030496707, -0.0158234034, -0.0347442552, 0.0001598399, -0.0244216397, 0.0122339884, -0.0402027108, 0.001109576, 0.0861961767, 0.0096952319, -0.0480445623, 0.0271291975, 0.0248176698, -0.0325204544, -0.0200646315, -0.0131616192, -0.0896849483, -0.0437662341, -0.0500125587, 0.0027358588, -0.0293826964, -0.0597218461, 0.021381855, -0.0316166393, -0.0093565984, -0.018890176, -0.0083177425, -0.0488000624, -0.0574070923, 0.0281186402, -0.0137688629, -0.0040897559, -0.0642026439, 0.0021478627, 0.0028105411, -0.0088134808, -0.0774081275, -0.0732055455, 0.0381356962, -0.0419874713, 0.0563663766, -0.0123823071, 0.0687403306, 0.0131642008, -0.0440529548, -0.0117157996, 0.0404480547, -0.0185988918, -0.0049837055, 0.0552269109, -0.0311763622, -0.0004036012, -0.0303714648, 0.0268748626, -0.0729974657, -0.0434493646, -0.0418930724, 0.113632001, -0.013695078, -0.0557037294, -0.0422431417, -0.0261594355, 0.049667649, 0.0572613589, 0.018832203, -0.0173385609, -0.0149273723, -0.0157421678, 0.0014437081, -0.0233110934, 0.0006570006, 0.0393678509, -0.0275497716, -0.0005659952, -0.0556057245, -0.0025026207, 0.0381211899, -0.0546806343, 0.0055172537, -0.0215035528, 0.0013357198, -0.0266072508, -0.0915376171, 0.0418133512, 0.0161825214, 0.0251336284, -0.0177871753, -0.0082783736, 0.0525819287, 0.0083474172, -0.0122239431, 0.0211081319, -0.0576892495, -0.0317747593, 0.0033646533, -0.0089207664, 0.0053189583, 0.005348627, -0.02052176, -0.0541058742, 0.0556596629, 0.0723191276, -0.052727934, -0.0335063934, -0.0197187308, -0.0220610294, 0.0194185209, 0.0547282919, -0.0246580094, -0.001960682, -0.0022775221, -0.0305782892, -0.0604249202, -0.0463838726, -0.0546364859, -0.0071935467, -0.0004756837, -0.0090912469, -0.0508812144, -0.0387565233, -0.0572585613, 0.0455254577, 0.0266684182, -0.0127710514, -0.0199926496, 0.0522044972, -0.0127470959, -0.0333224237, -0.0056737335, 0.0087211849, -0.0061814697, -0.0713460892, 0.0383288376, 0.0428951532, 0.0177776888, 0.0195183475, 0.0011781617, -0.0129047791, 0.0225309543, -0.0077024894, -0.0135804145, -0.0316279456, 0.0129947858, 0.0000908392, 0.0075311055, 0.0046344455, 0.0256185699, -0.0594065934, -0.0319924578, -0.0249217339, -0.0561771728, 0.0413494371, -0.0525763296, 0.0393979885, -0.0005584434, -0.0316225253, -0.0066588852, 0.0254687853, -0.0687052011, -0.030980818, 0.0527907684, 0.0122384923, -0.0076984228, 0.0385366082, 0.0396263525, 0.02141634, 0.0511747003, 0.0424799062, -0.0408478603, -0.0256294683, -0.000101023, 0.0323795229, 0.0649543479, -0.0412463285, 0.0278700124, -0.0194358788, -0.0851901099, 0.0673229396, -0.0476446524, -0.0513789356, 0.0312620178, 0.043141555, 0.0138269365, 0.0485895947, -0.0131891444, -0.0168813691, 0.0165489931, -0.0235582758, -0.0354143307, -0.0258136354, -5.698946488e-33, 0.0399510786, -0.0453224778, -0.0063495818, -0.0099932188, -0.006423743, 0.0114665823, -0.0161513295, -0.0149744265, 0.0190484244, 0.0357386991, 0.0235077888, 0.0460701063, -0.0247562397, 0.0347814448, -0.011074218, -0.0413448885, 0.0291393865, 0.0129363053, 0.0122951604, 0.0604173094, 0.0204273127, 0.0716542527, 0.0370021388, -0.0750726163, 0.0423671938, 0.031292472, 0.0436403118, 0.0180977006, 0.0462262221, 0.0352195613, -0.0629699975, 0.0884403959, 0.0485656485, 0.0219836086, 0.0131427068, 0.060009256, -0.0641239658, -0.035658583, -0.0273149181, -0.0521689616, -0.0448154099, -0.0371257551, 0.0687885135, 0.0105111739, 0.0469042473, -0.021186037, 0.0691891164, 0.0074781631, 0.0100076767, 0.0131054027, 0.0113710519, 0.0204984285, -0.0194197092, 0.0352542661, 0.0175771564, -0.0332079642, 0.0166871976, 0.0081090359, -0.0766033754, -0.0149036963, 0.0035495188, -0.0363523401, 0.0007533384, -0.0413798988, -0.0173200238, 0.057967592, -0.009264743, -0.0261467323, -0.0365579054, 0.0505062304, -0.0277182851, 0.086837858, 0.0381466113, 0.007928079, 0.0155880125, -0.0469137169, -0.0594381616, 0.0195616707, -0.0484445244, 0.0123059629, -0.0088536376, -0.0129728289, -0.0129706291, -0.0101574054, -0.0184874441, -0.0256598853, -0.0270966422, -0.0082343686, -0.0355385207, 0.0047430368, -0.0091638975, 0.069156073, -0.0305781327, -0.0417631343, -0.0297451448, 0.0534967259, 0.0578254797, 0.0054898979, 0.0154215936, 0.0074963858, -0.0440587364, 0.0277460366, 0.0117751183, 0.0103475619, 0.0299665686, 0.0015411925, 0.0484245978, -0.0073200692, 0.0009164987, -0.0213137344, 0.0140117239, -0.0236643702, -0.0239922069, 0.0410154276, 0.0053618569, 0.0594495796, 0.0072651869, 0.0355535783, 0.0384940542, 0.043495819, -0.0419136137, -0.0073379665, -0.0069342125, -0.0281495769, -0.0124344472, -0.0658466369, -0.0176378377, 0.0693070367, 0.0320838019, -0.1105145589, 0.0212450214, -0.0254557058, 2.568e-7, 0.0918856934, 0.0369818658, 0.009530616, -0.0003724547, 0.0385329537, 0.0102939624, 0.0632757843, 0.0453519188, -0.0162666123, -0.0341691449, -0.0013480443, 0.0627742931, -0.029822804, 0.0646659806, 0.0214174911, -0.0018661184, -0.0519611873, 0.0048001939, -0.0486319885, -0.0283570252, 0.0171334818, 0.0472801365, 0.0368289649, -0.0452938341, 0.0333017446, -0.0448593646, 0.0470484309, -0.0134140039, 0.0487372242, 0.0232024193, 0.0398792513, 0.0265330952, 0.0222768821, 0.001260633, -0.0390436165, -0.0119065531, 0.0060589663, 0.0355798453, -0.04342952, -0.0179448929, -0.0134239374, -0.0175665971, 0.0054779388, -0.0292665474, 0.079364568, -0.0972080082, -0.0079910904, 0.0101083964, 0.0292205289, -0.0400202945, 0.0222225916, -0.0323924758, 0.0032546106, 0.0504345596, 0.0209272616, 0.0011554942, 0.0578553863, -0.1274009794, -0.004284563, 0.0280066207, -0.0386737101, 0.0224517211, 0.0014293391, -0.043579977, 0.0194929074, -0.051539924, 0.0392633155, 1.94762057e-34, -0.0004980987, 0.0211601593, -0.0007669553, 0.0030032664, -0.0077072703, 0.0076137106, -0.0228126012, -0.0219710208, 0.0110412622, -0.1072352007, 0.0090758521 ]
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.0121901715, 0.0855311006, 0.0152021404, 0.0710248873, -0.008433817, 0.0259622037, 0.0052733105, -0.0174214691, -0.0471794046, -0.0412706695, -0.0676701441, -0.0413044728, 0.0473629944, -0.0103109563, 0.0261701103, -0.0414735377, 0.0246847905, -0.0400031358, 0.0226987768, -0.0103950072, 0.0016604679, -0.0100924671, 0.010083626, 0.0257469285, -0.0117111718, -0.02642278, 0.0112981657, 0.0484668799, 0.0045348327, -0.0154457511, 0.0387727208, 0.0584769882, 0.0124143697, 0.0587837845, 0.0000019377, -0.051940538, -0.0034034587, 0.0150406342, -0.0230575651, 0.0059687318, 0.0493501648, -0.012064009, -0.0169219617, 0.0178114101, -0.033444602, 0.0066367006, 0.0499670245, 0.0176477525, 0.0121439993, 0.091064766, -0.0011091387, -0.0034072546, -0.0072703506, -0.0352099948, 0.0166227873, -0.0623653345, 0.025595719, -0.0223069806, -0.0492836945, -0.002670052, -0.0148527436, 0.0254960675, 0.0160466973, 0.0002543243, 0.0076952945, 0.0261485968, -0.0236807559, -0.0113889938, -0.0126018375, 0.0731055513, -0.0430351309, -0.0428080112, -0.0268795807, -0.0333330333, 0.011097407, -0.0525605604, -0.0384506956, 0.027492404, -0.0010366404, 0.0237522945, 0.0015810585, 0.0233803242, 0.073281765, -0.0049743811, 0.021553129, 0.0376838483, 0.0038144083, -0.036332339, -0.0335866772, 0.0168453213, -0.020349279, -0.0375701003, -0.0297443699, 0.009827164, -0.0746579245, 0.0356758721, -0.0734092891, -0.0098886741, 0.0067352452, -0.0636743382, 0.009076206, 0.0312381163, -0.0139439786, 0.0458345674, 0.0140568828, -0.0062446208, 0.0102910595, 0.0280333031, -0.0372996554, -0.0206779856, 0.0048681106, 0.0435585678, -0.0319119059, -0.0115976352, -0.051969938, -0.0232267287, -0.0534098558, 0.0309240595, -0.0228339247, 0.0208184309, 0.0016857276, -0.0069952672, -0.0620887578, -0.0160576869, 0.0248956326, 0.0045267148, -0.0033183808, 0.0212414134, 0.0073240758, -0.0419335589, -0.0141944597, 0.0195694584, 0.0121654905, -0.0122266011, 0.0160949286, 0.0700896382, 0.0225210246, -0.0331923626, -0.0247112047, -0.0131342718, -0.0029488006, -0.0608958304, -0.0636235252, -0.0729678422, -0.0149073023, 0.023922395, 0.007695213, -0.0695168599, -0.0076200697, 0.0157152321, -0.0334654562, 0.0782073215, -0.023774365, -0.0304962527, -0.0041913339, -0.0012984166, 0.0088464841, 0.0868547335, 0.0199886244, -0.0364325829, 0.0568500087, 0.0261755046, -0.0103606647, 0.0204038695, 0.062494047, 0.0170274135, -0.0381738804, 0.0102778161, 0.0361342542, 0.0160333645, 0.0245843865, 0.0468382947, -0.0213863607, 0.0003009728, 0.0789936483, -0.0023225553, 0.0205499157, -0.0010390942, -0.0181579124, -0.003377463, -0.0060873348, -0.0307968166, -0.0947889015, -0.0146888783, -0.0564927571, 0.0165914409, 0.0457546711, 0.0040027867, -0.0359256938, -0.0464247167, -0.0166045204, -0.0281322841, 0.0009408903, 0.0301344916, 0.046153672, 0.0070714615, -0.0317144617, 0.0122929737, 0.0707660541, -0.014605985, -0.008226336, -0.0182083882, 0.0329973511, 0.0419113822, 0.0136012351, -0.0185809247, -0.0014908483, -0.0465575308, 0.0307347216, 0.0359355211, 0.0155518046, -0.0183888562, 0.052035898, -0.0406115651, -0.0481752343, 0.0127042104, 0.0309534036, 0.0034283784, 0.0255861413, 0.0066684606, 0.0156158023, -0.0336265936, -0.0181661416, 0.0292791687, -0.0017633935, -0.0311292782, 0.0106185684, -0.0045410637, 0.0372936763, -0.0136768296, -0.010550811, -0.0080336165, 0.0098303361, 0.0041665253, 0.031923648, 0.0157228466, -0.0772560313, -0.0503424294, 0.0452810936, 0.0082171615, -0.0128930975, -0.0304118413, -0.0431131795, -0.0183756519, 0.0137276929, -0.0203360599, 0.0517734885, -0.0245293919, 0.0182312932, -0.0366904214, 0.0233686268, -0.0596249215, 0.0543922931, -0.0102058956, 0.0037063668, 0.0316042751, 0.0573610291, -0.0028315957, -0.013201193, -0.0276955515, -0.0404142104, -0.0209386181, 0.033429455, 0.0132321501, 0.0294325594, -0.0152057391, 0.0131190615, -0.0844693407, -0.0267927572, -0.0741220266, -0.023267556, 0.0507112332, 0.0446808003, -0.0044074436, -0.0395101085, -0.0210054144, 0.0016976156, -0.0045367051, 0.0144541748, 0.0148866279, 0.0064733364, -0.0171009209, -0.0333651081, -0.0190263744, 0.0006309962, 0.0551293679, 0.0157039091, -0.0139021063, -0.104605332, 0.0352573618, 0.0108263632, 0.055580318, -0.0232303515, 0.024521457, -0.006728882, -0.0022810646, 0.0049670716, 0.0770885646, -0.0195826013, 0.0028925156, 0.0313532874, 0.0223038457, -0.058053948, 0.0099285943, 0.0010395132, -0.0132289967, -0.0520683005, 0.0121370237, -0.0161828864, 0.0357470028, -0.0015700173, -0.0026615309, -0.0235130191, 0.0481205173, -0.0092863236, -0.0247945935, -0.0627631173, -0.0102669364, -0.0108611034, 0.0680552721, -0.0092726657, -0.0717209876, 0.0522776134, -0.0281343721, -0.0028442193, -0.0532124229, -0.0206572581, -0.0085607674, 0.0076703602, -0.0125037385, 0.0280643962, 0.0021747418, -0.0140527012, -0.0681264251, -0.0408909172, 0.0358646102, -0.006084573, 0.0501215532, -0.0286022797, 0.0328258649, 0.0019278033, -0.035018485, -0.0664966926, -0.0546516068, -0.0199343693, -0.00193879, -0.0055164481, -0.0290888455, -0.0012384732, 0.0073082712, -0.016455695, 0.052542951, -0.0071414835, -0.0205269828, -0.0084891999, 0.0197186526, 0.0474044159, -0.0131966295, 0.0405608453, -0.0199143421, -0.0088647623, 0.0328206196, 0.043887455, 0.0195163153, -0.0484912023, 0.0181666706, 0.0222967602, 0.0146590602, -0.0025674817, 0.0646264702, 0.0631587729, -0.0427046046, -0.0590441488, 0.132938832, -0.0036285038, -0.0977694765, 0.0003122227, -0.0019846878, 0.0306357741, 0.016553117, 0.0158541463, -0.0411891043, -0.0448753051, 0.0146194259, 0.0337832794, 0.0214968063, -0.0019128213, 0.0115155242, -0.0940159783, 0.0217350256, 0.0160418898, -0.0597799905, -0.0899209157, -0.0474159122, 0.0152858933, -0.0319312066, 0.076445438, 0.0251834188, 0.0045104534, -0.0091818571, 0.0307760146, 0.001539496, -0.101898022, 0.0212163087, -0.0509033278, 0.0596349053, 0.0773318559, -0.0106219556, 0.0145206591, -0.0064616562, 0.0688470379, -0.0223194808, -0.0212522801, -0.0200921074, 0.041318424, 0.0084090168, -0.0191780683, 0.0103501128, 0.0326330736, -0.052861739, 0.0085223736, -0.0162551589, 0.025210226, 0.0025931259, 0.0324290581, 0.0070797089, -0.0120965187, 0.0600322187, 0.0622002371, 0.0036866462, -0.0357071124, -0.019359909, -0.0493827499, -0.0173812769, -0.0038553954, 0.0349348821, 0.0190242026, -0.0078172628, -0.0486288555, -0.0441252328, -0.0458131842, -0.0049663861, 0.0559675954, 0.0057519446, 0.0166331325, 0.0072271712, 0.0100108059, -0.04998466, 0.0208089296, -0.0339467004, 0.0495581143, -0.0232571643, 0.0050174212, 0.0195507687, -0.0066235242, -0.0207967125, 0.0442866422, -0.1227663308, -0.0831336603, 0.0157823004, 0.0296754893, 0.0183445271, 0.1334560663, -0.0420699976, -0.0375548378, 0.070328027, 0.0213970058, -0.0140005164, 0.0261327885, 0.0391829275, -0.0081351809, -0.0007039406, 0.0493626557, -0.052206967, -0.0186461881, 0.0580736771, 0.0100973127, -0.0796563476, -0.0198227223, 0.0206440929, -0.0444494486, 0.0672597513, -0.0255521219, -0.0447554849, -0.0031405969, 0.030937722, -0.0073483535, -0.035337653, -0.0299517512, -0.0290460866, 0.0382397287, 0.0006235733, -0.0274804309, 0.0029953767, 0.0161571354, 0.0078437189, -0.021344211, -0.0055068359, 0.0249498058, 0.0471984781, 0.0482642204, 0.0164927766, -0.0106878551, 0.0317377895, 0.0101916892, 0.0569060817, -0.0077468525, 0.0058650896, 0.0210068151, -0.0008808128, -0.039999295, 0.0035982558, -0.0664758235, 0.0014754187, -0.0799477324, 0.0383775868, 0.0482555516, -0.0127820633, 0.0476386547, -0.0238123089, 0.0032837428, -0.0363897607, 0.0287345368, 0.0037314624, -0.0208776705, 0.0286168531, -0.0071847215, -0.007271118, 0.0247994252, 0.0793559402, -0.0050849635, 0.0336729214, 0.0051164851, 0.0094608348, -0.0398344584, 0.0127713811, 0.0246467385, 0.0556982905, -0.0358700454, 0.0201874655, 0.0099163149, -0.0708419681, -0.0097090611, 0.0155822709, 0.0229430124, 0.0096802553, 0.0309173036, 0.068897523, -0.0189671982, 0.0077670491, -0.0255125724, -0.0177258812, 0.0241395906, -0.0278011542, -0.0516723767, -6.433501888e-33, -0.0376172997, -0.0020145243, -0.0154311592, -0.0016164391, 0.0301578473, -0.0048300652, -0.0297705587, 0.0335126482, -0.0241521876, 0.0021542539, -0.0119378166, 0.0312381536, 0.029055804, 0.0455962308, 0.0057599265, -0.0529716164, 0.0362427607, -0.0183964185, -0.0175654553, 0.0193504691, 0.009570051, 0.0367396139, 0.06486056, -0.0966195613, 0.0266533718, -0.0132826129, -0.0291740913, 0.0255080536, 0.0089965602, 0.0362099446, 0.004482137, 0.053306751, -0.0005940961, 0.0319378786, -0.045448795, -0.0101398071, -0.0777129158, -0.0062482995, 0.0008947543, 0.0686418712, -0.0082830917, -0.0016471668, 0.0756342262, -0.0144165251, -0.0369428806, -0.0233514085, 0.0358321406, -0.0162463523, -0.0477494746, -0.0106365271, -0.0523805395, 0.0285163466, -0.0026026536, -0.0130507853, -0.0126268053, -0.0043422137, 0.0035521195, 0.0180405099, -0.0810803995, -0.0084085306, -0.0212930478, 0.0385032818, 0.051955495, 0.0474898219, 0.0064460333, 0.0196591299, 0.0325158462, 0.0292618014, 0.0433647223, -0.0384431593, 0.0489912033, 0.0148203392, 0.018222902, 0.0840842575, 0.0446939468, 0.0272185616, -0.0805053413, 0.0235459469, 0.0201255623, 0.0073339427, 0.0400820896, 0.0202203225, -0.0754811838, -0.0384214111, -0.026865555, -0.0648409352, -0.0350265764, -0.0002113696, 0.0237231106, 0.0317249782, -0.017723687, -0.0016082159, 0.0227216687, -0.0611160547, -0.033321891, 0.0365586132, 0.019073043, -0.0115119116, -0.0031764191, 0.0115096774, -0.0308367107, -0.024153702, -0.0270342659, 0.0445479341, 0.0007799422, -0.0115612242, 0.0695507526, 0.0146284858, -0.0645558015, 0.0080892025, -0.0307864156, 0.0331401676, 0.0223279409, 0.0404482968, 0.0444241464, -0.0335602425, -0.0175427664, 0.0187487733, 0.0078829946, -0.0086760977, -0.0013190985, -0.0380577631, -0.0258185416, -0.0011973566, -0.0369342193, -0.0363099389, -0.0304959305, -0.0151232434, 0.058297269, -0.0472935811, -0.0001011601, -0.0049686069, 2.542e-7, 0.0298882183, 0.0494490601, 0.0165934172, 0.018044332, 0.0408649333, 0.0430230498, -0.0339815021, 0.0141349426, 0.0273079555, 0.0008101015, 0.0069200895, -0.0077981795, 0.0471248552, 0.0190247539, -0.0555214956, -0.021416625, -0.0660680905, 0.0407965779, 0.012296834, 0.0016727152, -0.0278081857, 0.1277918369, 0.0271042176, -0.0370515436, 0.0374924913, -0.0611124896, 0.0541055873, -0.0559846833, 0.01285611, 0.0177724976, -0.0297772884, 0.0321964696, 0.0241580866, 0.0007568648, -0.009121811, 0.0066220495, -0.0273155272, 0.035138648, -0.0211806241, -0.0150906267, -0.0200898983, 0.0302153975, 0.0220240913, -0.0737415403, 0.0427455865, -0.0321877003, 0.0107058221, -0.0760006532, 0.0069472878, -0.0191397741, 0.0426707007, 0.017231049, -0.0236689653, 0.0027755187, 0.0319683291, 0.0049691489, -0.0343842171, -0.0679743066, -0.0800371841, 0.0103028147, -0.0265601911, -0.0562681481, 0.0138103766, 0.0000597777, 0.0518786423, -0.0316735432, 0.0265778117, 2.330694894e-34, 0.0504441448, -0.0040880735, 0.0266782586, 0.0388475247, -0.0148776034, 0.0030855807, 0.0036261871, -0.0088322219, 0.0554582998, -0.0382733569, -0.0039755502 ]
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.0438105464, 0.0861220732, 0.0154480226, 0.0395440236, -0.0167546254, 0.0270059127, 0.0193022229, -0.0239663646, 0.0105624693, -0.0625631213, -0.023618931, -0.0422261879, 0.0142778521, -0.0079083117, 0.0448284298, -0.0733294562, 0.0075294925, -0.0534299389, 0.0132416952, -0.0049036536, 0.0261491686, 0.0107249236, 0.0155909937, 0.0509617142, -0.0211889427, 0.0343554281, 0.0005704064, -0.0137213143, 0.0396642983, -0.0406421833, -0.0218454003, 0.1064161509, 0.0214713551, 0.0845661759, 0.0000015808, -0.0184501242, -0.0216991901, 0.0275403094, 0.0052656308, 0.0232869294, -0.0046253297, -0.0079077622, -0.0313766263, 0.0088079656, -0.0384229906, -0.0300385877, 0.0850587115, -0.0126852253, 0.0969602615, 0.0609348081, -0.0045221713, -0.0272596255, 0.000504669, -0.034818586, 0.0287892893, -0.0171504337, 0.0108771352, 0.0268703718, 0.0118678454, 0.0089235846, 0.0159380957, 0.0345824026, 0.0025097979, -0.0258251168, -0.0206533168, 0.0226272196, -0.0582902059, -0.050206013, -0.0258490983, 0.0811380669, -0.0033326489, -0.0045007938, 0.0154924933, 0.004107587, -0.0054147383, -0.0159662254, -0.0551012866, 0.0610413849, 0.0134430686, 0.0300577153, 0.000775599, 0.0244880412, 0.0196952969, -0.0008025422, 0.0177330226, 0.0288715474, 0.0196456052, 0.0005730867, -0.0524054803, 0.0447599478, -0.06136401, -0.0737237036, 0.0345868878, -0.0121383965, 0.0102336043, 0.0132302493, -0.0565337799, -0.0811351314, 0.0285962299, -0.0217910912, 0.0173493419, -0.0019854999, 0.0000454702, 0.0610462539, -0.0190564599, 0.0224343892, 0.0029445628, -0.0123229371, -0.021668734, -0.0198787879, -0.0502843969, 0.0146029554, -0.0412996151, 0.0060828608, -0.0273495708, -0.0009917079, -0.0432812534, 0.0094815735, -0.0004055975, 0.0095610162, 0.0177063458, -0.0199350789, -0.020620266, -0.0077290563, 0.0111314841, 0.0104154237, -0.0189220998, -0.0212516859, 0.0154278083, -0.0770771801, -0.0035871377, 0.0420807227, 0.0495648719, -0.0132861212, -0.0090314355, 0.0563103668, 0.0089168744, -0.033531066, -0.0415772907, -0.0345557705, -0.0132757183, -0.0353864208, -0.0308955852, -0.083122775, 0.0316248536, -0.0077644857, 0.0006722434, -0.0272576697, 0.038439814, 0.0243964903, -0.0117060449, 0.0995121971, -0.0541761294, -0.0148627609, 0.0264204517, -0.0000416075, 0.0092515377, 0.0546295419, 0.0742390454, 0.0002326344, 0.0507927574, -0.008493592, 0.0319662765, 0.0764226168, -0.0127850752, -0.0024146996, 0.0254500769, -0.0116679817, 0.0203487966, 0.0490196049, 0.0318854153, 0.0737657174, -0.0059268377, 0.0227094833, 0.0530837141, 0.0528506674, -0.0572900735, 0.0227169171, 0.0432629474, 0.0301066395, -0.0143943904, -0.0173150096, 0.0024904727, 0.0428343713, -0.0004813997, 0.0316430554, 0.0580186695, 0.0172450896, -0.0161591135, -0.0217761584, -0.0366018079, -0.0176779069, 0.0052443156, -0.013119705, 0.0469056219, 0.016425496, -0.0507528596, 0.0177314337, 0.0068922788, -0.0966995209, 0.0232366025, -0.0152394483, 0.017641319, 0.0588601828, 0.0495480113, 0.0076692547, -0.0292143933, -0.0246216096, 0.011892735, 0.0644675344, 0.0024122968, -0.011020517, -0.0605609007, -0.0788974464, -0.0567091517, 0.0421601422, -0.0100215925, 0.0310776308, 0.0407086983, -0.0091849156, 0.0457099117, -0.0140004, -0.0755066648, 0.0238679945, -0.0122145228, -0.0214947984, -0.0159374475, -0.0019973631, 0.0389754176, 0.0410461724, -0.023526473, 0.0329943337, 0.0070711905, -0.036366757, -0.0086895954, 0.0303887427, -0.0121618025, -0.0338075459, 0.0404517166, -0.0700149536, -0.0349988975, 0.0142727289, -0.0118716732, -0.0537098721, -0.0070588151, -0.0492462814, -0.000626271, -0.0670882091, -0.0102047892, 0.0281712562, 0.0166521221, -0.0020333086, 0.0211807955, 0.0014220872, 0.004436377, 0.018693205, -0.0029118909, 0.0210074205, -0.066512607, -0.0545807369, 0.002934834, 0.0463435538, 0.019351894, 0.0318988785, 0.0331357233, -0.0315704942, 0.0044602412, -0.1022155732, 0.0007394482, -0.0058305948, 0.0472750552, -0.0035795094, 0.0085404972, 0.0009647867, -0.0166590959, -0.0403547138, 0.0081429472, 0.0079677375, 0.026939081, 0.0452388562, 0.0115565239, -0.0147697879, -0.0370265767, -0.0010860786, 0.0244882274, 0.0225054957, 0.0591300093, -0.0520014018, -0.0387409665, -0.0232383031, -0.0184697621, 0.0166730825, 0.0320089422, -0.0469304621, 0.0050057997, -0.0000893869, 0.0292217396, -0.0133541608, 0.0065859798, 0.0011061917, 0.0184730031, -0.0015227753, -0.0086130183, -0.017976474, -0.0052905702, -0.0383811183, 0.0200818311, -0.048305247, 0.0050037038, 0.083899267, -0.0240708329, -0.0055268495, -0.0812939927, -0.0006934908, -0.0300795436, 0.0029437758, -0.0428137034, 0.0059233839, -0.042649284, 0.0367427953, -0.0158948544, -0.0646003559, 0.0546056293, -0.0588507988, -0.0380591974, -0.006857276, 0.0197933875, -0.0322522707, 0.0642450526, 0.0254276358, 0.0256720036, 0.0127181569, 0.0077857394, -0.004540008, 0.0529881604, 0.030218415, -0.0478430316, 0.006581408, -0.0783179998, 0.0144098876, -0.0401181988, -0.010723969, -0.0130657367, -0.0090593249, -0.0464348011, -0.0028721257, 0.0421340354, -0.0468840338, -0.0075095841, 0.0444357581, 0.0158271007, 0.0544273891, 0.0120472843, 0.0093990956, -0.0102656269, 0.0501014516, 0.0418524072, -0.0024269824, -0.0319090076, -0.0057898909, -0.0225856435, 0.0144638531, 0.0229199175, 0.0221619252, -0.0108686835, -0.0033732555, 0.0259211436, -0.0000736243, -0.0261098649, -0.002846244, 0.0390970409, -0.0320422724, 0.0124486536, 0.1093511507, 0.0206609834, -0.0553565845, -0.0260834135, 0.0217621438, 0.0486087203, 0.0236292798, -0.0047582006, -0.1105646417, -0.038639009, -0.0007149663, 0.0446439944, -0.0169030819, -0.0249333847, -0.0241430532, -0.126094237, 0.0693087876, 0.0228938293, -0.0740232691, -0.0039121397, -0.0432523228, -0.0125194117, -0.0341703445, -0.0376994871, -0.0106939832, 0.0240457915, 0.045007132, 0.0294897649, -0.0307912864, -0.0665454194, -0.0227474794, -0.0515742227, 0.0576539449, 0.0876332819, 0.0058985921, -0.0042292424, -0.049879387, -0.0101956204, 0.0130649973, -0.0390607938, 0.0028480692, 0.0305520389, 0.0011627791, -0.0518814214, 0.0029347991, 0.0500930883, -0.0588628277, 0.0078218291, 0.012912333, 0.0761573091, 0.0404540747, 0.0201477949, 0.0072811227, -0.0106603969, 0.0234790295, 0.0906762034, 0.036620263, -0.0598544292, -0.020860469, -0.0378400572, 0.0021909724, -0.1002145633, -0.0444119759, 0.005800311, -0.0061025252, -0.0701359436, -0.0983415842, -0.0446495637, 0.0629265755, 0.0144305304, 0.0208196081, 0.015788734, -0.0010642486, 0.0225166921, -0.0445393734, 0.0420846604, -0.0270544477, -0.0086982232, -0.0862373114, -0.0628186762, 0.0056970553, -0.0043210657, -0.0307951402, 0.0929916427, -0.1004556417, -0.043424122, -0.0203390121, 0.0740231723, 0.0136433179, 0.0120285107, 0.0192073155, -0.0233247057, -0.0284922458, 0.0645154789, 0.0348811671, -0.0090167494, 0.0089144111, 0.0327055342, -0.038842801, 0.0318008251, -0.0204282086, -0.0028844974, -0.0223465152, 0.0588530563, -0.0192454215, -0.0373904034, 0.0201387554, 0.039681714, 0.0358546786, -0.0900808573, -0.0021440759, -0.0379745923, -0.0379545726, -0.0064294031, -0.036224626, -0.0766445845, 0.012139054, 0.0233303271, -0.0229026396, 0.0005057193, 0.000283394, -0.0000411321, -0.0131208701, -0.0160330851, 0.0336439312, 0.0406996943, 0.0032721078, 0.0013658368, -0.0092003057, -0.0019070283, -0.0038773424, -0.0293690506, -0.006192077, -0.0225563403, 0.004983895, -0.0093123764, -0.0117910421, 0.0457560197, 0.040366929, 0.0140009671, -0.0131552005, -0.0494880788, 0.0520627089, 0.0809095949, 0.0060078306, 0.0648826882, -0.0296176746, -0.0202932451, -0.0140938722, 0.045738209, -0.0155491624, -0.0332548842, 0.0166096855, 0.0009171618, -0.0204463266, 0.0049169357, 0.0993959829, 0.0109193865, 0.032395903, -0.0078492705, -0.0284104161, -0.0413622484, -0.003639166, -0.0415619463, -0.0294461194, -0.0189983603, 0.0305911005, -0.0190930031, -0.0443207659, -0.0144807678, 0.02687102, -0.0024220329, 0.0572763421, 0.074776426, 0.0233662445, -0.0559354275, 0.0091600167, -0.043639306, 0.0144615313, -0.0291979387, -0.0260381941, -0.0043515782, -5.360882027e-33, -0.0395610854, -0.0698394179, -0.0107753091, 0.0018998528, 0.0128070507, -0.0091266287, -0.0466264896, 0.0356087461, 0.0557597801, -0.0244854707, 0.0231861863, -0.0446945392, 0.0222672634, 0.0572450608, 0.0481619649, 0.0151152993, 0.0421515778, -0.0092728166, 0.0020305791, 0.0257967617, 0.0075588161, 0.0017647728, 0.0637114644, -0.0379783735, 0.0491066799, -0.0431854278, -0.020470554, -0.0087743625, 0.0348535888, 0.0510331355, -0.0315936729, 0.0239679459, -0.003838571, -0.0361106806, -0.0401680693, 0.0104455017, -0.0446875282, 0.0232256446, 0.0018700972, 0.0286367126, -0.0504140183, -0.0377067104, 0.005907489, -0.0540443808, -0.018389523, 0.0264580008, 0.0398090482, -0.024766447, 0.0010908924, 0.0195913129, -0.0271668676, 0.0465929173, -0.0136243515, -0.0158488266, 0.0540829971, 0.0261203982, 0.0102680083, 0.0218554176, -0.0373464338, 0.0471076332, 0.0151014123, 0.0354918502, 0.0740205348, 0.0253749192, 0.0333727077, 0.0211284887, -0.0040483591, -0.014237985, 0.0020828752, 0.024112286, -0.0390087366, 0.007201687, 0.0679285452, 0.0634235665, 0.0205895212, 0.0254356191, -0.0032097588, 0.0480160974, -0.0526651405, -0.0324503481, 0.0124249142, 0.0128680766, -0.0135596301, 0.0304328576, -0.0287926923, -0.0734286234, -0.0107437512, -0.0148391649, 0.0222514831, 0.005903386, -0.036174126, 0.0260871258, 0.0465039611, 0.006596115, -0.0306449793, -0.0088150138, 0.013109046, 0.0509985164, -0.010817199, 0.0116038732, -0.041762881, 0.0080968486, 0.0187377036, 0.0222842526, 0.0200780854, 0.0086630592, 0.0482096635, 0.0301964413, -0.0550531223, 0.0126377512, -0.0431149565, 0.0378961526, -0.0418241359, -0.0068137799, 0.019801328, -0.021283906, -0.0180997755, 0.025670249, 0.0191389546, 0.0062136529, 0.0027202331, -0.0073585142, -0.0277156886, -0.0083309319, -0.0226531271, 0.0376090966, -0.0209965333, 0.0286627132, 0.000092038, -0.0212815665, -0.0166953653, 0.0067035835, 2.244e-7, 0.0277697146, 0.0263213012, 0.0501715727, 0.0055555012, 0.0157336239, 0.0180573333, -0.0335168876, 0.0083945272, -0.0310414676, 0.0042746873, 0.0184627511, -0.0196372867, 0.0490262434, 0.0036078519, -0.0885054246, -0.0050777961, -0.067970477, 0.0382971317, -0.0401446298, -0.0046121092, 0.0395254567, 0.0730712563, -0.0033000016, -0.002185079, -0.0023225681, -0.0686006844, 0.0741934031, -0.0264976863, -0.0122021446, -0.0033072436, 0.0203506388, 0.0526091866, -0.0239557456, -0.0162061658, -0.0189565122, -0.0172418728, 0.0649905205, 0.0256285146, 0.0058293543, 0.0079733804, 0.018507706, 0.0154458508, -0.0098175788, -0.0483224057, 0.0420789942, -0.0030216693, -0.0224433448, -0.0200984031, 0.0091892257, -0.0028456603, 0.0098021226, -0.0494239964, -0.0164976716, 0.019635193, 0.0453021452, -0.0331213363, -0.0371949002, -0.0317846052, -0.0184331909, -0.0264579765, -0.0475167185, -0.0240047406, -0.0754630044, -0.0039331932, -0.0199935641, -0.0113249095, -0.0147036817, 1.688770171e-34, 0.0272165947, -0.0195220727, -0.0019254718, 0.0297874156, 0.0364958905, -0.0015219863, -0.0129096406, 0.0140022868, -0.0053517376, -0.037614353, -0.0367958806 ]
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.0474032685, 0.0408736095, -0.0366607755, 0.0392934754, -0.0553971753, 0.0081945872, 0.0340604, 0.0293778721, 0.0335050784, -0.0211414453, -0.0273747537, -0.0025575806, 0.0023938771, 0.010432166, 0.0560832806, 0.0262093786, 0.0291851126, -0.043471247, -0.0088687846, 0.0199302286, 0.0108985575, -0.0077018482, -0.0044233408, 0.0197924357, 0.0064655547, -0.0018279923, -0.036666166, 0.0217575859, 0.0245568845, -0.0219866931, -0.0074643786, 0.0529823191, 0.0116065023, 0.0448231548, 0.000002341, -0.0522343703, -0.0059431214, 0.0030193175, -0.0093425373, 0.051513318, 0.0300112311, -0.0450091325, -0.0286604874, 0.0001150304, -0.0409607999, 0.0274958741, 0.0407787748, 0.0265827831, 0.0630860999, 0.038520094, -0.0099389413, 0.0085358378, 0.0331786573, -0.0038109829, 0.0313570052, -0.0387209877, 0.0236087982, -0.0361617208, 0.0294023193, 0.0150161339, 0.0074217818, -0.025792826, 0.0168100819, -0.008045245, -0.0352062061, -0.0416558757, -0.0184225384, -0.0406827554, -0.0260437261, 0.0539602973, -0.0504112951, -0.0095885694, 0.0415763222, -0.0026181857, 0.0003436978, 0.0161045846, 0.0121740196, 0.0374299139, -0.0080967192, -0.0293986425, -0.0141478339, 0.0129961362, 0.0401170254, 0.0155791109, 0.0344727151, 0.0131845912, -0.0083280895, -0.0355807915, 0.0367074795, -0.0779825076, -0.0056166616, -0.0634594485, 0.0225756522, 0.01869395, 0.000337324, 0.0061907633, -0.0787461698, -0.0828453228, 0.0335152447, -0.0536187775, 0.0034731701, 0.0467997752, 0.0050990614, 0.0112727871, -0.0222189166, 0.0373308845, -0.0300069116, 0.0276676323, -0.0255849846, 0.0755076185, -0.0045017325, -0.0093530854, -0.0097197145, 0.0373347923, -0.0146191698, -0.0153340446, -0.0599850938, 0.0269146375, -0.0591925308, -0.004351344, -0.0886960179, 0.0097887646, 0.0301511846, 0.0194780286, 0.0461446941, -0.0752164498, -0.0040840344, -0.0084661143, -0.0029104655, -0.0366419367, -0.0049645924, -0.0001435079, -0.0562115498, 0.0100041823, -0.0051035648, 0.137494415, 0.0115464348, 0.0020433387, -0.0701720566, -0.0622468702, -0.0079445252, -0.0078846952, 0.011142035, -0.0850113854, -0.0098658754, -0.0254022367, -0.0219834503, -0.0168817528, 0.0278693084, 0.0079910401, -0.0327402502, 0.0798699111, 0.0074306368, -0.0100134388, 0.0157248043, 0.0475740209, 0.0035919454, 0.0850517899, -0.0133935902, 0.0656014532, 0.0332159251, 0.013374065, 0.04061101, 0.0599941574, -0.0070238318, 0.0189695731, -0.0217693523, -0.0563245788, 0.0266765878, 0.0117293829, -0.0058459863, 0.0140196877, -0.0228225701, -0.0289558023, 0.0640588552, 0.0948629081, -0.0859082937, 0.0611174256, 0.01630334, 0.000343855, 0.0028173774, -0.0202643219, -0.0435852073, 0.0144101102, -0.0474512614, -0.0216383114, -0.0192072522, 0.0430534035, 0.0067377277, 0.0248942804, -0.0193183385, -0.0339210667, -0.0032607594, 0.0089393407, 0.0063071181, 0.0295795351, -0.0254636817, 0.0298722815, 0.0345785581, -0.0314119756, -0.0318270959, -0.0643060803, 0.0149035668, 0.0664685145, 0.0202610362, 0.01126632, 0.0071301563, -0.0123276105, 0.0055048559, 0.0482884347, -0.0423086248, 0.0213174038, 0.0001495437, -0.0150979012, -0.0069498969, -0.0031418991, 0.0096291574, 0.0341783576, -0.0135391746, 0.0056811767, 0.0061682225, -0.0277607609, -0.015824819, 0.020236006, -0.0061183115, -0.033482831, -0.0098865554, 0.0313916616, 0.0299652573, 0.0105788913, -0.0190862957, 0.0168831944, 0.042819716, -0.0526532456, 0.0114881378, 0.0045363936, -0.0413792692, 0.0424159504, 0.0415200666, -0.0516317934, 0.0303679258, 0.0827757195, -0.012254619, 0.0145247206, 0.0365649126, -0.0410443395, 0.0611088127, -0.023964528, 0.0385872982, -0.0269142073, 0.0038016944, -0.010398305, 0.011859512, -0.0291093327, -0.0064517721, -0.0152239706, 0.0408515558, 0.0251306463, 0.0245417282, -0.0264461469, -0.0184508953, -0.0589840226, 0.0290078968, -0.0028221335, 0.0374487191, -0.0282444172, -0.0424527414, -0.041026067, -0.029848706, -0.0132275326, -0.0161291324, 0.0335792638, -0.0119375242, -0.0432310589, -0.0095229791, 0.0036831414, 0.0182597265, -0.0031118807, 0.0141116204, -0.0323289186, -0.0469938181, -0.0620079562, -0.001331575, 0.0110758403, -0.0026835664, 0.0297700074, -0.0413787737, -0.0421867184, -0.0089357989, 0.0362468623, -0.0087024039, 0.0052326019, -0.0199009515, -0.0595850088, 0.0369506106, 0.0046665496, -0.0061484193, 0.0583564751, 0.0197520591, 0.0338198096, 0.0711511448, 0.0184975751, -0.0387394428, -0.0206227954, 0.0358194262, -0.0271757226, -0.009858992, -0.0726013854, 0.012382796, 0.0649509206, 0.0585486218, 0.0425159074, -0.0259678606, 0.0246299319, -0.0161160436, -0.0597535484, -0.0366537459, -0.0616613515, -0.055433169, 0.0202477816, -0.0113254255, -0.0787524283, 0.0646880791, -0.0298987217, 0.0229429081, 0.0078653134, -0.0266237911, 0.0108607411, 0.0173374955, -0.0284832716, 0.0529009141, 0.0598273799, -0.0309392326, 0.0160532072, -0.0352691486, 0.0068547074, -0.0272515416, -0.0004343948, -0.0260341614, -0.0140446555, 0.0188969932, -0.0105660427, -0.0581860766, -0.0774985477, -0.0286091156, -0.0252692997, 0.0396137387, -0.0556632802, 0.0188339427, -0.0134850154, 0.0489738621, -0.0072552874, -0.0137210451, -0.0062988326, -0.016922446, -0.020082349, 0.0555151626, -0.0544671975, 0.0148904659, 0.0110717481, 0.0282968991, 0.1074086502, 0.0490400158, 0.0194466375, -0.0091464138, 0.0606924854, 0.0253490061, 0.0189088657, 0.0157235339, 0.0454557315, 0.0369499624, 0.0073072445, -0.0184363667, 0.046371907, 0.0396841429, -0.0556687005, 0.0415315405, -0.0404277295, 0.0055869953, 0.0125796692, 0.0115183406, -0.0660984367, -0.0190434307, 0.0121373339, 0.0699235201, -0.063359715, -0.0318491012, -0.0288485996, -0.0670657307, 0.007121494, 0.0368784219, -0.0221451223, 0.0114919385, -0.0142761329, 0.0031097797, 0.0436935425, 0.0194403399, -0.0121411327, 0.0033428243, -0.0143339969, -0.0028846134, -0.0394581854, 0.018791249, 0.0388931073, -0.0289744921, 0.0623294115, 0.0675778165, 0.005594979, -0.0375628881, -0.0373635776, 0.0453741848, -0.0027480586, 0.0136714466, -0.0115989391, -0.0118691567, 0.0036825875, -0.0019043345, -0.038618736, 0.0801666975, -0.0186378658, -0.0743488371, 0.0560168214, 0.0479655564, 0.0023841157, -0.0111494046, -0.0375027061, 0.0120459935, 0.0357584916, 0.0338623784, 0.0220261645, -0.0507072136, -0.0236362014, -0.0398590155, -0.039684549, -0.0249984562, -0.0732080489, -0.0132934721, 0.0337059759, -0.0353852101, -0.033667203, 0.0234678853, -0.0363274626, 0.0485389829, 0.0576511659, -0.0146638723, 0.0274823885, 0.0046514603, -0.0381397642, -0.0665727928, 0.0128223859, 0.036430683, -0.0147112701, 0.0269612968, -0.0223868005, -0.0631320626, 0.0129912915, 0.0268315095, -0.0464538485, -0.0682907999, 0.027095288, 0.0623878613, 0.0258779526, -0.0177238546, -0.0555965155, -0.0334053263, 0.1141783372, 0.0732060522, -0.0475989692, 0.0423350371, 0.0677412078, 0.0336265638, 0.0219446141, 0.0108169429, 0.0016042884, -0.0149042867, 0.0861735493, 0.0012919084, -0.0631297976, 0.0105079897, 0.0341592953, 0.042217616, -0.0276935194, -0.0565437786, 0.0172147732, 0.0470892526, 0.0065323086, -0.0035051021, -0.0016725815, -0.0170655157, -0.0037872535, 0.0304984339, -0.0384865403, 0.0396661051, -0.0422698371, -0.0186401624, -0.0302695688, 0.0143761253, 0.0406204015, -0.0039352905, 0.0231714752, 0.0579254627, 0.0252620019, -0.0361573547, 0.0486478023, -0.0463509746, 0.0309447981, -0.0019763932, 0.0771474987, -0.0009502884, -0.0262879133, -0.026669398, 0.0636429414, -0.0422872193, -0.0461993963, 0.0025806881, 0.0348581448, 0.0090518547, -0.0146864243, -0.0004129224, -0.036291711, 0.0071317777, -0.0131992782, -0.0005007184, -0.0571908616, -0.0590546727, -0.0041036848, 0.0202827118, 0.0008665294, 0.0272041727, 0.0334534757, -0.0349073298, 0.0434333235, 0.0543903336, -0.0282432921, -0.0393837504, 0.0262537561, 0.0618812181, 0.0703906044, -0.0505403802, -0.0197145473, -0.0831866935, -0.062423829, -0.0126292119, -0.0103243571, 0.0092510208, -0.0260628462, -0.0091269296, 0.0620304309, -0.0137313986, 0.0183848869, -0.0474384464, 0.0337085091, -0.0126915807, -0.0439843349, 0.0034063172, -6.000743643e-33, 0.0338609554, -0.0719307587, -0.0654323623, -0.0017716027, -0.0221619308, -0.0078505976, -0.0246553533, 0.0453300476, 0.0065465136, -0.0315608718, -0.0303977579, -0.0200439226, -0.0001965312, -0.0280833133, -0.0334631316, -0.0123431794, -0.0268825013, -0.0083859432, -0.0103653874, -0.0084858527, 0.0407572463, 0.0116542242, -0.0049405289, -0.080890514, 0.0437176228, -0.0189897884, -0.044008173, 0.0046248804, -0.03451664, 0.0297711417, -0.0060593849, 0.0302133318, -0.0061127678, -0.0050794287, -0.0050237025, 0.069717072, 0.0421287678, 0.0058230725, 0.0322992951, -0.0091443751, 0.0173107944, -0.053978987, 0.0239974018, -0.0088978549, -0.0297676641, -0.0096886475, -0.0130321495, -0.0255954321, -0.0224738419, -0.0163650792, -0.0581739023, -0.0184419584, -0.0138501972, -0.0225126781, 0.0053058607, -0.0170389581, -0.0299096387, -0.029050665, -0.0697229803, 0.0611592904, 0.0223142058, -0.0108381175, 0.0415896811, -0.0067223925, -0.0053564226, 0.0828967765, 0.0218210537, -0.0388637334, -0.0094977422, 0.0363286659, 0.0397456996, 0.0591346473, 0.0498748012, 0.0672283173, 0.0429572091, -0.0468243584, -0.030363109, -0.0109376963, 0.0318220034, -0.0040516076, 0.0786888599, -0.0040101469, -0.0408573598, -0.00202318, -0.0121402387, -0.0063350885, -0.0291456338, -0.0471979938, 0.0194548555, -0.0047724675, -0.0312643163, -0.072481893, -0.0045722919, -0.0304737017, 0.0482023284, -0.002276408, 0.0090030795, 0.0200701393, -0.0087434547, -0.0073836311, 0.0030731286, 0.0087075951, -0.0022878624, -0.0377207696, 0.0457685143, -0.0104749724, -0.0049351235, 0.0268653799, -0.046435196, -0.0295203812, -0.0308079943, 0.0382514223, 0.0371063352, -0.0273255873, 0.0134861264, -0.0240341574, -0.0254728086, -0.0470696352, 0.0273132715, -0.0163185056, -0.0355096646, 0.0493776836, -0.0644828379, 0.0463878177, -0.026618164, 0.0109812813, -0.0177045614, 0.0415582582, 0.0438336469, -0.0733902752, -0.0091679888, -0.0045467401, 3.103e-7, -0.0613111891, -0.0070705079, -0.0124236476, 0.0007127722, 0.0055302116, 0.0957190171, -0.0004227055, 0.060897816, 0.0103178043, -0.0910809934, -0.0209087096, 0.0176229477, 0.0760156214, 0.0193640795, -0.0496897101, 0.0261817686, 0.0052614352, 0.0201979596, -0.0535053499, 0.0220235419, 0.0558456481, 0.0248752534, 0.0062353988, -0.0481337681, 0.0152915539, -0.0388272293, -0.0173652954, -0.0248161554, 0.0061812191, -0.0246471614, -0.0119758816, 0.0002159887, -0.0104920659, 0.0441042632, -0.0220414121, -0.0623654015, -0.0316992998, 0.0455837883, 0.0028379585, -0.0323156156, -0.0207181796, -0.0086980881, -0.0152586298, -0.0448930748, 0.0483317412, 0.0071792775, -0.0472483747, -0.0010493324, 0.0035901724, -0.0166061819, -0.0125716701, -0.0564966574, 0.0272459611, -0.0045255236, 0.0302028693, 0.0254791696, 0.0213379525, -0.0425633602, 0.0035615556, 0.0164906867, 0.0150411846, -0.0667991564, -0.0321957655, 0.0689448789, 0.036578171, -0.0545413569, 0.0346167013, 3.216636287e-34, -0.0251145083, -0.0227085557, 0.034608081, 0.0129279038, 0.019030733, 0.0467899032, 0.0204553809, 0.0333299935, 0.0349776782, -0.0496571511, 0.0053968602 ]
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.0028052959, 0.0834481046, 0.0238305498, 0.0074008205, -0.00421539, -0.005910987, -0.0142886424, -0.036898911, -0.0330976471, -0.0514792167, -0.0308043566, -0.0532966852, 0.0882396251, 0.023609573, 0.0507935546, -0.0147842988, -0.0004713474, -0.0723496005, 0.0057954867, -0.01686031, -0.0061713383, 0.0251099449, -0.036815431, 0.0636312738, -0.0435170531, 0.0366300195, 0.0027899859, 0.0487367883, 0.0304291248, 0.009065154, -0.0649365261, 0.0068378532, 0.0452665649, 0.044246044, 0.0000018456, -0.0281718373, 0.0090811588, 0.0229201708, -0.0272427648, 0.0042527011, 0.0299632791, -0.0091095204, -0.053963501, 0.0692095682, 0.0172123536, -0.0581706725, 0.0575408228, 0.0041353838, 0.00887693, 0.0320336148, -0.0151740424, -0.0426722243, 0.0733083263, -0.0276307762, -0.0265089292, -0.0151852611, 0.0084379874, -0.0132334698, -0.027102327, -0.0524561256, -0.0200494137, 0.0461039394, -0.0301072039, -0.0360481627, 0.0111959483, 0.0297536105, -0.0163990911, -0.0530861169, -0.0531945191, 0.0338765085, -0.0071061673, -0.0081416238, -0.0101063969, 0.0086079827, -0.0238827746, -0.0013461892, 0.0052383668, 0.0291193333, 0.0052594668, 0.0083597871, -0.0011631812, -0.0094662439, 0.0406866446, -0.0057964534, -0.0536765307, -0.0083856322, 0.0207240526, -0.0143752834, -0.0230748504, -0.0115430485, -0.0078452826, -0.0356185138, 0.0015682074, 0.0163062606, -0.000159989, -0.0082969628, -0.057568185, -0.0510155372, -0.0161178168, -0.0059991577, 0.0149635011, 0.0572284795, -0.050927572, 0.015517693, -0.0061707785, 0.0733380318, -0.0103313932, -0.004975474, -0.0302942842, -0.0269827861, -0.0031579826, 0.007692412, -0.0064175962, 0.0049125161, -0.023322789, -0.047656443, -0.0641363636, 0.0248783547, 0.0015457342, 0.0287233256, 0.006753582, -0.0051255752, -0.0362974741, -0.0371146314, 0.0067247138, 0.0213040002, 0.0633341819, 0.0698811337, -0.0114171002, -0.0626729205, 0.0156472716, 0.0261004511, 0.0230083577, 0.0025182778, 0.0095633604, 0.0944623128, -0.0314242467, -0.0234132055, -0.0145119242, 0.0227779355, -0.0373640507, -0.0331050195, -0.0156694222, -0.0457330681, 0.0327399075, 0.0107914796, 0.0246247295, -0.0110756708, 0.0069515486, -0.0345368572, 0.0067158774, 0.1023803428, -0.0116336094, 0.0495240055, 0.0566076338, -0.0200511049, 0.0052617867, 0.0525717735, 0.0640236214, -0.0155199794, -0.0221992582, -0.0021597028, -0.002658295, 0.0574145541, -0.0243866015, 0.0364989005, -0.0552207157, -0.0510372557, 0.0062701013, -0.0130619816, 0.0473551489, 0.0824743286, -0.0358327068, 0.039617721, 0.0648816302, 0.0289730541, 0.0194099434, 0.0119317435, 0.0205217022, -0.0245257691, -0.0050277971, -0.0112794721, -0.0198575817, -0.0224774517, -0.0283985958, 0.0357509106, 0.0799056217, 0.0842490122, -0.0052481578, -0.0233772546, -0.0350123793, -0.0412638411, -0.0136073688, 0.0501564369, 0.0466734804, -0.0201915521, -0.0675072446, 0.0256652646, -0.0177259948, -0.0531010441, 0.0313192122, -0.041170653, 0.0138965584, 0.0616016574, 0.0626513436, -0.0176763535, -0.0242787525, -0.005258684, -0.0752721205, 0.0446562842, -0.0050807185, 0.0145263281, 0.0570122935, -0.0720364302, -0.0429887548, 0.0702976212, -0.0088064298, 0.0604111329, -0.0267218798, 0.0077157128, 0.0115157394, 0.0045458055, 0.0108116707, -0.001871128, -0.0016410007, -0.0275834631, 0.005617531, 0.0020911261, 0.0603072494, 0.0073091541, -0.0624902248, 0.0254495367, 0.0337279104, -0.030434737, -0.0260340553, 0.0335998386, -0.0554584712, -0.0187524687, 0.0711447224, -0.0069241142, 0.0007060451, -0.0139737232, -0.0044148974, -0.0836026743, 0.0120222094, -0.0271530189, 0.0304716323, -0.0632655025, 0.0465163477, 0.060009554, 0.0001248516, 0.0030920696, 0.0038175767, -0.0361069255, -0.0273664668, 0.030040605, 0.0085235341, -0.0279503465, -0.0445204712, -0.0064236643, 0.0272098593, -0.0133071626, 0.0372883119, -0.0074973274, 0.001003708, 0.0123787699, -0.035496112, -0.094012171, -0.0301990137, -0.0062408308, -0.0090460945, -0.032416109, 0.0044092634, 0.0048686867, -0.0245491546, -0.0229094699, -0.0030107878, 0.0095189251, -0.0103140119, -0.0271218307, 0.0141815022, -0.0229938161, -0.0355543159, 0.0019291862, 0.0103104394, 0.0001451875, -0.0212905407, -0.0151928086, -0.0735442415, 0.0074338927, -0.0310371704, 0.0578236654, 0.0092782052, -0.052838739, 0.000399508, -0.0448288545, 0.0639508367, -0.0060796733, -0.0069601359, -0.0485142842, 0.0306925662, -0.0409215316, -0.0412564725, 0.0104321521, 0.0132970549, -0.0071499394, -0.019515954, 0.0113895545, -0.0737127066, 0.0211989973, 0.0434171967, 0.0187104251, -0.0641509742, -0.0305869225, 0.0163598955, -0.0462811068, -0.0488651991, -0.0665737242, -0.0169318914, 0.0166509561, -0.0146987364, -0.0557231084, 0.044341214, -0.1052162126, -0.0119460514, 0.0103724357, -0.0325854234, -0.0165837035, -0.0170478709, -0.0096793175, -0.0000609886, -0.0356120095, -0.0385497622, -0.034967009, -0.0109739993, 0.0290310513, -0.0702345148, 0.0715165287, -0.0503718704, 0.0183357447, -0.0290929675, -0.0253924113, -0.0277578197, -0.0249137618, -0.0305448137, -0.003381667, -0.0032306495, -0.0466495976, -0.0406839065, 0.0219756551, 0.0178219751, 0.0566627942, 0.0229108576, -0.0054506818, -0.0353964157, 0.0635490566, 0.0082808472, 0.0514801964, -0.012400589, 0.0038471466, 0.0212856214, 0.0078880256, 0.0836417452, 0.0062417444, -0.0542174987, -0.0010862345, 0.0848181024, 0.0768064931, -0.0083007701, 0.0338978581, 0.0375619903, -0.027575247, 0.0165826734, 0.0979044959, -0.0073530134, -0.0196144208, -0.0642571673, 0.0098926369, 0.0281154662, 0.0009256597, -0.0131519558, -0.0365749337, -0.0353614129, 0.07835152, 0.0249402989, 0.0145857781, 0.0545031242, -0.0192045011, -0.1121071801, 0.0547329262, 0.0554071404, 0.0196098778, -0.0261402726, -0.0180660151, -0.0124483611, -0.02527472, 0.0379009023, -0.0009412107, 0.0107656131, -0.0339068174, 0.0524892621, -0.015443041, -0.069498755, -0.0217667371, -0.0077770669, 0.0643664896, 0.0906339437, 0.039142143, -0.0332105085, -0.0411263667, 0.064915061, 0.0038201662, 0.0023594135, 0.0024760091, -0.0024514063, -0.0072541018, -0.0024632732, 0.0371239409, 0.0304412674, 0.0195025876, -0.0167165678, -0.0160649866, 0.0553778745, -0.0345025808, 0.0626272187, -0.0071482817, -0.003459455, -0.0080979643, 0.0362422504, -0.0099182017, -0.0198627971, 0.0088743325, -0.0016476057, 0.0476983972, 0.0057914122, 0.0208753869, 0.0245164912, -0.008740942, -0.0624882504, -0.0306823403, -0.0043792282, -0.0124864699, 0.0288368352, 0.0391469784, -0.0104275998, -0.0238643065, 0.0387861729, -0.0246604811, 0.0172049105, 0.0142605565, 0.0459578633, -0.0764558762, 0.0509997495, 0.024854837, -0.0445800275, -0.0102536306, 0.0628793761, -0.0348276347, -0.0863614753, -0.0041710031, 0.00536791, 0.0179594681, 0.0276629049, -0.0243143309, -0.0452788472, 0.0597215295, 0.0629437044, -0.0091953464, 0.0277300365, 0.0352124497, -0.0095671015, -0.0187687762, 0.0046855602, -0.0576254576, 0.0047762687, -0.0345861576, 0.0069335946, -0.0184787419, -0.0882446542, -0.0037166539, 0.036518462, 0.083626315, -0.0630906969, 0.0325154886, -0.0482651293, 0.0177410413, 0.006301146, 0.0421260111, -0.0480597205, 0.0052664983, 0.0451079495, -0.0003602585, 0.0064395261, 0.0233248584, 0.0196886025, -0.0147944018, -0.0239972919, 0.0240728892, 0.0212097336, 0.0053919414, 0.0070757428, -0.0055558076, -0.0072886702, 0.040705964, 0.0162680522, -0.0258160643, -0.0108758025, 0.0086601023, -0.0074270056, -0.0216487087, 0.0049447431, 0.0108152945, -0.0251653101, -0.0385199822, -0.0273983646, 0.0527612865, 0.0564747155, 0.0447809547, 0.0570254587, -0.0110732606, 0.0120323384, -0.053141702, 0.0251513086, -0.0305436812, 0.0019907798, 0.0430276096, 0.0114480061, -0.0087341266, 0.0168640334, 0.0307135172, 0.006222757, 0.0237623919, -0.0678499937, 0.0116555756, -0.0300340671, -0.0325073227, 0.0000030894, -0.0182590876, -0.0386649109, 0.0230328422, -0.0185618941, -0.0870210603, 0.0284911059, 0.0413337573, 0.015803298, -0.0261101443, -0.0249134451, -0.0104784872, -0.0132388063, 0.0108799934, 0.0000749325, -0.0367734432, 0.0170624498, 0.0191059168, 0.0333389454, -6.207822401e-33, -0.0341377556, -0.0139549002, 0.0125171812, -0.0708486065, -0.0372737832, 0.016572509, 0.0322647393, 0.0100400094, 0.0365022346, -0.0216990132, -0.025658967, 0.0164533351, 0.0350518413, 0.0190318245, -0.0033608845, 0.0469579883, 0.0873001739, -0.0010950563, 0.0202873237, -0.038157519, 0.0442589782, 0.028196713, -0.0111413123, -0.0545936674, -0.0157899763, 0.0324576087, -0.0696044266, 0.0144102732, 0.0122258402, 0.0422320887, -0.0137430206, 0.0243413635, -0.0409244373, 0.0059200544, -0.031139046, 0.0263494924, -0.0897844434, 0.0129396804, 0.0241159461, 0.0414625369, -0.0139213447, -0.00098114, 0.0372417159, 0.0159069244, -0.0301985666, -0.0412632525, 0.0083090337, -0.0464325957, -0.0244132224, -0.0596546046, 0.0069516669, 0.0434735008, 0.0039981157, -0.0155307921, 0.0621475279, 0.0180082433, 0.0166518092, -0.021236185, -0.071777992, 0.0310426541, 0.0145369228, 0.0268621407, 0.0578036569, 0.0641070828, -0.0171639603, 0.0134569323, 0.0109131439, -0.0681360811, -0.0259713084, -0.0454772562, 0.0196844507, 0.0258786678, 0.0139525561, 0.0466651134, 0.0036892591, -0.0302430708, -0.0144875767, 0.0034683992, -0.0035569982, 0.0349269025, 0.0464365557, 0.0626460165, -0.039711386, 0.0068097143, -0.0842876136, 0.0079002241, -0.0392069928, 0.0242711809, 0.0367630273, 0.0650948733, -0.0037888323, -0.0121133393, 0.0550336875, -0.0226321295, 0.0250759702, 0.0320953764, -0.0068740062, 0.0023408777, -0.0284703057, 0.0211651213, -0.0214876421, -0.0260420982, 0.0673247054, 0.0264811311, 0.0002190017, -0.0295277722, -0.0243988615, 0.0886215791, -0.0730367601, 0.0059844558, 0.003135453, 0.02462456, 0.0083984947, -0.0207673348, 0.0604111664, -0.0032538418, -0.0149361594, -0.0084660705, -0.0161180608, 0.0630946904, 0.0063719451, 0.0173510984, -0.001315255, 0.0279360488, -0.0184168722, 0.0198815875, 0.0158122964, -0.0704251379, 0.0296457801, 0.0104534207, -0.0280587096, 0.0265937243, 2.725e-7, -0.0413802341, 0.0046812491, 0.0399549082, -0.0086142896, 0.015494029, 0.0358032174, -0.0318064168, -0.0278175958, 0.036009863, 0.0056582447, 0.0273124259, -0.006910692, 0.0784766227, 0.0380342342, -0.02160169, -0.0310171768, -0.0382680111, 0.0293614324, 0.0242766626, 0.0066786781, 0.0236844141, 0.1004617736, -0.0288201962, -0.0436578095, 0.0125509715, -0.0470531732, 0.0526055992, 0.0058656321, -0.0412908085, -0.0262203179, 0.0463308282, 0.0160283986, -0.0037657898, 0.0096991183, -0.0287788119, 0.0070407814, 0.0171599463, 0.0229941159, -0.0309723411, -0.0449236408, -0.0120388651, 0.0430409983, -0.0355701968, 0.0021905152, 0.0308786184, -0.0005351451, -0.0056124707, -0.0330420993, -0.0316552594, -0.0048585334, 0.0466529541, -0.0430888869, 0.0106521808, 0.0133131463, 0.0289243516, 0.0044976189, -0.0521100499, -0.0701880902, -0.0013982631, 0.0463490747, -0.0724819601, -0.0079146633, -0.0024118461, 0.0014817151, 0.0411026329, -0.0633884892, -0.0095821219, 2.189222771e-34, 0.0405448563, -0.0362114683, 0.013756549, 0.0008532706, 0.0229774956, -0.0249017254, -0.0365845673, 0.0165317263, 0.0128418682, -0.065545924, -0.0449462272 ]
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.05471275, 0.0559639744, -0.0288712569, 0.0313107483, -0.0630367994, 0.0041956478, 0.0113107748, 0.0154779172, 0.0062496727, -0.0268425941, -0.0067942711, -0.0501369089, 0.0015025291, 0.0116054127, 0.0489694178, -0.0449146405, 0.0219393484, -0.0059307837, 0.070852451, 0.0207448434, 0.0100258375, 0.0082581304, -0.0130283525, 0.022522904, 0.006077609, -0.0104886405, 0.0341048576, -0.0049215872, -0.0141838938, -0.0408557914, -0.0061647976, 0.069202289, -0.0015077613, 0.0093859341, 0.0000019972, -0.0525799394, 0.0212661941, -0.0123754283, -0.0079974383, 0.0679670796, 0.0655235797, 0.0128909564, -0.0078272475, -0.0091294991, -0.0388720967, -0.0049128537, 0.0491086878, 0.0470313691, 0.0065732156, 0.0368752033, -0.0377302989, 0.0076935231, 0.0101820491, -0.000401216, 0.0077217212, -0.0091409003, 0.0601148419, -0.0109340362, 0.0192292314, -0.0086941049, -0.0102555249, -0.0070612482, 0.0159416124, 0.0239440519, -0.0578400046, -0.006496931, -0.0313147716, -0.0409302451, 0.0015411903, 0.0298421085, 0.029128205, -0.0545388907, -0.0132915387, -0.0344995782, -0.024590306, 0.0294859931, 0.0057596671, 0.0336532071, -0.0076420247, 0.0019166677, 0.0417737365, 0.0157783814, 0.0273880512, 0.0476791374, 0.010677469, 0.0969538391, 0.0272657089, -0.0470012464, 0.044325605, 0.0101793064, -0.0463260449, -0.0436438806, -0.0349763967, -0.0311657023, -0.0065277508, 0.037278153, -0.0106093502, 0.0351472571, 0.049740646, -0.0401693769, 0.0197014231, 0.0120794959, -0.0444773287, 0.035426084, 0.0028405164, 0.0625276119, -0.0379970744, -0.0069458047, -0.0264461096, 0.0257061291, -0.0472472981, -0.0139387073, -0.0036901229, -0.0269352812, -0.013301366, -0.0187354013, -0.0891864672, -0.0117519991, -0.0232491121, -0.0419742987, -0.0452847071, -0.0046083252, -0.0137011511, -0.0100210551, -0.0354896933, -0.0040017362, -0.018119758, 0.0547385104, -0.0329277962, -0.0691404566, 0.0169761907, 0.0590756424, -0.0087146508, -0.0359092094, -0.0035939228, -0.0011687833, 0.0132299103, -0.0173229594, -0.0307962447, -0.0491166301, -0.056973204, -0.0556332543, -0.0118377954, -0.035871692, -0.0310621765, -0.0074344305, -0.009850624, -0.0564882234, -0.00393986, 0.0007617097, -0.0450479314, 0.0797799677, -0.0108765094, 0.0256102104, -0.0269243792, 0.0150638036, -0.0349875838, 0.0176359713, 0.0480040908, 0.0093517331, 0.0237085111, -0.0178834461, 0.0640403628, 0.0319290422, -0.0522527918, 0.0146769444, -0.0024376423, -0.0240463, -0.0123831779, 0.0066185463, -0.012499352, 0.0771276951, -0.0200609528, 0.007653201, 0.0928523391, 0.0617614128, 0.0042716712, 0.0252761003, 0.0804212093, 0.0455928445, 0.0367037766, 0.0277422797, -0.0594249144, -0.0241152421, -0.0544232428, -0.0013906893, 0.0015640573, -0.000152001, 0.0035596523, -0.0290173832, -0.0175953582, 0.0051063653, 0.0495774746, 0.0040956764, 0.0130194798, -0.0232017115, -0.0530759059, -0.0298590884, 0.0529486574, -0.0612622201, 0.0028953166, -0.0531834699, 0.0467801467, 0.0516106933, 0.0318081267, 0.0115412697, 0.0336164087, 0.004833024, -0.0055925027, 0.0708409548, 0.0381479934, 0.0208962802, 0.0040458455, -0.0329981074, 0.0126213012, -0.0121262353, 0.0367176048, -0.0173493959, -0.013645852, -0.0139900511, 0.0052400585, -0.0534145646, -0.0110578462, 0.033798784, -0.0188983493, -0.0265994705, -0.0181172639, 0.0016743796, 0.0418568626, 0.0120609002, -0.0031996411, 0.0288588628, 0.0203009769, -0.006982808, 0.0208256822, 0.0339271724, -0.0219181459, 0.0229664482, 0.0123416176, -0.0159922708, 0.0022321912, 0.0072338642, 0.0346016884, -0.0290998295, 0.0288311802, -0.0523499958, 0.0353364646, -0.0741500631, 0.0314417519, -0.0418885574, 0.0565445125, -0.0058635911, 0.0756218135, 0.0338718109, 0.0416901149, -0.004781723, -0.0015580036, 0.0294681974, -0.0368857421, -0.0363804363, -0.0049036397, 0.0156167215, 0.0182310343, -0.0000174701, -0.0161635652, -0.0541553199, -0.0224327669, -0.1044699177, -0.0190926995, -0.0013056862, 0.0087809181, 0.0035566723, -0.0582318306, -0.0349484868, 0.0339073017, 0.0072677485, -0.0247264765, 0.0159890205, 0.0472882539, -0.0001135375, -0.027918363, -0.0540239401, -0.0251303706, 0.0012256684, -0.0367047936, 0.043292284, 0.03542744, -0.0043417714, -0.0218581185, 0.0455818512, -0.058698304, -0.0036709676, 0.0256680213, -0.0578462631, 0.0159371607, 0.0175617859, 0.0556846298, 0.0135595771, -0.0235267282, 0.0077853799, 0.0467263572, -0.0317520127, 0.0242411792, -0.0267976578, -0.023785105, -0.0046706987, -0.0275920052, -0.0873268321, 0.0122519778, 0.0489257239, 0.0426326394, -0.0126992352, -0.0834301859, 0.0338552296, -0.0444654785, -0.0479916595, 0.0498339497, -0.0663378984, -0.0406393744, 0.0663427785, -0.0167538282, -0.0673022047, 0.0507323332, -0.0350431837, -0.0128743472, -0.0083381236, -0.0128487656, -0.0022162749, 0.0561657585, 0.0205526482, 0.0048905951, 0.0327260345, 0.0077183335, 0.0041925516, -0.0497399718, 0.0053961091, -0.0210330505, 0.0326473638, -0.101448074, 0.0104562985, 0.0529165603, -0.0255107265, -0.0202936903, -0.071117565, -0.0438345708, 0.009908041, 0.0038055803, 0.0098175276, 0.0037789154, 0.0192479771, 0.0211853683, 0.0130817704, -0.003913817, 0.0099368477, -0.0211583395, -0.0176241416, 0.0106736729, -0.017178895, 0.0329505876, -0.0468243286, -0.0241570827, 0.0052559874, -0.0334694646, 0.0528943278, -0.0530425273, 0.0613619573, -0.0060124905, 0.0075237895, -0.0309215263, 0.0536344536, 0.0336266011, -0.0182498135, 0.0102341706, 0.0962752402, 0.0178935099, -0.0408337787, 0.0302566085, -0.0018327441, -0.0058035813, 0.0033226411, 0.0091875708, -0.0262782015, -0.0131443227, -0.0116084702, -0.0055165589, -0.0767730325, -0.0211353134, -0.0478479825, -0.0544381738, 0.0718282685, -0.002034876, 0.0227149744, 0.0130180446, -0.0328467824, 0.0337286368, 0.0066239457, 0.0111681623, 0.0041538863, 0.0074684937, -0.0017278434, 0.0174350087, -0.0522314422, -0.0842954144, 0.0500947908, -0.0163792875, 0.0351298898, 0.0435739197, 0.0428838283, -0.0362500437, -0.1041781232, -0.0015522937, -0.009058157, -0.0176474359, 0.0219953917, -0.0051845303, 0.0431065597, 0.0053174268, -0.0594304986, 0.040503338, -0.0217546448, -0.0542489178, 0.0124002211, 0.0820180252, -0.0192583762, -0.0682552233, -0.0006241917, 0.0495186001, 0.013704164, 0.0893417597, 0.0400056019, -0.0472539365, 0.0001007346, 0.0288092084, -0.0032078191, 0.0413432196, -0.0666569918, -0.0031224256, 0.0081006438, 0.0290228743, -0.0696222559, -0.0233558454, 0.0161085129, -0.0086258473, 0.0321459956, 0.014620766, 0.0070300712, -0.029876465, -0.0067108986, 0.0569457375, -0.0024347133, 0.0159241352, -0.0612917766, 0.0104670012, 0.0401153453, -0.0648731589, 0.0021632123, 0.0235146433, -0.0091582024, -0.0545581505, 0.0307136215, -0.0201196391, 0.0295105837, -0.0184325892, -0.0010461578, -0.0566223934, 0.000823803, -0.0122500723, -0.0385175422, 0.0642416179, -0.0041123219, -0.0109393885, 0.0112461522, 0.0230070315, 0.0091526788, 0.0721572787, 0.0398136973, 0.0174905714, -0.0061315782, -0.0443958603, 0.071873039, 0.0309277121, 0.0465436727, -0.0223548543, -0.0329757482, -0.0361760817, -0.0495940037, -0.0293728262, -0.0061705234, -0.0203305408, -0.0254853908, 0.0508790947, 0.0170439258, -0.0686582252, -0.0337484218, -0.0845339224, 0.0140253156, 0.0046855537, 0.004443292, -0.0177471023, -0.0038829828, -0.0157242622, -0.0021515789, -0.0062353341, -0.0046953657, -0.0983244255, 0.0438532829, 0.0264411345, 0.069718115, -0.0005050017, -0.029185893, -0.0131582385, 0.0026832623, -0.0347707197, -0.0157408193, 0.009487343, -0.0403972007, 0.0053150686, -0.0370313674, 0.0638170838, -0.0777116567, 0.0166487414, -0.0362061337, 0.0188188069, 0.020093305, -0.020579109, 0.011815764, 0.0274205022, -0.0338580683, 0.0065329145, 0.0188685395, 0.0203867778, -0.0116886497, 0.0101621961, -0.0379747599, -0.0391114876, -0.0441070423, -0.0065838057, 0.0166900586, -0.0284263194, 0.0153636141, -0.0927668139, -0.0550275892, -0.0012832537, 0.0044307453, 0.0447670035, -0.0291731264, -0.0099606616, 0.1060161069, -0.0315476581, -0.0303992704, -0.0093266619, -0.032202255, 0.0292030238, 0.0447959714, -0.0445484482, -6.23987005e-33, 0.0139297182, -0.0421897694, 0.0064320378, -0.0109401979, -0.0215041488, 0.0213349834, -0.045748733, 0.0384876728, 0.0063641947, 0.0372581892, -0.0042177071, 0.0163318105, 0.0298501011, 0.0080826096, -0.0079656746, 0.0429277159, 0.0281640794, 0.0296110306, -0.0141427023, -0.0212235097, 0.0081033902, -0.0303705484, 0.0638977587, -0.0548105016, 0.0864258558, -0.0108850189, -0.0315822177, -0.003072659, -0.057359878, 0.0454593152, -0.0546291135, 0.0425668582, 0.0487329587, 0.0106009673, 0.017273007, 0.0287843272, -0.0071806316, 0.0094397292, 0.099734135, -0.0327145308, -0.0357888527, -0.0107517, 0.0193488393, -0.0376732871, -0.0359919928, 0.0503521413, 0.020426454, -0.0417132564, 0.034325026, 0.0083009973, -0.0778489187, 0.0146401543, 0.0096276328, -0.0106962686, 0.0215645973, 0.0177400727, -0.0597822219, 0.007151023, -0.0267079733, 0.0348338336, 0.0139268124, -0.0001874065, 0.0324140154, -0.0277258512, 0.0033738846, 0.069312185, 0.0138783045, 0.0001253524, -0.0348288193, -0.0225601345, 0.039555382, 0.0456959158, 0.0737917647, 0.0747629628, 0.0295469146, -0.0136609674, -0.0307798125, -0.0512261279, 0.0435293987, -0.0203725491, 0.0788012147, 0.0062711933, -0.0663331226, -0.0562934577, -0.0432476401, -0.003804093, -0.0597339869, -0.0308643375, 0.0404682048, -0.0175197367, -0.0188409314, 0.00601489, 0.0089483215, -0.010838029, 0.0344136991, -0.023978442, -0.0523647852, 0.0369392037, -0.0024751485, 0.0276754871, -0.0148648098, 0.0152352927, 0.0330887511, 0.0009517686, 0.031127315, 0.0005971853, -0.0142365834, -0.0004313037, -0.0347952656, 0.0116700158, -0.0233004857, -0.006636411, 0.0074380198, -0.0229203925, 0.0430808365, 0.0529301502, -0.022164233, -0.0217832103, 0.0157698598, -0.0163321234, -0.0305232219, 0.0219539553, -0.0417518839, 0.0404805876, -0.0235461611, -0.0167460423, 0.0187886022, -0.0013519113, 0.0447829328, -0.0223664865, -0.0034458307, 0.0231271554, 2.79e-7, 0.0031271672, 0.0687751248, -0.0306083392, 0.0135705844, 0.0134428069, 0.0252034832, -0.019872088, -0.028573595, 0.045235455, -0.0560571291, 0.0088913888, 0.016939899, 0.0602678098, 0.0217613131, -0.0137449047, 0.0401110761, 0.0017414687, -0.0228275433, -0.069642745, 0.0045851534, 0.0772853792, 0.0428998508, 0.0448977388, -0.0148882298, -0.0044366419, -0.0419572555, 0.0476971008, -0.0610544011, -0.026702676, 0.0387538001, 0.0293764416, -0.0120724589, 0.0201537088, 0.1001299024, 0.0126534374, 0.0071787057, 0.0295114461, 0.0317697562, -0.0029847103, -0.0005807354, -0.0211377889, -0.0104948496, -0.0110712899, -0.0548508316, 0.0462946258, -0.035057418, -0.0600988753, 0.0326998048, -0.0448213555, -0.0361520909, 0.0305442121, -0.0080915624, -0.0200682245, -0.0094457585, 0.0088931778, 0.0085672615, -0.0233117137, -0.0255558286, 0.0032607189, 0.0117697483, -0.0439407192, -0.0307838731, -0.022103535, -0.0018289203, 0.0220066775, -0.1000603735, 0.0259870831, 2.593370815e-34, 0.0331752859, 0.0227163229, 0.0548809022, -0.0405020826, 0.0641395748, 0.0596427992, 0.0186022203, 0.0333431959, 0.0262352228, -0.0929849669, 0.0102601945 ]
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.0353551842, 0.0289305262, 0.0113253742, 0.0602920391, -0.0010157666, 0.0076616295, 0.007820663, -0.0043711471, -0.0398022495, -0.0148264216, -0.0286771804, 0.0118920803, 0.0146240899, -0.0143978186, 0.0193771273, 0.0271351412, -0.0055647553, 0.0049754013, -0.0229651146, -0.0145138828, -0.0101297516, -0.0402293727, 0.0122461068, -0.0175822116, 0.0264182184, -0.0053822459, -0.0304825921, 0.0702411234, 0.0249858033, -0.0187073238, -0.0084524276, -0.0110334009, 0.0260853954, -0.0475266688, 0.0000021183, 0.0382666141, -0.0009249922, -0.0034395785, -0.0346476249, 0.0538016185, 0.0069125202, -0.0197437387, -0.042218741, 0.0247855671, 0.0189075358, 0.0357568562, 0.0442904979, 0.0025911408, -0.0033300465, 0.0227869768, 0.039437741, -0.0229411032, 0.0624656342, -0.0043956428, 0.0172725115, -0.0137708299, -0.0052272333, 0.0282612313, -0.001011484, 0.006571753, -0.0126790795, 0.0085689127, 0.024135204, -0.027419474, -0.0103159538, -0.0192081723, -0.0236003287, 0.0339641683, -0.067561008, 0.0515160859, -0.0528366454, -0.0347284153, 0.015318891, -0.0179798305, -0.059313152, -0.0743420795, -0.0275108498, -0.0365044102, 0.0389087237, 0.0496774986, -0.0408426858, -0.0513000078, 0.0426715948, -0.0226508193, -0.0476768389, 0.0616716817, 0.0477324761, 0.0300568994, -0.00331032, -0.0330960676, -0.0519423224, -0.0235668272, -0.062275406, 0.0163941551, -0.0075427825, -0.0269830525, -0.0971999839, 0.0402848795, 0.0171565786, -0.0201976839, 0.0070537138, 0.0582458042, -0.0018282472, -0.0148178563, -0.0336858779, 0.0305594541, -0.0192874353, 0.0342903733, -0.0717783272, 0.0014577606, 0.0874985531, 0.0024334658, 0.0457975194, 0.045944497, -0.014397026, -0.0058769248, -0.0542706251, -0.0198591668, -0.0029950016, 0.0091899494, -0.0325818695, 0.0089108124, -0.0357528254, -0.0561759472, -0.0187754296, -0.0096021816, 0.0361154154, 0.0182927195, 0.0247439295, -0.0629012212, -0.0114245815, 0.0182477441, -0.0134664355, 0.0061576264, 0.0456803702, 0.0145993568, 0.0130473403, -0.0677265972, -0.0073854714, 0.0351963304, 0.0139740929, -0.0437995084, -0.0012015379, -0.0236031786, 0.0463250205, -0.0147237359, -0.0020091066, -0.0092261424, 0.0189762954, 0.0316959284, 0.0109825386, 0.0517572239, -0.0184541233, -0.0473942049, -0.0150965881, -0.0049970043, 0.0642110705, 0.0642978624, 0.0651761144, 0.0026795098, -0.0229507461, 0.0138935456, -0.0378637016, 0.0214168262, 0.0348530747, -0.0178282093, -0.0443421192, 0.0021505319, -0.0096611418, 0.0177704841, 0.0651077777, 0.0334463716, 0.0089827543, -0.0527722389, 0.0001355392, 0.0269581135, 0.0671111792, -0.0177382249, -0.0343119241, 0.0271396637, 0.0206554011, -0.0312530324, -0.0687605962, 0.0949046388, 0.0101295169, -0.0097770831, 0.0577716902, 0.0630268976, -0.019015871, -0.0267827176, -0.0570579916, -0.024774991, -0.066812627, -0.0148552461, -0.0402570143, -0.0163027495, 0.0210218001, 0.1238484457, 0.0374508165, -0.0466967672, -0.0389071479, -0.0794216469, 0.0120636541, -0.0060999743, 0.0365663841, -0.0233496409, -0.0275311563, 0.0265726391, 0.0026002564, -0.0323627964, -0.0117558781, 0.0190616827, -0.0024828876, -0.0182691198, -0.0504879616, -0.0055772848, -0.0204857141, 0.0127703119, 0.0172194876, -0.0154394768, -0.0249996651, -0.0431320816, 0.0008060118, -0.0099663604, 0.0453465693, -0.0270079225, 0.0610213578, 0.0066741053, 0.0134976311, 0.0466998927, 0.0206069853, -0.0193736423, 0.0512800142, -0.0319128595, 0.048494041, -0.0713905767, -0.0255581215, 0.0134141697, 0.0436721854, -0.025366392, 0.0661046579, 0.0112840934, -0.049394615, -0.0275327377, 0.0228779223, -0.026515685, -0.0033794467, -0.0193101559, 0.0240894295, 0.0316833146, 0.0396714509, -0.0297143497, -0.0114595657, -0.0633239299, 0.0125205461, 0.0141601209, 0.0378001779, 0.0046532741, -0.0149450712, -0.0116145294, -0.0080537414, 0.0467757061, 0.0011415957, -0.0099040112, 0.009066686, 0.0251005702, -0.0280482564, -0.0266870521, 0.0089454511, -0.0273577068, 0.0348850414, 0.0321030505, 0.0236005746, 0.0200513378, 0.0025929466, -0.0286079608, 0.0154643403, -0.0641792044, -0.0434963852, 0.0079314932, -0.0059588705, -0.0370307863, -0.0064206775, -0.0089405468, 0.0316022933, -0.0186465792, -0.063831009, -0.014754869, -0.0753668919, -0.0333912186, -0.0186532326, 0.0044266395, -0.0129198795, -0.0208440516, 0.0068995943, -0.0072115893, -0.0453737304, 0.0356679037, -0.0266177077, -0.0214351192, 0.0735322088, 0.0385779925, -0.0337386765, 0.0234790388, 0.0285680909, -0.0413538925, 0.0238716546, 0.0271420665, -0.0431393087, 0.0261560325, -0.0331574827, 0.0077305613, 0.067596145, 0.0070698438, 0.0497122481, -0.0034164784, 0.0138572911, 0.0559966378, -0.0389131941, -0.0049855676, -0.0175554659, -0.0289801285, -0.0367134362, -0.0291611049, 0.0162919946, 0.0381848477, -0.0242359862, -0.0138971647, -0.0200254899, 0.010953336, 0.0287974086, -0.0528272465, 0.0179761816, 0.0113741346, -0.0093985246, -0.0293557104, -0.0530444197, 0.0414896049, -0.0120605677, 0.0178890452, -0.0501199663, -0.0151320864, 0.0505479462, 0.0462752953, 0.0190392956, -0.0118758492, -0.0158543698, -0.0023783923, 0.0623765662, 0.0051592649, 0.004378817, -0.0253670644, 0.0265671257, -0.0210509952, -0.0602628291, -0.0060103037, -0.0342352279, 0.03615297, 0.0572599806, 0.064148359, -0.014646831, 0.0119727664, 0.0247301701, 0.0687304586, -0.0561536476, -0.0033464185, 0.0441731662, 0.0195405819, -0.026640363, 0.0487396792, 0.0669127256, 0.0095409965, 0.0360279679, -0.0341025367, -0.0144567126, -0.0431257039, -0.0016408712, 0.0217331555, 0.0517626032, 0.0606262796, 0.0038040911, -0.0728308856, -0.0361621156, 0.0348539613, 0.0242018271, 0.0136821838, -0.0010173726, -0.0483133979, -0.0140963532, 0.0131885055, 0.0300540719, 0.0767831504, -0.0610672608, -0.0033633364, -0.0061340802, 0.026092574, 0.092612192, 0.0652835518, -0.0212616958, 0.0064072381, 0.0023997761, -0.0451386347, -0.0118706413, -0.0215122309, -0.0003433944, 0.0281609986, 0.0368981808, -0.0023390914, -0.0124330008, -0.0159201901, -0.0089069046, 0.0244375952, -0.0183231179, 0.0001816195, -0.0666769445, 0.0464779809, -0.0468519516, -0.0065356684, 0.0021281675, 0.0242881645, 0.0170741454, -0.0390841737, 0.0035346453, -0.0386483707, 0.0268791504, 0.0544518195, -0.0779600888, -0.0162632652, 0.0009798927, -0.0160566736, 0.0468928069, -0.0399714261, -0.045275636, -0.0201611556, 0.0149233649, 0.0031732174, 0.0017349137, -0.0067740073, -0.0089064538, 0.0400317386, 0.0138815222, -0.0069631208, 0.005982907, 0.027043622, -0.0329368114, 0.0174690895, -0.0349134691, -0.0906942561, -0.040506918, -0.0693138912, 0.0200066641, -0.0041837175, 0.0395492576, 0.0049832109, -0.0211714543, 0.0275617782, -0.0030005961, -0.107440494, -0.0101201283, 0.0068351091, 0.0489700846, 0.0115667321, 0.022730248, 0.0529275499, -0.0281075519, 0.0591751747, 0.0670580566, -0.0214734338, 0.0958214998, -0.0446425639, 0.0472307205, 0.0149551183, 0.0185014345, -0.0318364836, -0.0109199854, 0.0512776338, 0.0634972453, -0.0292341299, -0.0777056292, -0.0310390294, 0.0267229583, 0.0212270524, 0.0192484651, -0.0086941132, 0.047576271, 0.0755555853, -0.0411009863, 0.0502713397, -0.0121413795, -0.0286591928, -0.0028836057, -0.0589485951, -0.014456409, -0.002889744, 0.0472665727, -0.0329399109, 0.046992071, -0.0256151315, -0.0675546899, 0.0318373851, 0.006686266, -0.0267506596, -0.0038521204, 0.0112900613, 0.0042842273, 0.0678762496, -0.0354718566, 0.0021798245, -0.0408015437, 0.0055365716, -0.0383761488, 0.0375708565, 0.0436643399, -0.0485910326, -0.0662281662, 0.0016390159, 0.0580861941, 0.0942353085, 0.0441706218, 0.0256295912, 0.007825112, 0.0137682017, 0.0505339988, 0.0167205743, 0.0536536574, 0.03220433, -0.030147288, -0.0024338479, -0.0069891289, -0.0650206879, -0.0350446925, 0.0218193345, -0.0577974655, 0.0702587888, 0.0342296436, -0.0161994621, -0.0284568891, -0.008004223, 0.0279575791, -0.0531615503, 0.0164535604, 0.036200922, 0.0710388124, 0.010037289, -0.0130203282, -0.0756903365, 0.0086714635, 0.0258071758, 0.0157691799, -0.022377545, 0.0158078559, -0.0934682712, 0.0250630546, 0.0063428902, 0.0280586444, -5.949884778e-33, -0.0673054084, 0.0334605649, 0.0458101369, 0.0303097516, 0.0109246355, 0.0172250122, 0.034268789, -0.0133546432, -0.0163927581, -0.0542601049, 0.0024235959, -0.0160241816, 0.0218883082, -0.0391032696, -0.0149638122, -0.0113351895, 0.0224308558, -0.0077304323, -0.0246717744, -0.0024039026, -0.0216815416, 0.0142690055, 0.0247619096, -0.0021982118, -0.0388407148, 0.0213383604, 0.0253242776, -0.0209007319, -0.0100064222, -0.0092384731, -0.0536310598, 0.0028524094, -0.0240852833, 0.0425855219, 0.0091121746, -0.0075699301, -0.0677737072, -0.0350885093, 0.0134963058, 0.00630457, 0.053517051, -0.0614536814, 0.0472000539, 0.0727528855, -0.1013856083, -0.0339007191, -0.025602527, 0.0405758806, -0.0223525595, -0.0583181009, 0.0309925769, -0.0126732197, 0.0338635072, 0.0476119593, 0.0006937167, -0.1019363105, -0.0771043673, -0.0058475551, -0.0772370622, -0.0325812288, 0.0326677933, 0.0522715598, 0.0300051551, 0.0024095792, -0.0020076148, 0.0791428462, 0.0139224473, -0.0229382217, 0.0117274635, 0.0607855618, 0.0007364958, 0.0178815629, -0.0338012241, 0.0456417203, 0.0745204017, -0.0002310679, -0.0350968204, 0.0235360749, 0.0020814994, 0.0529600866, -0.0104678338, 0.0218743384, -0.0211988725, -0.0129890088, 0.0245828461, 0.0393153504, -0.0275350157, -0.0348438025, -0.0169506501, 0.022630319, -0.0366481245, -0.0110425847, -0.0259702709, -0.0152073093, 0.0040260255, -0.0664234236, 0.0410134941, -0.0091053378, -0.0048964559, 0.0067239436, 0.0106229614, -0.030909352, -0.0149086798, -0.0475650802, 0.0277661327, 0.0141340196, -0.0084979441, 0.0872443542, -0.0726834685, -0.025045855, -0.0197005756, -0.0201404281, 0.0077584954, -0.064335227, -0.0030524707, -0.0192145687, 0.0014162085, 0.0186528936, -0.0648913011, -0.0265718736, 0.0290170368, -0.0202111192, 0.0399245434, 0.0714207962, -0.0489452556, 0.0105883228, -0.0179072246, -0.0070892917, 0.0085696457, -0.0454216376, -0.0363183282, 0.0133405337, 3.026e-7, 0.0151124755, 0.0054989969, 0.0237149801, 0.020745812, -0.0263101049, -0.0345706418, 0.0145900026, 0.0334037803, -0.0067580068, -0.0376482457, -0.0234791879, 0.007829532, -0.0032589131, -0.0511046648, -0.0004724754, 0.0354658477, 0.067510739, -0.0049242396, 0.0151376165, -0.0523992181, 0.0237896126, 0.0642246827, 0.005307572, -0.016538199, 0.0222211592, -0.014937426, 0.0141337812, 0.0205178075, 0.0056708814, 0.0239244439, 0.0569328777, -0.0461991616, -0.0402334891, -0.0101275127, 0.0545265786, -0.0030848447, -0.0639334172, 0.0662678778, 0.0081098778, -0.0566288754, -0.014899753, -0.0347242951, -0.0284367204, 0.0319747962, 0.0347032994, 0.0620531105, -0.0069346065, -0.0665386543, -0.0217431337, -0.021090284, -0.0019144031, -0.008125836, 0.0821061283, -0.0177008659, -0.0064501967, -0.0085511804, 0.0209134426, -0.0358835496, -0.0314086564, 0.0624714047, 0.0176644213, -0.0253115389, 0.0011292814, -0.0151606826, -0.0087275961, -0.0449936204, -0.018715376, 2.64418087e-34, -0.0115583073, -0.0047710836, 0.0415024497, 0.0602897182, -0.0297510717, -0.0157854259, -0.0336462781, -0.0109281745, -0.0447987951, -0.0247050617, 0.0142343035 ]
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.0140928319, -0.0070262654, -0.0475201942, 0.038646169, -0.0076645864, -0.0023576911, 0.0050198226, -0.0104198148, -0.0061397636, -0.0189360976, -0.0358500779, -0.0245808419, -0.0123812091, 0.0338567793, -0.0052736667, -0.020843355, 0.0427450091, -0.0476692021, -0.000919165, -0.0015362337, -0.018609805, 0.0106508117, -0.0459687077, 0.0721472576, 0.0285271015, -0.0297779404, -0.0591873191, -0.0087882634, 0.036111597, -0.0317950882, -0.0492624082, -0.0054160813, 0.0464537144, -0.0132803768, 0.0000018946, -0.0228392482, 0.0044776225, -0.0283393692, -0.0325008631, -0.0475245528, 0.0004737701, -0.0250094309, -0.0035751066, -0.0053609908, -0.055329565, -0.0308448933, 0.0740382448, 0.0194148086, 0.0548421368, 0.0113304602, -0.0044041728, 0.0257522669, -0.0364588946, 0.0125370352, 0.0000826378, -0.0603076741, 0.0105962018, 0.0763327628, 0.0399751626, 0.0070824665, -0.0196856633, 0.0114538148, -0.0106337257, -0.0173717961, -0.0035998893, 0.0322602727, -0.009995047, -0.0041801254, -0.0293197148, 0.081565313, 0.0356964096, 0.0056213178, 0.0331653133, 0.0099658221, -0.0010060458, 0.0336802229, -0.0506486073, 0.0342826694, -0.0400313102, -0.0176354423, -0.0008667524, 0.0252552256, -0.0045700315, 0.0192689802, 0.0270009693, 0.0677626878, -0.0356033705, 0.0023547031, -0.0878023952, -0.0288440771, -0.0150523977, -0.0395683572, -0.0149032837, 0.0467531681, -0.0665870085, 0.0328394845, -0.0172987878, 0.0218548216, -0.0031286266, -0.0386339426, 0.0539279468, 0.058506839, -0.0013193547, 0.0715621933, 0.0164826754, 0.0408808403, 0.0224005822, 0.0130795194, -0.0300106853, 0.0021145463, -0.07886222, 0.0059929043, -0.0405792519, 0.0217605513, -0.0525348596, -0.0077122711, 0.0328822061, 0.0616845973, -0.0342964679, 0.0171647035, -0.0193069652, -0.0049678339, -0.0592868514, -0.006711618, -0.018884033, -0.0121054333, -0.0410968959, 0.0341345742, -0.0439121947, -0.0842806846, -0.0090706078, 0.0291406959, 0.0119914403, -0.0028795304, -0.0278881676, 0.065128468, 0.0285853967, -0.0115806423, 0.0117316227, -0.0300032832, 0.0281453803, -0.0420638472, -0.0110364901, -0.0341842584, 0.0276360773, -0.0020067838, -0.0093670059, -0.0023335179, 0.0126502477, -0.0195485912, -0.0275515039, 0.104178533, -0.0395997539, 0.0479507595, 0.0316845812, 0.0283297189, 0.0003829594, 0.0536426157, 0.0222951453, 0.0092335064, 0.004905507, 0.0190333799, 0.0353997275, 0.0101244403, -0.0367248319, -0.0210774578, 0.0194353051, 0.001529736, -0.0098003699, 0.030495083, 0.0010118758, 0.0177353844, -0.0136318477, 0.0053139911, 0.0716305152, 0.0575602502, -0.0519130006, 0.0195709299, 0.0696680993, 0.0816061124, -0.0241663847, -0.037005987, -0.0402813517, 0.0341788121, 0.0299670137, -0.0329871364, -0.022431355, 0.0316913389, -0.0048903101, -0.0590794906, 0.0031989187, 0.0001121127, 0.0567260087, 0.0200894773, 0.0395943634, -0.0129617909, -0.0330923162, -0.0198794771, 0.0106041878, -0.0398035124, 0.0076536979, -0.0689993948, 0.0371152051, 0.069059968, 0.0295134969, -0.0340296105, -0.047699783, -0.0205137301, 0.0288730171, 0.0112233097, 0.0136615625, -0.0289588235, 0.058012791, -0.0259155463, -0.0403568856, -0.0061277533, 0.0095101651, 0.0684778318, -0.0411096998, -0.0625469685, -0.0109766731, -0.0357475244, 0.0011572241, 0.0272051599, 0.0293693617, 0.0222660266, -0.0657506734, 0.0128937354, 0.0067990343, 0.0139513817, -0.022068182, -0.0454053022, 0.0266542379, -0.0141039034, -0.0219209064, 0.0747687593, -0.0107685579, -0.037794359, 0.0213443078, -0.0048563005, 0.0064932276, 0.0150804296, -0.0054692123, -0.0133110303, 0.0440426618, -0.0422665365, 0.036397703, 0.001367011, 0.000993701, -0.0318553932, -0.0028533782, -0.0497718006, 0.0464172997, -0.01124465, -0.0163984913, 0.0378864557, 0.0043179309, 0.0322797298, -0.0311303921, 0.0295338612, 0.040315859, -0.0135332057, 0.004616234, 0.0375909097, 0.0095967473, -0.0368569419, 0.022928616, -0.0867313892, -0.0627549961, -0.0292000584, 0.0097923018, 0.0293838512, -0.0252184402, -0.016673848, -0.0081745507, 0.0077927876, 0.0353121497, 0.0299682636, -0.012852611, 0.043413952, 0.0183914602, -0.048125647, -0.0243656971, 0.0157579053, -0.0209866818, 0.0030360448, 0.0370884202, -0.0268817432, -0.0616859086, 0.0506344065, -0.0199522804, 0.0053323046, -0.0417059921, -0.0620936528, 0.0268043559, -0.0114495018, 0.0438819863, 0.0360220373, -0.0358016901, 0.0640997291, 0.0693053082, -0.0418368243, -0.0493298732, 0.0328885429, 0.0064351242, -0.0018106882, -0.059432622, -0.029800456, 0.0202405248, 0.0775159746, -0.0061931219, -0.0011945553, -0.0514170118, 0.0462637171, 0.0031046683, -0.0486346222, 0.0178212132, -0.0292391777, -0.0016248754, 0.0632356107, -0.0386169851, -0.0061206813, 0.0660458878, -0.0209957678, -0.0590319075, -0.0307106059, 0.0029630484, -0.0011182829, 0.0638426244, 0.0129304202, 0.0287854299, 0.0274154432, -0.0108297421, -0.0369926691, -0.0321939923, 0.0161965527, -0.0058601503, 0.0151061052, -0.0873950496, -0.0021993283, 0.0093726078, -0.0110568209, -0.0217517391, 0.0268044677, -0.0082588531, 0.0097004203, -0.0050552902, -0.0186414532, -0.0389949866, 0.0325029045, 0.0476025753, -0.0171413217, 0.0092174234, -0.030284794, -0.059698768, -0.021468142, 0.0437142588, 0.0844068006, -0.0117672868, -0.0170737784, 0.069667764, 0.0444726795, 0.0316190831, -0.0334570669, -0.012359946, 0.0119851287, 0.0358679891, 0.0021040717, -0.0090782233, 0.0501284972, 0.0538432784, -0.0507658981, -0.0278670471, 0.0619651414, 0.0222472884, -0.0024480743, 0.005929695, -0.0618957803, -0.0046158601, 0.0330282263, 0.0097477296, -0.0020648586, -0.023698952, 0.0081461994, -0.0138371671, 0.0002995856, -0.0593872257, 0.0146816233, -0.0780921355, 0.0504329167, -0.0341400839, -0.0358357169, -0.0345986672, -0.0195644274, 0.0494337678, -0.0056403498, -0.0358755626, -0.0371709429, 0.047613427, 0.0063070166, 0.0323903337, 0.0017426872, -0.0173358545, 0.0243795738, -0.0650839508, 0.1406477094, 0.069155097, 0.0608659275, 0.0047293999, -0.0087775281, -0.0371144041, 0.0476326682, 0.0174504295, -0.0214112718, 0.0088691637, 0.00166592, 0.0098198624, 0.0369057246, -0.0185040776, -0.0446727276, -0.0240391493, 0.0211516004, 0.0452564582, -0.0466223732, 0.0315661505, -0.0130163981, 0.0620582104, 0.0711737797, 0.0489823967, 0.0217396915, -0.0170254204, -0.0171594154, -0.0400855802, -0.0081913183, -0.0203741714, -0.0478959717, -0.0265313145, -0.0021458431, 0.0121798562, -0.0580680706, -0.104444325, 0.0360690169, 0.0273616519, 0.0023294457, -0.0006346687, -0.0007569522, 0.0361675024, 0.0018843745, 0.0293889064, -0.0144212758, 0.0268019494, -0.003727793, -0.0142181236, 0.0221521892, -0.0885639563, 0.0027824452, 0.0286948532, -0.0370852947, -0.0300282557, 0.0295347385, 0.0480992198, 0.0180450249, 0.0301587246, 0.0095392214, -0.0169674065, -0.0449381545, -0.03105882, -0.0569905862, -0.0062246695, 0.0238609761, 0.0485738702, 0.025548296, 0.0286201481, -0.0191719308, 0.0686277598, 0.017067628, 0.0751793161, -0.0501862951, -0.0436374843, 0.0241459087, -0.0225649364, 0.0111641912, 0.0176221244, -0.0147201912, -0.004159675, -0.0043699904, -0.0376353823, 0.0020202829, -0.0652389899, 0.025116615, -0.0203937702, -0.0164962746, 0.0508668832, 0.037156038, -0.043738056, 0.0285218693, 0.0390878394, 0.0464938432, -0.0244272202, -0.0030192889, -0.0017760346, 0.0474645272, 0.0272967592, 0.0252221525, 0.0237613339, 0.059103407, 0.0351051912, 0.0565628484, 0.0260699634, -0.0609037355, -0.0373796038, 0.0519526117, -0.0285485871, -0.0673387721, 0.0647356063, 0.0372662395, 0.0383995585, 0.0370989665, 0.038681861, -0.022496881, 0.0451882035, 0.0076144864, 0.0270080492, 0.0602673888, -0.0590627901, 0.0211446732, 0.0629595444, -0.0270394757, -0.0232235044, 0.0215617083, -0.005780363, 0.0254040156, -0.0157472994, -0.0232546516, -0.0365418717, -0.0021883834, 0.0137004601, 0.0501602516, -0.0520465784, 0.0478819236, -0.0596118607, -0.0292137135, -0.034384992, 0.0663835928, 0.0170127954, -0.0569574013, 0.018328784, 0.0660312548, 0.010973922, -0.0603954159, -0.0613334589, -0.0269234274, -0.0312582627, 0.0292780586, -0.0598920323, -5.024264159e-33, -0.0509834923, -0.0568117425, 0.0543599091, -0.0072835181, -0.0037246936, -0.0150587689, -0.0561485514, 0.0170828607, -0.0480988808, -0.0012260554, -0.0030994648, 0.0363737009, 0.0107550034, -0.0083665214, 0.0077749169, -0.0022160944, 0.0471335426, 0.0055111288, -0.0342925638, 0.0203904305, -0.0033158697, -0.0107942838, 0.0412435122, -0.0921421871, 0.0433671251, 0.0172555801, -0.0035381045, 0.0238955375, 0.0138471555, 0.0183635224, -0.0210083295, 0.0191936046, 0.0492136143, -0.0365831219, -0.0113689611, -0.0062365001, -0.0440432169, 0.0231863298, 0.0243557319, 0.0005250952, -0.0298575647, -0.0173457377, -0.023511285, 0.012477668, 0.0029948135, -0.0036599722, 0.0657979026, -0.0274715945, -0.0086876079, 0.0611958131, -0.1112122461, 0.0103623299, -0.0616991036, -0.0626586005, 0.0476369336, 0.0524988994, -0.0024909154, 0.0059341257, -0.0694766715, 0.0345636979, -0.0257498864, -0.02263036, 0.0570418127, 0.0427566208, -0.0058011762, 0.0293217152, 0.0423950329, 0.0432065316, -0.0437636748, -0.0193960872, 0.0116734803, 0.057264924, -0.0181327164, 0.0709422752, -0.019377457, 0.0508266836, -0.0326019749, 0.0384754241, 0.0137006864, 0.0653022304, 0.0431235656, 0.0180112049, -0.0575454868, 0.0090527683, -0.0263838749, -0.0116995834, 0.0048431484, -0.0408955477, 0.0134964362, -0.0208952483, -0.0278607719, -0.0418212898, 0.0581751503, -0.0467400886, -0.001047757, 0.0073565468, -0.0224919338, 0.0172167476, -0.0266663861, 0.0273834858, -0.0164885279, -0.0218363889, 0.0159161352, 0.0267177317, 0.0166771878, -0.0054155686, -0.0447681285, 0.036742758, 0.0085453708, -0.0240682568, -0.0364693478, -0.0140403379, -0.0115317814, 0.0202972274, 0.0284178052, -0.0490916073, -0.0215141084, 0.0048034764, 0.030002242, -0.0751067474, -0.012218737, -0.0273603387, -0.0571321212, -0.0025884705, -0.0493626818, -0.0438007824, -0.07274542, -0.025882395, 0.0424191877, -0.0202796012, -0.0344149731, -0.02755481, 2.734e-7, -0.0223352108, 0.0422255136, 0.0066579655, 0.0093076415, -0.0250834581, 0.066820465, -0.0230853334, 0.0144078359, -0.0009957788, -0.0248908363, 0.0440430567, 0.0606806502, 0.0245137848, -0.0295283832, -0.0512225032, 0.0180091951, -0.0001693697, -0.0201236997, -0.0483067743, 0.0334086753, 0.0555379055, 0.0126863709, -0.0056870207, 0.0122449286, 0.013559428, -0.0306266714, -0.0162824057, -0.0614616498, 0.0011089257, 0.0531212464, 0.0155743463, -0.0176318362, -0.0413720794, 0.0021084836, 0.0229201354, 0.0126891835, 0.0107469829, 0.0309465155, -0.0246614106, 0.0158687904, -0.0296593644, -0.0340657756, 0.0191524066, -0.0097569572, 0.0179928597, -0.0674637631, -0.054590527, 0.0048917425, 0.0178037826, -0.0039970302, -0.0792310983, 0.015860375, -0.0329858884, -0.0171455238, -0.0082987826, -0.0378632359, -0.0178729557, -0.0527697578, 0.0061928337, -0.0256081875, -0.074783735, -0.0479837693, -0.0184127111, -0.040623568, 0.0040611443, -0.0016748101, -0.0078842416, 2.043546419e-34, -0.0259054136, 0.0225047786, -0.0071444483, 0.0611569211, 0.0552064702, 0.0014901294, -0.0128366444, 0.0167949274, 0.0260427054, -0.0522340797, 0.0037143268 ]
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.0392211452, 0.0817229152, -0.0367442518, -0.0028716498, -0.0406505354, -0.0042878995, 0.0365292318, -0.0073265135, 0.0171703175, -0.0136523228, 0.0650945157, -0.0365179218, 0.0100649949, 0.0739490986, -0.0622724034, -0.0941789374, 0.0085021704, 0.01667789, 0.0637063012, 0.0356657691, -0.0451778807, 0.0974415615, -0.007880955, 0.0698507577, -0.0353742912, -0.0172604993, 0.0006020262, 0.0166566893, 0.0411977544, -0.0414975174, 0.0071668392, 0.0203289092, 0.0319158472, 0.0324840583, 0.0000020333, -0.0425077379, 0.0322761498, -0.0323570184, -0.0233461466, -0.0143845454, 0.0422009118, -0.025619803, -0.0001500819, -0.0037983188, -0.0120836888, -0.0443471707, 0.0440665148, 0.0834587514, 0.0090329675, 0.0885187835, -0.0231916849, -0.0678159818, 0.0327130966, -0.0210759882, 0.0101666497, 0.0100760031, -0.0003318811, -0.0145716835, 0.0365061872, -0.0364507623, -0.0128262406, 0.0126406206, 0.0205529016, 0.01982948, -0.008330158, 0.0899351165, 0.0165771358, -0.0084745931, -0.0075811236, 0.0377054997, 0.0231913868, -0.0138606075, 0.0082940906, -0.039913293, 0.0069166864, -0.0273688585, -0.032506533, 0.0692874491, -0.0125995325, 0.0204379726, 0.0093561653, 0.0429153107, 0.0110037914, 0.0111396499, 0.0345357843, 0.018417079, 0.0191519968, 0.0040189372, -0.0340164229, -0.0173228383, 0.0220502876, -0.0783038214, 0.0131602138, 0.0299011748, -0.0031435592, 0.0203823391, -0.0740405992, 0.0570498295, -0.0010076736, -0.0541457534, 0.0393917747, 0.0310899802, -0.0178032648, -0.002092741, 0.0075405613, 0.0073403842, 0.040801622, -0.0346855558, -0.0220318604, 0.0356239453, -0.0457751639, 0.01484947, -0.0343115479, 0.0250927191, -0.0231220219, -0.0322877765, -0.0328862593, 0.0120562129, 0.0203504171, -0.0111208633, -0.0296530928, 0.0163474008, -0.0315276422, 0.0100030825, -0.0633537024, 0.010169656, -0.0524412282, -0.0133032156, 0.0040384838, -0.0269671176, 0.0170494523, 0.0150749637, 0.026787255, -0.0163116995, -0.0040544053, 0.0307687726, 0.0157627501, -0.008300826, -0.1013853103, -0.0432288088, -0.0079680132, -0.0750896633, -0.0468619838, -0.0251607373, 0.0325626954, -0.0113585014, 0.0181886721, -0.0527449101, 0.0442427173, 0.0044262148, -0.0246165525, 0.0263717677, -0.0114925066, 0.0267402977, 0.0288097244, 0.0129817212, 0.0354565755, 0.0212112032, 0.0874236077, 0.0456018634, 0.0276535321, -0.0051490767, 0.0559623614, 0.0067621781, -0.038167391, -0.0119472882, 0.001071, -0.021976579, -0.0099008009, 0.0850452781, 0.0087618344, 0.0212628804, -0.0086532524, 0.0286578014, 0.0646186769, 0.080571495, -0.0147128785, 0.0154316137, 0.0847787783, 0.0066455267, 0.0112055736, 0.0085976738, -0.0341756754, -0.0058400342, 0.0169659629, -0.0062038777, -0.0256417673, -0.0057450933, -0.0352546684, -0.0285924058, -0.0136139188, -0.0280750245, 0.0017955955, -0.0165435225, 0.0041565886, -0.0055189561, -0.0544227138, 0.0176257882, 0.0147224385, -0.1090921462, -0.0039582909, -0.0080979336, 0.0381926522, 0.107366465, 0.0463298, -0.0112361703, -0.0612441339, -0.0365387872, 0.0145486817, 0.0302306172, 0.0295926239, 0.0152847907, 0.018947931, -0.0447997078, 0.032325536, 0.0042537646, 0.0313878022, 0.0096986387, 0.0139411539, 0.0120485062, 0.0188003983, 0.0264750179, -0.0581941828, 0.0428189784, -0.060995996, -0.0732548013, 0.0244231168, 0.0065573738, -0.0178167075, -0.0085777976, -0.0042853709, -0.0262230355, 0.0361228362, -0.0025378182, -0.0070129572, 0.0761553869, -0.0891404971, -0.0186671726, -0.0116062257, -0.029256247, -0.0421989374, -0.0077483519, -0.0150404647, -0.0442099683, 0.0001601991, -0.0217949171, 0.0042355368, -0.0335214399, -0.0009665294, -0.000662786, -0.0217668433, -0.0067096525, 0.0798406303, 0.0221479982, -0.0049303244, -0.044396311, 0.000484375, 0.0155121274, -0.0891747251, 0.0031259093, 0.0183887649, 0.0188323762, 0.0011696703, 0.0192019511, -0.0134447273, -0.0106799761, -0.026549397, -0.1220607087, 0.0266925115, -0.0044028964, -0.0143696759, 0.0158036724, -0.0109894266, -0.0439673886, -0.0048741926, -0.0652045608, 0.0013323965, 0.0312056225, -0.0299662258, 0.0141373994, 0.0213518701, -0.0088585196, -0.0259749778, 0.0158085283, -0.0615867227, 0.056593772, 0.0600616932, 0.0019138602, -0.0448584743, 0.022472756, -0.0175622944, 0.0128578115, 0.003964968, 0.0042891768, 0.0241944324, -0.0010370681, 0.0511991493, 0.034141995, -0.007843378, 0.0644792467, 0.0263253152, -0.0190974977, 0.0154523021, 0.0159450434, -0.025682427, 0.0134492414, -0.0227244124, -0.0533583611, -0.0252202153, 0.0259312745, 0.0318722837, -0.0002110335, -0.0718884468, 0.0043183179, -0.006850733, 0.0343758874, 0.0182557628, -0.033140406, -0.0211008526, 0.0586323626, 0.0030259974, -0.0258625001, 0.0571058355, 0.0069506359, 0.0161360949, -0.0013951526, -0.0200805366, -0.0484151579, 0.1424911618, 0.0022296377, 0.0303787533, 0.0488399528, -0.0186326336, -0.0129783489, 0.010894197, -0.0166084282, -0.0154114384, 0.0326707512, -0.0839909986, -0.0315597244, 0.0270001553, -0.0154242469, -0.0665626898, -0.0554323718, -0.0241348054, 0.0109019978, -0.0171463471, 0.0034905006, -0.0447932258, -0.0124877645, -0.0302194301, 0.0279692393, -0.0190902092, -0.0211597644, -0.0456544235, 0.0398442633, 0.0776187107, -0.0311144441, -0.0020530731, -0.0201129653, 0.0437342376, -0.0104561606, -0.0014929178, 0.0601774268, -0.0086654294, -0.0131479418, 0.012135285, -0.0539237075, 0.0059097083, 0.0462185964, 0.0158442315, -0.0610530116, -0.0128469821, 0.1274743527, 0.0292644128, -0.0293349512, 0.018678762, 0.0180122443, -0.0164783597, 0.0075955261, 0.0102783749, -0.0903897285, -0.0037957462, -0.0013715094, 0.0048030228, -0.0275941975, -0.0296098422, -0.0022232968, -0.0986400694, 0.0621372685, 0.0151722478, -0.0074512647, -0.0286034029, 0.0005764329, -0.0353431329, -0.0026813089, 0.0068988628, -0.0017131749, -0.0351740643, -0.018849168, -0.0287404787, -0.0386449732, -0.0649333224, 0.0633363202, -0.0406167805, 0.0574215353, 0.046276927, 0.0725096613, -0.0028634283, -0.0093400022, -0.0275951494, 0.0225931518, -0.0042659957, 0.0323760211, 0.0415429026, -0.0184085108, 0.0001378083, -0.0629039705, 0.0632889718, -0.0008400913, -0.0269420333, 0.0297871251, 0.0802562237, -0.0200165324, -0.0693735555, -0.0025122943, 0.0151200565, 0.0160021037, 0.0778819993, 0.0099445079, -0.067730695, -0.0349228978, -0.0074928557, 0.0415879823, -0.0109590087, -0.0301825926, 0.010738221, -0.0316745378, -0.006595429, -0.0429936983, -0.0708346516, 0.0243126247, 0.0101269521, 0.0522443876, -0.0363724455, 0.0114878025, 0.0076952833, -0.0620065741, 0.0350873396, -0.0631550252, 0.0199198686, -0.0296512824, -0.012210492, 0.0210999567, -0.0374832861, 0.0159682073, 0.0266472474, -0.0548744611, -0.0270887557, -0.0033752248, 0.0123846009, 0.0247303564, 0.0183702484, -0.0019892461, -0.0338220857, 0.008669165, 0.0175829045, -0.0248051081, 0.0145688932, -0.0229254644, 0.0600821041, 0.0028930169, -0.006676164, -0.0137934545, 0.0097655039, -0.0303914305, 0.015671378, -0.0056823967, -0.0451584384, 0.0023827029, 0.001572267, 0.0108013069, -0.0529862456, -0.0456129126, -0.0708870143, -0.0262580812, -0.0386335514, -0.0108399726, -0.0138341216, -0.0033793997, 0.070911929, 0.0433027223, -0.0284981001, -0.0572096705, -0.0580156036, -0.014415984, -0.0866514221, -0.0396956541, 0.039502874, 0.0242964979, -0.006650276, -0.0058053331, -0.0421320423, 0.0290219393, -0.0417447798, 0.0258102864, -0.0199682433, 0.0435506776, -0.0070291427, 0.0078228209, 0.0209090877, -0.0060726088, -0.0308118425, -0.0124398125, -0.0268711727, 0.0119101033, 0.0683876127, -0.041461125, 0.0156551506, -0.0648671389, 0.0288095623, -0.0019501654, 0.0144633669, 0.0477178246, -0.0044232151, -0.042022258, 0.0042336741, -0.0377900042, 0.0005298692, 0.0272254497, 0.0233574342, 0.0749545097, 0.0324947238, -0.016502047, -0.0201232694, -0.015209768, 0.0397021174, 0.0402063914, -0.0171188116, -0.0147071062, -0.0926370025, 0.0087383129, 0.0405008979, 0.0224347729, 0.0195426811, -0.0350751691, 0.0125891883, 0.0003709045, -0.0097779827, -0.0217437074, -0.0603757687, 0.003531442, -0.0046390565, -0.0050200159, -0.0524121411, -5.806853931e-33, -0.0434489474, -0.0293050148, -0.0062309839, 0.0304859132, -0.0454305708, 0.00521946, -0.0419183411, 0.0077162758, 0.0154196154, 0.0369316861, 0.0137906671, -0.0021106785, 0.0119546913, 0.0157022104, 0.0317419693, 0.0047471696, 0.0300424416, 0.0067365649, -0.0266666617, 0.0367475934, 0.023103131, 0.0169338379, 0.0254621468, -0.0639510229, 0.0429645889, -0.029496761, -0.0367021374, 0.0066390126, -0.0055858153, 0.0290837064, -0.0437949859, 0.040327087, 0.0249076877, 0.0028831069, 0.0058733001, 0.0049377452, -0.0600233153, -0.0076396372, 0.0430318788, -0.0063068205, -0.0334045999, -0.0862621292, 0.0070772874, -0.0244484879, -0.0218440406, 0.0033831964, 0.0607665181, -0.0146952271, 0.0282622669, -0.0199476089, -0.0807373896, -0.0038839451, 0.0071014208, -0.0555314347, -0.0174540747, 0.0111248381, 0.005601659, 0.0147449179, -0.0388706215, 0.0052166353, 0.002083987, 0.004586142, -0.0290506873, -0.027872311, -0.0152122835, 0.0691614598, 0.0332397968, 0.0173641723, -0.1028222963, 0.0393797681, 0.0123782251, 0.0386373624, 0.0470434353, 0.0569470227, 0.0021529358, -0.0389103219, -0.05615234, 0.0406267829, 0.0072394139, -0.0297427811, 0.041671548, -0.003118118, -0.0126037039, -0.0056714714, -0.0388819575, -0.0340329446, -0.0090746926, 0.0090121292, 0.0149833104, -0.0063951737, 0.0059615457, 0.006985669, -0.0030584193, -0.027228836, 0.0030164742, 0.0182731915, -0.0257715918, 0.0238122419, -0.0092472071, 0.0378701612, -0.0157869626, -0.0282483771, 0.0383306704, -0.0024805027, 0.0633998886, 0.0199941043, 0.0278326664, 0.0343464166, -0.0497177802, 0.0050445902, -0.0162551608, -0.0068510678, 0.0160636455, -0.0316133983, 0.0031793755, 0.0084873075, 0.0139758391, -0.0031896818, 0.0197896156, 0.0209858138, -0.0304104723, -0.0479548648, -0.0231351964, 0.0071299481, -0.0183215085, 0.0316480324, -0.0185356066, 0.038645234, 0.0363907404, -0.0045749005, -0.0006650885, 0.0220013559, 2.618e-7, -0.011843361, 0.0479205512, 0.0351671465, 0.0264598783, 0.0116000492, 0.0359988138, 0.0098477835, 0.0321848392, 0.0199768841, -0.0101320399, 0.033825133, 0.0139221167, 0.0569814183, 0.0220753681, -0.0903719515, 0.0217110477, -0.0385428667, -0.0019147909, -0.1062158719, 0.0087586856, 0.12846376, 0.0530606359, 0.0757154897, 0.0100422977, 0.0476986617, 0.0098243179, 0.0524886847, -0.0293648113, -0.0301603749, 0.0338715278, -0.0254828893, 0.00015872, -0.0460017212, -0.0203263741, 0.0152675686, -0.0190152265, 0.0138357729, 0.0825075358, -0.0330150016, 0.0077704922, 0.0325094536, 0.0188030861, -0.0207313206, -0.0398618095, 0.0589631088, -0.0013962829, -0.0188355539, -0.0177970268, 0.0149282198, 0.0032308581, 0.0190772805, 0.0017104725, -0.0351828337, 0.0296469536, 0.004267734, 0.0135774156, -0.0038449652, -0.0572605282, -0.0127792712, 0.0446782149, -0.0153894164, -0.0229737218, -0.0031136146, -0.0289398674, 0.0093142148, -0.0914102048, 0.0337465629, 2.400379668e-34, 0.0033520875, 0.045807831, -0.0164822061, -0.0072292564, 0.0623624399, 0.0200779513, 0.0115958489, 0.008006, 0.0207281727, -0.0295992978, -0.0240136702 ]
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.0429689623, 0.0500632562, -0.0084871072, 0.0765024349, -0.0380635224, -0.0256180167, 0.0279700868, 0.0464923643, 0.0059374282, 0.0399991348, -0.014910846, -0.013485224, -0.0212184452, -0.0111959307, -0.016043691, -0.0429960862, 0.0237258449, -0.0422580093, -0.0328708254, -0.0586314984, -0.0231225695, -0.0210590251, -0.005269072, -0.0127973882, 0.0003482321, -0.0029862588, -0.024349317, 0.0582046248, 0.0148956412, 0.022546893, -0.0111466581, 0.0337585509, 0.0097177746, 0.0062518679, 0.0000024325, -0.0092980312, -0.0020225588, 0.0518053174, -0.0411092937, 0.0954546928, 0.0258558467, 0.0473510474, -0.0299106259, -0.0234596524, 0.0126453079, 0.0352460667, 0.0036118294, -0.0221577175, 0.0583131388, 0.0435605422, 0.0396696702, -0.0247474443, -0.0002465975, -0.0237659514, -0.0034210426, -0.050602667, 0.0173890442, -0.0425704718, 0.0116627812, -0.0233947225, -0.0129530346, 0.0287483167, 0.0520440117, -0.0002545433, -0.0035986227, 0.0304027069, -0.0042470251, -0.0034554675, -0.0169742797, 0.03013587, -0.0498080365, -0.0294364896, 0.0367017873, -0.0323921815, -0.0374766067, -0.034316387, -0.0431495942, 0.0316489711, -0.0397122465, -0.0088981641, -0.0402059481, -0.0533984825, 0.0493049622, 0.0034134702, -0.0029919893, 0.0518877469, 0.0399705395, 0.0227462593, -0.0059219617, 0.0069758072, 0.0059287804, -0.0353964418, 0.0052224509, 0.0138660315, -0.0207085405, -0.0210574232, -0.0485167503, 0.0354722925, -0.0110780308, 0.0254122335, 0.0746402293, 0.0060240175, 0.0392095074, 0.0482826121, -0.0388856046, -0.018260723, -0.0499729104, 0.0052656503, -0.0212584864, 0.0321250223, 0.0327742025, 0.0186649207, -0.0039959732, 0.0464490615, -0.0857288986, 0.014658872, -0.0492787249, -0.0213555694, -0.0189526565, -0.0400673412, 0.0187085941, 0.0269696228, -0.0053325146, -0.0201757103, -0.0301925354, -0.0236342773, -0.0315602124, -0.0079396153, 0.0092844563, -0.0378508531, -0.0222832169, 0.0011682549, -0.0484705791, -0.0207877643, 0.0422621965, 0.0522725098, 0.0073622656, -0.0397515297, -0.0589345992, -0.0246040393, 0.0133953523, -0.0649679452, 0.0323257558, -0.0513288416, 0.0403241031, -0.0480060168, -0.0027510913, -0.0398150422, -0.0003224452, -0.0010609176, -0.0296420865, 0.0446771309, 0.0097225364, -0.0125691481, 0.0220627282, 0.0430883132, -0.0181300044, 0.053566765, 0.0050825523, 0.0566832311, 0.0041075381, 0.0032718009, -0.0114975888, 0.0449206606, 0.0573563166, -0.0007740906, -0.0367233977, -0.0231476817, -0.0217127074, 0.0288129617, 0.0369185135, 0.052278623, -0.044453755, -0.0433461517, 0.032982558, 0.0407179631, 0.0356477164, 0.0593396313, 0.0103990277, -0.0355072804, 0.0328204408, -0.0302002411, -0.0514403693, 0.0468609184, -0.0279327575, -0.0079150638, 0.0166647565, 0.0506517366, -0.0433630869, -0.032403823, 0.0012765834, -0.0014222878, -0.0390479192, 0.0225621965, 0.0502941869, -0.0237181038, -0.0167751908, 0.0678960755, 0.0372664072, -0.0805813074, -0.0457603298, -0.0823330358, -0.0078970799, 0.0160911586, 0.0357200466, -0.0424709059, -0.0179660134, 0.0328960866, 0.0511319749, 0.0057774214, 0.0540625565, 0.0222292226, 0.0442194007, -0.0199452043, 0.0247895736, -0.0208104961, 0.0110023124, 0.0262749884, 0.067417033, -0.0257129148, -0.0263915416, -0.022305347, 0.0050810082, 0.0121595059, -0.0682545975, -0.0239277463, 0.0377143025, -0.010800981, 0.0212678257, 0.0148967039, -0.0104553318, -0.0304106921, 0.0865459442, -0.0324683115, 0.0451163016, -0.0844022483, 0.0059475591, 0.0115723535, 0.0420907363, -0.0120094838, -0.0055702152, 0.0265435334, -0.0557771325, -0.0254916307, 0.0053129052, -0.0095594302, 0.0223545283, -0.0196283069, 0.0040060245, -0.0118764592, 0.0072329184, 0.0097674653, 0.051635135, -0.0324074067, 0.0079964474, 0.0570215099, -0.0241883565, -0.0184227098, -0.069576785, -0.0519844517, -0.0074617905, 0.0251798164, -0.0090338076, -0.0336236656, 0.0127807744, 0.0289505012, 0.0149906371, -0.0457245633, 0.0300986115, -0.0165907908, 0.0426563025, 0.0213671848, 0.0070653753, 0.0087911626, 0.0116486205, 0.072093904, 0.0222497061, -0.0213465467, 0.0167734548, -0.0000934207, -0.0096729938, -0.0690876618, -0.0080095306, -0.0570416413, 0.0227628909, 0.0029380161, -0.0298896339, -0.0159123894, -0.0059815138, 0.0484546907, -0.0178895965, 0.0328930467, -0.0279806517, 0.0206390843, 0.0185900535, -0.0212070476, -0.0219758656, 0.1228857413, -0.0381920859, 0.0679859221, 0.0283521488, 0.0101272389, -0.02498555, 0.028082801, -0.0031801783, -0.0243385434, 0.0001552335, -0.0359340124, -0.0167090427, 0.0539527424, -0.0273641907, -0.0001166696, -0.0212799087, 0.0068877679, 0.0330390967, -0.085463129, 0.0019061493, 0.0406565741, -0.0462571084, -0.0028534674, -0.009849879, -0.0461313613, 0.0295040272, -0.0241786465, 0.0021533847, 0.0464383364, -0.0323870368, -0.0187827274, 0.053090211, 0.0106646521, -0.0013979633, -0.0480924919, 0.0206739474, -0.0111036133, 0.0055307755, 0.0222071186, -0.0221904386, 0.0188627262, -0.0743450224, 0.0265559088, -0.0183003657, -0.0453779101, 0.0225278605, 0.0191608332, -0.0121410368, 0.0073753581, -0.0253297687, -0.0493100882, -0.0165635888, -0.004723039, 0.0434192345, 0.0021960894, -0.0130893588, 0.0125212045, -0.0108610447, -0.010066418, -0.0003395219, -0.0132973036, 0.0414865799, -0.0678792894, 0.036170274, 0.0746669322, 0.0616231151, 0.0051316572, -0.0541710965, -0.0335607119, 0.0263934769, -0.0218606927, -0.0493104868, 0.0427140854, 0.0740340948, -0.035719946, -0.0076408698, 0.0117784953, -0.001739622, -0.0362630934, 0.007966429, 0.0208516512, 0.0579881184, 0.01469169, 0.0365084149, -0.054972019, -0.0322864354, 0.0467287302, 0.0462906957, 0.0198253505, -0.0339960568, 0.0081006018, -0.0788286552, 0.0738923252, 0.0124189006, -0.0202088263, 0.0476426631, -0.0250160731, -0.004384838, -0.0388776027, -0.0223482978, 0.0431910232, -0.0169569068, -0.0018495234, -0.0040949588, -0.0149981081, 0.0265306123, 0.0095618935, -0.0013416127, -0.0129284598, -0.011199547, 0.0004401979, -0.0215178337, -0.0454912037, 0.0956768468, 0.0096807163, 0.0056044189, -0.0548507273, 0.0242798794, 0.0223831534, 0.0116920331, -0.0165117551, 0.0227463171, 0.0034154353, -0.0119486777, -0.0182322264, 0.0849578604, -0.0164769068, -0.0024428465, -0.0110210888, -0.0449632555, -0.050884366, 0.0523474067, -0.0003823969, -0.0179072171, -0.0772024393, -0.0525067896, -0.0298106056, -0.0074043698, -0.0336683728, -0.0044088834, -0.018571604, -0.014005811, 0.0309821833, 0.0618444681, 0.0008774268, 0.0399261527, -0.0208646674, -0.0453765392, -0.0227668379, 0.0232887436, -0.073236905, 0.0130434409, -0.0416092873, 0.0297772866, -0.0597048961, 0.0187656321, 0.0299225431, 0.0203489382, -0.0172111839, 0.0229568724, -0.0876837969, -0.0616491586, -0.0341775231, 0.0998839661, 0.0380189084, 0.0386003703, 0.0230507664, -0.0261150561, 0.0278119389, 0.0728031844, -0.0120662665, 0.0950236768, 0.0200475436, -0.0196304452, -0.0114233708, 0.0323337317, -0.0105249826, -0.0078755813, 0.0674140528, 0.0312785655, -0.0119474046, -0.0350987129, -0.0507558361, 0.0296980701, 0.0266386922, 0.0147352517, -0.0371591039, -0.0003102274, 0.0413622148, 0.0078550652, 0.0348105729, -0.0438673533, -0.0031940567, -0.0005303759, -0.0079785017, 0.0066777514, 0.0285835527, 0.0710869208, 0.0200478602, -0.071174711, 0.0313893519, -0.0060109165, -0.018565001, 0.0461232029, -0.0240024719, -0.0048577152, 0.0099398308, -0.0187749807, 0.0341967866, -0.0020458025, -0.0261428263, -0.0030027609, 0.0405477397, -0.074415125, 0.0063994783, -0.0475213118, -0.1399133354, -0.0534980185, 0.0458018258, 0.0605093464, 0.069623284, 0.0048569064, -0.0033345947, -0.030709194, -0.0356346667, 0.0208537541, 0.0312066283, 0.0170456618, 0.0281542987, 0.0001994727, 0.0146790529, -0.0295400303, 0.040014118, 0.0097436719, 0.0481188372, 0.0245411005, 0.0183878355, -0.0522350892, -0.1081786379, -0.0043140319, 0.0175550785, 0.0283584595, -0.0569796748, -0.0566382855, -0.0340699553, 0.0354839712, 0.0217885096, -0.0180350263, -0.0382554978, 0.0583718196, 0.0284182169, 0.0126790004, -0.0330800377, 0.0284338836, -0.016239211, -0.0173793081, -0.0435273834, 0.0271876175, -6.559948346e-33, -0.0208841953, 0.0244703311, 0.0356444828, 0.0471182503, -0.0338909514, -0.0018527422, -0.0202228464, -0.0225608628, 0.0096780742, -0.0004738302, -0.0426219329, 0.0015523419, 0.006674306, -0.0163757503, -0.0080871601, -0.0162923168, 0.0432954207, -0.0072889468, -0.0300832968, 0.0446978249, -0.0147425812, 0.049294766, 0.0282571353, -0.0069908253, -0.0666439086, 0.0180093478, -0.0137007488, -0.0093577942, -0.0683585405, 0.0066897999, -0.0272792056, 0.0127563449, -0.0318357572, -0.0345784053, 0.0158265084, -0.0006943055, -0.0736947209, 0.0235065091, 0.0277941935, -0.0209695306, -0.02439305, -0.0252049994, 0.0238282569, 0.0810438171, -0.0670155138, -0.0443061963, -0.0081606274, -0.0187472478, -0.036446698, -0.032278873, 0.025415644, 0.03510914, 0.0483952314, 0.0136873433, 0.0172674507, -0.0308168177, -0.0597610287, 0.0015839426, -0.023209054, 0.0085512204, 0.0302049052, 0.033230789, 0.0707315803, 0.0220856275, 0.0363227203, 0.067968823, 0.0541796163, -0.0008269055, -0.014839937, -0.0064464398, 0.0027606315, 0.0690122545, 0.0208972003, 0.0081066834, 0.054235857, 0.0056898012, -0.099415265, -0.0167843681, 0.0282748081, 0.0538334474, 0.0098404093, 0.0256471299, 0.0210206266, -0.0221415069, 0.0206620507, -0.004494553, -0.0063518272, -0.0037663276, 0.0054595303, 0.0187821835, -0.0623873174, -0.0005024603, 0.0035542415, -0.0383967385, 0.0194812659, -0.0175370127, 0.0590930842, 0.0122993374, 0.040214289, 0.0175490938, -0.0451332144, -0.0420162268, -0.0646078363, -0.0466383398, 0.0478862002, -0.0148071889, -0.0349464752, 0.0112654204, -0.035510987, 0.0011817527, -0.0725969002, 0.0180697124, 0.037882138, 0.0564876646, 0.0345738381, -0.0042695566, 0.027736906, 0.0463616475, -0.0337542109, -0.0143313482, -0.0247845147, 0.0458294377, 0.0064966665, 0.0348407626, -0.0179332439, -0.0171803553, -0.0199942254, 0.0234383531, 0.0100212637, -0.0982985198, -0.0384156965, 0.0535463206, 3.003e-7, -0.0053840126, 0.0178995784, -0.006225978, 0.0319574624, 0.0179072693, -0.0029756927, 0.0094148042, -0.0185181815, -0.0167605337, -0.0396954864, 0.0122885555, 0.0559248812, 0.0634950697, -0.0143384272, -0.0476298034, 0.0040653376, -0.016036272, 0.000718328, -0.0390966535, -0.0608347207, -0.0506765172, 0.0251736213, 0.0333201997, -0.0253198612, 0.0041352599, -0.0118727675, 0.0289150551, -0.0405791216, 0.0277807768, -0.0096221538, 0.0075268596, -0.0427206643, -0.0316880085, 0.0075612934, 0.009949645, -0.0222937241, -0.0296339467, 0.118591316, 0.0275350772, -0.0330763534, 0.0316601992, -0.0047844951, -0.0084298458, 0.0124514559, 0.0598381571, 0.0544156879, 0.0213130675, -0.0252523422, 0.0029060133, -0.0541429631, 0.0089172218, -0.0043258918, 0.0507359467, -0.0005430674, -0.0018402693, -0.0252811611, -0.0044374811, -0.0419890955, -0.0250868946, -0.0013793972, -0.0873641297, -0.0667365193, -0.0263854619, 0.0608723462, 0.0061970069, -0.061824467, -0.0541015379, 3.265028772e-34, 0.0428990684, -0.0162083898, 0.0195940658, 0.0811811835, -0.0071533471, 0.0118920803, -0.0129708787, -0.0133580696, -0.0211490318, -0.036324732, -0.0391606949 ]
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.0198381096, 0.0151746795, 0.0238890834, 0.0327998623, -0.0424923562, 0.0442313477, -0.0102116512, 0.0004696192, -0.0044835135, -0.0388146602, -0.0236170776, -0.0216433275, -0.0417204611, -0.0329719856, 0.0411683321, -0.0052790213, 0.059088923, -0.0443625972, -0.0087010367, -0.0095772864, -0.0190599505, -0.0110788662, -0.0288504027, -0.0289816689, 0.005269825, -0.0576346666, -0.0386903137, 0.0243173987, 0.0276603624, -0.0348246731, 0.0144386403, 0.0172957238, 0.0221047532, 0.0141809797, 0.0000019525, -0.0422604084, -0.0240446739, -0.0215938017, -0.0487072878, -0.0264968537, -0.0611150563, 0.021653071, 0.0141481413, 0.0231720395, -0.0570094511, 0.0251214784, 0.0072707809, 0.0734270364, 0.0708162785, 0.1026647016, 0.024723947, -0.0288766492, 0.0025923827, -0.0143231461, 0.0573864505, -0.0857727751, 0.0105731077, 0.0035567279, 0.0364167579, 0.0135953575, -0.0169069301, 0.0256550424, 0.0477101021, 0.0288574025, -0.0448852852, 0.0381786861, -0.0251233429, 0.0272802636, -0.0190647673, 0.0783098415, -0.0038178985, -0.0017298879, -0.0377658457, -0.0131274583, 0.0225634333, -0.0489948839, -0.0919728056, 0.0176149029, -0.0281644594, 0.0220592041, -0.0099122841, -0.0252281558, 0.0274775922, 0.0009477354, 0.0101475697, 0.0751336291, -0.0094803479, -0.0643473789, 0.0149677023, 0.0208598208, -0.0067246514, -0.0171312839, -0.0385500751, 0.0823600292, -0.0566160195, 0.0286347121, 0.0201240741, 0.0237326175, 0.0205053743, 0.0188562665, 0.0452692881, 0.0571784005, -0.0094792899, 0.0536065511, -0.0464818701, 0.0326755494, -0.0009396241, 0.0360367075, -0.0431332402, -0.0148295797, -0.0533256866, -0.0030876731, -0.0379962735, 0.0704621598, -0.0050940327, 0.0199739486, -0.0614035018, 0.0717165321, -0.02106959, 0.0238417424, 0.0181337632, 0.0012618088, -0.022909211, -0.0081311511, -0.0397153459, 0.0259397589, -0.0503152609, 0.0218343008, 0.0254795458, -0.0582614727, -0.0569834635, -0.0009463023, -0.0164977089, -0.0125789111, 0.029538678, 0.0862009078, -0.0234424341, -0.0204687379, -0.052366294, -0.0030537178, 0.0330024958, -0.0559219569, 0.0053021177, -0.0578784011, 0.0190562494, -0.0154432254, -0.0120140146, -0.0049302895, -0.0060730097, 0.0350786075, -0.0015708763, 0.0868316516, 0.0061875051, -0.0104086315, 0.0264225528, 0.0348012894, -0.0750622749, 0.097029157, -0.0235995669, -0.0068665552, 0.0230817087, 0.0169212595, 0.0374991819, 0.0304653142, 0.0445418321, 0.0305733792, 0.0063689435, 0.0254540145, 0.00889639, 0.0379367843, 0.0184154734, 0.0331953838, -0.044392325, 0.0042873924, 0.0185677502, 0.0474746265, 0.0282821674, -0.0150716146, 0.0309155472, -0.018358767, 0.0208783317, 0.0049912161, -0.0914726555, 0.0599128976, -0.0292214639, 0.0327566043, 0.0015757434, -0.0192228723, -0.05760305, -0.0187664554, 0.0037422183, 0.0111666415, -0.0239281245, 0.0316038765, 0.0325909443, 0.026064923, -0.044429753, 0.0430371314, 0.0087076109, 0.0006562067, -0.0289663188, -0.0555694252, 0.0483409613, 0.0386478864, 0.0302104689, -0.0413126647, -0.0561664551, -0.0183009431, 0.0212015994, 0.0058638835, 0.0139199542, -0.0298112426, 0.0190267973, -0.017353531, 0.0059644729, -0.0493112057, 0.0034036054, 0.0063834973, 0.0324710011, 0.0207442157, 0.0069976733, -0.0177355893, 0.0661305711, 0.0132568395, -0.0397739485, -0.0654484928, -0.0019079427, -0.0123671601, 0.0165909082, -0.0035890201, 0.0316417888, 0.0174100399, 0.0199376829, 0.0073981024, -0.0126338061, -0.0063544908, -0.0477101542, -0.0728350058, 0.048076354, -0.0193521809, -0.032436084, 0.0107230796, -0.0955428407, -0.0313625559, -0.0123700071, -0.012734063, 0.001954007, -0.0374121256, -0.0029205445, 0.0311480686, -0.0252583809, -0.0542251617, 0.0944568962, -0.0046860999, 0.0122504542, 0.0251861103, 0.0622907691, -0.0037540963, -0.0578403883, 0.041993618, -0.0284695998, 0.0023149389, 0.0097020483, -0.0268488452, 0.0435586609, -0.0926465988, -0.0002048054, -0.0587953068, 0.0369065776, -0.0185692795, 0.0547907203, 0.0044347499, -0.0021574367, -0.0194719806, -0.038059257, -0.0659792349, 0.0211427491, 0.0107988603, 0.0236956384, 0.0471560024, -0.0002026648, 0.0136213535, -0.007183535, 0.0041916133, -0.0117212012, 0.0113695003, -0.0471516475, 0.0182349831, -0.0544988513, 0.0141220083, -0.0343409367, 0.022865925, -0.0024127853, 0.0221256372, 0.0348712094, -0.0267065093, 0.0167638529, 0.0592313707, -0.0240329336, -0.0052858866, 0.0094654551, -0.012121344, -0.0527324267, 0.0566046499, -0.0190714505, -0.0090684192, -0.0060232412, 0.0319102556, 0.0113863265, 0.0339653865, -0.0251160208, -0.016589405, -0.0162174515, 0.0444226377, 0.0478786714, -0.0111570731, -0.0371190235, 0.0107019749, -0.0257569775, -0.0093175573, -0.0200526454, -0.0135795753, 0.0803934336, 0.0076969028, -0.0103465272, -0.0480939001, -0.0101310126, -0.0625604242, 0.0209673792, -0.0344315171, -0.0204722956, -0.0237147491, -0.0257152189, -0.0708969757, -0.0360494256, 0.0194599219, -0.018637564, 0.0728944093, -0.0338446535, 0.0129381912, -0.0375399105, -0.0655143559, -0.0706676096, -0.0062939292, -0.035651844, 0.0383960381, -0.0754144341, 0.0045093051, 0.015336209, -0.0327045545, 0.0251000952, 0.0190750305, -0.0139385443, -0.0252305754, -0.0312188212, 0.0302281342, 0.0247516092, 0.0279434212, 0.0343252495, -0.0243893079, 0.0554301664, 0.0622253492, 0.0829009488, -0.0184796881, -0.0071936189, 0.0319365524, 0.0152644329, -0.0508116297, -0.0189020485, 0.0343365297, 0.0441189036, -0.0533806086, -0.0172067638, 0.0917043015, 0.0127543379, -0.0304833557, -0.0093164733, -0.04710247, -0.0053275675, 0.029381562, 0.0405398123, -0.0850877166, -0.0645100847, 0.0061246753, 0.0294589344, 0.0084231906, -0.0235836133, 0.0021395313, -0.1108760908, 0.0242323019, 0.0182967931, -0.0599595644, -0.007350157, -0.0273494329, -0.0023904839, 0.0029887948, 0.0335309431, 0.0384897701, -0.0148623642, -0.0034623758, 0.0461985022, 0.0394213423, -0.0589198805, 0.0305793639, -0.0456520841, 0.0271949451, 0.0283698887, -0.005742948, -0.0075749895, -0.0522455722, 0.0503347591, -0.0489425361, 0.0336386971, -0.0249436125, -0.004012926, -0.0163631532, -0.0192013439, -0.0186540391, 0.0521184392, -0.0261167139, -0.0480885021, 0.024524577, 0.1091312617, -0.0466120765, -0.0116884895, -0.0163545869, -0.0060300049, 0.0042063673, 0.0447213277, 0.0198690668, 0.0070308787, -0.0577117093, -0.0317316167, -0.0426575802, -0.0404720083, 0.0164174885, 0.0275454428, 0.0045630964, 0.0415546373, -0.0483482704, -0.0410563499, 0.0300003346, 0.0913540721, -0.022729937, 0.0360001698, -0.0560346022, 0.0294147767, -0.0120630581, 0.0198039897, -0.0575361513, -0.0071505131, -0.0202036221, 0.019348776, 0.0585166328, -0.0158678908, 0.0069645527, 0.0027077778, -0.0953600705, -0.05412063, -0.0335605852, 0.0449396856, 0.0193658136, 0.0838125497, -0.0150620304, -0.016238004, 0.0480212942, 0.0221828241, 0.0079802461, 0.0325606726, 0.0327431448, 0.0086907493, 0.0041787378, 0.0219298843, -0.0708578154, 0.0085450038, 0.0199957881, 0.0685780495, -0.0467791483, -0.0000496139, 0.0470403954, 0.0152391829, 0.0053120391, 0.0200495645, 0.0010845296, 0.012534773, 0.0609533451, 0.0006630613, -0.0056668185, -0.0113862474, 0.0121320803, -0.0136351567, -0.0506765582, 0.0031915745, -0.0461442731, -0.0095229624, 0.040572606, -0.0235572048, -0.0187407266, 0.031762179, 0.0082951039, 0.0194698125, -0.0072616455, -0.0285109598, -0.0065825381, 0.0224213563, 0.0544372201, -0.0005268462, 0.0659853891, 0.0552164204, -0.000111847, -0.0539104231, 0.0166715067, -0.0799150392, -0.041440092, -0.0107946349, 0.0537471585, 0.0522136204, 0.0398916863, -0.0300637316, -0.0135714924, -0.016068045, 0.0052352073, -0.0045961356, -0.0146823647, -0.0072987932, 0.0630197003, 0.0539765768, 0.0381361805, -0.0010412217, 0.0398211293, -0.0338453799, 0.039124541, 0.0059972522, 0.0534561872, -0.034949854, -0.023426177, 0.0308774821, 0.0090370635, 0.0212671719, -0.0035592117, -0.041252736, -0.0512964949, -0.00658157, 0.0422303043, -0.0095518306, -0.014900336, 0.0300753899, 0.0599459559, 0.0392582491, -0.0362118185, 0.0021799633, 0.0007799165, -0.0146386763, -0.0285811946, 0.0193471033, -5.957258066e-33, -0.0230093021, -0.0262480043, 0.0819652081, 0.0058891927, -0.0230952613, -0.0306263138, -0.0127463369, -0.0295867957, -0.0257843304, -0.0047302702, -0.0522887632, 0.0033086415, 0.0035272606, 0.0103119556, 0.0262812655, -0.0637025535, 0.0018224996, -0.0135692395, -0.032527566, 0.003598457, 0.0011659554, 0.0206266157, 0.0515735932, 0.0218728837, 0.0114636207, -0.0299509857, -0.0378914289, 0.0643345118, -0.0645567626, 0.0413144119, -0.0002223319, 0.0052240309, 0.0323607661, -0.0498725399, -0.0126876924, 0.020940505, -0.0782270357, -0.0689456165, 0.0084829498, -0.0079251984, -0.070403941, -0.0293683056, 0.0053249532, -0.009956019, 0.0185771175, -0.0139277391, -0.0255614594, -0.0274794381, -0.0266902596, -0.0090807611, -0.006081867, -0.0024390444, -0.0082280505, -0.0099825291, -0.0310845412, 0.0603415482, -0.0206516087, 0.0269511491, -0.0370852016, -0.025980439, 0.0197429974, -0.0051664375, 0.0524183735, 0.011424385, -0.0045672902, 0.0316278711, 0.0099925939, -0.0196464546, -0.0026655742, -0.0523043275, 0.0034105519, 0.0435645021, 0.0560035631, 0.0504077412, 0.0389393196, 0.0243107099, -0.0870743021, 0.0511015393, 0.0387455411, 0.0432301462, -0.0062613701, 0.0115581192, -0.0377939567, -0.0263164807, -0.0428276397, 0.0588102005, -0.0339958668, -0.0354639292, 0.0411486365, 0.0154511891, 0.016501952, 0.0015089421, 0.0305162016, -0.0206983667, 0.0114365835, 0.0128013082, -0.0038795874, 0.0129756154, 0.0029831182, 0.0203579664, -0.0399753973, -0.0449143574, -0.0043236911, 0.0123233832, 0.0134898741, -0.0033817338, 0.0316575691, 0.0288624205, -0.0479360931, -0.0262679663, -0.0305071399, 0.0312546641, 0.0185451061, 0.0004172459, -0.0173585396, 0.0060986164, -0.0014483912, 0.0452692136, -0.0122223152, -0.054105442, 0.0159248393, 0.0159974732, -0.0149592524, 0.0063775736, -0.0073638349, 0.017358046, 0.0031796072, 0.0348242745, -0.0019232391, -0.063573584, 0.0010370103, 0.0633170977, 2.704e-7, 0.0089113833, -0.0149103319, 0.0319174044, 0.0352642611, 0.0268876944, 0.0452242121, -0.0640901327, 0.0151555957, 0.0175030902, 0.0037865434, 0.0286683049, 0.0581309013, 0.0204771012, 0.0542687066, -0.0932836384, 0.0022818283, -0.0250758417, -0.0266491063, -0.013269959, -0.015275104, 0.0161285382, 0.0673145503, 0.0032574984, -0.042488005, 0.001207393, -0.0121705383, 0.0630720854, -0.0094619058, -0.0138295349, 0.0012755282, 0.002204309, -0.0226269271, 0.0290358998, 0.0458731987, -0.0041071032, 0.0105466144, -0.0246380568, 0.0279816873, 0.0079532517, -0.0883229822, -0.0169890877, -0.0307695772, 0.0705214143, -0.0395033956, 0.071493797, -0.0532316826, -0.0196372047, -0.0196953416, -0.0078679668, -0.0445513763, -0.0015859236, -0.0091014151, -0.001593011, -0.0004731176, -0.0047495919, 0.0017259687, -0.024757646, -0.0857753158, 0.0021344086, 0.0200304575, 0.0097023947, -0.0432208553, -0.0104351826, 0.0183484927, 0.0381652899, -0.0538855009, -0.0247864593, 2.182364726e-34, 0.0184341744, -0.0496263616, 0.0489483997, 0.0989874378, -0.022839183, 0.0019721061, -0.0228789896, 0.0077099358, 0.0644505247, -0.0359292515, -0.0175909717 ]
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.0035430333, 0.1082062572, 0.0119679924, 0.0005190328, 0.0108765839, 0.0082825692, 0.0191280395, 0.0118735339, -0.0037719042, 0.0129766073, -0.0042149425, -0.0196970981, 0.0025879047, 0.0381091945, 0.0354798026, -0.0696313009, 0.0041339314, -0.0284738801, -0.0096754143, -0.0094997128, 0.0271959957, -0.0173133239, 0.0123489676, -0.0099485908, -0.0471300557, 0.0032358323, -0.001127667, 0.0272578932, 0.0505347885, -0.0201258734, -0.0137014911, 0.0608811975, 0.0725915506, 0.0203246027, 0.0000021012, -0.0155932168, -0.0155783156, 0.0189943109, 0.0132383043, -0.0171682741, 0.0910280198, -0.0509370454, -0.0249317233, -0.0159451012, -0.0241233129, 0.0270942822, 0.0860261768, 0.0250790436, 0.0671963543, 0.0603467263, -0.026570119, -0.0239457171, 0.0060309926, -0.0523281246, 0.1025212407, -0.0073329881, 0.0225313995, 0.0144149074, 0.0353975967, 0.0040946449, -0.0384153314, 0.0542558283, -0.000835583, -0.0231806431, 0.0420048684, 0.0743425712, -0.025621973, -0.0489538796, -0.0055262181, 0.1073558182, -0.0076127038, -0.0421667583, 0.0371176898, -0.036767479, -0.039456103, 0.0302700046, -0.0368948355, -0.0094177444, 0.004727345, 0.0346082821, -0.0507599004, -0.007609243, 0.0272647906, -0.0367612094, 0.0082848407, -0.0095572369, 0.0111213047, -0.0068463176, -0.0036102678, 0.0078157792, -0.0290258639, -0.0290709771, -0.0061718514, -0.0020392668, 0.0033757547, -0.0048938361, -0.0589980856, -0.0754060745, -0.0124464566, -0.0215545148, 0.0507843122, -0.0144377574, 0.0267884731, 0.0342339724, -0.0121801849, -0.0066206842, -0.037222892, 0.0147349751, -0.022883499, 0.0188628901, -0.0552239046, 0.0037197557, -0.024494756, 0.0132216569, -0.0415165015, -0.0075061973, -0.0335746072, -0.0028097522, -0.0157820731, 0.0057907361, 0.0054531707, 0.0386713669, -0.0470405705, 0.0150736999, -0.0312152784, -0.0152850039, -0.003952838, 0.0193942972, 0.0469024479, 0.0027051959, -0.0256727934, 0.0224650577, 0.0347657427, -0.0083917724, 0.007817979, 0.0864335597, -0.0390781425, 0.0186545439, -0.0351389125, -0.0321852192, -0.0112022003, -0.031421449, 0.0439792089, -0.0382005125, 0.063901633, 0.0017636734, -0.0169105455, -0.0779116973, 0.0349679776, 0.0054458836, -0.0441421531, 0.1057472602, -0.0178250801, -0.0351280831, 0.0486879721, -0.0089673465, 0.0119757941, 0.0315252393, 0.070481807, 0.0349902846, -0.0275759455, 0.0281786192, 0.0369786769, 0.0147866542, 0.0590304695, -0.012682003, -0.0385349728, -0.0319258124, 0.0039734468, 0.0375771485, 0.0617935918, 0.0319802873, -0.0199674163, 0.034476988, 0.0609527379, 0.0146436142, 0.0046163774, 0.0254062563, 0.0308153648, 0.0166038182, -0.0488095321, -0.026964562, 0.0190231223, 0.0731790215, 0.0452222526, 0.0020260022, 0.0342929326, -0.0131707983, -0.0288545545, -0.0613196157, 0.0161953866, -0.0099086594, 0.0274705533, -0.0359310582, 0.0438831337, 0.01077573, -0.0629751533, 0.0106400177, 0.0143721644, -0.0451222919, 0.0017142963, 0.0140620964, 0.0134600708, 0.0626043007, 0.0164757278, -0.0427712165, 0.0049165688, -0.0227983445, 0.0519266427, 0.0442005768, 0.0019680392, 0.0099075502, 0.0177401993, -0.0443030447, -0.0499977134, -0.0117721548, 0.00508019, -0.001982416, -0.04532893, 0.0164226424, 0.0096035488, -0.0274080951, -0.0489307046, 0.0173331089, -0.0065802438, -0.0610241443, 0.0172624048, 0.0100324331, 0.0239078477, -0.0275982544, -0.0312659256, 0.00926797, 0.0294841714, -0.0426066816, -0.0308314301, -0.0171815362, -0.0213293228, -0.008056758, -0.0144313024, -0.0665955842, -0.0028735197, -0.0337231122, -0.0497595966, -0.081640698, 0.0316796191, -0.0153889675, -0.028501397, -0.0215082187, -0.0415130109, 0.0468573496, 0.0326291509, -0.0050349287, 0.0646655411, -0.008166302, 0.0076016402, 0.00548454, 0.040079616, -0.0045475718, -0.0191772394, 0.0140898759, -0.0231046807, 0.0349282511, 0.0193831678, 0.0531823114, -0.0116592012, -0.0408571661, -0.0181633756, -0.0044790646, -0.0110170078, 0.0097757485, 0.0046605603, 0.0002267676, 0.0135303363, 0.0005837957, 0.0019555169, -0.0506126359, 0.0342883654, -0.0295603611, -0.0368037969, 0.0538974032, 0.0225594155, 0.005840112, -0.0477326289, -0.0005718493, 0.0087929219, 0.0081495494, 0.0393831618, -0.0395389572, 0.0050008786, 0.0247018095, -0.0123700825, 0.0316791683, -0.0135543766, -0.005913421, 0.017304156, -0.0135636143, 0.0431432575, 0.0653964579, -0.0098081268, 0.0330429412, 0.0198046863, -0.0097117461, -0.0228508152, 0.0229565352, -0.055430349, 0.0045491811, 0.0041249064, -0.0217902642, 0.0028498811, 0.0623173192, 0.0036560448, 0.0094906008, -0.0549942441, 0.0279652774, -0.0124833267, -0.0025544704, -0.0224195942, 0.0554367453, -0.0252227485, -0.0107791107, -0.0460074395, -0.0584722534, 0.0594864041, 0.0001307572, 0.0013410597, 0.0034683624, -0.0093082217, 0.0081639653, 0.0139514832, 0.022461202, 0.0075015165, 0.0399398617, 0.0135536687, -0.0481282361, 0.0109042637, 0.0502667837, 0.0023042888, -0.0136533519, -0.0473509058, 0.0266567823, -0.0128446799, -0.0305559672, -0.0055143316, -0.0097378353, 0.0333354212, 0.0110113723, 0.0389577635, -0.0474649221, -0.0277190842, -0.0360129923, 0.0248971321, 0.0438230336, -0.010613543, -0.0324586928, -0.0503837615, 0.0462958999, 0.0546510778, -0.016675815, -0.04096191, -0.0525467657, -0.0027153287, 0.0313865356, 0.0119452449, -0.0169029552, -0.0295781866, 0.0414956585, -0.0262356307, 0.04459095, -0.0059383148, 0.0057356856, 0.0435149297, -0.0292669609, -0.0468554758, 0.0544073023, 0.015748756, -0.0241819434, -0.0003489625, 0.0493255109, 0.0534426868, 0.0143545168, 0.0304785091, -0.0669263154, -0.0374618471, -0.0214106031, 0.080063045, 0.0093322303, -0.0382589214, -0.0041052606, -0.047677204, 0.0758613646, 0.0352837667, -0.050234817, -0.0162308235, -0.0704337955, -0.0017687025, -0.0358332545, -0.0223066658, -0.0119686769, 0.0033112033, 0.0172628984, 0.0432211198, 0.0079278247, -0.082240127, -0.012615541, 0.0039566858, 0.012911791, 0.075452581, 0.019084068, -0.0073100617, -0.0170946047, 0.026822621, 0.0009213705, -0.0174059458, -0.0255576745, 0.0382723883, 0.0460261218, -0.0181696322, 0.0021792774, 0.1240882725, -0.0026758628, -0.02921414, -0.0351059139, 0.0889115557, -0.0042899391, -0.0345961154, -0.039329797, -0.0332844332, 0.0654645711, 0.0558153801, 0.0365905613, -0.0501783863, -0.0722311437, -0.0378723294, 0.0267241001, -0.0666052476, -0.0129619706, -0.0311086066, -0.0126654962, -0.0543566495, -0.103203088, -0.009461618, 0.0244379714, 0.0554758534, -0.0071808649, 0.0332558788, 0.0278737359, -0.0426526591, -0.070080258, -0.0062296446, -0.0276523456, -0.0006907727, -0.0411385074, -0.086922735, 0.0120847197, -0.0345124006, -0.0343855135, 0.0766220242, -0.1080147177, -0.0624829829, -0.0324623138, 0.0457732752, 0.0210738145, 0.0404512584, 0.0043684244, -0.0323719531, 0.0995383635, 0.0988888368, -0.0036888132, 0.012438166, 0.0031360057, 0.0060047465, -0.008269676, 0.0042530713, -0.0540818535, 0.0295251105, 0.0114022559, 0.0235507526, -0.0189341456, 0.0109401289, 0.0104465242, -0.0296370368, 0.0369873755, -0.0175283495, 0.0082931304, -0.0465633161, -0.0216427073, 0.0111507094, 0.0006101432, -0.096848391, -0.0168045498, 0.0444219597, -0.0013363472, -0.0172082111, -0.001300663, 0.0150112845, 0.003995216, -0.0276380517, -0.0084694354, 0.0266000535, 0.0501832031, 0.036488913, 0.0119565399, 0.0334732607, 0.0295184646, -0.0335056596, 0.0409687608, 0.0001649876, 0.0218711477, 0.044080548, 0.0467496477, -0.0360618494, 0.0077482918, -0.0409407616, 0.0050857896, -0.0575597882, 0.0313142501, 0.0342146233, -0.0221556146, 0.0599510707, -0.049401775, -0.0080586849, -0.0172821283, 0.0703412667, 0.010172803, -0.0228125062, 0.0518301167, -0.00681306, 0.0124825062, 0.0096240016, 0.1056790128, 0.0300604049, 0.017212715, -0.0294217989, -0.0254101381, -0.0528565384, 0.0195986088, -0.0245474763, -0.0454780422, 0.0240123738, 0.0074647837, -0.0259110872, -0.0673817918, 0.012545255, 0.0191523712, -0.0099091223, 0.0125055518, 0.0663347095, 0.0038184121, -0.0394597352, -0.0075783473, -0.0320948996, 0.0145578068, 0.0021794008, -0.0565070473, -0.0277780611, -6.654201687e-33, -0.0288506318, -0.0296666715, -0.0043102563, 0.0080730049, -0.023871325, -0.0058006099, -0.0733498558, -0.0209940393, 0.0522355773, 0.0460405685, 0.0031653598, 0.0035344169, 0.0042807534, 0.0263541657, 0.0107969483, -0.0112668183, 0.0268451869, -0.043540962, -0.0210017692, 0.074180603, 0.0738142729, 0.0383731797, 0.0245339908, -0.0484342128, 0.021635823, 0.0043261754, -0.0250838902, -0.0216177255, 0.0198066756, 0.0029613879, -0.0273556896, 0.0283637587, -0.0276408661, -0.0206404794, -0.080619581, 0.027475154, -0.0877063796, -0.0377401002, -0.0381274074, -0.0470011383, -0.046837125, -0.0481711701, 0.0460930131, -0.0203943942, -0.0173353907, -0.0078974646, 0.0574725829, -0.0289983153, -0.0169550683, -0.0509735942, -0.0580141656, 0.0144014908, -0.0340991281, -0.0256302804, 0.0405284949, 0.001533869, 0.0034746791, -0.0088663222, -0.0654220507, 0.0224610735, 0.0181104764, 0.034601856, 0.0603140444, 0.0312752686, 0.0474319309, 0.049907241, 0.0151774446, -0.0019533332, -0.016728051, 0.0294708684, 0.0029611611, 0.0477161482, 0.0184823014, 0.0171776079, 0.0350180976, -0.0222757496, -0.069954209, 0.0393048227, -0.1020417511, 0.0039517982, -0.0169095006, 0.0357369296, 0.0013847068, -0.0362154767, -0.0288771335, 0.0112182023, -0.0056497622, 0.0102536054, 0.0085342284, 0.0071945074, -0.0233806707, -0.0253887065, 0.0175839346, -0.0004448336, -0.018764155, -0.0120494869, -0.0198618155, 0.036593657, 0.027512325, -0.0347857326, -0.0674069524, -0.0292739086, 0.0645117909, 0.0415815599, 0.0237518847, 0.0075579868, 0.0150803598, 0.0511254035, -0.0176579859, -0.0104559362, -0.0570122302, 0.0338438898, 0.0063494523, -0.0071136141, 0.0136478664, -0.0130388588, -0.0124939801, 0.047834672, -0.0169727094, 0.0025432992, 0.0278788954, 0.0157846119, -0.012621209, 0.0251808465, -0.0408959687, 0.0001786701, -0.0338003524, 0.0297386665, 0.0592087246, -0.083307527, -0.0137033751, 0.0356286615, 2.89e-7, 0.0451590866, 0.0186073426, 0.0363811515, 0.0078611877, 0.0133953253, 0.0362378843, -0.0353261903, 0.0160940364, -0.0495078601, -0.0516871735, 0.0363464355, 0.0209689662, 0.0553845167, 0.0067907614, -0.0537712388, 0.0100629041, -0.0248324219, 0.0304081589, -0.0288996007, -0.0350302383, 0.0511315428, 0.0660035834, -0.0154667953, -0.004295032, 0.0595953502, -0.0080459146, 0.0944300741, -0.0362927541, 0.06391792, 0.0040612854, -0.0042628022, -0.0167596266, -0.0397891067, 0.0105173131, -0.0615579896, -0.0272582956, 0.0201737359, 0.045574002, -0.0175131541, -0.0334389433, 0.0136802876, 0.0230282806, 0.0162585378, 0.0001587399, 0.0431826115, -0.0626499206, 0.0019657204, 0.0213014949, -0.0176851302, 0.0423613042, 0.0135367615, 0.0032109348, -0.0377888791, -0.0024616052, 0.0030168877, 0.0318360701, -0.001131039, -0.0230267458, -0.0061086416, 0.0068804836, -0.0511014387, -0.0074475734, -0.0839566439, 0.0236955434, 0.0015398189, -0.0035341983, -0.0382347591, 2.642389159e-34, 0.0286218375, -0.0494920425, -0.0243011285, -0.0390322283, 0.024145117, 0.0054891594, 0.002635055, 0.0245089438, -0.003957456, -0.0536846258, -0.035346102 ]
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.0249439534, 0.0248203147, -0.0154258013, 0.0358015709, -0.0773409605, 0.0325587988, 0.0098743839, 0.003727013, -0.0184727143, -0.0542811491, -0.0164086297, -0.0274031796, -0.0233616158, 0.0041300566, 0.0160191227, -0.0300701335, 0.0704062432, -0.0602234118, -0.0105564548, -0.010905629, -0.012501061, 0.021048734, -0.0086629149, 0.0219550971, 0.0270939562, -0.0354358442, -0.0452447832, -0.0065632835, 0.0307346042, -0.0425511822, -0.0081214868, 0.0811315179, 0.0330821089, 0.0858336762, 0.0000022245, -0.055771023, -0.0369819663, -0.0108565111, -0.0734109953, -0.02878993, 0.012771666, 0.0461807325, -0.0015060243, 0.02443498, -0.0285871699, 0.0124473274, 0.0074134553, 0.0215708017, 0.0557604469, 0.0636139661, 0.007248193, -0.0291222464, 0.0035863828, -0.0128500974, 0.045651339, -0.0260534752, 0.0280311573, 0.0038528743, 0.0393721201, 0.0305518024, -0.0063435179, 0.0207809228, 0.0296717174, 0.008375315, -0.0111891031, 0.0376567543, -0.0613940023, -0.0047567072, -0.0168064497, 0.0782671422, -0.0373473428, -0.0343637355, -0.0130348559, 0.0033498427, 0.0046606911, -0.032705456, -0.0482909568, 0.0309343748, -0.0067619979, 0.0186986197, 0.0289263614, -0.014178643, 0.0029611145, 0.0069207284, -0.0510306992, 0.0871030763, 0.0278209709, -0.0513621904, -0.0135617619, -0.0168182366, -0.0271955263, -0.0792599842, -0.0178377517, 0.0460851453, -0.0365599096, 0.0265356097, -0.0460693054, -0.0484230295, -0.0057868343, 0.0193956923, 0.04680847, 0.0536630191, 0.005507946, 0.0497081056, -0.0727144703, 0.0425483435, -0.0144457845, -0.022693919, -0.0447174273, -0.0022055076, -0.1017817482, -0.0179948118, -0.0323063359, 0.0668826476, -0.0288204998, -0.0148849301, -0.0328453816, 0.0484706387, 0.0394007266, 0.0030717708, 0.0170930568, -0.0078156758, 0.0044810274, -0.039157223, -0.0343660302, 0.0284935962, -0.0306083467, 0.0187720452, 0.0121803526, -0.0280983299, -0.010349228, -0.0039934935, 0.0203310791, -0.0309947394, 0.0093674073, 0.0483984835, -0.0131310914, -0.0445510484, -0.0613732524, -0.0130705666, -0.015052909, -0.0574226566, 0.0062263943, -0.0583407953, 0.0177138466, -0.00146081, -0.0317266881, 0.0276343767, 0.0094950525, 0.0250500981, -0.0189558025, 0.0555940866, -0.0263667516, 0.019942997, 0.0019843196, -0.0063691353, -0.0211863555, 0.0813530236, 0.0011443027, -0.0057815611, -0.0009622629, 0.0355662815, -0.0134191839, 0.0055213198, 0.0032420782, 0.0182420351, 0.0062854476, 0.0182325933, 0.0283640232, 0.0427292548, -0.0027328478, 0.0230630096, -0.0449367613, 0.0028363867, 0.0496296063, 0.0471735857, 0.0319427438, 0.032347519, 0.0837735757, 0.0049245772, -0.0337636806, 0.0016273898, -0.0561907999, 0.0196095109, -0.073374629, 0.0125896437, 0.0061313361, 0.0272023678, -0.022435965, -0.0322975367, -0.0049117105, 0.0428203605, -0.0295226909, 0.0159403104, 0.0288260598, -0.0003051217, -0.0460080244, 0.0099922875, 0.016860785, -0.0122733479, -0.0546280891, -0.0697931275, 0.0536975078, 0.0816857666, 0.0417883918, 0.0081459908, -0.0939244553, -0.0077266693, 0.0136650447, 0.0235584248, 0.0014255424, 0.0006932776, -0.0361931734, -0.0616123751, -0.0363476612, -0.0064524487, 0.0068179048, 0.0198405497, 0.0302775688, 0.0217476357, 0.0380346254, 0.0050532655, 0.030921597, 0.0234841444, -0.0153775923, -0.0068516191, 0.0188937094, -0.0060269572, 0.0168599598, 0.0046299319, -0.0041974634, 0.0069803563, -0.0125804022, -0.0199567266, -0.0362361446, 0.0065989261, -0.0531995371, -0.066646263, 0.0494800247, -0.0040484336, -0.0306665096, -0.0436954647, -0.0408257805, -0.0403009951, 0.0053131669, 0.0034015866, 0.0352576487, -0.047717981, 0.0421798155, -0.005242628, -0.0171795804, -0.0454821959, 0.1088050827, 0.0150769548, -0.0153537113, 0.0494513251, 0.0155527005, 0.0325259939, -0.0595163703, -0.0206614044, -0.0044278586, 0.0010411467, -0.0405820608, -0.0198824592, 0.0609483458, -0.0675678998, -0.0254299566, -0.1016349941, 0.0446036495, -0.0046220771, 0.0387492925, 0.0231128074, -0.0011790418, -0.0310902894, 0.0229028556, -0.0505360626, 0.0268348064, 0.0021947941, 0.0077559231, 0.0298941042, -0.0236665737, -0.02137517, 0.024006458, -0.008079675, -0.0485134348, 0.0461845174, -0.0129383514, 0.0178475641, -0.0474540517, 0.0319506489, -0.047893282, 0.0195674039, 0.0162979104, 0.0110736936, 0.0153782796, -0.0172860343, 0.0799708292, 0.0583082028, -0.0167412218, -0.0371043086, 0.0631392896, -0.0042185737, -0.0227408241, 0.0253642797, -0.0040585808, -0.008845821, 0.015856795, 0.0021564721, -0.0281329062, 0.0661746114, -0.0226753503, -0.0420085452, -0.0723237768, 0.0255531874, -0.0068187336, 0.000682271, -0.0490704179, -0.0152551308, 0.0010472656, 0.0492021292, -0.0240214877, -0.0062815668, 0.0906600282, 0.0001570955, 0.0041307635, -0.0818761066, 0.0302019883, -0.0491818227, 0.0641427562, -0.0168480463, 0.0013508465, 0.0577394143, 0.0138572566, -0.0741293803, -0.0015244803, 0.0018761698, -0.0071834424, 0.031132035, -0.0634003133, 0.0218201261, -0.004870553, -0.0513309017, -0.042549964, -0.0116087291, -0.0387419388, 0.0179587081, -0.0208157822, 0.0037509764, -0.006246205, -0.007135178, 0.0308183543, 0.0509221666, -0.0332605243, -0.0053643798, -0.038100373, 0.0381182022, 0.0598750859, 0.0050731883, 0.0264945347, -0.006326512, 0.0616335683, 0.0204121098, 0.0470492318, 0.0101411939, -0.0339287482, 0.0315089822, -0.0098652756, -0.0396203324, -0.039800141, 0.0156416688, 0.0142756598, -0.0729222372, 0.0138891311, 0.1106306463, 0.0437897183, -0.0531741083, -0.0129472287, -0.0488199219, 0.0433897488, 0.0282942019, 0.0538506843, -0.123548992, -0.0573079735, 0.0269436277, -0.031214036, -0.0300818067, -0.0438335836, -0.0024694277, -0.141211614, 0.0283836182, -0.0110205757, 0.0012429543, 0.0479791425, -0.003856855, 0.0111774029, 0.0293888748, -0.0106488159, 0.0393618234, 0.012062598, 0.000610001, 0.0126070837, 0.0437441468, -0.0598995537, 0.053975407, -0.0093374467, 0.0308159683, 0.0517622083, -0.0050533386, 0.0383326411, -0.0526190773, 0.042941343, -0.0104889851, 0.0137711931, -0.0275413673, -0.0049036439, -0.0088180248, 0.0120798908, -0.0373868123, 0.0509894788, -0.0104761757, -0.0091108978, 0.0304461103, 0.1199778244, -0.0141962497, -0.0284915231, -0.022608757, -0.0144793233, -0.0143935829, 0.0561974347, 0.0299479552, -0.035312064, -0.0346896499, -0.0164839625, -0.058100991, -0.0472171977, -0.0166335758, 0.0141113196, 0.0106084747, -0.0051691169, -0.054633107, 0.0003615034, 0.0695875585, 0.0611779429, 0.0207035486, 0.0184615608, -0.0212998353, 0.0131439874, -0.0152018191, 0.0191794913, -0.0592026263, -0.0021710305, -0.0546661131, 0.0255587939, 0.0284111314, -0.0353530869, -0.0253452938, 0.0121076042, -0.0787427872, -0.0614505522, -0.0463947356, 0.0414252728, 0.0295219347, 0.0450940132, -0.0166850295, -0.0411932021, 0.0519100167, 0.0160097666, 0.0235394221, -0.0000946377, -0.0141962664, 0.0247091949, 0.0064952052, 0.0343186706, -0.017461041, 0.019077329, 0.0177872572, 0.0600404404, -0.0139711918, 0.020198375, 0.0347776338, 0.0361335091, -0.0034765853, -0.0343209691, -0.0016686972, -0.021673644, 0.055192668, -0.0210176725, -0.0389148258, -0.0205350146, 0.0299653485, 0.0067743547, -0.0302724522, 0.0150308665, -0.0493480526, -0.0163544007, 0.0171802733, -0.0161293149, -0.0079382965, 0.0093044154, 0.0338289849, 0.0508321151, -0.0214375556, -0.0006976315, 0.018555861, 0.0207345877, 0.0189753789, -0.0440901257, 0.0933501273, 0.0481717624, -0.0065260991, -0.0599383451, 0.0457895845, -0.0593031831, -0.0229951665, 0.0170238931, 0.0650851354, 0.0614524968, 0.0278254896, -0.0135326413, -0.0307440404, -0.0350954011, 0.0192136765, 0.0246991254, 0.0081988564, -0.0348049961, 0.0167519432, 0.0304350182, -0.0066260435, -0.0145643447, 0.0557207055, -0.0163807422, 0.0252036992, 0.028627621, 0.0128346616, -0.0330879129, -0.0045378041, -0.016211912, -0.0085371668, -0.000022466, 0.0514727011, -0.074892208, -0.0599198639, -0.0078279274, 0.0154318288, 0.0155739319, 0.0029847559, 0.0453520045, 0.0599095747, -0.017552454, -0.051692605, 0.0071016653, -0.0035630276, 0.0073535014, -0.0550448671, -0.0405321233, -6.621587596e-33, -0.0087203383, -0.0066521079, 0.0665139407, -0.0138228843, -0.0329281054, -0.0063091712, -0.0321497992, 0.0129731614, -0.02538619, -0.0204841197, -0.0385723375, -0.0103034806, -0.0050061867, 0.0013812655, 0.0106813647, -0.0317704119, -0.0026786372, -0.0165511463, -0.0158285499, 0.0178741813, 0.017341489, 0.0149546415, 0.0241830852, 0.0158268325, -0.0070007113, 0.008981321, 0.0087365415, 0.0436946414, -0.0498220436, 0.042637717, -0.0245093945, 0.0128912022, 0.0316421688, -0.0428144634, -0.0030592014, 0.0005460936, -0.0417933017, -0.0503872074, 0.0334569439, -0.0381371044, -0.0467859767, -0.0561654493, 0.001609585, 0.022858819, -0.0159325413, -0.0193293728, 0.0115720639, -0.0205821358, -0.0037976482, -0.0034732618, -0.0487920158, 0.0230291523, -0.0001922344, -0.0439436287, 0.0094721606, 0.0468854867, -0.0089306226, 0.0178354662, 0.0108809695, 0.0357789807, 0.053773202, 0.0160753708, 0.0613084808, 0.0036715106, 0.0112340366, 0.0058421777, -0.029140465, -0.0071889488, -0.0428701267, -0.0079129711, 0.0208852366, 0.037476752, 0.0422757305, 0.0083103916, 0.0366424285, 0.047154244, -0.0702584907, 0.000455902, 0.0398073383, 0.0080400063, 0.040698532, 0.0048741512, 0.0037603644, -0.008233401, -0.0431678742, -0.011886619, -0.0652925521, -0.0237957258, 0.0481415465, -0.0034210454, -0.0206959285, -0.0171900447, 0.047862161, -0.0192471687, -0.0037110273, 0.0193433817, -0.0291383043, 0.0165280811, 0.0113262823, 0.0545923524, -0.0294884034, -0.0256145354, 0.0133739756, 0.0236717127, 0.0131139467, -0.013744236, 0.0298926514, 0.0038572154, -0.0317783579, -0.0097746998, -0.057381466, 0.0273834318, -0.0128864124, 0.0128449956, 0.0142907742, 0.0559614487, 0.0226088446, 0.0235322621, 0.0427848734, -0.0184891187, -0.033371456, 0.0325823575, -0.0109028574, 0.0242607016, -0.018984681, 0.0286219195, -0.0044001234, 0.0108639384, -0.0029179368, -0.0592103712, -0.0248228572, 0.058635205, 3.045e-7, 0.0265603233, 0.0601540282, -0.0040499154, -0.0065324828, 0.0240575485, 0.033613909, -0.0190327615, -0.0195252392, 0.0269158762, -0.0252783485, 0.01996883, 0.0394464694, 0.016510902, 0.0045246319, -0.1088935956, -0.0123537257, -0.0330078639, -0.0059684748, -0.0974987969, 0.0140170576, 0.07298664, 0.0948130414, 0.0131547721, -0.0210731383, 0.0343541615, -0.0057196296, 0.0279840454, 0.021146778, 0.0186417326, 0.0118754171, -0.0226244405, -0.0101099983, -0.0055576004, 0.0444137864, 0.0192018654, 0.0359304026, -0.0286911651, 0.0443700589, -0.0002668863, 0.0024482524, 0.0182710588, -0.010608335, -0.0125568453, -0.0817862675, 0.1239449158, -0.0477720052, -0.0202278607, -0.0031900904, -0.0098151825, -0.0211995412, -0.0227566212, -0.0174606424, -0.0061571803, 0.0255149454, 0.0050902311, -0.0115002962, -0.0114510721, -0.0789092705, 0.017871365, 0.0097263856, -0.0539308935, -0.031085398, -0.0536090583, 0.0081558172, 0.044515729, -0.0403751358, -0.0094442954, 3.166530841e-34, 0.017025141, -0.0273797605, 0.0378642865, 0.027534781, 0.0281552766, 0.0047220355, -0.0362367481, 0.0004058394, 0.0309503581, -0.1126713008, -0.0399042629 ]
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.0406037159, 0.0507521667, -0.0068173944, 0.03932634, 0.0000622816, 0.0365170166, 0.0241240487, -0.0296021085, 0.0216082726, -0.0545541756, -0.0359806605, -0.0426636375, -0.0020032825, 0.0588279851, 0.002379694, -0.0843060911, 0.0090132393, -0.0329362638, 0.019225413, -0.0062248157, 0.0285857674, 0.0226172879, 0.0245066695, 0.0239098128, -0.0122048631, -0.0211099461, 0.0257006418, -0.0041538165, 0.0156217525, -0.0221891049, 0.0045647309, 0.0500648133, 0.0499056466, -0.0222787224, 0.0000016851, -0.0238715261, 0.066982843, -0.0190963354, 0.0618403368, 0.0196161829, 0.0610893779, -0.00403438, 0.0265985485, 0.0021379769, -0.0484730229, -0.0350604393, 0.0735547543, 0.0724827573, 0.080136992, 0.0118864775, -0.0138561614, -0.0614695363, -0.0679588243, -0.0167297348, -0.0038925831, 0.0063790516, 0.0014359785, 0.0790588707, 0.0102837086, -0.0108723799, -0.0291847195, 0.0415430553, -0.0032498145, -0.0246555433, -0.0194414109, 0.0211294498, -0.0472143292, -0.0388309248, -0.0190293193, 0.1095280722, 0.056514129, 0.0177506488, -0.0134952022, 0.0306799915, -0.0178426411, -0.0223895032, -0.050315842, 0.0581187531, 0.0171305332, 0.0064814775, -0.0253382567, 0.0272584502, 0.0044582943, 0.0491461419, 0.024738783, -0.0094749918, 0.0129370373, 0.0320405066, -0.0953477249, -0.0135783721, -0.0415313691, -0.0540572628, 0.0023651719, 0.0247702319, 0.0077809929, 0.0029659714, -0.0246608984, 0.0318303443, -0.0025690554, -0.0088770371, 0.0043737423, 0.0196877308, -0.0756761208, 0.0696415082, 0.006658663, 0.0637479275, -0.0177954454, 0.0137016103, -0.0640729293, -0.0197654087, -0.0062536332, -0.0035734631, -0.0042272764, -0.0050197411, -0.0548169464, -0.0313118435, -0.0432861932, 0.0043180543, -0.0273848455, -0.0066123833, -0.0247466099, 0.0121192783, -0.0097315926, 0.0089703426, -0.0308904108, 0.0264246892, -0.0086909486, -0.0126233259, -0.0357494131, -0.0329704508, 0.0249399431, 0.0332759693, 0.007320073, -0.0179724358, -0.0032586125, 0.021448046, -0.031697616, 0.0060639218, -0.026567772, -0.0105076069, -0.027400665, -0.0190986991, 0.0270769447, -0.0693465844, 0.0230438393, -0.010615414, 0.0111209322, -0.023953801, 0.02461881, 0.0332416855, -0.0266588442, 0.0829494372, 0.0091733756, 0.0285270866, 0.0601739883, 0.0226943363, 0.0158124492, 0.0695089325, 0.026327936, 0.031517677, 0.0882073641, -0.0292885378, 0.0211477485, 0.0320963487, -0.0236529149, -0.015028974, -0.0570448451, 0.0274193566, 0.0254214667, -0.0013898157, 0.0428623445, 0.0585700311, 0.0097746607, 0.0359199122, 0.0726875439, 0.0428514779, -0.0261819307, 0.0484681055, 0.0638794601, 0.000381087, 0.0019245122, 0.0132264998, -0.0538641065, 0.0527140424, 0.0125504369, 0.0048320396, -0.0207839403, 0.0598311312, -0.0507133044, -0.0310040172, 0.0014609031, -0.0090338718, 0.0383368284, 0.0343135446, 0.0174864419, 0.0049258368, 0.0060631754, 0.015423595, 0.009253799, -0.049783498, 0.0058656773, -0.0229889192, 0.0407919511, 0.0528041311, 0.009171213, -0.005996062, 0.0188444015, -0.0046494631, 0.0755651966, 0.0337201208, 0.0238373186, 0.0102790147, -0.0004067845, -0.0369319059, -0.0271222852, -0.0225446653, -0.0306326356, 0.0026093379, 0.0177062973, 0.0073426492, 0.0515709184, 0.0337937139, -0.0520585179, 0.0129651465, 0.0385614932, -0.0244455747, 0.0059324256, 0.0091862995, -0.0119478228, 0.0350907333, -0.0357949734, -0.0009852116, -0.006671703, -0.0374639481, -0.0057621105, 0.0675661862, -0.0886764526, -0.0548222438, 0.0312373266, -0.0676669255, -0.0175509602, -0.0040615746, -0.0301401652, -0.0442705415, 0.0159453824, -0.0269790608, -0.0366432332, -0.096268706, -0.0322168544, 0.0017855483, 0.0378819034, -0.014805221, 0.0530778654, 0.0010075379, -0.0378427282, 0.0210733041, -0.0114034554, -0.0122975502, -0.0240084175, -0.0548055954, 0.0407405794, 0.0120407818, 0.0198247302, 0.0262981839, 0.0693554655, -0.0379935168, 0.0137603572, -0.1332627237, -0.0153146246, -0.0223493706, -0.0335595012, -0.0157655086, 0.0068364912, -0.0236898661, -0.0553602055, -0.0678585619, -0.0036670018, 0.0191197358, 0.0262085274, 0.05791777, 0.0179155096, -0.0152151315, -0.0017436759, -0.0200939588, 0.0381595306, 0.0831616372, 0.0172985252, -0.0086909244, -0.0315220617, -0.0274131354, -0.0498946346, 0.0084440457, 0.0232431404, -0.0589025393, -0.0187602174, 0.0102020102, 0.0450421721, 0.0317785479, 0.0393043421, -0.0053758081, 0.007692066, -0.0188900586, 0.0132184168, -0.0183549058, 0.0080820546, -0.0475567803, 0.061765831, -0.060451474, -0.009950297, 0.0163826346, -0.0067807729, 0.0138913644, -0.035417702, 0.0321228057, -0.0089101112, -0.0637300238, -0.0541403331, 0.0099519463, -0.0047918814, 0.0501276255, -0.0379699655, -0.0511291139, 0.0423001237, -0.0329282582, -0.0517715886, 0.0193673354, -0.0075196815, -0.0576524287, 0.0709934384, -0.0002097873, 0.0399768054, -0.0115990816, -0.0268750899, -0.0056036119, -0.0529900976, 0.0113376183, -0.0429158472, 0.0466559231, -0.0726820976, -0.0414151885, -0.0251064189, -0.0317931958, -0.0463609733, -0.0234576873, -0.0180464163, 0.0115910238, -0.0409018509, 0.0307672843, 0.0253267139, 0.0496320464, 0.0314860903, -0.0105685126, -0.0215202682, 0.0363236256, 0.0055668978, 0.0543006398, 0.0662107542, 0.0410274826, -0.0348169394, 0.0042027053, 0.0293645933, 0.0055050142, 0.0042508347, 0.0026660117, -0.0280371904, 0.0398976244, 0.0274584759, 0.0339998044, -0.0023142588, 0.0070926221, 0.0877413303, -0.035772182, 0.0167684015, 0.1155523881, 0.020429099, -0.0456213467, -0.03838256, 0.0105587738, 0.0035506829, 0.0397831239, 0.0329451114, -0.0871551633, -0.0109878806, -0.0291760918, -0.0033555364, 0.0056844666, 0.0251779445, -0.030134514, -0.0728194788, 0.0311964583, 0.0172519516, -0.0288803112, -0.0629139021, 0.0292248875, -0.037924733, 0.004972382, -0.007741922, -0.0282717366, -0.0216956139, 0.01701097, -0.0114820739, -0.0267084427, -0.0224906653, 0.0303370208, -0.0500234924, 0.0150239849, 0.0668554977, 0.0220213234, -0.0197472852, -0.0574658066, -0.0223379228, -0.0397045426, -0.0025353311, -0.0214681011, 0.0125510497, 0.001952238, -0.0622949079, 0.0066390573, 0.0290907901, 0.0104758544, -0.0204439946, 0.0382568054, -0.0074538216, 0.0156836789, -0.0088151265, -0.0319407322, 0.0452724844, 0.0144319115, 0.068509765, 0.0510456339, -0.0581249185, 0.0019729992, -0.0374185145, -0.0386617109, -0.0350325815, -0.0530170649, 0.0138605433, -0.0166528691, 0.0085957823, -0.0869761854, -0.0136983469, 0.040981058, 0.009435528, 0.0234070402, -0.0368754007, -0.0189414695, 0.0669078082, -0.0627396256, 0.0602615811, -0.0597977266, 0.0115790721, -0.0199625753, -0.0024355876, 0.046309229, -0.0590874664, -0.0047871354, 0.0245482661, -0.0378911346, -0.0073247235, -0.0044854842, 0.0700321048, -0.0020419799, -0.0048678317, 0.0392667018, -0.0559921227, 0.0039724782, 0.0110120187, 0.0523756817, -0.0191995855, -0.019914249, 0.0042720372, -0.0132676708, 0.0213314015, -0.0177845769, 0.0400900878, 0.0083413469, 0.0381717458, -0.0085427072, -0.0351647139, -0.0093263797, 0.0205332432, -0.003204617, -0.0481302999, 0.0094460119, -0.0181334503, -0.0257728137, -0.0034494377, -0.0337967277, -0.0535456203, 0.0187971313, -0.0032011836, 0.0295101628, 0.008344885, -0.0104115857, -0.0084850006, 0.0018142554, -0.030807836, 0.027500486, 0.0417973734, -0.0025184255, -0.0401978232, 0.0135016823, -0.031902805, 0.0309521519, -0.0262602884, 0.016547488, -0.0157976132, 0.105092451, -0.015543865, -0.0218769666, -0.0233998485, 0.045260746, 0.0237383321, -0.0177956037, -0.0023027207, 0.0556675158, 0.0823659599, -0.0356914699, -0.0122858305, 0.0273332316, -0.0206607915, -0.0023732337, 0.0568647832, 0.0129868658, -0.0543428212, 0.0637188107, 0.0133841345, -0.0222978909, -0.008450144, 0.0353162289, -0.0193491615, -0.0127448449, 0.0379373655, -0.058987163, -0.0354049914, -0.0051197587, 0.0262695402, -0.0253212247, -0.01725954, 0.0610162392, -0.0226641018, -0.0537875332, 0.0072065736, 0.0036364915, 0.0009302596, 0.0533500277, 0.048510585, 0.0484843031, 0.0220473055, -0.0204304177, -0.044884447, -0.003955747, -0.0483213849, 0.0278573148, -0.0110559948, -5.663371254e-33, -0.0577267557, -0.0426881574, 0.0050835782, 0.0028787421, -0.0415991955, 0.0022311441, -0.0435654037, 0.0113987876, -0.0094627831, 0.0068761008, 0.0048914994, -0.0306278225, 0.0186441224, 0.0626262426, 0.0043502101, 0.0035924278, 0.0203171503, 0.0274613481, -0.0189130139, 0.0059587122, 0.0114362529, 0.0019781752, 0.0169819556, -0.068951413, -0.0041407449, -0.0241766535, -0.0177766941, 0.0230644885, 0.0661568344, 0.0691484511, -0.0485895872, 0.0307231508, 0.0243904274, 0.0187984258, -0.0127944797, 0.0518296249, -0.0667657778, 0.0137863755, 0.0484684929, 0.0293212384, -0.0127693936, -0.0311929192, -0.0221100915, -0.0658109188, 0.0104628019, 0.0041230689, 0.0743657872, -0.0422752574, 0.0240228362, -0.0064688399, -0.0239778962, -0.0031904872, -0.0090704914, -0.0032083918, 0.0142728379, 0.0496689267, 0.0081908014, 0.0227073394, -0.0128266579, 0.055381272, 0.0275119189, -0.0015506285, 0.0806487128, 0.0713815764, 0.0266269594, 0.0211452283, -0.0025101344, -0.0120570725, -0.032773409, -0.0073907319, 0.0096445438, 0.0177968424, 0.0206445027, 0.0898469165, 0.0000122995, 0.029034378, -0.0169979092, 0.0023171427, -0.0371846519, 0.0139212869, 0.0184963644, -0.0032152599, 0.0050561675, 0.0298183039, -0.0523219034, 0.0090668872, -0.045813024, -0.0364214145, 0.0300874114, 0.0135121131, -0.0571472533, 0.0481899455, 0.0669300184, -0.0444241837, 0.0161879752, -0.0208649002, -0.0055945492, 0.0064024264, 0.0058844965, -0.0006252967, -0.0053292159, -0.0150907366, 0.0463540368, -0.0150965229, -0.014910006, -0.0047965213, 0.0309283771, 0.0268384591, -0.0384373628, -0.0064877989, -0.009393896, -0.0049197054, -0.0649608821, 0.0160279367, 0.007672302, 0.0231659263, -0.0908082724, -0.0266547985, -0.0036785356, -0.0168690812, -0.0195248313, -0.0928947851, 0.0023076991, 0.0555789508, -0.0578993335, 0.0338460393, -0.0293154474, 0.0126498193, -0.0146754878, -0.0301380251, -0.0237723365, 0.026580153, 2.279e-7, 0.0017085605, -0.0063410117, 0.0009731043, 0.0578451157, 0.0132138161, 0.0153040616, 0.0026087125, -0.0037038797, 0.0240184087, -0.0187846385, 0.0450385474, 0.0379146375, 0.0510995872, -0.0337376595, -0.059417326, -0.0148543026, -0.0162997283, 0.0087082675, -0.0289351586, -0.0228063185, 0.0443561822, 0.0756905675, -0.0216528438, -0.009016661, -0.0093169101, -0.1045039073, 0.0809054375, -0.049939841, -0.0183591954, -0.0068548904, -0.0023491338, 0.0167994481, -0.0237080269, -0.0248240959, 0.0038490142, 0.0071671414, 0.0850948617, 0.049531471, 0.0130668879, 0.0099136112, -0.0520120598, 0.0803336203, -0.0120740421, -0.0658225045, 0.0782405138, -0.0475690477, -0.0279872306, -0.0603980049, -0.0033541671, -0.0156351142, 0.040350683, -0.0517511293, -0.0365891345, 0.024983434, 0.0427277759, -0.0400652289, -0.0136653241, -0.0505208112, -0.0135682318, -0.0134134237, -0.0166759323, -0.0116878664, -0.0348604359, -0.0335275978, -0.0174583178, 0.0251251012, -0.0060647908, 1.536329905e-34, 0.0526137762, -0.0141092604, -0.0212590005, 0.0086403498, 0.0395869389, -0.0082105584, -0.0117770331, -0.0237843096, 0.0092133833, -0.0590172932, -0.0004145675 ]
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.0166362654, 0.0897458494, 0.0052649612, 0.0462664552, -0.0371416397, 0.0104360487, -0.0081044016, -0.0323083363, -0.0440233909, -0.0016342959, -0.0743491501, -0.0419462956, 0.0240093954, -0.0193275269, 0.0136164473, -0.0737235695, 0.0288698152, -0.0493979752, 0.0395444036, -0.0164971184, 0.0172280073, 0.0083687836, 0.0008324215, 0.035887491, 0.0670654774, -0.0281724278, 0.019040823, 0.0058953147, 0.0342976488, -0.0380400009, 0.0384147428, 0.0571757741, 0.0322587043, 0.0214216411, 0.0000023272, -0.0690101087, -0.00941524, 0.0093346564, -0.0233379416, 0.0361150429, 0.015486367, 0.0279840436, 0.0002430806, 0.0160988998, -0.0131931687, 0.0040961141, 0.0813318044, 0.0120243654, 0.0232996903, 0.0199342985, -0.0034673633, -0.0367355756, 0.0006992229, -0.0352078564, 0.0235068537, -0.0247030538, 0.0064420151, -0.0169086345, -0.0335211232, 0.0028492222, 0.0034655284, 0.036614228, -0.0069341464, 0.0154203428, -0.0010529513, 0.0330288783, 0.0406045057, -0.0081860116, -0.0349937901, 0.0492772497, 0.0057054483, -0.0166112836, -0.0070538009, -0.0384024233, -0.0103734685, -0.0058137788, -0.0165493954, -0.0217827242, 0.0095702689, 0.0227564834, 0.0810121745, 0.0370770842, 0.0343277976, 0.0134105152, -0.01756409, 0.0303690284, 0.0216760896, -0.0423049703, 0.0002191611, -0.0063060885, -0.0420180336, -0.0506914258, -0.0071239737, -0.0146397138, -0.0555670187, 0.0277657062, -0.0424895547, -0.0139731951, 0.0026793417, -0.0415153205, 0.0691636726, 0.0766450912, 0.0036313883, 0.0463606417, 0.0128071234, 0.0664912015, -0.0194466989, 0.0038961533, -0.0370099805, 0.0290393103, 0.0158644896, -0.0066518285, 0.0017197797, 0.0064128968, -0.0365130417, -0.0167040192, -0.0401796103, 0.0486562811, -0.0150830653, 0.0457281731, 0.0334697887, -0.01041805, -0.0493746363, 0.0022691961, -0.0534405671, 0.0364633724, -0.0179248285, 0.0291552115, 0.0434811935, -0.0067662946, -0.002516696, 0.0119516207, -0.0174346864, -0.0415523797, 0.0072629494, 0.102782093, 0.0076970602, -0.0008970703, -0.0065739071, -0.0273804069, -0.0257805288, -0.0342272148, -0.0372708701, -0.080870457, 0.0195337869, 0.0108435126, -0.0111045195, -0.0528651997, -0.015334961, -0.0029548022, -0.0152309323, 0.0924708173, -0.0018990517, -0.0080913547, -0.0092641786, -0.0228222962, -0.0171643905, 0.0623141937, 0.0438855141, 0.0246489681, 0.0213198308, -0.0263567772, -0.0320121795, 0.03959148, 0.0173747949, 0.0140305199, -0.0337730683, 0.0115841962, 0.0257407613, 0.024069896, 0.0620250963, 0.0471024886, -0.0111867003, 0.0024327319, 0.080461584, 0.0468220674, 0.0463663898, -0.0498381369, 0.0002525384, -0.0070439032, -0.0371007957, 0.0235587861, -0.0461127423, 0.0383675732, -0.0298674311, 0.0478052385, 0.0921332538, 0.0187530126, -0.0109596336, -0.0598498993, -0.0280821063, 0.0038698192, 0.0206063278, 0.0532487221, 0.0571126305, -0.0181034263, -0.0575095192, 0.0157541893, 0.0607979484, -0.0346269123, -0.0092067728, -0.0554802231, 0.056654755, 0.0912708491, 0.0290703215, -0.0006565413, -0.016216971, 0.0045789713, -0.0483683534, 0.049764812, 0.0449635126, 0.0031054246, 0.0257492121, -0.0555830598, -0.0517770126, -0.0023330059, 0.0004726162, 0.0153671624, 0.022282457, -0.0255592242, -0.008137471, -0.0141836023, -0.0579553246, 0.0221237708, -0.0178553555, -0.0283621345, -0.0020400118, 0.0106122922, 0.0510615893, -0.0027028809, 0.0059318109, 0.0048171002, 0.0164413042, -0.0094165774, 0.0614331439, 0.0126986708, -0.0533837527, -0.0335716009, 0.049185995, -0.0088826809, -0.0030609572, 0.0427629016, -0.0131948516, -0.0272502825, 0.0267546978, -0.0067951493, 0.0505730137, -0.0018239813, 0.0332447439, -0.0165501162, -0.0256914105, -0.0512570329, 0.0496496074, -0.0334641859, 0.0268491283, 0.024704732, -0.0102211768, -0.0184073076, -0.0362155475, -0.0381080545, 0.0133702913, 0.003581444, 0.0276630633, 0.0390509106, 0.0185321607, -0.0285467412, -0.0277753528, -0.0391102061, 0.0172855984, -0.0134876315, 0.0494070724, 0.0546119697, 0.0365438163, 0.0043032733, 0.0105229393, -0.025459487, -0.0072871074, -0.0320390575, 0.0208114833, 0.013723217, 0.019325804, -0.0340144336, -0.065166831, -0.0181065835, -0.0192363895, -0.0164555982, -0.0113685569, 0.0227126013, -0.0549630299, 0.0626884401, -0.0339344256, 0.0145953307, -0.0358430482, -0.024953071, 0.0321172625, -0.0104858764, 0.0385352932, 0.0649384707, -0.0080772769, 0.0309865251, 0.0509226918, -0.0099775745, -0.0994704217, 0.0053209132, -0.0329652689, -0.020166643, -0.0322849564, -0.0588144474, 0.0144371297, 0.1167773828, 0.0049055014, 0.0204152223, -0.0664523318, -0.0092928335, -0.0047736056, -0.0142802391, -0.0231936518, 0.0195850469, -0.0317483246, 0.0545764752, -0.0294235069, -0.0766571984, 0.0989047959, -0.0416653976, 0.0138215693, -0.0423404239, -0.0232832376, -0.0175822061, 0.0092206299, -0.0321444422, 0.0268060602, 0.0036519447, -0.0235850457, -0.0538541824, -0.0339315198, 0.0569958352, -0.0505488664, 0.0599687435, -0.0338466093, 0.0098968381, 0.0014881863, -0.0512165911, -0.0236549787, -0.0443124212, -0.0088156816, -0.0137920668, 0.0344234779, -0.036898803, 0.0038187965, 0.0317912251, 0.0366514586, 0.0271043312, 0.0007399285, -0.0092414813, -0.0273940116, -0.0025640109, 0.0996186212, -0.0017170943, 0.0067752232, -0.0563785583, -0.0091508608, -0.0010727659, 0.0434004329, 0.001334152, -0.0111992909, -0.0192748271, 0.0840662941, -0.006654338, -0.0077577457, 0.0599784441, 0.0788700581, -0.0325209163, -0.0142940721, 0.1096691936, 0.012582791, -0.0608436726, -0.0112850843, -0.0271772332, 0.0744274706, 0.0001062457, 0.0056046383, -0.0475018024, -0.0404865816, 0.0046365201, 0.0630230606, 0.0031903426, 0.0236689299, -0.0032973501, -0.0996091738, -0.0231354721, 0.0205741338, -0.0461465195, -0.0190763101, -0.0384951942, 0.0223444682, -0.0335468091, 0.0591282845, 0.0020565465, 0.0170428101, -0.0022583359, 0.0209058356, 0.0133049255, -0.0457329005, -0.0059338235, -0.0393151902, 0.0766049847, 0.0997582451, -0.0156045211, -0.0055734268, -0.0734729767, 0.0144404089, -0.0102135018, -0.0306149591, -0.0128323957, -0.0061922986, -0.0111610545, -0.0051591541, -0.0191699024, 0.0465131886, -0.0294896476, -0.0080757691, -0.003594809, 0.0309630241, 0.0091321226, 0.0236959029, -0.0080309846, 0.00340451, 0.0338578708, 0.0769866854, 0.0143316947, -0.074127458, 0.0103947753, -0.0479817651, -0.0387630835, -0.0307524223, -0.0056949304, -0.0373512544, -0.0044621844, -0.0209516119, -0.0403008163, -0.0411356874, -0.0150708277, 0.0279186573, 0.0064069387, 0.0097233411, -0.0042845132, -0.0376900211, -0.0357310176, 0.0390730202, -0.0251925904, 0.0183658339, -0.068870455, -0.0205070712, -0.0102640549, -0.0403932482, -0.012034134, 0.0204838645, -0.0523856804, -0.0957642719, -0.0211222246, 0.0676360503, 0.0186628643, 0.0718364939, -0.0007338948, -0.0369002372, 0.0226945281, 0.0336447991, -0.0023620713, 0.0118990242, 0.0222786721, 0.0140742222, 0.0032869177, 0.0184745342, -0.0374957547, -0.0344769992, 0.0356078856, 0.0426365249, -0.0080473069, -0.0372194313, 0.037571352, 0.0073324526, 0.0623495243, -0.0365600064, -0.0217659287, -0.0305273347, -0.0058969739, -0.0055968291, -0.0371682942, -0.0148533583, -0.0541926585, 0.0321281329, -0.01348342, 0.0069220308, 0.0015347201, -0.0043877158, -0.0085403826, -0.0631170869, 0.0210007727, 0.0105928583, 0.0353641994, 0.0436344966, 0.0070385314, -0.0095256241, 0.0203001723, -0.0058565061, 0.0643288642, 0.01067835, 0.053293664, 0.03033741, 0.0170491505, 0.0192703791, 0.029266648, -0.0155570786, -0.0482269526, -0.0384256318, -0.0521961637, 0.0363897197, -0.0147658251, 0.0841769725, -0.0118650617, 0.000740654, -0.0205425564, 0.0341872051, -0.0114869205, -0.0101066697, 0.0384177491, 0.0272909906, 0.0018706861, -0.0298565235, 0.0585940443, -0.0338091329, 0.0210014284, -0.037829034, 0.0056721945, -0.0236285534, -0.0133400438, 0.0151413623, 0.0714491904, -0.0418954119, -0.0349461325, -0.0256469417, -0.0594719127, -0.0409985147, 0.0450644605, -0.0124716554, -0.0106319683, 0.0382599458, 0.0510118753, -0.0459044203, -0.02372998, -0.0211228896, -0.0166885629, -0.0315304548, -0.0314477757, -0.065105319, -7.040972389e-33, -0.0458723158, -0.0056496873, 0.0095529677, -0.0075841476, -0.0180541631, -0.0065304535, -0.0307498183, 0.0094430121, -0.0273114126, -0.0277383979, 0.008213778, -0.0157315936, 0.0137736024, 0.0059915334, 0.0222352464, -0.0121473148, 0.0330594704, 0.0066887117, -0.0710424632, -0.0127528952, 0.0240266211, -0.0323643163, 0.0678144768, -0.0821865201, 0.064422138, 0.022871444, -0.0325669572, 0.0046056849, -0.0145607106, 0.0711537302, -0.0058040209, 0.0115964618, -0.0144718848, -0.045239307, -0.0269231331, -0.0156087894, -0.0158591513, -0.01146557, 0.0730251223, 0.0065824743, -0.0661146194, -0.0619270094, 0.0511338711, 0.0024829421, -0.0631108359, -0.0092776278, 0.0234123096, 0.0046174298, 0.0005751998, 0.0426720604, -0.0476395674, 0.0118889436, -0.0188320279, -0.0265038311, 0.0351532213, 0.0214506593, -0.0076076668, 0.0369999334, -0.0668749288, 0.0668249056, 0.0269801021, 0.0482520871, 0.1006322727, 0.065328896, 0.0180412568, 0.0197446588, 0.0225191526, -0.0418924764, 0.0518233627, -0.0111870496, 0.0332065411, -0.0005434426, 0.0214372464, 0.0158632081, 0.0482742041, -0.0000200588, 0.0013065925, 0.0356534123, 0.0000389896, -0.0050797211, 0.0622573048, 0.0623129494, -0.0754307583, -0.0357419997, -0.0438642614, -0.0347453877, -0.0473000258, -0.0455160961, 0.0265664291, -0.0043745274, -0.0203121156, -0.0396278948, 0.0300851334, -0.0400951467, -0.0219006035, 0.016298281, -0.0248576552, 0.0261508245, -0.0138096046, 0.0005076388, -0.0840857252, -0.0099941315, -0.0143858502, 0.0316894241, 0.0045562549, 0.0522765219, -0.0079018632, -0.000017765, -0.0429647304, 0.0093052071, -0.0423465595, -0.022935899, -0.0111978203, -0.0278470144, 0.0875536501, -0.0261397026, -0.0055120317, 0.0325155929, 0.0237181224, -0.0319689624, -0.041805692, -0.0305781569, -0.0378520563, 0.0103576966, -0.0134713026, 0.0008432678, -0.0182587672, -0.0108689358, 0.0055991597, 0.0080879638, -0.0385188907, 0.0105304383, 2.988e-7, 0.0190810263, 0.0303961691, -0.0206033178, 0.0569186807, -0.0281356648, 0.0584093519, 0.0068959775, -0.004885308, 0.0573799908, -0.0079847006, -0.0006028775, 0.0068072006, 0.0261028185, -0.0054417248, -0.0560128689, -0.0037728634, -0.0643768609, 0.0432332158, -0.0031891575, 0.0161345117, 0.0507137328, 0.0793096125, 0.0165240467, 0.0273226257, -0.0024143057, 0.0148991505, 0.0240994729, -0.0723523945, -0.021777913, 0.0105843088, -0.0201010201, -0.0068819351, -0.0287552606, -0.0192960165, -0.0041676513, 0.0320787057, -0.0344468616, 0.0563452058, 0.0057542338, -0.0397477597, -0.0394091755, 0.023306679, 0.0047797114, -0.0654040799, 0.0519777201, -0.0197666548, -0.0372023173, -0.0207780488, -0.0090106837, -0.0060919705, 0.0039099036, -0.0229366068, -0.0178443547, -0.0204313118, 0.0068662809, 0.0237002075, -0.0462879017, -0.0381401367, -0.0437535495, 0.0422755331, -0.0026185191, -0.0508597679, -0.0395716131, 0.0375300422, -0.0076371511, -0.0820785165, 0.0183639638, 2.878131567e-34, 0.0181568023, -0.0113334535, 0.0430551767, 0.003251265, 0.0132801142, 0.0200166889, -0.0091361087, 0.0296032894, 0.0558342002, -0.0841930211, -0.012306029 ]
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.0400945619, 0.0248008464, -0.0247504413, 0.0538790077, -0.0719015077, 0.0117390705, 0.0275307242, -0.0035273719, -0.014029759, -0.0511319749, 0.0191646516, -0.0902777761, 0.0106498469, 0.0041377228, 0.0194945186, -0.0370289944, 0.0750739053, -0.0887162983, 0.0356682651, -0.0193270799, -0.0005293719, -0.0352752618, -0.0046610511, 0.0087858625, -0.0130513944, -0.0314317495, -0.0055839755, -0.0157609433, -0.0206356663, -0.0304730218, -0.0157650057, 0.0699853972, 0.0180561934, 0.0841754228, 0.0000023321, -0.0329229385, 0.0086066145, 0.0043938719, -0.0832524449, 0.0774235576, 0.0391920134, 0.0024375874, -0.0142753934, 0.0295186583, -0.0273058824, -0.0086818691, 0.0278079491, 0.0649583712, 0.0598280951, 0.1023189649, 0.0084898798, -0.0137255574, 0.0429621227, -0.0174894705, 0.0053902781, -0.0197730865, 0.0507689714, 0.0078640711, 0.0168825723, 0.0357263125, -0.009288515, 0.0171929393, 0.0475553088, -0.0050859693, -0.025560528, 0.0252080951, -0.0001507159, -0.0365154818, -0.0296421293, 0.0281845406, -0.0354043022, -0.0194552857, -0.0054696575, 0.0022593928, 0.0237744227, 0.0370439775, -0.061199598, 0.0379032567, -0.0148906261, -0.0137596438, 0.043406222, -0.0009401445, 0.0270403754, 0.0198500082, -0.0308492929, 0.0471568704, 0.0001219444, -0.0685655996, -0.0034090625, 0.0073052617, 0.0052232221, -0.1067532077, 0.0001229063, 0.0343716703, -0.0362477452, 0.0227760337, -0.0598149709, -0.0174937658, 0.0193898622, -0.070450902, 0.0439588018, 0.0446426719, -0.041886922, 0.0204158127, -0.0244939812, 0.034036424, -0.0442049913, 0.0008188801, -0.0119155459, 0.058611013, 0.001011707, -0.0117567554, -0.0172902271, 0.0577214397, -0.0161301289, -0.0239842106, -0.0362477787, 0.0226696376, -0.0274205711, 0.0392146856, -0.0148008261, -0.0414333344, 0.0155290188, -0.0076945969, -0.0166414063, 0.0303432588, -0.0326328166, 0.0151047036, 0.015932506, -0.0964474902, -0.0227902178, -0.0064285281, -0.0173661113, -0.0066801175, 0.0037454662, 0.0247131549, 0.0005471462, -0.0291609485, -0.0610685125, -0.0509434864, -0.0050153835, -0.0770275369, 0.010883064, -0.0725746006, -0.013228952, 0.0021374272, -0.0084924754, 0.0228637978, 0.0131411487, 0.0442714132, -0.01858381, 0.046028018, 0.0429947227, 0.0160956196, 0.0298842527, 0.0333540626, -0.0215281062, 0.0850514099, 0.0020604988, 0.0226463303, 0.0296026394, 0.008102512, 0.0219631083, 0.0395269021, 0.0207768921, 0.0192635003, -0.0121001275, -0.0175187252, 0.0044541019, 0.0036322253, -0.0113399923, 0.0797690749, -0.0485635549, -0.0042535579, 0.0904182866, 0.0068604117, 0.0005248817, -0.010125841, 0.0568117946, 0.0135375187, 0.0317835175, 0.0658257157, -0.0660995394, 0.0125578111, -0.0629208088, 0.0254075993, 0.0417659134, 0.0375547931, -0.008954782, -0.0296932999, -0.0274988711, 0.0159806255, -0.0121995844, 0.0455897115, 0.0503701568, -0.0131850354, -0.0435480401, 0.0244017038, 0.0144710429, -0.0461742096, -0.0133984713, -0.0777671412, 0.0249228589, 0.0226017237, 0.0635802597, -0.0081538446, 0.0096503645, -0.0302948561, 0.0208953619, 0.0337683186, 0.053192649, 0.0014139111, -0.056203533, -0.0338436402, -0.0028659622, -0.0199168138, 0.0128744002, -0.005335934, 0.0458192453, 0.0202957522, 0.0002680237, -0.0018633747, -0.0247937646, 0.022277886, 0.0076638111, -0.0330181979, -0.0514883064, 0.0230253115, 0.0122906845, 0.0274860784, -0.022022862, 0.0298074484, 0.0407312103, -0.0171155613, -0.0082690455, -0.0746332407, -0.0712381825, -0.0326715112, 0.0442763977, 0.0004475632, -0.0133772241, 0.018983312, 0.0034449552, -0.029601723, 0.003790684, -0.0675398037, 0.0250001773, -0.0171383526, 0.0523223206, -0.0195927192, 0.0047669695, 0.0035138323, 0.0780712739, -0.0364060663, 0.0149509236, 0.0376227461, 0.0008909877, -0.0101804733, -0.0376370326, -0.0246665776, 0.0061816075, -0.0117966523, -0.0142910723, 0.0207651053, -0.0156986602, -0.0124807712, -0.0398167968, -0.0528274253, -0.0388061963, -0.0394457057, 0.0154268369, 0.0060021002, -0.0204573255, -0.0003004702, 0.0155855417, -0.0208384581, -0.0066294638, 0.0280575808, 0.0532606579, -0.008832532, 0.0023356781, -0.0508551523, 0.0072710495, -0.0135433804, -0.0084489519, 0.0575876497, -0.0045979815, -0.0503669083, -0.0644140765, 0.022332849, -0.0134965936, 0.0405808911, -0.0222057663, 0.0013784051, 0.0190602802, -0.0124535132, 0.0646903291, 0.0589961372, 0.0121797733, 0.0709616914, 0.049778413, -0.0059286049, -0.0182883479, 0.0025174089, -0.0009428555, 0.0282941014, -0.0205391422, -0.0496315993, -0.0033542374, 0.0902229622, 0.0121603701, -0.0143751167, -0.0199066736, -0.0103186611, -0.0277384166, -0.0436153598, 0.0024425043, -0.0753415748, -0.0378926024, 0.0474651381, -0.0235927794, -0.0472915471, 0.0804737583, -0.0405354016, -0.0083742421, -0.0324757509, 0.000813589, -0.0043037469, 0.0312982872, 0.005668859, 0.0087216431, 0.0316858552, -0.0078516426, -0.04416769, -0.0120414235, 0.0276032854, -0.0501499102, 0.0821441337, -0.0462286063, 0.0126534617, -0.005916663, -0.0309067667, -0.0662320405, -0.0269528776, -0.0149174603, 0.0085958624, -0.0042010625, -0.0197666679, -0.0491127782, -0.0066841831, 0.0581306964, 0.0431382209, -0.0303630829, 0.0100937625, 0.0027906934, 0.041517809, 0.0383930355, -0.0202055182, 0.0532283671, -0.0603325181, 0.0476160683, 0.0555888154, 0.0606389418, 0.0291027222, 0.0023771734, -0.0197573286, 0.0416049659, -0.0247988757, -0.0315170065, 0.0628121346, 0.0074981037, -0.073830843, -0.0176320877, 0.1076911017, 0.0181117784, -0.0246129371, 0.0033661786, -0.0264724791, 0.0090248138, 0.0255726222, -0.0084992517, -0.0886997655, -0.0143424338, 0.0251167789, -0.0294100046, -0.0316734351, -0.0115259094, -0.0189131703, -0.13419649, 0.0360201634, 0.0032042342, -0.0224411208, -0.0263838768, -0.0349620618, -0.0159744546, 0.0597633794, 0.0276500229, 0.0203175433, -0.0034841322, -0.0215578414, 0.0224763099, -0.0013532586, -0.0506329611, 0.0066255787, -0.005154931, 0.0453020446, 0.0533343963, -0.0128586777, -0.0122778369, -0.0659208447, 0.0454608239, -0.0012356032, -0.0142710255, -0.0067575597, 0.0289834999, -0.0106668044, 0.0151425283, -0.0024154512, 0.0080101006, 0.0162691809, -0.0141701, 0.0199585333, 0.1131336242, -0.0034658434, -0.0457940809, -0.0331586935, 0.0111036273, 0.0382792763, 0.0815871432, 0.0391878113, -0.0273207426, -0.0033020142, -0.0237003881, -0.0294891167, -0.0081749633, -0.0291823987, 0.0252402108, 0.0039965394, -0.0349017456, -0.0246120337, -0.0232584979, 0.0002012787, 0.0613769554, 0.0028126079, 0.0219787192, 0.0340891257, 0.0046748738, -0.005692821, 0.0049126237, -0.0521737859, 0.0551954024, -0.0803418308, 0.0099566663, -0.0294073075, -0.0411126465, -0.0047017247, 0.0264356639, -0.0980076641, -0.0826265737, -0.0060221441, 0.0223765355, 0.036128819, 0.0180600919, 0.0152480826, -0.0632631481, 0.035452459, -0.0096238609, -0.0451493487, 0.0419951081, 0.0135481972, -0.0288359225, 0.0215748921, 0.0147139989, -0.017169822, 0.0124881053, 0.0310596749, 0.0321878158, -0.0465352982, -0.0185594596, 0.0233980566, 0.0396721251, 0.0391927771, 0.0108561628, 0.0613274351, -0.0160013419, 0.0370695405, -0.0372888893, -0.0217230394, -0.0219637584, 0.0029386552, 0.0233230088, 0.0050957212, 0.0109344646, -0.0145437308, -0.0221981052, 0.011319655, -0.0077289338, 0.0022011041, -0.0070404545, 0.0424527675, 0.0695307329, -0.0326865986, -0.0305303801, 0.0024312609, 0.0052715088, 0.0188444573, 0.0164268836, 0.0676067695, 0.0203363132, -0.0180857778, -0.0186282825, -0.0002110995, -0.0582736097, -0.0545670576, 0.0054354086, 0.0492017642, 0.0314180516, 0.0115067111, 0.0219100285, -0.0410902053, -0.0037823704, -0.0266545434, -0.0179511365, 0.0303354654, -0.064954862, 0.0301305763, 0.0321470536, 0.0112602133, 0.0004412907, 0.0550882071, -0.0307169184, 0.0241136942, 0.0093341973, -0.0332054533, -0.0225626584, -0.0546667725, -0.0033258772, 0.0268750302, -0.035212595, 0.0124333538, -0.1240072697, -0.053139437, -0.010934745, 0.010403486, 0.0234842058, -0.024936799, 0.0210679695, 0.0767080337, -0.0065659769, -0.01855978, -0.0353331864, 0.0229991414, -0.0097354995, -0.04288508, -0.0144374957, -6.591716815e-33, -0.0036373525, -0.0337790549, 0.0183170829, -0.0410471, -0.0051934351, 0.0371761508, -0.0162510686, 0.025146028, -0.017707061, 0.0178875588, -0.0209892057, 0.0213907529, 0.0209899452, 0.0092185875, -0.0242895652, 0.0035424186, 0.0531983376, -0.0278540328, -0.0341324322, 0.0067577343, 0.0152774649, -0.0283460077, 0.0295234453, -0.0286195334, 0.0693765134, -0.0095121851, 0.0027914755, 0.0075966609, -0.0533411428, 0.0621012077, -0.0026930454, 0.0690318868, 0.0238194447, -0.0540998429, -0.0155855389, 0.0560574271, -0.0211387239, -0.0310605019, 0.0668400377, 0.0112405075, -0.0252418984, -0.0127216857, 0.0306176934, 0.0069403821, -0.0284469277, -0.0011917144, -0.0102092428, -0.0195493326, -0.0395532995, -0.0001566922, -0.0626247749, 0.0153545234, 0.0176011473, -0.0230898988, 0.0229734033, 0.0493220687, -0.0110984547, -0.0252888929, -0.0515619442, 0.0448175818, 0.0731525496, 0.0417811945, 0.0497545041, 0.0161655955, -0.0228068531, 0.038501475, 0.0359076262, 0.0152183129, -0.0246054176, -0.0308733284, 0.0158617422, 0.0011937654, 0.0684997812, 0.0285875145, 0.0595212281, -0.0015649572, -0.0509634688, -0.009318714, 0.0603598393, 0.0202516541, 0.0467199124, -0.0227963161, -0.0718030334, -0.0245432444, -0.0221098978, 0.0361654907, -0.0496867858, -0.0241631623, 0.0451356098, 0.0307976194, 0.003362213, -0.0031692549, 0.0337188691, -0.019306263, -0.0350664966, 0.0292947236, -0.0086113559, 0.0409183465, -0.0116014984, 0.0242114849, -0.0743057206, 0.0013510338, 0.020291673, -0.0231903233, -0.0275547095, 0.0134322383, 0.0195802599, 0.0195025038, -0.0602969266, -0.0142681906, -0.0341311283, 0.0359146446, 0.0443386547, -0.0173345152, 0.0682502538, -0.0220904313, -0.0056099044, 0.0218686648, -0.0142517462, -0.0660030767, -0.039950341, 0.0397487432, -0.0367180184, 0.0374319814, -0.0300953612, -0.0042708577, -0.0625107437, 0.0241886713, 0.0171598103, -0.0744123906, -0.0179493576, 0.0009257579, 2.995e-7, -0.0226740744, 0.0405167378, 0.0070114741, 0.0294174738, 0.0065756729, 0.0329910927, -0.0031834105, -0.0029014891, 0.0085457042, -0.0583644621, -0.028645426, 0.0443341658, 0.0181878246, 0.0261925254, -0.0626846626, -0.0260858554, -0.042148497, 0.0165410358, -0.0580353253, 0.0028865165, 0.0327886976, 0.0658017471, 0.0269533899, -0.0174586698, 0.0092148874, -0.0398849957, 0.0266705435, 0.0241686907, -0.012188727, -0.0068896394, 0.036987301, -0.0362265334, 0.0054415246, 0.0471858568, 0.010560465, 0.0137963789, -0.0220326893, 0.0499897376, 0.0140599608, 0.0408736318, -0.0205049887, -0.0427699313, -0.0404717624, -0.0636445954, 0.070638366, -0.0179608818, -0.0060033747, -0.0491789952, 0.0167957135, -0.037329305, -0.0026781713, -0.011196509, -0.0000384941, 0.0115212016, 0.0053526862, 0.001094441, 0.0143534411, -0.0293012578, -0.0027561574, 0.0240894482, -0.0381933488, -0.0809201002, -0.0470542759, 0.0169834029, 0.0286673643, -0.0521826781, -0.0189380012, 3.207691969e-34, 0.0346623808, -0.0476125479, 0.0417340286, 0.0426448248, 0.0170537923, 0.0081881257, -0.0805619508, 0.0161417574, 0.0263131987, -0.0602308251, -0.0420190357 ]
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.0593248978, 0.0324911363, -0.0012670512, -0.0308328811, -0.0062022428, -0.0191322137, 0.0424639396, 0.0162888579, 0.0388788544, -0.0646079183, -0.0520471372, -0.0623403452, -0.0465895236, 0.0436628684, -0.0405042656, -0.0472458601, 0.0148208933, -0.0417770036, 0.0543070249, -0.0108906664, 0.0277581271, 0.0185130481, 0.0378755331, 0.02762153, 0.0214102417, -0.0407470465, 0.0355777517, -0.0395499207, -0.0022039225, -0.0119467722, -0.0229650773, 0.0664305314, 0.0211190488, 0.0611812808, 0.0000018803, -0.0300204922, -0.0131331636, -0.0131338313, 0.0279817991, 0.0463148542, 0.0859081, 0.0115390597, 0.000948317, 0.0136517109, -0.0145655042, 0.0101276115, 0.0162462443, 0.0576174892, 0.0347979292, 0.037244875, -0.0232315417, -0.0177830327, -0.0456562787, -0.0451577343, 0.000660254, -0.0231135022, 0.0273670983, 0.0210159626, -0.0021801195, 0.0335693881, -0.0068579274, 0.0376955457, -0.0213986654, -0.0670174211, -0.0125692608, -0.0140692601, 0.0219064523, 0.0027703922, 0.0138655994, 0.0411768556, 0.0399505533, -0.0434080847, 0.018569136, -0.0002118509, 0.0146364011, 0.0588398278, -0.0738162845, 0.0044216136, 0.0268345233, 0.0532412566, -0.0244842861, -0.0417456776, 0.0388168953, 0.0050813761, 0.0345012024, 0.0274916496, 0.0189519506, -0.0400861427, 0.0047600055, 0.0358244181, 0.0335298367, -0.025169991, 0.0414449349, -0.0332268253, -0.0115317842, -0.0261684489, 0.0116230147, 0.0267792102, 0.0314383358, -0.0784483403, 0.047740642, -0.0096059795, 0.0037783794, 0.0692095533, 0.0009650883, 0.0239127818, -0.0219601076, 0.0311850067, -0.0272424389, 0.0293713324, -0.0706302971, 0.0053998204, 0.012636832, 0.0171360951, 0.0009473891, 0.0239768885, -0.0709697232, 0.0451668352, -0.0318768807, -0.0242122617, 0.063578032, 0.0011142299, 0.0587083846, -0.0078768842, -0.0287456568, 0.0227073114, -0.0188104883, 0.0430115238, -0.0324415639, 0.0352168493, 0.0320571512, 0.0576916449, 0.0075290729, -0.0270414725, 0.0243845992, 0.0406798273, 0.0254007429, 0.0163080525, -0.0366016068, 0.0025834697, -0.0465770587, -0.024498025, -0.0699741989, -0.062246453, -0.0039818934, -0.0052589071, -0.00827666, -0.0582945347, -0.0406822748, -0.0149012674, -0.0335528255, 0.0086253975, 0.0347995162, 0.0198547598, 0.0025787596, 0.0273115952, -0.0266243964, 0.0437481217, -0.0200917106, 0.0517785326, 0.0629588589, -0.0230779909, 0.0074724345, 0.0083952239, -0.0003654247, 0.0302370153, -0.0535019636, -0.0186884739, -0.0327202231, -0.0385376811, 0.0570407808, 0.051483687, -0.0331671163, -0.0089857541, 0.0932804346, 0.0171618741, -0.0148189217, 0.0122406296, 0.0088585857, 0.0122939143, -0.0304170121, -0.0171087328, -0.0343440771, 0.040638499, 0.0021578593, -0.0617062375, 0.0734843761, 0.0453645289, -0.0667239428, -0.0159726609, 0.020974474, 0.0177770033, 0.0410556793, 0.019354552, 0.0182191133, -0.0206679609, 0.0133640738, 0.0521534793, 0.0174351037, 0.0092761181, 0.0287795477, -0.0347104967, 0.0486246124, 0.0305577293, 0.0535114668, -0.0227970108, -0.0005149528, -0.025295103, 0.0006193997, -0.0342210419, 0.0841504186, -0.0298685636, -0.0499957539, -0.0299894605, -0.0638613626, 0.009746233, 0.0325782932, 0.0250677653, -0.0115419729, 0.0382126682, -0.0004688729, -0.0364921875, -0.0207876787, -0.0204101782, 0.1058480889, -0.0068223011, 0.0082400143, 0.010503782, 0.0774408132, 0.038191434, 0.0190950576, -0.0137501173, 0.0189676881, 0.0024178268, -0.0495730713, -0.0231251642, 0.0074634552, 0.0085129961, 0.0607086048, -0.0264032986, -0.0339874141, 0.0211611241, 0.0013331119, -0.0263117589, 0.0375771224, 0.0095443465, 0.0252149981, -0.0274334084, 0.0102144871, -0.0301965736, -0.0244686622, -0.0131463381, 0.0355625004, 0.0179396868, 0.0054329699, 0.0065790028, -0.044421453, -0.0072899451, -0.0185606852, 0.0036776911, -0.0098704826, -0.0014841491, 0.0135986283, 0.0655073747, -0.0074047991, -0.0103131328, -0.0328263566, -0.0639063418, -0.0517241359, -0.003423936, 0.0357005, 0.0336722769, -0.0015762193, 0.038643878, 0.0098109674, -0.0512091704, -0.0151193468, 0.0254644901, 0.045378238, -0.0055139302, -0.0140357129, -0.0179256946, -0.0171937235, -0.0134698227, 0.0115793152, 0.0284491181, 0.0008825646, -0.0248669963, -0.0389898531, 0.0508203581, -0.0754596367, -0.0172244757, -0.0132986465, -0.0146508068, 0.0147523126, -0.0143623762, 0.0269036274, -0.0298086461, -0.0249279793, -0.0056603611, 0.0721397549, -0.00926854, -0.0634165704, -0.0426167622, 0.0016937759, 0.0123876268, -0.0448055603, 0.0247821491, 0.0504770055, 0.0477434993, 0.0174003243, 0.0078365169, -0.0030216731, 0.034437079, -0.0164391845, -0.0306235421, -0.0480725579, -0.0378723405, -0.0055686114, 0.0460331999, -0.0042949831, -0.0377711989, 0.0730919465, 0.008068284, 0.0250736009, -0.0013105406, -0.0302273408, -0.0315014981, 0.0177800003, -0.0295253433, 0.0440317728, -0.0773982033, -0.0088688685, -0.0160738099, 0.0043567885, 0.0578992367, -0.0233754385, 0.0584744439, -0.0181765016, 0.0230003484, 0.0133229215, -0.0353476964, 0.0055501568, -0.0236425735, -0.0014007798, -0.0025351164, 0.0482546575, 0.0216767881, -0.1192738339, 0.1019300893, 0.0110170329, 0.0326130651, 0.0047977711, -0.0023599239, 0.031932611, 0.0279409699, 0.0060911477, -0.0160782132, -0.0311792511, -0.0081558218, 0.0253081731, 0.056678988, 0.0248495303, -0.0088185389, -0.0075676134, -0.0114173731, 0.0259726532, -0.0282007437, -0.0047563058, -0.0100251213, 0.043070145, -0.0240349304, 0.0264566969, 0.0814446881, 0.0125470152, -0.1287694573, -0.0296539143, 0.0044315136, 0.0016934911, -0.0028213051, 0.0152425496, -0.040560469, -0.0103470264, 0.0367765315, 0.0033540935, 0.0106871249, -0.0232097842, 0.0043881652, -0.0634222999, 0.0398947001, 0.01792375, -0.0427223518, -0.0548705533, -0.0918589607, -0.0014225813, -0.0577086136, -0.0019930687, -0.0097479103, -0.005249273, -0.0007303257, -0.020387046, 0.0167464949, -0.0420712903, 0.0252955705, -0.0294761136, 0.0428004339, -0.0011110735, 0.0160261244, 0.0179870669, 0.0016344647, 0.0658113435, 0.0116969589, -0.0230837073, -0.0289592315, 0.0159761254, 0.0022697637, 0.0206704084, -0.021536354, 0.0317472555, -0.0097970646, 0.024338508, 0.0065592071, 0.107724458, -0.012260939, -0.0345831737, -0.0112989983, -0.0011172894, 0.0095234364, 0.0837625638, 0.0230746865, -0.0562060662, 0.0028287522, -0.0282958876, -0.016819153, 0.0136241494, -0.0343195572, -0.0348335505, -0.0037100206, 0.0538914129, -0.0365998037, 0.0109668961, 0.0184313264, 0.014062739, 0.0386256687, 0.0440741964, -0.0157199018, -0.0338381678, 0.0321886875, -0.0026838745, -0.0636632442, 0.0019098901, -0.0515124239, -0.0022315055, 0.0396929011, 0.0005704687, -0.0588855781, -0.0103286719, -0.0498092547, -0.0643628165, -0.0141014783, 0.0362716168, 0.0186889339, 0.0320809111, -0.0259298682, -0.0742304325, 0.033360742, 0.0375795811, -0.0187640414, -0.0347085185, -0.0112928543, 0.0334790275, -0.0095808106, 0.0364636704, -0.0755345002, 0.0612796545, 0.035944853, -0.0290434267, -0.0518308319, -0.0127503797, -0.0013801751, 0.0509975813, 0.0077456948, 0.0221077148, 0.0329982266, -0.0663469806, 0.0099842455, -0.0168302283, -0.0208247956, -0.02110455, 0.058250457, 0.0243911743, -0.0232269373, -0.0172590502, 0.0485097803, -0.0089027826, 0.0294012036, -0.0602887273, 0.0648557618, 0.0104283364, 0.027162876, 0.0176206417, 0.0100154169, -0.0066528558, 0.0527833402, 0.0434407517, -0.0159114357, -0.0361029916, -0.0161929615, -0.0104134176, 0.0309682954, -0.0257190224, 0.0248458665, -0.0486596785, -0.046795059, -0.0132657569, 0.0090713771, 0.0288235415, -0.0134773413, 0.0601240061, -0.0071922373, -0.0251002945, -0.0110440534, -0.0051047811, 0.0119234547, 0.0460457839, 0.0109082591, 0.0389743596, -0.0133537939, 0.036003314, 0.0605653971, -0.0604373962, -0.0064337086, -0.0290077589, -0.0803935006, -0.0516551919, -0.0526872948, 0.0018236815, 0.0275504645, -0.0244010072, -0.0204123296, -0.0229488928, -0.0267791301, -0.0293448791, -0.0512809157, 0.0292995982, -0.0061716079, 0.0190464314, 0.0546909198, 0.0296059884, 0.068307668, -0.0406436361, -0.0405909829, -0.0120856659, -0.0345367007, -0.0369826145, -6.309460051e-33, 0.0210169572, -0.0117239747, -0.0342809521, -0.0336175188, -0.0052710418, -0.0182281695, -0.0155968806, -0.0166851524, 0.0489936545, 0.0131494161, -0.0104023814, 0.0019870629, 0.0045188311, -0.0004525634, 0.0322935469, 0.0142248962, 0.0989547223, -0.0138305342, -0.028844893, 0.0738254786, 0.0283482186, 0.0159284975, -0.0099245925, -0.0390940346, 0.0223062057, 0.0495524332, -0.0322171338, 0.0006399429, 0.0318319798, 0.085253641, -0.019161677, 0.0343136638, 0.0541780889, -0.0402276777, -0.0078267893, -0.0059040091, -0.0523962714, 0.0123506533, 0.0270694345, -0.0045964355, 0.0305607822, -0.0236966647, 0.0325705558, -0.0052575809, -0.042923294, 0.0226830114, 0.0123142116, -0.021631442, -0.0448621251, -0.0369679667, 0.0107247522, 0.0149738593, -0.0223838538, 0.0470445082, 0.0261910055, 0.0156617109, -0.0199922919, 0.1077611893, -0.0559902079, 0.0354748182, -0.0458116457, 0.0474466383, 0.0058519393, -0.0362467766, -0.0129198376, 0.0666403323, -0.0510135517, -0.0014612909, -0.0158084892, -0.0142344879, -0.0310489479, 0.0167327281, -0.0154936519, 0.0414556339, 0.0427221172, -0.0458200946, -0.0734716058, 0.0265614912, 0.0143290106, 0.0079604257, 0.0520918854, 0.0243378468, -0.0056822537, -0.0067370497, -0.0137623474, -0.0864759535, -0.0603981949, -0.0507020392, 0.0231648758, 0.0264435187, -0.0518661104, -0.0393576361, 0.0224085376, -0.0588343181, -0.0309804641, 0.0319708884, 0.0046849996, -0.0013584935, 0.0503706932, -0.0353983827, -0.062622495, -0.0283178128, 0.0040751835, -0.0202634372, -0.0331975706, -0.0469656587, 0.0286305565, 0.0206727237, -0.0805560201, 0.0253452752, 0.0123652695, -0.0141011858, 0.014479585, 0.0598415732, -0.0123619512, -0.0423069894, 0.0154818259, 0.020309303, 0.0324894413, 0.0297501851, 0.0431208611, -0.021301372, -0.027519485, 0.0151182311, -0.0222856924, -0.0379849374, -0.0208250862, -0.0481259711, 0.0465751961, -0.0609518178, -0.0210252423, -0.0451530777, 2.692e-7, 0.0226176977, 0.0443778895, -0.0338230766, -0.0601993687, 0.0708323121, 0.0165904202, -0.0061143967, 0.0239630491, 0.0173828863, 0.013543522, 0.0298196729, 0.0195535719, 0.0038890224, 0.0263422616, -0.0514944531, 0.0817414075, -0.0925019458, -0.0125236409, -0.0154259037, 0.0029064715, -0.0550210886, 0.0728685558, 0.0275615714, -0.0357884504, -0.0014752182, -0.0602347068, 0.051785931, -0.0228048321, -0.0330837108, 0.0265153367, 0.0574814901, -0.0331961028, -0.0323848501, -0.0585848168, -0.0049201436, -0.0025266143, -0.0035674926, 0.0464665256, 0.0401685275, -0.0027279954, -0.0054744883, -0.0177929737, 0.0136102559, -0.0120613724, 0.0697065815, -0.0126034496, -0.0179247465, -0.0625040531, -0.0139418906, -0.0410817116, 0.0269125216, -0.0079282448, -0.0091948006, 0.0119072217, -0.0194721967, 0.0090056108, -0.0269904621, -0.0354271047, 0.0046599437, -0.0179908071, -0.0365374498, -0.0657969266, -0.0039140931, 0.0066981898, 0.0145624969, -0.0089119459, 0.0343274847, 2.248768677e-34, 0.08826188, -0.021484809, -0.0146514969, -0.0391227938, -0.0217445511, 0.0099460389, -0.0556790493, -0.0288058762, 0.0382713675, -0.0933873504, -0.0025800036 ]
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.0795525536, -0.0025408359, -0.0335339196, 0.0372612253, -0.0161863249, -0.0123893972, -0.0328331217, 0.0489448607, 0.0537193827, -0.0572535917, -0.0348140784, -0.0193093456, -0.0582792647, -0.0101597104, 0.0120187765, -0.0313802771, 0.0439573824, 0.0021223556, 0.0109504322, 0.0017389677, 0.0071115401, 0.0332619324, 0.0421838984, 0.0229460616, 0.0375264958, 0.001104443, -0.0148480618, 0.0055565531, -0.0161922853, -0.0399300493, 0.0269597117, 0.0134167885, 0.0251600146, 0.0595966987, 0.0000017259, -0.036498785, -0.0180320144, 0.0070191268, -0.0163097773, 0.0121519268, 0.0084728617, 0.0384567752, 0.0483490638, 0.0210338924, -0.0653255582, -0.0227282029, 0.0175782256, 0.0377213061, 0.0744601637, 0.0256156884, 0.0077226241, -0.0647244379, 0.0355696045, 0.0032025597, 0.0243451931, -0.0432367511, 0.0376396887, 0.014087419, 0.0517901704, 0.0724761263, 0.031793803, 0.0378741883, -0.012920985, 0.0004360055, 0.0096197817, 0.0108027318, -0.0278683249, 0.0068969242, -0.0019465287, 0.0421765968, 0.0397741571, -0.0210249126, -0.0173983704, 0.0228791703, -0.0113802906, 0.0606439151, -0.0582596809, -0.0144177163, -0.023645876, 0.0096882666, 0.0105053177, -0.0202497616, -0.0018994728, 0.0377363637, -0.0378528088, 0.0911772549, 0.0096848933, -0.0362075679, -0.0010031172, -0.006973526, 0.0109594697, -0.0217526387, 0.0302487053, 0.0852993652, 0.0164319947, -0.0003317341, 0.0291998461, -0.0055125272, 0.0745960101, -0.0691093057, -0.0070170034, 0.0176080987, 0.0031725545, 0.0649436861, -0.0255085416, 0.0437192172, -0.0511311516, -0.050944455, -0.0612522066, -0.0531448387, -0.0539705567, -0.0745247751, -0.0324076228, 0.0668401644, -0.0538273267, -0.0009514299, -0.0014016503, 0.0459393561, 0.0372335166, -0.0224430561, 0.0028700731, 0.0105094695, -0.0168596059, -0.0018147636, -0.0808129683, 0.0349943861, -0.018707931, -0.0173827223, -0.005762463, -0.0344306603, 0.0325877033, 0.0066044144, 0.00447297, -0.0349292755, 0.0307828393, 0.05243247, 0.0191243179, 0.0005008827, -0.0181660559, -0.0644141734, 0.0142163076, -0.0418873839, -0.027634928, -0.0670790672, -0.0098148175, 0.0395314954, -0.0143489055, 0.01079462, 0.0336576626, 0.0581938662, -0.0527653135, 0.0144006256, -0.0337160379, 0.0037028184, 0.0707751215, -0.0018364827, 0.0598209649, 0.0303687993, -0.0225094203, 0.0110093206, 0.0643111393, -0.0051075118, 0.0419549346, 0.0073260707, -0.0082206018, 0.0057898774, 0.0283132009, 0.0755751058, -0.0042916089, -0.0048239543, -0.0232311636, 0.0630055889, -0.0338000841, -0.0277689267, 0.0530204736, 0.0502931625, 0.0242429152, 0.0330685899, -0.0010480217, 0.0134122847, 0.0194888543, -0.0061205048, 0.0066910107, 0.0125089455, -0.0484860502, -0.0065650851, 0.0436186567, 0.0180714186, -0.02388083, -0.0281407684, -0.0042600594, 0.0511794761, -0.0279825479, 0.0259385742, 0.0304331165, -0.0615350083, -0.0046091336, 0.0307258815, 0.0018034137, -0.0414927304, 0.0232255347, -0.0719956979, 0.041124858, 0.0525234975, 0.0519911498, -0.0341555998, -0.0010870529, 0.0123928525, -0.0176583044, 0.0390876643, 0.0087230643, -0.0040926705, -0.0609133393, 0.0015485387, -0.0087520387, 0.0337618664, -0.0227736421, -0.0165832918, 0.0203367956, 0.0260861311, 0.0278260056, -0.0487227291, -0.004908754, 0.0073880455, 0.0394260548, -0.0226832367, -0.0136828404, -0.002301059, 0.0038984329, 0.0633389577, -0.0130798342, 0.0195016228, 0.0429538786, -0.0014081987, -0.0415541381, -0.0630906522, 0.0120027671, 0.0239819475, 0.0462911837, -0.0192291029, 0.0443301387, 0.0324269049, 0.0182802621, -0.026841158, -0.0284064319, -0.0211134776, 0.0459155664, -0.0662030205, -0.0177066196, 0.0079042166, -0.0164702218, -0.0972969308, 0.0609269291, 0.0328611881, 0.0367365181, 0.0057998234, -0.002838545, 0.0266956668, -0.0619305819, -0.0165976919, 0.0657286718, 0.0119106453, 0.031000983, 0.0538131148, -0.0022979514, -0.0455237329, -0.0131033408, -0.0887685791, 0.0022722918, -0.0087437341, 0.0289796237, 0.0218751319, 0.0100931302, 0.0019112821, -0.0214116573, -0.0612728484, -0.0002617564, 0.0647142231, 0.0279908981, 0.0327710733, 0.0206104517, -0.0056720134, -0.054005418, -0.0402585305, 0.0016406282, 0.0183357429, 0.0216189995, -0.012532644, -0.0600153804, -0.028308291, -0.0597119369, 0.0100274049, 0.0092010237, -0.0063605639, -0.0042581153, -0.0629022643, -0.0114372699, 0.0000393297, 0.0508055575, 0.0075154509, 0.007293296, -0.0028058703, -0.0686352625, 0.0220083576, -0.0677909553, -0.0565914921, -0.0198928881, -0.0125586353, 0.0435618386, -0.0211921949, -0.0036298197, -0.0114673441, -0.0411703177, 0.0231234785, 0.0047506006, 0.0230040755, -0.0587759353, -0.0086330585, -0.0131160179, 0.0498614646, 0.0148030594, -0.0523485579, 0.0324387774, -0.0043533188, 0.0163116492, -0.0561380237, -0.0349841118, -0.0318230614, 0.0508879721, -0.019896118, 0.0363215096, -0.0166468937, -0.0125830872, -0.0055536944, 0.0001185555, 0.017426433, -0.080394052, 0.0552356727, 0.002483563, 0.0347592086, -0.0120195644, -0.0358088017, -0.0131949065, -0.0468459427, -0.0284152403, 0.0079446947, 0.0021920498, -0.0267194379, -0.0123634767, 0.027938826, 0.046806965, -0.0164280795, -0.0280095097, -0.0329305828, -0.0123157753, 0.0843943879, 0.0471304953, 0.0016909402, 0.0119949793, 0.029647233, 0.0135684591, 0.0704820603, 0.043131873, -0.0330211781, 0.0261036288, -0.0336972587, 0.0775582194, -0.0430272408, -0.031915538, -0.0033546742, 0.0004428242, -0.0273665171, 0.0145985782, 0.0805654153, 0.0483768135, -0.0583675355, -0.0499056764, -0.0138418935, -0.0018363938, 0.0305801034, 0.0808255374, -0.0568774007, 0.002421539, -0.0181480162, 0.0275969841, -0.0046620118, 0.0127494866, 0.0150451753, -0.1036394984, 0.0561740883, -0.023022281, -0.0213448461, -0.0585236624, -0.0599103533, 0.0022924757, 0.0408305526, -0.0312362574, 0.0695539564, -0.029372571, -0.0036429386, 0.0077308738, -0.0083260294, 0.039236322, 0.0267519522, -0.0206907392, -0.0048536356, 0.0686400533, 0.0168449804, -0.0188585427, -0.0299751163, -0.004610402, -0.0830931216, 0.015490422, -0.0382389091, 0.0220583528, -0.0240241177, 0.0233690329, -0.0507456437, -0.0232566893, -0.0213619936, 0.0393679291, 0.0227879379, 0.095340468, -0.0157802068, 0.0214783791, -0.0710663795, -0.0210184138, -0.0326191336, 0.0504000671, -0.0272552464, -0.0041892594, -0.0512179323, -0.0494469181, 0.0160378125, 0.0348841995, -0.0572512001, -0.0010387878, -0.023142457, 0.0450005941, -0.0417877249, -0.0167063791, 0.0038486607, 0.0015585585, -0.0115387188, 0.0354579501, -0.0318751894, 0.0187926944, -0.0278024636, -0.0094928443, -0.0196632016, 0.0110469786, -0.0514197312, -0.0031682004, 0.0477279797, -0.0677536502, -0.0158719216, -0.0168051887, -0.0063854321, -0.0329831839, -0.0390435457, 0.0164460689, 0.0195304006, -0.0058719655, -0.0021509593, -0.0372265279, 0.0526469313, 0.0225398, -0.0287445057, -0.0019779217, -0.0162618756, 0.0320723914, -0.0209542327, 0.0144839427, -0.0750681832, 0.0102456007, -0.0115243318, 0.0467091538, -0.0149737308, -0.0816409662, 0.0545480438, 0.048661679, 0.0201573297, 0.0349478163, 0.0003551739, 0.0131277638, 0.0004767097, -0.0265446883, -0.0227605496, -0.023108121, -0.0147237629, 0.0052009323, -0.0266174134, 0.0062490916, 0.0101729035, -0.0093191853, 0.0542047843, -0.0615665913, 0.0182167273, 0.0052371011, -0.0188837741, 0.0007008099, -0.002974825, -0.0280471202, -0.0312894844, 0.0021680996, 0.0434352234, -0.020196164, 0.071774669, 0.0109370127, -0.0581791401, -0.0042552012, 0.0211342424, -0.1240575016, -0.0818082988, -0.0323651768, 0.0022645851, 0.0437343568, 0.0082918499, 0.0118323416, -0.030393092, -0.0384312086, -0.0133575331, -0.0442763716, 0.0412012078, 0.0165670384, 0.0239381846, 0.0388917252, -0.0251032803, 0.0236258525, 0.0554054938, -0.0000323856, -0.0022742671, -0.006224873, -0.074393183, 0.0035706095, -0.0074825049, 0.0161602776, 0.0309536532, -0.0054299086, -0.007578861, -0.0254545659, -0.0221867766, -0.0014972236, 0.0237031877, -0.008537869, -0.042649366, 0.0444105528, 0.098846592, 0.0333221257, -0.0715375543, -0.0628945976, 0.0467746742, -0.0841280594, 0.0121116843, -0.0110797808, -6.311794876e-33, -0.003823644, -0.0290713441, 0.0215820652, 0.015906252, -0.0361451767, -0.0145529397, 0.0195752326, -0.0107826469, -0.0492594317, -0.020271888, -0.0227535535, 0.0183600709, -0.0017108679, 0.0057870853, 0.0072672996, -0.0106369639, 0.005472206, -0.022033589, 0.0027282548, 0.037126638, 0.032977622, 0.0059632459, 0.0163745377, -0.0343433693, 0.0028824136, -0.02131317, 0.0110957399, 0.0689922497, -0.0211679097, 0.0598748177, -0.0234075077, 0.0647859946, 0.0379649922, -0.0355080105, 0.0338274054, 0.0185048841, -0.0782372057, -0.0158603247, 0.0115225399, -0.0440587737, -0.0271447469, -0.0124259489, 0.0223825667, -0.0179967452, -0.0165804587, 0.0141377486, 0.0402850136, -0.0032152361, -0.0120665161, -0.043758329, -0.0097644823, 0.0203234851, 0.0076513379, 0.0473392569, 0.0028029962, 0.0403602794, -0.0087171104, 0.0591855273, -0.0291986633, 0.034003295, 0.0197052527, 0.0625366122, 0.013733536, 0.0398129076, 0.0087424135, 0.0325382613, 0.0206228942, -0.0176826641, -0.0288189203, -0.0308296122, -0.0448346175, -0.0009837117, 0.0367952958, 0.0463089459, -0.0196244437, 0.0233849417, -0.0534781441, 0.0349951535, 0.0018758014, 0.0321920626, 0.044726979, 0.0254667569, -0.0290079191, 0.0041166274, -0.0202114265, 0.0208674595, -0.0546783097, -0.0229335725, 0.0146289608, 0.0006107569, -0.0174834002, -0.0068531618, 0.0519818142, -0.0330257267, -0.0325575583, 0.0356446095, -0.0251512993, 0.0008328462, 0.0084971189, 0.0305890627, -0.0198125467, 0.0094516361, -0.0258792341, -0.0314341076, -0.0705239996, -0.0184927508, -0.0683101639, -0.005443973, -0.0504546762, 0.0007601398, 0.0100931777, -0.0051581929, -0.0339603536, -0.0435819142, 0.0186236389, 0.0170923956, 0.0451746956, 0.0386685394, 0.0202053729, 0.0065271603, -0.0336104743, -0.0535811521, 0.0101941414, -0.0265374929, 0.0144647975, 0.0698491186, -0.0241764542, 0.0482496098, -0.0202376805, -0.0561067387, -0.0004654547, 0.0436053947, 2.481e-7, 0.0495266281, 0.0389182605, 0.0138868401, 0.0288227741, 0.0247774273, 0.0001423072, 0.0455910936, 0.0032554055, 0.0833116025, 0.0018457685, -0.0036233033, 0.0196658336, 0.0036251757, 0.0423794687, -0.052452866, 0.0041133869, -0.0382181257, -0.0517081358, -0.0644943863, -0.0074055158, 0.0847392082, 0.0645107925, -0.0432432443, 0.0019065385, -0.0495869592, -0.0439404175, 0.0394166224, -0.01271802, 0.0026643861, -0.0061522345, 0.0194608606, 0.0234244484, 0.0330975801, 0.0178500805, 0.0067725987, 0.0102721322, 0.0182124265, 0.0259064119, 0.0003158694, -0.0297248568, -0.0062844348, -0.0329836085, 0.0440219045, -0.1027131602, 0.0931670293, 0.0083710616, 0.0178687777, 0.021641463, -0.0219723266, -0.0504518934, -0.0345235541, -0.0529562943, -0.0552017279, 0.0271516852, -0.0234572757, 0.031767562, 0.0194653217, -0.0587552153, -0.0026505138, 0.0199553519, -0.0639732331, -0.0451875292, -0.0349536613, 0.0071568224, -0.0112361973, -0.0102287531, 0.0129538756, 2.087586132e-34, 0.0199166518, 0.0003136939, 0.0131377205, 0.0278810877, 0.0198453739, 0.0342550948, -0.0200093873, 0.0250631031, 0.0400446057, -0.129845947, -0.0073280688 ]
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.000019722, 0.1165604517, -0.0110735307, 0.0065274774, -0.0015040247, 0.0243960917, 0.0621729828, 0.0137403002, -0.0145897232, -0.0216136035, -0.0806614012, -0.0288460869, 0.0463471413, 0.0280746184, 0.0204885751, -0.0461667217, 0.0508456193, 0.0541488267, -0.0382343829, -0.0302026607, -0.0080180326, 0.0024595712, -0.0050974675, 0.0559321903, -0.0050537512, -0.026666604, 0.0074996892, 0.0243211053, 0.0216507725, -0.0022540435, 0.0241369251, 0.0357802548, 0.0019180103, 0.0294013545, 0.0000023375, -0.0098910425, 0.0016897141, -0.0094401985, 0.0101418067, -0.0152370417, 0.0215878431, -0.0399209261, 0.0221303459, -0.0053686951, -0.0033332154, -0.0656077415, 0.043786332, 0.0385536812, 0.0203925949, 0.0492689535, -0.0162263233, 0.0206276532, 0.0207054745, -0.0197828636, -0.0517832786, -0.0226466171, -0.0016100405, 0.0079961857, 0.0013677567, -0.0272960793, -0.0330149382, 0.0592818446, 0.0182788093, 0.0563053414, 0.0175631531, 0.0286964811, -0.0006900423, -0.0114493808, -0.0448549651, 0.08704108, -0.0164769981, 0.0291642528, -0.0080519104, -0.0400872938, -0.0066857026, 0.0398873426, -0.0073311664, -0.0310772769, -0.0137292258, 0.0233368371, -0.0306791645, -0.0037010363, 0.0456886664, -0.0163015909, -0.0107523976, 0.0055349101, -0.0154646644, 0.0357697606, -0.0309111122, -0.0104154302, -0.016187543, -0.0519048423, 0.0244702436, 0.0249269679, -0.0489226878, -0.0369912051, -0.0620923862, -0.0771524981, 0.04026521, 0.006055695, 0.0239229091, 0.00191892, -0.0947541669, 0.043839626, -0.0087620122, -0.0364934169, -0.0775952861, 0.106599614, -0.0409804136, 0.0295520872, -0.0475968346, -0.0000695993, 0.031480629, -0.0068498901, -0.0055155703, -0.0329138786, -0.0019640788, 0.008346458, -0.0261341929, -0.0084878067, -0.0182054285, 0.0431395285, -0.0534735732, -0.0082592461, -0.0089131584, 0.0978618041, 0.0300995503, 0.010421901, -0.0107139507, -0.0515592173, 0.0093926433, 0.0320488885, -0.0098884031, -0.0213573985, 0.0030123992, 0.0521425009, -0.0096435407, -0.0118930899, -0.0051929569, -0.0394300334, -0.0188108739, -0.0213359371, 0.0355797336, -0.0395404287, 0.0164624844, 0.0009047008, 0.0180045404, -0.0128518399, -0.0006346371, -0.0191590693, -0.0414781868, 0.100870207, -0.0476008505, -0.0302912258, 0.0146186035, -0.0048223981, 0.025367137, 0.0978167951, -0.0158728901, -0.0380208604, 0.0142417438, -0.0018292421, -0.0314512439, -0.0048946273, 0.0244041421, 0.0137479268, -0.0317316204, -0.0384592675, -0.032951057, 0.0652659759, 0.0286032204, 0.0036525126, 0.013557069, -0.047316961, 0.0271006133, -0.0033048948, 0.0803193152, -0.0149006853, -0.0060853991, -0.0382609591, -0.0372472182, 0.0793104842, -0.0394365378, 0.0309049617, -0.0251298044, -0.03501416, -0.0236550514, 0.0768165737, -0.0239437409, -0.0483822525, -0.0283305552, -0.0239505507, -0.0258021988, 0.0028994444, 0.05365628, 0.003176182, -0.0037795878, 0.0109249325, 0.0387170613, 0.0143423304, -0.0166693553, -0.0245803241, -0.0484810844, 0.0345184617, 0.0525143333, -0.0620008297, -0.063058801, -0.0083257509, 0.0188940968, 0.0147331292, -0.0024801579, 0.0205381624, 0.0633799657, -0.0429959483, -0.0872130468, 0.0433517359, 0.0136005729, -0.0274436269, -0.0977406129, 0.015880106, -0.0198134277, -0.0418261662, 0.0444707386, 0.0285516456, 0.0216535162, 0.0324472152, -0.0030300817, 0.0323963575, 0.0326522179, -0.0225484483, -0.0133888023, 0.0218865667, -0.004162461, -0.0213689636, -0.0801734254, 0.0465211831, -0.0717110336, -0.0372380204, 0.0290611144, -0.048299361, -0.016591128, 0.0124480445, -0.0508107878, 0.0009339689, 0.0029853836, -0.0347048789, 0.0198149215, -0.0047719507, 0.0199747607, 0.0498174131, 0.0373023227, 0.010947302, 0.0244224537, -0.0743061379, -0.0066097486, 0.0296664741, -0.047915969, 0.0331044048, -0.0185735226, 0.0340283439, 0.0367351323, -0.0108150747, 0.0001926896, -0.0368690751, -0.0169785433, -0.0106042009, 0.0295554567, -0.0710579753, -0.0008430923, -0.0141280182, -0.0168968029, 0.0108861439, 0.0550725684, 0.0017398086, -0.0659122244, -0.0144233899, 0.0570496544, 0.0201986078, 0.0402667075, 0.0308550354, 0.0047213291, -0.004155363, -0.0054585938, -0.0074409912, -0.0352421179, 0.0247214567, -0.0102811558, -0.0232105609, -0.0266470257, -0.0411544964, -0.0617517792, 0.0384776592, 0.0024782228, -0.0149839288, -0.0102121336, -0.0063200379, -0.0205125175, 0.0344314426, -0.0024794284, 0.0212462246, 0.0458425917, 0.0030875728, -0.0194295216, 0.0196670126, 0.0014628299, -0.0142400246, 0.0013049098, -0.0244149622, 0.0122970333, 0.0706589296, 0.009461523, -0.0022404266, -0.0250920728, 0.0324852392, -0.0148449447, -0.0334125981, -0.0684520379, 0.053077627, 0.0026086143, 0.0154766487, -0.0130789112, -0.0614546388, 0.0643198118, 0.0178768914, 0.0172013436, -0.0451717414, -0.0081162462, -0.0261580478, -0.0110278949, 0.00065304, 0.0582530685, 0.0120126596, -0.0427900553, -0.057745643, 0.0166488439, 0.0060225958, -0.0058184722, 0.0200257134, -0.020939948, -0.0064913561, -0.0217459947, -0.0096868584, -0.0100632431, -0.0595959201, -0.0229228344, -0.0171896648, -0.0345205069, 0.0344074108, -0.0602452941, -0.0043877447, -0.0100484928, 0.0425668806, 0.0140115842, -0.0203644186, -0.0098605454, 0.0548171103, -0.0029955166, 0.0480310209, -0.009960467, -0.0257701036, -0.0069893878, 0.0667815506, 0.0384426489, 0.0069152205, -0.0071492027, 0.001970463, -0.0085156839, 0.0543163978, -0.0354192592, -0.0049927342, 0.0608024597, -0.0434527211, 0.0556926504, 0.0289623421, -0.0016857227, -0.0592919402, -0.0051883454, -0.035164468, 0.0116329463, -0.0133914733, -0.0313664973, -0.0601397976, -0.0633366853, 0.0025366615, 0.0184659977, 0.0111585679, 0.0016521745, 0.0097079687, -0.0112130558, 0.0524261072, 0.0280856043, -0.0311852377, -0.0512126647, 0.0220089443, 0.0203281138, 0.0026627937, 0.0188724957, -0.0297051128, 0.0011630394, -0.0397564285, 0.0195235144, -0.0334020294, -0.082743898, -0.0461701974, -0.0093540065, 0.0393771827, -0.0008211345, 0.0102444403, -0.0102556776, -0.090046376, -0.0160967633, 0.0585619248, 0.0267316774, -0.0252198931, 0.0705205128, -0.0272526238, -0.0293154176, -0.0245000888, 0.0185041036, 0.001363988, -0.0377966315, -0.0404212587, 0.0628670305, -0.035181284, 0.0071849884, -0.0808917359, 0.0297691897, 0.0532768779, 0.0224561132, -0.0100188116, -0.0239017904, -0.0097881313, 0.0371563062, 0.0748610124, 0.031158451, 0.0103007145, 0.0686317161, -0.0270147119, -0.0510419607, -0.0371863246, -0.0362244472, -0.0200027376, 0.0186490119, 0.0045390585, -0.0020517106, -0.0176254604, -0.0073694172, -0.0269831028, 0.0742814764, -0.0009759883, 0.0344295539, -0.0364916213, 0.007388927, -0.0228890069, -0.0406023636, -0.0132091828, 0.0369579718, -0.0605539754, -0.0053072781, -0.0250898618, -0.0030909493, 0.0044673155, 0.0290069692, -0.0026498926, -0.0206870511, 0.0500295758, 0.0367564149, -0.0474074297, 0.0224478915, 0.0699249655, -0.0933264196, -0.0265993215, 0.0218323972, -0.0064371657, -0.0047392659, 0.0203073584, 0.0121204341, 0.0294953678, -0.0361785404, 0.0059607043, 0.0003953952, 0.0896676555, -0.0436554216, 0.0279911738, -0.0031242273, 0.0117533281, 0.0300010163, 0.0263908226, -0.0240282211, -0.0099465474, 0.0004271231, 0.0029388743, 0.0062159225, 0.0056996965, -0.0263952687, -0.0285987817, -0.012762581, 0.0454358719, 0.0370689221, -0.051337678, 0.0203825254, 0.0075300159, 0.0101155974, 0.0225189067, 0.0212969705, 0.0304347239, 0.0008817586, 0.0868760124, 0.0052935183, 0.0136894062, -0.0382230356, 0.0409544595, -0.0142512992, -0.0460082479, -0.013184892, 0.0246836543, 0.0494530164, -0.0038210719, -0.0081792315, 0.031721361, 0.0080861002, -0.0331198201, 0.0187539179, -0.0223012175, 0.0077504339, 0.0553171337, -0.0210188478, 0.0154533265, 0.0349789113, 0.1098138466, -0.0393329747, 0.036371775, -0.0671812445, -0.0137774218, -0.0508783311, 0.0063627665, 0.1047634929, 0.0566635914, -0.0620133653, 0.0127463834, -0.0291453116, -0.0670300871, 0.0194381867, -0.0208098926, -0.0190070812, 0.0006276303, 0.0225399788, 0.0377639942, 0.0068893102, -0.0499167182, -0.0231853947, 0.0493147112, 0.0158998035, 0.0229401942, 0.0562932678, -6.919965531e-33, -0.0257990286, -0.01272697, -0.0046524238, -0.0505595841, 0.0130175855, 0.0650409162, -0.0065090465, -0.0132322628, 0.0308936555, 0.0263114888, -0.0016560932, 0.0057526701, 0.0080645569, 0.0261676945, 0.0172070712, -0.0157668944, 0.0287457407, 0.0242400505, -0.0097282361, -0.0187268294, 0.0210614372, 0.0236977022, 0.0669904649, -0.1177933142, -0.0082782321, 0.0293899179, -0.0115444707, 0.0152216405, -0.0136429276, 0.031914562, -0.0378377289, 0.0683685094, 0.0335964225, 0.015874872, -0.0332069546, -0.0038139657, -0.0432159007, -0.0036761139, -0.0003667748, 0.036109861, -0.0795938, -0.0066884342, 0.0664678738, -0.0344207399, 0.0291420128, -0.0474040247, 0.0544924773, -0.0192919448, -0.0145433601, 0.051394891, -0.0374501869, 0.0354006439, 0.0029834765, -0.0109556103, -0.0320876613, 0.0371700972, 0.0162680577, -0.0201318562, -0.0505923927, 0.0049585486, -0.0046830084, -0.0120620057, 0.0542029105, 0.0279066451, -0.0256380718, 0.0609834865, 0.0654122904, -0.0578721091, -0.0410986692, 0.0007914871, 0.00333878, 0.0415096283, 0.0210013818, 0.0530375354, 0.0019783166, 0.0083519537, -0.017947359, 0.0217949413, -0.0307869427, 0.0130907195, -0.0132388696, 0.049164366, -0.0056257374, 0.0040567336, 0.0346312895, -0.0067964224, -0.0072367047, -0.031216599, 0.0196542088, 0.0070761559, -0.0051386845, 0.0299695898, 0.0432364009, -0.0217213314, -0.0237068236, -0.0156354252, 0.0773104355, 0.0451088957, -0.0039501251, 0.0009229952, -0.0254141614, 0.0091426065, 0.0618701242, -0.0123238051, 0.043393787, -0.0044868379, 0.0484783724, 0.0204399303, -0.0325700268, -0.044287812, -0.0092184972, -0.0355915129, -0.0234613456, 0.0259218905, 0.0923067182, 0.0002373072, -0.0546585806, 0.0190744177, 0.0161995832, 0.0172949433, -0.0945242122, -0.0629554018, -0.0360939242, 0.0355308242, -0.0170615688, -0.0151650272, -0.0621462688, -0.0585586168, 0.0399419181, -0.0417839289, -0.0298564117, -0.0198708065, 3.136e-7, 0.0532979369, -0.0214710981, -0.0190652329, -0.0764922872, 0.0249542333, 0.0391057432, -0.0533074476, 0.0474545769, -0.0003992672, -0.0214004628, 0.0350762047, 0.001504375, 0.0064964606, 0.0249249339, 0.0229658093, 0.0110142538, -0.0128863575, 0.0328421444, -0.0146424714, -0.0397164077, -0.0000663457, 0.0429161005, -0.0111123947, -0.07980299, 0.0598779619, -0.0075339344, 0.0258157998, -0.0210217405, -0.0317993797, -0.0338343494, 0.0320170298, 0.0504249856, 0.0178094655, 0.0170627087, -0.001564251, -0.0261036158, 0.0520721599, 0.0134180523, -0.0627379417, 0.0098517602, -0.0419111215, 0.0345626287, -0.0164600071, 0.0036966209, 0.0649459362, -0.0425285883, -0.0344840698, -0.0288401712, -0.0080300439, 0.0104265353, 0.0866682231, 0.0171928871, -0.0736028031, 0.0290775765, 0.0209780801, 0.0127080288, -0.0715699494, -0.0702520683, -0.0134706665, 0.0176841486, -0.0541729964, -0.027021138, -0.0056760632, 0.0130026992, 0.0492774807, -0.0776994452, -0.0576649792, 2.627217247e-34, 0.0142851537, 0.0069611552, 0.0316479355, -0.0516252927, -0.0066038258, -0.038517952, -0.0048572738, 0.0158115681, 0.0082862992, 0.0170580558, 0.0073336815 ]
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.007864547, -0.023877034, 0.0245717205, 0.0292794444, 0.0133769698, 0.0171702933, -0.0538638048, -0.0085816011, -0.022994468, -0.0599845499, -0.0379550382, -0.045007024, 0.0236586016, 0.0398430452, -0.0317838527, -0.1029816791, 0.0210178923, -0.0076411976, 0.0173582863, 0.0749227181, 0.0416042097, -0.0115334811, 0.0093778037, 0.0332302824, -0.0463496931, -0.0739354864, -0.0475038178, 0.0401474871, -0.0075961608, -0.0596205369, -0.0009166923, 0.034242969, -0.0063491534, 0.066854313, 0.0000019311, -0.0151321068, -0.0426606573, 0.0548201427, -0.0314029045, 0.0089768097, 0.0393538661, -0.0356879309, -0.0245943591, -0.0196328424, -0.0116168223, -0.0187085792, 0.0441186056, 0.0428190678, 0.0859127641, 0.0715653747, -0.0203910861, -0.0317574553, 0.0743668675, -0.0113982763, 0.0266919993, -0.0306293033, -0.0340452716, 0.001647535, -0.0239677224, -0.0021300325, -0.0052370853, -0.0048576999, 0.012840664, -0.0529479012, 0.0421924852, 0.0102386605, -0.0335749947, -0.0132322321, -0.0090315957, 0.0626906753, 0.0001060306, 0.0298621655, 0.0001288641, -0.0162068978, -0.0071638268, 0.0031652909, -0.0572311357, 0.0194244664, -0.0418760926, -0.0116542736, 0.0502857268, -0.0111292778, 0.0126620764, -0.0179963578, 0.050911922, 0.073515147, -0.0118478052, -0.0525019281, 0.0233192071, 0.014720194, -0.0280882996, -0.0617505796, 0.0188175067, -0.0142536201, -0.0112729706, -0.0143196611, -0.0355875008, -0.0758556649, 0.0231666472, -0.060150113, 0.0630599856, -0.0209792089, -0.0246908348, 0.0486705191, -0.0079235835, 0.0380248576, 0.0031891603, 0.0212205946, -0.0205318015, 0.0227245949, -0.074380368, -0.011691168, -0.042009946, 0.0101323398, -0.0658674315, -0.0298325028, 0.0221383125, 0.0089433352, -0.0146417869, 0.0190051701, 0.0529619902, -0.0269557741, -0.0092863748, 0.0071570734, 0.002717098, 0.0534392484, -0.0225308537, -0.0246492233, 0.0393062681, 0.0052096369, 0.0072934334, 0.0291010346, 0.0250759088, -0.0378705114, -0.0382083282, 0.0039273431, 0.0084309196, 0.0140057439, -0.0216578227, -0.0164658483, 0.03454189, 0.0138721997, 0.0571967177, -0.0405692421, -0.0054250248, -0.017349055, 0.0072709601, 0.0086196186, -0.007987285, 0.0209252536, 0.0134993643, 0.0611599833, -0.0306558758, -0.015797507, 0.0424091145, -0.0137794092, -0.0144436127, 0.0520593338, 0.0113282977, 0.0338045917, 0.0398969799, -0.00275798, 0.018179765, 0.0331689604, -0.0309607778, -0.0238904245, 0.0383093134, 0.0093844589, -0.0359211341, 0.0094900979, 0.0321320258, -0.0137091875, -0.0351946354, -0.0176958628, 0.0014356085, 0.0092395293, 0.0518151149, -0.0391642749, 0.0242780019, 0.0262995046, 0.0218943898, 0.0108244978, -0.0519914664, 0.0002777717, -0.0329473354, 0.0301735401, -0.047515206, -0.0571518727, 0.0196132045, -0.0123992236, -0.0268544611, 0.0037048261, 0.0035727844, -0.0450122245, 0.0286496263, 0.0325705558, -0.0253822114, 0.0199657045, -0.0032569941, -0.0610089414, -0.0299227275, 0.0101255486, 0.003731335, 0.0368929282, 0.0229644794, -0.0731517896, -0.0138046248, -0.0094510298, 0.012913716, 0.007299298, 0.0480230525, -0.0488043688, 0.0388795324, -0.0125613715, -0.0367629677, -0.0110627571, 0.0229740776, -0.0228336062, -0.0614981055, -0.0601954944, 0.0137812924, -0.0443823226, -0.0209854189, 0.0566401482, 0.0500107892, -0.0148447743, -0.019394407, 0.0150828129, 0.0157775432, 0.0357117578, -0.008547591, 0.0289385524, -0.0132704852, -0.0104115354, 0.0336045995, -0.0504274853, -0.0206931699, -0.0406728834, 0.0123416958, -0.0194222983, -0.0364211686, 0.0036355145, -0.0632434487, -0.0353488475, -0.0496544875, -0.0319237486, 0.0418073125, -0.0418210737, 0.0222525243, 0.0092798695, -0.0478659384, -0.0308059417, 0.0725391954, 0.0027185825, -0.0091709513, -0.0360803232, 0.0073615578, 0.0467122607, -0.0119767068, -0.0271641351, -0.014986516, -0.0133604929, -0.0312374402, -0.0011676972, 0.031120168, -0.0773918554, -0.0046507362, -0.0555013493, -0.0018789541, -0.0350272171, 0.0803888589, 0.0465557911, 0.0019395322, 0.0155258179, -0.0315989964, -0.0418511145, -0.0195386335, -0.030502947, 0.0053900937, 0.0451325811, 0.0068820752, -0.0140103782, -0.0389047973, -0.020234406, -0.0322038829, 0.0389976837, 0.0537254289, -0.0621063411, -0.0029914146, 0.0009708281, 0.0144666396, 0.0124463243, 0.0266384315, -0.0011737226, 0.0120017054, -0.0597483218, -0.0127752451, 0.0811309442, -0.0075608133, -0.0012403245, -0.0111001879, 0.0017844861, -0.0167333186, -0.0003012943, 0.026467815, 0.0711444765, -0.0538031198, -0.0407429487, 0.0330449715, 0.0987591818, -0.0565650836, 0.0332024544, -0.0042905579, -0.0199917872, -0.0137826335, -0.0018314365, -0.0101569621, -0.0274319705, -0.0074750273, 0.0337131657, -0.0356590971, -0.0355753452, 0.0454186201, -0.0802524909, -0.0423335619, 0.0097861504, 0.0393925905, -0.0364854224, 0.0972886756, 0.0335644484, -0.014686428, 0.0174288359, -0.075035952, -0.0067304913, 0.0662589818, 0.0714802593, -0.0152028129, 0.0125663206, -0.0192908291, 0.031252943, -0.0504494756, -0.0045486991, 0.0120286299, -0.0189865567, 0.0019123866, 0.0284837801, -0.0267318264, -0.0210249182, 0.0077945064, 0.0360828526, -0.0188016258, 0.0823498666, -0.0037426206, -0.0199269168, 0.0018792741, 0.0635262951, 0.0261254311, -0.0001662115, 0.015638208, -0.0298286136, 0.0496423431, 0.03984477, -0.0151763065, 0.0158299282, -0.0056187869, -0.0037157335, -0.0314983353, -0.040504884, -0.0507543571, -0.0048911897, 0.0443588421, -0.1195521578, -0.0033763146, 0.0802633166, 0.0549887232, -0.0244103894, -0.0252977815, -0.0596195012, 0.0576266423, 0.0348972119, 0.0126046771, -0.0822289884, -0.0103195608, 0.0498024039, 0.030747233, 0.0159556847, -0.0616106391, 0.0598955713, -0.0673842803, 0.0431870855, -0.0170985851, -0.0310782325, 0.01251298, -0.0177147947, -0.0036670512, 0.0169800334, -0.0278927367, 0.0200240146, -0.025478106, -0.0160045028, 0.0175847039, -0.0836675093, 0.0086742761, -0.0023729147, -0.0232619364, -0.007263754, 0.1053775325, 0.011957068, 0.0303604323, -0.0160789471, 0.0563820899, -0.0050173141, 0.0015747448, -0.0344265103, 0.0315053351, 0.022823995, 0.0039352877, 0.0005639836, -0.0008900782, 0.0073409565, 0.0016086961, 0.0099868998, 0.0430997126, -0.0354837179, 0.0118438127, 0.0030942012, -0.0512219258, 0.0074483282, 0.0405142047, 0.0611979514, 0.0080488035, -0.0763780847, -0.0897142142, 0.0230349246, -0.0347438827, -0.0116019472, 0.0629636273, -0.0251372568, 4.938e-7, -0.0749765858, -0.0562762395, 0.0147499563, 0.0203967541, -0.0369633213, -0.0274628419, 0.0130937845, -0.0250024423, 0.0100840116, 0.0515125915, 0.0250068251, 0.0220654365, -0.0086351112, -0.0031225511, -0.0366763063, 0.0238330141, -0.049018126, -0.0159010459, -0.0401118696, 0.0260051955, 0.0040897811, 0.0385649912, 0.0131118, 0.0260469392, -0.0229284018, -0.0471746027, -0.0494220108, -0.0251335334, -0.0154429208, -0.0329955928, 0.0316770487, -0.0224638693, 0.0004883846, 0.0172939301, -0.0305683594, 0.0144254491, -0.0016572918, 0.0806323886, 0.0258005522, 0.0401604213, 0.0335363597, 0.0490252078, 0.0320006013, 0.0212022532, 0.0204176195, -0.0152161773, 0.0245424528, -0.04519042, -0.0241429899, -0.053567715, 0.0265761539, 0.0003628634, -0.0075325863, 0.0189151801, 0.0394794606, 0.0047717267, 0.0600456633, -0.06949462, 0.0658978745, 0.090061903, 0.0538699813, -0.0330162086, -0.004612946, 0.0127197215, -0.0438470803, 0.0382154733, 0.0465018414, -0.007933489, 0.0608902387, 0.0053593754, 0.0099056521, -0.0081466576, 0.0066352151, -0.0411197171, -0.0242060721, -0.0528735183, -0.012636086, 0.0003254501, -0.0138621265, 0.0737239122, -0.0087163374, -0.0030698769, -0.0048036901, 0.0263679549, 0.05731472, -0.0457141064, 0.0204914454, 0.0174660552, -0.0071836212, -0.0283155236, 0.0538325347, 0.0152140558, 0.0021986454, -0.0315951928, -0.0285385735, -0.0419153608, -0.0082397107, -0.0320785008, 0.037684653, -0.0191088952, -0.0121557852, -0.0388547964, -0.0055248863, 0.0349317901, 0.0214491524, 0.0071793841, 0.0530370399, 0.0366846137, 0.0201040711, -0.0234365407, -0.0601121783, -0.0119432118, -0.0069276667, -0.0188727565, -0.0099744713, -0.0387213901, -5.412315415e-33, -0.0459007658, 0.0166980438, -0.0213763379, 0.0373887159, -0.0514101349, 0.0397821479, -0.0740772635, -0.005157717, 0.0165627357, 0.0419878103, -0.0020213665, -0.0074822102, 0.0219114851, 0.0447168946, 0.0306050889, -0.0137358597, 0.0291986875, -0.0255769584, -0.0329027213, 0.00549783, 0.0082749669, 0.0303353798, 0.0668977648, -0.0983771831, 0.0406773426, 0.0090197986, -0.0268329773, 0.0253790822, 0.0343638361, 0.0650292337, 0.0295916814, -0.0384655893, 0.0226059966, -0.0444886908, -0.0304508321, 0.032553032, -0.1015910134, 0.0388259813, -0.0282964483, -0.0009690907, -0.0577071309, 0.0177262928, 0.0187750347, -0.0099525461, 0.0521824099, -0.0309482682, 0.0380107462, -0.042872373, -0.0118888533, -0.0347309746, -0.0553072803, 0.0483456291, -0.0205154866, 0.0055043488, 0.0281206686, 0.0365413763, 0.0259456858, 0.0117995413, -0.0287787765, -0.0251106471, -0.0169585254, 0.0398034081, 0.022528844, 0.0244758651, 0.0326851942, 0.0501922704, 0.0424928516, 0.0048198309, -0.0228446368, 0.0386802964, 0.0173599441, 0.0569356605, 0.00727406, 0.0002667977, 0.0225045327, 0.0348644406, -0.0356067978, 0.0302952938, -0.0003958039, 0.0468856096, -0.0602211691, 0.0083321305, 0.0079161916, 0.0098506315, -0.0299863294, -0.0456645228, -0.0186640043, 0.011348526, 0.0130945295, 0.0023976816, 0.0249787271, 0.0185267404, 0.0315728746, 0.0010020802, -0.0140389418, -0.0010169355, 0.0024884613, 0.1011505276, -0.0145424232, -0.0290713366, 0.0195674356, -0.0113891326, 0.0105892196, -0.0132704759, 0.0295625031, -0.0249494202, 0.0690516233, -0.0105151339, -0.0451206639, 0.0102157099, -0.0246260688, -0.0139751118, -0.0489975847, 0.0862714648, 0.0500651784, -0.0352152176, -0.0369383991, 0.0569807068, -0.0028542986, 0.0499372333, -0.0411343239, -0.0431890078, 0.0086096814, 0.0060397116, -0.0233727042, -0.0243437309, 0.0004818538, -0.0545075275, 0.0421551429, -0.0150915068, 0.0268655345, 0.0168135688, 2.32e-7, 0.0881016403, 0.0394739546, 0.0598943457, -0.0334858038, 0.0477928333, 0.0201838054, -0.0099932877, -0.0087064784, -0.0221601613, -0.0389918201, 0.0045579891, -0.0586924851, 0.0508907139, 0.0331723168, -0.0779753253, -0.0201042686, -0.1129094884, -0.023199087, -0.0394205526, -0.0045441575, 0.015525504, 0.0605753176, -0.0432332419, -0.0232548956, 0.0130658355, 0.000577636, 0.0225200746, 0.0000208829, 0.0485389978, 0.0183353871, -0.0106619885, -0.0426495224, 0.0037314452, 0.0007252018, -0.0222947206, 0.0038444467, 0.0351736024, 0.0747661889, -0.0338205025, 0.0324422531, 0.0134000946, -0.0277669579, 0.0316270031, -0.0157883, 0.0162029844, 0.0205175783, -0.0007305921, -0.0378761068, -0.0544779599, 0.0243931152, -0.0170066822, 0.0281501357, 0.0214734524, 0.055109296, 0.0083845789, -0.0527870134, -0.0014790472, -0.0382308699, -0.0837025642, 0.0169138964, 0.0128565431, -0.0084324488, -0.037790101, 0.0376588888, -0.0067474693, -0.005098816, -0.0628296733, 2.243128371e-34, 0.0215776265, -0.0209058914, 0.025214009, 0.0494019613, 0.0371569991, 0.0089701945, 0.0209006201, 0.0062368093, -0.0109320385, -0.0740666762, 0.0146905342 ]
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.0345244482, -0.0204933584, -0.0505174436, 0.0429382436, -0.014805655, 0.0020407557, 0.0119651183, 0.0084457779, 0.0770716518, -0.058745034, -0.0268966127, -0.002571173, -0.0137865581, 0.0314412341, -0.0231710337, -0.0638838261, 0.0266202372, -0.057580363, -0.0152057568, 0.0280169006, 0.003443382, 0.0340752639, -0.0382086448, 0.0580842644, -0.0172653049, -0.0322981738, -0.0309546217, 0.0014466906, -0.0214056931, -0.0363338031, -0.0660288036, 0.0175155029, 0.0206302796, 0.0298037138, 0.0000021296, -0.0762389377, 0.0227650292, -0.0088378396, -0.0359661356, -0.0220501479, 0.0362570211, 0.0647685379, -0.0235485081, -0.0004776049, -0.0276253894, 0.0131613929, 0.0370273367, 0.0010562569, 0.0745711103, -0.0016015864, -0.0129097467, 0.0030450816, 0.0116535695, 0.037193846, 0.0374347791, -0.0220588036, 0.0026922477, -0.004032589, 0.0714568645, -0.006529998, 0.0515504628, 0.01671765, 0.0033538407, -0.0294981375, -0.0077810572, 0.013320202, -0.0212919004, -0.039270822, -0.0282544792, 0.0502876118, 0.0414149053, 0.0174167883, 0.0281111635, 0.0157224759, 0.0176364612, 0.0530687608, -0.0185453966, -0.0120057529, -0.0318035111, -0.0425551198, 0.0242631026, 0.006592256, 0.0189080499, 0.0137177557, -0.0005971313, 0.0745621324, 0.0118002659, -0.0102680372, 0.004755456, -0.0336873643, -0.0017002292, -0.0649249852, 0.0243607629, 0.0805994794, -0.0635700598, 0.0425903648, -0.0286204554, -0.0095732473, 0.0123109277, -0.072434999, 0.0209767558, 0.0600498356, -0.0134498728, 0.0513042174, -0.0038749683, 0.0406023338, -0.0115105389, -0.020733377, -0.0274788123, -0.0337849259, -0.0381053537, -0.0297746193, -0.0501495078, 0.0204926692, -0.0561982319, 0.0022197396, -0.0189397838, 0.0938150436, 0.007851352, 0.0443559103, 0.0005507335, -0.0105707338, -0.027090542, -0.0046976758, -0.0626674369, -0.0113387695, -0.0413385816, -0.0001208055, -0.0014543037, -0.0558065772, 0.0550229475, 0.0116205765, -0.0034919609, 0.0058888658, -0.0407186449, 0.103797853, 0.0001848629, 0.042539008, -0.0573906042, -0.0568108894, -0.0017888036, -0.0151526593, -0.0476535633, -0.0681460053, 0.0199619569, 0.0338295586, -0.0269090235, -0.0344892889, 0.0194422957, 0.0466873199, 0.0221214704, 0.0736838877, -0.0243112687, 0.0145707326, 0.0585192405, 0.0180964898, -0.0401537754, 0.0175092686, 0.066012226, 0.0572279394, 0.0241037607, -0.008862732, 0.0080756349, 0.0526435822, -0.0696981549, -0.0185559839, -0.0214675684, 0.0098054232, 0.0130101554, 0.0142535409, -0.0679915026, 0.0054521775, -0.0065595568, 0.0272806175, 0.050658565, 0.1101955026, 0.003792329, 0.0215051007, 0.0198535305, 0.0086531537, -0.0222737473, -0.02930847, -0.0241035633, 0.0377977528, -0.0066068922, -0.0136887608, -0.0084442152, 0.014955448, 0.0110716093, -0.0670003146, -0.0130431466, 0.0126713905, 0.0030519653, 0.0017721818, 0.0178787056, -0.0046657971, 0.013858391, 0.0252251197, 0.0163724255, -0.0347915515, -0.0116205523, -0.0589297302, 0.0328615904, 0.1486413628, 0.0341925099, -0.0367469713, -0.0214565955, 0.0042640492, 0.0094485832, 0.0413558744, 0.0150471264, -0.0183377974, -0.0223320369, -0.0102179833, -0.0231837537, 0.0172530282, -0.0061367149, 0.0485927202, -0.0577459186, -0.0174795724, -0.0099102333, -0.0029035546, -0.0166236851, 0.009039022, -0.0230142865, -0.0546725839, -0.0082624573, 0.0434798338, 0.0125209671, 0.0202948581, 0.0174265467, -0.0136375679, 0.0153566794, -0.0353676639, -0.0030432332, 0.0155555429, -0.0029262342, 0.0307655782, 0.0361902192, 0.0126248822, -0.0060711182, -0.0139586274, -0.0084701879, -0.0269771293, 0.0003898648, -0.0042178477, 0.0258211084, -0.0163291562, 0.0059841126, 0.0010402204, -0.037250679, -0.0311260782, 0.0516153425, 0.0199865904, -0.0314260013, 0.0459507033, 0.0175440963, 0.022827005, -0.0333540253, -0.0033168052, 0.0101370346, 0.0143609149, 0.0094393734, 0.0056705019, 0.0081668906, 0.0021676286, -0.003205172, -0.0914296806, 0.0046993247, -0.0099282591, -0.0006300767, 0.0288331471, 0.0484852158, -0.0237194002, -0.042328652, -0.0154788177, 0.01947085, 0.0167705826, 0.002896914, 0.0514092296, 0.0284236092, -0.0275753215, -0.0192982443, 0.0226390418, -0.0437404029, -0.0081132865, 0.0163728856, -0.0379700437, -0.0780479237, -0.0172032118, -0.0243659113, 0.0244898666, 0.0042813569, -0.0166701712, 0.0253942721, -0.0141441822, 0.0154131949, 0.0537593812, -0.0149339801, 0.0276067629, 0.0481621884, -0.0310166851, -0.0616995394, 0.0292609949, 0.0026660475, 0.0114017688, -0.0540737696, -0.0144410515, 0.0467917547, 0.0539260507, -0.0015034335, 0.0295083597, -0.032618463, 0.0241959356, -0.0085647758, -0.0105697466, -0.0157920048, -0.0276122205, -0.0364175886, 0.0975714996, 0.0018584146, -0.0315785483, 0.0705415457, -0.0463857539, -0.0007910355, -0.0074678729, -0.064672552, -0.0289652385, 0.0770424306, -0.0322936177, 0.014436855, -0.0112868678, -0.0343701877, -0.025906112, 0.0119663645, 0.0119489245, -0.0344818011, 0.0135095371, -0.0665879995, -0.0013474224, 0.0148205953, -0.0405870639, -0.025546886, 0.0044755396, -0.0513039865, -0.0444418192, -0.0190967433, -0.0057590189, -0.0277311616, 0.0218197871, -0.0020856315, 0.0554752052, 0.0135431346, -0.0291692857, -0.0288354587, -0.0336034484, 0.0156736691, 0.0676911771, -0.0522062257, 0.0249116588, 0.0676220134, 0.0264206771, 0.0010217216, -0.0369475745, -0.0169380121, -0.0125894751, 0.0622404143, -0.0484466106, -0.0216579288, 0.0451277122, -0.0019690022, -0.0788797066, 0.0148093812, 0.1257939488, 0.0327896588, -0.0419517569, 0.0076603466, -0.0538011864, 0.0170083418, 0.047921285, 0.0723060519, -0.0917931721, -0.0462780222, 0.0025483801, 0.0127769625, 0.0223881137, -0.0196630415, -0.0115230288, -0.0734544992, 0.0276196674, -0.0119571732, -0.0027131299, 0.0405803025, -0.0294281971, 0.0280105975, 0.0134684397, -0.007787121, -0.0055268849, -0.0046466929, -0.024385076, -0.0032871987, -0.0188493766, 0.0016460762, 0.0073252767, 0.0020203532, 0.0282042343, 0.0645310581, 0.059180785, 0.0344745256, -0.0424609482, 0.0126999728, 0.0403456576, 0.0381831564, -0.0467918888, 0.001053691, -0.0063005937, 0.0145811774, -0.0422428697, 0.0376602858, -0.0281957127, -0.0221467912, 0.0529092178, 0.0907949582, -0.0546158589, 0.0648745, -0.0369531959, -0.0234885048, 0.0184003394, 0.0439210162, -0.0038683871, -0.0555057935, -0.0407549962, -0.0806630924, -0.0368269794, 0.0178328864, -0.0632129461, 0.026566796, -0.0332498141, -0.0388826691, -0.046982754, -0.0254289787, 0.0293276198, 0.0425472856, 0.0555493906, 0.0055841655, 0.0161755309, 0.0264482442, -0.0001484177, 0.0062763309, -0.0260001551, 0.0314477161, -0.0091448221, 0.0106844865, 0.0404094271, -0.082485497, 0.0021909825, 0.0042689084, 0.0231700018, -0.0505137891, -0.0139075089, 0.0421257578, 0.0274750311, 0.0431440398, -0.0213443525, -0.0564266518, -0.00391356, 0.0088699898, -0.0661348403, -0.0389107279, -0.0173443574, 0.0763204619, 0.0091743618, 0.011185253, -0.0988408774, -0.0006274455, -0.0556837171, 0.0054910285, -0.0651128739, -0.048950877, 0.0309840087, 0.0556908064, 0.0239813346, -0.0124802208, -0.0031196501, -0.0100503825, 0.0532406345, -0.0142429732, -0.0520214401, -0.0271664876, 0.0328342877, -0.0348273963, -0.0214461349, 0.0416853987, -0.0059708962, -0.0060793646, 0.0173993185, -0.0285259001, 0.0327282622, 0.015434036, 0.0158484112, -0.0009466096, 0.0410966203, -0.0089189569, 0.0393106639, 0.0275906529, 0.0608803481, -0.021950217, 0.0678788945, 0.0048757945, -0.0213549584, -0.014227096, 0.0269900411, -0.0452420935, -0.0704814717, 0.0435783528, 0.0336533785, -0.0117004635, 0.0210089013, 0.0102848141, -0.0506879389, 0.01841042, 0.0027474172, 0.0074199899, 0.0332496241, -0.0251008142, -0.007957533, 0.0064053722, 0.0029015574, -0.0494303331, 0.0165992063, -0.0542028286, 0.0064894459, -0.0049580722, -0.0758783519, -0.046244815, -0.0300048664, 0.0029219475, 0.0370748751, -0.0374468565, -0.0516170897, -0.0779282972, -0.0228402615, -0.0364188179, 0.0335218012, -0.0348600037, -0.0648041889, 0.0418860279, 0.0367497951, 0.0373731591, -0.0410954468, -0.031508185, 0.0005812797, -0.0791367888, -0.0031354211, -0.0180064775, -5.157313222e-33, -0.0380845144, -0.0326136351, 0.0455088466, 0.0341367088, 0.005915035, -0.0616800673, -0.0039232443, 0.0109284092, 0.0055598794, -0.0330010988, 0.0058394009, -0.0378057137, 0.0132760014, -0.0057885507, 0.0108784009, -0.0032592078, 0.0399031118, 0.0205907542, -0.0397410803, 0.0299876705, 0.0522811525, -0.0022850167, -0.004177792, -0.093893677, 0.0171062257, 0.005141669, 0.0257036816, 0.0476250872, -0.0050338181, 0.0441915989, -0.0262796879, 0.061500717, 0.0094432151, -0.0053768456, 0.0206444189, 0.073658593, -0.0315693952, -0.0484772213, 0.039300628, 0.0503567159, -0.0108593414, -0.0295329094, 0.0098746447, 0.0137783643, -0.0212871488, 0.0506266914, 0.0515490249, -0.0255524907, -0.0168178156, -0.0186401624, -0.0684815645, 0.0160945095, -0.0150591312, -0.0289667323, -0.003317124, 0.0557239763, -0.0017622258, 0.0055147647, -0.0343077481, -0.0082297716, -0.011206842, -0.0083362507, 0.088625215, 0.0542385094, 0.0028178426, 0.0404119641, 0.0111529222, 0.0308180507, -0.0491177104, 0.0210009404, -0.0124150347, 0.0514629818, 0.0065641808, 0.0245671812, -0.0000292241, -0.0137281567, -0.0216570031, 0.0501597151, 0.0632541329, 0.0260882936, 0.0124816876, 0.0493827797, -0.021706365, 0.017033264, -0.0480719171, 0.0422131978, -0.0250696614, -0.0559812114, 0.0390163064, -0.0341552161, 0.000872154, -0.0291732289, -0.0078048864, 0.007195625, -0.034473002, -0.0414130464, 0.0102104386, 0.004141896, -0.0112516163, 0.0229879394, 0.0138202943, -0.0038397021, -0.0353943855, -0.0171303805, 0.0512403548, 0.0174472183, -0.0448704138, 0.0291417576, -0.0351010859, 0.007217668, -0.0310520157, 0.0116410293, 0.0009130526, 0.0137366466, 0.0505280159, -0.0374780633, -0.0212879553, 0.0463355891, -0.0220748745, -0.0312018003, -0.007443273, -0.0431354009, 0.002032456, -0.0466081947, -0.0435846858, -0.0308966786, -0.0380497873, 0.0371358171, 0.0252896789, -0.0299702585, -0.0008396482, 0.0273326598, 2.872e-7, -0.0012104802, 0.0233914349, -0.0127527034, 0.0220588688, 0.0284450259, 0.0358930752, 0.009602556, 0.0129551673, 0.0044476609, -0.025499329, -0.0029953464, 0.0141201131, 0.0478082895, 0.0487102047, -0.0918320566, -0.0339370482, -0.0032056703, 0.0081005478, -0.094395332, 0.0693888664, 0.0775690526, 0.0313907079, 0.0051811798, 0.0139964232, 0.0117345043, -0.0474358946, -0.0133793382, -0.0537667461, 0.0338898487, 0.0146413203, 0.0100365924, 0.0253765881, -0.0005587919, 0.0199834574, -0.0033116364, 0.0243783519, -0.0324820429, 0.0382209718, -0.0192353223, -0.0047393553, -0.0024101126, -0.0356653519, 0.0191310868, -0.0245686304, 0.0358984694, -0.030203538, -0.0283359624, 0.0020855849, 0.0168179739, -0.0320741683, -0.0583170131, -0.0178563166, -0.0054178629, 0.0083716046, -0.0033940934, -0.0261390246, -0.0203961711, -0.0417616516, -0.0020966043, 0.0173140951, -0.0537658893, -0.0326157399, -0.0840796381, 0.0271145497, 0.0099288048, -0.0479444265, 0.0074573806, 2.457521321e-34, -0.029023461, 0.0137642417, -0.0056801955, 0.0721783936, 0.0626291931, 0.0524889193, 0.0209538806, 0.0380121954, 0.0843004063, -0.0743080974, -0.0282098297 ]
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.0181507375, 0.0566054061, -0.0247708764, -0.0581621341, -0.0122216092, 0.0024004476, -0.0002361561, 0.0462409183, -0.044353839, 0.0315726846, 0.0467245951, -0.065525651, 0.0498499759, 0.0544695929, -0.0123518109, -0.0378717892, 0.0150452061, 0.0107950009, 0.0369972512, 0.0166963227, -0.0580719598, -0.0401582532, -0.0258433819, 0.0593666807, -0.0204122011, 0.0460032187, 0.0314997733, 0.007347926, 0.0378645547, -0.0865535662, -0.0255855713, -0.0029680084, -0.009920394, -0.0197033063, 0.0000020146, -0.0558824651, -0.0053772954, -0.0011546214, -0.0483080298, -0.0847392604, 0.0006223442, -0.064739123, -0.0009573844, -0.0000381243, -0.0354230069, -0.0267687533, 0.0412232541, 0.019852126, 0.0209103469, 0.0282955915, -0.014381391, -0.0014654201, 0.0298508871, -0.0413519554, 0.0123630324, -0.0449334383, 0.0146277603, -0.0351614915, 0.0126878247, -0.0395191796, 0.0180633906, 0.0503123365, 0.0459718592, 0.0256576706, 0.0009884221, 0.0524743162, 0.016509477, -0.0383807942, -0.0306683388, 0.0284601599, -0.0295906607, -0.0020133622, -0.0162977558, -0.0071282843, 0.0071182586, -0.056251362, -0.0091647496, -0.014720764, -0.026582215, -0.011858522, -0.0087188818, 0.0495653339, 0.0486307442, -0.0267148018, -0.0172517467, -0.0052563963, -0.0209371056, -0.0327397212, -0.0071014604, 0.0032063562, -0.0216483008, -0.013171969, 0.0062088994, 0.0560178049, -0.0654593185, 0.0045853611, 0.0121390102, -0.027704278, 0.0419080034, -0.0623744652, 0.006482332, 0.0038473934, 0.033802662, -0.0170219429, -0.0077066426, 0.0043156627, -0.02382393, 0.0543921031, -0.0722480193, 0.016404286, -0.0223062187, 0.011536357, -0.0191503763, 0.0027628462, 0.0548084825, 0.0264803525, -0.0674768612, -0.0201208871, -0.0298390798, 0.03968798, 0.0493484363, 0.0655566081, -0.0120861176, 0.0132191889, -0.0557627529, -0.014032769, -0.0092021078, 0.0000216425, -0.0024739229, 0.0112874387, 0.0381045304, 0.0097562503, -0.045914162, 0.024108151, -0.0008254595, 0.0605627373, 0.0220119879, 0.0071177036, -0.0101063885, -0.0312982686, -0.0439713933, -0.0021993762, 0.0329377577, -0.0293562859, 0.0069780308, 0.0196772963, 0.0356980711, -0.0621624663, 0.0190160461, -0.0409962907, -0.0088359928, 0.0507254936, -0.0500472821, 0.0041047623, 0.0131670525, 0.0304416511, 0.0059853909, -0.0045959665, 0.0462899096, -0.0107030738, 0.0075828708, -0.0375848152, 0.0029339823, -0.0335717537, 0.0010120351, -0.0451631881, -0.0584330186, -0.0128531493, -0.0240720995, 0.0813603252, -0.0330048464, 0.0364985429, 0.0408612974, -0.04401806, 0.0450445525, 0.0438507162, 0.0382164009, 0.0115807094, 0.0307193454, -0.0805951357, -0.0221792497, -0.014018341, 0.0080922013, 0.0295053832, 0.0426287577, -0.0077356976, -0.016595548, -0.021599466, -0.0180007331, -0.0987526923, -0.0507527404, -0.0361604616, -0.0366837904, 0.0055239364, 0.0228800885, -0.0417340994, 0.0125466064, 0.004380615, 0.0111005334, 0.0227712318, -0.0509451479, -0.0662146583, -0.0254435912, 0.1031954288, 0.0235155188, -0.0491716787, -0.0322539806, -0.0408866405, -0.0191244129, -0.0259732418, 0.0366979167, 0.0119170947, 0.0244908072, -0.0109569514, 0.0017121641, 0.070587188, 0.0303645004, -0.0303572118, -0.0257190485, 0.0152169913, -0.0227274653, 0.0059050438, -0.0500177853, 0.0238440447, -0.0211069584, -0.0058503505, 0.0567601323, -0.0103091542, 0.0569675304, 0.0065787015, -0.0285705775, 0.0265013408, 0.0281029344, -0.0337017924, -0.0868815705, 0.0243363921, -0.0305195712, 0.0126478476, 0.010822379, -0.0027839753, -0.0106536094, -0.0512883328, -0.0440141894, -0.039955914, -0.0014105205, -0.0433180295, -0.0192978811, 0.0316786282, 0.0159516092, 0.0460765362, -0.0099923704, -0.0635769516, -0.0069163861, -0.0462156832, 0.0099986261, -0.0113013731, -0.0179588906, 0.0350887254, 0.0174817797, 0.0114692822, -0.0111444872, -0.0186735764, 0.0151357148, -0.0020905344, 0.0006234574, 0.0192503072, -0.0082797818, -0.0574344844, -0.0119200116, 0.0384988971, -0.0227548257, 0.0213949624, 0.0184200238, 0.0155094983, -0.0118920654, -0.0123875029, 0.0489472672, 0.0131654525, -0.0138511322, 0.0419508033, 0.0647783056, -0.0214595515, -0.0242504608, -0.0235275067, -0.0447183028, 0.0261470899, 0.0421851687, 0.016694719, -0.0312236436, 0.0117339473, -0.0205457676, 0.0150321182, -0.0021821896, -0.0503771827, 0.0138053978, -0.0370802395, -0.0488373227, 0.0338322595, 0.0081761722, -0.0171235595, 0.0358660556, -0.0068695978, -0.0133085381, 0.006372672, -0.0627041906, -0.0143485609, 0.0250859018, -0.069338508, -0.0093604261, 0.0324961729, 0.0347029343, -0.0166226719, -0.0318707936, -0.0045975163, -0.0006726365, 0.0008921713, -0.0531879961, 0.026261311, -0.0058571161, 0.0981635824, 0.0152117396, -0.0479433276, 0.1067468449, 0.0196737163, 0.0543537512, -0.0523981787, -0.0440002792, -0.0334409401, -0.0186137296, -0.0084388657, 0.0390172079, 0.025617918, 0.0284911022, -0.0179524757, 0.0130422469, -0.0248584561, -0.0532712527, 0.0084021185, -0.0357321538, 0.0097272499, 0.0351786204, -0.0231243633, -0.0329662263, -0.0024737103, 0.0217421167, -0.0064357058, 0.0101391813, -0.0168344676, 0.009998301, 0.0334293768, -0.0163784213, 0.0605496094, 0.0089274487, -0.0488928482, 0.0050302907, -0.0215015877, -0.0179277305, 0.0073721739, 0.0622190423, -0.0021062805, 0.0397117212, 0.0064730495, -0.0023140693, 0.0374509059, -0.0530821383, -0.0028527293, -0.0333602838, -0.0038410688, 0.0016554045, 0.0603451394, -0.0155790076, -0.0161909498, -0.0077293948, 0.0831413493, 0.041235853, -0.0805796087, 0.0118039027, -0.04977284, -0.026726108, -0.0214382913, 0.0031367412, -0.0206737965, -0.0122870393, -0.0020369431, 0.0569751784, -0.0313122198, -0.0222796369, 0.0411461107, 0.0177006554, 0.0274416115, 0.0077691502, -0.0454696007, -0.0609125048, -0.064466469, -0.021226706, -0.0176155567, -0.011999622, -0.0447337627, 0.0260082297, -0.0216877647, -0.0108401449, -0.0644276813, -0.0773276612, 0.0224099737, -0.0225906167, 0.0458388999, 0.0931136161, 0.0124484887, -0.0321272388, 0.004584576, -0.0182758179, 0.0114344582, 0.0272272602, 0.0008616003, 0.0536785275, 0.0651537925, -0.0092923958, -0.0240143854, -0.0141280983, -0.0381956957, 0.0302410405, -0.0113930404, 0.0827763677, -0.0636687428, -0.0365789011, -0.0552183464, 0.0090581886, 0.0527982116, 0.0387528501, -0.0026352042, -0.0050843172, -0.0312567428, -0.0028408975, 0.0789156109, -0.0001267235, 0.0274617262, 0.0166270323, -0.0265664291, -0.0894261524, -0.0608333945, -0.0165797602, -0.0259649996, 0.0002313049, 0.029183602, -0.0015065434, 0.059425015, -0.0014091742, -0.0679853112, 0.0110342633, 0.0710993633, 0.0394858159, -0.0509062186, 0.0132693704, 0.0469982661, 0.0369934291, 0.0023841076, 0.0351797603, 0.0144678839, 0.0168989785, 0.0081442604, 0.111437276, 0.027686825, -0.0329871923, -0.069524534, -0.0208265334, 0.0199055802, 0.0366216972, -0.0224304982, -0.0382808112, 0.0040226025, -0.0088982824, -0.0136060584, -0.001379717, 0.0119952653, 0.0433768369, -0.0342661142, 0.0083383797, -0.0563846119, -0.0790581182, 0.0213812944, 0.0167008806, 0.0295728818, -0.0320422053, -0.0582271665, 0.0141354036, 0.0283753909, 0.0204437822, 0.0366021208, 0.0039356463, -0.027105663, 0.0494461097, -0.0018925096, 0.0113726854, 0.0165264774, -0.0138114989, -0.1090647057, 0.008193546, 0.008918412, 0.0140554551, 0.0624849275, 0.0388543792, 0.0168294907, 0.0266033728, 0.0231442116, -0.0015822117, 0.0253213551, 0.0204022117, 0.0317041352, -0.0043643443, 0.0430051163, 0.0063362331, 0.0553751774, -0.0405132882, -0.0863146856, 0.0203030594, -0.0408900045, 0.0338237956, 0.0601961315, -0.0080912076, -0.0377562121, 0.0435095355, -0.0366569236, 0.0176899768, -0.0173522625, 0.070302397, 0.0223671738, -0.0145761417, 0.0059379456, 0.0032029869, 0.0942015201, -0.0517216213, 0.0159043819, -0.0457974151, -0.0482617654, -0.0219820458, -0.0110252555, 0.0019933055, 0.0183971394, -0.0355678685, 0.0000508876, -0.048376482, -0.0263538845, 0.0148396324, 0.0086236307, 0.0015536937, -0.0382449254, 0.0470840149, 0.0315755866, -0.0164378341, 0.0190872848, -0.0076301773, 0.0306623541, -0.013619869, -0.0000434483, -0.0262853, -5.390241101e-33, 0.0160271637, -0.0272630323, 0.0122381747, -0.0253307819, 0.0409183353, 0.0138649223, -0.0544860624, 0.0056721759, 0.0235418137, 0.0231316052, -0.018010661, 0.0087516885, -0.0052085207, 0.0240098815, 0.0502201505, -0.0494863838, 0.024598524, 0.0109244343, -0.0026031418, 0.0121802054, 0.0198433008, 0.0258887876, 0.021044353, -0.0789922923, -0.0179356802, 0.0405295342, 0.0304262377, 0.0009618669, -0.0085333493, -0.0244650114, 0.0031553335, 0.0176641811, 0.0319875367, -0.0300318431, -0.0172450934, -0.0327686816, -0.0351053998, -0.041218888, -0.0080459742, -0.00510721, -0.000596875, -0.036909882, 0.0800779611, -0.0138344038, -0.0237693023, 0.04218347, 0.0064411215, -0.0340781249, 0.0111808591, -0.0975266472, 0.0311625041, 0.0575167798, -0.0379766002, -0.0210295971, -0.0185129885, 0.0311244484, -0.0553799495, -0.0108592901, -0.0389525034, -0.0019990492, -0.0036444506, 0.0081322286, -0.0020181146, -0.070042327, -0.0309568029, 0.0222227629, 0.0490626134, -0.0253121164, -0.059699893, 0.040407382, -0.0479215272, 0.0204360243, 0.101614669, 0.0201840959, 0.0320649147, -0.0381426625, -0.0879978612, 0.0925743207, -0.0484269671, 0.0538609549, 0.0365524516, -0.021107683, -0.063006483, -0.0013870489, 0.0083509814, -0.0369130969, -0.0079382611, -0.0276057348, 0.0328399166, -0.0100989128, 0.0202055052, 0.0445908234, 0.033186987, -0.0239090733, 0.0681738406, -0.0120094661, 0.0819724426, 0.0335407518, 0.008317098, -0.0039112889, -0.0058358093, -0.0137889571, 0.0248213336, 0.002620433, 0.045425538, 0.0209708884, 0.0167627092, -0.0166940484, 0.020088207, 0.0011955338, 0.0412555262, -0.0226050746, -0.0078423684, -0.0237580892, 0.0280252509, 0.015329876, 0.0057841749, 0.0052466099, 0.0021050412, 0.0323562324, -0.0216028299, 0.0037362024, 0.0059689018, 0.0200193767, -0.0192446057, -0.0519156083, -0.0666412413, 0.008275751, 0.0157234427, -0.0330878459, -0.0146115907, 0.0087695057, 2.903e-7, 0.0780186206, 0.0369249247, -0.0092416247, 0.0032635476, 0.0565760396, 0.0270763375, -0.0004900139, -0.0331450477, -0.0079258494, -0.034638904, 0.058351133, -0.0148261376, 0.0070357057, 0.0433709547, 0.0007768377, -0.1069348007, -0.0041046408, 0.0376852117, 0.018424863, -0.0231782589, 0.0608162805, 0.0756257921, -0.0125659844, -0.0376274325, 0.0330324396, 0.0144117493, 0.0139931375, -0.0597610809, 0.0477106236, 0.035817869, 0.0582148731, 0.0134266214, 0.0181124248, 0.0552621335, -0.0021775325, -0.0405818596, -0.02327222, 0.0693290457, -0.0388436429, -0.0077796914, 0.0086058099, -0.0168583374, 0.0697574317, -0.0562334768, 0.0405122302, -0.050257083, -0.0462411232, 0.0084315008, 0.0080638109, -0.0046084342, 0.103952527, -0.0400751717, -0.0216370393, 0.0245535504, 0.0100063905, 0.019444244, -0.0081490064, -0.0676112771, -0.0298607964, 0.0793368742, -0.0163865071, -0.0082279155, 0.0306339096, 0.0108598713, 0.0373064578, -0.0801962614, 0.0276474208, 2.374690525e-34, 0.0381333195, 0.0082964655, -0.015499399, 0.0039014884, 0.0172918905, -0.0131645743, -0.0339499563, -0.0076439269, 0.0356153548, -0.0270222463, -0.0136215519 ]
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.0148029272, 0.0040455312, 0.0119815646, -0.0306967329, -0.0083970185, -0.0197183248, 0.0196432527, -0.0106719555, -0.0043136096, -0.0114721851, -0.0093616936, -0.0156367421, -0.014962743, 0.0706779659, 0.0118222153, 0.0135419611, 0.045063097, 0.0122224689, 0.0343942158, 0.0142965503, -0.0051689688, -0.0047613396, -0.0401653945, 0.0003712996, -0.0006503624, -0.0640824437, 0.0216589924, -0.0182086062, 0.0474892892, -0.0279921591, 0.057676468, 0.078558594, 0.0023247383, 0.0316968299, 0.000001871, -0.0605247766, -0.0144039802, 0.0281980764, -0.0399317257, 0.0356568992, 0.0149556994, 0.0239290707, 0.016735401, 0.0309237428, -0.0108596412, -0.0215915274, 0.0601900481, -0.0091155907, 0.0503286719, 0.0157235395, 0.0147964926, 0.0216275342, 0.0447314233, -0.0086142179, 0.0506366938, 0.0086877551, 0.0286813099, 0.0358913764, 0.0150904953, 0.0152352089, -0.0258487444, 0.0529855378, 0.0716418251, -0.0808621272, 0.0189799014, 0.0367031619, -0.024478158, 0.0401162021, 0.014382829, 0.0699629858, 0.010337716, -0.0426831469, -0.0302154925, -0.0097313775, -0.0084616859, 0.0169717539, -0.0740516037, 0.0307847988, -0.0342900977, -0.0611388199, -0.0150215644, 0.0076230075, -0.000219519, 0.0341514163, 0.0303806495, 0.0183922462, 0.0142663484, -0.0560015664, -0.0031021968, 0.0270178411, 0.0554622039, -0.0424376577, 0.0493630059, 0.0300344527, -0.0271203779, 0.0027380327, -0.0116738817, -0.0200103279, 0.037431024, 0.0031448707, 0.0453271754, 0.0282095987, -0.0146660116, -0.0000941798, -0.0117874602, 0.0903246403, 0.0255337954, 0.0475146994, -0.0270520542, 0.0034720884, -0.0410563834, -0.0486384034, 0.0112107666, 0.018240802, 0.0023790335, 0.0063869953, -0.0325717479, -0.0371795259, -0.0263484214, 0.0089787971, 0.001235845, 0.0432037562, -0.0097904867, 0.0454363078, -0.0450622402, 0.0878031775, -0.0276917387, 0.0025541852, 0.0339992903, 0.0047267545, -0.0699203685, 0.0239030197, -0.0168200154, 0.0230645612, 0.0053645382, 0.0146423485, 0.0177843999, -0.0069124633, 0.0292979702, -0.0554070733, 0.0074393344, -0.0523221232, 0.0600268245, -0.0352556258, 0.020627344, 0.0237231702, -0.020582594, -0.0338397324, 0.0131754288, 0.0367064551, 0.0381985456, 0.0165755749, 0.0092453705, -0.0403549895, 0.0171039421, 0.0253731366, 0.0302303471, -0.0146655273, 0.0323672779, -0.0001840505, 0.0026868139, -0.0124981795, 0.06144787, -0.0305455271, 0.0193230473, -0.0351013951, 0.0030730928, 0.0200024899, 0.0019214005, 0.0846037492, -0.0160362255, 0.0101240231, -0.0021882306, 0.0217729341, 0.0171549022, 0.0497622527, 0.0101302946, 0.033684805, 0.0343567617, -0.0223310366, 0.0478944778, 0.0095845666, -0.0470786616, 0.1045508534, 0.0018360019, 0.0007962617, 0.0133946789, 0.001398219, -0.0279780403, -0.0855622664, -0.0436598547, 0.0508890972, -0.031379167, 0.0219484977, 0.0229038205, -0.0001061905, -0.0152885942, 0.0204909965, 0.0035895649, -0.0605209656, 0.0534909517, -0.0179302339, 0.0931156576, 0.0419425629, 0.0598497465, -0.0324317664, -0.0526198931, -0.0264179185, 0.0285429731, 0.047562059, 0.0692379698, -0.0496477485, 0.0019778246, -0.0319132879, -0.0389623791, -0.0599394999, 0.0039597345, -0.0083278604, 0.0117610842, 0.0015872185, -0.0094634937, -0.0284334291, -0.0813472718, 0.0337841548, -0.0281527229, -0.0552460849, 0.0007995064, -0.0339956358, -0.0161223337, -0.0011931243, -0.0216349419, 0.0511977226, 0.0127386916, -0.0086802365, -0.0276252273, -0.049036935, -0.0308444444, -0.0077825137, 0.036424879, -0.0672656223, -0.0097949188, 0.0228267014, -0.0117339874, -0.0145892343, 0.0158668663, -0.0199091043, -0.0825485885, -0.0220132861, -0.0300187729, -0.0255521443, -0.0085989218, -0.0301445145, -0.0028972474, 0.0358789749, 0.0872569755, -0.0230251625, -0.0163115151, 0.02180936, 0.0161157586, -0.0354478918, -0.0436098129, -0.0147558339, 0.0165775921, 0.0049604001, -0.0173563305, -0.0745971352, 0.0122825233, 0.0037797093, 0.0280082449, 0.020345008, 0.0214210879, 0.0357191972, -0.0331527516, 0.0140616195, 0.0240081772, -0.0269072223, -0.0048933052, 0.0347214863, -0.0354894288, 0.0454564877, -0.0115790339, 0.0039617638, -0.0328565165, -0.0122487042, -0.0862443224, 0.0551134869, 0.0592049211, 0.0514661558, -0.0566207729, 0.0143683609, -0.0274085235, -0.0106109157, 0.0302523486, -0.0629563183, 0.0490900278, -0.0232671853, 0.0094405469, 0.0975856408, -0.001505525, -0.0137942089, 0.0474112555, 0.0031443427, -0.0318442956, 0.0081638005, -0.0314660855, 0.0403038561, 0.0406950898, -0.0000304211, 0.0159294941, 0.0175448544, -0.0065831235, -0.0420696177, -0.0031885887, 0.0498088896, -0.0379258618, 0.0128385164, 0.0028493521, 0.0154960463, -0.00674011, 0.0238994695, -0.005853714, -0.0096100094, 0.0773462281, -0.0032577009, -0.0180730131, -0.0960657522, 0.0403703004, -0.0188925229, 0.0344048142, -0.0253296439, -0.0161360297, 0.0246175155, 0.0362799838, -0.0329929702, -0.0121486476, -0.0073775286, -0.016060099, -0.0025211263, -0.065821059, -0.0086772991, 0.0253495667, 0.0002066277, -0.0322587416, 0.0191944987, 0.0356834605, 0.0551241189, -0.0558547266, -0.0604774989, -0.049167335, -0.0282006711, 0.0697147325, 0.0603320971, -0.1056420878, -0.0159961693, -0.0255259387, 0.0292748623, 0.0121889114, -0.0246465784, 0.0463909693, -0.0542188585, 0.0152195189, 0.0585013032, -0.0082183266, 0.0590627156, -0.0074893264, -0.0302562155, -0.0094410516, -0.0340516679, 0.0575389341, 0.0114134811, 0.0323356017, -0.0512628704, -0.054456342, 0.0599463768, 0.0049495217, 0.0076301876, -0.0193539914, -0.0265508704, -0.0140973637, 0.038325455, 0.0710282102, -0.0418763421, 0.0186703, -0.0284728892, 0.0427609421, -0.0015518127, -0.0461112149, -0.0306950156, -0.079957895, 0.0274182502, -0.0102419043, -0.0328704007, -0.0377906747, -0.0383042581, -0.0074489904, -0.0014837122, -0.0229648035, -0.0069029219, 0.0192419849, 0.0117311291, 0.0440112539, 0.0108857155, -0.0421587341, 0.032121215, -0.0495538265, 0.0064536501, 0.0087245554, 0.0036502846, -0.0284007434, -0.0381973423, 0.0179366451, -0.0107149538, -0.0163921397, 0.0087001678, 0.0269846506, 0.0104084294, 0.0032185733, -0.0465568863, 0.0376461558, -0.0224954765, -0.018477872, 0.0189295392, 0.1119420528, -0.0120365024, -0.012088012, -0.0641858727, 0.0208174866, -0.0097426428, 0.0749308318, 0.0637203231, -0.0127202766, -0.031402681, -0.0549051985, -0.0084047168, -0.0685380623, -0.0315045901, 0.0167782139, -0.0177325904, 0.0292957202, -0.0144304009, -0.0290377885, 0.0755876079, 0.0021558015, 0.0011829794, -0.0299976058, -0.0110909641, -0.0306688026, -0.062025249, 0.0559237972, -0.012421757, 0.0041917814, -0.0267999955, -0.0110995285, 0.0084989825, -0.0184911527, -0.0599118769, 0.0058390098, -0.0022453377, -0.0195236094, -0.0070076161, 0.0428221263, 0.0124212196, -0.0482067168, -0.0175848901, -0.0594517849, 0.0436254181, 0.0012855408, -0.0487487279, -0.0082346806, -0.0087513654, -0.0180725344, 0.003166808, -0.0405984595, 0.0106103048, 0.0159084629, 0.0206604116, 0.0226576962, 0.0054048495, -0.0445452593, 0.0237832237, 0.0457005277, 0.0374512151, 0.02313927, -0.0087643797, -0.0629304126, 0.0111781806, 0.0066762003, -0.0209755562, -0.004067312, 0.0150090214, 0.040551167, -0.0244875699, -0.0131966788, 0.0462094508, -0.0403816439, 0.0741152391, -0.0510579236, 0.0410415456, 0.0081694052, 0.0473991893, 0.0118226958, -0.0129476236, -0.0425418541, -0.0322859697, -0.0158571005, 0.06955681, -0.0103182988, 0.0301928986, 0.0382921174, 0.036600098, 0.0041272612, 0.0114862546, -0.0986148044, -0.0211176127, -0.0323978476, 0.0557707325, -0.0450790189, 0.0635675043, -0.0115594473, -0.001837345, -0.0281562209, -0.0171101317, 0.0303473324, -0.0048666, 0.0083903, 0.0781428218, 0.0306244474, 0.0382063352, -0.0723035783, 0.0188655127, -0.0105771171, 0.0485338792, -0.0176542234, -0.0163617991, -0.0431752838, -0.0159671251, -0.0428441539, -0.0165450163, 0.0294666234, -0.0275454223, -0.0612824969, -0.0293405261, 0.0514621697, 0.068557784, 0.0082783028, -0.0235438664, 0.0131687196, 0.0231531356, -0.0410564318, -0.0607148558, 0.0350539722, 0.0102562914, -0.0442816205, -0.0580120906, -0.0006131402, -5.414861095e-33, -0.0048692212, -0.0495868586, 0.0136591671, -0.0135561079, 0.0019368032, 0.0653650239, -0.0536929183, -0.0406574123, -0.0017707584, 0.0390306413, 0.0095735574, 0.0338829719, -0.0037237017, 0.0050946679, 0.0285414699, -0.0042967303, 0.050430201, -0.0008258839, -0.0491708703, 0.0215233564, 0.0058837109, 0.0029237326, 0.0719005316, -0.035453815, 0.0430751108, -0.0208710022, 0.0006422475, 0.0308639072, -0.100915283, 0.0458712243, -0.0259642694, 0.0246738046, 0.0122758579, -0.0438978449, 0.0061543901, 0.0209184662, -0.077364929, -0.0707079694, -0.0296103992, -0.0446848758, -0.0535707511, -0.022757221, 0.0233713351, 0.020118149, -0.0283188429, -0.0543823093, 0.0536834113, 0.0080766035, 0.0287615024, -0.0455037169, -0.0271641333, -0.0067980876, -0.0231073387, -0.0432308242, -0.0359247997, 0.0609757528, 0.003577346, -0.0093515357, 0.0053437296, 0.0334517099, -0.029548334, 0.023485627, 0.0210942142, -0.0130433971, -0.0308792852, 0.0609897077, 0.0531692244, -0.0366169214, -0.0313254744, -0.0258509219, 0.0067276442, -0.0350395478, 0.1336406469, 0.0768811032, 0.017177185, 0.0198922288, -0.0941380113, 0.0418447852, 0.0224959422, 0.0455563739, 0.0051109805, -0.0601827465, -0.0042357156, -0.0386768244, -0.0493806005, -0.0157474522, -0.050886862, -0.0025396855, 0.0438378975, -0.0585071519, -0.0334594436, -0.0011955543, 0.0166750122, -0.0324500762, 0.0450357944, 0.0336444378, 0.0199658088, 0.044677943, 0.0211918335, 0.0034882438, -0.0763778463, 0.0434063151, 0.0023722562, 0.017509209, 0.0240481924, 0.0126792882, 0.0161036998, 0.0337332375, 0.0139957741, 0.0044837636, -0.0368593484, -0.012712786, 0.0386291333, 0.0668112487, 0.000827703, 0.0478350148, 0.0043505062, 0.0462823585, 0.0014918006, 0.0261546485, 0.0245060418, -0.0117611717, 0.0124552101, 0.0489617847, -0.0233110227, -0.0229314771, -0.0224994272, -0.020338431, -0.034057416, -0.0762619376, 0.0126514491, 0.0211542211, 2.512e-7, 0.0470924787, 0.0403785929, 0.0465580821, 0.0108490996, -0.0195686892, -0.0248405971, -0.0160378665, -0.0138128139, 0.0137051838, 0.020928001, -0.0187511351, 0.0060941279, 0.0267121289, 0.0332375169, -0.0672461987, -0.0495412052, -0.0338497385, -0.0155578153, -0.0486332104, 0.0159986895, 0.0735684559, -0.0309642125, 0.0185242835, -0.0295448434, -0.0133749051, -0.0286492445, 0.0198931228, 0.0372841917, 0.0418680608, 0.038592279, -0.0196726527, -0.012303059, 0.0300463438, 0.0533492863, -0.0046034809, -0.0033652808, -0.0045591732, 0.0285141412, 0.0317868069, -0.0567586534, 0.0344891921, 0.0107920906, 0.025300242, -0.065274328, 0.0251790937, -0.0330053233, 0.0059215645, 0.0103664985, 0.0171604473, -0.0108249271, 0.0165375862, -0.0243629757, 0.0332338884, -0.0171818696, -0.0245633051, -0.0004632164, 0.0043856162, -0.021550335, -0.0272716731, -0.0189656597, -0.0036709909, -0.0356250517, -0.0376831964, -0.0536061116, 0.032848198, -0.0556719974, -0.0366466567, 2.489429105e-34, 0.0244326591, -0.0315508693, 0.0239697117, -0.0264495052, 0.0131024737, 0.0132094724, 0.0510661453, -0.0005557751, 0.0158461593, -0.0529230982, -0.045363389 ]
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.0110315923, -0.0282682329, -0.034576457, 0.0283536855, -0.0532552302, 0.0139809083, 0.0102530532, 0.0314926542, 0.017467143, -0.0190817323, -0.0197379347, -0.0012452566, -0.0085146762, -0.022395974, -0.0013979006, -0.0518508516, 0.0210199989, -0.0943607762, 0.0029183782, -0.0136536267, -0.019336449, -0.0147836599, -0.023333909, 0.0036509763, 0.012552022, -0.0381884687, -0.015379562, -0.0176700465, -0.0186978728, -0.0416526534, -0.0191745125, 0.0743706077, 0.0186185539, -0.0207127128, 0.0000021353, -0.0597315691, 0.0083928984, -0.010518509, -0.020422291, 0.0321874171, 0.0452161282, 0.0177526791, 0.0159764476, 0.0611736439, -0.0422868878, 0.0078165028, 0.0368896462, 0.0274337549, 0.0231803935, 0.0018367325, 0.0163426045, 0.0165328514, -0.0015376286, 0.0298999771, 0.0111421356, -0.0353099629, 0.0029516679, 0.0432734564, 0.0973744541, 0.0079863332, -0.0250706878, 0.0185191724, 0.043200478, 0.0204969514, -0.0401149057, 0.0373146236, -0.0091279158, 0.013807293, -0.0005635143, 0.0531068891, -0.0128749963, 0.0288442168, -0.0204106811, 0.0062036975, 0.0082439659, 0.0171754993, -0.082541354, 0.0337769203, 0.0007036508, -0.0173833035, -0.0082398467, -0.0234433226, 0.0164161306, -0.0106698126, 0.0151587836, 0.1483005583, 0.0013375903, -0.0424319804, 0.0246147085, -0.0015003899, -0.021607656, -0.0627031401, 0.0117832944, 0.0383652188, -0.0665922314, 0.0189248174, -0.027697714, -0.0113942046, 0.0037226102, 0.0152214942, 0.0663609505, 0.0527428128, 0.0335285217, 0.0148927663, -0.0099177351, 0.0448241793, 0.0065536392, 0.0129273646, -0.0694540069, -0.0048358734, -0.0340337381, -0.022882795, -0.032125771, 0.0094027612, -0.010433441, 0.0115588969, -0.068296589, 0.0179437809, 0.0341219679, -0.0080443854, -0.026847519, -0.0031147788, 0.0149932504, 0.0285694785, -0.0286265556, 0.0099242004, -0.0940528288, 0.0231231507, 0.0208500009, -0.0484399125, -0.0129489722, -0.0117233768, -0.0062391604, -0.0420106091, 0.0200088657, 0.0748357922, -0.0210590698, 0.0100305276, -0.0493075848, -0.0391493812, 0.0167904794, -0.069368884, 0.0344007313, -0.0718594566, -0.002251667, 0.0331757702, -0.0180725176, 0.0043037361, 0.0066924202, 0.0180982221, -0.0026239485, 0.0351353288, 0.0151362121, 0.0165959932, 0.0470760912, 0.0349202752, -0.0058747092, 0.0821156204, 0.0593909733, 0.0026535834, 0.0173421521, -0.0653653294, 0.0347656459, 0.0630646423, -0.0020280888, 0.0098337745, -0.0033760765, 0.0103204604, 0.0364658833, 0.0413199738, 0.0016402222, 0.0677460954, -0.0091398228, 0.0045811799, 0.0696984306, 0.0583287477, -0.0191859938, -0.013523424, -0.0120625431, -0.0042463532, 0.0306289177, 0.0126567623, -0.056475766, 0.0526850596, -0.0517711863, 0.0268735066, -0.0114786718, 0.0144722881, -0.0359678902, -0.0540880002, -0.0455803685, 0.0078471778, -0.0280547831, 0.028930556, 0.0390602387, -0.0431838147, -0.0162043907, 0.0120182438, -0.0038014669, -0.0283368155, -0.0064241104, -0.0119423168, 0.0148348873, 0.0644885451, -0.0006447331, -0.0368766263, -0.054865852, -0.004753903, 0.0419209115, -0.0298426598, 0.080591768, 0.0212857351, -0.0007812127, -0.0353176817, -0.0171932839, -0.0417624563, -0.0189640708, -0.0039920867, 0.0249390434, 0.02011686, 0.008783821, -0.0068242201, -0.006771591, 0.0092596551, -0.0966729596, -0.0650995895, -0.0130669884, -0.0150052011, 0.0110495454, -0.0185087603, -0.0233875327, 0.0146770431, 0.020534955, -0.0523924045, -0.0055175805, 0.0468089804, -0.0591244996, 0.0004354519, 0.030758705, -0.0143688945, -0.0231189542, 0.0233643055, -0.0218102969, -0.0344258063, 0.0661491901, -0.006498232, 0.0059006289, 0.0141007211, 0.0038432474, -0.0412480831, -0.0035032043, -0.0379417278, 0.0434599034, 0.0023187604, 0.0385485068, 0.0321312472, 0.0258140527, -0.0342371091, -0.0428783931, -0.0257138051, -0.0058422312, 0.0206838716, -0.0043129711, -0.0132153863, 0.0068188957, -0.0741749331, -0.0305674225, -0.0634927675, 0.0478204452, 0.0101008425, 0.0199861061, 0.0022743042, -0.0040434524, -0.0504997075, 0.0182022583, -0.0453954972, -0.0464016609, 0.0240746867, 0.0258375611, 0.0121325105, 0.0022193326, -0.01962444, -0.023510389, -0.0387206562, -0.0250483099, 0.0400861241, 0.0119481133, 0.0169413462, -0.0152056348, 0.0935918614, -0.0285300054, 0.0060996548, -0.0080248965, -0.0012642301, 0.0168252271, -0.0035341885, 0.0752939433, 0.065578647, -0.0187224485, 0.0065126596, 0.0536164641, -0.0559265167, -0.0405605137, 0.0124738477, 0.0120501369, -0.0034756679, 0.0011688084, -0.0875861123, -0.0296863001, 0.0636871606, -0.0060323658, 0.0175549425, 0.0351380073, 0.0866388679, -0.0518534742, -0.0427662432, -0.0502111018, 0.0112727378, -0.0256515779, 0.0610795543, -0.01699619, -0.064651221, 0.0726193041, -0.0214381684, 0.0037582407, -0.0478118882, -0.0056764097, -0.0173686799, 0.0491286628, -0.0391102396, -0.0053951368, -0.0154435178, -0.028548887, -0.0482142717, -0.0473335199, 0.0253036749, -0.0360193849, 0.0141284214, -0.0433656722, -0.030713357, -0.0104495091, -0.0406705178, -0.0232266262, 0.0079955626, -0.0286176931, 0.0343312845, 0.0292378031, -0.0121594295, -0.024847066, -0.0052348324, 0.0543392599, -0.0126902908, -0.0250299573, 0.004023436, -0.0139512261, 0.0089918738, 0.0353639051, 0.0533448644, 0.0401995592, -0.0627607554, 0.0289445892, 0.0190217141, 0.1021943763, 0.0024745485, -0.0245859735, 0.0335089974, 0.0274424646, -0.0328697003, -0.0385513902, 0.0451252535, 0.044248715, -0.0611314811, 0.008190685, 0.1090127751, 0.0443902984, 0.0003109798, 0.0040107514, -0.0540378727, 0.062500149, 0.0225319006, 0.0247802995, -0.080586493, -0.0198092014, 0.0541822128, 0.0553922951, -0.0362509228, -0.051813215, 0.0246745478, -0.1009254307, 0.0152949682, 0.0018021358, -0.0599341244, 0.0216070078, -0.0704700798, 0.0059377393, 0.0335165597, 0.0445839614, -0.0028196054, -0.0167365596, 0.0122073712, 0.049964305, -0.0449345261, -0.0296052974, 0.0549083166, -0.0310457703, 0.038835004, 0.0535254888, -0.0170314293, -0.0666422322, -0.0084058801, 0.0645466, 0.0215309784, 0.0159625262, -0.0362694338, -0.0249329694, 0.0320311338, 0.0019012388, -0.0374715663, 0.0256682262, -0.0450436249, -0.0026679435, 0.0459604487, 0.1058360711, 0.0060900552, -0.0220338609, -0.0150682619, -0.0118378708, -0.0038624541, 0.0545752048, 0.0308356993, -0.0367919616, -0.0534180216, -0.0383136906, -0.021260282, -0.0324710943, -0.0231165718, 0.0018539552, -0.0096413605, 0.022523826, 0.0000200331, -0.0185952317, 0.0797970667, 0.0479264073, 0.0110921059, 0.0051065902, 0.0169076174, 0.0233260076, -0.0150343226, 0.0257961322, -0.0239265095, 0.0586175285, -0.0589764789, 0.0158020556, 0.0111478111, -0.0099599883, -0.0113207521, 0.0164622553, -0.0426902585, -0.0525900088, 0.0253550317, 0.0553674661, 0.0298715215, 0.0132003967, 0.020721579, -0.0586212315, -0.0384760462, 0.0175799988, -0.0094990591, 0.0671698675, -0.0267170593, 0.0194214843, 0.0391774289, -0.0214621667, -0.0190078299, 0.0142082945, 0.0318237133, 0.0469280556, 0.0065345224, -0.060429845, -0.0022095831, 0.0570972674, -0.0223125294, 0.0488303602, -0.0013167788, -0.0151739344, 0.0103710284, -0.0039969031, -0.0232539531, -0.0361281671, -0.0260624904, 0.0081007183, 0.0049814242, 0.036909949, 0.0030024988, -0.0023303132, 0.0437175743, -0.0294707213, 0.0658780783, 0.0047752801, 0.0476886407, 0.040860083, 0.0073355967, -0.0198367126, 0.046164453, 0.0002807094, 0.0455008186, 0.0238550603, 0.0582030788, -0.0058490303, 0.0086902985, -0.0577832349, -0.0235383455, -0.0766287744, -0.0702823177, 0.006434463, 0.0252309535, 0.0195145551, -0.0066685448, -0.0309701432, -0.0256429836, 0.033250235, -0.020289721, 0.0027351973, 0.010099926, -0.0129775601, 0.071767047, 0.0334528685, 0.007447321, -0.0165215209, 0.0388127156, 0.0074081984, 0.0465115793, 0.0452709086, -0.0225543808, -0.0043178699, -0.0012328038, 0.0024704135, -0.0144787012, -0.0171063561, -0.0155031169, -0.0659121126, -0.0475177765, -0.0038774291, 0.0047382433, 0.0031476873, -0.0319642909, 0.0384298265, 0.0507715419, -0.009954839, -0.0550413691, 0.0191800557, 0.0519765653, -0.0171295758, -0.0551050641, 0.0079653831, -5.852182095e-33, -0.0311370231, -0.0275350939, 0.054075323, -0.0084089814, -0.0273072161, -0.0279449541, -0.0255371947, 0.0624679737, -0.0346357487, -0.0302288365, -0.0442782342, -0.0184075292, 0.0254127327, -0.0232220609, 0.0204523597, -0.0431900769, 0.0180043578, -0.0094302967, -0.0239628814, -0.0062450459, 0.0126309423, -0.0044793235, 0.0311721917, -0.0360920019, 0.0041250442, -0.0461399108, 0.0483782925, 0.0065823654, 0.0014307818, 0.0431964323, 0.0079401052, 0.0335801989, 0.0178117696, -0.0394862592, -0.0202454217, 0.0193037596, -0.030956367, -0.0424318835, 0.0280506182, 0.0132624274, -0.0075483397, -0.0566243604, 0.0257809609, 0.0361711308, -0.0260363128, 0.005311355, 0.0034040727, -0.0279361699, -0.0488783196, -0.0137032373, -0.0213147551, 0.016807355, -0.0368654989, -0.0093563106, -0.0013059985, 0.0223487634, -0.0196031854, 0.0122071989, -0.0063365353, 0.0051266965, 0.0908200964, 0.0364533998, 0.0647873878, 0.0114688147, 0.0187991727, 0.0218112841, 0.0337378792, 0.0211435854, -0.0207702592, -0.06351275, 0.0575659461, 0.0546305552, 0.0483330004, 0.0336806327, 0.0352014825, -0.0295446608, -0.0582045056, 0.008423999, 0.0565503612, -0.0006561817, 0.0165512767, -0.0198988561, -0.0032720258, -0.057129465, -0.0760164931, 0.0584240966, -0.0540584885, -0.0216704533, 0.0558080189, -0.0521887913, 0.0133070238, -0.0549189709, 0.0400381424, -0.005722818, 0.0026444711, -0.0209169928, -0.007499272, 0.0815082863, -0.0164664909, 0.0361300483, -0.0915694386, -0.0355496332, -0.0457129218, 0.0021122517, 0.0254189614, 0.0069727139, -0.0145546217, 0.0025508993, -0.0371096879, -0.0110197235, -0.0185974352, 0.0191175453, 0.0652946904, -0.0188593026, 0.0170068964, -0.0379028246, 0.0125829559, -0.0069284714, -0.0027478475, -0.0350610651, -0.0409755744, 0.011655855, -0.0233135279, -0.020888729, 0.0056183455, -0.0152906291, -0.0401995517, 0.0252707358, 0.0191667639, -0.0366529338, -0.0194007177, -0.0046586264, 2.724e-7, 0.0365561619, 0.0812565237, -0.0251673143, 0.0217980277, -0.0156056881, 0.0145876417, -0.039086692, -0.0289004818, 0.0438929647, 0.0095176846, -0.032787066, 0.0329372436, 0.0163054559, 0.0895298868, -0.060601484, -0.0459240861, -0.02225996, 0.0361519195, -0.0493213311, 0.0271049533, 0.0227364283, 0.0293754265, 0.0193031486, 0.0157943461, -0.0273522176, -0.0404558294, 0.0252728108, -0.0769740567, 0.0023031808, 0.0218643844, 0.0228705723, -0.0239374768, 0.0352805927, 0.0398530699, 0.0291535929, -0.0256027617, 0.0109596634, 0.0286119413, 0.0509993285, -0.016358586, 0.0314042196, -0.0148401568, -0.0223957542, -0.0761127621, 0.0729120299, -0.0597411469, -0.0378353335, -0.0124510014, -0.0199834891, -0.0754523352, 0.0194380525, -0.0313668028, 0.0483672842, 0.0128173241, 0.006120692, -0.0261624325, -0.0223503616, -0.0252691414, -0.0112907197, 0.0051616305, -0.0083061736, -0.0791067779, -0.0596447214, -0.0139272483, 0.0137223462, -0.0379743464, -0.0151387444, 2.615352101e-34, 0.0470496826, -0.0094076302, 0.0306376871, 0.0624519549, -0.0031899128, 0.0034599928, 0.0064521106, 0.0025608998, 0.0162168071, -0.0809103847, -0.0231423806 ]
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.0039237533, 0.0634207949, -0.0362759046, 0.0779650211, -0.0246038716, -0.008612684, 0.0064051603, 0.0252436921, 0.0201908369, 0.0067178537, -0.0362441018, 0.0317549892, -0.0417112596, 0.0387461707, -0.008888822, 0.037976101, 0.0479054898, -0.0479944684, 0.0435260721, -0.0057043373, 0.0059836297, -0.0162897743, -0.0203709509, -0.011198164, 0.0018474495, 0.001704274, -0.0109106647, -0.0258422233, 0.0119698532, -0.0374588408, -0.0002104171, 0.0332100578, 0.0061422931, 0.0273298267, 0.0000022114, -0.0631354675, -0.0034673405, 0.0341108069, 0.0058177221, 0.0118411053, 0.0292584524, -0.0655468926, -0.0193267595, -0.0322886966, -0.0191150848, 0.0280014016, 0.0067741927, -0.0047791325, -0.0049260496, -0.0149785746, -0.0078317178, -0.0012867413, 0.0430236459, -0.0055707428, 0.0476263948, -0.0149408635, 0.0365236327, 0.0557665452, 0.0869376883, 0.0277418885, 0.0421995893, 0.0759009719, -0.0243022088, -0.0268019307, 0.0373658054, 0.0240593888, -0.0212087594, -0.0014854852, -0.0118053118, 0.0878380239, 0.0479994901, -0.015104848, -0.0025819938, -0.0314298421, -0.0610522144, 0.0490164943, -0.0184983667, 0.0249763969, -0.0247555617, 0.0105735939, 0.0290714465, -0.0103691053, 0.0290141981, 0.0236608088, -0.0385665037, 0.0759257078, -0.0120191425, -0.0270431582, -0.0106774187, 0.0089986837, -0.0019560475, -0.0054960446, 0.003425756, 0.0018132292, 0.0390255861, 0.0302901957, 0.0321251936, 0.0069417916, 0.0562923923, -0.0505000055, 0.0083297146, 0.0251639057, -0.0157478563, 0.0464553088, -0.0436488427, -0.0085986136, 0.0108954338, -0.0002307531, -0.0498688705, -0.0391758457, -0.0377675295, -0.0574469678, -0.0216305666, -0.0052824519, -0.0355984271, -0.0421025977, 0.0383205526, 0.0422694497, -0.000483536, 0.0293548759, -0.0337683894, -0.0440391004, -0.0254967641, -0.0336629599, -0.037677452, 0.0145995244, 0.0105965016, 0.0160911232, -0.0066083763, -0.0292144828, -0.0283857286, 0.0007346615, 0.0022227243, 0.0139753213, -0.0031417876, 0.0907161981, -0.0215337873, -0.0281188302, -0.022371253, -0.0504834689, 0.0142598581, -0.0315404013, 0.0183338653, -0.0073683714, 0.0837923437, 0.058457952, -0.0132736014, -0.0682648495, 0.010075694, -0.0466593392, 0.000589182, 0.0774592534, -0.0177435577, -0.0425675474, 0.0224807933, 0.0159911755, 0.0519816726, 0.0398640856, 0.0034785226, 0.0440458208, -0.0068036551, 0.0093535725, -0.0149687892, 0.0326925404, 0.0130938897, -0.026941305, -0.0492813699, -0.0142576918, 0.0087779723, 0.0187871866, 0.0047457856, -0.0138320792, 0.0149674295, 0.023487322, 0.0506402031, 0.0265317466, 0.0144558279, 0.0367949158, -0.0047813733, 0.0399978645, 0.0560986884, -0.0615381002, 0.0273657795, 0.0207290016, -0.0223326702, -0.0208124164, 0.0385169946, 0.0199865513, 0.0243506078, -0.0525673442, -0.0698829815, -0.0074617639, -0.0046573714, -0.028845923, 0.0762583837, -0.028568197, -0.0241993554, 0.0550680347, 0.0359758958, -0.043255467, -0.039644286, -0.0078719901, 0.0662189201, 0.0554304272, 0.0329827927, -0.0909333229, -0.0536387861, 0.0583430342, -0.0177489761, 0.035737142, -0.0148485228, -0.037419688, 0.0101170484, -0.0108521227, -0.0374649577, -0.0282830559, 0.0196519066, -0.0130022923, -0.0230419151, -0.0490166359, -0.0179677941, -0.0382917598, -0.0337131582, 0.030507315, -0.0429063141, -0.0035124824, 0.0165745188, -0.0031401161, 0.0281403717, 0.0231085476, 0.0361718349, 0.0122643346, 0.090980798, -0.0469282083, -0.0044038477, -0.0183959771, 0.0003443614, -0.0199592076, 0.028219685, -0.0302822217, 0.0502566583, -0.0496661998, -0.0130567849, -0.0145229474, 0.0280858614, 0.020196693, 0.005520165, -0.0002597174, -0.0066794036, 0.0060403058, 0.0474508591, -0.0533421375, 0.0459944978, -0.0010096007, -0.0011032009, 0.0107273171, 0.0140911387, 0.0275832955, -0.0148729058, 0.0138727417, 0.0343893804, 0.0235747434, 0.0022625485, 0.0260885879, -0.0305322893, 0.0008138375, -0.0251212493, 0.0048972145, 0.0030397768, 0.0246341079, 0.0096367905, 0.0364066958, -0.0177017655, -0.0304400604, -0.0057112938, 0.0723081976, 0.0228334181, -0.0275653526, -0.0767654926, 0.0668974221, 0.0306621008, -0.0287971217, -0.0099028628, -0.0338811912, -0.0452732258, 0.0485034324, 0.0033783449, 0.0170449764, -0.0590419024, 0.0197764914, 0.009688559, 0.0220695883, -0.0457977317, -0.0227042064, 0.0151543152, -0.0409375317, 0.0129096741, 0.0139964623, -0.0127118519, 0.0509326793, 0.0484157987, -0.0500049926, -0.0097362995, -0.0166990999, -0.0048145042, 0.0750379041, 0.0310518425, 0.0014982679, 0.0313116163, 0.050296247, -0.0305049699, 0.0318795443, 0.0083009731, 0.044634793, 0.0049030469, -0.0346858948, 0.017162649, 0.0232325643, 0.0395703949, 0.014324408, 0.0280632582, -0.0037728767, 0.0689152852, -0.061864946, 0.0014356155, -0.0705311373, -0.0263511483, -0.0148599064, 0.0294000134, -0.0100785801, 0.0153016401, 0.0319617689, 0.0253198817, 0.0151517754, -0.0150361955, 0.0137193557, -0.006965213, -0.0076428805, -0.0711951032, 0.0682941228, 0.0239564795, -0.0286933072, -0.0278423149, 0.0401111878, -0.0102896476, 0.0313187689, 0.0121400254, -0.0321710482, -0.0034359277, 0.0479550399, 0.0757607073, -0.0131819788, 0.0103242239, 0.0054698978, -0.0733203441, 0.0565763377, 0.016365489, -0.0393515378, 0.0474809594, 0.0178239755, 0.0355850123, 0.0584897362, -0.0005334686, -0.0030308999, -0.0705391616, -0.0069293408, 0.0313195325, 0.0196674746, 0.0198548976, -0.0125256116, -0.0186587088, -0.053410463, -0.0137322154, 0.0355283134, 0.0254578888, -0.0277833026, 0.0191139393, 0.0394989401, -0.0031725944, -0.0188454986, -0.0026394103, -0.1069693267, -0.0144580305, -0.001389376, 0.0094581544, 0.004040943, -0.0101199895, -0.0259263627, -0.0752471536, 0.0651744902, -0.0117568746, -0.0609394237, -0.0633865893, -0.067287758, -0.0111455806, 0.0110598654, -0.0062278286, 0.0662447587, -0.0489085428, -0.0310917851, 0.0112907067, -0.0327510089, -0.1076891273, 0.0335345268, 0.0135000069, -0.0037148714, 0.0008871421, 0.0233249012, -0.0422122553, -0.0037300757, 0.0352870263, -0.0250935983, 0.0033226339, -0.0974888876, -0.0327169299, 0.0307697877, -0.0143276248, -0.0073810248, 0.0472987778, -0.0200381987, -0.062804006, -0.0079367235, 0.107312426, -0.0388152227, 0.0259122457, -0.0414029881, -0.0301915538, 0.0368560106, 0.0640743896, -0.0377373658, -0.0151676275, -0.0777852237, -0.0007894278, -0.0215229671, 0.0081358878, -0.0117421076, 0.0057471697, -0.0278430823, 0.0194863752, 0.0017463858, -0.0047539496, 0.0073077986, -0.0130835818, -0.0242566839, -0.0075832475, -0.0098872054, 0.0082469899, -0.0812113285, 0.0386276096, -0.0339016207, -0.0019368537, -0.0165139474, -0.0181303453, 0.0349657536, -0.0605409965, -0.0238641668, 0.0422892831, -0.0288301166, -0.0573399551, 0.0149368271, 0.0136596635, 0.0179451257, 0.0270551126, -0.0227581039, -0.0652275458, 0.086315915, 0.0054018516, -0.0794940591, -0.0206635706, -0.0168950986, -0.0045203925, -0.0175586268, -0.019007979, 0.0080829114, 0.043810606, -0.0115127396, 0.0101039233, -0.0149917128, -0.0938209519, 0.010814853, 0.0379157998, 0.0153719895, 0.029656034, 0.0066948705, -0.0452454723, -0.0015672725, 0.0275391061, 0.0039830031, -0.0332828835, 0.0248186868, 0.0212688353, -0.0678010732, -0.0143067958, -0.0215430111, -0.0025392252, 0.0538632572, -0.0142162265, 0.0527640171, -0.0006062128, 0.0215090383, 0.0852530003, -0.0181192551, 0.0095321266, 0.0169178285, -0.0575915277, 0.0655196756, -0.0491297133, 0.0504433811, 0.0187713765, 0.0235743616, -0.048409529, 0.0464976057, -0.0341766663, -0.06385234, -0.0513082854, -0.0009709427, 0.0297866538, 0.0355902724, 0.0710889176, -0.0474664867, -0.0209640209, 0.003874206, 0.0431272686, -0.0092734797, 0.0144453254, 0.0380359814, 0.0169828646, -0.0074097975, -0.0345546752, 0.026730448, 0.0323852263, -0.0300875828, -0.0270822961, -0.022311734, -0.0355694219, -0.0101102814, -0.0033718424, -0.0032460114, -0.0418495312, -0.0318194591, -0.0515927933, -0.0016944761, 0.0113759106, 0.0820917487, -0.0426432267, -0.0223706737, 0.0007070649, 0.1247685105, 0.0162242353, -0.0409210995, -0.022582287, -0.0134743955, -0.0105186114, -0.0166156385, 0.0253048241, -6.223560801e-33, -0.0187387746, 0.0324299484, 0.0187020004, 0.0284470804, 0.0122459484, -0.0392942578, -0.0620162413, -0.0379809551, 0.0177432392, 0.0386957861, 0.0002695319, -0.0091833184, 0.009543485, -0.0211024024, 0.0623849444, 0.0409748033, 0.0068076393, 0.0449219346, -0.022960471, 0.0009865428, 0.0475759134, 0.0315872915, 0.05670904, -0.068800509, 0.0245209895, 0.0141041419, 0.0375451632, -0.0350853465, -0.0396855734, 0.0542304441, -0.0786873624, 0.0371403582, 0.0005507326, -0.0159510039, -0.0194513183, -0.0146676227, -0.090191856, -0.0105034867, -0.0173782911, 0.0030590016, 0.0182270966, -0.0006550836, 0.0071482626, -0.008238296, -0.0477639623, 0.0064202445, 0.0333028659, -0.040892031, 0.0238030218, -0.0232803971, -0.090729408, 0.0107899988, 0.0288559757, 0.0349636599, 0.0449858606, -0.0193044133, -0.0063999244, 0.021118924, -0.038130831, 0.0543916859, 0.0193633083, 0.0212554019, 0.0609630831, 0.0274058357, 0.0107304389, -0.0089205131, 0.0133502856, 0.0156623125, 0.0504853055, 0.0058236877, 0.0093009342, 0.0994714946, 0.0400911085, 0.0259661656, 0.0117403409, 0.0020183434, -0.1183797643, -0.0276736878, 0.0071991319, 0.0221255887, 0.0398452096, 0.0430892855, 0.0127608953, -0.0135487197, -0.013024332, 0.0246077925, 0.0255725496, -0.0173489656, -0.0273580384, 0.0049374141, -0.1034960076, 0.003481915, 0.0250021257, -0.0469709821, -0.0425246656, 0.0417420566, -0.0204775482, -0.009905112, -0.0254658815, 0.0056064022, -0.1032453775, -0.0560032837, -0.0454327352, -0.0126322862, 0.0317699201, 0.004665792, -0.0524152778, 0.0195747763, 0.0143900104, 0.0033948421, -0.0564057268, -0.039736852, 0.0118232081, 0.0022808625, 0.0080401273, 0.013154624, 0.0017721353, -0.0093944585, 0.006502484, 0.0057319989, 0.0184047185, 0.0290780477, -0.0131902853, -0.0052823108, -0.0041596307, -0.0234319102, -0.0832528695, -0.0118395835, 0.0538717099, -0.0275326557, 0.0333267823, 0.0361866355, 2.967e-7, 0.0550018437, 0.0504776835, 0.0366414338, 0.0363125615, -0.0246245284, 0.0061090891, -0.0355092548, -0.0261560287, -0.0006098652, -0.0181703083, 0.0222436972, 0.0327560715, 0.0261592325, 0.0325634666, -0.0536048971, -0.0090160286, 0.015928017, -0.0434610657, -0.0842054263, -0.0011314554, 0.0029044326, 0.0334694386, -0.0170099027, -0.0421165116, 0.0023967738, -0.0526333377, 0.0389276557, -0.0312017705, 0.0168914013, 0.0954304785, 0.0237632021, -0.0555186048, -0.0352316983, 0.0607334934, -0.0062050349, 0.0128401257, -0.0290720351, 0.0290091485, 0.0239957273, 0.0097812349, 0.006722352, -0.0549492687, 0.030216692, -0.0143217761, 0.0335099585, -0.0117669962, 0.0010326249, -0.0088029187, 0.0210990366, -0.0318094827, -0.0404897518, -0.0118814735, 0.0078918971, -0.0143487919, -0.0283292476, 0.0198503807, -0.0117997797, -0.0629989132, -0.0081948759, 0.0409431197, -0.0477081761, -0.0256290454, -0.002934708, -0.0405928269, 0.0204054136, -0.0358696803, 0.0114318021, 2.842584572e-34, 0.0288846325, 0.0029864109, -0.0138729177, 0.0396386236, 0.0268626697, -0.0082470533, -0.0397806428, 0.0363106728, -0.0251486506, -0.0903539732, 0.0236058142 ]
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.0227159914, 0.0730316639, 0.0085736318, 0.0264173429, -0.0071846223, -0.0211135335, 0.0300957467, -0.0215989146, -0.0718294978, 0.0119009428, -0.0610350296, -0.0466506779, 0.0211784728, 0.0176060237, 0.0498308241, -0.0649297014, 0.0136209177, -0.0035506138, -0.0464551412, 0.0001743683, 0.0288272463, 0.0192249808, 0.017469706, 0.018191658, -0.0164455399, -0.0361158587, -0.0117276469, 0.0032375914, 0.0658501312, -0.0072607077, -0.0184793882, 0.0626418591, 0.0614097528, 0.0033527969, 0.0000020924, 0.0179366693, -0.0083895102, 0.0254709981, 0.0284647159, 0.0303238872, 0.0868497714, -0.0200412981, 0.0205449685, -0.0398544818, -0.0246110894, -0.0204589404, 0.0891426876, 0.0586207174, 0.0798025057, 0.0670206919, -0.0383415483, -0.0344246104, 0.0254966654, -0.0622431599, 0.0424331985, -0.0367441922, 0.0275595021, -0.0073464746, -0.0426661037, -0.0068036802, -0.0389868915, 0.0357577577, 0.0162900481, 0.0119662303, 0.0398146994, 0.0546675511, -0.0185487643, -0.0439521149, 0.0081505086, 0.092307277, -0.0256531984, -0.0108557511, -0.0159088075, 0.0014523058, -0.0475776047, 0.0121296132, -0.0182441473, -0.0228438638, 0.0183651894, 0.027360227, -0.0397285931, -0.0012139051, 0.0179138053, -0.0089273341, -0.0307016652, -0.0064402465, 0.0378927588, 0.0111898342, -0.0088859797, 0.0305522643, -0.0545983873, -0.0366804861, 0.0353796259, 0.0062091858, 0.0152700637, 0.0112009179, -0.0836009085, -0.0811631233, -0.0141589837, -0.0179247577, 0.0617140159, 0.0242887698, 0.010577172, 0.0348699316, -0.0162666813, 0.000674293, -0.0491628498, 0.0060945502, -0.0682777166, -0.0301073622, 0.0077413176, 0.0052521336, -0.0464856401, -0.0092789857, -0.0162394512, -0.0600040182, -0.0302700382, 0.0108421687, -0.015483385, -0.0218985379, 0.0129489284, 0.0320790038, -0.0935060307, -0.0223680418, 0.0255909991, 0.0300533418, -0.0225946121, 0.0269699022, 0.0122746136, -0.0087170852, -0.0277239699, 0.0364381336, 0.0346561819, -0.0277961846, -0.0143033266, 0.0253384449, -0.070343785, -0.0434644297, -0.0330838785, 0.0002364135, -0.0326691084, -0.0599170588, 0.0344632939, -0.085732162, 0.050365217, -0.0191239826, -0.0147782313, -0.0481701866, 0.0064708884, 0.0156051824, -0.0285553392, 0.0865021273, 0.0079218596, 0.0091020875, 0.0203307029, 0.0125815626, 0.008654112, 0.0541442558, 0.0477996282, 0.0507341065, -0.017639745, 0.0197344907, -0.0261356644, 0.0513334721, 0.0489759892, 0.034686435, -0.0320167467, 0.0001443342, 0.012451577, 0.0404281281, 0.0778729245, 0.0403477922, -0.048731897, 0.0040947217, 0.076209493, 0.0501859076, -0.0207896847, 0.0181073453, 0.0655330569, 0.0302830823, -0.0300568026, -0.0172123909, -0.0174076743, 0.0499760918, 0.0442857072, 0.0043401639, 0.0670501813, 0.0237831715, -0.0464949571, -0.0021836287, 0.0312470477, -0.0091857053, -0.0084910505, -0.0265137069, 0.0358748063, 0.0177158434, -0.0122777838, 0.0695041046, 0.019993918, -0.0290071648, -0.0013585058, 0.0058814981, 0.0076781637, 0.0614168644, 0.0082800239, 0.0107851354, -0.0272340383, 0.0272341967, 0.0373430811, 0.0743504986, -0.0117445467, 0.021281993, 0.006310137, -0.062527068, -0.000208302, 0.0013287305, -0.0105139483, 0.0523719266, 0.0048483326, 0.0319845676, -0.0005476525, -0.0196475387, 0.0050071105, 0.0303030144, -0.0238255765, 0.0031427459, -0.0375714637, 0.0176896155, 0.0273111239, -0.0337284096, -0.0334763415, -0.0100292927, -0.0027295572, -0.0357730389, -0.0305557251, -0.016345391, -0.0085300123, -0.024280468, 0.0072794226, -0.0967021435, -0.0240683015, 0.0163791124, -0.0391966701, -0.04885111, 0.0104375184, -0.0162317455, 0.0251166858, -0.0202368889, -0.0093681607, 0.039604079, 0.0347522236, -0.0194212887, 0.0206244998, -0.0262957625, -0.0185273401, 0.005071932, 0.0069038905, -0.0056811594, -0.0098071853, -0.0311494544, -0.0023829553, 0.0311097447, -0.0019014021, -0.0285541788, 0.0268984847, -0.0265060421, -0.0017304355, -0.0798363611, 0.0372416973, -0.0161905102, -0.0069502164, 0.0080283936, 0.0023061752, 0.0108096022, 0.0104510607, -0.0406828225, 0.0013547873, -0.0402038023, 0.0036703474, 0.0329539739, 0.0099670552, 0.0483429059, -0.0457142666, -0.0187908523, 0.0112633035, 0.0520974472, -0.0240398161, -0.0231240075, -0.0056725792, 0.0333883688, -0.0247774143, 0.0234052315, -0.0170713738, -0.0168860462, 0.0006523603, -0.0157795101, 0.1015342101, 0.0676300749, 0.0146814445, -0.0110938912, 0.0100010168, -0.0058847959, -0.0318287835, 0.0039557642, -0.0194232576, -0.0109162517, 0.00438593, -0.0222962275, -0.0249463506, 0.0428493097, -0.019830497, -0.0024118649, -0.1009794399, 0.021113323, 0.0049717035, -0.0224551242, -0.0219187867, 0.0370188616, -0.0160495024, -0.0108328676, -0.0694469139, -0.0384723991, 0.0630111396, -0.0381466262, -0.0120410435, -0.0298083425, 0.0158479996, 0.0011447797, 0.0291698389, 0.0350444242, 0.0367883742, -0.0122439554, 0.0177153982, -0.049420204, 0.0374288708, 0.0184966009, -0.0003383222, 0.0518624783, -0.0064271512, 0.0109864092, -0.0452598929, -0.0185730923, 0.0045925383, -0.0442974828, 0.0250774026, -0.0308023896, 0.0140304556, -0.0294818413, -0.010219303, 0.0203574244, 0.0002590762, 0.0253497958, -0.0199086461, -0.0051276679, -0.0173463039, 0.043726936, 0.0836975724, -0.0147710759, -0.0277239904, -0.0452850945, -0.0320059098, 0.0587176755, 0.0244465284, -0.0113520306, -0.0479458794, 0.0008732309, -0.0027440509, 0.0263020471, 0.0184775367, -0.013098645, 0.0900701135, -0.0292006172, -0.0133371148, 0.0530871227, 0.0054825116, -0.0855137557, -0.038503468, 0.0543932319, 0.0458705649, 0.0003447731, 0.004084941, -0.0675811023, -0.0303739998, -0.0357723609, -0.0050791185, 0.0306087714, 0.0060610222, -0.0354793072, -0.0777775496, 0.0359063111, 0.0288342088, -0.0225037485, 0.0103391893, -0.0003662827, 0.0214794818, 0.0044979006, -0.0159409419, -0.0328727365, 0.0283881612, 0.0003955938, 0.0001952437, 0.0369561352, -0.0724735931, -0.0126929339, -0.0348382033, 0.0207617357, 0.0318197496, 0.0366051719, -0.0023398164, -0.064104706, 0.0260282233, -0.010048056, -0.0196927842, 0.0073141041, 0.0747152716, -0.0369136706, -0.0124378409, -0.0159669202, 0.060696777, -0.0257915314, -0.0143528702, -0.0278005097, 0.0687576234, -0.0047207819, -0.0265714936, -0.0598779842, 0.015555203, 0.0314365253, 0.0513315238, 0.0257695317, -0.0914985612, -0.011861369, -0.0020843917, -0.000818848, -0.0540121906, -0.0305680837, -0.0192600321, -0.0277853906, -0.0468495712, -0.0452383943, -0.0168815292, 0.0224014297, 0.0417220332, -0.0040861503, -0.0210934523, -0.0118823191, -0.0348558873, -0.0364154391, 0.0853195712, -0.0386956967, 0.0317759588, -0.0250663459, -0.0196385868, 0.0365815945, -0.0293428935, -0.0193126369, 0.0304464698, -0.1291826963, -0.046553541, -0.0195301734, 0.0612525381, 0.0069684065, 0.0686293021, -0.005768985, -0.0330936536, 0.0652141273, 0.0083656581, 0.0306446869, 0.0231681354, 0.0180758052, -0.0247184224, -0.0059080729, 0.0340901352, -0.0189092532, 0.0514802411, 0.0142504871, 0.0051675788, 0.0090485075, -0.0212357994, -0.0121393912, -0.040441364, 0.06887348, -0.0050563025, 0.0335655697, -0.0445108488, -0.0084453952, 0.0026322666, -0.0183759816, -0.0711083859, -0.0443364419, 0.0282209497, 0.0273313783, -0.0356760882, -0.0153766787, 0.0492842607, 0.0015849767, -0.031048255, -0.0212834738, 0.0158326812, 0.0230527278, 0.024544267, 0.0415716656, -0.0253401566, 0.0182321128, -0.0357745476, 0.0090629598, -0.013955229, 0.049024798, 0.0424701795, -0.0032501484, -0.0307613965, 0.0399672687, -0.0117178177, -0.000748851, -0.0506572612, 0.0108401403, 0.0685780048, 0.0063151792, 0.0622769371, -0.0146441897, -0.0269879736, -0.0124328565, 0.019171739, -0.0381900072, -0.0183116887, 0.042908825, -0.0257591587, 0.0107157668, 0.012842657, 0.0733957514, -0.0232668035, 0.0170066934, -0.0145931114, -0.0044204118, -0.0219667815, -0.0111706378, -0.0215001367, 0.0050599077, 0.0089600896, -0.0149047989, -0.0183197744, -0.0596011952, 0.0091284085, 0.0193323158, -0.0691535696, 0.0199272335, 0.0571487695, 0.0385975018, -0.0274458602, -0.0221506823, -0.0007106556, 0.0137006538, -0.0147128031, -0.0183324721, -0.0186565686, -6.510485748e-33, -0.0731127709, -0.0007478687, 0.0253033247, 0.0421818085, -0.0714781582, -0.0011777768, -0.044610329, 0.015971655, 0.009926822, 0.0321468413, 0.0062040961, -0.0030329106, 0.0130081791, 0.0364837684, -0.0027261227, 0.0412887782, 0.0529925972, -0.0132947154, -0.0120825227, 0.0368550904, 0.0086863078, 0.0136219123, 0.05984281, -0.0255882423, -0.0164886285, -0.004377814, -0.0086584315, -0.009200451, 0.0299218036, 0.0297687501, -0.0220085159, 0.0274360515, 0.0013121064, -0.0116514871, -0.0340102725, 0.0169152562, -0.0647035018, -0.0273294039, -0.0004752899, -0.0075592441, -0.0671946779, -0.0598886758, 0.060639061, -0.000947241, 0.021882195, -0.0295895375, 0.0602703579, -0.0002339576, -0.0065624914, -0.0423682295, -0.0489910804, 0.0094516566, -0.0055255033, -0.0100187575, 0.0193725862, 0.0171544682, 0.007087097, 0.0331799313, -0.1140663773, -0.0146355946, -0.0220998637, 0.0123344073, 0.052391503, 0.0446054712, 0.0273704566, 0.0293386374, 0.0218688156, -0.0037147347, 0.0202298425, -0.0059035369, 0.0507847294, 0.0429571867, 0.0195357315, 0.0198907629, 0.0070532775, 0.008818428, -0.0332545526, 0.0199177004, -0.0665393025, -0.0102791954, 0.0393582992, 0.0287285633, 0.0353429839, 0.0171896815, -0.0280807186, -0.036886476, -0.0270703547, -0.0366621874, 0.0242888108, 0.0115920315, -0.0019396839, 0.0216005407, 0.0837394595, 0.0032814578, -0.0011830505, -0.0318580344, -0.0293956678, 0.0650249049, -0.0140129784, 0.0585993305, -0.0756508932, -0.0226982888, 0.0261653364, -0.0060867863, -0.0093187569, 0.0359798595, 0.0503530838, -0.004994066, -0.036193639, -0.0231938381, -0.0255250223, -0.0248322971, -0.0349792615, 0.0778145567, 0.0411642529, 0.0113154538, -0.0279326327, 0.0355474018, 0.0034008222, 0.0299411565, -0.0226833262, -0.0235123169, 0.0178771038, -0.0050853319, -0.0133782672, 0.0377344899, -0.0617394596, -0.012643625, 0.0492577218, -0.0679096058, -0.024089871, 0.0607966781, 2.76e-7, 0.0531555749, 0.0135722961, 0.0108345402, 0.0080558937, 0.0259497147, 0.0288271662, -0.0181117393, 0.0545780957, -0.0067635407, -0.0116526159, 0.0365910903, 0.0704317614, 0.0268525742, -0.0086214934, -0.0581263974, -0.0073945401, -0.0255696177, 0.0224933047, -0.0546670482, -0.0222233292, 0.0128227444, 0.1096948683, 0.0107373111, 0.0132544329, 0.0481595099, 0.0108995382, 0.1225456297, -0.0130274482, -0.013572894, 0.0338898562, -0.0124976067, -0.004267327, -0.0618411414, 0.0208598543, -0.0145441042, 0.003055464, 0.0574960075, 0.0770614222, -0.034650106, -0.0308270305, -0.0162169915, 0.0308063086, -0.0278054737, -0.0455052443, 0.0652624965, -0.0951016843, -0.0396315493, -0.0341544598, -0.0318719111, 0.0108703906, 0.0402345322, -0.0112172281, -0.0132462606, 0.0295156278, 0.0417619832, 0.0045519085, -0.0504791662, -0.0973955542, -0.0109990034, -0.0198748503, -0.0589590073, -0.0096313478, -0.0794600546, -0.0286848079, 0.0466682799, -0.0191711634, -0.0385716483, 2.27530133e-34, 0.0188020412, -0.0228022691, 0.0182632897, -0.0357577316, 0.0088865971, -0.0047861901, -0.0491481759, -0.0056864331, -0.0103183519, -0.0812417492, -0.0343917869 ]
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.0014229396, 0.0024744424, 0.0238821562, 0.006759793, -0.0026518719, 0.0400684662, -0.0181360971, -0.043940749, -0.0061976779, -0.0324655175, -0.0225486923, 0.0145847499, -0.0247120578, 0.0552508198, -0.0040899087, -0.0355480313, 0.0635384992, -0.0301270485, -0.0175937023, 0.0030554638, -0.0239942968, -0.0149445375, -0.0280171409, 0.0162053052, -0.0184852555, 0.0164963733, -0.0539071225, 0.022149764, 0.0364439115, -0.0346621312, 0.0017601587, -0.0417901799, 0.1131690592, 0.0122388927, 0.0000020667, -0.0616169572, -0.0362025537, -0.0369600877, -0.0032316046, -0.0716365725, 0.0066053933, -0.0026282598, 0.0107949488, 0.0460556112, -0.0380943567, 0.0339140147, 0.0278860964, 0.0011720603, 0.0209376253, 0.064450413, 0.0206750017, -0.0162492767, 0.0035163208, 0.0078140302, 0.0126666632, -0.0411056168, 0.018519314, 0.0445055179, 0.0622673519, -0.0410141535, -0.0275037456, -0.0288488995, 0.0347303636, -0.0163552817, -0.0136403339, 0.0351194218, 0.0155763049, -0.033275459, -0.0234104507, 0.0333006792, -0.0322325602, -0.0153300995, 0.01844294, 0.0263085533, 0.0012070251, -0.0397586226, -0.0295704976, 0.007510093, -0.0213938225, 0.0003448932, -0.0528810024, -0.0341001712, 0.0147639913, 0.0009653635, -0.0436831303, 0.1113573015, -0.0299376342, 0.01862216, 0.0217462908, -0.0184852295, -0.0052301413, -0.0524755754, -0.0011017605, 0.106396623, -0.058739502, 0.0345930271, -0.0242814012, 0.023362834, -0.0270600766, -0.0260863323, -0.0292669144, 0.0409042612, -0.0157261435, 0.0283326562, -0.0541254282, 0.069305338, -0.0166532956, 0.0668975711, -0.0046391697, -0.0006037778, -0.0807541609, 0.0305354912, -0.0218931884, 0.0578867123, 0.0198092498, 0.0048253736, -0.0203901641, 0.0756018087, -0.0312783569, 0.053469751, -0.0488913804, 0.0216647256, -0.0162220169, -0.0076354844, -0.053023614, -0.0142873628, -0.0214179978, 0.0435557067, 0.0014734562, 0.0004621256, -0.0021154562, 0.0251407512, 0.006560341, 0.0316523872, 0.0253155623, 0.1304435134, 0.0023303516, -0.0423229411, -0.0255915951, -0.0006818019, 0.0293801799, -0.0626060814, 0.0452066846, -0.0292461924, 0.0012066804, 0.0018887365, -0.0137778362, -0.0099225305, 0.0160870459, -0.0011669777, 0.0128169246, 0.0889700502, -0.0346800461, -0.005311063, 0.017634429, 0.0093659433, -0.0493272208, 0.0566884652, 0.0487084463, 0.0357743725, -0.0084802201, 0.0360062085, 0.0186423883, 0.0221629255, -0.0413163528, 0.0003596848, -0.0442401469, -0.0124215465, -0.0095173866, 0.0301204547, -0.0033988713, -0.0240393337, -0.000236476, 0.0436641946, 0.00460365, 0.0164512135, -0.0635847002, 0.017854495, 0.0224808473, 0.0018970851, -0.0283018295, -0.0584906191, -0.0485430211, 0.0467982367, -0.032797683, 0.0078422204, -0.0512209237, -0.0197278839, -0.0044104825, -0.0529343411, -0.0032484815, 0.0109259207, 0.0177895185, 0.0269514024, 0.0548199043, 0.0155403391, -0.0629879013, -0.0155378738, 0.0008827876, -0.0163405612, -0.0378574878, -0.0382948034, 0.0499731936, 0.0616974495, 0.0234478135, -0.0667195916, -0.0561315604, -0.0324224792, -0.0041420348, 0.0351226181, -0.0661348179, -0.0151288575, 0.0448252633, -0.0023383105, -0.051867675, -0.0093446253, -0.0082252668, 0.0712626353, 0.0297663957, 0.0050395778, -0.0391836874, -0.0269930717, 0.0214114375, 0.0469700284, 0.0032166741, -0.0219730847, 0.0127703361, 0.0056711468, 0.0397331752, -0.0128461635, 0.0048269616, -0.0375754163, 0.0484030135, -0.0217119437, -0.0468541384, 0.0279958416, -0.0305335224, -0.0227378272, 0.0562602356, -0.0184864029, -0.0376880206, 0.0341518857, -0.0660222098, -0.0427240692, 0.0226463284, 0.0016628789, 0.0349202678, 0.0272679292, -0.0164662004, 0.0013929814, -0.0341497324, -0.0111550735, 0.0270190388, -0.0251987092, -0.0147227021, 0.024509605, 0.0341636539, 0.011203507, -0.0301131643, 0.0161575265, -0.0186044909, -0.0155811403, -0.0193510335, 0.0120150289, 0.0534363315, -0.0069062989, 0.0111798951, -0.0358895883, -0.0187746417, -0.0133693758, -0.0225776732, 0.0148818074, -0.0498934984, 0.0009954843, -0.0404653251, 0.0454097614, 0.0506100133, -0.0130790994, -0.0185075756, 0.0303395595, 0.0234616958, -0.0535339341, -0.0401099883, 0.0404844582, -0.0102553284, -0.0175320618, 0.0136837866, -0.0260747243, -0.0547617227, 0.0519234203, -0.0377363302, 0.0403031185, -0.0240583234, 0.0034261909, 0.06105325, -0.0517148226, -0.0083835563, 0.0813121796, -0.0382602401, 0.008273269, 0.0859462619, 0.021834068, -0.049556192, 0.0424818769, -0.0269848052, -0.0428330302, -0.0270853434, 0.0312906429, -0.016312426, 0.029902501, -0.0089399219, 0.0162281245, -0.0379836746, -0.0256792177, 0.011020246, -0.0533931814, -0.07182239, 0.0108141806, -0.0380597934, 0.020465415, -0.0396802574, -0.040721111, 0.0307584144, 0.02232516, 0.0022434222, 0.0178115461, -0.0190853439, -0.007560757, 0.0392504223, 0.0137744872, -0.0054869214, -0.0051076291, -0.0288374964, -0.0160791297, -0.0011966048, -0.0159216449, 0.0072799176, 0.0370956287, -0.0853591412, 0.0309610032, 0.0271081775, -0.0415340178, -0.0481183156, 0.0783346072, -0.0541634597, 0.0211885553, -0.1007464007, -0.0480991453, 0.0075851651, -0.0403156281, 0.0322012827, 0.0477383398, -0.0122817326, -0.0311029907, -0.052838888, -0.0269382801, 0.0190638918, 0.0471885018, -0.0330914147, -0.0316447914, -0.0251347404, 0.01709277, 0.0473769009, -0.0538091809, -0.0778130367, 0.032994654, 0.0087756114, -0.0004029008, 0.0420372002, 0.0374626406, 0.0331024602, -0.0611418448, -0.0637010783, 0.055321347, 0.0135173146, -0.0203930903, 0.0022572221, -0.0377698205, 0.0057256706, 0.0779049397, 0.0366126113, -0.0085858405, -0.0619733445, 0.0265820213, 0.0249471348, 0.03062311, -0.0250210185, -0.0139531195, -0.0923656523, 0.0089597302, -0.001386505, -0.0698056147, -0.0715689808, -0.0087250005, 0.0028729073, -0.0104748616, -0.0158851705, 0.0319377035, 0.0034431566, -0.0269631166, 0.0292241704, 0.0068640308, -0.028354127, 0.0059038852, -0.0142539861, -0.0316443145, 0.0804819241, 0.008385933, -0.0065756403, 0.0138985133, 0.0675347298, 0.0532318354, 0.0359330364, -0.0401327908, -0.0463764034, -0.0260190275, -0.0052402564, 0.021613583, 0.043689061, -0.0310861208, -0.0441891812, -0.0144088771, 0.064013429, -0.0268347021, 0.0251197442, -0.016449688, -0.0330055356, 0.0183460489, 0.0335350633, -0.018314518, -0.0063722222, -0.0415462069, -0.0503100604, -0.0503206328, -0.0000409523, 0.0020102246, -0.0304350518, -0.038647972, -0.0069776615, -0.0404457524, 0.0079961391, 0.0415561534, 0.0376790948, 0.0098595396, -0.0852018893, -0.0054508708, 0.037793342, -0.0671910942, -0.0199748259, -0.0128522422, -0.0049935142, 0.0005314889, 0.0252854284, 0.0309234168, -0.0248896666, -0.0234773569, 0.0076947976, -0.0374478959, -0.050301075, 0.0282535758, 0.0746536478, 0.0192544647, 0.0394892916, 0.0080799256, 0.0064571858, 0.0939934254, -0.0067275329, 0.0493815131, 0.0345284194, 0.0305720512, 0.0869250894, 0.0131530138, 0.0202267691, -0.1174492314, 0.005996271, 0.0183277801, 0.0035435699, -0.0468160175, 0.0158554092, 0.0217260364, -0.041308634, -0.0035430496, 0.006113294, 0.0062460406, -0.0337657891, 0.0404007733, 0.0059949216, 0.006063744, -0.0556556918, 0.0460420474, -0.0051939655, -0.0145685347, 0.0393965468, 0.0007938212, 0.0396599285, 0.0466181412, 0.0153671252, -0.0300998352, 0.0377269238, 0.0297894273, -0.0055267406, 0.0118758967, -0.0004900903, 0.0245902464, -0.0038273425, 0.0418880358, -0.0069996798, 0.0692737997, 0.0358639471, 0.0093559735, -0.0505892001, 0.0145151457, -0.0484912433, -0.0707347468, 0.006372652, 0.0422425903, 0.0516713224, 0.0207608268, -0.0071237884, -0.0875584558, 0.0166317821, 0.003282404, 0.0413213298, -0.0108745536, -0.0300263222, 0.0570147634, 0.0295680538, 0.0306612365, 0.0323762037, 0.0423707627, -0.0077964524, 0.0645526052, -0.0146344798, 0.0200387686, -0.0528892651, -0.0020082055, 0.0350458696, 0.0105323195, 0.0441180803, -0.0091267182, -0.0083663203, -0.037222974, -0.0134967389, 0.0393510424, -0.0003515967, -0.0212266985, 0.0351705588, 0.0110371429, 0.0202535782, -0.0696590096, 0.0233061593, -0.0337394476, 0.0221712869, 0.0156585574, -0.0268538371, -5.565366616e-33, -0.0253626965, -0.0524056852, 0.0273715556, -0.0160072483, 0.0012352574, -0.0454908423, -0.0150176147, -0.0187856313, -0.00788208, 0.0159881376, -0.0097688129, 0.0192080624, -0.000004481, -0.006303465, 0.0326108746, -0.0292711034, 0.0102302246, -0.0091161421, -0.0231053699, -0.0158654451, 0.0642096624, 0.0352867283, 0.029972693, -0.0364844985, 0.0014129763, 0.0268846564, -0.0435740836, 0.0785498992, -0.0241696071, -0.0260792952, 0.0202403367, -0.0099852188, 0.007591127, 0.0082079582, -0.0365475863, 0.0375951082, -0.0672838911, -0.0513296612, -0.0468929522, 0.0197061189, -0.0552913696, -0.0112587847, 0.0844170526, 0.0074892188, -0.0146407587, 0.0119335754, 0.0063089291, -0.026283551, 0.0049690465, -0.0320503302, -0.0018483924, -0.0083908578, 0.0002064713, -0.0404701903, -0.0118472343, 0.0428778641, -0.005904505, 0.0170243755, -0.0440548323, -0.0061526243, -0.0297563244, -0.0211653635, 0.0652709901, 0.0100505026, 0.0335883051, 0.0405738838, 0.0091658989, -0.0156023549, 0.0124965906, -0.0129132867, 0.0031412961, 0.0586874783, 0.0133627513, 0.0334860533, 0.0268337484, 0.0311748628, -0.0515674017, 0.034428481, -0.0453316122, 0.1230498403, 0.0096607553, 0.0202136375, -0.0332557335, 0.0160454419, 0.0130892303, 0.0384612828, 0.010163174, -0.0084343823, 0.0489706695, 0.0278923996, 0.0004798397, -0.0579886585, 0.0103537124, -0.0319676027, 0.0277439263, 0.0090312846, -0.0234113261, 0.0219256729, 0.0282606296, -0.0047042319, -0.0563960932, -0.0412185825, -0.0273159686, -0.0219959598, 0.0119772209, -0.0228899121, -0.0379003696, 0.10656932, -0.0197611935, 0.0031295887, -0.0523940772, 0.0126727493, 0.0354732648, 0.0026569539, 0.0539018847, 0.0081853606, -0.0154423891, 0.0715783834, -0.0361023992, -0.0375492871, 0.0080889212, 0.0002355703, -0.0393952653, 0.0435775369, -0.0496259816, -0.0325226896, -0.0077815056, 0.0246536303, -0.019014189, -0.0564704239, 0.0223170519, 0.02867111, 2.833e-7, -0.0184834041, 0.0217840727, 0.0131105622, 0.0259913057, 0.0205790922, 0.0632696226, -0.0298211239, 0.0431750938, -0.0296136774, -0.0355232134, 0.01888966, 0.0559784621, -0.0024739888, -0.0275342092, -0.0623627752, -0.0180680342, 0.0375199169, -0.0160271022, -0.0238491334, -0.0070393574, 0.0468417667, 0.0700146407, 0.0091530597, -0.0177443475, 0.0438209139, -0.0681498423, 0.0502467193, -0.0231535584, 0.0282168537, -0.0295382179, 0.0154670784, 0.0088363383, -0.0071958597, -0.0237937011, 0.0019581313, 0.0383612551, -0.0494467132, 0.0591054559, -0.0068906685, -0.0705743879, 0.0018336131, 0.0283204708, 0.0243025329, -0.0278486218, 0.0542616509, -0.0636413991, 0.0524460115, -0.0016354426, 0.0340789296, -0.0137324957, -0.0535579883, 0.0216865167, -0.0075247595, -0.0239120685, -0.020282615, 0.00043379, -0.0393390469, -0.0633895621, 0.0091205426, -0.0020337845, -0.07929793, 0.0055395095, 0.0040293681, 0.0022267494, 0.00577003, -0.0119224852, -0.0238389038, 2.283407649e-34, -0.0111445729, -0.0410523266, -0.0164823551, 0.078935571, -0.0233006123, 0.0058787814, -0.0344035216, 0.0022933104, 0.0665531904, 0.0233740229, -0.01754044 ]
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.0610248595, -0.0079600224, -0.0072863307, 0.0244308356, 0.0073776124, 0.0241780672, 0.0256017391, -0.055577036, -0.009891592, -0.0621518083, 0.019685857, 0.0393405668, 0.0104098748, 0.026666943, -0.0060020643, -0.0560527518, 0.0051351679, 0.0168677904, 0.0286448915, 0.0367079563, 0.0175234508, 0.0303550623, -0.0609633699, 0.0530188419, 0.0092935897, -0.0459614284, -0.0357416235, -0.0012183603, 0.0244265459, -0.0096917879, 0.0721985325, 0.0802558437, -0.0357750952, 0.0183172785, 0.0000026351, -0.0463220179, -0.0207888391, -0.047303658, -0.0068158032, 0.0057850541, 0.0159083735, 0.0474151559, -0.0078723449, 0.0146838706, -0.0770288631, 0.0460012183, 0.0247549526, 0.0186449774, 0.0569760092, 0.0353911631, -0.0015829875, -0.0408185162, -0.0137727074, 0.020240996, -0.0218789112, 0.0008730286, 0.0148062343, 0.0293362383, -0.0043524373, 0.0186324716, -0.0110375006, 0.0171318185, -0.0311434362, -0.0767742246, 0.0491437465, -0.0071547697, -0.053311035, -0.0692734346, 0.0152834961, 0.0925111547, 0.0570047721, 0.0143361511, 0.0193396918, 0.0152125154, 0.0280995276, -0.0031969245, -0.0959297717, -0.0157566462, -0.0076653641, -0.0051219114, -0.0565709099, -0.0105649112, -0.0426331051, 0.0100848367, 0.0391046666, 0.0313207954, -0.029950045, 0.0192996785, -0.0063711433, 0.0066024582, 0.0261317696, -0.0443795547, 0.0150088081, 0.0333997495, 0.0131502477, 0.0211954955, 0.0068971203, -0.0388234034, 0.0198195409, -0.0227779243, -0.0475470275, 0.0542139597, -0.0226332266, 0.0122579802, 0.0535951704, -0.0180580486, 0.0273760241, 0.0213872883, -0.0039998009, 0.0130770979, -0.050746534, 0.016972268, -0.0202864632, 0.0275795162, -0.0163494572, -0.0039145392, -0.0366469584, 0.0259506833, -0.0304617789, 0.0376936868, -0.0575645976, 0.0005768452, -0.0006513832, 0.0331745632, -0.0205031708, 0.0791041702, -0.018454235, -0.0007038527, 0.0048402618, -0.0154620996, 0.042404566, -0.0036242125, 0.0003392393, -0.0241306424, -0.0343489647, -0.0224871393, 0.005929586, -0.0178947132, 0.0297094639, -0.0535556972, 0.00241262, -0.0145650906, 0.044979997, -0.056472037, 0.0112612518, 0.0388298407, 0.016513383, -0.021702962, 0.0029556646, 0.0330679528, -0.0348000564, 0.0229964238, -0.0367365256, -0.0177551322, 0.0890367553, 0.0618785545, 0.0479331724, 0.0134715121, 0.0262054969, -0.0092302412, 0.0669630393, -0.0520179309, -0.022135729, 0.0218211953, 0.0399126038, -0.041782137, 0.0352001004, 0.0304147583, -0.0198105481, 0.0077713309, -0.060392417, -0.0154078016, -0.0081857201, 0.000699743, -0.0212861933, 0.0660750568, -0.0145749813, 0.0062117712, -0.0171309114, 0.0758041441, 0.0652623475, -0.0112199103, -0.0219287928, 0.022688156, -0.0160534233, -0.0107510872, 0.0420436449, 0.0078065195, 0.0160901304, -0.0790219828, -0.0201318208, -0.0167641137, 0.0076404614, 0.019694278, 0.0112026939, -0.0267453548, -0.0169182997, 0.022526186, 0.0519920401, -0.08488442, -0.0229768641, -0.0312348716, 0.0704708472, 0.0965670645, 0.0577476472, -0.0155968703, -0.0506037176, -0.0396253243, 0.0623099394, 0.0070526013, 0.0387076549, -0.0292417612, -0.0095017552, -0.0270646084, -0.0021986095, -0.0380736887, 0.0031631384, -0.0333975963, 0.0211091079, 0.0058204154, 0.002323139, 0.0381665789, -0.0409771204, 0.0079397876, -0.0186708681, -0.0069335783, -0.0234903954, 0.0047377301, 0.0064529986, 0.0646594241, 0.0080657387, -0.0107463375, 0.0231026039, 0.0624103956, 0.0322593525, 0.0067583532, -0.0178040992, -0.0405633412, 0.0517951287, -0.0569558963, -0.0123959435, 0.0163942743, -0.0264474899, -0.015055446, 0.0399064906, -0.0088151498, 0.082275942, 0.0413435772, 0.001086061, -0.0173255485, 0.0094183423, -0.0012556912, -0.0172089078, 0.0296364799, -0.0027278799, 0.0167433973, 0.0126448693, 0.0441529825, 0.0098758051, 0.0032074875, 0.0009220224, -0.0220227614, -0.0200188775, 0.0168649945, -0.0233617797, -0.1015738621, 0.017972989, -0.1269118488, -0.0164131168, 0.0044511165, -0.0098430607, -0.0008115901, 0.0011749808, -0.019740738, -0.0428841226, 0.007376431, 0.0374486744, -0.0158267505, -0.0255786702, 0.0314494483, 0.0303465538, 0.0072228536, -0.064849779, -0.0191869494, -0.0257908031, 0.0414261855, 0.0490786545, -0.0291179512, 0.0122310398, -0.0088319033, -0.0671269447, -0.008669666, -0.0148797175, -0.0374958701, 0.0069454769, 0.009159483, 0.0557184443, 0.0340848453, 0.0454083607, 0.0707438067, 0.0106140263, -0.0624049418, -0.0267347731, 0.0008264504, -0.0070332177, -0.0024808403, -0.0325401574, -0.0250964984, -0.0286797583, 0.0383138247, -0.0096659027, -0.0352293923, 0.0047802301, 0.0064411219, 0.0136405742, 0.0219857823, -0.0621642284, -0.0222185384, 0.0024560653, 0.0158690643, 0.0029587366, 0.0043248162, 0.0253762919, 0.0124525893, 0.0013470162, -0.062999405, -0.0239962693, -0.0208343994, 0.0568777956, -0.0378893912, -0.0341731571, 0.0062799095, -0.0053512398, -0.0018478582, 0.0021739264, 0.0276788138, -0.0630628169, 0.017348744, -0.0484958477, -0.0135228196, -0.0103644524, 0.0520427153, -0.0333590172, 0.0025863298, -0.0411403663, -0.0390840583, -0.0109434361, -0.0265375674, -0.0113060335, -0.07239452, -0.0127996821, 0.0302646328, -0.0115000261, -0.0036089781, 0.0022818346, 0.0319048911, 0.0388270169, -0.0058749886, 0.0059282547, 0.0034088995, 0.0881636292, 0.0892197341, 0.0097571369, -0.0053530848, 0.0140470956, -0.0576583147, 0.0278108083, -0.0047606705, 0.0176882576, -0.0249203965, 0.0427299477, -0.0755363405, -0.0069846134, 0.1144513413, 0.0193718504, -0.0329317898, -0.0020513742, -0.0485177971, 0.0195562225, -0.0126771722, 0.0023008736, -0.1119162142, -0.0170023274, -0.0394408219, 0.0315342247, -0.0322431661, -0.045262862, 0.0000096288, -0.0319002047, -0.0016245095, 0.0116038006, 0.0046013035, 0.0070640678, -0.0265663117, 0.0027368208, -0.0026950371, -0.0034533048, -0.0592394695, 0.0132897347, 0.0344819278, 0.0180245601, -0.02891583, -0.0292542335, -0.003737875, 0.0212583337, 0.0467611216, 0.0103434296, 0.0769949406, 0.0082373908, -0.0117459083, 0.0709041134, 0.0192868747, -0.0436164625, -0.0043653003, 0.0655243769, -0.0154605601, 0.0047408626, -0.0431738421, 0.0433138013, -0.0085282316, -0.0417720303, 0.0647289008, 0.0250517726, -0.0402982123, 0.0020136279, -0.0606279634, 0.050246343, 0.0162668768, 0.0646100342, 0.0279476214, -0.0448022336, 0.027268067, -0.040496733, 0.0134638362, -0.0116759799, -0.0303207561, -0.0205848794, 0.01209551, 0.0116116032, -0.0249359142, -0.0469527692, 0.0567482598, -0.0450130627, -0.0305284373, -0.0216191877, 0.0237284396, 0.0205410551, -0.0579482093, 0.035154961, 0.0068876292, 0.0201134477, -0.0671882629, -0.0693823025, -0.015809413, 0.0137232002, -0.0252014343, 0.026323095, -0.0861339271, -0.0602439456, 0.0147849396, 0.0037382538, 0.0112765767, 0.0341409072, 0.0329442136, 0.0088888779, 0.0105681932, 0.0250601117, -0.0254453253, -0.0154853323, -0.001186671, 0.0156853329, 0.0048202216, 0.0040329355, 0.0148392776, 0.0103611778, -0.0231289379, -0.0261898339, -0.0488811135, -0.074929066, -0.0180789083, -0.0236075595, 0.0580678023, 0.0180041511, -0.0785995796, -0.042868346, 0.0337589793, -0.0322806612, -0.029997522, -0.008689316, -0.0352018736, -0.0083462084, -0.029723566, -0.0006602288, 0.0211413894, -0.011187233, 0.051055409, -0.0396117456, 0.0691939145, -0.009750234, 0.002450591, 0.0254256465, -0.037327081, -0.0148223666, 0.0219528638, 0.0160466749, 0.0460642949, 0.0106166126, 0.0714572072, 0.012087849, -0.0387142263, 0.1058045775, 0.0096547306, -0.0366884172, -0.0126836365, -0.0195986647, 0.0285686851, -0.0243101697, 0.0168223549, 0.0683886781, -0.026348412, 0.0038890492, -0.0156985912, 0.0320378914, -0.0594872944, -0.0374760069, 0.01221825, -0.0307859499, 0.020356372, 0.0300112087, 0.0141549241, -0.0652242377, 0.034516491, 0.0156615227, -0.0036526402, -0.0514106862, 0.0128846373, 0.006666048, 0.0680793151, 0.0091157528, 0.0507556312, -0.0202822909, -0.0212787539, -0.0101961, -0.0123307733, -0.0151966056, -0.0237031411, 0.0445079356, 0.0362364687, -0.0117354775, -0.0059622666, -0.0333206542, 0.0358056203, -0.0254887976, -0.0589490533, -0.0202625878, -6.640458689e-33, -0.0458183475, -0.0716639161, 0.0035607009, 0.0801428407, -0.0242848452, -0.0199731365, -0.0176248383, 0.0511807054, -0.0320145786, 0.0235353522, 0.0062462231, 0.0504477732, -0.0152735366, 0.0626931861, 0.0330130272, 0.0047544995, 0.0301475637, 0.0135106258, 0.0012495045, 0.0765164047, 0.0514529794, 0.0191726144, 0.0520741381, -0.0965624079, 0.072106123, -0.018032182, 0.0325562879, -0.0195312146, 0.0199815165, 0.0167488363, -0.0302033201, 0.0352865867, 0.0050039981, 0.0149813928, -0.0095385015, 0.0568393245, -0.0509795211, -0.0535944924, -0.0128772678, 0.0036115672, -0.0284267869, -0.0355886444, 0.0197774544, 0.0035234822, 0.0055041076, -0.0588187762, 0.0773167834, -0.0083679212, 0.0480017662, 0.0322032049, -0.072696507, 0.03085378, -0.1000745296, -0.0221368764, -0.0006279545, 0.0783430561, 0.0409922339, -0.0099509824, -0.0551192984, 0.0915596411, -0.0164996888, 0.0065535465, 0.0504502952, -0.04222003, -0.0076931785, 0.0654931217, 0.0153796459, 0.0205665492, -0.0281450488, 0.0139390267, 0.0202411562, 0.0396933071, 0.0454311781, 0.0197821353, -0.0447218642, -0.0396342352, -0.0594449341, -0.0022233122, 0.0591311008, -0.0464295559, -0.0574076846, -0.0258086175, -0.035423886, -0.0042312997, -0.0029857981, 0.0143701341, 0.0378868021, -0.0189896561, -0.0140962601, -0.0728121623, -0.0393648632, 0.0426691286, -0.0173908733, -0.0282923914, -0.0263879187, 0.0173817649, -0.0057391697, 0.0074318689, -0.0279394034, -0.0051183049, -0.0536123328, -0.0051008873, 0.0174029004, -0.0355481505, 0.0311829895, 0.0415931232, 0.0303447247, -0.0094760424, -0.0179717466, -0.0154963462, -0.0108178295, 0.0188095421, -0.0142651368, -0.0249357671, -0.0069072689, 0.047426831, -0.015410034, 0.0512644574, 0.0252937488, 0.0476634353, -0.0326282531, -0.0825201273, 0.0018334341, -0.0169031695, -0.0288699083, -0.0236972459, -0.0427348167, 0.0112534333, 0.0324313678, -0.0239698999, 0.0099381087, -0.0512431338, 3.048e-7, 0.033370506, 0.0677826852, 0.0290943384, -0.039696198, -0.000839443, -0.0124518415, 0.0212717131, 0.0015154976, 0.0574742593, -0.0241292305, -0.0101706851, -0.0051213219, 0.0208620448, 0.0323070846, -0.0932843909, -0.0694828779, -0.0237618499, -0.0657267347, -0.0567296967, 0.0345423557, 0.0761596113, -0.0022885206, 0.0538554192, 0.0242650621, -0.0515991524, 0.0342354067, -0.0187700465, -0.0375545658, -0.0043242476, 0.0366428867, 0.0178722199, -0.0202285293, 0.0181442164, 0.0029755116, -0.0210811328, 0.012893565, 0.0243676566, 0.0122199049, 0.0101065058, -0.0114962682, 0.0318351798, -0.0025657353, 0.0206484105, -0.0397621132, 0.0417764932, -0.0457987525, -0.0004336579, 0.010395674, -0.0183264576, -0.0086812302, 0.0155997956, 0.0148564279, 0.0036268337, -0.0119238831, 0.013325301, -0.0396660939, 0.0268723369, -0.0629698336, 0.002431676, -0.0137439705, -0.026214296, -0.0808767453, -0.0096323406, -0.0700253397, -0.0032080885, -0.0033456939, 0.0007031382, 2.364930019e-34, 0.0183685385, -0.0082393242, 0.0132180257, 0.0339247659, 0.0148157505, -0.0212388653, 0.0381729715, -0.0076266397, 0.0371807404, -0.0310151726, -0.0202406961 ]
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.0329055078, 0.0340500921, -0.017403001, 0.0559856817, 0.030717764, 0.0262443218, -0.0287775882, -0.0230605882, -0.0225389842, -0.0327306129, -0.032817848, -0.0165980626, 0.0224722102, 0.0193354283, 0.0388804972, -0.1005300879, 0.0091770245, -0.0206992198, -0.0566816963, -0.0073013129, -0.003794712, 0.0012321089, 0.0123159569, 0.0142090051, -0.0339413434, 0.0091748685, 0.0221597683, -0.0093642129, -0.033907529, -0.002930826, -0.0139598781, 0.0816829205, 0.0399199799, 0.0094337203, 0.000001895, 0.0246376675, 0.0182925388, -0.0027261754, 0.0615204051, -0.0161723141, 0.0360698923, -0.0605838336, -0.006072606, 0.0023850212, -0.0501905195, -0.0556340218, 0.083370015, 0.0635289103, 0.0834310874, 0.0373208635, -0.0387291871, -0.1327142715, 0.003943787, -0.0510756075, -0.0454730578, 0.0057663261, -0.0163092501, 0.0472017303, -0.0316402055, -0.0067567504, -0.0214317609, 0.0592928864, 0.0029347457, -0.046906177, 0.000648557, 0.0326955542, 0.0034323626, -0.0294836033, -0.0235060286, 0.0623543896, -0.0028926758, 0.0292901099, -0.044347968, 0.0226353481, -0.0085443603, -0.0368723795, -0.0729547814, 0.0441958159, 0.0191272125, 0.0232036114, -0.0649501532, 0.0294052567, 0.0116151581, 0.0330629013, 0.0132500203, -0.0281812567, -0.0018881967, 0.0147452932, -0.0521753058, 0.0029696713, 0.0198598281, -0.0333106965, 0.035166055, 0.022963576, 0.0184888337, -0.0035245183, 0.0060540042, 0.000587829, 0.0201819073, -0.038091477, -0.0482476838, -0.0415780321, -0.0126307542, 0.0740719661, -0.0510812402, 0.0477491803, -0.0211422518, 0.0363463685, -0.0538398549, -0.029958088, -0.03850412, -0.0331162177, -0.0659865141, 0.0370052196, -0.0483745784, -0.0377315171, -0.0470368974, -0.0144127272, -0.0255916007, -0.0064585879, 0.0126752779, 0.0477201007, -0.0139478007, 0.0022098827, -0.0396491922, 0.0219449047, 0.006299234, -0.0108806035, -0.027009977, -0.0101983938, -0.0018415422, 0.0240342878, -0.0054788883, -0.0180652235, -0.0146299498, 0.0273562633, -0.0288105216, -0.0249556638, -0.0245719738, -0.0102373967, -0.0515078679, -0.0276382957, -0.0011157185, -0.0318827741, 0.0097746393, -0.0097252661, 0.0230817869, -0.0489208885, 0.0023442709, 0.0169451386, 0.0107653653, 0.0843000934, -0.0443816483, -0.0137616005, 0.0412229672, 0.0065324865, 0.0178321283, 0.0543162338, 0.0345949233, 0.0536539517, 0.027563408, -0.0051366072, -0.0084987283, 0.0321931168, 0.0020665743, -0.0325762369, -0.0254600924, -0.0077800006, 0.0109079685, 0.0095660398, 0.0711632073, 0.0788898095, -0.0053478698, 0.0396650359, 0.0846977308, 0.0381743535, -0.0047267168, 0.1007239744, 0.0604727417, -0.0021778501, 0.0059093256, 0.0015396996, -0.0210697278, 0.0530218072, 0.0810077339, 0.0260337032, -0.0068600439, 0.0589367338, -0.0657623485, -0.0353247896, 0.0173529238, -0.0075944359, 0.0259974133, -0.0317515768, 0.0325316191, 0.0396348909, -0.0619496368, 0.0114878183, -0.0166125987, -0.0298178252, -0.0260219891, -0.0514755249, -0.0074035367, 0.0260316506, 0.0182485133, 0.0096474495, -0.0180568993, -0.0202137083, 0.0387502536, 0.0378895327, 0.0171067733, 0.003453295, -0.0324684978, -0.0538760833, -0.0383633077, -0.0201184787, -0.0034482244, 0.039250616, -0.0309864599, 0.0206933245, 0.0406739525, 0.0661972836, -0.1000115946, 0.0399001464, 0.0679194629, -0.037269149, 0.0010528456, 0.022475427, -0.0174233969, 0.0249707196, -0.026649788, -0.0005518377, 0.0094340788, 0.0055597271, -0.0003879884, 0.0692771003, -0.0225309841, -0.0402041189, 0.0031439636, -0.0620149672, -0.0270101987, 0.0103600929, 0.0020471704, -0.0359934755, -0.0040465556, -0.047382053, -0.0005120056, -0.0705000684, 0.0172554236, -0.0341076069, 0.0600414984, -0.0029787591, 0.0402357914, 0.0008039968, -0.029714603, 0.0370341763, -0.0454045311, 0.0035631061, -0.0558835752, -0.05810358, 0.0276319589, -0.0021677329, 0.0168125723, -0.0085761789, 0.0693924055, -0.004389212, 0.0002639727, -0.0611421652, -0.0106435604, -0.0072709215, -0.0239182301, 0.0100602591, -0.0155437393, 0.0257224347, -0.042632211, -0.0260494687, 0.0133604249, 0.007078738, -0.0142866774, 0.0565527119, 0.030620398, -0.0163695365, -0.0169035699, 0.009689915, 0.0295814034, 0.0688837916, 0.0370268449, -0.0335958786, -0.0459770858, 0.0214223973, 0.0099765081, -0.0043491963, 0.0212794468, -0.0616756342, -0.0151834702, 0.0374139026, 0.0008480553, 0.0179630145, 0.0166366529, 0.0205811299, 0.0265601352, -0.0022486115, 0.0206065904, 0.0063212807, -0.0255873259, -0.0231163595, 0.0316463485, -0.0509291328, 0.0242040642, 0.052068051, -0.0127664721, 0.0433791764, -0.0478277542, 0.0207034722, -0.0180175323, -0.0296296533, -0.0113561396, 0.0212078262, -0.0080997217, 0.0042270035, -0.0395468622, -0.0411991328, 0.0241322964, -0.0469110534, -0.0368878655, -0.0282509252, -0.0028969026, -0.0300257951, 0.0444048271, -0.009077793, 0.0242672618, 0.0106112296, -0.0287437644, -0.0003396562, -0.0546530224, 0.0191937201, -0.0015438239, 0.050298553, -0.0498660281, -0.0050016809, -0.0428862721, -0.0330883563, -0.0028248257, -0.0426490568, 0.0076316288, 0.0244314726, 0.0179379005, 0.007321436, 0.0072319764, 0.0807443783, 0.0181456786, 0.0372626819, -0.0365469232, -0.0158008598, 0.0135639971, 0.0270812437, 0.0392259471, 0.0293589253, -0.0370801501, 0.0074584377, 0.0490590371, -0.0111286761, -0.010574339, -0.0007238664, -0.0750068277, 0.0120517556, 0.0215854123, 0.0170555245, -0.0209151264, -0.0333323888, 0.0422044992, -0.0053201779, -0.004424111, 0.0793944672, -0.0010896859, -0.0272598751, -0.0315618254, 0.0081831375, -0.0023009435, 0.0419305526, 0.0227193721, -0.009413721, -0.0132799186, -0.0390115045, -0.0102493893, 0.04417805, 0.0490912758, -0.0416507795, -0.0429698005, 0.0598269887, 0.0056291432, -0.0720114857, -0.0708720759, 0.0310552381, -0.0465864949, -0.0176112466, -0.0023249695, -0.0411121212, -0.0089016128, -0.0141225113, 0.0402449295, 0.036572881, -0.0769783705, -0.0463222191, -0.0415051207, -0.0022289497, 0.0147128394, 0.0343881287, -0.0275303386, -0.0150897289, 0.0018146527, 0.0212892648, 0.0336241834, -0.0366045348, 0.0844867006, 0.0061689457, -0.0494438894, -0.0211215783, -0.0239210967, 0.0102721434, 0.0032851219, 0.0110462075, 0.0296476949, 0.0119314548, 0.0266557038, -0.0229018051, 0.0070147412, -0.0037021514, 0.012722346, 0.0375175886, -0.0111740464, -0.0136634195, -0.007790694, -0.0145431105, -0.0572058298, -0.0338917263, -0.002281941, -0.0623886511, -0.0456270464, -0.0764120817, -0.0339284763, 0.061030183, -0.0036382652, 0.0575841926, -0.0334537439, 0.0084699001, 0.0177858919, -0.0583333001, 0.0221856777, -0.0175664667, 0.0239514448, -0.016020719, -0.0372240394, 0.0696675032, -0.0092472043, -0.0131439306, -0.0026945597, -0.0404385887, 0.0168001596, -0.0364349596, 0.0657706782, 0.0136845428, 0.0005590533, 0.0096279345, -0.0548360683, 0.0128500955, 0.0171763394, 0.0121819368, -0.0113106808, 0.021966055, -0.0198258851, -0.0305224191, 0.0179319568, 0.0059367423, -0.0022155496, -0.0171114765, 0.0340914913, -0.0406134762, -0.0141252298, -0.0137893017, -0.0537941679, 0.0278887376, -0.0233957842, -0.0127261914, -0.0467775837, 0.0181511119, 0.0064602671, 0.0152731314, -0.0170345996, 0.0218308102, 0.0373746306, 0.0496920496, -0.0045306426, -0.0238429308, -0.0342037231, -0.0366935767, -0.0023515895, 0.0080429027, 0.0317192264, -0.039204374, -0.040975634, 0.0474255048, -0.0300096124, -0.0127085354, 0.0230576415, 0.0089894086, -0.0228950474, 0.0365362652, -0.0000068684, -0.0307567324, -0.0226877294, 0.0745382309, 0.0417192057, 0.0196712315, -0.0757809058, -0.0103384098, 0.0759209618, -0.0301668197, 0.0387071893, 0.0194522459, -0.0037491445, 0.033686731, 0.0268114991, -0.0174055211, -0.0308041107, 0.0504262857, -0.0009326582, 0.0055690268, -0.013593778, 0.0515611209, -0.006082437, -0.0106187547, 0.012390892, -0.0538537093, -0.0254561417, 0.0123005565, 0.0236509852, -0.020163564, -0.0378376245, 0.0320424624, -0.0204928406, -0.0563237444, -0.0172048304, -0.0063632294, 0.011519569, 0.0516203642, 0.0553946234, 0.011738074, 0.0302747525, 0.0015655753, -0.0386208519, 0.0151254842, -0.0339575633, 0.0581379086, -0.0566894077, -5.233294238e-33, -0.0495095737, -0.0449415967, 0.0150408838, 0.0549280159, -0.0394509993, 0.0011063996, -0.0336887278, 0.0201080553, -0.0140940426, 0.0218922161, 0.0265052039, -0.0279408582, 0.0208510198, 0.0365131758, 0.0115621565, 0.0325567089, 0.041644346, -0.012390594, 0.0306707304, 0.0008105385, -0.0185882933, -0.0007579498, 0.071818687, -0.0422937796, -0.0258633699, -0.0141447606, -0.0399260484, 0.0094247004, 0.0496287122, 0.0526113324, -0.0142926145, 0.0035485181, 0.0292194821, -0.0463497415, -0.0088288179, -0.0007213814, -0.0607791543, -0.018696297, 0.0710897893, 0.0952693745, 0.0354217887, -0.0239982028, 0.0361493193, -0.0387860164, -0.0018313236, -0.0085286731, 0.0802904889, -0.0350838974, 0.0160999559, -0.0076217288, -0.035367921, 0.0036810033, -0.001598436, -0.0438684113, 0.0679759979, 0.021234341, -0.0017831501, -0.0184377134, -0.0347970612, 0.0267478433, 0.0345948711, 0.0474757589, 0.100680165, 0.0545956343, -0.0135666439, 0.0080687087, 0.0456546731, -0.0225442704, -0.018872872, 0.0236407425, 0.0261508971, 0.0424060971, 0.051621858, 0.068520762, 0.0295897927, 0.0076501062, -0.0224114433, 0.0373653434, -0.0888685808, 0.0855176523, 0.0403156616, -0.0308135934, 0.0298159737, 0.0185430814, -0.0457528122, -0.0411883667, -0.028808387, -0.006609282, 0.0215199552, -0.0048466339, -0.0390113071, 0.0897969306, 0.0285256691, -0.0366284847, 0.0194016434, -0.0205186028, -0.0133587718, 0.0663034245, -0.0142437648, -0.0293952636, 0.0015991881, -0.060980048, 0.0173279177, 0.0857045799, 0.0359443277, 0.0026069209, 0.0636231005, 0.0157154277, -0.024040645, 0.0134768952, -0.0245354231, 0.00520497, -0.0440317728, 0.0475116335, -0.0265851784, 0.019795239, -0.0866698027, -0.0067301677, -0.0229309015, 0.0073918626, -0.0289090034, -0.0457619652, 0.0471244566, 0.0526086204, -0.043378111, 0.0343110785, -0.0235966165, 0.0258486681, 0.0096974066, -0.0337585956, -0.054701075, 0.0202912185, 2.473e-7, 0.0109143499, 0.049277693, 0.0413405038, 0.0074405372, 0.031422779, 0.0157789607, -0.0244480483, -0.0059569725, -0.0090468014, 0.021562865, 0.0579872169, 0.0022373099, 0.039621003, -0.0228064787, -0.0952943414, 0.0153574338, -0.0229061302, -0.0164804123, -0.0037182623, -0.020497771, 0.037851654, 0.0879500508, -0.0156752337, -0.0337587632, -0.0253591575, -0.0807579234, 0.0787209794, -0.0247848369, 0.0495373309, -0.0189663917, -0.001598311, 0.0630384758, -0.063153103, 0.0275011621, -0.0185933914, 0.0129742194, 0.0364473723, 0.0306277461, -0.0467285961, 0.0551833436, 0.0043782894, 0.0383783281, -0.0336736776, -0.0921822637, 0.0364373289, -0.0737708136, -0.0268324595, -0.0212330278, 0.0182192847, 0.0118758846, 0.0096324943, -0.0772111192, -0.0449588448, 0.0001241388, 0.0407755002, -0.0287929811, -0.0417222045, -0.0445042104, -0.0036120873, 0.0043033059, -0.0196261257, -0.00511458, -0.0646461695, -0.0566615723, 0.0266179498, 0.0174275767, 0.0179928895, 1.77576961e-34, 0.0130931912, -0.0307160728, 0.0172017161, 0.0257455818, -0.0030708476, 0.0119355544, 0.001045616, -0.008308582, 0.0026359477, -0.0384990796, -0.0193870775 ]
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.0013623076, 0.0758882314, -0.0136757428, 0.0411941409, -0.0261277556, -0.0039565759, -0.0217634421, -0.0227659345, -0.012645321, 0.006296319, -0.0293349698, -0.036580693, 0.0205611959, 0.0008483411, 0.0569147989, -0.000262631, 0.0885247439, -0.0645797253, -0.0086929966, 0.0001078279, 0.0109420912, -0.0256776027, 0.0274236966, 0.0066350694, 0.0388095416, -0.007157654, -0.0231564641, 0.0274536926, 0.0399220027, 0.0052227895, 0.0006385454, 0.0573717244, -0.0116463909, 0.0740934685, 0.000002039, -0.0193075705, -0.012591471, 0.0437213592, -0.0158547144, 0.066580385, -0.0082310755, -0.0483364612, -0.0456752107, 0.0000512158, 0.0158097669, 0.0152825173, 0.0800437555, 0.0097790314, 0.0554615892, 0.0849353969, 0.0205339193, 0.0217068419, 0.0357138328, -0.0321360938, -0.0239360705, -0.0665045604, 0.036589954, -0.0398345776, -0.0352591723, 0.0237182006, -0.0377715006, -0.0058065737, 0.0018592866, -0.0126368646, -0.0466269366, -0.0030240749, -0.0589830726, -0.0252548028, -0.0042451816, 0.052679792, -0.0678040758, -0.0175345708, 0.0152381007, -0.0106715849, 0.0105449632, -0.0378692672, -0.003965864, 0.0143191852, 0.0269161817, 0.0042675179, 0.0202104002, 0.0003028113, 0.0722801834, -0.01375206, 0.0149668446, 0.0565029234, 0.0274704192, -0.0323904119, -0.0109777479, -0.0344929211, -0.0236280579, -0.023641726, -0.0344696604, -0.0292472169, 0.0022122893, 0.0326219797, -0.0624572448, 0.0062677641, 0.046102725, -0.0585142039, 0.0126537448, 0.0357660539, 0.0427232012, 0.0069139814, -0.0000865556, -0.0044046976, -0.0403583795, 0.0576570407, 0.0164959002, 0.0659331754, 0.0232825205, -0.0271161068, 0.0342622176, 0.0149114728, -0.0042000455, 0.0058389963, -0.0311988238, 0.0103198048, -0.0381772183, 0.0186674055, -0.0470011085, -0.0055146106, -0.0086814752, 0.0172190405, 0.0359270349, -0.0066226362, -0.0139547093, -0.0092576025, -0.0087986076, -0.03712143, -0.0457969643, 0.0024779136, -0.0519090965, -0.0636471063, -0.0187560208, 0.0983288139, 0.0101030795, -0.0232335459, -0.0546859875, -0.0420352146, -0.0756382495, -0.019129863, 0.0045134411, -0.0522955358, -0.0144568877, -0.0146162016, -0.0311913919, -0.0851873383, 0.016082352, -0.0028160897, -0.0816970542, 0.0372402035, -0.0015443643, -0.01546303, -0.0338621996, 0.030420389, 0.0308630131, 0.0594554581, 0.0451959036, 0.0342974961, 0.0542800874, -0.0054301517, 0.0062717889, 0.0426449589, 0.017885644, 0.0502863862, -0.0474298969, -0.0298994891, 0.0358067155, -0.0218927786, 0.0018930724, 0.0692966655, -0.019832002, -0.0624624304, 0.0951417387, 0.0175121557, -0.001655027, 0.0666342601, -0.0327889957, -0.0326382257, -0.01346712, 0.0148216309, -0.0908972993, 0.0050727297, -0.0836900696, 0.0061382544, -0.0037149217, 0.0299441144, -0.0159006882, 0.0015281828, -0.0165977739, 0.000994431, 0.0604178719, -0.0073717847, 0.0101606362, -0.0094636148, -0.0111421263, 0.0482316427, 0.0414977744, -0.0578414537, -0.0198242702, -0.063256219, -0.0284243189, 0.062785022, 0.0413451158, -0.0144114718, -0.0204512738, 0.0199904479, -0.0050844229, 0.0287603196, 0.0036717886, 0.0306025762, 0.0781425759, -0.0345109999, 0.0017484649, -0.0165698007, 0.0449802428, 0.000132573, 0.0256621428, -0.0203024298, -0.0149726858, -0.0268813968, -0.0469538085, 0.0214127544, 0.0074421517, -0.0016708202, -0.0137345176, 0.0080938991, 0.0053893384, -0.0332056619, -0.0654298514, 0.0284191761, 0.0344967358, 0.0152120376, 0.0530715249, -0.0239501353, -0.0565321371, 0.021103764, 0.05784145, -0.0061786147, 0.0040039066, 0.0634800866, -0.0309925731, -0.0153109748, 0.0466048121, -0.0431229398, -0.0145026622, 0.0054949578, 0.0447760522, -0.0374884829, 0.0263609868, -0.0369637087, 0.0555759855, -0.0025699064, 0.0020652292, -0.0245104767, -0.018138431, 0.0263278801, -0.0421536826, -0.0815514699, -0.0042176642, -0.0366732404, 0.0479329713, 0.0126883304, 0.0065347361, 0.0007951059, -0.0346293896, -0.018507652, -0.0090041962, -0.0063293362, 0.0327772647, 0.0395037234, -0.0170150064, -0.0160280261, 0.0057706111, 0.0403485037, 0.0079265991, -0.0439560115, 0.0243949983, 0.0311034638, -0.0162741207, -0.0594852231, -0.0586977713, -0.0509346388, -0.0129797161, 0.0564051121, -0.0497065708, -0.0191161688, -0.0391694531, 0.0558598153, -0.0107773831, 0.0279074963, 0.0003641578, -0.0743614882, 0.0097433766, 0.0303657465, -0.0101224976, 0.0751406327, -0.0038914026, 0.0409810841, 0.0682736486, 0.0118968962, -0.0028687194, -0.0135665704, 0.0078808162, -0.0248196088, -0.0378769524, -0.0238766503, -0.0153405406, 0.0788592622, 0.0167606249, -0.0389596894, -0.0678943545, -0.0009349901, -0.0041206554, -0.0358243138, 0.0015984279, -0.02598463, -0.0566820018, 0.0423403755, -0.0417056307, -0.066536203, 0.0628554672, -0.0324664749, 0.0405610427, 0.0035504901, -0.0328517072, 0.0052730753, 0.0424171798, -0.0035750277, 0.0432144701, 0.0279751271, -0.0198998563, -0.0788430199, -0.0368274003, 0.0298226606, -0.0103320936, 0.0524600893, -0.0495309867, 0.0068552634, -0.026373595, -0.0670566559, 0.0085065058, -0.0642757788, 0.0109102083, 0.0096326647, 0.0740961283, -0.049767863, 0.0037067889, -0.0099885743, 0.0428233892, 0.015180449, -0.0384733826, 0.0154895624, -0.0380533189, -0.0017141466, 0.0632129759, -0.043840006, 0.0645765737, -0.0504733995, 0.0299380459, 0.0659364909, 0.0288898349, 0.0600895844, -0.0468391143, 0.0087080775, 0.0209835246, 0.005766443, -0.0133546647, 0.0327885114, 0.0566016622, -0.0096570412, -0.0199063551, 0.0308988504, 0.0011459624, -0.0057098325, 0.0542494431, -0.0129697481, 0.0604244061, 0.0119502908, 0.0301664695, -0.0235547163, 0.0009641334, 0.0206749663, 0.0357563719, 0.0138213048, -0.0235296506, 0.0182702523, -0.0823020563, -0.0089549096, 0.0498836748, -0.0174674559, -0.0162123274, -0.0038532333, 0.003937311, -0.020347463, 0.0672116205, 0.0415477566, -0.0150990915, -0.0364337936, 0.0044439621, -0.0190684684, -0.0403673127, 0.018935008, -0.0236102883, 0.0727019086, 0.0691103563, -0.013288944, -0.0436846241, -0.014145853, 0.0463020802, -0.0031661256, 0.0011795465, 0.0224077571, 0.023680076, 0.0370294116, -0.0264726449, -0.017612502, 0.0108964862, 0.0367850251, -0.0322524905, -0.0124907987, 0.0340223052, -0.0079077659, -0.0260407273, -0.0015028708, 0.0138008334, -0.0199046154, 0.0392165259, 0.0266426187, -0.0420968719, -0.0483786911, -0.0390200503, -0.0028490168, -0.0518817231, -0.0618615188, 0.027894998, 0.0270535201, -0.0381364785, -0.0382135883, 0.0402052142, -0.025777474, 0.038060274, 0.0311682858, -0.0275268704, 0.0156718511, -0.0034464658, -0.0212840941, 0.0053110872, -0.0247005243, 0.021499889, -0.0525859073, 0.0562167726, -0.0159766972, 0.0018823395, -0.0207534861, 0.0038318255, -0.0419013724, -0.1199810803, 0.017948186, 0.0727344528, 0.0307117812, -0.0263610613, -0.0118874805, -0.0635851771, 0.0429956578, 0.0478782579, -0.0273250751, 0.0558432527, 0.0447339676, -0.0684911087, 0.0060648834, 0.0314018093, -0.0297713671, -0.0538141429, 0.0696415827, 0.055978667, -0.0268767588, 0.0020398863, -0.0010979023, 0.0257970877, 0.0303532034, -0.0037776416, 0.0143626388, 0.0049228799, 0.0302314535, -0.0086759776, -0.0017020925, -0.0058285086, -0.0049489504, 0.0568716377, -0.0088555915, -0.0087017165, 0.0096257897, 0.0543782786, 0.0365466066, -0.0177217685, -0.0144363698, -0.0142041249, -0.0046626991, 0.0507919416, 0.025708776, -0.0408463664, 0.0836318508, -0.0381313302, 0.0264011975, 0.0112437624, -0.0056546926, 0.0108812256, 0.0177522637, -0.0581959188, 0.0575254112, -0.0616199151, -0.0667798519, -0.0271978285, -0.0015696679, 0.0031277097, 0.0188053213, 0.0514433011, 0.0053530727, -0.0179695748, -0.0595189407, -0.0112164635, 0.007433116, -0.052336935, 0.0166039094, 0.0189788491, -0.0037532111, -0.006143555, 0.0552354045, 0.0424393564, 0.0523333177, -0.0126357004, -0.0091950707, -0.0023381752, -0.0364941359, 0.0237166528, -0.0031504855, -0.0601649508, -0.0517993793, -0.0849459767, -0.0959080011, -0.0274633542, 0.023763936, 0.0305247195, 0.011281305, -0.0188453719, 0.0195403118, 0.0201080572, 0.027670363, -0.0053409492, -0.0693366602, 0.0418076254, -0.017332295, -0.005892097, -6.597312168e-33, 0.0079699093, 0.0050293026, -0.0426430665, -0.0193612035, 0.0072124256, -0.0227667112, -0.0413745381, 0.0424663238, -0.0325809047, -0.0393029042, -0.0053483853, 0.0000866953, 0.0014755575, 0.0211031046, -0.0099818343, -0.0313133672, -0.0085205147, 0.014136794, -0.0363239013, 0.009028797, 0.0380131043, -0.0009658923, 0.0485403202, -0.0477274284, 0.0157391429, 0.0230624732, -0.0550512485, 0.0184661578, -0.074086681, 0.0451163687, 0.0244314447, 0.0065439162, -0.0093741193, -0.0129834479, 0.0028827209, 0.0139803151, -0.0085899802, 0.0009141687, 0.0379797369, -0.0380048007, -0.0121409921, -0.068988055, 0.050435055, 0.0005541854, -0.0005580897, -0.0509805791, -0.0113600912, -0.0113469558, -0.0281046908, -0.0119265392, -0.0439595506, 0.0067724953, -0.016983375, -0.0169885196, -0.0216573142, -0.029595634, -0.004338827, -0.0116251921, -0.0377669595, 0.0113260578, 0.0423980318, 0.0632736534, 0.0577247404, 0.0251671784, -0.0028206855, 0.0731489956, -0.016106626, 0.018639883, 0.0232678168, -0.0240289681, 0.0336178765, 0.056833975, 0.0360804275, 0.0355810076, 0.0322283879, -0.0130243739, -0.0841533393, -0.0096988613, 0.0015973442, 0.0457017459, 0.0472066589, 0.0300203431, -0.0452080891, -0.0154926423, -0.0424778238, 0.0004304419, -0.0327433757, -0.0330096036, 0.0067855986, 0.0012403501, -0.0525815934, -0.0003946294, 0.0139324125, -0.0280187037, 0.0110758292, 0.0331915319, -0.0020270366, -0.0046020397, -0.0143359248, 0.0131924329, -0.0026970934, -0.0345258005, -0.0128924996, -0.0421838798, 0.0365180187, -0.0106411669, 0.0469694175, 0.0607918464, -0.0460421816, 0.0036131593, -0.0189901721, 0.0240163412, 0.0348547585, 0.0542268902, 0.0290036853, -0.0328718759, -0.0099252043, 0.0059034587, 0.0496877171, 0.0458608679, -0.0329146944, 0.0517546944, -0.0273635127, 0.0298098288, 0.0273660924, -0.0008986691, -0.0067404751, 0.0631134808, 0.047692325, -0.074626483, -0.0194268543, 0.0157965906, 2.918e-7, 0.0407058783, 0.0280968584, 0.0229169205, 0.0199187081, 0.034854345, 0.0613817982, -0.0442726612, 0.0532500632, -0.0305663589, -0.0272886474, -0.0058495402, -0.0025495871, 0.0642285645, 0.0367165133, -0.0138820205, 0.0432344154, -0.1053605154, 0.0116115417, -0.0353725255, -0.0508182123, 0.0171128344, 0.0827540606, -0.0009910378, -0.0028553267, 0.004569747, -0.0755645037, 0.0255319979, -0.0239761397, 0.0182209834, -0.0122088408, -0.0155001003, 0.0144483661, -0.0120032877, 0.0007453623, -0.0112817893, 0.0091589289, -0.0540779047, 0.0873509571, -0.0157441311, -0.0067446679, -0.0123027284, -0.0318907015, -0.0256558172, -0.0364775434, 0.0419289358, -0.0258824416, -0.042235028, -0.0033621022, 0.02246801, -0.0066772024, 0.0237133596, -0.03846021, 0.0023273439, 0.002480461, -0.0104064504, 0.0196455549, 0.007458786, -0.0364266336, -0.0351141542, 0.0213741623, -0.0286257658, -0.0622466616, -0.011218979, 0.0319215469, 0.0183547605, -0.054102838, -0.0064086989, 2.964996237e-34, 0.0105312327, -0.0679815933, 0.0086552426, -0.0066077132, 0.06297943, -0.0111879576, 0.0006585104, 0.0169103965, -0.0068289097, -0.0274075791, -0.05904302 ]
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.0056905616, 0.0748222172, -0.035643667, 0.0197366495, -0.0352103785, -0.0211364813, 0.0076625007, -0.0420712084, -0.0305757597, -0.0037324461, -0.0365476459, -0.0453377739, 0.0050899773, 0.0009765402, -0.0230751764, -0.0563693196, 0.0654520467, 0.0323400758, 0.0582747534, -0.0387148485, 0.0326483548, 0.0265230555, 0.0049121231, 0.0469401889, -0.0278671309, 0.0131265866, 0.0035712665, -0.0018440731, 0.0677885115, 0.0347680189, 0.0118579129, 0.0430352278, 0.0002178172, 0.0335298255, 0.0000018365, -0.0561211407, 0.0066877031, 0.0002073404, -0.0062167533, -0.037751276, 0.0233856365, 0.0101783751, 0.0005531576, 0.0051931296, -0.0386495143, 0.0495928191, 0.0483400784, 0.0071028853, 0.046807602, 0.0399919301, 0.0115385316, -0.0145504102, 0.0024694647, 0.0095897969, -0.0390599258, -0.0172109026, -0.0125762094, 0.0056181685, -0.0286826119, -0.012805135, -0.0056168893, 0.0181048475, 0.0100240093, 0.0067435005, 0.0356439278, -0.0047683516, -0.0407063439, -0.0631447583, 0.0072118719, 0.0808396339, 0.0454827994, -0.0010924443, -0.0208230373, -0.0218560658, 0.031339094, -0.0145831862, -0.0052582072, 0.0254915953, -0.0163120218, 0.0225843415, 0.0211092811, 0.0230525415, 0.0194117092, 0.019934684, -0.0224574469, 0.092952311, -0.0063033509, -0.0234771743, -0.0035739809, 0.0232064128, 0.0010173577, -0.026240427, -0.0036600414, 0.0315590911, -0.062100973, 0.0217731036, -0.0533288643, -0.0072072395, 0.0314655527, -0.0240363218, 0.0301507171, 0.0680863038, 0.0200847276, 0.0290409811, 0.04869809, 0.0267407987, 0.0028074149, 0.027230151, -0.0449004732, -0.0246507656, -0.0187576599, -0.0126840984, 0.0211699177, 0.0085887937, -0.0160111226, 0.0285857748, -0.0252371207, 0.0142591968, -0.0802542567, 0.0262809824, -0.000363418, -0.0078386692, -0.0126852766, -0.0134348674, -0.031326104, 0.0836192816, -0.1029395312, 0.0281980634, 0.0115751196, -0.0529392436, 0.0087609887, 0.0037478316, -0.0247265175, -0.0350556895, -0.0000104194, 0.0143129686, 0.0103458846, 0.0151269296, 0.0043826737, -0.0320729762, -0.0010673283, -0.0603238344, -0.0195504613, -0.0537314415, 0.0745785385, 0.0199911315, -0.0059437715, -0.0618332662, -0.0090990551, -0.0024460352, -0.0140485419, 0.059881445, 0.0135454722, 0.0328462832, 0.0360289291, 0.0056483634, -0.0050724167, 0.0669990927, 0.0317339189, 0.0039639706, 0.0445815176, -0.0163570791, 0.0241797306, 0.0180809814, -0.019721251, 0.009029693, -0.0248933062, 0.0273601953, -0.0188092608, 0.0384323038, 0.0405544899, 0.0875918344, 0.0070446669, -0.0496462025, 0.067090705, 0.0650919229, -0.0071455962, 0.0117769009, 0.0224351343, -0.0205520242, -0.0080020949, 0.014262178, -0.0610756464, 0.0332449526, -0.0354425311, 0.0048812404, 0.0117725153, 0.035556864, -0.0331674889, -0.0564858131, -0.0186027344, -0.0011976471, 0.0595680512, -0.0028229787, 0.0066202795, -0.0659509897, 0.0075136791, -0.0324370377, 0.0120406765, -0.0855028406, -0.0032348006, -0.0613550618, 0.0461377427, 0.044234585, 0.0071028881, -0.028279921, -0.0425322875, -0.008823094, -0.0562592, 0.0370504074, 0.105879344, -0.0255647916, -0.0010921508, -0.0477082804, -0.0300156809, 0.011176141, -0.0002224954, 0.0581823885, 0.0057195225, -0.0083075231, -0.0392251275, -0.0160459541, -0.0317049623, 0.0373446345, 0.0047796387, 0.0302285869, -0.0413051024, 0.0161493402, 0.0543752462, 0.0331670828, -0.0035388425, 0.0163867865, -0.012352067, 0.0316903405, -0.0226107016, -0.0006039366, -0.0520933419, 0.040829774, 0.0218410473, -0.04830705, -0.0125658149, 0.0363912247, 0.0138479704, -0.0086604422, 0.0052075437, -0.0022455005, -0.057569284, 0.0094017796, 0.0341614857, -0.0485078953, -0.0074626128, -0.0526336133, 0.0426222272, -0.0194983706, -0.0185701866, -0.0438140742, -0.0498653203, 0.0286384486, -0.0465112366, -0.0625042096, 0.0111680664, 0.0052718678, 0.051588688, 0.0585001931, -0.0461102836, -0.0224743932, -0.0141859232, -0.097802192, -0.0038573346, -0.0204891935, -0.0109507721, -0.0091898562, -0.015873706, 0.0062568625, 0.0314956792, -0.0570597574, 0.0007101511, 0.0265278481, 0.0270777252, 0.0321587734, -0.0247693993, -0.0082013756, -0.0460829437, -0.0218738392, -0.0542164706, -0.0017280611, 0.0005679168, 0.0141429128, -0.0532249175, -0.026363384, -0.0895849988, 0.0102024013, -0.0240888316, -0.0015656007, 0.0415104926, 0.0627788752, 0.0541245192, 0.0640829876, 0.0404574163, 0.0393383726, 0.0591876283, 0.0533492528, -0.0572936945, 0.0043623275, -0.0121704154, -0.0028009911, -0.0164492279, -0.0745681897, 0.0231578071, 0.0594715774, 0.0129391868, -0.0010438919, -0.0933794454, 0.0524841622, -0.0376144834, -0.0779739097, -0.0221673734, -0.0369920172, 0.0030633332, 0.0427755378, -0.0152007956, -0.0437132865, 0.0867840424, 0.0251500104, 0.0406757928, -0.013871829, 0.0017916777, -0.0454222932, 0.0260418784, -0.0267007351, 0.0293165315, 0.0281600412, 0.0241026301, -0.0778326094, -0.0123546096, 0.0410744473, -0.0519765988, 0.1254765391, -0.0109124137, -0.0163992401, -0.0305315945, -0.0642637089, -0.0318077765, -0.0261974856, -0.0034802624, 0.0456017181, 0.0572222285, -0.0031678625, -0.0767654553, -0.0015282674, 0.0460203774, -0.0297629107, -0.0041196058, 0.0116793793, 0.0092320452, -0.0528618284, 0.0389751643, 0.0524186902, 0.0538840294, -0.0420843437, -0.0037071595, 0.0182336047, 0.0258010142, -0.0106790513, 0.0098121893, -0.0506306179, 0.0458158478, -0.0328355618, -0.0080227898, 0.0033143989, 0.0974693969, -0.0072429352, 0.032281138, 0.0855784565, 0.0138827637, -0.0500200652, -0.0043943278, -0.0588328987, 0.0344513506, 0.0132617606, 0.0075410316, -0.0638780594, 0.0257983487, -0.0034161599, 0.0151184406, -0.0524469018, -0.0445349887, -0.0044246358, -0.0862994343, -0.0094968509, 0.0431787334, -0.0568757951, -0.0205215737, 0.0192699544, 0.0157187097, -0.043529585, 0.0551790334, 0.0088012265, 0.0416817479, -0.0113115264, 0.0040576137, 0.0084203444, -0.0142151499, -0.0016456321, -0.0700808093, 0.0903500393, 0.0344233289, 0.048394084, -0.0260451157, -0.0498952605, -0.0372744687, 0.0060503567, -0.0112395464, 0.0429765768, -0.0064339838, -0.0316986218, 0.014118935, -0.0369336493, 0.0072771595, 0.0106752021, -0.0087556876, 0.0171930026, 0.0107422741, -0.0287094675, -0.0404040925, -0.0646823272, -0.0014377875, -0.008534532, 0.0912032053, -0.0087063229, -0.0619910173, -0.0125892265, -0.0378095098, -0.0285916962, 0.0091841221, -0.0561987422, 0.0220850054, -0.0008814086, -0.0290984102, -0.0314688087, -0.0737479702, -0.0325643197, 0.0112207672, 0.0120865926, -0.0646403357, 0.0394358858, -0.0033144061, 0.0078082862, 0.0122506367, -0.0212054309, 0.0210948493, -0.0471258722, -0.0047758124, -0.0321093015, -0.0433783717, 0.01197128, -0.0304369032, -0.0029462781, -0.0606477, 0.0415864773, 0.0348371342, 0.0216111708, 0.0108930562, 0.0143164862, -0.032746125, 0.0206426512, 0.0459382236, 0.0277774688, 0.0329177268, 0.0233570412, 0.0263558235, -0.0164686833, 0.0229135137, -0.0283647068, 0.0367670693, 0.0230701473, 0.0262617003, -0.0357456319, -0.0184741262, 0.0224100817, 0.0081840185, -0.0152694182, -0.0074653253, -0.0243781377, -0.012034622, -0.0575815476, -0.0227557961, -0.0562997423, 0.0107646845, -0.0554198846, 0.0276733115, 0.0014049556, -0.0101973489, 0.0081725949, 0.0167381, 0.0214637443, -0.0523523316, 0.0029421847, 0.0325970873, 0.0104184505, -0.0185777284, -0.0046571582, -0.0429231152, 0.0445996262, -0.0297692828, 0.0482552238, 0.0325480476, 0.0687474236, 0.033684466, 0.0133269485, -0.0050621233, 0.030702645, -0.0466773286, -0.0336256549, 0.0065995264, -0.0079401592, -0.0022134171, 0.0262495242, 0.0163888838, 0.0071444232, 0.0004288124, -0.0360032283, 0.007548742, 0.025418777, 0.0065719001, 0.0296513606, 0.0384220928, -0.0051962342, -0.0357086882, 0.0227174498, -0.0647803769, -0.0150119746, -0.0402731113, -0.0154216178, -0.0281056259, -0.0495742634, -0.0229024198, 0.0001742622, -0.0285276454, -0.0258502197, -0.0797548071, -0.0202752221, 0.0064734379, 0.0458934978, 0.0107054915, -0.0225736294, 0.0026850163, 0.0775413513, -0.0429756083, -0.0160541646, -0.0237654168, -0.0184629671, -0.0709629208, 0.0319692045, -0.0181689393, -5.853344733e-33, -0.0284828525, 0.0082290694, 0.0150112621, -0.0421016179, -0.0309128929, -0.0294550844, 0.0229046028, 0.0644459873, -0.0887043253, 0.0230840035, 0.0024099436, 0.0037155843, -0.0013356344, -0.0443689637, 0.0285079293, -0.0335949734, 0.0285355523, 0.007280943, -0.068855457, -0.0459768735, 0.0028722195, -0.0490754582, 0.0363252386, -0.0663516, 0.070157066, 0.0116997352, -0.0199488215, 0.0052086185, -0.0218941793, 0.0569259301, 0.0234867707, 0.0816835463, 0.0468313992, -0.0031222824, 0.0164368972, 0.0371198878, 0.0082653137, -0.0299801752, 0.0359240137, -0.0052204072, -0.0197490249, -0.0304053258, 0.0368252136, 0.0035729907, -0.0671801865, -0.0053132977, 0.0460461341, -0.0041631144, 0.0367784463, 0.0132165784, -0.0869668797, -0.0059518884, -0.0213012639, 0.0027718171, -0.0342374071, 0.0417182483, 0.0207440443, 0.0397651307, -0.0596858561, 0.0209255926, -0.0183142759, -0.0329617746, 0.0839024335, 0.0188246444, -0.0120639233, 0.0446080156, 0.036002446, 0.0364681594, -0.0710015669, -0.0785612315, 0.0292010382, 0.0208830163, 0.0616427213, 0.0786800236, -0.0179304834, -0.0177462101, -0.0081145745, 0.0259512737, 0.0311496668, -0.0048442422, 0.0444947965, 0.0287745204, -0.0898846388, -0.0083709406, -0.0246876534, -0.0619142018, -0.0419608876, 0.0021601345, 0.0053412444, -0.0219485536, -0.0135579007, 0.0102262255, 0.0418619402, -0.0397865027, 0.0148813128, 0.0411197245, -0.010769465, 0.0030397482, 0.0141087975, 0.0014007115, -0.0251003448, -0.0075273993, -0.0149354404, 0.0208333246, 0.0236279964, 0.0267162248, 0.0187689885, 0.0029729151, -0.0379105248, -0.0257107653, -0.0128287598, 0.0012566705, 0.0010964782, -0.0085915076, 0.0685271993, 0.0288468227, 0.0092720501, 0.0279579405, 0.0157767031, -0.0022289644, -0.0539152063, 0.0003458502, -0.0290487707, -0.0109760975, -0.0093712173, -0.0025110694, -0.002494205, -0.0166159235, 0.019212842, -0.0022047178, -0.0302929971, -0.0024586057, 2.409e-7, 0.0269196704, 0.0277419612, -0.0077662291, 0.0011697134, -0.0095069716, 0.0675831065, 0.007269735, 0.0477787033, -0.0209128857, -0.016490452, 0.0380076841, 0.0338098481, 0.020368062, 0.0397377089, -0.0269143544, -0.0121054128, -0.0323288925, 0.0410954989, -0.0312958024, 0.0651750043, 0.0405363552, 0.0460513085, 0.0355800614, 0.0279407017, 0.0053231302, 0.0445095338, 0.0400006585, -0.0446347855, 0.0027792521, 0.0641361997, 0.0145299006, -0.0324844941, 0.0273969993, 0.0212015864, 0.0535329767, 0.0391094387, 0.0220732111, 0.0940177366, -0.0463589393, -0.0254010074, -0.0186812468, 0.0066278325, -0.007120355, -0.0629747957, 0.0371394902, -0.0155500444, -0.0626133531, -0.067890659, -0.0172279589, 0.0204125661, 0.0545398667, 0.0111369751, 0.0006107361, 0.0120851155, 0.0231176689, 0.0220306981, -0.0114241987, -0.049017407, -0.0091222506, -0.0204056092, -0.0367836654, -0.061864458, 0.0108857984, 0.0278467089, 0.0050895959, -0.0457111336, 0.0162047334, 1.990998378e-34, 0.0122806253, -0.0266498886, 0.0274403729, -0.0033212174, 0.0324023888, 0.0140180849, -0.0524625741, -0.00120883, 0.0336159877, -0.031031318, -0.0061811255 ]
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.0017306182, 0.1036664173, -0.0036310889, 0.0443492346, -0.05712872, -0.0203995928, 0.0011671368, 0.0062601026, 0.0042416984, -0.0443093218, 0.0061408845, -0.0400008708, -0.0218978953, 0.0387494713, 0.0621943064, 0.0233222209, 0.0610028803, -0.0757599697, -0.0187486261, 0.0048644827, 0.0098636644, -0.0280956328, -0.0260034837, 0.0360543393, 0.0062569529, 0.0003282619, -0.014925533, -0.0027192787, 0.0271611232, -0.0557215624, 0.0040909867, 0.0332290567, -0.0262271278, 0.0340050459, 0.0000020282, -0.0442524031, -0.0278070793, 0.049475953, -0.0404780023, 0.0591239631, 0.0112471022, -0.0040528867, -0.0319963954, 0.0404402651, -0.0061950805, -0.0273817815, 0.020628918, 0.020089956, 0.0757063329, 0.1027385667, 0.0095126852, -0.023407748, 0.0336258188, -0.0132559575, -0.0361936688, -0.0742368922, 0.0462810807, -0.0018049261, 0.0399951637, 0.0261124261, 0.0209994353, -0.0202362537, -0.0050176634, -0.0278042518, -0.0805247799, -0.0021918323, -0.024574073, 0.0256031286, 0.006432469, 0.0367872864, 0.0057162233, -0.0008747938, -0.0058551352, 0.00204062, -0.005251667, -0.0003043764, -0.0244142283, 0.0015783412, 0.0114122583, -0.0196681172, 0.022089975, 0.0195437241, 0.0545762666, 0.000130484, -0.0071352059, 0.0878938586, 0.0380051546, -0.0127361109, 0.0085661402, -0.0689122751, -0.0206358843, -0.0566039979, -0.012967363, 0.0317443796, -0.0395774916, 0.0145796454, -0.04018379, -0.0449133441, 0.0793416649, -0.0596811175, 0.022069877, 0.0306555126, -0.0030528358, 0.0296889469, 0.0274901297, 0.0651813522, -0.0086291218, 0.0012108359, 0.0007457657, 0.0070037646, -0.0077450951, 0.0034281674, 0.0048290193, 0.0305169504, 0.0264501274, 0.0186842307, -0.0454996228, 0.0256666839, -0.0414727852, 0.0489109717, -0.011669849, -0.0297184177, 0.017768627, 0.003033913, 0.0109055396, -0.0267499816, -0.0213366374, -0.0020082665, 0.0116498582, -0.1032287106, -0.0165365804, -0.0041865972, -0.0371958725, -0.0574953966, -0.0013355905, 0.1205106527, 0.0251672119, -0.0234260019, -0.0370601676, -0.0566538833, -0.0288816132, -0.016238464, -0.0129385851, -0.0705925748, -0.0232487749, -0.0124571566, -0.008212762, -0.0666590929, 0.0068589426, 0.0142697142, -0.0137096243, 0.0482662208, 0.0277473908, -0.0055162776, -0.0178200938, 0.0333061591, -0.0166808814, 0.0732606724, 0.0037704327, 0.0141092092, 0.0298307184, 0.0041800393, 0.0355328694, 0.0602895841, -0.0270427987, 0.0526644178, -0.0588389486, 0.0613575429, 0.0413578749, -0.0190347303, -0.048931133, 0.0830632299, -0.0095177451, -0.0525490306, 0.076816529, 0.0288502369, -0.034111172, 0.0235141497, 0.0103743775, 0.0027657941, 0.0345313251, -0.0292830188, -0.0439867936, -0.0267194919, -0.0888886154, -0.0186086483, -0.0202927403, 0.0265202224, -0.0098013803, -0.0148086371, -0.0402062163, 0.0087291421, 0.0000059556, 0.0045730323, 0.0118431384, 0.0023792773, -0.0266340654, 0.0199720673, -0.0058206692, -0.0610677302, -0.0119410139, -0.0706667081, -0.0359042548, 0.0298275482, 0.0650595054, -0.0543021485, -0.0642325431, 0.0094927652, -0.0156962462, 0.0022488872, 0.0302997641, 0.005033799, 0.0149301188, -0.0095298765, -0.0106247943, -0.0062018298, 0.0573485494, -0.0006326314, 0.0313559137, 0.0108389771, -0.0152069535, -0.0381778404, -0.0637430996, 0.0247051679, 0.0169235617, -0.0370538421, -0.0141945137, -0.0132874213, 0.0347477756, 0.0066531468, -0.0354538187, 0.0436190367, 0.0407514349, 0.0210535862, -0.0074920291, 0.0001544949, 0.0305884965, 0.0337567702, 0.0425281227, 0.0055003082, 0.0139623778, 0.0513023138, -0.0295895375, -0.0184118636, 0.0464983173, -0.0556499995, -0.0354605913, 0.0040183566, 0.0304522756, -0.0198246986, 0.0089453608, -0.03100596, 0.0321309827, -0.0163542815, -0.0139343338, -0.0476297922, 0.0129803419, 0.0246098954, -0.0255657174, -0.0772133619, 0.0228356663, -0.0542832427, 0.045549456, 0.0107766651, 0.0249760076, -0.0452686064, -0.0211475417, -0.0407302901, 0.0267150905, -0.0219570845, 0.0523318313, 0.0250707101, 0.0007316555, -0.0266913176, 0.0130518861, -0.0078640282, -0.0090250988, -0.0254465993, 0.0330997966, -0.0021612269, 0.006116481, -0.0535630509, -0.0346504338, -0.0122352839, -0.0247414466, 0.0832364336, -0.0478928313, 0.0152870826, 0.0249223318, 0.0045837937, -0.0301483516, 0.0267208908, -0.0302163232, -0.0640772209, 0.0250871219, -0.0182813052, 0.0179956295, 0.0242458973, 0.0130326636, 0.0099769868, 0.0827910081, -0.0226342194, -0.0292371381, -0.0166169424, 0.0225173924, -0.0408266, -0.0452522077, -0.0349448323, -0.0043744859, 0.0509520285, 0.0033114704, -0.0220964886, -0.0377245881, -0.0037689339, -0.017632626, 0.0001449436, -0.0371330269, -0.0417618267, -0.0136474315, 0.0381940007, 0.0174309704, -0.0322616734, 0.0640256852, -0.0384747125, 0.0429632962, -0.0476595908, -0.0228701495, -0.0172454882, 0.0552574657, -0.0334694684, 0.0200046804, 0.0272450373, -0.0244341251, -0.0286532585, -0.0509650186, 0.0234661475, -0.0619995706, 0.0365672335, -0.0490305126, 0.0189642794, 0.0027460344, -0.0163596328, -0.0588455722, -0.0047710999, -0.0563571416, 0.0075608282, 0.0270138308, -0.0239458811, -0.0156906638, 0.0054158987, 0.0232598353, 0.0118228626, -0.0252225194, 0.0013818634, -0.002660773, 0.0077911597, 0.0231320355, -0.0483157039, 0.0202708635, 0.0000765642, 0.0624615625, 0.0959976986, 0.0595311113, -0.0237752516, -0.0390382744, -0.0001723414, 0.0297788102, -0.0444300547, -0.0113023845, 0.0479110219, 0.0092594679, -0.0586099923, -0.0227245968, 0.0604971834, 0.0412291884, 0.0014736486, 0.0320012942, -0.0151106659, 0.0169514474, 0.0319654383, 0.0503012612, -0.0831404999, -0.0024832888, 0.0126258293, 0.0311453268, -0.0142604616, -0.0395402312, -0.0051902789, -0.1112771258, 0.0233199876, 0.0028733581, -0.0542856082, 0.0135104815, -0.0440101251, 0.0065582362, 0.0023641638, 0.0447636656, 0.0433827043, 0.0074836616, -0.0282972325, 0.0275082719, -0.0199078731, -0.0434563346, 0.0364307016, -0.0532597564, 0.0390558131, 0.0414828211, 0.0107009318, -0.026800096, -0.0015251109, 0.0750627592, -0.012055343, -0.0199429318, 0.0079386914, 0.0295963325, 0.0336683951, -0.0212874226, 0.0271583963, 0.0014392282, 0.0024707958, -0.0190456752, 0.0462475866, 0.046839565, -0.024990838, 0.0128965368, -0.0428676307, -0.006159123, 0.0011701657, 0.0526206754, 0.0294575486, -0.0105444826, -0.0349219888, -0.052894406, -0.0312589854, -0.0631453693, -0.0481503904, 0.034397278, 0.0179870836, -0.0395521149, -0.0469847135, 0.0031330164, -0.0136188418, 0.0264837667, 0.0258582886, -0.0080585657, -0.0195007361, 0.026418373, -0.0291934982, -0.0212400239, -0.0279356111, 0.0470947772, -0.0543739982, 0.0733299851, 0.0193984583, 0.0129807424, -0.0386381038, 0.0145498123, -0.075424917, -0.1001147553, 0.0198740121, 0.0617082343, 0.0256512817, -0.0567326248, -0.0563564561, -0.0837635323, 0.0451319441, 0.0292368364, -0.0200055856, -0.0050025107, 0.0589035898, -0.0711337551, 0.0185676366, 0.0231357552, -0.0498188883, -0.0056188111, 0.0110585373, 0.0267201625, -0.0211919937, -0.0217964109, 0.0160540864, 0.0703401566, 0.0150298858, -0.0014310325, 0.0018760766, 0.0393375494, 0.0280884691, -0.0598847456, -0.0475675613, 0.0230646431, 0.021498492, 0.0220022891, -0.0068390239, 0.001923885, 0.0202992111, -0.010736892, 0.0399243273, 0.006173105, 0.0199657921, 0.0430498421, 0.0203845743, 0.0536769778, -0.017093895, -0.0097793918, -0.0040738662, -0.0012904229, 0.0473680981, 0.0021601766, 0.0137566179, -0.0203003939, -0.012911059, -0.0159854405, 0.0355557986, -0.0721205324, -0.0520589948, 0.0273493025, 0.030568447, 0.0296337176, 0.0250494964, 0.0532678217, -0.0139093697, 0.0066684615, -0.0404728204, -0.0278746169, -0.0202305987, -0.0427705497, 0.0452585854, 0.0272888523, 0.0182044916, 0.0497085713, 0.088705793, 0.0296084713, 0.050489407, 0.0469653532, -0.0085869879, -0.0275854077, -0.0455879644, 0.0088739004, 0.0487076975, -0.0489779636, -0.0554128848, -0.0906178355, -0.0843636319, -0.0003748234, 0.04171215, 0.0435546339, 0.0437690318, 0.0080525251, 0.0388126038, 0.0256524701, 0.0329184346, -0.0705297068, 0.0140139237, -0.0263155531, -0.0387226492, 0.0385403633, -6.148228878e-33, 0.030051481, -0.0247559268, 0.014721348, -0.0502818786, -0.0062620784, 0.0060870741, -0.0402572975, 0.0144863119, -0.04079739, -0.0134934802, -0.0151424212, 0.0223659761, 0.0034142449, 0.0123170884, -0.0307236407, -0.0311876759, -0.02279968, 0.0083335303, -0.0162133761, 0.0180747099, 0.041610077, -0.0268990435, 0.0188751388, -0.048185762, 0.0319733806, -0.003448206, -0.0475145429, 0.0264162757, -0.0625229627, 0.0626472384, 0.0065132333, 0.0278455596, -0.0199342538, -0.000790543, 0.0172514301, -0.0332383513, 0.0000545342, -0.0167628955, -0.0015424353, -0.033894252, 0.0129913259, -0.0438267477, 0.0062378314, 0.0170587301, -0.0212941542, -0.0204663314, -0.0208565928, -0.022900546, -0.0149440886, -0.0145866135, 0.0120511148, 0.0269096009, -0.0522272922, 0.0101907849, -0.0151242642, 0.0121904016, 0.0463656411, 0.0253124982, -0.0180752706, 0.0423124209, 0.0175495204, 0.0152180027, 0.0582494214, 0.0091126226, -0.023602169, 0.0410761014, -0.0448004715, 0.0025865545, 0.0491875969, 0.0002030105, 0.0147659369, 0.0627759397, 0.0826402828, 0.0721033514, 0.0253779553, 0.007243325, -0.1103096008, 0.0517872535, 0.0329481475, 0.0613706447, 0.0198387746, 0.0017006826, -0.0781192034, -0.011533591, -0.0352686644, 0.0160905756, -0.0433541425, -0.0026911432, 0.0115400897, -0.0241223369, -0.0547362715, -0.0073324642, 0.0089289779, -0.0294450969, 0.012582466, 0.0413083956, -0.0477059968, -0.0020027994, -0.023046378, 0.0471748337, 0.0203844272, -0.004230848, 0.0037744632, -0.0391894393, 0.0156971999, -0.0173151437, 0.0113072116, 0.0428013839, -0.0634223297, -0.0313282274, -0.0162155665, 0.0414469466, 0.0071534403, 0.0122651421, 0.0205987655, 0.0086155226, 0.0167772286, 0.0074582119, 0.0619211532, -0.0136972964, -0.0324467048, 0.0350748822, -0.010209891, 0.0090159997, 0.0162502564, 0.006762736, -0.0057068504, 0.0480206758, 0.0362562202, -0.0630928501, -0.0140134161, -0.0125205088, 2.841e-7, 0.0450414531, 0.0342320427, 0.0318820216, 0.0482956059, 0.0067742765, 0.0570625812, -0.0404241085, 0.0628398582, 0.0010757798, 0.0033869946, -0.0031226, 0.0029424056, 0.0410684273, 0.0643635616, -0.0136494702, -0.007614329, -0.1026638672, -0.0251160357, -0.0712373108, -0.029101612, 0.048834037, 0.0717637837, 0.0177431144, -0.0145341782, -0.0306149591, -0.0599311069, 0.0136787146, 0.0036519852, -0.0120221265, 0.025250392, 0.0418167301, 0.0363179334, 0.0321939439, 0.0474421829, -0.0312550925, 0.0057835039, -0.015997747, 0.0574348979, 0.0311097279, -0.0133161731, -0.0257827099, -0.0583180301, -0.0003812484, -0.05983321, 0.0799831748, 0.0240071062, -0.0253112204, -0.0010129982, -0.049034033, -0.0245978404, 0.0233725682, -0.0309121571, -0.0198330823, 0.0111872125, 0.0025785659, -0.0046536098, 0.0186217315, -0.0304350946, -0.0333741866, 0.0000395106, -0.0085923905, -0.057898622, 0.0094092786, 0.0235177614, -0.0243616533, -0.0118150478, -0.0044603995, 2.938524655e-34, 0.009372782, -0.0385202244, 0.0012803368, -0.016143389, 0.0716158897, 0.0204001311, -0.0276671201, 0.0146742743, -0.0124857351, -0.0530556329, -0.0454484783 ]
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.020356359, 0.0376404524, -0.0297260098, 0.0388518982, -0.0717659593, -0.017872436, 0.0216340255, 0.0127632348, -0.0080959564, -0.0770706758, -0.011558881, -0.0270711277, 0.0396379791, -0.0340168253, 0.0198111497, -0.0719436184, 0.0269794967, 0.0110586453, 0.0096351169, 0.0046098894, 0.0029392282, -0.0164403841, -0.0004046169, 0.035734944, -0.0120050553, 0.0076827747, -0.0084187863, 0.033519458, 0.0331796557, -0.0064516482, 0.0141637679, 0.0526800454, 0.0071529774, 0.0368889086, 0.0000014979, -0.0642478094, 0.0141413053, -0.0277217086, 0.0273101572, 0.0335100368, 0.0187988151, 0.0653586313, -0.0375852324, 0.0096664745, -0.0242364947, 0.0636273324, 0.0244235788, 0.0103925522, 0.0066490821, 0.0472391732, -0.0179395545, -0.0560456924, 0.0135960085, -0.0229510795, 0.0195160974, -0.0199254323, 0.0463311337, -0.0149296205, -0.0020541844, -0.030580217, -0.0249220952, 0.0362697132, -0.0075348685, 0.0174486618, -0.0522388518, 0.0105951047, -0.0520537458, 0.0334240422, -0.0065881354, 0.0018590555, 0.0432734117, -0.030608017, 0.0101206703, 0.0325772315, 0.0163517185, 0.0256114732, 0.0004664749, -0.0077381013, 0.0065442063, -0.0091059441, 0.0588297397, -0.0146970237, -0.0097291945, 0.0186079964, -0.0269209798, 0.0555413067, 0.0467920452, -0.0520628914, -0.0061615128, -0.0048747207, -0.0318521969, -0.0537392199, 0.0042591766, 0.0156238507, 0.0274629798, 0.0170041639, 0.0040602903, -0.0183657911, 0.0054623629, -0.0729476884, -0.0269707087, 0.0169494376, -0.0673319623, 0.0079732826, -0.0129298689, 0.0670098141, -0.0141305709, -0.0057309642, -0.0418475755, -0.0007905014, -0.0358087048, 0.0244346093, -0.058964137, 0.0010656411, -0.0351934247, -0.0049174312, -0.0461175367, -0.0111892233, 0.0150962062, -0.009331624, 0.0011771646, 0.001444615, 0.0036228413, 0.0256855581, -0.015634805, 0.0247411821, -0.038946081, 0.0361619107, -0.0678573102, -0.0734725669, 0.019141987, 0.0163280275, 0.0142537281, -0.091334261, 0.0068564061, 0.0120667908, 0.007160272, -0.0061858329, -0.0342778787, 0.0131324399, -0.0842552185, -0.0299097672, -0.0405807309, -0.0218889099, -0.0212723557, -0.0085865743, 0.0299023613, 0.0160813797, -0.0227953922, 0.0135546783, -0.0478638299, 0.0187825896, 0.0250275154, 0.0269562695, 0.0147728333, -0.0219577681, 0.0057696137, 0.025377037, 0.0655780211, -0.0440329686, 0.0273078401, -0.0037434669, -0.0155652678, 0.0595507212, 0.0028470054, -0.0140131349, -0.0682192445, -0.0189857222, -0.0239455737, 0.0491626188, -0.0007918421, 0.0620637052, -0.0024651124, 0.0040098107, 0.0623993278, 0.0269499347, 0.0468915924, -0.0148804216, 0.0477068536, -0.0012812498, 0.0716557726, 0.0404128656, -0.031268362, -0.0698113814, -0.0100535164, 0.0030592361, -0.050387416, -0.005360208, -0.0010913337, 0.0104797985, -0.0278670359, 0.0072973301, -0.017739132, -0.0122164758, 0.0258053876, -0.0120903775, -0.0302990209, 0.0593833774, -0.0024072225, -0.0730062053, 0.035198912, -0.0376954824, 0.0064412896, 0.0669554844, 0.0227189604, -0.0307289436, 0.0053314739, 0.0195043348, -0.0277404245, 0.0359646641, 0.019852642, -0.0366380811, 0.0539640822, -0.0178363435, 0.0012182237, -0.001623059, 0.0312016401, -0.0148269832, -0.0397597104, 0.0238463785, -0.0261477567, -0.0758780688, 0.0304526128, 0.0287635084, -0.0529917851, -0.0251866728, -0.0449014567, 0.0098727178, 0.0243441798, 0.0425955281, -0.0609337129, 0.0173718557, 0.0513259433, -0.0269033015, 0.0303851794, 0.0727018341, -0.0614164397, -0.0523771532, 0.0321994126, -0.0602331087, 0.0447823815, 0.0291916374, 0.0089803794, -0.059115041, 0.022864271, -0.060966026, 0.1342678964, -0.0153793208, 0.0384666771, -0.0599233322, -0.0245576557, -0.0473098494, 0.0654459149, -0.0015227146, 0.0294971205, 0.0373041593, 0.0130887711, 0.0211098082, -0.0564035848, -0.0753129423, -0.0389272012, 0.0122621106, 0.0171275772, 0.0721195862, -0.0153391333, -0.0381591544, -0.0388247706, -0.1452346891, -0.0161347296, -0.0388023593, 0.0178729352, 0.0523148999, 0.010062607, -0.0407657735, 0.003293294, -0.0219088383, -0.0381756537, -0.0227542929, 0.0250337776, 0.0199844539, 0.0130031789, -0.0282412842, -0.0459259599, -0.0096072238, -0.0331582949, 0.0628460348, 0.0130198579, 0.0156497303, -0.0042619822, -0.012173499, -0.0008016409, 0.0233120993, -0.0146962907, -0.0079462267, 0.0085544726, -0.013517431, 0.0569256134, 0.0193184484, 0.0102154966, 0.0255519412, 0.0155629031, -0.0566867851, -0.0408439189, 0.0025540376, -0.0017708325, -0.0321183279, -0.0772543177, -0.1012043953, 0.0239159111, 0.0737199709, 0.0260685477, 0.0245605689, -0.0413769819, 0.0146780536, 0.0129762888, -0.0266307145, -0.0090263132, -0.0303499252, -0.0477690995, 0.0553074814, -0.0059640706, -0.0127000688, 0.0164025426, -0.0443020575, 0.0190152321, -0.0527055226, 0.0337807015, -0.0265290905, 0.0438167453, -0.0113261184, 0.0330151841, 0.0046905205, -0.0613825135, -0.0215629917, -0.0192422401, 0.0473563299, -0.0326020829, 0.0109455939, -0.0331041515, 0.0112376958, 0.028369911, -0.0129444636, -0.0254673827, -0.0549517311, -0.0345868953, 0.0330428295, 0.0105916671, -0.0259811971, -0.0028838969, 0.0013528247, -0.0179334395, 0.0303515531, 0.0057507437, 0.0148795685, -0.0188505854, 0.0737864301, -0.0031467262, 0.0275996793, -0.0026693896, 0.0163740069, 0.0333716422, -0.031545423, 0.0418967381, 0.045609083, -0.0378631167, -0.004975724, 0.0344904698, -0.0482845902, -0.0470115803, 0.0197089966, 0.0188283902, -0.0172762629, 0.0000038896, 0.1296759397, 0.0281626824, -0.0064711501, 0.007773458, -0.0302897654, 0.0215810612, -0.0133043611, -0.0123591162, -0.0578015298, -0.0098008793, 0.0169282481, 0.011320252, -0.0029231079, -0.0389253013, -0.0043417336, -0.1398151815, 0.0088725267, -0.0366801247, -0.0112720123, -0.0063793161, -0.0085443789, 0.0191136356, -0.0305276606, 0.0462468304, 0.0308667645, -0.0122596901, -0.0012609428, 0.0366830006, -0.0092408396, -0.0676529929, 0.017712608, -0.0586788617, 0.0283385497, 0.0428534411, 0.0640365034, -0.0713024959, -0.0474073403, 0.0150900176, -0.0620819516, -0.0094091743, -0.0069695483, 0.0543451607, -0.0135527197, -0.001967127, -0.0356640741, -0.0098448116, 0.0676794499, -0.0174305215, 0.0331501886, 0.0343576111, -0.0086833406, -0.0073213582, 0.0148588847, 0.0287884437, -0.0028175712, 0.1097188964, 0.0195569228, -0.0620667674, -0.0065978002, -0.0001353674, 0.0344844349, -0.0058649695, -0.005042416, 0.0039605582, -0.0125963949, -0.0151748983, -0.097644642, -0.0146918762, -0.0047278157, 0.041508846, 0.0770676732, 0.0124437474, 0.0072226198, 0.0019671873, -0.0471405126, 0.0182584766, 0.034943372, 0.0377078131, -0.0765454546, 0.0057578664, 0.0527657792, -0.0454646349, -0.0109173274, -0.0193352494, -0.0156044671, -0.0583560504, 0.0550065935, 0.0109133096, 0.0319523551, 0.0585056096, -0.0230836663, -0.0417798758, 0.0518097244, -0.0088731702, 0.0236530025, 0.0425345041, 0.0117150992, 0.024940446, -0.0229171179, 0.0322260149, -0.0467706583, -0.0017962464, -0.0052542128, 0.0589867048, -0.0228291173, -0.0275660902, 0.0191723388, -0.0082012666, 0.0260386337, -0.0456804633, 0.0190341808, 0.0077968487, -0.016530009, -0.0364112295, -0.0076487982, -0.0109034516, -0.0064052925, 0.0084177647, 0.0224879701, -0.0316470899, 0.0220352393, -0.0664257854, -0.0090286741, -0.0760107636, 0.0531320944, 0.0179716181, 0.0357907079, -0.0023323761, 0.0202556755, -0.0025062936, -0.0096175876, -0.0187037643, 0.0793571845, 0.0133447284, 0.0092781931, 0.010466096, -0.0360109285, 0.0111851124, 0.0194935855, -0.0894397497, 0.0297163036, -9.152e-7, 0.0094399322, 0.0325916149, -0.0207082182, 0.0994144529, -0.0197215993, 0.0101903602, -0.0108021349, 0.0060922978, 0.0698295608, -0.0106810341, 0.0219247919, -0.0081464024, -0.0145812323, 0.045411516, 0.0447765626, -0.000689966, 0.0305821504, -0.0008320127, -0.0517533235, -0.0276770182, -0.0223798081, 0.0469731465, -0.0236078221, -0.0305323377, -0.0101537872, -0.0773683563, -0.0536914021, 0.0515191741, -0.0027560918, 0.0389083028, -0.0364704579, 0.0058883359, 0.0377518311, -0.0068381089, -0.0168371238, -0.046129629, 0.0539165735, -0.0051587257, -0.023904331, -0.0520596616, -5.229040418e-33, -0.040350914, 0.0295477696, -0.0266688447, -0.0437269136, -0.0104082013, 0.0283664111, -0.0655673444, -0.0071075829, -0.0379800647, 0.0141126532, -0.0118474774, -0.0021377413, 0.0162495468, -0.0053760558, -0.0112059088, -0.0174584296, 0.0302169882, 0.0252601635, -0.0246459693, -0.0241784528, 0.0494520031, 0.0325504802, 0.0637492239, -0.0270990413, 0.0325362347, -0.0226718057, -0.04828218, 0.0600315481, -0.0101910084, 0.0250831153, -0.008317735, 0.023824716, 0.0174123198, 0.0225211959, 0.002197254, 0.043394547, -0.0417242423, -0.0143092796, 0.0631595254, 0.0429875888, 0.0251246542, 0.0143699562, 0.0129273748, 0.002234614, -0.098846063, 0.0408289209, 0.0451312996, 0.0079035768, 0.0162347388, -0.0229176525, -0.0324598365, 0.0036599636, -0.0263771284, -0.0188255068, 0.0011483603, 0.0438275933, 0.0110060554, -0.0106957387, -0.0178253055, 0.0132269496, 0.0169655904, -0.0205906704, 0.0218124706, 0.0330307521, -0.0019887595, 0.0612620637, 0.0476283319, 0.0099550728, -0.0063635833, -0.0035693997, 0.0590584166, 0.0295192152, 0.0405375734, 0.0356301293, -0.0022175151, 0.0328633003, -0.0053659496, -0.0089837732, 0.0866534337, 0.0341334268, -0.007780184, -0.0168721452, -0.0246950202, -0.0462455004, -0.0450367741, -0.0463001616, 0.0009686846, 0.0350906365, 0.0235013813, -0.0304563213, 0.0281310175, 0.0021709925, 0.0366478041, -0.0447182506, -0.0337610692, 0.0138320141, -0.047370635, 0.0353726372, 0.0044986196, 0.066557847, -0.0257326923, 0.0100548649, 0.0610505678, 0.0470716767, 0.005627329, -0.0041996147, 0.0103072589, 0.0243661273, -0.0549189262, -0.0101113115, -0.0194990914, -0.0124138603, -0.0325433314, -0.0246831626, 0.0330814905, 0.0130262179, -0.0007711621, -0.0040509365, 0.0449650176, 0.0014108027, -0.014548447, 0.0029401956, 0.0198778417, 0.0337108858, -0.0095109399, -0.0110417409, 0.0076393345, 0.0793559849, 0.0410018675, -0.0335296653, -0.0112851039, -0.0254911091, 2.379e-7, 0.0428850166, -0.0044453382, 0.0477995537, -0.032472875, 0.0322156772, 0.0222433861, -0.0264814515, 0.0360038504, 0.0036877429, 0.0295515694, 0.0144359861, -0.0515434369, 0.0500935763, 0.0119233271, -0.0353528373, -0.078014791, -0.1102354228, -0.0100348238, -0.0405854434, 0.0784522742, 0.0260956436, 0.0518690385, 0.0233395938, -0.0266262311, 0.0041229934, -0.047491543, 0.0193693005, -0.047719866, -0.0047543412, 0.034867771, -0.0067129252, -0.0054577123, 0.0489800237, 0.0548133329, -0.0017138608, 0.0480424315, -0.0099264728, 0.0208089929, -0.0140274996, 0.0059957649, -0.0283731688, -0.0123628182, -0.0132072456, -0.0452880152, 0.0506436266, 0.0441948585, 0.0046182405, 0.0119719272, -0.0592886731, 0.0228921603, 0.0187274031, -0.0240423698, -0.0358455963, 0.0159465726, 0.035567563, 0.0042854599, -0.0258036871, -0.0498639308, -0.0426657014, 0.0210241191, -0.062774837, -0.060750965, 0.03411768, 0.0086114407, -0.0166087393, -0.0882609561, 0.0257893186, 1.702399936e-34, 0.0354554951, -0.0013266723, 0.0133414743, 0.0231988747, 0.0173279606, 0.0080953827, 0.0621889569, 0.0013244216, 0.0143644977, -0.0426495783, -0.0128230192 ]
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.0220238827, 0.0111817354, -0.0295877717, 0.0096919592, -0.0662766099, 0.0088884216, -0.0154207451, -0.054030817, -0.0225642622, -0.0104271034, -0.0155888302, -0.0212681666, 0.0063224379, -0.0197126865, 0.0031365135, -0.0661010295, 0.0271636657, -0.0399680994, -0.0061731236, 0.0021008293, 0.0141105391, 0.0008348979, -0.040655572, 0.0333736017, 0.0328405462, -0.0386293344, -0.0222165175, -0.0032936924, 0.0276771486, -0.0220296159, 0.0361207202, 0.0478034839, 0.0443673022, 0.0735126138, 0.0000022204, -0.0912895054, -0.0166236069, -0.0076664928, -0.0253454987, 0.0403206646, 0.0147156622, 0.0247602146, -0.0214512721, -0.0004221022, -0.0339114182, 0.0357093178, 0.071909517, 0.0309696309, 0.0562779047, 0.0491490513, 0.0258426107, -0.0188099146, 0.0459207259, 0.0047466867, 0.0045745345, -0.0135507751, 0.0304694623, 0.0456464365, 0.014082172, -0.0114942128, -0.0513839424, 0.0101288594, 0.0081708031, -0.009864796, 0.0141582955, 0.0151586439, -0.0218187273, -0.0106447255, -0.0041085402, 0.0594484769, -0.01613429, -0.0179921333, -0.0037563706, -0.0189264286, 0.0052936557, 0.0512061864, -0.0680922866, 0.0190139748, -0.0002013229, 0.0429000221, 0.0275525805, -0.0504709519, 0.0125839952, 0.047576841, 0.0170572232, 0.0454809889, 0.0084538059, -0.0471417569, -0.0158445518, 0.0333955176, -0.0276701171, -0.0194417462, -0.0198713467, 0.0521463342, -0.0379364118, 0.0302496888, -0.0280750785, -0.0065419767, 0.0000117813, -0.0256612562, 0.0487912446, 0.0440634154, 0.0267977715, 0.0344468802, 0.0052406294, 0.0766232684, -0.024915332, 0.035312403, -0.0331901163, 0.0412937328, -0.0494155772, -0.0203251205, -0.0183100272, 0.027535772, 0.0228931699, -0.006003086, -0.0532691255, 0.0125559922, -0.0378809273, 0.050137233, -0.0172533393, -0.0194888301, -0.0264241956, -0.0041903225, -0.0374014378, 0.0754825845, -0.0247726925, 0.0094702244, -0.0085225329, -0.0048705838, -0.0054454445, 0.0077162432, -0.026342243, -0.0272013899, 0.0058976882, 0.0482106321, -0.022783516, -0.0113209458, -0.0171842277, -0.0366417691, -0.0025173847, -0.0546599664, -0.0169899315, -0.0955634564, 0.0127255442, -0.0026005553, -0.0308552589, -0.0320772827, -0.0050469697, -0.0099936649, 0.0238556545, 0.0440362394, -0.0098854937, 0.0267280936, 0.0609587245, -0.0176110063, 0.0142247677, 0.0722907186, 0.0566744767, 0.0062630447, 0.0075830901, -0.0624701381, -0.0178070534, 0.033648923, 0.0071550128, 0.0296593457, -0.0397430211, 0.0043809884, 0.0403096005, 0.0807535127, 0.0000233954, 0.0074805813, -0.0099434033, 0.0537044033, 0.046956908, 0.0526550189, 0.0095739029, -0.003866903, -0.008714838, 0.0304868426, 0.0047599073, 0.0259391759, -0.0463823751, 0.01799394, -0.0308709554, 0.0242366623, 0.0154960211, 0.0209609345, 0.0044896826, -0.0534472354, -0.0218296107, 0.0227497239, 0.0075445333, 0.0539728403, 0.0781756416, -0.0309678316, -0.0193722956, 0.0120851845, 0.047195971, -0.0093486654, 0.0323202796, -0.0316017792, 0.0653409287, 0.0663188696, 0.0604332276, -0.05307623, -0.0748992115, -0.0085308021, 0.0162244514, 0.043851912, 0.0458371304, -0.0071797012, -0.0764278397, -0.0421621874, -0.0435254686, -0.0178282708, -0.0127599109, -0.0117455199, 0.0286716595, -0.0157546643, -0.0150758717, 0.0127251698, -0.0867821947, 0.0237622093, -0.064695321, -0.0569539107, -0.0573827326, 0.0175615996, 0.0102791069, 0.0040129405, -0.0019387853, 0.0098608015, 0.0151553852, 0.0117771272, 0.0200300757, -0.0535093173, -0.0294462182, 0.0308563281, 0.073979415, -0.0167239178, -0.0154335191, 0.0193080697, -0.0393397436, -0.0153040048, 0.0238518137, -0.0206975434, 0.0133230733, -0.0029357665, 0.0408176593, -0.046966102, -0.0162562039, -0.0698083192, 0.0216963943, 0.0432941169, 0.0462406576, -0.007546484, -0.0207105353, 0.0134759741, -0.0121746538, -0.020279035, 0.0111247124, -0.0113382004, 0.0368214734, 0.0257652402, 0.0119795017, -0.0660409927, -0.033482112, -0.0274621863, 0.0108910864, 0.0103814565, 0.0472262502, 0.010940671, -0.0167757533, -0.0379480869, 0.0111578107, -0.0503304563, -0.0260615405, 0.0058069858, -0.0092521692, 0.0274618827, 0.001462375, -0.0247058962, -0.0790454224, -0.0279964935, -0.0558697321, -0.0146569274, 0.0187602267, 0.0191653427, -0.0734870434, 0.0288894195, -0.0225830581, 0.0225987732, -0.0023712486, -0.0421572998, 0.0168006364, -0.0165812671, 0.0418652147, 0.1111560389, 0.008283997, 0.0429479256, 0.0535622388, -0.008347461, -0.0899681821, 0.021554796, -0.0437707566, -0.064014934, -0.0538552478, -0.02884477, -0.0213374402, 0.0793898553, 0.016278401, -0.0122259315, -0.0571637452, 0.057327237, -0.0304142702, 0.0238258597, -0.036212232, -0.0293038562, -0.0291706827, 0.01432666, -0.027135225, -0.058814235, 0.1110341027, 0.0015317277, 0.0327221416, -0.0380764604, 0.0095327348, -0.0304912273, 0.0204125382, -0.0095599294, 0.0125283916, -0.0072025773, -0.017670881, -0.0752326921, -0.0229280572, 0.0726836622, -0.0628418624, 0.0753450543, -0.0320254155, -0.0210764855, -0.0355637968, 0.0004540623, -0.0357303806, -0.0130502228, -0.0184981171, -0.0128872562, -0.0111802267, -0.0202634502, -0.0305198543, -0.0154574364, 0.0545888953, -0.0120229078, -0.044941023, -0.0022944754, -0.0144699439, -0.0103639485, 0.0731228963, 0.0202702545, 0.0146352956, -0.060077168, 0.0626163706, 0.0001815837, 0.0493603796, 0.0109408805, 0.0014125424, -0.00820057, 0.0670405105, -0.0465473421, 0.0336563773, 0.0305925123, 0.0536433831, -0.0673237443, -0.0039188955, 0.1004733145, 0.049540747, -0.0305924565, -0.0076830103, -0.0410275906, 0.046993535, 0.0166309718, 0.0350765996, -0.0421268195, -0.0156689789, -0.0227122344, 0.0320691764, 0.0097573269, -0.0143651254, 0.0082088327, -0.1344709545, 0.0024264315, 0.0481453463, -0.0297554117, -0.008023724, -0.0189092979, 0.0060027894, -0.0030847867, 0.0145622818, 0.0238348022, -0.012053133, 0.001602321, 0.0636602342, 0.0096511412, -0.0333123282, -0.0017141987, -0.0421102867, 0.0464629531, 0.0640900061, 0.00088619, -0.0311919935, -0.0334610343, 0.0063008647, 0.0283970777, -0.0312265959, 0.0189913083, 0.0010093489, -0.0180009156, 0.0128305824, -0.029747881, 0.0491259843, 0.0005669185, -0.001197214, 0.0338255987, 0.1114618182, 0.0106042419, 0.0302611589, -0.0236856826, 0.0111558735, -0.0139520233, 0.0610703565, 0.005779909, -0.0679337606, 0.0225307606, -0.0207280423, -0.0343534537, 0.0137202023, -0.044130113, 0.0124285538, -0.0135951322, 0.0436292402, -0.0002160503, -0.035808593, 0.0459844768, 0.0007255918, 0.0277021881, 0.01487308, 0.0151599022, -0.0223852694, -0.0370662734, 0.067339398, -0.0245464109, 0.0232682303, -0.0714942142, -0.0005436577, -0.0131647037, -0.0740005076, 0.0025716352, 0.0080221454, -0.0802291036, -0.1006444171, -0.029862389, 0.003910088, 0.0144314868, 0.0204095896, 0.0274894964, -0.0497837849, -0.0204565804, 0.0032073851, -0.0232866872, -0.0037712951, -0.0285643078, 0.0071823751, 0.0036359255, -0.0004740461, -0.026050508, -0.0238065235, 0.0459549539, 0.0446312279, -0.0106532443, -0.0370893478, 0.054166384, 0.0113638062, 0.0736966208, -0.0307136513, -0.0322727636, -0.0378934592, -0.0114956219, -0.0006286317, -0.0510925315, 0.0240197908, -0.0499292649, 0.0488023907, -0.0102350675, 0.0125523685, 0.0138273723, 0.0098478468, 0.0246903393, -0.0406757966, 0.0384939201, -0.0175016318, -0.0200975854, 0.0378862135, 0.0266738813, 0.001114027, 0.0084920274, -0.0015467848, 0.0509549454, 0.0203829277, 0.1037335619, 0.039783556, 0.0633273348, 0.0216560885, -0.0159951225, 0.0024532874, -0.0670682415, -0.031429477, -0.0148964459, 0.0352653228, -0.0161071029, 0.0267368499, -0.0310386736, -0.0008330771, -0.0099137584, 0.020783145, -0.0575741343, -0.0021740284, 0.0604641698, 0.0437998325, 0.008633255, -0.0100977495, 0.0121166967, -0.0183266308, 0.0118820807, -0.0147754541, 0.0084835179, -0.0071652276, -0.0221243296, 0.0600840412, 0.0038613766, -0.0091466671, -0.0008589965, -0.051481925, -0.0332033411, -0.0349645913, 0.0443857349, -0.029481763, -0.0354776718, 0.0447394438, 0.0320502184, -0.0801025182, -0.0177678112, -0.0072310874, 0.0078588827, -0.0216283835, -0.0485898592, -0.0389716998, -6.204111512e-33, -0.0466009565, -0.0267620943, 0.0453448705, 0.0463216528, -0.0682144687, -0.0309332889, -0.0148769859, 0.0460850373, -0.0044229128, -0.0064878226, 0.0184039157, -0.0078983484, -0.014015954, 0.0131160468, 0.0341959521, -0.0146756489, -0.0097675864, 0.0112249414, -0.0331380405, -0.0019120779, 0.0034076849, -0.0175356474, 0.0800370276, -0.038709227, 0.0463043675, -0.0139633259, -0.0083273984, 0.0285180528, -0.0451122262, 0.055298008, -0.0008167231, 0.0359542221, -0.0006743902, -0.026795432, 0.0120552033, 0.0345579572, -0.0165768359, -0.0416618921, 0.0542874597, 0.0152956722, -0.0253172275, -0.0634371936, 0.0510898456, -0.0033467344, -0.0592996106, -0.0086744828, 0.0543022342, -0.022903109, -0.0189526994, 0.0161342975, -0.0865618512, 0.0150237232, -0.0502213053, -0.0445595197, 0.0185997467, 0.0394362062, 0.0123520102, 0.0221824646, -0.0341493376, 0.0534898229, 0.081538111, 0.0599297099, 0.116641812, 0.0566679575, 0.0050871172, 0.0237434916, -0.0102161029, -0.0085859383, 0.0031247216, -0.0004713012, 0.053376887, -0.0051807342, 0.0705494583, 0.0400714912, 0.0013375862, 0.0084090745, -0.0375322662, 0.0182929933, -0.0138316024, 0.0245046616, 0.0359294489, -0.0085130855, -0.063933216, -0.015340128, -0.0813478678, 0.0319666527, -0.0068703173, -0.0232245363, 0.0205271486, -0.044396881, 0.0122044804, -0.0337891281, -0.0077039939, -0.0288138241, -0.0239858255, 0.0088436026, -0.013767329, 0.032421235, -0.0282193609, 0.0077260691, -0.0596409626, -0.0228290278, -0.0347928256, -0.0282942727, 0.0092546716, 0.0283360109, 0.0113037759, 0.0154542932, -0.042822849, 0.0235934127, -0.0370272808, -0.0008407448, 0.0210648458, -0.0202311408, 0.0585177764, 0.003998192, -0.0052911099, 0.0590788648, 0.0320917554, -0.0670062676, -0.0105158724, -0.0163660422, -0.0291424803, -0.0171104725, 0.0001438197, 0.0151034473, -0.0247529261, 0.028730128, 0.0140923746, -0.0500533953, -0.008216613, 0.0212057065, 2.919e-7, 0.0140683278, 0.0593661666, 0.0333857723, 0.0087565063, -0.0165210776, 0.043243289, -0.0366141908, -0.010313089, 0.0413272232, -0.0242259745, 0.0237289593, 0.0354825035, 0.0604694299, -0.0108629381, -0.0433704071, -0.0059371684, -0.0532596335, 0.0263098069, -0.0545723215, 0.038672965, 0.0406849571, 0.0381503589, 0.0348576978, 0.0170382317, -0.0247401427, -0.0020717853, 0.045228757, -0.051146552, -0.02618335, 0.0596018508, -0.0288050566, -0.0098971641, -0.0193524901, -0.0165171325, 0.0162801035, 0.0301881842, -0.0211942215, 0.0446893089, -0.0022639413, 0.0055618584, -0.0250695087, -0.0033381491, -0.0087136598, -0.0825253725, 0.0001898372, -0.0765787363, -0.0223784596, 0.0060459501, 0.0048846095, -0.0448685326, 0.0300567336, -0.0387351923, 0.0227100383, 0.004128641, 0.0227042343, -0.007233839, -0.008354146, -0.0141429277, -0.03494763, 0.0575272329, -0.0342843197, -0.0151909292, -0.029952392, 0.0045257662, -0.0075287344, -0.0467614792, 0.014468289, 2.473872172e-34, 0.0204020943, -0.0428406, 0.0501297936, -0.0034126255, 0.0045564775, 0.0040949048, -0.0335426517, 0.032851167, 0.0549599826, -0.0650551543, -0.0128049878 ]
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.0706526935, 0.0015071725, 0.0045985673, 0.064881824, -0.1067729145, 0.0222786088, 0.0099369558, -0.0031744854, 0.0743046701, -0.0563141331, -0.0053005554, 0.0064769103, -0.0117843319, 0.0052724271, 0.0058824318, -0.0174756646, 0.0349353962, -0.049488645, 0.0127025535, -0.0282892939, -0.020414941, 0.0403680727, -0.0439787917, 0.0155555541, -0.0221014842, -0.0165783204, -0.0134815341, -0.0098350979, -0.004113181, 0.0024394628, -0.0245728847, 0.035953965, 0.0312955081, 0.0106115956, 0.000002186, -0.0637784526, -0.0157402959, -0.0019720371, -0.0709935427, -0.0286941007, -0.017625818, 0.02329004, 0.0165166147, 0.0139014525, -0.0544820689, 0.0288361982, -0.0059531047, 0.0546711348, 0.0587942339, 0.0597267225, 0.0046522617, -0.0468731932, 0.0023328464, 0.0069962651, 0.0244928915, -0.0386456586, 0.0445503555, 0.0405188911, 0.0517247319, -0.0240882281, 0.0008108305, 0.0542298034, 0.0270928107, -0.0361111239, 0.0197736174, 0.0370462276, -0.0307231974, -0.0205136277, -0.008232017, 0.0863182917, 0.004779418, 0.0064066374, -0.016415881, -0.0038708467, -0.0108741559, 0.060087923, -0.0339369699, 0.0251379572, -0.0487816595, 0.0121674128, -0.0061393562, -0.0307713822, 0.0426382571, 0.0292220786, -0.0368817709, 0.1314700991, -0.0109715778, -0.0303168297, 0.0563591011, 0.0096630296, -0.0446071513, -0.0405025072, 0.0248916186, 0.064006798, -0.0306279343, 0.0453394614, 0.0238165278, 0.0156537909, 0.0138533236, -0.042769935, -0.0012624562, 0.0219200701, 0.0095549114, 0.075846754, -0.0589697659, 0.0131885251, 0.0111074923, 0.0516307615, -0.0151525941, -0.0231440272, -0.1096462309, -0.0428278074, -0.0174774956, 0.0421680845, -0.025946239, -0.0219390821, -0.0105749918, 0.0512596965, -0.0097972834, 0.0410739109, 0.062851131, 0.0490522385, 0.0579756685, -0.045064345, -0.0740672499, 0.0165636092, 0.0014497875, 0.0308481641, -0.0002329377, -0.0215839446, -0.0089908913, -0.0079919435, -0.005622711, -0.01084729, -0.0046210489, 0.0527326204, 0.0195683278, -0.0078188572, -0.0462421998, -0.0658114925, -0.0253107119, -0.0657457709, 0.0077484241, -0.0630066469, 0.0397116318, 0.020097997, -0.0096092662, -0.0216321629, 0.0366211049, -0.0033520106, -0.0500091575, 0.1238413081, -0.0454438701, 0.0209279992, 0.0208844189, 0.0374129899, -0.0464009009, 0.0437568203, 0.0119375559, 0.01047571, 0.0171770956, 0.0217742603, -0.0132356929, -0.0061318562, -0.0122564724, -0.0202157106, -0.0097705862, -0.0013590712, -0.0137831494, 0.032331571, -0.009548693, 0.0312611721, -0.0138823586, -0.0050335201, 0.0452562347, 0.0476803072, 0.0270600431, -0.0069561088, 0.0196474791, 0.0231535975, 0.0002614989, -0.0132977748, -0.0448314808, 0.0180797651, -0.047647059, 0.0074396753, -0.0002203532, -0.0115726357, -0.0012284194, -0.0321217626, -0.0284598134, 0.0139452033, 0.0301056094, 0.0438197143, 0.0527086295, 0.0068772621, -0.0363769084, 0.0273962989, 0.0190012641, -0.0148323914, -0.0104645761, -0.0434229113, 0.0377890579, 0.1009878963, 0.0679858178, -0.0233444404, -0.0284633413, -0.0024458428, -0.0144614363, 0.0268972851, 0.0100235045, -0.0185768995, -0.0276526958, -0.0649682656, -0.0585640483, -0.0024729986, -0.0175988115, 0.0070567699, 0.0144953942, -0.0251679253, 0.0188858733, -0.0201908033, -0.0175236855, 0.0046178247, -0.0299367085, 0.0020920553, -0.0067291977, 0.0063283183, 0.0071702488, 0.0389490388, 0.0014225881, 0.0434871949, 0.0159269087, -0.0231761802, -0.0642862916, 0.0208906494, -0.0441956408, -0.088029705, 0.0404821523, 0.009893178, -0.0139083639, -0.0406803526, -0.0425417721, -0.0437371135, -0.009286914, -0.0029830418, 0.0361861847, -0.0511125028, 0.0045327004, 0.0302212052, -0.0501606129, -0.0338103585, 0.0961952731, 0.0005192881, -0.0059211655, 0.0192700326, 0.0234996956, -0.0052658762, -0.0016252361, 0.0107888458, 0.0276049171, 0.0356224254, -0.0056128544, -0.019812068, -0.0320705585, -0.0735388175, 0.0060750712, -0.0894872397, -0.0002403694, 0.0066421418, 0.0197302122, -0.0114972219, -0.0265448727, -0.0089758588, -0.0135421921, -0.0229887012, 0.0180454794, 0.0325782783, 0.0096095335, 0.0149599882, 0.0098595163, 0.0035609966, 0.0140990363, -0.001150289, -0.0258254781, 0.0153421946, 0.0268637482, -0.0275401119, -0.0394804068, 0.0655908436, -0.0603926443, 0.0153647261, -0.0089474507, 0.0182016287, 0.0138230184, -0.0230067261, -0.0013332606, 0.0482209362, -0.0138207804, -0.017740339, 0.055594977, -0.05056113, -0.068472676, 0.0176027995, -0.0184993632, -0.0161705539, -0.0188159831, -0.0010223433, -0.0314586423, 0.0320599452, 0.0253701676, -0.0285027288, -0.0480306484, -0.0098804915, 0.0093707815, 0.0021377488, -0.0458832085, -0.039236065, 0.0092764581, 0.0197758693, -0.0460185744, -0.0340214632, 0.1071748585, -0.0070606731, 0.0119084315, -0.0279531609, -0.0074382522, -0.0488320626, 0.0679039285, -0.0289880503, -0.0047856839, -0.0066005923, -0.0260650497, -0.0143161211, -0.0254087262, 0.015988132, -0.0294899587, 0.0334091932, -0.0528522357, 0.0289294086, 0.0161182191, 0.0141369179, -0.0541319251, -0.0077638691, -0.0515128113, 0.0345943607, -0.0180439316, 0.0092241261, 0.0100130253, 0.0020518787, 0.020776106, 0.0017647598, 0.006465659, -0.0201611463, -0.0262010582, 0.0096221361, 0.0050960435, 0.0120812943, 0.019769609, 0.0001272326, 0.0570582077, 0.0603991561, 0.0333583243, -0.0109573537, 0.0045157298, 0.006650554, -0.0131514836, -0.0376909748, -0.0026868042, -0.0100542801, 0.0408066176, -0.083702594, 0.021572154, 0.1178219765, 0.061177928, -0.0248964429, -0.0262120534, -0.0279475879, -0.0023263905, 0.0455873385, 0.0190829225, -0.0829635486, -0.0446215309, 0.0156721119, 0.0178133249, 0.0007564705, -0.075202778, -0.0182781219, -0.1108320877, 0.0343679562, 0.0176501088, 0.0340668261, -0.0192266311, -0.0548808761, -0.0000646694, 0.0302462988, -0.0098205898, -0.0003946323, 0.0037511231, -0.0112524871, 0.0333589725, -0.0079807453, -0.0180182178, 0.0322132073, -0.025913192, 0.053159032, 0.025662113, 0.0261574704, 0.0404092558, -0.0329255499, 0.0103957579, 0.0153628727, 0.0520188101, -0.0392677002, 0.0132069215, 0.0027328099, 0.0156854391, -0.0329693258, 0.007878921, -0.0707991198, -0.0259042885, 0.0092404243, 0.1110338941, -0.0608502142, -0.0202032998, 0.0019840065, 0.0357200578, -0.0046107168, 0.071387738, 0.0131016634, 0.0490063243, -0.0274067316, -0.0149134453, -0.0219046883, -0.019392509, -0.0296457298, 0.040234372, -0.0003772221, 0.0384590328, -0.0425015874, -0.0104322657, 0.0779314339, 0.0307531897, 0.0102390898, 0.0415379629, -0.0031517388, -0.0040585855, -0.0311918892, 0.0537726916, -0.0521362461, 0.038126938, -0.0247080103, 0.0112791881, 0.0189024303, -0.026856605, -0.0012511661, 0.0294506792, -0.0400719307, -0.0992062837, -0.025547659, 0.012327224, 0.0217252858, 0.0643227249, -0.0268086269, -0.0427147262, 0.0606940575, 0.0431591049, -0.0385681465, -0.018029049, -0.0064503253, 0.006517652, -0.0042439573, 0.024926981, -0.0286797918, -0.0236524101, 0.0117453085, 0.0606203638, -0.0529275239, -0.0427253582, 0.0249231216, 0.0463269353, 0.0034482854, 0.0028790741, -0.0018166549, -0.0564449243, 0.0347036198, -0.0148437982, -0.0328628868, -0.0290617608, 0.0106094563, 0.0138420183, -0.0520661511, 0.0248460844, -0.0150006441, -0.0120695569, 0.0263112895, -0.005787746, 0.0020555663, 0.0194702819, -0.0151117453, 0.0279579069, -0.0112286936, 0.0035152289, 0.0108485539, 0.017270593, 0.0201288927, 0.00143538, 0.08784464, 0.0196846612, -0.0237077344, -0.0463070199, -0.0021026856, -0.0397632085, -0.1134257466, 0.0503144935, 0.0369082354, 0.0498678088, 0.0076121981, -0.0095663033, -0.0508629084, 0.0061036455, 0.0037151361, 0.0313060395, 0.0204593167, -0.0254877862, 0.0636901855, 0.0396790691, -0.0162047483, 0.0036781402, 0.0391652323, -0.0298080165, 0.0479269661, -0.0223059114, -0.0593649484, -0.0336152799, -0.0512482151, 0.0255796798, 0.0369128697, -0.0414217822, 0.0290464871, -0.0424270555, -0.0898655951, -0.0059900982, -0.0116155632, -0.0262777228, -0.000068382, 0.0347122103, 0.0410384983, 0.0216525327, -0.0501402207, -0.0328728259, 0.0158860311, 0.0057947934, -0.0017988118, 0.0160441175, -6.541955201e-33, -0.0207650345, -0.0641612634, 0.0434812158, 0.0004597502, -0.0264213737, -0.0118977996, -0.023208674, -0.0090630818, -0.0177364796, 0.016291976, -0.0221238565, 0.0134325475, 0.0167239644, -0.0168349463, 0.0047416566, -0.0202342123, 0.0018000575, 0.0096776485, 0.0149599584, 0.0025875603, 0.0549824722, 0.0326521024, 0.0457275771, -0.0607026666, 0.0606413484, 0.0110916328, -0.0044303029, 0.0680611655, -0.05283935, 0.0255011693, -0.0119411694, 0.0330857262, 0.0326237455, -0.041802343, -0.0041711414, 0.0140969204, -0.0715067759, -0.012306992, 0.0563579947, 0.0048698909, -0.0461532921, -0.0178814419, 0.048123803, 0.0202289186, 0.0403786041, -0.0133738145, 0.0274091996, -0.0327384733, -0.0322197601, 0.0104263127, -0.0072764261, 0.0263112336, -0.0170292966, -0.0231594555, 0.0401616804, 0.0083003528, -0.0124709439, -0.0153423119, -0.0703792274, 0.0197233036, -0.0002611633, -0.0126105174, 0.0752221495, -0.0176678468, 0.0166714434, 0.0430362225, -0.0118768178, -0.0161618907, -0.0660296977, -0.0116446605, -0.0190680474, 0.0975726321, 0.0154548353, -0.0255391784, -0.0187811758, 0.0034943421, -0.0706788003, 0.004647986, 0.0249390751, 0.0431956463, 0.0238087624, 0.0255876556, -0.0462853312, -0.0445395447, -0.0377204195, 0.0326525196, -0.0401752777, -0.0323156044, 0.010205592, 0.0072887647, -0.0073064929, -0.0189126097, -0.0165755209, -0.0417602174, 0.0172514748, 0.0175408088, 0.0298741814, -0.0033754052, -0.0226554517, 0.020347232, -0.0672378317, -0.0039544785, 0.0180556905, -0.0325115882, 0.0015794816, 0.0165777896, 0.0195093546, 0.0051816851, -0.0304984245, -0.0078878384, -0.0748823062, 0.0189395528, 0.0151055492, 0.0013699565, 0.0444584899, 0.0373185277, -0.0211163014, 0.0323245712, 0.0050948998, 0.0207586251, 0.0057631871, 0.0322115049, -0.0222488567, -0.0054672626, -0.0168351475, -0.0085307909, 0.0008724262, -0.020626964, 0.0198302902, -0.0090929214, -0.0187568106, 0.0162763447, 3.032e-7, 0.0392460972, 0.0435580164, -0.0060988883, 0.0418986268, 0.0087885056, 0.0225056913, -0.0323547944, -0.0337418467, 0.0408568718, -0.0453768, 0.0205273312, 0.0708014742, 0.0135455774, 0.0551291332, -0.0677573383, -0.0120891286, -0.0045817504, -0.043535307, -0.0711760446, -0.006958982, 0.0762748048, 0.0112656849, 0.0382220075, -0.0251333471, -0.0085584363, -0.0869241953, 0.0284332503, -0.0029965842, -0.0280204657, 0.0029414336, 0.0883598626, -0.0047141858, -0.000444904, 0.0879606605, 0.0099308649, -0.0040924875, -0.0163656212, 0.0454849564, -0.0198635533, -0.0514499918, -0.0264595039, -0.0502922311, 0.031103665, -0.0484212339, 0.0994702652, -0.0311644878, -0.0336925685, 0.0235620122, 0.0172521826, -0.0675161406, 0.0041042264, 0.0086455783, 0.0226642545, 0.0121891368, 0.0027373906, -0.0127089247, -0.0179975033, -0.1063282937, -0.0020633279, -0.01098831, -0.0558071956, -0.0201695655, -0.0093449634, 0.0201997086, 0.0243385322, -0.0489108115, 0.0169216227, 2.932939221e-34, -0.0041788034, 0.0382613726, 0.0001233454, 0.0493805073, 0.0461943075, 0.008889732, -0.015041898, 0.0136617161, 0.0186012685, -0.1048985049, -0.0204671081 ]
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.0364253782, 0.0458347574, -0.0504814684, 0.0236865543, 0.0084455591, 0.0660854056, 0.0481362045, 0.0485610813, 0.0020631461, -0.0886043906, -0.0171581637, -0.0263881404, -0.03369423, 0.0386922956, 0.0280264504, -0.0726743564, 0.0036793381, 0.0516308472, -0.0013117598, -0.0414641835, 0.0585000329, -0.0026268067, 0.0088199554, 0.0271166954, -0.0853622928, 0.0009217081, 0.040978238, 0.0235899352, 0.0209392048, -0.0061464608, 0.0275473893, 0.0114701074, 0.0296611581, 0.0263200868, 0.0000020096, -0.0323565304, 0.0084530497, -0.0248542503, 0.0223123357, -0.0283159576, 0.0812914148, -0.0618069954, 0.019856384, 0.0197879225, 0.0009272128, 0.0146784429, 0.0814594477, 0.0806966573, 0.0415772833, 0.072396256, -0.0268526729, -0.0488058254, -0.0169492085, -0.0077728322, 0.0412580483, 0.0072675995, -0.0084935529, -0.0342331231, -0.07027895, 0.006414989, -0.0345754512, 0.0140011022, 0.0124338949, 0.050798662, -0.0007579784, -0.0055065299, -0.0275776833, -0.0431277901, 0.0058133211, 0.0436653234, 0.0020157024, 0.0030272475, 0.002008453, 0.0078849448, 0.0203059725, -0.0084549198, -0.050903853, 0.0026276615, -0.0089134621, 0.0107920896, -0.0443622023, -0.004614091, 0.047501225, 0.0315142125, -0.0063086967, -0.0024411869, 0.0002734618, -0.0036391502, 0.0129895788, 0.0250797402, -0.068867363, 0.0134414267, 0.0199328344, -0.0066974149, 0.0286969524, 0.001577966, -0.0866049156, -0.0664271191, 0.0036295, -0.0620377325, 0.020111898, -0.0086432742, -0.0546419546, 0.0176057015, 0.0071779923, 0.0294045452, -0.0204764921, 0.0250580981, -0.0075635798, -0.004451416, -0.0319263674, -0.0132451579, 0.0454738587, 0.0089627793, 0.0200390574, 0.0026857348, -0.0675723404, 0.0093760761, -0.0279916953, -0.0287239961, -0.0406002253, 0.01002461, 0.0171308015, -0.0003742358, -0.033394672, 0.0206559002, -0.0276753157, 0.0242240261, -0.0290843509, -0.0707285181, 0.0006800773, 0.0328298174, 0.0143206818, -0.0186492037, 0.0466178656, 0.1060848981, 0.0441341139, -0.024065258, -0.026616741, -0.0356703959, -0.0519853048, -0.0480978303, 0.076698035, -0.0350739881, 0.0068901619, 0.0011895354, 0.012428158, -0.0418556817, -0.018161254, 0.0036140888, -0.0400023907, 0.0682549924, 0.023462167, -0.0360337943, 0.0183008276, 0.0420787521, -0.0240452476, 0.0664117858, -0.023652235, 0.039459575, 0.0666082725, -0.0292806886, -0.0196601972, 0.0484070666, 0.0532731265, 0.0056374534, -0.0332645178, 0.0169078074, -0.0249217004, -0.0257309861, 0.0223712455, 0.0069755726, -0.0265225768, -0.0400260761, 0.0564054288, 0.0306607969, -0.0423433781, 0.0297722705, 0.0266204905, 0.0069576432, -0.0084453505, -0.0046324111, -0.0638196021, 0.0041032704, -0.0384696461, -0.0357797854, 0.0289584827, 0.0480126403, -0.0458824337, -0.0399233475, -0.0271054246, -0.0447584763, 0.0232954342, -0.0465320423, 0.0449695364, 0.0179357938, -0.0309532154, 0.0134987812, 0.0418049842, -0.0280650407, -0.013231311, -0.0196201745, 0.0078775985, 0.029791249, 0.0129395192, -0.0053048651, 0.0025155728, -0.0326100066, 0.0046622232, 0.0237954408, -0.0145212784, 0.0259639677, 0.0119976606, -0.0311315916, -0.0211720075, -0.0325100571, 0.0212553274, 0.0420308001, 0.035466861, 0.0473526679, 0.0154307252, 0.0267157555, -0.0113365939, 0.0094566979, 0.0527345575, -0.0253860168, -0.0144642899, 0.0470580943, 0.0427403115, 0.0091009857, -0.0292576887, -0.0533400625, -0.0070595308, -0.0249268543, -0.0547333919, 0.032735642, -0.0435490757, -0.0089359302, 0.0251571033, -0.0953452736, -0.0002945115, 0.0901322067, 0.0180665441, 0.0395634957, 0.0975289494, -0.0214654692, 0.0144273266, -0.0014729244, -0.0329999737, -0.0472748876, 0.0354195312, 0.0193398409, 0.0437271819, -0.0187428277, -0.0278138891, 0.0054740561, -0.0468804985, 0.0449585952, 0.0645674169, -0.0554501154, -0.0371808149, -0.0274390578, 0.0021009101, -0.0313870534, -0.0129232835, -0.0384624898, 0.0293392856, -0.0924877003, -0.0275826287, -0.0397264734, -0.0425111949, 0.0105751585, -0.0321964957, 0.002579479, -0.0092524802, -0.0312730856, 0.0123186093, 0.0206466466, 0.0447985977, -0.0125653967, -0.0256807841, -0.0057373806, -0.0381648317, -0.0052809422, 0.0033096008, 0.0515235737, 0.0137497187, -0.0172579642, 0.0250468031, 0.0193198808, -0.0318905041, 0.0047701388, -0.0244048424, -0.0280478243, 0.0225885008, 0.0279252827, -0.020020159, 0.0539000072, 0.016193429, 0.0969091058, -0.0153318765, 0.0342517458, -0.0199919082, -0.0102710743, 0.004819653, 0.0178541094, -0.0372122861, -0.069112353, -0.0070843804, 0.0756789893, -0.0050202701, 0.0104166502, -0.0552976951, 0.0594132021, -0.0341973528, -0.0483392403, -0.0378873833, -0.0275050327, 0.0398229323, -0.0077139195, -0.0293428339, -0.0870954394, 0.039959982, -0.0100955358, -0.0075936625, 0.0159126893, -0.0102893747, 0.0045326832, 0.0815282613, 0.0185084157, 0.033413399, 0.0363298878, 0.0162600875, 0.0241447482, -0.0395460315, 0.0301025826, -0.000537595, -0.0100471228, -0.0026101191, -0.0237380266, 0.004945673, -0.0422080755, -0.0355459787, -0.0605670512, -0.0279122647, -0.0630393624, 0.0167706329, -0.0143477526, -0.0193126202, 0.0001127395, 0.0151431933, -0.0636161938, -0.0081263119, -0.0165719669, 0.0498923995, 0.0043905634, 0.0255408026, -0.0307021681, 0.0156289339, -0.0292237923, -0.0478613414, 0.0443401448, -0.0148152374, -0.0123688439, -0.0353611782, 0.0088714575, 0.0111794127, 0.0767631978, -0.0387638621, -0.0459441617, 0.0448336154, 0.0048354659, 0.0332437754, 0.0720056593, -0.014694416, -0.0133674908, -0.0014971892, 0.0407235101, 0.0027467639, 0.0095951948, -0.0366706625, -0.036579188, -0.054108724, -0.0482953452, 0.0027648658, -0.0468421802, 0.0185512006, -0.0024377031, -0.0673479736, 0.0143584581, 0.0054828813, -0.0260971878, -0.0128412833, 0.0206531864, -0.015564872, -0.018474929, 0.0070513026, -0.0496593677, 0.0222805161, 0.0067652478, 0.0014244714, -0.0097298669, -0.023684863, -0.0389274396, -0.0493551157, -0.0036762301, 0.0522048213, 0.0287253372, -0.017057782, -0.0430659801, 0.0434080586, 0.0189300962, 0.0133164842, -0.0699829981, 0.1062517539, -0.0203305539, -0.0386441126, -0.0198855195, 0.0119788367, -0.0261109043, 0.0369007215, -0.0046354197, 0.0349818282, 0.0097540002, -0.0032813423, -0.0828517601, 0.0164316911, -0.0196055025, 0.0433201939, 0.0135738561, -0.0644742996, -0.0012066783, -0.0358737186, -0.0138209583, -0.0465098545, -0.0680937544, -0.034222126, -0.0337294862, -0.0219050776, -0.022186147, -0.0278141554, 0.0027679508, 0.0522340015, 0.0285392776, -0.0273453537, -0.0865210444, -0.0093639176, -0.0418735482, 0.0462548882, -0.0026704441, 0.0115291346, 0.0108835883, -0.0285482425, 0.0073258453, -0.0345000997, -0.0163083766, 0.0243376363, -0.0682874024, -0.0426337607, 0.0055921706, 0.0642597973, 0.017236704, 0.0347261392, 0.037730325, -0.0314136222, 0.0647071674, 0.0481415763, 0.0198545121, 0.022264462, 0.0687267557, -0.0171902757, 0.0247993711, 0.0205597002, -0.0144782951, 0.0415815972, 0.0556057096, -0.0956085026, -0.0338317752, 0.031221183, -0.0301844161, -0.0273859948, 0.0486676916, -0.0142669976, -0.0299644656, 0.0272367056, 0.0111876987, -0.0089221196, -0.0069506993, -0.0271621682, -0.0148291904, 0.0169093553, 0.0174378958, -0.0437292978, -0.0058767805, -0.0307804961, 0.0333740264, -0.0420017019, 0.0272864476, 0.0724730268, 0.0262154825, 0.0012904195, 0.0105697783, 0.0162628349, 0.0267755464, 0.0346290097, -0.0275729597, 0.0002038311, 0.0348202623, -0.0204591453, -0.0008317502, 0.0031804675, -0.0056898776, 0.0325189866, 0.017672373, -0.0106479814, -0.026154859, 0.0144284442, -0.0574641116, 0.0180411246, -0.0062371222, -0.0088931406, -0.0072380775, -0.0022550737, -0.0265869088, -0.0262460094, 0.0362361372, 0.004501543, -0.0096797198, -0.0108057661, 0.0584989302, 0.0022806979, 0.0350731798, 0.0185655709, -0.0466105603, -0.0122475345, 0.0305352472, 0.0822549164, 0.0339680798, 0.0207412709, 0.024263192, -0.0430697948, -0.0527974926, 0.0182312615, -0.0518505201, 0.0452649482, 0.0413259864, 0.0098564671, 0.080548279, 0.0092433114, 0.0211311225, 0.0197659787, 0.0066621006, -0.0289904848, -0.005321647, 0.0111190081, -6.272593609e-33, -0.0065792482, -0.0136674009, -0.0344443507, -0.0358767249, -0.0009329849, 0.0057095313, 0.0330267139, 0.0292554908, 0.0352850035, 0.0106919548, 0.027828807, 0.0162684303, -0.0065694544, -0.0135132773, -0.0120025482, -0.0417506061, 0.018174123, -0.0077821137, -0.0099935504, -0.0241137091, 0.050371401, 0.0231393818, 0.009743128, -0.0716289133, 0.0270106755, -0.0244540442, -0.0276817791, -0.0299737453, 0.0546841994, 0.0632956475, -0.0131178116, 0.067048572, 0.0469178148, 0.0056946711, -0.0088423556, 0.0544645488, -0.0396935418, 0.0094506517, 0.0262272544, 0.024809787, 0.0139123686, -0.0454320386, 0.0653632805, -0.0165707823, -0.033374995, -0.023786068, 0.0395194292, -0.0234228391, 0.052018173, -0.0045821704, -0.0635922328, 0.0110836355, -0.022870196, 0.0001240259, -0.0048820013, 0.0462821051, 0.0620955937, 0.047965873, -0.0156281516, 0.0729443878, -0.0238204468, -0.0526746064, 0.0420435816, 0.0012585983, 0.0184711907, 0.0875450075, 0.0292790681, 0.0363148078, -0.0259962808, -0.0029561028, 0.0265075751, 0.0328958854, 0.0707955733, 0.079866536, 0.0648815632, -0.0690937489, -0.0606052056, 0.0109132184, -0.0458181649, -0.0456739962, 0.0106777791, -0.0012184716, -0.0511525758, 0.0083957687, -0.000823937, -0.0490866937, -0.0329567343, -0.0641178414, 0.0166678242, -0.028262347, -0.0333664902, -0.0091712214, 0.0338092484, -0.0155138643, -0.0027959417, 0.0079925321, -0.0150513109, 0.0208471585, 0.0116185863, -0.0087951021, -0.0104790637, 0.0031942839, 0.0498972572, -0.0127150258, 0.0517855212, -0.003914129, 0.0864772275, 0.0230860785, -0.06691733, -0.0222460944, -0.0352236815, 0.009874884, -0.0051113656, 0.0417223126, 0.0153586231, 0.0570014529, -0.030728912, -0.0386725701, 0.0020067617, -0.0180140529, -0.0444834046, 0.0003626148, -0.0434401669, 0.0180016588, -0.0125957476, -0.0520721264, -0.006788217, -0.0431245416, 0.0227885097, -0.117716603, -0.0011578645, -0.0572936982, 2.645e-7, -0.0115058273, 0.0212876368, 0.014898926, -0.0024633608, 0.0520227924, 0.080540739, 0.0024058355, 0.0076181437, -0.0184417032, -0.0097186146, 0.0045202449, 0.0323722586, 0.0079148253, 0.0282429568, 0.0176487174, -0.0167669002, 0.0156506952, -0.0066578365, -0.0433761105, 0.0345618986, 0.0144729195, 0.085735023, 0.0587328263, -0.0519075878, 0.0046845414, -0.0323896222, 0.0780140758, -0.0655685738, 0.0089359637, -0.0655270368, 0.0013430184, 0.0198910125, -0.002118259, 0.0107383858, 0.0017839461, -0.0263557043, 0.0260171965, 0.0240821149, 0.0281754378, -0.0095842313, 0.0040877112, 0.023129316, -0.0166412834, -0.0137664145, 0.0515939444, -0.0066829431, -0.0282969791, -0.0612550452, -0.0159901455, -0.0186534747, 0.0786352754, 0.0044385856, 0.0104053384, -0.0221578088, 0.0217283126, -0.0156832449, 0.0076277768, -0.1043165997, -0.0039308639, 0.0249526799, -0.0293404516, -0.01432072, -0.0532299541, -0.0237530842, 0.0816837996, 0.0394254103, 0.0079433182, 1.951579598e-34, 0.0273950584, -0.0511670262, 0.0177979209, -0.0391007923, 0.0196403358, -0.0069423392, -0.0293754227, -0.0400809385, 0.0331209414, -0.0119911665, 0.0237976573 ]
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.0278514717, 0.0962237865, -0.0232795626, 0.0341391005, -0.0419065952, -0.0019401636, -0.0286684986, -0.0103237433, -0.0044336715, -0.0315545797, -0.0430379696, -0.084592849, 0.0439260416, -0.0217165016, 0.0437222607, -0.0203127451, 0.0314145759, -0.0089684371, 0.0318670273, -0.0560840592, 0.0049843253, -0.0117323846, -0.0291412305, 0.0157280844, 0.0295319371, -0.0056339544, 0.0092109311, -0.0297225695, 0.0025815023, -0.0308510959, 0.0510946773, 0.0865094215, -0.0153626027, 0.0315281637, 0.0000019125, -0.0447013713, -0.0100848852, -0.0254459046, -0.0411722958, 0.0371980332, 0.0118327485, 0.0553615093, 0.0087202061, 0.046043925, -0.0621049926, -0.0034191885, 0.0265202094, 0.0084736291, 0.0354226269, 0.0454369001, 0.0167646911, 0.0065066591, 0.0135514457, -0.0116301253, 0.0255970415, -0.0522212982, 0.0361708179, 0.0278813094, -0.0463139601, -0.0003279258, -0.0042923931, 0.0459967293, -0.0167497881, -0.0156445224, -0.021290889, 0.0045946636, -0.0553762689, -0.0247221906, -0.0133547951, -0.0008738084, 0.0458036996, -0.0349003263, -0.0448900163, 0.0092406413, 0.0140583506, 0.0194071569, -0.0517474227, 0.0202216748, -0.0074855383, -0.0007500788, 0.0041986522, 0.0206830818, 0.0245538969, 0.0023031838, -0.0085014394, 0.1137510017, 0.0060176058, -0.0069029639, -0.004650299, 0.0273306333, -0.0258597545, -0.0473041646, -0.0125040188, 0.0374060608, -0.0185545553, 0.0376353189, 0.0150293009, 0.0373177007, 0.0469116494, -0.0517830886, -0.0255003478, 0.0321017504, -0.0059796739, 0.0304223318, -0.0067645693, 0.0546586812, 0.012101884, 0.0127557963, -0.0117389029, -0.0165179074, -0.012226833, -0.0233656075, 0.0173685327, 0.0045644408, 0.0046960642, 0.0421533063, -0.0876982734, -0.005017349, -0.0253283288, 0.0210099258, -0.0089329816, 0.0327082723, 0.0013254985, -0.0408417843, -0.0582836829, 0.0632515848, 0.0117215244, 0.0429657139, 0.0187449176, -0.1255825758, 0.0178283844, 0.0072394041, -0.0297328308, 0.0109772617, -0.0033787536, 0.0561386608, -0.0115030278, -0.0115307998, -0.0219616946, -0.0353262126, -0.0367665067, -0.0639685765, -0.0104548149, -0.069391191, 0.0348382927, 0.020787634, -0.0036845745, -0.0242229458, 0.0070025423, 0.0100294771, -0.0104299663, 0.0553875118, -0.0139368568, 0.0490712859, 0.0483290069, 0.0168631263, -0.0343811512, 0.0539292693, 0.0340022445, 0.0126016513, 0.0466041565, -0.0118218567, 0.0516469255, 0.0156564154, 0.0182253886, 0.0149786407, 0.0199934654, 0.0211032443, 0.0015503203, -0.0025427062, 0.0305109043, 0.0618388504, -0.0344514139, -0.0093065044, 0.0904434174, 0.0278884564, 0.0027358376, -0.0069606206, -0.0275005586, -0.0106960451, 0.0425725058, 0.0291073825, -0.078247875, 0.0163388271, -0.0436787196, 0.0225135367, 0.0494473018, 0.0136997849, -0.0105683897, -0.050050348, -0.0148820002, 0.0134489397, -0.0135134775, 0.0468330607, 0.0283064134, -0.0334092751, -0.0148646198, 0.046552252, 0.0254742447, -0.0454356894, 0.0054677553, -0.0662479773, 0.0226028431, -0.0039917869, 0.0033063935, 0.0051098582, -0.0245444458, -0.0005896877, -0.0093179243, 0.0132557955, 0.0513510108, -0.013006594, -0.00579884, -0.0325850323, -0.0051165977, 0.0231338255, 0.0224169977, 0.0007477616, 0.0444146283, 0.0201400649, -0.0029626554, -0.0342879407, 0.007601779, 0.0058722422, -0.0006050796, -0.0204265229, -0.0250823777, -0.0342339464, 0.0403066278, -0.0012188602, 0.0116576729, 0.0497149602, 0.0219837613, 0.0232129116, -0.0502896234, -0.0168555416, -0.0217003599, -0.0331410356, 0.0532468036, -0.0095110172, -0.0094716083, -0.0546770841, -0.0257561542, -0.0348705649, -0.0135009447, -0.016045453, 0.0198094975, -0.0363394842, 0.0510734543, -0.0331741646, 0.0053230161, -0.0616781265, 0.0697574541, -0.0324751362, 0.0526789501, -0.0112030273, -0.0340037271, 0.0202475321, -0.046709314, -0.0351473056, -0.0004367195, -0.000997488, 0.0344819464, 0.0572181642, -0.0511081032, -0.0537891015, -0.0210415069, -0.0767168328, 0.0075211264, -0.0023626215, 0.0518598482, 0.0214967262, -0.0031037733, -0.0149887903, -0.0035844129, -0.0834490284, -0.0073199216, 0.0217551105, 0.0468339846, 0.0326628722, -0.0181252323, 0.0143948393, -0.0420216098, -0.0191393699, -0.0341994055, 0.0076266443, -0.0003603589, -0.0279937591, -0.0822672322, 0.0534201637, -0.0812456608, -0.0028220755, -0.0295215305, -0.0560063981, 0.0008044946, 0.004843154, 0.0005939356, 0.0421147123, 0.0209139865, -0.0290172882, 0.0547657497, -0.0003062454, -0.0269264691, -0.0181264188, -0.0533658639, -0.0737762898, -0.0140308486, -0.0914448202, -0.0090505164, 0.0575181767, 0.0379252471, 0.0046059694, -0.0346459672, 0.0055757025, -0.0372437052, -0.0190110076, -0.0296837855, 0.0092673777, 0.0027286236, 0.0806144327, -0.0182694718, -0.0747089013, 0.0719183311, -0.0116254026, -0.00058521, -0.015084683, 0.0009481849, -0.0100073097, 0.0098722689, -0.0023224377, -0.0104277991, 0.0134572871, -0.0200159829, -0.1047632396, -0.0563895963, 0.0241823457, -0.0835521147, 0.0234842878, -0.035095308, -0.0364993326, -0.0037105361, -0.01768291, -0.0374885947, -0.0052599213, -0.0328684002, -0.024976762, 0.0259005148, -0.0304104872, -0.0136418557, -0.0152174979, 0.0231555384, -0.0396770723, -0.0596934743, -0.0077224458, 0.0162381455, 0.0345229544, 0.0471204333, 0.0246878099, 0.0823624954, -0.0599979013, -0.008754123, 0.0776950717, 0.0601321943, 0.035794165, 0.0170435328, -0.0384564735, 0.0613926537, 0.0026766458, -0.0478949025, 0.0413057879, 0.0779334828, -0.008951542, 0.0239992868, 0.113660574, 0.0212690216, -0.0145670883, -0.0248913784, -0.041275315, 0.0607266016, 0.0213218424, 0.0198472776, -0.0610619597, 0.0083661564, -0.0027973715, 0.0171642881, -0.030741334, -0.014066116, -0.0181030612, -0.1140601858, 0.0180051513, 0.0130289216, -0.0241763126, 0.0011837624, -0.0382159352, 0.0231139194, -0.0192075837, 0.0498556793, 0.0390203744, 0.0196796563, 0.0072251195, 0.0354422107, -0.0744767711, -0.0282627735, 0.0048229145, -0.0374826491, 0.0798466355, 0.0062511237, 0.0304664038, 0.0122247767, -0.0582645535, -0.0215449203, -0.0552174151, -0.0399094895, 0.0109856632, 0.054032173, 0.0007044073, 0.0135340057, -0.0032439134, 0.0079442607, -0.0357641988, 0.0258890912, -0.0018218321, 0.0503595173, -0.0114044417, -0.0293656942, -0.0086983703, 0.0201450735, 0.0039630821, 0.0538333058, 0.0021202678, -0.0009449854, -0.0109729376, -0.0243704468, 0.0226880442, 0.0483017117, -0.0269752648, 0.0696309283, 0.0228648037, -0.0008881305, -0.0664458796, -0.0377583839, 0.0051806448, 0.0042744963, -0.0108636208, 0.0326672271, -0.0030469268, -0.0020228769, -0.044438228, 0.004353866, -0.0445826426, 0.0303263962, -0.045701284, 0.0656151995, 0.0165802669, -0.0087451907, 0.0048431414, -0.0149726868, -0.1140182838, -0.0923761129, 0.0031919656, 0.0400410667, 0.0336543918, -0.0237825196, 0.0022136087, -0.0672017932, 0.0462974124, 0.0056260852, 0.00673737, 0.0269352049, 0.0222890452, 0.0612305813, -0.0063056089, 0.037932694, -0.0145551106, -0.0089201862, 0.0146147488, 0.0062466254, -0.0280713048, -0.0706541762, 0.0280241631, 0.0118058408, 0.0499124154, -0.0142567586, 0.0127108311, 0.0053876489, 0.0127278045, -0.0272089001, -0.0113701615, 0.0204324443, -0.0363246389, 0.043319881, -0.0390976146, -0.0055951127, -0.0374783464, -0.012153863, -0.0038792852, -0.0231259204, 0.0098085962, 0.0462230071, -0.0099299923, 0.0267133489, 0.0049518491, -0.0022177678, -0.0113824205, 0.0060740416, 0.0635781661, 0.0341279469, 0.0451583192, -0.0017151923, -0.0492728092, 0.0019124747, 0.0034540263, -0.0712401271, -0.0785347, -0.0009069987, 0.0343951732, 0.0152163086, 0.0153789204, 0.0448159799, -0.0033049202, 0.0047466727, -0.0204616152, 0.0167693719, 0.0115074031, 0.0075347112, 0.0741742924, 0.0040094317, -0.0247771572, 0.0358694978, 0.0801459998, -0.0155081525, 0.0351379588, -0.0313008092, -0.0423778966, -0.0160376076, -0.0295601487, 0.0116704805, 0.005959162, -0.0228170063, -0.020627223, -0.0410947502, -0.0800051391, 0.0150017813, 0.0334173851, 0.0053493446, -0.0306186005, 0.0040069991, 0.0736553818, -0.0150331473, -0.0236254111, -0.0460839644, -0.0029184539, -0.016015904, 0.0269474257, -0.0267806146, -6.825254482e-33, -0.0064954553, -0.0566551089, 0.0075563779, -0.0028743877, -0.0168641619, 0.000654458, -0.0172577631, 0.0300172716, -0.0388426334, 0.0365746543, -0.0318032354, 0.0246627517, 0.0260652751, 0.0135521134, 0.0384716764, -0.0171223078, 0.0092260148, 0.0057317778, -0.0169914868, -0.0155464401, 0.0247059893, -0.0072845449, 0.0890059397, -0.1105455235, 0.0876804441, -0.0228039641, -0.0340645947, 0.0642226562, -0.0098733241, 0.0274299029, -0.0143861268, 0.0432446375, 0.0101287887, -0.0186653193, -0.0075127948, -0.0086547527, -0.0181584433, -0.040437758, 0.0231377371, 0.0336461626, -0.0017917358, -0.0122594377, 0.0182033647, -0.0248649549, -0.0247454494, -0.0034429503, 0.0123802107, -0.0212866291, -0.0400590003, 0.0104926005, -0.0136690503, 0.0198307969, 0.0338694192, 0.001897244, -0.0299458075, 0.067313835, -0.0080515565, -0.037564259, -0.0477636345, 0.0297899693, 0.0136977276, 0.0555583164, 0.0679620355, 0.0300002415, 0.005437965, 0.0428546183, 0.0579157323, 0.0322879292, -0.005736365, -0.0273267739, 0.0067087221, -0.0144002335, 0.0622362383, 0.0657677874, 0.029242957, -0.004749618, -0.0517282002, 0.0201733764, 0.0259623006, 0.0385907665, 0.0416282639, 0.0361533985, -0.0732024163, -0.056593895, -0.0284772962, -0.0279654991, -0.025732344, -0.0315605216, -0.0132975252, -0.0074741468, -0.0079419771, -0.0244826749, 0.0311254449, -0.0436497703, -0.0464584976, -0.0119853653, -0.0019772688, 0.0310402941, -0.002360937, 0.045841001, -0.0309279878, 0.0000076767, -0.0191988368, 0.0128582064, -0.0101045948, 0.0402154662, 0.0051979683, 0.0129821971, -0.0798124224, -0.0029937881, -0.0178774651, -0.0180168189, 0.036997471, -0.0107952198, 0.0347605199, -0.0063652894, -0.0108203152, 0.0045463298, 0.0177448392, 0.0237192865, -0.0024207847, 0.0049074907, -0.0115596689, 0.0093352571, -0.0384846181, -0.0134768803, -0.006360379, 0.0122730127, -0.0092552258, -0.0224959794, -0.0244726948, -0.0305545889, 2.813e-7, 0.0590990894, 0.0498208106, -0.0141274044, 0.0369538553, 0.0266408846, 0.032960169, -0.0000588757, -0.0139906406, 0.0746745244, -0.0675693452, 0.0087273847, -0.0167639498, 0.040703889, 0.0536697879, -0.057204932, -0.0603782535, -0.0378532335, -0.0020400824, 0.0207670741, 0.0017539375, 0.068380408, 0.0842259973, 0.0055169472, -0.0050895121, -0.0520597026, -0.008617688, 0.0634648129, -0.0103298165, -0.0443035178, 0.0710995048, 0.0957583189, 0.012591524, 0.0170540493, 0.051512029, -0.010485013, -0.0050024171, -0.0071172984, 0.0070935246, 0.0041736891, -0.0240761749, -0.0081328694, -0.0292878859, 0.0182680991, -0.0583087541, 0.0414367132, -0.0613388196, -0.0446454883, -0.036447268, 0.0005579547, -0.0506818295, 0.0809876025, -0.0207693093, -0.0173490588, 0.0295330435, 0.0101628415, 0.0323661268, -0.0279637147, -0.0611144193, -0.0448904224, -0.0056984271, -0.012779519, -0.0593872927, 0.019717373, -0.007300681, -0.0207880866, -0.0709852427, 0.0337333269, 2.420529524e-34, 0.0228806753, 0.0040251403, 0.0065157865, 0.0441254787, 0.0537390932, -0.0260401759, 0.0426405706, 0.0211850386, 0.0284772199, -0.0459395722, -0.0099396585 ]
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.0576827265, 0.0120699489, 0.0104345083, 0.0353880934, -0.0261174962, 0.029708311, 0.0397971869, -0.0011218898, 0.0515264496, -0.1013878658, -0.0354466848, 0.0023359971, -0.023248475, -0.0063444641, -0.0168148708, -0.0286256094, 0.0463609248, -0.0330950245, 0.0439236313, -0.0148182055, -0.0042297458, 0.0047383052, -0.0378793105, 0.0253113471, -0.0285309479, -0.0418846123, -0.0217675176, -0.0195144676, -0.0079509448, -0.0511841215, 0.0335681587, 0.1093026102, 0.0013230152, 0.0667708144, 0.0000018633, -0.0728933066, 0.0076135923, -0.0213211402, -0.0535517707, 0.0280210841, -0.0093868719, 0.0462242067, 0.0416926108, 0.0060112383, -0.0340073146, -0.0423199683, 0.0180887766, 0.1122287437, 0.0610469356, 0.0196534712, -0.0088580586, -0.001164014, -0.01600473, -0.0034827045, -0.0198413022, -0.0480754301, 0.018185569, 0.0257389303, -0.0220637191, 0.0843182057, 0.00554635, 0.0408939198, 0.0262571741, -0.0316527635, 0.0002560954, 0.0606467612, -0.0789073408, -0.0175970662, -0.0190589204, 0.0843004435, 0.0887558833, -0.0296265241, -0.0163988899, 0.0011163004, 0.0133456038, 0.0264803246, -0.0104163047, -0.0000336262, -0.0125447428, -0.0091448547, 0.0360753275, 0.0158448424, -0.0046110563, 0.0261745416, 0.0543310978, 0.0389262512, -0.0063208593, -0.0117831007, 0.0373247042, 0.0445421897, -0.0614659488, -0.0851641074, -0.0200125966, 0.0147240851, -0.0406554639, 0.0049707405, -0.0217270795, -0.01121205, 0.024372587, -0.0626361296, 0.0236975234, 0.0309466999, -0.044177264, 0.0615903065, -0.0381295905, 0.0375984609, -0.0187546182, -0.0303864907, -0.011236784, -0.0119539369, -0.0295762867, -0.0208585132, -0.0698866174, 0.0468039513, -0.056891609, -0.002430656, -0.0366004221, 0.0158516448, 0.0104378918, -0.0110868355, 0.012533146, 0.0209341142, -0.0337481573, 0.020186929, -0.0498496033, -0.0013702423, -0.0449909978, 0.0383124575, -0.0354663767, -0.0408728272, -0.0107220355, 0.0032865701, -0.0006878121, -0.0052003236, -0.0152713452, 0.0659353137, -0.0296863113, -0.0129039465, 0.0016023695, -0.0244925376, -0.0000164518, -0.0204047505, -0.0012242229, -0.0311653335, -0.0079976972, 0.015032826, -0.0029916503, 0.0197918322, 0.0458752662, 0.0076737287, -0.02112104, 0.0773855671, 0.0177903716, -0.0105174845, 0.0592243224, 0.0144919464, -0.0295152236, 0.06256634, 0.0095499167, -0.0193111971, 0.0243789759, 0.0159459431, -0.0056626406, -0.0026870242, 0.0232486483, 0.0097076176, 0.0434929244, 0.0293481555, 0.0138199069, 0.0188501235, 0.0061531859, 0.0548455864, -0.0200479236, -0.0501145609, 0.0323805921, 0.0742399246, -0.0552162081, 0.0201957989, 0.0556136519, 0.0200398508, 0.0256928205, 0.0318296961, -0.0343103185, 0.0062691662, -0.027044747, -0.0444444939, 0.0215287358, -0.031275373, -0.0311618038, -0.039358329, 0.0008432578, 0.0089358948, 0.0210668445, 0.0048384671, 0.0325654857, 0.0219668057, -0.0425007567, 0.0228118692, 0.0610890724, -0.0112202577, -0.0516511574, -0.0645419061, 0.0485400967, -0.0189080704, 0.0204418749, -0.0147463763, -0.0439979881, -0.0297392271, 0.0760326907, 0.0599848665, 0.0564589389, -0.0530267805, -0.0059295576, -0.0132549144, -0.0192382913, -0.002085245, 0.018200431, 0.0462238304, 0.041949518, -0.0266630929, 0.0028227845, 0.0261841547, -0.0265877731, 0.017006617, -0.040638987, -0.0450816229, 0.0368544459, -0.0060585681, 0.0176803675, 0.012510214, -0.0030156493, -0.0166305229, 0.0215101521, -0.042129077, -0.0351874866, 0.0051786914, -0.0805689991, -0.0564525761, 0.0167862792, 0.0015290128, -0.0436476544, -0.0426780619, -0.0234660115, -0.0199506823, -0.0102664959, -0.0042430456, 0.0337548219, -0.0580915846, -0.0340732634, 0.0065829991, -0.0216607787, -0.0342324376, 0.0595554933, 0.0219143517, 0.0230682511, 0.0472213291, -0.0079202754, 0.0325891152, -0.0060346494, -0.0076665431, -0.0156700145, 0.0254842937, -0.0064448742, 0.0276990365, 0.0147342943, -0.0637960806, -0.0004630236, -0.1571926922, -0.0148534207, -0.000861637, 0.0010476093, 0.0123654753, -0.0056765699, -0.0026403067, -0.0402153134, -0.0169443041, -0.016732553, -0.0308412779, 0.0270669162, 0.0663517937, -0.0094331745, 0.0533903763, -0.0209036972, 0.018924972, -0.0487299003, 0.0479903556, 0.0587975234, 0.0068992605, -0.029749915, 0.0211664382, -0.0233069528, 0.0285843574, -0.0074315565, -0.042432785, 0.0396000147, 0.0244193245, 0.0727283135, 0.0536806025, -0.0011491833, 0.0366712324, 0.0117481714, -0.0179900248, -0.064213492, 0.040232338, -0.0190430544, -0.0185683817, -0.0046633892, 0.0329904929, -0.0517295003, 0.0926405564, 0.0120677855, -0.0143114803, -0.0570501164, 0.0420598648, -0.0393454917, -0.0081611881, -0.0494420305, -0.0170679241, 0.0062333983, 0.0286432784, -0.0229468718, 0.0003330997, 0.0660487786, -0.0242974497, -0.0026076687, -0.0441655479, -0.0222042259, -0.0173226967, 0.0852578729, -0.0083280224, -0.0180949811, 0.054719694, -0.0331879295, -0.0490161851, -0.0153778996, 0.0406638384, -0.0215381868, 0.0326429941, -0.0269994978, 0.0249927528, -0.0064539528, -0.0511923917, -0.0859330818, -0.0939449072, -0.014722785, 0.0046661738, -0.0440914594, 0.0057065226, 0.0312290061, 0.023027882, 0.004825647, 0.0449736379, -0.0140938777, -0.0155172786, -0.0221704897, 0.0673714876, 0.022297984, 0.0163522363, -0.0101709077, -0.0077281208, 0.0467440598, 0.0495016612, -0.0261506028, 0.0117739588, -0.0377713367, 0.0020554399, -0.0229997858, -0.0374982804, -0.0043495065, -0.0224131327, 0.0710549951, -0.0390893482, 0.0003761673, 0.1342849284, 0.0226589851, -0.0342691168, -0.0100458767, -0.0165989511, 0.0096396599, 0.0472812317, 0.014361389, -0.0815590471, -0.0328923017, -0.0059960247, -0.0285054278, -0.0375791974, -0.0648468733, 0.0063574552, -0.0997193754, 0.0039539537, -0.0474688075, 0.0016011036, 0.0397856273, -0.0535163172, 0.045193173, 0.0052260538, -0.0088103432, -0.0183135439, 0.0049958299, 0.0120038697, 0.0386081524, 0.009797208, 0.0112273302, 0.0504535064, -0.0031788282, 0.050956998, -0.0060693533, 0.0419061966, 0.0011805361, 0.0331196375, 0.0801190212, -0.0236254316, -0.0119402483, -0.0290368516, 0.0448921435, -0.0068701906, -0.0041940776, -0.0362472087, 0.0362736098, -0.0057794424, -0.0182717778, 0.0282208268, 0.0478856601, -0.0282640606, -0.0018302777, -0.0086507304, 0.0254123975, 0.0155291865, 0.0682837069, 0.0246451739, -0.0165484399, -0.0185148735, -0.0434381515, 0.0114167975, 0.0099081593, -0.0207310747, -0.0079864636, 0.0095525077, -0.0021269654, -0.0581041649, -0.0692471117, 0.0444605872, 0.0009393564, 0.0074564451, 0.0032669383, 0.0237304345, 0.0383639149, -0.0246304553, 0.0399647057, -0.0330634415, -0.0325577445, -0.007440398, -0.0346369632, 0.050717622, -0.0149270482, -0.053476885, 0.0162238423, -0.047268454, -0.0401415154, -0.0212092046, 0.0256819949, 0.0122466432, 0.0603685454, -0.0305599198, 0.0202012695, 0.051269576, 0.0567827672, -0.0368202515, 0.0116958413, 0.0300604869, 0.0430495664, -0.0060126614, 0.0338561758, -0.0056547332, 0.0385071002, -0.0115827378, 0.0194573421, -0.0406534486, -0.0245166495, 0.0216124635, 0.0131119285, 0.0741280988, 0.0063461452, 0.0042562122, -0.0515006259, 0.0219303668, -0.0270244777, -0.0510161333, -0.0267345011, 0.0196904521, -0.0142421005, -0.0256663151, -0.0331467576, -0.0683462247, -0.0304050799, 0.0782604814, -0.0151192108, -0.0132260062, 0.0741382912, 0.0272362642, 0.0027753769, -0.0278413594, -0.0360326208, 0.0158735644, 0.0230170004, 0.0394861139, -0.0216379762, 0.0714072287, 0.0350735858, 0.0096982792, 0.0246269554, -0.0122553902, -0.0545842238, 0.0004740657, -0.0016690176, 0.0583449565, 0.0515740439, -0.0336932167, 0.0248050466, -0.0174789112, -0.0054979841, 0.007776781, 0.0667391568, -0.0011932574, -0.0108224312, 0.0276065841, 0.0031400109, -0.0263222773, 0.0608371608, 0.0421895273, -0.0359009132, 0.0488519557, 0.0675471649, 0.0034110891, -0.0516003929, -0.0349519812, -0.0327442065, -0.0056600124, 0.0146002881, 0.0799918473, -0.0120370006, -0.0297035743, 0.0039102794, -0.0234351624, -0.0396935605, -0.0082471669, 0.0173765514, 0.0460187271, 0.0133540938, -0.0479352474, -0.0621625818, 0.0015162987, -0.034975186, -0.0181290507, -0.0571862012, -6.31980587e-33, -0.0818307698, -0.0480899736, 0.0071884529, 0.0313488767, -0.0245161522, 0.0536916479, -0.0669141486, 0.0097735217, 0.0098879598, 0.0581957027, -0.0107135447, 0.0203096196, 0.0063404334, -0.0053892368, 0.0235379003, -0.0611173175, 0.0388940088, -0.0250773244, -0.0149675356, 0.0352669246, 0.0365493931, -0.0015138099, 0.0427616015, -0.0479227453, 0.025784729, -0.0148636438, 0.031355124, 0.0333455354, -0.0140197873, 0.0502498075, -0.0463490821, 0.0110149365, 0.0368721075, 0.0207680035, 0.036363095, 0.0448310934, -0.1019829065, -0.0688527599, 0.0254260004, -0.0096598994, -0.0640930906, -0.0054969196, -0.0226180088, -0.0039010306, 0.0086944969, -0.0282435864, 0.0421347804, 0.0037098615, 0.0129711842, -0.0213383846, -0.0248364676, 0.0101908557, -0.014307878, -0.0302701797, 0.0026342252, 0.0655056685, 0.0246599466, -0.0239939373, -0.0204191674, -0.0111268312, -0.0214823727, 0.0045207799, 0.0042353654, -0.0139327394, 0.0164516959, 0.0590625405, -0.0316844955, 0.007815551, -0.0311048049, -0.0089885136, -0.0031938776, -0.0111345062, -0.0045202305, -0.007232083, 0.0084265042, 0.0399515368, -0.0659241527, -0.0113387406, 0.047890313, 0.0075329896, 0.0300290231, -0.0440630391, -0.0245489273, -0.0198660288, -0.0666331872, -0.0343167, -0.0303818565, -0.0290453285, 0.0232495405, -0.0277826544, -0.0091259275, 0.0005117526, 0.0287800413, -0.0218656175, -0.0418000408, 0.0033175831, -0.0045720083, -0.0023561977, -0.0004597974, 0.0387692973, -0.0351928547, -0.0029266316, 0.0013411432, -0.0078091798, 0.0299110282, 0.0181828216, 0.019509038, -0.016920004, -0.0614844635, -0.0364811346, -0.0261320565, 0.0116152819, -0.0521843247, 0.0543939732, 0.01035765, 0.0648802444, -0.0074064769, 0.0562631935, 0.0018541558, 0.0151403807, -0.0440927967, -0.0023051624, -0.0263008531, 0.0040912419, -0.018888548, -0.0164723005, 0.0009525341, 0.0098005515, -0.0176131781, -0.0542749204, -0.0143753719, 0.0099965725, 2.44e-7, 0.0136466846, 0.0739454851, 0.0210904479, 0.0127642117, -0.0085465303, 0.0349365547, 0.0319148004, 0.0123733878, 0.0351539105, -0.0317709222, -0.0023612615, 0.0364462361, 0.0387071669, 0.0424973927, -0.103840366, -0.0595684089, -0.0838810131, -0.0293638632, -0.0271184575, 0.0040766122, 0.0760095194, 0.0515139028, 0.0261362568, 0.0154221514, -0.044571694, -0.0125070829, 0.0515585802, -0.0140838884, -0.0177640785, 0.0317007825, -0.0058297762, 0.0089745121, 0.0102331806, 0.0609614365, 0.014831664, 0.0103060957, -0.0011912999, 0.0472204201, 0.0007861725, -0.0178151, -0.0270591881, 0.0081787612, 0.0273420904, 0.0071997084, 0.0556447841, -0.0841793567, -0.0362008885, -0.0103954962, -0.0174995493, -0.0174167696, 0.0373822637, 0.026407944, -0.0056789448, 0.0129106343, 0.00710392, -0.0221281108, 0.0000497541, -0.0568447374, -0.0075935139, 0.0040191798, -0.0146144442, -0.0426954068, 0.0108437119, -0.0197631009, 0.0072144424, -0.0190667007, 0.0153026441, 2.120404694e-34, 0.0180000868, -0.0174614992, 0.013495151, 0.051673837, 0.0387419425, 0.0025727509, 0.019505525, -0.0184486024, 0.0536750816, -0.0757575855, 0.0140429353 ]
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.0512204543, 0.0424995534, 0.0057617761, 0.0037470774, -0.0215451755, -0.0061498783, 0.0365373231, 0.0055466699, -0.013142149, -0.0342460051, -0.0162722114, -0.0230165087, -0.0217300542, 0.055990383, 0.0310514458, -0.0560022965, 0.0023210708, 0.0280431006, 0.0403155684, -0.01716768, 0.0385906771, 0.0385078974, 0.0259121265, 0.0284588169, -0.0050659887, -0.0233092364, 0.0329984762, 0.0233776961, 0.0294611882, -0.0048681027, 0.0549515299, 0.0625070557, 0.0011863288, 0.0288345814, 0.0000018289, -0.0038778975, -0.0017283537, -0.0049025272, 0.0384232402, 0.0366671756, 0.0940667465, 0.0162586179, -0.0217365902, 0.0229542274, -0.0330068246, -0.0111620165, 0.0278676283, 0.0621005148, 0.0362200066, 0.0919576511, -0.0243397038, -0.0279582851, -0.0094172675, -0.0449376516, 0.0145152742, -0.0145219648, -0.0167426616, -0.0127439098, -0.0168002378, 0.0334073156, -0.0132556697, -0.0064539211, 0.0106607564, -0.0004135355, 0.0570919141, 0.0386472493, 0.0031754056, 0.0178170037, 0.0095390538, 0.0410296731, 0.0023563723, -0.0365752019, 0.0207643639, -0.0258190371, -0.0080733029, -0.0359030664, -0.0124693075, 0.0328770541, -0.0184344891, 0.0167682469, 0.0106187472, 0.0452649556, 0.0039815977, 0.0399100967, 0.0001753609, 0.0206114445, 0.0312442947, -0.0152379721, -0.0225881431, 0.0353840776, 0.010640746, -0.0859370232, 0.0165530909, -0.0073382482, -0.0174253341, -0.0322180353, -0.0942558944, -0.0466431342, 0.0107489647, -0.0274518188, 0.0499689393, -0.010901832, 0.0295509659, -0.0031551297, -0.0125820134, -0.0049341531, -0.022933796, -0.0077088564, -0.0024109054, 0.0230588801, -0.0281887967, -0.0087038781, -0.0320427045, 0.0175594985, -0.0262023117, -0.0302207954, -0.0568732955, 0.0174493305, 0.0133886328, 0.0306862555, 0.0017801382, 0.0442835428, -0.0511653498, -0.0160521958, 0.0024283137, -0.0226360187, -0.0951181203, -0.0006688863, 0.0645731837, -0.0053522126, 0.0171640497, 0.0371904001, 0.0502753556, -0.034627486, -0.0091089103, 0.0109625692, -0.0333641805, -0.0167696234, -0.0206569377, -0.0667963773, -0.0097273886, -0.0719550774, -0.0334597863, -0.061469838, 0.0042407718, 0.0019257867, -0.000895443, -0.0554637238, -0.000034988, 0.014964967, -0.00491544, 0.0069122929, 0.0016581679, -0.0361998975, 0.0322969779, 0.0026272826, 0.0454007015, 0.0231910497, 0.0315879434, 0.0974368453, 0.0217251685, -0.0044357982, 0.0151371397, 0.0073447851, 0.0147321839, 0.023671791, -0.0294894557, -0.0193586741, -0.0065174177, 0.0446389541, 0.0287710037, 0.0601390973, -0.0214607213, 0.0076494976, 0.097399272, 0.0022616631, 0.0275339317, 0.0750495493, 0.0815695301, 0.0329529308, -0.0071133417, 0.0094608935, -0.0081819762, 0.0223263614, -0.0270447824, 0.0331324898, 0.0478164591, 0.0167817287, -0.0189953204, -0.0401462987, 0.0066187931, -0.0115230046, 0.0068646637, -0.0264008213, 0.0156444646, 0.0277210027, -0.0446703993, -0.0102703674, 0.0331750438, -0.0889071524, 0.0325912125, -0.0095541375, 0.0303962845, 0.1078531966, 0.0395195261, 0.0398529246, -0.0030598531, -0.0261901282, -0.0021821384, 0.0587261803, 0.0445490852, 0.0094024716, 0.008749485, -0.0573577769, -0.0065310211, -0.045659475, 0.0069900118, 0.0336318985, 0.004360822, 0.0356693156, 0.038261313, -0.0080070645, -0.0498104021, 0.0248217843, -0.0308514982, -0.0401413366, 0.0566013977, 0.0040943967, 0.007616783, 0.0110247042, -0.0273718238, 0.00698849, -0.0067509054, -0.0429183431, -0.0401760675, 0.0037190968, -0.0223103426, -0.0181236248, -0.0398465507, -0.0307986848, 0.0205133017, -0.0144388834, -0.0304253623, -0.0548563935, 0.0244164281, -0.0395765789, 0.0127879037, -0.0484716333, 0.0045098201, 0.0321851224, 0.0240279678, -0.0236444101, 0.0534173325, 0.0061463052, -0.0040164315, -0.0143701099, 0.035867624, 0.0004914954, -0.0206075832, -0.0065201833, -0.0281760748, 0.0086662984, 0.0115249809, 0.0437567197, 0.0052655502, -0.0219883993, -0.0648441836, -0.0430878773, 0.0080705388, -0.0170815103, 0.0036114461, 0.0148633095, 0.0234701894, 0.0063818996, 0.0134617472, -0.0712486878, 0.00335066, 0.0059548323, -0.0104800658, 0.0334870592, 0.0173183978, 0.0177194141, -0.0532255806, 0.0101723922, 0.0178458821, 0.0262112599, 0.0448838398, 0.0462046564, -0.0292552579, 0.007138073, -0.0579225495, -0.0009796526, 0.0218052529, -0.0521813855, -0.0031740984, -0.0258630756, 0.0451819785, 0.0543264225, 0.0384194255, 0.0494014099, 0.0084881643, 0.0151656587, -0.0336265713, 0.0034443645, -0.0512006991, 0.0361695252, -0.0014632306, -0.040640723, 0.0236416887, 0.0643086359, 0.0320338421, -0.0085250931, -0.0713102892, 0.0563066863, 0.013667441, -0.024605507, 0.0332223289, 0.0339106321, 0.0026388161, 0.0170934778, -0.0168333482, -0.0477457792, 0.0355491079, -0.0204498749, 0.0088217445, -0.0008339934, 0.0045376294, -0.0198610667, 0.0458966307, 0.0219926722, 0.0367076509, 0.0312223919, 0.0066148178, -0.0262246262, 0.0179621466, 0.0581423342, -0.0002974372, 0.002261058, -0.0015680228, 0.0086646983, -0.0111599015, -0.0525271669, -0.0238393284, -0.0456915386, 0.0091903629, -0.0135033103, 0.0677561089, -0.0551080965, 0.0008776048, -0.0425986461, -0.0026562065, 0.0125126392, -0.052101355, -0.0276404675, -0.0320513956, 0.0487378985, 0.0659115091, -0.0440757535, -0.035856951, -0.043874301, -0.0358643122, 0.0483867154, -0.0164833274, 0.0169033799, -0.0224404503, -0.0097283898, 0.0255767703, -0.0421442948, -0.0311392918, 0.0244690049, 0.0719626769, -0.0392789543, -0.042454809, 0.1158553734, 0.0273982864, -0.0246391259, 0.0149409715, 0.0347780697, 0.0638568774, 0.0054293326, 0.0342315212, -0.0644614324, -0.0215504281, -0.0165382288, 0.031639047, -0.0332665294, -0.0143153863, -0.0314157568, -0.0989011452, 0.0106300749, 0.0136292195, -0.030473575, -0.0151082808, 0.03282905, -0.0520892404, -0.0005658084, -0.0298503004, -0.0093263863, -0.0160661619, 0.0161887053, 0.0079482505, -0.0118533885, -0.0456921645, -0.0270251688, -0.0315067358, 0.0482255667, 0.0700307414, 0.0413977988, 0.0049620741, 0.0010024739, -0.0121547459, 0.0187186059, 0.0100987079, -0.0278696381, 0.060960263, -0.0256125368, -0.0072926651, -0.0346936025, 0.0613604523, 0.0179852471, 0.0233350955, 0.019785868, -0.0014734163, -0.0010940853, -0.0475480668, -0.0250055939, 0.0262453109, 0.0294492431, 0.0665445402, 0.0401046127, -0.0992840976, -0.0564772859, -0.0524554662, 0.0191127062, -0.1065463275, -0.0205614865, -0.0342399999, 0.0021261924, -0.0397476107, -0.1180813313, -0.043098487, 0.0014235036, 0.0170387235, 0.0023415408, -0.0147052845, -0.0107063521, -0.0503978655, -0.0364226401, -0.0144261401, -0.0263905805, 0.0131421536, -0.0681372508, -0.062665984, 0.0319504328, -0.0797574297, -0.0076829502, 0.0257295705, -0.078810215, -0.0742488429, -0.0020849106, 0.0495045856, 0.0048008012, 0.0448389649, -0.0180642232, -0.1085862517, 0.0349569172, 0.0559339039, -0.0225062147, 0.0187503174, 0.0237630755, 0.0249371398, -0.0007587656, 0.0424319282, -0.0133545147, 0.0616123676, 0.0504733883, 0.0155534847, 0.0159525555, -0.0488161631, -0.0033512772, -0.0088632936, -0.0124020977, -0.058036074, 0.0088345418, -0.0300279818, -0.0173659138, -0.0569408163, -0.0185368247, -0.0510052145, -0.0340877473, 0.0234525744, 0.0155291017, -0.0324687809, 0.0145519953, -0.0158851705, 0.0552064329, -0.0780451149, 0.000377309, -0.0569080412, 0.0304825623, 0.0421337076, 0.0084975408, -0.0390222184, 0.0248017907, -0.0092961574, 0.0321040452, -0.0225346889, 0.0447586142, 0.0197049659, 0.0209913105, -0.0164290275, 0.0174630433, -0.0236187167, 0.0353679582, -0.0347023979, 0.0233814474, 0.0199204441, -0.0042483206, 0.0710579455, -0.0418944843, 0.0016552428, -0.0139036719, 0.0787499472, 0.0125750387, -0.0524473861, -0.022160951, -0.0318233222, -0.0259177759, -0.0323612355, 0.092023924, 0.0289865285, 0.005276823, 0.0155083025, 0.0118658729, -0.0585209392, -0.0136242341, 0.0108343912, -0.0010173875, 0.0353917629, 0.0201039612, -0.0565514751, -0.0271982979, 0.0462055877, -0.0094317561, 0.0205633789, -0.0160230175, 0.0406143852, 0.0205959324, -0.0441805273, 0.0058307759, -0.061106015, 0.0074322894, -0.007857115, -0.0038000124, -0.0258018635, -6.100734131e-33, -0.0217667166, -0.0225298796, -0.0221539997, 0.0229678415, -0.013012371, -0.0236593541, -0.0381425284, 0.0121518904, 0.0482257269, 0.0148514491, -0.0244867001, -0.0277279988, -0.0016737719, 0.090832904, 0.0014826985, 0.0440905243, 0.0849836096, -0.0050962009, -0.0564190112, 0.0741965026, 0.0565685742, 0.0168391615, 0.0178792179, -0.0441881977, 0.0100188637, -0.0549053997, -0.0446950272, -0.0301148649, 0.0141328936, 0.0392061286, -0.0095658088, 0.0077687888, 0.0032367727, -0.0148478113, -0.0233943667, 0.0180922914, -0.0372886397, -0.0284540076, -0.0013212695, -0.0155873271, -0.0166712962, -0.0912866965, 0.0287166815, -0.020326497, -0.0218175668, -0.0045883991, 0.0523570217, -0.0082630478, -0.0364740379, -0.1236658543, -0.0853224322, 0.0376854651, -0.0078886664, -0.0046548122, -0.0147700906, -0.0075904974, 0.0000104162, 0.0225664247, -0.0117413169, 0.0240410939, 0.013091919, 0.027089281, -0.0039306344, 0.0187334754, 0.0007300325, 0.0401524045, 0.0138039896, 0.0593885295, -0.023958249, 0.0479735471, 0.0087451907, 0.0290652514, 0.0276277345, 0.0979832262, 0.0167265423, -0.0340807475, -0.0335537232, 0.0467654616, -0.0086024795, -0.0504139327, 0.0628124923, -0.0067036618, -0.0308046192, -0.0152400313, -0.0322482996, -0.0208947621, -0.020588588, -0.0073989052, 0.012371107, 0.0453268476, -0.0510148369, -0.0442165993, -0.0114971325, -0.0161819365, -0.0132073043, 0.0063988599, -0.0658337623, 0.0377566032, -0.0144875366, -0.0058475235, -0.0466740653, -0.0236295052, 0.0356978104, -0.0120726759, -0.0064641587, 0.0186271314, 0.0678446516, 0.0109762335, -0.0748322085, 0.0229558237, -0.0259474237, 0.0562100261, -0.0055054906, 0.0046794163, 0.0279134084, -0.0115503957, -0.023284493, 0.0444797464, 0.0154383155, 0.017114995, -0.0105138086, -0.0352543853, 0.0560322404, 0.0104407221, -0.0388840511, 0.0286049284, -0.0375579856, -0.0231610183, 0.0435274094, -0.0110212136, -0.0060507534, -0.0197660103, 2.438e-7, -0.005823167, 0.0442314856, 0.0126599083, 0.03123454, 0.0090418914, 0.0467909239, 0.040325474, 0.067719169, -0.0189964324, 0.0334318019, 0.0068410337, 0.0171494428, 0.0652629733, -0.0151745416, -0.0673108622, 0.0618626811, -0.0576416142, 0.0516733006, -0.0253050048, -0.0380418412, 0.0483770855, 0.032228034, 0.0261678062, 0.0129610011, 0.0516341813, -0.0103725856, 0.1046243608, -0.0205343291, -0.0019937819, 0.0375136435, 0.0097935218, 0.0066070603, -0.040313188, -0.0430900902, -0.0476447344, -0.0146826357, -0.0214489251, 0.0962339342, 0.0169004798, -0.011625763, 0.0375714749, -0.008419686, 0.0019427375, -0.0272111818, 0.050902646, -0.0366300792, -0.0277756006, -0.0252658799, 0.010153831, 0.0045849993, 0.006852028, -0.0625050664, -0.029119039, 0.0131628606, 0.0140344687, -0.0128900604, -0.0178355351, -0.0492888242, -0.0387021676, -0.0192490797, -0.0281315167, -0.0270102974, -0.0585695095, 0.0212625153, 0.0018578732, -0.0307673961, -0.0077839051, 2.166790574e-34, 0.0437027402, -0.0013003031, -0.0032550797, -0.0495468155, 0.0128701469, 0.0228306223, 0.0020154845, 0.0092328666, 0.0377475731, -0.0677314773, -0.013903508 ]
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.0012211464, 0.0825365707, -0.0099522881, 0.0573204607, 0.0379917286, 0.0220965315, -0.0122694746, 0.0052746274, -0.042367585, -0.0530549027, -0.0525143892, -0.0274616834, -0.0298344325, -0.0176940188, 0.0482670628, -0.0473755002, 0.0551671274, -0.0378514156, 0.0161452275, -0.0139400642, -0.0143010989, -0.0068801986, 0.0059151049, 0.0060744379, 0.0653471202, -0.0059935725, -0.0238691811, 0.0356087759, 0.0130425254, 0.0051431181, 0.0158939511, 0.0913125873, 0.0381847098, 0.0147605361, 0.0000021635, -0.0296771191, -0.0155188767, -0.0252009816, -0.0423202217, 0.0454480648, 0.0191834476, 0.0037943986, -0.0425204486, 0.0014985582, -0.0104928557, -0.015835261, 0.0708125234, -0.0040152785, 0.0642037839, 0.0612011291, -0.0029511352, -0.021587925, 0.0391184092, -0.0464146361, -0.0012814216, -0.0264124721, 0.0115324371, 0.0149220247, -0.0310072545, -0.0014418897, -0.0685832277, 0.0096888123, 0.0090050492, 0.0274650361, -0.0150318136, 0.0038218314, -0.0737705752, -0.0060297144, -0.0082685519, 0.0615159087, -0.0951411277, -0.0357669443, -0.0106118172, 0.004942629, -0.0173677914, -0.0909455791, -0.0477952659, 0.0190493111, 0.0272796452, 0.0214127451, -0.0076929806, -0.0246281289, 0.0446333848, 0.023378944, -0.0309313703, -0.0103274006, 0.0296315346, -0.0092591094, -0.0207228344, -0.0329786316, -0.0931744128, -0.0295096338, -0.0251033865, 0.0088240989, -0.0020970765, -0.0018565208, -0.0727034211, -0.0278520919, -0.0051051066, 0.0017244783, 0.0559470244, 0.078218393, -0.0185507946, 0.0138727985, -0.0442847051, 0.0595189147, -0.005095561, 0.0399779044, -0.0442664251, 0.0283526089, -0.0280269049, 0.0209122188, -0.0614937656, 0.0216571204, -0.0304512028, 0.0114748133, -0.0612875931, 0.005207994, -0.0139363976, -0.0071176812, 0.0165394191, -0.0105594601, -0.0621327944, 0.004029125, 0.0244407896, 0.054663647, -0.0039109024, 0.0301971287, 0.0044613681, -0.0356341787, -0.0211473573, 0.0060420027, 0.0170295443, -0.0386352651, 0.0392783768, 0.0084140496, -0.0068070665, -0.0521879308, -0.0232835468, 0.0206434913, -0.0041255029, -0.068492502, -0.0173707418, -0.0512884557, -0.0055548721, -0.0368340202, 0.04410965, -0.0330092311, 0.0094450517, -0.00362687, -0.0106481984, 0.065974161, -0.0157006029, -0.0167325698, 0.0214347541, 0.0217974652, 0.0219035726, 0.0931574851, 0.0455705151, 0.039223209, -0.0039650332, -0.0146402698, -0.0488937274, 0.0425594188, 0.037184298, 0.0124212652, -0.0370117575, -0.0228813887, -0.0126134735, 0.0461516269, 0.0849565268, 0.0367824323, -0.0598362237, -0.0071791657, 0.0425121151, 0.0342104211, 0.0646975935, 0.0196918454, 0.0015946294, -0.0108085172, 0.0189515576, -0.0014916031, -0.0570142046, 0.0410318859, -0.0072240089, 0.0115145333, 0.0339644104, 0.0499574728, -0.0341679752, -0.0518308058, -0.0197127536, 0.0058021415, -0.0054022805, 0.0231831409, 0.0328557268, 0.0339018367, -0.0047025732, 0.0854880586, 0.0458288938, -0.0493065193, -0.0058561326, -0.085189417, -0.0161946993, 0.0637954697, 0.0228863023, -0.0056964979, -0.0242259782, 0.0119807636, 0.0374824256, 0.008337032, 0.0110890241, 0.0068321023, 0.013732004, -0.0646251291, -0.0208002198, -0.0219481643, 0.0095798513, -0.0075956676, 0.0100900717, 0.0136628961, -0.0164396781, -0.031329751, -0.0169834103, 0.0100568393, 0.0036236341, -0.0642707646, 0.0314582102, 0.0013390111, 0.0118611529, 0.0027198505, -0.007743536, -0.0115077775, 0.0322272852, -0.0301533472, 0.0555812456, -0.0492114611, -0.0192584414, -0.0424417183, 0.0479090847, 0.0292007644, 0.0571401641, 0.0550559163, -0.0574915595, -0.0489221178, 0.0324539952, -0.0063430769, 0.0221818648, -0.0376002416, 0.0072742682, -0.019268496, 0.0492882803, -0.0453199781, 0.0230481494, -0.0078958422, -0.01248438, 0.0355816111, 0.0407940336, -0.0198250636, -0.0535375737, -0.0495781526, 0.0243760087, 0.0102843987, 0.0434048213, -0.0185198095, 0.0139528485, -0.0186962467, -0.0160574205, -0.0989469737, 0.0375298038, -0.0485765077, 0.0334054008, 0.0314648002, 0.0180310793, -0.0005118123, -0.0145547371, -0.0250006597, 0.0023635726, -0.0363175087, 0.012276547, -0.0105085475, 0.0071789515, -0.0201302692, -0.0505985953, -0.0387574136, 0.0122293234, 0.0200886074, -0.0705240741, -0.0307307653, -0.0592693612, 0.001064992, -0.0320722908, 0.0348928273, -0.0072204368, -0.0427177623, -0.0177434478, -0.0044531105, 0.0103891622, 0.0817033648, -0.007864167, 0.0266918372, 0.0974563211, 0.0199888498, -0.0182026811, 0.0462302081, 0.0003395812, -0.0836055577, -0.0236208644, -0.0128401741, -0.0413731635, 0.0665244237, -0.0321656056, -0.0145909842, -0.0739522651, 0.0243087858, -0.023599999, -0.0060739191, -0.0407340974, 0.0069362475, -0.0107446294, 0.0341849253, -0.0084684128, -0.0298892371, 0.0369616672, -0.0179475639, 0.0038847206, -0.0152146872, -0.0140972789, -0.0299778916, 0.0245254133, 0.0302352421, 0.0410707705, 0.0040369956, 0.0080861868, -0.0762505829, -0.0180067681, 0.0059187468, -0.0374443866, 0.0238196794, -0.0309103802, 0.010146277, -0.0648422688, -0.0230833981, 0.0253075622, 0.0256314799, 0.0050891154, 0.0458846875, -0.0083905794, -0.0361978151, 0.0524141602, 0.0402251072, -0.0133164087, 0.0563041531, -0.037669789, 0.0038152859, -0.030846322, 0.037397489, 0.0547600836, 0.0211599134, 0.0373167805, -0.0200821925, -0.0011509086, 0.0063301432, 0.048800882, 0.0215000082, -0.0362690352, 0.0415012538, 0.0327822492, 0.016469745, -0.00762332, 0.0195586793, 0.0622416362, -0.0541699007, -0.0176853631, 0.0618689656, 0.0138064548, -0.0480397157, 0.0089947516, 0.0005930882, 0.0430325642, 0.0118925329, 0.0343939364, -0.0902936831, -0.0439121872, 0.0105959773, 0.0281825643, 0.0237725824, 0.0046879374, -0.0173277948, -0.0559321828, 0.0240464527, 0.0458735153, 0.0030984175, -0.008337399, -0.0013375995, 0.0018784615, -0.0478391945, 0.0541864075, 0.0225461237, -0.0213086624, 0.0135194687, 0.0413327888, 0.0250871927, -0.0587189421, 0.0323616751, 0.0026883765, 0.0354360864, 0.037637569, 0.0048315614, -0.0071422476, -0.004569591, 0.0036787305, -0.0168066323, -0.0136051001, -0.000741002, 0.000521124, 0.0094031151, -0.0205924474, 0.0497067273, 0.022043772, 0.0227142237, -0.0279374868, -0.0065524867, 0.0508835576, 0.0008832738, -0.00381545, 0.0147845717, -0.0529324189, -0.0325604491, 0.0325831622, 0.0408844091, -0.0139799314, -0.0238315593, -0.0147277713, -0.0087587452, -0.0486896187, -0.0221272502, -0.0199914016, -0.0245340578, -0.0421347581, -0.0333665088, 0.0039218967, 0.0184557755, 0.0040631881, -0.0235092733, -0.0062701702, 0.0038238817, 0.008777706, -0.0951683298, 0.0213795956, -0.0418997966, 0.0085186725, -0.0462292507, -0.0252640173, 0.0390455537, -0.0094281277, -0.0063765347, -0.0231134798, -0.1344862133, -0.0513336062, 0.0113071613, 0.0553876311, 0.0090005705, 0.0441426337, 0.0201384444, -0.0866769627, 0.050113, 0.0504463278, 0.0154490434, 0.0759660229, 0.0405599214, -0.0263801999, -0.016468266, 0.045169428, -0.0489197001, 0.0368744209, 0.0092978673, 0.0535501279, -0.0351326652, -0.0404761098, -0.0092796776, -0.0147625627, 0.0610374361, -0.0125155644, -0.0430541448, 0.003032187, 0.0548063703, 0.0043896534, 0.023443656, -0.039066799, -0.0347195342, 0.0189732537, -0.0066701206, 0.0009502778, -0.0114368536, 0.0370960571, -0.012092039, -0.0042791935, 0.0232589263, -0.0577855334, 0.013364803, 0.0406051427, 0.0080324747, -0.016759336, 0.0130680678, 0.0267325193, 0.0414531529, -0.0398842916, 0.0106331976, -0.0028904511, 0.0205843076, -0.0590614192, 0.0600295365, -0.0223930608, -0.0529038422, -0.080253765, -0.0164966378, 0.069014661, 0.0257242396, 0.0451074839, 0.024357928, -0.0314374603, -0.0037896689, -0.0055688471, 0.0148554733, 0.0010580918, 0.0626678467, 0.0211657938, 0.010169019, -0.0039356519, 0.0587962866, 0.0360856727, 0.0353992321, -0.0049352907, 0.0263596773, -0.0172200035, -0.0408124216, -0.0303244833, 0.019041948, -0.0003211357, -0.0234651435, 0.0074031493, -0.0410420075, -0.0104590515, -0.0045377361, -0.0184345506, -0.0348779708, 0.0323891006, 0.0143157244, -0.0120345196, -0.0450241864, -0.0175278448, -0.053113535, 0.0265548062, 0.0051633529, 0.0162596535, -6.600962813e-33, -0.0518179387, 0.0321255811, 0.0402616523, -0.0031976828, -0.0050738854, 0.0020918299, -0.0239223316, -0.0070703798, -0.0395827182, -0.0236362033, -0.0096281832, 0.0128890648, 0.0166634973, 0.0073404503, -0.005813627, 0.0208246112, 0.0872080773, -0.0136193307, -0.018483581, 0.040197596, -0.0053931996, 0.0129044689, 0.0632520765, 0.0546299629, -0.0386902355, 0.0361712463, -0.0254911892, -0.0006336065, -0.007944474, 0.0450091809, -0.0343640372, 0.0399551243, -0.0122333756, 0.0059518931, -0.0376403444, -0.0066102939, -0.0707682297, -0.0174512733, 0.0018411791, 0.0155385081, 0.0033919448, -0.048895143, 0.0633418709, 0.0340143628, -0.0353531688, -0.0459746458, -0.0104815923, -0.04082755, -0.0273806714, -0.0713502839, -0.0264412761, 0.0140722506, 0.0062884688, 0.0005933284, 0.0622367337, 0.0006745997, -0.0241682976, 0.0111522861, -0.0689746439, -0.0152543783, 0.0371481366, 0.0999532789, 0.0711510777, 0.0461855605, -0.0067720534, 0.0109455064, 0.0316609778, -0.0125985071, 0.0348847508, 0.0477456488, 0.0669291243, 0.0331741981, 0.0582604483, 0.0415786915, 0.0847220719, -0.0020693494, -0.0780292079, -0.0265204813, -0.0197097082, 0.0435318314, 0.0170488637, 0.0627636462, -0.0094842333, -0.0224824008, -0.055459369, 0.0017151159, -0.055051107, -0.0290674139, 0.014389067, 0.0150584811, -0.0265815407, -0.0045054127, 0.0255736429, -0.0525381751, -0.0053727091, -0.0112963999, -0.0303570256, 0.0209514722, 0.0072793816, 0.0317362733, -0.0344067104, -0.0386616252, 0.0426070914, -0.0090293549, 0.0102896197, -0.0161301978, 0.0589915887, 0.0565200225, -0.0713185593, -0.0087215323, -0.0276552364, 0.0038043871, 0.0119909598, 0.0665201768, -0.0004481903, 0.0163002051, 0.0091513945, 0.052559793, 0.010192439, -0.0080021229, -0.0292236209, 0.006501833, 0.0084727071, 0.0494924188, -0.0322276577, 0.0075546289, -0.0406604558, 0.0470361337, 0.0433487855, -0.072822094, -0.043156255, 0.0385632627, 2.85e-7, 0.0273726732, 0.0353435315, -0.0183971096, -0.0411208868, -0.0045653395, 0.0084315548, -0.0144893844, 0.0352989137, 0.0119855236, 0.0088428808, 0.0206492469, 0.0431233235, 0.015650237, 0.0140741114, -0.0413993932, 0.0308613069, -0.038990099, 0.0273172576, -0.0525627807, -0.0396343321, 0.012226969, 0.119487755, -0.0064713382, -0.01130962, 0.0393206403, 0.0014088587, 0.039634198, -0.010909521, 0.0002455857, 0.0431394167, 0.0137879606, 0.0385439098, -0.0211794898, -0.0368442237, -0.017846087, 0.015916856, -0.0520559438, 0.0822595879, -0.0432860069, -0.0088597946, 0.0096156579, 0.0329096615, -0.0168822166, -0.044964876, 0.0635416135, -0.0655492246, 0.0056419545, -0.0747773647, -0.0084357578, -0.0128686177, 0.0216326974, -0.0397729799, -0.0038970786, 0.0231730696, 0.0260417312, 0.020633664, -0.0329705179, -0.0906829089, -0.02667314, 0.0380462036, -0.0072794966, -0.0386199765, -0.071069777, -0.0435066782, 0.0075073713, -0.0608037598, 0.0184255559, 2.608230258e-34, 0.0352055877, -0.0238572266, 0.0381923914, 0.0074105659, -0.0110457717, -0.0107894232, -0.035602469, 0.0246732794, -0.0006612107, -0.0679977462, -0.0317387916 ]
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.0877062082, 0.0710677877, -0.0222822782, 0.0201794878, -0.0280062836, -0.0350132026, 0.0294250567, -0.0010291955, 0.0720189139, -0.0880959257, -0.0308145527, -0.0483719856, -0.0239750482, 0.0441661328, 0.00692373, -0.0218237508, 0.0114046941, -0.0344405323, 0.0327568538, 0.0177739691, 0.0199241582, -0.0089215497, 0.0132663567, 0.051649835, 0.0261708107, -0.057032153, 0.005398911, -0.0061268494, -0.0236158241, -0.0172515102, 0.0540405028, 0.0405935086, -0.0091157844, 0.064584136, 0.0000015355, -0.0847607031, -0.0167195685, -0.0080009466, -0.0191044807, 0.0591320917, 0.0331387669, 0.0418893509, -0.0065879687, 0.0579061881, -0.0574379526, 0.061982844, 0.0300126355, 0.0593714043, 0.0373415276, 0.0766635239, -0.0243075471, 0.0166069455, 0.007117542, -0.0187847726, 0.0001106219, -0.0337576941, -0.0018742584, -0.0569268465, -0.0240985118, -0.0032034812, 0.0397394672, 0.0368717089, -0.0341074578, -0.0427584201, -0.0268894155, -0.0007196658, -0.042900987, -0.0173074864, -0.0289672241, 0.0191351213, -0.0264921561, 0.0055499878, 0.0311081465, 0.0266696848, 0.0185066368, -0.0029466175, -0.0580483936, 0.0523137748, -0.003747582, 0.0209713578, -0.0133774914, -0.0300530735, 0.0256602596, 0.014802332, -0.0291753802, 0.0507444218, 0.0287047978, -0.0547335409, -0.0006117215, -0.0178898089, 0.0190868434, -0.009444735, 0.0482259877, -0.0075261542, -0.0315664634, 0.0179120991, -0.0267711096, -0.0162501596, 0.0174555704, -0.095281288, 0.0120012872, 0.0140034519, -0.0295566376, 0.0398125611, -0.0455903672, 0.057478983, -0.0266258176, 0.0051904139, -0.0245894566, 0.0247047767, -0.0017587742, -0.042188704, -0.0337333903, 0.0388476029, -0.0205088221, -0.0369190015, -0.042480845, 0.0713299587, 0.0279589184, 0.0063804812, 0.0024994588, 0.0089314375, 0.0107236719, -0.0092132157, -0.0029439407, 0.0096502313, 0.0275896266, -0.0035394235, 0.0065658423, -0.0746688172, 0.0167424921, 0.0726565719, 0.0045967805, -0.0461893715, -0.0370066054, 0.0499391071, 0.0094844978, -0.0379211307, -0.0506906286, -0.0622076243, -0.0394706465, -0.0162480213, -0.0050233663, -0.0382678211, -0.0160565563, 0.0219735689, -0.0141887423, -0.0403725952, 0.0055990824, 0.0234695394, -0.0510647707, 0.0320010372, 0.018464338, 0.0259419214, -0.0312396362, 0.0014063111, 0.0677637309, 0.0605394654, 0.0334984176, 0.0740073174, 0.0903919488, -0.0103742201, 0.0091339881, 0.0668304339, -0.0050359746, -0.0086589595, -0.0249301959, 0.0061245239, 0.0196241159, -0.0175138656, 0.0011343699, 0.0404639728, 0.0352882072, 0.0141301593, 0.0891002119, 0.0354695618, -0.0094014723, -0.0122753987, 0.0113058155, 0.0156575684, -0.0193802956, 0.0180861, -0.0440667197, -0.0222897697, -0.0453770198, -0.0463619307, 0.0801962391, 0.0126738399, -0.0233950336, -0.0076517351, -0.0014127926, -0.0083154039, -0.0016016071, 0.0291354135, 0.0301546529, -0.0163899194, -0.0306206215, 0.0641248599, -0.0192923788, -0.0258417334, 0.0187387858, -0.0510014594, 0.0343861878, 0.0777971372, 0.061412327, -0.0025539258, 0.018973086, -0.0138838347, -0.0479310602, 0.062911354, 0.0427648053, 0.0105019268, 0.0048565362, 0.0015802773, -0.0497697219, -0.0071218838, 0.0194464754, -0.0186826661, 0.0262414292, 0.0331148505, 0.0382869355, -0.0300732348, 0.0124361115, -0.0201616883, 0.0258467011, -0.0288653802, 0.0161938537, 0.0118726697, 0.0263535306, 0.0285515469, 0.0175642036, 0.012479499, 0.0158956908, -0.025541069, -0.0363405049, 0.0210427679, 0.0037525506, 0.0101229707, 0.0603290014, -0.0406250209, -0.0031460642, 0.0591584295, -0.0076343757, -0.0267135557, 0.0391987227, -0.0441642292, 0.0654069781, -0.0198069438, -0.0031313901, 0.0199255161, 0.0583044924, -0.0241101962, 0.0209355932, 0.0118014729, -0.001771058, -0.0077092866, -0.0304426719, 0.0100065684, -0.0482182465, -0.0162757859, 0.0025858083, -0.035939794, 0.0227566902, 0.0436377451, -0.006076036, -0.0258572679, -0.0053123706, -0.1005824059, 0.0257755257, -0.0007766495, 0.0392337441, 0.0248005558, 0.0624817535, 0.0048694327, -0.0149500677, -0.0581753366, -0.0354412906, 0.0358599573, 0.0463405252, 0.0160272121, -0.0150496727, -0.0286709145, -0.0119907232, -0.0025348396, 0.0111204199, 0.0349787064, 0.0081059644, -0.0282366518, -0.068229951, 0.0229539499, -0.0045399349, 0.0084949899, -0.0063530114, -0.0486902855, -0.0101785604, -0.0040524434, 0.0374029428, 0.0464626029, 0.0534848832, 0.0105254911, -0.0086511895, 0.0165697411, -0.0561607555, -0.0229796059, -0.0190741308, -0.0009033941, -0.0419641733, -0.0411084555, 0.0753435418, 0.0643839762, 0.0045335246, 0.0144404192, 0.0108977007, 0.03150497, 0.0145999528, -0.0120439036, -0.0514221974, 0.0274399649, -0.0426625721, 0.0464976132, 0.0163638331, -0.0572136119, 0.0191120282, -0.0170406569, 0.0081595946, -0.0098048719, -0.0378285125, -0.0143796727, -0.0022031071, -0.0181832239, 0.0341476128, -0.013839948, -0.0565912575, -0.0243869647, 0.0092694387, 0.0411394015, -0.0500631407, 0.0597400777, 0.0151536949, 0.0042836471, -0.0217858069, -0.0369956754, -0.0888622627, -0.0865741596, -0.0191309489, -0.0061131706, 0.0549574941, -0.044599656, -0.0688711628, 0.0536617748, 0.0085643204, 0.0297011547, -0.0406413078, -0.0041584335, -0.0040786196, 0.0933060274, 0.0614483953, -0.0068647633, -0.0073530427, 0.0355592109, 0.0160943419, 0.066352576, 0.0322370306, 0.0076242005, -0.0056617158, -0.0386199951, 0.0504198335, -0.0234111063, 0.0008175487, 0.0193632431, -0.0065629445, 0.0004463061, -0.0019074756, 0.0929806903, 0.0358450972, -0.0350041017, -0.0167878959, -0.0051675211, -0.0064636339, 0.0188102126, 0.007683096, -0.0907311663, -0.0117550408, 0.021034712, 0.0138144447, -0.0055583967, 0.0111616626, -0.0136002246, -0.1190079823, 0.0198091175, 0.0106921131, -0.0100632589, 0.0340112709, -0.0593828186, -0.0279995315, 0.0085254647, 0.0335425697, -0.0131008709, -0.0445629358, 0.0011090651, -0.0073545859, -0.0117617548, -0.0260474514, -0.0330779664, -0.0266758576, 0.02771133, 0.0650522783, 0.0261098389, -0.001759609, -0.0066056335, 0.039791327, -0.0181481075, -0.0028336432, -0.0025012696, 0.0408753641, -0.0019929928, 0.0061047603, -0.0168824829, 0.0159743614, -0.0420832671, 0.026624592, 0.0274064261, 0.0584390014, -0.0008577895, -0.023352731, -0.0170700774, -0.0066092173, 0.0109680919, 0.0878595114, 0.0080594979, -0.0569550283, -0.0398126766, -0.052196376, 0.0012480986, -0.0284614731, -0.0402994454, -0.0013952889, 0.0151134664, 0.00039769, -0.0757468268, -0.0130326813, -0.0209960118, -0.02100721, 0.0254597366, 0.0045147152, -0.0412470214, 0.0229413696, -0.0221650824, -0.0071189608, -0.0805126876, 0.0093818167, -0.075148128, 0.0371135846, 0.0290247332, -0.0714686066, -0.0236183051, -0.0236987248, -0.0639767274, -0.0533244163, -0.0301902629, 0.0405883379, 0.022121815, 0.0235853139, -0.0338310674, -0.0442280173, 0.0204103794, 0.0948450193, -0.022562122, -0.0378819667, 0.0309608132, 0.0417767093, -0.0044078678, 0.0261077173, -0.0582000092, -0.0092991013, 0.008775658, -0.0180379115, 0.0211365838, -0.0700395554, 0.0367921293, 0.0741735771, 0.0607060827, -0.0239368211, 0.0346848629, -0.0046344646, 0.0440415666, -0.0071647591, -0.0313228369, -0.0502031818, 0.023313012, -0.0246697273, 0.0324382074, 0.0227228496, 0.042368494, -0.0558793657, 0.0014193804, -0.0339896046, 0.005388632, -0.0008801576, 0.0030452956, 0.0356168374, 0.0308129638, -0.0106492639, 0.0684764534, 0.0617249757, 0.0279358737, -0.0254251026, 0.0071927644, 0.0002917, -0.0154587859, 0.0272504613, 0.0280542541, -0.0512724891, -0.0364153609, -0.0192421526, 0.0231019761, 0.068439573, -0.0207980424, 0.0403977707, -0.0214711316, 0.0303270817, -0.0007612451, 0.0032274954, 0.013917312, -0.0270154066, -0.0105933947, 0.0106516527, -0.022571858, 0.0117134582, 0.0910811052, -0.0145734921, 0.0128586963, 0.0118000917, -0.059815269, -0.0517505258, -0.0551801361, 0.0348078571, 0.0212523527, -0.0264716484, -0.0114761693, -0.0143294539, -0.0541157462, -0.0300120711, -0.0521965846, 0.0240844395, -0.0090839835, 0.0121264784, 0.0699301064, -0.0130533688, -0.0095459837, -0.0310716275, 0.0330382511, -0.042676352, -0.0148529019, -0.0366803035, -5.831671188e-33, 0.0326763988, -0.0461629145, -0.0230077729, -0.0233934354, 0.0158033762, -0.0092269713, 0.001261152, -0.012574343, 0.0213833097, -0.030643452, -0.0320346504, 0.020610556, 0.0313422009, 0.0569875687, -0.0252640583, -0.0232538469, 0.0736057386, -0.0226128902, -0.0379069783, 0.0486728661, 0.0479644649, -0.0000323373, 0.0110508641, -0.0428465195, 0.0061797858, -0.0403288156, -0.0560258739, 0.0266258884, 0.0317027718, 0.0516176336, -0.0208327584, 0.0474890843, 0.0237400625, 0.0092333676, 0.0264129732, 0.0441756137, -0.0309082158, -0.0024561032, 0.0583044998, 0.0483795516, 0.0356320217, -0.0530790463, 0.0383672602, -0.0259753466, -0.0266034827, 0.0187295601, 0.0263884887, -0.0341985673, -0.0099998061, -0.0490141027, -0.0309842359, -0.0120674232, -0.0065384991, 0.0254082885, 0.0067826072, 0.0775425285, 0.0094920993, 0.0450837202, -0.0095512783, 0.0469997376, -0.0116815036, 0.0471410826, 0.041808866, 0.0029444704, -0.0254015084, 0.0330613256, 0.0086828331, 0.0099222446, 0.0399518162, -0.0491796136, -0.01818786, 0.0286428817, 0.0014932759, 0.0449363552, 0.0322111808, 0.0027499618, -0.0139609035, 0.0363416597, 0.0559577011, -0.0451176465, 0.0449606963, -0.0191363432, -0.0303870812, -0.0079923989, -0.0073479605, -0.0119686844, -0.0663688406, -0.0462020524, 0.0554297678, 0.043998722, -0.0137895439, -0.0296724923, 0.0343867801, -0.0677942485, -0.0137291318, 0.0133291297, 0.018729087, -0.0236081276, -0.0121302018, -0.0079716397, 0.0033957763, -0.0154909631, -0.0093443161, -0.0132829007, -0.0323763527, -0.0022044794, -0.0000569859, 0.017705977, -0.0653300956, 0.0133864917, -0.016727468, 0.0122848246, -0.0191874728, -0.0217289515, 0.0144817727, -0.0337793827, -0.0332313366, 0.0097957235, 0.0321452022, 0.007638752, -0.0150226709, -0.0511690341, -0.0102035543, 0.0353394561, -0.0307217762, -0.0149040995, -0.0372329019, -0.0163009483, 0.0135217085, -0.0912781134, -0.0228394568, -0.0599467494, 2.422e-7, -0.0419669114, 0.0391856097, -0.0027376909, -0.0097557185, 0.0533362702, 0.0303975157, 0.0249447804, 0.0388415381, 0.0218390711, 0.0248232596, -0.017057687, -0.0360818021, 0.0229053982, 0.0038789518, -0.1166037321, 0.0169748403, -0.0881950408, -0.0186909754, -0.0493603572, 0.0175810978, 0.01545416, 0.0832732171, 0.0101046124, -0.01627535, -0.0109807923, -0.0945672616, 0.0447895303, -0.0002545675, -0.0156639535, 0.0074154814, 0.009775864, 0.0175369922, 0.0084433854, -0.0412676558, -0.020660203, 0.0245682131, 0.0223354436, 0.0827120245, 0.0475732386, -0.0124551291, -0.04904145, -0.0662030652, 0.0015691924, -0.0468152277, 0.070811756, -0.0045216749, -0.0249250121, -0.0359266922, 0.0004603595, -0.0856443346, -0.0341268219, -0.0486853532, 0.0086841416, 0.0032542669, -0.0119123217, 0.0184639543, 0.0129845105, -0.0490866974, -0.0251810532, -0.0085570281, -0.0408319235, -0.0404478386, -0.0371576138, 0.0252197236, 0.0167627707, -0.0313630626, 0.0368002355, 2.133531889e-34, 0.0388008282, 0.0200246796, -0.0038096714, 0.0238841381, 0.0049098083, 0.0064758235, 0.0304932855, 0.009711978, 0.0738682076, -0.0712019205, -0.0014711801 ]
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.0179075431, 0.0633533448, -0.0013781101, -0.0128359227, -0.0066115209, 0.0121510187, -0.0111813387, -0.005597658, -0.0609227084, 0.0436466001, -0.0029688925, -0.1021981239, 0.0382194668, 0.0560659431, 0.0623372309, -0.0648841113, 0.0364735313, -0.0102006905, -0.0236787684, 0.0006853781, -0.0177596007, -0.0509099551, 0.0008604987, 0.0469135828, -0.0003407022, 0.0138400327, -0.0394722782, -0.0517266579, -0.0276738722, -0.0411654152, -0.0151294963, 0.0054701823, 0.0157368928, 0.0145328762, 0.0000016687, -0.0288241357, -0.024466861, -0.0127245532, -0.0031598008, -0.0162199661, -0.0183799248, -0.0404506065, 0.02116579, 0.0135248061, 0.0095460722, -0.0362506583, 0.0732810199, 0.0676719025, 0.01614259, 0.1032134518, -0.0075421142, -0.0671947151, 0.0759554952, -0.0851897895, 0.0303704385, -0.0030086334, 0.0105558485, -0.0401535928, 0.0252430756, -0.0474280156, -0.0356253572, 0.0311577842, 0.0661408529, 0.0445678644, 0.0097194547, 0.0268547125, 0.0042883861, -0.0321268849, 0.0347602814, 0.0567918941, -0.0616848171, 0.009679555, 0.0112976674, -0.0239043962, 0.0318331905, -0.0260174107, -0.0104081575, 0.0282612909, 0.013995545, 0.0169457402, -0.0561947748, 0.0120573612, 0.0667793602, -0.0595350415, -0.0399175584, 0.058377035, 0.0007729223, -0.0067212745, -0.0379277132, -0.0219999254, -0.0150916884, -0.0387958176, -0.0206182357, 0.0591332689, -0.0112091862, 0.02952585, -0.0404671989, -0.0262547135, -0.0200847369, -0.0281362161, 0.0498622395, 0.0232865959, 0.001696982, -0.0160857085, -0.0197986271, 0.0720674023, -0.039125856, 0.0506754667, -0.0556372516, 0.0074750348, -0.0429900438, -0.0030148595, -0.0360026322, 0.0588306412, 0.0339398943, -0.0123552801, -0.0670404136, 0.0238536987, 0.0144965583, 0.0520337597, 0.0014168756, -0.0056239101, -0.0819259435, -0.0038510943, -0.0378844701, -0.0046006544, -0.0202846024, 0.0011052538, 0.0423582345, -0.0148050934, -0.0297646988, 0.01298525, 0.0072985524, 0.003755233, -0.0094480682, 0.0871889666, 0.0008681859, -0.0408590958, -0.027263578, -0.007437489, -0.0260378048, -0.0655941516, 0.0427409224, -0.0470686741, 0.0149745094, -0.018756466, -0.0005753412, -0.0518439896, 0.0056922315, -0.0015043311, 0.0030601777, 0.0494021773, 0.0319067314, -0.0345863998, 0.0095723746, 0.0179927088, 0.0165167619, 0.0202757996, 0.0333453454, 0.0221423861, 0.0246672686, -0.0121414699, 0.0461206697, 0.026349945, 0.0261811838, -0.0309476815, -0.0272661205, -0.0200872775, 0.0519692712, 0.0121527892, -0.0228931177, 0.0465905555, -0.021215355, -0.0776155889, 0.0165184606, 0.0269976556, 0.0432592034, 0.0537719838, 0.0624878146, -0.0368864536, 0.0059192325, 0.0567954518, -0.0316467807, 0.0176531952, 0.0579982102, 0.0494787171, 0.02057858, 0.0093952119, -0.0627153292, -0.0614052787, -0.0292668641, -0.0460574962, -0.012195047, -0.0749819428, 0.0575075559, 0.0273423381, -0.0375061519, 0.0585065037, -0.031880632, -0.0216481779, 0.0450564474, 0.00633216, 0.0141756525, 0.0060018813, -0.0056342259, -0.070687905, -0.0140997367, -0.0402766578, -0.0037181242, 0.0244381968, -0.0033764886, -0.0016332412, 0.0424484611, -0.023871107, -0.0008952069, 0.0080348104, 0.0074692629, -0.0084589906, 0.0069418945, -0.0028791411, 0.0423659347, -0.0470876545, -0.028677322, 0.017854536, -0.0192151126, -0.0601540767, -0.0035289596, 0.044150576, 0.0673000142, -0.0021374561, 0.0111761745, 0.0450540297, 0.0236363113, -0.0306617972, -0.0398007669, -0.00388341, -0.0839162171, -0.0019071157, 0.0303220693, -0.0449607447, 0.0338158235, 0.0332708098, -0.0501245856, -0.0728911385, 0.0405558832, -0.065835923, 0.0417246222, 0.0184674747, 0.0172827877, 0.0263852794, 0.0167497601, 0.0350713134, 0.0299715959, -0.0682902634, 0.0129088834, -0.0337019451, 0.0008928739, -0.0080404608, -0.0314502567, -0.0568597652, 0.0571004711, -0.0040277313, -0.0059891078, 0.0174726881, -0.066113241, -0.024278909, -0.0155073376, 0.0008112969, -0.0190391112, -0.0141672278, 0.0335383564, -0.0268823355, 0.004873035, 0.0531998836, -0.008204041, -0.0861191899, 0.0076960749, 0.0152962627, -0.0141902035, 0.0777650252, 0.0366969705, -0.093824476, 0.002555687, -0.0331087634, 0.0099619878, 0.0798501521, -0.0547214784, -0.0134585174, -0.0185117833, -0.0219786335, -0.0137388324, 0.0566721894, -0.0641917661, -0.0255103633, -0.0030835557, -0.0074136886, -0.0113791786, 0.047213655, 0.0204916559, 0.0004181061, 0.0091968486, 0.0328944996, 0.0349001139, -0.0057681333, -0.0704807341, -0.0232610889, -0.020861363, -0.0175026208, 0.0105589563, 0.1036602408, -0.0492282361, -0.0236795042, -0.0660363212, -0.0379738919, 0.0132013224, -0.0092960522, 0.0223645307, -0.0139397569, -0.0253915675, -0.0067910152, -0.0234734938, -0.0599815249, 0.0350155085, -0.0264332704, 0.0093242312, -0.0136899538, -0.0296698119, -0.0315973051, 0.0714057013, 0.0574898235, 0.008082361, 0.029292604, -0.0201838706, -0.0499959253, -0.016079165, 0.0043162936, -0.0029381728, 0.0393607765, -0.0168125667, -0.0046155788, -0.0324980132, -0.0169006679, -0.0180843901, 0.0230652001, 0.0268713329, 0.0281751752, 0.0254697371, -0.0664101392, -0.0470109694, 0.0124368435, 0.0308062304, 0.0559185706, 0.0094877416, 0.0167777631, -0.0177253708, 0.025219474, 0.0087490603, -0.0100769335, 0.0004603251, -0.0394456349, -0.018110292, 0.0009415957, 0.0019913688, 0.0263045114, -0.0488526002, 0.0072454894, -0.0190397892, -0.0013145295, -0.05885664, 0.0624538362, 0.0160126593, -0.0372553915, -0.0253708903, 0.0457257889, -0.0341544524, -0.040783897, 0.0304202437, 0.0503171831, -0.001607582, 0.0257482901, -0.0172606036, -0.0552100912, 0.0096522188, -0.0032302001, -0.0028100803, -0.0225531459, -0.0407003611, -0.0423252583, -0.101707384, -0.0400037579, 0.0148039805, -0.0917935371, -0.0756094456, 0.0087274713, -0.0206948705, 0.0112156477, -0.0003561157, 0.0009086085, -0.0038249199, -0.0174866244, 0.0495180897, -0.0308063738, -0.0265345816, -0.0393586606, -0.0170190241, 0.0234641526, 0.0586294383, -0.0101419594, 0.0088534942, -0.0625178516, 0.0264547132, 0.0223092977, 0.0092537785, 0.0562126338, 0.0155927157, 0.0095261475, -0.0225381218, 0.0422456227, 0.0535636917, -0.0014901808, 0.01352074, -0.0175607465, 0.0650135726, 0.0348545946, -0.0324941203, -0.0027778267, -0.0422316976, 0.0043261359, 0.0298975371, 0.0393639654, -0.0178443398, -0.0174192041, -0.0241761226, 0.0185374003, -0.037949644, 0.0157214776, 0.0086581698, 0.0096487943, -0.0732942149, -0.0772883743, -0.0178076308, -0.0254710205, 0.0858512744, -0.0099325096, -0.019487258, 0.0399104469, 0.0028030088, -0.0389685929, -0.011485857, -0.0127796214, 0.0133862598, -0.0549956523, 0.0157979317, 0.0118674813, -0.0054518376, -0.0445372574, -0.0355010889, -0.07894627, -0.0444101803, -0.0049666283, 0.040965952, 0.0212283581, 0.012324186, 0.0403033718, -0.0291689336, 0.0854690894, 0.0271999352, 0.0264889728, -0.0205365196, 0.0920857415, -0.0091793127, 0.0187353939, 0.0377187058, -0.0421636626, 0.0187714528, 0.0232430566, -0.0212345533, 0.0175253339, 0.0274316017, 0.0016921435, -0.0096580219, 0.0149313845, 0.0278928578, 0.0128581254, 0.0101093045, 0.0496841893, 0.0258463472, 0.0105928062, -0.0595727041, 0.0331931934, 0.0432174131, 0.0445782393, 0.0289618876, -0.0251592435, 0.0500119589, 0.0100381486, 0.0400089324, 0.0037345882, 0.0291546956, -0.0028500173, 0.0368865207, 0.0204007253, -0.0283329282, 0.0076040034, -0.0225144345, 0.0086067682, 0.0161605291, -0.0080398936, 0.0477652103, 0.085129194, -0.0339410529, -0.0009748552, -0.0602302589, -0.0130410707, -0.0450086221, 0.0266370736, 0.0154030323, 0.0067250282, -0.0541294254, 0.009748634, 0.0161083918, -0.008665923, 0.0256551784, -0.0303155873, -0.0317401625, 0.0173063967, 0.0249694977, -0.0153234508, -0.021653628, 0.1107221097, 0.0212457795, 0.0470187552, -0.0467586853, 0.02358431, -0.0204798952, -0.0165452287, -0.0095920144, 0.0296633858, 0.0128575386, -0.011171937, -0.0089141121, -0.0827820376, 0.0413533337, 0.0178836472, 0.0664704964, 0.0155909974, 0.0177336596, 0.0572285354, 0.0110823028, 0.0087889889, 0.0101521043, -0.0471009836, 0.0628766119, -0.0115166362, 0.0033767335, -5.422988537e-33, -0.0140211424, -0.0126669109, -0.0029514891, -0.0291410498, -0.0198608674, 0.0168172494, -0.0269048214, -0.0148002459, 0.0152212176, -0.0217884239, -0.0227318015, 0.0137574235, -0.0138787106, 0.0621408336, 0.0196188595, -0.042875953, 0.0546904169, 0.016505925, -0.0373682305, 0.0066044885, 0.0306613296, 0.0152926948, 0.0653749928, 0.0166173968, 0.0303458758, -0.0129279932, 0.002681491, 0.0303739086, -0.0149624292, 0.042298086, 0.0033466101, 0.0355142914, 0.0349027663, -0.080618754, -0.0396316461, 0.0013085752, -0.0616720431, -0.0325740874, 0.011251403, -0.0058048908, -0.0417018421, -0.0284377635, 0.0758929774, -0.0257868841, -0.0058486369, -0.0344007947, 0.0231553055, -0.0214500744, -0.0315438434, -0.0523826554, -0.0183275621, 0.0109707778, 0.0075581069, 0.0173568744, 0.0108812349, 0.047769215, -0.0036499852, 0.0019820302, -0.0440994203, -0.0136916609, 0.014617539, 0.0499433987, 0.0233637299, 0.0338117033, 0.0288253706, 0.0213083196, 0.0287280325, -0.0138202617, -0.0567224547, -0.0172766596, -0.0143723553, 0.0146128125, 0.0437836461, 0.0029521505, 0.0555161424, -0.0389936976, -0.0631051436, -0.0298991576, -0.0313995294, 0.0340781398, 0.0034790298, 0.0292230044, -0.019022204, -0.0221052896, -0.0282247122, -0.0401830785, -0.0012724564, -0.0037835632, 0.0296479221, 0.0453555398, 0.0269968621, 0.0282893386, 0.0173919927, -0.006280221, 0.0010389582, -0.0008082423, 0.0222022887, 0.0336668827, 0.0060548279, -0.0110548818, -0.0693945512, -0.0308053568, -0.0142798815, 0.0197274946, 0.0098268278, -0.0116598131, 0.0569590367, 0.0325393826, -0.0359190516, -0.0381151363, -0.0300739091, 0.013780361, -0.0037087169, 0.0451172963, 0.0890782103, -0.0125489943, -0.0189436283, 0.0608519539, -0.0554070659, 0.006735696, 0.0048513217, 0.0416343883, 0.0183373298, 0.0305541791, -0.0199623555, -0.0318439007, -0.0119908759, 0.0131633915, 0.0690859631, -0.0342833102, -0.0004544312, 0.0186101124, 2.521e-7, -0.0002075022, -0.0416416414, 0.0788759068, 0.0061425003, 0.028297076, 0.0267685205, -0.0117857167, 0.0481291264, -0.0672832206, -0.0228228811, 0.0355759859, -0.0170843173, 0.0236086715, -0.0159732308, -0.0514500886, -0.0102618868, -0.0771913826, 0.0440051183, 0.0058101024, 0.0109974016, -0.0046364362, 0.1295656264, 0.0409876294, 0.0104947025, 0.0063154912, -0.050426878, 0.0085310098, -0.0133020068, 0.0505884625, -0.0270134415, 0.0333840884, 0.0255878847, 0.0067362501, 0.0175754726, -0.0055933618, 0.0586998835, 0.0292079896, 0.0196970552, 0.0243777111, -0.0034786963, -0.0063984599, -0.0030545637, -0.0217330009, -0.0044254325, 0.0436451435, -0.0767290816, -0.0280224141, -0.0164063834, -0.0141578214, 0.0001053189, 0.0042140954, 0.0460977331, 0.0390160084, 0.0087548252, -0.0017736582, -0.0124459742, 0.0672737584, -0.0561470203, 0.0153312655, 0.009284839, -0.0395894274, -0.0111755468, -0.0723098293, -0.0019667675, 0.0349970199, -0.0279233493, -0.0225729328, 2.016941906e-34, 0.0329971276, -0.0441240929, 0.0179093517, -0.0312858634, 0.0230038241, -0.0751330853, -0.0408429429, -0.0166437309, 0.023436306, -0.0398568846, -0.0427376442 ]
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.0021908283, 0.069286406, -0.035749469, 0.0114334403, -0.0159089714, 0.0148386201, -0.0152989328, -0.0059185997, 0.0242284946, -0.0041501359, -0.0170231964, 0.0048887227, -0.0120663187, 0.0643183216, 0.0321125947, -0.010234098, 0.0418521315, -0.0545254983, 0.0238278694, -0.0182179641, -0.0259003099, 0.0146727515, -0.0199985988, 0.04510561, -0.0102888057, -0.0298645832, -0.0046292506, -0.0323010162, -0.0124866422, -0.0290606879, 0.0093701091, 0.0273263846, 0.0407570191, -0.0199454408, 0.000002343, -0.039882008, 0.0141153196, -0.0421485342, -0.0257942937, -0.0082574766, 0.0177861061, 0.0103114545, -0.0049161674, 0.0256516896, -0.038273111, -0.0152210193, 0.0243362002, -0.0033472807, 0.0813686699, 0.0456211045, 0.0108012119, -0.0029931762, 0.0141205825, -0.0346365124, 0.0040862309, -0.0108507909, -0.0138201974, 0.0416318588, -0.0245098621, -0.0108398534, -0.0004771401, 0.0417820513, 0.0748684779, -0.0156142889, 0.0129499556, 0.0459593497, 0.0017413078, 0.0027085319, -0.0267710947, 0.0288906321, -0.0510725342, -0.0480480604, -0.0330956876, -0.0120173544, 0.0260312017, -0.0867810398, -0.0340024009, -0.0150453467, 0.0321279094, 0.0192710795, 0.0301540475, -0.0105859861, 0.0463632718, 0.0128444592, -0.0444478579, 0.0780462772, -0.0027678946, -0.0204399843, -0.0017721552, -0.0158233643, -0.0115724057, -0.0410390794, 0.0077163656, 0.040597599, -0.0295015778, 0.0194571633, -0.0405238047, -0.0247082617, -0.0466523543, 0.0054213251, 0.0662060231, 0.0431941189, 0.0227682814, 0.0486423038, -0.0561821796, 0.0638098791, 0.0254045613, 0.0369827934, -0.0210652426, 0.0140176918, -0.0695197582, -0.0165661592, -0.0796929896, 0.0895314813, -0.0097447429, 0.0155536775, -0.0236340556, 0.0253174584, -0.0163166504, 0.01987404, 0.0136890411, 0.0174911451, -0.0543037392, -0.0182235111, -0.0064730002, -0.0090679564, -0.0387274437, -0.0116123417, 0.0359892957, -0.0347403958, -0.0360300168, -0.0157342516, -0.0483346097, -0.0217981841, 0.0316831395, 0.0897615924, -0.0120364167, -0.0187390279, -0.0362155102, -0.0172024276, 0.0130161364, -0.0453615859, -0.0083780754, -0.0779387429, 0.0199107435, -0.0226422343, -0.0043965271, -0.0609100722, 0.0011550369, -0.0185717605, 0.0160006341, 0.0852069408, -0.0053355647, 0.0017322222, 0.0389895514, 0.0112499902, -0.0162245464, 0.0557409897, 0.0786083639, 0.0424346626, -0.0118592409, 0.0064644418, 0.0309946686, 0.0476348549, 0.0277573392, 0.0065581659, -0.034239497, -0.017770322, -0.0510904267, 0.0597099289, 0.0176029019, 0.0167038348, -0.0256414022, 0.0191132687, 0.0335349664, 0.0483864024, -0.0006989741, 0.0188682545, 0.0576252565, -0.0025240534, 0.0066553568, -0.0443774946, -0.07317397, 0.074656032, 0.0183827449, 0.003920537, -0.0070505249, -0.0090620797, -0.0321969241, -0.0876969695, 0.0141127994, 0.0029653828, 0.0029216225, 0.0208040308, 0.0622198619, 0.0400524512, -0.0498050004, 0.0250413138, 0.0054224632, -0.0413985066, 0.0033568735, -0.0791466087, 0.044265233, 0.0554755181, 0.0612807162, -0.0451266989, -0.0402228981, -0.0027832077, -0.012760113, -0.0038835646, 0.0108071873, -0.0150083099, 0.0474299639, -0.0198746305, -0.0174886938, -0.0313583948, 0.0000142736, 0.0358406603, 0.0190275181, -0.0234730579, 0.0051801028, -0.0562539622, -0.0495650172, 0.0334778354, -0.0604073629, -0.0435572341, 0.0279533025, -0.0040320014, 0.0215842314, -0.0290773455, -0.0047423197, 0.0331131779, 0.0214473642, -0.0425262712, -0.0335471667, 0.016876271, -0.0838072971, -0.0480425172, 0.0506217517, -0.0290927663, -0.0070766667, 0.0608627088, -0.0497279279, -0.0312020127, 0.0994630009, -0.0279003493, 0.0270191617, -0.0151514318, 0.0478063412, 0.0015052051, -0.0332545936, -0.0284295678, 0.0425922088, -0.0209768172, -0.0082558412, -0.0225979779, 0.0354085341, 0.0114763677, -0.0259819087, 0.0027574468, -0.0129458876, -0.0333160236, 0.0152593302, 0.0103323897, 0.0254491828, -0.0389737599, -0.0134528615, -0.0647839233, 0.0049550105, -0.0233123954, -0.0106330253, 0.0022195391, 0.0040825005, 0.0094351461, -0.028750414, -0.012178435, -0.0146814501, -0.0059951227, -0.0037995183, 0.0239891112, 0.01655766, -0.0183507688, -0.0468890406, -0.0157898664, -0.024301799, 0.0163020436, -0.0324278884, 0.0267901402, -0.0531025231, 0.0189239848, -0.0041214852, 0.0467740744, -0.0336779878, -0.0298227184, 0.0337615386, -0.0348178819, 0.0179008897, 0.066538848, -0.01076046, 0.0104396129, 0.0455894098, 0.0130019747, -0.0877002701, 0.0383689851, 0.0148652913, -0.010319558, -0.0014832799, -0.0231184531, 0.023331482, 0.0953129679, -0.0063088443, -0.0001101185, -0.0668248087, 0.056254629, -0.0192719046, -0.0648029, -0.0429642238, -0.0414372869, -0.0162388775, 0.0169829391, -0.0497927032, -0.057427533, 0.094426997, -0.0079290466, 0.0130460402, -0.0535638183, 0.0050186738, 0.0043345247, 0.1046406999, -0.0073193847, 0.0063890312, 0.008792324, -0.0303756036, -0.0544378869, 0.001315224, -0.028091589, -0.0284627564, 0.0564396828, -0.07142023, 0.0158145595, 0.0347507633, -0.0749501437, -0.0471477434, 0.0106667615, -0.0015396826, 0.0049666464, 0.0237714034, 0.0033220407, 0.0094883125, -0.0116375433, -0.0045476044, 0.0800604522, -0.0099136587, -0.0276146773, -0.0034812605, -0.0443185121, 0.0234749299, -0.0269335639, 0.0232707448, -0.0142058544, 0.0194702018, 0.0105930232, 0.0885789171, -0.0135081047, -0.0756931454, 0.028048832, 0.0107554952, -0.0414538719, -0.0273743663, 0.0258438382, 0.043842379, -0.0826246217, -0.0580517799, 0.1065215915, 0.04466426, -0.0414255746, 0.0341554955, -0.0223321076, 0.0122942682, 0.0496837981, 0.0362060554, -0.0557285957, -0.0313124508, 0.0173324775, 0.015559081, 0.0243449155, -0.0371785834, -0.0025157665, -0.1234920397, 0.0052215117, 0.0217407551, -0.048136346, -0.0129127372, -0.0116270278, -0.0343563743, -0.0213270895, -0.0296122562, 0.0373640917, 0.0017569247, 0.0148307104, 0.0037913537, -0.0073081274, -0.0069970652, 0.0639385805, -0.0264846981, 0.0693728253, 0.0724264458, 0.0175806247, 0.0189791508, -0.0065662507, 0.0726832151, -0.0117844837, 0.0146611379, -0.0005579573, 0.0308524296, -0.0058114207, -0.0138940914, 0.030537907, 0.0354844891, -0.0268868841, -0.0212668628, 0.0069600162, 0.0356848724, -0.0335536711, -0.0015417716, -0.013536443, -0.0277950242, -0.0139717907, 0.0328317024, 0.0332131125, -0.0240776781, -0.0533391237, -0.0351305529, 0.0046749413, -0.089110665, -0.0109252529, -0.0157641713, 0.0350535512, 0.0302762259, -0.0480853841, -0.0474870503, 0.0318752155, 0.0376550891, 0.0164420232, -0.0410009921, -0.00772725, -0.0091859214, -0.0673326626, 0.0185592584, -0.0414045155, 0.0049542659, -0.0414897241, 0.0096126003, -0.0052797762, -0.0437798761, -0.0115305409, 0.0311692357, -0.0818628147, -0.036432568, 0.0013768337, 0.1044227108, 0.0160658155, 0.0738770217, -0.0576742217, -0.0582903847, 0.0392037928, 0.0040782467, -0.0068092784, -0.0068735429, 0.0258308705, 0.0009066032, 0.0182090458, 0.0439112484, -0.0416690856, 0.053403616, 0.0262264982, 0.0351316519, 0.0148862749, 0.0368526466, 0.0298326798, 0.022948917, 0.0084144305, -0.0217884649, 0.0222550035, -0.0320751704, 0.0084284423, -0.0098276446, -0.0090470165, -0.0417033769, 0.0520916134, 0.0277308878, -0.0171614792, 0.0161753539, -0.0310627092, -0.02021157, 0.0098682186, -0.0105198761, -0.0306861177, -0.0073223156, 0.0381208137, 0.0413367786, 0.0029723744, -0.0146343941, 0.018735202, 0.0061826166, 0.0436768048, -0.0353978053, 0.0296940859, 0.0238255598, 0.0316579267, -0.0387332737, 0.0400531851, -0.0494669117, -0.0706015006, -0.0288125034, -0.0062775603, 0.0622396432, 0.0217217989, 0.0322641991, -0.0184302609, 0.0242825169, -0.0080109509, 0.0013310622, -0.0054686363, -0.0480319075, 0.0101097049, 0.0342858657, 0.0254012458, -0.0014951237, 0.0593454503, -0.0383560546, 0.0602141358, 0.0196573753, 0.0347036608, -0.0530718267, -0.0168849044, 0.0021846965, -0.0129376762, -0.0140615581, -0.0147020807, -0.0055423309, -0.0935938805, -0.0098813856, 0.0782731101, 0.0124434568, -0.00017423, 0.0255681518, 0.0710641742, -0.0126637341, -0.0145449275, -0.022172248, -0.0029981113, 0.0209723841, -0.0454979017, -0.0322537124, -6.414964342e-33, -0.0215579942, 0.0264031682, 0.0502345525, -0.0305562001, -0.0183066092, -0.015814336, -0.0746788308, 0.007211695, -0.0055228295, 0.0053604865, -0.0243060533, 0.029199155, -0.0019288224, 0.0171245039, 0.0597406104, 0.0204330049, 0.049757164, -0.0153750833, -0.0809297338, 0.0158672798, -0.0016326796, 0.0227566995, 0.0523513407, -0.0469429269, -0.005287861, 0.0440630428, -0.0204658862, 0.042729672, -0.0059313006, 0.0417341888, 0.0210824534, 0.0075239316, 0.0255322419, -0.0614789873, -0.0317270905, -0.0558101386, -0.0540759899, -0.0658040643, 0.0250247568, -0.0249837413, -0.0667403936, -0.0299959704, 0.042316623, -0.0009208134, -0.0555399656, 0.0039705718, 0.0114454096, -0.0141311008, -0.0045730141, 0.0052541648, -0.0475404039, -0.0072552538, -0.0227655768, -0.0343012698, 0.0062586637, 0.0119139664, -0.0284018088, 0.0094096782, -0.066830866, 0.0069269952, 0.0033991768, 0.0406935513, 0.0843097642, -0.003831058, 0.0311459638, 0.0395080522, 0.0488688909, 0.003249594, -0.0103851762, 0.0065931114, 0.0608646274, 0.0302735977, 0.0378819667, -0.0147102065, 0.040866062, -0.0257385429, -0.0348511189, 0.0057337568, 0.0002556693, 0.0697674975, 0.0123800701, 0.0201302953, -0.027666837, -0.0086459806, -0.0807799548, -0.025972221, -0.0277913958, -0.0473693535, 0.042231299, 0.0319825523, -0.0104329083, -0.0276632719, 0.0135602551, -0.0250623468, 0.0102155674, 0.0106556723, -0.0401249863, 0.0330846831, 0.0121987183, 0.0507153273, -0.0521070249, -0.0099454951, 0.0212325975, 0.0256045032, 0.0642932206, 0.0071462272, 0.0374029838, 0.0472463816, -0.0427854322, -0.0114304069, -0.0539314859, 0.0237040315, 0.0124275964, 0.0225204434, 0.0238185003, 0.0294661615, -0.0104949959, 0.0301178619, -0.0069430145, -0.039895542, -0.0480391346, 0.0393779799, 0.0254698042, 0.0212840773, -0.0316548795, -0.014808313, -0.0538883358, 0.008490243, 0.0266611315, -0.0668624789, -0.0386190787, 0.0166347828, 2.969e-7, -0.0098951487, 0.0327138864, 0.037483234, 0.0525496528, 0.0168823209, 0.0467439033, -0.0293350331, 0.0156285148, 0.0161104426, 0.022095751, -0.0082845995, 0.0535909794, 0.0271079969, -0.000320039, -0.0504012182, 0.0087242899, -0.0414836518, 0.020138396, -0.032916218, -0.0428239033, 0.0055351956, 0.0932320058, 0.0477705561, -0.01897051, 0.0160045568, -0.0167510062, 0.0422075205, -0.0044927201, -0.0152102439, 0.03618031, -0.0367489681, 0.0801493302, -0.0010651604, 0.0017936408, -0.0289929602, 0.0012075695, -0.0287247282, 0.0326054804, -0.0268001426, -0.0152632734, -0.0014665524, 0.0127700288, 0.0289078467, -0.0417469218, 0.0570092462, -0.0794619694, -0.0009134065, -0.0159658343, -0.0094461748, 0.0182866082, 0.0186267179, -0.0189446229, -0.0169618018, 0.0196695272, 0.0171253178, 0.0277968999, -0.0033392333, -0.0881976485, -0.0345850661, 0.0235453434, -0.011327154, 0.0091310162, -0.0532557517, 0.0262287222, 0.0205221754, -0.0890130028, 0.0169522148, 2.698059608e-34, 0.0258082431, -0.0346689858, 0.0268980041, 0.0210126378, 0.0391531624, -0.0055788415, -0.0057316357, 0.0088785868, 0.0209069271, 0.002725089, -0.0454506427 ]
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.0500882417, -0.0353013352, -0.0203853603, -0.0220610537, -0.0129781561, -0.0178821236, 0.0184088722, 0.0070850849, 0.0499759428, -0.0122772735, -0.0229724497, 0.0982609689, 0.004635754, 0.0309122484, -0.0290206857, -0.0588008128, 0.0110288393, 0.0147395059, 0.0615875833, -0.0113146193, 0.0240121912, 0.003204403, -0.0227726847, -0.0043848502, 0.0442742668, -0.0293285213, -0.0096937511, 0.0039011713, 0.0155074494, -0.0572514609, 0.020622937, 0.0172128212, -0.0117076468, 0.0262659565, 0.0000021367, -0.0201422181, -0.0426283479, 0.0030471075, 0.004691571, 0.0099310782, 0.0655866489, 0.03324816, 0.0460881814, -0.0169460587, 0.0138305044, 0.0173846148, -0.013882813, 0.0548483022, -0.0354121849, -0.008166559, 0.0150742363, -0.0331461802, 0.0275032874, 0.022841325, 0.0593731441, -0.0011542074, 0.0055163126, 0.0323565714, 0.0240855981, 0.0675334781, 0.0125222597, -0.0088332081, -0.0563471355, -0.0608192869, 0.1137341112, 0.0362648927, 0.0266824756, -0.0198684633, 0.0318600461, 0.0337875187, 0.0168120693, 0.0036538714, 0.0136804888, -0.0354001038, -0.0037069062, 0.1067623422, -0.0525575094, -0.0461699963, -0.0300156269, -0.0495843217, 0.0226831865, 0.0033787452, 0.0152111789, 0.0097922338, 0.0221031997, 0.0744476393, 0.0038798929, -0.0245128255, 0.0315891095, -0.0139323231, 0.0551579446, -0.0335342102, 0.0167078208, 0.0150919594, -0.0177662447, 0.002727798, 0.0617827661, 0.0006610173, 0.0443013832, -0.0025833042, 0.0017366225, -0.012492693, 0.0319121778, 0.0191719886, 0.0168353152, -0.0229921266, -0.0339265056, -0.0345745422, 0.0077938163, 0.0161987543, -0.0920853391, -0.0154260462, -0.0201170035, 0.0208877288, 0.0150549402, -0.0267041326, -0.0074933576, 0.0081277555, -0.0021060631, 0.0177187137, -0.0224836897, 0.0370373726, -0.002629441, -0.0083792042, -0.0549631305, 0.0540919676, -0.0300478227, 0.0300374627, -0.0369598791, 0.088818036, 0.0305023007, 0.0207207482, 0.029961355, 0.0025743931, 0.0108886724, -0.0663983747, 0.0264392477, -0.0413760059, -0.0359960161, -0.0663978606, 0.0246643368, 0.0070974776, 0.025618853, -0.0506029353, -0.0015241004, 0.0168465301, 0.0200312771, 0.0120657869, -0.0004641254, 0.0070338696, -0.0417750627, 0.0110856816, -0.0706864893, -0.0131798945, 0.037334431, 0.0307951551, -0.0068250443, -0.0198579878, -0.0445088595, 0.0052149831, 0.0416912474, 0.0092817023, -0.0365606584, -0.0693337545, 0.0004141823, -0.0118575767, 0.0711544827, 0.0159899779, -0.1010681689, 0.0465248078, -0.0276330896, -0.0382511579, -0.0215387382, 0.048368264, 0.0093472786, 0.0503436103, 0.0339198448, 0.0431261249, -0.0197429415, 0.0481630974, 0.010195069, -0.0298298374, 0.0459381714, 0.049706921, -0.0131427748, -0.0011208977, -0.0298362114, 0.0164865684, 0.0009992869, -0.0069460883, -0.0120783169, 0.0715528578, -0.0388841741, 0.0065904311, 0.0489629805, 0.0101568075, 0.0400880873, -0.0328914896, 0.0032569799, 0.007298633, -0.0003868256, 0.0692524463, 0.0343680382, 0.0348249748, 0.0406051949, -0.0233935416, -0.0349726453, 0.0178268701, -0.0335901938, -0.0057545933, 0.0102241859, -0.0184299685, -0.053919632, -0.0075978721, -0.0636467338, 0.0079950914, -0.020417979, 0.0022284857, -0.0299875196, 0.0431869812, -0.0166733246, -0.0878378004, 0.0082959952, 0.0087807337, -0.0048546889, 0.0861403793, 0.023118265, -0.0349370316, 0.0452746339, 0.0818220749, 0.024946643, 0.0283867531, 0.0450393781, -0.0188661814, -0.0218973234, -0.0091811502, 0.0288136527, 0.0323925354, -0.0029000682, -0.1159213185, 0.026233105, -0.0286792926, 0.0348178707, -0.0283821989, 0.0068689398, -0.0037132115, 0.0313551128, 0.0470386632, -0.0053357072, -0.0511193983, -0.0644936785, -0.010414972, 0.0760452747, 0.009246463, 0.0484156795, 0.041198723, -0.0657731891, 0.0151386727, 0.0086505525, -0.0053216876, -0.0114691043, 0.0188018531, -0.0116207125, 0.0455359481, -0.0335839093, -0.0605709702, 0.0449615978, -0.0268818866, 0.0128325252, 0.0252949279, 0.0415242799, -0.0037639835, -0.0270368904, 0.0099125504, -0.0365213566, -0.0117729399, 0.0317826457, -0.0426229201, -0.0641734228, 0.024946712, 0.0357496776, 0.0322472416, -0.0192945898, -0.0140179843, -0.0356161334, -0.0018100715, 0.061535228, -0.0185162835, -0.0007390701, 0.0308581572, -0.0168750025, -0.0299920589, -0.0165181626, 0.0453091525, 0.0008521634, 0.028753588, -0.0362932831, 0.0051199012, -0.0183240138, 0.044657927, 0.0400569849, -0.0262113642, -0.0498476774, -0.0149645591, -0.0259418841, 0.0682699904, -0.0203206111, -0.017629873, 0.0371676534, -0.026729079, 0.0296412278, -0.0122282458, -0.007077083, 0.0027424044, -0.0113098379, 0.0603047535, -0.0452910475, -0.0308204386, 0.0589023307, 0.053836558, 0.021203706, 0.0241635982, 0.0171331204, -0.0218310356, 0.0358670019, -0.0849128887, 0.0060735922, -0.029277062, 0.0183903985, 0.0031802182, 0.0069718179, 0.0110262232, 0.0014126111, -0.0297330022, 0.0295944754, 0.0576757379, 0.0030975095, -0.0272993185, -0.0016968882, -0.0347325429, 0.0144260926, 0.0443057604, 0.0060920538, 0.0076679597, 0.0093757771, 0.0293059871, 0.0845040604, -0.0632282197, -0.0257774536, 0.0130461119, 0.0894126594, -0.0211335104, -0.0039084968, -0.0651396289, -0.0018066717, 0.0367456973, 0.0387906395, -0.0783150196, 0.0402937308, 0.0331827253, 0.047085423, 0.0463963114, -0.0287319198, -0.0074121999, -0.0340330712, -0.0387146138, -0.0152604505, -0.0912466794, -0.029578859, -0.0282872319, -0.0247492362, -0.0180337969, 0.0322843231, 0.0464772098, 0.071775876, -0.1041761488, -0.0281682927, -0.0705465227, 0.0113789085, 0.0399944521, 0.0194608308, -0.0734893307, 0.0536207892, -0.0137262773, 0.0377009511, -0.0465962961, -0.0400078595, 0.0234430898, -0.016061822, 0.021022873, -0.0335538797, 0.0045205769, -0.0252472796, -0.0459992737, 0.0307253804, 0.0286683571, -0.0824251026, 0.0106189717, -0.038102109, -0.0064612217, 0.0237961039, -0.0545048155, -0.0309607144, 0.0081235347, -0.0006139522, -0.011058649, -0.0222150665, 0.0397388339, 0.0038609472, 0.0359850749, -0.0727427378, -0.0363533013, 0.0247309972, -0.0083040744, 0.0025846409, -0.0212410837, 0.0399636179, -0.0620016567, 0.0242787004, -0.017849246, 0.0083469413, 0.0768014044, 0.0557712764, -0.0255339127, -0.0196983293, -0.0800728351, -0.0085535878, -0.0307506658, 0.0036793042, 0.0059040538, 0.0111616738, 0.0348134115, 0.0071990592, 0.0723566487, 0.0467557386, -0.0211713072, 0.0561899208, -0.0509310178, 0.0294045489, -0.0347552784, -0.004400488, -0.0098272804, 0.0014494979, -0.0089316471, 0.036259912, 0.0164366066, -0.042732656, -0.0314863697, -0.0038133517, 0.0122130821, -0.0082718292, 0.0226687901, -0.0206149165, 0.0383171029, -0.0291611552, -0.0228065532, -0.0453388356, 0.0135263037, 0.0081396857, -0.0637405217, -0.0072570452, 0.0137401689, 0.0312926583, -0.044248309, -0.0404748097, 0.0400935821, 0.0193947442, -0.0152259953, -0.0727329627, -0.0440912843, -0.0302805547, -0.0153989717, -0.0226258244, -0.0579699278, 0.0150076617, -0.034704756, 0.0011963613, -0.0639974996, -0.0870520845, 0.0013595981, 0.0198156685, 0.019095948, 0.0181883052, 0.025057774, 0.0005059617, 0.0133397728, 0.0121064382, -0.0027733643, 0.0128892493, 0.0108003197, 0.0008101327, -0.0417284928, 0.0252035726, 0.017972732, 0.0030301767, -0.0011729337, -0.0346080512, 0.0383174941, 0.0228783991, 0.0290942211, 0.0131896641, -0.0167430341, -0.0298092123, -0.0279375799, -0.0330403075, 0.0065134405, 0.0114262737, 0.0523553863, 0.0057926951, -0.0637376532, -0.0171178263, -0.0244773962, -0.071400933, -0.0745523721, -0.0064812014, -0.008137187, 0.0261840504, 0.0306328945, 0.000789738, -0.0514923297, 0.0016543482, 0.0155244395, 0.0423615091, 0.0011044098, -0.0057099997, 0.0489037596, 0.0458073206, 0.0116810715, 0.0066500329, 0.0431806445, 0.0089905979, -0.0390108787, -0.0049920338, -0.0795372203, -0.0029640421, 0.0183468424, 0.0530426539, 0.1106981486, -0.009414589, -0.0042341975, -0.0402001552, 0.0018578911, 0.0180632528, -0.0315141566, 0.0247672424, -0.0311350469, 0.045210842, 0.0239420012, 0.0241054855, -0.0602902547, -0.0173366033, 0.0169450641, -0.118806228, -0.0209471211, -0.0115066916, -6.482243026e-33, 0.0073716575, -0.0768649578, -0.0237218104, -0.0146096125, -0.0099015459, -0.0007270117, -0.0113438554, -0.0131961657, -0.0476105697, 0.0348622575, -0.031440936, 0.0097749634, -0.0097191809, -0.0108949952, 0.0673952624, 0.0547722466, 0.0193087608, 0.0287613049, -0.0036790613, 0.0673112348, 0.0327075869, -0.0173863266, 0.0020828887, -0.0277430993, 0.0355422087, -0.0598324314, 0.0222188067, -0.0122786881, 0.0127037819, 0.0610461049, -0.0140967965, 0.0187120903, 0.0159065612, -0.0411192328, 0.0138592357, -0.0195452161, -0.0655869097, -0.0606006086, 0.0264799576, -0.00574482, -0.0234275423, -0.0071414798, 0.0197543986, 0.0157441478, 0.0392076485, -0.0165061615, 0.0982543603, 0.0157816056, -0.0577483438, -0.0574876815, -0.0053215395, -0.0033705903, -0.0577672832, 0.064918071, -0.0276978873, 0.0397608206, -0.003481359, 0.0200602226, -0.0324610509, 0.0179680679, -0.0228180606, 0.0029271932, -0.0032166513, -0.0475728177, -0.0010907087, 0.0049763597, -0.0564006232, 0.0122901313, 0.0520142987, -0.0026280584, 0.0025841803, 0.0292307548, 0.0161625389, 0.0220565517, 0.015579504, -0.0102237128, -0.0187769812, 0.0109295556, 0.0503932722, 0.0313378796, 0.0260219332, 0.0056367801, 0.0029606686, -0.0255485568, 0.0104865767, -0.0619902611, -0.0271542035, -0.0627482384, -0.0160559211, -0.0362270959, -0.0149225974, -0.0239058416, -0.0391212255, -0.0001342513, -0.0028551628, 0.0599612407, 0.0131969312, 0.0653279573, -0.0174017753, 0.0144089768, -0.0731220841, -0.0123114418, -0.0249119736, -0.0298171565, -0.0038892762, 0.0119582526, -0.0007848301, -0.0559705682, 0.0040962365, -0.0447545014, 0.0235922225, -0.0375836529, -0.0317479745, -0.0203798618, -0.018984925, 0.059112858, 0.0154490964, 0.0378298536, 0.0490393639, 0.0708319545, 0.0229098089, 0.0010057087, -0.0295780096, -0.0161070842, 0.0322442316, -0.0231096596, -0.012765578, 0.0141854445, -0.0129752606, -0.0148739461, -0.016767567, -0.0089535546, 3.01e-7, 0.035806179, 0.0325137526, -0.0189497452, 0.0174140576, 0.047079429, -0.0062623173, 0.0381606966, 0.0064002499, 0.0275565386, 0.0292669237, 0.0451278575, -0.0403309576, -0.0433751456, 0.0591398105, -0.0762321949, -0.0940743461, -0.0181462336, -0.0534267612, -0.0531934425, 0.0188652035, 0.0275360402, -0.0347984172, 0.0068763369, 0.0346261673, -0.0443438068, -0.0053964723, -0.0078173839, 0.0132741919, 0.0576574951, 0.0319090523, 0.0314166136, -0.0058938181, -0.0243305471, 0.0684287772, 0.0243057907, 0.0068999561, -0.0328702405, -0.057055708, -0.0039780457, 0.0251227375, 0.0411566272, 0.0051767579, 0.0347364321, -0.0864375532, 0.0162262116, -0.0461396687, -0.0134496102, 0.013439293, -0.0333873928, -0.0436195508, 0.0195561871, -0.0117563885, 0.0048911329, 0.0151171172, -0.0427430347, -0.0153869204, -0.015851019, -0.0061889817, 0.0279855169, 0.0612411201, 0.0170057919, -0.0453310274, -0.0088803871, -0.0283583626, 0.0067561851, -0.0036711923, 0.0254394915, 2.44750115e-34, 0.0136616156, 0.0012730989, -0.0448688045, -0.0178018324, 0.017975213, -0.0228428096, -0.0613394864, 0.0020390539, 0.0485611893, -0.0446446724, -0.0040348317 ]
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.0555040352, 0.0248409975, -0.0258434359, -0.0429345146, -0.0147303976, 0.0519667976, 0.0300346091, 0.0258346554, 0.0929803401, -0.0053047556, 0.0659748688, 0.0184746515, -0.0380341671, 0.0306039434, -0.051585786, -0.0365199745, -0.0149334688, 0.0251207277, 0.0366260298, -0.0086440397, 0.007871422, 0.0462582633, -0.0389863178, 0.0289926771, -0.0169451702, 0.0047832648, 0.0281825159, -0.0372870639, 0.0617490299, -0.0348666869, -0.016153099, 0.0274023432, -0.0425802656, 0.0011864681, 0.0000021486, -0.0355072692, -0.0530695841, -0.0255774707, 0.0129731977, -0.107461296, 0.0430240519, -0.0793958902, -0.0144572975, 0.0234919824, -0.0334371068, -0.023295762, 0.0764138252, 0.0698021576, 0.0452478491, 0.0692197457, -0.0391738899, -0.0301724374, 0.0205173921, 0.0017038598, 0.0012045037, -0.0062367599, 0.0525875203, -0.0201448239, 0.0089397766, -0.0252858605, -0.0082089594, 0.0203626156, -0.0436362922, 0.0419753417, -0.0456444547, 0.0130725559, -0.0388588011, -0.0700684115, 0.0357596464, 0.0175395701, -0.0088222316, 0.0176975355, 0.0519909412, -0.0115769068, -0.0192742757, -0.018684648, 0.0097609553, -0.0146212783, -0.0470585525, 0.0129163051, 0.0531431399, 0.0658985674, -0.0447290391, -0.0050196564, 0.0134406267, 0.0058322442, -0.0049466854, -0.0199352521, 0.0597636886, 0.0119629465, -0.06481646, -0.0081088869, 0.0487078838, 0.0114726173, -0.0620690919, 0.0078943437, -0.0373234339, -0.0948417932, 0.0298087727, -0.0574060604, 0.0320381857, 0.0413632169, 0.0046843076, -0.0054878616, 0.026940953, -0.0213538148, 0.0511439145, -0.0415353216, -0.0336786695, 0.0245250482, -0.0746286139, 0.0471982323, -0.0198234357, 0.0364334919, 0.0300131626, 0.0075281369, -0.1094144732, 0.0137717053, -0.0074299201, -0.0026118883, -0.0022631031, -0.0246459767, -0.0022865075, 0.0424203388, 0.0688502342, 0.0144838989, -0.0190209728, 0.0048617753, -0.0406641327, -0.0410874225, 0.0789536536, 0.0048712855, 0.0156280287, -0.017872747, 0.0190011431, 0.0133538442, 0.0037444206, -0.018151775, -0.0631686002, -0.0018591436, -0.0466098338, -0.0077898498, -0.0069771432, -0.004281383, 0.0365093872, 0.0164372083, -0.0281852875, -0.020437533, 0.0394597612, -0.0352454819, 0.0053171958, 0.051105015, -0.0509597957, 0.0134248175, 0.0379650183, -0.0116561381, 0.0121150082, 0.0585979037, -0.0020884038, 0.0714883581, 0.0420302078, -0.0347945355, 0.0079468377, -0.0005726123, -0.0188190993, -0.0326044559, 0.0097481431, -0.0467728823, -0.0632750764, 0.0074014771, -0.0408580415, -0.0000236128, 0.0202719774, 0.0560508035, 0.0386935845, 0.0461896174, 0.039405711, 0.0381404012, -0.0415923819, 0.0413381718, -0.0203276481, -0.0253943577, -0.0056424215, -0.0161831304, -0.0061076544, 0.0069778338, 0.0264741797, 0.0533561632, -0.0132784862, -0.0726963058, -0.037325535, -0.018564323, -0.0092947828, -0.0036157379, 0.039689336, -0.026675662, 0.0006937569, 0.0207403582, 0.0450786687, -0.0343402326, -0.0323094316, -0.0201032497, -0.0118538374, 0.0271792971, -0.0173797868, -0.047696773, 0.0211534929, 0.0072105876, 0.0226030312, -0.0001016234, -0.0345751941, 0.0116322078, -0.0032145786, -0.0117269186, 0.0047141765, 0.0809615329, -0.0008743248, -0.0363715068, -0.0165354665, 0.0727900565, -0.0317390971, 0.0216394812, -0.0205085855, 0.0247512311, 0.0179081224, -0.056598112, 0.0057077156, 0.025926562, 0.0184368994, 0.0241378359, -0.0144256176, -0.010203559, 0.0316809453, -0.0415773839, -0.0542326495, 0.0009343026, -0.0185348708, -0.0122010186, 0.0095913112, -0.055374898, -0.0056343474, 0.0609193668, -0.0491422936, -0.0472159013, 0.0530786887, -0.0482478403, 0.0042275032, -0.0093592834, -0.0084348144, -0.0217882581, 0.0249005519, 0.003418318, 0.0560234115, -0.0164203718, 0.0234564599, -0.1050090343, -0.0670333132, -0.0117661599, 0.011050811, -0.0294821672, -0.0119365454, -0.0245071817, 0.0182382241, -0.0137931444, 0.0113309789, -0.0210227743, -0.0257997643, -0.0953478664, 0.0106766894, -0.0169213507, -0.0024699657, -0.0199489351, 0.023723267, -0.0334544815, -0.012270581, -0.0014557691, 0.0267801117, 0.0140145142, 0.0134079056, 0.0032629871, -0.0075921812, 0.0490838513, -0.0342822, -0.0087410118, -0.0438972674, -0.0014531501, 0.026600495, -0.0877134576, 0.0250511412, 0.005557246, 0.0014021023, 0.0225702114, 0.0184433386, -0.0498436503, 0.0264214911, -0.023310177, 0.0532002002, 0.0213540625, 0.026855398, 0.0489226654, 0.035495244, 0.018997509, 0.0353862271, 0.0363010652, -0.0704883412, -0.0418274999, -0.0109423725, -0.0343848839, -0.0285138395, 0.0177648552, 0.0045309337, -0.0110984128, -0.0564032011, -0.0441980958, -0.0307105817, 0.0455792248, -0.0115084453, 0.011196252, 0.0053719077, 0.0096819149, 0.0332438052, 0.0036746766, 0.009892256, 0.0329538397, 0.0341182649, -0.0341398567, -0.0599237047, -0.0362365916, 0.0097024785, 0.0166658778, 0.0280318055, 0.0782171339, -0.0012682345, 0.0616673529, -0.0103982836, -0.0289801899, -0.031863343, -0.0386232398, 0.001535863, -0.0053901672, 0.0084099425, -0.012361832, -0.0258429311, -0.0109104346, -0.0572530478, -0.0260934774, 0.001862475, -0.0071134521, -0.0013412508, 0.0041548368, -0.0136355674, -0.0034719119, -0.0063243029, -0.0093409112, 0.0066230143, -0.0075091454, 0.0736046508, -0.0718528479, 0.0108784558, 0.0095216976, 0.0422667861, 0.0736704692, -0.0246181078, 0.0284686442, -0.0232511759, 0.0009699224, -0.0147700813, -0.0136700431, 0.0028996707, -0.0271420237, -0.002251538, 0.025860304, 0.0139495917, 0.0884523168, -0.0085824737, -0.0548165292, 0.0104674939, -0.0222922415, -0.033290565, -0.0027748656, -0.0167259984, 0.0056731664, -0.0173642747, -0.0383552648, 0.0362501889, -0.0381108411, -0.0328836329, 0.0341624245, -0.0317020491, 0.0362950303, -0.0126920007, -0.0231704246, 0.0138527844, -0.0346348286, 0.0375380106, -0.0413211808, -0.053114716, -0.0769607648, 0.0001562566, -0.0003371909, 0.0424224287, -0.1177269369, -0.0330647267, -0.0031853341, -0.0003844951, 0.0077731479, -0.0575977042, 0.0729213804, -0.0133427326, -0.0750471056, -0.0217333995, -0.0170016773, -0.0192345288, -0.0175683722, 0.0916148499, 0.0255330317, -0.0123662511, -0.041280102, 0.0391692296, -0.0728691369, 0.0043691392, -0.0143707963, 0.0481052063, -0.0136056785, -0.0355686955, -0.0449439995, 0.0799375102, 0.0373933464, 0.0160359237, 0.0148123754, -0.0361242667, -0.0160655845, 0.0269047301, -0.0100776553, -0.0151547622, -0.0477526002, 0.0054431432, -0.0207194816, -0.0866407678, -0.0445576906, -0.024982648, 0.0134896552, 0.0117841447, -0.0401960053, 0.003994491, 0.0041545588, 0.0338871516, -0.0556052923, -0.0100717647, 0.0667464808, 0.0178004727, 0.0224982407, 0.0510281548, 0.0392983779, 0.0359981954, 0.0028091471, 0.0240286328, -0.0675093606, -0.0297708735, 0.0709705129, -0.0258725602, 0.012637984, -0.078554675, -0.0027206438, -0.049341999, 0.0582630448, 0.0046663405, 0.0357516035, -0.0407773294, 0.0134597411, 0.0239090119, -0.0131702349, 0.0082604215, 0.024221871, 0.0577269904, -0.0010984173, -0.0423382521, -0.0842656344, 0.0345959961, -0.0247000847, 0.0121558458, 0.0331774168, -0.0090135299, -0.0584744588, 0.0065083955, -0.0330783762, 0.0169878937, -0.0038431794, 0.026209211, -0.0298551843, 0.0423123315, 0.0380931459, -0.0169114918, -0.0479420088, -0.0099548195, -0.05980625, -0.040184509, 0.0148033844, 0.0648008958, 0.039803531, 0.0008124972, 0.0020924178, -0.0199437123, -0.0037504453, 0.0185888801, 0.032132078, -0.0249844138, 0.019905705, -0.0111478325, 0.0118496707, 0.0867873058, 0.0585362241, -0.029631732, -0.0346713327, -0.0319690257, -0.0304368846, 0.0600890815, -0.0384585783, 0.0692018867, -0.0218010619, 0.0078026606, -0.000170092, 0.0221953336, -0.039817296, 0.0035671354, -0.0031148095, -0.0376260057, -0.014545761, 0.0046218685, 0.0398546085, 0.005551504, -0.0195095539, 0.0314851739, -0.0224214979, -0.0061666453, 0.0416056961, -0.0086537423, 0.0277364552, -0.0242729131, 0.0062018079, -0.0194850694, -0.0656430647, 0.0914650932, -0.0472024195, -0.0216301102, -0.0004597468, 0.0215343386, 0.0240465086, 0.0407143347, 0.0011096034, -0.0839024484, 0.0092091151, -0.0194209777, -0.0199230853, -0.0003642809, -6.102878673e-33, 0.0275906902, 0.0007445568, -0.03681501, 0.0805374011, -0.0107138744, -0.0168197919, 0.0168553349, 0.0298116822, -0.0031152251, 0.0311513525, -0.003548166, 0.0464789309, 0.010080575, 0.0161882881, 0.0472339913, 0.0142132863, -0.0232793801, 0.0031829178, 0.0209144354, 0.0321382545, 0.0400664844, 0.0597359948, 0.0460136756, -0.1145753264, 0.0293915793, 0.0131749874, -0.026122937, 0.0138301775, 0.0779914632, 0.0114021366, -0.03363638, 0.0835806057, 0.0146554587, -0.0114961937, 0.0130505664, 0.0259653442, -0.0208536964, -0.0361688398, -0.0261289999, -0.0059404499, -0.0042920471, -0.0175596718, -0.0016589031, -0.0061620586, -0.0148376599, -0.051109761, 0.0314391479, -0.0127246995, 0.0384376086, -0.0571949035, -0.0195577536, 0.0142704854, -0.0179988109, 0.050293047, 0.0072744312, 0.0727703497, -0.0033479389, 0.0113543486, -0.0205046162, 0.0074541657, -0.0162024591, -0.0014259013, -0.0129652554, -0.0676165447, -0.0448053107, 0.0284574591, -0.0541868806, -0.0372794755, -0.0081900395, 0.0342682973, 0.001508079, 0.055139184, 0.0814355165, 0.0523426197, 0.015418035, -0.0451949313, -0.0519422293, 0.0393191092, 0.0195847899, 0.0020378223, 0.0173570123, 0.009739303, -0.0141010862, 0.0122039877, 0.0491217859, -0.0327987857, 0.0027993072, -0.0159316268, -0.034962602, -0.0112778423, -0.0261739083, 0.0028811647, -0.0321969315, -0.0196492225, 0.0547699407, -0.0440531, 0.0078906743, 0.0761091411, 0.0041977763, -0.0174554735, -0.0295386948, -0.0259450413, -0.0000555414, 0.0206426233, 0.053121496, -0.0146124391, 0.0418784358, -0.0048778346, -0.0313353613, -0.007188092, 0.03856254, 0.0423143655, 0.0053371037, 0.031803064, -0.0373717025, -0.0026523881, -0.0119574545, -0.0163699947, 0.0575905405, 0.053489279, -0.0275299754, -0.0262479316, -0.0239487551, -0.0223909263, 0.0086526256, -0.0439979993, -0.0289007202, 0.0409421958, 0.0421046242, -0.0227604769, -0.0037860107, -0.0396455824, 2.918e-7, 0.0388736501, 0.0497691259, -0.048719734, -0.0337811485, -0.0102598239, 0.0295412894, 0.0322388634, 0.0496885329, 0.026850028, 0.002152903, 0.0189996101, 0.0064213551, 0.0681707785, 0.0882645324, -0.0298487581, -0.0804610401, -0.0005306731, -0.0221896246, -0.0648846701, 0.0457382537, 0.1067778766, 0.0519069545, 0.0053254738, -0.0408909544, -0.0154834725, 0.0051970254, -0.0001255798, -0.0249435809, 0.0005505445, 0.0195239969, 0.012922694, 0.012565068, -0.0138827348, 0.0057251193, -0.0180787034, -0.0469210371, 0.0179650579, -0.0042820987, -0.0070624254, -0.0058662212, 0.0393680148, 0.0375969447, 0.0475246459, -0.0217555799, 0.0469740182, -0.0247730985, -0.0282525383, -0.0823107138, 0.0141691267, -0.0199978538, 0.0624708161, -0.0032502599, -0.0155396657, 0.0443024412, 0.0222467929, 0.0105595179, 0.0030330494, -0.0631747171, 0.0030342517, 0.0293935742, 0.0103561617, -0.0200272612, 0.0263238829, -0.0059812753, 0.0153235327, -0.0087512312, 0.0241655875, 2.160745502e-34, -0.0178166404, 0.0565062985, 0.0318553895, -0.0251780543, 0.0039581731, 0.0161054991, -0.0506029092, 0.0172061231, -0.0352521427, -0.0595801249, 0.0036957089 ]
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.0332693644, 0.0865957886, 0.0205313116, 0.0184990764, 0.0213034358, 0.0566504151, 0.0321831554, -0.0079097459, -0.0102916993, -0.0058832634, -0.0045415675, -0.0298094731, 0.0125540746, -0.0033895564, 0.0201798771, -0.0066315029, 0.0314345621, -0.014498706, 0.0228991508, -0.0031581002, -0.0312914066, 0.0123053323, -0.0048639048, 0.0163099449, 0.0416241214, -0.0034188742, -0.0275416709, 0.0090766894, 0.0381239615, -0.0883470252, -0.0081548225, 0.0358455107, -0.0341885388, 0.0510180704, 0.0000020528, -0.0267557167, -0.031958539, 0.0235869773, -0.0059920186, 0.052013699, 0.035094481, -0.0165729877, -0.0115928659, 0.0314878635, -0.0095951743, -0.0793984905, 0.0252719559, 0.0575055778, -0.0200795401, 0.0533416532, -0.0046630902, -0.0148145007, 0.0553209707, -0.0573803969, -0.0381466262, -0.0718041807, 0.0158663616, -0.0185392853, -0.0180744957, 0.0221084245, -0.0225572027, 0.0542780533, 0.001778646, 0.0210295375, 0.0292398054, 0.0559444539, -0.0002432873, 0.0024247626, -0.0024571929, 0.0407637469, -0.0030115629, -0.0050254404, 0.0437161587, -0.0032019464, -0.0245753471, -0.0342649482, -0.0100710131, 0.0280396417, -0.0570487417, 0.0374107994, 0.0538023897, -0.0160332061, 0.0309575088, -0.0063146236, -0.006461293, 0.0224381778, 0.0508572459, -0.0131351035, -0.0208724793, 0.0364594162, 0.0111342678, -0.050923951, 0.0357515141, 0.0111655258, -0.0311506689, 0.0197860915, -0.0216765739, -0.0370744653, 0.0228034779, -0.061683502, 0.007212257, 0.0281176791, 0.0132980542, 0.0147823207, -0.073442243, 0.0358544327, -0.0177459158, -0.0760581866, -0.0062217815, -0.0346576571, -0.0260541495, -0.0036966524, -0.026969729, 0.0376444533, -0.0573058687, -0.0334610716, -0.0437108837, 0.0358094126, 0.0157072619, 0.0057806047, 0.0305148698, -0.0084275445, -0.0129751656, -0.0145002306, -0.0145962546, 0.0423096977, -0.0162728224, -0.0161972158, -0.0311170332, -0.0513231531, -0.0006333512, -0.0350970812, 0.0317971669, -0.0260751992, 0.0033752904, 0.0492474698, 0.0008201322, -0.0537432022, -0.0564143881, 0.0042911139, 0.0128714936, -0.0388609916, 0.0124114212, -0.036972072, 0.0382863209, 0.0345943198, 0.0183566622, -0.0543899164, 0.0261983965, 0.0097621335, -0.0217254087, 0.045920331, -0.0236422457, -0.0050830087, 0.0102514941, 0.0049305484, 0.0671546683, 0.0627394244, 0.0185383521, 0.0209811032, 0.011676834, -0.0092926156, -0.0271957088, 0.0449320488, 0.0332322344, -0.0038626881, 0.000937369, -0.0072633936, -0.0053139748, 0.0090902438, 0.0739413127, 0.0430164635, -0.0072487029, 0.0062152897, 0.0507038757, 0.0257005319, -0.0034089915, 0.0008506724, 0.0304826908, -0.0077654365, -0.0171435624, -0.0326413028, 0.0113033503, 0.0265202951, 0.0044005243, 0.0327316001, 0.0615796782, 0.0847550333, -0.0085563911, 0.00095484, 0.00794343, 0.0091416724, -0.0181396678, 0.0323712677, 0.0494988151, 0.0112967379, -0.0678118393, 0.069889687, 0.036920201, -0.0134708667, 0.0053714467, -0.0209782906, 0.0089292014, 0.0820899904, 0.0578406081, 0.0498098694, -0.0447380282, -0.0064736367, -0.0470206402, 0.0769815668, -0.0122191366, -0.0138782486, 0.0289394446, -0.0303523764, -0.0119591039, 0.052189365, 0.0153134735, 0.063189894, 0.0596976504, 0.0453754887, 0.0317190997, 0.0114682931, -0.0444743335, 0.0210026465, -0.0872732326, -0.0589152463, 0.0287018921, 0.0088531701, 0.014804271, 0.030523112, -0.0142991776, -0.0207903758, 0.0274745449, -0.0424678065, -0.0142203746, 0.0073054889, -0.0056058895, -0.0759287402, 0.0077990149, -0.012816594, -0.0032363404, 0.0030538351, -0.031257093, -0.0702695623, -0.020308366, 0.0034514281, 0.0648380518, -0.0481732339, 0.0458562523, 0.0285765249, 0.0270518381, -0.0076743523, 0.0315307602, -0.05094219, 0.0203007124, 0.0389027745, 0.0484869964, -0.0127052832, -0.0085498933, -0.0551587157, 0.028238751, 0.019483041, -0.0378151722, 0.0202930439, -0.0198738817, -0.0160041973, -0.0155373542, -0.1035501212, 0.0122034987, -0.0180640239, 0.0385186747, 0.004054762, 0.0429449305, -0.0209814683, -0.0208019149, 0.0099683441, 0.0137680247, -0.0037800174, 0.0158932265, -0.0161441918, -0.0087376013, -0.0463493094, 0.0062941224, 0.0119640287, 0.0090346225, 0.0207108483, 0.0092662862, -0.0509353764, -0.0837375075, 0.0207533464, -0.0147393411, 0.0053540724, 0.0023342529, -0.0020154153, -0.024073679, 0.0092930514, 0.0439910181, 0.0024953687, -0.0007837841, 0.0367671512, -0.0196459275, -0.0251946282, -0.0344062857, 0.0159561727, -0.0179399326, 0.0122150565, -0.0235739369, -0.0693098009, 0.0028113234, 0.097613655, -0.0279379021, -0.0053469162, -0.0301593505, -0.0367541276, -0.0107466541, -0.0290956721, -0.0030386825, 0.0289520193, -0.0249990076, 0.0110124703, -0.0224204287, -0.041080296, 0.035241995, -0.0720445663, -0.0160603356, 0.0048507266, 0.0018585796, -0.0435328558, 0.0623209327, 0.0347199664, 0.0030461599, 0.0007134488, -0.089999482, 0.0337890908, 0.0921418443, -0.0054892278, -0.0274717081, 0.0363984257, 0.0214498434, 0.0111350669, -0.0333167613, -0.021877557, -0.0434394032, -0.0064886487, -0.0609381758, 0.0096372934, 0.0429274663, -0.0444985665, -0.0071920962, 0.0358502902, -0.0475009419, 0.0371285565, -0.0192808527, -0.0007815139, -0.0243012793, 0.0359008126, 0.0582222864, -0.0416516773, -0.001947069, -0.0116658108, -0.0106704794, 0.0366717689, -0.0041010734, 0.0139196236, -0.0213461686, -0.031596899, 0.0456228256, -0.0359276943, 0.004619468, 0.0003545286, 0.013069137, -0.041587349, -0.0185434837, 0.1242990494, -0.0093566757, -0.0444055274, -0.0235384107, 0.0232854802, 0.0479118265, 0.0115099745, 0.0225077402, -0.0700243488, -0.0299363527, 0.0284488704, 0.0072179995, 0.0087209735, -0.0454762205, -0.0228532348, -0.1405274123, 0.0204401221, -0.0099917129, -0.0676198602, -0.0101945698, -0.0531339981, -0.0372175351, -0.0036926751, 0.013635478, 0.0237772707, -0.0152215622, 0.0109493462, 0.0139515391, -0.0015603421, -0.0420708172, 0.0009686152, -0.0452255867, 0.0958865583, 0.0451861359, 0.0299172103, 0.0088856155, -0.0195089001, -0.0007748773, -0.01626339, -0.0263782255, -0.0408574454, 0.0154467821, -0.0404152982, -0.0119053442, -0.0373485014, -0.0189754106, -0.0158115234, 0.0067922659, 0.0079261521, 0.026885936, -0.0077626882, -0.0076879268, -0.008921735, -0.0146044074, 0.0148682231, 0.0736204237, 0.0281366818, -0.0324957483, -0.0175940972, -0.0099672992, -0.0265101958, -0.0539850965, 0.0292896051, 0.0091010081, -0.0398025699, -0.0701924786, -0.0424262621, -0.0351974368, 0.0363537259, 0.008703989, 0.014233876, 0.0766025558, 0.0416436009, 0.001409259, -0.0670151412, -0.0140343895, -0.0078064092, -0.0211535953, -0.0625213087, -0.0180897247, 0.0316899568, 0.0047193812, -0.0306238122, 0.0396878347, -0.0944947526, -0.0645654723, -0.0150175551, 0.0078745792, 0.0042928546, 0.0442583226, 0.0097210631, -0.0414478146, 0.0283227134, 0.0422608778, -0.0167726036, 0.014676895, -0.0120302783, 0.0163217466, -0.0163221657, 0.0223215874, -0.0233588666, 0.0320672989, 0.0029654328, 0.0507476963, 0.0001708421, -0.0295296758, -0.0295761246, 0.0320275128, 0.0452383906, -0.0542591922, -0.0124689173, -0.0478930995, 0.0436755009, -0.0126209175, 0.0247619562, -0.0313567631, -0.0000914494, 0.0388770141, -0.0200025309, -0.0277375989, 0.0434911624, 0.0362530276, 0.0245039631, -0.0261101872, -0.002788157, -0.025797762, 0.0367421992, 0.0243272651, -0.0273204502, -0.0040082303, 0.013121048, 0.0560106076, 0.0295960288, -0.0387688912, -0.0053013987, 0.008150286, 0.0332145914, -0.0038313875, -0.0162548218, -0.0283551849, 0.0014539781, -0.0377833247, 0.0290450174, 0.0716640353, 0.037659876, 0.1055569649, -0.023848014, 0.0038375761, -0.0247028228, 0.0228301007, -0.0310443323, -0.0163241047, 0.006388416, 0.0070523676, -0.0274385214, -0.0131227449, 0.0713103637, 0.0638865605, 0.0279393345, 0.0277073756, -0.0346377417, -0.0361876898, -0.0287428405, -0.0113311941, -0.0062759314, -0.033235807, 0.0150699029, 0.0093086381, -0.0574730746, 0.0102123311, -0.0089020552, -0.0156305525, -0.0206373055, 0.0075390204, 0.0025192588, 0.0105633857, -0.0448338613, -0.0634427965, 0.0201330967, -0.0143507086, -0.0354874879, -0.0047636386, -6.600616777e-33, -0.0522687472, -0.0526770838, 0.0488376431, -0.0376884602, -0.0380397514, 0.0236614123, -0.0397172831, -0.0132697765, 0.0448028184, -0.0090815434, -0.0220993795, 0.0165677592, 0.024904618, 0.0432830639, 0.0166869424, 0.009495548, 0.0931773931, 0.0164816361, 0.0078326445, 0.0469982326, 0.0512220971, 0.0956969708, 0.0406048186, -0.0190094542, 0.0119270282, -0.0222211387, 0.0254212692, -0.0483549498, 0.0663621202, 0.0345541835, -0.0463424064, 0.0055940221, 0.0075472752, -0.0705356896, -0.0143613871, -0.0008412749, -0.1784395874, 0.0175949782, 0.0048062587, 0.0450779982, -0.0017235399, -0.0237628855, -0.011595373, 0.0158846322, 0.0076426556, -0.0142522613, 0.0062115747, -0.018474482, -0.0384421833, -0.0789527074, -0.0585566983, 0.0501116887, 0.0227166712, 0.0712706447, 0.0769779235, -0.0276789833, 0.0074848938, 0.0228999853, -0.0617978163, -0.0143326409, 0.0352788866, 0.0261037592, 0.051103916, 0.0627972707, 0.0327645876, 0.0248383302, 0.0475834422, -0.0202356689, -0.0348146185, 0.0089619095, 0.0169586912, 0.0160894785, -0.020854868, 0.0177114476, 0.0803498551, -0.0464515164, -0.0645433515, 0.0204193909, 0.0192615651, -0.0052537867, 0.045649454, -0.0112932548, -0.0337093435, -0.016218368, -0.0202098414, -0.0218625702, -0.0372988358, -0.0145608541, 0.0495818704, 0.0518607423, -0.0320024416, 0.0172408596, 0.0575398505, -0.03256521, -0.0582940616, 0.0309161264, 0.0292211343, -0.0012353379, -0.0250577722, 0.0183061175, -0.0392688662, -0.0391152911, -0.0079641016, -0.0265213344, -0.0038390041, -0.0271745417, 0.0280116946, -0.0349770188, -0.0849258155, -0.00238005, -0.0223457459, 0.0463917591, -0.0031977834, 0.0121574476, 0.0329970494, -0.0398713946, 0.0149696628, 0.0126971239, 0.0430634692, 0.0199087784, -0.0022985185, -0.002644517, 0.0317689553, 0.0138283735, -0.0096949078, 0.0250468235, -0.0238004532, 0.0268750507, 0.0273452941, -0.0737764463, -0.0139280222, 0.0173833054, 2.675e-7, 0.0030873474, 0.0349274687, 0.0246477742, 0.0209975746, 0.0064210356, -0.0279835202, 0.0303700734, 0.0477828309, 0.0040701749, 0.0396465547, -0.0006998223, 0.0140850563, 0.0517767034, 0.012272195, -0.1027745008, -0.0220038276, -0.0575716943, 0.031045191, -0.0577630848, 0.004550097, -0.0218825061, 0.0606327616, -0.0384953618, -0.0135603445, 0.0306887385, -0.011848934, 0.0523249544, 0.0061659566, 0.0214850232, 0.0278993528, 0.0287989676, 0.0460198522, -0.0230899025, 0.0121123074, -0.020598013, 0.0084295394, -0.0181682687, 0.0668739453, 0.0227137525, -0.0314666182, 0.023548482, -0.0340803489, 0.0076398426, -0.022403283, 0.0777482912, -0.0114760427, -0.0133439247, -0.0290739499, -0.0267452952, -0.0098773837, -0.0068414523, 0.002500613, 0.0147417299, 0.0125078578, 0.019529473, -0.0581492111, -0.0200805385, -0.0754800513, -0.0057094228, 0.0222950969, -0.036089249, -0.0538565107, -0.0407244377, -0.0192124192, 0.0086670667, -0.0496653467, 0.0144926785, 2.630847963e-34, 0.0132856611, 0.0055628242, -0.0310036726, 0.0751742646, 0.017045442, -0.0354467183, -0.0466495305, 0.0283902045, -0.0264981464, -0.100549899, -0.0230770353 ]
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.0516502708, 0.0722313747, 0.0125413043, 0.0360828675, -0.0144269755, 0.001184768, 0.0097447615, -0.0018127655, -0.0250756908, -0.0522114038, -0.0279030595, -0.0186702386, 0.0199825242, 0.0564523079, 0.0064544608, -0.0052390038, 0.0420520864, 0.0592941009, 0.0071079461, -0.0074991086, 0.0116664711, 0.0319812484, -0.0383448079, 0.0433878079, -0.0217615552, -0.0096296584, 0.0313019902, 0.0024746051, 0.0211810563, -0.0188429672, 0.0005010274, 0.0606336929, 0.0328226238, 0.059831094, 0.0000016777, -0.0092287688, 0.0032561941, 0.0049420255, -0.0450265706, -0.0279491004, 0.0220964234, -0.0400650017, 0.0057007959, 0.0627117604, -0.0192833375, -0.0279054735, 0.0621882752, 0.0541314855, 0.0835317746, 0.0697317645, -0.0287175588, -0.0110536134, 0.0563882105, -0.0418242998, -0.0195108596, 0.0133224772, 0.0256108791, 0.0107072946, -0.0539562106, 0.0528717861, 0.0120886369, -0.0284863245, 0.0559171624, -0.0510421284, 0.0279533155, 0.0194140915, -0.0090186372, -0.0181234125, 0.0132392226, 0.0359725617, 0.0017693938, -0.0362607725, 0.0013213995, 0.0228302162, -0.0279262848, 0.0311764032, -0.0385702178, 0.0016563341, -0.0017500944, 0.0318588279, -0.0291431453, 0.027074378, 0.0351517797, 0.0079479972, 0.0399526656, 0.0090548331, -0.0105577046, 0.0006952201, 0.0149907013, 0.0223473068, 0.0084705288, -0.0535015464, 0.022654267, -0.014227191, 0.0126514295, -0.0031401338, -0.0010791172, 0.0005287501, 0.0235331059, -0.110637702, -0.0314203016, -0.0061414922, 0.0005181068, 0.0707337186, -0.0196629986, -0.0024326439, -0.0421576574, 0.0371070988, 0.0103025781, -0.0148461871, -0.0649312884, 0.0301860459, -0.0123191793, 0.0234060753, -0.0005675654, -0.004097274, -0.0509007536, -0.0065796394, -0.0199779104, 0.0037144932, 0.0226299316, 0.023971824, 0.0035055007, -0.0002532671, -0.0319007747, 0.068225123, -0.0366382599, 0.0313328058, 0.0076037603, -0.020582309, -0.0066489144, 0.0281706341, 0.0112814577, -0.0263992827, -0.0058013476, 0.0032141218, 0.0089589609, -0.0133755421, -0.0139967846, -0.0201781262, -0.0143188694, -0.0477032103, 0.0329302512, -0.0811358541, 0.030642949, -0.0119193252, -0.0267851371, -0.0237430725, -0.0249029864, 0.0150974123, -0.0145057887, 0.0545870401, -0.0089851543, -0.0221731011, 0.0386111848, 0.0158802997, -0.0233400855, 0.0539510548, 0.0058709127, 0.0797545388, 0.0281114969, 0.015688695, -0.0114175919, -0.0185391381, 0.0431113541, -0.0122039942, 0.0221065562, 0.0111214099, -0.0392053984, -0.013685694, 0.0022146238, 0.0330990069, -0.0384800695, -0.0560293198, 0.0517788492, -0.007839663, -0.0238841474, 0.0312088784, -0.0086512817, 0.0271412581, -0.0080786915, -0.0112068988, -0.0391119383, 0.0564163178, -0.0037670538, -0.059975218, 0.0163962506, 0.0453965627, -0.0257652104, -0.0238369368, 0.0139765628, -0.0308756921, -0.0026815217, -0.0244910289, 0.0242322572, -0.0038687594, -0.0270029902, 0.0632144883, 0.0188773945, -0.0140291108, 0.0104811499, -0.0537959002, 0.0225521624, -0.0392884687, -0.0092181405, -0.0084731299, 0.0296720136, -0.0615425482, 0.0444864929, 0.0579847321, 0.0432984568, -0.016769791, -0.0232245978, -0.0161444619, -0.0252594538, -0.0334556475, 0.0166568346, 0.0313982293, 0.0261559505, 0.0199130382, -0.0019390071, 0.0401306003, -0.0006089468, 0.0012013768, 0.0467772745, 0.0186701622, 0.0012916231, 0.017211115, 0.0396768898, 0.0288384221, -0.0094111413, -0.0178244412, 0.0423905067, -0.0073171691, -0.0630145893, -0.020079501, -0.0334687941, -0.0061953487, 0.0219124481, -0.0596559383, -0.0446237586, 0.0739650875, -0.0183809549, 0.0004613164, 0.0446796827, -0.0292178821, 0.0084764827, -0.0459599011, -0.0639958531, -0.0339918174, 0.0209533107, 0.0180649534, 0.0404702723, -0.0440414734, 0.0033707398, 0.0158849955, -0.0532291085, 0.0232091974, 0.0269809794, 0.0019949174, 0.0080599878, -0.028656194, 0.0176727641, 0.0500167869, -0.0612562411, -0.0062292023, -0.0538603701, -0.0180708282, -0.0168904345, -0.0370109193, 0.0147469686, 0.0382510424, -0.0260013882, 0.0550664887, -0.0006258, -0.0505665839, -0.01471054, -0.007543839, 0.02318695, 0.0071590296, -0.0046125012, 0.0217093211, 0.0082428167, -0.023734685, -0.0127583984, 0.0724232718, 0.0477620549, -0.0196666326, -0.0198304597, -0.0202897601, -0.0539797284, -0.0112877944, -0.0380826965, -0.0477281474, 0.0113124633, 0.0276366826, -0.0257564411, 0.0077534816, 0.0449205376, 0.018790558, 0.0151231866, 0.0746340305, -0.0331386924, -0.0480579138, -0.0706875771, 0.0093866158, -0.03719946, -0.0372475162, 0.019343283, 0.0225949995, 0.0033927562, 0.012004504, -0.0290275514, 0.0442439616, 0.0224391948, -0.0133521426, 0.0049598203, -0.0560266413, 0.0192381404, 0.0295101646, -0.0402526408, -0.0235054009, 0.0662579834, -0.0164365862, 0.0427375585, 0.0083991336, -0.0236996245, -0.0153246084, 0.0096011683, 0.0236407351, 0.0051379758, 0.0123642795, 0.0017341513, 0.0220725983, -0.0096552428, 0.0422582142, -0.0336486623, -0.0027776258, 0.0550862029, 0.0176443495, 0.0065443669, -0.0341271013, -0.054483287, -0.0654842034, 0.0139975538, -0.0008216869, 0.0039060935, -0.0290710628, -0.0781036392, -0.0075470544, 0.0138278957, 0.0157548487, -0.0288277976, 0.0008859545, 0.0236285571, 0.0560409017, 0.0156548824, 0.0360526592, 0.0648142919, -0.0134711675, -0.0210878421, 0.0734638199, -0.0429195054, 0.0073002898, -0.0484184846, -0.0706464127, -0.0303993206, -0.0221239664, 0.0394785218, -0.0428471789, -0.0158820692, -0.0114965849, 0.0062525575, 0.0939631313, 0.0145655833, -0.0512448475, -0.0318907797, -0.007603135, -0.0138160409, 0.0466772467, 0.0059234016, -0.0821241811, 0.01317262, -0.0320090801, -0.0013364378, -0.0091789234, -0.0289075691, -0.0090267509, -0.0774294287, 0.0294130445, -0.0382134803, -0.0324733183, -0.0515430756, -0.1065476909, -0.0002127849, -0.0131388316, -0.0062188092, -0.0162346251, 0.0551911779, -0.0056800358, 0.0266840234, -0.0408364683, -0.0413153656, 0.0187344924, -0.0203032028, 0.0295886584, 0.0094743343, 0.0300466008, -0.0201753434, -0.0388616696, -0.0107070068, -0.0017680944, -0.0580397248, 0.0078540593, 0.1380764693, -0.0446772203, 0.0165132433, -0.00211559, 0.0061203623, -0.0263130683, -0.0232551582, -0.0257163905, 0.0552217886, -0.0037689125, -0.0476073883, -0.017300427, -0.0082785096, 0.0394854173, 0.0444567092, 0.0335087739, 0.0199340582, 0.0257541928, -0.0157049056, 0.0128059015, -0.0232034624, -0.041481737, 0.0005653768, 0.0578742251, -0.0743173435, -0.0667824224, 0.0113163255, -0.0538918227, -0.0068765553, -0.0567677915, -0.0623382255, 0.0827817246, -0.0267348439, -0.0349519253, 0.0245816689, -0.0264769625, 0.0179332476, -0.0244049169, 0.0116025358, 0.0484808311, -0.0028408335, -0.0328738689, 0.0026553387, -0.0644693747, -0.0296032541, -0.0140525363, 0.0344794467, 0.0201959386, 0.0308427643, -0.0391323939, -0.0147851501, 0.0222757738, 0.0324833728, -0.0256217401, -0.0237478539, 0.0304297078, -0.0319890566, 0.0068806033, 0.0019995251, 0.0048698587, 0.069493413, -0.0126935486, -0.0343650989, -0.0523868799, -0.0181693248, 0.023106385, 0.0159869734, 0.0803293511, 0.0461141132, 0.0203162022, -0.0480644703, -0.0175594892, -0.0163429435, 0.0196224507, -0.0102032879, 0.0050848457, 0.0239229742, -0.0143154254, -0.0191807617, 0.001965526, -0.0202913545, 0.0283087678, -0.0209530275, -0.0074767685, 0.0059377658, 0.0357191861, -0.0179056153, 0.032790754, -0.0461676568, -0.0184964314, 0.0372453667, 0.0177598447, -0.0204295833, 0.0235206243, 0.0196587536, -0.0168406237, 0.0508208275, 0.005285006, -0.0929963663, 0.0089816758, -0.0330953933, 0.0134770283, 0.0274389181, 0.0134077687, 0.0187525228, -0.025254285, -0.0224425029, -0.0043786587, 0.0245281886, 0.0256097037, -0.022919666, 0.0297811888, 0.01428652, -0.0476627089, 0.0363587476, 0.0369489454, -0.0561339334, 0.0042829877, 0.010244268, -0.0680465624, -0.0235484354, -0.0420971587, -0.0516878106, 0.0331950709, -0.0087864092, -0.0163176805, -0.0090916352, -0.0596141443, 0.0431260504, 0.014246433, 0.0414077528, 0.0238729734, 0.0096901907, 0.0425300263, 0.0322367363, 0.0561507344, -0.0295945667, -0.0136105409, -0.0335904658, -0.0174687691, -0.0094887139, -6.347942797e-33, 0.0396599174, -0.0459055677, -0.0415643752, 0.0445576236, -0.0116673922, 0.0454574637, -0.0294589028, -0.0141001465, -0.0470473804, 0.0323644429, 0.0366246216, 0.0405913927, -0.0066491333, 0.0113158496, -0.0561004169, -0.0130615095, 0.0475148298, -0.0036289641, -0.0095711583, 0.0147233419, 0.0362000056, -0.025190156, 0.0248247832, -0.088766627, 0.0127567388, 0.0033553138, -0.0091741597, 0.0264716484, 0.0139217013, 0.062728174, -0.0293685794, 0.0694486499, 0.0514098741, -0.0461581349, 0.0379632041, 0.0418528393, -0.0821213797, -0.0199050773, -0.0325847901, -0.0256636031, -0.0463360697, 0.0040713539, 0.0441325456, 0.0053407839, 0.0083302213, -0.0334458016, 0.0368645489, -0.001345852, 0.0117632393, -0.0189558491, -0.0242797248, 0.0141664045, -0.0065859659, -0.0136188995, -0.0476460755, 0.0770675987, 0.0532861948, 0.038418822, -0.0757211968, 0.0000562136, -0.0802110881, 0.0164560974, 0.023169633, -0.0499457642, -0.0414416008, 0.0579669513, -0.0125541668, 0.0399609841, -0.0645533949, -0.0160563271, 0.0042882292, 0.0252502766, 0.1105034128, 0.1026195362, 0.0452549346, -0.0653018355, -0.1390112042, 0.0225279126, 0.0599655956, 0.0259863231, 0.0394079834, -0.0359019041, 0.0279537458, 0.0153815756, -0.0195958018, -0.0243246332, -0.0464020483, -0.0399003364, -0.0548038669, 0.0170659758, -0.0242882408, 0.0511901006, 0.0195515975, -0.0629309788, -0.0067910701, 0.067190282, -0.0050692381, 0.0165405329, 0.0248376541, 0.0380285382, -0.0450225882, 0.0551224276, 0.0081893541, 0.0245756377, 0.0238225255, 0.0057709091, 0.0933107138, -0.0020776913, -0.0380719379, 0.0102580953, -0.0579671934, 0.0370321274, -0.0350753516, 0.0451625362, 0.0155533049, 0.0269146077, -0.0068889381, 0.0243631825, -0.0277864281, 0.0500467308, 0.0084794573, 0.0026100152, 0.0112071326, 0.013649906, -0.0319018289, -0.0185409989, -0.0262209047, 0.0249804314, -0.0101717832, -0.063942194, 0.0120489132, -0.002862755, 2.64e-7, 0.023521876, 0.0491655059, 0.0142539954, -0.0116865737, 0.0431390852, 0.0043644127, 0.0222367421, 0.0431318171, 0.0021210057, -0.0830893889, -0.025431186, 0.0440768339, 0.0243884157, 0.041686058, -0.0580026247, -0.0229714978, -0.1017152295, 0.003000899, -0.015243534, 0.0192593541, 0.0265220664, 0.0783402175, 0.0190071035, -0.0061194133, -0.0052432474, 0.0144451167, 0.0800070465, 0.011709135, -0.0149585139, -0.0109802186, 0.0211587735, -0.0344261341, 0.0071313139, 0.0001366149, -0.0260577202, -0.0026190784, -0.0083455071, 0.0350040086, 0.0126992585, -0.0388790481, 0.0170411766, -0.0069228243, 0.043902114, -0.0120393429, 0.0433275662, -0.0917510018, -0.0424179547, -0.0858948454, -0.0702920035, -0.0007881261, 0.0878190324, 0.0138449483, -0.0191356726, 0.0240314193, -0.0165340006, 0.011769142, 0.027518779, -0.0675431564, 0.0077425493, -0.0291642603, -0.0536075868, -0.0260454267, 0.0200703125, -0.045066759, 0.0589060411, 0.0258974191, 0.0579400212, 1.804241828e-34, 0.0402928181, -0.0120043354, 0.0052206866, -0.0493332483, 0.0511573702, 0.0108720278, -0.0176156368, -0.0367624946, 0.0266691856, -0.0305445455, -0.0039748233 ]
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.0194048882, 0.105268389, 0.016917143, 0.0338559076, -0.0088402526, -0.016933253, -0.0231300443, 0.0286793765, -0.0141638964, -0.0355530046, -0.0024103792, -0.056373518, -0.0068365512, 0.0309298895, 0.014680176, -0.0134920664, 0.0307616405, -0.0365128405, -0.0009308897, -0.004315231, 0.0032435232, 0.0257426351, 0.0219606627, 0.0210540406, -0.0088666398, -0.0233566966, -0.0235219281, 0.0173706058, -0.0112902252, -0.0065472079, 0.003134646, 0.0534521118, 0.0157306772, 0.047419697, 0.0000021938, -0.0289730038, -0.0573534966, -0.0069185644, -0.0057125674, 0.0588600673, 0.0379500613, -0.0700961128, -0.0354554579, 0.0281213988, -0.0294777639, -0.0165959969, 0.0412255712, -0.0234648436, 0.0586578064, 0.0768729597, -0.0262915175, 0.0068613174, 0.0023803222, -0.0080297543, -0.0116122561, -0.0331487842, -0.0044143577, 0.0336714014, -0.0010373589, -0.0000858816, 0.0053188815, 0.0149811534, 0.0007574734, 0.005762761, -0.0094397077, 0.0271038562, 0.0023733012, -0.0385169163, -0.0469360799, 0.0595805794, 0.0086300215, -0.0569822565, 0.0120312702, -0.0112069165, -0.0273684282, -0.0105211511, -0.0205225963, 0.0837309361, -0.0199072808, 0.0400162563, 0.0464189425, 0.0251144096, 0.049491778, 0.0038524824, -0.0413484462, 0.0526266545, 0.0357913896, -0.0509146526, -0.0278753582, 0.0067148111, -0.0014090537, -0.044252634, 0.0243669376, 0.0194185246, -0.0351153463, 0.0135490494, -0.0947760418, -0.0541272536, 0.021003712, -0.0317142047, 0.0523542278, 0.0553139783, 0.0404775292, -0.0013936406, -0.0139681837, 0.0420082286, -0.0409377888, -0.0205998886, -0.0564860478, 0.0142913107, 0.0083796233, -0.0277636088, -0.0676517338, 0.020114148, -0.0593105294, -0.0460097976, 0.002661976, 0.0560515039, 0.0426972508, 0.020610502, 0.0021096892, 0.0023495101, -0.030155817, -0.0274163671, 0.0467259623, -0.0147012388, -0.0116017461, -0.0204825681, 0.010103914, -0.0237452891, -0.0160236191, 0.0535609424, 0.0131753478, -0.0029518057, -0.0312976949, 0.0721037462, -0.0173517801, -0.0017852428, -0.014521569, -0.0453920886, -0.0040674955, -0.029778501, -0.0127907004, -0.0674885139, 0.0071230214, 0.001313189, -0.0000565746, -0.0414756052, 0.0402203724, 0.0095879827, -0.0049419762, 0.0484878086, -0.0489001498, 0.0022508795, 0.0120896567, 0.0182813052, 0.0375952087, 0.0778979063, 0.050475806, 0.0452040844, 0.0262038354, 0.0129718222, 0.0009202952, 0.0918527097, 0.0283252075, 0.0118641937, -0.0460427925, -0.0272924863, 0.0379144326, 0.0294110309, 0.0681912377, 0.0679167509, -0.027481107, 0.0349042155, 0.0321360901, 0.0262800138, -0.0115713049, 0.0406380482, 0.039784696, 0.0327008665, -0.0083313677, 0.020126272, -0.0147032272, -0.0148478188, -0.0204246081, 0.0223013163, 0.0418585613, 0.0190560333, -0.005269194, -0.0033094459, -0.0216952711, -0.0183909833, 0.0298749357, -0.0265279058, 0.0234149192, 0.023831347, -0.0812682286, 0.0962380469, 0.0150434989, -0.0688158199, 0.0035472065, -0.0283675138, 0.008580761, 0.0799184889, 0.0724905953, 0.0065730345, -0.015593145, 0.029522175, -0.0057921163, 0.1024133191, 0.0232094452, 0.004491922, 0.0002137415, -0.0741345212, -0.0181903131, 0.0343352817, 0.0130128004, 0.0206665006, 0.0483587161, -0.0072452771, 0.0301869884, -0.0363433026, -0.0527299494, 0.0402819738, -0.063068144, -0.0631154627, 0.0056543625, -0.0088889729, -0.0111206919, 0.0154371615, -0.0274796523, 0.0366827622, 0.0339039378, -0.0564360507, 0.0057592606, -0.0189214647, -0.0589862131, -0.0163140502, 0.0307214316, -0.0094993254, 0.0040916428, 0.0314814597, 0.0119206803, -0.0358031318, -0.0118014282, -0.035656862, 0.0737620816, -0.0379871503, 0.0274905041, 0.0223590247, -0.0047473027, -0.0313123539, 0.0300062653, -0.0311079007, -0.0098745832, 0.0365286134, -0.0174539704, -0.0075972355, -0.0155471032, 0.006231091, 0.0156368185, 0.0057317032, 0.0297150798, 0.0089930175, 0.0725023896, -0.0046450659, -0.0376676321, -0.0581524409, 0.0209834035, -0.0200412814, 0.0290477946, 0.0146607561, 0.0214680769, -0.0170392636, 0.0206140075, -0.0397223867, -0.0083430149, 0.0111736609, -0.0221915096, 0.0033001911, 0.0154609885, -0.0256291274, -0.0096820565, 0.0072692242, 0.0137547953, 0.0200602189, 0.0171662159, -0.0251778085, -0.069205001, 0.0565088987, -0.0002358415, 0.0138499402, 0.0084358202, -0.0229457617, 0.0121713439, -0.0286109913, 0.0444411188, -0.0217555985, -0.0012114106, 0.0010695248, 0.0570818447, -0.002159006, -0.0471373722, 0.0049576564, -0.0096212113, -0.0174026601, -0.0197902806, -0.0660214052, 0.0332202762, 0.0746080577, 0.0136289326, 0.0210156981, -0.0888600871, 0.0029981423, -0.0047566351, -0.0250585321, -0.0218121521, -0.0181516036, -0.0330157019, 0.0539864823, -0.0365697742, -0.0659226477, 0.0262285564, -0.0753363445, 0.0071163289, 0.0031847544, 0.0100519117, -0.0411174633, 0.0524756834, 0.0009165131, 0.0438389704, 0.015768338, -0.0190602057, -0.0114532029, 0.0521937236, 0.001711912, -0.051411476, 0.0210667327, -0.0461346395, 0.0242956989, -0.0274140481, -0.0381498933, -0.0647219419, -0.0218191613, -0.0016647609, -0.0000958025, 0.0667378083, -0.0650137067, 0.0026071977, 0.0081935013, -0.0219712351, 0.0400361829, 0.0014118827, 0.0000726322, -0.0360634215, 0.0492282957, 0.0537495092, -0.0005658384, 0.0042624949, -0.0484476015, 0.0150410198, 0.0555448197, 0.0164655056, 0.0163906645, -0.0041152453, 0.0074079703, 0.0529481843, 0.0160443336, 0.0077442406, 0.0384942554, 0.0370889716, -0.0311390329, -0.0402361639, 0.1159633622, 0.0582617037, -0.0539191887, 0.0021631136, -0.0385051221, 0.0745375231, 0.0115637966, 0.0242006425, -0.1084995717, -0.0285740178, 0.035870336, 0.0563612357, 0.0047241268, -0.0011308105, -0.0433690548, -0.1085303277, 0.0260014199, 0.0604144037, -0.0234367494, 0.0131606394, -0.0148242833, -0.0613854341, 0.0341394469, 0.0063365498, 0.035458874, 0.0030187266, -0.0029251082, 0.0286068339, -0.0130584138, -0.0166565534, -0.0259711184, -0.0148637993, 0.0635210276, 0.0532011054, 0.0072810496, 0.0079499064, -0.0124243042, 0.0363793522, 0.0180100016, -0.0160657559, -0.0391075276, -0.0267211888, -0.0049605868, -0.0092685996, -0.0164848436, 0.0225339904, -0.0672312602, -0.0329194404, 0.0072488114, 0.0792680457, -0.0148097575, 0.002273794, -0.0145868715, -0.0194597431, 0.0449447334, 0.0812638104, 0.0291191358, -0.044120755, -0.0170289371, -0.0612731352, 0.0073395981, -0.0957722962, -0.027240755, 0.0028780922, 0.0021379443, -0.0296307188, -0.086490564, 0.0000701594, 0.0033749966, 0.0083909295, 0.0098169884, -0.0083433883, 0.0154616041, -0.0553324632, -0.0884821415, -0.0170099176, -0.0389152467, -0.0100053735, -0.087590158, -0.0454626121, -0.0029507305, -0.0411037505, 0.0145514281, 0.0677611828, -0.0695945024, -0.059414953, -0.0333153903, 0.0391884483, 0.0222649127, 0.0401338786, -0.0206274576, -0.0290365703, 0.0182312261, 0.0672759041, -0.0374898948, 0.0223601479, 0.0262537114, -0.0210235137, -0.0019220582, 0.028150253, -0.0423275828, -0.0164304078, -0.0244324934, 0.0645024106, 0.0062056947, -0.0562628806, 0.048265107, 0.0294852909, -0.0133384811, -0.0806896016, -0.0034033584, 0.0053576566, 0.0018930412, -0.0384808742, -0.0142398225, -0.0414935462, 0.0225274656, 0.0359355472, -0.0365408994, 0.0181550011, 0.0141058341, -0.005037975, 0.0223514438, 0.0057009794, 0.0079163732, -0.0270399861, 0.0071915798, 0.071620971, -0.0285082906, -0.0213574022, 0.0646519139, -0.0328338183, 0.009906359, -0.0336850695, -0.0125317238, 0.0088941548, 0.024880223, -0.0481391698, 0.0125168571, 0.0077371066, -0.0258826613, -0.0407754444, 0.0255831927, 0.0537531339, 0.0068756486, 0.0611302108, -0.0504513532, 0.0108126365, -0.0254166964, 0.0226843879, 0.0164755937, -0.0399856158, 0.0006442642, 0.0192635395, -0.0203379653, -0.0087328209, 0.0800644904, 0.0544418022, 0.0373353325, 0.00000518, -0.0118351877, -0.0625095069, -0.0425411724, -0.0103386845, 0.012239038, -0.0572431087, 0.0034270335, -0.0547873452, -0.0535052121, 0.022645548, 0.0382899083, -0.0086786831, -0.0040883957, 0.0132052787, 0.0109302271, -0.0431884192, -0.0109188156, -0.0333151296, 0.0146508981, -0.0236753598, -0.0380003378, -0.0075701205, -6.480102892e-33, -0.0329889059, -0.0480510481, 0.0169911887, -0.0180694703, -0.0173299834, 0.0180883631, -0.0529449098, -0.0052654981, 0.0816034675, -0.0226821471, -0.0194191709, -0.017540101, 0.0121901967, 0.0289170332, -0.0256019812, 0.041202873, 0.0321770981, -0.0180009548, -0.050030116, 0.0071423594, 0.0332971327, 0.0282920189, -0.0020225788, -0.0134510659, 0.0049175713, -0.0436738245, -0.04079381, -0.0002755644, -0.0031045724, 0.0355214924, -0.0552469641, 0.0280266143, 0.0081969937, -0.00446859, -0.0373933017, 0.0539144464, -0.0618583038, 0.016963087, 0.0225535799, -0.0077683651, -0.0336840898, -0.0723295063, 0.006451793, 0.0136950398, -0.047825627, 0.0305585004, -0.015421045, -0.0388263315, -0.0289840903, -0.0681123659, -0.0620801523, 0.0319292769, 0.0133228749, -0.0147393895, 0.0431055389, 0.012160969, -0.0137128169, 0.0020051312, -0.0056332783, 0.0352275819, 0.0467239656, 0.051475428, 0.0682919845, 0.0404160954, 0.0050435308, 0.0427806228, -0.0158588775, -0.0282312054, -0.035252206, 0.0184531864, 0.0247978792, 0.011109964, -0.0200511888, 0.0388773419, 0.0502976812, -0.0308252219, -0.061146941, 0.0470819846, -0.0475148335, -0.0162006896, 0.0298146959, 0.004440411, -0.0418590009, -0.0239940006, -0.0343634002, 0.003191584, -0.0278334003, -0.0047550811, 0.0456240326, 0.0453199819, -0.0454078466, -0.0448846705, 0.0263222549, -0.0239333566, -0.0047013871, 0.0318562835, -0.0191220976, 0.0015599792, -0.0476664491, 0.0369448476, -0.016245503, -0.0404677279, 0.0275420863, -0.0184627324, 0.0252435356, 0.0244823582, -0.0122245634, 0.0334304087, -0.0601970702, 0.012469789, -0.0500359498, 0.0421752259, 0.0218693167, 0.0347809643, 0.053647723, -0.0294305775, 0.0106402952, 0.0268276092, 0.0037409654, 0.0026398636, -0.016498981, -0.0042046015, 0.0007078316, 0.0457385816, -0.032375291, 0.0288036689, -0.0323779099, 0.0237973556, 0.0215526447, -0.0400538482, -0.020363491, 0.0114261732, 2.697e-7, 0.027846761, 0.0767522603, 0.0783194527, 0.0122749703, 0.0278726015, 0.0051453579, -0.0155662475, 0.0364812724, -0.0585200638, -0.0267661382, 0.0159937609, 0.0292336103, 0.0758241639, 0.014867832, -0.0933409482, 0.0533961616, -0.0351771191, 0.0205471627, -0.0474838167, -0.0143634565, 0.0745685697, 0.0641884953, -0.043902725, -0.0152333118, 0.0281168427, -0.0475590676, 0.0587717518, -0.0225095674, -0.0062279957, 0.0062483172, -0.0167116635, 0.0140689015, -0.033629667, -0.0229065344, -0.0163027085, -0.0008168142, -0.0049527362, 0.0951628238, 0.0164528266, 0.0129001075, 0.0298873577, -0.0260685571, -0.0187192578, -0.0112623293, 0.0342577957, 0.0215873681, -0.0000228444, -0.0281358678, 0.0058136382, 0.0040535191, -0.032757096, -0.0351332426, -0.011696673, 0.027048761, 0.0229138806, 0.0095207533, -0.0098489681, -0.0398403518, -0.0626459643, -0.0392617024, -0.0572615638, -0.0315707438, -0.0530851372, 0.0408536457, 0.029879516, -0.0570010766, 0.0210724715, 3.038329636e-34, 0.0152502311, 0.0018171356, -0.0028436065, 0.0547300018, 0.0164929051, -0.0085043097, -0.0105441939, 0.0307466704, -0.002669475, -0.0777039975, -0.0121075753 ]
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.0044862661, 0.0378734805, 0.0124201113, 0.0386408791, -0.0103865657, 0.0223354716, -0.0038878669, 0.0120641226, -0.0323611163, -0.0367604308, -0.0520776324, -0.0055812178, 0.0159113109, -0.0261936635, 0.0227668472, -0.0108282715, 0.0491887964, -0.0219040085, -0.0174801536, 0.0011559902, -0.013361685, -0.0033548165, -0.0088091241, 0.0023374895, 0.025053177, -0.0110643189, -0.0276721157, 0.0186532922, 0.0389465168, -0.0277968459, 0.0337724015, 0.0332474262, 0.0094005838, 0.0202623941, 0.0000020865, -0.0466282889, -0.0093184458, 0.0096964603, -0.0402815603, 0.0377932079, -0.019008249, -0.0047012293, -0.0109513346, 0.0155893862, -0.0153617067, 0.0258151721, 0.0467424914, 0.021807557, 0.0514416248, 0.1245738938, 0.0185395479, -0.0462408289, 0.0455490574, -0.0298482403, 0.046407856, -0.0225370992, 0.008211392, -0.0233760457, -0.0067700045, 0.0280546192, -0.0153178237, -0.0097506857, 0.0279399939, 0.0356510766, -0.0060857702, 0.0182806049, -0.0196560398, -0.0152286123, 0.0045367386, 0.0734265819, -0.0016904752, 0.0164859481, -0.003230853, -0.0231195129, 0.0036914055, -0.0459068641, -0.0229525678, 0.0197183248, -0.0147058815, 0.0373832174, 0.0135655729, -0.0140590109, 0.027072873, -0.0244604778, -0.0029800518, 0.0695816576, 0.0079999836, -0.036890205, 0.0144993039, -0.0087713385, 0.004200235, -0.0190780237, -0.0479337871, 0.0509347096, -0.0183250699, 0.0182537064, -0.0505308583, 0.0390392207, 0.0492772311, -0.0034676641, 0.0831672475, 0.0490729809, -0.0215656552, 0.0182295796, -0.0631199703, 0.0637157336, -0.0108746281, 0.0858696327, -0.0338803641, 0.0359163359, -0.0505452231, 0.0496648103, 0.0279465858, 0.0377008393, -0.0488463193, 0.0233821962, -0.0722986534, 0.0050830892, -0.005175163, 0.041506473, 0.0229053088, -0.0177857727, -0.0359977409, 0.0251507927, -0.0632473379, 0.023085285, -0.0364712551, 0.0076446319, -0.0035039731, -0.0590231866, -0.0362904966, 0.0166120231, -0.0417894311, -0.0313675851, 0.0562812537, 0.0746063963, -0.0177753121, -0.0488768704, -0.0559851378, -0.0138781238, -0.009462527, -0.1008733809, 0.0618331619, -0.0568857417, 0.0539221093, -0.0115255723, 0.0027685771, -0.0153875304, 0.0256769955, 0.0156760216, -0.0088206222, 0.059800528, 0.0115597611, -0.0151757719, -0.0181001183, 0.0137369372, -0.0148845892, 0.0556086302, 0.032400839, 0.0304897167, 0.0189739633, -0.0133761028, -0.0031717564, 0.0221560895, 0.0177645124, 0.012435751, 0.0287583731, 0.0309082326, 0.0121670496, 0.0338726342, 0.0667829961, 0.0039177579, -0.004649288, -0.047921136, 0.0385487303, 0.0039638528, 0.0287039336, 0.0014065383, 0.0461923704, -0.0059355758, 0.0189810153, 0.0334640034, -0.0920231268, 0.0501904003, -0.0187051091, 0.0474034138, 0.0196526106, 0.0522649102, -0.0296985041, -0.0664106309, -0.0123833707, -0.0209257156, -0.0362507701, 0.0138876755, 0.004056857, -0.0463151261, -0.0689211339, 0.0452135988, 0.0489367917, -0.0110522434, -0.0461458713, -0.075291723, 0.0408562608, 0.040784467, 0.0052914652, -0.0301320776, -0.0652778298, -0.017605681, -0.0066097439, 0.0294323638, 0.0217764117, 0.0061726877, 0.0478298664, -0.0643802136, -0.0327033214, -0.0482978374, 0.0042814785, 0.0128909834, 0.0517333932, -0.0004070057, 0.0200685784, -0.0133638317, -0.0262103286, 0.053910926, -0.0146771064, -0.0824074745, -0.0414576605, 0.0210667942, 0.0448003151, 0.0011085928, 0.0029949385, -0.0088816024, 0.0540804975, 0.0019654301, 0.0415570624, -0.0791273266, -0.0621722341, -0.0373139046, 0.0572504438, -0.0211309791, -0.0174923372, 0.0153548513, -0.0766313747, -0.0427671783, -0.0525476001, -0.0294173583, -0.0014972091, 0.0028429935, 0.0273629334, 0.0001735334, -0.0022068941, -0.0499524772, 0.0354839303, -0.022716485, 0.0168848224, 0.0100122122, -0.0141644925, 0.0123009169, -0.040194124, -0.003641343, 0.0126764979, 0.0025170969, 0.0095483838, -0.0069286488, 0.0553730056, -0.0577462055, -0.0563176796, -0.0564863943, 0.0426925495, -0.0167239308, 0.0417943336, 0.0293737371, -0.0315846652, -0.0232275091, 0.0128042875, -0.0304370299, -0.0082345977, -0.0192085747, 0.0079874909, 0.0417899638, 0.0278604608, -0.0455666035, -0.0568694398, -0.0145190973, -0.0009662933, -0.0170837268, -0.0274482947, 0.0195002407, -0.0438184403, 0.0264481381, -0.0384524763, 0.0094229272, -0.0265844632, -0.0719863176, 0.0244184695, 0.0159620885, -0.0189070143, 0.0933633074, -0.0212651305, 0.0227133948, 0.0375081785, 0.0209448468, -0.0647243485, 0.0403244495, -0.0288940091, -0.0602261797, -0.0554400682, -0.0303629655, -0.0082903607, 0.070073016, -0.0109639931, 0.0097732339, -0.0567260869, -0.0167845022, 0.0436313525, -0.0043895259, 0.0483478606, 0.0343356468, -0.0366689935, 0.0005770235, -0.0377574451, -0.0878263637, 0.0744434744, -0.0291983783, 0.0026688983, -0.0420804508, -0.0112366593, -0.0468561277, 0.0090772491, 0.0134054404, 0.0007371277, -0.0195059273, 0.0066308943, -0.058503598, -0.0069445991, 0.0214755982, -0.0385103114, 0.0772866011, -0.0303010922, -0.0238368567, -0.0418924429, -0.0427230634, -0.0262970012, 0.022645643, 0.0108166644, 0.009976577, 0.0163065922, -0.0364720672, -0.0441546515, -0.0475098416, 0.0322396494, 0.0115371691, -0.039906472, 0.0033866928, -0.0499912687, -0.0284388941, 0.0328749046, 0.0057694665, 0.0106122419, -0.0412763394, 0.0109144431, 0.044186838, 0.0210515969, -0.0232203975, -0.0400491469, 0.0124652404, 0.0229912605, -0.0594660752, -0.0252354611, 0.0591164157, 0.1017672271, -0.0422857217, 0.0121554006, 0.0970808864, 0.0063184341, -0.0218003895, -0.0059486586, 0.025778152, 0.0349176303, 0.0339303687, 0.0250637159, -0.0480112396, -0.0386813208, -0.0137539096, 0.0568286777, -0.0007705615, -0.0049923803, 0.0024190845, -0.1012789011, 0.0211449433, 0.0389198549, -0.0376345553, -0.0513301156, -0.0389785804, 0.0047192057, -0.0172169879, 0.0293086711, 0.0150567126, -0.0432939567, -0.0019285224, 0.0241183601, 0.0017022296, -0.0376971327, 0.0489435457, -0.0182597712, 0.0632440224, 0.0566364489, -0.0049610855, 0.0160082653, -0.060897328, 0.0366456695, -0.0327266306, 0.0348909758, -0.0064917044, 0.0627788529, 0.0011459653, 0.006750592, -0.0039356453, 0.035574764, 0.0006164651, 0.0156610087, 0.0072504655, 0.0617979541, -0.0161819365, 0.0189277548, -0.0205736086, -0.0217956528, -0.0102275657, 0.0431679413, 0.0305098351, 0.0004303312, -0.0481991842, -0.0288368203, -0.0248277318, -0.0586727969, 0.0085521378, 0.0387963802, -0.051890891, 0.0125291506, -0.0476456285, -0.0635055229, 0.0184728149, 0.039642293, -0.002314186, -0.03447631, -0.0199261233, -0.0107861031, -0.0321966186, 0.0575593375, -0.0285845995, 0.0153044229, -0.1137375236, -0.0366099663, 0.0218370426, 0.0088825822, -0.0034667801, 0.0257903021, -0.0792740285, -0.0719650835, -0.0079143532, 0.0941977277, 0.0229178108, 0.073004514, 0.0175602604, 0.0064849108, 0.0357077233, 0.0251501109, -0.0161436144, 0.0316999443, 0.049988851, 0.0086650597, -0.0137337744, 0.009602163, -0.0294329934, 0.0210423488, 0.0359655395, 0.0190739539, -0.0286041629, -0.0477055535, 0.0141436886, 0.0260344073, 0.0566582121, -0.0264127702, -0.000420235, 0.0108262319, 0.0437275656, -0.0001586719, 0.0383137502, -0.0165295955, -0.0216062032, 0.0178694278, -0.028815886, 0.0136305606, -0.0105729485, -0.0115147661, 0.0451216064, -0.055952765, 0.049409844, -0.0215447284, -0.0067152572, 0.0086537972, 0.0190504212, -0.0330095291, 0.0350165963, 0.0173128787, 0.047652591, 0.0245774258, 0.0582554117, 0.0063050673, 0.0658642873, -0.0282734428, 0.0320243575, -0.0298015103, -0.0070333355, -0.0619626865, 0.0098231919, 0.0563733466, -0.0082709026, 0.0265321713, 0.0122395689, -0.0163623821, -0.0189536884, 0.0306454077, -0.0378430001, 0.0166504811, 0.042512279, 0.0525904968, 0.0012407772, -0.0242712963, 0.075387612, -0.0014791898, 0.0638488233, -0.0007591544, 0.0307993945, -0.052208975, -0.0556199066, 0.0162059385, -0.0097100502, 0.0113134235, -0.0247697663, -0.0343592651, -0.0392714441, 0.0036576912, 0.0284967255, -0.0092552742, -0.0216454025, 0.0522391498, 0.0144028729, -0.0179937854, -0.0495004952, -0.0070342678, -0.0369829945, 0.014134109, -0.0197122861, -0.0089075435, -6.466689032e-33, -0.0495861769, -0.0046552327, 0.0433855169, 0.0080631301, -0.049206946, -0.0107636349, -0.0084580351, -0.0209452752, -0.0297304355, -0.0038904159, -0.0041408069, -0.0203795731, 0.0204388071, -0.0104292175, 0.0196527522, -0.0520125516, 0.0302962009, -0.015334852, -0.0423590951, 0.0034568566, 0.0018733158, -0.0114905713, 0.0584919117, -0.0507009886, 0.0124177355, 0.0172523558, -0.0104437582, -0.0012582147, -0.0740892962, 0.0942121223, 0.0176838208, 0.0231612939, 0.0026665097, -0.0249643512, -0.013889675, -0.0446698628, -0.0521592125, -0.0402068198, 0.0184716228, 0.0033854716, -0.0155912871, -0.0798480213, 0.0478625335, -0.0002784003, -0.053499382, -0.0667095929, 0.0222145319, -0.035607107, -0.0278962124, -0.0286160223, -0.0380118228, 0.0109772906, 0.0049870284, -0.0277752616, 0.0067874971, 0.0188284609, 0.0330807976, 0.0305146202, -0.0590538383, 0.0060370322, 0.0273865331, 0.0671607405, 0.0677281544, 0.0206845514, 0.0116811879, 0.0200472027, -0.0073067169, -0.0133699849, 0.0135439122, -0.0076536699, -0.0061005172, 0.0797563568, 0.0332849436, 0.0149455853, 0.039526578, 0.0101727881, -0.0832194984, 0.0457500033, -0.0033628773, 0.0426846743, -0.0169971362, 0.0085166218, -0.0694593862, 0.0080891345, -0.0314224325, 0.0260739345, -0.0105160726, -0.0239737928, 0.027457526, 0.0244276803, 0.0143395616, -0.0014398011, 0.0205568299, 0.0026575844, 0.0149745103, -0.0161958393, -0.0213531703, 0.0153927794, 0.0050642537, -0.0039061161, -0.0372897796, -0.0677690282, 0.0193261057, -0.0326805785, 0.0545114391, -0.0137106096, 0.0331730843, 0.0326719023, -0.0746050179, -0.0011402098, -0.0400399528, 0.033737354, 0.0141274789, -0.0282415003, 0.0161899887, -0.0208621211, 0.0021713986, 0.0734242052, -0.0244527794, -0.0038356602, -0.0136288637, -0.0318986587, 0.0084020365, 0.0506883636, -0.0160438009, 0.0430633388, -0.0014818889, 0.0109107187, -0.0354981758, -0.0352783538, -0.0207795277, 0.0416594036, 2.736e-7, 0.0198008567, 0.0361734889, 0.0457094498, 0.0491868816, -0.0091707697, 0.0378423072, -0.0311993156, 0.0079875169, -0.0142339198, -0.0447590463, 0.0204065852, 0.0401452258, 0.0499994941, 0.0114711663, -0.0524395071, 0.0176123902, -0.0176858772, 0.0198241975, -0.0701267943, -0.0052509923, 0.0452680625, 0.0887458101, 0.0071052117, -0.0033314202, 0.0153974183, 0.017103985, 0.0381425731, -0.0391256064, -0.0099282041, 0.0274278447, 0.045884572, -0.011587223, -0.0185009968, 0.00291589, -0.0150986258, 0.0120332586, -0.0418755636, 0.1126093343, 0.0104784621, -0.0668649152, 0.0319454968, -0.0239703152, 0.0197838005, -0.0371354185, 0.0674815848, -0.0260715745, -0.0042117424, 0.015076193, -0.029749997, -0.0266900733, 0.0378353111, -0.0155458357, 0.0322008543, 0.0286157727, -0.0014103808, -0.0369780585, -0.0175012536, -0.0594514422, -0.025452612, 0.0384237692, -0.0334737636, -0.0557832569, -0.0518336855, 0.0190507229, 0.0209442619, -0.0596647374, -0.0468930826, 2.713709295e-34, 0.0027298471, -0.0693109855, 0.0409447923, 0.0240180567, 0.0146580748, -0.003933324, -0.0388028249, 0.0216191709, 0.0122192744, -0.043683093, -0.011728649 ]