id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.10965v1
http://arxiv.org/pdf/2406.10965v1
DocNet: Semantic Structure in Inductive Bias Detection Models
2024-06-16T14:51:12
2024-06-16T14:51:12
Jessica Zhu, Iain Cruickshank, Michel Cukier
cs.CL
cs.CL, cs.SI
News will have biases so long as people have opinions. However, as social media becomes the primary entry point for news and partisan gaps increase, it is increasingly important for informed citizens to be able to identify bias. People will be able to take action to avoid polarizing echo chambers if they know how the news they are consuming is biased. In this paper, we explore an often overlooked aspect of bias detection in documents: the semantic structure of news articles. We present DocNet, a novel, inductive, and low-resource document embedding and bias detection model that outperforms large language models. We also demonstrate that the semantic structure of news articles from opposing partisan sides, as represented in document-level graph embeddings, have significant similarities. These results can be used to advance bias detection in low-resource environments. Our code and data are made available at https://github.com/nlpresearchanon.
[ 0.015459287, 0.0221793819, 0.0235215537, 0.0461187772, -0.0124549139, 0.0336417221, -0.011276843, -0.0196917355, 0.0451881737, -0.0511270016, 0.0131439054, 0.0254452452, -0.0051575503, -0.02318017, -0.0168237798, -0.0247273315, 0.0529714786, 0.0616230443, 0.0867739171, -0.0530496724, 0.0557287, 0.0431299508, -0.0044350787, 0.0237626415, -0.047671441, -0.0133487275, 0.025009146, 0.027403472, 0.0121759465, -0.0208661444, -0.0031401557, 0.0401075408, 0.0043885531, 0.0723347142, 0.0000015291, 0.0068080025, 0.0091651101, -0.001985224, 0.0075867246, -0.0248633698, 0.0913422406, -0.0521548316, 0.0055951565, 0.0096432427, -0.0092723975, -0.0289127678, 0.0359261148, 0.0379382968, 0.0674787238, 0.0833175778, -0.0095235901, -0.0095870476, -0.0038065691, -0.0002015463, 0.0567451604, -0.0208975989, 0.0362420827, -0.0097676711, -0.0747610703, -0.007063577, -0.0499771796, -0.0243611112, 0.0133149996, 0.0218395013, -0.0253986251, 0.0240338817, -0.0135803651, -0.009281165, -0.0011967138, 0.0539149791, -0.0166560318, -0.0495780297, 0.0175363235, -0.0210408121, 0.0178934708, 0.0376804844, -0.0451075137, -0.0054924614, -0.0192698408, 0.0239171218, 0.0512241051, -0.0088290367, 0.0315381326, 0.0271762554, 0.0003387209, 0.0499011986, -0.0150451614, -0.0244350601, 0.0255027767, 0.0386091992, 0.0371945351, -0.0045824531, -0.0034361491, -0.0307893939, 0.0157819465, 0.0023585253, -0.0378369503, -0.0394603722, 0.0164858848, -0.0710544735, -0.0417279191, -0.0388229974, -0.0153687214, 0.0915416032, 0.0133338058, -0.0495699719, -0.0294937994, 0.0400827788, -0.0003935793, -0.0000605597, 0.0018480048, 0.0392945446, -0.0088746417, -0.0156453047, -0.0001873416, -0.0229727458, 0.0048103807, 0.0040342822, -0.0217399392, 0.0206755996, -0.0019760237, 0.0071358802, -0.0095515791, -0.0464171432, 0.0018939821, 0.0461238213, -0.0414047204, 0.0411195867, -0.0429188311, -0.0043418068, -0.0139445495, 0.0533336699, 0.0016255236, -0.0024446433, -0.0091863722, 0.0323602818, 0.0387219265, 0.0046662581, -0.0229150057, -0.0202311929, 0.0094318157, -0.0425432846, 0.0421421267, -0.0800778046, 0.032915283, -0.0142005011, 0.0128240623, -0.0298573431, -0.0188004449, 0.0187166426, -0.0814687014, 0.0591596775, 0.0102876164, -0.0163056292, 0.0494521894, 0.0072153704, 0.0080427658, 0.1074470729, -0.0080279028, 0.0433262512, 0.0665474832, 0.0036907718, -0.0325187407, -0.0087398272, 0.0393614359, 0.0226577241, 0.0119743655, 0.0126206111, -0.0421196297, 0.001538119, 0.0076248366, 0.0179733131, -0.0254255086, -0.0640146732, 0.0396832228, 0.0338864438, -0.02102191, -0.0301022548, 0.0154427672, 0.025816571, -0.023746457, 0.0126298489, -0.058124125, 0.0228322521, -0.0070087048, -0.0464796349, 0.006502918, 0.029489886, -0.0396923237, 0.0133919632, -0.017314611, -0.016925374, 0.0292923208, -0.0286273323, 0.0147513524, 0.0097305374, -0.0353654921, 0.0446602106, 0.0463287346, -0.0251215659, 0.0211560912, 0.0025209519, 0.0475373678, 0.0113437772, 0.0439791307, -0.0303485207, 0.0237819906, -0.0444673002, 0.0539276786, 0.0151989805, 0.0813795999, -0.0362600535, -0.0391637608, -0.0471454002, -0.0363276415, -0.0071470756, 0.034099225, 0.0445045233, 0.0177980904, 0.0292101074, -0.0019875215, -0.045825392, -0.008526234, 0.0356977098, 0.0399826169, -0.0101687564, -0.0046186824, 0.0262341369, -0.0029981097, 0.0580845252, -0.0203275867, -0.0224032048, 0.019502636, 0.009770792, -0.0293516833, -0.0209825747, -0.0167738497, -0.0233963989, 0.0174167417, -0.096696347, -0.0360385999, 0.0305951033, -0.0520838648, 0.001507319, 0.0569204092, -0.0312255211, 0.0198625494, -0.0007020485, -0.0506383926, -0.0418171324, -0.0014754906, -0.0214571096, 0.0700200126, -0.0250495896, 0.0015872433, 0.0057378248, -0.0282692164, 0.0113701327, -0.0079867831, -0.0294542648, 0.009707137, 0.0248961076, 0.0251839031, 0.0451034568, -0.0511497222, -0.0110141523, -0.0380971804, -0.0481679589, -0.0106677515, -0.0402723253, 0.0150810611, 0.0398604199, -0.01125082, 0.0184472408, -0.0006381613, -0.0430647172, 0.0006131145, -0.0090678027, 0.0384882055, 0.0008311172, -0.0389077552, 0.0187755767, -0.0215936359, -0.0510927476, -0.0543480515, 0.0621620566, 0.0366573296, -0.0317961313, -0.0157026108, -0.0132754175, -0.0088157868, -0.0132905487, -0.0326659158, 0.0090008425, 0.0107097328, -0.0140485838, -0.0269418787, 0.0785243213, 0.0193917099, 0.0680534914, 0.0483959801, 0.0270504747, -0.0532338545, -0.0493862815, -0.0669043809, 0.0693899095, -0.0414627008, -0.0091360658, 0.0100971796, 0.0443684012, 0.0420516208, 0.0099393381, -0.0129092503, 0.0638636649, -0.0404980741, 0.0080400966, 0.0155077148, -0.0412130132, 0.0323849283, -0.020303376, -0.0270597637, -0.0222289395, 0.0502531901, 0.015478041, 0.068474263, -0.0343136862, 0.0024656318, -0.0308353771, -0.0034557302, 0.0295290221, 0.0275622346, -0.0533604026, -0.013554438, -0.0384172313, -0.0197179634, 0.0800174624, -0.0170384068, 0.0239004865, 0.0182754453, -0.0002781573, 0.0016151691, -0.0205698032, -0.0169838984, -0.079361096, -0.0109010329, -0.0051431037, 0.028678041, -0.007676465, -0.031433057, -0.0031384693, -0.0010604673, -0.0135879014, -0.0126701239, 0.0039914525, 0.0091724973, 0.0533850044, -0.0039110226, -0.0522509925, 0.0485620089, 0.0116727045, -0.0127647249, 0.0480936728, -0.0021747758, 0.0495572649, -0.0370953977, -0.0274800044, -0.0313043259, -0.0377690382, 0.0045649279, -0.0659602657, -0.0044494863, -0.0182464849, 0.0513766147, 0.086399138, 0.0173538849, -0.0914587229, -0.0181707963, 0.0110088401, -0.031907253, 0.0467876531, -0.0187014528, -0.1262613237, 0.0042000045, 0.0143850762, 0.0203129333, 0.0190198366, -0.0330274776, -0.00516363, -0.0752506182, -0.0045694048, 0.0247047264, 0.012753143, -0.0082954429, -0.0818122029, -0.0005938311, -0.0424106345, -0.0383410081, 0.0024688421, 0.0313916914, 0.0027669154, -0.0171996653, -0.0520259403, -0.0340559371, -0.0223413333, -0.0266710557, 0.0311894547, 0.0038743876, 0.0545109287, -0.0214117654, 0.0197126959, 0.0706536621, 0.0102753472, -0.063720502, -0.0291426852, 0.0884216279, -0.0577375814, 0.0011597471, 0.0007778739, 0.0650741681, 0.0299881119, 0.0152841648, -0.023401225, 0.0559974909, 0.0112016974, -0.0441196561, -0.0443381369, 0.0037126169, 0.0439876243, 0.0518496521, 0.0226843655, 0.010271702, -0.012626484, -0.0383791663, 0.0231235288, -0.0000458178, -0.0341230705, 0.0239301641, -0.0020101517, -0.0106512886, -0.0236782562, -0.0481482893, -0.0121517479, -0.0069311806, -0.0087926397, -0.028801389, 0.0235750712, -0.0411447026, -0.0462375544, 0.0117513454, -0.0047662896, 0.01110576, 0.0275139529, -0.0355911739, -0.0043992214, 0.0073122522, -0.0493483506, 0.0087878946, -0.0428665802, -0.042479679, 0.0054139225, 0.0013726804, 0.0122163454, 0.055082202, -0.0446827374, -0.0269037168, 0.0593432486, 0.0479665175, -0.0399235077, -0.0156712774, 0.0130027737, -0.0143294688, 0.036660064, 0.037008334, -0.04283664, 0.0432864875, 0.0127831781, -0.0459922887, -0.0434095375, 0.0161704905, -0.0060558273, -0.0022635101, 0.0729333013, 0.0333524533, 0.0289808232, -0.0986894071, -0.0285182111, -0.014086728, -0.0543803573, 0.0285547562, 0.0023963936, 0.0076108761, -0.0300326943, -0.053471908, 0.0112113263, 0.004645729, 0.0435824208, -0.0160243697, 0.0321471542, 0.0302937757, 0.0230634734, 0.0083316583, -0.0005045811, -0.052393768, 0.0324465558, -0.0264348239, 0.0002891601, -0.0189969856, -0.003933853, 0.0085623506, 0.0056064459, 0.0060525783, -0.0366225764, -0.0336289182, -0.009733106, -0.0247507729, 0.0242447779, 0.0048727891, -0.0402926281, 0.0254878718, 0.006222405, -0.0278360937, -0.0014267636, -0.0056726984, 0.0179756414, -0.0257734843, 0.0559058674, 0.0440363772, -0.0365523733, 0.0222343896, 0.0521859229, 0.0108012222, 0.0589513034, 0.0079569453, -0.0619367994, -0.0431165472, -0.0172484238, 0.0313860662, 0.0378512219, -0.021321835, -0.0154276332, -0.0518032126, -0.037876565, -0.0048399479, 0.0228456836, 0.0214611199, 0.0456923991, -0.0192921292, 0.0677254125, 0.0100152073, 0.0234325621, -0.0029967972, 0.0361583158, -0.0878219157, -0.0740895569, 0.0106355129, -5.3736681e-33, -0.0015553656, -0.0241673123, -0.032613162, 0.0220447276, 0.0094932793, 0.0451161675, -0.0101449825, 0.0052430811, -0.0412992612, 0.0745095238, 0.0369639397, 0.0576973744, 0.0046839309, -0.0233051628, -0.0445987247, -0.006358034, 0.0268389415, -0.0333084166, -0.0133851375, 0.0326424502, 0.0052151196, -0.0201258045, 0.0413177051, -0.0782212988, 0.0198161453, -0.0148240877, -0.0017132031, -0.0178982224, 0.0354535282, 0.0363951288, 0.0033550053, 0.028368894, 0.0587162785, -0.0093627507, -0.0040004142, 0.0797675401, -0.0598377399, -0.0450698212, 0.0012969748, 0.0033022505, -0.0160172693, -0.0015051308, 0.0276820473, 0.0241037644, -0.0020823497, -0.0371939279, 0.0552047305, 0.013173895, -0.0180106405, 0.0099911569, -0.0448097363, 0.0497246236, -0.0277927779, 0.0333364047, -0.0164007433, -0.0159300528, 0.0673314035, 0.0504142977, -0.0638875812, 0.0290029217, -0.0856827348, 0.0137817981, -0.0305185113, -0.0694265366, -0.023915384, 0.0829391629, 0.033715643, 0.0421707965, -0.0305810738, 0.0042799315, 0.0026788914, 0.009308272, 0.0470119566, 0.0773170292, 0.0154416179, -0.0545847751, -0.0846863464, 0.0043642195, 0.0847840086, 0.029815156, 0.02382195, -0.0172921736, -0.0334009938, -0.004453429, -0.0240708385, -0.0957095399, -0.0395061299, -0.0178108178, -0.0242423341, 0.0388786271, -0.0239070803, 0.0066980883, 0.003081504, -0.0792425126, -0.0106994212, 0.1183915362, -0.0277471058, -0.0022521513, -0.0078056888, 0.0054763388, -0.0638309568, 0.0009787419, -0.0108133201, 0.0161942281, 0.0272102635, -0.0282839872, 0.067956619, -0.0010971788, -0.0602201521, -0.0030622352, -0.0203849636, -0.0257740617, -0.0015606203, 0.0330100097, 0.0622752532, 0.0104345437, 0.0068904217, 0.0202470198, 0.0216339845, 0.0179901626, 0.0303455256, -0.0453323945, -0.0403132029, 0.0172066223, -0.0441448875, -0.0387499183, -0.0139678139, 0.0128713138, 0.0161692146, -0.0770631656, 0.0073526362, -0.0223854128, 2.299e-7, 0.0329333767, 0.0599845834, 0.0114601273, 0.0100972755, 0.0443892926, 0.0171449296, 0.0303752236, 0.0616195463, -0.065545164, -0.0582794771, -0.0142590543, 0.0341986939, -0.008793842, 0.0336814635, -0.0721131191, 0.0211358257, -0.061880894, 0.0346434899, -0.026250964, -0.0290062558, -0.0076083955, 0.0539440997, 0.0368786342, 0.0043083043, -0.0210416671, -0.0164925605, 0.0537302122, 0.0153725725, -0.0278180651, 0.0014976135, 0.0440025479, -0.0281607453, 0.0135140689, -0.0031698428, -0.0127882399, 0.0207234267, -0.0005994943, 0.0225288551, 0.0086893914, 0.0018833077, 0.0085730692, -0.0278447699, -0.0029807403, -0.030733224, 0.0621592663, -0.0354076326, -0.0282979161, -0.1117242798, -0.0623376928, -0.0216327086, 0.0753371939, 0.0027302846, -0.0067965752, 0.0141117405, 0.0059834109, 0.0123291193, 0.0221427623, -0.0705804825, 0.0015611204, 0.0019211164, -0.0499065146, -0.0397703536, 0.046224568, 0.0501727164, 0.0449976139, 0.0037390802, 0.031281963, 1.566810566e-34, 0.0509921201, -0.010360687, 0.0031524471, -0.0447356254, 0.0292044487, -0.0085562347, -0.0367869847, -0.0351440534, 0.0275423098, -0.0596631952, -0.0037489994 ]
http://arxiv.org/abs/2406.10960v1
http://arxiv.org/pdf/2406.10960v1
ESCoT: Towards Interpretable Emotional Support Dialogue Systems
2024-06-16T14:37:17
2024-06-16T14:37:17
Tenggan Zhang, Xinjie Zhang, Jinming Zhao, Li Zhou, Qin Jin
cs.CL
cs.CL
Understanding the reason for emotional support response is crucial for establishing connections between users and emotional support dialogue systems. Previous works mostly focus on generating better responses but ignore interpretability, which is extremely important for constructing reliable dialogue systems. To empower the system with better interpretability, we propose an emotional support response generation scheme, named $\textbf{E}$motion-Focused and $\textbf{S}$trategy-Driven $\textbf{C}$hain-$\textbf{o}$f-$\textbf{T}$hought ($\textbf{ESCoT}$), mimicking the process of $\textit{identifying}$, $\textit{understanding}$, and $\textit{regulating}$ emotions. Specially, we construct a new dataset with ESCoT in two steps: (1) $\textit{Dialogue Generation}$ where we first generate diverse conversation situations, then enhance dialogue generation using richer emotional support strategies based on these situations; (2) $\textit{Chain Supplement}$ where we focus on supplementing selected dialogues with elements such as emotion, stimuli, appraisal, and strategy reason, forming the manually verified chains. Additionally, we further develop a model to generate dialogue responses with better interpretability. We also conduct extensive experiments and human evaluations to validate the effectiveness of the proposed ESCoT and generated dialogue responses. Our data and code are available at $\href{https://github.com/TeigenZhang/ESCoT}{https://github.com/TeigenZhang/ESCoT}$.
[ 0.0560396127, 0.0054302323, -0.0153697859, 0.0338583812, 0.0230126213, 0.0209902897, 0.0092493612, -0.0020074646, 0.0303870235, -0.002654653, -0.0170411356, -0.0200266875, -0.0176577698, 0.0697817802, -0.0099423165, -0.1279370636, -0.0042452049, 0.0306391902, 0.0674494281, 0.0066435435, 0.0511215478, 0.036116261, -0.0355565883, 0.0355601944, -0.0259780418, -0.0042301305, -0.049127873, 0.0425275788, 0.0544529781, -0.0407643653, 0.0176502801, 0.0239027459, 0.0086168628, -0.029610008, 0.0000022565, -0.0242068507, 0.0096301055, -0.0317656286, -0.0200141482, -0.0548601821, 0.0468642153, -0.0094743017, -0.0052219182, 0.0186405852, -0.0081778923, 0.0074183312, 0.0514307469, 0.0491677411, 0.104106456, 0.0640682429, -0.0304914862, -0.016999457, -0.0283420738, 0.0100982785, 0.0208680667, 0.0165454894, -0.0447142087, 0.003020532, 0.0433722511, -0.0215786062, -0.0224483944, 0.005194325, 0.0004617785, -0.0183930099, 0.0096681938, -0.00025924, -0.0196998771, -0.053110864, -0.0034938976, 0.1111114547, 0.0313655324, 0.0373678282, 0.0067430791, -0.0054392298, 0.0260928608, -0.0007246856, -0.046611134, 0.0112423655, -0.0100282831, -0.0173894819, -0.0095992219, 0.0687187314, -0.0286674146, 0.0179703012, 0.0036388792, -0.0002538609, -0.0275974255, -0.003834968, -0.0167458132, -0.0133125056, -0.0099548548, -0.0453709625, 0.0410007425, 0.0377128795, -0.0459098481, 0.0212398358, -0.0253438726, 0.0241024904, -0.018314695, -0.0158716775, 0.0022217596, 0.0375626162, -0.0447174124, -0.0031287591, 0.0172398705, 0.0384910144, 0.0144581422, -0.0265659522, -0.0154375955, 0.0300341249, -0.0361998565, -0.0096103158, -0.0258148052, 0.0129470453, -0.0876657292, -0.0412755609, -0.0745199025, 0.0410374366, -0.0174075067, 0.026222026, -0.0174217448, 0.0179231856, 0.0021907615, 0.0328432508, -0.0238202326, 0.0438120067, -0.0601332001, 0.0013448411, 0.0434444137, -0.0566732064, -0.0016199606, 0.0526487194, 0.0154719707, 0.0057170847, -0.0042107138, 0.0404935554, 0.0004044397, -0.0046085361, -0.0053473306, -0.0567058176, -0.0466011874, -0.042308595, -0.0121752815, 0.0036018938, 0.0187869314, 0.003151902, 0.0065203924, -0.0168903135, 0.0356845856, -0.0017405518, -0.0197684765, 0.0369244441, -0.0317713059, -0.0014894647, -0.0260122772, 0.0318986475, 0.0152461864, 0.0375313051, 0.0284278337, 0.0765944198, 0.0612485297, -0.0349956155, 0.0645655915, -0.0132052014, -0.0338588804, -0.0439080037, 0.0084038619, -0.0177809037, -0.0675395876, 0.0466377176, 0.0297419485, 0.0060615819, -0.0367148928, 0.012165294, 0.0452162251, 0.0229982324, 0.0031070826, 0.0362845249, 0.0093349414, 0.020037584, 0.0121620316, -0.0041857394, -0.0013118924, 0.0453034267, -0.0174689163, -0.0071288557, -0.0209722295, -0.0287686139, -0.0326605998, -0.0709913969, 0.0072665289, 0.0019565222, -0.0030234058, -0.0017917246, 0.0323883407, -0.0008268931, -0.0310723074, 0.0188222528, -0.0067942808, -0.0907630101, -0.0384609587, -0.0197569709, 0.0149832619, 0.1200514883, 0.0369999558, -0.01241819, -0.0165090207, -0.0104799764, 0.0041443133, 0.0263106562, -0.0038545998, -0.0059845676, 0.0537021682, -0.0636681095, -0.0061842897, 0.0060973233, -0.0126874167, 0.0156512335, -0.065786913, 0.0053859549, -0.0000296527, 0.0423654616, 0.0102619268, -0.0035436784, 0.0257956311, -0.0076124407, -0.0004400091, 0.0001163563, 0.0245509092, 0.0539629497, -0.0018497137, -0.0246913768, 0.0185233727, -0.0098198438, 0.0190146919, 0.0771126375, -0.0591809005, -0.0489515848, 0.0088449083, -0.0045774877, -0.0129534164, 0.006244658, -0.0464765429, -0.0391251035, 0.0454024896, -0.0551493503, -0.00750376, -0.0201343019, 0.0320745483, 0.0143551761, 0.027585825, -0.0066375039, 0.0075323619, -0.0098448293, -0.0022158497, -0.0155305294, 0.0191140436, 0.0116039272, -0.0742363185, -0.0035156265, 0.0451835543, -0.0216547139, -0.0119136348, -0.0018043679, 0.0097489264, -0.0698494837, -0.0288051013, -0.0671144202, -0.0161961429, 0.0004109158, -0.0307788607, 0.0164742786, -0.0135603324, -0.0279275794, -0.0115869986, -0.0340181179, 0.0454826951, 0.0424927548, -0.033411175, 0.0217161011, -0.0168602336, -0.0349871926, -0.0480066277, 0.0163769145, 0.000424162, 0.0409017168, -0.0249930676, -0.0137447454, -0.059884917, 0.0032428559, -0.0429757461, -0.0099028675, -0.0057616262, -0.0819326788, 0.0325802639, 0.0038273009, 0.0068827113, 0.0194379892, 0.0239071231, 0.1119959429, -0.0332153775, -0.0248830914, -0.0465307236, 0.0366892181, -0.0313757844, 0.0267420486, -0.0257487055, -0.0529080592, -0.0080079436, 0.0369112939, 0.0103423949, 0.054192882, -0.0638803989, -0.0221146401, 0.0446379781, -0.0290803257, -0.0197259188, -0.0189303067, -0.0164352823, 0.009420854, 0.0148433261, -0.0493732505, 0.0465708785, 0.0122681279, -0.063239634, -0.0407245159, -0.004887579, 0.005505586, 0.0839188471, -0.0405537896, 0.0181157514, 0.0304455012, -0.0145736728, 0.0075565442, -0.0477614403, -0.0215000715, -0.0574016385, -0.0258102939, -0.0475977957, -0.0632134452, 0.0320128761, -0.0028838117, -0.0474738404, -0.0131658604, -0.0386260487, -0.0315704346, 0.0193293169, -0.0377045907, 0.0069118072, -0.009152093, 0.0435928479, 0.0091151465, -0.0182514824, -0.0097615514, -0.0153968437, 0.0320025198, 0.0515434332, 0.0248036291, 0.0387786217, -0.0227786787, 0.0797293112, 0.0895257443, 0.0199753251, -0.0475974716, -0.010868893, 0.0373336785, 0.0146188457, 0.0092541194, -0.0033045392, -0.0277317818, 0.0754528344, -0.032291621, -0.003458275, 0.1052240655, 0.0218428597, -0.0047528693, 0.0225960407, -0.0326648057, 0.0372784249, 0.0174211673, 0.0132206157, -0.0377816297, -0.0208752807, 0.0083465902, 0.0596106462, -0.0135105988, -0.007987421, -0.0193720553, -0.0648237541, 0.0815468878, 0.0036522343, -0.0022655784, -0.0316613577, -0.001539386, -0.0007922078, 0.0239261314, -0.0164477676, 0.0199988298, 0.0246337987, -0.0079705119, 0.017422203, -0.0192364864, -0.0207139961, -0.008777529, -0.0154937748, 0.0718003586, 0.027353242, 0.0779590681, 0.0284703933, -0.0307807717, 0.0002295333, -0.0003835289, 0.0141847553, -0.0411157534, 0.0634093657, 0.0140328612, -0.0203129817, -0.0447664112, 0.0774254054, -0.0440367833, -0.0211071856, 0.0213272925, 0.0159943961, -0.0658413917, -0.0304672159, -0.0357796662, 0.0529558547, 0.0272997282, 0.0432604626, 0.0444686003, -0.0745630562, -0.0185038, -0.0335012116, 0.0100418618, -0.0144883245, -0.0205941871, -0.0159636959, 0.0073202336, 0.0133640422, -0.0735254288, -0.0837761387, -0.0064217374, 0.0818438753, -0.0636142269, -0.0438273698, -0.0483825095, 0.0201415922, -0.005678013, 0.0423293523, 0.0226583462, 0.0143270362, -0.009120238, 0.0020852913, -0.0132234953, -0.0500427522, -0.0034136381, -0.0083361361, 0.0584699549, -0.0143782413, -0.002911659, 0.068727918, 0.0337014385, 0.0135089085, 0.0424738228, -0.0531842597, -0.0133884512, 0.0336871445, -0.0120451869, -0.0200034771, 0.0481154211, 0.0629361868, -0.0113135371, 0.0064350707, -0.0026510081, 0.0429454744, -0.0069081327, 0.052291248, -0.021359209, -0.0533813201, 0.0020994828, 0.0340809599, 0.0149793262, -0.0081480695, -0.0476520211, -0.0108732292, 0.0111526558, -0.0520845577, 0.0099125234, -0.0739439949, 0.0310582779, -0.028287489, -0.0192518495, -0.0088187996, -0.0830556601, -0.0399254523, -0.0258514211, 0.0003193913, 0.0187149309, 0.0024764552, 0.0314031616, -0.0231777895, 0.0177682247, -0.0151296435, 0.013783996, -0.010819477, 0.0394686423, 0.0008578399, 0.120312281, 0.0132300854, -0.0571757369, 0.006562328, 0.0420213006, -0.0273080803, 0.0024389466, -0.0162220038, -0.0084257973, 0.0142401289, 0.0107558444, 0.0623463988, -0.0381420739, 0.0171781555, -0.0005114354, 0.05274624, 0.021600686, -0.0582222082, -0.0000225645, -0.006902548, -0.0270555392, -0.020262856, 0.0074073873, -0.0567924604, 0.0171385687, -0.0139317745, -0.0284678694, -0.0714976937, 0.0026837145, 0.0122366855, -0.0048110471, 0.0024195027, 0.0084795924, -0.0596019849, -0.0425840057, 0.0150864366, -0.0048046224, 0.0275936909, -0.0375619158, 0.0509270728, 0.0106894532, -0.0232685581, 0.0125828572, -0.0254916828, 0.0139765712, -0.0703766868, -0.0076035773, -0.0224572141, -5.834894981e-33, 0.0033080331, -0.0167837758, -0.0133027034, -0.0103421537, -0.0351237766, -0.0075879772, -0.0723395124, 0.0290812235, 0.0093486719, 0.0627829731, 0.0138492156, 0.0044023795, 0.0078170365, 0.0441599786, -0.0337702371, 0.00813956, 0.0198518783, 0.020034682, -0.0143419448, 0.0520047955, 0.0749683008, 0.0209239144, 0.0178071763, -0.148051247, 0.0378928669, -0.0076786461, -0.0382200368, 0.0275113694, 0.0570015348, 0.0540568568, -0.0151424613, 0.0472580753, 0.0028801167, -0.0102266399, -0.0039766734, 0.0485963821, -0.0383448675, -0.0308433454, 0.0025728995, -0.011155392, -0.1029191166, -0.0081294654, 0.0094650788, 0.0115807168, 0.0011362324, -0.0183325559, -0.0057164337, -0.0296855178, 0.0152893625, -0.0271469038, -0.0238327347, 0.0226550549, -0.0340615883, -0.0602521896, -0.0016215062, 0.1249461472, -0.0156897977, -0.005965563, 0.0255334228, 0.0029882276, -0.0252502225, -0.0318709686, 0.0431097262, -0.0136465468, -0.0208073948, 0.0628744885, -0.0006069018, -0.0265687332, -0.0565958731, 0.0117190508, -0.0227365065, 0.0744711757, 0.0669470504, 0.0480781905, -0.0483966358, -0.0324007384, -0.0339788944, 0.0328891613, 0.0117930565, 0.0414083116, 0.0223720986, 0.0300589409, -0.0626071244, 0.0213992503, -0.0229528118, -0.0253240056, -0.0139094945, -0.0530751571, 0.0199941676, 0.0016786976, -0.030113332, -0.0417371914, 0.0104799923, -0.0169467237, 0.0210980847, 0.0359640121, -0.0506054014, 0.0461270846, 0.006516851, -0.0190770477, 0.0110467607, -0.0188867189, 0.0416085869, -0.0119837541, 0.0565173365, 0.0110754929, -0.0081397602, 0.010493787, -0.0119747119, 0.0056015207, -0.0222047735, 0.0746259242, -0.0427031405, -0.0231422521, -0.0189894624, -0.0054634251, -0.0397855006, 0.0478216596, 0.0027832647, 0.0337137505, -0.0240874477, -0.0222166125, 0.0152012259, 0.0440601744, -0.0429661795, 0.0026622519, 0.0046608052, -0.0183780175, 0.0161081739, -0.0262329634, -0.0120121809, -0.010083965, 2.895e-7, -0.0289813448, 0.0251846053, 0.0367072895, -0.0120124491, 0.0248703379, 0.0498605259, 0.0250208341, 0.027667176, 0.0071496549, -0.0364925563, 0.0320563912, 0.0159141105, 0.0799248666, -0.0000015204, -0.0220634583, -0.0328367166, -0.0219644234, -0.0269625764, -0.0062795854, 0.0635635853, 0.1458843052, 0.037526194, 0.0187399443, 0.013144521, 0.0425169729, 0.0452056229, 0.0088426573, -0.0575785972, 0.0451135151, 0.0027071652, 0.0121464012, -0.0495087318, 0.0042156177, -0.0238102898, -0.0007811327, 0.0051885513, -0.0221699458, 0.0611549169, -0.0157744586, -0.0461264551, 0.0348314717, 0.0334731974, 0.0224219635, -0.0642938688, -0.0122548677, -0.0517202504, -0.0468597822, 0.0009783434, -0.0193239264, -0.0423047915, -0.0086345552, -0.010718571, -0.0397262089, 0.029670367, 0.0011767289, -0.0280824807, -0.0064619849, -0.0875953063, -0.014546412, 0.0102871116, -0.0559782125, -0.0199615993, -0.0368591286, 0.0258910824, 0.0206544232, -0.0024097532, -0.037691649, 2.214479828e-34, 0.0167716499, -0.0027331645, -0.0035550485, 0.0360087678, 0.0529182889, 0.0083616572, -0.0082180994, 0.0293754619, 0.0802658498, -0.0327820219, -0.0152022941 ]
http://arxiv.org/abs/2406.10958v2
http://arxiv.org/pdf/2406.10958v2
City-LEO: Toward Transparent City Management Using LLM with End-to-End Optimization
2024-06-16T14:25:08
2024-06-18T02:16:58
Zihao Jiao, Mengyi Sha, Haoyu Zhang, Xinyu Jiang, Wei Qi
math.OC
math.OC, cs.CL, cs.MA
Existing operations research (OR) models and tools play indispensable roles in smart-city operations, yet their practical implementation is limited by the complexity of modeling and deficiencies in optimization proficiency. To generate more relevant and accurate solutions to users' requirements, we propose a large language model (LLM)-based agent ("City-LEO") that enhances the efficiency and transparency of city management through conversational interactions. Specifically, to accommodate diverse users' requirements and enhance computational tractability, City-LEO leverages LLM's logical reasoning capabilities on prior knowledge to scope down large-scale optimization problems efficiently. In the human-like decision process, City-LEO also incorporates End-to-end (E2E) model to synergize the prediction and optimization. The E2E framework be conducive to coping with environmental uncertainties and involving more query-relevant features, and then facilitates transparent and interpretable decision-making process. In case study, we employ City-LEO in the operations management of e-bike sharing (EBS) system. The numerical results demonstrate that City-LEO has superior performance when benchmarks against the full-scale optimization problem. With less computational time, City-LEO generates more satisfactory and relevant solutions to the users' requirements, and achieves lower global suboptimality without significantly compromising accuracy. In a broader sense, our proposed agent offers promise to develop LLM-embedded OR tools for smart-city operations management.
[ -0.0046120379, 0.0612265542, -0.0005966598, 0.0332440101, -0.014517758, -0.0521138534, 0.0132845528, -0.0206656717, -0.0286259074, -0.0025233943, 0.0212305188, 0.0579284281, -0.0201454479, 0.0885581151, -0.0270679705, -0.0036969269, 0.0002780167, -0.0250410624, -0.0232374873, -0.0123181138, 0.0303332489, -0.0181238558, 0.0285711363, 0.0091811884, -0.0055838586, 0.0217359662, -0.0481809825, 0.0069054067, 0.0294299684, -0.0193413328, -0.0059080552, 0.0024573074, 0.0504211076, -0.0106375273, 0.0000024221, -0.031442903, -0.0580084436, 0.0186972059, -0.0081396913, -0.0470613353, 0.0320716538, 0.0042475448, 0.0215420835, 0.0211780723, -0.0145173501, 0.0182833374, 0.0557640009, 0.019784756, 0.0387104414, -0.004904002, -0.0013692916, 0.0127419662, 0.0101298522, -0.0042489544, -0.0459328331, -0.0443454683, 0.0271393266, -0.0552132912, 0.0530283041, -0.0156990681, -0.0343266875, -0.0289038662, 0.0187670514, -0.0068120002, -0.0102091795, -0.0120343296, -0.0089311404, 0.015062009, -0.0190277901, 0.0206652451, 0.0699200183, 0.0003702143, 0.0504255891, 0.0161771607, -0.0380543321, 0.0103020892, -0.0379703641, -0.0334020406, 0.0192785598, 0.010897899, -0.0702368096, -0.0133374138, 0.0437963195, 0.0538427271, -0.0512362048, 0.1703155339, -0.0339747258, -0.0030907285, -0.0535410978, -0.0195354801, 0.0059696906, -0.053960368, 0.036060106, 0.0752892494, -0.0978988186, -0.0401375182, 0.0693187714, 0.0533598587, -0.0470506065, -0.0248022228, 0.0465237387, 0.0133035611, 0.0255408268, 0.029417865, 0.0752700046, 0.0042920825, -0.0215113368, 0.0183822569, -0.0054263258, -0.0352115929, -0.0274742916, -0.0225128941, -0.0418879353, 0.0164636858, -0.0693735257, 0.0214721356, -0.0148506472, 0.0451723821, -0.0453783236, -0.0053712619, -0.0289161764, 0.0063256416, 0.060933847, -0.0364776812, -0.0779405236, -0.0301695019, -0.0361980461, 0.0229626186, 0.0098354667, 0.0222354084, 0.0310007222, -0.0053657447, -0.0009238712, 0.0138598932, -0.0384446681, 0.1215707436, 0.0113196541, 0.0474993363, -0.0377923213, -0.0515619926, 0.0312327389, -0.0797542557, -0.0412266776, -0.0582313314, -0.0045103524, 0.0044171293, -0.024378296, -0.0262024738, -0.0180453602, -0.0306183044, -0.0252997689, 0.0185627621, -0.059023995, 0.0543447733, 0.0321201086, 0.0137028527, 0.0528965071, 0.058982648, 0.0183783695, 0.0339658596, 0.0347180963, 0.0174108073, 0.0007151221, 0.0045315251, 0.0260864049, -0.0005851724, -0.0001011392, 0.0305537451, -0.0573208556, 0.0235601719, -0.0327176638, -0.0041300897, -0.023736896, 0.0050394111, 0.0179535877, -0.0344054401, 0.0070496281, 0.0007742362, -0.015010884, 0.0617830642, -0.0322783515, -0.0639535785, -0.0389237553, 0.0242512804, -0.0339467824, -0.0298888665, -0.0312013552, -0.0118515464, -0.0265751015, -0.033878509, 0.0142257158, -0.0404473953, 0.0428532399, 0.0484465249, 0.0424114317, -0.054718025, -0.0200695004, 0.0616537556, -0.0021473574, 0.0215132404, -0.0096074883, -0.083896488, 0.0180823393, 0.0380058922, 0.0151493903, -0.026157245, 0.0009417261, -0.019518571, -0.0197780915, 0.0020446503, 0.0749275759, 0.0004834434, -0.0225920044, -0.0285243299, -0.0545492172, 0.055123996, 0.0388352275, -0.0275529344, -0.0216325074, 0.0063873613, 0.0117123807, -0.0168193616, -0.0119784912, -0.0055161654, 0.0045083729, -0.0043855915, -0.0183223598, 0.0231475178, 0.0376954079, -0.0114789, 0.0207971241, 0.0082795639, 0.0265519358, 0.0355905145, -0.0719640926, 0.0396410264, 0.0257470608, 0.0776534006, 0.0198617224, 0.0356649794, -0.0458127297, 0.059539523, -0.0625437573, -0.0231430717, -0.0265920386, -0.0414311588, -0.0108630806, -0.0090231281, 0.0342840403, -0.0186752118, -0.0298368204, -0.0046074609, 0.0103817713, 0.0269191805, -0.022994034, 0.0118979858, 0.020257121, 0.0488437414, -0.0077880677, 0.0449849814, 0.0078016832, 0.006767103, 0.0106548388, 0.010203721, 0.012245873, 0.0036088713, 0.0203992259, -0.0926216915, 0.0227515791, 0.0168974232, 0.0477274582, -0.0253100358, 0.0133420546, 0.0083508724, 0.0065958458, -0.0261337999, 0.0775438473, -0.0388635509, 0.0006525544, 0.0381074399, 0.0330938995, -0.0465626121, 0.0337275155, 0.0212844051, -0.0105927307, 0.0137285916, -0.0027206473, 0.0427902564, -0.0004575448, 0.004029918, -0.0657273903, -0.0307050738, -0.002377888, 0.0105118193, -0.0220318399, 0.0091442131, -0.0136982994, -0.0043723341, 0.0197441299, -0.0226689968, 0.0130288964, -0.0640620515, -0.0889915004, 0.012102603, -0.0316240788, 0.0023988213, -0.0293134954, -0.026084112, -0.0095370756, 0.0461398624, -0.0571348183, 0.011518891, -0.0057607307, 0.0571611375, 0.0128715085, -0.0200862661, -0.0644735694, 0.0566469505, 0.0258725733, 0.1093803421, -0.0214204304, -0.0470181517, 0.0977612957, 0.0110073611, 0.0273633748, 0.0421883278, -0.0219876505, -0.092567496, 0.0110972859, -0.0117883943, 0.0451156422, -0.0614530966, -0.0002770206, -0.0144206882, -0.0306762867, -0.0181618053, 0.012247866, -0.0140529703, 0.0101021929, -0.0261091385, 0.0232611224, -0.1004387438, 0.024106089, 0.0149756102, -0.0574681684, 0.0063531767, -0.0390517786, -0.0507274009, -0.0391240083, 0.021833593, 0.0100756725, 0.0213202536, -0.0425909311, -0.0143675264, -0.0131562641, -0.0627596229, 0.0093108658, 0.074440673, 0.022639351, 0.0202209242, -0.0279714968, 0.0218239985, 0.029782081, -0.0356555767, -0.0123265889, 0.0360126309, 0.032450892, -0.0199602768, -0.0157216806, 0.0152280303, -0.0035501777, -0.0676410571, 0.0173724033, 0.0399354212, -0.0043934458, -0.0116342632, 0.0257473867, -0.1072289869, -0.0211407952, -0.0086217755, 0.0467289053, -0.0550273582, -0.0357613862, 0.0111751929, 0.0357789621, -0.0126925949, -0.0732038394, -0.0038073305, -0.0487993918, 0.0555430427, -0.0388132818, -0.0364036672, -0.0172826983, -0.0994070023, 0.0008759072, -0.0287455674, -0.0099430615, -0.0242007114, 0.0365220197, -0.048929695, 0.0147543345, 0.0119149853, 0.0252061598, -0.0072659813, 0.0011682584, 0.023843307, 0.0567190871, 0.0658459663, -0.0077684326, 0.0239190087, 0.0080877524, 0.0530836731, -0.0153378705, -0.0537070557, -0.0639532432, 0.0123857325, 0.0162920076, -0.0190067999, 0.0174076483, -0.0007891452, -0.004281966, 0.0762962773, 0.095912762, 0.0114585785, 0.0061150859, -0.0436304212, -0.0016030531, 0.0307894684, 0.0232881904, -0.0399473719, -0.0269838236, -0.0495938696, -0.0524835736, -0.0701305717, -0.0236995146, -0.0053153681, -0.0063224938, -0.0061434838, 0.0431903787, 0.0307428334, -0.0285440329, -0.0077579245, -0.0028373986, -0.0061750873, 0.0152397007, 0.0663916543, -0.0075647738, -0.0445252955, -0.0138380574, -0.0252198465, 0.0578844436, -0.0243465509, 0.065100953, 0.0463703573, -0.0072829323, -0.0251558404, 0.0494915023, -0.0084800441, -0.0747665539, 0.0125266574, 0.0363980159, 0.0321057253, 0.0092316233, 0.004308444, -0.0161654055, 0.0543309674, 0.0232554991, -0.0131077925, -0.0162135735, 0.013707363, 0.0234759934, 0.0089432374, 0.0259667542, -0.0433013663, 0.0435279869, 0.0360773578, 0.0008963215, -0.0432306118, -0.007126187, -0.0014587718, 0.0536368601, 0.0050749551, 0.0246942509, -0.0592937618, -0.0066840216, 0.0173328202, 0.0020797902, 0.0153032057, -0.0433338583, 0.0327574238, -0.0381866656, 0.0156440046, 0.0338888764, 0.0348960496, 0.0602522567, -0.0612270646, 0.0220963936, 0.0449325368, -0.0360761248, -0.012507678, 0.0385245644, 0.017970236, 0.0266875774, -0.0118379109, 0.043469917, 0.0028282965, -0.0013868506, 0.0171920992, 0.0367367864, 0.0329953283, -0.0456976481, 0.0156356543, 0.002440186, -0.0939951092, 0.0385187753, 0.0635821074, 0.0223684553, 0.0625297651, -0.0423909947, -0.0483321026, -0.0172540992, 0.000905863, 0.0220171548, 0.0138859972, 0.0368220471, 0.0305484179, 0.0371938944, -0.0358901136, -0.0119321113, 0.0398087204, 0.0120156631, 0.0154032884, -0.0593356937, -0.0588842779, -0.0260658525, -0.0007411556, 0.031258259, 0.0108901057, 0.0024159872, -0.020665925, -0.0455906913, 0.0018968025, -0.005516225, 0.0295627806, 0.0249286667, -0.0358938165, 0.0232784878, -0.0047899042, -0.008181286, 0.0131560406, -0.0222057551, -0.0152478712, -0.064380914, -0.0070166606, 0.0427806564, -6.735768505e-33, 0.0026112129, -0.0702553168, 0.0664873198, 0.0215032753, -0.0243296456, -0.0419941768, -0.0316692516, -0.0021471684, 0.0054391641, 0.0238729715, -0.0081452057, -0.0003351755, 0.0361483544, 0.0175270718, 0.007340773, 0.0129034519, 0.0197257008, 0.0062324698, -0.0277519785, -0.0138864107, 0.0349064358, 0.0019071446, -0.0413465202, -0.0428883284, 0.028261343, -0.0332452692, -0.0495686121, 0.103407748, -0.0335278846, 0.0395936146, 0.0299744513, 0.0443701334, 0.001588398, -0.0089543201, -0.0579913668, 0.0396534838, -0.023343794, 0.0123826824, 0.024232978, 0.0129428115, -0.0609842092, -0.0277896319, -0.01159201, 0.0280736927, -0.0286801159, 0.0346215218, 0.0139606036, -0.0303069782, 0.0043992591, 0.0011723989, -0.0154072912, -0.0018845563, -0.0211429521, 0.0034728986, 0.0466646664, 0.0018009299, 0.0110969851, -0.0272756238, -0.004190648, 0.018195238, -0.0278891567, -0.0503531396, -0.0027630355, 0.0188267883, -0.0213422906, 0.0137976343, -0.0058634649, -0.019649405, -0.0127448197, -0.0015264623, -0.0216987263, 0.1032131463, -0.0311505236, -0.0007411888, -0.0381813273, 0.0087784752, -0.0936798602, 0.0141603863, 0.00005404, -0.0147216618, 0.0131346323, 0.0095908437, -0.0256114546, -0.0347031616, 0.0015717561, -0.0184067171, -0.0392696746, -0.0444926471, -0.0084718186, 0.0361868106, -0.0282958597, 0.0334473848, -0.0020415075, -0.0395933427, -0.0244926699, 0.0337560475, 0.0346966051, -0.0274224635, 0.012191793, 0.0673145205, -0.0818743408, -0.0465079732, -0.0975730643, -0.0100931991, 0.0124663692, 0.0528730974, -0.0152521366, -0.0015284019, -0.0048910491, 0.0334035642, -0.0083396742, 0.0057247463, -0.009306198, -0.0254485253, -0.0042204196, -0.028582627, 0.0246271547, 0.0255438425, -0.0158994216, 0.0032749295, -0.0006746051, 0.0203051902, 0.0143039944, 0.0305048209, 0.0344317779, -0.0360043161, -0.0194785297, -0.0245378967, 0.0142285628, 0.0074723735, -0.0262900237, -0.0243234895, 3.115e-7, -0.027971033, 0.0420741588, -0.0190643836, 0.0548829064, 0.0454261824, 0.0678811073, 0.0077812681, -0.0065996707, -0.0122699048, 0.0852830857, 0.0244527049, 0.0404708236, 0.0413306579, 0.0087159378, -0.0321874507, 0.0036753453, -0.0004859992, -0.0029823657, -0.0555841103, 0.0141269928, 0.0020236769, 0.0287798475, 0.0569710732, -0.0124650728, 0.014024429, -0.0128092198, -0.0047071595, -0.0906861126, -0.0110017005, 0.0413432308, 0.0111328606, 0.0065406319, 0.0177503396, -0.0315785557, -0.0193653852, 0.0052081193, -0.0090609742, 0.0951302499, 0.0306500699, -0.0161422994, 0.0440657623, -0.0735742375, -0.004629802, -0.0177141074, -0.0223710313, -0.0165115073, -0.0377157778, 0.0239655077, 0.0414808355, -0.0784616098, -0.0101328958, -0.0261885989, 0.0083936583, -0.0121976398, -0.0226136986, -0.0316891223, -0.0035368798, -0.0169372875, 0.0389411151, -0.0100331875, -0.0211519655, -0.0827531517, -0.0426614434, 0.0527280159, 0.0733694509, -0.0178183764, 0.007504568, 2.473656129e-34, 0.0159786716, 0.0532388277, -0.0322564356, 0.0056787035, 0.0462483577, 0.0228236318, -0.0188980997, -0.0048170588, 0.0128664356, -0.0056141214, -0.0133072855 ]
http://arxiv.org/abs/2406.10957v1
http://arxiv.org/pdf/2406.10957v1
Eliminating Biased Length Reliance of Direct Preference Optimization via Down-Sampled KL Divergence
2024-06-16T14:24:30
2024-06-16T14:24:30
Junru Lu, Jiazheng Li, Siyu An, Meng Zhao, Yulan He, Di Yin, Xing Sun
cs.CL
cs.CL
Direct Preference Optimization (DPO) has emerged as a prominent algorithm for the direct and robust alignment of Large Language Models (LLMs) with human preferences, offering a more straightforward alternative to the complex Reinforcement Learning from Human Feedback (RLHF). Despite its promising efficacy, DPO faces a notable drawback: "verbosity", a common over-optimization phenomenon also observed in RLHF. While previous studies mainly attributed verbosity to biased labels within the data, we propose that the issue also stems from an inherent algorithmic length reliance in DPO. Specifically, we suggest that the discrepancy between sequence-level Kullback-Leibler (KL) divergences between chosen and rejected sequences, used in DPO, results in overestimated or underestimated rewards due to varying token lengths. Empirically, we utilize datasets with different label lengths to demonstrate the presence of biased rewards. We then introduce an effective downsampling approach, named SamPO, to eliminate potential length reliance. Our experimental evaluations, conducted across three LLMs of varying scales and a diverse array of conditional and open-ended benchmarks, highlight the efficacy of SamPO in mitigating verbosity, achieving improvements of 5% to 12% over DPO through debaised rewards. Our codes can be accessed at: https://github.com/LuJunru/SamPO/.
[ 0.0475324281, 0.0747603178, -0.011673253, -0.0047196238, -0.0421838872, 0.0112749487, -0.0211986266, -0.0061998591, -0.0367465988, -0.0058972393, -0.0425625816, -0.019671075, 0.0352814272, -0.0078434097, 0.0102590527, -0.0786892176, 0.0242179539, -0.0508455485, 0.0000352041, -0.0450954288, 0.0186081827, -0.0042605163, -0.0077093542, 0.0525499843, 0.0588004068, 0.0151849128, 0.0152489208, -0.0136789056, 0.0138814738, -0.0279417951, -0.0091477688, 0.0827113762, 0.0007364076, 0.0337148421, 0.0000020635, -0.0531902462, -0.0068514808, -0.0253876168, -0.0139635801, 0.0175916925, 0.0347186513, 0.0293515101, 0.0009102302, 0.020143548, 0.0034330708, 0.0029733088, 0.043636512, 0.0203561354, -0.0041961358, 0.0551926829, 0.0170414262, -0.0134766158, -0.0145519972, -0.0591181554, 0.0012385023, 0.0211665761, 0.0376397558, -0.0330887809, 0.0191260856, 0.0150681688, -0.0161492433, 0.0270875432, 0.0006611253, 0.0124868322, 0.0263645723, 0.0403203368, -0.0019629323, -0.0385315754, 0.002520364, 0.0703879222, -0.0209029857, -0.0241330694, 0.0126389815, -0.0587582104, 0.0233358517, 0.0100063188, -0.0059205545, -0.0091435742, 0.0176755469, 0.0352129415, 0.0268379152, 0.0101990793, 0.0292782411, 0.0060237148, -0.0312315561, 0.0678636432, 0.0207801126, -0.0548268892, 0.0298836492, 0.0246592574, -0.0408568121, -0.056653671, 0.0172309503, -0.0511870496, -0.0437147617, 0.0248685703, -0.0296105649, -0.0424222611, 0.0239271689, -0.0302949548, 0.0513194166, 0.0150903175, 0.0058217123, -0.0038606578, 0.0303520206, 0.0656944215, 0.0035926932, 0.0291912314, -0.0489990935, 0.0414131135, -0.0068275514, -0.0052464879, 0.019360723, 0.0277011748, -0.054211162, -0.0084214769, -0.0596253313, 0.0091297356, -0.0187531635, -0.0064478074, 0.0016081653, 0.0173827503, -0.0213908311, 0.0098741166, -0.039941851, 0.0542957075, -0.0338752382, 0.0330626667, 0.01041649, 0.0080111576, 0.0106482087, 0.021728605, -0.0157946367, -0.0516461618, -0.0189004727, 0.0607862212, 0.0164606944, -0.0338044912, -0.0032537519, -0.0140242623, -0.0696195811, -0.0281322822, -0.0121271648, -0.0908545852, -0.0013102764, -0.0099724233, -0.0155870263, -0.0400273837, 0.0008353065, -0.0017414214, -0.0521246456, 0.0556942709, 0.0359247439, -0.0050844946, -0.0284616333, -0.0305192396, -0.0049132346, 0.059477184, 0.051577922, 0.0489385203, 0.0460821353, -0.0053387461, -0.0212260336, 0.0406115279, 0.03947201, 0.0301091764, -0.0625837222, -0.002729686, 0.0018734629, 0.0629585013, 0.0718745962, 0.0271973293, -0.0237110239, -0.0229267795, 0.0867553353, 0.0420521423, 0.0163184796, -0.0525963828, -0.0105410544, 0.0315715261, -0.0328458212, 0.0347402357, -0.0223833155, 0.0163134914, -0.0305883493, 0.0223579146, 0.0591838062, 0.0360631607, -0.0079626925, -0.0445661582, -0.0101827653, -0.0178625211, 0.014024633, 0.0434140004, 0.0483501144, -0.0293751787, -0.0501455441, 0.0070889019, 0.0623289943, -0.0141120944, 0.0086356513, -0.0299146213, 0.0520151518, 0.0718825832, 0.0401497781, 0.001111568, 0.0193724185, -0.0178387295, -0.0556706749, 0.0513709337, 0.0222861022, -0.0197437573, -0.009795134, -0.0402067006, -0.0681149513, 0.0519670323, -0.0020723399, 0.0303761382, 0.0340897366, 0.0099095255, 0.0036242309, -0.0210354459, -0.0295685641, 0.0288959872, -0.0243665967, -0.0350113846, 0.0396681614, 0.0204248372, 0.0816736296, 0.0120874997, -0.0088342233, 0.0126584759, 0.018835539, -0.0127496179, -0.0270070732, -0.0248317178, -0.0669109076, -0.073686026, 0.0395559706, -0.0176901203, 0.0082032634, 0.0605307892, -0.0205526426, -0.0348620974, 0.0070602414, -0.0337024704, 0.0257626493, -0.0134792496, 0.0271370821, -0.0174509492, 0.0175933242, -0.0983353779, 0.0131749446, -0.0230811015, 0.0323845632, -0.0210736804, -0.0167902801, -0.0248775464, -0.0485013984, -0.0378520861, 0.0523374379, 0.022448089, 0.0130012147, 0.0656545535, 0.0147927757, -0.032442756, -0.032396093, -0.0615936853, 0.00206133, -0.0122394608, 0.0004963967, -0.0148295024, 0.0136020929, -0.0068295449, -0.0046966309, -0.0287106056, -0.0309766009, 0.003227131, 0.0203709751, 0.024495542, 0.0173855852, -0.0260956269, -0.0485104248, -0.0347724222, 0.010263009, 0.0214526784, -0.009404337, 0.0214185044, -0.0287867766, 0.0328441896, -0.0372358114, -0.0129266111, 0.0006943817, -0.016727183, 0.0013401405, 0.017123891, 0.0595026948, 0.0716834813, 0.0423489287, -0.0014537456, 0.0619319007, 0.0132252816, -0.073179096, -0.0333699882, -0.0487971045, -0.019048227, -0.0399390683, 0.0076708309, 0.0263062008, 0.0863860101, -0.0021441982, -0.0084351059, -0.0751401708, -0.0038664585, -0.0069354232, -0.0322095864, -0.0026058804, 0.0180709437, -0.0720311627, 0.0438635945, -0.0215326045, -0.0574596561, 0.0964799002, -0.0262923278, 0.0206783637, -0.0814853758, -0.0029419118, -0.013605644, 0.0126452567, 0.0002315904, -0.0075637582, 0.0083368327, 0.0025305958, -0.0607033446, -0.0340637788, 0.0193987656, -0.0383433439, 0.0627831221, -0.047859516, 0.0040940987, -0.0045725051, -0.0743916705, -0.0400369577, -0.0555992797, -0.0168633182, -0.0145201683, 0.0354579911, -0.0137540381, -0.0348471738, -0.0013601248, 0.0386079215, 0.0274113975, 0.0001235118, 0.0172350556, -0.0121035641, 0.0142147979, 0.0906800553, -0.0112812398, 0.0438761227, -0.0243804753, -0.018130878, 0.0108459014, 0.0524396561, 0.0310735572, 0.0255956817, 0.0142220091, 0.0548344143, -0.0390996113, -0.0334959812, 0.054404024, 0.0389346927, -0.0085033644, 0.0182175711, 0.097368978, 0.018208893, -0.0803242475, 0.0313448496, 0.0085892351, 0.1011174172, 0.0013370201, 0.0018765186, -0.0643920675, -0.0458497368, 0.0233658813, 0.0788526386, -0.0221408345, -0.0187889114, 0.0120279724, -0.1473030746, -0.0087947361, 0.0271964222, -0.0551508889, -0.0050725876, -0.0581524409, 0.00718405, -0.0366069712, 0.032057967, 0.0271900892, -0.0179970898, 0.0138802938, 0.0234647132, -0.006509278, -0.0590283312, 0.0192401912, -0.0483978726, 0.0647077635, 0.0802980661, 0.0015513237, 0.0135454899, -0.0144941695, -0.0107832579, -0.013382866, -0.0390703566, -0.0075319936, 0.0081343558, -0.006441345, -0.0014320066, -0.0418391898, 0.0541118756, -0.0351745784, 0.0247501638, 0.0061516231, 0.05209288, 0.0093252202, -0.0191013161, -0.004191949, 0.0026347961, 0.006398099, 0.0681439564, 0.0327670388, -0.0794382766, -0.0309200436, -0.0158648547, -0.0339507423, -0.0373223685, -0.0144694401, 0.0085724415, -0.0131847905, -0.0204755776, -0.0810278878, -0.0463378951, 0.006569481, 0.0226344317, 0.0089716511, 0.0292047486, -0.0034153156, -0.0303589143, -0.0278611258, 0.0370588861, -0.0246892571, 0.028037576, -0.0917661414, -0.0112452647, -0.0192611944, -0.0378611945, -0.0287275054, 0.0142081836, -0.0593589172, -0.0911958218, 0.0088575184, 0.0463848151, 0.0180297624, 0.0832232982, 0.0325485356, -0.051266335, 0.0493119322, 0.0583925806, -0.0026325944, 0.0322524756, 0.0199383236, 0.0060751061, -0.0020329989, 0.0359845571, -0.0350397639, -0.014241769, 0.0346839577, 0.0514494888, 0.0074447202, -0.0287210885, -0.003715571, 0.0265594535, 0.053668905, -0.0666560307, -0.026238434, -0.0215816069, 0.0216954891, -0.0066381423, -0.0016820012, -0.0317053348, -0.0434200726, 0.0270181298, 0.0150011694, 0.001177738, -0.0076860432, -0.0310563333, 0.0079311412, -0.0158790965, 0.0383725241, 0.0296304561, 0.0170007125, 0.0567662753, 0.0208825823, 0.0000742576, 0.0204200484, 0.016925469, 0.0668099374, 0.0001805457, 0.0110466043, 0.0310646202, 0.0239519067, -0.0063012857, 0.0176695678, -0.0511191227, -0.0166227166, -0.0079167029, -0.0102956248, 0.0466628, -0.0409546942, 0.075781621, -0.0112301521, 0.0082433391, -0.0555339977, 0.0227849428, -0.0639555082, 0.0064869309, 0.0214255098, 0.0224804375, -0.0386734866, 0.0207563341, 0.0875363126, 0.0311332494, 0.0312381275, -0.0500059575, -0.000956815, -0.0229637157, -0.0186331756, 0.0210715495, 0.0246950947, -0.06146539, -0.0102565093, -0.0620207638, -0.0614192486, -0.0224791486, -0.0069060926, 0.016252948, -0.0133282589, 0.0650877655, 0.0269084778, -0.054348737, 0.0151540525, -0.0530030392, -0.0210779272, -0.0234933067, -0.0465943515, -0.013302451, -6.722284116e-33, -0.0318778381, -0.0027628613, 0.0062778248, -0.0385123566, -0.0361712575, -0.0165859591, 0.0044366918, 0.0175091401, 0.0285395365, -0.0056790328, -0.008913503, -0.0495274775, 0.0099420911, 0.0268038549, 0.0446574017, 0.0201140009, 0.0438655503, -0.0043715769, -0.046169199, -0.0091371667, 0.029363744, 0.0168051012, 0.0314202271, -0.021951355, 0.0416280404, 0.0353288576, 0.0285992827, -0.0146365548, -0.0063602226, 0.0804485977, 0.0015652116, 0.033134196, -0.0082487417, -0.0444697104, -0.031187227, -0.0083107492, -0.0507844687, -0.0152252605, 0.0433624499, 0.0204338655, 0.02436327, -0.0185796022, 0.044286076, 0.0035198655, -0.0518488511, 0.003710231, 0.0270191748, -0.0281645451, -0.0714830086, 0.018443862, -0.0154451709, 0.0231480449, -0.0165877882, 0.0039241998, 0.0309611, 0.0346958637, -0.0191057511, 0.0744489804, -0.0015346642, 0.0572924316, 0.0411427431, 0.0513492413, 0.0732929334, 0.0453591086, 0.045633629, 0.0353298001, 0.0528357401, -0.0437571518, 0.0346337035, -0.0334738865, 0.0425779149, 0.0011489517, 0.0177726094, 0.0136239333, 0.0413746163, -0.0131791979, -0.0367001221, 0.0019729193, 0.0115203215, -0.0288521685, 0.0321307667, 0.0480482988, -0.0609683841, -0.0481303707, -0.0486026481, -0.050599359, -0.0190907214, -0.0362495743, 0.0273009241, 0.0280507486, -0.0158092901, -0.0313212536, 0.0346976854, -0.0343010984, -0.046626281, -0.0053015044, -0.0335725434, 0.0110792154, 0.0057047992, 0.0080973059, -0.0932283178, -0.0009287071, 0.0193596482, -0.0184339378, -0.0275268089, 0.0172708053, 0.0072665513, -0.0022380862, -0.0459824875, 0.0177050177, -0.0145658469, -0.0065227603, 0.0177577753, 0.017727498, 0.0753580108, -0.0198171567, 0.0101072853, 0.0334100202, 0.0241906233, -0.0367803052, -0.0123506244, -0.0444439128, -0.0258138869, 0.0229730979, -0.026703136, -0.0053324192, -0.0076611638, -0.0042985948, -0.003280997, -0.0167816356, -0.0340977572, -0.0091802496, 2.828e-7, -0.0081546456, 0.0671282485, 0.0230320077, 0.0034817413, -0.0136060938, 0.0597501248, -0.0066691767, -0.0032316456, -0.0041884026, 0.0188566055, 0.0094517982, -0.0118608121, 0.0471682549, -0.0238953922, -0.0900134817, -0.0004681768, -0.0626895353, 0.0260011274, -0.0472418852, -0.0428156331, 0.0262775626, 0.089260824, 0.0503725894, -0.0013054637, -0.0018986656, 0.0151900509, 0.045886904, -0.0565507635, -0.0131732877, -0.0153931621, 0.0315409563, -0.0407742113, -0.0069172434, 0.0059181866, 0.0008100125, 0.030070316, -0.0110112084, 0.0625163093, 0.0055026752, -0.0589110255, -0.0121478792, 0.0209266525, 0.0023625826, -0.0799066424, 0.0551216751, -0.0317582488, -0.0329629481, -0.0216385927, -0.0153656248, -0.0517677739, 0.0502627343, -0.0192379504, -0.015599492, 0.0035767632, 0.0210597832, 0.0369229615, -0.0054607955, -0.0584478714, -0.0062638014, 0.0310797766, -0.0434914716, -0.0429784842, -0.0591961145, 0.0723070949, -0.0053719338, -0.033200182, -0.0190679654, 2.900178055e-34, 0.0475599058, 0.0059927381, 0.0078171287, -0.031433329, 0.0015356669, -0.0123423776, 0.0134667214, 0.0152534721, 0.0438343138, -0.0649906695, -0.0171017889 ]
http://arxiv.org/abs/2406.10952v1
http://arxiv.org/pdf/2406.10952v1
Avoiding Copyright Infringement via Machine Unlearning
2024-06-16T14:12:37
2024-06-16T14:12:37
Guangyao Dou, Zheyuan Liu, Qing Lyu, Kaize Ding, Eric Wong
cs.CL
cs.CL
Pre-trained Large Language Models (LLMs) have demonstrated remarkable capabilities but also pose risks by learning and generating copyrighted material, leading to significant legal and ethical concerns. To address these issues, it is critical for model owners to be able to unlearn copyrighted content at various time steps. We explore the setting of sequential unlearning, where copyrighted content is removed over multiple time steps - a scenario that has not been rigorously addressed. To tackle this challenge, we propose Stable Sequential Unlearning (SSU), a novel unlearning framework for LLMs, designed to have a more stable process to remove copyrighted content from LLMs throughout different time steps using task vectors, by incorporating additional random labeling loss and applying gradient-based weight saliency mapping. Experiments demonstrate that SSU finds a good balance between unlearning efficacy and maintaining the model's general knowledge compared to existing baselines.
[ 0.0332505777, 0.0983616114, 0.0080943601, 0.0361123793, -0.0337994099, 0.0197930951, 0.0472157523, 0.0193646271, 0.0224472973, -0.0387136787, -0.0357571617, 0.0158753097, -0.0335321613, 0.010052979, -0.0282935631, 0.0082109198, 0.0160590317, -0.0046383301, 0.0138116488, -0.0209500417, 0.0202559363, 0.0158433281, 0.0265383795, -0.0078829424, -0.0135993753, -0.0379019901, 0.0131692737, -0.0147381183, 0.0156029295, -0.0007514217, 0.0259009525, 0.0775729716, 0.0232978091, 0.0890298635, 0.0000017673, -0.0729780495, -0.0227084849, 0.0069190743, -0.0050196396, 0.1021370888, 0.0513259172, 0.0179406423, -0.0273709279, -0.0078628473, -0.0414236002, 0.0167448949, 0.0227110051, 0.0168773979, 0.0508029908, 0.0802705511, -0.0353199579, -0.0206247587, 0.0010566566, -0.0671416074, -0.0036728664, -0.0698185787, 0.0437012315, 0.0164123047, -0.0250773933, -0.0314106867, 0.0056285802, 0.0694443733, 0.0199118648, -0.0130157601, 0.0014429177, 0.0185289998, -0.0093649114, -0.0016516317, -0.0041002175, 0.0567030013, -0.0345231295, -0.0422396399, 0.0316206515, -0.0277055074, 0.0167235881, -0.0151146948, -0.0190830715, 0.0668228418, 0.0141286282, 0.0611537285, -0.0121587673, -0.0328611694, 0.049844943, 0.0361553691, -0.005240221, 0.0286010467, 0.0304752234, -0.0412587747, 0.0172879957, -0.0075927847, 0.0087180473, -0.0424797758, 0.0672005937, 0.0053647486, 0.0201969519, 0.0180579331, -0.0698099956, -0.0237488803, 0.0046834154, -0.0599909984, 0.0488043427, -0.0132414056, -0.0373751111, 0.0806319267, -0.0217643082, 0.0146388737, -0.0170838665, 0.0733872578, -0.0099810753, 0.0077413223, 0.0014421241, -0.011422608, 0.009601268, 0.0625196323, 0.0018700017, -0.0040927585, -0.0278396439, 0.0215335041, -0.0382976457, -0.0292220172, -0.0120223928, 0.0202624071, -0.0108844452, -0.0154750049, -0.0044588526, 0.0043503982, 0.0505877845, 0.044006478, -0.0063493876, -0.0338836908, -0.0011347621, 0.0282460377, -0.0059979898, -0.0133749899, 0.0551978834, 0.0625930652, -0.0154638588, -0.0362586789, -0.0332848616, -0.0113883298, -0.0128574735, -0.0327777676, 0.000326764, -0.0574316792, 0.0098814536, -0.0491517186, -0.0203114841, -0.0928418338, -0.0147049315, 0.0257620625, -0.0850469097, 0.0441965535, 0.0012134699, 0.00764042, -0.0119912522, -0.0033014093, 0.006069798, -0.0096046412, -0.0126358811, 0.0466761552, 0.0589183606, -0.0113710891, 0.0330673531, 0.0709582418, 0.0465552621, 0.0414733253, -0.0286035258, -0.0255868677, 0.0268109664, -0.0056071272, 0.0403152443, 0.0575992614, 0.0004708612, -0.0064679501, 0.0900415778, 0.039570868, -0.0341854952, 0.0428878181, -0.0058463975, 0.0218252409, -0.0046063219, -0.0026188698, -0.0803135857, -0.0201717317, -0.0171588846, -0.0104126073, 0.0108995158, 0.0195742063, 0.0023908704, -0.0052469615, 0.0172715914, -0.0263741147, 0.0398645364, 0.0188630931, 0.0495353155, 0.0605228059, -0.032925114, 0.085874252, 0.0177037101, -0.0552530177, 0.0397296064, -0.0458101034, 0.0410747081, 0.0493407473, 0.0742397979, -0.0360664427, 0.0313193761, -0.0136928167, 0.0109932367, 0.0159473848, 0.0065281615, -0.0104213171, 0.0503205694, -0.0325770564, -0.0565123893, -0.0026962862, -0.0154656004, 0.0101879891, 0.0132546509, -0.007761348, 0.0360457338, -0.0405905955, -0.0466897674, 0.020093115, -0.0286739282, -0.057351619, 0.0135014048, -0.0021882425, 0.0199989565, 0.0257779676, -0.0428792275, -0.0020146663, 0.0377087183, -0.0020017654, -0.0121463593, -0.0211145673, -0.038687475, 0.0059646363, 0.0707004145, -0.0110362051, 0.0055095991, 0.0709502622, -0.0451470315, 0.0168935545, 0.0012384423, 0.0267001484, 0.0441297293, -0.0545811728, 0.0229897015, -0.0523564331, 0.029083129, -0.0240485258, 0.0345587097, -0.0155494316, -0.0194911025, 0.0341456309, -0.0413984433, 0.0048154881, -0.032012403, -0.0588935688, 0.0117414286, -0.0167959407, 0.0202758033, 0.012301567, 0.0111244638, -0.0148197301, 0.0126226256, -0.037150424, -0.007579789, -0.0235136468, 0.0154779023, 0.0218453892, -0.0042410735, -0.0274674073, -0.0451597795, -0.0083713932, -0.0690498576, -0.0119179804, 0.0066357958, -0.0103289299, -0.0195691939, -0.0133459913, 0.0051911669, -0.0106481714, 0.0226220582, 0.0122047542, -0.0103892004, -0.0165627096, -0.0265845042, 0.0737039, -0.0078037786, 0.0406372473, 0.017740272, 0.0184630118, -0.0157006737, -0.0212480072, -0.0120822759, 0.0484071001, 0.0158145465, 0.0308717303, 0.0545294099, -0.0054705483, -0.0170370005, -0.0095901024, -0.039238587, -0.0448086374, -0.0712374449, -0.0125601217, 0.0356793888, 0.0165584572, 0.0116851944, -0.0023646089, -0.0054212697, -0.0000958306, -0.0142058516, -0.0359808393, -0.0175694507, 0.0020977445, -0.0624233447, 0.0130998082, -0.0097096274, -0.0928679779, 0.0394219086, -0.0271646567, 0.0401769169, -0.0182479247, 0.0121351685, -0.0129097924, 0.0512273237, 0.0044446811, 0.0319898464, -0.0168023445, -0.0448868759, -0.0293544959, 0.0089689884, 0.0507184044, -0.0361386463, 0.0265152007, -0.0349570662, -0.0083819032, 0.0064817108, -0.0168570131, -0.0176018141, -0.0527122058, 0.0036070272, 0.0051860139, 0.0191559587, 0.0169746466, -0.011282118, -0.0496631078, 0.0368798189, 0.0221319553, 0.0214574747, 0.0337405466, -0.0024340213, 0.0697196275, 0.046467308, -0.0125747435, -0.0098811388, 0.002943974, -0.0168460384, 0.0596372038, 0.025878191, 0.0131616928, 0.0203836877, 0.024744181, 0.0382596962, 0.0038305519, 0.0230348334, 0.0411217548, 0.0283831451, -0.0191626139, 0.0055390438, 0.0916961059, -0.0025011438, -0.0438631512, -0.0214152709, 0.0479349159, -0.0103325909, 0.0166631844, 0.0028835877, -0.0956278816, -0.016321335, -0.0068599042, 0.0316951238, 0.0078228973, -0.0227985997, -0.0032579685, -0.0920851827, 0.0242714006, 0.0345092826, -0.0351583585, -0.0211187527, -0.0201654192, -0.0122521296, -0.0314657725, 0.0031822431, -0.0284486469, 0.0027228314, -0.0116627021, 0.0108532393, -0.0125196464, -0.051795084, 0.0195535291, -0.0406102203, 0.0327848718, 0.0779114813, 0.0114173833, -0.043417275, -0.041544456, 0.0344017111, -0.0064171064, -0.0209371038, 0.0093112066, 0.0227173138, -0.0134817502, 0.0002357802, -0.0330878869, 0.0691017285, 0.0189282987, -0.0665676594, -0.0053311726, 0.0804619938, 0.0282036215, -0.0376306623, -0.0142559232, -0.0406651869, 0.0159086622, 0.0638388023, 0.036520496, -0.0567903817, -0.0173359122, -0.0192324687, -0.0114892395, -0.042031277, -0.0221959837, 0.0152933905, -0.0526600145, -0.0180411953, -0.0397822484, -0.0103534954, -0.0426670909, 0.0009234376, 0.0326659568, 0.0140597662, 0.0305254404, -0.0253857076, -0.046134606, -0.0005794517, -0.0558007807, 0.0057082316, -0.0625193268, -0.0046132482, -0.0112361368, 0.0063598542, -0.0271768831, 0.0044817571, -0.1170346364, -0.084093295, 0.0332876034, 0.046090994, 0.012725085, 0.051730521, -0.0075140893, -0.0598453097, 0.1210832298, 0.0295843035, 0.0054261871, 0.0409217216, 0.0482112169, -0.0551502146, -0.0194806308, 0.0470073856, -0.055788558, 0.0235721078, 0.0818572268, -0.0187716503, 0.0225815587, -0.0271507557, 0.003206793, 0.0165073816, 0.0466923043, -0.0247667879, 0.0124184154, -0.0459741168, 0.0187586825, 0.0290124509, -0.026079867, -0.0220538154, 0.0044805012, 0.058028046, 0.0023506333, -0.0293857027, 0.0893924162, 0.0046370691, 0.0032592104, -0.0344371572, -0.0022495864, -0.005184148, -0.0063815271, 0.0348921008, 0.0116573153, 0.0042246776, 0.0551649146, -0.0151679525, 0.030024942, -0.0072923694, 0.0469805636, 0.0170495585, 0.0144491801, 0.0136655774, 0.0192414876, -0.0191391688, -0.0627242848, -0.0631113797, -0.0042013209, 0.0652146637, -0.0511285476, 0.04262973, -0.0224601906, -0.0237101912, -0.0396220982, 0.019502636, -0.038419921, -0.0594118573, -0.0323878936, -0.0102360686, -0.0267363302, 0.0625815764, 0.0701606944, 0.0113725699, 0.0381535254, 0.0167614538, -0.0295731351, -0.0189841576, -0.0430150405, 0.0115771582, -0.0328023508, -0.0245778132, -0.0052615092, 0.0015977604, -0.0705485344, -0.002419855, -0.0109743392, -0.0016633358, -0.0033739926, 0.009571407, 0.059216354, -0.0183181744, 0.0073273401, -0.0481850915, 0.0290562492, 0.0184673071, -0.0629418492, -0.0044646221, -5.83125499e-33, 0.0370701626, 0.0010155435, -0.0411123559, 0.029119011, 0.0044385865, -0.0108744809, -0.0190199967, -0.0377969295, -0.0076221456, 0.0093857786, -0.0263523012, 0.0030260393, 0.0068414258, 0.03011645, 0.0000196931, -0.0217016134, 0.0421362482, -0.000559401, -0.041068472, 0.0300426167, 0.0203590337, 0.0445803069, 0.0646615028, -0.0916947946, 0.0131866727, -0.0143494671, -0.0419544205, 0.0053843693, -0.0330933966, 0.0432745963, -0.0148050031, 0.0221531149, 0.0140745696, -0.0696524158, -0.0393072441, 0.0139146587, -0.0535876229, 0.032171227, -0.0310229901, 0.029464744, 0.0151570309, -0.0301488712, 0.045886606, -0.0178251266, -0.0178948529, -0.0101509467, 0.0389667489, -0.0132223302, -0.0369701721, -0.0454607233, -0.0413307324, -0.0025626298, -0.0259895399, -0.0268910564, 0.0620326996, -0.0386444405, -0.0059898435, 0.0247017555, -0.091395326, 0.0183414556, 0.018415302, 0.0181311741, 0.0800620466, 0.0223005041, 0.0479276851, 0.0730601996, 0.0248328056, -0.0166590419, 0.0117796864, -0.0132699339, 0.0214055218, 0.0155647071, 0.0151197668, 0.0278906431, 0.0710224137, -0.0392677076, -0.0328000784, -0.0116132079, -0.0543283932, 0.0104738809, 0.0150520289, 0.0467006601, 0.0305597913, -0.0149019519, -0.048028823, -0.0289538354, -0.0245193467, -0.02470644, 0.0395721979, 0.0069009587, -0.0251928736, 0.0285364594, 0.0355020314, -0.0465289019, -0.0459291823, 0.0186300669, 0.0024938392, 0.0110955713, -0.0120498957, -0.0213277098, -0.0880225152, -0.0010802053, 0.0210023876, -0.0645022392, 0.021283919, -0.0114338575, 0.0786955208, 0.0540477261, -0.0396918878, 0.0207120366, -0.019128412, 0.0059447293, 0.0782747045, 0.0520014539, 0.0165838078, 0.014005661, 0.0095151495, 0.0290181898, 0.0300391037, 0.0263533797, -0.0638120994, 0.0019995938, 0.0117814289, -0.0065527041, -0.0199810769, -0.0214172397, -0.0206090808, 0.0447772779, 0.0166188367, -0.0650546029, -0.0164627656, 0.0214367006, 2.489e-7, 0.036034137, -0.0089949099, 0.0191118475, -0.0462148823, 0.0156438891, 0.048696477, -0.0218556449, 0.0573253445, -0.031442415, -0.0050489428, 0.0073325122, -0.002746705, 0.0756751671, -0.0075167529, -0.0955147222, -0.0134204291, -0.0653282776, 0.0016770629, -0.0582930893, -0.010586462, -0.0017816535, 0.1007178128, 0.0588086173, -0.0601303801, 0.0235594697, -0.0573248193, 0.0419083983, -0.0407641828, -0.0011924156, -0.0164438654, 0.0242926385, 0.0124127539, -0.0275962297, -0.0427064672, -0.0350379124, 0.0156840868, 0.0040935236, 0.0603741258, 0.0338676795, -0.0359113887, -0.0510948636, -0.0011438112, 0.0054758983, -0.014666602, 0.066851154, -0.0111547662, -0.0254881904, -0.0352134816, -0.0297636762, -0.0403352529, 0.0153713282, -0.0176340472, 0.0078283064, -0.0090938164, 0.0054290695, 0.0240869336, -0.0475119613, -0.1045348346, -0.0065559745, -0.0214001443, -0.056706503, -0.0024060977, -0.0268548317, -0.0308712088, 0.0273262225, -0.0791988, 0.0753733888, 2.009973199e-34, 0.0104484195, -0.0515900888, 0.0136261899, 0.0125350589, -0.0042275204, 0.0140236868, 0.007169622, 0.0081532458, -0.034361802, -0.050463561, -0.0032666731 ]
http://arxiv.org/abs/2406.10950v1
http://arxiv.org/pdf/2406.10950v1
E-Bench: Towards Evaluating the Ease-of-Use of Large Language Models
2024-06-16T14:08:30
2024-06-16T14:08:30
Zhenyu Zhang, Bingguang Hao, Jinpeng Li, Zekai Zhang, Dongyan Zhao
cs.CL
cs.CL
Most large language models (LLMs) are sensitive to prompts, and another synonymous expression or a typo may lead to unexpected results for the model. Composing an optimal prompt for a specific demand lacks theoretical support and relies entirely on human experimentation, which poses a considerable obstacle to popularizing generative artificial intelligence. However, there is no systematic analysis of the stability of LLMs in resisting prompt perturbations in real-world scenarios. In this work, we propose to evaluate the ease-of-use of LLMs and construct E-Bench, simulating the actual situation of human use from synonymous perturbation (including paraphrasing, simplification, and colloquialism) and typographical perturbation (such as typing). On this basis, we also discuss the combination of these two types of perturbation and analyze the main reasons for performance degradation. Experimental results indicate that with the increase of model size, although the ease-of-use are significantly improved, there is still a long way to go to build a sufficiently user-friendly model.
[ 0.04299514, 0.0183258764, -0.0379326679, 0.0190089643, -0.0798616707, -0.0158864018, 0.0222887658, 0.0153999534, 0.0093406467, -0.0338888355, 0.0002264597, -0.0543193482, 0.010311869, 0.0339276716, 0.03865242, -0.0556374788, 0.0518675558, -0.0358362272, -0.0132952062, -0.0111174211, 0.0256354995, 0.0042623114, -0.007963201, 0.0621290989, -0.015479655, -0.0040635485, -0.0179877616, 0.0157508925, -0.0306207985, 0.0018922759, -0.0127304522, 0.0850075632, -0.0104370024, 0.029839525, 0.0000022189, -0.0685881749, -0.0036256586, -0.0064440039, -0.0645295829, 0.0558709204, 0.0820365399, 0.0144934114, -0.0305102933, 0.0326279141, -0.0109841414, 0.0309898946, 0.0519061014, -0.0285070725, 0.0215854067, 0.0345659442, -0.0135708367, 0.0166358221, -0.0068801311, -0.0194006171, 0.0060710022, -0.0548639745, 0.0261529535, -0.0426178761, 0.0482602939, -0.0078720106, -0.0191413537, 0.032526996, 0.0110398429, -0.0162579697, -0.0094062183, 0.0267992467, -0.0115912016, -0.0328751914, -0.046237193, 0.0726755708, -0.0123110823, -0.031426806, 0.0021662214, -0.031935323, 0.015451408, 0.0197414793, -0.0275829099, -0.0020848012, 0.002776497, -0.0103387209, 0.0117103783, -0.0143279899, 0.0030206051, 0.0241724122, -0.0098612839, 0.0254232809, 0.0559699573, -0.040139243, -0.0243508164, -0.000229356, -0.015722258, -0.0785975307, 0.0343928337, 0.009231573, -0.0694745183, 0.0333709829, -0.0623939522, -0.0580019578, 0.0320835933, -0.0407643616, 0.0678156763, 0.0353127979, 0.0321671963, 0.0382957496, -0.0041311509, 0.0852119327, -0.0079247784, -0.0179253668, -0.0215947405, 0.0272199865, -0.0378056765, -0.0174015611, -0.078617841, 0.0081919152, -0.0347612463, -0.0490684323, -0.037055362, 0.0322055295, 0.0278214756, -0.0219198279, 0.0225088391, -0.003498256, -0.0152602429, -0.0118484441, -0.0287566334, -0.0059506227, -0.0536932535, 0.0250812005, 0.0083610909, -0.1053384468, 0.0029591466, -0.0158357006, 0.0156275034, -0.026104793, -0.0138115678, 0.0355301909, -0.0179947261, -0.0120351976, -0.0363057218, -0.0251544993, -0.0363183357, -0.0337180831, -0.0601136982, -0.0735638216, 0.0493970737, 0.0088137742, -0.0206374712, -0.0503447317, -0.0224818736, 0.0365241654, -0.0273876172, 0.059421733, -0.0136044864, 0.0292072576, 0.0217157342, -0.0218390282, -0.0194064453, 0.0336156934, 0.0219561923, 0.0208667982, 0.0453180335, -0.0182997957, 0.0424147211, 0.0684700385, -0.0155958133, -0.0026031667, -0.0554435737, -0.0206555445, -0.0178577155, 0.0362230092, 0.0140330028, 0.1174688637, -0.018445285, 0.0102539901, 0.0845239237, 0.0544656292, -0.0006796696, 0.0293382406, 0.0714552253, 0.0442356654, 0.0180074796, 0.0089482935, -0.0178039055, -0.009775253, -0.0289410613, 0.0274069756, 0.0238018781, 0.0234770123, -0.0155106504, -0.0182417054, -0.0188654661, -0.0005422766, -0.013127706, -0.0158616193, 0.0209512468, 0.0007086961, -0.0529633835, 0.0367365889, 0.0080470126, -0.0643294081, -0.0192460325, -0.0447245724, 0.0256383326, 0.1070546284, 0.0706031546, 0.0422151648, -0.0089404006, 0.0039694626, -0.0115690269, 0.0481569096, 0.0721362308, -0.0228678808, -0.0078759938, -0.0491139665, 0.0032017163, 0.0277648102, -0.0012843915, 0.0022538386, 0.0193509106, -0.0097309714, 0.0292196441, -0.0173240378, 0.0046849409, 0.0324732587, -0.0536961034, -0.0334950313, -0.0120789334, 0.0033757822, 0.0309579447, 0.0062414813, -0.0102668796, 0.0449559428, -0.0006501706, -0.0258201398, -0.0084215757, 0.0144098466, -0.0564998277, 0.017610237, 0.0493211523, 0.0133074624, 0.0027045324, -0.0026783629, -0.0020220114, -0.0586329587, -0.0202803984, -0.0673853084, 0.0579756014, -0.0553855598, 0.0635603666, -0.021016378, 0.0117938761, -0.0264002923, 0.0600881614, 0.0061146677, 0.0206956528, 0.0500064008, 0.041770149, 0.0097560873, -0.0440640524, -0.0427801721, 0.0051291222, -0.0079599842, 0.0176205114, 0.030319171, 0.0190575309, -0.0360735841, -0.0137311798, -0.0997246355, -0.0082514547, 0.0031063675, 0.0064991657, 0.0239044856, 0.0124974111, -0.0447842926, -0.0079254536, -0.0225893147, -0.0116683459, -0.0036943185, 0.0508083776, 0.0431592241, 0.0151897082, -0.045976609, -0.051353436, -0.0189842544, -0.0131382253, 0.0238291454, 0.0316086635, -0.0275747254, -0.0349689946, 0.0588676557, 0.0071357666, 0.0160510596, 0.0251781326, -0.026053464, -0.0075269686, -0.0146957273, 0.1138754189, 0.0548121296, 0.0230218358, -0.0076174741, 0.027517125, -0.011089514, -0.0572409928, -0.0136162909, -0.0080933478, -0.0426908918, -0.0098242369, -0.0650751218, 0.0134971337, 0.067817986, 0.0216562785, 0.0015064692, -0.0551837273, 0.0409299619, -0.0170146134, -0.0358219594, -0.0465689711, -0.0220679995, -0.0655361563, 0.0252060052, -0.0151682263, -0.0439307243, 0.0704527795, -0.0526036285, 0.0031544464, -0.026614856, 0.0258726776, 0.0004254496, 0.0148535753, -0.0233781319, 0.0347268917, -0.0001242973, -0.0295774806, -0.0461310074, 0.0063541261, 0.0185586084, -0.0291264653, 0.0275113229, -0.0576665848, 0.0302224103, -0.0015348293, -0.0726356134, -0.0334431678, -0.0639687702, -0.0322983451, 0.0016615727, 0.1008267403, -0.0012141017, 0.0338617489, 0.0201379396, 0.0181934182, 0.0501006171, -0.0272035394, -0.0105266562, -0.0296017285, 0.0129959369, 0.0535485074, 0.0038212971, 0.0059885462, -0.0232314151, 0.0134592643, 0.0234236941, 0.028640572, 0.0063860407, -0.0224585719, -0.0016720481, 0.0301913004, -0.055553671, -0.0450412892, 0.0706216991, -0.0049598948, -0.0460464656, 0.0009127044, 0.1110496446, 0.034402661, -0.0534092523, 0.0255183671, -0.0248238891, 0.0359029882, 0.0099198893, 0.0499768853, -0.0650279149, -0.0214398205, 0.0311069377, 0.0229962673, -0.0167262591, -0.022968661, -0.015405166, -0.1613081843, 0.0254218578, -0.0186802018, -0.0079536494, 0.0247253962, -0.0025638246, 0.0057301731, 0.019829521, 0.0339033753, 0.0419574976, -0.0321791768, 0.0165172424, 0.0235095061, -0.0278875213, -0.0761211812, -0.000213032, -0.0377873853, 0.053224057, 0.0453501195, 0.004585519, -0.0016752195, -0.0418017581, 0.0597018935, 0.0226755645, 0.0073585361, -0.0183409993, 0.0155437971, 0.0287714936, -0.0066178921, -0.0408737436, -0.0075473539, 0.0054252581, -0.0123138092, 0.0093828179, 0.0480306, 0.0077831899, 0.0022331378, -0.0172962155, -0.0212667231, 0.0131734572, 0.0717134997, 0.0585646778, -0.060791105, -0.0674415156, -0.0185092483, -0.0219942089, -0.0668874905, -0.0218275581, -0.0177652836, -0.003615889, -0.025877675, -0.0714146867, -0.0228913836, 0.0181491431, 0.0475067608, 0.0482188091, 0.0149125205, -0.0070555122, 0.0009962955, 0.0142190391, -0.0126008317, -0.0216300525, 0.0442002527, -0.1069663167, 0.015364903, 0.0384434275, -0.0004353573, -0.01017424, 0.0232478529, -0.0459938198, -0.0853099003, 0.018324852, 0.060974326, 0.0329885371, -0.0063311178, -0.0263575744, -0.0777027085, 0.0259902291, 0.0312609896, -0.030293528, 0.0356638692, -0.0108627193, 0.0034827902, 0.0009323704, 0.0218242146, -0.0221922193, 0.0093980031, -0.0117333988, 0.0772338137, -0.0149662802, -0.0639791936, 0.0325806588, 0.0598399043, 0.0043452149, -0.0361657664, -0.0025385357, -0.0264074225, 0.007877917, -0.0362397023, 0.0062225545, -0.045508258, 0.009682985, 0.0099587459, 0.0112595242, 0.0042605605, -0.0065570199, -0.0333862901, 0.0160027202, -0.004592468, -0.0058597266, -0.0031319028, 0.0111387437, 0.0629829168, 0.0036743982, -0.0302788299, 0.0312070027, -0.0189124607, 0.024523139, -0.0135027608, 0.0461788736, 0.0017470396, -0.0226074103, -0.0323758014, 0.0370049328, -0.0102616651, -0.043687813, -0.0165920183, 0.0532208346, 0.05186712, -0.010568344, 0.030413324, -0.0344427899, -0.0085027711, -0.0404146276, 0.0194236543, 0.0193126407, -0.0349078663, 0.0204064529, 0.0243374594, -0.0204019602, 0.0031131678, 0.0768155009, 0.0022592789, 0.0094355661, -0.0003316411, -0.0119369635, -0.0366686657, -0.0143222976, 0.0064223767, -0.0206045676, -0.0315802246, -0.0354255065, -0.0894512683, -0.0686874315, 0.0022968973, 0.0496760197, 0.0157185737, -0.0179933608, 0.0795649216, 0.0618918091, -0.0076226816, -0.0055844365, -0.0316865221, 0.0397497453, -0.0356647037, -0.0264201444, -0.0354460962, -6.378163287e-33, -0.0249924846, 0.0068293414, 0.0131067755, -0.0334557295, -0.0062279985, -0.0016465792, -0.0560346618, 0.0272800438, 0.0185206942, -0.0175691582, -0.0640383884, -0.0149336001, 0.0293493047, 0.0034572757, 0.0219231788, 0.0065618861, 0.0572012737, -0.00978998, -0.0274809618, 0.0063678818, 0.0080839349, 0.0294550247, -0.0027318592, -0.0243697688, 0.0147274164, -0.0232999381, -0.0341376029, 0.0019327229, -0.0035265749, 0.0619641617, -0.0256482586, 0.0420370474, 0.0073310547, -0.0228533726, -0.0513783135, 0.0467273146, -0.0208028313, -0.0143091334, 0.050149288, -0.0034517278, -0.0247753076, -0.0435183346, 0.027060708, -0.0215008147, -0.0539595783, 0.0697420165, 0.0104627162, -0.021849744, -0.0432795398, -0.0149661601, -0.0590944774, 0.0059439545, 0.017737899, -0.009021638, 0.0031114197, 0.0339487083, -0.0228597019, -0.0030745703, -0.005398537, 0.0293705817, 0.0613252707, 0.0289306957, 0.083186321, 0.011273344, 0.0246802587, 0.0236025676, 0.0049144886, -0.0052775876, -0.0165134501, -0.0191037282, 0.0377881043, 0.0350212418, 0.0356383696, 0.0698797032, 0.0462879092, -0.0174908377, 0.0105939694, 0.0098077534, 0.0560519509, 0.0134992106, 0.0407988392, 0.0129983695, -0.0616333298, -0.0501346588, -0.0306202509, 0.0259807035, -0.0334436037, -0.0421479195, 0.0594189353, -0.0186281614, 0.005796141, -0.0280902628, 0.0301347598, -0.0130255111, -0.0426587835, -0.0078217024, -0.0158145614, 0.0507986434, -0.0009529856, 0.0200350247, -0.0523792803, -0.0161314644, -0.0206972808, 0.0231413767, 0.0236480758, 0.0262747593, -0.0116226841, 0.0246599354, -0.0741243958, 0.0209674314, -0.0138179176, 0.0037564749, 0.0162342917, -0.0294375699, 0.0462299958, -0.0104944296, -0.0074912356, 0.0278044995, 0.0171302557, -0.0356667861, -0.0166530851, -0.0305322986, 0.0208035447, 0.0355493575, -0.0184870921, -0.0067448136, -0.0362364128, 0.0677164644, 0.0559704937, -0.0412356816, -0.0172057599, 0.0029939627, 2.92e-7, 0.0422878265, 0.0516569875, 0.0515743271, 0.0167818964, -0.0036013343, 0.0158388708, 0.0009382017, 0.0128476545, -0.0128943985, 0.0350512564, 0.0300770719, 0.0134323835, 0.0476984233, -0.0070761023, -0.0935546234, 0.0086011849, -0.0867911801, 0.0516075827, -0.0748905092, 0.0068284427, 0.0412560366, 0.062785171, 0.0016936336, -0.0098146871, -0.0231855661, -0.0519455709, 0.0329245962, -0.0510626957, -0.0046862913, 0.0216544122, 0.0403934792, 0.011377682, -0.0035489092, 0.0244573839, -0.0113178408, -0.0068175313, 0.0188016389, 0.0749547035, 0.0122949304, 0.0158570893, 0.0166183226, -0.0647921562, -0.0172289908, -0.0722501129, 0.0546645895, -0.0212079734, 0.0304504167, -0.0286400188, -0.0079882378, -0.0162714254, -0.0047731367, -0.051990293, -0.0148603721, -0.0101206079, 0.0257827602, -0.0034052555, -0.0140092894, -0.0492483228, -0.0279874429, -0.0051385714, -0.0268996824, -0.0327836461, -0.0390360132, 0.0257277507, 0.0205836762, -0.0452564619, 0.0141494479, 2.984487173e-34, 0.0394005179, 0.0081627443, 0.0614967309, 0.0240904912, 0.0342277251, 0.0139100403, 0.0111849587, 0.0263038538, 0.0087057445, -0.0875414759, -0.0494267978 ]
http://arxiv.org/abs/2406.10937v2
http://arxiv.org/pdf/2406.10937v2
Understanding Understanding: A Pragmatic Framework Motivated by Large Language Models
2024-06-16T13:37:08
2024-06-19T08:34:21
Kevin Leyton-Brown, Yoav Shoham
cs.AI
cs.AI, cs.CL, cs.LG
Motivated by the rapid ascent of Large Language Models (LLMs) and debates about the extent to which they possess human-level qualities, we propose a framework for testing whether any agent (be it a machine or a human) understands a subject matter. In Turing-test fashion, the framework is based solely on the agent's performance, and specifically on how well it answers questions. Elements of the framework include circumscribing the set of questions (the "scope of understanding"), requiring general competence ("passing grade"), avoiding "ridiculous answers", but still allowing wrong and "I don't know" answers to some questions. Reaching certainty about these conditions requires exhaustive testing of the questions which is impossible for nontrivial scopes, but we show how high confidence can be achieved via random sampling and the application of probabilistic confidence bounds. We also show that accompanying answers with explanations can improve the sample complexity required to achieve acceptable bounds, because an explanation of an answer implies the ability to answer many similar questions. According to our framework, current LLMs cannot be said to understand nontrivial domains, but as the framework provides a practical recipe for testing understanding, it thus also constitutes a tool for building AI agents that do understand.
[ 0.0373156704, 0.0303460769, -0.0245445129, 0.0485579595, -0.0418982469, 0.0115211578, -0.0143058291, 0.0009324218, 0.0142433215, -0.0122007178, -0.003441768, -0.0375900269, -0.0228654835, 0.0329560563, 0.0221344698, -0.0482734032, 0.014499478, -0.0547992177, 0.0095942356, -0.0307621676, -0.0363841653, -0.0219317675, -0.017930083, 0.0150011377, 0.0355155431, -0.023527015, -0.0328292847, -0.0218091179, -0.0202479139, -0.0051193051, -0.0484548025, -0.0064691938, 0.0446578115, 0.0092296572, 0.0000021172, -0.0593881309, -0.0023341149, 0.0109474035, -0.0635715276, -0.0023285048, -0.0050665704, 0.0080477819, 0.0145478044, 0.0239199884, -0.0537381135, 0.0078679193, -0.008511981, 0.0292764343, 0.0439069644, 0.0368229933, 0.0247888118, -0.0074761887, 0.0181803238, -0.0081617692, 0.0372202285, -0.1111928448, 0.0500904173, 0.0370497331, 0.0631304234, 0.0059086727, -0.0538071021, 0.0377120152, 0.0359075032, 0.0004660037, -0.0332880244, 0.0432209112, 0.0227144603, -0.0190402605, 0.0194276609, 0.0356871374, 0.0239421241, -0.0055671819, -0.0198929515, 0.0186765976, 0.0047522387, 0.0408681817, -0.0492327549, 0.0504941829, -0.0231767464, -0.0038396949, 0.0034712253, -0.0050175283, 0.0437299013, 0.0214302819, -0.0434066802, 0.0904199854, -0.0248598009, -0.0292606745, 0.0027174167, 0.0045776912, -0.0035472314, -0.0621499978, -0.033496011, 0.070104599, -0.0263977963, 0.0451594554, -0.004060565, 0.0607199632, 0.0224281009, 0.0116106281, 0.0068339212, -0.0037616547, 0.0313101597, 0.0714549124, 0.0065086288, 0.0636619106, -0.0116914241, -0.0102831488, -0.0298517533, -0.033814095, -0.0539908782, -0.0260110889, -0.0160855576, 0.0341257043, -0.0067850808, 0.0205067303, -0.0030170127, 0.0404390059, -0.0287354756, 0.0595118068, -0.0300311241, -0.0321626961, -0.0187621638, -0.0437109396, -0.0636961907, 0.0061278855, -0.067937009, 0.0282784738, -0.0093128812, -0.0557326637, -0.014306386, 0.0001061376, -0.0153168784, -0.0056989179, 0.0049956474, 0.0935144126, 0.0314075202, -0.0212384183, -0.0162599031, -0.0508963987, 0.0037677926, -0.048773054, 0.0163550247, -0.0639735982, -0.0212978628, 0.0085621085, 0.0078481408, -0.0326233022, 0.001325925, -0.0127080632, -0.0191836637, 0.0601338297, 0.0053236876, 0.0548911057, 0.0192804504, 0.0238120183, -0.0117938695, 0.0633381754, 0.028931506, 0.0113209728, 0.0634639263, 0.0133886011, 0.0387135372, 0.0166900773, 0.0106890099, 0.0005533481, 0.0188769996, 0.037205074, -0.0121805817, 0.0261760838, -0.0087865591, 0.0344308019, 0.0119239669, -0.0371033028, 0.0350720733, 0.0552752875, -0.0209979825, 0.005038694, 0.0541580431, 0.0241678767, 0.034124855, 0.0418223329, -0.0374404825, 0.0161025319, -0.0204461962, 0.0118869906, -0.0048153056, 0.0000854117, -0.0397685766, -0.0617640167, 0.0045317137, 0.0090321414, 0.0108616902, 0.0466534682, 0.0786349848, -0.0127842203, -0.0082578603, -0.0098847821, 0.0193063561, -0.021159282, 0.0340117402, -0.0905780122, 0.0790629312, 0.0244819503, 0.0518874452, -0.054400105, 0.0128177889, 0.000735179, 0.0384893976, 0.0367005207, 0.051841788, -0.0260695983, 0.0172109939, -0.0025972023, -0.0070955111, -0.0084051313, 0.0131582236, 0.0020871493, -0.0188165028, -0.0115841748, -0.0249029305, -0.079589285, -0.0150279934, 0.036312297, -0.0434517823, -0.0350835584, -0.0268754121, 0.0111590242, 0.0499691293, 0.0198441558, -0.0326875746, 0.0146171907, 0.0163294263, -0.0380032621, -0.013276713, -0.0077324421, 0.0087614981, 0.014507114, 0.0276936349, -0.0752168521, -0.0508990772, 0.0209924467, -0.0195488334, -0.0469243303, 0.0426532663, -0.0304586627, 0.0124722077, -0.0399282537, -0.0090593975, -0.0412758552, -0.0153278122, -0.0209699273, 0.0717542246, 0.0223750733, 0.000826915, -0.0005661923, -0.0045974702, 0.0323295929, -0.0315464661, -0.0520484038, -0.0081200507, -0.009036595, 0.0339731984, 0.0374793261, -0.0121248215, -0.0651061162, -0.0360549688, -0.0319113433, 0.001024695, 0.0152563071, 0.0144268041, -0.004447592, -0.0148671791, -0.0031811616, -0.0183937754, -0.0358088985, 0.0136694694, 0.006734672, 0.0133750224, 0.0519713685, 0.0277417079, -0.043969322, -0.0027899244, 0.012278161, -0.0366751254, 0.0145527348, 0.0464214943, 0.0311278012, -0.0500231534, 0.0403032675, -0.0020207884, -0.0029955504, -0.016471941, -0.032467939, 0.0347456038, -0.0094360681, -0.0483251028, 0.1037319973, 0.0119568491, 0.0484265834, 0.0368065834, -0.0116928313, -0.0193439648, 0.0164904874, -0.022966614, -0.034185648, -0.0653678179, -0.0628076941, 0.0071730367, 0.0705401525, -0.0134818377, -0.0023181869, -0.0685489774, 0.0318471789, -0.029017156, -0.0313138813, -0.0359426066, 0.0069686803, -0.0020228284, 0.0665014312, -0.0204080064, -0.0202963091, 0.0744475573, -0.017858699, 0.0173698384, -0.0355152339, -0.0097508952, -0.0118756471, 0.1002723649, 0.0066817496, 0.0216994844, 0.0178851392, -0.0027493208, -0.0537281111, -0.0206148438, -0.0050174412, -0.0270398203, 0.0415394567, -0.0798210949, -0.0031078467, 0.0217627473, -0.0181904621, -0.0656289607, -0.0144006517, -0.0597039647, 0.0141071025, -0.0436470918, -0.0225808956, -0.0221253876, -0.0091165593, 0.0396974795, -0.0385544896, -0.0180288702, -0.0209885575, -0.0240437668, -0.0069333739, 0.0274983197, 0.0336967669, 0.0242824331, -0.0618524067, 0.0578454398, 0.0406306721, 0.0275314134, 0.0365533866, -0.0149941854, -0.0051852628, 0.0050636153, -0.0319724493, 0.0014357852, 0.0265696421, 0.0569921359, -0.0315561742, -0.0484549589, 0.1234270036, 0.0166664738, -0.0051991958, 0.0151740396, -0.0350753143, -0.0063626505, 0.0330467038, 0.0625778213, -0.0575244986, -0.028493898, -0.008413163, 0.0458709411, -0.0308527723, -0.0464399159, -0.0032143451, -0.0960960761, 0.0355902165, -0.0165096093, -0.0508944988, -0.0474563017, -0.0502231941, 0.0159904156, 0.0182329379, 0.0083853463, 0.014918332, 0.0106575228, -0.0143011892, 0.0326407291, -0.0220929589, -0.0555329211, 0.0635187998, -0.0388503708, 0.0970334858, 0.0539175384, 0.0572839677, -0.0410849527, -0.0317815393, -0.0237811189, -0.01958354, 0.0113243526, 0.0066046971, 0.0228591729, 0.0120151285, -0.0065960381, -0.017553458, 0.0335604958, -0.0597005971, -0.000378979, 0.0751713961, 0.1033190563, -0.0236899387, -0.0703698024, -0.0097972099, 0.0157581903, -0.0168683045, 0.1020796448, 0.0452794768, -0.0304821339, -0.0309819467, -0.0649044588, -0.0127401156, -0.0120888203, -0.0267922934, 0.0525502823, 0.005315878, -0.010825498, -0.0349344462, -0.0521459207, 0.0508325621, 0.0376050435, 0.0226786919, 0.003548943, 0.0623593256, 0.0089851562, -0.0233411696, -0.0201041531, -0.053013131, 0.0229349807, -0.0375876315, 0.0099634314, 0.0195058603, -0.0469386168, -0.0344900787, -0.0303308628, -0.0440527909, -0.0404670797, 0.0107038375, 0.0187534504, 0.038689699, 0.0025213815, -0.0251670722, -0.0635814667, 0.0024456705, -0.0257628802, -0.0176832415, 0.0267058164, 0.0285023227, 0.0015276523, 0.0145447506, 0.0657502785, -0.0597710386, 0.0291634649, -0.0143730892, 0.026176177, -0.0395802855, -0.0340466797, 0.0379904062, 0.018644033, -0.0214432217, 0.0387222543, -0.0281955302, 0.0013110859, 0.0095717218, -0.0067178048, -0.0176306032, -0.0097918678, -0.0234357845, 0.0070850211, -0.0432901122, 0.021064315, -0.0213096868, -0.055743169, 0.0314145051, 0.0124255046, 0.0157908425, 0.0136322239, 0.0355086289, -0.0124930376, -0.0122074177, -0.006084336, -0.0126905516, -0.0037822062, 0.0511402078, 0.0500176959, 0.0577605069, 0.0278853644, -0.0065256264, -0.0171306562, -0.0255682617, -0.077611059, -0.0796889737, 0.084266372, 0.0591623969, 0.024366444, 0.0125592565, -0.0018392026, -0.048782777, 0.0286785122, -0.0096376212, 0.0019311346, 0.0405839011, -0.0523048416, 0.068121627, 0.0354948603, -0.0047550118, -0.0273824204, 0.0883899406, -0.0126413452, 0.0478695445, -0.0084983278, 0.0073614465, -0.0276152156, -0.0314004347, -0.0069812112, 0.0156658925, -0.0246329289, 0.0484840982, -0.06022688, -0.0782703459, -0.0144397626, 0.0638179854, -0.0084824543, -0.0351734385, -0.0137492232, 0.061025247, 0.0139816822, -0.0146003254, -0.0511883274, 0.0309676137, -0.0198933482, 0.0045453631, 0.0128921885, -6.294554782e-33, -0.0270465016, -0.0358759612, 0.0326089859, -0.0095605506, 0.026874112, -0.0034049004, -0.0666029006, 0.0063930112, -0.0546192452, 0.0374492034, -0.0206764862, 0.0123325111, -0.0031190428, 0.0100763356, -0.0035489472, -0.0200152174, 0.0174464267, 0.0042322432, -0.0129845403, 0.0210025422, 0.013444934, -0.0320181809, 0.0090993335, -0.0525299981, 0.0439083241, -0.0224308129, -0.0145585043, 0.0669027045, -0.0142232273, 0.0442279615, -0.0064312676, 0.0383537747, 0.0420993976, -0.0184297878, 0.0183363017, 0.0298223924, -0.0499051437, -0.0413517244, 0.0408081338, 0.0117640262, -0.0387557112, -0.0328737125, 0.0141884433, 0.0037790982, -0.0087755732, 0.0064268191, 0.0293496344, -0.0402532816, 0.0063967044, 0.0012861989, -0.0158455595, 0.0126434453, -0.0309696551, -0.0440020822, -0.0115843881, 0.0148009658, 0.0067874291, -0.0067085819, -0.010867836, 0.0532511063, 0.00711925, -0.0156903937, 0.076767318, -0.0155598195, 0.0167612862, 0.0530852899, 0.0135250455, 0.0145543385, -0.0008457651, -0.0367788151, 0.0119363125, 0.0184344426, -0.0094879763, 0.0595309101, 0.001424125, 0.0253218934, -0.0867849886, 0.0425643846, 0.0510829091, 0.0507727079, 0.0572977029, -0.0163895544, -0.082467854, -0.0095644258, -0.0604544878, -0.0059749228, -0.0311210919, -0.0180187114, 0.0289202593, -0.0413874649, -0.0215598103, -0.0490759872, 0.0214516204, -0.0914971232, -0.0050811162, -0.0022722082, -0.0025743206, 0.0049985335, 0.0041715424, 0.0576978587, -0.0075323819, -0.0405705795, -0.02517296, -0.04194979, 0.0122785, 0.0171079431, -0.0080224117, 0.0119154807, -0.0164827127, -0.0326258019, -0.0448249951, -0.0069988114, 0.0070754183, 0.0240014531, 0.0399714708, 0.0370752774, 0.0090979692, 0.0169504806, -0.0181130823, -0.0535872951, -0.0296295937, 0.0581289642, -0.0019944608, 0.0019795373, -0.0671053752, -0.0496014282, -0.0445767455, 0.0154157905, 0.0204742812, -0.0549564473, -0.0029402757, 0.0267820079, 2.872e-7, 0.0170950275, 0.0335937701, -0.0045493976, 0.0391253307, 0.0271643642, 0.0536060818, -0.054992836, 0.018389035, -0.0105115315, -0.0170961488, -0.0032992898, 0.0617567934, 0.0327775665, 0.0390170105, -0.0797454715, -0.0229939185, 0.0201871786, 0.0014007633, -0.0235596485, 0.0261739623, 0.0686803982, 0.071685791, -0.0012693625, -0.0055957767, 0.0045776134, -0.0713740364, 0.0231808331, -0.0348471738, 0.0236533079, 0.0335170627, -0.008516049, 0.0299733095, 0.042349875, 0.0729998574, 0.0158185065, -0.0067779711, -0.0259444416, 0.074273333, 0.0118313804, -0.0020968819, -0.0286600552, -0.0529304259, 0.0531284362, -0.0492008999, 0.0609647632, -0.0385322534, -0.0736275613, -0.0269424338, 0.0214091409, -0.0556940772, -0.0559708923, 0.0080768233, -0.0044192127, -0.0021692293, -0.0031170195, -0.0292280912, 0.0251676366, -0.0305547267, 0.0365612507, -0.0475987606, -0.0406757183, -0.0516100265, -0.0215969775, -0.0222108588, 0.0445519723, -0.0566294156, 0.0127652241, 2.340396396e-34, 0.0233719349, 0.0004386992, -0.0033200081, 0.0242116544, 0.0379602015, -0.002063876, -0.0250397995, 0.0150230499, 0.0508989245, -0.0745529532, -0.0127584925 ]
http://arxiv.org/abs/2406.10923v1
http://arxiv.org/pdf/2406.10923v1
Investigating Video Reasoning Capability of Large Language Models with Tropes in Movies
2024-06-16T12:58:31
2024-06-16T12:58:31
Hung-Ting Su, Chun-Tong Chao, Ya-Ching Hsu, Xudong Lin, Yulei Niu, Hung-Yi Lee, Winston H. Hsu
cs.CV
cs.CV, cs.CL, cs.LG
Large Language Models (LLMs) have demonstrated effectiveness not only in language tasks but also in video reasoning. This paper introduces a novel dataset, Tropes in Movies (TiM), designed as a testbed for exploring two critical yet previously overlooked video reasoning skills: (1) Abstract Perception: understanding and tokenizing abstract concepts in videos, and (2) Long-range Compositional Reasoning: planning and integrating intermediate reasoning steps for understanding long-range videos with numerous frames. Utilizing tropes from movie storytelling, TiM evaluates the reasoning capabilities of state-of-the-art LLM-based approaches. Our experiments show that current methods, including Captioner-Reasoner, Large Multimodal Model Instruction Fine-tuning, and Visual Programming, only marginally outperform a random baseline when tackling the challenges of Abstract Perception and Long-range Compositional Reasoning. To address these deficiencies, we propose Face-Enhanced Viper of Role Interactions (FEVoRI) and Context Query Reduction (ConQueR), which enhance Visual Programming by fostering role interaction awareness and progressively refining movie contexts and trope queries during reasoning processes, significantly improving performance by 15 F1 points. However, this performance still lags behind human levels (40 vs. 65 F1). Additionally, we introduce a new protocol to evaluate the necessity of Abstract Perception and Long-range Compositional Reasoning for task resolution. This is done by analyzing the code generated through Visual Programming using an Abstract Syntax Tree (AST), thereby confirming the increased complexity of TiM. The dataset and code are available at: https://ander1119.github.io/TiM
[ 0.03813757, 0.0301512927, -0.0318916291, 0.0769600794, -0.0060463566, 0.0233684666, -0.0066163274, 0.0137258423, -0.0392010584, -0.0469916239, -0.0085327001, -0.0339652337, 0.0084207291, 0.060572315, 0.0086198132, -0.0896567628, 0.0074356077, -0.0343785398, 0.0410184301, 0.0108074816, 0.0143126519, 0.0236757323, -0.0139940828, 0.0439966358, -0.0376689658, -0.0226378087, -0.0031483367, 0.0016627498, 0.0453281514, -0.0315480009, -0.0329917334, 0.0039300811, 0.0861381218, -0.0063557997, 0.0000018231, -0.0650245249, 0.0301116314, -0.0384065099, 0.0145161794, 0.0194268394, 0.0022015681, 0.0077692992, 0.0157111846, -0.0065954565, -0.0354603007, -0.0010450281, 0.0672025084, 0.0028565333, 0.0438146405, 0.0322565362, -0.0309467539, -0.0555293895, -0.0267418865, -0.0086095873, 0.0459722467, -0.0184271429, -0.0113204056, 0.0435001142, 0.0380120277, -0.0198581144, -0.0558951534, 0.0216000136, 0.0397439599, -0.0428777151, 0.0095731579, 0.0463735647, -0.0622748397, -0.0465350039, -0.0023825387, 0.0685592741, -0.0014191648, 0.0187527146, -0.0224861316, 0.0160822049, -0.0021701688, 0.0033662023, -0.0501137264, 0.0426985323, -0.0087759448, -0.0000386861, -0.0164093208, 0.0095547251, 0.0287298076, -0.0194911994, -0.0041164584, 0.0198097639, -0.0012699125, 0.0186124742, -0.0212354455, -0.0236239173, -0.0355292186, -0.0597848184, 0.0146467527, 0.0405964255, -0.0160853602, 0.0176885854, -0.0149718905, 0.0245894138, -0.0511557534, -0.0401581749, 0.0330898017, 0.0453917757, -0.044543907, 0.0571441911, -0.0127358343, 0.0669218823, 0.0008119292, 0.022341283, 0.0102356384, 0.0177522581, -0.0859361961, -0.0245054606, -0.0448867008, 0.0022788437, -0.04036377, -0.0317994095, 0.0044820816, 0.0164803024, -0.0370737538, 0.0170520525, -0.0634329766, 0.030308269, 0.0236209407, -0.0054611042, -0.0626397356, 0.0347883739, -0.054123193, 0.0080678994, -0.0102273971, -0.0360349566, -0.0178196467, -0.0060419743, 0.0005113314, -0.0372089036, 0.0297004972, 0.0635320172, -0.0302952286, -0.005888449, -0.0156853572, -0.0232548155, -0.0213979408, -0.0454746746, 0.0118462658, -0.0652758107, 0.041491922, 0.0010127363, 0.0007858278, -0.0221058968, 0.0234411061, 0.0104334038, -0.0105523197, 0.0935289264, 0.0226780735, 0.0199127123, 0.0069744946, 0.0391889401, -0.0344874673, 0.0553580821, 0.0539617017, 0.042021554, -0.0051577827, 0.0017797308, 0.0328138471, 0.0198613945, -0.0347171687, -0.0011056148, -0.0610635243, 0.0088399742, -0.0201305617, 0.0482767969, 0.0218920726, 0.0376253203, -0.0163516961, -0.0216619633, 0.0446319841, 0.0425583944, -0.0274637919, -0.0154119208, 0.0582375415, 0.0071959631, 0.0080880588, 0.0084589552, -0.042473983, 0.092193, 0.0129551468, -0.0157916732, -0.0507678241, 0.0105143627, -0.0385616384, -0.0263784491, -0.0253631826, 0.0093397712, 0.0133271674, 0.0096099675, 0.017494956, 0.0146493101, -0.0462533422, 0.0159177817, -0.0067059193, -0.048022382, 0.0292867497, -0.022896722, 0.0072613116, 0.0926174, 0.021283526, -0.0138623482, -0.0377058722, 0.0060685626, 0.0359669551, 0.019468924, 0.0118576428, -0.0286309533, 0.0504399613, -0.0449559428, 0.0178748481, -0.0329773501, 0.0083829928, 0.0658929795, -0.0183968451, -0.0106893647, -0.0134746637, -0.030984994, -0.0192038901, 0.0269072335, 0.0244323593, 0.0061371364, -0.0710145906, 0.0362139978, -0.00037436, -0.007167066, -0.0073977369, -0.0195177961, -0.0015119057, -0.0215939507, 0.0098268213, 0.0482805595, -0.0640641823, -0.0269572567, 0.0405523442, -0.0784761533, -0.0426677875, 0.0254201181, -0.011321025, -0.0176369939, 0.045477435, -0.0463422239, 0.0098439716, -0.03803242, 0.0180765986, -0.0047791032, -0.002459706, 0.0127317868, 0.0541423261, 0.0196082201, -0.0178014506, 0.0283082686, 0.0116302678, 0.0119041717, -0.0382649191, -0.0078476248, 0.0214817785, 0.0082161529, -0.0216357689, 0.0112556685, -0.0013463544, -0.0506601296, -0.0110343955, -0.0615159348, -0.0093212305, 0.0019105294, -0.0254373718, -0.0069837258, 0.0007201266, -0.0130164521, -0.0205262043, -0.007718178, 0.0053167525, -0.0142574506, 0.0131651778, 0.0165066347, 0.0351195894, -0.0610886551, 0.0072510806, 0.0054550334, -0.0314038694, 0.0568113402, 0.0210145023, -0.0185632762, 0.0097917253, 0.0074026245, -0.0100611635, 0.0128520485, -0.0375007465, -0.0243980605, 0.0445571467, -0.0010294608, 0.0062431828, 0.0559651926, -0.0091110514, 0.0447029658, 0.0560657494, -0.0478609689, -0.0095983827, 0.0309955329, 0.0371531248, -0.0499163195, -0.0380523801, -0.0405955575, -0.0396456234, 0.0217308924, -0.0232157689, 0.0574568473, -0.0939315706, 0.0471530817, 0.0279737562, -0.0341561511, -0.0182812624, -0.0459562801, -0.008440054, 0.0733149126, -0.0437750481, -0.021986749, 0.0739067942, -0.0518771298, -0.0536747985, 0.0117365811, 0.0303206034, -0.0115412036, 0.1297941208, 0.0156243825, 0.0275620576, -0.002051245, -0.0527121089, -0.0613684691, -0.0134447962, 0.0470824242, 0.0146698784, 0.0507916175, -0.0610573441, -0.0128149064, -0.0000142355, -0.0041799997, -0.0302350819, 0.0087763546, -0.0607605278, -0.0100239404, -0.0354176685, -0.0392076001, -0.0035664842, 0.0304883458, 0.0188299827, -0.0038101997, -0.0082527315, -0.0158001687, 0.0149527267, -0.0201785788, 0.0480272137, 0.0243598651, -0.0301921833, -0.0366127603, 0.0920020044, 0.0430344865, 0.0023489853, -0.0299331546, -0.0650058314, 0.0713763312, 0.0078172069, 0.0209041052, -0.0182082802, 0.0123462891, 0.0828773975, -0.0797442943, 0.0050339997, 0.0983682647, 0.0094219903, -0.0325528383, 0.0068052355, -0.0200959537, 0.0189845022, 0.0757087767, 0.0249813013, -0.1038415432, -0.0432546586, -0.0061673773, -0.0056268098, 0.0173640102, -0.0340975262, -0.0395301431, -0.1062308997, 0.1095143929, 0.0182596333, -0.0291864965, -0.0163455438, -0.0031142943, 0.0127300574, 0.0163500868, -0.0232116207, 0.0079220515, -0.0160105526, 0.0021047485, -0.0072487732, 0.0056376145, -0.0130590741, 0.0861653164, -0.0310106929, 0.0088992221, 0.0279630553, 0.0293685086, -0.0020617421, -0.0419752859, 0.0057563479, -0.0140301399, 0.0363095328, -0.012035965, 0.0510002002, -0.02677821, -0.0392033495, 0.0068423683, 0.0274264384, 0.0017571428, -0.0696443915, 0.0050848792, 0.0847561359, -0.0400963277, -0.0053628623, -0.0226319581, 0.0311261974, -0.0355836377, 0.0562591366, 0.0379677154, 0.0060516815, -0.0250255931, -0.0026151577, -0.0395546742, -0.0528154634, -0.0361625105, -0.0022681847, 0.0071376753, -0.0105612548, -0.0165060703, -0.0084545156, 0.0891025811, 0.067965813, -0.0093888268, -0.0199932326, -0.000515905, 0.0329252407, -0.0798192173, 0.0553302057, -0.014172242, 0.017768342, 0.0104876822, 0.0017110142, -0.0162086822, -0.0475758873, 0.0013055075, 0.0108181266, -0.0244115498, -0.0668496415, -0.0179815423, 0.0438092649, 0.0310056377, 0.0606718957, 0.0321272686, -0.0445336811, -0.012956962, 0.0048889327, -0.0033981749, 0.033083111, 0.0030817979, -0.0335384272, -0.0063139698, 0.0294075552, -0.0417387933, 0.0114895897, 0.0017894141, 0.0287055429, -0.0265358016, 0.0358479954, 0.0281392951, 0.0108033596, 0.0229073092, -0.0322844498, -0.0057031582, -0.0354267955, -0.0135499341, -0.0228036363, 0.0021130005, -0.0651999041, 0.0065059825, 0.0151183549, 0.0188431069, 0.0128953848, -0.0082508689, -0.0275718141, -0.0064999135, 0.0133353835, 0.021027416, 0.0349878222, -0.0250527952, 0.0311138593, 0.0391840562, 0.0040684808, 0.0098668439, -0.0328940526, 0.0660420731, 0.0271634385, 0.0575980842, 0.0330211781, -0.0138550121, -0.020559527, 0.0300169177, -0.0425485745, -0.0900906399, 0.0460234508, 0.0137748066, 0.0483277403, -0.0516913682, -0.0214263946, -0.0537689701, 0.0184072368, 0.0188736711, 0.0319670103, 0.001294811, -0.0736783221, 0.0582933091, 0.0485075898, 0.0011774866, -0.0211383384, 0.0494442768, -0.0247467272, 0.0327604897, 0.020162221, -0.035341654, -0.0001233303, -0.0185067821, 0.0205951575, 0.0323042981, 0.0033509647, 0.005174018, -0.0493843704, -0.0820661485, -0.0388442799, -0.0093270838, 0.0152285965, 0.0058462662, 0.0298294313, 0.0517437272, 0.0170290601, -0.0305919219, 0.0107036689, -0.0183730796, -0.0310379341, 0.007008303, -0.0155427847, -5.451601906e-33, -0.0437267832, -0.0200155582, 0.0255386401, 0.0241043027, -0.0496247783, 0.0090703312, -0.0556650236, 0.0271942634, -0.0064641344, 0.0422246084, 0.0179591421, 0.0137759726, 0.000375369, -0.0024577174, 0.013575756, -0.0264742952, 0.0209344253, 0.0199687853, -0.0502918288, -0.0178880654, 0.0353572667, 0.006078199, 0.0451726317, -0.0487388298, -0.0422622152, 0.0262192227, -0.0294945799, 0.0452942662, 0.0042373538, 0.0704474002, 0.0225498192, -0.0028791029, 0.0273377541, -0.0172504447, -0.0066249128, 0.027041031, -0.0513352342, -0.0147884954, 0.0587527677, 0.0399014167, -0.0352616981, -0.0165739823, 0.0238981117, -0.0104781687, -0.0125122042, -0.0649519339, 0.047366932, -0.0488119423, 0.0727516338, 0.0277796052, -0.0529468767, -0.0128059592, -0.0491428971, -0.0565059893, 0.0449847542, 0.0175616071, 0.0018221317, 0.0054953252, -0.0419966467, 0.0376854837, -0.0637376159, 0.0139601585, 0.0764935017, 0.0428355224, -0.0002071968, 0.0716345087, 0.050959006, -0.0275469981, -0.0628989041, 0.0144403707, -0.0034477576, 0.0940089002, 0.0219958778, 0.0082927877, 0.0357047543, 0.0132969134, -0.0459196381, 0.0025486313, -0.080479838, 0.0900466219, 0.0200593993, 0.0520786047, -0.003508924, -0.0114773242, -0.0320256464, -0.000140465, -0.0261731502, -0.051095061, 0.0251885392, -0.0385499261, 0.0092730299, -0.0019745806, 0.0478498079, -0.0348207429, 0.0323043466, -0.0031764149, -0.0472701378, 0.0605133809, 0.0178480223, 0.0390071273, 0.0106520997, 0.0214825366, 0.0476921946, 0.0104274666, 0.0570573546, 0.0280214623, 0.0101900557, 0.0521763526, -0.0078201322, -0.0250025205, -0.0483401716, 0.0003761214, -0.0330644324, 0.0316917896, 0.0169817917, 0.0387365855, -0.0453608707, -0.0017004235, -0.0308469906, -0.0183586702, -0.0486971438, 0.0116920369, -0.0346563719, 0.0257141665, -0.0473095886, 0.005210544, -0.0410610847, -0.056622792, 0.0278391186, -0.0631942153, -0.0382294767, 0.0190117229, 2.682e-7, -0.0070550996, 0.0285875052, 0.0089455098, 0.049423717, 0.0021521915, 0.0628340617, -0.0264120083, 0.00091526, 0.0530307703, -0.0847714022, 0.0117703946, 0.0785606131, 0.0123562766, 0.0061832359, -0.0424422696, 0.0131550347, -0.0241378229, -0.0467770658, -0.0471621118, 0.0081503745, 0.070906572, 0.0358109623, 0.0307931732, -0.0158740226, 0.0302571878, -0.0705778599, 0.0441715084, -0.0259454492, -0.0184151419, -0.0030540416, -0.016930867, -0.009834487, -0.0068025421, 0.035628397, -0.0081743663, -0.0395584852, 0.0087458109, 0.0246624872, -0.0531162545, -0.0039605605, -0.0390628576, 0.042035982, -0.0371840447, -0.0520709306, 0.0525676273, -0.0068291775, -0.0387190953, -0.0065267915, -0.028284166, -0.0138572734, -0.0372180454, 0.0081099011, 0.0068105659, 0.0164323207, 0.0185682494, -0.0142392293, -0.0235461872, -0.0987792611, -0.0059415214, 0.0143211763, -0.0290405713, -0.0159167107, -0.0322651789, 0.0038801047, 0.0421810895, 0.0024271344, -0.0646284372, 2.265326617e-34, 0.0046102637, 0.0004298652, 0.023342425, -0.0077718957, 0.0581738614, -0.0006596855, -0.0202852301, 0.020677289, 0.0230039861, -0.0349787995, -0.0338221006 ]
http://arxiv.org/abs/2406.10922v1
http://arxiv.org/pdf/2406.10922v1
Generating Tables from the Parametric Knowledge of Language Models
2024-06-16T12:55:55
2024-06-16T12:55:55
Yevgeni Berkovitch, Oren Glickman, Amit Somech, Tomer Wolfson
cs.CL
cs.CL, cs.AI, cs.DB
We explore generating factual and accurate tables from the parametric knowledge of large language models (LLMs). While LLMs have demonstrated impressive capabilities in recreating knowledge bases and generating free-form text, we focus on generating structured tabular data, which is crucial in domains like finance and healthcare. We examine the table generation abilities of four state-of-the-art LLMs: GPT-3.5, GPT-4, Llama2-13B, and Llama2-70B, using three prompting methods for table generation: (a) full-table, (b) row-by-row; (c) cell-by-cell. For evaluation, we introduce a novel benchmark, WikiTabGen which contains 100 curated Wikipedia tables. Tables are further processed to ensure their factual correctness and manually annotated with short natural language descriptions. Our findings reveal that table generation remains a challenge, with GPT-4 reaching the highest accuracy at 19.6%. Our detailed analysis sheds light on how various table properties, such as size, table popularity, and numerical content, influence generation performance. This work highlights the unique challenges in LLM-based table generation and provides a solid evaluation framework for future research. Our code, prompts and data are all publicly available: https://github.com/analysis-bots/WikiTabGen
[ 0.0283533987, 0.0694210529, -0.0208703522, 0.0177573804, -0.0230281223, 0.0445379242, -0.019483747, 0.0508892871, 0.017347822, -0.0240716878, -0.0191041753, -0.0233341921, 0.0152905006, 0.044758331, 0.0389981531, -0.0146380179, 0.0101519283, 0.0041448656, -0.0254043993, -0.000399306, 0.0083363708, 0.0031304467, -0.0366071686, 0.0094713597, -0.008868495, 0.0101400083, -0.030565789, -0.026663674, -0.0328688249, 0.0064164926, 0.0081487913, 0.0917687416, -0.0073185381, 0.0327948816, 0.0000021523, -0.0015653226, -0.0325028598, -0.0170728955, -0.0181688257, -0.0009961023, 0.0615999103, -0.0509565249, -0.0060025104, -0.0099802101, -0.0458287187, 0.0050084046, 0.0277303103, 0.0199230462, 0.0542176254, 0.0623425022, 0.0034606438, -0.0320867747, 0.0038018285, -0.0174714923, 0.0551429354, -0.0252420586, -0.0024522755, 0.0386236534, -0.0019263782, -0.0209800806, 0.0213818662, 0.0412073806, 0.0168839339, -0.043625664, 0.0137119992, 0.0416845456, -0.0534570105, -0.0086614378, 0.0063784886, 0.0968194529, 0.0261181965, -0.018961072, 0.0321826711, -0.0021512869, 0.023092648, 0.0095662931, -0.0585879348, 0.0244896896, -0.0073727928, -0.021631401, -0.0015421055, -0.0143832713, 0.0111013381, -0.0078709656, -0.0118845431, 0.0587531887, -0.005903169, -0.0289628059, -0.0155609669, -0.0026858337, 0.0005032969, -0.073935017, -0.0061928006, 0.0320481025, -0.0303908046, 0.0270787776, -0.0222264081, -0.0522779971, 0.0431498252, -0.0558396652, 0.0071403976, 0.0404831655, 0.0175424274, 0.0084349522, -0.0287523121, 0.0313565098, -0.0134886475, -0.0057945885, -0.0310484972, 0.0025543186, -0.0509073026, 0.0080949841, -0.0176455379, 0.0240966715, -0.0479433686, 0.011850398, -0.0269795712, 0.0118098054, -0.0234155525, 0.0714603141, 0.0249322336, 0.0048199021, -0.0284277815, 0.0020148824, -0.0520478562, -0.0269175824, -0.0336466767, -0.0171554349, -0.0066991826, -0.0661506653, 0.0168177076, 0.0024437846, 0.019223446, -0.015624403, 0.0262369849, 0.0851318613, -0.014487436, 0.0255075879, -0.0220458638, -0.0541424565, -0.0228795689, -0.0651347116, -0.0074732392, -0.079973653, 0.0661452413, 0.0313149355, -0.0136273857, -0.078026861, 0.0225803014, 0.0271214377, -0.0280061495, 0.0554586872, -0.0394444987, 0.0206974465, 0.0052729552, -0.0232060365, -0.0419587083, 0.0805669799, 0.0431356765, 0.0236791987, 0.0157204084, -0.0121191852, -0.0169808064, 0.0515717119, 0.0395612456, 0.0096140886, -0.0089811506, 0.0372026451, 0.011196184, 0.0328732207, -0.0039652064, 0.0142423315, -0.0014187993, 0.0484726056, 0.0505955666, 0.0369870588, 0.0100778379, 0.0759778246, 0.0316131413, -0.0108476067, 0.0533511043, 0.015755374, -0.0216116849, 0.0137195662, 0.0025897662, 0.0303560141, 0.0370501727, 0.0079443194, 0.0063489419, -0.0233341195, 0.0145946303, -0.0086078467, -0.0042470577, -0.0250535831, 0.0423397385, 0.010187651, -0.0448245369, 0.0555921011, 0.0256503019, -0.079254441, -0.0146942427, 0.001449898, 0.0385819487, 0.0907915011, 0.0467496403, -0.0449568816, -0.0168874431, 0.0070949425, 0.006694675, 0.0599392802, 0.0655038208, -0.0491129644, -0.0264121741, -0.0148693603, -0.0183812063, 0.0174721777, 0.023685677, -0.0212524142, 0.0379937142, 0.0085063428, 0.0339307636, -0.065085575, -0.0493156426, 0.0213052873, -0.0108656343, 0.0137272514, -0.0214705579, -0.0119874598, 0.0072077117, 0.0446775183, 0.0050663268, 0.0521423705, 0.0357570611, -0.0346784331, 0.0195443965, -0.0035110204, 0.0071142702, -0.0061371345, 0.0431345589, 0.0178488418, -0.0605178773, -0.014691921, -0.0288528129, -0.0339681581, -0.0000240254, -0.0178513471, 0.0094667245, -0.0036250153, 0.0090206834, 0.0063049817, 0.0004926416, 0.0163146667, 0.1075533479, 0.0036315559, 0.0333918706, 0.0399938226, -0.0769015625, 0.0048663146, -0.0238060262, 0.0379437655, -0.0061184955, 0.0017545935, 0.0237974003, 0.0270840898, 0.0184548963, -0.0806518346, -0.0116370693, -0.1039407849, 0.0194098279, -0.0250287093, 0.0372583084, 0.041051127, -0.017069079, -0.0205108318, -0.002739528, -0.0627894253, 0.0074363272, -0.0045210659, -0.0023005072, 0.0664297044, 0.0135594672, -0.0197824854, -0.0401255749, -0.0049145292, -0.0259628352, 0.0193016101, 0.0284759216, -0.0189087633, -0.00459813, 0.0088900998, -0.0115576526, 0.0058294856, 0.0346233062, -0.0040822788, 0.0025071988, -0.0232621003, 0.0527703278, 0.0023334192, 0.0158586986, 0.0341447555, 0.0121403076, -0.0321730711, -0.0306804776, 0.009549994, -0.0115952743, 0.0043286965, 0.0092377132, -0.0884059891, 0.0305966828, 0.0550767891, -0.0143588772, 0.0115019185, -0.0602954179, 0.035106726, 0.0083682472, 0.0163594838, -0.0862614512, 0.0628546923, -0.0055272607, 0.0486190729, -0.0056343819, -0.0032293734, 0.0120709259, -0.0652310327, 0.0295722, -0.0041214903, 0.0051047583, -0.0306350663, 0.0651519597, 0.0241879337, 0.0115549779, -0.0040333024, 0.0193779953, -0.0522987619, 0.0299914386, 0.0350741744, -0.0482948534, 0.0968459547, -0.0592546389, 0.0241300054, -0.0219174121, -0.0192276184, -0.0213670414, -0.0536387824, -0.0236699302, 0.0041426257, 0.0570580065, -0.0494679287, -0.0136283692, -0.0343334675, 0.0395701453, 0.033769384, 0.0111312596, -0.0231363401, -0.017056372, 0.055564791, 0.0536771975, -0.0084571885, -0.0369044691, -0.019084407, 0.0291913375, 0.0503867194, -0.0019923681, 0.0285217836, -0.0009375027, 0.0095098605, -0.0164414719, -0.0384649225, -0.0170986596, 0.0332769156, -0.0327394381, -0.0388562977, 0.0209206436, 0.1104807034, 0.0167563483, -0.0225554425, -0.0083693573, -0.0167437661, 0.0304114688, 0.0083014388, 0.0352118574, -0.1021207422, -0.0035988274, -0.0075627151, 0.0259344578, 0.0001013277, -0.0677017868, -0.0317277499, -0.1024581641, 0.026732821, -0.0212980509, -0.050349135, -0.0782190487, -0.0414976925, -0.0160077233, -0.026797615, -0.004775906, 0.0600425191, -0.0111888377, 0.0459512547, 0.0030036049, -0.0668368489, -0.0602666102, 0.0094098598, -0.036408484, 0.0458827019, 0.0310215391, 0.0355707444, -0.0350904129, 0.0106368316, -0.0189259723, 0.0276559554, -0.0195129737, 0.0051051551, 0.0716947615, 0.0258548316, -0.0232164897, -0.0119191715, -0.0010596102, -0.0458488353, -0.0017700944, 0.0365550816, 0.0518067628, -0.0072443448, -0.0012789808, 0.0231988095, -0.014505255, 0.0130153084, 0.0760574043, 0.0484924875, 0.000596308, -0.0156995971, -0.0546212383, -0.0298226885, -0.0750469863, -0.0158564113, 0.0319134183, -0.0209991727, -0.0382166095, -0.0896267593, -0.0362614058, 0.0619465597, 0.0270093307, 0.0157301817, 0.0369170643, -0.0062542106, -0.0243255626, -0.0566384047, -0.0259539261, -0.0556156598, 0.0081217876, -0.0177119728, -0.0689213425, -0.0009703746, -0.0228882376, -0.0221786425, 0.0301601421, -0.0659013689, -0.0376319028, 0.0005466005, 0.0243361518, 0.0275867414, -0.0018139936, 0.0109867109, 0.0224812273, 0.0023586974, 0.0379722565, -0.0617379434, -0.041744452, -0.0244879983, -0.0147317555, -0.0017462423, 0.0377568118, -0.0507112406, -0.0206018426, -0.0425322019, 0.0353034586, -0.0003846445, 0.0142079806, 0.0486574471, 0.0584099032, -0.0406226777, -0.0005889309, -0.0549581088, -0.0155691551, 0.009615818, -0.0655799955, -0.0398998223, 0.0005948765, 0.0028041662, 0.0113927964, -0.0250355471, 0.0120495502, 0.0327694491, -0.0050285701, 0.0256755948, -0.0242627133, -0.0141553963, 0.0128673809, 0.0086744512, 0.066008985, -0.0552675463, -0.0104503632, -0.0189568438, -0.0117579512, 0.0253414419, -0.030751368, 0.0066862702, 0.0090535562, -0.0690737814, -0.0238882191, 0.0434777401, -0.0117895706, -0.0768217519, -0.0296214167, 0.0231646504, 0.0396326371, 0.0000400154, 0.0261115301, -0.0706753805, -0.0279992074, 0.0024640858, 0.0249670632, 0.052731812, 0.0089268731, 0.0127587607, -0.0020391906, -0.0220182426, -0.0531126894, 0.1251796335, 0.0491856821, 0.0253086034, 0.0091041457, -0.0312758386, -0.0604886524, -0.0158870723, -0.0163182337, -0.0293179899, -0.0327236652, -0.0298883915, -0.0460614674, -0.0683168769, 0.0140725644, 0.0346198678, -0.0380668789, 0.0122437561, 0.026924666, 0.0629131123, 0.0345004871, 0.0291330554, -0.0565748997, 0.0731381625, -0.0235819146, -0.0366616286, -0.0103872651, -6.491461841e-33, -0.028767027, -0.0501014516, 0.0162034817, -0.0320004188, 0.0142721692, -0.0253374428, -0.0536231883, 0.0119417608, 0.0117986575, 0.0164085533, -0.028008623, 0.0158124678, 0.0160161573, -0.0173133127, 0.0318324156, -0.0526884049, 0.0172934271, -0.0173594747, -0.0278559141, 0.0196090322, 0.0094626909, 0.0260406863, 0.0330040753, -0.020370597, 0.0652896091, -0.0225422028, -0.0051394543, -0.024177229, 0.0185770672, 0.0249709487, -0.0409252755, 0.0556429215, 0.0273746662, -0.0514517277, -0.0354546867, -0.0125059094, -0.0850312933, -0.0237880759, 0.0036023341, 0.0007422778, -0.0334971771, -0.0372890756, 0.0312308911, -0.0114067653, -0.0084288949, -0.0003322029, 0.0261332393, -0.0360349566, 0.0122694839, 0.0172945242, -0.0067691365, 0.0338817164, -0.0010227535, 0.0145025617, 0.0470800586, 0.0331434645, 0.0442440696, -0.0027820496, -0.0406999066, 0.0297682453, 0.0189930666, 0.0406325087, 0.0819356367, -0.0466071405, 0.0306507107, 0.0355828181, -0.0009292922, 0.0495442413, -0.0519742072, 0.021876784, -0.0551466793, 0.0667960644, 0.0377012901, 0.0404966883, 0.0109434845, -0.0269271601, -0.0399248414, 0.0787890032, -0.0050009009, 0.0110931257, -0.0237555429, -0.0400818847, -0.0238122419, -0.0194878541, -0.0170716234, -0.0024059305, -0.033752095, -0.0197681822, -0.0022302256, -0.0192374233, 0.0009095382, -0.0361224413, -0.0281605683, -0.0024467185, -0.0485087782, 0.0460448004, -0.0227677375, 0.0062390668, 0.0159325562, -0.0198954772, -0.0189098828, -0.0231026374, -0.0077285054, 0.0084249806, 0.0419201888, 0.0673075169, 0.0260677319, 0.0326950178, -0.0518390276, -0.0006203411, -0.0382346846, 0.0448417626, 0.0180354882, -0.0147754522, -0.0030350678, 0.0111785093, 0.005192209, 0.011880599, 0.048093576, 0.01074309, -0.0001399932, -0.0028761297, 0.0162328128, 0.0062875524, 0.0146535859, -0.0161804911, -0.0476447046, 0.030780213, 0.0391782224, -0.0087542804, 0.00538621, -0.0190236978, 2.643e-7, 0.0899059996, 0.0289172828, 0.0394679308, 0.0585021339, 0.0158702303, 0.0167400092, -0.0251841396, -0.0086605418, -0.0707362667, -0.0636134893, 0.029230576, -0.0237037167, 0.0712500662, 0.0546542928, -0.0496289171, -0.0567054488, -0.0704985633, -0.0281455442, -0.0670805871, 0.0092589781, 0.037494801, 0.0491664559, -0.040721152, -0.0180613287, -0.0098323189, -0.0289747734, 0.0365996137, -0.0623626672, 0.0245688558, 0.0507504195, 0.0574694462, -0.0175425913, -0.0024909044, 0.0527325608, -0.0468225591, -0.0237540919, 0.0022837648, 0.0590160377, 0.018034162, 0.056606628, 0.0128108356, -0.1014924571, 0.0378235169, -0.0910434052, 0.0629702732, -0.0163614638, 0.0051125516, 0.0549430884, -0.0077100727, 0.0180712156, -0.0071846657, -0.022289943, -0.0239701923, 0.0193450265, -0.0022816395, 0.0034524959, 0.0062642195, -0.0079977019, -0.0484330244, 0.021926485, -0.0446507894, -0.0299101286, -0.0283199679, -0.0390440188, -0.0051312493, -0.0410568118, 0.0166037232, 2.474793052e-34, 0.0425802916, 0.0182868149, 0.0138127161, 0.0324722938, 0.0689096004, -0.0460602567, 0.0041732215, 0.0108125461, -0.0106695183, -0.0763168186, -0.0174091477 ]
http://arxiv.org/abs/2406.10918v3
http://arxiv.org/pdf/2406.10918v3
Embodied Question Answering via Multi-LLM Systems
2024-06-16T12:46:40
2024-06-25T10:50:09
Bhrij Patel, Vishnu Sashank Dorbala, Dinesh Manocha, Amrit Singh Bedi
cs.LG
cs.LG, cs.AI, cs.CL
Embodied Question Answering (EQA) is an important problem, which involves an agent exploring the environment to answer user queries. In the existing literature, EQA has exclusively been studied in single-agent scenarios, where exploration can be time-consuming and costly. In this work, we consider EQA in a multi-agent framework involving multiple large language models (LLM) based agents independently answering queries about a household environment. To generate one answer for each query, we use the individual responses to train a Central Answer Model (CAM) that aggregates responses for a robust answer. Using CAM, we observe a $50\%$ higher EQA accuracy when compared against aggregation methods for ensemble LLM, such as voting schemes and debates. CAM does not require any form of agent communication, alleviating it from the associated costs. We ablate CAM with various nonlinear (neural network, random forest, decision tree, XGBoost) and linear (logistic regression classifier, SVM) algorithms. Finally, we present a feature importance analysis for CAM via permutation feature importance (PFI), quantifying CAMs reliance on each independent agent and query context.
[ 0.0329034552, 0.0287618488, -0.0191501826, -0.0047562006, -0.0172345098, 0.0134658813, -0.0076764408, -0.0429134294, 0.0376555212, -0.0651182458, 0.0124540888, -0.0549417883, -0.0309026539, -0.0024588041, 0.0194594935, -0.0330721401, 0.0287918635, -0.0224861968, -0.0088569382, -0.0551712625, 0.0039385045, 0.0133520011, -0.0113546718, 0.0468543582, -0.0190526135, 0.016150482, -0.0633175522, -0.0319355167, 0.0554723628, -0.0126535697, 0.0060446835, 0.024571728, 0.0478830412, 0.024680797, 0.0000019986, -0.0406118594, -0.0294400696, -0.0018836282, -0.0149246687, -0.0383749753, -0.0051850979, 0.0598684214, 0.0272025503, 0.0287563428, -0.0795898288, -0.014906765, 0.0675147474, 0.0227126107, 0.0621991456, 0.0376095362, 0.0096495245, -0.0356226414, -0.007567306, 0.0163335223, 0.0321941786, -0.0233169422, 0.017192889, -0.0180642568, 0.0246530268, -0.0156835243, -0.0288539138, 0.0180306714, 0.0184784867, -0.0171492472, -0.001747249, 0.0244580861, -0.0297602564, 0.0084621403, -0.0054917578, 0.0910155252, 0.0191536378, 0.0134365661, -0.0012984234, 0.0347958282, 0.017007418, 0.0254911985, -0.0559774041, 0.0267765727, 0.0090064956, 0.0011232436, -0.046624206, -0.0078098974, -0.0013193549, 0.0419916548, -0.0519225635, 0.0772993192, -0.0275183767, -0.015711667, -0.0056788186, -0.0181002952, -0.0227250792, -0.0423782319, -0.0159407556, 0.0731512159, -0.0193514265, 0.0379456729, -0.0038402362, -0.0095365979, 0.005897407, -0.0559352748, 0.0318895504, 0.0284468904, 0.0457165726, 0.052883368, 0.0095010437, 0.0480795652, -0.0020977065, 0.0349357538, -0.0269330144, -0.0141362045, -0.0870578215, -0.0392937474, -0.0148431715, 0.1089065075, -0.0517347082, -0.0123911509, 0.0137840174, 0.0321398154, 0.0030323023, -0.0253117383, 0.003176783, 0.0996307135, 0.0317629538, 0.0370127372, -0.0510512106, 0.0168923493, -0.0474314876, 0.0548348092, -0.0095523521, -0.0552493669, 0.0275727659, 0.0172647033, 0.0193618797, -0.0138566932, -0.0097724283, 0.0480601452, -0.0034809697, -0.0234286431, 0.0100766234, -0.0426936708, -0.0076895705, -0.0492645316, -0.0243361015, -0.0858256295, 0.0451453812, -0.0055250628, -0.0043248371, 0.001228287, 0.0360479094, 0.0221788213, 0.0012177104, 0.057834994, 0.025499301, 0.0539455004, 0.0936536342, -0.0105066309, 0.0194177162, 0.0414892547, 0.0520689674, 0.0142967701, 0.021682702, -0.0036122676, -0.0025111854, 0.0116786007, -0.0283544995, 0.0091281235, 0.0476497486, 0.0254246555, -0.0181798022, 0.0126652075, -0.0351307839, 0.0574471094, -0.0238658041, -0.0291300006, 0.0812254548, 0.0791162178, -0.0303970631, -0.0403824486, -0.0045510973, 0.0307692662, 0.0268749185, -0.0103630982, -0.017508544, 0.0526343323, -0.0279124007, -0.025251735, 0.0227932762, -0.0003441583, -0.0348085873, -0.0321850479, 0.0083786631, -0.0032654887, 0.0209418628, 0.0504454449, 0.0359297507, -0.0415379815, -0.0173574854, 0.0189216007, -0.0219708662, -0.0488072149, -0.0175564457, -0.0416192934, 0.0603468306, 0.0408144705, 0.0123647107, -0.0022340354, 0.0061733965, -0.0147312442, 0.043011412, 0.0215847772, -0.0105000073, -0.0186274927, 0.0300593078, -0.0028081546, -0.0511996336, 0.0031538862, -0.0202256776, 0.0492090955, -0.0007918921, -0.0062323934, -0.0136289252, 0.0133749368, -0.0386184715, 0.018223267, -0.0161353517, 0.0004666548, 0.0068325102, 0.0103125935, 0.0379114561, 0.0253731087, -0.0384665541, 0.008783347, 0.055290211, -0.0493015423, -0.0802922472, 0.0066753654, 0.0095905242, -0.0289757326, 0.0456926003, -0.0342307463, 0.0202978924, 0.0452008098, -0.0384219736, -0.0441576019, -0.00162236, -0.0690833107, 0.0191032682, -0.0693778172, -0.0419331975, 0.0085631395, 0.0061873132, -0.0758983046, 0.0591457114, -0.036349792, 0.0040470995, -0.0085261529, 0.003461414, 0.0088024419, -0.0668366477, 0.0009151276, 0.0252409894, 0.0120632676, 0.0335491262, 0.0115598096, -0.000840381, -0.0245217197, -0.0142669473, -0.115927659, -0.0307228044, -0.012380518, 0.0248727128, -0.0022556232, -0.0070572412, 0.0065083154, -0.0467771105, -0.0579736233, 0.0282023251, 0.0267241225, 0.0274378415, 0.0154680787, 0.0070682629, -0.0129180439, -0.022867132, 0.0056189499, 0.0067834747, 0.0557865724, 0.0124148028, -0.0310574118, -0.0190566052, -0.0512594283, -0.0670817494, 0.0308439862, 0.01066323, -0.0410286896, 0.0041758344, -0.0332649685, -0.0350036211, 0.0445381142, 0.039389018, 0.0121568237, 0.0428849347, 0.0121715069, -0.0892248005, 0.0203576051, -0.0241582431, 0.008840492, -0.0221187565, -0.0320809707, 0.0185120013, 0.0106823882, 0.0183328893, -0.0235479511, -0.0146995476, 0.0796837509, 0.0282720458, -0.0739193931, -0.0746573135, 0.0079362448, -0.0272106528, 0.0537742823, -0.0131288674, -0.049782563, 0.0685916543, 0.0065797362, -0.0044504674, -0.0326327868, -0.0310620666, -0.0600330047, 0.0619644448, 0.0029716517, 0.0416841879, -0.0263277255, -0.0106817745, -0.0586004145, -0.03278758, 0.0254048314, -0.0586525276, 0.0510974117, -0.0429485627, 0.0504163876, -0.0048079793, -0.0490866415, -0.0206065737, -0.0817592666, -0.0236185715, 0.0189633854, -0.0437280834, -0.0195102412, -0.0315007046, 0.0221938677, 0.0461557247, -0.0449848026, -0.0120024206, -0.0132247442, 0.0065437485, 0.0361975431, 0.0658333749, 0.0977817699, -0.0016788999, -0.0336451121, 0.0694189295, 0.0601670928, 0.048481483, 0.0001228781, -0.0154561121, -0.0081953332, -0.0018234615, -0.0250162799, 0.0082950024, -0.0167129003, 0.0200013854, -0.0105448281, 0.0409948379, 0.0911542848, 0.029013684, 0.0103925196, 0.0123105329, -0.045981884, 0.0311679449, 0.0200509652, 0.0350990891, -0.038390886, -0.0135709634, -0.0218107942, 0.0347352773, -0.0111465333, -0.0502920486, 0.0114739798, -0.125569582, -0.0012023089, -0.0159349591, -0.0762399808, -0.0105074905, -0.0232546758, 0.0229558758, -0.0181034021, -0.0127940029, -0.0013325878, 0.0119888932, 0.0118123069, -0.0033720406, -0.0146608697, 0.0300531611, 0.0256892834, -0.0363261476, 0.0185959172, 0.0881704241, 0.0196001884, -0.0214128215, -0.0185015295, -0.0191237684, -0.0227412153, 0.022953691, -0.0073045068, 0.0425997674, -0.0039101378, -0.0067489035, 0.0081273029, 0.0361986011, -0.0225903969, 0.031342838, 0.0332150608, 0.0639204159, -0.0609343536, -0.003143921, -0.0201887842, -0.0099094119, 0.0316848643, 0.0391752496, -0.0114988806, -0.0581294447, -0.0591794364, -0.0312461164, -0.0837963074, 0.0252924543, -0.0417110436, 0.0207364261, -0.0224243049, 0.0051055248, -0.0710202977, -0.0368055664, 0.0701358318, 0.0305756275, -0.0119080711, 0.0192607678, -0.0187814999, 0.0349861756, -0.0224695373, 0.009501582, -0.0149960443, 0.0544548705, -0.0115256701, 0.0048795296, 0.0855866745, -0.0377343707, -0.0082679465, -0.0386328362, -0.0135915093, -0.0552384816, -0.0173528716, 0.0555025339, 0.0196540598, -0.0032641627, 0.0153757045, -0.0628766716, 0.0372292995, 0.0309635065, -0.0084857093, 0.0421791114, 0.0050074519, 0.024709858, -0.0169815514, 0.0299876425, -0.0706832185, 0.0147491628, -0.0271370132, 0.0431832224, -0.0608615205, -0.0548967272, 0.0181050822, -0.0042368188, -0.0322381556, 0.0284089465, -0.0242056157, -0.000697965, 0.0275708251, 0.0344115645, -0.0227669161, -0.0569983311, -0.0056572179, 0.0119869299, -0.0155860074, 0.0356366038, 0.0287642851, 0.0342585519, 0.017832458, 0.0047160825, 0.0085187396, 0.0029426394, 0.0148853352, -0.0185546204, 0.0286664292, -0.0272295028, 0.0139963552, 0.0059426171, 0.0400170237, 0.0355227068, 0.0189445689, 0.0120813185, -0.0195460524, -0.0149645498, 0.0104738958, -0.0824963227, -0.0690554157, -0.0094966944, 0.0125594297, 0.0214294866, 0.0521766432, 0.0266639348, 0.0031502636, 0.0074009257, -0.0536558144, -0.0333282948, 0.0398065373, 0.0012056325, 0.0587156862, 0.0214202255, -0.0259231031, 0.0233552828, 0.0721845627, 0.0297032297, 0.0379155315, -0.0018777396, -0.0155994361, -0.0277312845, -0.0060083549, 0.0121076629, 0.0258795731, -0.0021879906, 0.0136289196, -0.0192111786, -0.0172836911, 0.0176527668, 0.0003530321, -0.0252009481, -0.0152837103, 0.0626773983, 0.0037400101, 0.0335562043, 0.0085863806, -0.0517168082, 0.0114582516, -0.0804636031, 0.0153981242, 0.0030066292, -6.135089055e-33, -0.0423802473, -0.0990840122, -0.0017701579, -0.0056440136, -0.0087409513, -0.0183416009, -0.032881327, 0.0263709538, -0.0461578108, -0.0212189239, 0.0161963962, 0.002308774, 0.0067826542, 0.0331524946, 0.0221489519, -0.0287277065, -0.0121043501, -0.0197404511, 0.0058104708, -0.0111453161, 0.0512071624, 0.0152316829, 0.0256948248, -0.0470878668, -0.0089949602, -0.0017864668, 0.0003068854, 0.0304795559, -0.0653572828, 0.063663207, -0.0113531053, 0.0404838435, 0.0251062661, 0.0058380528, -0.0302547291, 0.0374694765, -0.0421113186, -0.0423085764, 0.009896975, -0.0104243485, -0.0427389853, -0.0009301415, 0.0091701169, -0.0033254083, 0.0066683274, -0.001438447, 0.0483920537, -0.0330905169, -0.0263212994, -0.0166292433, 0.0177643206, 0.0216217861, -0.0212339554, -0.0070591983, -0.0141763277, 0.0916816369, -0.0157090146, -0.0058059962, -0.027975155, 0.022598708, 0.0069751772, -0.0103887422, 0.0592893884, 0.0386989005, 0.0288228448, 0.0598751232, 0.0786892101, -0.0356546044, -0.083066687, -0.0397991538, -0.0270653162, 0.0342267156, 0.0536364801, 0.0735814869, -0.0013171992, 0.0610514879, -0.057367973, 0.0468974262, 0.0349356271, 0.0334892683, 0.0237399172, 0.0229719188, 0.0060307458, -0.0154198119, -0.0716306046, 0.0340538658, -0.0225260649, -0.043015372, 0.0306685641, -0.0007223791, -0.027422091, -0.0484364107, 0.0373492651, -0.068481572, -0.0313978866, 0.0341885462, 0.0101724276, 0.0332345106, 0.0221464168, 0.0077830823, 0.0127745271, 0.0372259282, 0.0099655548, -0.0206989143, -0.0155768599, 0.0119650839, -0.0269238111, 0.0319865309, -0.0379292779, -0.0272395499, 0.0298000835, -0.0207906961, -0.0231276341, 0.0265577026, 0.0251728017, -0.038493488, -0.0107819932, 0.0203973595, -0.021747632, 0.0211922489, -0.0150385732, -0.0290072672, -0.0214717966, -0.0234976579, -0.0228752159, 0.0285426565, -0.0498021245, 0.0033908859, -0.0005652481, -0.0182636343, -0.0087548448, 0.031274531, 2.669e-7, 0.0242454559, -0.0148682361, -0.0028098018, 0.0064518396, 0.0177964736, 0.0391979963, 0.0120459534, 0.0322368518, 0.0032034635, -0.0661298931, 0.0001080874, 0.0483057313, 0.0667192489, 0.0073213405, -0.1002492011, -0.01839572, -0.035706196, -0.0093225222, -0.0524533503, 0.019512983, 0.0449712053, 0.0877883062, -0.0001599076, 0.0070883958, -0.0283792708, -0.0324490927, 0.0385507606, 0.0028043212, 0.019691566, -0.0138275875, 0.0007939056, -0.0291186981, 0.0048783636, 0.0154819116, 0.0177674852, 0.027749626, 0.0126199536, 0.0431324206, -0.0392343439, -0.0765205026, -0.004734138, -0.0124545582, 0.0364217907, -0.0085299201, 0.1068044379, -0.047987476, -0.0349737778, -0.0142911198, 0.0251374226, -0.0233243722, 0.0601260662, -0.0317449905, 0.0101642562, -0.0066354433, -0.0089093698, -0.044785466, -0.0021614858, -0.0686769709, 0.0047029592, -0.0250514597, -0.0745473504, -0.0684703141, -0.0051833382, 0.042640496, -0.0035630467, -0.02841538, -0.0245039128, 2.072429372e-34, 0.0156422779, 0.0301736873, -0.0165786855, 0.0741228089, 0.0189857259, -0.0087085022, -0.0085682794, -0.0285813659, 0.0527543202, -0.1154791415, 0.0070134411 ]
http://arxiv.org/abs/2406.10908v1
http://arxiv.org/pdf/2406.10908v1
MICL: Improving In-Context Learning through Multiple-Label Words in Demonstration
2024-06-16T12:11:46
2024-06-16T12:11:46
Zhu Zixiao, Feng Zijian, Zhou Hanzhang, Qian Junlang, Mao Kezhi
cs.CL
cs.CL
In-context learning (ICL) enables large language models (LLMs) to perform new tasks by using sample-label pairs as demonstrations. However, variations in demonstrations can lead to significantly different performances. Current research mainly focuses on selecting demonstration samples, preassuming the class name to be the label word when creating sample-label pairs. However, the choice of label words is crucial for ICL performance. In addition, we observe that using a single class name in demonstration may not yield optimal results. In this paper, we propose to use multiple label words in one sample-label pair to enhance ICL performance. Further, we select and order sample-label pairs based on LLM's output distribution, aiming to optimize the demonstration examples from both the samples' and labels' perspectives. Evaluation results on seven classification datasets show that the use of multiple label words, strategically organized by their selection, order and quantity, improves ICL performance through diverse label information.
[ 0.0178496558, 0.0325082392, 0.0152029404, 0.0452448055, -0.0346486159, 0.011548914, 0.04105011, 0.0184899457, -0.0150591917, -0.0793193951, -0.0324537903, -0.032344941, 0.0142824026, -0.0301128812, 0.0519332588, -0.0596203469, 0.0190267432, -0.0402397737, -0.0167954341, 0.0198968686, -0.0154010812, 0.0074604661, -0.031474188, 0.0289911795, -0.0441434681, -0.0034842754, 0.0159909092, 0.0072133588, 0.0003615958, -0.0715984255, 0.009378938, 0.0563132167, 0.0285879783, 0.0233317222, 0.0000018573, -0.0577349588, -0.0044156727, 0.0239963774, -0.0249166712, 0.0190121792, 0.0824145526, 0.0029755656, 0.0158078428, 0.0454912521, -0.0265099481, -0.0257054009, 0.0257674064, 0.0435727276, 0.0240913741, 0.0529371761, 0.0019328748, -0.0293299984, -0.036193762, -0.0444747135, 0.0138075845, -0.0352572724, 0.0344977528, -0.0057165255, 0.0453963652, 0.0352739468, -0.0125898095, 0.0428710394, 0.0222802628, 0.0125689013, -0.006628436, 0.0588703416, -0.043546509, -0.0202429369, -0.007812988, 0.0824450925, -0.0269673467, -0.0136776688, -0.0170358848, -0.0380045921, 0.0197526272, 0.0012439636, -0.0481563359, 0.0132376561, 0.0032068274, 0.0270839129, 0.0150983036, 0.0385246202, 0.0408495143, 0.0131382197, -0.0207721144, 0.0432394482, 0.00537402, -0.0354293734, 0.0146002276, -0.008257959, -0.0355518758, -0.0093078986, -0.0474410243, 0.0165125169, -0.0391034819, 0.0636373758, -0.0551636182, -0.0529386662, 0.0152034424, -0.0459706523, 0.0492552891, -0.0032234241, -0.0041263406, 0.0481061637, -0.0055713924, 0.0409924909, 0.0369129404, 0.080037497, -0.0511726104, -0.0119839227, -0.0518496968, 0.0076229176, -0.0617929026, 0.0178547185, -0.0065609417, -0.0243629795, -0.0304040294, 0.0233104173, -0.0091686947, 0.0024440205, 0.0183286201, -0.0506081209, -0.0164216422, -0.0000296425, 0.0276362728, -0.0222710762, -0.0063734436, 0.0186509695, -0.0021916651, -0.0433124155, 0.001539221, 0.0127446214, 0.0044326414, 0.0046755788, 0.015422551, 0.0764084384, -0.0273019038, -0.0999587029, -0.0163803604, 0.034372855, 0.0056591057, -0.0296463426, -0.0114371236, -0.0638899654, 0.0323428996, 0.0230418891, 0.0142134391, -0.0361299776, 0.0191868544, 0.0169824697, -0.0278912354, 0.0808603168, 0.0140776299, 0.0202205218, 0.049141489, 0.0100589385, 0.0223169047, 0.07636372, 0.0327825733, -0.0267550871, 0.043711599, 0.0115258414, 0.0553926229, 0.0430869237, 0.0433102176, 0.0365442559, -0.0686596707, -0.0177809168, 0.0518541224, 0.0512738004, -0.0049944296, 0.0294116549, -0.0263597183, 0.0292724334, 0.0447615944, 0.0220436826, 0.0220653769, -0.0680286288, 0.0176744573, 0.016760366, 0.0050056134, -0.0445589609, -0.0368574038, -0.0231547374, 0.0007472924, 0.016149452, 0.0401420668, 0.0039519789, -0.0359064825, -0.041480571, -0.0468595065, -0.0227710269, 0.0002532493, 0.0269951262, 0.0494877174, 0.0494377352, -0.0529112443, 0.0411169976, 0.0637362376, 0.0098758489, -0.0125121651, -0.0738710687, -0.0090148533, 0.0086436654, 0.005130244, -0.0380020142, -0.0056380532, 0.0044772923, 0.03719436, 0.0466827862, 0.0271236673, -0.0456806645, 0.0063098352, -0.0233543068, -0.0248248223, -0.0070372224, 0.0364122428, 0.007239575, 0.0521942414, 0.0102673778, 0.0205091555, -0.0779252425, -0.0078415032, 0.0635253862, -0.0039483588, -0.044730559, 0.0262109768, 0.0036054191, 0.0331331678, -0.0114573836, -0.0033750099, 0.0045980494, 0.0431764983, -0.0087916199, 0.0362844244, -0.0292751715, -0.0460356735, -0.1060901955, 0.0157162212, 0.0221586525, -0.010572331, -0.0183953065, -0.053231027, -0.0199900009, -0.0588726103, -0.0088195251, 0.0601611957, -0.0349497125, 0.012795941, -0.0003402403, -0.0185281243, -0.0615267158, 0.0768016502, -0.0088873031, 0.0513588414, 0.0084683802, 0.0571005084, -0.0323929302, -0.0043000844, -0.0157276541, 0.022211941, -0.0181587823, 0.0297066253, -0.0118097989, 0.0723904148, -0.0472284183, -0.0112347053, -0.0579674654, -0.0260543898, -0.0335039571, -0.0226057526, -0.0034416323, -0.0135214506, -0.0225778036, -0.030811727, 0.0071264831, -0.0522131398, -0.0343951359, 0.0191359483, 0.0181392692, 0.0377536342, -0.0521974675, 0.0101988148, 0.0053258669, 0.0221457314, 0.0777103603, -0.0225504097, -0.0058073769, -0.059307564, 0.0186787322, 0.008374705, -0.0013804181, -0.0208305772, 0.0248047374, 0.0130980695, 0.0038752402, 0.0243015662, 0.0213049389, 0.0166384652, 0.0383804254, 0.0368774086, 0.0465183631, -0.0646565631, -0.0156925358, -0.0117932409, -0.0242290199, -0.0284319241, -0.0087251263, -0.0020326879, 0.0445985012, 0.0098325713, 0.0060541942, -0.0155210812, -0.0068320413, -0.0423957147, -0.0349303335, -0.0782965049, -0.0218708068, -0.0388542451, -0.0165099707, 0.0057005412, -0.0528350621, 0.0375672281, -0.0398546122, -0.01033278, -0.0602918305, -0.0223729219, -0.0185768995, 0.0510321595, -0.0274622571, 0.0074454108, 0.0006190531, -0.0330350921, -0.0326986872, -0.0225282665, 0.0055401544, -0.0295658968, 0.04305733, -0.0597204715, 0.0234828852, 0.0259999856, -0.034601476, -0.066733174, -0.0470045842, -0.0019238825, 0.0342074968, -0.0411365367, 0.0280675143, -0.0326384529, 0.0187040735, 0.0389684886, 0.0569495521, 0.0085500991, 0.0028138559, 0.0108991591, 0.0166587234, 0.0071634594, 0.0017947677, -0.0315140188, -0.0417360812, -0.0297636706, -0.0126867918, 0.0705039576, -0.0062423749, -0.0105405552, -0.0103703709, 0.0246311557, -0.0145865753, 0.000757004, 0.0636590347, 0.0093464265, -0.0412442274, -0.0154429739, 0.0945045874, 0.0275137629, -0.0588161834, 0.0114524541, 0.0349489525, 0.0039052905, 0.0378128327, 0.0370319448, -0.0257211998, -0.0151290018, -0.0008666097, 0.0028915412, 0.0158436578, 0.0144341076, -0.021612823, -0.1507517397, 0.0122842481, 0.0270876419, -0.1059049219, -0.0228503179, -0.077639699, -0.0057744905, -0.0007691727, 0.04568398, -0.0018886903, -0.0100854561, -0.0160388313, 0.0482483283, 0.0353982784, -0.1100057214, 0.0187790357, -0.0114531498, 0.0294211134, 0.0174437258, 0.0054862448, -0.0233527664, -0.041495055, 0.080439195, -0.0451715402, -0.0038952909, -0.0345232897, 0.0209294576, -0.0139727574, -0.0036229594, 0.0307563655, 0.025246406, -0.0449260958, -0.0370166898, -0.0246083606, 0.048066128, 0.0088741751, 0.0057011764, -0.0158518348, -0.0529221371, 0.0753420517, 0.0595312938, 0.0269674677, -0.0607665628, 0.0223838817, 0.0079924697, 0.0052244095, -0.0008984803, 0.0217780918, 0.0270966031, -0.038438268, -0.0137685332, -0.040946044, -0.0281168763, 0.0426321141, 0.0835301876, -0.0206169505, 0.0199277699, -0.0411423855, 0.0256109927, -0.0252562445, 0.0278768633, -0.0107997665, 0.0231763124, -0.0778489783, -0.0394219458, 0.0698995888, -0.0279356707, -0.0484877899, 0.0283602588, -0.0406186208, -0.0530608147, 0.0082847923, 0.0186128095, 0.0099705262, 0.0715136081, 0.0021400107, -0.0417381413, 0.0840765089, 0.0705806315, 0.0164454058, -0.0058362936, 0.0263390895, 0.0149673708, -0.0179097429, 0.0246525258, -0.0489492901, 0.0267655347, 0.0174864084, 0.0334586203, -0.0549289286, -0.0216473397, 0.0158566423, -0.0015423674, 0.058361087, -0.0588061586, -0.0211159643, -0.0324393883, 0.038499359, 0.0027168929, -0.0420968719, -0.0020132321, 0.0167946834, 0.0200761911, -0.0027492689, -0.0284024253, 0.0054797069, 0.0143251568, 0.0294905081, 0.0142194433, -0.0069404622, 0.0097340671, 0.0003189313, 0.0283521488, 0.0224904027, -0.016866995, 0.0023447564, -0.0004561104, 0.0199156832, -0.0350631177, 0.0360021256, 0.0404638574, -0.0089724706, -0.0362649746, 0.0259336997, -0.0240423009, 0.038950026, -0.0803895742, 0.0421649218, 0.0192050096, -0.0071263989, 0.0186733492, -0.0327140056, -0.0309456196, -0.0141990324, 0.027263632, -0.0391066298, -0.061793033, 0.0292984582, 0.0237120166, -0.001689575, 0.0184451342, 0.0720631108, 0.0419270061, -0.0031585733, 0.0014589204, 0.0409618355, -0.0376798175, 0.0382629, 0.0430412814, 0.0295636859, 0.0035401701, 0.0238382053, -0.0291131176, -0.0415805541, 0.0108775115, -0.0056190002, -0.0318292677, 0.0169958249, 0.0510199927, 0.077856943, -0.0066941199, 0.006086655, -0.035438627, -0.0477217659, 0.0714136511, -0.0473777615, -0.0057137255, -6.016609878e-33, -0.0395935215, -0.03413729, 0.0117310314, -0.0039286525, 0.0104557201, 0.01000397, -0.0025824106, 0.0199549813, -0.0081513179, 0.0136242015, -0.0249735173, -0.0115046632, 0.0158055406, 0.0304659251, 0.0121476436, -0.0194897726, 0.0189653467, 0.0023956276, -0.0310261399, 0.0099868691, -0.0066315429, 0.0402570963, 0.0740004554, -0.090615809, 0.0150377313, -0.0181152076, -0.0204209741, 0.0032579645, -0.0299788993, 0.0648800507, 0.0020653254, 0.0591148734, 0.0248925295, -0.0531999506, -0.0209662896, 0.0011086813, -0.0634462088, -0.0384405814, -0.0028075757, 0.0218187179, -0.0286843181, 0.012634296, 0.0340260863, -0.0142336553, -0.0146265011, 0.0073257317, 0.0449874476, -0.0059454306, -0.0805274025, -0.0386701785, -0.0197792668, 0.025992807, 0.0416873135, -0.0253517777, 0.027504351, -0.0110025909, -0.0194390565, 0.006863846, -0.0509100966, 0.0325374193, 0.0289923605, 0.0211716332, 0.048082035, 0.0692948699, -0.006732455, 0.0296144895, -0.0113062998, -0.0033667656, 0.0531359427, -0.0778749511, 0.0649472401, 0.0358416773, 0.016333038, 0.0559914708, 0.0356830619, -0.0301050395, -0.0421504043, 0.0038896499, 0.0075716679, -0.0578043945, 0.0378985703, 0.0117766047, -0.0601021089, -0.0416293032, -0.0673850104, 0.0057692141, -0.0423550233, 0.009504173, 0.0498478562, 0.0591480583, -0.0311072245, 0.0143136382, 0.0198194403, -0.0273967851, -0.1022220477, 0.0002659947, -0.0003485355, 0.0301537607, -0.0184716228, -0.0184674971, -0.0562988445, -0.0760555193, 0.008367762, 0.021413831, 0.0004602393, -0.0300199296, 0.0805337131, 0.0100671826, -0.0810611621, 0.0146603966, -0.0028439956, -0.0049623526, 0.0247706175, -0.0301839951, 0.0373443961, 0.0178327821, -0.0210102275, 0.0592939109, 0.0377743915, -0.0869835019, 0.0080094822, 0.0037718655, -0.0403106138, 0.0047388705, -0.019380752, 0.008672243, 0.0042616506, 0.0207781605, 0.0708685145, -0.0107577443, -0.0132101225, 0.0168833192, 2.526e-7, 0.0477807149, 0.0535816364, -0.0414395779, 0.0155693972, 0.0239840541, 0.025743885, -0.0452589951, 0.0139321052, -0.0194519758, -0.0358993784, 0.0206471011, -0.0098702637, 0.0456276387, 0.0245807413, -0.0636022985, -0.0100502968, -0.0463161916, 0.017285483, -0.0377711207, 0.011241327, 0.0189595297, 0.1080553457, 0.0343304947, -0.0163047928, -0.0547194891, -0.052288346, 0.0534044318, -0.049846638, 0.0255249385, 0.0180570744, -0.0428488366, 0.0426026918, 0.0323705524, 0.0331330597, -0.0307764858, 0.0020599582, 0.0361143537, 0.0426665358, -0.019241089, -0.0204675626, 0.003931025, 0.0352312997, -0.0191909373, -0.0454645306, 0.0458000153, -0.080931291, 0.0050706798, -0.0027125559, 0.0164140258, -0.0150520159, 0.0160943978, -0.0100152129, -0.0002587657, 0.0213998668, 0.0086031044, -0.0058041411, -0.0259974822, -0.076089941, -0.0223525837, 0.0414041616, -0.0356688015, -0.0257972013, -0.0040025427, 0.0010175224, 0.0071542552, -0.0351039283, -0.0082742041, 2.19929437e-34, 0.0094089145, -0.0048838314, -0.013321572, 0.045065511, -0.0122894971, -0.0201530512, -0.0004838566, 0.0350189842, -0.0027948769, -0.0413631611, 0.0142441606 ]
http://arxiv.org/abs/2406.10906v1
http://arxiv.org/pdf/2406.10906v1
Breaking the Attention Bottleneck
2024-06-16T12:06:58
2024-06-16T12:06:58
Kalle Hilsenbek
cs.LG
cs.LG, cs.CL
Attention-based transformers have become the standard architecture in many deep learning fields, primarily due to their ability to model long-range dependencies and handle variable-length input sequences. However, the attention mechanism with its quadratic complexity is a significant bottleneck in the transformer architecture. This algorithm is only uni-directional in the decoder and converges to a static pattern in over-parametrized decoder-only models. I address this issue by developing a generative function as attention or activation replacement. It still has the auto-regressive character by comparing each token with the previous one. In my test setting with nanoGPT this yields a smaller loss while having a smaller model. The loss further drops by incorporating an average context vector. This concept of attention replacement is distributed under the GNU AGPL v3 license at https://gitlab.com/Bachstelze/causal_generation.
[ -0.0123973144, 0.11521703, 0.0099677928, 0.0085363314, -0.0164858475, 0.0069451607, 0.0009494027, -0.0181161743, -0.0755695403, 0.0119581651, 0.0225430522, -0.007607915, -0.0183627587, 0.0544511788, 0.0335598998, -0.0285004843, 0.0346625485, 0.0225091837, 0.0130242547, -0.007957357, -0.0158535931, -0.0044738408, -0.006934714, 0.0698133633, -0.0392768867, -0.0167274326, 0.0058439514, 0.0208181478, 0.0322969109, -0.0164060593, 0.0024760959, 0.0232219342, -0.0157680959, 0.0469446816, 0.0000021076, 0.006478962, -0.0054004048, -0.0028721276, -0.0385049246, -0.0024478633, 0.0058039301, -0.0155260228, -0.0391498357, -0.0055026971, -0.009550049, -0.054703299, 0.0794637874, 0.0621177405, 0.0351766869, 0.0818387493, -0.0148824994, -0.0604234822, 0.0490245149, -0.0664908215, 0.0341760591, -0.0436482467, -0.0078478595, -0.033601135, -0.0313784778, -0.0287918933, -0.0567958541, 0.0540102422, 0.0657110512, 0.004524413, 0.0444746576, 0.0291708261, -0.0108778831, -0.0124684442, -0.0117061455, 0.05243266, -0.0487682708, -0.0401162207, -0.0192930736, -0.0088140806, 0.0006512236, -0.0507644415, -0.035541784, 0.0256342366, 0.0005696178, 0.0410542376, 0.0154621406, 0.0387643427, 0.0269070156, -0.024369739, -0.0518083014, -0.001863016, 0.033673469, -0.0014998546, -0.0240293555, 0.0040671183, -0.0150024043, -0.0004722858, -0.0027491143, 0.0241097696, -0.0181531589, 0.0048232591, -0.042240873, -0.0181065537, -0.0135501781, 0.005062941, 0.0471588448, 0.0586252213, -0.0098864269, 0.0131567623, -0.0424167775, 0.075368844, -0.0690358207, 0.0461927503, -0.001020166, -0.0098860683, 0.0056350078, -0.0159322266, -0.0483781919, 0.0208247527, -0.0174104962, -0.0115301386, -0.0376344547, 0.0321324505, 0.0055852826, -0.0304109845, 0.0176987462, 0.0233010631, -0.0864481851, 0.0020601368, 0.0491330288, 0.0827756524, -0.0338241346, -0.0190384462, 0.0242414139, -0.0543129295, -0.0649564937, 0.0116826333, 0.0021751993, -0.0288692489, -0.0082704006, 0.094491221, -0.0305665359, -0.0465876758, -0.0227227304, 0.0037744872, -0.0190967359, -0.0347783305, 0.0235398747, -0.0216850135, 0.0097326552, -0.0106185144, 0.0052181422, -0.0434916168, 0.0099783633, 0.0169468746, 0.0000983879, 0.0356861912, 0.0412607789, -0.056479048, -0.0037437861, -0.0084082922, 0.048564788, 0.048339989, 0.0131537253, 0.0349582061, -0.0418948941, -0.0083201341, 0.0004221633, 0.0207313336, 0.0535617396, 0.0077061937, -0.0086742928, -0.0541432984, -0.0042649875, 0.0154614216, 0.0835696384, 0.0505926609, -0.0317655914, -0.0466026776, 0.0135334022, 0.0098838331, 0.0336251743, 0.0557733811, 0.048947107, -0.0022056217, -0.0433541499, 0.0099185659, -0.0345021673, 0.0827593058, 0.0188506469, -0.009578485, 0.0141116874, 0.0243497919, -0.039957799, -0.0176828448, 0.0344410315, 0.0048821461, -0.0078359637, -0.0291876029, 0.0447528437, 0.0487499461, -0.072596617, 0.0662848428, -0.0078172255, -0.0495985821, -0.0017834906, -0.0519194491, -0.0090551106, 0.0084948028, 0.0536898822, -0.0022843387, -0.0287963394, 0.0015347626, -0.0204986073, 0.0312823206, -0.0162030086, 0.0197871588, 0.021347817, -0.0259839352, -0.0093353251, 0.007144935, -0.00263142, 0.0329912342, 0.0047299685, -0.0002083571, 0.0180293713, 0.0007378408, 0.0092869792, 0.0117258243, 0.0117158275, -0.0728459731, 0.0157793909, 0.0215123817, 0.0498853028, 0.012466006, -0.010476321, 0.0173876546, 0.0329019539, -0.0642403439, -0.0153468521, 0.0340728238, -0.0985662788, -0.0346472748, 0.0181520525, -0.0707442537, -0.0034608818, 0.0795965567, -0.023663817, -0.0606806427, 0.0580515638, -0.078725405, 0.062034145, -0.0035442517, -0.0106622381, 0.0381372273, 0.0579909459, -0.0262508802, 0.013586876, -0.0202053171, -0.0106256204, -0.0140150376, 0.0347925387, -0.001410575, -0.0371290334, 0.0125942444, -0.0220979638, -0.0461406745, -0.015522711, 0.0349736176, -0.0187713951, 0.0129819475, -0.030778015, 0.0243064817, -0.0217876509, -0.0371737219, 0.0200003851, 0.0091988361, 0.0503091365, 0.0079061706, -0.0158406664, -0.0122871166, 0.0116759595, -0.0076870848, -0.015558688, 0.0029606894, -0.0279841479, -0.0096065663, -0.0148230726, -0.0497014225, 0.0035290206, 0.0503107198, 0.0010021059, -0.0148571143, -0.0441519096, -0.0294527207, 0.0533953197, 0.0355837494, -0.0217984002, -0.0841472447, 0.0104790516, -0.0215576496, 0.031408716, 0.0601472296, 0.0068107904, 0.0219067335, -0.0206768941, -0.002807457, -0.0332714468, 0.0246200971, -0.024770923, -0.0096896915, -0.0451276302, -0.030806696, 0.0099436883, 0.100936085, -0.0237454381, 0.0115542738, -0.0934029147, -0.0024012823, 0.0232831482, -0.0424826667, 0.035642378, 0.0124292755, -0.0317326002, -0.0051490921, -0.0118277026, -0.0371929705, 0.0285915304, -0.0102371266, -0.0176574402, -0.0231443457, 0.0392111167, -0.0419798903, 0.041703511, 0.0393170714, 0.0122045157, 0.0108689815, -0.0732287541, -0.0371704213, 0.055384703, -0.003234532, 0.0259431079, 0.0316193365, -0.001952253, 0.0130083123, -0.0308879651, -0.0322752222, -0.040142484, 0.0142126875, 0.0138031533, 0.0108068502, 0.0698703006, -0.0432077162, -0.0737131834, -0.0136084314, -0.0104788141, 0.0498656146, -0.0091198953, 0.0029780939, -0.0068090949, 0.0354435891, 0.0202555098, 0.0055107526, 0.0321834907, 0.003640976, 0.0001900312, 0.0665853918, 0.0288390424, 0.0127554843, -0.0461703092, 0.0019104484, 0.0261728801, -0.0041609192, 0.0219455305, 0.0063107791, 0.0518110767, -0.0574592464, -0.041459661, 0.0470755398, 0.0009111402, -0.0598824583, 0.0065770675, 0.0274656564, 0.0582397655, 0.0138007402, 0.0126079237, -0.0838013813, -0.0469542667, 0.0075175408, 0.0278485678, 0.0056901989, 0.0039265784, 0.0016719659, -0.0612791404, 0.0262334421, 0.0181203783, -0.058830712, -0.0337413959, -0.0002656354, -0.0198505241, -0.0354908742, 0.012330181, 0.0191636495, -0.0181102213, 0.0033199308, 0.0427434072, -0.012737155, -0.0305158682, -0.0051344195, -0.0133965788, 0.0340560451, 0.0777202919, -0.0214205757, 0.0152006522, -0.0327782035, 0.0112363091, -0.0012677665, -0.0038856592, 0.0044179233, 0.0642089471, -0.0266140103, -0.0355268009, 0.0130514316, 0.0322575867, -0.0418751836, 0.0148225743, -0.0236873589, 0.063042514, 0.0285664387, 0.0135521078, -0.0368200876, -0.0225533247, -0.0252331346, 0.0500984751, 0.0441118553, 0.0002148379, -0.0962245315, -0.0401161239, 0.0166900065, -0.1149565279, -0.0498864129, -0.0030687279, 0.0557991564, -0.1065860838, -0.0407275334, -0.0319808275, 0.003026465, 0.0241132546, -0.02912255, -0.0527454354, -0.0123471534, -0.0049884417, -0.0958598778, -0.004474435, -0.0071839346, 0.0027047319, -0.0722220242, -0.003525439, 0.0298678707, -0.0243722256, 0.0015999743, 0.0379905887, -0.1059033051, -0.0278285462, 0.0394937284, 0.0530816242, 0.0088521028, 0.0449205525, -0.0208650474, -0.0225485694, 0.0487708263, 0.019153757, -0.0260689929, 0.0077115777, 0.0696601123, -0.0336098373, -0.0051135411, 0.037481226, -0.0145591637, 0.0327756517, 0.0370586514, 0.0457629263, -0.006229735, 0.0369466171, 0.0657434538, -0.0155713726, 0.0396910496, -0.0115454206, 0.0517610721, 0.0202123541, 0.0443569906, 0.016754739, 0.0463023894, -0.0606499463, 0.0059824008, 0.0191959701, -0.0161528084, 0.0142415604, -0.0192117468, 0.002255307, 0.0152702667, -0.0293886252, 0.0447565503, -0.0350565165, -0.00907344, 0.0227756128, 0.0013737413, 0.0186200812, -0.0232307184, 0.0209212825, 0.0131140193, -0.0255340096, -0.007174795, 0.0388201661, 0.0447630621, -0.0257150531, -0.0006332413, -0.0521625616, -0.0164303146, -0.0261174534, -0.0106998673, 0.0512108207, 0.0169251282, 0.0264954437, -0.0091344472, -0.0047223815, -0.0044001006, 0.0273034386, -0.0332641564, -0.0041231527, 0.0204719063, 0.0151085462, 0.0230188239, -0.0309365913, 0.0692058131, 0.0102665052, 0.0261403732, -0.0067358348, 0.0307657532, -0.0462966301, -0.0358031504, -0.0340050049, -0.0149944276, 0.0008693929, 0.0138021307, -0.0191553514, -0.0599123873, -0.0210628696, -0.0306868423, 0.0467206016, -0.0164101701, 0.0485375971, 0.0056558475, -0.0306986384, -0.0398735814, 0.0128666908, 0.0101980502, 0.0074945288, -0.0294035487, 0.00063587, -6.748942858e-33, -0.0147509659, 0.0128120761, 0.0237683728, -0.023889346, -0.0483429544, 0.0161935743, -0.0407505892, -0.0212809779, 0.0052995216, 0.013081044, -0.0172462426, 0.0317854322, 0.0114445211, 0.0622649193, 0.0218662526, -0.0159979314, 0.0821814239, 0.0113315945, 0.0008351211, 0.0593898073, 0.0186435878, 0.0368084684, 0.0623201653, -0.0118109304, -0.0503484532, 0.0295244418, -0.0010870254, -0.0275925212, -0.015440328, 0.0522167608, -0.0207624082, 0.017428128, 0.0126974396, -0.0819154158, -0.0215122029, -0.0044409428, -0.0953616947, -0.0042293691, -0.045659788, 0.022018861, -0.0502664484, -0.073728323, 0.0477970205, 0.0076457816, -0.0091800243, -0.0531094633, 0.0029528679, 0.0043777907, -0.0447234027, -0.0323396176, -0.0627718568, 0.0181418508, -0.027907772, -0.0106571857, 0.0029107903, 0.0269160271, -0.0179552864, 0.0442341119, -0.0218872484, -0.0027029216, 0.0198970009, 0.0561774336, 0.0215078741, 0.020765746, -0.0037218938, 0.0034271257, 0.0491878241, -0.0345643759, -0.0605920069, -0.0204286557, 0.0009280853, 0.0000170651, 0.0536483862, -0.0136579871, 0.0832652301, -0.0260686111, -0.0652903244, -0.0056955409, -0.0008292386, 0.1047241613, 0.0331470147, 0.0474339351, -0.000467016, 0.0052161715, 0.0136483358, -0.0305024497, -0.0071086045, -0.0068807201, 0.0154029438, 0.0162281673, -0.0210330039, -0.0060361349, 0.0519048832, -0.042403467, 0.0531481989, 0.016809741, -0.0032812757, 0.0350938402, -0.0122226514, 0.0008883219, -0.0335926153, 0.0254433304, 0.0220296755, 0.0190288853, 0.0180479661, -0.0104670888, 0.0285380743, 0.034459997, -0.0416340455, -0.0319163986, -0.055996079, 0.0331373625, -0.0113226259, 0.0400760323, 0.0388043113, -0.0001377422, -0.0109542441, 0.0165486205, -0.0204538386, 0.024130648, -0.00774391, 0.0329961181, 0.0240702089, 0.0267255642, -0.0472799018, -0.0041973772, -0.0738988891, 0.069150269, 0.0129717952, -0.1005362868, -0.0304301064, 0.0427040718, 2.864e-7, 0.0437840112, 0.019980859, 0.0621814542, -0.0103559429, 0.0288513005, -0.0156928375, 0.0213849954, 0.0494838133, -0.0285884123, 0.0589497052, 0.0294892825, 0.0043797228, 0.0546424128, 0.0038014499, -0.0950774327, 0.0232643634, -0.058649037, 0.024279492, -0.0012828758, 0.0016283995, 0.0165396221, 0.1049629897, -0.0315450206, -0.0098729022, 0.061553821, 0.0432024784, 0.0253758486, 0.0237034131, 0.0322504453, -0.0007211709, -0.001986509, -0.0131232124, -0.0259911269, -0.0078486754, -0.0238634218, -0.0150945429, -0.0246052928, 0.0095785251, -0.0073996414, -0.0976929367, 0.0044233594, 0.0131953405, 0.0078520887, -0.0068059801, 0.0320038944, -0.0747576281, -0.0439944342, 0.0294328406, -0.0693140402, 0.0406833366, -0.0160386022, -0.0033879688, -0.0248995237, 0.0016033456, 0.0230444279, -0.0055562076, -0.0201031435, -0.094011493, 0.0245330203, -0.0126489606, -0.0470128022, -0.0076068197, -0.0791512057, -0.0172140133, 0.0444148332, 0.0028599836, -0.0468904339, 2.5996767e-34, 0.0459321626, -0.0233580526, 0.0187843125, 0.0026638082, -0.0053922152, -0.0328309201, -0.016582232, 0.0362212732, 0.0185665172, -0.0463062488, -0.0558487363 ]
http://arxiv.org/abs/2406.10903v1
http://arxiv.org/pdf/2406.10903v1
New Solutions on LLM Acceleration, Optimization, and Application
2024-06-16T11:56:50
2024-06-16T11:56:50
Yingbing Huang, Lily Jiaxin Wan, Hanchen Ye, Manvi Jha, Jinghua Wang, Yuhong Li, Xiaofan Zhang, Deming Chen
cs.LG
cs.LG, cs.CL, cs.SE
Large Language Models (LLMs) have become extremely potent instruments with exceptional capacities for comprehending and producing human-like text in a wide range of applications. However, the increasing size and complexity of LLMs present significant challenges in both training and deployment, leading to substantial computational and storage costs as well as heightened energy consumption. In this paper, we provide a review of recent advancements and research directions aimed at addressing these challenges and enhancing the efficiency of LLM-based systems. We begin by discussing algorithm-level acceleration techniques focused on optimizing LLM inference speed and resource utilization. We also explore LLM-hardware co-design strategies with a vision to improve system efficiency by tailoring hardware architectures to LLM requirements. Further, we delve into LLM-to-accelerator compilation approaches, which involve customizing hardware accelerators for efficient LLM deployment. Finally, as a case study to leverage LLMs for assisting circuit design, we examine LLM-aided design methodologies for an important task: High-Level Synthesis (HLS) functional verification, by creating a new dataset that contains a large number of buggy and bug-free codes, which can be essential for training LLMs to specialize on HLS verification and debugging. For each aspect mentioned above, we begin with a detailed background study, followed by the presentation of several novel solutions proposed to overcome specific challenges. We then outline future research directions to drive further advancements. Through these efforts, we aim to pave the way for more efficient and scalable deployment of LLMs across a diverse range of applications.
[ -0.0113699352, 0.0636683032, -0.0084017813, 0.0348789021, -0.0252228566, -0.0110164527, 0.0184695255, -0.0063183596, 0.045133777, -0.0090939216, -0.0241781343, -0.0442075729, -0.0007577278, 0.0050906949, 0.0405766629, 0.0257982258, 0.0467365794, -0.0527400002, -0.0541475192, -0.0308371186, -0.0183795579, 0.0298939049, 0.0152514596, 0.026321372, 0.0176402945, 0.0102174915, -0.0183523968, 0.0281738844, 0.0271417387, -0.0000745753, -0.0231098719, 0.0537362769, 0.011921199, 0.0037234244, 0.0000026533, 0.0111224474, 0.0064264806, 0.0336022526, -0.0293808971, 0.026433304, 0.0530490205, -0.0140260728, -0.0550859831, 0.0142430728, 0.0148180043, -0.0210470147, 0.0531512313, -0.0520370454, 0.0274373274, 0.0451413654, 0.0257355981, -0.0176651385, 0.05865876, -0.0123040061, 0.0022846132, 0.0067531988, 0.0056488425, 0.0049226158, 0.0279695839, -0.0263776481, 0.0171378888, 0.0394233055, 0.0626910552, 0.0080820341, 0.0102069741, -0.0036891047, -0.0182742663, 0.0108091999, -0.0166708548, 0.0355641395, -0.0753385052, -0.0473706909, 0.0120897274, -0.0031385759, -0.0761003792, -0.0378110521, 0.0180907156, 0.0570340194, -0.0267925002, -0.0158612542, 0.0438937023, -0.0674849376, 0.0429485552, 0.0105018746, -0.0199248735, 0.0401640534, 0.0527131781, -0.0062618381, -0.0381866209, -0.0103624072, -0.0106381886, -0.0741309375, 0.0010593245, 0.0345618874, -0.0170476697, 0.0233435761, -0.0733686537, -0.0151381735, 0.0073608574, -0.0802148581, 0.0110400254, 0.0365804993, 0.0001408184, -0.0176988505, -0.0617047586, 0.0105830524, -0.0464561768, 0.00878332, -0.046765849, 0.0332862288, 0.0214467961, 0.0017328958, -0.014419714, 0.0309496559, -0.028541714, -0.0001383076, -0.0438725203, 0.0249013733, -0.0068150116, 0.0424869955, -0.0244221594, -0.0284160171, -0.0162201989, -0.0465950854, 0.0217603333, -0.0093456246, -0.0005780057, -0.0130048236, -0.0350176096, -0.0870544165, -0.0061722533, 0.0359787121, -0.0158362836, 0.006253676, 0.0405549519, 0.0754616484, -0.0091633899, -0.0494909659, -0.0675942451, -0.0423109233, 0.0204101633, -0.0650755167, 0.0451993942, -0.0900831968, 0.0266975984, -0.0049613193, -0.0170826409, -0.0223172586, 0.0320827886, 0.043440681, 0.0123031717, 0.0556256771, -0.0166096911, -0.0032062354, -0.0157865863, -0.0057560317, 0.027587112, 0.0646535009, 0.0417518988, 0.0130163552, -0.0269522294, -0.0072052912, -0.0257459562, 0.0388701111, 0.0137564112, -0.020255141, -0.0561826229, -0.0187169202, -0.0130989114, 0.0045744949, 0.0161089394, 0.069202818, -0.0120361457, -0.0174904987, 0.0164093692, 0.0288870465, -0.0040225983, 0.019936312, 0.0468657576, 0.017249478, 0.0091962768, -0.0093005383, -0.0432140641, 0.0218374357, -0.0282119084, 0.0198793672, 0.0372715071, 0.0660483837, -0.0055399449, -0.030149037, -0.0359240398, -0.0385509953, -0.0194712803, 0.0145427566, 0.0369764902, -0.0100220693, -0.056821309, 0.0607384667, 0.0571926832, -0.0919821784, -0.0673454851, -0.0813045874, 0.0402208641, 0.0696533993, 0.0598364808, 0.0034764099, -0.002917025, 0.0482630394, -0.0177786369, 0.0353290066, 0.0120725268, 0.0138813797, -0.0014909374, -0.0317317881, -0.0059315944, 0.0025366286, -0.0069237971, 0.035246741, 0.0571636558, -0.0327459574, 0.0215485096, 0.006607628, -0.0450660102, 0.0060240901, -0.0104468623, 0.0012689095, 0.0124202603, 0.0198438857, 0.0424582325, -0.0062803724, -0.041477561, 0.0321151763, 0.0431404747, -0.0845130682, 0.0042585391, -0.0398648567, -0.0353128873, -0.0340060368, 0.0133009441, -0.0378276668, -0.0066581643, -0.0007389447, -0.0333111286, -0.0349669717, 0.0445601121, -0.06010608, 0.0289701503, -0.0381573066, 0.0361648798, 0.0303016976, 0.0316320844, -0.01985991, 0.0540671982, -0.020635277, -0.0056757261, 0.0052769957, 0.0374695435, -0.0098396931, -0.0103772441, -0.0128965192, 0.0055938819, 0.0217287987, 0.0040989337, -0.0202716794, -0.0027437604, 0.0195759088, -0.0017438041, -0.0626576617, 0.0003366452, -0.0370896757, 0.0332952924, 0.006471151, -0.004761376, 0.0220478699, 0.0268854462, 0.0018071979, 0.0039861952, 0.0270980671, -0.0171490256, -0.0104165524, -0.030570427, -0.0843670964, 0.002721878, -0.045716241, -0.0076408265, 0.0283050612, -0.0354301147, -0.0092879552, -0.0566460602, 0.0227344669, 0.0214033071, 0.0499297082, -0.0202294961, -0.0118659725, 0.0060557127, -0.0235807225, 0.0273354258, 0.06089947, 0.0091731288, -0.0219309404, 0.0496958643, -0.0005837317, -0.0464197583, 0.0295492467, 0.0382550657, -0.009161246, 0.0223614853, -0.0092962282, -0.0106650833, 0.0663731918, -0.0064792102, 0.003384152, -0.0332386866, -0.031807404, 0.0335384682, -0.0443589091, 0.0033098548, -0.0220399238, 0.0006916843, -0.0030990636, -0.0248575192, -0.0770303756, 0.039757479, -0.0839914456, 0.0116775874, 0.0008904515, -0.015103328, -0.0067729009, 0.0363241024, 0.0349984691, 0.0379708111, -0.0130081465, 0.0378364213, 0.0104454719, 0.0144849094, -0.0208146013, -0.0494757891, 0.0630339757, -0.0417782813, 0.0231964793, -0.0347189121, -0.0227875728, -0.0206144117, 0.0532413907, -0.0383425243, 0.0041557327, 0.0233531948, -0.0307531711, 0.0092134885, 0.0615085326, -0.0003386115, 0.0057982542, 0.0049110535, -0.001173407, -0.0331418999, -0.0122802816, 0.0132808872, -0.0147850448, 0.0267416537, -0.0163766816, -0.0144410729, 0.0271588974, 0.0454790629, 0.0471578017, -0.0669104755, -0.0079541504, 0.0552695207, 0.0100860475, -0.0017872611, 0.0504201539, 0.0352718569, -0.0642973483, -0.0189523362, 0.0553882271, 0.0131029114, -0.0325977206, 0.0222689435, 0.0501003414, 0.0572150201, -0.0019325234, 0.05777492, -0.1072333455, -0.042863708, 0.0408317894, 0.0002385793, -0.0434773453, 0.0402731933, -0.0274237227, -0.1326305717, 0.0746047348, 0.0322313048, 0.0286714882, -0.0529454648, -0.0403216183, -0.0350941196, 0.0574554875, 0.0233570542, 0.0543404743, -0.0032618421, -0.0334752835, 0.0021988535, -0.0729709417, -0.0325508788, 0.0256826039, 0.018849086, 0.0261313748, 0.0546743162, -0.021763362, 0.0191277321, -0.0422819667, 0.0399472713, 0.0186900869, 0.0522417761, -0.0254035555, -0.0291423928, -0.0004896901, -0.0321775414, -0.0154661611, 0.0214582682, -0.0178874787, -0.0108678062, -0.0337936804, 0.0603455156, -0.0155352792, -0.003991758, -0.012192104, 0.0035339554, -0.0110475505, 0.0273681581, 0.0109921489, -0.0153505523, -0.0615991913, -0.035678722, -0.0412933081, -0.0721104816, -0.0194550324, 0.0049275947, -0.009779091, -0.0043909652, 0.0283120945, 0.0441425964, -0.0196663495, -0.012792794, -0.0223971047, -0.0638739094, 0.0290916003, -0.0277928002, -0.0950107351, 0.0407373607, -0.0636181235, 0.0669283122, -0.0675797909, -0.0147527941, -0.0049036173, -0.0364442654, 0.0045497799, 0.0829802379, -0.0807801113, -0.0707105845, -0.0110241389, 0.0449275039, 0.0116342455, 0.0294096768, -0.0126805892, -0.0309645049, 0.0149504356, 0.0763156563, -0.0170693733, 0.0529729538, 0.0091666132, -0.0321941935, -0.0152758975, -0.00530488, -0.0084713725, 0.0401274413, 0.0429492369, 0.0199651122, 0.0405839123, -0.047953248, -0.0052167517, 0.0483851731, 0.0161207132, -0.0034017665, 0.024404997, 0.0116614355, 0.0503794551, 0.0104327668, 0.0010098326, -0.0568221994, 0.0061014537, -0.0072779842, -0.0440342985, -0.0010081258, -0.0401427411, 0.0178571902, 0.0302190296, -0.01230036, 0.0516642407, -0.047748588, 0.0255390592, 0.049151741, -0.0404661633, -0.0066994461, 0.0413583219, -0.0185573678, 0.0320913196, -0.0310533363, -0.0016646712, 0.0107742837, 0.0265006106, -0.0534494333, 0.035513442, -0.0134641174, -0.0592927299, -0.0752960593, 0.0204921663, 0.0758417621, 0.0592977479, 0.0398024432, -0.0435033105, -0.0057008746, -0.0215480123, 0.0184978563, 0.0012492815, -0.0384918638, 0.0348125398, 0.0370589122, 0.0079254443, -0.0501195081, 0.02105413, 0.0114233783, 0.0453540571, -0.0188862737, 0.0004458184, -0.0136920316, -0.071135208, -0.0137327882, -0.0330015309, -0.0213821679, -0.0434362441, -0.0373244248, -0.0592579916, 0.0177252591, 0.0501969159, 0.0254251882, -0.0242489707, 0.0429455787, 0.0389800519, 0.0212983526, -0.0568709411, 0.0304840654, 0.0143801505, -0.0073287906, 0.0004043837, 0.0225660745, -7.006369509e-33, -0.0459183976, 0.0108678034, 0.0058336481, -0.0244617965, -0.0335374698, 0.0175461676, -0.0655113459, -0.0169181377, 0.0217052232, -0.0224458259, 0.0142276948, -0.0096642114, 0.012236163, 0.0142001212, -0.0142950164, 0.0290774088, 0.0564340763, 0.0128914928, -0.0244201049, 0.0312803723, 0.0074298363, -0.0107488055, 0.0241181869, -0.0244928189, -0.0559119731, -0.0180374123, 0.0147560015, -0.0253234543, -0.0515122339, 0.0413914099, -0.0292401277, 0.0505345762, -0.0058974111, -0.0397000574, 0.0055044941, 0.0216049403, -0.0562604629, 0.0156608019, 0.0384105854, 0.0023573644, 0.0050509134, -0.0709816962, 0.0525519289, 0.0702132359, -0.0710125193, -0.0167145617, -0.0318627618, -0.0044976054, -0.0193226095, -0.0503450856, -0.0515829436, 0.0524792522, 0.0528020561, 0.0232701972, 0.0115687586, 0.0003166022, -0.036367625, -0.0155217936, -0.0048517631, 0.0069655515, 0.04423628, 0.0592838787, 0.0959214196, 0.025148619, 0.015924776, 0.0283802617, 0.0280469116, -0.0015996544, -0.04745318, 0.0570665076, 0.0613413826, 0.0502152666, 0.0069678128, 0.0325486735, 0.0634852722, 0.003417341, -0.0546216108, -0.0224348661, 0.0184344593, 0.0457783975, 0.0363398753, 0.0189204682, -0.0171892568, -0.024672946, -0.0351692736, 0.058528658, -0.0381818488, -0.0245172922, 0.007937138, 0.0479618125, -0.0654592663, -0.0249132924, 0.0177109838, -0.0227256157, 0.0204982907, 0.0077661076, 0.0181267466, 0.0125577236, 0.0081728278, 0.0362842456, -0.0322607532, -0.0583306029, 0.0002352653, -0.0335438065, 0.0340588726, -0.0131727429, -0.0297803301, 0.0638322756, -0.0279321317, 0.0118084624, -0.0593078285, -0.0011205485, -0.0065907273, 0.0449777134, 0.0361256599, 0.0170644913, -0.0035412323, 0.0456762202, -0.0670943782, -0.0054647611, -0.0229670666, 0.0265355688, 0.0196872484, 0.0505685546, -0.0289446954, 0.0127677815, -0.0470990762, -0.0058921436, 0.020109592, -0.0734677985, -0.0427604802, 0.025007816, 3.453e-7, -0.0102947466, 0.013933382, 0.0559195168, 0.0713483095, 0.0100202681, -0.0055014575, 0.0403603539, 0.0105342912, -0.0123668769, -0.0119003821, -0.0145112742, 0.0681677684, 0.0666738451, -0.0104063908, -0.001604942, 0.0254941527, -0.0266201347, 0.026169179, -0.0432186201, -0.0178617407, 0.0086698299, 0.0731143579, -0.052950643, -0.0434634611, 0.046956446, -0.0016988919, 0.0123687256, 0.0006480336, -0.0126086827, -0.0090722023, -0.0213491339, -0.0097013777, -0.0335563198, 0.0286281239, -0.0031577651, -0.0223090537, -0.0616560541, 0.0688305572, -0.0021438492, 0.0004282867, 0.0420669392, -0.0157964677, -0.0468069687, -0.0186580773, 0.0625119135, 0.0042735762, 0.0066251005, -0.0865126997, 0.019107094, -0.0087681264, -0.0450688973, -0.0096593983, 0.0536436513, 0.0285225436, 0.0303176399, -0.0179732852, 0.0065989192, -0.0551251471, -0.0634774044, 0.0146696009, -0.0522678755, -0.0431438237, -0.0598433316, 0.0514729172, -0.0033464686, -0.0346444361, -0.0080526173, 3.67197734e-34, 0.0221985038, -0.0064641614, -0.0307350196, 0.029198477, 0.0436148718, -0.0156450588, -0.0323691443, 0.0226367377, -0.0377255455, -0.0801115632, -0.0398320779 ]
http://arxiv.org/abs/2406.10902v1
http://arxiv.org/pdf/2406.10902v1
Light Up the Shadows: Enhance Long-Tailed Entity Grounding with Concept-Guided Vision-Language Models
2024-06-16T11:49:00
2024-06-16T11:49:00
Yikai Zhang, Qianyu He, Xintao Wang, Siyu Yuan, Jiaqing Liang, Yanghua Xiao
cs.CV
cs.CV, cs.CL
Multi-Modal Knowledge Graphs (MMKGs) have proven valuable for various downstream tasks. However, scaling them up is challenging because building large-scale MMKGs often introduces mismatched images (i.e., noise). Most entities in KGs belong to the long tail, meaning there are few images of them available online. This scarcity makes it difficult to determine whether a found image matches the entity. To address this, we draw on the Triangle of Reference Theory and suggest enhancing vision-language models with concept guidance. Specifically, we introduce COG, a two-stage framework with COncept-Guided vision-language models. The framework comprises a Concept Integration module, which effectively identifies image-text pairs of long-tailed entities, and an Evidence Fusion module, which offers explainability and enables human verification. To demonstrate the effectiveness of COG, we create a dataset of 25k image-text pairs of long-tailed entities. Our comprehensive experiments show that COG not only improves the accuracy of recognizing long-tailed image-text pairs compared to baselines but also offers flexibility and explainability.
[ 0.0359967723, 0.041987814, 0.0198455714, 0.0412964001, -0.015774969, 0.0269121304, -0.029596366, 0.0043689627, -0.0224805176, -0.0542944185, 0.0328605138, -0.0015103731, 0.0203197841, 0.0415864773, 0.0255236924, -0.0558346063, 0.0091483947, -0.0282901954, 0.0028939594, 0.0342080779, 0.0398137905, 0.0200022403, -0.0032563729, 0.033793401, -0.0443371683, -0.0154635077, 0.0046923216, 0.0118330093, 0.0365727581, -0.0359750688, -0.0536257997, 0.0242267568, 0.0451541953, 0.0026955714, 0.0000019775, -0.0343607403, -0.0048894575, 0.0312939472, -0.0330794193, -0.0532828532, -0.0214493498, -0.0263058729, 0.0063743703, -0.0265474692, -0.0036532755, -0.016564399, 0.0564079955, 0.1030907333, 0.0603591949, 0.017195696, -0.0182561297, -0.0211515818, 0.0572072342, 0.0047553875, 0.0513087921, -0.0233897287, 0.0407530554, 0.0426060185, -0.019066982, -0.0101268776, -0.0046602939, 0.0265115574, -0.011508584, -0.0369559452, 0.0268044118, 0.0591376871, 0.0097691827, -0.0120725231, 0.0179476887, 0.1046580821, 0.0119170994, -0.0189474951, 0.0144755067, -0.0022404571, 0.0010415243, 0.0295452196, -0.0268620756, 0.0062545468, -0.0393655226, 0.0000633812, -0.0445013344, -0.0027311593, 0.0144726653, 0.028001735, -0.0420159139, -0.012707416, -0.00270292, -0.0067334734, 0.0057878266, 0.0166723523, -0.0667283908, -0.0564520992, -0.0204969067, 0.0347477868, 0.0201257542, 0.0171305723, -0.0181803014, -0.0217006821, -0.0136477733, -0.0257262029, -0.0210801587, 0.0179449245, -0.0669710487, 0.106819652, -0.0509802848, 0.0149779646, -0.0059705111, -0.0166087709, 0.0145646026, -0.0573272109, -0.0567229353, 0.0093264002, -0.0079415888, -0.0164830629, -0.01834419, -0.0366661325, -0.007739584, -0.0015995203, -0.0549249239, 0.0339166708, -0.0004754958, 0.0276086181, 0.0031036271, -0.0170887411, -0.0639122799, 0.053753037, -0.0125820115, -0.0058652898, -0.0110782143, -0.0163708404, 0.0442520007, 0.0133094015, 0.01358697, 0.000405547, 0.018821232, 0.0430942625, 0.0109775523, -0.0188401956, -0.0404282026, -0.0560424663, -0.0242304076, -0.0497645997, 0.0010016534, -0.0635484904, 0.0090339324, 0.0122966785, -0.0063418816, -0.0245635081, 0.0466004163, 0.0004555833, -0.0721842274, 0.131587252, -0.0672431886, -0.0045810547, 0.0019736618, 0.0291348919, -0.006002204, 0.0469955616, 0.0484925397, -0.0217992384, 0.0412394069, 0.0110335052, -0.0141440723, -0.012545622, 0.0230962373, -0.0097702965, -0.0077888523, 0.022960905, -0.044267308, 0.009692763, 0.0134684853, 0.0123981377, -0.0155742029, 0.0135036092, 0.0361156911, 0.0235570446, -0.0079048742, -0.0278060231, 0.0225212332, -0.021569822, -0.032434281, -0.0089016212, -0.0737911239, 0.032970164, -0.0350395888, 0.0027751953, -0.0465077534, 0.0531560704, -0.0375418887, -0.0030176234, 0.0162912495, -0.0131474584, 0.0260202251, 0.0068094619, 0.0613596216, -0.0017556982, -0.030490553, 0.0096039427, 0.0298425369, -0.0336768031, 0.0013983417, -0.0094788559, -0.0052590929, 0.0606212877, 0.0443534441, 0.0128589477, -0.0139522292, -0.0041236398, 0.0224729199, 0.0356171094, -0.0579892211, 0.0001044171, -0.0122510297, -0.0467744805, -0.075582169, 0.0477411747, -0.0105457418, 0.0107335085, 0.0119014969, 0.0055405865, 0.0397362858, -0.0597678758, -0.0090427725, 0.037722107, 0.0553497709, 0.0473105647, -0.0657934248, 0.029489778, -0.0195033383, 0.0266196821, -0.0084099434, 0.0002557726, 0.0241201092, -0.0039881472, -0.0060124425, 0.0037300021, -0.014086864, 0.0112065962, 0.050160259, -0.0676946267, -0.0089284033, -0.064684689, -0.0172967091, -0.0651481301, 0.0015124581, -0.0186757352, 0.0412088111, -0.0238653123, 0.0084238714, 0.0142625887, -0.0009039604, -0.0261198226, 0.0906321108, -0.001403791, -0.0170783643, -0.0032941538, -0.0130540542, 0.0278842114, 0.000869051, 0.0186204836, -0.0093710143, 0.0034590522, 0.0159466304, 0.0372493081, -0.0176283848, -0.038297344, 0.0035280841, -0.0986386687, -0.030734187, 0.0190942958, -0.0227718353, -0.0379748158, -0.0084383367, 0.0094187362, -0.0262234788, -0.0044022002, 0.0584751107, 0.0131244715, 0.0115749845, 0.0362158529, 0.0390716717, -0.0501431376, 0.0078164972, 0.0028936595, -0.0058649667, 0.0645801499, 0.0471971445, -0.0845801085, -0.0553443953, 0.0541475639, -0.0530190878, 0.0361858979, -0.0340590216, 0.0228594318, 0.0150477458, 0.0207436271, 0.0634838417, 0.0141104991, -0.0071311169, 0.0037282833, -0.0048970436, -0.0402884297, -0.0545932502, -0.0066051385, 0.0007706767, 0.0158552434, -0.0138952183, 0.0061704353, -0.0339613371, 0.0095452117, -0.0266870931, -0.0059284917, -0.0640277714, 0.021097539, 0.0302958544, -0.0060290862, -0.0454346649, -0.0380891338, 0.0386604331, 0.0327311456, -0.0617247634, -0.0291956868, 0.0696532577, -0.052844394, 0.0115704099, 0.0765688047, -0.0058265449, -0.0219845977, 0.0539529473, 0.0394022688, -0.0023174724, 0.0527939983, 0.0274979267, -0.0410572812, -0.0215353649, 0.0251722969, -0.0061564669, 0.078851141, -0.0504096486, 0.0494195484, -0.0059356168, -0.0148645304, -0.0367852524, 0.03588368, -0.0323875695, 0.0236758143, -0.012836949, -0.0313534811, -0.0245136302, 0.0649155974, 0.0509671904, -0.0212134793, 0.0302931238, -0.0272734519, -0.0326049887, 0.0087366309, 0.0577036254, -0.0059535559, 0.0372880511, -0.0147239789, -0.0080318497, 0.0497683138, 0.0249044411, -0.0487591513, -0.0215585101, -0.028969096, -0.0195042808, -0.0078978753, -0.0226981342, 0.0071358848, 0.0463326685, -0.0482873023, 0.0399384014, 0.0939679742, -0.0062039243, -0.0262505356, -0.0466571525, 0.0213947501, 0.0263635628, 0.0296975952, -0.0059298477, -0.0854456052, -0.048807703, 0.0037616156, -0.0016307721, 0.0156117817, -0.0688495785, -0.0263788346, -0.082840763, 0.0342672616, -0.0056655598, 0.0033259492, -0.0687085912, -0.0384215228, 0.0189962052, -0.0141896866, -0.0498619452, -0.0143532138, -0.015794469, -0.0016918022, 0.0111117754, 0.0035753855, -0.0117612071, 0.0242092051, -0.1114037633, 0.0230631065, 0.0251394771, 0.0359709598, 0.0298532303, -0.0557763316, -0.04495956, -0.0750560313, 0.0112754339, 0.0061753141, 0.0580653101, -0.0692345276, -0.0168788116, -0.0207577907, 0.0057296851, -0.0463219807, -0.0171270147, -0.0359045416, 0.0821399093, -0.0260752067, -0.0046924138, -0.0235626195, 0.001135873, 0.0064448449, 0.0710648224, 0.0173143446, -0.0086443685, -0.0109962886, -0.010678676, 0.0349408202, -0.0041268785, -0.0034836112, 0.0016428347, -0.0422014073, 0.0065393071, -0.0479143858, -0.0106893862, 0.0421411172, 0.0581135936, -0.0035798657, 0.0291309729, 0.0085621579, 0.0096851643, -0.0759567544, 0.0638450459, -0.0314371251, 0.0220931582, -0.0466702171, 0.0125665553, 0.0229794756, -0.0103552025, -0.0297484249, 0.0525206402, -0.0587584637, -0.0367488451, -0.0215861723, 0.0285637472, 0.0235823691, 0.0283543207, 0.0041801161, -0.0277059264, 0.0152197005, 0.0368534885, -0.0365768373, -0.0072449972, -0.0053792074, -0.0304876249, 0.0025864597, 0.0251489189, -0.0702949539, 0.0268477518, 0.0022325222, -0.0018921031, -0.0763662308, -0.0543313995, 0.0010250205, 0.0195444003, 0.0412174053, -0.02470457, -0.0185797457, -0.0392304435, -0.0129630519, 0.0120024113, -0.0190385561, -0.0496707596, 0.005970154, 0.0023473524, -0.0152027644, 0.0415338799, 0.026677426, 0.0256413296, 0.0110709881, -0.0043039806, -0.0203526523, 0.0279651321, -0.0153269377, 0.0085648205, -0.0283029992, 0.0317478962, 0.0402154177, -0.0159186013, 0.0271888189, -0.0200486388, 0.0632923692, 0.0311441701, -0.0388251133, -0.0027993724, 0.0086472537, -0.006222792, -0.0156173939, -0.0146766817, 0.0298764762, 0.0780438334, 0.0474983938, 0.0470302217, -0.0243760329, -0.0097727301, -0.0000211658, 0.0374309607, 0.0117491642, -0.0178750586, 0.0355668105, 0.0439509898, -0.0208119657, 0.0217892863, 0.0434185117, 0.0276401863, 0.0423827246, -0.0098502021, -0.0296698883, -0.0279120747, -0.023932321, 0.0132063515, 0.0146745695, 0.0000838816, 0.0496646687, -0.0441423468, -0.0683007091, 0.0129776709, -0.0077614561, -0.0433278605, 0.0389638804, 0.0452610254, -0.0011291805, 0.0271525905, -0.0230394732, -0.0184009969, -0.0246181525, -0.0448489226, 0.0090551032, 0.0095531819, -6.161059766e-33, -0.0644802898, -0.0768729225, 0.0261584017, 0.0053966818, -0.0020276415, 0.0333912447, 0.0102165313, 0.0091010444, -0.0190174635, 0.0327620283, 0.0323998034, 0.0071533094, 0.0050663091, 0.0035647156, -0.0247297809, 0.0332641974, 0.0350448117, 0.041358985, 0.0187260713, 0.0272009112, 0.0533389002, 0.0304494761, 0.0496341623, -0.1029265746, 0.0373309851, 0.0168695617, -0.0196294151, 0.0231705569, 0.0507788286, 0.074850671, -0.022452591, 0.0276781842, 0.0151582342, 0.0067807664, -0.0239966307, 0.0057856599, -0.1291830987, 0.0102951555, 0.0176806506, 0.0254060235, -0.0349031426, 0.0001814179, 0.0200802758, -0.0422248095, 0.0480249561, -0.0204003584, 0.0805229917, -0.0302759185, -0.0090024304, 0.0121512618, -0.0201704465, 0.0505778007, -0.0117688058, -0.0104806367, 0.0176300239, -0.0315657705, 0.0448392592, -0.0200999659, -0.0820479766, 0.015949646, 0.0198499952, -0.0075558601, 0.0800696164, 0.0414036438, -0.0129273077, 0.0663188174, -0.0047737849, -0.0468532369, -0.0473863035, -0.0469795056, 0.0138986679, 0.0892343521, 0.0369354673, 0.0605948083, 0.0131466622, 0.012701571, -0.0608699173, 0.0293002799, -0.0308502559, 0.0844245777, -0.00740497, 0.0074049495, -0.0581341013, -0.0210462231, -0.0243851431, -0.0414869599, -0.0469329506, -0.0172518864, 0.0192727912, 0.032444533, -0.0505295731, 0.0619625337, 0.047854282, -0.0279867705, -0.0162244793, 0.0462288372, 0.0267489422, 0.0294860899, 0.0134055112, -0.0155429915, -0.0518384986, -0.0473842211, 0.0767462999, -0.0134446118, 0.0024576311, 0.011382415, 0.0522505082, -0.0330457613, -0.0416849777, -0.0072197081, -0.0240816791, -0.0178096388, -0.0297305584, -0.0198815726, 0.0321556441, 0.0362511277, -0.0342522897, 0.0039316765, 0.0369886495, -0.0034593174, 0.011176127, -0.0172460545, -0.0112594794, 0.0210124236, 0.0016807285, -0.0049398202, -0.0241784789, -0.0444643237, 0.0312860943, -0.0404140316, -0.0128329555, 0.0262240488, 2.77e-7, 0.0415659174, 0.0159933921, 0.0458580852, 0.0236316435, 0.0101144547, 0.0436433889, 0.0298898108, -0.0013998154, -0.0286140479, -0.0812864602, -0.0090433313, 0.0300459825, 0.0013414657, 0.0360135287, 0.0081614051, -0.0187164787, 0.009164473, -0.0385683477, -0.0781878829, 0.0117015224, 0.0140474662, 0.0543025546, 0.0025723316, -0.0150585491, 0.0241703764, -0.0961057991, 0.088422671, -0.0252362918, 0.0267817806, -0.007016643, 0.0343486257, 0.0280976556, -0.0230460502, 0.0791431889, 0.0275868569, -0.0027555276, 0.0419098139, 0.020588493, -0.0257707126, 0.0434472263, -0.0299906433, -0.0051727132, -0.0159928557, -0.0327213481, 0.070454672, -0.054289896, -0.0173408464, 0.0019059847, -0.0354481675, -0.0440137535, -0.0197414793, 0.0338378027, -0.0142993396, -0.0014250177, 0.0039158966, -0.0303853322, -0.0460275523, -0.0820771754, 0.0240995269, 0.0264488254, 0.0280678049, -0.0310476832, -0.0302572697, -0.0772623643, 0.0368240699, -0.0635710806, -0.040678788, 2.535053439e-34, 0.003840162, 0.0206421316, -0.0177953225, -0.0018543906, 0.0556386709, -0.0198724754, -0.0716241077, -0.0124327168, -0.0039080447, -0.061179135, 0.0088885827 ]
http://arxiv.org/abs/2406.10900v1
http://arxiv.org/pdf/2406.10900v1
AUTOHALLUSION: Automatic Generation of Hallucination Benchmarks for Vision-Language Models
2024-06-16T11:44:43
2024-06-16T11:44:43
Xiyang Wu, Tianrui Guan, Dianqi Li, Shuaiyi Huang, Xiaoyu Liu, Xijun Wang, Ruiqi Xian, Abhinav Shrivastava, Furong Huang, Jordan Lee Boyd-Graber, Tianyi Zhou, Dinesh Manocha
cs.CV
cs.CV, cs.CL
Large vision-language models (LVLMs) hallucinate: certain context cues in an image may trigger the language module's overconfident and incorrect reasoning on abnormal or hypothetical objects. Though a few benchmarks have been developed to investigate LVLM hallucinations, they mainly rely on hand-crafted corner cases whose fail patterns may hardly generalize, and finetuning on them could undermine their validity. These motivate us to develop the first automatic benchmark generation approach, AUTOHALLUSION, that harnesses a few principal strategies to create diverse hallucination examples. It probes the language modules in LVLMs for context cues and uses them to synthesize images by: (1) adding objects abnormal to the context cues; (2) for two co-occurring objects, keeping one and excluding the other; or (3) removing objects closely tied to the context cues. It then generates image-based questions whose ground-truth answers contradict the language module's prior. A model has to overcome contextual biases and distractions to reach correct answers, while incorrect or inconsistent answers indicate hallucinations. AUTOHALLUSION enables us to create new benchmarks at the minimum cost and thus overcomes the fragility of hand-crafted benchmarks. It also reveals common failure patterns and reasons, providing key insights to detect, avoid, or control hallucinations. Comprehensive evaluations of top-tier LVLMs, e.g., GPT-4V(ision), Gemini Pro Vision, Claude 3, and LLaVA-1.5, show a 97.7% and 98.7% success rate of hallucination induction on synthetic and real-world datasets of AUTOHALLUSION, paving the way for a long battle against hallucinations.
[ -0.000288137, 0.0310434569, -0.0209043287, 0.0633779168, -0.0809258372, 0.0331544802, 0.0053885486, 0.0108484309, 0.0168854296, -0.0530480854, 0.0211059302, -0.0318176448, -0.0074727386, 0.0015782508, 0.0064682015, -0.0600333363, 0.0362098217, -0.0585698448, -0.0593773946, -0.0259485673, -0.0329981223, -0.0267377961, -0.0170708448, 0.012198925, -0.0395323597, -0.0378752239, 0.001781137, 0.0169398468, 0.0264765769, -0.015125921, -0.0338953994, 0.0687698126, 0.0024972917, 0.0286662634, 0.0000022985, -0.0778415799, 0.0045083831, -0.0154869473, 0.0247896761, -0.000718934, 0.0207439326, -0.0096357381, -0.0140009215, -0.0132423025, -0.0369016863, -0.0103353839, 0.0589542836, 0.0546552055, 0.0302937683, 0.0282228962, -0.0140920514, -0.0217294097, 0.0268937275, 0.0292458553, 0.0658367351, -0.0067262235, 0.0358415917, 0.0537618808, -0.0239859428, -0.0492787994, -0.0410886109, 0.0301356278, 0.0432763286, 0.0271083713, 0.0042802738, 0.0281648133, -0.1137641892, -0.0576962009, -0.0069233677, 0.0743759796, -0.0642439649, -0.0497282334, 0.00951951, -0.0023371619, 0.0017685692, -0.0073567368, -0.0289771482, 0.0417808071, -0.0155429617, 0.0105975848, 0.017112771, 0.0053860168, 0.0100470157, -0.0177459083, -0.0237734374, 0.033830177, 0.036682006, 0.0086736111, 0.0450270399, -0.012232855, -0.0302393977, -0.0547006801, -0.0055054761, 0.019732384, -0.0343935639, -0.0211616904, -0.0114628328, 0.0203104764, 0.0329130962, -0.0664564744, 0.0266319998, 0.0054782764, -0.0881361216, 0.0588509962, -0.0400450602, 0.068196997, -0.0185321551, 0.0624700785, -0.0257711988, -0.0107373297, 0.0029731304, 0.0217913147, -0.0385821164, -0.0211901572, -0.030454373, -0.03453568, -0.0264473651, -0.0185488351, -0.0629699826, 0.0299336649, -0.0357537456, 0.0282839201, 0.0007825404, -0.028403325, -0.0106793018, -0.0289420132, -0.0230961516, -0.0213391595, -0.0200034846, -0.1019535661, 0.0205366723, 0.0424200073, -0.0148540707, 0.0010564306, -0.0020574681, 0.0687755793, 0.0143895382, -0.0033427139, -0.031613756, -0.0137346266, -0.0125792688, -0.0718635544, 0.0306867193, -0.0828373134, 0.0095229009, -0.0150979869, -0.0120721273, -0.0051004807, 0.0328350589, 0.0045357463, -0.0177307837, 0.0931526497, -0.0251789801, -0.0055736946, 0.0299903043, 0.0345878676, -0.0151522029, 0.0884854272, -0.022437457, 0.0545791499, 0.0116144177, -0.0377589166, 0.0761953965, 0.032636188, -0.0274219662, 0.0080586988, -0.0912471488, 0.0132958284, 0.0219486859, 0.018788252, -0.0036882297, 0.0702229887, -0.0215618685, -0.0459558927, 0.0283267424, 0.0228540935, -0.0053274441, -0.0236817021, 0.0321116596, -0.0320983492, 0.0049159084, 0.0229575951, -0.0626242086, 0.0431325659, -0.0322908349, -0.0080267228, -0.0174469054, 0.0203580987, -0.0181752574, -0.0528762192, -0.0244011879, -0.0036059241, 0.001380469, 0.0255407542, 0.041392345, 0.0238452386, -0.0488147028, -0.0110870656, 0.0269180145, -0.0236143749, -0.0091069266, -0.0463266112, 0.0063374322, 0.0406365469, 0.0425652117, -0.0298575573, 0.0058731283, -0.0112529565, 0.0411835089, 0.0664177388, 0.0278551243, 0.0117259072, 0.00478447, -0.0391095839, -0.003481671, 0.011605503, 0.0292347092, 0.0090081804, 0.0007043016, 0.0005832132, 0.0147597957, -0.0226371288, -0.0205070172, 0.0496443547, 0.0021105313, -0.0016223865, -0.0427413248, -0.0131975245, -0.0040849457, -0.0289420933, -0.0186000764, 0.0178769156, 0.0102987895, -0.0396125279, 0.0169107057, 0.0351450704, -0.0332057811, -0.0099728033, 0.0487212464, -0.0761147067, -0.0059773261, 0.0004938009, -0.0107611688, -0.0101657594, 0.0025024083, -0.0292902514, 0.0247533042, -0.0609016865, 0.0363143757, -0.004793155, 0.0414038412, -0.0116031952, 0.1046787277, -0.0465947576, 0.0164421983, 0.0252183843, 0.0338722207, -0.0017226278, -0.0151807647, -0.0149018364, 0.0054151048, -0.0119855758, 0.0126276072, -0.0186296217, -0.0329147503, -0.0748611689, 0.0269838348, -0.0550507791, -0.024213763, -0.0370373875, -0.0699798241, 0.0063231667, -0.0312984996, -0.0183419492, -0.023121547, 0.0086029759, 0.061671216, 0.0071255937, 0.0511939749, 0.0007845418, -0.0355078802, -0.0369023457, -0.0110576237, 0.0067717722, -0.0082818428, 0.0517328903, 0.0131470505, -0.0216818172, -0.0416518934, 0.0524067916, -0.0295146611, 0.0400734097, -0.0282957423, -0.0228714328, 0.0137670645, -0.0131909391, 0.0552901402, 0.0949715823, 0.0245726258, 0.0251185652, 0.0751052201, -0.0327514969, -0.0278666392, -0.0298748091, 0.0007239257, -0.0073700831, 0.0161655955, -0.0667236, -0.0278195329, 0.0352274105, 0.0182170123, 0.0237074867, -0.0745805129, 0.0636378974, -0.0224362127, -0.0790428519, -0.0152124465, -0.0251689181, -0.0107718362, 0.0856661871, -0.0284697805, -0.0740429461, 0.0366171002, -0.0081270048, 0.0076673338, 0.0166070592, 0.0408702791, -0.0002070624, 0.03361772, 0.0597655997, 0.0396330059, -0.0157217439, 0.0104713729, -0.0429357365, 0.0039761676, -0.01429235, -0.03557235, 0.0244064685, -0.0496568121, -0.0202674679, 0.0134303793, -0.0043937378, -0.075450629, 0.0339655764, -0.0142913749, -0.0335150585, -0.075373441, 0.0361188687, -0.0403893664, 0.0348130651, -0.023567494, 0.0030089326, -0.0017524267, -0.0137417577, 0.0086140912, -0.0105167096, 0.0704859272, -0.0088979267, 0.0519701391, -0.0262368713, 0.0250847694, 0.0700514317, 0.0487326123, 0.0403613187, -0.0620688386, 0.0425229259, 0.0090862019, 0.0167512521, -0.0114852944, 0.0269059595, 0.0306635406, -0.0160008408, -0.0117226476, 0.0738994554, 0.0470709987, -0.0512241982, 0.0095143802, -0.0604502819, 0.0453246497, 0.0286676325, -0.0056061293, -0.0876474231, 0.0003613502, -0.0164044742, -0.0365133882, -0.0225409362, -0.0260338131, -0.0031169183, -0.090213947, 0.0905186087, 0.0396614634, -0.0237166919, -0.0267888661, 0.0153494878, 0.0065885172, -0.0092910295, 0.0038717813, -0.0031069436, 0.0182615314, -0.0273279957, -0.0164198317, -0.0367005132, -0.0045008967, 0.0449703671, -0.0423888639, 0.0272113848, 0.0629429147, 0.0027595032, 0.008482486, -0.102817975, 0.0418122858, -0.0229245815, 0.0201993417, -0.0015405606, 0.057942044, 0.0143719977, -0.0053799814, -0.0023866922, 0.0286028534, -0.01585944, -0.0552508831, -0.0096938368, 0.0441805869, -0.0227494817, -0.0346212648, -0.053797178, 0.0548660643, -0.0208557732, 0.0725835115, 0.0254724547, -0.0220632199, -0.040868178, -0.0053726733, 0.0552561954, -0.0286164414, -0.0525234863, 0.0359116048, 0.0699253529, -0.0448391698, -0.0588689856, -0.0301759019, 0.021903595, 0.05145007, -0.0101530692, -0.009431392, -0.070745334, -0.0012239305, -0.0484870858, 0.0465996191, -0.0155198695, 0.0037618764, -0.0054881214, 0.0169058405, 0.015533356, -0.0292329844, 0.0051049041, 0.0582351573, -0.07602299, -0.0608296953, 0.0686343536, 0.0706546679, 0.0303886663, 0.0528896749, 0.0005151905, -0.022776939, 0.0115761226, 0.0252237581, 0.0684189126, 0.0279757325, -0.0149192074, -0.0149795944, -0.0023392991, 0.015756771, 0.0055407505, 0.0275008474, 0.0439658538, 0.0221480299, -0.0198051687, -0.0012618789, 0.0365729928, -0.0084616691, 0.0028016497, -0.0366211198, -0.0041500716, 0.0117458887, -0.0098331943, -0.0209649596, -0.0348526016, -0.0280944053, 0.0065850993, 0.0355103537, -0.0087304115, 0.0146846306, -0.0204741303, -0.0424179398, -0.0303839184, -0.0357108824, -0.020705631, 0.0551042818, 0.0047149276, 0.0201495048, -0.0109211933, -0.0122969151, -0.0088525712, -0.0050466657, 0.0793172121, 0.0195637941, 0.0788078457, -0.0016280033, -0.0211846996, -0.0320331156, 0.0036544893, -0.0123310992, -0.065120481, -0.0379833616, 0.044029735, 0.0634430721, -0.0086510908, 0.0204354562, -0.0359849893, 0.0046782866, -0.0112168826, 0.0100688031, 0.0447203852, -0.0343799293, 0.0196208451, 0.025291793, -0.0151970983, -0.0260412823, 0.0386384428, 0.0043722941, 0.0247007962, 0.0382165052, 0.029862063, -0.0440913141, -0.0269651879, -0.0142576117, -0.0133584784, -0.0107439393, 0.0072141523, -0.0690526888, -0.0558130629, -0.0265872516, 0.0259105004, 0.0169884823, 0.0373074934, 0.0282056145, 0.0756113306, -0.0204242766, -0.0405070074, 0.0167456679, -0.0067666336, 0.0224906374, 0.0031533916, 0.0180935189, -6.403419518e-33, -0.0215704609, -0.0285809338, 0.0433087461, -0.032316234, 0.0019648243, -0.0255190097, 0.0037155622, 0.0031129071, -0.0167021938, 0.0119830733, 0.0235285461, 0.0054280581, 0.0135622052, -0.0033732243, 0.0008468167, -0.0181445871, 0.0073822448, 0.0171574876, -0.0503222011, -0.0174711086, -0.0304950736, -0.0069314591, 0.0282303877, -0.0786450356, -0.0102620227, 0.002957243, -0.0315008759, 0.0350789353, 0.0050438619, 0.039759431, -0.0314524025, 0.0260575153, 0.0254125986, -0.0066773701, -0.0263738073, -0.0009333762, -0.0244430881, -0.0294583254, 0.0281551741, 0.0483500697, -0.0777107999, 0.0020392418, 0.0205396749, -0.0311796255, -0.0104726525, -0.0279329848, 0.0393316373, -0.053791739, -0.014831136, 0.0553708635, -0.0744044036, -0.0008913603, 0.0090304082, -0.012489886, 0.0453900024, 0.0389394686, -0.0019437281, 0.0153329466, -0.0658097193, 0.0406181812, 0.0200520121, -0.0506911054, 0.0929823145, 0.0385409482, 0.0188231021, 0.0731929168, 0.1223481968, -0.0065740445, 0.0011343438, -0.0598717444, 0.0212334543, 0.0822412372, 0.0532159507, 0.0336647928, 0.0586275011, 0.0298403539, -0.0225518886, -0.0056177313, -0.0873741657, 0.0220057648, 0.053384807, -0.0083804326, -0.0466864146, -0.0090371864, -0.0153667117, 0.012256504, -0.0566481091, -0.0168996509, 0.0541216247, -0.0006574363, -0.0206432994, 0.0117964298, 0.0392747037, -0.022547489, 0.0262355208, -0.0057881894, -0.0020778475, 0.0215607826, 0.0002440714, 0.0297598597, 0.0198356397, -0.005887351, 0.0433921404, 0.0087810913, 0.0325329639, 0.0138791502, -0.0053910669, -0.0236803815, -0.0475881286, 0.0026124171, -0.0613072515, 0.0070212414, 0.0209236983, 0.0015042122, 0.0433291458, 0.0032548748, -0.0444494374, -0.0167209879, 0.0370985009, -0.0075969589, -0.0211466532, 0.0502654873, -0.0370572135, 0.0377828106, -0.0050577624, -0.0103470348, -0.0451969504, -0.0225541946, 0.0588687696, -0.0409951434, -0.0112546822, 0.0066327681, 2.853e-7, -0.0009903171, 0.0589975007, 0.0180140119, 0.0134913484, -0.004880677, 0.0174342114, -0.0024299643, 0.0035028877, 0.0381390825, -0.0550424159, -0.01652091, 0.0536619537, 0.0406030007, 0.0289883334, 0.0050754608, 0.0144102434, 0.0010176908, -0.0034500451, -0.0643315986, -0.019060621, 0.0209092051, 0.0312816836, -0.0186961703, -0.0368614793, 0.0361124501, -0.0402885638, 0.0526672229, -0.0544915013, 0.002210336, 0.0317671709, -0.0137338154, 0.0470634699, 0.01274841, 0.0671667531, -0.0032241319, -0.0472190119, 0.0281737484, -0.0323099867, -0.0409958363, -0.0494641624, -0.0163625572, 0.0037987486, 0.0019813173, -0.0952618793, 0.0740559548, -0.0189784765, -0.0036512336, -0.0052639218, -0.0484288596, -0.0175354071, 0.0755439103, -0.0094707152, -0.0172247384, 0.0053369678, 0.032487344, 0.0263515096, -0.0356851779, -0.0445338972, -0.0070920256, 0.0010449447, -0.0204920378, -0.0129147302, -0.0187937114, 0.0060753049, -0.0151218344, -0.0365172587, -0.0222775061, 2.854919916e-34, 0.0233033039, 0.0143186301, 0.0438852571, 0.0137408394, 0.0159283616, -0.0064588324, 0.013499965, 0.0316800363, -0.0269232877, -0.0326654464, 0.0018916122 ]
http://arxiv.org/abs/2406.12931v1
http://arxiv.org/pdf/2406.12931v1
Automatic Speech Recognition for Biomedical Data in Bengali Language
2024-06-16T10:49:21
2024-06-16T10:49:21
Shariar Kabir, Nazmun Nahar, Shyamasree Saha, Mamunur Rashid
eess.AS
eess.AS, cs.CL, cs.SD
This paper presents the development of a prototype Automatic Speech Recognition (ASR) system specifically designed for Bengali biomedical data. Recent advancements in Bengali ASR are encouraging, but a lack of domain-specific data limits the creation of practical healthcare ASR models. This project bridges this gap by developing an ASR system tailored for Bengali medical terms like symptoms, severity levels, and diseases, encompassing two major dialects: Bengali and Sylheti. We train and evaluate two popular ASR frameworks on a comprehensive 46-hour Bengali medical corpus. Our core objective is to create deployable health-domain ASR systems for digital health applications, ultimately increasing accessibility for non-technical users in the healthcare sector.
[ 0.0360022672, 0.0017870163, 0.0036037711, -0.0413282625, -0.0157083794, 0.0094484473, -0.0015583409, 0.011601462, 0.0361627862, 0.0177617036, -0.0115290843, -0.03329584, 0.0508721061, 0.0449193977, -0.0154031031, -0.0740925446, 0.02938338, -0.030791657, 0.0473512597, -0.0020947165, -0.000482377, 0.0303814989, -0.0722327828, 0.0345201492, 0.0291351918, 0.0410913005, 0.0268171914, -0.0232139248, 0.0057492261, -0.0844138265, -0.0439451113, -0.0079650283, -0.0243808888, -0.0413158312, 0.0000017053, -0.0364947841, -0.0298848562, 0.061461959, -0.0580956303, -0.0448559821, 0.0494366139, -0.0299453661, -0.0172388107, 0.0214488525, -0.0082546091, -0.010623714, 0.0669720843, 0.0311765056, 0.0188472159, 0.0330914706, -0.0201108214, -0.0380672254, -0.0059927236, -0.0118021006, -0.0024239274, -0.0096933786, 0.0030734574, -0.0390882418, 0.102575399, -0.0320339315, 0.0097069098, 0.031083269, -0.0159597639, 0.008842499, 0.0017048023, -0.0007768147, -0.0203482173, -0.0539462045, 0.0054919068, 0.0482267663, -0.0065539111, -0.0086908815, 0.0590310507, 0.0217766203, -0.0268290211, -0.0433667861, -0.0157790966, -0.0145686222, -0.0808921382, -0.016419962, 0.0505449623, 0.0135621782, -0.0005422054, -0.0205372237, 0.0279641729, -0.0222904701, -0.0099527342, -0.031754151, -0.02194665, -0.0568543486, 0.0188259147, 0.0174679346, 0.0704587847, 0.0260242037, -0.0264975373, 0.0202786718, 0.0105241556, -0.0340472795, 0.0502062589, -0.0458780751, 0.0153024318, 0.0157599524, -0.0120635312, 0.0177814476, 0.0240369923, -0.0218155291, -0.0180380587, 0.0110804243, -0.0081454059, 0.0328133218, -0.0034824694, -0.0226173941, -0.017212797, 0.0236249343, -0.0123687815, 0.0155618452, -0.1070803255, 0.0019552216, 0.0014775099, -0.0057493486, 0.0804004669, 0.0262370724, -0.0032359806, -0.022617802, 0.0291544944, -0.0178997759, 0.0141031975, 0.0082833609, -0.015019834, -0.1019771099, 0.0242666677, -0.0184835289, 0.0156484153, 0.0305491127, 0.0323523283, 0.0433533452, 0.0315575674, 0.0051175994, -0.007500797, 0.0368057899, -0.022622386, -0.0442909859, -0.0181208793, -0.0209805183, 0.0445416644, 0.0685641617, -0.0237160753, -0.0165173933, 0.0118208174, -0.001491096, 0.0053815828, 0.0764356181, -0.0214700103, -0.0021476392, 0.0820202455, 0.0318614468, 0.0606603138, 0.0078637069, -0.0110078882, -0.0653047413, -0.0272581168, -0.050536152, -0.0063706464, 0.0112763047, -0.0158791821, -0.0750716105, -0.006327075, 0.0063559567, 0.0100917267, 0.0572543852, -0.0243066363, 0.065527074, 0.0146476869, 0.0264472719, -0.0012663363, 0.0881485939, 0.061940372, 0.0245632064, 0.0154437674, -0.034562584, 0.033762224, -0.0196004286, 0.0375921205, 0.0010932499, 0.0279355664, -0.0074828472, -0.0038736747, -0.0001377277, -0.0190806035, -0.0117575955, -0.0459385887, -0.0490035191, -0.0541435592, 0.0232735705, 0.0647465661, 0.0146768168, -0.0245213695, 0.0438151993, 0.05775382, -0.0645637214, 0.0133814653, -0.0722033754, 0.0004484396, 0.0325068384, 0.0432341285, -0.0677517503, 0.0155945886, -0.0064771147, -0.0383710004, 0.0119168349, -0.0259862393, -0.0002978727, 0.011868136, -0.0596252605, 0.0495431684, 0.1082883924, -0.018047031, 0.0143236592, -0.0542049371, 0.0434585027, -0.0197969563, 0.0178932846, -0.0211518127, 0.0088319993, -0.0137630859, 0.0230801422, 0.0117881084, -0.0042794389, 0.0727287829, 0.026111247, -0.0103589306, 0.0011937539, -0.0077267438, -0.0369597636, 0.0120891314, 0.0526863299, -0.0238038246, -0.0065834573, 0.0007969108, -0.0009865179, 0.0509696417, -0.039130006, 0.0415473878, -0.0483543277, 0.0386682414, -0.0573561266, 0.0297181234, 0.0063512106, 0.0655758604, 0.0272562318, 0.0198874697, 0.0117754769, -0.0190107822, 0.0075120474, -0.0021103045, 0.0111366957, -0.0629801899, 0.0132887634, -0.0611770712, 0.0129221557, 0.0505818725, 0.0028719085, 0.0214367062, -0.0255374201, -0.0069187526, -0.0082034245, -0.0054468722, -0.0986681059, -0.0422997139, 0.0333708562, 0.0108294012, 0.005553335, 0.0791879594, 0.0053119608, -0.058020886, -0.0161706153, -0.0166223645, 0.0156077538, -0.0397484936, -0.0224902239, -0.0091720009, 0.0044556642, -0.0003716104, 0.0166862011, -0.0270136353, 0.0043801791, 0.0188470203, -0.0534237251, -0.0033278123, -0.0492744632, 0.0167701878, 0.0101038702, 0.0128667094, -0.0290446933, -0.0035500315, -0.0275408179, -0.0475883409, 0.0406349115, 0.0020009424, -0.0071647931, -0.0129198777, 0.011807465, 0.017752409, 0.0009488801, -0.0150017031, 0.0520468131, 0.0271186493, -0.0310964622, -0.0118970489, 0.0494460091, 0.0326289535, 0.0511687361, 0.0097976206, -0.0486770533, -0.0243469719, -0.0031387964, -0.047077287, 0.021511551, -0.0651756823, 0.0287482087, 0.0208560005, -0.022012243, 0.0404108986, -0.036653664, 0.004917677, -0.0793684721, -0.0277676433, -0.0423238538, -0.0294220131, -0.0559093915, 0.0089747421, -0.0179062448, -0.0673209056, 0.0445561707, 0.0254331194, 0.0371455103, -0.0880908892, -0.0282540768, -0.0488899462, 0.0240772702, -0.018137347, -0.0154977152, -0.0100845555, 0.0158995949, -0.018057039, 0.0103563722, -0.0104258154, 0.0112743434, -0.0032151043, 0.116957359, -0.0173120964, 0.059507627, 0.030252317, 0.018773878, 0.0179761816, 0.0031706274, 0.0108600277, 0.0163306054, -0.0236030258, 0.0360687077, 0.0100396993, -0.0003715794, -0.0084282095, 0.0242118668, 0.001620423, -0.0134355649, 0.0207728632, -0.0053689573, 0.0304384865, 0.0192189794, 0.0114129847, 0.0113561265, 0.0211202446, 0.0498378202, 0.0356912725, -0.0408960171, -0.0199469682, -0.0545596108, -0.0505679697, -0.0398077667, 0.0019680227, -0.0371633843, -0.0108951852, 0.0316772349, 0.041288875, 0.0041335043, 0.0059471293, -0.0147251375, -0.002018552, 0.0087320032, -0.0114799375, -0.0267116595, -0.0475005694, -0.0423627123, -0.012776548, -0.0147504061, 0.047455769, 0.0056885541, -0.021672301, -0.0511387177, 0.0468360111, -0.1110408008, -0.085185416, 0.0083709331, 0.0206343755, 0.0644607767, 0.0488519371, -0.0049211057, -0.0116377315, 0.0362985171, -0.0350449793, -0.0234793499, -0.0089070592, -0.018805949, 0.0183360223, 0.0363711119, -0.0327814035, -0.0330627449, 0.0318822861, -0.0518559106, 0.0269480273, 0.0023077119, 0.0267201252, -0.0327587835, -0.013296471, -0.0282934848, 0.0287618693, 0.0588359497, 0.0059956992, -0.0149061885, -0.0015512446, -0.0291548446, 0.02222085, 0.0237229988, 0.0361823887, -0.0433674157, 0.0266901236, -0.0634592474, -0.072702527, -0.0054665916, 0.0115757231, 0.0218730476, 0.0089244815, 0.047160767, 0.0549379438, 0.0294158664, 0.0621784665, -0.0540789738, -0.0093220249, 0.0309617072, 0.028568605, -0.093479678, -0.0372199789, 0.0397720486, 0.0011800339, -0.024909541, -0.0005619155, 0.0080662491, -0.0033359972, 0.0839442164, -0.005272442, 0.021091219, -0.0396969728, -0.0623376556, -0.0445939563, 0.0491961539, 0.0371410251, -0.0834853426, 0.0013742261, 0.0116356108, -0.0024722314, -0.0092751561, -0.0113537433, -0.0067085996, 0.039186947, -0.0323217213, -0.0032686254, -0.0149081619, -0.0156781506, 0.0223015063, 0.045662906, 0.0234918445, -0.0412334204, -0.0614681169, -0.0092019895, 0.008865878, 0.0153839728, 0.0674110427, 0.0144162886, -0.0182187408, 0.023635339, 0.026033517, 0.0101259565, 0.0199682917, -0.0775108635, -0.0895082355, 0.0317078009, 0.1434695274, 0.0246861652, 0.04858144, 0.0550404266, -0.0259194262, 0.0145474477, 0.0195835382, 0.0151935546, 0.0040609045, -0.0057255174, 0.0424798466, -0.0346383415, 0.0061754896, 0.0356138013, 0.0785588697, 0.0459071286, 0.0548723191, 0.0081757726, 0.0222477559, 0.0265649389, 0.0265784804, 0.0368212536, -0.0008683095, 0.0121121611, -0.0424038507, 0.0241665114, -0.0707476959, 0.0670611262, 0.0201529078, -0.0113869905, -0.0248197876, 0.0243885592, 0.0389763452, -0.0164339431, -0.0167748071, 0.0447935201, -0.0304944273, -0.028552033, -0.0516513251, -0.0335517675, -0.0052418169, -0.0538974144, 0.0163037702, -0.0217908658, -0.0658181459, 0.0320676528, -0.0439881384, 0.0010674194, -0.0334517397, 0.0350855924, -0.0108959572, 0.0116432048, 0.0408790261, -0.0008198775, 0.039561715, -0.0709977821, 0.0079088118, 0.0523693785, -5.331937683e-33, 0.0036179691, -0.0077341869, -0.0059750052, -0.0288528875, 0.0151054896, 0.0328851491, -0.0186958332, 0.0012385689, 0.0043060197, -0.0195296742, -0.0465596393, -0.0223771743, 0.0358570293, -0.0161294024, 0.0472689494, -0.0349603593, 0.0146758938, 0.0451237224, -0.0062976135, -0.0063601565, 0.0139259249, 0.0446519963, 0.061195951, -0.0564461052, -0.0304945465, 0.0030528302, 0.0069262288, -0.0650384799, 0.0118967295, 0.0211590547, -0.0372622311, 0.0461778082, 0.0099813454, 0.0143488916, 0.0044383975, 0.0038858713, -0.1250647306, 0.0453622565, 0.0117096696, 0.068440564, -0.0254629329, -0.0153364334, 0.0316054597, -0.0088795759, -0.068646498, 0.0325389281, -0.0162192266, -0.0446676947, -0.0417226404, -0.0271903817, 0.023229029, 0.068313688, -0.0048383311, 0.0181582216, 0.0498318113, 0.0085685421, -0.054668095, -0.0701355338, -0.0132734831, 0.0153856585, 0.0532583557, 0.0526354387, -0.0150094191, -0.0138998618, -0.024022555, -0.0260374099, 0.0580224022, -0.1142946482, 0.0055279573, 0.0277585629, -0.0518014692, 0.0081214877, -0.0072107045, 0.0304737687, 0.0452371426, -0.0837220177, -0.0263274107, 0.0181856323, 0.0084176213, 0.063511923, 0.0171649195, 0.0124110552, -0.0497503728, -0.0013454885, 0.0171469636, 0.0076616229, -0.0216376968, -0.0330172777, 0.0544576384, -0.0272790305, 0.0152144339, 0.0263720769, 0.013712531, 0.0157073885, 0.0452205949, -0.0131344097, 0.0407141894, 0.0268288534, -0.0108419415, -0.0039115692, -0.0583950691, -0.0409283414, 0.0233809855, 0.025680108, 0.0353580751, 0.006038201, -0.0158958156, 0.01219822, -0.0257950071, -0.0174321793, 0.0229381584, 0.0211823601, -0.0005229172, 0.0557662174, 0.014327825, -0.0542389937, 0.0086116055, 0.0216393266, -0.0290857088, 0.0283145364, -0.017517278, 0.0424705073, 0.0049215001, -0.0011280359, -0.0665088594, -0.0028917966, -0.0583429821, 0.0103314035, 0.0125355842, -0.0111473706, 0.0122430725, 0.000782089, 2.544e-7, -0.0061531812, 0.0360205024, 0.0316989608, -0.0683242679, 0.0150453346, -0.0219222028, 0.0040064617, -0.0151685933, -0.0249230266, 0.0436789691, 0.0291761886, -0.0286376327, 0.0652727932, 0.015454554, -0.0895666629, -0.0361200869, -0.0756713673, -0.001358047, 0.003642092, 0.0042362856, -0.0293487869, 0.0497616306, -0.0346939303, -0.0534088761, 0.0267103668, 0.0105533255, 0.0203540549, -0.024313353, 0.0181578416, 0.0166244358, -0.0373399518, 0.000462992, 0.0019053629, -0.0026613453, -0.0278331097, -0.0134984935, 0.0273176134, 0.0539113916, -0.073121421, 0.0028030127, 0.0299161896, 0.0266468041, 0.0119304666, -0.0019927851, 0.0519834869, 0.0074961339, -0.0530511439, -0.0434821546, -0.0087064831, -0.0200501867, 0.008823486, -0.0072445408, -0.0072677769, 0.0029101067, 0.0093310364, -0.0464371666, -0.0445089117, -0.0368784294, 0.006856787, 0.0418278426, -0.0233505983, -0.0253781043, 0.0380653255, 0.02431871, 0.0013191665, -0.0719966739, 0.0304801557, 1.868669135e-34, 0.0262089707, 0.0053955591, 0.0215003546, -0.0072096023, 0.0195862148, -0.03433685, 0.0111780269, 0.0208540019, 0.0204032343, -0.0537416711, -0.036870528 ]
http://arxiv.org/abs/2406.10890v1
http://arxiv.org/pdf/2406.10890v1
RWKU: Benchmarking Real-World Knowledge Unlearning for Large Language Models
2024-06-16T10:47:21
2024-06-16T10:47:21
Zhuoran Jin, Pengfei Cao, Chenhao Wang, Zhitao He, Hongbang Yuan, Jiachun Li, Yubo Chen, Kang Liu, Jun Zhao
cs.CL
cs.CL, cs.AI, cs.LG
Large language models (LLMs) inevitably memorize sensitive, copyrighted, and harmful knowledge from the training corpus; therefore, it is crucial to erase this knowledge from the models. Machine unlearning is a promising solution for efficiently removing specific knowledge by post hoc modifying models. In this paper, we propose a Real-World Knowledge Unlearning benchmark (RWKU) for LLM unlearning. RWKU is designed based on the following three key factors: (1) For the task setting, we consider a more practical and challenging unlearning setting, where neither the forget corpus nor the retain corpus is accessible. (2) For the knowledge source, we choose 200 real-world famous people as the unlearning targets and show that such popular knowledge is widely present in various LLMs. (3) For the evaluation framework, we design the forget set and the retain set to evaluate the model's capabilities across various real-world applications. Regarding the forget set, we provide four four membership inference attack (MIA) methods and nine kinds of adversarial attack probes to rigorously test unlearning efficacy. Regarding the retain set, we assess locality and utility in terms of neighbor perturbation, general ability, reasoning ability, truthfulness, factuality, and fluency. We conduct extensive experiments across two unlearning scenarios, two models and six baseline methods and obtain some meaningful findings. We release our benchmark and code publicly at http://rwku-bench.github.io for future work.
[ 0.0262263026, 0.0800437778, -0.0174863469, 0.0631845742, -0.0547116138, 0.0028824627, 0.0228032563, 0.002837538, 0.0375135429, -0.0500164889, -0.0361799449, 0.0184514392, -0.0113287261, -0.0109241409, 0.0295399167, 0.009137488, 0.060565535, -0.0187998395, 0.005687553, -0.0315094851, 0.0056655277, -0.0060908119, -0.0035418172, -0.0124632074, -0.0093849553, -0.0438915379, 0.0101442812, -0.0057917563, 0.0223037042, 0.0074976096, 0.0449016839, 0.0643492639, 0.0031012918, 0.0588911586, 0.0000022003, -0.0457981341, -0.0490035862, 0.0023334108, -0.0272608139, 0.0484766178, 0.0053954092, 0.0121503472, -0.002896684, 0.0188575182, -0.0285534263, 0.0113383252, 0.0072363601, 0.0300160199, 0.0480898656, 0.1156239882, 0.0004756863, -0.0140470983, 0.0047103814, -0.043988321, -0.0107091377, -0.0564199537, 0.0632473528, -0.0340259746, -0.0801475048, -0.0346521288, 0.0098865759, 0.0494247675, 0.0035278073, 0.0284044817, -0.003914719, 0.0166436192, -0.0522887707, 0.0220269412, 0.0157842096, 0.0660206825, -0.007798586, -0.027816968, 0.0350481607, 0.0248643309, 0.0101721315, 0.0244124625, -0.0190020278, -0.0233125407, -0.0126499021, -0.002973428, -0.0412295274, -0.0306334626, 0.0683432743, 0.0105564157, -0.0113362828, 0.0227826983, 0.0398235694, -0.0224522073, 0.0243408028, -0.0518753342, -0.0062944493, -0.0587878935, 0.0152572207, 0.003605494, -0.0003402634, 0.0246242695, -0.0294164103, 0.0100952536, 0.0362897441, -0.053196203, 0.0428674705, -0.0081860721, 0.0012341078, 0.0620289408, -0.0138213122, 0.040921431, 0.0209351201, 0.0338584669, -0.0087447204, 0.0029405076, -0.0542024486, -0.0194372144, 0.0301476792, 0.0439382568, 0.0329978578, 0.0414517298, -0.0264668837, -0.0155065423, -0.0568100289, 0.0676195994, -0.0197884403, -0.0140812453, -0.0242077149, -0.0123340338, -0.0329928957, 0.0229308028, -0.0185406245, 0.006075446, 0.0014770526, -0.079401657, -0.0367398039, -0.0115895029, -0.0058314381, -0.0232623536, 0.0244793463, 0.063805908, -0.0008536397, -0.0508173704, -0.0505348146, -0.0264660958, -0.0133537007, -0.0896860063, 0.0157106798, -0.0557940304, 0.0009371235, -0.0367498696, -0.0238134414, -0.1033696905, -0.002623322, 0.020479355, -0.0500410311, 0.0468165092, 0.0346172303, -0.0246021915, 0.0208937526, 0.0095341448, -0.0336107239, 0.0537440963, -0.041841317, 0.0360396467, 0.0467331149, -0.0080314912, 0.0460076779, 0.0335559212, 0.0622654408, -0.0054236543, -0.0102138715, 0.0140934205, 0.0347236805, 0.0077345446, 0.004332026, 0.040243201, -0.0202051196, -0.0362216569, 0.0823006108, -0.0041133123, -0.0370482728, 0.0305262338, -0.0291437972, -0.0053780605, 0.0277519878, 0.0131591288, -0.091943942, -0.0216706004, -0.0827422813, 0.0011065692, -0.0056175813, 0.0354968719, -0.0388429724, -0.0198462959, 0.0139243957, -0.0369947813, 0.0261680149, 0.0255776867, 0.0460874476, 0.0564867333, -0.0378043465, 0.0937028602, 0.0458136611, -0.0673132911, 0.0030196339, -0.0300438032, 0.026400581, -0.0000711661, 0.0647939146, -0.0718091056, 0.0118634086, -0.0051333685, -0.0030072134, -0.0440347306, 0.0274018869, -0.0009679051, 0.0342043377, -0.0395975411, -0.0080030775, -0.0250494201, 0.0425925106, 0.030132357, 0.0531668626, -0.0180673432, 0.0241384581, -0.0637051985, -0.0056153303, 0.027863875, -0.0300867166, -0.0306964368, -0.0166954212, 0.0186821874, 0.0176738314, 0.0279153287, -0.015720604, -0.0147512527, 0.0713267252, 0.0050494685, -0.0013691059, -0.0227822568, -0.0175988544, -0.0408951826, 0.036333885, -0.027558865, -0.0221352912, 0.0909766257, -0.0537809543, 0.0083416365, 0.0252138842, 0.014633609, 0.0628502145, -0.0234405082, 0.023301078, -0.0339653045, 0.0061355759, -0.0085341381, 0.1117995381, -0.0386713147, -0.0103943711, -0.0088136531, -0.0233960561, -0.01194306, -0.0573620312, -0.0467536971, -0.0214694161, -0.0238396581, 0.0184917245, 0.0023034101, -0.0556441024, -0.0609628931, -0.0363052078, -0.0492020361, -0.0066482914, -0.0255483259, 0.0158661716, 0.0023207101, -0.0153211989, -0.0096040089, -0.0232547652, -0.0059254114, 0.0012732215, -0.051073201, 0.0235666223, -0.0111497846, -0.0259048436, -0.0117993318, -0.0173470657, 0.0134568401, 0.005649162, 0.0657640472, -0.0278884582, 0.0140898088, 0.0204798114, 0.0612389445, -0.0549841449, 0.0332698822, -0.0154865989, -0.024955187, -0.0241995957, 0.0229480937, -0.0134056825, 0.0673685744, -0.0072481306, 0.0498266928, 0.0500211306, -0.0131251235, -0.0095214043, 0.0025675017, -0.0216039363, -0.0426937789, -0.0308200922, 0.0014475479, 0.0028884402, 0.0139345843, 0.041001685, -0.0113810329, 0.0022606717, 0.0511229187, -0.0040524285, -0.0476107188, -0.0244026128, 0.0075672697, -0.0284391046, 0.0014383789, -0.0201366637, -0.0474665463, 0.0347633585, -0.0212576259, 0.0544079058, -0.0166420396, 0.0075492524, 0.0231860206, 0.0416789502, 0.0179221369, 0.0251149237, 0.0455302894, -0.0094592739, -0.0343969576, -0.0338308774, 0.0445729978, -0.0447944999, 0.0166820753, -0.043435134, -0.0063714194, 0.0164960902, -0.0297340993, -0.0510514863, -0.0178444926, -0.0118446276, -0.0024871118, -0.0088938037, -0.0095240334, -0.0364424326, -0.0677096918, 0.0344755985, 0.0013446411, 0.0322164968, 0.0255921986, -0.0018714037, 0.0431283526, 0.0387468003, -0.0101773366, -0.0007194529, -0.0079017375, -0.0101269465, 0.1001660973, 0.0106472531, 0.0076215751, -0.0082266629, -0.016116932, -0.0194744132, -0.0322694108, 0.0099055627, 0.0134548489, 0.0376860648, -0.0430200249, -0.0053105969, 0.0987257734, 0.0048316037, -0.0198918581, 0.0071700322, 0.0317879952, 0.0146624474, 0.0063611367, -0.0028328111, -0.0875893757, -0.0169886202, 0.0272136107, 0.0100424169, -0.0079345545, -0.0418767408, 0.0044447584, -0.1295944601, 0.00574897, 0.0215963963, -0.0357330628, -0.0321358629, -0.0370574147, -0.0058018728, -0.0381180979, 0.0375292897, 0.0042512477, 0.0180746596, 0.0085282363, -0.0172881279, -0.0479081199, -0.0856841579, 0.0511540771, -0.0428456031, 0.0555700138, 0.0261396114, 0.0376584567, -0.0225115437, -0.0291788578, -0.0100474777, 0.0034407829, 0.0036167875, 0.0079230899, 0.0723163411, -0.0124547202, -0.0136668971, -0.0112157641, 0.0809313059, -0.0164064094, -0.0235094056, 0.0318961628, 0.0428016521, 0.0212540384, -0.0099916235, 0.0182632171, -0.0342709124, 0.0078436052, 0.1032511517, 0.0120106665, 0.000738318, -0.0045962604, -0.0267091673, 0.0160350613, 0.0131350495, -0.0186583921, 0.0221430399, -0.0164480153, -0.0164000187, -0.0709570795, -0.0239608828, 0.0213838853, 0.0010273464, 0.0159319993, 0.0276091639, 0.0098280339, 0.0216445625, -0.0464407355, 0.0026753186, -0.0596017465, 0.0072952919, -0.0086674411, -0.010816819, 0.0083034374, 0.0113032684, -0.0235124845, -0.0024337627, -0.0973964259, -0.0828436762, 0.0389491171, 0.05071925, 0.0182368122, 0.081010066, -0.0134219704, -0.0458858982, 0.0758053362, 0.024333436, -0.0324907526, 0.0437246263, 0.048788365, -0.028447846, 0.0024443227, 0.0602217205, -0.0449982658, -0.0014446924, 0.0662921742, -0.024960747, -0.0321565457, 0.0128169488, 0.0053708549, 0.0260010548, 0.0453843363, 0.0268966146, 0.006787756, -0.0026386159, 0.0254112855, -0.0119086644, -0.0246913768, 0.0211027358, -0.0037340673, 0.0403090604, 0.0137336431, 0.0104710525, -0.0327981859, 0.006427899, 0.0095145516, -0.0157305449, -0.0347600169, 0.0550890714, 0.0257558879, 0.0143893259, 0.0095265741, -0.0304862615, 0.0279771518, -0.0156124718, 0.0461452119, -0.0126405517, 0.0418446437, 0.0056413482, -0.0089658713, -0.0259217601, -0.0112112686, -0.0185013674, -0.029125357, -0.0165478215, 0.028772518, 0.0509213954, -0.0369584151, -0.0064096982, 0.0012783365, -0.0160588138, -0.0378043279, -0.0008891767, -0.0025032233, -0.0211328883, 0.007260459, 0.0130773708, -0.0315993242, 0.0662924498, 0.0864056349, -0.0095276879, 0.0639156178, 0.0291738827, -0.0018327583, -0.0575620085, -0.0356591865, 0.0206681155, 0.0056218146, -0.008358662, -0.0062099039, -0.0520366393, -0.0814200193, 0.0217035338, -0.0137275131, -0.005478817, 0.0118935183, 0.0159565434, 0.0612184778, -0.0020320027, 0.0212839171, -0.051470235, 0.005581283, -0.0168733932, -0.0297120437, 0.0082456395, -6.590619932e-33, 0.0207388364, 0.0079665771, -0.0139365066, 0.0034766251, 0.0082847159, -0.0080934018, -0.0122435493, -0.0381135382, -0.054620944, 0.0064998921, -0.0087389778, 0.003538037, -0.0148686543, 0.0225067455, -0.0552566759, -0.0323134661, 0.0522459336, 0.0011699781, -0.0495959371, 0.0253120326, 0.0911852568, 0.0496169552, 0.0660939738, -0.0587688237, 0.0033534036, -0.0326325446, -0.0308954678, 0.0272696801, -0.0436581522, 0.0227637645, -0.0176261142, 0.0366559997, -0.0109353606, -0.0037493184, -0.0013947085, -0.0140094617, -0.0677445233, -0.0091895554, 0.0094713205, 0.0074816211, 0.0265002884, -0.0434558764, 0.0352806486, -0.016303882, 0.0111356061, -0.0427417643, 0.0164283458, -0.0119036715, -0.0443805158, 0.0181424897, -0.0260902755, 0.006237118, -0.0432431512, -0.0256475043, -0.0025411872, -0.0093872249, 0.0230298452, -0.0133118099, -0.1246342286, -0.004157566, 0.0261245519, 0.0352867506, 0.0622782633, -0.007611013, 0.0152875613, 0.1085300073, 0.048529122, 0.0343281366, 0.0321389548, 0.0018705463, 0.0202239603, 0.0608613901, 0.0433579162, 0.0803384632, 0.0537781231, -0.0616882704, -0.0731049404, -0.016250601, -0.0068714409, 0.0496852472, 0.0188212432, 0.0393692777, -0.0241782106, -0.0119246636, -0.043613188, -0.003488716, -0.0520046428, -0.0155688776, 0.0321320482, -0.0033285087, -0.0484011248, -0.0099320225, -0.020008035, -0.0328977033, 0.004985291, 0.0560593344, 0.0044242502, -0.0134768793, -0.0127903363, -0.0068243304, -0.0694121644, 0.0037933255, 0.0137505094, -0.0085783247, 0.0269073118, 0.0045903604, 0.0643645301, 0.0341309234, -0.0338708684, -0.0002252868, -0.0349161625, 0.0198565889, 0.0201570801, 0.0012322912, 0.0124850469, 0.026785206, -0.0028007859, -0.0246896334, 0.053845387, 0.0106894448, -0.0516363941, 0.0354569256, -0.0017866294, -0.0077746562, -0.0100217629, -0.0474461094, 0.0084426878, 0.0213349815, 0.0682849213, -0.0530439876, 0.0188617408, -0.034628503, 2.902e-7, -0.0030029595, 0.0081513375, 0.0060530291, -0.0178370904, 0.021739807, 0.0568442829, -0.0357190743, 0.0557357855, 0.0105051463, -0.0128828511, -0.0105567584, 0.0053778654, 0.0669710115, 0.0104312664, -0.0984528586, 0.0377117656, -0.0692232773, -0.0306587759, -0.0454561152, -0.0225913245, -0.0089813285, 0.1023316681, 0.0624504015, -0.0134256389, 0.013285052, -0.052219633, 0.0420901813, -0.0446427725, -0.0361220092, -0.0026093391, 0.0496614501, 0.0246431455, 0.0056219324, 0.033073958, -0.0349858589, 0.0050994358, 0.0042533926, 0.0510393083, 0.0262509957, -0.0448998064, -0.0529587194, 0.0079270769, -0.0133040603, -0.0353402197, 0.0893991366, -0.0205026884, -0.0279863961, -0.0159448683, -0.0470548123, -0.0311588757, 0.0294150524, 0.0171472616, -0.0320820361, 0.0243259948, -0.0185254272, 0.01037989, -0.0179030653, -0.0668710694, -0.0149881747, -0.0133608803, -0.0506652519, -0.0553967617, 0.0186455678, -0.0337579474, -0.0031965042, -0.0833863989, 0.0483277254, 2.443016593e-34, 0.004715743, -0.0233867709, -0.0038046977, 0.0180040579, 0.0505723245, -0.0110274339, -0.0040230718, -0.0012596591, -0.0159801133, -0.0570614263, 0.0200193226 ]
http://arxiv.org/abs/2406.10886v1
http://arxiv.org/pdf/2406.10886v1
Distilling Opinions at Scale: Incremental Opinion Summarization using XL-OPSUMM
2024-06-16T10:36:41
2024-06-16T10:36:41
Sri Raghava Muddu, Rupasai Rangaraju, Tejpalsingh Siledar, Swaroop Nath, Pushpak Bhattacharyya, Swaprava Nath, Suman Banerjee, Amey Patil, Muthusamy Chelliah, Sudhanshu Shekhar Singh, Nikesh Garera
cs.CL
cs.CL, cs.LG
Opinion summarization in e-commerce encapsulates the collective views of numerous users about a product based on their reviews. Typically, a product on an e-commerce platform has thousands of reviews, each review comprising around 10-15 words. While Large Language Models (LLMs) have shown proficiency in summarization tasks, they struggle to handle such a large volume of reviews due to context limitations. To mitigate, we propose a scalable framework called Xl-OpSumm that generates summaries incrementally. However, the existing test set, AMASUM has only 560 reviews per product on average. Due to the lack of a test set with thousands of reviews, we created a new test set called Xl-Flipkart by gathering data from the Flipkart website and generating summaries using GPT-4. Through various automatic evaluations and extensive analysis, we evaluated the framework's efficiency on two datasets, AMASUM and Xl-Flipkart. Experimental results show that our framework, Xl-OpSumm powered by Llama-3-8B-8k, achieves an average ROUGE-1 F1 gain of 4.38% and a ROUGE-L F1 gain of 3.70% over the next best-performing model.
[ 0.0500544384, 0.0605354868, 0.0216392428, 0.0180819239, -0.030720789, -0.0160488579, -0.0290444326, -0.0157137718, -0.0293662623, -0.0561506599, -0.0357716121, -0.0555765145, 0.016103426, 0.0734381601, -0.0365216136, -0.0486579873, 0.0013818869, 0.0005418949, -0.0020369173, -0.0210941173, 0.0364489704, 0.0357276537, 0.0385845117, 0.0115517033, 0.0381959938, -0.0057360297, 0.0227003675, -0.0171579663, 0.0198619626, -0.0057099913, 0.0027410192, 0.0213892851, 0.0015072583, 0.0145780109, 0.000002015, -0.0353168957, -0.0233825278, -0.0268264133, 0.0588759147, 0.0403270088, 0.0802982897, -0.0104722194, 0.0163661931, 0.034289483, -0.0498772897, 0.0170581788, -0.0072088954, 0.0706163719, 0.0702454895, 0.0658007786, -0.0201457031, -0.0633646399, 0.0221571438, -0.0380752273, -0.0197629817, -0.0308478903, -0.014749568, 0.0158345457, 0.0139061781, 0.013030705, 0.0130877746, 0.0348796584, -0.0041048457, -0.0099272886, -0.000930762, 0.0213661101, -0.0150924949, 0.031456735, 0.0016397069, 0.0804433376, 0.0119701028, -0.0021379378, 0.0039797886, 0.0105874827, -0.0120911524, -0.0289716963, -0.0671106949, 0.0444383547, 0.0105486521, 0.0795911923, -0.023192957, 0.0185109396, 0.0080940323, 0.0191526469, 0.0003459854, 0.0257625002, -0.0101191737, -0.0091877552, -0.0156938471, 0.0308441576, -0.0319318809, -0.028128149, 0.0084382277, 0.0266721193, -0.0261849854, 0.0137837119, -0.0138043212, 0.0346439295, 0.0294201579, -0.084195599, 0.0351460204, -0.0106510175, 0.0136156622, 0.0716047809, -0.0220569074, -0.010423976, 0.0156576578, -0.0204621647, -0.0793448389, -0.0024569333, -0.0602544248, -0.0026476698, 0.0485746115, 0.0630230829, -0.0662841648, -0.0132710543, -0.0895192474, 0.0087928362, -0.0083091762, -0.0224305205, 0.0245854482, 0.0057360386, 0.0527352579, -0.0027559032, -0.0322640687, 0.0484023616, -0.0158761777, 0.0098156389, -0.0119619062, -0.025103502, 0.0231390372, 0.0264122598, 0.0184543971, 0.03431499, 0.0063412599, 0.0201463141, -0.0032155504, -0.0487870127, -0.0169680435, -0.030960599, -0.016921863, -0.0749211982, -0.0699362829, -0.1021531597, 0.0147350933, 0.0096083907, -0.0056293625, 0.0153615968, 0.0094665131, 0.0145999137, -0.0252696984, 0.0264987722, -0.0228780117, 0.0080363862, 0.009254423, 0.0059299688, 0.0557789914, 0.0610863045, -0.0060103261, 0.0454973131, 0.0363969989, 0.0297487415, 0.0196550321, 0.0202462841, -0.0192903057, -0.0043002423, -0.0235169195, -0.0100547196, -0.0932976156, -0.0522542, 0.0415816829, 0.0796821192, 0.0041847616, 0.0346977636, 0.0818571448, 0.0223989952, -0.047892753, 0.0504950099, -0.0291986745, 0.038012702, 0.0343320481, 0.0026121859, 0.0111585073, 0.0325905308, -0.0237286184, 0.0326137431, 0.0875727013, 0.0333421044, -0.0342919305, -0.0274739303, 0.0088572223, -0.0170084313, 0.0104071945, 0.0132957874, 0.0397747792, -0.0245392583, -0.0329329297, 0.031556502, 0.0494547859, -0.0665052533, -0.0024967557, -0.0365677141, 0.0286333989, 0.0852174833, 0.0307664108, -0.0111265201, -0.0019712956, -0.0238620322, -0.0607558079, 0.0338001214, 0.0408411771, -0.0229396932, -0.0456047878, -0.040210776, -0.0142967636, 0.0020491334, 0.0091495877, -0.0010106175, 0.0069388342, 0.0128839156, 0.039066378, -0.0021942295, -0.0547370501, -0.0176048502, 0.0258283913, 0.0002112227, 0.0130774537, -0.0412410721, 0.0526767559, 0.0656271502, -0.0166218895, 0.0040361932, 0.0348460898, -0.0383575968, -0.0569902509, 0.0047744983, -0.0144639937, -0.0187449586, 0.0516105406, -0.0186617766, 0.0098617878, 0.0232003722, -0.0256770104, -0.059915334, 0.0066803354, -0.0378678814, 0.0217531379, -0.0491331145, 0.0116399713, 0.0029808646, 0.0192997959, -0.0064202002, 0.0574250109, -0.0277691837, 0.0005160407, -0.0090789711, -0.0425651632, -0.0223898292, 0.0113830306, -0.0158836916, 0.0124639906, 0.0327505022, 0.0468716063, 0.0349232256, 0.0120589891, -0.0147187356, -0.0231347084, -0.1131195724, -0.0129127605, 0.0165772401, 0.0361204706, 0.0360602848, 0.022094328, 0.0094568459, 0.0286102053, -0.0565751791, 0.003141013, 0.0380369835, 0.0171492882, 0.0293463375, 0.0155818574, 0.0072818534, -0.0532318614, -0.0104331439, 0.0214229971, 0.018185867, -0.0067984327, -0.0357707106, -0.0441758186, 0.0062294449, -0.0671207681, -0.028774241, 0.0139271095, -0.0061896644, -0.0392224863, -0.0392078422, 0.048849199, -0.01964508, 0.0026023588, -0.0115557946, 0.0491022542, -0.0031218142, -0.0105116423, -0.0234945789, -0.0426608883, -0.0227770973, 0.0143683581, -0.0267257206, 0.0129878968, 0.0490665808, -0.0046099178, -0.0169967636, -0.0036388529, -0.0094995052, -0.0270353798, 0.0241878647, -0.0262727849, -0.0026318822, -0.0320768394, 0.0327363126, -0.0084984517, -0.0283489116, 0.0421410389, -0.0164209567, 0.0386356078, -0.0812733397, 0.0010737081, -0.0598553345, 0.029800348, -0.0166795217, 0.0273746978, -0.0792468488, 0.0176027026, 0.007410543, -0.0181885604, -0.0013440598, -0.0509879105, 0.0836553574, -0.0334053934, 0.0293450486, -0.001981566, -0.0230841357, 0.028702287, -0.0419129021, -0.03764439, 0.0190690588, 0.0488983467, -0.0017840392, -0.0434371829, 0.0444815867, 0.0127976723, 0.0503567941, -0.0182579439, -0.0196682364, 0.0137716746, 0.0596087649, 0.0555036254, -0.0198133998, 0.0479010269, -0.0449917428, 0.0120771304, 0.071029678, 0.0214674138, -0.0288198385, -0.0069516068, -0.055673711, 0.0160077792, -0.0308171809, -0.0030797708, -0.0250001624, 0.0482316762, -0.0152994022, 0.0458340943, 0.1026827022, 0.0147995902, -0.0633917302, -0.0168201569, 0.0398891829, 0.0107603641, 0.0086899167, 0.0129262982, -0.0735940263, -0.0012318942, -0.0220318213, 0.0487546772, 0.0135450866, 0.0019917614, -0.0086355768, -0.1229015291, 0.0060132514, -0.0124108018, -0.0293917544, -0.0528574064, -0.0382573828, 0.0008225912, -0.0244623106, 0.0337990709, 0.0276161488, -0.040358644, 0.0384740122, -0.0071011572, -0.030049121, -0.0111537408, 0.0209635347, -0.0252970327, 0.0130780097, 0.0548188798, 0.0285989605, -0.0122827133, 0.0110514341, 0.0440538712, -0.0529899932, -0.0181723908, -0.0246796291, 0.0702651292, 0.0138413738, -0.0047586006, -0.0129669523, 0.0260067414, -0.0389624909, 0.0364125594, 0.0227030292, 0.0057768505, 0.046548482, -0.0360536911, -0.0341368802, 0.0137619069, -0.0597007722, 0.0579104535, 0.0047276928, -0.0381687991, -0.0376575701, -0.0110387783, -0.0432146601, -0.0350669362, -0.0199273583, -0.0190199837, -0.028546365, -0.0289034322, -0.0890935957, -0.0436015055, 0.0003549318, 0.0079439944, 0.0039139912, 0.0093830954, -0.0084164841, 0.0276343487, -0.0442316309, -0.0123252822, -0.0011193334, 0.0024530313, -0.0077570952, 0.0053802542, 0.0957734659, -0.0113319075, -0.0209428016, 0.0236426145, -0.060447976, -0.0546283796, -0.0296414532, 0.0432456359, 0.0230175797, 0.0258233789, 0.0013901057, -0.0143619943, 0.0536904, 0.0393221937, -0.0322030187, 0.0153373787, -0.0048004156, 0.0871043429, 0.0032308991, 0.0405427143, -0.0369462073, 0.0515003391, -0.0128019257, 0.0349035636, -0.0290719252, -0.0205016043, 0.0081387013, 0.0191564746, 0.0112535916, -0.010432899, 0.0383452699, -0.0256406069, 0.0233301874, -0.024867516, -0.011627879, -0.0585216507, 0.0358301029, 0.0035415962, -0.0110962503, -0.0354412608, 0.0560431257, 0.0041738483, 0.0164914858, -0.0378850102, 0.0487594604, -0.0266371928, -0.0379631296, -0.024557326, -0.0213384479, -0.0306520592, -0.0217122715, -0.0172765702, -0.0179623943, -0.0131040746, 0.0133828316, 0.0087500401, 0.0085762693, -0.0188624188, 0.0506279208, -0.0265432168, 0.0126931528, -0.0678057298, 0.0111165987, 0.0007391059, -0.0147663709, 0.1131774262, -0.0243190303, -0.0272509847, -0.0314908884, 0.0244433228, -0.0170662738, 0.0234077368, -0.0285160318, 0.0142642092, -0.0084961494, 0.0096902344, 0.0967924148, -0.0601415187, -0.0225985944, 0.029483743, -0.0337016881, -0.0595519133, -0.0249165688, -0.0241005123, 0.0101088714, 0.0108819362, 0.0095546432, -0.0399129428, -0.0263887886, 0.0128354458, -0.009708154, 0.0121303666, -0.0155401826, 0.0374711566, 0.0620477051, 0.033103101, 0.0428528562, -0.0672939867, -0.0172821954, -0.0258024968, 0.0024807998, 0.0428135842, -6.584184101e-33, 0.0031014467, -0.0244638678, -0.0586579181, 0.0493979827, -0.0267358273, 0.013516224, -0.0491705351, 0.0300515071, 0.0352643318, -0.0010696684, -0.0085143019, 0.0116215767, 0.00809264, 0.0501636937, 0.0112894243, 0.0233522654, 0.0469335914, 0.0042927098, -0.0045525553, 0.0774848014, 0.0388687775, 0.0172222294, 0.0462964028, -0.0594513863, 0.0370750017, 0.0006751058, -0.0452717803, -0.0173265785, 0.0158123355, 0.0403473079, -0.036009118, 0.0662318766, 0.0346751809, -0.0399340801, -0.0173281785, -0.0164786316, -0.056650918, 0.0084754173, 0.0383943543, -0.0256500561, -0.0435314737, 0.0149072371, 0.0514797904, -0.0104062445, -0.0219101869, 0.0091899363, 0.0250677243, -0.075716272, -0.0219812039, -0.0820629224, -0.0190549102, 0.0427043997, 0.0028456971, 0.0209458955, 0.0458126105, 0.013361536, -0.0341421776, 0.0002247053, -0.0160285532, 0.0471063405, 0.0550590977, 0.0450023077, 0.0353171565, -0.0025936628, 0.0144693973, 0.0849645361, -0.0061718444, -0.0337492228, -0.0341781303, 0.0262973383, -0.0259632114, -0.0092695355, 0.0203348305, 0.0226401351, 0.0024394586, 0.0052059339, -0.0405691564, 0.0523783937, 0.0485028252, -0.0149000408, 0.0925759524, -0.0073554213, -0.0030788865, -0.0232945755, 0.0209143106, -0.0265603401, -0.0364835858, -0.0271497853, -0.0195224062, 0.0366384648, -0.049283769, -0.0040803691, -0.0209856071, -0.0575118959, -0.0718594491, 0.003448711, -0.0444574729, 0.0304035824, 0.0281274207, -0.0515566766, -0.0491860025, 0.042253118, -0.0442599542, 0.0061395708, -0.0565516092, -0.0173136797, 0.0371365212, 0.0090316394, -0.0882159993, 0.0204889104, 0.0155125093, 0.0438072644, -0.0357961766, 0.0522571579, 0.0139837367, -0.022309795, -0.0002809378, 0.062824145, 0.0075496524, 0.0268291179, -0.0301327109, 0.0021177579, 0.0264564995, 0.0111831706, -0.0424309075, 0.0093186451, -0.0001575809, -0.0143279033, -0.004778903, -0.0499552637, -0.0331351347, 0.0137562016, 2.701e-7, 0.0596458018, 0.0674740374, -0.0126587581, -0.0275733341, 0.0115151294, 0.0149100143, 0.0043167905, 0.0301420614, 0.0182666909, -0.0344766751, 0.019099243, 0.0314461552, 0.0127132945, 0.0268548857, -0.0888567641, 0.0287142638, -0.0631086901, -0.0210531764, -0.0111887632, 0.0014086703, 0.0296095759, 0.1125378311, 0.0052598594, -0.0297339857, -0.0147001576, 0.0092586549, 0.0454240479, -0.0230541825, -0.0239329152, 0.0176013727, 0.0443205088, 0.0004510479, -0.0307008624, -0.0584719479, 0.0047473926, 0.0019284388, 0.0209698249, 0.0593669005, 0.0278488621, -0.0321600959, 0.0586522855, -0.0046840878, 0.0374480598, -0.0480921157, 0.0676869228, -0.0237548556, -0.0416128524, -0.0774538815, -0.0190151278, 0.0075788558, 0.006302645, -0.0067013907, -0.0259016361, 0.0373560041, -0.0221430901, -0.0333388448, -0.0204020198, -0.0553126186, -0.0334627703, 0.0324392095, -0.0142218573, -0.0685173273, 0.0047132801, 0.0164567437, -0.0213362761, -0.0173538886, 0.03783077, 2.510948458e-34, 0.103767693, -0.0207027253, -0.0294788424, 0.0041094297, 0.0003539892, -0.0216625109, -0.0565454811, -0.0069327378, 0.0217588209, -0.0869346261, -0.0062557743 ]
http://arxiv.org/abs/2406.10885v1
http://arxiv.org/pdf/2406.10885v1
On the Role of Entity and Event Level Conceptualization in Generalizable Reasoning: A Survey of Tasks, Methods, Applications, and Future Directions
2024-06-16T10:32:41
2024-06-16T10:32:41
Weiqi Wang, Tianqing Fang, Haochen Shi, Baixuan Xu, Wenxuan Ding, Liyu Zhang, Wei Fan, Jiaxin Bai, Haoran Li, Xin Liu, Yangqiu Song
cs.CL
cs.CL
Entity- and event-level conceptualization, as fundamental elements of human cognition, plays a pivotal role in generalizable reasoning. This process involves abstracting specific instances into higher-level concepts and forming abstract knowledge that can be applied in unfamiliar or novel situations, which can enhance models' inferential capabilities and support the effective transfer of knowledge across various domains. Despite its significance, there is currently a lack of a systematic overview that comprehensively examines existing works in the definition, execution, and application of conceptualization to enhance reasoning tasks. In this paper, we address this gap by presenting the first comprehensive survey of 150+ papers, categorizing various definitions, resources, methods, and downstream applications related to conceptualization into a unified taxonomy, with a focus on the entity and event levels. Furthermore, we shed light on potential future directions in this field and hope to garner more attention from the community.
[ 0.0056817541, 0.0425034948, -0.0183984712, 0.0148983505, -0.0127398483, 0.0477052592, 0.0077585415, 0.0204726104, -0.033219479, -0.0255321097, 0.0553193018, -0.0232633892, -0.0419639051, 0.0386035703, 0.0130917327, -0.1129537001, 0.0235277098, -0.004311577, 0.0261370074, 0.0085202875, -0.0167169441, -0.003240278, -0.0000873738, 0.0296389237, -0.026312612, -0.0175083913, -0.0471388139, -0.0082470858, 0.0503063537, -0.038275674, -0.0790741593, 0.0113492543, 0.0901335031, -0.0208011437, 0.0000025898, -0.0534001067, -0.060151536, -0.0249075182, -0.0412835553, 0.0033574908, -0.0239447262, -0.0034131752, 0.0470760651, -0.0289161317, -0.0226885118, -0.0240197163, 0.0131661054, 0.046028696, -0.0239758715, -0.0082943887, -0.0174765699, -0.0427613929, 0.0072226957, 0.0231887735, 0.0469982848, -0.0256097931, -0.0009292741, 0.0557240583, 0.025100518, -0.0365880653, -0.0037396632, -0.0070062624, 0.0497249402, 0.0383045748, 0.0361709334, 0.0247462559, -0.0103751309, 0.0190702546, 0.0517698899, 0.0341096669, 0.0795699358, -0.0105405068, 0.002846123, 0.0214758813, 0.030522028, 0.0671811923, -0.0494324565, 0.0282580592, -0.05576564, -0.0088740885, -0.0011027651, 0.0294430088, 0.0357079841, 0.0150464317, -0.0819633156, 0.0678534433, -0.0050424663, 0.0108214393, -0.0032170757, -0.024822386, -0.0805325732, -0.0255132392, 0.0123156011, 0.0688778237, -0.0505730286, -0.0037953292, 0.0336925648, 0.0394525118, -0.0079485979, -0.0237802565, 0.0407936759, 0.034570504, 0.0565410815, 0.0441353433, 0.012992817, 0.0330976471, -0.0394189395, 0.022327723, -0.0444744229, -0.0030444989, -0.0813713148, -0.0108853867, -0.019590877, 0.0826739445, 0.0324220061, 0.0293135531, 0.0065578511, 0.0238689668, -0.0165422522, -0.0134729184, -0.0613627993, 0.0314639136, -0.0288799088, -0.0333879255, -0.0617025681, -0.0598063953, -0.0931421742, 0.0382067934, -0.0142570939, -0.0235955194, 0.0138859535, -0.0560672097, 0.0122752655, 0.0193232372, -0.0191076118, 0.0489513241, 0.0152426204, -0.0095170168, -0.0602332763, -0.0629202873, 0.0441277996, -0.0393371284, -0.0268269069, -0.0584115796, -0.0131629528, 0.0143409483, -0.0000430035, -0.0078386711, -0.0189723261, -0.0388376936, -0.0137661695, 0.056625735, -0.008408173, 0.0143744517, 0.040763773, 0.0542297401, -0.0127756689, 0.0289990064, 0.0352297574, -0.0129081905, 0.0018470925, 0.0275309123, -0.0172692332, -0.0374319293, -0.0061974339, -0.0693913698, -0.0022780513, -0.0048474506, -0.0285795592, 0.0105940606, 0.0169844907, 0.0082426332, -0.067717433, 0.0401024856, 0.0211473815, 0.0469306074, -0.0430333689, 0.0171233416, 0.0583000146, -0.0359022245, -0.0343372971, 0.0299283154, -0.0407460444, 0.0471053682, 0.0220439136, -0.0235464443, -0.03871198, -0.0034223357, -0.0500137098, -0.0395021513, 0.0023957768, 0.0331051461, 0.0196601022, 0.0131695224, 0.0235449765, 0.0014117707, 0.0544897206, 0.0543629862, 0.0160722155, -0.046212744, 0.0553787239, -0.0257686991, 0.0141963046, 0.044998914, 0.0169095378, -0.0463754758, -0.0410623252, -0.0252306387, -0.016421264, -0.0125679132, 0.0044064983, -0.0264983289, -0.0124605875, -0.0066672163, -0.0197852328, -0.0369389839, 0.0033791161, 0.0150388982, 0.0019934727, -0.0314765349, -0.0093931854, -0.0324307978, 0.0462535769, 0.0095179034, -0.0007984161, -0.0091320658, -0.0545185842, 0.027988974, 0.0115485387, 0.0388402194, 0.0372026116, 0.0026979146, 0.0077436268, -0.0148743102, -0.0328897722, 0.0505986363, -0.0023341118, 0.0241035372, -0.0033279415, -0.0666528493, -0.0376469307, -0.0211693291, -0.0248878431, -0.0211298801, 0.0436682627, 0.0104948329, 0.06436719, -0.0198135357, 0.0182932317, -0.014991058, -0.0495969132, -0.0157285351, 0.0602294207, -0.0047096354, -0.028016543, -0.0094214939, -0.001393862, 0.0447938293, -0.0352913477, -0.0159716457, 0.0113045638, 0.00151715, -0.0338190459, 0.002550558, -0.0483424701, -0.0703056827, 0.0875822157, -0.0811273083, 0.0163455233, 0.0113923214, 0.0153039359, 0.0442661829, 0.0177088547, 0.0122659113, 0.0044247792, 0.0022336016, -0.0112736681, -0.029912075, 0.0001405723, 0.0068261554, -0.0074742241, -0.0192609522, 0.0474473573, 0.0277718008, -0.0645968616, 0.0561639741, 0.0291884951, -0.0246646423, -0.0387496129, 0.0378729515, -0.0426509976, -0.0041601956, 0.0026612333, 0.0125424862, 0.0300825518, -0.0004690945, 0.0013074976, 0.0495810919, -0.0337808579, 0.0245756693, 0.0325642899, -0.0370693766, -0.0340576135, 0.0093642846, -0.02235494, 0.04074632, 0.0062850225, -0.0476732999, -0.0266062785, 0.0355942249, 0.0247475058, 0.002932406, -0.0620430335, 0.0308578666, -0.0480681881, -0.0028334886, -0.0911719203, -0.0353063531, 0.0156676043, 0.050998915, -0.0307593439, -0.0058244481, 0.0831489861, 0.0578331798, 0.0533992611, -0.0132464236, 0.0047324747, -0.0150295952, 0.0915089771, -0.0362477303, 0.0222806837, 0.0221454967, -0.0212363899, -0.0530589707, -0.0029955972, 0.0178559478, 0.0272707604, 0.0622511096, -0.0753363371, -0.018364124, 0.0271092523, -0.0306144692, -0.0443185158, 0.0806338862, -0.0049874187, 0.0370059423, -0.0197405089, 0.025222417, -0.0545323938, 0.0107962908, 0.0162131209, -0.0399809517, 0.0034213786, -0.0501097925, -0.022253003, 0.0050214203, 0.0011389266, 0.0113496771, 0.0310556572, -0.0096617267, 0.0332391784, 0.0666347444, -0.0058739199, -0.0490221716, -0.0305059291, 0.0660555735, -0.0130423624, -0.0406101048, 0.0061238836, -0.0105764475, 0.0426462516, -0.0409404449, -0.0177760404, 0.0616648234, 0.0504366532, 0.0001369811, 0.0263134222, -0.0388804749, 0.0121176671, 0.0123139257, 0.0121058701, -0.030870812, 0.0070062289, 0.0145578589, -0.0472061113, -0.0140690422, -0.0678894967, 0.0159505252, -0.0138393445, 0.056040477, -0.013074168, -0.0547632687, -0.0433838889, -0.0221957341, 0.0400355309, -0.0004939845, -0.024283262, 0.0157246236, 0.0276220702, 0.0172626339, 0.0144318221, -0.0384645723, -0.0144002475, 0.0017219337, -0.0412988365, -0.010509043, -0.0062814467, 0.0106368102, 0.0159984976, 0.0048512281, -0.0247428548, -0.0062964181, 0.0303538181, -0.0185311418, 0.0205860101, -0.0118368948, 0.0299455151, -0.0259486828, 0.0413321294, 0.0126522416, -0.0954204649, -0.0075636236, 0.0867768973, -0.0450990647, 0.0112798996, -0.0153433364, -0.0195691232, -0.039528694, 0.0693681911, 0.0145109938, -0.00319172, 0.0251713619, -0.0119708851, 0.0116661303, -0.0150107266, 0.0296602901, 0.0124778124, -0.0113805765, -0.0111094015, -0.0296317991, -0.0076376311, 0.0339072384, -0.0133676752, -0.0062247212, -0.0233581606, 0.0150822969, -0.0266109742, -0.0534475073, 0.0275266971, -0.0149451541, -0.0071008732, 0.0761244893, -0.0295655206, -0.0491386838, -0.0145458272, -0.0430078432, 0.0213134065, -0.009918062, -0.0184737183, 0.02724538, -0.0113705685, 0.0209706891, 0.0232196078, 0.01317399, -0.0443571545, 0.0531823076, -0.0314327702, -0.0269974954, -0.0065611429, -0.0056913993, 0.0713330433, 0.0063921367, 0.0331408456, -0.0077334126, 0.0441410393, 0.0169994347, -0.0035615291, -0.0513345227, 0.0114782173, 0.0191259496, -0.0081915176, 0.023195561, 0.0207120515, -0.043832764, -0.0436188504, 0.0077761547, -0.0110992165, -0.0220649, -0.028062867, -0.0121833561, -0.015641259, 0.0327212363, -0.0276320167, -0.0152182849, 0.0240375344, -0.0066302549, 0.0194336977, -0.0282241963, 0.0585322604, 0.0382330529, 0.0111510959, -0.0145346057, 0.0080450717, 0.0052675237, -0.0621149465, 0.0257566012, -0.0416879952, 0.0656657889, 0.0451953262, 0.0047248965, -0.0828020945, -0.0352059305, -0.0793231353, -0.0652502924, 0.0423390679, 0.0072739837, 0.0477941819, 0.0123795485, -0.0375231504, -0.0296407137, 0.0045344364, 0.0753233582, 0.0296654273, 0.012666529, -0.0030893143, 0.0370220318, 0.0353526138, 0.0183871537, -0.0009644987, 0.01471317, -0.063454777, 0.0707677677, -0.0791505203, -0.0227293186, -0.0242957715, 0.0024285265, 0.0480243489, 0.0525336228, -0.0255626328, 0.0155630745, -0.0922811627, -0.0336292163, 0.0002015358, 0.0246767774, -0.0042584948, -0.0023052511, 0.0440090559, 0.0377799831, 0.0040578851, -0.1074610427, 0.0339531973, -0.0075112106, -0.0420820899, 0.029993711, -0.02371867, -6.707018852e-33, -0.0294934791, -0.0263308734, 0.0314032733, 0.0097997403, -0.0067926566, 0.0054340232, -0.0136189684, -0.0085952785, -0.0131186685, 0.0376350619, 0.0112207243, 0.0231252871, -0.0049321307, -0.0364438593, 0.0039311326, 0.0024199367, 0.0198689345, 0.0164109189, -0.0315345302, 0.0166872293, 0.0642192736, 0.0252184812, 0.0639759898, -0.0567983426, 0.0300158057, 0.0189227108, -0.0091708023, 0.021008607, -0.0308804922, 0.0010496953, -0.0281286966, -0.0169168878, 0.0469112135, -0.0300442204, 0.0010362979, 0.0280796792, -0.0744546056, -0.046611324, 0.0452736728, -0.0212751906, -0.0244885441, -0.0492407195, -0.0045144097, 0.0011157187, 0.0230735429, -0.0218760576, 0.0495348573, -0.0145355165, 0.0319539718, -0.013533718, -0.0325452983, -0.0045297435, -0.0343617238, 0.0455827303, 0.0132146236, -0.0151757449, -0.0331181064, -0.0033843901, -0.0597861223, 0.0316527449, -0.0074082091, -0.0520513393, 0.0340429358, -0.0181979034, -0.0029567103, 0.0460547209, 0.0018181093, -0.0152236819, -0.0508130863, 0.0127518093, -0.0104187336, 0.082156226, -0.0088320468, 0.0472198091, 0.037531998, 0.0205966942, -0.0952359363, 0.0306225978, -0.0328794308, 0.0767548457, 0.0211683698, 0.0283711534, -0.0243581571, -0.0178936683, -0.0406321473, -0.0009019679, -0.0582057573, -0.0295374971, 0.0023485189, -0.0409989618, -0.0245303661, 0.0403225161, 0.0087694572, -0.0309153069, 0.0023174982, -0.0009253913, 0.0325124934, 0.0046406812, 0.0098169725, -0.0176659804, -0.0447901748, -0.0413804315, 0.0024221723, -0.0007970828, 0.0352158621, 0.003191679, 0.0334038995, 0.014603504, 0.0365524329, -0.003167798, -0.0333807506, -0.0556813516, 0.0091166683, -0.0483363122, 0.029593898, 0.04104219, -0.0058858758, -0.021437306, 0.0312657319, 0.0059411204, -0.0156992655, 0.0403761044, -0.0345864221, 0.0538312197, 0.0314123221, -0.0199925974, -0.01728677, -0.0741951764, 0.0357354395, -0.0271564312, -0.0343032815, 0.0161389001, 3.179e-7, 0.039749708, 0.0178432632, -0.0103620058, 0.0415565632, 0.0133618694, 0.016316276, 0.0019221652, -0.0166153405, 0.0462438539, -0.0229365434, 0.0235951096, 0.0824540704, -0.0289578289, 0.0517524071, -0.0260810275, -0.0485657416, 0.0424576513, -0.0132091716, -0.0226994567, 0.0418308154, 0.0820490792, 0.0152932918, 0.0489944443, 0.0105502717, 0.0276427157, 0.0020611484, 0.0331430063, -0.0533523746, 0.0103113484, 0.0369113348, -0.0185471904, 0.0007091833, -0.0161121562, 0.101702489, 0.0318638757, 0.0018354403, -0.0053291656, 0.0060313619, -0.0036241692, 0.0324782133, -0.0480489582, -0.0504705273, 0.0200167783, -0.1207049787, 0.0807660669, -0.0846073627, -0.0443878435, 0.0847014561, -0.0083832927, 0.0099457474, -0.011648939, 0.0542845502, -0.0110308016, -0.0112888683, -0.0233218186, 0.0064204903, -0.0076928018, -0.0909105018, 0.0018091811, 0.0433786288, -0.0132980486, -0.038129393, 0.0138496859, -0.0692418069, 0.0410071611, -0.0758535042, 0.0086200712, 3.028095718e-34, -0.0315035693, 0.0369682945, -0.0027518435, 0.0079871109, 0.0600424819, -0.0553075485, -0.0295586661, -0.0021433062, 0.040563792, -0.0508192331, 0.0129556535 ]
http://arxiv.org/abs/2406.10882v2
http://arxiv.org/pdf/2406.10882v2
SCAR: Efficient Instruction-Tuning for Large Language Models via Style Consistency-Aware Response Ranking
2024-06-16T10:10:37
2024-07-01T14:55:01
Zhuang Li, Yuncheng Hua, Thuy-Trang Vu, Haolan Zhan, Lizhen Qu, Gholamreza Haffari
cs.CL
cs.CL
Recent studies have shown that maintaining a consistent response style by human experts and enhancing data quality in training sets can significantly improve the performance of fine-tuned Large Language Models (LLMs) while reducing the number of training examples needed. However, the precise definition of style and the relationship between style, data quality, and LLM performance remains unclear. This research decomposes response style into presentation and composition styles and finds that, among training data of similar quality, those with higher style consistency lead to better LLM performance. Inspired by this, we introduce Style Consistency-Aware Response Ranking (SCAR), which automatically prioritizes instruction-response pairs in the training set based on their response stylistic consistency. By selecting the most style-consistent examples, ranging from the top 25% to 0.7% of the full dataset, the fine-tuned LLMs can match or even surpass the performance of models trained on the entire dataset in coding and open-ended question-answering benchmarks. Code and data are available at https://github.com/zhuang-li/SCAR .
[ 0.0744413212, 0.0928597301, 0.0026733864, 0.0499159209, 0.0113314325, 0.0298388489, -0.028112065, 0.0083935717, -0.0370911174, -0.0659477189, -0.0679911077, -0.0305388551, 0.0015468475, -0.0154584739, 0.0367131829, -0.0319249667, 0.0251525603, -0.0347203501, 0.0173206832, -0.009390709, 0.0331322998, 0.0238205921, -0.0008612035, 0.0465059131, 0.0258873515, -0.022117395, 0.0219746996, 0.0370849632, 0.015480198, -0.0085230898, 0.0812815577, 0.0828035548, 0.0027211686, 0.0078762816, 0.0000019586, -0.0228015222, 0.0216726139, -0.0157087538, 0.0138725303, 0.0541600585, 0.0193196461, -0.0029879801, 0.0076070866, 0.0348366015, -0.049025964, -0.0154051492, 0.0424805023, 0.0393164754, 0.1059762463, 0.0873107091, 0.0175471995, -0.0633840412, 0.0419038795, -0.044141084, -0.0019577411, -0.0268323217, 0.0078283148, 0.0068471362, 0.0001313256, 0.0540647022, -0.0201287437, 0.0122360252, 0.0081212055, -0.0102115534, -0.0110642435, 0.0032279282, -0.0863486379, 0.0213185474, 0.0061618602, 0.1076845601, 0.0216127522, -0.013453139, -0.0104780458, -0.00315632, 0.0215652306, -0.009635889, -0.053881187, 0.0058938223, 0.0075750574, 0.0059368322, -0.0045127748, -0.0262041334, 0.002374501, 0.015918877, -0.0092110317, 0.0247825813, 0.0124922758, -0.0393583737, -0.0262275469, -0.0023460072, -0.0441866554, -0.0437563993, -0.0111876279, 0.0199661013, -0.0349971652, 0.0047597322, -0.0557058491, -0.0090371985, 0.0301711354, -0.0221912954, 0.0645305291, 0.022302404, 0.028051788, 0.0213599317, -0.0184210259, 0.0688196495, -0.0093982415, 0.0294183958, -0.0446592905, -0.0024154121, -0.0657558441, -0.0104872035, -0.0082490677, 0.0310196206, -0.0282655284, -0.0142818326, -0.0169880334, 0.0393482037, -0.0151685588, 0.0025272956, 0.0119628869, 0.0106631313, -0.0230952129, -0.0003783749, -0.0287459791, 0.0255801901, -0.0359666683, 0.0059390706, 0.0031506235, -0.0652044863, -0.0066580279, 0.0030377174, -0.0143851526, -0.0325697139, 0.0186644439, 0.0310967136, -0.029922802, -0.0080319168, 0.012462873, -0.0020689266, 0.0011243104, -0.0486238189, 0.0027181273, -0.0702127963, 0.02171156, 0.0437562615, -0.0064219311, -0.0159363542, 0.0072654551, 0.04432505, -0.0425404832, 0.0297796819, 0.0246318579, 0.0216017794, 0.0008502908, 0.0139252543, 0.0043897997, 0.0358132869, 0.0174228139, -0.0250671972, 0.0320974551, -0.0351024568, -0.0005219955, 0.0259427205, 0.0074353814, 0.023885332, -0.0116953449, 0.0417670272, 0.0317051485, 0.0071280482, 0.0560497455, 0.0330600068, -0.0251211263, -0.0477321111, 0.0600010976, -0.0152542097, 0.0156270862, 0.0151512632, 0.0141889472, 0.0422528088, 0.0326359421, 0.0194898136, -0.0562251322, 0.0245757941, 0.005349915, 0.027470598, 0.0575488098, 0.0007394959, -0.0385963321, -0.0402893722, -0.0147385821, 0.0129441107, -0.0255871676, 0.0364576615, -0.0274812914, 0.0111084497, -0.0608588383, 0.0082666874, 0.0193455461, -0.0331250168, -0.0349699557, -0.0636297464, 0.0245268065, 0.0790648833, 0.0371021777, 0.0001655398, -0.0321610905, 0.0044340151, 0.0600759052, 0.0083174529, 0.0614892691, -0.0268528666, 0.0519717559, -0.0468704663, -0.0262171682, -0.0264100656, -0.0205247588, 0.013148292, 0.0315150134, -0.0002964618, 0.0134607861, -0.0054471283, -0.039137885, 0.0391934551, 0.0136870397, -0.0397908613, 0.0219367929, -0.0265442077, 0.0094554722, -0.0156800617, -0.0398808941, 0.0290462002, 0.0221005157, -0.0368636549, 0.0302211959, -0.0528408401, -0.068499811, -0.0571623258, -0.0012499534, -0.0051251044, -0.0348628983, 0.0763993859, -0.0619279481, -0.0374098569, -0.0103646591, -0.0413343348, 0.0285135712, -0.0299133062, 0.0035174137, 0.0124799768, 0.0122379549, -0.0697856769, 0.0298167914, -0.0081539024, 0.0546091273, 0.0316805877, 0.0481360033, -0.0228491444, -0.0275766309, -0.0121310428, 0.0071516093, -0.0148847857, 0.0301934127, 0.0257752743, 0.0526304245, -0.0336231962, -0.0410570726, -0.0932500437, 0.0024529002, -0.0418684185, 0.0117476173, 0.0265617277, 0.0000026903, -0.0222519804, -0.0282350946, -0.0340907648, -0.0340490639, -0.0045725731, 0.0496026315, 0.0321695544, 0.0079172347, -0.0372888744, -0.0618135594, -0.0446512289, 0.0159001406, 0.0274545811, -0.0189254116, 0.0543990731, -0.0606418215, -0.0104503985, -0.0371329822, 0.0159543566, -0.0050492352, -0.0739282072, 0.0204452034, -0.0115229255, 0.028516015, 0.0924302787, 0.0481314659, -0.0030389838, 0.038026154, 0.0215311926, -0.0688432828, 0.0105261682, -0.0132553251, -0.0376401953, -0.0283752736, -0.047100801, 0.026061235, 0.0579300597, 0.0149184028, 0.0042265276, -0.0488631651, 0.0002866249, 0.0175047033, -0.0138338748, 0.0121072019, -0.01184058, -0.0170841441, -0.0028418428, -0.0333197899, -0.0475295, 0.0757526085, -0.0287131108, -0.0215089414, -0.0408681482, 0.0039617717, -0.0436823927, 0.0209166147, 0.0165191591, 0.0111217592, -0.0678020343, -0.0149559677, -0.0666750744, -0.0185309593, 0.0418868922, -0.0393671319, 0.0349612385, -0.0356174372, 0.0012796014, -0.0211265814, -0.0578177981, -0.0536107868, -0.0678307191, -0.0028142608, 0.0047860495, 0.0406600758, -0.0264260489, 0.0102632958, -0.0112987617, 0.0068690451, 0.0330731012, -0.0476183183, -0.00728453, -0.0161044039, 0.0416761413, 0.0667405501, 0.0320829265, -0.008902532, -0.0463254452, 0.0140259592, 0.0468779169, 0.0489888936, 0.0434541628, -0.0165876318, 0.0116493199, 0.0604654141, -0.018567672, -0.0331022739, 0.0421825796, 0.0832810923, -0.0441748425, -0.0153083308, 0.128615424, 0.0347884335, -0.0381669998, -0.0054785823, -0.0051389635, 0.07698863, 0.0436606333, 0.0519085042, -0.0331780054, -0.0496983379, -0.0148540279, 0.0389347337, 0.0173204578, -0.0032994822, 0.0039491509, -0.120019339, 0.0295095723, -0.0042751171, -0.0651091337, -0.0285631809, -0.0510664508, 0.0170841198, 0.0111884922, -0.0119143575, 0.0208326373, -0.0526871793, -0.002156968, 0.0505589359, -0.0091501372, -0.0372940488, 0.0296644922, -0.0429818556, 0.0294134673, 0.0880107507, 0.0153067615, 0.0120492438, -0.0480146967, 0.0358303115, -0.0350520015, 0.0009518657, -0.0146461343, 0.0294939876, -0.0159913395, -0.0052785864, -0.0306922738, 0.0106536373, -0.0159401018, 0.0161131006, 0.0086498316, 0.0265739672, -0.0106862197, -0.025388116, -0.0554077812, -0.0036211945, -0.0003671681, 0.0794465989, 0.049006775, -0.0567878708, -0.0486419238, -0.0300948471, 0.0245589465, -0.0641134754, -0.0189555939, 0.0247469805, 0.0078659849, 0.0241089668, -0.0812800676, -0.0366559997, -0.0004499638, -0.0030182279, -0.018808892, -0.0074912631, -0.0334708616, -0.0065224352, -0.0541194119, 0.0216527712, -0.0082575204, 0.0158167426, -0.0924469158, -0.0266169608, 0.0307824165, 0.0148744518, -0.0290944632, 0.00373714, -0.0772120357, -0.0470053181, -0.0034817855, 0.0799274445, 0.0068502878, 0.0433330499, 0.0252970494, -0.0848319978, 0.0047404976, 0.0429397896, -0.0254383609, 0.0217960626, 0.0342304744, -0.0437268578, -0.0131247574, 0.033461947, -0.054727383, 0.0335489511, 0.0350972451, 0.0657629296, -0.010509884, -0.0220651086, 0.0120325219, 0.0075894292, 0.0061921617, 0.0332207195, -0.0113337105, 0.0090534491, 0.0439233184, 0.0069539389, -0.0151599012, -0.0461209975, 0.005788249, 0.0036742494, -0.0338969193, -0.0080560399, 0.0044084978, 0.0146146817, 0.0435629673, -0.068870753, 0.0265488643, 0.027418375, 0.0235215016, 0.0220398996, 0.003079474, -0.0412913822, 0.0359991305, 0.0273699593, 0.0335423201, -0.0107214525, 0.0457363315, 0.0275757983, 0.0029511147, -0.0016004723, 0.029143855, -0.0736498162, -0.0490568951, -0.0401064418, -0.0281003676, 0.0195779335, -0.0229116026, 0.0516508408, 0.0114538912, -0.0060623493, -0.043791689, 0.0153199881, 0.0009750483, -0.0140171228, 0.0367404073, 0.0532951131, -0.00733522, 0.0188052338, 0.0815189108, 0.0422390625, -0.0032457965, -0.0008593657, -0.004532903, -0.0153547861, -0.0215794109, 0.0208327938, 0.0221725348, 0.0171162691, 0.0234288275, -0.0120167835, -0.065649353, -0.0192199461, 0.0134447273, -0.0016120737, -0.020813942, 0.039395757, 0.0646461472, 0.0082078818, -0.0396859981, -0.0697546154, 0.0116346395, -0.0044808346, -0.0459902585, -0.0412043668, -6.435722103e-33, -0.0058231764, -0.0059629753, -0.016214136, -0.0160246007, -0.0040960452, -0.0017919928, -0.0330450609, -0.0021738678, -0.0510110632, -0.0026828549, -0.0251542889, 0.0264972206, -0.0114283357, 0.0303200874, 0.0004952916, -0.0085975528, 0.0433554538, -0.0019051384, -0.050535664, 0.0275189038, -0.0061456515, 0.0036947781, 0.0450867116, -0.0575575009, -0.0040957322, -0.040692158, 0.0059419326, 0.0004006738, -0.0108020706, 0.0948958024, 0.0029203594, 0.0392371677, 0.0286368318, -0.051156763, -0.0185888447, -0.002440043, -0.0597353838, -0.0475116186, 0.016066853, -0.0136467852, -0.04574522, -0.0115554258, 0.0692763925, 0.0015229945, -0.0225950181, -0.0374983214, 0.037750259, 0.0070210882, -0.0267623216, -0.0138271907, -0.0362014435, 0.01773794, -0.0151826395, -0.0402109921, -0.0210292768, 0.0356108248, 0.0071421228, 0.0310017783, -0.0383921005, -0.0089559769, -0.0003183155, 0.0681175143, 0.0372974984, 0.0337820351, -0.0159551799, 0.0460121147, -0.0135533838, 0.0409280546, 0.0119558508, -0.0343524963, 0.0190285984, 0.068337515, 0.0182230882, 0.0353424996, 0.0115693174, 0.0083288783, -0.0578569323, 0.0291139968, -0.0002217363, 0.0499669164, 0.0206339844, 0.0152459294, -0.0485334732, -0.0244441219, -0.0507149585, 0.0212866161, -0.0424569957, 0.019548323, 0.0421501733, 0.0026420485, -0.0430636965, 0.0064176307, 0.0390308425, -0.0340214074, -0.0515045188, 0.0370335467, -0.0709500685, 0.0331348963, 0.0096067889, 0.0278795343, -0.0367874801, -0.000442204, 0.0313331783, -0.0411825962, 0.0167248771, 0.0032388249, 0.0360878035, -0.0010622058, -0.0827363953, -0.0286609828, -0.0101550492, 0.0255782455, -0.0320055708, -0.0090522068, 0.0173584353, 0.016469812, -0.0002723176, 0.084208563, -0.0186631363, -0.0114256926, -0.0591958351, -0.0346364491, 0.013643519, 0.013527005, -0.0245296694, 0.0218074284, -0.0263907518, 0.0062538949, -0.020890791, -0.045184385, -0.0471870564, 0.028550975, 2.469e-7, 0.0265734904, 0.0373400599, 0.009034737, 0.0732868612, 0.0269336272, 0.0363333263, 0.0023077864, 0.0372192785, 0.0337464064, 0.0114227086, 0.0002577328, 0.0347286761, 0.053457804, 0.0107938284, -0.0809702128, 0.0195345115, -0.1104843616, 0.0181717053, -0.0401794873, -0.0142195094, 0.0482799709, 0.1036147401, -0.0254061632, -0.0066943774, -0.0003610321, -0.0056668553, 0.0769686177, -0.0111862347, 0.0139061902, 0.0299487747, -0.0035652176, -0.0162159689, 0.0179343652, 0.0088509768, -0.0130060744, -0.0157295913, 0.0224905256, 0.1002628207, -0.0057330318, -0.0198879726, 0.0061895982, 0.0051425816, 0.0230774116, -0.0496805608, 0.0913612023, -0.0097525446, -0.0147281857, -0.0194424931, -0.0101453736, -0.0239589419, 0.019162545, -0.0249969009, -0.0279337447, 0.0458035953, 0.0193590801, -0.0261094309, -0.013158421, -0.070894219, -0.0369512215, 0.0066576796, -0.0182780307, -0.0396502949, -0.0341463126, 0.0098170154, 0.0206204094, -0.0362015627, 0.0032690731, 2.544573565e-34, 0.0227373578, -0.0231031813, 0.0400405377, 0.0570526198, 0.0391328037, 0.0220853463, -0.0049208612, 0.0177344158, 0.0307155922, -0.1130358502, -0.0292608067 ]
http://arxiv.org/abs/2406.10881v1
http://arxiv.org/pdf/2406.10881v1
Teaching Large Language Models to Express Knowledge Boundary from Their Own Signals
2024-06-16T10:07:20
2024-06-16T10:07:20
Lida Chen, Zujie Liang, Xintao Wang, Jiaqing Liang, Yanghua Xiao, Feng Wei, Jinglei Chen, Zhenghong Hao, Bing Han, Wei Wang
cs.CL
cs.CL
Large language models (LLMs) have achieved great success, but their occasional content fabrication, or hallucination, limits their practical application. Hallucination arises because LLMs struggle to admit ignorance due to inadequate training on knowledge boundaries. We call it a limitation of LLMs that they can not accurately express their knowledge boundary, answering questions they know while admitting ignorance to questions they do not know. In this paper, we aim to teach LLMs to recognize and express their knowledge boundary, so they can reduce hallucinations caused by fabricating when they do not know. We propose CoKE, which first probes LLMs' knowledge boundary via internal confidence given a set of questions, and then leverages the probing results to elicit the expression of the knowledge boundary. Extensive experiments show CoKE helps LLMs express knowledge boundaries, answering known questions while declining unknown ones, significantly improving in-domain and out-of-domain performance.
[ 0.0399637669, 0.0357565247, -0.0426925942, 0.0596450046, -0.0572788939, 0.0022899634, 0.0013628049, 0.0100310827, 0.0375636071, -0.0419942066, -0.0141638387, -0.0396452993, -0.0326088034, 0.0344000086, 0.0461207703, -0.0349357761, 0.0549730174, -0.0563458689, -0.0192991029, -0.0211198479, -0.0185167976, -0.0015401827, -0.0079482067, 0.0233813692, -0.0363653116, -0.0305184275, -0.0277445968, -0.0034783436, -0.0290486421, -0.0175973382, 0.0055452809, 0.0263636187, 0.016289657, 0.0624294505, 0.0000020967, -0.0380720571, -0.0237419065, -0.024762148, -0.0319017842, 0.0159929786, 0.0361998007, -0.0267693195, 0.0030990008, 0.0209171139, -0.0702794269, 0.0109067848, 0.0257599223, 0.0755322278, 0.0616980903, 0.0792056844, 0.0059448467, 0.0272180997, -0.0175856557, -0.0169929881, 0.043742124, -0.038378045, 0.0448059887, 0.0118466448, 0.035585463, -0.0291042682, -0.0293037184, 0.0412295014, 0.0288460571, -0.0260735005, -0.0101734102, 0.020507386, -0.0287481938, -0.0280384645, 0.0031021917, 0.0381456092, -0.0270136185, -0.0356566571, 0.0031767837, -0.0005960537, 0.0269234236, 0.0155352186, -0.0332194902, 0.0112738162, -0.0101555334, -0.0034780165, -0.0197878722, 0.0019345531, 0.0368329808, 0.0077560772, -0.0497862883, 0.0837829411, -0.0010770839, -0.0502221957, -0.0002974402, -0.018460596, 0.0204941202, -0.0688393041, 0.00230316, 0.0666776597, -0.0178195368, 0.0369546972, -0.0263020135, 0.0150395501, 0.0320323333, -0.0312144514, 0.0192993134, 0.0162464324, -0.0414057001, 0.0529802628, -0.0315279737, 0.0331321955, -0.0295236576, 0.0418982729, -0.0413750187, 0.0108094737, -0.0206607264, -0.053644795, -0.0558050387, 0.0208492801, -0.0160327572, -0.0351168402, 0.009362069, 0.0286508873, -0.0298388582, 0.0379184894, -0.0342010632, 0.0152836656, 0.0011908133, -0.0413911454, -0.0320873857, 0.0466109402, -0.0409511589, 0.0146305673, 0.0275005475, -0.0626664683, -0.0207757559, 0.0220595356, -0.0196729153, 0.0136803817, 0.0016252008, 0.0553846844, -0.0162706766, 0.0049669328, -0.0345056131, -0.0538929775, -0.0187352337, -0.0751018301, 0.0493214056, -0.0454306602, -0.0072003105, -0.0071436684, -0.0138442377, -0.0419080928, 0.0201746207, 0.0043620202, -0.0062755882, 0.0756358579, -0.0213606916, 0.0207112506, 0.0435192958, 0.0439044647, -0.0033069761, 0.0957618356, -0.0129789133, 0.0197899621, 0.0087689431, 0.0143006304, 0.0219739284, 0.0122693479, 0.0361074097, 0.018515354, -0.0726498067, 0.0019531212, 0.0469443612, 0.0591428466, 0.0098587498, 0.0412722193, -0.0239673499, -0.004721452, 0.0494703501, 0.0090016229, -0.0198214278, -0.0041671442, 0.065574199, 0.0149477348, 0.0380235203, 0.051666338, -0.0403520279, 0.01027497, -0.0123283649, 0.0240127444, 0.0138715971, 0.0022261387, -0.0286654811, -0.038231764, -0.0087834559, -0.0003353424, 0.0105763357, 0.0307286456, 0.0365724638, 0.0489850752, -0.0228533801, 0.0389161184, 0.0200460609, 0.007199158, 0.021140147, -0.0773759782, 0.0314008966, 0.0500954948, 0.0369354822, -0.0632461607, -0.0070862342, 0.0079469448, 0.0322536752, 0.0707960203, 0.0702849925, -0.0127209555, -0.0280840565, -0.0139318276, 0.0117449341, -0.0408419296, 0.0461253114, 0.0108934063, 0.0077799819, -0.0006129016, 0.0075964248, -0.0565127619, 0.0101959687, 0.0507914834, -0.0219901651, -0.0219477396, -0.0284669884, -0.0196984727, 0.000566343, 0.0037382499, 0.0097296508, 0.0392273217, 0.032721933, -0.0366630852, -0.0531830229, -0.0202306956, -0.0736245066, -0.0398003012, 0.0267780032, -0.0250647571, -0.0182492398, -0.0331243612, -0.0112808533, -0.0431432799, 0.0344410688, -0.029179899, 0.0945086926, -0.048567079, 0.0166626815, -0.0039205956, -0.0069466783, -0.0165967401, 0.0693645477, -0.0043213097, 0.0238469765, 0.0410749651, -0.005022197, -0.0202304646, 0.0107344845, -0.0063433731, 0.0040992508, -0.0150133632, 0.0317819044, -0.0134868296, -0.016098462, -0.0534406491, -0.0410077311, -0.063624993, -0.0272539668, 0.0058165165, -0.0298692416, 0.0207440238, -0.0272300262, -0.0208217725, -0.0319457166, -0.0361880437, -0.0062012216, -0.01242398, 0.0172771476, 0.0130024757, 0.0331659541, -0.0075628362, 0.0152943796, 0.0321581922, -0.0201304536, 0.0390326008, -0.0307517312, 0.0064425576, -0.1008102894, 0.0322579592, -0.0418805405, 0.048247315, -0.0149383722, -0.0004522988, 0.016052397, -0.0366441123, 0.0096951397, 0.0781586394, 0.0086529339, 0.0460142605, 0.0965692475, -0.0181421507, -0.0428323597, 0.0159895495, -0.0033320219, -0.0035014923, -0.0458412841, -0.0021289401, 0.0073340284, 0.0744538158, 0.0113519682, 0.0078527965, -0.0444465689, 0.0499309823, -0.0413800664, -0.0666217431, -0.0168464165, -0.0222282801, -0.0379418321, 0.0654820427, -0.0128553584, -0.043990083, 0.0796565339, -0.0286577456, -0.0103895441, -0.0209706333, 0.0314412899, -0.0095077502, 0.0592380911, -0.0073605361, 0.0189132988, 0.0475441627, -0.0266968012, -0.0672878549, 0.0000441231, -0.0068702712, -0.0511288792, 0.0201560874, -0.0535964966, -0.0092650838, 0.0231882501, -0.010964971, -0.0844609365, 0.0041707903, -0.0226208456, -0.0145522309, -0.0328494571, 0.0062280241, -0.0140679413, -0.0099253133, 0.0171351004, 0.0343859605, -0.0262326598, -0.0006670394, -0.0215761829, 0.0024714682, 0.069218792, 0.0114110969, 0.0240138564, -0.0633208007, 0.039250277, 0.038860634, -0.0006889972, 0.0225953329, -0.0032360749, -0.0133840367, 0.0079137236, -0.0150643587, 0.0042854059, 0.0293773841, 0.0500356443, -0.070002608, -0.032124944, 0.1123913154, 0.0488066003, -0.0191054568, 0.0101982681, -0.0512779877, 0.0321346112, 0.043169383, 0.0450797379, -0.0837427601, -0.0001877267, 0.0063026445, -0.0119589167, -0.0255711023, -0.0195304602, -0.0336751193, -0.1485434622, 0.0316992886, 0.0102015194, -0.0131987995, -0.033602003, -0.0147366337, -0.001555369, 0.0728134885, 0.0327638052, -0.0019048143, 0.000296636, -0.0394954495, 0.0133370422, -0.0109535335, -0.0762513727, 0.019285515, 0.007913637, 0.0712226108, 0.0265808832, 0.0038081042, 0.0205316693, -0.0538141355, 0.0111195184, 0.0055777598, 0.0305238478, -0.0104308007, 0.0205008257, 0.020281028, -0.0081118848, 0.0247474518, 0.0273167044, -0.0160706956, -0.0091412105, -0.0034532971, 0.1008887738, -0.0386823192, -0.070946835, 0.0066256393, 0.0341450423, 0.0342718177, 0.0762403384, 0.0482267067, -0.0343248732, -0.0121418675, -0.0302409139, -0.006594277, 0.0247624461, -0.0385059603, 0.0592327006, 0.0476324297, 0.0035512662, -0.0653749481, -0.0285440125, 0.0381543599, 0.0501022004, 0.0341946594, 0.0212477706, 0.0061736293, -0.0299418066, -0.0053428621, -0.0048109223, -0.0684387609, 0.0049214857, -0.0127304755, 0.0059276209, 0.0182334278, -0.0529064462, -0.0043542995, 0.0285046659, -0.0569820441, -0.0847821161, 0.0221421551, 0.0266262051, 0.0428398885, 0.054511372, -0.0394655466, -0.0557759628, 0.0383811183, 0.0365865752, -0.0541886911, 0.0124293054, 0.0225462429, -0.0061705844, -0.004418131, 0.0551120862, -0.0313001461, 0.0135209812, 0.0120081445, 0.0101596583, -0.052612789, -0.0185551923, 0.0437196679, -0.0129334005, -0.0077698282, -0.0118380086, 0.0262654293, -0.0330242924, 0.0188705921, -0.0302971303, -0.0245800894, -0.0230933167, -0.0090336222, 0.0374018773, -0.0164608955, 0.0270301886, -0.0357949883, -0.0080943955, 0.0182128791, -0.0003143639, -0.0311037786, -0.0018489158, 0.0249357261, 0.060724806, -0.0107135084, -0.0153171774, 0.0529301018, -0.0068069138, 0.0410008654, 0.0039130785, 0.0814450979, 0.0365681984, -0.0213467199, -0.0316069387, -0.0122199608, -0.0529520214, -0.0736580715, -0.0100733256, 0.071777828, 0.0273246579, 0.0081812162, 0.0208465867, -0.0427589454, -0.0159154478, 0.013779277, 0.0190915801, 0.0374335758, -0.0796998218, 0.0475664623, 0.0332526863, -0.0251326337, -0.0097917216, 0.0575588048, 0.0007156411, 0.0694676042, 0.0006860034, 0.0136379013, -0.059395548, -0.0307892412, 0.0385602266, -0.0054427246, -0.0447914004, 0.0359287933, -0.0920099616, -0.0874001831, 0.0049970984, 0.0064045568, -0.0196791627, -0.0423810706, 0.0174458642, 0.0626189634, 0.004976932, -0.0145122036, -0.0218107086, 0.0114743551, 0.0376865119, 0.0021458592, -0.0126730492, -6.80885854e-33, -0.0255374182, -0.0161447395, 0.0215387736, -0.0290073715, -0.0132912863, -0.0013587594, -0.03619802, 0.0079826508, -0.0042600799, 0.0226840787, -0.01095457, 0.0152458064, 0.008918982, 0.0127036395, 0.0076924707, -0.0226536114, 0.0539308116, -0.0136421565, -0.0320178159, 0.0256051179, 0.0299034808, 0.0221504178, 0.0267928578, -0.0516147651, 0.0293349661, -0.0172458775, -0.0433124416, 0.0645170659, -0.0276314728, 0.0308138914, -0.0502646305, 0.030200718, 0.0082380529, -0.0448335856, -0.033477515, 0.0041090166, -0.0182597823, -0.03219226, 0.0239564218, 0.0107071577, -0.0346764699, -0.0262664333, 0.0302912649, -0.0149128549, 0.0445830822, 0.0070958361, 0.0224973746, -0.038033396, -0.0126772327, -0.0066070892, -0.0769337714, -0.0033014193, 0.0150821814, -0.0516407937, 0.0010633352, 0.0128823826, 0.0119844675, -0.0697591901, -0.0374767072, 0.0198453572, 0.025286939, 0.0234407317, 0.0447679497, 0.0082122637, -0.0036519866, 0.056307815, -0.0111815697, 0.0341603197, 0.0081481822, -0.0252677314, 0.0605399944, 0.0406953432, 0.0259335935, 0.0212123115, 0.013023017, -0.0217191651, -0.0194499455, -0.037544053, -0.0135510787, 0.0050072749, 0.0385802127, -0.0177122653, -0.0135819074, -0.0295254532, -0.0373135991, 0.0135819493, -0.0305824336, -0.0036151712, 0.0332654975, 0.0443843864, -0.0311579332, -0.0254202727, 0.0113122845, -0.048855532, 0.0115014846, -0.0171318762, -0.0145851765, 0.0219983794, 0.0066385055, 0.0414893217, -0.0472998284, -0.0312126409, 0.0147978514, -0.0166445132, 0.010065156, 0.0253896527, 0.0381897688, 0.0181314237, -0.0665478632, 0.004671392, -0.0500825159, 0.0537341237, 0.0202599149, -0.0149559062, 0.0384441428, 0.0188798942, -0.0237888284, -0.019316664, 0.0054217004, -0.0263054818, -0.0328686349, 0.0505070053, -0.0205813255, 0.032256484, -0.047173515, -0.0268525966, -0.050239481, 0.0035665419, 0.0589529164, -0.0536205396, -0.0130948722, 0.0186214503, 2.885e-7, 0.0128190182, 0.0291492678, 0.0134062069, 0.0692462996, 0.0443240628, 0.0234689079, -0.0255359858, 0.0130532049, 0.0390200354, -0.078429468, -0.0158965345, 0.0279018935, 0.0568278618, 0.0429427139, -0.1530394703, 0.0071434248, -0.0090512987, -0.0198443271, -0.0534696579, -0.0261201095, 0.0251329746, 0.0676447749, 0.0084781144, -0.0037897124, 0.0076198899, -0.0734345317, 0.0703086853, 0.01308922, 0.0221045744, 0.0324844085, 0.0333864316, 0.0307546631, -0.0007115986, 0.0718203634, -0.0078653898, -0.0000234848, -0.0355490036, 0.0297703724, 0.0205356199, -0.0121483281, -0.0166796856, -0.0131325833, -0.0038882245, -0.0818500072, 0.0544875599, -0.0621685013, -0.000590978, -0.0456309728, 0.0349359624, -0.0579693317, -0.0055331928, -0.029743012, -0.0246636681, 0.0267278068, 0.0033869396, 0.0196949337, 0.0360422619, -0.0461432934, -0.0342379026, -0.0195272416, -0.0537031256, -0.0333060175, -0.0285904054, -0.0043592378, 0.0037670997, -0.0965803638, 0.0313996635, 2.84125686e-34, 0.0317076556, -0.0107487412, 0.0064875833, 0.0303600673, 0.032567285, -0.0035508838, 0.0168583505, 0.0367115475, 0.0250894111, -0.0611152202, -0.0153904958 ]
http://arxiv.org/abs/2406.10880v1
http://arxiv.org/pdf/2406.10880v1
Exploring the Potential of Multimodal LLM with Knowledge-Intensive Multimodal ASR
2024-06-16T10:04:19
2024-06-16T10:04:19
Minghan Wang, Yuxia Wang, Thuy-Trang Vu, Ehsan Shareghi, Gholamreza Haffari
cs.CL
cs.CL
Recent advancements in multimodal large language models (MLLMs) have made significant progress in integrating information across various modalities, yet real-world applications in educational and scientific domains remain challenging. This paper introduces the Multimodal Scientific ASR (MS-ASR) task, which focuses on transcribing scientific conference videos by leveraging visual information from slides to enhance the accuracy of technical terminologies. Realized that traditional metrics like WER fall short in assessing performance accurately, prompting the proposal of severity-aware WER (SWER) that considers the content type and severity of ASR errors. We propose the Scientific Vision Augmented ASR (SciVASR) framework as a baseline method, enabling MLLMs to improve transcript quality through post-editing. Evaluations of state-of-the-art MLLMs, including GPT-4o, show a 45% improvement over speech-only baselines, highlighting the importance of multimodal information integration.
[ -0.014641786, 0.0198944658, 0.0243964903, 0.0359210595, -0.0127566792, -0.0088133942, 0.0020425767, 0.0098650362, -0.0070695677, -0.0953500643, -0.0611509979, -0.0269779433, 0.0286929943, 0.0273887981, 0.0616195537, -0.0595040694, 0.0302998759, -0.0720954537, -0.0048591848, 0.013987557, 0.0234830305, 0.0058406913, -0.0422040783, 0.0028971497, -0.0001506614, -0.0147405984, 0.0212331414, 0.0158577804, 0.0557440482, -0.0072602369, -0.0330699049, 0.0130409822, 0.0498120189, 0.0291532632, 0.0000018836, -0.0528149307, -0.0278692786, 0.0492260531, 0.0219239686, 0.0261669606, 0.0611111745, -0.0329408869, 0.0096590938, 0.0269790888, -0.0196990799, -0.0240069199, 0.0492733046, 0.0236410294, 0.0199632458, 0.0110875517, -0.0216889866, -0.0419606045, 0.051533971, 0.0102037843, 0.0075327815, 0.0202951804, 0.0082395729, 0.0383852907, 0.009882831, 0.0379115269, -0.031973578, 0.0718642324, -0.0204971042, -0.0635087788, 0.017135242, -0.0046871211, -0.0360101312, -0.0415404849, -0.0306646507, 0.0662622005, 0.0328364223, 0.0367435217, 0.0046766247, 0.0064860657, -0.0216245204, 0.0116316369, -0.0747131482, 0.0337556414, -0.0263188072, -0.0273022056, -0.0482859947, 0.0017567116, 0.0038393263, -0.0115424395, 0.0217183679, -0.0233324245, 0.0453873165, -0.00763661, -0.0347882025, 0.000289994, 0.0069829426, -0.0117457453, 0.0588646606, -0.0009555302, -0.007468197, 0.0024950523, -0.045819331, -0.0000952382, -0.0037354063, -0.029419234, 0.0451911688, 0.0251804981, -0.0558016412, 0.0393525548, 0.0007989517, 0.062951006, -0.003475622, 0.0245981272, 0.0105788102, -0.0144528262, -0.0309643354, 0.0115712909, 0.0086035263, 0.0102391476, -0.0265483111, -0.03695729, -0.034567222, 0.0103330296, -0.0038075491, 0.0188485868, -0.0040276051, -0.0335464701, -0.0241279732, -0.0043541384, 0.0071175136, 0.0946710482, 0.0776339993, 0.0136968149, 0.0027292632, -0.0390387475, 0.0062488341, 0.0590482391, 0.0127535732, -0.0149833988, -0.0172555763, 0.0715685785, -0.0242418647, -0.0386878178, 0.0182280708, -0.0294371564, -0.0655996278, -0.009086106, 0.017087942, -0.0199295189, 0.036696054, 0.0160209574, -0.0103141079, -0.0242328998, 0.0199978668, -0.0104410741, 0.0195455048, 0.0913638696, -0.0092944959, -0.0020181001, 0.0394066572, 0.029874457, 0.0071528512, 0.0322580189, 0.053127408, -0.0117299901, 0.0286878459, -0.0489578061, 0.0058428464, 0.067287758, -0.046817001, -0.016807545, -0.038075123, -0.0329076014, 0.0452908278, 0.0428075232, 0.0608645566, 0.0769966245, -0.0227642581, 0.0410738327, 0.067204535, 0.0319152549, 0.0220804699, -0.04749896, 0.0242248178, -0.0080366647, 0.0017256336, 0.0221910607, 0.0109885307, 0.0284043252, 0.0126324594, 0.0239471663, 0.0990917459, 0.042002622, 0.0043374626, -0.0309009831, -0.0587271899, -0.0013609151, -0.0412825011, 0.0243057497, 0.0373201855, -0.0145246089, -0.0626953617, 0.0157188047, -0.0129711078, -0.060467165, 0.0507384501, -0.0368388817, -0.0223746579, 0.0604896843, 0.0643866807, -0.030104313, -0.0418057404, -0.037617933, 0.0023813869, 0.0696197003, 0.044437483, -0.0152149452, 0.0172362365, -0.0683985874, -0.0203369632, 0.0220885519, -0.0032443372, 0.0079299547, -0.0489379913, 0.01754958, 0.0063337334, -0.0192586686, -0.0337343961, 0.0087562604, -0.0173028018, -0.0075254934, -0.0682846382, -0.0228052158, 0.0314764306, 0.0063192337, -0.0415816382, 0.0014198867, 0.0172945, -0.0413015597, 0.0100471117, 0.0283617824, -0.0478485972, -0.0363961086, 0.0636571422, -0.0691832975, -0.0031232175, 0.0289312899, -0.0176972616, -0.0292772707, 0.0016496212, -0.0351754129, 0.0186548755, -0.0354803614, 0.0257978179, 0.0379512273, -0.0001599593, -0.0260252878, -0.0287283137, 0.0104809767, -0.0046634115, 0.0282499455, -0.0746179596, -0.0084271515, -0.0727394596, 0.0018072774, 0.0454959497, 0.0006916156, 0.0105248075, 0.0349443853, -0.0398346297, -0.03271861, -0.0251905024, -0.0625832751, -0.018643586, 0.0138211772, 0.0158105083, -0.0015313881, 0.0006652055, 0.0185338315, 0.0017179782, 0.0139050111, -0.0268454701, -0.0011745556, 0.0046062954, 0.0159124173, 0.0015098163, 0.0014984068, -0.044579953, -0.0129515883, -0.0239298828, 0.0328333452, 0.041441109, -0.0577922873, -0.0893149152, 0.0329762623, 0.002427937, -0.0170947686, -0.0096443444, 0.0082663139, -0.0015402633, -0.0070232805, 0.0203886218, 0.0285178572, 0.0000940175, -0.0016281296, 0.0153215555, -0.0378047526, -0.049222298, -0.0084373867, 0.0287102275, 0.0007724362, -0.0153597202, -0.0014102099, -0.0173401386, 0.0123259602, 0.0133969029, 0.043804992, -0.0276361406, -0.0106682749, -0.0070907101, -0.0343931988, -0.0089537082, -0.0352344327, -0.0289787464, -0.0028388691, 0.0118116327, -0.0153860077, 0.0226984862, -0.0881931186, -0.034545403, -0.0047430485, 0.0066034375, -0.0303706322, 0.0249120072, 0.0031168684, -0.0019118098, -0.017292954, -0.0380797945, -0.0365465172, 0.0038088323, 0.017242562, -0.0513368212, 0.0443371907, -0.0799394473, -0.001440028, -0.0387584828, 0.0141100232, 0.0195077974, 0.0331880301, -0.0186437573, 0.0162883103, 0.007499049, -0.0318637788, -0.069895871, 0.0484468676, 0.0336766094, 0.0457145162, -0.0171209276, -0.0014599054, -0.0322771408, 0.049064178, 0.0302499142, 0.024061596, -0.0256016925, -0.0451762713, 0.0112505881, 0.040997155, 0.0045088171, -0.01238974, -0.0193169042, -0.0026965414, 0.0573332198, -0.0067954496, -0.0273930654, -0.0191924386, 0.06198176, -0.0740213916, 0.0415127575, 0.104653351, -0.0092124585, -0.0576764382, -0.042806983, -0.0097446516, 0.0149316406, 0.0100992173, 0.0165392403, -0.0822991803, -0.0404235609, 0.0151763465, 0.0261411685, 0.0594605319, 0.005395487, -0.0207778327, -0.0608037822, 0.0738579333, 0.0431163572, -0.0239550713, -0.0438806713, -0.0461975895, 0.0111483997, -0.0196080338, 0.0557606593, 0.0030214346, -0.0474037938, -0.0084905047, 0.0557499342, -0.0623216778, -0.0851951838, -0.0054814117, -0.0008039746, 0.0389103591, 0.0426423848, 0.0315876678, -0.0290702749, -0.0941810682, 0.0186173208, -0.0012142053, -0.0026475361, -0.0169260036, 0.0406671613, -0.039506752, 0.00454584, 0.0182571821, 0.0371051878, 0.0153821744, -0.0201781727, -0.0133067193, 0.0680962875, -0.0339224637, -0.0029750152, -0.0201199744, -0.0132479006, -0.0220403466, 0.0692565888, 0.0170620233, -0.0159240123, -0.003790654, -0.0012580957, 0.0627887845, -0.0213326477, -0.0426861644, -0.0225925036, -0.0343866311, -0.0185604934, -0.0415588319, -0.0131952548, 0.0611206852, 0.0190383457, -0.0076905056, -0.0092812236, -0.0196849406, 0.0290023088, -0.0466758609, 0.0504475087, -0.0169683117, -0.0029237459, -0.0931757092, 0.0106709404, 0.0271682739, -0.0070691928, -0.0175650604, 0.0377631001, -0.0261493176, -0.0681705922, -0.0070971921, 0.0317725018, 0.0207056981, 0.0074010585, 0.0342924036, -0.0344961174, 0.0330229066, 0.0297530591, 0.0195248816, 0.0390389711, 0.0177091751, -0.0128000109, -0.0476785526, -0.0170245916, -0.0459903851, -0.0174838025, -0.064417854, 0.0509149916, 0.0025344905, -0.0884826407, -0.0227456652, 0.04841654, 0.071473062, -0.042284973, -0.0409528911, -0.0284207128, 0.0007010194, -0.0228140503, 0.0401441753, -0.0632407218, 0.0194740091, -0.00383453, -0.0000897589, 0.0071872468, 0.0562758669, -0.0605431944, -0.0350041203, -0.0607199483, 0.0634852499, -0.0054112175, -0.062575087, 0.0163414571, 0.032610286, -0.0166864116, 0.0300688092, 0.0061701816, 0.0145166004, -0.0155672031, 0.0567621812, 0.0105592329, 0.0305934958, 0.0496557318, 0.0433663614, -0.0284057483, -0.001948972, -0.0402911492, 0.0536910631, 0.0491397642, 0.0354473852, 0.0890544802, -0.0099389311, -0.0092027262, -0.0681579262, 0.0764235258, -0.0193758998, 0.0019318162, 0.079089269, -0.009330539, -0.0039352775, 0.0106936954, 0.0764401779, -0.0085806847, 0.0382365361, -0.020699406, 0.0006640601, -0.0254159812, -0.0498159193, 0.0308857299, -0.0423770249, -0.0157840699, -0.0318707637, -0.0370504074, -0.0540915392, 0.0554064848, 0.0052514691, -0.0284278002, -0.0115982657, 0.0079383254, 0.0179204214, -0.0275849029, -0.0270405859, 0.0202572625, -0.0237856023, 0.0245064981, -0.0354471765, 0.019770829, -5.764435115e-33, -0.0479788631, -0.0200103093, 0.0279967207, 0.0472044721, -0.052648861, 0.0409562029, -0.0026075477, 0.0227594636, 0.0295283683, 0.0146647934, 0.050482098, -0.0398818776, 0.0230868142, 0.0137810549, 0.0104440935, 0.0199682657, 0.0609664619, -0.0020802589, 0.0161006916, -0.0111676706, -0.0036088356, 0.0221903101, 0.0598873682, -0.0687646344, 0.0157963634, 0.0424216948, 0.0020235304, -0.0355010815, 0.0448081791, 0.0532303266, -0.0281776898, 0.0403822139, -0.0229213126, -0.0458287299, -0.0416886546, 0.0233209357, -0.0358498991, 0.0140687972, 0.0317993872, 0.0672364682, -0.0375954546, -0.0256343335, 0.0477826148, -0.0314675085, -0.0488896295, -0.0671789348, 0.0551474877, -0.0083399219, -0.0360327922, -0.0542009734, -0.0249218009, 0.0288428031, -0.0080823125, -0.0284776669, 0.0758202747, 0.0250736587, 0.0314308368, 0.0169314798, -0.0435172543, 0.04083791, -0.0183278378, 0.0406874791, 0.0950783566, 0.0010846407, -0.0186902415, 0.0338202007, 0.0245085303, -0.0572528951, 0.0205809139, -0.0679542199, 0.0251887199, 0.0257681087, 0.0290312953, 0.0665613487, 0.0073737511, 0.0345329978, -0.0022023218, 0.0129512837, -0.0824864209, 0.0525768586, 0.0127582205, 0.0366413295, 0.0290131271, 0.0054886155, -0.0504324324, 0.0364087857, 0.0048146257, 0.0022503093, 0.0289330408, -0.0219550468, 0.0308942515, 0.0247039571, 0.0989143848, -0.0203155875, -0.0333168581, -0.0084452378, -0.0022816181, 0.0591167174, -0.0320360921, 0.0233827718, -0.0598878153, 0.011578124, 0.0374965183, 0.0174533743, 0.0389623493, -0.0227639228, -0.0094813043, 0.0511014722, -0.0249870196, -0.0091185188, 0.0031754554, -0.0316951796, 0.0078569613, -0.0013463403, 0.03537523, -0.0083282953, -0.0182703454, 0.0478580371, -0.008313016, 0.0349006467, -0.0038535842, -0.0090759387, 0.0056367391, 0.0338547751, -0.0564398877, 0.0218551271, 0.0123634199, -0.0374077298, -0.002796405, -0.0348797031, -0.0276362561, 0.0080855964, 2.619e-7, 0.036810521, 0.1085888296, 0.0093532912, -0.0286736898, 0.0197595544, 0.0122905886, 0.000468578, 0.0227786992, 0.0189182833, -0.015076411, -0.009259739, 0.0027637088, 0.0602502748, 0.015277192, -0.0395904183, -0.0470390655, -0.0425703228, 0.0187308826, -0.0108818747, 0.0018232454, 0.0592258386, 0.0198937003, -0.0467956886, -0.0494145863, 0.0007931949, -0.0602909364, 0.0773669854, -0.0115220435, -0.0302815288, 0.0109385243, 0.0279265903, -0.0061977264, -0.0134451305, 0.0288128201, -0.0145007027, -0.076201193, 0.0596489459, 0.0220341906, -0.0453237593, -0.029668266, -0.0073892763, 0.0659213439, -0.0298395846, -0.0211928468, 0.0214830711, -0.0082251169, 0.0036683802, -0.0170474555, -0.065754734, -0.0076722591, 0.001794709, -0.013636128, -0.0041498104, 0.0482671596, 0.0209737252, 0.0070192991, -0.0779090226, -0.0562252477, 0.0094701638, -0.0094017079, -0.0306318048, -0.042417068, 0.005708267, -0.0642642677, 0.0044330833, -0.0364808962, -0.0491172485, 2.426398271e-34, 0.0645102635, 0.0081949374, 0.0079618376, 0.0007471932, 0.0165404212, -0.0122745456, -0.0194152631, 0.0095408875, -0.0250620563, -0.0770359263, -0.0198623184 ]
http://arxiv.org/abs/2406.10878v1
http://arxiv.org/pdf/2406.10878v1
Demonstration Notebook: Finding the Most Suited In-Context Learning Example from Interactions
2024-06-16T10:02:20
2024-06-16T10:02:20
Yiming Tang, Bin Dong
cs.AI
cs.AI, cs.CL
Large language models (LLMs) benefit greatly from prompt engineering, with in-context learning standing as a pivital technique. While former approaches have provided various ways to construct the demonstrations used for in-context learning, they often ignore the inherent heterogeneity within datasets, applying the same demonstrations to all reasoning questions. We observed that the effectiveness of demonstrations varies depending on the specific question. This motivates our exploration of using prompt engineering to select appropriate demonstrations. To address the challenge of automatically creating and choosing demonstrations tailored to each question, we propose a novel prompt engineering workflow built around a novel object called the "demonstration notebook." This notebook helps identify the most suitable in-context learning example for a question by gathering and reusing information from the LLM's past interactions. Our experiments show that this approach outperforms all existing methods for automatic demonstration construction and selection (as far as we know), achieving state-of-the-art results on serveral reasoning benchmarks. The method's versatility is further demonstrated by its success in text summarization and prompt compression tasks. Additionally, we contribute a rigorous analysis method to reveal the "demonstrative regime" of a demonstration, providing valuable insights into how demonstrations relate to different question types within a dataset.
[ 0.0138219846, 0.0383442454, -0.01501498, 0.0436163954, -0.0680173263, -0.0059781834, 0.0337536596, -0.0112695238, -0.0033424711, -0.0315740183, 0.0050429064, -0.0068415883, -0.0082013598, 0.04248311, 0.037076734, -0.0681964755, 0.040169578, -0.0232944693, -0.0347203836, 0.0249391515, -0.0124762114, -0.0119855972, -0.0200608056, 0.0380238965, -0.0105773136, -0.0394659452, -0.0660835803, 0.0092540244, 0.0052145226, -0.0198735856, -0.016688643, 0.0648133233, 0.0502147228, -0.0193855483, 0.0000021447, -0.0703672096, -0.0321080051, 0.0007378092, -0.074308008, -0.027394142, 0.0540201142, 0.0337412953, 0.0164784789, 0.0243366882, -0.0598468482, -0.0227836892, 0.0002855307, 0.0252546389, 0.0681022257, 0.0725312084, 0.0019214703, 0.0160467979, -0.0190552454, -0.0291988868, 0.0415602103, -0.0160883293, 0.0031003824, -0.018875448, 0.0544067845, -0.0064775124, -0.0193379652, 0.0117938258, 0.0695895031, -0.0084952628, -0.0114996694, 0.0149528505, -0.0442033596, 0.0137097472, -0.0082659759, 0.0921446383, 0.0265066884, -0.000252771, -0.0160866845, 0.0044613983, 0.0425830446, 0.0211824682, -0.0658475384, 0.0120572709, -0.0204669461, -0.01813991, 0.0249270964, 0.0268223248, -0.005879764, 0.0027373624, -0.0322695747, 0.0599460341, -0.0091838846, -0.0336260833, -0.0105880825, -0.0310711637, -0.0195762254, -0.0662969649, -0.0155362906, 0.0573208034, -0.0774977133, 0.0353895277, -0.0250466038, -0.0152778542, 0.0356622562, 0.037756823, 0.0447622351, 0.0250726622, 0.0129724974, 0.0600687452, -0.0242565125, 0.0701292902, 0.0313139968, 0.041441977, -0.0289884564, 0.025927674, -0.0488296673, 0.0093964627, -0.0454344377, 0.0286801532, -0.0416238122, -0.0223331638, 0.006884241, 0.0528448112, -0.0252928492, 0.043823529, -0.0053316439, -0.0141238952, -0.0289410856, -0.0001701838, -0.0153962411, -0.0134611744, -0.0675835535, 0.0127341207, 0.0308640096, -0.0584113784, -0.0439367257, 0.0131090134, 0.0001659299, -0.0054226504, -0.0116683319, 0.060778439, -0.021947071, -0.0608486682, -0.0248582847, -0.0438289531, 0.0179461315, -0.0190200396, -0.0213657282, -0.0931605026, 0.0220114067, -0.0023018064, -0.0170195084, -0.0412562899, -0.0010950562, 0.0399416834, 0.0343362764, 0.0740731806, 0.0182586517, -0.0036058214, 0.0150457472, 0.0240573455, -0.0540836081, 0.0777089447, 0.0063871201, 0.0254237186, 0.0457800105, 0.0184989125, 0.0229246113, 0.0439213403, 0.0571187064, 0.0302382838, -0.03836523, 0.0414475426, 0.0206310861, 0.0108281588, -0.0098774228, 0.0216983687, -0.0156522412, 0.0283463411, 0.02808805, 0.0590863191, -0.0223997757, -0.020838853, 0.0273771882, 0.0142517192, 0.0147404838, 0.0262952596, -0.0329717919, 0.0085726418, -0.0323400609, 0.027378682, 0.0243926942, 0.0228646249, -0.0210426543, -0.0488448143, 0.0001525013, -0.0044381828, 0.0141220735, 0.0367632173, 0.0160671305, 0.0652262047, -0.0569563657, 0.029135298, 0.0191010274, -0.0499453507, 0.0016439063, -0.0620167032, 0.067693308, 0.018276494, 0.0527302064, -0.0719946101, -0.0275974441, -0.030742988, 0.0547761358, 0.022341853, 0.0523773991, -0.0590363555, -0.0304857921, -0.0242097583, -0.0291412026, -0.0343030803, 0.0104419636, -0.0168212503, 0.0486381464, -0.0244497955, 0.0053721992, -0.0439599529, 0.0073148245, 0.0374201573, -0.046667859, -0.0323547609, 0.0033920496, 0.0114944223, 0.0259261634, -0.00847138, 0.0150842201, 0.0087475646, 0.042584978, -0.0410007387, 0.0207387023, 0.0086729778, -0.0519438908, -0.106818445, 0.019824788, -0.0143572539, -0.0323233865, 0.0060146921, -0.0659960508, -0.0280231405, -0.0210991316, -0.0155668724, 0.0239142217, -0.0319808424, -0.0083989296, -0.0027682132, -0.0338385887, -0.0396632254, 0.0887618512, 0.0161397178, 0.0009424352, 0.0739538893, 0.0389546081, -0.0189982783, -0.0350048356, 0.0070569399, -0.0147328274, -0.029721804, -0.0049001435, 0.0117866676, 0.0262030251, -0.0729016811, 0.0038144963, -0.0711801872, 0.0308191646, -0.051431492, 0.0046417899, 0.0239892732, 0.0254835151, -0.0241109896, -0.0131899193, -0.0470090546, -0.0467694849, 0.0047066342, 0.0055373549, 0.0324121788, 0.0334281698, 0.0117967641, -0.0201012697, 0.0057968954, -0.0169522911, 0.0771280974, -0.019533908, 0.05550199, -0.031703297, 0.0338619277, 0.0208757799, -0.0061353473, -0.0116974562, 0.0342832059, 0.0223951936, -0.0233816989, 0.0710003376, 0.0669182986, 0.0089783585, 0.0547887459, 0.0166509822, 0.0167254042, -0.0712063834, 0.0173939746, -0.0323271044, 0.0154330106, -0.0084810052, -0.039389994, 0.0108862622, 0.0205873512, -0.0023036981, -0.0084422091, -0.0339063108, 0.0471816696, -0.0041083056, 0.0035313882, -0.0807553753, -0.0348486677, -0.0122863045, 0.0300748497, -0.0277722757, -0.0525855273, 0.094985202, -0.0019020709, 0.0150068896, -0.0606467687, 0.009219937, -0.0495084152, 0.0938646942, -0.013703987, -0.0090589449, -0.0262329653, -0.0263435226, -0.0509251952, -0.0011572834, 0.0115064345, -0.0366012827, 0.0543997474, -0.0610936061, -0.0246845856, -0.0081473906, -0.0346491858, -0.0702578798, -0.0418099128, -0.0003335731, 0.0299465917, -0.0193655323, 0.0305615794, -0.0076632779, -0.0248513333, 0.0250568483, 0.0582711399, -0.0171242747, -0.0065914718, -0.0382138751, 0.0176703185, 0.0587989204, 0.0186076984, 0.0152466502, -0.0497341678, 0.0414047576, 0.0529710315, 0.0790943578, -0.0129063455, -0.0029233727, 0.0150603158, -0.0083540361, -0.0408847779, 0.0411150008, 0.0506804176, 0.0536781773, -0.0613460913, -0.0284045525, 0.1040961966, 0.0523646362, -0.0471275598, 0.0067961784, -0.0101666292, 0.0200201683, 0.0268711448, 0.0472007282, -0.0491322987, -0.0268823355, 0.0203258675, 0.028708037, -0.0042861775, -0.0247410331, -0.0205976702, -0.1378691047, 0.0316752307, -0.0112838633, -0.0404740162, -0.0084147668, -0.0614377894, 0.0416606776, -0.0033395146, 0.0180350989, 0.0464782901, -0.0108384648, 0.0005763425, 0.0045897337, 0.0160712935, -0.0557240695, 0.0156939086, -0.0068165935, 0.0021530236, 0.0307946783, -0.0152475936, 0.003695999, -0.0364955217, 0.0264015719, 0.0164653733, 0.0017612785, -0.0186273213, 0.0585547462, 0.0123893498, 0.0197822191, 0.0059050634, 0.0861095116, -0.0413084365, -0.0488170646, 0.0329844579, 0.0752502829, -0.0104423678, 0.0170315281, -0.0267184004, -0.0264395252, 0.0531359166, 0.0756434724, 0.0581652522, -0.0279395394, -0.0094255609, -0.0074168118, -0.0069895559, -0.0082805539, 0.0109561449, -0.0345551372, 0.025375627, 0.0363786928, -0.0555334315, -0.0199685693, 0.0640470907, 0.0662598163, 0.0173113644, -0.0097695794, -0.0339094549, 0.0171982553, -0.0308324657, 0.0570684597, -0.027158834, 0.0252198987, -0.030774815, 0.0011371406, 0.0153471278, -0.0329552554, -0.0392051637, 0.0007326819, -0.0485139862, -0.0445569381, -0.0223036353, 0.0362149365, 0.0257140826, 0.0662565604, -0.0011664284, -0.0082467413, 0.0374515504, 0.032507576, -0.0096381735, -0.0352544561, 0.0102961399, -0.0281414241, -0.0133407237, 0.0320486128, -0.0291338582, 0.0101258783, -0.0205451474, 0.0387993418, -0.0274973307, -0.0543426834, 0.0392495506, 0.0038954327, 0.0054842699, 0.0084111569, -0.0625411794, -0.0401837528, 0.0391047336, 0.001002916, -0.0479727015, -0.0184346028, 0.0384718888, -0.0479174294, -0.0248394161, 0.024208799, -0.0192367546, -0.015556586, 0.0534821972, -0.0309650134, 0.0075597037, 0.0266404264, -0.0124573493, 0.0220459271, -0.0076057166, -0.0254024584, -0.01786891, -0.0256048068, 0.0460306965, -0.0229315907, 0.072070539, 0.0504758209, 0.0093530845, -0.0135925161, 0.0241692029, -0.0606587902, -0.0277610887, -0.0224892907, 0.0422114395, 0.0020748361, -0.0249228887, -0.022480024, -0.0351379067, -0.0223688837, 0.0038251921, 0.0049615121, 0.0093936212, -0.0463190973, 0.0252923593, 0.053611163, 0.0167526379, -0.00313843, 0.0592659377, -0.0638634861, 0.0285820812, -0.0027528452, 0.0307119489, -0.0695844069, -0.0096849501, 0.0562332645, 0.0462871715, -0.0012236711, -0.0082471771, -0.0754217505, -0.0624352172, 0.007736939, 0.029367622, -0.0294641424, 0.006108752, 0.0685023963, 0.0660650581, 0.0069966568, -0.0104363319, -0.0142262084, 0.016414497, 0.0002149759, -0.051653713, -0.0180692393, -5.680277067e-33, -0.0325327031, -0.0324407779, 0.0377027541, 0.0095332973, 0.0054656705, -0.0091189574, -0.0601986535, -0.0058480641, -0.0248492081, 0.0018004235, -0.0448468328, -0.0183559489, 0.0059199901, 0.0265286211, -0.0173802115, -0.0260338318, 0.0292838663, -0.0027831399, -0.0519589707, 0.0488407277, -0.0047851144, -0.0086510237, 0.0042041573, -0.0408615544, 0.0410933159, -0.0185086317, -0.0224635359, 0.0465075858, -0.0644326061, 0.0555357262, -0.0071146083, 0.0255471747, 0.0092930906, -0.0609200113, -0.0149531364, 0.0506355874, -0.0537493005, -0.0489492789, 0.0129723754, -0.0270543806, -0.0949681103, -0.0267891996, 0.0026777922, -0.0185922366, 0.0255410224, -0.0299849473, 0.0328722149, -0.01887911, -0.018207714, -0.0184284989, -0.0444892868, 0.0155826965, -0.0141097037, -0.0552649684, 0.015119385, 0.0553687252, 0.0153595814, -0.002644514, -0.0194779895, 0.0384711549, 0.0271714162, 0.0007402474, 0.0621930808, -0.0040964568, -0.0027041284, 0.0513228588, -0.0336522274, 0.0279802103, 0.0231878534, -0.0330702066, 0.0105955321, 0.0422129929, 0.0303736124, 0.0549715459, 0.0532831512, 0.0143741788, -0.0320373029, 0.0461187437, 0.0658702254, -0.0178535823, 0.0267424807, -0.0267932341, -0.0325510576, -0.0106733562, -0.074813731, 0.0359742269, -0.0230503585, -0.0271115638, 0.0310087465, 0.0257543214, -0.0485128313, -0.0223661009, 0.0233118404, -0.0297272298, -0.0153849972, 0.0381423533, 0.0002120931, 0.0119574843, 0.0093017248, 0.0033351828, -0.0297322981, -0.0281204507, 0.0168245938, -0.01457165, 0.0177219138, 0.0182218682, 0.0406753533, 0.0315511934, -0.0573698059, 0.0215781443, -0.0233603045, 0.0333260186, -0.0033323565, -0.0293536875, 0.028394958, 0.0300160702, -0.0143901818, 0.0326379053, 0.0251950603, -0.0704072043, -0.0556344762, 0.0161981098, -0.0424054787, -0.001035949, -0.0074116699, -0.0228767022, 0.00131772, 0.0442226492, 0.0375988074, -0.0218911488, 0.0040983297, 0.0203419887, 2.651e-7, 0.0191310029, 0.0201562103, 0.0264737587, 0.0496382527, 0.011429375, 0.0100435345, -0.0237068459, 0.0024466722, 0.0377003476, -0.0449033305, 0.0246896595, 0.0327258632, 0.0536691509, 0.0604626797, -0.107018359, -0.0285508074, -0.0343826264, -0.003182505, -0.0564452596, -0.0032089876, 0.0899664387, 0.0728780627, 0.0081706997, -0.0216258224, -0.0255150683, -0.0187737532, 0.0156132486, -0.031280987, 0.0098189572, 0.0360575393, -0.0269101188, -0.0060371286, 0.0190648027, 0.0495901667, -0.0077261217, 0.0072194464, -0.0303204209, 0.0430914462, 0.0417799614, -0.0455593951, -0.0139950132, -0.0180256628, 0.0224627927, -0.0590061657, 0.06364315, -0.0648116022, 0.0124351364, -0.0059181857, 0.0075944951, -0.0301852636, -0.0132920668, 0.0031067762, 0.0024495977, 0.0239301641, -0.0152538083, 0.010842721, 0.0092951637, -0.0616750978, -0.036699824, 0.002607269, -0.0470516719, -0.0365468375, -0.0206164606, -0.0092340782, -0.0234528817, -0.0517769046, 0.0038547472, 3.134410457e-34, 0.0217869002, -0.0027939961, 0.0063234037, 0.0562115386, 0.0164776277, -0.0383077376, 0.0122043183, 0.0147903562, 0.041390188, -0.0720371231, -0.02901203 ]
http://arxiv.org/abs/2406.10873v1
http://arxiv.org/pdf/2406.10873v1
Optimizing Automatic Speech Assessment: W-RankSim Regularization and Hybrid Feature Fusion Strategies
2024-06-16T09:55:21
2024-06-16T09:55:21
Chung-Wen Wu, Berlin Chen
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS
Automatic Speech Assessment (ASA) has seen notable advancements with the utilization of self-supervised features (SSL) in recent research. However, a key challenge in ASA lies in the imbalanced distribution of data, particularly evident in English test datasets. To address this challenge, we approach ASA as an ordinal classification task, introducing Weighted Vectors Ranking Similarity (W-RankSim) as a novel regularization technique. W-RankSim encourages closer proximity of weighted vectors in the output layer for similar classes, implying that feature vectors with similar labels would be gradually nudged closer to each other as they converge towards corresponding weighted vectors. Extensive experimental evaluations confirm the effectiveness of our approach in improving ordinal classification performance for ASA. Furthermore, we propose a hybrid model that combines SSL and handcrafted features, showcasing how the inclusion of handcrafted features enhances performance in an ASA system.
[ -0.0355083607, 0.041736003, 0.0072519095, 0.01329148, -0.0029018703, -0.0096604899, 0.0541941859, -0.0277432874, 0.0191022176, -0.0266771801, -0.0467039011, -0.0088280682, 0.036634963, -0.0276241861, -0.0259855799, -0.0211950783, -0.0224766508, -0.0236589331, 0.0015746722, -0.037615519, 0.0160838049, -0.0188922882, -0.0548526868, 0.0227410011, 0.0069293305, 0.0359666944, -0.0177093744, -0.0227850284, 0.0508737788, 0.0050429124, -0.0024728556, 0.0978355855, -0.0086853933, 0.0119243711, 0.0000020101, -0.0599470884, 0.0224492475, -0.0119475899, -0.0107935835, -0.0016117789, -0.0140397176, 0.0492671691, -0.0325605795, 0.042573221, -0.0332281888, -0.0312050022, 0.0155062145, 0.0132126538, 0.0672499835, 0.0085303048, 0.0011380641, -0.0500655994, 0.0072545079, -0.0021228334, -0.0489039086, -0.0133432215, -0.0162529442, -0.0132998833, -0.015047417, -0.0043230876, 0.0052243597, 0.0389347039, 0.0020741744, 0.0329879783, 0.096860379, 0.0120009948, -0.0602755062, 0.0167751573, -0.0072460901, 0.0606533028, -0.0230575651, -0.0105928574, 0.0084200371, -0.0184481777, 0.0066095786, -0.0274580233, -0.006377968, -0.0037342149, 0.0387310013, -0.0093852906, 0.0133402729, 0.058757253, -0.0366081074, -0.0210434198, -0.0026079193, 0.0410560332, -0.0170367174, -0.0546188019, -0.0021377965, -0.0016191383, 0.0157896243, 0.0043935077, 0.0174893383, 0.0224922504, 0.0030434628, -0.0290596746, 0.0053517553, -0.0398003422, 0.0084809419, -0.0559931435, 0.0268594101, 0.0116791595, -0.0886985138, 0.0128050037, -0.0144851264, 0.0720627904, 0.0890035108, 0.0450907871, -0.0438057669, 0.0568659529, -0.067789115, -0.0002536392, -0.028610602, 0.0550143905, 0.0355305262, 0.0398189761, -0.079577677, -0.0416583605, -0.0726948977, 0.0132376188, 0.0658617839, 0.0310909115, 0.005277554, 0.0181404073, -0.0089330571, 0.0562113039, -0.0061438894, 0.0243776869, -0.0180997327, -0.0085992329, 0.0497597307, -0.0211731531, 0.0331207067, 0.0250181872, 0.0433096364, 0.024864519, -0.0323549099, -0.0332409181, -0.0010384169, 0.01266798, -0.0252053998, -0.0302302111, -0.0456268899, -0.0584367886, 0.0379220843, -0.0048246766, 0.0037687586, -0.0153512238, -0.0126726208, -0.0152229005, 0.0500938185, 0.0232343674, 0.0069756694, 0.0245915502, 0.0291217305, -0.0005143807, 0.0335820355, 0.0206353925, 0.0254570954, -0.0333433785, 0.0096878521, -0.0315512717, -0.0191382859, 0.0468501039, -0.0286643375, -0.0145450588, -0.0263868403, -0.0300421324, -0.0503013842, 0.0573825091, 0.0471109115, 0.0260646828, 0.0354149602, -0.043069493, 0.0416689664, 0.049250599, 0.0428075977, 0.0050954637, -0.0107724257, 0.0266905967, 0.0212894715, 0.0595270731, -0.0058759218, 0.0020705829, -0.0268783178, -0.0083339112, 0.0278335735, 0.0699748099, -0.0255274978, -0.076960206, 0.0034910957, -0.0224740636, -0.0118189426, 0.0421208479, 0.0236865804, 0.0012128697, 0.0279215239, -0.0153908422, 0.0125782862, -0.073744081, 0.0212890636, -0.0752444118, -0.0107655246, 0.0778646171, 0.0218724534, -0.038514439, -0.0085448734, 0.0111814523, -0.0511774532, -0.0108440435, 0.0140962023, -0.0227248091, 0.0425445884, -0.0347656086, -0.0468406528, 0.0801877603, -0.0254139416, 0.0465396792, -0.0945752859, 0.0002952726, 0.014865132, -0.0308149531, -0.0415583774, -0.0035274918, 0.0375481434, -0.062730588, 0.0725649893, 0.0442791991, 0.0402157158, 0.0625218302, -0.008352723, 0.0043820259, 0.0286745671, -0.0446991362, -0.0218830351, -0.0123063531, -0.0658983961, -0.0211446006, 0.0465036221, 0.0011539857, 0.0339125246, 0.0808865651, -0.0175317917, -0.0769811049, 0.0116237784, 0.0012403885, -0.009690403, -0.0328926519, 0.0324398465, -0.000122957, -0.0197122656, -0.0395234674, 0.0363594331, 0.029945381, 0.0184787214, -0.0261525624, -0.0481787771, 0.0262133423, -0.0200622063, -0.0532234088, -0.0225514956, -0.0336331539, 0.0726178512, 0.0349814743, 0.0023970886, -0.0174863376, -0.0048131454, -0.1140539944, -0.008996347, -0.0207076333, -0.0065249954, -0.0200081356, 0.0032051853, 0.0038846091, -0.0284745265, -0.0728944242, -0.0803423151, 0.0252778698, -0.0010224752, -0.0287021473, 0.0158081185, -0.0022879262, -0.0222106446, -0.0298904032, -0.0138899302, -0.0215206649, -0.005503892, 0.0450349338, -0.0329779759, 0.0159047637, -0.0569781214, 0.0236352552, 0.033512, -0.0217145309, -0.0178834926, -0.0028020316, 0.020156594, 0.0449003205, 0.0171856955, -0.0501014441, 0.0837290734, -0.0043290202, -0.0211827755, 0.0039020418, 0.0035669946, 0.0270372275, 0.0155840423, 0.0532631613, -0.069871746, 0.0195170511, 0.0582278594, -0.0037455237, -0.0241108034, -0.0141515825, -0.0070039751, -0.0284611993, -0.0647522211, -0.0155364238, -0.032490626, 0.0010113029, 0.0199420955, -0.0228251405, 0.0395586975, -0.039933648, 0.0070098015, -0.064435184, -0.0562509932, -0.0342499763, -0.0065152752, -0.0023948785, 0.0006709556, -0.0533441603, 0.0123240268, -0.0450101011, 0.0198512208, 0.0366644822, -0.07185065, 0.0160658695, 0.0041463175, -0.0096409712, -0.0105517935, -0.0542549789, -0.0352730006, -0.0262651034, -0.0360761359, 0.0151998419, -0.0241967086, 0.0041298764, -0.0011403544, 0.0134969661, -0.0164239574, 0.0469488464, -0.025989309, 0.03371251, 0.0068133068, 0.0767979398, 0.0024282699, 0.0465215147, -0.0246670097, 0.0577892922, 0.0583395101, -0.0013134556, 0.1130968183, -0.0132759707, -0.0458008796, 0.0074125738, 0.0316966288, -0.0239854939, -0.0096579129, 0.0472591482, -0.0105929906, -0.0466985852, 0.0582587309, 0.1041742861, 0.0313814133, -0.0295283422, -0.0031604925, -0.0090936096, 0.0289990176, 0.0154976053, 0.0157091338, -0.0091673527, -0.0078553809, -0.0030100527, 0.0247927159, -0.0178341512, -0.0113365687, 0.0524132662, -0.0941926539, 0.0409461185, 0.0100791315, -0.0296663623, 0.0148277022, -0.043128375, 0.0204387829, -0.0396068245, 0.0031356185, -0.0056546326, -0.0152593153, -0.0278445184, 0.0483479127, -0.0724143311, -0.045433376, 0.0963791683, -0.0257676393, 0.0491652638, 0.0147484737, 0.0220473986, -0.0368717313, -0.1076984182, -0.0171556883, -0.0410293862, -0.0024660849, -0.0008862498, 0.0216030385, 0.0091915037, -0.0092760958, -0.0277114995, 0.0158763546, 0.0398782529, 0.0168094654, 0.018782882, 0.0340210013, -0.0281561445, 0.0149433259, -0.0071037593, 0.0277363956, -0.0376355313, 0.0231381096, -0.0134778963, -0.0382667556, 0.014034804, 0.0404226333, 0.0664937571, -0.0129375579, -0.0739620551, 0.0624453984, 0.0440072902, -0.0526670367, -0.0309915971, -0.0238408577, -0.0068722148, 0.0075221695, 0.0071363249, -0.0209113527, -0.044575993, 0.0420086384, -0.0230003614, 0.02112443, 0.0295731332, 0.0426871926, -0.0261049345, -0.0084359283, 0.0437631309, -0.0417701676, -0.0591115355, -0.0219937935, -0.0195305552, -0.0207633022, 0.0356957205, 0.0356015712, -0.0005857755, -0.0126572195, 0.0095532658, -0.0425733887, 0.0701105148, 0.0448830053, -0.039256826, 0.0195271689, 0.0532904193, -0.057077013, -0.0371022858, 0.0033699449, -0.0590407848, 0.0276592076, -0.0630435869, -0.0051882509, -0.0108771054, -0.0829135552, -0.0140040359, 0.0058271242, 0.0879462659, 0.007899967, -0.0043948409, -0.0438996665, 0.0443202369, 0.0177336242, 0.0199228991, 0.0181232095, -0.0031518212, -0.0045808004, 0.0365614034, 0.0004777008, 0.0124235349, -0.0394830629, -0.0116363131, -0.0164440647, 0.0407139957, -0.0096285809, 0.0048240568, -0.0576243065, 0.0197298825, -0.0127592646, 0.0175357927, 0.0906855017, 0.0148692131, 0.014423701, -0.0048889993, -0.0057970402, 0.0417219251, -0.0138512123, 0.0704571381, -0.0507435799, 0.0042847181, -0.0393699147, -0.0260742921, 0.0208652392, -0.0123643186, 0.0136855133, 0.051459197, 0.0103003606, -0.0412876047, -0.0379660875, -0.029457001, 0.0156356376, 0.0015486191, 0.0184491351, 0.0227089357, 0.0437320136, 0.0464290977, -0.0055584684, -0.003520685, 0.0089626079, 0.0163977221, -0.05581012, -0.0361986756, -0.0030283944, 0.0338507928, -0.01494723, -0.004468231, -0.0337520689, -0.0546147004, 0.0506229475, 0.0258848593, 0.0038277304, -0.0074849897, 0.0300173331, 0.0124720316, -0.0685258657, -0.0059186504, 0.01322148, -0.096511215, -0.0164753385, -0.0108399158, 0.0544808768, -6.14660339e-33, -0.0119632445, -0.0122347604, 0.0051800972, 0.0088445991, 0.0119967209, -0.0113432873, 0.0522340424, 0.0608101226, 0.024292808, 0.0078058871, -0.0127997557, -0.0510519184, 0.0213745795, 0.01138807, 0.0479015671, -0.0085126488, 0.0495774336, -0.0157674402, 0.0111217685, 0.0138701852, 0.0071094707, 0.0016252581, 0.0236743093, -0.0900653899, -0.0211422238, 0.0218505878, -0.0108916005, -0.0339591429, -0.0072024488, 0.050407812, 0.0181442592, 0.0951139927, 0.0329667181, -0.0106095364, 0.0319626816, 0.0150264436, -0.0550801866, -0.0291772, -0.0275001824, 0.0329395421, -0.0109111974, 0.027365813, 0.0014711955, 0.0115279062, -0.0840193555, -0.0783838257, 0.0810954496, -0.0247882996, -0.0002953967, -0.061151363, 0.0034098143, 0.0264600161, -0.0309561919, -0.0346490294, 0.0038040644, 0.0574371517, -0.0270890445, -0.0463470258, -0.0093658129, 0.018606307, 0.0167841166, 0.0519904196, 0.0233930554, 0.0345031954, -0.0474780686, 0.0242798124, 0.0541204661, -0.0573295914, 0.0403459668, -0.0381345749, 0.0314611495, 0.0106082065, 0.0830596313, 0.0049058949, 0.0290385336, 0.0109318038, -0.021418402, 0.0597156323, 0.0057763266, 0.0022632326, -0.0256067477, 0.0388205759, -0.0488075241, -0.0120420409, -0.0411302634, -0.0407848656, -0.0469102412, -0.029522147, 0.0395890921, 0.0078161201, 0.0042395769, 0.0298602991, 0.0183560643, 0.0026930701, -0.0068215639, -0.0032361792, -0.0101011023, -0.0213179328, 0.0049038371, -0.0307098608, -0.011270551, 0.0115571842, 0.0481157675, 0.013907752, 0.0064725308, -0.0244507249, -0.0061813588, 0.0342821367, -0.039287623, -0.0064111603, 0.028721204, 0.0081985118, -0.0401785448, 0.039873153, -0.0079196207, 0.0126288049, -0.0030748541, 0.0902929753, -0.034337759, 0.0055279476, -0.057547152, -0.0102242157, -0.0008211637, 0.007535934, -0.0082808379, 0.019788349, 0.0091375373, -0.0303160213, 0.0000015686, -0.0187737811, 0.0107187815, -0.0222472958, 2.745e-7, -0.0359645411, 0.006514864, -0.0140826674, -0.0800155997, -0.0385938212, 0.0232398584, -0.0285048559, 0.0190641321, 0.033972621, 0.0193974841, 0.0423576608, 0.0179662071, 0.0404992253, 0.053641554, -0.0720332488, -0.0233726073, -0.0718338117, -0.0110658444, -0.0231988113, 0.0289393775, 0.0654396936, 0.0781392157, -0.0033756883, -0.0738503486, -0.0034619095, -0.0013813738, -0.0158872344, 0.0483109765, -0.004672213, -0.0239588749, 0.061865814, 0.0052530169, 0.0280715059, 0.0416064374, -0.0250510909, 0.0340046845, 0.0342885815, -0.0021786438, -0.0293881707, -0.0522614457, 0.0214046091, 0.09637063, -0.0078029218, 0.0136075458, 0.0593061671, -0.0001699851, -0.0154243633, 0.0128011107, -0.028608745, -0.0127678551, 0.0503366068, 0.0017282519, -0.0183150899, 0.0161465406, 0.0113799544, -0.0287075173, -0.0154430019, -0.0478994362, 0.0195285454, 0.0447526015, -0.0626242384, -0.0553984158, 0.0121865915, 0.0175504629, 0.0028375355, -0.0130054392, -0.0222132877, 1.94901096e-34, 0.0207186658, 0.0078045065, 0.0139102051, -0.0253002271, -0.0226207729, -0.0162038524, -0.0087053441, -0.0032813873, 0.0277257636, -0.061719168, -0.009201901 ]
http://arxiv.org/abs/2406.10870v1
http://arxiv.org/pdf/2406.10870v1
COOL: Comprehensive Knowledge Enhanced Prompt Learning for Domain Adaptive Few-shot Fake News Detection
2024-06-16T09:41:25
2024-06-16T09:41:25
Yi Ouyang, Peng Wu, Li Pan
cs.CL
cs.CL
Most Fake News Detection (FND) methods often struggle with data scarcity for emerging news domain. Recently, prompt learning based on Pre-trained Language Models (PLM) has emerged as a promising approach in domain adaptive few-shot learning, since it greatly reduces the need for labeled data by bridging the gap between pre-training and downstream task. Furthermore, external knowledge is also helpful in verifying emerging news, as emerging news often involves timely knowledge that may not be contained in the PLM's outdated prior knowledge. To this end, we propose COOL, a Comprehensive knOwledge enhanced prOmpt Learning method for domain adaptive few-shot FND. Specifically, we propose a comprehensive knowledge extraction module to extract both structured and unstructured knowledge that are positively or negatively correlated with news from external sources, and adopt an adversarial contrastive enhanced hybrid prompt learning strategy to model the domain-invariant news-knowledge interaction pattern for FND. Experimental results demonstrate the superiority of COOL over various state-of-the-arts.
[ 0.0578423999, 0.0211864691, 0.0038724819, 0.0652285516, -0.0441626832, 0.0191923957, 0.0141774742, 0.0198135991, 0.0307589807, -0.0434267074, -0.0367868543, -0.0118054291, -0.0212924648, 0.0440737344, 0.013317816, -0.0152843455, 0.0789839923, 0.0151533009, 0.0891238004, -0.0001198558, 0.044998534, 0.0347132795, -0.0278353933, -0.0095104687, 0.0032455826, -0.0161627941, -0.0013306381, -0.0049590981, 0.0397012457, -0.0251228083, 0.0092469947, 0.0471785739, 0.0292838905, 0.0743966699, 0.0000019253, -0.0477948971, -0.0140298493, -0.005139871, -0.0426874869, -0.0074419589, 0.0408807695, -0.0671001822, -0.018042542, -0.0170914475, -0.0387459993, -0.0580067486, -0.0114342775, 0.067559205, 0.0596217662, 0.1136313006, -0.0176967774, 0.0155763691, 0.0117003033, -0.0434994847, -0.0006498771, -0.0490517318, 0.0685803741, -0.0414495021, -0.0124484887, 0.0605873466, 0.0261326917, 0.0107806046, 0.0184559152, -0.0006676606, -0.054254774, 0.0225911029, 0.009162155, -0.0247505195, -0.0255597308, 0.0500951633, -0.0476651266, -0.038230855, 0.0135724191, -0.039141722, 0.0228551012, 0.0548973791, -0.0032847016, -0.0000282241, -0.0363228209, -0.0003397183, -0.0010731841, -0.0053266063, 0.0123606417, 0.037781328, 0.0211210437, 0.0325878151, -0.0025328908, -0.027285872, -0.0022969139, -0.0137314228, -0.0151317259, -0.0613739267, 0.0061665806, 0.0119536212, -0.0002002081, -0.0068494929, -0.0836239159, -0.0434562154, 0.0185755379, -0.0649812371, -0.0119352462, -0.012729275, -0.0482464619, 0.0625043958, -0.0298156533, -0.0017241867, -0.007878447, 0.0248886235, -0.0182589125, 0.0121457912, 0.00933317, 0.0071680867, -0.0178504549, 0.0469386503, -0.0283049401, -0.0124326693, -0.0114935767, 0.0192769561, 0.0096797375, 0.0343413763, -0.0272420701, -0.0230525155, -0.0172285102, -0.0369607657, -0.0048285103, 0.0206462834, -0.0145214936, 0.0381821468, -0.0012603059, -0.0234817583, -0.039437104, 0.014480819, -0.0140390592, -0.0003967368, -0.0180586204, -0.0006536349, -0.0075231525, -0.009578906, -0.0630611554, -0.0284244474, -0.0147330025, -0.0212934352, 0.0093441587, -0.0404442921, 0.0024798361, -0.0342179202, -0.0195432231, -0.040011704, -0.021172788, -0.0017223937, -0.0405801684, 0.0477471985, -0.0347196683, -0.0292307138, 0.0205853377, 0.0281325076, 0.0144519806, 0.1020589843, -0.0351403542, 0.0860681981, 0.0494704507, 0.0470762998, -0.0124477232, 0.0289252587, 0.0951961577, 0.0059784115, -0.0015863264, 0.0097923651, 0.0210733991, -0.0196403861, 0.008615233, -0.0124482261, -0.0061338604, -0.0338043757, 0.0667490959, -0.0464487709, 0.0000921114, -0.0485352166, 0.0710003376, 0.0524292961, 0.0025869426, 0.033363793, -0.0489439704, 0.0133865997, -0.0998128578, -0.0089793149, -0.0328447744, 0.0495565198, -0.0251149908, 0.0013973236, 0.02049377, -0.0094178729, -0.0318118073, 0.0056046117, 0.0285917185, 0.053581655, -0.0490230247, -0.0035107513, 0.0284599047, 0.0444511399, -0.0154166408, -0.0519933365, 0.0523490235, 0.0066940398, 0.0151268952, -0.0112050418, -0.0034940848, -0.0226584151, 0.0382385999, 0.0316050984, 0.015796788, -0.0221228879, -0.0083266329, 0.0017491704, -0.0372303165, -0.0395170376, 0.0158929247, 0.0247670487, 0.0155803747, 0.053025309, 0.0239347331, 0.0203776378, -0.002195264, 0.0190681294, -0.0234338436, -0.0445544682, -0.0062622614, 0.0340371132, 0.0118682068, 0.0120210359, 0.0038970674, -0.0204847585, 0.0476950966, 0.0100437598, -0.0335900076, -0.0346178599, -0.0373188592, -0.0983943269, -0.0060631242, 0.0159417856, -0.0272638537, 0.0331895426, -0.0357644297, 0.0189089887, 0.0023903227, 0.0284251869, 0.0097655514, -0.0545076914, -0.0405817851, -0.0007776696, 0.0270131584, 0.0170114618, 0.0854283795, -0.0190429203, -0.0141926026, 0.0438848101, 0.0230530612, -0.0211298112, 0.0207845904, -0.0117905922, -0.0093067884, -0.0323507525, -0.00946189, 0.0229487326, -0.0052889562, -0.0087944819, 0.0047138273, -0.0097681656, -0.0071789389, -0.0378145911, -0.0037941968, 0.0440417305, 0.0047617462, -0.0110494932, -0.0112955961, -0.0225501209, -0.0008432663, -0.0015566384, 0.0221352167, -0.0098084807, 0.0173958205, 0.0387697704, -0.0102830492, 0.0369886756, -0.0012157692, 0.0489512496, 0.0109767225, -0.0454115905, -0.0351734869, 0.0177689958, -0.0075243576, 0.0203578062, -0.049324479, -0.0043514036, -0.0091361944, -0.0001419922, -0.0072335149, 0.0403935015, 0.0437375531, 0.0351032391, -0.0141652999, 0.0159872137, -0.0276010372, -0.0091435499, -0.0369630754, 0.0404305123, -0.0096013378, 0.0078049786, 0.046199929, 0.042104952, 0.0292933304, 0.0109350337, -0.0079265134, 0.0535878353, 0.0223044939, -0.0317639112, -0.0077865529, -0.0318217203, -0.0040225312, -0.0075938995, -0.0531398691, -0.006010558, 0.1113547906, -0.0183661431, 0.0456270501, -0.0226005688, -0.032705877, 0.0067917025, -0.0161380842, -0.0107368007, -0.0038155382, 0.0484916009, 0.0038326161, -0.0262590293, -0.0386074409, 0.0475641489, -0.010885301, -0.0117781982, -0.015720468, 0.0251947753, 0.0187684391, -0.0136223016, -0.0853726417, -0.1181304082, 0.0117492313, -0.0258609019, -0.0092969453, 0.0066725435, -0.0247622877, -0.003510813, 0.0221488029, 0.0579319298, -0.035230469, 0.0159820076, 0.0092835128, 0.0784059316, 0.066545561, -0.0186440777, 0.0190411266, -0.0019110224, 0.0321638584, 0.0675740093, -0.0163217261, -0.003887184, -0.0058629862, -0.0190153178, -0.0062513473, 0.0069578523, 0.0228652637, -0.0016368837, -0.0025958722, -0.0278824326, 0.0133127104, 0.0906797647, 0.0095081879, -0.0254374072, -0.0118571641, 0.0437939279, -0.0388809219, 0.0085227713, -0.0102504026, -0.0750347972, -0.028104065, -0.0074657882, 0.0011546751, -0.0311335772, -0.0276064742, -0.0359173268, -0.106671527, -0.0132677397, -0.0023740192, -0.0505386554, -0.0032056177, -0.0568899028, 0.0014556635, 0.0309316553, -0.004168788, 0.0048379414, 0.0287766363, -0.0067520593, -0.025445167, 0.0134503199, -0.0850957111, 0.0001822476, -0.0056069125, 0.0471101291, 0.042023506, 0.0076317275, -0.0004925723, -0.0255436823, -0.0136210453, -0.0335022323, -0.0063233343, -0.0134760868, 0.061268121, -0.0643757507, -0.0117169498, -0.0216867011, 0.0513874032, 0.0204220414, -0.020562578, 0.0038085622, 0.0300667863, 0.0077726142, -0.0551301129, -0.0380957425, 0.0324229002, 0.0661669001, 0.0521571226, 0.0108852219, -0.0280264616, 0.0337846205, 0.0097551588, -0.030959351, -0.0195241719, -0.068869032, 0.0393098593, -0.0158442669, -0.0314794965, -0.0475593545, -0.0314960703, 0.0082350811, 0.026778562, -0.0303671192, -0.0081331488, -0.0002172238, -0.0193526931, -0.0373031795, -0.0105540259, -0.012811414, 0.0136049809, -0.0042777508, 0.0022707568, 0.027771635, -0.0326465629, -0.0217262637, 0.0448847823, -0.0925253481, -0.0394365937, 0.0020461988, 0.0474408716, 0.0030719978, 0.0556923822, -0.0439991392, -0.0106702009, 0.0863663182, 0.0862782672, -0.0386842005, 0.0035360192, 0.0247403178, -0.0347679928, 0.0424069576, 0.0157067385, -0.0373410434, 0.0635909066, 0.0636964589, -0.049458731, -0.0324137732, 0.0017478816, 0.0345450565, 0.0151797151, 0.0902169049, 0.0038724926, -0.0178178567, -0.0432934947, -0.0301071871, -0.0340520591, -0.0304283537, -0.0139786182, 0.0345428884, 0.01185128, 0.0012738338, 0.004101214, 0.024860967, -0.0131345978, 0.0522589721, -0.0615665205, -0.0526279807, 0.0249133185, 0.055440709, 0.0165141691, 0.0037139936, -0.0231281053, 0.0407332033, 0.0338187516, 0.012562532, -0.0271070767, 0.0287638307, 0.0342859067, -0.0304077379, 0.0407268181, -0.0067398488, -0.0376286767, 0.0092096347, -0.0665472448, 0.0554170869, 0.018221572, -0.0128635857, -0.0131307496, -0.0063559874, 0.0056641395, -0.0009120182, -0.0032908637, 0.0088207573, -0.0548093133, 0.0159083866, 0.0084386207, -0.0310826432, 0.0607072785, 0.0662657171, -0.0197394099, 0.0474440753, 0.0279142316, -0.0335589759, -0.05363914, 0.0129139917, 0.0365376696, 0.0376493856, -0.0333756804, 0.0104319267, -0.0715788752, -0.0314987749, -0.0070256651, -0.0188123938, -0.0254665092, 0.0661491677, 0.0033461184, 0.0812046528, -0.0069664079, 0.0118753994, -0.0064753662, 0.0198567547, -0.0132538099, -0.0710847527, 0.0526348203, -6.473398166e-33, -0.0046933773, -0.0202201791, -0.0246445276, -0.0448928215, 0.0207115356, 0.0498900712, 0.0018316167, -0.0480303876, -0.0389056467, 0.0418358445, 0.0186045058, 0.0197163224, -0.0227276478, 0.0138539774, -0.0861683413, -0.0185527243, 0.0630311519, -0.0086333835, -0.0306100491, 0.0250465479, 0.0641169921, 0.0416840054, 0.0473209061, -0.0363346636, 0.0400918312, -0.0220713615, -0.0481798239, 0.0017239808, 0.0200989842, 0.0265172329, -0.0047255028, 0.0148731386, 0.0239365529, -0.0575196221, -0.0170120578, 0.0298319887, -0.0604548343, -0.0502480157, 0.0355020612, -0.0147063574, -0.0235190429, 0.0136017967, 0.0311549623, -0.0236801002, 0.0072762785, 0.0074538658, 0.0125720762, -0.0359102041, -0.0001212336, -0.0210997202, -0.0453207344, 0.000824068, 0.0187068135, -0.0155431088, -0.010644285, 0.0637696981, 0.0252211131, 0.0307119023, -0.0998345912, 0.0027452663, -0.0272245444, 0.0296672545, 0.0240626466, -0.0333485417, -0.0285422746, 0.0563575216, 0.0028753791, 0.0220882297, -0.021362951, 0.0199850015, 0.0391683504, 0.0246385839, 0.0259988382, 0.1223064736, 0.0335872658, -0.0715151578, -0.091064252, 0.0394780003, 0.055017218, -0.0269997157, -0.0089668212, -0.0374598019, -0.0122285048, 0.020169761, 0.0083870031, -0.0131784827, -0.0195158496, -0.0258178636, -0.0006137177, 0.0525714271, -0.0426814035, 0.0411365293, 0.0292935334, -0.043387346, 0.0069334409, 0.0485180877, -0.0597850569, -0.0215085074, 0.0063616084, 0.0530369282, -0.0874914899, -0.0014413677, 0.0636977777, 0.0154522611, -0.0274819471, -0.0063385633, 0.0669282302, 0.028548263, -0.0544957221, 0.0122654038, 0.0001297989, 0.0555665679, 0.0166089013, -0.0240147319, 0.0264669321, -0.0036869855, -0.0299684647, 0.0220661946, -0.0103815934, -0.0612213314, 0.0127185872, 0.0407390147, -0.0420180671, 0.0321638063, -0.012174733, -0.0297614876, -0.0042595523, 0.0068784789, -0.0112523437, -0.0978002995, 0.0171177238, 0.0158988256, 2.812e-7, -0.0432870872, 0.026482407, -0.0217633788, 0.0056378911, 0.014500632, 0.056215819, 0.011038023, 0.0397368185, -0.0021753914, -0.0812592432, -0.016920628, 0.0172995497, -0.0048571941, 0.0300486963, -0.1016054004, 0.0037456152, -0.0528763011, -0.0228457563, -0.0560974516, -0.0354414396, 0.0207204893, 0.0827569366, 0.0481149182, -0.0051797568, 0.0185357593, -0.0494542234, 0.0343795493, 0.047152888, -0.0453136526, -0.0115407873, 0.0567001104, -0.0361983702, -0.0080167111, 0.0306709893, -0.0305709206, 0.0221814178, -0.0078423312, 0.0434090868, 0.0481541157, -0.0105907097, -0.0295723416, -0.0130400062, 0.0243475921, -0.039438583, 0.115907155, -0.0688824505, -0.0200971197, -0.044676695, -0.0538313091, -0.0238424055, 0.0062044775, -0.0106797218, 0.0021457118, 0.0314444676, 0.0187529512, 0.0357821956, -0.0183257125, -0.0359880328, 0.0205974821, 0.0055184737, -0.029776061, -0.0217063949, -0.0061105909, -0.0544864573, 0.0625680014, -0.0641208366, 0.0614626557, 2.269226182e-34, 0.0333148763, -0.0078990683, -0.0216522291, -0.0132440338, -0.0145151522, 0.013316107, -0.0451949835, -0.0122400764, 0.0214670561, -0.0039416663, -0.0032815295 ]
http://arxiv.org/abs/2406.10868v1
http://arxiv.org/pdf/2406.10868v1
Analyzing Key Neurons in Large Language Models
2024-06-16T09:36:32
2024-06-16T09:36:32
Lihu Chen, Adam Dejl, Francesca Toni
cs.CL
cs.CL
Large Language Models (LLMs) possess vast amounts of knowledge within their parameters, prompting research into methods for locating and editing this knowledge. Previous investigations have primarily focused on fill-in-the-blank tasks and locating entity-related usually single-token facts) information in relatively small-scale language models. However, several key questions remain unanswered: (1) How can we effectively locate query-relevant neurons in contemporary autoregressive LLMs, such as LLaMA and Mistral? (2) How can we address the challenge of long-form text generation? (3) Are there localized knowledge regions in LLMs? In this study, we introduce Neuron Attribution-Inverse Cluster Attribution (NA-ICA), a novel architecture-agnostic framework capable of identifying key neurons in LLMs. NA-ICA allows for the examination of long-form answers beyond single tokens by employing the proxy task of multi-choice question answering. To evaluate the effectiveness of our detected key neurons, we construct two multi-choice QA datasets spanning diverse domains and languages. Empirical evaluations demonstrate that NA-ICA outperforms baseline methods significantly. Moreover, analysis of neuron distributions reveals the presence of visible localized regions, particularly within different domains. Finally, we demonstrate the potential applications of our detected key neurons in knowledge editing and neuron-based prediction.
[ 0.048740644, 0.0455894172, -0.0269708168, 0.0419694781, -0.0105635803, -0.0051717162, 0.0213767346, -0.0223683231, 0.0133547634, -0.0155013883, -0.0450887047, -0.0557637997, 0.0028861247, 0.0263319444, 0.0994431525, 0.0059016431, 0.0375509933, -0.0187104885, 0.0135509986, 0.0020885402, -0.0017524756, 0.0037666131, 0.0279291887, 0.0355487913, 0.0139841931, -0.041076839, -0.0343988761, -0.0160748661, 0.0088131968, 0.0000989178, 0.0170046557, 0.0545968823, -0.0000344453, 0.0253200531, 0.000002101, -0.0237642974, 0.0351905338, -0.015816588, -0.022113204, 0.0482655913, -0.0009097941, 0.0434336029, 0.012133141, -0.0007549356, -0.0102501009, 0.0051218639, 0.0454121307, 0.0330434479, 0.0476272143, 0.0557933412, 0.0250750538, 0.0040932763, 0.0374572016, -0.049867928, 0.0226493664, -0.0095278108, 0.0225158688, -0.0448650941, -0.0189955384, 0.0215219054, -0.0160935279, 0.057187289, 0.0393754989, -0.0441023745, 0.0294189211, 0.0568146296, 0.0066278134, 0.0073305704, 0.0212276112, 0.059819106, 0.0027419436, -0.0298893247, 0.0245226007, 0.0176170208, 0.0211435556, -0.0099641969, -0.0619761795, 0.0078765228, 0.0229009818, -0.0145890247, 0.0405180082, -0.0566600226, 0.0453062281, 0.0182366613, -0.0057943189, 0.0425064526, 0.0432609841, -0.0063410928, -0.0368324108, 0.0043619997, -0.0611523241, -0.0974912569, 0.0384168737, 0.0529465899, -0.0443572402, 0.0231427606, -0.0348181427, 0.0093338918, 0.0254756473, -0.0151389372, 0.0468576327, 0.0358614028, 0.0044115926, 0.0147517435, -0.0336447507, 0.0449895374, -0.0320742242, 0.0092129745, -0.0392905138, -0.0051743663, -0.0323617272, -0.0757421106, -0.028264761, 0.0419501364, -0.0364766382, -0.0290082972, -0.0288342778, 0.0353277847, -0.0044623851, -0.0482250303, 0.0017053859, 0.0741435215, -0.0050785933, 0.0192078482, -0.021426985, 0.0538026467, -0.076438427, 0.0255083106, 0.0459183045, -0.0172923431, -0.0462437309, 0.0373396873, 0.0024435676, -0.0590882823, 0.0206700768, 0.0480930842, -0.031516619, -0.0056772637, -0.0531091429, -0.0546644814, -0.0209528618, -0.0464131571, 0.0212113038, -0.0773906633, 0.0274997447, 0.0080642803, -0.0341996253, -0.029915737, 0.0082336254, 0.041527532, -0.0139475111, 0.0282190703, -0.0000307229, 0.0319666155, 0.0667418987, -0.0081886556, -0.0049168472, 0.0053664702, 0.0406421721, 0.0375980586, 0.0211649593, 0.0152902892, -0.0071863788, 0.033187151, 0.0663429946, -0.00395054, -0.023042094, 0.0247701574, -0.0181647781, 0.0245176051, 0.061486464, 0.029529877, -0.0117594348, -0.0284974743, 0.0851767585, 0.0551239923, -0.0168936346, -0.0053643724, 0.021612633, -0.0398792922, 0.0021014246, -0.018162705, -0.0330213122, 0.0879336223, -0.0075772889, 0.0049817939, 0.0274956767, 0.0187075064, -0.0400073528, -0.0295574572, 0.0234866776, 0.0452351607, -0.0284369923, 0.0198472161, 0.0220681299, 0.0343519375, -0.0220352914, 0.0732269734, -0.0109826606, -0.0090569174, 0.0488178059, -0.0833058208, 0.0393761061, 0.0128217693, 0.0410050154, -0.0259039886, -0.0423826873, -0.0216074418, 0.0138401864, 0.0522237718, 0.0064408449, -0.0340217166, -0.0103860395, -0.0092447912, 0.0189354252, -0.0430305824, 0.0251637418, 0.0135538336, 0.0349014513, 0.0024563537, 0.0184719637, -0.0714336336, -0.0037439312, 0.0300921947, -0.0265516974, -0.0111860763, 0.0246688239, 0.0157391038, -0.0033292435, -0.0050737257, -0.0006748504, 0.0380911902, 0.003772629, -0.0391984098, -0.0160594769, -0.0249186829, -0.0491174161, -0.0536894388, 0.050909251, 0.0150175346, -0.0147615485, 0.0049207718, -0.0151839545, -0.0512392595, 0.0451613739, -0.0745177492, 0.0237009861, -0.060640987, -0.0053349235, 0.0302747544, 0.0003543518, -0.0479552373, 0.0869685784, -0.0141533595, -0.0011869997, 0.02791043, 0.0077715232, 0.004077672, -0.0498846397, -0.0227828063, -0.030860519, -0.019562101, 0.0062664486, 0.0128609696, -0.005029432, -0.0303311124, -0.0310994964, -0.0604750663, 0.0231145639, -0.0232272688, 0.0144741014, 0.0378556401, 0.0228579659, 0.0162238833, 0.0132933864, -0.0797621459, -0.0188857485, 0.0291002262, 0.0375873893, 0.046943929, 0.0148507506, 0.0097472761, -0.0541639775, -0.019451784, -0.0286585428, 0.0523319021, -0.0029346428, -0.008847327, -0.0365250483, 0.0393487848, -0.0324428976, -0.0232324358, -0.0097007537, -0.0590607859, -0.0096390294, -0.0038084197, 0.0383039862, 0.0997112542, -0.007115731, 0.0159830321, 0.0288873035, -0.032674294, -0.0297558792, 0.0164649636, -0.0349470153, 0.0276599303, -0.0105669843, -0.0053386097, 0.0148532391, 0.0965555012, 0.0368944593, -0.0464047715, -0.0274591707, 0.0191363804, -0.0172979683, -0.0333204046, -0.0501132011, 0.0174261462, -0.007612172, 0.0218694974, -0.055625461, -0.0384627469, 0.0909784585, -0.0101665752, 0.0055014053, 0.003541965, -0.0098913545, -0.0372186303, 0.0281425063, 0.0153137706, 0.023627948, -0.0064101592, -0.0188391432, -0.0868533179, 0.0243774708, -0.0442556404, -0.0031181846, 0.0493980236, -0.0201551411, -0.013852614, 0.0356705971, -0.038293045, -0.0188069455, 0.0031664292, 0.0114428503, 0.0345555693, 0.0332967378, -0.0330723897, -0.0146910846, -0.0101942914, 0.04581194, 0.0432576686, -0.060951177, 0.0075422116, -0.0301697142, 0.0758504272, 0.0728412867, 0.0180482063, 0.034886878, -0.0548699237, -0.0146923354, 0.0442684591, 0.0362466164, -0.0097497664, 0.0149451876, 0.0038579036, -0.0059242318, -0.0629348904, -0.0315642804, 0.0005301447, 0.0668173358, -0.0562690608, -0.0503855757, 0.1023586839, 0.0261962898, -0.036924962, 0.006477023, -0.0177506171, 0.0550365075, 0.0477945432, 0.0533448234, -0.0350537077, -0.0137701454, -0.0006202714, 0.0256673098, 0.0042999452, -0.0168007668, 0.0005186797, -0.1237577945, 0.0157472081, -0.0190348141, -0.0638228431, -0.0163163263, 0.0026620524, -0.007287317, 0.0010157508, -0.0030496705, 0.0306674019, 0.0103920251, -0.0041009434, 0.0077490187, 0.0166963525, -0.0109258099, 0.0370249897, -0.053094089, 0.0651405677, 0.06602896, 0.0516861267, 0.0118132494, 0.0130096478, -0.0072888397, -0.0216631647, 0.0375863463, -0.0027025526, 0.041004356, 0.0054259575, -0.0095223347, -0.0360690281, 0.0514596552, -0.0466923788, -0.0068171197, 0.0252159834, 0.0980926454, -0.0109684383, -0.0091472352, -0.0075927675, -0.0232067294, -0.0101043582, 0.0783564001, 0.0547645651, -0.0484177396, -0.0470429696, -0.0172540564, -0.0056608398, -0.0488816388, -0.0016806988, 0.0088009369, 0.0274384283, -0.0011661559, -0.0791595951, -0.040927425, 0.0452022329, 0.0111270379, 0.0123273553, 0.0111845974, 0.0094081322, -0.0611759312, -0.0620319508, 0.005610066, -0.0501906164, 0.0093998741, -0.0783908814, -0.0125259412, 0.0099903988, -0.05313766, -0.0331627652, 0.0115178293, -0.0921587348, -0.0658708513, -0.0182163827, 0.0588613153, 0.016770022, 0.0100032035, -0.0174838994, -0.0658183023, 0.0645279288, 0.0178537108, -0.0238289926, 0.0432799384, -0.0515462272, -0.0129158376, -0.0179723594, 0.0340343229, -0.0251765903, -0.012382146, 0.0390184969, 0.0605809279, -0.0194134936, -0.0071226009, 0.0036980505, 0.0169995315, -0.0070629749, 0.0227471851, 0.0275900029, -0.0750309303, 0.0109411515, 0.0101939952, -0.0057378411, -0.026772067, -0.0131839495, 0.0304463357, -0.0081688026, -0.0166039411, -0.011556576, 0.0366879068, 0.0506416634, -0.0200982746, -0.0381782949, 0.0291344114, 0.0108699119, 0.0092066601, 0.0108081419, -0.000992548, 0.0086374991, -0.0032192261, 0.0645348802, -0.022162091, 0.0281294622, 0.0159796197, -0.0216783695, -0.0259693582, 0.0253471751, -0.0649238825, -0.026106596, -0.0181752555, 0.004971236, 0.0177649986, -0.0055305427, 0.0394590423, -0.0142738456, -0.0285666231, -0.0188978855, 0.0161014795, 0.0226389673, -0.0338654183, 0.0294733997, 0.01172709, -0.0016614111, -0.0374870896, 0.0774607286, 0.0389960408, 0.0710405931, -0.0243027732, -0.0302066896, -0.0189500339, -0.0394468866, 0.0027256222, -0.0216544922, -0.0196121242, 0.007351175, -0.0403107107, -0.0879713148, 0.0063265404, 0.0037872421, -0.0264435504, -0.0160468854, 0.0187368616, 0.0521680266, 0.0408716574, -0.0344190449, -0.0382125191, 0.0056961766, -0.0397342145, -0.0249894448, -0.0007009893, -6.838591935e-33, -0.0433501042, -0.0575307757, 0.0325467251, -0.0442832224, -0.0244239047, 0.0028565747, -0.0762188286, -0.0178638678, -0.0034868908, 0.0167081691, -0.0308157578, 0.0179009214, -0.0120227858, 0.0357412919, 0.0310433004, -0.0102093257, 0.0421262346, -0.0038301202, -0.0091231074, 0.0504499003, 0.0357775316, 0.0158123318, 0.0525233783, 0.0087750768, 0.02639376, 0.0111658415, 0.0118440213, 0.0558909439, -0.0705409944, 0.0552986637, -0.0309285726, 0.0331713296, 0.0279073901, -0.0517582819, -0.014445981, -0.0118789207, -0.0641372427, -0.0391229466, 0.0154425008, -0.0215541534, -0.0181451105, -0.0838033333, 0.0442576632, -0.0048213657, 0.0362708829, -0.0218613166, 0.0409570299, -0.0037077134, -0.0098134847, -0.0161823705, -0.0713826641, -0.0143628037, 0.0125060799, -0.0160651114, -0.0651471913, 0.0057934746, -0.012139135, 0.0034143818, -0.071915783, -0.0033511734, 0.0265473854, 0.0688594729, 0.0516776964, 0.0562421679, 0.0125639271, 0.0461024493, 0.0398661532, 0.0091741383, -0.0313320793, 0.0209425185, 0.0190815069, 0.0277993958, 0.0464586206, 0.0438559428, 0.0058084335, 0.0044777212, -0.0598884895, -0.0001360302, -0.0079112714, 0.0381875709, 0.0364227518, -0.0276278835, 0.0160818323, -0.0372955538, -0.0395774245, -0.0333134755, -0.0574372858, -0.0212159455, 0.0466791838, 0.004170198, -0.0301071014, -0.0417325385, 0.0259521287, -0.023748653, -0.004508819, 0.0373491906, -0.0079111494, 0.0356445424, 0.0296428166, 0.0214898773, -0.0718536079, 0.0154700214, 0.0034232121, -0.0024662227, -0.004477073, 0.0414420068, 0.0110416375, 0.0289079603, -0.0400176607, 0.0160156805, -0.0503747724, 0.01583126, -0.006277191, 0.0091260867, 0.0061029531, -0.0150186643, -0.0031402512, 0.0276999399, 0.0246900599, 0.0096120341, -0.009672801, 0.0059083747, 0.0061238278, 0.0223382637, -0.0434912555, 0.0135329561, -0.0427011922, 0.0042582843, -0.0078203194, -0.0638171732, -0.0060625551, 0.0052862051, 2.884e-7, 0.038504485, 0.0499173254, 0.0204721969, 0.0650201663, 0.0333680324, 0.0300736595, 0.0188117754, 0.0186181907, 0.0219859425, -0.0362721533, 0.0080642533, 0.0316242352, 0.0212614555, 0.0200158842, -0.0883877352, 0.0282795224, -0.0848703682, 0.0310218092, -0.0479913764, -0.061659459, -0.0109130964, 0.0907037035, 0.0126494747, -0.0307724383, -0.002458622, -0.0368704014, 0.0767754838, 0.0127424095, -0.0237158518, 0.0389342643, 0.0277433433, 0.0012637108, -0.002023739, 0.0049423496, -0.0080202008, 0.0042263279, -0.0068075242, 0.0416231081, 0.0041799392, -0.0541312061, -0.0070512109, -0.0349084549, 0.0115720667, -0.0808710232, 0.0436174683, -0.0613369532, -0.0041327439, -0.0181844719, 0.0198596343, -0.0305046048, 0.0106194541, -0.060231287, 0.0206702389, 0.0055366945, -0.0214118231, 0.0153060583, 0.0069672731, -0.0607256293, -0.0445162095, -0.0077167242, -0.0431171879, -0.0261381734, -0.0856866315, -0.0180620067, 0.0105036749, -0.0672142208, 0.0006802984, 2.808249346e-34, -0.003878745, 0.0021802154, -0.000994907, 0.0416875482, 0.0537173599, 0.0020826731, -0.0133053958, -0.0324477814, 0.0282788314, -0.1108404174, -0.0656276941 ]
http://arxiv.org/abs/2406.10858v1
http://arxiv.org/pdf/2406.10858v1
Step-level Value Preference Optimization for Mathematical Reasoning
2024-06-16T09:06:17
2024-06-16T09:06:17
Guoxin Chen, Minpeng Liao, Chengxi Li, Kai Fan
cs.CL
cs.CL, cs.AI
Direct Preference Optimization (DPO) using an implicit reward model has proven to be an effective alternative to reinforcement learning from human feedback (RLHF) for fine-tuning preference aligned large language models (LLMs). However, the overall preference annotations of responses do not fully capture the fine-grained quality of model outputs in complex multi-step reasoning tasks, such as mathematical reasoning. To address this limitation, we introduce a novel algorithm called Step-level Value Preference Optimization (SVPO). Our approach employs Monte Carlo Tree Search (MCTS) to automatically annotate step-level preferences for multi-step reasoning. Furthermore, from the perspective of learning-to-rank, we train an explicit value model to replicate the behavior of the implicit reward model, complementing standard preference optimization. This value model enables the LLM to generate higher reward responses with minimal cost during inference. Experimental results demonstrate that our method achieves state-of-the-art performance on both in-domain and out-of-domain mathematical reasoning benchmarks.
[ -0.0082307244, 0.0421340726, 0.0130127929, 0.0233203694, -0.0266715847, 0.0086026015, -0.0302151367, -0.0200731419, -0.0316119604, -0.0349086411, -0.0159023963, 0.0216519032, -0.0282867998, -0.0241559371, 0.0072703906, -0.068144381, 0.0373185836, -0.0683593303, 0.0246400647, -0.0324603505, -0.022950951, -0.003098642, -0.0174405593, 0.0108402623, 0.005937587, -0.0671347827, 0.0046826638, -0.0139158387, 0.0477595069, -0.0400652066, -0.0120138181, 0.0710315406, 0.0369722359, 0.0184564553, 0.0000024348, -0.0488702618, -0.042030789, 0.0122556742, -0.0663008988, -0.0174525622, -0.0303366706, 0.044393193, 0.0156509131, 0.0232756287, -0.0308471732, 0.0378873944, 0.0399084836, 0.0036318735, 0.0629337952, 0.0508154295, 0.021002546, -0.0606827959, -0.004272684, -0.0350066461, 0.0471016094, -0.0766042322, 0.0233076662, 0.0481072143, 0.0186307672, 0.0358265527, -0.0049229572, -0.0113302013, 0.0505115688, -0.0074921241, 0.0124899382, 0.044194717, 0.0004288313, 0.0340231806, 0.0086722644, 0.0728896484, -0.0128355017, -0.0145551544, -0.011078937, -0.0384225585, -0.0217270665, 0.0078027504, -0.0287129022, 0.0465465412, -0.0215517636, 0.0063559902, 0.0262396932, 0.0051761284, 0.0190342218, 0.0422101803, -0.0497049391, 0.1046980768, -0.0016982993, -0.03234661, 0.0351843163, 0.0084272418, -0.0863881782, -0.0502281822, 0.0081027038, 0.0118331946, -0.0527276509, 0.0117373252, -0.0039851642, -0.0237843487, -0.0392285809, -0.0210421477, 0.0600053929, 0.0603776909, 0.0445748866, 0.036490988, -0.0104170088, 0.0133321779, -0.0129086133, 0.018795168, -0.0366660096, 0.0226716176, -0.017571222, -0.0125601087, -0.0006652785, 0.0488033593, -0.0422268957, -0.000535168, -0.0521963872, -0.0031768091, -0.022301374, 0.0273098927, 0.0032426021, -0.0020351601, -0.0301942211, -0.0209826212, -0.0694294721, 0.018614104, -0.0572954044, 0.0009385894, 0.024537826, 0.0361254178, -0.0166203603, 0.0191073362, -0.0390408747, -0.0607411414, 0.0243960619, 0.0589064695, 0.002761058, 0.0038351091, 0.0182625037, -0.0010222174, 0.0015335211, -0.0658383518, 0.05631404, -0.0697012618, 0.006894147, -0.0101043088, -0.0130469445, 0.0195106771, 0.0143049546, 0.0406293944, 0.0122075025, 0.0675908476, 0.062529847, -0.0271884575, -0.0042034024, -0.0249106158, -0.0272538569, 0.0469050668, 0.0362588428, 0.0265969113, -0.0120471679, -0.0099465689, -0.0212449674, 0.0285301674, 0.0052440208, -0.0059999605, -0.0147508318, 0.0545498133, -0.0120111806, 0.0814778805, 0.0089248167, -0.0136025148, -0.0816226006, -0.00992167, 0.0150231812, 0.0142662525, 0.0085879276, -0.0401383415, 0.0189566854, -0.0105203865, 0.0212728754, -0.0301739257, -0.0687310547, 0.0588085428, -0.0525347851, 0.022097202, 0.0041174567, -0.0191749968, 0.0050200103, -0.0634959862, -0.0001559338, 0.0222928263, -0.0184047893, 0.0700069889, 0.059007749, -0.0086785443, -0.0271428879, -0.0104248719, 0.0087831104, 0.0196993575, -0.0361188091, -0.0629738718, 0.0703070685, 0.044831451, 0.0339081474, -0.0424083509, -0.001051295, -0.0169614907, -0.0263976753, 0.0481775515, 0.0381064154, -0.0410059839, -0.0295746811, -0.0461413823, -0.0205014888, -0.0084693711, 0.0109792892, 0.0261565521, 0.0517950282, -0.0266312715, 0.0077764988, -0.0168875288, 0.0074016959, 0.0088629369, -0.0107074454, -0.0231449846, 0.0435377695, -0.0098319957, 0.0371977091, -0.0131025845, 0.0175506976, 0.038139578, -0.0191957708, -0.0118066259, -0.0285403654, -0.045939099, -0.0662099943, -0.0653784275, 0.0104505979, -0.0244076084, -0.0556853488, 0.0157713164, -0.0537203886, 0.0099691553, -0.0174630918, -0.0126785981, 0.0076816115, -0.0330523588, 0.019596424, 0.0341409259, -0.0320892669, -0.0895955712, 0.1163267419, -0.0021597168, 0.0210877713, 0.0284462385, 0.0095011517, -0.0033264514, -0.0434701592, 0.0117071811, 0.0006650437, 0.000275195, 0.0278909467, 0.0181568041, 0.028089013, -0.03771827, 0.0024916218, -0.0259697512, 0.0326398723, -0.0028916204, 0.0412466191, -0.003203613, -0.014009852, 0.0221466888, -0.0053524324, 0.0012149086, -0.0076925075, -0.0323688015, 0.0270601735, 0.0160354935, -0.0017688742, 0.0286666173, -0.0335867479, -0.0344012976, -0.0348547474, 0.0246777423, -0.0253485125, 0.0859955251, -0.0236891638, 0.0132668978, -0.0311537497, -0.0104193063, -0.005151636, 0.0329920575, 0.0467321053, -0.0523158461, 0.0282319691, 0.1191534698, 0.0086542405, 0.0292059798, 0.0335391015, 0.0093941037, -0.0884744674, 0.0292353928, -0.029412901, -0.0022117875, 0.0018186333, 0.0007230797, -0.0095439795, 0.07843896, -0.0297977217, 0.0060533509, -0.0484934337, 0.0440293774, -0.002682707, -0.0213999394, -0.0108385384, 0.0271178819, -0.019780688, 0.0441850498, -0.0292538218, -0.0194063466, 0.0912996754, 0.0096848253, 0.0136469156, -0.0931821689, 0.0410687886, -0.0318897888, 0.0032302812, 0.0272627939, -0.0052130064, -0.0175337996, -0.0021320353, -0.0443561599, -0.0099947508, 0.0869410709, -0.030449165, 0.0381310619, -0.0102521395, 0.0149423052, 0.0003255404, -0.0456602089, -0.0248433966, -0.0098871188, -0.0264069047, 0.0238862038, 0.0083375666, -0.0307505727, 0.0200411081, -0.0198641252, 0.0389158726, 0.028837027, -0.0379829668, -0.0370879583, -0.015536285, 0.0069598351, 0.0410376601, 0.0356999785, 0.0562823489, -0.0447354987, 0.009946744, 0.018201841, 0.061399404, 0.0227521472, -0.0348275639, 0.0115802502, 0.0114291338, -0.0539988838, -0.0084261205, 0.0355359651, 0.0175663996, -0.0558863916, 0.006389786, 0.0942945182, 0.0317412056, -0.0279500075, -0.0054585016, -0.0751591176, 0.066566065, 0.0108604012, 0.0483233705, -0.0689172074, -0.0365797915, 0.0142990826, 0.0380757786, 0.0120847514, -0.0458939299, 0.0545738637, -0.1415385008, 0.0222487319, -0.0086720502, -0.037605986, 0.0195025019, -0.0326434784, 0.010929984, -0.0008415342, 0.0042313919, 0.0002249407, -0.0073456606, 0.0257467516, 0.0192400888, 0.0363256037, -0.0319497474, 0.0611886196, -0.013264914, -0.0056758798, 0.0925163776, 0.0149153285, -0.0085741309, -0.0122171706, 0.013126526, 0.0214840043, -0.0165640078, -0.0325919725, -0.019851163, -0.0192919802, 0.0138491234, -0.0347201712, 0.0624527037, 0.010391565, -0.028123077, 0.0000158202, 0.1001718193, -0.0257757176, -0.0064695897, -0.0147412056, -0.0003890816, -0.027191177, 0.0404640809, -0.0050127176, -0.0388634168, -0.0411883034, -0.0526522994, -0.0268950053, -0.0336331949, -0.0373862386, 0.0177180693, 0.0098194825, 0.0243541971, -0.0255876351, -0.0171878282, 0.0611927472, 0.0337308384, -0.0265148096, -0.0326467492, -0.0021566877, 0.0008125429, -0.0086711571, 0.0562518761, -0.0550680049, 0.0484666713, -0.0056252298, 0.0316670761, 0.0104291691, -0.0316222794, -0.0511512868, -0.0000049517, -0.0363991149, -0.0430075638, -0.0645927638, 0.0710301623, 0.0130470386, 0.0649832636, -0.0043836865, -0.0269029438, 0.0100506078, -0.0133846579, -0.0053486498, -0.006850041, 0.0515183285, 0.0210607629, -0.0113884117, 0.0143071422, -0.0272857808, 0.0072560599, 0.0208564661, 0.0758620203, -0.0043293377, -0.0271090474, 0.0377065688, -0.0018589976, -0.0048310016, 0.0147179328, -0.0087284744, -0.0132975588, 0.0342340246, -0.0424882136, -0.0360219143, 0.0056900703, -0.0175992213, 0.0241726581, -0.0361037068, -0.0086856112, -0.0594852753, 0.0404752046, 0.0256421305, 0.000881287, 0.035378743, 0.0474041328, 0.0273361281, 0.0476739667, -0.0125019178, 0.004889017, -0.0238038246, 0.0363631882, 0.0841338336, -0.0070809918, 0.0816450715, 0.0586609542, 0.0068603288, 0.011430189, -0.0341074765, -0.0254302956, -0.1123062596, -0.0313294567, -0.0208854843, 0.0408810824, 0.0043066507, 0.0131637678, -0.0403246693, -0.0180677269, 0.0013088189, 0.0079687508, 0.007553237, -0.0161566958, 0.0435548536, 0.0488341562, 0.0181328245, -0.0168433599, 0.0352538712, 0.0119679719, 0.0287867766, -0.03378902, 0.0163237788, -0.0379724205, -0.0342920758, -0.0574377403, 0.0413602404, -0.0041381055, -0.0085173845, -0.0666083843, -0.0810884908, -0.0282081962, 0.0359361432, -0.0215500966, 0.01355753, 0.0321155973, 0.0465539284, -0.0485325009, -0.0401126668, -0.0165650528, 0.0091917422, -0.031724263, -0.0191558003, -0.0677242503, -6.399472796e-33, -0.0315665342, -0.0378511585, 0.0442282595, 0.0061824066, -0.0235011633, -0.0414169654, -0.0385037027, 0.012399218, 0.0006526326, 0.0177584291, -0.0067307404, -0.018017156, 0.0011922759, 0.0158027299, 0.0298802033, -0.0035685191, 0.0070496602, -0.0147098973, -0.0555750206, -0.0100375377, -0.0060277642, -0.0297262818, 0.0488438122, -0.0440360308, -0.0127737317, 0.0356512219, -0.0246675108, 0.0469300635, -0.0847403854, 0.0643277317, 0.0082570948, -0.0197957493, -0.0033869464, -0.0643907636, 0.0049507306, -0.0121640051, -0.0640271753, -0.0289029535, 0.0126641691, -0.0103096273, -0.0477679074, -0.0404511318, 0.0091297831, 0.0318819694, -0.0011996364, -0.0416897796, 0.0175907444, -0.0269119572, -0.0361567065, -0.0169853102, -0.0418114811, 0.0293376781, -0.0229722392, -0.0080980239, 0.0066705374, 0.0504784808, -0.0159462374, 0.0414077491, -0.0119133601, 0.0250893682, 0.0117355045, 0.0114421267, 0.0583660714, 0.0166011602, 0.0199817419, 0.0119873257, 0.0153222447, -0.0357705206, 0.0209324285, -0.0119054839, 0.0151562653, 0.0527892001, 0.0398557708, 0.0114610652, 0.0281500071, 0.0682815388, -0.0515832677, 0.0112116598, -0.0004607933, 0.0335945487, 0.0360922068, 0.0293351654, -0.030893052, -0.0059809759, -0.0830010623, 0.0074277357, -0.0467192046, -0.0314689465, 0.0342385843, -0.0067676865, -0.0367024206, 0.026838338, 0.0365893841, -0.0144783305, -0.0460424982, -0.0056461897, -0.0073533058, 0.0417049676, -0.0265917517, 0.0433512703, -0.0779839382, -0.0256406143, -0.0088803638, -0.0725110248, 0.0031535279, 0.0411965884, -0.0025940235, -0.0213621203, -0.0291518476, -0.0132173859, -0.0325841159, -0.0197128691, 0.0075682695, 0.0818466395, 0.0430933908, 0.0196131058, 0.0120300893, 0.0649726689, -0.0101790745, -0.0010602785, -0.0349296518, 0.0067567946, -0.0107283592, 0.0012916072, 0.0111801317, 0.0210423544, -0.0091025457, -0.0298968777, -0.0110619925, -0.0577684604, -0.0097729648, 0.0347212367, 2.969e-7, 0.0402372666, 0.0584763996, -0.0136531545, 0.0439305231, 0.0069428757, 0.0749792308, 0.013258202, -0.0600847788, 0.0467199795, -0.0234527402, 0.0202073026, 0.0226343181, 0.0387456566, 0.0075196456, -0.0813251212, -0.0001004364, -0.019164037, 0.0074149733, -0.0336471796, -0.053789854, 0.0302092433, 0.0806467086, 0.0156526826, 0.0117306858, -0.0016942195, 0.0464135222, 0.073356919, -0.0194380991, -0.0005096201, 0.0220690407, -0.0236681569, -0.0480805226, 0.0051234616, 0.0174038988, -0.0065568592, 0.0158219468, 0.0265215375, 0.0954797044, 0.0031410062, -0.0371807776, -0.0308294669, -0.0234419554, 0.0077198986, -0.041133292, 0.0593905412, -0.0945050865, -0.0311950818, 0.0034696022, -0.0224475041, -0.0329814106, 0.0179120116, 0.0086711161, 0.0143624479, 0.002229024, -0.0053851143, 0.0176160056, -0.0068073273, -0.0404555351, -0.0087179663, 0.0227977354, -0.0486896373, -0.0228349883, -0.0230246242, 0.0193506926, 0.0103180185, -0.022303367, -0.0505986176, 3.082265115e-34, 0.0440112352, -0.0137234842, 0.0389552675, 0.0448660105, 0.0477784611, 0.02839485, -0.016874617, 0.0165574178, 0.0533791557, -0.0879680216, -0.0426537693 ]
http://arxiv.org/abs/2406.10851v1
http://arxiv.org/pdf/2406.10851v1
Leading Whitespaces of Language Models' Subword Vocabulary Poses a Confound for Calculating Word Probabilities
2024-06-16T08:44:56
2024-06-16T08:44:56
Byung-Doh Oh, William Schuler
cs.CL
cs.CL
Word-by-word conditional probabilities from Transformer-based language models are increasingly being used to evaluate their predictions over minimal pairs or to model the incremental processing difficulty of human readers. In this paper, we argue that there is a confound posed by the subword tokenization scheme of such language models, which has gone unaddressed thus far. This is due to the fact that tokens in the subword vocabulary of most language models have leading whitespaces and therefore do not naturally define stop probabilities of words. We first prove that this can result in word probabilities that sum to more than one, thereby violating the axiom that $\mathsf{P}(\Omega) = 1$. This property results in a misallocation of word-by-word surprisal, where the unacceptability of the current 'end of word' is incorrectly carried over to the next word. Additionally, language models' such implicit prediction of word boundaries is incongruous with psycholinguistic experiments where human subjects directly observe upcoming word boundaries. We present a simple decoding technique to reaccount the probability of the trailing whitespace into that of the current word, which resolves this confound. As a case study, we show that this results in significantly different estimates of garden-path effects in transitive/intransitive sentences, where a comma is strongly expected before the critical word.
[ 0.0410900898, 0.0753140822, -0.0349117443, 0.031106418, -0.0561249852, -0.0102037201, -0.0240260698, 0.0041935351, -0.035124477, -0.0381797813, 0.0208557677, -0.0673612803, 0.0389229544, 0.018283492, 0.0456115343, -0.0514029562, 0.0750102848, -0.0360207073, -0.0055750143, 0.0144228432, -0.00927315, -0.0162004158, -0.026721878, 0.051272627, 0.0089352746, -0.000452956, -0.0040655192, -0.0258282535, -0.031543687, -0.0197448637, -0.0540481061, 0.0468015596, -0.0477600247, 0.0361220501, 0.0000019981, -0.039281074, -0.0144148814, -0.0114709837, 0.0165808164, 0.0100580472, 0.0231557004, -0.0337928161, -0.0136182969, 0.0215553623, -0.0034308177, 0.0113615952, 0.0485498495, 0.0335884579, -0.0432102643, 0.0171788856, -0.0099540148, -0.0085388031, 0.0633586943, -0.0146536166, 0.0289354436, -0.0134730786, 0.0359980017, -0.0530694202, -0.0276056658, -0.0221115351, -0.0459723137, 0.0115247257, 0.0101285446, 0.02713852, -0.0297014788, 0.038413763, -0.0024829246, -0.0642592385, -0.0426078476, 0.0083588101, -0.0244252328, -0.0460583046, -0.0186407696, -0.0172022637, 0.0017490906, 0.0289483536, -0.0305533353, 0.0556555912, -0.0080319848, 0.0308585968, 0.0248577185, 0.0539355762, 0.0030608589, -0.0197567809, -0.0483134724, 0.1059148908, 0.0356508568, -0.0640206635, -0.0079838606, 0.0114973262, -0.0471875258, -0.0302118696, 0.013254188, -0.040292982, 0.0119554605, 0.0408619344, -0.0097284894, -0.0259038899, 0.0341548324, -0.0211333167, 0.0314758904, 0.0330381431, -0.0126715079, 0.0010420852, 0.0061773248, 0.041102659, -0.006808233, 0.0205732826, -0.0434787497, 0.049179554, 0.0329473279, -0.0340741873, -0.0263234209, 0.000052036, -0.0258405656, -0.0412976444, -0.0372974537, -0.0106158145, 0.0292357467, -0.0879414678, 0.0080200303, -0.0097785164, -0.0370801724, 0.0069069979, 0.0078267362, 0.0206783637, 0.0151221026, 0.0513790771, -0.0182903167, -0.0752748996, -0.0219673607, -0.0050784028, -0.0207588654, -0.0201476812, -0.0330146179, 0.0898852125, 0.0040591005, -0.0314499028, 0.0022524982, -0.0289761275, -0.0416931435, 0.0070756162, -0.0005586469, -0.0607081428, -0.0002414574, 0.0532236435, 0.0042147394, -0.0401650481, 0.0068745743, 0.0209337827, -0.0611954406, 0.1100123897, 0.0138689121, 0.0129451072, -0.0077591194, -0.0140129924, 0.0210652761, 0.0457989313, 0.0571861528, -0.0182813741, 0.0630720854, 0.0082234805, 0.0098983431, 0.0548794195, -0.0113979885, -0.0232760608, -0.0214362629, -0.0624645054, 0.0382380597, -0.0082461303, 0.068625927, 0.0758091956, -0.0222403463, -0.042594038, 0.012804565, 0.0776230991, -0.0288557559, 0.0063012647, 0.0215721242, 0.0240919832, 0.0055427342, 0.0833423361, -0.0317054614, -0.0348729379, -0.0301439092, 0.0399718098, 0.0200784225, 0.0024673438, 0.0238707624, -0.0196080226, -0.017423369, -0.011486575, 0.0626781136, -0.0571985617, 0.0500804782, 0.0229763091, -0.0718288571, 0.0475424789, 0.0417329334, -0.0751273483, -0.0111449249, -0.0335511044, -0.0270762779, 0.0181235485, 0.0408166945, -0.0101420879, 0.0488375574, 0.0451765209, -0.0084708193, 0.0350305475, 0.0000713967, 0.0369715802, 0.0012079629, -0.012417959, 0.0228113867, 0.0530286878, 0.0148541955, 0.0045063291, -0.0166239366, -0.0097885029, -0.0039143423, -0.0454064347, 0.0327710062, 0.0553682894, -0.0179538857, -0.0004431765, -0.0535162464, -0.0242707822, 0.000378185, -0.0233147573, -0.0241203122, 0.0784246847, 0.0291547086, -0.0139343152, 0.0065322951, 0.0345652699, -0.0502520241, 0.0024182324, 0.0546979941, -0.0153103564, 0.044902768, 0.0275020581, 0.0382711701, -0.0235441364, 0.0271016471, -0.0443690456, 0.0885265991, -0.0216764286, 0.0852936059, -0.0147929946, 0.0274782032, -0.0414347537, 0.0193346664, -0.0320595056, 0.0746197402, -0.0418340601, -0.0245177336, 0.0232534017, -0.0143300537, -0.029648805, 0.0094284825, -0.0127061, -0.0049033766, 0.0276917163, -0.0315103605, -0.0348904878, -0.0497524105, -0.0567642413, -0.0353962742, 0.0272077173, 0.0266282614, -0.0230827536, 0.0050659184, -0.0264299158, 0.0051889792, 0.0637589619, 0.0052104262, -0.0042739632, 0.0349706374, 0.0313527659, -0.0378674343, -0.0517526828, -0.0659826547, -0.0506626219, -0.0503225736, 0.0504178181, 0.0125071798, -0.0266792383, -0.0511896499, 0.0327470191, 0.0213096105, 0.0420502611, -0.0011716265, -0.0578074045, 0.0313830636, -0.0014178563, 0.0811755583, 0.0248741601, 0.0092978198, 0.0330919065, 0.0249424726, -0.0145843122, -0.0182650983, -0.0494455434, -0.0139258876, -0.0368837938, -0.0135437874, -0.0557435565, -0.0354596414, 0.1083917841, 0.0427734666, -0.0252433605, -0.0569968186, 0.0143057238, -0.073289305, -0.0437768549, 0.0124516571, -0.0403691269, -0.0808233246, 0.0457774699, -0.0385635532, -0.0649754927, 0.0424498357, -0.0600043237, 0.0144364107, -0.0709138438, 0.0418612696, -0.0119566293, 0.0588437915, 0.047942441, -0.0161987077, 0.0347007327, -0.0481525473, -0.0527713522, 0.0257864241, -0.0375144705, -0.0250661932, 0.0363588221, -0.0600625314, -0.0033351658, 0.0136429882, -0.0235862117, -0.0191245098, -0.0461326726, -0.0314836241, 0.0006181786, 0.0369554125, -0.0161625072, 0.0164848734, 0.0229868442, 0.012241086, 0.0389277488, -0.0285324398, -0.010071503, -0.0300881378, 0.0218364242, 0.0185012538, -0.0506165586, 0.02848492, -0.0446193293, -0.0140616372, 0.0498287641, 0.0564753786, 0.0541382171, 0.0262460727, 0.0051506739, 0.0340126902, -0.0278133415, -0.0543100722, 0.041614484, 0.0198052824, -0.0362870507, -0.00182626, 0.1150322556, 0.0620110109, 0.0051821894, 0.0546858944, -0.0416075252, 0.0074542626, 0.0079960013, -0.0039487458, -0.0365055799, -0.0068274131, 0.0257365108, 0.002431599, -0.0423346013, -0.0244424734, 0.0026788155, -0.0997824445, 0.0097775394, -0.0054272758, -0.0094011892, 0.0042845435, -0.0290289074, -0.0007959788, 0.0221824031, -0.0024746812, 0.0441623516, -0.0421789363, 0.0411300063, 0.0268508103, -0.0105880797, 0.0122117773, -0.0240036622, -0.0332636833, 0.0085762199, 0.0214629956, 0.0132063497, -0.0577080213, -0.0494636185, 0.061184179, -0.0375320651, 0.0142412111, 0.0059112394, 0.017123526, 0.0450955853, 0.0172732137, -0.0238507967, -0.0056836591, -0.021256648, -0.0621757209, -0.0171454698, 0.0300259292, 0.003796895, -0.0504213125, -0.0191602502, 0.0381457731, -0.0167637616, 0.0816018283, 0.0275117662, -0.0447690226, -0.0389019661, -0.0125683621, 0.0518704876, 0.0525964238, -0.0560462959, -0.0179972965, 0.0387830101, -0.053427659, -0.0594827719, -0.0227342118, 0.0087850057, 0.034454044, 0.0075566932, 0.0167813245, 0.0193094853, -0.0235119052, -0.0208664946, -0.0092849778, 0.0221565571, 0.026356997, -0.0740644634, 0.0357323177, 0.0392924324, -0.0062281848, -0.0416195691, 0.0014591821, -0.0690881535, -0.0634931847, 0.0489895493, -0.0126445452, 0.0379200727, -0.0156797189, 0.0139438426, -0.0449983403, -0.0196053665, -0.0029460182, -0.0059913392, 0.0601462014, 0.024925191, 0.005509113, 0.0129093155, 0.017337013, 0.0104292547, -0.0056168837, -0.0049010431, 0.0552540459, 0.0020284336, -0.0401362889, 0.0221185889, -0.018119894, 0.0866044983, -0.0233671907, 0.0219960082, -0.0123684546, -0.0037477636, -0.0414242335, 0.0218356363, -0.0154283298, -0.0109059792, 0.0142182065, 0.02111068, -0.0515810512, -0.052778706, -0.051897008, 0.0035983741, 0.0202230047, 0.0273661856, 0.0435659438, -0.0119937593, 0.0410831384, -0.0190559439, 0.0178654026, -0.0153074889, -0.0263265278, 0.039914269, 0.0128078628, 0.0160361752, -0.0123714823, -0.0167517699, -0.07250119, -0.0183832254, -0.0440517887, -0.0064295623, -0.0027474957, 0.0641929209, -0.0326047763, -0.0188411977, 0.0571300536, -0.0414473601, 0.0092113391, -0.0328417942, -0.0114002228, 0.0179423839, -0.0027998406, 0.0316389166, 0.0091106072, -0.0354805365, 0.0020531353, 0.0902931988, 0.0071829814, 0.006412921, -0.0196548887, -0.0223599523, -0.0097158086, 0.0021907424, -0.0094064288, 0.0241989736, 0.0098143704, 0.0389952585, -0.0866133124, -0.0552976243, 0.0223297663, 0.0374531895, 0.0510017984, -0.0266430322, -0.0152349314, 0.0780699924, -0.0289676636, -0.0402724668, -0.0283202492, 0.008392984, 0.0332337245, -0.0151957758, -0.0420986116, -6.371631947e-33, -0.0233104359, -0.0005375196, -0.0313998051, 0.0415339395, -0.0136346333, -0.0143028246, -0.0169321429, 0.0349493995, 0.006498294, 0.0117460033, -0.0265023392, 0.015629828, 0.037004374, 0.0071432344, 0.0329543985, 0.0283662789, 0.0415219031, -0.0178144351, -0.0222957935, -0.0597419217, 0.0022249273, 0.0090676649, 0.0420222282, -0.0259013642, 0.0577303916, -0.0163709037, 0.0054642265, 0.0187479034, 0.01949271, 0.0290265121, -0.0133944638, 0.0435177721, 0.0248559751, -0.0556898788, -0.0287247617, 0.0383527763, -0.0470592268, -0.0353152156, 0.0728704259, 0.0085473163, -0.0131715918, -0.0056621884, 0.0466834009, -0.0237311218, -0.0455511212, 0.0162898153, 0.0064178803, -0.0091570038, -0.0196925029, 0.0308716539, -0.0819356367, 0.0092005907, 0.0159252044, 0.0071392059, 0.000005572, -0.0079751788, -0.0027347067, -0.0300591365, -0.0416719541, 0.0383493043, 0.049607832, 0.0454729497, 0.0276089795, 0.0065255756, 0.0192677565, 0.0194779225, 0.0877913833, -0.0159725733, 0.0462020673, -0.0107804686, 0.0629670918, -0.0177521929, 0.0089013623, -0.0141636375, 0.0653799921, -0.0177723002, -0.0142717781, -0.0166794788, 0.0247274656, -0.0054916148, 0.0392623208, 0.0141757969, -0.0876839906, -0.0671623126, -0.0346297286, -0.0332359597, -0.0245642215, -0.014182006, 0.0239087734, -0.0250075534, 0.0289327521, -0.0385645144, 0.0126447538, -0.0328393281, -0.0543101914, 0.0009579513, -0.0146765253, 0.0468658395, -0.0438020229, 0.0413903594, -0.0230880473, 0.0039198352, 0.0017674146, 0.0365714319, 0.0022274691, 0.0196253285, -0.0099508753, -0.0092974976, -0.0705768988, -0.0159591455, 0.0055540265, -0.0425338261, 0.036265064, 0.0216300078, 0.0603140555, 0.0220483411, -0.0110638058, -0.0172723643, 0.022817079, 0.005811255, -0.0266739596, 0.0200371798, -0.0304265097, 0.046002835, -0.0324017406, -0.0284534432, -0.0205264818, 0.0480763279, 0.0222693626, -0.0363919064, -0.0410523079, 0.0189211201, 2.851e-7, 0.0760872141, 0.0588792525, 0.0606156886, 0.0234621093, 0.0245599933, -0.0063958243, -0.000172011, 0.0041872151, 0.0424857214, 0.0027317835, -0.0182254557, -0.0188260805, 0.0184586979, -0.0113516171, -0.0426267162, 0.0176473223, -0.0535250381, 0.0367075168, -0.028999757, 0.0172315184, 0.0435366668, 0.0758707449, -0.0028465239, 0.0067219287, -0.0490455925, -0.0081706289, 0.0061166259, -0.0270136911, 0.0152515573, 0.0093230596, 0.0295405332, -0.0126623781, 0.0450876951, 0.045682393, -0.0067471913, 0.0228538513, 0.0610679463, -0.0208495632, -0.023846129, 0.013273349, 0.0284226518, -0.0313065499, -0.0208619684, -0.0487546213, 0.0544691719, -0.0318966024, -0.0328446329, -0.0021046742, -0.0049132593, 0.0253873747, 0.0054356791, 0.0152315302, -0.0307868645, 0.0130187972, 0.0239543486, 0.0173490532, -0.0227581747, -0.0421540663, -0.0739214569, -0.0014663016, -0.0417969152, -0.0529214703, -0.0166193135, -0.0068146372, -0.0069100531, -0.0537958927, -0.0403644331, 2.977280612e-34, 0.0446398817, 0.0166756678, 0.0453776456, -0.0108921397, 0.0081489068, -0.0228781048, 0.0776350796, 0.0566872135, 0.0042345487, -0.0763960853, -0.0300065037 ]
http://arxiv.org/abs/2406.10847v1
http://arxiv.org/pdf/2406.10847v1
TorchOpera: A Compound AI System for LLM Safety
2024-06-16T08:39:19
2024-06-16T08:39:19
Shanshan Han, Yuhang Yao, Zijian Hu, Dimitris Stripelis, Zhaozhuo Xu, Chaoyang He
cs.AI
cs.AI, cs.CE, cs.CL, cs.MA
We introduce TorchOpera, a compound AI system for enhancing the safety and quality of prompts and responses for Large Language Models. TorchOpera ensures that all user prompts are safe, contextually grounded, and effectively processed, while enhancing LLM responses to be relevant and high quality. TorchOpera utilizes the vector database for contextual grounding, rule-based wrappers for flexible modifications, and specialized mechanisms for detecting and adjusting unsafe or incorrect content. We also provide a view of the compound AI system to reduce the computational cost. Extensive experiments show that TorchOpera ensures the safety, reliability, and applicability of LLMs in real-world settings while maintaining the efficiency of LLM responses.
[ 0.029822804, 0.003719358, -0.0195681136, 0.0410649814, -0.0006731958, 0.0043373536, -0.0023534955, 0.0118354158, 0.0251994748, -0.0421662666, -0.0406622775, -0.0405347832, -0.0185149573, 0.0103781717, 0.0207454246, -0.0237596203, 0.0563668236, -0.0689563602, 0.0000517229, 0.0025250369, 0.0292814523, 0.013599054, -0.0234986078, 0.0565127358, -0.0236134846, -0.0294922367, -0.0139924567, 0.0181384291, 0.0188226588, -0.0398443192, 0.0242476314, 0.0406624749, 0.0093367761, 0.0277562439, 0.0000020699, -0.0536454916, -0.0041586184, -0.004249149, -0.0456827544, -0.0199189819, 0.0140546514, 0.0049581593, -0.0493035577, 0.0376312248, -0.0379482433, 0.0273360834, 0.0454381853, 0.0305498857, 0.0875401273, 0.0535656065, -0.0014171413, 0.0273419134, 0.0428044274, 0.0270831846, -0.0004990643, -0.059291672, 0.0291735865, -0.0014474182, 0.0514892265, 0.0011047304, 0.0111098485, 0.0302827638, 0.0126642836, -0.0631257892, -0.0336746201, -0.0025555938, -0.0156287793, -0.0223629661, -0.054294318, 0.0652194396, -0.0003774291, -0.0072628041, -0.0017801827, -0.0124775423, 0.0118023027, -0.0238273311, -0.0461463593, 0.0482441559, -0.0255981535, -0.009187418, 0.0114194993, -0.0099677416, 0.0137654943, 0.0186859407, 0.0044308021, 0.1122152954, 0.0229715258, -0.0345248245, 0.0089973845, 0.000543095, 0.0251173265, -0.0673069879, 0.0227003694, 0.0569426604, -0.083911784, 0.033497341, -0.0516239554, -0.0170617998, 0.0499574654, -0.0771396756, 0.0494596623, 0.0324646384, -0.0147813736, 0.0097870324, -0.0062625143, 0.0424729176, -0.0153299281, 0.0344254673, 0.0093861511, 0.0094810957, 0.0083087925, -0.0105954371, -0.0227847192, 0.0278143771, -0.0377966203, 0.0424183868, -0.0334097035, 0.073049143, -0.0336516239, 0.0459692143, -0.009425709, 0.0028533177, -0.0111884549, -0.0040706089, -0.0248981752, -0.0242278557, -0.026221456, 0.0187269673, 0.002157476, -0.0720637068, 0.0008156944, 0.034396898, -0.0021826711, -0.0238796547, -0.017198585, 0.0800554901, 0.0050713066, 0.0013556525, -0.0690597519, -0.0582460314, -0.0147113772, -0.0380171835, -0.0186799169, -0.0658378974, 0.0117304465, -0.0037567567, -0.0386110097, -0.0464226566, 0.0141622005, 0.0463166237, -0.0071167448, 0.0501719564, -0.0598564483, -0.0070030512, 0.0212088358, 0.033820875, -0.0208558403, 0.0357685499, 0.0378551111, 0.0357818231, 0.0360989571, -0.0093370201, 0.0586374365, 0.0589724928, -0.0143952416, 0.0250261258, -0.0325464197, 0.0160039701, 0.0060072686, 0.0134666823, 0.0038379496, 0.0646068901, -0.0008954255, 0.0203527473, 0.0512288474, 0.0588236935, -0.0089882063, 0.0100920983, 0.0532922037, -0.0140682664, 0.000840693, -0.0003131197, -0.074579969, 0.0138813695, -0.0738696456, 0.0025163873, -0.0325884372, 0.0183739308, -0.0189194772, -0.039506577, -0.0312436614, -0.0106351515, 0.0218350925, -0.0125939716, -0.0012263602, -0.0087755332, -0.0343701467, 0.0266697425, 0.0238166656, -0.0538216606, -0.0271113683, -0.0571170747, 0.0314470902, 0.1219476387, 0.0348636806, -0.0390802324, -0.0721440166, -0.0418958217, 0.0307880882, 0.040580418, 0.0129099721, -0.0173914246, 0.0079787308, -0.0442894883, -0.0343289338, 0.0332577862, 0.0044294521, 0.0332905203, 0.0136838593, 0.009915933, -0.0120156873, 0.0164885893, -0.0266278517, 0.0333087668, -0.0383839756, -0.0618908927, -0.0259109195, 0.0122480374, 0.0146252653, 0.0173382144, -0.0066427141, -0.0084017059, 0.0457021408, 0.0087085804, -0.0301554445, -0.0082440376, -0.0465092883, 0.0086352816, 0.0560701117, 0.0148049714, -0.037319202, -0.0102902986, -0.0240749568, -0.0156263169, -0.02291153, -0.0402084924, 0.026583774, -0.0354452059, 0.0274200439, 0.0052358415, -0.0090780389, -0.0300962441, 0.0369442627, -0.005874393, -0.0167869106, 0.0565760173, 0.0222284347, 0.0061240345, -0.067364119, -0.0280839354, 0.008396646, -0.0120189078, 0.0567304231, 0.0097571574, 0.0679885074, -0.0129383691, -0.0088297697, -0.0690342039, -0.0066581573, -0.0254431665, -0.002920656, -0.0074908072, 0.0038337468, -0.0461159386, -0.0147152329, -0.0192654766, -0.0117950076, 0.0145227462, 0.0195581075, 0.0272994153, -0.0006029, -0.0349961221, -0.0446604826, 0.0020298292, -0.0349023342, 0.0124007184, -0.0007559473, -0.0432529263, -0.0997851938, 0.0341839567, -0.0127394646, 0.0468277223, 0.020374855, -0.0160966385, 0.0142946215, -0.0015341291, 0.0311206486, 0.0211816709, -0.0149601707, 0.0227946267, 0.0916285887, -0.0190173872, -0.0765353739, 0.0194909275, 0.0353134833, -0.0334159844, -0.0094862496, -0.009584493, 0.0171139594, 0.0360038504, 0.0151712038, 0.0191685688, -0.0390975922, 0.0092272693, -0.012135881, -0.0679904968, -0.0018304947, -0.0664656237, -0.0671035126, 0.0742046535, 0.0141699146, -0.0445606969, 0.0817129761, -0.0337099098, 0.0077597587, -0.0115549341, -0.0559122823, -0.0100619746, 0.0179213863, -0.0505666025, 0.0143134072, 0.007236836, -0.0428431593, -0.0346645303, -0.0219289772, -0.0125370231, -0.0275628846, 0.0553619266, -0.0748467296, 0.0057907067, -0.0104534887, -0.0292211846, -0.0653353333, -0.0188071821, -0.0300373882, -0.0123995924, -0.0141669568, -0.0001399409, 0.0071732975, 0.0017055825, 0.0253053792, 0.0168993566, -0.0293631051, -0.0029661206, -0.0234590042, 0.0091708545, 0.0446405523, 0.0023567171, 0.0139066018, -0.0277754702, 0.0438326225, 0.0612466335, 0.0304520968, -0.0249102954, -0.0435090289, -0.0095291557, 0.0571321063, -0.0201431401, -0.0292906296, 0.0604767613, 0.0311800372, -0.0716844574, -0.0167362764, 0.0870084539, 0.0237540789, -0.0415596813, 0.0076205013, -0.0616561845, -0.0058327923, 0.0048243906, 0.0474016368, -0.0986980423, -0.0094267875, 0.0250531062, 0.0262307432, 0.0167797692, -0.0231078118, -0.0025713183, -0.0861208737, 0.0728745833, 0.0113546113, -0.0145581039, -0.0418845043, 0.0054657389, 0.0162902866, 0.0216717925, 0.0764379054, 0.0111487545, -0.0175362751, -0.0400194116, 0.0161375552, -0.0315581784, -0.0226030946, 0.0032514285, -0.0411514007, 0.0841246992, 0.0618747175, -0.0059037069, -0.0087269694, -0.0542278923, 0.048518084, 0.0019651672, 0.0302144773, -0.0325636007, -0.0014326858, 0.0056495168, 0.017089108, -0.0094999494, 0.015597946, -0.0116506498, -0.0580504797, 0.0360217765, 0.0960623175, -0.0755393878, 0.005544554, -0.0429314263, 0.0097260913, 0.0397102311, 0.0612997562, 0.0358888172, -0.066777885, -0.0183340106, -0.060016647, -0.0159624275, -0.0272769704, -0.0285768621, -0.020285489, -0.0338735357, -0.0054474659, -0.0662565827, -0.0279925093, 0.0317135975, 0.0286727007, 0.038093511, -0.0237953924, -0.0170212779, 0.0101267621, 0.0142582608, 0.0041449452, -0.0447338037, 0.0520636961, -0.059818957, 0.0758590624, -0.0016671806, -0.0214773249, 0.0093304804, 0.0486592911, -0.0070412885, -0.0757775679, 0.0137922447, 0.0985500664, 0.0322607234, 0.0159142092, -0.0243823212, -0.0707000345, 0.0480833016, 0.0285405796, -0.0492736585, 0.0099181104, 0.0331295095, 0.0236895159, 0.0044762273, 0.0146231884, -0.073251754, -0.018889688, 0.0017745788, 0.0458348095, -0.0564495809, -0.0795941651, -0.0062082494, 0.0412311852, -0.0063996101, -0.0205522273, -0.0097127268, -0.0278737564, 0.032244049, -0.0096142096, -0.0235112421, -0.0053440048, 0.0485541187, -0.0236546509, -0.0513987355, 0.0205416437, -0.0342563353, -0.061333999, 0.0266302228, -0.0116955237, 0.024928933, 0.0060504274, 0.031632334, 0.047767695, 0.0382014811, -0.0214834604, 0.0291405786, 0.0213421714, 0.0321219452, 0.0068951766, 0.0464008898, -0.007068946, -0.0097849537, -0.0050337394, 0.0487968959, -0.0278078243, -0.0464646332, -0.0068220338, 0.0692840517, 0.0515009724, 0.0354682729, 0.0288649872, -0.0281874239, 0.0017896204, -0.0188793298, 0.0108253565, 0.0476855561, -0.0226902347, 0.0274962317, 0.034517549, -0.0140609294, -0.0308668874, 0.0441934355, -0.0165614188, 0.0506142229, -0.0104861623, -0.0205950029, -0.0591335855, -0.0317892767, 0.0224482659, 0.0137451133, -0.0451416112, -0.0457902625, -0.086266689, -0.0563055649, 0.0100545017, 0.0454933643, -0.0237227138, -0.0162210427, 0.0253896192, 0.0152879115, 0.0432676449, 0.0006118785, 0.0019943374, -0.0019274234, 0.0084312316, -0.0417323634, -0.0427222885, -5.639631778e-33, -0.0374458358, -0.0552012064, 0.0280394852, 0.0208442044, -0.0006722151, -0.0048304978, -0.0162141938, 0.021602137, 0.018897783, -0.011623539, -0.0363785475, 0.0005074212, 0.0182174165, -0.024085734, 0.0065873452, -0.0321541242, 0.0169471614, 0.0126547478, -0.0127677619, 0.0076596853, 0.0210771561, 0.0226057414, 0.0365638249, -0.1241953522, 0.0572267212, 0.0197705626, -0.0334811099, 0.038141612, -0.0491122976, 0.0708512142, 0.0023307537, 0.0676809922, 0.0024751374, -0.0283996128, -0.0097831106, 0.0620533302, -0.0195131116, -0.0490489937, 0.0357933082, 0.0071078842, -0.0200154074, -0.0723200813, 0.039858751, -0.0163084436, -0.0288330894, 0.0278070569, 0.0265306178, -0.0231795982, -0.000798344, -0.034990415, -0.0698858574, 0.0100537045, 0.009632458, -0.0246886835, 0.0110610919, 0.0397892743, 0.0121707413, -0.0095691774, -0.0486911722, 0.0069034062, 0.0172059983, -0.0291472934, 0.0778489485, -0.006494116, -0.0449001268, 0.0484936498, 0.0083472477, 0.001556529, -0.0142629724, -0.0427236706, -0.0109472349, 0.0632383525, 0.0301308278, 0.063703686, -0.0313758068, 0.0005538863, -0.0467762761, 0.0681451857, 0.0019601723, 0.073998712, -0.003805297, 0.008621064, -0.0474030338, -0.0103307646, -0.0126725258, 0.0251108333, -0.0251823775, -0.0350360349, 0.0333363451, -0.0286958478, -0.01615116, -0.026913492, 0.0031450302, -0.0279194377, 0.0204136502, 0.0015045769, 0.0257792119, -0.0084810248, 0.0117344605, 0.0437892713, 0.0124478899, 0.0054768706, -0.000587801, -0.0457148701, 0.0400273129, 0.0140514569, 0.0235527903, 0.0647140294, -0.0755270123, 0.0134798735, -0.0157253314, 0.0504615754, 0.022555165, -0.0029988517, 0.0077962801, -0.01526557, 0.0034607009, 0.0538184419, 0.0287638567, -0.0118357986, -0.0118138948, -0.0242872499, -0.0096625611, 0.0055880486, -0.0538919829, 0.0127416113, 0.0006216115, 0.0705064014, 0.0539742447, -0.0579749793, -0.0007071611, -0.0039305529, 2.684e-7, 0.0329420567, 0.0539312921, 0.0310500357, 0.0248841699, -0.0006102881, 0.0361518599, -0.0226049591, 0.0285499319, 0.0001005095, 0.011202055, 0.0248702895, 0.0006310158, 0.0385795236, 0.0611021481, -0.0812916458, -0.0037776348, -0.0458613932, 0.0182725601, -0.0693071187, 0.0000480093, 0.0645637289, 0.0396990217, 0.0051181368, -0.0381075442, -0.0109534124, -0.0324952118, 0.0067666066, -0.0382508934, 0.0142808538, -0.0012890591, 0.0529682711, 0.0131887011, 0.0271987636, 0.0170676019, -0.0128579615, -0.0093629649, -0.0294446833, 0.0851818323, -0.0166555196, -0.0161242634, 0.0332547948, -0.0546266213, 0.0194352306, -0.04821188, 0.0382016785, 0.011837244, 0.0244013537, -0.0246586986, 0.0002204501, -0.0462733842, -0.0110634584, -0.0508353002, -0.0061199334, 0.0068152384, 0.0073116249, 0.0010629026, -0.0177319236, -0.0413295403, -0.0140513405, 0.00942895, 0.0014427252, -0.05980362, -0.0074089966, 0.0244632885, -0.0047163386, -0.1067120209, 0.0230102353, 2.675074331e-34, 0.007271715, -0.0284178052, 0.0140153123, 0.058045961, 0.0382114165, 0.0398771316, 0.0010099427, 0.0268588774, 0.0303496402, -0.0339726284, -0.0427920669 ]
http://arxiv.org/abs/2406.10842v1
http://arxiv.org/pdf/2406.10842v1
Large Language Models for Automatic Milestone Detection in Group Discussions
2024-06-16T08:32:22
2024-06-16T08:32:22
Zhuoxu Duan, Zhengye Yang, Samuel Westby, Christoph Riedl, Brooke Foucault Welles, Richard J. Radke
cs.CL
cs.CL, cs.AI, cs.HC
Large language models like GPT have proven widely successful on natural language understanding tasks based on written text documents. In this paper, we investigate an LLM's performance on recordings of a group oral communication task in which utterances are often truncated or not well-formed. We propose a new group task experiment involving a puzzle with several milestones that can be achieved in any order. We investigate methods for processing transcripts to detect if, when, and by whom a milestone has been completed. We demonstrate that iteratively prompting GPT with transcription chunks outperforms semantic similarity search methods using text embeddings, and further discuss the quality and randomness of GPT responses under different context window sizes.
[ 0.0340944976, 0.0472279117, -0.0257944129, 0.0493581444, -0.0483848453, -0.0010551519, 0.0022928016, 0.0221702456, -0.0021527263, -0.0443253741, 0.0105776992, -0.0392062217, 0.0075282226, 0.0134008909, 0.0045362283, -0.0514250509, 0.063302584, -0.0090787802, 0.0061121737, -0.0001285323, -0.0066859568, 0.011120039, -0.0359637588, 0.0695073381, -0.0217264462, -0.0070589408, -0.0551589355, 0.0013451114, 0.0018521602, -0.0596612617, -0.0400445201, 0.0728369802, 0.0235450231, 0.0478065796, 0.0000018703, -0.040876016, 0.0025726839, -0.0323665179, -0.0434754044, 0.0141082844, 0.0012547907, -0.0019768504, -0.0220830683, 0.0142726619, -0.0282135997, -0.0351861902, 0.0259184353, 0.0316990353, 0.0548393279, 0.0689380094, 0.0088710496, 0.0023572517, -0.0098736705, -0.0176604446, 0.0619481541, -0.1185125858, 0.0093441829, -0.0011222607, 0.0528741702, -0.0015180354, 0.0097499657, 0.0145572936, -0.0179205127, -0.0283817071, -0.0263243672, 0.0322658755, -0.0267754216, -0.009223788, -0.0244252551, 0.052478157, 0.0235979464, 0.0061014225, 0.0139057217, 0.0165885575, -0.019924596, -0.0091833565, -0.0573438108, 0.0129515249, -0.0086851744, -0.0029178525, -0.0175930969, 0.0342815742, 0.0165058617, -0.0181402136, -0.0084376251, 0.0861656964, 0.0009635474, -0.0201876685, -0.0421976522, 0.0198534839, -0.029411843, -0.0589627214, 0.0137354759, 0.0191505123, -0.0647712722, 0.0406688005, -0.0081934007, 0.0441870242, 0.0224158783, 0.0181976408, -0.0253529008, 0.0221181326, 0.0031026627, 0.0680949315, 0.0207374096, 0.0448034666, 0.0079918429, -0.0587429851, -0.0288861897, -0.030460529, -0.0476028882, -0.0081474762, -0.0555702746, 0.0592062362, -0.0438387133, -0.0405630134, -0.0196090974, 0.0298143104, 0.0227285586, 0.0417777486, 0.0428712703, -0.0210722331, -0.0141428513, -0.0192768555, 0.022773603, -0.0100772856, -0.0330325551, 0.0029795405, -0.0127373552, -0.0398031473, -0.017844053, 0.0010802693, 0.0110248681, -0.0055677369, -0.0490459874, 0.0396025591, 0.0012551253, -0.0388297811, -0.009861947, -0.0225911122, -0.0313494653, -0.0601987205, -0.0318362005, -0.0288323294, 0.045785632, -0.002364204, -0.0115941083, -0.0011511835, 0.0084984349, 0.0140987458, 0.0214097891, 0.0749998838, 0.0476376973, 0.0468274355, 0.0301508233, 0.0333575271, -0.0055863997, 0.0575056411, 0.051755812, 0.0105712777, 0.0380844586, -0.0185073335, -0.0072871386, 0.0695286468, -0.007507266, -0.0140124382, 0.0257192925, 0.0145741655, 0.0214679129, 0.0595174767, -0.0195156541, 0.0580983907, -0.0265586805, -0.0207081195, 0.061970342, 0.1129682288, -0.051258374, -0.0122046433, -0.004096339, 0.0581256412, -0.0356176905, 0.0477398597, -0.0122601232, -0.0007393344, -0.0036522888, -0.0308924019, 0.0717557967, 0.0169399455, -0.0245724637, 0.009385692, -0.0223438703, 0.0068720346, -0.0109276259, -0.0087797418, 0.0326347388, -0.0279861558, -0.0749581754, 0.0292210225, -0.0035563565, -0.0279177446, -0.004406692, -0.025028592, 0.0357424617, 0.0172991492, 0.0801484287, -0.0348380022, -0.0239761323, -0.0280031636, 0.0310641825, 0.0282796398, 0.0137333386, -0.0142298816, -0.0163418148, -0.0354478694, -0.0096375477, 0.03912827, 0.0155276684, 0.0162872691, 0.0393670015, 0.0169927254, -0.0029684692, -0.0182206593, 0.0495291501, 0.0462458692, -0.0222301483, 0.0136429658, -0.0028975254, 0.0019792849, 0.0579676181, 0.0306574199, -0.0210723318, -0.0149511322, 0.0421767309, -0.0351545811, -0.0106531177, 0.0256598368, -0.0466589257, -0.0701429397, 0.009913764, -0.0143001443, -0.0209534932, 0.0212420542, -0.022719197, -0.044846043, 0.017891176, -0.0476118661, 0.0294306539, -0.0393391438, 0.0424516723, -0.0033231699, -0.0207795873, -0.0504266731, 0.0407484062, 0.0133702494, 0.0040240362, -0.0068730814, -0.0312039778, 0.0298958514, -0.0598421544, -0.0383094698, 0.0960249975, 0.0301950909, -0.0185332987, 0.0156381521, -0.0262506101, -0.0303861219, -0.0648786128, -0.0958142728, 0.0275889728, -0.0312455632, 0.0252449922, 0.0004226502, -0.0190210324, 0.0007559977, -0.0005343328, -0.00958753, -0.019917788, 0.060992118, -0.0170627553, 0.0153763229, 0.0293085799, -0.0577026568, -0.0510734245, -0.0113276821, -0.014460152, 0.0368731134, 0.0359383598, -0.0598072298, -0.0769273266, 0.0159547031, -0.0177661255, 0.0335182175, -0.023304129, 0.0045143464, 0.0511281528, -0.0123100458, 0.0708769485, 0.0630961359, 0.0330195278, 0.0602151677, -0.0184079316, -0.0501182005, -0.0469934493, 0.0054421611, -0.0346521512, -0.0126018953, -0.034857139, -0.0410801321, 0.02528999, 0.021558864, 0.0471753441, 0.0137409782, -0.0601660758, 0.0015821798, -0.0155859282, -0.0048215641, -0.0088167042, -0.0686180741, -0.042225942, 0.0074563548, -0.0250081699, -0.0219813641, 0.0511160791, -0.035799738, -0.0104758926, -0.0350384116, -0.0132457064, -0.0512998365, 0.1101199314, 0.0120643666, -0.0133470092, 0.0155522777, -0.0816343054, -0.027256256, 0.0225458033, 0.0056794332, -0.0419136621, 0.0372783728, -0.051580552, 0.0194828734, 0.0007184274, -0.0153456256, -0.0408309065, -0.0449914038, -0.0028431178, 0.0094594136, 0.047100924, -0.0177309383, -0.0683657303, 0.0479560047, -0.006976584, 0.0063640103, 0.0148959253, 0.0305293184, -0.0454316773, 0.0285768863, -0.0052676746, -0.0197068248, -0.0012434014, -0.0667512044, 0.0655104667, 0.0256250333, 0.0656536445, 0.0051260367, 0.0059678578, -0.0493010171, 0.021564316, -0.0563581772, -0.0439310707, 0.0434812754, 0.0591124929, -0.0624640584, 0.014484548, 0.1338080019, 0.0345917903, -0.0547407568, -0.0151378196, -0.0049376809, 0.0260312762, 0.004681272, -0.0053742616, -0.0836446881, -0.0164594706, 0.0252161231, -0.0077738548, 0.0133368429, -0.03922626, -0.0280708987, -0.0845322832, 0.0410944931, 0.0152370026, -0.0296160914, 0.0032711243, -0.0087287249, 0.0291762613, 0.0047887638, 0.0254897159, 0.010801971, 0.0006389935, -0.0113488948, -0.0021661876, -0.0750824288, -0.02575876, 0.038203001, -0.0287283659, 0.1006878093, 0.0637315139, 0.0573089495, 0.0038850456, -0.0169453602, 0.0674335361, -0.0125772152, -0.0134777734, -0.0125585888, 0.0278847367, -0.0111795468, 0.0198828392, -0.0343654566, 0.0106243407, 0.0187797509, -0.0126766227, 0.0378492735, 0.0589843579, -0.0772541091, -0.0443661511, -0.0014366166, 0.0453717262, 0.011408587, 0.087508209, 0.0387551002, -0.0242205299, -0.0234609935, 0.0189734474, 0.05448246, -0.0069350009, -0.0145543199, -0.0143570164, 0.0239441954, 0.0751500428, -0.0415909812, -0.0429664478, 0.0611824468, 0.0012170498, -0.0063334499, 0.0503104851, 0.0009802612, 0.0225965083, -0.0094232494, 0.0270487089, -0.0160910171, 0.0029205577, -0.1143038496, -0.0095668696, 0.0074114446, -0.0116458107, -0.0116429524, 0.0295449514, -0.1012191325, -0.0445159376, -0.0110430364, -0.0460492373, 0.0230238941, 0.0184946321, 0.0013157596, -0.0395225026, -0.0244642906, -0.0175000653, -0.0082960362, 0.0287766792, -0.0474954732, 0.0409835652, -0.0298114233, 0.0320784897, 0.0258533936, 0.0391658954, -0.0574296191, 0.0468043834, -0.0647872016, -0.0987813771, -0.0052506179, -0.0160989556, 0.0340737849, 0.0072457581, -0.0130535988, -0.0263070706, 0.018995773, 0.0121848742, 0.0110072577, -0.0309976507, -0.0385520533, -0.008374718, -0.0308315866, -0.0040394561, -0.0017716441, -0.0545367934, 0.0379930213, -0.0667290613, 0.0476937331, -0.0468699597, -0.0136629529, 0.0267393664, 0.0058075842, 0.0056421319, 0.0033588496, -0.011544154, 0.0349740498, 0.0028235854, 0.0612527952, 0.0116585912, -0.0207334142, 0.0439423062, 0.0205368977, -0.0445585325, -0.0237693898, -0.0012877483, 0.0176207665, 0.0429073088, 0.0204952657, 0.042499356, -0.0182304233, 0.0139128407, -0.0279087983, 0.0283980127, -0.0157962572, -0.0228173342, 0.0279849619, 0.0366051197, -0.0312189963, 0.0017623536, 0.0492595062, 0.0250555165, 0.0233619716, 0.0182475969, -0.0187644027, -0.0448924191, -0.0221172068, 0.0185709205, 0.0255498253, -0.0219437666, 0.0272356924, -0.0325991362, 0.0075803469, -0.0092161661, 0.0111863185, -0.0190529842, -0.0253346246, 0.0123432064, 0.0150002791, -0.0237682983, -0.0308543649, -0.0218015835, -0.0162004363, 0.0142201008, -0.0348904543, -0.0074063782, -6.070991552e-33, -0.0678335801, -0.0965930223, 0.0374768712, 0.0705555156, -0.0417723432, 0.0042563425, -0.0425907634, 0.0162151754, 0.0097491266, -0.0105308192, -0.0021158454, 0.0224929992, 0.0153406812, -0.0043955073, -0.0121815661, -0.0115364436, 0.0705088526, -0.0237251874, 0.0054046907, 0.0297191981, 0.0042106463, 0.0210735518, 0.0345364474, -0.0534306914, 0.0367031619, 0.0091336435, 0.0033407365, 0.0193549972, 0.0135088619, 0.0201271698, -0.0006779424, -0.0116676446, 0.0271657873, -0.0470019393, -0.029155381, 0.0640419573, -0.0426313318, 0.0101121394, 0.0347275808, 0.0137511352, 0.0130462069, 0.0142279239, -0.0061617186, -0.0330741517, -0.0133355679, 0.0150268395, 0.0205578022, 0.0154500632, -0.0422613658, 0.0253497977, -0.0418321453, 0.0569887348, -0.0183925219, -0.0277849287, 0.0735950619, 0.025905259, 0.0254854858, -0.0247890223, -0.0358225815, 0.0391371958, -0.0330993608, 0.0199814495, 0.0028227789, -0.0085081859, 0.023988381, 0.0698597059, 0.0656941086, 0.0149362506, -0.0497695357, -0.0597934835, -0.017835645, 0.0373919979, 0.0269079749, -0.0184069369, -0.0181165375, 0.0171320438, -0.0392969251, 0.023221992, 0.0210174285, 0.0164006855, 0.072499454, 0.0379050486, -0.0419807583, 0.0007840223, -0.0560715906, 0.0485704392, -0.0026939411, -0.0195060261, 0.0407708548, 0.0117749255, 0.0163751077, -0.0345938206, 0.0597576611, -0.0015055662, -0.0282137655, 0.0118738161, 0.0184682198, 0.0082731368, -0.0280776564, 0.0079369787, -0.0665978044, 0.0089539615, 0.036959976, -0.0168055315, 0.0227856729, -0.0239086915, -0.0399259143, -0.0059070475, -0.0671575218, 0.0078160698, -0.0278298426, 0.0453016646, -0.0630258247, -0.0356951915, 0.0523173958, -0.0160598364, -0.0004470932, 0.0584674962, 0.0140414992, -0.038472116, -0.0160383452, 0.0111246789, -0.0145249525, -0.0198004879, -0.0489673279, 0.0154925594, -0.0018587941, 0.0302624218, 0.0484457314, 0.0286134426, 0.011271324, -0.0117636435, 2.65e-7, 0.0203005765, 0.0665741488, 0.0446482413, 0.0465660244, 0.036297027, -0.0012722686, -0.0310337879, -0.021840319, 0.0049257767, -0.0192029886, 0.0492638424, 0.0327929184, 0.060440667, 0.030789651, -0.0839858204, -0.0321248546, -0.0408608466, -0.0259645991, -0.0674037859, -0.0305617731, 0.0352936946, 0.052589722, 0.0015653267, 0.0284558609, -0.0434497036, -0.0138056045, 0.0339667238, -0.0394303165, -0.0418571681, 0.0250001233, 0.0203515533, -0.0507331118, -0.0119457496, 0.0523236617, 0.0247270912, 0.0304428805, 0.0120914662, 0.0246694107, 0.0127401818, -0.0246027298, -0.0175499134, 0.0146953594, -0.024278963, -0.0127154812, 0.0477516204, -0.0270818938, -0.0391462035, -0.0040219175, -0.0121005485, -0.0452359505, 0.0096297069, 0.0255824849, 0.0179535747, 0.0270182379, 0.0118105225, -0.0145683978, 0.0295343529, -0.0755973756, 0.0123929149, 0.0371949822, -0.1090909317, -0.0230506994, -0.0221985281, -0.0144148879, -0.0328568816, -0.0326131508, -0.0298303664, 2.393525296e-34, 0.0217919089, 0.0034748497, -0.0147120748, 0.0515864007, 0.0537910983, 0.0030230824, -0.0326370187, 0.0047259335, 0.0362671353, -0.082065098, -0.0056741391 ]
http://arxiv.org/abs/2406.10839v1
http://arxiv.org/pdf/2406.10839v1
Reminding Multimodal Large Language Models of Object-aware Knowledge with Retrieved Tags
2024-06-16T08:20:12
2024-06-16T08:20:12
Daiqing Qi, Handong Zhao, Zijun Wei, Sheng Li
cs.CV
cs.CV, cs.CL
Despite recent advances in the general visual instruction-following ability of Multimodal Large Language Models (MLLMs), they still struggle with critical problems when required to provide a precise and detailed response to a visual instruction: (1) failure to identify novel objects or entities, (2) mention of non-existent objects, and (3) neglect of object's attributed details. Intuitive solutions include improving the size and quality of data or using larger foundation models. They show effectiveness in mitigating these issues, but at an expensive cost of collecting a vast amount of new data and introducing a significantly larger model. Standing at the intersection of these approaches, we examine the three object-oriented problems from the perspective of the image-to-text mapping process by the multimodal connector. In this paper, we first identify the limitations of multimodal connectors stemming from insufficient training data. Driven by this, we propose to enhance the mapping with retrieval-augmented tag tokens, which contain rich object-aware information such as object names and attributes. With our Tag-grounded visual instruction tuning with retrieval Augmentation (TUNA), we outperform baselines that share the same language model and training data on 12 benchmarks. Furthermore, we show the zero-shot capability of TUNA when provided with specific datastores.
[ 0.0440070927, 0.0383930244, -0.0036921324, 0.0577551946, -0.0064664772, 0.0096733607, -0.003004435, -0.0186311882, 0.0114672324, -0.1126647815, -0.0361942388, -0.0053903619, -0.0197326373, 0.024359744, 0.0377102122, -0.0708173737, 0.0102508711, -0.0216813236, -0.0142900087, 0.0109530073, 0.0296010207, 0.0069853654, -0.0193143785, 0.0302228257, -0.0815212354, -0.0246683657, -0.0253246855, 0.0069411607, 0.0033993176, -0.0611909032, -0.0096987998, 0.0120612187, 0.0382758453, 0.0016513737, 0.00000187, -0.0456988811, 0.0203595273, -0.0033395877, 0.0255598594, -0.0555425175, 0.0304045808, -0.0541054644, 0.0345569067, -0.0253594946, -0.0187993441, -0.0450554825, 0.0870681927, 0.0718738362, 0.0494235009, 0.041821003, -0.0333983935, -0.0310076121, 0.039402131, 0.007927211, 0.0518645905, -0.0392967425, 0.0031076234, 0.0500829145, 0.0108445669, 0.0583058521, -0.0604423173, 0.0728480294, 0.0219243225, 0.0037408522, 0.0579668619, 0.05027017, -0.0123527218, -0.0275705401, -0.0255958978, 0.0798059106, 0.0008334708, 0.0079841912, -0.0389434919, 0.0013817857, 0.0105278725, -0.0275878292, -0.0531024337, 0.0158439558, 0.0107487785, 0.003600552, -0.039441783, -0.0214943327, 0.0192903168, 0.0208830144, -0.0040497519, -0.0038045007, 0.0141721265, 0.0101619316, -0.0145672411, 0.0332556255, -0.0560477488, -0.0487268567, -0.0417803712, 0.0480861142, -0.0340770856, 0.0286882371, -0.0364393294, -0.0570732728, -0.0083293375, -0.0319596976, 0.0444888733, -0.0043448522, -0.0809010938, 0.0684358627, -0.0458071753, 0.0470103025, -0.032838095, 0.0140822809, -0.017813921, -0.0454331487, -0.0594098717, -0.0138348732, -0.0177379269, 0.0135343587, -0.0543188304, -0.048876036, 0.0117067574, 0.0207705777, -0.030945424, 0.0028154501, -0.0637875274, -0.0020839716, -0.0437965132, -0.0200553015, -0.039041698, 0.064854905, -0.0349288695, 0.0162738208, -0.0022503694, -0.0609300546, 0.0030546382, 0.0284092203, 0.0065190904, -0.034155827, -0.0118514011, 0.0615381822, -0.0683569163, -0.0374498554, -0.0436721854, -0.0252616033, -0.0290818047, -0.05228718, 0.0525483079, -0.040938396, 0.0225405768, -0.0038191357, 0.0220076405, -0.0284422264, 0.0033097437, -0.0042164768, 0.0055158478, 0.0888489932, -0.007556078, -0.0051621906, 0.0084292209, 0.0094883237, -0.0006861944, 0.0694848672, 0.0066455323, 0.0358547904, 0.0310425591, -0.0126469387, 0.0019832368, 0.0310839154, -0.0069875177, 0.0199718159, -0.0462335572, -0.0055763219, 0.0344329551, 0.0414051525, 0.0555669777, 0.0361436494, -0.0263085011, 0.0048366594, 0.0622109994, 0.0087161325, -0.0383802876, -0.0233778674, 0.0139248362, -0.0145355957, -0.0066940207, -0.0092561031, -0.0769110546, 0.0762766302, -0.0139527479, 0.0163005963, -0.0032502643, 0.0306888819, -0.0410066061, 0.0044449302, -0.0116379531, -0.0129828639, 0.0104702953, 0.0111637153, 0.06956698, 0.0338740125, -0.0286488105, 0.0000940234, 0.0006882007, -0.0247024242, 0.0220116451, -0.031089481, 0.0327092521, 0.0324492007, 0.0405060574, 0.0126013542, -0.026693007, 0.0091190748, 0.0764390901, 0.0625826791, 0.010851711, -0.02198698, 0.0293514282, -0.0390955359, -0.0567566827, -0.0132010905, -0.0149468258, 0.0141059579, 0.0177065171, -0.0116126016, 0.0223324895, -0.0479075424, -0.0010202974, 0.0569965355, 0.0335250013, -0.0027817283, -0.0357156955, 0.0261280835, -0.0248458944, 0.0016916459, 0.0113068027, -0.0118470248, 0.0259116385, -0.0235228185, 0.0094587337, -0.0119041763, -0.0192228276, -0.0000604018, 0.0278083738, -0.0125458678, -0.0163109805, -0.0101723373, -0.0345673971, -0.0250542033, 0.023988314, -0.0150533365, 0.0310766734, -0.0231561679, -0.0033373856, 0.0129165919, 0.0007608262, -0.0181740765, 0.0354245119, 0.0182845984, 0.0065276255, -0.0074138725, 0.0085204281, 0.0191254374, -0.0229664333, -0.0292051174, 0.0226024911, 0.0158428531, 0.0161582585, 0.0163432863, 0.0020306103, -0.0795067772, 0.0034617274, -0.1024775431, -0.0277691074, 0.0006089472, -0.0105607808, -0.0211888161, 0.0057024797, 0.0156962834, -0.0678319409, -0.0331752859, 0.0343119875, -0.0257570613, 0.0552833863, 0.0281880535, 0.033495333, 0.0143712433, -0.0126159061, -0.0041066404, 0.0176377483, 0.0638597608, 0.0160300769, -0.0263198838, -0.0314819328, -0.0376425721, -0.0500891171, 0.0386379361, 0.0048866551, -0.0002834541, 0.0501666144, -0.0358790308, 0.0839661658, 0.097612828, 0.0101395594, 0.0108607532, 0.0063502956, -0.0304679256, -0.0907738432, -0.0039730901, -0.003078786, -0.0635547861, -0.0203974713, -0.0006787013, -0.0114786793, 0.0386370495, -0.0348501056, 0.0018254464, -0.0471995845, 0.0070701889, -0.0005491615, -0.057093706, -0.070134677, 0.0206411723, 0.0203193482, -0.0179599822, -0.0368264727, -0.0436141752, 0.040098533, -0.0350760669, -0.0238707792, 0.0219843518, 0.00807657, -0.0061951759, 0.1044352204, 0.0210498013, 0.0287384037, -0.012093165, -0.0106666638, -0.0505528525, 0.0095038535, -0.0062081069, 0.013011707, 0.0266720895, -0.0375644714, 0.0211973879, -0.0192569606, -0.0093228631, -0.0262123644, -0.0066077122, -0.0326601528, -0.0100034988, -0.0554961413, -0.0042933221, -0.0275126584, 0.0053564054, 0.0442954823, 0.0106008193, -0.0092377719, -0.0254599061, -0.0355729498, 0.0096743517, 0.0519617386, -0.0038490177, -0.0339451209, -0.0469141826, -0.0066923145, 0.0461289175, 0.0338465683, -0.0486705974, -0.0644612089, 0.0461178645, 0.0284137409, 0.033468388, -0.0174120925, 0.0236498509, 0.0520863682, -0.0500011109, -0.0061064283, 0.0517354868, 0.0090996874, -0.036546763, -0.0235637631, 0.0255992431, 0.0231120232, 0.0367740244, 0.0183068868, -0.063852407, -0.0592560917, -0.0036553741, 0.0059299842, 0.0387947112, -0.0081191901, -0.024187794, -0.1054928675, 0.0231975056, -0.0145367486, -0.0394611098, -0.0411728285, -0.0059532556, 0.0164018348, 0.0067649786, 0.0062930752, -0.0056552314, -0.0220987145, -0.0013207031, 0.0217341781, 0.0716436729, -0.0239612777, -0.0098496648, -0.0637465492, 0.0393349417, 0.0673199296, 0.0147967236, 0.0280487239, -0.0303494316, 0.0417075604, 0.0487385094, 0.0036860078, 0.0002150515, 0.050682541, -0.0559994169, -0.0318944193, 0.0017986608, 0.0085371435, 0.0314557478, -0.0382105485, -0.027312303, 0.0767319724, -0.0060023461, 0.0087861819, -0.0311103817, -0.025194183, 0.0110069839, 0.0652513131, 0.0090538589, -0.0350918882, 0.0009537293, 0.0123497173, 0.0168105345, -0.0094412882, 0.0304985829, 0.0191536434, -0.0737486929, -0.0093674511, -0.0667755306, -0.0363120399, 0.061037112, 0.0509918854, 0.0283505339, -0.0170238204, -0.0294533987, 0.00598469, -0.0553007163, 0.0843214393, -0.0391542725, 0.0029622091, -0.0539083742, -0.0133708073, 0.0122541701, -0.0331040323, 0.003913776, 0.0309936181, -0.0443986505, -0.0147046056, -0.0261330344, 0.0391562991, 0.0109300762, 0.0352839306, 0.0247188658, -0.0889722407, -0.0295349881, 0.0630895793, -0.0211272724, 0.0076820077, -0.0251328778, -0.024775926, 0.0014282818, 0.0234229285, -0.0669214055, 0.0199765917, 0.0137833953, 0.0552134179, 0.0064188163, -0.0042968616, 0.0008552916, 0.0148668019, 0.0357895494, -0.0353987925, 0.0059530428, -0.0313438512, -0.0140592782, 0.0040301466, -0.0208661631, -0.0593839511, 0.0294678379, 0.0033338864, 0.0183030069, 0.0266257115, 0.0053062467, 0.0452440344, 0.0858915299, -0.0328743942, -0.0367143415, 0.0045768297, -0.0365846977, -0.0033692692, 0.0557688288, -0.0139099313, 0.0002614276, -0.0033422369, 0.038646359, -0.0332179815, 0.0862859264, 0.0488128364, -0.0220196955, -0.047163602, 0.0192184784, -0.0049754363, 0.0034822489, -0.0255147815, 0.0452255867, 0.0125747416, 0.0040376368, 0.0391275436, -0.0420435034, -0.0150179463, -0.0163328554, 0.0468179211, -0.0074121095, -0.0673760921, 0.0483465083, 0.0255864616, 0.0035150913, -0.0089779329, 0.0416513234, 0.0021843708, 0.031646315, -0.0043158541, 0.0016094933, -0.0172106363, -0.0061810734, 0.0677377582, 0.0198148843, 0.00377567, 0.0457316674, -0.006410548, -0.050111711, -0.0190631784, 0.0150858937, -0.0538477525, 0.0113010677, 0.0492285453, 0.0350820944, 0.0291913841, -0.0449057892, -0.0231509451, 0.0128955794, 0.019166464, -0.0022477508, -0.0093630087, -5.670220345e-33, -0.0403884649, -0.0381289907, 0.0361706167, -0.0285853744, -0.019873431, 0.0267360881, -0.0272890944, 0.0196418371, -0.0258918647, 0.0240186155, 0.0396301895, -0.0158115067, -0.00188843, 0.056749139, 0.0166747812, 0.0101322941, 0.0320690796, 0.0197582543, -0.0025554595, 0.0117490115, 0.0462663285, 0.0208559055, 0.0660035312, -0.0268725771, 0.0436751284, 0.0285427235, -0.0328920744, 0.0403923281, 0.0531893186, 0.0588969737, -0.0370008983, 0.0574263111, 0.0138091352, -0.0116232457, -0.0395726562, 0.0416903459, -0.102868937, -0.0086193494, 0.0247910488, 0.0489976816, -0.0581965707, 0.0058266846, 0.0318978168, -0.0282758158, 0.0235971101, -0.0223531313, 0.0473407954, -0.0110142762, -0.0109570241, 0.0261146054, -0.0586992539, -0.012100325, -0.0012947605, -0.0292452443, 0.0623047464, 0.0356122479, 0.0367237292, 0.0341142565, -0.0494524017, 0.0436519235, -0.0160472933, 0.0178850684, 0.0786413401, 0.0825060606, 0.0048525827, 0.0844064429, 0.0337409526, -0.020070862, -0.0210804623, 0.0308967605, 0.0542989187, 0.0424063876, 0.0201225691, 0.0657586381, 0.0122699253, 0.0472332425, -0.0176285617, 0.0067848708, -0.0549522005, 0.0548305809, 0.0223161094, 0.0157573018, -0.0235109814, 0.0027752067, -0.038353119, 0.0104247732, -0.0478587821, -0.0262562446, 0.0596972294, 0.0027781182, 0.0012231893, 0.0505006611, 0.0800199583, -0.0194153897, -0.0467738584, -0.0155070014, -0.0141807664, 0.0781696588, -0.0115211615, 0.004748249, -0.0376295447, -0.0423886217, 0.0816541836, -0.0324841179, -0.0042068134, 0.0324694552, 0.048780255, 0.0117054814, -0.0583721697, -0.017889671, -0.0404349267, -0.0169724934, -0.0087889265, -0.0069104955, 0.0240572263, 0.0146005843, -0.0524338707, 0.0710292682, 0.0180319343, 0.0045090117, -0.0090892017, -0.070941031, 0.0012742274, 0.0055260146, -0.0182549004, 0.025638558, -0.0555825084, -0.0507434197, 0.0224647596, -0.053754691, -0.0062780241, 0.0406211391, 2.534e-7, 0.0246239621, 0.0027508587, 0.0124820024, 0.0079704542, -0.019883655, 0.063548319, -0.0032023536, 0.0347552001, 0.022647731, -0.0402658731, -0.0433901362, 0.0515468754, 0.0046967529, -0.0132006854, -0.0462498069, 0.0164381377, 0.0077349478, 0.009575773, -0.0693760663, 0.0052231466, 0.0354750492, 0.0419253297, -0.0145475483, -0.0135004297, 0.022665862, -0.0353621282, 0.0809213072, -0.0221868921, -0.0239775442, -0.0089934049, 0.0189315993, 0.067631565, 0.0105287116, 0.0325212851, -0.0061381785, -0.0397901684, 0.0435018651, -0.0005180932, -0.0382454172, -0.0275074281, -0.0294447206, 0.0109074935, -0.0341857858, -0.0392050818, 0.0530149825, -0.0717355385, -0.0241673514, 0.0032679657, -0.0253967158, -0.00069407, -0.0248273984, -0.0291568376, -0.0689269006, 0.0005125219, 0.0441938601, -0.0003377083, -0.0451109409, -0.0598836392, -0.0186351333, 0.0071422183, -0.0143778222, -0.0451106988, -0.0528014638, -0.0036808653, 0.0099724503, -0.0679363161, -0.0680277422, 1.648808414e-34, -0.0227023549, 0.0190732572, 0.0117606446, 0.0426595248, 0.0246867891, -0.0100867003, -0.0614644699, 0.0075507215, -0.0057649491, -0.0792167708, -0.0103879329 ]
http://arxiv.org/abs/2406.10834v1
http://arxiv.org/pdf/2406.10834v1
Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning
2024-06-16T08:06:05
2024-06-16T08:06:05
Joykirat Singh, Akshay Nambi, Vibhav Vineet
cs.CL
cs.CL, cs.AI, cs.LG
Large Language Models (LLMs) have been applied to Math Word Problems (MWPs) with transformative impacts, revolutionizing how these complex problems are approached and solved in various domains including educational settings. However, the evaluation of these models often prioritizes final accuracy, overlooking the crucial aspect of reasoning capabilities. This work addresses this gap by focusing on the ability of LLMs to detect and correct reasoning mistakes. We introduce a novel dataset MWP-MISTAKE, incorporating MWPs with both correct and incorrect reasoning steps generated through rule-based methods and smaller language models. Our comprehensive benchmarking reveals significant insights into the strengths and weaknesses of state-of-the-art models, such as GPT-4o, GPT-4, GPT-3.5Turbo, and others. We highlight GPT-$o's superior performance in mistake detection and rectification and the persistent challenges faced by smaller models. Additionally, we identify issues related to data contamination and memorization, impacting the reliability of LLMs in real-world applications. Our findings emphasize the importance of rigorous evaluation of reasoning processes and propose future directions to enhance the generalization and robustness of LLMs in mathematical problem-solving.
[ -0.0046259649, 0.0736216977, -0.0028758624, 0.0417019352, -0.0702257752, 0.0160446279, 0.0031870594, 0.0039026388, -0.0254568774, -0.0192366578, 0.0276300218, -0.0487970337, 0.0329118855, -0.0170181971, 0.0318456441, -0.0053882184, 0.0404965393, -0.0417393483, 0.0161985289, 0.0009355698, -0.0162608288, -0.0073614866, -0.0309990477, 0.0002773371, -0.0517266504, -0.0709118769, 0.030223269, -0.0550633296, -0.001551041, -0.0316405967, 0.0162176397, 0.0559950136, 0.0147224143, 0.08666379, 0.0000024796, -0.0489503406, -0.0082393195, -0.0054770061, -0.0439105853, 0.0514674596, 0.0060141236, -0.0047330963, -0.0057789483, 0.0445756353, -0.0314136818, 0.0026469799, 0.0244093146, 0.0234300476, 0.0537922531, 0.0540999472, 0.0011811135, -0.0180221442, 0.0411358774, -0.0237381458, 0.0435805544, -0.057898894, 0.053366486, 0.0691839531, -0.0012872885, -0.0199254304, -0.0554322526, 0.0294148438, 0.0288818143, 0.0228280537, -0.0552534051, -0.0071519595, -0.0162606388, 0.0154301673, -0.0169450454, 0.0524228178, -0.0253893398, -0.0129747875, -0.0208966658, -0.0252609551, -0.0316575468, 0.0357047915, -0.057029631, 0.0409844182, -0.0294932425, -0.0016451863, -0.0280753095, -0.0297180954, 0.0402168669, 0.0209328569, -0.0335020795, 0.1161340177, 0.0130828731, -0.053591121, -0.0186338127, 0.0088477097, -0.0659888387, -0.0356760621, 0.0398680642, 0.0423029959, 0.0271423236, 0.058221031, -0.0197687652, -0.0295556877, 0.0109452773, -0.0227502529, 0.027205795, 0.060444098, 0.0269672889, 0.0301189795, -0.0129420869, 0.0599830039, -0.0156481545, 0.0306262355, -0.0016514695, 0.0434515961, -0.0245291833, -0.0325188711, -0.005964586, 0.0283445381, 0.0249188468, 0.0126341796, -0.0453684069, -0.0171416644, -0.0472068936, 0.0243979916, -0.0158691537, -0.0577773713, 0.0112883318, -0.0526952073, -0.0485032834, 0.0095971795, -0.0067989142, 0.043648582, -0.005413543, -0.0451184213, -0.0357890166, -0.0242140479, -0.027608918, -0.0193821471, 0.021982424, 0.0607932061, 0.0131349741, -0.0149590615, -0.0306130275, -0.0210181959, -0.0055733398, -0.0876479149, 0.0030758958, -0.1007368267, 0.0389102027, 0.0080143716, -0.0175477676, -0.0493790135, 0.0248644501, 0.0187593643, 0.0029747442, 0.0583311096, 0.0118447598, 0.0179915093, 0.022995146, 0.0271749869, -0.0278738942, 0.0339985564, 0.0733376294, -0.0442135707, 0.0079490943, -0.0137797175, 0.0385579616, 0.047722403, 0.0150162503, 0.01114411, -0.0097254151, -0.0207434259, 0.0120591531, 0.0717170835, -0.0070092375, 0.0799903423, -0.0539796911, 0.0159104224, 0.040720012, 0.0570838004, -0.0184938312, 0.0096441777, 0.0081684673, -0.0152902612, 0.0540056042, -0.018454602, -0.0691742301, -0.0099399146, -0.0370573923, -0.0110295303, -0.0034138947, 0.0177321397, -0.0012576299, -0.0625159964, -0.0586573482, 0.0096037146, -0.015828263, 0.0164265614, 0.0721885264, -0.0412238277, -0.0322664678, 0.05948513, -0.0065363338, -0.0476759002, -0.0059208106, -0.0598617643, 0.0486291051, 0.0204263199, 0.0898866653, -0.0402265415, -0.0296431221, -0.0160328485, 0.0167073458, 0.005117279, 0.0411554798, 0.0240800567, -0.025515208, -0.0442755632, 0.0035267218, -0.0017250824, 0.0287389848, -0.023138715, 0.0589413643, 0.0178536959, 0.0211157259, -0.0391898938, -0.0005553158, 0.0188478325, -0.041282285, -0.0366086327, -0.0424253643, -0.0177016146, -0.0096077546, -0.0185222253, 0.0224545859, 0.0446960069, -0.0132820271, 0.0113177104, -0.0143431602, -0.0301968027, -0.0753724426, -0.004345661, 0.0906990841, -0.0296480209, -0.0506185405, 0.0157630127, -0.057464581, -0.0177816786, 0.0270585362, -0.0469450653, 0.0104405284, -0.0155625753, 0.0413679965, 0.0115287639, -0.0218569655, -0.0016664556, 0.0801847726, 0.002328201, 0.0517404899, -0.0273162611, 0.0044679451, 0.0225899015, -0.0131644299, -0.0036809102, -0.0018921812, -0.0121931592, 0.0264840387, -0.0256666578, 0.0086004082, -0.0508686453, -0.0209906716, 0.016238302, 0.0116460174, 0.015408, 0.0603211485, -0.0108035142, -0.0453599505, -0.0253114086, 0.0159551892, -0.0173293799, -0.0125893122, 0.0155537752, -0.0076057306, 0.0402347669, -0.0309551433, -0.0145549541, -0.0276468191, -0.0417347103, -0.0676617846, 0.0112416185, 0.0080017848, 0.0098637762, -0.0555734225, 0.0635321736, -0.0427130051, 0.0032820369, -0.0019501667, 0.0166095905, 0.0191265307, -0.0122907329, 0.0620907545, 0.0470646396, -0.0228314362, 0.0308750123, 0.0433875844, -0.0675942004, -0.040360257, 0.0038455438, -0.0150236487, -0.0163785536, 0.024891207, -0.0420308821, -0.0442452468, 0.0615642481, 0.0031631924, -0.0305077583, -0.0238432828, 0.0721762106, -0.0462663881, 0.029176347, -0.037938457, -0.0206039567, -0.0136188222, 0.0412955396, -0.0277290158, -0.043050997, 0.0528568961, -0.0018167786, 0.0247626342, -0.0634718761, 0.0526915714, -0.0433559529, 0.0161221083, 0.0097275134, -0.020438008, -0.0556114763, -0.022359658, -0.031438753, -0.023534175, 0.0531906746, -0.053600803, 0.0821515024, -0.0909943581, 0.0082355784, -0.0161163677, -0.0438706726, -0.0191434845, 0.0249229427, -0.0143162683, -0.0090988362, -0.0328592733, -0.0203641839, -0.0274884384, -0.0084230145, 0.0302571896, 0.0213568546, -0.0395994149, -0.0326919407, -0.0029877706, 0.0035876499, 0.0051811077, 0.0021775116, 0.0754932687, -0.0637392029, -0.0000712007, 0.0302959718, 0.0865607411, 0.0048787938, 0.0047592856, 0.0258369222, 0.0295875482, -0.0166701898, -0.0349753089, 0.0474286936, 0.0400650464, -0.1086161658, -0.0186276957, 0.0879546106, 0.0555613749, -0.0029228888, -0.0079798112, -0.048693914, 0.0015067619, -0.0127676567, -0.0056211506, -0.0818897933, -0.0286336113, 0.0441935956, 0.0092298286, 0.0157548524, -0.0432822369, -0.0126432134, -0.1216802523, 0.0385510363, 0.0602529421, -0.010643566, -0.0226760525, -0.0350542106, -0.003426766, -0.0006658352, 0.0264742952, 0.0317621715, -0.0122291399, 0.0195338912, 0.0280882716, -0.0383863524, -0.0441801995, 0.0404506028, -0.0054881363, 0.0073342426, 0.0039169337, 0.0114587983, -0.0278269518, -0.0896524414, 0.0598818474, 0.029924944, -0.0657892302, -0.0023196994, -0.0029375502, 0.0082878051, 0.0180137362, -0.0341039188, 0.0281175151, -0.0524770431, -0.0554362461, 0.0199125465, 0.1286443323, -0.0056658546, 0.0033063393, -0.0036494178, -0.0047915997, -0.0235346816, 0.0632598251, 0.0152395591, 0.011060074, -0.067124553, -0.0322708413, -0.0104862358, -0.0128038954, -0.0087521495, 0.0188234802, 0.0421863124, -0.0025587138, -0.0090492312, -0.0321470015, 0.0662244111, 0.0065843994, 0.0110525796, -0.0082179597, 0.0140320472, -0.0002588016, -0.0240615122, 0.0445281863, -0.0450768396, 0.0605999418, -0.067181617, 0.062197715, -0.0314279757, -0.0034885947, -0.0105182035, 0.0349919982, -0.1258048266, -0.0556555837, 0.0150863733, 0.0247522481, 0.0281203073, -0.0269964635, 0.001908378, -0.0047405353, -0.0186716784, 0.0096493112, -0.0322167799, 0.0128762629, 0.0116781788, 0.0033785014, 0.0270169936, -0.0101313144, 0.0123171983, -0.0018446764, 0.0027031205, 0.0714229345, -0.02141078, 0.0053784028, 0.0368664525, 0.0451352634, 0.0169095341, 0.008784079, 0.0174982827, -0.0204110872, 0.0001856186, -0.032205727, -0.0052835797, -0.0212772712, 0.0166634079, 0.0213597137, -0.029670069, -0.0177119486, -0.0439280607, 0.006882539, 0.0205565523, 0.0214634761, 0.0494414829, 0.0113380747, -0.0095745055, 0.058379434, -0.0541359819, 0.0124182999, -0.0011842698, -0.0302959327, 0.0547814742, 0.0122339288, 0.0824320987, 0.0128231561, 0.0095350184, -0.0330559164, -0.0304124113, -0.0065210834, -0.0926418677, -0.0122134127, 0.0398670658, 0.0218413286, -0.0021068929, 0.0167624913, -0.0642433167, -0.0043937382, -0.0269760527, 0.0008033614, 0.0020192319, 0.0032281762, 0.0504509509, 0.031490311, 0.0168408565, -0.0409730673, 0.0440238528, -0.0237039141, 0.0442821868, -0.0149434274, -0.0196563751, 0.0000769497, -0.0338945352, 0.004847086, -0.0133992238, 0.0051846253, -0.0154283689, -0.1224165782, -0.0730156526, -0.0215583239, 0.0325491913, -0.0115901772, -0.0068157087, 0.0015815789, 0.083964847, -0.0361456946, -0.0017838564, 0.0108579341, 0.0301053021, -0.0224294569, -0.0213853233, -0.0132460073, -6.125497389e-33, -0.0249578599, -0.0601015463, 0.0637656227, 0.0215622932, -0.0068936488, -0.0208428055, -0.0243915729, 0.0298857037, -0.0017477657, 0.0081520854, -0.0078807715, 0.0399659388, 0.0029258556, 0.0118273189, 0.0137464432, 0.0029386398, -0.0186639316, 0.0066849557, -0.0497789457, -0.0329291523, 0.0201475192, -0.009501812, 0.0711676031, -0.0395035669, 0.018147802, 0.0116785271, -0.002936115, 0.0270918291, -0.08356262, 0.0469320081, 0.0020991361, 0.0345183276, 0.0024624779, -0.008444435, -0.0153299319, -0.0028652069, -0.0285406988, -0.0401907712, 0.0258983634, 0.0092973029, -0.0327828266, -0.0419301279, 0.0366307162, 0.0224302616, -0.0445268005, -0.0269567408, -0.0038149955, -0.0273378864, -0.0214327797, 0.0396830291, -0.028124854, 0.0531648174, 0.0044912458, -0.0180658679, 0.0135707716, -0.0007998517, -0.0274312478, 0.0036151635, -0.0649151206, 0.0148286363, 0.0632623136, 0.0204648208, 0.0489698462, -0.0141748702, -0.0189937185, 0.0363746807, 0.0151683353, -0.0285930168, -0.0009843054, -0.020143168, 0.0316069983, 0.0224508923, 0.0919119939, -0.0014627309, 0.0702746511, -0.0162965879, -0.0505211204, -0.0163247045, -0.0133011313, 0.0514902174, 0.0144536998, -0.0085213408, -0.0626499802, -0.0219009109, -0.048280403, 0.0418982878, -0.0393994302, -0.004258174, 0.0398407243, -0.0290806908, 0.0275391974, 0.0017941608, 0.0061497367, 0.0043081515, -0.0334700346, -0.0032236483, 0.0113422973, 0.0080329636, -0.0260924976, 0.0506452434, -0.0620269924, -0.0080371583, -0.0324252993, 0.0139531521, 0.0179156661, 0.0047534653, 0.009336872, 0.0301838554, -0.0459736623, -0.010061902, -0.0505923219, -0.0041017523, 0.0505559072, -0.0077308523, 0.0480152816, 0.0116934869, 0.0116369892, 0.0037224542, 0.0027709401, -0.0347131304, 0.0026476369, 0.0307358056, -0.0346325152, 0.0120884273, 0.0039148289, 0.0006582582, -0.0213886444, 0.0260821916, 0.0382195078, -0.0492653288, 0.018580569, 0.0040997406, 3.084e-7, 0.0516596623, 0.0718890354, 0.0275195353, 0.0213828832, 0.0161773618, 0.0239629876, -0.0598006621, -0.0526615232, 0.0148570277, 0.0092830611, 0.0182727687, 0.0542530492, 0.0722338334, 0.0367633924, -0.0009551, 0.0230316333, -0.0188484527, -0.0139169339, -0.0611380376, 0.0039192573, 0.0651250035, 0.040098384, 0.0411771685, -0.0152682411, -0.0366364829, -0.0482240021, 0.0551722161, -0.0186724197, -0.0103082508, 0.0180401653, 0.0388608873, -0.0185421202, 0.036463812, 0.021125216, -0.0017358265, 0.0140246945, 0.0362604372, 0.0631543323, 0.0077979513, 0.036565531, -0.0370472297, -0.0319508612, -0.0261294637, -0.0543354303, 0.0499120504, -0.0480000116, -0.0200013258, 0.0121306395, -0.0088658677, -0.05023982, 0.0374606401, 0.0046931491, 0.016043501, -0.0016958754, 0.0189792551, 0.0054667583, -0.0007298845, -0.054441601, -0.0105816498, 0.0309128277, -0.0286871959, -0.051203344, -0.0365073793, 0.0159200523, 0.0284998305, -0.0315381289, -0.0355340652, 2.914668549e-34, 0.0376333818, -0.0389492102, 0.0279586334, 0.021039864, 0.0399144813, 0.0062260991, 0.0083060712, 0.0344849117, -0.0172438174, -0.0390982591, -0.0082828775 ]
http://arxiv.org/abs/2406.10833v1
http://arxiv.org/pdf/2406.10833v1
A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discovery
2024-06-16T08:03:24
2024-06-16T08:03:24
Yu Zhang, Xiusi Chen, Bowen Jin, Sheng Wang, Shuiwang Ji, Wei Wang, Jiawei Han
cs.CL
cs.CL
In many scientific fields, large language models (LLMs) have revolutionized the way with which text and other modalities of data (e.g., molecules and proteins) are dealt, achieving superior performance in various applications and augmenting the scientific discovery process. Nevertheless, previous surveys on scientific LLMs often concentrate on one to two fields or a single modality. In this paper, we aim to provide a more holistic view of the research landscape by unveiling cross-field and cross-modal connections between scientific LLMs regarding their architectures and pre-training techniques. To this end, we comprehensively survey over 250 scientific LLMs, discuss their commonalities and differences, as well as summarize pre-training datasets and evaluation tasks for each field and modality. Moreover, we investigate how LLMs have been deployed to benefit scientific discovery. Resources related to this survey are available at https://github.com/yuzhimanhua/Awesome-Scientific-Language-Models.
[ 0.0460398346, 0.0578860417, 0.0097245993, 0.0186252408, -0.0226845574, 0.0168312062, 0.0191008728, 0.0442510918, 0.011998212, -0.0303527005, -0.0522639006, -0.0279178545, 0.0007725434, 0.0518252775, 0.0162129793, 0.0188162625, 0.0236399155, -0.0415602848, 0.0171064157, -0.0153534152, 0.0032008095, -0.0078498982, 0.0260033384, 0.0079194317, 0.0407320112, -0.0151385032, 0.0393513329, -0.0260264054, 0.0282484759, -0.049918551, -0.0284428466, 0.0400133282, 0.0350670926, 0.0833115429, 0.0000014836, -0.0594895296, 0.0029301988, 0.0367693268, -0.003511545, 0.0543463603, 0.0507310927, -0.0400177911, 0.0076543074, -0.005596064, -0.0064930022, -0.0307188258, 0.0780057907, -0.0023540684, -0.0044327644, 0.0307294093, 0.0047210385, -0.0615481026, 0.0325288847, -0.0305904467, 0.0276840758, 0.0069912234, 0.1125506312, 0.0194605421, 0.0377848446, 0.056312196, -0.0140887313, 0.029667899, -0.0134008285, -0.0385593213, 0.0036870716, 0.0658496022, -0.0118827326, -0.0352022462, 0.0141705833, 0.076090835, -0.0016551244, -0.0560452305, 0.0058427225, 0.0071271639, -0.0516782142, 0.0245666653, -0.0529449955, 0.0208381265, 0.0268838517, 0.0285453368, 0.040925689, 0.003353511, 0.0572989583, 0.0386356115, -0.0266023446, 0.073474139, 0.0469191149, -0.0207128692, -0.0124261994, -0.0220357943, -0.0464233235, -0.0421837904, 0.0395828635, 0.001598065, 0.0168971773, 0.0134249749, 0.0044859773, -0.0405333415, 0.0552902184, -0.0237752218, 0.0258335806, -0.0138164898, 0.0159953702, 0.0634072721, -0.023447793, 0.0144260051, -0.0569474883, 0.0100953178, -0.017448321, -0.014787524, -0.0534664728, -0.0261945445, 0.0034349584, 0.0101697715, -0.010114722, -0.0125186443, -0.0379339047, 0.010576563, 0.0485710017, -0.0176403616, 0.0175723154, -0.0180783514, -0.0247146077, 0.0000463196, -0.0011664965, 0.0361234806, 0.0032052018, 0.0039573149, -0.0293958019, -0.0381113701, -0.0239679739, 0.0385286324, -0.0140762134, -0.0355006941, 0.0260246266, 0.055187203, 0.0458383039, -0.0346451066, 0.0334644429, -0.0019184311, -0.0399298333, -0.0793056861, 0.0026777047, -0.0481445342, 0.0190484822, 0.0257543847, 0.0160585158, -0.018599866, 0.0065761921, -0.019351121, -0.0514397658, 0.071032159, -0.0465062894, -0.0236771367, 0.0362410247, 0.00785858, 0.0466003753, 0.030275248, 0.0249912683, -0.0235826001, 0.0276406165, -0.0403895937, -0.0013169538, 0.01684759, -0.0008918762, 0.0015002794, -0.0281610955, 0.021529546, 0.0176587347, 0.059881676, -0.0012022374, 0.0421886817, -0.0249523129, -0.0323162526, 0.0415067598, 0.0663112625, 0.0233977493, 0.031367097, 0.0101266578, -0.0117675588, 0.0143664982, -0.0342203826, 0.0095592979, 0.0293675773, -0.0443106331, 0.0135061219, 0.0540667772, 0.0399019048, -0.0222564414, -0.0059522721, -0.0426416509, -0.0098631587, -0.0163105093, -0.0381142609, 0.083804138, -0.0343076512, -0.0178452078, -0.0075840573, 0.0611591749, -0.0367602594, 0.0327071548, -0.0331560597, 0.0498581678, 0.0402181447, 0.0612094067, -0.0526726805, -0.0140119884, 0.0188900139, 0.015579314, 0.0503537655, 0.0170006622, -0.009235125, -0.0414035134, -0.0370106474, -0.0138034308, -0.0158950873, 0.008653488, -0.0220435988, -0.0015984826, 0.0082100937, 0.0056597451, -0.0354029797, -0.0227032267, 0.0397936143, -0.0353356712, -0.0018116503, 0.0052912347, -0.0613919012, 0.0424035788, -0.0002352665, -0.0377092846, 0.0426753834, 0.0800928697, -0.0564581864, -0.0147212073, -0.0161605366, 0.0339011475, -0.0467716642, 0.0555348285, -0.0071705971, 0.0286325384, 0.0070163193, -0.0072786715, -0.0268131495, 0.0645754784, -0.0199696757, 0.016029818, -0.0287988149, 0.0110594342, -0.0439137258, 0.0340086631, -0.0307995267, 0.0442455485, -0.0022830919, 0.0546880402, 0.0112952832, 0.0061366009, 0.0184785705, -0.0249537323, -0.0289865918, 0.0215730816, 0.032975968, -0.0103496909, 0.0295621809, -0.0444590747, -0.0054621301, -0.0231611561, -0.0290941093, 0.001749312, -0.0097245742, 0.0239471905, -0.0020038057, -0.0220297184, -0.0099281017, 0.0320475772, -0.0033105772, -0.0018762465, -0.0030096127, 0.0074927211, 0.0390487686, -0.0035090849, -0.0584930293, -0.0499458462, -0.0478577651, -0.0332082734, 0.0856346637, 0.0049831388, -0.0510982871, -0.0495278127, 0.0153924115, -0.0181447491, 0.0073980368, -0.0148936557, -0.0250248257, 0.0235016458, -0.0262378063, 0.0309462622, 0.0445592739, 0.0044110352, 0.0080037527, 0.0618958585, 0.012055519, 0.0005788358, -0.031528879, -0.052494403, 0.0147081818, -0.0138664115, 0.0005122575, -0.0060095163, 0.0719299689, -0.0546027943, -0.0320828483, -0.014935866, 0.0313034244, -0.0251308996, -0.010358098, 0.0148024308, -0.0006997549, -0.0140579492, 0.0004430864, 0.021803014, -0.0644811392, 0.0637395382, -0.0569017529, -0.0176503602, -0.068165943, -0.0026740031, -0.0314703621, 0.026836466, -0.0014090546, 0.0083485311, 0.0086584529, 0.0157844312, 0.0366455801, 0.0151252355, -0.0366520919, -0.0223940499, 0.0058196913, -0.0264025852, 0.0462064445, 0.008751384, -0.0184511412, 0.0191565249, -0.024355175, -0.0484368615, 0.0454466566, 0.0349576138, -0.0756824985, -0.0567112751, 0.0304905586, 0.0323190875, 0.0000568578, -0.0291718841, 0.0113674216, -0.0224536974, 0.0003364039, 0.0783321187, -0.0400962979, 0.0498983487, -0.0411537848, 0.0243385918, 0.0395797007, 0.0078469906, 0.0287004821, -0.0079292264, -0.0373873264, 0.0251961388, -0.0074744867, -0.0037100674, -0.0062072948, 0.0138936313, -0.0111980224, -0.0185012091, 0.0974589214, 0.0247648973, -0.0665843859, 0.009891863, 0.0215561502, 0.0205018241, 0.0043745213, 0.0246963222, -0.0711317882, -0.0306212008, -0.0287813637, -0.0183313582, -0.010415446, -0.0481800288, -0.0172556657, -0.0685897917, 0.0217728186, 0.0396495834, -0.0330382697, -0.0390532911, -0.1060837135, -0.0202658195, -0.0352307595, -0.0096914526, 0.012009969, -0.0080159884, -0.0140383188, 0.029533565, 0.0013557595, -0.1026091799, 0.0181747321, -0.040093977, 0.0314337239, 0.0447628833, 0.006975757, -0.0016474188, -0.0161330551, -0.0008274141, -0.0135156, -0.0056055915, -0.0261124037, -0.0077455379, 0.0240422338, -0.0157481357, -0.0255460329, 0.0557053201, -0.0522829369, -0.0166159738, -0.0172566846, 0.1172016859, -0.0197939407, -0.0384807512, -0.0432480387, 0.0019334754, -0.0040550702, 0.097199671, 0.017794339, -0.0446152166, -0.0564899184, -0.0013778012, 0.0203681514, 0.0026149116, -0.0437892228, -0.0177590568, -0.002505535, 0.0025866509, -0.0234185979, 0.0353117026, 0.0493688062, 0.0016083483, 0.0072761266, 0.0493491367, -0.0071542482, -0.0411744863, -0.03272558, 0.013397471, -0.0276591852, 0.0213180296, -0.0673492253, -0.0200031511, 0.0908991098, 0.0015272417, -0.0108451936, 0.040654052, -0.0874124989, -0.0904148445, -0.043502219, 0.0163194556, 0.0186258741, 0.0009276117, -0.0053239432, -0.110868901, 0.064453885, 0.0350386426, -0.0090708379, -0.0029349248, -0.0328517146, -0.0214382987, -0.0050659366, 0.0019699899, -0.0147816483, 0.0166872088, 0.0209973771, 0.0450852625, -0.0185231045, -0.0365105085, 0.0122131258, 0.0290104244, 0.0574676283, -0.0259079468, -0.0239672977, -0.0155881504, 0.0034170537, -0.0100541525, 0.0042959079, -0.0254881661, 0.0086267646, 0.0562396981, -0.0052194209, -0.0197227839, 0.018015068, -0.0188921839, 0.0280665513, -0.0476397648, 0.053274218, -0.0151409265, -0.0080290074, 0.0734449178, -0.0279728323, -0.0074253893, 0.0043814648, -0.039853245, 0.0272415355, -0.0183690395, 0.0286157131, 0.0150094246, 0.0216064528, -0.0300269835, 0.0256342795, -0.0730911642, 0.0073134359, -0.0387459993, 0.0501273386, 0.0431913435, 0.0250076335, 0.0352289453, -0.0586342476, -0.0408275351, -0.0578156523, 0.0295533966, -0.005846851, -0.0112072639, 0.0653517544, 0.0208669864, -0.0659536496, -0.0113253519, 0.0842258558, 0.0636356473, 0.0344569273, 0.013148698, -0.0211780015, 0.0033068229, -0.0160194077, -0.0381200053, -0.0116703175, -0.0600102432, -0.0070403353, -0.0494934954, -0.0368056782, 0.0232174657, -0.0006739801, -0.0072458661, 0.0067538158, -0.0136769302, 0.0471243635, -0.0042327452, -0.0271368567, -0.0049226508, 0.0201905239, 0.0026405056, -0.0546135791, -0.0030122993, -5.314933055e-33, 0.0143607473, 0.0015782702, -0.0036472951, 0.0209507849, -0.0012118488, 0.0208818521, -0.0423539877, -0.0151105551, 0.0133720441, 0.0463971496, 0.018483663, -0.0104670972, -0.0191411935, -0.014703963, -0.0048182583, 0.0291584935, 0.0346028544, -0.0061916569, 0.0032332612, 0.0435579158, 0.03556218, 0.028289998, 0.0630011931, -0.0513645932, -0.0189372841, 0.0135995513, 0.0066749244, 0.0420465991, -0.0677405074, 0.0651540309, -0.060026601, 0.0158815011, -0.0222797412, -0.0404595099, -0.0372513682, -0.0007700727, -0.0098299859, 0.0337967649, 0.0338260755, -0.0191586111, -0.0075499825, -0.036623206, 0.0153705049, 0.0001832723, -0.0408081897, -0.0081512006, 0.0089712087, -0.0189484507, -0.0478425138, -0.0233471505, -0.0475999042, 0.0331766084, 0.0059428839, 0.0239296705, 0.0485376492, -0.0592421331, 0.0095151272, 0.0795103014, -0.008470349, 0.068317607, 0.0533430353, 0.041484639, 0.0460959896, 0.0308069717, 0.0394374356, 0.0668672323, 0.0155864339, 0.0051686503, -0.002742405, -0.0097676767, 0.0445240512, 0.0256520305, 0.058854863, 0.0195064954, 0.0167157967, 0.0152689312, -0.1072744131, -0.0011219202, 0.000452745, -0.0063934452, 0.0345294364, 0.0458987653, 0.0233685803, -0.0180908721, -0.0339802019, 0.018002212, -0.0216555297, -0.0001737799, -0.0252115, -0.0294550713, -0.0566846021, 0.0336514413, 0.0502557643, -0.0633589327, -0.06179424, 0.0548351631, 0.0075318445, 0.030191794, -0.0127047403, 0.0223377589, -0.0939142779, -0.0852629915, 0.0319683291, -0.0538182296, 0.0051031755, -0.0500564687, -0.0062026614, 0.0257383958, -0.0197336432, -0.0126123121, -0.0159763396, -0.050779026, 0.0584986955, 0.0282921363, 0.004816772, 0.0169404577, 0.0197506305, 0.0577442646, 0.0609360225, 0.015741935, 0.0304206554, 0.0247801654, 0.0089819189, 0.0136093907, -0.0370427743, -0.0142984539, -0.0346099585, -0.0071236794, 0.0211303011, -0.0541896038, -0.0061074109, 0.0144396164, 2.264e-7, 0.0664151981, 0.0647594407, 0.0071181543, -0.0194941964, 0.0463469438, 0.0039272499, -0.0149156675, 0.0259795338, -0.0079553258, -0.0011553403, 0.0015935528, -0.0272709876, 0.0395478979, -0.0036261526, -0.0506835878, 0.012877699, -0.0750043318, -0.0216882043, -0.0750423074, -0.0234623756, -0.0319185369, 0.1150032282, -0.0007815789, 0.0082647791, 0.0331388973, -0.0447002761, 0.0646235049, -0.0435704216, 0.0010255543, 0.0778154358, -0.0412589237, -0.0207772478, 0.0111156767, 0.033305265, -0.0130904038, 0.0102000264, 0.0068468051, 0.0477185659, -0.0020315333, 0.0185885765, 0.0582080185, -0.0032029073, 0.0055554481, -0.0408023223, 0.0296510383, -0.0411768369, -0.0535399877, -0.0231736675, 0.0227813069, -0.0366452299, 0.0105438018, -0.0427543297, 0.008214294, 0.0233254824, -0.0154447816, 0.0054679029, -0.0120737841, -0.0613403022, -0.0243139267, 0.004824522, -0.0835905597, -0.0303807687, -0.0362892486, -0.0101870839, 0.0184366014, -0.0366096757, 0.0137688648, 2.400508238e-34, 0.0446768999, -0.012397279, -0.042408742, 0.0136258379, 0.0285701659, -0.028492365, 0.011702775, 0.029965397, -0.0153189003, -0.1417615563, 0.0066085793 ]
http://arxiv.org/abs/2406.10824v1
http://arxiv.org/pdf/2406.10824v1
Citation-Based Summarization of Landmark Judgments
2024-06-16T07:27:16
2024-06-16T07:27:16
Purnima Bindal, Vikas Kumar, Vasudha Bhatnagar, Parikshet Sirohi, Ashwini Siwal
cs.CL
cs.CL
Landmark judgments are of prime importance in the Common Law System because of their exceptional jurisprudence and frequent references in other judgments. In this work, we leverage contextual references available in citing judgments to create an extractive summary of the target judgment. We evaluate the proposed algorithm on two datasets curated from the judgments of Indian Courts and find the results promising.
[ 0.0544645302, 0.0163626932, 0.0206399858, -0.0101686679, -0.0538149476, 0.0252651088, -0.013861374, 0.0162712894, -0.0042236983, -0.0449000634, 0.0320755541, 0.033744771, 0.0048518367, -0.019929111, -0.0188949239, -0.0743086413, 0.015196993, 0.0201278124, 0.0426588953, 0.0301093161, 0.0159929991, 0.0091910446, -0.0153890084, 0.0351290964, 0.0034386816, -0.0049981065, 0.0103531862, -0.0165905282, 0.0046774619, -0.0391909219, -0.0296543315, 0.0334941857, 0.0190966204, -0.0350016542, 0.0000010283, -0.0664005801, 0.0055103912, -0.0212235413, 0.0082032122, 0.0444645248, 0.0278273169, -0.0026785985, 0.0029230379, -0.0219790526, -0.0303468052, 0.0005306966, -0.0205112174, 0.0242843628, 0.0287538748, 0.024061963, 0.0077961003, -0.0454954915, 0.0044339374, -0.0158769973, 0.0033114611, -0.0541192405, 0.0101267807, 0.0583486147, 0.0044220109, -0.0047523966, 0.0261302069, 0.0031589272, -0.0233942512, -0.0198375694, -0.0187457241, 0.00018823, -0.038445469, 0.0612359904, 0.0596928261, 0.0344246626, 0.0840742663, -0.0117890993, 0.0495309681, 0.0194338299, 0.0608279817, 0.0386763141, -0.0154270278, 0.0946265161, -0.0214900784, 0.0042723054, 0.0205359086, 0.0570146218, -0.0493678823, -0.0230098348, 0.0134278359, -0.0061478829, -0.0090450142, -0.012193609, -0.0080824932, 0.0171492528, 0.0212494768, -0.0216617212, 0.0139807481, 0.0121594304, 0.0019162952, -0.0050678235, 0.0138546731, 0.0246120878, 0.0600475706, -0.0484237634, -0.0196183752, -0.0279483292, -0.0161403269, 0.0764152333, 0.0056043426, -0.0339974537, -0.0086836275, -0.0501619093, -0.0028668719, -0.0376756303, -0.0420993716, 0.0153375566, 0.0243967194, 0.048166167, -0.0805062205, 0.0344263352, -0.0730843097, 0.0274779256, -0.0217871107, 0.0053944462, 0.0235785227, -0.0048187277, 0.0201039668, -0.0079562385, -0.0417757891, -0.0482289754, -0.0656337887, 0.0064807236, -0.0216777418, 0.0189996641, 0.0093466062, 0.0076958146, 0.0198048037, 0.0127126761, -0.0080147469, 0.0924100503, -0.006447956, -0.0493701138, -0.0361368768, -0.0570274368, -0.0376124382, -0.0381148607, -0.0410818011, -0.0721031129, 0.024289865, -0.0060728849, -0.0224486645, -0.0391627178, 0.0191215239, 0.0283618327, -0.0295546278, 0.0203862134, 0.0071590068, -0.0351637639, -0.012447061, 0.0250773057, 0.0408333912, -0.021861596, 0.021792978, -0.0009719578, 0.0163377263, 0.0222494863, 0.0589727908, -0.0032803984, 0.0104270605, 0.0290740412, -0.0169746298, -0.0274821762, -0.0122733805, -0.0306607708, 0.0135134906, 0.014569425, -0.001660836, 0.0252861567, -0.0246578828, 0.0323276818, -0.0334132165, 0.063415356, -0.0213347692, -0.0237643681, 0.0275314227, 0.0358353108, -0.0161523428, 0.0148150455, 0.0071181911, 0.0580379181, 0.0102722719, -0.0130590023, -0.0119244438, -0.0454410054, 0.0437026992, 0.0109704975, -0.0423414595, 0.0087158764, 0.0114731947, 0.007903453, -0.0111622745, 0.0463573299, 0.043074958, -0.0499214865, 0.0070642317, 0.00118557, 0.0233651046, -0.0664199442, 0.0385019667, -0.0451916978, 0.0333260782, 0.0004522009, -0.0196197238, 0.0048618624, -0.0208882634, -0.0017459788, -0.0152559979, 0.0154945198, -0.0473636612, 0.0564084835, 0.0157187581, -0.0392404385, -0.0094366884, 0.0072213812, 0.0297473259, -0.069524847, 0.0147115616, 0.0187100321, 0.0172795188, 0.0080755912, 0.0181318987, -0.0297559649, 0.0167504698, 0.0240903683, -0.0074388296, -0.0462866426, 0.0363404863, 0.0098299878, 0.0412219763, 0.0490603819, 0.0071282787, 0.0049383268, 0.0107140914, -0.1053802297, 0.0152569152, -0.0629534572, -0.0465528406, -0.0286351983, -0.0017522124, -0.0002362448, -0.0251523592, -0.0067618773, 0.0008620844, 0.0128796771, -0.0468379073, -0.0297996067, 0.0844273716, 0.0243798308, -0.0223238952, 0.0082358401, -0.0346940421, 0.0246799644, 0.0028047462, -0.0360635668, -0.0533167645, -0.0045197485, -0.0108310943, 0.0427971259, -0.0241337605, -0.0691180006, -0.0394466966, -0.0600950457, -0.0131762568, 0.0179841239, 0.0006345939, -0.0032558225, 0.0278181806, 0.0022295057, -0.0062829228, 0.007804031, -0.0551876202, -0.0154827153, -0.0116478698, 0.0810826495, 0.0119004557, 0.031641677, -0.0471093729, -0.0400867686, -0.017444266, 0.0741831735, 0.0018934121, 0.002992155, -0.0168554932, 0.0648159087, -0.0063413801, -0.020874938, -0.0368838124, 0.0419598632, -0.0184077583, 0.0268126354, 0.0102823079, 0.0255054682, 0.0708474591, -0.0008404375, 0.0198797081, -0.0033972543, -0.0278751254, -0.0013762144, -0.029074071, 0.0026876712, 0.0364654027, 0.0018834401, 0.047615502, -0.030450223, 0.0154765844, 0.0008794102, 0.0143801328, -0.0201113708, 0.0033428038, 0.0310789328, -0.0908710808, 0.0053948532, -0.0351944342, 0.0616053008, 0.0326182246, -0.0304878037, 0.0181601644, 0.0231761746, 0.0786175579, -0.0194750912, 0.0140835857, -0.067336157, 0.0799840689, -0.0129893655, -0.0100045074, -0.0172899906, -0.0437955745, 0.046243161, -0.0406207442, 0.0252165701, -0.0212158933, 0.097740069, -0.0286841057, 0.0340510011, -0.0377484486, -0.0215610489, -0.0232034102, -0.0045775361, 0.0021841826, 0.0108470647, 0.0240059141, 0.0492915288, -0.0375510789, 0.0371042378, 0.038022466, -0.0097399019, 0.0086966958, -0.0361154713, -0.0116162822, 0.0521278791, 0.0333496556, -0.0413126424, 0.0195414796, 0.0163056739, -0.08239685, 0.0268881246, 0.058369562, 0.0193703435, 0.0373189747, -0.0100974301, -0.0251222476, -0.097826317, 0.0222602338, 0.0268093739, -0.0047872593, 0.0041465261, 0.0092301052, 0.0601181947, 0.0377105996, -0.0554932579, -0.036115095, 0.013528185, -0.0182113126, 0.0267600659, 0.0018594192, -0.0903554186, 0.0249741245, -0.0223694053, -0.0106045976, -0.0169359166, -0.0487864614, 0.0070857201, -0.0759847686, 0.0385766178, 0.0211046766, 0.0242813099, -0.0468795747, -0.0169336498, 0.0336002894, -0.0242837537, -0.0649191961, 0.0386753194, -0.0690016747, 0.0060202153, 0.0147571983, -0.0334862135, 0.0664844662, 0.0224010572, -0.0594333895, 0.0048650145, -0.0401808284, 0.040274404, -0.0185181852, 0.0133028384, 0.0113652991, -0.1310786158, -0.015134328, 0.0410137437, 0.0258995872, 0.0264772382, 0.0004305751, -0.0303223077, 0.013884916, 0.0205787979, -0.0250530895, 0.0833375826, 0.0067003416, 0.0003093558, 0.0151039334, -0.0329480954, 0.0083681522, -0.0528257601, 0.0198660251, 0.0120886331, 0.0401665419, -0.023755135, 0.0033060231, -0.0088677928, -0.0443496965, -0.0335771367, -0.0191782359, -0.0457625389, 0.0062113912, -0.0127994409, -0.0163366888, -0.0373461768, 0.032039728, 0.0198392831, 0.02219777, 0.0425887927, 0.0135732833, -0.0536821857, 0.0147199295, -0.0809677467, -0.0257851165, -0.0151256444, 0.0582830422, 0.0455825254, 0.015409478, -0.0370599404, -0.0060305614, 0.0821373537, -0.0097450884, 0.0226310752, -0.0076426957, 0.0144220395, -0.0213687271, -0.0285546146, -0.0122630382, 0.0599043146, 0.0648981333, 0.0416455902, -0.0026515205, 0.0109890206, -0.0057153148, -0.0416587517, -0.0254410859, -0.0472135916, 0.0571855381, -0.0195334796, -0.0138887959, -0.0414534621, -0.0148908831, -0.0059818458, -0.000467443, 0.0504151769, -0.0194102842, -0.0329744294, 0.0019600433, -0.037881773, 0.0046765418, -0.0011965691, 0.0031735825, 0.0120538864, -0.0371932089, 0.0213284381, -0.0136800408, 0.0692751408, -0.0186851937, 0.0773364976, -0.0561219677, 0.0258038584, 0.0563998185, 0.0073802313, -0.0626179948, -0.0470725484, 0.0052812984, -0.0415407754, -0.0298039764, 0.0222187191, -0.0048789629, 0.0131195905, 0.0027565195, 0.0276827551, -0.0156370699, 0.0222808104, -0.0604755282, 0.1146993712, -0.0072504571, -0.0222075786, 0.0541319959, -0.0127386283, -0.0002031933, 0.0173154473, -0.013556581, -0.0052796812, 0.030784443, -0.0089153899, 0.0247227568, 0.0008834389, 0.0113650793, -0.0085211722, 0.0250796229, 0.003372804, -0.0261811372, 0.0226668101, 0.0302852876, -0.0315524936, -0.0119113857, -0.0692218393, -0.1164546013, 0.0157346129, 0.0374405831, -0.0813441947, -0.0706491917, 0.0390048288, 0.0170549694, 0.0176171623, 0.0253460929, -0.0062115127, 0.0101416837, -0.0019573446, 0.0417232402, -0.0091926008, -0.0551503859, 0.0401360281, 0.0298377201, 0.0003751482, -0.009120184, -4.627551346e-33, -0.0380400531, -0.0538874455, -0.0201535709, 0.0374365076, -0.0293347985, -0.0187587291, -0.009891035, -0.0153834149, -0.039304696, 0.0080393376, -0.0414752141, 0.0382490866, 0.0193122011, -0.0110296141, 0.0442489944, 0.0084511936, -0.0080235545, 0.0532173179, -0.0131759336, 0.0333170705, 0.0336374901, -0.018721683, 0.0450872034, -0.1152940094, 0.0516740121, 0.0159101207, -0.0225393418, -0.0397018194, 0.0024187905, 0.0441703051, 0.0004567077, 0.0166632552, 0.0267808344, -0.0490095951, 0.0191268399, 0.0212193374, -0.1133996621, 0.0363404416, 0.0307470337, -0.0704519674, 0.0445065387, -0.0361307524, 0.0098520638, 0.0128701478, -0.0566111803, -0.0297255497, 0.0463315509, -0.0366776511, -0.0928822979, -0.1164441928, -0.0183307305, 0.0495373942, -0.0164470579, 0.0861557648, 0.0216747541, -0.0039752913, 0.0110439509, 0.034605287, -0.0458071269, 0.0322063193, -0.0214830693, 0.0261092521, -0.0290679988, -0.0505986884, -0.01362353, 0.03143939, -0.0064039072, -0.0455766134, -0.002335635, -0.0223495699, -0.0408143215, 0.0168650541, -0.0114705246, 0.0702605546, 0.0342859849, -0.0291766338, -0.0370678045, 0.0145855779, 0.0091662509, 0.0278032012, 0.0272703227, -0.046432659, -0.0215078611, 0.0045508663, 0.0062084491, -0.0159900766, -0.0045006638, 0.0461958833, -0.0154887103, -0.0077881957, 0.0345182344, 0.0227676742, -0.005229217, 0.0136564719, 0.0307910927, 0.0504292138, 0.0069043506, 0.0557923093, 0.0020151003, -0.0658980235, -0.0010483667, -0.0389608108, 0.0080328537, 0.0310563724, -0.0204502232, -0.0304367356, 0.0172626972, -0.0653501451, -0.0498384237, -0.0295324959, 0.0499510206, 0.0435207598, -0.0241739284, -0.0267670713, 0.0005816282, 0.0425277837, 0.0204393715, 0.0041758958, 0.0170942191, 0.037749514, 0.0060142446, -0.0120817218, 0.0149028245, 0.0144016389, 0.0579049662, 0.0117482459, 0.0449451581, 0.0767003819, 0.0089292657, 0.0253849849, 0.0019375742, 0.0513711087, 1.792e-7, 0.0608114265, 0.0287414491, 0.0185337123, 0.0127292397, -0.0301710404, 0.0191812795, 0.0346999802, 0.0316592082, 0.0498715676, 0.0089685293, 0.024479473, -0.0083091306, 0.0045414111, 0.0392955095, -0.063844122, -0.0705388263, -0.0501006432, -0.0643498376, -0.0397128314, 0.0480589867, -0.0032400656, 0.0487779677, -0.0008075806, -0.0019402147, -0.0371849239, -0.0033794746, 0.0225141384, -0.029742321, -0.0595921427, -0.0048127081, 0.0524542406, -0.049500484, -0.0070648892, 0.0382477455, 0.0230372939, 0.0149314534, -0.004403376, 0.0265943967, 0.0490156934, 0.0274500586, 0.0007910394, 0.0224999972, 0.0385624245, 0.0476097502, 0.0241206978, -0.0063844007, -0.0008850241, -0.0253828, -0.0601205528, 0.0138884746, -0.0200399738, 0.064967677, -0.0427739248, -0.0004636944, -0.0009566392, -0.0094269197, 0.0183114056, -0.0850504264, 0.0104859751, 0.0503551252, 0.0130988099, -0.0174300894, 0.0527384877, -0.0523384772, 0.0335082076, -0.0810163245, 0.0329104625, 1.176625879e-34, 0.0815478414, 0.0093981232, -0.0101135056, -0.0052424679, 0.03527968, 0.009425153, -0.0045170449, -0.0220322311, 0.0181793049, -0.0711220354, 0.0382403731 ]
http://arxiv.org/abs/2406.10819v1
http://arxiv.org/pdf/2406.10819v1
GUI-WORLD: A Dataset for GUI-oriented Multimodal LLM-based Agents
2024-06-16T06:56:53
2024-06-16T06:56:53
Dongping Chen, Yue Huang, Siyuan Wu, Jingyu Tang, Liuyi Chen, Yilin Bai, Zhigang He, Chenlong Wang, Huichi Zhou, Yiqiang Li, Tianshuo Zhou, Yue Yu, Chujie Gao, Qihui Zhang, Yi Gui, Zhen Li, Yao Wan, Pan Zhou, Jianfeng Gao, Lichao Sun
cs.CV
cs.CV, cs.AI, cs.CL
Recently, Multimodal Large Language Models (MLLMs) have been used as agents to control keyboard and mouse inputs by directly perceiving the Graphical User Interface (GUI) and generating corresponding code. However, current agents primarily exhibit excellent understanding capabilities in static environments and are predominantly applied in relatively simple domains, such as Web or mobile interfaces. We argue that a robust GUI agent should be capable of perceiving temporal information on the GUI, including dynamic Web content and multi-step tasks. Additionally, it should possess a comprehensive understanding of various GUI scenarios, including desktop software and multi-window interactions. To this end, this paper introduces a new dataset, termed GUI-World, which features meticulously crafted Human-MLLM annotations, extensively covering six GUI scenarios and eight types of GUI-oriented questions in three formats. We evaluate the capabilities of current state-of-the-art MLLMs, including ImageLLMs and VideoLLMs, in understanding various types of GUI content, especially dynamic and sequential content. Our findings reveal that ImageLLMs struggle with dynamic GUI content without manually annotated keyframes or operation history. On the other hand, VideoLLMs fall short in all GUI-oriented tasks given the sparse GUI video dataset. Based on GUI-World, we take the initial step of leveraging a fine-tuned VideoLLM as a GUI agent, demonstrating an improved understanding of various GUI tasks. However, due to the limitations in the performance of base LLMs, we conclude that using VideoLLMs as GUI agents remains a significant challenge. We believe our work provides valuable insights for future research in dynamic GUI content understanding. The code and dataset are publicly available at our project homepage: https://gui-world.github.io/.
[ 0.0058897552, 0.0382722914, -0.0144504504, 0.0581980571, -0.017393956, 0.0456808731, 0.028862603, 0.0136063443, 0.018462399, -0.0524401106, -0.0580117591, -0.0365422852, -0.0149995061, 0.0338836759, 0.0277342424, -0.0852624923, 0.0428857394, -0.046997387, -0.039773453, 0.0204865094, -0.0055542821, -0.0040078359, -0.0459965989, 0.0667568594, -0.0151272221, -0.0513424799, -0.0671316758, 0.0274338089, 0.0140841454, -0.0202651303, -0.0556645729, 0.0218223147, 0.0539770573, 0.0179232322, 0.0000017943, -0.0252366886, 0.0684441254, -0.036834985, -0.0042960485, 0.0110417139, 0.0327616632, 0.0062334142, -0.0068776137, -0.0267490689, -0.0346738622, 0.0006047745, 0.0221676566, 0.0045422707, 0.0977142379, 0.039698232, -0.0128230145, 0.0172386095, 0.0106348265, 0.0231803525, 0.0632419959, -0.0748361498, 0.0045625363, 0.0004558753, 0.0434638374, -0.0357703567, -0.0207639821, 0.0226911344, 0.0061174873, -0.0264346413, -0.0529798567, 0.0368886329, -0.0254469048, -0.0584691912, -0.0318020657, 0.0749272928, -0.0175867099, 0.0417966247, 0.0385769941, 0.0194199067, 0.043913357, 0.0077577173, -0.0862598419, 0.0214304719, -0.0470810011, -0.0229365956, -0.0217447206, -0.0262321755, 0.008642273, 0.0006759642, -0.0245845765, 0.0422291197, 0.0072012749, -0.0050214971, -0.0411471389, -0.0359176435, -0.0118070198, -0.0579924397, -0.0020734556, 0.0821676552, -0.0277338028, 0.0315899476, -0.0388684496, 0.0126761775, -0.0058552404, -0.072156854, 0.0145410616, 0.0141015016, -0.0493758321, 0.0656864345, 0.0022483079, 0.0711617246, -0.0483200587, 0.0069650142, -0.0096613374, 0.0063263196, -0.0720517859, -0.0111076236, -0.0115380501, 0.0103976317, -0.0037397961, -0.0040889662, -0.0144797619, 0.1055764034, 0.003260772, 0.0730968714, -0.0178910345, -0.0010064169, -0.0143031962, 0.0009526236, -0.015421723, 0.02350864, -0.0462822765, 0.0054491167, 0.0191555712, -0.062453106, 0.0224740971, 0.0333941728, 0.0095431451, -0.0363633856, -0.0203562137, 0.1021601781, 0.0005882232, 0.0038130335, -0.0394209512, -0.0272025634, 0.011795314, 0.0033985127, 0.0289728958, -0.0474022701, 0.0279991701, 0.0189265162, 0.0041610287, -0.0143108889, -0.0000475108, 0.0384651162, 0.0229319893, 0.0549753159, -0.0005061874, 0.014426169, 0.0534522943, 0.0045508374, -0.046829354, 0.0420600101, 0.0404504128, 0.0899208635, 0.0360866375, -0.01455874, 0.039876204, 0.0790858045, -0.0597911924, -0.0105727408, -0.043213591, 0.031955678, 0.0166653283, 0.0352899134, 0.0259829387, 0.0151978433, -0.0456348769, -0.0139311999, 0.0646464676, 0.0705985799, -0.0108611826, -0.0257523991, 0.024320608, 0.0118353153, 0.0072378926, 0.0147183519, -0.0503766015, 0.0740091503, 0.0096950252, -0.0104173329, -0.0260321591, 0.0065026847, -0.0394765399, -0.0472132973, -0.0181025825, -0.006336892, 0.0028618309, -0.033641696, 0.0550719164, -0.0126582086, -0.0246313941, 0.0061407294, -0.003479203, -0.0357521959, -0.0231683236, -0.0683466867, -0.0026852642, 0.0797035843, 0.0383750051, -0.0348200724, -0.0552336462, -0.0271887723, 0.0550228395, 0.0222512055, 0.0085977949, -0.0465103276, 0.0151964799, -0.0209219586, -0.0452556685, -0.0392761081, -0.004955803, 0.0586475097, -0.0197581593, -0.0310517941, -0.017754199, -0.0327970274, 0.0384398289, 0.0407855064, 0.0134372385, -0.0561985821, -0.0443652645, 0.0121611739, 0.0336346738, -0.0074982201, -0.0128528215, -0.0286923442, 0.0038059424, -0.0231979527, 0.0181847531, 0.0136281438, -0.0116318818, -0.0382221118, 0.0503802933, 0.0030744916, -0.0119160218, 0.0302487668, -0.0474160463, -0.0125088114, 0.0162249729, 0.025213737, 0.0169822834, -0.0297574066, -0.0065176548, 0.0174455028, -0.0196868945, -0.0140346242, 0.0532082208, -0.0199037604, -0.0233468302, 0.0507894084, 0.0282471776, 0.0145950569, -0.0418158546, -0.0099716485, 0.0052706609, -0.0225651227, 0.0046036383, -0.0168027095, 0.0027815269, -0.0355216712, -0.0163660105, -0.0754264295, 0.0018609636, -0.0268993024, 0.0095988503, 0.0067520454, 0.0137823988, -0.020812165, -0.0356671214, -0.0003412858, 0.0202503204, -0.0172145385, 0.0038899668, 0.0449058935, 0.0190501325, 0.0083051249, -0.0412668623, 0.0027495781, -0.0143523077, 0.0260915402, -0.0182428937, -0.0335082226, -0.0400596373, 0.0232129283, -0.0082981475, 0.0446346737, -0.0594097264, -0.022194257, 0.0334202126, -0.0172832254, -0.002863274, 0.0892420858, 0.0028630765, 0.0424033329, 0.0358423106, -0.0330795534, -0.0280592553, 0.0428730808, 0.034813717, -0.0157043189, -0.0668450966, 0.0324801318, 0.0292405356, 0.0929931551, -0.0268173795, 0.04178565, -0.0216824934, 0.0151673686, -0.0048118844, -0.0300648157, -0.0456417911, 0.0056616939, -0.0475974903, 0.0364850052, -0.0309148766, -0.0377184749, 0.0380370058, -0.0414388031, -0.0357049927, 0.0677277371, -0.0079347808, -0.0046785013, 0.0805433095, 0.012870294, -0.0209372547, -0.0146405734, -0.0247463323, -0.0558632016, 0.0348150693, 0.0191280823, -0.0081461994, 0.0335852429, -0.0778919458, 0.0026292449, -0.0288367253, -0.0243432615, -0.0485262983, 0.0203739554, -0.0178206582, -0.0563236326, -0.0557553954, 0.0188524723, -0.0326709263, 0.0486817844, 0.034613803, 0.0322214402, -0.0103528611, -0.0334480219, -0.0400666147, 0.0130118653, 0.0463279597, 0.0214339271, -0.0947513431, -0.0589077435, 0.0602945611, 0.0246572178, 0.0234863013, -0.0488792285, -0.0349621549, 0.0267750826, 0.0092901466, -0.0097883902, -0.0196581595, 0.0436344668, 0.0305259973, -0.0754759237, 0.0166076552, 0.0969897211, 0.0204810202, -0.0623348318, -0.0165053252, -0.0175576489, -0.0057541016, 0.0621479675, 0.0240995251, -0.0689943135, -0.0491902232, -0.0092037609, 0.000326902, 0.0448156372, -0.020437181, 0.0234358273, -0.0654074028, 0.0318733305, 0.0035262159, 0.0096747521, 0.0238022469, -0.0066526551, 0.0281315427, -0.0144797619, -0.0003865518, 0.0394770615, -0.0118772192, -0.0174690746, 0.0188082214, -0.0231268685, -0.0577238947, 0.0239122789, -0.0053960574, 0.0065870993, 0.0517393462, 0.0268861223, -0.0044087074, -0.0325571895, 0.0242545195, 0.0265233982, 0.0157341268, -0.0098176682, 0.037636403, -0.0319345258, -0.0278359558, -0.0009044742, 0.0179830678, -0.0368610062, -0.0388992243, 0.0384127721, 0.065322347, -0.0702282116, 0.0174086783, -0.0372394696, -0.0579901077, -0.0029274365, 0.0341056511, 0.027582312, -0.0297010373, -0.0508179106, -0.0323478431, -0.055847384, -0.0217909217, -0.02893815, -0.0073061259, 0.0079149986, 0.007736098, -0.0580433086, -0.0539546646, 0.0394303277, 0.0630776733, -0.0183008369, -0.00461525, -0.0037469545, 0.0328608453, -0.0335377939, 0.0346344858, -0.009676354, 0.0111913728, -0.0233680625, -0.0087567968, 0.0390324704, -0.0437967218, 0.0027089433, 0.0202751365, -0.0700690299, -0.0228112116, -0.0263269655, 0.0512608774, 0.026550265, 0.0549372919, 0.0122910775, -0.0212744121, -0.0067709228, 0.0021975529, 0.0019540724, -0.0123959417, 0.0103265718, 0.0465469845, -0.0175482556, 0.0027953244, -0.0905968249, -0.0051824986, -0.0202088244, 0.0226399787, -0.0612660162, -0.0300859902, 0.0076196864, -0.0272950009, -0.0088755731, -0.015948223, 0.0059381439, -0.0027959337, 0.0183421243, 0.0186716802, -0.011024191, -0.0693294778, 0.0182777625, -0.006535125, 0.0005276307, 0.035961654, -0.0242067948, -0.0016724191, -0.0020608373, -0.0799104869, -0.0005857429, -0.0166468676, 0.0241600145, 0.0116087608, 0.042933017, 0.0092620971, 0.0273681525, 0.0147215081, 0.0535706021, -0.0118413726, 0.1010628194, 0.0235183313, -0.0035149555, -0.0032646186, 0.0499438941, -0.0440116599, 0.0022187319, 0.0043629911, 0.0433760397, 0.0672717094, 0.0198504478, 0.0208020471, -0.0222716257, 0.0032684556, -0.0158332027, 0.0508249179, 0.0383738279, -0.0469549894, 0.0059662838, 0.0440859534, 0.0066338121, -0.0471665896, 0.0848521143, 0.0154179074, 0.0303662941, 0.0099270185, -0.0055473805, -0.0564948767, -0.024887478, 0.0346550867, 0.004646902, -0.0055854083, -0.0164458472, -0.0572451055, -0.0625960305, 0.0102117462, 0.0261253677, 0.0025924242, -0.0306522809, 0.0261065047, 0.0559334718, 0.0341392606, 0.0005726347, -0.0140582798, -0.0076222578, -0.0139583256, 0.0081613064, -0.0427228846, -4.722392801e-33, -0.0550855957, -0.0053786933, 0.0449161269, 0.0451849662, -0.008171658, -0.0262900796, -0.016253693, 0.0035180594, 0.0030329493, -0.0183263589, 0.014087216, -0.0018872496, 0.0108005712, -0.0058918833, 0.0201125909, -0.0220996384, 0.0039475649, -0.0142258927, -0.0385793522, 0.0201509222, -0.0032133991, 0.0415662378, 0.0267302766, -0.0386218391, 0.0002770228, -0.0276874118, 0.0163615402, 0.0178350285, 0.0140851568, 0.0729199424, -0.04040673, 0.0301469192, 0.0432202369, 0.0201502051, -0.0085445615, 0.0107063092, -0.0419200361, -0.0180997346, -0.0080583431, 0.0593460128, -0.0070553059, -0.0082239043, 0.0215660892, 0.0178518761, -0.0074433149, 0.0253283791, 0.0643237159, -0.0361687206, -0.0233947653, -0.0032771262, -0.0402006209, 0.0107465424, -0.0079947235, -0.0562432595, 0.0228129588, 0.0346335247, 0.0085685467, 0.0142744789, -0.0320740119, -0.0178700984, 0.0067329379, 0.0189046524, 0.1143662557, 0.0499861091, 0.0435287729, 0.0585415736, 0.0050419215, 0.0262410939, -0.0514063388, 0.0378795601, 0.0205182098, 0.0719325542, 0.0009061937, 0.0326118842, -0.0020457273, 0.0191071033, -0.0239647757, 0.0553742014, 0.0155451382, 0.0742519572, -0.0099195167, 0.0326492861, 0.0254455805, 0.0269580819, -0.0052789114, 0.0473740213, -0.0226785187, -0.0171600729, 0.0682210624, -0.0003214337, 0.033920113, -0.0682458878, 0.0594889969, -0.0126964683, -0.0302503724, -0.0082306154, -0.0247272998, 0.0643481463, 0.0099189263, -0.0043426682, 0.0263273213, -0.0325165391, 0.0241449215, -0.0091929417, 0.0573818982, 0.0061547393, -0.0266657583, 0.0574778505, -0.0098241353, -0.0301577505, -0.0595027618, -0.0099054286, -0.0012739886, 0.0421394557, 0.0391924195, -0.0491633117, -0.039547462, 0.0624164343, -0.0480493642, -0.0807003155, -0.0069711907, -0.0688803792, -0.0317574255, -0.0211799927, -0.0764297247, -0.034238521, -0.0508623719, 0.0293315761, 0.0156415235, -0.053162355, 0.0106641576, 0.0198048707, 2.517e-7, -0.0007793009, 0.0163134504, 0.0153468885, 0.0391500853, 0.0283124149, 0.0367278792, -0.0812666118, 0.03144449, -0.0122286361, -0.0749541223, 0.01430446, 0.0468065068, 0.0467966385, 0.0052203606, -0.0534417257, -0.0042537563, -0.0128103886, 0.0043522543, -0.0712663308, 0.0298872776, 0.0584241077, 0.0519956052, -0.0142968828, -0.0059680375, 0.0784494653, -0.0517167039, 0.0399643146, -0.0274623856, -0.0000193088, -0.0046628518, 0.0073854951, 0.0361544266, -0.0203792322, -0.0112753669, 0.0070557175, -0.0205192529, -0.004185535, 0.0637229383, -0.0260506608, -0.0238616709, -0.0171569474, -0.0309511796, 0.014388252, -0.0260073002, 0.0714461207, -0.0492533781, -0.0085182264, -0.0046372665, 0.004564763, -0.041313123, -0.0533799306, -0.0114273708, 0.0088263899, 0.0101848189, -0.0074754073, -0.0048297592, -0.054310482, -0.0784646794, -0.0123962173, -0.0133204181, -0.0676886514, -0.0181515198, -0.084660247, -0.0063537094, 0.016132826, -0.0057326546, -0.0461424105, 2.036221391e-34, 0.0047777477, -0.0143190185, -0.0101594338, 0.0532205999, 0.0336297192, 0.020146776, -0.0217712, 0.0304679926, 0.022900179, -0.0424010605, -0.011005939 ]
http://arxiv.org/abs/2406.10813v1
http://arxiv.org/pdf/2406.10813v1
Self-Evolution Fine-Tuning for Policy Optimization
2024-06-16T06:38:02
2024-06-16T06:38:02
Ruijun Chen, Jiehao Liang, Shiping Gao, Fanqi Wan, Xiaojun Quan
cs.CL
cs.CL
The alignment of large language models (LLMs) is crucial not only for unlocking their potential in specific tasks but also for ensuring that responses meet human expectations and adhere to safety and ethical principles. Current alignment methodologies face considerable challenges. For instance, supervised fine-tuning (SFT) requires extensive, high-quality annotated samples, while reinforcement learning from human feedback (RLHF) is complex and often unstable. In this paper, we introduce self-evolution fine-tuning (SEFT) for policy optimization, with the aim of eliminating the need for annotated samples while retaining the stability and efficiency of SFT. SEFT first trains an adaptive reviser to elevate low-quality responses while maintaining high-quality ones. The reviser then gradually guides the policy's optimization by fine-tuning it with enhanced responses. One of the prominent features of this method is its ability to leverage unlimited amounts of unannotated data for policy optimization through supervised fine-tuning. Our experiments on AlpacaEval 2.0 and MT-Bench demonstrate the effectiveness of SEFT. We also provide a comprehensive analysis of its advantages over existing alignment techniques.
[ 0.021432383, 0.0685162768, 0.0033621341, 0.0345207006, -0.0006447217, 0.02130327, -0.0269056316, -0.0112569723, -0.0400681198, -0.0403057225, -0.0808676258, 0.0106850993, -0.0054981876, 0.0185636673, 0.0485733673, -0.0164741203, 0.0731318071, -0.0416756906, 0.0205593463, -0.0024290713, 0.0336444452, -0.0005561035, -0.0002892051, 0.061487969, 0.0410646014, 0.0318532325, -0.0216920022, 0.0187657401, 0.0411259532, 0.0004102401, 0.0434502326, 0.0512121245, 0.0186820496, 0.0853044987, 0.0000017519, -0.0557694882, -0.0366877951, 0.0111485003, 0.0114069106, -0.0028735907, 0.0385796726, -0.0061616595, -0.0606868565, 0.0297316201, -0.0391621962, 0.0176356956, 0.076770775, 0.0012704941, 0.1054564044, 0.0994745716, 0.0132290879, -0.0359389558, -0.003664827, -0.026871549, -0.0356593318, -0.0469523296, 0.0216399301, -0.0323836058, -0.0111443894, -0.0143930921, -0.0427207872, 0.0158289261, -0.0232483558, -0.0326014943, -0.0028015068, -0.0019834356, -0.052081611, -0.0391350053, -0.0104935942, 0.0671641827, -0.0378264338, -0.0490651242, 0.0207723547, -0.0147586754, -0.0007351891, -0.0217503961, 0.0004540198, -0.001534501, 0.0289306305, 0.060242027, 0.0334373266, -0.028146904, 0.0294885207, 0.0162774362, -0.0128863277, 0.062694855, 0.0121521493, -0.0422563367, -0.0051801279, -0.0058930018, 0.0204170551, -0.0208984725, 0.0018579102, 0.0352162905, -0.0546867028, 0.0155787552, -0.0650554523, -0.0219269786, 0.0214785133, -0.0214664135, 0.0376877487, 0.0514878668, 0.0159626268, 0.0344062038, -0.0302906744, 0.0478185713, -0.0154055078, 0.0261098929, -0.0321172513, 0.0292176902, -0.0182587057, 0.006530277, -0.0376727022, 0.0055339821, -0.0384920463, 0.0001777547, -0.0512453057, 0.0128857205, 0.0000134716, 0.0305646565, -0.0129185291, -0.0321946554, -0.0609954819, 0.0031498978, -0.0304189995, 0.0626811162, -0.0126861269, 0.0108316215, 0.0176214222, -0.0010667515, -0.0086770784, 0.0039739981, -0.0208084211, -0.02179919, 0.0140092243, 0.0774687901, -0.0164744724, -0.0150193926, -0.0213597938, 0.0047007906, -0.0212083701, -0.0439155363, -0.0327654742, -0.0413722247, 0.0193464998, -0.0361842737, -0.0338425525, -0.056525819, 0.0026537303, -0.0396871567, -0.0184935648, 0.0669249892, -0.035477262, 0.0196384266, 0.0163253453, -0.0360590667, 0.0371940434, 0.0859983861, 0.0441668779, 0.0056321863, -0.0117143868, -0.0134485476, 0.0066594896, 0.0551556498, 0.0154571347, 0.0367436148, -0.0311429612, -0.0085502202, 0.003380842, 0.0548612289, 0.0715670884, 0.0152165061, -0.0060817041, -0.004549806, 0.0566352084, 0.0219545197, 0.0369979143, 0.0183741413, 0.0307578705, -0.0080973525, -0.0011841727, -0.0019446269, -0.066597715, 0.0184874479, -0.0383866057, 0.0299442708, 0.0271413606, 0.0589987263, -0.0076585803, -0.0486139692, 0.0052560349, 0.0108851809, 0.0073987185, 0.005041156, 0.0545384996, 0.0294601675, -0.0524687991, -0.017301904, 0.0409685895, -0.0173005108, 0.0077732136, -0.0709349513, 0.0418983959, 0.0782457814, 0.0340753198, -0.0169335324, -0.0617278628, -0.0216027033, -0.0285890698, 0.0417418927, 0.0604006872, -0.0131076267, -0.0143678561, -0.0522488467, -0.0650204644, 0.0034848589, 0.0090366537, 0.0147768781, 0.011947847, -0.0028769667, -0.0010923808, -0.00127017, -0.0605185553, 0.0585980155, 0.0110053215, -0.0340303443, -0.0238371044, 0.0093449801, 0.0400837511, 0.0037079465, -0.0225751419, -0.0073530348, 0.0180491507, 0.015640324, 0.0090242121, -0.0184581354, -0.0173934102, -0.0022398501, 0.064651601, -0.0013730527, -0.0347575694, 0.0200262852, -0.0549819916, -0.0603707433, -0.0017841394, -0.0341284908, 0.017483186, -0.0199559946, 0.054161191, -0.0412497744, -0.0044440883, -0.070117116, 0.0063550472, 0.0292959958, -0.0182798896, -0.0043974258, 0.008965251, 0.0093259532, -0.0498881452, -0.0595157444, 0.0037711309, -0.0068058702, 0.0244304799, 0.0574224368, 0.0577920265, -0.0286887325, -0.0265147798, -0.0220063031, 0.0251703113, -0.0381488726, 0.0329811685, 0.0311512426, 0.0045241332, -0.0211062916, -0.0269228462, -0.0210108962, 0.0172130112, -0.0086287092, -0.008638164, 0.0512799546, -0.0057754326, -0.0613308288, -0.080818817, -0.0081030251, -0.0091146613, -0.00646985, -0.0068687578, -0.00116972, -0.0755283162, 0.0026716564, -0.0306344293, 0.0608132184, -0.0035939333, -0.0844108909, 0.016866697, 0.0117429225, 0.0046036812, 0.0871747136, 0.0103459219, 0.0099886898, 0.0531479158, 0.0421448797, -0.0619924925, 0.029536834, -0.0289619826, -0.054440137, -0.0718432814, 0.0240006223, 0.0026741154, 0.0994545892, -0.0371857546, -0.0009995415, -0.0751776397, 0.0080020688, 0.0099615473, -0.0171715748, 0.0037400508, -0.0060690064, -0.0463968404, 0.0081560519, -0.0241194926, -0.0802057013, 0.0865989178, -0.0205387436, -0.0044517932, -0.0707947835, -0.0255084429, -0.0089627774, 0.0151118981, 0.0131010115, 0.0475846007, -0.0137341525, -0.0100879027, -0.0591530353, -0.0343893804, 0.0498696007, -0.0370603614, 0.0419670045, -0.0247395393, 0.0338980816, -0.0354108587, -0.0663966537, -0.0361602493, -0.0086557735, -0.0328497551, -0.0052665914, 0.0189164542, -0.0576883852, -0.0374200754, 0.014728222, 0.0232986622, 0.0583330169, -0.0315944143, 0.0019717768, -0.0296398997, -0.0279995501, 0.0967099741, 0.0390407071, 0.0242476482, 0.0139090857, 0.039078854, -0.0002519957, 0.0283725541, -0.0092937863, -0.0523726754, 0.0189677365, 0.0336828791, -0.0612941533, 0.0151372654, 0.0173126869, 0.0639365613, -0.0644235313, -0.0163507666, 0.073569119, 0.0043780748, -0.0199587308, 0.003839884, -0.0042316089, 0.0463948064, 0.0248093773, 0.0527825318, -0.0305636544, -0.0381185077, 0.0120451609, 0.0430231579, 0.0059552705, 0.0175054576, 0.0055476148, -0.1191602796, 0.0186550785, 0.0424179696, -0.0966467038, -0.0159031413, -0.0258782245, 0.0229269508, -0.0567775927, 0.0552615076, 0.0406997018, -0.0071303868, -0.0116903922, 0.0191456266, 0.0171570349, -0.0554926731, -0.0402013026, -0.0415892228, 0.1004177257, 0.1026920974, 0.0055918777, 0.0119569758, -0.0063868375, 0.06363222, 0.0176084079, -0.0097234435, -0.0022755894, -0.0250792913, -0.0144456131, -0.0152216163, 0.0103735914, 0.0554790385, 0.0099349599, 0.0015514214, 0.0013988038, 0.0513076186, -0.0085693812, 0.0110329846, -0.0103838639, -0.0149539588, 0.0027416721, 0.0349082761, 0.0179200359, -0.0494446903, -0.0500441343, -0.0292563532, -0.0510663912, -0.0637750402, -0.04297686, 0.0082515115, -0.0213993117, -0.0128136389, -0.0551035441, -0.0215637684, 0.0144788092, 0.0262972116, 0.0130755706, -0.0082181133, 0.0281025898, -0.0203525834, -0.0068770219, 0.0100258123, -0.0352666378, 0.0001781111, -0.0632243603, -0.0229970869, 0.0260678027, -0.0047089336, -0.0012960281, 0.0254776366, -0.0532045215, -0.1004450619, 0.0280163288, 0.0664876997, 0.0168249458, 0.042325303, -0.0282998122, -0.0813075677, 0.0573250428, 0.0506541468, -0.0349581651, 0.002485937, 0.0198680051, -0.000582993, -0.0260398723, 0.0393539369, -0.0485958792, -0.0023754807, 0.0300814118, 0.0535168201, -0.0006590287, -0.0466386601, 0.010211248, 0.0090428088, 0.035210032, -0.0649153441, -0.0130413212, -0.0194836389, 0.0008519948, 0.0161323603, -0.0228124261, -0.0166587066, -0.0046360306, 0.0141397277, -0.0282549951, 0.0159671251, -0.0084911017, -0.0112927146, 0.018423859, -0.0349280313, 0.0282026734, -0.0011610597, 0.0015344613, 0.0292006359, 0.0226659775, 0.0193530731, 0.0709823966, 0.038477309, 0.0388069563, -0.0009666764, 0.017461244, 0.0342327729, 0.0333788022, -0.0368634462, 0.0382478237, -0.0307791661, -0.019573722, -0.0527036935, 0.034433268, 0.0589047335, 0.0094634295, 0.0782844946, -0.0084277252, -0.0310656186, -0.002686172, 0.0144493161, -0.0278179292, 0.0095259277, 0.0386453569, 0.0183092766, -0.0385765135, 0.0067606298, 0.0546767786, 0.0196463484, 0.0397009403, -0.0013431273, 0.0409791134, -0.0295799915, -0.0332118124, -0.0181057155, -0.0118572004, -0.043518018, -0.0499909483, 0.0035745287, -0.0515108369, -0.0467368402, 0.0495618172, -0.0223789643, 0.01776083, 0.0293725394, 0.0070883352, -0.0456381775, -0.0174780693, -0.0224137865, -0.0372097716, 0.0156971812, -0.0293384604, -0.0151483202, -6.042658832e-33, -0.0338207297, -0.0124796135, 0.0311036184, -0.0148507245, -0.0448571295, -0.0417474583, -0.0014176043, 0.0115769086, -0.0070338603, -0.0075597768, -0.0088626118, -0.0128986835, 0.0185777787, 0.002801029, 0.0187067967, -0.0132604828, 0.0430786535, -0.0137832891, -0.0558467768, -0.0049184524, -0.0085370755, 0.0187527537, 0.0407515541, -0.0381683744, -0.0084708342, 0.0407918952, -0.0629667118, 0.0145015232, -0.0341179371, 0.0983234718, 0.019363042, 0.017426189, -0.0251535047, -0.0520894118, -0.0333321504, 0.007453463, -0.0471708849, -0.0033283755, 0.0012208105, 0.0121627012, -0.0218893103, -0.0404509045, 0.0851923153, -0.0066917376, -0.0551073067, 0.0237795468, 0.0205354411, -0.0363712832, 0.0038531478, -0.0136335036, -0.0766409039, 0.0185032487, -0.0172269009, -0.024807917, 0.0353990681, -0.0156029118, 0.0057873023, -0.0029717013, -0.0128561873, 0.023557093, 0.0154773425, 0.035993699, 0.1073827744, 0.0459631532, -0.0039683101, 0.0006450242, -0.0005696598, -0.017797986, 0.0341821574, -0.0367788523, 0.0654653981, 0.0110028703, 0.0225061588, 0.0560394526, 0.0031511141, 0.0024174626, -0.0352837332, 0.0491591506, -0.0037671714, 0.0371920764, 0.011827399, 0.0543566979, -0.0234350823, 0.000056371, -0.0507234372, 0.0068116672, -0.0173793919, -0.0139953364, 0.0199101549, 0.0193164423, -0.0304729994, 0.0054170741, 0.0298346411, -0.0389903188, 0.0048783566, -0.0030594161, -0.0487389453, -0.0121789966, -0.001405395, 0.0149029195, -0.0313293487, -0.0713418722, 0.013112301, -0.0026177377, 0.0222037267, -0.0241486412, 0.0371618718, 0.0364641659, -0.0688128546, 0.0388559364, -0.0140713742, 0.0194606408, 0.0213692188, 0.0024082239, 0.0320078693, -0.0319576338, 0.0231066104, 0.0412632674, 0.0342539959, -0.0093125915, -0.0194354579, 0.0111055374, -0.0082180332, 0.0178681761, -0.0265394934, 0.0496921055, -0.0061043641, 0.0589338541, -0.0315415226, -0.0530612394, -0.0171300825, 0.0315661021, 2.542e-7, 0.0462755747, 0.0445437171, 0.0453550853, -0.0285152383, 0.0080617703, 0.0392452739, -0.0240006838, 0.0370052569, -0.0083416011, 0.0259547867, 0.0369113162, 0.0091526099, 0.0408685505, -0.0012302283, -0.0393853858, 0.0155022172, -0.1033592075, 0.046611242, -0.065345332, -0.0062028696, -0.0081389891, 0.1142506078, 0.0229343846, -0.0094627254, 0.023006985, -0.0146149341, 0.0328068547, -0.0228585228, 0.0021088328, 0.0353257321, -0.034265209, 0.036604967, -0.0315863863, -0.0270130076, -0.0172883663, 0.046426937, -0.0489204712, 0.0712600425, -0.0134863956, -0.0115780188, 0.0276421215, 0.009863399, 0.02095831, -0.0428701602, 0.0356555097, -0.0471260101, -0.0123063857, -0.0316365547, 0.0140246684, -0.0350059271, 0.0191072021, -0.0557010137, 0.0003766847, 0.0359286442, 0.0292538982, 0.0238563381, -0.0295642018, -0.0592570156, -0.0012899494, 0.020890506, -0.020166941, -0.0335237868, -0.0370640308, 0.0307663195, 0.0159237534, -0.0477364175, -0.0005985366, 2.244049251e-34, -0.0139582809, -0.0663972273, 0.0263279174, -0.0027255618, 0.0114371628, 0.0204628762, -0.0204848498, 0.0458275117, 0.0359891988, -0.0499786139, -0.0283815991 ]
http://arxiv.org/abs/2406.10811v1
http://arxiv.org/pdf/2406.10811v1
LLMFactor: Extracting Profitable Factors through Prompts for Explainable Stock Movement Prediction
2024-06-16T06:20:50
2024-06-16T06:20:50
Meiyun Wang, Kiyoshi Izumi, Hiroki Sakaji
cs.CL
cs.CL, cs.AI, cs.CE
Recently, Large Language Models (LLMs) have attracted significant attention for their exceptional performance across a broad range of tasks, particularly in text analysis. However, the finance sector presents a distinct challenge due to its dependence on time-series data for complex forecasting tasks. In this study, we introduce a novel framework called LLMFactor, which employs Sequential Knowledge-Guided Prompting (SKGP) to identify factors that influence stock movements using LLMs. Unlike previous methods that relied on keyphrases or sentiment analysis, this approach focuses on extracting factors more directly related to stock market dynamics, providing clear explanations for complex temporal changes. Our framework directs the LLMs to create background knowledge through a fill-in-the-blank strategy and then discerns potential factors affecting stock prices from related news. Guided by background knowledge and identified factors, we leverage historical stock prices in textual format to predict stock movement. An extensive evaluation of the LLMFactor framework across four benchmark datasets from both the U.S. and Chinese stock markets demonstrates its superiority over existing state-of-the-art methods and its effectiveness in financial time-series forecasting.
[ 0.0203854982, 0.0861973986, -0.007068797, -0.0168170519, -0.0019071959, 0.0008056723, 0.0121776145, 0.0462217964, 0.0069959085, -0.034438502, 0.0177188981, -0.0213900395, -0.0327537991, 0.0471985936, 0.0083894422, -0.0226752572, 0.0271636304, -0.0411183834, 0.0359063596, 0.0068983119, 0.0196540635, 0.0098558655, 0.0557487346, 0.0148951169, 0.00532779, 0.0074497052, -0.0475517362, -0.0259541087, 0.0106546516, -0.0064208894, -0.0142514771, 0.0061732475, 0.022111848, 0.0109162917, 0.0000019896, -0.0287305079, -0.0134488717, -0.0341355316, -0.0024471723, 0.0104022967, 0.0351369046, -0.0491927899, 0.0572397523, -0.0084437402, -0.0785029307, 0.0142025892, 0.032616578, 0.1057751253, 0.0635098889, 0.0895047858, -0.0239878409, -0.0316794887, -0.0164437443, -0.0511066653, 0.0344794132, -0.0771031156, 0.0439614542, -0.0384071246, -0.018457517, 0.0477939732, -0.0025066447, 0.0247910693, -0.0294909999, -0.0141136302, 0.0128037641, -0.0000067985, 0.0254692733, -0.0015720208, -0.0404852889, 0.0412742421, 0.0422204733, 0.0129186986, 0.0312938057, -0.0404331796, 0.0021501216, 0.0756948888, -0.0386553556, 0.0045105563, -0.0063664475, 0.0351681039, 0.0659350082, -0.0107711991, 0.0185085069, 0.0217047036, -0.0212158523, 0.0599156581, -0.0420538783, -0.0417113043, 0.028137356, 0.0083747199, 0.0252451841, -0.0534171164, -0.0091541093, 0.0255200267, -0.0150920227, 0.0164026096, 0.0123619633, -0.0125200395, -0.022086421, -0.1089730859, -0.0488235317, 0.0417734161, 0.0095378952, 0.0536743142, -0.0333589911, 0.0362740159, 0.0289874841, -0.0525797755, -0.0044438266, 0.0044627087, -0.0582442023, -0.019044783, 0.0025249631, 0.0405413583, -0.0108532365, -0.0258863233, -0.0382621698, 0.0028482594, -0.0168258194, 0.038312722, -0.0052325376, -0.0212495867, -0.0112652956, -0.0048869867, -0.0279542431, -0.0141191408, -0.0324825495, 0.0411155187, -0.0131797632, -0.006472656, 0.008277934, 0.015404406, -0.014888675, 0.0090235434, 0.0039996374, 0.0782378167, 0.0248050243, -0.0098843193, -0.0661503226, -0.0764111355, 0.0101703163, 0.0006829924, -0.0313668922, -0.0025264239, -0.0279953051, -0.0103818504, -0.0162972156, 0.013705601, 0.0337613709, -0.0064180573, -0.0414568298, 0.0540512092, 0.0104250871, -0.0246183164, -0.0087266564, -0.0269944612, 0.0276674982, 0.0647578314, -0.0459508561, 0.0329183713, 0.0660184547, 0.0000596856, 0.0044669141, 0.0210038926, 0.0065327743, -0.0411228798, -0.0334870927, 0.0129095521, -0.0088890633, -0.0369818509, 0.0323699154, -0.0214122571, 0.0265721753, 0.0221317317, 0.0470331796, 0.0232264176, 0.0252666045, 0.0427730232, 0.0104990797, -0.0038120875, -0.0053413012, -0.0301391557, 0.0216376651, -0.0096548256, -0.0389897414, 0.0268893205, 0.0012554643, 0.0070457305, -0.0289739463, -0.0546610169, 0.0103356112, -0.0026112422, -0.0301784016, -0.0097833015, 0.0411989652, -0.0712064803, -0.0237633009, 0.051245749, 0.0394620523, -0.0181251261, 0.0080876714, 0.0139775779, 0.0482400283, 0.1027354226, 0.0058101621, -0.0237833466, 0.0310436469, -0.0150311207, 0.000543859, 0.0284491964, -0.0206534043, -0.0000071191, -0.0454616435, -0.0515436828, -0.0322969332, 0.0404763483, 0.0408084616, -0.0003304165, -0.028845178, 0.0166349169, 0.0065819845, 0.010140704, -0.002281748, 0.0359575525, 0.0264169611, -0.0639468208, 0.0101087894, -0.0438368805, 0.0115361298, 0.0313794911, 0.0058297608, 0.0019322156, -0.01148941, -0.0137043688, -0.0650089383, 0.0386076979, -0.0437918343, -0.0133836437, -0.0184397139, 0.0241093449, 0.0310607627, -0.0059719789, -0.0391162746, -0.0473783053, 0.0064831986, -0.0031278003, 0.0516333617, -0.0491115712, -0.0514086634, 0.0115603497, 0.0049792673, -0.0077193482, 0.0680809021, -0.0018802246, 0.0178621225, -0.0010325055, 0.0042740339, -0.0305461921, 0.0203501061, 0.0303121451, 0.0165955126, 0.0137793841, 0.0407242253, 0.0463287123, -0.0177374985, 0.005471623, -0.0076065972, -0.0559871309, -0.0482717417, -0.0200634729, 0.0019669018, 0.0060368655, 0.0049509723, -0.0155785, -0.0180018321, -0.0186107177, -0.0075031049, -0.0131152561, -0.0157784838, 0.0582358427, 0.0126521029, 0.0164516922, -0.0396788083, 0.0198703464, -0.0357689895, 0.048995208, 0.0659625307, -0.0295151081, -0.0309481472, 0.0302945077, -0.0170885753, -0.0049596643, -0.0181806199, 0.0294085629, -0.032484889, -0.0429993048, 0.0261097178, 0.0380267352, 0.0418017358, 0.0143527025, -0.0480683334, -0.0322330222, -0.048141975, 0.0095145861, -0.0404365249, 0.0265598241, -0.0261030067, -0.0265304409, 0.0236522891, 0.0668107271, 0.0042930353, -0.0085659586, -0.1037670374, 0.0230912957, -0.0258554518, 0.0629195049, -0.070155181, 0.0026471356, -0.0270554125, 0.0704776198, 0.0110863717, -0.0723132268, 0.0608072318, -0.0109449076, -0.0237478334, 0.0181949809, -0.0423955098, -0.088721782, 0.0299874786, -0.038451571, -0.0155032119, -0.0221776199, -0.0217787288, 0.0158479698, -0.0265423246, 0.0139071671, -0.0224254597, 0.0484188125, -0.0428223126, 0.0422929227, 0.0416637063, 0.0234720893, -0.0103157181, -0.0737507641, -0.0585404932, 0.0005928527, 0.0367116332, -0.047149267, 0.0000612315, 0.0357188396, -0.0156852156, -0.0119459797, -0.0025669027, -0.0365867913, 0.0511173829, -0.0034140025, 0.064091906, -0.0134728923, 0.0001797018, -0.0465913117, 0.0838795602, -0.0008070312, 0.0563586056, -0.0307682902, -0.0090695843, 0.0198775474, -0.0082505252, -0.0154927298, 0.003454065, 0.0026409149, 0.000250761, -0.0379261076, 0.0017816239, 0.1113403365, 0.0020221251, -0.0150581794, 0.0039981729, 0.021173669, 0.003284076, -0.0184463225, 0.0363213643, -0.0461982563, -0.0328686833, -0.0245872941, 0.0292294472, 0.0252955426, -0.0420575514, -0.0150225461, -0.1126592159, 0.0700321496, -0.0017949735, -0.0104920268, -0.031735938, -0.0828190967, 0.0084058503, -0.0605449826, -0.0335238874, 0.0111656254, -0.0174771436, 0.0384639129, 0.0111237224, -0.1183493882, -0.0333328694, 0.0123398434, 0.0140392398, -0.0197909437, 0.0209731199, -0.0074868845, -0.0174263194, 0.0002317739, -0.0664700568, -0.0434239917, 0.023780806, -0.0355763547, 0.0453325473, -0.0325399041, -0.0310340188, -0.0092148064, 0.057095807, -0.0135466987, 0.0262214039, 0.0317418613, 0.0229942203, -0.0383180715, -0.0495024025, 0.023487512, 0.0465834923, 0.022102287, 0.0617583953, -0.0059558763, -0.0475284234, -0.0259748083, -0.0441813618, 0.0030779631, -0.0379383489, -0.0467199199, -0.0206073839, -0.0200015604, -0.0170699134, -0.089910686, -0.0473965406, 0.0060580154, 0.0294411257, 0.014101252, 0.0653529391, -0.0098191174, 0.0079599088, -0.0174649768, 0.0051116203, 0.0156787001, 0.00868899, 0.0025037937, 0.0023858438, 0.0291812215, -0.030916024, -0.0240427777, 0.0238810964, -0.0689069107, -0.0491411313, 0.0165333878, -0.0087112114, 0.0213812385, 0.0102119539, 0.0052693333, 0.0320153274, 0.0680985302, 0.0390738174, -0.0315291733, -0.0172688644, 0.050766781, 0.0455465168, 0.0125775179, 0.025754137, -0.0172460582, 0.0101353824, -0.0499673449, 0.0266931131, -0.0692982376, -0.0207436364, -0.0237188619, -0.0171762556, 0.0431771651, 0.015791947, -0.0285943039, -0.0344449058, -0.0269018263, 0.0256984252, 0.00045306, -0.0276193172, -0.0017119985, 0.0186322294, -0.0083311237, -0.0351193435, 0.0268360991, -0.0321335234, -0.0341414474, -0.0244338755, 0.0389945321, -0.0068011554, 0.0430260561, 0.0187380556, 0.0076548238, 0.0178320352, -0.0306233875, 0.0190523993, -0.0060564661, 0.0058251717, 0.0378912427, 0.0262224469, 0.0198491719, 0.0163435377, -0.0674483106, -0.081256561, -0.0281156059, 0.0047790543, 0.0387490951, -0.0037783049, -0.057714384, 0.0130456146, -0.0445715599, 0.033003673, 0.0462127402, 0.0473555177, 0.0064677084, -0.0139641445, 0.0230817255, 0.0043862457, -0.0818589851, -0.0031340611, 0.0719335526, 0.0126737161, 0.036184717, 0.0017764792, -0.0411399789, -0.0389723554, -0.0125164408, 0.0929759666, 0.0019268054, -0.0104602212, 0.0066748294, -0.0680665746, -0.035298951, 0.0409223549, -0.0435352996, -0.0238913391, -0.0030691421, 0.0219216775, 0.0608075671, 0.0111206872, 0.0491799079, -0.05017066, 0.0091638928, -0.0417354777, -0.0071580596, -0.0548665896, -6.196765407e-33, -0.0078961076, -0.0239467882, 0.0072469688, 0.0338795707, -0.0077427113, 0.0458740182, -0.0320123173, -0.0031905249, 0.0181061737, 0.0272033848, 0.0149549535, 0.03425318, 0.0040586637, 0.0093444595, 0.0585515462, -0.025716491, 0.026432801, -0.0175162759, 0.0125120664, -0.0033877308, 0.0506571606, 0.0779538676, 0.0497390144, 0.0044622645, 0.0700570643, -0.0330542699, -0.0560848266, -0.0021665848, 0.0678248778, 0.0097445957, 0.0058374372, 0.0418812074, 0.0206091907, -0.104145214, -0.0331175216, 0.0226033274, 0.0130618867, -0.0820147097, 0.0285780355, 0.0162947718, 0.0038007938, 0.0285724699, 0.0020070979, -0.0166667402, 0.0334995165, 0.0517571941, 0.0501939319, -0.0034636853, -0.0143568981, -0.0322824568, -0.0318361148, 0.0409108177, -0.0089905281, 0.0595931038, 0.0384295508, 0.1151715964, 0.0129967732, 0.0443653688, -0.022713745, 0.0241941679, 0.0534857139, 0.0391909294, 0.0034040012, 0.0518465042, 0.0077677113, 0.0538798682, -0.0249225888, -0.0304592233, -0.0317520499, 0.0737771988, 0.0100239301, 0.0493915156, 0.0323889665, 0.0452352352, 0.0285553969, -0.0286477413, -0.0305002965, 0.0096921865, 0.0107803037, 0.0026825194, 0.0217830297, 0.012828269, -0.0340800472, -0.0497561581, -0.0001645058, 0.0320558175, -0.0037390892, -0.0073876735, 0.0057116514, 0.0222149193, -0.0443777554, -0.0054648109, 0.0159628317, -0.0292259175, -0.045896098, 0.0195958372, -0.0149771068, 0.0069262059, -0.0013920114, -0.0334748551, -0.0600883812, -0.0338818729, 0.0111090215, -0.0035642292, -0.001192132, -0.0505339429, -0.0073194695, 0.0193316173, -0.0480279252, -0.0410578586, 0.0115898177, 0.0284485668, -0.001883459, -0.0115220174, 0.0225840993, 0.0087505411, -0.0356652327, 0.0295024198, 0.014656282, 0.0361178592, 0.0236338954, -0.0188502409, 0.0009036559, 0.004117378, 0.0022163677, -0.0177704468, 0.0368153565, 0.048978027, 0.0196359903, -0.0371304527, -0.0069825524, 0.0462118909, 2.75e-7, 0.0388715379, 0.0744905844, -0.0075829094, 0.0199870002, 0.0079856571, 0.0574832186, -0.0240939315, -0.0220581535, -0.0171673521, -0.0128269801, 0.0811909288, 0.0290187206, 0.0517034158, 0.0329552405, -0.0985200852, -0.0711959898, -0.0560217313, -0.0134085836, -0.0847300366, 0.0262761153, 0.0455134735, 0.0670174062, 0.0185091011, -0.0065452754, -0.010832943, -0.0552267171, 0.0339995511, -0.0618053414, -0.0192719009, 0.0083170272, 0.0245090015, 0.0136802737, -0.0559295416, 0.0205950476, -0.0273048617, 0.0193713661, -0.0105023049, 0.0106271664, 0.0273563191, 0.0175559148, -0.0089229811, 0.0219700653, -0.0126049714, -0.0519965589, 0.052319102, -0.0349264741, -0.0111259446, -0.0762812942, -0.0534456931, 0.0106498618, 0.0082164938, 0.0015444137, -0.0124871107, 0.0268692225, -0.0247277915, -0.0007271703, 0.0149841383, -0.0524793267, -0.0457494482, -0.0022709069, -0.0470628887, 0.0113485735, -0.0453507155, -0.0040368587, -0.0019622182, -0.0438277982, 0.0467625894, 2.292226611e-34, 0.0730287731, -0.0220064018, -0.0655850172, 0.0572574437, 0.0672587529, 0.017861722, -0.0543553792, 0.0654402748, 0.0257122554, -0.0724821091, -0.0095740138 ]
http://arxiv.org/abs/2406.10809v1
http://arxiv.org/pdf/2406.10809v1
Post-hoc Utterance Refining Method by Entity Mining for Faithful Knowledge Grounded Conversations
2024-06-16T06:12:47
2024-06-16T06:12:47
Yoonna Jang, Suhyune Son, Jeongwoo Lee, Junyoung Son, Yuna Hur, Jungwoo Lim, Hyeonseok Moon, Kisu Yang, Heuiseok Lim
cs.CL
cs.CL, cs.AI
Despite the striking advances in recent language generation performance, model-generated responses have suffered from the chronic problem of hallucinations that are either untrue or unfaithful to a given source. Especially in the task of knowledge grounded conversation, the models are required to generate informative responses, but hallucinated utterances lead to miscommunication. In particular, entity-level hallucination that causes critical misinformation and undesirable conversation is one of the major concerns. To address this issue, we propose a post-hoc refinement method called REM. It aims to enhance the quality and faithfulness of hallucinated utterances by refining them based on the source knowledge. If the generated utterance has a low source-faithfulness score with the given knowledge, REM mines the key entities in the knowledge and implicitly uses them for refining the utterances. We verify that our method reduces entity hallucination in the utterance. Also, we show the adaptability and efficacy of REM with extensive experiments and generative results. Our code is available at https://github.com/YOONNAJANG/REM.
[ 0.051979322, 0.0519478917, -0.0188125726, 0.0083950618, -0.018795481, -0.0169071425, -0.0458859764, 0.0024948083, -0.0117651038, -0.0420147032, -0.0242209639, -0.0218632258, 0.0285657216, 0.004603453, 0.0213995595, -0.031270504, 0.0513223633, 0.003009754, -0.014913395, -0.01563254, 0.0197167061, 0.0290559195, -0.0507688373, 0.0364111885, -0.0302586034, 0.011515555, -0.0155255366, 0.0239221416, 0.0308651347, 0.017997738, 0.0222187862, 0.0648824796, -0.0230149757, 0.0368328094, 0.0000022873, -0.0333702937, -0.0515385233, -0.031277936, -0.0254387613, -0.0006040126, -0.0187128801, 0.0248302314, -0.008848724, 0.0097429268, -0.061960917, 0.006969098, 0.0451502651, 0.0712693557, 0.047023043, 0.0920104012, -0.0088654542, 0.0103584137, 0.0143321492, 0.0130474875, 0.0212848503, 0.0058126017, 0.0023494426, 0.0214331541, -0.0293413699, 0.0005672915, 0.0186304953, 0.014757284, 0.0083565814, -0.0147713656, 0.0599433519, 0.022452902, -0.0498250574, -0.0194652323, 0.016133327, 0.0745180473, 0.0189838149, -0.0265725609, 0.0312172845, 0.0175173692, 0.0017006008, -0.0139251137, -0.0047350246, -0.0020175891, -0.0180118028, 0.0243962035, -0.0096912058, 0.0074729878, -0.0095240818, 0.0103766518, -0.0242229681, 0.0394825302, 0.0284660477, -0.0134604964, -0.0045309304, 0.0084802946, -0.0178615991, -0.0639517829, 0.0224367864, 0.0131181832, -0.0491839275, 0.0083734468, -0.0410772599, 0.0140328277, 0.0197156314, -0.040740706, -0.0239033047, 0.026954757, -0.0285693984, -0.0048815398, -0.005912228, 0.0232622083, -0.0006874824, 0.0131062446, -0.0000819877, 0.0002097073, -0.0414033644, -0.0047428152, -0.0425550155, 0.0569710843, -0.060013961, -0.0052722334, -0.0461484417, -0.0093166213, -0.0193365198, 0.0025988556, -0.0359051637, 0.0354489461, -0.0227161422, -0.0063310666, -0.0208106395, 0.0263386574, -0.0471469127, 0.0169414133, 0.0485806949, -0.0733098537, -0.0119525557, 0.0154037084, 0.0075165397, 0.0101240724, -0.0193071868, -0.014733009, -0.0135436412, -0.0024072099, -0.0608919635, -0.0858519599, -0.0501133054, -0.0693765134, -0.0034738497, -0.03561325, 0.0296608415, -0.0288723502, -0.0244826917, -0.0532776751, 0.0303526334, -0.0169480145, -0.0430818535, 0.0174574424, -0.0671929121, 0.0180573277, 0.0388607159, 0.0520098098, 0.0061491998, 0.0516495556, 0.0335873328, -0.0163056422, 0.0348249786, -0.0166927017, 0.010605081, -0.0095345313, 0.050193768, -0.0048102597, 0.0175715145, -0.0186031703, -0.0433264785, 0.0047075343, 0.0471127033, 0.0383736901, -0.0559181683, 0.0054947352, 0.0592822209, -0.0408506542, -0.0140542928, 0.0360839628, 0.0057950993, 0.0208102316, -0.0162416454, 0.0786411762, -0.0184040759, 0.0089801354, -0.0429753177, 0.0094628492, 0.0850806311, 0.0103821578, -0.0304961186, -0.0170993451, 0.0475510955, 0.0035133385, 0.0004662326, -0.0174302515, -0.0245539136, 0.0656910166, -0.0592342541, 0.1205036715, 0.0433583185, -0.0749293044, 0.0154717164, -0.0330347009, 0.0187758543, 0.0761222765, 0.0607677549, 0.0127358092, -0.0152912037, -0.0239386354, -0.0022751517, 0.0816602334, -0.0004870512, -0.0272896253, 0.021102624, -0.0567535385, 0.0056268633, -0.0078086942, 0.0174338631, 0.0145853432, 0.0072599957, 0.0153442128, 0.0423723757, -0.0107255867, 0.0199581049, 0.0139357066, 0.0193760209, 0.0298322886, 0.0096900612, 0.0029364445, -0.0066098133, 0.038751401, -0.0262153596, 0.0250135977, 0.0292842332, -0.0082994439, -0.0260235332, 0.0489801392, -0.0538869128, -0.0424816683, 0.0231474098, -0.0132533982, 0.009506369, -0.0373799056, 0.0023188021, -0.0504695475, -0.0006578212, -0.0368355736, 0.0650539324, -0.050731644, 0.040884167, 0.0218916554, 0.0465087667, -0.0136668431, 0.0589275844, -0.021258872, -0.0044119083, 0.0286892392, 0.0052215494, -0.0066418103, -0.0361941606, 0.0185849387, 0.013660728, -0.0013003444, 0.0079417918, 0.0302891135, -0.0284260958, -0.0645786151, -0.0335515775, -0.1140730828, -0.0032240879, -0.0227660406, -0.0133052897, 0.0397032797, 0.0092053739, -0.0044783051, 0.0119263707, -0.0371735729, -0.0062833373, 0.0377595201, 0.0042618909, 0.0046693091, 0.0060307486, -0.040679194, -0.0052660163, 0.0564326048, 0.0180572905, 0.0313657261, 0.0052259387, -0.0056928918, -0.0848695859, 0.0547307283, -0.0824363157, -0.0078561381, 0.0331589617, -0.0109104896, 0.0082787881, 0.0506938845, 0.0754767284, 0.0013866608, 0.0446803682, 0.0331391692, -0.0029354219, -0.0460157879, -0.0541987456, 0.0009217399, -0.0082008392, 0.0378851183, -0.0113852639, -0.0354875848, 0.0339306369, 0.0315211788, 0.0403799936, 0.0210020356, -0.0495265312, 0.0208872836, 0.0078504747, -0.0593028478, 0.033032205, -0.0204690527, -0.0219058897, 0.0179708749, -0.0264408197, -0.006720013, 0.0672141314, -0.0476225615, -0.0049656294, -0.0209554061, 0.0250858031, 0.0316332616, -0.0125507256, -0.0413685217, 0.0167044736, -0.0191138703, -0.0053472109, -0.0252116062, -0.0169533361, -0.016270753, -0.0269788206, 0.0337479077, -0.0479272865, 0.0078673633, 0.0428294577, -0.024832828, -0.0852178931, 0.0057288129, 0.0119632091, -0.0115757203, 0.0029922277, -0.0010088978, -0.0054414854, 0.02832371, 0.0061324351, 0.0011831273, -0.0161552075, -0.0194020569, 0.0081264414, 0.0314739943, 0.0777821988, 0.017260192, 0.0484288894, -0.0099734282, 0.0340146236, 0.0789319277, 0.0343562067, 0.027381422, -0.0024065648, -0.0139733292, -0.0048893373, -0.0194219276, -0.0167314466, 0.013291141, 0.055711735, -0.0147303697, -0.0357594602, 0.1024455652, 0.0187206212, 0.0122699747, 0.0344122313, -0.0040803198, 0.0918590203, -0.0236517806, -0.0053101131, -0.0922896639, 0.0008369302, -0.0133587597, 0.0093831671, -0.0540555678, -0.0654158443, 0.0008204252, -0.1077220663, 0.0332538113, 0.0532666743, -0.05430739, -0.0586765781, -0.0050586611, 0.00409343, 0.0451265946, 0.0392187163, 0.0233016852, 0.0534778349, -0.0035211165, 0.0156677682, -0.0405071601, -0.030422654, -0.0122341365, -0.0333687551, 0.0849930868, 0.0732305348, 0.0445565134, 0.0698378086, -0.0472735018, -0.0108510358, -0.0124893598, -0.0053468719, -0.0123827569, 0.0488832258, -0.0081095044, -0.0017321707, 0.0086665191, 0.040333651, -0.0140517242, -0.0327388123, 0.0100704255, 0.0235318188, -0.056244161, 0.0001374758, 0.0220052209, 0.0665850341, 0.0545309559, 0.0646446794, 0.045971144, -0.0092573436, 0.0061595337, -0.0003824425, 0.0545644648, -0.0594474003, 0.0050194254, 0.0497456342, 0.0344914086, 0.0009979318, -0.120286189, -0.0520374179, 0.0186304282, 0.0340658873, -0.0104749948, 0.0073962454, -0.0028726934, -0.01755221, -0.0043028416, -0.022485191, -0.0524062254, -0.0027675387, -0.0138037866, -0.0626647919, -0.0035961575, -0.0190756097, 0.0165679231, 0.0238391496, -0.0629349947, -0.0884949341, 0.0059528258, 0.036733672, 0.0247839671, 0.0882952213, 0.0028982686, -0.0211654883, -0.0019444403, 0.0093529802, -0.093854025, 0.0350349806, 0.0041277702, 0.0263511986, -0.0122687239, 0.0275104307, -0.0157587454, 0.0188918356, 0.0140629942, 0.0588772334, 0.0023233353, -0.0751491338, 0.0363847353, 0.0246313047, 0.0062486976, -0.0340012349, 0.0233563725, -0.0377149582, 0.0166307278, -0.0219929554, 0.0034266713, -0.0485311672, 0.0039195889, 0.013998921, -0.000931713, 0.0160655808, -0.0158441048, -0.0638368651, 0.0363754369, 0.003164754, -0.0641767681, -0.0181564633, 0.0163570307, 0.0315884799, -0.0092355143, -0.0286879111, 0.0382798016, 0.0209490899, 0.0643955916, 0.0010734822, 0.0791645572, -0.0051484266, -0.0589154288, -0.0148566784, 0.0063843764, -0.0219372399, -0.0022446511, -0.0451381058, 0.0564273633, 0.0287067853, 0.0303710364, 0.0935683176, -0.0271808095, 0.026470758, -0.0065728612, 0.0542694516, 0.0253846925, -0.0409535207, -0.0117396936, 0.0036807358, -0.045523908, 0.0275329258, 0.0560138822, -0.038084548, 0.0479040071, -0.0231471322, 0.0184585229, -0.0677487925, -0.0713893622, -0.0397610627, -0.0265081134, -0.0284098629, -0.011585122, -0.0606246889, -0.0386832096, 0.0131784892, -0.0149113666, 0.0225525461, -0.0159372017, 0.0325999893, 0.054846257, -0.0343979597, 0.0056163212, -0.0401271433, -0.0125392703, 0.0249316394, 0.0092973532, 0.0024550371, -6.828454031e-33, -0.0457221083, -0.0378509052, 0.0125528984, -0.0442079157, -0.0412740856, -0.0176826231, -0.0399194062, 0.0075982288, 0.0288384333, 0.0119926604, 0.010145505, 0.0037358173, 0.0142851761, 0.0095553435, -0.037002027, 0.0003250809, 0.0729347244, 0.0371150039, -0.0503865294, 0.0549606793, 0.0449375659, 0.0334877409, 0.0338462889, -0.077378884, 0.0190937612, -0.017586967, -0.0617806241, 0.01485046, 0.0073734983, 0.0226376783, -0.0195302125, 0.0249837041, -0.010340387, -0.0576561615, -0.0361266397, -0.0212787315, -0.0714219138, -0.014784704, 0.0291509964, 0.0110857124, -0.0316222347, -0.0089552486, 0.026850732, -0.0152006205, 0.0165211111, 0.0253327359, -0.0047894055, -0.033564508, -0.0158755165, 0.0198345594, -0.0763813332, 0.0035473232, -0.0158639345, -0.0135156745, -0.0335629508, 0.0406920724, 0.0008331669, -0.0966456681, -0.0841238573, 0.0535188392, 0.0137416143, -0.0132988468, 0.0297595114, 0.0001226403, -0.0136998631, 0.0938521326, 0.046836663, 0.0094017498, -0.0155489435, 0.0018751444, -0.0000211362, 0.0463954359, -0.0087634996, 0.0541374311, -0.015795378, -0.0368542336, -0.050858289, 0.0196983106, -0.0350884907, -0.0151121765, 0.019928677, -0.0088817906, -0.0415240265, -0.0323708951, 0.0016396625, 0.0126807475, -0.0236339271, -0.0545302331, 0.0254431684, 0.0371857844, -0.0584540442, -0.007599432, 0.0430042967, -0.0408031419, 0.0210753139, 0.0170863252, -0.07207717, -0.0206065141, -0.0265887771, -0.0296866503, -0.0130878771, -0.0312791131, 0.081781067, -0.0057868799, 0.0204659253, 0.0154594686, -0.0092227012, -0.0185289755, -0.0463622324, 0.0250290446, -0.0187542662, 0.068468295, -0.0247924346, -0.0363003835, 0.0048301816, 0.0012842736, -0.0468219668, 0.0078955106, 0.0204949621, 0.0254199561, -0.0043139108, 0.0498217754, 0.0238138195, 0.0445793495, -0.0354343392, 0.0026809697, 0.0156025104, -0.0842229277, -0.0022967565, -0.0454275981, -0.0189752448, -0.0580595545, 3.056e-7, -0.0338802375, 0.0110511472, 0.0502190702, -0.0371072367, -0.00115595, 0.0049333614, 0.0344246216, 0.0152852517, 0.0122473724, -0.0674421713, 0.0011480169, 0.0093629276, 0.0899851471, 0.0355679207, -0.0943345651, -0.0418282896, -0.060286887, -0.0213885605, -0.0512097813, -0.0386611521, 0.0250667818, 0.0248434059, 0.0061329044, -0.0149905393, 0.0089207124, -0.0035834422, 0.0503619984, 0.0171437077, -0.0216984749, 0.0505294241, 0.050545577, -0.0189675651, -0.0038248859, 0.0367006138, -0.0274504162, -0.0039690873, 0.0062089665, 0.0325742699, -0.0014851341, -0.0669373646, -0.0158947483, 0.0096897325, 0.016545251, -0.0410449952, 0.0259233415, -0.0364765376, -0.0014353298, 0.02191405, -0.0205218717, -0.0053403587, 0.0101866424, -0.0189892836, -0.0316398926, 0.018366674, 0.0088882558, 0.051974453, 0.0064485343, -0.0465717316, -0.0177870486, -0.0023795741, -0.0334643237, -0.0458518639, 0.0207705218, -0.0494964197, -0.0180114061, -0.0520758852, 0.0199471842, 2.790998278e-34, 0.0002978062, 0.0357927643, 0.0342740007, 0.0595777743, 0.0472842865, -0.0304081012, 0.037017554, 0.0138877193, 0.0155276917, -0.0078299921, -0.0161993913 ]
http://arxiv.org/abs/2406.10806v1
http://arxiv.org/pdf/2406.10806v1
ptt5-v2: A Closer Look at Continued Pretraining of T5 Models for the Portuguese Language
2024-06-16T05:17:56
2024-06-16T05:17:56
Marcos Piau, Roberto Lotufo, Rodrigo Nogueira
cs.CL
cs.CL, cs.AI, cs.IR
Despite advancements in Natural Language Processing (NLP) and the growing availability of pretrained models, the English language remains the primary focus of model development. Continued pretraining on language-specific corpora provides a practical solution for adapting models to other languages. However, the impact of different pretraining settings on downstream tasks remains underexplored. This work introduces $\texttt{ptt5-v2}$, investigating the continued pretraining of T5 models for Portuguese. We first develop a baseline set of settings and pretrain models with sizes up to 3B parameters. Finetuning on three Portuguese downstream tasks (assin2 STS, assin2 RTE, and TweetSentBR) yields SOTA results on the latter two. We then explore the effects of different pretraining configurations, including quality filters, optimization strategies, and multi-epoch pretraining. Perhaps surprisingly, their impact remains subtle compared to our baseline. We release $\texttt{ptt5-v2}$ pretrained checkpoints and the finetuned MonoT5 rerankers on HuggingFace at https://huggingface.co/collections/unicamp-dl/ptt5-v2-666538a650188ba00aa8d2d0 and https://huggingface.co/collections/unicamp-dl/monoptt5-66653981877df3ea727f720d.
[ 0.0285531078, 0.0119943945, -0.0100248624, 0.0479487069, 0.0175140444, 0.017627243, 0.0063352319, -0.0188521873, -0.0467633791, -0.0196290445, -0.0825146958, -0.0527943037, 0.001570584, 0.0265849289, 0.0251053926, -0.0586298965, 0.058471553, -0.0083508873, -0.062281996, -0.0213026032, 0.0124271493, -0.0153811388, 0.0071937526, 0.0108956201, 0.038093444, -0.0044337362, 0.0217653513, -0.0282685757, 0.0073269894, 0.0056289169, 0.0179984923, 0.0928457752, -0.0015741101, 0.0512398705, 0.0000020229, -0.0314776823, -0.0200024694, -0.0079596713, -0.0086530931, 0.0317275636, 0.0265134852, 0.0105926367, -0.0106444797, 0.0253903642, -0.0519340523, -0.0175049733, 0.0522376597, 0.0411005467, 0.072627008, 0.0734454915, -0.0092576062, -0.0313220993, 0.0071953102, -0.0615999214, -0.0370194875, -0.0308961645, 0.0092211189, -0.0745328292, -0.0155276097, 0.0392704383, -0.0034501711, 0.0159796849, 0.0281917956, 0.0155252945, -0.0173527598, 0.0235226583, -0.0100273145, -0.0307152979, -0.005023255, 0.0158919413, -0.0419356935, -0.0243061669, -0.0313678756, 0.0085589923, -0.025227977, -0.0367663503, -0.0396596752, -0.0044630053, -0.000013719, 0.0297458377, 0.0494633205, 0.0008687194, 0.024692649, 0.0305487923, -0.0074412916, 0.0085822651, 0.0096393423, -0.0459575541, 0.0615817681, 0.0447062962, -0.037676584, -0.0225089602, 0.0229495298, -0.036103718, -0.0182955489, -0.0044136266, -0.0192863718, 0.0214306042, 0.0092856949, -0.0332786217, 0.0319487527, 0.0385149643, -0.0292396918, 0.0168999489, -0.0222616866, 0.0021453337, -0.0570361055, 0.0110994661, -0.0309372712, -0.0249334723, -0.0467641838, -0.0215714332, -0.0491410792, 0.0142282546, -0.0355790816, 0.031179443, -0.0518011115, 0.0062067886, 0.0075759455, -0.0699916184, 0.0113044567, -0.0109514836, -0.0718520731, 0.0050258096, -0.0104633197, 0.0729928166, -0.0263621751, 0.0066643185, -0.0207990985, -0.0871682912, -0.0209340975, -0.0239058156, -0.0266635735, -0.0769414827, 0.0069200322, -0.0410013571, -0.0238444991, -0.0493115894, -0.0421931073, -0.0024051038, -0.0419289172, -0.0922633559, 0.0321631655, -0.0193301961, 0.0035646858, 0.0021817575, 0.0308366846, -0.0110517144, -0.0337664783, 0.0089261364, 0.0018853272, 0.054116562, -0.0174243953, 0.0028866462, -0.0334207453, 0.0131296357, -0.0093107587, 0.0867365971, 0.0030508896, 0.0303749647, 0.0074818796, -0.0245466121, -0.0483137965, 0.0624887422, 0.0228735115, 0.0090042781, -0.0153336469, -0.0151038496, -0.0230242759, -0.0080455774, 0.0496241748, 0.0056290249, -0.0379070342, 0.0126902079, 0.0675748065, 0.0157843139, 0.0745293722, 0.0280586109, 0.0494456403, -0.0743064359, 0.0146831796, 0.0481580794, -0.0436105281, -0.0088747982, -0.0051672431, -0.0081792865, -0.0085087847, 0.0689460784, -0.0361498185, -0.0093088849, 0.012640954, 0.0234000795, -0.017695291, -0.0112311849, 0.0528784804, -0.002028469, -0.0131222242, 0.0227086674, -0.0040353122, -0.0563855208, 0.012867339, -0.0514096878, 0.0195570886, 0.0273420475, 0.0151827987, -0.0288525764, -0.0183837451, 0.0129293464, 0.0496808663, 0.0488782786, 0.0783585086, 0.0081544369, 0.0440074094, -0.0465381406, -0.0228495747, -0.0171155129, 0.0177338813, 0.0287704486, -0.0011474156, 0.0442803577, 0.0029437884, 0.0152947633, 0.0014033025, 0.0347688161, -0.0157077909, 0.0252151191, 0.0180103909, -0.0083246818, 0.0405165851, 0.0313562118, -0.0231961925, -0.0103017204, 0.0506169833, -0.0219637752, 0.0316229463, 0.0117010381, -0.0630857199, -0.0180515517, 0.0313620232, 0.0154665988, -0.002055679, 0.0553182736, -0.017766498, -0.0353014283, 0.0357193723, 0.0069440641, 0.0264648777, -0.025204245, 0.0357760452, -0.0285031982, 0.0696224719, -0.0166269355, 0.0585558526, 0.0126625458, 0.0093154702, 0.0049326154, -0.021624757, 0.0098458407, -0.0411623754, -0.023008503, 0.0439041294, 0.0035544559, -0.0317876078, 0.0507133007, 0.0534111559, -0.0486137085, -0.0176850557, -0.118069239, 0.0406254008, -0.0497455895, 0.0325004645, 0.0160678942, 0.0497303344, -0.0186916403, -0.0289335623, 0.0050639655, -0.0146092288, 0.0009125681, 0.0534293726, -0.0091353413, 0.0183164682, 0.0126434304, -0.0381242484, -0.0394830704, 0.0250152722, 0.0197090618, -0.0199121404, -0.1288464218, -0.0405352935, 0.066721797, -0.0166522153, 0.0330255181, 0.003739625, -0.0399046242, 0.0198970623, 0.0314750932, 0.0666602626, 0.0772490129, 0.0117232222, 0.0475915037, 0.0128360065, -0.0009873956, -0.0220491085, 0.0091185058, -0.0225485619, -0.032506112, -0.0420134738, 0.0041512572, 0.0311388299, 0.0877137035, -0.0200810488, 0.0031391308, -0.0774493814, 0.0041408767, -0.0466640703, -0.0172201209, 0.0312751047, -0.0004747213, -0.0306078047, 0.0178235974, -0.0313803442, -0.023993222, 0.0491631925, -0.0071230079, -0.0264786556, -0.0885011777, -0.0064131245, -0.0037786488, 0.0475996993, 0.0386292189, -0.0116391918, 0.016622005, -0.0199860726, -0.0434991419, 0.0176416561, 0.0450866669, -0.0034067421, 0.010177264, -0.0180369709, 0.0108457748, -0.023662705, -0.0630313978, 0.0039697322, -0.0532133505, -0.0088623408, -0.0057731159, -0.0107395174, 0.0203288477, 0.0075435895, -0.0025572805, 0.0426858924, 0.0783256292, -0.0463688746, -0.0154118994, -0.0084945178, 0.0204829797, 0.0412836224, 0.0144314952, 0.0358681791, -0.0536283404, 0.0214569643, 0.0105840843, 0.0411147401, -0.0362372771, -0.0373872593, 0.0117773693, 0.0507342443, -0.0310688633, -0.0878101513, -0.0132666752, 0.0538654774, -0.0368165374, -0.0195635352, 0.0637483597, 0.02071945, -0.016038198, 0.01420487, 0.0108223334, 0.0492336899, 0.0072465749, -0.0132981492, -0.0670306906, -0.0399818346, 0.0062308027, -0.0039016949, 0.0039402302, 0.0121916085, -0.0339637324, -0.1050121486, 0.0588807091, 0.0076111406, -0.0632777587, 0.0272242874, -0.0488792062, -0.0121223405, -0.0594359711, 0.035086792, -0.0031776482, -0.0046657436, 0.0243319031, 0.0669622049, 0.0020020176, -0.1078500897, 0.0243565068, -0.0580885075, 0.0154029699, 0.0506944619, -0.0137309032, 0.0018641346, -0.0134907737, 0.0887839869, -0.0487559885, 0.0056039747, -0.0591032505, 0.0564487092, 0.0092856186, -0.020488603, -0.0197475031, 0.0173429288, -0.0122675719, 0.0085375607, -0.0500083715, 0.0673718229, 0.0020582718, -0.0259894133, 0.0178820454, -0.0083061811, -0.050401397, 0.0286283139, 0.0178557392, -0.0501987487, -0.0087515889, 0.0229956899, 0.041139137, -0.0541402437, -0.0352821834, 0.0093009146, -0.0497759134, -0.0685491934, -0.0463359691, -0.0588303022, -0.0023531565, 0.0386767313, -0.0122221578, 0.0215155445, -0.0410996638, -0.0118859932, -0.0282317959, 0.0858948007, -0.0014771249, 0.0152334133, -0.0548194461, -0.0024679985, 0.0317508727, 0.0257935524, -0.0145473806, -0.0001333714, -0.0801848769, -0.0519366488, 0.0501594916, 0.0298823677, 0.0322881937, 0.0244882405, -0.0162631124, -0.0879875049, -0.0040863478, 0.0103314985, -0.0480091386, 0.0096780788, 0.0208071824, -0.0684259385, -0.0099462718, 0.0343516693, -0.0273347497, 0.0017272721, 0.0192612298, 0.0311215948, 0.0385932848, -0.0137939602, 0.012867514, 0.0078331707, 0.0763780102, -0.0167696755, -0.0376407132, -0.0461053029, 0.010930907, -0.0057316101, 0.0078184661, -0.0294619501, 0.0078184791, 0.0150197949, 0.021478653, -0.0388680398, 0.0197333023, -0.0148176439, 0.0189554933, -0.047837913, -0.0174734406, 0.0219720583, 0.0092995679, -0.0032047858, 0.056533318, -0.0116215022, 0.0006192023, 0.0277468432, 0.0230090171, -0.0441177674, 0.054152932, 0.0225186124, 0.0122648412, -0.0102672176, 0.0803979188, -0.0527479574, -0.0078495685, -0.0536030717, -0.0418335833, 0.0832295418, -0.042239815, 0.1116956547, -0.0096057057, -0.0002150839, -0.0135103939, -0.0076362328, -0.0077788564, 0.005892951, 0.0146721229, -0.0150650954, -0.0208432507, 0.0253241379, 0.0771096125, -0.0272523779, 0.0465955958, 0.0420725793, -0.0007572568, -0.007281723, -0.0093386015, 0.0091436394, -0.0090913586, -0.022687478, -0.0173384529, -0.0126566123, -0.0408666134, 0.0176874232, -0.0364891738, -0.0134359254, 0.0169382393, 0.0064122924, 0.059975151, -0.014143046, -0.0301297754, -0.0176147893, -0.011072021, 0.0573148057, -0.0196870528, -0.0262132194, -6.452697711e-33, -0.0294746365, 0.0451564156, 0.0093505159, -0.0043488666, -0.0543348677, -0.0178687591, -0.0259320512, -0.0052911718, -0.0222235639, 0.004553752, -0.022278592, 0.0087908516, 0.0363380536, -0.0045317812, -0.0083026541, -0.0056313002, 0.0320131704, -0.0265472457, -0.0300069153, -0.0004869262, 0.0050344942, 0.0063796951, 0.103549175, 0.0104060434, -0.0031755918, 0.0567366444, -0.0200469587, 0.0275116507, -0.0132163875, 0.0714002103, -0.0131002916, 0.0382554457, 0.0459289476, -0.0581762008, -0.0369504876, -0.0204159804, -0.0677405596, -0.0470236242, 0.0294839535, 0.052681569, -0.0065418277, -0.001003523, 0.0401921682, 0.0082306992, -0.0160513818, 0.0064136214, -0.0078727538, -0.0090198489, 0.0060206507, 0.0153026888, -0.037433926, 0.0342689455, 0.0146318572, -0.0215389207, 0.0349650756, 0.0679815337, -0.0105169909, 0.0128499549, -0.0395281985, 0.0121342996, -0.0123218708, 0.0670194626, 0.028839739, -0.0100557711, 0.0227839239, 0.0302334186, 0.0480131842, -0.0148336906, 0.0188521631, -0.0434763208, 0.0836645439, -0.0064761979, 0.061584767, 0.0217636731, 0.040816322, 0.0216740891, -0.0662398711, 0.0041770195, 0.0160724111, 0.0508132018, -0.0085026976, 0.0100374892, -0.0126595767, -0.0237174388, -0.0198863614, -0.0285398513, -0.0265213381, -0.0205884688, 0.0351547562, -0.0028753032, 0.0152727766, 0.0395501666, 0.060090404, -0.0020578247, 0.0016734895, -0.0078995703, -0.0394490771, 0.0312350523, 0.0215019863, 0.0612089634, -0.0576296486, -0.001965225, 0.0055331546, 0.0395148769, -0.0110844169, -0.0252539217, 0.0303129945, 0.0271331109, -0.0577939786, 0.017638227, -0.0324774273, 0.0263881255, 0.0094339531, 0.0491937511, 0.0364618786, 0.0099629546, -0.0035011617, 0.0619097203, 0.0498240665, -0.0165418368, -0.0460632518, -0.0115419552, 0.0667279065, 0.0399606451, 0.017036695, 0.0055110757, -0.0113543691, 0.066714026, 0.0189681612, -0.0269994251, -0.0430964679, -0.0104090581, 2.737e-7, 0.0272065904, 0.0436164103, 0.0255099516, -0.0118684294, 0.0191511959, 0.0201267935, -0.008381404, 0.0082656397, -0.0000040145, 0.0600266047, -0.0149137797, -0.0036007972, 0.0546292812, 0.0308918934, -0.0199210197, -0.0114559364, -0.080043152, 0.0195289217, -0.0439910889, -0.0422602855, -0.0209841467, 0.1236995831, -0.0012133172, -0.0126081826, -0.0257603899, -0.0314692445, 0.0797863603, -0.0140369376, -0.0348684527, 0.006887713, 0.0206052158, -0.0137476912, -0.014611451, 0.004782693, -0.0296825916, 0.0383452214, 0.0081713237, 0.0225411747, -0.0157582257, 0.0071682902, 0.0288066864, 0.0011685315, -0.0294868499, -0.0792801231, 0.0584789701, -0.0515458509, -0.0394361317, -0.0024213819, -0.0264957454, -0.0264931899, 0.0320551507, -0.0422396958, -0.0529433116, 0.0475121997, 0.0285300277, 0.0197651777, -0.0856162161, -0.0559512861, -0.0220306292, 0.0188723058, -0.0270676818, -0.0189283863, -0.0425518081, 0.0077617029, 0.0184960682, -0.062828891, 0.0146260811, 2.601550373e-34, 0.0114164576, -0.0341633335, 0.0485838912, -0.0076275831, 0.0216191337, -0.0159785822, 0.0158742629, 0.0060073999, -0.014406018, -0.0395655148, -0.0205319356 ]
http://arxiv.org/abs/2406.10803v1
http://arxiv.org/pdf/2406.10803v1
HiddenTables & PyQTax: A Cooperative Game and Dataset For TableQA to Ensure Scale and Data Privacy Across a Myriad of Taxonomies
2024-06-16T04:53:29
2024-06-16T04:53:29
William Watson, Nicole Cho, Tucker Balch, Manuela Veloso
cs.AI
cs.AI, cs.CL, cs.IR
A myriad of different Large Language Models (LLMs) face a common challenge in contextually analyzing table question-answering tasks. These challenges are engendered from (1) finite context windows for large tables, (2) multi-faceted discrepancies amongst tokenization patterns against cell boundaries, and (3) various limitations stemming from data confidentiality in the process of using external models such as gpt-3.5-turbo. We propose a cooperative game dubbed "HiddenTables" as a potential resolution to this challenge. In essence, "HiddenTables" is played between the code-generating LLM "Solver" and the "Oracle" which evaluates the ability of the LLM agents to solve Table QA tasks. This game is based on natural language schemas and importantly, ensures the security of the underlying data. We provide evidential experiments on a diverse set of tables that demonstrate an LLM's collective inability to generalize and perform on complex queries, handle compositional dependencies, and align natural language to programmatic commands when concrete table schemas are provided. Unlike encoder-based models, we have pushed the boundaries of "HiddenTables" to not be limited by the number of rows - therefore we exhibit improved efficiency in prompt and completion tokens. Our infrastructure has spawned a new dataset "PyQTax" that spans across 116,671 question-table-answer triplets and provides additional fine-grained breakdowns & labels for varying question taxonomies. Therefore, in tandem with our academic contributions regarding LLMs' deficiency in TableQA tasks, "HiddenTables" is a tactile manifestation of how LLMs can interact with massive datasets while ensuring data security and minimizing generation costs.
[ 0.0345543027, 0.108400315, -0.0369137712, 0.0474945121, -0.044859197, 0.006488082, 0.0130894361, -0.0006220856, 0.0033828605, -0.0080591515, -0.0275832769, 0.0164035577, -0.0332759172, 0.0465421751, 0.0348319039, 0.046370212, 0.0340827815, -0.0291394852, -0.0166058522, 0.0031217081, -0.0070281918, -0.0152916489, -0.0077750194, 0.0413158201, -0.0075224638, -0.0170167517, -0.0517678782, -0.0335525014, -0.038176164, 0.0079709766, -0.0156916324, 0.1086920202, 0.0006062212, 0.0544852652, 0.0000020787, -0.0284332763, -0.0672539994, 0.0212113224, -0.0546763428, 0.0047304998, -0.0034776193, -0.0065501044, 0.0166807715, 0.0032740878, -0.0484122187, 0.0054228925, 0.0333421901, 0.0073194336, 0.0748871639, 0.0147487503, 0.010724986, -0.0152789038, -0.0152392983, 0.0000554358, 0.0538809188, -0.0910789669, 0.0112640001, -0.0288380422, 0.009166155, -0.0189604759, 0.003015514, 0.0260227714, 0.0359411649, 0.0062326365, -0.0276180282, 0.0173958484, -0.0527399965, 0.0123918587, -0.0041775545, 0.0559489876, 0.0476227663, -0.0081152227, 0.0096445717, 0.0257806405, 0.0525833741, 0.0089517292, -0.0330295898, 0.0275138151, -0.0123341493, -0.0288208853, 0.0172184855, -0.0095598409, 0.0005649291, -0.0192912947, -0.0321876258, 0.0850182548, -0.0100973705, -0.016323356, -0.0389286429, -0.0305117276, -0.0145305051, -0.0543329827, 0.0268554334, 0.0338116474, -0.0508862548, 0.0272806473, 0.0025914365, -0.0179527868, 0.050172288, -0.0167414937, 0.0002017045, 0.0380548425, 0.0191520117, 0.0403727703, 0.0117186364, 0.0493830591, -0.0029621543, 0.0442488901, -0.0061905398, -0.0430561863, -0.0328275487, -0.024535371, -0.039938353, 0.0630822331, -0.06472902, 0.0165218506, 0.0201482382, 0.0306522232, -0.0274268854, 0.074001357, 0.0055518295, 0.0403997302, -0.0056277737, 0.0190944541, -0.0319325142, -0.036845129, -0.0456387289, -0.0022179144, 0.0086240731, -0.1118797585, -0.0266008321, -0.0433571301, 0.008129349, -0.026751833, 0.0139621655, 0.0998767987, -0.0154939424, -0.0056601316, -0.0221105348, -0.078353405, -0.0094217984, -0.0456053689, -0.0080165071, -0.0463171005, 0.0672060847, 0.0076027685, 0.0090137627, -0.0497866236, 0.0043630525, 0.0746459588, 0.002400612, 0.0886898339, 0.0344664976, 0.0125153176, -0.0121810576, 0.0294482801, -0.0312560648, 0.0790090784, 0.0251391698, 0.0150500135, 0.037156675, -0.0356004499, 0.0133037902, 0.0163046569, 0.0291357189, 0.0133954491, -0.0047908281, 0.0791504905, 0.0486723259, 0.0095846634, -0.0427273996, 0.039366167, 0.0095963422, -0.0116723394, 0.0574989021, 0.0899222493, -0.0268645138, 0.0552385189, -0.0470652059, -0.0081003122, 0.01301861, 0.0094920965, -0.0392320752, 0.0379066542, -0.0222847871, -0.0162109621, 0.0128314421, 0.011855335, -0.006006923, -0.030674031, 0.0195827615, 0.0160016492, 0.0047232579, 0.0202118997, -0.0202313904, 0.0079573002, -0.0223290678, -0.0016471867, -0.0252452847, -0.0733689293, -0.0160912964, -0.0368407071, 0.0548461638, 0.0530644804, 0.0647191554, -0.0573832169, -0.0101256017, -0.0198363829, -0.0044759428, 0.0045787604, -0.0149564976, -0.028190909, 0.0052869269, 0.0122809047, -0.0582301952, 0.0047553079, 0.0351940431, -0.0380488038, 0.0190352146, -0.0045887246, -0.0212965868, -0.0546502545, 0.0150156757, 0.0313445888, 0.0234820303, -0.0321889557, -0.0088152373, 0.0196407139, 0.0404477529, 0.0477804728, 0.010652991, 0.0450029969, 0.044201903, 0.0014688955, 0.0153532038, -0.0428083204, -0.01202574, 0.0311461166, -0.001353069, 0.0074422155, -0.0187078211, 0.0049498682, -0.0352539495, -0.029763164, -0.0155174984, -0.0115054632, -0.0127148787, -0.0229768902, -0.0033399381, 0.0036729532, -0.0007617971, -0.0112428041, 0.0543346107, -0.0010232115, 0.0211745631, -0.0000515697, -0.0892480761, 0.0266333502, -0.0404639989, 0.054772526, 0.0061775376, -0.0159328822, 0.0238309428, 0.0204361659, 0.0156720672, -0.0616744459, -0.0071524149, -0.0627476424, 0.040602807, -0.0296239313, 0.0364922695, 0.0199070442, 0.0092400424, -0.0325648934, -0.0030387898, -0.0609438568, -0.0209803078, -0.0174907148, 0.0220434647, 0.0323568434, 0.019282775, -0.0308174621, 0.0062760753, -0.0248843245, -0.0263481122, 0.0508129299, -0.0300473943, -0.0099899098, 0.0086371619, -0.0319827087, -0.0014389878, 0.0166063737, 0.0243544225, -0.012278676, -0.0181479566, 0.0013908353, -0.0190507583, 0.0517506041, -0.0177019518, 0.0099870032, 0.0127385603, -0.0191643406, -0.0286249425, 0.0142078968, -0.0063207094, -0.038157329, 0.0029279734, -0.0486513227, 0.0594963096, 0.01616708, -0.0168204755, -0.0167058948, -0.0384245031, 0.0551488884, 0.0204066765, -0.0218038987, -0.0817231759, 0.0172420125, 0.00446741, 0.0287565906, -0.006079786, -0.0027029342, 0.0449285544, -0.0327609293, 0.0142636457, -0.032600157, 0.0062314607, -0.0647329092, 0.1074260473, 0.0015723214, 0.0155376345, 0.0356129743, -0.0696110502, -0.0480823033, -0.0077317408, 0.0121758729, -0.0547502637, 0.0722517222, -0.0345421433, -0.0161378421, -0.0075356723, -0.0289735198, -0.0287388377, -0.0115609569, -0.0280141849, 0.0340933129, 0.0347382277, -0.0301921461, 0.0079549057, -0.0248274319, 0.0495976396, 0.0105727669, -0.0015656328, -0.0084539205, -0.0425159372, 0.0218926389, 0.0300642606, 0.0155390427, -0.0345145985, 0.0051994226, 0.0284826905, 0.0801713392, 0.0317570679, -0.0244762804, 0.065732196, 0.0182287488, 0.0209157411, -0.0493324213, -0.0005415172, 0.0492400452, -0.0266534854, -0.0553297102, -0.0182557721, 0.0626188666, 0.0461609475, 0.0032569137, -0.0037933828, 0.0100551825, 0.0123331072, 0.0215779282, 0.0251749903, -0.1525853574, -0.0153580969, 0.0168119054, 0.0200102832, -0.0217340309, -0.084232308, -0.0361114442, -0.1192213446, 0.0236671288, -0.0381874852, -0.0611503571, -0.0460353382, -0.0412808694, 0.01014507, -0.0328095593, 0.0424847864, 0.0436455533, -0.0011013399, 0.0204907116, -0.0011965135, -0.0093899593, 0.0169162694, 0.000143485, -0.058120314, 0.0196636803, 0.0550172888, -0.0004350816, -0.0160636362, -0.0172505323, -0.0027778894, -0.0159059111, -0.0121662142, 0.0106121972, 0.0363324136, -0.0040365201, 0.0044755009, -0.0136720678, 0.0308893342, -0.0338670798, -0.0026774069, 0.0476435348, 0.0726138949, -0.0084233163, -0.0045714909, 0.0037127442, -0.0410595089, -0.0181440748, 0.0771884918, 0.0202072449, -0.0035664067, -0.0265538469, -0.035393253, -0.0160310827, -0.0499218479, 0.010778361, 0.0381242968, 0.023507392, -0.0116954623, -0.0238390435, -0.0055108638, 0.0492924601, 0.0123115685, 0.0078628538, 0.0714127123, -0.0202275142, 0.0109410416, -0.0440358073, -0.0278069098, -0.0951686278, 0.0089709377, -0.0175936334, -0.0168429222, -0.008920135, -0.0100317942, -0.0249975417, 0.0225041546, -0.0255816188, -0.0130405277, 0.0061441939, 0.0197064634, 0.0207890607, -0.0190872066, 0.0019149367, -0.0325242393, 0.0224495418, 0.0447479337, -0.0904900506, -0.0225078482, -0.0058605671, -0.0323973484, 0.000564874, 0.0344892181, -0.0505897142, -0.0549726151, -0.009281585, 0.0361101106, -0.0047366442, 0.0100074215, 0.0474268049, 0.0096571725, -0.0250454713, 0.0651230514, -0.0200022627, -0.0107479058, 0.0490761474, -0.0489097163, -0.0306368563, 0.0057087396, 0.0056416788, -0.0011988119, -0.025826972, 0.0395682901, 0.0029030815, 0.0143580437, 0.0456400253, -0.0342328586, 0.0096016414, 0.0490069762, -0.0296947472, 0.017547423, -0.0159630515, -0.0077562351, 0.004820331, 0.0212780274, 0.0357521549, -0.0084252665, 0.0196116287, 0.0151784485, -0.0239742417, -0.0210437141, 0.0528098382, -0.066786617, -0.0895394385, 0.0243915934, 0.0247911327, 0.011581474, 0.0362078287, -0.051305607, -0.0341998339, -0.021291621, 0.0023711585, -0.0306561943, 0.0366832167, -0.0149305025, 0.041947484, 0.0151232006, -0.013483041, -0.0201536138, 0.1025229245, 0.0350889899, 0.0311187077, -0.0015863364, -0.0252886694, -0.0530542545, -0.0204218924, 0.0114369169, 0.0154548399, -0.0311918911, -0.0218277704, -0.0298560727, -0.0432530344, -0.0146589056, 0.0235398039, -0.0245528668, -0.0024270879, 0.0325414054, 0.0467777476, 0.0535285622, -0.0750557706, -0.0582573637, 0.0438327529, -0.0101830792, -0.0331725143, 0.0205211025, -6.288161562e-33, -0.0199163519, -0.0383230783, 0.0109349778, -0.019559592, 0.0491228923, -0.0130492961, -0.0246168002, -0.0094107594, -0.0263740551, -0.0097111957, -0.0504379086, 0.0425416045, 0.019415006, 0.0030810146, 0.0192362443, -0.0960942134, 0.0123234754, -0.0263975933, 0.0008075889, 0.0185914729, 0.0182528589, 0.0050891675, -0.0065218466, -0.0330602527, 0.0542375222, -0.0062815198, -0.0357944742, 0.0303776748, -0.0502569303, 0.0446161069, -0.0385808349, 0.0313277952, 0.0134512149, -0.0669225156, 0.0060410467, 0.0300152935, -0.0983723626, -0.0405097343, 0.0196928456, -0.0003635973, -0.018762311, -0.0792702883, 0.0381252617, -0.0089700008, -0.0325111449, 0.0116037186, -0.0093812458, -0.0260415003, 0.0150250187, -0.0424510092, 0.0057832859, -0.0164069831, -0.0181857012, 0.0188803989, 0.0486031659, 0.022019377, 0.0494660772, -0.0272758435, -0.0252837073, 0.0251273252, 0.0394434296, 0.0070492625, 0.0686226711, -0.0079325037, 0.0461040884, 0.0099490751, 0.0344002545, 0.0079781003, -0.0123607228, -0.0049405317, -0.0725611895, 0.0617936067, 0.0645434111, 0.0003337383, 0.0098122163, 0.0149239032, -0.0685563907, 0.0404161289, -0.0282649435, 0.0147777684, 0.0289693382, -0.0231928714, -0.0532394759, -0.0080400603, -0.042353861, 0.0255286153, -0.0489261001, 0.0055962983, 0.0100259539, -0.0163283702, 0.0040616766, -0.0240432341, 0.0122820484, -0.0228157267, -0.041333355, 0.0532957129, 0.0461201482, -0.0311753042, 0.0109807579, 0.0252527408, -0.018248897, 0.0350878276, 0.0154136587, -0.0616128445, 0.0465227179, 0.0414868183, 0.0091234175, 0.0148333078, -0.0673199818, -0.0177512486, -0.0321286805, 0.0687569603, 0.0107483268, -0.0264551081, 0.0292305499, 0.0063620941, 0.0238134973, 0.0171197634, 0.0503230579, 0.0153530398, -0.0301763006, 0.0385355465, -0.0315788202, -0.0200368576, 0.0452458486, -0.0072255335, -0.0127292713, 0.013738201, 0.0482867137, 0.0232702252, -0.0019191366, -0.0169497095, 2.701e-7, 0.0493716896, -0.0185346957, 0.0391177982, 0.0494994074, 0.0029233766, 0.0332962945, 0.0002062977, 0.0403424352, -0.0274543203, -0.0525936969, 0.0095763896, -0.0077739079, 0.038233161, 0.0606112853, -0.052807983, -0.0320676565, -0.0307144895, -0.0035318099, -0.0795539469, 0.0174328834, 0.0455148444, 0.0735786632, -0.0353309065, 0.0025535496, -0.0335986763, -0.0348832011, -0.0021261584, -0.061166808, 0.0299735274, 0.0255019516, 0.0346564464, -0.0011093734, 0.0287406035, 0.0415292233, -0.004584223, 0.0047371206, -0.025838526, 0.0424952321, 0.039847292, -0.0158716775, -0.0272648111, -0.0975866169, 0.040111471, -0.0797185674, 0.1027033925, -0.0219606627, -0.0294420458, 0.0807972401, 0.0205307491, -0.0470677279, 0.0103960065, 0.0088583594, -0.0015186872, -0.0172623321, 0.0060670143, 0.0350967981, 0.0396849178, -0.0425113179, -0.0049648634, -0.0195138697, -0.0295831151, -0.0242160447, 0.0047167558, -0.0069379886, -0.0479920432, -0.0444242507, 0.0075146616, 2.816631631e-34, 0.0123127084, -0.0001113739, 0.0317294598, 0.062921837, 0.0738376006, -0.02076835, 0.0007039114, -0.0141439559, 0.0292695686, -0.0857946575, -0.0462185219 ]
http://arxiv.org/abs/2406.10802v1
http://arxiv.org/pdf/2406.10802v1
KGPA: Robustness Evaluation for Large Language Models via Cross-Domain Knowledge Graphs
2024-06-16T04:48:43
2024-06-16T04:48:43
Aihua Pei, Zehua Yang, Shunan Zhu, Ruoxi Cheng, Ju Jia, Lina Wang
cs.CL
cs.CL, cs.AI
Existing frameworks for assessing robustness of large language models (LLMs) overly depend on specific benchmarks, increasing costs and failing to evaluate performance of LLMs in professional domains due to dataset limitations. This paper proposes a framework that systematically evaluates the robustness of LLMs under adversarial attack scenarios by leveraging knowledge graphs (KGs). Our framework generates original prompts from the triplets of knowledge graphs and creates adversarial prompts by poisoning, assessing the robustness of LLMs through the results of these adversarial attacks. We systematically evaluate the effectiveness of this framework and its modules. Experiments show that adversarial robustness of the ChatGPT family ranks as GPT-4-turbo > GPT-4o > GPT-3.5-turbo, and the robustness of large language models is influenced by the professional domains in which they operate.
[ 0.0342198797, 0.0326808617, -0.0222887993, 0.0720953345, -0.0617008246, -0.0105063394, 0.0170484595, 0.0192396361, 0.0838255808, -0.0549994297, -0.0227819271, -0.0278934948, 0.0073523368, 0.0403192081, 0.0714295432, -0.0331774503, 0.0257954188, -0.0509563163, -0.0124706347, -0.0153906019, 0.012979961, -0.0102585079, 0.0064057033, 0.0526290573, 0.0172946509, -0.0384829491, 0.0266175643, -0.0029771233, -0.0035735888, -0.0194706414, 0.009502029, 0.0524428636, -0.0237125661, 0.0843847543, 0.0000020048, -0.0249843821, -0.0142241679, 0.041469574, -0.0144076478, 0.0464744084, 0.021920016, -0.0290464833, -0.0245491937, 0.0238915514, -0.0483778082, -0.0124808531, 0.017228283, 0.0417849161, 0.0718818083, 0.1119382456, -0.0082638366, -0.0144733535, 0.0571099967, -0.0545322336, -0.0465690419, -0.0761466548, 0.0406922214, -0.0000459128, 0.0117190517, 0.0225683246, -0.006368963, 0.0308636967, 0.0167981572, -0.0187981315, -0.0632850304, 0.0034248109, -0.0126591884, 0.0224412475, -0.0030489336, 0.0682232231, -0.0136797754, -0.008851923, -0.0016983486, -0.0051438622, 0.024350049, 0.0246498901, -0.0428475477, -0.0135158142, -0.005066786, -0.0315936916, -0.0208534803, -0.0187023524, 0.0743849203, -0.0028565, 0.0150037454, 0.067143932, 0.0575570688, -0.0192776546, 0.0140232984, -0.019169271, -0.0562465079, -0.0436770543, -0.0075694108, -0.0118440287, -0.0191076361, 0.0290102456, -0.0777978599, -0.0126592619, 0.0379233696, -0.0445243679, 0.0299734809, 0.0106921755, 0.0024534641, 0.0388368256, -0.0201842356, 0.0589391328, -0.0428141318, 0.0279379673, -0.0030757559, -0.0116799464, -0.0439943746, -0.0237788521, 0.0037009653, 0.0117158024, -0.0167255532, 0.0155544672, -0.0625543296, 0.051432509, -0.0310015325, 0.0485013016, 0.0124460673, -0.0199538935, 0.0217634346, -0.0288173258, 0.0134889642, 0.0157149006, -0.0087209968, -0.0131174549, -0.0015145061, -0.0837873593, -0.0137438551, 0.0088343788, -0.0597631671, -0.0512201078, -0.0183764175, 0.1478455365, 0.034954913, -0.0298321284, -0.0360674299, -0.0431079566, -0.0466967151, -0.0599044561, 0.0182324518, -0.0409558825, 0.0030743526, -0.0022164742, -0.0274642855, -0.0846715719, -0.0036935178, -0.0035135127, -0.0390565656, 0.0653480366, 0.0155970072, -0.025172675, -0.0064877807, 0.025583826, -0.0634500906, 0.071241878, -0.0027937132, 0.0160156395, 0.0638187826, 0.0077934619, 0.0029436394, 0.0634986311, 0.0303375013, 0.041599188, 0.0154650686, 0.0203307997, 0.0290894918, 0.0137659134, -0.055504337, 0.0743081942, -0.0192136113, -0.0594336092, 0.1005446315, 0.0056550787, -0.0215387344, 0.0346924104, 0.0270602871, -0.0330705754, 0.0107575934, 0.0242761578, -0.0730570555, -0.0224771444, -0.0905004144, -0.0111516453, 0.0008132171, 0.0153306779, -0.0124996835, -0.0122348694, -0.0270245168, 0.0149914436, 0.0316693857, -0.0052586282, 0.0405476615, 0.0097463476, -0.0484351441, -0.0128903221, 0.005076081, -0.0257774852, -0.0158158131, -0.0805455372, -0.0258150138, 0.0264809299, 0.086482197, -0.0296568964, -0.0076523749, -0.0040120827, 0.0081660328, 0.0330763385, 0.0600323901, 0.0090752486, -0.0087332772, -0.0241005924, -0.0136731155, -0.0325920135, 0.0235330239, 0.047863815, 0.0385043137, 0.0296765603, -0.0044763782, -0.0455831252, 0.0027483064, 0.0161647294, -0.0196054634, -0.0259557776, 0.0068975464, 0.0011363417, 0.019609455, 0.0148593429, -0.0294532403, 0.0256176274, 0.042480424, -0.0082864603, -0.0064667412, -0.0213067941, 0.0035757879, -0.0343538709, 0.0462413654, -0.0079871789, -0.0432184525, 0.0411261134, -0.0445627198, -0.004480991, 0.0636460334, -0.0044118874, 0.0392701253, -0.0153546194, 0.0033377514, 0.002977049, 0.033758007, -0.0095281899, 0.0427321978, 0.006370428, 0.0032746131, -0.0132178236, 0.0208350681, 0.024803808, -0.025300419, -0.0582682304, 0.0276936293, -0.0307346582, 0.0361911207, 0.0136655429, -0.0157425739, -0.0147688156, -0.0129262647, -0.0582119823, -0.0084792618, -0.0283270143, 0.0357001908, 0.0140343662, -0.0045878608, -0.0199594181, 0.0009712397, -0.0140856737, 0.0126720276, 0.0006750817, 0.044088725, 0.0121855298, -0.0087472899, -0.0130943032, -0.0119212074, -0.0252617393, -0.0060236086, 0.0838140845, 0.0060603982, -0.0105468221, 0.0040854421, 0.0271495506, -0.0408867858, 0.0491274185, -0.0357557237, -0.0471498035, 0.030694142, 0.0118103027, 0.017790122, 0.0557675064, 0.0007858009, 0.03892399, 0.0507965907, -0.01423035, 0.0015861144, -0.0117909638, -0.0055787521, -0.043970041, -0.0370022655, 0.0113627799, 0.0058240229, 0.0422474965, 0.0392906293, -0.0320497677, -0.0479478128, 0.0207994636, -0.0184854828, -0.01050983, -0.0258272141, -0.0061572022, -0.0114482334, -0.0204387009, -0.0147130676, -0.0301601775, 0.0844647363, -0.0531571805, 0.0245025624, 0.0034176081, -0.0191899091, 0.0035421504, 0.0826416537, -0.007602158, 0.0056337765, 0.0402501673, 0.0039205696, -0.065312244, -0.0434325002, 0.0598837547, -0.0266757868, 0.0315592736, -0.0417580567, 0.021325564, 0.014097997, -0.0248419438, -0.0501972102, -0.0129383849, -0.033133544, 0.0391413979, 0.029105207, -0.0357272923, -0.0255043544, 0.0057955561, 0.0202793349, 0.0147936745, -0.0273885578, 0.0038174232, -0.0015317112, 0.0407167152, 0.0391679667, -0.0362544432, 0.0053558424, -0.0194782112, 0.0400537513, 0.0821236745, -0.005199533, 0.0102558052, -0.0326823108, -0.0156374946, -0.0055035418, -0.0147387609, 0.0029469833, -0.0026671367, 0.019988602, -0.0488608703, 0.0214181654, 0.057912983, -0.0056994013, -0.0055035651, 0.00696029, 0.024085965, 0.0324118882, 0.0077291122, 0.0189290084, -0.0968169644, -0.0205815192, 0.0104704043, 0.0321961083, 0.0021055215, -0.0402895659, -0.0102881528, -0.1367835701, 0.0100190127, -0.0042399326, -0.0329325199, -0.0447774455, -0.032507658, -0.0039782785, 0.0045192046, 0.0403431058, -0.0241563972, 0.0305768065, -0.0213360172, -0.0081097828, -0.0192956161, -0.0726660863, 0.0281234588, -0.0253965575, 0.0622882433, 0.0540572554, 0.036227148, -0.0183937103, -0.0044134404, 0.0531977303, 0.0142849535, -0.0348057896, 0.0130223511, 0.0267089847, 0.0138919447, -0.0199781377, 0.0082988422, 0.01186404, -0.0146258343, 0.0108592631, 0.046182204, 0.0549717993, 0.0155656626, -0.0423604548, -0.0068650111, -0.0079693859, 0.0197923016, 0.0813948959, 0.0189032331, -0.0100628203, -0.0336365849, -0.0906308815, -0.0274522547, -0.0387790054, -0.0633778423, 0.0262715518, 0.0132749835, 0.0067487569, -0.0724418238, -0.0004119698, 0.0084821945, 0.0049037402, 0.0111836288, 0.0164588541, -0.0231503695, 0.0229981914, -0.0159398671, -0.0162196774, -0.0356303602, 0.0579674579, -0.0485257208, 0.0221148711, 0.0186749287, -0.0252289921, -0.022337703, 0.02606236, -0.0716307461, -0.1349617094, -0.0212252401, 0.032798674, 0.0195154008, 0.0236812737, -0.0703184083, -0.056033317, 0.0883396044, 0.0389285684, -0.0251529533, 0.007620431, 0.0656338781, -0.0353707708, 0.0156724658, 0.0479238257, -0.0837709531, -0.0130547509, 0.0412564687, 0.017849477, 0.010842368, -0.0178480111, -0.0065852134, 0.0607681535, 0.043351002, -0.0094454214, -0.007102564, 0.0029793954, -0.0014096636, -0.0452924035, -0.0148582393, -0.0167322885, 0.0263797026, 0.0159343742, -0.0076251789, 0.0073914789, -0.0161545631, 0.0139222862, 0.0296371337, -0.0175492484, 0.0060198316, 0.0164312553, 0.0252771024, 0.0591094606, 0.0014398538, -0.0119485147, 0.0311956573, -0.0030774144, 0.0276526194, -0.0203580707, 0.0346305221, 0.0202915203, -0.0317079537, 0.0271701999, 0.0282611884, -0.071943067, -0.0301417578, 0.0005167098, 0.0523442589, 0.0608758889, 0.0279005878, 0.0168401282, -0.0545906797, -0.0187658146, -0.0419734493, -0.0019581942, 0.0060053347, -0.0158999339, 0.0528614745, -0.0009269158, -0.0125438273, 0.0485227257, 0.0723120719, 0.0384925306, 0.0451366752, 0.0490057208, -0.0314347632, -0.0425426625, -0.0649773404, 0.0196333658, 0.000516199, -0.0339602381, -0.0141099421, -0.0595404319, -0.1155539826, -0.0331883878, 0.0244309716, -0.0021541191, 0.0284262579, -0.0068912483, 0.0508930385, 0.0215821173, 0.0601478033, -0.0557367988, 0.0310504921, -0.0298313703, -0.0477910601, 0.0179789755, -6.1950029e-33, 0.0022087446, -0.0227575619, -0.0248711947, -0.030723501, -0.0033785945, -0.0051578893, -0.0406447984, 0.0058305636, -0.0394152254, 0.0091764843, -0.0064981179, -0.002548838, -0.014176379, 0.0120341945, -0.0447557457, -0.049534332, 0.0100127598, -0.0095721148, -0.0138998404, 0.0265977364, 0.0342811681, -0.0124014234, 0.0351510905, -0.054637108, 0.0697662085, -0.0164314583, -0.0429845154, 0.0035214028, -0.0436449647, 0.0755022988, -0.0066358647, 0.0612949878, -0.0078430334, -0.012145726, 0.0062451153, -0.0033404131, -0.0095403213, -0.0141728623, 0.0336015448, -0.0100207739, -0.0146723492, -0.0293661878, 0.0180524793, -0.0219206214, 0.0235625263, -0.0271886196, -0.0042481981, 0.003246926, -0.0341895856, -0.0129397009, -0.0041360124, 0.0305093993, -0.0141376285, 0.0009814367, -0.007322853, -0.0052552652, 0.048236642, 0.0008375126, -0.0294306856, 0.0144873085, -0.000179518, 0.0235487185, 0.0537212268, -0.0049278862, 0.0157313887, 0.0549134947, -0.0250364561, 0.0307928212, -0.008981185, 0.0000178009, 0.0130273132, 0.0357506573, 0.0821264982, 0.1009610146, -0.0045009768, -0.0361518711, -0.097117193, -0.0074962438, 0.0370147638, -0.0046970025, 0.0166883133, 0.0033424096, -0.0606647879, -0.0142566953, -0.0141942678, -0.0454721712, -0.0475360192, -0.0515910387, 0.0188185349, -0.027300559, -0.0231083166, -0.0154807875, 0.0057767192, -0.0668573081, -0.0072257551, 0.0553797595, -0.0220657513, -0.0086208517, 0.0096342079, 0.0561204217, 0.0094886301, -0.0037251154, 0.0040028184, -0.0336451344, 0.0091292076, -0.001501012, 0.0254659075, 0.0201563817, -0.0498169512, -0.0120891081, -0.037462011, 0.0352541655, 0.01883417, 0.0178052653, 0.0239501167, 0.0017543376, 0.0025516625, -0.005158206, 0.0470706895, 0.0151657397, -0.0169846807, 0.0407567658, -0.0096962592, -0.0010258226, -0.0156622436, -0.0211762451, -0.0151773421, 0.0212365016, 0.0455260985, -0.0505471341, -0.0059931488, -0.0480430052, 2.811e-7, 0.0304581132, 0.033995498, 0.0059547238, 0.0381197184, 0.0372098796, 0.050830245, -0.0371262766, 0.0511939339, -0.0084677832, -0.0252049044, -0.0131419469, -0.0082157515, 0.0641954765, 0.0359840132, -0.0799780786, 0.019337466, -0.0733390152, -0.0172711052, -0.0381325856, 0.005376976, 0.0511523001, 0.1002965346, 0.0434758142, 0.0290211607, -0.0207421482, -0.0813506916, 0.0416071154, -0.016633451, -0.0139461234, -0.0173830409, 0.049901966, 0.0222726986, 0.0106423711, 0.0444427952, -0.0227322038, 0.0089695686, 0.0117909666, 0.0425734334, 0.0358532518, -0.0122106597, -0.0186517481, -0.0532384105, 0.0041104811, -0.0487286076, 0.0916617513, -0.023299247, -0.0139721641, -0.0027872915, -0.0140729537, -0.0584396124, 0.0300780144, -0.0463416874, -0.028371688, 0.0174922887, 0.0042513502, -0.0123180822, 0.0282195937, -0.0432251319, -0.0199254341, -0.0118485717, -0.0301076397, -0.0621817112, -0.0075098779, -0.0037982618, 0.0301307961, -0.0331476219, 0.0184101798, 2.671740932e-34, 0.0492535643, -0.0358900391, -0.0071756542, -0.0460912995, 0.0576404892, -0.0047119642, 0.0241647922, -0.006660759, 0.0057445606, -0.0685280859, -0.0341897942 ]
http://arxiv.org/abs/2406.10794v2
http://arxiv.org/pdf/2406.10794v2
Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis
2024-06-16T03:38:48
2024-06-26T13:50:32
Yuping Lin, Pengfei He, Han Xu, Yue Xing, Makoto Yamada, Hui Liu, Jiliang Tang
cs.CL
cs.CL
Large language models (LLMs) are susceptible to a type of attack known as jailbreaking, which misleads LLMs to output harmful contents. Although there are diverse jailbreak attack strategies, there is no unified understanding on why some methods succeed and others fail. This paper explores the behavior of harmful and harmless prompts in the LLM's representation space to investigate the intrinsic properties of successful jailbreak attacks. We hypothesize that successful attacks share some similar properties: They are effective in moving the representation of the harmful prompt towards the direction to the harmless prompts. We leverage hidden representations into the objective of existing jailbreak attacks to move the attacks along the acceptance direction, and conduct experiments to validate the above hypothesis using the proposed objective. We hope this study provides new insights into understanding how LLMs understand harmfulness information.
[ 0.0457270108, 0.0140902894, -0.0353743732, 0.0409742929, -0.0407709219, -0.0143715804, 0.0132390307, 0.006127859, 0.0585901737, -0.0263010338, -0.017825909, -0.0193305705, 0.0347729176, -0.0057459362, 0.0533304662, 0.0037941486, 0.064848505, -0.0463687815, -0.0059340736, 0.0002157728, 0.0258013811, -0.0078815036, 0.0355104394, 0.0384770036, 0.0195649453, -0.0132048698, -0.0315848477, 0.0079034409, 0.0047083334, -0.0538306795, -0.0309687182, 0.0237412676, 0.0003077652, 0.0435348898, 0.0000019833, -0.031856861, -0.0393138751, 0.0220953934, -0.0423490293, 0.0693951026, -0.0064484221, -0.0517091714, -0.037649367, 0.003215766, -0.0163708515, 0.0146439597, 0.015405152, 0.0527385511, 0.0626284853, 0.0684411228, 0.001573295, 0.0195675176, 0.0342825502, 0.0069482387, 0.0344435386, -0.0340716802, 0.0200026538, -0.0426228382, -0.0088966219, 0.038290076, 0.0129081104, -0.028504651, 0.0051956531, -0.0146748852, -0.072174117, -0.0160425287, -0.0019507828, -0.012887748, -0.0038206922, 0.0234196614, -0.0142918713, -0.0115629183, 0.004011089, -0.0080481917, 0.0296710264, 0.0441496931, -0.0000429935, 0.052622363, -0.0046310141, -0.0154358046, 0.0225960463, -0.0024878997, 0.0699895173, -0.0276963655, -0.0180721562, 0.055076126, 0.0034764579, -0.0386715457, -0.0060390113, -0.0708162338, -0.017713204, -0.0528449677, -0.0230772533, -0.0122989407, 0.0094538452, 0.0214180034, -0.0684251562, -0.0177744571, 0.0561529659, -0.0748062506, -0.0026787345, 0.0383516997, -0.0147889871, -0.0046895435, 0.0019230678, 0.0037870263, -0.0354330838, 0.0259562545, 0.012685528, 0.0435296968, 0.0047285394, -0.0326323658, -0.0002873972, 0.0602178238, 0.0254731402, 0.0262841675, -0.0171656236, 0.0530903265, -0.0562716536, 0.0213457067, -0.0736765191, -0.00209253, 0.0157370754, 0.0493882969, 0.0354883447, -0.0155009152, -0.0165204406, -0.0234389082, -0.0124748209, -0.0605329536, -0.0214482974, -0.0098292092, -0.0892106667, -0.0103501761, -0.0229733549, 0.1300217509, 0.0480968952, -0.0024536611, -0.0855143666, -0.1111072749, -0.0368726961, -0.005965638, -0.0096480185, -0.0736432895, -0.0269905701, 0.0049928441, -0.0084645897, -0.0469035618, 0.0009838382, -0.0139757134, -0.0395240039, 0.0513721295, 0.021264175, -0.0310396291, 0.0079607042, 0.0608215407, 0.0181466788, 0.059541285, 0.0035633456, 0.0676818043, 0.0540081337, -0.016261017, 0.0532473139, 0.0323193111, -0.0099263126, 0.0394739918, -0.0076396894, -0.0051597757, 0.0485515408, -0.0156442691, -0.0256124847, 0.032455314, -0.0156766307, -0.0282529611, 0.0687250867, 0.0629455894, -0.0499730259, 0.0494991168, -0.0382898524, -0.0413034521, -0.0017964699, 0.0359970853, -0.0500070453, -0.0089173028, -0.089560248, -0.0059444252, -0.0162889194, 0.0047366857, 0.0100615984, 0.0210547652, -0.0115564428, -0.0004697959, -0.0200258177, -0.0025455172, -0.0096686892, 0.0144811301, 0.0169908162, 0.0963057131, 0.0218403116, -0.0265646018, -0.0300146192, -0.0866800994, 0.0012073462, 0.037881311, 0.0443151593, -0.0050253747, 0.0160105322, -0.0191765428, -0.0320266113, -0.0061443979, 0.0025472094, 0.0053417096, -0.0099320412, 0.0236385986, 0.0010121756, -0.0380241126, 0.0363968238, 0.0313381776, -0.0504957363, -0.013458278, -0.0089132925, -0.0191013552, -0.0285841133, 0.0158034395, 0.0486502685, -0.0078122551, -0.0093037281, 0.0369510464, 0.0030937188, 0.0228547603, -0.0270274319, 0.0223621652, 0.0680517405, 0.0189013369, 0.0286166128, 0.0174052808, -0.0590964705, -0.0063799559, 0.0388049372, -0.0310036875, 0.0243154392, 0.0517698638, -0.012966509, -0.0062503889, 0.0924511924, -0.0653376728, 0.0466930829, 0.0130501101, 0.0432199053, -0.0179144498, -0.0089448532, -0.0237072445, 0.0035052861, -0.0355250575, 0.0113730598, 0.0037695339, 0.0316728503, 0.0288861282, 0.0069504809, -0.0561461449, 0.024375312, -0.0286224876, 0.0089603318, 0.0219067037, -0.0303488132, -0.0088773109, -0.033836592, -0.0386959873, -0.037585482, -0.0058352249, 0.0303465258, 0.0466260649, 0.0358514935, -0.0259444471, -0.0075713797, 0.0077526886, -0.0341035835, 0.0181861036, 0.0227255989, 0.0015661196, -0.0202754792, -0.0432911292, -0.0190994944, -0.0043286011, -0.0264204945, 0.0684804246, -0.0530416556, -0.0380834937, -0.0298002996, 0.0036042458, -0.0013676077, 0.019706456, -0.0258984677, -0.0416350774, 0.0629736185, 0.0084253522, -0.0107890014, 0.0335398354, 0.0160293207, 0.0841389745, 0.0928128883, 0.0016790859, -0.0469933078, -0.0447281487, 0.052252464, -0.022847062, -0.0480847619, -0.0870159268, 0.0116317188, 0.060792841, 0.0633339211, 0.0006759805, -0.0066563981, 0.0123466523, -0.0022759826, -0.0291866586, -0.0057415739, -0.0459835269, -0.0602542236, 0.0153299933, -0.0197370499, -0.0940615684, 0.0730459988, -0.0721467584, 0.0248362031, 0.0015131405, -0.012841939, 0.0033045835, 0.0593596436, -0.0313245133, 0.0085474961, 0.0733597353, -0.0442287475, -0.010191394, -0.0236187018, 0.0312357266, -0.0044663083, 0.0609308779, -0.0490883626, -0.0165231954, -0.0022293699, -0.0044905515, -0.0432940982, -0.0827411935, 0.0113584101, -0.0352973826, 0.0409280285, -0.030634677, 0.0096455682, -0.0244494043, 0.034966927, -0.0406404138, -0.0101120546, -0.0101504317, -0.0487110242, 0.0106563894, 0.0177978072, -0.0422891378, 0.0107656531, -0.0156880431, 0.029195562, 0.0843837336, 0.0248668473, 0.0172628295, 0.0053251442, 0.0226411615, 0.0268214066, -0.0028801756, -0.0136740962, 0.0366145074, 0.0493870191, -0.0154199703, -0.0309746917, 0.0467110984, 0.0354442634, -0.0089728916, 0.0522560515, -0.0149070378, 0.0423322581, 0.0244415253, 0.0204658061, -0.0692770854, -0.0064000264, 0.0226527713, 0.0464680195, -0.0481200665, 0.0023304075, -0.0359298438, -0.0762962103, -0.0083803581, 0.0385040566, -0.0092891874, 0.0008441823, -0.0397807844, -0.0287544783, 0.04857824, 0.0432223603, -0.0047268039, -0.0153142912, 0.0030415759, 0.0161926933, -0.0658314303, 0.0115231806, 0.0128188785, -0.0255850628, 0.0620608926, 0.0939213783, -0.0303510986, -0.0401597954, -0.0019855038, 0.0283312257, 0.0074113086, 0.004887417, -0.0083281752, -0.0233103745, 0.0327362567, 0.0109715741, 0.0090397792, 0.0283659063, 0.0045715207, -0.0433649197, 0.034341637, 0.0496859588, -0.024904713, -0.0300056208, -0.0060397438, -0.0328945965, 0.0335615352, 0.0265521221, 0.0424716026, -0.0108212549, -0.0402570926, -0.0923600122, -0.0377266668, 0.0079474105, -0.0349252671, 0.0133488299, 0.0482507721, -0.0187455211, -0.0247310754, 0.0105262138, -0.046412155, 0.0337459594, 0.0593490489, 0.0008232559, -0.039349407, 0.0006550983, -0.0056483592, -0.0063578514, -0.0075052525, 0.0497815423, -0.0346394479, 0.0422659703, -0.0336994305, -0.0141257374, -0.0040421509, -0.0228039045, -0.0566522814, -0.0934160501, 0.0132438801, 0.0496943332, 0.0298831351, -0.0133923637, -0.0182484798, -0.0685470104, 0.0307885893, 0.0553268641, -0.0597960949, 0.0366128199, 0.0759866685, -0.0146358805, 0.0124540729, 0.0079704188, -0.0139279328, -0.0418827198, 0.0693689063, -0.0165976938, -0.0527246594, 0.0045152828, 0.0082500093, 0.0445331931, 0.0096602393, 0.0045861616, 0.0142442007, 0.0376069695, 0.0201142859, -0.007237602, -0.0264486764, 0.028072685, 0.0070509524, 0.0077744462, -0.0342734046, 0.0321609601, 0.0208073426, -0.0212417934, -0.0036814404, -0.0101093622, 0.0515036546, 0.0449251905, 0.0453083515, 0.0661517605, 0.0336957723, -0.0295040738, 0.0699944794, -0.0330185965, 0.0191166736, -0.0027839874, 0.046706412, -0.024924973, -0.0142611833, -0.0084853284, 0.0493347272, -0.0718395263, -0.0424803756, 0.0266733821, 0.0658486038, -0.0265531577, 0.0019438841, -0.0010210574, 0.0159185734, 0.0225562416, -0.0418970138, -0.0245584901, -0.0153979324, -0.0555664413, 0.0408600383, -0.0062519046, -0.0122487023, 0.0162567217, 0.0553850643, -0.0287834834, 0.0510010496, 0.00547833, -0.0171017386, -0.0285788886, -0.0079165073, 0.0620109402, 0.0472277701, -0.060941264, -0.0670909137, -0.0803667232, -0.0745690987, -0.0178588685, 0.0109259132, 0.0458210595, -0.0050989138, -0.0554606952, 0.0492280014, 0.0288999248, 0.0204821359, -0.0563833974, 0.0170206781, 0.0015465349, -0.0381524786, 0.0004395218, -5.224252482e-33, 0.0232891701, -0.0472281277, -0.0726943091, -0.0346016809, 0.011491254, -0.0267410204, -0.0344340876, 0.047188811, -0.0118011637, -0.0423305035, -0.0119479001, -0.0111513361, -0.0030329253, -0.0105301887, -0.0409569517, -0.030887777, -0.0150311245, 0.0214719474, -0.0343080834, 0.0215727109, 0.0511368699, 0.0046949643, 0.0164137147, -0.0376570411, 0.0839694291, -0.0594288036, -0.0147581557, 0.0132174622, -0.0524416864, 0.0701698884, 0.0055148266, 0.0173728839, 0.0065083145, -0.0392719023, -0.012986633, 0.0660128966, 0.0340052992, -0.0039078584, 0.0514458083, -0.0068271547, 0.0173593611, -0.0566217862, -0.0008362333, -0.0005165433, -0.0001959834, -0.014486094, -0.0169470441, -0.0070717465, -0.0163921583, 0.0192344319, -0.0139790298, -0.0133380583, -0.0389685594, 0.0248481166, -0.0162911881, -0.0074452185, 0.0169250388, -0.0219493639, -0.0274410062, 0.0339005217, 0.053072352, 0.016537318, 0.0408757739, -0.0003113747, -0.018633442, 0.0634132102, -0.0324278325, -0.0187734421, 0.0077434108, 0.0035778407, 0.0055451719, 0.0355739444, 0.0516960733, 0.0591855459, 0.0566995777, -0.0174245015, -0.050717447, -0.0091200555, 0.0475577675, 0.0102066491, 0.0318859331, -0.0100398688, -0.0384267233, -0.0096686995, -0.0146201747, -0.0160657223, -0.0329309404, -0.0612070076, 0.0029856509, -0.0324460976, -0.0162163004, -0.0511574112, -0.0046477518, -0.0644595623, -0.0370026827, 0.0081101535, -0.0029212206, -0.0155380946, 0.0010461647, 0.022015404, 0.0218253471, 0.0011006682, 0.0058689131, -0.0578160509, 0.0356151499, 0.0040426557, 0.0266518369, 0.0215611644, -0.0599477515, -0.0132281268, -0.0253785346, 0.0194016062, 0.0013618476, 0.0036327813, 0.023024613, -0.0264976732, -0.0107925264, -0.0257417634, 0.0174235106, -0.0134415254, -0.0483851656, 0.0524190664, -0.0452369861, 0.0408886075, -0.0022949679, -0.0060033984, 0.0139116151, 0.0484156348, 0.0671682581, -0.0538611114, -0.0038594711, -0.0187360868, 2.776e-7, -0.0217375178, -0.0283649005, 0.0253649838, 0.0216550063, 0.0471423194, 0.0817478001, -0.0270991884, 0.0827840716, 0.0121289045, -0.0691269711, -0.045845367, -0.0418737456, 0.0415589586, 0.0299563296, -0.047370255, 0.037905883, -0.0591889136, -0.0042975163, -0.033113461, 0.0174521711, 0.0531835444, 0.0625886023, -0.0087914746, -0.0343286917, -0.0166786872, -0.0234212894, -0.0078193033, -0.0107549569, 0.0145855844, -0.0164470654, 0.0266562644, 0.0000951142, 0.0161671992, 0.02826529, -0.0216109026, -0.0293094683, -0.0862146243, 0.0047157416, 0.0190551169, -0.0275274087, -0.0359384269, -0.044698026, -0.0201523695, -0.0396488644, 0.0543193631, 0.0110620083, -0.0170616675, -0.037935175, 0.0445171483, -0.0461864993, -0.0184655935, -0.0225145463, 0.0164664797, 0.0050794235, 0.0104085794, 0.0131948488, 0.0409000665, -0.0528714024, -0.0161105301, 0.0192119163, -0.0026645602, -0.0370306969, -0.0087239202, 0.042925097, 0.0323752724, -0.0536822416, 0.0103210965, 2.766006395e-34, -0.017700728, -0.0401471294, 0.017301226, 0.0258176215, 0.020130707, -0.0009223888, 0.053182207, 0.0241402071, 0.0227861945, -0.0245327391, -0.0312348567 ]
http://arxiv.org/abs/2406.10786v1
http://arxiv.org/pdf/2406.10786v1
Evaluating LLMs with Multiple Problems at once: A New Paradigm for Probing LLM Capabilities
2024-06-16T02:52:32
2024-06-16T02:52:32
Zhengxiang Wang, Jordan Kodner, Owen Rambow
cs.AI
cs.AI, cs.CL
Current LLM evaluation predominantly performs evaluation with prompts comprising single problems. We propose multi-problem evaluation as an additional approach to study the multiple problem handling capabilities of LLMs. We present a systematic study in this regard by comprehensively examining 7 LLMs on 4 related types of tasks constructed from 6 classification benchmarks. The 4 task types include traditional single-problem tasks, homogeneous multi-problem tasks, and two index selection tasks that embed the multi-problem tasks. We find that LLMs are competent multi-problem solvers: they generally perform (nearly) as well on multi-problem tasks as on single-problem tasks. Furthermore, contrary to common expectation, they often do not suffer from a positional bias with long inputs. This makes multi-problem prompting a simple and cost-efficient prompting method of practical significance. However, our results also strongly indicate that LLMs lack true understanding: they perform significantly worse in the two index selection tasks than in the multi-problem task under various evaluation settings, although they can indeed do index selection in general.
[ -0.0110565871, -0.0117141707, -0.0155564155, 0.0198236257, -0.05310449, 0.0483258069, 0.0544051714, 0.0231488254, 0.0007568262, -0.0503489785, -0.0177895315, -0.017325487, -0.0369371399, -0.0531034321, 0.019106973, 0.0041445447, 0.028684577, -0.0191039462, 0.0297126975, -0.0136320014, -0.043828886, -0.0450232252, -0.0296864174, 0.0124244802, -0.013609915, -0.0138521167, -0.037223056, -0.0101308255, 0.0277186409, -0.0627638921, 0.0151533522, 0.0395459794, 0.0173571967, -0.0349359773, 0.0000019329, -0.0546193905, -0.0103992522, -0.0265450031, -0.0295378435, -0.0158798862, -0.0199930761, 0.0515261851, 0.0365216285, 0.024769336, -0.0442089401, 0.0596394129, -0.0042792596, 0.086249195, 0.0468745977, 0.0518774763, 0.0104255863, -0.013268102, -0.0062460927, 0.0085522402, 0.0292705856, -0.0423647873, 0.0180378053, -0.0010890294, 0.0275923721, -0.0433021076, 0.0262386482, 0.029124964, 0.0234937351, 0.0248884261, 0.0171051137, 0.0116059259, -0.0032055569, 0.0146103036, -0.0260008425, 0.0301140454, -0.0384673923, 0.0604739003, -0.0096384902, -0.0361363888, 0.0385725684, 0.0136299701, -0.0513685234, -0.0228750128, -0.0009526357, 0.0218220316, -0.0011112397, 0.0191064142, 0.0153752211, 0.0157024376, -0.0269298833, 0.0841264725, -0.0418383107, -0.0577926412, 0.076712504, 0.0364959948, 0.0115490761, -0.0057652639, -0.0081889611, 0.0531731583, -0.0753781199, -0.0037435985, 0.043790374, -0.0326374918, 0.0189776476, -0.0306045245, 0.0778947473, 0.0188724212, -0.0379305556, 0.0189556684, -0.0511006862, 0.0716433004, -0.0090248063, 0.0358876884, -0.0253822356, 0.0157795697, -0.0428964458, 0.0163579471, -0.0027507097, 0.0898727104, 0.0197239555, 0.0226068497, -0.0524799898, 0.0320494957, -0.0296477787, 0.0190718528, 0.0221648924, 0.0148729701, 0.0601903573, 0.0210492443, -0.0776308626, -0.0252465308, -0.0106236739, 0.0480158255, -0.0143947694, 0.0091907801, -0.011311939, 0.0173226167, -0.0269160047, -0.0408727154, 0.0394546762, 0.0487561561, -0.0309011489, -0.0258113965, -0.0655030385, -0.0289773662, -0.0038207453, -0.0635840818, 0.0178695954, -0.0470454544, 0.0365033895, 0.0008558623, -0.0286523364, -0.0124928076, -0.0010314658, -0.0237385891, 0.0344623625, 0.0554488413, 0.0380337797, 0.0055777309, 0.0512256213, 0.0321269706, -0.0595208742, 0.0585715882, 0.0325688757, 0.017804103, -0.0114507824, -0.0090078097, 0.0216616336, 0.033933565, -0.0385150835, 0.0014339335, 0.0145400213, 0.0131917959, -0.0090472857, 0.0471135713, 0.0101530431, 0.024422029, -0.0092993686, 0.0169765893, 0.0192432702, 0.0682480559, 0.0739900321, 0.0127993356, 0.0018139081, 0.0061021661, 0.0015170447, 0.0317479745, -0.0415829569, 0.0467538312, -0.0372300595, -0.0120041184, 0.0059431866, 0.0007178823, -0.001360208, -0.0656389818, -0.0313649215, 0.021943016, -0.0483296737, 0.0202704631, 0.0357427634, -0.069916755, -0.0354159325, 0.0328955911, -0.0084880097, -0.0110805826, -0.0454037264, -0.0863676518, 0.0175655279, 0.0169113912, 0.0102305962, -0.0534129776, -0.0784781501, -0.0304179564, 0.0067554107, -0.0360883288, 0.046316117, 0.0030581357, -0.0099263508, -0.0195812713, -0.0585908219, -0.0144958906, -0.0114068119, 0.0228869691, 0.0081219878, 0.0018044533, -0.0043842294, 0.0026040496, 0.0107079661, 0.0279691182, -0.0061752731, -0.0207799096, 0.0245664027, 0.0321005583, 0.0677333325, 0.006361817, 0.0118862148, -0.0094661005, 0.0299975239, -0.0441337265, -0.0262951553, -0.0489045642, -0.0297967289, -0.0223602746, 0.0482353307, -0.0376554616, -0.025471339, 0.0034808158, -0.0368579105, -0.0308577046, -0.0180601459, -0.0201254189, -0.0612201802, -0.0319025889, 0.0198616609, -0.0276267529, -0.016639838, -0.0425460003, 0.0829686373, -0.0050247903, 0.0198261607, 0.0312965922, -0.0326539725, 0.0412862226, -0.0791089311, -0.0131762493, -0.0182630457, -0.0061630593, 0.0043452657, -0.0356993377, 0.0291800797, -0.0253942274, -0.0662367046, -0.0513138734, 0.0211535413, 0.011474641, 0.0399072655, -0.0437195487, -0.0631638393, -0.0160076022, -0.0070808255, -0.0720295087, -0.0090878364, 0.0165306088, -0.0130405016, 0.0340988785, 0.0207655076, -0.0238998011, -0.0012204612, 0.0418935977, -0.0038646271, 0.0243808981, 0.0235918351, -0.0576780736, -0.0249826591, 0.0600579903, -0.0425226986, -0.0446910039, 0.0116577791, 0.0150680831, -0.0003570312, -0.0225217305, -0.0338080116, 0.0064531369, -0.0267244205, 0.0462162793, 0.0693456158, -0.0237555429, -0.0733855888, 0.0442444719, 0.0140175037, 0.0125466464, 0.0020172978, -0.0018382506, -0.0081671011, 0.0107789282, 0.0162895191, 0.0020228187, 0.0245022047, 0.011021941, 0.0543459877, -0.0369380563, -0.0677073374, 0.0033030438, -0.0227180067, 0.0342063755, 0.0120011345, -0.0452111922, 0.0640080869, 0.0256915502, -0.021469418, 0.0067313905, -0.0679947436, -0.0426591635, 0.0314303041, -0.0773094445, -0.0315894261, -0.0179330967, -0.0369660892, -0.0552518293, -0.0090582063, 0.0068681049, -0.0315325744, 0.0621760339, -0.0627530217, -0.0039891521, -0.0330901928, -0.0641851798, -0.0286034103, -0.0011788439, 0.0097318497, 0.0366519317, 0.0006861006, 0.0275983475, -0.0454830825, -0.0131309163, 0.0470895991, -0.0280187465, -0.0259204824, -0.0093888752, -0.0096657015, 0.011739362, -0.0244413465, 0.1011359319, 0.0105105108, -0.0453000441, 0.0367230512, 0.0050079152, 0.0481154136, -0.0203440376, -0.0150188878, 0.072931096, 0.0404685736, -0.0502964891, -0.0311253574, 0.021428531, 0.0046000611, -0.0338447541, 0.0414725654, 0.0890488327, 0.0480512679, -0.0421423614, -0.0115742609, -0.043102935, -0.0366364829, 0.0285900403, 0.0269303191, -0.0492795072, -0.0227804258, -0.0090866368, 0.0268332269, -0.0326467343, -0.0430014767, -0.0069484999, -0.0790280178, 0.0592925511, 0.0007798657, 0.0017455014, 0.0081338193, -0.0117203407, -0.0167253967, 0.0025835834, 0.0131650781, 0.0050575659, 0.0013238783, -0.0467721894, 0.0488390513, -0.0378408507, -0.0284490455, -0.0086080572, -0.0008693837, -0.0051186625, -0.0092551783, -0.0102857631, -0.0248701908, -0.0392394215, 0.0391783975, 0.01655172, 0.0620373636, -0.0474137515, -0.0061633643, 0.0151096024, 0.0042459709, -0.0179517958, -0.014493824, -0.0112036476, -0.007145138, 0.0456962399, 0.1159877405, -0.0741486624, -0.0157694686, 0.0058273491, -0.0262830704, -0.0025086505, 0.0333624221, 0.0309285019, -0.0297839642, -0.0587915331, -0.017953258, -0.0540856123, -0.0046705971, 0.0318757519, 0.0342665054, -0.0349678285, 0.0499818102, -0.0176808927, -0.0033922789, 0.0461586937, 0.0511917956, -0.0202493239, -0.0230001491, -0.0733807236, 0.0336336419, -0.006192205, 0.0041772835, 0.0545087755, 0.0236660242, -0.0632399097, 0.0331313945, 0.0466778614, -0.0513213836, -0.0078641661, -0.019510055, -0.0341251753, -0.0355339684, -0.0465954654, 0.0335033983, 0.0210667029, -0.032816533, 0.0041254815, -0.0514011681, 0.0420674309, 0.0509235598, 0.0105074281, 0.0218218472, 0.0248719156, 0.0429354198, -0.000656935, -0.0074453312, -0.0360677466, 0.0314985029, 0.023441948, 0.0029869641, -0.0640007779, -0.0507946163, -0.0331777819, 0.0662403554, 0.0660773292, 0.0000811382, -0.0312275533, -0.0258275345, 0.0399647877, 0.0186136439, -0.0257452503, -0.0250456594, -0.0087290443, 0.0016325361, -0.015315257, 0.0105501767, 0.0211009514, 0.0246885214, -0.0215253402, -0.0223608594, 0.059491884, -0.0094946884, -0.0423849188, 0.0020051838, 0.0176570266, -0.0352226943, 0.00756867, 0.0642409995, -0.0138006993, 0.0414092392, 0.0642746836, -0.0104508828, 0.0455427952, -0.0361010544, -0.0112276413, -0.0428346992, -0.0476799868, 0.004192051, 0.0098894527, 0.05921923, 0.0449557528, -0.0120467106, 0.0172846783, 0.006001987, 0.0027080188, 0.0235934276, -0.0151526053, 0.0328630693, 0.0623635538, 0.040739473, 0.0011029668, -0.032551717, 0.0207553264, -0.0227510873, -0.0085032191, -0.0534170866, -0.0060862065, -0.0590828843, -0.0376647078, 0.0522855781, 0.0212299619, 0.0187228639, -0.007960123, -0.0487995148, 0.0005445056, 0.0580431074, -0.0025074463, 0.0097095175, -0.0343223214, 0.0222612713, 0.0516400337, 0.0131903617, -0.0190482792, 0.0217366386, -0.0830955952, -0.0010508933, 0.0007850936, -0.0043187519, -5.514425467e-33, -0.030254472, -0.0769615173, 0.03361132, -0.0045076134, 0.0053724335, -0.0231396817, 0.0038219418, 0.0567924827, 0.0335035138, -0.0127752898, -0.0202189442, -0.0443366952, 0.0163887199, -0.0524103902, 0.0661604181, -0.0463081449, 0.0133139621, -0.0078980746, -0.0105183721, -0.0420145579, -0.0145637225, 0.0148072233, 0.0184847191, -0.0433540009, 0.0265052617, 0.0283771101, -0.0019746493, 0.0184854344, -0.0252270997, 0.0384571366, 0.0071587199, 0.0223035943, 0.0469867252, -0.0360389799, -0.0005888501, -0.0095732789, -0.0083505353, -0.077922456, -0.0145589346, -0.0135219423, 0.0040999209, -0.0429014713, 0.0519462638, 0.053776484, -0.0806228518, -0.0135592725, 0.0283820126, -0.0307437666, -0.0195683967, -0.0449540466, 0.0336211883, 0.0221355651, -0.0269030817, -0.0140390703, 0.0367601588, 0.0282528736, -0.0479457788, 0.013725237, -0.0292888656, 0.0127411466, 0.0137567883, -0.0337208621, 0.0616947003, -0.0172981732, -0.0463271588, 0.0537631437, 0.0061602145, -0.0107382787, -0.0010187443, -0.0527965762, -0.0343514569, 0.1075852588, 0.0752123669, 0.0046297018, 0.0218297709, 0.0315096676, -0.0573221706, 0.0667107031, 0.0425597727, 0.0152618047, 0.00437281, 0.0150028197, -0.0225449875, -0.0268085767, -0.0193288997, 0.0467107221, -0.045428019, -0.0147351269, 0.0376726612, -0.0141809676, 0.0455691852, 0.0211110283, 0.0286606513, 0.0055277832, 0.0052305404, -0.02809209, 0.0012862228, 0.048236616, 0.0341651477, -0.0219681766, -0.0469322279, -0.0412591062, -0.0151224034, -0.0051570651, 0.0471945144, -0.0203116033, 0.0024935054, -0.0001056386, -0.0526381284, -0.0239690095, -0.0021440638, 0.0012770012, 0.0440409444, 0.0299489461, -0.0053984029, -0.0542385913, 0.0184393767, 0.030875057, -0.0418613292, -0.0326793753, 0.0178794228, 0.0065267216, -0.0127844224, 0.0262166038, 0.0031114642, 0.0282243881, 0.0193929989, 0.0222098473, 0.0120192468, 0.0127884811, 0.0015924904, 0.0207688566, 2.695e-7, 0.0322598442, 0.0479127653, -0.0397559404, 0.0307668019, 0.0064116344, 0.0236400496, -0.0895901471, -0.0166077577, 0.0095697492, -0.0054465467, 0.0402260609, 0.0474204719, 0.0679448992, 0.0489210561, -0.0445682146, -0.04077347, 0.0053885523, 0.0165080167, -0.0508462489, 0.0602844618, 0.0954875052, -0.0101858238, -0.0021202459, -0.0155578954, -0.0294669066, -0.0366769396, 0.0366320945, -0.0533843897, 0.0163256358, -0.0017953295, 0.086795412, 0.0063312445, 0.0147735262, 0.0509647876, 0.0031953265, 0.0558709539, 0.0106388275, 0.0473636538, 0.0342351124, -0.0626481026, 0.0282815732, 0.0011235381, 0.0323111154, -0.0015291116, 0.056662187, -0.0552548952, -0.0166598726, -0.0010919611, 0.0207965188, -0.0621162802, 0.0540298894, -0.023637427, 0.0461843535, 0.0112914201, -0.0146023175, -0.0558210425, -0.0217498429, -0.06431254, 0.012973207, 0.0583583973, -0.0309245158, -0.0621964931, -0.0064103534, 0.0009099732, 0.0660109296, -0.0507758819, -0.0130245527, 2.003774762e-34, 0.0095814103, -0.0088744946, 0.019446563, 0.1096049473, -0.0076909908, 0.0183184054, -0.0872474387, 0.0114143267, 0.0074848705, -0.0416466706, 0.0190138854 ]
http://arxiv.org/abs/2406.10785v1
http://arxiv.org/pdf/2406.10785v1
ShareLoRA: Parameter Efficient and Robust Large Language Model Fine-tuning via Shared Low-Rank Adaptation
2024-06-16T02:52:28
2024-06-16T02:52:28
Yurun Song, Junchen Zhao, Ian G. Harris, Sangeetha Abdu Jyothi
cs.CL
cs.CL, cs.AI
This study introduces an approach to optimize Parameter Efficient Fine Tuning (PEFT) for Pretrained Language Models (PLMs) by implementing a Shared Low Rank Adaptation (ShareLoRA). By strategically deploying ShareLoRA across different layers and adapting it for the Query, Key, and Value components of self-attention layers, we achieve a substantial reduction in the number of training parameters and memory usage. Importantly, ShareLoRA not only maintains model performance but also exhibits robustness in both classification and generation tasks across a variety of models, including RoBERTa, GPT-2, LLaMA and LLaMA2. It demonstrates superior transfer learning capabilities compared to standard LoRA applications and mitigates overfitting by sharing weights across layers. Our findings affirm that ShareLoRA effectively boosts parameter efficiency while ensuring scalable and high-quality performance across different language model architectures.
[ 0.031887576, 0.0627250075, -0.0054700887, 0.0551435202, 0.0499173403, 0.0219462775, -0.0041422709, -0.0351889655, -0.037950065, -0.0468171686, -0.0942120403, -0.0119259739, -0.0176126845, 0.018508153, 0.0380881429, -0.0333676711, 0.0475818813, -0.0306582209, -0.0037636021, -0.0143266525, -0.0072653354, 0.0287795197, 0.0272683185, 0.0038225106, 0.0690414086, -0.0132926786, -0.0134166796, 0.0236459784, 0.0367421806, -0.0040441747, 0.0274147, 0.0614798293, 0.0001127752, 0.0250876658, 0.0000019746, -0.0423018262, -0.0301348269, -0.0271244962, -0.0110211167, 0.0597959384, 0.0515802205, 0.035168495, -0.0092015127, 0.0303900782, -0.0194500107, -0.0103949942, 0.0510101318, 0.0103147868, 0.0527006537, 0.0697805509, -0.0120885447, -0.0084849559, 0.0084656989, -0.0673059523, -0.0349466801, -0.0562234186, 0.027209539, -0.0256370082, -0.0143069923, -0.0167808123, -0.0171827953, 0.0387467295, -0.0045064869, -0.0049824771, 0.007023728, 0.0306148641, -0.0653775781, -0.0171823669, -0.0012189161, 0.0970530286, -0.0729403049, -0.0325915664, 0.0121776126, -0.0273035914, 0.0067765652, -0.0338534303, -0.0129345469, 0.0063665458, 0.04521643, 0.0443988331, 0.0379105881, -0.0281858873, 0.0373097248, -0.0006521588, -0.0515671112, 0.0270692874, 0.0528091229, 0.0039402698, 0.0131524792, -0.0053865449, -0.0232045278, -0.0111502018, 0.0042612716, 0.0308666267, 0.0010236616, 0.0042726258, -0.093794398, -0.0395494588, 0.0328301191, -0.0438429751, 0.0952204391, 0.0287255552, -0.0305072051, 0.0359215513, -0.0573735461, 0.017855892, -0.00343176, 0.0449288897, -0.0523909777, -0.0066232346, 0.0168942045, 0.0219508838, -0.0559168719, 0.0185221713, -0.028419992, -0.012443291, -0.0367214158, 0.0401037186, 0.0327510685, -0.0118059302, 0.024566751, -0.0037759524, -0.0401479006, -0.0368368477, 0.0225091632, 0.0663242564, 0.0002372104, 0.0362102389, -0.0059033628, -0.06224804, -0.0208238102, 0.0244508553, 0.0332815424, -0.0376438983, 0.0400480591, 0.0083808405, -0.0217479095, -0.0549030043, -0.0484243967, 0.0283838548, -0.0045410455, -0.0881600007, 0.0105521725, -0.0264119767, 0.0308166798, -0.0137337511, 0.0256413091, -0.0289499797, -0.0149038481, 0.0143450415, -0.0298035722, 0.0417588279, -0.0043762713, 0.003058827, 0.0215877015, 0.006076124, 0.0236709788, 0.0769453049, 0.0357487537, 0.0306567904, -0.0055531552, -0.0505620465, -0.0375617668, 0.0537736863, 0.046879705, 0.0192552079, -0.0111957304, 0.0235589948, 0.0237489492, 0.0019296083, 0.0781755298, 0.0143843498, -0.0065545142, -0.0087638693, 0.069547087, 0.0362777039, 0.0732225552, 0.0438175499, 0.0243589375, -0.028829135, 0.0038208764, -0.0418302529, -0.0589118563, 0.0464647859, -0.0216939673, -0.0118983053, 0.0287903734, 0.0672133788, -0.0375227742, -0.015785234, -0.0031055093, 0.0123005267, -0.0365905501, 0.0336069502, 0.0316258371, 0.0097278245, -0.0431415215, 0.0485948138, 0.0434249863, -0.0287203435, 0.0146796303, -0.0697528869, 0.028544249, 0.0352494344, 0.0023102963, -0.0207048897, -0.0401739404, 0.001346234, 0.053547252, 0.0036652144, 0.0481307171, 0.0291428305, 0.0267150439, -0.0596012101, 0.0023217234, -0.0212416369, 0.0110161025, 0.0385431908, -0.0200087782, 0.0347957909, 0.0320822783, -0.0336383916, -0.0368479565, 0.0242976509, -0.0194540713, -0.0371500738, 0.0080520818, 0.0039311987, 0.0244508237, -0.0187772457, 0.0000193027, -0.0095673129, 0.0287333522, -0.0277989507, 0.0386718959, -0.0214671083, -0.032330133, -0.0146274026, 0.012548822, 0.0245313514, 0.0237786807, 0.0578339398, -0.0352334864, -0.0409643874, 0.0307126697, -0.0087358672, 0.0267542824, -0.0488597974, 0.0339730084, -0.002587493, 0.0852572694, -0.0300073959, 0.0159282442, 0.0205453318, -0.025143737, 0.0200741235, 0.0439699851, 0.0123369554, -0.0485640615, -0.0480212606, 0.0322282203, 0.0016871176, 0.0286321938, -0.0290394686, 0.0468601063, -0.0259380583, -0.0345890187, -0.0483064279, 0.0337453894, -0.0449727699, 0.0401235074, 0.0304722805, 0.0225967467, -0.0215537548, -0.0136857061, -0.0304870494, 0.0484605171, -0.011970412, 0.0141715808, 0.010528449, 0.00893836, -0.0153569737, -0.0640136376, -0.0163916796, 0.0408048779, 0.0334827863, -0.0194851812, 0.0089495424, -0.0677400455, 0.0164719746, -0.0356753916, 0.0314777866, -0.0087750694, -0.068374075, -0.0343532078, -0.0416123159, 0.028593909, 0.0780318826, -0.0017300938, -0.0016730119, 0.087020345, 0.0036589254, -0.0299379043, 0.0175215006, -0.0043369462, -0.0525153205, -0.0284884162, 0.023794435, 0.0054013361, 0.0468781143, -0.0432076156, -0.0192601886, -0.0672294647, 0.0006151668, -0.0057488186, -0.0080556246, -0.0098795714, 0.0336899199, -0.0149338841, -0.005655142, -0.0071008969, -0.0421698317, 0.0315766782, -0.032399606, -0.035522107, -0.0463887304, -0.0325792991, -0.0313898548, 0.0006910868, -0.0018018811, 0.0289664548, -0.0338331424, -0.0331201367, -0.0357693173, 0.0075727389, -0.002132586, -0.0148873758, 0.0338634327, -0.0142424237, 0.0033701868, -0.0640512183, -0.0448178537, -0.003009944, -0.0177324004, -0.0177349392, 0.013355244, -0.0039619422, -0.0214358643, 0.001453083, 0.0062123942, -0.0096188169, 0.0582732558, -0.0175503027, -0.0034825534, -0.0268799737, 0.0080794813, 0.0770115852, 0.044298511, 0.0162972566, 0.005612886, 0.0139833326, 0.0150009114, 0.0334119163, -0.005155737, -0.023941176, 0.0351247229, 0.0557799116, -0.0123077296, -0.0083653098, 0.0253026243, 0.0383338854, -0.052604232, -0.0178607702, 0.0780833736, -0.0154429609, -0.0704641119, -0.0173808876, -0.043565616, 0.0517006144, 0.0114301555, 0.0686772093, -0.0213154964, -0.0251601394, -0.0045008552, 0.04463448, 0.0274749752, 0.0043838285, -0.0197435301, -0.1039359793, 0.0361039378, 0.0121968668, -0.0440443344, -0.0479823984, -0.0408378355, 0.0012390345, 0.0082037589, 0.0303215161, 0.0144537846, -0.0409058705, -0.021164434, 0.0365040749, 0.009704628, -0.0431473255, 0.013928432, -0.0207325071, 0.0489106104, 0.0415761247, 0.0201625489, 0.0075041144, -0.0330975018, 0.0385067351, -0.0604247525, -0.0208303221, -0.0124236485, 0.0114875352, -0.0039835083, -0.0424799584, 0.0312532969, 0.0202978365, -0.0217115507, 0.0094472989, -0.002553123, 0.0618805811, 0.0164780356, -0.0348358713, 0.0136711979, -0.0136313895, -0.0279257149, 0.052112855, 0.0667395443, -0.0169764347, -0.0286769662, 0.0067538037, -0.0088579999, -0.053876169, -0.0082111526, 0.020781545, -0.0303439591, -0.0008267527, -0.0246312171, -0.0285554733, 0.0289161112, 0.0413237326, -0.005841264, 0.0123753957, -0.0119276401, -0.0148396809, -0.0137163587, 0.0262350775, -0.0641319007, -0.0326940157, -0.0689499006, -0.0110232197, 0.0534743443, -0.0364532471, -0.0016654253, -0.0076867482, -0.0891926289, -0.06118026, 0.019412132, 0.0651981831, 0.0136400284, 0.0263631325, -0.0072866287, -0.0906606764, 0.0531832799, 0.0116553353, 0.005921023, 0.0553234778, 0.0364285856, -0.0412970372, -0.0132401884, 0.0492093526, -0.0611681826, 0.0190061666, 0.0446224064, 0.024622133, 0.0174459331, -0.0391257852, -0.0291366149, 0.0188961439, 0.0316284597, -0.0043579177, -0.0437523089, -0.0529819243, 0.0751481578, -0.0318262875, 0.0268493183, -0.0504596867, -0.0221619811, 0.0102983359, -0.0053784982, -0.0314887911, 0.0008954027, 0.0298656244, 0.0217796378, -0.0367339998, 0.0272205696, -0.0101632588, 0.0088952947, 0.0459783264, 0.0075261053, -0.0212841909, 0.0202191975, 0.0395899713, 0.0288112368, -0.0520398803, 0.0017714441, 0.0094434982, -0.0028584474, -0.0468906052, 0.0545527078, -0.0194626804, -0.1213474944, -0.0494412668, -0.0104953321, 0.068147555, 0.0068877251, 0.0993981361, 0.011231428, -0.0338834301, -0.0141516421, 0.0035501281, -0.019204611, 0.0018912802, 0.0220329594, -0.0101371557, -0.0032234141, 0.0162729826, 0.0566377304, 0.0438578874, 0.0550982244, 0.0007335731, 0.0117086601, -0.019232979, -0.0079570543, 0.0061940341, 0.0080910176, -0.0189231727, -0.0151834767, 0.0114411274, -0.062971957, 0.0003739885, -0.0278029572, -0.0178120919, -0.0038298881, 0.0180521216, 0.0509662367, -0.0256788675, -0.012997048, -0.0173703153, -0.0232552234, 0.0267193429, -0.0024692314, 0.0376622789, -7.279813739e-33, -0.0541737676, 0.0224924162, 0.0288258512, -0.0139008733, -0.0406056941, -0.0110375592, -0.0268332679, -0.0100409444, -0.0204471704, -0.0063030673, -0.0228485912, -0.006204959, 0.0163751952, 0.0140991667, 0.0001568875, -0.0209364481, 0.0580294877, 0.0097351056, -0.027756948, 0.0454909131, -0.0040794606, 0.041468408, 0.0684772953, 0.0037515131, -0.0585619248, 0.024716381, -0.0246761572, -0.0135700954, -0.0320912637, 0.0334354937, -0.032286793, 0.0461749136, 0.0082700923, -0.0210498311, -0.0327231139, 0.0268477723, -0.092797488, -0.0547609441, 0.0236703884, 0.003565284, 0.0112255346, -0.0363442376, 0.0563628189, 0.027347384, 0.0053146356, -0.0317514278, 0.0179520808, -0.010804629, -0.0291476529, -0.017428875, -0.0671662241, 0.007155261, 0.0182938725, 0.0094844215, 0.0310849287, 0.0011652563, -0.011050377, 0.0522422306, -0.0693687648, -0.0135416761, 0.0008581583, 0.0652549267, 0.0466501229, 0.0377957895, -0.0327690616, 0.0248064436, 0.006005025, -0.0064905621, 0.0450969227, -0.0078182742, 0.0657604039, 0.0410149358, 0.0222818833, 0.0262694918, -0.0047917529, -0.0221913438, -0.0898122936, -0.0176757965, -0.0232534949, 0.0072869034, 0.0208509658, 0.0188085344, -0.0022628042, -0.0202067588, -0.048676081, -0.0136524756, -0.0585271418, -0.0078417324, 0.0493707135, 0.0303908437, -0.0269351471, 0.0232754946, 0.057104405, -0.0232217852, -0.019295577, -0.0129264453, -0.0158617664, -0.0019222655, -0.0026477294, 0.0395480432, -0.0499550477, -0.0538848564, 0.012885062, -0.0311227441, 0.0062044039, -0.0080516869, 0.0366669409, 0.0383645035, -0.0737916455, -0.0011527914, -0.0108273998, 0.0240699742, 0.0273994636, 0.0621509925, -0.0017307294, -0.0166905522, 0.0108462237, 0.0732046068, 0.0189480614, 0.0148537941, -0.0131006679, -0.0385602824, 0.044892583, 0.024949545, -0.0455004424, 0.0224917773, -0.0414251983, 0.0285035986, 0.0281980541, -0.0572481304, -0.0203971677, 0.0066255052, 2.836e-7, 0.0528201163, 0.0453103147, -0.0333578438, -0.0440650135, 0.001762399, 0.0086033307, -0.0119099924, 0.0667852014, 0.0408020467, 0.0468195602, 0.0174612906, 0.0193292275, 0.032702256, -0.0069244709, -0.0463006683, -0.0210231207, -0.0618871041, 0.0241447501, -0.0477823615, -0.0660767928, 0.0014301145, 0.1050898433, 0.0203394219, -0.0190929528, 0.0188631862, -0.0276318807, 0.054910019, -0.0386409834, -0.017227266, 0.0406225547, 0.0673560351, 0.0274634734, -0.0397511646, -0.0367185473, -0.0199038815, 0.0483214594, -0.0325988233, 0.0696315169, -0.0069481721, -0.0360541195, 0.0345840454, 0.0173679795, 0.0109205693, -0.0929680839, 0.0829168931, -0.0728752762, -0.0229181014, -0.014972371, -0.002268089, -0.0347177237, 0.0335299112, -0.0536096729, 0.0074268198, 0.0182077959, 0.0168803334, -0.0148126492, -0.0545311905, -0.1183688417, -0.0019411477, -0.0063371835, -0.0280779265, -0.0348043106, -0.0832120478, -0.0451250896, 0.0380604453, -0.0540016368, 0.0438630097, 2.497714044e-34, 0.0219943244, -0.0309511293, 0.013680324, 0.0089837564, 0.0114279641, -0.0005850964, 0.0163368993, 0.0221739411, 0.0162949916, -0.1037639529, -0.0195199326 ]
http://arxiv.org/abs/2406.10777v1
http://arxiv.org/pdf/2406.10777v1
RoseLoRA: Row and Column-wise Sparse Low-rank Adaptation of Pre-trained Language Model for Knowledge Editing and Fine-tuning
2024-06-16T02:08:49
2024-06-16T02:08:49
Haoyu Wang, Tianci Liu, Tuo Zhao, Jing Gao
cs.CL
cs.CL
Pre-trained language models, trained on large-scale corpora, demonstrate strong generalizability across various NLP tasks. Fine-tuning these models for specific tasks typically involves updating all parameters, which is resource-intensive. Parameter-efficient fine-tuning (PEFT) methods, such as the popular LoRA family, introduce low-rank matrices to learn only a few parameters efficiently. However, during inference, the product of these matrices updates all pre-trained parameters, complicating tasks like knowledge editing that require selective updates. We propose a novel PEFT method, which conducts \textbf{r}ow and c\textbf{o}lumn-wise spar\textbf{se} \textbf{lo}w-\textbf{r}ank \textbf{a}daptation (RoseLoRA), to address this challenge. RoseLoRA identifies and updates only the most important parameters for a specific task, maintaining efficiency while preserving other model knowledge. By adding a sparsity constraint on the product of low-rank matrices and converting it to row and column-wise sparsity, we ensure efficient and precise model updates. Our theoretical analysis guarantees the lower bound of the sparsity with respective to the matrix product. Extensive experiments on five benchmarks across twenty datasets demonstrate that RoseLoRA outperforms baselines in both general fine-tuning and knowledge editing tasks.
[ 0.0741724744, 0.0710199699, -0.0081342151, 0.0369348116, 0.0054701124, 0.0117888451, -0.028069254, 0.0107043544, -0.0202311184, -0.0780762658, -0.0686139166, -0.0031611917, 0.0189087745, -0.0175728276, 0.0410796031, -0.0369698517, 0.0571493283, -0.0285494551, -0.0353601985, 0.0006764948, 0.0075439727, -0.001421824, 0.0052268384, -0.0252252147, 0.0422782041, 0.0054695536, -0.0331050754, 0.0211986359, 0.0131195467, 0.0568243414, 0.0282487329, 0.1192939878, 0.0164992753, 0.0150262415, 0.0000021361, -0.0341989137, -0.0428103097, -0.0159319546, 0.0076556345, 0.0436653607, 0.0246475767, 0.0046052467, -0.009547702, -0.0116158687, -0.0135432361, -0.0257399958, 0.07088577, 0.0396188162, 0.0644316375, 0.086633496, -0.0097499713, -0.0002640372, 0.0084770406, -0.0481518768, -0.0400897861, -0.0502164662, 0.06150686, -0.0162926633, -0.0644343272, 0.0095994342, -0.0293468516, 0.0183449332, -0.039514672, -0.0070139454, 0.0210860092, -0.0120254951, -0.064894937, -0.0161417853, -0.0029550658, 0.0945539102, -0.0484718718, -0.0290216077, 0.0170869567, 0.0095361294, 0.0190698486, -0.0192325357, -0.0057693599, -0.0356694907, 0.0446270071, 0.0083433865, 0.0162491091, -0.0669497028, 0.0234331768, 0.0374732874, -0.0069065457, 0.0311992262, 0.0572405197, -0.0202042833, -0.0147632761, -0.0277297441, -0.0182260368, -0.0476420559, -0.0146304201, 0.038389273, -0.0341671593, -0.0040951134, -0.0725988597, -0.0292700194, 0.023070313, -0.0399397202, 0.0980751067, 0.0325980075, 0.0097556347, 0.0521051809, -0.0527093746, 0.0043674153, 0.0198471025, 0.0232958682, -0.0207686722, 0.0243256688, -0.0148565145, 0.0139465146, -0.0516726859, 0.0335832238, -0.0653170273, 0.0122973705, -0.033499755, 0.0188420247, -0.0129513023, 0.0272125117, -0.0102562858, -0.0120839868, -0.0143365841, -0.0429708399, -0.0062180911, 0.0552901998, 0.0059168716, 0.0361363925, -0.035665106, -0.0063156588, -0.0371214263, -0.0030554303, 0.0624544136, -0.0508829504, 0.0440856032, 0.0275313072, -0.0344436392, -0.0546843112, -0.0431568064, 0.0100963674, 0.0004452045, -0.0938656032, -0.0361274369, -0.0477289669, 0.0360468477, -0.0077801649, 0.0142069543, -0.0589810051, -0.0136586009, 0.0021372822, -0.1004260182, 0.0875530839, -0.039374955, 0.0068257349, 0.0131049044, -0.008448421, 0.0037187699, 0.0469299667, 0.0030518915, 0.0208325218, 0.0262540523, -0.035891328, -0.0318934731, 0.0498633385, 0.0138049889, 0.028896777, -0.0071825846, 0.0139654931, 0.0034066457, -0.015498315, 0.0349598452, 0.0202241316, -0.0186698679, 0.0269173253, 0.0724746659, 0.0215270426, 0.0679930672, 0.0628684834, 0.0196079537, -0.0230839662, 0.0277341306, -0.013686155, -0.0463454165, 0.021983698, -0.0795926154, -0.0066274023, 0.0288585238, 0.0218909476, -0.0349448174, -0.0185468886, 0.0037207266, 0.0028223596, 0.0007806098, 0.0031155227, 0.0360019542, 0.0160472728, -0.0579831377, 0.0145272333, 0.0734078735, -0.0298467278, -0.0002079985, -0.0367277749, -0.0003047979, 0.0441121981, 0.0296144914, -0.0697975233, -0.041457925, -0.0060797222, 0.0281308759, -0.0074799522, 0.047882434, -0.017613383, 0.0000978449, -0.0240555964, 0.0097803799, -0.0280443635, 0.0488293953, 0.0121117476, 0.0181063376, 0.0089195902, 0.0325152762, -0.0248972513, -0.0389736444, 0.0282751247, -0.0184117891, -0.0067749503, 0.0018530106, 0.0126459934, -0.0073034479, -0.0139894225, -0.0079623926, -0.0364642628, 0.010837811, -0.0041743824, 0.0404341631, -0.072338216, 0.0096547753, -0.0158919152, 0.0394223332, 0.0404674411, 0.0007640857, 0.0722642615, -0.0370940566, -0.0247267429, 0.0125389909, 0.0085433777, 0.0066541708, -0.0509777889, 0.022058906, -0.0190019161, 0.0192962326, -0.0251055304, 0.0443674549, 0.0114172129, 0.0178799424, 0.0273347646, -0.0095335003, 0.0101406612, -0.0389027111, -0.0728710145, 0.0039017606, -0.0075329915, 0.0188255217, 0.0011962089, 0.0320286527, -0.0389496684, -0.0237552598, -0.0721960366, 0.0468991771, -0.0406482369, -0.0009176645, 0.0581250377, 0.0198395792, 0.0013795787, -0.016025655, -0.0039883573, 0.0250192527, -0.0267810822, 0.0304765515, 0.0322736576, 0.025222512, -0.0030170323, -0.0745931119, 0.0018230677, 0.0294797383, 0.0397977456, -0.0268687177, -0.0192301814, -0.0528487824, 0.0609424561, -0.035651844, 0.0272179395, -0.0086955354, -0.0337887667, -0.0564603284, -0.0365057029, 0.0746985897, 0.0163898524, -0.0216087215, 0.0274749994, 0.0795736611, 0.0116051808, 0.0149315735, 0.0059156525, -0.0045339759, -0.0311282929, -0.0271465927, 0.0226997528, 0.0046477974, 0.0484306663, -0.0365643166, -0.0545670949, -0.0567937903, 0.0145142125, -0.008180052, -0.0079908269, -0.0393497758, 0.0250909235, -0.0099380855, -0.0016722068, -0.0385723673, -0.0090129189, 0.0347658545, -0.0261503588, 0.011924413, -0.017331738, -0.0262541417, -0.0292876605, -0.0054745008, -0.0111426366, 0.0372449234, -0.0760404617, 0.0010712571, -0.0635960847, -0.013335784, 0.0114135863, -0.010336888, 0.0595167018, -0.0445020311, 0.0337880664, -0.0430558845, -0.020603206, 0.004823315, -0.0641203076, 0.0140286097, 0.0347143449, 0.023506159, -0.0327324159, 0.0267453231, 0.0044799815, -0.0028731492, 0.0796531513, -0.016810501, 0.0003029614, -0.0362698808, 0.0268289875, 0.0670987591, 0.0426310301, -0.0029503054, 0.0045100022, 0.0192437954, 0.0165108964, -0.004061495, -0.0506391525, -0.0013171519, 0.0433455184, 0.0270239767, -0.0318458043, -0.0048770434, -0.0032277461, 0.0455040447, -0.0078956168, -0.0155231953, 0.0939001441, 0.0137771899, -0.0595957451, 0.0126969051, 0.0012011256, 0.0341344252, 0.0429241583, 0.0721188635, -0.0522022508, -0.0127700521, 0.0073650903, 0.0245215278, 0.0371457115, -0.0636840016, -0.0215987656, -0.064780958, 0.0079923598, -0.0031151255, -0.0035530326, -0.0583335273, -0.0363167413, 0.0481952988, 0.0005637869, 0.0060785082, 0.0350703262, -0.0294227675, 0.0008938769, -0.0027347936, 0.0260902941, -0.063878417, -0.0134475408, -0.0139955273, 0.0559953414, -0.0069007492, 0.0323550589, -0.0258769374, -0.010435693, 0.0109135676, -0.0255979933, -0.0278135445, -0.0390505381, 0.0145096742, 0.0131564643, -0.0318601839, 0.0189908687, 0.0320608094, -0.0013455375, -0.03858703, -0.0193275288, 0.0520166866, -0.0013729644, -0.0008168931, 0.0746138245, -0.0251591615, -0.0216045026, 0.0666543469, 0.0218294561, -0.0207739081, 0.0194578599, 0.0031963428, -0.0198358204, -0.0214740597, -0.0315952823, -0.0234102551, -0.0553891808, 0.0446703956, -0.0433498472, -0.018672891, 0.0708206668, 0.0270863567, 0.0018263345, 0.0319630168, -0.0327770263, -0.0047542378, -0.0069091897, 0.0244985111, -0.046863243, -0.0245979913, -0.0158749819, -0.052451726, 0.0308892187, -0.0241774693, 0.0005242057, -0.020076558, -0.0431344844, -0.0289608259, 0.0074029281, 0.0549343154, 0.0126630804, 0.0281060617, 0.0032941068, -0.0673901215, 0.0280151945, 0.0112516657, 0.0128279533, 0.0872794837, -0.0016382325, -0.0425623097, -0.0182369668, 0.0535138249, -0.050838016, -0.0120483292, 0.0776704922, 0.0754127726, -0.0160369836, -0.0462133661, 0.0171150751, 0.0240392312, 0.007558736, 0.0129063902, -0.0150292739, -0.0649771467, 0.0502626672, -0.0328177698, -0.0245664027, -0.0214420557, -0.0280649252, 0.011386049, -0.0039006821, -0.045509886, 0.0173910838, 0.0073787672, 0.0538352877, -0.0432328247, -0.0281878039, 0.0170102809, -0.0308638941, 0.0463291816, 0.0380400233, -0.0231705103, 0.0336362198, 0.0115277721, 0.0072382865, -0.0468616486, -0.0120249009, 0.0276754647, -0.0248885248, -0.0850064605, 0.0684513673, -0.0061810338, -0.0754488483, -0.0323830582, 0.03290952, 0.0670375228, -0.0166203026, 0.0533901043, -0.0161967576, -0.0644069165, -0.0121226748, 0.0114559457, 0.0281240847, 0.0204497986, 0.0093585318, 0.0108050397, -0.0006744347, 0.0525566787, 0.0627990961, 0.0349437594, 0.10862571, -0.0202806499, -0.0199563559, -0.0448570885, -0.0242136549, -0.0013968331, 0.032489486, -0.0279514659, 0.0187109727, -0.005750889, -0.0661662817, -0.0143382102, -0.0343168974, -0.0282238815, 0.0165871773, 0.0030440255, 0.0464775302, 0.0075177439, 0.0310721751, -0.0423007347, -0.043407172, 0.0399401858, -0.0227526128, 0.0078113037, -6.814063776e-33, -0.0355089754, 0.0330106802, 0.009007588, 0.0262178909, -0.0064383168, -0.0068213833, -0.0170954689, 0.0157791395, -0.0289488379, 0.0137269357, -0.0253151823, -0.0144247636, -0.0220187511, -0.0042428919, -0.0260926913, 0.0179960709, 0.0480360873, 0.020108467, 0.0064085377, 0.0022600193, 0.0004642491, 0.0529853925, 0.0547644421, -0.0140285539, 0.0168219488, 0.0108605335, -0.0415561087, 0.0168810543, -0.0090524117, 0.0070184343, -0.0315501951, 0.0271696784, 0.0257346444, 0.0062770527, -0.0194812156, -0.0225093123, -0.1079423949, -0.0086735282, 0.0449904874, 0.0141815739, -0.0077764136, -0.0322785452, 0.0225411095, 0.0213277172, -0.0035620516, -0.0311277658, 0.0181490537, -0.0334660076, -0.001120919, -0.0327250063, -0.0664527565, 0.0027725392, 0.0073363208, -0.0312318951, 0.015986301, -0.003559819, 0.0003576934, 0.0075542959, -0.0790103525, -0.0204431377, 0.0489989221, 0.0934914649, 0.0127170896, -0.0041856756, -0.049243141, 0.0203072187, -0.0253536813, 0.0165939014, 0.044307936, 0.0128500061, 0.0268131569, 0.0466379523, 0.0108115505, 0.0419742167, 0.0035762191, -0.0128996009, -0.0896825865, -0.0057386672, -0.0481211282, 0.0281052869, -0.0038864322, 0.0259382185, 0.0224272814, -0.0042270683, -0.0740764365, 0.0192559473, -0.0656392351, -0.0024518138, 0.0111484379, 0.0404364057, -0.032549914, 0.033716362, 0.0043487628, -0.0438128114, -0.0291781984, -0.0062804352, -0.0359774493, 0.0224797614, 0.0021658344, -0.0055621127, -0.0404640846, -0.0406343266, 0.0372941606, -0.0496967733, -0.0152655458, -0.0032415418, 0.0866023526, 0.0303636547, -0.0713366941, 0.0031471113, 0.0096491724, 0.0342062302, 0.0241845064, 0.0340443701, -0.0331172533, -0.003748521, -0.0095280027, 0.0688879192, 0.0669610351, 0.0317727067, 0.0137070697, -0.0100561213, 0.013433408, 0.0260217506, -0.0145212607, 0.0072277198, -0.0117603038, 0.0194283556, 0.0089035304, -0.0529909804, -0.0028744456, -0.025274165, 2.955e-7, 0.0464603677, 0.0515665561, -0.0325502828, -0.0538987517, 0.0059709307, 0.0088652447, -0.0311573986, 0.0405799747, -0.0004718506, -0.0000211898, 0.0344815329, 0.0127270296, 0.0096768206, -0.0440359004, -0.0309358798, 0.0011898841, -0.0567337982, 0.005133979, -0.0517196916, -0.0413324088, 0.0189083088, 0.0739309266, 0.0228209216, -0.0141821494, -0.011652804, -0.020930063, 0.0826331154, -0.023298936, -0.0255440716, 0.0318881646, 0.0850480646, 0.0006254907, -0.020621188, 0.0054177833, -0.038546782, 0.0401910394, -0.0277964752, 0.0848833323, -0.0423622318, 0.0343765877, 0.020113254, 0.0252148118, 0.0009437764, -0.0492704771, 0.0968048647, -0.0316915251, -0.0110106599, -0.0144620538, -0.0344241969, 0.0109974286, -0.0178797506, -0.03954174, 0.0032142962, 0.0228055157, 0.0249760021, 0.04054543, -0.0375453159, -0.0783365518, 0.0320902914, 0.0359827057, -0.0028019571, -0.0623095967, -0.0256113019, -0.0726429448, 0.0455972031, -0.0681556016, 0.0338861272, 2.852210768e-34, 0.0030260077, 0.0107756294, 0.0237789322, 0.0284463391, 0.0340649784, -0.0080746962, 0.0108324392, 0.013145498, 0.003715754, -0.1118457988, -0.0077810986 ]
http://arxiv.org/abs/2406.10774v1
http://arxiv.org/pdf/2406.10774v1
Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference
2024-06-16T01:33:02
2024-06-16T01:33:02
Jiaming Tang, Yilong Zhao, Kan Zhu, Guangxuan Xiao, Baris Kasikci, Song Han
cs.CL
cs.CL, cs.LG
As the demand for long-context large language models (LLMs) increases, models with context windows of up to 128K or 1M tokens are becoming increasingly prevalent. However, long-context LLM inference is challenging since the inference speed decreases significantly as the sequence length grows. This slowdown is primarily caused by loading a large KV cache during self-attention. Previous works have shown that a small portion of critical tokens will dominate the attention outcomes. However, we observe the criticality of a token highly depends on the query. To this end, we propose Quest, a query-aware KV cache selection algorithm. Quest keeps track of the minimal and maximal Key values in KV cache pages and estimates the criticality of a given page using Query vectors. By only loading the Top-K critical KV cache pages for attention, Quest significantly speeds up self-attention without sacrificing accuracy. We show that Quest can achieve up to 2.23x self-attention speedup, which reduces inference latency by 7.03x while performing well on tasks with long dependencies with negligible accuracy loss. Code is available at http://github.com/mit-han-lab/Quest .
[ 0.0131444363, 0.0414730497, 0.0041764537, 0.0628622025, -0.0357812308, 0.0179638695, -0.0187990908, 0.0061345473, 0.0359247699, -0.038302131, -0.0083415695, -0.0424656756, -0.0083541749, -0.024172131, 0.030310506, 0.0200859718, 0.051762946, -0.0539587587, -0.0058062985, -0.0176870208, -0.0325300656, 0.0083483085, 0.023451196, 0.013814318, -0.0006982372, -0.0123468554, -0.0278965812, 0.029746322, -0.0031168275, -0.0280530602, 0.0025110324, 0.0633487776, -0.0083193164, 0.0168316215, 0.0000019897, -0.0510256886, -0.0088841813, -0.0153123057, -0.0633116439, 0.0559467897, 0.0188139416, 0.0232210569, -0.0047472133, 0.0022405018, 0.0149155688, 0.0209030695, 0.0538456999, 0.010934595, 0.0043948768, 0.0541899428, 0.0065311533, -0.0130904913, -0.0271062069, -0.0336359069, 0.0374349281, -0.0946332812, 0.0250119083, -0.0389666557, -0.0085239895, -0.0112898117, -0.0164674446, 0.0360239744, 0.030814914, 0.0092140036, -0.0169947632, 0.045094315, -0.0511133857, 0.0040303464, 0.0155073162, 0.0396609195, -0.0055050119, -0.0516675152, 0.023469558, 0.0113004893, -0.0121582886, -0.0233403072, -0.0498809591, 0.016078122, -0.0182420332, -0.0079718325, 0.0691467524, -0.0125055099, 0.0443417467, 0.0242913477, -0.0722965598, 0.0358993746, 0.0579366274, -0.0210560206, -0.0397545919, -0.0125391111, -0.011049604, -0.0714169517, -0.0238832887, 0.0214616079, -0.021528447, 0.0071571548, -0.0265358575, 0.008954253, 0.0267733037, -0.0547617562, 0.0110135674, 0.0448292904, -0.0444333665, 0.0601973273, -0.0313394219, 0.0367108695, -0.0352192409, 0.0056519513, -0.0355885588, -0.0076928721, 0.0225469712, 0.0099297157, -0.0121644707, 0.0119552035, -0.0096684871, 0.0005329683, -0.0416761078, 0.01651958, 0.0262245033, -0.0114859734, -0.0045037852, 0.0009703468, -0.0421032012, 0.0205578096, 0.0192978457, 0.0281763766, -0.0390596054, -0.0162752848, -0.0421699658, -0.0786955729, -0.0577732399, 0.0291547496, 0.0208628532, -0.057785403, 0.0004379682, 0.0770862401, 0.0244778525, -0.0564703569, -0.06629695, -0.0124119371, -0.0169504788, -0.0703919306, 0.0058030304, -0.0748907924, -0.0153143592, 0.0266063102, 0.0028403276, 0.010210284, -0.0128901228, 0.0253046267, -0.0115610007, 0.0276056901, 0.0486128442, -0.0013183273, -0.0170069132, -0.0165108852, 0.0224139206, 0.101846166, -0.0005706478, 0.0320408382, 0.0245603304, -0.0134191131, -0.0264000483, 0.0405489765, 0.0456006005, 0.0285010748, -0.0188153628, 0.0236749928, 0.0456111543, -0.0087606916, 0.0342269838, 0.0418713614, -0.0129045844, -0.0419670232, 0.0173153598, 0.0528160445, 0.0287516583, -0.0120555675, 0.0180310234, 0.0088437125, -0.0249185301, 0.0328041986, -0.0789287537, 0.0633083358, -0.0216804054, 0.0227821656, 0.0749366954, 0.0256203339, -0.0297807902, -0.0099732988, -0.0453431644, 0.012994173, -0.0258174445, 0.0348321125, 0.056205973, 0.010012662, -0.0217742193, 0.07783968, 0.0475939028, -0.0492607653, -0.0298435334, -0.0396162979, 0.0211807899, 0.0575278699, 0.0355970711, -0.0195124596, -0.0294523463, 0.04111569, 0.0099031953, 0.0063868579, 0.0179098491, 0.0113629717, 0.0288314577, -0.039134115, -0.0184718408, -0.0077709062, 0.020355776, 0.0038463376, 0.0549019501, 0.0225998908, 0.0458511263, -0.045867905, 0.0065018041, 0.0150349038, -0.0388993472, -0.0260651372, -0.0045321919, 0.0219715517, 0.0204873662, 0.0091004204, 0.0007803074, 0.0210676622, 0.0454211421, -0.0411747172, 0.0136370193, 0.0005166224, -0.0557090826, -0.0579922535, 0.0328276642, 0.0123210363, 0.0010786374, -0.0003523229, -0.0353365242, -0.0358075239, 0.0415953435, -0.0261010919, 0.0522112548, -0.0216597933, 0.0139938407, 0.0054509491, 0.033000648, -0.0106388479, 0.0634885356, -0.0193375945, 0.0327438265, 0.0507790335, 0.0258885082, -0.0232617371, -0.0343087949, -0.0275576524, 0.008192285, -0.0243833214, -0.0085315369, 0.0023619251, -0.00107918, -0.0309327282, 0.0024339412, -0.0913486034, 0.0127207311, -0.0541707911, 0.0611283369, 0.0047776271, 0.0343202911, -0.0027044411, -0.0163449347, 0.0083961021, -0.0241317805, -0.0084760198, 0.0553997755, -0.012227335, -0.0186288413, -0.0262122285, -0.0392870121, -0.0389016718, -0.0063110292, 0.0633376166, -0.0298222285, -0.0475533381, -0.0185035858, 0.057644967, 0.0003738536, 0.011445879, -0.0431485437, -0.017754402, -0.0089369779, -0.0566059276, 0.0265339874, 0.0642273799, 0.0150431301, -0.024719933, 0.020558415, -0.0474447012, -0.0548514649, 0.0031906436, 0.0054635732, -0.0369744226, -0.0375251286, -0.000104322, -0.0113048479, 0.0812750533, -0.0261473265, -0.0260073617, -0.0321980268, -0.044581145, 0.0040409635, 0.0038096998, 0.0086628413, 0.0330337286, -0.0180333443, 0.0218429752, -0.0080655189, -0.0487409085, 0.0656883717, -0.0531639978, -0.0139992749, 0.0049280794, 0.0086034825, -0.061026752, 0.0691318512, -0.0056833285, 0.001797422, -0.0258225594, -0.0327895656, -0.0260254238, 0.0119370902, -0.0206351187, -0.0218766052, 0.0806977674, -0.0143461628, 0.0533768386, -0.0288370196, -0.0183393788, -0.0458539836, 0.0142170107, -0.0425415337, -0.022258047, 0.0200239141, -0.0138517711, 0.0053594131, 0.0244897269, -0.0020746314, 0.0604250431, -0.0146922171, 0.0291721784, -0.0166262332, 0.0027476246, 0.0467222072, 0.0161674004, 0.0236701258, -0.0353880264, 0.0161729716, 0.0972829834, 0.0588086843, 0.009518696, -0.0040399656, -0.0018957636, 0.0376764126, -0.021409288, 0.0078837331, 0.0368514955, 0.0226108022, -0.0833866894, -0.0061836233, 0.0939135849, -0.002003619, -0.0725012496, 0.0045150118, -0.0123365717, 0.0274204984, 0.0397224724, 0.0214497522, -0.1048622131, -0.0518355481, 0.0405842103, 0.0380936153, -0.000179795, -0.0306257829, -0.0011593914, -0.1026613712, 0.0266922396, 0.003384585, -0.0234519113, 0.0052602477, -0.0575767905, 0.0060988837, 0.0008086773, 0.017573677, 0.0410878062, -0.0219918434, -0.025306968, -0.0090048518, 0.0347467437, -0.0354785584, 0.0477068014, -0.0252047982, 0.0099973362, 0.0171456896, 0.0071878419, 0.0217936989, -0.006502043, 0.0554700457, -0.0579189472, 0.0022023283, -0.0433386825, 0.01547339, -0.0259693936, -0.0079734121, -0.0088628232, 0.0123570142, -0.0188574269, 0.012070626, 0.0101951854, 0.041408062, -0.0161510594, -0.0259456746, 0.002134365, -0.0317868404, -0.0175805613, 0.0692709759, 0.0567834005, 0.0152381482, -0.0593339875, -0.0279765949, -0.0279304013, -0.0426652469, -0.0227176826, 0.0038328851, 0.0058585117, -0.0386816189, -0.0201636739, 0.0232896786, 0.0168360043, 0.0331887156, -0.017589774, 0.031366881, 0.008452368, -0.0272244848, -0.079658702, 0.0385840274, -0.0706509277, 0.0180791393, -0.0786694437, 0.0138253979, 0.0297900867, -0.0125376927, 0.0033074394, 0.0380583555, -0.1313199997, -0.0849096626, -0.0078589683, 0.0260117259, 0.0162247568, 0.0680156946, -0.0088429507, -0.0386717133, 0.0086277863, 0.0398417152, -0.0694662705, 0.0567134134, 0.0079783844, -0.0111356499, -0.0032459507, 0.0517248437, -0.0531716421, 0.0002841528, 0.0154482489, 0.0514039621, 0.0034127505, -0.0156257134, -0.0256020576, 0.0264023468, 0.0230758712, 0.0087086512, 0.0050531467, -0.0054823817, 0.0800893679, 0.0062338011, -0.0146176759, -0.01605854, 0.0186249688, -0.0302546062, -0.0119334748, 0.0261013154, -0.022222776, 0.0270477235, 0.0011299057, -0.0530995131, 0.0247299224, -0.0031083606, -0.0073228898, 0.0472472869, -0.0289081782, -0.0217291731, 0.0097338287, 0.0115386806, 0.0517782718, -0.0479649231, -0.0063347705, 0.0104815233, 0.0036773179, -0.0240004547, -0.0035618467, -0.0793259218, -0.0208552722, 0.0090991156, -0.0092874095, 0.0704343915, -0.0448050462, 0.0703377575, -0.0011208453, -0.0115673421, -0.0491025187, 0.0309376623, 0.0131392218, -0.0293105189, -0.003577037, 0.0473349169, 0.0036432, 0.0492939614, 0.0659535453, 0.0324396193, 0.0438754037, 0.0067341472, -0.0227751508, -0.010472063, -0.045611877, -0.0248469766, 0.0239681993, -0.0102272974, -0.0048615881, -0.0524815358, -0.0760679767, 0.0150006907, -0.0313755088, -0.0240428913, -0.020299321, 0.0227550529, 0.0666544288, 0.0327764489, -0.0452091359, -0.0095559619, 0.0382574499, -0.011122697, -0.0272680186, 0.009937265, -6.844524508e-33, -0.0280164406, -0.0475331284, -0.0021205263, -0.0171807334, -0.0266796257, 0.0317087807, -0.0595844425, -0.0398482047, 0.0044602826, -0.029597301, -0.0132484455, 0.0190603044, 0.0199422855, 0.0108723054, -0.0000229473, -0.035163071, 0.0435030758, 0.0500208922, -0.0024944942, 0.0418836623, 0.0444032922, 0.039287556, 0.0593606345, -0.0044688643, -0.0238149818, -0.0228322055, 0.0706581399, -0.0041501499, -0.0465038978, 0.0470766537, -0.0109166019, 0.0228177104, 0.027934812, -0.0541699044, -0.0026159936, -0.0257223044, -0.0745258927, -0.0142879384, 0.0328242481, -0.0042606164, 0.0148322284, -0.0510188527, 0.0272583868, 0.0429166369, 0.0025501673, -0.0275706258, -0.0065618311, -0.0022323909, -0.0624807179, -0.0123573886, -0.028435031, 0.0540617667, 0.0094307009, 0.0218593851, 0.0449638329, 0.0214358438, 0.0088984733, 0.0610785559, -0.0364395492, 0.012666068, -0.0280168783, 0.1163721904, 0.0916323215, 0.0429175347, 0.010263782, 0.0195616316, 0.0214083325, 0.0114266602, -0.0312623717, 0.0139096724, 0.025574699, 0.047001455, -0.0096756602, 0.0024627531, 0.0261527374, 0.002834836, -0.0669197366, -0.0194176212, 0.0152648799, 0.0681184977, 0.0540274195, -0.0042561274, -0.0508903712, -0.0534371398, -0.0393027216, 0.0093074124, -0.057586547, 0.0242342874, 0.023412386, 0.0274410937, -0.0235470198, -0.0325610191, 0.0561692081, -0.0210703164, -0.0194818117, 0.0495285057, 0.0072099259, -0.0051003415, -0.0110265743, 0.0535410754, -0.0182697885, -0.0247304123, 0.0091636525, -0.0322607607, 0.0181996562, -0.0169047341, -0.0017045562, 0.0129974373, -0.0492183119, -0.0299210753, -0.0520692654, -0.0194292534, -0.0221165884, 0.0321103819, 0.0533297397, 0.0195767712, 0.0371185243, 0.0923273638, 0.0257100612, 0.0152387312, -0.0190220885, -0.043452885, 0.0240079686, 0.0290341713, -0.0246395674, 0.0130239613, -0.0420636274, 0.0362683013, -0.0028347862, -0.0468853787, -0.0287807155, 0.0610391684, 2.787e-7, 0.0178413428, 0.0227344353, 0.0466087647, 0.0330521762, 0.0069568893, 0.0176457819, 0.0103653455, 0.0068631633, 0.0049802116, -0.0133935343, -0.0139022246, 0.0446572639, 0.0524913706, 0.0195427127, -0.0943152755, 0.0404987857, -0.0671857744, -0.0019258852, -0.0633719265, -0.0322438292, 0.0120077999, 0.0915539935, -0.0334414132, -0.007616424, 0.0305185523, -0.0233855695, 0.011229801, 0.0066495431, -0.0217011105, 0.0069807414, 0.0318165869, 0.0046154698, -0.0000435042, -0.0150258495, -0.0000778059, 0.0147046456, -0.0473177992, 0.0552236773, 0.033006452, -0.0623576641, 0.0123613495, -0.0195515193, -0.0132823382, -0.0453704484, 0.1042225808, -0.0062015858, -0.014328436, -0.0523493737, 0.0278822202, -0.0226559043, -0.0189354941, 0.0251001567, 0.0269899573, 0.0427282862, 0.0239996742, -0.0435324535, -0.0153600024, -0.1016233265, -0.0557509735, -0.0212842412, -0.0651392043, -0.0404461734, -0.0615540557, -0.0122980932, -0.0078935353, -0.0194439404, -0.0070845089, 2.938171548e-34, 0.0410982557, -0.0091037182, -0.0052877599, 0.0389569253, 0.0386501439, -0.0328897908, -0.023273861, 0.0331935845, -0.0011764524, -0.1052289307, -0.0441553667 ]
http://arxiv.org/abs/2406.10773v1
http://arxiv.org/pdf/2406.10773v1
Quantifying Generative Media Bias with a Corpus of Real-world and Generated News Articles
2024-06-16T01:32:04
2024-06-16T01:32:04
Filip Trhlik, Pontus Stenetorp
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly being utilised across a range of tasks and domains, with a burgeoning interest in their application within the field of journalism. This trend raises concerns due to our limited understanding of LLM behaviour in this domain, especially with respect to political bias. Existing studies predominantly focus on LLMs undertaking political questionnaires, which offers only limited insights into their biases and operational nuances. To address this gap, our study establishes a new curated dataset that contains 2,100 human-written articles and utilises their descriptions to generate 56,700 synthetic articles using nine LLMs. This enables us to analyse shifts in properties between human-authored and machine-generated articles, with this study focusing on political bias, detecting it using both supervised models and LLMs. Our findings reveal significant disparities between base and instruction-tuned LLMs, with instruction-tuned models exhibiting consistent political bias. Furthermore, we are able to study how LLMs behave as classifiers, observing their display of political bias even in this role. Overall, for the first time within the journalistic domain, this study outlines a framework and provides a structured dataset for quantifiable experiments, serving as a foundation for further research into LLM political bias and its implications.
[ 0.0538566932, 0.0725393519, -0.0147659183, -0.0104589909, -0.0314061679, 0.0232549924, 0.0278391931, -0.0137570398, 0.0290242899, -0.0777199864, 0.0275628008, -0.004898937, -0.0148869604, 0.0146743134, -0.0060512135, -0.0174244475, 0.0265544634, 0.0478204489, 0.0617692843, -0.0378039703, 0.0292295367, 0.0658317655, 0.006782556, 0.0289026797, -0.0258277673, 0.0030698157, 0.0353390053, 0.0277035665, 0.0259300899, 0.0017621642, -0.0049186987, 0.0636761487, 0.0265128817, 0.0513302833, 0.0000015069, -0.025801301, 0.0059642773, -0.0077498741, 0.0261134729, -0.0090204254, 0.1040107459, -0.0496775098, -0.0218519829, 0.0233655386, -0.0303891674, -0.0252798293, 0.0354145169, -0.0029400534, 0.0486544557, 0.0905621275, -0.0084646409, -0.0039791819, 0.001902339, 0.0037371931, 0.0098430729, -0.0132555021, 0.0543106943, -0.0155892037, -0.0626623854, 0.016833473, -0.0187522173, -0.0086544314, 0.0362284184, 0.0098629333, -0.0365496352, 0.0120695941, -0.0321686827, -0.0215880163, 0.0086109554, 0.0109622618, 0.0142967626, -0.0473992117, 0.0273800492, -0.0175600108, 0.0212216806, 0.0349623524, -0.008326998, 0.0556429029, -0.0213716254, 0.0198757853, 0.0295349881, -0.0418784171, 0.0129803438, 0.0855000615, 0.021334175, 0.0428438187, 0.023894595, -0.0087396847, 0.016654389, 0.0336308256, 0.0326192081, -0.0536311381, 0.015899973, -0.0167459734, -0.008829915, 0.0165985115, -0.0552399494, 0.0099063432, 0.0235537197, -0.0748113021, 0.00108429, -0.0069423374, -0.0264171902, 0.053991165, 0.0345976837, -0.017114168, -0.0118610235, 0.0035169707, 0.0026615001, 0.0065829279, -0.0160601009, 0.0057873111, 0.021769261, -0.0086163599, -0.0147327194, -0.0021286025, -0.0215592608, -0.0032520983, -0.0030969791, 0.0072178734, -0.016569227, 0.0046697953, -0.0380244292, -0.0216161236, -0.0377487391, 0.0441122875, -0.0361579545, 0.0683068112, -0.0149523579, -0.0393695757, 0.004616702, 0.0576364733, -0.0237901825, -0.0185271334, -0.0010031196, 0.0144922705, 0.0009085646, 0.0135786422, -0.008771183, -0.0115445871, -0.019037487, -0.0686072335, 0.0203179903, -0.0527894124, 0.0181073099, 0.0077753668, 0.0061205453, -0.0439400412, -0.0023866538, 0.0321302526, -0.0236771815, 0.032502111, 0.0598160103, 0.0245340541, 0.0676360577, 0.0202899501, 0.0283220783, 0.1177246347, 0.028341243, 0.0627536923, 0.0500669479, -0.008589983, 0.0150348395, 0.0199191496, -0.0026419617, 0.0348210894, -0.0635816827, -0.0024164857, -0.0488340147, 0.0044046096, 0.0634666681, 0.0298907328, 0.0067236158, 0.0017420914, 0.1074697003, 0.005735917, -0.0153619684, 0.0120137418, 0.0525713265, 0.0145902866, 0.0080564516, 0.0506293401, -0.0328600481, -0.0014817594, -0.0044365129, -0.0385278463, 0.0092390021, 0.0680805668, -0.0293159969, -0.0099070556, 0.0007165756, 0.0179958884, 0.0080033718, -0.0004027709, 0.0155368829, -0.0082498519, -0.03206053, 0.0339627117, 0.0431951024, -0.0194767565, 0.0627429262, -0.0374344699, 0.0556702875, 0.0198070556, 0.0141126364, -0.0021404109, 0.0344811678, -0.0335348994, 0.0285295732, 0.066251643, 0.0635716394, -0.0250017103, -0.04453215, 0.0012451856, -0.0207788758, -0.032689184, 0.0606951937, 0.0385602601, 0.015654413, 0.0381713808, -0.0025428191, -0.0321892984, -0.0367729031, 0.0427094735, -0.0008638113, -0.0396054648, -0.0297717787, 0.0005538709, -0.0004422474, 0.0346130878, -0.029138213, -0.0332449004, 0.0106076589, 0.0083440207, 0.0032172129, -0.0255729295, -0.0353874303, 0.0085578524, -0.0292655956, -0.0477027409, -0.0333878845, 0.033910282, -0.0303657595, 0.0156339481, 0.0353805944, 0.0088472012, 0.0084319338, -0.0532646365, -0.0279815886, -0.0504484214, 0.004692947, -0.0372815393, 0.0660902783, -0.0012005902, -0.0112797683, 0.0171696842, -0.0339480788, -0.0164051745, 0.0027542769, -0.003565053, 0.0152187999, 0.0097495271, 0.0215302967, 0.0291820019, -0.0508585796, -0.0398359448, -0.0637970418, -0.0407243669, 0.0168422721, -0.0391897596, 0.0172191951, 0.0455129668, -0.0180006921, -0.0312989764, 0.0337304138, -0.0332993418, -0.0590832531, 0.0022884577, 0.0313818753, -0.017365722, -0.0256530214, 0.0206130147, -0.0189987123, 0.0071773874, -0.0388660058, 0.038436193, 0.0415576883, 0.0275631249, -0.0498380661, 0.0289210752, -0.0092268288, -0.0337840244, -0.0066995793, -0.0284103397, 0.0011521236, 0.0306832492, -0.0091158794, 0.1109408587, 0.0438718349, 0.0579051189, 0.0469165742, 0.0154874697, -0.0461904146, -0.0428325273, -0.042531956, 0.0060774097, -0.0578367114, -0.0557183996, 0.0229966864, 0.0382163003, 0.0244285706, 0.0265646987, -0.0139716407, 0.0917883813, -0.0314121731, -0.0405352041, 0.0538701564, -0.0169562548, -0.0027989459, 0.028874822, -0.0307729971, -0.047001332, 0.0397756174, 0.0022631369, 0.075171262, -0.0283016469, -0.0016496948, -0.0292780958, 0.0228029434, -0.0021411143, 0.0330820046, -0.0332500413, -0.0084991576, -0.0795799717, -0.0385804027, 0.0584034957, -0.0195811037, 0.0119238738, -0.038870059, -0.0061781341, 0.0101678064, -0.0142101282, -0.0399460681, -0.0733650997, -0.0001147536, 0.0120688798, 0.0471691191, -0.0160794351, -0.0427499525, 0.0156299118, 0.0222327951, -0.0287336726, -0.0292626228, 0.0145824654, 0.0200203378, 0.0472456366, 0.0363516957, -0.0316496529, 0.0379147641, 0.0151915094, -0.0053972299, 0.0042871083, -0.0355905294, 0.0840114281, -0.005730819, -0.0040877145, 0.0147699015, -0.0463349149, -0.0141327735, -0.0303668659, 0.0549030341, -0.034756273, 0.0121220332, 0.1057534441, 0.0096499315, -0.0837256834, -0.0185845494, 0.0374028534, -0.0173051413, 0.0375675187, 0.0036419253, -0.1049984545, 0.0352209173, 0.0151719013, 0.0072421413, -0.0512334518, -0.0178961288, -0.0312869884, -0.1343340129, 0.0181344729, -0.0077400962, -0.0402680859, -0.0164348185, -0.0802957639, 0.0084221596, -0.0335290805, -0.0094419215, -0.0026250938, 0.0098886434, 0.0055663921, 0.0056215902, -0.0312326495, -0.0964167267, -0.0070292642, -0.0209889021, 0.0462840609, 0.0416953601, 0.0490439609, -0.0182115976, 0.0014764412, 0.0386947431, 0.0005813075, -0.0387426801, -0.0315687805, 0.0474542938, -0.0652747229, -0.0145243825, -0.0339569114, 0.0659108758, 0.0523328781, 0.0102582555, -0.0215896163, 0.0255766381, 0.0275166202, -0.0445416905, -0.019680161, 0.0006424481, 0.051723972, 0.0769090205, 0.0416082479, -0.0536834039, 0.0000060944, -0.0388485566, 0.0041762218, -0.0312737562, -0.0537197553, 0.0215978287, -0.0348178335, -0.0149973286, -0.0245533381, -0.0528665781, -0.0142574338, -0.0000611069, 0.0197899062, -0.0138921617, 0.0152212149, -0.0189659856, -0.0196393244, 0.014007194, -0.0022964559, 0.0057689529, 0.0178315639, -0.0529834814, -0.002983937, -0.0244711917, -0.0302394219, 0.0027479681, -0.0643604696, -0.0473892838, 0.0581482723, -0.0031665911, 0.017720988, 0.0232209414, -0.0038390537, -0.0433099382, 0.0522891022, 0.0640427247, -0.0434236228, 0.0207049623, -0.0263302289, -0.0033029546, 0.0142893959, 0.0106235547, -0.0272590108, 0.0486369319, 0.0418374501, -0.0362825394, -0.0236133877, -0.0225843936, 0.0098621948, -0.0336800776, 0.0418953709, -0.0239160415, 0.0091171246, -0.0813798606, -0.0502274074, -0.0409829877, -0.0438932627, 0.0055765719, -0.0212069992, 0.0390323251, 0.0085650757, -0.0666843653, 0.0162915271, -0.0676630139, 0.0693641827, -0.0497852527, 0.0358830243, 0.0039073657, 0.0263308529, -0.0013478063, -0.0025245647, -0.0306688249, 0.0320218392, -0.0330130346, 0.0286208428, 0.0120267952, 0.0157877021, 0.0149703277, 0.0182029083, 0.0383148901, -0.0420502536, -0.0477404781, -0.0008482502, -0.024924878, 0.0089260396, 0.0412038937, -0.0605105609, 0.0218147635, 0.017278431, -0.0257297084, 0.0037376382, -0.005677769, 0.0225307364, -0.0266915523, 0.0415470526, 0.0145493653, -0.0495705679, 0.0274997484, 0.0657678694, 0.0398464985, 0.0502274297, 0.0310315937, -0.0487896055, -0.0105576282, -0.0375770107, 0.0455015786, -0.0280888565, -0.0086292112, -0.0328415334, -0.0665078014, -0.0478888005, -0.0052334936, -0.0114386817, 0.042382773, -0.0100253001, -0.0392792709, 0.0851763412, -0.0256892722, 0.0019091241, -0.0361834653, 0.0029040005, -0.0555359013, -0.0354708284, -0.0020957782, -5.714067754e-33, -0.0110531636, -0.0237514637, -0.0186411738, -0.0259921439, -0.0096446574, 0.0237412527, -0.0203934573, 0.0021962326, -0.0263560414, 0.0284739286, 0.0175939649, 0.0332722254, 0.0112324273, 0.0021472976, 0.0068474626, -0.0146156037, 0.0444738008, -0.0113091329, -0.0503289811, 0.0061788578, -0.0036699027, -0.0145044811, 0.0223579202, -0.0581320226, 0.039338544, -0.0273072179, -0.0331401117, -0.0415636264, 0.0093657207, 0.0393742286, 0.0001311901, 0.042440962, 0.0498378314, -0.0327478163, 0.0100689325, 0.083698757, -0.0183545705, -0.0059358329, 0.0397378951, 0.0131384721, 0.023965057, -0.0385384709, 0.0168812517, 0.0004032802, -0.0490998141, -0.0091752848, 0.0554695055, -0.0261857733, 0.0222566184, -0.0332243256, -0.0497458391, 0.0082844226, -0.018197082, 0.0124740852, -0.0493044145, 0.011311803, 0.0296204779, 0.058377333, -0.0496818088, 0.0297598187, -0.024453884, 0.0315814689, 0.0399614125, -0.0046666977, 0.0023764409, 0.0775625184, 0.0487637408, 0.0455960818, -0.0684296936, -0.0238060299, 0.0310624503, -0.0139054852, 0.0026171952, 0.0996970758, 0.0304007381, -0.0323174223, -0.0807535201, -0.0107260374, 0.0430618264, 0.0134123433, 0.0451348387, -0.0314989388, 0.004180667, -0.0203149188, -0.0636195019, -0.0869404674, -0.0219261199, -0.0251132287, 0.0080189342, 0.0333552361, -0.0151289776, 0.0280465502, 0.0250424054, -0.0311050937, 0.002088615, 0.028358411, -0.05694931, -0.0103577413, -0.0142862294, 0.023086261, -0.0822657123, 0.0030897486, 0.0258149654, 0.0200024005, 0.0161132421, -0.0109948525, 0.0233046543, 0.0111837815, -0.0565012284, 0.0050509982, -0.0136604859, 0.0029867883, 0.0075684013, 0.0486135408, 0.0426946245, 0.0148158763, 0.0069257026, -0.0149900829, 0.0182307772, -0.0008961385, 0.0122345192, -0.0427231602, -0.0348981768, 0.0379575975, -0.0402694568, -0.0206800364, -0.0248227641, 0.0272112321, 0.0167426504, -0.0505126044, -0.0125709167, -0.0446907468, 2.291e-7, 0.0186383072, 0.072620362, -0.0423813425, 0.0271426477, 0.0119226929, 0.0027902636, 0.0279176272, 0.0413276553, -0.0150529873, -0.0541111641, -0.0142763481, 0.0339425206, 0.0249561351, 0.031148579, -0.0638414025, 0.0441100597, -0.0599334352, 0.059659522, -0.0582601726, -0.0106220851, 0.0109224701, 0.0363325886, 0.0253392626, -0.0080316458, -0.0200511608, -0.0255418234, 0.0629207268, -0.0177415553, -0.0447950885, 0.0239629522, 0.0221273936, 0.0141529571, 0.0077305054, 0.0283378847, -0.0212087668, -0.0081382226, -0.0134420786, 0.0682533085, 0.0213763639, -0.0160262026, -0.0042547402, -0.0078969933, -0.0074093044, -0.0579411574, 0.0815117881, -0.0322839469, -0.0225751754, -0.1100524664, -0.0559824221, -0.0465133339, 0.0590195842, -0.0310985055, 0.0083868187, 0.0002027261, -0.0139789525, 0.0358611234, 0.0028038889, -0.0186524838, -0.0256684553, -0.0068336292, -0.056060113, -0.0729641095, 0.0131601105, 0.0102541074, 0.0158128571, -0.0471094735, 0.044930093, 1.68383872e-34, 0.0626390278, 0.0139592811, -0.0198479872, -0.0335844085, 0.0352246761, 0.0456799753, -0.0438411348, -0.0356786661, 0.0022000568, -0.0580053553, 0.0292342678 ]
http://arxiv.org/abs/2406.10764v1
http://arxiv.org/pdf/2406.10764v1
GNOME: Generating Negotiations through Open-Domain Mapping of Exchanges
2024-06-16T00:26:17
2024-06-16T00:26:17
Darshan Deshpande, Shambhavi Sinha, Anirudh Ravi Kumar, Debaditya Pal, Jonathan May
cs.CL
cs.CL
Language Models have previously shown strong negotiation capabilities in closed domains where the negotiation strategy prediction scope is constrained to a specific setup. In this paper, we first show that these models are not generalizable beyond their original training domain despite their wide-scale pretraining. Following this, we propose an automated framework called GNOME, which processes existing human-annotated, closed-domain datasets using Large Language Models and produces synthetic open-domain dialogues for negotiation. GNOME improves the generalizability of negotiation systems while reducing the expensive and subjective task of manual data curation. Through our experimental setup, we create a benchmark comparing encoder and decoder models trained on existing datasets against datasets created through GNOME. Our results show that models trained on our dataset not only perform better than previous state of the art models on domain specific strategy prediction, but also generalize better to previously unseen domains.
[ 0.0597321205, 0.0896864012, -0.0094705764, 0.0234062243, -0.0195967425, -0.0042366497, 0.0033491626, 0.0038151944, -0.0367002226, -0.0530243814, -0.0572113805, -0.0246377252, 0.0094022769, 0.0572111197, -0.0170467682, -0.0623794459, 0.0105720982, -0.0004814831, 0.0137854805, -0.0065759351, -0.0126785282, 0.0115829445, -0.0020074982, 0.0810381547, -0.0370084681, -0.0161737166, -0.053929586, 0.0073070102, 0.0166317001, -0.0213179681, -0.0067512905, 0.0640373528, 0.0270838458, 0.0234078001, 0.0000018511, -0.0549261719, -0.0099264532, -0.0467840917, -0.0314664505, -0.0152728269, 0.0490549244, -0.0719011277, -0.006200125, 0.034471903, -0.0837505311, -0.0409274772, 0.050672181, 0.0381715633, 0.0928137153, 0.0869187191, -0.0128986724, -0.020133039, 0.0008230194, -0.0528609343, -0.0395435318, -0.0760343596, 0.0046255672, -0.01704951, -0.02266673, 0.0008672275, -0.0148654357, 0.0012904216, 0.0292274468, -0.0454086475, -0.0595628768, 0.0315043591, -0.0522509292, -0.0232128613, -0.0295879841, 0.0827078894, 0.0250940304, 0.014796867, 0.0013143367, -0.0134772696, 0.0046792021, -0.0202672277, -0.0264113285, 0.0402186401, 0.001932735, 0.0210826602, -0.0062011667, 0.0339116603, 0.0004487212, -0.0126717053, 0.0085012605, 0.071955286, -0.0089843366, -0.0126598552, 0.0178549513, -0.003420207, -0.0021660442, -0.1168695763, -0.0052547054, 0.0247579366, -0.0638459697, 0.0234039295, -0.062497884, -0.0032190848, -0.0099721337, -0.0296135377, 0.0227715448, 0.0337751172, 0.0091537787, 0.03655155, 0.0507893302, 0.0185785219, -0.0146530084, 0.0276934858, -0.0070549487, -0.0167880468, -0.041829776, -0.017336987, -0.0633984134, -0.0100290133, -0.0662549511, -0.0216327738, -0.0102771111, 0.0175858028, -0.0303801, 0.0155347064, 0.0310880858, 0.0302684084, -0.0336080454, -0.0113982763, -0.0551692955, 0.0041211583, -0.0363695547, 0.0129590956, 0.0540133454, -0.0616634004, -0.0158763994, 0.0124517092, -0.0078680627, -0.007836191, -0.0101834312, 0.0730808601, -0.0437745526, 0.0372711718, 0.006782596, -0.0371656939, -0.0095723802, -0.0425958484, 0.0148415901, -0.0439550132, 0.0669671819, -0.0011426372, -0.029910095, -0.0795786828, -0.0000626559, 0.0051260847, -0.0253541712, 0.0696700439, 0.026311012, -0.0038698863, 0.0361073688, 0.0156632904, -0.0424689129, 0.078801021, 0.0453325845, 0.0271411091, 0.0340628251, 0.0069746138, 0.0293002259, 0.0561540462, 0.03161145, 0.0158163644, 0.0224180128, 0.0239559934, 0.0360767432, 0.0618638992, 0.0239558648, 0.0307735503, -0.0640319958, -0.081917569, 0.0520513803, 0.0581543744, -0.0160503089, 0.0486296043, 0.0041228221, 0.0515038744, 0.0066638282, -0.0299565569, -0.020151807, 0.0461896323, -0.0011793462, -0.0301910657, 0.0244250745, 0.0044113621, -0.0326253623, -0.0370027199, 0.0176611766, 0.0015857643, 0.048029054, -0.0111702597, 0.0252871495, 0.0477987602, -0.0732521787, 0.0478954017, 0.0068767313, -0.0063614966, -0.017020857, -0.0174836293, -0.0192069504, 0.0106348358, 0.061842002, 0.0048348424, -0.01260735, -0.0547195114, 0.0002862125, 0.0925362781, 0.0788239092, -0.0413674861, 0.0098263118, -0.068629913, -0.042896945, -0.0235786922, -0.0019612117, 0.0580036677, 0.0014549623, -0.0016423935, -0.007736316, -0.0209893566, 0.0328804255, 0.0176693071, 0.0074631167, -0.0041618068, 0.0213267244, 0.007602931, 0.0371727385, 0.0042476784, 0.0056630829, -0.0180368926, 0.0127788289, -0.009092507, -0.0074363886, 0.0189517569, -0.0381904468, -0.0322536379, 0.0154281547, -0.0111366678, -0.0388316996, 0.0062037702, -0.0459379181, -0.0322046466, 0.029218819, 0.0137865441, 0.0437311195, -0.0358267315, -0.0001872834, 0.0156046236, 0.0011932116, 0.0008104475, 0.0244343597, 0.017756246, -0.0582947955, 0.0362180881, -0.0205646269, 0.0332873352, -0.016970776, 0.0169097595, 0.0447986834, -0.0189231448, 0.0163261034, 0.0131400572, 0.0208073799, -0.0146154212, -0.0279946756, -0.0942529589, 0.0074676233, -0.0177865699, -0.0042069606, 0.0337138847, -0.007580501, 0.0168953724, -0.0023995878, -0.0174621642, 0.0032042682, 0.0119535737, -0.0094548976, 0.0285737459, 0.0149715086, -0.0048632016, -0.0168087762, 0.0239740349, 0.0186325256, 0.042456191, -0.0305344854, 0.0103239994, -0.0350851677, 0.0378312208, -0.0062288856, 0.0399576239, -0.0169991981, -0.063188903, 0.0428887494, 0.0386497043, -0.0180472881, 0.0423368365, 0.0281989258, 0.0712360442, 0.0119689554, -0.0199411977, -0.0693313181, 0.0274808742, -0.0188637152, -0.0185709279, -0.0974677429, -0.0023395657, 0.0029703593, 0.0549171679, 0.0137687922, 0.0418695509, -0.0652517155, 0.0353519544, 0.0615567006, -0.06971623, -0.0254766643, -0.0106819486, -0.033132147, 0.0764577836, -0.0278901607, -0.0276235659, 0.064804703, -0.0137847317, -0.0119040478, -0.0086996881, 0.0271212216, -0.0211405214, 0.0730298162, -0.0559900776, -0.0036618114, 0.0474743433, -0.0350644477, -0.0501932204, -0.0179027654, 0.0295029376, -0.0206259228, 0.0357687585, -0.054947909, -0.0188130978, 0.0112652406, -0.0307966582, -0.0754049718, -0.0007930793, -0.0204507671, 0.0319118612, 0.0263126772, -0.015806336, -0.061595846, 0.0128950644, -0.0507529378, 0.0286404509, 0.044689104, -0.0017833803, -0.0120427832, -0.02399569, 0.052261319, 0.051062189, -0.0308111422, -0.0195945334, 0.0261220224, 0.0436179005, -0.0415898785, 0.0074673574, -0.0085796565, 0.0088191666, 0.0181234274, 0.0063367388, 0.0291606486, -0.0092672147, -0.006439961, -0.0301586911, -0.0189869683, 0.0859754831, 0.0279141814, -0.016083926, 0.0111166127, -0.0272881798, 0.0536724329, 0.0186058749, 0.0287500974, -0.1183525547, -0.0224346574, -0.0036755539, -0.0073235231, -0.0048229648, -0.0357717313, -0.0142574161, -0.1322315633, 0.0275944304, -0.000526309, -0.0386357158, 0.0291143283, 0.0065989019, 0.0035101029, -0.03787544, -0.0073361262, -0.0315708108, 0.0454668961, -0.0293870345, -0.0070526972, 0.0255601257, -0.0304570161, 0.0080781477, -0.0210692585, 0.0403409824, 0.0656110421, 0.0566663258, 0.0347769149, -0.0004325285, 0.0502295308, 0.0654977262, -0.0266746338, -0.008130027, 0.0604324937, -0.0194446128, -0.0008692049, 0.0164770875, 0.0338001065, -0.0398159437, -0.0309581347, 0.02834405, 0.0349395946, -0.0452025793, 0.0120876636, 0.0205122437, 0.0082261357, 0.0597170293, 0.069390811, 0.0090525318, -0.0413651839, -0.0477844998, -0.0595457181, -0.0281380247, -0.0283565801, -0.0389832407, 0.0166345872, 0.0399138778, 0.0025205938, -0.0584290028, -0.0608842224, 0.0403125472, 0.0376014002, 0.0118740899, -0.0215143487, 0.0208590329, 0.0047328402, 0.0062446268, 0.0055793151, -0.0122736422, -0.0152360741, -0.0375147797, -0.0291480012, 0.0002699744, -0.0381912999, -0.0328819007, 0.0390110537, -0.0329961814, -0.0594919994, -0.0434964933, 0.0358924232, 0.0305588376, 0.0513007902, 0.0076073902, -0.0131219858, 0.0098945098, 0.0164315682, 0.0011441995, -0.0162992552, 0.0673647225, 0.0031119031, -0.0085778842, 0.0363863893, -0.0194104686, 0.0278936271, 0.0224987082, 0.035862606, 0.0061283908, -0.0785594657, 0.0366909467, -0.0693568364, 0.0144549664, 0.0139868651, -0.0561400168, -0.0386858173, 0.0324344374, -0.0422506295, -0.0030151249, -0.0561984368, -0.0440269336, 0.0179460384, -0.0117387464, 0.0048560002, 0.0120260287, -0.0312839821, 0.0440451354, -0.0064098868, 0.0117202727, 0.0202053357, 0.0136830006, 0.0287290215, 0.0020654374, 0.0183085892, 0.0287410095, 0.0100799967, 0.0318439975, 0.0066820192, 0.0693006217, 0.0410447419, -0.0133001832, 0.0318356156, 0.025337914, -0.0254162848, -0.0525232404, -0.0212483797, 0.0291573722, 0.0130927349, 0.0000259368, 0.0244035609, -0.0528565459, 0.006351931, 0.003993636, 0.0356220677, -0.044376146, -0.0557968915, 0.0579595789, 0.0063364231, -0.0226057451, 0.0224932134, 0.0410319939, -0.0485794395, 0.047330007, -0.0320433788, 0.0082029067, -0.0402855426, -0.0243708454, 0.011320373, -0.0058767446, -0.0007605455, -0.010383484, -0.031362161, -0.0288833976, -0.0222528521, -0.0076427837, -0.0224947762, 0.0362724252, 0.057368841, 0.0372250676, -0.0211546794, 0.0048750164, -0.0245249458, 0.01220778, -0.0277409889, -0.0715508312, -0.0445610024, -5.880419306e-33, -0.005766842, -0.0227593016, 0.0335977711, 0.0099192197, -0.0244147144, -0.0678472146, -0.026447013, -0.018394284, -0.024224773, 0.0247330852, -0.0215786286, 0.0130027691, 0.0261526033, 0.0026670569, 0.0078521259, -0.0222933739, 0.0531052761, -0.0285917725, -0.0510116406, 0.0062613161, 0.016164612, -0.0013997423, 0.033504352, -0.0851153135, -0.0149391694, -0.0076318276, -0.0320651755, 0.0143398046, 0.0157309044, 0.0706247687, -0.0142783001, -0.0038862159, 0.0009921523, -0.0765143186, -0.0000404793, 0.0315043367, -0.0609733313, 0.0195374321, 0.0114042377, -0.0103511261, -0.0114856912, -0.0295557026, -0.0168888588, 0.0123948576, 0.0035402996, -0.0200925358, -0.0070058606, -0.0178455822, -0.0032627445, 0.0032659825, -0.0675517395, 0.0100164777, -0.0197176747, -0.0496918932, 0.0289537217, 0.0573944338, 0.00097181, -0.0297252592, -0.0420613736, 0.0484158881, -0.015854381, -0.0092494162, 0.0692732409, -0.0063707507, 0.014783754, 0.0850869417, -0.0011257117, 0.0352907665, 0.0282116476, -0.0484260805, -0.0080234576, 0.0818582177, -0.0282471161, 0.0669566691, -0.012160507, -0.0359680355, -0.0286060702, 0.0139782354, 0.0030487019, 0.0159807354, -0.0052920412, 0.0413935408, 0.0474976562, -0.0266987402, -0.0357295834, -0.0197391678, -0.01076438, -0.0550689586, 0.0522478409, 0.0274531431, 0.0181035548, -0.003638935, 0.0495813079, -0.0581527837, 0.0026085221, 0.036967542, 0.0047550397, 0.0195368174, -0.0169289615, -0.0104911393, -0.0322584435, -0.0322925113, 0.0539932735, -0.0017061672, 0.0453985035, 0.0245547835, 0.009012402, -0.0033108445, -0.041621495, 0.0100724623, -0.0336432271, 0.0642197952, -0.0326076448, 0.0211735256, 0.0158720929, 0.0012857254, -0.0177222565, 0.0279436484, -0.0271080025, -0.0270552225, -0.0619058236, 0.0028717134, 0.0296007395, 0.0058253808, -0.0304773748, 0.0181624927, 0.0020462484, -0.0416365229, 0.043127317, -0.0148526663, -0.0179499071, -0.0125407297, 2.525e-7, 0.0094319275, 0.0357404537, 0.0386609063, 0.0461177118, 0.0285651404, 0.0602910966, -0.0133885881, 0.0582019463, 0.0286758784, -0.0762302428, 0.0341676734, -0.0034755501, 0.0885637179, 0.0478867665, -0.0931386054, 0.0129406052, -0.0440353304, -0.0723945796, -0.0410286896, -0.0412652269, 0.0555567779, 0.0705181211, 0.0063437656, 0.0217260029, -0.028651502, 0.0256686565, 0.0496764444, -0.0668011308, -0.0189529974, 0.046145089, -0.0338140465, -0.0390502661, -0.0048784041, 0.0253383312, -0.0335969403, 0.0343341045, -0.0040970542, 0.0439088009, 0.0012905088, -0.0780022964, -0.0098395692, -0.0124618867, -0.0027205392, -0.0385482386, 0.018827064, -0.094186455, -0.0368339643, -0.015034142, 0.0036716871, 0.0011696224, 0.0054064901, -0.0202024654, 0.0384361781, 0.0135849826, 0.0219785459, 0.0284100827, 0.0414064042, -0.0519680381, -0.0156963728, -0.0011333128, -0.0565969683, -0.0192794949, 0.0037159955, 0.0020823355, 0.0164011512, 0.0107147573, 0.0047319708, 1.727498118e-34, 0.043134395, 0.0031368434, 0.0063623404, 0.061047744, 0.0481259786, -0.0042911158, 0.0243036542, 0.0247765463, 0.0157090519, -0.0491873473, -0.027377557 ]
http://arxiv.org/abs/2406.10746v1
http://arxiv.org/pdf/2406.10746v1
SparseCL: Sparse Contrastive Learning for Contradiction Retrieval
2024-06-15T21:57:03
2024-06-15T21:57:03
Haike Xu, Zongyu Lin, Yizhou Sun, Kai-Wei Chang, Piotr Indyk
cs.CL
cs.CL, cs.IR
Contradiction retrieval refers to identifying and extracting documents that explicitly disagree with or refute the content of a query, which is important to many downstream applications like fact checking and data cleaning. To retrieve contradiction argument to the query from large document corpora, existing methods such as similarity search and crossencoder models exhibit significant limitations. The former struggles to capture the essence of contradiction due to its inherent nature of favoring similarity, while the latter suffers from computational inefficiency, especially when the size of corpora is large. To address these challenges, we introduce a novel approach: SparseCL that leverages specially trained sentence embeddings designed to preserve subtle, contradictory nuances between sentences. Our method utilizes a combined metric of cosine similarity and a sparsity function to efficiently identify and retrieve documents that contradict a given query. This approach dramatically enhances the speed of contradiction detection by reducing the need for exhaustive document comparisons to simple vector calculations. We validate our model using the Arguana dataset, a benchmark dataset specifically geared towards contradiction retrieval, as well as synthetic contradictions generated from the MSMARCO and HotpotQA datasets using GPT-4. Our experiments demonstrate the efficacy of our approach not only in contradiction retrieval with more than 30% accuracy improvements on MSMARCO and HotpotQA across different model architectures but also in applications such as cleaning corrupted corpora to restore high-quality QA retrieval. This paper outlines a promising direction for improving the accuracy and efficiency of contradiction retrieval in large-scale text corpora.
[ 0.0441811569, 0.0793314874, -0.0066635818, 0.0710024014, -0.0851159915, 0.0170481857, 0.0042952965, 0.0030525979, 0.0066370871, -0.0344155654, 0.0191071779, -0.0479943566, -0.0021277934, 0.0071231006, 0.0119818784, -0.0309101362, 0.0631515831, 0.0426741727, 0.0358303338, -0.0092002964, 0.0465158485, 0.0018125436, 0.0054268129, -0.0038394583, -0.0205997024, -0.0399373658, 0.00306929, 0.0164377838, 0.0435329191, -0.0161759518, 0.0306476727, 0.0343169123, 0.0430034734, 0.130877167, 0.0000018154, -0.0148243597, -0.0347509943, 0.0063989572, -0.031200625, 0.0221195836, 0.0432930961, -0.0233160798, 0.0013031975, 0.0163553115, -0.0149698984, -0.011875404, 0.0320280492, 0.0796396658, 0.0797211453, 0.0770453066, -0.0054148748, -0.0198272727, -0.005000235, -0.004670396, -0.0369797274, -0.0116820587, 0.0265309233, -0.0095907496, -0.0119318776, 0.069389388, 0.0104111889, 0.0357713476, 0.0437709987, 0.0008966438, -0.0712854713, -0.0023463946, -0.0634120926, -0.0008984032, 0.0149051351, 0.0478139408, 0.0026777957, -0.0524153486, -0.0053833895, 0.026393, -0.0161186811, -0.0020844573, -0.0114728427, -0.0095364703, 0.0096060634, 0.0270528067, 0.019840708, -0.0301388763, 0.0103977099, -0.0016581332, -0.0247543007, -0.0488040224, 0.0087604728, -0.0607243069, 0.0215167571, -0.0156075777, -0.0475321263, 0.0005196915, 0.0333602279, -0.0120698102, -0.0311895069, -0.0414280109, -0.0465918668, -0.0525634848, 0.0578742959, -0.0433980934, 0.0123632951, -0.0155489538, -0.0207864847, 0.0562481619, -0.0236138478, 0.0398799405, -0.0081967534, 0.0210053809, 0.0046786116, -0.0593871102, 0.0097205164, -0.0067614494, -0.0192981008, 0.0261756591, -0.0681950599, -0.000258746, 0.0073453481, -0.0311558116, -0.0586608984, 0.0260864012, -0.0415685512, 0.0209111348, -0.0050548767, -0.012541227, -0.0249518286, 0.0272747856, -0.0386133827, 0.0520525314, 0.0042880201, -0.0604811385, -0.0437874682, 0.0134862745, 0.011386185, -0.0215042066, 0.0404703356, 0.0040838504, -0.013399859, -0.0172939822, -0.0249904729, 0.0183703899, -0.0213628728, -0.0736872032, -0.0403243043, -0.0820107833, 0.0165334642, -0.029806776, -0.023800306, -0.0370878391, -0.0076228557, 0.0436808914, -0.0212921165, 0.0893399268, -0.0147839002, -0.0677788034, 0.0324541479, 0.0016199925, 0.0218434203, 0.0407600366, -0.0174010545, 0.0100130318, 0.0557385795, 0.0546193346, -0.0321416296, -0.0354552306, 0.0330583192, 0.0277063828, -0.0003943459, 0.0348870307, -0.0153865078, 0.0137333358, -0.0157413129, 0.0734613016, -0.0218526926, -0.0952173173, 0.0191821456, -0.0197862647, 0.007539453, -0.0277106073, -0.0005594452, 0.0300824847, -0.0141994264, 0.0085678045, -0.0229861755, 0.0102461968, -0.0326234922, 0.0013403143, 0.0589158423, 0.038380418, -0.0277133062, -0.036624223, -0.0045712809, 0.0079949861, -0.0293787643, -0.0172758475, 0.0091972044, -0.0165831354, -0.0629015118, 0.0183665603, 0.03820014, -0.0573991761, -0.0560534261, -0.0197656844, 0.0258938503, 0.0018886112, 0.0565738119, -0.0568356588, -0.0322765447, -0.0299026091, -0.0092523154, 0.0515550599, 0.036114525, -0.0177993048, 0.007336522, -0.0479672328, -0.012305228, -0.0732085258, 0.0280120168, -0.0003466731, 0.0080540869, 0.0548206791, 0.0454530045, -0.0295194481, -0.0203026682, 0.0274675209, 0.0083486782, -0.0221801642, 0.0085333847, 0.0495461337, 0.0019979025, 0.0315801054, -0.0374059565, -0.0078075533, 0.0507756844, -0.0648637265, -0.0280458871, -0.0482039973, 0.0086784465, -0.0723026916, 0.059173014, -0.0609325543, -0.0334989578, 0.0899170488, -0.0441024676, 0.0031879274, -0.0069560809, -0.037098866, -0.0206566174, -0.0416035764, -0.0250843409, -0.0136514287, 0.0153133711, -0.0118261995, 0.0636037514, -0.0296920296, 0.0261933729, 0.0138721578, -0.0018529611, 0.0682923868, -0.0435941666, -0.033745572, -0.0065276446, 0.0297939032, 0.0330709033, 0.0366595164, -0.0016901684, 0.0080906022, -0.0182849653, -0.0412502922, -0.0066399742, -0.0462432988, -0.0039722105, 0.0264404118, -0.0140347136, 0.0097858245, 0.0000508766, -0.0047524222, -0.003260348, 0.0283294488, 0.0342299975, 0.0478236079, 0.0011413111, 0.0068962662, -0.0468228534, -0.0197116211, 0.0001300453, 0.0421981774, -0.034845721, 0.0240828842, 0.0132918488, 0.0277129281, -0.0265278816, 0.0159937982, -0.0116590066, 0.0010092607, 0.0369299129, -0.0110165123, 0.0026810102, 0.0368051156, 0.0234512687, 0.0280973762, 0.0241678525, 0.000634055, -0.0372042023, 0.0143110463, -0.0159306228, 0.0479113013, -0.0106159551, -0.0252554342, 0.0329854414, 0.0185123645, 0.0206603687, -0.0085439589, -0.0214066859, 0.0590914562, 0.0334880762, 0.011742061, 0.0116960183, 0.0264782626, -0.0004444143, 0.0176136363, -0.0428711735, 0.0038134858, 0.0601142086, -0.0196344815, 0.0387224853, -0.0669931918, -0.0376663469, -0.0278772209, 0.0196870081, -0.0245293658, 0.0062723579, 0.0225758739, 0.0157271158, -0.0041372487, -0.0020847274, 0.0524844714, -0.0046127392, 0.0402344763, 0.0161768794, 0.0124846948, -0.0128558408, -0.0672111809, -0.0373401269, -0.0577481091, 0.0095871659, 0.0272673164, 0.0136413649, 0.0025838597, -0.0667300224, -0.025330415, -0.0084605375, 0.0260767899, 0.0076787509, -0.0067026578, -0.0017094995, 0.0304996241, 0.0265233032, 0.0669349208, 0.0665138662, -0.0220156536, -0.0254715104, 0.0385662615, 0.0149041228, -0.0388363451, 0.0070034266, -0.0410540327, -0.0119271632, 0.002796846, 0.0256035831, -0.0380173326, 0.0197937544, -0.0401985161, -0.0191764478, 0.0678956658, 0.0362414531, -0.0021038107, -0.0212810095, -0.0373863764, 0.035941422, 0.0282070246, 0.0089425184, -0.092000477, -0.0312207583, -0.0075750872, 0.0111515904, -0.0079734782, -0.0248761009, -0.0036177221, -0.0982121453, 0.022133138, -0.0029694778, -0.0043810317, -0.1110707447, -0.0524063371, 0.0221257061, -0.0022956957, 0.0281658806, 0.0202226322, 0.0159197208, 0.003338295, -0.0187537353, 0.0244726222, -0.0402917713, -0.0072214785, -0.0434378162, -0.0172419194, -0.0231871903, 0.0634848624, -0.0010540155, -0.0561563596, -0.0190902129, -0.0594217144, -0.0572880544, -0.033104144, 0.0469660088, -0.0140202567, -0.0070771868, -0.0187503826, 0.0122746015, -0.0226132385, -0.0117712542, 0.0033457391, 0.0685418323, 0.0022827673, 0.0031777229, -0.0246019047, 0.0112796118, 0.0105311871, 0.0500872098, 0.0118800933, 0.0450116545, -0.0737783238, -0.0293696728, -0.0085112508, -0.0403392874, 0.0207730345, -0.0327238925, 0.0428978577, 0.072736606, -0.0460261442, -0.054001037, -0.0331896022, 0.0504953079, -0.0467323847, -0.0104666268, -0.0285984203, -0.0169009492, -0.0465550013, -0.0306746066, -0.0073256344, 0.0275937188, 0.0037868542, 0.0213531461, -0.0340527073, 0.0187832713, -0.0168507379, 0.017339332, -0.0817457512, -0.04992643, -0.0189399235, -0.0094446372, -0.0029691518, 0.0553168245, -0.0129039576, 0.0180488098, 0.0106371073, 0.0923437402, -0.0351249352, 0.0340752825, 0.0472867303, -0.0586227439, 0.0115171839, 0.0521875136, 0.0184397809, -0.0163303949, -0.0069976859, 0.0588631593, -0.0443824455, -0.0291543454, 0.0142407343, -0.0027427154, 0.0336323604, 0.0436411873, 0.0017620913, -0.0685035288, 0.0169490278, -0.0132557536, -0.0351812728, 0.0105715292, -0.0013295353, -0.0187467113, -0.005929939, -0.0334082656, 0.0647737309, -0.022860162, 0.0737056732, -0.0461576059, 0.0302762818, 0.055467546, 0.0094309077, -0.0262870304, -0.0220568664, -0.0271929279, 0.0170287713, -0.0030401296, 0.0531832911, -0.0314380936, 0.0234562606, 0.047039859, -0.0064852973, -0.0033393896, 0.0017097257, -0.060803961, -0.0030159566, -0.0298864618, -0.0292761829, 0.0339543186, -0.0420168974, 0.0025268272, -0.0060411203, -0.0343462415, -0.0340843201, -0.0166578721, 0.0144396527, -0.0064845309, 0.0263262205, 0.0293920916, -0.0189590696, 0.0539389215, 0.0337292403, -0.0200060625, 0.0285471696, 0.0269963741, -0.0575813688, -0.0185135733, -0.0339218229, 0.0300173331, 0.040975336, 0.0030193988, -0.0079437066, -0.0529394187, -0.0361124054, 0.0671910569, 0.0156062273, -0.0008389513, 0.0490818322, 0.0087982845, 0.071280472, 0.0275502503, 0.0003102943, -0.0180947501, 0.0477344804, 0.0094475923, -0.0225864239, -0.0056634205, -6.092633138e-33, 0.0040597999, -0.0235887077, -0.0159502812, -0.0350682177, -0.0061185155, 0.0194418933, -0.0501935184, -0.0580093861, -0.0504429042, 0.07571733, 0.0445320606, 0.0373102427, -0.0015816147, 0.0234283898, -0.0349126197, 0.0009721088, 0.0859582126, 0.0218492206, 0.0101917591, -0.0140259312, 0.0722364858, 0.0250609368, 0.026102202, -0.1048562601, 0.0269469246, -0.0123735154, 0.0217190199, 0.0431342497, -0.0115998387, 0.0536138974, -0.0115347728, 0.0745011121, 0.0163849201, -0.0236264877, 0.0203066319, -0.0441446938, -0.0525029562, -0.0391842835, -0.0044282428, -0.0241334178, -0.0278589558, -0.0215679426, 0.0084510604, -0.0044340277, 0.0145387752, -0.0221302919, 0.010975345, -0.0011726932, 0.0209994838, -0.0184167959, -0.090162389, 0.0467670076, -0.0047708116, 0.0095881214, -0.0239156354, -0.0147020053, 0.0108613027, 0.0194525756, -0.0732040778, -0.0177863427, -0.0050056051, 0.0242747273, -0.0277996119, -0.0410558693, -0.0170198511, 0.0654821694, -0.0287278686, -0.0104234191, -0.0204771496, 0.029151218, 0.0061343615, 0.0246838015, 0.0545929037, 0.1014544144, 0.0607850887, -0.0111795403, -0.0843552575, -0.0146153076, -0.0525106601, 0.06415461, 0.036613401, 0.0218474027, -0.0226839501, 0.0061518345, -0.0056025418, -0.0206806827, -0.0392972119, 0.0094140526, 0.0146198487, 0.0328130126, -0.0293950103, -0.0048729512, 0.0140135316, -0.0303227343, -0.0108677167, 0.0336167403, -0.0251969304, -0.0515502617, 0.0561329983, 0.0249386374, -0.0729306638, 0.0243129749, 0.0275298264, 0.0111846561, -0.028573988, -0.0280037019, 0.0681069717, -0.0161892958, -0.0720315203, 0.0050137062, -0.0002961663, 0.022616135, -0.0352244489, -0.0125227766, 0.0131458845, 0.0262650996, 0.0017391788, 0.0588064007, 0.0043581431, 0.0204624999, -0.04097284, 0.0289886538, 0.0050804615, 0.0141783487, -0.0043634851, 0.0100310678, -0.047537528, 0.0461292155, -0.0496708266, -0.085170351, 0.0226005055, 0.0019392055, 2.454e-7, 0.0100729773, 0.0203519259, 0.0506997444, -0.0173735116, 0.004942711, 0.0465140343, 0.0040232935, 0.0233413298, -0.046894677, -0.0221864898, -0.0185884442, 0.0577508658, 0.0367013477, 0.0437892042, -0.0247841924, 0.0552203842, -0.0366296545, -0.1111273095, -0.0482858978, -0.0076633189, 0.0728557408, 0.1027722359, 0.0126342569, -0.0135590406, 0.0081440853, -0.0330986343, 0.063834466, 0.040515773, -0.0384089611, -0.0240565911, 0.0499800555, -0.0266399235, 0.0254310165, -0.0115949819, -0.0128747048, 0.0578962676, 0.0135686444, 0.0324918292, 0.0111275632, -0.0313721597, -0.0210577305, -0.0286849216, -0.0337892398, -0.0396056771, 0.0682306662, -0.0047995718, 0.0042949929, -0.0419341363, -0.0239711478, 0.0147516308, 0.0736333579, -0.0223125331, -0.0360355154, 0.0066898344, -0.0051055304, 0.0229902025, 0.0042936928, -0.059071701, 0.0503865071, 0.0340167992, -0.0348768644, 0.0120384153, 0.02081847, 0.0287624504, 0.0696830302, 0.0247768369, 0.0448547937, 2.38914084e-34, 0.0648749024, -0.0113642411, -0.0052439226, -0.0251385644, 0.0410364717, 0.012520344, -0.0482457131, -0.0418364964, 0.0224609617, -0.0436606109, 0.0099877957 ]
http://arxiv.org/abs/2406.10735v1
http://arxiv.org/pdf/2406.10735v1
How Should We Extract Discrete Audio Tokens from Self-Supervised Models?
2024-06-15T20:43:07
2024-06-15T20:43:07
Pooneh Mousavi, Jarod Duret, Salah Zaiem, Luca Della Libera, Artem Ploujnikov, Cem Subakan, Mirco Ravanelli
cs.SD
cs.SD, cs.AI, cs.CL, eess.AS
Discrete audio tokens have recently gained attention for their potential to bridge the gap between audio and language processing. Ideal audio tokens must preserve content, paralinguistic elements, speaker identity, and many other audio details. Current audio tokenization methods fall into two categories: Semantic tokens, acquired through quantization of Self-Supervised Learning (SSL) models, and Neural compression-based tokens (codecs). Although previous studies have benchmarked codec models to identify optimal configurations, the ideal setup for quantizing pretrained SSL models remains unclear. This paper explores the optimal configuration of semantic tokens across discriminative and generative tasks. We propose a scalable solution to train a universal vocoder across multiple SSL layers. Furthermore, an attention mechanism is employed to identify task-specific influential layers, enhancing the adaptability and performance of semantic tokens in diverse audio applications.
[ -0.0456722006, 0.0406802557, -0.0080062021, 0.0184948668, -0.0139897494, -0.0314286277, 0.076522328, -0.0213397238, -0.0761124864, -0.001801076, -0.0375737287, 0.0219277814, -0.0312749371, 0.0181312393, 0.0247661266, -0.0170235336, 0.0412934646, -0.0259890333, 0.0329827629, -0.0078347847, -0.0471219309, -0.0183295757, -0.0081004472, 0.0481124036, -0.084444277, -0.0210473631, -0.0033678478, 0.0352645218, -0.0008934905, -0.0100565795, -0.0400757492, 0.0491944142, 0.0574519187, -0.0105470279, 0.0000017888, -0.003937616, -0.0272673648, -0.0138351582, -0.052808702, -0.0173765142, -0.0091766026, 0.0113903293, -0.0523523837, -0.0052092774, -0.0035513171, -0.0605262257, 0.0383959115, 0.0088196844, 0.0625186563, 0.0344399996, -0.016624162, -0.0467105433, -0.0071710143, -0.0266270284, -0.0163243711, -0.0038017326, -0.0016116395, -0.013335621, -0.0313525312, -0.0147405183, -0.0501397587, 0.0619009361, 0.0308255944, -0.0041692932, 0.078371726, 0.0274771303, -0.0712125152, -0.0289692227, -0.0098816883, 0.0299771167, 0.0074857995, -0.0136230951, -0.0039235218, 0.0345814079, 0.0115230279, -0.0887707621, -0.0380737931, -0.0037577027, 0.0409676619, 0.0159130525, -0.0359242186, 0.062998578, 0.0249311533, -0.0423326008, -0.0213093795, 0.0314937346, -0.0124530382, -0.0163332466, 0.0079753902, -0.0290344041, -0.0242197532, -0.0097776465, 0.0328687727, -0.0129551655, 0.0209095608, -0.0295794476, -0.047896985, -0.0391414799, -0.0424618162, 0.0241100062, 0.0087796245, 0.0277389158, -0.0713723972, 0.034312997, -0.0478408709, 0.0454896241, 0.0102521582, 0.0607372373, -0.0191663858, -0.0033380627, -0.0146081699, -0.0090825632, -0.0828634277, 0.045265168, 0.0013622392, -0.0256618001, -0.0228177644, 0.0080476869, -0.0515006371, 0.018223105, 0.0119743617, 0.0178425517, -0.0271526314, -0.0149577521, 0.049951341, 0.0083607733, -0.022939112, 0.0442975163, 0.0208340082, -0.0476258732, -0.0472702272, 0.0065603661, 0.0479647517, -0.0221310128, 0.0205493588, 0.0515806042, 0.0109936185, -0.0187849458, 0.0122114448, -0.0234577525, -0.0392126404, -0.0187731646, -0.0232464951, -0.0635949224, 0.0360340215, -0.0245712679, 0.0226743557, -0.0255597457, -0.0407582223, -0.0401045606, 0.0433274955, 0.0516378805, 0.0046984772, 0.0301678516, 0.0222068988, -0.0006954154, 0.0236136559, 0.0323984139, 0.0412271209, 0.0419102795, 0.0146719534, -0.0522760935, -0.0022686995, 0.0192518197, 0.0559798405, -0.0241518263, -0.0734999552, 0.002311782, 0.0162364673, 0.0549861379, 0.0814859569, 0.0324481875, -0.0679192841, -0.076629445, 0.0403454304, 0.0966786444, 0.0222875327, 0.0381688513, 0.05817765, -0.0175692961, 0.0178840607, 0.0016015688, -0.0117068253, 0.0512448885, 0.0839529186, -0.0089810211, 0.0475045256, 0.0025884907, -0.0476961285, -0.0271651503, 0.0111479908, -0.0095568383, -0.0231432077, -0.0019122597, 0.0214058049, 0.0370349661, -0.0051435549, 0.0696980283, -0.0330304094, -0.0587928891, 0.0209846385, -0.0464869887, -0.0092722951, 0.0567572601, 0.0122338887, 0.0045381142, 0.0255842339, -0.0336665362, 0.004031071, -0.0020567481, -0.0236027651, -0.0182448328, 0.0686207935, -0.0122710951, -0.0525530018, -0.048057165, -0.0114951991, 0.0315562971, -0.0175679903, 0.003750534, 0.0011823353, -0.0786529928, 0.0560587011, -0.0004427109, 0.0537459329, -0.0812841281, 0.0531329997, 0.0204782113, 0.0768157244, 0.0433022045, -0.0115065901, 0.0130632175, 0.0283900183, -0.0531793423, -0.0008431363, 0.002340999, -0.0871505141, -0.0166691002, 0.0322490297, -0.0273460057, 0.0294019505, 0.0516950451, -0.0094833616, -0.0357134864, 0.0578465983, -0.0310749561, 0.0287678726, -0.0189468097, 0.0038695321, 0.022960335, 0.0341071822, 0.0342216864, -0.0032829256, 0.0277038086, -0.0461381041, -0.0327186882, 0.0413492322, 0.0019419845, -0.0768646225, -0.0121317999, -0.003100558, -0.0332849957, 0.01370617, -0.009392526, -0.0393316634, -0.0202812422, -0.0071360911, -0.1169384047, -0.0267709047, -0.0415788405, -0.0015204684, -0.0269929357, -0.009072396, -0.0103553683, -0.0422937088, -0.0116700493, -0.0636578351, -0.0366899483, -0.0023700569, -0.0519454964, -0.0076039857, -0.0169828497, 0.0002173679, -0.0366820693, 0.0410163552, 0.0131593924, -0.0580130219, -0.0243971795, 0.0084182201, -0.0440991968, -0.0029136338, 0.0059669004, 0.0268757269, 0.0000825634, -0.0055758874, 0.0241933353, 0.0414488986, 0.0720200762, 0.0192492753, 0.0430722944, 0.036253307, 0.0072613303, -0.0453276597, 0.0374536775, -0.0144822672, 0.0216098148, -0.0285434388, 0.0401442349, 0.0164540187, 0.029831646, 0.0369140916, 0.0097250501, -0.0500127077, -0.0078174993, -0.0177889653, -0.0688017383, -0.0179085843, -0.0206282027, -0.0095986454, 0.0459355339, 0.0103499312, -0.0328996964, 0.0285382159, -0.0431483351, -0.0270043816, -0.0136486478, -0.0402562693, -0.0176579859, 0.0403718166, -0.0164324585, 0.0287089683, -0.0094804829, -0.0355325751, -0.0380956642, 0.005072271, 0.0204526894, -0.025282165, -0.0091820285, 0.0196906906, 0.0103524551, 0.0040302426, -0.0595590733, -0.0114969341, -0.0057681981, 0.0100938268, 0.0520851836, -0.0013022298, 0.0233059712, 0.0009661979, 0.0446717776, 0.0048031714, 0.0487355515, -0.0347853228, 0.0100364275, -0.0043764929, 0.0406292453, 0.006666068, -0.0026958948, -0.0029514837, 0.0150761362, 0.0206118207, 0.0152612664, 0.0515582673, 0.0260999016, -0.0455267839, 0.0340236202, 0.0221979562, -0.0072345408, 0.006985662, 0.0230618473, 0.0452963449, -0.0400326885, -0.0114194686, 0.0889640078, -0.0103648901, -0.0301876627, 0.0053756321, 0.0048644156, -0.0477599613, -0.0022963639, -0.0231232252, -0.042544838, -0.0040673045, 0.0283332095, 0.0329444446, 0.050374873, 0.0327119604, 0.0068436386, -0.0440783687, 0.0541415624, 0.0374973267, -0.042701114, 0.0002379703, -0.0085428609, -0.0158562493, -0.0584914535, 0.0630191937, -0.0169559382, -0.0131045142, -0.0173119493, 0.0284135696, 0.0115166474, -0.0114323488, 0.0073969108, -0.0346179828, 0.0595217198, 0.0754742026, 0.0187017601, -0.0064833947, -0.0267548934, 0.0196609385, 0.0181068368, 0.0033561513, 0.0078970622, 0.0506842583, -0.0222056359, 0.0113555929, 0.0714864358, 0.0355634466, 0.0113477316, -0.0034251984, 0.0189573858, 0.0244006347, 0.0185027812, -0.0086660413, -0.0173643082, 0.0199413318, -0.0414676331, 0.057810273, 0.059304148, -0.000092634, -0.0298744123, 0.0184800476, 0.0670104399, -0.0573555864, -0.0045724101, -0.0013584821, -0.0009065347, -0.101170592, 0.0143279312, 0.0109611023, -0.0111442739, 0.0515214242, -0.005904953, 0.012961939, -0.0169684291, 0.01322011, -0.0780421272, 0.0442713313, -0.0270529687, -0.0027339689, -0.0600307472, -0.0354127139, 0.0314374454, -0.0429230034, 0.0090640616, -0.0092080403, -0.0837032199, -0.0251989085, 0.0241437797, 0.0031788591, 0.0079114959, 0.109366633, -0.0143217444, -0.0329852477, 0.0942959711, 0.0260368008, -0.0899377242, 0.037313398, 0.041712027, -0.0118090874, -0.0211400688, 0.031396959, -0.048491355, 0.0898482949, -0.0046943934, 0.0389127806, 0.0089528058, -0.0171303861, 0.0156934392, -0.0466528758, 0.0780208409, -0.0169558898, 0.0668187961, -0.0025788271, 0.0279061291, -0.0112188002, 0.0443981253, -0.0409711227, -0.0088159461, 0.0110461907, 0.0300380457, -0.0091207027, 0.0011882595, 0.0109924981, 0.0091929017, 0.0011397428, 0.0068034399, -0.0489613712, -0.0322134793, -0.0072090621, 0.0023114653, 0.0084953969, 0.0049603716, 0.0428462997, 0.0095730685, -0.0003009397, -0.018713681, 0.0054719811, 0.0498594306, 0.001084332, 0.0699133575, -0.0166335776, -0.017123051, -0.0208485257, -0.0015629187, 0.0101732165, -0.0042059561, 0.001596615, 0.0236808155, -0.0051553492, -0.0060177511, -0.0006212296, -0.0177919604, -0.0050054081, -0.0068212426, 0.0094603831, -0.0287793372, -0.049936682, 0.0116866343, 0.0019738215, -0.0242951605, -0.0355715975, 0.0122209126, -0.0184185393, -0.010074948, -0.0574354492, 0.0037935849, 0.0207011625, -0.0297772009, -0.0127852513, -0.0689150542, 0.0078070727, -0.0143892104, 0.0021559594, 0.0378521644, 0.0430611335, 0.0395667553, -0.0130879842, -0.0253341459, 0.0569366291, -0.0533304848, 0.0243775845, -0.0266378839, 0.0264292546, -5.870892659e-33, -0.038423758, 0.0085922899, 0.0218502264, -0.0111799873, -0.0100758597, 0.0209650137, -0.020170169, -0.0174119882, 0.0371357426, -0.0296711698, -0.0083270166, 0.021172002, 0.0417363755, 0.0269679409, 0.0004256272, -0.0078149391, 0.1315940917, -0.0275917891, -0.0174802821, 0.0095535358, 0.0327107683, 0.0127405208, 0.0224227179, -0.0261015669, -0.0631758571, 0.0368852168, 0.0145064518, -0.0260091089, 0.0375769548, 0.0554451272, 0.0071890834, -0.0157753713, -0.0277382936, -0.0368667208, -0.0311053414, 0.0152680771, -0.138207674, -0.0355982482, -0.0269540548, 0.0441375151, -0.03067003, -0.06813737, 0.0652465075, 0.022136556, -0.0610002652, -0.0322273411, 0.0256552659, 0.0241394304, 0.0000783769, -0.1081212536, -0.012988626, 0.0084658312, -0.0154672377, -0.0005624644, 0.1193080619, 0.012338887, -0.0136164576, -0.0237276964, -0.0466020182, 0.0334079191, -0.0484051108, 0.0266453698, 0.0700566694, 0.0333758853, 0.0120837372, 0.0103609655, 0.0626713187, -0.0836772621, -0.0049775979, 0.0274365973, 0.0274696164, 0.0414806306, 0.0180994105, -0.0308867097, 0.050074473, -0.0336913019, -0.0191253647, -0.0181406494, -0.040578939, -0.0193002932, 0.0069625028, 0.061905127, 0.0096738869, 0.0069324798, -0.0519789346, -0.0440222062, -0.0132180126, -0.0511362888, 0.0469233729, 0.0032374051, -0.0137916571, -0.0219197273, 0.053905379, -0.0229979418, 0.010078066, -0.0151781216, -0.001023693, 0.0109764952, 0.0211778861, 0.0075272531, -0.0159457792, -0.0021206958, 0.1043417975, -0.0020631785, 0.0304056574, -0.026360441, 0.0222496986, 0.0605638474, -0.0342257172, -0.0357977264, 0.0001332277, -0.0012844993, -0.0037065628, 0.0124497879, 0.0357610583, 0.0694645345, -0.0216871407, 0.0021848974, -0.0165860429, 0.0209302921, -0.0158796627, 0.0240085218, -0.0131582897, 0.0169511512, -0.0162856095, 0.0134940092, -0.026237037, -0.0155134294, 0.0428287014, -0.0349101536, -0.0240477771, 0.0301012155, 2.621e-7, -0.0375421196, -0.0154371094, 0.0383005068, -0.0882819593, 0.0417735204, 0.0069861654, -0.015153409, 0.0342804752, 0.002429706, -0.0215980448, 0.0238478314, 0.0427806191, 0.0404486433, 0.0428136662, -0.1028673425, 0.0421918966, -0.0355028845, 0.034696456, -0.0438403636, -0.0030273164, -0.0011130399, 0.0959066376, 0.0224129427, -0.0213686693, 0.0261550192, 0.0090306178, 0.013512007, 0.0002852624, 0.033115793, -0.0077152303, -0.0096513322, -0.0141981663, -0.005717379, 0.0105930185, -0.0188487656, 0.0299869888, 0.0229045171, 0.052449815, -0.0074301339, -0.0667624995, -0.0379431099, 0.0529441908, -0.0234314036, 0.0037226568, 0.0568228923, -0.04427756, -0.0402653813, -0.0423124507, -0.0574916899, 0.0299869198, 0.0000501306, 0.0183968786, 0.0232359134, 0.0215521511, 0.0131157776, 0.0223057084, -0.0136375558, -0.0643146336, 0.0203661602, -0.0045951772, -0.0478757955, -0.0222015288, -0.0408834442, 0.0285168123, 0.034766756, -0.0058734128, -0.0217566863, 1.676455949e-34, -0.0275356416, -0.0262277965, 0.0220501963, -0.0317979343, -0.0390885919, -0.0409389548, -0.0277227163, 0.0205524918, -0.0224928744, 0.0038897838, -0.0349277705 ]
http://arxiv.org/abs/2406.10710v1
http://arxiv.org/pdf/2406.10710v1
SyntheT2C: Generating Synthetic Data for Fine-Tuning Large Language Models on the Text2Cypher Task
2024-06-15T18:43:49
2024-06-15T18:43:49
Ziije Zhong, Linqing Zhong, Zhaoze Sun, Qingyun Jin, Zengchang Qin, Xiaofan Zhang
cs.AI
cs.AI, cs.CL
Integrating Large Language Models (LLMs) with existing Knowledge Graph (KG) databases presents a promising avenue for enhancing LLMs' efficacy and mitigating their "hallucinations". Given that most KGs reside in graph databases accessible solely through specialized query languages (e.g., Cypher), there exists a critical need to bridge the divide between LLMs and KG databases by automating the translation of natural language into Cypher queries (commonly termed the "Text2Cypher" task). Prior efforts tried to bolster LLMs' proficiency in Cypher generation through Supervised Fine-Tuning. However, these explorations are hindered by the lack of annotated datasets of Query-Cypher pairs, resulting from the labor-intensive and domain-specific nature of annotating such datasets. In this study, we propose SyntheT2C, a methodology for constructing a synthetic Query-Cypher pair dataset, comprising two distinct pipelines: (1) LLM-based prompting and (2) template-filling. SyntheT2C facilitates the generation of extensive Query-Cypher pairs with values sampled from an underlying Neo4j graph database. Subsequently, SyntheT2C is applied to two medical databases, culminating in the creation of a synthetic dataset, MedT2C. Comprehensive experiments demonstrate that the MedT2C dataset effectively enhances the performance of backbone LLMs on the Text2Cypher task. Both the SyntheT2C codebase and the MedT2C dataset will be released soon.
[ 0.0610686094, 0.047576461, -0.0102236615, 0.0067679062, -0.0390399396, 0.0238750093, -0.0305396542, 0.0202172417, 0.0484686047, -0.0314466394, -0.0070593869, 0.0136477519, -0.0273155216, 0.0427305475, 0.0272286907, -0.0165206082, 0.0279211011, 0.0076692118, -0.0165424757, 0.0023213206, -0.0379643887, 0.0627833381, 0.0152819781, 0.0081807571, 0.0535280816, 0.0096408501, 0.0150180692, 0.0466854647, -0.0281851832, -0.0216667019, 0.0066206539, 0.056564752, 0.0033199794, 0.0406119265, 0.0000018532, -0.0477614254, -0.0095386142, 0.0380406193, -0.0316553563, -0.0502745286, 0.1085327938, -0.0361969955, 0.0474288054, 0.0065420335, -0.0346270762, -0.0300583951, 0.0067108795, 0.0024356379, 0.0560199954, 0.0522507504, -0.0230544824, -0.0018545885, 0.0040009962, -0.0066248146, -0.0020608623, -0.0106601603, 0.04152482, -0.0052012657, 0.0425971039, 0.0425669923, 0.0358765982, 0.0322000906, -0.0275277328, -0.0322572216, 0.0513863228, 0.0174386948, -0.1016107053, -0.0247975271, 0.0047670612, 0.0570725165, -0.0014219641, -0.0285852868, 0.039137166, 0.019303916, -0.0071205045, 0.0309928898, -0.041785121, -0.0445861816, -0.0323321074, 0.0112862578, 0.0026900796, -0.0660361946, 0.0367789231, -0.0048703612, -0.0411158279, 0.0223273803, 0.0316452011, 0.0013898696, 0.0189246405, -0.0298870634, -0.0101239029, -0.0302868504, 0.0119642429, 0.0466882065, -0.0762827694, 0.0095660156, -0.0304296501, -0.0400791466, 0.0614311062, -0.0650138855, 0.005401291, -0.0146628655, -0.002183004, 0.0603529513, -0.026991168, -0.0156812705, 0.0068812133, 0.0419215299, -0.0455277041, -0.0517262891, -0.0422283858, 0.006030756, -0.035914436, -0.0060266354, -0.0364527255, -0.0123889446, -0.0427026935, 0.014606636, 0.0284443311, 0.0345601067, 0.0560399704, 0.0247376133, -0.0289177895, 0.0001160881, -0.0196597259, -0.0167509802, 0.0488721132, 0.0051270975, -0.0050581736, -0.0540109761, 0.018230414, 0.0063687367, 0.0354114249, -0.0400706939, 0.0360807255, 0.0987737179, 0.0287983883, -0.0229761172, -0.0187090077, -0.025699554, 0.0263237301, -0.0331870802, 0.0052234605, -0.078929238, 0.0659229457, 0.0512891561, -0.0123187695, -0.0312497336, 0.0139096742, 0.0109036369, -0.0802821293, 0.060313724, -0.0796797872, 0.0278962683, 0.0135210939, -0.0198427718, 0.0030286885, 0.0642890707, 0.0224803165, -0.0258345697, 0.0369440354, -0.014883602, -0.0192191564, 0.0193140544, 0.0185020603, 0.0031012003, -0.0348019265, 0.054876443, 0.0450361408, 0.0625491515, -0.0117886616, 0.0395398252, 0.0073563377, -0.0066605313, 0.0136104086, 0.033813864, 0.0706040859, -0.0078245634, 0.050632257, -0.0226425081, 0.0070344144, -0.0472814105, -0.0373032428, -0.0075355368, -0.0245848577, -0.0186735019, -0.0125608956, 0.028315071, -0.0113274017, -0.0035450277, -0.0189733226, 0.0127433157, -0.0238174777, 0.0047968361, 0.0629918426, 0.0011724561, -0.018906448, 0.0500071198, 0.0275042728, -0.0261672419, 0.0313563719, -0.0117269251, -0.0396078974, 0.1010800526, 0.0724020749, -0.0381803773, -0.0529702567, 0.0104201557, 0.0169301722, 0.0244261306, 0.006974136, -0.0323859379, 0.0127555374, -0.0446246415, -0.0283903442, -0.0193248391, 0.0001113847, -0.0275997706, 0.0190121513, 0.0115382485, -0.0029488427, -0.0931185633, -0.0572078899, 0.013386352, -0.0635638013, -0.0012803195, -0.0154073657, -0.035541147, -0.0109747881, 0.0250793118, 0.0180200934, 0.0345947966, 0.0641164333, -0.0314918496, -0.0122512346, -0.0168848708, 0.0322969556, -0.0186954029, 0.0215308294, -0.0241796635, 0.0097924201, -0.0482477918, -0.061827343, -0.0368425772, -0.0150381392, -0.0002315631, 0.0545474999, -0.0104761757, 0.0021787931, -0.0136689097, -0.0360057652, -0.0362394787, 0.0164251998, -0.0088212127, 0.0274082739, 0.0233668592, -0.03634407, -0.00247482, -0.0006717896, 0.0122432578, 0.0281779505, 0.0246545356, 0.0203189943, -0.0093374047, 0.007052782, -0.0512607135, -0.026129026, -0.0759147406, 0.015210025, -0.0136342049, 0.0135560986, 0.0232143495, 0.02258146, -0.0123576736, 0.0218663253, -0.0576110035, 0.0091643371, 0.023917539, 0.0208853856, 0.026144024, -0.0070971651, 0.0044717491, -0.0239128023, -0.0316613242, -0.0220334604, 0.0479167439, 0.0184543189, -0.0114619229, 0.0068210238, 0.0355779864, -0.0273704436, -0.0176707953, -0.0292646661, 0.0276532248, 0.0005095751, -0.050935898, 0.0146717774, 0.0343165435, 0.0033019248, -0.0167478472, 0.0378387757, 0.0084899338, -0.0262401029, -0.0199547186, -0.054897476, -0.0460168906, -0.0320207551, -0.0519480184, 0.0092471, 0.011036573, -0.0228431001, -0.0092680464, -0.0419387557, -0.0002253087, -0.0010184129, 0.0280053746, -0.0484482422, 0.0288637877, 0.0149380676, 0.0616170242, -0.0180173833, -0.0360455476, 0.0665132105, -0.0173391774, 0.0200941022, -0.0465304814, -0.0357269049, -0.0639953092, 0.0322635956, 0.0054943305, 0.00761437, 0.0123999659, -0.0136028454, -0.0308130141, -0.0303228572, 0.011101489, -0.0719111115, 0.0157045387, 0.0205027964, 0.021592265, 0.0131821763, -0.0016119457, -0.0403758511, 0.0217025038, -0.036227107, 0.0328049883, 0.0594648756, -0.0227065161, -0.0065489574, 0.0170765091, -0.0372371636, 0.0482047237, -0.000421587, -0.0225951988, -0.0104154125, 0.001890216, 0.0545391887, -0.0109401476, -0.0028699525, -0.001349788, 0.0195933543, 0.0361923352, -0.0076820832, -0.0169585682, -0.0018976439, 0.022545388, 0.0211252794, -0.0236109365, -0.0077988938, -0.014040445, -0.0054074666, -0.0259814281, -0.0203955472, 0.0841247439, 0.0106320549, -0.0849113911, 0.0032763623, -0.0271742716, -0.0283292159, 0.0545668639, 0.0489153005, -0.0867411643, -0.0077444124, 0.0075181378, 0.0745729059, 0.0254264046, -0.0655084327, -0.0002905392, -0.0963598117, 0.0574846119, 0.0015089607, -0.048699338, -0.0000223762, -0.066380091, -0.0067039542, -0.0279384665, 0.0040302291, 0.0035696952, -0.024520753, -0.0219174065, 0.0004042497, 0.0112187238, -0.0906862617, -0.0099328775, -0.0266677327, 0.04789358, -0.0087985713, 0.0397939421, 0.0167500973, 0.0057779718, 0.0191924386, 0.0259093046, 0.0082466761, -0.0359793976, 0.0528769158, -0.000806845, -0.0156783015, -0.0512195528, 0.0357023515, -0.0489546135, 0.0018318754, -0.0161353741, 0.1019932032, -0.0240324121, -0.0098513039, -0.0663756803, -0.0240130946, 0.0312282555, 0.0481050499, 0.0379866809, 0.0191511847, -0.0063641979, 0.0127469944, 0.0138191944, -0.0389710404, -0.0086514698, 0.0165137779, -0.0204729289, 0.0632450208, -0.0253377315, -0.0010190086, 0.0792358294, -0.0052106534, 0.0277685691, 0.0520800613, -0.0093475943, -0.0394136645, -0.0936887264, 0.0397905558, -0.018411573, 0.0251000412, -0.0409516953, -0.0566282049, 0.0399645641, -0.0060488614, -0.0107403854, 0.0156628974, -0.0232635066, -0.062042173, -0.0118705435, 0.0094946567, 0.0212848056, 0.0445725359, -0.0111218439, -0.0129896877, 0.0480032116, 0.1127101257, -0.0802348852, -0.0618166178, -0.0145315528, -0.022893589, -0.0297993794, 0.0295353718, -0.0694509968, -0.0299293101, -0.001488431, 0.0401553698, 0.0122469636, -0.0596982725, 0.024102306, 0.0568540581, 0.0189199597, -0.0124833314, 0.0301340818, -0.0399282798, 0.024412591, -0.0458054654, -0.0176405963, -0.0446039364, 0.0191621277, 0.0146559803, -0.0064288001, -0.002370904, -0.0096400063, -0.0430001467, 0.0347332358, -0.0285216235, 0.0201765746, -0.0185299236, 0.0186417326, 0.1033304483, -0.0325614922, 0.0066784583, 0.0378564596, -0.0117286015, 0.0295682717, -0.0536025614, -0.0038428952, 0.0286052544, 0.0292520467, -0.0461686067, 0.0248953626, -0.0279849116, -0.069982402, -0.0236591101, -0.0017038276, 0.0560959503, -0.0088677229, 0.0585913472, -0.0430958979, -0.037806619, -0.0338399597, 0.0305341836, 0.0103466986, 0.0146233197, 0.0180609208, 0.0214078724, -0.0263007265, -0.0072674663, 0.0823300853, 0.0146785006, 0.0592550002, -0.0137558924, -0.0833749101, -0.0220617298, -0.0329288691, 0.0297909323, 0.0200832002, -0.0462488569, -0.0140839582, -0.0657580122, -0.068889603, 0.0196564365, -0.0119349249, -0.0525292158, -0.0016644092, 0.0142781176, 0.0453649797, 0.0570241846, -0.0142363831, -0.0263696183, 0.0499363877, -0.0425257571, -0.0543954372, 0.0412513725, -6.205874019e-33, 0.0077862199, -0.0412024595, 0.0248684958, 0.0177813321, -0.0291796271, -0.0077176508, -0.0458403118, -0.0499816574, 0.0184852574, 0.0174030941, -0.0228563417, 0.0011230685, 0.01551113, -0.0004176942, 0.021112809, -0.0017412598, 0.0047449954, 0.0253167637, -0.0016499567, 0.0456969254, 0.049466949, 0.0643233955, 0.0324795097, -0.0392697453, 0.0204288196, -0.0138275735, 0.0497462638, 0.0490016118, -0.0154071776, 0.0686185881, -0.0224832967, 0.0750690177, 0.0135025745, -0.0054819351, 0.0079817781, -0.0374062024, -0.0683882013, -0.0138856461, 0.0310583934, -0.0041421275, -0.036822591, -0.0285679717, 0.0494231284, -0.0092725335, -0.0021873759, -0.0153514789, 0.0290463064, -0.0287811607, -0.0619736873, -0.048277922, -0.0258379597, 0.0296329446, 0.014335352, 0.0028734908, -0.0090311635, -0.0040056692, -0.0116193937, 0.0595530681, -0.0204337463, 0.0242519099, 0.0241358783, 0.0249570739, 0.014654493, 0.0292949118, 0.030660918, 0.0405865237, 0.0151537675, 0.0119296387, 0.0175392907, 0.0560675412, 0.0058145351, 0.0645287186, 0.0313325375, 0.0428683907, -0.0236216411, -0.0195918698, -0.0647520497, 0.0301414933, -0.0869386047, 0.0181607269, 0.0064316029, -0.022946313, 0.0041568587, -0.0539213531, -0.0500114858, -0.0380337201, -0.0523285083, -0.011934896, -0.0089764344, -0.0146270823, -0.0279578194, 0.0220854711, 0.0062362645, -0.0207030978, -0.0364348777, 0.0536418594, -0.0015753007, -0.010178864, -0.0241328105, 0.0408635959, -0.027115684, -0.0332749076, 0.0277824216, -0.0211208183, 0.0319013074, 0.0425999835, 0.023554381, 0.0182014573, -0.0379533321, -0.0071662399, -0.0225988664, -0.0220593382, -0.0380358845, -0.0069853282, 0.0196255315, 0.0356577821, 0.0293633565, 0.045729056, 0.0456675924, 0.0205563623, -0.0338196531, -0.0123257171, 0.0249516498, 0.0171930548, 0.0002893157, 0.0130285509, -0.0581761673, -0.0018544171, 0.0488458909, -0.007868235, -0.019774979, 0.0061494699, 2.78e-7, 0.0892422721, 0.0589074567, -0.0023267251, 0.0267153978, 0.0124710891, -0.0084133279, -0.0102341659, 0.0142057287, 0.0240615252, -0.0245657209, 0.0289595742, 0.0205225162, 0.0465543494, 0.0513727181, -0.0798865482, 0.0705068558, -0.0461965501, -0.0440519527, -0.0842084959, 0.0043072887, 0.049277775, 0.0437534526, 0.0026931383, -0.049100019, -0.001522918, -0.027682934, 0.0195133574, -0.0518132336, -0.0176748615, 0.0320453309, 0.0350085013, 0.0428204015, 0.0013653883, 0.0437502265, -0.0178394858, -0.0027706933, -0.0192817841, 0.0604296066, -0.0191455148, 0.0231332984, 0.0480897687, -0.0663266182, 0.0163361542, -0.0727819279, 0.0699758679, -0.0665776953, -0.0190272667, -0.027612377, -0.0101645449, -0.0291712191, 0.0243449062, -0.0475198664, -0.0092112329, 0.0285603777, 0.0130632026, 0.025307782, -0.0277662333, -0.0678058639, 0.0197158996, 0.0635571107, -0.0073664291, -0.044822488, -0.0045797857, 0.0086033298, 0.0060557933, -0.0130372467, 0.0649781674, 2.769795987e-34, 0.0295157582, 0.0304863192, 0.0066632172, -0.0026433435, 0.0294780321, -0.0401730575, 0.0182987284, 0.0353164189, -0.0130182812, -0.1136969849, -0.0081584863 ]
http://arxiv.org/abs/2406.10701v1
http://arxiv.org/pdf/2406.10701v1
MIND: Multimodal Shopping Intention Distillation from Large Vision-language Models for E-commerce Purchase Understanding
2024-06-15T17:56:09
2024-06-15T17:56:09
Baixuan Xu, Weiqi Wang, Haochen Shi, Wenxuan Ding, Huihao Jing, Tianqing Fang, Jiaxin Bai, Long Chen, Yangqiu Song
cs.CL
cs.CL
Improving user experience and providing personalized search results in E-commerce platforms heavily rely on understanding purchase intention. However, existing methods for acquiring large-scale intentions bank on distilling large language models with human annotation for verification. Such an approach tends to generate product-centric intentions, overlook valuable visual information from product images, and incurs high costs for scalability. To address these issues, we introduce MIND, a multimodal framework that allows Large Vision-Language Models (LVLMs) to infer purchase intentions from multimodal product metadata and prioritize human-centric ones. Using Amazon Review data, we apply MIND and create a multimodal intention knowledge base, which contains 1,264,441 million intentions derived from 126,142 co-buy shopping records across 107,215 products. Extensive human evaluations demonstrate the high plausibility and typicality of our obtained intentions and validate the effectiveness of our distillation framework and filtering mechanism. Additional experiments reveal that our obtained intentions significantly enhance large language models in two intention comprehension tasks.
[ 0.0555710271, 0.0643980652, -0.008954959, 0.0396631993, 0.0049234694, 0.0042005777, 0.0178701915, -0.0234230086, -0.0020256254, -0.0846477151, -0.0386160985, -0.0306856614, 0.0140722413, 0.0568302572, 0.0185592361, -0.0601278916, 0.0025002686, -0.0206720438, 0.0149305416, 0.0304139461, 0.064991951, 0.0171273407, 0.0157232396, 0.0051592807, -0.011045346, -0.0380935632, -0.0263427775, 0.0095371548, -0.0174963493, -0.053480532, 0.0195871461, 0.0369864404, 0.045495525, -0.0380677506, 0.0000020744, -0.0398881361, 0.0158198699, -0.0472871698, -0.0145197222, -0.008185707, 0.0441312045, -0.0110930828, 0.0633865222, -0.0127929384, -0.0496115312, 0.0166043844, 0.0473136567, 0.0664427206, 0.0430767499, 0.0047885058, -0.0308475085, -0.0258983057, -0.0251464415, 0.0403771587, 0.0681647286, -0.0007636641, -0.0018259961, -0.009873528, 0.0083954372, 0.0088520767, -0.0072536268, 0.0168310665, -0.0356361642, -0.000012143, 0.036629688, 0.0267340615, 0.0124660535, -0.055669494, -0.0406798869, 0.0836627781, 0.0225600954, 0.0184930153, 0.0057845809, 0.0167908184, -0.0360037386, 0.0155435922, -0.0327828303, -0.0054953387, 0.0046807495, 0.0026770779, -0.0752954781, -0.0061186012, 0.0381785296, 0.009797886, 0.0057140356, 0.0457150564, -0.0169254299, -0.0179007389, 0.0087289279, -0.0066182539, -0.0253161155, -0.0497017391, -0.0379837006, -0.0460353754, -0.0300032999, 0.0183045082, -0.0064720917, 0.0403243564, -0.0115475198, -0.0064279549, 0.0672556609, 0.0052641425, -0.0213354938, 0.0679149404, 0.0230889618, 0.0107559431, -0.0078417417, 0.0069827349, -0.0884299874, 0.025798738, -0.0389091857, -0.000525095, 0.0174608249, -0.0168473516, -0.0448689759, -0.0579246059, -0.0627279058, 0.0026434844, -0.0279970262, -0.005785876, 0.0003052113, 0.0324607231, 0.0015780744, 0.0061549502, -0.0631439164, 0.0385722704, -0.0328590237, 0.0427133814, -0.0102350796, -0.0206272881, 0.0457125306, 0.0697088316, 0.0163150318, -0.0254669618, 0.0135413259, 0.0593928508, 0.0076348959, -0.021212412, -0.0609797686, -0.0731515214, -0.0237571299, -0.0324663855, 0.056622453, -0.0173024852, 0.041042909, 0.0016785118, 0.0082188193, -0.0034068562, -0.0055897892, 0.0229250044, 0.0208588839, 0.1150383055, -0.0064917528, -0.0140387854, -0.0283638332, -0.0120565044, 0.0090439525, 0.0307361856, -0.0066760392, 0.0773866102, 0.0781631619, -0.0013146211, 0.0119902482, 0.0378457829, -0.0331247523, -0.0362074301, -0.0268839598, 0.0185084939, -0.0431462079, -0.0171605907, 0.0706615373, 0.0315499716, -0.0298166089, -0.0281555858, 0.1039413512, 0.0473133363, -0.0396895036, -0.022061646, 0.0160694085, 0.0195335262, -0.0168216247, -0.0195397865, -0.0108164875, 0.0570647381, -0.0368883871, -0.0035360833, 0.0002131063, 0.0045063221, -0.0137614692, -0.0125929583, -0.0032789749, -0.0581832528, 0.0629409775, 0.0294405781, 0.0154467635, -0.0104524838, -0.0089544775, 0.0164554548, -0.0018074278, -0.0305445585, -0.0276505407, -0.0119426847, 0.0536083281, 0.1133563295, 0.0242377911, 0.0091780741, 0.0163029246, -0.0267416015, -0.0084299762, 0.0243303813, 0.0121651599, -0.0315593854, 0.0124303568, -0.0760852918, -0.0475559942, -0.0103377029, -0.0217331462, -0.0145101724, -0.0307599586, -0.037805438, 0.0017794044, -0.0402928628, 0.0580710284, 0.0048878845, 0.0344038159, -0.009170834, -0.0161525421, 0.0496691279, 0.0385832563, 0.0332052112, 0.0347594358, -0.0056756344, 0.0160978064, -0.0200196225, -0.0120024169, 0.0448111333, 0.0261847824, 0.0155171994, 0.0315882713, -0.0702173188, -0.0077686738, 0.0250188988, -0.000588504, -0.0197272487, -0.0280959737, -0.0409055352, 0.0166997369, -0.0233305693, -0.0530017763, 0.015003521, 0.0061683799, -0.0027037614, 0.0156432446, -0.0202046558, -0.0276920758, 0.0184814241, -0.0898092315, 0.0208704248, 0.0174495745, -0.0290391389, 0.0225038696, 0.0181516521, 0.047738716, 0.055750072, 0.0230846219, -0.0503424853, 0.0347916223, -0.1064242274, -0.0482292399, 0.0036014987, -0.010819016, -0.0120859994, 0.0173231494, 0.0254458338, -0.0116376523, -0.0096747084, 0.0640425161, -0.0599623919, 0.0289386678, 0.0302519798, 0.0074861073, 0.0026577164, 0.0073949038, -0.0185127091, 0.0086975871, 0.0499546118, 0.0126014575, -0.0079312483, -0.0409625061, -0.001328184, -0.063417241, 0.0057658157, 0.0087966472, -0.024227025, 0.0235529486, -0.0704270378, -0.0096902391, 0.0321120881, -0.0175255295, -0.0310514104, 0.0028423888, -0.0232384801, -0.0561168119, -0.0096492991, -0.0073905177, 0.0136107244, -0.017848365, -0.0278267208, 0.0220869146, 0.0395942889, -0.0162695665, -0.0133648049, -0.0269970503, 0.0018640449, 0.0248238761, -0.0568084978, -0.0751274005, 0.0360532999, -0.0124546485, 0.0814766288, 0.000951756, -0.0656530857, 0.0407915935, -0.012981846, -0.0170635693, -0.0004350307, 0.0478814095, -0.0155806504, 0.0563888773, -0.0033964508, 0.0231254343, 0.0064081042, 0.0296407025, -0.0238143764, -0.0004114076, 0.022821784, 0.0064670029, 0.0553045385, -0.0485940352, 0.0164779462, 0.0207907129, -0.0188985541, -0.0225372594, -0.0617893375, -0.0469980873, -0.048764471, -0.0164591074, 0.0007212115, -0.0358623452, 0.02256882, 0.0120663047, 0.0044341874, 0.0562717766, -0.046876844, 0.006107254, 0.0078554051, 0.0606857389, 0.01828661, -0.0228661168, -0.0495803878, -0.0233871117, 0.0294705015, -0.0035889235, -0.0217042025, -0.0491287597, 0.0224158242, 0.0626431406, 0.0487812236, 0.0013171958, 0.0634580031, 0.0082576815, 0.0159033928, 0.0613469221, 0.071765177, -0.0160988122, -0.0577483438, -0.0169860907, 0.0428759865, -0.0044802558, 0.0440819897, -0.0003281652, -0.0718042254, -0.0755818337, -0.0160939936, 0.0090081915, 0.0540479906, -0.0208961871, -0.009250572, -0.0816963091, 0.0201444402, -0.0275276955, 0.0092900321, -0.0215203501, -0.0103829699, 0.0021597545, -0.0417505912, 0.0308404211, 0.0008764544, -0.0293961931, 0.0047066286, -0.0223408602, 0.019020509, -0.06238392, 0.0486957133, -0.0359541848, 0.0186690651, 0.0635457635, 0.013323701, -0.0123552885, -0.0787146091, -0.0132187512, 0.0082821781, -0.0097713871, -0.0045224978, 0.0506494828, -0.0154512273, -0.006283808, 0.0143253533, 0.0196267758, -0.0631050467, -0.0149169918, -0.0123788109, 0.0415545441, 0.0129750241, -0.0291908309, -0.0356053524, -0.0043068384, 0.0182663985, 0.064746365, -0.0304270145, -0.0696478114, -0.0122986473, -0.0424224623, -0.0531849414, -0.003418613, -0.0138530126, 0.0493615493, -0.0036108789, -0.0170185156, -0.0660855323, -0.0492353849, 0.0122801363, 0.0173897669, 0.0292824246, -0.0073748762, 0.0600098409, 0.0373713523, -0.0305493008, 0.0367885046, 0.0014601628, 0.0293609425, -0.0072008995, 0.028655313, 0.0079131825, -0.0380606055, 0.0073835235, 0.0217468683, -0.0231046062, -0.0023212584, -0.0315255672, 0.0704889372, 0.0227052476, 0.0050805653, 0.0266184062, -0.0554197766, -0.0478360094, 0.025567228, -0.0296193212, -0.0274591539, 0.0438799188, 0.0696920529, -0.0029801496, 0.0328775533, -0.0228054971, 0.0086210994, -0.0155155025, 0.0174016096, -0.0057245516, -0.0308348387, 0.0351097248, 0.0271858871, 0.0343949609, -0.0425201431, 0.0610678494, -0.0235105455, -0.0048973542, 0.0316755362, -0.0167962722, -0.0735399723, -0.0084885135, -0.0002919011, -0.0131158009, -0.0217291191, 0.043015454, -0.0149063896, -0.0230694469, -0.0396997184, 0.0118545182, 0.0037590535, -0.0099419756, -0.0117247179, -0.022120418, 0.0327134244, 0.037274342, -0.022059761, 0.0065608607, 0.0138604427, 0.0964059904, 0.007705776, -0.0324802734, -0.0346119963, 0.06019805, 0.0248084199, -0.035538651, 0.0019308033, 0.007874134, 0.0058658966, -0.0292689744, 0.0400829092, -0.0423533954, -0.0193429943, -0.026734991, 0.0407643765, -0.0122860828, 0.0074522099, 0.0293086749, 0.0247179028, -0.0250028223, -0.0249922704, 0.0384831354, -0.0683658719, -0.0122083509, -0.0092418836, -0.0408855826, -0.0707828403, 0.0028481579, 0.0529024228, 0.025201058, -0.0310929641, 0.0172366835, -0.0448738672, -0.0674102604, 0.0057113701, -0.0156815201, 0.0149770547, 0.0004645701, 0.0867803842, 0.0740819275, 0.0124035235, 0.0198285487, -0.034778975, -0.0191987958, -0.0693583116, 0.0093349637, -0.0360949039, -6.074293957e-33, 0.047629524, -0.0256051533, 0.0037989926, -0.0204260815, -0.0010135281, 0.0006437303, -0.0007018675, 0.0000237058, 0.0415892564, 0.0311882012, 0.0288165696, -0.0290837847, -0.001753972, 0.0239708833, 0.057606481, -0.0184596758, 0.0337191559, 0.0059394767, -0.0214006137, 0.0041585914, 0.0448168479, 0.0360788517, 0.0201282986, -0.0724399313, 0.0334007591, 0.0001254404, -0.0557717308, 0.0223481301, 0.0331934504, 0.0852826238, -0.0660118908, 0.0378180072, 0.0035626786, -0.0170491561, -0.023008192, 0.0546432734, -0.0437974073, 0.0023680981, 0.0630896762, 0.0158398356, -0.0836877823, 0.0447313339, 0.0220763069, -0.0444184132, -0.0014040574, 0.0163705256, 0.0354830772, -0.0158331972, -0.0014199216, -0.0215719175, -0.0288096592, -0.0067050294, -0.0303203724, -0.0251932107, 0.109142147, 0.0888445452, 0.001165275, 0.0357040614, -0.0438642316, 0.0792504251, -0.0719704032, -0.0421620123, 0.0783319324, 0.0072403518, -0.0073402831, 0.0862733647, 0.0051909694, -0.0514902025, 0.0415158533, 0.0122815548, 0.0115090217, 0.0851046667, -0.0184019282, 0.0577826425, 0.012907316, 0.0039690472, -0.0162096266, 0.029715756, -0.003602505, 0.0283227805, 0.0427030027, 0.0272782035, -0.0193180293, 0.0060044141, 0.0070255445, -0.0539715253, -0.0572087094, -0.0015025358, 0.0325348265, 0.0063396101, -0.0421502627, -0.0033338761, 0.0526520498, -0.0473392755, -0.0519344881, -0.0023194263, -0.0229150318, 0.0202356707, 0.0339988954, -0.0179733541, -0.0039590327, 0.010107697, -0.0123834414, -0.0258832574, -0.0003023417, 0.0039714924, 0.0350886174, 0.0228272043, -0.0101209804, -0.0229343325, -0.0024800545, -0.0232848153, -0.0429594591, 0.0155883627, 0.0520787612, 0.0195630379, -0.0593200587, 0.0314042084, -0.0002652719, 0.0129099032, -0.0520126559, -0.0314721316, 0.0235603843, 0.0036842241, -0.0098949252, -0.0147392079, -0.0244618244, -0.0464737192, 0.0180598106, -0.0713181198, -0.0027558825, 0.0383137241, 2.725e-7, 0.0122490181, 0.0540552139, -0.0442649238, 0.033766266, 0.0157579891, 0.0946806893, 0.0019287271, 0.0343872271, 0.0078033004, -0.1081075817, 0.0291794334, 0.0074142972, 0.0252058525, -0.0077155665, -0.0398263074, 0.0143403346, 0.0482367538, -0.024974037, -0.0130053135, 0.0361285955, 0.0442029797, 0.0625955388, -0.0065712593, -0.0204995926, 0.0315079018, 0.0135110943, 0.037413381, -0.0825496092, 0.0115647689, -0.0412453189, 0.0582039393, -0.0301255081, -0.0388354808, -0.0371757634, -0.0120962225, -0.0281160809, 0.0197427589, 0.0554896258, 0.0053908862, -0.0208366867, -0.0484081991, -0.0038873057, -0.0077207382, -0.0456517525, 0.0450495332, -0.0445709676, -0.0403350145, -0.0542856492, -0.0008156825, 0.0043872609, 0.009445671, -0.0339034609, -0.0228550341, 0.0144995553, 0.0156230135, -0.0320286788, -0.0440092348, -0.0585542992, -0.0040741768, 0.0033735537, -0.0316741653, -0.0138602694, -0.0066082296, 0.0013333349, 0.0184925161, -0.0492491089, -0.0346212946, 1.705734024e-34, 0.0602160059, 0.0151891941, 0.0070518022, -0.0130725997, 0.0262207258, -0.0273891203, -0.0545010827, -0.0105184102, 0.0250277221, -0.0848774314, -0.0114409896 ]
http://arxiv.org/abs/2406.15473v1
http://arxiv.org/pdf/2406.15473v1
Intertwining CP and NLP: The Generation of Unreasonably Constrained Sentences
2024-06-15T17:40:49
2024-06-15T17:40:49
Alexandre Bonlarron, Jean-Charles Régin
cs.CL
cs.CL, cs.AI
Constrained text generation remains a challenging task, particularly when dealing with hard constraints. Traditional Natural Language Processing (NLP) approaches prioritize generating meaningful and coherent output. Also, the current state-of-the-art methods often lack the expressiveness and constraint satisfaction capabilities to handle such tasks effectively. This paper presents the Constraints First Framework to remedy this issue. This framework considers a constrained text generation problem as a discrete combinatorial optimization problem. It is solved by a constraint programming method that combines linguistic properties (e.g., n-grams or language level) with other more classical constraints (e.g., the number of characters, syllables, or words). Eventually, a curation phase allows for selecting the best-generated sentences according to perplexity using a large language model. The effectiveness of this approach is demonstrated by tackling a new more tediously constrained text generation problem: the iconic RADNER sentences problem. This problem aims to generate sentences respecting a set of quite strict rules defined by their use in vision and clinical research. Thanks to our CP-based approach, many new strongly constrained sentences have been successfully generated in an automatic manner. This highlights the potential of our approach to handle unreasonably constrained text generation scenarios.
[ 0.0825375021, 0.0721820965, -0.0008042038, 0.0048428997, -0.0671928152, -0.0293835662, -0.0089232521, 0.0341235213, -0.0438885055, -0.0413116179, 0.0745205134, -0.0448958315, 0.0014831104, 0.0242342409, -0.0051739919, -0.0725888833, 0.003740299, 0.0019632629, 0.0203333609, 0.015406305, 0.0331770182, 0.0276996251, -0.0174868722, 0.0308912341, -0.0642722845, -0.0018184541, 0.0334945023, -0.0041542184, 0.0042629857, -0.0547270589, -0.0222270135, 0.0285367128, -0.0000841993, -0.0216978062, 0.0000017627, -0.0460987128, -0.0610600449, -0.0068714237, -0.0014603795, -0.0165458582, 0.090071559, -0.0644400492, 0.0087601375, 0.0133061139, -0.0098507889, 0.0573284887, 0.058235433, 0.0602957234, 0.065843977, 0.0747238994, -0.0348407812, -0.0134485485, -0.016415406, -0.0053208559, 0.0064313575, 0.0021336696, -0.0043296721, 0.0282039493, 0.0652832761, -0.0041584782, 0.005347623, -0.0001761434, -0.001081039, 0.0028954744, 0.0178780723, 0.0159023311, -0.0580591485, -0.0584338121, -0.0331581905, 0.0499039143, 0.0106619708, -0.0468005016, 0.0681276843, -0.0368621014, -0.01070535, -0.0176058896, -0.007272175, 0.0573618002, -0.0421529487, 0.0233818945, -0.0081157433, 0.0539888255, -0.014064787, 0.0054701441, 0.0150508219, -0.0188913401, 0.0263614208, -0.0361059979, 0.0358323045, 0.0075276843, -0.0419200584, -0.0344373584, 0.0073088924, 0.0181102864, -0.0602825321, -0.0019830726, -0.0761404932, -0.0283299442, 0.0565408655, -0.0105969254, 0.0453695022, 0.0018089368, 0.0456203148, 0.0031653047, 0.0167545024, 0.0584679507, -0.0128025338, -0.0405553579, -0.0559334569, 0.0333505198, -0.0398314893, -0.0345270038, -0.0559582002, 0.0264815148, -0.0425088406, -0.0426838845, -0.0807380006, 0.0060920739, 0.0320717767, 0.0131280962, -0.012862294, 0.0485163108, -0.0550627559, 0.0034159701, -0.0059261681, -0.0035527204, -0.0213027, -0.0411093123, -0.0091802087, -0.009232319, 0.0090929382, 0.0704039112, 0.0064278515, -0.0356482975, -0.0173294153, 0.0342323743, -0.0217037667, -0.0034045437, 0.0437819287, -0.055840183, -0.0708417967, -0.0346703008, 0.0085686008, -0.0504636094, -0.0165599491, -0.0138998982, -0.00188716, -0.0663403496, 0.0488297194, 0.0127598587, -0.0102258557, 0.0226169787, -0.0045807078, -0.0133629497, -0.0073693143, 0.0075361291, 0.0429594256, 0.0276703965, 0.0541655608, 0.0138667542, -0.0064346851, -0.0148264747, 0.0548263453, -0.0046420037, -0.0011301009, -0.0383056886, -0.0488771573, 0.0014296686, 0.0258043706, 0.0353170708, -0.0057889656, 0.0874539539, -0.0055753766, 0.0416392647, 0.0124143772, 0.0221243799, 0.0097328778, 0.053452041, 0.0508276224, 0.0028950337, -0.0315442383, 0.0356898718, 0.0072455765, -0.0033133633, 0.0176969953, 0.0183948632, -0.0102320258, 0.0228862315, 0.0160322953, -0.0355322659, 0.0018182406, 0.0111947982, 0.0229211655, -0.0646634549, 0.0077813067, 0.0224670935, -0.0524760783, 0.0176006407, 0.0057264133, -0.0585318059, -0.0014106999, -0.0002717913, -0.0436190218, 0.0524319373, 0.0757293105, -0.0444219783, 0.0068426793, 0.0222776141, 0.0053643528, 0.1086575538, 0.0376905985, 0.0249226131, 0.0165868588, -0.0449952558, 0.0094970893, -0.0137810018, 0.0106276665, -0.0283804592, -0.0159955192, 0.0038615877, 0.0372331366, 0.0239210334, -0.040598724, 0.0520734154, -0.0071251253, -0.0181801785, 0.027592361, -0.0036843226, -0.0192753822, 0.0233170185, -0.0192195643, 0.0653303564, 0.019059265, -0.076270856, -0.005879587, -0.0015291055, -0.0368865468, -0.0464129187, 0.0024943876, -0.0981929377, 0.0038304427, -0.0156040052, 0.0060817064, -0.045107685, 0.0163901672, -0.0793044716, 0.0176103059, -0.0136712436, 0.0176924318, 0.0419746041, -0.021883646, -0.0530607887, 0.0841758773, 0.0426256806, 0.0256663971, 0.046326194, -0.0746317655, 0.0147488732, -0.0658726692, 0.0021573293, -0.0518590808, 0.0138496561, 0.0053603295, 0.071502775, 0.0585669316, -0.0072154501, -0.0341334604, -0.0109024886, -0.00541852, 0.0211585313, -0.0156584941, -0.0032178755, 0.0264764894, 0.0060054818, -0.0155083202, -0.0266590957, -0.0258219019, 0.0579868816, -0.0173238404, 0.064601928, 0.0237397477, -0.0731224269, -0.0171813872, -0.0007103602, -0.0100850211, 0.0339362696, 0.0698915496, -0.0375698693, -0.0396409817, 0.0784661323, -0.0351069942, 0.0027150605, 0.0075339274, 0.0049781948, 0.018637605, 0.023328986, 0.053681232, 0.0305524766, -0.0208510365, 0.0309903119, 0.0341380835, -0.0004833127, 0.0234819055, 0.0114364419, -0.0547199212, 0.0118055185, 0.0116792675, -0.0378564559, 0.0659356937, 0.0217585098, 0.0317543671, 0.00925609, -0.0822902024, 0.0249067117, -0.0134888906, -0.0061877575, -0.0432154611, -0.0226024147, -0.0057932506, 0.0485395603, -0.0187727418, -0.0331257731, 0.0621723607, -0.0295664798, 0.0233628843, -0.0537856482, 0.0074142283, -0.0342582352, 0.0455176383, 0.0410501324, 0.0650720224, 0.0542849973, 0.0126587665, -0.0502309911, 0.012769727, 0.0234744959, -0.0237348136, 0.0213957652, -0.0438520126, 0.0035256911, -0.0166758206, -0.0504866317, -0.0649715737, -0.0369473174, 0.0245874319, 0.0047271219, 0.0528765619, -0.0007654169, -0.0180668216, 0.0221443735, 0.0106342258, 0.0191161633, 0.0187602937, 0.0160074867, -0.0324312933, 0.0316448882, 0.0789455026, 0.0188190714, -0.0004417172, -0.0030477922, 0.002363083, 0.0139569538, -0.0172302518, 0.0631541833, 0.0177292898, 0.0320023075, -0.0293185934, -0.019953182, -0.0112362579, 0.0536670201, 0.0216050204, -0.0435984954, -0.0450638682, 0.0674200878, 0.0502527542, -0.0240341425, 0.0279563237, 0.0192371067, 0.0257125013, -0.0035475732, 0.0541576073, -0.033098828, -0.0021418633, -0.016351331, 0.0175774917, -0.0615627319, -0.0224223565, -0.0680283159, -0.0825625435, 0.0213834438, 0.0393641666, -0.0137210665, -0.0304275714, 0.0048222127, -0.0603493564, 0.0092211729, -0.0470240042, 0.0093351109, -0.0249888841, 0.0149599258, 0.0337558426, -0.0213843659, -0.0273394138, -0.0476418771, 0.0080024404, 0.0032838415, 0.0590651222, -0.0076358831, 0.0036119602, -0.0215977598, 0.0030522677, 0.0037027651, 0.013666451, -0.012655613, -0.0221622493, 0.0351939686, -0.0371896848, -0.057607159, 0.0374819562, -0.0468984395, -0.0436614975, 0.024278976, 0.0802228227, -0.0078680133, -0.0143158939, -0.0256828815, 0.0557615086, 0.0367858894, 0.0555602275, 0.0252442658, -0.0194263197, -0.0344934277, -0.0286119319, 0.0407631658, -0.1041914225, -0.0178125557, 0.0232928544, -0.010146223, 0.002870152, -0.1120061129, 0.0316126645, 0.0249265842, 0.0751209185, 0.0267023798, 0.0154401259, 0.0468941741, -0.0274084304, -0.0522508807, 0.005060452, -0.0036965034, -0.0107303914, -0.0493002385, -0.014116453, -0.0013991009, -0.0332063064, -0.0065698032, 0.0186018143, -0.0396143906, -0.0582023673, -0.0291604996, 0.0417088903, 0.0277377944, -0.0159937646, 0.022925999, -0.0176125243, -0.0205889046, 0.0958905071, 0.0139214639, 0.0065748659, -0.044416029, -0.0151525736, -0.0133830933, -0.0061682994, -0.0280411132, 0.0255608149, -0.0107666254, 0.1012423635, -0.0166243017, -0.0309133213, 0.0888208598, 0.0457573384, -0.0433727242, -0.0808298215, -0.0095001478, 0.0133180153, -0.0210412946, -0.0416987017, -0.0351824947, -0.0482211523, 0.0285837799, -0.0179841612, 0.0276931375, 0.0249777455, -0.0582991093, -0.0558634661, 0.0345926397, -0.0083173448, 0.0067345565, 0.0273618735, -0.0240620673, 0.0307150465, -0.0314397998, -0.0044175931, 0.0676871911, -0.0551456623, 0.0360436738, -0.0050114337, 0.0319986828, 0.0317473561, 0.014742054, -0.0495186485, -0.0016371915, 0.0101730479, 0.0476242043, -0.0376633033, -0.0111677665, 0.0277982075, 0.0169798527, 0.0283779521, -0.048526369, 0.0118841678, 0.0024785348, 0.0638713762, 0.025053734, -0.0211530924, -0.0107759237, 0.019224057, -0.0028428861, -0.0440294072, 0.0775746033, 0.0390796773, -0.010227805, 0.0069011236, -0.0368473195, -0.0759963542, -0.0234982669, -0.0190464221, -0.0144730592, 0.0020151979, 0.0405798927, -0.0556374937, -0.0328579657, 0.0405184142, -0.0021402766, 0.0388392434, -0.0066896877, 0.0495857261, -0.0320148543, -0.030180702, -0.0161931403, -0.0353708006, 0.0584655218, -0.0142300036, -0.0189630464, 0.0128630884, -5.632380447e-33, -0.0275412928, -0.0723371357, 0.0099825272, -0.0012819985, -0.0383739881, -0.0012399926, -0.0372675061, 0.0089566633, 0.0872019827, -0.008118243, -0.0044651185, -0.0494456254, 0.0080628702, 0.0425971635, -0.0121596698, 0.0202515181, 0.0172454473, 0.0007273924, -0.05006117, -0.0011424578, 0.0090288585, 0.0188261997, -0.0109899594, -0.0072858166, -0.0206542015, -0.0241163597, -0.0339691453, 0.0209292937, 0.018420998, 0.0568079054, -0.0474639684, 0.0009134507, 0.0347481892, -0.0283950064, -0.0003015425, 0.0443456061, -0.0152444374, -0.0213640071, 0.0139480736, -0.0498944633, -0.0174961593, -0.039516598, 0.0327424556, -0.0469149984, -0.0052744048, 0.0614120439, 0.0133912833, -0.0319961049, -0.0229797065, -0.0561096296, -0.067037262, -0.0002357293, -0.018647993, -0.0121120131, 0.0003318173, 0.0381809995, -0.0450896025, 0.0175749566, 0.0369840935, 0.0408764295, 0.0285645314, 0.0459062979, 0.0125139542, -0.0062755723, -0.0156336911, 0.032726597, -0.0391115621, -0.0449138954, -0.0334451534, 0.0143763861, -0.0497599095, 0.0402651504, 0.0458390154, 0.0619746856, 0.036610309, -0.0124652823, -0.0657962784, 0.0092433644, -0.0418958329, -0.0121384924, 0.0386749916, -0.0137587665, -0.0534135997, -0.034040764, 0.0172354039, 0.0217561796, -0.0105929365, 0.0043059355, 0.0433245599, 0.0571082607, -0.0745651647, 0.0459169075, 0.0053207846, -0.0093406597, -0.0059658941, -0.0291385558, -0.0079004942, 0.0114336591, -0.029232163, 0.0041499683, -0.0328373723, -0.0653572902, 0.0506263189, 0.0006929156, 0.0559204891, 0.0086750714, 0.0061003938, -0.0189872906, -0.0439190604, 0.0288451109, -0.0257194005, 0.0370133109, 0.0137270661, 0.0075495238, -0.0074744029, 0.0052372762, -0.0136356223, 0.0041743638, 0.0262980778, -0.0549659058, 0.0000705429, -0.022315247, 0.0322579555, 0.026894927, -0.0269353893, -0.0219247919, 0.022072345, 0.0463047288, 0.0359927863, -0.0314837024, -0.0250391755, -0.0279862024, 2.644e-7, 0.0317117646, 0.0557300299, 0.0201835297, 0.0015397776, 0.0094844215, -0.0085585238, 0.0160576049, 0.0202345178, -0.0777816176, -0.010989558, 0.0365866534, -0.0162099022, 0.0222508758, 0.0301813763, -0.0411899202, 0.0705612302, -0.0356644988, -0.0321189314, -0.0511941575, 0.0102290669, 0.1220611036, 0.0194028318, -0.053940095, -0.0097592836, -0.0101663256, -0.065151915, 0.0447318777, 0.008083961, 0.0052413535, 0.0076003266, 0.0414036214, -0.0204087403, -0.0219389647, 0.0488874651, 0.0074505284, 0.0086653894, 0.0318173841, 0.0534449369, 0.0064994297, -0.0124486322, 0.0420778207, 0.0327004306, -0.0047321822, -0.0004791678, 0.0121522574, -0.0441008471, -0.0082417987, 0.0081298891, 0.0034600673, -0.0254819393, 0.0138127515, -0.0221502017, -0.0297007747, -0.0095238229, 0.0222371519, 0.0150042288, -0.0198947135, -0.0232759118, 0.0113286953, -0.0020501756, -0.0332325064, 0.0198639296, -0.0393758379, 0.0304998513, -0.0156533904, -0.0458823405, -0.0072370362, 2.639900647e-34, 0.0508358181, -0.0142205646, -0.0064399573, -0.0382709987, 0.0100252088, 0.0176066961, -0.0383555032, 0.027688995, 0.0078206966, -0.0764228329, -0.016850451 ]
http://arxiv.org/abs/2406.15472v1
http://arxiv.org/pdf/2406.15472v1
Hyperbolic sentence representations for solving Textual Entailment
2024-06-15T15:39:43
2024-06-15T15:39:43
Igor Petrovski
cs.CL
cs.CL, cs.AI, cs.LG
Hyperbolic spaces have proven to be suitable for modeling data of hierarchical nature. As such we use the Poincare ball to embed sentences with the goal of proving how hyperbolic spaces can be used for solving Textual Entailment. To this end, apart from the standard datasets used for evaluating textual entailment, we developed two additional datasets. We evaluate against baselines of various backgrounds, including LSTMs, Order Embeddings and Euclidean Averaging, which comes as a natural counterpart to representing sentences into the Euclidean space. We consistently outperform the baselines on the SICK dataset and are second only to Order Embeddings on the SNLI dataset, for the binary classification version of the entailment task.
[ -0.0120792333, 0.0531125143, -0.0268224683, 0.0378094688, -0.0601404831, 0.0373033471, -0.0207042042, -0.0168420319, 0.0090032844, -0.0215778854, -0.0085874638, -0.0506397374, 0.012979025, 0.0189810637, 0.0317188315, -0.0291927271, 0.0288025104, -0.0174617097, 0.0139378635, -0.01066582, -0.0213492643, -0.009179065, -0.0281451382, 0.036537949, 0.0171069913, 0.0001883071, 0.0139528941, -0.0048337807, 0.0703497678, -0.0405883305, 0.0082250806, 0.0219916962, 0.0642825514, 0.0213331524, 0.0000014281, -0.0355940424, -0.0154317589, -0.0261334088, -0.0180751607, -0.0420219339, -0.0549507886, -0.1137048677, 0.0279951449, -0.0248315539, -0.0207140427, -0.0178118106, -0.001005624, 0.0624694452, 0.0411253236, 0.0649388209, -0.0177588016, -0.0532208569, 0.0367272422, -0.0274854172, 0.0020969559, 0.0298012439, 0.0403969176, 0.0211731493, 0.0041689537, 0.0354979634, -0.0250070896, 0.0316704288, 0.0282190666, 0.0255312454, -0.0222282987, 0.0229780562, -0.0484651066, 0.0280456468, 0.0086928615, 0.0539114513, -0.0106204012, -0.0152315926, 0.0261838678, 0.0278405417, -0.0284252949, 0.0094489269, -0.0130071603, 0.0518874973, -0.0216251183, 0.0207180735, 0.0102768028, 0.0225308444, 0.0033852276, -0.0220001936, 0.0006340336, 0.0648770258, 0.0324487835, -0.0807604715, -0.0035165269, 0.0046012201, -0.0570299402, -0.0182627328, 0.0568378307, -0.0086731855, 0.0314008892, 0.0011222988, -0.014344994, -0.0226461738, 0.0160687957, -0.0741285756, 0.0495796129, 0.0003054053, 0.0416579619, 0.0271737203, -0.0367772691, 0.0493489951, -0.0123604434, 0.0224802289, -0.034982238, -0.0220773928, -0.0024510806, 0.003389904, -0.0413419418, 0.0349994078, 0.0175441764, -0.0560622402, -0.043529816, 0.0312876366, -0.0243443046, 0.0296149421, -0.0463307761, -0.0108095668, 0.0082390476, -0.0011462648, -0.0245876089, -0.0180718135, -0.0367443152, 0.0281163044, -0.0394275077, 0.0357250124, -0.0235094335, 0.0532875136, 0.0126016103, -0.0246177707, 0.022790065, 0.0557462052, 0.0616752245, 0.0092877802, 0.003701139, -0.0240600742, -0.018618267, -0.0308057386, 0.0314698927, -0.0535600856, 0.003911573, -0.0101772472, -0.0446944684, 0.0412183814, -0.0246404558, 0.0475329384, -0.0379876532, 0.0400220565, -0.0029171517, -0.0243606474, 0.0053918674, -0.0121481894, 0.0076319105, 0.017732447, 0.0412116125, 0.0239392743, 0.0227422863, 0.0138420546, 0.010626927, -0.0070453379, 0.0153596634, 0.0235181097, -0.0189890992, 0.0117866565, 0.011100865, 0.0697140247, -0.0225040745, 0.0416468382, -0.0539523996, 0.0102690142, 0.0075035882, 0.0430870615, 0.03158959, -0.0554559976, 0.0402742065, -0.0257370993, -0.0110862767, 0.0220977832, -0.0289724767, 0.0309696123, 0.0003193901, 0.0407717228, 0.0214814153, 0.009907973, -0.0129697658, -0.0508712046, -0.0071141655, -0.0199916307, -0.0434954353, -0.0175941996, 0.0662923604, -0.0000255924, -0.0203060322, 0.0681287721, 0.0147674093, -0.038097471, -0.0172156338, 0.0357054435, 0.0427339599, 0.0206802189, 0.0205557235, -0.0560340956, -0.0315250605, -0.0352831334, 0.0161287282, 0.064742215, -0.0201400667, 0.0166027583, -0.0018778167, -0.0266500022, -0.0251830462, 0.0169672444, 0.02854269, 0.0149554107, -0.0251629706, 0.0187123008, 0.0343175717, -0.0219548456, 0.0026808737, 0.0513424687, -0.0247995984, 0.0147009576, -0.011362873, 0.0392635725, 0.0089603635, -0.0066689393, -0.0240152553, 0.0071231988, 0.0415731706, -0.0785991102, -0.0696924552, -0.0402422808, -0.0616057888, -0.1009781361, 0.0195103716, -0.1072351784, -0.0405513644, 0.0451923274, -0.0489447191, -0.0245202109, -0.0057752901, -0.0240745991, 0.0075695515, -0.0486742407, -0.0460643284, -0.0036764084, 0.0013220047, -0.058743123, 0.0532336272, 0.0117720384, 0.0395803005, -0.0374020562, -0.0050131292, 0.0377166905, -0.0021010656, -0.0350649171, 0.0044876416, 0.0153528824, -0.0063969996, 0.0202549361, 0.0066076252, -0.0201204922, -0.031030301, -0.0998896807, 0.0095174517, 0.0020259642, -0.0059387307, 0.0122284042, -0.0459049344, 0.001966058, -0.0371406041, -0.0365754887, -0.0370976143, 0.0265104175, 0.0116870785, 0.0758292228, -0.0540328547, -0.0366099216, -0.037615519, -0.0478936806, -0.0530738495, 0.0629136115, -0.0231101085, -0.0047225254, -0.0303084329, -0.0300231334, -0.0525808558, 0.0133023951, 0.0087245153, -0.0171903614, 0.0493523069, -0.0108257234, 0.0286179483, 0.0343537405, 0.0198584534, -0.0138004599, 0.0652906671, 0.0347815603, 0.0165620986, -0.0266025942, -0.051480554, 0.0596415922, 0.0128922975, -0.010501489, 0.0363748856, 0.0485773347, 0.0366138779, -0.0245409217, -0.03813456, 0.0033438571, 0.0171062872, 0.0643942952, -0.0291017611, -0.0425428487, -0.0231148303, 0.0253208745, -0.0175773259, -0.0676242709, 0.0666235611, -0.0103024486, 0.0252538752, -0.0288181491, -0.039382074, -0.0390741974, 0.026886424, 0.0349849127, 0.0064191185, 0.0160556305, 0.0039331224, 0.0317705087, 0.0472294986, 0.0392895341, 0.0098285507, 0.0116203753, -0.0108913584, 0.0283030197, -0.0038057086, -0.0394183956, -0.0403702743, -0.0819866136, -0.0004348268, -0.0185496975, -0.0801101252, 0.0070960745, -0.0383068584, 0.0080197807, 0.0240304638, 0.0327076353, -0.0078629591, -0.0094702514, -0.0466171168, 0.0307321381, 0.06391792, 0.0346143059, 0.0310390089, -0.0590051115, 0.0113671599, 0.0101235742, -0.009393408, 0.0304063857, -0.0221649464, 0.0043942616, -0.0264857523, 0.0140294908, -0.0023100411, -0.0084744198, -0.0209450666, -0.0045345351, 0.0020506042, 0.1143136397, -0.0063089672, -0.0022827189, 0.0176155474, 0.0324412063, 0.06554012, -0.0252303835, -0.0238281228, -0.069572635, -0.0019529645, 0.0090695564, -0.0289335977, 0.0113703012, -0.0273990911, 0.0142950742, -0.0604693219, -0.0175022278, 0.0187695231, 0.0034555292, -0.0771604925, -0.0030929674, 0.0126879336, 0.0406077467, -0.0367399529, -0.0317524858, 0.0140239531, 0.0173466336, -0.0244926214, -0.0287878402, 0.0080202576, 0.0318305641, -0.058821626, -0.0050126272, 0.0213486515, 0.0435295589, 0.018656671, -0.0618351698, -0.0471971445, 0.0046146153, -0.0404296331, 0.0302004386, 0.057766065, -0.0055695409, 0.0164743904, -0.0358171239, 0.0430562235, -0.1074795425, 0.0018531859, 0.0352271572, 0.1161554381, -0.0487675034, -0.043350894, -0.0467192605, 0.0245303363, -0.0306468941, 0.0781265348, -0.0250603855, 0.0040012109, -0.0374264158, -0.0301599521, -0.0028417103, 0.0269056261, 0.028496217, 0.03038905, 0.01098915, -0.0054964633, -0.0730143338, -0.0270866361, -0.009184354, 0.0770859048, -0.0214110836, -0.0041972445, 0.0197775513, -0.0344942361, -0.0083360607, 0.0200858582, -0.0115679326, -0.0077100331, 0.000583165, 0.0463827625, 0.0537824854, 0.0493417941, -0.0556509942, -0.0034997347, -0.0251120739, -0.0439225323, -0.0067237341, 0.0045699216, 0.0164253116, 0.0209504813, 0.0095759807, 0.0516565964, 0.019803986, 0.0071378089, -0.0239219628, 0.0475083739, 0.0601205006, 0.0301576201, 0.0039026514, 0.064430289, -0.0131933624, 0.0220556296, -0.0038001013, 0.0023373929, -0.0271395054, -0.0258479174, -0.0008446964, 0.0000907292, 0.0893229172, 0.0222518817, -0.0629215091, -0.0047127721, 0.0072855661, -0.0626012608, -0.0014454778, -0.018409241, 0.0258837081, 0.0146080535, 0.0014052907, -0.0409584939, 0.0173418131, 0.0288391877, 0.0046083718, -0.039865654, 0.0037070492, 0.011340444, 0.0074127121, 0.0113335829, 0.0046102935, -0.0490746237, -0.0035910374, -0.0380388945, 0.026687786, -0.0039167833, -0.0040943683, 0.0567473881, 0.0391076617, -0.0083612669, 0.0204211213, -0.1090684012, 0.0132689448, 0.0250605624, -0.0270440206, 0.04142664, -0.005965387, 0.0198121872, -0.0197491031, 0.0170702245, 0.0130815459, 0.0401341282, -0.022108132, -0.0077532385, 0.0135086011, 0.0051694368, -0.0253398102, 0.0331388824, 0.0545886531, -0.0396923237, 0.013981075, 0.0118704727, -0.0109288665, -0.0464817844, -0.0118289776, -0.0161319599, 0.0644517913, -0.0058288318, 0.0319784544, -0.0169749055, -0.0561955906, 0.0573337041, 0.0167386495, -0.0395143852, 0.007573327, 0.0232124683, 0.011416954, -0.0098998584, -0.0385569595, 0.0007724534, 0.0403987169, -0.0374411196, -0.0190860555, -0.0483619981, -5.288672511e-33, -0.0158919953, -0.026822364, 0.0032826096, -0.0216715317, -0.019882733, -0.0098960809, -0.0194073431, -0.0371385887, -0.0196430944, 0.0290757939, 0.0799058229, 0.0154560078, -0.0077196555, 0.0497697927, 0.0342886709, -0.0156376269, -0.011288004, -0.0005181704, -0.0048303963, 0.003017959, 0.0741769224, 0.017475497, 0.0617788061, -0.0709879249, 0.0035228725, -0.0352850258, -0.0005925124, 0.050404489, -0.0334822349, -0.0012293656, -0.0325184278, 0.0225641746, 0.0253400039, 0.017897008, 0.0128401928, 0.0796389431, -0.0492272116, -0.0771216303, -0.0004750616, -0.0338101797, -0.0552854128, -0.0299618635, 0.061316818, 0.0114579154, -0.005121049, -0.0333700329, 0.0297645386, -0.0126744835, -0.0188634414, -0.0383941233, -0.0632095486, 0.0460392162, -0.0036243401, 0.0095793577, -0.0140890991, 0.0754270628, 0.0227926131, 0.0099882623, -0.0175853651, 0.0134958941, -0.0629209504, 0.0023848584, -0.0100388844, -0.0265507828, 0.0395179503, 0.1102919281, 0.0351835713, -0.0148822451, -0.0156483166, 0.0416300818, 0.040148668, -0.0007462923, 0.0435188897, -0.0193699487, 0.0205758289, 0.051731132, -0.071326226, -0.0022013641, -0.0508387983, -0.0004491811, 0.0084938416, -0.00460567, -0.0348021686, -0.0101590576, -0.0100070955, 0.0152706476, 0.0028005652, -0.0119505664, -0.0039352248, -0.0280355979, 0.0331513695, -0.0129468758, -0.0123141399, -0.0168525688, 0.0062776362, 0.020976698, 0.0031677668, -0.0031767392, 0.055040054, 0.0603432208, -0.0230492875, -0.009930159, -0.0203882977, 0.0332857855, 0.0127818938, 0.0148972766, 0.0556521975, -0.0235880353, -0.037691541, -0.0073156091, -0.0014097929, -0.0401180275, -0.0168515798, -0.0031205087, 0.0493981987, 0.0502172448, -0.0016713372, 0.0506075211, -0.0363286473, -0.037563879, -0.0352108926, 0.0496011674, -0.0243393518, 0.032233946, -0.0184425004, -0.0039134235, -0.0211428143, 0.000234431, 0.049007006, -0.1051464826, 0.0135909449, 0.0223609414, 2.273e-7, 0.0163408257, 0.0368889272, 0.0635352954, -0.0166548938, -0.0001445529, 0.0163150001, -0.0081553319, 0.031901855, -0.0005997329, -0.009639468, 0.0054207379, 0.0287361071, 0.0452306122, 0.0319970883, -0.0901060924, 0.0082226638, -0.0806474686, -0.0602043979, -0.0329049379, 0.0786198154, 0.1060775667, 0.0868953988, 0.0332514793, -0.0055963062, 0.0085188132, -0.0768755674, 0.0483259, 0.0166585147, 0.0120621454, -0.0198266339, -0.0236420762, -0.0298706125, 0.0082179122, 0.0348789319, 0.0201874729, 0.032571733, 0.0308806095, 0.0238029957, 0.0109486859, -0.03073317, -0.0318221189, -0.0222445298, -0.0204963498, -0.01281178, 0.0666401833, -0.0696387738, -0.0262014046, -0.0215805024, 0.0119485464, -0.0128545007, 0.0490205847, 0.029078152, -0.0131104253, -0.0151564777, 0.0364025943, -0.0313503779, 0.0388369001, -0.0813199654, 0.0052047777, 0.0820030868, -0.0691720396, 0.0141669996, -0.0173970442, 0.010107263, 0.0796375722, -0.0586931109, 0.0052178674, 2.126394664e-34, 0.04900923, -0.0546611957, 0.0045735328, -0.0200017709, 0.0409009345, -0.0199925136, -0.0061258585, -0.0263643116, 0.033595413, -0.1160891578, 0.0087918397 ]
http://arxiv.org/abs/2406.10670v2
http://arxiv.org/pdf/2406.10670v2
CoLoR-Filter: Conditional Loss Reduction Filtering for Targeted Language Model Pre-training
2024-06-15T15:28:02
2024-06-24T13:52:37
David Brandfonbrener, Hanlin Zhang, Andreas Kirsch, Jonathan Richard Schwarz, Sham Kakade
cs.LG
cs.LG, cs.AI, cs.CL
Selecting high-quality data for pre-training is crucial in shaping the downstream task performance of language models. A major challenge lies in identifying this optimal subset, a problem generally considered intractable, thus necessitating scalable and effective heuristics. In this work, we propose a data selection method, CoLoR-Filter (Conditional Loss Reduction Filtering), which leverages an empirical Bayes-inspired approach to derive a simple and computationally efficient selection criterion based on the relative loss values of two auxiliary models. In addition to the modeling rationale, we evaluate CoLoR-Filter empirically on two language modeling tasks: (1) selecting data from C4 for domain adaptation to evaluation on Books and (2) selecting data from C4 for a suite of downstream multiple-choice question answering tasks. We demonstrate favorable scaling both as we subselect more aggressively and using small auxiliary models to select data for large target models. As one headline result, CoLoR-Filter data selected using a pair of 150m parameter auxiliary models can train a 1.2b parameter target model to match a 1.2b parameter model trained on 25b randomly selected tokens with 25x less data for Books and 11x less data for the downstream tasks. Code: https://github.com/davidbrandfonbrener/color-filter-olmo Filtered data: https://huggingface.co/datasets/davidbrandfonbrener/color-filtered-c4
[ 0.0121036442, 0.0844068229, 0.0090109874, 0.0152424136, -0.0225106757, 0.0113557782, 0.0382348858, 0.0613451675, -0.0357469581, -0.0974328667, -0.0627316907, -0.0138281221, -0.0123944879, -0.0155242216, 0.0146823209, -0.0561961494, 0.0331038758, -0.0252586417, -0.0063686594, -0.0275351815, 0.004798688, 0.0257788226, 0.0031011133, 0.0316385441, 0.0342569351, -0.0089751398, 0.0287517048, 0.0058286781, -0.0259709004, -0.0000122365, 0.0763127804, 0.0717719644, -0.0046495218, 0.0050895582, 0.0000023201, -0.0699338913, -0.0295763928, -0.0364172682, -0.0281187948, -0.0155615127, 0.058412306, 0.028435057, 0.0170280635, 0.023775164, -0.0150389364, -0.0423143022, 0.0589716621, 0.0686943159, 0.0491955616, 0.0711874068, 0.0031843302, 0.0092170024, -0.0059687239, -0.0171759874, 0.0083602415, -0.0448252074, 0.0516003035, 0.0400990173, 0.0044109216, 0.0150854215, -0.0322110094, 0.0233294703, 0.0005627525, 0.0191504955, -0.001425567, 0.0295313951, 0.0201348159, 0.0050454363, 0.0068493253, 0.0621386915, -0.0305280183, -0.0376396701, -0.0248866826, 0.0064829513, -0.0104999449, 0.0230015349, -0.0513923988, 0.0062616323, 0.0119202603, 0.0309245698, 0.0074313409, 0.0020348483, 0.0264290851, 0.0597732589, -0.0209971052, 0.041144561, 0.0211214218, -0.0307925418, 0.0604233816, 0.0077401442, -0.0461377278, -0.0506753698, 0.0218905825, -0.0333747454, -0.0078703752, 0.0055189817, -0.0766609758, -0.0319859274, -0.0133470027, -0.0140592735, 0.0359568559, 0.0302111357, 0.0007067037, 0.0712737292, 0.0014901693, 0.0102459779, 0.0025993723, 0.0456911251, -0.0477121659, -0.029489208, -0.026597457, -0.0044579701, -0.0253492482, 0.0390988253, -0.0245731995, -0.0023924119, -0.0204743594, -0.0350793675, -0.0228295978, -0.0215074625, 0.052445218, 0.0046247891, -0.0539834388, -0.0197211541, -0.0194434673, 0.007444765, -0.0209006704, 0.0456922464, 0.0020125948, -0.0401792452, 0.0008380158, 0.0141311474, -0.003478664, -0.0679036304, 0.0027190128, 0.0938208103, 0.0039454084, -0.0255264901, -0.0489567928, -0.0021012702, 0.0300015509, -0.0394014828, 0.0183960181, -0.0397491083, -0.0018439703, -0.020587394, 0.0511158407, -0.0674677417, -0.0056115794, 0.0300576407, 0.0107419714, 0.0710721985, -0.0097756479, -0.0362978168, 0.0234628022, 0.0169312153, -0.0003993883, 0.11144308, 0.0178887993, -0.0206527226, 0.0650590137, -0.0490159467, -0.0079946611, 0.0409538411, 0.0090341112, 0.0124156224, -0.0375954658, -0.0016562681, 0.0299867429, 0.020022992, 0.0653640777, 0.0069582979, -0.0270075165, -0.0630213395, 0.0554532483, 0.0428567864, 0.0336807184, -0.0139349531, 0.0201989692, 0.017353842, -0.0041459762, 0.0307227038, -0.033308927, 0.0000863092, -0.0334037356, -0.0313835368, 0.021874357, 0.0061894204, -0.0426171012, -0.0192439333, -0.0026046692, -0.0026121072, 0.017097706, 0.0294482969, 0.0765497461, -0.0020035205, -0.0242626313, 0.0675578043, 0.0624628812, -0.0452552959, 0.024404645, -0.071484156, 0.0348504744, -0.0017006642, 0.033815559, -0.0540278815, -0.009694404, -0.0210249964, 0.0481320508, -0.0048734304, 0.0281026457, -0.0100276954, 0.0395226367, -0.0904249847, -0.0383847989, -0.0017933894, 0.0148201399, -0.0278802719, 0.0355867296, 0.0332663991, 0.0123104174, -0.0475644916, -0.0693713129, 0.0589492805, -0.0110542802, -0.054256849, 0.0446200445, 0.0013542669, 0.0365189947, -0.0266972389, -0.007076473, -0.0141798677, 0.0079870857, -0.0188860539, 0.001094571, -0.0275497083, -0.0368774235, -0.040544264, 0.0340616442, -0.0430115759, 0.0279581808, 0.103737779, -0.0489026085, -0.0340726636, -0.0015431424, -0.0348955989, -0.0170132555, -0.0164737161, 0.0136864129, -0.0253845248, 0.0130629279, -0.0498535, 0.0065097171, 0.0080233142, 0.0068659591, -0.0462695807, -0.0350191295, -0.0075986525, -0.0524352267, -0.0022865017, 0.0090384493, -0.0176186059, 0.0194230657, 0.0363090709, 0.0363174975, -0.0688463524, 0.023926219, -0.0554632396, 0.039861843, -0.0329676457, -0.0010295486, 0.0264040865, 0.0242367461, -0.0097658662, -0.0012868303, 0.0000860186, -0.0193200745, -0.0213046577, 0.0105864881, -0.0178697482, -0.0208083615, 0.0162964202, -0.034299951, -0.0631280616, 0.0128176101, 0.0858250484, -0.0157393478, -0.0168802124, -0.0424566306, 0.0289348084, -0.0053002033, 0.0243275557, 0.0218286738, -0.0243540816, -0.027412612, -0.0539923906, -0.025007749, 0.0575339831, 0.0142195495, 0.0228511635, 0.0577664748, -0.0212902576, -0.0545044206, 0.0206941701, -0.0257733688, 0.0156449508, -0.0372261181, -0.0259539261, 0.025664065, 0.0717235953, -0.0072309203, -0.0204068962, -0.0480443612, 0.0354633145, -0.0348652415, -0.0088970903, -0.0645046234, 0.0173604824, -0.0088079926, 0.021111371, -0.0337519199, -0.0272194035, 0.075268358, -0.0045623137, 0.0071033589, -0.0857751966, 0.0094823381, -0.0149452677, 0.0066169044, 0.0145866144, -0.000869236, 0.0245693959, 0.0118806977, -0.0548056066, 0.0041555096, 0.0076538133, -0.0109634846, 0.0793190226, -0.081646502, 0.011257627, -0.0033348899, -0.022142496, -0.0270050261, -0.0040810052, -0.0170933362, 0.0040629203, -0.0107392045, 0.0219739489, -0.0498350002, 0.0027910341, -0.0118621849, 0.0526285209, -0.0111491196, 0.0047592395, 0.0067227827, 0.0711608231, 0.0558043607, 0.0151817985, 0.0130629111, -0.057118237, 0.0278760791, 0.0506718121, 0.0729485452, -0.0048304526, 0.001986115, 0.0017993246, 0.083170794, -0.0504435971, -0.0182376429, 0.0098263388, 0.0517604984, -0.0731545687, 0.0064559667, 0.1021541432, 0.0022597297, -0.08484184, -0.0184859298, 0.0146389743, -0.000263693, -0.0000494767, 0.0096522272, -0.0649607107, -0.0723096058, 0.0169437565, 0.0254317187, -0.0106287096, -0.0084038107, -0.0244786087, -0.0945861042, 0.0085181659, -0.0079824319, -0.037697643, 0.0073314528, -0.0551214889, 0.0376823321, -0.0488388576, 0.0251694918, -0.0275463443, -0.0020763306, -0.0064435867, 0.0338447616, -0.0055942605, -0.0809430033, 0.0390074961, -0.0182144251, 0.0138440654, 0.0388956219, 0.0192506574, -0.0120233251, -0.0095154634, 0.0664672777, -0.0481946282, -0.0430594906, -0.0410318263, 0.0849887803, 0.0043534972, 0.0200518053, 0.0207587481, 0.0575246215, -0.0185248125, -0.0061430936, 0.0327421762, 0.0553133078, -0.0068781469, -0.0254481062, -0.0127179716, -0.0048903604, 0.0248472076, 0.0897301435, 0.0498182476, -0.0846135095, -0.010121258, -0.0227564145, 0.0076133981, -0.0734139979, -0.0286496766, 0.0076134107, -0.0301459618, -0.022983456, -0.046062652, -0.0162695404, 0.0492333323, 0.0265421383, -0.005859754, 0.0070348238, -0.0046119704, -0.0107313991, -0.0234657414, 0.0728407726, -0.0734830946, 0.0255670287, -0.0765198171, -0.0099148313, -0.008334443, -0.0385722481, -0.028418161, -0.0098849144, -0.0854981095, -0.0350845121, 0.0281267278, 0.059720479, 0.0203271434, 0.0183285214, 0.0032517067, -0.0922660604, -0.0067447568, -0.0101589793, -0.0305589847, 0.0112412814, 0.0474943146, -0.0474741235, -0.0111057442, 0.0319138095, -0.0317674018, 0.0327355303, 0.059456747, -0.0009994082, 0.0077040135, 0.0168104097, 0.0079113422, -0.0079467315, 0.0580845624, -0.0135083357, -0.0273024384, -0.0446302257, 0.0381957926, 0.0226176754, -0.0293487757, -0.0384393148, 0.0018704368, 0.0072994651, 0.0124347387, -0.018642066, -0.0146942483, -0.0147583783, 0.0087945182, -0.0486781411, 0.0478049368, 0.0192287266, 0.0310120564, 0.0562869869, -0.0013274364, -0.0171685778, -0.0039214338, 0.0259168185, 0.035797663, -0.0291319285, 0.0635208711, 0.0237687249, -0.0003544062, -0.0157813169, 0.0105923582, -0.0339795053, 0.0027000676, -0.0115442919, 0.0058392314, 0.042678114, -0.0746538788, 0.031101441, 0.0080900546, -0.0298762489, -0.0616281368, 0.0202167146, 0.0354175791, 0.0044917287, 0.047717914, 0.018916497, 0.0173413828, 0.0082196034, 0.0978907272, 0.035617359, 0.0400041938, -0.0135645783, -0.0146934427, -0.0201617945, -0.0065466603, -0.0036523023, 0.0233877376, -0.0109587247, 0.0293996185, -0.0275073256, -0.0528126396, -0.0134870866, -0.0367734395, -0.0124090817, 0.0109454533, 0.0663141087, 0.0388571471, -0.0313442126, 0.0080828741, -0.026439745, 0.0061272737, -0.0374787115, -0.0183607321, -0.0071186498, -6.84692619e-33, -0.0146270152, -0.0011693384, -0.0124465227, -0.0250053629, 0.0043614749, 0.0376044028, -0.036292579, -0.0463423692, -0.0090069193, -0.0045988713, 0.0162679255, 0.0025139614, 0.0113866562, 0.0682020113, -0.0361551903, -0.0054256711, 0.057346873, -0.0124000246, -0.0293201208, 0.0082885707, 0.0160471126, 0.0334225707, 0.044771675, -0.0249808356, -0.0120192217, 0.0253915116, -0.0142313074, -0.0025199794, -0.009368442, 0.0940177292, -0.0114216581, 0.0635167509, 0.023630511, -0.0532510802, -0.0085037956, 0.00682239, -0.069742173, -0.0405445024, -0.0192863569, 0.019200189, -0.0555955134, -0.0270733014, 0.0127815185, 0.0442951284, -0.0041400986, -0.0435836762, 0.0342862904, -0.0258936603, -0.035321191, 0.0292650983, -0.0187278781, 0.0323376432, -0.0139001766, 0.0134627977, 0.0319322944, 0.0657724366, 0.0007632365, 0.013756033, -0.0303843729, -0.0015216848, 0.029712826, 0.0605198815, 0.0252787415, 0.0686986968, -0.007254404, 0.0542350784, 0.01726369, -0.0234148074, 0.0171022657, -0.0002480298, 0.0424969569, 0.0038355575, 0.0554904342, 0.0208875183, 0.0480606593, -0.0254477095, -0.0879205167, 0.0485911742, -0.007659243, 0.0219263677, -0.0079332916, 0.0108581064, -0.0081099132, -0.0331898034, -0.0416402258, -0.0016005425, -0.0336777493, 0.0002132963, 0.047943186, -0.0116236862, -0.0512651466, -0.0033521715, 0.0287177693, -0.0217371341, -0.0393049419, 0.0171763115, -0.0301492326, 0.0028852383, -0.0030913085, 0.0137380334, -0.0342215002, 0.0014148762, 0.0223128162, -0.0435441211, 0.0003270557, -0.0199086387, 0.0263880976, 0.024672715, -0.051289659, -0.0023270138, -0.0284648575, 0.0076904809, 0.0408132374, 0.0522520319, 0.0317022465, 0.0523163453, 0.0056282054, 0.0659435093, 0.0500709526, -0.0655941069, -0.0133197038, -0.0509511046, 0.0138607016, 0.027070865, -0.0528081469, -0.0122638242, -0.0214308333, -0.025683729, 0.0160437264, -0.0451561436, -0.0235181488, 0.0078499606, 2.824e-7, 0.0475489832, 0.0141593041, -0.0367361121, -0.0046971575, -0.0199563783, 0.0403896123, -0.0043060603, 0.0146157667, 0.0107248006, 0.0308217648, -0.0304600615, 0.0239019264, 0.0843671709, 0.0350011215, -0.0768823996, -0.0350718908, -0.0116491104, 0.0180308241, -0.0296303481, 0.0028670386, 0.0272498224, 0.0893492922, 0.0485889167, -0.0369296186, -0.0310678314, -0.0217973925, 0.0568284057, -0.0492909253, 0.0264050439, 0.0398164466, 0.0171352625, 0.0028291952, -0.0057375301, 0.0610351488, -0.0409178324, 0.000493149, 0.0264391452, 0.0513139889, 0.0144772511, -0.0157314818, -0.0105724642, 0.0426425748, 0.0032691134, -0.0367894992, 0.0994990692, -0.0265441332, -0.021944955, -0.0299629234, 0.0045405673, -0.0286398456, -0.0033741947, -0.0396875888, -0.0481172502, 0.0055492935, 0.0050347103, -0.0059655444, -0.0265065469, -0.0833048895, -0.0083367927, -0.0129337888, -0.0433115922, -0.0408101082, -0.0405129977, 0.004522467, 0.0249298196, -0.0575760826, 0.0188996829, 2.92923297e-34, 0.0112680104, -0.0134308347, -0.006080681, 0.0349353291, 0.0027874529, -0.0355934165, -0.0000924947, -0.0165006425, 0.0331052244, -0.0881065056, -0.0058827209 ]
http://arxiv.org/abs/2406.10671v2
http://arxiv.org/pdf/2406.10671v2
Augmenting Biomedical Named Entity Recognition with General-domain Resources
2024-06-15T15:28:02
2024-06-18T19:33:39
Yu Yin, Hyunjae Kim, Xiao Xiao, Chih Hsuan Wei, Jaewoo Kang, Zhiyong Lu, Hua Xu, Meng Fang, Qingyu Chen
cs.CL
cs.CL
Training a neural network-based biomedical named entity recognition (BioNER) model usually requires extensive and costly human annotations. While several studies have employed multi-task learning with multiple BioNER datasets to reduce human effort, this approach does not consistently yield performance improvements and may introduce label ambiguity in different biomedical corpora. We aim to tackle those challenges through transfer learning from easily accessible resources with fewer concept overlaps with biomedical datasets. In this paper, we proposed GERBERA, a simple-yet-effective method that utilized a general-domain NER dataset for training. Specifically, we performed multi-task learning to train a pre-trained biomedical language model with both the target BioNER dataset and the general-domain dataset. Subsequently, we fine-tuned the models specifically for the BioNER dataset. We systematically evaluated GERBERA on five datasets of eight entity types, collectively consisting of 81,410 instances. Despite using fewer biomedical resources, our models demonstrated superior performance compared to baseline models trained with multiple additional BioNER datasets. Specifically, our models consistently outperformed the baselines in six out of eight entity types, achieving an average improvement of 0.9% over the best baseline performance across eight biomedical entity types sourced from five different corpora. Our method was especially effective in amplifying performance on BioNER datasets characterized by limited data, with a 4.7% improvement in F1 scores on the JNLPBA-RNA dataset.
[ 0.0245281141, 0.056701567, 0.0307713021, -0.0327345133, 0.0207757968, 0.0473316349, 0.012407383, -0.005266963, 0.0104684066, -0.0027885325, -0.0772745907, -0.0479891635, 0.0151372589, 0.0264122132, 0.0503899567, 0.0016761518, 0.0314021967, 0.0294685308, 0.0539429449, 0.0126794707, -0.037889678, -0.0044280598, -0.0126556521, 0.0298753548, 0.0312119611, -0.0018348239, 0.0255194381, 0.0104026282, 0.0604828522, -0.0796345249, 0.0339923054, 0.0258952323, 0.0005256914, 0.0275049992, 0.000001876, -0.0420814045, -0.0236980896, 0.0521031395, -0.0477214493, -0.0021954658, 0.0359702483, -0.0229216889, -0.0053692348, 0.0044092918, -0.0169731118, -0.0598877966, 0.0552405864, 0.0691649541, 0.0165285673, 0.0549262054, -0.0113467481, -0.0104427459, 0.0311729144, -0.0324836038, -0.002272845, -0.0266876109, 0.0557799041, -0.0237739384, 0.0267796535, 0.0066277762, 0.0288395416, 0.0104642138, -0.023183601, 0.0371430628, 0.0207285397, 0.0462809093, -0.0253903475, 0.0034692001, -0.0011780247, 0.0792634711, -0.0383943729, 0.0058450759, 0.0289609563, -0.0044491733, -0.0337622277, -0.0162547063, -0.027641179, -0.0084840888, -0.0563719869, 0.0193807427, -0.0007138189, -0.0268362053, 0.0525502525, -0.0052156569, -0.0005434283, 0.0033476437, 0.010157696, -0.023869399, 0.0423126519, 0.0263273027, -0.0154346386, -0.0155093493, 0.0491752103, 0.0137984622, -0.0137280338, 0.0278525744, -0.0461575314, -0.0386189371, 0.0524075143, -0.0384676829, 0.0350228436, 0.0009476917, -0.0265848003, 0.0156227052, -0.0568335913, -0.0157552026, -0.0341538899, 0.0354854651, 0.0166333728, -0.0294523444, -0.0661658794, 0.0145973656, 0.0029514071, 0.054995846, -0.0136919674, 0.0056639598, -0.0753322765, -0.0307929795, -0.0042728232, -0.0091701457, 0.0503264815, 0.0281421784, -0.0311906263, 0.0279987659, -0.000712794, 0.0095618973, 0.0147705451, 0.0137842372, -0.0350604467, -0.0858121142, -0.0278241523, -0.0332165062, 0.0213437881, -0.0635650828, 0.0360314213, 0.08257287, 0.0333605744, -0.0834684297, -0.0404493697, 0.0135701243, -0.0001103158, -0.0397819802, 0.0067037158, -0.0189213846, 0.0415738039, -0.0029925166, -0.0061890688, -0.0705566853, 0.0121398922, -0.0081284158, -0.036549259, 0.1171132103, -0.0565684177, -0.048934564, 0.0259944201, 0.0084860967, -0.0287741739, 0.0292141289, 0.0230236333, -0.0621876977, -0.0147575485, 0.0002919011, -0.0319217406, 0.0054554259, 0.0175337493, -0.0647004172, 0.0477718078, 0.0102356039, 0.0035185511, 0.0591476895, 0.0223270375, 0.0267911274, 0.0130942166, -0.0152274864, 0.0127238855, 0.0455230027, 0.004074025, -0.0291042905, 0.0141580431, 0.0116988244, 0.0137136392, -0.0487901978, -0.0281345956, 0.0136410287, 0.0097343652, 0.0271789283, -0.0121502047, 0.0425079465, -0.0258833636, 0.0150563903, -0.0046102037, -0.0084942821, -0.0166994836, -0.0021211226, 0.0577570722, -0.0076247058, -0.0670374259, 0.066968441, 0.0766128749, -0.0338244848, 0.0416482836, -0.0285528116, -0.0120663485, 0.0176618248, 0.0059828102, -0.062717706, -0.0758941695, -0.0538547486, -0.0391278677, 0.0264490042, -0.009112794, -0.0169283394, 0.0586064272, -0.0401288196, -0.0078582549, 0.0187989231, 0.0302593522, 0.0164492633, 0.0005544798, 0.0600846559, 0.006732767, -0.0480627529, -0.0270567462, 0.0585350618, -0.0861785114, -0.0340220332, -0.0047551203, -0.0090609267, 0.0531862192, 0.0105599547, -0.0161020327, 0.0253775362, 0.0274617393, -0.0431527607, -0.0063449596, -0.0393272899, 0.0070814998, -0.0413199142, 0.0079688085, -0.0092246868, -0.012667465, 0.0151158078, -0.043343693, -0.0238216873, -0.0457435101, -0.0081280163, 0.0040189661, -0.0049076616, 0.012465464, 0.0065080142, 0.0146477036, -0.0232316703, 0.0047633993, 0.0062638191, 0.0005284719, 0.0199434869, -0.0601244643, 0.0236813333, -0.0500400066, -0.0083521297, 0.0040601119, -0.0108521078, -0.0288110841, -0.0396593735, 0.0061123166, -0.0448519625, 0.0154024158, -0.0838343725, -0.001795989, 0.0323668011, 0.0560505278, 0.0111848004, 0.0303265378, 0.0129636172, -0.0236420557, -0.0224585924, -0.0192209166, -0.0439398028, 0.0039006588, 0.0315689556, 0.0093240803, 0.0222433265, -0.0313108191, 0.0074620927, -0.0439872257, 0.0282580163, 0.0124717876, -0.0624889545, -0.0422869846, 0.0130918333, -0.0181902293, 0.0009570688, 0.0093400469, 0.0200030375, 0.0117862718, 0.0409938693, -0.014491776, 0.0610275716, -0.0126827732, 0.0129098892, 0.0112398192, 0.0232508592, -0.0216239616, 0.0133134667, -0.007441727, 0.0457568653, 0.0022607257, -0.030559754, 0.0266346447, 0.0764385089, -0.0260435045, -0.0104592992, -0.0244957525, 0.0227076765, -0.0195596907, -0.0193777364, -0.0240966696, 0.0444494188, -0.0514228493, -0.0019183765, -0.0084613487, -0.0129429363, 0.0911321416, -0.0205967743, -0.0008723299, -0.0514032133, 0.0041196216, -0.0422059707, 0.0032523002, -0.0039969701, 0.0037727533, 0.0623990148, -0.0459369048, 0.0168951619, 0.0626976341, -0.0179446228, -0.0449434333, 0.0352525935, -0.0255474411, 0.0358041562, -0.0021646935, -0.0348117091, -0.0426593646, 0.0392042771, -0.0408231579, 0.0349158682, 0.0056873197, -0.0249432325, -0.0449172333, 0.0320702493, -0.0101362942, 0.0645754561, 0.006154242, -0.0111136818, -0.0114007862, 0.0209037252, 0.0275220443, 0.0099487873, 0.01489715, -0.0141014447, -0.0490418226, 0.0406559892, -0.0088236993, -0.0019831113, 0.0142026506, -0.008326048, 0.0317080989, -0.0384513438, 0.0219284687, -0.0018331361, 0.0737027749, -0.0231647901, -0.0150738666, 0.0859769806, 0.0081131626, -0.0364935957, 0.0036721295, -0.0048238947, -0.0195643753, -0.0165333543, 0.030467758, -0.0473573506, -0.0666141063, -0.0045683333, -0.0034560792, -0.0032682759, -0.0919670984, -0.009133786, -0.0801004544, 0.0063644736, -0.0182255078, -0.0760805383, 0.0033506178, -0.0691966042, 0.0060476554, -0.0749085993, 0.0112953018, -0.0566753857, -0.0054850066, -0.0102433292, 0.0284986384, 0.0245815665, -0.1247149184, 0.0130175585, -0.0531144328, 0.0503308773, 0.0380419828, 0.0469700061, -0.0254990179, 0.003957069, 0.0348715261, -0.0150053035, -0.0278513972, 0.0110917585, 0.0800601542, -0.0120450491, -0.0237374287, -0.0264756996, 0.0168594811, -0.0552357771, -0.0185669959, 0.0003962622, 0.0734823644, 0.0162890106, 0.005975272, -0.0378333218, -0.0440335758, 0.0422416963, 0.0574159697, -0.0013602335, -0.0493012518, -0.0128301987, 0.0294801593, 0.0332292765, -0.0374558307, -0.0036872949, 0.0303393453, -0.0768239126, -0.016117882, -0.0418968685, -0.0381110124, 0.0408194438, 0.003417219, 0.0464899689, 0.0247292072, 0.0643004254, -0.0040427037, -0.0611781813, 0.0650439858, 0.0207807831, 0.0186679978, -0.0703346133, -0.0562190451, 0.0524078272, 0.0291713234, -0.0393887609, 0.0352654941, -0.0170610882, -0.0369820409, -0.0305926371, 0.040031869, 0.0136924097, -0.0136500681, 0.0070601422, -0.0078898137, 0.0450384319, 0.0470203049, -0.0506418571, -0.0348074399, 0.0098035326, -0.0223993883, -0.0313614383, 0.0202038884, -0.0065530892, 0.0342381001, 0.0264641549, 0.0351922289, 0.0106196264, -0.0110794548, 0.0211334229, 0.0488386117, 0.0703952387, -0.0266336072, -0.0192333292, -0.0546413623, 0.0000206293, 0.0179744046, 0.0671506971, -0.0329333097, -0.0214715619, 0.0492371693, 0.0079566548, -0.0407972746, 0.0635750219, -0.0221251007, -0.0077298349, -0.0486870743, 0.0270695165, 0.0181301255, 0.0355488583, 0.0422282778, -0.0236979201, 0.0126075577, 0.0167393703, 0.0290132165, 0.0079717813, -0.032464847, -0.0026750192, 0.0083311703, 0.0616831258, -0.007343139, 0.0528916605, -0.0419920608, 0.0187969003, -0.028359253, -0.0038228328, 0.0364812724, 0.0014112819, 0.0595917813, 0.0242024641, -0.015541275, -0.0189839266, 0.0285357777, -0.0542785376, 0.0526542515, 0.069133468, 0.0235859435, -0.036247205, -0.0360341296, 0.0771314055, 0.0411110893, 0.0733961985, -0.0015381853, -0.0337081216, -0.0297529045, -0.0193401966, 0.0089357495, -0.0257972106, -0.05225759, 0.0060552345, -0.0221477207, -0.0538365543, 0.0644001961, -0.0582157411, -0.0236611683, 0.0173218045, 0.0339228474, -0.0143082719, 0.0102208396, -0.0332709253, 0.0133514581, 0.0242310017, -0.0038793955, -0.052166678, 0.0091662249, -5.921131818e-33, -0.0024379485, -0.0383424461, 0.0001073553, -0.027659433, 0.0008160993, 0.0326007456, -0.04381698, -0.0298486296, -0.0163132232, 0.0119204763, -0.0079371519, 0.0048756478, 0.0316245481, 0.0222792495, 0.0161982458, -0.0325245038, 0.0434620492, 0.0217448808, -0.0089015532, 0.0016014287, 0.023421064, 0.0973502845, 0.0840616524, -0.0954278708, 0.0245754551, 0.0505727753, 0.0368971005, -0.0078900438, 0.0250170939, 0.0451387614, -0.0578617677, 0.0294028576, 0.0097989216, -0.0578038469, -0.0150704449, 0.0084139919, -0.1229297295, 0.0099358438, -0.0175378621, -0.0021330728, -0.005602892, -0.0365258679, 0.0251737423, 0.0010379275, -0.0134794787, -0.0083681028, 0.0606427751, -0.0124058379, -0.0337706134, -0.0378288627, -0.0835951194, 0.0370615572, 0.0370593965, 0.0417269431, 0.0422506072, -0.008732683, -0.0170401633, 0.052179642, -0.0518624149, -0.0247864947, 0.0095772389, -0.0065917852, 0.0001617565, 0.010021572, -0.0107524954, 0.0300718062, 0.0114086717, -0.021075232, -0.0238211583, -0.0073866392, -0.0264696293, 0.0218965225, 0.0022035767, 0.0203560386, 0.0462740958, -0.0247177389, -0.0938687697, 0.03833922, -0.048537828, 0.013394597, -0.0066980966, -0.0320493728, -0.0093258424, 0.0077017294, 0.0014450719, -0.0078749405, -0.0281159095, -0.0030053882, 0.0104739266, -0.0350125767, -0.0232477952, 0.0440849029, 0.001807745, -0.0422556959, -0.0465793312, 0.0204104017, 0.0832393244, -0.0012696746, -0.011429389, -0.0049393247, -0.0593997203, -0.044565361, 0.0285078548, 0.0057322322, 0.0753711313, -0.025086686, 0.0624856465, -0.019145418, -0.0315982923, -0.0198416356, -0.0204937346, 0.0104896119, 0.0218457729, 0.0845648497, 0.0266325735, 0.0173198357, 0.0087355748, 0.0463028066, 0.0472634062, -0.0099740094, 0.0073181484, 0.0237283017, 0.0385844745, 0.0308239665, -0.0225117635, -0.0295539722, -0.0177731905, 0.0348579772, -0.0047831931, -0.0678018406, -0.008415713, -0.0247290973, 2.681e-7, 0.071313709, 0.0173962675, 0.0052672164, -0.0255723502, -0.0003303307, 0.0121573908, -0.0141973859, 0.0364989899, -0.0527421609, -0.0035894208, 0.0013349586, -0.0244445596, 0.0314259827, 0.0152467648, -0.0851655006, -0.0733477622, -0.042500481, -0.0112278527, -0.0237419326, 0.0066380589, -0.0055820257, 0.0721312389, -0.0021231791, -0.0458250605, 0.0128082559, 0.008111882, 0.0472658575, -0.0193791613, 0.0108936662, 0.0420450866, -0.0242266655, 0.0414403938, -0.0214854218, 0.0470339321, -0.0401796587, -0.013910233, 0.0276293512, 0.0766128525, -0.0383586809, 0.0056185951, 0.0393539369, 0.0091445064, 0.0340656713, 0.0048608351, 0.0270668138, -0.0741800815, -0.0627639815, 0.0122057758, 0.022219345, 0.0115810484, 0.0306901652, -0.0214609262, 0.0332590789, 0.0248795748, 0.0303899683, -0.021678526, -0.0298577044, -0.0683602393, -0.0001636111, 0.0805840567, -0.019437572, -0.0050759306, 0.0049333684, -0.0196488686, 0.0428336971, -0.0958252698, 0.0322101228, 2.187441851e-34, 0.0079550827, -0.0151082128, 0.0040295986, 0.058257509, -0.0065112817, -0.0244290661, -0.0369319431, -0.0207586419, -0.0175715927, -0.0374612436, 0.0045151263 ]
http://arxiv.org/abs/2406.10660v1
http://arxiv.org/pdf/2406.10660v1
DIEKAE: Difference Injection for Efficient Knowledge Augmentation and Editing of Large Language Models
2024-06-15T14:57:39
2024-06-15T14:57:39
Alessio Galatolo, Meriem Beloucif, Katie Winkle
cs.CL
cs.CL
Pretrained Language Models (PLMs) store extensive knowledge within their weights, enabling them to recall vast amount of information. However, relying on this parametric knowledge brings some limitations such as outdated information or gaps in the training data. This work addresses these problems by distinguish between two separate solutions: knowledge editing and knowledge augmentation. We introduce Difference Injection for Efficient Knowledge Augmentation and Editing (DIEK\AE), a new method that decouples knowledge processing from the PLM (LLaMA2-7B, in particular) by adopting a series of encoders. These encoders handle external knowledge and inject it into the PLM layers, significantly reducing computational costs and improving performance of the PLM. We propose a novel training technique for these encoders that does not require back-propagation through the PLM, thus greatly reducing the memory and time required to train them. Our findings demonstrate how our method is faster and more efficient compared to multiple baselines in knowledge augmentation and editing during both training and inference. We have released our code and data at https://github.com/alessioGalatolo/DIEKAE.
[ 0.053749457, 0.0739546567, -0.0048941048, 0.0497131683, 0.0137598533, 0.0147580393, -0.0209033974, -0.0242696535, -0.0069266437, -0.049909208, -0.0416911803, 0.0043933806, 0.0111264661, 0.0372790582, 0.0585310087, -0.0551711656, 0.0402152687, -0.0257013477, -0.013951703, -0.007620953, 0.0006568632, -0.0196863804, -0.0020337598, -0.0157944839, 0.0187740996, 0.0168497413, -0.044873029, 0.0047388743, 0.0240604095, -0.004637938, 0.0242089778, 0.0235361587, 0.0357723162, 0.0396055542, 0.0000023555, -0.035151884, 0.0004738419, -0.0351307504, -0.0594884232, 0.0719077364, 0.0037102164, -0.0329865068, -0.0105593074, 0.0137803303, -0.0238389187, -0.0383110456, 0.0581724308, 0.0048923506, 0.0867754221, 0.1102514192, -0.0068681063, -0.0151773402, 0.055474598, -0.0551283509, 0.0155826155, 0.0031176663, 0.0413269587, -0.0207975376, -0.0482577756, 0.0107886596, -0.0227043908, 0.0508795008, 0.0406866409, -0.0268116128, 0.0413683467, 0.0480058603, 0.0172996093, -0.0301066563, -0.0271698348, 0.049641788, -0.0228008274, -0.0324786827, -0.0236357693, -0.0155619504, -0.0080951918, -0.0230468083, -0.0190474689, -0.0108138202, 0.0405075103, 0.0397185721, 0.0217793472, -0.0244373195, 0.0544328354, -0.0040732231, -0.0339718983, 0.0459103957, 0.0529982559, -0.0298449658, 0.0051029879, 0.0026916864, 0.0043201186, -0.0642520562, -0.0012430721, 0.0549864881, 0.0393690281, 0.0283923242, -0.0525678396, -0.0359601416, -0.0106334332, -0.0774561167, 0.0523950607, 0.0706250668, -0.0401118547, 0.043419417, -0.0607752167, 0.0511641204, -0.002445623, 0.0396488942, -0.0419182442, -0.000714977, -0.0161883943, -0.0231448133, -0.0319896266, 0.0212701205, -0.0406511985, -0.0021487318, -0.0413532741, 0.0517727174, 0.0086483285, 0.0104171075, 0.0077223387, 0.0001868963, -0.0151785025, -0.0191240031, -0.0475174077, 0.0458678119, -0.0152230328, 0.0306538753, -0.0249267109, -0.0737899989, -0.0189848226, -0.0045512309, 0.0278640855, -0.0004303528, 0.0232831854, 0.0438755825, -0.0540000871, -0.0497166812, -0.0580951385, 0.0063339802, 0.0471698381, -0.0813798234, 0.0086113364, -0.0421155021, 0.0560928248, -0.0225231498, -0.0105141979, -0.0817619264, 0.0283822659, 0.0013288489, -0.0416843705, 0.0779385269, -0.072586745, 0.0069512492, 0.0521998517, 0.0174018331, -0.019594023, 0.0774691105, 0.031343285, -0.0028826476, 0.027661467, -0.0119419098, -0.0063920668, 0.0535747483, 0.0390459523, -0.0015596659, -0.0536404736, -0.0072143697, 0.0311511215, 0.0034867623, 0.0526416227, 0.0047125435, -0.0436017737, 0.0169880539, 0.0672633424, -0.0003384212, 0.0182116348, -0.0041270168, 0.0305687375, -0.0382986329, 0.0461486168, -0.025333574, -0.0473951399, 0.0078891283, -0.0172233414, 0.0069044721, 0.0407009274, 0.0285550244, -0.0312244631, -0.042518124, 0.0226570927, -0.0274583306, 0.0238653142, 0.0090213083, 0.0446320698, 0.0167435221, -0.0338067561, 0.0631469488, 0.0421502702, -0.043775361, 0.0123085445, -0.0284364913, 0.0187822431, 0.0849227831, 0.0276111495, -0.0211406648, -0.042686414, 0.0195143577, -0.005444482, 0.0348956436, 0.0329844914, -0.0161524918, 0.018856246, -0.0727613941, -0.0093419598, -0.0324630253, 0.0229145288, 0.0295063928, 0.0637504384, 0.0140418373, 0.04524941, -0.0033361488, -0.0043614455, 0.0301494859, -0.0544567183, -0.0394364074, -0.0050247633, 0.0013889876, -0.0133647406, 0.0083820252, -0.004210542, -0.0077251988, 0.0386249647, -0.0595722534, -0.0097279046, 0.01516126, -0.0342152901, -0.0687612891, 0.0594339333, 0.0320629962, 0.01063741, 0.0055668065, -0.0360376909, -0.0560605377, 0.0294635259, -0.0049676797, 0.1162988022, -0.0534894392, 0.0312127974, 0.0001974475, 0.0137979444, 0.0141458977, 0.0655479953, -0.0049107727, -0.0222371612, -0.0047623548, 0.0265219398, -0.0182933398, 0.0060304184, -0.0277711712, 0.023698058, 0.0219130591, 0.0023051419, -0.0386856869, 0.0008557097, -0.0425775349, -0.0044148546, -0.089301385, 0.0057722307, -0.0119739072, 0.0199771579, 0.0300675742, 0.024788782, -0.0249105748, -0.0457518362, -0.0187936034, 0.0257184375, -0.0345517471, 0.0192464422, 0.0024339855, 0.0222348031, 0.0015162212, -0.03373475, -0.0016515593, 0.0280180648, 0.0318948999, -0.0149310911, -0.0322857685, -0.0413550176, 0.0234474204, -0.0502681397, 0.0426261872, -0.0258396994, -0.067334801, -0.0320753567, -0.0216229558, 0.0431511141, 0.0213919897, -0.020506708, 0.0335566439, 0.0733150914, -0.0160899796, -0.0215551108, 0.0105158752, -0.0150592159, -0.0097096972, -0.0440206155, 0.0317899287, -0.0221291836, 0.0622508042, -0.0220225807, -0.0106024481, -0.0408254415, -0.0148162972, -0.007541236, -0.0393428281, -0.0211995635, -0.0452202372, -0.0382369049, 0.0355748199, -0.0395639241, -0.0442911834, 0.0588883124, -0.0556076057, -0.0208436549, -0.0142524345, -0.0223613102, -0.0185844563, 0.0327325426, 0.0410547629, 0.0243989676, -0.0352442414, 0.0011057663, -0.0268842857, 0.0178619605, 0.0011672566, -0.0320584401, 0.0416066274, -0.0729320422, -0.0024320306, -0.0199792162, -0.041092746, -0.0587863401, -0.0109140351, -0.0348766148, 0.0079881633, -0.0106866686, -0.0291294456, 0.001297108, -0.0105320113, 0.0070620961, 0.0940754265, -0.0153524904, 0.0221674964, -0.0357602164, 0.0066893944, 0.0285691936, 0.0226051454, -0.0288141258, -0.0276538059, 0.0113999713, 0.0167176612, 0.0072824568, -0.0375771075, -0.0254241694, 0.0213426128, 0.0074741356, -0.0319331922, 0.0004286945, -0.0107210707, 0.0284002349, -0.0713702217, -0.0066907536, 0.1192146614, 0.0206503756, -0.0539716631, -0.0092942687, -0.0083667822, -0.0137611246, 0.0540039465, 0.034489464, -0.0719729513, -0.0387966707, 0.0168221015, 0.0088907517, -0.003533686, 0.0053571975, -0.0393769555, -0.1528463364, -0.016701499, 0.0206121318, -0.0247243661, -0.0455676056, -0.0229583066, 0.002916663, 0.0236724373, -0.0044304254, 0.0231533311, 0.0152707463, -0.0023926676, 0.0179924164, 0.0043432605, -0.0774395987, -0.0349468701, -0.0052161706, 0.0765966475, 0.0371400975, -0.0054086223, 0.0017872809, -0.0324609913, 0.0334031917, -0.0112246303, -0.0139052002, 0.0097208759, 0.0511839613, 0.0033318326, -0.0174813271, 0.0420414358, 0.025687214, -0.0193576571, -0.0279058199, 0.0086162314, 0.0584860854, -0.0153104216, -0.001678945, 0.0315873735, -0.0375394709, -0.0292836335, 0.0477314517, 0.0403282419, -0.020630179, 0.0314616077, -0.0318417922, -0.0190941431, -0.0207528658, 0.0227663517, 0.0058194064, -0.0136024253, -0.0292548835, -0.0597853065, -0.0286122747, 0.0521612987, 0.032503739, 0.0348864086, -0.0027993368, 0.0009336448, -0.0432276838, -0.0831603855, -0.0093237944, -0.0343438648, -0.0185378958, -0.0250784811, -0.0504296906, 0.0210004095, -0.0024507081, -0.0056812181, -0.0159916915, -0.0799985752, -0.0809049085, 0.0066033956, 0.0684120655, 0.0203485414, 0.0795888081, -0.0202403553, -0.0369047336, 0.0914867371, 0.0187753383, -0.0458797626, 0.0440163463, 0.0270480327, -0.031922061, 0.0083811944, 0.0212406237, -0.0293602552, -0.0251800008, 0.0294644032, 0.0075728176, -0.0258191749, -0.0228263903, 0.0001855665, -0.0087288888, 0.0435168147, -0.0031772447, 0.0054258257, -0.0632167235, 0.0740877837, -0.0381472111, -0.005579683, -0.0390247181, -0.0240473561, 0.0257546529, 0.0343285315, 0.0092174727, 0.0076226182, 0.0284497086, 0.0198547021, 0.0240212455, -0.0135410801, 0.0443606153, 0.037913058, 0.0410380997, 0.0239332635, -0.0106664868, 0.0338623896, 0.0140943155, 0.0094107762, -0.0632278249, 0.0170209073, 0.0108038578, -0.0212097447, -0.0517222695, 0.018898325, -0.04601679, -0.0334776156, -0.0246407147, 0.0606278852, 0.0581590272, 0.002673276, 0.0540088378, -0.0176811349, -0.026188245, -0.0029243834, 0.0163358822, -0.028599374, -0.037695311, 0.0433740318, 0.0053833323, -0.0133102871, 0.0176962093, 0.0630751327, 0.0097507862, 0.1063461155, -0.0353706479, 0.0235421788, -0.022318963, -0.0105719212, 0.0250965748, 0.0261672772, -0.0281554591, 0.0064704441, -0.0106512653, -0.0852731764, -0.0031979608, -0.0103004249, -0.0287780594, 0.0198403765, 0.0357354954, 0.0160137769, -0.001763424, -0.0044487398, -0.0232931897, 0.0159567744, -0.0133448308, -0.0150041208, 0.0262613129, -7.350175893e-33, -0.0520701595, 0.0055029131, 0.0257975906, -0.0236827452, -0.0555888116, 0.0075562387, -0.0477230325, -0.0243112855, 0.0190732237, 0.0023496274, -0.0168072134, 0.0141531955, 0.0050349738, 0.0180951953, 0.0127592841, 0.0089897187, 0.0630003959, 0.0004668236, -0.0163850468, 0.0220943596, 0.0282043796, 0.0620963387, 0.0893369615, 0.0195030998, 0.0109233912, 0.013098605, -0.0043375152, 0.0255440976, -0.0040417393, 0.0347704291, -0.0489372015, 0.0365412645, 0.0084594749, -0.0287152342, -0.0135413148, -0.0049809245, -0.0752344131, -0.044853799, 0.023442369, 0.0420398004, -0.0215247124, -0.0578281544, 0.0459407419, 0.0040515643, 0.0112446938, 0.0159144327, 0.0097314445, -0.0349280052, 0.0078685684, 0.00488983, -0.0489256568, 0.0031624679, -0.0087141171, -0.01009156, 0.0381155051, -0.0390108228, 0.0194545258, -0.02643409, -0.0962352529, 0.009773979, 0.0570072643, 0.0651531965, 0.029242849, 0.0413318612, 0.0214724988, 0.043321453, -0.0060525169, -0.050288178, -0.0129537247, 0.041255895, 0.0532558188, -0.0048563248, -0.0012169634, 0.0284891576, 0.0627846494, -0.040363282, -0.0596621074, -0.0075848051, -0.0057449713, 0.0260535665, -0.0043117921, 0.0214099698, 0.0119133918, -0.0416134596, -0.0461652651, -0.0142617216, -0.0325152017, -0.0350025669, 0.0246166829, 0.0451345704, -0.0134687703, -0.0212830175, 0.0018739406, -0.036932312, 0.0020980225, 0.0197044984, -0.0321411416, 0.0343009159, 0.0020002427, 0.0169455092, -0.059424676, -0.0167539753, 0.0421497487, -0.0250430275, 0.0030580224, -0.0067486623, 0.040224921, 0.0573742837, -0.0770278871, 0.0135358283, -0.052689895, 0.0131884655, 0.0371842198, 0.0459192209, 0.0074863913, 0.0163906794, -0.0261577833, 0.0198028851, 0.0289589316, 0.0220601968, -0.0279199779, -0.0172624234, 0.0253168568, 0.0379453972, -0.042786587, 0.0190626159, -0.0245522894, 0.0046263491, 0.0148491515, -0.0595541112, 0.0069796531, 0.0090543488, 3.082e-7, 0.0422571786, 0.04384505, 0.0117058279, -0.0037416955, 0.0249916837, 0.0253197923, -0.0448817573, 0.0269117877, 0.0240389965, -0.0098196231, 0.0088645723, 0.058740627, 0.0247547738, 0.0008683334, -0.0941830724, -0.015669357, -0.0331258476, -0.0201365519, -0.0557150207, -0.0402628817, 0.0271888226, 0.0902365521, 0.0577728115, -0.0174937453, -0.011162567, -0.0050903601, 0.082389608, -0.0052916287, -0.0203622151, 0.0048938436, 0.0524676032, 0.0656176731, -0.0298004895, 0.0225530546, -0.0482303314, 0.0264393725, -0.021673426, 0.0536556393, -0.0167593453, -0.0078598754, -0.0019329382, 0.0280609094, -0.0174774118, -0.0391078666, 0.0834639519, -0.0174858961, -0.029549472, -0.0254029054, -0.0175723936, -0.0060355281, 0.004321978, -0.0410403274, -0.0276562739, 0.0117315957, 0.0282432679, 0.0103424098, -0.0478559472, -0.0896590799, -0.037270993, -0.0116741201, -0.0065088351, -0.0633165091, -0.0524035878, -0.0159101207, 0.0248887613, -0.0372539498, 0.0395072103, 2.651074042e-34, 0.0068676015, 0.0001253512, 0.0087142494, 0.0434931852, 0.0219729338, -0.0257149674, 0.018752316, 0.0055714957, -0.0085617891, -0.090678975, -0.0010713548 ]
http://arxiv.org/abs/2406.15471v1
http://arxiv.org/pdf/2406.15471v1
Improving Large Models with Small models: Lower Costs and Better Performance
2024-06-15T14:44:43
2024-06-15T14:44:43
Dong Chen, Shuo Zhang, Yueting Zhuang, Siliang Tang, Qidong Liu, Hua Wang, Mingliang Xu
cs.CL
cs.CL, cs.AI, cs.LG
Pretrained large models (PLMs), such as ChatGPT, have demonstrated remarkable performance across diverse tasks. However, the significant computational requirements of PLMs have discouraged most product teams from running or fine-tuning them. In such cases, to harness the exceptional performance of PLMs, one must rely on expensive APIs, thereby exacerbating the economic burden. Despite the overall inferior performance of small models, in specific distributions, they can achieve comparable or even superior results. Consequently, some input can be processed exclusively by small models. On the other hand, certain tasks can be broken down into multiple subtasks, some of which can be completed without powerful capabilities. Under these circumstances, small models can handle the simple subtasks, allowing large models to focus on challenging subtasks, thus improving the performance. We propose Data Shunt$^+$ (DS$^+$), a general paradigm for collaboration of small and large models. DS$^+$ not only substantially reduces the cost associated with querying large models but also effectively improves large models' performance. For instance, ChatGPT achieves an accuracy of $94.43\%$ on Amazon Product sentiment analysis, and DS$^+$ achieves an accuracy of $95.64\%$, while the cost has been reduced to only $31.18\%$. Besides, experiments also prove that the proposed collaborative-based paradigm can better inject specific task knowledge into PLMs compared to fine-tuning.
[ 0.0130289365, 0.0826779604, -0.018590074, 0.0133560551, -0.0442161784, 0.0178087968, 0.0657872409, -0.01083457, 0.0001747413, -0.0580449998, -0.0532230511, -0.0167151932, -0.0428414568, 0.0682078898, -0.0147302076, -0.0660319924, 0.002892331, 0.0181711074, -0.0089553874, -0.0263386276, 0.0103715491, -0.0049145985, 0.0065954747, 0.0154176438, 0.0021504385, -0.0283849072, -0.0031491134, 0.0241674632, -0.0103793554, -0.0084437076, 0.0459976234, 0.0237766616, 0.0254272856, 0.0378672294, 0.0000024076, -0.0218051765, -0.0249954574, 0.011857125, -0.0112340348, 0.009228386, 0.0731648281, 0.0251603778, 0.0298745483, 0.0246856287, -0.0523550846, -0.0057713343, 0.0388430431, 0.0547199585, 0.0355844796, 0.0666675642, -0.0185920242, 0.0065776519, -0.0107155088, -0.0470146686, 0.0051643834, -0.0537000746, 0.0079850461, 0.0014944648, -0.0142331105, -0.0051105246, -0.0094007282, 0.0327749252, 0.0249372106, 0.0295685809, 0.0607380718, 0.0182413403, -0.0405780002, -0.0149597861, -0.0274226181, 0.0534274578, -0.0477141961, 0.0031074751, -0.0146544706, -0.0137716271, -0.0221433192, 0.0046232231, -0.0381670035, -0.0282090399, 0.0118928934, 0.0084547838, -0.044113528, 0.0185254253, 0.0167596154, 0.0080862762, -0.0130587853, 0.0109759988, -0.0311229974, -0.032565143, 0.0119813336, 0.0298147891, -0.0236655232, -0.0379295945, 0.0060377885, -0.0175609495, -0.0472063459, -0.0257306043, 0.0049491944, -0.013806331, -0.02875554, -0.0584075749, 0.0387478396, 0.0221716203, -0.0131737785, 0.0718043223, -0.0118166059, -0.0017895079, -0.0008611833, 0.009189277, -0.0440364666, 0.0387524553, -0.0947198421, -0.0060152635, -0.0383926667, 0.054708235, -0.0648909807, -0.0360476002, -0.0488920994, 0.0251887944, -0.0121281389, -0.0192492735, 0.0270634107, 0.050238464, -0.0114910807, 0.0075338003, 0.0035497178, 0.0537599139, -0.0281881224, 0.0410487652, 0.0004048656, -0.0460339189, 0.0150763765, -0.0069726198, 0.0009695207, -0.0136284437, 0.0276776366, 0.052268032, 0.0028620509, -0.0344662778, -0.0198967252, -0.0346669443, 0.0190367643, -0.0663984641, -0.0134806968, -0.0220321305, 0.0380102135, 0.0214347728, 0.0271063074, -0.0151128341, -0.0250464529, -0.0051364866, -0.0443763956, 0.0948758125, -0.0000143216, 0.0191967525, -0.0212510079, 0.0294956565, -0.0576246716, 0.0665315986, 0.0039252015, 0.0820704103, 0.0421712846, -0.0168732367, -0.0029344533, -0.0098866997, 0.0063723777, -0.0245873537, -0.0066941939, 0.0183975603, -0.027304871, -0.0208166391, -0.0097695002, 0.0162448473, -0.0244402401, 0.0420300998, 0.0995428264, 0.0266559049, 0.0504256971, 0.0485354997, -0.0069449292, 0.0200455692, -0.0052723684, -0.0509014167, -0.0457563177, 0.027287228, -0.0291183721, -0.0051443363, 0.0179775394, 0.0443719216, -0.045921687, -0.0379474498, 0.022133762, -0.0340116546, -0.0062262211, 0.0412901007, 0.0616089478, -0.0507336818, -0.0120589174, 0.0210980717, 0.043125134, -0.0393952988, -0.0378949493, -0.0721694753, 0.0378736146, 0.0792946666, 0.0363156386, -0.0437503159, -0.0125057427, 0.0017030953, 0.01592784, -0.02826377, 0.0726110488, -0.0057531032, -0.014017446, -0.0264535118, -0.0332175791, -0.0127769178, 0.0312246159, 0.0275700539, 0.0070831366, 0.0142156351, -0.0004402143, 0.0003563529, -0.0308833644, -0.0097407484, -0.0251768753, -0.0069420203, 0.0093891211, 0.0199919436, 0.0547728986, 0.0138767408, -0.0144168139, -0.0117967455, 0.0290990304, -0.0442351103, -0.0570101105, 0.015318268, 0.0046715825, -0.0076483102, -0.0119951945, 0.0235601626, 0.0244889427, 0.0051571038, -0.0458792038, -0.026606515, 0.0261870455, -0.0044747279, 0.0434337258, -0.0144536886, -0.0320559666, -0.0338292979, 0.0010045595, -0.0311472882, 0.0489622951, 0.0348000117, -0.0156925358, -0.0439076908, -0.0126809534, 0.0098184366, -0.0056910543, -0.0137809599, 0.0302403308, 0.0251901932, 0.0199876074, 0.0395666249, -0.0129290447, -0.0214399491, -0.0112587595, -0.0886846632, 0.0270061474, -0.0072616744, 0.0199639481, -0.00128829, 0.0166376326, 0.0065800049, -0.0064046616, -0.034809269, 0.0331270024, 0.0027772891, 0.0548871197, -0.0027243737, 0.0383378938, -0.0146638518, -0.0167451389, -0.015696818, 0.0114227859, 0.0217916854, 0.031256102, -0.0345089138, -0.0283662062, 0.0319318548, -0.0358592272, 0.0006981511, -0.0205553155, -0.0264525674, -0.0330236889, -0.0197513849, -0.0018684779, 0.0650415197, -0.0282439478, 0.0106205475, 0.0092614871, -0.0175160915, -0.0648843721, 0.02331312, -0.0301830303, -0.0267253406, -0.0185347144, 0.0154374847, -0.0341719948, 0.0475506932, -0.0359369963, -0.0254911017, -0.0563996397, 0.0405918546, -0.0068370844, -0.0382317007, -0.0040098969, 0.0134884669, 0.0271092486, 0.0190213863, -0.016025424, -0.0696467906, 0.0391536169, 0.0174449086, -0.0103227841, -0.0454305299, -0.03541122, -0.045693893, 0.0763127357, 0.0227344371, 0.0199597012, -0.0619573668, 0.0161674302, -0.0202418827, 0.0176449195, 0.0157758482, -0.0308652837, 0.0156270899, 0.0089782467, 0.0153138041, -0.0327994488, -0.0713248402, -0.0039832625, -0.0473884493, -0.0509983636, 0.0058330912, 0.036317002, -0.0430050865, -0.0382725894, 0.0307900645, -0.017846344, -0.0020112884, -0.0147283254, -0.0407004766, 0.0163904577, -0.0450179391, 0.0043624733, -0.0120163132, 0.0101618273, -0.0284505021, 0.0321034454, 0.0670494884, 0.055056002, -0.0463239625, -0.0692260414, -0.0256626811, 0.0085236374, 0.0072623887, -0.0236242656, -0.027625028, 0.0585146993, -0.0329205357, 0.0127532482, 0.1046589389, -0.0079512289, -0.0580827929, -0.0031605931, 0.0348107703, 0.008271819, 0.0228642765, 0.0110636149, -0.0574959964, -0.0405667983, 0.0206800606, 0.0495273098, 0.005250114, -0.0352176987, -0.0110151051, -0.1098338366, 0.04311046, 0.0029372945, -0.0161048267, -0.018168224, -0.0540726818, 0.0004934866, -0.0641192198, -0.0025764175, -0.0210664421, -0.0216152575, 0.0115334541, 0.0356100462, -0.0080122529, -0.0691456571, 0.0230082981, -0.0293374248, 0.0209567454, 0.0550279953, -0.000301504, 0.0181688853, -0.010909128, 0.0487487577, 0.0478977039, 0.0249835495, -0.0274374336, 0.1209781393, -0.0190438386, -0.0137982443, 0.0191486795, 0.0102639142, -0.0578879714, 0.0183488522, -0.0032444561, 0.0480341017, -0.0026335425, -0.03015659, -0.0068956809, -0.013481251, 0.0098286513, 0.0617673248, -0.018947605, -0.0588491224, -0.0448063873, -0.0205013119, -0.0430184379, -0.0326873064, 0.0083625158, -0.0111167673, -0.0232346859, -0.041012276, -0.0493718795, -0.0170748476, 0.0363844745, 0.052359201, -0.0066929343, 0.0047493046, 0.0156702064, 0.0678703859, -0.0705287904, 0.0236224476, -0.0117955822, 0.011514768, -0.0339751355, -0.0267601684, 0.0611340515, -0.0325254835, -0.0270007402, -0.047340937, -0.0938391387, -0.0696366802, -0.0022114043, 0.0579216182, 0.036115896, 0.0169347189, -0.0081744632, -0.0614181794, 0.0141102895, 0.139835462, -0.0920151845, 0.0053082393, 0.0446673371, -0.0177808404, -0.0092506371, 0.0280882269, -0.0263941567, 0.0466027223, 0.027091423, -0.0125926668, -0.0031216878, -0.0098306052, 0.0083622886, 0.0345030688, 0.0693297759, 0.0444768742, 0.0085782465, -0.0383278504, 0.0225448143, 0.0302200671, -0.0140017765, -0.0867024064, -0.0192945488, -0.0071118227, -0.0083105452, -0.0451772027, 0.037290249, 0.0546719395, 0.0035858208, -0.0797445551, 0.0253280457, 0.0115984278, 0.0035697303, 0.0435078032, 0.0221753996, 0.0005853323, -0.0263008513, 0.0161015466, 0.0058033466, -0.0172919352, 0.016750956, 0.034123037, 0.0367389359, -0.0363526829, 0.0361922048, -0.0809448287, -0.0974468961, -0.0008772663, 0.0445271246, 0.0321100429, -0.0077173603, 0.0307903793, -0.0358923934, -0.0294911731, -0.0342191681, 0.0155132888, -0.00453, 0.0234878138, -0.0053364094, 0.0126800202, -0.0277051553, -0.0017185825, 0.097157374, -0.0512444302, 0.0589407086, -0.0108603248, -0.0624630041, -0.0354794823, 0.0062927748, 0.0592036583, 0.0004712037, 0.0106101846, 0.021319516, -0.0406064391, -0.0489980206, 0.0056225164, -0.0309330113, 0.0242139045, -0.0048793135, 0.0461837091, 0.0819452032, 0.0296414997, 0.0282264873, -0.0069667408, -0.0141450334, -0.0446420871, 0.0095143393, 0.0407250933, -7.235676865e-33, 0.0406407602, 0.0033265993, -0.0054660467, 0.0297938492, -0.0160899013, 0.0004630201, -0.0177136902, 0.0050165881, 0.0336287729, 0.049432531, -0.0301586408, 0.0034060099, 0.0092567774, -0.0012679662, 0.0604306422, -0.0247612558, 0.0828364491, -0.0093439603, -0.0079930155, 0.0509487875, 0.0268844422, 0.0731205717, 0.0251362789, -0.0577408038, -0.0308760591, -0.0072414428, -0.0179325584, 0.0045414292, -0.0095440354, 0.0340015255, 0.0093367873, 0.0646586195, 0.021368077, -0.019750338, -0.0175003763, 0.023523597, -0.050876826, 0.0099316221, -0.0339350663, -0.0234018546, -0.0175838992, 0.037794169, 0.0258763209, 0.0194025096, -0.0068886182, -0.0133297825, 0.0102893524, -0.0560028143, -0.0102509093, -0.0357071534, -0.0162500981, 0.0029059493, -0.0077524786, -0.0173289981, 0.0581247546, 0.0480782241, 0.0042580161, 0.0264029857, -0.0234759673, 0.0321396664, -0.0077680484, 0.0150658516, 0.0071728132, 0.0121908858, 0.0154784499, 0.0356095321, 0.0270682927, 0.0142941503, -0.003546464, 0.0390241146, -0.0053802351, 0.092558071, 0.0368187018, 0.0184865892, 0.0402779318, -0.0164582133, -0.0743449032, 0.0004817765, 0.0469048806, -0.0287329573, 0.0420383476, 0.041616343, -0.0434586369, -0.0171878766, 0.0358603522, -0.0128392475, -0.0345924422, -0.0264185388, 0.023693271, 0.0629016235, -0.0329356343, 0.0366591364, 0.024535045, -0.0599005446, -0.0275998153, 0.0002374815, -0.00251042, -0.0168119017, 0.0131143173, -0.0233466458, -0.071278736, -0.0446749441, -0.0297781285, 0.0434592813, 0.0015832835, -0.0241163168, 0.0558881275, 0.0300810337, -0.0685401335, -0.0077032871, -0.0215615705, 0.0581269078, 0.0095344633, 0.0534337685, 0.0318094492, 0.0087780422, -0.0103690755, 0.0797886103, -0.0157634616, 0.016784532, -0.0725650117, 0.0245210696, 0.0034851681, -0.0444580875, -0.0067896447, -0.0234465543, -0.0236821566, -0.0220031869, 0.0263283812, -0.0529733524, -0.0465514362, -0.0338395201, 3.226e-7, 0.011721164, 0.0735840425, -0.0231416803, 0.0218821429, 0.0371239744, 0.0641557053, -0.0218611173, 0.0126311239, 0.0158172157, -0.0008813124, 0.0469674356, 0.0396673158, 0.0497745164, 0.035814371, -0.0510170013, -0.064308539, -0.0598827749, 0.0131826317, -0.0254663285, -0.004422524, 0.0480711795, 0.0916374102, 0.0556405373, -0.0351673365, 0.0464402251, -0.0470503457, 0.0572982654, -0.0488627814, 0.0054742275, 0.0257657561, -0.0040433663, 0.0417435467, -0.0366871022, 0.0274004992, -0.0128981154, 0.0007976042, -0.0102218557, 0.0517335199, 0.0022487389, -0.0059159254, 0.0151188402, 0.0126964785, 0.0041673165, -0.0331794061, 0.0592142269, -0.0830904692, -0.0439324416, -0.0317348577, -0.0017766017, -0.0401916206, 0.0437567309, 0.0063596261, 0.0212922413, -0.0077383416, -0.0107976403, -0.0315433964, -0.0309548248, -0.065188095, 0.022214774, 0.008791985, -0.0555351041, -0.077037774, -0.0286434591, 0.0623071752, 0.0506063886, -0.0094035752, -0.0074095097, 3.084298123e-34, 0.0731638744, -0.0044060778, 0.0290766601, 0.014909368, 0.0130665749, -0.0080818851, -0.0120227607, -0.0501903221, 0.0207817666, -0.0659250543, -0.0193845369 ]
http://arxiv.org/abs/2406.10630v1
http://arxiv.org/pdf/2406.10630v1
Emerging Safety Attack and Defense in Federated Instruction Tuning of Large Language Models
2024-06-15T13:24:22
2024-06-15T13:24:22
Rui Ye, Jingyi Chai, Xiangrui Liu, Yaodong Yang, Yanfeng Wang, Siheng Chen
cs.CL
cs.CL, cs.AI, cs.CR, cs.MA
Federated learning (FL) enables multiple parties to collaboratively fine-tune an large language model (LLM) without the need of direct data sharing. Ideally, by training on decentralized data that is aligned with human preferences and safety principles, federated instruction tuning can result in an LLM that could behave in a helpful and safe manner. In this paper, we for the first time reveal the vulnerability of safety alignment in FedIT by proposing a simple, stealthy, yet effective safety attack method. Specifically, the malicious clients could automatically generate attack data without involving manual efforts and attack the FedIT system by training their local LLMs on such attack data. Unfortunately, this proposed safety attack not only can compromise the safety alignment of LLM trained via FedIT, but also can not be effectively defended against by many existing FL defense methods. Targeting this, we further propose a post-hoc defense method, which could rely on a fully automated pipeline: generation of defense data and further fine-tuning of the LLM. Extensive experiments show that our safety attack method can significantly compromise the LLM's safety alignment (e.g., reduce safety rate by 70\%), which can not be effectively defended by existing defense methods (at most 4\% absolute improvement), while our safety defense method can significantly enhance the attacked LLM's safety alignment (at most 69\% absolute improvement).
[ 0.0034900005, 0.0746987462, -0.0235973075, 0.0510201156, -0.0287888255, 0.0107309539, 0.0415276103, -0.0281061288, -0.0015820218, -0.0310473926, -0.047908254, -0.0305110104, 0.0146113615, 0.023506999, 0.0471647121, 0.0114594968, 0.06346187, -0.0400175825, -0.0445687324, -0.0282229669, 0.0009656617, -0.0131369829, 0.002884526, 0.0185901001, 0.007778862, -0.0410477333, -0.0496584177, 0.020892011, 0.0369172171, -0.0035545286, 0.0517440066, 0.0467523038, 0.0108701307, 0.0687218904, 0.0000020666, -0.0103358123, -0.0629735589, 0.0277686529, -0.0143970391, 0.0675259084, -0.0294280555, -0.0046040667, -0.0509172194, 0.0439104438, -0.0341668315, -0.0068916562, 0.0338470414, 0.0109849349, 0.0845893398, 0.1218135282, 0.0211150013, -0.0157914199, 0.0341365486, -0.0056620231, -0.1111077964, -0.0347293094, 0.0291894469, -0.006276309, -0.0404982343, 0.0139003629, -0.011926407, -0.0010981046, -0.0033012228, 0.0000818518, -0.0376889557, 0.0029272479, -0.0699134991, -0.0177713856, -0.0268683396, 0.0447769277, -0.0463127159, -0.018324839, 0.002258128, -0.0164983142, -0.010587058, 0.0059529748, 0.0232316516, 0.0319824629, 0.0021956563, 0.0215339605, 0.0274119806, -0.0401354805, 0.03867466, 0.0044460264, 0.0333625712, 0.0746179894, 0.0154562145, -0.0184610747, -0.0327343941, -0.0202302169, -0.0156525802, -0.064912349, 0.0138656953, 0.0211252496, -0.0060624494, 0.0141715072, -0.0797030777, -0.0665960312, 0.0240498446, -0.0409081727, 0.042335026, 0.0130096097, 0.0193449985, 0.0021273999, 0.0101471953, -0.0100823464, -0.0371062122, 0.0479740836, 0.0036787058, 0.0662803575, -0.0319910198, 0.0062937802, -0.0017064458, 0.0350074582, -0.0075506284, 0.0341141745, -0.026173247, 0.0520645268, -0.0418709219, 0.0390984789, -0.0089123175, -0.0135783702, 0.0040015378, 0.0050722435, 0.0360431038, 0.0114474576, 0.0032087865, -0.0247886851, -0.007086515, -0.0550182872, -0.018647518, 0.0107292188, -0.0491439067, -0.0107088843, -0.01050309, 0.0966278464, 0.0150620155, -0.0000837494, -0.0312575661, -0.08411742, 0.0129870279, -0.0337833576, 0.0039098915, -0.062338829, -0.0286831371, -0.0105811711, -0.0303723365, -0.0605733097, -0.0040010014, -0.002378921, -0.0390167981, 0.0454785153, -0.0270603336, 0.0052712848, 0.0075053186, 0.0120934844, -0.0296838339, 0.0832952037, 0.0308522806, 0.0070768432, 0.0625319034, -0.005971917, -0.0072491672, 0.0497214496, 0.0353132337, 0.0679230094, -0.0070435265, -0.0067530423, 0.0107435845, -0.0041993666, -0.0209086984, 0.034362413, -0.0102755157, -0.0370757841, 0.0834044293, 0.0356873758, -0.0061718612, 0.025312908, -0.027143199, 0.0386084244, -0.0027267206, 0.0372289456, -0.0776168928, -0.0154336635, -0.096938692, -0.0241491031, -0.000155337, 0.0811457485, -0.0215043686, -0.0121943839, -0.0117839873, -0.039613992, -0.0085024433, 0.0082803117, 0.0118023288, 0.0107788574, -0.0178765468, 0.0577778667, 0.0429027639, -0.0322259776, -0.0104693817, -0.0389038585, -0.035370294, 0.0477457494, 0.0747970864, -0.016397493, -0.0637578219, -0.010401058, 0.0116745224, 0.0010950927, 0.0112113077, 0.0015124384, 0.0239202455, -0.0304030608, -0.0531987362, 0.0316396765, 0.0006516245, -0.0131782778, 0.024231432, -0.0055363006, -0.032837607, 0.0346337408, -0.0544670224, 0.0230288133, 0.0056159375, -0.0395670086, -0.0179362129, 0.0419270024, 0.0302217416, -0.0092389863, -0.0358120613, 0.0124297282, 0.0399503931, 0.045162756, -0.0095215794, -0.0405796655, -0.0076623331, 0.0123494333, 0.0413554423, 0.0024235761, -0.0167766642, 0.0394324921, -0.0715341493, -0.0049124863, 0.0311138052, -0.0290258359, -0.0220168848, 0.0265392885, 0.0475527756, -0.0022749996, 0.0256523378, -0.037374232, 0.0329648294, -0.0258280654, -0.0350874066, -0.0321240872, -0.001908066, 0.0347760506, -0.0421233326, -0.0090664588, 0.0230039079, -0.0128480894, 0.031965591, -0.002578927, 0.0242947843, -0.0170854982, -0.0045991493, 0.0008212609, 0.0152467014, -0.0297167283, 0.053781908, 0.0387771279, -0.0044132587, -0.0306313131, -0.0266919993, -0.0140149128, 0.0329169892, -0.0348675251, 0.0157051105, 0.0166600421, -0.0180528648, -0.066314593, -0.0053815343, -0.0167905726, -0.0149378926, 0.0262805, -0.0113838566, -0.015434593, -0.0958180651, 0.0211225357, -0.030802004, 0.064733468, 0.0227257647, -0.0554837286, 0.0301488992, 0.0374053419, -0.0361401699, 0.0902055427, 0.0127102369, 0.0101936674, 0.0793349743, 0.0168598406, -0.0540512763, 0.0064297719, -0.0122907897, -0.0446647443, -0.0541844666, 0.0160470307, -0.0005475661, 0.0617679991, -0.0007064476, -0.035047058, -0.0226617679, 0.0276676025, -0.0022381111, -0.0128172375, -0.0186943691, -0.0338799432, -0.0331006087, 0.0013861612, 0.0107135307, -0.0954799652, 0.0894277915, -0.0257153008, 0.0500732437, -0.0476013757, -0.0419811308, 0.0009886605, 0.0307506397, -0.0295879301, 0.0351034701, 0.0008475756, -0.0276683159, -0.0645887032, 0.0067090355, 0.0594890714, -0.0338851921, 0.0102856783, -0.0406582057, -0.0193595514, -0.0327601321, -0.0455286875, -0.0474756621, -0.0574019328, -0.027985787, -0.0128637757, -0.0073111476, -0.0443517417, -0.0046209362, -0.0372241698, 0.0234206151, -0.0099857533, -0.041763626, 0.0249914173, -0.031560868, -0.008999736, 0.0471456014, -0.0863714963, -0.0173969511, -0.0370831937, 0.0156879425, 0.0968589187, 0.0819960088, -0.0194619987, -0.015698975, -0.0261963233, 0.0425468571, -0.02910918, -0.0115193781, 0.0091256071, 0.0530722328, -0.0192619264, -0.0104426779, 0.049938295, 0.0124466596, -0.0296762511, 0.0116245952, -0.0032450354, 0.0551897772, -0.0110139474, 0.0210174676, -0.063025713, -0.0108863721, 0.0205687266, 0.0680286512, 0.0134506458, -0.0087024635, -0.0261237919, -0.0943468809, 0.0088078091, 0.0408050455, -0.0496242233, -0.0414095223, -0.0177788008, -0.0145727107, 0.0305338651, 0.0557069071, -0.0059125163, 0.0209307615, -0.0069387406, 0.0376018398, 0.0007087829, -0.0534471236, 0.0026882724, -0.0407995991, 0.0901492909, 0.0405266322, -0.0151284933, 0.0124538485, -0.0398428738, 0.0170323253, 0.0473191775, -0.0081898337, -0.0051157135, 0.0414582416, -0.0266969278, -0.0232262984, 0.0224229693, 0.0213792715, 0.0076332833, -0.0014645831, 0.0495486818, 0.0567381419, -0.0228831898, 0.0268818829, -0.0198139083, -0.0013938281, 0.0511508957, 0.0229758099, 0.0029427358, -0.036678955, -0.0176563561, -0.0299433041, -0.0026995579, -0.0229766164, -0.0526499413, 0.0500359423, -0.0248088092, -0.058772862, -0.0515342318, 0.0002524921, -0.0270006806, 0.0505411327, 0.0375867076, -0.014297666, 0.0390766636, 0.01565223, -0.0244207289, 0.0212168079, -0.0493141674, 0.0482251793, -0.0907840952, -0.0082424246, -0.0106733749, 0.011308887, -0.0045359111, 0.0354826562, -0.0608510822, -0.1201208532, 0.0222320128, 0.0422738306, 0.0224509742, 0.0307434686, -0.0331596285, -0.0816611126, 0.0816268697, 0.0117225908, -0.0441164523, 0.0089733098, 0.0693947896, -0.0837381184, 0.0200986173, 0.0350029804, -0.0480606109, -0.0161998942, 0.0984431356, 0.0013785632, -0.0188623033, -0.0407143719, -0.0142682903, 0.054117471, 0.0698734149, -0.0246326029, 0.0376868993, 0.0111323036, 0.0480300039, -0.0163080543, -0.0130113056, 0.0010627442, 0.0266124103, -0.0005552754, -0.0287982207, 0.0322603323, -0.0243673623, 0.0316068381, 0.0186301675, 0.0070920251, 0.0377115048, 0.0035133515, 0.0264051799, 0.068366535, 0.014677397, -0.0168839805, 0.0293661039, 0.0346938893, 0.0366484039, -0.0027879246, 0.0582917295, -0.0005573774, 0.0193698239, -0.0424272902, 0.042754367, -0.058743, -0.086859338, -0.0110235251, 0.014921058, 0.0291623678, 0.0179840531, 0.0346034616, -0.0142176859, -0.0005910076, -0.031863708, 0.0004135838, -0.0428018682, -0.0707932413, 0.0150536606, 0.005702713, 0.0079068178, 0.0451530516, 0.0858457163, 0.0111284805, 0.0465778932, -0.0195390619, -0.0289336834, -0.030478593, -0.0249808785, 0.0410282835, 0.0122593641, -0.0638136044, -0.0180062074, -0.0259880386, -0.0844984055, -0.0326501727, 0.0210497342, 0.0248526204, 0.0112382472, 0.0128566921, 0.0017535496, -0.0088960435, 0.018267341, -0.0683740973, 0.0412545986, 0.0284161251, -0.0193311777, -0.0002771038, -6.078181537e-33, 0.0100636119, -0.0042815274, -0.019519385, 0.0182759631, 0.0154376673, 0.0269976221, -0.0053792028, 0.0104647567, -0.0015967091, -0.0220669769, -0.0200696569, 0.0153122367, 0.0187339932, 0.0201891661, -0.004302681, -0.0257454161, -0.0147080831, -0.0429983772, -0.0334252343, 0.0240242649, 0.0677161142, -0.0025580071, 0.0602045953, -0.0717140436, 0.0163283776, -0.029300632, -0.0320267789, 0.0342536047, -0.0774912238, 0.0491206385, 0.0197954699, 0.0301185697, -0.0096490746, -0.0142400041, -0.0132371467, 0.0010913836, 0.0044316296, -0.0236436054, -0.0117782457, 0.0283904802, -0.0198201314, -0.0291270018, 0.0399436243, -0.0209997334, -0.0276222322, -0.0191681143, 0.0040627653, 0.0135255093, -0.0260896105, -0.0059935888, -0.018523315, 0.0199408736, -0.0103199221, -0.0224105921, 0.0077741537, 0.0001318929, 0.0457760431, -0.0736071169, -0.0382782482, 0.0339997746, 0.0241106208, 0.0330988877, 0.0822402909, 0.0174888857, 0.0076665017, 0.0484805442, 0.0066103591, 0.0129915094, -0.0148304934, 0.0100317998, -0.0046072351, 0.0464058109, 0.0110143339, 0.0333143584, -0.015511048, -0.0353836976, -0.0484631769, 0.0179026872, 0.0362836309, 0.0073922668, 0.0161250886, 0.0152091924, -0.0857172236, -0.0139200175, -0.0021782371, -0.0015635169, -0.0117526492, -0.0205075145, -0.0006409103, 0.0045147878, -0.0352230221, -0.0492912829, -0.0013598019, -0.0255937893, 0.0025016319, 0.0267792735, 0.0253019519, -0.0221407805, -0.0120460922, 0.0125568481, -0.0191419236, -0.0407976434, -0.0290935561, -0.0781224445, 0.0292818323, 0.0136090852, 0.0586897731, 0.0595830195, -0.0504845828, -0.0016528569, -0.0247357022, 0.0196745843, 0.0297594219, 0.0083782952, 0.0567684583, -0.0204325896, 0.0113344463, 0.0171015635, 0.0514016822, 0.0044432753, -0.0426354557, 0.0110336263, -0.02863653, 0.0183497742, -0.0002506687, 0.0262938105, -0.0125273904, 0.0375516824, 0.0322116278, -0.0463133603, 0.0104232235, -0.040743731, 2.87e-7, 0.0072142431, 0.0270172283, 0.0263586398, -0.004347357, 0.0215556901, 0.0749364495, -0.0463193767, 0.0821748152, 0.0167391635, -0.0021296223, -0.0054822159, -0.0017870803, 0.0461738594, 0.0290733334, -0.0344061628, 0.0076373052, -0.049360361, 0.0558214895, -0.0533678047, -0.0265101176, 0.0019077281, 0.0780801177, 0.0458503291, -0.0279545542, -0.0105835069, -0.0292703398, 0.0010156708, 0.0068753962, -0.0240513384, -0.0141250594, 0.0258223135, 0.0583782569, -0.0142647261, 0.0187576469, -0.0538870879, 0.0122548603, -0.0615064837, 0.0503065176, -0.0115295239, 0.0145006441, -0.017372543, -0.0785033926, -0.0265108831, 0.0144453505, 0.0426305123, -0.0193255488, -0.0156032648, -0.0022602747, 0.0055290409, -0.0481039807, 0.0324214846, -0.0136382515, -0.004471791, 0.0307020936, 0.0102873659, -0.0050069508, 0.0043864679, -0.0811746269, -0.0229501389, 0.0019994995, -0.0044331993, -0.0686508864, 0.0243670326, 0.0548430681, 0.0144742215, -0.0026988401, -0.0161056723, 2.709620089e-34, -0.0179608241, -0.0533427782, 0.0178262461, 0.0006074065, 0.0446424931, -0.0268737637, -0.0140934791, 0.0165652148, 0.0248496309, 0.0030436092, -0.031893868 ]
http://arxiv.org/abs/2406.10625v2
http://arxiv.org/pdf/2406.10625v2
On the Hardness of Faithful Chain-of-Thought Reasoning in Large Language Models
2024-06-15T13:16:44
2024-07-01T13:36:29
Sree Harsha Tanneru, Dan Ley, Chirag Agarwal, Himabindu Lakkaraju
cs.CL
cs.CL
As Large Language Models (LLMs) are increasingly being employed in real-world applications in critical domains such as healthcare, it is important to ensure that the Chain-of-Thought (CoT) reasoning generated by these models faithfully captures their underlying behavior. While LLMs are known to generate CoT reasoning that is appealing to humans, prior studies have shown that these explanations do not accurately reflect the actual behavior of the underlying LLMs. In this work, we explore the promise of three broad approaches commonly employed to steer the behavior of LLMs to enhance the faithfulness of the CoT reasoning generated by LLMs: in-context learning, fine-tuning, and activation editing. Specifically, we introduce novel strategies for in-context learning, fine-tuning, and activation editing aimed at improving the faithfulness of the CoT reasoning. We then carry out extensive empirical analyses with multiple benchmark datasets to explore the promise of these strategies. Our analyses indicate that these strategies offer limited success in improving the faithfulness of the CoT reasoning, with only slight performance enhancements in controlled scenarios. Activation editing demonstrated minimal success, while fine-tuning and in-context learning achieved marginal improvements that failed to generalize across diverse reasoning and truthful question-answering benchmarks. In summary, our work underscores the inherent difficulty in eliciting faithful CoT reasoning from LLMs, suggesting that the current array of approaches may not be sufficient to address this complex challenge.
[ 0.0622020029, 0.0616694838, -0.0096366126, 0.0361251459, -0.0485008918, 0.0252927486, 0.0024669713, -0.0018047817, -0.0214311834, -0.0350368321, -0.0095447339, -0.0112551711, 0.0077353818, -0.000850232, 0.0223014615, -0.0349490345, 0.0501986109, -0.0284058899, -0.0005896253, -0.0286176223, -0.0051249806, 0.0208532047, -0.024156196, 0.030354159, 0.0186174773, -0.028411407, 0.003431896, 0.0132346582, 0.0200542621, -0.0169425756, 0.0066035842, 0.0651823953, 0.0274499618, 0.0406430252, 0.0000020918, -0.0772717595, -0.0246176329, 0.0050704107, -0.0527007878, -0.0138951056, -0.0296148416, -0.0225289315, 0.0133929234, 0.0241741296, -0.0194793064, 0.0518880896, 0.0288567785, 0.0496156141, 0.0530647449, 0.0611924715, 0.0078551592, -0.0185893774, 0.0063595031, -0.0178914778, 0.0048583765, -0.0740798935, 0.0309117399, 0.027371332, 0.0103557743, -0.0033526674, -0.0164881945, 0.0299783349, 0.0259686448, 0.025302114, -0.0097977733, 0.0385447219, -0.0407508016, -0.0068913945, 0.0132378899, 0.0689407438, -0.0213170927, -0.0318965651, -0.0003804899, 0.0071059559, -0.0081313271, -0.0025028391, -0.0542748459, 0.0325428881, -0.0147699621, 0.011534635, -0.0079390444, -0.0037951493, 0.0489897951, 0.0307691954, -0.0569733456, 0.0464765914, -0.0189635921, -0.0483741984, 0.0187480152, 0.0005341716, -0.0384866744, -0.0472488217, 0.012682274, 0.039746996, -0.0563837923, 0.0393541194, 0.0028558518, 0.0044363751, 0.0341648161, -0.0321529061, 0.0129558221, 0.0353205539, -0.0025992559, 0.0601472892, -0.0509393215, 0.030829886, -0.0459026583, 0.0271395892, -0.0379954539, -0.0296050962, -0.0770280585, -0.0357262008, -0.0247058887, 0.0359210372, 0.0044158325, 0.0068268739, -0.0283657387, 0.0057305987, -0.0306293573, 0.0028685783, -0.0079175029, 0.0321201645, -0.0017045982, -0.0374416225, -0.0623620562, 0.0293683354, -0.0443901941, 0.0503287017, 0.021590054, -0.0365573652, -0.016008025, -0.0091402465, -0.0023785138, -0.0210625734, 0.0256167296, 0.0202721953, -0.0161471516, 0.0165543258, -0.036780823, -0.0485979766, -0.0318503417, -0.0762673542, 0.0057553509, -0.0777723789, 0.0349325798, 0.0225092378, -0.019446779, -0.0514158346, 0.0141905798, 0.0162408073, -0.0750103593, 0.0918753445, 0.0057960576, 0.0241078399, 0.0014605384, 0.031151209, -0.0294191875, 0.0431066416, 0.0255170949, -0.0023069808, 0.0135516943, 0.0115462504, 0.0061520045, -0.00290085, 0.0349275582, 0.0070839073, 0.0052169543, 0.0458493531, -0.0175070837, 0.0600753203, 0.0016203807, 0.046689868, -0.0216959231, 0.0046808496, 0.0597461127, 0.0371209122, -0.0002665559, 0.0111694448, 0.0309343245, -0.0250425227, 0.0062629655, 0.0040113642, -0.066045478, 0.0217943247, -0.0217880122, 0.0038593651, -0.0001722317, 0.0129789216, -0.0192140918, -0.0413993858, -0.0273361858, 0.0263715889, 0.0150655489, 0.0362882614, 0.0219526924, 0.0150154503, -0.0125597082, 0.0763619766, 0.0437772162, -0.0130507518, -0.0160704423, -0.0848166049, 0.0070304107, 0.040417131, 0.0514611304, -0.0069762426, -0.0457410291, -0.0076378584, 0.0487853661, 0.0323838517, 0.0258971378, -0.0166966692, -0.0231305845, -0.0380172208, -0.017741546, -0.0180951003, 0.0191497933, -0.0273113884, 0.0261438172, -0.0012294338, 0.0022697512, -0.0259658918, -0.0007875856, 0.0142709874, -0.0268619079, -0.0064933789, -0.0267900508, 0.035971716, 0.0169870742, -0.0028568485, 0.0101834713, 0.0298540648, -0.0129599916, -0.0255774036, -0.0203210246, 0.0126778083, -0.0562459566, -0.0108293612, 0.0133634983, -0.0126874959, -0.0593309328, 0.0144391963, -0.0583669208, -0.0145508628, -0.0273808185, -0.0164283719, 0.03146597, -0.0333241522, 0.0221628025, -0.0101358863, -0.0254728608, -0.0575514399, 0.0897994637, -0.0324067287, -0.0093585569, 0.033755485, -0.0107698208, -0.0012279518, -0.0238485187, 0.0127550215, 0.0380090028, 0.0022002209, -0.0013884772, -0.008885364, 0.0134697687, -0.0638751164, -0.0273240078, -0.0796459541, -0.0199243892, -0.0235587973, 0.011813743, 0.0242563337, 0.003671289, 0.0091828685, 0.0043114056, -0.0559800565, -0.0030620443, 0.0103245778, 0.033725407, 0.0257681254, 0.0124678016, -0.0258959904, -0.010055434, 0.0131018721, -0.0495493896, 0.0217809975, -0.0378171802, -0.0046182019, -0.0347406343, 0.0065551461, -0.0502951369, 0.0000079689, -0.0094913077, -0.0101254731, 0.0157149229, 0.026336655, 0.0191150531, 0.0765946209, -0.0205808245, -0.0045247972, 0.0605562851, 0.0278072581, -0.0404942371, 0.0320716277, -0.0203725211, -0.0437374786, -0.0176020171, -0.0426500849, -0.0057328716, 0.0851708204, 0.0049983501, -0.014465048, -0.063941747, 0.0246601254, -0.0250434615, -0.0184053443, -0.0503526777, -0.0228691231, -0.0132597685, 0.0674444437, -0.0353783891, -0.0096424213, 0.1007556245, -0.0056850817, 0.0379268937, -0.0837074891, 0.0120983245, -0.039680995, 0.0589326508, -0.0207909029, 0.0218001567, 0.0309861917, 0.0063156025, -0.0730411559, -0.0158648957, 0.012481506, -0.0368771516, 0.0723536089, -0.0486401469, -0.0039719734, 0.0016089268, -0.0670854449, -0.0561910458, -0.0273606274, -0.0647786856, 0.0266051237, -0.0183125418, -0.0010513319, -0.0100129126, -0.0123356162, 0.0332630575, 0.0315705277, 0.0001393541, -0.0258271657, -0.0212812312, 0.020251181, 0.075536333, 0.0223709997, 0.0445713103, -0.0088415006, 0.0407758839, 0.0831313506, 0.0345351659, 0.0243281703, -0.0038613474, 0.0020226811, -0.0185114406, -0.0153609943, -0.0108771278, 0.0174678452, 0.0458473153, -0.0617188849, -0.0247161947, 0.111055173, 0.0417551212, -0.0428900793, 0.0386174396, -0.0488494299, 0.0224390887, 0.0245777722, 0.0146215912, -0.0732041672, -0.0553339012, 0.0374451987, 0.0230855774, -0.0294546317, -0.0409644917, 0.0133945877, -0.0797484294, 0.0141700832, -0.0022065332, -0.0115626967, -0.0323068984, -0.0467513315, 0.0265406612, 0.0318062603, 0.0299054831, 0.0343561321, 0.0248331483, -0.0056936229, 0.0137031153, -0.0077260048, -0.0506190732, 0.0852619931, -0.0178622305, 0.0306368731, 0.0546130203, 0.0203102659, 0.0277285837, -0.0393301733, 0.0678682849, -0.0053608571, 0.0295334272, -0.0163180605, 0.0069587901, 0.0217230823, 0.0126249362, -0.0435057059, 0.0571936779, -0.013784077, -0.0433111601, -0.0036302165, 0.1116446927, -0.0186883844, -0.0214720927, -0.0160157382, 0.0192893334, -0.0167127252, 0.0829224065, 0.0343085416, -0.018971717, -0.0205897335, -0.0161268935, -0.0335011706, -0.0031445725, -0.0710706189, 0.0368101485, 0.0267739557, 0.023661783, -0.0463191122, -0.0281808022, 0.0382572263, 0.0156938918, -0.0098003093, 0.0203163177, 0.0080253221, 0.0219439398, 0.000106505, 0.0444643609, -0.0713894963, 0.0218148567, -0.0160032772, 0.0007411313, 0.0102587305, -0.0337575264, -0.0189624038, -0.0009893209, -0.0521020889, -0.036244791, -0.0226767249, 0.030918112, 0.0338220745, 0.0557984412, -0.0215500873, -0.0413634814, 0.012156589, 0.02339736, -0.0262346398, 0.0024854548, 0.0315994173, 0.0108649796, 0.0047967592, 0.0660238042, -0.0510928072, -0.0083044581, 0.0235823188, 0.0792767704, -0.0116777439, 0.00286906, 0.0621980578, 0.0015561184, 0.0047933892, 0.0070508607, -0.0164100043, -0.0077172779, 0.0628428012, -0.0103681693, -0.0396395214, 0.0058800559, 0.0012987963, 0.0270957351, -0.0045286701, -0.0131141376, -0.0531345755, -0.0042471499, 0.0227624457, -0.0312647037, -0.0029248707, 0.0189343654, 0.0393360592, 0.0417760275, -0.0131773567, -0.0253892597, 0.0160278976, -0.010262602, 0.0630735755, -0.0165191237, 0.0817058235, 0.0398334786, -0.0250819251, -0.070913434, 0.0065260297, -0.0909850299, -0.0701545775, 0.0279191658, -0.0184925199, 0.0370550491, -0.0085740481, 0.007616078, -0.033192832, -0.0331125148, 0.0249304995, -0.0055049127, 0.0294962507, -0.0065756147, 0.0351552926, 0.025219975, 0.0038374723, 0.001503429, 0.069758825, -0.0023315719, 0.0567037463, 0.0005683617, -0.0303132366, -0.0144205755, -0.0547825694, -0.0374499522, 0.0274507627, -0.0258645825, 0.0130891036, -0.0854798034, -0.0711318254, -0.009113837, -0.0147589343, -0.0136746997, -0.0190581046, 0.0188512895, 0.0811219141, 0.012945001, -0.0496088155, -0.0060363892, 0.026338039, 0.0108363451, -0.0025121027, -0.0165503602, -6.615188499e-33, 0.0234023631, -0.0115188463, 0.0235193484, 0.0035367345, -0.0136775337, 0.0044363067, -0.058923021, 0.0024659049, -0.0570812747, 0.0325953588, -0.0302820988, 0.0078376289, 0.0045008492, 0.0114878193, -0.0151711712, -0.0346430056, 0.0141287064, 0.0241585504, -0.0382723249, 0.0076432652, 0.0196229741, -0.0094802426, 0.0230133459, -0.0639978722, 0.0338262469, 0.0046943845, 0.0026575734, 0.0604068488, -0.0746760964, 0.0654553473, 0.0051693399, 0.0227042604, 0.0463525988, -0.0422705524, 0.0119630536, 0.0048796958, -0.0831315368, 0.0128634572, 0.0568526313, -0.0144454045, -0.065488413, -0.0634327233, 0.031676244, 0.0114437705, -0.0097444383, -0.0477786921, -0.0017535386, -0.0437528715, 0.0033389691, -0.0277196988, -0.0623248629, 0.010159187, -0.0076684873, -0.0256153252, -0.0212930199, 0.0314908735, -0.0314846598, 0.0536007024, -0.0479467437, -0.0128812883, 0.0147742266, 0.0067904661, 0.0850898176, -0.0253828578, -0.0057422756, 0.0559997857, 0.0010075121, 0.0323673561, -0.0716969967, -0.002962749, -0.0151740452, 0.0587370768, 0.068138741, 0.0376510918, 0.0261332579, 0.0154241091, -0.1088203713, -0.0217630919, -0.0339490995, 0.0551795997, 0.0521682389, 0.0076374193, -0.0490391478, -0.0186172444, -0.0777166933, 0.0380473323, -0.0585151315, -0.0090372227, 0.030128397, 0.0099603403, -0.0425349623, -0.0195402782, 0.0144607611, -0.0379311368, 0.0039655627, 0.0253650844, 0.0067640911, 0.0027980024, -0.0110224765, 0.0280490909, -0.0371957906, 0.0168762505, -0.0099583287, -0.0014655793, 0.0440720916, 0.0181708727, 0.0809669793, -0.0198075753, -0.0246893596, -0.0075925826, -0.0730422661, 0.0263187326, -0.0227240436, -0.0115205515, 0.032762114, 0.0339986235, -0.0049604215, 0.0360919498, 0.023647001, -0.0148276184, -0.0290896315, 0.0287978053, -0.0264952462, 0.0059425184, -0.0338094495, 0.0065129371, -0.039621532, 0.011253898, 0.0156394392, -0.0740044266, -0.0271736514, 0.0308735091, 2.753e-7, 0.0366306081, 0.0576256365, 0.0036792087, -0.0005792429, 0.0398280025, 0.0370118432, -0.0043837489, -0.0231897552, 0.0303961467, -0.0799608454, 0.0015969139, 0.0624499917, 0.0504411571, 0.0295393933, -0.0418513156, 0.0071493471, -0.0731109902, -0.0126597201, -0.0485146753, -0.0125175379, 0.0474474803, 0.0641040355, -0.013922072, -0.021166537, 0.016671285, -0.0236707311, 0.048743505, -0.0211810246, 0.0219823513, 0.0143951792, -0.0107148727, -0.01360582, 0.0373497903, 0.0360521637, 0.0032800925, -0.0032562101, -0.0087928036, 0.0743185878, -0.0250250828, -0.0225505512, -0.0457499363, -0.0511154123, 0.0356098711, -0.1053176373, 0.1098652333, -0.0675609261, -0.0428558625, -0.0157906003, 0.021276759, -0.0081190197, 0.0050381259, 0.0163008925, -0.018180931, 0.0150139639, 0.0103686079, 0.0380241573, 0.001211212, -0.0862032026, -0.0587760098, 0.0296266712, -0.0234172922, -0.0415747948, -0.0034981847, 0.0019243279, 0.0476968102, -0.0606394447, -0.0002306765, 2.841219896e-34, 0.010841581, -0.0072006444, 0.0479048043, 0.0253681913, 0.0596130975, 0.0110808937, 0.0019012426, 0.0059406916, 0.0381873585, -0.0998170897, -0.0166266486 ]
http://arxiv.org/abs/2406.10621v2
http://arxiv.org/pdf/2406.10621v2
StrucText-Eval: An Autogenerated Benchmark for Evaluating Large Language Model's Ability in Structure-Rich Text Understanding
2024-06-15T12:48:00
2024-06-30T09:02:34
Zhouhong Gu, Haoning Ye, Zeyang Zhou, Hongwei Feng, Yanghua Xiao
cs.CL
cs.CL, cs.AI
Given the substantial volumes of structured data held by many companies, enabling Large Language Models (LLMs) to directly understand structured text in non-structured forms could significantly enhance their capabilities across various business scenarios. To this end, we propose evaluation data generation method for assessing LLM's ability in understanding the structure-rich text, which generates structured data of controllable complexity based on manually crafted question templates and generation rules. Building on this generation method, we introduce StrucText-Eval, a benchmark comprising 6,032 questions across 8 different structured languages and 29 specific tasks. Furthermore, considering human proficiency in rule-based tasks, we also present StrucText-Eval-Hard, which includes 3,016 questions designed to further examine the gap between LLMs and human performance. Results indicate that the best-performing LLM currently achieve an accuracy of 65.0\% on StrucText-Eval-Hard, while human accuracy reaches up to 95.7\%. Moreover, while fine-tuning using StrucText-Eval can enhance existing LLMs' understanding of all structured languages, it does not necessarily improve performance across all task types. The benchmark and generation codes are open sourced in https://github.com/MikeGu721/StrucText-Eval
[ 0.0223942548, 0.0234394036, -0.0289307907, 0.0581136197, -0.0234827362, 0.0392380618, -0.0103906672, 0.0028837917, 0.0052912096, -0.0499325469, -0.0174461845, -0.0523956977, -0.026009459, 0.0640186816, 0.0072370344, -0.0346860476, 0.013003381, -0.0493030585, 0.0336828977, 0.0173639711, 0.014045367, 0.0137302522, -0.0010909447, -0.0220122728, 0.0367990024, -0.0428899676, -0.018216677, 0.004596856, -0.0270123575, -0.0612038821, 0.0274539273, 0.0497452505, 0.0091186799, 0.0322247148, 0.0000023331, -0.0554650202, -0.0217133872, 0.0059702871, -0.0500887856, 0.0550117567, 0.0404112153, -0.020443771, 0.0019241269, 0.0246722009, -0.0561368577, -0.015865054, -0.0046409261, 0.0371579491, 0.0454874597, 0.0831586272, -0.0153390737, -0.0373952538, -0.0012497642, -0.0071755396, 0.0139460685, -0.0535549745, 0.0097989105, 0.0533232875, 0.0215147529, 0.0420323275, 0.0169854816, 0.0108768241, 0.0295405779, -0.0207667705, 0.0200963113, 0.0191245377, -0.0475655794, 0.0214237925, 0.0005526005, 0.079310149, 0.0214888677, 0.0039373375, 0.002922978, -0.0292935167, 0.0212468971, -0.0120854927, -0.0507015698, 0.0063064345, -0.0181598216, -0.0080799237, 0.027316682, -0.016485855, 0.026550699, -0.0024464219, -0.0222144891, 0.0747139603, -0.0016767476, -0.0437733084, -0.0014528974, -0.0048750364, 0.0136784334, -0.0752602145, -0.0065358016, 0.045970723, -0.0476358421, 0.0055697616, -0.032063067, -0.0683218762, 0.0134588676, -0.0797673836, 0.0182698853, 0.0174232181, -0.0110155148, 0.0817856565, -0.0572034307, 0.0629398599, -0.0340569355, -0.0143524939, -0.0488621183, -0.0111461049, -0.0617078841, -0.0102674784, -0.0253223497, 0.0358166508, -0.0801242813, -0.0073320549, -0.0165777095, 0.0373845063, -0.0100856964, 0.0325905085, -0.0163711924, -0.0293836314, 0.0206334069, -0.0186696518, -0.0445062071, -0.0081815701, -0.0574816279, -0.0409905612, -0.0095972111, -0.0216241609, 0.0263562892, 0.0200319961, 0.0101371715, -0.0235770252, 0.0127549684, 0.0622619241, -0.0029393334, -0.0008162716, -0.0588865988, -0.0548186824, 0.014081792, -0.0587217994, 0.0310413223, -0.0771954358, 0.0332397781, 0.0396135896, -0.0342870131, -0.0123276236, 0.005023859, -0.0117209367, -0.025250433, 0.0547788627, -0.01788643, 0.0142275235, 0.0063431812, -0.0053906147, 0.008188908, 0.0638660043, 0.0245910399, 0.0292912778, 0.0320559591, -0.0334585644, 0.0111496272, 0.0536926463, -0.0120180408, 0.0073322435, -0.0135373771, 0.0835355148, -0.0288482141, 0.0160769857, 0.007210826, 0.0495893583, -0.0103635434, 0.0318888202, 0.0169712864, -0.0072130957, 0.0499783382, 0.0308769513, 0.0233479086, 0.0212104823, 0.0229863394, -0.0048028091, -0.0285953749, 0.0135476422, -0.0356366783, 0.0264161099, -0.0279367939, 0.0035863442, -0.0124594849, -0.0484783724, -0.0214488767, 0.0229942352, 0.0069619003, 0.0104907425, 0.0517603084, 0.0169011839, -0.0579010025, 0.0463282168, 0.0036120086, -0.0333927758, -0.0076776724, -0.0093105985, 0.0536173843, 0.0554141812, 0.0714848563, -0.062609598, -0.0353315398, -0.0040179673, 0.0270136651, 0.0179454181, 0.0600110553, -0.019859951, -0.0232358519, -0.0556059554, -0.0259781424, -0.0167700965, 0.0157265849, 0.0034090222, 0.005475977, -0.0223683398, 0.0210352819, -0.0739224777, -0.0468732417, 0.0332567059, 0.0013116162, -0.0416751169, -0.0026672001, -0.0070127281, 0.009085577, 0.0516809896, -0.0153146051, 0.0286004711, 0.0266176313, -0.0463048592, -0.0113062002, -0.0365265049, -0.0624886826, -0.0315567777, 0.0154550774, -0.0210779384, -0.0596818253, -0.0026794642, -0.0411931947, -0.0429963693, -0.0079054479, -0.0357553028, 0.0332348682, -0.0283965804, 0.0140274838, -0.0108474735, -0.0072877482, -0.0357728526, 0.0919786245, 0.0041282, 0.0275263991, 0.034714479, -0.0261061043, 0.0293435361, -0.0023245232, 0.0041138176, 0.0280863196, -0.0127701359, -0.0124969557, 0.0270753317, 0.0478192382, -0.077584438, -0.0271551218, -0.0472132079, 0.0039736601, -0.031353645, 0.0497354344, 0.0499995835, 0.0044888118, -0.0150787616, -0.0099474881, -0.0901972353, 0.0050301007, 0.0257364288, 0.0056857853, 0.0339854173, -0.0065720249, -0.0410253331, -0.0202527232, -0.0115664192, -0.0395603627, 0.0249324776, 0.033152286, 0.0043819905, -0.0575187132, 0.019836219, -0.0081871469, -0.0062546567, -0.0073420657, -0.0031208871, 0.0068304325, -0.0535328016, 0.0709518939, 0.0446511842, -0.0139975343, -0.0005987945, 0.0060068886, -0.0281324182, -0.0364404246, 0.0053430106, 0.0242346972, 0.0597449504, -0.0513018481, -0.0303280298, 0.0362256356, 0.0637143701, -0.0210674778, 0.0243253279, -0.0388225801, 0.0075834058, -0.0455802754, -0.0008606674, -0.0503559224, -0.0065578236, -0.0000093152, 0.0779110491, -0.0014187276, -0.0268941484, 0.0485713482, -0.0251973514, -0.0311673377, -0.0345666595, -0.0077056279, -0.0795470625, 0.1002148613, 0.0278884768, 0.0147589911, -0.0026959886, -0.0455958322, -0.0531703047, 0.0143736424, 0.0279390477, -0.0393870957, 0.0420109034, -0.0571240038, 0.0000861258, -0.0134416269, -0.0252407659, -0.0351422951, -0.0104601914, -0.0247117113, 0.0175066199, 0.0744083375, -0.015872309, -0.0250811037, -0.0026006114, 0.0179700498, 0.0212188829, -0.0006829404, -0.0174175911, -0.0152688958, 0.0735343099, 0.0549894758, 0.014098404, 0.0285753384, -0.0471611023, 0.0459145792, 0.0341613106, 0.0329960249, -0.0013426436, -0.0168190766, 0.0119231734, 0.0137378639, -0.0437426716, -0.0035747464, 0.0158664342, 0.0326649882, -0.0771600381, -0.0086388374, 0.1311641186, 0.0382623002, -0.0107706785, -0.0018003435, -0.0612934083, 0.0488196909, 0.0420288369, 0.0561776794, -0.103175126, -0.0087434631, -0.0078813117, 0.0096969353, 0.0236052349, -0.0709092617, 0.0094329985, -0.0996233746, 0.0318712145, -0.0132578071, -0.0512140691, -0.0317477435, -0.0063649877, -0.0353476629, -0.0017041494, 0.0134874377, 0.0431653857, -0.0249530338, -0.0068356404, 0.0128534408, -0.0657085404, 0.0002524306, 0.0724059492, -0.0236207079, 0.0364182703, 0.0801396817, 0.0116762687, -0.0105806766, -0.0229768101, 0.0658133328, 0.0243196152, -0.0062555731, -0.0246389192, 0.0277862623, 0.0322582461, -0.021864295, -0.0255285837, 0.0319183543, -0.0773358867, 0.0418306477, 0.0597082488, 0.0832653791, 0.0042189108, -0.0208283551, -0.0251776036, -0.0460918993, -0.0214899424, 0.0736866966, 0.0439488851, -0.0308136288, -0.0548164584, -0.047348842, -0.0050546043, -0.0690087602, 0.0024731967, 0.061401695, -0.0107509336, 0.0505825952, -0.070181109, -0.0533186533, 0.0806485564, 0.0108909663, -0.0110375918, -0.0018833036, 0.0129870772, -0.0438666753, -0.0428999662, -0.0083343014, -0.0386771075, 0.0510128364, -0.0658478513, -0.0069420752, -0.0197950695, -0.0031327973, -0.0199501626, 0.0128699187, -0.0674284846, -0.044938691, 0.0241265632, 0.0197647829, 0.0210318863, 0.0273390096, -0.0251118075, -0.0278464053, 0.0078105461, -0.0272557512, -0.1010647714, -0.0108922888, -0.001798518, -0.0113847507, -0.0058043725, 0.0333966203, -0.0637417883, 0.0184445418, -0.0193698723, 0.0565948449, -0.001623958, 0.0045026774, 0.0340424217, 0.0868077651, -0.0335668996, 0.0240015406, -0.0179276895, -0.0079570375, 0.0180690847, -0.0457527377, -0.0362293757, -0.0405865423, 0.0104779415, 0.0000880102, -0.0278196726, 0.0159458183, 0.0487877801, -0.0240881816, 0.0442326367, -0.0159531627, 0.0390715376, 0.0228551235, 0.0272252578, 0.0431541242, -0.0432180651, -0.000329207, 0.0238883849, 0.006402513, 0.0478586853, -0.0021810438, 0.0795110911, 0.0198628288, -0.0011124668, -0.0224763993, 0.0104337959, -0.025913354, -0.0320884362, 0.0110692149, -0.0260749329, 0.0184769295, -0.0049677594, 0.0382926352, -0.0318578929, -0.0083306264, 0.001515112, 0.0480732992, 0.0177110527, -0.0168012213, 0.0418782942, 0.0520292595, -0.0154583463, -0.0447685942, 0.0923649669, 0.073372595, 0.000569499, 0.0074959658, 0.0031757711, -0.0758318454, 0.0123390481, 0.0182135552, 0.0308923852, -0.0247230753, 0.0098410863, -0.0698797479, -0.0437656567, 0.00577742, 0.0395405143, 0.0161295161, -0.0320954956, 0.0241340976, 0.0587661117, 0.0118288975, -0.0338725857, -0.0394093171, 0.0224231556, -0.0097068129, -0.0476806909, -0.013479664, -6.656633491e-33, 0.0018724368, -0.0612565018, 0.0449006222, -0.0167599935, -0.0131134503, 0.0256718453, -0.0459171981, 0.0198364742, 0.0089303441, 0.0097581539, -0.0124646444, 0.0244719852, 0.0008401488, 0.0172856953, 0.0206920709, -0.0272541177, 0.0257062316, -0.0066012824, -0.0192879792, 0.0232311264, -0.0024022055, 0.0259330757, 0.0476188697, -0.0477594472, 0.0436866097, -0.0206900071, 0.0055167251, 0.0177941155, 0.0325190127, 0.0458042808, -0.0164115336, -0.0076167826, 0.054648526, -0.0423578508, -0.0007532498, 0.0126503399, -0.0723158196, -0.0405041799, 0.0121160336, 0.0006064829, -0.0677916929, 0.0062343939, 0.0335033387, -0.0087781036, 0.0332032666, 0.0048345844, 0.0276526324, -0.0270141698, -0.0068018869, -0.0331380591, -0.0662630275, 0.0480337813, -0.0273284558, 0.0168625563, 0.0095493635, 0.0420736372, 0.0023213979, 0.0322368033, -0.0284157693, -0.0000361792, 0.0227777865, 0.0135888113, 0.0558389276, 0.0277569704, -0.0070468565, 0.0258455891, 0.0081115561, 0.0414402001, -0.0343636721, 0.0277340636, 0.0077678976, 0.0666206777, 0.0218062531, 0.0442269631, 0.0168877859, 0.0386780314, -0.0647800788, 0.0495099388, 0.0103557585, 0.0262718983, -0.0239833929, 0.0099516576, -0.0360460728, -0.0218532812, -0.0276403762, 0.0438844003, -0.0475782976, -0.0098464219, 0.0326069556, -0.0373071171, -0.0281121861, -0.0206917077, 0.0254649408, -0.0284635164, -0.032359764, -0.0065705949, -0.0141704371, 0.0213599019, -0.0018982043, 0.0515800156, -0.0604191907, -0.021610627, -0.0230746642, -0.0004470731, 0.0154799288, 0.0151741272, 0.0326245762, -0.0082687177, -0.0706748068, -0.00590778, -0.0222772211, 0.0271967426, -0.0250950977, 0.0318803675, 0.0153360507, 0.0305295028, 0.010313008, 0.0430344976, 0.0347440094, -0.022940319, -0.0509935357, 0.009992253, 0.0318085663, 0.0354116634, -0.0109928418, -0.0215608347, -0.0533276349, -0.0229323562, 0.070694834, -0.0315177329, 0.0002180823, 0.0426189452, 2.861e-7, 0.077980943, 0.0793150291, 0.0023497369, 0.0651169419, 0.0015727659, 0.0348436013, -0.0090842275, -0.0159105342, -0.021162875, -0.0319300182, 0.0075233406, -0.0016699703, 0.0440276451, 0.0437943228, -0.0795991272, 0.0031934234, -0.0419475436, -0.0132053075, -0.0622536652, 0.0123936469, 0.0448437743, 0.0573669672, -0.0226320401, -0.0039139632, -0.0137798786, -0.0412957855, 0.0367830247, -0.011055069, 0.0037720364, 0.0374992751, -0.0115202712, 0.0136610372, -0.0120418845, 0.020583909, -0.009486679, -0.0060054646, 0.0091340607, 0.0607320033, 0.0161495861, 0.0288783014, 0.0205390472, -0.0747915879, -0.0027890007, -0.0641336516, 0.0375182293, -0.0344541632, -0.039860446, 0.0087318439, -0.0359397456, -0.0087963706, -0.0340274274, 0.0040939786, -0.0204940625, 0.0235169083, 0.0129678678, -0.0597706996, 0.0099494914, -0.0242571887, -0.0108437566, -0.0037141379, -0.0101585621, -0.0235229824, -0.058886867, 0.0200935826, -0.0122909443, -0.0343383811, 0.0034222992, 2.863371766e-34, 0.0600638799, -0.0061127855, -0.0033056175, 0.0510036238, 0.0690984949, -0.01783677, -0.0176796932, 0.0143081723, 0.0076558208, -0.1057006642, 0.0055851745 ]
http://arxiv.org/abs/2406.12928v1
http://arxiv.org/pdf/2406.12928v1
Evaluating the Generalization Ability of Quantized LLMs: Benchmark, Analysis, and Toolbox
2024-06-15T12:02:14
2024-06-15T12:02:14
Yijun Liu, Yuan Meng, Fang Wu, Shenhao Peng, Hang Yao, Chaoyu Guan, Chen Tang, Xinzhu Ma, Zhi Wang, Wenwu Zhu
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have exhibited exciting progress in multiple scenarios, while the huge computational demands hinder their deployments in lots of real-world applications. As an effective means to reduce memory footprint and inference cost, quantization also faces challenges in performance degradation at low bit-widths. Understanding the impact of quantization on LLM capabilities, especially the generalization ability, is crucial. However, the community's main focus remains on the algorithms and models of quantization, with insufficient attention given to whether the quantized models can retain the strong generalization abilities of LLMs. In this work, we fill this gap by providing a comprehensive benchmark suite for this research topic, including an evaluation system, detailed analyses, and a general toolbox. Specifically, based on the dominant pipeline in LLM quantization, we primarily explore the impact of calibration data distribution on the generalization of quantized LLMs and conduct the benchmark using more than 40 datasets within two main scenarios. Based on this benchmark, we conduct extensive experiments with two well-known LLMs (English and Chinese) and four quantization algorithms to investigate this topic in-depth, yielding several counter-intuitive and valuable findings, e.g., models quantized using a calibration set with the same distribution as the test data are not necessarily optimal. Besides, to facilitate future research, we also release a modular-designed toolbox, which decouples the overall pipeline into several separate components, e.g., base LLM module, dataset module, quantizer module, etc. and allows subsequent researchers to easily assemble their methods through a simple configuration. Our benchmark suite is publicly available at https://github.com/TsingmaoAI/MI-optimize
[ -0.0329361446, 0.0764765516, 0.0091719069, 0.0560575947, -0.0191159435, 0.0051399632, 0.0068006194, 0.047884468, -0.0464537814, -0.0241187345, -0.0178756658, -0.0588926375, 0.0179844778, 0.000056166, 0.0335644335, -0.0273956917, 0.0440457948, -0.0377802849, 0.0030062203, -0.0169953909, 0.0054083723, -0.0283742715, 0.0239599645, 0.0151390219, 0.0018198179, 0.0207062773, -0.0144369816, 0.0430042297, 0.0105080605, -0.0007056208, -0.0008578385, 0.0452380031, 0.0435557961, 0.0185734835, 0.0000018534, -0.0370603278, -0.0299135577, -0.0259347167, -0.0200151857, 0.0336232409, 0.0164872296, -0.0402996279, -0.0452226847, 0.0140390703, -0.011649481, -0.007405621, 0.0730297193, -0.0217393935, 0.0179472994, 0.0753789321, -0.0129962275, -0.027420653, 0.0404244214, -0.0079273153, -0.006354576, -0.0236383528, 0.0102819717, 0.065275684, -0.0164985973, -0.0179698095, -0.0439409129, 0.0194129869, 0.0061382134, 0.0217251517, -0.0171586443, 0.0031474223, -0.0793499053, 0.0045404225, -0.0405898094, 0.0384020209, -0.0810108855, -0.0239088312, 0.0115433289, 0.0108542172, -0.0542870015, -0.0632472858, -0.037437398, 0.0465748757, 0.0044292635, 0.0522492118, -0.0095554246, -0.0126751829, 0.0604208857, 0.0049896399, -0.0418773815, 0.08254987, 0.0254963934, -0.0195831619, -0.0268726218, -0.0091659296, -0.0778831542, -0.0419322737, -0.0053497972, 0.0114405444, -0.0000672025, -0.001632057, -0.0582528077, -0.0205628779, -0.0008196309, 0.0064100949, 0.0336054638, 0.0743683577, -0.0189151391, 0.0225346237, -0.010073754, 0.0807242095, -0.0228429027, 0.0385700762, -0.0637046769, 0.0085625499, -0.008727232, 0.0068957307, -0.013327091, 0.0317656733, 0.0060123838, -0.0017009163, -0.0608441569, -0.0128229661, 0.0131511679, 0.0087656062, 0.0228927433, -0.0199131984, -0.0471803546, -0.0132975886, 0.0299384575, 0.0146710314, -0.0210326724, 0.0161080137, -0.0051947534, -0.0677108765, -0.0061862115, 0.0295178592, 0.0056387754, -0.0262305625, 0.0198155791, 0.0264342166, 0.0178419705, -0.0504119955, -0.0073389411, 0.0312769189, -0.0420333706, -0.0722673908, -0.0281995982, -0.0823653117, -0.0037230407, 0.0001109138, 0.0224175416, -0.0198296085, -0.0028887903, -0.0382828079, 0.0297400672, 0.0562559143, -0.0299013723, 0.0099510653, -0.0055560661, 0.0170157645, 0.050753586, 0.1074311286, 0.0511433221, 0.0215403121, 0.0219806805, 0.0111938966, -0.0027489781, 0.0782424808, 0.0094425417, 0.0108910175, -0.0422912017, -0.0341409408, -0.0089204228, 0.0470405705, 0.0902952403, 0.0967275798, -0.0548504554, -0.034789931, 0.0314928219, 0.0485009477, 0.0492303483, -0.0071296534, 0.0025088605, 0.0172411278, 0.0160913803, 0.026012402, -0.0085156588, -0.0117924642, 0.0228390936, 0.0231510494, 0.0525107868, 0.0373320542, -0.0371775255, -0.0331054442, -0.0406013019, -0.016062526, -0.0123232966, 0.0054952251, 0.0523046292, -0.0124098696, -0.0000122339, 0.0985083058, 0.0264644269, -0.07106518, -0.0007918612, -0.0686806589, -0.0064877979, 0.0585007444, 0.0347586945, -0.0237046201, 0.0175013468, 0.019741701, -0.0260146372, 0.0165087227, -0.008678128, 0.0066658123, 0.0265146066, -0.0599791817, -0.052607134, -0.007038659, 0.0155093726, 0.0179489162, 0.0355660133, 0.0139934411, 0.0070472769, -0.0826826021, 0.0180714615, 0.0128481183, 0.0136401281, -0.0258474518, 0.0204035211, -0.0056406804, 0.0309796128, 0.0280894339, -0.0276717022, -0.0132912807, 0.0154856415, -0.0508821905, 0.0424518734, -0.0247707106, -0.0034820109, -0.044894129, 0.0711192414, -0.0264611449, 0.0199936014, 0.0412959307, -0.0630179644, -0.0654423833, 0.0081273066, 0.0032158387, 0.0056610098, -0.0474060327, 0.0410625972, -0.0347588509, 0.0437299274, -0.0272875559, 0.011570788, -0.026557019, 0.0272562932, 0.0160364266, -0.0036568383, 0.0253450479, -0.0613768883, -0.0639133602, 0.0170173198, -0.0035921717, 0.0521315858, -0.0005046187, -0.0192165021, -0.0062509403, 0.0078265145, -0.0986236036, 0.0111660976, -0.0555944405, 0.0373039767, 0.0283476561, 0.0256640241, -0.002729089, 0.0022000202, -0.0567609519, -0.0177980457, -0.0048494898, 0.0017114762, 0.0064371065, -0.0196444076, -0.0294437297, -0.0474804267, -0.0352948941, -0.004021259, 0.030092828, -0.0688086376, -0.0557053797, -0.0771721676, 0.034322314, -0.0139380228, 0.0174646601, -0.0271205287, -0.0350275375, 0.0020818978, -0.0323315673, 0.0110252229, 0.0373987742, -0.0212619398, -0.0306148622, 0.0672290623, 0.005310135, -0.0378956981, 0.0168127175, 0.009860605, -0.0416328385, -0.0318690687, -0.0642163008, -0.0281910542, 0.0890813097, 0.0068235858, -0.0135805942, -0.0172093883, -0.002054336, -0.0241830181, -0.0107924063, -0.0520336516, 0.023491364, -0.0131283645, 0.0717020556, -0.0177489091, -0.085115917, 0.0201234315, -0.0507677421, -0.0040255538, 0.0014074465, -0.009041843, -0.0464607254, 0.0376749337, 0.0175807197, 0.024895167, -0.0065787244, -0.0147471419, -0.0650088564, -0.0264698807, 0.0002781887, -0.0379627943, 0.0418877639, -0.030586889, 0.0315971263, -0.0523540713, -0.0064618015, 0.0163097177, 0.0160881802, -0.0224510916, 0.031636022, 0.0287865791, -0.0350630358, 0.0506543852, 0.085509412, -0.0347145461, 0.0361455902, -0.0068579759, 0.0195237771, -0.0186707377, 0.0530624874, 0.0210211705, -0.0037089775, 0.0085731531, -0.0079654744, -0.0177831519, 0.0277234111, 0.0337105729, 0.0752879456, -0.0543516278, 0.012079481, 0.0458588377, -0.0052600899, -0.0194387231, 0.0090812249, 0.0818897411, -0.0277065802, 0.00838177, 0.0772421658, 0.0083815651, -0.0300540198, -0.001457438, 0.0123043796, 0.0298363585, -0.0051954673, -0.0287720207, -0.1375768781, -0.0130905164, 0.0232502241, 0.0039647915, 0.0192829594, 0.0125644105, -0.0114891026, -0.056841135, 0.0018105219, 0.0462549403, 0.0069649103, -0.0109650772, -0.0091454573, -0.010870981, -0.0418711416, 0.0788425878, 0.0314516611, 0.0114537831, -0.01712895, 0.022787381, -0.0409034081, -0.0689963028, 0.011519921, -0.0331092738, 0.0451455563, 0.0516518578, 0.025228925, -0.0111090075, 0.0306790024, -0.0138051612, 0.0154633792, -0.0269333906, 0.004157315, 0.0148865199, 0.0275906045, -0.0062379362, 0.0501102172, -0.0089763468, -0.0130771333, 0.0128192296, -0.0018915558, 0.0049307551, -0.0113831209, -0.0131073873, -0.0021755397, -0.037870992, -0.0178242363, 0.0563848615, 0.0179794636, -0.0034565623, -0.059641663, -0.0366111286, -0.0029389744, -0.0452503152, -0.0174607653, -0.0044323858, -0.0284931548, -0.0546576604, -0.0435019769, 0.0172092337, -0.001821067, -0.001880036, -0.0005463565, 0.0136693837, -0.0020028979, 0.0004699817, -0.0728739724, -0.0015764177, -0.0492655039, 0.0347677618, -0.0246548038, -0.0008640789, -0.0285036229, -0.0192642584, 0.0014169468, -0.0166720226, -0.1479723603, -0.0705575719, -0.0044424077, 0.0228663702, 0.0227175485, 0.0640024915, 0.005740969, -0.065470852, 0.0618908703, 0.0310111996, 0.0267844144, 0.0502428226, 0.0332927629, 0.0145041728, -0.0147947967, 0.0258125123, -0.0357523113, 0.0325874239, 0.0088375071, 0.0535390638, -0.0708373562, -0.041175656, -0.0032824809, 0.0083732335, 0.0550697446, -0.0265884604, 0.0113436412, 0.0212854594, 0.0181285776, 0.004663243, 0.001280805, -0.0431633964, -0.0126448013, 0.0664259046, 0.0029371637, -0.0167465284, 0.0020633803, -0.0008898085, -0.0091934223, 0.0136174783, 0.0089975363, -0.0161411986, 0.0165994782, 0.0515000261, -0.0168274622, -0.0046805716, 0.0405246988, 0.0080406517, 0.0284700077, 0.0006120405, 0.0123677105, -0.0359292366, 0.0224513784, -0.0190593656, 0.0247098822, -0.0345047452, -0.0246812291, -0.0378546529, 0.0239439514, 0.0900172666, 0.0250416361, 0.0481418893, 0.0181042086, -0.0096005416, -0.0376616865, 0.0248924233, 0.0055122813, 0.0229707025, 0.0460944846, 0.0174939465, -0.0368201919, 0.0274880957, 0.0516746007, 0.023992544, 0.0084764333, 0.0016689952, -0.0006253799, -0.0125537161, -0.0021064111, -0.0512988158, -0.0083992472, -0.0155266169, -0.033170484, -0.0148583231, -0.0417297892, 0.0281835552, 0.0220684316, 0.0186031125, -0.0222616773, 0.0055988976, 0.0385401063, -0.003261141, -0.0100879874, -0.0318671055, -0.0549469702, 0.0064006094, 0.0058979979, -0.0202300921, -5.852273563e-33, -0.0203241799, 0.0213069227, 0.0070527857, -0.0306536201, 0.0056097866, 0.0212977063, -0.0003905645, 0.00459912, -0.0232670587, -0.0538056158, -0.0146099441, 0.0302778743, 0.03250774, -0.0007347363, -0.0364664644, 0.0085574398, 0.0557705015, -0.0112402877, -0.0211999342, -0.0166112054, -0.0031546368, 0.0295997988, 0.0751663595, 0.0120190885, 0.0047974586, -0.0089360578, -0.0192174576, -0.0054427702, 0.0220921934, 0.0375941396, -0.0246887524, 0.0602019653, 0.0146304555, 0.0399852917, -0.0376817659, -0.0118841035, -0.0685295612, 0.0203272384, 0.0239226166, 0.0588611588, 0.0112765543, -0.0343420394, 0.0477702953, -0.0007780731, -0.0419246964, -0.0312454682, -0.0213834029, -0.0369856618, -0.0405248627, -0.0705282465, 0.0072972677, 0.0500255749, 0.0173326284, 0.0226483829, 0.0728655756, -0.0096148569, -0.032862585, 0.0206955019, -0.0610161945, 0.0204845201, 0.0596183687, 0.1026972085, 0.0725575164, 0.0372152291, -0.0041651125, 0.0220639631, 0.0556111634, -0.0409549959, 0.00152744, 0.0386494249, 0.0372743942, 0.0149637656, 0.0377534777, 0.0658557415, 0.1018160582, -0.0009762367, -0.0616553091, 0.0101390099, 0.0201261025, 0.0149760777, 0.029747529, 0.0800779015, -0.0374867059, -0.0446241945, -0.0352009572, -0.0207864847, -0.0467802621, -0.0446530171, 0.0021453523, 0.0012379813, -0.0291515011, -0.0325085446, 0.03682198, -0.0674218759, -0.0205713511, -0.0021754499, -0.0120202908, 0.0223482046, 0.0013641976, 0.0492918901, -0.0341391005, -0.0551609062, 0.0076732761, 0.0133206286, 0.0098189367, -0.0197217725, 0.0232718624, 0.0413946956, -0.0486575626, -0.0053900736, -0.0206010044, -0.0363744795, -0.0111128204, 0.0480277911, 0.0315334722, -0.0114082303, 0.0092230085, 0.0301779304, -0.0032546001, 0.0058397264, -0.0147513757, 0.0008752632, -0.0036360868, 0.0678927079, -0.0323142447, 0.0121136578, -0.0412278473, -0.0032437923, 0.0671587735, -0.0432185307, -0.0463090725, 0.0169507544, 2.466e-7, 0.0785241798, -0.0089126071, 0.0428252593, 0.002216107, -0.0011989748, -0.0229634363, -0.0379050337, 0.0021605953, -0.0059334519, -0.0212383699, 0.0228413399, 0.0405603684, 0.0491683111, 0.0145891607, -0.0676024556, 0.038401179, -0.0239328668, 0.0175000373, -0.02652511, 0.0009655506, 0.0199972354, 0.1140904948, -0.0310399178, -0.0040405211, 0.0372894667, -0.0385756232, 0.0393344313, -0.0157934576, 0.0000280945, 0.0592199005, 0.0411278866, 0.0241254531, -0.0052006794, -0.0272201449, 0.0309360567, 0.0000323394, 0.0032756876, 0.0755239502, 0.0121511035, -0.018683102, -0.0092085768, -0.0188188069, -0.017859824, -0.0376987308, 0.0651347786, -0.0235866196, -0.0034978143, -0.0982356146, -0.0199552923, -0.0043807342, 0.0275752489, -0.011570571, 0.0117123965, 0.0161997173, 0.028335521, 0.0019275522, -0.0095384754, -0.0663373694, -0.0685404018, 0.0488756001, -0.0316825509, -0.0795939192, -0.0257172044, -0.0165055618, -0.001990671, -0.0388571471, 0.0019277601, 2.258805379e-34, 0.0333940014, -0.0163976867, 0.0193957277, 0.0398848541, -0.0084579904, -0.043339368, -0.0706257746, 0.0026220044, -0.0378445871, -0.0342024677, -0.0110388994 ]
http://arxiv.org/abs/2406.10602v1
http://arxiv.org/pdf/2406.10602v1
Multilingual Large Language Models and Curse of Multilinguality
2024-06-15T11:31:39
2024-06-15T11:31:39
Daniil Gurgurov, Tanja Bäumel, Tatiana Anikina
cs.CL
cs.CL
Multilingual Large Language Models (LLMs) have gained large popularity among Natural Language Processing (NLP) researchers and practitioners. These models, trained on huge datasets, show proficiency across various languages and demonstrate effectiveness in numerous downstream tasks. This paper navigates the landscape of multilingual LLMs, providing an introductory overview of their technical aspects. It explains underlying architectures, objective functions, pre-training data sources, and tokenization methods. This work explores the unique features of different model types: encoder-only (mBERT, XLM-R), decoder-only (XGLM, PALM, BLOOM, GPT-3), and encoder-decoder models (mT5, mBART). Additionally, it addresses one of the significant limitations of multilingual LLMs - the curse of multilinguality - and discusses current attempts to overcome it.
[ 0.0162983052, 0.0367816016, -0.0077516888, 0.0653085634, -0.0443222336, 0.0302565917, 0.01185132, -0.018920444, -0.0251132939, -0.0351907685, -0.0442095958, -0.0410442948, 0.0089313984, 0.0348436274, 0.0158492494, -0.0290125124, 0.0402714238, -0.0412331074, -0.0148362499, 0.0034401289, 0.014598297, 0.0440476723, 0.0488699451, 0.0520243272, -0.0270047132, -0.0222831909, 0.0355717279, 0.0057906755, -0.0055111232, -0.0236322116, -0.0280254018, 0.0138170077, 0.0099537447, 0.028038729, 0.0000018167, -0.038513992, -0.0202042237, 0.0084995199, 0.0073855133, -0.0209886152, 0.0451493226, -0.1156286746, -0.0003387449, 0.0312000569, -0.0105207888, -0.0412295796, 0.058991082, 0.0543619692, 0.0409250334, 0.0611939281, -0.0046664453, -0.0702894256, 0.0171819478, -0.0255114175, -0.0534429103, -0.0189220961, 0.0264844745, 0.0064161452, -0.0137117151, 0.0272248127, -0.0479610264, 0.0366847366, 0.0068689282, 0.0317873769, -0.0336532518, 0.0161920283, 0.0023054411, -0.0325607695, -0.004734782, 0.0321806185, -0.0623748489, -0.0215805713, -0.0153156724, 0.0190946963, -0.0286836382, -0.0361611284, -0.036559131, 0.050439883, -0.0107113337, 0.0503989309, 0.0467599593, -0.0082565956, 0.0381867848, -0.000646671, -0.0377145484, 0.0458059236, 0.0263481122, -0.0231707096, 0.0106233992, 0.0293780789, -0.0215612855, -0.0358702689, 0.025951989, -0.0108437249, -0.0103578391, 0.0308333468, -0.0177914128, -0.0297233816, 0.0418139845, -0.0663521439, -0.0137217147, 0.0299189221, -0.0244121198, 0.0356669575, -0.0511359386, 0.0349446498, -0.0207491871, 0.0032814178, -0.040781375, -0.0824096203, -0.0298450962, -0.0185239054, -0.0520171039, 0.0336514674, -0.0706275329, -0.0186064281, -0.0532998927, 0.0240659826, 0.0185628012, -0.0094022118, 0.0292656906, -0.036368154, -0.007491373, -0.0094214156, 0.0058291261, 0.068243809, -0.0113517791, -0.0071021239, -0.0336447209, -0.0712012723, 0.0042922515, 0.0330114514, -0.0164682437, -0.0433014408, 0.0111762425, 0.0866021812, 0.0029861389, -0.034526594, -0.0391713604, 0.0087339217, -0.0004135858, -0.0639333054, -0.0077564903, -0.0704708621, 0.0664628446, 0.0265580826, 0.0534395128, -0.0140352482, 0.0113874581, 0.0096286237, -0.0267902613, 0.085394688, 0.0066550602, -0.0027425897, 0.0338905863, -0.0235169102, 0.0297298841, 0.0984786153, 0.0134790707, -0.0049187057, 0.0566977262, -0.0349378921, -0.0096435817, 0.0920523927, -0.0327802263, -0.015481187, 0.0023168095, -0.0046884338, 0.027001908, 0.0208762139, 0.0394299813, 0.0555562787, -0.0382701978, 0.0084260795, 0.0128322328, 0.0585740246, -0.0164776295, 0.0211614892, 0.0662458017, -0.0300868414, -0.0189892054, -0.0207571033, 0.0126166139, -0.0208501816, 0.0230452511, 0.0072125494, 0.0042705797, 0.0870694742, -0.0273237992, -0.0025891827, -0.0298614148, -0.0359308012, 0.0149324248, -0.0244123004, 0.090001069, -0.0108168609, -0.0187232066, 0.0660002455, 0.0141131114, -0.0259050764, 0.0520866401, -0.0419182032, -0.020513827, 0.039240893, 0.0379555374, 0.0093430756, 0.0166689847, -0.0198145583, -0.0056578768, 0.0687675476, 0.0160905551, -0.0137356026, 0.01846347, -0.0767998099, 0.0091470648, 0.0153839951, -0.0021602658, 0.0461278819, -0.0096074659, 0.036850445, -0.0162244011, -0.0248685535, -0.0316424258, 0.0256174169, -0.047177311, -0.0081942007, 0.0254646745, -0.0225497428, 0.0398514085, 0.0326880775, 0.0048436713, 0.0048937052, 0.0342283137, -0.0583821386, 0.0056601185, 0.0404117368, -0.0419765413, -0.0524429977, 0.0383690894, -0.0363565311, -0.0008688694, -0.0051515587, -0.0409043841, -0.0450476967, 0.0089559313, -0.0114101088, 0.0712890178, -0.0496222638, 0.0336148776, 0.0061931564, 0.0169555936, -0.0095020263, 0.0474416763, -0.0133678364, 0.0203913469, -0.0147494823, -0.0245566405, 0.0236484129, -0.0369284116, -0.042848438, 0.0685796887, 0.0043472452, 0.0107400045, 0.0188755449, 0.0118164532, -0.0148120858, -0.0336679518, -0.107664369, 0.0034202703, -0.038043946, 0.017065201, 0.0006050024, 0.0100597348, -0.0129879992, -0.0153886862, -0.0363947079, -0.0387936905, 0.0389059782, 0.0404128581, 0.00204008, -0.0048262416, -0.0073907501, 0.0174590871, -0.0241914373, 0.0164531097, 0.0638620555, -0.0247466452, -0.0585541911, -0.0622499064, -0.0296100918, -0.0160717685, 0.0147906812, -0.0097866002, -0.0149632264, -0.0188312568, 0.0025268178, 0.047869876, 0.0037795813, -0.0205739569, 0.0578190759, 0.0215423722, -0.0243940596, -0.0298830792, -0.0057012052, -0.0245027542, -0.0206209365, -0.065256238, -0.0402234942, 0.0290805697, 0.0470753387, -0.0075356071, 0.0086827697, -0.0438092537, -0.032699585, -0.0352035873, -0.0459549017, -0.0151822465, -0.0152732003, 0.0081866607, -0.0002109079, -0.0146473395, -0.0155469505, 0.0502218716, -0.0617971681, -0.0264783408, -0.0711714178, 0.0053148242, -0.062530607, 0.0389344022, 0.0028133208, 0.0346192233, -0.0395181254, -0.0672337338, 0.0303324666, 0.0227467585, -0.0114251291, -0.0206183493, 0.0312739052, -0.0258453656, 0.0019268291, -0.0102985306, -0.0387247466, -0.0003903641, 0.0029608982, -0.0355474949, 0.038809225, 0.0191632807, 0.0155961188, -0.0695321038, 0.0508693382, 0.0141447596, 0.0232589487, -0.0008728525, 0.0246596299, -0.0220307913, 0.0376593582, 0.0405249149, -0.0300983321, -0.0027291109, -0.0517739281, 0.0191430096, 0.0266373735, -0.0169463065, -0.0362932384, 0.0058108596, 0.0073422771, 0.0537963957, -0.0249483585, -0.0003660866, -0.0315238498, 0.0318386964, -0.0452631041, -0.0063185748, 0.0964570865, 0.0310588516, -0.055289764, -0.0055806087, -0.0285744816, 0.0254173856, 0.00754186, 0.0008812742, -0.0915922001, -0.0382349677, -0.0003043382, -0.0253227353, -0.0043339836, -0.0067060087, -0.0006080673, -0.1416666955, 0.0082104402, 0.0001607028, -0.0603179708, -0.0483295694, -0.060575515, -0.0612269193, -0.0421911329, 0.0564316772, -0.0320252292, -0.0035424759, -0.0204859301, 0.0455176756, -0.0151334712, -0.0794017017, 0.0063195033, -0.0479397364, 0.0316622891, 0.0649432912, 0.0145666627, -0.029027218, 0.0029113758, 0.0428796522, -0.010619754, 0.0091655813, -0.0432960428, -0.0030334916, -0.0302629992, -0.0187232532, 0.0010158687, 0.0005138816, -0.0377253816, -0.009992444, -0.0030790032, 0.0940970406, 0.0027478889, 0.002328838, 0.0121449586, -0.0334675834, -0.0180378705, 0.0824063718, -0.009420543, -0.0415352993, -0.0401548967, -0.0397396311, -0.0069704182, -0.0319440626, -0.0060106972, 0.0091970004, -0.0345372595, -0.0356167406, -0.0381521583, -0.0629477203, 0.073776342, -0.0145375431, 0.0208091959, 0.0430989601, 0.0083009517, 0.0018189125, -0.0074141589, 0.036203973, -0.0317445882, 0.0028334602, -0.0934563726, 0.0201228764, 0.0530927218, -0.0172136817, 0.0068855109, 0.014711746, -0.0480494015, -0.0638773143, -0.0417120494, 0.0402447321, 0.0157734416, 0.0455246307, -0.0136940582, -0.0388316363, 0.0184177812, 0.012575387, -0.0154388696, -0.0033060587, 0.0075880298, 0.0176109318, -0.0170093942, 0.0231950693, -0.0097989263, 0.0213116612, 0.0012316447, 0.0582125001, -0.0320712328, -0.0130363805, 0.0207080375, 0.0290243719, 0.037166819, -0.0358501151, -0.015456466, -0.0385822169, 0.0032195533, -0.0544518754, 0.0148635162, -0.0371412262, 0.0057556797, 0.0492031388, 0.0015522474, -0.0299412459, -0.0053424984, 0.0095406799, -0.0075335293, 0.0024014923, 0.0506987609, 0.0059991092, -0.0096212123, 0.0307875704, 0.0193364061, -0.0316190273, -0.0055093784, -0.0034378087, 0.0151465889, -0.0453104749, 0.041762013, -0.0022073619, 0.004816581, 0.0113016199, 0.0316987038, 0.0092464024, -0.0073903408, -0.0257643443, 0.0406977572, 0.0791865364, -0.0106173092, 0.0799158141, -0.0114967003, -0.0149195306, -0.0347516313, 0.0371177606, 0.0105312057, -0.0296632927, 0.0337320603, -0.0108096832, -0.0560854264, -0.0353097878, 0.0878657028, 0.0175821781, 0.0322961733, 0.0059396597, -0.0324151814, -0.0084968098, 0.0029291143, 0.0252025872, -0.0134358183, -0.0434419923, 0.0127944136, -0.0361310914, -0.0579922162, 0.0210279375, 0.0002161117, 0.0013492588, -0.00701058, 0.0023567597, 0.0803619176, 0.0300373044, 0.0041906782, -0.0480371378, 0.0001481638, 0.0076609217, -0.0325098112, 0.0060206852, -5.895527715e-33, -0.01122957, 0.0057452316, 0.0239221361, -0.0407391563, 0.0058225943, 0.0040928549, -0.0018484796, -0.0160777364, -0.0079403026, -0.0090762395, 0.0000799719, -0.0280100722, 0.0321424194, 0.0288467519, 0.0453613885, 0.0228314567, 0.0507409498, 0.0102771129, 0.0078500388, 0.0053272508, 0.0611289926, 0.0317607261, 0.082515955, -0.0202795696, 0.0124375662, -0.0014042234, 0.0156707168, 0.0283397567, 0.0049255248, 0.0764416978, -0.0406611413, 0.0462878793, 0.0432703272, -0.0360090099, -0.0209798962, 0.0055612512, -0.0998108685, 0.0033994191, 0.0609985478, 0.0533721074, 0.0214012004, -0.0462049767, 0.0226533171, -0.0079111326, -0.0139376456, 0.0249281283, 0.0196426138, -0.0266721584, -0.0078953132, -0.0200112462, -0.0568543449, 0.0430700704, 0.0196930077, 0.0345812291, 0.083589077, 0.0449670516, -0.0181724895, 0.0530442856, -0.0617900044, 0.0035941803, -0.0002017944, 0.0326291844, 0.0684345812, 0.0301590767, 0.0050041936, 0.0391600691, 0.0123773851, -0.029871054, 0.012104705, 0.0258838199, 0.023855567, 0.0162769184, 0.0462547056, 0.053525757, 0.0272299908, -0.0157128684, -0.0767727494, -0.0051762606, 0.0101780631, 0.0290812552, 0.0327138193, 0.0122829946, 0.009787078, -0.0245922785, -0.0246572103, -0.0266975351, -0.0241574366, -0.0244502146, 0.0450667962, 0.0111071737, 0.0203791242, 0.0485765301, 0.0788862929, -0.0173071641, -0.0450871773, 0.0050707893, 0.0283883922, 0.0177790783, -0.0149556594, 0.0605314821, -0.051226899, -0.0511796102, -0.028370358, -0.0522495434, -0.0047912276, -0.0080137141, 0.0438232087, -0.0205523856, -0.059396401, 0.014283116, -0.0151756015, 0.0226364117, -0.0161130261, 0.0540384315, 0.030362593, 0.0125794085, 0.0021180031, 0.0353068709, 0.0334294625, -0.0042211539, -0.0184562318, -0.017522011, 0.0084224707, 0.0356957242, -0.01544616, 0.0210316423, -0.0419959016, -0.0128406892, 0.0417209417, -0.0408255085, -0.0041483603, 0.0233458187, 2.464e-7, 0.0392436683, 0.0369809419, 0.025373118, -0.02421581, 0.0083018318, 0.013968653, -0.0422989018, 0.0351718739, 0.0143253822, 0.0212905295, -0.0363549031, 0.0077915415, 0.062506251, 0.0397301838, -0.0963637456, 0.0186983217, -0.0466368869, 0.0153663633, -0.0796974674, 0.0230454113, 0.0287726391, 0.1310163438, -0.0358477049, 0.0020908925, -0.0517852269, -0.0425703041, 0.072382316, -0.0507786572, -0.0332439914, 0.0224532578, 0.0011938959, 0.0039793928, 0.004216325, 0.0181943793, -0.0198269356, 0.0074699596, 0.0497752689, 0.0766833052, -0.0140650179, -0.016560398, 0.0499153994, 0.0034511997, -0.0547596626, -0.0583765395, 0.054688625, -0.0079373186, -0.0350243598, -0.0028768342, -0.0256582908, 0.008400714, 0.0185279083, -0.0404730178, -0.0368564203, 0.0389427729, 0.0672315359, -0.0038176244, -0.0157903358, -0.0554143861, 0.007499998, -0.0076952912, -0.020685317, -0.0214645155, -0.0028833798, 0.0119493306, 0.0171116907, -0.0488270819, 0.0116439061, 2.281971801e-34, 0.0610121079, -0.0066148383, 0.0113342647, 0.051663205, 0.0353259221, -0.0370624438, -0.0229894351, 0.055435475, -0.0678898245, -0.0860452354, -0.007347703 ]
http://arxiv.org/abs/2406.10594v2
http://arxiv.org/pdf/2406.10594v2
BlockPruner: Fine-grained Pruning for Large Language Models
2024-06-15T11:03:33
2024-06-20T04:25:49
Longguang Zhong, Fanqi Wan, Ruijun Chen, Xiaojun Quan, Liangzhi Li
cs.CL
cs.CL
With the rapid growth in the size and complexity of large language models (LLMs), the costs associated with their training and inference have escalated significantly. Research indicates that certain layers in LLMs harbor substantial redundancy, and pruning these layers has minimal impact on the overall performance. While various layer pruning methods have been developed based on this insight, they generally overlook the finer-grained redundancies within the layers themselves. In this paper, we delve deeper into the architecture of LLMs and demonstrate that finer-grained pruning can be achieved by targeting redundancies in multi-head attention (MHA) and multi-layer perceptron (MLP) blocks. We propose a novel, training-free structured pruning approach called BlockPruner. Unlike existing layer pruning methods, BlockPruner segments each Transformer layer into MHA and MLP blocks. It then assesses the importance of these blocks using perplexity measures and applies a heuristic search for iterative pruning. We applied BlockPruner to LLMs of various sizes and architectures and validated its performance across a wide range of downstream tasks. Experimental results show that BlockPruner achieves more granular and effective pruning compared to state-of-the-art baselines.
[ -0.001623953, 0.0551822037, -0.0108963735, 0.0415002741, -0.0293980259, 0.0179859623, 0.0264473185, -0.0205990672, -0.0012980094, -0.0000829463, -0.0488324426, -0.031061152, 0.014222661, -0.0340277553, 0.0082660019, -0.0428548083, 0.0338468626, -0.0269094724, -0.0111173224, 0.0143717732, 0.0094315205, 0.0177365355, 0.0311393943, 0.0460538827, 0.01194112, -0.03197385, -0.010820074, -0.0066265385, 0.0132406186, -0.0071200673, -0.0016208135, 0.0531398356, -0.0050693471, 0.053998895, 0.0000021144, -0.0148023432, 0.0135992719, -0.0063628433, -0.049902305, 0.0592832342, 0.0266786683, -0.00204241, -0.0102819148, 0.0205503292, 0.0002190038, -0.050013274, 0.0445141979, 0.0635968521, 0.0493696295, 0.069348596, 0.005750508, -0.0437941067, -0.0215281099, -0.0518494509, -0.0551348478, -0.0526482388, 0.0305793136, -0.0272706188, -0.040281821, -0.015126708, -0.026504349, 0.0329913013, 0.0432936363, 0.026035035, -0.0256516319, 0.040694993, -0.034597639, -0.0218931139, 0.0131781138, 0.0599242933, -0.0642390549, -0.0345260613, 0.0040944396, -0.0234243739, -0.0158609189, -0.047013931, -0.0376355536, 0.0328081138, 0.0185454674, 0.0270699374, -0.0046936213, -0.0133185294, 0.0602466762, -0.0125895394, -0.0432987474, 0.0307459477, 0.0179692879, -0.0171485618, 0.0041972054, 0.0008643299, 0.0118328203, -0.047841683, 0.0021214315, 0.0186000466, 0.013593303, 0.0079049058, -0.0540620089, -0.0135280527, -0.0089233266, -0.0462980121, 0.0357274227, 0.0467634387, 0.0131293833, 0.0607758015, -0.0275622085, 0.0152519727, -0.0055592488, 0.0118131852, -0.0343575105, 0.0130223725, -0.001006305, 0.002963891, -0.0272996966, 0.008908907, -0.0290504191, -0.0404589698, -0.0144606782, 0.0053059109, 0.0115439324, -0.0347705707, 0.008472221, -0.0095552132, -0.006434632, -0.0112335728, 0.0329826251, 0.0556860343, -0.0132096317, -0.009667078, -0.0121864257, -0.0695366859, -0.0468304083, 0.0679530129, -0.003325515, -0.0311709624, 0.0082237441, 0.0375806801, -0.0112975985, -0.0498241298, -0.0530185066, 0.0216877814, -0.0108614881, -0.0850218683, 0.0202959441, -0.0447534174, 0.0409564339, -0.0494143702, -0.0055084843, -0.0413603187, 0.0031145166, 0.0285826586, -0.031946741, 0.0229433905, 0.02655828, 0.0315734372, 0.0253085103, 0.0062015327, 0.0170426872, 0.091605559, 0.0259155091, 0.0247137677, 0.0029351735, -0.04562575, -0.0086130677, 0.0511173792, 0.0281186383, -0.0024038418, -0.0409268737, -0.0459422171, -0.0182325728, -0.0018237148, 0.0646562204, 0.0647245124, -0.0474022627, -0.0128090177, 0.0536209084, 0.0041977474, 0.0342762694, 0.0577464998, 0.0496370159, -0.0000631641, 0.0079468237, 0.0393864326, -0.070395872, 0.0300937407, -0.0111047523, -0.012247866, 0.0045725694, 0.0429086462, -0.0562745258, -0.0025425029, -0.0158009157, 0.0098731304, 0.009669208, 0.0402126983, 0.0457379445, -0.0064980551, -0.0368535221, 0.0969302356, 0.0040829629, -0.0487552583, 0.0028463851, -0.0490570068, -0.0188247673, 0.0487299822, 0.0229847804, -0.0119751459, -0.0204682928, 0.0303599443, 0.0330804884, 0.0145928357, 0.0269659068, 0.0122856051, 0.0669828132, -0.0681581721, 0.0113617741, 0.0041154381, 0.0390356481, -0.0018564282, 0.0377442203, -0.0262903608, 0.0317315385, -0.0139998002, -0.0290688556, 0.0546063744, -0.0391104855, -0.0038722095, 0.0055296049, 0.0202315282, 0.0108394297, -0.0171033796, -0.0120045533, 0.0095302854, 0.0528062321, -0.0400414914, 0.018970862, -0.0051824581, -0.0396834388, -0.0447029136, 0.0483158752, 0.0123460637, 0.0098816901, 0.08135809, -0.0454162508, -0.0356375948, 0.0507587679, -0.0764381662, 0.0454846881, -0.0392456315, 0.0439299121, -0.0267755538, 0.0728190914, -0.0099175368, 0.0353619568, -0.0234342963, 0.0067936755, 0.0317805037, -0.0559578426, 0.004591695, -0.0486115441, -0.0328337736, -0.0119658792, -0.0309256837, 0.002041064, -0.0180557743, 0.0198722985, -0.0029914959, -0.0236967653, -0.0488973446, -0.0041977307, -0.0454855897, 0.0423237234, 0.0212257206, 0.0475982539, 0.0061695357, -0.0160781853, 0.0345076695, 0.0117010986, 0.0171630587, 0.0166540872, -0.0104772244, -0.0342990346, -0.0573014356, -0.0227630064, -0.0434001647, 0.0182394199, 0.0707220286, -0.0510189086, -0.0468990617, -0.0420003943, 0.0230913013, -0.0105438465, 0.042032253, -0.0104523255, -0.0339079462, -0.0290677138, 0.0012220975, 0.0105490703, 0.0841569602, -0.0196169298, 0.0415701792, 0.0711399987, -0.0123468777, -0.0242418777, 0.0262565073, -0.0204931628, 0.0237887837, -0.0306229685, -0.0414152704, 0.003751074, 0.0609922335, -0.0049570599, 0.0058527077, -0.0454395376, -0.0165197626, 0.0081690541, -0.0333399214, 0.0201619156, -0.0068204515, -0.0365529917, 0.0364918113, -0.0247301832, -0.0291533712, 0.0325794704, -0.0524643436, -0.0213073865, -0.0262941103, -0.0053080348, -0.0376068316, 0.0555243827, 0.0085488502, 0.0229275431, -0.0287451129, -0.0366894044, -0.0607709773, 0.0125098228, -0.0193786323, 0.0067983926, 0.0528491475, -0.0540607683, 0.0197360907, -0.0248343013, -0.0176144335, -0.0161463246, 0.0074224323, -0.0545670353, 0.0256401524, 0.0398778729, -0.0066200742, -0.0691697598, 0.0272828266, 0.0367649123, 0.0654633269, 0.0315993018, 0.0363382772, -0.0013266935, 0.0339706577, 0.0373010263, 0.0239228532, 0.0651414916, -0.036731001, 0.0688757822, 0.0491587631, 0.0156280529, 0.0437816642, -0.0454626568, -0.0260270033, 0.0368666053, -0.024039831, -0.00073101, 0.0053816796, 0.0516819432, -0.0818318501, -0.0159325879, 0.0936923623, 0.0026071784, -0.0447414741, 0.019968193, 0.0095464205, 0.0409978703, 0.0040198616, 0.0532905459, -0.0347035006, -0.0498757586, 0.0153369913, -0.0060876068, 0.0343421847, -0.0175267942, -0.006206763, -0.1171685383, 0.0397898592, -0.013649472, -0.0610242262, -0.0017188661, -0.0431996435, 0.0125665441, -0.0118901823, -0.0042391866, 0.0145327309, -0.0152139086, -0.0364666134, -0.0060484703, -0.0667444915, -0.0474106967, 0.0311202891, -0.0085663404, 0.0227666609, 0.0707576796, 0.0077168634, -0.0017915374, -0.0508314669, 0.0785513073, -0.0355559215, -0.012191534, -0.0195693839, 0.0450812392, 0.0283561423, 0.0004120733, -0.0060400814, -0.0072148908, -0.0279750749, 0.0016623007, -0.014354568, 0.0914216116, -0.0088191675, -0.0564677157, -0.004273104, 0.0314206034, -0.028819792, 0.0653097183, 0.0744183734, -0.0269282125, -0.0700316727, 0.0114938887, -0.0072239353, -0.0804361477, 0.0119464602, 0.0451681539, 0.0191059411, -0.0601494722, 0.0066922926, 0.0041628885, 0.0286951009, 0.0138250235, -0.0010476812, -0.016498683, 0.0199796818, 0.02540824, -0.034824945, 0.0163297933, -0.0345240049, 0.0060965056, -0.0595907047, 0.0252227318, -0.0104587348, -0.0017496116, -0.0081657199, 0.0304235257, -0.1247143447, -0.0513784327, -0.0173152555, 0.0513613634, 0.0188315231, 0.0427618399, -0.0117232269, -0.0668325946, -0.0118339285, 0.002639835, -0.0344257802, 0.0681062713, 0.0105595039, -0.0659738854, -0.0092360275, 0.0697116777, -0.0190237537, 0.0465940051, 0.0399138629, 0.041232381, -0.0062489724, -0.0063144928, -0.0246792194, 0.0211065877, 0.0087537747, -0.0019141926, 0.0356381722, -0.0214525536, 0.0231275, 0.0261853077, 0.0069374056, -0.0494207405, 0.0129005061, 0.0292673241, 0.0388507321, 0.0062416131, 0.0191621538, 0.0321857817, 0.0018782306, -0.0146236811, 0.0252785925, -0.0218648687, -0.0298179667, 0.0325461179, -0.0059204223, -0.0289266054, -0.003625948, 0.0078441631, 0.011126929, -0.0302734394, 0.0153981466, 0.0322660618, 0.0085590426, -0.0729486272, 0.0292847082, -0.0490732752, -0.0783227831, -0.0278886613, -0.0224674083, 0.0433485396, -0.0126957316, 0.055687312, 0.0190640073, -0.0223682113, -0.052741956, 0.015764609, -0.0029469, -0.0320012718, 0.0028819982, 0.0190892182, -0.0175115205, -0.0215635039, 0.0731463805, -0.0025095071, 0.0294164438, -0.0030984643, -0.0091077695, -0.0429528728, -0.077126652, -0.0280786548, 0.0284817331, -0.0405664742, 0.005661001, -0.0588060953, -0.0756668374, 0.0031131394, -0.0282789618, 0.0169451442, -0.0165226515, 0.0170626957, 0.0408280641, 0.0084690824, -0.0121224625, -0.0007376741, -0.0346546099, -0.0143317794, -0.0412792973, -0.0045624957, -6.645022545e-33, -0.0020671336, -0.0103850476, 0.0249007735, -0.0237621814, -0.0865812004, 0.0272260308, -0.065190576, -0.0226451401, -0.0390322655, -0.0051385779, -0.0191257969, 0.004391429, 0.0042341696, 0.0357804783, 0.0166702513, -0.0068545165, 0.0593887866, 0.0073857163, -0.0434929579, 0.0381440818, -0.0039657727, 0.027846612, 0.0899284184, 0.012594495, -0.0780498981, 0.0323295183, -0.0042578359, 0.017062068, -0.0260591414, 0.0263163317, -0.0438895635, 0.0168095566, 0.0408617035, -0.0614479296, -0.0116549768, 0.0432728231, -0.0575683974, -0.0170397889, 0.0279899389, 0.0231537316, -0.0228812546, -0.0064988434, 0.0504813828, 0.0279922355, 0.00699946, -0.0273183044, 0.0196315702, -0.0186885335, -0.0417897031, 0.0210570004, -0.0444691107, 0.0412174277, -0.0085151652, -0.0292939097, 0.017909985, 0.0678188205, -0.051442802, 0.0612935238, -0.0844984651, -0.002675795, 0.0150964884, 0.060550727, 0.0699217618, 0.0355963707, 0.0164558552, 0.0470638573, 0.0200324692, 0.0048105172, -0.0560920425, -0.0008036831, 0.0738256499, 0.0339196175, 0.0323645808, -0.0024074267, 0.0246491116, 0.0003148444, -0.0841096193, -0.0382289067, 0.0142479204, 0.084888801, 0.0284108054, 0.0209263284, 0.0091367969, -0.0412380211, 0.0020944127, -0.0276932623, -0.0323608965, -0.0150543759, 0.030946441, 0.0266438313, -0.0458450355, 0.012469613, 0.0451717153, -0.0306961704, 0.0032619673, 0.0198988412, 0.0032043634, 0.0176661182, 0.0306165852, 0.0227922834, -0.0631898269, -0.0184935778, -0.0125265364, -0.0135605186, 0.0246160943, -0.0245072059, 0.0398621634, 0.0345364772, -0.0505841747, -0.0212009158, -0.0422823429, 0.0127459886, 0.0064624143, 0.0955248326, 0.0344274007, 0.0068100165, 0.0161977746, 0.0208205711, 0.0318235531, -0.0206708126, -0.0276208092, 0.020355219, 0.0534014963, 0.0323055089, -0.0167503823, -0.0103338854, -0.0402623788, 0.0054702694, 0.0232718717, -0.0735651106, -0.0380908437, 0.0460347272, 2.783e-7, 0.0398360528, 0.0002685334, 0.0062809, 0.0045543369, 0.0252212621, 0.0104553681, 0.0022224833, -0.0177310687, -0.0241422486, 0.0245231837, 0.0061860536, 0.0227629282, 0.0782824159, -0.0154064437, -0.1077786982, 0.0036634044, -0.0573233552, -0.0158074908, -0.0237497222, -0.0586125217, -0.0202508997, 0.099384129, 0.0238407496, -0.028296452, -0.01866851, 0.0003201445, 0.0203992501, -0.0091249952, 0.0278086253, 0.0216835793, 0.0043516671, -0.0018868792, -0.0229634177, 0.0008704925, -0.0016781657, 0.0250279438, -0.0115481196, 0.0925516784, -0.0086332969, -0.0082065314, 0.0323107354, 0.0055180723, -0.0119513962, -0.0628259927, 0.0424868315, -0.037329901, -0.014962079, -0.036239583, -0.0041090562, -0.0081753284, 0.0101886177, -0.0157980211, 0.0057588145, 0.0324574187, 0.0167080741, -0.0542285666, -0.0142029505, -0.0750620961, -0.0160441883, -0.0320270136, -0.0822572187, -0.026770357, -0.0511888489, -0.0262066312, 0.0497725382, -0.0376161672, -0.0061800401, 2.733797161e-34, 0.0327338353, -0.0232833736, -0.0110731656, 0.0588530973, 0.0196677893, -0.0247866306, 0.0093899444, 0.0099114226, -0.0357261375, -0.0822982565, -0.0145581439 ]
http://arxiv.org/abs/2406.15470v1
http://arxiv.org/pdf/2406.15470v1
Mental Disorder Classification via Temporal Representation of Text
2024-06-15T10:53:21
2024-06-15T10:53:21
Raja Kumar, Kishan Maharaj, Ashita Saxena, Pushpak Bhattacharyya
cs.CL
cs.CL, cs.AI, cs.SI
Mental disorders pose a global challenge, aggravated by the shortage of qualified mental health professionals. Mental disorder prediction from social media posts by current LLMs is challenging due to the complexities of sequential text data and the limited context length of language models. Current language model-based approaches split a single data instance into multiple chunks to compensate for limited context size. The predictive model is then applied to each chunk individually, and the most voted output is selected as the final prediction. This results in the loss of inter-post dependencies and important time variant information, leading to poor performance. We propose a novel framework which first compresses the large sequence of chronologically ordered social media posts into a series of numbers. We then use this time variant representation for mental disorder classification. We demonstrate the generalization capabilities of our framework by outperforming the current SOTA in three different mental conditions: depression, self-harm, and anorexia, with an absolute improvement of 5% in the F1 score. We investigate the situation where current data instances fall within the context length of language models and present empirical results highlighting the importance of temporal properties of textual data. Furthermore, we utilize the proposed framework for a cross-domain study, exploring commonalities across disorders and the possibility of inter-domain data usage.
[ 0.0371191278, 0.0971363485, -0.0201840661, -0.0338854603, -0.0249855462, 0.0186360069, 0.0237752348, 0.0333341993, 0.0611650236, -0.0558949709, 0.0472528934, -0.0524437539, 0.0000289878, 0.0269421265, -0.0145986285, -0.0732409284, 0.0305198394, 0.0152246905, 0.0141107747, 0.0036172627, 0.006426252, -0.0020111948, -0.0077838232, 0.0199255031, 0.0015668814, -0.0283129998, 0.0302953236, -0.038377855, 0.0272887181, -0.0786297917, -0.0079792244, 0.0667164549, 0.0245202892, -0.0020504594, 0.0000018797, 0.0002557788, -0.0266442001, -0.017266918, 0.0195854921, -0.0331723578, 0.0062596509, -0.0548396558, 0.0371476561, 0.0163072851, -0.060856998, -0.0260675885, 0.0096705817, 0.0637709424, 0.0682930872, 0.0457563289, -0.0380245633, -0.0088973101, 0.0364282541, -0.0057503432, 0.0276437569, -0.0011728936, 0.0321687199, -0.0067674713, 0.05896689, -0.0124444654, -0.0006363929, 0.0461339206, -0.0423722863, 0.0414454788, -0.0041617267, 0.0245672073, 0.0075438148, 0.001604378, 0.003987134, 0.0619646423, 0.0385189578, 0.0077806627, 0.0232433751, 0.0032460433, -0.0239014793, 0.0134070395, -0.0171105005, -0.0149602685, -0.0083906949, 0.035467688, 0.0441421643, 0.0403118581, 0.0205079727, -0.0106940102, 0.014209833, 0.0641121343, -0.0209428705, -0.0265838522, -0.0382790007, -0.0280534867, -0.0297324155, -0.0699987561, 0.0223118812, 0.0432277285, -0.0392531008, 0.0138591034, -0.0443734303, -0.0699729994, 0.026442172, -0.0421987437, 0.0098682493, 0.0404330678, -0.0359210409, -0.0239574816, 0.0519557148, 0.0487184823, -0.0054346486, -0.0049272091, -0.0173219722, 0.0138102528, -0.0889453813, 0.0210431479, 0.0352751724, 0.0075589595, 0.0243747141, 0.0109487846, -0.0818522871, 0.0451896787, -0.0271080509, -0.0392480642, 0.0226673502, 0.0095861237, 0.0114296116, 0.0328920521, 0.0056827595, -0.0040585231, 0.0144000873, 0.0032363699, -0.0350516699, 0.003430868, 0.0372932777, -0.0372139513, 0.0204238966, -0.044048354, 0.0022850926, 0.0428804494, 0.0334497876, -0.0175197367, -0.0773269981, -0.0441185199, -0.0336633213, 0.0115286997, -0.0249552391, -0.0400456376, 0.0146674169, 0.0413625985, -0.0040486166, -0.0171673857, 0.0186756868, -0.00604008, -0.0517891273, 0.0535907671, -0.0405290425, 0.0367012583, 0.0359598808, 0.0193371102, 0.0483864769, 0.0495975129, 0.0326582789, -0.0129123246, 0.0505288541, -0.0394330546, -0.0077464776, 0.0192450359, 0.0104742795, -0.0057660234, -0.0329215042, -0.0182950515, -0.0239993893, 0.0023594631, -0.0142125655, 0.0147186862, 0.0165164545, -0.0026368394, 0.0526305996, 0.0684838593, 0.0322937332, 0.0364684053, -0.0012254863, 0.0098640369, -0.0133497864, -0.0336944237, -0.014936395, -0.0078271665, -0.0345440879, -0.0014015085, 0.0278262217, 0.0258103013, -0.0321736112, -0.0173342004, -0.0554161109, -0.0406241603, 0.0326684117, 0.0115219839, -0.0194781683, -0.0433677249, 0.0145589169, 0.0830359012, 0.0422262065, 0.0278177597, -0.0419071838, -0.0202191714, -0.0111489985, 0.0941466838, 0.0283529963, -0.0730327517, -0.0290586092, -0.0301172789, 0.0583742335, -0.0125948964, -0.0119222635, -0.0041260673, 0.0009227977, 0.0140825119, -0.0049061566, 0.0791361704, 0.0116981836, -0.0656618178, 0.0087188417, 0.0563383065, -0.0207189266, -0.0084857419, 0.0041019018, 0.035524264, -0.022621097, -0.0228652637, 0.0234944373, -0.0070924642, 0.0646756366, 0.0204764903, 0.0051206532, -0.0054350523, 0.0173376873, -0.0540050976, -0.0661649853, -0.0025209149, -0.0403169133, -0.038774021, 0.0381252728, 0.0313744582, 0.0255198441, 0.0353276879, -0.0447389781, -0.0278378241, 0.0575168654, -0.0238102525, 0.0484291911, -0.006769368, -0.0304070376, 0.0176786184, 0.0272769611, -0.0394919142, 0.0535496473, -0.0584136285, 0.0260639116, -0.0116299801, -0.062320035, -0.0443536267, 0.0020380383, -0.0323048308, -0.0169990938, -0.0234906841, 0.0135313049, -0.0179977529, -0.0198509526, 0.0027114213, -0.0108901411, -0.1462464184, -0.0049579912, -0.0062154802, -0.006686646, -0.014960546, -0.010856119, -0.018203605, -0.0078396369, -0.0310579687, 0.0190930422, 0.0641977638, 0.0537747629, 0.0417089537, 0.025991343, -0.0056796256, -0.040541321, -0.0242628139, -0.0633537397, 0.0427885316, -0.0252633635, -0.0630956814, -0.0276362021, 0.0183435641, -0.0887048617, 0.0108906655, -0.0048573138, -0.0075845229, 0.002073375, -0.0198346823, 0.0450867042, 0.0056077917, 0.0445882529, 0.0668338463, 0.0542173684, -0.0041187555, -0.0113009689, 0.0002195929, -0.0249266513, 0.0168312062, -0.0463945121, -0.0547832139, -0.0095578525, 0.0681459606, 0.0402815156, -0.0060608503, -0.0341830589, -0.0103257848, -0.0344393253, 0.037751276, 0.0026281429, 0.0058513782, -0.0223382227, 0.0099123986, -0.0102780042, -0.0586631633, 0.0399923138, 0.0179832857, 0.0199428909, 0.0344870873, -0.0652790964, -0.0508581474, 0.0477258861, 0.0257164128, 0.0046811854, 0.009781233, -0.0128522106, 0.0145526724, 0.0016284545, -0.0306207538, -0.0532420166, 0.0549278148, -0.0306588244, 0.0180481095, 0.0287566818, -0.0212141592, -0.0183783062, -0.0879584178, -0.0351447351, -0.0342120975, -0.0545802861, -0.0020161462, -0.0618082322, 0.0024852082, -0.0333404392, 0.0442513078, -0.0116282729, -0.0175808258, 0.0299242027, 0.0290522501, 0.0448914319, -0.03017064, -0.0014313525, -0.0386721455, 0.0088571915, 0.028341094, -0.015320722, 0.0089202141, -0.0126002328, 0.0314084329, 0.0174784213, -0.0207004827, -0.0324959829, 0.0292548556, 0.0033692322, -0.0107955635, -0.0041277544, 0.1234780774, 0.0306298099, -0.0412253328, 0.0322746336, -0.0012480932, 0.0057041193, 0.0079161562, -0.0170791596, -0.0204287544, -0.0287834723, -0.0410227366, 0.0334930643, -0.0228863489, -0.0457321368, 0.007656794, 0.0110138617, 0.0157582778, -0.0053027146, 0.0048669381, 0.0277993884, -0.032539729, 0.0189613644, -0.012498037, -0.0388726555, -0.031411007, -0.0132019343, 0.0080125565, 0.0188528355, -0.0999487489, -0.0639166385, 0.0620283224, 0.0497871451, 0.06081599, 0.0090994118, 0.0192949735, 0.0042431313, -0.0382055603, 0.0073767677, 0.0755440146, -0.0046668234, -0.0339273363, 0.0718909875, 0.0095146736, 0.0095993374, -0.0549036898, 0.0311721042, -0.0541567951, -0.0252952706, -0.036965061, 0.1511057168, -0.0178025141, -0.0197634771, -0.0457714871, -0.0108544119, 0.0515390709, 0.0548448861, -0.0019296316, -0.0550233386, -0.0057127252, 0.0129438704, 0.0071036369, -0.0075821253, -0.0427322686, -0.0169017445, -0.0157970469, -0.027503198, -0.0587923042, -0.0180268232, -0.0019876875, -0.023106318, -0.012630743, -0.0053567532, 0.0222131982, 0.0047239484, -0.0886602774, 0.0335883535, 0.0350572765, 0.0155520411, -0.0548895746, -0.0083570629, 0.0370076746, 0.0237931609, -0.0275262333, 0.0171919335, -0.1200276762, -0.0352556147, 0.063574791, -0.0273793396, 0.0157855265, -0.0122865336, 0.0345317833, -0.0293425526, 0.0672988817, 0.0289617367, -0.0014101289, 0.0035496091, -0.0041355896, 0.0155721111, 0.0194684714, 0.0556627512, -0.005591373, 0.0422112532, 0.0040945797, -0.0352416448, -0.0564621165, -0.0006429075, -0.0199125148, -0.002933058, 0.0448389724, 0.0144777829, -0.0642717779, 0.0061269491, -0.0496523082, -0.0244483668, 0.0033199973, -0.0319777615, -0.0157693382, 0.0201325547, -0.0210780818, -0.0424563587, -0.0230849255, -0.0246231314, -0.0105822776, -0.0763497278, 0.0422434174, -0.0212226361, 0.00752017, 0.0158144515, 0.015723506, 0.0119333146, -0.0034046795, -0.0192083362, -0.0059804064, -0.0374798365, 0.0503759943, -0.0247950833, 0.067751646, 0.002119832, 0.0160926878, -0.0680225417, -0.0268039666, -0.026028607, -0.0592133291, 0.0183481965, -0.0174643248, 0.067471765, 0.022442786, 0.0041809794, -0.0293224473, 0.0360956192, -0.0255156588, -0.0178977214, 0.0265522618, 0.0057626893, -0.0326661058, 0.0041765836, 0.1023506373, -0.0015794258, -0.0180054177, 0.0469004028, -0.0515889451, -0.0049767653, 0.0009136557, -0.019402422, 0.0118107973, -0.0412108824, -0.0112872971, -0.0535190888, -0.0562653504, 0.0957641155, -0.0667573661, -0.0248598699, 0.0165061075, -0.0037503922, 0.0495727099, 0.0260873213, 0.0080349343, -0.0563585833, 0.0097975889, 0.0167012848, -0.07369937, -0.0590265393, -5.843925717e-33, 0.0054934295, -0.026276866, 0.0015066273, -0.0313456915, -0.0237167105, 0.0381580926, -0.0153747676, 0.0369472951, 0.046864897, -0.0141030289, 0.0003323336, 0.0408486463, -0.0006737832, 0.0462652817, 0.0383663662, -0.0008347811, -0.0022369709, -0.0383992679, 0.0187795553, 0.0234336387, 0.0454499945, 0.0635100678, 0.0341314226, -0.0723210275, 0.0413094647, 0.0250176191, 0.0162799265, 0.0082528396, 0.0750052258, 0.0284325592, -0.0418054052, 0.0556589589, 0.0657459497, -0.0189839676, -0.0216054656, 0.012692837, -0.0336538553, -0.0486689769, -0.0271834712, -0.0432665199, -0.0085749421, 0.015712399, 0.0023149075, -0.0260868501, -0.0089531215, -0.0569594502, 0.0484285392, -0.027064845, 0.0065356977, -0.0353058502, 0.0124988649, 0.0434551351, -0.0167026855, 0.0247387532, 0.004863468, 0.0442008339, 0.001378827, 0.0519907176, -0.0554916486, 0.0375737064, -0.0010029341, 0.0033825021, 0.0156167606, -0.054081101, -0.0009104147, 0.0606559739, -0.0090968404, -0.0230170246, -0.0386763699, 0.0268305596, -0.0172053706, 0.0280616209, 0.0243433602, -0.0161497295, 0.0471954197, -0.0519541129, -0.0595211312, 0.0087659238, -0.0047257701, -0.0318524949, 0.0192977134, -0.0049816691, -0.0111398278, -0.0173254218, 0.0203764066, 0.0162418578, -0.0063412576, -0.0043267719, -0.0040542185, -0.0054199086, 0.0134780118, -0.0068665305, 0.0160844754, -0.0239766818, -0.0589419529, 0.006371229, 0.0067815282, 0.0428529456, 0.0337913893, -0.0050621466, -0.0212056488, 0.0012206117, -0.0029485931, -0.0130432909, 0.0491902269, -0.0245335363, 0.0369277559, 0.0049227155, -0.0496251211, -0.0256052185, 0.0455963127, 0.0046045021, -0.0157575067, 0.0509247668, 0.0211397018, -0.0075237197, 0.0040931581, 0.0577881448, 0.0314661749, 0.0250724889, -0.0516440943, -0.0222057793, -0.0093106255, 0.0014167785, 0.0202236231, -0.0600053445, -0.0131177716, 0.0243979115, 0.0373526625, -0.0387315191, 0.0168978795, -0.023019338, 2.66e-7, 0.0587975867, 0.0775726214, -0.0420960337, 0.0312417261, 0.0530664586, -0.0088274237, 0.003013154, 0.0263223648, 0.0026849811, 0.0093854936, 0.0345020108, 0.0338641554, 0.0279814284, 0.0816376954, 0.0208776202, -0.031571921, -0.0508055836, -0.0100337006, -0.0603922457, -0.0177747011, 0.056438338, 0.0895311236, 0.0279605463, -0.0261298604, -0.0114324111, -0.0283082966, 0.05474215, -0.0272193663, -0.0006313479, 0.038340345, 0.0636527389, 0.0068012732, 0.0118683344, -0.0239282325, -0.0321944989, -0.0185164064, -0.031388849, 0.0459801666, -0.0508946069, -0.0165878888, -0.0054263393, 0.0033493806, -0.0020061834, 0.0052661663, 0.0580626652, -0.0237099715, -0.0207476672, -0.0591409132, -0.0199210867, -0.0081492085, 0.0556317903, -0.0007720572, -0.0059511373, 0.0597357377, 0.0146228578, -0.0192440655, 0.0167302899, -0.0835687518, -0.0445409194, 0.0412270762, -0.0413002335, 0.0258938316, -0.0069489679, -0.0014701247, 0.0271747913, -0.0614362732, 0.0362011306, 2.728721184e-34, 0.012462087, 0.0416811854, -0.0109765371, 0.0061786599, -0.0058037881, 0.0082297195, -0.0032491926, 0.0112849949, -0.0144960657, -0.0807462484, -0.006770127 ]
http://arxiv.org/abs/2406.10584v3
http://arxiv.org/pdf/2406.10584v3
Concentrate Attention: Towards Domain-Generalizable Prompt Optimization for Language Models
2024-06-15T10:02:46
2024-06-27T06:00:40
Chengzhengxu Li, Xiaoming Liu, Zhaohan Zhang, Yichen Wang, Chen Liu, Yu Lan, Chao Shen
cs.CL
cs.CL
Recent advances in prompt optimization have notably enhanced the performance of pre-trained language models (PLMs) on downstream tasks. However, the potential of optimized prompts on domain generalization has been under-explored. To explore the nature of prompt generalization on unknown domains, we conduct pilot experiments and find that (i) Prompts gaining more attention weight from PLMs' deep layers are more generalizable and (ii) Prompts with more stable attention distributions in PLMs' deep layers are more generalizable. Thus, we offer a fresh objective towards domain-generalizable prompts optimization named "Concentration", which represents the "lookback" attention from the current decoding token to the prompt tokens, to increase the attention strength on prompts and reduce the fluctuation of attention distribution. We adapt this new objective to popular soft prompt and hard prompt optimization methods, respectively. Extensive experiments demonstrate that our idea improves comparison prompt optimization methods by 1.42% for soft prompt generalization and 2.16% for hard prompt generalization in accuracy on the multi-source domain generalization setting, while maintaining satisfying in-domain performance. The promising results validate the effectiveness of our proposed prompt optimization objective and provide key insights into domain-generalizable prompts.
[ 0.013081844, 0.0537552573, 0.0124724787, 0.0094567612, 0.0007760666, 0.0006189299, 0.0301822368, -0.0243392158, -0.0433103219, 0.0142060658, -0.0460998639, -0.0843402669, -0.006184313, 0.0357597955, 0.0112274121, -0.0503304042, 0.0452161245, -0.0297878403, 0.0410426743, -0.0083804335, 0.0049208566, -0.0140742594, 0.0027961896, 0.0597454384, -0.0087195355, -0.0380704626, -0.015506532, 0.0177437533, 0.0013650442, -0.0157048069, 0.040328525, 0.0825079232, 0.0154215712, 0.031413611, 0.0000022611, -0.0563669205, -0.0174105149, -0.0338684581, -0.0477633029, 0.0352690779, -0.0071748565, -0.0282908846, 0.0043899664, 0.0154749993, -0.0025545864, -0.0413549356, 0.0439523198, 0.0373141021, 0.0459378026, 0.075305663, -0.0037976215, -0.0121452091, -0.0127220908, -0.0575063154, -0.0109795937, -0.0786034688, 0.0014629399, -0.0706833079, -0.0389251299, 0.0109482445, -0.0211703852, 0.0395891108, 0.0297646709, 0.0032972479, -0.0137180435, 0.0216302536, -0.0039397608, -0.0469370894, -0.0342822112, 0.0879551098, -0.0404454768, -0.0137812048, -0.0243922137, -0.0439481102, 0.0413213186, -0.0223093033, -0.0093643973, 0.0323193036, 0.0225523021, 0.0151049811, -0.0093320161, 0.0364526473, 0.0213266276, -0.0045557199, -0.0605454817, 0.0639730766, 0.0179658644, -0.0338484719, 0.0178983789, 0.0093325777, -0.04223511, -0.0520696566, 0.041103933, 0.0260707922, -0.0463384725, 0.0000973146, -0.055707071, -0.0324137993, -0.003125723, 0.0331951231, 0.0588183254, 0.0463234037, -0.0784606636, 0.0458689556, 0.0112349046, 0.0618364699, -0.0263174139, 0.0359111987, -0.0475485362, 0.0000471765, 0.0137765007, 0.0014090069, -0.0550256781, 0.0190353375, -0.013571525, -0.0148311043, -0.0080958717, 0.0423827134, 0.0103883678, -0.0404247046, 0.0156462714, 0.0218524802, -0.0367822424, -0.0311524626, 0.0198303293, 0.0380075723, -0.0790576264, 0.0333930962, 0.0347838774, -0.0719042197, -0.047492791, 0.0239325482, 0.0253073368, -0.0102942297, -0.0128096892, 0.0408933982, -0.0128368288, -0.0408087075, -0.0080332095, -0.0011661859, -0.0028857645, -0.0476230197, 0.0026578314, -0.0075296573, 0.0257779695, -0.0051579541, -0.0105709285, -0.0459826477, -0.0232640505, 0.0004260795, 0.0031806461, 0.0494410135, 0.0040593464, 0.0187598113, 0.0200695042, -0.0082910182, -0.0211056788, 0.0714075267, -0.0142058814, 0.0445771366, 0.020261908, -0.0164379161, 0.014844181, 0.0407860875, 0.0524925962, 0.0165393427, 0.0210119039, -0.0070285308, 0.0368425213, 0.0037672133, 0.0559928082, 0.0252240244, -0.0176997315, -0.0028926388, 0.0568687059, 0.0323804691, 0.0129574984, -0.0247048661, 0.0589349754, 0.0167787522, -0.0230186172, 0.0326201059, -0.0791507438, 0.0037279895, -0.0153265921, 0.0186837725, 0.048652716, -0.0034527183, -0.0668454468, -0.031270273, 0.0223021172, -0.0181942359, -0.0218498241, 0.0309415739, 0.0311001558, 0.0216160417, -0.0944510177, 0.0668395832, 0.0086183408, -0.0277576651, 0.0149304057, -0.0263415035, 0.0267780423, 0.0148616582, -0.0259007365, -0.0251902305, -0.0160065126, -0.0060021509, 0.0682181567, 0.035087876, 0.0465578623, 0.0128030153, 0.0483113378, -0.0402970091, -0.0406362787, -0.0050271479, 0.0159837715, 0.0528997965, -0.001189466, 0.0087985359, 0.0261887386, 0.0172799081, 0.0098289186, 0.0331150591, -0.001529951, -0.0222879108, 0.0021504636, 0.0342473984, 0.0328216627, 0.0219641645, -0.0044362661, 0.0185816325, 0.0130430283, -0.0311317369, 0.0124890106, -0.0369075201, -0.0873242617, -0.0101192193, 0.0207272973, -0.0064247809, -0.0146786654, 0.0404002033, -0.0268290862, -0.0398593955, 0.0246554371, -0.0079998337, 0.0424007922, -0.0353961177, 0.0349241123, -0.028666161, 0.0460846052, -0.0407282524, 0.0337321609, -0.0088942004, 0.0064058071, 0.0576357171, 0.0475176834, -0.0017716917, -0.0513180755, -0.0164510868, -0.0207105838, -0.0465542264, 0.0192893725, 0.0436209589, 0.0153571172, -0.0161316618, 0.0112402877, -0.05506327, 0.0065097259, -0.0643445998, -0.0090111811, 0.0051656417, 0.0370822698, -0.0280827172, -0.0281478763, -0.0078419577, -0.0106434338, -0.0164611358, 0.0186490305, 0.0026153517, 0.0028206506, 0.028279461, -0.0413643569, -0.0154980058, 0.0288067386, 0.0370893702, -0.0158662647, -0.0144328894, -0.0583400317, 0.0472336523, 0.0100373151, 0.0365785062, 0.0083097676, -0.0280261487, -0.0017628928, -0.0298307873, 0.0504854061, 0.0738702938, 0.0002759075, -0.0080161691, 0.0192928035, 0.0306949038, -0.0799311101, 0.0134612489, -0.0404574983, -0.0351617076, -0.0047320733, 0.0186831318, 0.0675626546, 0.1129841954, -0.0093989251, -0.0152819827, -0.0795402825, -0.0029146406, -0.0087810112, -0.0182723999, -0.0414584242, 0.0066371611, -0.0530691445, 0.0528708212, -0.0153756924, -0.0573989451, 0.0852646977, -0.03106701, -0.0186330751, -0.0457942821, 0.0194424372, -0.0156829283, 0.0081574703, -0.0069361273, -0.0037322387, 0.0561541207, -0.0866424963, -0.0519356094, 0.0388323478, -0.0210163891, -0.0042864457, 0.0681359917, 0.0222575981, -0.0045366846, -0.0333450213, -0.0324169919, -0.0646342412, -0.0498840064, -0.022904411, 0.0195728093, 0.0347195677, 0.0171065703, -0.0395976491, -0.0106942579, -0.0125136096, 0.0671054125, -0.0287015717, 0.0291221663, -0.0296456106, 0.0068266555, 0.0372406431, 0.0338712595, -0.0098275375, -0.0331489593, 0.002565485, 0.0118572405, 0.0106792981, -0.0047820616, -0.0132429507, 0.0010965433, 0.0791797489, -0.0314626284, -0.0140690347, 0.0279115103, 0.0703468174, -0.0262723844, -0.0038784386, 0.1156626046, 0.0139086824, -0.0761257857, -0.0167399589, 0.0025782492, 0.0316826403, 0.0284736529, -0.0066849636, -0.0511569157, -0.0566819943, 0.0113813244, 0.0139457686, 0.0372715034, 0.0056278086, -0.0098595731, -0.1246744245, -0.0159670617, -0.0095770573, -0.0557739399, -0.0269672908, -0.0273119509, -0.0111143775, 0.0102256257, 0.0495358966, 0.017725274, 0.0103159584, -0.0149138728, 0.0212266482, 0.006022647, -0.0734770894, 0.0043847989, -0.0621882975, 0.0324052237, 0.108967796, -0.0362557657, -0.001239446, -0.0536077544, 0.0584102944, -0.0042667268, -0.0096770134, 0.0042530382, 0.0044510756, -0.022859538, -0.0230202116, 0.0240648631, 0.0323487259, -0.0398110002, 0.0075427429, 0.0285522658, 0.0573257394, 0.0003869321, -0.021483209, -0.0398747995, 0.0080949776, 0.0311114918, 0.0803564116, 0.0582693629, -0.0828763545, -0.0144597003, -0.0441314876, 0.025811892, -0.0862309933, -0.0191485845, 0.0233682953, 0.027390372, -0.0413598455, -0.0295679402, -0.0320293494, 0.0170543175, 0.0135092037, -0.0060296254, -0.0377281047, -0.0262915883, 0.0031907111, -0.030287018, 0.0588716343, -0.0297452342, 0.0048852582, -0.117111966, 0.0030658564, 0.0210986491, -0.042756997, -0.0135578057, 0.0178013723, -0.0661769062, -0.0620371699, 0.0081881201, 0.0294234753, 0.0142381452, 0.0229223706, -0.0527488664, -0.0746155977, 0.0545696206, -0.0148394322, -0.0410198718, 0.0048084343, 0.0525483266, -0.0322679505, -0.019564772, 0.0331569351, -0.0600147508, 0.0401086435, 0.0508414954, 0.0248604063, 0.0287942663, -0.0391802229, 0.0169451404, 0.0027809546, 0.0841969028, -0.0094566606, -0.0197574757, -0.0410919525, 0.0186019689, 0.0317757651, 0.0025922118, -0.0432366394, -0.0001353821, 0.0248841308, -0.0271137413, 0.0231586546, 0.007884549, -0.019908566, 0.0143572614, -0.0475357622, 0.0146262851, 0.0001733919, 0.0422464497, 0.0541541763, -0.0031923319, -0.0111497892, 0.0399332978, -0.0026573003, -0.0044238912, -0.0141197136, 0.0198993552, 0.0242623463, 0.0341696665, -0.0185688324, 0.0222720001, -0.0520567745, -0.0520728938, -0.0071815113, 0.009242936, 0.04953973, -0.0117588956, 0.0015313677, 0.0357897617, 0.0021349855, -0.040307682, 0.0040921601, 0.0247676317, -0.0351004675, 0.0331150256, 0.0039858958, -0.0034117927, 0.0104904696, 0.0764673874, -0.0145010622, 0.0112357493, -0.0229403991, 0.0392791778, -0.0293442439, 0.0008515279, -0.0015944927, 0.0449870117, -0.0580163896, 0.0261090323, -0.0301596057, -0.0541640222, 0.0017639388, -0.0341883264, -0.0235968679, 0.0175657514, 0.0599278174, 0.053549584, -0.0469665527, -0.0038458351, -0.0120853931, 0.0098668803, 0.0090104025, -0.015631672, -0.004534048, -7.005182994e-33, -0.0091146389, 0.0265654474, -0.0068390351, -0.0414268412, -0.0255893208, 0.0266133845, -0.031437356, 0.011772655, -0.0351928212, -0.0140034119, -0.0366498977, 0.0184571873, 0.0287863929, 0.0457680449, -0.0174902231, -0.0401760936, 0.0516839363, -0.0060478714, -0.0281620752, 0.0064954371, -0.0115002897, 0.055956468, 0.0413396433, -0.0004737212, 0.019811878, -0.0128192613, -0.0026506118, 0.0213740636, 0.032986749, 0.0438029505, -0.017357979, 0.0283989292, 0.0033054866, -0.0914364383, -0.0462997817, 0.0602174588, -0.0574321263, -0.0440601632, 0.0143791931, 0.0101097813, -0.0573787987, -0.0627549365, 0.0187931806, 0.0021474131, 0.0055423942, -0.018780468, 0.0258013848, -0.0005496229, -0.0375845544, -0.0307735745, -0.0565640107, -0.0029306896, -0.0095288707, -0.0194768012, 0.0291449558, 0.0518713631, -0.0126966434, 0.056934502, -0.0387247503, 0.0388271213, 0.0313606523, 0.0373839997, 0.0449151397, 0.0389799029, -0.0159594771, 0.0168320443, 0.0256397929, -0.0084917396, -0.0170868244, -0.0115882438, 0.0539643168, -0.0090561043, 0.0159838926, 0.0130448854, 0.0233907886, -0.0443085656, -0.0567092225, 0.0058570472, 0.0095472941, -0.0232300702, 0.0445585176, 0.0064226445, 0.0051119761, -0.0337176621, -0.0391608104, -0.0173527524, -0.0496227965, -0.0141372113, 0.0377308205, 0.0290201809, -0.0193702374, -0.0241407752, 0.0750655308, -0.0338166133, 0.0252789073, 0.0327624865, 0.0084343879, 0.0001672948, 0.0081445053, 0.0415444262, -0.0572502017, -0.0124113495, 0.0068256869, -0.008855639, 0.0070408992, 0.0202522222, 0.013394502, 0.0103200283, -0.0430734977, -0.0152937844, -0.0179329459, 0.0149242738, 0.0133049143, 0.0742920786, 0.0525098518, -0.0038032609, -0.0073200045, 0.0793881416, 0.0046648365, -0.0219729263, -0.0254826155, 0.0105772549, 0.0202897098, 0.0561981201, -0.0445223749, -0.015627522, -0.0304407142, 0.0437646471, 0.0279178992, -0.0535146631, -0.0404086076, -0.0007410088, 2.794e-7, 0.0306314416, -0.0068507055, 0.0196496304, 0.0315743238, -0.0033608591, 0.0276358649, 0.0061168103, 0.0464284569, 0.0079312222, -0.025411617, -0.0024143704, 0.0154948793, 0.0202345885, -0.0217181761, -0.1413719654, -0.0226915013, -0.0329204053, 0.0450456478, -0.0247409008, 0.0008014205, 0.0005527678, 0.1445298195, -0.0148091279, -0.0080341576, 0.0194165427, 0.0000763449, 0.0222862549, -0.0274940431, 0.0080570215, 0.0478541516, 0.0256319363, 0.0032697211, -0.0321448632, 0.0126237823, -0.0063949535, 0.0231369808, 0.0289786533, 0.0542244315, 0.0259456038, -0.0510067753, -0.0175684858, 0.0081883362, 0.0018022145, -0.0444095023, 0.0848951116, -0.0692935362, -0.013187075, -0.0112254415, -0.0119214244, -0.0223781858, 0.0081217531, -0.0216955058, 0.0152184758, 0.0196623225, 0.0128278509, 0.0151109025, -0.0249792226, -0.0989579707, -0.0191369932, -0.0245708972, -0.0317251533, -0.0182199348, -0.0433072858, -0.0425624326, 0.0635815263, -0.0415377766, 0.023835808, 2.515926171e-34, 0.0535342284, -0.0201530624, 0.0587697104, 0.0242178515, -0.0195628814, -0.0362319238, -0.0091627417, 0.008124236, 0.0362410732, -0.0554528609, -0.0161026288 ]
http://arxiv.org/abs/2406.10576v1
http://arxiv.org/pdf/2406.10576v1
Optimization-based Structural Pruning for Large Language Models without Back-Propagation
2024-06-15T09:31:03
2024-06-15T09:31:03
Yuan Gao, Zujing Liu, Weizhong Zhang, Bo Du, Gui-Song Xia
cs.LG
cs.LG, cs.CL, stat.ML
Compared to the moderate size of neural network models, structural weight pruning on the Large-Language Models (LLMs) imposes a novel challenge on the efficiency of the pruning algorithms, due to the heavy computation/memory demands of the LLMs. Recent efficient LLM pruning methods typically operate at the post-training phase without the expensive weight finetuning, however, their pruning criteria often rely on heuristically designed metrics, potentially leading to suboptimal performance. We instead propose a novel optimization-based structural pruning that learns the pruning masks in a probabilistic space directly by optimizing the loss of the pruned model. To preserve the efficiency, our method 1) works at post-training phase} and 2) eliminates the back-propagation through the LLM per se during the optimization (i.e., only requires the forward pass of the LLM). We achieve this by learning an underlying Bernoulli distribution to sample binary pruning masks, where we decouple the Bernoulli parameters from the LLM loss, thus facilitating an efficient optimization via a policy gradient estimator without back-propagation. As a result, our method is able to 1) operate at structural granularities of channels, heads, and layers, 2) support global and heterogeneous pruning (i.e., our method automatically determines different redundancy for different layers), and 3) optionally use a metric-based method as initialization (of our Bernoulli distributions). Extensive experiments on LLaMA, LLaMA-2, and Vicuna using the C4 and WikiText2 datasets demonstrate that our method operates for 2.7 hours with around 35GB memory for the 13B models on a single A100 GPU, and our pruned models outperform the state-of-the-arts w.r.t. perplexity. Codes will be released.
[ -0.0069928705, 0.0774063319, 0.0037744578, 0.0363899991, -0.0222335849, -0.008370799, 0.0126082338, 0.0253457725, -0.0332712084, 0.0469413251, -0.033250127, -0.0815558136, 0.0188251585, -0.0118036214, 0.0256846678, -0.013632684, -0.0039579053, -0.0387329124, 0.0496480986, -0.0132332789, 0.0118484404, 0.0168039706, 0.0175547674, 0.044156298, 0.0100947414, -0.0115095442, -0.0090614613, 0.0005986466, -0.001163173, -0.0080617014, 0.0257581752, 0.0224403869, -0.0177517477, 0.016273262, 0.0000022834, 0.0017429533, 0.0189506467, 0.0088006807, -0.0261135679, 0.09833657, 0.0232525412, -0.0034789511, -0.0417975821, 0.0026595031, -0.0031019761, -0.0349697284, 0.0383183062, 0.0338265486, 0.0387551747, 0.0727385879, 0.0186178144, -0.0494767986, 0.0066340375, -0.0676471069, -0.0382639728, -0.0257978998, 0.0337649658, -0.0525268838, -0.060221184, -0.0490101911, -0.0230898317, 0.0163518619, 0.0324471258, 0.0234450363, -0.0483189672, 0.0519027263, -0.0151615394, -0.028534051, 0.0347836763, 0.0738170147, -0.0504481308, -0.0484959111, 0.038670674, -0.0386585891, -0.0240692031, -0.0632667691, -0.0338934474, 0.0393719673, 0.0394899324, 0.0293188542, -0.0277797095, -0.00913723, 0.0821242034, 0.0009697467, -0.0197640434, 0.0153284641, 0.0145497536, 0.0087527093, 0.0073826881, -0.0141811995, 0.0248979963, -0.0458057225, 0.0004185232, 0.0099084731, 0.0312347636, 0.00544541, -0.0337799862, -0.0005273318, -0.0066520316, -0.0326355472, 0.0193502139, 0.0362432525, 0.0237557702, 0.0314627327, -0.0264792666, 0.0180218406, 0.004833899, 0.0014360385, -0.0400392003, -0.002453777, -0.0000482536, -0.0056896769, -0.0233685542, 0.0317221209, -0.0129241897, -0.0307925362, -0.0515160412, -0.0298328176, -0.021560289, -0.0374664739, 0.0510707945, -0.0087217176, -0.0257954095, 0.0026153601, 0.0173766017, 0.0222385637, -0.0114846639, 0.0090298932, -0.0131958444, -0.033371646, -0.0204681642, 0.053988874, -0.0339204632, -0.0212586634, 0.0258288849, 0.0424203388, -0.0161184873, -0.0317791626, -0.0584319457, -0.002040959, -0.0174313094, -0.0679830983, 0.0367927812, -0.067584455, 0.0245924667, -0.0585386045, 0.0156393927, -0.0588379763, 0.0170807075, 0.0086369114, -0.0226926543, 0.0441567302, 0.0448351279, 0.0288101379, 0.0361100025, 0.0128838876, 0.0583162829, 0.0842523724, 0.0255704354, 0.0296426993, 0.0033140278, 0.0015413836, -0.0461228453, 0.0627918616, 0.0614239834, 0.0010246114, -0.0525497757, -0.050081335, -0.0070604454, 0.0053545362, 0.0783548504, 0.0551018976, -0.0691042468, -0.0383404456, 0.0582432747, -0.0048344969, 0.0257669091, 0.0196786392, 0.0569442473, -0.0128542874, 0.0161046255, 0.0160132833, -0.0386391841, -0.0057259067, 0.013212773, -0.0008418476, -0.0037383058, 0.0331747681, -0.0467911474, -0.0198058076, 0.0006298218, -0.0312743336, 0.0336760916, 0.0331498422, 0.0325681642, 0.0218927599, -0.0240589026, 0.0836432949, 0.0197096467, -0.0311880112, 0.0013585401, -0.0439083651, -0.0224282499, 0.0025518793, 0.0059837746, 0.0268451981, 0.0031410716, 0.0456739888, 0.0520390533, -0.0232764985, 0.0242665671, -0.0142335147, 0.0601875521, -0.0855206102, 0.0106429392, 0.0134345163, 0.0171124674, -0.0122921271, 0.0494123772, 0.0160735454, 0.0282431189, -0.0437110811, -0.022695845, 0.0435388535, -0.0268822126, -0.0291171689, 0.0276116617, 0.0145780686, 0.0094371578, -0.0144906342, -0.029116774, 0.0052999547, 0.050343968, -0.0409602821, 0.0101160947, -0.0305271167, -0.063864924, -0.0263296664, 0.063474901, 0.0025060924, 0.032126192, 0.0562894717, -0.0379012153, -0.0462835096, 0.006582859, -0.0224731155, 0.0406738482, -0.0464146845, 0.0257809181, -0.006323271, 0.0611960515, 0.0065800305, 0.014888512, -0.0383301713, -0.0088278353, -0.0083068814, -0.0303612649, 0.0038876585, -0.0673906505, -0.0440860912, 0.0380760804, -0.0296416841, 0.0066820844, -0.0254423879, 0.0248073488, -0.0000257961, 0.0003582671, -0.0741681308, 0.0235696957, -0.0356342234, 0.0244390704, 0.0070472956, 0.0358815975, -0.0107356003, -0.019232085, 0.0215139277, 0.0213182606, -0.0278408676, 0.0125205172, -0.0105782654, -0.0125785014, -0.0254916213, -0.0005462544, -0.0704385489, 0.0373853818, 0.0412180424, -0.0580261052, -0.0309266187, -0.0138363196, 0.0125075392, -0.0111133046, 0.0328611061, -0.0161209013, -0.0717530921, -0.0286964141, -0.013498053, 0.004844062, 0.0667599365, -0.0201845206, 0.0250445418, 0.0723110065, 0.0123705482, -0.010890102, 0.0267049503, -0.0297267418, 0.0020652115, -0.0286715329, -0.0529208854, -0.018696269, 0.0595695712, -0.0099479388, 0.016038496, -0.0621767677, -0.0403741002, -0.0096161999, -0.0231375229, -0.0141254691, -0.0070555201, -0.0378553532, 0.0082797138, 0.0102881603, -0.0116682276, 0.0241095182, -0.0620753095, 0.0128870877, -0.0166351106, -0.0388219804, -0.0193537213, 0.0335991792, 0.0513831936, 0.0238547027, -0.0123057384, 0.0085788835, -0.0684835166, 0.0007258604, 0.0266505647, 0.0034033055, -0.008380942, -0.0732427761, 0.024884833, -0.009870993, -0.0453238934, 0.0091307005, 0.0037303877, -0.0285571776, 0.0090913987, 0.018524982, -0.0150936777, -0.0003290885, 0.0329621844, 0.0067522721, 0.0593499802, 0.0153685817, 0.0506795645, -0.0001366252, 0.0320130475, 0.036602553, -0.0026333029, 0.0346088074, -0.0599811375, 0.0194808226, 0.0326947942, 0.0355701596, 0.0567391068, -0.0590093993, -0.0260660406, 0.0258989837, 0.0067502744, -0.0305057038, 0.0215103608, 0.0827566832, -0.0715751797, 0.004913664, 0.0406445377, -0.0099174799, -0.0617726184, -0.0032084673, 0.0431304947, 0.0484484844, -0.0067186337, 0.0187144037, 0.0033956347, -0.0303943511, 0.0353363156, 0.01095114, 0.0113704829, -0.0085597951, -0.0088808713, -0.1263606548, 0.0051512159, -0.0041767028, -0.0243833661, 0.0290291701, -0.0278861299, -0.0050659496, -0.0409741402, 0.005361557, 0.0058787777, -0.0075762528, -0.014902791, 0.0143103162, -0.0437661633, -0.0383973084, 0.0094367294, -0.0054362607, 0.0321623236, 0.0475740992, 0.0267655198, -0.0060134111, -0.0289168563, 0.0949601904, -0.0348512009, -0.0277563427, -0.0026051512, 0.0448404998, 0.0503907017, 0.0055273077, 0.0118853524, 0.0335983485, 0.0043972237, 0.0026672368, 0.0045919348, 0.0429086201, 0.0155293178, -0.0465048589, -0.0174261201, -0.0068569593, -0.0151659641, 0.0529704094, 0.0624860674, -0.0257583763, -0.0751019791, -0.0015240689, -0.0134512298, -0.0368760452, 0.0107578924, 0.0160584301, -0.0049802032, -0.0584160909, -0.0391122624, 0.0213217977, 0.0042019519, 0.0220542718, -0.0277994964, 0.0032726894, -0.005823974, 0.0152525632, -0.0508309864, -0.0084575862, -0.0337063633, 0.046379786, -0.0461800657, 0.0526403636, 0.0244470667, 0.0027836475, -0.0280384943, 0.014186928, -0.1147187501, -0.0642317384, -0.0363967046, 0.0574163385, 0.0159346387, 0.0526134446, -0.0143911336, -0.066125229, 0.0494771563, 0.0154385194, -0.0298217312, 0.0689898655, 0.0295164157, -0.0696669146, -0.0075799054, 0.0825018212, -0.0176463109, 0.0110716484, 0.0124257226, 0.0644238889, 0.0057287151, 0.0422870852, -0.0363804102, 0.0188974291, 0.0265841037, -0.0224199519, -0.0191994254, -0.0215899926, 0.0460573249, 0.0331443995, 0.011599143, -0.0214161463, 0.0501370393, 0.0256282967, 0.0526114516, -0.0003542422, 0.0135991303, 0.0613630563, 0.0201424193, -0.0052963705, 0.0201460514, 0.0108699007, 0.0022402608, 0.0695614368, -0.0036439977, -0.0076090777, 0.0411551669, 0.0157308392, -0.0020806487, -0.0391191468, -0.0267585404, 0.0238826256, 0.0303198136, -0.0783415511, 0.0148482798, -0.0245982371, -0.0825504586, -0.0430540107, 0.0336751938, 0.0298090857, -0.0015082954, 0.0422382578, -0.004979095, -0.0456205085, -0.0345100164, -0.0058014113, -0.0035136279, -0.0075030793, 0.0545651987, -0.0007275216, -0.0193271488, 0.0006779307, 0.0737250522, 0.0457352661, 0.044457525, -0.0115027521, 0.0107823843, -0.0331109241, -0.0509124734, -0.0252809376, 0.0788351893, -0.0345671289, -0.0177848805, -0.0239645354, -0.0844107121, -0.0168932453, -0.0052957945, 0.0143749537, -0.0369193703, 0.0518635884, 0.0262645744, 0.0125135444, 0.0343654864, -0.0129145384, -0.0526495315, -0.0131302765, -0.0286774952, 0.0034793159, -6.719476154e-33, 0.0077412804, 0.0066526365, 0.024501631, 0.0066174618, -0.0540004522, 0.0248987824, -0.0409349725, -0.0261104833, -0.0375005156, 0.016651053, -0.0218934361, 0.0293053165, 0.0178539287, 0.0274428595, -0.0356588289, -0.0024615596, 0.0660279244, -0.0307950508, -0.0291639436, 0.0467414148, -0.012272683, 0.0233996604, 0.0372819342, -0.0131107857, -0.0532151535, 0.0334392861, -0.0379217491, 0.0100545269, -0.0186201539, 0.0527675822, -0.041339539, 0.0338996127, 0.0022333376, -0.0145193478, 0.0045497152, -0.0070039099, -0.0881612748, -0.0225362815, 0.0058864513, 0.0037749466, -0.0239689145, -0.0141071146, 0.073891744, 0.0330867916, -0.0167488549, -0.0101873707, 0.0167029873, -0.0173544157, -0.0550623424, -0.0385760926, -0.013307441, 0.0358173139, 0.0216007046, -0.024918342, 0.0242738333, -0.0281021222, -0.0384325758, 0.0285107847, -0.0700655878, -0.0244278945, 0.0120123727, 0.0484196208, 0.0394882225, 0.03443937, 0.0079752896, 0.024927821, 0.042963475, -0.0168809276, -0.0262138918, -0.0003060594, 0.0606231503, 0.0081415828, 0.0336775817, 0.0073000658, 0.0311533641, -0.0474458374, -0.116144076, -0.03712577, 0.0281666499, 0.0463119298, 0.0047833794, 0.0536909886, 0.0193555541, -0.0310045015, -0.0476494916, -0.0534698926, -0.0157864988, 0.0104019484, 0.0100917378, 0.0478762127, -0.048650749, -0.018929746, -0.0035574676, -0.0380037203, -0.0155320866, 0.0535803325, -0.0167995244, 0.0163596813, 0.035247393, 0.0206661616, -0.059588965, 0.0160368085, -0.0409876741, -0.0290066171, 0.0223096367, -0.0105360644, 0.0262571126, 0.0462002903, -0.0355878584, -0.0300275646, -0.0319008604, 0.008873851, 0.0377830975, 0.1195982397, 0.0492297933, 0.0084027639, 0.0159778036, 0.0212933216, 0.0409197137, 0.0064792968, -0.0153679717, 0.0104538165, 0.0409144126, 0.0367725715, -0.065684706, -0.0054855691, -0.0062577762, 0.0172565561, 0.0664156005, -0.0754566789, -0.0355596431, 0.0552079789, 2.866e-7, 0.0195949189, -0.0290904567, -0.0099056903, -0.0007538022, 0.0133868698, 0.0159930382, -0.0256013293, -0.0205097627, -0.0426361002, -0.007686954, 0.003064536, 0.0200347323, 0.0883246064, -0.0153283142, -0.1106422991, 0.0485134274, -0.0441299081, -0.0257429667, -0.0287441462, -0.0682392567, -0.0696268305, 0.099307932, 0.0416097343, -0.0445195474, 0.0031452333, -0.0108798752, 0.0246507395, -0.0095003014, 0.0336622857, -0.0000795519, 0.0047613601, 0.0070724892, -0.0480436236, -0.0161637012, -0.0133858528, 0.0169152748, 0.0003516478, 0.0914864317, 0.0125450892, 0.0067236009, 0.0259413477, 0.0146696959, -0.0063355793, -0.0286734346, 0.0640608817, -0.0163132157, -0.0009243061, -0.0499356985, 0.0316241831, -0.0236039478, 0.0083140843, -0.0192039516, 0.0049303309, 0.0424442515, -0.0059280628, -0.0416701809, -0.0120077664, -0.0709727779, -0.0166251827, -0.0396300741, -0.0625637099, -0.0368237682, -0.0691899806, 0.022159433, 0.0254749507, -0.0709608868, 0.0057127611, 2.748899738e-34, 0.0319616906, -0.0497149378, -0.0321688354, 0.022444047, 0.0262134746, -0.0059164083, -0.0189449955, 0.0181979407, -0.040168792, -0.0670163035, -0.0306423996 ]
http://arxiv.org/abs/2406.10561v1
http://arxiv.org/pdf/2406.10561v1
We Care: Multimodal Depression Detection and Knowledge Infused Mental Health Therapeutic Response Generation
2024-06-15T08:41:46
2024-06-15T08:41:46
Palash Moon, Pushpak Bhattacharyya
cs.CL
cs.CL
The detection of depression through non-verbal cues has gained significant attention. Previous research predominantly centred on identifying depression within the confines of controlled laboratory environments, often with the supervision of psychologists or counsellors. Unfortunately, datasets generated in such controlled settings may struggle to account for individual behaviours in real-life situations. In response to this limitation, we present the Extended D-vlog dataset, encompassing a collection of 1, 261 YouTube vlogs. Additionally, the emergence of large language models (LLMs) like GPT3.5, and GPT4 has sparked interest in their potential they can act like mental health professionals. Yet, the readiness of these LLM models to be used in real-life settings is still a concern as they can give wrong responses that can harm the users. We introduce a virtual agent serving as an initial contact for mental health patients, offering Cognitive Behavioral Therapy (CBT)-based responses. It comprises two core functions: 1. Identifying depression in individuals, and 2. Delivering CBT-based therapeutic responses. Our Mistral model achieved impressive scores of 70.1% and 30.9% for distortion assessment and classification, along with a Bert score of 88.7%. Moreover, utilizing the TVLT model on our Multimodal Extended D-vlog Dataset yielded outstanding results, with an impressive F1-score of 67.8%
[ 0.0774220824, 0.0144370263, -0.0314434022, -0.0055714385, 0.0142651014, 0.0100136157, 0.0232767407, 0.0216321182, 0.0699433535, -0.0543723069, -0.0094819339, -0.0361388661, -0.0524425991, 0.0228965078, 0.0363886282, -0.1198569685, 0.0079875877, 0.032100983, 0.0309913419, 0.0131810913, 0.0539444052, 0.0220540371, -0.0489256307, 0.0539372191, -0.0432080179, -0.0259126816, 0.0262053031, 0.0221533254, 0.0569176264, -0.047321938, 0.0108704669, 0.0390630551, 0.0347836502, -0.0083481465, 0.0000020842, -0.0049833949, 0.0137710804, -0.0147064878, 0.0107434103, -0.0410546362, 0.0405367278, -0.0607095435, 0.0219622049, 0.0402506925, -0.0493557788, -0.0154243708, 0.0416295342, 0.0289315823, 0.0829191953, 0.0568399318, -0.0360787846, -0.0062840199, 0.0004174084, -0.0025503514, 0.0086167846, 0.0167732481, 0.0221092179, 0.0279750098, 0.0375792421, -0.0468909889, -0.0414857343, 0.0361869372, -0.030087309, 0.0312807672, -0.0036052212, 0.0088078361, -0.0206642095, -0.0668525621, -0.0274436362, 0.089384973, 0.0157137755, 0.047772143, 0.0416308716, 0.0163654853, 0.0029634899, 0.0140659101, -0.0387786925, -0.008439187, -0.0038698181, 0.0143317115, -0.0063243438, 0.0136577813, 0.0156271327, -0.0322646871, 0.0650042072, -0.0268278439, 0.0055350447, -0.013180824, -0.0311016962, -0.0069814189, -0.0442396812, -0.0423481427, 0.0383020118, 0.0377356075, -0.0285196751, 0.0003605783, -0.0589958653, -0.0475481153, 0.0042630527, -0.0207468718, 0.0403953195, 0.0501017906, -0.0411919914, -0.002094165, 0.025168322, 0.036028944, -0.0033490309, 0.0112543805, 0.0060388348, 0.0016094871, -0.0795317814, 0.0178297274, -0.0349002369, -0.0077935192, 0.0071539739, -0.0559066385, -0.0643988699, 0.0215609297, -0.0366240628, -0.0232142545, -0.0042607929, -0.0110197728, 0.0218424927, 0.0224547982, 0.0116948001, 0.0634868369, -0.0044217482, 0.0085635707, 0.0015649335, -0.1099524796, 0.0401494429, 0.0025305077, -0.0059470623, -0.0333579034, 0.042635873, 0.054888688, 0.0023441322, -0.0483909138, -0.010421887, -0.0204449128, -0.0425687134, -0.0277459398, 0.0299716312, -0.0323670618, 0.0358230285, 0.0068481653, 0.0078063677, -0.0184896048, 0.0289612096, -0.0276877414, -0.0402592383, 0.0764940083, -0.0511383004, 0.0291267373, 0.0216517858, 0.0292255934, -0.0024014278, 0.0491892658, 0.010422904, 0.0152294692, 0.0474919081, -0.0472044349, 0.0513200872, 0.0205946695, -0.0057164328, -0.008559159, -0.0215259716, -0.0281445961, -0.0583723485, 0.0436057188, 0.0160868913, 0.0351157337, -0.0236701444, 0.0050877421, 0.0811318159, 0.0480696075, 0.0029932316, -0.00401713, 0.0207020845, 0.0361157805, -0.007553813, -0.0265822895, -0.0243667327, 0.040463265, -0.0172353238, -0.0323115848, 0.0218896773, 0.0248927046, -0.0370932668, -0.0353601314, -0.0451110266, -0.0081863925, 0.0308133662, 0.0201426819, 0.0068643838, -0.0257920045, -0.0126653649, 0.0651769266, 0.0412190296, 0.003015575, -0.0180191249, -0.0513935871, 0.0295959488, 0.0741949305, 0.0053578457, -0.0331135951, -0.0300660059, -0.0082936827, 0.0218745749, 0.0360029526, 0.025397189, 0.0047745574, 0.0249331258, -0.0228307154, -0.0001715749, 0.0043653357, 0.0240323916, -0.0005027397, -0.0358388275, 0.0380046256, -0.0301650129, -0.0088665998, 0.0295656491, 0.0287763681, 0.0327482373, 0.0010569536, -0.0223448537, 0.0150907766, 0.0461645573, 0.0216570441, -0.0148468232, -0.0263046119, 0.0216273665, -0.0538421497, -0.0343227275, 0.012784319, 0.0130354501, -0.0518181175, 0.028352946, -0.0568978377, 0.0055599334, 0.0834539533, -0.0212353058, -0.0247906093, 0.0596133731, -0.0561915711, 0.0629705116, -0.0366969034, -0.0320904478, 0.0069777626, 0.0352650508, 0.0054627787, 0.0093637668, -0.0116464943, 0.0097020082, 0.0097344043, -0.0257363599, -0.0417144448, -0.0326807015, -0.0314375125, 0.0126901893, -0.0260889344, 0.0313495956, -0.0166051686, -0.0030948701, -0.0265120696, -0.0187447648, -0.1521152705, -0.006289619, -0.0256500505, -0.0142879644, 0.0228638444, -0.0170038529, -0.0341296792, -0.0321232378, -0.0388369672, 0.0361024663, 0.0282680187, 0.0258270092, -0.0007636732, 0.0201184042, -0.0030081999, -0.0476386622, -0.0078744385, -0.0363713726, 0.0055677737, -0.0530624017, -0.0640217364, -0.0136438319, -0.0334129408, -0.0554807186, 0.0109382262, -0.020895835, -0.0837683007, 0.0059959684, 0.0009882643, 0.0567154586, 0.003464842, 0.024244342, 0.0637674257, 0.0133885993, 0.0216583032, -0.027524773, 0.0322366878, -0.0111830579, -0.0254833922, -0.0528069586, -0.0547230393, -0.0229038987, 0.0449683703, 0.0424206518, 0.0307090301, -0.0746680126, 0.0107272994, 0.0184499025, 0.0008550028, -0.000769903, 0.0154586835, -0.013475284, 0.0016264555, -0.0000389659, -0.0492550693, 0.0405287631, 0.0070794681, -0.0502346158, -0.0056779166, -0.0350765437, -0.0046953722, 0.020538196, 0.0196320154, 0.0284215715, 0.0043811919, -0.0177336596, 0.0057598571, -0.0228111949, -0.0161858406, -0.0262328275, 0.020619778, -0.0363468342, -0.0174457375, 0.0287759695, -0.0133366771, -0.0262678843, -0.0616419613, -0.0745118707, -0.0160232689, -0.0330146626, 0.0029083274, -0.041663073, -0.0033670117, 0.0413165875, 0.0343468562, -0.0176522229, -0.0171205681, -0.0056544808, 0.0121059986, 0.073987022, 0.0084817028, 0.0103376191, -0.0263857227, 0.0366617255, 0.0488865115, -0.0161313079, 0.0186415408, -0.0033334792, 0.0257025938, -0.0017908068, 0.0402961969, -0.0231810287, 0.0306356139, 0.0540705323, -0.003186045, 0.0069970195, 0.1175682247, -0.0166681763, -0.0328645483, 0.0310457703, -0.0299229193, -0.0242356416, 0.017184291, -0.0284555852, -0.0561528355, -0.0699195787, -0.0371499695, 0.0398167074, -0.0156759638, -0.0000421296, 0.0101036746, -0.0292729717, 0.0618825592, -0.0138489073, 0.0357833728, 0.0203799605, -0.0134324357, 0.0131615344, -0.0312491655, -0.0124356542, -0.0396720581, -0.0138254622, -0.0142166102, 0.0286293793, -0.0466288105, -0.0709545612, 0.071346879, -0.0128413197, 0.0759124905, 0.0422341414, 0.0688972175, -0.0040841145, -0.0685659423, -0.0506062359, 0.0281943679, 0.0311521981, 0.0031303684, 0.0582917295, -0.0078573432, -0.0170145165, -0.0222343244, 0.0548725054, -0.0539223626, 0.0166189764, -0.0218184534, 0.087186411, -0.0223879926, -0.029688511, -0.0603895187, 0.0443834551, 0.0368268192, 0.0489190295, 0.0197436716, -0.0685209632, -0.0064928234, 0.0494448729, 0.005332279, 0.0431125499, -0.0763153136, -0.0249315538, -0.0273284912, -0.0249898527, -0.0641873777, -0.0435848199, 0.0362874046, 0.0029402762, -0.0457897037, -0.0181413218, 0.003558187, 0.0523733124, -0.0497678183, 0.0712648183, 0.0529770404, 0.0357125662, -0.053444583, -0.0057021277, 0.0151731446, -0.0383579545, -0.0037609811, 0.0264719073, -0.0412698351, -0.0357829779, 0.0246751383, 0.0516446307, 0.0222243778, 0.0075329491, 0.0286009647, -0.0298018847, 0.0139673566, 0.0180850532, -0.0010765069, -0.0017400974, 0.0163260065, 0.0273773707, -0.0062498213, 0.0374340378, -0.0172331594, 0.0484568663, 0.0058400431, 0.0013651452, -0.0393511802, 0.0081151854, -0.0190010332, 0.0003171469, 0.0540852882, -0.0251103807, -0.0235559419, -0.0002437386, -0.0551073663, 0.002765527, 0.0338675082, -0.0678949878, -0.0066837468, 0.0112357447, 0.0097015919, -0.0300803352, -0.0398435965, -0.0633295998, -0.034836933, -0.0595509447, -0.0034678462, -0.0115058208, -0.0324900784, 0.0026896512, 0.0226425715, 0.0138235157, 0.0534644015, -0.0157230105, -0.0156374145, -0.0062503191, 0.1012604907, -0.0101043172, -0.0129152192, 0.0391649343, 0.0765826181, -0.02107797, -0.0651999786, -0.0248440709, 0.0148325954, 0.0632864758, 0.0249283742, 0.0654783174, -0.0289461669, 0.0000752025, -0.016189035, 0.0368800126, -0.0478827469, -0.0368225835, 0.0267532542, 0.0061736139, -0.0199407935, -0.0254028346, 0.0549182184, -0.0332822129, 0.0292171687, 0.0319964997, -0.0210991222, -0.0272360723, 0.0271806419, 0.0647130683, 0.0348238014, -0.0259221513, 0.0126892738, -0.0532497428, -0.0658959299, 0.025143126, -0.034578912, -0.0350796096, -0.042262651, 0.0289258789, 0.0396153629, 0.0124797309, -0.0030831613, -0.0583655946, -0.0089966794, -0.0251683183, -0.0034387379, -0.0247939061, -5.938021101e-33, -0.0005224022, 0.0305801574, -0.0235467795, -0.0194264073, -0.0146099841, 0.0268539283, -0.0215918198, 0.0384546742, -0.0052608838, 0.0369567722, 0.0524305217, 0.0506469496, 0.003460512, 0.0211763382, 0.0201080944, -0.0092430217, 0.0276043583, -0.0211484376, -0.005913836, 0.0213236045, 0.0093453256, 0.0622380041, 0.0841816738, -0.0927219391, -0.0052013127, 0.0186470076, -0.0310081281, 0.0092619415, 0.0502161346, 0.0512694195, -0.0477078706, 0.0705486238, 0.0327512026, -0.00752754, -0.0142352292, -0.0017549185, -0.02132296, -0.0037393996, 0.0161463898, 0.015494612, -0.0749576315, 0.0085458318, 0.0260384027, -0.0309844948, -0.0103946012, -0.0189648587, 0.0413696393, -0.0215358622, 0.0437636673, -0.0301757958, -0.0227700453, -0.0143876243, -0.0006218035, -0.064296782, -0.0142381489, 0.061199367, -0.040513169, 0.0218808521, -0.0823574886, 0.0069575678, -0.0269120373, -0.0260533206, 0.0538755991, -0.0472054221, -0.0012969183, 0.0709433556, 0.0346588083, -0.0458943658, -0.0142543605, -0.0076269349, -0.0027756889, 0.0647100061, 0.0558794886, 0.0224531367, 0.0398144387, -0.0225050095, -0.0047355369, 0.0053215646, -0.0041515632, -0.000960244, 0.0230881441, -0.0116578639, -0.0091917999, 0.0044240053, -0.0003642394, -0.0283649024, -0.0226967093, -0.0500978082, 0.0221749917, 0.0002272506, 0.0266050398, -0.0148249557, 0.0388591252, -0.0405994542, 0.0189647861, -0.0116302855, -0.0277069211, 0.065831624, 0.0132742487, 0.0124161458, -0.0206926782, 0.0102709653, 0.0448771194, 0.0124232136, 0.047831323, 0.0042994348, -0.0134356022, 0.011366833, -0.0135200405, -0.0221241061, 0.0216789786, 0.0503124893, -0.008388767, 0.062960878, -0.0102616632, 0.0160841998, -0.0428287312, 0.0259150472, 0.016304994, -0.0003636505, -0.0553721189, -0.0359565206, -0.0267157499, 0.0185743757, -0.0250408761, -0.0084627764, -0.063524425, -0.0367101878, 0.0292951595, -0.0394602865, 0.0010632396, -0.0176452864, 2.813e-7, -0.0056371549, 0.0702871457, -0.0425437503, -0.0056024897, 0.0400245711, 0.046589382, -0.0005780841, 0.097366184, 0.0300048832, -0.0796943083, 0.0055505144, 0.0271545369, 0.0569102317, 0.0259897299, -0.0076344777, -0.0245883223, -0.0313865133, -0.0443101041, -0.0479123779, 0.0094345231, 0.058137916, 0.0856989995, 0.0188462399, -0.0365910716, 0.0341328047, 0.0130248256, 0.0532812402, -0.0119149173, -0.0170104112, 0.0191595666, 0.076232627, -0.0136148194, -0.0037410022, -0.0021655916, -0.0004668371, -0.0155736962, -0.0020998924, 0.0535928532, -0.0610168763, -0.0349600017, -0.0097875353, 0.0234243646, -0.0257463176, -0.0057578445, 0.0355421081, -0.0667636022, -0.0419433713, -0.0071616098, -0.0278010797, -0.0393866338, 0.0408633873, -0.0419437401, -0.0369734764, 0.0592137538, 0.0125418184, -0.0141638182, -0.0143345175, -0.0723997653, -0.021872513, 0.0156347863, -0.0907697678, -0.0227461793, -0.0176497772, -0.0201948863, 0.0019397067, -0.058574371, -0.0050992002, 2.174514857e-34, 0.0096163806, 0.0490475595, 0.0119998893, -0.0189815927, -0.0013471959, 0.0269029923, -0.0099256616, -0.0040766741, 0.0057518422, -0.0774509683, -0.0238526072 ]
http://arxiv.org/abs/2406.10560v1
http://arxiv.org/pdf/2406.10560v1
Facts-and-Feelings: Capturing both Objectivity and Subjectivity in Table-to-Text Generation
2024-06-15T08:41:44
2024-06-15T08:41:44
Tathagata Dey, Pushpak Bhattacharyya
cs.CL
cs.CL
Table-to-text generation, a long-standing challenge in natural language generation, has remained unexplored through the lens of subjectivity. Subjectivity here encompasses the comprehension of information derived from the table that cannot be described solely by objective data. Given the absence of pre-existing datasets, we introduce the Ta2TS dataset with 3849 data instances. We perform the task of fine-tuning sequence-to-sequence models on the linearized tables and prompting on popular large language models. We analyze the results from a quantitative and qualitative perspective to ensure the capture of subjectivity and factual consistency. The analysis shows the fine-tuned LMs can perform close to the prompted LLMs. Both the models can capture the tabular data, generating texts with 85.15% BERTScore and 26.28% Meteor score. To the best of our knowledge, we provide the first-of-its-kind dataset on tables with multiple genres and subjectivity included and present the first comprehensive analysis and comparison of different LLM performances on this task.
[ 0.0066387923, 0.07231538, 0.0094263228, 0.0216483921, -0.0466650277, 0.0059784665, -0.0387093276, -0.0073347427, -0.0264069457, -0.0525380634, -0.0523671992, -0.0346726328, 0.0080540637, 0.0246744286, 0.0337529331, -0.0010889283, 0.0153483618, 0.0226021353, -0.0385372303, 0.032143712, 0.0144580575, 0.0281500202, -0.0052843052, 0.027819477, -0.0138681522, 0.0064179837, -0.0240528546, 0.020145731, 0.002662109, -0.0159378275, 0.0025085758, 0.0811479241, 0.0179210436, 0.0003028511, 0.0000019929, -0.0126865329, -0.049266506, -0.0105892587, 0.0256983768, -0.0065620653, 0.0630990714, -0.0378132798, 0.0036156352, 0.0148652047, -0.045316074, 0.0148925502, 0.0029371413, 0.0495038778, 0.0877766609, 0.0879634693, 0.0104635963, -0.0215603728, -0.0262270775, -0.0054479381, 0.0383294076, 0.0143008688, -0.0256875157, -0.0226819199, -0.0039872951, -0.0250381436, 0.0182292387, 0.020556068, 0.0129745053, -0.0096151866, 0.0040136813, 0.0262208376, -0.0437869355, 0.0104075558, 0.0191359781, 0.0750921741, 0.0528033972, -0.0181780681, 0.0294876117, 0.0209763348, -0.0053525064, -0.0584543757, -0.0246614981, 0.0533674397, -0.0166736841, 0.0262684245, 0.0133117726, 0.0034560368, -0.0003535176, -0.0039819954, -0.0040685735, 0.0131879076, -0.0080424109, -0.0497657955, 0.0097058751, 0.0290465355, 0.02204616, -0.0445828959, 0.0222330075, 0.0304883327, -0.0374026, 0.0187693704, -0.057087522, -0.0065245093, 0.0104079451, -0.0867785513, 0.0576393344, 0.0407994986, -0.010141979, -0.0391989537, -0.0271672662, -0.0160703734, 0.0231252555, 0.0227012597, -0.0548278019, 0.0154304747, -0.0257685464, 0.0213547088, -0.0163490679, 0.0430833846, -0.0591613911, 0.0153027931, -0.0316784233, -0.0239687152, 0.0033241792, 0.0336719863, 0.0353119858, 0.0227234624, -0.0312161669, 0.0331065953, -0.0342072509, -0.0135616371, -0.0195192825, -0.0173977725, 0.0239435136, -0.039392978, -0.0125680231, 0.0051580304, -0.002480692, -0.0121573834, 0.0211333744, 0.0701108351, -0.037368875, -0.0204486493, -0.0890689045, -0.0472533405, -0.0248132218, -0.0913730934, -0.0046645072, -0.0459856465, 0.043126598, 0.0081208069, -0.0084097208, -0.0643162951, 0.0189212058, 0.0406394713, -0.0193934981, 0.0335498005, -0.0117836865, 0.0093773836, -0.0223570839, -0.0131440442, 0.0224872809, 0.0652738586, 0.0573941283, 0.0427812077, 0.0019199678, -0.001340808, -0.0283649992, 0.0185002815, 0.0319777541, -0.0011699989, -0.0267998353, 0.0159989577, -0.0303621087, 0.0570308231, 0.0321403183, 0.0561556704, 0.0056361249, 0.0378675386, 0.0815125033, -0.0096938089, 0.0154555663, 0.0902602598, 0.0553253442, 0.0057376591, 0.0269005634, 0.0714095086, -0.0187274255, 0.0528889485, 0.0018375857, 0.0337603018, 0.0544728413, 0.0354734212, -0.0091073448, -0.0671646446, -0.0107094441, 0.0035794694, -0.0211639572, -0.0245587155, -0.0102254078, 0.0285015665, -0.0916564912, 0.0294974688, -0.011583454, -0.0970028713, 0.0363071375, -0.0028884388, 0.0386137217, 0.0865527019, 0.040183261, -0.0220808685, -0.0459651612, -0.0097870538, 0.0188363511, 0.0778089538, 0.0384260044, -0.0097336797, -0.0112440251, -0.0386135057, -0.0034516572, 0.0030206514, 0.0247004405, -0.0075688628, -0.0270427149, -0.0062836157, 0.0482370071, -0.0378312916, -0.0533157103, 0.0532200933, -0.0170767792, -0.0082331682, 0.0206579864, -0.0060786586, 0.0173533317, 0.03971361, -0.0180450901, 0.039715413, 0.0296002068, -0.0163631309, 0.0108164679, 0.0175868906, -0.0089059826, -0.0268096086, 0.0073047741, -0.0167217441, -0.0366793834, -0.0164493863, -0.0341844857, -0.0378000848, -0.0065375371, -0.043326471, -0.0316796601, -0.0451653823, 0.0260229949, 0.048874937, 0.0240397099, 0.0021266912, 0.0457534753, -0.0488281474, 0.0007911308, 0.0241808053, -0.0922397077, 0.0055702426, -0.0487040468, 0.0429823995, -0.0001398915, 0.0125148343, 0.0174039993, 0.015429114, 0.0452381596, -0.0614547506, -0.0434612073, -0.0843516961, 0.0356573611, -0.0322299935, 0.0267874375, 0.025057666, -0.0312709622, -0.0036495149, 0.0431589894, -0.077431187, -0.0324548222, 0.0252228566, -0.0100782374, 0.0969130769, -0.0172306336, 0.0047479142, -0.0640186891, -0.0004540036, -0.0272379555, 0.0028124421, -0.0137931099, 0.0031579614, -0.0367675945, 0.0139053753, -0.0383591838, -0.0172575284, 0.0376097746, -0.0379473455, 0.0020298944, 0.003864863, 0.0721365884, 0.0426048003, 0.0311347395, 0.0531308167, 0.0310066771, -0.0343554541, -0.0289732199, 0.009452953, -0.0142742665, 0.0267367773, 0.0378444083, -0.104733102, 0.0749604478, 0.0442515761, -0.0028548331, -0.0028570516, -0.0634015128, 0.0164640397, 0.0026790553, -0.0116922474, -0.0029189407, 0.0635496154, -0.0033657721, 0.0080328109, -0.0168839544, 0.0100353612, 0.0392042287, -0.0571034029, 0.024884697, -0.0400971696, 0.0197473206, -0.0689313784, 0.0328819454, -0.0008163112, 0.0098523879, -0.0251731835, -0.0034206624, -0.0685708225, -0.0047990815, 0.0065388214, -0.0356691666, 0.0980764627, -0.0615012497, 0.0032305163, -0.0198982414, -0.0100416271, -0.0067490321, -0.0369823873, 0.0235441998, 0.019413488, 0.0332112685, -0.0097402483, -0.0144497817, -0.0071319663, 0.0023446861, 0.0094439154, -0.017766254, -0.0315585844, -0.0264477693, 0.0282656699, 0.0365865342, -0.0051890211, -0.008990665, -0.012346168, 0.0157885756, 0.0455945656, -0.016139254, 0.0139321005, -0.0021033783, 0.0194352642, 0.0187893007, -0.0495594442, -0.0220665149, 0.0257193428, 0.0085206814, -0.0599393025, -0.0335558467, 0.1173726022, 0.0167468395, 0.02860054, 0.0000539421, 0.0272506177, 0.0299845953, -0.003618286, 0.0172550716, -0.0593849495, -0.0095690256, -0.0071055721, 0.0367030837, -0.0095721958, -0.0662392527, -0.0494214483, -0.1147953942, 0.0242039002, -0.0001190885, -0.0515010431, -0.0848907828, -0.0059482693, -0.0279085021, -0.0067437915, 0.0307915118, 0.0442180522, -0.0258727651, 0.039543137, 0.0336285494, -0.0250764973, -0.0329328217, -0.0209217146, -0.0666793287, 0.045794379, 0.0457438491, 0.0670460239, -0.0077432422, -0.0012569902, -0.0110736825, 0.033189889, 0.0066827685, -0.0101743219, 0.0423715264, -0.0150757842, 0.0074405684, -0.0091208834, 0.0207874719, -0.0245518517, 0.0251300428, 0.0079295058, 0.0186858736, -0.0303620808, -0.0341265425, -0.0222388934, 0.0532553308, 0.0133451968, 0.0930440873, 0.0407899506, -0.0198880378, -0.0140373437, -0.0199529342, -0.0193888601, -0.076202482, -0.0019959172, 0.0281483326, -0.0536933467, -0.0365647338, -0.1121337712, -0.0340604372, 0.0298409704, 0.0786086619, 0.0154616665, 0.0035494759, -0.0226683896, -0.0164421815, -0.0345016494, -0.0034939875, -0.025931051, -0.0004066124, -0.0624859557, -0.0509867072, 0.0217003226, -0.04202234, 0.015279674, 0.0144325886, -0.0532925837, -0.0306048952, -0.0039305361, 0.0293115564, 0.025709575, 0.019354349, 0.0520866252, 0.0087678833, -0.0218213741, 0.0643899366, -0.0381433368, 0.0016282317, 0.0187042039, 0.0407252274, 0.0005028388, 0.0469848104, -0.0100734439, -0.0012184494, -0.0159754772, 0.0657149628, 0.0211493243, -0.0282809716, 0.0523217209, 0.0230162777, 0.0239512492, -0.0185239017, -0.0634008572, -0.0311826821, 0.001592142, -0.0818724409, -0.040829353, -0.0594971739, 0.0055279201, 0.0098418761, 0.0235484894, -0.0489815511, -0.0279472321, -0.0203090888, 0.0413720347, -0.0331981629, 0.0077076596, 0.0003914408, -0.0093380399, 0.0274331123, -0.0260543469, -0.0555079654, -0.000341662, 0.0025470618, 0.0203958526, -0.0027154416, 0.040643394, 0.0157611687, 0.013379015, -0.0006822094, 0.0508914776, -0.0022863697, 0.0274538957, -0.0719316825, 0.0325580202, 0.0318661481, 0.0009122035, 0.0393003635, -0.0543555841, 0.0183239654, 0.0110400664, 0.061077673, 0.043919012, 0.0008138022, 0.0116255125, -0.0236020666, -0.0241990145, -0.0524187014, 0.0816662014, 0.0080541456, 0.0075716204, 0.0016310993, -0.0152306212, -0.0571946427, -0.0236433242, 0.0238869097, -0.0469187945, 0.0124360602, -0.0317718647, -0.0727278441, -0.0458075143, 0.0458333045, 0.0560926311, 0.0019168975, -0.0312939733, 0.0301768165, 0.052652128, 0.0048127179, 0.0280269459, -0.0437491648, 0.0322611667, -0.0249819718, -0.0505618528, -0.0402601585, -6.491632288e-33, -0.0706346706, -0.0234372932, -0.010183773, -0.0005196304, -0.0241740625, -0.0232340358, -0.0473237745, -0.0002777408, 0.0391329192, -0.0034302964, -0.0377968401, 0.0031885642, 0.0239186287, 0.0095003508, 0.0006460779, -0.068915613, 0.0656047836, -0.0130365966, -0.0461822152, 0.0082275653, 0.0176015422, 0.0161194615, 0.0450974926, -0.0396745652, 0.0576973967, 0.0000731782, -0.0238930695, -0.008662913, 0.0157282017, 0.0019027847, -0.0120975832, 0.0450061262, 0.0173700824, -0.0244580489, -0.0322522856, -0.0128862206, -0.0705354661, -0.0290667098, 0.0192942265, -0.0002271377, -0.0079550892, -0.0466898158, 0.024224529, -0.0068622609, -0.0402308814, -0.006115708, 0.0240083616, -0.0274738185, 0.0013449391, -0.0716598928, -0.0318033732, 0.0190327317, 0.0017756174, -0.0423997156, 0.0214725193, 0.0283575207, 0.0050154333, -0.0177694503, -0.0295769796, 0.0116823977, 0.002968393, 0.0413362458, 0.0684958547, -0.0409742072, -0.0130379209, 0.0441128053, 0.0141018489, 0.0459806472, -0.0570352487, 0.0566630326, -0.0310840905, 0.056129355, 0.0406282432, 0.0506131984, 0.0023890263, 0.0006628483, -0.0329851955, 0.0931114554, 0.0227066297, -0.0234634019, -0.0081586083, -0.0385498106, -0.0193137228, -0.018034216, -0.0213496834, -0.0202266034, -0.0025440147, -0.0127997287, 0.0103026917, -0.0068534724, -0.0027623796, -0.0475364625, 0.0038974204, 0.0055675176, -0.0101220962, 0.0227200277, -0.0454229303, 0.0000570186, -0.0121365869, -0.0077894642, -0.0483360477, -0.0393038839, 0.0292212106, 0.0202815346, 0.0336316228, 0.0255063754, 0.026996104, 0.0472079888, -0.0466447622, 0.0009028198, -0.0478528552, 0.0679006651, -0.0039113862, 0.0064263511, 0.0027063699, -0.0342374966, -0.0046729096, 0.0540669225, 0.0073638507, 0.0161154997, -0.0053644548, 0.0099157393, 0.029305838, 0.0155942254, 0.00720724, 0.0373240486, -0.0134723838, -0.0139994519, 0.0195115376, -0.0242124535, 0.0082824677, -0.0095120547, 2.637e-7, 0.0378760323, 0.0120819099, 0.0587050803, 0.0384598151, -0.0283877328, 0.0187661927, -0.0213954039, 0.053452082, -0.0157876313, -0.0326052532, 0.03526574, -0.0305919945, 0.0811307505, 0.0404493809, -0.0640665367, -0.046370171, -0.0520579852, 0.0264864024, -0.054723639, -0.0219167992, 0.0779204816, 0.0524950959, -0.0439897478, -0.0080377236, 0.0091028567, 0.0091232667, 0.0464981012, -0.0594511069, -0.0027471064, 0.0285659842, 0.0885963961, -0.0428219289, -0.0175085273, 0.0031744826, -0.045166783, -0.0164302941, 0.0120739387, 0.0698873252, 0.0600086451, -0.0260200948, 0.0171394162, -0.0535616279, 0.023000339, -0.0195851307, 0.0756957829, -0.0348365381, -0.0318675824, 0.0628667027, -0.0002697755, 0.0141878817, -0.0023271169, -0.0278666653, -0.0390944034, 0.0380440392, 0.039392665, -0.0109686134, 0.0015369047, -0.0371706709, -0.0525282025, -0.0001046771, -0.0238937475, -0.0258997791, -0.0051153107, 0.0241619907, -0.0222628638, -0.0574246906, -0.0441748463, 2.603313845e-34, 0.0527194329, -0.0158518739, 0.0275143888, -0.0086321337, 0.0605472848, 0.0002297898, 0.0059275622, 0.0037142776, 0.0035839824, -0.0418766402, -0.0192453153 ]
http://arxiv.org/abs/2406.10552v3
http://arxiv.org/pdf/2406.10552v3
Large Language Model Enhanced Clustering for News Event Detection
2024-06-15T08:13:47
2024-06-28T09:16:28
Adane Nega Tarekegn
cs.CL
cs.CL, cs.AI, cs.LG
The news landscape is continuously evolving, with an ever-increasing volume of information from around the world. Automated event detection within this vast data repository is essential for monitoring, identifying, and categorizing significant news occurrences across diverse platforms. This paper presents an event detection framework that leverages Large Language Models (LLMs) combined with clustering analysis to detect news events from the Global Database of Events, Language, and Tone (GDELT). The framework enhances event clustering through both pre-event detection tasks (keyword extraction and text embedding) and post-event detection tasks (event summarization and topic labelling). We also evaluate the impact of various textual embeddings on the quality of clustering outcomes, ensuring robust news categorization. Additionally, we introduce a novel Cluster Stability Assessment Index (CSAI) to assess the validity and robustness of clustering results. CSAI utilizes multiple feature vectors to provide a new way of measuring clustering quality. Our experiments indicate that the use of LLM embedding in the event detection framework has significantly improved the results, demonstrating greater robustness in terms of CSAI scores. Moreover, post-event detection tasks generate meaningful insights, facilitating effective interpretation of event clustering results. Overall, our experimental results indicate that the proposed framework offers valuable insights and could enhance the accuracy in news analysis and reporting.
[ 0.0118018184, -0.0183880944, -0.003964202, 0.0296659134, -0.0061361063, 0.0252781492, -0.0007504093, 0.0099404482, 0.0720238537, -0.0410343483, 0.0200846773, -0.0285809226, -0.0489974767, 0.0479059555, -0.0108926175, -0.0593257658, 0.0706725419, -0.0083853202, 0.0289977323, 0.0484231748, 0.0543685779, 0.0242971536, 0.0254114978, 0.0129130213, -0.0206560586, 0.0283488762, -0.0157984272, -0.0313888043, 0.0403418615, -0.0268786866, -0.0469909422, 0.0247394405, 0.0733651072, 0.0328806229, 0.0000016821, -0.0654372945, -0.0160292611, -0.0178686883, 0.0266125109, 0.0101222144, 0.0542162023, -0.0819596127, 0.002399629, -0.005326896, -0.0047033182, -0.0535175875, -0.0035817521, 0.0395263806, 0.0429911166, 0.0687858835, -0.0384978727, -0.0061128251, 0.0478308126, 0.0142866243, -0.0264159013, -0.0589575842, 0.0300344527, 0.0274163969, -0.0197766479, 0.0274679437, 0.0287941433, 0.0030421352, -0.0171331223, 0.0058212769, -0.0418416858, 0.0511316434, -0.0701447055, -0.009942052, -0.0045027114, 0.0295102876, -0.0085820435, -0.0215590671, 0.0319745503, 0.0198008176, -0.0035759392, 0.0180373769, -0.0685337409, 0.0381258875, 0.004128187, 0.0308005717, 0.0400133058, 0.0111454949, 0.0109975329, 0.0431798249, 0.0075064413, 0.0626051277, 0.0337035842, -0.0199962892, -0.0542782173, 0.0347484313, -0.0388155542, -0.0394259952, 0.0713924021, 0.0375950597, -0.0098550934, 0.0078643989, -0.0436901264, -0.0194043778, 0.0157138966, -0.1383809149, -0.0814402178, 0.0123023894, -0.0038560948, 0.0929621533, -0.0095384698, -0.0034728972, 0.0170391481, -0.019582238, -0.0225876123, -0.0173365008, -0.0264558829, 0.0338862054, 0.0121809486, 0.0242361706, -0.0270559695, -0.046591118, -0.0029976182, 0.0543019474, 0.0481760576, -0.0112654082, -0.0465855636, -0.023748057, 0.0064712628, -0.0131535958, 0.0188797805, 0.0066377944, -0.0524275973, 0.0226666033, -0.016598992, -0.0011313189, 0.0139666554, 0.031131601, 0.0319432616, 0.0062338351, -0.0338135101, 0.0111933649, -0.0309479348, -0.0416292846, -0.0940587148, -0.0162727647, -0.0166639891, 0.0152411647, -0.0212767143, -0.0713685825, 0.0066849506, -0.0053657019, 0.0058034272, 0.0213138442, -0.0064210831, -0.0081265625, -0.032582771, 0.0206236523, -0.0310191978, 0.0324453637, 0.0504839383, 0.0111781685, 0.0034760928, 0.1012449414, 0.0291620847, 0.0610283017, 0.0987427905, -0.0015744469, -0.0005949085, 0.001438687, -0.0320279896, 0.0347310081, -0.0074555567, -0.0074966145, 0.0014058481, -0.0191610567, 0.0364015065, -0.0067825308, -0.0382552035, 0.0223403107, 0.0742121264, 0.0623034202, -0.0324756652, 0.0194253772, -0.0124924816, 0.0130198058, -0.0282406248, 0.0035483032, 0.0206805188, -0.0136642978, -0.0809667856, 0.0016148007, 0.0563066825, 0.0386672653, -0.0609481819, -0.0045353165, -0.0155649316, 0.0074197249, 0.0317036733, -0.008658085, 0.0378233567, -0.0390109308, 0.0171012394, 0.0534123331, 0.0335464925, -0.0303326771, 0.0825853124, -0.0237106886, 0.0386620089, 0.0275710784, 0.0135323741, -0.0264823195, -0.0138011286, 0.0171762574, 0.0607582293, 0.0040864586, 0.0054306528, -0.0132254725, -0.0049401647, -0.031944219, -0.0040567196, 0.0425458066, 0.0227030553, -0.0197328646, 0.0366759077, 0.049921155, 0.0019776714, -0.0255975612, -0.048231706, 0.0382294059, 0.0088308584, -0.0094797388, -0.0149080632, 0.0029245904, -0.0231243297, 0.0163117182, -0.0008189313, -0.0168003924, 0.0448425636, -0.0256472025, -0.0050664959, -0.0056229443, -0.0070802555, -0.0208037868, 0.0149195539, 0.0043258863, -0.0003965451, -0.0086439019, -0.0313256085, -0.0305093843, 0.0240254235, -0.0099300733, 0.0079117334, -0.0457025245, -0.0001666213, -0.0572370999, -0.0046274136, -0.02582171, 0.0831109285, 0.0021945327, 0.0199743826, -0.0415672325, 0.0058563352, -0.0269729346, -0.0312975533, -0.0634508654, 0.0395517237, -0.0019333247, 0.0326763578, 0.0370604992, -0.045217324, -0.0168725178, -0.0163842291, -0.1127096266, 0.0152687235, -0.0408153199, -0.0088883145, 0.0511438698, 0.0179719608, -0.023633074, 0.0131660951, -0.0043763956, -0.0593800358, 0.0336666517, 0.0408329107, 0.0036877079, 0.0076133492, 0.0061268052, -0.0519233346, -0.0093069971, -0.0328463838, 0.058934506, 0.0146741793, -0.0538040847, -0.0544328429, 0.0396284759, -0.0206096023, -0.0322814509, -0.0068492237, 0.005078759, -0.017035095, -0.0140862819, 0.0309748147, 0.064216502, 0.0357005112, 0.0172199085, 0.0159630626, -0.0320849791, -0.0089435782, -0.0060303579, -0.0566951148, 0.0207068361, -0.0183044877, -0.0351989195, 0.0509796068, 0.0106470436, 0.0174552146, 0.0060494537, -0.0412046649, -0.0287978295, -0.0610644966, 0.0203122962, -0.0645325854, -0.0495629944, 0.0001383075, 0.033759214, -0.0329963677, -0.0256988145, 0.0636747032, 0.0028557277, 0.0387753658, -0.0390048958, -0.0542808026, -0.0727577433, 0.0168605186, -0.05214791, 0.0240857415, -0.0607310385, -0.0417510383, 0.033922866, -0.0318207853, 0.0031206429, -0.0178665277, 0.0902340189, -0.0311713107, -0.0047331299, 0.0286630429, -0.0052108602, -0.0068887691, -0.0359903872, -0.0140504539, 0.0037878191, 0.0235725343, 0.0226025209, -0.0445787311, 0.097454749, 0.0320314728, 0.0093860058, -0.0242329035, -0.0046074782, 0.0124693615, 0.058287058, 0.0104692494, -0.0361249708, 0.0221116599, -0.0037722217, -0.0029846684, 0.0412669666, 0.0394270606, -0.0077326586, -0.0235440806, 0.0194330458, 0.0151302572, -0.060732998, -0.0138799353, -0.0354126319, 0.0491677597, -0.022578029, -0.0003595941, 0.1369674206, 0.0335148387, -0.0734949335, -0.0101292348, 0.0140146492, 0.0015691899, 0.0276094638, -0.0058204127, 0.0110545941, 0.0139836334, 0.0124492487, -0.0155664431, 0.0391292498, -0.0382679552, 0.0231133439, -0.0474490672, 0.0153441923, 0.0225844197, -0.0459028296, -0.0571588948, -0.1095064953, 0.0372686163, -0.033105012, -0.0070248349, -0.0094323121, -0.0004183365, -0.0278688595, 0.0104709389, -0.1023936048, -0.0654413402, -0.0064833793, -0.0559402816, -0.0012646085, 0.0428333506, 0.0165265407, -0.025931308, 0.0341786146, 0.000624159, 0.0020586455, -0.0393006876, 0.0125326738, 0.0201703124, -0.0312417336, 0.0068266564, -0.0335244499, 0.0121559948, 0.0109247137, -0.0362052992, 0.0302850883, 0.0626184642, 0.0140898665, -0.0229316615, -0.010173778, 0.0014254171, 0.0135830911, 0.0457354598, 0.006847925, 0.0066159102, 0.0340503268, 0.0027632173, 0.0103814304, 0.020775862, -0.038191393, -0.0041302061, -0.0431215838, -0.0366256498, -0.0552217923, -0.0497152172, 0.0410209224, -0.0114442809, -0.0211219657, -0.0069804252, 0.028379079, -0.0174413305, -0.0320134833, 0.047522258, -0.0244867858, -0.0091763353, -0.0259978678, 0.039911788, 0.0342596211, 0.0300876312, -0.0152484998, 0.031169381, -0.0518045127, -0.023580214, -0.0002050292, -0.065805532, 0.0080316234, -0.0001497252, -0.038505774, -0.0365812555, 0.0369946584, 0.0110242357, -0.0169433821, -0.0054412736, -0.0394360833, -0.0066199866, 0.0229347795, -0.0075381855, -0.0385500491, 0.0332903378, -0.0284636766, 0.0150531074, -0.0787753835, -0.0210213754, -0.0253600255, -0.0061024078, 0.0658707842, 0.0038387896, -0.0404257253, -0.0629658476, -0.0637536347, -0.0016478866, -0.0003511716, 0.0175059345, 0.0217646323, 0.0296554789, 0.011260611, -0.0364076383, 0.1309388131, -0.0031267044, -0.0090637766, -0.0560989641, 0.005988888, 0.0039266315, 0.0172680262, -0.0255334657, 0.0403528139, -0.0476696938, -0.0179124605, -0.0374048613, -0.0202344786, -0.0371716022, -0.0081132939, 0.0088890521, -0.0112232193, -0.0173898228, 0.0216137711, -0.0761126652, 0.0266389586, -0.0446967781, 0.0215366799, 0.0619374774, -0.0658962727, 0.022800656, -0.0085778031, -0.0312152524, -0.0238841884, -0.0015327294, 0.0119913192, -0.0204862319, -0.0069051404, 0.0339834914, -0.0304677803, 0.0335865058, 0.0557333827, -0.0385231711, 0.0116163045, 0.0608460791, -0.0598401949, -0.0202396046, -0.0020818196, 0.074025102, 0.0414655954, -0.047610078, -0.0092484104, -0.0274079069, 0.0045803189, 0.0606807023, -0.0315460898, -0.0113487802, 0.0052908184, 0.0138676232, 0.0860307217, 0.023422258, 0.0386038385, -0.0427603647, -0.0219805315, -0.0388950557, -0.0289046671, 0.0016959327, -6.176910573e-33, -0.0165018719, -0.0211769249, -0.0172653664, 0.0045308387, -0.0147638014, 0.0461124182, -0.0114996303, 0.0010826369, -0.0062694782, 0.0045431671, 0.0154449632, 0.0184957739, 0.0065665627, -0.0241788458, -0.0004968897, -0.0108492794, 0.0179315805, 0.0160989519, -0.0112364916, 0.0473000146, 0.0304831527, 0.0135764098, 0.0464753769, -0.0269609857, 0.0267618839, 0.0245355628, 0.0218765251, -0.0140387351, 0.1186117232, 0.0437321886, -0.0474649891, 0.025998706, 0.0456731319, -0.0258672852, -0.0308612678, 0.0573377572, -0.0319652036, -0.0309773218, 0.0310645849, -0.0054353569, 0.0150557235, -0.0027077375, -0.0007456876, 0.0048458111, 0.0109203504, 0.0108340383, 0.0498175286, -0.0237469133, -0.0509957783, -0.0234844889, -0.0391718559, 0.0593718514, -0.0195906237, 0.0044442257, 0.0221519172, -0.0190777034, 0.0176414922, 0.0700767189, -0.0613019057, 0.0404162891, -0.0212340504, 0.0219165888, -0.0032796066, 0.0215693228, -0.0198801309, 0.0695941299, -0.0178562757, 0.0067388336, -0.0401771776, 0.0497875288, 0.0476715937, 0.022463819, 0.0191316828, 0.0641703904, -0.0210576337, -0.0242306795, -0.0672338754, 0.0704757422, 0.0281767529, -0.0243452694, 0.0384320654, 0.0456779599, -0.0533161163, -0.0288080163, -0.0304485727, 0.0170740634, -0.0576301888, -0.0072823185, -0.0001757181, 0.0189121105, -0.0312693752, 0.0450618751, 0.019521784, -0.0036008246, -0.0122115454, 0.013018948, -0.0022248528, 0.0163201746, 0.011922596, 0.0418975651, -0.0408909917, -0.031858325, 0.0244609267, 0.0029846865, -0.0223520212, -0.0342272446, 0.0082821772, -0.007530753, -0.0297626555, 0.0240370519, 0.0309520233, -0.0381741896, -0.0072386959, -0.0049082576, 0.0120452689, -0.0189158395, 0.0144554377, 0.0635544583, 0.0478077792, 0.0391899422, 0.0450748764, -0.0343498811, -0.0350758471, 0.0401626676, 0.0141585357, 0.0125058088, -0.0366104506, 0.0219545923, 0.0146707278, -0.0448765084, -0.0202476773, -0.0125083886, 2.508e-7, 0.0333204158, 0.0669643804, 0.0077587864, 0.0294771641, 0.0052400087, 0.0174304862, -0.0150253735, 0.0386095792, 0.0252583139, 0.0008290731, -0.002009931, 0.0516956672, 0.0138400421, 0.0834563375, -0.0441225059, 0.0049768994, -0.0665025041, 0.0042688423, -0.0869177803, -0.0071484912, 0.0409335345, 0.0829962268, 0.0161845516, 0.0223439597, -0.0125251738, -0.0765940323, 0.0396520197, -0.0262711719, -0.0884742364, 0.0239601247, -0.0018252367, 0.0530448332, -0.0060035363, -0.0065961457, -0.001960122, -0.008569384, 0.0248444378, 0.0257339943, -0.0081511755, 0.020171186, 0.0048175431, -0.0227271188, -0.0048303213, -0.0551270656, 0.0983968079, -0.0508428328, -0.0038791774, -0.015509882, -0.0390889011, -0.0050338623, 0.0120669901, -0.025910344, -0.0549517013, 0.0290884692, 0.0067621507, 0.0162398685, 0.0127699021, -0.071770303, 0.0101794973, 0.0347878151, -0.0336678028, -0.0408232734, -0.0083756503, -0.0370901898, -0.0023403931, -0.0182728879, 0.0692087263, 2.153218435e-34, 0.0256371833, 0.0596720465, -0.0369751491, 0.0022512672, 0.0346827097, -0.0123957088, -0.0611889996, -0.0194642507, -0.0094917733, -0.0570172369, 0.0350654274 ]
http://arxiv.org/abs/2406.10549v1
http://arxiv.org/pdf/2406.10549v1
Lightweight Audio Segmentation for Long-form Speech Translation
2024-06-15T08:02:15
2024-06-15T08:02:15
Jaesong Lee, Soyoon Kim, Hanbyul Kim, Joon Son Chung
eess.AS
eess.AS, cs.CL, cs.SD
Speech segmentation is an essential part of speech translation (ST) systems in real-world scenarios. Since most ST models are designed to process speech segments, long-form audio must be partitioned into shorter segments before translation. Recently, data-driven approaches for the speech segmentation task have been developed. Although the approaches improve overall translation quality, a performance gap exists due to a mismatch between the models and ST systems. In addition, the prior works require large self-supervised speech models, which consume significant computational resources. In this work, we propose a segmentation model that achieves better speech translation quality with a small model size. We propose an ASR-with-punctuation task as an effective pre-training strategy for the segmentation model. We also show that proper integration of the speech segmentation model into the underlying ST system is critical to improve overall translation quality at inference time.
[ -0.0322924815, 0.0282111652, 0.0057130456, 0.0435091294, -0.0084056295, -0.0295237023, 0.0817022547, -0.0262538865, -0.0541210771, 0.0167778656, -0.0600142889, -0.0221840814, 0.0302295499, -0.0156298876, 0.0102489414, -0.0650586188, 0.0169003922, -0.0688261166, -0.0051200581, 0.0175804757, 0.0043487251, -0.0035235838, -0.014520281, -0.0065792734, -0.0040946207, -0.0019700776, -0.0031203779, 0.0586952083, 0.0239607096, -0.01961831, -0.0300074853, 0.0005149589, 0.0197871327, 0.0440424979, 0.0000016716, -0.029037524, -0.0431420878, 0.028600134, -0.0489007644, 0.0119682802, 0.0095795048, -0.0201340988, -0.0259669404, 0.0337530598, 0.0230122991, -0.0123084513, 0.0133960815, 0.0413860567, 0.036358986, 0.0703479126, -0.0189274866, -0.0526145026, -0.0090312082, -0.0485279076, -0.0353019089, -0.0017454312, -0.0243521426, -0.0064839879, -0.0580484346, -0.0010578427, 0.0076846476, 0.0825855955, 0.0112917265, -0.0092457617, -0.0080812788, -0.0167129915, -0.0740340874, -0.0361150652, -0.0144713074, 0.0236905478, -0.030867029, 0.006119471, 0.04389688, 0.0163562652, -0.0091545917, -0.0603865311, -0.0393269882, 0.0212622546, 0.0172649287, 0.0013137141, 0.0027034876, 0.0867078453, 0.0444933325, -0.0312906988, -0.0527599752, -0.0073236697, 0.0091950046, -0.0297742691, 0.0021504869, -0.0267971307, -0.0129856309, 0.0174734779, 0.0785369202, -0.0420702398, 0.0363482013, -0.0026617628, -0.0353920348, -0.0381451026, -0.0473966748, -0.0231735911, -0.0193807855, 0.0482968427, -0.0241806917, 0.0315866619, -0.0070762197, -0.008124969, -0.0022633069, 0.0009516694, -0.0298040602, 0.0042668586, 0.003762583, 0.0391058847, -0.0708356723, -0.0060884701, -0.0315424204, -0.0240605474, -0.024162909, -0.0249561332, -0.0081643779, 0.007972409, 0.0692366958, -0.0365389287, -0.0436531976, -0.028446231, 0.0501600988, 0.0433145724, -0.0230191946, 0.0118201161, 0.0279185995, -0.0243414119, -0.0058200895, 0.0401501618, 0.0193988476, -0.0227459222, 0.0092545245, 0.0265681203, -0.0073817135, -0.0284722317, -0.0366958305, -0.0229882617, -0.0440305062, -0.0508119054, -0.0178394727, -0.0560280047, 0.0292514488, -0.0099132946, 0.0065420573, -0.0041355849, -0.0116133187, -0.0435106307, 0.0436061546, 0.0744227171, 0.0005354351, 0.0265316349, 0.0371316224, 0.0072094779, 0.0373425968, 0.0573267974, 0.0838665813, 0.0058982447, 0.0411179774, -0.0038005342, -0.0213044956, 0.0832670107, -0.0215177648, 0.0110617187, -0.0420547016, -0.0197422709, -0.0117740771, 0.0314296, 0.0420625433, 0.0585976765, -0.0085218754, -0.0111632841, 0.0434990637, 0.0271346066, 0.032735005, 0.0458930023, 0.0331908837, 0.0312490407, -0.0292237792, -0.0016843278, 0.0214173645, -0.0219800677, 0.0251284502, 0.0183301661, 0.0693454444, 0.0437972546, -0.0198810175, -0.0405707844, 0.0057213614, -0.0333917961, 0.0228777565, 0.0258514527, 0.0264582746, 0.0192980543, -0.0289010368, 0.0660397261, -0.0630662814, -0.0705869272, 0.0177081861, -0.030423997, -0.0283166729, 0.0297857188, 0.009517476, -0.0297095478, -0.0035958185, -0.0454142876, 0.0285149664, 0.0318753794, 0.0171625111, 0.0198175944, 0.0672977269, -0.0691392794, 0.0102812005, 0.0624552146, -0.0078095067, -0.0053524124, -0.0276852362, 0.0160869136, 0.0657797232, -0.0427714773, 0.0159786679, -0.0030980445, 0.004421202, -0.0168836638, 0.0198584478, 0.0265132878, 0.0590354353, 0.0434771627, -0.0127730453, -0.0093288375, 0.0216815732, -0.0370194651, 0.0532130525, 0.0398489311, -0.0901376531, -0.0660041571, 0.0097299609, -0.0123432958, 0.0259729158, 0.0011067408, 0.0107718725, -0.0960586518, -0.0070508602, 0.0002954829, 0.0273291431, -0.0308938865, 0.088609837, 0.0457687974, 0.0177025273, 0.0061225789, -0.0346048772, 0.0280301925, -0.02909532, -0.0111641213, 0.0140712783, 0.0225748736, -0.0773025379, -0.0261334553, 0.0422682017, -0.0246866811, 0.0003253448, 0.0203182008, -0.0178467892, -0.0192066301, 0.0005278218, -0.0808016509, 0.0235269237, -0.0285769608, 0.0152689749, -0.0131330965, 0.0420144275, -0.0152400155, -0.0216373876, 0.0230412688, -0.0386094302, -0.0016187319, -0.0417442061, -0.0614333861, -0.0028577561, -0.0378729329, -0.0272175018, -0.0006461791, 0.0365809537, -0.0007337144, -0.0076005287, -0.0461034104, -0.0554964766, 0.0305809453, 0.0314791836, 0.0458321385, 0.0277365688, -0.0580542348, -0.0270392839, 0.0049014776, 0.0510986671, 0.0500028357, -0.0117702512, -0.0397410803, 0.0094933668, -0.0431989953, -0.0009553415, 0.0054359944, 0.0134674907, 0.0735074282, -0.016534023, 0.0243424252, 0.0143282413, 0.0515900142, 0.0409599841, 0.0182162821, -0.018222155, -0.059360195, -0.0351605155, -0.0240663253, 0.0316171348, -0.0350602753, -0.0104769226, 0.0209710263, -0.0092753163, -0.0202620961, 0.0124792531, -0.1055363491, -0.0649392307, -0.0466235951, -0.0574006736, -0.0173107758, 0.0092262691, 0.0180113707, -0.0028734987, 0.0001018219, -0.017575901, -0.0455858484, 0.0427794009, 0.0051604887, -0.0217094161, 0.0384147689, -0.0323418453, -0.0000256875, 0.0181020051, -0.0122816227, -0.0131183472, 0.0275934394, -0.0184214097, 0.0033209501, 0.0278783664, -0.0286760647, 0.0006842776, 0.0729354173, 0.0137579925, 0.1126623973, -0.0165396128, 0.0306948703, -0.0080215791, 0.050352525, -0.0041102553, -0.0217197482, -0.0076284991, -0.0514150672, 0.0515018329, -0.0298737697, 0.0630410612, -0.0238552745, -0.0525095798, -0.0243346654, 0.0161920078, -0.0286367908, -0.033764217, -0.0058846185, 0.0854310244, -0.0765066743, -0.0041287066, 0.1301071346, 0.0154695762, 0.0183386356, -0.028791178, 0.0031044341, 0.0164279528, 0.0151568744, -0.0508311354, -0.0190882813, -0.034549959, 0.0456351824, 0.0389318094, 0.0413891859, 0.0528771244, 0.003291446, -0.0464938022, 0.0536301546, 0.0522064269, -0.078680113, -0.0006123149, -0.0099029476, -0.0382853448, -0.0596607216, 0.0342097245, -0.0215405244, -0.0324320942, -0.0259198956, 0.0407617465, -0.0777260885, 0.0060752155, -0.0421996117, -0.0456426963, 0.0526493751, 0.0533285439, 0.0234637149, -0.020685032, -0.0015529504, 0.0669242069, -0.0377536379, -0.0158653352, -0.0006939532, 0.0287309717, -0.0058445791, 0.0042680092, 0.0439224169, 0.0131996665, 0.001427333, 0.0286426153, 0.0350180417, 0.0182940494, -0.0163034406, 0.0349207409, 0.0180653408, 0.0309548341, -0.0197774339, 0.0834004134, 0.0186644793, -0.0043533524, -0.0031005046, 0.0309205707, 0.0308967158, -0.0587659478, 0.0056299265, 0.0018766234, -0.0471010394, -0.0550155565, -0.0400894172, -0.0260998011, 0.0417427085, 0.0457772352, -0.0094019407, 0.0149978716, -0.0150415273, 0.0233387686, -0.0249014739, 0.0123823527, -0.0260881353, -0.0015580112, -0.0847586989, -0.0022161622, 0.004503632, -0.0336151794, -0.0041898857, 0.046980191, -0.0865058824, -0.0378481708, 0.0255206283, 0.0136800343, 0.0204896145, 0.0635935962, -0.0358105637, 0.0070985993, 0.0468485318, -0.0215411671, -0.0398718379, -0.0228739679, 0.0567292385, 0.0016141576, -0.0188473016, 0.0302763581, -0.0096247392, 0.0506040268, -0.0381083488, 0.0113298893, -0.0605325326, -0.0662686005, -0.0250950959, 0.0351131074, 0.0677479357, -0.0121692503, 0.0203560349, -0.0290903877, 0.0401790626, -0.0119700851, 0.0473379195, -0.043715436, 0.011509358, 0.0168299712, 0.0332349315, -0.0225449353, 0.0283953752, -0.021200208, -0.0496770814, -0.0204815827, 0.0279770419, 0.0027966998, -0.0189810991, 0.0038653333, 0.016194772, 0.0220610518, 0.0210691486, 0.0534220301, 0.0003556454, 0.0052546598, 0.0376181528, -0.0194026418, 0.0210698955, -0.0142003922, 0.0428444892, -0.0110093402, 0.0047633136, -0.0267009996, 0.0384661444, 0.0131641645, -0.0548542514, 0.0873337835, 0.012708893, 0.0174947586, -0.0342259295, 0.032278195, 0.0082990471, -0.0148232644, -0.0201902408, -0.0098815169, -0.0170316119, 0.0208963621, 0.0107957674, -0.0234434549, 0.0011082665, 0.007175433, -0.0164952371, -0.0322346799, -0.0016889069, -0.0430177413, -0.0215704422, -0.0383724421, -0.0490985215, 0.0221330319, -0.0615187623, -0.0180264879, -0.0237378161, 0.0352944508, -0.0106687108, 0.0228317156, 0.0255939979, -0.0577059351, 0.0006512504, 0.0270431172, -0.0575607903, 0.0090533914, -0.0291587021, 0.0206407234, -5.433587455e-33, -0.0231972113, 0.041316513, 0.002850269, -0.054048527, -0.0444786251, -0.0202895347, -0.0284627024, 0.0086936112, 0.0229571685, -0.0191649813, -0.0045215283, 0.010248756, 0.063019082, 0.0147510963, -0.0095779644, 0.0166778136, 0.1448078454, -0.0207056794, -0.0153365703, 0.0040992573, -0.0088123744, 0.0274813976, -0.0114752073, -0.0209169723, -0.0338378176, -0.0012708806, -0.0282606091, 0.0090343263, 0.0509915613, 0.0317688286, 0.0350647792, -0.0216780566, -0.0140010295, -0.0312269218, -0.0244072117, 0.0197208375, -0.092065841, 0.0406056382, -0.0040521636, 0.0625258237, 0.0043685432, -0.0095061176, 0.0678326637, -0.0061431173, 0.0280051567, -0.0130020641, 0.0152030066, -0.0565192699, -0.0190187469, -0.0364360139, -0.0469149575, 0.0237611756, -0.0286235325, -0.048809275, 0.1214114055, 0.0400859751, -0.0181723945, -0.0445278659, -0.0532803498, 0.0092841592, 0.0310588423, 0.0656707957, 0.0647813976, 0.0401242375, -0.0297423061, -0.0314430632, 0.0577239133, -0.065362446, 0.0544192865, -0.0021183975, 0.0227015465, 0.0341453142, 0.0131544014, -0.0408911072, 0.0313208811, -0.0019330769, -0.0479473583, -0.0077333548, -0.014283536, -0.0118481154, 0.0119045852, 0.0676646307, -0.040742591, 0.0218565334, -0.0205908641, -0.0364753641, 0.0104747154, -0.0180845726, 0.035178747, 0.0350202024, -0.0192249026, 0.0150201712, 0.0996223316, 0.0037246607, 0.0374471918, -0.0226035472, -0.0190501455, -0.0045167538, -0.0361404642, 0.0284117237, -0.0310042929, -0.0283820461, 0.0499818847, 0.0177337639, -0.0118661318, -0.0452266708, 0.0069953138, 0.027745774, -0.056483198, 0.0014305065, -0.0011599099, 0.0222098138, -0.036554154, 0.0750402212, 0.0223698448, -0.0008002107, -0.0028932397, 0.0697378144, -0.0189832393, -0.0176836029, 0.0115127545, -0.0059759002, -0.0008136241, 0.0353931747, -0.0674004406, 0.0166478194, 0.023955062, -0.0117141306, 0.0380866379, -0.049462378, -0.0352894105, -0.0266951155, 2.322e-7, -0.0118417572, 0.0320376381, 0.0212104339, -0.0199624375, -0.0111793811, 0.0005341581, -0.0183848497, -0.0219418369, -0.004051825, 0.0186623596, 0.0465348512, 0.0105565991, 0.1112909988, 0.0271477308, -0.1077082455, -0.0165678076, -0.0358893014, 0.0127648134, -0.0241032206, -0.0168201327, 0.0203295629, 0.0794032738, -0.0176621769, -0.0041896738, 0.0042956397, -0.0153133087, -0.0096775359, -0.0218692794, -0.0232417025, -0.0114158923, 0.0170769803, 0.0323285051, -0.0760653988, -0.001577619, -0.0356586501, -0.0045241388, 0.0601774044, 0.0713031068, 0.0159413684, -0.0079100439, 0.0368151218, 0.0418056175, -0.03153532, 0.011075167, 0.0581912063, 0.0000552813, 0.0289302506, 0.0053771362, -0.040761102, 0.012584799, -0.0403111838, 0.000275794, 0.0067133941, 0.0139071736, 0.0349294506, -0.0064143306, -0.0166073814, -0.0180058144, -0.0101029295, 0.0112934327, -0.0412168503, -0.0164254718, -0.0375242941, -0.0018916688, -0.028553063, -0.0188676938, -0.0072235097, 2.059971657e-34, 0.0414636135, -0.0412350409, -0.0062850276, -0.0158626679, 0.0396243185, -0.0460123233, -0.0197736435, 0.0000861807, -0.0342153907, -0.0155905727, -0.0480827466 ]
http://arxiv.org/abs/2406.10522v1
http://arxiv.org/pdf/2406.10522v1
Humor in AI: Massive Scale Crowd-Sourced Preferences and Benchmarks for Cartoon Captioning
2024-06-15T06:26:25
2024-06-15T06:26:25
Jifan Zhang, Lalit Jain, Yang Guo, Jiayi Chen, Kuan Lok Zhou, Siddharth Suresh, Andrew Wagenmaker, Scott Sievert, Timothy Rogers, Kevin Jamieson, Robert Mankoff, Robert Nowak
cs.LG
cs.LG, cs.AI, cs.CL
We present a novel multimodal preference dataset for creative tasks, consisting of over 250 million human ratings on more than 2.2 million captions, collected through crowdsourcing rating data for The New Yorker's weekly cartoon caption contest over the past eight years. This unique dataset supports the development and evaluation of multimodal large language models and preference-based fine-tuning algorithms for humorous caption generation. We propose novel benchmarks for judging the quality of model-generated captions, utilizing both GPT4 and human judgments to establish ranking-based evaluation strategies. Our experimental results highlight the limitations of current fine-tuning methods, such as RLHF and DPO, when applied to creative tasks. Furthermore, we demonstrate that even state-of-the-art models like GPT4 and Claude currently underperform top human contestants in generating humorous captions. As we conclude this extensive data collection effort, we release the entire preference dataset to the research community, fostering further advancements in AI humor generation and evaluation.
[ 0.0716604888, 0.0885739401, 0.0080834925, 0.01783791, 0.0048719943, 0.0282860249, 0.0048203333, 0.0155415358, 0.0146299964, -0.0385235138, -0.0412440971, -0.036049597, 0.0004981745, 0.0475742221, 0.0228392482, -0.0931833461, -0.0260907784, -0.0294704996, 0.0195465554, -0.0314166769, 0.0197192281, 0.0053292494, -0.0217587743, 0.0516513325, -0.0152715323, 0.0098189879, 0.0251989868, 0.0324634425, 0.0230975486, -0.0475515164, -0.0133455116, 0.0605922304, 0.0208248142, -0.000021312, 0.0000015403, -0.0269863568, 0.0314771272, -0.0232703164, 0.055436708, 0.0329663046, 0.0675950348, -0.0013094916, -0.0430776961, -0.0169001762, -0.0223093145, 0.0313095562, 0.1031376943, 0.0226786938, 0.0955340788, 0.0498035178, -0.0021266798, -0.0232388154, -0.028955901, -0.041478686, 0.0235951841, -0.0403568447, 0.0027387154, 0.0385760665, 0.016746752, -0.0219522938, -0.0410106704, 0.0266294479, -0.0148068471, 0.0079840589, -0.003532195, 0.0481201932, -0.0612445399, -0.0123605588, -0.0158589873, 0.0858599767, 0.0126328003, 0.0347011313, -0.013864479, 0.0375443995, 0.011713421, 0.0053525711, -0.0631053969, 0.0218468476, 0.0262740925, -0.0167696271, -0.0260062907, 0.0422698408, -0.0221238304, 0.0010264075, 0.025689194, 0.0040126895, 0.0286341682, 0.0039292201, -0.0342624038, -0.0120115886, -0.0952474549, -0.0614568405, 0.0586660281, -0.0074801119, 0.0174088962, 0.0039588991, -0.0468324982, -0.0066696289, 0.031230811, -0.0549909808, 0.0459166728, -0.0067052525, -0.0148551799, 0.0678129345, 0.0059447647, 0.0467819832, -0.0333725102, 0.001675298, -0.0384510681, 0.0094501534, -0.0338354483, 0.007441374, -0.0175093934, 0.0242897887, -0.0238191579, -0.0400572196, -0.0734647885, 0.0086533045, -0.0190056153, -0.0070747025, 0.0256998483, 0.0674811676, -0.024015354, -0.0031907486, -0.0633404925, 0.0357082635, -0.0492498688, 0.0012552993, -0.0108545832, -0.0053711408, -0.0000829956, 0.0204422623, 0.0357488059, -0.0387561657, 0.025085561, 0.0815009102, 0.0040874826, -0.0298401788, 0.0248449408, -0.0126572205, -0.065401949, -0.0324523002, 0.0149535304, -0.0461199917, 0.0353040285, -0.0031390069, 0.0138248149, -0.0232253317, 0.0150740463, 0.0195762236, -0.0034629458, 0.0477397852, 0.0048773973, 0.0058446871, 0.0110274209, -0.0061965524, -0.0449878871, 0.0190515332, 0.036355231, 0.073437199, 0.034847524, -0.0250788815, 0.0394593254, 0.0310621634, -0.0023342478, 0.0212653019, -0.0219986979, 0.0122838765, -0.0390256643, 0.0600668602, 0.0473046973, 0.0595635362, -0.0121343303, 0.0188373625, 0.0911170468, 0.0350851268, -0.0110628568, 0.0242810305, 0.0330658108, -0.0154219707, -0.0074016377, 0.0190408193, 0.0086225886, 0.0802825615, -0.025222728, -0.0033697763, 0.0429286994, 0.0424057357, -0.000315305, -0.0167743415, 0.0039804326, -0.0113708824, 0.0274786055, -0.0323084407, 0.0179088954, 0.026203908, -0.0652336776, 0.0048285383, -0.0264434721, -0.0696592033, -0.0125543186, -0.0147382338, -0.0032113933, 0.092736721, 0.0558631904, 0.0008883863, -0.0061239549, -0.0077570737, 0.031747885, 0.0362839215, 0.0173893571, 0.012418461, -0.0094994521, -0.0191390421, 0.0215502847, -0.0186663494, 0.0126947593, 0.0508280583, -0.008414479, 0.0282105543, -0.0139951203, -0.0032044495, -0.0285942405, 0.007721602, -0.0073444145, -0.017445989, -0.0160664842, 0.0305655766, 0.0384036452, 0.0017142898, -0.0556077883, -0.0118695078, -0.0032155549, -0.0385792702, -0.0460441634, 0.0660828948, -0.0397560932, -0.0346161611, 0.0192401614, -0.1122538373, -0.0031505239, 0.0445758887, -0.0095081385, -0.0063041477, 0.0433840714, -0.0558732338, -0.0342093185, -0.0610719174, 0.0013340783, 0.0033107665, 0.0016679708, -0.005388665, 0.0369255841, -0.0161100421, -0.007682459, 0.042432081, -0.011026171, -0.007168205, -0.0328818038, -0.0569578037, 0.0523718037, 0.0140845571, 0.0499034375, 0.0115077319, 0.0299120117, -0.0279710572, -0.0515817739, -0.0892838761, -0.0151807405, 0.0237168409, -0.041361101, -0.0026544998, -0.0181288943, -0.0107391672, -0.0070476369, -0.0381186977, -0.0367454737, -0.0089307288, 0.0220613182, 0.0325476713, 0.0016013696, -0.0148778576, -0.0268634651, -0.0143540222, 0.0022033034, 0.0412533283, 0.0354395621, 0.0271752607, -0.0102875065, 0.0178599115, -0.0745628923, -0.0144639993, -0.000814855, -0.0728792399, 0.0254155565, -0.0066099516, -0.0065094451, 0.0452284813, 0.0514726527, 0.0018227216, 0.0318131335, -0.0331401974, -0.0022132136, -0.010252133, 0.0074092471, -0.0088433884, 0.0318357386, -0.0060696071, -0.0018922826, 0.0143640861, 0.0197818801, 0.0481452495, -0.0883941278, 0.0906991288, 0.000155816, -0.0195506476, -0.0105724726, 0.0082027726, -0.0286545884, 0.0210547652, -0.0163521338, -0.0223730505, 0.0576521941, -0.0440898947, -0.0342325717, 0.0003050532, 0.0366636962, -0.0266584679, 0.06853991, 0.0112722572, 0.0660551637, -0.030291101, 0.0084817316, -0.0182275996, 0.0231115464, 0.0250978507, -0.0512949675, 0.0462247618, -0.010132961, -0.0268626716, 0.0062625431, -0.0528599136, -0.0110543724, -0.0361675173, -0.034353897, -0.0256809928, 0.0243256744, -0.047798913, 0.0131704072, 0.0223436542, -0.0085036531, -0.0295738541, -0.0172572099, -0.0015079986, -0.0019273295, 0.0167167522, 0.0542072318, 0.0342145525, -0.0628905967, -0.004456148, -0.0313208476, -0.0145039409, -0.0005085645, 0.0058231582, -0.027622249, 0.0336494558, 0.0103084072, 0.0264357645, 0.0125889434, -0.0086381407, 0.0548530295, -0.0011523552, 0.0072442424, 0.0741919279, -0.0024052907, -0.0088440394, 0.0016980349, 0.0361371897, 0.0097247399, 0.0160357002, 0.0027207558, -0.0504506528, -0.0383388661, -0.016523663, 0.0255218465, 0.0137597416, -0.0130562205, -0.026893191, -0.1166994795, 0.0475266278, 0.0345143154, -0.0388419554, -0.0261802375, 0.0055525471, -0.0050592162, -0.0100856666, -0.0444743112, -0.0131321615, 0.0189482216, 0.0314015709, -0.0015220229, 0.0477101244, -0.0530512892, 0.0300686564, -0.0267997049, 0.0883133113, 0.0667693689, 0.0535751991, -0.0241204668, -0.0588292219, -0.0474396721, -0.0018955168, -0.0015020252, 0.0065240464, 0.0579878315, -0.0168521497, -0.0202382077, -0.031265568, 0.0085376557, -0.0247142017, 0.0224456601, 0.008878245, 0.0219586976, -0.0021567827, -0.0148063982, -0.0589134842, 0.0563504994, -0.0117333252, 0.0810811222, 0.0642513931, -0.0755862892, -0.0158769302, -0.0557829663, 0.0082372772, -0.124795258, -0.0133279385, -0.0163915139, 0.0064719869, -0.017109355, -0.1189853922, 0.0118824262, 0.022680128, 0.0336409882, 0.0106280604, -0.0228796676, -0.0551350266, 0.0202945247, -0.00501636, 0.0023338152, 0.0042419443, -0.022308873, -0.0460022464, -0.0164274666, 0.0204167943, -0.0554267876, -0.0452672169, 0.0509475581, -0.0559559241, -0.0372801647, 0.0066415495, 0.0875934735, 0.0203098003, -0.0280902013, 0.0107968645, -0.0628238991, 0.0041286666, 0.094739899, 0.0383578688, 0.0322606303, 0.0169628337, 0.0475572534, -0.0109124547, 0.0185324121, -0.0413467251, 0.0279595088, -0.0096545164, 0.0429312065, 0.0181604456, -0.0542515814, 0.0028262418, 0.0478649661, -0.0269529168, -0.0644010529, -0.0422598049, 0.0047197295, -0.036504969, 0.0044967863, -0.0292819459, -0.0556854829, 0.0027616641, 0.026502572, 0.0091009717, -0.0227616467, -0.0396862738, -0.0166535657, 0.0116201369, -0.0258872248, -0.0092308642, 0.0607696697, -0.037772961, 0.0029854928, 0.035836447, -0.0126686487, 0.0075921561, -0.0259150676, 0.0252715424, -0.0108453212, 0.0373881496, -0.0103068938, -0.0455901846, 0.0069928081, 0.0999313295, -0.0003617063, -0.0276980605, -0.0046971296, 0.0138961468, 0.1033100113, 0.0000902735, 0.0587736294, -0.0234314874, 0.0053864047, 0.0111504206, 0.0030006536, -0.0096033467, -0.03806936, -0.0159434993, 0.0128285596, 0.0245735757, -0.0114070103, 0.0730273277, -0.0494061261, 0.0278610438, 0.0139085399, -0.0408769473, -0.0317629948, -0.0042479192, -0.0374017358, 0.0092061209, 0.0177369434, 0.004207619, -0.0382370427, -0.0501285195, 0.0090752793, 0.0019944087, 0.0122824945, 0.0052521056, 0.0534665324, 0.0238378439, -0.0184001494, 0.0475580767, -0.030020196, -0.0124518694, -0.0580535047, 0.0174210798, -0.0310109407, -5.077379973e-33, -0.0321081355, -0.0271756966, -0.0450125672, -0.0140066016, -0.0094704106, -0.0090947235, -0.0454173684, 0.0469725952, 0.0335073285, -0.0097786151, 0.0091625135, -0.055350095, -0.0073823561, 0.0106774308, 0.0194670875, -0.0268138237, 0.0301749017, 0.0039178827, -0.0623986535, 0.0009396412, 0.0385916121, 0.006844752, 0.0184482858, -0.0566948541, -0.0134009952, -0.0020893055, -0.0687916502, -0.0152006978, 0.0464401543, 0.0809985325, -0.0098466845, 0.0658128634, 0.0114256563, 0.0043717134, -0.009376632, -0.0011886097, 0.0143695204, -0.010461444, 0.0150784366, -0.0293098148, -0.0153199378, -0.0214425214, 0.0453281365, -0.0170685574, -0.0575746559, 0.01211657, 0.0459139161, -0.0374111235, 0.040715728, -0.0122705875, -0.0292477943, 0.0023702479, -0.0330639035, -0.0691797808, 0.0276811942, 0.0362881087, 0.0317843072, 0.0358722396, -0.0391484462, 0.0609009527, -0.0435637981, -0.0197013188, 0.0361807719, -0.0114659416, 0.0046952725, 0.0987816602, 0.0103381686, 0.0427352153, -0.003002252, -0.0141673591, -0.0060327821, 0.0637393817, 0.0473332703, 0.0615818799, 0.0608464926, -0.0148705542, 0.0181045197, 0.0594463721, -0.0463043712, -0.0206785779, 0.048534736, 0.0242694113, -0.0486288629, 0.026586771, -0.0118729267, -0.0218432453, -0.0324771963, -0.0698151812, 0.0000693741, 0.0104072485, -0.0380818248, -0.0204497203, 0.0494832806, -0.0249058697, -0.0036142666, -0.0120830787, -0.0421564989, 0.0480346829, -0.010261273, -0.0049990411, 0.0074642622, 0.0073490161, 0.0386721939, 0.0606874265, 0.0360431559, 0.0164093412, 0.0309925899, 0.0330300592, -0.0317860879, 0.0190142822, -0.0195764229, -0.0070691546, -0.0309316255, 0.0088202413, 0.0030141713, 0.0112179648, -0.0500563756, -0.0270698871, 0.0059629004, 0.0363684073, -0.0550066046, -0.043727506, -0.0078789284, -0.0146438545, -0.0517703965, 0.0124126291, -0.008089765, -0.0709304363, -0.0232210755, -0.0532303751, -0.0386235118, -0.0251647718, 2.38e-7, 0.0112191103, 0.061624229, 0.0132608386, 0.0454967581, 0.0403059348, 0.0486130565, -0.0268322583, 0.0114773577, 0.0238576606, -0.0011444691, 0.0248415638, 0.0025818159, 0.0169591308, -0.0029986841, -0.0660027713, -0.018898204, -0.0553548597, 0.0540795326, -0.0185716283, -0.0207843632, 0.0560206734, 0.0097599756, 0.0095383879, -0.0241020452, 0.0110226367, -0.0495796539, 0.0702990741, -0.030719988, 0.0042660926, -0.0317851678, 0.0148920966, 0.0162058398, -0.032289587, -0.0131064663, 0.0081025017, -0.0527785383, 0.0931717977, 0.0411264151, -0.0346059985, -0.0352284722, -0.0004256269, 0.0536472462, -0.0040392373, -0.0379381701, 0.0590184517, -0.0015396264, -0.0297175273, -0.0386496224, -0.0141682606, -0.0310737155, 0.0587243065, -0.0577922724, -0.036143437, -0.0019680124, 0.0322417766, 0.0225638114, -0.0064414106, -0.0299964994, -0.0370388366, -0.0023310438, -0.0617306978, -0.0287411567, -0.034300141, -0.0116358344, 0.0008705401, -0.0537634641, -0.0027951377, 1.799749121e-34, 0.0495375209, -0.0016844376, 0.0245732702, -0.0415882617, 0.0493538231, 0.0253480319, 0.0168480184, -0.023473924, 0.0177949611, -0.0353347324, -0.0431916639 ]
http://arxiv.org/abs/2406.10515v1
http://arxiv.org/pdf/2406.10515v1
Reactor Mk.1 performances: MMLU, HumanEval and BBH test results
2024-06-15T05:52:32
2024-06-15T05:52:32
TJ Dunham, Henry Syahputra
cs.AI
cs.AI, cs.CL
The paper presents the performance results of Reactor Mk.1, ARCs flagship large language model, through a benchmarking process analysis. The model utilizes the Lychee AI engine and possesses less than 100 billion parameters, resulting in a combination of efficiency and potency. The Reactor Mk.1 outperformed models such as GPT-4o, Claude Opus, and Llama 3, with achieved scores of 92% on the MMLU dataset, 91% on HumanEval dataset, and 88% on BBH dataset. It excels in both managing difficult jobs and reasoning, establishing as a prominent AI solution in the present cutting-edge AI technology.
[ 0.0327940136, 0.0609224662, -0.004372797, 0.0282110628, -0.008721008, 0.0220746044, 0.0253543947, 0.0173322335, 0.019347772, -0.0360245407, -0.037283089, -0.0252558719, -0.0356335044, 0.0902026966, 0.0015293089, -0.0238388479, 0.043271523, -0.0480008982, 0.0348546505, -0.0172145981, -0.0286820419, 0.0009697441, 0.0074644969, 0.0432140455, -0.0090752048, -0.003669485, 0.0116703175, -0.022561837, 0.0032102414, -0.0392066427, -0.0238814913, 0.0427392609, 0.0348708965, 0.0453301445, 0.0000025358, -0.0468985997, 0.0344253033, 0.0071167322, -0.0435432084, 0.0259237494, 0.0575849377, 0.0026862849, -0.0311586447, 0.0401539132, -0.011279813, 0.0032937648, 0.0515034273, 0.056178771, 0.0690031946, 0.0631568208, -0.0005175695, -0.0779272914, 0.0447331406, -0.0247289371, -0.040218778, -0.0729398727, 0.0342541225, -0.0223293528, 0.037003722, -0.0336224362, 0.0129165258, 0.0440731384, 0.0424884856, -0.024274366, -0.0366457663, 0.0363260545, -0.0010042911, -0.0272681639, 0.0105154878, 0.0770241693, -0.0114233857, -0.0159574319, 0.0085598892, 0.0052757654, -0.0159617234, -0.07586997, -0.0389702432, 0.0426761247, 0.0068009547, -0.0255475864, 0.0363845639, 0.0078937756, 0.0108257281, -0.0150787747, -0.0532240383, 0.0899529904, 0.0284178108, -0.0142829511, 0.0095598204, -0.0296473652, -0.0104870172, -0.0485545136, 0.0102244271, 0.0538277179, -0.0859313756, 0.0343421549, -0.0357855372, 0.018792402, 0.0120948441, -0.0842050612, -0.0143713281, 0.0227802228, 0.0558439717, 0.0265348963, -0.0056210021, 0.0753917918, -0.0372583307, 0.0298945885, -0.0342392325, -0.0058837407, -0.0479101017, 0.0045195161, -0.0459530987, 0.0336752348, -0.0314573571, -0.0559358411, -0.0298883766, 0.0154703418, -0.0052483971, 0.0389340371, 0.0277502965, 0.0088304225, -0.0190127287, -0.0015064315, -0.0622217767, 0.0285581313, -0.0174743701, -0.0162086245, -0.0132117858, -0.0322384574, 0.0235611927, 0.0102990335, -0.0078865308, -0.0256550312, 0.0276453439, 0.1024964526, -0.0154128866, 0.0055875946, -0.0463372692, 0.0044876272, 0.032545235, -0.1060571149, -0.010925781, -0.0426257662, 0.0399339758, 0.0069019571, 0.004112435, -0.0391574129, 0.0206565876, 0.0217622127, -0.0081065334, 0.031302914, 0.0171253532, 0.025035955, 0.0127467765, 0.0198893175, 0.0224355925, 0.0642841086, 0.045792494, 0.0400628634, 0.0086582294, -0.0383151993, 0.0161452591, 0.029334696, -0.0161305647, -0.0007213125, -0.017443927, 0.030303942, -0.0414824635, 0.0386787467, 0.0276367795, 0.0697845668, -0.0119312061, -0.003557449, 0.0406380706, 0.0240436364, 0.0282287486, 0.04442247, 0.0473832563, 0.0402392484, 0.0215893481, -0.036552269, -0.0330629759, 0.0381626897, -0.0341663733, 0.004394365, -0.0546866693, 0.0390074812, -0.0481990986, -0.0380260423, -0.0091929017, -0.0371742584, -0.0101921251, 0.0039448594, 0.0573002808, -0.0254634004, -0.0662992746, 0.0384455733, 0.0371011719, -0.0322103575, -0.0504179597, -0.0775052905, 0.0473037772, 0.1004639938, 0.0383964963, -0.037040133, -0.0232542884, -0.0197759736, -0.0555088371, 0.0661892146, 0.0436185412, -0.0268716775, -0.0153700765, -0.0480070189, -0.0071703969, 0.0147704026, 0.0026914498, 0.0485522635, -0.0023491427, 0.007592319, 0.0012332478, 0.0086809099, -0.0347858109, 0.0233841874, -0.0414482392, -0.0297599938, -0.0322800055, -0.0161656979, 0.041689638, 0.0028330837, -0.0385123529, -0.0010602727, 0.0467429385, -0.0369480476, -0.0163026005, -0.0035288029, -0.0681772307, 0.0050031012, 0.0329790339, 0.0321456492, 0.003710791, 0.0394520275, -0.0120338071, -0.0551046133, 0.0053946171, -0.0316526555, 0.0208190624, -0.0168212764, 0.0641344115, -0.041179698, -0.0009189037, -0.0272903014, 0.093878597, -0.0081118094, -0.0076034293, -0.0002717483, 0.0414565727, 0.0106384763, -0.0667659193, -0.0401000492, 0.0498518981, 0.0073686899, 0.0284032002, 0.016505409, 0.0213132408, -0.0191980749, -0.0426330343, -0.0689088255, 0.0015560675, -0.026040202, -0.0057215579, 0.007780842, -0.0024798252, -0.0017610509, 0.0153930979, -0.020667322, -0.0105896918, 0.0043581827, 0.0119398776, -0.0067271474, 0.0152767403, -0.0532994829, -0.0519323833, -0.0260986518, -0.0022325683, 0.015942039, 0.0062854933, 0.0130968429, -0.0535511412, 0.0743317455, -0.0093577271, 0.0209168792, 0.005700713, -0.0553259514, 0.0101011992, -0.0302411579, 0.0367281176, 0.0587798357, -0.016200982, 0.0343684964, 0.0483251289, -0.0003439427, -0.0354751982, 0.0232101958, 0.0163821541, -0.0036000786, -0.0651115552, -0.0128585584, -0.0225742627, 0.0474434346, -0.0080092028, 0.043394208, -0.0369697027, 0.018353397, -0.0001186271, -0.0308109019, -0.0196493976, 0.0040027224, -0.0083385976, -0.0034482197, -0.013979774, -0.0033711838, 0.0164967142, -0.0331930146, 0.0142021887, -0.0669646189, -0.0288847182, -0.0114680491, 0.0583433732, 0.0086205574, 0.0230568349, -0.0516826063, -0.0294297189, -0.0275242124, 0.0050229267, -0.0496377461, -0.022596946, 0.0219874009, -0.0298292823, 0.0332420729, -0.0047816187, -0.0273197815, -0.0432413146, -0.0030378297, -0.0376694947, 0.014040661, 0.0516538098, -0.0317107625, -0.0196991283, 0.0182756111, 0.0430255756, 0.0374925882, 0.0065133814, 0.0177554656, -0.0235029608, -0.0021912733, 0.0602302477, 0.00683292, 0.0346122719, -0.0053003663, 0.0948376283, 0.0269089639, 0.0509712845, -0.0048421249, -0.0544720441, -0.0161882546, 0.0077858842, -0.0363488495, -0.0256026443, 0.0220061224, 0.0038764551, -0.0855889544, -0.0147424508, 0.1193180308, 0.0193226468, -0.022915205, 0.0229167398, 0.0124007585, 0.0160973743, 0.0475634448, 0.043820519, -0.037948221, -0.0104278373, -0.0087537486, -0.0218392126, -0.0147244344, -0.0338649713, 0.0255151484, -0.1065566018, 0.0425908938, -0.0079613645, -0.0306193829, -0.051904846, -0.0372376852, -0.0058143856, -0.0096839583, 0.0025767656, 0.0352612846, -0.0029689407, -0.0434558168, -0.0011334501, -0.0163608454, -0.0582660772, 0.0683920607, -0.016132893, 0.0534737036, 0.0734475553, 0.0464327149, -0.0292235967, -0.0087356828, 0.0164732654, 0.0173445642, 0.0016150189, -0.0103817489, 0.0217082705, 0.0413382612, -0.0362232029, -0.0178947989, -0.0070145954, -0.060261745, 0.0449149534, 0.0249004252, 0.0750485212, -0.0367782339, -0.0220484026, -0.014167889, -0.0182534046, 0.0032567177, 0.0584029257, 0.0194462147, -0.0704131722, -0.0839582682, 0.000553956, -0.0405964293, -0.0245575421, -0.0065120505, 0.0083170449, -0.0432092212, -0.0551832691, -0.0656679422, -0.0284730867, 0.0119925728, 0.0627690256, -0.015959885, -0.0017923926, 0.0411044993, 0.0031636728, 0.0006720214, -0.0373249725, -0.02441746, 0.0409884229, -0.089169763, -0.0173579287, 0.0274576284, -0.0084193796, -0.0248696767, 0.0289258659, -0.0575331077, -0.0374688618, 0.0268209763, 0.0180297494, 0.0315477736, -0.0006085528, -0.0271682236, -0.0379679017, 0.0528264381, -0.03029068, -0.0423871651, 0.0437757485, -0.0037233578, 0.0174650643, 0.0021551268, 0.031026585, -0.0307378452, 0.0622269288, -0.0083701396, 0.054764878, -0.033927951, -0.0265411921, -0.002305785, 0.0768404454, -0.058357466, 0.0137813725, -0.0445981845, -0.0447663479, 0.0278916527, -0.0503689051, -0.0156080183, -0.0465561077, 0.0231675711, 0.0450771824, -0.0021041422, 0.0016636957, -0.0524885021, 0.0362605527, -0.0095808888, 0.0075533059, 0.0287930425, 0.0069334502, 0.0606510043, 0.042013783, -0.0017759232, -0.0151293715, 0.0283082668, 0.0235561952, 0.0505922362, -0.0132814925, 0.0611707345, -0.0037497827, -0.0305560138, -0.0274409223, 0.0546699092, -0.0404689647, -0.0839222372, -0.0170236342, 0.0382720903, 0.0574806668, 0.0287190974, 0.0401152968, -0.0388696827, 0.0005442549, -0.0230498631, 0.0045783864, 0.0135099115, -0.0185439121, 0.0060318885, 0.0189476274, -0.0359228849, 0.0169084109, 0.0439366251, 0.0285350755, 0.045880571, 0.0102048134, 0.011576334, -0.0643738285, -0.0255339611, -0.0059411633, 0.0135261752, -0.0121511733, 0.0041348091, -0.0280678216, -0.0506155714, 0.0152070113, 0.0199302733, -0.0084517021, -0.0533152744, 0.0351149179, 0.0430994406, 0.0220124479, 0.0140305841, -0.0450851396, -0.0147345336, 0.0000500046, 0.0053856196, 0.003269389, -7.027906035e-33, -0.0488811322, -0.0043908083, 0.0524793975, 0.0030319612, -0.0278019514, -0.0081639895, -0.0284937639, -0.0199309774, -0.0465801805, -0.0119522447, -0.0247047786, 0.0291086677, 0.0097474968, 0.000213503, 0.0052498137, 0.0094255805, 0.0399274863, -0.0038078714, -0.0071767201, 0.0492610559, 0.0674633831, 0.0116410041, 0.0146558741, -0.0663003176, -0.0605565757, 0.0047820136, -0.0304419231, 0.0182404965, -0.0648028776, 0.0630436763, -0.0310938414, 0.0671295896, 0.0107740024, -0.0115140472, -0.0059533925, 0.0074194996, -0.034177877, -0.0248156935, -0.0315302759, 0.0054926886, 0.0243002791, -0.0328096598, 0.0299910009, 0.0039542061, -0.0318400227, 0.0071432837, 0.0122544756, -0.0183838345, -0.0113550881, -0.002020289, -0.0900665596, 0.0198347196, 0.0124090398, 0.005901136, -0.0140143046, -0.0445943847, -0.0205043703, 0.0007337136, -0.069370687, -0.0085010231, 0.0042666374, 0.0293288343, 0.0618410707, 0.0046808268, 0.0183825511, 0.0207152944, 0.0570240356, 0.0209238399, 0.0056437813, 0.0117447432, 0.0160088409, 0.0879572704, 0.0264763013, -0.0203916561, -0.0288793482, -0.0516992547, -0.0553915054, 0.005172641, 0.0356462151, 0.0686571896, 0.036418885, 0.0143858688, -0.0438059233, -0.0203766655, -0.0463253222, 0.0387096107, -0.0205514729, -0.017097773, 0.0368744805, 0.0051498325, 0.0070999782, -0.0127890659, 0.0419412144, -0.0415718183, 0.0398529135, 0.0365214013, -0.0168931149, 0.0407433696, -0.0099414252, 0.0483707674, -0.080566518, -0.045307558, -0.0092313914, -0.0063868952, 0.0202422999, 0.0048814025, -0.0272171292, 0.0445961691, -0.0447367765, -0.0237697344, -0.041037377, -0.0033051241, 0.0352200679, 0.0131793479, -0.0163736548, -0.033428926, 0.0087088309, 0.0512453765, -0.01624039, -0.0014350378, -0.0286083259, -0.0178873856, 0.0407524109, -0.0049670949, -0.0229716022, 0.0200746283, -0.0774341598, 0.0400475934, 0.0453449115, -0.0549634323, -0.0173871983, 0.0114172781, 3.193e-7, 0.0079274774, 0.0410927273, 0.0034349198, 0.0434159972, 0.0215902179, 0.0359992869, -0.0080881231, 0.0154778333, -0.0435092673, 0.0284584612, 0.0315039121, 0.014133906, 0.0237032827, 0.0247089844, -0.0364445634, 0.009434673, -0.0743618906, -0.0133120073, -0.0651856363, -0.0029774248, 0.0283955857, 0.0962572992, 0.022690041, -0.0363568962, 0.0165872462, -0.0270382334, 0.0240456853, -0.0020105809, -0.0100319982, 0.0612483136, 0.0100991512, 0.0474550053, 0.0059622223, 0.0082668466, 0.0074372836, 0.0377974473, 0.001717665, 0.0762738883, -0.0529588573, -0.0078532621, 0.0474971645, -0.0399292409, -0.0022516591, -0.0354156867, 0.055653248, 0.0053219716, -0.0501980372, -0.0254478529, -0.018327523, -0.0297901481, -0.0407223478, -0.0088363644, 0.0029008752, -0.0091912318, -0.0228482224, -0.0514333583, 0.0015655246, -0.0586441197, 0.0061944956, -0.0034338874, -0.055625353, -0.0696280152, -0.0453670919, 0.0079085603, 0.0354901403, -0.0280903, 0.0156007465, 3.370376484e-34, 0.0276396759, -0.0100870617, 0.0022559084, 0.0588950738, 0.0745953396, 0.0267068632, -0.0762402266, 0.0077669951, -0.0014424138, -0.0862134472, -0.0304271821 ]
http://arxiv.org/abs/2406.10514v1
http://arxiv.org/pdf/2406.10514v1
GTR-Voice: Articulatory Phonetics Informed Controllable Expressive Speech Synthesis
2024-06-15T05:37:04
2024-06-15T05:37:04
Zehua Kcriss Li, Meiying Melissa Chen, Yi Zhong, Pinxin Liu, Zhiyao Duan
eess.AS
eess.AS, cs.AI, cs.CL, cs.LG, cs.SD
Expressive speech synthesis aims to generate speech that captures a wide range of para-linguistic features, including emotion and articulation, though current research primarily emphasizes emotional aspects over the nuanced articulatory features mastered by professional voice actors. Inspired by this, we explore expressive speech synthesis through the lens of articulatory phonetics. Specifically, we define a framework with three dimensions: Glottalization, Tenseness, and Resonance (GTR), to guide the synthesis at the voice production level. With this framework, we record a high-quality speech dataset named GTR-Voice, featuring 20 Chinese sentences articulated by a professional voice actor across 125 distinct GTR combinations. We verify the framework and GTR annotations through automatic classification and listening tests, and demonstrate precise controllability along the GTR dimensions on two fine-tuned expressive TTS models. We open-source the dataset and TTS models.
[ -0.0232344512, 0.059760388, -0.0063251411, -0.048970636, 0.0431718007, -0.0125701986, 0.0080990782, -0.0263906773, -0.0415545739, 0.0298643056, -0.0675778016, -0.0275599957, 0.0219098665, 0.0560489669, 0.0386020467, -0.109651275, -0.0090015493, -0.0439512432, 0.0420681685, -0.0255441274, 0.0292907171, 0.0439778455, -0.0289196894, 0.0558966398, -0.0232283976, -0.0162681509, -0.0346667282, 0.0226334222, 0.0333100967, -0.0014818814, -0.009036215, -0.0055307401, 0.024289716, -0.0011385761, 0.0000019674, -0.0206249915, -0.0027965356, 0.0220066383, -0.0327350162, 0.024509808, 0.0820373446, 0.0485553257, -0.0354379714, 0.0223405436, -0.0320780911, -0.056077715, 0.0478330143, 0.0195902083, 0.0642041415, 0.0574692041, -0.0128324814, -0.0191015918, -0.0132779833, -0.021353649, -0.0260956045, 0.0180453733, -0.0244150367, -0.0301400777, 0.0357262157, -0.0588257276, -0.0497004278, 0.034950342, -0.0045972578, -0.0095349597, -0.0287425667, -0.0226007756, -0.0550922602, -0.0509361364, 0.0030378322, 0.067362152, 0.0495288596, 0.01453673, 0.0292594042, 0.0202251282, -0.0079250578, -0.0041129924, 0.0100533869, -0.0068451161, 0.0227403324, 0.0027490202, -0.0336827785, 0.0497658476, -0.0207972918, -0.0476099737, 0.0307895262, -0.0122533999, 0.0138126751, -0.0287991222, -0.0082403067, -0.0274625272, 0.0093220668, -0.0142687522, 0.0106897764, 0.0095182732, -0.0102533037, 0.00130914, -0.0278492533, -0.0206229333, -0.0459576882, 0.040562842, 0.0088902898, 0.0096737919, -0.0084998533, -0.0433959365, -0.0212974809, 0.0482385159, -0.0346627161, -0.0066946158, 0.0048901518, -0.0112333549, -0.003099347, -0.0151761305, -0.048127804, 0.0201169048, -0.0218284018, -0.0123208454, -0.0747673437, 0.0297367293, -0.0995428339, 0.0146388775, -0.0295913126, 0.0463381037, -0.0408334658, -0.0108329207, 0.0118254265, -0.0189345591, 0.0041463957, 0.0477922298, 0.0110007096, -0.063229844, 0.0225371029, 0.0248912163, 0.0404468328, 0.0384644717, 0.0204198491, 0.0367218703, -0.0110181607, 0.0315441899, -0.000576764, -0.038627483, -0.0112984972, -0.0334103815, -0.0180215016, -0.0383854546, 0.0289630052, -0.057027515, -0.0123456698, -0.0345662236, -0.0259486511, -0.0090658097, 0.0516412854, -0.0032848439, -0.0016936933, 0.0372776501, 0.0057999613, 0.004203063, -0.0175174475, 0.0273771267, 0.0646090284, -0.0073087993, 0.0043160771, -0.0541910939, 0.0433106497, 0.0337426215, 0.0269532185, 0.0037347556, -0.0609861724, -0.0496414416, -0.0133331157, 0.0293333214, 0.0653953031, 0.0510928929, -0.0075334874, 0.010535907, 0.088411428, 0.0253772009, 0.0288936198, -0.0106330635, 0.0577822402, 0.0159966797, 0.0014334256, -0.0146945929, 0.005424852, 0.0320497192, 0.0061493455, 0.0301283877, -0.0024092367, 0.0573076531, -0.0529195964, -0.0329005532, 0.0014999252, 0.0068171285, 0.0097658457, 0.0275563188, 0.0136212902, 0.0311928671, -0.0395060666, 0.0198249128, -0.0079649864, -0.0982385948, 0.018568648, -0.0043582101, 0.040610861, 0.0435538068, -0.006625562, -0.0164319556, -0.025361415, -0.0477515459, -0.0243233796, 0.0432465374, 0.0071312366, -0.0420386605, 0.0713343918, -0.0785514638, 0.0269425511, 0.0489969216, -0.0077329106, 0.007766284, -0.0229834821, 0.0538389869, -0.0079713939, 0.017030688, 0.0262901485, -0.0192231722, -0.0642112494, -0.0271612983, 0.0067851776, -0.0003430821, 0.0491402782, 0.0145694362, -0.0515349917, 0.0038249302, 0.0014889786, -0.0213550739, -0.0228052046, 0.0586113259, -0.0121717146, -0.0072689904, 0.0312702768, -0.0274833478, 0.0010779821, -0.0110961711, -0.0127183367, -0.099340722, 0.0485528149, -0.0081024487, 0.0354819931, -0.0339851901, -0.0001063227, 0.0169514194, 0.0316326804, 0.0434930176, -0.0694531053, 0.0265768059, -0.0313041471, 0.0434094183, 0.0082761971, -0.0311226901, -0.0624324381, -0.0142551372, 0.0198013596, -0.0063214996, 0.0518045798, -0.0129170492, -0.0103259506, -0.01104753, -0.0319386348, -0.0245664362, 0.0159757789, 0.0176668242, -0.0233268589, -0.0238773152, 0.0172919407, -0.0236316714, 0.014746082, -0.0670086741, -0.031589292, -0.0079617947, -0.0231239982, -0.0261329524, -0.0129018724, -0.0279625617, -0.0155380005, 0.0390815437, 0.0128138959, -0.0375235118, -0.0446986742, 0.0208877251, 0.0072417227, -0.0265559778, 0.0172935612, 0.0009377874, 0.0093640247, -0.0740134642, -0.0193414073, 0.0054072938, 0.002418027, 0.0228911135, 0.0037110036, 0.0190678723, 0.0006745444, -0.0254085343, -0.009646331, 0.0441591889, -0.0019882275, 0.0555886179, -0.0233308151, -0.0088067809, 0.0038684246, 0.0011824722, 0.0589204505, 0.0281412117, -0.0818558708, -0.0289758947, 0.0119816158, -0.0648232624, 0.0280102734, 0.0142202415, -0.0442581885, -0.0132516297, -0.0336304158, -0.0142970448, 0.0241604913, -0.0202472564, -0.0882368833, 0.0201643761, -0.0237560757, 0.0136368908, 0.0248332433, -0.0658647865, -0.0109400423, 0.0122585827, -0.0015164017, -0.0301357042, 0.0159494095, 0.0204322115, -0.0507223718, 0.0302153714, -0.0030985882, -0.0609664842, -0.0199387167, -0.0144581385, 0.0063545927, 0.0169332605, -0.0102868546, 0.0146604907, 0.0332014449, -0.0578618683, 0.0844433308, -0.0049880156, 0.0253383107, 0.0200361293, -0.0234365258, 0.0278122369, 0.0018978025, 0.007483311, 0.0471841134, 0.0550385937, -0.0347614773, 0.0025606942, 0.0535434932, 0.0172555316, 0.0406127051, 0.0537122563, -0.0097279791, 0.007903479, 0.0274275951, 0.0524041429, 0.0186123345, -0.0114091411, 0.0496008843, -0.0201849658, 0.0228360463, 0.0683123544, -0.0449605398, 0.026773639, 0.0026492293, 0.0366982855, 0.0836869702, 0.0187017117, 0.0011870766, -0.0566679724, 0.005465108, 0.0678839684, 0.0316188969, -0.016171148, 0.0502453819, -0.0061809574, -0.123129271, 0.0813585445, 0.0334925875, 0.0000724798, 0.0069990954, 0.0125868265, -0.0274757594, 0.007187089, 0.010736187, 0.0147056943, 0.0060417275, -0.0194319561, 0.068214193, -0.0874622166, -0.02188899, 0.0239311941, -0.0299984738, 0.0884528309, 0.0024376637, 0.0687771067, -0.0175051931, -0.0447694585, -0.0112544661, 0.0417095609, -0.0201661959, 0.0225121845, 0.0018780441, 0.0653789788, -0.0339798257, 0.0006008672, 0.0742704794, -0.0275394078, 0.0180052593, -0.0012996964, 0.0540654622, -0.0253067613, 0.0085068103, -0.012999611, 0.0452323705, -0.0016512192, 0.0381440483, 0.0256333165, -0.0975392684, -0.029688172, 0.0096563268, 0.0190977138, -0.0920148864, -0.0330086239, 0.050904002, 0.0263384767, -0.0716660172, -0.0812109858, 0.0083008101, 0.0062783035, 0.0421575382, 0.0109986216, -0.0469003618, -0.0118443249, 0.0051584006, -0.0195216704, -0.0237486362, 0.0086619137, 0.0317444913, -0.0304570533, -0.0269404948, 0.0020751494, -0.0525345393, -0.0029816194, 0.040085651, 0.0085270349, -0.0854130015, 0.0431549922, 0.0291195866, 0.009219463, 0.0445573777, 0.0022842889, 0.0010408348, 0.0698817074, -0.0121044945, 0.01672858, 0.0496778116, 0.1104164943, 0.0107582211, -0.0343667232, 0.0031971631, -0.0504853353, 0.0317260139, -0.0199794881, -0.0178932305, 0.0352122895, -0.015120456, -0.0181560852, 0.0197479706, 0.0061930409, -0.0330250375, 0.0110805323, -0.0456682146, -0.0007508778, -0.024923848, 0.0524879992, -0.0618100502, -0.0185872689, 0.0335772, 0.0486156158, -0.0101696644, -0.0516823642, 0.0059665898, 0.0017899775, -0.0105858957, 0.0368811861, 0.0240338482, 0.0345395915, 0.0098621566, 0.0525685996, -0.019990027, 0.0625621974, -0.0592403635, -0.0162919797, 0.0012725738, -0.0067293611, 0.0151574127, -0.002558765, 0.0098075597, 0.0073161223, -0.0231129639, -0.000218109, -0.0106849549, -0.0589120053, 0.0425502919, 0.0384076834, 0.0567027181, -0.0102477549, 0.0145896142, -0.0180696156, 0.0180869568, -0.0435389206, -0.0132890437, -0.020720616, -0.0211132132, -0.042630408, -0.0123188579, 0.0251425374, -0.0203570239, 0.038549941, -0.0183141511, 0.0473312028, -0.0211066641, -0.0126113864, 0.008971571, -0.0327366106, 0.0152122313, -0.0205754917, -0.0530499481, -0.0813620687, 0.0836967826, -0.0136647997, -0.0056887185, -0.0525528006, 0.0259933341, -0.0466937646, -0.0486776158, 0.0442571715, -0.011761846, -0.0724618137, -0.0131326299, 0.0051324614, 0.0165055301, -5.973815271e-33, 0.0012101346, 0.0520405956, -0.0247635338, 0.01972178, -0.0675098151, -0.0096505927, -0.043065846, -0.0162188001, -0.0067953039, 0.0488015004, -0.0213393085, -0.0013565003, 0.0012815298, 0.035765674, -0.0037601187, -0.0071459319, 0.0664039254, 0.008724004, 0.0171098113, 0.0561133921, 0.0687655285, 0.0332336538, 0.0167733859, -0.0866023079, -0.0423742272, 0.0100900298, -0.0464876145, -0.0315869264, 0.021658523, 0.0424131826, -0.0041481974, 0.0701041818, -0.0286604036, -0.030484017, -0.0298193414, -0.0170632042, -0.0360715352, -0.0383545235, -0.0195952896, 0.0137723815, -0.0160010513, -0.0160091724, -0.0243513975, -0.0026978846, -0.0150880031, -0.0362796262, 0.0022574719, -0.0166937206, -0.0015495248, -0.110476546, -0.026324546, 0.0100757526, -0.0024613254, -0.0297239348, 0.032527186, 0.0372930579, -0.0296239667, 0.0036131043, -0.0094238361, 0.0082466062, -0.0277497824, 0.0234094001, 0.0226100199, 0.0398694277, 0.021578528, 0.0445619859, 0.0507003404, -0.0376252234, 0.0098345922, 0.0414487571, 0.037653707, 0.0692945048, 0.0071938261, 0.0279613975, -0.0333918743, -0.0668111667, 0.04325803, -0.0203591213, 0.0485202111, -0.030604912, 0.0026789426, 0.0649030134, -0.0258534476, -0.0051819566, -0.0455954634, -0.0379343145, 0.0154780541, 0.0245584305, 0.0516450182, 0.0132086305, -0.0162369572, -0.0282018296, 0.0547633916, 0.0042184694, 0.0446468182, -0.0089295767, -0.0819954053, 0.0227248464, 0.0076427665, -0.0244666245, 0.0427975655, -0.0408064649, 0.0601738729, 0.0179872476, 0.0597695783, -0.0141018555, -0.0268887617, 0.0915903449, -0.0645450428, -0.0025649501, -0.0032905226, 0.0820428506, 0.0170656499, -0.0276447441, -0.0098706596, 0.0123589402, 0.0004360972, 0.0161515828, -0.0190699231, 0.0485113822, 0.0273210276, 0.0164701119, -0.0109508485, 0.0237376411, -0.0558481887, 0.0209869798, 0.0477642827, -0.0375275984, 0.0301829334, -0.0623836257, -0.009145421, 0.0004662611, 2.857e-7, -0.0642815605, -0.0455616266, 0.0523393191, 0.0176462699, 0.0223764181, 0.0275506526, -0.0127820224, 0.0047923545, -0.0120819202, -0.0190360993, 0.0178304818, -0.0216317717, 0.1248850375, 0.0220921077, -0.0807166025, -0.0103756012, -0.0567187853, 0.0173677672, 0.0149202254, 0.0029260847, 0.0141048813, 0.0521682389, -0.0015380321, -0.033904653, 0.0380824655, 0.0035420037, 0.017950438, -0.0144154495, 0.0329186954, -0.0035689776, 0.0008372226, -0.0389283225, -0.0004807402, -0.0322847255, -0.0616310164, 0.0273709968, 0.0004676204, 0.077978678, -0.0072118859, -0.0643286407, 0.0244978759, 0.0337309651, -0.0622711442, 0.0407526232, 0.0137498192, 0.0027051617, 0.0021372407, -0.0069061802, -0.0139911482, -0.0230916142, 0.0065551898, -0.0417475626, 0.0141010461, 0.0238282736, 0.0007303834, -0.0001235121, 0.0008699861, -0.0455934517, -0.0275170784, -0.0092850365, -0.1081519276, -0.0131760044, 0.0121684391, 0.0108877383, -0.0108919861, -0.019602526, -0.0076175551, 2.336748001e-34, 0.0259541851, -0.0191726647, 0.0148496786, 0.0324500985, 0.0138646523, -0.018124599, 0.041793786, 0.0087099252, 0.0522524863, -0.0084539726, -0.0493777134 ]
http://arxiv.org/abs/2406.15468v1
http://arxiv.org/pdf/2406.15468v1
Reasoning or Simply Next Token Prediction? A Benchmark for Stress-Testing Large Language Models
2024-06-15T05:35:47
2024-06-15T05:35:47
Wentian Wang, Paul Kantor, Jacob Feldman, Lazaros Gallos, Hao Wang
cs.CL
cs.CL, cs.AI, cs.LG
We propose MMLU-SR, a novel dataset designed to measure the true comprehension abilities of Large Language Models (LLMs) by challenging their performance in question-answering tasks with modified terms. We reasoned that an agent that ``truly'' understands a concept can still evaluate it when key terms are replaced by suitably defined alternate terms, and sought to differentiate such comprehension from mere text replacement. In our study, we modified standardized test questions by replacing a key term with a dummy word along with its definition. The key term could be in the context of questions, answers, or both questions and answers. Notwithstanding the high scores achieved by recent popular LLMs on the MMLU leaderboard, we found a substantial reduction in model performance after such replacement, suggesting poor comprehension. This new benchmark provides a rigorous benchmark for testing true model comprehension, and poses a challenge to the broader scientific community.
[ 0.0419567525, 0.0243547093, -0.0196471289, 0.0162398107, -0.04805452, 0.019844763, 0.004705139, 0.0126068955, 0.0052153971, -0.0352355503, -0.0039487253, -0.0190001018, -0.0385898538, 0.0108655095, 0.0373777151, -0.0345290005, 0.0528666303, -0.0579629503, 0.0098397844, -0.0134126283, -0.027820278, -0.0120915351, 0.0149032576, 0.018061012, 0.0305112228, -0.0361344144, -0.0120547991, 0.0065859091, -0.0076512638, -0.02662405, -0.0134453829, 0.0463720709, 0.0164723154, 0.0583260171, 0.0000020253, -0.0659089684, -0.008351096, -0.0110381618, -0.0710610002, 0.04798555, 0.0338237695, 0.0135326264, 0.0095197866, 0.0235385466, -0.0356362313, 0.0050839088, 0.010427786, 0.0269861128, 0.0576207414, 0.0571052842, 0.0171538368, -0.0059973504, 0.0046856543, -0.0266226586, 0.0414008759, -0.0806419998, 0.0582478978, 0.0290516075, 0.0115846414, 0.0005182187, -0.0377950482, 0.030119542, 0.0208445899, -0.0023236768, -0.0246709809, 0.0269426201, 0.0082560945, -0.0045680054, 0.0033365362, 0.0515933931, 0.0032172981, -0.0091531184, -0.0295470469, 0.005088354, 0.0026685321, 0.0306484699, -0.0714635625, 0.0153670907, -0.0008837074, -0.021802526, 0.0435180031, -0.037738286, 0.0502717234, 0.0219255313, -0.0477299914, 0.0904205739, 0.0162252486, -0.0552103482, 0.022254575, -0.0328450613, -0.0481109731, -0.0750904977, -0.0058540166, 0.0378229916, -0.0498064533, 0.0530244522, -0.0031627419, -0.0172030926, 0.0444779769, -0.0580862053, 0.0195045844, 0.0487024039, 0.0160094313, 0.0821986794, -0.0262309518, 0.0755600408, -0.0047916081, 0.030431604, -0.0646898001, -0.003270536, -0.0463558845, -0.0385366306, -0.0075100027, 0.0441946164, -0.0197227541, 0.0011327983, -0.0321709886, 0.0413713567, -0.0067977179, 0.0058369171, -0.0026835147, -0.0116727417, -0.0138303451, 0.0004138575, -0.0527097993, 0.0276898276, -0.0625325963, 0.0248399265, 0.0253907088, -0.0696592256, -0.0107073374, -0.0165316854, -0.0307093915, -0.0192940868, 0.0143357562, 0.0628256872, -0.0002497646, -0.0265798178, -0.0459173322, -0.0250632223, -0.0121410042, -0.0502098538, -0.0006128171, -0.047608424, 0.0129164066, -0.004856816, -0.0141819362, -0.0203699917, 0.0178942066, 0.0163625535, -0.0288265143, 0.0687925741, 0.0112122782, 0.0138060208, 0.0044477694, 0.0192773473, -0.0158890057, 0.0679292753, -0.0094692418, 0.0181678273, 0.0621658154, -0.0164589472, 0.0005811595, 0.0369883999, 0.0073788771, 0.0205798429, -0.0162463412, 0.0487481244, 0.0309536066, 0.0574261732, 0.0016648541, 0.0710472763, -0.0212503839, -0.0305435229, 0.068438895, 0.053836178, -0.0201493241, 0.0157493893, 0.0366125479, -0.0041397363, 0.0226193853, 0.0368215814, -0.0514297597, -0.0093190083, -0.0354248509, 0.0182427615, 0.0128958132, -0.0196293332, -0.0402072817, -0.0710107088, -0.032649152, 0.0370149873, 0.0177997015, 0.0223849546, 0.0437025465, 0.0050748875, -0.0417389832, 0.0598492548, 0.0216643959, -0.0110027427, 0.0116167236, -0.093350485, 0.0283599421, 0.0340678208, 0.0639791638, -0.0381542593, -0.0583629571, 0.013040727, 0.0351386741, 0.0283834878, 0.0584020689, -0.0187956039, -0.0033051423, -0.0086491024, -0.00109967, -0.0286808908, 0.0251392853, 0.0137258638, -0.0021200317, 0.0035939885, -0.0011256654, -0.0870055035, -0.0320318788, 0.048705738, -0.0523102768, -0.0727132782, -0.014992658, -0.0230806954, 0.0107386038, -0.0035535642, -0.0217844453, 0.0235718917, 0.0538828559, -0.0153661873, -0.0158192869, -0.015402304, -0.0517289527, -0.0127621405, 0.0404776558, -0.0036577906, -0.0238798205, 0.0816348046, -0.0222030487, -0.0386961997, 0.003935359, -0.0185202435, 0.0491438732, -0.030259192, 0.0191088133, -0.0112698311, 0.0138449445, -0.0376045443, 0.0699076131, -0.0084414389, 0.0415654294, -0.0093990779, 0.0150037715, -0.006015907, -0.0201988351, -0.0206597745, 0.0136342756, -0.0094861714, 0.0041544223, 0.0127956104, -0.0174429864, -0.0772353634, -0.021306226, -0.0717246383, 0.0050375662, -0.0341544971, 0.0117621841, 0.0337863527, -0.0173826385, -0.0094397468, -0.0107065495, -0.0118669039, -0.0094835944, 0.0075950697, 0.0391982533, 0.0045852065, 0.0188357271, -0.0147231985, -0.0414475352, -0.0254910402, -0.0297391582, 0.038495291, 0.0104188453, 0.0379677303, -0.0213963278, 0.0127133271, -0.0457564555, -0.0034300832, -0.0234578941, -0.0290398318, 0.030349955, -0.027765153, 0.0145348841, 0.0849484801, 0.0216325726, 0.0480210558, 0.0350867733, -0.0154675366, -0.0313442647, 0.017839035, 0.0021331019, -0.0547507666, -0.081895858, -0.0389232673, -0.0028905135, 0.0778518692, -0.0108116977, -0.0065442184, -0.0341507904, 0.0243009757, -0.0515166186, -0.0414019786, -0.0610827841, 0.0211013369, -0.0332257897, 0.05529866, -0.0187091865, -0.0093478914, 0.061935477, -0.0118213054, -0.0089094974, -0.0515671931, -0.0048523, -0.034468703, 0.0769267753, -0.0107556852, 0.0014788699, 0.0104555441, -0.0011535762, -0.0471085645, -0.0514296778, -0.0032331862, -0.035568215, 0.0249484945, -0.0695429742, -0.0002008078, 0.022546839, -0.0363875292, -0.0567886271, -0.0244066119, -0.0458798259, 0.0139871873, 0.0167162754, -0.0075575509, -0.0407099091, -0.0256985426, 0.0237950552, 0.0089829788, -0.0178937949, -0.0187696926, -0.0079197437, 0.0182140619, 0.0903122798, 0.037017256, 0.0571696237, -0.0702477247, 0.0762959495, 0.059809614, 0.0475184098, -0.0242323168, -0.0132586276, 0.0162127595, 0.0144910626, -0.0498247743, 0.0093675032, 0.0240606554, 0.0123911491, -0.0748390034, -0.0223385524, 0.1208254993, 0.0412914492, 0.0064385333, 0.0225976147, -0.0655233487, 0.0621222481, 0.0522518978, 0.028392138, -0.0467952229, -0.0289960317, 0.0301719476, 0.0238780323, -0.0209503192, -0.0443212017, -0.0012390888, -0.082223542, 0.0255333092, -0.0160086006, -0.0654388666, 0.0406360663, -0.0570374802, 0.01389548, -0.0138093289, 0.0398751982, 0.0354972109, 0.0033518542, -0.0183321945, 0.0073795263, -0.0170041807, -0.0277501885, 0.0780568495, -0.0110459924, 0.0478851832, 0.0242083799, 0.0272789914, -0.0423941538, -0.0315641388, 0.0687327012, -0.0265783239, 0.0082125049, -0.0187064279, 0.0469226874, 0.0076400144, -0.0036219838, -0.0092927068, 0.0194803663, -0.0161730181, -0.0008221567, 0.0274367537, 0.0835604593, 0.0197572745, -0.0436977483, -0.0160125345, -0.0123636015, -0.0056418199, 0.0952041671, 0.0426658057, -0.0409418717, -0.0500213839, -0.0395059437, -0.0304215997, -0.0113361841, -0.0496361963, 0.0183473825, 0.0085844155, 0.0295076184, -0.0283112917, -0.0736626163, 0.0472343341, 0.0309489798, -0.0029114988, 0.0416898765, -0.0053835153, -0.0059350459, -0.0143486578, 0.0068131736, -0.0370803662, 0.0156606175, -0.0390579812, 0.0079674292, 0.0066920156, -0.004293045, -0.0386513956, 0.0045108399, -0.0736117586, -0.0461558476, 0.0508396514, 0.0312146824, 0.033351209, 0.0031435613, -0.0096454704, -0.0515784435, 0.043987751, -0.0507613309, -0.0302938744, 0.0546665788, 0.0276786704, 0.000007408, -0.0080363359, 0.0461051241, -0.0398732983, 0.0095232222, 0.0023320823, 0.0584061742, -0.0012230672, -0.0079532964, 0.0438959785, 0.04562556, 0.0049401848, 0.0323774442, -0.0148492148, 0.0110923639, 0.0370082222, -0.0114622144, -0.0096889958, 0.0020879784, -0.0079354085, 0.0395614319, -0.0149766244, -0.003561096, -0.0188522693, -0.0218986589, 0.0269956104, -0.0107852984, -0.0080422983, 0.0021319485, -0.0219134018, 0.0156001663, -0.0084945774, -0.0226845387, -0.0088179847, 0.0044870838, 0.0685309917, 0.0244739726, 0.0465486497, 0.0336152986, -0.0015731133, -0.0077918563, 0.0095397877, -0.1021426171, -0.0992763117, 0.0321066864, 0.0438646153, 0.0032613387, 0.005157541, 0.0101140151, -0.035499163, -0.0179915819, -0.0495141447, -0.0325725041, 0.0066349544, -0.0489823781, 0.0564871617, 0.032089673, -0.01535758, 0.0243797544, 0.0486359671, 0.0308427457, 0.0728775412, 0.0209924988, 0.0215506721, -0.0381646827, -0.0106289517, -0.016002221, 0.0050491444, -0.0094769141, 0.0013029284, -0.0816231444, -0.0857970044, 0.0219592601, 0.0369424559, -0.0024530257, -0.029881848, 0.0075220536, 0.0768394768, 0.0017351933, -0.0213857759, -0.0502590276, 0.0275530107, -0.0334073752, -0.0162203796, 0.0008905138, -6.58344207e-33, -0.0076291258, -0.0019346359, 0.0353396572, -0.0316158645, -0.0142576909, 0.0155387549, -0.0499741808, 0.009370422, -0.0374990627, 0.0236620773, -0.0443345793, 0.0307102352, 0.0096006738, 0.0147501621, -0.0160376504, -0.042163875, 0.0297430046, -0.0004524327, -0.0199518651, 0.0030701794, 0.0155770509, 0.0274570454, 0.0368038006, -0.0281014256, 0.0379751027, -0.0099284723, 0.0019248129, 0.035841845, -0.0379857421, 0.0564094782, -0.0169973709, 0.0433969796, 0.02341941, -0.0588111766, -0.0131308092, -0.0144231617, -0.0624901168, -0.0320302285, 0.0533920974, 0.0044792155, -0.0762910545, -0.0264549553, 0.0386943929, 0.0095103215, -0.0099979751, -0.0242110081, 0.0083906827, -0.0150445905, -0.0357713178, 0.0348639302, -0.0584161356, 0.0212194007, -0.0266046822, -0.0002858609, -0.01472962, 0.0464427806, -0.0165120699, 0.0154393995, -0.0159308799, -0.0031671671, 0.0396879427, 0.0325593129, 0.0609896667, 0.0209675096, 0.0151046198, 0.0589588732, 0.0103456294, 0.0192185864, 0.0041524428, -0.0259010587, 0.0341329649, 0.0275345687, 0.0442538336, 0.0439846888, 0.0313920081, -0.0161339436, -0.0659097508, 0.0187685229, 0.0333404951, 0.0567079112, 0.0288727134, 0.021783283, -0.0310985353, -0.0131164417, -0.0934821814, 0.041562967, -0.039768327, -0.0227612313, 0.0632837787, -0.0086880662, -0.0268145595, -0.0486202873, 0.0172958001, -0.0543148518, -0.0037640545, 0.0002990419, -0.0015404946, 0.0146784978, 0.0036573694, 0.0633237883, -0.0393375754, -0.0019874729, -0.0060899542, -0.0003874604, 0.0254589301, -0.004459756, -0.0184121132, 0.010084942, -0.0439198017, -0.0077079004, -0.035279844, -0.0058382871, 0.0126808565, -0.0261054393, 0.0525042601, 0.0229351278, -0.0025368405, -0.0077943541, 0.026917778, -0.0151916984, -0.0353023149, 0.030809382, -0.0099630309, 0.013922561, -0.0384676121, -0.0286533386, -0.044000417, 0.0413040854, 0.0227141157, -0.0585931279, 0.0021535128, 0.0326653644, 2.769e-7, 0.0409618057, 0.0814041272, -0.0125057651, 0.0220872611, 0.0195707195, 0.0357995443, -0.0496342033, 0.0031660425, 0.034645915, -0.045555383, 0.0042013181, 0.0307824537, 0.0450153947, 0.0260269325, -0.0752487481, -0.0126311379, -0.0648075417, 0.022523623, -0.0497724041, 0.0180209223, 0.0378242061, 0.113534607, 0.0047441879, -0.0081338342, 0.001177855, -0.0700651333, 0.0394398831, -0.0436190665, -0.0084380507, 0.0115120672, 0.0160465315, 0.015101376, 0.0169379953, 0.0380988531, -0.0010897808, -0.0108290119, -0.0066280118, 0.0550100617, 0.0127195334, -0.037554998, -0.0292626563, -0.0107605616, 0.0229000468, -0.0917186812, 0.0946235284, -0.020896513, -0.0527390614, -0.0305859204, -0.0166437756, -0.0053830394, 0.0239546876, -0.0060903472, -0.0158429146, 0.005852941, -0.0021558104, 0.0089002969, 0.0071746875, -0.0463781916, -0.00071139, -0.0138130514, -0.0430294685, -0.0468481742, -0.0658107027, 0.0135516943, 0.0001049167, -0.0774195418, -0.0117495395, 2.430387605e-34, 0.0540816486, -0.0048881415, 0.0258352421, 0.0278762002, 0.0420283303, -0.009123412, -0.0362552032, 0.0232779142, 0.0098112226, -0.1161081716, -0.0168174952 ]
http://arxiv.org/abs/2406.10507v1
http://arxiv.org/pdf/2406.10507v1
Benchmarking Children's ASR with Supervised and Self-supervised Speech Foundation Models
2024-06-15T05:13:19
2024-06-15T05:13:19
Ruchao Fan, Natarajan Balaji Shankar, Abeer Alwan
eess.AS
eess.AS, cs.CL, cs.SD
Speech foundation models (SFMs) have achieved state-of-the-art results for various speech tasks in supervised (e.g. Whisper) or self-supervised systems (e.g. WavLM). However, the performance of SFMs for child ASR has not been systematically studied. In addition, there is no benchmark for child ASR with standard evaluations, making the comparisons of novel ideas difficult. In this paper, we initiate and present a comprehensive benchmark on several child speech databases based on various SFMs (Whisper, Wav2vec2.0, HuBERT, and WavLM). Moreover, we investigate finetuning strategies by comparing various data augmentation and parameter-efficient finetuning (PEFT) methods. We observe that the behaviors of these methods are different when the model size increases. For example, PEFT matches the performance of full finetuning for large models but worse for small models. To stabilize finetuning using augmented data, we propose a perturbation invariant finetuning (PIF) loss as a regularization.
[ -0.0370545052, 0.0575580448, 0.0076063871, 0.0194932651, 0.0032741786, 0.0013554996, 0.039819736, -0.0371023491, -0.0793055072, 0.0048765191, -0.027733596, -0.0600797385, 0.0321898051, -0.0154674528, 0.0410494134, -0.0396054462, 0.0324562825, -0.0643212646, -0.0201481245, -0.0076439506, 0.0414226912, -0.0067131259, -0.0171082262, 0.0345259048, -0.0078441855, 0.021713648, 0.0018483084, 0.0371201448, 0.0386337824, -0.0357296206, 0.0106108095, 0.020666929, 0.0241346732, 0.0077192923, 0.0000021502, -0.0476604924, 0.0068866462, 0.0323918127, -0.0741716847, 0.0350456573, -0.006929894, 0.0289626587, -0.0263872184, 0.0335710868, -0.0076437211, -0.0247463789, 0.0443890579, 0.0422160812, 0.0145257907, 0.0386182927, 0.0074339495, -0.0151630985, 0.0259841923, -0.0201243721, -0.0521204881, -0.0363539234, -0.002863755, -0.0114514036, -0.029038975, -0.0687904656, -0.0117820911, 0.0371945724, -0.0052612512, -0.02225006, 0.0289332569, -0.0447123125, -0.0538573749, -0.0300508011, -0.0158059318, 0.0388025753, 0.0036202869, -0.0378464572, 0.0267551355, 0.0268839374, -0.0328371674, -0.0074069197, -0.0564659573, -0.006963979, 0.012422042, -0.0065283533, -0.0089807985, 0.0091943992, 0.0539879799, 0.0028491698, -0.0278111286, 0.0407487527, -0.0123091405, -0.0366111025, 0.0207857173, -0.0184020307, 0.0082100425, -0.0159176886, -0.0059357723, -0.0147155244, -0.0201921314, -0.0153233092, -0.0811260343, -0.0305782054, -0.0218268782, 0.0181686115, 0.0398067385, 0.0209823325, -0.0600792132, 0.0191384647, 0.0115455491, 0.0301329754, -0.0041531851, 0.0548482798, -0.0283176154, 0.0202292819, -0.0060698651, 0.0296978131, -0.029057283, 0.0568886138, -0.0161775742, -0.0180433746, -0.0241397545, -0.000224512, -0.0316979215, -0.009220738, 0.0342890508, -0.0197996348, -0.0491737798, -0.02096208, 0.0298557505, 0.0602467842, 0.0111875515, 0.0585712902, 0.0194562394, -0.0621498637, -0.00526103, -0.0036101746, 0.0582561567, 0.0114879971, 0.0229719877, 0.0151084661, 0.0259397421, 0.0011314922, -0.0567029193, -0.0013017025, -0.0008814309, -0.0906690881, -0.0403209999, -0.058143124, -0.0033455791, -0.0172000118, 0.0094110994, -0.0557299554, -0.0097921826, -0.0418790467, 0.0479572564, 0.0126781398, -0.064824976, 0.0063411198, 0.0087726219, -0.0165909491, 0.0145903062, 0.0832300335, 0.0501846224, -0.0321367234, 0.0147010945, -0.0435266793, -0.0728055611, 0.0540783703, 0.034621302, 0.0053549511, -0.0181528013, -0.030663928, -0.0254023131, 0.0134958439, 0.0221547466, 0.0401401296, -0.0353946537, -0.0094444575, 0.0575895794, 0.0510171913, 0.0554961115, 0.0274475869, -0.0034960299, 0.0104130525, 0.046238672, 0.0293283071, -0.0245153122, -0.0006103319, -0.0250668917, -0.0175488777, 0.0284860209, 0.0711602196, -0.0313357487, -0.0195733402, -0.0049650599, -0.0278945956, -0.0011815937, 0.0486829504, 0.0783162788, 0.0258940645, -0.0201111063, -0.0496781282, 0.0103526488, -0.0384912528, 0.0380125791, -0.0533617176, -0.0302724987, -0.0046551093, -0.0224351175, -0.0319289714, -0.0552538335, -0.0286432467, -0.0074194577, -0.0203450583, -0.0184277464, 0.02297616, 0.0679240674, -0.0452515706, -0.0311185271, 0.0447547622, -0.0128066307, 0.0198015161, -0.02335204, -0.0029944743, -0.0038041172, -0.0374173932, 0.0263148937, 0.0057801637, -0.0243504494, -0.0037034878, 0.0279198643, 0.0185789093, 0.0507881679, 0.0656891987, -0.0006504522, 0.002845038, 0.0403778479, 0.000910524, 0.027417291, 0.0096764462, -0.036490202, -0.0270106941, 0.0609308556, -0.0016710024, 0.0466493033, 0.0579470396, 0.0215854235, -0.0711350068, 0.0503845401, -0.0215376094, 0.0511112735, -0.0389319547, 0.0838666335, 0.0000792771, -0.0106278807, 0.0159356929, -0.0212835204, 0.0159660541, -0.0095167682, -0.0307368282, 0.0000707862, 0.0180359874, -0.1036268696, -0.0290315896, 0.0126411216, -0.0715796724, 0.0381461643, 0.0125799105, -0.0724670589, -0.037982624, 0.0293596368, -0.0651386082, 0.0104242517, -0.0080681257, 0.0237995088, -0.0390571803, 0.0443812273, 0.0396787561, -0.01007804, -0.0163186528, -0.0148596652, -0.0429637432, 0.005546188, -0.0590250678, 0.018332148, -0.0422075875, -0.0470488369, -0.0180414561, 0.0195397157, -0.0145447096, -0.0282428525, -0.0460071526, -0.0456415601, -0.0203777663, -0.0205699354, 0.0361952148, -0.0335436687, -0.0027583309, -0.0152055416, -0.0167331435, -0.0235237442, 0.0628972128, -0.0274350606, 0.0011336781, -0.0090658935, 0.0112020317, -0.0209148061, 0.0023792577, 0.0244069919, 0.0214828551, -0.0286348779, 0.0648425892, -0.0358240567, 0.0336397663, 0.012508126, 0.0297909603, -0.0443567783, 0.0267786775, 0.0110539831, -0.0235906299, 0.0068309167, -0.0303184036, -0.0340059809, 0.0266066026, -0.0217036102, -0.0571152084, -0.0023480209, -0.0599725172, -0.0322956741, 0.0177315958, -0.0744320825, -0.0053368262, -0.0041084201, 0.0036713225, -0.003687738, -0.0072926586, 0.0045386273, -0.0400595069, 0.0009204948, 0.0418086126, -0.0544552654, 0.0529320948, -0.0180542264, 0.0274148658, 0.0088687465, -0.0254037324, -0.0138225192, -0.0204578321, -0.032596346, 0.0204143543, 0.0167405009, -0.0574469529, -0.0180451106, 0.0089414539, 0.0260489881, 0.0675979927, -0.0242679901, 0.0340446383, -0.011553294, 0.0120452167, 0.0701174811, 0.0094864042, 0.0128009086, -0.0324004404, 0.0502350181, -0.0241400544, 0.0709423944, 0.0060693854, -0.0555317812, -0.0054126056, 0.0144232316, 0.0348659381, 0.0025444683, 0.0210003648, 0.0705033988, -0.0654612929, 0.0370974764, 0.0310720336, 0.0070355143, 0.0331227221, -0.0016854177, -0.0001571258, 0.0329063125, 0.0068990588, -0.0605955534, -0.0100216717, -0.0164040569, 0.0884883478, 0.0585672595, 0.0044927741, 0.0087259719, -0.0045898645, -0.0620426089, 0.0290258043, 0.0252319593, -0.0409059078, 0.0067056776, -0.0298409648, 0.0133128744, -0.0067048753, 0.0621192306, 0.0216334891, -0.0311614871, -0.0358166397, 0.0529549532, -0.0608431697, -0.0750292167, -0.0287490916, -0.0549414195, 0.0994842798, 0.0453848429, -0.0493292734, 0.0008087044, -0.0261960234, 0.0260256287, 0.0083742701, -0.0314249881, -0.0313714631, 0.0337559208, 0.0211023297, -0.0139241247, 0.0090251965, 0.0507552177, 0.0356812924, 0.0395768397, -0.0115809208, 0.0227725003, -0.0314536318, 0.0029979665, 0.0400442854, 0.0094996477, -0.0195674747, 0.054321263, -0.0092724599, -0.0125038046, 0.0299890563, 0.0323111042, 0.0272415318, 0.0038025037, -0.0079355221, 0.0334518291, 0.0082820011, -0.0506963208, -0.0159210507, 0.0488731526, 0.0177757256, 0.0439727791, 0.007862946, 0.0388316587, -0.000800651, -0.0113105522, -0.0280002896, 0.0211323407, -0.0060741487, 0.0278219637, -0.0653353706, -0.0441086739, 0.0229469351, -0.059820652, -0.0011101424, -0.0094873039, -0.096144475, -0.0691903606, 0.0209727287, -0.0157377124, 0.0177499745, 0.0312984511, 0.0041821427, -0.0753448308, 0.0244757924, 0.0221332069, -0.0330962799, 0.0285224952, 0.0703899786, -0.0681041256, 0.0044359011, 0.0399709418, -0.0566826761, 0.0301128924, -0.0518444888, 0.0284102708, 0.0003670419, -0.0316827893, -0.0057928273, 0.0376419574, 0.0783177316, 0.0010290778, -0.0487300642, -0.0250801779, 0.06981574, -0.0165379737, 0.0515040159, -0.0482743941, -0.0469108932, 0.020450633, 0.0263905693, 0.0031939528, 0.0122799445, -0.0334076323, -0.0210142229, 0.0110206986, 0.0799969807, -0.0145833436, 0.0120822946, 0.0194298178, 0.052745793, 0.0075069559, 0.0509217568, 0.071090281, 0.017027162, -0.0072076214, -0.0162994619, 0.0143971564, 0.0410241447, -0.0013756061, 0.0146372318, -0.0172728561, -0.0690301508, -0.0240901764, -0.0001535215, 0.000687544, -0.0158690177, 0.0814428777, 0.0245216954, 0.013888184, -0.066756621, -0.0110379877, -0.0158669017, 0.0210169982, 0.0618562996, -0.0127341403, -0.008033365, 0.0918421298, 0.0064012147, 0.0127944024, 0.0493075848, -0.0331247412, 0.0625681207, -0.0362588875, -0.0187593494, 0.0012420928, 0.0336799882, -0.0210846346, -0.000242255, -0.0047128634, -0.0507493988, 0.0176566262, -0.0170667078, -0.0025825519, -0.0314763039, 0.02610364, -0.0554196537, -0.0666866377, 0.0040254411, 0.038063094, -0.1088983864, 0.003783732, -0.0309319329, 0.0470463783, -7.264915083e-33, -0.0266352799, 0.0498404428, 0.0016768689, 0.0611308813, -0.0299742557, 0.0181190167, -0.0176282059, 0.0543570407, -0.0362995379, -0.0046402658, -0.0009912601, -0.0241120663, 0.0454270244, 0.014516525, -0.0668437704, -0.0293889735, 0.110353671, -0.0075568403, 0.0098643629, -0.0176509768, -0.0170637891, 0.0101412414, 0.0327667408, -0.0803775564, -0.0409977064, -0.0042620609, -0.0275228955, -0.0015330821, 0.0318464711, 0.0432486422, 0.0456354395, 0.0383439623, -0.0163277537, 0.0095024751, -0.0133252759, -0.0096115274, -0.082813479, 0.0136706326, 0.0098122749, 0.0170754287, -0.0344700813, 0.0106421756, 0.0395991728, 0.0088807531, -0.028117286, -0.0431793556, 0.0216538273, -0.0230180398, -0.0244523436, -0.0509355217, -0.0100734849, 0.0288481005, -0.0079574334, -0.0541379228, 0.0949527547, 0.0236834045, -0.0460478365, -0.0392337553, -0.0146499639, -0.0118787475, 0.0527006164, 0.0859475657, 0.0438663736, 0.0271018762, -0.001247583, 0.0080893179, 0.0742010847, -0.0093603507, 0.0598663613, -0.0394468904, 0.0698219165, 0.054942932, 0.0133709805, 0.0219203923, 0.040857356, 0.01206988, -0.0523839034, -0.0128394403, 0.0047696335, 0.0606714226, -0.0199776255, 0.0291391686, -0.0213997196, 0.0028115169, -0.0885054097, -0.0304725636, -0.0371667147, 0.0187033415, 0.0529070832, 0.0150213176, 0.0004357688, 0.0516199283, 0.0164020862, -0.0339699239, 0.0156814326, 0.0169759877, 0.0183252655, -0.0072992775, -0.0117546497, -0.0012112624, -0.0518636033, -0.042697154, 0.0423948132, 0.029821476, 0.0249880236, -0.0260406043, 0.0382239372, 0.0558822714, -0.0578985363, -0.0203765798, -0.0048448839, 0.028856067, 0.0119693289, 0.0036970978, 0.0447779074, -0.0185303092, -0.0061217849, 0.075849019, -0.0063980217, 0.0140864942, -0.0313276127, -0.0237796307, 0.0533413477, 0.0034611914, -0.0231314022, 0.0294716265, 0.0015404426, -0.0353532918, 0.0356954671, -0.0205091089, -0.0131895877, -0.0031771178, 2.935e-7, -0.0512217134, 0.0270236861, 0.0493170619, -0.0440614, -0.0087621892, 0.0035279579, -0.0401417725, -0.0574770197, 0.0115855355, 0.015997082, -0.0030642159, 0.0006824363, 0.0921241343, -0.0125851855, -0.0547034107, 0.0064055491, -0.0340477377, 0.046720162, 0.0038191739, 0.0006558716, -0.0161947645, 0.0678422302, 0.0068936399, -0.0746358633, 0.0355660729, -0.00433147, -0.0008894202, -0.0202838611, 0.0331547745, 0.0006254447, -0.0111493142, 0.0387454741, -0.0140913231, -0.0080805337, -0.0447913036, 0.0561340563, -0.0203539096, 0.003320114, -0.0568382517, -0.0433698148, 0.0052734278, 0.0550904796, -0.0287118051, -0.0092289569, 0.0596649423, -0.0181557313, 0.0012019327, 0.0116696516, -0.0600203238, 0.0037139656, -0.0064243851, -0.020634884, 0.0058879345, 0.0161837898, 0.0144118704, 0.0065982654, -0.0440425277, -0.024146406, 0.0202845, 0.0446743891, -0.0442340933, -0.0521992296, -0.0106930165, -0.0131516708, -0.0490931012, 0.009184978, 0.020029448, 2.287075099e-34, 0.0407299995, -0.0551484041, 0.0460440852, -0.0351188257, -0.0065977308, -0.0374090709, 0.0242920071, 0.0517620891, -0.0235309396, -0.0598213971, -0.0310576111 ]
http://arxiv.org/abs/2406.10505v1
http://arxiv.org/pdf/2406.10505v1
CroPrompt: Cross-task Interactive Prompting for Zero-shot Spoken Language Understanding
2024-06-15T04:54:56
2024-06-15T04:54:56
Libo Qin, Fuxuan Wei, Qiguang Chen, Jingxuan Zhou, Shijue Huang, Jiasheng Si, Wenpeng Lu, Wanxiang Che
cs.CL
cs.CL
Slot filling and intent detection are two highly correlated tasks in spoken language understanding (SLU). Recent SLU research attempts to explore zero-shot prompting techniques in large language models to alleviate the data scarcity problem. Nevertheless, the existing prompting work ignores the cross-task interaction information for SLU, which leads to sub-optimal performance. To solve this problem, we present the pioneering work of Cross-task Interactive Prompting (CroPrompt) for SLU, which enables the model to interactively leverage the information exchange across the correlated tasks in SLU. Additionally, we further introduce a multi-task self-consistency mechanism to mitigate the error propagation caused by the intent information injection. We conduct extensive experiments on the standard SLU benchmark and the results reveal that CroPrompt consistently outperforms the existing prompting approaches. In addition, the multi-task self-consistency mechanism can effectively ease the error propagation issue, thereby enhancing the performance. We hope this work can inspire more research on cross-task prompting for SLU.
[ 0.0071302149, 0.0036067143, 0.0064448761, 0.0426561907, -0.0054176911, 0.0105966832, 0.0137150753, -0.0164846703, 0.01371725, -0.0442355424, -0.0410479121, -0.0545955747, 0.0194655117, 0.0252088849, -0.0018734562, -0.0266275648, 0.0628810301, -0.0825204924, 0.0101444107, -0.0040676598, 0.0047598933, -0.0067712865, -0.0596669279, 0.038549006, -0.0004943996, -0.0412178859, -0.0392222926, 0.0235282183, -0.0230017044, -0.0196508784, -0.0296475664, 0.0524417162, 0.0141307814, 0.0605623461, 0.0000020908, -0.0486234948, -0.0009044868, -0.0304249022, -0.1200396493, -0.0126266079, -0.0076634935, -0.0029939206, -0.0126224337, 0.0217059851, -0.0073295399, 0.0041586198, 0.0455553345, 0.0194274485, 0.0435872227, 0.015246572, -0.0041747377, 0.0552224144, 0.0064918492, -0.0269600824, 0.0409687534, -0.0351805687, 0.0214184336, -0.0110892477, 0.0106012551, 0.016046267, -0.0355999768, 0.0507421456, 0.0301476363, -0.0268864408, -0.0006789333, 0.0336942598, -0.026382247, -0.0738461837, -0.0505844839, 0.083774887, 0.0187713876, 0.0132900458, -0.0004822681, -0.0223674234, -0.0172828734, 0.0103835724, -0.0491901748, 0.0122537222, -0.019897433, -0.007065963, 0.0005649875, 0.0177455787, 0.0215049926, 0.0025876407, -0.0096992794, 0.0694279969, 0.0091430247, -0.0317179002, -0.0141117973, -0.0309345257, -0.0224299971, -0.083158128, -0.0170261506, 0.0307133812, -0.0968091115, 0.0304580387, -0.0428863168, -0.0320839211, 0.0067230249, 0.0055704205, 0.00734518, 0.0947104096, -0.0556424409, 0.0747275874, 0.0235120077, 0.0694756806, 0.0191303324, -0.0112066213, -0.0278906059, 0.0126647698, -0.0423421413, -0.0011632239, -0.0438541248, 0.0136816604, -0.0586481765, -0.0450032838, -0.0066424971, 0.044587668, -0.0113350991, 0.042356398, 0.0120694432, -0.0336840525, -0.0506882854, 0.0215169284, -0.0012974805, 0.0763140097, -0.0204099957, 0.0189382508, 0.0091311047, -0.0715338588, -0.0503170639, 0.013504426, -0.0014932377, -0.0333575569, -0.0267854594, 0.0252412912, -0.0040145814, -0.0407920443, -0.0174474884, -0.0195333026, -0.0132397693, -0.058314044, -0.0335874707, -0.0314649604, 0.0486740246, 0.0082326187, 0.0059086098, 0.0084417621, 0.0002068692, 0.020125851, -0.0338292643, 0.1013074592, -0.0303527638, 0.0172556769, -0.0126735428, 0.0327330418, -0.0280403066, 0.0927927122, -0.0173957888, -0.0004508754, 0.0276759993, 0.0030845688, -0.0106986286, 0.0243782755, 0.0157079007, 0.0124242958, 0.0172398183, 0.0031273065, 0.0523137636, 0.0180201717, 0.0397778712, 0.0214400049, -0.065066278, -0.0049029374, 0.0466214754, 0.0538310111, 0.0078089563, -0.0679079816, 0.0364647731, 0.0485917367, -0.0296979845, 0.0283072982, -0.066865705, 0.031378638, -0.007308322, 0.0038376565, 0.0545790642, -0.0105173141, -0.040940769, -0.0195799936, -0.014833522, 0.0039915694, -0.0111677153, 0.027402604, 0.045654282, 0.0076369499, -0.0295136515, 0.0533310436, 0.013671794, -0.0083137993, -0.0012413594, -0.0379724726, 0.057963796, 0.0827862769, 0.0296044499, -0.0114568658, -0.0650524646, -0.0280379187, 0.0238598473, 0.0299104378, 0.0223884881, -0.0354819857, 0.0586367808, -0.0395566672, -0.022017749, 0.0144531066, 0.0024936656, 0.0301438384, -0.029771205, -0.0103557007, -0.0117178103, -0.0063659558, 0.0504584163, -0.0128239533, -0.0131806768, -0.0164642762, -0.0040318528, 0.0128867272, 0.0255825166, 0.0351157002, -0.0026718436, -0.0260327086, 0.0107493699, 0.0042855437, 0.0241343174, 0.0201056805, -0.0650910735, -0.0452005714, 0.0181661267, 0.0172581673, -0.0522471592, -0.008103515, -0.0078822309, -0.0857528225, 0.0140568791, 0.0265459307, 0.0216886234, -0.0533170849, 0.0323796421, 0.0301629212, 0.0215912461, -0.0023750423, 0.0292300135, 0.0266453698, 0.0190020483, 0.1094271913, 0.0040646154, 0.0356135033, -0.069340691, -0.0246341899, 0.0281612016, -0.0251789298, -0.0299742334, -0.0296307579, -0.0071935975, -0.0603993386, 0.0144092077, -0.0728427544, 0.0145482961, -0.0195950419, 0.0097479122, 0.0117980344, 0.0503913313, -0.0098213879, -0.0554064214, 0.0011918445, 0.0141731733, 0.0041038631, 0.026332017, -0.0005505985, 0.0211173519, -0.0095010139, -0.0222266391, 0.0151093947, -0.0100473622, 0.005764008, 0.010917441, -0.02902098, -0.0682354569, 0.0188788325, -0.0086434102, 0.0372764729, -0.0246305838, 0.0066630859, -0.0055921064, 0.002312565, 0.0069279596, 0.058393728, -0.0444224924, -0.0113490149, 0.0156526919, -0.0568621494, -0.0790828317, 0.0354419984, 0.0058589112, 0.0250343084, -0.0102583971, 0.0190101713, -0.0110155009, 0.0887147412, 0.0013787708, 0.0148176625, -0.050074324, -0.0448757969, -0.0340254866, -0.0235375054, -0.0689196512, -0.0236678049, -0.0230115913, 0.0441461317, -0.0354348049, -0.0416424088, 0.0549680777, -0.0823620185, -0.0480215773, -0.0297241993, 0.0164599251, -0.0022458013, 0.0535292067, -0.0188045073, -0.0013997948, 0.063549988, -0.0481689796, -0.0317842066, 0.0203679297, -0.0019883905, -0.020581618, 0.0277030189, -0.0333289728, 0.0202571191, -0.05445287, -0.0371787548, -0.0450261943, -0.0620686263, -0.0314637683, -0.0003241487, 0.0007035735, -0.0264297891, 0.0253950432, 0.019617239, 0.0186080281, 0.0372074842, -0.0012782202, -0.0074031027, -0.0333959982, 0.0080959778, 0.0342553444, 0.0330664851, -0.0195084531, -0.0059043686, 0.0709077194, 0.0276924502, 0.0488361679, 0.0278921295, 0.0159559604, 0.0432828292, 0.0627223849, 0.0027520002, -0.0450011268, 0.0295184553, 0.0780925825, -0.0439589098, 0.0103669632, 0.1300987601, 0.0239399411, -0.0462217927, -0.0427450202, -0.0501557514, 0.0209124256, 0.0384042226, 0.0314844958, -0.1137639806, -0.0633672476, 0.0354971103, 0.0011011872, 0.023776615, -0.0212230086, -0.0335434042, -0.1042998731, 0.0373199768, -0.0274282116, -0.021640325, 0.0184519738, -0.0278972611, 0.0419218056, -0.0122475643, 0.0385912098, 0.0096645253, -0.0038652967, -0.0213129539, 0.0130674057, 0.0131102307, -0.0261878371, 0.037306916, -0.0163320135, 0.1010981873, 0.0302018039, 0.0213952381, 0.0247593615, -0.0421499386, -0.0220535863, -0.0144115938, -0.0132826325, -0.0297528841, 0.0396907851, -0.0223250352, -0.0224894956, 0.0099466629, 0.0149743566, -0.0172878504, -0.0255023744, -0.0071520051, 0.0632317439, -0.0231139027, 0.038762778, 0.0289341863, 0.0021254432, 0.0471566953, 0.0890052617, 0.0306872576, -0.0230022836, -0.0092219217, -0.0176997073, -0.030173881, -0.0474046618, 0.0403663553, 0.0451919325, 0.0214239433, -0.0441155285, -0.0065044141, -0.0438960791, 0.0734446347, 0.0501720533, 0.0332478434, 0.0517494455, -0.0043593314, 0.0126234759, -0.0163484998, 0.0137198437, -0.0314365849, 0.0344520807, -0.0502594449, 0.0041363086, 0.0000182259, -0.0577718429, 0.0023337209, 0.013581262, -0.0994041413, -0.0446996689, -0.0082538314, 0.0139902374, 0.0326289386, 0.0712401271, -0.0590068698, -0.0239232834, -0.0193788279, -0.0078192996, -0.0358985811, 0.0093175303, 0.0386012532, 0.0085459016, -0.01096188, 0.0455904454, -0.0511839055, -0.0079480698, -0.032666374, 0.0291096065, -0.0480741523, -0.0349135324, 0.0152796078, 0.0239785779, 0.0582727082, -0.0048532253, 0.0142195867, -0.0519569181, 0.0430951342, 0.0142757036, 0.0039366875, -0.0507360883, 0.0012529835, -0.008080896, -0.0434223562, 0.0136963194, -0.0113991397, -0.0327537395, -0.0051838169, -0.020345116, -0.0012041229, 0.0204358306, -0.0200952291, 0.0370398536, -0.0126649253, 0.0052050287, 0.0223550405, 0.0390283354, 0.0368289463, -0.0016070724, 0.1003428102, 0.0094895018, -0.0254741851, 0.0174238905, 0.0265745874, -0.0450699553, -0.0486595705, 0.038589675, 0.0223181397, 0.024627408, -0.0110956859, 0.0422501527, 0.0080227572, 0.0271242484, -0.0063317264, 0.0355608873, 0.0024021447, -0.022659108, 0.0599089041, 0.0224435385, 0.0040451502, 0.0216607414, 0.0622597709, -0.0426666774, 0.0251776446, -0.0147072226, 0.0450370833, -0.0330193341, -0.0060612117, 0.0295664538, 0.0260546878, -0.0481319167, 0.0136772152, -0.0494806282, -0.0425975136, 0.0052625583, 0.0055735521, 0.0016051382, -0.0066427439, 0.0223587621, 0.0445808806, -0.0127453916, 0.017813785, -0.018947985, -0.0386511609, -0.0030180209, 0.0015757496, 0.0003384834, -6.717050962e-33, -0.0544768423, -0.0022213596, 0.0241936818, -0.0074476362, -0.0064720693, 0.0264324825, -0.0459892042, -0.0087058572, -0.0087922867, -0.0248017758, -0.0160446987, 0.0279704891, 0.0317218192, 0.0118348952, 0.0190820694, -0.0360779166, 0.0582867153, -0.0032719632, -0.0366497636, -0.014991127, 0.0362093784, 0.0159206465, 0.0188036896, -0.0038363349, 0.0406324118, 0.0161706991, 0.0059381346, 0.0454830118, 0.0223095901, 0.0485909544, -0.0220657494, 0.0380474851, 0.0186626259, -0.0783564821, -0.0191239379, 0.0741075501, -0.0852420628, -0.0575360768, 0.0522997081, 0.0303947367, -0.0735053271, 0.0229613539, -0.0220100973, 0.0071605374, 0.025217779, 0.0046639047, -0.0046160985, 0.0048875953, -0.0328386649, 0.0308585521, -0.0278140176, 0.0106307156, -0.0125407241, -0.0728008226, 0.0783946216, 0.0780805573, 0.012511, 0.0006016146, -0.0607025586, 0.0314584263, -0.0516091846, 0.0242265873, 0.0746973306, 0.0422069356, -0.0106696142, 0.0623820312, 0.0157069191, -0.0360025577, 0.0097084641, -0.0275831092, -0.0066842241, 0.0067464537, -0.0263866782, 0.0111405747, 0.0645560697, 0.0065944125, 0.0070531112, 0.0078837043, 0.0422035828, 0.023091346, -0.0011032916, 0.0196675155, -0.0484029055, -0.0232824739, -0.0428376794, -0.0140902074, -0.0597758926, -0.023710927, 0.062512219, 0.0345133729, 0.0017404454, 0.013681707, 0.081627585, -0.0054357732, 0.0077210823, -0.0123113422, 0.0197494794, 0.0163160414, -0.0102441553, 0.0465781502, -0.0543253422, -0.0351854376, 0.0270157363, 0.0505742468, 0.025239313, 0.0271306131, 0.0313985571, 0.0237481147, -0.0276501514, -0.0163737703, -0.0554924309, 0.0426887572, -0.0384082384, 0.0071939328, 0.0599850975, 0.0040380713, -0.0356236771, 0.0503908917, -0.0017592455, -0.030751219, -0.0372824483, -0.0267863236, -0.0185663085, -0.0152426222, -0.0298446417, -0.0218187645, -0.0004218779, -0.0209476855, -0.0159892086, -0.0523360297, -0.0024474696, 0.0258360766, 2.893e-7, -0.0142631195, 0.0083372938, 0.0067729075, 0.0028956791, 0.0203602351, 0.0249026921, -0.037920177, 0.0192952324, -0.01101436, -0.033955995, -0.0025222308, 0.0154135451, 0.0250109658, 0.006037469, -0.1278814673, -0.0302293934, -0.019931538, 0.0162350163, -0.0329902954, 0.0027200924, 0.0689715073, 0.0814079791, -0.0154424487, -0.0046639177, 0.0648789108, -0.0158028919, 0.0028784543, -0.0117833139, 0.0213509966, -0.011566597, -0.0072963433, 0.0117692137, -0.0052052233, 0.0649892092, -0.0078867944, -0.0098595759, -0.0068785832, 0.0306440461, -0.0019138738, -0.0339093842, -0.0404908955, -0.004318004, 0.0114065297, -0.0272524245, 0.0647180155, -0.0367968343, -0.0293978602, -0.0108607328, -0.0064068465, -0.0038978024, -0.0123682097, 0.0343046896, -0.0022260661, -0.0008947439, 0.0097563956, -0.0228389427, -0.0337353535, -0.0615625419, -0.004341987, -0.0340286642, -0.0348580256, -0.0373979658, -0.0485426225, -0.0718730763, 0.0251591392, -0.0677037388, -0.0335432813, 2.613662787e-34, 0.0364222713, -0.0074352594, 0.0418121815, 0.0430740714, -0.0060617444, -0.0122973761, -0.0495299697, 0.0013277576, 0.0474059395, -0.04440175, -0.0294621158 ]
http://arxiv.org/abs/2406.10504v1
http://arxiv.org/pdf/2406.10504v1
Task Facet Learning: A Structured Approach to Prompt Optimization
2024-06-15T04:54:26
2024-06-15T04:54:26
Gurusha Juneja, Nagarajan Natarajan, Hua Li, Jian Jiao, Amit Sharma
cs.AI
cs.AI, cs.CL, cs.LG
Given a task in the form of a basic description and its training examples, prompt optimization is the problem of synthesizing the given information into a text prompt for a large language model (LLM). Humans solve this problem by also considering the different facets that define a task (e.g., counter-examples, explanations, analogies) and including them in the prompt. However, it is unclear whether existing algorithmic approaches, based on iteratively editing a given prompt or automatically selecting a few in-context examples, can cover the multiple facets required to solve a complex task. In this work, we view prompt optimization as that of learning multiple facets of a task from a set of training examples. We identify and exploit structure in the prompt optimization problem -- first, we find that prompts can be broken down into loosely coupled semantic sections that have a relatively independent effect on the prompt's performance; second, we cluster the input space and use clustered batches so that the optimization procedure can learn the different facets of a task across batches. The resulting algorithm, UniPrompt, consists of a generative model to generate initial candidates for each prompt section; and a feedback mechanism that aggregates suggested edits from multiple mini-batches into a conceptual description for the section. Empirical evaluation on multiple datasets and a real-world task shows that prompts generated using UniPrompt obtain higher accuracy than human-tuned prompts and those from state-of-the-art methods. In particular, our algorithm can generate long, complex prompts that existing methods are unable to generate. Code for UniPrompt will be available at \url{https://aka.ms/uniprompt}.
[ 0.0506689437, -0.0025710743, -0.0128738862, -0.0018078334, -0.0427013412, 0.0151827401, 0.0107769305, -0.0198485292, 0.0009648254, -0.0540855899, -0.0151444739, -0.0309014507, -0.0014198835, 0.0239172243, 0.0441893861, -0.0956563205, 0.0522695482, -0.0387072861, 0.0074561308, 0.0116115604, 0.0044846446, 0.0156201879, -0.0136645101, 0.039775975, -0.0023108826, -0.0483364947, -0.035818588, 0.0143431956, -0.0075779511, -0.0205377582, 0.0209284686, 0.0593208037, 0.0406772159, 0.0278137345, 0.0000020603, -0.0539230183, -0.0154741788, -0.0322233364, -0.0445532724, -0.0021987671, 0.0405952185, -0.0011388555, -0.0086109368, 0.0179331321, -0.0103485873, -0.0567308068, 0.0370309725, 0.0549457744, 0.0698264763, 0.0806952566, 0.0066067688, 0.0216039568, -0.0210396051, -0.0475790463, 0.0352418497, -0.0166578386, 0.0126903187, -0.0124949059, 0.0175673328, 0.0434509329, -0.0193173345, 0.0057089669, 0.0136874178, -0.0385934301, 0.0227682907, 0.0450591408, -0.0194124412, -0.0193679333, -0.041061081, 0.0865680203, -0.0156873856, -0.0127957352, 0.0157499164, -0.0227078293, 0.0153013188, 0.0084143588, -0.0363671817, 0.0236126445, -0.0142704314, -0.0024327501, -0.0002962431, -0.004942154, 0.0069107632, -0.0028627969, 0.0091251889, 0.0364271849, 0.0178897921, -0.0482753031, 0.0253868867, -0.0238604881, -0.0409001373, -0.108171314, -0.0021275843, 0.0408897921, -0.0764138252, 0.0174486618, -0.043954175, -0.0261710081, 0.0190486517, 0.0322313905, 0.0449052639, 0.0372128673, -0.0101151252, 0.0702018514, -0.0001995184, 0.0636897385, -0.0024830874, 0.0000266595, -0.0631560758, 0.0166424159, -0.0764413178, -0.0134134321, -0.0759605691, 0.0296915732, -0.0178191494, 0.0048527769, -0.0168061648, 0.0600748658, -0.0021459477, 0.0356304906, 0.0305658765, -0.0036437779, -0.0257329121, -0.0136146331, -0.0226479396, 0.0132915154, -0.0331148691, -0.0032464368, 0.0191423614, -0.0154120252, -0.0163722187, 0.0211004056, 0.0131324418, -0.0389424302, -0.009192762, 0.0472489521, -0.0174904075, -0.0352841765, -0.022114886, -0.050924629, -0.0143535761, -0.0401318558, -0.0236414522, -0.0512586311, 0.0480806902, -0.0157870967, -0.0177751631, -0.0199463014, -0.0085189389, 0.0375975631, -0.001416649, 0.080210261, -0.0327442326, 0.0204762295, 0.0556558855, 0.0026634946, -0.0469488464, 0.0357683077, 0.0078779133, 0.0697126985, 0.0365800112, 0.0047571049, 0.0099455332, 0.0509212315, 0.0188392177, 0.0244555324, 0.0104363728, 0.015980795, 0.0350632221, 0.0409314744, 0.0189483799, 0.0439689755, -0.0268903952, 0.0384470969, 0.0545335412, 0.032136362, 0.0112783201, -0.0156870782, 0.0809598044, 0.0512439199, -0.027826, 0.0211868044, -0.0543616526, 0.0171553064, -0.0314492807, 0.0139643271, 0.0384236351, -0.01271604, -0.0501003079, -0.0276080519, 0.0007681032, -0.0017441522, -0.0208802372, 0.029122632, 0.0333914161, 0.0333320238, -0.0731440112, 0.0120411059, 0.0341269188, -0.0048658708, 0.0385221951, -0.04268701, 0.0815309882, 0.0720531344, 0.0326388106, -0.0572090633, -0.0244983677, -0.03782757, 0.0373657346, 0.0407266654, 0.0324809104, -0.0615361966, -0.0250877719, -0.0380856358, -0.0362493806, -0.0153387384, -0.0009461811, 0.0163373239, 0.003468933, -0.0487666167, 0.0095834276, -0.0018707769, -0.0143110733, 0.0436208174, -0.0150551526, -0.0326890908, 0.0263407677, 0.0278529301, 0.0129480967, 0.0178411081, 0.0054104743, 0.0055713109, -0.0013716979, -0.0440128557, -0.0217596237, -0.0217895359, -0.0616869889, -0.0507688485, 0.0145748258, -0.0075705154, -0.0204039328, -0.0048831068, -0.0572538003, -0.0609509945, -0.017714126, -0.0281431004, 0.0105580688, -0.0414880067, 0.0252008848, 0.0142655484, -0.0214538313, -0.0617575683, 0.0720617101, 0.0262532625, -0.006646147, 0.0440744609, 0.0282639042, 0.0025994752, -0.04858144, -0.0193177648, 0.0002275647, -0.0161311738, -0.0227599069, 0.0352272056, 0.0322029516, -0.0433567837, -0.0417847261, -0.1077973098, 0.0191260893, -0.0344449021, -0.0022301569, 0.0561712086, 0.022712322, -0.0235699154, -0.0282626357, -0.0628884286, -0.0025896123, -0.0075330343, 0.0303207636, 0.053442359, 0.0194861982, -0.0001938713, -0.0225501899, -0.0045707477, -0.0320467912, 0.0250286907, 0.0210629199, -0.0276391953, -0.0938547701, 0.0585051253, 0.0135381268, 0.0168764591, -0.0002343582, 0.0262601301, -0.0083573749, -0.0142695187, 0.0992237106, 0.0532235838, 0.0238913558, -0.0020839667, 0.0499541722, 0.0163621064, -0.0457752421, 0.0247249156, -0.0387213044, 0.0036468655, 0.016224198, -0.0348130018, 0.0419544019, 0.0670480132, 0.0132941604, -0.0187055431, -0.0762439072, 0.0418911949, -0.0064674076, -0.0006928955, -0.0835370794, -0.0362901948, -0.0099246064, 0.0535270683, -0.0396447703, -0.0488143824, 0.0777635351, -0.041179195, 0.0100699626, -0.0188570693, -0.0009285563, -0.043027617, 0.0691472515, 0.0088203531, 0.0210244954, 0.0459091514, -0.0342611074, -0.0598487966, 0.0054465206, 0.0017930036, 0.0043927729, 0.0431113206, -0.0532573983, -0.0046105543, -0.0340479463, -0.0474010482, -0.0475929603, -0.0482609272, -0.0002161267, 0.0379052497, -0.0104669891, 0.0072387988, -0.0078743752, 0.0001999319, 0.0184461065, 0.0861187875, -0.0266472381, -0.0197594911, -0.036092855, 0.0191600006, 0.0683489069, 0.023857059, -0.0072254585, -0.0407626517, 0.0414856859, 0.0018051593, 0.026581211, 0.0210284162, -0.0055479999, 0.0025015178, 0.0170678534, -0.0678884014, -0.0259097125, 0.0250937231, 0.0506480224, -0.033075273, -0.0142410984, 0.127805084, 0.0310783535, -0.0747887045, -0.0025945681, -0.0014073126, 0.0160345342, 0.0362195373, 0.0479062125, -0.0592202544, -0.0246805791, 0.0089891208, 0.0253695659, 0.0023839972, -0.0285720527, -0.0398313589, -0.1097981706, 0.0397536233, -0.0181306638, -0.0442666933, 0.0086970516, -0.0456259102, -0.0111527778, -0.0232493337, 0.0143574197, 0.0260471534, -0.015433534, 0.0113770803, 0.0081858933, 0.0042349291, -0.0281238239, 0.0364936851, -0.0288817883, 0.0529922619, 0.0714847967, -0.0025556139, 0.0221032985, -0.0133238751, 0.0378621854, -0.0060179601, 0.011905808, -0.0167342573, 0.0381660797, -0.0164397042, 0.0084880637, 0.0013518552, 0.0642756522, -0.0317291319, -0.0293438938, 0.0572446361, 0.0802873001, -0.0188381094, 0.0285902675, 0.0006400939, -0.0192881022, 0.0314110741, 0.0957351625, 0.0396561325, -0.0596000664, -0.0079778209, -0.0244320855, -0.004200046, -0.0648828074, -0.0095441407, -0.0036418643, -0.0223268904, 0.0294292048, -0.0694579631, -0.0261238366, 0.0700191706, 0.0444755517, 0.0438140631, -0.0076080146, 0.0159093551, -0.0015114105, -0.0245627072, 0.0279800184, -0.0408258773, 0.012198206, -0.0871007591, -0.0425243974, 0.0274563245, -0.0849426091, -0.0150070414, -0.0089348732, -0.053005144, -0.0486248955, -0.0304108076, 0.0381696522, 0.0192260575, 0.0514225811, -0.0316850282, -0.0623579845, 0.0592861772, 0.003661148, -0.0206996258, -0.0136915762, -0.0174277928, 0.0343831144, -0.0247666091, 0.0285704192, -0.0496264882, 0.0275243707, 0.0331125148, 0.0073974612, -0.0031693524, -0.0096028699, 0.0512734428, 0.0315314643, 0.0506743044, -0.0329697728, -0.005770979, -0.081073001, -0.0013132686, 0.0018573677, -0.0448430181, -0.0363363139, 0.0284848213, 0.0040744375, -0.0451318398, 0.0306949671, 0.0073976135, -0.0478117727, 0.0586199686, -0.0541425683, -0.0160508119, -0.0154725378, 0.0372554697, 0.0295933075, 0.0021637715, -0.0043845274, 0.0317590833, -0.0056489692, 0.0260515604, -0.0209640097, 0.0720102787, 0.0348733515, 0.0064361477, -0.0217760485, 0.0495684035, -0.0560537726, -0.0259366464, -0.0213293042, 0.0274091866, 0.0444071107, -0.0052609947, 0.0023113464, -0.01687463, -0.0284464825, -0.03506523, 0.032676965, 0.0317341685, -0.0486809239, 0.0310493205, 0.0530426912, -0.0144044422, -0.0065750238, 0.0699947253, -0.0378998332, 0.0399566367, 0.0259367954, 0.0101084495, -0.0643625185, -0.0153204659, 0.0074234214, 0.02668106, -0.0461782366, 0.0072964705, -0.0490410216, -0.0144295488, -0.0014887269, 0.0285736173, -0.0102932034, 0.0256342553, 0.0669764206, 0.0406917222, -0.0340139009, 0.0061890166, -0.0520277433, -0.0073933452, -0.0028025964, -0.0277120993, -0.0276110023, -5.873968781e-33, -0.0408918969, -0.0385270938, 0.0334682763, 0.0162967741, -0.0228503216, 0.0210753176, -0.0443630815, 0.0075838645, 0.018776482, -0.0123038813, -0.0310032405, -0.0405744575, 0.0107445139, 0.0374072045, -0.0078336829, 0.0119988648, 0.0680073872, -0.0052129789, -0.0452926792, 0.0499173515, 0.0178254806, 0.0123417368, 0.0052842875, -0.017532127, 0.0196692776, -0.001219399, -0.0136537291, 0.056133654, 0.0087168254, 0.0507031642, -0.0192473922, 0.0368369818, 0.0301958099, -0.0625378713, -0.033353366, 0.0724331513, -0.0576935485, -0.0324705057, 0.0125264777, -0.0216696784, -0.0575953424, -0.0632303581, -0.0176235046, -0.0455897301, 0.0033103684, -0.0025472268, 0.0561305918, -0.0116068171, -0.0294280611, -0.0094389599, -0.0488311574, -0.0014325505, -0.0053964327, -0.0501446091, 0.0096059851, 0.0581301302, 0.0269544125, 0.0365387052, -0.0302995592, 0.0387431011, 0.0269247945, 0.0497157611, 0.0458438285, 0.0281128809, 0.0125382775, 0.0512955934, 0.0460178852, 0.0230301265, -0.0190503094, 0.0047792355, -0.0047749341, 0.001939462, 0.0206023939, 0.0464063697, 0.0123986788, 0.0072767874, -0.0476756133, 0.0272499211, 0.008483585, -0.0119124418, 0.0220084824, 0.0033832279, 0.0076072859, -0.0130002806, -0.0579677559, -0.0217585415, -0.0435270779, -0.011893589, 0.0328290835, 0.0290292613, -0.0161106102, -0.0277702734, 0.0278908741, 0.0001223059, 0.0257327966, -0.0227327924, -0.0111269588, 0.0126036871, -0.0013369838, -0.0030658126, -0.0375364162, -0.0561317541, 0.046929244, -0.0058202595, 0.0033820567, 0.0430520214, 0.0685934648, 0.0362689346, -0.0485723838, 0.0285337549, -0.0358173698, 0.0492034405, -0.0223255754, 0.0217886232, 0.0253789704, 0.0111804623, -0.0204938501, 0.042135518, 0.0369853228, -0.0524418838, -0.0227098074, -0.0033994829, -0.0284665246, 0.0196123328, -0.0250293911, 0.015125474, 0.0044488613, 0.0104555804, 0.0379781276, -0.0193581469, -0.006922028, 0.025412349, 2.618e-7, 0.0022684517, 0.0460071787, 0.0250453874, 0.0159653723, 0.0232715327, 0.0297965836, -0.0201053005, 0.0272925459, -0.0265320912, -0.0280384086, 0.0206524264, 0.0066836951, 0.0260739308, 0.0038055293, -0.1307995915, 0.0218306463, -0.046128083, 0.0169409886, -0.0596679337, 0.0173458904, 0.0884493291, 0.0960190967, 0.0016051509, -0.0100377928, 0.0031063163, 0.0016222725, 0.0390280709, -0.0290513933, -0.0182220116, 0.0391333736, -0.0200184267, -0.004705111, -0.0216567591, 0.0344112031, -0.0153701063, -0.0039283722, -0.0008181151, 0.0799491331, 0.0118682133, -0.0036697045, -0.0027859751, 0.0053886082, 0.007844517, -0.0496802106, 0.0610241368, -0.0723900795, -0.0160862282, -0.0331523828, -0.0100864684, -0.0072298069, 0.0041833171, -0.0211877823, -0.0052493392, 0.0202890094, 0.0085292924, 0.0017837029, -0.0096203079, -0.0654190555, 0.0007950852, -0.0211025253, -0.0469790213, -0.0255268626, -0.0400651917, -0.0042846925, 0.0086008888, -0.0765392631, 0.0016215889, 2.675768378e-34, 0.0369178988, -0.0088302465, 0.0066208574, -0.0117658135, 0.0101736756, -0.0012963928, -0.0388638675, -0.0141651006, 0.0317044295, -0.0825954005, -0.04568097 ]
http://arxiv.org/abs/2406.10492v1
http://arxiv.org/pdf/2406.10492v1
Large Language Models as Event Forecasters
2024-06-15T04:09:31
2024-06-15T04:09:31
Libo Zhang, Yue Ning
cs.CL
cs.CL, cs.LG
Key elements of human events are extracted as quadruples that consist of subject, relation, object, and timestamp. This representation can be extended to a quintuple by adding a fifth element: a textual summary that briefly describes the event. These quadruples or quintuples, when organized within a specific domain, form a temporal knowledge graph (TKG). Current learning frameworks focus on a few TKG-related tasks, such as predicting an object given a subject and a relation or forecasting the occurrences of multiple types of events (i.e., relation) in the next time window. They typically rely on complex structural and sequential models like graph neural networks (GNNs) and recurrent neural networks (RNNs) to update intermediate embeddings. However, these methods often neglect the contextual information inherent in each quintuple, which can be effectively captured through concise textual descriptions. In this paper, we investigate how large language models (LLMs) can streamline the design of TKG learning frameworks while maintaining competitive accuracy in prediction and forecasting tasks. We develop multiple prompt templates to frame the object prediction (OP) task as a standard question-answering (QA) task, suitable for instruction fine-tuning with an encoder-decoder generative LLM. For multi-event forecasting (MEF), we design simple yet effective prompt templates for each TKG quintuple. This novel approach removes the need for GNNs and RNNs, instead utilizing an encoder-only LLM to generate fixed intermediate embeddings, which are subsequently processed by a prediction head with a self-attention mechanism to forecast potential future relations. Extensive experiments on multiple real-world datasets using various evaluation metrics validate the effectiveness and robustness of our approach.
[ 0.0468302779, 0.037336316, 0.0234348178, 0.0430432707, -0.0064716991, -0.0093502859, 0.0005760296, -0.0173706077, 0.0403501615, -0.0497359931, 0.0173347164, -0.0497682728, -0.0238252021, 0.0529239401, -0.013061909, -0.0746392235, 0.0343110785, -0.0241676047, 0.0149782635, -0.0060971458, 0.003161863, 0.0450646877, 0.0028070987, 0.0343628265, -0.0161380786, -0.0216067135, -0.0525365323, -0.0122620706, -0.0094806049, -0.0449695289, 0.0191477239, 0.025383452, 0.0569155738, 0.0147054791, 0.0000020746, -0.0341980644, 0.0231320318, -0.0313646831, -0.038527295, -0.0009036139, -0.0159040689, -0.0298477951, 0.0508361906, -0.0004336508, -0.0721142143, -0.0468161777, 0.0063812118, 0.0496980883, 0.0441266224, 0.0690542907, 0.0010236769, -0.0323900767, 0.053447403, -0.0361279622, 0.0103915939, -0.0745677873, 0.0051946715, -0.0147094252, 0.0144857671, 0.0132065425, -0.0287309643, 0.0328560248, 0.0436174907, 0.0069455784, 0.0306418538, 0.0685516968, 0.0002021934, 0.024614064, -0.0451364443, 0.0768726096, -0.0087187644, -0.0255669579, 0.0042278799, 0.002762692, -0.0031003552, 0.0063481946, -0.0679204166, -0.0107370196, -0.0044429181, 0.0174119268, 0.0141420858, 0.0005865772, 0.0338330902, 0.0097645419, 0.00361158, 0.0599855781, 0.0086272247, -0.0108735757, -0.0378069691, 0.0000062822, 0.0036376358, -0.0856811926, -0.0113206375, 0.0955602005, -0.0498369858, 0.0084400261, -0.0359286331, 0.0234934203, -0.0145148635, -0.0540348664, 0.0037342149, 0.0467922576, 0.0235748272, 0.050459642, -0.0146506447, 0.0466321893, -0.0185374022, 0.0074448651, -0.0738667548, -0.0013327094, -0.0608917475, 0.0020342697, -0.0456496179, 0.0315524489, -0.0305305757, -0.035271991, -0.0162152145, 0.0426148474, 0.0156900622, -0.001452268, 0.0289898738, 0.0605237484, -0.028735932, -0.0192983616, -0.0473378897, 0.0301694907, -0.0523057207, -0.0160643533, -0.017981112, -0.0512514673, -0.0202685203, 0.008956043, 0.0304555185, -0.0240496937, -0.0129548088, 0.0668177083, -0.0265914313, 0.0053196382, -0.0224454906, -0.0483159684, -0.0044604861, -0.0434679464, 0.040679384, -0.0492193177, 0.0592031106, -0.0002328363, -0.0145376604, -0.031672772, 0.0280179642, 0.0061914083, -0.029705096, 0.0466091856, 0.0204304494, 0.018143896, 0.0154857039, 0.0031558499, 0.0269084293, 0.0515467823, 0.0383804664, 0.0310276505, 0.0272565465, 0.0173690375, -0.0138988635, 0.0164823867, 0.0254174713, -0.0085802665, -0.0188686643, 0.0249663573, -0.00855368, 0.0414830633, 0.0412088856, 0.0043673734, 0.0132316938, -0.0296001192, 0.0400928482, 0.0139392428, -0.0345424637, 0.021712834, 0.0816290677, -0.00341666, -0.0204758476, 0.0023750961, -0.0393765904, 0.0635674447, -0.0120873703, 0.0123185273, -0.0091780117, -0.0047916658, -0.0629055426, -0.0127650844, 0.0052343863, -0.0149659524, 0.0333518237, 0.0211727954, 0.033058539, 0.0003696061, -0.0873677284, 0.0686363429, -0.0007584424, 0.0004045808, 0.0327483416, -0.0219577029, 0.0396509133, 0.0847050101, 0.0306512341, 0.0011406338, -0.0795934498, 0.0021438359, 0.0233930741, 0.0079415012, 0.0215765629, -0.0206614602, 0.0107503831, -0.0393636525, -0.0278682597, -0.0316437855, -0.0280574933, 0.0391332507, 0.0304624606, 0.0253497884, 0.0225775447, 0.0010229422, 0.01809345, 0.0190948583, -0.0230385046, -0.0504928976, -0.0082538091, 0.0098871039, 0.0166560337, -0.0063870377, 0.0548255406, 0.0168863237, 0.0501544178, -0.0494521111, -0.030574996, 0.0266830791, -0.0710818395, -0.0804976895, 0.0429298282, 0.0273771584, -0.0078931805, 0.0069977734, -0.0601652414, -0.0476977564, 0.0529073365, -0.0191165954, 0.0512409322, -0.0258703288, -0.0369277708, 0.0367546603, -0.009637448, 0.0048398571, 0.0468244515, -0.0250791609, -0.0110420668, 0.0067250784, 0.0172348116, -0.0162522253, -0.0351551771, -0.0282644052, 0.0216518156, 0.0198966451, -0.0037083048, 0.0127465799, 0.0065431106, -0.0507909581, -0.0019467152, -0.1089706719, 0.0101709738, -0.0171697773, 0.0210605077, 0.0053243074, -0.0025408478, 0.0253018439, -0.0476177186, -0.0629685596, -0.0191461556, -0.0058658989, 0.00208714, 0.025614243, 0.0499589778, 0.0011199779, -0.0143617876, -0.0191448834, -0.0427572727, 0.0810510889, 0.0104286987, -0.0368333422, -0.020163592, 0.0254439432, -0.0319970623, 0.0367513709, -0.017399339, -0.006905776, -0.0184969157, -0.0225240756, 0.0644669086, 0.0616643727, 0.0039032195, 0.0199926291, 0.0204963367, -0.0376235731, -0.0619882755, 0.0432681628, -0.0652830228, -0.0336333588, -0.0235105865, 0.001726136, -0.0144406362, 0.0577284694, 0.0323260427, -0.0004599214, -0.0983803719, 0.0066386419, -0.0022806488, 0.0050816704, -0.0556023605, -0.0282334592, -0.0246529412, 0.0081751579, -0.03463405, -0.0205343179, 0.0798474997, 0.0148522109, -0.022313688, 0.0234972835, -0.0139511526, -0.0814404115, 0.0770806074, 0.0177201424, 0.0089685451, -0.0065298495, -0.0242795162, -0.0563116334, -0.0108427303, -0.0094192261, -0.0143001433, 0.0136703476, -0.0280713718, 0.0076716426, 0.0143680321, -0.0229287762, -0.0340658091, -0.0456110574, -0.0238637291, 0.0097115301, -0.0801826715, 0.029903464, -0.0169113167, 0.0036362906, -0.0480161346, 0.0167143587, -0.0432722457, -0.0046317261, -0.0081892787, 0.0964408964, 0.0697438866, -0.008040702, -0.026841186, -0.0392343737, 0.0192652475, 0.0437710509, 0.0503940471, 0.0020243265, -0.0324662738, 0.0202208031, 0.0158771705, -0.0171811692, -0.0185983926, 0.0352095924, 0.0343227498, -0.0793410316, -0.0146572581, 0.1265377998, 0.0261461716, -0.015173451, -0.0008547415, 0.0136036705, 0.0112502426, 0.0268044546, 0.0249629393, -0.0693341792, -0.0258615557, -0.0247795675, 0.0176403634, 0.0233713817, -0.0717270896, -0.0177536309, -0.0946356356, -0.0038167939, -0.0011498259, -0.0065225465, -0.0168526284, -0.0268512461, -0.0201574676, 0.0078161806, -0.0113260029, -0.0023603286, -0.010188967, -0.0043270616, 0.0248659831, -0.0772193745, -0.0165239628, 0.0703270137, -0.01859672, 0.0383295491, 0.0302132592, 0.0432644337, -0.0126823559, 0.0100927101, 0.0011748206, -0.0156756528, 0.0192790162, 0.0067229839, 0.0232532676, -0.0348778181, 0.0084859906, -0.024228625, 0.0402294919, -0.0221971702, -0.0335620269, 0.0081007192, 0.11513751, -0.0013631976, -0.0462982357, -0.0119189266, 0.0095920311, 0.0166962501, 0.0694469735, 0.0236193761, -0.0284488276, -0.0348371156, -0.0053869798, 0.0114740748, -0.0796806961, -0.0117169674, 0.0115323151, -0.0049576927, 0.0162640084, -0.0438044965, -0.0593936667, 0.0316052102, -0.0325602368, -0.0072688228, 0.0057988134, 0.0165366381, 0.0098277032, -0.0570002757, 0.0196684748, -0.023153726, 0.0007481488, -0.0337027237, 0.0151899587, 0.0302188266, 0.0011772392, -0.0072098966, 0.031734895, -0.1093638763, -0.0361339487, -0.0372459739, 0.0301204994, 0.0057630292, 0.0623171665, -0.0045269616, -0.0158571135, 0.0377631411, 0.0122213615, -0.0220051426, 0.0142286485, -0.0017291812, 0.0305726472, 0.0059256568, 0.0427133478, -0.0623387285, 0.0251807291, -0.0132529717, 0.0350695811, -0.0461869538, -0.0793521032, -0.008752659, -0.0144102583, 0.0298526473, -0.0062464937, 0.0121181048, -0.0076233256, -0.0171406772, 0.0162054356, 0.0130517399, -0.0413012467, 0.028830491, 0.0326292515, -0.0210576653, -0.0251120441, 0.0110112699, 0.0249489564, 0.0205007941, -0.0464593768, -0.0107092261, 0.0047028186, -0.0277495012, 0.0344674326, 0.0348595865, -0.0234147925, -0.0112247225, -0.0036998093, 0.0113032479, -0.0133628519, 0.0376719758, 0.018123623, 0.018611284, -0.0358140767, -0.018750364, -0.0861724839, -0.0255536307, -0.0348853506, -0.0051234495, 0.0392821208, 0.0017634538, -0.000013443, -0.0173108876, 0.0029930968, -0.0098531358, 0.0474211909, 0.0113937659, -0.0347322151, 0.0589742064, 0.0199734867, -0.0229602885, 0.0171433743, 0.0772791207, 0.0224364568, 0.0722223744, 0.0735116899, -0.0190049838, -0.035578493, -0.0360266268, 0.0027135666, 0.0208711214, 0.0038625505, 0.0136846136, -0.0533624999, -0.0305025708, 0.0372185037, 0.0022804427, -0.040119011, -0.0281769875, 0.0379042551, 0.0201653522, 0.024115039, -0.01832054, -0.0268480573, 0.047241196, -0.005328753, -0.0255725682, -0.0487949215, -6.141509826e-33, -0.0269183237, -0.0377601869, 0.0199714657, 0.0181790907, -0.0458200313, 0.0317687616, -0.0498388559, -0.0349988453, -0.0263274442, 0.0070243245, -0.0185158532, -0.0004533035, 0.0024008383, 0.0131684588, 0.042923674, -0.0452920273, 0.0305119995, -0.0272149723, 0.0130373994, 0.0414941013, 0.0609332994, 0.0533092022, 0.0545532778, -0.00786475, 0.0114892395, -0.0402439013, 0.0296140388, 0.049077034, 0.0362746678, 0.0428981744, -0.0232031811, 0.0394228883, 0.045045048, -0.0538999625, -0.0242405888, 0.0525571816, -0.11087998, -0.0670807809, 0.0157063063, -0.0110338191, -0.0623529367, -0.0369761884, -0.0170708168, 0.0015000859, 0.03252564, -0.0376664586, 0.0432312675, 0.012147421, -0.0267016441, -0.066084452, 0.0015480871, 0.0045937477, -0.0260606892, -0.0345478579, 0.0160378236, 0.0395866148, 0.0328383483, 0.0055615208, -0.0580774434, 0.0015648357, -0.0504633151, 0.011960472, 0.0206974205, 0.0138839576, -0.0145238359, 0.0457426235, -0.0063175489, -0.0130494861, -0.0680148154, 0.0344413854, -0.0074390802, 0.0563593842, 0.012892358, 0.0229332019, 0.034945786, -0.0008949926, -0.0675304532, 0.0297245737, 0.0422375463, 0.0547807999, 0.025665924, -0.0012861877, -0.0052264421, -0.0457769446, -0.0357164852, 0.0522210225, -0.0241815485, -0.0199597105, 0.0375228226, 0.0085215345, 0.0295693278, 0.0274611618, 0.0380969457, -0.0505044386, 0.0118642114, 0.0864846185, -0.0046838694, 0.0141249653, 0.0066956216, 0.0777349174, -0.0492983311, 0.030483244, 0.0386210606, -0.0251095928, -0.0079441648, 0.0121736676, 0.0120283514, 0.0289621763, -0.0463961661, -0.0189708695, -0.0413084067, -0.0042934278, -0.0087581882, -0.0068705711, 0.0399897583, 0.0419913121, -0.025869824, 0.048985444, 0.0100006359, 0.0154296486, 0.0012396035, -0.0072414302, 0.0425621197, 0.0173899457, -0.000881122, -0.0021199803, -0.0569140501, 0.013745294, 0.0132067408, -0.0306261424, -0.0141188344, 0.0610612184, 2.643e-7, 0.0351979956, 0.0286727324, 0.047937952, 0.0563333444, 0.0146166664, 0.0241827797, 0.0099700959, 0.0597632304, 0.0168878175, -0.005192596, 0.0260903146, 0.0614309125, 0.0222980082, 0.0309182238, -0.0867852345, -0.0155070852, -0.1082807705, -0.0071422765, -0.0442371964, -0.0450798906, 0.0631342903, 0.0742026493, 0.0577343851, 0.0046654074, -0.0017433772, -0.0256105326, 0.0716727972, -0.0081486432, -0.0393227264, 0.0235749558, -0.0089754313, 0.0057401629, -0.0399675146, 0.0265313517, -0.0084417136, 0.0071437787, -0.0156119978, 0.0384200029, -0.0026658783, -0.0359812379, 0.004071618, -0.0211423151, -0.0142092193, -0.0380698591, 0.0949785039, -0.0762754306, -0.018153267, 0.0136305848, -0.0240157116, 0.0309033245, -0.0063681421, 0.0048102364, -0.0097949356, 0.0083974218, 0.0093399482, -0.0157318413, 0.0123445597, -0.0915141776, -0.0209904835, 0.0240488034, -0.0496552289, -0.0215730909, -0.0448027663, -0.0323219933, 0.024959784, -0.081249103, 0.0133388359, 2.255239406e-34, 0.0201786421, 0.0322196111, -0.0217551403, 0.0264714696, 0.0054258509, -0.0280888546, -0.0145786814, 0.00930609, 0.0625609085, -0.0726158172, -0.0334449075 ]
http://arxiv.org/abs/2406.10486v1
http://arxiv.org/pdf/2406.10486v1
Do Large Language Models Discriminate in Hiring Decisions on the Basis of Race, Ethnicity, and Gender?
2024-06-15T03:31:16
2024-06-15T03:31:16
Haozhe An, Christabel Acquaye, Colin Wang, Zongxia Li, Rachel Rudinger
cs.CL
cs.CL
We examine whether large language models (LLMs) exhibit race- and gender-based name discrimination in hiring decisions, similar to classic findings in the social sciences (Bertrand and Mullainathan, 2004). We design a series of templatic prompts to LLMs to write an email to a named job applicant informing them of a hiring decision. By manipulating the applicant's first name, we measure the effect of perceived race, ethnicity, and gender on the probability that the LLM generates an acceptance or rejection email. We find that the hiring decisions of LLMs in many settings are more likely to favor White applicants over Hispanic applicants. In aggregate, the groups with the highest and lowest acceptance rates respectively are masculine White names and masculine Hispanic names. However, the comparative acceptance rates by group vary under different templatic settings, suggesting that LLMs' race- and gender-sensitivity may be idiosyncratic and prompt-sensitive.
[ 0.0477364287, 0.0999418944, -0.0418857969, -0.0005990324, -0.0088463053, 0.0279626045, 0.0607285053, 0.0184513461, 0.0135178724, -0.0377745777, 0.0236405283, -0.0694725513, 0.0289053526, -0.0097080134, 0.0217611175, 0.020322945, -0.0020349617, 0.0173245482, 0.0342399552, -0.0711312294, -0.0049862438, 0.0423985086, 0.0466186441, 0.0519639626, -0.0025692077, 0.0023333784, 0.0497503206, -0.0072295815, -0.0220592935, 0.0087618828, 0.002514452, 0.0725278035, -0.0221123435, 0.0267202239, 0.0000018471, -0.0779654905, 0.015129027, -0.0107717123, -0.0282833986, -0.0234195385, 0.0196728371, -0.0228390172, -0.0244366433, 0.0105874464, -0.0461437739, 0.0185451172, 0.0261180419, -0.0275230464, -0.0037633837, -0.0020035317, 0.014705902, 0.0023799911, -0.049493473, -0.0247882046, -0.0051458534, 0.0029232996, 0.0495873578, -0.0835342035, -0.0301639028, -0.0223055426, 0.0085058985, -0.0237387363, -0.0269616209, -0.0378425829, -0.0021661201, 0.0255250018, -0.0058422168, -0.020651238, 0.0079203974, 0.0135648819, 0.0320060626, 0.0144430567, 0.0107753659, -0.0169365443, 0.0390765257, 0.0109591894, -0.0135058658, 0.0395772532, -0.0264546145, -0.0399286263, -0.0285069235, 0.0028822348, 0.0129007818, 0.0444664173, -0.0079593277, 0.1162572578, -0.00010212, -0.0377411693, -0.0251538996, 0.0075157355, 0.0865832046, -0.0892335474, 0.0445167869, -0.0136257978, -0.0232119374, -0.000267246, 0.0074300962, 0.0391489491, 0.0250700265, -0.0813887641, 0.0167454146, 0.0532861724, 0.0363224819, -0.0062523596, 0.0380305722, 0.0296269972, -0.0200122278, -0.0444831774, -0.0021472552, -0.0213376842, -0.0148367863, -0.0087380949, -0.0364838094, -0.0021395735, -0.0053550312, 0.0799927041, -0.0758819282, -0.0007036024, -0.0429049507, 0.0141133079, -0.0081901699, -0.0256749988, -0.006557513, 0.0066700396, -0.0916671008, -0.0419556201, -0.0195140187, -0.0009694365, -0.0096100364, -0.0446575619, 0.0406935252, -0.0260134432, 0.0040746666, -0.0422608927, -0.0016351271, 0.0526604615, 0.0301684327, -0.0119821867, 0.008491572, -0.0163915716, -0.0039191754, -0.0226908308, -0.0433836132, -0.0391385406, -0.0030988371, 0.0514134318, 0.0170014109, -0.0656332597, -0.0050466657, -0.0082083903, -0.0516621061, 0.0374602638, 0.0684891865, 0.0189066064, 0.0610555075, -0.012916483, -0.0060238102, 0.0520873256, 0.0383237749, 0.0262607094, 0.0367292352, -0.0535240583, 0.0301741846, 0.0599036887, -0.0217235796, 0.0382157229, -0.0140399337, 0.0385434926, 0.0060899663, -0.0196375772, 0.052573178, -0.0009350142, 0.0034775732, -0.0082998192, 0.0211945008, 0.1016433761, -0.0247013886, 0.0200261381, 0.0558704957, 0.0169460941, -0.0689246207, 0.0004717871, -0.0440764986, -0.0148926619, -0.0391333625, -0.0339441337, 0.0055757142, 0.0231166724, -0.0400411747, 0.0031756978, 0.0166726634, 0.0291460082, 0.0174984392, 0.0362513475, 0.001903458, -0.0125720836, -0.0209179204, 0.0473543592, 0.0283385236, -0.011583277, -0.0349663496, -0.0314176343, 0.0095063401, 0.0659898594, -0.0151505154, 0.0323626846, 0.0562941842, -0.0406812727, -0.0177524425, 0.0366735198, 0.0609502755, 0.0372178964, 0.012001683, -0.0173698161, 0.0149647454, 0.0976346135, 0.0115466192, 0.0529956184, 0.0574569404, 0.0319097564, 0.0225209575, 0.0565985292, -0.0523444377, -0.0171839613, -0.0122876493, -0.0588626415, 0.006521882, -0.0060468847, -0.0029019371, -0.0036095758, -0.0281721391, -0.0201917328, -0.0698777065, -0.0046550804, -0.0088545308, -0.0024033331, -0.0536724851, 0.0519981943, -0.0244371705, 0.039510414, -0.0622722842, -0.0272535775, 0.0147653539, 0.0183649175, 0.0551899187, 0.0548775978, -0.0069911829, 0.0013224456, 0.0129387323, -0.0334673524, 0.0049789222, -0.0203069076, 0.017539775, -0.004418741, 0.0178967696, -0.0120270774, 0.0024700011, -0.0456411541, -0.1092768759, -0.0126168663, 0.0434364229, -0.0045799445, -0.0036916328, 0.0146951647, -0.0193522107, 0.0212315209, -0.0210453775, -0.0323081911, 0.037787959, 0.0464128926, -0.046102874, -0.0088664088, 0.0431813039, -0.0142323542, 0.0316670313, -0.0011066508, -0.029807698, 0.0763317272, 0.044176247, -0.0084454818, -0.0329979472, -0.0534642301, -0.0373078324, -0.0877087787, -0.039914716, 0.0348570384, 0.0414809957, 0.0121036749, -0.0543843284, 0.00734038, -0.0382420197, -0.0044428376, -0.0068505448, -0.0255096741, -0.0083745923, 0.0136135342, 0.0070513929, 0.0460898317, -0.0090123313, 0.0041431263, 0.0081706271, -0.0117115146, -0.008486066, -0.0050959564, 0.0247557387, 0.0459897146, 0.0099085867, -0.0963995755, -0.0235471483, 0.0212963615, 0.016148679, -0.0336731896, -0.0218505487, 0.0683321059, -0.0632151216, -0.0531264246, -0.0606375523, -0.0320785157, -0.0152392089, 0.0623930804, -0.0263377298, -0.0579061434, 0.0140844984, -0.0052379458, -0.002164382, 0.014186752, -0.0317306556, -0.031050019, 0.0432816371, 0.0032596248, 0.0060660983, 0.0266671479, -0.0189890154, -0.0297265574, -0.0505962148, 0.0202637371, -0.0291054025, 0.0435362235, 0.0035833006, 0.0126827434, 0.0032083835, -0.0254870076, -0.0244838428, -0.0635591149, -0.0424077921, 0.0203906521, 0.0631939024, -0.0109812059, -0.0161623638, 0.0215967149, 0.0184891149, -0.0220842697, -0.017144518, -0.0019761634, -0.0217827149, -0.0077012922, -0.0328029916, 0.0206537265, 0.0281930044, -0.0547078624, 0.0320673697, -0.0417802818, -0.0169103928, 0.021115927, 0.0205124021, -0.0012043937, 0.0290955529, -0.0331212729, -0.0190540683, 0.0003220695, 0.0213039331, -0.0301686749, 0.0642061755, 0.062246792, 0.0096336184, -0.0031210799, -0.0201088618, -0.002185148, 0.0070983493, 0.0383965485, 0.0343003385, -0.0424853936, 0.0494438149, 0.0269948579, -0.0218586903, -0.0518920161, -0.0366808176, -0.044739183, -0.089212954, 0.0151746599, -0.0238074064, -0.0020559987, 0.0261580199, -0.0105468417, -0.0155348815, 0.0018668479, -0.0024682656, -0.0056941169, -0.018604029, 0.0097914608, -0.0156226037, -0.015848618, -0.0158486273, 0.0493099056, -0.0581371337, -0.0238842443, 0.0369562916, 0.0422516949, -0.0483045243, -0.0100488514, 0.0326323397, -0.0219515935, -0.0106543377, -0.0205942076, -0.004278332, -0.0046076723, -0.0029692287, -0.0574219786, -0.0217731837, 0.0058160559, 0.0553303473, 0.030571878, -0.0152457394, 0.037932504, -0.048306141, 0.0077958754, 0.0057708076, -0.0294103045, 0.0708597526, -0.0112945186, -0.077411674, 0.0240891762, -0.0600136518, 0.0083224988, 0.0604378805, -0.0798965022, 0.0059215515, -0.0053846142, -0.0083072372, 0.0083766067, -0.0694980994, -0.0000087559, 0.0108959517, 0.0402084514, -0.0276537165, 0.0210833959, -0.0053640008, 0.0148645779, 0.0468666703, -0.0306580085, 0.0588835478, -0.0005240967, 0.0087759206, -0.0106317457, -0.000702485, -0.0204362608, -0.0304086525, -0.0310886409, -0.0351746678, 0.0179132149, -0.0255812835, 0.034311682, 0.0147576937, 0.0081802374, -0.0741989166, -0.0350976475, 0.029317297, 0.0094484622, 0.0444042869, -0.0002595546, 0.0435184538, 0.0015798406, 0.004974402, 0.0103290379, 0.0942293853, 0.0334634222, -0.0232594926, -0.0298673213, -0.0260554124, -0.0001412843, -0.0026253748, -0.0216069873, -0.0016295369, -0.0111551778, -0.0230179466, -0.0045248815, -0.0064965519, -0.0197046082, 0.0061165821, -0.0613427311, 0.0312383547, 0.035522446, -0.0071527907, -0.0381877236, -0.0199120212, 0.0357872583, -0.025340084, 0.0491238497, -0.009793574, 0.0565401018, 0.0525708348, -0.021450635, 0.0353939496, 0.0607335232, -0.0366978236, 0.0129766902, 0.0413890928, 0.036187619, -0.0197774973, -0.0004420288, -0.0315889679, -0.0122637292, -0.0372374989, -0.0622345917, 0.0361204594, 0.0240868963, 0.0034250205, -0.0687450692, 0.0074540921, 0.0242210273, 0.0120524382, -0.0051216912, -0.0212121829, 0.040662732, 0.0157055464, 0.0394848324, -0.001974246, -0.0150628872, 0.0058874409, 0.0112046059, 0.0260239784, 0.0021079218, -0.0293785632, -0.0121345054, 0.012418177, -0.0163991917, 0.0514045246, -0.0000039068, -0.0011254646, 0.0054727541, -0.113373965, -0.0279219262, -0.0156518146, -0.0200037211, 0.0241342988, -0.044093173, -0.0190319326, 0.0511792377, -0.0217598248, -0.0143481977, -0.0012048422, 0.0319218077, -0.0054795248, -0.0422935002, -0.0428823009, -5.664740705e-33, -0.0101750949, -0.036554683, -0.0097442139, -0.0406770557, 0.0211991742, 0.0104892561, 0.012568838, 0.0216887966, 0.0079741273, -0.023921188, -0.0509312823, 0.0071882638, 0.0027381603, -0.0010242978, 0.0220100489, 0.0492923893, 0.0467224382, 0.0136159752, 0.0018811309, -0.013815837, -0.0416393727, 0.0346875787, 0.0123390872, -0.005708301, 0.0653155372, -0.0250053294, -0.0075786184, 0.0001082117, 0.035677962, 0.0283770058, -0.0283101592, 0.0173782874, 0.0217925739, -0.0572270751, -0.0065079168, 0.0621714927, -0.0202667098, -0.0057353126, 0.0231338441, 0.0014752204, 0.076370813, -0.0418408141, -0.0021111723, 0.0163883362, -0.0875839591, 0.0322045535, 0.0413801521, 0.0012007843, 0.0469019488, 0.0372348391, -0.0184345562, 0.0383779816, -0.0317125767, 0.056735713, 0.0214321483, 0.0139343254, 0.0194598269, 0.0518425778, -0.0746434182, -0.0001484149, -0.0061921761, 0.0137032894, 0.0039970209, 0.0213607047, -0.0153851062, -0.0122132758, 0.0887665972, 0.0661298409, -0.002059178, -0.0660047978, 0.0165687706, -0.0235497002, -0.0274760947, 0.080149062, 0.0307467058, -0.0544342697, 0.0092272842, -0.030539969, 0.0103555517, -0.0571762025, 0.0558915809, -0.0123882145, -0.0368888676, -0.0493316539, -0.0203659777, -0.0522280671, -0.0218901802, -0.0147399623, 0.0346396118, 0.0071046012, 0.0290057641, -0.0101519395, 0.0365936793, -0.0348907374, -0.098779276, -0.0235695057, -0.0442512073, -0.0330260247, 0.0290117748, 0.0158973169, -0.067632772, 0.0185881332, -0.0400088578, 0.0373934545, 0.0010296573, 0.0559870675, -0.0341273397, -0.0240701828, -0.0775139183, 0.016294146, 0.0121542923, 0.027211016, 0.0226491932, -0.0048984308, 0.0438070484, 0.0167864934, 0.039886985, -0.0153577365, 0.0601870343, -0.0380943902, -0.0219630953, -0.0304083768, -0.0203582868, 0.0407246463, -0.0457829423, -0.0047608223, -0.0032886993, 0.0404182449, 0.0619081631, -0.0095541095, -0.0027293963, -0.0707807764, 2.379e-7, -0.0297812484, 0.0487141125, -0.0753912255, 0.03072487, 0.038845893, 0.0290923752, 0.0184161197, 0.0353813395, 0.0869012624, -0.0019681235, -0.0665783957, -0.0064282026, -0.003981364, 0.0013852218, -0.0880777761, -0.0140284179, -0.0571607612, 0.0106845964, -0.0520668402, 0.0299464483, 0.0013328468, 0.0823211744, 0.0807849169, -0.0006550006, -0.0783030465, -0.0198261924, 0.038620811, -0.0685782954, 0.0057829637, 0.0248761084, 0.0306755695, -0.0389113277, -0.0079364311, 0.0707902536, 0.0124249663, 0.0552894771, -0.0062260847, 0.0198385455, 0.0036465079, 0.1078406647, 0.0246558692, -0.0510401316, -0.0269841775, -0.076232031, 0.0523904786, 0.0351004042, -0.0421572216, -0.0621298663, -0.0063949293, -0.0201701503, 0.0313782021, 0.0219745245, -0.0216761455, 0.0173539668, 0.0039007484, -0.0132517219, 0.0168355368, -0.0069693536, 0.0092470655, -0.0085954899, -0.0065390402, -0.0927900523, -0.0112568662, 0.003486925, 0.0259975996, 0.0149976769, 0.0365293771, 2.029476533e-34, 0.0285098627, 0.060221523, -0.0014369714, -0.0084539857, 0.0591097102, 0.0192470513, 0.0139240762, -0.005124276, 0.0390714929, -0.0031347403, 0.014067187 ]
http://arxiv.org/abs/2406.10478v2
http://arxiv.org/pdf/2406.10478v2
From Words to Worlds: Transforming One-line Prompt into Immersive Multi-modal Digital Stories with Communicative LLM Agent
2024-06-15T03:03:43
2024-06-21T08:09:17
Samuel S. Sohn, Danrui Li, Sen Zhang, Che-Jui Chang, Mubbasir Kapadia
cs.CL
cs.CL, cs.AI, cs.GR
Digital storytelling, essential in entertainment, education, and marketing, faces challenges in production scalability and flexibility. The StoryAgent framework, introduced in this paper, utilizes Large Language Models and generative tools to automate and refine digital storytelling. Employing a top-down story drafting and bottom-up asset generation approach, StoryAgent tackles key issues such as manual intervention, interactive scene orchestration, and narrative consistency. This framework enables efficient production of interactive and consistent narratives across multiple modalities, democratizing content creation and enhancing engagement. Our results demonstrate the framework's capability to produce coherent digital stories without reference videos, marking a significant advancement in automated digital storytelling.
[ 0.0262682308, 0.0017381937, -0.0197021235, -0.008105509, -0.030838849, -0.0109753376, 0.0378462858, 0.0052735107, -0.0139954025, -0.0544538647, 0.0020398905, 0.0037836775, -0.0116616311, 0.1100121066, -0.0040972219, -0.0642443374, -0.0183247663, -0.0148316203, 0.0133793456, 0.0075957347, 0.0071347537, 0.0372017287, -0.0540371612, 0.0168629903, -0.0487428829, -0.0330007523, -0.0191383976, 0.0397316478, 0.0277159661, -0.020629786, -0.025294343, 0.0063607362, 0.0595046431, 0.0080990233, 0.0000018657, -0.0611466691, 0.0197834373, -0.0226751175, 0.0092288172, -0.0232011285, 0.0467291661, 0.0240042191, -0.0076490087, -0.022587534, -0.0127818193, 0.0350820981, 0.0555362217, 0.026577007, 0.0453739539, 0.0582096539, -0.0366490744, -0.0215176642, -0.0245011616, 0.030381741, 0.0083288671, 0.0127175814, -0.0569346696, 0.017315194, 0.0901069716, -0.046476163, -0.0200220458, 0.0250812788, 0.0063451519, -0.0147561468, -0.0202694256, 0.0510792136, 0.0325193256, -0.0432415865, -0.0350112729, 0.0836966634, 0.0264961217, 0.0312546641, 0.015320234, -0.033532545, 0.0110083036, 0.0088266833, -0.0531915091, 0.0846235231, -0.0114189005, 0.0081720669, -0.0515750833, 0.002208926, 0.0088174818, -0.0323388912, 0.0440268368, 0.0335563272, 0.0459354073, 0.0204466935, -0.081974715, 0.0197747108, 0.0351516455, -0.0897885263, 0.0035445481, 0.0523705669, -0.0072024222, 0.0195962545, -0.049020499, 0.0413205624, -0.0295938198, -0.052680321, 0.0202422477, 0.0274900403, -0.0260542538, 0.0206343699, 0.0234418698, 0.0477051139, 0.0330206342, -0.0042093368, 0.0047416338, 0.0516841374, -0.0208228994, -0.0074448176, -0.0274302606, 0.016020624, -0.0847292393, -0.043310523, -0.000091598, 0.0505103059, 0.0154917035, 0.0408747159, -0.0215105433, 0.0238637347, -0.0059890244, -0.0010641053, -0.0323003866, 0.0582465865, -0.0434930995, 0.0166428573, 0.0196953509, -0.0377557427, 0.0190585665, 0.0028658262, 0.0290383361, 0.0098114666, -0.0090707149, 0.0817039981, -0.0342252068, 0.0030579115, -0.0566334911, -0.0485327281, 0.0136014689, -0.0290983524, -0.0355879478, -0.058111392, 0.0555661619, -0.0108199585, 0.0252253879, -0.0287263189, 0.0162990913, 0.0084978407, 0.0172517151, 0.00392811, -0.020056013, 0.0270030331, 0.03076973, 0.0277512353, 0.0220501292, 0.0130621865, 0.0910830498, 0.0324801095, 0.063740924, 0.0179347117, 0.0302865319, 0.044772584, -0.0771809146, 0.0021426077, -0.0225749798, -0.0371277668, -0.0024638476, 0.0629885197, -0.0268342607, 0.0203611758, -0.0233121235, 0.0495119244, 0.0842806697, 0.0272152685, 0.0271234214, -0.0208667144, 0.1125994548, 0.041901309, -0.0049966839, 0.0215599854, -0.0165946577, 0.0638819933, 0.0709426254, 0.00201799, 0.0031015461, 0.0187552031, -0.0268158969, -0.0188469365, 0.0231053345, -0.0178587288, 0.0240335371, -0.0195368063, -0.012017888, 0.0057538068, -0.0875839293, -0.0026963418, 0.0128786238, -0.1085417271, 0.0583146065, -0.0090948371, 0.0572182573, 0.1026150882, 0.0298267063, 0.0180403609, -0.007873429, -0.0238688085, 0.0361849107, 0.0606517494, -0.0093099875, -0.0400992259, 0.021534998, -0.0350638516, 0.0023916259, -0.0554461032, 0.0044195461, 0.0647791699, -0.0376889855, 0.0239100344, -0.0238097366, 0.0010364865, -0.0173102356, 0.0304545574, -0.0744333714, -0.0361451246, -0.038052056, 0.022155622, -0.0178539045, 0.0225034598, -0.0603421107, -0.0216481797, 0.0274152141, -0.0045050611, -0.0496674329, 0.0549408384, -0.0095201349, -0.0085961698, 0.0326832235, -0.0585038587, 0.03626699, -0.0675708503, 0.0089480309, -0.0440455675, 0.0373199433, -0.006384878, 0.0336344838, -0.0020746654, 0.0150368782, 0.0071699726, -0.0190211777, 0.0107875001, 0.0134834731, 0.0016193715, -0.0067359642, 0.0033001616, 0.0365688503, -0.0109011019, -0.0094443224, 0.0526623055, 0.0448285714, 0.0056702439, 0.01537719, 0.0287872497, -0.0133829573, -0.0330832899, -0.0503914617, -0.0644219965, -0.0403109305, 0.032565143, -0.0425480641, 0.0099094724, 0.0302559659, -0.0487468056, 0.0098403227, -0.0315553211, 0.0102928635, 0.0256152414, -0.0017740321, 0.0078624226, 0.035461951, -0.0208429396, 0.0050266115, 0.0195284057, -0.0044984608, 0.0472570807, 0.0627214089, -0.0332969017, -0.0654729605, 0.0094433846, -0.0378427133, -0.0093751093, -0.0360332653, 0.0008340004, 0.0207811128, -0.0061391308, 0.0243468303, -0.0027900175, -0.0239210706, 0.0193067454, 0.062143106, -0.0887138918, -0.04445545, 0.0245333426, 0.0237186998, 0.0236684699, -0.0318690985, -0.0306934938, 0.0349100977, 0.0402231701, 0.0355053656, 0.0475838445, -0.0346050039, 0.0117027387, 0.0171789043, -0.0119129382, 0.0381146446, -0.0426096581, -0.0369061269, 0.0621295795, 0.0003587843, -0.009600101, 0.0483686589, -0.0785142481, -0.0224501509, 0.0253366288, -0.0128628789, -0.0367575698, 0.0489861518, -0.030429041, 0.0582324974, -0.0117469542, -0.0298367534, -0.0293462668, -0.0228018928, 0.0760252625, -0.0129961148, -0.0098482938, -0.0668482557, -0.0223614164, 0.0168741941, -0.0012925144, -0.0114637539, 0.0090692593, -0.0195154212, -0.0413567573, -0.0262064636, -0.0299717914, -0.0932077393, 0.017339034, 0.0034717044, 0.0455943383, -0.0082836719, -0.0101295887, -0.0278334785, -0.000290182, 0.0367060229, 0.0080322782, -0.0507222489, -0.017024491, 0.0782257989, 0.0188731737, -0.0265428443, -0.0321270525, 0.0191074684, 0.0270661116, 0.0356551036, -0.0204468314, -0.0248044953, 0.0322587676, 0.0701691285, -0.0373372547, 0.0139538283, 0.0949889943, 0.0038590925, -0.0324397236, 0.0124382526, -0.0063102208, -0.0425126404, 0.0140510136, 0.0080947857, -0.0756303445, -0.020018518, 0.009587016, 0.0273081549, 0.0127986427, -0.0245367102, -0.0472774953, -0.0438542776, 0.0776662007, 0.0128323957, 0.0433198661, 0.0049063014, -0.0145070152, 0.0061145951, 0.034432292, -0.0004192831, 0.0192748383, -0.0436890982, 0.0001654548, -0.0252028313, 0.0125649432, -0.0004844835, -0.0233350396, -0.0290345848, 0.0544553325, 0.0613339953, 0.0423862301, -0.0057806489, -0.0148146413, -0.0318091661, 0.0499874428, 0.0411881395, 0.005578124, 0.0109561048, -0.0345172063, 0.0078237634, -0.0230098609, 0.0461410172, 0.0359280072, -0.0694173202, 0.0340980627, 0.0270075221, -0.021932859, -0.0286614597, -0.0338988677, 0.0605681874, 0.0208920036, 0.0446034111, 0.0099155428, -0.0678791329, -0.0280214678, -0.013711106, -0.0043180101, -0.0100907786, -0.0450340733, -0.0194230098, -0.0424547791, 0.0161768235, -0.0388629064, -0.0365344584, 0.0381909162, 0.0554998592, 0.0211292151, -0.0109895337, -0.0243358165, 0.0159333665, -0.0467229858, -0.0103290481, -0.0133004934, 0.002688013, -0.0440673456, 0.0009364419, 0.0016839795, -0.0873915255, 0.0214574412, 0.0219224989, -0.0509967171, -0.0463542305, -0.0267969463, 0.011948999, 0.0161206033, 0.0424189642, 0.034268111, -0.0334807932, 0.0493210703, 0.0093395403, -0.0737898573, 0.0496180914, -0.0211641733, 0.0730830058, -0.014279875, -0.0207622405, -0.0713833272, -0.0124637065, 0.0009504644, 0.077429004, -0.0071010971, -0.0256253835, 0.0143069858, 0.0149065154, -0.0483215265, -0.0759821013, -0.0036133286, -0.0552866831, -0.0280367434, -0.0294841453, -0.02089612, -0.0475258343, 0.0428658873, -0.0190037452, -0.0061838389, 0.0118294442, 0.0120818252, -0.0494005866, -0.0066771903, -0.0130670806, 0.0014539564, 0.0012901082, -0.0419527404, 0.0340305306, 0.007121013, 0.0058615338, 0.0799009874, -0.0569729656, 0.041411832, 0.0021546478, 0.047625035, -0.001304787, -0.0155485654, -0.0136142494, 0.0270957053, 0.0098000728, -0.0164921116, -0.0053261584, 0.0789127722, 0.062861748, 0.0287159774, 0.0273409784, -0.0234103315, 0.0183829442, 0.0097821215, -0.0098949214, 0.0225154553, -0.0612306409, -0.0498143509, 0.0106598698, -0.0060609276, 0.0077951872, 0.0440956354, -0.0377339236, 0.0440897197, -0.0240135044, -0.0133864824, -0.0431418605, -0.0127069997, 0.0103964647, 0.0298480466, -0.0052087554, 0.0004677824, -0.0674571469, -0.0207513813, -0.0100094704, 0.0179917142, -0.0072357128, -0.0349367373, 0.0180468466, 0.0241058618, 0.0223106127, 0.0156640224, -0.033042293, -0.0154036591, -0.0170206949, -0.028302528, -0.0122419186, -5.474291885e-33, -0.0351311751, -0.0545225255, 0.0356459767, 0.0279264692, -0.0392077006, -0.0075803851, -0.0333317816, 0.0177760553, 0.0588237457, 0.0186502915, 0.0093343174, -0.0194148067, 0.0000066584, 0.0074182041, -0.0153453024, -0.0028680789, 0.0629823059, 0.0134909032, -0.0578927808, 0.0239646584, 0.0183555186, 0.0360237174, 0.0072621894, -0.0464417823, 0.0035776501, -0.0264840815, -0.0436947718, 0.0088978233, 0.0516550951, 0.0155792385, 0.0181454979, 0.0120367836, 0.0144659551, -0.0173589941, 0.0122895278, 0.0194580164, -0.0352714248, -0.0236351881, 0.0284156818, 0.0166292563, -0.0214742962, -0.0424256101, 0.0046941927, -0.0418865122, -0.0173602998, -0.0023510491, 0.0506130569, 0.0094690556, 0.0317889936, -0.022601828, -0.096109435, -0.0007107696, -0.029251663, -0.0461206809, -0.0106931198, 0.0371866114, 0.0383050852, -0.0452431999, -0.0436444841, 0.0810058787, -0.0367498696, -0.0041240253, 0.0571570247, -0.0114036612, -0.0401005447, 0.090770252, 0.0354431458, -0.0257895943, -0.0777415931, 0.0669728592, -0.0201944392, 0.0449851379, -0.0002530957, 0.0637753978, -0.050926704, -0.0106280781, -0.001551136, 0.0759005398, 0.0270847902, -0.0000286034, 0.0072944821, 0.0251956992, 0.0011396449, 0.0013374031, -0.0321843997, -0.0503573604, -0.0160256997, -0.0748849362, 0.0406018831, -0.0263524894, 0.0201169942, -0.0596871115, 0.0248744879, -0.0079711471, -0.0039777425, 0.0060668578, -0.0316485167, 0.059972167, -0.0111999195, 0.007908171, 0.0582309999, -0.0038915144, 0.0537003912, 0.0148737701, 0.0522058569, 0.0178451147, -0.026840305, 0.0806473047, 0.0003921249, 0.0107731195, 0.0123740379, 0.019827079, 0.0339180268, -0.0140004857, -0.0025737002, -0.0386146456, -0.0487995297, -0.0028151202, -0.0107268281, -0.0199972223, 0.0262684375, -0.039581161, -0.031113781, 0.0186891854, -0.0747719929, 0.0226695929, -0.0657884181, -0.0142828831, 0.045158755, -0.0447275564, -0.0300300773, 0.0280362144, 2.757e-7, -0.0647841245, 0.0027519388, 0.0008567853, 0.0125254737, 0.0321415178, 0.0493390672, -0.0045350315, 0.0074276868, -0.0033007879, -0.0184305049, 0.0182819664, 0.0134652695, 0.0285104178, 0.0195405073, -0.1119045019, 0.0049026594, -0.0103566013, -0.0115545075, -0.0560743324, 0.01910224, 0.0654800013, -0.0082663512, 0.0431191996, -0.0256666075, 0.0101433294, -0.0428908356, 0.0144219538, -0.0157104135, -0.0156134004, 0.0138808098, -0.0526221804, -0.0362447649, -0.0253596436, -0.0606302135, -0.0058484948, 0.0174759533, 0.0180192851, 0.0715065151, -0.0003652254, 0.0020900827, 0.0078370851, 0.0015386599, -0.0050635017, -0.0043988354, 0.0341037512, 0.0043720002, -0.032059405, -0.021341078, -0.024693368, -0.0331581682, -0.0523023382, -0.0505218506, -0.0068836277, 0.0123117939, 0.0122112762, 0.0023195692, -0.0233521126, -0.0448447913, 0.0040959157, -0.0075612417, -0.027294321, -0.0258067902, -0.0153538855, -0.0034373666, 0.0007364531, -0.0615677573, 0.0075083859, 2.361373919e-34, -0.0245608203, 0.0193485823, -0.018607514, 0.015642589, 0.0499479249, 0.0581301898, 0.0228743218, 0.0124943461, 0.0170019101, -0.0568556339, -0.0475882329 ]
http://arxiv.org/abs/2407.03190v1
http://arxiv.org/pdf/2407.03190v1
Cutting through the noise to motivate people: A comprehensive analysis of COVID-19 social media posts de/motivating vaccination
2024-06-15T02:36:11
2024-06-15T02:36:11
Ashiqur Rahman, Ehsan Mohammadi, Hamed Alhoori
cs.CY
cs.CY, cs.CL, cs.LG, cs.SI
The COVID-19 pandemic exposed significant weaknesses in the healthcare information system. The overwhelming volume of misinformation on social media and other socioeconomic factors created extraordinary challenges to motivate people to take proper precautions and get vaccinated. In this context, our work explored a novel direction by analyzing an extensive dataset collected over two years, identifying the topics de/motivating the public about COVID-19 vaccination. We analyzed these topics based on time, geographic location, and political orientation. We noticed that while the motivating topics remain the same over time and geographic location, the demotivating topics rapidly. We also identified that intrinsic motivation, rather than external mandate, is more advantageous to inspire the public. This study addresses scientific communication and public motivation in social media. It can help public health officials, policymakers, and social media platforms develop more effective messaging strategies to cut through the noise of misinformation and educate the public about scientific findings.
[ 0.0362522453, 0.0863753408, 0.0147317052, -0.0661266297, 0.0059521762, -0.0036244933, -0.0198657271, -0.0269253775, 0.0178498738, 0.0256788973, 0.034061376, 0.0239534788, 0.0279512461, 0.0105728833, 0.0109969359, -0.0601614751, -0.0078414045, 0.0466494821, 0.1010060534, 0.0079868753, 0.0247372761, 0.0119508309, 0.0102058761, 0.0356176756, 0.0543533824, -0.0273078419, 0.0563808419, 0.0034211429, 0.0551843345, -0.1270422935, 0.0534527078, -0.015594217, 0.035271313, 0.0014386122, 0.0000019597, -0.0257089157, 0.0126200421, -0.0018483356, -0.0365222134, -0.022377234, 0.0853740647, -0.0229053516, -0.015986383, 0.0192915183, -0.0404717587, -0.0015094462, 0.0540692061, 0.0282286014, -0.0002394594, 0.0288418904, -0.025785584, -0.0388307646, -0.0222996958, 0.0179375969, 0.0078735203, 0.0647937283, 0.006186082, -0.0098343305, 0.021331301, 0.0469867028, 0.0798808783, 0.0203697551, -0.0560331419, -0.0280121565, 0.0114195682, 0.0683711842, -0.0001653599, -0.0392983109, 0.0094668772, 0.0171171986, 0.0501960851, -0.0101620248, 0.0581940375, -0.0046128705, 0.016953256, 0.0312836729, -0.0668884143, -0.0119065968, 0.0015004239, 0.0381190926, 0.0205688253, 0.0507391207, 0.0487031154, 0.0323609337, 0.0496163853, -0.0007852449, -0.021269029, -0.0246148594, -0.0100129088, -0.0307892524, 0.066187866, -0.0557113327, -0.011838668, 0.0031821004, 0.0205503982, 0.0241455846, 0.0399602354, -0.0466240384, 0.0596607663, -0.1146526635, -0.0493384749, -0.0225847661, 0.0279735178, 0.0152608417, 0.0808657706, -0.0743627846, -0.0246323366, 0.0314940475, 0.0508666113, 0.060320843, -0.0444571599, 0.0237917565, -0.0096731093, -0.0016448458, 0.0427450538, 0.0238721985, -0.0321337804, -0.042874258, -0.0427291319, -0.018280834, -0.0742977783, 0.0085480353, -0.0002830379, 0.0016275377, 0.0306828264, 0.0639508516, -0.0188605431, 0.000135932, 0.0063526561, 0.0289595257, 0.0161250681, -0.0235041101, 0.0511414669, 0.0133190909, 0.0066470099, -0.0179139394, 0.0175908357, -0.0124056544, -0.0245993137, -0.0032493342, 0.0035195872, 0.0002559243, -0.0134247644, -0.0200210176, 0.0046878527, 0.0287697092, -0.0025847189, -0.0102730999, -0.0178830735, 0.001856429, -0.0746591389, -0.0028177008, -0.0201719254, 0.0184341744, 0.0694143698, 0.0575317889, 0.039230518, -0.0015971696, -0.0056792558, 0.0642113686, 0.0321330652, -0.0252894536, 0.015846299, -0.0090486249, 0.0594661869, 0.0205198973, 0.0630915239, 0.0048480253, -0.0379704125, -0.0002530893, -0.0815105215, 0.0362188444, -0.0187446848, 0.080988951, 0.0279554408, 0.0328254066, -0.0207995046, -0.0811517462, -0.0324960165, 0.0617550388, -0.0197774507, -0.0579341203, 0.006743954, -0.0066836793, -0.0047275247, -0.0095147835, 0.0438956395, 0.0334150009, -0.0539666042, 0.0230566971, -0.0311950911, 0.0068601123, 0.0536509044, -0.0044477056, 0.0082397833, -0.0298892651, -0.0341331773, -0.0024948544, 0.0416503325, -0.0283744074, -0.0065686363, -0.0465094261, 0.0419797823, 0.0374361612, -0.0211517587, 0.0454508699, -0.0481314994, -0.0546641871, 0.0756568834, 0.0125291012, 0.0168489367, -0.0173168108, -0.0703333318, 0.0042937682, -0.0173119325, -0.0278861206, 0.0214773826, -0.0250953175, 0.0322319008, 0.0347938873, -0.0360942036, 0.0085790576, -0.0319371037, 0.0024152061, 0.0066783149, 0.008819757, -0.0552678034, 0.0389056951, 0.0693348348, 0.0556431115, 0.0658756346, 0.00856221, 0.0429401547, -0.0110719092, 0.0111288121, 0.0213184878, 0.0567193776, 0.0890546739, -0.010239671, -0.0643240809, -0.0061864997, -0.0201309361, -0.0058511868, 0.0632564649, 0.0508050323, -0.0035747141, 0.0162726045, 0.029702371, -0.0419112556, 0.0054746587, -0.0053902147, 0.0303839091, 0.0290053468, -0.0255682189, -0.0435936227, 0.0396993384, -0.0829541311, -0.0275099929, -0.0121167433, 0.0622275732, -0.0376323387, -0.0065385085, -0.0062936121, 0.0129070133, -0.0458870083, -0.0366513655, 0.0144618591, -0.0230979659, -0.0428883173, 0.0016262087, 0.0059680906, 0.0406110696, 0.0296337735, -0.003277021, -0.0038993226, -0.0153343063, -0.0004127325, 0.0392616056, 0.0273060817, 0.0057202363, 0.0186426751, 0.014379276, -0.0123066697, 0.0165300779, -0.0326309055, -0.0054138973, 0.0708957687, -0.0521389544, -0.0108522931, -0.0467907637, -0.0449008495, -0.0293557905, -0.0202752221, -0.0110664712, 0.0214737784, 0.0105398642, 0.0144687975, -0.0328257307, 0.0396849774, 0.0287576616, 0.0258952267, 0.0216151811, -0.0125275897, -0.0067126164, -0.0640539899, 0.008705264, 0.0161866713, -0.0642610788, 0.0460724831, 0.0153757678, 0.0083989222, 0.0523380376, -0.012050787, 0.0586458668, -0.0581498593, -0.0033891362, -0.0643633753, -0.0142557751, -0.0058977464, 0.0308577679, -0.0182525534, -0.0251571052, -0.0275392141, 0.0539284237, 0.0547427572, -0.0069359052, -0.0160010569, -0.0001535121, -0.0344787426, -0.036417909, 0.0090868343, 0.0584944598, 0.0024631731, 0.0775027424, -0.0658339858, -0.0120493397, -0.0466379784, -0.0399735272, 0.0275433157, -0.0018121557, 0.0149936778, -0.0186931826, -0.0123837553, -0.1020913199, -0.0550371297, -0.0575201996, 0.0076396954, -0.0188708454, -0.0269618351, -0.0206674766, 0.0305040665, 0.0106906956, 0.0543907881, -0.0260417536, 0.0591605902, -0.0347399935, 0.0119088432, -0.0347682387, 0.005091079, -0.0318077132, -0.0194453597, 0.021486599, 0.0341453515, -0.0358401947, -0.0268270094, -0.0465294123, 0.010958205, 0.027183136, -0.0010418079, 0.009613079, 0.0667885989, 0.0274342503, 0.0373577178, 0.0181280226, -0.0149543947, 0.0249559041, 0.0065198699, -0.0508985892, 0.005599271, -0.0230540838, 0.0272766314, -0.0462168977, 0.0212853309, -0.0176051855, 0.0043651951, -0.0522260778, 0.0243621171, -0.0332119875, 0.0010776197, 0.0618991666, 0.0216190293, 0.0344246738, 0.0112697594, -0.0426241793, 0.0322974622, 0.0076323994, -0.0214272346, -0.0386774354, 0.0258746594, -0.0293402895, -0.0228004418, -0.0548465475, -0.0599398352, -0.0024890667, 0.0147306388, 0.0278649274, 0.0277546048, 0.0841897503, 0.0111063346, -0.0796388239, 0.0002897913, 0.0358363055, -0.0309422165, -0.0123560736, 0.1031841189, -0.0301240105, 0.026635997, -0.0587220378, 0.054488387, -0.0230097026, -0.0256352872, -0.025321424, 0.0482466295, 0.0331969038, -0.0724456832, -0.0373553596, 0.032015603, 0.0402428806, 0.0272505339, -0.0010676309, 0.0153890867, 0.0449497104, 0.015174292, 0.0556052476, -0.009291403, -0.0104684113, -0.0332904421, -0.0226232484, -0.0474036932, -0.0051751425, -0.0054264674, -0.0118219005, -0.0550605394, -0.0049892459, -0.0464860126, 0.0243530907, -0.0132932607, -0.0043254783, -0.0012959746, -0.0064900783, 0.001822594, -0.0154863289, -0.0428626798, -0.0264697075, 0.0039173625, 0.0011252936, 0.0062661655, -0.030185014, -0.0121769803, 0.0023439995, -0.0202732682, 0.0154001433, 0.0184022766, 0.0241080485, 0.0368261412, 0.0543271229, 0.0515348688, -0.023243865, -0.0630108714, 0.0108132204, 0.0247135293, 0.0105734868, -0.029275937, 0.0496555679, 0.0040146066, 0.0216948278, -0.0221169405, -0.0536812022, 0.0532452241, 0.0242982842, 0.0037158355, 0.0470203683, -0.0282460321, -0.0515911989, -0.0302447099, -0.0550191775, 0.0229068045, -0.0177002624, 0.017737506, -0.0382750668, -0.0034535956, -0.0058125244, -0.0608065799, 0.0185629483, -0.0267931279, -0.011796983, -0.0898214355, 0.0300959516, -0.0193922259, 0.0595528223, 0.0034123985, -0.0221466105, 0.0207801126, 0.0430377759, -0.0168823823, 0.0076593561, -0.0076232841, 0.0096416622, -0.0219701901, -0.0180805419, 0.0487539954, 0.0203218814, -0.0328540429, -0.037355233, -0.0274835415, 0.0050842809, -0.0043928125, 0.0298649762, 0.0774665177, 0.0221661869, -0.0366725102, -0.0108660832, 0.0346782207, -0.0243319999, -0.0223564375, 0.0003549044, -0.0350267626, -0.0352494828, -0.0129493019, 0.0017034017, -0.0609999821, 0.0413443334, 0.004610002, -0.009203474, -0.0122020431, 0.0260066688, 0.0060307318, 0.0222300794, -0.0095700752, 0.029216215, -0.055744756, 0.0206542239, 0.0192320496, -0.0287771877, -0.0395390466, -0.0019565225, -0.005331235, 0.0001862748, -0.0146144228, -0.0008304173, 0.0006505979, 0.0249769669, -0.0285204221, -0.028835753, -0.0124997012, -6.324015609e-33, 0.0445528403, -0.0410615951, -0.0012412093, -0.0172615666, -0.0435549021, 0.0465244278, -0.0338247828, -0.0062384922, 0.0052010459, 0.0381016247, -0.0124528641, -0.0055911597, 0.0003006227, -0.0207056925, 0.0298253372, -0.0350309461, 0.0411489978, -0.0290799756, -0.025291767, 0.0300334767, 0.020573467, 0.0037585571, -0.0053252075, -0.0796121284, 0.0599755943, -0.0007124433, -0.0138773685, -0.0000863531, 0.0515921116, -0.010293466, -0.0171286631, -0.0133649157, 0.0226569045, -0.0288368296, -0.0008174644, 0.0968004689, -0.024785107, -0.0588560216, 0.023328675, -0.0810592324, -0.0623992756, -0.0600128546, 0.0299622919, 0.001329306, -0.0269020293, 0.0183421466, -0.0118641034, 0.0231913105, 0.0619796328, 0.0136317695, -0.0373617783, 0.0098370714, -0.0045872903, 0.0364577845, -0.025050085, 0.1065718457, -0.0450151004, 0.0988008156, -0.0231319107, 0.0730093122, -0.0045736451, -0.0099606272, 0.0283668004, -0.0312532187, 0.0155012393, 0.0271793772, -0.000569084, -0.0070256665, -0.0920909122, 0.0121640628, -0.0221056622, 0.0118620098, 0.0291359108, 0.0618857555, 0.0105004525, -0.0435855016, -0.0510472283, 0.0190200973, -0.0426253267, -0.0035812103, 0.0277598407, -0.0121878376, -0.0420132242, 0.0010657276, 0.0090550464, -0.0202620737, -0.0071232282, -0.0149319069, -0.0236020163, 0.0348108523, -0.0562740527, -0.0022514968, -0.0405861661, 0.0149128381, -0.0298400354, 0.0283608995, 0.0507381223, 0.0004125809, 0.0020037182, -0.0337052569, -0.0762969255, 0.0521847047, -0.0236926563, 0.0538061447, 0.0281489175, 0.0279754978, 0.0003533573, -0.0164004434, -0.0172090977, -0.0011764744, 0.0140856849, 0.0252953675, -0.0550894625, -0.0485747047, 0.0555910282, 0.0406472981, 0.0351736024, -0.0419902988, 0.0388955586, 0.0294232368, 0.0278920624, -0.0316908956, -0.0591507293, 0.0491646342, -0.0157636739, 0.0342466719, -0.0279478841, 0.001257954, -0.0209444966, -0.0725043118, 0.0107302293, -0.0654877275, 2.753e-7, 0.0227094349, 0.0579405576, -0.0364897549, -0.0074565052, 0.0150280315, 0.0181695726, -0.0138481474, -0.030908538, 0.0045699407, -0.0530443527, 0.0151850227, 0.0096238768, -0.0247225873, 0.0301991329, -0.0307475794, -0.0104307542, -0.03959205, 0.0049223043, 0.0008368216, 0.0063629048, -0.0030297623, -0.039335683, 0.0067041619, 0.0112988995, -0.0494995192, 0.0465280339, 0.0450757444, -0.0609681234, -0.0364483036, -0.0160822943, -0.0013892138, 0.0047456468, -0.0197791159, -0.0152013563, -0.0196625628, -0.0787924752, -0.0511247851, 0.0040572584, 0.018358741, 0.0164282117, -0.0140152834, 0.0029942968, -0.0100821964, -0.011069336, -0.0024161695, -0.0688557848, -0.0737868473, -0.0448218547, -0.028590953, 0.0305402707, 0.0252908748, 0.0083630616, -0.0740097612, -0.0392497554, 0.01916725, 0.0315624774, -0.0319732279, -0.0427857228, 0.0208302103, -0.0361104682, -0.0071339062, -0.0442038104, 0.01082139, 0.0181644596, -0.0288259536, 0.0064449701, 0.0606136881, 1.587052946e-34, 0.0131516634, -0.0097217886, -0.0239604376, -0.095109731, -0.0079089478, -0.0085971244, -0.0272886883, -0.0372166112, 0.0327914059, -0.0023090099, 0.020936599 ]
http://arxiv.org/abs/2406.10471v1
http://arxiv.org/pdf/2406.10471v1
Personalized Pieces: Efficient Personalized Large Language Models through Collaborative Efforts
2024-06-15T02:26:18
2024-06-15T02:26:18
Zhaoxuan Tan, Zheyuan Liu, Meng Jiang
cs.CL
cs.CL
Personalized large language models (LLMs) aim to tailor interactions, content, and recommendations to individual user preferences. While parameter-efficient fine-tuning (PEFT) methods excel in performance and generalization, they are costly and limit communal benefits when used individually. To this end, we introduce Personalized Pieces (Per-Pcs), a framework that allows users to safely share and assemble personalized PEFT efficiently with collaborative efforts. Per-Pcs involves selecting sharers, breaking their PEFT into pieces, and training gates for each piece. These pieces are added to a pool, from which target users can select and assemble personalized PEFT using their history data. This approach preserves privacy and enables fine-grained user modeling without excessive storage and computation demands. Experimental results show Per-Pcs outperforms non-personalized and PEFT retrieval baselines, offering performance comparable to OPPU with significantly lower resource use across six tasks. Further analysis highlights Per-Pcs's robustness concerning sharer count and selection strategy, pieces sharing ratio, and scalability in computation time and storage space. Per-Pcs's modularity promotes safe sharing, making LLM personalization more efficient, effective, and widely accessible through collaborative efforts.
[ 0.0711957291, 0.0836209133, -0.0259183496, 0.0291249286, -0.0355063193, -0.0235504843, 0.0780421644, -0.0135735916, 0.0124483174, -0.0131039787, -0.0685971528, -0.0599343628, -0.0367502794, 0.0305844825, -0.0327657424, -0.0445473567, 0.0220211409, -0.0382142402, -0.0031011307, -0.0311393738, -0.0044130287, 0.0289014913, 0.0487784185, 0.028446639, 0.0486726575, 0.0113786934, 0.0015388426, -0.0049604862, -0.0200627595, -0.0023685165, 0.0177753493, 0.1025057137, 0.0166887194, 0.0168521814, 0.0000021606, -0.0167127866, -0.0626197234, -0.0069573331, -0.0004568313, 0.035774909, 0.075505197, 0.0763841793, 0.0075692642, 0.0037106399, -0.0364001356, 0.0242975913, 0.0393694751, 0.0085545164, 0.050073836, 0.0359953046, 0.0078602703, 0.0088726105, -0.0345407948, -0.0471786335, 0.0462005585, -0.0502999313, 0.0240766276, -0.0404419713, 0.0049304478, 0.008751709, -0.0019069103, 0.0143312663, 0.0054767029, 0.0031183115, 0.0360124484, 0.0159217585, -0.0287119169, -0.0227486026, 0.0034677577, 0.0716887936, 0.0154050197, -0.0077921329, 0.0179646928, 0.00953741, -0.013848545, 0.0368767045, -0.0422048196, 0.0054181474, -0.0131300818, 0.0165129099, -0.0157574192, -0.007353893, 0.0264254157, 0.0480734855, 0.0132186571, 0.0653371885, 0.0212810282, -0.0046352069, -0.0232106298, -0.0245308485, -0.0037617513, -0.034475863, 0.0698093846, -0.0174169131, -0.0045780716, 0.0075554242, -0.0523209088, 0.0015795608, 0.0145806, -0.0271647554, 0.0599925667, 0.0184873194, 0.0288847703, 0.0542362183, 0.0049780244, -0.0028121329, -0.0031581786, -0.0118628312, -0.024528848, 0.0019123342, -0.0511977449, 0.0080988836, -0.0397492014, 0.0598538592, -0.0555519462, -0.0197372995, -0.0376539156, 0.062569581, 0.0064655533, -0.0039408864, 0.0482104905, 0.0374635719, -0.0097775422, -0.0213821493, -0.0027914452, 0.0000721775, -0.0556475669, -0.0273485873, 0.0236061383, -0.0297886487, 0.0195201226, -0.0253307112, 0.020943772, -0.0498941354, 0.0034236361, 0.0080555165, 0.0046851104, -0.0486236662, 0.0082125412, -0.0651356429, -0.0028374882, -0.0525719449, -0.0484593548, -0.0827320069, 0.0477384776, 0.0065967231, 0.0137442639, -0.0596357621, -0.0124261891, 0.0195440259, -0.0522733591, 0.035640385, 0.0017260584, -0.0014016927, 0.0075648627, 0.0396777019, 0.0144004626, 0.0428447649, -0.0017128253, 0.0767195597, 0.0571558401, -0.0090793492, -0.0298867077, 0.0238616765, 0.0026198421, 0.021967724, -0.0185268763, 0.0040870369, 0.0195414275, -0.0106245261, -0.0221755877, 0.0475423522, -0.04111306, -0.0329773985, 0.0626208633, 0.0891113803, 0.0276911967, 0.0651492998, -0.0179354604, 0.0321029015, -0.0050630048, -0.0490466394, -0.0306361523, 0.021902984, -0.0178502593, -0.0410412848, 0.0602594092, 0.0441963971, -0.0269195214, 0.0142125115, 0.0205842573, -0.0343810469, 0.0347656533, 0.0434108488, 0.0336686447, -0.0341398083, 0.00685975, 0.0757012442, 0.0462791882, -0.0777126253, 0.0269979909, -0.0352011919, 0.0467850193, 0.1334746331, 0.0435529463, 0.0083405105, 0.0273416601, -0.00509586, 0.0160563868, -0.0478133187, 0.0569164455, -0.0029900582, 0.0170723759, -0.0542464256, -0.0523625091, 0.0263315775, 0.0020336874, 0.0364881642, 0.0546785779, -0.0135158924, 0.0241180435, -0.0098104971, -0.0022085474, -0.018587295, -0.022959061, -0.0114950826, 0.0256606247, 0.0080490774, 0.0219599418, 0.0337240063, 0.0282557309, -0.0214121398, 0.0125610651, -0.001578062, 0.0111950459, -0.0277760848, -0.0194410887, 0.0509303659, 0.0101234252, 0.016534593, 0.0445191786, 0.0330689102, -0.0012101819, -0.0278409589, 0.0196279604, 0.0088160345, 0.0451555848, -0.0209487379, 0.0181628056, -0.0285003074, 0.010350829, -0.040819075, 0.0287311822, -0.02052675, -0.0002518516, -0.0116541171, -0.0069723744, 0.0020344669, -0.0586711094, -0.0350851081, 0.0112218438, 0.0252668727, 0.0144830979, 0.0477405116, 0.0032749209, -0.0499189943, -0.036231298, -0.0995277315, 0.02885646, -0.0167070311, 0.0221932512, 0.0050863866, 0.0405089445, -0.0102112498, -0.0239095632, -0.0366117805, 0.0303323027, -0.0340446793, 0.0572642498, -0.0370794572, 0.0205128603, -0.0472055636, -0.0272358488, -0.0499680825, 0.0174194667, 0.015289736, -0.0136721199, -0.0023670176, -0.0347532518, -0.0305299796, -0.0528847761, 0.0148169445, -0.0132220648, -0.0225718115, -0.0121540735, -0.0525600091, 0.0190011635, 0.0421682, 0.0006036407, 0.0292356126, 0.043101117, -0.0058439844, -0.0636781231, -0.0015286943, -0.0297449548, -0.0286171995, -0.0298649594, -0.0322003365, 0.0136414031, 0.03188131, -0.0137147577, -0.0108683435, -0.0584612377, 0.0120786838, -0.001997303, -0.017813744, -0.0319505893, -0.0123438761, -0.0087058144, 0.0116957361, -0.0007804223, -0.0487050936, 0.0744481012, 0.0022274794, 0.0175924543, -0.0058762599, -0.0613412522, -0.0130306063, 0.0701765716, 0.0070776967, 0.0578136295, -0.0221380275, -0.026740998, -0.0253697932, 0.0156045733, 0.0423417464, -0.0500239469, -0.0065253261, -0.0296087395, -0.0157100055, 0.0100582056, -0.0554250292, -0.0107700666, -0.0795960128, -0.0305293966, -0.0132099716, 0.028133627, -0.0475258939, -0.0309885722, 0.0177247562, 0.0057831011, 0.0036695627, -0.030429041, 0.0174397528, -0.0007326705, -0.0366464183, 0.0595660768, -0.0218463186, -0.0249249004, -0.0394195728, -0.0283444449, 0.0601219125, 0.0845450237, -0.0348280743, 0.021083653, -0.0161511153, 0.0757661983, -0.0245998707, -0.0366592593, 0.0438861325, 0.0409716554, -0.0445408635, 0.0029943024, 0.0868390724, 0.031882979, -0.1278298944, -0.0335642211, 0.0055423463, 0.0264650062, -0.0047701215, 0.0461440869, -0.0749831423, -0.0132502513, 0.0090532266, 0.0432468988, 0.0220594592, -0.0509132855, -0.0222685747, -0.0923397169, -0.0060663885, 0.0296237506, -0.020470446, 0.0180061609, -0.0564600229, 0.0021514196, -0.011538283, 0.0022311134, 0.0009027561, -0.0160235316, -0.0056449664, -0.0043082223, 0.0043658661, -0.0350727066, 0.0250606053, -0.0409018807, 0.0463745669, 0.0317523256, 0.0042354269, 0.0228803176, -0.048641663, 0.0393076316, 0.0151813095, 0.0019982576, -0.0338976122, 0.0333137885, -0.0218950678, 0.0181897748, -0.02721495, 0.0267387051, 0.010731034, -0.015266126, -0.0213466529, 0.047072202, -0.0109793805, 0.0057639554, 0.0038994157, -0.0279658698, 0.0132402796, 0.087097697, 0.0092526004, -0.0754642189, 0.017945664, -0.0414779224, -0.0089570424, -0.008706159, -0.0008590294, -0.0059020845, -0.018840488, -0.0069601568, -0.0374200419, 0.007642386, 0.0140222237, 0.0259589702, 0.0206977725, 0.0436496511, -0.0038020685, -0.0208156407, -0.0227212012, 0.0344148874, -0.0734165758, 0.0047848783, -0.0958478898, -0.030300945, 0.011934679, -0.0392979458, 0.0178761203, 0.0034850398, -0.0724555999, -0.0793157592, 0.0281771701, 0.0478690639, 0.0192148518, 0.026562348, -0.0041104727, -0.1435732394, 0.0416734889, 0.015008132, -0.0442494489, -0.0103506977, -0.0012638876, -0.0099438857, -0.0134153459, 0.0479680374, -0.051963374, -0.0345459096, 0.0127112139, -0.0122376885, -0.0143792098, -0.0562437885, -0.0148892868, 0.0290769748, 0.0373538174, -0.0118634887, 0.0055274856, -0.023804212, 0.0436457843, -0.0159038138, -0.0182069298, -0.0324580185, -0.0267505534, 0.0456193648, -0.0481657721, 0.0142476857, 0.0020248236, 0.0441161469, 0.0215832945, -0.0689425841, 0.0221097209, -0.0392785668, -0.0183298998, 0.0597923733, 0.0440678708, -0.0187912397, 0.0350392982, 0.0157476049, 0.0429654568, -0.0347308405, 0.0351876542, -0.0181058291, -0.024310397, -0.0524476953, 0.0669781715, -0.0154350754, -0.0814811066, 0.0093228174, 0.0068390444, 0.0241769012, -0.009320817, 0.0336504132, -0.0452676825, -0.020521123, -0.0449434407, 0.0014196663, -0.0140932351, -0.0221339166, -0.0081996573, 0.0192918535, -0.0012228154, 0.0259290449, 0.0795620978, 0.0033798271, -0.000848457, -0.0195731632, -0.047253076, -0.0295340586, 0.0115495408, -0.0097838901, 0.0796719342, -0.0704254732, -0.020928584, -0.0235070605, -0.0270111449, -0.0179325081, -0.0290716235, -0.0138574857, 0.004443462, 0.0654634014, 0.0625363961, -0.0283499826, -0.0198191646, -0.0665444359, -0.0073622186, 0.0249762032, -0.0100641306, 0.0042064972, -6.937016077e-33, 0.001702407, -0.0111440327, 0.0004960495, 0.0200493466, 0.0096039912, -0.0270698965, -0.011192265, 0.0259684511, 0.0192282628, -0.0374940597, -0.035329476, -0.024050165, 0.024606945, 0.0135510908, 0.0143523514, 0.000582588, 0.0768452063, 0.0235668588, -0.0130388038, 0.0311036333, 0.0593953133, 0.057100445, 0.0194637422, -0.0569103956, 0.0033844847, -0.0101053612, -0.0085788155, 0.0114461854, 0.0090170335, 0.0524843186, 0.0062511167, 0.0181411412, -0.0112813702, 0.0057464438, -0.0093086762, 0.0162724983, -0.0611909889, -0.004708115, 0.0486848727, -0.0068436349, 0.0198204778, -0.0582847074, 0.0352440327, -0.0024487439, -0.0049075433, 0.0045189257, 0.0112688644, 0.0005020288, -0.0513343327, 0.0157556795, 0.0228049066, 0.0094791092, 0.0226591285, 0.0172729827, 0.0573697574, -0.0124955075, -0.0207399577, 0.0110489912, -0.0419987515, 0.0440656617, 0.0093430979, 0.0156631041, 0.0445636511, 0.0070939208, 0.0343466364, 0.0614445731, 0.0585563593, 0.0172500629, 0.0237906892, -0.0125635164, 0.0184327643, 0.0497603789, -0.013372967, 0.0445263386, 0.0076784529, -0.0295376666, -0.0159580428, 0.0053102779, 0.0288364422, -0.007802655, 0.0582951866, 0.0454921164, -0.0450564921, -0.0170132462, -0.0421653166, 0.0235199202, -0.0509853326, -0.0565360151, 0.0168589391, 0.0427864566, -0.0568521656, -0.0191239938, 0.0513881445, -0.0396480262, -0.0412007794, 0.0078380955, 0.0202497058, -0.0026720252, 0.0102134673, 0.0018651106, -0.0780256763, -0.0045031374, -0.016982263, -0.0912411436, -0.0383157469, 0.014833997, 0.0248922836, 0.0217657443, -0.0666910857, 0.0079478808, -0.011306446, -0.005536187, 0.0238617565, 0.0190551095, 0.0604601093, 0.0109033491, -0.0292231478, 0.0545832627, 0.0484327972, 0.0200984534, -0.0376847535, -0.0394367799, 0.0126058869, -0.0309710689, 0.0316282921, 0.0027202496, -0.0402891077, 0.017315872, 0.0846598893, 0.0067259469, -0.0096192937, -0.0133205242, 2.936e-7, -0.0056084273, 0.053978838, -0.0421772748, -0.0355395377, 0.0072589535, 0.0180637501, 0.0101948483, 0.0292740632, 0.0299768802, 0.0365982316, 0.0017082284, 0.044461634, 0.043683745, 0.0427774377, -0.0751805305, 0.0290324204, -0.0400477313, 0.0127252862, -0.0616496801, -0.0070636366, -0.0236888155, 0.0672097728, 0.0760385916, 0.0092775403, 0.0156512707, -0.0205630865, 0.0601308122, -0.0811450705, -0.0606817231, 0.000879007, 0.0046043633, 0.0209637843, -0.0404413566, -0.0229187105, -0.0402017459, 0.016780952, -0.0361040533, 0.0734100714, -0.0039840187, -0.019710036, 0.0103337448, -0.0443067364, -0.0215003174, -0.0435975753, 0.0613960624, -0.0127057964, -0.0089963311, 0.0252037868, 0.0332273133, -0.0441014282, 0.0455839969, -0.0375047736, 0.0112365298, 0.0279965028, -0.0121058142, -0.0105700381, -0.025828965, -0.0698250383, -0.0087444261, -0.024430681, -0.0467860363, -0.0598667711, -0.0461221635, -0.0249487478, -0.0377790518, -0.031898424, 0.071575813, 2.583496892e-34, 0.011228472, 0.0278062113, 0.0045108078, -0.0044428096, 0.0380849279, 0.0042305519, -0.012107864, 0.0319056697, 0.0448101573, -0.0866045505, -0.0285037216 ]
http://arxiv.org/abs/2406.10459v1
http://arxiv.org/pdf/2406.10459v1
CancerLLM: A Large Language Model in Cancer Domain
2024-06-15T01:02:48
2024-06-15T01:02:48
Mingchen Li, Anne Blaes, Steven Johnson, Hongfang Liu, Hua Xu, Rui Zhang
cs.CL
cs.CL
Medical Large Language Models (LLMs) such as ClinicalCamel 70B, Llama3-OpenBioLLM 70B have demonstrated impressive performance on a wide variety of medical NLP task.However, there still lacks a large language model (LLM) specifically designed for cancer domain. Moreover, these LLMs typically have billions of parameters, making them computationally expensive for healthcare systems.Thus, in this study, we propose CancerLLM, a model with 7 billion parameters and a Mistral-style architecture, pre-trained on 2,676,642 clinical notes and 515,524 pathology reports covering 17 cancer types, followed by fine-tuning on three cancer-relevant tasks, including cancer phenotypes extraction, cancer diagnosis generation, and cancer treatment plan generation. Our evaluation demonstrated that CancerLLM achieves state-of-the-art results compared to other existing LLMs, with an average F1 score improvement of 8.1\%. Additionally, CancerLLM outperforms other models on two proposed robustness testbeds. This illustrates that CancerLLM can be effectively applied to clinical AI systems, enhancing clinical research and healthcare delivery in the field of cancer.
[ 0.0390622765, 0.0984408855, 0.0106391171, -0.0170839187, -0.0023140726, 0.0165107306, -0.0107963411, 0.0062422859, 0.012848584, -0.0099394387, -0.0260295738, -0.0656504333, -0.0200319905, 0.0634440035, 0.0012931294, -0.0428759418, 0.018060904, -0.0161142256, 0.0114494218, -0.0028754773, -0.0262696855, 0.004257923, 0.0106133707, 0.036206834, 0.0185168702, 0.0086760363, 0.0433038101, -0.0327905342, -0.0097594373, -0.0672057867, -0.0051957397, -0.02032125, -0.0339227803, 0.0385154523, 0.0000019363, -0.0878329575, -0.0202101376, 0.0140941078, -0.0123230657, 0.0105718439, 0.0531636812, -0.0503430851, -0.0078344829, 0.0201303437, -0.012037388, -0.0169287566, -0.0206096806, 0.061856322, 0.0549047552, 0.0880595595, -0.0051680957, -0.0233254507, 0.0732274801, -0.0362772718, -0.0007363366, -0.0291078929, 0.0500204526, -0.0232982747, 0.0061872853, -0.0114081828, 0.0310863443, 0.0687371343, -0.0027582427, -0.0103578027, 0.0018777981, 0.0442530587, -0.0138903745, -0.0188353881, 0.0114384647, 0.0587670989, -0.0675384551, -0.014903116, 0.026758641, 0.0052614473, -0.013294152, -0.0040321997, -0.0251958426, 0.0242740866, -0.0202231016, -0.0024169956, 0.0222944673, -0.0244265702, 0.043664258, -0.0176436137, -0.0087451851, -0.0005091658, 0.0056167752, -0.0007322495, 0.0045481822, -0.0196566097, -0.0246448871, -0.0335065648, 0.0372863449, 0.0573703796, -0.0713627785, 0.0196709502, -0.0198696647, -0.0177815668, 0.1109998301, -0.1030224413, 0.0417667367, -0.0340625308, -0.0197978914, 0.0538268834, -0.0411414877, -0.0144543946, -0.0549445115, 0.0314957425, -0.0302662104, -0.0196874551, -0.0042213076, 0.0168547612, -0.0033838872, 0.0264059026, 0.0064639449, -0.0099317804, -0.072197929, 0.0081102271, 0.0015419649, 0.0525148399, 0.0779714957, 0.0242367387, 0.0013720826, -0.0080691297, 0.0147762764, 0.0036607753, 0.0103791216, -0.0009613183, -0.0269968025, -0.0674480423, 0.0210966021, 0.0168249123, 0.007672979, -0.0385085456, 0.0277684536, 0.0903397128, 0.021607155, -0.041814588, 0.0030348024, -0.0304593258, -0.0352191478, -0.0549817085, 0.0055756299, -0.0702915266, 0.0270861182, 0.015801426, 0.0171020571, -0.0308821723, 0.0160657577, -0.0208007414, -0.0475961119, 0.0511815175, -0.026144404, -0.0174959153, 0.0359502509, 0.0131128989, -0.0134237511, 0.0112073543, 0.0247604419, -0.0152975861, -0.0023618706, -0.002707815, 0.0078112069, 0.0099352123, 0.029973954, -0.0309140831, -0.0071605491, 0.0307144616, -0.0064126868, 0.095031105, 0.0009696199, 0.0711987317, 0.0130375633, -0.042017363, 0.0407227091, 0.0356768742, 0.0662527159, 0.0508473665, 0.0080622854, -0.034224309, 0.0116224336, -0.0626573637, -0.01756626, 0.004078263, -0.0223557055, 0.0209494419, -0.0182007942, 0.0184314772, -0.0191504788, -0.0434595905, -0.0390560739, -0.0163391475, -0.0553416684, -0.0159547105, 0.0407030843, -0.0288413782, -0.0341093801, -0.0144352484, 0.0648188069, 0.0048514726, -0.0204895213, -0.0670409948, 0.0025447947, 0.0584805459, 0.0485177152, -0.0696628615, -0.0528199039, -0.0176651906, -0.0159307048, -0.0033121114, 0.0183147527, -0.0030876596, -0.006984903, -0.0125083653, 0.0247316603, 0.0227069817, 0.0095739672, -0.0166727658, 0.0160718933, 0.0315411948, -0.0424316525, -0.02653566, -0.0289718993, 0.0516536981, -0.0379396789, -0.0513571054, -0.0221678037, -0.0188386831, 0.0517446212, -0.0261532627, -0.04770023, 0.0220018774, 0.0290668923, -0.0504927635, -0.0444775857, -0.0007907512, -0.0347769223, -0.0396588631, 0.0136513999, -0.016941607, -0.0132268677, -0.0240942612, -0.0245543811, 0.0141010089, -0.0123922769, -0.0194858424, 0.0198828895, 0.0203413013, 0.0361821093, 0.0272004511, 0.0102450568, -0.0363544263, 0.0274652019, -0.0489408784, -0.0379064158, -0.0041088681, -0.0281248763, 0.0113804489, -0.0083821462, -0.0365678407, 0.0286525376, 0.0186965223, 0.0066167652, -0.0417528488, -0.0027370504, -0.0026991146, -0.0467081182, -0.1030502394, 0.0162669066, -0.0001005726, 0.0036042531, 0.0242897663, 0.0383565165, -0.0049615959, -0.0145354876, -0.064135015, 0.0053363191, 0.0318177529, 0.0198068954, 0.0314427763, 0.0267079212, -0.0155485459, -0.0653610006, -0.0153288068, -0.0299961679, 0.0618875548, 0.0070345346, -0.0428397767, 0.0076833246, 0.0388422534, -0.0049555413, 0.023403462, 0.0089586824, -0.0257304274, -0.0092169149, -0.0506935008, -0.0262972564, 0.0763375089, -0.0060164523, 0.0432512425, 0.041274365, 0.0078445449, -0.0069305669, -0.0070529468, -0.0335187241, -0.0426256433, 0.0074132094, -0.0155316927, 0.0174046047, 0.0748411193, -0.0088576479, 0.0000110809, -0.0217408463, -0.0153753283, -0.0175349694, 0.0289512835, -0.0380856283, 0.0448202416, -0.0356787927, -0.0109454095, -0.0042384001, -0.0389957651, 0.089727819, -0.0103925942, 0.0612802692, -0.0477507897, 0.0031730195, -0.0332900994, 0.0140853394, 0.0046560015, 0.014647522, -0.0100792879, 0.0013233725, 0.0134507045, 0.0078332443, -0.018991204, -0.0462461524, 0.0745548978, -0.0156938136, 0.0382539816, 0.0183305759, -0.0312577672, -0.0403441153, -0.0005566555, -0.0268761013, 0.0197924133, 0.0413276441, -0.0202088337, -0.0829256177, -0.0078620929, -0.0222722739, 0.0943319052, 0.0143134221, -0.0263725687, -0.0159588233, -0.0071878121, 0.0409938768, 0.00599377, 0.0122816935, -0.0266001746, 0.0753568858, 0.0401932672, -0.004265293, 0.0254214518, 0.0040906351, 0.0096333185, 0.0074194809, -0.0306749716, -0.0073001618, 0.0285907891, 0.048935011, -0.0470986702, -0.0261075366, 0.1170834973, 0.0176253244, -0.0597379059, 0.0159026608, -0.0016624336, -0.0041729757, -0.0328308046, 0.0513804853, -0.053886801, -0.0247100294, -0.0155276051, -0.0006468954, -0.0172348283, -0.0311239399, 0.014566903, -0.009167918, 0.0121664554, 0.004300999, -0.0351476297, 0.0001219851, -0.0538566597, -0.0236683227, -0.0362312049, -0.0231423471, -0.0043302318, -0.0008490346, -0.0496724732, -0.008074034, -0.0479338802, -0.0960692242, 0.0131652392, -0.049988661, 0.0336709656, 0.052306246, 0.0306610912, -0.0219701231, -0.0116492296, 0.0205132458, 0.0322752446, 0.0096557457, 0.0089577744, 0.0801950395, 0.0128227528, -0.0173153002, -0.0392325334, 0.0185220633, -0.0504882932, 0.007520149, -0.0112855779, 0.0953636765, -0.0294537637, -0.0274842437, -0.021982329, -0.006728753, -0.009615358, 0.0293159354, -0.0224507973, -0.028160762, -0.0337926485, 0.0065600695, 0.0099046016, 0.0295769721, -0.0100279842, 0.045316577, -0.0283697005, -0.0064878711, -0.0630897209, -0.0154228108, 0.0422484428, -0.0235240906, 0.0148748728, 0.0415593348, 0.0146481786, -0.0209538937, -0.0586115718, 0.0593254827, 0.0220793448, 0.0049723345, -0.0783636048, -0.0585471168, 0.0520193465, -0.0131445089, 0.0127573926, 0.0303656515, -0.0375865139, -0.0095362421, -0.0175872836, 0.0549687296, 0.0195722561, -0.0227806773, -0.0181437824, -0.0576785728, 0.0637007803, 0.0157145858, -0.0016271893, -0.022983443, -0.0299540516, -0.0157787446, 0.0063663991, 0.0195704214, -0.0086817294, 0.0088498192, 0.0242864247, 0.0111350818, 0.0006599312, -0.0071370564, 0.0319062024, 0.046768371, 0.0281227585, 0.0009385715, -0.010927611, -0.0377185382, 0.0006744496, -0.0310312361, 0.0195635352, -0.0302390829, 0.0000624552, 0.0369669423, 0.0111912563, -0.0410947017, 0.0419176891, -0.0314363502, -0.0274892058, -0.0575173162, 0.0523949638, 0.0267641209, -0.0026305432, 0.0847775638, -0.0223563407, -0.0022031101, 0.0183580741, -0.0327697434, -0.0050317124, 0.0009699546, 0.0174313281, 0.0043845316, 0.0474401712, -0.0327536762, 0.0610454418, -0.0413953401, -0.0440064631, -0.0383210182, 0.0392528549, 0.0698878989, -0.008960194, 0.0694483072, -0.0304689724, 0.0105942423, -0.0448862799, 0.0314010009, -0.0268161576, 0.0414655358, 0.043343056, 0.0273792315, -0.0152222691, -0.0299150813, 0.08427158, 0.0294264033, 0.0547024831, -0.0076883323, -0.0171485953, -0.0498024486, 0.0029088301, 0.0473440997, 0.0239284895, -0.0649386197, 0.0155059379, -0.0291828364, -0.0314366519, 0.081964612, 0.0036448084, -0.0329618119, -0.0121578323, 0.0374524109, 0.0397247002, 0.0233479515, -0.0410281308, -0.0426395163, 0.0247642249, 0.0047246898, -0.0538658723, 0.0235884227, -5.796819617e-33, 0.0361351185, -0.0095956549, 0.0222695135, -0.0377178006, -0.0021574695, 0.0335131437, -0.0448207445, -0.0042797844, 0.0031695552, 0.0451204032, -0.0313980728, 0.0035556748, -0.0134442346, 0.0263037328, -0.0100559928, -0.0303728152, 0.0387919545, -0.0244615525, -0.0063616228, 0.02241976, -0.0018592653, 0.0649008453, -0.0010801954, -0.0833053291, -0.0201096982, 0.0364889242, 0.0224950761, -0.0005530469, -0.0489073135, 0.0542901009, -0.055306688, 0.0480959192, 0.0240589734, 0.0189845357, -0.010541751, -0.0279529169, -0.0460107923, 0.0063848733, -0.0094559826, 0.0170757491, -0.0202926993, -0.0410695225, 0.0739064887, -0.0174492244, -0.0221454594, -0.0025492259, 0.0138825541, -0.0270423368, -0.0368769504, -0.0590192303, -0.0316650309, 0.047735136, 0.0265278872, 0.0031222731, -0.0089698136, -0.0581090748, -0.0486911535, 0.0556788817, -0.0118900621, -0.0358113907, 0.0302854516, 0.037612468, 0.0065472377, -0.0191582832, -0.0135102216, 0.0835925341, 0.0216943007, 0.007122966, -0.0246372297, 0.0316503271, -0.0218245629, 0.038991902, 0.0225450508, 0.0111130718, 0.0021890632, -0.0178125799, -0.1026569977, 0.0122693973, -0.0552381501, 0.0148550346, 0.0337228067, -0.007861346, -0.0088835917, 0.0166336652, -0.0270459522, -0.0185224377, -0.0162984412, 0.0000747067, 0.0255749598, -0.0010368086, 0.0249367505, 0.0112129832, -0.0072955084, -0.0232535973, -0.014233537, 0.0140876928, 0.0660235435, 0.0251201224, -0.0467363633, 0.0148528032, -0.0292432867, -0.0363000892, -0.0048994301, -0.0548019856, 0.0319643132, 0.0035368067, 0.0507428311, -0.033246357, -0.0649975017, -0.0153923146, 0.0017193636, 0.0036156552, 0.0176849365, 0.0597233623, 0.0477519296, 0.0169210751, 0.0159115717, 0.0820161924, 0.0059326664, -0.006128706, -0.0066405837, -0.0291651748, 0.002481184, 0.0099684512, -0.0561000928, 0.0124838278, -0.0544401184, 0.0235123802, 0.0143589126, -0.0901962295, -0.0180545766, -0.0021857759, 2.773e-7, 0.1081572101, 0.0848134086, -0.0090534706, -0.0210307539, 0.0581706017, -0.0109678488, -0.0084595596, 0.0020632073, -0.0215080045, 0.0133457491, 0.0285261031, 0.018987054, 0.0452455878, 0.0167914741, -0.0603750758, -0.0115289818, -0.0955671817, -0.0253494736, -0.0301173087, -0.0204510912, 0.0650761575, 0.1073077619, -0.0244940445, -0.042967163, 0.0472156703, 0.0151892873, 0.0256154165, -0.0505016856, -0.0184640903, 0.033816807, 0.0083625298, -0.017951237, 0.0143230082, 0.0260620266, -0.0054518892, 0.0076484261, -0.0119745629, 0.107307516, -0.0180760659, 0.0123983715, 0.0860357881, -0.0072557181, 0.0251453128, -0.0379747339, 0.0589851923, -0.0254359469, -0.0571186692, -0.0420545228, 0.0246143304, -0.02720052, 0.0781014562, -0.0518446825, -0.0276250634, 0.0440786816, 0.0294666104, 0.0014974026, -0.0358177349, -0.0558080748, -0.0235877708, 0.0568587445, -0.0437877886, -0.0325068496, 0.0218020286, 0.0001680135, 0.0289917327, -0.0720274746, 0.0384823792, 2.567325121e-34, 0.0416963212, -0.0011756637, -0.0030477014, 0.0179672241, 0.0292856712, -0.0078828651, 0.0402139612, 0.0178591702, -0.0058063227, -0.0827921554, 0.0085167829 ]
http://arxiv.org/abs/2406.10450v1
http://arxiv.org/pdf/2406.10450v1
TokenRec: Learning to Tokenize ID for LLM-based Generative Recommendation
2024-06-15T00:07:44
2024-06-15T00:07:44
Haohao Qu, Wenqi Fan, Zihuai Zhao, Qing Li
cs.IR
cs.IR, cs.AI, cs.CL
There is a growing interest in utilizing large-scale language models (LLMs) to advance next-generation Recommender Systems (RecSys), driven by their outstanding language understanding and in-context learning capabilities. In this scenario, tokenizing (i.e., indexing) users and items becomes essential for ensuring a seamless alignment of LLMs with recommendations. While several studies have made progress in representing users and items through textual contents or latent representations, challenges remain in efficiently capturing high-order collaborative knowledge into discrete tokens that are compatible with LLMs. Additionally, the majority of existing tokenization approaches often face difficulties in generalizing effectively to new/unseen users or items that were not in the training corpus. To address these challenges, we propose a novel framework called TokenRec, which introduces not only an effective ID tokenization strategy but also an efficient retrieval paradigm for LLM-based recommendations. Specifically, our tokenization strategy, Masked Vector-Quantized (MQ) Tokenizer, involves quantizing the masked user/item representations learned from collaborative filtering into discrete tokens, thus achieving a smooth incorporation of high-order collaborative knowledge and a generalizable tokenization of users and items for LLM-based RecSys. Meanwhile, our generative retrieval paradigm is designed to efficiently recommend top-$K$ items for users to eliminate the need for the time-consuming auto-regressive decoding and beam search processes used by LLMs, thus significantly reducing inference time. Comprehensive experiments validate the effectiveness of the proposed methods, demonstrating that TokenRec outperforms competitive benchmarks, including both traditional recommender systems and emerging LLM-based recommender systems.
[ 0.0337941349, 0.0296417214, 0.0092305262, 0.0224946029, 0.0127794296, -0.0082302522, 0.0249356143, 0.0190447364, 0.0406443737, -0.0217714831, -0.0510044284, -0.0194100253, -0.0612976588, 0.0435444117, -0.0005130536, -0.0086329319, 0.020589048, -0.022885561, 0.0271465871, -0.0143719083, -0.0093492633, 0.0424571261, 0.0342937373, 0.0463609397, 0.0026838381, -0.0104933186, 0.0271949675, -0.0013316104, -0.0059077581, -0.0378332585, 0.0167970918, 0.0333665162, 0.0305414964, -0.0004349009, 0.0000018904, -0.0105892364, -0.0258949529, -0.0220887344, 0.0009701248, -0.0236939117, 0.0478746891, 0.0304289516, 0.0338329859, -0.0069712736, -0.0500256754, -0.0063162702, 0.0076141707, 0.0540827401, 0.0345562883, 0.042232886, -0.0129892295, -0.0027648374, 0.0314408615, -0.0361046456, 0.0371817425, -0.0216631796, 0.0214180984, -0.0443151295, -0.009998179, 0.0546044484, 0.0036071695, 0.0032509037, -0.0088006668, -0.0193450116, 0.09321931, 0.0344815068, -0.0257275887, 0.0053717638, -0.0081960224, 0.0806227103, -0.0152367828, -0.0205332711, 0.0124977864, 0.0355658159, -0.0110598849, -0.012842196, -0.0384829007, -0.0280950144, -0.0106879361, 0.0293487869, 0.0094907889, -0.0005536229, 0.0565967336, 0.01731495, -0.0037301593, 0.0767596364, 0.0293198079, -0.0109554883, -0.0327056237, -0.0277902056, -0.047250744, -0.0477063134, 0.0252204183, 0.0041959547, -0.0490319543, -0.0221047197, 0.0158388186, -0.0002584078, -0.0005487254, 0.0109288637, 0.0051491736, 0.0278837271, 0.0018783603, 0.0637653545, -0.0363601856, 0.0380872115, 0.0033023295, 0.0068736542, -0.0584894679, -0.0331330411, -0.0239632707, -0.0285076573, -0.034343835, 0.0480848588, -0.0359601267, -0.0331546329, -0.0353088826, 0.0516634211, -0.0015066805, 0.0092071081, 0.0067238435, 0.0537106693, -0.0085339826, 0.0013566627, -0.0318907239, 0.0104986001, -0.0492730401, -0.0009130223, 0.0202071667, 0.0086103603, 0.0212252736, 0.0237441901, 0.0031425601, -0.0638062507, -0.0083602946, 0.0100095654, 0.007850362, -0.0330112725, 0.0161645617, -0.0185005274, -0.0002485651, -0.0426011607, -0.0263071153, -0.0666605234, 0.0504164323, 0.0547332615, 0.0222487468, -0.0497540981, 0.0117199654, -0.0090363221, -0.0133516593, 0.0560051464, 0.0307292938, -0.0226348732, 0.0209310185, 0.0032995702, 0.0009649908, -0.0023703848, -0.023053484, 0.0768805966, 0.0477376133, 0.0222162455, 0.007853738, 0.0044732541, 0.0172419474, 0.0145847984, -0.0198678356, 0.0057687717, 0.0101147387, 0.0317245908, 0.0810422376, 0.0765064731, -0.0747860745, -0.0158678982, 0.0355272517, 0.0526913702, 0.0051939348, 0.061755687, 0.0462413244, 0.0287332386, -0.0373201594, -0.0402251706, 0.0088300584, 0.0568868853, 0.0146641843, -0.0575759411, 0.0705938116, 0.0241900273, -0.0467311405, 0.0000803779, 0.0199154802, -0.0262073632, 0.0218464937, 0.0190113634, 0.0259367321, -0.0043673851, -0.0136677483, 0.04574975, 0.025228275, -0.0380005874, 0.0232526101, -0.0188446008, 0.0812419727, 0.0960948989, 0.0602335073, -0.0005659503, 0.0463119075, -0.0039368495, -0.0044882116, -0.0661829039, 0.015994966, -0.0537506677, -0.0015699813, -0.0294191632, -0.0498649292, 0.0184741858, -0.0296629854, 0.0307328906, 0.0066496595, 0.0080316206, 0.0055608931, -0.0354668349, 0.0244127139, -0.0038212521, -0.0093073286, -0.0471403077, 0.046531219, 0.0018527849, 0.0192718636, 0.0242681857, 0.0505903848, -0.0078556361, 0.0434270538, -0.0662270263, -0.0371061377, -0.0164011139, -0.0176716894, -0.0275002774, 0.0398683622, -0.0128989089, 0.0163815357, 0.0309673101, -0.0229833089, -0.0183403417, 0.0412277207, 0.0113314288, 0.0462453701, -0.0488892905, -0.0125278942, 0.0335724056, 0.0133411372, -0.0437420756, 0.0573078506, -0.015298143, 0.0213629492, -0.0074110865, -0.0164773464, -0.0105016101, -0.0381968841, -0.0386605673, 0.0195668768, 0.0266073029, -0.0021290302, 0.0257897582, -0.0225764103, -0.0247760285, -0.0152784158, -0.1002750099, -0.0027792638, 0.0043525635, -0.020770954, -0.039538119, 0.0184683353, 0.0241988767, -0.0110316258, -0.0729584992, -0.0360288732, -0.0108439345, 0.0166874193, 0.006401726, 0.0116755869, -0.0101071335, -0.0207213257, -0.0219739303, -0.0122737642, 0.053023681, -0.0343775861, 0.0041383244, -0.0331895687, -0.051791966, -0.0375702605, -0.0329312943, -0.036428798, 0.0431110859, -0.0097453417, -0.0289336182, 0.0693932772, 0.0005807828, 0.0313877314, 0.0301377308, 0.0055933846, 0.0089899413, -0.0870782584, 0.0080350693, -0.0332643315, -0.0045055919, -0.0128803644, -0.0127468118, 0.0276350863, 0.0191901922, -0.0140713574, -0.0120528694, -0.0835928321, 0.0162649993, 0.0015394795, -0.0094680786, -0.0792191476, -0.0201071948, 0.0011947736, 0.0213848148, -0.0008032314, -0.0103237107, 0.0722645745, -0.006053206, -0.0027606217, 0.0017896788, -0.0135274157, -0.0595287718, -0.0098634213, 0.00884216, 0.0328859575, -0.0606750548, -0.0160224698, -0.0120046325, 0.0424157046, -0.0029572407, -0.0491056852, 0.0265272111, 0.0255425014, 0.0014945366, 0.0131495213, -0.0629430115, -0.0312444419, -0.0608155429, 0.0127586555, 0.0130187552, 0.0443370901, -0.0055586011, -0.0141934725, -0.0008624708, -0.0193475969, -0.0053831674, -0.0114053916, -0.0218324643, -0.0023062623, 0.0304462947, 0.0579479523, -0.0651981682, -0.0060313288, 0.0140260886, -0.0002924196, 0.0635491386, 0.0511021614, -0.023833517, -0.0144551015, 0.0077986796, 0.0875141472, -0.001085214, -0.0107568381, 0.0081079854, 0.0250818897, 0.052642446, 0.0025074396, 0.0813310221, 0.0364216566, -0.1193247885, -0.0056285416, -0.0353561826, 0.0202969015, 0.0312636942, 0.0383232683, -0.0979294851, -0.0043861605, 0.0099628279, 0.0509787016, 0.0416933522, -0.0497146063, -0.0113138566, -0.0817133561, 0.0448713638, 0.0124152973, 0.0011406424, -0.0147466781, -0.0595941804, -0.0207750071, -0.0102482028, 0.0233819634, 0.0231001154, -0.0009131851, 0.0159337055, 0.0174911562, 0.005652145, -0.003497954, 0.0224103797, -0.0384327471, 0.0405573323, 0.0414270498, 0.0472380221, 0.0498577245, -0.0223323833, -0.025452463, -0.0024034565, -0.0116409529, -0.0320974737, 0.0009819997, -0.0699805692, 0.0416038893, -0.0187689252, 0.0356694534, -0.0310183875, -0.0490590371, -0.0255365092, 0.0486678295, -0.0284385215, 0.0013895843, -0.017133981, -0.0262348671, 0.025713928, 0.0807467252, 0.0093459226, -0.0315326117, 0.0203231461, -0.0698208883, 0.0357840583, 0.0000042262, -0.0152333463, -0.0467594415, -0.0040999292, 0.0326922126, -0.0897846371, 0.0045707165, 0.0200369824, -0.0014686804, -0.0125472434, 0.0480898581, -0.069168061, -0.0534326024, -0.0308760721, 0.0331065357, -0.0281076971, 0.0144646475, -0.0722488239, 0.0053356835, 0.0129344342, -0.080603838, -0.0112020727, 0.014138937, -0.0505713783, -0.0370170176, -0.0208754018, 0.063035883, 0.0132655837, 0.0514654554, -0.0305453446, -0.0973421484, 0.0668614656, 0.0445215963, -0.0457188934, -0.0016961951, -0.0321820863, 0.0498180203, -0.0211011879, 0.0422985516, -0.0723807514, 0.0042573474, -0.0303735565, 0.0429010428, -0.0355814286, -0.0248734243, 0.0199827664, 0.0021484559, 0.0579171218, -0.0188244227, 0.0490181744, -0.0352875628, -0.0053292033, -0.0121850688, -0.0383219086, -0.030594822, -0.0136764478, 0.0612200648, -0.0305987652, -0.0435336307, -0.0001568258, 0.0074636512, 0.0680039003, -0.0380363129, -0.008151534, -0.0446381159, -0.0286242999, 0.043112956, 0.0241058562, -0.0136559866, -0.0163567625, 0.000760822, 0.0336246118, -0.0399463065, 0.0214220714, 0.0029432809, 0.0002155867, -0.0356983207, 0.0497926921, -0.0088504152, -0.0508022867, 0.0042789802, -0.0011226371, 0.0070715006, -0.0141920773, 0.0269153062, -0.0268286243, -0.0275894962, -0.0416446403, 0.0025367965, -0.0256570857, -0.0464219041, 0.0271882974, 0.0480826013, -0.0206061937, 0.0071269516, 0.0931684002, -0.0147299254, -0.0113757383, -0.04149976, -0.0375012122, -0.040651422, 0.0213622153, 0.0023729701, 0.0588436201, -0.0188755412, -0.02455022, -0.008597238, -0.0249304529, 0.0213027392, -0.050370574, -0.0258649755, -0.0360200927, 0.0282305982, 0.0492126159, 0.0136423716, -0.0273684934, -0.0709046274, -0.0052987873, 0.0049622525, -0.0350676775, -0.0450119488, -6.605024881e-33, -0.0001464598, -0.0085226865, 0.0166256279, 0.0308513157, -0.0150683317, -0.0034787836, -0.0082271788, -0.0177182648, 0.0703378394, -0.0130825611, -0.0230569225, 0.0022806968, 0.00513261, 0.0271412171, 0.0021356347, 0.0090787988, 0.0730551854, 0.0194951966, -0.0134696122, 0.0414096415, 0.0641134828, 0.05564766, -0.0018534828, -0.0512834452, 0.0233908352, -0.0313340873, 0.01795418, -0.0032458473, 0.0421139486, 0.0596960858, -0.0299797878, 0.0498267412, 0.0059567397, -0.0189019572, 0.0312678404, 0.0269978866, -0.1105782837, 0.0194326192, 0.0114225633, 0.0035220445, -0.0036805449, -0.0755785108, 0.0092359688, -0.0043349951, 0.0015968741, 0.0054543247, 0.0229516495, -0.0084852921, -0.0758128837, -0.081637457, 0.0178113487, 0.0152924424, -0.0038295002, 0.0184819978, 0.0228128675, 0.0377354994, 0.0036552115, 0.0639842302, -0.086955972, 0.0482210778, -0.0918041319, 0.0243101511, 0.0145581672, -0.0122929532, -0.0066353567, 0.0611875467, 0.0486715958, -0.0352102928, -0.019624982, 0.0328631066, -0.0229024198, 0.0493044145, 0.0035299275, 0.0468505286, 0.0302649196, -0.030429963, -0.0287856292, 0.0724214241, 0.0288373064, 0.0045060692, 0.0615061522, 0.0780344903, -0.0185640473, -0.0362242758, -0.0055293711, -0.0285601374, -0.0550732613, -0.0422839336, 0.0175692253, 0.0410078838, -0.0141248498, -0.0371317081, 0.0361411013, -0.0361897871, -0.0502219908, 0.017582912, -0.0008642716, -0.0167258475, 0.0170761533, 0.0260471962, -0.0511776134, -0.0046582175, 0.0451351032, -0.0917914808, -0.0294173062, -0.0021914975, 0.0477243476, 0.0068118284, -0.0364914797, -0.0043272125, 0.0072198655, -0.0146496836, -0.0181446169, 0.0358810425, 0.0370494127, 0.0539182052, -0.0102854325, 0.0230781119, 0.0211935341, 0.0445907936, -0.016408721, -0.0558947623, 0.0094019286, -0.023437405, -0.0149267148, -0.0113459053, -0.0312439986, 0.0076161283, 0.0799570307, -0.0554583035, -0.0290421303, 0.0087758219, 2.742e-7, 0.010559978, 0.0237378366, 0.0050122309, -0.0303005371, 0.015944358, 0.0183401406, 0.0328099094, 0.0737874284, 0.0520128421, 0.051770661, 0.0193756912, 0.0418763421, 0.0072348011, 0.015970761, -0.0686846077, 0.0527721159, -0.0517690666, 0.0002031306, -0.0528959855, -0.0203187801, -0.0099309124, 0.0742563605, 0.0338497423, -0.0109165134, 0.0222207103, -0.0356075838, 0.0804722458, -0.0545607656, -0.0208866931, -0.01766086, 0.0558944643, -0.0093052499, 0.0089524537, -0.0219204649, -0.0061510047, 0.0148163959, 0.0352147855, 0.0379568972, -0.0253496654, -0.0699626058, -0.0158865191, 0.0055913418, 0.0073229414, -0.0428408012, 0.0699665993, -0.0331350081, 0.0063559762, -0.0146251014, -0.0659457147, -0.0052772933, 0.0069228495, -0.0156080341, -0.0142467236, 0.0458511673, 0.0302886255, 0.0108506735, -0.0026673512, -0.0835959837, 0.0008330721, -0.0290045533, -0.0568039082, -0.030929815, -0.0492683277, 0.047430072, -0.0207579602, -0.0342249051, 0.0275687836, 2.377759897e-34, 0.0096414173, 0.042400226, -0.0289094374, 0.0217958726, 0.030579485, -0.0247976426, -0.056065049, 0.0527568124, 0.0400827117, -0.078290388, -0.016868297 ]
http://arxiv.org/abs/2406.10442v1
http://arxiv.org/pdf/2406.10442v1
Domain-Specific Shorthand for Generation Based on Context-Free Grammar
2024-06-14T23:26:41
2024-06-14T23:26:41
Andriy Kanyuka, Elias Mahfoud
cs.CL
cs.CL
The generation of structured data in formats such as JSON, YAML and XML is a critical task in Generative AI (GenAI) applications. These formats, while widely used, contain many redundant constructs that lead to inflated token usage. This inefficiency is particularly evident when employing large language models (LLMs) like GPT-4, where generating extensive structured data incurs increased latency and operational costs. We introduce a domain-specific shorthand (DSS) format, underpinned by a context-free grammar (CFG), and demonstrate its usage to reduce the number of tokens required for structured data generation. The method involves creating a shorthand notation that captures essential elements of the output schema with fewer tokens, ensuring it can be unambiguously converted to and from its verbose form. It employs a CFG to facilitate efficient shorthand generation by the LLM, and to create parsers to translate the shorthand back into standard structured formats. The application of our approach to data visualization with LLMs demonstrates a significant (3x to 5x) reduction in generated tokens, leading to significantly lower latency and cost. This paper outlines the development of the DSS and the accompanying CFG, and the implications of this approach for GenAI applications, presenting a scalable solution to the token inefficiency problem in structured data generation.
[ -0.0223287735, 0.0230099056, -0.037195798, 0.011820823, -0.0194192026, -0.0062268646, -0.0143307652, -0.0099643171, -0.006304895, -0.052364774, 0.0041144933, -0.0102929482, -0.0080873361, 0.0725672022, 0.0223445259, -0.0862295553, 0.0451607108, -0.0277271681, 0.0136501864, 0.0275568608, -0.0234687943, 0.0143991886, 0.0193437859, 0.027979048, -0.0573013648, -0.0199178141, -0.0220726375, 0.0021054058, -0.001425573, -0.0502535626, -0.0590156317, 0.018373305, -0.0008987735, 0.0465159267, 0.0000022759, -0.0464231186, -0.0060563977, 0.0446693785, -0.0148267224, 0.0190156214, 0.0163190048, -0.0241524689, -0.0463945419, 0.0098192366, -0.0288940798, -0.0517231934, 0.0565473065, 0.0005775464, 0.0551215857, 0.033021953, -0.0331005119, -0.0557746068, 0.0147147188, -0.0023898988, -0.002795364, 0.0236365553, -0.0242331903, -0.0080777332, 0.0240555014, 0.0360906869, 0.0104642212, 0.0150030479, 0.0154281696, -0.015806213, 0.0177916512, 0.0473971143, -0.0253030881, 0.0062589007, -0.0141630294, 0.0211466476, 0.0184927545, -0.0177884102, 0.0340142436, -0.0207975134, 0.0142132957, -0.0250205621, -0.0682135671, 0.0662849173, 0.0075517576, 0.0261538476, 0.0362398885, -0.0352582783, -0.0056519411, -0.0563699342, -0.037793383, 0.0208269395, 0.022423869, 0.0001947625, -0.0735094324, -0.033384148, -0.0347049497, -0.0955677032, -0.0383645371, 0.0336630493, -0.0177617539, 0.0076386584, -0.0756677762, -0.0791787878, 0.0464919209, -0.0135629307, 0.0321677513, 0.026156446, -0.0078089042, -0.0191560481, -0.0212877728, 0.0369598046, -0.0017340293, -0.0201130267, -0.0023847627, -0.0251920912, -0.0411658175, -0.0170252007, -0.0449828319, 0.0355297774, -0.0854158476, -0.017067438, -0.0232139453, 0.076541312, -0.0091187088, 0.0080449283, 0.037055783, -0.0287861843, -0.0052602799, 0.0665659532, -0.0279851891, -0.0210676529, -0.0534663089, -0.0242997762, 0.0159033556, -0.0709962547, 0.0108127911, 0.0565938577, 0.0344650373, -0.0064006317, -0.0464995094, 0.1066288948, 0.0372604355, 0.0384991691, -0.0653759092, -0.0838746428, 0.02971741, 0.0076372018, 0.019767493, -0.0697608143, 0.0059747971, 0.0285420064, -0.0221666414, -0.0417241119, -0.0050563132, 0.034987431, 0.009255752, 0.018547127, -0.0939761847, 0.0124923596, -0.0166963395, -0.0396182239, 0.004762827, 0.052119527, 0.0488382354, 0.0170286335, 0.0182494931, -0.0450660698, 0.0070954091, 0.021011861, -0.0046126912, -0.0092580812, -0.0255667362, -0.0057719173, 0.017846629, 0.0256399047, 0.0177433044, 0.0521961227, -0.0299392976, 0.0306483246, 0.0200929493, 0.0578391068, 0.0406805761, 0.0291262902, 0.1165502667, 0.0237408355, -0.0092141954, -0.0331583619, -0.0217106454, 0.0036264251, 0.0124036474, 0.0162403807, -0.0347740985, 0.0339840464, 0.0209203139, -0.0273835491, -0.0003802125, -0.0021840916, -0.0252102334, -0.0448480286, 0.0026462672, 0.040297877, -0.0129729565, 0.0286233574, 0.0214743372, -0.0775852427, -0.0431847945, -0.0162832867, 0.0073381104, 0.0649833977, 0.0324661173, 0.0478715897, -0.068836689, 0.0258225426, -0.0033648682, 0.053173162, 0.0168007445, -0.0142671829, -0.0199083593, -0.0336084142, -0.0128772147, -0.0180519205, -0.0043686405, 0.0473257713, -0.0057259649, -0.012236122, 0.0475681797, -0.0691997558, 0.0069215773, 0.0087441085, 0.0223967712, -0.0166277103, 0.0189888477, -0.0070073023, 0.0260079373, 0.0418199673, -0.0031010238, 0.0287279822, 0.0332323983, -0.0035321794, 0.0324330889, 0.0248041414, -0.0023371088, 0.0134305228, -0.0023328715, -0.0052967528, 0.0014007197, -0.0496901833, -0.0195204467, -0.0724172592, 0.0149636213, -0.0177015662, 0.0728186518, -0.0036395965, -0.0082418537, 0.035305541, 0.0075959768, -0.0237326976, 0.0632162914, 0.0240831561, -0.0265653748, 0.0242048446, 0.0513347052, 0.0425228886, -0.0134359766, 0.0375327058, 0.017818125, 0.0144773424, -0.0312084183, 0.0167272817, 0.017691927, -0.0217133164, 0.0167155955, -0.0659306124, -0.0022544314, 0.0155007094, 0.0489318557, 0.0154719139, 0.0255320761, -0.0134397736, 0.008669449, -0.0374109335, 0.0492826551, 0.0180892218, 0.0083163679, 0.0375321694, 0.0180872642, -0.0591064505, 0.0078654336, -0.0010116379, -0.0402183868, 0.000456425, 0.0571612045, -0.0098815551, -0.0351566151, 0.0284680836, -0.025622962, 0.0172264948, 0.0327416882, -0.0037700552, 0.03650444, -0.0374674946, 0.0543751791, -0.0212806538, -0.0288552847, 0.0027900855, 0.0206001103, -0.0310323574, -0.0295098871, 0.0037742483, 0.0054195761, 0.0235370789, -0.0108998381, -0.0312399697, 0.0697867498, 0.0436508879, 0.0211449098, 0.0110694105, -0.0332598127, 0.0164337493, 0.0159375072, -0.0109943198, 0.0159314889, -0.0238924194, 0.0040202173, 0.0556207411, 0.0193646494, -0.0501348823, 0.0312628038, -0.0574380457, 0.0235255938, 0.0214789957, 0.0143825319, -0.0554914884, 0.0861212537, 0.0188588575, 0.0137169678, 0.0152159939, -0.0264643859, -0.0090581281, 0.0520462357, -0.0144096212, 0.0151825519, 0.0010506867, -0.0437188298, -0.0156471245, -0.0167630445, -0.0059332401, -0.0307192188, 0.0594909526, 0.0178551413, 0.0301645771, 0.0869671255, -0.0216581021, 0.0152896671, -0.0069866464, -0.0182086546, 0.0271948799, 0.0165821686, -0.0301813111, -0.0190513488, 0.0014789392, 0.00205256, -0.0400718041, -0.0311215967, 0.0302117467, -0.0130904857, 0.0546539389, -0.0011971548, 0.0113672046, -0.0380581729, -0.0129438108, 0.0092843762, 0.0116627095, -0.0766671225, 0.0371139571, -0.004952603, -0.0404017121, -0.0108386315, 0.0979705006, 0.0310533531, -0.0340809822, 0.0396299623, -0.0093575586, 0.031817656, 0.0317803882, 0.0346468501, -0.1079554036, 0.0027223858, 0.0118064303, 0.0228550993, -0.0124939652, -0.0279809106, 0.0052784006, -0.1179739907, 0.0956386924, -0.0102213705, -0.0440985337, -0.0016013612, -0.0589732155, -0.0082924888, 0.0511363074, -0.0416206494, 0.0169648267, -0.0235616062, 0.019370174, 0.0100666443, -0.0105935056, -0.0618023612, -0.0493191332, -0.0131805046, 0.0631079897, 0.0700751543, 0.0224114489, 0.0183564276, -0.0368572287, 0.0176620595, 0.059769813, 0.015452493, -0.0677051544, -0.0272779521, 0.0322416909, -0.0353467315, -0.0035656674, 0.0206823964, -0.0415979922, -0.0087220948, -0.0128714796, 0.0868510753, -0.037931256, 0.0148505149, -0.064803876, -0.075522013, 0.0264276508, 0.026475776, 0.0559482723, 0.033967711, -0.0583029054, -0.0885492936, 0.0030203597, -0.0465994142, -0.0073074535, 0.0027643633, -0.0261850562, -0.0480760038, -0.0382036455, -0.0210414752, 0.0671325698, 0.033575926, 0.0170186106, 0.0043569496, -0.0284157507, -0.0178695042, -0.0525842309, -0.0180010274, -0.0228481479, -0.0037529489, -0.0691834092, -0.0648318306, 0.0260323696, -0.0052678157, -0.0190510247, 0.0382419005, -0.0378877856, -0.0420583822, -0.0000844101, 0.0498481169, 0.0111157112, -0.0164854676, 0.0049409517, 0.0048914528, -0.0027776572, 0.0968510807, -0.0572520941, -0.0167611502, -0.0347290747, 0.0048329239, 0.0246044919, -0.0171301905, -0.0180317163, 0.0281574018, -0.026071785, 0.0383800827, -0.0052851611, 0.0312732384, 0.0304604303, 0.0847489238, -0.0132582765, -0.0153975366, -0.0212760083, 0.0074654892, -0.0266248807, -0.1043781117, -0.0286888815, -0.03976845, 0.0135625331, -0.0482084006, -0.0212218892, 0.0394984148, 0.0165800862, -0.020581102, 0.0175577123, -0.0318910517, 0.047183603, -0.0034350003, -0.0008269898, 0.0231924132, -0.005092781, 0.0067727841, -0.0387299731, 0.0050636646, 0.0219981447, -0.0475310273, -0.0009309692, 0.0254224483, 0.0245007668, -0.0125678629, -0.010133177, 0.0034907737, -0.0345276482, 0.0027499117, 0.0068992465, 0.0027513197, 0.0452387556, 0.0634299815, -0.0832590908, 0.0145367356, -0.0050212904, 0.0285394397, 0.0321665891, -0.0386364684, 0.0016287355, 0.0048477524, -0.0374515206, -0.1078828797, 0.1049740389, 0.0158490743, 0.0124459527, -0.0427918881, -0.0363147222, -0.0546517409, -0.0201135632, 0.0241630021, -0.0148006575, 0.0216185171, 0.0049305763, -0.0492533371, -0.066562295, -0.0337089971, 0.0391268954, 0.008889907, 0.0137570333, 0.044506032, 0.0534893423, 0.0446718, -0.0364853293, -0.0019955253, 0.0286102723, -0.0037902296, -0.0787799433, -0.0163147617, -6.267643308e-33, -0.0337085165, -0.0541428514, 0.0352042802, 0.0066476986, -0.0131311119, -0.0055833403, -0.0401336923, 0.0016682721, 0.0465268679, -0.0226966646, -0.0033042377, -0.006011711, 0.0052189496, 0.0255021341, 0.0339240357, 0.0205395948, 0.0542376451, -0.0003861554, -0.0074083749, 0.0249977764, 0.0700190961, -0.0202558227, 0.0262820404, -0.0561335012, 0.0057768682, -0.0001488192, 0.0030962485, -0.0085859103, 0.0340140946, 0.0496377014, -0.0004662541, 0.0155305164, 0.0095943958, -0.0000182399, -0.030359311, -0.0002482081, -0.0503376238, -0.0499616116, 0.0141046969, -0.014937222, -0.0579681993, -0.07337147, 0.0249259379, 0.0023506086, -0.0082851565, 0.0425744765, -0.0006550375, 0.0007543441, -0.0264225882, -0.0410091169, -0.0651714727, 0.0347834267, 0.0083039943, 0.0388384759, 0.0216470603, -0.0272444785, 0.0207437761, 0.01556894, 0.0021873219, 0.0513142869, 0.0661794022, 0.002083835, 0.0543522313, 0.0077157617, 0.0618304946, -0.0035409546, 0.0149686309, 0.0282534678, -0.0133613469, 0.0715662017, -0.0114048859, 0.0509098545, -0.0324137509, 0.0141146863, 0.0395099781, -0.0371778384, -0.0353463739, 0.0477464423, -0.0547484159, 0.0159377214, -0.0304799434, 0.0096742837, -0.0100581972, -0.0140706766, -0.0034528323, -0.0007316611, -0.0148655847, -0.0353199877, 0.0255705398, -0.0349833332, -0.017888682, 0.0036945508, 0.0027000473, 0.0109468615, -0.0227976218, 0.0382687002, -0.0031382176, 0.0336956121, -0.0346980989, -0.0337627344, 0.0433465391, -0.0523194298, 0.0319094285, -0.0217746682, 0.0580134541, 0.0413164161, 0.0230422635, 0.0373480879, -0.0548030734, 0.0085552381, -0.0217021592, 0.0123508554, -0.0052338331, -0.0638131425, 0.0300055463, -0.0066172215, 0.0088368002, 0.0219884478, 0.0124929119, -0.0026629253, -0.0047576907, -0.0019193693, -0.0272746272, 0.0038125783, -0.030923333, -0.0172154326, -0.0572454743, 0.0230131112, 0.0877647921, -0.0313434601, -0.0429426394, 0.0084217424, 3.013e-7, 0.0402158201, 0.0538757779, 0.0434593484, 0.0800173357, 0.0358551852, -0.011658594, 0.0553650893, -0.0005116837, -0.0299021192, 0.0284029245, -0.0211214256, -0.0326156393, -0.0034900536, 0.0614806712, -0.0600280315, 0.0672611818, 0.0030345395, -0.0238174908, -0.065888159, 0.0434656478, 0.0731616095, 0.0399561934, -0.0227038804, -0.019225549, 0.0362680964, 0.0055203983, -0.0024308898, -0.0205209032, 0.044570066, 0.0337283872, -0.0278916862, 0.0051902309, 0.0178371035, -0.014965537, -0.0084287496, -0.0386529155, -0.0391224101, 0.0210704412, -0.0133858277, 0.0394338667, 0.0762868598, -0.0694788173, 0.0074482933, -0.0241978802, 0.0281387549, -0.0295068622, -0.0317494534, 0.0043652933, -0.0220227093, 0.0202556588, -0.0892542005, -0.0354108177, -0.0187887289, -0.0032095709, -0.0063816356, -0.03786337, 0.0008805117, 0.0069473926, -0.0246368349, -0.0071469443, -0.0352634788, -0.0054367105, -0.0613332279, 0.0212135538, 0.0209812168, 0.0436943285, 0.0045188004, 3.438491331e-34, 0.0178388897, -0.010096211, 0.0245256294, 0.0600176379, 0.0275471322, -0.0102460617, 0.0280311387, 0.0390172265, -0.0018483644, -0.0507138781, -0.0601331443 ]
http://arxiv.org/abs/2406.10432v1
http://arxiv.org/pdf/2406.10432v1
Enhancing In-Context Learning with Semantic Representations for Relation Extraction
2024-06-14T22:36:08
2024-06-14T22:36:08
Peitao Han, Lis Kanashiro Pereira, Fei Cheng, Wan Jou She, Eiji Aramaki
cs.CL
cs.CL
In this work, we employ two AMR-enhanced semantic representations for ICL on RE: one that explores the AMR structure generated for a sentence at the subgraph level (shortest AMR path), and another that explores the full AMR structure generated for a sentence. In both cases, we demonstrate that all settings benefit from the fine-grained AMR's semantic structure. We evaluate our model on four RE datasets. Our results show that our model can outperform the GPT-based baselines, and achieve SOTA performance on two of the datasets, and competitive performance on the other two.
[ 0.0066639804, 0.0123046851, 0.0024535311, 0.0925746933, -0.045285102, 0.0352546759, -0.0179767776, -0.0222255383, -0.0160822738, -0.0437479205, -0.034466669, 0.0143598812, -0.0359160192, -0.008024917, -0.0137542225, -0.0229294579, 0.0353588611, 0.023181824, 0.0445513651, 0.0335601158, 0.019970743, 0.0409999974, -0.0021061504, 0.0021140829, -0.0421965644, -0.0298737437, 0.0347101465, 0.0147675658, 0.0269014258, -0.0834317952, 0.0259846356, 0.0095406836, 0.0336714312, -0.0000832321, 0.0000018281, -0.0419204012, -0.0552869253, 0.0130279893, -0.0348402932, -0.0338132121, 0.016446624, -0.0286892857, 0.0275607873, 0.0055214651, -0.0653888881, -0.0232347846, 0.011427097, 0.0775148794, 0.0053042993, 0.0891000405, -0.0400658697, -0.0369101837, 0.0098057035, -0.0433654264, -0.0066718613, -0.0172147844, 0.0107079931, -0.0004930173, -0.030627232, 0.0169450324, -0.0399671718, 0.0068925708, 0.046942085, 0.037946064, 0.0314767733, 0.049533952, -0.0301891025, 0.0358423814, 0.0149605311, 0.108620517, -0.0045162369, 0.0048756176, -0.0042179893, 0.0120671587, -0.0092706513, 0.0145474179, -0.0088339355, -0.0150618525, -0.0341717415, 0.0407900736, 0.0056183026, 0.0150753288, 0.0394071266, 0.006596168, -0.0349530801, 0.0382487997, 0.0065326644, -0.0558779351, 0.0390857235, 0.0262328703, -0.028179355, 0.0132782348, -0.0176467728, -0.0170866158, -0.024761131, 0.0479724854, -0.028287949, 0.0380323082, -0.0260214228, 0.0178455506, -0.0037998599, 0.0103344005, -0.0085327625, 0.0326214693, -0.0318708383, 0.0282851886, -0.0118131293, 0.0190180317, -0.0081271976, -0.0410567038, -0.0658461601, 0.015779933, -0.0418754257, 0.0623278022, -0.068399094, -0.0355456471, -0.0566920266, 0.0389528647, -0.017682964, -0.0234431699, 0.0149012515, 0.0114902174, -0.0206485894, -0.0037487824, -0.0177458506, 0.0001664261, -0.0034490132, 0.0131126568, 0.0059944866, -0.0114632053, -0.0255905446, -0.0097763194, 0.0525053591, -0.0471696183, -0.0075899069, 0.0812578425, 0.0198586266, -0.0717809871, 0.0155759705, -0.0492491685, 0.0096112965, -0.0512621105, 0.0087062782, -0.0382312611, 0.0430567972, 0.0269396473, -0.0078154663, -0.0451888368, 0.0278089289, 0.0198571086, -0.0381519943, 0.0512643307, -0.0244184788, -0.034057647, -0.0578514375, 0.024817558, 0.0277409647, 0.0331007242, 0.0289503969, 0.0134859178, 0.0412077159, 0.0365864113, 0.0011549417, -0.0001085067, 0.0306747593, 0.0002066333, -0.0011980826, 0.0280833449, -0.0033115626, -0.0016333213, 0.0526553802, 0.0382212065, -0.0352731645, -0.0334978104, 0.0249500386, 0.0124640148, 0.0153201642, 0.0449787602, 0.0293457489, 0.0186507422, -0.0247790776, -0.009258247, -0.0693685487, 0.0346783996, -0.0175728984, 0.047548227, -0.0167836361, 0.0104990304, 0.0011578838, 0.0035767241, 0.0065412889, -0.0051841252, -0.0304232128, 0.0463562235, 0.035945598, 0.0343845859, -0.0524985529, 0.0435089953, 0.0638246313, -0.0125272386, -0.031773176, -0.0012117537, -0.0197289158, 0.0085766371, 0.0442946777, -0.0498158336, -0.0191594586, -0.0370056555, -0.0153807653, 0.0510943793, -0.0158032663, -0.0213706847, 0.0166704189, -0.03256106, -0.051250916, -0.0086495718, 0.010303475, -0.0098106591, 0.0618504882, 0.0053981668, 0.024967311, -0.0104165608, 0.0149520347, 0.0107712066, 0.0111171734, -0.0385991931, 0.0064301328, 0.0277223587, 0.036972329, 0.0091291564, -0.0086969314, -0.0123904524, 0.0322613083, -0.0252432451, -0.0002463938, 0.0235532112, -0.1012946665, -0.0974107534, 0.0265628565, -0.0193612836, -0.0389153995, -0.0174160283, -0.0484113581, 0.0006340165, -0.00369645, -0.0090391589, 0.0944909453, -0.0216839854, -0.0147654088, 0.0667358115, 0.0094469273, -0.0329737812, 0.0966754258, -0.0237787534, -0.0345491841, 0.0357442796, -0.0247995742, -0.0102383159, -0.0128023773, 0.0236830525, 0.001161398, 0.0060973074, -0.0278423112, 0.01980621, 0.0199868008, -0.0559390672, 0.0031571719, -0.0628364608, -0.0116887409, -0.0039591095, 0.0303432476, 0.0410335287, 0.0440611504, 0.0042548049, -0.0225842223, -0.0042777574, -0.0136309275, -0.0364672802, 0.0182829183, 0.0578151383, -0.0123657249, -0.0302761551, -0.0298177451, -0.0209077131, -0.0230199546, 0.0551060922, -0.0013933451, -0.0208282415, 0.0228114296, 0.0305887498, -0.005886835, 0.0145663517, -0.0424634293, 0.0069539985, -0.0336236693, -0.0173033141, -0.0033057679, 0.0190586075, -0.028288709, 0.0624578297, -0.0137254866, 0.0008953112, -0.0237168074, 0.038087979, -0.025003558, 0.0328178369, -0.0150200594, 0.0041693687, 0.0095201191, 0.0309444219, 0.0064067468, 0.0190462451, 0.0212023277, -0.014541911, -0.0075179264, 0.0074862679, -0.0732448995, 0.0400996618, 0.0122768832, -0.013024441, -0.0731763914, -0.0093743801, 0.0739584714, 0.0275934171, -0.0228487067, -0.0616595745, -0.0237505492, -0.0614075288, 0.0473223366, -0.0295869391, 0.0086693335, -0.0042775809, -0.0276158135, -0.0292136073, -0.0219457243, 0.0185004547, 0.0113211554, 0.0526738167, -0.0409224667, 0.0227294005, 0.0057294266, -0.0475793369, -0.0360026248, -0.0546450354, -0.0083075231, 0.0413944386, -0.0242800936, -0.0052056629, 0.0072041424, -0.0106924372, 0.037574973, 0.0145550855, -0.0078563532, -0.0342757106, -0.0169273429, 0.1015365049, 0.0999407917, -0.0221859235, -0.0204444639, 0.0008744638, 0.0435258038, 0.0499635153, -0.0041564833, -0.0400670096, -0.0356743671, 0.0406596474, -0.031153338, -0.0198629405, 0.0180723704, -0.0015991331, 0.0201660264, -0.0627792329, -0.0302441195, 0.0934338197, 0.0154163595, -0.0405159965, 0.0232274141, 0.0691016093, 0.0429573283, 0.0378867015, -0.026447311, -0.0740198568, -0.052306287, -0.0137035176, -0.0451145805, 0.0140955672, -0.0353663862, 0.0029887424, -0.0814176276, 0.018389754, -0.0076329489, -0.0740790293, -0.0604642071, -0.0127347223, -0.0004696979, 0.0029356857, 0.0342641175, -0.012028615, -0.0635291934, 0.0065021352, -0.0160987247, -0.0011362496, -0.0408862941, 0.0267202519, -0.0115098273, 0.007885024, 0.0108451368, 0.0127042122, 0.0134018082, 0.0368209928, 0.0444563478, -0.049863562, 0.0238127485, -0.0408614241, 0.0596449971, -0.0243809801, -0.0175731331, -0.0372526981, -0.0023737033, -0.0791026205, -0.0052316985, 0.0039546536, 0.072702527, 0.0055185701, 0.019143369, -0.0146528035, -0.0667981058, 0.0007009417, 0.0291781221, 0.004300606, 0.0392990969, -0.0501328409, 0.0041388362, 0.0234963614, -0.0414033346, 0.0219309945, -0.0161942951, -0.0423498489, 0.0177313406, -0.047542274, -0.0865017101, 0.0090397242, -0.0093039703, -0.0343138315, 0.002153859, 0.0208804049, 0.0058197044, -0.0979922041, 0.0042743911, -0.0538548939, 0.0078574307, 0.0090685403, 0.0022092974, 0.0222712867, -0.0139226168, -0.0374501012, -0.0326720476, -0.0137791829, -0.0297510959, -0.0303762183, 0.0115662646, 0.010231181, 0.0762659609, -0.0110801989, 0.0276878458, 0.085883975, 0.0080178333, -0.0518175289, -0.0041908491, 0.0176132452, 0.0264588855, 0.005208273, 0.0326052308, -0.0477974378, 0.0398105681, 0.0218319874, 0.0540528968, -0.0163294915, 0.0032645168, 0.0584078506, 0.0157634933, 0.0591443665, 0.0342831425, -0.0183840226, -0.0415753536, 0.0395423472, -0.0575158857, -0.0036802988, -0.0269861966, 0.0505691357, 0.0033430799, 0.0112478388, -0.0299432632, 0.0043817572, 0.0223467276, 0.0104732718, 0.0044734455, -0.0074471594, 0.0028314148, -0.0078706574, -0.0120114395, 0.0343191326, -0.0224006996, -0.0089624878, 0.0260673054, 0.0104739731, -0.0279563405, 0.0338662006, 0.0118821682, -0.0389146283, -0.0490458086, 0.0217702147, -0.0350708589, 0.0877093598, -0.0200372189, 0.0505681336, 0.0736467019, -0.0169832055, 0.0399487503, -0.0149556538, 0.0064850878, 0.0061972444, 0.0580665618, -0.0025224315, -0.004031667, 0.0510130376, 0.0235909726, -0.0356535539, 0.0218503326, 0.057081867, -0.0198092982, 0.0558897145, 0.0012722358, -0.0241673384, -0.0713166595, -0.0070399032, -0.004881639, 0.0360112526, 0.0043908004, 0.0396156572, -0.056671761, -0.0745506734, -0.0133453142, -0.0469360873, -0.0275554769, -0.0141316103, 0.0192289948, 0.0192904994, 0.0610883795, -0.062234886, -0.0113585256, -0.0144122047, -0.0518276282, -0.0280083958, -0.0469009131, -6.324396176e-33, -0.0171534847, -0.0244281609, 0.0223835669, -0.0171042159, -0.0545949489, 0.0511269942, -0.0368227027, -0.0463333093, -0.0189993065, 0.0570640825, -0.0019161844, 0.0115604522, 0.0003663202, 0.0314508341, -0.0327916741, -0.02313051, 0.0262252167, 0.0265103225, 0.0234809872, 0.0249761716, 0.0083488701, 0.0415806025, 0.0732144937, -0.0739021078, -0.0341785438, -0.020273963, 0.0168168563, 0.0096883979, 0.0031485809, 0.0534271188, -0.0233037919, 0.0567770042, 0.056341812, -0.0023203592, 0.0174888335, 0.0055251368, -0.1571830511, -0.0372352339, -0.0062047169, -0.0367470719, -0.0427083708, -0.0324169695, 0.0280006044, -0.0046313237, 0.0475039594, -0.0623578504, 0.0429990105, 0.0001969898, -0.0385057293, -0.0312602445, -0.0790293142, 0.0306325443, 0.0231867544, 0.0123278778, 0.0216512308, 0.0180768836, 0.0279976279, 0.0055045146, -0.0186303835, -0.0600787215, -0.0546466187, 0.0181872863, -0.0037985905, 0.0004229757, 0.0027472961, 0.0459225923, -0.0036841384, -0.0408705287, 0.0381658487, -0.0090413326, -0.0038721289, 0.0705170184, -0.0504843593, 0.0562511981, 0.0124158552, 0.0388276689, -0.1104891747, -0.0228560697, 0.0376414359, 0.0676143095, -0.0215766504, 0.0074002612, -0.0706912577, -0.0020909961, 0.0238529444, 0.0299398266, -0.0143415732, -0.0322459564, 0.0524509475, 0.0197666716, 0.0266744904, 0.0667118803, -0.0114317667, -0.0253307782, -0.0249475017, 0.027692439, -0.0040906416, -0.0085106725, 0.031871181, -0.0153243681, -0.0364575908, -0.019118607, -0.0176813714, 0.0068306555, 0.0081208823, -0.0153504638, 0.0709821731, -0.0014761566, -0.0562364869, -0.0108220624, -0.0456261896, 0.0046412055, -0.03585127, -0.0037958545, -0.0022766525, 0.0470734462, -0.030637959, 0.0444423258, 0.0241178181, 0.0103757493, -0.0055420552, 0.018364111, 0.0137286419, 0.0272974763, 0.0247223675, -0.0017503422, 0.0111112539, 0.019911129, 0.0201741159, -0.038885925, -0.0225929283, -0.021642739, 2.473e-7, 0.0320988744, 0.0500442311, 0.0742013454, 0.0351551995, 0.0082654692, 0.0197791699, 0.0049642837, 0.0370024219, 0.0135703282, 0.0207000319, 0.0388562419, 0.0150568774, 0.0020030488, 0.0040097241, -0.0517350659, 0.0518739894, -0.0870326087, -0.0749709308, -0.0227187164, -0.0101669095, 0.0984446257, 0.0652673915, 0.0298923105, 0.0001765226, -0.0429654941, -0.0226726122, 0.0560913347, -0.0340096913, 0.0028518434, -0.0151507873, -0.0535055846, 0.025397677, -0.0104409913, 0.0271155052, 0.0076226084, 0.0512786359, 0.010604836, 0.0436573327, -0.0544851571, -0.0507162735, 0.014598432, 0.0137304598, 0.0263633095, -0.0290739089, 0.0558618791, -0.0652484, 0.0048448551, -0.0158320479, -0.0700276569, 0.0124400165, -0.010113731, 0.0549054556, -0.0274059959, 0.0136710973, 0.0217841845, 0.0011524763, -0.0478741638, -0.0838476047, -0.0142857321, 0.0599901602, 0.0175193194, -0.0157066118, -0.0060471483, 0.0071393582, 0.030298952, -0.0221645329, 0.002287738, 2.28612001e-34, 0.0040928018, 0.0177561883, 0.0048262849, 0.0824068263, 0.029453449, -0.0403997526, -0.0442887545, -0.0001629292, 0.0107372878, -0.0753800496, 0.0184800997 ]
http://arxiv.org/abs/2406.10421v1
http://arxiv.org/pdf/2406.10421v1
SciEx: Benchmarking Large Language Models on Scientific Exams with Human Expert Grading and Automatic Grading
2024-06-14T21:52:21
2024-06-14T21:52:21
Tu Anh Dinh, Carlos Mullov, Leonard Bärmann, Zhaolin Li, Danni Liu, Simon Reiß, Jueun Lee, Nathan Lerzer, Fabian Ternava, Jianfeng Gao, Alexander Waibel, Tamim Asfour, Michael Beigl, Rainer Stiefelhagen, Carsten Dachsbacher, Klemens Böhm, Jan Niehues
cs.CL
cs.CL, I.2.7
With the rapid development of Large Language Models (LLMs), it is crucial to have benchmarks which can evaluate the ability of LLMs on different domains. One common use of LLMs is performing tasks on scientific topics, such as writing algorithms, querying databases or giving mathematical proofs. Inspired by the way university students are evaluated on such tasks, in this paper, we propose SciEx - a benchmark consisting of university computer science exam questions, to evaluate LLMs ability on solving scientific tasks. SciEx is (1) multilingual, containing both English and German exams, and (2) multi-modal, containing questions that involve images, and (3) contains various types of freeform questions with different difficulty levels, due to the nature of university exams. We evaluate the performance of various state-of-the-art LLMs on our new benchmark. Since SciEx questions are freeform, it is not straightforward to evaluate LLM performance. Therefore, we provide human expert grading of the LLM outputs on SciEx. We show that the free-form exams in SciEx remain challenging for the current LLMs, where the best LLM only achieves 59.4\% exam grade on average. We also provide detailed comparisons between LLM performance and student performance on SciEx. To enable future evaluation of new LLMs, we propose using LLM-as-a-judge to grade the LLM answers on SciEx. Our experiments show that, although they do not perform perfectly on solving the exams, LLMs are decent as graders, achieving 0.948 Pearson correlation with expert grading.
[ 0.0088650631, 0.0471478887, -0.018353017, 0.0348073468, -0.0458584316, 0.0003072702, 0.0288342107, 0.0085287746, 0.0272982288, -0.0635295883, -0.0262416657, -0.0436702073, -0.0338144749, 0.0476316847, 0.0367624536, -0.0436840542, 0.0117229419, -0.0508071445, 0.0166600011, -0.0308137722, 0.0170816053, -0.0346630402, -0.0342454165, 0.0042974083, 0.0106180832, -0.0273623094, -0.0037729107, -0.0315575562, -0.0003857275, -0.0253426917, 0.0130716348, 0.0904072002, 0.013441124, 0.0312123839, 0.0000020604, -0.0733562559, -0.0079180868, 0.0075381934, -0.0205233637, 0.0564960316, 0.0372769982, 0.0421751291, -0.0092326794, 0.0178560689, -0.0648984537, 0.0035108048, 0.0215308443, -0.0113300951, 0.0801878199, 0.0534913242, 0.0173098221, -0.0046638432, 0.0563638695, 0.0102730263, 0.0129722571, -0.0434047356, 0.0293611288, 0.04072785, 0.0219372772, 0.0165632423, -0.0346111692, 0.0297538713, 0.0297371019, -0.0328552537, -0.0079707503, 0.0078184232, -0.0211309213, 0.0252842996, -0.0042000287, 0.0693055168, -0.0152003374, -0.0014356198, -0.0055700652, -0.0022470378, -0.0193650629, 0.0502061285, -0.0759572908, 0.0529111028, 0.0044304142, -0.0325647593, 0.0036802029, -0.0021878507, 0.0044948007, 0.0346753374, -0.0001044442, 0.0756506249, 0.0459850803, -0.0453834794, 0.0378160737, -0.0023252149, -0.0100480337, -0.0449230559, 0.0425471626, 0.0470745154, -0.0384289064, -0.0061011873, -0.0152352685, -0.0633067936, 0.0230107959, -0.0443216898, 0.0361395739, 0.0250963252, 0.0244061332, 0.0812112838, -0.0281352289, 0.1030963138, 0.0212942827, 0.0277536772, -0.0388115197, -0.0077327387, -0.034006644, 0.0025339941, 0.0039520347, 0.0220846459, 0.0007969174, 0.0195677131, -0.0556460805, -0.0154041424, -0.050696943, 0.0187481716, 0.0139339045, 0.0107279075, -0.0002972771, 0.0064054667, -0.0524939448, 0.0327736549, -0.0352221541, -0.0138795385, 0.0034604901, -0.0024089674, 0.0154331867, 0.0204247329, 0.0108365063, -0.0061414293, 0.0357206129, 0.0492793359, 0.0059597655, 0.0185264349, 0.0216447823, -0.0353631414, 0.0255467035, -0.0711127147, 0.0177048892, -0.0876324624, 0.033706896, 0.0393734463, -0.0072079455, -0.0314694308, 0.015717091, 0.01869867, 0.0395345762, 0.0333145261, -0.0052035274, 0.0014226793, 0.032942947, 0.0163193438, -0.033441551, 0.031378489, 0.0216423776, 0.0022326356, 0.0252922922, -0.0607318655, 0.0664898455, 0.0476272628, -0.0192784872, -0.0039521125, -0.0206997488, 0.0460863486, 0.047757715, 0.0497753322, -0.0119557381, 0.0638639256, 0.0160413533, -0.0064936355, 0.0202939715, 0.0444086865, -0.0113008982, 0.0082896324, 0.0207790006, -0.0076878192, 0.0643337965, 0.0215235576, -0.0313631296, 0.0296198521, -0.0357906818, 0.0066698333, 0.0088126156, 0.0212527085, -0.0010664399, -0.0607733577, -0.0218266454, 0.0081317574, -0.0172714237, 0.0125092966, 0.0535786673, -0.0384020023, -0.0060970187, 0.0274468325, 0.012521253, -0.0482883677, 0.0229222607, -0.0362738669, 0.0303450171, 0.0401680544, 0.0542494506, -0.0452869087, -0.0415594541, 0.0002059071, 0.0141068548, 0.0306628831, 0.06168437, -0.0266065244, -0.0403004698, -0.0443478785, -0.037550699, -0.0033455123, -0.0016613464, -0.0307364315, 0.0214759894, 0.002339483, 0.0154090198, -0.0539889671, -0.0500984415, 0.0145291733, -0.0472566672, -0.0313816071, -0.0339045227, -0.0078075216, 0.0032470452, 0.0039511332, -0.0061304113, 0.0459193029, 0.0419123545, -0.0338848755, -0.0149783213, -0.057421051, -0.0299434587, -0.0015735982, 0.0734726489, -0.0847985819, -0.0317103416, 0.0557157323, -0.0342591293, -0.0456648022, 0.0303632114, -0.0334938355, 0.0000121988, -0.0113127688, 0.0137145575, -0.0103579909, -0.0408514515, -0.0255505573, 0.0444660448, 0.0249662213, 0.1007653251, 0.0150003219, 0.0047074724, 0.0243405215, -0.0285032578, -0.0408132784, -0.0212912299, -0.0140359616, 0.0259649735, 0.0266651735, 0.00496116, -0.0745236054, -0.0167709496, -0.06910602, 0.0049375715, 0.0056470288, 0.0313175507, 0.0306326468, -0.0540614985, 0.0041152244, 0.0088000428, -0.0724040121, -0.0134827616, 0.0243714768, -0.0176970307, 0.0320017152, -0.0117069669, -0.0146177867, -0.0595080964, -0.0324047916, -0.0800932795, 0.0353537314, 0.035832379, 0.0432608426, -0.0059269192, 0.0753000826, -0.0217598379, 0.0150053296, 0.0044241399, -0.0265251957, 0.0104386928, -0.0458763763, 0.0283739641, 0.0815370008, 0.0073361271, -0.0414810367, 0.0539022721, -0.019537162, -0.0603070967, 0.0055426462, 0.012343958, -0.0007505285, -0.0344975181, -0.0376637839, 0.0050203414, 0.048773922, -0.0155730154, -0.0373650789, 0.0176962987, 0.0628412142, -0.062577799, 0.0155731868, -0.0653450191, 0.0234217532, 0.0063122087, 0.0336605348, -0.0054907044, -0.0351951234, 0.0813431069, -0.0421380885, 0.0086931577, -0.0336465985, 0.0111444928, -0.0400122963, 0.0428357385, 0.0080808559, 0.0114649534, -0.0335893854, 0.0282054096, -0.0464222841, -0.0054251309, 0.0082901986, -0.0668573603, 0.002687111, -0.0580291003, -0.0137075968, -0.0135647673, -0.0253141448, -0.0205064546, 0.0003198733, -0.025245918, 0.0382798314, 0.0155998264, -0.035328079, -0.0204156358, -0.0032558031, 0.026419891, -0.0014166298, -0.0434700809, -0.0060671056, -0.0098797986, 0.0677594095, 0.0380354337, 0.029338045, 0.0018192837, -0.0491930954, 0.0001817039, 0.058719568, 0.0566734634, 0.028659787, -0.0054626372, 0.0189950634, 0.039117299, -0.0588970035, 0.0063767773, 0.0227495767, 0.0191136599, -0.0801580101, 0.0069926381, 0.119943805, 0.0318760909, -0.0126246167, -0.0341207236, -0.0210851636, -0.0174094774, 0.0553228259, 0.0484950282, -0.064106673, -0.0067912019, -0.0097149154, 0.0054487484, -0.0123183066, -0.0211378615, 0.0122334715, -0.1274038106, 0.0270412285, 0.0167548135, -0.0569059141, -0.0088126427, -0.0671158209, -0.0115915444, -0.0125283683, -0.00907409, 0.0265272129, 0.0135012828, 0.0069272048, 0.0305456165, -0.02715699, -0.0398714133, 0.0682762414, -0.0533167981, 0.0413272828, 0.0220305044, 0.0348841175, -0.0534625351, -0.0905478001, 0.0357339457, -0.0132573042, -0.0192908719, -0.0101584876, -0.0015629616, 0.0165601075, -0.0068880324, -0.0411750302, 0.0177525319, -0.0539254136, 0.0211787596, 0.046403762, 0.1250257194, 0.0173841529, -0.0205937717, -0.0503847934, -0.0285256319, -0.0288447235, 0.0776110739, 0.0206385348, -0.0586509705, -0.0382997915, -0.0727284178, 0.0021417036, -0.0359211341, -0.0421678796, 0.0186716225, -0.0015749327, 0.0154924663, -0.0341628529, -0.024089057, 0.0698678941, 0.0374878161, 0.023411179, 0.0019851823, 0.008913001, -0.0062986366, -0.052565448, 0.050008852, -0.0314380005, 0.0477701873, -0.078729555, -0.0140736606, 0.0136655895, 0.0155088287, -0.049784489, 0.0139986482, -0.0518198162, -0.0513219871, -0.022689227, 0.0706512555, 0.0218709093, -0.0432176106, 0.0009337344, -0.059379261, 0.0098464917, -0.0244352687, -0.0239867978, -0.0060912962, -0.0047840574, -0.0523621738, -0.016210679, -0.0193965696, -0.0223619416, -0.0129051609, 0.0267841313, 0.0595186502, -0.0044536628, -0.0613525026, 0.0402736552, 0.0945485532, 0.016977746, 0.0246191826, -0.0214740895, 0.0054620337, 0.0286284517, -0.017092796, -0.0420127474, -0.0114380633, -0.0009998624, 0.0285113137, 0.003251364, 0.0175342895, 0.0217192657, -0.0219047498, 0.0026729391, -0.0326079577, 0.0441059694, 0.0398973785, 0.0039612162, 0.0471298136, -0.0273236558, -0.003013849, -0.0266192965, 0.0129501391, 0.0531618148, -0.0229242407, 0.0616911463, -0.0015133547, -0.0001261694, 0.0162151121, 0.0018725714, -0.05298841, -0.0447115451, -0.0381974839, 0.0278465822, 0.0319424048, 0.0350726955, -0.0121727102, -0.0306477305, -0.0060482337, -0.0237070937, -0.0101082092, 0.0151719712, -0.0082581425, 0.0693564564, 0.0388002656, 0.025410613, 0.0116786929, 0.0776702464, 0.0140996668, 0.0216573272, 0.0031732984, -0.0156193813, -0.03630279, 0.0080712531, -0.0065836823, -0.0054967478, -0.0137029896, -0.0147499004, -0.0487352274, -0.0675561354, 0.0395788699, 0.0640020072, 0.0076949331, -0.0200101361, 0.0502672866, 0.06199608, -0.0266066436, -0.0011828225, -0.0139288446, 0.0529820621, -0.0068947375, -0.045342952, -0.0332337096, -5.972927773e-33, -0.0132400002, -0.0481671207, 0.0307137966, -0.0093404679, 0.0145587157, 0.0052267979, -0.0380448252, 0.0290817767, 0.0043782173, 0.0033059588, -0.0159162544, -0.0016131717, -0.0000995671, 0.0108202016, 0.0254084673, 0.0035434444, 0.0137293125, -0.0142898662, -0.0166703034, 0.0062733861, -0.0369626135, 0.0090441341, 0.0399453007, -0.0628689528, 0.0200421121, -0.0100747105, 0.0009804222, 0.0195313618, -0.0435959212, 0.0720867515, -0.0187647101, 0.0412227698, 0.0114658643, -0.0739582404, 0.0038830482, -0.0114043904, -0.0263180118, -0.0217674337, 0.0046864394, 0.0004179719, -0.0177492686, -0.0282395296, 0.0567394644, 0.0008803274, -0.0589461178, 0.0016889079, 0.062169373, -0.0181321353, -0.0127258077, -0.0322838239, -0.0186431147, 0.0075690011, -0.0400926471, -0.0114121744, -0.0090352353, 0.0178641342, 0.000501806, 0.0087294504, -0.0017056527, 0.0407908, 0.0487584658, 0.0658338815, 0.0700869039, -0.0241773967, -0.0088256467, 0.041580651, 0.0380416401, -0.0010802512, 0.0239505116, -0.0483256355, 0.0483931005, 0.049282793, 0.0980779529, 0.0632715523, 0.0525655821, 0.031375628, -0.0783031955, 0.0648005083, 0.0281541627, 0.0153179336, -0.0188390762, -0.0162552912, -0.0359184481, -0.0103535987, -0.0569642633, 0.0192976557, -0.0529687665, -0.0006102772, 0.0230345372, -0.0397697203, -0.0069749611, -0.0303301625, 0.0122441016, -0.0594917685, -0.0422567949, -0.0150320837, 0.012056699, 0.0594505556, -0.0086442959, 0.0478861928, -0.037645001, -0.0110285766, -0.0173384454, -0.0204725526, 0.0347881727, 0.0078415852, -0.017087562, 0.0158956181, -0.0506731831, -0.0237886291, -0.0523901954, -0.0422434881, 0.030097764, 0.0346037522, 0.0235576257, 0.0289989393, 0.0042887875, 0.0254446138, -0.015975479, 0.013632291, -0.0317968912, -0.0143305706, 0.01545389, 0.006092092, -0.0206743944, -0.0326006748, -0.0384733155, 0.0028836546, -0.0097598191, -0.0428022854, 0.002955843, 0.0092804609, 2.671e-7, 0.0525155216, 0.0807925239, -0.0128354467, 0.0072507132, -0.0006764692, 0.0221639145, -0.0647414401, -0.0097457943, 0.027583668, -0.0092914356, -0.0353352427, 0.0116600003, 0.0418930836, 0.050877925, -0.0840469375, -0.0055599795, -0.0251557287, -0.0158720519, -0.0593405366, 0.0346309058, 0.0622416958, 0.0560339838, 0.0107366377, -0.0199152008, -0.0188537817, -0.0638360977, 0.0406960398, -0.0240556356, -0.0277802087, 0.0394578613, 0.0233635195, 0.0105622979, 0.0055497466, 0.0715020001, -0.0102368919, -0.0236387551, 0.038357906, 0.0653131902, 0.0151861729, -0.0020255423, 0.0238176156, -0.0378644504, 0.0119991777, -0.0355970748, 0.0482615009, 0.0081586037, -0.0091130706, -0.0260374565, -0.0256372988, -0.048135478, 0.0172256883, -0.0445369855, 0.0082308566, -0.0087005254, 0.0052469303, -0.0259594284, -0.0093479119, -0.0224055219, -0.0442813486, 0.032766901, -0.0276394505, -0.0770062506, -0.0524161309, -0.0258265901, 0.0277903154, -0.0464077517, 0.0076725031, 2.54299124e-34, 0.058268562, -0.0019403844, 0.0370405465, 0.0161984712, 0.026129555, 0.0115582701, -0.013462523, -0.0200585127, -0.0124648539, -0.0635450557, -0.0165905878 ]
http://arxiv.org/abs/2406.10402v1
http://arxiv.org/pdf/2406.10402v1
Determination of the Number of Topics Intrinsically: Is It Possible?
2024-06-14T20:07:46
2024-06-14T20:07:46
Victor Bulatov, Vasiliy Alekseev, Konstantin Vorontsov
cs.CL
cs.CL, cs.IR, math.PR
The number of topics might be the most important parameter of a topic model. The topic modelling community has developed a set of various procedures to estimate the number of topics in a dataset, but there has not yet been a sufficiently complete comparison of existing practices. This study attempts to partially fill this gap by investigating the performance of various methods applied to several topic models on a number of publicly available corpora. Further analysis demonstrates that intrinsic methods are far from being reliable and accurate tools. The number of topics is shown to be a method- and a model-dependent quantity, as opposed to being an absolute property of a particular corpus. We conclude that other methods for dealing with this problem should be developed and suggest some promising directions for further research.
[ 0.0287782717, 0.0251555201, -0.0321339183, 0.0196933765, -0.0202599186, -0.0192724541, -0.0093961228, -0.0171123985, -0.0958821997, 0.019163873, -0.001360454, -0.0262355842, 0.0104791485, 0.0137577262, 0.0024237486, -0.0110396948, 0.012565922, -0.0099690873, 0.0199947786, 0.0316838995, 0.0374804772, -0.0136524988, 0.0011601893, -0.0001356225, 0.0283478294, 0.0141359735, -0.0161826592, -0.0349571519, 0.0098918891, -0.0175286848, 0.0164079685, 0.0678095222, 0.0130648827, -0.0178713966, 0.0000017433, -0.0521473996, -0.0567204244, -0.0130343819, 0.0431166291, 0.0377521664, 0.0796376467, -0.0180256162, 0.0268405098, 0.0245180149, 0.0134914955, 0.0437517166, -0.0058075194, 0.0541775897, 0.0068230326, 0.0205549356, -0.0325827338, -0.004421101, 0.0272201486, 0.0029688333, 0.0010830774, -0.0161728226, 0.005505133, 0.0089440821, 0.0210089013, 0.0648646802, -0.0199153554, 0.0249619409, -0.0196837578, -0.011303734, -0.0035330481, 0.0160677098, -0.0297698602, -0.043928422, 0.0116891377, 0.0125616118, 0.0439145043, 0.0161982197, 0.0588665232, -0.0031604939, -0.0218215119, 0.0563615672, -0.0512310714, 0.0125388373, -0.0070153503, 0.014483233, 0.0620342642, 0.0426319167, -0.0080227405, -0.0028343177, 0.0105017349, 0.0557423942, 0.0267520268, -0.0053885491, 0.0073203119, 0.0152091607, -0.0058957962, -0.0304581542, 0.0046993732, -0.0067329537, 0.0311775766, 0.0420862064, 0.0364610851, -0.0430323817, 0.032313779, -0.0306167509, -0.0151955467, -0.019868264, -0.0391982608, 0.0288746096, 0.0621059202, -0.043154791, -0.0099940505, -0.0635854229, -0.0224631578, -0.0154324016, -0.0269171428, 0.0345942266, -0.0391359366, -0.0060433373, 0.0231133904, -0.0190978199, -0.0053063729, 0.0490465164, 0.0391853973, -0.0442612171, -0.048171442, -0.0542453155, -0.0213297121, 0.002188239, -0.015908666, 0.0292435866, -0.0602762997, 0.0380244181, -0.0521259829, 0.0055317129, 0.0345674232, 0.0220692698, 0.0438593067, -0.0143217789, -0.0213364679, -0.0217558481, 0.0057905396, -0.0496860035, -0.0716918334, -0.0046939119, -0.0451186597, -0.0230051279, 0.0301898308, -0.1142211184, -0.030606145, 0.0211093612, -0.003758715, 0.0198579859, 0.0051947986, -0.0058084186, -0.0328075364, -0.0058909589, -0.055091463, 0.0272281617, 0.0757952183, 0.0064781466, 0.0185643416, 0.1050249711, 0.0003199938, 0.0230184458, 0.096693188, 0.0011682176, 0.0063526751, -0.018743135, 0.0070699034, 0.0655584931, 0.0336238779, -0.0147266043, -0.0416620634, -0.0431876518, -0.0055779838, 0.0269359685, -0.0294549335, -0.0248233397, 0.0247496367, 0.0857358724, 0.0305527207, 0.0300695077, -0.024450168, 0.0218215715, 0.0672381967, 0.0278328136, 0.0693157539, -0.0093151014, 0.0129322885, -0.0169259515, 0.0622463003, -0.0228304397, -0.0238723867, -0.0558407456, -0.0350520574, 0.0225075632, -0.0197880175, -0.0577364415, 0.0990207493, -0.0444807932, 0.0666675121, 0.0134834517, 0.0380152501, -0.0126306675, -0.0123029323, 0.0507323816, 0.0459420197, 0.0177769307, 0.0099436799, -0.054125201, -0.0504802838, 0.0031316532, 0.0242041703, 0.0251269657, -0.020697901, -0.0193845276, 0.0223039426, -0.0005230907, 0.0272766221, -0.0056493208, 0.0520134531, -0.0010420859, -0.0193143617, 0.011430976, -0.0215721633, -0.0605165847, 0.0551646277, 0.0307899136, -0.0453165025, 0.0449971892, -0.0052719093, -0.0644045025, 0.0627477914, 0.0295838658, -0.0009236914, -0.0034849318, 0.04051999, -0.0104083288, -0.010570446, 0.0049947822, 0.0399615802, 0.039833229, 0.0549184009, -0.0755483061, 0.0446868949, -0.0123403315, 0.0309049916, -0.0083673913, 0.0227816887, -0.0762489364, 0.0079184109, -0.0380427353, -0.0063117044, -0.067198351, -0.0044551147, 0.0099714743, 0.0018698422, -0.0138823744, 0.039604418, 0.0303292051, -0.0340280272, 0.0426828377, -0.047135368, -0.0156847984, -0.0103916144, 0.0107499752, 0.0170828532, 0.0700096339, -0.0248313323, -0.0421575867, -0.0215057284, -0.1062099785, 0.0135865528, -0.0313911214, 0.0072877919, 0.0501768701, -0.0163734332, -0.0340249054, 0.0328684598, -0.005047949, -0.0304948911, -0.0274429824, 0.0259371828, 0.0363690257, -0.0022364643, -0.0007041263, -0.070004642, -0.0062818653, -0.0128346011, 0.041037403, 0.0031066241, -0.0363960713, 0.0071582827, 0.046670299, -0.0232822709, -0.0229617991, -0.0192082152, -0.0097207231, 0.0107713426, -0.0262944922, 0.075774096, -0.0609480031, 0.0255483314, 0.0718605742, 0.0567286089, -0.0214520898, -0.0146650933, -0.0728886798, -0.0498984419, 0.0121842697, 0.0023015128, -0.0845754519, 0.0412502773, 0.0611483417, 0.0128910411, 0.0302912518, -0.0113652395, 0.0142486161, -0.0614090227, -0.0026609248, -0.049792178, 0.0620198101, -0.0147759663, 0.0550560504, 0.0181788933, -0.0340820178, -0.0203168523, -0.0149993971, 0.0296980925, -0.0446282774, -0.0177565198, -0.0249270741, 0.0156683996, 0.0054314896, -0.0045461953, 0.0351711437, -0.0178184081, 0.006140356, 0.0216403473, 0.022051651, -0.0205347184, 0.0577838086, -0.0391087271, 0.0275546629, -0.0040490334, 0.0375061408, -0.0094344113, -0.0720897838, 0.0320304409, 0.0142847514, 0.0267184675, -0.0226189904, -0.0020602369, 0.012216826, 0.0559770241, 0.0261741541, -0.0003571305, -0.0232295226, 0.0136997383, 0.0595370419, 0.0590695217, -0.0425018035, -0.0160003025, -0.0095306225, 0.0053291568, 0.0111901509, 0.0220250618, 0.0109488117, -0.028906269, -0.0041011563, -0.0059698704, -0.0321098529, -0.0076913284, 0.0138848675, 0.0377543494, 0.0020410393, -0.0169742797, 0.1194390208, 0.0446003489, -0.0333528295, 0.0103476206, -0.0132466322, -0.0199504979, -0.0066878493, 0.0056993249, -0.0511423983, 0.0369045883, -0.014006271, 0.0482809804, -0.0155008454, -0.0369631127, -0.0328185484, -0.0355730616, 0.0339727849, -0.0137377372, -0.0153687783, 0.0077583636, -0.0593533963, 0.0351372696, -0.0187427867, -0.0526943617, 0.0000824047, -0.0111134145, 0.0230495557, 0.0326183774, -0.0765450746, -0.0513934009, -0.0100532481, -0.0364770927, 0.0023783466, -0.0618937798, 0.0261029396, -0.0506625958, 0.0295708589, -0.0433285981, -0.0183492769, -0.0407531746, 0.0080093676, 0.0549632385, -0.0020347273, -0.003619096, -0.0227317847, 0.0059431628, -0.0249539483, -0.0043680472, 0.011356486, 0.0593783297, 0.0085735731, 0.0073418738, -0.026983818, -0.0249950923, -0.0444414429, 0.0284441262, 0.029683657, -0.0216539688, 0.0721875653, -0.0111627933, 0.0130178975, 0.0606875531, -0.0106222825, -0.0231754985, -0.0526524819, -0.0877491683, -0.0799175799, -0.0464258119, 0.0018874099, 0.0194321964, -0.0372852832, 0.0370625183, 0.0531195588, -0.0241872519, -0.0362492502, 0.0420911759, -0.0100869434, -0.0152395004, -0.0631301329, -0.0482036024, 0.0330578387, 0.004241881, -0.014615926, -0.0273402911, -0.0919614658, -0.0591400899, -0.0126392376, -0.0477487259, 0.0183060598, -0.0335654654, -0.0670744032, -0.0488821268, -0.0028765902, 0.0112262489, -0.065536961, 0.0166586488, 0.0057065743, -0.0010258536, 0.0354759954, 0.0045139519, -0.0415242575, 0.0623979792, -0.0116661657, 0.0150158918, -0.0630616844, -0.0327702314, -0.0030125482, 0.0288025886, 0.0874392465, -0.0152061777, -0.042008277, -0.0491948128, -0.0660578087, -0.0088798534, -0.0046588876, -0.0178924911, 0.0200381652, 0.0276203882, -0.0061785476, -0.0757428929, 0.0212193131, -0.033180289, 0.0536380745, -0.0063779843, 0.0067204852, 0.0112521714, 0.0058721108, -0.0379600301, 0.0081053656, 0.0086682867, -0.0349725336, -0.0428649858, 0.0161783323, 0.0150936656, 0.0312977098, -0.0168404616, -0.0167496521, 0.01037117, 0.0449090749, -0.0657263026, 0.0056568026, -0.0089058308, 0.0649718344, 0.0362714604, -0.0154090161, 0.0399523377, -0.0227894168, 0.0121828606, -0.0711021349, 0.0698788688, -0.0201595835, 0.0232682712, -0.0155482236, 0.0382908247, -0.0296447277, 0.0144693861, 0.0886345282, 0.00785363, -0.0486196429, 0.0094085289, -0.0569262765, -0.0007358809, 0.0542801246, 0.0174192619, -0.0128392912, -0.0229215138, 0.0244488455, -0.0546153598, -0.0199430771, 0.0193341374, -0.0627302006, 0.0195318665, 0.0134935994, 0.0045161908, 0.0761788636, -0.0216638707, 0.0543784089, -0.0734764412, 0.0005210015, -0.0566155091, 0.0216453113, -0.005312751, -6.033792299e-33, -0.0196813196, -0.0555353798, -0.0214764886, 0.0154464282, 0.0279122312, 0.017666053, -0.0402118228, 0.0211994145, 0.0178483315, 0.0128311832, -0.0029823917, 0.0194337182, 0.008493158, -0.0597773045, 0.0351459123, 0.0161693115, 0.0020491111, 0.0125575205, -0.0525048599, -0.0117292786, 0.0513076931, 0.0124099385, 0.0411766432, -0.0535125434, 0.0318429396, 0.0059267757, 0.0249378048, -0.0259209499, 0.0974410847, 0.0397787355, 0.0024436435, 0.038541358, 0.0446474627, -0.0568671785, -0.0191334337, 0.0362194739, 0.0000855524, -0.0943062529, 0.0192927793, -0.0112770274, 0.0546826459, -0.031342838, -0.0261324067, -0.0018344746, -0.0127389189, 0.0094606187, 0.0748674348, -0.0144677097, -0.0034786542, -0.0717309043, -0.0179347619, 0.0722779334, -0.003289375, 0.0297774412, 0.0194957387, -0.0223871935, 0.0022890288, 0.0033230758, 0.0434973352, 0.055409573, 0.0547908768, 0.0346035659, -0.0039478261, -0.0542511269, 0.0071059549, 0.031204544, -0.0218638405, 0.008394043, 0.0069177067, 0.0352779143, 0.0402817875, 0.0180498343, 0.0439924672, 0.0225077812, 0.0330216959, 0.0486876443, -0.0216192268, 0.0269427672, 0.0057388791, 0.0181174725, 0.0279109031, 0.0197526794, -0.0359653607, -0.0342222713, -0.011839753, -0.0084843058, 0.0184933953, -0.0340195633, 0.020269854, -0.036574211, -0.0284633916, 0.010768733, 0.0408217646, -0.0152251013, 0.0059292684, 0.026303025, -0.0042056143, 0.0619018972, -0.0060639041, 0.0389160104, -0.1142155007, -0.0200426951, 0.0060127573, 0.0030728797, -0.0096502146, -0.0086710611, -0.0208498258, -0.0009689385, -0.0220723022, -0.0349051468, -0.0058468818, -0.0589702204, -0.0307846013, 0.0317490883, -0.0205412023, -0.0100089125, -0.0188356489, 0.0483976305, 0.0513311811, 0.0419895612, -0.013829262, -0.0763481185, -0.0245534815, -0.0040221484, 0.0113217402, -0.0099262614, -0.0172564927, -0.0036986975, 0.0590324998, 0.0124550611, -0.009277191, -0.0239828695, 2.567e-7, 0.0560837537, 0.0520657152, -0.0062843384, -0.0157441255, 0.0276395418, 0.0094489632, -0.0467876196, 0.0169065986, 0.0104789361, -0.0419149287, 0.0084447386, 0.0215229634, 0.036213275, 0.0854522809, -0.0402667187, -0.0267090239, -0.0139795085, -0.0067704967, -0.0139082503, 0.0280571561, -0.0231432058, 0.0461933538, 0.019244317, 0.0383455455, -0.0296661556, -0.04319074, 0.0416359752, -0.062474221, -0.0716527998, 0.0514714904, 0.0680825859, 0.000638778, 0.0163812917, -0.0482907407, -0.0106162298, 0.0420835838, 0.0268159565, 0.0309563279, 0.0033979358, 0.0454683304, -0.0046655433, -0.0496916994, -0.0094207516, -0.0025421365, 0.0145050362, 0.0022863266, -0.0125229731, -0.023946289, -0.0147475917, 0.0148986969, 0.0245189909, -0.0241005197, -0.0255917367, -0.0191879701, -0.0039971094, -0.0586301982, 0.0216164589, -0.0043066051, 0.0084774289, 0.031313654, -0.0321240164, -0.0975911021, -0.011804725, -0.0319159478, -0.0060368893, -0.0472962037, 0.0451364815, 1.753050082e-34, 0.0340010375, 0.0034593327, -0.0512337685, 0.0172865428, -0.0105911726, -0.0232681893, -0.0640845075, 0.0190055538, 0.002396964, -0.0431984998, 0.0154221468 ]
http://arxiv.org/abs/2406.10400v1
http://arxiv.org/pdf/2406.10400v1
Self-Reflection Outcome is Sensitive to Prompt Construction
2024-06-14T20:07:11
2024-06-14T20:07:11
Fengyuan Liu, Nouar AlDahoul, Gregory Eady, Yasir Zaki, Bedoor AlShebli, Talal Rahwan
cs.CL
cs.CL
Large language models (LLMs) demonstrate impressive zero-shot and few-shot reasoning capabilities. Some propose that such capabilities can be improved through self-reflection, i.e., letting LLMs reflect on their own output to identify and correct mistakes in the initial responses. However, despite some evidence showing the benefits of self-reflection, recent studies offer mixed results. Here, we aim to reconcile these conflicting findings by first demonstrating that the outcome of self-reflection is sensitive to prompt wording; e.g., LLMs are more likely to conclude that it has made a mistake when explicitly prompted to find mistakes. Consequently, idiosyncrasies in reflection prompts may lead LLMs to change correct responses unnecessarily. We show that most prompts used in the self-reflection literature are prone to this bias. We then propose different ways of constructing prompts that are conservative in identifying mistakes and show that self-reflection using such prompts results in higher accuracy. Our findings highlight the importance of prompt engineering in self-reflection tasks. We release our code at https://github.com/Michael98Liu/mixture-of-prompts.
[ 0.0414405763, 0.0188028235, -0.0296889376, 0.0135588078, -0.0569860563, -0.0006344849, 0.0468441509, -0.0185708534, 0.0145840384, -0.0691810995, -0.0454135053, 0.002757818, -0.0028610365, -0.0015552467, 0.0247267224, -0.0100211287, 0.082462877, -0.0754827708, -0.0019347998, -0.0285134166, -0.0325623266, -0.0204999503, -0.0343902372, 0.0144427512, 0.0086889993, -0.0540851206, -0.0388341248, -0.010461133, -0.0447568893, -0.0429681502, -0.0188970212, 0.0780250207, -0.0177744515, 0.0434145704, 0.0000021313, -0.0698832199, 0.0037224423, -0.0364348516, -0.045257628, 0.0650701597, -0.0011180857, 0.0211102013, -0.0135948444, 0.0308958981, -0.0037822432, -0.0007791866, 0.0126010617, 0.0069845524, 0.0476759933, 0.0358554348, 0.0198050458, 0.0181335136, -0.0239553247, -0.0072870622, 0.0453869998, -0.0081382198, -0.0073967637, 0.005762375, 0.0005641628, 0.0525585599, -0.0377572365, 0.0255421642, 0.0307731628, -0.0263327342, -0.0211356357, 0.0268457625, 0.0248807799, -0.0362236984, -0.0272143241, 0.0167866368, 0.0633645654, -0.0307969674, -0.0321244225, -0.0319552347, 0.0393868983, 0.0083884764, -0.0342526175, 0.0494535379, 0.011710518, -0.0153791122, -0.0264370441, -0.0085283332, 0.0198267475, -0.0092994357, -0.0008035969, 0.0658631548, 0.0098416442, -0.0381875485, -0.0278253891, 0.0122859087, 0.0266665705, -0.076181747, -0.0647950545, 0.0438308194, -0.0547107607, 0.0012230005, -0.0135356691, -0.0010147243, 0.0417372771, 0.0525831394, 0.0543915629, 0.0470871739, -0.0405719802, 0.0336575024, -0.0349337831, 0.0695682839, 0.0040457752, 0.0440264866, -0.0146572534, 0.0128799202, -0.0338033028, -0.0430346318, -0.0202575605, 0.0410060845, 0.0262871329, 0.0272557624, -0.0421641767, 0.0373665355, -0.026778549, 0.031774953, -0.0346506163, 0.0085613364, 0.0144198257, -0.0323590524, -0.0655265152, 0.0264938399, -0.0173488446, 0.0259655584, 0.0377353132, -0.056737002, -0.0224546939, -0.0287334044, -0.0062978105, -0.0051746019, -0.008102376, 0.0582210757, -0.0049504926, -0.0353074856, -0.0038585162, -0.0223536789, -0.0466587804, -0.0470364429, -0.0032762948, -0.0643782318, -0.0116165373, 0.024382852, -0.0175853129, -0.0129259573, 0.0133717265, 0.0104408544, -0.0046079522, 0.0734919012, -0.0139008407, 0.045422785, 0.0274787992, 0.0069148415, -0.0561002865, 0.0375177413, 0.0078969533, 0.0005527164, 0.0029420229, -0.0357022099, 0.0495992228, -0.0083555067, 0.001422338, -0.0280724522, -0.0344758034, 0.0183158685, 0.0036850162, 0.0321341045, 0.0350348316, 0.0392170474, -0.0258835703, 0.0282314811, 0.0505168959, 0.0734025165, -0.0338562094, 0.0126974788, 0.0229457989, -0.0162615608, 0.0045654955, 0.02110379, -0.0790255964, 0.0618459694, -0.0196828768, 0.0125801945, 0.0231825076, -0.0244977046, -0.0320383683, -0.0450463817, -0.0190636422, 0.0125649655, -0.0153091652, 0.0470886566, 0.0195362046, 0.0215864256, -0.0186628271, 0.0283723045, -0.0122693786, -0.0604992509, -0.042537313, -0.1114337221, 0.0948928744, 0.0709410459, 0.039107617, -0.0192332957, -0.0322482884, -0.0144747049, 0.0271344483, 0.0334278271, 0.0879136845, 0.0121973716, -0.036400456, -0.0028056893, -0.0118335327, -0.0685006455, 0.0215782784, 0.0020512627, 0.0066388459, -0.022019852, 0.0077214641, 0.0239387862, 0.001211587, 0.0224775299, -0.0130533092, -0.0391368978, -0.0000066188, 0.0006236705, -0.0127371969, -0.007181725, 0.0082394192, 0.064818494, 0.0036806911, 0.0210205838, -0.0441397056, -0.0021443996, -0.0601679087, -0.0451041088, 0.0175907388, -0.0049387165, -0.0424739979, -0.0044527552, -0.017363647, -0.0579639114, 0.0203064028, -0.0202220958, -0.0025893783, -0.0286141038, 0.0537305661, -0.0394573286, -0.0108966371, -0.0301777273, 0.042019777, 0.0143799586, 0.0348416641, 0.0238254163, 0.0362696052, 0.0017551527, -0.0431555361, -0.0282149911, -0.0125480341, -0.0258405712, 0.0005354251, 0.0142692821, -0.0021979031, -0.0546198674, -0.023995202, -0.0702195317, -0.0317116566, -0.0032409034, -0.0154671231, 0.0189741068, -0.0094474889, -0.020665586, -0.0260659698, 0.0192001853, 0.0137046957, 0.0453211851, 0.058232002, 0.0404432267, -0.0218724571, 0.0056725424, -0.0342645086, -0.0037375656, -0.0406326242, 0.0040844497, -0.0085418746, 0.0471869111, -0.0663668588, 0.0537970103, -0.0165344253, 0.0020786198, 0.0052847918, -0.0370055996, 0.0579571463, -0.0153865563, 0.0266683586, 0.0598252378, 0.0007493529, 0.0047619981, 0.0796639919, -0.022355577, -0.0542786084, 0.0228198338, 0.0195273776, -0.028172588, 0.0263063274, -0.0270896982, -0.0165450145, 0.0705844015, 0.0256602317, 0.0069893901, -0.042416703, 0.0416365787, -0.0156245008, -0.0522162057, -0.0298355799, -0.0466915667, -0.0106908437, 0.0769827813, -0.0075206147, -0.0570214801, 0.0728865117, -0.0168115702, 0.0117696002, -0.003583981, 0.038424857, -0.0103097456, 0.092108205, -0.0180375837, -0.0300155859, 0.0432161614, -0.0088356575, -0.0524456277, -0.0315934122, 0.0413478091, -0.006778942, 0.0542082042, -0.051338613, 0.0004737573, -0.0242764782, -0.054591164, -0.0597085804, -0.0592575297, -0.0526402257, -0.0116427289, -0.0543947108, 0.0224270541, 0.0146149397, -0.0138175981, 0.0575393066, 0.0172004942, -0.0262744073, -0.0215097629, -0.0199318528, -0.0300088581, 0.0216464382, 0.0140777342, 0.0630814433, -0.0075167213, 0.1039995998, 0.0276520196, 0.0838642716, 0.0509207062, -0.0225639753, -0.0226698946, 0.0077047348, -0.0120267607, -0.0232579242, 0.0467307232, 0.0842628852, -0.0520783924, -0.0376951657, 0.1162341088, 0.048118379, -0.0232151207, -0.0018424103, -0.0872258618, -0.0033601969, 0.05121186, 0.0136795482, -0.050415948, -0.031996578, 0.0382000171, -0.0179726277, -0.0338032171, -0.0295599401, 0.0044047176, -0.1384319812, 0.0414922498, -0.0085025663, -0.0027271996, 0.0032663639, -0.021304993, 0.0038078891, 0.0456963666, 0.0208355337, 0.0603729971, -0.0357262678, -0.000688203, 0.0217517894, -0.0340883955, -0.0149583369, 0.0606409609, -0.0074764933, 0.0535763092, 0.0584897809, -0.0239666961, 0.0069256327, -0.024223797, 0.0663166195, -0.0059298552, 0.0339372382, 0.004481684, 0.0112641966, 0.0154254781, 0.0028539896, -0.0167814605, 0.0110189412, -0.0239490215, -0.0532261133, 0.0346786119, 0.0731944814, -0.0480061695, -0.0179226957, -0.0138268052, -0.0005983994, -0.0242094509, 0.0529507734, 0.0449675098, -0.027290402, -0.0505735576, -0.0197036453, -0.0088352738, -0.0292047281, -0.0347849019, 0.0292899068, 0.0595122017, 0.0413810872, -0.0346677415, -0.0721508935, 0.0312112905, 0.0001151773, -0.0076909615, -0.0292815063, -0.0440607257, 0.000968405, 0.0125321168, -0.0016947011, -0.036185611, 0.0174474213, -0.0412810035, 0.0435111895, 0.0238351598, -0.0108575951, 0.0134918373, -0.0332776308, -0.0579790957, -0.0421338081, 0.0159839727, 0.0772903413, 0.0269758888, -0.0048920158, -0.0108906934, -0.0480143055, 0.0204827264, 0.0130376844, -0.0259598996, 0.0223530419, 0.0125319082, 0.0256571975, -0.0000060207, 0.0413921028, -0.0148967654, 0.0009789262, 0.0236737654, 0.0378776714, 0.0146809947, -0.0617458485, 0.0358614698, 0.009773192, 0.0767343864, -0.0068261209, 0.0278545842, -0.0186130293, 0.0231401511, -0.0409659967, -0.0270652995, 0.0076113823, 0.006011304, 0.0060095298, -0.0365127511, 0.0183807686, -0.0227707867, -0.0545693301, 0.0584895536, -0.0091636917, 0.018657878, 0.0153334364, 0.0127750374, 0.009431459, 0.0058408105, -0.0314859077, 0.0424915515, 0.007633524, 0.0119003765, -0.0071361964, 0.1079623625, 0.0050779576, 0.0052364981, -0.0332274362, 0.0038875456, -0.0980421901, -0.0799431652, 0.0580081791, 0.0606962703, 0.0316297412, 0.0182284061, -0.0071616266, -0.0243846569, -0.0047125765, -0.010545033, 0.0243858062, 0.0309297536, -0.0354515798, 0.0508165769, 0.0288179312, -0.0037453682, -0.0460296795, 0.0425800942, -0.0324580632, 0.0492375381, 0.0150479702, 0.0113068735, -0.0261184517, -0.0309838597, -0.0251729432, -0.0294887107, -0.0369896218, 0.0007396274, -0.0821851343, -0.0699621737, -0.0057038805, 0.0381534733, 0.0089463238, -0.0569994077, -0.0092206234, 0.0697510093, 0.0247280058, -0.0299959686, -0.0163689926, 0.0645808578, -0.007371109, -0.0073584844, -0.0435092337, -5.924582996e-33, -0.0432706214, -0.0275872536, 0.0558423027, -0.0136720464, 0.0200027432, -0.0310997572, -0.0380652733, 0.0564132854, 0.0016245982, 0.0071363994, -0.0596347079, 0.0127045764, 0.0092928493, 0.0040606316, 0.0793500319, -0.0014585521, 0.0372375697, -0.0279939901, -0.0542638786, -0.0319414213, 0.0030904892, -0.0118352631, 0.0100728683, 0.0097035617, 0.0282030087, 0.0023441063, -0.0014565239, 0.0078243716, -0.0583990514, 0.0491098724, -0.0104533779, 0.0062664375, 0.028386157, -0.0240972582, -0.025135342, 0.034694124, -0.0220061243, -0.0669636205, 0.0128322644, -0.0054590697, -0.0576200634, -0.047838375, -0.0113734268, -0.0150653701, -0.0499037132, -0.0024067606, -0.0166465044, 0.0015151051, -0.0023462635, 0.0700815693, -0.0547047816, -0.0201963186, -0.0029456292, -0.0500630029, -0.0097266287, 0.066172637, -0.0084641539, -0.0103897657, -0.0393641032, 0.0107086105, 0.017931344, 0.0108304247, 0.0683726221, 0.0192797948, -0.0077488883, 0.0379813015, 0.0623975992, 0.0492655523, -0.0255840514, -0.0187079553, 0.0166949276, 0.0072920593, 0.0518480614, 0.0442652479, 0.01793194, -0.0138132805, -0.0190943759, -0.0151895126, 0.005102077, 0.0380073674, 0.0582518987, 0.0022023497, 0.0028370488, -0.0198132843, -0.0805384442, 0.000224788, -0.0508441813, -0.0259945225, 0.0459134914, 0.0103932675, -0.0131941298, -0.0509916507, 0.0251247119, -0.0071453634, -0.0285317376, -0.0206283368, -0.0334152766, 0.0267212428, -0.0198033694, 0.0394654162, -0.0530271903, 0.0006552854, 0.0040734946, 0.0380588621, 0.0210416559, 0.0470460504, 0.0202430394, 0.0206467081, -0.0698406175, -0.0129116885, -0.0532626472, 0.0245100874, -0.0109566106, -0.0413661115, 0.0269026775, 0.0399130769, -0.032387577, 0.0122967567, -0.0236513, -0.0470126569, -0.0564506948, 0.0447007641, -0.0147476336, 0.0011580422, -0.0064596664, -0.0160719343, -0.0403250307, 0.0369399451, 0.0175468363, -0.0121361678, -0.0141543122, 0.0175157152, 2.732e-7, 0.0019641414, 0.0223249849, 0.0043144645, 0.0424977392, 0.0401031338, 0.0679372028, -0.025591854, 0.0019334254, 0.0640524179, -0.0003479961, -0.0048500067, 0.0346296281, 0.0296600461, 0.0283441935, -0.0411097854, 0.0152479652, -0.0479534194, 0.0056219916, -0.0174712259, -0.0026096839, 0.0423017852, 0.025942564, 0.0088655539, -0.0065299999, -0.0218694173, -0.0022871383, 0.0657185391, -0.0244999584, -0.0045566619, 0.0131486971, 0.0160436779, 0.0082101282, 0.0273630004, 0.0403017402, 0.0351554826, -0.0286596715, -0.031436678, 0.0147729507, 0.0087099317, -0.0261253975, -0.0297725387, 0.0116997128, 0.0154620651, -0.069148466, 0.0779956952, -0.0701114237, -0.0007168116, -0.0512914211, 0.0292696003, -0.0106219752, 0.028741926, -0.0143488655, -0.0316950902, 0.019156795, 0.0080507407, 0.0277365521, -0.0046391245, -0.0597259402, -0.0329004787, -0.0189886726, -0.0104870526, -0.0187666956, -0.0521687418, 0.0235362519, 0.0337516218, -0.0817898437, -0.0086878948, 2.355197982e-34, 0.0232621189, 0.003382866, 0.0383430608, 0.0264605861, 0.0283926707, 0.0233187582, -0.0022343304, 0.0243133549, 0.0334714092, -0.0372662172, -0.053214334 ]
http://arxiv.org/abs/2406.10393v1
http://arxiv.org/pdf/2406.10393v1
EWEK-QA: Enhanced Web and Efficient Knowledge Graph Retrieval for Citation-based Question Answering Systems
2024-06-14T19:40:38
2024-06-14T19:40:38
Mohammad Dehghan, Mohammad Ali Alomrani, Sunyam Bagga, David Alfonso-Hermelo, Khalil Bibi, Abbas Ghaddar, Yingxue Zhang, Xiaoguang Li, Jianye Hao, Qun Liu, Jimmy Lin, Boxing Chen, Prasanna Parthasarathi, Mahdi Biparva, Mehdi Rezagholizadeh
cs.CL
cs.CL
The emerging citation-based QA systems are gaining more attention especially in generative AI search applications. The importance of extracted knowledge provided to these systems is vital from both accuracy (completeness of information) and efficiency (extracting the information in a timely manner). In this regard, citation-based QA systems are suffering from two shortcomings. First, they usually rely only on web as a source of extracted knowledge and adding other external knowledge sources can hamper the efficiency of the system. Second, web-retrieved contents are usually obtained by some simple heuristics such as fixed length or breakpoints which might lead to splitting information into pieces. To mitigate these issues, we propose our enhanced web and efficient knowledge graph (KG) retrieval solution (EWEK-QA) to enrich the content of the extracted knowledge fed to the system. This has been done through designing an adaptive web retriever and incorporating KGs triples in an efficient manner. We demonstrate the effectiveness of EWEK-QA over the open-source state-of-the-art (SoTA) web-based and KG baseline models using a comprehensive set of quantitative and human evaluation experiments. Our model is able to: first, improve the web-retriever baseline in terms of extracting more relevant passages (>20\%), the coverage of answer span (>25\%) and self containment (>35\%); second, obtain and integrate KG triples into its pipeline very efficiently (by avoiding any LLM calls) to outperform the web-only and KG-only SoTA baselines significantly in 7 quantitative QA tasks and our human evaluation.
[ 0.079613179, -0.0113867791, -0.0096660247, 0.0140092634, -0.0110954195, -0.018920688, -0.0282600708, 0.0203348212, 0.0641981363, -0.0569190383, -0.0067707584, 0.0231866408, -0.0440226197, 0.002050661, 0.0010072528, 0.0100599602, 0.0259624925, -0.0071689398, 0.0758998394, -0.0019681617, 0.0041811075, 0.0046099466, -0.0175473429, -0.001657445, 0.0293278936, -0.0167438276, -0.012723905, -0.0118058715, 0.0351893455, -0.0337956101, 0.0470114797, 0.0154829575, -0.0325811096, -0.0193996821, 0.000001949, -0.0585865229, -0.0288739316, 0.0131649189, -0.0401030332, 0.0098833628, -0.0052265935, 0.0215859096, 0.0451942198, 0.0258920603, -0.0566557571, 0.0476897769, -0.0122292293, 0.0255173668, 0.0532822013, 0.0160654206, 0.0191582702, -0.0265243724, 0.0344965085, 0.0112320613, 0.0119983256, -0.0848889649, 0.0318028294, 0.0105177937, 0.0673285499, 0.0310215261, 0.0000994519, 0.03890628, -0.0263716858, 0.0089510567, 0.0433113426, -0.0027129159, -0.0222198255, 0.0362698995, 0.0019627202, 0.0965985954, 0.0188994147, 0.0077953772, 0.0393156074, 0.0042083561, 0.0245368741, 0.0375346504, -0.0532889664, 0.0071558254, -0.0381264202, -0.0395098776, -0.0301560014, 0.0081281755, -0.011009912, -0.0014895115, -0.0247004088, 0.0763393492, 0.0115939556, -0.0354931615, 0.0272465684, 0.0161822345, 0.0094456142, -0.0132303359, 0.0036401618, 0.0724525526, 0.0009285851, 0.0122067807, 0.0321301706, -0.0303684324, 0.0399599299, -0.0052975919, -0.0197227672, -0.0065118773, 0.0088779144, 0.0526691265, -0.0122829182, 0.0527415574, -0.0061022947, -0.0461792499, -0.0315088965, -0.0433590636, -0.0543756187, -0.0382352509, -0.0320287384, 0.0911219046, -0.0299457796, -0.0151374228, -0.0375311114, 0.0345125087, 0.0109810391, -0.0256933141, 0.0437069945, 0.0376352221, -0.0067418418, 0.0379140265, -0.0648157224, 0.030510366, -0.0492571071, 0.0159963369, -0.0049543404, -0.0412556008, -0.0060611283, -0.0188568234, 0.0680133551, -0.0283849351, 0.0322761647, 0.0541068427, 0.0251406003, -0.033784207, -0.0291332509, -0.0370502993, -0.0050538969, -0.0408906788, 0.00695391, -0.0526342429, 0.0896644071, 0.0319729634, -0.0452183895, -0.0358719975, 0.0229960755, 0.0427394584, -0.0398631841, 0.0092485398, -0.0572138168, 0.0075567043, 0.0260447729, -0.0027018555, 0.0393501632, 0.0450459681, 0.0186874438, -0.0076727238, 0.079004325, 0.0179503653, 0.0121670645, -0.0169205405, 0.0423422344, -0.0154791037, 0.0763057023, 0.0450921468, -0.0496367514, 0.0113444971, 0.0084603736, 0.0386214741, -0.0265071616, -0.0031556748, 0.013616601, 0.0478150807, -0.0049769008, 0.0368643329, 0.0214138273, 0.0339235812, 0.0420271307, -0.0036512497, 0.0077104522, 0.0124222785, -0.0375496335, 0.0380420685, 0.0236107837, 0.0312221013, -0.0098283766, -0.0284064114, -0.0007107991, 0.0270909537, -0.0225785263, 0.0186896604, 0.0356956907, 0.0011764045, -0.0549149029, 0.0487782955, 0.0229636319, -0.0470094085, 0.0053711385, -0.0118875289, 0.0487907678, 0.0371467695, 0.0564317964, -0.0167462323, -0.0089457342, 0.0256691109, -0.0415478088, -0.0038602478, -0.0026383232, -0.0262340922, -0.0065939659, -0.0123948622, -0.0497702584, -0.0352323987, -0.0264735688, -0.0243508201, 0.0601389557, 0.0510110371, 0.0164591763, -0.0771285146, -0.0068183998, 0.0148215378, -0.0059160036, -0.0357697047, -0.0055700876, -0.0106148543, -0.0098943338, 0.0493481643, -0.0124630984, 0.04004886, 0.0455683582, -0.0276472494, -0.0491485856, -0.011948064, 0.0109206559, -0.0147177139, 0.043623209, -0.0223426092, 0.0353022516, -0.0098103378, -0.0233362243, -0.0292849671, 0.0239440817, -0.0294296648, 0.0035682281, -0.0003747554, -0.017822817, 0.0120891379, -0.0089683635, -0.057643421, 0.0778542086, 0.0409276076, 0.0072479849, 0.0102348924, -0.0232970603, 0.0183813497, -0.0233674441, -0.0177099537, 0.0048536453, -0.0144348834, 0.0094059948, 0.0366679952, -0.0343044885, -0.0872757584, -0.0071565625, -0.0612023398, 0.0408670753, 0.0126831438, 0.0450867638, -0.0002787674, 0.0112034865, -0.0059134644, -0.0196696203, -0.021277532, -0.0014658292, -0.0250738338, 0.0085900845, 0.0435450561, 0.0685527027, 0.0211101789, -0.0735646412, -0.0246082954, -0.0140685616, 0.0267834216, 0.0326592922, 0.0451275073, -0.0255195387, 0.003990354, -0.0611825064, 0.0253959838, -0.0088856285, -0.0133289946, -0.002462697, -0.0360581875, 0.0332600698, 0.066516906, 0.0186193995, -0.0157319345, 0.0209561363, -0.0094954325, -0.0501867719, 0.0285634268, -0.0307516046, -0.0430118181, 0.0068721515, 0.0002355274, 0.0196190272, 0.0161073077, 0.0039057899, -0.0241256636, -0.0244982727, 0.0151351849, 0.024577193, 0.0224394705, -0.0790627673, 0.0212172847, -0.0074109081, 0.0299134366, 0.0076822112, 0.0348177776, 0.0421007052, 0.0105989454, 0.0050697145, -0.0357482098, 0.0239486452, -0.0387737639, 0.0490773693, -0.0225652661, -0.0131746391, 0.0042943158, 0.0260989498, -0.0305265281, 0.0078119836, 0.0203293115, -0.0651391074, -0.0334440731, -0.0087437918, 0.0259090904, -0.021058619, -0.0392014906, -0.0449547544, 0.0286220443, -0.0267796107, 0.0258889068, 0.0189213268, 0.0041494071, 0.0090120817, -0.0025855931, 0.0660770386, -0.0172175411, -0.0471586585, -0.0229771342, -0.0108728679, 0.1012136266, 0.0928354114, -0.0024804345, 0.0348507948, 0.0351160541, -0.013955621, 0.0684598759, 0.0332788229, -0.0002296127, 0.0176575948, -0.0511254258, 0.0219548233, -0.0903680027, 0.0028460938, 0.0142419059, 0.0011551292, -0.0480201691, -0.0010009923, 0.073739022, 0.0416490585, -0.0047009508, -0.0325128287, -0.0456896573, -0.0084088072, 0.0332939252, 0.0676783398, -0.0976886377, 0.0029467677, -0.0285583958, 0.0628374591, -0.016675869, -0.0484029427, 0.0264159422, -0.1363983005, 0.0085816663, -0.0456135944, 0.0322599635, -0.0276173688, -0.0504259653, 0.0158937853, -0.0066924761, -0.0627406761, 0.0561470911, -0.0457135215, 0.0275279861, 0.0175551306, 0.0102573689, -0.0154099418, 0.0344649665, -0.0284276363, -0.0319433957, -0.0169841088, 0.0702011436, 0.0108657163, -0.0378771275, -0.0148093179, -0.1224294156, 0.0066703549, -0.0012065464, 0.0163859706, -0.0120419171, 0.0001136684, -0.0457588211, 0.0041575376, -0.0088790143, 0.0089317355, 0.0560582429, 0.072449334, -0.0026043404, -0.0014956539, -0.0532808118, -0.0144407554, -0.0253807995, 0.0604828969, 0.0129723372, -0.003676801, -0.0523567796, 0.0073953429, 0.0132147558, -0.0917174444, -0.0590861775, 0.0112985959, -0.0354319736, 0.0581776947, -0.1006793827, -0.062224891, -0.0010508015, 0.0090179509, -0.0072697336, 0.0381479785, 0.0070333546, 0.0366236307, -0.0622889549, -0.0091203684, -0.04192717, -0.0295800604, -0.0005298364, 0.015567882, 0.0436337218, -0.0344271548, -0.0358238406, 0.0005657102, 0.0236829128, -0.0282683633, -0.0311811958, 0.0564739816, 0.0046040756, 0.0045139366, -0.0354136974, 0.0003302266, 0.0578273423, 0.0170791447, -0.0302050058, 0.0073644943, -0.008866014, 0.0127079058, -0.0354763567, 0.0048253252, -0.086638391, -0.0047340184, -0.0462119021, 0.0592124723, -0.0120760407, -0.054689087, 0.0017824334, 0.0544776022, -0.0060941787, 0.0186332725, -0.0002742749, 0.0054026954, 0.0183519498, -0.0148980794, -0.0154482313, -0.0090984292, 0.0182785243, -0.0389235392, -0.0275976248, -0.0044882912, 0.0320599042, -0.0045209471, 0.061168313, -0.0529431105, -0.0112272166, 0.0136084743, 0.0349970907, -0.0225222781, -0.0402597897, -0.0143080875, -0.0276730433, 0.0115042804, 0.0473515391, -0.0005277681, 0.0394818448, 0.0294313226, -0.0296322834, -0.0023414446, 0.0247300249, -0.0822968483, 0.010053427, -0.0195657853, -0.0223654658, 0.0315292515, 0.0443655849, 0.0317123234, 0.0166882314, -0.0499085374, 0.009301885, -0.0200566463, -0.0106206341, 0.0236686487, 0.0402222537, 0.0331882462, -0.0086894454, 0.0138361678, 0.0407831706, 0.020984536, 0.0386083126, -0.0197263714, -0.0284652114, -0.0272151791, -0.0470005088, -0.0530286394, 0.0328388102, 0.0080022765, -0.017033238, -0.0288466122, -0.0334176756, 0.032484673, 0.0011799954, -0.0195643902, -0.0105982479, 0.0540491529, 0.0492750928, 0.0248174556, -0.062611267, -0.052855283, 0.0646773651, -0.082348384, -0.0121743204, 0.0124711767, -6.582567796e-33, -0.0276061296, -0.0340346135, 0.0204533711, 0.0154884905, -0.0375780016, 0.0023545013, -0.0477358736, -0.0133138467, -0.0644449592, -0.0067530959, -0.0202291347, -0.0057189208, -0.0098293032, -0.0087602027, 0.0055210325, 0.0014795312, -0.0062470846, -0.0072363778, -0.0276542492, 0.0082220612, 0.0544089675, 0.0461030602, 0.0328952558, -0.07262104, 0.0079981619, -0.0519247428, 0.0161261633, -0.0026737868, 0.0287804604, 0.0717161149, -0.0011223805, 0.046693597, 0.0282053035, -0.0145149147, 0.0590358078, 0.0031709096, -0.1201013178, -0.044497747, 0.018660184, -0.0438867137, -0.042212069, -0.0439506769, 0.0045245555, -0.0132005969, 0.0271448139, -0.0223845467, 0.0632827133, -0.013370038, 0.0013216622, -0.0897220373, -0.0102422833, -0.0130032357, -0.0072351093, 0.0437610559, -0.0409753434, 0.0552408583, 0.0092112431, 0.0579307489, -0.0376446173, -0.0071483091, 0.0003304532, 0.0197910573, 0.0115633262, -0.0279358253, 0.0146203972, 0.0111576775, -0.0178424362, -0.0570193082, -0.0039449609, -0.0610581934, 0.0046406286, 0.0304928143, 0.054458797, 0.0631216317, -0.0145933991, 0.0322911739, -0.0670244843, 0.0345882326, 0.0145720579, 0.0518693551, -0.0174850505, -0.0064125005, -0.0172863714, 0.0112469811, -0.0145189166, 0.0203755535, -0.0424639173, -0.0213249978, 0.0593134388, 0.0135716144, -0.0377199315, 0.0076886215, 0.009286074, -0.0344231315, 0.0079246517, 0.1112491935, -0.0386134908, 0.0229643118, -0.0096496912, -0.0330240503, -0.0529892482, 0.0081288023, 0.0072118123, -0.0173819028, -0.0020709143, 0.0092949523, -0.0265077632, -0.0216618795, -0.0192874633, -0.0295215789, -0.0049004452, 0.0332877226, -0.02853298, -0.0532111563, -0.0186385866, 0.0694210678, 0.0106552932, 0.0264842007, 0.0641528741, 0.0556809641, -0.0064827306, 0.0037980464, 0.0453030206, -0.0003366171, 0.0020936658, 0.0087674046, 0.0077660978, 0.0981462896, -0.0840380415, -0.0629657879, -0.0109345904, 0.025554888, 2.789e-7, 0.0312013254, 0.0050014416, 0.0163175426, 0.009800748, 0.0038321489, -0.0106328614, 0.0468782447, 0.0034836116, 0.0279927589, 0.0166355036, -0.0011404756, 0.025101468, -0.0146286786, 0.0028423727, -0.0714380816, -0.0243938044, -0.0482584499, -0.0832301453, -0.0389486626, -0.0041155093, 0.0224062838, -0.0066554081, 0.0030947712, 0.0003032791, -0.0459623784, -0.048254963, 0.0444910713, 0.036423862, 0.010293819, 0.0467496812, 0.0418159813, 0.0223417822, 0.0099174147, 0.0203812998, -0.0135503812, 0.0550664924, 0.0246470664, 0.0250319783, 0.000607915, -0.0510112494, 0.0146604441, -0.0434336029, 0.0354333185, -0.0643740445, 0.0797926337, 0.0005647237, 0.0132800741, 0.0050941873, -0.0800168663, -0.0185921453, -0.0406665877, -0.0369893275, 0.0127364863, -0.014620916, -0.0210326873, 0.0159831494, 0.0041684504, -0.0476836562, 0.0134390295, 0.0500396751, 0.0046228901, -0.0356989168, -0.0083700912, -0.0560598448, -0.0125191472, -0.0669104084, 0.0414690264, 2.013598405e-34, 0.0107589336, -0.0162519123, 0.0238221437, 0.0345173478, 0.0319724791, 0.0214556195, -0.0411892757, 0.0069727688, 0.0192315187, -0.0673102066, -0.0093298033 ]
http://arxiv.org/abs/2406.10382v2
http://arxiv.org/pdf/2406.10382v2
Efficient Prompting for LLM-based Generative Internet of Things
2024-06-14T19:24:00
2024-06-18T01:26:33
Bin Xiao, Burak Kantarci, Jiawen Kang, Dusit Niyato, Mohsen Guizani
cs.AI
cs.AI, cs.CL
Large language models (LLMs) have demonstrated remarkable capacities on various tasks, and integrating the capacities of LLMs into the Internet of Things (IoT) applications has drawn much research attention recently. Due to security concerns, many institutions avoid accessing state-of-the-art commercial LLM services, requiring the deployment and utilization of open-source LLMs in a local network setting. However, open-source LLMs usually have more limitations regarding their performance, such as their arithmetic calculation and reasoning capacities, and practical systems of applying LLMs to IoT have yet to be well-explored. Therefore, we propose a text-based generative IoT (GIoT) system deployed in the local network setting in this study. To alleviate the limitations of LLMs and provide service with competitive performance, we apply prompt engineering methods to enhance the capacities of the open-source LLMs, design a Prompt Management Module and a Post-processing Module to manage the tailored prompts for different tasks and process the results generated by the LLMs. To demonstrate the effectiveness of the proposed system, we discuss a challenging Table Question Answering (Table-QA) task as a case study of the proposed system, as tabular data is usually more challenging than plain text because of their complex structures, heterogeneous data types and sometimes huge sizes. We conduct comprehensive experiments on two popular Table-QA datasets, and the results show that our proposal can achieve competitive performance compared with state-of-the-art LLMs, demonstrating that the proposed LLM-based GIoT system can provide competitive performance with tailored prompting methods and is easily extensible to new tasks without training.
[ 0.0248005018, 0.0183610227, -0.010694786, 0.0184147432, -0.0748942867, -0.0046209241, 0.0233916137, 0.0084662996, 0.0431091487, -0.0252916608, 0.0206197426, -0.00056131, -0.0381989218, 0.0146677643, 0.0063685072, 0.0211040657, 0.0644119307, -0.0094037233, -0.0185205266, -0.0115821743, -0.0051368643, 0.0093770679, -0.0183951799, 0.0000405406, 0.0248622652, -0.0153507395, -0.0402819477, -0.0202722903, -0.0012147881, -0.0386888795, -0.0248672049, 0.0577380024, 0.010930568, 0.0238730144, 0.0000021561, -0.0535939597, -0.055615861, 0.0206867661, -0.0530195422, -0.0264563132, 0.0050028833, 0.0328045748, -0.0283980761, 0.0435388424, -0.0527676158, 0.0266287308, 0.0481055938, 0.0468407087, 0.043332953, 0.0570813343, -0.0092902482, -0.0225429256, 0.0263314936, 0.0040540555, 0.065348424, -0.0177870337, 0.0096586226, -0.0291845109, 0.0583084412, 0.0231790543, 0.0191209987, 0.0290325563, 0.0763891265, 0.0336603038, 0.0091373632, 0.0394880101, -0.0078448607, 0.0283914376, -0.0673409849, 0.0532046929, 0.0322346911, -0.0113165192, 0.0477050133, 0.0052128574, -0.0070014494, -0.0081260698, -0.0568258017, -0.0089046611, 0.0072680409, 0.0113942698, -0.0031848496, 0.0012331919, -0.0165694263, 0.0169609636, -0.0194868781, 0.079054147, 0.0178173222, -0.0502321646, -0.0495505482, -0.0358050689, -0.0153634669, -0.0629089698, -0.0037871674, 0.0963601992, -0.0445642062, 0.0091065504, 0.0048467009, -0.0350978225, 0.0203201007, 0.0122436518, 0.0043695485, 0.0357208923, 0.0004505932, 0.046864748, -0.0038242352, 0.0357259773, -0.027443124, 0.0050401716, -0.035517998, -0.0343209803, -0.0721599683, -0.0306921359, -0.033955764, 0.0487619825, -0.0575903393, -0.0397638679, -0.0055804383, 0.0235258285, 0.031426616, 0.0263631046, -0.0020862732, 0.0183338393, 0.0270226318, -0.0133610321, -0.0319889635, 0.0081722541, -0.0511412099, 0.0034660047, -0.0042367186, -0.1055106148, -0.0006452891, 0.0193620324, 0.0295186657, -0.0193044376, 0.0042067994, 0.091510132, -0.0161099117, -0.0190386642, -0.0285752416, -0.0464699008, 0.0061431667, -0.0601352975, -0.012775695, -0.0748482794, 0.0463680252, 0.0356000289, -0.028737748, -0.0260502249, 0.0130063929, 0.0520161316, -0.0001295307, 0.0530169792, -0.0292706583, 0.0285627451, 0.0178325176, 0.0192748215, 0.0243020635, 0.0052957563, 0.0359459929, 0.0064242785, 0.0163428839, 0.0026509922, 0.040686965, 0.0579533055, 0.0267224386, -0.0187999327, 0.0358588137, 0.0495019667, -0.0072138486, 0.027716903, -0.0367285907, 0.0486865379, 0.0186888613, 0.0510710999, 0.0705744773, 0.0645470247, 0.0025234807, 0.0394352674, -0.0245125704, 0.0681686699, 0.0123658702, -0.0328281969, -0.040908996, 0.0447348282, -0.0383439697, 0.0013954155, 0.0539726205, -0.0204380825, -0.0274092704, -0.0200840607, 0.005379064, -0.0096677179, -0.0130429463, 0.0216376744, 0.0353215076, 0.0132663483, -0.0462899171, -0.0089213019, -0.0004085516, -0.0610685907, -0.0198356789, -0.0522960648, 0.090292953, 0.0776435211, 0.0745879039, -0.0369317308, 0.0347552039, 0.0170368031, 0.0088681476, 0.0240158532, 0.0263529718, -0.0017117546, -0.0301540177, -0.0273026116, -0.0487002619, 0.0465650894, -0.0009378451, -0.0343960263, -0.0090093007, -0.0145041561, 0.0081634875, -0.0376289412, -0.0106432103, 0.0046983203, 0.0212157462, -0.0368757509, 0.0004635616, 0.0148698138, 0.0134882256, 0.0509528294, 0.0136259831, 0.0357223898, 0.0302048232, -0.0274911914, -0.0372887142, -0.0136279762, -0.028675653, 0.0506410114, 0.0057244366, 0.032822907, -0.022353543, 0.0110218022, -0.0362379029, -0.0543241873, 0.0052852109, -0.0637142807, -0.0243860483, -0.0137236267, -0.0343045928, 0.0259373393, 0.0021281247, -0.0046034157, 0.0542021729, 0.0157490168, 0.0129071288, 0.0431019366, 0.0011443376, 0.0320548601, -0.0699327588, 0.0062768278, -0.0318704285, -0.0143948393, 0.0308189206, 0.0168818422, 0.0374326184, -0.0403548852, -0.0060868724, -0.0743821636, 0.0480423309, -0.0324147753, 0.0621373914, 0.0336791165, 0.0449301042, -0.0257119406, -0.0319718346, -0.0826345608, 0.0036445025, 0.0316586643, 0.0284696743, 0.0332082324, 0.0121832667, -0.0377920829, -0.0014696073, 0.0030568577, -0.0091829663, 0.0446161553, -0.0014466943, 0.0290692113, -0.0379977338, -0.0172688589, -0.021436587, 0.0230641775, 0.0182805825, -0.0064936546, 0.0318524949, -0.0206315257, 0.0786200091, 0.0070687938, -0.002174692, -0.0298457313, 0.0071363244, -0.0304629095, -0.0761761591, 0.0137128159, -0.0338792652, -0.002234804, 0.011274036, -0.0225604773, 0.0270909108, 0.038209036, 0.0094660185, -0.0031458423, -0.0139053948, 0.043650087, 0.0325697772, 0.0148867657, -0.0915183201, 0.0711726472, -0.0167302638, 0.0664404184, 0.0094018774, -0.0439616106, 0.0297971237, -0.0431633368, 0.0037225217, -0.0560804717, -0.0150235696, -0.0265206434, 0.100046806, -0.0124142002, -0.0023536626, 0.0011416224, -0.0301367734, -0.0576279797, 0.0105957296, -0.0291733909, -0.0434832908, -0.0131882885, -0.025703406, 0.0193919148, -0.0278702043, -0.0377984792, -0.0194442179, 0.0025739355, -0.0391778126, 0.0150688058, -0.031023765, 0.0124826198, 0.0292732809, -0.0063871848, 0.0261255298, 0.0341732427, -0.0124423997, -0.0130942259, -0.0505484492, 0.0570050627, 0.0515413769, 0.035908889, -0.0279627219, 0.0454748049, 0.0256147441, 0.0605843104, 0.0512354039, -0.0204959083, -0.0325883068, -0.0049970881, 0.0283290632, -0.0337365866, -0.0052314149, 0.0576618277, 0.0301297847, -0.0623363927, 0.0055610463, 0.1097403243, 0.0404331014, -0.0004834308, -0.0060665528, -0.0090759145, 0.0039536329, 0.0048827203, 0.0443104431, -0.1292856187, -0.038711451, 0.0133554069, 0.0406019613, -0.0203627981, -0.0382632054, -0.0425754562, -0.1168139204, 0.0426223502, -0.0496938005, -0.0046337722, -0.0820933133, -0.0369182415, -0.017994836, 0.0252916347, 0.029650202, 0.0452512354, 0.0261863675, 0.0268884171, -0.0138680246, -0.0281655081, -0.041133672, 0.0338503122, -0.0199397113, 0.0595659204, 0.0683810636, 0.0020946828, 0.0129027609, -0.0207461249, 0.0190858562, -0.0156862047, -0.0113223689, -0.0249837954, -0.0357690118, 0.0353342369, -0.0058783726, -0.0514337942, 0.04544691, -0.0303759351, -0.0213391222, 0.0369511507, 0.0784721598, -0.046602197, 0.0115263797, -0.0393469483, -0.0295826606, 0.0396721587, 0.0823240355, 0.0138892401, -0.0287753157, -0.0810693651, -0.0347131304, -0.0457578935, -0.0325466916, -0.0057403669, -0.0014486193, 0.0234858431, -0.0259875488, -0.0541501865, -0.0057606148, 0.0213248152, 0.0085143931, 0.000384866, 0.0459107161, 0.0061199791, 0.0140733151, -0.0432727337, -0.0152443368, -0.0643456876, 0.0191330779, -0.0540819205, -0.0135101201, 0.0191369094, -0.0669325963, -0.025100803, 0.0323327854, -0.0761131048, -0.0405925177, -0.0182035659, 0.0271593686, 0.026418658, 0.0065011666, -0.0298450775, -0.0521301478, 0.0309089217, 0.0541791916, -0.090167515, -0.0228837486, -0.012178245, 0.0254292078, 0.0180150978, 0.0199825261, -0.0660204664, 0.0451282039, -0.0047931462, 0.0336822011, -0.0046388782, -0.0080213882, 0.0342192315, 0.0521665439, 0.0125235599, 0.0079308013, -0.0211850908, -0.0039932523, 0.0252130348, -0.0274287574, -0.0215234123, -0.0224806145, 0.0000387316, -0.0359826759, 0.0004520009, 0.0149611216, 0.0134135, 0.0154076247, 0.0164667368, -0.0417393968, 0.0295952614, 0.0295722261, 0.0019347302, 0.0527911969, -0.0353348106, 0.001987688, -0.003584357, 0.0128350779, 0.0186987333, -0.0202389583, 0.0412204675, 0.0030258675, -0.0437137894, -0.0225952137, 0.0507675111, -0.0447320715, -0.0761544704, 0.0452979356, 0.0633203015, 0.0241771676, 0.0666839257, -0.0312173683, -0.0401663147, 0.0125967711, -0.0198209118, 0.0167229027, 0.0240702704, -0.0174043961, 0.0431488343, 0.0133629506, -0.0135781169, -0.011083981, 0.0471954867, -0.0021172983, 0.0027247858, -0.006405632, -0.0230169669, -0.0694856271, -0.0016710754, -0.0352563225, -0.0068955892, -0.0351421461, 0.0104155568, -0.0250710789, -0.0278721768, -0.0167628471, 0.0417188965, -0.0013445495, -0.0100815166, 0.0625112057, 0.0720781162, -0.0037806642, -0.018090196, -0.0219543669, 0.0270254854, -0.0567465983, -0.0556591935, -0.0086531322, -6.30220725e-33, 0.0029021667, -0.0216424279, 0.0496462286, -0.0059798486, 0.0218565911, -0.0254624486, -0.0382167958, -0.0273782443, 0.0039606448, -0.0399158671, -0.0550077781, 0.0065518795, 0.0253723823, 0.0340640321, -0.0003700378, -0.0753911585, 0.0396201499, -0.0355496109, -0.0229886658, 0.0089611039, 0.0159577411, -0.0061423243, 0.0093797175, -0.0213143714, 0.0276471712, -0.0567875616, -0.0132553503, 0.0011854734, -0.0348255076, 0.0356221646, -0.0375956222, 0.0707361549, 0.0403919518, -0.0306656305, -0.0357899517, 0.0883019269, -0.0971310511, -0.0256232675, 0.0181056987, -0.0072973128, -0.0446479507, -0.0436080918, 0.0268842056, -0.0044245138, -0.0520436577, 0.0421731435, 0.0014093448, -0.0140517792, 0.0073332246, -0.0123365782, -0.0128739933, 0.0184971187, -0.0016452058, -0.0219593458, -0.007836666, 0.0054742615, -0.0013837722, -0.0141522307, -0.0756912753, 0.0195922274, 0.026121011, 0.0288446005, 0.0472354889, -0.0504486747, -0.0165170245, 0.0020697881, 0.0171379559, -0.0316815302, -0.0421403013, 0.0243213214, -0.0476553366, 0.0218410827, 0.0689180717, 0.0235544685, 0.0321351439, 0.0047364784, -0.0737285018, 0.0519679897, 0.0328261368, -0.0077519622, 0.0285526477, -0.0189313758, -0.0185970552, 0.0004673551, 0.0003033236, 0.0134973833, -0.0451760627, -0.0157488342, 0.0356554613, 0.0007948268, 0.0033439368, -0.0580518283, 0.0130827362, -0.0073623904, -0.013462753, 0.020933805, 0.0004587401, 0.0277410168, 0.0067036171, 0.0270115566, -0.0391004346, -0.0004330457, 0.0138720162, -0.0152570857, -0.0053463387, 0.0255334675, -0.0005972044, 0.0439976417, -0.0739195943, -0.0081484132, -0.0293900389, 0.0797368661, -0.0196169317, -0.0305289812, 0.0277293194, -0.0059470022, 0.0175813269, 0.0497887395, -0.0243118964, -0.0104469173, -0.0216199569, 0.0178499911, 0.0076160245, -0.0179657042, 0.0096145635, 0.0278305076, -0.0679211989, 0.0421972573, 0.0111410851, -0.0041638077, 0.0089757415, 0.0359242521, 2.899e-7, 0.0308712944, 0.008792825, 0.0337289535, 0.0300709065, 0.0545601025, 0.0137338452, 0.0214922819, 0.0267816056, -0.0354307592, 0.0226347577, 0.0153756645, -0.0106418496, 0.0513408929, 0.0074650394, -0.0997534841, -0.027312655, -0.0805964991, 0.0215838477, -0.0882880539, 0.0349697173, 0.0824090168, 0.0606647022, -0.0322412178, 0.0228722952, 0.005834593, -0.0213575196, -0.0035478817, -0.0232313275, 0.0403259955, -0.0057494408, 0.0424708091, 0.0096631628, 0.0235654861, 0.0069757602, -0.0017617454, 0.0123590389, -0.0274974462, 0.044180166, 0.0406614728, -0.0046826466, 0.0002994219, -0.08172746, 0.0010459229, -0.0577409007, 0.0960267261, -0.0227798857, -0.0286220387, 0.004047866, 0.0035887547, -0.0319734216, -0.0391915701, 0.0114921527, -0.0328010321, -0.024984898, -0.0000074331, -0.0294530429, 0.0254356526, -0.0473828949, 0.0132833784, -0.0471263342, -0.0370692089, -0.028956091, -0.0768237188, -0.0192169361, 0.034668047, -0.0441577658, -0.0186031479, 2.551572119e-34, 0.0117818918, -0.0036275783, 0.0140343886, 0.0506228097, 0.0215620622, 0.0091834906, 0.0024837952, 0.0030855385, 0.0252925381, -0.0612449758, -0.0406515747 ]
http://arxiv.org/abs/2406.10328v1
http://arxiv.org/pdf/2406.10328v1
From Pixels to Prose: A Large Dataset of Dense Image Captions
2024-06-14T17:59:53
2024-06-14T17:59:53
Vasu Singla, Kaiyu Yue, Sukriti Paul, Reza Shirkavand, Mayuka Jayawardhana, Alireza Ganjdanesh, Heng Huang, Abhinav Bhatele, Gowthami Somepalli, Tom Goldstein
cs.CV
cs.CV, cs.CL, cs.LG
Training large vision-language models requires extensive, high-quality image-text pairs. Existing web-scraped datasets, however, are noisy and lack detailed image descriptions. To bridge this gap, we introduce PixelProse, a comprehensive dataset of over 16M (million) synthetically generated captions, leveraging cutting-edge vision-language models for detailed and accurate descriptions. To ensure data integrity, we rigorously analyze our dataset for problematic content, including child sexual abuse material (CSAM), personally identifiable information (PII), and toxicity. We also provide valuable metadata such as watermark presence and aesthetic scores, aiding in further dataset filtering. We hope PixelProse will be a valuable resource for future vision-language research. PixelProse is available at https://huggingface.co/datasets/tomg-group-umd/pixelprose
[ 0.0577801876, 0.1227056831, -0.0112679321, 0.0327208824, -0.009127887, 0.0467175432, 0.0318213366, -0.0085282531, 0.0114248013, -0.0666272417, -0.024452718, -0.0330408402, 0.0129230144, 0.0711331144, 0.019283494, -0.0824540704, -0.0035425003, 0.0022448539, 0.0040901997, 0.0130191799, 0.0480318293, 0.0025135321, 0.0534381792, 0.0371539481, -0.0317331441, -0.0239229631, 0.0305871386, 0.0387824513, 0.0042507453, -0.0370916836, 0.0060121962, 0.0794549435, 0.0299301017, 0.0176067334, 0.0000018164, 0.0210037176, 0.045315899, -0.01123806, 0.0409221686, 0.0124219675, 0.0757951811, -0.0660582855, -0.0047235964, -0.0245902427, -0.0376569778, 0.0062832879, 0.1028056517, 0.0458256602, 0.0964539871, 0.0510215685, -0.0300204791, 0.0037295315, -0.0036240746, -0.0206372663, 0.0093646115, 0.01795757, 0.041887302, 0.0125063043, -0.023855703, 0.0145795038, -0.0075866114, 0.0519276001, 0.0033408569, -0.04936653, -0.0075754174, 0.0133322738, -0.0367245339, -0.0771819204, 0.0156767741, 0.0887987763, -0.0167977568, -0.0034455471, -0.0087169614, 0.021426877, -0.0294959396, -0.0334609784, -0.0313002765, 0.0741018653, 0.009920815, 0.032786008, -0.061439734, 0.0199022274, 0.0163147394, 0.029213503, 0.0491445139, -0.0467280559, 0.0030872424, 0.0203455407, -0.0312951915, -0.0199990738, -0.0432398133, -0.0496563204, 0.012564674, -0.0229799096, 0.032915391, 0.0034714688, -0.0739791468, -0.0513718538, 0.020131439, -0.0651028901, 0.0164251495, -0.0229660217, -0.0869005769, 0.0647294521, 0.0006485399, 0.033713486, 0.0204117633, 0.0520715825, -0.0363067873, 0.0060748174, 0.0179449394, -0.0003206231, 0.0064889053, 0.0077387979, -0.0413499661, -0.0140672699, -0.0437692851, 0.0042023244, -0.0517377146, 0.0106731821, -0.017055599, 0.0460283272, -0.0388973132, 0.0054460238, -0.0151135074, -0.0220725425, 0.0228204373, -0.0030017006, -0.009862111, -0.0272332132, 0.0049433596, 0.0363033079, 0.0012591964, 0.0073806797, 0.0200100169, 0.0630058721, 0.0058628418, -0.0342804305, -0.0169142, -0.033668939, -0.0424081273, -0.0056944815, 0.0185968485, -0.0401563011, 0.0295132659, -0.0564664155, 0.0017594681, -0.0948880538, 0.0216544643, 0.0354738273, -0.0359307788, 0.096166566, -0.0295457337, -0.0241539143, -0.0166138094, 0.0427243635, 0.0044888943, 0.0717471763, 0.0316677839, 0.0671384335, 0.0563266389, -0.0230051614, -0.0016306519, 0.0202152655, 0.0178464074, 0.0232764669, -0.053112749, 0.0142149404, 0.0212931987, 0.0015198981, 0.0309165511, 0.0385392345, 0.0043562381, -0.0432560667, 0.1031008661, 0.0538480878, -0.0386370607, 0.0403375402, 0.0260446332, -0.0093418155, 0.0024635284, -0.031169137, -0.0678114295, 0.0271654222, 0.0527081192, -0.018991502, 0.001266512, 0.0282954611, -0.0222698804, -0.0240686983, -0.005322793, -0.0217353068, 0.0088414764, -0.0236375816, -0.0142748477, 0.0365818813, -0.0356324017, -0.0167222265, 0.0219650213, -0.0260756742, -0.0016332247, -0.0269043744, 0.0365649499, 0.0744596124, 0.0505626164, -0.0125562446, -0.0041861231, -0.0332420096, 0.0691370517, 0.0577998459, -0.0535209365, 0.0196416713, 0.0073821242, -0.0202283785, -0.047748439, -0.0217015762, -0.0008344341, -0.0087004304, 0.0143478727, 0.0091084577, 0.0325867124, 0.0115125887, -0.0979047343, 0.0395656042, 0.0670422763, -0.0396119952, 0.0104924692, 0.0289213229, 0.0193676185, -0.0131103033, -0.0432194248, -0.0254602861, 0.0180917978, -0.001746628, 0.0103054978, 0.0151013704, -0.0306906477, -0.0147852888, 0.0300506316, -0.0850377008, -0.0085094273, 0.0289215371, -0.0411844589, 0.0030144686, 0.0174184125, -0.0484239385, -0.0281036533, -0.056494195, -0.0207952578, 0.0010617236, 0.0295186695, 0.0229098741, 0.052792836, -0.021874195, -0.0416911803, 0.0139408847, -0.0227373093, -0.0065678963, 0.0242908262, -0.0294949356, -0.0183382444, -0.032278806, 0.0282704085, 0.0196044203, 0.051240202, -0.0316158198, 0.0182365756, -0.0502310582, -0.0252797138, -0.0025635494, -0.0344680659, -0.0034487355, -0.0085729184, 0.0187695008, -0.0210114457, -0.0469585359, -0.0368269868, -0.0213348493, 0.0401772857, 0.0219741073, -0.017571222, -0.0054754061, -0.035783086, -0.0119625572, 0.0199378785, 0.0716255233, 0.00979611, -0.0378658846, -0.0014311146, 0.029926898, -0.0287063811, 0.0069732186, -0.0052250046, -0.0298997853, 0.0005545942, 0.0131900441, -0.0274006687, 0.0678069219, 0.0314380787, 0.039321322, -0.0049638795, 0.0318924449, -0.0021242325, -0.0332554318, -0.0057312334, -0.0386881381, 0.0378022082, -0.0663382635, 0.0005752397, 0.0275102444, -0.0214652214, 0.0222790744, -0.0398312807, 0.0504433177, -0.0113983406, -0.0345518403, -0.0407641046, -0.0341065601, 0.0000116916, 0.0127367033, -0.0722234249, -0.0908580571, 0.0488410965, 0.0000167064, -0.0054428135, 0.0360654406, -0.0133912722, 0.0033832588, 0.0826341808, 0.0317808688, 0.0651052073, 0.0156123694, -0.0118163386, 0.0179599356, -0.0061680465, 0.0480617099, -0.0254596341, 0.0366101265, -0.0532812066, -0.0065551163, 0.0012716142, -0.0495913103, -0.0432935134, -0.0749515221, 0.0138298515, -0.0350993201, -0.063213639, -0.0289328899, -0.0147497458, 0.0175683983, 0.0237150248, 0.0195761025, -0.0015274452, 0.0073652072, 0.0002112827, 0.0184145812, 0.0766552761, -0.0166121144, -0.0195618868, 0.0209944136, 0.0161186289, 0.0681041405, -0.0104618836, 0.0268592946, -0.0248510074, 0.0494267456, -0.0005213204, 0.0677132681, 0.0177868046, 0.010491604, 0.0272907075, -0.0279180836, -0.005509282, 0.0426470526, 0.0073463395, -0.0468974896, 0.0059232018, 0.0390123203, -0.0004967882, 0.0237195119, -0.0458830036, -0.0996706262, -0.0262923054, -0.0413720235, 0.0040781824, -0.0542984828, -0.0144040408, -0.0490778424, -0.0237638727, 0.0592511743, 0.0230721552, -0.0230887271, -0.0630847961, -0.0136518264, -0.0217390005, -0.0077302307, -0.002944014, -0.0194044709, -0.0056548361, -0.018287871, -0.0112160826, 0.0293467101, -0.0539298579, 0.0221126955, -0.03383803, 0.0226120818, 0.0651601702, 0.0362885706, -0.0174296349, -0.0302851014, 0.0067728674, -0.0017232816, -0.0265356898, -0.0007065093, 0.0842602327, -0.0380714685, -0.0536153205, -0.0203669909, 0.0640653223, -0.0296312403, -0.0241153706, -0.0009538875, 0.0316825993, 0.0042624162, -0.012754905, -0.043159876, 0.0218762569, 0.0197759494, 0.0518882275, 0.0620980486, -0.0210765712, 0.0046504266, -0.0362475626, -0.033478152, -0.0457387455, -0.0354199409, 0.0150422519, -0.0191868301, -0.0531982221, -0.082936883, -0.008584423, 0.0359806977, -0.0125921769, 0.0322107337, -0.0414821841, -0.0082571385, -0.0019034938, -0.0742539391, 0.0789992511, -0.0223519243, -0.0048605055, -0.003020118, -0.0030280305, 0.0166378543, -0.0135215335, -0.0051782462, 0.0654627532, -0.0614228323, -0.0184687097, 0.0060427189, 0.0900921375, 0.0089781033, -0.0065646432, 0.0217055809, -0.0210846383, 0.0453398488, 0.0865396485, 0.0045433007, -0.031336762, 0.0288275369, -0.0168384966, -0.0059736199, 0.0205366127, -0.0247192457, 0.0098174568, 0.0200555883, -0.0320384018, -0.0193699505, -0.0052499794, 0.0157970935, 0.0035235852, 0.0294232294, -0.0497305654, -0.0095553985, -0.0204234365, -0.0217852406, -0.0263973083, -0.0133221168, -0.0345453508, 0.0459611304, 0.0336766541, 0.0260697044, -0.0280397628, 0.0003908875, -0.0549156405, 0.0109045776, -0.0436451845, -0.015779715, 0.0098320441, -0.0281119123, 0.0032633438, 0.0093656974, -0.0147732673, 0.0249861758, -0.0261683371, 0.0212031566, -0.0198188368, 0.0239945743, 0.0299519151, -0.0169399679, 0.0073846132, 0.0553038046, -0.0061960416, 0.0020411091, -0.0672582388, -0.0049940716, 0.0268102027, -0.0072838133, 0.024147654, -0.0414481126, -0.012141143, -0.0091002034, 0.0479681008, -0.0136050554, -0.0742729902, 0.0421352014, 0.0084483689, -0.0189117547, 0.025218226, 0.0510170124, 0.02494983, 0.019584991, 0.0395771004, -0.0220724214, -0.0218130723, 0.0045644958, -0.0071710069, 0.0120694907, -0.0270724911, 0.0451224856, -0.0086358273, -0.0621136799, -0.0238744766, -0.0245242286, 0.0323984176, 0.0417961441, 0.0288118534, 0.0165651049, 0.0197338592, -0.0052528116, -0.0077223903, -0.0132965473, 0.0067405012, -0.0057166847, -0.0264449008, -5.751135131e-33, 0.0000392865, -0.0323693305, -0.0160488654, 0.0229796879, -0.0175369978, 0.0050176363, -0.0214529894, 0.0142721878, 0.0073181456, 0.0028574301, 0.0149991531, 0.0015783765, 0.0006731467, 0.0450754873, -0.0164491329, -0.0171410628, 0.0275410879, -0.0010773181, -0.0229504518, 0.0347442813, 0.0099496646, 0.0028372749, 0.0410529412, -0.0787525326, 0.0358943678, 0.0055161081, -0.0571656413, 0.0030362068, 0.0399202332, 0.0590974614, -0.0370106734, 0.0482193716, 0.0209944714, 0.0152919954, -0.0135339219, 0.028251728, -0.0753104836, 0.023461882, 0.0400431901, 0.0163086355, -0.0420124009, -0.0267004743, 0.0279794559, -0.0537776574, 0.0157687534, -0.050301075, 0.0536601953, -0.0427097231, 0.0012111826, -0.0215138271, -0.0371797048, -0.0039496683, -0.0182848163, -0.0198883638, 0.0306964312, 0.0355891027, 0.0088132331, 0.0652217343, -0.0535255522, 0.0210073628, -0.0067407396, 0.0133664683, 0.0645906925, 0.0093748085, 0.0472125784, 0.0850448087, 0.0077049909, -0.002720641, -0.0366599709, 0.0163707249, 0.0143192429, 0.0769568011, 0.0484825335, 0.0530394875, 0.017110901, 0.0088677173, -0.0492837727, -0.00431852, -0.0631407648, 0.0095139733, -0.0005788315, -0.0290402528, -0.0067739482, 0.0234315824, -0.0487186722, -0.0361078121, -0.0352959707, -0.0140794106, 0.0327540487, 0.0031240729, -0.0559728928, 0.0511755161, -0.0033529843, -0.0432537049, 0.0001250354, -0.0356132686, 0.0040517733, 0.0176310521, 0.0064826547, 0.0252214838, 0.0122831585, -0.0113313766, 0.066394031, -0.0177657697, 0.0468424633, 0.0086577889, 0.1076832637, 0.0120281763, -0.0524749756, 0.0049860915, -0.0317956842, 0.0451482274, 0.0007701282, 0.0219783448, 0.0061168973, 0.0288049374, -0.0568835959, -0.0047184681, 0.0110906959, 0.0352379382, -0.0236577913, -0.0406831726, -0.0182764065, 0.0397109985, -0.0032315005, -0.0052638566, -0.0407263227, -0.0092702899, 0.0459362306, -0.0804305077, -0.0206587315, 0.0104799848, 2.424e-7, 0.0047878553, 0.0087315496, 0.0420766063, 0.0221834313, 0.0126201073, 0.0584049113, 0.0033556146, 0.0294835828, -0.001652486, -0.0810548291, 0.0177036449, 0.01489163, 0.0494238734, -0.0229905192, -0.0172370821, 0.0259569231, -0.0244392119, -0.0304046962, -0.0574393235, -0.0106193703, 0.0412328877, 0.1121089309, 0.0036676354, -0.0482258424, 0.047628697, -0.0840403661, 0.0561057031, -0.0567651726, 0.0014835447, -0.0186787751, 0.023541104, 0.0388850421, -0.0294586495, -0.0018512028, -0.0209846999, -0.0365629382, 0.0396029204, 0.040285632, -0.0252975263, -0.0105485069, -0.0513584539, -0.0070668124, -0.0124712912, -0.0607322417, 0.0848111883, 0.0076296763, -0.0194035172, -0.0474137627, -0.0185099579, -0.0126905311, 0.047141172, -0.0839337483, -0.0202798825, 0.009686714, 0.0528017096, -0.0113639347, -0.0046893843, -0.0722976103, -0.0197317265, -0.0117302192, -0.0146024767, -0.0072644954, -0.0702534467, 0.0228164922, 0.0370269902, -0.0437852256, 0.0187012274, 2.262840171e-34, 0.0395994931, -0.0576275252, 0.0233754069, -0.0241062529, 0.0206406638, 0.0107759219, -0.0134100867, -0.0417613648, -0.0172441453, -0.0398245156, 0.0049978271 ]
http://arxiv.org/abs/2406.10228v1
http://arxiv.org/pdf/2406.10228v1
VEGA: Learning Interleaved Image-Text Comprehension in Vision-Language Large Models
2024-06-14T17:59:40
2024-06-14T17:59:40
Chenyu Zhou, Mengdan Zhang, Peixian Chen, Chaoyou Fu, Yunhang Shen, Xiawu Zheng, Xing Sun, Rongrong Ji
cs.CV
cs.CV, cs.AI, cs.CL
The swift progress of Multi-modal Large Models (MLLMs) has showcased their impressive ability to tackle tasks blending vision and language. Yet, most current models and benchmarks cater to scenarios with a narrow scope of visual and textual contexts. These models often fall short when faced with complex comprehension tasks, which involve navigating through a plethora of irrelevant and potentially misleading information in both text and image forms. To bridge this gap, we introduce a new, more demanding task known as Interleaved Image-Text Comprehension (IITC). This task challenges models to discern and disregard superfluous elements in both images and text to accurately answer questions and to follow intricate instructions to pinpoint the relevant image. In support of this task, we further craft a new VEGA dataset, tailored for the IITC task on scientific content, and devised a subtask, Image-Text Association (ITA), to refine image-text correlation skills. Our evaluation of four leading closed-source models, as well as various open-source models using VEGA, underscores the rigorous nature of IITC. Even the most advanced models, such as Gemini-1.5-pro and GPT4V, only achieved modest success. By employing a multi-task, multi-scale post-training strategy, we have set a robust baseline for MLLMs on the IITC task, attaining an $85.8\%$ accuracy rate in image association and a $0.508$ Rouge score. These results validate the effectiveness of our dataset in improving MLLMs capabilities for nuanced image-text comprehension.
[ 0.0304408669, 0.0677597597, 0.0035285044, 0.0702918321, -0.0353346951, 0.0322893038, 0.0122738583, -0.0300292168, 0.0031002569, -0.0268615969, -0.0560431741, 0.0089642378, 0.0030535837, 0.03994634, 0.0176772643, -0.041491624, 0.0575162619, -0.0252720006, 0.0027916036, 0.0185063593, 0.0072132847, 0.0138381692, -0.0073966482, 0.0097863413, 0.0060110763, -0.0597475618, 0.0267158654, 0.0190236121, 0.0747539923, -0.0245048478, -0.0158369225, 0.0493441708, 0.0474087894, 0.0410835743, 0.0000017242, 0.0064878822, -0.0062899073, 0.0108039072, -0.0131447334, 0.0244960431, 0.0289780311, -0.0425974801, 0.0087155225, -0.0322698765, -0.0215125233, -0.018379923, 0.0625206828, 0.0597443655, 0.0483811349, 0.031794019, -0.0110182045, -0.0221027546, 0.0289209578, -0.0147893261, 0.0352442078, -0.060605742, 0.0317691043, 0.0448824018, -0.0100785978, 0.0502963513, -0.0304678977, 0.07671877, 0.0513903163, -0.0084271664, -0.0087202964, 0.0650197044, -0.0142895766, -0.0560149439, -0.0058829002, 0.0931929946, 0.0087976726, -0.012523517, -0.0407497808, -0.0027177739, -0.014568706, 0.0051846527, -0.0543125384, 0.0113942483, -0.0173592996, -0.0037461696, -0.0294199437, -0.0183480401, 0.0153999915, 0.0432178564, -0.0178184863, -0.0090686204, 0.0188286025, 0.0176230911, -0.0059006978, 0.0041234372, -0.0711168572, -0.0010252602, -0.0149822012, 0.034043923, -0.0165042114, 0.011649535, -0.031716004, -0.0455417298, 0.0229478963, -0.008783333, 0.003926252, 0.0244643576, -0.0588782988, 0.1118002981, -0.040906027, 0.0387929417, -0.0269988459, 0.0449792556, -0.0187438391, -0.0075829844, 0.0099137602, -0.0175164472, -0.015529667, -0.0259072799, -0.0457172804, -0.0450268202, 0.0228134394, -0.0059996066, 0.0072133429, 0.035894759, -0.0309893414, 0.0281057358, -0.0377571024, -0.0350150019, -0.0194767527, 0.05988447, -0.0121953497, 0.0546181053, -0.0080417981, -0.0273518451, -0.0106787514, 0.0276646223, -0.0128856245, -0.0610746667, 0.0234171208, 0.0354203172, -0.0710575208, -0.0517864227, -0.0149659906, -0.0108231353, 0.0005935167, -0.0868612006, 0.03700817, -0.0402636603, 0.0331178233, 0.0088097844, 0.0029825501, 0.0050784084, -0.0176983327, 0.029048169, -0.0402918458, 0.1228634194, -0.0001296895, -0.039900288, 0.0168374106, 0.0399882048, 0.0117684361, 0.0674767792, 0.0044489857, 0.0467919745, 0.01730082, 0.0174266491, -0.0270490237, 0.0269165747, -0.0084244767, 0.0104978653, -0.0268058293, 0.0362993665, 0.0339511298, 0.0273649823, 0.0398387797, 0.0620125905, -0.0693917274, -0.0578290075, 0.0784615949, -0.0056771734, -0.0047533247, 0.0153730772, 0.0378936231, 0.0179258902, 0.0415983759, 0.0156589244, -0.0723396689, 0.0622548126, -0.0307339821, 0.0153938662, -0.0025825016, 0.0569183901, -0.0344881862, -0.0381413661, 0.0265233759, 0.0018700744, 0.0079071764, 0.0256585758, 0.0478476025, 0.0129173417, -0.0450424179, -0.020903334, 0.0245679766, 0.0081077628, -0.0156372581, -0.0240269396, 0.0748366937, 0.0498376079, 0.0386339165, -0.0034032555, -0.012024032, 0.0144226057, 0.0349262431, 0.0443747789, -0.0301371571, 0.0059121847, 0.0226956904, -0.0758036301, -0.0299124755, -0.0128148245, -0.0162342656, 0.002726919, -0.0047950763, -0.0169402286, -0.0119693782, -0.0358328633, -0.0057056132, 0.0310617834, 0.001419484, -0.0117814159, -0.0265055783, 0.0261040255, -0.0107293846, -0.0209019594, -0.0135348337, -0.013125835, 0.0273358356, -0.0239863284, 0.0073816334, 0.0045197327, -0.0289901532, -0.0365700312, 0.0212970097, -0.0692320392, -0.0703788921, 0.0398084037, -0.0443392955, -0.0069163884, -0.0148089351, -0.0157068763, -0.0289390385, -0.0438495167, -0.0308150835, 0.0422225036, 0.0537502356, -0.0279664434, 0.0465719551, -0.0150381001, 0.0116702253, 0.0356636085, 0.017122414, 0.0186277051, -0.0019550039, -0.0108456872, -0.0059948931, 0.0055999816, -0.0080638677, -0.0218298864, 0.0172571838, -0.0714341253, -0.0237216447, -0.0988691524, 0.0046092793, -0.0081395516, -0.035793215, -0.0032744508, -0.0027936331, 0.0003071889, -0.0374469794, 0.0189946182, 0.0296442881, -0.009658942, 0.0018890873, 0.034576837, 0.0111986455, 0.0169351157, -0.0241526756, -0.0097244931, -0.002068151, 0.0543600209, 0.0367181897, -0.0208431017, -0.0107759256, 0.0061418982, -0.014600317, 0.0327831507, -0.0375371277, -0.0230788626, 0.0065354067, -0.030327037, 0.0501511209, 0.0976353958, 0.0120632593, -0.0073097972, 0.0063195918, 0.0015973679, -0.0367804207, 0.0215438865, 0.0278779324, -0.0262244809, -0.0091944383, -0.0033869478, -0.0730938986, 0.0480688326, -0.0308929551, -0.0116424458, -0.0198857579, 0.0167313293, 0.0153523702, -0.0240319166, -0.035110116, 0.0380641185, 0.0410957262, 0.0217638221, -0.0610701814, -0.0558866747, 0.0723482221, -0.0247196797, -0.0299410261, -0.0336397253, -0.0113749206, -0.0282663628, 0.0518730022, 0.0336023159, 0.0229379777, 0.0050650202, -0.0040141414, -0.052442383, -0.0152144199, -0.0022946903, 0.0140772201, 0.0658421442, -0.0429700613, 0.0387693197, -0.049963668, -0.0361663923, -0.0183040537, -0.0332869738, -0.0360459983, -0.0101987822, -0.0344678834, -0.0360698961, -0.0708148926, -0.0266079493, 0.0537907518, 0.0123197464, -0.0092389546, -0.0081069674, -0.0169182904, 0.0507720076, 0.0746376887, 0.0511757955, 0.016867863, -0.0502262414, 0.0060335635, 0.0535169505, 0.0004800283, -0.0025267201, -0.0413097963, 0.0277491696, 0.0028678265, 0.047045853, 0.0348594524, 0.0218381602, 0.0681362674, -0.0619753227, -0.0073863254, 0.0535709485, 0.0035618935, -0.0432631373, -0.0444840901, 0.0139355306, 0.0415030979, 0.0216377228, 0.0112245707, -0.0915752724, -0.0596512482, -0.0329592153, -0.0446918122, 0.0120265484, 0.0181124173, -0.0524176247, -0.0345305875, 0.0540175885, 0.0130605083, -0.0254465658, -0.0259954557, -0.0104367919, -0.0107408641, -0.0220266897, 0.0252038743, -0.0265769865, -0.005376298, -0.0065849526, -0.0208285283, 0.0501320697, -0.0293739121, 0.0138873076, -0.0173361432, -0.013609088, 0.035767898, 0.024361182, -0.0147531303, -0.0415493213, 0.0285578631, 0.0077270162, -0.0021806303, -0.0009661914, 0.0595977828, -0.0211402532, -0.0440732241, -0.0180102363, 0.0372363068, -0.0056135724, -0.0443753228, -0.0044403668, 0.0651066452, 0.0070307595, -0.0167493653, -0.0606692992, 0.0086778635, 0.0026318547, 0.0438391119, 0.0096002696, -0.015733188, -0.04797519, -0.0044161794, 0.0018335724, -0.0365338065, 0.0017847556, 0.0276965126, 0.0273625758, 0.0113153588, -0.030720491, -0.0322173908, 0.0414645076, 0.042242147, -0.0185884926, -0.0016607908, -0.008328299, -0.0118544446, -0.0730576664, 0.0838340148, -0.024046639, 0.0568093695, -0.0393931009, 0.0038928054, 0.0238878578, -0.0510952137, -0.0369372889, 0.0570047237, -0.1075629443, -0.0254173316, -0.0270113219, 0.0503652096, 0.018631082, 0.0476814471, 0.006240543, -0.0504506156, -0.0091567812, 0.0474788807, -0.023691237, 0.006201515, -0.0199959427, -0.0307564978, -0.0182472952, 0.0037428695, -0.0111277392, 0.0164386202, 0.0197719205, -0.0050757285, -0.0103230504, -0.0240345541, 0.0189995449, 0.0185597502, 0.0110493666, 0.0061526503, 0.021894617, -0.0270499196, 0.0181029644, 0.010563436, -0.0040890961, -0.0411286503, -0.0155782755, 0.0449407622, -0.0145788202, -0.0146233281, -0.0081314007, 0.0308505036, 0.0253120083, -0.039457012, -0.0073243598, 0.0121769877, 0.0014617865, 0.0341383629, -0.0282451827, -0.0246636234, 0.0169913489, 0.0071768379, 0.0516309589, 0.0304084048, 0.0777709484, 0.040393047, -0.0227358416, -0.0275484435, 0.0187270474, -0.0553921871, -0.0399449319, -0.0293992255, 0.0286307111, 0.0321354046, 0.0057978863, -0.0018903194, -0.0099813733, -0.0428362153, -0.0469067097, 0.0020228471, -0.0057815472, -0.0221362822, 0.0849802792, 0.0277713984, 0.0284675173, 0.0047372053, 0.0568715595, 0.0028037108, 0.0506141968, -0.0000842022, 0.0210405067, -0.0486703627, -0.043069493, -0.0154359499, -0.0029957362, -0.0006486428, 0.0394125581, -0.0177650247, -0.0712821782, 0.0132450145, 0.0279053468, -0.0265353695, 0.0228527188, -0.008474391, 0.0413563438, 0.010368377, -0.0554241575, -0.0009806444, 0.0022711263, 0.0019942357, -0.0097786319, -0.0121623408, -5.991205241e-33, -0.0415997989, -0.0408892408, 0.0521706194, -0.0210121162, -0.0139555344, 0.0201551188, -0.0285416618, -0.0342753977, -0.0396687686, 0.0380000658, 0.0284146555, 0.0339595377, 0.0054867752, 0.0427429006, -0.0319332927, 0.0146948155, 0.030169474, 0.0073879114, -0.0082027027, 0.0138752442, -0.0084648766, 0.0135692246, 0.0159253348, -0.0564629771, -0.0131365061, 0.001199228, -0.0344581492, 0.0214526113, -0.0369520746, 0.0802868083, -0.0501570329, -0.0053035435, 0.0135985911, 0.017323507, -0.027925754, 0.0483707897, -0.1217175126, -0.0086620618, 0.0353546217, 0.029811915, -0.1040727496, -0.0050333892, 0.0447902679, -0.0148470346, 0.0551254824, -0.0692650974, 0.0525517501, -0.0203257911, -0.0078590764, 0.0149806375, -0.0659790412, 0.0114674894, -0.0341662392, -0.02860526, 0.0281798095, 0.026898738, 0.021095356, 0.0762954876, -0.0477171578, -0.0080952458, -0.0198871642, 0.0050768075, 0.0453099012, 0.0387033783, 0.0092677297, 0.0386374742, 0.0178478714, -0.0330018029, -0.0056451499, -0.0224639419, 0.0125810234, 0.050754305, 0.040508341, 0.0615503304, 0.0053844624, 0.0375614055, -0.0847389251, 0.0134347938, -0.0297526941, 0.0562973209, -0.0311760716, -0.0009571099, 0.0226528607, 0.0334713645, -0.0530009307, -0.0013115347, -0.0617180504, 0.0105265416, 0.0451163128, 0.0084540006, 0.005333235, 0.0403935313, 0.0627980903, -0.0433750413, -0.0303566437, 0.0198351331, -0.0033242374, 0.0628243238, 0.010858424, 0.0678167269, -0.0564342216, -0.0118784737, 0.06649445, -0.0007001863, -0.0078354711, -0.0017040558, 0.0710062385, -0.0092531377, -0.055619657, -0.0255183931, -0.0337275155, -0.0058484077, 0.0028848944, 0.0202926509, 0.0294518322, 0.021976063, -0.0481196567, 0.0188751891, -0.0205359254, 0.0052569858, -0.012678274, -0.0323329531, -0.0180310477, 0.026204817, -0.0068536517, -0.0261101145, -0.0147587527, -0.0471392646, -0.0033335416, -0.0843658596, 0.010040204, 0.0851604939, 2.417e-7, 0.0311299823, 0.0150857158, 0.0459042788, -0.0027958644, -0.0016159776, 0.0511039943, -0.0257385466, 0.0088168085, 0.0112545351, -0.032556612, -0.0062893443, 0.0558904372, 0.0362839885, -0.0059287418, -0.0132469684, 0.0548102148, -0.0205412619, -0.0098555787, -0.0676073357, -0.0064919349, 0.0508652031, 0.0915579423, -0.0428641625, -0.0280836094, 0.0619027205, -0.0358757488, 0.0974752605, -0.0199218094, -0.0240710527, -0.0049431487, -0.0179455895, 0.0075950297, -0.0136896838, 0.0602834858, -0.0025182238, -0.0308189895, 0.0561878569, 0.0486037433, -0.0009026272, -0.0112336772, -0.0186623298, 0.0244001858, -0.0069111655, -0.0590337925, 0.0918584988, -0.0632799864, -0.0419152528, -0.0127110258, -0.0548453592, -0.010286238, 0.0510294512, 0.00093386, -0.0274023637, 0.0222533792, 0.0278941877, -0.0258181412, -0.0176946055, -0.0922569782, -0.0059324675, 0.0073621823, -0.0627626628, -0.0038303705, -0.0675494224, -0.0235160738, 0.0752150416, -0.0340437144, -0.0465475544, 1.663599324e-34, 0.0279374272, -0.0515720099, 0.0073852376, 0.0106012346, 0.0101236943, -0.0185263064, -0.0547350384, 0.0069990885, -0.0061207754, -0.1002333909, 0.0042868326 ]
http://arxiv.org/abs/2406.10325v1
http://arxiv.org/pdf/2406.10325v1
Enhancing Multilingual Voice Toxicity Detection with Speech-Text Alignment
2024-06-14T17:56:53
2024-06-14T17:56:53
Joseph Liu, Mahesh Kumar Nandwana, Janne Pylkkönen, Hannes Heikinheimo, Morgan McGuire
cs.CL
cs.CL, cs.LG, eess.AS
Toxicity classification for voice heavily relies on the semantic content of speech. We propose a novel framework that utilizes cross-modal learning to integrate the semantic embedding of text into a multilabel speech toxicity classifier during training. This enables us to incorporate textual information during training while still requiring only audio during inference. We evaluate this classifier on large-scale datasets with real-world characteristics to validate the effectiveness of this framework. Through ablation studies, we demonstrate that general-purpose semantic text embeddings are rich and aligned with speech for toxicity classification purposes. Conducting experiments across multiple languages at scale, we show improvements in voice toxicity classification across five languages and different toxicity categories.
[ -0.0361946747, 0.044982262, 0.0017725378, -0.0015495175, 0.0457736216, 0.008288526, 0.0271513108, 0.0060089612, -0.0152555304, -0.0310500301, -0.0643817708, 0.0234869104, -0.0103004444, -0.0224492457, 0.0219512712, -0.0117116077, 0.0453744158, 0.0132930698, 0.0169510897, 0.0119661735, 0.069906272, 0.0467428789, -0.0171008091, 0.0601020083, -0.0867502615, -0.0013925402, 0.0100755189, 0.0153682847, 0.062510334, -0.0507416278, -0.0231728964, -0.0085227443, 0.0354778171, 0.0562988631, 0.0000014484, 0.0045629563, 0.0051856162, 0.0502734296, -0.0044128844, -0.0279793106, 0.0609495342, -0.0161464904, -0.0275825318, 0.0595228523, 0.0154832713, -0.0094005205, 0.0825411305, 0.043515522, 0.0840755254, 0.0499563813, -0.0342985578, -0.007228232, 0.031673789, 0.0175844077, 0.0109244026, -0.0043577678, 0.01872373, -0.0071441117, 0.0046634017, -0.0211239234, -0.0299287271, 0.0642703325, -0.01763447, 0.0134256752, -0.0374291241, 0.0148202907, -0.0147337373, -0.029893158, 0.0102903247, 0.0684016272, -0.0013947815, 0.0099463854, -0.0506173223, 0.0075182957, 0.0037377414, -0.0405041911, 0.0144398864, -0.0061617848, 0.024072336, 0.0238780938, -0.0119245443, 0.0704680085, 0.0273141284, -0.0097104525, 0.0642738193, -0.0152870705, 0.0127811879, -0.0514516979, 0.0369864963, -0.031722758, 0.0082644261, 0.0417237394, -0.0144693851, -0.0332131796, -0.0488261804, 0.0082532726, -0.0539667644, -0.0587645397, 0.0598696247, -0.0801375806, 0.0239920113, -0.0083709443, -0.0859242156, 0.0142748076, -0.0039077778, -0.0401326157, 0.000388069, 0.0266874526, -0.0407175496, -0.0226073172, 0.0004458237, -0.0061319456, -0.0270970333, -0.0339867324, 0.0298237149, 0.0140425758, -0.0493224375, -0.0220784117, -0.0710626915, 0.0038949749, 0.0051236558, 0.0206449647, -0.0386001132, 0.0326353759, 0.0224867892, -0.0028979536, 0.0266110264, 0.0567930155, -0.0428268984, -0.0096531166, 0.0112837683, 0.0325445421, -0.0218916498, -0.0273459647, 0.0197687391, 0.0979111195, 0.0095281219, 0.0062333141, -0.013980059, -0.0260905474, -0.0514013879, -0.000605703, -0.0543826334, -0.0252648667, 0.0126952184, -0.0521647297, -0.015779417, -0.0492665991, -0.0001427343, 0.0193117671, -0.0125286961, 0.0665688217, 0.0057876031, -0.014385975, 0.0303743649, 0.0231381319, 0.0012514994, 0.0721146613, 0.0549405329, -0.0331047773, 0.0191277973, -0.0422835313, -0.0356387794, 0.0313245393, 0.023702966, 0.0186750684, -0.0341641046, -0.03961052, 0.0121200075, 0.0296670068, -0.0166846123, 0.0304265488, 0.0195360035, -0.0287114792, 0.0578306727, 0.0356794037, 0.0118323946, -0.0052898554, 0.0311177205, 0.0113943163, -0.0778810903, -0.0440809987, -0.0255688969, -0.0208579935, -0.0177917462, -0.0154778939, 0.0843580961, 0.0261794329, -0.0127355633, -0.0335553177, -0.0129070757, -0.0260387324, 0.0113579882, 0.0111029129, -0.0023826866, -0.023808755, -0.0071470328, 0.0506728478, 0.0592059307, -0.0516146906, -0.0140968421, 0.0291942433, -0.000612143, 0.0397905558, -0.0113532618, -0.0658643395, 0.0075166761, -0.0765990168, 0.0064757764, 0.0023483562, -0.0151725579, 0.0089360178, 0.0529670455, -0.024173094, -0.0523136072, 0.0171937589, -0.0123163704, -0.0142894983, -0.0429483019, 0.0604365692, -0.0080543431, -0.0409997888, -0.0170661714, 0.0289505143, 0.0233289804, -0.0554244369, -0.0055708946, 0.0444193669, 0.0459224097, 0.0268861111, -0.0459105149, -0.0145168239, 0.0409106687, -0.0384374857, -0.030558791, 0.0206278078, -0.0278510991, -0.0006654947, 0.0238615181, -0.0408496074, -0.0174895618, 0.0368208252, -0.0596846603, -0.0104019009, 0.0094474461, -0.0513848029, 0.0192861967, -0.0331751294, -0.0518337227, -0.0079300459, 0.0453416035, 0.0030367337, 0.0109334849, 0.0294259172, -0.0123740332, -0.0125993639, -0.0034538142, 0.0311719719, -0.0342807546, -0.0790376365, -0.0143773137, -0.0146050313, 0.0314336792, -0.0098433634, -0.0300742723, -0.0177991018, 0.0303714182, -0.0884279013, -0.009699068, -0.0212559849, -0.0271625705, -0.014506069, 0.0151248807, 0.0304435585, -0.0187648926, -0.0498396829, -0.0493998416, 0.0198032539, 0.0182268582, -0.017449785, -0.0218383092, -0.0233535524, 0.0096236207, -0.0038795772, -0.0541930348, 0.035108272, -0.0356703587, -0.044461567, -0.013067225, -0.0197728816, -0.000427417, 0.0113894148, 0.0293685496, -0.0299831964, 0.0051654195, 0.0634810105, -0.0027502961, 0.025188446, 0.0345082097, 0.0306194779, 0.0606823452, 0.0619657338, -0.0136126969, 0.0294880345, -0.0116488999, 0.0115491925, -0.0503457822, -0.0165740475, -0.0625705346, 0.0375004411, 0.0131657096, 0.0223724805, -0.0206436254, -0.0099417893, -0.0140668163, -0.0454916395, -0.0413725227, -0.0454544984, -0.0169759113, -0.0407571755, 0.0207063835, -0.0435935706, 0.0658932477, -0.0316097215, -0.0115140332, -0.0299663972, -0.0810466185, 0.0050010779, 0.0286737978, -0.0550191402, 0.0556161627, 0.0551107116, 0.0109744528, -0.002984084, -0.0085983584, 0.0350231715, -0.0255771, 0.0026817054, 0.0053050495, -0.0192140844, 0.005753844, -0.0738438964, -0.0417927243, -0.0489555188, -0.0087069366, 0.0024652516, -0.0205131434, 0.0164540429, -0.0472035557, 0.0218429156, 0.0258934852, -0.0516536906, 0.0456497371, 0.007828258, 0.0164528787, 0.0461439565, 0.0243579745, 0.00528203, -0.0136235831, 0.0216848627, 0.0415079668, 0.0655103326, -0.0043793838, 0.0084298076, -0.0083430838, 0.005777589, -0.0218428858, 0.0249550082, 0.0065016644, -0.0053383498, -0.0093805511, -0.0302998815, 0.0306089241, 0.0474755429, -0.0033058254, -0.0078095086, 0.0317187756, 0.023409456, 0.0095825195, 0.0017189715, -0.0079986975, -0.0566499494, -0.0351009145, 0.0045604426, 0.0105413748, -0.0095502008, 0.0527420938, 0.0142963491, -0.0347024612, 0.0022369707, 0.0190370511, -0.057603512, -0.0090344241, -0.0047542024, -0.0062027858, -0.0491687991, 0.0640496016, -0.0626066029, 0.0251945853, -0.054700952, 0.0257853307, -0.0494946241, -0.047962755, 0.0142794494, -0.042480696, 0.0392392427, 0.0191365313, 0.0481176786, -0.0421297103, -0.0471642762, 0.0072855265, -0.006346277, -0.0423979908, 0.030215783, 0.0663581863, -0.0196349826, -0.0218548719, 0.0177376159, 0.0486477986, 0.0037636792, -0.0047094198, 0.0038779643, 0.1099835113, 0.0195188876, 0.0120281707, -0.0583182909, 0.0638977215, 0.0329777263, 0.0658451244, -0.0187349487, -0.0466029383, -0.0036016172, -0.0245904904, -0.0002250065, 0.0098514585, -0.0599409938, 0.0389805399, -0.0268892907, -0.0714841336, -0.0119195497, -0.0136921825, -0.0149923833, 0.0026305632, 0.0125286877, 0.0166858882, -0.0315503441, 0.0128683439, -0.0543636754, 0.060611356, 0.0501340255, 0.0824823976, -0.0092193251, 0.0235043988, 0.0335031785, 0.0101210242, -0.0401942953, 0.0493148379, -0.0133054461, -0.0809685811, -0.0112836231, -0.0065992498, -0.0066164262, 0.0571772791, -0.0380675644, -0.0292493347, 0.0946640298, 0.0384242013, -0.0523852147, -0.0107161952, 0.0905785635, -0.0090059405, 0.0261404775, 0.0209903512, -0.0603790879, 0.030259626, 0.0101265321, -0.0046396116, -0.0406472497, 0.0299894065, 0.0048208516, 0.0002926446, 0.0443975627, -0.014068217, -0.0027562291, -0.025295414, 0.0181238558, 0.0280344207, -0.0255644415, 0.0049865972, 0.0257729534, 0.0365009047, -0.0234593097, -0.002420953, 0.0553680323, 0.0018831134, -0.0008355877, -0.0085242493, 0.0572843589, 0.0476210788, 0.0069047371, 0.0125786122, 0.0377284251, -0.0041590384, 0.0152989225, 0.0119010471, 0.0014140836, -0.0093940962, -0.0337746739, -0.0072643799, 0.0241499748, 0.0090666125, 0.0538587347, -0.0022848919, 0.0352443419, -0.0442752689, -0.0473278277, 0.0043497011, -0.0118723968, 0.0288797412, 0.0044379137, 0.0004904847, -0.0030384595, 0.0006336122, -0.0732056126, -0.0169480164, 0.0300510321, 0.0083521204, -0.0419009142, 0.0112313498, 0.0497876108, 0.024620533, 0.0412984975, -0.0259160697, -0.0316015147, -0.0153997513, -0.025658302, 0.0719187185, 0.0543840379, -0.0505154356, -0.0464040115, -0.0415059738, -0.0713569671, 0.0239828099, -0.0180243943, -0.0167234745, 0.009488388, 0.0099057509, 0.0135713648, 0.0422626324, 0.0221266542, 0.0243105199, -0.0392302796, -0.0011838905, -0.0299028829, 0.0136043858, -4.427415718e-33, 0.0121765817, 0.0212585926, -0.005696713, 0.0042278757, -0.0130881919, 0.036788445, 0.0385029726, 0.0148938578, 0.0117459809, 0.0404728241, 0.0442482792, -0.0107928002, 0.0054015499, -0.0048071528, -0.008381593, -0.0373719744, 0.0390361547, -0.0029148592, -0.0078152446, 0.0193080641, 0.0768436044, 0.0308555309, 0.0388386063, -0.1232140064, -0.010587276, 0.0491205938, -0.0311326403, -0.0347337648, 0.0010430806, 0.0917831287, -0.0168823674, 0.0882118717, -0.0159477517, -0.0068000131, -0.0076071066, 0.0602232739, -0.042153053, 0.0241265632, -0.0071141827, 0.0031429059, -0.0351321325, 0.0124995708, 0.0356264226, 0.0146155804, -0.0193177816, -0.0249384511, 0.0472547114, -0.0259123016, 0.0073790872, -0.0494981334, -0.0608848296, 0.0004875012, -0.0264430884, -0.039139837, 0.0514598005, 0.0367470086, 0.0372021012, 0.0512642115, -0.0299189948, -0.00104645, -0.0906276032, 0.0021528162, 0.0173723567, -0.0084019639, -0.0308456346, 0.0599720627, 0.0017138447, -0.0373821408, 0.013584529, -0.0108388262, -0.0018671732, 0.025585236, 0.0322029479, 0.0684259757, -0.0030226056, -0.0374037847, -0.0745223463, 0.0301561691, -0.0205478333, -0.0007419754, -0.0053164163, 0.0185462367, -0.0501283817, -0.0164906029, -0.0525933057, -0.0070622815, -0.0071565444, -0.0078289071, 0.0340214893, -0.0264836401, 0.0059399568, 0.0153609309, -0.0094987229, -0.0422145203, 0.0277469922, 0.0151238637, 0.0275622886, -0.017421877, -0.0079859989, 0.0108564803, -0.029925188, -0.0072668632, 0.0495496877, -0.0157777797, 0.0462236367, -0.0642111525, 0.0933947191, 0.0271767825, -0.0641604066, -0.0084409891, 0.001810772, 0.0037886016, 0.0182344466, 0.060948953, 0.0054389848, 0.0346188955, -0.0006435495, 0.0006975557, 0.0372147113, 0.0388713144, 0.0084739067, -0.0687462613, -0.0375286192, 0.0062295538, -0.0151975118, -0.0072451793, -0.0091333361, -0.0292947367, 0.0520689264, -0.0907226875, 0.0051370137, -0.0198662374, 2.295e-7, 0.0393237993, -0.0066016959, 0.0176941082, -0.0219320375, 0.0131999934, 0.0530496016, -0.0014162889, 0.0639017969, -0.023291273, -0.026563121, 0.0154767474, -0.0377415121, 0.0931065232, 0.0875254869, -0.0671871081, -0.0019942904, -0.0962536037, -0.0003118296, -0.0535449125, 0.0357414931, 0.0495174117, 0.1207088605, 0.012472311, -0.0554179214, 0.0507109053, -0.0104603302, 0.0239283442, -0.0417028219, -0.0210954603, -0.0538799502, -0.0235824361, -0.0273823738, 0.0064864988, 0.0010635908, -0.0449143462, 0.0107908072, 0.0482462756, 0.0113309128, -0.022287596, -0.0942793787, -0.0273805298, 0.0157500207, -0.0236292351, 0.0357844718, 0.0450448021, 0.0075483108, -0.0344286896, -0.045111496, -0.0057578902, -0.0001567228, 0.0919663459, -0.0400438905, -0.0366091952, -0.0176323336, 0.0167085174, -0.000562208, -0.0319390744, -0.0693948716, -0.0230307505, 0.0298612863, -0.0240852851, -0.0473839492, 0.0073975143, 0.0071344324, 0.0038381722, -0.0485774018, 0.009400472, 1.484508398e-34, 0.0093236202, -0.0593636967, 0.0148665337, -0.0472910814, 0.0149496775, 0.0063228402, 0.0297995862, -0.0307242293, 0.0007603848, -0.0485544391, 0.0041012052 ]
http://arxiv.org/abs/2406.10221v1
http://arxiv.org/pdf/2406.10221v1
Short Film Dataset (SFD): A Benchmark for Story-Level Video Understanding
2024-06-14T17:54:54
2024-06-14T17:54:54
Ridouane Ghermi, Xi Wang, Vicky Kalogeiton, Ivan Laptev
cs.CV
cs.CV, cs.AI, cs.CL
Recent advances in vision-language models have significantly propelled video understanding. Existing datasets and tasks, however, have notable limitations. Most datasets are confined to short videos with limited events and narrow narratives. For example, datasets with instructional and egocentric videos often document the activities of one person in a single scene. Although some movie datasets offer richer content, they are often limited to short-term tasks, lack publicly available videos and frequently encounter data leakage given the use of movie forums and other resources in LLM training. To address the above limitations, we propose the Short Film Dataset (SFD) with 1,078 publicly available amateur movies, a wide variety of genres and minimal data leakage issues. SFD offers long-term story-oriented video tasks in the form of multiple-choice and open-ended question answering. Our extensive experiments emphasize the need for long-term reasoning to solve SFD tasks. Notably, we find strong signals in movie transcripts leading to the on-par performance of people and LLMs. We also show significantly lower performance of current models compared to people when using vision data alone.
[ 0.0231944881, 0.0516899936, 0.0108151119, 0.0737703815, -0.0054454361, 0.0119539639, 0.0095411595, -0.0079331649, -0.0008593033, -0.0451426096, -0.0083409306, -0.0516491234, -0.0109931231, 0.0283608977, 0.0049800966, -0.0406904928, 0.0295360796, -0.0112416027, 0.0297593083, 0.013391275, 0.0084893387, 0.0264905598, -0.0132643376, -0.0011055432, -0.0193861444, -0.0177335031, -0.000774114, -0.0044207969, 0.0719110891, -0.039454937, -0.0029564691, 0.0108396662, 0.0898157358, -0.0461728498, 0.0000015303, -0.0456735566, 0.0368241854, -0.0500720739, -0.0304383021, -0.00570512, -0.0238645561, -0.0021760699, 0.0280645303, -0.0043201819, -0.0445906483, 0.0133442301, -0.0020246997, -0.0016693954, 0.0587620214, 0.0563119613, -0.0304286275, -0.0459038988, -0.0067450465, -0.0247473661, 0.0592066236, -0.022774145, 0.0075412355, -0.0140375346, 0.0479029454, -0.0032906882, -0.0707128197, 0.0207457375, 0.0331857689, -0.0062375972, 0.0084262332, 0.0304602087, -0.0548988692, -0.0057176044, 0.0047958964, 0.0919608846, 0.0437806696, 0.0208531599, -0.0186300855, 0.019446563, 0.0024343042, -0.0232765302, -0.0744935572, 0.0440443456, 0.0033978699, 0.0057867938, -0.0204334427, 0.0091333231, 0.0215936918, -0.0039628446, 0.0564384572, 0.0031526003, 0.0072665992, 0.0219510999, -0.0285075605, -0.0256489404, 0.0162808206, -0.0359920375, -0.018463295, 0.0434763059, 0.0338795409, 0.0127539597, -0.042434141, 0.0452076383, -0.028320387, -0.0625670254, 0.0157016627, 0.0146255465, -0.0354568213, 0.0819325149, -0.0153335202, 0.0369396284, -0.004132018, 0.0324376076, 0.007356294, 0.0003283776, -0.0725338832, 0.0036272558, -0.0219656806, 0.022778783, -0.0201356392, -0.008182724, -0.0130057856, 0.0123623684, -0.0370936207, -0.0055950661, -0.0186123755, 0.0611339882, 0.027044937, -0.0148263676, -0.0598366223, 0.0349582694, -0.0517007448, 0.0516941659, -0.0277849957, -0.0414963774, -0.0320495106, 0.0039360048, 0.0028129735, -0.0296800267, 0.0474599041, 0.0388538204, -0.0312026255, -0.0611986034, -0.0482921265, 0.0034821797, -0.013518543, -0.0436054058, 0.000085232, -0.068466492, 0.076426357, -0.0100133903, -0.0059773126, -0.0297783408, 0.0149518251, -0.0126244454, -0.0424706861, 0.0754122362, 0.0110510737, 0.0035716291, -0.0087171756, 0.0438361503, 0.0225405283, 0.0549918674, 0.033463411, 0.0246346816, 0.030786626, 0.0346309021, 0.0434554778, 0.0338394716, -0.0235893652, 0.0376781039, -0.0644413829, 0.0249403678, -0.0197876897, 0.0619174317, 0.0395748727, 0.0153486477, -0.0083686551, -0.0749095976, 0.0689828172, 0.0629798174, -0.0153653091, -0.0492659435, 0.044033099, -0.001321636, 0.0172317512, -0.0017426853, -0.0393227935, 0.0665395483, 0.0367303081, -0.0260356441, -0.026986029, -0.0009670901, -0.0790892616, -0.0089469608, -0.0302276742, -0.0112836175, -0.0093397042, 0.0304383188, 0.0333223417, -0.0058473437, -0.03055159, 0.0517204553, -0.0009894039, -0.0309597086, 0.0554250889, -0.0137868728, 0.035478346, 0.1049275026, 0.0037513752, -0.0207879059, -0.0594673306, -0.0060981251, 0.0687198713, 0.0019851793, 0.0098376796, -0.0468598455, 0.061046578, -0.0510226563, -0.0100590205, -0.017690612, 0.0008165545, 0.0313412473, -0.0136020686, -0.0072675613, -0.0164127797, -0.040027298, -0.0363022052, 0.0343293473, -0.0013186522, -0.021215789, -0.0318213478, 0.0036083485, 0.0011647562, 0.0244697146, -0.0184304267, -0.0565236174, 0.0454974473, -0.0146527644, 0.0208806489, 0.0273021907, -0.0287183858, -0.0460044555, 0.0379151292, -0.0755859688, -0.0252756011, 0.0511883944, -0.0386365876, -0.029127365, -0.0046003438, -0.0293192212, -0.0193991978, -0.0422912836, -0.0110633122, 0.044301156, -0.0078698117, -0.0203008018, 0.027891947, -0.005377843, -0.0147845466, 0.0057120337, 0.0259308498, 0.0381473675, -0.0635153875, -0.005333439, 0.003002841, 0.0142640881, -0.0146329906, 0.012943578, -0.0254785493, -0.0578096211, -0.007964883, -0.0688363165, 0.0171683133, -0.0084728431, 0.0078044925, -0.0186856985, -0.0201805942, -0.0237486102, -0.0514299721, -0.0255568568, -0.0028318097, 0.013001007, -0.0026185182, 0.0181676466, 0.0496405102, -0.0018048517, 0.0072869752, 0.0040342403, -0.006514465, 0.0387279503, 0.0129643735, -0.0081155449, 0.0039985827, 0.0009193679, -0.0204291586, 0.047365915, -0.0631883219, -0.0187730454, 0.0174374171, -0.0036430247, -0.001614005, 0.0581464246, 0.0164190009, 0.0196924973, 0.0191123858, -0.0122725014, -0.0146910036, 0.0275321156, 0.0201011207, -0.0238727424, -0.0786979422, -0.0414890386, -0.0412994362, 0.0004703137, -0.0046794312, 0.0404610708, -0.0733408034, 0.0202793516, 0.0471414141, -0.0050022756, -0.0205726735, -0.004198024, -0.0135011747, 0.0371211767, -0.0274022967, -0.0229133088, 0.0677048936, -0.0402447768, -0.0453802496, 0.0178234987, -0.0110930167, -0.0504429936, 0.0947013497, 0.0023973335, 0.017357355, -0.042984698, -0.0298178811, -0.0781393573, -0.0132631743, 0.0184848309, 0.0096433535, 0.0606222674, -0.0535419099, 0.0061700828, -0.0161039978, -0.0093020946, -0.0376846902, -0.0556909256, -0.0308863781, -0.0235431343, -0.0659710616, -0.00275343, -0.0087396437, 0.0013448775, 0.0277367793, 0.0139216781, -0.0258414801, 0.0112287002, 0.0176047832, 0.0359768718, 0.0762936473, 0.0115128737, -0.0328706391, -0.0407302678, 0.0578485951, 0.0559649616, 0.0187483672, -0.0289056245, -0.0352987312, 0.050337337, 0.022018658, 0.0181864724, -0.0178941768, 0.0147349918, 0.0700598955, -0.0682670996, 0.0098581519, 0.0921295285, 0.0132675376, -0.0505873002, -0.005695696, 0.0108691333, -0.0255527738, 0.0540689081, -0.0014331867, -0.0909165367, -0.0448867865, -0.0191790815, 0.0299964622, 0.0121700484, -0.0353936628, -0.0405409783, -0.0823820755, 0.0709801093, 0.0183120836, -0.008064053, -0.008870244, -0.0115079442, -0.0029298293, -0.017223129, -0.007393769, 0.0021465351, -0.024149755, 0.0008662423, -0.0029000798, -0.0072447513, -0.0337167941, 0.0860922933, -0.0457862914, 0.0484622084, -0.0146346437, 0.009024852, -0.0231657661, -0.0370640345, -0.000103025, -0.0024670297, 0.0262242537, 0.0026157633, 0.0693266988, -0.0666695535, -0.0312639587, 0.0061775721, 0.0668667182, 0.0024220068, -0.0620296523, 0.018708799, 0.0612953492, -0.0431071334, 0.0148297381, -0.0212364271, 0.0061589121, -0.017466994, 0.0800688788, 0.0023314001, -0.0214134343, -0.0109062102, 0.0095563233, -0.0650634021, -0.0438700691, -0.012508953, -0.0012945875, 0.0028743523, 0.0214994829, -0.0098114889, -0.047216475, 0.0769325346, 0.048569303, -0.0255613141, 0.010287622, -0.027457457, 0.0452734903, -0.0789393932, 0.1009577289, -0.0266903192, 0.0065108496, -0.0323980674, -0.0024450666, 0.0272884741, -0.0328734554, 0.0088920845, 0.0178457703, -0.0776005685, -0.0568755604, -0.0079563819, 0.0488569513, 0.0247928966, 0.0954542905, 0.0420847274, -0.0513372757, 0.0035633482, -0.0026987507, -0.0039366884, 0.04911438, -0.0077166478, -0.0157581065, -0.0193205643, 0.0281208809, -0.0451439321, 0.0001046294, -0.0196862668, -0.0027462584, -0.0592600964, -0.008413705, -0.0048087682, -0.0262996349, 0.0385507382, -0.0221542213, -0.0086236373, -0.0420931578, 0.0108806826, 0.0094736889, 0.0320655592, -0.0479789078, -0.0047371699, 0.0569172688, -0.029953206, -0.0297057312, -0.0010363088, -0.0523413941, -0.0074297166, -0.0493283793, -0.0012582282, 0.0137832398, -0.0401080437, 0.0198344421, 0.0397759378, 0.0058005471, 0.0326160192, -0.0262149964, 0.0446539521, 0.0478917435, 0.0433351509, 0.0300013982, 0.0057655182, 0.0053921915, 0.0170268975, -0.0537642986, -0.0453945771, 0.0068147341, 0.0465029553, 0.0245215148, -0.0362265892, -0.0409785509, 0.0014173917, 0.0119312964, -0.0144799538, 0.0314974412, -0.0084925462, -0.047838416, 0.06529513, 0.0395665132, -0.0204190928, 0.0239602309, 0.0830120668, 0.0375428721, 0.0328233391, 0.0123649025, 0.0049661282, -0.0057055871, -0.0323111042, 0.0401575938, 0.0276923068, -0.0090630883, 0.032006897, -0.0382173061, -0.0551798604, -0.0180496126, -0.0091110505, 0.0064584389, -0.0052314675, 0.02380527, 0.0316570289, 0.0154510206, -0.016670065, -0.0016624455, -0.0306447055, -0.0236849822, -0.0276832413, 0.0039090794, -4.811308296e-33, -0.0216728374, -0.0133514917, 0.0289703552, 0.0322808065, -0.0417434834, 0.0198302511, -0.0132283466, 0.0230131652, -0.0313340537, 0.0253213514, 0.0099954978, 0.051736135, 0.0120194471, 0.0246368386, 0.002509942, -0.0856593102, 0.016582137, -0.0194328427, -0.019010732, -0.0022301516, 0.0410685018, 0.056523405, 0.0759302303, -0.0491870046, -0.00749395, -0.0304446425, -0.02962544, 0.0449713469, 0.0193452686, 0.0638802946, 0.0154711874, -0.0143014928, 0.0376375839, -0.0312993415, -0.0166633427, -0.006122055, -0.0687068924, 0.0154847903, 0.0462592468, 0.0315945596, -0.0637525842, -0.0134787159, 0.0309893303, -0.0022314901, 0.0276314486, -0.0518576801, 0.0493287593, -0.0469073653, 0.0564431846, 0.023637211, 0.0011319295, -0.0175458882, -0.0185078159, -0.0581581742, 0.0383378342, -0.0032660034, -0.0141948452, 0.011200265, -0.0419624075, -0.0061092437, -0.0501110367, 0.0382351354, 0.0708292052, 0.0162072107, -0.0406732447, 0.0531115755, 0.0336672887, -0.0628050119, -0.0374042653, -0.0440411307, 0.0098100817, 0.0593037419, 0.0227772258, 0.0423078947, 0.0284243915, 0.0145016536, -0.0694089159, 0.0258758496, -0.032298509, 0.0666080937, -0.0265541654, 0.0188018214, 0.0266237631, -0.0051499591, -0.0387719944, -0.0011239147, -0.0014416951, 0.0020573277, 0.0222316645, -0.0015783284, 0.0315588526, 0.0007185559, 0.0735068917, -0.0442999564, 0.0429032482, 0.0452583842, -0.0254678819, 0.0406839699, 0.0366427861, 0.0459959917, -0.0451775566, 0.0504089445, 0.046748478, 0.0123722721, 0.0230744183, -0.009494558, 0.0137182977, 0.0479436964, -0.0133333346, -0.0132187475, -0.0244448371, 0.0002687228, -0.0267641749, 0.0361238047, -0.0057586771, 0.0468264222, -0.0510886647, 0.0739750341, -0.0467653237, -0.0171843991, 0.0033574712, -0.0277601182, 0.0051724231, 0.0314203054, -0.0286139008, 0.0155406771, -0.0190853197, -0.0184673667, 0.0189212635, -0.0610183962, 0.0069594486, 0.0572244264, 2.353e-7, -0.0047133709, -0.0316627622, 0.0273399353, 0.0208686553, 0.0115497299, 0.0385605879, -0.0129419584, 0.0617195331, 0.0118093174, -0.0526284091, 0.0154121984, 0.0924172103, 0.0354657769, 0.0052509899, -0.0483870357, 0.0111490609, -0.0271831974, -0.042449683, -0.0633694902, -0.0136347022, 0.0292588044, 0.07677944, 0.0494917482, -0.0017603937, 0.0138486894, -0.0663848743, 0.0706236959, -0.0206690487, -0.040398553, 0.0054826755, 0.0210196134, -0.0180254746, -0.0301537476, 0.0080691408, -0.0149337817, -0.0196165182, 0.0116189439, 0.0499601737, -0.0540500209, -0.0583417267, -0.0425071865, 0.0266372915, -0.0337216556, 0.0026187005, 0.0810407847, -0.0093387198, -0.0358076021, -0.0087957121, -0.017125966, 0.0022922442, -0.0382907018, 0.0185863841, 0.0125479577, 0.0125400685, 0.0277180038, -0.0424937792, -0.0230025277, -0.1424068511, 0.012570302, -0.0108259553, -0.0480580889, -0.0103562148, 0.0080611426, 0.0064939191, 0.0453811213, -0.032852713, -0.0585871711, 1.378309715e-34, -0.0001866759, 0.0166995078, -0.009646304, -0.0086601358, -0.0071514426, -0.0099281948, -0.025914073, -0.0012469226, 0.0008884548, -0.0455864146, -0.0086956788 ]
http://arxiv.org/abs/2406.10216v1
http://arxiv.org/pdf/2406.10216v1
Regularizing Hidden States Enables Learning Generalizable Reward Model for LLMs
2024-06-14T17:49:59
2024-06-14T17:49:59
Rui Yang, Ruomeng Ding, Yong Lin, Huan Zhang, Tong Zhang
cs.CL
cs.CL, cs.AI
Reward models trained on human preference data have been proven to be effective for aligning Large Language Models (LLMs) with human intent within the reinforcement learning from human feedback (RLHF) framework. However, the generalization capabilities of current reward models to unseen prompts and responses are limited. This limitation can lead to an unexpected phenomenon known as reward over-optimization, where excessive optimization of rewards results in a decline in actual performance. While previous research has advocated for constraining policy optimization, our study proposes a novel approach to enhance the reward model's generalization ability against distribution shifts by regularizing the hidden states. Specifically, we retain the base model's language model head and incorporate a suite of text-generation losses to preserve the hidden states' text generation capabilities, while concurrently learning a reward head behind the same hidden states. Our experimental results demonstrate that the introduced regularization technique markedly improves the accuracy of learned reward models across a variety of out-of-distribution (OOD) tasks and effectively alleviate the over-optimization issue in RLHF, offering a more reliable and robust preference learning paradigm.
[ 0.0504318178, 0.0692732409, 0.0040406971, 0.0101286396, 0.0040167854, 0.0101758521, -0.0476399437, 0.0352994017, -0.0253301021, 0.0011492175, -0.0541297123, -0.0238681547, -0.0033075884, -0.0203873236, 0.0216422994, -0.07453724, 0.0454847291, -0.0361520797, 0.0146021107, -0.0132338759, 0.0204862822, -0.0156526305, 0.0238301754, 0.0435832404, 0.0157329645, 0.0287563317, -0.0093079582, 0.0164223425, 0.0600918271, -0.042696286, 0.0119359056, 0.0150183747, 0.0606611297, 0.0171231814, 0.0000021729, -0.0433090292, -0.0143635804, -0.0208375361, 0.0023874957, -0.030006744, 0.0303027239, 0.0071545909, -0.0024983066, 0.0288173389, -0.0014060807, 0.0392882712, 0.0642104596, 0.0476463437, 0.0267117508, 0.0731395259, 0.0132393045, -0.0115137072, -0.0158182755, -0.0509615391, 0.0627062321, -0.0422478914, 0.0248906873, -0.0371015705, 0.004315489, -0.0228825044, -0.0360155068, -0.0201050099, 0.0126264412, 0.0058052829, 0.0004102464, 0.0488849282, 0.0607950091, 0.0115807755, -0.0337058306, 0.0727604628, -0.0384209715, 0.0017074578, 0.0350745581, -0.0330934785, -0.0035383787, 0.025828762, -0.0151454955, 0.0299586374, 0.0087860208, 0.0409255549, -0.0011511088, -0.0013464669, 0.0402462929, 0.0412283689, -0.0169594623, 0.0871980637, -0.0151145663, -0.0403280891, 0.014447622, 0.0095730824, -0.0426821336, -0.0445689894, 0.0226461999, 0.0468400791, -0.0433992408, 0.033874318, -0.0258115139, 0.0048877932, 0.0144067332, -0.0124324765, 0.0592020974, 0.0513567477, -0.0237136148, 0.0150673725, -0.004284936, 0.0652528703, -0.0133157363, 0.0490707904, -0.0338361003, 0.0454699099, -0.0298344567, -0.0085912878, -0.0007816803, 0.0601707771, -0.0143200289, -0.0124950372, -0.0571386851, 0.0172605794, -0.0334948301, 0.0313267037, 0.0198070072, 0.0492665395, -0.0762434155, -0.0222811569, -0.0614827387, 0.0216777325, -0.0123907169, 0.024478415, 0.0591685176, 0.056510333, -0.0095791165, 0.0073659937, 0.0074277543, -0.0168783758, 0.0015240338, 0.0709760785, -0.0094928164, -0.0207743272, -0.0105669769, -0.0041263415, -0.0290184617, -0.0494986996, -0.0218447931, -0.0361819975, 0.0134118786, -0.040262498, -0.017710451, -0.0480809882, 0.0210002903, -0.0000272864, -0.0231474992, 0.0181988124, 0.0164944846, -0.0175506007, 0.0232002251, -0.0101382127, -0.0096345181, 0.0336833522, 0.0520524941, 0.0768157095, -0.0145159764, 0.0254609939, 0.0060590995, 0.0477382764, 0.0436185487, 0.0525080934, -0.0535508767, -0.0232089907, 0.0188928712, 0.0520613715, 0.0907995701, 0.046017684, -0.0489621051, 0.0028789917, 0.0787581205, 0.0480429828, -0.0009105614, -0.0529472753, 0.0194584299, 0.0445139855, -0.0140236234, 0.0108743589, -0.0213368181, 0.0134872012, -0.0217433684, -0.014512307, 0.0226711929, -0.0125029944, -0.0321589559, -0.0400822312, 0.0149571868, -0.0525671877, 0.0483382791, 0.0596827678, 0.063793309, -0.0063334019, -0.053760808, -0.0092261452, 0.0594945662, -0.0273113195, 0.0538192205, -0.0647303984, 0.0553041585, 0.0949647501, 0.0329541676, -0.0334705822, 0.0309914332, -0.036187008, -0.062518388, 0.0645928085, 0.0074548014, -0.0296692941, 0.0145290792, -0.0371010378, -0.0430525988, 0.0262911711, 0.0099252816, 0.0403774753, 0.0070641041, -0.0250384696, 0.0135422694, -0.0029756606, -0.0331790149, 0.0282670595, -0.006383921, -0.030011937, 0.0499268323, -0.0052626613, 0.0159904212, -0.0085169682, 0.0124584306, 0.0085913688, 0.003685029, -0.0159947705, -0.0219328683, -0.0238488689, -0.0845631063, -0.0357236713, 0.009347477, 0.0114492811, 0.0500484332, 0.0659004301, -0.0099155018, -0.0445310175, -0.0030263017, -0.0362965912, 0.0625505, -0.0215037987, 0.029646311, 0.0136235459, -0.0355424285, -0.0825579986, 0.0346591286, -0.0502374507, -0.0134165864, -0.0239088591, -0.0146542508, -0.0247064829, -0.0824712515, -0.0084297005, 0.0182799585, -0.0105235828, 0.0487166196, 0.0517206639, 0.0274491813, -0.0242821593, -0.0249699149, -0.0338834263, -0.0096371537, -0.0148911802, -0.0027613132, 0.0106926803, 0.0062053921, 0.001757439, -0.0188631117, -0.0450243168, -0.0154990572, 0.0281344298, -0.019621186, 0.0254553258, 0.0428610705, 0.0018448584, -0.0635115802, -0.0056035132, 0.018062925, -0.0040151351, -0.039279364, 0.0269217175, -0.0736140087, 0.0541596524, -0.0289119929, 0.0302108582, -0.0276742615, -0.0081983041, 0.0193808563, -0.0050768801, 0.0381189846, 0.0831810609, 0.0314022973, 0.026759766, 0.0557814501, 0.0502706505, -0.1014650315, 0.009257148, -0.0633663759, -0.0444263257, -0.0568267517, -0.0047454624, 0.0323137604, 0.0761388987, 0.0245261416, 0.033557307, -0.0693826377, -0.0070013953, -0.0225655716, -0.0609751008, -0.0588433556, -0.0058109267, -0.0700075477, 0.0192435049, -0.0303805899, -0.0688214749, 0.0603070296, 0.0024972057, 0.0304033551, -0.0342606455, -0.0219000056, -0.0169325676, -0.0006536, 0.0011681527, 0.0331646428, -0.0171659794, -0.034324497, -0.0499502011, -0.0541874282, 0.002336791, -0.0172961541, 0.0349421725, -0.023181485, 0.0005847916, 0.0011539171, -0.0669867694, -0.0604063198, -0.0382552929, -0.0021363895, -0.0115229078, 0.013674764, -0.0305006225, -0.00729432, -0.0255069286, 0.0647459775, 0.0368604697, -0.0212558471, -0.0005932448, -0.0249881744, 0.0137614775, 0.0869550109, -0.0072832042, -0.014340478, -0.061321158, -0.0252230354, 0.0285557508, 0.047239732, -0.0214963723, 0.0271750875, 0.0025866164, 0.0646884143, -0.0316598639, -0.0062133437, 0.0691847205, 0.0447838418, -0.0419282019, -0.0087533789, 0.0762499273, 0.0416679233, -0.0905668959, 0.0236939471, -0.0307966303, 0.064563483, 0.0008427196, 0.0276974309, -0.0681266785, -0.0157072749, 0.0045121466, 0.0430194773, -0.0176978633, -0.00874166, 0.0123107051, -0.0969586596, -0.0296219252, 0.005425815, -0.0462097675, 0.0171743762, -0.0230727009, 0.0037021795, 0.0082549434, 0.0215618555, 0.0171864647, 0.0089074029, -0.0258510988, 0.0430086814, 0.012056808, -0.0367854834, 0.0053395522, -0.0321803242, 0.0274977237, 0.1307344884, 0.026122503, -0.0132377381, -0.0454194956, 0.0016635194, 0.0448162779, 0.0076960977, -0.0137956962, 0.0044615502, -0.0247338992, 0.0089998813, -0.0228376091, 0.0481952354, 0.0190048702, -0.0186411384, -0.0060374271, 0.0456637517, -0.0263157357, -0.0239869934, 0.0122537045, -0.0169632211, 0.0521173067, 0.0499925688, -0.0215919651, -0.0945013463, -0.0328824855, -0.0329395756, -0.0457820594, -0.0574315265, -0.0219803099, -0.0008441038, 0.0211867671, -0.0132796401, -0.0784337744, -0.0187509786, -0.0180518143, 0.0133873783, 0.006381385, 0.0066182008, -0.0037157745, -0.006651877, -0.0105945952, 0.0145748425, -0.0521277115, 0.025925396, -0.0501790866, -0.0479629748, -0.0087901289, -0.0605365969, -0.0159364827, -0.0178179424, -0.0533818454, -0.0730513856, -0.0215743538, 0.0776605755, 0.0167137012, 0.0461873226, 0.0207192488, -0.0647069365, 0.0735779107, 0.0277072974, -0.0290291775, 0.0193282589, 0.0279313922, 0.0446685478, -0.0147984, 0.0170193426, -0.0418372639, 0.0029161631, 0.0478639826, 0.0409988388, -0.0050798366, -0.003823685, 0.0305428356, -0.0239500124, 0.0116003966, -0.0522701703, -0.008326482, -0.0235056877, -0.0206829198, -0.0014905034, 0.0042670886, -0.0306535326, -0.0215554386, 0.0617140383, -0.0044726455, 0.0113218594, -0.0405334271, 0.002623915, 0.0063908002, -0.027551027, 0.0061980798, 0.0112329721, 0.0293606501, 0.0390676931, 0.0359909534, 0.0026351344, 0.0143853156, -0.0088144466, 0.0286332853, 0.0287301391, 0.0521623306, 0.0320316143, -0.0068723089, -0.0323481336, 0.0075267125, -0.0344103053, -0.0393041894, -0.0357805267, -0.000705376, 0.0549576618, 0.0244500097, 0.0201967005, -0.0212735571, 0.0008878509, -0.0078517357, 0.0181139521, -0.0533367842, -0.0325790606, 0.036326468, 0.010323951, -0.0087080002, 0.0082635293, 0.0876457393, 0.0559889935, 0.0449026749, -0.0522952266, 0.030971311, -0.0393964536, 0.0069316574, 0.0475017168, 0.0572601557, -0.0300496556, 0.001962987, -0.0342332721, -0.0487404354, -0.0198566876, 0.0349169411, 0.0213611294, -0.0338497534, 0.0665963143, 0.0030638541, -0.0593776256, -0.0183920562, -0.0706927776, -0.0350433476, -0.0042785662, -0.0269501153, -0.0320419148, -6.438969406e-33, -0.0141254794, -0.0242968779, 0.0247168969, -0.0146600297, -0.0397318304, -0.0340408646, -0.0270771477, 0.0139957592, 0.0350203738, -0.0231562816, -0.0267977156, -0.0204670224, 0.0060143443, 0.0219757333, 0.0104167396, -0.0163132232, 0.0453558788, -0.0133222826, -0.0563711971, 0.0239521321, 0.0412036292, 0.0242008921, 0.0651030988, -0.0413706154, 0.0397364125, 0.0386277847, -0.0379746519, 0.0126285488, 0.0131639885, 0.0285387393, -0.0242220797, 0.0221764129, -0.0042466451, -0.0548363589, -0.0199426152, 0.0252647251, -0.0242507607, 0.0070370687, 0.0193530284, -0.0385808237, -0.0408323146, -0.0490047522, 0.0346769281, -0.0063653486, -0.0348481797, 0.0334807001, 0.0215932429, -0.0071784016, -0.0482662916, 0.0006012779, -0.0553329252, 0.0038535071, 0.0142711047, 0.0004093017, -0.0234822631, 0.0418533944, -0.0439818278, 0.0414897762, -0.0210645888, 0.0438091904, 0.0254052859, 0.0128307296, 0.0535973348, 0.0603507198, 0.0150246583, 0.050213702, 0.0039388346, 0.001214973, -0.0237385798, -0.0229611769, 0.0364497453, 0.0254772417, 0.0115755517, 0.0217407029, 0.0295436475, -0.0466673523, -0.0217903368, 0.0424101949, 0.002992511, -0.0021229442, 0.0417360775, 0.0474003665, -0.0370279588, -0.0425380766, -0.0455558822, 0.010650523, -0.0032831591, -0.044045303, 0.0419633165, 0.0557766967, -0.0045722621, -0.0322835892, 0.0264069047, -0.0311894659, -0.0018618723, 0.0055049383, -0.0224227533, -0.0038153534, 0.0020221334, -0.0382422842, -0.1231937781, -0.0350396559, -0.0001381954, -0.020885922, -0.0224703997, 0.0433489345, 0.021283675, 0.0190948956, -0.0354220979, 0.0199423078, -0.0311662313, 0.0050108568, 0.0068768905, 0.008041732, 0.0445673726, -0.0127381021, -0.0142866885, 0.0508437827, -0.0181484986, -0.0649278313, -0.0304264724, -0.0091953045, -0.0190433152, 0.0390044264, -0.028910771, 0.0151257468, -0.0196528789, 0.0122749945, 0.030017335, -0.0358029082, -0.009570702, -0.0188096054, 2.864e-7, -0.0139919585, 0.0256599188, -0.0147193512, 0.0024305007, -0.0165350586, 0.0510592163, -0.0109954355, 0.0175297353, 0.0047637504, 0.0152962627, 0.0395970866, 0.0315970108, 0.0331960134, -0.0261622686, -0.0775705799, -0.0068817255, -0.0503408909, 0.0096502136, -0.0178374816, -0.0280769467, -0.0128156589, 0.0716637895, 0.0240212623, -0.025633337, 0.0413585603, 0.0210145004, 0.0807336941, -0.0542770065, -0.0039889445, -0.0222025663, 0.0041629244, -0.013089993, -0.0059240833, -0.0369860679, 0.0004178, 0.0270784944, -0.0114855338, 0.0771040395, -0.0162157975, -0.0529641919, -0.0287189651, 0.033823479, 0.0184803084, -0.0519971326, 0.0192512143, -0.0567790717, -0.0000263234, -0.003050253, 0.0360601693, -0.0159618799, -0.0081260009, -0.041837208, -0.0079540405, -0.0055924659, 0.0020716232, 0.043292705, 0.0249493513, -0.0664482638, -0.0170291867, 0.0298829246, -0.0505696945, -0.0558248125, -0.0585340112, 0.0576652251, -0.0424232297, -0.0669226348, -0.0049377894, 2.473989721e-34, -0.0060575269, -0.0271556657, 0.0007937414, -0.0202271324, 0.016977014, 0.0298498087, -0.0042555919, 0.0150834201, 0.0815602466, -0.0357374176, -0.0131377261 ]
http://arxiv.org/abs/2406.10215v1
http://arxiv.org/pdf/2406.10215v1
DevBench: A multimodal developmental benchmark for language learning
2024-06-14T17:49:41
2024-06-14T17:49:41
Alvin Wei Ming Tan, Sunny Yu, Bria Long, Wanjing Anya Ma, Tonya Murray, Rebecca D. Silverman, Jason D. Yeatman, Michael C. Frank
cs.CL
cs.CL, cs.LG
How (dis)similar are the learning trajectories of vision-language models and children? Recent modeling work has attempted to understand the gap between models' and humans' data efficiency by constructing models trained on less data, especially multimodal naturalistic data. However, such models are often evaluated on adult-level benchmarks, with limited breadth in language abilities tested, and without direct comparison to behavioral data. We introduce DevBench, a multimodal benchmark comprising seven language evaluation tasks spanning the domains of lexical, syntactic, and semantic ability, with behavioral data from both children and adults. We evaluate a set of vision-language models on these tasks, comparing models and humans not only on accuracy but on their response patterns. Across tasks, models exhibit variation in their closeness to human response patterns, and models that perform better on a task also more closely resemble human behavioral responses. We also examine the developmental trajectory of OpenCLIP over training, finding that greater training results in closer approximations to adult response patterns. DevBench thus provides a benchmark for comparing models to human language development. These comparisons highlight ways in which model and human language learning processes diverge, providing insight into entry points for improving language models.
[ 0.0094499039, 0.0932458565, -0.0378916152, 0.0311609246, -0.0315033123, 0.0016381067, 0.0011352793, 0.0121263741, -0.0267800912, -0.0363599695, -0.0539428219, -0.0559187457, 0.0085229473, 0.0386359654, 0.0187858958, -0.0773584321, 0.0385084376, -0.0447482467, -0.0248629805, 0.0065618083, -0.0231641177, -0.0260127205, -0.0368524827, 0.0443961769, -0.018930139, -0.0207748916, 0.0177082401, -0.0223519392, -0.0499305725, 0.0042890734, -0.0061012325, 0.0446419194, 0.0419027209, 0.0242423601, 0.0000018045, -0.0493914746, 0.0718572363, -0.0336398929, 0.0131481746, 0.0011321502, 0.0859282538, -0.0128903072, 0.002358051, 0.0024305303, -0.026778698, -0.0535623245, 0.0516678989, -0.0078583043, 0.0017941456, -0.0044588866, -0.0087153642, 0.0166224316, 0.0276586358, 0.0066344724, 0.0047633923, 0.0073130075, -0.0199081823, 0.0255131423, 0.0205684416, -0.0448399968, -0.0584641732, 0.0200896654, 0.027102422, 0.0171776544, 0.0277381279, 0.0494219661, 0.0181582626, -0.0799352452, -0.04148148, 0.0500910915, -0.0095881065, -0.0244401339, -0.0264459867, 0.0081354091, 0.003569965, 0.0380693078, -0.049100738, 0.0667535812, 0.0284410585, 0.0132486802, -0.0347131193, -0.0399716906, 0.0190229192, 0.0166488886, 0.0518516935, 0.0391619653, 0.0133786555, 0.0052150926, 0.0501654744, 0.0074477387, 0.0090755001, -0.0332510583, -0.0301052649, -0.0162682012, 0.0069102128, 0.0085906191, -0.06245251, -0.0081995996, 0.0038462821, -0.0067262026, 0.0826929957, 0.0276954789, -0.0624233112, 0.0055618933, -0.0421378687, 0.0672754049, -0.0036258718, 0.0496872216, -0.0264221076, 0.0053288797, -0.0460261367, -0.0206079818, 0.0080867549, -0.0314342864, -0.0669399127, -0.0432323515, -0.028551193, 0.0117781442, 0.0043312344, -0.0349696986, -0.00009515, 0.0219662935, -0.011476961, -0.0056755408, -0.0775588006, 0.0104771499, -0.0072970125, 0.0479077064, -0.0050664395, -0.0604139119, 0.0007834807, 0.0233981367, -0.0020724337, 0.0040546739, -0.0110178003, 0.085365288, -0.0266047046, -0.0286382642, -0.0133848106, -0.0052968082, 0.0021843468, -0.0584848747, 0.0635233223, -0.0454407819, -0.0141569553, 0.0090169832, 0.0069149747, -0.0665844381, -0.030746622, 0.0072718817, -0.0088810381, 0.0413531214, -0.0181759465, 0.0252959467, 0.002485266, -0.0087945322, 0.0140783358, 0.0702192858, 0.0124223754, -0.0359137654, -0.0063387938, -0.0186415054, -0.0310453326, 0.0512827672, -0.0089227557, -0.016120594, -0.0496213958, -0.0168647803, 0.0324543901, 0.0551369041, 0.0888059959, 0.0415405668, -0.030730918, -0.036602471, 0.082442604, 0.0831271857, -0.0152633032, -0.0151349865, 0.0199693609, -0.0072807069, 0.0487637371, -0.0179869961, -0.0553635359, 0.0296069384, 0.0095330458, -0.0170846935, -0.0342849083, 0.0210721213, -0.0267027989, 0.0087388484, -0.0385114402, -0.0051791305, 0.0119645521, 0.0087392638, 0.029012369, 0.0417618901, -0.0283447783, 0.0000254199, 0.0328784585, -0.0474947989, -0.0081545655, -0.0460507236, 0.0046195281, 0.0087180585, -0.0006725508, 0.0228067655, 0.0042449101, 0.0258320812, -0.0145902056, 0.0548556931, 0.006774236, 0.004729236, 0.043348711, -0.0206736866, -0.0193472859, -0.010418308, 0.0194959287, -0.0349928364, -0.01206287, -0.0690899193, -0.0348251313, -0.0647528991, -0.0176251289, 0.0734709725, -0.0542145669, 0.0297097526, -0.0340661518, 0.0041290396, 0.0307528581, -0.0440647416, 0.0214569718, 0.0201417562, 0.0229459777, -0.0008469512, 0.0380293615, 0.0477194302, -0.0532902814, -0.0141202724, 0.0407287367, -0.0502003916, -0.0154484799, 0.0781615302, 0.0388189815, -0.0144889019, 0.0497917384, -0.0563299246, 0.0194543079, -0.0436425358, 0.0322876871, -0.0509609617, 0.0043610348, -0.0167390984, 0.0590489171, -0.0491048582, -0.0019940175, 0.0065536019, 0.0060579479, -0.0051328219, -0.0348137617, -0.0025658582, 0.0058599575, -0.0306544136, 0.0222048629, -0.0263403524, 0.0097034117, -0.0643005669, 0.0033133724, -0.0747182146, -0.0169876311, 0.0188053399, 0.0019484477, 0.0088472292, -0.0645194277, -0.0073818569, -0.0168452114, 0.0083688395, 0.0585488006, 0.0053297719, 0.0422184579, 0.0248067062, -0.0125278048, -0.0210504886, -0.0314293206, -0.0161034353, -0.0023279884, 0.0652976334, -0.0190180205, 0.0342506692, 0.004385666, 0.0082760863, -0.0345579498, 0.0524186231, -0.0251644664, -0.0154804224, 0.0698696226, 0.016250018, 0.0782962367, 0.0657106638, 0.0025571228, 0.0510219708, 0.0633924231, -0.0131347589, -0.0231363364, -0.0366756655, -0.0125932749, -0.03575892, -0.0324195847, -0.0242528841, -0.0380767174, 0.0955179483, 0.0159045141, 0.0343831331, -0.0738658011, 0.0486715324, -0.01562203, -0.0338588655, -0.0454378128, -0.0261406675, -0.05719845, 0.046312429, -0.0579710677, -0.0901086405, 0.0263791513, -0.0063627283, -0.0188649539, 0.0020619435, 0.0215622727, 0.0155484313, 0.0906356648, 0.0196938198, 0.024483867, -0.002277422, 0.0075364853, -0.0959370658, 0.0398877934, 0.0485352091, -0.0108341388, 0.0686296821, -0.0789154693, -0.001621417, 0.0051342086, -0.0091219377, -0.0312928073, -0.0077069621, -0.0426054895, 0.0294534415, -0.038924396, -0.0102216844, -0.0134321265, -0.0063876691, 0.0314814597, 0.0364235863, 0.0090554189, -0.0075149033, 0.0090477979, -0.0212969799, 0.0395471677, 0.0000678401, -0.016633993, -0.0672246367, -0.0050977948, 0.0410372652, 0.0453897081, 0.0142645594, -0.0609505922, 0.063209109, 0.0271262303, 0.049057465, -0.0076996908, 0.0581386164, 0.0555945039, -0.0202650931, -0.0037904046, 0.0221137088, 0.0130265951, -0.0135898348, 0.0215093587, -0.0068971454, 0.034586899, 0.0374457948, -0.0279519204, -0.0427506231, -0.042300269, 0.00279615, 0.0220042299, 0.0014277051, -0.0351018719, -0.0095916875, -0.0941667184, 0.0061392104, -0.0080719246, -0.0746717528, 0.0030918396, -0.0179042667, 0.0061506671, 0.0146638388, 0.0064652949, 0.0228015166, -0.0365098454, -0.0049076332, 0.0093830545, 0.0032359054, -0.0750899389, 0.0557651594, -0.050466612, 0.0645932332, 0.0151311643, -0.0130230933, -0.0093423333, -0.042729836, 0.0459159091, -0.0153182466, 0.0105888592, -0.0024430254, 0.0291170776, 0.0078124725, -0.0144112017, -0.0308501832, 0.0314547159, 0.0084952265, -0.0290123392, -0.0476747081, 0.0577588603, 0.0024485469, -0.0314401425, -0.0159855783, 0.0198052246, -0.0216228869, 0.0254253261, 0.0316357315, -0.0663039982, -0.0260088779, 0.018580718, -0.000284402, -0.0124024861, -0.0400648788, 0.0356730446, 0.0395534821, 0.0042121788, -0.0854891613, 0.0045888177, 0.0137723777, 0.0250336975, 0.0126861101, -0.0373453721, -0.0088594053, -0.0220997259, -0.0427451581, 0.0933808908, 0.015970191, -0.0005175541, -0.0957759991, -0.0345267877, -0.0000576226, -0.0528472625, -0.0105595496, 0.0275767278, -0.0949616581, -0.0356837548, 0.0064129955, 0.0379018113, 0.0277270228, -0.0021835901, 0.0367847569, -0.0974521562, -0.0086009838, 0.0232493337, 0.0251948591, 0.0282300301, -0.004949403, -0.037457902, 0.0048639579, 0.0163000505, -0.0099772355, 0.0040505505, -0.0031389971, 0.0088035669, 0.0231099762, -0.0238271728, 0.0174810849, 0.0069818161, 0.0678583235, -0.0303764641, -0.0327942781, -0.0638885498, -0.0372310653, 0.0148903215, 0.0464181341, -0.042916283, -0.0184459668, 0.0570188053, 0.0611966588, 0.0256617349, -0.0145957544, -0.0191833358, 0.0366589949, -0.046616476, 0.0041503129, 0.0303787217, 0.0226627234, -0.0276437607, 0.0804621354, 0.0050561018, 0.0085969334, -0.0676694736, 0.0319577567, 0.0086061647, 0.0585333221, -0.0060772696, -0.0030662601, -0.0026224232, -0.0023421808, -0.0205018613, 0.0052700322, -0.0073625986, -0.0125275962, 0.0528557375, -0.0007487528, 0.0146506084, -0.051837638, 0.0145295057, -0.0368783772, 0.0241950341, -0.0083946455, -0.0589827932, 0.0587773398, 0.0062475409, 0.0128994985, -0.0252431501, 0.0465884209, 0.0339688137, 0.0395874679, -0.0449269712, 0.0307921842, -0.0262125731, -0.0251176376, 0.0323064364, 0.0128360176, -0.0414047539, 0.0457433201, -0.0350841917, -0.0424763374, -0.0284107849, 0.0397205725, 0.0214808695, -0.0263774991, 0.0640802607, 0.0291888826, -0.0222794451, -0.0241318438, -0.026439162, -0.0098562324, 0.0036635897, 0.0305961948, -0.0092066955, -5.761463319e-33, -0.0046668798, -0.0125594316, 0.0298836511, -0.0097678155, -0.0170667004, 0.0007026634, -0.0170920901, 0.0597412884, -0.042291902, -0.0097641656, 0.0455938131, -0.03192693, 0.0005579307, 0.0104504181, 0.0127301915, 0.0066971225, -0.0123171126, -0.035823077, -0.0281100534, -0.0608757399, 0.0155711146, -0.0105154281, 0.0716899037, -0.0157217942, 0.0179362912, 0.0280809291, -0.0295541789, 0.0319607966, -0.0010259373, 0.0509888418, -0.0436196327, 0.0568055622, 0.0259413105, 0.0202682745, -0.024100624, -0.0025181882, -0.0510759167, 0.0070744161, 0.0614867024, 0.0145836556, -0.1309317052, 0.0424423479, 0.0582365766, -0.017788982, -0.0542685911, -0.0322920606, 0.0213255286, -0.0274405684, -0.0145176789, 0.0495011508, -0.0608677007, -0.0107791824, 0.0191139411, -0.0491034389, 0.0344021991, 0.0509957261, -0.0318932571, -0.0133388182, -0.0307320207, 0.0318689495, 0.0012434864, 0.0262759272, 0.0895779431, 0.0617228001, 0.048095651, 0.093866758, 0.0479705706, -0.0084933834, 0.0086133406, -0.0091433022, 0.1106843352, 0.0470214933, 0.0298331194, 0.0428632051, 0.0035986428, -0.0088587776, -0.0115177585, -0.0000254263, 0.003869225, 0.069722116, 0.0025874965, 0.0138297202, 0.0213649869, 0.0005782238, -0.0644607693, -0.0099852551, -0.0360589586, 0.00871161, 0.0460968167, 0.0111884549, 0.0200446751, -0.0058621159, 0.0213707872, -0.0233753007, 0.0081534032, -0.0311463624, -0.0204106607, 0.0507665724, 0.0191094261, 0.0283283461, -0.0619818829, -0.0402776822, 0.0505888537, 0.0180685576, 0.0447718278, 0.0277664419, -0.0094572222, 0.0166980792, -0.0455734469, 0.0024514808, -0.0359619744, -0.0017523315, 0.0222822018, 0.0022550253, 0.0511972569, -0.0201801192, -0.0642444491, 0.02651136, -0.030776618, -0.0018101617, -0.0747478306, -0.0233047344, -0.0123772603, 0.0290579852, 0.0048402315, 0.0371658839, -0.0378827639, -0.0094074644, 0.038762264, -0.0087081324, -0.0020026283, 0.0479378812, 2.432e-7, 0.0272163153, 0.0675058886, -0.0192262288, 0.0103366366, 0.0290853176, 0.0285291579, -0.0470321923, 0.004870397, -0.0046653398, -0.0312271975, -0.0590243749, 0.0060398146, 0.0727362931, -0.002847455, -0.007989902, -0.0112990178, -0.034241762, 0.0261474866, -0.0295213684, -0.0001983105, 0.020981675, 0.0197420809, -0.0329114422, -0.0493637137, 0.0001932087, -0.004350564, 0.075044468, -0.0478361063, -0.0130558815, -0.0509235188, -0.0124355089, 0.0421136096, 0.0323553383, 0.0528077595, -0.0220916439, -0.0035591261, 0.0276528876, 0.0146734584, -0.005214578, 0.0013831754, 0.0062031066, 0.020727586, -0.0510359928, -0.048633799, 0.0364487655, -0.030652158, -0.0163853429, 0.0042152423, -0.0095388144, 0.0103899315, 0.0354945175, -0.0454534404, -0.026174251, 0.0100975847, 0.0256288517, -0.0102310069, -0.0240816083, -0.0408718176, -0.0392738171, 0.0183335841, -0.0502201095, -0.03006774, -0.0476055108, -0.0217174366, 0.0243452508, -0.0242744889, -0.0249077305, 1.430637007e-34, -0.012847539, 0.0097821141, 0.05563787, -0.0358362608, 0.0010059307, -0.0303207356, 0.0594301373, 0.0142171821, 0.0016095479, -0.0273789149, 0.020914454 ]
http://arxiv.org/abs/2406.10209v1
http://arxiv.org/pdf/2406.10209v1
Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMs
2024-06-14T17:44:22
2024-06-14T17:44:22
Abhimanyu Hans, Yuxin Wen, Neel Jain, John Kirchenbauer, Hamid Kazemi, Prajwal Singhania, Siddharth Singh, Gowthami Somepalli, Jonas Geiping, Abhinav Bhatele, Tom Goldstein
cs.CL
cs.CL
Large language models can memorize and repeat their training data, causing privacy and copyright risks. To mitigate memorization, we introduce a subtle modification to the next-token training objective that we call the goldfish loss. During training, a randomly sampled subset of tokens are excluded from the loss computation. These dropped tokens are not memorized by the model, which prevents verbatim reproduction of a complete chain of tokens from the training set. We run extensive experiments training billion-scale Llama-2 models, both pre-trained and trained from scratch, and demonstrate significant reductions in extractable memorization with little to no impact on downstream benchmarks.
[ 0.0216431879, 0.1045110598, -0.0150296874, 0.0495108739, -0.0387911312, 0.0053408477, 0.0084328922, 0.0093722735, -0.0025651513, -0.0131918453, -0.0580131263, -0.0225493461, -0.0268133618, -0.0047234236, 0.057360556, -0.0005146274, 0.0384624526, -0.040901795, -0.0000454386, -0.0399386249, -0.0375018269, -0.0149267502, 0.0114792595, 0.0035149259, -0.0182397012, -0.020009486, -0.0045540319, -0.0156909749, 0.0029555485, -0.0445747152, 0.0015619833, 0.0209572483, -0.0132731413, 0.0532268845, 0.0000018546, -0.0459120385, -0.0052806959, 0.006557411, -0.0676882938, 0.0597853474, 0.0034339868, 0.0061332826, 0.0093260817, 0.0087016691, -0.0242113546, 0.0118931038, 0.0370845795, 0.0309086889, 0.0484987386, 0.0693061948, 0.0155268721, -0.0381638892, 0.0373066962, -0.0539957955, 0.0392208621, -0.0460407399, 0.0173766892, -0.0370487124, -0.0354343764, -0.0158507451, -0.0085480064, 0.0606663264, 0.0282673389, 0.0249844994, 0.0053182128, 0.0556015968, 0.0034371491, -0.0048602787, -0.0210841671, 0.0502407774, 0.0157558881, -0.0325752646, 0.0093094585, 0.0046683508, 0.0285491049, -0.0486269705, -0.0594656579, 0.0843136683, 0.0130751459, 0.0409978665, 0.0049497527, -0.0306589231, 0.0576443188, -0.0103772674, -0.0062624193, 0.0338082463, 0.016747348, -0.0128429281, 0.004802567, 0.0007955639, 0.0155815789, -0.0373575427, 0.0286740623, 0.0187488291, 0.0296455547, 0.0485463478, -0.0457092151, -0.0135646351, 0.0618027635, -0.0279962365, 0.0644842908, 0.0002002327, -0.0109711662, 0.0320317522, -0.0492346063, 0.0265796371, -0.0302584376, 0.0611326396, -0.0086879078, 0.0098646246, -0.0206222069, -0.0125200199, -0.0036631362, 0.1116056293, -0.0110553075, 0.0085246777, -0.0239995141, 0.0308817159, -0.0156322643, 0.0244325157, -0.0212095845, 0.0027231853, -0.0205510464, -0.0112407943, -0.0288548935, -0.0380278528, -0.0356172025, 0.0415072367, 0.0304771662, -0.0917161107, -0.0514066033, -0.0034528803, -0.0217712913, -0.0012494522, 0.002463728, 0.119293943, -0.0165641326, -0.0479029715, -0.0614392906, -0.0514382944, 0.0291080121, -0.055079598, 0.0305015929, -0.0488007702, 0.0373449065, -0.0264414512, -0.0158864297, -0.0579787493, 0.0070839967, 0.0194064993, -0.0178626627, 0.0449492633, 0.0232345369, -0.0255235862, -0.0052415347, 0.0288399793, 0.0268498417, 0.0544396229, 0.0296418574, 0.0299132746, 0.0445407964, 0.011462437, -0.0012166824, 0.0337692983, 0.0595943592, 0.0034470919, -0.016585324, 0.0017118251, 0.0363167301, 0.0157271586, 0.06872686, 0.0762533695, -0.0335487463, -0.0459031425, 0.0655997097, 0.0725297332, -0.028009247, 0.0189664308, 0.0111442339, -0.0462270863, 0.0311229266, 0.0315057635, -0.0616423115, 0.0170148145, -0.0143028758, 0.0043476475, 0.0246259142, 0.0027847043, -0.0310958065, -0.0376896225, 0.02522121, -0.0413288139, -0.0500440933, -0.0133822961, -0.0104650203, 0.0303474087, -0.0223665256, 0.112578243, 0.0196437966, -0.0644525513, 0.0088040233, -0.060440924, 0.0475226194, 0.0329813436, 0.0440371186, -0.0098673115, 0.003188364, -0.0099273818, -0.0096698049, 0.0059935539, -0.0037519073, -0.0111519648, 0.0658800378, -0.0494104475, -0.0252498258, -0.016190419, 0.0335709937, 0.0210176818, 0.0241573006, -0.0034221862, 0.0143057937, -0.0402337387, 0.0077395486, 0.0520756841, -0.0365468375, -0.0903349519, 0.0146571547, -0.0134193562, 0.072211951, 0.0073048901, 0.0078642759, 0.0270680934, 0.0524324775, -0.0179724954, -0.0072850301, -0.0132168969, -0.0523999706, -0.0211833697, 0.0194170661, -0.0273463298, 0.0214448012, 0.0256830528, -0.0378919616, -0.0214128308, -0.024028765, -0.0136822769, 0.10018076, -0.0232819524, 0.0304268654, 0.0228009447, 0.0287490189, -0.0272610243, 0.0348596722, -0.0517341532, -0.0265373383, -0.0334061012, -0.00801899, -0.006934789, -0.0862547308, 0.0082368776, 0.0264834054, -0.0060586105, 0.0288318861, -0.0338971354, 0.0078376373, -0.0533152595, -0.0392209403, -0.0268810056, 0.0257869419, 0.0040079779, 0.0712570846, -0.0001659503, -0.0245213881, -0.0200401265, -0.0199785009, -0.0404155292, -0.0165589117, -0.0544568449, 0.020396838, 0.0107751284, 0.0015741689, -0.0132811889, -0.0345552675, -0.0186579525, 0.0190374851, 0.0318404958, -0.0345829949, 0.0057378467, -0.032395862, 0.0321763381, -0.0150393099, 0.0049568983, -0.0110425409, -0.0152166374, 0.0032915585, -0.0029702315, 0.0213116277, 0.0670586675, 0.0034823827, 0.0182169098, 0.0329102576, 0.0001077605, -0.066894874, -0.0110626351, -0.0188307203, -0.0715028942, -0.0413556397, -0.0144183403, 0.0220059734, 0.0349775702, -0.0041524051, -0.0073266323, -0.0023508575, 0.0166459959, 0.0034140665, -0.0463355072, -0.0006709082, 0.0147381388, -0.066710785, 0.0227606799, -0.0028425641, -0.0721347556, 0.0153270252, -0.0302128941, 0.0147909783, -0.0010079166, 0.0226973072, -0.0078794295, 0.0654745921, 0.0142693389, 0.02333037, 0.0358433947, -0.0473407172, -0.0382162072, -0.0086747194, 0.0198904201, -0.0450470671, 0.036901284, -0.0322397575, -0.0160067771, -0.0075017042, -0.0411256813, -0.0621219538, 0.0191508941, 0.0026504204, 0.011394809, 0.0026528542, 0.008565085, -0.0257747825, -0.077998884, 0.0455386117, 0.0087538818, 0.0052739973, 0.0030948464, -0.0256180987, 0.037644621, 0.0148901064, -0.0250352137, 0.0223083701, -0.0406213813, -0.0063515808, 0.089378275, 0.0555677861, 0.0057447976, 0.0321686342, -0.0016923624, 0.0354734398, -0.0300770439, -0.0125330882, 0.0466657467, 0.0338093825, -0.0352099352, 0.0067542996, 0.059621077, 0.0058721872, -0.0458388254, 0.0123823583, 0.0315536894, 0.0454706661, 0.0007527584, -0.007818562, -0.0805521831, -0.0103709288, 0.0383414812, 0.0427079834, -0.0138523942, -0.0271051619, -0.0095518297, -0.1097751185, 0.0151129104, 0.0195428971, -0.0442470275, 0.0102193514, -0.0280051511, -0.0246611796, -0.0092655271, 0.0192700606, 0.0112271225, -0.0331183337, -0.0063816155, 0.0324737504, 0.0026672403, -0.0258566029, 0.019614391, -0.0173627716, 0.0535856597, 0.0468037836, 0.0081503196, 0.0065179802, -0.0650209486, 0.0394686051, -0.0244621783, -0.0118590984, -0.0071808714, 0.0458017737, 0.0105889179, -0.0032736233, 0.018049594, 0.0526576526, 0.001247582, -0.0170852896, 0.0253918227, 0.0509493127, 0.0151365213, -0.0253928918, 0.0063297404, -0.0346676446, -0.025291035, 0.0564270504, 0.044977624, 0.0071831499, -0.0196511764, -0.0418535732, 0.0198118351, -0.0763230845, -0.0113894641, -0.0001317241, -0.0233242884, -0.013161947, -0.0905374587, -0.0230263099, -0.0281966422, 0.052303724, 0.0169462394, 0.0193796176, -0.0092264963, -0.0446991958, -0.0334599018, 0.0055108112, -0.0975409225, -0.0220675003, -0.0862710997, -0.0173063856, 0.029833464, 0.0138357179, -0.0263070539, 0.0370138213, -0.1000826955, -0.0691822767, 0.0002184987, 0.0998027548, 0.0231319685, 0.0366930924, 0.0306336954, -0.0389113985, 0.0882286578, 0.0730117038, -0.0273301844, 0.0339261629, 0.07943701, 0.0106833633, 0.0105556464, 0.0461981483, -0.0256340466, -0.0057735182, 0.0575150736, 0.0187445655, 0.0030298913, 0.0106912609, 0.0053886417, 0.0388875715, -0.0042194068, -0.0366850533, 0.0250222608, -0.0210519712, 0.0689087883, -0.0158411898, 0.0237189215, -0.0352164991, 0.009285436, 0.0167593546, 0.0047542751, 0.0105444212, -0.0292088464, 0.028740976, 0.0373538472, -0.0033435537, 0.0005493302, 0.0174633395, 0.0055159084, 0.0291748736, -0.0051101013, -0.0398737527, 0.0191936661, -0.0071512661, 0.033509057, -0.0191812143, -0.0001430811, 0.0038476337, 0.0293631367, -0.0371843725, 0.0280160718, -0.0335676372, -0.0609950833, 0.0000163173, 0.0479141921, 0.055209931, -0.0081827072, 0.0051831114, -0.0529738851, 0.000793447, -0.0123730935, 0.019890612, -0.0401566327, -0.0365181901, 0.0193687081, 0.0107723922, -0.0154642994, 0.003574169, 0.0926808864, 0.010529601, 0.0847864524, -0.0558902062, 0.0403306708, -0.0435275361, -0.0658672601, 0.0355135128, 0.0127384113, 0.0004187626, -0.0652566999, -0.0387500785, -0.0969324037, 0.0003844738, 0.0121365888, 0.0133327572, -0.0164216198, 0.0422143266, 0.022829717, -0.0062795966, -0.0250366144, -0.0372243822, 0.0112360315, 0.042016197, -0.0247153733, -0.0065541165, -6.285327886e-33, -0.0082751773, -0.0000240244, 0.0251684804, 0.0272591002, -0.0102583757, 0.0190456342, -0.0381031036, -0.0205685925, -0.0112023354, -0.0171530508, -0.0554944947, -0.0074802036, 0.0275564715, 0.0255288538, 0.0085714348, -0.0273913629, 0.0450474992, -0.0319234207, -0.0104760686, 0.0436375588, 0.0465747565, 0.0423239358, 0.0410443023, -0.023435453, 0.0249933545, -0.0030443287, -0.0359240472, -0.0014851226, -0.0503671914, 0.0485496037, -0.0455014706, 0.01287698, -0.0070502451, -0.0391330384, -0.027173765, -0.030808717, -0.079876408, -0.027700197, 0.0189713221, -0.0078217722, -0.0065928753, -0.0756256804, 0.0710799024, -0.0207144897, -0.037342377, 0.0025190499, -0.0078564994, -0.0144440858, -0.0826758221, -0.0249509122, -0.0330487899, -0.0124961231, 0.0143766915, 0.0165000893, 0.027802676, -0.0694649443, -0.0018763886, 0.000926648, -0.0634058118, 0.0227847211, 0.0354850478, 0.0245430805, 0.0517752953, 0.0119909775, 0.030920513, 0.0628267825, 0.0631430969, -0.029849913, 0.0156916399, 0.0135755651, 0.0239163209, 0.0245225746, -0.0009078389, 0.001490869, 0.047652185, -0.0263658017, -0.0423852392, 0.0007632326, -0.0120461285, 0.0289471857, 0.004099959, 0.0201781243, -0.0120804366, 0.002444369, -0.0370289907, -0.0079800952, -0.0019199981, 0.0110376514, 0.0236047786, 0.0238781981, -0.0153914969, -0.0434796177, 0.0128003713, -0.0213196818, -0.0428218506, 0.0247054212, 0.0315631106, 0.0060547106, -0.01309219, -0.0059254616, -0.0684279203, -0.018466644, -0.0155161768, -0.0205889754, 0.0382179841, 0.0077006971, 0.0656468868, 0.0201812331, -0.0798168331, 0.0019520245, -0.0699233338, 0.0287969522, 0.0529206209, 0.0046023331, 0.0437167101, -0.034738522, 0.0174508244, 0.0244393889, 0.0055649313, -0.0252382718, -0.0306457672, 0.0457713753, -0.021422239, 0.037174128, -0.0150029399, 0.0057453364, -0.0148515003, 0.0543206409, 0.0458479002, -0.0421978571, 0.0147957858, 0.0079997638, 2.587e-7, -0.0029534257, -0.0155409742, 0.0224304255, -0.0025821452, 0.0132046323, 0.0505788475, -0.0318860561, 0.0378166176, -0.0353322923, 0.0073510217, -0.0147233373, 0.0306663923, 0.0353062041, 0.018899221, -0.0942131802, 0.0235629808, -0.0423587896, 0.0035408889, -0.0429847501, -0.0488090403, 0.0185923874, 0.099814944, 0.0305500273, -0.0424516276, -0.00492959, -0.0479174219, 0.0647042021, -0.0232108217, 0.0169454813, 0.0084932735, 0.0446899161, 0.0469661653, -0.0064903717, -0.0275042988, -0.0397582352, -0.0094904164, -0.0434920043, 0.0827412009, 0.0484128892, -0.0616307594, 0.0023193387, -0.04121558, -0.015766317, -0.007636087, 0.0538499095, 0.0088481531, -0.0277321506, -0.0091475742, 0.0250479132, -0.0277341288, 0.0133847231, -0.0048573501, 0.013070018, 0.01672462, -0.0225584749, 0.0045115571, -0.0221496262, -0.0928633437, -0.0206668768, -0.0630053878, -0.0258652382, -0.037484847, -0.047841046, 0.038333416, -0.0144995004, -0.0608201884, 0.0028302125, 2.140386032e-34, 0.0089715021, -0.0651756376, 0.0228448324, 0.0701958463, 0.0071275379, -0.0159531254, 0.0331925973, 0.0344197862, -0.0086111259, -0.0403266326, -0.016969936 ]
http://arxiv.org/abs/2406.10323v1
http://arxiv.org/pdf/2406.10323v1
GenQA: Generating Millions of Instructions from a Handful of Prompts
2024-06-14T17:44:08
2024-06-14T17:44:08
Jiuhai Chen, Rifaa Qadri, Yuxin Wen, Neel Jain, John Kirchenbauer, Tianyi Zhou, Tom Goldstein
cs.CL
cs.CL
Most public instruction finetuning datasets are relatively small compared to the closed source datasets used to train industry models. To study questions about finetuning at scale, such as curricula and learning rate cooldown schedules, there is a need for industrial-scale datasets. However, this scale necessitates a data generation process that is almost entirely automated. In this work, we study methods for generating large instruction datasets from a single prompt. With little human oversight, we get LLMs to write diverse sets of instruction examples ranging from simple completion tasks to complex multi-turn dialogs across a variety of subject areas. When finetuning a Llama-3 8B base model, our dataset meets or exceeds both WizardLM and Ultrachat on both knowledge-intensive leaderboard tasks as well as conversational evaluations. We release our dataset, the "generator" prompts that created it, and our finetuned model checkpoints.
[ -0.0059071737, 0.0047683828, -0.030725453, 0.010687015, 0.0006278926, 0.025080638, 0.0220134668, -0.0108137215, -0.0061451648, -0.0237851627, -0.0297962278, 0.0163344368, -0.0183962025, 0.0204607509, 0.0190199092, -0.057537131, 0.0259008855, -0.0502258837, -0.0171086937, -0.0083036004, -0.0057996633, 0.0091725895, -0.0518125668, 0.0318006016, 0.0102645727, -0.0463438481, -0.0513961799, 0.0097324532, 0.0218463521, -0.0381553061, 0.0060052117, 0.0536322296, 0.0040619788, -0.0143224355, 0.0000020431, -0.0480763167, -0.0057512843, -0.0123409722, -0.0979927927, 0.0454712212, -0.0023256636, 0.0733448192, -0.0224439502, 0.0419380218, -0.0127775408, 0.0427391864, 0.0335951895, -0.018446926, 0.0737371296, 0.0491919033, 0.0258007813, -0.0001268458, -0.0071737505, -0.0145932827, 0.0076753953, -0.0562025011, -0.0013480055, 0.0121982833, 0.0483693294, 0.0109025398, -0.0117413169, 0.0071578422, 0.0374550335, -0.0132094799, -0.0209772307, 0.036003951, -0.0089875869, -0.0158555992, -0.0250846986, 0.0986552015, 0.0119951107, -0.0013094881, 0.0094299205, -0.0156412665, 0.0380727872, -0.013258921, -0.0510094501, 0.045474235, -0.0435793661, -0.004656367, -0.0253755543, -0.0257766638, -0.0095412955, -0.0158046316, 0.0092559131, 0.037384443, -0.0027242873, -0.0254385415, 0.0050544855, 0.0207682457, 0.0284273773, -0.0518864319, -0.0167714376, 0.0603260174, -0.0812273622, 0.0045500873, -0.0479987413, 0.0393951088, 0.0460062698, 0.0400555097, 0.0817033127, 0.0397505052, -0.0394380763, 0.0356265567, -0.0095665371, 0.0512350872, 0.0181244463, 0.0214542262, -0.0379682034, 0.0463296287, -0.0518313572, 0.0224121176, -0.0611627661, 0.0284571797, -0.0320693403, 0.0207995065, -0.0538784787, 0.0426898599, -0.0201699063, 0.0328328088, 0.0224592164, 0.0004005885, -0.0555062518, 0.0260922387, -0.0456311852, -0.0011731017, -0.0620431118, 0.0153436223, 0.0286170039, -0.069277361, -0.0076787975, 0.0077806707, -0.0097205779, 0.0120567605, 0.0235289671, 0.0644298643, -0.0299483258, -0.0034931207, -0.0519031771, -0.057979878, 0.0117814727, -0.0588256307, 0.0044173505, -0.0485227667, 0.0237176679, -0.0100430753, -0.0004587763, 0.013411968, 0.0120203756, 0.0324478336, 0.0216790289, 0.0503675193, 0.0018594167, -0.007187475, 0.0244855825, 0.0022806283, -0.0272515453, 0.0549683385, 0.0293560904, 0.0397457294, 0.03628904, -0.0328718424, 0.0292587616, 0.0603794679, 0.0257010404, 0.0047836052, 0.0200932361, -0.0003814457, 0.0034204633, 0.0274735931, -0.0007449798, 0.0143034114, -0.0237705037, 0.0186806638, 0.0219468474, 0.0516600944, 0.0084990701, -0.0225865059, 0.053453058, 0.0328363143, 0.0317696556, 0.0272222515, -0.0595811419, 0.0543233715, -0.0068467399, 0.0212264005, 0.0268296096, 0.03969758, -0.0385226011, -0.0582167692, 0.0292238034, 0.0134037957, -0.0555640869, 0.0222569313, 0.0295255203, -0.0044278479, -0.0759114474, 0.0044490243, 0.0365555994, -0.0512925908, -0.0247859247, -0.0711999238, 0.0299904849, 0.1022513509, 0.0378624797, -0.020435812, -0.083907634, -0.0004331773, 0.0473336168, 0.0121965399, 0.0512341112, -0.0467238761, -0.006223808, -0.0446971469, -0.0441971645, -0.0221824087, 0.0038085484, 0.0123063521, 0.0199123155, -0.0182629284, -0.0289362278, -0.0050347769, -0.0282890238, 0.0381761156, -0.0490403138, -0.0924815312, -0.0218702387, 0.0128535582, 0.0271881763, 0.0069729909, -0.0075551351, -0.0168387461, 0.0498690717, 0.0108967749, 0.0306496266, -0.0399035066, -0.0647053868, -0.0048828116, 0.0515763909, -0.0159505699, -0.0137087032, -0.0073397178, -0.0701879561, -0.030992154, -0.0381950662, -0.0026964438, -0.0190067962, 0.0003102721, 0.0331554785, 0.0074997954, -0.0132956216, -0.0263910871, 0.0372791961, 0.0080478592, 0.0044710361, 0.0427441858, 0.0144000575, 0.0224945601, -0.0747184977, 0.0041963318, 0.0148199415, -0.0284391325, 0.01072824, -0.0351843461, 0.0414253324, -0.0626722649, -0.0221048109, -0.0901704803, 0.0201461148, 0.0051064179, 0.0286266804, 0.0423185825, -0.025415577, -0.0212308541, -0.0204389617, -0.0220413841, 0.0284484755, 0.0183216929, 0.0098992791, 0.0077965893, 0.0175107066, -0.0349819921, -0.0464153066, -0.0185175706, -0.0040942715, -0.0029397209, 0.0146805393, 0.0259496719, -0.0584213808, 0.0246578436, -0.0026061696, 0.0242074281, -0.0077668908, -0.0492185168, 0.0521083176, -0.0103014903, 0.0202574693, 0.0739732236, -0.0143781099, 0.0572323017, 0.0500973538, -0.0238963533, -0.0759090036, 0.0501529314, -0.0088275615, -0.0697238669, -0.0181770399, -0.0453751236, 0.0088759586, 0.0567293949, -0.0092138769, 0.0114519, -0.0428370126, 0.0230746046, 0.0097174812, -0.0019983675, -0.0241611321, 0.0332092308, -0.0294495188, 0.0309137162, -0.006869595, -0.0742127225, 0.071169056, -0.0320850872, -0.003584625, -0.010872161, -0.0232911464, 0.0111353667, 0.0450145081, -0.0261940025, 0.0012795815, 0.0080539426, -0.0054186652, -0.0500335954, 0.0017492885, 0.0307991318, -0.0584157258, 0.0202705655, -0.0685163289, -0.026732631, -0.0143998247, -0.0309666339, -0.0387643985, 0.0217803065, -0.0026094161, -0.0240508262, 0.0208409, -0.04844198, -0.0261692032, -0.0444505922, 0.0073432755, 0.0303144697, -0.0287037101, -0.0064427443, -0.0226872321, 0.0097099449, 0.0325949602, 0.003051233, -0.0163687728, -0.066219762, 0.0633673221, 0.0420019031, 0.0360939428, 0.0054147234, 0.0152123952, -0.0194887761, 0.0302323066, -0.045076713, 0.012510227, 0.0676731467, 0.0915062129, -0.0402792841, -0.0217966251, 0.0878115445, 0.0228843056, -0.0227182209, -0.004877991, 0.0052000736, 0.0322168022, 0.0169434436, 0.0455082543, -0.1002582386, -0.0216240603, 0.0212517232, 0.1031129211, -0.0142776575, -0.0226608105, 0.0045798356, -0.0971749574, 0.0595603958, -0.0137964683, -0.0337849706, 0.0029949683, 0.0013385908, -0.0103661735, 0.0043100142, 0.0201724526, 0.009358543, -0.0306319054, 0.0226420276, 0.0690080598, 0.0267603137, -0.0560161322, 0.0408875048, -0.0011997566, 0.0919174701, 0.0643286631, -0.0075837374, 0.0161662307, -0.052895993, 0.0364202783, -0.009367154, -0.0017801693, -0.0039165942, 0.0803597793, 0.0100329267, -0.0188910291, -0.0146662733, 0.0388145708, 0.0086153569, 0.0148394573, 0.0447493866, 0.0418274738, -0.0276414715, -0.0010857109, -0.0230485015, 0.0068693347, 0.0190843139, 0.0570620485, 0.0161272995, -0.047162246, 0.0025577242, -0.0620571896, -0.0001072996, -0.0742484406, -0.0296855606, 0.0184849612, -0.0482823402, 0.0108211217, -0.0536489524, -0.043794781, 0.0837137625, 0.042085547, 0.0171397869, -0.0511928387, 0.0121539095, 0.0298814736, -0.0221160166, 0.0242210273, -0.0355424844, 0.0179172922, -0.128961429, -0.0822701827, 0.0211136267, 0.0008888338, -0.0112359328, 0.0385843553, -0.0572429374, -0.0472565889, 0.0148490826, 0.0773052573, 0.0265945252, 0.0039167576, 0.0287872478, 0.0063884575, 0.0293078423, 0.0658251345, -0.0411922485, 0.0219634175, 0.0075037125, 0.008043563, -0.0197383594, -0.0019894661, -0.0606522411, 0.0299634393, -0.0022801689, 0.0128410738, -0.0206498709, -0.0414872095, 0.034911029, 0.0179882236, -0.004577673, -0.0083494494, -0.0213469304, -0.0257286001, 0.0368571989, 0.0200078543, 0.0021679306, -0.0551627576, -0.0155067937, 0.0095639657, -0.0487675779, 0.045138821, -0.0156736616, -0.0074263755, 0.0616099499, -0.0582732894, 0.0252570454, -0.0063605821, 0.0209090058, 0.0375454947, -0.0213824846, -0.0104878964, 0.0279996935, 0.0031135208, 0.0504099764, 0.0170105658, 0.0841515064, 0.0178862177, 0.0398248546, 0.0181187037, 0.0315968581, -0.0234464277, -0.0897531807, -0.0431174263, 0.0390856713, 0.0337029733, 0.0276240576, -0.0022330508, 0.0036513412, 0.0153706642, -0.0037128052, 0.0168468468, -0.0089258403, -0.0096071148, 0.0215594564, 0.0360037796, 0.0311583076, -0.0264102984, 0.070572108, -0.0166659541, 0.0717751831, 0.0038358318, 0.0192380082, -0.0637808889, -0.0369632393, 0.0239884667, 0.0142465346, 0.0161931012, -0.0394936539, -0.032516107, -0.0331737362, -0.0256974697, 0.0663483292, -0.0084981099, -0.0385106057, 0.0547560938, 0.0108765345, -0.0201664455, -0.0141965039, -0.0122125475, 0.010554906, 0.0008400548, -0.0131704183, -0.0123494016, -6.045657812e-33, -0.0709478036, -0.0308929365, 0.0557188205, 0.0493883789, 0.0086420961, -0.0082487175, -0.017451793, 0.0088087954, -0.0054122289, -0.0001230151, -0.0239887722, -0.0004120435, 0.0239338521, 0.0045707868, 0.0176725835, -0.0132345427, 0.0829881802, -0.0412166342, -0.0318921469, 0.0845750198, 0.0109370556, -0.0036677199, 0.0287938975, -0.063268356, 0.0231840294, -0.0283520799, -0.0084450943, -0.0008878749, -0.04936634, 0.0424020439, -0.0121037047, 0.0259351023, -0.0113437902, -0.0543677136, -0.0118431374, 0.009290698, -0.0645874217, -0.0683523342, -0.0047761723, -0.0028582022, 0.0010287107, -0.0603436716, 0.0176052023, -0.0049400483, -0.0390556455, -0.0105400989, 0.0342708714, 0.0151005192, -0.0008201912, -0.0279983804, -0.0380514562, -0.0087984512, -0.0113201775, -0.0721488893, -0.0245510433, 0.0314762294, 0.0226132963, -0.0383514613, -0.0144091239, 0.0390137285, 0.0902687386, 0.0366868973, 0.0781461895, 0.0130716711, -0.0042703431, 0.0174688287, 0.0082578184, 0.0335763395, -0.0095255254, -0.023756301, -0.0035432721, 0.0627783537, -0.0024904641, 0.0156729389, 0.028439967, -0.000604019, -0.0169784725, 0.0554296747, 0.0337381586, 0.0290726963, 0.0049390304, -0.0435639434, -0.0336528942, -0.0130787548, -0.0467517823, 0.0185999498, 0.0049747326, -0.0026202106, 0.0541559868, 0.0001373216, -0.0049560666, -0.0450367294, 0.01000618, 0.0064369668, -0.0176058915, 0.0024472126, 0.0020990088, 0.0314934514, -0.0151953325, -0.0243934486, -0.032842014, -0.0406611785, 0.0153862843, -0.0306427255, 0.0606023669, 0.0293034539, 0.0023619898, 0.0423924737, -0.0636497438, 0.0316108875, -0.061186593, 0.0428663045, 0.0281355586, 0.0038046034, 0.0154867871, -0.0118120918, -0.01250285, 0.0371189192, -0.0312327053, -0.0411142707, -0.0271840245, -0.0229526181, -0.0001148889, 0.0088677425, -0.0301512033, -0.0018214034, -0.072733365, 0.0126515795, -0.0039963042, -0.0252898913, -0.0015331432, 0.0080561116, 2.683e-7, -0.0109160617, 0.0502908677, 0.0207070764, 0.0411474481, -0.0025905038, 0.0247333143, -0.0247523729, -0.0243655778, 0.0287475865, -0.0182090215, 0.0044248211, 0.0317673758, 0.0214028805, 0.0421825387, -0.0874782875, -0.0455525182, -0.003894503, 0.0179331955, -0.0645541474, -0.0010119571, 0.0614624918, 0.0494351648, 0.009327637, -0.0089687323, 0.048798088, -0.0122207496, -0.0067096814, -0.0355972312, 0.0292315036, 0.0203675702, 0.0431239977, -0.0039991532, -0.0406408608, 0.014697887, -0.0096052121, -0.0327166095, -0.0624199361, 0.080626905, 0.0226286855, -0.0173790585, 0.0223228019, -0.0384406522, -0.0048006489, -0.0160889626, 0.0302365646, -0.0343509316, 0.0276489574, -0.007449239, -0.0246463493, -0.0421402268, -0.0178168491, -0.0170849785, 0.0521272197, 0.0078315958, -0.0067998273, -0.025818944, -0.0294344295, -0.0312087405, 0.0125305606, 0.0145538691, -0.0241593607, -0.1074621603, -0.0564308465, -0.0200370271, -0.038110476, -0.0587786846, 0.0016188005, 2.290217021e-34, -0.0010387946, -0.0238008928, 0.0631028116, 0.0338981636, -0.0071913959, 0.0013110642, 0.0251853783, 0.0235056859, 0.0184699185, -0.0822953507, -0.0274795517 ]