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/2407.00407v1
http://arxiv.org/pdf/2407.00407v1
SHADE: Semantic Hypernym Annotator for Domain-specific Entities -- DnD Domain Use Case
2024-06-29T11:21:40
2024-06-29T11:21:40
Akila Peiris, Nisansa de Silva
cs.CE
cs.CE, cs.CL
Manual data annotation is an important NLP task but one that takes considerable amount of resources and effort. In spite of the costs, labeling and categorizing entities is essential for NLP tasks such as semantic evaluation. Even though annotation can be done by non-experts in most cases, due to the fact that this requires human labor, the process is costly. Another major challenge encountered in data annotation is maintaining the annotation consistency. Annotation efforts are typically carried out by teams of multiple annotators. The annotations need to maintain the consistency in relation to both the domain truth and annotation format while reducing human errors. Annotating a specialized domain that deviates significantly from the general domain, such as fantasy literature, will see a lot of human error and annotator disagreement. So it is vital that proper guidelines and error reduction mechanisms are enforced. One such way to enforce these constraints is using a specialized application. Such an app can ensure that the notations are consistent, and the labels can be pre-defined or restricted reducing the room for errors. In this paper, we present SHADE, an annotation software that can be used to annotate entities in the high fantasy literature domain. Specifically in Dungeons and Dragons lore extracted from the Forgotten Realms Fandom Wiki.
[ 0.0390508994, -0.0086130006, -0.0131748458, 0.0713322386, 0.0056300159, 0.0122209955, 0.0054864236, -0.016317172, -0.0066523966, -0.0833737552, 0.0193053931, 0.0306341406, 0.0264817532, -0.0440312214, 0.0068143969, -0.0482322127, 0.0431185663, -0.0168419406, 0.0032080449, 0.019037107, 0.0183112044, 0.0513823144, -0.0362284444, 0.0499452762, -0.0489980988, -0.0659279153, -0.0139828352, 0.0098145967, 0.0251910128, -0.0734913498, 0.0054785563, 0.0094156694, -0.0074580233, 0.0616779663, 0.0000018665, -0.0716142207, -0.0158262718, 0.0235027075, -0.0096108383, 0.0021630786, -0.0267635565, 0.0105750896, 0.0024267025, -0.0556792654, 0.0307928286, -0.0268160198, 0.0810566097, -0.0006175245, 0.0715532377, 0.0165317748, -0.0025622349, -0.0180935916, 0.0034635938, 0.0157098416, 0.0135017456, -0.0120000122, -0.0100154234, 0.0644786134, 0.007758067, -0.0084487144, 0.02311657, 0.0372883901, -0.0464649238, 0.0090055913, 0.0101813087, -0.0252528135, -0.0222858656, 0.0004789243, -0.0000546249, 0.0433263555, 0.0537062287, 0.0018195496, 0.0032858532, 0.0089494158, -0.0298056081, 0.0575434528, 0.0046289847, 0.003196147, -0.0300520211, -0.0286291018, 0.0405533165, 0.0120411571, 0.0367386304, 0.0053539234, -0.0081169335, 0.051400356, 0.0182636939, 0.0004093834, -0.0356367268, 0.0074626235, -0.0420776457, -0.0854556635, -0.0003052437, 0.0253064428, -0.0171090607, 0.0137389386, -0.0290321503, -0.0297777187, 0.0549162813, -0.0184626207, -0.008495301, 0.0190759208, -0.0015938197, 0.034299247, 0.0399537608, -0.018847635, 0.0562573224, -0.0203560982, 0.042577479, 0.0005629222, -0.0274363719, -0.0129379118, -0.0735530108, 0.0308307, -0.022836782, 0.0154755758, -0.0269366335, -0.0183910392, -0.0288560949, 0.058406543, 0.033075776, -0.0480491482, -0.0214303862, 0.0218725391, -0.0669779778, -0.0233668294, -0.0330303349, 0.0249432661, -0.0224053934, -0.0094076041, 0.029309541, 0.0081888139, 0.0318015218, -0.023755243, -0.0060400846, 0.1194307208, 0.0659100413, -0.0025158476, -0.0471752211, -0.0748748332, 0.0250525959, 0.0037999332, -0.0436375625, -0.0647480339, -0.0139672561, -0.0117974998, 0.048505567, -0.0351262204, 0.0244008601, 0.0098239202, 0.0084480485, 0.0762204081, -0.1290899515, -0.0076260879, 0.032379292, -0.0100160623, -0.0473224632, 0.0176433455, 0.085971877, -0.031037597, 0.0503442213, 0.0183625948, -0.0104781128, 0.0202027149, -0.0507088713, -0.0491454713, 0.0058762715, -0.0281036403, -0.0102889491, 0.0451201163, -0.040469937, 0.0312938355, -0.0340082943, -0.0049964539, 0.0275676791, 0.0474349372, 0.0615766943, 0.0133682964, 0.066324763, 0.0211941563, 0.008229496, -0.0174031872, -0.0309623759, 0.0002571033, 0.0356405526, 0.0058225705, -0.0270778127, 0.0092378734, 0.0447526686, -0.0316740237, -0.0517566055, -0.0022946936, -0.0260791704, -0.015504986, 0.0229481421, 0.0042593922, 0.0268445313, 0.0641212389, 0.045498278, -0.0194612816, 0.0208237804, 0.0408331901, 0.0283427723, 0.0891531855, 0.0351893567, -0.0675375164, -0.0457783677, -0.0341685824, -0.0191035159, 0.0429362357, -0.0037494774, -0.072784476, 0.0258046389, -0.0185136944, -0.0009207258, -0.0265618339, 0.0099334512, 0.0290727243, -0.0373278819, 0.0085799471, 0.002122836, -0.0308292918, -0.0447812378, 0.0226364173, -0.0103743151, -0.0354616232, -0.0794677958, 0.0235276762, -0.0356644206, 0.056326665, -0.0384618379, -0.0092792967, 0.008480886, -0.0195675846, -0.0164865367, -0.0141186584, 0.0378822088, 0.0143347392, 0.0843662992, -0.064949505, -0.0038101017, -0.047614187, 0.021486979, -0.0249541551, -0.0384484567, -0.0134435389, 0.0320703015, -0.002125557, 0.0100065107, 0.0098231798, -0.0287019946, -0.0444665067, 0.0345329046, 0.0332875811, 0.0218974035, -0.0589681566, -0.0244703349, 0.0387192108, 0.020244658, -0.0340527147, 0.0030441582, 0.0124904448, 0.0269474909, 0.0121949352, -0.0214507896, -0.0065310681, 0.0098476205, -0.0150472075, 0.0275662374, 0.0174543299, 0.0316190012, -0.0178767256, 0.0046227258, -0.0248697754, 0.005900979, -0.0014051248, 0.0110139251, -0.0405713692, 0.009157002, 0.0479944125, 0.026796259, -0.0208271481, 0.0067056273, 0.0242272802, -0.0286496058, 0.0374926105, 0.0337422937, -0.0276333876, -0.0399151109, -0.0264350493, -0.09799698, -0.0014265215, 0.0465925708, 0.0067060473, 0.0290243812, 0.0065204203, 0.0006662543, -0.0532049686, -0.0331060216, 0.0161477029, 0.0536780134, -0.0404460616, -0.0186869334, -0.0225692932, 0.038465254, 0.0198015142, 0.0244156774, -0.000662233, 0.0253122188, 0.0626439154, -0.0318449922, -0.0037361498, -0.0209064949, 0.0527714416, -0.0240449179, 0.015735615, 0.0067343987, -0.0286533702, 0.0079134861, 0.0523762964, 0.0100293085, 0.0188630689, 0.0591262169, -0.0375523008, 0.0253304895, -0.0012455042, -0.0059582847, -0.0374697298, 0.0402831919, -0.0528342091, 0.0240730885, 0.0601198599, -0.0545766503, 0.0098278597, 0.0517028235, 0.0837417841, -0.0045796032, 0.0530382246, -0.0391729251, 0.0047131297, -0.015827952, 0.0305093415, 0.0089885546, 0.0118067767, -0.0587160699, -0.0153132714, -0.0209254976, -0.0055037206, 0.0087118549, 0.0193880126, -0.0399019308, 0.0259945057, 0.0441666394, -0.0184048321, -0.0141675323, -0.0090821236, 0.0043735434, 0.0057443827, -0.0019720139, 0.0194740482, 0.016923314, 0.0348102115, -0.0899882019, -0.050883282, -0.0098398281, -0.0039954227, 0.014290533, -0.0973152816, -0.0607423745, -0.0226503704, -0.004291262, -0.0824922696, 0.0414763317, 0.0790550038, 0.0468924008, -0.0098237591, 0.0385614671, 0.0104454681, -0.0043213894, 0.0497830622, -0.0288754776, -0.1695494652, 0.0013283319, -0.0077527347, 0.0326968133, 0.0138541637, -0.0705151707, 0.0140569843, -0.0346988067, -0.0146419611, -0.0090229688, -0.0310550146, 0.0111604081, -0.0082848128, 0.0065995771, -0.0245306473, -0.0252948832, -0.0371651314, 0.0221434943, 0.014972399, 0.010456685, -0.0170414541, -0.0059238179, -0.0083615687, -0.0746802539, 0.0538489036, 0.0336721949, 0.0624104813, 0.0352823958, -0.0323617496, -0.0519709848, 0.0099466033, -0.0192100424, -0.0103776492, 0.0423578657, -0.0249084197, -0.0121773314, -0.0113778431, -0.018095348, -0.0112037016, -0.0614076816, 0.0110729812, 0.0577916428, 0.0193337835, 0.0379239284, -0.017898256, -0.0196201596, 0.0458358377, 0.0559792183, -0.0037681495, 0.0027278226, -0.012012748, -0.0420531519, 0.0135769537, -0.0143672721, -0.0352138355, 0.0064164125, -0.050474301, 0.0040295338, -0.0782397687, -0.055358436, 0.0448870175, 0.0552003831, 0.0640926734, 0.0223299637, -0.0031532592, 0.0169128943, -0.0253327079, 0.0157037284, -0.024329301, -0.0027656178, 0.0261778552, -0.0246840082, 0.0381241702, 0.0044186995, 0.0187609028, 0.037936572, -0.0103837932, -0.0142975971, 0.0106877005, 0.0071053635, 0.0239970442, 0.017984679, -0.0235112626, -0.0472696126, -0.0389634781, 0.0068728002, -0.0610955916, -0.0255288724, -0.0138142994, 0.056971442, -0.0100059742, 0.0239792112, -0.042489212, 0.0289568137, -0.0434166677, 0.0448273309, -0.0141292354, -0.0339672714, 0.0064643272, 0.0114599206, 0.0078729754, -0.0731990337, 0.0007804389, 0.0005998107, 0.0047948738, -0.0219380111, -0.0596679375, 0.0043290318, 0.0219980255, -0.0293200836, -0.0227976628, -0.0066343327, 0.004861454, 0.0301525686, 0.0414702557, -0.0727581754, 0.0190339964, 0.0599373281, 0.0088706277, -0.0239199828, 0.0105341105, -0.0100068161, -0.0094740074, -0.0360979922, 0.0613965429, -0.0264467858, -0.0174186435, 0.0233748499, -0.0251561645, -0.0155169517, -0.0219570044, 0.0028339848, 0.0011321034, 0.009547458, 0.0119318636, 0.0615965798, 0.023403611, 0.0688258708, -0.0221316963, -0.0300137382, 0.048872754, 0.0279791113, 0.0130134933, 0.0002021328, -0.0153282182, 0.024221167, -0.0154679269, -0.004194696, 0.0099896528, -0.0121689476, 0.0442243963, 0.0167552177, -0.0646306276, -0.0560414009, 0.0011191228, -0.0387836471, 0.0380905829, -0.0245825741, -0.0079779131, -0.1160343736, -0.0417694822, 0.0273593608, 0.0386298597, -0.0029859121, 0.0069682309, -0.0153793842, -0.0082702003, 0.0319135562, -0.0401236825, -0.0186951905, 0.005952178, -0.0342604555, -0.0016783987, -0.0101384372, -5.227615865e-33, -0.0792429, -0.0174884945, 0.0117525328, 0.0033033071, -0.0362299122, -0.0201642085, -0.0086678322, -0.0012983787, 0.0341584012, 0.0427019857, 0.0378782339, -0.0197196063, 0.0125707472, -0.0359684862, 0.0244330429, -0.0128698032, 0.0273410063, 0.0301966649, -0.0368010029, -0.0188756045, 0.0534067154, -0.0250181779, 0.0858079642, -0.1336684227, 0.0751580298, 0.0118203908, -0.0174866412, 0.0146110337, 0.0392856933, 0.0563446395, -0.0026026685, 0.0289628729, -0.0087195644, 0.0255886894, 0.0052676196, -0.0265102126, -0.0908192992, -0.0303060636, 0.0153095098, 0.0228346121, 0.0288034398, -0.0487516113, 0.0100799548, 0.0004240857, 0.0204062704, -0.0043835505, 0.0475569181, -0.0217410531, -0.0081815971, -0.039027594, -0.0879280865, 0.0283036809, -0.0224529896, 0.0148839224, 0.0219973288, -0.0008783658, 0.0477163978, -0.0135346884, -0.1025768369, -0.0237467177, -0.0045476826, -0.0383145623, 0.0227374434, 0.0310534704, -0.0158077423, 0.0853877887, -0.0177009683, 0.02756113, 0.0273383819, 0.0825897381, -0.0048120967, 0.0134590501, 0.0229871459, 0.0482302718, 0.0001020182, 0.0241106823, -0.0367307365, 0.0290154163, -0.048098702, -0.0265466683, 0.0079311049, 0.0025457952, -0.0393515788, -0.0133495983, -0.0513697155, 0.0017038216, -0.0034843637, -0.027859414, -0.019733509, -0.0645551383, -0.0337831303, 0.1057759598, -0.0287985913, -0.0352963805, -0.0556068681, -0.0249957815, 0.0242845789, 0.0419483222, -0.0468370058, -0.0055760834, 0.0403957628, 0.0094854357, 0.0127280699, 0.0249981005, 0.0692844316, 0.0176591538, 0.0145817576, 0.025290871, -0.0329743959, -0.010840212, 0.0163066052, 0.0081195813, -0.0431354344, 0.0153563013, 0.0548394658, -0.0480755009, -0.0014458902, -0.0014911491, 0.0453897268, -0.0248217881, 0.0065496019, 0.0374884643, -0.0120440759, -0.0316834599, -0.0159782786, -0.0029671169, 0.0001941942, -0.0424718671, 0.0400497839, -0.0118086915, -0.0052246097, -0.0436126404, 2.492e-7, 0.0358929746, 0.012577069, 0.0459417328, 0.0151449647, -0.0012633826, -0.0003497225, 0.0160416234, 0.0019240957, -0.0416361913, -0.0673664063, -0.0102448687, -0.0347306244, 0.0170583669, 0.0555790104, -0.0577016138, -0.0705970973, 0.0279544368, 0.0150441779, -0.0606652275, 0.0354622714, 0.0641288012, 0.0119739212, 0.0576854125, -0.0272692721, -0.0241080411, 0.0068322667, -0.0031514913, -0.0153556122, 0.0311474968, 0.0648123771, 0.0170395616, 0.0252450854, 0.0184003916, 0.0093023395, -0.0082266219, 0.0208908189, 0.0208132267, 0.0183897931, -0.0346797071, 0.069153361, -0.0197452679, -0.0571837984, 0.0524929278, -0.0339705311, 0.0170500614, 0.0351300947, -0.0386252142, 0.0037530889, -0.0314499699, 0.0021393308, -0.0342246667, -0.0218771864, -0.0105138933, 0.0129659818, 0.0094946725, 0.0151822297, -0.0113991788, -0.0726602152, -0.0122147482, 0.0612302385, 0.0143553847, -0.0371963233, 0.0303489119, -0.0291434284, -0.0284267869, -0.0577863231, -0.0053676427, 2.138598913e-34, -0.0404401682, -0.0137687167, -0.0155565441, 0.0662462935, 0.0571504608, 0.0077539189, 0.025587704, 0.0074453992, 0.0234811269, -0.0059523871, 0.0174738206 ]
http://arxiv.org/abs/2407.00402v1
http://arxiv.org/pdf/2407.00402v1
Is It Really Long Context if All You Need Is Retrieval? Towards Genuinely Difficult Long Context NLP
2024-06-29T11:09:47
2024-06-29T11:09:47
Omer Goldman, Alon Jacovi, Aviv Slobodkin, Aviya Maimon, Ido Dagan, Reut Tsarfaty
cs.CL
cs.CL, cs.AI
Improvements in language models' capabilities have pushed their applications towards longer contexts, making long-context evaluation and development an active research area. However, many disparate use-cases are grouped together under the umbrella term of "long-context", defined simply by the total length of the model's input, including - for example - Needle-in-a-Haystack tasks, book summarization, and information aggregation. Given their varied difficulty, in this position paper we argue that conflating different tasks by their context length is unproductive. As a community, we require a more precise vocabulary to understand what makes long-context tasks similar or different. We propose to unpack the taxonomy of long-context based on the properties that make them more difficult with longer contexts. We propose two orthogonal axes of difficulty: (I) Diffusion: How hard is it to find the necessary information in the context? (II) Scope: How much necessary information is there to find? We survey the literature on long-context, provide justification for this taxonomy as an informative descriptor, and situate the literature with respect to it. We conclude that the most difficult and interesting settings, whose necessary information is very long and highly diffused within the input, is severely under-explored. By using a descriptive vocabulary and discussing the relevant properties of difficulty in long-context, we can implement more informed research in this area. We call for a careful design of tasks and benchmarks with distinctly long context, taking into account the characteristics that make it qualitatively different from shorter context.
[ 0.0499108806, -0.013815213, -0.0128332358, 0.0155712422, -0.0813289434, 0.0206585191, 0.0214131586, -0.0227659252, -0.0391790047, -0.05360898, 0.0010862506, -0.0560349151, 0.0377987064, -0.0073258877, -0.0074912417, -0.0812061727, 0.0149447639, -0.0082311863, -0.0226389915, 0.0070650512, 0.0053610797, -0.0154993227, 0.0413566381, 0.014271399, -0.0081341537, -0.0071943193, -0.0093711354, -0.014741566, -0.0181482434, -0.0223037768, 0.0130789876, 0.0108000785, 0.0369726419, -0.0044098389, 0.0000018729, -0.0709602386, -0.0389379896, 0.0100385798, -0.0284414422, 0.0049530873, 0.0638962686, -0.0443215258, 0.0268981773, -0.0070121707, -0.0118335327, -0.0085189808, 0.0134839574, 0.0346870683, -0.0124081075, 0.047126621, -0.0099443514, -0.066754058, 0.0120123737, -0.0410655215, 0.0365802608, -0.0750935003, 0.0189533234, 0.0056411214, 0.0600717403, 0.036714267, -0.0345490351, 0.0464202315, 0.0280508455, 0.0319035761, 0.0007383036, 0.0295682997, -0.0219657458, 0.0252566542, 0.0216297936, 0.0445169024, 0.0191359501, 0.0011616354, 0.0029062971, 0.0282075573, -0.0075493176, 0.0118681137, -0.086383678, 0.0474453717, -0.007137896, 0.0113692274, 0.0533793606, 0.0373849608, 0.0154534271, 0.0138316676, -0.0635684729, 0.0289588962, -0.0094157662, -0.0509225838, -0.0283910129, 0.004514209, -0.0346502215, -0.0526824333, -0.0029742774, 0.0380289853, -0.0038401796, 0.0337613076, 0.0013644517, -0.0127893602, 0.051905442, -0.0228357129, -0.0220189318, 0.0055634915, -0.0273478087, 0.0841490254, -0.0263824277, 0.0202315152, -0.0041711782, -0.0359317511, -0.035541106, -0.0261456184, -0.0511624292, 0.0043408652, -0.0541690141, 0.0296122935, -0.0446264483, -0.0349515453, -0.0178351067, 0.0112388078, -0.0126474332, 0.0034394374, -0.0104256868, 0.0019324278, -0.0367322229, 0.0122698862, -0.0027494668, 0.0070807557, -0.0633048117, 0.0035016246, -0.0015414383, 0.0009326108, 0.0138943344, 0.0002353812, 0.016243495, -0.0391087271, -0.0078097894, 0.0440812968, 0.0162560865, -0.0485495515, -0.0382394269, -0.0299544893, -0.0689328313, -0.053842213, -0.0146124763, -0.0764187947, 0.0100011379, 0.0321176238, 0.0033259348, 0.0011457289, -0.0309764333, 0.008095704, -0.0378715396, 0.0860373899, 0.0489592031, 0.0131023331, 0.0441438928, 0.0287454575, 0.0299177151, 0.0727337524, -0.0146135706, 0.0035241628, 0.06160089, 0.0180058833, 0.0132356696, 0.0058263629, 0.0136449859, 0.0140658962, -0.0023978732, 0.0231483765, 0.0045434027, -0.0183571596, -0.0107230498, 0.068513684, -0.0324362405, -0.0032473705, 0.0204809401, 0.0753169358, 0.0577326678, -0.0034751059, 0.033318907, -0.0195854027, -0.0403850749, 0.0748797134, -0.0210471284, -0.0012272091, -0.0280282814, 0.0408316776, 0.0502214357, 0.0032862315, -0.0309522804, -0.0442677401, -0.0349009857, 0.0040294095, 0.0404008217, 0.0219558813, 0.0615829676, 0.002335656, -0.0008959871, 0.0135751795, -0.0005521132, -0.0522509217, 0.0379079692, -0.0128935734, -0.0014394325, 0.037759494, 0.0406121835, -0.0573416725, -0.0001900416, 0.0237761345, 0.0300165452, -0.005654458, 0.032493066, -0.0282473788, 0.0058122608, -0.0103202574, -0.038501326, -0.019329004, 0.0143442331, -0.0141285378, 0.0532452576, -0.0005962792, 0.0412456766, -0.0364957303, 0.0017294083, 0.0175125655, -0.0581843406, -0.0187391676, -0.0281391218, 0.0207688361, 0.0028511456, 0.0315708965, -0.0010072991, 0.0287299585, 0.0344936885, -0.0695877969, -0.0040536267, 0.0007041326, -0.0701215044, -0.0197753645, 0.0238652211, -0.025735043, 0.0317420065, -0.0264471732, 0.0126970746, -0.0702031255, 0.0234224293, -0.019522313, 0.0629311055, 0.0013224051, 0.0390794724, -0.0041902345, -0.0020204431, -0.0866967887, 0.098233968, 0.0238749161, 0.0394861773, 0.0280322377, 0.0289897695, -0.0048404182, -0.0441880561, -0.0478446893, 0.0373791568, 0.0322673582, -0.00316969, 0.072897166, -0.0438670218, -0.0443841554, -0.0258940198, -0.1265009344, 0.0116169835, -0.0526590496, -0.0000192764, 0.0175268631, 0.0339639597, -0.0045762071, 0.0041066618, -0.0521968529, -0.0303011555, 0.0054219197, 0.0680799335, 0.0172686148, 0.0622049756, -0.0069201961, -0.0490528382, -0.0510054715, 0.0158754736, 0.0638263673, -0.0240960997, -0.0353789739, -0.0314498432, 0.060251601, 0.0008712522, -0.0030469641, -0.0386018008, 0.0473258719, -0.0053754267, -0.0353637151, 0.07202553, 0.0356142446, 0.0108151296, 0.0131621035, 0.0130490763, -0.0391816497, -0.0265349168, 0.0039931, -0.0342176072, -0.028254522, 0.002032602, -0.0094019892, 0.0175191257, 0.0132562565, -0.0086147701, -0.0136176515, -0.0127711976, 0.0087345773, -0.0663122982, 0.0192587525, -0.0507390276, -0.0300026778, 0.0007087476, 0.0630706325, -0.0580507442, -0.0154375928, 0.0454113372, -0.0160639659, 0.025236696, -0.0381962135, -0.0352710262, -0.0897493139, 0.1154443696, -0.0175299682, 0.007833953, -0.0201001633, -0.0293683428, -0.0112055093, -0.0053610238, 0.003441893, -0.0206489079, 0.0981323123, -0.0156929195, 0.0393951759, -0.0258273873, -0.0448480099, -0.0114678917, -0.0123549663, 0.0065791872, 0.0219064504, 0.0326657258, 0.030790085, -0.0152203664, 0.031449914, 0.0418460555, 0.0474476516, -0.010658402, -0.01358339, -0.0037733756, 0.0543751903, 0.0293569565, 0.000287738, 0.0213279184, -0.0367021337, 0.0234029964, 0.0364900082, 0.0527924821, -0.0024451814, -0.0037438807, 0.0041034315, 0.016531527, -0.0478350893, -0.0626910999, -0.0017647729, 0.0495259017, -0.0788314566, -0.0264249649, 0.0991463214, 0.0279840864, -0.0594668649, 0.001228616, -0.0097971866, 0.0054369457, 0.0141812451, -0.0067898738, -0.0574861281, -0.0017246663, 0.0274102651, 0.0070016263, -0.0181804989, -0.0338102728, -0.011965001, -0.0890220329, 0.0149118584, -0.002764567, -0.0496759787, -0.015451828, -0.0522200987, 0.0243555699, 0.0011243954, 0.0397766456, 0.029082628, -0.0495039411, -0.0057752607, -0.0070593106, -0.0135491295, -0.0197851546, 0.0266974065, -0.02255252, 0.0172355957, 0.0310207009, -0.0008214865, 0.0092879944, 0.0360986069, 0.0559443086, -0.0679189712, 0.0204830319, 0.0106160399, 0.0498753674, 0.0010736251, 0.0052604759, -0.0072483439, -0.0000473672, -0.0292433277, -0.0152884768, -0.0011469526, 0.0550604351, 0.0130227841, 0.0224148445, -0.0466006473, -0.0248816665, -0.0021847612, 0.0994459167, 0.0237509757, -0.0168658756, -0.0474897549, 0.0066981423, 0.0090160975, -0.0203402918, -0.0038351072, 0.0206854716, -0.02457349, -0.0004913989, -0.0539727882, -0.0776292384, 0.0285242349, 0.0397802852, 0.0036615387, 0.0608058088, -0.0125807822, 0.0050959438, -0.0612467714, 0.0102508115, -0.0268048067, 0.0212459471, -0.0269831326, 0.0259744469, 0.0469618142, -0.0244770292, 0.0227176379, 0.0163845848, -0.067252025, -0.0553792305, 0.0097477334, -0.0209203884, 0.0258553904, 0.0438461788, 0.022641981, -0.0415046662, 0.0471877307, -0.0102623003, -0.0100620789, 0.0368888676, 0.0079830708, 0.0475912616, 0.0035098717, 0.0324042477, -0.0786162615, 0.0218262076, -0.0148346918, 0.0448892638, -0.0454078801, -0.0140912225, 0.0168495011, -0.0122532025, -0.0009581776, 0.0015313294, -0.0249592233, -0.01514869, -0.0341682509, -0.0478383601, -0.035957396, -0.0051084557, 0.000978891, -0.0059596403, 0.0197784007, 0.0120404996, 0.0557959564, 0.0202675834, 0.0493272133, -0.0868264958, 0.0324086063, -0.0107385209, -0.0361034647, -0.0179953855, 0.0306584556, -0.0354218148, -0.0201463457, -0.0502873249, 0.0250348803, -0.0195911806, 0.0281943176, 0.0307674725, -0.0006921768, -0.0438744687, 0.018929163, -0.1027202606, 0.0323346741, 0.0077410201, 0.0141148884, 0.0560047217, -0.0637530014, 0.0433072113, -0.0007649579, -0.0199365746, -0.0198547691, -0.0195749942, 0.0454173498, -0.0192032903, -0.0228998046, 0.0708308294, -0.0041131172, 0.0455813482, 0.0861656368, 0.0015624221, 0.0264348164, 0.0375317596, 0.0043820599, -0.0094958236, -0.0088477982, 0.0024070048, 0.0551705547, 0.0046741613, -0.0204628557, -0.0684503242, -0.0421640128, 0.0284382645, -0.0128096221, -0.0093805855, -0.0228733253, 0.0343112126, 0.0887010843, 0.0314712971, -0.0015843121, -0.0379271284, 0.0180718023, -0.0220049266, 0.0147246607, 0.0036112654, -6.0694579e-33, -0.0152623095, -0.0421113782, 0.0132288672, -0.0303090159, -0.0527383275, 0.0577350892, -0.0246365424, 0.015352862, -0.0106803933, -0.0086692059, -0.036499396, 0.0010475552, -0.0031825891, 0.0214249138, -0.0076547358, 0.0071555343, 0.0357437581, 0.0342807546, -0.0034098492, 0.0176249091, 0.0737283379, 0.0099319452, -0.0040915245, -0.0558972694, 0.0455102324, -0.024469452, 0.0286686048, 0.0014372711, 0.0497318432, 0.0663381815, -0.0183349121, 0.0492437743, 0.0675791204, -0.0824594796, -0.0325065143, 0.0406749249, -0.1185273752, -0.0126187801, 0.0283735134, -0.028355848, -0.0233548861, -0.0293906666, 0.0565195717, -0.0147768939, 0.0107484134, -0.0211581383, 0.0344112031, -0.040753115, -0.0481825024, -0.020554645, -0.037197765, 0.0259461347, 0.0112004103, -0.0096094711, 0.0666023344, 0.0057538948, 0.0030073996, 0.0383731201, -0.0515648313, 0.0025775258, -0.0251682829, 0.0537938848, 0.0304724444, 0.0379367396, 0.0221875291, 0.0368327163, 0.0062743528, 0.0202805363, -0.0314095952, -0.062147148, -0.002526965, 0.0072174938, -0.0094302306, 0.0352767892, 0.0588513464, 0.0026370191, -0.0376519673, 0.0063839923, 0.0018988148, 0.0040465035, 0.0275098309, 0.0202831775, -0.0628467202, -0.045833841, -0.0419361666, 0.0277688857, -0.018476937, 0.0026914463, 0.0225315262, 0.0426265225, 0.0053868117, 0.010180166, 0.0277601648, -0.037791416, -0.0178071503, 0.0296272226, 0.0125308866, 0.0360866413, 0.0006856171, 0.0056501594, -0.0113071529, -0.0074637798, 0.0021656882, 0.0296812728, -0.025310969, -0.006799168, 0.0361479037, 0.0010015728, -0.0421553217, -0.0245627686, -0.0211649016, 0.0210284498, -0.0372094139, 0.0240638033, 0.0429093316, 0.0341628231, 0.0121690137, 0.07048022, 0.0497697592, -0.0029512455, -0.0182974171, -0.0174425282, -0.0208206195, -0.0187731907, -0.0092842365, -0.0068296888, -0.0093387431, 0.0561214946, 0.0600635, -0.0257095601, -0.017350778, 0.0066919364, 2.524e-7, 0.0333990119, 0.0279269777, 0.0772694349, -0.004183352, 0.0363207385, -0.011998645, 0.0112898452, 0.0054838513, -0.0420939326, -0.0262789261, 0.0006792033, 0.0284405053, 0.0319426656, 0.0258076619, -0.0600986779, -0.0136626102, -0.0345720798, -0.0021947934, -0.0469208658, 0.0291404389, 0.0596240908, 0.0842320397, -0.0196443014, 0.0105124181, -0.0443833061, -0.0701558068, 0.0465535633, -0.0640634075, -0.013020169, 0.0107073123, 0.0045279562, 0.0541635342, 0.0191194303, -0.0075591579, 0.0200370196, 0.0334722549, 0.0307098422, 0.0304461867, 0.0192126781, -0.0737771913, 0.0023639465, -0.0235392302, -0.0176763665, -0.0517171361, 0.0851923302, -0.0699588656, -0.0145633304, -0.0177459512, -0.0166840479, 0.0313371532, -0.017045876, 0.06062603, -0.0049820128, 0.0136638964, -0.0054284916, -0.0036255128, -0.0167066678, -0.1351965666, -0.0128427614, 0.0405285135, -0.0243263002, -0.0316825323, -0.0187466219, -0.0209448338, 0.0117359459, -0.0654767081, -0.0120843081, 2.570690433e-34, 0.0687957704, -0.0127850687, -0.013776253, -0.0149079906, -0.0114667416, -0.0480481498, -0.0582381748, -0.0083794557, 0.0241828747, -0.0846372768, -0.0268696025 ]
http://arxiv.org/abs/2407.00396v1
http://arxiv.org/pdf/2407.00396v1
A Study on Effect of Reference Knowledge Choice in Generating Technical Content Relevant to SAPPhIRE Model Using Large Language Model
2024-06-29T10:46:01
2024-06-29T10:46:01
Kausik Bhattacharya, Anubhab Majumder, Amaresh Chakrabarti
cs.CL
cs.CL, cs.AI
Representation of systems using the SAPPhIRE model of causality can be an inspirational stimulus in design. However, creating a SAPPhIRE model of a technical or a natural system requires sourcing technical knowledge from multiple technical documents regarding how the system works. This research investigates how to generate technical content accurately relevant to the SAPPhIRE model of causality using a Large Language Model, also called LLM. This paper, which is the first part of the two-part research, presents a method for hallucination suppression using Retrieval Augmented Generating with LLM to generate technical content supported by the scientific information relevant to a SAPPhIRE con-struct. The result from this research shows that the selection of reference knowledge used in providing context to the LLM for generating the technical content is very important. The outcome of this research is used to build a software support tool to generate the SAPPhIRE model of a given technical system.
[ 0.0094647892, -0.02280939, -0.0288633201, 0.0122197783, -0.034195099, -0.0231462643, -0.0342055373, 0.0115052862, -0.0454461761, -0.041883193, 0.0057986211, 0.063700147, -0.032829009, 0.0196363237, 0.0294456054, -0.0440651365, 0.0382493138, -0.0051900367, 0.0029827484, -0.0089375852, -0.0063331556, -0.0143934852, 0.0060060122, 0.0260867402, -0.0305302683, -0.0336741135, 0.0029390189, 0.0550710112, 0.0000383101, -0.0554082282, -0.0260524098, 0.0271806233, 0.0140782036, 0.0147306118, 0.0000022132, -0.0729006752, -0.0324828401, 0.0248238165, -0.0111437254, -0.0089668278, 0.0298872292, 0.0292125195, 0.0233996715, 0.0081731342, -0.0118270479, 0.0501472466, 0.0043156408, 0.0817104504, 0.024956435, 0.0221268535, -0.0086057149, -0.0694747642, 0.0390993915, 0.0542462766, 0.0079480149, 0.0067102569, -0.0104215769, 0.1235018, 0.0862712786, 0.0357791521, 0.0059122955, 0.0311206281, 0.0113109695, -0.013248262, 0.069188714, -0.0098390011, -0.0300347339, -0.0041757151, 0.0338100195, 0.0588955656, 0.0625189096, -0.0463268198, 0.0220793486, 0.0030891495, 0.0156274866, 0.0564616844, -0.0668606982, 0.0084062004, -0.0124080023, -0.0089728776, 0.0340706818, -0.0093360981, 0.0198105257, -0.025732033, -0.0045443173, 0.0337811075, 0.0106863612, -0.0350483842, -0.0010155103, -0.027129693, 0.0809572041, -0.0258960463, -0.0283450447, 0.0280852877, -0.0662335828, 0.0023854603, 0.009715315, 0.0262715574, 0.0278618, -0.088886857, -0.006200444, 0.0149518289, 0.0085703256, 0.0216443352, -0.0406344943, 0.0174223855, -0.0226227995, 0.0239487868, -0.0460763052, 0.0086295726, -0.0729609802, -0.0497499816, -0.0419118851, 0.056216754, -0.0408254825, -0.0220499653, -0.0514642186, 0.022204468, -0.01816638, 0.0290267747, -0.0476242118, 0.0145942084, 0.0112578534, -0.0127709731, -0.0255083404, -0.0388581641, -0.0217416231, -0.0217873268, -0.0111057358, -0.0550064221, 0.0189234726, 0.0063695223, -0.0244795512, 0.0324255899, -0.0323253386, 0.0562321693, 0.058988601, 0.0087498454, -0.0922688097, -0.061968457, 0.0478942953, -0.0401821509, 0.0166593064, -0.0363802016, -0.0489349104, 0.0202331915, -0.0040034358, 0.0055845361, 0.016879892, -0.0069093918, 0.0028269573, 0.0199956261, -0.0683423802, 0.0170024503, 0.0399750285, 0.0171513651, 0.0134390965, 0.0314567648, 0.0117475316, 0.0115970299, -0.0026437575, -0.0207589362, 0.0589314215, -0.0063688965, -0.0406275131, -0.0337506942, -0.0711404532, 0.0109579107, 0.0193370543, -0.0047487319, -0.0353420042, -0.0001612093, -0.0501350984, 0.0862091631, 0.0136891343, -0.0275806878, 0.0798671842, 0.0916286036, 0.0161568038, 0.0186194014, 0.0019863027, 0.0391293615, -0.011137791, 0.0747748464, -0.0204831734, 0.0281721167, 0.0402199104, -0.014083459, -0.0311829541, -0.0563445948, -0.0125732645, 0.0130549306, -0.0464146733, -0.0338427126, 0.0356259532, 0.0138283223, -0.0479422547, 0.0357436277, 0.0233443249, -0.0185748264, -0.0121686384, -0.005946361, 0.0343783833, 0.1006839946, 0.0612225458, -0.0721694529, 0.0243850909, -0.0178877711, -0.0321289077, 0.044184614, 0.023271203, 0.0027965272, -0.076167278, -0.0446495228, -0.0284711421, -0.0468170755, -0.0070195142, 0.0234901905, -0.0608128272, 0.0166356545, -0.0065969261, 0.0504793264, -0.0752006322, 0.0030528484, -0.0156316161, -0.03469285, -0.0567170568, -0.0304483883, 0.0100495936, 0.0479811952, -0.0377764702, 0.0667050779, 0.0535047501, -0.0387938544, -0.0245432314, 0.0292667784, -0.0218532253, 0.0661103055, 0.0195870735, -0.070548065, 0.0444242992, -0.0087282043, 0.0386487134, -0.0676569045, 0.0619275905, -0.0452295989, 0.0641203523, -0.0196230691, 0.0245117825, -0.0015630386, 0.0008512812, -0.0077713518, 0.0670767128, 0.0153354565, 0.033176329, 0.0291935112, -0.0008008296, 0.0473453589, -0.0448813401, 0.0170137864, 0.0496753268, -0.0101996036, 0.0113212196, 0.0547193252, -0.0744288415, -0.0323668569, 0.0136653539, -0.0027489739, -0.0548747778, 0.0079326788, -0.0089961365, 0.0149846561, -0.0285418294, -0.0102697266, -0.0018072746, 0.0109785106, 0.0201475993, 0.0011052721, -0.0193840787, 0.0138098607, 0.0015406323, -0.0379433744, 0.0115328673, -0.004562051, -0.0209109094, 0.0432170071, 0.0766927525, -0.0488196164, -0.1276421398, 0.0493377298, 0.0003626643, -0.034509629, 0.0042322297, 0.0254161153, 0.0024050612, -0.02386095, 0.0432725511, 0.0087944064, -0.0063650729, -0.0067949514, 0.0348538458, -0.0463677011, -0.0400256142, -0.0045786309, -0.0225229245, 0.0412980914, 0.0296402611, -0.0316292644, 0.0089390865, -0.0265091844, 0.0006990554, 0.0202179346, -0.0065313284, 0.0240005217, -0.0208703335, -0.0282569714, 0.0257330686, -0.0595568977, -0.011405793, 0.0452097356, 0.0008912555, -0.0641731247, 0.0188554153, -0.0127695622, 0.0276596621, -0.0200795867, 0.0157613158, -0.0142248664, 0.0082006212, -0.0327574499, 0.0299202856, 0.0263589323, 0.000086388, -0.0244700629, -0.0281476639, -0.0127972979, -0.0083760945, -0.0420333445, -0.0252993964, -0.0145319859, 0.0068862732, 0.0359467939, -0.0475460887, 0.0199193116, 0.025360696, 0.0473270975, 0.0086975144, 0.0374834463, -0.0541343242, 0.0154899657, 0.0563833639, -0.0165462513, 0.0242407843, -0.0377860367, -0.0163137652, -0.0035627407, 0.0152612068, -0.0564171821, 0.0661084056, -0.0112375272, 0.0255418997, 0.0136940889, -0.0081744669, 0.0220554713, -0.0338947177, -0.0392126404, 0.0219991133, -0.0024255039, -0.0565389954, 0.0218060836, -0.0295491256, -0.0076991403, 0.014527794, 0.0422261246, 0.0217409134, -0.0435178466, 0.0218673609, -0.0847415999, -0.0362162739, 0.0374369435, 0.0223161764, -0.0722706839, 0.0564472526, -0.0258040316, 0.0095583368, -0.0167081878, -0.0101621076, -0.0102496259, -0.0353342891, 0.0422529653, 0.0113448864, -0.0060447431, -0.0064497096, -0.0070485952, -0.0475337319, 0.0595703647, -0.0496352799, 0.0317398161, -0.0028082316, -0.0195937175, 0.0301079955, -0.0373752303, -0.0426027216, -0.0441634767, 0.0190029647, -0.0004054519, 0.0621374659, 0.0415386744, -0.0353415757, -0.0627304614, 0.0038196573, 0.0289105456, 0.0575030707, -0.0401496589, -0.034932375, 0.0433997214, 0.00518989, 0.0091389148, 0.0209052563, 0.0044126483, -0.0264381878, -0.0090599051, 0.044550132, -0.017924875, -0.0252969619, -0.0465916023, -0.0182739608, 0.0109355757, 0.0341644138, -0.0039849575, 0.0255231373, -0.0291574169, -0.0055846744, 0.0387690701, 0.0453825481, 0.0066799726, -0.0337950252, 0.0096193198, 0.0242453646, -0.062611714, -0.0133539997, -0.0390973166, 0.0448662154, 0.0150741935, 0.054575827, -0.0116796158, -0.0274511073, -0.0254579335, 0.0164915565, -0.0363340154, -0.0058144769, -0.0113658886, -0.028921403, 0.0345959254, -0.0752377138, -0.0027145424, 0.0218993407, 0.1032028124, -0.0389791466, 0.0009430925, 0.0605268106, 0.0360808261, -0.0123567991, 0.0154479071, -0.0279401168, 0.0360069834, 0.0099955648, -0.0093168858, 0.0353355259, -0.0317657106, 0.0295465477, -0.0103589511, -0.0459103212, -0.0303176735, -0.0068795364, 0.0061654244, 0.0198693834, 0.0110387849, 0.0017019651, 0.0182570759, 0.0572054684, -0.0318897776, -0.0340178013, 0.0278233904, 0.0154610723, 0.0331347957, -0.0470180549, -0.0079990719, -0.0321040079, 0.0265979599, 0.0155212684, -0.0202831589, 0.0516044386, -0.0417737029, -0.0465540588, -0.052861549, -0.0193554014, -0.0043113334, 0.0285856165, 0.0389206931, 0.0123793064, -0.0412048921, -0.0175489038, -0.0367822386, -0.0178234577, 0.0447230898, -0.0139610628, 0.0757331103, 0.0312376805, -0.0031079908, -0.0318022147, 0.0011181054, -0.018925067, -0.0892433077, -0.0159325562, -0.0088274684, 0.0352852903, 0.0257487558, 0.0092648594, -0.0507095903, 0.0315927081, 0.0093269609, 0.0406608135, 0.0461555906, -0.0095343404, -0.0253350697, 0.0353947468, -0.0269553494, -0.0486250445, 0.0519053861, 0.0141608277, -0.0258066151, -0.09555161, -0.0328531973, -0.039077308, -0.0118426792, -0.0244577564, 0.0286657885, -0.0288839936, -0.0226518959, -0.1192727834, -0.0069405702, 0.042807959, 0.0050148228, 0.0281530488, -0.0293508712, 0.0510145649, 0.0551962852, 0.0099974303, -0.0681392252, 0.0254872628, -0.0137096811, -0.0112939356, -0.0009320736, -0.019819878, -6.096310599e-33, -0.0276452508, -0.0447625555, 0.0554374494, 0.0002457546, 0.001245647, -0.0233467314, -0.0247297361, -0.0117067518, 0.0126227783, -0.0073343813, 0.0052772937, -0.0275690034, 0.0082882345, -0.0318239294, 0.0029419041, 0.0335962623, 0.0495921932, 0.0284085218, -0.0278563481, 0.0454387031, 0.0517221838, 0.0115804654, 0.0342454351, -0.1130005494, 0.0469516926, -0.0718953386, 0.0376624241, -0.0308999736, 0.0051606619, 0.0001853804, -0.041664727, 0.0098534031, 0.0066915546, -0.047488872, -0.0257671326, 0.0190454889, -0.019586049, -0.0270467922, 0.0363363475, -0.0081753973, 0.0097128768, -0.0455042124, 0.0320965685, -0.0111127263, -0.0122814346, 0.0472783782, 0.0480424762, -0.0031737646, -0.0522196367, -0.0107381819, -0.103814505, 0.002681945, -0.0199853107, 0.055545263, 0.0007323772, 0.0034952722, -0.0235640462, 0.0103972228, -0.0141270822, 0.0317789912, 0.0098611554, -0.002620595, 0.0563700795, 0.0017741761, 0.0682160631, 0.0437284112, 0.0607132018, 0.021751279, -0.0116238138, -0.0482255071, -0.009703638, 0.0618467517, 0.0544514209, 0.0099990685, 0.0084773814, -0.0230013039, -0.0524728373, -0.0114384145, -0.0763533115, 0.0690418109, 0.0849583298, 0.0182686914, -0.0356358401, -0.0320773609, 0.0247074738, 0.0346318595, -0.009627142, -0.0156073039, 0.0238180943, -0.0045641251, -0.0213919487, 0.0140344119, -0.0008519929, -0.0389411822, 0.0289093368, 0.0417819098, 0.0277289245, -0.0043184748, -0.0295449067, -0.0431576185, -0.0391906537, -0.0215784181, -0.0268025231, -0.0064122272, 0.0411159247, 0.0217212178, -0.0215160362, -0.0084828567, -0.0120202666, 0.0107754245, -0.0222676452, -0.0388066359, 0.0446275771, -0.0991161838, 0.0229237713, 0.0231183674, 0.0010854092, -0.0078977123, 0.0087767914, 0.0151442494, 0.0303572305, -0.0220030863, -0.0145470779, 0.0266188998, 0.0239130277, 0.0064821681, -0.0338842794, 0.0516140014, 0.0551773682, -0.0142596364, -0.029564051, 0.0477254204, 3.063e-7, -0.0252657291, 0.03112722, 0.0040119351, 0.034503296, 0.019275859, -0.0287014339, 0.022436453, -0.0305519383, 0.0476322137, -0.0065841293, -0.0086786151, 0.0052918987, 0.0221128799, 0.0150400214, -0.0986073092, -0.0322518572, 0.011913605, -0.0043550846, -0.0198977273, 0.0083788028, 0.0824505538, -0.0398465097, -0.0001608324, -0.0235226788, -0.0404043496, -0.0587726869, 0.0486467034, -0.0076273908, 0.0449288115, 0.0573418103, 0.0281303711, 0.027289642, -0.0135332281, 0.0523044243, 0.0106226271, -0.0159437768, -0.0027446386, -0.0266923066, 0.0046391077, 0.0103832381, 0.0513029471, -0.029852394, 0.005821621, -0.0382437482, 0.00277249, 0.0181875974, -0.0013219879, 0.0581675954, -0.0878378227, -0.0287850574, -0.0088723479, -0.0123729324, 0.0433131047, 0.009317074, -0.0486636981, 0.0159703717, -0.0087218182, -0.0234355628, 0.0294481236, 0.0340033695, -0.0114004621, -0.0616742149, -0.0027115766, -0.0132610369, -0.0093444325, -0.0275159329, 0.0273139477, 2.837190155e-34, 0.0200552177, -0.0067198859, 0.019203892, 0.0645854697, -0.0042531257, -0.0002352515, -0.0029932829, 0.0303070042, 0.026227437, -0.0666618347, -0.0137177808 ]
http://arxiv.org/abs/2407.00390v1
http://arxiv.org/pdf/2407.00390v1
Advancing Process Verification for Large Language Models via Tree-Based Preference Learning
2024-06-29T10:09:49
2024-06-29T10:09:49
Mingqian He, Yongliang Shen, Wenqi Zhang, Zeqi Tan, Weiming Lu
cs.CL
cs.CL
Large Language Models (LLMs) have demonstrated remarkable potential in handling complex reasoning tasks by generating step-by-step rationales.Some methods have proven effective in boosting accuracy by introducing extra verifiers to assess these paths. However, existing verifiers, typically trained on binary-labeled reasoning paths, fail to fully utilize the relative merits of intermediate steps, thereby limiting the effectiveness of the feedback provided. To overcome this limitation, we propose Tree-based Preference Learning Verifier (Tree-PLV), a novel approach that constructs reasoning trees via a best-first search algorithm and collects step-level paired data for preference training. Compared to traditional binary classification, step-level preferences more finely capture the nuances between reasoning steps, allowing for a more precise evaluation of the complete reasoning path. We empirically evaluate Tree-PLV across a range of arithmetic and commonsense reasoning tasks, where it significantly outperforms existing benchmarks. For instance, Tree-PLV achieved substantial performance gains over the Mistral-7B self-consistency baseline on GSM8K (67.55% to 82.79%), MATH (17.00% to 26.80%), CSQA (68.14% to 72.97%), and StrategyQA (82.86% to 83.25%).Additionally, our study explores the appropriate granularity for applying preference learning, revealing that step-level guidance provides feedback that better aligns with the evaluation of the reasoning process.
[ -0.0003130142, 0.0687456578, 0.0177154765, 0.0285266042, -0.0574310943, -0.0072347857, -0.0226445477, -0.0084005352, 0.0013427355, -0.0415349156, -0.0041082394, -0.0326846801, 0.0012750278, 0.0075524505, -0.0112216184, -0.0324639529, 0.0423861556, -0.0558692291, 0.0464361869, -0.024955431, -0.0283846948, 0.0432942733, -0.0210482888, 0.0165059045, 0.0131375985, -0.0579398982, 0.002124656, -0.0247970838, 0.0271555223, -0.0508902743, -0.0054979557, 0.0522229485, 0.0152095398, 0.0461992323, 0.0000025879, -0.0712517351, -0.0093016922, 0.0041125151, -0.0937915593, -0.0024313868, -0.0055313827, 0.0548898689, -0.0174277294, 0.0353416689, -0.0241841599, -0.0146224843, 0.0235957056, 0.0270407386, 0.0720579177, 0.06321197, 0.00641162, -0.0674776584, -0.0099177063, -0.0253574066, -0.0051063253, -0.036624793, 0.0211065691, -0.0094865784, 0.0237142686, 0.0389573313, 0.0217266306, -0.0184865445, 0.0397332162, -0.0195784923, -0.0487175509, 0.0537435785, 0.0187992789, -0.0030873746, 0.018878324, 0.0768564194, 0.0003408853, -0.0497256257, -0.0247736517, -0.0270767286, -0.0413999446, -0.0037144243, -0.0272996109, 0.0342401452, -0.0170555972, 0.0160502438, 0.0468592159, -0.0293403491, 0.0368740372, 0.0254456662, -0.0841194391, 0.0998256058, -0.0075159427, -0.0367980935, 0.0561270341, -0.0049364101, -0.0286575034, -0.0827024132, 0.0024679813, 0.0160790607, -0.0744566545, 0.0159031712, 0.0065907622, 0.0431443304, 0.0027465939, -0.0309411399, 0.0379799642, 0.0511704572, 0.0053038783, 0.0438976623, -0.0233024247, 0.0381762572, -0.0018971411, 0.0441224575, -0.0215698835, 0.0253838934, -0.0375120118, 0.0075922348, -0.0046981205, 0.0377663746, -0.0360748284, 0.0124375913, -0.0375201888, -0.0003116756, -0.0261943061, 0.0653721392, 0.0752332285, -0.0196124297, 0.0353497304, -0.0289974511, -0.0607672036, 0.0446331054, -0.0273876432, 0.0265647229, 0.0232529677, 0.0124482913, -0.0039541093, 0.0019797983, -0.0241826009, -0.0224522855, 0.0401378721, 0.0259143319, 0.0025884295, 0.0036300221, -0.0197748318, -0.003117403, 0.0049804957, -0.1054736525, 0.0007525797, -0.0790930539, -0.0018385838, -0.0021832604, 0.0047173649, 0.0051685735, 0.0084003508, 0.0458143689, -0.0021908935, 0.0756879821, 0.0279767495, -0.0003599211, -0.05060618, -0.0029216877, -0.0214882288, 0.0387015007, 0.0331817195, 0.0111814961, 0.0198881775, -0.0313659608, -0.0200222097, -0.0039473302, -0.0168056879, -0.0372743383, 0.0018964737, 0.0286050178, -0.0288231373, 0.0073098838, 0.0076649156, 0.0244397391, -0.0516855158, -0.0257323012, 0.047957141, 0.0425189734, 0.0121967355, -0.0344261602, 0.0341187082, 0.0146606946, 0.0099039152, -0.0119968588, -0.0802388936, 0.0002687371, -0.0402647033, 0.0096633499, -0.0567187481, 0.0067135394, -0.0061534271, -0.0589424632, -0.0171104837, 0.0247328449, 0.0154197635, 0.0395086184, 0.0620875582, -0.0002033356, -0.0578813739, 0.025850933, 0.0103916489, -0.0509056598, -0.0306129139, -0.0500545092, 0.0527557433, 0.0814950839, 0.044975251, -0.0065529486, -0.0038398087, -0.009855181, -0.0112652211, 0.0039332788, 0.0240298938, -0.0363022536, -0.0053164102, -0.0647305027, -0.0320720077, -0.0033249129, 0.0102614462, -0.0028396235, 0.0366767459, -0.0111018522, -0.003160635, -0.0382809713, 0.0063488088, 0.0177873988, -0.0035695443, -0.0231342148, 0.0480700582, 0.0148266992, 0.0414391086, 0.0109077953, 0.0030074085, 0.0250391271, 0.0257978439, 0.0182949286, -0.0177273937, 0.0200119019, -0.0696893334, -0.0432080217, 0.0549376123, 0.0402992442, -0.0475767888, 0.0201360956, -0.0454420522, -0.0160507429, -0.0180406347, -0.0117529752, 0.0072480142, -0.0300502665, 0.0543791763, -0.0013298029, -0.0501794703, -0.029638119, 0.0941554308, -0.0164481532, -0.0107921455, -0.0232797544, 0.0024711445, 0.0194620937, -0.0198465232, 0.0220252927, 0.0509588644, -0.0077459668, 0.0229720883, 0.0004312736, 0.0180014558, -0.0334635898, 0.0072593153, -0.0710437, 0.0139606874, -0.0167802684, 0.0532219745, -0.0004388002, -0.0199471861, 0.0173512679, 0.0007365132, -0.0006939069, 0.0073022279, 0.021690039, 0.0243791509, -0.0086940713, 0.0055357791, -0.0171802156, -0.0229883045, -0.0265398156, -0.0480135977, 0.0305341426, -0.0385966636, 0.0525780618, -0.0421135426, 0.0210414212, -0.0024779218, 0.0057241609, -0.0096706692, 0.0193506535, 0.0469176508, -0.0309356824, -0.01727622, 0.073480092, -0.0088845333, -0.0088896742, 0.0570312738, -0.0269182175, -0.0699318424, 0.0143087143, -0.019758543, 0.0020444754, -0.0167620387, 0.002483116, -0.0227522887, 0.0864736587, -0.0363491252, 0.0120062418, -0.0274048913, 0.0055219363, 0.0066792015, 0.0082425587, -0.0153596168, -0.0263705458, 0.008139153, 0.0598576702, -0.0264380649, -0.0244129244, 0.0946066827, -0.0327361561, 0.0057599409, -0.0830397904, -0.0010505087, -0.0077233668, 0.0517200641, 0.0097174486, -0.0041232076, -0.0038401671, 0.0126779657, -0.0346330442, -0.0324424803, 0.0609609559, -0.0440984406, 0.057268355, -0.0632476285, 0.0246775784, 0.0143163474, -0.0692496672, -0.0528698973, -0.0069292444, -0.0345190391, 0.035889443, -0.0217519291, -0.0318831913, 0.0071745561, 0.0000103365, 0.0124956537, 0.0506663211, 0.016472755, -0.0271476712, -0.0199934114, -0.0013871939, 0.0036157852, 0.004907677, 0.0661204979, -0.0081432695, 0.0471242629, 0.0459057763, 0.0836684927, -0.0075260592, -0.0295174271, -0.0014478345, 0.0220777839, -0.0608437136, -0.0074124583, 0.0245380886, 0.0255189836, -0.068751134, -0.0026086497, 0.1079763398, 0.0323768631, -0.0184150282, -0.0058058538, -0.0441409759, 0.0217015408, 0.0254992582, 0.0373230539, -0.0690781772, -0.0402601324, 0.031233374, 0.0423810594, 0.0111312615, -0.0315756351, 0.0176652484, -0.1432898939, 0.0363793857, -0.0030044222, -0.0282037575, 0.0000732521, -0.0814009532, -0.0026035402, -0.0406217687, 0.0017616892, 0.0216669999, -0.0071505965, -0.020548515, 0.0043912153, -0.0122012151, -0.0563318133, 0.079383269, -0.024743963, -0.0154542765, 0.081999667, 0.0074548554, 0.0249717534, -0.0714671686, 0.0362923332, -0.0266693737, -0.0294480231, -0.028022809, -0.0150554329, 0.0001754936, 0.0150540015, -0.0167026296, 0.0361736901, -0.0286177043, -0.0325075835, 0.0064915451, 0.1034483612, -0.0106768962, -0.0435932316, 0.022161657, 0.0078326268, -0.024601832, 0.0499168225, -0.0128830355, -0.005175753, -0.0676772445, -0.0472543687, -0.0317231193, -0.0030445696, -0.0472458526, 0.0205047913, 0.0162703972, 0.0136539359, -0.0177116264, -0.0058520683, 0.0532917641, 0.0642964467, -0.0426524319, -0.0090248585, 0.0158460755, 0.0071509699, -0.0497311912, 0.0443164371, -0.0565075278, 0.059350308, -0.045286499, 0.0349957719, 0.0217670389, 0.0198460184, -0.0284697823, 0.0097564897, -0.025753377, -0.0399783738, -0.0600750856, 0.072165966, 0.0223340634, 0.066523917, -0.0345674977, -0.0031987929, -0.0100938836, -0.0129910596, -0.0183697268, -0.014646736, 0.0444465652, -0.0140460152, -0.0091978256, 0.0090556517, -0.0031629936, 0.0059677535, -0.004254696, 0.0638163909, -0.0415620469, -0.0368015841, 0.0538936034, 0.0166764967, 0.0191040821, 0.0138121704, 0.0146238729, -0.0445951521, 0.0625353381, -0.0250936691, -0.0218034703, 0.0065369662, -0.0060870671, 0.0303619467, -0.0350407287, -0.0055376771, -0.0419735238, -0.0185605157, 0.0108708031, 0.0005565873, 0.0271099415, 0.0433585495, 0.0496292338, 0.0401033424, -0.0470961444, -0.011390334, -0.0455752462, 0.0390555598, 0.0611412302, -0.0056688222, 0.0855122656, 0.0252266396, -0.0039351201, -0.0044278409, -0.0067398325, -0.01263972, -0.0939954668, -0.0096770525, -0.0272556245, 0.0573930517, -0.0149448393, 0.0218203943, -0.0347454101, -0.0093257912, -0.0338746347, 0.0020153336, 0.0166664626, -0.0219104867, 0.0005443649, 0.0481596887, -0.0000053685, 0.0036624041, 0.0276554935, 0.0021628633, 0.0402169079, -0.0118724611, -0.0155291669, -0.0363008901, -0.0848437399, -0.0772055089, 0.0654319674, -0.0162620693, -0.0216778014, -0.0711628273, -0.0925484151, -0.0254046042, 0.0193354301, 0.0062362365, -0.0084724147, 0.0251830295, 0.071368143, -0.009999508, -0.0286411401, -0.0128127886, -0.0416864082, -0.0129814763, -0.0033141826, -0.0592671894, -6.366320182e-33, -0.0029015266, -0.0241996367, 0.0487544015, -0.0288344994, -0.0016439168, -0.0368147455, -0.0484108403, -0.0094965911, -0.0100602685, 0.0369509012, -0.0183989462, -0.0022982708, 0.0200080369, -0.0077189659, 0.0248814858, 0.013087092, 0.0647620559, 0.013750989, -0.0451909006, -0.0008393123, 0.0359290168, -0.044338651, 0.0476496108, -0.0684396401, -0.0077958545, 0.0587963946, -0.0133424159, 0.0522277243, -0.0981898308, 0.0697427839, 0.0249608085, 0.0133315325, 0.005694652, -0.0458861105, 0.002690196, -0.0185111165, -0.0822570324, -0.018584894, 0.0206888393, -0.0146609833, -0.0266251713, -0.0087196557, 0.023585109, 0.0096761975, -0.0217536129, -0.010755959, -0.0121141272, -0.0244163182, -0.0164898783, 0.0164131764, -0.0416514352, 0.0275738966, -0.0011751244, -0.0146032181, -0.0018554215, 0.0464973859, -0.0143237626, 0.0003192308, -0.0702339783, 0.0304237176, -0.0044997255, 0.0015552477, 0.0834276602, -0.0116897253, -0.0010100723, 0.0316678211, 0.0232921522, -0.0197740421, -0.0039456701, 0.0113104349, 0.0127276378, 0.0648540258, 0.0531552844, -0.0033965243, 0.0284457952, 0.0176330823, -0.0673674792, 0.0242185518, 0.0292483717, 0.0758208409, 0.0302928928, 0.0115098497, -0.040106874, -0.0287589785, -0.0652527958, -0.0009504134, -0.0506895743, -0.0156244328, 0.0274454262, 0.024288116, -0.0200396031, 0.0070554866, 0.0185699835, -0.0279145613, -0.0612088442, 0.0429112054, -0.029773403, 0.0172316488, -0.0162557457, 0.0385836847, -0.0640505776, -0.0218408182, 0.0115990471, -0.0475593768, -0.0064434549, 0.0310841203, 0.0092701595, -0.0055540875, -0.0499782041, 0.0060934043, -0.0421594791, 0.0058793146, -0.0120618697, 0.0573443696, 0.0586385876, 0.0215850081, 0.0333496779, 0.0635994226, -0.0117720217, -0.0087122321, -0.0079021528, 0.0263564605, -0.006271027, 0.0184689183, 0.0293196533, 0.0077119018, -0.03014897, -0.0069814711, -0.0221500769, -0.0199401677, 0.0195663925, 0.0081400545, 3.116e-7, 0.0073280726, 0.0584285781, -0.0258325264, 0.0371884108, -0.0125975432, 0.0581794418, -0.0078736749, -0.0644455329, 0.0276957024, -0.0633467659, -0.0047825417, 0.0291726608, 0.0290702302, 0.0451343916, -0.0606737062, -0.019244466, -0.0171932653, -0.0153981587, -0.0502851754, -0.0179787744, 0.0240140818, 0.0709801167, 0.0352764502, -0.013139531, 0.0243950132, 0.0227984767, 0.0499593392, -0.0177220386, 0.0083767092, 0.0038251316, 0.0143020209, -0.0313309617, 0.020153258, 0.0260711722, -0.009110379, 0.040024247, -0.0629355013, 0.0910342336, -0.0136687327, -0.0125545077, -0.0080950875, -0.0282842182, 0.0220876895, -0.0515413247, 0.0821942538, -0.0477623865, -0.0308001824, -0.0221959967, -0.0107643204, -0.036879696, 0.0254562795, 0.0037075577, -0.0140526872, 0.0034548668, -0.0000494911, -0.0026111784, -0.0138346115, -0.0748343915, -0.0134518472, 0.0298751071, -0.0041459231, -0.0393991619, -0.0015208707, 0.0320385434, 0.0329249464, -0.0311755501, 0.0041466528, 3.33733545e-34, 0.0345827192, 0.015300856, 0.0255439393, 0.0175658092, 0.0519443974, 0.0218024123, 0.0036829293, 0.0180594008, 0.0354833901, -0.0641613603, 0.0011772277 ]
http://arxiv.org/abs/2407.00379v1
http://arxiv.org/pdf/2407.00379v1
GraphArena: Benchmarking Large Language Models on Graph Computational Problems
2024-06-29T09:19:23
2024-06-29T09:19:23
Jianheng Tang, Qifan Zhang, Yuhan Li, Jia Li
cs.AI
cs.AI, cs.CL
The "arms race" of Large Language Models (LLMs) demands novel, challenging, and diverse benchmarks to faithfully examine their progresses. We introduce GraphArena, a benchmarking tool designed to evaluate LLMs on graph computational problems using million-scale real-world graphs from diverse scenarios such as knowledge graphs, social networks, and molecular structures. GraphArena offers a suite of 10 computational tasks, encompassing four polynomial-time (e.g., Shortest Distance) and six NP-complete challenges (e.g., Travelling Salesman Problem). It features a rigorous evaluation framework that classifies LLM outputs as correct, suboptimal (feasible but not optimal), or hallucinatory (properly formatted but infeasible). Evaluation of 10 leading LLMs, including GPT-4o and LLaMA3-70B-Instruct, reveals that even top-performing models struggle with larger, more complex graph problems and exhibit hallucination issues. Despite the application of strategies such as chain-of-thought prompting, these issues remain unresolved. GraphArena contributes a valuable supplement to the existing LLM benchmarks and is open-sourced at https://github.com/squareRoot3/GraphArena.
[ 0.031203296, 0.052695632, -0.0065073608, 0.0514647327, -0.0620819665, -0.0249543097, -0.023230372, 0.0105393557, 0.0683572888, -0.0089247925, -0.001500381, -0.0395700857, 0.0132155754, 0.0295873377, 0.0325403102, -0.0036412003, 0.0183798485, -0.0608581752, 0.0079902653, -0.0284548029, -0.0031116195, 0.0181526523, 0.0228961892, 0.0163734034, -0.0073544611, -0.023566246, 0.0009192435, 0.005235075, -0.0173816364, -0.0370829701, -0.0258078128, 0.0430491567, -0.0099607231, 0.0892053768, 0.000002229, -0.0344399288, -0.0239022672, 0.0026261047, -0.0128329741, 0.0571809337, 0.0595559515, -0.0003975198, 0.0278981812, 0.0362364314, -0.0295242947, -0.0107863639, 0.0463998914, 0.0180073623, 0.0328443162, 0.0672611147, -0.0158994254, -0.0136330472, 0.0491990298, -0.0203836467, -0.0012505028, -0.0480908863, 0.0320600793, 0.0489514172, 0.0284372885, -0.0246707052, -0.0435837135, 0.0362384133, 0.0002330586, 0.0051559363, 0.0435595363, 0.0124425488, -0.0478412993, -0.0047039799, 0.0044517606, 0.1110766828, -0.0068953759, -0.0393783301, 0.0011303133, 0.0042427443, -0.0350844078, 0.0255245361, -0.0261051189, -0.0257787146, -0.0061213411, 0.0214479901, 0.0000977564, -0.0530170128, 0.081725508, -0.0090793511, -0.024407262, 0.1082888693, 0.0299879722, -0.0022275839, 0.0276957992, -0.0144580808, -0.0425644591, -0.0414304845, 0.0327530205, 0.000984904, -0.0343556963, -0.0101297591, 0.0044726077, 0.0258821659, 0.008013729, -0.0431978665, 0.075866051, -0.0019155557, 0.039065633, 0.0506571196, -0.005456429, 0.0548494607, -0.0488387868, 0.0339817293, -0.043359343, -0.0146883335, -0.0515798181, 0.0112722227, -0.0474090166, 0.0193447676, -0.0074630836, -0.0437500067, -0.028690448, 0.0330792628, -0.0131506706, 0.0090952851, 0.0229455736, -0.0157681946, 0.0465960465, -0.0273365006, -0.0090510743, 0.0287358165, -0.0160673074, -0.0063668685, -0.0308619849, -0.0156163471, -0.008507831, 0.0050718021, 0.012622131, -0.018697096, 0.0247682985, 0.0857735425, 0.022607686, -0.0439603627, 0.0106193246, 0.0061584334, -0.0241927393, -0.0839427486, 0.0069076209, -0.0954918787, 0.0448631458, 0.0411697999, -0.0042201173, -0.0546718799, 0.0217323378, -0.0262976531, -0.0441413857, 0.0640028864, -0.0007381369, 0.0400719456, 0.0163964834, -0.0157002248, 0.0037035143, 0.0155987768, 0.0473905951, 0.0102796815, 0.0313937105, 0.0063192719, 0.0199837126, 0.0638018548, 0.0245854203, 0.0174948201, -0.0095462808, -0.0007859448, 0.0234349873, 0.0404366069, -0.0353008322, 0.1041622534, -0.0245267507, -0.0100274729, 0.0363420062, 0.0483163521, -0.0061059496, -0.0040846658, -0.0098350588, 0.0263946801, -0.0065887962, -0.0371112861, -0.0489767417, 0.0016308044, -0.0427309126, 0.0170685761, 0.0412072502, -0.0042327465, 0.0048357742, -0.0006947778, -0.0174512845, -0.0102316234, 0.0473273546, -0.0082554454, 0.0356689356, -0.0412269719, -0.0913338512, 0.0291849617, 0.0250793491, -0.027595941, -0.0273744334, -0.0122538628, -0.0212438777, 0.089710027, 0.05828996, -0.0115772309, -0.0224752296, 0.0288668815, -0.011633453, 0.0254830644, 0.046625305, -0.0209662449, -0.0099348519, -0.0526074618, 0.0005222781, -0.0061409208, 0.0038217162, 0.0052602999, 0.0427262597, 0.0122141428, 0.016617246, -0.0709797591, -0.052278012, 0.0003603512, -0.016776016, 0.0164512265, -0.0369039103, -0.0282115638, 0.0121522425, 0.0318022519, -0.0263426546, 0.0358502977, 0.0165972617, -0.0274219457, 0.0086491192, -0.0322925039, 0.0009905787, -0.0108928923, 0.0698800981, -0.0320955515, -0.012085476, 0.0537500754, -0.0255001504, -0.0205869209, 0.0414028801, -0.0574356057, 0.0413781032, 0.0065018442, 0.0391183868, -0.0380547382, 0.0187582429, 0.003428048, 0.0522858836, -0.0115255136, 0.0270344689, -0.0026451291, -0.0053490819, -0.0001867203, -0.0301600825, -0.0300360993, 0.0465048142, 0.0361096673, 0.02755077, 0.0367924385, -0.007457417, -0.0282899328, -0.0184768457, -0.1039102077, 0.0096540675, 0.0004142803, 0.0328394212, -0.0136596309, 0.0102648679, -0.0098848315, 0.0105557656, -0.0396207869, 0.0650027469, 0.0071969717, 0.0140212793, 0.0199517142, -0.0317495689, -0.0656128302, -0.0618562102, -0.0558394529, -0.0317827985, 0.0662832335, -0.0024175954, -0.0569398887, -0.0000937257, 0.0615149103, -0.0527138002, 0.0262320284, -0.0176083427, -0.015568913, 0.0066033565, -0.0263957158, 0.0704612285, 0.0205314253, -0.0153437098, -0.0258765742, 0.0649634823, -0.0276691373, -0.0177721065, -0.0120167322, -0.0444310978, -0.0094779702, -0.0399992578, -0.0590310581, -0.0430669934, 0.0446685478, -0.0000149159, -0.0238525365, -0.0464621037, -0.0268586557, -0.0450725928, 0.0157256629, -0.0139427343, 0.00333299, 0.0187965203, 0.0176764913, -0.0496600904, -0.0369212329, 0.0707855597, -0.0545680225, -0.0001728639, 0.0344684869, -0.0188477356, -0.0539929792, 0.0837776586, 0.0727702305, 0.0293378141, -0.0226811953, 0.005679368, -0.0193175711, -0.0058450946, 0.0155020207, -0.0465898328, 0.0130097754, -0.0233516209, 0.044764325, 0.0187401921, -0.021884039, 0.0098958695, 0.0158388689, -0.0570927635, 0.0025562781, 0.0451410674, -0.0545368791, -0.0044185403, 0.0224421062, -0.0018359228, 0.0361119173, 0.0054102922, 0.020362895, -0.0198533796, 0.0287308488, 0.0389293768, -0.037849199, 0.0563008934, -0.0510788262, 0.0206414964, 0.0437888987, 0.0479364134, 0.0091320444, -0.0376822986, -0.0011754966, 0.0038381401, -0.010595588, -0.0287668481, -0.0036687399, 0.0355511047, -0.0248878375, 0.0062668505, 0.0929197446, 0.0347330049, -0.043707449, 0.0243114401, -0.0115522686, 0.0357310064, 0.0292050336, 0.0226886701, -0.1004400626, -0.0037062019, 0.0018090488, 0.0088000158, 0.02096829, -0.0733818188, -0.0141936066, -0.1065239683, 0.0066285706, 0.0458791815, -0.008711501, -0.0214015301, -0.0661518797, -0.0339564681, -0.0064692516, -0.0194074493, -0.0024255209, 0.0035360781, -0.0004063614, -0.0102667324, -0.026540352, 0.0058610109, 0.0607393235, -0.0004029377, 0.0403804779, -0.0030388527, 0.037995927, 0.0146641331, -0.0359248966, 0.0641712397, 0.060917329, -0.0378783792, -0.0134454025, 0.0038529136, 0.0345092863, -0.0056348923, -0.024606023, -0.0150256315, -0.0888055861, -0.0084723625, -0.0074090767, 0.1048610359, 0.030268481, -0.0616076179, 0.0183620602, 0.0041761207, -0.0236205179, 0.0535465814, 0.0218221918, 0.0016593435, -0.0810326487, -0.0395390503, 0.0451255664, -0.0277968943, -0.0683529526, 0.0189292859, 0.0027337391, 0.022929538, -0.0338215381, 0.0094405552, 0.0346336141, -0.0006987597, -0.003007533, 0.0171893351, 0.0194396637, -0.0339667834, -0.0677311197, 0.0003479709, -0.0553877577, 0.0343054794, -0.0636913702, 0.0056049, 0.0317955613, 0.0121932179, -0.0034794877, 0.0463476926, -0.1041165963, -0.0919752792, -0.0334391557, -0.0196802076, 0.0264940094, 0.0410394222, -0.0092001352, -0.0305320546, 0.0307106208, 0.0119410763, 0.0033155533, 0.0209924318, 0.0004663753, -0.0221712366, -0.0049209571, 0.0399891473, -0.0331378914, 0.016697716, -0.0152213611, 0.0613046288, -0.0099219671, -0.0333526768, 0.0214785635, 0.0919622555, -0.0125015993, 0.0204503573, -0.0146685829, -0.0298825577, -0.0161820129, -0.0250036474, -0.0359009951, -0.0440327264, -0.0292396974, 0.0521035455, 0.00588988, 0.0128324702, -0.043467585, 0.0256507881, 0.0358578712, -0.0210451838, -0.0173759703, 0.0113201905, -0.0186005495, 0.0795281231, -0.0230759867, -0.0051806103, 0.0246025231, -0.0207006354, 0.0367124639, -0.0228922162, 0.0016011727, 0.0033398699, -0.0177485514, -0.046592772, 0.0084940838, -0.0383437872, -0.0709402114, -0.0200188942, 0.052548483, 0.0678480864, 0.0325766839, 0.056913469, -0.0379992574, -0.0048925313, -0.0419387184, 0.0243488234, -0.0101727797, -0.0394283608, 0.0143347159, 0.0286873858, 0.0099651106, 0.0504409187, 0.0650907159, 0.077746816, 0.041838292, 0.0459820218, -0.0346212052, -0.0349672213, -0.0548475981, -0.062864922, 0.0204165541, -0.0209578816, 0.027530726, -0.0552231893, -0.0734169707, 0.0077919029, 0.0197812188, -0.0025189407, -0.0165909175, 0.034346018, 0.0373616554, 0.0168330055, -0.0113637978, -0.0421249494, 0.0255962852, 0.0068553798, -0.0333233252, 0.0172363184, -6.948624084e-33, 0.0019825359, -0.0603699535, 0.0338089354, 0.0027373126, -0.0538052656, -0.0010263568, -0.0861627981, 0.0234510414, -0.0263383184, 0.0185094383, -0.0152835073, 0.0233488008, -0.0188096631, 0.0131525639, -0.0255772881, 0.0241880976, 0.0148895802, 0.0073884339, -0.0191263389, 0.0322073065, 0.0103624035, 0.0043018595, 0.0141897462, -0.03243424, 0.0041299285, -0.0359244645, -0.000016949, 0.0183980018, 0.000866141, 0.0139466785, -0.0439507589, 0.0366027802, 0.0136322407, -0.0075035808, 0.0098562008, -0.0252850149, -0.0234751087, -0.0075584436, 0.0405412242, -0.0114427637, -0.0616504662, -0.0359871015, 0.039584104, -0.0011134421, -0.0289574396, -0.0151843317, -0.0006170046, -0.0038668637, -0.0451680087, 0.0620563999, -0.0397969112, 0.0188547987, -0.0158523098, 0.0071996311, 0.0478544123, -0.0166573897, -0.0180368442, 0.0093434397, -0.0320679136, 0.0369486399, -0.0045689116, 0.0064809532, 0.0485054664, -0.0056517273, 0.0213709529, 0.0328306928, 0.0339518487, -0.0092722205, 0.0119802663, 0.0071335342, 0.0006741547, 0.082688272, 0.0184694454, -0.000935577, -0.0323346443, -0.0061520869, -0.0710843951, -0.0483414754, -0.0147632807, -0.0267675892, 0.0166807882, 0.0267190728, -0.0411795378, -0.0555774458, -0.0365036018, -0.0192656592, -0.0348729603, -0.0047660042, -0.0171185657, -0.0256212242, -0.0159744564, -0.0113128368, 0.0088322116, -0.0613797717, -0.0380173996, 0.0772417858, -0.0375848673, 0.0465272218, -0.005156151, 0.0671315044, -0.0636398569, -0.0397440083, -0.0495137163, -0.0133988168, 0.0157131311, -0.0004594161, -0.0089630233, 0.0018643589, -0.049906183, -0.0016436977, -0.0325249843, -0.0077171256, -0.012715715, -0.0060261781, 0.0471804142, 0.0157035775, 0.0080506373, 0.0389396213, 0.0492714606, 0.0413553827, 0.0242469348, 0.0534413122, 0.0012482954, 0.0166040659, -0.0072750282, 0.0032168597, -0.0637754574, 0.033929117, 0.0562461093, -0.037610855, -0.0422417782, -0.024262568, 3.007e-7, 0.047743883, 0.1004913747, 0.0583088733, 0.0435824208, 0.0322377607, 0.0122267986, -0.00815148, 0.0166702252, -0.0165932477, -0.0021310025, 0.0387069471, 0.0460775085, 0.0146121606, 0.0169349108, -0.0457356237, 0.0496097244, -0.0882198438, -0.0226072501, -0.0555549636, -0.0009686241, -0.026820356, 0.0700466707, 0.0439508855, -0.0018890749, -0.0406546481, -0.0563335977, 0.0672225133, -0.0533377938, -0.017799804, 0.0340732709, -0.0254396908, -0.0016221022, -0.0246519614, 0.0108855553, 0.0113842534, 0.001112059, 0.034754239, 0.0280816648, 0.0024776987, 0.003982502, 0.0184266996, -0.0418963693, -0.0132898809, -0.0460005514, 0.0471291989, 0.0084904004, -0.0719612166, -0.0186522938, -0.0092470851, -0.0339664258, 0.034456905, -0.0032042935, 0.0040795174, 0.0135105345, 0.0021533002, -0.0210077576, -0.0015910096, -0.0214889757, -0.0065650083, 0.0039061587, -0.0085331202, -0.0521039926, -0.0388888679, 0.03392829, 0.0022989071, -0.021816019, 0.0340761803, 3.046223815e-34, 0.0726605877, -0.0059131365, 0.0161002334, -0.0166520402, 0.0464253426, -0.0292511638, -0.0080988742, 0.0006583324, -0.0143052153, -0.1205556393, -0.0165676139 ]
http://arxiv.org/abs/2407.00377v1
http://arxiv.org/pdf/2407.00377v1
The Factuality Tax of Diversity-Intervened Text-to-Image Generation: Benchmark and Fact-Augmented Intervention
2024-06-29T09:09:42
2024-06-29T09:09:42
Yixin Wan, Di Wu, Haoran Wang, Kai-Wei Chang
cs.CL
cs.CL, cs.AI, cs.CV, cs.CY
Prompt-based "diversity interventions" are commonly adopted to improve the diversity of Text-to-Image (T2I) models depicting individuals with various racial or gender traits. However, will this strategy result in nonfactual demographic distribution, especially when generating real historical figures? In this work, we propose DemOgraphic FActualIty Representation (DoFaiR), a benchmark to systematically quantify the trade-off between using diversity interventions and preserving demographic factuality in T2I models. DoFaiR consists of 756 meticulously fact-checked test instances to reveal the factuality tax of various diversity prompts through an automated evidence-supported evaluation pipeline. Experiments on DoFaiR unveil that diversity-oriented instructions increase the number of different gender and racial groups in DALLE-3's generations at the cost of historically inaccurate demographic distributions. To resolve this issue, we propose Fact-Augmented Intervention (FAI), which instructs a Large Language Model (LLM) to reflect on verbalized or retrieved factual information about gender and racial compositions of generation subjects in history, and incorporate it into the generation context of T2I models. By orienting model generations using the reflected historical truths, FAI significantly improves the demographic factuality under diversity interventions while preserving diversity.
[ 0.0243014172, 0.0803919882, -0.0166840442, 0.0086006653, -0.0228827391, 0.0297124106, 0.0638500229, -0.0166528095, -0.0324410424, -0.0562549904, 0.0436460897, -0.1003287733, 0.0608151928, 0.0089515038, 0.0069925548, -0.066675581, 0.0451599881, 0.0286909193, 0.0086235553, -0.0116726607, -0.0408033133, 0.0599639378, -0.0120288106, 0.047304783, -0.0759493411, -0.0261489265, 0.0199524891, 0.0144730415, 0.0411818065, -0.0026881567, -0.0069280313, 0.0518283769, 0.0058737812, 0.0311825871, 0.0000021009, -0.0702694282, 0.0064176521, 0.0370159224, -0.0530360304, 0.0193412658, 0.0636142343, 0.0372114033, -0.0267302804, -0.0093885623, -0.0057035089, 0.0466881469, 0.0727067739, 0.0369570218, 0.0397876948, 0.0363335162, 0.0019945693, -0.0106546991, 0.0007112214, -0.0045988434, 0.0289264824, 0.0619765148, 0.0039113024, 0.0129151111, -0.0235184301, 0.0112256678, -0.0030832873, 0.0662433505, 0.0112963924, -0.0080135874, 0.0404192321, 0.0421202891, 0.0139554245, -0.0387870744, 0.0309825391, 0.0364710316, 0.0555826686, 0.0446907766, -0.0139885312, -0.0030673097, 0.0089349952, 0.0142440116, -0.0075441781, 0.0181163605, -0.029476922, -0.0156484805, -0.0394073948, -0.0403813496, 0.0213924013, -0.004266595, 0.012968584, 0.054132469, 0.0132880667, 0.00910242, -0.0306228641, 0.0296349972, 0.0485511683, -0.048169665, 0.0139575312, 0.000264992, -0.0137198307, 0.0087595508, -0.0255083907, -0.037662629, 0.0223849285, -0.0441005751, 0.0253715497, 0.0234394409, -0.0576258413, -0.0066577899, 0.01567626, 0.0375399925, 0.0322932787, -0.0106298113, -0.0212416872, -0.0047869263, -0.0014676823, -0.0128866741, 0.0043533761, -0.0201283637, -0.01045739, 0.0393070318, -0.0466657728, -0.0399463475, -0.04206983, -0.0022550675, -0.0264060218, 0.0455471426, -0.0739600062, 0.004198181, -0.0818270594, 0.0375952348, -0.0212337822, -0.0001179207, -0.0185019169, -0.0819688141, 0.0102090267, -0.0070667746, 0.0070645064, -0.0355986096, -0.0026509447, -0.029067412, -0.0336345285, -0.0107270041, -0.0646690205, -0.0279855132, -0.0143110612, -0.0520156026, 0.0230763443, -0.0879150182, 0.0326956846, -0.0145615246, 0.0255923774, -0.0456280336, -0.0088395439, 0.0168492254, -0.0305595454, 0.039289955, 0.043640431, 0.0046835649, 0.0754797161, -0.0022021062, -0.010359982, 0.0808122903, 0.0594413318, -0.0139550641, 0.0185175743, 0.0051928097, -0.019669598, 0.0051116194, 0.0109725455, 0.0264025256, -0.0167424921, -0.0055817645, 0.0017244099, 0.042853862, 0.082910724, 0.0303468108, 0.0226970799, -0.0253955182, 0.0725113526, 0.0316854194, 0.0155829703, 0.0221932419, 0.0847094655, -0.016924059, 0.0068731843, 0.0354205854, -0.0656587854, 0.039234221, 0.0070683281, -0.0131056644, -0.0050169979, 0.1092895716, -0.017454695, -0.0220290031, 0.02091063, 0.0123311402, 0.0168811474, -0.0003736313, -0.0032712801, 0.0113936746, 0.0037261336, 0.0547167733, 0.0302139204, -0.0330497026, 0.024846429, -0.0438848212, 0.0367135145, 0.0594725423, 0.0071907523, 0.0030423212, 0.0010307111, -0.042154111, 0.0084454175, 0.0669310689, 0.0324269198, 0.0173295438, 0.0361095108, -0.0401689894, -0.0191629343, 0.0066944608, 0.0108725633, 0.0596119054, 0.0757215917, 0.0161201786, 0.0288075693, 0.0074344333, -0.0447241142, 0.0345339701, -0.0464258716, 0.0048826593, 0.012637943, 0.0177630447, -0.0065955836, 0.0224295743, -0.0413831696, -0.0096656894, -0.0413781591, 0.0379713476, -0.0084262742, 0.0216318071, -0.0738250166, -0.0202397835, 0.0115781343, -0.086586453, -0.0585520342, -0.0054832054, -0.0136041846, 0.0139764333, 0.0084592141, -0.0505169034, -0.0363828614, -0.0029917445, 0.0031566417, 0.0094566606, 0.0148391789, 0.0040041464, 0.0663180798, -0.0213007089, -0.0595642664, 0.0157410372, 0.0030773422, -0.042149771, -0.0597459339, 0.0004417081, 0.0026910345, 0.0246787444, 0.0086850645, 0.0194753483, 0.0060655898, -0.0547331348, 0.0234084595, -0.0413156673, 0.0002566384, -0.0061946316, -0.0338448547, -0.0300560016, -0.0253774952, -0.0032446831, -0.0018632577, -0.0311502889, 0.0112446584, 0.0062490897, 0.0319571421, 0.0312520079, -0.0067542423, 0.0151270768, -0.0123447673, -0.0188919455, -0.0062546339, 0.0585210361, 0.0643470958, 0.0134521881, -0.0298566334, -0.0371474698, -0.0915628895, -0.0050032171, 0.0036203095, 0.0085713537, 0.0448215157, 0.0531443022, 0.1066797972, 0.0530841798, 0.0541013107, 0.0028261074, 0.0386767238, -0.0093679661, -0.0221675057, 0.0046197036, -0.0064215125, 0.0265909974, 0.0553930774, -0.1323516816, -0.0035961841, -0.0168532263, 0.0144577324, -0.0074891229, -0.0813369825, 0.0177128706, -0.0191664193, -0.0656851977, -0.0312982835, -0.0283515826, -0.020867385, 0.0057009272, -0.0671918243, -0.0292315893, 0.0576993749, 0.0133026326, 0.0194608197, -0.010762902, 0.0127082206, -0.0227574557, 0.0221963543, 0.0056382641, 0.0409512334, 0.0494025461, 0.0268266909, -0.0633031428, -0.0068459185, 0.0357113294, -0.0529991053, 0.0956960022, -0.0651127398, -0.0120833442, -0.0061547062, -0.0067922962, -0.0479707085, -0.0127124898, 0.0286357198, -0.021426402, -0.0097390991, -0.0113013703, -0.057356935, -0.0300006624, 0.0663462207, 0.0305364747, -0.028008407, -0.002050878, 0.0094664246, -0.0031742973, 0.0169193931, 0.0214826409, 0.0451169014, -0.044133611, 0.0040695537, 0.0180524178, -0.0617852136, -0.0170391835, -0.0153470868, 0.0056180456, -0.0127525236, 0.0219509974, -0.0249362141, 0.0168940835, 0.0689558089, -0.0293075405, 0.0104804048, 0.0529090241, 0.0205935147, -0.0171838384, -0.0116536021, 0.0080678705, 0.0009881685, -0.0120736836, -0.0131130321, -0.0627869889, 0.0516534299, -0.0066456194, -0.0004535991, -0.0552829616, -0.0497438014, -0.040449746, -0.118377544, 0.0629071146, 0.024336867, -0.0130704744, -0.0284485593, -0.0001054792, 0.016143376, 0.0141051607, 0.0287728906, -0.016482152, 0.0289047081, 0.0078216521, -0.0010911722, -0.0264323466, -0.0369308703, 0.0095762927, -0.0175416525, 0.0231511481, 0.0254261289, 0.0737444162, 0.0098638907, -0.042292431, -0.0139356432, 0.0257497709, 0.0057001933, -0.0044774371, 0.0688283294, 0.016180912, -0.0043998654, -0.0430433378, 0.0100092487, 0.0959729999, -0.0275893249, 0.0051627872, 0.0005074611, 0.0019019671, -0.0137676345, -0.034942098, 0.0359508954, 0.0142261973, 0.0632770211, 0.0363106504, -0.0146862725, 0.0428741872, -0.0648192838, 0.0516745523, -0.0691216514, -0.0395570882, 0.0229757465, -0.0464767106, -0.0458095819, -0.0611489639, -0.0219535287, -0.0066487789, 0.0147183547, -0.016630521, -0.0880015641, -0.0057832636, -0.0027740323, -0.0064621195, 0.0770421848, -0.054184828, 0.0350506604, -0.0081793042, -0.0540066175, -0.0238672215, -0.0523064733, 0.0201289821, 0.0094370954, -0.0556275509, -0.0359053686, 0.0701975599, 0.0489606783, 0.0195826609, 0.0406362191, 0.0364936665, -0.0398921221, 0.0745556206, 0.0615167171, 0.0300781522, 0.0206505824, -0.0392200574, 0.0215034448, -0.0209115203, 0.0073997532, -0.0232109055, 0.0137274694, -0.0218716972, -0.0129436236, -0.0233339537, -0.041968286, -0.0142413368, 0.0079118023, -0.0158344898, -0.058123555, -0.0182458479, -0.038501922, -0.0385702774, -0.0475434251, -0.0221295264, -0.0155151905, -0.0281174853, -0.0028518464, 0.0119744465, 0.0067838873, -0.0025094233, -0.027803259, 0.0390196592, -0.049732279, -0.0215350781, 0.0077500674, 0.0594523437, 0.0109668989, 0.0283227209, -0.0202057716, 0.050130181, -0.0587184839, 0.0486605093, 0.0224880502, 0.0592280179, 0.0117488969, -0.013063008, -0.0252294727, -0.0214088485, -0.0410961471, 0.0241136439, -0.0485736094, 0.0293376166, 0.037892472, 0.0060405773, 0.0542403385, -0.0239167083, -0.022574598, -0.0075416812, -0.0079928553, 0.0423962288, -0.0183257796, 0.0267628767, -0.0163214952, 0.0357230864, -0.0374995396, 0.0031568282, -0.0264911782, 0.0309883859, -0.0117930593, -0.0404753238, -0.0206143595, -0.0571067929, -0.003424471, -0.0576367341, 0.0037765508, -0.0077862344, -0.0931841284, -0.0532703772, 0.0263187215, 0.0131003419, 0.0165314544, -0.0191364549, 0.0187412407, 0.01035346, -0.0215602722, -0.0501277745, -0.0180830937, 0.0487932041, -0.0235345569, 0.0061207805, -0.0185023006, -6.581358506e-33, -0.0617420226, -0.0381352529, 0.0095613245, -0.0820998922, -0.0376493484, 0.0291974712, -0.0219724197, -0.0088473624, -0.0149416039, 0.0339920372, 0.0215891823, -0.0009701709, 0.0280243866, -0.0019878927, -0.0445122607, 0.0273619555, 0.0789544359, 0.0017645995, -0.0675565228, 0.0005054067, 0.0024636635, -0.0302667208, 0.0511115231, -0.0278617237, 0.0507293679, 0.0003701634, -0.0071963933, -0.0112871798, -0.0033171605, 0.0180360395, 0.0018669429, 0.0521560349, 0.0188389793, -0.0484271683, -0.0005043231, 0.0309641231, -0.0595992543, -0.029664997, 0.0240626987, 0.0024139311, -0.0270405095, -0.0461582653, -0.0086087622, 0.013059156, -0.0108617218, -0.0899472088, 0.0617656, -0.0264467373, 0.0354109854, 0.0138890808, -0.0377618484, 0.00719313, -0.0172216445, 0.0072763516, -0.0432432257, 0.0413377918, 0.0140384585, -0.01520353, -0.0703029856, 0.0148666212, 0.0641427264, -0.038962312, 0.0366682038, 0.0524331294, -0.007402454, 0.0005323636, 0.0028867084, 0.0302322507, -0.077390328, -0.0400428362, 0.0428970084, -0.0229175165, 0.0245112609, 0.1209627315, 0.0149972429, -0.0156069193, -0.024570113, 0.032615371, 0.0100902105, 0.0040703225, 0.0075213611, -0.0333165899, -0.0211696196, -0.0057906564, -0.0210994612, -0.0216948371, -0.0047424524, -0.0357345566, -0.0000241285, -0.0154513679, -0.050254751, 0.0212849136, 0.0355735011, 0.0254236162, -0.0144038191, -0.0073170811, -0.03464384, 0.0018351247, 0.012100663, 0.0023836205, -0.0267391298, 0.0380156338, 0.0857091546, 0.0619773306, 0.0281754695, 0.0291927438, 0.016613692, 0.0084126852, -0.052052319, 0.0145093659, -0.0148120588, 0.0205672532, 0.0199944545, -0.0206392426, 0.0041778013, 0.0257791299, -0.0320451222, -0.0079779467, 0.023146132, 0.0270244461, -0.0280557461, -0.0232359543, -0.0069424473, 0.0262547992, -0.0369606614, 0.0249604993, -0.010382276, -0.0055146106, 0.0686763301, -0.0280941781, -0.0352164544, -0.0311928671, 2.609e-7, -0.0022625369, 0.004706664, 0.0235254783, 0.0222127587, 0.0112261018, 0.0280278884, 0.0077514346, -0.0011459447, 0.0703645349, -0.0348746851, -0.0118845617, 0.0700467452, 0.0336185768, 0.0526962578, -0.0080231875, -0.0129208667, -0.0568935648, 0.0055332975, -0.04559578, 0.0364599861, 0.0277192723, 0.0446218848, 0.0137823643, -0.0342905298, -0.0119965542, 0.0325220749, 0.0458745174, -0.0105237057, -0.0474494137, -0.0082258554, 0.0198452193, -0.0288465712, 0.0338042453, 0.0261452422, -0.002599326, 0.0014799539, -0.0170363989, 0.0188605543, -0.0028826757, 0.0260202084, -0.0199424569, 0.0330403149, -0.0326998383, -0.058463946, 0.0476852208, 0.0404553078, -0.0293581057, -0.0650735125, -0.0519940555, 0.0479688197, 0.0443070121, -0.0387699641, -0.0570490584, 0.0211442988, 0.0056677982, 0.0059164059, -0.0138146924, -0.0361894518, -0.0254806019, -0.0144873457, -0.0303249881, -0.0828171968, -0.0067192628, 0.0124585517, -0.0299157854, -0.020948045, 0.054945875, 2.353760297e-34, -0.0038870655, 0.0283902027, 0.0183544774, -0.0741760284, 0.0241922438, 0.0022594174, -0.0009775345, -0.0280483365, 0.0423999801, -0.0095000304, -0.0188591871 ]
http://arxiv.org/abs/2407.00369v1
http://arxiv.org/pdf/2407.00369v1
How to Train Your Fact Verifier: Knowledge Transfer with Multimodal Open Models
2024-06-29T08:39:07
2024-06-29T08:39:07
Jaeyoung Lee, Ximing Lu, Jack Hessel, Faeze Brahman, Youngjae Yu, Yonatan Bisk, Yejin Choi, Saadia Gabriel
cs.CL
cs.CL
Given the growing influx of misinformation across news and social media, there is a critical need for systems that can provide effective real-time verification of news claims. Large language or multimodal model based verification has been proposed to scale up online policing mechanisms for mitigating spread of false and harmful content. While these can potentially reduce burden on human fact-checkers, such efforts may be hampered by foundation model training data becoming outdated. In this work, we test the limits of improving foundation model performance without continual updating through an initial study of knowledge transfer using either existing intra- and inter- domain benchmarks or explanations generated from large language models (LLMs). We evaluate on 12 public benchmarks for fact-checking and misinformation detection as well as two other tasks relevant to content moderation -- toxicity and stance detection. Our results on two recent multi-modal fact-checking benchmarks, Mocheg and Fakeddit, indicate that knowledge transfer strategies can improve Fakeddit performance over the state-of-the-art by up to 1.7% and Mocheg performance by up to 2.9%.
[ 0.02386708, 0.0557853542, 0.0194343626, 0.0426868647, -0.0432229079, 0.0001870279, 0.033647269, -0.0115215788, -0.0251420513, -0.065647319, -0.0032715525, -0.0343905352, -0.0180324409, 0.0382061079, 0.006060259, -0.0306286514, 0.0869539678, -0.0166160762, 0.0169941448, -0.0145760328, 0.0413103998, 0.0317471549, -0.0449151769, 0.0140349008, -0.0560065508, -0.0219163448, 0.009378274, -0.0020918851, 0.0459262021, -0.0176489931, -0.0082945516, 0.0469240658, 0.0484779477, 0.0661842152, 0.0000017966, -0.028825555, -0.0159319192, 0.0240489542, -0.036235977, -0.0021991737, 0.0559915416, -0.0418122038, -0.0139042735, 0.0278208777, -0.0036681667, -0.0170039944, 0.0534025095, 0.0688522086, 0.1143212244, 0.0948948562, -0.0083442004, -0.0085372953, 0.0264184047, 0.009166522, -0.0267127026, -0.0348617882, 0.0459770598, 0.0487987995, -0.0635981783, 0.0262720101, -0.0132975504, 0.0293146223, 0.0087542301, -0.0291807856, -0.017572185, -0.0000825259, 0.0035031082, 0.0028060847, -0.0089603877, 0.0758024305, 0.0031311125, -0.0278204698, -0.0131236957, 0.0150202215, -0.0151224136, 0.0802127495, -0.037656974, 0.0337876938, -0.041841872, -0.0100998934, -0.0036313317, -0.0325413533, 0.051242739, 0.0478568934, 0.0175595898, 0.0280761328, -0.0128911939, -0.0152274696, 0.0391638801, 0.0120612588, -0.0065921098, -0.0634352937, -0.007355622, 0.0029144508, 0.0007262817, -0.0053251218, -0.0545577407, -0.0217557177, 0.0084669758, -0.0737790763, 0.0172061473, 0.0140028801, -0.053913381, 0.0719255507, -0.0144739468, -0.0055030375, -0.0423688181, 0.0071818656, 0.0048151282, -0.0180418491, -0.0587072112, 0.0403276458, 0.000706483, 0.0114760399, -0.0169800576, -0.005070358, -0.0143899247, -0.0282594599, -0.0210232623, -0.0217588674, -0.0134197837, -0.0235935077, -0.0144246742, -0.0136941839, -0.0489631332, 0.0838824585, -0.0064579137, 0.0235655066, 0.0063850852, -0.0482687913, -0.0177174769, 0.0291621611, -0.0165414903, -0.0110557033, 0.0187652148, 0.0251276512, -0.0048501845, 0.0221872255, -0.045827657, -0.0236919485, -0.0073470217, -0.0886876583, 0.0244044121, -0.0760783032, 0.0095363511, -0.0266382247, -0.0076025818, -0.0249062572, -0.0097939763, 0.009573699, -0.0384193026, 0.0614128262, -0.0074089305, 0.0009295813, 0.026026804, 0.0260935593, -0.0179480165, 0.0662512109, -0.0066601108, 0.0375190899, 0.0424335115, 0.0047141169, -0.0177751463, 0.0003671852, 0.054665491, 0.0539866835, 0.0150512215, 0.0032291035, 0.0015874417, -0.0067712604, 0.019594457, 0.0224093422, -0.038087301, -0.0266406257, 0.1120068207, -0.0540823638, 0.0045266463, -0.0316214152, 0.052333422, -0.0032476038, 0.0217428487, -0.0344697721, -0.0563741922, 0.0345804952, -0.0512062348, -0.0310315602, -0.0223931987, 0.095587045, -0.0106921745, 0.0049509509, 0.0003679514, -0.0046598511, 0.0098832306, -0.0088885464, 0.0260184165, 0.0222580843, -0.0356046744, 0.045065321, 0.0635409504, -0.0022222195, -0.0175989456, -0.0569522567, 0.0234074816, 0.0076493197, 0.0175881665, 0.0006628382, -0.0253432225, -0.0585093014, 0.0592775382, 0.0275968462, 0.0688167214, -0.0307269227, -0.0025026998, -0.018755598, -0.0176101178, -0.0296839327, 0.0193183366, 0.0339057297, 0.0516470149, 0.0443012342, -0.0140495952, -0.0112836463, -0.0060479771, 0.0129841017, 0.0175104402, 0.0125278458, -0.0355108567, 0.0101249823, 0.0227976348, 0.007951526, -0.0231972281, -0.0328176357, 0.0103384964, 0.0093012778, -0.033225961, -0.001987136, -0.0045867106, -0.0014024797, 0.0356474854, -0.0257746056, -0.0261425767, 0.0447950102, -0.0294535458, 0.0405907631, 0.0010379835, -0.0115313241, -0.0240240525, -0.0390470624, -0.0261236578, -0.0204867944, 0.0216986611, 0.0233867634, 0.0752264634, -0.0241324306, -0.0539519265, -0.0020837167, -0.0265942458, 0.0153611517, 0.0006757139, 0.004459539, 0.0091504967, 0.0033418722, 0.0236784145, 0.0034973337, -0.0278239194, -0.0321089625, 0.0340441279, -0.084352307, 0.0049881143, -0.0061741578, 0.0052397023, 0.0348417573, -0.0177647863, 0.0214960091, 0.0382456183, -0.0113357166, 0.0137106199, 0.0164621267, 0.0310655665, 0.0038145522, -0.0105069373, -0.0028800431, -0.0062747919, 0.0223358758, -0.0057717934, 0.0497593284, 0.0056771194, -0.0345906876, -0.0340898111, -0.0177646168, -0.0613346733, 0.0240699463, -0.0329767317, -0.0255469121, 0.0372080542, 0.0057630264, -0.0162605494, 0.0374901704, 0.0371787883, 0.057050664, 0.0380849652, 0.0052665458, -0.0193069391, -0.0078342371, -0.0211369507, 0.0081630051, -0.0409959741, -0.0082969163, -0.0080254991, 0.0358303264, 0.0075450097, -0.004293384, -0.0157743543, 0.0472588725, -0.0072239279, -0.0365951136, -0.0053460933, -0.025313016, 0.0154841729, 0.0135163218, -0.0486974642, -0.0307649989, 0.0641986504, -0.0240766015, 0.0540151037, -0.0060498631, -0.0301045496, 0.0100744162, 0.0283417329, -0.027078392, 0.0540728606, 0.0189135615, 0.0394483395, -0.0095898611, -0.0357836522, 0.0870055482, -0.0231921244, -0.0062209852, -0.0407597534, 0.0286999289, 0.0349966995, -0.0487048067, -0.0374143049, -0.0790795237, -0.0327124223, -0.0243146457, -0.0517579801, -0.0342743956, -0.0607592762, -0.0038410062, 0.0559810214, 0.010540369, -0.0014185879, -0.0009465073, 0.0306815989, 0.0130131608, 0.0266582184, 0.0333003774, 0.0612438433, -0.0369831137, 0.0027449541, 0.0856416449, -0.0192692596, -0.0095180944, -0.0603130907, -0.0263904799, -0.0257492363, 0.0016723773, 0.0003015174, -0.0235037729, 0.0551415421, -0.0440152958, 0.0254024882, 0.0595410392, -0.0355176851, 0.0264927167, -0.005277507, 0.0387214087, -0.0291279759, 0.0150945121, -0.0176181477, -0.1034885719, -0.0345530286, 0.0040810918, 0.0152362995, -0.0194443483, -0.0334685557, -0.016161561, -0.1086838767, 0.0408958457, -0.0192186758, -0.0333496779, -0.0315592326, -0.064814128, 0.0090132179, -0.0102176731, -0.0106661115, 0.0098043047, 0.0402763523, -0.0237715188, 0.0096919555, 0.0405506864, -0.0559678487, 0.0404366106, -0.0384193696, 0.0432198383, -0.0034465299, 0.0149138309, -0.0124682644, -0.0457901657, 0.0337772965, 0.0404692926, -0.0073335371, -0.0104859434, 0.093720153, -0.0495462306, -0.0054780142, -0.0351608209, 0.0324991792, 0.0281694997, -0.0193464477, -0.0216071513, 0.0912498906, 0.0333070606, -0.0377080925, -0.0429114699, 0.0221608132, 0.0434147865, 0.0583759174, -0.0085118208, 0.003085776, 0.0101755904, -0.0049724285, -0.0437498204, -0.0138877993, -0.0639487803, 0.032819543, -0.0257723965, -0.030881824, -0.0676974058, 0.0215313807, -0.0197145641, 0.0718027949, -0.0203805491, -0.0390777513, 0.0201675724, 0.0156937018, -0.0205272827, 0.0489720814, -0.0363772064, 0.0528703406, -0.0150435138, 0.006738733, 0.0114421407, -0.0398115516, -0.0347809345, 0.0297952127, -0.0866276175, -0.0524235032, -0.0054324064, 0.0473405905, 0.0265195873, 0.0460145846, -0.0173005145, -0.0096747205, 0.0031951501, 0.0425327085, -0.0527635477, 0.0210827366, 0.0515492633, -0.0454119444, 0.0235235393, 0.0057307989, -0.0143292062, 0.0295132324, 0.0448940806, -0.0304162856, -0.0146922842, -0.0116895186, 0.0226281062, 0.0440979153, 0.0499248467, 0.0252728797, -0.0229696743, -0.0342497192, -0.0232088864, -0.0006876757, -0.0349785052, -0.011041265, 0.0475386493, 0.0370522253, -0.0038383987, -0.0017740418, 0.0022169091, 0.0143579654, 0.029404033, -0.0218136869, -0.017914677, 0.0350510962, 0.0351982079, 0.0193979274, -0.0097020352, -0.0356581993, -0.0147049949, 0.0033323916, 0.0042876429, -0.019367978, 0.0495350473, 0.0340875238, -0.0101023847, 0.0207005944, -0.0389298238, -0.0601799749, -0.0173289031, -0.0373301357, 0.0211679302, 0.0323598646, 0.0161197651, 0.0309683364, -0.0162330605, -0.0414513573, -0.0011195502, 0.0144200977, 0.0023059119, -0.0104571646, 0.0284192227, 0.0327403322, 0.0019908461, 0.0386786461, 0.0355778746, -0.0036328326, 0.0693206117, 0.0202035364, -0.0637760386, -0.0259887185, -0.0231756885, -0.0345002785, 0.0361413695, 0.0132040838, 0.0174023081, -0.0801432803, -0.0654230639, 0.0189314727, 0.0045347237, 0.0144249322, 0.0323129483, -0.0057792016, 0.0797219202, 0.03063442, -0.0268027186, -0.0240911692, 0.0118738832, -0.0200283397, -0.0016646637, 0.0473563671, -6.359384765e-33, -0.0008340277, -0.029696364, -0.0232591238, -0.0229699165, -0.0562689565, 0.0192347709, 0.0127047636, -0.0111605385, -0.0359166823, 0.0564974174, 0.0394982956, 0.0368761644, -0.0044643185, -0.0098858271, -0.0693531707, -0.0068646669, 0.0463241376, -0.0106927268, -0.0468916632, -0.0006959361, 0.056047827, -0.0073106238, 0.044947166, -0.0961322114, 0.0247834884, 0.0056405058, -0.0350827985, 0.0194607545, -0.0236579999, 0.0649660975, -0.0068775588, 0.031307511, 0.040321745, -0.0624978319, 0.0066455677, 0.0070432732, -0.0823154673, 0.0082738781, 0.0548950545, -0.0202583019, -0.0166553818, 0.0058422396, 0.0247766506, 0.0071178926, -0.0019366428, -0.0463402681, -0.0015831732, -0.0322638266, 0.0264295731, -0.0039747907, -0.0588600375, 0.0158787202, -0.0096873967, -0.0158859473, -0.0279921722, 0.0175909381, 0.0185335707, -0.0119490037, -0.0581193343, 0.0207457561, -0.046201501, -0.0184474532, 0.038998507, -0.0233592242, -0.0409352705, 0.0754028782, -0.0298292022, 0.0159906596, -0.0638232827, 0.0345332809, 0.0044655893, 0.0772801861, 0.0541656949, 0.1310134381, 0.014945861, -0.0403618068, -0.1180941015, 0.0033979989, 0.0133442795, 0.0216068551, 0.0142095927, -0.0147318663, -0.0117228273, 0.0135935135, -0.0467116907, -0.0040211347, -0.0361653417, -0.0235037785, 0.0123330774, 0.0330243781, -0.0519623272, 0.0163061563, 0.0165734068, -0.0496873148, 0.0124749728, 0.0424073525, -0.0292854421, 0.0240701213, 0.0017458578, 0.0354252383, -0.0784447044, 0.0123029863, 0.0359970555, 0.0099109476, 0.0217331666, -0.0049685631, 0.078738451, 0.0330878645, -0.0478333272, 0.0174891055, -0.0344862901, 0.0423878655, -0.0041760253, 0.028987471, 0.0211455952, 0.0088121183, -0.0322623439, 0.0047517065, 0.0068472004, 0.0176514555, -0.0221613403, -0.0106432233, 0.00818229, 0.0159513149, -0.0267819669, -0.0047757034, -0.0494095534, -0.0358534604, -0.0158562157, -0.1101091728, -0.0124614686, 0.0110317552, 2.716e-7, 0.0093516801, 0.0553651825, -0.0119006345, 0.0068447874, 0.0280952007, 0.0481216013, 0.0073831226, 0.0146333687, -0.0109874858, -0.1132176295, -0.0598977171, 0.0846214667, 0.0263115149, 0.0515094288, -0.0101149427, -0.0236491319, -0.0206420962, -0.0219679046, -0.0374582745, 0.0002297732, 0.0006673771, 0.037149176, 0.0511950478, -0.0435968637, 0.0309006423, -0.0083519556, 0.0753152072, 0.0493249148, -0.0526275486, -0.0256553032, 0.0686156452, -0.0227584019, -0.0102264434, 0.036769405, -0.0021972528, -0.0165466238, -0.0053371419, 0.0477075689, 0.0023413175, 0.0057398994, -0.0164852049, -0.0284460858, -0.0003034656, -0.0233594459, 0.0738442764, 0.0127628166, -0.0380956382, -0.0960873216, -0.0606926344, -0.0162464846, 0.0022764064, -0.0193072762, -0.0054102801, -0.0000481117, -0.0039025333, 0.0239476245, -0.0205375738, -0.0317859538, 0.0010238894, -0.0010153211, -0.0453010611, -0.0903430954, 0.0299700797, -0.0433434322, 0.0698687807, -0.0400577076, 0.0144386934, 2.119437666e-34, 0.0269831214, -0.00395231, 0.0168863293, -0.0680077896, 0.0515189618, 0.0250945445, -0.0542536527, -0.0518373437, 0.0168984234, -0.0308985915, -0.0003911607 ]
http://arxiv.org/abs/2407.00365v1
http://arxiv.org/pdf/2407.00365v1
Financial Knowledge Large Language Model
2024-06-29T08:26:49
2024-06-29T08:26:49
Cehao Yang, Chengjin Xu, Yiyan Qi
cs.CL
cs.CL
Artificial intelligence is making significant strides in the finance industry, revolutionizing how data is processed and interpreted. Among these technologies, large language models (LLMs) have demonstrated substantial potential to transform financial services by automating complex tasks, enhancing customer service, and providing detailed financial analysis. Firstly, we introduce IDEA-FinBench, an evaluation benchmark specifically tailored for assessing financial knowledge in large language models (LLMs). This benchmark utilizes questions from two globally respected and authoritative financial professional exams, aimimg to comprehensively evaluate the capability of LLMs to directly address exam questions pertinent to the finance sector. Secondly, we propose IDEA-FinKER, a Financial Knowledge Enhancement framework designed to facilitate the rapid adaptation of general LLMs to the financial domain, introducing a retrieval-based few-shot learning method for real-time context-level knowledge injection, and a set of high-quality financial knowledge instructions for fine-tuning any general LLM. Finally, we present IDEA-FinQA, a financial question-answering system powered by LLMs. This system is structured around a scheme of real-time knowledge injection and factual enhancement using external knowledge. IDEA-FinQA is comprised of three main modules: the data collector, the data querying module, and LLM-based agents tasked with specific functions.
[ -0.004603514, 0.0398391448, -0.0265414007, 0.0269645639, -0.012409322, 0.0100062732, 0.0371530354, 0.0344697535, 0.0152902286, -0.0289998632, -0.0162772723, -0.0063539492, -0.0371906459, 0.0614301041, 0.0636679307, 0.0002506167, 0.0337792076, -0.0129328277, 0.0724292994, -0.0110946121, 0.0140295448, -0.036561884, -0.0047941376, -0.0032463253, -0.0038359347, -0.0087441122, -0.0299933162, -0.033747714, 0.0121753076, -0.0112621281, -0.0015219408, -0.0019439039, 0.0044955993, 0.0403702185, 0.0000021984, -0.0689230189, -0.0398713611, 0.0268641915, -0.06112881, -0.0297700539, -0.0153113641, 0.0079869498, 0.0466658399, 0.003769961, -0.0797894821, 0.0495005324, 0.0469701514, 0.0317695327, 0.0779264942, 0.0793453157, 0.0005505641, -0.0526330955, 0.0189310461, -0.0140402559, 0.0194453076, -0.0729208589, 0.0302054323, 0.051829014, 0.0032764643, -0.0178696923, -0.0291166641, 0.0444123447, 0.0107667278, 0.001096326, 0.064234525, 0.0051802257, -0.0546767376, 0.0267886017, -0.0407728069, 0.0402202234, 0.0382064842, 0.0455517881, 0.0105998497, -0.0203203205, 0.0110298721, 0.0381561369, -0.0594027378, 0.0205701608, -0.0125804041, -0.040580146, 0.0060334406, -0.0072704717, 0.0103834951, 0.0149058485, -0.0481596589, 0.0502481163, -0.018203292, -0.043829672, 0.0409317128, 0.0075274864, -0.0255678389, -0.0538990833, 0.0116716959, 0.0799645185, 0.0329542793, -0.0115033817, 0.0532902665, -0.0536601171, 0.0122214518, -0.0621912442, 0.0386764817, 0.0345241986, -0.0038665636, 0.059964437, -0.0362166241, 0.0560175888, 0.024075469, -0.0147212939, -0.0363045074, 0.0037210274, -0.0860972106, -0.0148351379, -0.0458385609, 0.1159552857, -0.0312213227, -0.0200172253, -0.0447088033, -0.0051881322, -0.0204408895, 0.0416536964, -0.0113439877, -0.0260233767, -0.006111138, 0.0066171549, -0.0789939538, 0.0140463412, -0.0728195086, 0.0032435125, -0.0009222628, -0.0099174492, 0.0199259352, 0.0176369902, -0.0350308679, -0.0092602186, 0.0348224081, 0.0874749795, 0.0399847701, -0.0279949196, -0.0387743637, -0.0549027622, 0.0014989213, -0.0257336069, -0.0381221622, -0.0457577109, -0.0046240017, -0.012653891, -0.0709199384, 0.0199759007, 0.0076521444, 0.00696168, 0.0076206867, 0.0628973022, -0.0163414627, -0.0201150011, 0.0460831448, -0.035476923, -0.0153154274, 0.0466185436, -0.0154289408, 0.0090920646, 0.0379302278, 0.0068070241, 0.0250992067, 0.0371544324, 0.0264417101, -0.0662312061, 0.0145594934, 0.0805544779, 0.0053917663, -0.0010211109, 0.0129538318, 0.0151637327, -0.0185880028, 0.0158237852, 0.0447730124, 0.0439334661, 0.06234264, 0.0060978564, 0.0136883948, 0.0414361544, 0.0555000566, -0.0404989682, -0.0001773824, 0.0342750624, -0.0530424044, 0.0331102163, -0.0328916125, 0.0220117904, -0.0384900458, -0.0441041924, 0.0124366628, -0.0134688392, -0.0474268571, 0.0488490649, 0.0431997664, -0.0242452454, -0.0280550271, 0.0416595675, 0.0062265205, 0.0248048473, -0.022882266, -0.0490528606, 0.0699680299, 0.0831763446, 0.0525183156, -0.0444814377, 0.0050590006, -0.0102753369, -0.0313285589, 0.032399375, 0.0554062091, -0.0205450039, -0.0391296074, -0.0290230159, -0.0014891938, 0.0130815832, -0.003264433, 0.0050583514, -0.0031472631, -0.0059404932, -0.0224270709, 0.0032091879, 0.015739426, 0.0089256298, -0.0068434039, -0.0604255423, 0.005236424, 0.0026246149, -0.0243146196, 0.0368791446, 0.0041762046, 0.0118748536, 0.0033195822, -0.0083315289, -0.0376868397, -0.0244752616, -0.0185418036, -0.0080927806, 0.02290437, -0.0246798843, -0.0221589021, -0.0023582079, -0.0363481082, -0.0072629703, -0.0342373848, -0.0202724319, 0.0066037732, -0.0641620755, -0.0281703845, 0.0030691251, 0.0033631811, -0.0285680816, 0.0909271762, 0.012573598, 0.0197173636, -0.0139624467, 0.0050520264, 0.000825581, -0.0510370806, 0.0460713319, -0.0307257976, -0.0334045477, 0.0293513313, 0.0356455594, 0.0146087315, -0.0209405236, 0.0125223799, -0.0723328814, -0.01604864, 0.0122980066, 0.0171937849, -0.0102316076, -0.0079080602, 0.0066010072, -0.0223848466, -0.0630916879, 0.0364270844, 0.0036398941, 0.0040579713, 0.07926476, 0.0284569375, -0.0296594705, -0.0400702581, 0.0042920471, -0.0136764441, 0.0176635291, 0.0651914328, -0.0013925148, 0.0080665248, -0.0424570851, -0.0319721103, -0.0038857721, 0.0086506354, 0.0214154795, 0.0005147191, -0.0401305109, -0.0151348766, 0.0563600622, -0.0044350158, 0.0312968493, -0.0484356843, -0.0233787224, -0.0442288816, 0.022579696, 0.0046249367, 0.0191944689, -0.0202772208, 0.0383285247, 0.0221603941, 0.042043563, -0.017160669, -0.0107069854, -0.0488959551, 0.0978815407, 0.0066907299, -0.036301896, -0.0749096349, 0.0190802533, -0.0086733941, 0.054491654, 0.0096900491, -0.0166298095, 0.0610359386, 0.0005507847, -0.0229015499, 0.00236013, -0.0292964894, -0.0478115715, 0.0332267359, -0.04710529, 0.0268467963, -0.0370077677, -0.0181328878, -0.0466789156, -0.0315320045, 0.0438631885, -0.0396106765, 0.043397326, -0.0297218785, 0.0065003443, 0.0072921738, -0.0299787298, -0.018585518, -0.0775119811, -0.0290555265, 0.0236835852, 0.0202150419, -0.0387986489, -0.0328895412, 0.0122392625, 0.0277038254, -0.0375355706, -0.0081956536, -0.056102071, 0.0090262359, 0.0461481437, 0.0494473688, 0.0122299874, 0.0383362435, -0.0314312987, 0.0968554914, 0.0208997745, 0.0097260131, 0.0109961806, 0.0133562144, -0.0059429212, -0.0256130677, -0.0628367215, -0.0006632152, 0.0174984839, -0.0289940685, -0.0729793534, -0.0272456072, 0.0988304615, 0.0272679739, 0.0285884235, -0.0169303231, -0.0389979146, -0.0355969518, -0.002138013, 0.095354706, -0.1358807236, -0.0115534859, -0.0134728868, 0.0258068349, -0.0023533718, -0.054158885, -0.0228070077, -0.1370949745, 0.0499023348, -0.0371147543, -0.02815759, -0.0201582164, -0.0144808972, -0.0303399917, -0.0078455163, 0.0007203408, 0.0420608521, 0.0091903303, 0.0106519824, -0.0021332121, -0.032045912, 0.0277347416, 0.0282960292, -0.0264625847, -0.0098631484, 0.0406570993, 0.0107345236, -0.0212378055, -0.0065168836, -0.0811996832, -0.0036071423, -0.0076168571, 0.0039013997, 0.044123318, -0.0045455787, -0.0297217034, -0.001499405, 0.0254387427, -0.0026121917, 0.0543696806, 0.03663335, 0.0365096927, -0.0233920999, -0.0059766443, -0.01317525, 0.0097201336, -0.0274934899, 0.0922984183, 0.0100922631, -0.0504092574, -0.0006293143, -0.0325828902, -0.0303837825, -0.0586306602, -0.0193722676, -0.0058737136, 0.0200547148, 0.0310122296, -0.1101262793, -0.0677888617, 0.0617646985, 0.0398422256, -0.0043899198, -0.0066362987, 0.0475759283, -0.0021487158, -0.0375245921, -0.0247475188, -0.0671909824, 0.0270954315, -0.0221815612, 0.0328857526, 0.0104829827, -0.0354202762, -0.0618385077, 0.0138563495, -0.0468578599, -0.0078724865, 0.0133658107, 0.0346161984, 0.0203420855, -0.0300219227, -0.0351070464, 0.0433269776, 0.0556683578, 0.0531920381, -0.071841158, -0.0143911932, 0.0290410351, 0.009833334, -0.0034915891, 0.029099768, -0.0748782754, 0.0227652993, -0.0331315361, 0.0214956719, -0.0474196225, 0.0148267001, 0.0194730666, 0.0471758023, -0.0029521727, 0.0521197096, -0.0453942418, 0.01356206, -0.01007229, -0.011360216, -0.0182583723, -0.0297967438, -0.0451260582, 0.0230769813, -0.0016688372, 0.0194251351, 0.008328082, 0.0167741515, -0.0203104019, -0.0083785681, 0.0004520605, 0.0255763959, 0.0351837277, 0.0071894461, -0.0184571967, 0.022966627, 0.0090719759, 0.0464714803, 0.0312502272, -0.0094995266, 0.037968725, 0.0133743659, 0.0061392374, -0.0085695898, -0.0341141447, -0.0467442647, -0.0615481846, 0.0154136643, 0.0450021252, 0.0081555601, -0.0136685213, -0.0466987118, -0.0219326206, -0.0025069066, 0.0158593599, -0.020878084, 0.0201201271, -0.0467235036, 0.0248142108, 0.0291197393, -0.025710186, -0.0397819057, 0.0903243646, -0.028050147, 0.0182701088, -0.0527315512, -0.0062516686, -0.0473872833, -0.0222722609, 0.0592277199, 0.0227407645, 0.0174135827, 0.0085280808, -0.0941560045, -0.0432560444, 0.0073134615, 0.0129899224, -0.0239786506, 0.0048313481, 0.0463023856, 0.0342631601, 0.0364394225, 0.0154193621, -0.0063414914, 0.0451897494, -0.0621928088, -0.0178318303, -0.0011809889, -6.455355063e-33, -0.033233013, -0.0373662338, 0.0682578906, 0.0110457893, 0.0260597952, 0.0220543835, -0.0189047288, -0.0407045558, -0.015872959, 0.0194396004, -0.0071387598, 0.0313407704, -0.0021071634, 0.0176219922, 0.0106887463, -0.0057268199, 0.0126511445, -0.0395864174, -0.0017613175, -0.0338743329, 0.0169847589, 0.0617876984, 0.0324188322, -0.0044148029, 0.0312964804, 0.0045861155, -0.0223218706, 0.0204891991, 0.0364509039, 0.0535946488, 0.0073454645, 0.0372409858, 0.0030706499, -0.0907037407, 0.0003365283, 0.0053123343, -0.045002345, -0.0598051213, -0.0017491834, 0.0245124809, 0.0043119243, -0.0083004935, 0.0499625579, -0.0367996171, -0.0058388305, -0.0054633263, 0.0232384205, -0.0291902237, 0.0542707033, -0.05319684, -0.0496598594, 0.0251476336, -0.0226507373, 0.0427864678, 0.0268765297, 0.0635845438, 0.0241259206, -0.0057047196, -0.0148499599, 0.0137289762, 0.0102246171, 0.0048403894, 0.0268995259, -0.0114936894, -0.0100606875, 0.0359379537, -0.0078987572, -0.0062450785, 0.0108367549, 0.0178498495, 0.0030840226, 0.0596251152, 0.0676618665, 0.0702645779, 0.019103976, -0.0076245363, -0.0432072207, 0.0408194177, 0.0473640598, 0.0292364769, 0.0009811744, 0.0115770316, -0.0562492125, -0.0267642643, -0.0214077868, 0.0196792893, -0.0422750451, -0.0165627208, 0.0451409183, -0.0102009689, 0.0048373817, 0.0252641886, 0.0113313198, -0.0756252259, -0.0184560679, -0.0034668578, 0.0259107351, 0.0144936182, 0.0173106231, 0.0124601731, -0.0471730642, 0.0112596164, -0.0078983707, 0.0094796363, 0.0097442959, 0.0175524261, 0.014104642, 0.009418644, -0.0443771183, -0.0253446959, -0.0031232589, 0.0077598491, 0.0046473742, 0.0039519453, -0.0243984926, 0.0538256951, -0.005160186, -0.0020910841, 0.0024576504, 0.0099696219, -0.0137212062, -0.0238288362, -0.004418754, 0.0344913043, 0.016630318, 0.0062381802, -0.00689115, 0.0369781069, 0.0117727127, -0.038330391, -0.0120947128, 0.0822660252, 2.99e-7, 0.0464571975, 0.0767131671, -0.0226304084, 0.0385473296, 0.0033775517, 0.0441180542, -0.0263458863, -0.0193376839, 0.0067559308, 0.0085905204, 0.041675549, 0.0524685904, 0.0370522402, 0.0081902714, -0.0913281143, -0.0748375729, -0.0343532413, -0.0170657746, -0.0739390999, 0.0348078832, 0.0274708178, 0.0439683683, -0.0048598065, -0.0468671657, 0.0091260923, -0.0949108452, 0.0419492535, -0.0075179972, -0.0374663025, 0.0040132543, 0.0207708254, 0.0316084474, 0.0146018807, 0.0292789172, 0.0029104317, 0.0166930519, 0.0087216664, 0.0276495647, 0.0253625158, 0.0125914691, -0.0156969577, -0.0185999237, 0.0100861406, -0.0348126106, 0.0422011912, -0.081514053, -0.0386919118, -0.0372035392, -0.0738427192, -0.0200642161, 0.0088788494, 0.0009012523, -0.0188586414, 0.0004967946, 0.0173158981, -0.0206759572, 0.0349435695, -0.0090037789, -0.0052162404, 0.0432764404, -0.015386031, 0.0115110055, -0.0392577797, -0.010124634, -0.0104874382, -0.082933411, 0.0066788853, 2.679294402e-34, 0.0460173152, -0.0320573598, -0.0234360341, 0.0665889308, 0.067421928, 0.0168535318, -0.0422648266, 0.02668049, 0.0274027232, -0.0996785536, 0.0106390128 ]
http://arxiv.org/abs/2407.00361v1
http://arxiv.org/pdf/2407.00361v1
From RAG to RICHES: Retrieval Interlaced with Sequence Generation
2024-06-29T08:16:58
2024-06-29T08:16:58
Palak Jain, Livio Baldini Soares, Tom Kwiatkowski
cs.CL
cs.CL, cs.AI
We present RICHES, a novel approach that interleaves retrieval with sequence generation tasks. RICHES offers an alternative to conventional RAG systems by eliminating the need for separate retriever and generator. It retrieves documents by directly decoding their contents, constrained on the corpus. Unifying retrieval with generation allows us to adapt to diverse new tasks via prompting alone. RICHES can work with any Instruction-tuned model, without additional training. It provides attributed evidence, supports multi-hop retrievals and interleaves thoughts to plan on what to retrieve next, all within a single decoding pass of the LLM. We demonstrate the strong performance of RICHES across ODQA tasks including attributed and multi-hop QA.
[ -0.0015421393, 0.1087604612, 0.0288467929, 0.0044948678, -0.0320675708, 0.0004834974, -0.0222455673, -0.0027730183, -0.0095744375, -0.0313453451, -0.0286183618, -0.0270194635, -0.0330206342, 0.001888531, 0.0017920183, -0.0099618593, 0.0627878159, -0.0155886123, 0.0129887825, 0.0094890557, 0.0007050795, 0.0032281915, -0.0181307625, 0.0261000358, -0.0203645807, -0.0138389682, -0.0395283997, 0.0067491168, 0.0062468401, -0.0340922177, 0.0004012283, 0.054088857, 0.0431232415, 0.0366173983, 0.0000016157, -0.040845152, -0.0438657403, 0.0047002817, -0.0531550571, -0.0266511887, 0.0303295646, 0.0367177315, 0.0103157563, 0.0247109085, -0.0570551194, 0.006990179, 0.0087759588, 0.0739963576, 0.0318599045, 0.1087236255, -0.0130589204, -0.0363378599, 0.0411215648, -0.0452278145, 0.0532797836, -0.0530351214, -0.0016700692, -0.0059464448, 0.0426105633, 0.0382420048, 0.014968683, 0.0370522253, 0.0275059082, -0.0085297413, -0.0145331835, 0.0043891175, -0.0311350729, -0.029504234, -0.0212068595, 0.0353461429, 0.0249550119, -0.0076195248, 0.0068915519, 0.026220642, 0.0323145539, -0.0001825287, -0.0481116101, 0.0673640743, -0.0310735423, 0.0169785358, 0.0153894825, 0.021698799, 0.0016487925, 0.0085040117, -0.0375112109, 0.0195826031, 0.0044105868, -0.0243998077, 0.0101085426, 0.034129627, 0.0211077258, -0.0190754998, 0.0130433468, 0.0345970467, -0.0432285294, 0.0144567778, -0.03650406, -0.0209971927, 0.041613508, 0.0324378833, 0.0621044971, 0.0236108936, -0.0489563569, 0.0372177884, -0.0229306687, 0.0071979049, -0.0354122259, -0.0296464376, -0.0376707315, -0.0000554401, -0.0417077914, -0.0216964316, -0.0367914811, 0.0431909971, -0.0851874575, -0.026811542, -0.001048514, 0.0088935578, 0.0299994219, -0.0117484322, -0.0029068298, 0.0248316303, -0.0756810382, 0.0066934051, -0.0062618763, 0.0192641988, -0.0043760086, 0.04014723, 0.084651798, -0.0534111485, -0.0516881645, 0.01772907, 0.0203005709, -0.0211895965, -0.0016571858, 0.0498539731, -0.0494231358, -0.0579953752, -0.0238104183, -0.0635294244, 0.0003824385, -0.0715656504, 0.0325673446, -0.0480591655, 0.0071408637, -0.0161229875, -0.0095001608, 0.0003936658, 0.0178116877, 0.0345899872, -0.0023891313, 0.0315404311, 0.0157820806, -0.0418917201, 0.0150123928, 0.0274686962, 0.0227222536, 0.0610839203, -0.0105517469, 0.066939868, 0.0450912379, 0.0377956964, -0.0004656075, 0.0188204497, 0.0294225365, -0.0001912228, 0.0050303531, -0.0022429964, 0.0327663235, 0.0197430067, 0.0434905738, 0.0460147001, -0.0640431568, -0.0030996657, 0.0190199576, 0.0328092165, 0.0688346773, -0.0206478648, 0.0074920841, 0.0161226932, -0.0032712882, 0.040158432, 0.0059918193, 0.0442525186, 0.0035485721, 0.0294412561, 0.0582634509, 0.0119279651, -0.0385467708, -0.0240706448, -0.0089020599, -0.0020861882, -0.0353872217, -0.0009799277, 0.0141145354, 0.0596891716, -0.062529467, 0.0047984957, 0.0015428188, -0.0802205205, -0.0065248171, -0.0446227901, 0.0619588047, 0.0353827141, 0.0743084773, -0.0177714247, -0.0178642403, -0.0094213923, -0.0096893422, 0.0426447429, 0.0123970127, -0.0141353188, 0.0158236232, -0.0606432408, -0.0319736935, -0.0020429099, 0.0163040776, 0.0325379074, 0.0234844908, -0.0032566395, 0.0187200066, -0.0207308605, -0.0073134578, 0.033529412, -0.0521824658, -0.0495544598, 0.0196950156, -0.0164463855, 0.0377545021, 0.0432629809, -0.0100176316, 0.0275125485, 0.0771610364, -0.032240171, -0.0382313803, -0.0073665031, -0.0523233749, -0.0677965581, 0.0004715527, -0.004438282, 0.0027538983, 0.0227495059, -0.0304835085, -0.0608408526, -0.0154102091, -0.0430571288, -0.0050505046, -0.0742306486, -0.0271724779, 0.0813365504, 0.0232186504, -0.0589882471, 0.0383372121, -0.0167647321, 0.0028401753, 0.0161897745, -0.004469974, -0.0073633678, -0.0788328424, 0.0310715679, 0.0126192914, 0.004392236, 0.0224169493, 0.0439762697, 0.0243480429, -0.0339816436, -0.0548653193, -0.0549902767, 0.0194512438, -0.0402190872, 0.0251109786, -0.013831812, -0.0027456237, -0.0106685329, -0.0236923061, -0.050447382, -0.003101215, 0.0506115332, 0.0127761504, 0.0203434639, 0.027535202, 0.0234337747, -0.0312543176, -0.0233570207, 0.0390560776, 0.0305249486, -0.0022985116, 0.0080417041, -0.047497917, -0.0131985731, -0.0090672625, 0.0235884488, -0.0236979667, 0.0066828337, 0.0418948568, -0.0537125021, 0.0494917817, 0.0455103032, 0.026382884, 0.0358082652, 0.0146556459, -0.0225812346, -0.054169599, 0.0222611092, -0.0297353473, -0.0097892098, -0.0046269358, 0.014178141, 0.0292747486, 0.0409588628, -0.0182274468, 0.0243370347, -0.0151238833, -0.0099018086, 0.0413400233, -0.0545863099, -0.0109697096, -0.0290743113, -0.020894615, 0.0466758348, -0.0125616174, -0.0386414342, 0.0433597453, -0.0228073653, -0.0258433633, -0.0610989481, 0.0090313321, -0.0390635841, 0.0644317046, -0.0463173166, 0.0052707521, -0.0218657739, -0.0517689288, -0.0272384435, -0.007582387, -0.0019469922, -0.0582857393, 0.0128323426, -0.0248490497, 0.0246712491, -0.0310548935, -0.0300407838, -0.0579757653, -0.001405853, 0.0436768048, 0.00534527, -0.0247273128, -0.0223302729, -0.084022738, -0.0218964815, 0.0457191244, 0.0538434684, -0.0249205623, 0.0028231216, -0.014327825, 0.0672815368, 0.0650567934, 0.0043521458, 0.0128116868, -0.0226647481, 0.0055229007, 0.0661953688, 0.0530556627, 0.0086125555, 0.0324420966, 0.0075698132, 0.038598109, -0.0270833727, 0.0011068895, 0.0258070026, 0.0254880004, -0.0469921231, -0.0441924892, 0.0600049756, 0.0267564338, -0.052730523, -0.030601738, -0.0380058214, 0.0378048643, 0.0029719363, 0.0148974583, -0.1283266693, -0.0279251281, 0.0212018508, 0.061454013, 0.0252319183, -0.012797677, -0.0127599072, -0.0959723741, 0.077523753, 0.0126821296, -0.0185301322, -0.0226737391, -0.0425531231, -0.0405076854, 0.0123121152, 0.0355211236, 0.0574253164, -0.0270399172, 0.0270098951, 0.0205952954, 0.0763020962, -0.0108127445, -0.0038544319, -0.0097222244, 0.0110323224, 0.0834841803, -0.0123793585, 0.0380607247, -0.0650532618, -0.0146513823, -0.0404075049, 0.0160518866, -0.0074866423, 0.0383094549, -0.0506716631, -0.000369422, -0.0601555817, 0.0444961563, -0.0104782609, -0.0240447782, -0.011556902, 0.0184552651, -0.0351153798, 0.0054829028, -0.0479513966, -0.0134533038, 0.0310390778, 0.0516338795, 0.0090105478, 0.0073446627, -0.0238731578, -0.0125536425, 0.0240576118, -0.0667656511, -0.0101561891, 0.0290131159, -0.0260741543, -0.0384504236, -0.1030748039, -0.0588642284, -0.0207828879, 0.0767386928, -0.0251458194, -0.0171332918, -0.0139248315, -0.0242183879, -0.0947713405, 0.0211885683, -0.0351230204, -0.0311558712, -0.0309157316, -0.0043920903, 0.036799632, -0.0329966694, -0.0031310564, 0.0327062644, -0.0356065892, -0.042289868, 0.0324415527, 0.0509133823, 0.0275702477, 0.0318897031, 0.0300751701, -0.0225094613, 0.0316835195, 0.0408449396, -0.0525347888, 0.020535823, 0.0540193208, 0.0051641902, -0.0371880271, 0.0402710848, -0.0482131392, 0.0438686162, -0.0291432422, 0.0656096116, -0.0045147506, 0.0051246327, 0.0176747143, -0.0137747852, 0.0222414974, 0.0006358027, 0.0180714801, -0.0232729614, 0.0289885942, -0.0311087407, -0.0031698591, -0.0409194157, 0.0265255328, 0.0237491969, -0.0352653041, 0.0177113023, 0.0221780874, -0.0362329781, 0.0729945302, -0.0619890988, 0.0208187066, -0.0107276635, 0.0061976006, -0.0129877143, -0.0131710917, -0.0382191688, 0.0190582369, -0.0218815673, 0.0605883226, -0.0151477987, 0.0369152427, 0.0370792896, 0.032348644, 0.0275616869, 0.0181378461, -0.0667472556, -0.0047951713, -0.0117438361, 0.0024477062, 0.0309405979, -0.0001429907, 0.0414622016, -0.0017847758, -0.0005536323, -0.0095959334, 0.0186617319, -0.0132940486, -0.0222932883, -0.0014752925, 0.0231165029, -0.0191149469, -0.001637564, 0.0746670887, -0.0282732025, 0.018534774, -0.0141512416, -0.0068418588, -0.0630365461, -0.1017266288, 0.0465284176, 0.024709003, -0.0010338635, -0.0056842184, -0.0067768116, -0.0099228648, 0.0067547401, 0.0037003169, -0.0090441424, -0.0090883579, 0.033611916, 0.0631651804, -0.0164799597, -0.031204395, -0.0336290225, 0.0105859675, -0.049347274, -0.0487206206, 0.0234919656, -5.886052496e-33, -0.0201608129, -0.0116563104, 0.0400527641, -0.0321065038, -0.0380551815, 0.0023509518, -0.0355244577, -0.0159758367, 0.0116225351, 0.000351755, -0.022500433, 0.0079287412, 0.0360416248, 0.0569840111, 0.0245115962, 0.030146461, 0.0553459562, -0.0136235254, -0.0356147029, 0.0347436033, 0.071539402, 0.0455240421, 0.0478576943, -0.0098590897, 0.0147814406, -0.0171168074, 0.0103799859, -0.0219117068, -0.0030289583, 0.036749851, -0.0168522615, -0.0047986391, -0.0098206494, -0.0345014371, -0.0266258381, 0.0462294258, -0.0994633809, -0.0303328726, 0.0074462825, -0.0191055648, -0.0346806012, -0.0341774486, -0.0003716482, -0.0316396505, 0.000064298, 0.0008828482, -0.0127747906, -0.0067017148, -0.0335442796, -0.0440834127, -0.0281861313, 0.0235944353, 0.0209584292, -0.0240634233, 0.0354829319, 0.0478868373, 0.0053552771, -0.0180169251, -0.0488327183, 0.0167972725, -0.0322387815, 0.0743614808, 0.0099008922, -0.0085352305, -0.0275680814, 0.0383695774, 0.033160802, -0.0210601166, -0.0226956904, 0.0086859521, -0.0027191448, 0.0579934902, 0.0011711867, 0.0218313262, 0.039652776, -0.0014214145, -0.0476445444, 0.0490947142, 0.0276275519, 0.0811544284, 0.0185128432, 0.0417446345, -0.0126863942, 0.0284683108, -0.0223920308, 0.0086451368, -0.0105683794, -0.0022056596, 0.0579000637, 0.068440713, -0.002638241, -0.0000022068, 0.0674315915, 0.0209872257, 0.0123337945, 0.0438588411, -0.028972948, -0.0083366139, -0.0344587639, 0.0112884995, -0.0720378011, -0.0117167402, 0.0993158296, 0.0207122006, -0.042954348, 0.0179487653, 0.0350062512, 0.0191068724, -0.0867452547, 0.0189884156, -0.0161181148, 0.0723266229, -0.0056929686, -0.0158740506, 0.0438060351, -0.0048338003, -0.0011052138, 0.0351751894, -0.0301776975, -0.0031431909, -0.0359910093, -0.0241146628, 0.0232909415, 0.0199007262, -0.00811058, 0.0515367426, -0.0214386806, 0.0284942519, -0.0031932276, -0.0284224804, 0.0244505703, 0.0711422935, 2.402e-7, 0.0137582868, -0.0044148243, 0.0880322158, 0.0220093671, -0.0135112237, -0.0019848058, -0.0110324547, 0.046332825, -0.0034603307, 0.0013764619, -0.0237550531, 0.0318659246, 0.0602445714, 0.002715105, -0.0984812304, -0.0395527817, -0.0397021435, -0.013495381, -0.0736195743, -0.0496199504, 0.0532079823, 0.0548331141, -0.0265399888, -0.0252850745, 0.0186128113, -0.0255930312, 0.0494718403, 0.0400346331, -0.0229337197, -0.0317032337, 0.0536644273, -0.0093187187, -0.0064578527, -0.0244248044, -0.0052014482, 0.044951912, -0.0257951859, 0.0392910466, 0.0220136717, -0.1132676601, -0.0012752051, 0.0117582669, 0.0008862318, 0.0002986352, 0.0298818704, -0.0049193455, -0.0273779649, -0.0148703652, -0.0511770397, 0.007753741, -0.0007668461, 0.0025968661, 0.0082172444, 0.0337698795, 0.0121899815, 0.0390045159, -0.0113251992, -0.1070704684, 0.0093295518, 0.0054362454, -0.0381866619, -0.0151960906, -0.0422375947, 0.0070596109, -0.0241944864, -0.112795487, -0.0405695103, 2.320319319e-34, 0.0491082855, 0.0025649318, -0.0016543778, 0.0554924905, 0.0158035792, -0.0114167631, -0.0287823938, 0.0383588634, -0.0073719076, -0.0922015682, -0.0405767262 ]
http://arxiv.org/abs/2407.00342v1
http://arxiv.org/pdf/2407.00342v1
Korean Aspect-Based Sentiment Analysis via Implicit-Feature Alignment with Corpus Filtering
2024-06-29T07:01:51
2024-06-29T07:01:51
Kibeom Nam
cs.CL
cs.CL, cs.AI
Investigations into Aspect-Based Sentiment Analysis (ABSA) for Korean restaurant reviews are notably lacking in the existing literature. Our research proposes an intuitive and effective framework for ABSA in low-resource languages such as Korean. It optimizes prediction labels by integrating translated benchmark and unlabeled Korean data. Using a model fine-tuned on translated data, we pseudo-labeled the actual Korean NLI set. Subsequently, we applied LaBSE and MSP-based filtering to this pseudo-NLI set as implicit feature, enhancing Aspect Category Detection and Polarity determination through additional training. Incorporating dual filtering, this model bridged dataset gaps, achieving positive results in Korean ABSA with minimal resources. Through additional data injection pipelines, our approach aims to utilize high-resource data and construct effective models within communities, whether corporate or individual, in low-resource language countries. Compared to English ABSA, our framework showed an approximately 3% difference in F1 scores and accuracy. We release the dataset and our code for Korean ABSA, at this link.
[ 0.0355899148, 0.06378676, -0.0023602301, 0.0315377265, -0.0200469419, 0.0017733152, 0.0120153446, 0.0161270034, -0.002174563, -0.0299518816, -0.0587787852, 0.0017358125, -0.0041551706, 0.0658579022, -0.0351976715, 0.014938402, 0.0333512537, 0.0627433881, 0.0548460297, -0.0202503894, 0.0242509209, 0.0363105461, 0.0054066698, -0.0001644601, -0.0220353734, 0.0026885883, 0.0009621551, 0.0157768838, 0.0309517495, -0.0217110328, 0.0172630176, 0.0241524763, -0.0389585756, -0.0139469542, 0.0000019275, -0.0031706737, -0.0249869749, 0.0126952147, 0.0392218642, -0.0418296568, 0.0632599443, -0.0330697671, 0.0120344786, -0.0094261551, -0.0306839719, -0.0385573171, 0.04422234, 0.0920318812, 0.0441603102, 0.0598109923, -0.0251307804, -0.0321115069, -0.0644465685, 0.0267283674, -0.066837579, -0.0167568307, 0.0130686872, -0.0558790602, -0.0557206459, 0.0144600989, 0.0076866103, -0.0061431914, -0.0174996313, 0.001922386, 0.011968052, 0.0129755381, 0.0092818309, -0.0244533792, 0.0310083497, 0.0184043497, 0.027578149, -0.0240114946, -0.0281144865, -0.0365051404, -0.0343852453, 0.0031846766, 0.0411206335, -0.0307092518, 0.0048134187, 0.0586264096, 0.0311377421, 0.0325924717, 0.0144850826, 0.0170512293, 0.0520257875, 0.0577610657, -0.0027741895, -0.0683434308, 0.0238859281, 0.073028855, 0.0073952116, -0.0228740573, 0.0377039574, -0.0158566348, 0.0092203133, 0.0377390943, 0.0397471376, 0.0365668274, 0.0127306134, -0.0673362166, -0.0209257547, 0.0551365316, -0.0120981364, 0.0125819175, 0.0026804702, -0.0350439809, 0.0520113669, -0.0230355021, -0.049821455, 0.0273828506, -0.0431247018, 0.0190019589, 0.0125085339, 0.0341124088, -0.0226121899, 0.0249168668, -0.0428667627, -0.0203300286, -0.0225960426, 0.0113313356, 0.0618069731, 0.0207068399, -0.0086933244, 0.0380712226, -0.0274643097, 0.0654407293, -0.0471689589, 0.0512430407, -0.0578834414, 0.0340022147, 0.0358064026, -0.0089379707, 0.0076210909, -0.0063584889, 0.0126475655, -0.0162261594, 0.0307135284, -0.0314318612, -0.0360862948, -0.0114158066, -0.0313292779, -0.0653330535, -0.0363707095, -0.0601870604, 0.0308642611, 0.0108594047, 0.0153342476, 0.0000317559, 0.0116750468, 0.0098660486, 0.0003995625, 0.0499056168, 0.0065130601, 0.0022230628, -0.0240311641, -0.0134320753, 0.0732416585, 0.0576296002, -0.033088848, -0.0301690605, 0.0218778104, 0.0195459574, -0.0623141266, -0.0086460952, -0.0021352523, 0.0472555198, -0.005106301, 0.0194488373, -0.0598770529, -0.0283689145, -0.0194070302, -0.0039426275, 0.0475212298, -0.0169455986, 0.0370865092, 0.002466196, -0.0424965508, 0.0764368922, -0.0080744131, 0.010821715, -0.0331459865, -0.0334347002, 0.0356647, 0.0156448428, -0.0307842661, 0.0186641943, -0.0007618078, 0.0129955066, -0.0608610287, -0.0394826643, -0.0475266203, -0.0039739474, 0.0318441167, 0.0159187447, 0.0539597683, -0.0005679259, -0.0330024473, 0.0011729202, 0.0423735902, -0.0303261019, -0.0350632705, 0.0155331073, 0.0375174209, 0.0803801119, -0.023687657, 0.0120553523, 0.0128864823, -0.0327076018, -0.0660365, 0.0288049858, 0.0357494205, -0.0123741049, -0.039804507, -0.00774279, -0.0288458783, 0.0434128828, 0.0435286909, 0.0054924469, 0.0038866273, 0.0660780519, -0.0116993953, 0.0014041121, -0.0256337803, -0.0141007537, -0.0132380305, -0.0170942843, 0.0158397947, 0.0483324267, 0.0500883609, 0.1013731658, 0.0159152895, -0.0216393918, 0.0200418569, -0.0247068424, -0.0573420301, 0.0225095432, -0.0182049312, -0.0582557209, 0.0093868813, 0.0113788024, -0.0120833674, 0.0016674246, -0.014260889, -0.0244324449, 0.0063496316, 0.024340814, -0.0000887447, -0.0215295348, 0.0141374869, -0.0097405314, 0.0023042231, -0.0015044811, 0.0344617553, -0.0190926176, 0.0457709283, -0.0406273678, -0.0435382426, 0.0343445204, 0.0223351698, -0.0394131429, 0.0061798058, 0.0386359356, 0.0155226681, 0.0386196412, 0.0261150841, -0.0175671726, -0.0097626876, -0.1214002892, 0.0126775131, 0.0085930312, 0.0007158515, 0.0201711413, -0.0153123979, 0.0045189993, 0.0374761373, -0.0314975791, -0.0100900326, -0.0058762021, 0.0248618498, 0.0064913696, 0.0288537983, 0.0419142023, -0.0179108121, -0.0121906828, -0.0366345383, -0.0205556303, 0.0072754505, -0.0552307367, -0.0179028958, 0.0494352244, -0.0203880537, -0.0421064757, 0.0278073773, -0.0492424443, -0.021183392, 0.0217069536, -0.0447031818, 0.0028748016, -0.023584269, 0.0041342503, 0.0457861014, -0.0193633717, -0.0088570844, 0.0193429198, -0.0814008862, -0.0061153919, -0.0211009961, -0.0586149469, -0.0125218825, 0.0530250184, 0.014928516, -0.0082719056, -0.0715093389, 0.0055252686, -0.0685270727, 0.0032121274, 0.0205194447, 0.0203768462, -0.0059184693, 0.0208417326, 0.0044917371, 0.026945617, 0.0723304972, 0.0223880783, 0.0305477064, -0.0826336667, -0.0074388809, -0.0436157137, 0.0246049296, -0.0759769455, 0.0357916839, 0.0081614051, 0.0137529327, 0.0141218901, -0.029150378, -0.003035482, -0.0248529464, 0.052698832, 0.0388643108, 0.0047019664, 0.0295418482, -0.0439435057, 0.0030671696, -0.0548878647, -0.0366826355, 0.0169018153, -0.0178019498, -0.008029718, -0.0044776197, 0.0410480276, -0.0176677909, -0.0622349009, -0.0047118603, -0.0133492695, 0.0169286225, 0.0040814127, 0.0426681377, -0.0417435691, -0.0133598801, 0.0060785445, 0.0257584024, 0.024506392, -0.036483597, -0.019696353, 0.0133205764, -0.0069880043, 0.0466281772, -0.00600451, 0.006505948, -0.0380357541, 0.0606096946, -0.0203185473, 0.0031544438, 0.0859010443, 0.0252437405, -0.0659199953, -0.0040575699, 0.0189156812, -0.0159779713, 0.0477648266, 0.007563828, -0.0103329867, 0.0005587136, 0.0123195741, 0.0257276613, -0.0496036746, -0.0066919411, -0.0042962534, -0.1343731433, -0.0002760107, -0.0080802003, -0.0526792705, -0.0874828994, -0.0600745678, 0.0421150886, -0.0273636803, 0.0240568928, -0.0720979869, 0.0230852924, -0.0089601735, -0.0074776197, -0.0025608828, -0.0155993057, 0.0548000559, -0.0102404486, 0.0128882313, -0.0087353038, 0.0620512925, -0.000303578, -0.0056727738, -0.0072869663, -0.0981082469, 0.0006031885, -0.0350942127, 0.0689996332, -0.0379921086, -0.0208977275, -0.0085156588, -0.0102834795, -0.0743021891, 0.0360884964, -0.0327672139, 0.0188595317, 0.0230246782, -0.005481218, 0.0164210219, 0.0057557393, 0.0428378657, 0.0601917729, -0.0434019528, -0.0576511808, 0.0428651758, -0.0055695018, -0.0490672812, 0.0202249717, -0.0518926159, 0.0088608526, -0.059107203, -0.0529219694, -0.0569313355, -0.0762879252, -0.0283065308, 0.0379633345, 0.0251797084, 0.0094409809, 0.0020370034, -0.0027692199, -0.0098966109, 0.0066230921, -0.0005918169, 0.0278961752, 0.0440677181, -0.0235616937, 0.0489533991, -0.019664038, -0.0055812271, -0.030518299, -0.0239162389, -0.0383007266, -0.0015626025, 0.0184450578, -0.0063566854, 0.0437849872, -0.0227141492, 0.0575852618, 0.0020116032, 0.043877136, -0.0697216392, 0.0056637661, 0.0344473086, 0.0238306373, 0.0199780371, 0.0369864069, -0.0540765114, 0.026365824, 0.0273649469, 0.0205899458, -0.0437578298, -0.0769843012, 0.0236498527, -0.0025770648, 0.0465902612, -0.0015973334, -0.0202278607, -0.0537998304, 0.0000050717, -0.0147456359, -0.0453267843, -0.0076444698, -0.0483259484, 0.0274706632, 0.0057040863, -0.0484307818, 0.068019405, -0.0381825492, 0.0352383591, 0.0056498758, 0.0516012236, 0.0058763209, 0.0439334065, -0.040585503, 0.0318562947, -0.036945276, -0.0224145278, 0.0147169763, -0.0261273738, -0.0129745118, 0.0518981516, -0.0063650864, 0.0266474709, -0.0240140501, -0.0195568912, 0.0201572012, 0.0484456383, -0.0477975979, -0.033965949, -0.0104857329, -0.1011296287, 0.0689059049, -0.0704692081, 0.0033106294, -0.0112838894, 0.0204941109, -0.0238535237, -0.0256096274, 0.0681135058, 0.0020622255, -0.0153092295, 0.0257421788, 0.0115882074, -0.071565181, 0.0225675032, 0.0224772412, -0.0337151363, -0.0109000904, 0.0183089785, 0.0432735533, 0.0104149859, -0.026191365, -0.0051233075, -0.0553249158, -0.0461175516, -0.0102748228, -0.0543611422, 0.004333192, 0.0228894725, -0.0045611267, 0.0413444154, 0.0169499852, 0.0526955761, -0.0838440806, -0.0060629146, -0.0322433934, 0.0256946608, 0.0084594758, -6.833294129e-33, -0.0336097032, -0.0291536637, -0.0369591229, 0.0150407199, -0.0106822448, 0.0091796704, -0.0269231051, 0.0501149446, 0.0139328353, 0.0243509021, 0.0049181925, 0.0063164071, 0.013630515, -0.0068103424, 0.0433660746, -0.0287609454, 0.0551491939, -0.0023982099, 0.0304425061, 0.0093358411, 0.0264285412, 0.007497842, 0.065555349, -0.1461471468, 0.0589960292, -0.0069852867, -0.0344918221, -0.011120799, 0.0415268913, 0.0557657816, -0.0381269567, 0.0824343637, 0.033426702, -0.0176665764, 0.0243770033, -0.0449199565, -0.0372062065, 0.001422029, 0.0142378798, 0.0629255027, 0.0169235319, -0.019533053, -0.0080763977, 0.0145672522, -0.0303939823, 0.0203558262, 0.0334831588, -0.0375876725, 0.0222996771, -0.0568866134, -0.0283344258, 0.0331950299, -0.0031749902, 0.0169777833, 0.0617082044, 0.0419755988, 0.0122579429, 0.0038577819, -0.0276978351, -0.0040710624, -0.054445181, 0.0062133265, 0.0082652513, -0.0252850186, 0.0129467892, 0.0370330997, 0.0019463277, 0.0286750682, 0.0299088135, 0.0321789756, 0.0103098471, 0.014829088, -0.0284738708, 0.0449879877, 0.0072419932, -0.0436713919, -0.0123663666, 0.0074126548, -0.0002606907, -0.0220389999, 0.0646547079, 0.0149374269, -0.0852218419, -0.0289727934, 0.0182371084, -0.0695886388, -0.0450394265, -0.0441336073, -0.0222188234, 0.031708274, -0.0197478831, 0.0155291921, 0.0019679812, -0.0478868224, -0.0125778411, 0.0072258655, -0.0419951677, 0.0171221346, -0.0030125228, 0.0043603345, -0.0934163332, -0.0180267002, -0.0729048178, 0.0323951542, -0.0335216708, 0.0211693291, 0.0552829094, 0.0217719618, -0.0743147954, -0.0013285876, -0.0015703017, -0.0371237732, 0.0153072635, 0.0698929429, 0.0014920207, 0.018419344, -0.0000546432, 0.1328925341, 0.0352910198, 0.0699805394, -0.0068005905, 0.000622988, 0.0225420762, 0.006194842, -0.0148874419, -0.0141047081, 0.0297608431, -0.0049100993, -0.0043531982, -0.0325937606, -0.0179406442, 0.0119745694, 2.758e-7, 0.0357310288, 0.0224736724, -0.019260427, -0.0102287997, -0.0090635745, 0.0622912459, -0.0119316494, 0.0009893985, 0.0094970427, 0.0007511967, 0.057970196, 0.0024381611, 0.0136575205, 0.0754782185, -0.0907576233, 0.0923486575, -0.0024519623, -0.0041538072, -0.0280365385, 0.0527154692, 0.0320783332, 0.0915315598, 0.0341881923, 0.0270342529, -0.0323971175, 0.0120813549, 0.0536790378, -0.0245905071, -0.0479699709, -0.0066094189, 0.0051398249, 0.0126501815, -0.0112182181, -0.0598648712, -0.0361891277, 0.014485213, 0.0152191035, 0.0584483929, 0.0184334554, -0.075391382, 0.0197748002, 0.0282811299, 0.0085574007, -0.0181225035, 0.040501941, -0.016837202, -0.0552595705, -0.0655479804, 0.0019942198, 0.0464605354, 0.0226742122, 0.0165317357, -0.0255470518, 0.042623885, 0.0065582283, -0.0174566153, -0.048984509, -0.0066868099, -0.0236161724, 0.0284784194, -0.0059953234, -0.0286982786, 0.0319527686, 0.0384063236, -0.0099520693, -0.004000694, 0.0191429835, 2.428895738e-34, 0.0337856039, -0.0093421889, -0.0321806073, 0.0108838929, -0.0197722465, -0.0333129466, -0.0831339732, -0.0047422596, 0.0318189263, 0.0067063374, 0.0109621249 ]
http://arxiv.org/abs/2407.00341v1
http://arxiv.org/pdf/2407.00341v1
Iterative Data Augmentation with Large Language Models for Aspect-based Sentiment Analysis
2024-06-29T07:00:37
2024-06-29T07:00:37
Haiyun Li, Qihuang Zhong, Ke Zhu, Juhua Liu, Bo Du, Dacheng Tao
cs.CL
cs.CL
Aspect-based Sentiment Analysis (ABSA) is an important sentiment analysis task, which aims to determine the sentiment polarity towards an aspect in a sentence. Due to the expensive and limited labeled data, data augmentation (DA) has become the standard for improving the performance of ABSA. However, current DA methods usually have some shortcomings: 1) poor fluency and coherence, 2) lack of diversity of generated data, and 3) reliance on some existing labeled data, hindering its applications in real-world scenarios. In response to these problems, we propose a systematic Iterative Data augmentation framework, namely IterD, to boost the performance of ABSA. The core of IterD is to leverage the powerful ability of large language models (LLMs) to iteratively generate more fluent and diverse synthetic labeled data, starting from an unsupervised sentence corpus. Extensive experiments on 4 widely-used ABSA benchmarks show that IterD brings consistent and significant performance gains among 5 baseline ABSA models. More encouragingly, the synthetic data generated by IterD can achieve comparable or even better performance against the manually annotated data.
[ 0.0387886949, 0.093635343, 0.0091184946, 0.051453054, -0.0255377218, 0.0039293305, -0.0002754958, -0.0455305167, -0.009106881, -0.0680320561, -0.0416017547, -0.014499357, -0.0501400195, 0.0560728014, -0.0054111108, -0.0010585755, 0.0356844589, 0.0282080118, 0.0186929572, -0.0203149598, 0.035418164, 0.0326489434, 0.0140327355, -0.0011036653, -0.0348780602, -0.0004498024, 0.0117560811, -0.0059070266, 0.0321832858, -0.0310859848, 0.0336144827, 0.0230940655, 0.0133102341, 0.0064513208, 0.000002118, -0.0169541389, -0.0212180987, -0.0089671789, 0.0293955617, 0.0208692402, 0.0969635025, -0.0394454114, 0.0146831609, 0.020934036, -0.0571260415, -0.0416526496, 0.0424213335, 0.0744751468, 0.066797711, 0.1003328115, -0.0283972546, -0.0103271827, -0.0176871829, -0.0230865683, -0.0486843251, -0.007312886, 0.0190338362, 0.0138045894, -0.0389107801, 0.0780316293, -0.0053323698, 0.0138951382, 0.0131586744, -0.0055028219, 0.0083839409, 0.0076620919, 0.0139091872, 0.0123952143, -0.0012858236, 0.0363343246, 0.0368246175, -0.0253176205, -0.0297414567, -0.0204134565, -0.0271081757, -0.0146936188, -0.0060484023, -0.0053312769, 0.0246581696, 0.0841175988, 0.0653258562, 0.0123809883, 0.0174112953, 0.0280388091, -0.0001099478, 0.0815751106, -0.0139003079, -0.0480607226, 0.0012336193, 0.0752258524, -0.0151965367, -0.0248185266, -0.0004492408, -0.0074637262, -0.0101709487, 0.0298159085, -0.0176003929, -0.0139739811, 0.0181471407, -0.0522876084, 0.0088769468, 0.00318857, -0.0205504354, 0.0323742628, 0.018472027, -0.0414028242, 0.0162881054, -0.0231505781, -0.0590839535, 0.0083429236, -0.040989317, 0.0172254592, 0.0185336191, 0.0344004966, -0.0401457176, 0.0015808764, -0.0511805378, 0.004009374, -0.0108242854, -0.0069552842, 0.0392437726, -0.0253026336, 0.0104789408, -0.0030627013, -0.0141705796, 0.0410202593, -0.0537979379, 0.0615675449, -0.039211791, -0.0040893112, 0.0125929825, 0.0345059782, -0.0044900924, -0.0091659352, 0.0202951357, -0.0008076524, 0.0169168673, -0.0476526767, -0.0236857533, -0.014031616, -0.0141940545, -0.0691743046, -0.0120522231, -0.0808730647, 0.0434526764, 0.0059447051, -0.0008455659, -0.0168836992, 0.0183869991, -0.0095081413, -0.0238119196, 0.0477189831, -0.0746062547, -0.0089633847, -0.0410062037, -0.00391994, 0.0825412795, 0.0694722459, -0.0179776717, 0.0147401122, 0.0338252895, 0.0210673735, 0.0098027019, 0.0199856851, -0.000883827, 0.0364695266, -0.0207158681, -0.0066723707, -0.022695085, -0.0514005572, 0.0177488327, 0.0280998237, -0.0082356175, -0.0112731019, 0.0421887822, -0.0383561589, -0.0414869674, 0.0552623235, -0.0095024453, 0.0189291518, -0.0072203572, -0.0192580242, -0.0021916903, 0.0124357874, -0.00824231, -0.0055051083, 0.021325944, 0.012274933, -0.0307276752, -0.0845005736, -0.0225645881, -0.0187649447, 0.0060816491, 0.0147291357, 0.0480852947, 0.0181825832, -0.0138453273, -0.0194893256, 0.0683242157, -0.0665131658, -0.0103463242, 0.0161205363, 0.0383797176, 0.0778590813, 0.0024385522, -0.0380765945, -0.026971288, -0.0281194039, -0.0161891859, 0.0470734425, 0.0168144591, -0.0008738334, -0.0091616483, -0.0260152351, -0.0132336048, -0.0308555812, 0.0348677821, 0.0186573677, 0.0266745426, 0.0292962268, -0.0148736695, -0.0371313952, -0.024559848, 0.0190002751, -0.0020107983, -0.0219643023, 0.0475010984, 0.0075548356, 0.035488762, 0.0746281892, -0.0149633568, -0.0204888228, 0.0385691039, -0.0594440475, -0.0740797967, 0.0241851136, -0.0244726259, -0.0480663441, 0.0345269851, -0.0209238548, -0.0521161258, -0.0016999197, -0.0606735349, -0.029476, 0.0074821068, -0.0191379562, -0.0041100206, -0.0275987498, 0.0064040506, -0.0026590826, 0.0300746895, -0.0092219235, 0.0525495447, -0.0198832843, 0.0071604257, -0.0547784008, -0.0091147684, 0.0202867016, 0.0115942303, -0.0368858054, -0.023838928, 0.025483096, 0.0066461675, 0.0308010727, 0.0044182842, -0.0145191345, -0.0202973615, -0.124992013, -0.0032570229, -0.006221686, 0.0371872187, 0.0240461584, 0.0035474943, -0.0050641298, 0.0266945325, -0.0427743495, -0.0312152598, -0.0154867144, 0.0282231327, 0.0145084197, 0.0223388951, 0.0145156942, -0.0589342527, 0.0053357743, -0.0167153906, -0.0024606159, 0.0261577982, -0.0240122583, -0.0552446991, 0.0403409861, -0.0087118354, 0.0244479254, -0.0054636355, -0.0347433574, -0.0245658979, -0.0089804409, 0.0058638342, 0.0082956133, 0.0044997493, 0.0088323476, 0.0528192036, 0.0163447168, -0.0223925672, 0.0225542076, -0.0709460676, 0.0106226718, -0.0153878862, -0.0517973006, 0.0161863603, 0.0540344678, -0.0147187021, -0.0038059924, -0.0204562861, 0.0097796507, -0.0192702096, -0.0050175576, 0.0057088719, 0.0057871067, -0.0058420016, 0.0131384693, 0.0026851008, -0.0123799574, 0.0580797456, -0.0067265155, 0.0063468749, -0.0816386491, -0.0145696374, -0.0522450991, 0.0513623953, -0.0126968268, -0.0003866598, -0.0231637117, 0.0394629426, 0.0318279862, -0.0302544534, -0.023537172, -0.0071508856, 0.0472052991, -0.0027131645, 0.0045506461, 0.0282143075, -0.0685407966, -0.0113144331, -0.0588329174, -0.0573466346, -0.0102279447, 0.0199017972, -0.0196922384, 0.0051524374, -0.0175959487, -0.013533025, -0.0242031198, -0.0071560275, -0.0086474679, 0.0070947609, 0.0202541277, 0.0623660088, -0.0378653258, 0.0053990176, 0.0220233276, 0.002706839, 0.0317203477, -0.0366170555, 0.0055361269, -0.0297230221, -0.0163984876, 0.0261162147, 0.0040818648, -0.001576621, -0.0516762026, 0.0620989017, -0.0258390401, -0.0224235151, 0.1247178167, 0.0343727805, -0.052280467, -0.0004918905, 0.0108345374, 0.0054940521, 0.0482745543, 0.0133848609, -0.073333852, -0.0258248392, -0.0296589863, 0.0184783041, -0.0190477073, 0.0044252835, 0.0063113454, -0.1494589448, 0.026547391, -0.0169070903, -0.0634713024, -0.0691320971, -0.0675342903, 0.0132657988, -0.0405666903, 0.0275603496, -0.035503231, 0.0205127075, 0.0183425602, -0.0025559438, -0.0119588682, -0.0465864725, 0.0026211727, -0.0113468189, 0.0415805764, 0.0274198819, 0.0337733887, -0.0213380344, -0.0298635457, 0.0389586911, -0.026248239, -0.0066587129, -0.0243564826, 0.0683700368, -0.0393174551, -0.041586142, -0.0235923249, 0.0430347808, -0.0649716184, 0.0126359062, 0.0014931738, 0.0484451577, 0.0086403871, 0.0265484899, -0.0153547889, 0.0183444917, 0.0425563604, 0.074045293, -0.0077173379, -0.086497277, 0.0258919504, -0.0076784072, -0.0067115747, -0.0490330644, -0.0175113901, -0.016561972, -0.0222893544, -0.0304354932, -0.0767512321, -0.0723669901, 0.0097033624, 0.003343327, -0.0057503856, 0.0223832726, 0.0021846311, -0.0374378562, -0.0362549126, 0.0277082827, -0.0143837221, 0.0123111941, 0.0018296858, -0.0507485606, 0.030221967, -0.0223570559, -0.0140681425, 0.0123038087, -0.0243823808, -0.0515778363, 0.0174600184, 0.0270983763, -0.0010505773, 0.0467820615, -0.011564781, -0.0070352345, -0.0070634047, 0.0853431672, -0.0255393293, 0.0159986522, 0.0515197217, 0.0514149815, 0.0350383595, 0.0384438075, -0.0144914631, 0.0474269874, 0.0535439514, 0.0182189811, -0.0381988138, -0.0497246757, 0.0157479662, 0.0148408646, 0.0807243213, 0.0086697023, -0.0043496904, -0.0312440824, 0.0145992637, -0.0344420485, -0.0533698536, -0.0363026857, 0.0000197282, 0.0080814976, -0.0149400486, -0.0607945025, 0.07454779, -0.036534179, 0.0383355878, -0.033687897, 0.058274582, -0.0107442541, 0.0205815621, -0.0158975776, 0.0117722983, -0.0173072647, -0.0250816178, 0.0137656517, -0.0092215547, 0.0081785284, 0.0242590308, 0.0011184008, 0.004709437, -0.0313443318, 0.0132771628, 0.0017503649, 0.04777354, -0.0544960052, 0.0295093227, -0.0021899107, -0.0568564944, 0.0846008733, -0.058500316, -0.0105816871, -0.010927422, 0.0070092496, -0.0069346004, -0.0035841551, 0.0485052466, 0.0094141206, -0.0500310957, 0.0121298991, 0.0416454338, -0.0898022056, 0.0526749752, 0.0328527279, -0.0093127331, -0.0229336806, -0.0114213489, 0.0404586829, 0.0001913756, -0.0131820757, 0.0473938622, -0.0294386987, -0.0540884025, 0.0052304831, -0.0199671164, -0.0003712764, 0.0195305888, 0.0050259344, 0.021879226, 0.0000789409, 0.0666830167, -0.0613292679, 0.0049991244, -0.0258520264, -0.0254021045, -0.0114159342, -6.922765412e-33, -0.0123846205, -0.0033436508, -0.0328677483, 0.0182592552, -0.0025155435, 0.0121925417, -0.0076092905, 0.0518940426, 0.0165571254, 0.0685554519, 0.0178193152, 0.0330079794, 0.0097321402, 0.0557090715, 0.0090947701, 0.0121118054, 0.0532272719, 0.0133657772, -0.0140711311, 0.0102341678, 0.0281568468, 0.0035354213, 0.0760778487, -0.1548708975, 0.0362115838, -0.0131727066, -0.049072627, 0.022198014, 0.0160977636, 0.0479947776, -0.0206158813, 0.0898796916, 0.0359404646, -0.0495310128, 0.0202436447, 0.0206179228, -0.0373280272, -0.0203330331, 0.0299009606, 0.0205495451, -0.0010624975, -0.0301559884, -0.010061211, 0.0040267543, -0.0200823508, 0.0165800713, 0.0110514779, -0.0590267293, 0.0378932618, -0.0829108208, -0.0579686165, 0.0255206674, 0.0066469382, -0.0075098565, 0.0322252288, 0.0417604297, 0.0194650814, 0.0257821884, -0.0487323962, 0.0142166438, -0.0175954346, 0.0428247899, 0.0104524009, -0.021057263, 0.0150028467, 0.0642418489, -0.0243686605, 0.0184442364, -0.0093929945, 0.0474128462, -0.0070959805, -0.0065235314, 0.0271528158, 0.0617177896, 0.0067952187, -0.0086466288, -0.0347086005, 0.0261471029, 0.0271300208, -0.0294448677, 0.064979732, 0.0152731407, -0.0471522398, -0.0127727194, -0.0044467235, -0.0342239179, -0.0447946191, -0.0017751416, -0.0024725238, 0.0367336124, -0.0547710098, 0.0102356886, -0.0249115601, -0.0618832037, -0.030252859, 0.0188812353, -0.0558468662, 0.0243826043, 0.0007152069, -0.0123784179, -0.0637811497, -0.0246939361, -0.012257901, 0.0247149114, -0.0110544851, -0.012990077, 0.112510033, 0.0055680624, -0.1047350168, 0.010460672, -0.0094840173, 0.0401776321, -0.0154309496, 0.0407821536, 0.0040185521, 0.0123755168, -0.0186595749, 0.1099373624, 0.0439637862, 0.0604649708, -0.0084044691, -0.0431796908, -0.0133058978, 0.0094588259, -0.0272722077, -0.0182151329, 0.0288262498, -0.0344723016, -0.0319369286, -0.0521514826, -0.0193070713, 0.0001645432, 2.821e-7, 0.0623566434, 0.0559545755, -0.0122756455, -0.0020937875, 0.0252092667, 0.0535239875, -0.0007209746, 0.0017977498, 0.0044197333, -0.0244884137, 0.0146704633, 0.03085717, 0.0178586785, 0.0014169366, -0.0526234694, 0.0534559637, -0.0041645397, -0.0112301037, -0.0227914713, 0.015469118, 0.0682234243, 0.1394940168, 0.047369428, -0.0057332357, -0.0096243676, 0.0241181906, 0.0435877666, -0.0358094759, -0.0667857677, 0.0437658317, -0.010300559, 0.0334582217, -0.0104251439, -0.0287284702, -0.0167307556, 0.0227026641, -0.0131853204, 0.0594500303, 0.0349139124, -0.0373286568, 0.0124878911, 0.0127332257, 0.0198321771, -0.010970558, 0.0692488253, -0.0475800373, -0.0543938465, -0.0945366025, -0.0477443486, 0.0417863093, 0.01716966, -0.0121313641, -0.0251711048, 0.0349894539, 0.0071320669, -0.021987943, -0.0701912642, -0.0589550249, -0.0491019823, 0.0204938091, -0.0163869336, -0.0182989184, 0.0267893635, 0.0516205318, -0.0141444737, -0.0483188778, 0.0356451087, 2.544179132e-34, 0.0566794313, 0.0092622498, -0.0090497108, 0.0111502316, 0.0214651413, -0.0106756659, -0.0426836498, 0.0092435833, 0.0005661547, -0.0233437587, 0.0346145108 ]
http://arxiv.org/abs/2407.01626v1
http://arxiv.org/pdf/2407.01626v1
SPARKLE: Enhancing SPARQL Generation with Direct KG Integration in Decoding
2024-06-29T06:43:11
2024-06-29T06:43:11
Jaebok Lee, Hyeonjeong Shin
cs.IR
cs.IR, cs.AI, cs.CL
Existing KBQA methods have traditionally relied on multi-stage methodologies, involving tasks such as entity linking, subgraph retrieval and query structure generation. However, multi-stage approaches are dependent on the accuracy of preceding steps, leading to cascading errors and increased inference time. Although a few studies have explored the use of end-to-end models, they often suffer from lower accuracy and generate inoperative query that is not supported by the underlying data. Furthermore, most prior approaches are limited to the static training data, potentially overlooking the evolving nature of knowledge bases over time. To address these challenges, we present a novel end-to-end natural language to SPARQL framework, SPARKLE. Notably SPARKLE leverages the structure of knowledge base directly during the decoding, effectively integrating knowledge into the query generation. Our study reveals that simply referencing knowledge base during inference significantly reduces the occurrence of inexecutable query generations. SPARKLE achieves new state-of-the-art results on SimpleQuestions-Wiki and highest F1 score on LCQuAD 1.0 (among models not using gold entities), while getting slightly lower result on the WebQSP dataset. Finally, we demonstrate SPARKLE's fast inference speed and its ability to adapt when the knowledge base differs between the training and inference stages.
[ 0.0648437217, 0.0660207495, 0.0188949145, 0.0103840251, -0.0046859253, 0.0299961008, -0.0529365093, -0.0027553709, 0.0221336801, -0.0220249817, 0.0065965247, 0.0193327386, -0.0194097683, 0.0450792089, 0.0182501506, -0.006127072, 0.0051573054, 0.0003230769, -0.0273246914, 0.0203236658, -0.0223534554, 0.0662779957, -0.0301826485, 0.0157996919, -0.0269551184, 0.0048392611, -0.0408979543, 0.0470248871, -0.0404928587, -0.0247188769, 0.0117508555, 0.0628684312, 0.0064844419, 0.0101294369, 0.0000019857, -0.0611911789, -0.0288428999, 0.0516330898, -0.052382499, -0.0111619085, 0.009793696, -0.0187635291, 0.0576738492, 0.0411651582, -0.0508543774, -0.0302358922, 0.0458181165, 0.0570309274, 0.0330546312, 0.0629062355, -0.013901948, -0.0452834852, 0.0065165279, 0.0030726527, 0.0205806643, -0.0733844265, -0.0142533416, -0.0145479944, 0.0473375656, 0.0058444915, -0.0119690094, 0.0307721365, 0.0160989482, -0.0044134804, 0.0179650038, 0.0108591057, -0.0231952332, 0.0018728424, -0.0092074424, 0.0631018952, 0.0549316593, -0.0225133393, 0.0203064512, 0.0335524492, -0.0135233747, -0.0001271619, -0.0021303848, -0.019299088, -0.0196941327, -0.0092271548, 0.0049926736, -0.0145022804, 0.0188339725, -0.0203060955, -0.0478306711, 0.0812843218, 0.0283335317, 0.0045779976, 0.018543981, 0.0328343026, 0.023995867, -0.0219678245, -0.0199618526, 0.0087471092, -0.0585007668, 0.0304838549, -0.0411228649, 0.0581848696, -0.0040880563, -0.0044263718, -0.0180843938, 0.0489557907, 0.0253742207, 0.0338674262, -0.015792748, 0.0151477437, -0.0069498112, -0.0311071537, -0.0326840207, -0.0553187951, -0.099547483, 0.0117387194, -0.0401866026, 0.0378073044, -0.0817206204, -0.0307556745, 0.0031239088, 0.0487154536, 0.0424268618, 0.0051287422, 0.0644957945, 0.0431523286, -0.0243626647, 0.0169859901, -0.0396269783, 0.0564283058, -0.0081775337, -0.0268617235, -0.0032502913, -0.0684637949, 0.0062359632, 0.0007641889, 0.0093252454, -0.0384294167, -0.0297109969, 0.0193783734, -0.0043661869, -0.0172990952, -0.0770688877, -0.0597774424, 0.0270161927, -0.0405586585, 0.003553719, -0.0430835299, 0.0594968498, 0.0254110601, -0.0145977875, -0.0706188604, 0.0108491946, 0.0149988187, -0.0758170187, 0.059167441, -0.0839577466, 0.0036191044, -0.0285852831, -0.0173292477, 0.0158657618, 0.127175644, 0.001109728, -0.0256669037, 0.0388665386, 0.013454265, -0.0900495201, -0.0067362115, 0.0340727791, 0.0018151922, 0.017261032, 0.0453635566, -0.0418384597, 0.0197388697, 0.0048915586, 0.0183895659, -0.0070465473, 0.004133835, 0.0027954218, 0.0116531188, 0.0204002894, 0.0086800195, 0.0126438299, 0.0536185987, -0.0119814537, -0.0228144173, -0.0579000786, 0.0251822583, 0.0032993436, 0.0061042784, 0.0065846723, 0.0389756747, -0.0187542364, -0.0235522352, -0.0012375413, 0.0311121792, -0.0154465036, 0.0242571738, 0.0400517918, 0.0498737171, -0.0514711067, 0.0947626904, 0.0162993129, -0.0484823175, 0.0255629346, -0.0083511826, -0.0034065954, 0.0528207384, 0.0485201329, -0.0051433225, -0.0361850597, 0.0157505535, -0.0220352877, 0.0369842313, 0.0035597384, -0.0208909158, 0.0249264259, -0.0369522944, -0.0710849985, 0.0091707371, 0.0386808775, -0.0432739705, 0.0449383892, 0.023724772, 0.0179009084, -0.0522719212, 0.026405381, 0.0184109509, -0.0210254733, -0.0112160482, 0.0216130354, 0.0083088828, -0.0104566822, 0.0523291007, 0.0007421774, 0.0189258493, 0.0208803955, -0.0055222646, -0.0450780392, 0.0051051695, 0.066479452, -0.1037216559, 0.004974653, -0.0220977273, 0.0025240944, -0.0091593005, -0.0512182675, -0.0277852267, 0.0061884504, -0.023975106, 0.0666965097, -0.0452222973, -0.0263326596, 0.0303003527, -0.0580611415, -0.030527655, 0.0326308124, -0.0064562187, -0.0216009896, -0.0028173262, 0.0001956145, 0.0001065084, -0.0237413906, -0.0160958003, -0.0069033555, -0.0247733817, 0.010984607, -0.0118755829, 0.0124659669, -0.0830212831, 0.0194502808, -0.063135758, 0.0158873592, -0.0160035156, 0.010647689, 0.006553777, 0.0516322032, 0.0144983772, -0.0059234379, -0.0267173778, -0.0089367274, -0.0014090625, 0.0135513898, 0.0137057807, 0.0236037672, -0.0035519379, 0.0036024547, 0.0121966032, -0.015415201, 0.0698704496, -0.015671216, 0.0052187406, 0.0039616153, 0.0733751282, -0.0561432131, -0.0115660653, 0.0176697969, 0.0119505031, 0.0013068559, -0.0470589772, -0.0077298214, 0.0306256972, -0.0064150351, -0.0195404422, -0.0402520373, -0.0455265939, -0.0649009496, 0.0185172912, -0.0255127475, 0.0078249443, -0.0182539746, -0.0256998371, 0.0616572425, 0.0095319469, -0.0069493335, -0.0234654639, -0.0709074289, 0.0386448689, 0.0024265917, -0.0017000784, -0.0387190692, 0.045465678, 0.051381737, 0.0374403149, -0.0114322482, 0.0013026776, 0.0614102297, -0.0036884227, 0.0067489184, -0.0137051204, 0.02276784, -0.0262648687, 0.0417045765, -0.0312127843, 0.0360492803, -0.016435083, -0.0521316826, -0.0293643884, 0.0093444185, 0.0053317156, -0.017921932, 0.0221840199, -0.0175619274, 0.0431890264, 0.0255908705, -0.0017587023, -0.0466643311, 0.0681178272, -0.0212094411, -0.000802061, 0.0159174036, -0.0189078655, 0.0098904036, 0.0175625533, -0.0343023986, -0.0362189673, -0.0161540173, -0.0339701325, 0.0069035334, 0.0380248129, 0.0676304102, -0.0043763751, 0.007349188, 0.0020395711, -0.0164420307, 0.0709224269, 0.0385679603, -0.0483659841, 0.0344366804, 0.0271444786, 0.0377182811, -0.0338143893, 0.008184568, 0.0141357984, -0.0013966964, -0.0270503405, -0.0247981418, 0.0868464783, 0.0493945852, 0.022333825, -0.0144874919, 0.0208721757, 0.0568905622, 0.0271724183, 0.0391040966, -0.0981893688, -0.0616900623, 0.002762059, 0.0761525854, 0.0311261453, -0.0770283714, -0.0020863838, -0.1131813303, 0.0471072346, -0.0237601604, -0.0471759327, -0.0559927188, -0.0467857532, -0.0340703167, -0.0327987075, -0.0363569111, 0.0739878565, 0.000055111, 0.0109520741, -0.008577643, -0.0175867099, -0.0439121425, -0.0260839425, -0.0623449311, 0.0232613701, 0.0124192983, 0.0408556126, 0.0616034754, 0.0191072579, -0.072138615, -0.0319095626, -0.0303028431, -0.0541861877, 0.0629156455, -0.0189697538, -0.0028965278, -0.0325610414, 0.0110814683, -0.0615775101, 0.033253517, -0.0259280447, 0.0489845276, 0.004219729, 0.0216680355, -0.0210756566, -0.0221687183, 0.0171169396, 0.084975563, 0.0073804273, 0.0343972929, -0.050300654, -0.033791244, -0.0092436671, -0.0551351011, -0.0220023543, 0.0594029576, -0.0372165367, -0.0296836328, -0.0572283082, -0.0436310321, 0.0585632622, 0.0267328005, -0.020082999, 0.0237835236, 0.005518557, -0.0046969457, -0.0988011509, 0.0198323224, -0.0281574186, -0.0002866118, -0.0286015272, -0.0018033566, 0.0342887379, -0.008679986, -0.0218756814, 0.0255281664, -0.0295217093, -0.0624214523, -0.019748183, 0.0283902008, 0.0151492506, 0.0184030086, -0.0219806787, -0.0058559147, 0.0323661119, 0.0382125191, -0.0568140894, -0.0207111463, -0.0080628581, -0.0128710372, -0.0009129852, 0.0701609999, -0.0743938014, -0.0533541739, -0.0537063815, 0.1001823321, -0.0059738951, -0.0257859007, 0.03237148, 0.055869285, -0.0444276705, 0.0261851773, -0.0060099834, -0.0178054813, 0.0169007666, -0.0155985756, -0.0281599965, -0.0695073977, 0.0325324051, 0.0245320778, 0.0133652324, 0.006718325, -0.0090248929, -0.0060875625, 0.0608663857, -0.0003289813, -0.030420851, 0.0436848514, 0.0065310495, 0.0705691129, -0.0390907563, -0.0071372068, 0.0060032718, 0.0160781648, 0.0261778273, -0.0393442512, -0.0017804293, 0.0249464437, 0.0059155459, -0.0159655921, -0.0152766882, -0.0251875333, -0.0570464134, -0.000976963, -0.0185081009, 0.0520386137, 0.0110720498, 0.0614799932, -0.0076999404, -0.0015816122, 0.0003800808, 0.0357784964, -0.0000015822, 0.0016913816, 0.036540933, 0.0122037036, 0.0003543561, -0.0241075605, 0.0620096959, 0.0269285403, 0.0652164295, -0.018852897, -0.0552852824, -0.0387736782, -0.0633438975, 0.0280783903, 0.0156870391, -0.0274020843, 0.0087132221, -0.0561292395, -0.0845265016, 0.0090822978, -0.0273196325, -0.0310916174, 0.0009786701, 0.0565293692, 0.0283822026, 0.0638770834, -0.0646843985, -0.0233953428, -0.0185412038, -0.0392486863, -0.044127889, 0.0042425035, -6.384645404e-33, -0.0378284976, -0.028613979, 0.0404310711, -0.0211004522, -0.0282254275, -0.0235476624, -0.0020696186, -0.0567032546, -0.0061865528, 0.0111933481, 0.0095349941, 0.0085992562, 0.0092695924, 0.0286593661, -0.0100642852, -0.0307973232, 0.0357390605, 0.0052667526, 0.0158856772, 0.0214751121, 0.0803123042, 0.0615376607, 0.0208624229, -0.0014409811, 0.0155249285, 0.0051086512, 0.015615779, 0.05591207, 0.0267824773, 0.0404884368, 0.0068962942, 0.0356194563, -0.0024849428, -0.0074937246, 0.0017342753, -0.0549393035, -0.1152343377, -0.0283526201, 0.015915174, 0.0240503252, 0.0014526972, 0.0000519722, 0.0291160475, -0.001278288, 0.034321595, -0.0294356607, 0.0098350924, -0.0033184823, -0.0098634046, -0.0878040791, -0.0317015164, 0.0176518485, 0.0020826336, -0.0032134759, -0.014854298, 0.0151995216, 0.0205700994, -0.0172631759, -0.0745984539, 0.0208607838, -0.0037131773, 0.0182213094, 0.021437183, -0.0193288606, 0.0144729353, -0.0299805682, 0.0304630641, -0.0316662081, 0.0094043789, 0.0627318993, 0.0199497025, 0.073658973, 0.003062804, 0.0269142147, 0.006425445, -0.0072311657, -0.085805513, 0.0299484041, -0.0115936743, 0.0404522568, -0.0242952667, -0.0225982741, -0.0485054031, -0.0466457494, -0.0437369384, 0.0350095071, -0.0430386141, -0.0180493388, 0.0696349964, 0.0030374432, -0.0203616731, -0.0064210002, 0.0138702365, -0.0411520079, 0.0049629947, 0.0586308166, 0.0093886731, -0.0298928246, -0.0104204761, 0.0360257737, -0.0400891751, -0.0001317145, 0.0363995656, -0.0603955351, -0.0388835631, -0.0017680631, -0.0200852007, 0.0030914531, -0.0469781831, 0.001351362, -0.0073415632, 0.043005567, -0.0178309083, 0.0081804311, 0.0176241733, 0.0119644376, 0.0034644874, 0.0199788753, 0.0292163342, 0.0236785021, -0.0294008665, -0.0116963675, 0.0530563593, 0.0101460284, 0.0140513545, -0.0032690426, -0.0282738414, -0.0395839177, -0.0196653455, -0.0381632932, -0.0401866324, 0.0386434011, 2.778e-7, 0.0419577211, 0.0271092895, 0.018495189, 0.0822479352, -0.0455248728, 0.0031066013, 0.0042111115, 0.0408583544, 0.0266806465, -0.0090727145, -0.012693855, 0.0402868502, 0.0159950554, 0.0450758561, -0.0993360057, -0.01699223, 0.0268421415, -0.0619897507, -0.0566679351, -0.0143821938, 0.0485676117, 0.0196207836, -0.0059823529, -0.0056111757, 0.0195376184, -0.0078777988, 0.030530747, 0.037997786, -0.0345479511, 0.0331204571, 0.0363219082, -0.014758504, 0.0036356987, 0.0279109441, -0.0206857175, 0.0319319256, -0.0179259107, 0.0322630443, -0.0015638047, -0.051759053, -0.00255982, -0.060762804, 0.0414774045, -0.0091053816, 0.0824404284, -0.0341016501, 0.028848825, 0.0839847028, -0.0533626527, -0.017505914, -0.0299777146, -0.0199467763, -0.0027012762, 0.0058635427, 0.0418677814, -0.000017823, 0.0246056411, -0.0306169074, 0.0017016166, 0.0221856926, 0.0047687744, -0.0538499057, -0.0004100354, -0.0028529956, -0.0220296551, -0.0126321996, 0.0018598683, 2.858170203e-34, 0.0239403229, 0.0486013927, 0.0048783747, 0.059046872, 0.0684837401, -0.0215451587, -0.0173203982, -0.0143270465, 0.0223362353, -0.0894079953, -0.0006452354 ]
http://arxiv.org/abs/2407.00322v1
http://arxiv.org/pdf/2407.00322v1
LLM-Generated Natural Language Meets Scaling Laws: New Explorations and Data Augmentation Methods
2024-06-29T05:40:17
2024-06-29T05:40:17
Zhenhua Wang, Guang Xu, Ming Ren
cs.CL
cs.CL
With the ascent of large language models (LLM), natural language processing has witnessed enhancements, such as LLM-based data augmentation. Nonetheless, prior research harbors two primary concerns: firstly, a lack of contemplation regarding whether the natural language generated by LLM (LLMNL) truly aligns with human natural language (HNL), a critical foundational question; secondly, an oversight that augmented data is randomly generated by LLM, implying that not all data may possess equal training value, that could impede the performance of classifiers. To address these challenges, we introduce the scaling laws to intrinsically calculate LLMNL and HNL. Through extensive experiments, we reveal slight deviations (approximately 0.2 Mandelbrot exponent) from Mandelbrot's law in LLMNL, underscore a complexity advantage in HNL, and supplement an interpretive discussion on language style. This establishes a solid foundation for LLM's expansion. Further, we introduce a novel data augmentation method for few-shot text classification, termed ZGPTDA, which leverages fuzzy computing mechanisms driven by the conformity to scaling laws to make decisions about GPT-4 augmented data. Extensive experiments, conducted in real-world scenarios, confirms the effectiveness (improving F1 of Bert and RoBerta by 7-10%) and competitiveness (surpassing recent AugGPT and GENCO methods by about 2% accuracy on DeBerta) of ZGPTDA. In addition, we reveal some interesting insights, e.g., Hilberg's law and Taylor's law can impart more benefits to text classification, etc.
[ 0.0097481105, 0.0576277375, -0.0168978591, 0.0331054367, -0.0427501537, 0.0194838848, -0.0049957125, 0.0311996937, -0.0029511156, -0.0829020515, -0.0278466623, -0.0651547611, 0.01959108, -0.0071816714, 0.0468280949, -0.0407176204, 0.0112240566, -0.0101583358, -0.0030861537, -0.0046233176, 0.0118902065, -0.0091893123, 0.0278588757, 0.0071235267, 0.0202971995, 0.0374375209, 0.0206896588, 0.0041708141, 0.0286842473, -0.0271800924, -0.023877766, 0.0401385278, 0.0354309753, 0.0608399287, 0.0000021937, -0.0840983316, 0.0306400992, 0.0128357392, 0.000452929, 0.0506126583, 0.0619244799, -0.0440543406, -0.0320867747, 0.0312804207, -0.0259420518, -0.0500619188, 0.0045179813, 0.0651442483, 0.0210675001, 0.0936563388, -0.0086272582, -0.0938082114, 0.0780899152, -0.0239991676, 0.0234384723, -0.0075136502, 0.0561040081, -0.0119582759, 0.0192780718, 0.0640044287, -0.0104497653, 0.0131631661, 0.0075445678, 0.0347936563, 0.0097367959, 0.0460111424, -0.0511911176, 0.0400568247, 0.0074693318, 0.0583691336, -0.0052604261, -0.0589124225, -0.0158514567, -0.0221475586, -0.0003725506, 0.0083792089, -0.0548052266, 0.0091761788, 0.0024149807, 0.0523238443, 0.0008481907, -0.0012984086, 0.0487494767, 0.028140422, -0.0177742597, 0.0506216288, -0.0007508803, -0.0588931814, -0.0162886363, -0.0223249234, -0.0768554062, -0.0353329368, -0.0123754488, 0.0236456729, 0.0463202372, -0.0046743322, -0.0584798045, -0.0392903835, 0.0663282722, -0.0507857352, -0.002533671, 0.0159582477, 0.0299861357, 0.032351993, -0.034780167, 0.0472856127, -0.0284876842, -0.0268314835, -0.04842503, -0.0012158639, -0.0651507825, -0.0119308801, -0.0356077589, 0.0561817512, -0.0089738909, -0.0167420898, -0.0853718668, 0.0247172248, 0.0258816686, -0.0033891411, -0.0123328306, -0.0007771171, 0.004796715, 0.0099277757, -0.0198136289, 0.0365666151, -0.0263729226, 0.0312361997, -0.0184796397, -0.0218702685, 0.0122773089, 0.0232656393, 0.0245155469, -0.021682255, 0.0441394374, 0.0563612282, 0.0145604135, -0.071854569, -0.0684469417, 0.0125836236, -0.0129985502, -0.0383684412, -0.0390460044, -0.064969182, -0.0048675304, -0.0115219038, -0.0242913775, 0.0032166212, 0.0097610755, 0.0427877493, -0.0698435009, 0.1100983918, -0.0653081983, 0.0085328287, 0.0513836481, -0.0159415901, 0.0184809864, 0.0541173667, 0.0476868376, -0.0140006132, 0.0401511677, -0.0111024389, 0.0413349606, 0.0762135237, 0.0209631771, 0.010226652, -0.0318830982, -0.0112979244, -0.0506390035, 0.0201398414, 0.0215524826, 0.0463801846, -0.0405021422, 0.0123585695, 0.0721930936, 0.063833423, 0.019912025, 0.0574140586, -0.0255110208, 0.0272919666, 0.0174331162, 0.0197193678, -0.0502776317, -0.0129359504, -0.0706834868, 0.006318687, 0.0330491103, 0.0423046984, -0.0320520401, -0.0445120484, -0.0281629469, -0.0153895197, 0.0427413099, -0.0429933779, 0.0587944388, -0.0136195961, 0.0093420455, -0.0129354671, 0.0369649157, -0.0258554202, -0.0227185842, -0.0309985895, -0.0251172148, 0.0349079594, 0.0584732704, -0.0347338393, -0.0066044512, -0.0155044384, -0.016251741, 0.0152262542, 0.0224163458, 0.0352924056, -0.0247656945, -0.0717002302, -0.0157259256, 0.0141510339, 0.0244358573, -0.0029809759, 0.0204560775, 0.0277374238, 0.0075880555, -0.0231594276, -0.026740415, 0.019126866, 0.0095039029, -0.0668569207, 0.0499363169, -0.0277557373, 0.0236719884, 0.0134616932, -0.0445008837, 0.0062965765, -0.0020652206, -0.0300640576, -0.0582853816, -0.0221404955, -0.0002131303, -0.0550686195, 0.0158040691, 0.0024657738, 0.0237916112, -0.0085769985, -0.037723992, -0.0315526128, 0.0097206384, -0.0480187237, 0.02893053, -0.0753176957, 0.0372448005, -0.0172611307, 0.0601454377, -0.0485476069, 0.0695897117, -0.0088243112, -0.009516337, -0.0223923344, 0.0424813293, 0.0367426425, -0.0148809655, -0.0304546002, 0.0017424584, 0.005266706, 0.0360874236, 0.0232908949, -0.0098745525, -0.0150174173, -0.0071366499, -0.07166107, -0.0031694472, -0.0147721618, 0.0378308631, -0.0065135644, 0.0220282525, -0.024708828, 0.0125671756, -0.031189207, -0.0281503592, -0.0034106709, 0.0105022276, 0.0536118187, -0.0192250442, -0.0227237251, -0.0076759569, -0.0111709042, -0.0239631571, 0.0179166701, 0.0311315786, -0.0043664686, -0.0536834896, 0.0069609834, -0.0246276967, 0.0172170643, -0.0069579333, -0.0273792278, -0.0134856412, -0.0081779575, 0.0305289254, 0.0208992921, 0.0220971163, -0.0155691244, 0.0266822763, 0.0533554479, -0.0348476805, 0.0060295891, -0.0157143809, 0.0057418519, -0.0126398094, -0.0345375501, 0.0196206141, 0.0451084524, -0.0314496085, -0.0203642845, -0.0513294302, 0.0213435311, -0.0089355614, 0.0013266907, -0.0006298897, 0.0116331698, -0.0417459421, 0.0091089001, 0.0183976032, -0.0725240558, 0.031264428, -0.0465177, 0.0055646738, -0.0524973944, -0.0571555123, -0.0505775809, 0.0444571674, 0.0441494845, 0.0117343748, 0.0159973074, -0.0020997792, -0.001461742, -0.0165747032, 0.0114844507, -0.0360127576, 0.0425059386, -0.0330439545, 0.0301239975, 0.0017151593, -0.0361306295, -0.0107820071, -0.050018616, -0.002072531, 0.0060473382, 0.0189002436, -0.0497180633, -0.0234892536, -0.0035452428, 0.0182479508, 0.045500312, -0.0216308534, -0.0202393979, -0.017403625, 0.0505315512, 0.0454916656, -0.0046534352, 0.0173074305, 0.0039687487, -0.008041827, 0.0211643856, 0.0418642312, 0.0312452316, -0.0411367491, -0.015014505, 0.0115309386, -0.0201688427, -0.062538445, 0.0098259496, 0.014078212, -0.0268501863, 0.0344004221, 0.1265922934, 0.0221374463, -0.0303136706, 0.013999071, 0.0088189896, 0.0210202131, 0.0139947133, 0.0205906313, -0.0896845162, -0.0383777842, -0.0188472047, 0.0188484769, -0.0558728985, -0.0299086981, -0.0118065523, -0.1333471388, 0.0290601812, 0.0258576125, -0.0150549468, -0.012323427, -0.0508570112, 0.0057752342, -0.0193924271, 0.0100037167, -0.0268790368, -0.0098956199, 0.00513962, 0.0165171232, -0.0272907056, -0.0750043318, -0.0017690418, -0.0484579727, 0.0601755828, 0.0302931666, 0.0311730243, -0.0481774248, -0.0241014231, 0.0292514917, 0.0100070443, 0.004583417, -0.0165903326, 0.0400710888, 0.0079859458, 0.0070309392, -0.0577551574, 0.0387860499, 0.0228451397, -0.0084450804, 0.0142278746, 0.072543256, -0.012412779, -0.0330758989, -0.0390699878, -0.0110305222, -0.0354360938, 0.0844749287, 0.0072271111, -0.0478608124, -0.0197698176, -0.0158670377, -0.0078630103, 0.0133984629, -0.0285392683, -0.0004983408, -0.0084560392, -0.0161790475, -0.0637965351, -0.021363508, -0.0065163304, 0.0110091558, -0.0084252311, 0.0260136593, -0.0003433036, 0.0004790558, -0.0065062973, -0.0191900488, -0.0109157199, 0.0129651772, -0.0251386184, -0.0037385197, 0.0525026135, -0.0409557819, 0.0033164751, 0.0129082995, -0.0567837916, -0.0637036264, -0.0151708145, -0.003769831, 0.0227339976, 0.0425219722, -0.0023542012, -0.090726845, 0.0777940825, 0.1342636794, -0.019000968, 0.0451515093, 0.0097458921, 0.0201393943, 0.0011016191, 0.0072144452, -0.0045792186, 0.042933289, -0.017599212, 0.0266811568, -0.0491102077, -0.0252705887, 0.0073390561, 0.0636187345, 0.0462521836, -0.0264034662, -0.0122789443, 0.0230703745, 0.0098785851, -0.0122827496, 0.0112058436, -0.0329248235, -0.0390050299, 0.0521749929, 0.0052683209, -0.0485714115, -0.0221213009, -0.0097428132, 0.0089784069, -0.0318995677, -0.0274729654, -0.0361774974, 0.0115150865, 0.0071636778, -0.0000838167, 0.0017610795, 0.0096484972, 0.0169312675, 0.0346188135, -0.0202166215, 0.0525364801, 0.0045327637, 0.0019877476, -0.029008029, 0.0381985828, -0.0884245709, 0.0019059093, -0.0515537038, 0.0491636433, 0.0261182524, -0.0019524847, 0.0419394597, -0.0490636826, -0.0178073384, -0.0202673711, -0.0245081894, -0.0237339307, 0.0169977155, 0.0184575282, 0.0307694692, -0.041956909, 0.0109418761, 0.058742445, 0.0360479355, 0.0068614185, 0.0067684753, -0.011732473, -0.0156942084, -0.025756469, 0.0447614007, 0.0288397167, -0.0150927845, 0.024022568, -0.072081767, -0.0535470694, -0.019648008, -0.0190580655, -0.0002605833, -0.0396373235, 0.0406665094, 0.0169376694, -0.0614533573, -0.0054779835, -0.0251336638, 0.0006263614, -0.00396966, 0.0061744032, 0.0336012021, -6.221096671e-33, -0.0123275956, 0.0173648205, 0.008399318, 0.0164513476, -0.0114210322, -0.0212274678, 0.0448977277, -0.0108527942, -0.0057481453, 0.0130333668, -0.0162378307, 0.0011252589, 0.0029343378, 0.0535346009, -0.0095941992, -0.0236149766, 0.0333763734, -0.0223006513, -0.0173211489, 0.0155783435, 0.0051458701, 0.0191423763, 0.0775177255, -0.0466740094, -0.0077535752, -0.0154346908, -0.0265482925, 0.0258038267, 0.0004973164, 0.0302058719, -0.0286185462, 0.0761825442, 0.026944777, -0.0524516329, 0.002450492, -0.0002066425, -0.0447688662, -0.0492111817, 0.0160210114, 0.0163529422, 0.0173497386, 0.0017613211, 0.0739280134, -0.0201992784, -0.0537150614, -0.0013982722, 0.0361703075, -0.0298870858, -0.0141309416, -0.0179563537, -0.0298077166, 0.0470704585, 0.0190359801, 0.0160008725, 0.0084636062, -0.0031822098, -0.0122842388, 0.0682633296, -0.064967297, 0.007871706, 0.0742023736, 0.0044188499, 0.0067986907, 0.0018407223, 0.0206099376, 0.0533075668, 0.0461955145, -0.0091469651, -0.0617926307, -0.033892896, 0.049343992, 0.0075237374, 0.0178577062, 0.0768485293, 0.0640770793, 0.0103838593, -0.0503363721, 0.0557366274, 0.0538764633, -0.0020535723, -0.0205373969, 0.0045234389, -0.0757588372, -0.0424266905, -0.008385594, -0.0013268579, -0.0272579025, -0.0156571418, -0.0053045144, -0.0006834406, 0.0052813794, 0.0216592494, -0.0044589746, -0.061657656, -0.0541017875, -0.0035231786, -0.0094161015, 0.0210288595, 0.0092958268, 0.0116178244, -0.0436015241, -0.0290909261, 0.0067704171, 0.0262751002, 0.007416266, 0.0002322877, 0.0433409289, 0.0309156328, -0.0861933157, -0.0012131716, 0.0007836772, -0.0267776847, 0.0258481372, -0.0250257179, 0.0037700729, 0.0213904455, 0.027452033, 0.0334796868, 0.0651337132, 0.0092928894, -0.0150354197, -0.0018509961, -0.003982658, 0.0023418462, -0.015576357, 0.0006989454, 0.0128550436, 0.0074172225, 0.0251698438, -0.0895713866, -0.0169948228, 0.0169601198, 3.011e-7, 0.0499446988, 0.0764761344, 0.0065581384, -0.0210300628, 0.0310330968, 0.0652680695, -0.0321694165, 0.040278323, 0.0001700837, 0.0371242426, 0.0471852981, 0.0062421137, 0.0119777583, 0.0109909205, -0.0653914064, 0.0210315883, -0.0756973326, -0.0199024845, -0.0510552637, 0.0242715962, 0.0415660851, 0.1111916527, 0.0478993431, -0.0496861003, 0.0235695522, -0.0600028001, 0.0740743726, -0.0373620465, 0.0011733577, 0.0283460729, -0.0015843388, 0.0424126685, -0.0094612939, 0.0469285846, -0.0014625996, 0.0490188897, 0.0126915285, 0.0433121584, -0.0208024345, 0.0394975506, 0.0051130699, -0.0415030569, -0.0121719232, -0.0899509937, 0.0883772224, -0.0477397777, -0.0443382151, 0.0225341916, -0.0260903351, -0.037724223, 0.0465644412, -0.0126137678, -0.0116435736, 0.0022428727, 0.0157927647, 0.0198932141, -0.0360055491, -0.0885876268, -0.0017534631, 0.0235335231, -0.0503008254, -0.0363960713, -0.0556007363, 0.03384744, 0.0562761463, -0.0657473803, 0.0217315853, 3.001825256e-34, 0.039773114, -0.0105777094, -0.0027398788, -0.0276567452, -0.0061486084, 0.0223437492, 0.0357060023, 0.0303724371, 0.0138565451, -0.1188274249, 0.0218304712 ]
http://arxiv.org/abs/2407.00320v1
http://arxiv.org/pdf/2407.00320v1
LiteSearch: Efficacious Tree Search for LLM
2024-06-29T05:14:04
2024-06-29T05:14:04
Ante Wang, Linfeng Song, Ye Tian, Baolin Peng, Dian Yu, Haitao Mi, Jinsong Su, Dong Yu
cs.CL
cs.CL, cs.AI, cs.LG
Recent research suggests that tree search algorithms (e.g. Monte Carlo Tree Search) can dramatically boost LLM performance on complex mathematical reasoning tasks. However, they often require more than 10 times the computational resources of greedy decoding due to wasteful search strategies, making them difficult to be deployed in practical applications. This study introduces a novel guided tree search algorithm with dynamic node selection and node-level exploration budget (maximum number of children) calculation to tackle this issue. By considering the search progress towards the final answer (history) and the guidance from a value network (future) trained without any step-wise annotations, our algorithm iteratively selects the most promising tree node before expanding it within the boundaries of the allocated computational budget. Experiments conducted on the GSM8K and TabMWP datasets demonstrate that our approach not only offers competitive performance but also enjoys significantly lower computational costs compared to baseline methods.
[ -0.0253371708, 0.0409433171, -0.0047540418, 0.0230149664, -0.0477391668, -0.0164784994, -0.0826611444, 0.0233890284, -0.0610088967, 0.030028861, 0.0053138277, 0.0306510013, -0.0101638343, -0.0271441862, -0.0347415321, -0.0155751221, 0.0413534939, -0.0274354089, 0.0293274466, -0.0204368159, -0.0525079481, -0.0158497524, -0.0281181112, 0.0109877503, -0.0150748137, -0.0287920311, -0.0702230483, 0.0320683122, 0.0459326133, -0.0710312501, -0.0303919427, -0.011895936, 0.0218844078, 0.0277529638, 0.0000023378, -0.0094371177, -0.0475425795, -0.0141420104, -0.1027888432, -0.0119400565, 0.0027230177, 0.0555318333, -0.0109421685, 0.0241056606, -0.0461289771, 0.025723733, 0.0300832242, -0.0076585049, 0.0557204224, 0.0787910223, 0.0328539908, -0.0642983392, 0.0312783681, -0.0049512745, 0.0784921423, -0.100426808, 0.0036126629, 0.0432840623, 0.0052452344, -0.0110527361, -0.0070845196, 0.0109444242, 0.0567139573, 0.0145812063, 0.0041312124, 0.0267831273, -0.0167630371, 0.017270308, -0.0082713747, 0.0540392734, -0.0130512193, -0.0173610691, -0.0176161509, -0.0447930992, -0.0460319333, -0.0380916446, -0.0182594433, 0.0492801964, -0.0493675582, 0.0361858234, 0.0545238256, 0.0263636298, 0.0378683582, 0.0140954182, -0.0370153002, 0.1088782176, -0.0182260592, -0.0217922796, 0.0458575003, 0.005944496, -0.0099504199, -0.0392272733, 0.0028123045, 0.044918295, -0.0257504564, 0.0375033282, 0.0246034544, 0.0030041365, -0.0447638147, 0.0013998331, 0.0267845169, 0.0562913418, 0.0243345499, 0.0018963846, -0.0131773446, -0.0068559907, -0.0390682779, 0.0029850919, -0.040717639, -0.0026475901, -0.033300627, -0.0214629062, -0.0265794415, 0.0660076439, -0.0374350734, 0.011679356, -0.0479182117, 0.0121865841, 0.0282124616, -0.0082266433, 0.0296447109, 0.0101828156, 0.0107455477, 0.0104866037, -0.0505688861, 0.0039392458, -0.0513030179, 0.0113037266, -0.0003849638, 0.0005516667, -0.013416796, 0.0293373596, -0.0285206288, -0.0158293098, 0.0426150411, 0.0829785615, 0.0139521323, -0.0131188901, -0.0830495283, -0.0196557734, 0.0269351657, -0.0494241603, 0.0694216415, -0.0588022843, 0.0013538403, -0.0531979352, -0.043071717, 0.0220870189, 0.021566255, 0.0509238318, 0.0406565219, 0.0366147198, 0.0115674594, -0.0034768402, 0.0108115803, -0.0215704478, -0.0030354739, 0.0780306831, 0.0426217057, 0.0490771271, -0.0006410991, 0.007827484, -0.0218278673, 0.0363058485, 0.0220922921, -0.0409099162, 0.0055895103, -0.0009403713, -0.0608893074, 0.0769640505, -0.0271980558, -0.0336805694, -0.084871687, -0.010943369, 0.0092087723, 0.0264447946, 0.0195160676, -0.0333517753, -0.0010207222, -0.039938096, 0.0025473067, -0.0388050415, -0.0502628833, 0.0400798097, -0.0670772344, 0.0098352861, -0.0479153804, -0.0253848545, 0.0031356351, -0.0582658127, -0.0021361553, 0.0202361457, -0.0179644804, 0.0220799446, 0.0413684919, 0.0132655874, -0.0411796421, 0.0431275405, -0.0116865607, 0.0101118479, -0.056624487, -0.0484680943, 0.0283899326, 0.0045427685, 0.0592558347, -0.0375459827, -0.0337628163, 0.0199784245, -0.0430628732, 0.0248822216, 0.0063095624, -0.0161569808, 0.0215098616, -0.0446451195, -0.0325526893, 0.010617204, 0.0231903866, 0.0182206556, 0.0347526185, -0.0140357222, -0.0139007252, -0.064429909, 0.0270869434, 0.0221356731, 0.0005407301, -0.0293462742, 0.0624195635, -0.0037122443, 0.0320817232, 0.0239354055, 0.015809888, 0.0183859337, 0.0257179718, -0.0085109053, -0.0299368277, -0.0396738574, -0.0784575269, -0.0825201795, 0.0308728628, -0.0680686831, -0.0219838079, 0.0005143434, -0.0547719039, -0.0185303967, -0.0025973774, -0.0671025962, 0.0200957675, -0.033953134, 0.0133897588, -0.0050790398, -0.0292146504, -0.0352635048, 0.1027732044, -0.0151288835, -0.0176631417, 0.0331112072, 0.0058847675, 0.0415912978, -0.0519268364, 0.0488482453, -0.0104603106, -0.0191213656, -0.0079919891, -0.0071805944, 0.0364740081, -0.0251600351, -0.0037299464, -0.0295572653, 0.0432793796, 0.0035979876, 0.0695377216, 0.0053922054, -0.0187889785, 0.0063142884, -0.0082875853, -0.0173546374, 0.0702807978, -0.0212287717, -0.034500137, 0.025912188, -0.0071428777, -0.016689254, -0.0216606371, -0.0323088691, -0.0229315199, 0.0076653729, -0.0317687243, -0.0131613491, -0.0030209837, 0.0279454906, 0.0032771823, -0.0225620959, 0.0021030412, 0.0189492702, 0.0466112196, -0.0430754498, -0.0218432359, 0.0671295375, -0.0215458367, 0.0090264324, 0.010405194, -0.019024862, -0.0851012394, 0.0159320701, -0.0183061901, 0.0079875886, -0.016309645, -0.0363095701, 0.0419812948, 0.0667954087, -0.0113550508, 0.0343399383, -0.0309255049, -0.0135159222, 0.0491732247, -0.0333185047, 0.0106186057, 0.0447835475, -0.0058884742, 0.0611672364, -0.0003859223, -0.0321255699, 0.0591519512, 0.000504524, -0.0012892579, -0.0529211722, -0.0142594678, -0.0710972324, 0.0443027616, -0.017698599, -0.0300237034, 0.0138837518, -0.05868797, -0.0215226859, 0.0212087501, 0.0567367822, -0.0094062928, 0.0475846939, -0.0239956658, -0.0042049661, -0.0176519398, -0.014200897, -0.0228210688, 0.0059055337, -0.0102266436, 0.0253907014, -0.0118811596, -0.0018865777, -0.0103363683, -0.0378771387, -0.0065172915, 0.0159577578, -0.0324144103, -0.0146743907, -0.0277979691, 0.0072380831, -0.0080101499, 0.0225064494, 0.0750815347, -0.0205872413, 0.0489217937, 0.0342159718, 0.0249910485, 0.0198606923, -0.0301445201, 0.0226340666, 0.0187237859, -0.0404660329, -0.0312281419, 0.0495876297, 0.0185517576, -0.0872941241, -0.0017024059, 0.0479168855, 0.0319063663, -0.0418599322, -0.0075513041, -0.0960902125, 0.0294382926, 0.0100454874, 0.0396182388, -0.0830941424, -0.0405480452, 0.0305836741, 0.0633889958, -0.022868244, -0.0617383234, 0.0002010122, -0.1259584725, 0.025142869, 0.0159926601, -0.0009606219, 0.0023655538, -0.0028413793, -0.0505928323, -0.0052220901, -0.0006273988, 0.028253682, 0.0137636308, -0.0081361765, 0.0170149524, -0.0550244041, -0.0136774909, 0.0288981888, -0.0105095878, 0.0077453135, 0.0928337574, 0.0315822586, -0.0105747599, -0.0281613991, -0.0008328157, 0.005234783, 0.0148019847, -0.0388894379, -0.0003588994, 0.0073019429, 0.0167288929, -0.0032353727, 0.0261499248, -0.0198303312, -0.0352844633, 0.0524204411, 0.1155418083, -0.0699336603, -0.0048075868, -0.0309518501, -0.0009920878, -0.0165504627, 0.0371845365, 0.0002130521, 0.0024897209, -0.0571648441, -0.056261763, 0.0179278087, -0.0591421574, -0.0262754392, 0.0701795593, 0.0407448597, 0.0323376432, -0.0288545489, -0.0055544814, 0.0271517448, 0.040857669, -0.0359833762, -0.0138834361, -0.0335345976, -0.0027868848, -0.0441695005, -0.011895543, -0.0506306365, 0.0313661695, -0.0181277469, 0.0752127394, 0.0195906553, -0.0360131599, -0.0008766073, -0.0087961406, -0.0586668625, -0.0112227574, -0.0423623212, 0.0340736695, 0.0207377411, 0.0375760831, -0.0201488789, -0.0022552002, 0.0078851962, 0.0035877093, -0.0173221007, 0.0201979931, 0.052202601, 0.0181437582, -0.0106895659, 0.0129074948, -0.0313821919, 0.0253722072, 0.0029567024, 0.0713754669, -0.0291136019, -0.0090478295, 0.0267928466, 0.0293577388, 0.0022019467, 0.0111980485, -0.0127326949, 0.0067485855, 0.0537786894, -0.0051560565, 0.0288411714, -0.0173798632, 0.008382922, 0.0073023257, -0.0119034927, 0.0132355317, -0.0560637861, 0.0264553502, -0.003995968, 0.0114093963, 0.0471463092, 0.0383078791, 0.0385824256, 0.0026770851, -0.0202661324, -0.0064152014, -0.0164860487, 0.0179891717, 0.0669141859, 0.0015965709, 0.0578567088, 0.0215031747, 0.0071916133, -0.0229828879, -0.039308846, -0.0413459539, -0.0850454196, 0.0002032593, -0.0060299197, 0.0770069957, 0.0655503124, -0.0612088144, -0.0406065695, 0.0197803881, 0.0173496883, -0.0090341223, -0.0017024219, -0.0276586264, 0.0653179213, 0.0208586119, -0.0121947499, -0.0378845222, 0.0180686619, 0.0268359371, 0.041267667, -0.0337140597, 0.0302411262, -0.0340491347, -0.0462269224, -0.0207140297, 0.0436687656, 0.0052203964, -0.009896256, -0.0667836741, -0.0315435454, 0.0137646282, 0.0340682268, 0.0029108303, -0.0088603534, 0.0565588437, 0.0098064207, -0.0034053216, -0.0281972811, 0.0062893094, -0.0032748983, -0.0365394503, 0.0224932395, -0.0268825386, -6.049975183e-33, -0.0314451158, -0.0357371196, 0.0685487017, -0.0044390592, -0.0572356433, -0.0071743801, -0.037913572, -0.0112666553, 0.0040225033, -0.0033577681, -0.0155956456, 0.022647744, 0.0193588976, 0.0156533252, 0.0312519036, -0.0243460033, 0.0101443008, -0.0178764537, -0.018863745, -0.0235884879, -0.0186356343, 0.0117145237, 0.0634788722, -0.0505708344, -0.0454778485, 0.0437530801, -0.0068351622, 0.0585053302, -0.0554795526, 0.0539457425, 0.0224459302, 0.013422261, -0.0068585868, -0.0657981932, -0.0320258699, -0.0291965902, -0.0547874533, -0.0644809306, -0.0012900612, 0.0152588757, -0.0661073625, -0.0377616137, 0.0218191464, 0.0326298662, 0.0037520283, -0.0269539449, -0.0072607608, -0.0508206375, -0.043327976, -0.0526876114, 0.0201713927, 0.0499092713, 0.0187699869, 0.0372046903, 0.021851832, 0.0285243299, -0.0321927704, 0.0187839624, -0.0104980841, 0.0174699705, -0.0001803726, 0.0005108555, 0.0165768918, 0.0108984848, 0.0297550689, 0.0446180739, 0.0539330505, -0.0510746278, -0.0351858847, -0.0052107614, 0.0137271229, 0.094740428, 0.0411521196, -0.0032108014, 0.0590819083, 0.0327849798, -0.0767054483, 0.0075506316, 0.0434784517, 0.0387506112, 0.0043079969, 0.0200468097, -0.0000104202, -0.0075590182, -0.0377707034, 0.0104410499, -0.0259156805, -0.0388677828, 0.0237227306, -0.0032494424, 0.0291586276, -0.0130499918, 0.0203171633, -0.0353056453, 0.0482125431, 0.0403326862, 0.0160494968, 0.0377746597, 0.0023081845, 0.038692195, -0.0421214812, -0.0258562881, -0.0069474191, -0.083316341, 0.0450745672, 0.004283776, -0.0493477844, 0.0223192479, -0.0208866559, -0.029268479, -0.0191688873, -0.0087829903, 0.0076827374, 0.0371745452, 0.0538317375, -0.0082972366, 0.0058020731, 0.0270877946, -0.003440158, 0.0311515518, -0.0193387475, -0.0065160966, 0.0215980001, 0.041434966, 0.0217545554, 0.0160385836, -0.0250578653, -0.0127369026, -0.0174233727, -0.0607338175, 0.0019946939, 0.0829849765, 3.046e-7, 0.0368623249, 0.0273872465, 0.0278713107, 0.0613761656, 0.0331568383, 0.0286466479, -0.002958107, -0.0777262002, -0.0201075003, -0.0610132962, 0.0605034269, 0.0111095803, 0.0624097846, 0.0361342318, -0.0835547373, -0.0058421991, -0.0001684354, -0.0063373889, -0.0233894326, -0.0109849265, 0.0426361077, 0.0734538883, 0.016418973, -0.0124816, 0.0191581994, 0.0410962477, 0.022474125, -0.0202460531, 0.0167911611, -0.0065506473, -0.0044500097, -0.0406275839, -0.0078071714, -0.0012338276, 0.00492719, 0.0525035709, -0.0289586503, 0.0697550997, 0.0296824668, -0.0810060278, 0.0085005583, -0.0354442969, 0.0088634342, 0.021439869, 0.0627475306, -0.0495226979, -0.0336104184, 0.0151346084, -0.0028917284, -0.0201146994, 0.0129125314, 0.0072658733, 0.0415130891, 0.0052018603, -0.015944805, -0.0024172408, -0.008882883, -0.0716935173, -0.0001068708, 0.0188396592, -0.0519702397, -0.0192426648, -0.0382869318, 0.06281849, 0.0340534821, -0.0066640601, -0.0401527882, 3.110628508e-34, 0.034101326, -0.0657078624, -0.0023783424, 0.0941715017, -0.007500594, 0.0400982052, -0.0181215573, 0.0218458027, 0.0331469886, -0.045505248, -0.0279441029 ]
http://arxiv.org/abs/2407.00263v1
http://arxiv.org/pdf/2407.00263v1
From Local Concepts to Universals: Evaluating the Multicultural Understanding of Vision-Language Models
2024-06-28T23:28:28
2024-06-28T23:28:28
Mehar Bhatia, Sahithya Ravi, Aditya Chinchure, Eunjeong Hwang, Vered Shwartz
cs.CL
cs.CL, cs.AI, cs.CV
Despite recent advancements in vision-language models, their performance remains suboptimal on images from non-western cultures due to underrepresentation in training datasets. Various benchmarks have been proposed to test models' cultural inclusivity, but they have limited coverage of cultures and do not adequately assess cultural diversity across universal as well as culture-specific local concepts. To address these limitations, we introduce the GlobalRG benchmark, comprising two challenging tasks: retrieval across universals and cultural visual grounding. The former task entails retrieving culturally diverse images for universal concepts from 50 countries, while the latter aims at grounding culture-specific concepts within images from 15 countries. Our evaluation across a wide range of models reveals that the performance varies significantly across cultures -- underscoring the necessity for enhancing multicultural understanding in vision-language models.
[ 0.0061784931, 0.06095808, -0.0201678965, 0.0582110956, -0.0205500405, 0.0492488556, 0.043572031, -0.0206050985, 0.0011690317, -0.0231685173, -0.0421308093, -0.0853659511, -0.001700121, 0.0196959917, 0.0206618123, -0.0828857124, 0.0342540629, 0.0103931017, -0.0409243517, -0.0174704082, -0.0128175924, 0.0096931942, 0.0375852138, 0.0524636693, -0.0478113145, 0.0027839839, 0.0435104109, 0.0164258126, 0.0444083959, -0.0110895745, -0.0231902618, 0.0112922685, 0.0116827618, 0.0004486842, 0.0000019502, -0.0173150431, 0.0151497796, -0.0023917751, 0.0425045155, 0.0096507492, 0.0559978485, -0.0227926429, -0.0010952334, -0.0263125803, -0.032856103, -0.0177163333, 0.0448631197, 0.0552010126, -0.0108433878, 0.0185857154, -0.0091614621, -0.0310192574, -0.0480626449, -0.0371434838, -0.0160593949, -0.0320278816, 0.0346385576, 0.0614416115, -0.0489648432, -0.0265446529, -0.0686396509, 0.0377897434, 0.0293807369, 0.0390447974, -0.0028541635, 0.0273534916, -0.0874403864, -0.0303540006, 0.0218418445, 0.0459341928, -0.0052074455, 0.0225882493, -0.0157390535, 0.0136565911, -0.0431228615, -0.013945559, -0.0315649323, 0.0564686619, -0.0139153572, 0.0354583822, -0.0606392287, 0.0369019024, 0.0188365187, 0.0071750344, -0.0140746776, 0.031361565, 0.0268818717, 0.0145106399, -0.0007713995, 0.0180512108, -0.019493632, 0.0088695567, 0.0094161956, -0.0194494016, 0.0313731655, -0.0156158321, -0.0103670964, 0.0320637003, 0.0201686658, -0.0295313429, 0.0303239729, 0.0675976276, -0.0745284036, 0.0663413331, -0.0219275523, 0.0805598348, -0.0233014766, 0.0178581234, -0.0310643017, -0.0595591515, -0.0083682574, 0.0065458207, 0.0252751522, -0.0469611064, -0.0469947197, -0.0060282522, -0.0545948744, -0.0156270247, -0.0422349423, -0.0121971965, -0.0203650743, 0.0019751836, -0.0433117338, 0.0023627689, -0.0133560961, 0.0198610835, -0.0090517383, -0.0415020213, -0.0435208902, -0.091279529, 0.0405274853, 0.0043089278, -0.0299832057, -0.0230324697, 0.0049169795, 0.0415754355, 0.0040643774, -0.0224732514, -0.0487480797, 0.021971127, -0.0102566071, -0.0390649363, 0.0399173014, -0.0647166818, 0.0254819971, -0.0060147475, 0.0348489806, -0.0336746722, 0.0008575653, -0.0239753425, -0.0221587401, 0.0225725174, 0.0346480049, 0.0156726409, 0.04028574, 0.0075207185, 0.0009698672, 0.1161075234, -0.0312651843, 0.0217351373, 0.068827033, -0.001983565, -0.0362120979, 0.0218789782, -0.0065970835, 0.0110373087, -0.0630993843, 0.0043065832, 0.0343363248, -0.016822312, 0.0440069139, 0.0240732059, -0.0205021501, -0.0553879105, 0.0218482185, 0.06878189, -0.0171803981, 0.0223850347, 0.0484532155, -0.0202685352, -0.0192644745, 0.0099532595, -0.0417641588, 0.0248612575, 0.0183510929, 0.0000469019, -0.0247049909, 0.1031065732, -0.0575057417, 0.006063682, 0.0000335724, 0.0181014352, 0.0394956879, 0.0204749741, 0.0571666397, -0.0288287532, 0.0251025464, 0.0108738616, 0.0643338859, -0.0398768969, 0.013432933, -0.0215869565, 0.0183010325, 0.0085647963, -0.0125897713, 0.0165372547, 0.0208276641, 0.0284470171, 0.0397379585, 0.0679505467, 0.0102547342, 0.0212369766, 0.0632675216, -0.0441657491, -0.0368322432, 0.0032987397, 0.0083075454, 0.0530571751, 0.0401194133, 0.0387212336, 0.0538377538, -0.0290980656, -0.0094164675, 0.0198996142, -0.0156512875, 0.0463664606, -0.003800859, 0.0022783272, -0.0387698375, 0.0038781224, -0.0595975332, -0.0269775111, -0.0151535515, -0.0516358651, 0.0255546737, 0.0315671302, -0.0659587905, -0.0024632958, 0.0411477797, -0.1115248352, 0.0019172837, 0.0166693702, 0.0025207982, 0.0086505301, 0.034671355, 0.0398782156, -0.0273134336, -0.0476642214, -0.0215104483, -0.0270537063, 0.0217724387, -0.0117753064, 0.0469595343, -0.0207149442, 0.0162115786, -0.0453688912, -0.025256684, 0.0510446243, -0.0463987552, -0.0389646403, 0.0234211758, -0.0064474791, -0.0007216053, 0.022185836, 0.0051218932, -0.0237707403, 0.0253626946, -0.1063527763, -0.0105844764, -0.0554095581, -0.0595137887, -0.0403139889, 0.0007358445, -0.0200352501, -0.0655473396, -0.0292614214, 0.0113394316, 0.0206282362, 0.0459498018, -0.0247450192, -0.0151403164, 0.0056031123, 0.0072731874, -0.0444390662, 0.0373916887, 0.076122649, -0.0139272679, -0.0391397364, -0.0080567123, -0.0236337911, -0.0704995319, 0.0270148255, -0.0527926646, -0.0307468176, 0.0140449284, 0.0178145841, 0.0228255037, 0.0485804901, 0.0036185426, -0.0270789731, 0.0420720354, -0.0080713574, -0.0105615063, -0.0214691199, 0.0123106362, -0.0010926024, 0.0164915603, -0.060000889, -0.0148040401, 0.0413940549, -0.0058173151, -0.0120088682, -0.0596950315, 0.002583635, -0.0701682568, -0.0657170191, -0.095380798, 0.0042897197, 0.0054537728, 0.067888096, -0.0666697994, -0.0593621396, 0.029207401, -0.0070511396, -0.0070927115, 0.0419786349, -0.0051628184, -0.0448410325, 0.0386908203, -0.0013340238, 0.0405244268, -0.0182599388, 0.0110602938, -0.0260513071, -0.0189123135, 0.0316230878, -0.0332035571, 0.0867338851, -0.0027675412, -0.0263182577, -0.0483936034, -0.0288467407, -0.0731171593, 0.050263837, 0.0162325259, 0.0187247247, -0.0200792998, 0.0311106015, -0.0299784951, 0.0229311101, 0.0427910425, -0.0112340404, -0.0035548601, 0.0370418914, 0.0416722447, -0.0435216799, 0.0489741862, -0.0099482564, -0.0035502892, -0.041676648, -0.0114124548, 0.0191412345, 0.0367524363, -0.0229178164, 0.0015010065, 0.0424326286, 0.0098527968, 0.0508699827, -0.0276891533, -0.0289641954, 0.0628382787, -0.0033444706, 0.0119353812, 0.0342580937, -0.0012215201, -0.0553021245, -0.0318389833, -0.041918315, -0.0061143264, 0.0537478477, 0.0181659088, -0.0885549113, 0.0232769065, -0.0163521897, -0.02781111, 0.0211029351, -0.0124398815, -0.0029999837, -0.0646775141, 0.0405126512, 0.0413070545, -0.0723426715, -0.084245272, 0.04406121, -0.013473778, -0.0218881667, 0.0300823916, -0.0190903582, 0.0031467045, -0.0130581371, 0.0029217317, 0.0006695926, -0.0337125696, 0.012707076, -0.0688412264, -0.046450004, 0.0363088176, -0.008326509, 0.0244710036, -0.0876505002, -0.0054689576, -0.0344407596, 0.011382482, -0.001438288, 0.0424618982, -0.0079509327, -0.0727885291, 0.0268492419, -0.0359427631, -0.0089625362, -0.0091529256, -0.018280359, 0.0021568078, 0.0255866013, 0.0112322718, -0.0458954051, 0.0083481241, 0.0045846459, 0.0329215415, 0.0116813304, -0.0128280455, 0.018413974, -0.0277426764, 0.0066450811, -0.0170602351, -0.0620130301, 0.0470279939, -0.032051675, -0.0199539419, -0.0160250645, -0.0226266477, 0.0071117147, 0.0337473229, 0.001342551, -0.0699173063, -0.017475592, 0.0040042237, -0.0646692216, 0.094349876, -0.0424155667, 0.0085019991, 0.0136797735, -0.0189734064, 0.0035758407, -0.0389528945, 0.0077639599, 0.0101470174, -0.0535361283, -0.0158622861, 0.0384926386, 0.0561895967, 0.0083676334, -0.0113254609, 0.0485426933, -0.025335677, 0.0326448418, 0.003316947, 0.04128097, 0.0352551006, -0.0045322417, -0.0093140397, -0.01284, 0.0367388502, -0.0495242625, 0.0530222915, 0.0639529899, 0.0298618395, -0.0017629177, 0.046461001, -0.0026395801, -0.0149467867, 0.0289749466, -0.0304531641, 0.0092363795, -0.0436067544, -0.0296367202, -0.0011118725, -0.0140314074, -0.0425305851, -0.0476552472, 0.0381821804, 0.0090478398, 0.0253128279, 0.0161904842, 0.0048112115, 0.0124647198, -0.0430943109, -0.0193614643, 0.0284276884, -0.0084748883, -0.0126876412, 0.0555407405, -0.0329818353, 0.0334825218, -0.0287367385, 0.0279538613, 0.0065531465, 0.0693109035, 0.0160224698, 0.0094387988, -0.0198708959, -0.0082569066, -0.0046364125, -0.0516982377, 0.0307024587, 0.0308062602, 0.1105306819, -0.0470423363, 0.0324330367, 0.0204401016, -0.0287203137, -0.0366983488, 0.0033099281, 0.0347356424, -0.0388855785, 0.0383722372, 0.0113413613, -0.0027958904, -0.005328306, 0.0656894818, -0.0256850235, -0.0116104577, 0.0167926718, -0.0144528169, -0.0111132367, -0.0114490455, 0.0729509741, -0.0179870389, 0.0000071236, 0.0420575216, -0.0599550791, -0.0727692544, -0.005711941, 0.0205126628, -0.0000160074, 0.0385824032, 0.0411311649, 0.0763017237, 0.0210332442, -0.0368910432, -0.0318961442, -0.0262067262, -0.0451770686, 0.0048591401, 0.0290810913, -6.100921843e-33, -0.0368130319, 0.0171902385, -0.0077374405, -0.0151954126, -0.0296809692, 0.0101776086, -0.0051193824, 0.0198198594, -0.0547503382, 0.0434973873, 0.0042192917, 0.0246345606, 0.0124282492, 0.0260304958, -0.0136249475, 0.0169686079, 0.027989313, 0.0365859196, -0.0016432917, 0.0002543211, 0.0322379842, 0.0372285992, 0.070203945, -0.0623392053, -0.029156005, 0.0331382081, 0.0223127697, 0.0042994698, 0.061538022, 0.0738052502, -0.0661734417, 0.0699498579, 0.0270048603, -0.0076829824, -0.0120018264, -0.0640581325, -0.0719241127, -0.0249462351, 0.003124004, 0.0503427945, -0.0305199958, -0.0025562071, -0.0021904034, -0.040082939, -0.0051965788, -0.0270224903, 0.0380212702, -0.0279082209, -0.0606036112, 0.0093909288, -0.0237506684, 0.0401913263, 0.017361911, 0.0576028228, 0.0375053473, 0.0063144318, 0.0170788597, 0.0381920412, -0.0163034052, 0.0091000386, 0.0082880175, 0.0205029771, 0.0678093061, 0.0491295271, 0.0440532304, 0.079535082, 0.0411867313, 0.006606699, 0.0100900596, -0.0802157298, 0.0449730083, -0.0067270119, 0.0070374403, 0.1284107715, 0.0381015167, -0.0074556172, -0.0449207872, -0.0088306814, -0.0134534845, 0.0357538685, 0.0230768435, 0.0139082726, 0.0027321831, -0.0006195285, -0.0158584658, -0.0410596877, -0.0308100302, -0.0410720892, 0.0497373529, 0.0375026613, -0.0160271842, 0.0429109409, 0.0526749045, -0.055397138, 0.0149681959, 0.0247729514, 0.0282575656, -0.0289905202, 0.0352122262, -0.0083496692, -0.0255043898, -0.0368792489, 0.0006998807, 0.0301125739, -0.0112056751, -0.0091363322, 0.0141915437, -0.0127341589, -0.0517276898, 0.0135761006, -0.0313110538, -0.0140695898, -0.0151040051, 0.0222653653, 0.0306938551, -0.0054166559, -0.0424264595, 0.0161078777, 0.0227973256, -0.0360622071, -0.0126181748, -0.0677105337, 0.0072563807, 0.0593325496, -0.0184278395, -0.0026986373, -0.052345071, -0.0032048984, 0.0550491214, -0.0053542284, -0.0122265657, 0.0148236118, 2.505e-7, 0.0313879028, -0.0257214643, 0.0112052048, 0.0198973976, 0.0076826699, 0.0076893102, -0.0275630504, 0.0110624908, 0.0290359501, -0.0372195207, -0.0377277732, 0.0554721132, 0.0537566021, 0.0088401949, -0.0305121299, 0.0304233786, -0.0133170271, 0.0118072601, -0.0315592438, -0.0019843385, -0.0283630826, 0.0846790895, -0.0215018652, -0.0029167791, 0.0185511317, -0.0611070506, 0.0831754208, -0.0762858093, -0.0198497027, -0.034892749, -0.0093404725, 0.0159094371, -0.0000842246, 0.0047366503, 0.0232446771, 0.0346325859, 0.0767483562, 0.0141431959, -0.003226077, 0.0019486765, -0.0215938687, 0.0446903184, -0.0378687307, -0.1094486192, 0.0481101871, -0.0148945432, -0.0124275517, -0.0317024663, -0.0266673211, 0.026626952, 0.0740974993, -0.0040999241, -0.0250871703, -0.0017757862, 0.0232152175, -0.007721174, -0.0064244689, -0.0556307919, 0.0274831261, -0.0374353305, -0.0101076979, -0.0217687897, -0.0031424968, -0.0088370992, -0.026178699, 0.0376807638, -0.0111588109, 1.85338151e-34, 0.02688477, 0.013989416, 0.0177645292, -0.0096413838, 0.0183253996, -0.055216413, -0.0400109477, -0.0118910857, -0.0440225191, 0.000157368, 0.0194634739 ]
http://arxiv.org/abs/2407.00256v1
http://arxiv.org/pdf/2407.00256v1
One Prompt is not Enough: Automated Construction of a Mixture-of-Expert Prompts
2024-06-28T23:05:08
2024-06-28T23:05:08
Ruochen Wang, Sohyun An, Minhao Cheng, Tianyi Zhou, Sung Ju Hwang, Cho-Jui Hsieh
cs.AI
cs.AI, cs.CL, cs.LG, stat.ML, 68T01
Large Language Models (LLMs) exhibit strong generalization capabilities to novel tasks when prompted with language instructions and in-context demos. Since this ability sensitively depends on the quality of prompts, various methods have been explored to automate the instruction design. While these methods demonstrated promising results, they also restricted the searched prompt to one instruction. Such simplification significantly limits their capacity, as a single demo-free instruction might not be able to cover the entire complex problem space of the targeted task. To alleviate this issue, we adopt the Mixture-of-Expert paradigm and divide the problem space into a set of sub-regions; Each sub-region is governed by a specialized expert, equipped with both an instruction and a set of demos. A two-phase process is developed to construct the specialized expert for each region: (1) demo assignment: Inspired by the theoretical connection between in-context learning and kernel regression, we group demos into experts based on their semantic similarity; (2) instruction assignment: A region-based joint search of an instruction per expert complements the demos assigned to it, yielding a synergistic effect. The resulting method, codenamed Mixture-of-Prompts (MoP), achieves an average win rate of 81% against prior arts across several major benchmarks.
[ 0.0715809613, 0.0584036261, -0.0270418115, 0.0217153784, -0.0499052741, -0.0001962302, 0.0370651409, -0.021886019, -0.0118464418, -0.0482774749, -0.0374045558, -0.031732861, -0.0170542523, 0.0257279482, 0.0393933095, -0.0587085783, 0.0029415449, -0.0604895689, 0.0159395393, -0.0073472587, -0.0259242114, 0.0112320101, -0.0300480872, 0.0600035898, -0.0198115017, 0.0120805409, -0.0276121423, 0.0045411484, 0.0012642725, -0.0073199105, 0.0179332849, 0.0730120465, 0.0452159978, 0.0157092214, 0.0000022127, -0.0433522128, -0.0113865649, -0.0151522132, -0.0240223166, -0.012968923, 0.0338495895, 0.0084543303, 0.0091836806, 0.0066038682, -0.0198950935, -0.0217830539, 0.0452280231, 0.0294091851, 0.0776427761, 0.0923119113, 0.0065735392, 0.0026345795, 0.0237280093, -0.0137907537, 0.0329550803, -0.0195936169, 0.0289543439, 0.0094358968, 0.0478331521, -0.0046469145, -0.0219058096, 0.0498816334, 0.0092948414, -0.0084931627, 0.026150059, 0.0113616288, 0.0051189484, -0.0101711564, -0.0361220874, 0.0791259557, -0.0476805642, 0.0074914964, 0.0014516527, -0.008072909, 0.0181223918, 0.0189497955, -0.0486523584, 0.0329432897, -0.0061491788, -0.0102872849, -0.0017560555, 0.0085368175, 0.0047871564, 0.0089805061, -0.036425788, 0.0554260463, 0.019299278, -0.0406992622, 0.03180217, 0.002522408, -0.053405717, -0.0568461828, -0.012508437, 0.043938227, -0.0878855735, 0.0226951241, -0.0532735661, -0.0389154889, -0.0110356426, 0.033706896, 0.0501697622, 0.0574374348, -0.040341761, 0.0602246337, -0.0156254638, 0.0541050956, 0.00036414, 0.0321930498, -0.074979946, 0.0077993474, -0.0641140789, 0.0099611925, -0.0602367669, 0.0173759498, -0.0159854367, -0.0122109968, -0.0197398942, 0.0362115875, -0.0473769158, 0.0401692055, 0.0125877494, 0.00790089, -0.0270636268, -0.0091331936, -0.0148788411, -0.00211677, -0.0362313949, 0.017655341, 0.0006846643, -0.0290374495, 0.0067280536, 0.0280605424, 0.0009419401, -0.0126414932, 0.0215430688, 0.0696542189, -0.0454973541, -0.0461235195, -0.0014135591, 0.0013350651, -0.0115335947, -0.0583993942, -0.0139013054, -0.0679448023, 0.0440765209, -0.0021648712, 0.0008977578, -0.0573692694, -0.0025692168, 0.0021255319, -0.0137221804, 0.0660116449, 0.0173565242, 0.0513498262, 0.0769060627, -0.0017396125, -0.0860316828, 0.0675653741, -0.0115748923, 0.0474154837, 0.0051765288, 0.0256273299, 0.0278821178, 0.0546747223, -0.0070929113, 0.0220676977, -0.0182501804, 0.0113949999, 0.0344450586, 0.043642655, 0.0144288484, 0.0459082238, -0.0136888837, -0.0097137392, 0.0346428491, 0.0367814302, -0.0252395608, 0.0047684633, 0.0929222032, 0.0468894504, 0.0298180208, 0.0057567339, -0.0527738445, -0.0086564468, -0.0367283858, -0.0136565566, 0.0214136653, 0.0274866894, -0.0387853272, -0.0227309205, 0.0193020534, -0.0066752569, -0.0379117019, 0.0549468175, 0.0633838177, 0.001128128, -0.0496620014, -0.019558847, 0.0095413169, 0.0236320961, 0.0220332276, -0.0593787581, 0.0128884511, 0.060780596, 0.0371177942, -0.0481219292, -0.0193109438, -0.0153870648, 0.0171896778, -0.0026079812, 0.0295193698, -0.0473408997, -0.0140444143, -0.0421025269, -0.0533869676, -0.0396251418, 0.0185619481, 0.0394704007, 0.0275821723, 0.0010336727, 0.011653577, -0.0405196995, 0.0099529196, 0.0362450965, -0.0170739908, -0.0272010956, 0.0173778292, 0.020692829, 0.0183347147, -0.0082925893, -0.0277169906, 0.008967747, -0.0034950334, -0.0462122262, -0.0078428145, -0.0230119713, -0.0471874326, -0.0557647832, 0.0358905382, -0.0143768657, -0.0402689166, -0.0075123054, -0.0452010855, -0.0327523984, -0.0057932851, -0.0336054377, 0.0363899991, -0.0181159005, 0.0322614722, 0.0042200065, -0.0430983938, -0.0535441525, 0.0666746497, -0.0069522113, -0.0003536457, 0.060060259, 0.0193684641, 0.0127934348, -0.0694490746, -0.0336814895, -0.0407881923, -0.0116344979, 0.0393144153, 0.0067487503, 0.0165484287, -0.0392868556, -0.0505811609, -0.0933248475, -0.001225117, -0.0337545238, -0.0375109576, 0.0081552621, -0.0144426432, -0.022692116, -0.0294553563, -0.0488589145, -0.0188496392, 0.003129869, 0.0202339534, -0.0018581167, 0.0406229049, -0.0317883566, -0.0335838124, -0.0278816037, 0.002732811, 0.0422908105, -0.0038131478, 0.012783247, -0.0600693524, 0.0215498488, -0.0237409901, 0.0320998169, -0.0175202452, 0.0099973232, -0.0034712479, -0.0499587655, 0.0392020196, 0.0564453602, 0.0000133374, 0.0312661976, 0.0669900775, -0.0070402971, -0.0450924672, 0.0307259839, -0.0085776122, -0.0379027613, -0.000639123, -0.0329433903, 0.0238328222, 0.0553161651, 0.0396555066, -0.0178474355, -0.0708870366, -0.0126020992, -0.0065475018, -0.032727249, -0.0785709843, -0.0304472763, 0.0209381934, 0.0501192138, -0.0307703279, -0.0712556019, 0.109303847, -0.0067739976, -0.0053970097, -0.0253945012, -0.0534341857, -0.0218318142, 0.0351499841, -0.0058764415, 0.0356739014, -0.0031194834, -0.0244208034, -0.0811268687, -0.0109175192, -0.0010577827, -0.0315174498, 0.062906377, -0.0583400689, 0.011907124, 0.0262265746, -0.0347791053, -0.0624318272, -0.0529160947, -0.0046488619, 0.0206516813, 0.0052482919, -0.0117075332, -0.0606983006, 0.0229099337, 0.0208282806, 0.0489106216, -0.0054083164, -0.0001570874, -0.0145718912, 0.0258339811, 0.0584167354, -0.0016038173, -0.0749060437, -0.0564650819, 0.0194451492, -0.0138030434, 0.0586314835, -0.0251010731, -0.0386311077, 0.0226688683, 0.0232715234, -0.0318215638, -0.0073619788, 0.0392300896, 0.0397008695, -0.0258830972, 0.0114890579, 0.1046152189, 0.0221088957, -0.0538479276, -0.0198477879, 0.0352709144, 0.0046555703, 0.0258216001, 0.0600256361, -0.0431177355, -0.004833743, -0.0092403246, 0.0119061377, 0.026929725, -0.0142809991, -0.0219680723, -0.1193661466, 0.0481494069, 0.0151278144, -0.080908142, -0.0297803357, -0.0309889335, 0.0048661828, -0.0072160047, -0.0140679386, -0.0004533959, -0.0106937522, 0.0016728599, 0.0239833277, 0.022187816, -0.0708166584, 0.0260867923, -0.0222717132, 0.0506623574, 0.0548951887, -0.0133272884, -0.0003184181, -0.0128783444, -0.0262229964, 0.0175053533, 0.0190534536, -0.0089864293, 0.0333272181, -0.0316571742, -0.009003696, 0.0269068275, 0.0302283857, -0.0172105562, -0.0056483317, 0.0187336337, 0.1048764065, -0.0182422865, -0.0075017316, -0.0321654864, -0.0221129153, 0.0664386079, 0.0701385513, 0.0181290936, -0.0542348027, 0.0227881521, -0.0270872377, -0.0097509976, 0.0025684156, 0.0127522824, 0.0227801092, -0.0153340371, -0.007800756, -0.0454724506, 0.0073108291, 0.0673818886, 0.0718764812, 0.0420454368, -0.0015872441, -0.0359003022, 0.0187385827, -0.0520550683, 0.0477955267, -0.0355245434, 0.0228452459, -0.0808566883, -0.0777478367, 0.0291001182, -0.0625441, -0.0270361099, -0.01270587, -0.0566006899, -0.0646111891, -0.031117361, 0.072586596, 0.0201730374, 0.0265523884, -0.0092802234, -0.0595997721, 0.1055800989, 0.0008104741, -0.0134198973, -0.0069184871, 0.0057899626, -0.0131244408, -0.0155439051, 0.0178914424, -0.0551493429, 0.0307726264, 0.052581314, 0.0195592027, -0.0017164116, -0.0356820449, 0.034540005, -0.0078254454, 0.0191888735, -0.0288908537, 0.0099524297, -0.0563996769, -0.0030066909, 0.0350334831, -0.0415284038, -0.0530168824, 0.0013170179, 0.04691872, -0.0040430594, 0.0390979126, -0.011789686, -0.0065456475, 0.0283952337, -0.016419027, -0.0083903708, 0.0329864919, 0.0190452039, 0.0628230572, 0.0246809702, -0.0122097628, 0.0064534578, -0.0036235231, 0.0132520869, -0.0082546771, 0.0632816255, 0.0200131554, -0.0027696365, -0.0317636989, 0.0148239788, -0.048285298, -0.0866507217, -0.0312717035, 0.0457345396, 0.0757198706, -0.0179043245, -0.0140922964, -0.0312742777, -0.0001564531, -0.0306317322, 0.0061032772, 0.0203590468, -0.0481640734, 0.0254891552, 0.0499992333, 0.0261064954, 0.0361517109, 0.0530472398, -0.0108819418, 0.0519395955, -0.0178342815, -0.0052672266, -0.0496889167, 0.0088871028, 0.057137236, 0.0215306859, -0.0453437008, 0.0176010989, -0.0266302582, -0.0591421202, -0.0277883168, -0.009193683, -0.0299083609, 0.0170362424, 0.0773879662, 0.0746808127, -0.018556606, 0.0101117194, -0.0364840291, -0.0078965258, 0.0218947437, -0.047209993, -0.0301138032, -6.282415599e-33, 0.0040680743, -0.0327479541, 0.0250812341, -0.0533372574, 0.0384028479, -0.0006114865, -0.0298191085, 0.0073799039, 0.0029638202, 0.0010136988, -0.0295475218, -0.0335730053, 0.0090438304, 0.014734135, 0.026350107, 0.0278978497, 0.0761870071, -0.006663606, -0.0192875285, 0.0232961234, -0.0198205002, 0.0204617102, 0.0053238501, -0.0541134737, 0.0191198587, 0.0039672926, -0.0168515313, 0.0329572596, 0.0064102788, 0.0616895482, -0.0102445688, 0.0628942624, 0.0140289422, -0.0194181725, -0.0220252015, -0.0088034701, -0.0300861001, -0.0451364145, -0.0205779485, -0.0212320015, -0.026641665, -0.0038507921, 0.0039360989, -0.0436931178, -0.0050986498, 0.0150871212, 0.0643213764, -0.0035022225, -0.0215081535, 0.0011889497, -0.03727635, 0.0056095663, -0.0139145246, -0.0479068533, 0.0302823298, 0.0249909498, 0.0259491391, -0.0304212589, 0.0086423093, 0.0625815913, 0.0509481467, 0.0257203616, 0.0684481338, 0.0284636803, -0.0154045643, 0.0372777842, 0.0026773461, 0.0168845672, 0.0229088254, -0.0423839912, 0.0212431382, 0.0525639653, -0.0020154098, 0.0129067712, 0.0371549688, 0.0096709058, -0.0160972048, 0.0531620048, 0.0330723114, 0.013013741, 0.0297173448, 0.0189824235, -0.0457675345, -0.0188926924, -0.0507371128, 0.0043464284, -0.0379820578, -0.050978709, 0.0443927087, 0.045932021, -0.0056415158, -0.027940141, 0.0313626267, -0.0313757695, 0.0032149397, -0.0071725817, -0.014271508, 0.0335542411, -0.0035152356, 0.0204517338, -0.0484053418, -0.084948957, 0.0445495136, -0.037478447, -0.0020981929, 0.0168460347, 0.0119560203, 0.0578089207, -0.0554807857, 0.0228295363, -0.0308839921, -0.0073622577, 0.0104323858, 0.0201537032, 0.0243591778, 0.0156644285, -0.0112032695, 0.0371915996, -0.0039902376, -0.0442862809, -0.0054588723, -0.0236574803, -0.0183936022, -0.0009200397, -0.0297664925, 0.0219234936, -0.0347143486, -0.0245249029, 0.0168176945, -0.0135973562, 0.0009085601, -0.0229314249, 2.951e-7, -0.0085441936, 0.0343765579, -0.0221235752, 0.0293650907, -0.0130388653, 0.0011569144, -0.03993126, 0.0037952461, 0.0056032166, -0.0408181772, 0.0507680289, 0.0440638773, 0.031939473, 0.0214065779, -0.1110629216, -0.0101615256, -0.0071142069, 0.0258056428, -0.0961182863, 0.0177216362, 0.0785042122, 0.109017089, 0.0331554413, -0.0197390877, -0.007682364, -0.0340845548, 0.0478576943, -0.0247992985, 0.0155451111, 0.0410419442, 0.0505469665, 0.0253612641, -0.005833481, 0.0554460734, 0.0093874289, 0.0333383642, 0.0284375641, 0.0655350983, 0.0009581706, 0.0083900029, 0.0115214782, 0.0226323735, -0.0128541971, -0.0539329946, 0.0425806381, -0.0496079139, 0.0013515214, -0.0235978756, 0.0219057798, -0.0350472592, 0.0095518017, -0.0591246486, -0.0184120107, 0.0151670985, 0.0200608447, 0.0012030232, 0.0029569184, -0.0823680684, 0.0132772187, 0.0253162123, -0.0459109768, -0.0287628565, -0.0272341333, 0.0058180951, 0.0266005006, -0.0580311604, 0.0069711674, 2.883913759e-34, 0.0240813978, -0.0094236461, 0.0197480656, 0.0241483636, 0.0334173888, -0.0033291229, -0.0533159077, 0.037192069, 0.0311865658, -0.0740058944, -0.0428157523 ]
http://arxiv.org/abs/2407.00250v1
http://arxiv.org/pdf/2407.00250v1
Mind the Gap: Analyzing Lacunae with Transformer-Based Transcription
2024-06-28T22:52:39
2024-06-28T22:52:39
Jaydeep Borkar, David A. Smith
cs.CV
cs.CV, cs.CL
Historical documents frequently suffer from damage and inconsistencies, including missing or illegible text resulting from issues such as holes, ink problems, and storage damage. These missing portions or gaps are referred to as lacunae. In this study, we employ transformer-based optical character recognition (OCR) models trained on synthetic data containing lacunae in a supervised manner. We demonstrate their effectiveness in detecting and restoring lacunae, achieving a success rate of 65%, compared to a base model lacking knowledge of lacunae, which achieves only 5% restoration. Additionally, we investigate the mechanistic properties of the model, such as the log probability of transcription, which can identify lacunae and other errors (e.g., mistranscriptions due to complex writing or ink issues) in line images without directly inspecting the image. This capability could be valuable for scholars seeking to distinguish images containing lacunae or errors from clean ones. Although we explore the potential of attention mechanisms in flagging lacunae and transcription errors, our findings suggest it is not a significant factor. Our work highlights a promising direction in utilizing transformer-based OCR models for restoring or analyzing damaged historical documents.
[ 0.0087757343, 0.0928519666, 0.0097427759, 0.063898094, -0.0524943024, 0.0233369432, 0.0006279712, 0.0607841238, 0.0024153942, -0.0077742548, 0.0453909561, -0.0192519147, 0.0736397728, -0.0440753959, -0.0200120285, -0.0090864617, 0.0099550141, -0.039470911, -0.032806199, 0.0054253717, -0.010732444, -0.013347636, 0.0125310924, 0.0074351677, -0.0151765272, 0.0003783117, -0.026242964, 0.0403650738, 0.0281089414, 0.0450750552, -0.0466382988, 0.0368870124, -0.0255660955, 0.0686105043, 0.0000020598, -0.0388730429, -0.0597625189, 0.0243453104, -0.0027119673, -0.008284525, 0.0174680799, -0.0649459437, -0.0723175704, -0.0333467945, 0.027590232, -0.0085872896, 0.0656070486, 0.0841474086, -0.0134758251, 0.0481829569, -0.0298642851, -0.0278953575, 0.0589986145, 0.0123287328, 0.0252810325, 0.0328332037, 0.0207680482, 0.0041809655, -0.0307988878, -0.0146308225, -0.0040335134, 0.0558311865, -0.0066005001, -0.0870402306, -0.047611881, -0.0010158839, -0.0008103961, 0.0182350352, -0.0252276957, 0.0116309347, -0.0511605106, -0.0089637712, 0.0025357187, -0.0169509668, -0.0086470349, 0.0315148681, 0.0029372491, 0.0424291864, -0.0499527678, 0.0100389561, -0.031257432, -0.0259006713, -0.0037789459, -0.0336621217, -0.0093550868, -0.0124771781, -0.0035571556, -0.073598735, -0.0040695481, 0.0123215057, -0.029717382, 0.0131866997, 0.0409658924, 0.0273201875, 0.0749909133, -0.006082966, -0.0570553392, -0.0874736682, 0.0171745513, 0.0186623726, 0.0551155284, 0.0280737132, -0.0732260123, 0.0423206948, -0.0459363908, 0.0712350309, -0.0013484824, 0.0245178472, 0.0024141786, 0.012827876, -0.0106151728, -0.0243513901, -0.017070774, -0.0544875674, -0.00844019, -0.0090387613, 0.0237944052, -0.0528437532, 0.0341711938, 0.0010596019, 0.0262791496, -0.0332489572, -0.0253825262, -0.0356074534, 0.0002334888, 0.0125947325, 0.0906843469, 0.01496277, -0.0523564927, -0.0635230094, -0.0107759349, 0.052602578, 0.0411392972, 0.0042257453, 0.009579869, 0.0517140664, -0.0498230048, -0.0368677974, -0.0335076414, 0.0241034757, -0.0543271191, -0.0337159522, 0.0173270255, -0.019047508, -0.011968716, -0.013624683, 0.0235645249, -0.0062354868, 0.0248919874, 0.0088931853, -0.0543354377, 0.0809093118, -0.0252994671, -0.0146715734, 0.0578784235, -0.0070586996, -0.0138049498, -0.0389941782, 0.0363667943, 0.0101988856, 0.0215940289, 0.0015647854, 0.033553496, 0.0457547344, -0.035490036, -0.0251611713, -0.0014984395, -0.062047407, 0.0214619935, 0.0005511838, 0.054113254, 0.0592750981, -0.0252245236, -0.0265394785, 0.0672492012, 0.0530671738, 0.0375727862, 0.0295472443, -0.0212808978, 0.0107485596, 0.0351880416, 0.0210912749, -0.0172658563, -0.0096088946, 0.0461769365, 0.0222661588, -0.0146799618, -0.0018365846, 0.0260487366, -0.0060813208, -0.0194550455, -0.0220391694, 0.0137073165, -0.0655698031, 0.0831399485, 0.0389462747, -0.1028100476, 0.0253009647, -0.0233448967, -0.051120922, -0.0329207443, -0.031065356, 0.0301948581, 0.0778470486, 0.1141073778, -0.0472627506, 0.0223786812, 0.007380778, -0.0484735779, 0.016067896, -0.0121766441, 0.0204645116, 0.0233373027, -0.0727626979, -0.003170301, 0.0562208854, 0.0044461172, 0.018026622, -0.014610243, 0.0295741633, -0.0109367268, -0.0167259574, -0.0493659936, 0.0294368956, 0.0183909535, -0.027136514, -0.0361362658, 0.016307611, -0.0042829295, 0.0112738283, -0.0412702747, -0.0052063544, 0.0507840961, -0.0260891728, -0.0080109602, 0.0231831651, -0.0010562324, 0.0410417281, 0.0439418778, -0.0505279489, -0.0295887813, 0.0139971506, 0.0228143092, -0.0026801298, -0.0448872857, -0.0641440451, -0.0076080519, -0.0726588443, 0.0532113761, -0.0115174102, -0.0121049238, -0.0296902154, 0.0355291814, -0.011446327, 0.006448051, 0.0159668159, -0.0348364152, 0.0051405858, -0.0539435111, -0.0066492413, -0.0323306359, -0.0117677525, 0.0163975433, 0.0025462816, 0.0317253582, -0.0066180183, -0.0816198438, -0.0332629792, -0.0510268584, -0.0348759815, -0.0002018757, -0.0147002032, -0.0020492647, 0.0084280511, -0.0201268084, 0.0502691567, -0.0146040982, 0.00598425, -0.0541872717, 0.0609897003, -0.0247823596, 0.0008209861, -0.0226314664, -0.001553187, 0.0252539497, 0.0117322644, 0.0354184173, -0.0695763901, -0.0848723054, 0.0600400232, 0.065614298, 0.0238809288, -0.0184265785, -0.0265928451, -0.0132525181, -0.0392624438, 0.0201573055, 0.0804291144, 0.0030041614, -0.0273979567, -0.018087035, -0.0263243951, 0.013668309, -0.0041691796, 0.0052262382, 0.0221355073, -0.0057597868, -0.0252347831, 0.0238762237, -0.0248241909, -0.0243776813, 0.0622331165, -0.0299750548, -0.0526997931, -0.0101923076, 0.0127708409, 0.0342615098, -0.0314750411, -0.0265795924, 0.0348376036, -0.0094234142, 0.0071918266, 0.0091078803, -0.0272563007, -0.0062052142, 0.0018620598, 0.033516258, -0.0210064556, 0.0241859108, 0.0185776334, 0.0129793128, 0.0475401133, -0.0837601796, -0.0210599843, 0.0375015587, 0.0298422836, -0.0389714316, 0.0289953984, -0.0119000645, 0.0420712158, -0.0046168501, -0.0309093837, 0.0083743874, -0.0413146913, 0.015961431, -0.0425056182, -0.0110712415, -0.0176605862, -0.0761525556, 0.0449758582, 0.003354325, 0.0777327195, 0.0195519179, 0.012023855, -0.0340310298, 0.0944777504, -0.0258199926, -0.0307310522, 0.0354914926, -0.0747523606, -0.0416385196, 0.0137381088, -0.0287794266, 0.0070703859, 0.0020971836, -0.0003387828, 0.0182364266, 0.018329449, 0.0101528801, -0.0464706309, 0.0281226691, -0.0432053395, -0.0174227506, 0.0610546619, -0.0116999159, -0.0385244265, -0.0505547561, -0.0278145261, -0.0609968714, -0.0503328405, -0.0233854167, -0.0536768027, 0.0022771878, 0.037975803, 0.0451379716, 0.004808838, 0.0028685469, 0.0377850197, -0.0470447838, 0.0323797204, 0.0279221218, 0.00452339, -0.0671382025, -0.0131337754, 0.0087168328, -0.045667313, -0.0110695632, 0.0260149352, 0.0025997963, -0.0299362019, -0.010289453, 0.0180174336, -0.0150754163, -0.0590998977, -0.000302938, -0.0166852679, 0.0471075177, 0.0236064382, -0.0172880366, -0.046094805, 0.0284464099, 0.0385020338, 0.0310145561, -0.0045875446, 0.1082443148, 0.0610652454, -0.0050373422, 0.0087377736, 0.0293042157, 0.0158895645, -0.0348096229, -0.0387962237, -0.0413504727, 0.0047613462, 0.0264747888, 0.0316830464, -0.0393631533, -0.0040168432, -0.0118761295, 0.0192799512, -0.0151538411, -0.0726475865, -0.048466716, 0.0949873999, -0.0531656779, -0.0143873449, 0.0214973148, 0.0043652216, -0.0900116116, -0.0095847007, -0.0182612631, -0.037270423, 0.0349263437, 0.0441921726, -0.0605588071, 0.0246297829, 0.0191161186, -0.080483824, -0.0034385675, -0.0345350839, -0.0093431119, -0.0673754886, 0.0639389083, -0.0535702258, -0.0313296504, -0.0116620436, -0.0226302557, -0.0868104398, -0.0337643884, 0.0837462768, 0.0528344251, 0.0197190586, -0.0429512337, -0.0072089704, -0.0452507921, 0.0028681033, 0.0423724689, -0.0085383216, -0.0150343394, -0.0111683132, -0.0552686676, -0.0461333804, 0.0197514854, -0.009894087, -0.0002868201, 0.0094644343, -0.04480654, -0.0389072187, -0.0519639663, -0.0016026148, -0.0497698337, 0.0596082546, -0.0221377574, 0.0349071473, -0.0079687545, 0.0186395571, 0.0138032306, 0.0087778764, 0.013321057, -0.0155182872, -0.0041754865, -0.0100465855, 0.0007888455, -0.0228594262, -0.0307596587, 0.0152266677, -0.0566759557, 0.0084485523, 0.0621507242, 0.0117563969, 0.031086646, -0.0028516925, 0.0469559133, 0.04473456, 0.0139791258, 0.0494533777, 0.0427963249, 0.0260324664, -0.01360696, 0.0272769462, -0.0097573064, -0.0168388877, -0.0441787913, 0.0118888682, -0.0415335223, 0.0070321192, 0.0850408673, -0.0494825579, 0.0562265553, -0.0345756374, -0.0106649362, -0.0378433093, -0.0108457347, 0.0342287496, 0.0212826636, -0.0626993179, 0.0180316977, 0.0266110338, 0.0254714973, 0.0117095886, -0.0341872945, 0.0035172147, -0.0128154159, -0.0224338658, -0.0365700796, 0.0058943415, 0.0097105876, -0.0625258163, -0.0105432048, -0.0105481762, -0.0015964063, 0.0154796466, 0.0692180991, 0.0167631488, 0.0214925352, 0.0215253048, -0.0221024621, 0.0003262029, -0.0300536957, 0.0040541668, -0.018309921, 0.0279834718, 0.0167863145, -0.0498917103, -0.0359249935, -5.31634622e-33, 0.0277407449, -0.0673735663, -0.0200434942, 0.0510212332, -0.0156014916, 0.0224945415, -0.0415440351, -0.005138238, 0.0087350383, 0.011299625, -0.0089424355, 0.0027995263, 0.0382171646, 0.0171301756, 0.0045340885, 0.0250359029, 0.0564686209, 0.032371711, -0.0232110396, -0.0317440778, 0.0205189884, 0.0396273322, 0.0474263132, -0.0598477684, 0.0295970365, -0.0253342111, -0.0185869522, -0.0285680909, 0.0356527716, 0.0301521495, 0.0271631274, -0.0295636058, 0.0116884718, -0.020089142, -0.0018954207, 0.0357263461, -0.0827250928, 0.0608373024, -0.0611658394, 0.0930921063, 0.0389993675, -0.0191513095, 0.0076009389, -0.0195497833, -0.01706779, -0.0375761986, 0.0343874097, -0.0126106143, 0.0112594236, -0.0091956649, -0.0232803542, 0.0291493386, -0.0080133891, -0.0170575902, 0.083487533, -0.0023837683, 0.0190860685, 0.0016668302, -0.0694223046, 0.0151307508, 0.0318299271, 0.0259078592, -0.0186320245, -0.0189861543, -0.0471884757, -0.0005402928, 0.0034958206, 0.0070697144, -0.0037085412, -0.0118488716, -0.0002719651, -0.0302321129, 0.0590660274, 0.0307692438, 0.0726493225, 0.004652251, -0.0083377864, -0.0056718066, -0.069104284, 0.0632860214, 0.0364734791, 0.036226064, 0.007838537, 0.0216750819, -0.0085585248, -0.0441305377, -0.0104867872, 0.04302302, -0.0163571592, 0.0242562685, -0.004225445, -0.0073446785, 0.0333757699, -0.0288309269, 0.0225183442, -0.0609553233, 0.0030793482, 0.0706789047, -0.0430033579, -0.0284977052, -0.021436017, -0.0088370554, 0.0627379939, 0.0702885613, -0.006800299, 0.0026059798, 0.0364354998, 0.0264672488, -0.0666207895, 0.0159481876, 0.0548661351, -0.0073782043, 0.0648396835, 0.0655707493, 0.0244942214, -0.00597528, 0.0465604849, 0.0225409456, 0.0185778271, 0.0216060448, 0.0091364672, -0.015759347, 0.0061687874, -0.0315808877, -0.027555516, 0.0144813387, 0.0125068026, 0.0253204666, -0.0418148004, -0.0229344238, 0.0015761986, 0.0247863457, 2.499e-7, 0.0705567077, 0.0627592206, 0.0730663463, -0.0087652644, 0.0240560044, 0.0026554563, -0.020509474, -0.0209413841, -0.0219974648, -0.0077979141, 0.0547930971, -0.0267046094, 0.1174556836, -0.0235591512, -0.0456968546, -0.0184369106, -0.0151984738, -0.0193619523, -0.0275895502, 0.0276435055, 0.0157657489, 0.00457909, -0.0506607927, -0.0492840894, 0.00787808, -0.0147705488, 0.0229459032, 0.0044406629, 0.0201237593, -0.0193897411, 0.0499874391, 0.0015802617, 0.0032925468, 0.0393201075, -0.000701152, -0.0016091918, 0.0322881006, 0.0161654484, -0.0036907438, 0.0136506986, 0.0041869218, 0.0566205382, 0.0017524944, -0.0499978773, 0.0115378555, 0.0722788945, 0.0328537934, -0.0243612174, -0.0436445661, 0.034155935, 0.0259254947, -0.0261025745, -0.0006189967, 0.0134001449, 0.0369927734, 0.024609264, -0.0110093476, -0.0167155471, 0.0018241239, -0.0416832194, 0.0028628074, 0.0189238489, -0.0092226667, -0.0351948813, 0.0156230126, -0.0562639311, -0.0230656788, 2.492469549e-34, 0.0221572649, -0.0421409421, -0.0151283471, 0.0188626666, -0.0174989253, -0.0132062472, 0.0114432685, -0.006711008, -0.0484330207, -0.0421926491, 0.0044248598 ]
http://arxiv.org/abs/2407.00248v1
http://arxiv.org/pdf/2407.00248v1
DiffuseDef: Improved Robustness to Adversarial Attacks
2024-06-28T22:36:17
2024-06-28T22:36:17
Zhenhao Li, Marek Rei, Lucia Specia
cs.CL
cs.CL
Pretrained language models have significantly advanced performance across various natural language processing tasks. However, adversarial attacks continue to pose a critical challenge to system built using these models, as they can be exploited with carefully crafted adversarial texts. Inspired by the ability of diffusion models to predict and reduce noise in computer vision, we propose a novel and flexible adversarial defense method for language classification tasks, DiffuseDef, which incorporates a diffusion layer as a denoiser between the encoder and the classifier. During inference, the adversarial hidden state is first combined with sampled noise, then denoised iteratively and finally ensembled to produce a robust text representation. By integrating adversarial training, denoising, and ensembling techniques, we show that DiffuseDef improves over different existing adversarial defense methods and achieves state-of-the-art performance against common adversarial attacks.
[ 0.0191238858, 0.0552414432, -0.0199430361, 0.0433575623, 0.009390885, 0.0093280245, -0.0085197045, 0.0177591611, 0.0122051528, -0.0646543875, -0.0176643673, -0.0151655339, 0.0243791975, -0.0149863306, 0.0439343825, -0.0350897349, 0.0371693149, -0.0119584883, -0.0032348698, -0.0240459535, 0.0287849829, 0.0003479649, 0.0107304361, 0.0007472085, 0.0112913586, 0.0050899284, 0.0115057435, 0.0116000315, 0.018454358, -0.0190951675, 0.052253779, 0.0321077853, 0.0438170955, 0.0561275706, 0.0000020742, 0.0059843161, -0.0051467614, 0.0198285934, -0.0074955402, 0.0203835573, 0.0569152534, -0.0398679003, 0.0001937133, 0.0171776451, -0.0144082215, -0.0155401677, 0.0286518428, 0.0524233654, 0.0770857856, 0.1045378223, -0.0098622004, -0.0754253045, 0.0469979048, -0.024497224, -0.0436631367, -0.0501047745, 0.0049094982, -0.0050021904, -0.029020451, -0.008999506, -0.018914992, 0.0434790216, 0.0210241023, 0.0123351486, 0.0130540431, 0.0271540228, 0.0472240783, -0.0136994636, 0.0143085672, 0.098739773, -0.0623163879, -0.0202777274, -0.0133523587, -0.0092728203, -0.0058356952, 0.0237471554, -0.0133797517, -0.021742519, 0.0291411448, 0.035003975, -0.0148603888, 0.006922381, 0.0756525025, 0.0460060015, 0.0016376007, -0.0058703758, 0.0092442827, -0.0054013361, -0.0099228602, -0.018997347, -0.0176454131, -0.0516269244, 0.0422606394, 0.0056442926, 0.0046760873, -0.0102256117, -0.0899674147, -0.0789029747, 0.0151938535, -0.0411942266, 0.0190928802, -0.0145816421, 0.0109527921, 0.0197443888, -0.0384280123, 0.0083027259, -0.0261974577, 0.0241890568, -0.0236933585, -0.0085179536, -0.0193168372, -0.0005555024, -0.0079062246, 0.0281139147, -0.041859366, -0.017507581, -0.0420931764, -0.0046760328, -0.0320323333, 0.0209414065, 0.0152692934, 0.0435233638, -0.0332863107, -0.0299674608, 0.02176385, -0.0277500842, 0.0079172738, 0.006721532, -0.0108022522, -0.0270265583, -0.0560985394, 0.0171518289, -0.0172740277, -0.0428840928, 0.0042613684, 0.0527534485, 0.0092259021, -0.0543407351, -0.0213312153, -0.0077381427, -0.0147626968, -0.0322041363, 0.0302168224, -0.05300951, -0.0244884826, -0.0189047474, 0.0001479888, -0.1111643985, 0.0027870215, 0.0068352693, -0.0218512304, 0.1048580334, -0.00583799, -0.0528935269, 0.0475142375, 0.0424693152, 0.0500034615, 0.0556459315, -0.002251619, 0.0500801019, 0.0073323916, 0.0252443142, 0.0164644606, 0.0087203374, 0.0590614974, 0.015617731, -0.038542971, 0.0137798861, -0.015524948, -0.0161285624, 0.0134741971, 0.0404486395, -0.0376538262, -0.0881240889, 0.1005081162, 0.017643299, -0.0403147414, 0.0183258671, -0.0302084051, 0.0079995571, -0.012972164, -0.0146227842, -0.0429190658, -0.0062631285, -0.0659682453, -0.0330053195, 0.0201352909, 0.0336209759, -0.0288844649, -0.0386226028, -0.0026079232, -0.0345897302, 0.0882027, 0.0089865141, 0.0185277294, 0.0360398591, -0.0394052491, 0.0246623568, 0.0215633847, 0.0050326334, -0.0189584754, -0.0569821186, 0.0038457448, 0.0077044284, 0.0734376013, -0.0390377827, 0.0474307649, -0.0530660748, 0.0296183005, 0.0165635534, 0.0246367306, 0.0200392883, 0.0537327975, -0.0507833995, -0.0260626506, -0.0384822898, 0.0088186488, 0.0278634522, 0.0235466659, 0.0200138688, 0.0245281532, -0.0250585005, -0.0385962501, 0.0407799706, 0.0273134485, -0.0750546381, 0.0311876386, 0.0094446251, 0.0233201776, 0.0159296952, -0.0501412116, 0.0212993138, 0.0525943078, -0.026430672, -0.0377813727, -0.0449876562, -0.0139102256, -0.0598141775, -0.0003477888, -0.0143522359, -0.017489532, 0.0501241945, -0.0386432, 0.0169770569, 0.0492604822, -0.0228631049, -0.0000391617, -0.0277344994, -0.026116062, -0.0092254784, 0.0600768365, -0.0247696247, 0.0690622181, -0.0194895193, -0.0338034108, -0.0431457162, 0.0311576892, 0.0090851849, 0.012337462, -0.0327468216, 0.0169017855, 0.0027143711, 0.0088483859, -0.0082216356, -0.0307277758, -0.0000868655, 0.0085093463, -0.0197435655, -0.0122480821, -0.0545356274, -0.0214556102, 0.0174611621, -0.016558256, 0.0111042634, -0.030973278, -0.0070270188, 0.0134598725, 0.0109237637, -0.0119072571, 0.0068481341, -0.0262098536, -0.0063148867, -0.0205782987, -0.0135346958, 0.0167758074, 0.0663546547, -0.0490809456, -0.0288509689, -0.0092344619, 0.0221860353, 0.0192660168, 0.0790971592, -0.0293337405, -0.0384502634, 0.0154883964, 0.0222643949, -0.0116346236, 0.0644329563, 0.0350152552, 0.0729929581, 0.0366107635, 0.0336924493, 0.0145990057, -0.0156346466, -0.0096030915, 0.0548642054, -0.0617856719, 0.0121984482, -0.0228792131, 0.0411100797, 0.0372296721, -0.002906709, -0.0190202575, 0.0394660234, 0.0066808239, -0.0473715067, -0.031321656, -0.031793274, -0.0199167486, -0.0271288306, -0.0504581705, -0.0456703342, 0.0855815336, -0.0408968106, 0.0194561426, -0.0478270128, -0.0834644362, 0.0717996582, 0.0486000627, 0.012616477, 0.0273355544, 0.0221658703, -0.0030849795, -0.0394791625, -0.0711389482, 0.031948112, -0.0039475095, 0.0014645217, -0.0066855736, 0.0172850657, 0.0086286906, 0.0006130315, -0.0723316371, -0.0832210779, 0.0082746288, 0.0382486358, -0.0152332652, -0.0131652867, -0.0626879483, -0.0398198813, 0.001237336, 0.0173782147, -0.0089691961, 0.0066621606, -0.0147129577, 0.0801955536, 0.050539352, -0.0155993532, -0.0027354211, -0.0418987237, 0.0165597294, 0.0695029497, -0.0261069648, 0.0132201388, -0.0349283852, -0.050566718, -0.0028598243, 0.0112514561, 0.0155350938, 0.0103961397, 0.0595474243, -0.0413443036, -0.0163134784, 0.0709875822, -0.019379843, -0.0180314407, 0.0194767509, 0.0494729951, 0.0758188814, 0.0082140435, -0.040359281, -0.0513013639, -0.0381175242, -0.0049165576, 0.0003091378, 0.0236813203, 0.0196720418, 0.0070857536, -0.0493788086, -0.0084565375, 0.0161315277, -0.0085508265, -0.0416655093, -0.0352346748, -0.0304660853, 0.032401178, 0.0455406755, -0.0391171016, 0.0511782393, -0.0018401269, 0.014351272, 0.0254399255, -0.0886337087, -0.0034988867, -0.0324030705, 0.030685151, 0.0541672409, 0.0376740508, -0.0210500769, -0.0504536815, 0.037731491, -0.0253903382, -0.023891842, 0.0030146134, 0.0707261413, -0.0136719532, -0.0095520886, 0.0181881227, 0.0254811775, -0.0225655567, -0.0397902317, -0.0142152943, 0.0074531594, -0.0330548659, -0.0114680063, -0.0142506668, -0.0204573385, 0.036150109, 0.0375906788, 0.0093240999, -0.0284134783, -0.0418254323, -0.0677885339, 0.0329618193, -0.0188829657, -0.0621042959, 0.0259531494, 0.02050131, -0.0542307943, -0.0564832427, -0.0576325245, -0.0246493835, 0.0282010138, -0.0100056436, 0.0142588345, -0.028082652, -0.0174212102, -0.0518562049, -0.012064728, 0.0106405923, 0.0466890782, 0.0287236087, -0.0200924221, -0.0257824268, -0.0201528352, -0.0286135636, 0.0137724727, -0.1053406224, -0.0816520378, 0.0125660924, 0.0438470021, 0.0081299599, 0.0106743602, -0.0550236031, -0.0988094509, 0.1559870243, 0.0496304296, 0.028257383, -0.0030942129, 0.05396308, -0.0704580769, 0.0377470516, 0.0499477684, -0.0062974822, 0.014316407, 0.0460429266, -0.0115350271, -0.033707574, 0.0162380207, -0.0175874364, -0.0129933553, 0.0557964854, -0.0213727467, 0.016459588, 0.0075199343, 0.0074705016, -0.0181179848, -0.0222306531, -0.0064082299, 0.0188332777, 0.046418909, 0.0081309685, -0.0076016202, 0.0366402045, 0.0215182621, 0.0104296878, 0.0009804748, -0.0046329647, 0.0528347902, 0.0259424187, -0.0061610057, 0.0259081852, -0.0060291179, 0.0305957869, 0.0036245862, 0.0257007033, -0.0173909329, 0.0357383862, 0.00957816, -0.0117563782, -0.0525662862, 0.0099090738, -0.0736254007, -0.0166636799, -0.0270947255, 0.0235984344, 0.0592193082, -0.0029728618, 0.0260718875, -0.0013604801, -0.0284590069, -0.0209465418, 0.0049905954, -0.0068451492, 0.0095519498, 0.0225047823, 0.0032663853, -0.0106000239, 0.0285421871, 0.0785833746, 0.0197868049, 0.0576887056, 0.0273165256, -0.0360946693, -0.034597028, -0.0654890686, 0.013461858, 0.03146917, -0.01423347, 0.0556588024, 0.0216040276, -0.0851411372, -0.0402873941, 0.0081047155, 0.0283909775, 0.0058831992, 0.0112052076, 0.0243007448, 0.0237741098, 0.0145966774, -0.0448546633, 0.0278098397, 0.0165083967, -0.0461706668, 0.0079425434, -6.351541279e-33, 0.0140944123, -0.0021451127, -0.0413074195, -0.0930658653, 0.0167370979, -0.0065895929, -0.0262345448, -0.0095605385, -0.0377777629, 0.0337681919, 0.0201783665, 0.04104954, -0.0234680101, 0.0385362692, -0.0795995519, -0.0395644642, 0.0412477516, -0.0192337409, -0.0222501103, -0.0152465636, 0.0349914096, 0.0338029601, 0.0421570167, -0.0494056307, 0.0489195064, 0.0056353332, -0.0428165793, -0.0184473153, -0.0183040928, 0.022758862, -0.0153191555, 0.0374215208, -0.0019077224, 0.0540492013, -0.0287841782, -0.0003624527, -0.0177710932, -0.0013246285, -0.0148888854, 0.0076757753, -0.0536655188, -0.0065932935, 0.0690782592, -0.0178601798, 0.0084788948, -0.0049603968, 0.0170805361, -0.0009449892, -0.0171074439, -0.0173584837, -0.0366383344, 0.0389838219, -0.0157060362, -0.0030984851, 0.0279621258, -0.0057120561, 0.0279633924, 0.0251912437, -0.1179096997, -0.0248024948, -0.0185562931, 0.0449473038, 0.028360419, -0.0121955797, 0.00776006, 0.0722021759, 0.0234604795, 0.0195485931, -0.0302531235, -0.0006604464, 0.03834185, 0.0164733157, 0.0741084591, 0.060079027, 0.061816249, -0.0434635244, -0.0858661011, -0.001363355, -0.0296190437, 0.0077489885, 0.0253939666, 0.0412021689, -0.0161643531, -0.0138526987, -0.0173345692, -0.055343315, -0.0135610672, -0.0072800182, 0.0089292815, 0.0228383075, -0.039032042, -0.0075002084, -0.0093425736, -0.0570289604, -0.0094888303, 0.0238126125, -0.0136737134, -0.0495942309, 0.0288940854, 0.0228897538, 0.0003176423, -0.015524704, 0.0234429054, 0.0048610717, 0.009092031, -0.0149895912, 0.0537410937, 0.0202453751, -0.040337678, 0.0002657786, -0.0351374112, 0.0206223615, 0.0303338468, 0.060383562, 0.0373025052, 0.0030903323, -0.0124160405, -0.0080651622, 0.0087041678, 0.0067705405, -0.0020152966, 0.0252126865, -0.0175386406, 0.0185774472, -0.0119322976, -0.0479030237, -0.018273646, 0.0390888676, 0.0768597499, -0.10036847, 0.0164212305, -0.0353380293, 2.801e-7, 0.0173748024, 0.0507583916, -0.0339156054, 0.0202461611, 0.0246928092, 0.0626757517, -0.0099903513, 0.0463886373, -0.0328637436, -0.0674032718, -0.0063242316, 0.0571048856, 0.0343752354, 0.0188408419, -0.0257536694, -0.0326420218, -0.0557100959, 0.016551597, -0.0115031227, 0.0114778848, 0.024454765, 0.1321490556, 0.0430388376, -0.0284390394, 0.016732486, -0.0385156088, 0.0504952967, 0.0011168027, 0.0359402299, -0.0210440494, 0.0161423571, -0.0203026608, 0.0227799639, 0.0071687344, -0.0615751408, 0.0191549659, 0.0132291913, 0.0472281165, -0.0375419408, -0.0376151763, -0.026616212, 0.0168563705, -0.0078521445, -0.0362238213, 0.0690127909, 0.008222321, -0.0296424273, -0.0089061661, -0.0514944084, -0.0172702558, 0.0656399727, -0.015958881, -0.0270866752, 0.0076021375, 0.001160818, 0.0034796891, 0.0177417826, -0.1026904508, -0.0254549496, -0.0161159914, -0.0368810892, 0.0086823227, -0.0039346116, -0.0048611779, 0.062154945, 0.0242264178, 0.0050849626, 2.337269167e-34, 0.0300150886, -0.0106665799, -0.0145612163, 0.0001623421, 0.0198265482, -0.0133409454, 0.0013644089, -0.0435803495, 0.0219083559, -0.0210407525, -0.0448490344 ]
http://arxiv.org/abs/2407.00242v1
http://arxiv.org/pdf/2407.00242v1
EHRmonize: A Framework for Medical Concept Abstraction from Electronic Health Records using Large Language Models
2024-06-28T21:39:20
2024-06-28T21:39:20
João Matos, Jack Gallifant, Jian Pei, A. Ian Wong
cs.CL
cs.CL
Electronic health records (EHRs) contain vast amounts of complex data, but harmonizing and processing this information remains a challenging and costly task requiring significant clinical expertise. While large language models (LLMs) have shown promise in various healthcare applications, their potential for abstracting medical concepts from EHRs remains largely unexplored. We introduce EHRmonize, a framework leveraging LLMs to abstract medical concepts from EHR data. Our study uses medication data from two real-world EHR databases to evaluate five LLMs on two free-text extraction and six binary classification tasks across various prompting strategies. GPT-4o's with 10-shot prompting achieved the highest performance in all tasks, accompanied by Claude-3.5-Sonnet in a subset of tasks. GPT-4o achieved an accuracy of 97% in identifying generic route names, 82% for generic drug names, and 100% in performing binary classification of antibiotics. While EHRmonize significantly enhances efficiency, reducing annotation time by an estimated 60%, we emphasize that clinician oversight remains essential. Our framework, available as a Python package, offers a promising tool to assist clinicians in EHR data abstraction, potentially accelerating healthcare research and improving data harmonization processes.
[ 0.0297745746, 0.0702352822, 0.0062431507, -0.0202566013, -0.006647679, 0.053104803, 0.0270082168, 0.028190542, 0.0563120581, -0.0360259153, 0.0219287444, -0.0252355319, -0.0253966656, 0.0677706525, 0.0010661297, -0.0632341653, 0.0129013583, 0.0067114825, 0.0334748775, 0.0216202233, -0.0151161617, 0.0072250171, -0.0123498859, 0.0349533334, 0.041823037, 0.0049915453, -0.0031395957, -0.0048027555, 0.018311087, -0.0853465125, -0.0248868782, 0.0463041402, -0.0223653093, 0.0272242799, 0.0000019296, -0.0553918444, -0.0351024531, 0.0392343551, -0.0454770811, -0.0583515763, 0.06194086, -0.0755913183, 0.0019087612, -0.0161975361, 0.001629637, -0.0683596358, 0.0432734787, 0.0451828614, 0.0319719985, 0.0421078354, -0.0254258402, 0.0101827979, 0.0175322909, -0.0113587594, 0.0393122882, -0.0223222449, 0.0686217472, 0.0007000348, 0.0433223136, 0.0023859225, 0.0223934408, 0.0328263007, -0.0246982016, 0.0374649391, 0.0149931796, 0.0440572947, -0.0458637364, -0.0037706899, -0.0239497758, 0.0472181179, 0.0003550652, -0.0115961265, 0.059537217, 0.0007561009, -0.0282068271, -0.0079018688, -0.0299748238, 0.0085377311, -0.0365922712, -0.0167489145, 0.0180470999, -0.0297607146, 0.0270280465, 0.0173140317, -0.0554639846, 0.015667608, 0.0184261091, -0.0131656807, 0.0403792374, -0.0285880696, -0.0194664281, -0.0502770729, 0.0402899161, 0.0454400033, -0.014241009, 0.0104743699, -0.0145817194, -0.024553882, 0.0793716908, -0.0149314366, 0.019171264, -0.0029252234, 0.0311987512, 0.0546192974, 0.017987581, -0.0126319835, -0.021933658, 0.0133819887, -0.0273136515, -0.002576353, -0.0813825056, -0.0178700145, -0.0375769325, 0.0423988849, -0.0067024492, -0.0089133838, -0.0701339617, 0.0011484486, -0.0285164639, 0.0295557976, 0.0089763626, -0.0017427389, -0.0093294457, -0.0044284505, -0.0184921753, -0.0094511844, 0.0198611636, 0.0071730609, 0.007945111, -0.042736657, 0.0370393172, -0.0004780524, 0.0290694535, -0.0211471058, 0.0407944284, 0.0522195399, 0.0407321677, -0.0266255904, 0.0097122621, -0.0536547601, 0.0077539515, -0.0226783771, -0.0080755306, -0.0892952308, 0.0566587374, 0.018570859, -0.0113306399, -0.0523168407, 0.0002658414, -0.0032663848, -0.0759896412, 0.0778407678, -0.0785835236, -0.0202270653, 0.0353501178, 0.0188328996, -0.0119448639, 0.000765965, 0.0034114497, -0.0387034528, -0.0029432636, -0.0180994254, 0.032138709, 0.0140115609, -0.0092507116, -0.0621642806, 0.0251221284, 0.0135664549, 0.0167690627, 0.0524994954, -0.0208722167, 0.0701294988, -0.0154585093, 0.0172779225, 0.034890987, 0.0802312717, 0.01668722, -0.0144878989, 0.011148748, -0.0230790116, 0.0112674115, -0.0553804711, -0.0364940539, -0.0087922392, 0.0297036488, 0.0060543702, -0.0184953492, 0.0005818721, -0.0280103162, -0.0106400559, -0.0423265509, -0.0368467718, -0.0146211321, -0.0181751531, 0.0392221846, -0.0326846018, -0.0066427016, 0.0734887496, 0.0407906137, -0.0295335855, -0.0190300439, -0.0315047614, -0.0343994908, 0.0917776823, 0.0279548317, -0.0385835357, -0.0448964015, -0.0372959599, -0.0049654325, -0.0076677999, -0.0027999657, -0.0372826643, 0.0029397896, -0.0457878448, 0.0031744586, 0.0496493652, 0.0182241201, -0.0094477106, -0.0018566909, 0.0203963444, -0.007158339, -0.0367161855, -0.0309589468, 0.0365846269, -0.0366401561, -0.0475165918, -0.0105298404, 0.0203216691, 0.0082445266, 0.0466316082, 0.0004259399, 0.0326428339, 0.0471190549, -0.0478798151, -0.0006362062, -0.0217700936, 0.0378971919, 0.0170255192, 0.0204625633, -0.0038093014, -0.0124526415, -0.0355689898, -0.044269897, -0.0247358698, -0.0411028676, -0.0059558172, 0.0421321318, -0.0055213077, 0.0196310226, 0.0546384938, -0.0128398314, -0.0409440212, -0.0010721213, -0.004166388, 0.0066211559, 0.0179813001, -0.0416792482, 0.0050523574, 0.0032856588, -0.0061155953, 0.0436146185, 0.0209905487, 0.0284492187, -0.02353682, -0.0057160179, -0.0268887859, -0.0073434091, -0.0968460813, 0.0047293426, 0.016425591, 0.0452041887, 0.0447339863, 0.0420113988, -0.0080919797, -0.0176571738, -0.0171913467, -0.0258802529, -0.0086787716, 0.0209158193, 0.0343158282, 0.0300845355, -0.0335267074, -0.0000150714, -0.0160544943, -0.0382032916, 0.0223804768, -0.0133865103, -0.0090457452, -0.019699214, -0.049714677, -0.0444625281, 0.0012579612, 0.0073800688, 0.019883804, -0.0114736427, -0.0389929004, 0.0218875688, 0.0017811246, -0.039874468, 0.0087731164, 0.06012927, -0.0104266535, 0.0076949694, -0.0077066408, -0.0270499103, -0.0081693847, 0.0438518301, -0.0331835076, 0.0131800007, 0.0645980015, 0.0029340521, 0.0091537731, -0.0189731326, -0.001658921, -0.0155634079, 0.0540556237, -0.0857562274, 0.0150942635, -0.0354577489, 0.0384123698, -0.0052742348, -0.0325689912, 0.0853138641, 0.0038900222, 0.0461440198, -0.0717743337, -0.029809976, -0.0363144167, 0.0203949679, -0.0060408651, 0.0245528799, 0.0295077022, -0.054393243, 0.0172453579, -0.0127762211, 0.010730356, -0.0680844262, 0.0944411755, -0.0259868354, 0.0445445813, 0.0000120146, -0.030024685, -0.0217645206, 0.0308977365, -0.0318834931, 0.0231146663, 0.0191474557, 0.0082791736, -0.0183761138, 0.0406129062, -0.0251619704, 0.08802782, 0.0612094551, -0.0147889685, 0.0167830996, 0.018108841, 0.0211732257, -0.0624566972, -0.0200293977, -0.0092944037, 0.0533859506, 0.0506185628, 0.0253498554, 0.0014869482, -0.0003671991, 0.0267735347, -0.0113154966, -0.0752598196, -0.0044985432, 0.0241522305, -0.0028665701, -0.051537741, 0.0096120629, 0.1033360288, 0.0461463407, -0.0546976887, 0.0146017196, -0.0069280169, -0.0306902472, -0.0141498763, 0.0153938485, -0.0778224021, -0.0153495772, -0.002050342, 0.0233930759, 0.006930246, -0.0484784581, 0.0235842317, -0.0281262677, 0.0191248599, 0.0171597227, -0.0858764723, -0.0492664687, -0.0407387726, 0.0057662171, -0.0078497669, -0.0162017103, 0.0271413717, -0.0377418548, -0.0218189918, 0.002440887, -0.0533274598, -0.0522812456, 0.0131348977, -0.0309141651, 0.0461761914, 0.040559873, 0.0243064314, -0.0214519892, -0.0041311467, -0.0097692376, -0.0377725437, -0.0437794104, -0.0318691917, 0.0802247897, 0.0230291858, 0.0060792365, -0.0447948016, 0.0337512605, -0.0508263893, -0.0486571789, -0.0296342392, 0.0746825486, -0.0311051495, -0.0272850096, -0.0414310098, -0.0260554794, 0.0339515507, 0.0494656265, 0.0102855079, 0.0135419387, -0.0557552874, 0.0098531619, -0.0011978796, 0.0115072727, 0.0117990198, 0.0386097096, -0.0530175008, -0.045619946, -0.0571923368, -0.0241980143, 0.0632162765, -0.0209896043, 0.0102895163, 0.0430910327, 0.0356715061, -0.0239065681, -0.0769463852, 0.0296160225, 0.0329682082, 0.0101174591, -0.0547446609, -0.0765496939, 0.0429369323, 0.0235674735, -0.0146467695, 0.0456310548, -0.0179068632, -0.0303348787, 0.0109158922, -0.0003009112, 0.0279835314, -0.0229847431, 0.015555351, 0.0031869716, 0.0430436619, 0.0522698238, -0.0092606405, -0.0552095063, -0.0303286184, 0.0169470012, -0.0163587909, 0.0140994173, -0.0242839009, 0.0296807531, -0.0088388333, 0.0344480462, -0.0050076214, 0.0152873043, 0.0300315097, 0.058784999, 0.0219196957, -0.0215779785, -0.017733898, -0.0349596217, 0.0195251722, -0.0226184316, 0.0082151135, -0.013376697, 0.0042789341, -0.0001254523, -0.0154214464, -0.0156619772, 0.0321403481, -0.0160289425, -0.0431612432, -0.0302417632, 0.0224528201, -0.0322257802, 0.0161604788, 0.0768910199, -0.0513205454, 0.0005680603, 0.0295046698, -0.002803345, 0.0320848413, -0.0468608066, 0.0539207831, -0.0080979979, 0.0374130756, -0.024145836, 0.0633858144, -0.0297692306, -0.0760068968, -0.0043750233, 0.0202648584, 0.0442299061, 0.0073552197, 0.0609410964, -0.0540570579, -0.0290778577, -0.0356479064, 0.0107277129, -0.0023835199, 0.0567800067, 0.0485744774, 0.0268075299, -0.0201364495, -0.030087607, 0.0772468075, -0.0312888771, 0.0786403641, 0.0031102013, -0.0506264009, -0.0438740663, 0.0087268297, 0.0431057028, -0.0037276912, -0.0952204466, -0.0346852429, -0.0525781177, -0.056168709, 0.0443267673, 0.0131709259, -0.0294954106, 0.0156549737, 0.0632880926, 0.0413897783, 0.0306461323, -0.0269497652, -0.0177960098, 0.0416903384, -0.0424440615, -0.0430302545, 0.0304733645, -5.79532674e-33, 0.0087883975, -0.0234637428, 0.0075371047, -0.0038819483, 0.0250821915, 0.0277000181, -0.0393301286, 0.0050209733, 0.0332190618, 0.0370368063, 0.0070685577, -0.0145579958, 0.0123802181, 0.0228509158, 0.0408821404, -0.0229904074, 0.0050475947, 0.0308145043, -0.0024132086, 0.0299067535, 0.0200330578, 0.0544839352, 0.0226587206, -0.0464905836, 0.0195749812, 0.0136555713, 0.0378399193, -0.018777037, 0.003391362, 0.078114301, -0.0547848903, 0.0456110351, 0.0315160602, -0.0070563722, -0.0038832016, 0.0050959587, -0.1058345884, -0.0234622173, -0.0154801831, -0.0375029556, -0.0059476695, -0.0504732542, 0.0533276126, -0.0220723394, -0.0302238651, 0.006675018, 0.0058606034, -0.0260108821, -0.0438366383, -0.0467284471, -0.0404053666, 0.046816431, 0.0071116239, 0.0220544804, 0.048643548, -0.0187825933, -0.0396345593, 0.0213394687, -0.045194976, -0.0068862536, 0.0360815264, 0.0068824743, 0.0183813181, -0.0117901089, -0.0139459781, 0.0509607345, 0.0131577794, -0.0317199603, -0.0121394861, 0.068893753, -0.0526112095, 0.0505847074, -0.0162540581, -0.0312517285, 0.0348145142, -0.0124012008, -0.0847583339, 0.0474781543, -0.0769200101, 0.0183172226, 0.007998107, -0.005004664, -0.0384591222, -0.0008598262, -0.0277565345, 0.0157408938, -0.0417770408, -0.0304690581, 0.0198393092, -0.0201738086, -0.0190693904, 0.0337098539, 0.0001064352, -0.016638292, -0.0530211702, -0.0322760902, 0.0367165059, 0.0203221198, -0.0335183963, -0.0111061139, -0.0427320302, -0.0216407012, 0.0202066489, -0.0102069015, 0.0325677171, 0.0318921171, 0.0155056389, -0.0314962119, -0.0737841427, 0.0107245212, 0.0149302967, 0.0050659031, -0.025639439, 0.020331189, 0.0304403529, 0.0175614432, 0.0472406521, 0.0430760458, 0.0275029596, -0.0440416671, -0.0432894118, 0.0123920813, 0.02516599, 0.0040391944, -0.0219167732, 0.0131714568, -0.064079836, 0.0311343689, 0.0541340075, -0.0044262083, 0.0008057686, 0.0119864186, 2.788e-7, 0.1132845953, 0.0398063622, 0.0376098864, -0.009837823, 0.0139941061, -0.0084062833, -0.0205860026, -0.0152590349, -0.0300296415, -0.0311983451, 0.0446876101, -0.0097390926, 0.0480361171, 0.0409831256, -0.050443545, -0.0258895438, -0.0501655079, -0.062046241, -0.0825433433, 0.0021765663, 0.084815897, 0.0471338853, -0.0194792207, -0.0261950232, 0.00912215, 0.0332449749, -0.0036711108, -0.0423507728, 0.031239491, 0.0398590975, -0.0205040872, -0.0052098059, 0.0024246024, 0.055156514, -0.0038379594, -0.0325662382, -0.007487304, 0.1181173325, -0.0769555941, 0.0565621145, 0.006417484, -0.0618734136, 0.0365040302, -0.0386287011, 0.0494401231, -0.0262187738, -0.047914058, 0.0045392201, -0.0387779325, -0.0142867602, 0.0557138063, -0.0082489597, -0.0362718999, 0.0429670364, 0.0229849108, 0.0365602896, -0.0336003304, -0.0888122916, 0.0347169116, 0.0687362626, -0.0082796728, -0.023391569, 0.0517208278, -0.0196582563, 0.0010952509, -0.0817875043, 0.0218092185, 2.739073111e-34, 0.0118459146, 0.0059346589, 0.0049237153, 0.0484236926, 0.0353256427, -0.0151087325, 0.0182953682, 0.0158404391, -0.0217712019, -0.0766642466, 0.005598682 ]
http://arxiv.org/abs/2407.00219v1
http://arxiv.org/pdf/2407.00219v1
Evaluating Human Alignment and Model Faithfulness of LLM Rationale
2024-06-28T20:06:30
2024-06-28T20:06:30
Mohsen Fayyaz, Fan Yin, Jiao Sun, Nanyun Peng
cs.CL
cs.CL, cs.AI
We study how well large language models (LLMs) explain their generations with rationales -- a set of tokens extracted from the input texts that reflect the decision process of LLMs. We examine LLM rationales extracted with two methods: 1) attribution-based methods that use attention or gradients to locate important tokens, and 2) prompting-based methods that guide LLMs to extract rationales using prompts. Through extensive experiments, we show that prompting-based rationales align better with human-annotated rationales than attribution-based rationales, and demonstrate reasonable alignment with humans even when model performance is poor. We additionally find that the faithfulness limitations of prompting-based methods, which are identified in previous work, may be linked to their collapsed predictions. By fine-tuning these models on the corresponding datasets, both prompting and attribution methods demonstrate improved faithfulness. Our study sheds light on more rigorous and fair evaluations of LLM rationales, especially for prompting-based ones.
[ 0.028458789, 0.0895787105, -0.0060896561, 0.0453581885, -0.0318962, 0.0133635765, -0.0108117023, -0.0134115918, -0.0247160308, -0.0255853273, -0.0062916139, -0.0377346501, 0.0324054733, -0.0026465233, 0.024702156, -0.0397134237, 0.0283511821, -0.0353593677, 0.0388090722, 0.0093545904, -0.0003331717, 0.0211593062, 0.0354683958, 0.0675409883, 0.0149696907, -0.0319775827, -0.0177236404, -0.0040778639, 0.0118660647, -0.0183852408, -0.0102824019, 0.0353543274, 0.0202424452, 0.0331482776, 0.0000021067, -0.0691545904, 0.0126402779, -0.0106027443, -0.0653418601, 0.0208003353, 0.0111027192, 0.0210323688, 0.0000164196, -0.0034669, -0.0319706276, 0.0653639436, 0.0468225628, 0.0342937037, 0.0476850271, 0.0497112758, 0.0018048104, -0.0242067445, -0.0077617676, -0.0116190771, -0.0049399459, -0.0374978967, -0.0026256475, -0.0016106575, -0.0151968133, 0.0209628399, 0.0090423469, 0.0228097159, 0.0145002268, -0.0575846434, 0.029647192, 0.0115911104, -0.0022262142, -0.0543653555, -0.006519746, 0.0678009465, 0.0241186749, -0.0559335202, 0.0018323673, -0.0301300753, 0.0067407493, 0.007001868, -0.0547873601, 0.0372599103, 0.0039396938, 0.0435635559, 0.0487200394, -0.0084853256, 0.0472209305, 0.0284994971, -0.0127049731, 0.0811959654, -0.0031601412, -0.0163770281, -0.0120545225, 0.013159804, -0.0143315466, -0.0999898687, -0.0444695763, 0.0332329236, -0.0287884064, 0.033668045, -0.0404196158, 0.0421616733, 0.0200243965, -0.0121715209, 0.0294215083, 0.0491631664, -0.0055637169, 0.0426776931, -0.0110783158, 0.0663020611, -0.0242161248, 0.0273100995, -0.0153924497, 0.0141404914, -0.0533411279, -0.0297120921, 0.0050165015, -0.0011677749, -0.0299763046, -0.0095137209, -0.0343064032, 0.0283849221, -0.0324586555, 0.0068155522, 0.0074850898, 0.0132591324, -0.0015674822, -0.0232111886, -0.0508413203, 0.0046481881, -0.0413841158, 0.0233892426, 0.0497775897, -0.0384239033, -0.0211917702, 0.0276854318, -0.0197511297, -0.0253999997, -0.0286162868, 0.059691336, -0.0007775306, -0.0019642063, -0.0502590351, -0.0517648123, -0.033118289, -0.0600029342, -0.0432823487, -0.0256963111, 0.0081933839, 0.0237212889, -0.0227016173, -0.052375, -0.0045360397, 0.0135702984, -0.0461016521, 0.0591389053, -0.0268211681, 0.0365038291, -0.008515575, -0.0141389789, -0.0418277048, 0.0421168059, 0.0334722847, 0.0263160542, 0.0320001096, -0.0099364398, -0.0033979211, 0.0032899927, 0.0100248354, 0.00361711, -0.0433171764, 0.0276930239, -0.021979969, 0.0504667684, 0.0623912625, 0.0556125902, -0.004083551, 0.0026614219, 0.0830647573, 0.0687693059, 0.0023901283, 0.0128684994, 0.0243083499, 0.0043987669, -0.0051005548, 0.0288662706, -0.069047302, 0.0396733023, -0.0028173591, 0.0124909477, 0.0167846084, 0.0138350436, 0.0052377889, -0.0517179072, -0.0218298677, 0.0185354799, -0.0029693379, 0.0141994683, 0.0303672813, -0.0164857712, -0.0408822857, 0.0343012735, 0.0195057038, -0.0571667328, -0.0226205476, -0.0721284822, 0.0952386633, 0.0814460069, 0.0175687447, 0.0186116397, -0.0100389952, -0.0048410799, 0.0327068977, 0.0267539546, 0.0413095541, -0.0307553504, 0.0101139164, -0.0369430184, -0.0326417461, -0.0308336504, 0.0159095135, 0.0103366151, 0.0091172261, -0.021600306, 0.0022912237, -0.0497340597, -0.059845455, 0.0558236651, -0.0200005565, -0.0185830146, -0.0386311226, 0.0129931569, 0.0451388769, 0.0100637488, 0.0315140374, 0.0334655903, 0.0140095837, -0.0093350625, 0.0068325019, 0.0398563258, -0.0743406415, 0.0095114615, 0.0446222648, 0.01152902, -0.0334618203, -0.0163745936, -0.0192306824, -0.039666336, 0.0117023904, -0.032534577, 0.0252075102, -0.0407271609, 0.0570928492, -0.0227807146, -0.0224365685, -0.0401282273, 0.0720540881, 0.0213136151, -0.0023290357, 0.0599166565, -0.0128959687, 0.0228325147, -0.0544095933, -0.0006651041, 0.0302984975, -0.0031618075, 0.003807981, 0.0296871271, -0.0028328062, -0.0404297113, 0.0011692123, -0.0494714342, -0.0061989287, -0.0302183572, 0.0231990386, 0.027143646, -0.0218147114, 0.0045935181, -0.0030360816, -0.0233785082, -0.021216426, -0.0109224478, 0.0278143212, 0.0597179607, -0.0194371063, 0.0036512162, -0.06048958, 0.0141043756, -0.0254880413, 0.0581848361, 0.0226617791, 0.0312798508, -0.0766610503, -0.0096597085, -0.0336653106, -0.0146871191, -0.0105348844, -0.0219320673, 0.0364948623, 0.0251760483, 0.0224775169, 0.0448443815, 0.0225405712, 0.0354269408, 0.0556395054, 0.0118781747, -0.0856328681, -0.0126999374, -0.0163187534, -0.0030089328, -0.0187674332, -0.0412628315, 0.0154820206, 0.1040391475, -0.0020708442, 0.0083741779, -0.0792364627, 0.0577231795, -0.0169952232, -0.0067049363, -0.0450837985, -0.0557215549, -0.0416034237, 0.0876161903, -0.0264173411, -0.0883166641, 0.0868754685, -0.0457997881, 0.0077663925, 0.0026707035, -0.0162311494, -0.0368586965, 0.0555525199, -0.0394398607, 0.0009459613, 0.0377731659, -0.0001859018, -0.0535789169, -0.0322301686, 0.0528229848, -0.0022692638, 0.0797648281, -0.0674631968, 0.0143968705, 0.0059361123, 0.001632971, -0.0503981225, -0.070399262, -0.0545344278, -0.003184048, -0.0036766508, -0.0209692419, -0.0069872937, 0.0182515103, 0.0291424915, 0.0155432047, -0.0055481913, 0.0013622524, -0.0101081664, -0.0096990056, 0.0451656766, 0.0426376127, 0.023710506, -0.0392979756, 0.0678529218, 0.0203893613, 0.0036113749, 0.0195579398, -0.0445741117, -0.0050554094, 0.0171588082, -0.0110806916, -0.0169376638, 0.0387066975, 0.0972149149, -0.0539562106, 0.0112343617, 0.1133744344, 0.0180686247, -0.0156645402, 0.0118067442, -0.0455738604, 0.0565377623, 0.0266118348, -0.0052573839, -0.0433616936, -0.03681916, 0.02421421, 0.05335024, 0.0018567623, -0.0083651999, -0.010090719, -0.1104066223, 0.0388953872, -0.0075428039, -0.0275507979, 0.0120307459, -0.0554398336, 0.0139722321, -0.0181174632, 0.0240954943, 0.028913239, -0.0007733339, 0.00788025, 0.0342432149, -0.041864004, -0.0345239639, 0.0348301232, -0.0361192524, 0.0512708463, 0.0717571005, 0.0608611628, 0.0375631563, -0.1043186337, 0.0250922982, -0.0076644197, 0.024605209, -0.0055396087, 0.0221980978, 0.0178519208, 0.0054892469, -0.0330173038, 0.0321746431, -0.0233786795, -0.0432113111, 0.0064402493, 0.0823280439, -0.0336814895, -0.038832102, -0.0240179021, 0.0020560529, -0.0061604851, 0.1047688499, 0.0553231761, -0.0299839005, -0.0467160009, -0.0375645161, -0.0166124441, -0.0501649901, -0.0285583716, 0.0068687401, -0.0183150209, -0.0168873463, -0.065909341, -0.024668036, 0.0038477636, 0.0131753981, 0.0231733471, -0.022545943, -0.0130304294, -0.0132990722, -0.0009396338, 0.0646883771, -0.0237198658, 0.0081495233, -0.0607623421, 0.0175135769, -0.0125939278, -0.0484220609, 0.0062671457, 0.0001246655, -0.0347275659, -0.0719273984, -0.0212202091, 0.0288455207, 0.0359586589, 0.0529013053, 0.0024983333, -0.0331187472, 0.0129323835, 0.0052347663, 0.0054269168, -0.0105464766, 0.0216720793, 0.0049865278, -0.0195717309, 0.0465003438, -0.0291194934, -0.023382619, 0.0205240231, 0.0491507277, -0.0330896936, -0.0429745167, 0.0400445834, 0.0193689074, 0.0452269167, -0.0354369245, -0.0414815992, -0.054143507, -0.0131557127, 0.0158326384, -0.013388129, -0.0417322554, 0.0037342226, 0.0231100898, -0.0093487566, -0.0019603097, -0.045542594, -0.0340753831, 0.0208189636, -0.0253305268, 0.0226303041, -0.0050506652, 0.0485447831, 0.0079989517, 0.0112248696, -0.0235341284, 0.0116735017, -0.0439291038, 0.0397703797, 0.0130111557, 0.0731053874, 0.0365908369, 0.0049241758, 0.0194153134, 0.0056603528, -0.0697668046, -0.067968674, 0.0075737527, -0.0279033743, 0.0258249529, -0.0376042947, 0.0748298019, -0.0060467157, -0.0048601967, 0.002234336, 0.07171534, 0.0329077244, -0.0260708854, 0.0096528968, 0.0141625395, -0.069520317, 0.004355757, 0.0472711436, -0.0047966852, 0.0090208566, -0.0238098744, -0.0300319027, -0.0169287249, -0.0360906236, 0.0075444737, 0.0031289512, -0.0199600495, -0.0241481476, -0.0871507749, -0.0418327041, -0.0182512514, 0.019717766, -0.0313073471, -0.0371832736, 0.0194232091, 0.0678024516, -0.0234303158, -0.016446894, -0.0425596982, 0.0024607962, -0.0372030027, 0.0268241428, -0.0663454682, -6.275574957e-33, -0.002857489, -0.0410063043, 0.0040089209, -0.0291098971, -0.0318971239, 0.0095130773, -0.0825688988, 0.0050451648, -0.0286800954, 0.0201394577, -0.0142995641, 0.0001016524, 0.0139826424, -0.0207367446, 0.0527822562, -0.0474632978, 0.031341888, 0.0262991544, -0.0492154919, -0.001831193, 0.0513634235, -0.0096650906, 0.0420329161, -0.0522325449, 0.0977150276, 0.008723774, -0.0197052155, 0.0140263429, -0.0313939489, 0.0559883006, -0.0118902344, 0.0033146609, 0.015957417, -0.0649672225, -0.0127415592, 0.0358776264, -0.0277245268, -0.0132187996, 0.0614330061, -0.026265502, -0.0513284802, -0.0584563315, 0.0435161218, 0.0162109844, -0.0169731155, 0.011309389, 0.0528698042, -0.0171838235, -0.0140386401, 0.0248433854, -0.0776575282, 0.0292417053, -0.0287954956, -0.0264771711, -0.0067837262, 0.0318429805, -0.003312198, 0.0480539463, -0.0370725095, 0.0167958029, 0.0104122385, 0.0044327527, 0.0990803689, 0.0170782972, 0.0009458839, 0.0935544372, -0.0132707357, 0.0099190651, -0.0543527268, -0.0039205723, 0.0115883071, 0.0509263463, 0.0699211583, 0.0230559688, 0.0144692492, 0.0245421231, -0.0404425114, 0.0215036143, 0.0006348321, 0.0304837078, 0.0366253704, 0.0355104208, -0.026135616, -0.0231556203, -0.0303379297, -0.0299647152, -0.0326609612, -0.0182875246, 0.0200271551, -0.025716139, -0.0460475497, -0.0325073414, 0.020425817, -0.0315913968, 0.0029658638, 0.0127892913, -0.0169849414, -0.0163722597, 0.0211831294, 0.0150080407, -0.0559461415, -0.0057749976, -0.0040003597, 0.0267942399, 0.0531254411, 0.0271569807, 0.0198491067, -0.0041602217, -0.0396472774, -0.0097086513, -0.0648841709, -0.0070690569, -0.0431801565, -0.0030882698, 0.0454836413, 0.0082106218, -0.0245867204, 0.033334896, -0.0021560453, 0.0045391838, -0.0299378019, 0.020014748, 0.001316558, 0.011142063, -0.0209840834, -0.0174820609, -0.0192157254, 0.048837319, 0.0313955061, -0.0210788958, -0.0262471698, 0.0286966655, 2.649e-7, 0.0318293795, 0.0269350428, 0.030469723, -0.0211968925, -0.0013900519, 0.0545753017, -0.0174439065, -0.0221034307, 0.002047712, -0.0264267065, 0.0301634986, 0.0035814713, 0.0757744387, 0.0195269119, -0.0769584849, -0.0053112581, -0.0987245739, -0.0173544828, -0.0275680386, 0.0222112108, 0.0593737774, 0.0438801348, 0.0237603653, -0.0043838336, -0.0036037578, -0.0177954528, 0.0290153306, -0.050413359, 0.0116043678, 0.012507976, 0.0627108589, -0.019850513, -0.0100700883, -0.0178817902, -0.0119555108, 0.0103700161, -0.023576295, 0.0619567074, -0.0152682476, -0.0276786089, -0.0631076321, -0.0230246577, 0.0441682823, -0.098019205, 0.0560669154, -0.0215857457, -0.0416306779, -0.0519659445, -0.0029062587, -0.0216959547, -0.0095326519, 0.0058191209, 0.0143237691, 0.0265687387, -0.0071557141, -0.0052902913, -0.0045790006, -0.0734234452, -0.0541554764, -0.0070762769, -0.036645826, -0.0383716002, -0.0362110734, 0.0391694754, 0.0634477958, -0.0606286377, -0.000912609, 2.254782065e-34, 0.0179535709, 0.0166501626, 0.0192600433, 0.0273004975, 0.0539086759, 0.0294962451, 0.0125335073, 0.0131091718, 0.0570510142, -0.044154346, -0.0213516764 ]
http://arxiv.org/abs/2407.00211v1
http://arxiv.org/pdf/2407.00211v1
Detection and Measurement of Syntactic Templates in Generated Text
2024-06-28T19:34:23
2024-06-28T19:34:23
Chantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C. Wallace
cs.CL
cs.CL
Recent work on evaluating the diversity of text generated by LLMs has focused on word-level features. Here we offer an analysis of syntactic features to characterize general repetition in models, beyond frequent n-grams. Specifically, we define syntactic templates and show that models tend to produce templated text in downstream tasks at a higher rate than what is found in human-reference texts. We find that most (76%) templates in model-generated text can be found in pre-training data (compared to only 35% of human-authored text), and are not overwritten during fine-tuning processes such as RLHF. This connection to the pre-training data allows us to analyze syntactic templates in models where we do not have the pre-training data. We also find that templates as features are able to differentiate between models, tasks, and domains, and are useful for qualitatively evaluating common model constructions. Finally, we demonstrate the use of templates as a useful tool for analyzing style memorization of training data in LLMs.
[ 0.0165535565, -0.0205218885, -0.0297202747, 0.0310901422, -0.0350704528, 0.0330142342, -0.0315504074, 0.036266949, -0.0212490447, -0.0656076446, -0.0556980893, -0.0310136639, 0.0040914668, -0.0247991402, 0.0767779276, -0.0381029956, 0.0349339955, -0.0267142374, -0.0297875926, 0.0211367924, 0.0035779984, 0.0173975285, 0.0058931396, 0.0343486108, -0.0118811131, -0.038980037, -0.0261492468, 0.0222490299, 0.0063878652, -0.0119073316, 0.0149325896, 0.0330148563, -0.0001785221, -0.0083030611, 0.0000018957, -0.0490076393, 0.0007839228, -0.0096751694, -0.0122824889, 0.0282672998, 0.0496018268, 0.0434984192, -0.020007709, 0.0142979128, -0.0278903991, -0.0093642026, 0.0156807639, 0.0621685162, 0.0232836455, 0.0759072974, -0.010388514, -0.025730541, 0.0146598592, 0.0164001696, 0.0254491679, 0.0216997154, 0.0080125453, 0.0072621987, 0.0031901689, 0.0072357627, 0.0180801265, 0.0297515523, 0.0060476218, 0.0503128469, 0.0003092265, 0.0084129684, 0.0109084351, 0.0206998475, -0.0121284537, 0.0306014419, 0.0076800231, -0.049449753, 0.0441665761, -0.0213730596, 0.0282053817, 0.0393364951, -0.0607387312, 0.044520013, -0.0411725491, 0.0163965672, 0.0303855669, -0.0418453366, 0.0191925783, -0.0171800926, 0.0337706171, 0.0116697634, 0.0240251478, -0.0249524377, -0.0136394845, 0.0007790755, 0.0203321781, -0.0914480537, -0.0057145357, 0.0267867763, 0.0171743724, 0.0139396694, -0.0599413887, -0.0331794247, 0.0571673624, -0.0339827202, 0.1130226105, 0.0058131083, -0.0220034495, -0.0153124193, -0.0676053613, 0.0651333481, -0.025959054, 0.0152468709, -0.0347341523, 0.0423210487, -0.0776757151, -0.0369975641, -0.0439521521, 0.0347096995, 0.0617358088, -0.0083614206, -0.0190760028, 0.0629294068, 0.0262986887, 0.0158090107, -0.0019388372, -0.0103631858, -0.0216840599, 0.0157284942, -0.0247596595, -0.0492464937, -0.0114964861, 0.0080693113, 0.0195163637, -0.0554601289, 0.0005400716, 0.0414477177, -0.0212669224, -0.0236540549, -0.012994945, 0.0481976382, -0.0209836382, 0.0054326062, -0.0780739859, -0.0623578876, 0.0106216948, -0.0165807921, 0.0430860668, -0.0874739364, -0.0405577645, 0.0342983641, 0.0076453662, -0.0393743701, -0.016636584, 0.0197258703, -0.0238273293, 0.0266237594, 0.006561812, 0.0123125548, 0.0172159672, -0.024319483, 0.0049323076, 0.057108216, 0.0337045528, 0.0524645783, 0.0355294533, 0.0024319806, 0.0275132656, 0.0628901348, -0.0194395091, 0.0094012115, -0.078385748, -0.0279292874, 0.0374826752, 0.0122305816, 0.0468487553, 0.0375636853, -0.0305711795, 0.0126708401, 0.0509214588, 0.0494723022, 0.0684938058, 0.0411915965, 0.0878137052, -0.0042674383, 0.0610910803, 0.0835437775, -0.0319681354, 0.002637615, -0.0435160436, 0.0579175204, -0.0359514616, 0.0035623442, -0.0181758683, -0.0347521901, -0.0536680967, 0.0107896868, -0.0416798294, -0.037251249, 0.0020083797, 0.0395281203, -0.0253012162, 0.0752918497, 0.0031165245, -0.0615796447, -0.0550461374, -0.0265328269, -0.0012293292, 0.0750876442, 0.046959199, -0.0182219241, -0.0215322301, 0.0047360882, -0.0096483966, 0.008440258, 0.0405204631, -0.0043209395, 0.0010542131, -0.0621109493, -0.0158368237, -0.0408387519, 0.0304280501, 0.0160656143, -0.0141020119, -0.0096930731, 0.0154965976, -0.0494839139, -0.050509166, 0.076182574, -0.0522527248, -0.0347431563, -0.0080620926, 0.0131142223, 0.0096070068, 0.0007388615, -0.0347519256, 0.0378936641, 0.0191846099, -0.0306338537, 0.0311109368, 0.0023849912, -0.0374236964, -0.0085793072, 0.0213960689, 0.0019296951, -0.0241026767, -0.0044513973, 0.0175664239, -0.0419316962, -0.0440951139, -0.0653031245, 0.0564095005, -0.0474773534, 0.0285870265, -0.0036895664, -0.0228334609, -0.0570540391, 0.0605030656, 0.0139040174, 0.0122330217, 0.0216118265, -0.0176035278, 0.0425328389, -0.0405759811, 0.0108803641, -0.009224155, -0.0013179452, 0.009602109, 0.0003083957, 0.0127139874, -0.0605187081, -0.0595621951, -0.0732618496, 0.0090847332, -0.0407127179, 0.0494032465, 0.0353977382, -0.0330942571, -0.0450515486, 0.0065166033, -0.0339392871, -0.0153552126, -0.0305757094, 0.0208680294, 0.0538345911, -0.0212965235, -0.0205352586, -0.0321924947, -0.0083843917, -0.0252112802, 0.0576012582, -0.010655784, -0.0071253469, -0.066010572, 0.0808256269, -0.0050119697, -0.0230420344, 0.0158586819, -0.0384024009, 0.051269833, -0.0160125289, 0.0802859291, 0.0718218237, 0.0127862189, 0.0017816032, 0.0597699508, -0.0001935723, -0.0589413531, -0.023343116, 0.0080711721, -0.0021106901, -0.0339003839, -0.0511130467, 0.0285278559, 0.065815255, 0.0253592692, 0.0174906589, -0.0125502748, 0.0025550711, 0.0238859691, -0.0333405249, 0.0064241872, 0.0044474895, -0.048767779, 0.0256127566, 0.0134161189, -0.0711177513, 0.0108101089, -0.0411631353, 0.0042845886, 0.0095422147, -0.0195060279, -0.0269849412, 0.0402853414, 0.0115431836, 0.015220888, 0.0473765358, -0.0363613144, -0.0520320386, -0.0216829367, 0.0515767299, -0.0078252619, 0.0434536785, -0.0383805782, -0.0082207788, 0.0138000166, 0.0120167146, -0.0563061945, 0.0051828064, -0.0205180068, 0.0120542469, 0.0004086519, -0.0151077295, 0.0014186512, -0.0224479102, 0.0377533026, 0.0241055917, -0.0228178594, -0.0280492231, -0.0359246694, 0.0501786694, 0.0302756317, -0.0199713297, 0.0153772887, -0.0621071309, -0.0237299651, 0.0229104981, -0.0042882697, 0.0278195906, -0.0553220585, 0.0010380162, 0.006647727, -0.0579313785, -0.0601339713, 0.0688031986, 0.0460545942, -0.0447310284, -0.0134136127, 0.106919907, 0.0363372415, -0.0327422172, 0.0047843433, -0.0341418087, 0.0906520411, 0.0351124182, 0.0159726609, -0.0560911074, -0.0225010607, 0.0244182516, 0.0044154581, -0.0159910768, 0.0034245555, 0.003319015, -0.0482435115, 0.0257322416, 0.0012455893, -0.0442008115, 0.0349428654, -0.0042496496, -0.0079183923, 0.0190533139, -0.0245170984, 0.010696332, -0.0650311187, 0.0291015264, 0.0500026904, -0.0649426058, -0.0462056138, -0.0446407646, -0.0431761369, 0.0313101783, 0.064419657, 0.0147216851, -0.0126011837, -0.0618047304, 0.0447563343, 0.0010871779, 0.0703579113, -0.022847183, 0.0406574421, 0.022518767, -0.0126480786, -0.0292928647, 0.0167875197, -0.0230569374, -0.0163271446, 0.0115275383, 0.0606321432, -0.0605231188, -0.0003079992, -0.024243623, -0.0230796617, -0.0029798781, 0.0516949259, 0.1075103432, -0.0084931711, -0.0384796895, -0.0669831708, 0.0216654763, -0.0555189662, -0.041988533, 0.006642621, -0.0566900559, 0.0308369957, -0.0998298749, -0.0376898497, 0.0033721568, 0.0292459391, 0.0109787583, 0.0058071762, -0.0134423664, -0.0285599157, -0.0481716208, 0.0026768588, -0.0218679905, 0.036664445, -0.079979904, -0.0523823947, 0.032567136, -0.0228650644, -0.0010693485, 0.0200629029, -0.084613882, -0.047903128, 0.0026758732, 0.061281722, 0.0196102951, 0.0128568606, 0.0282723121, -0.0426225252, 0.0323107615, 0.0420449153, -0.0015797307, 0.0511803478, 0.0404861458, -0.0418462157, 0.0081944112, 0.0224449113, -0.0289840288, -0.011421076, 0.0380175151, 0.0132998331, 0.0014657226, -0.0360400304, 0.0281806141, 0.0401029475, 0.0111247608, -0.0065428736, 0.0173604432, -0.0090569807, -0.0015656536, -0.0137264766, -0.0041078725, -0.0503506698, 0.0401210785, -0.0301398635, 0.0154394694, -0.0003704467, 0.0112619065, -0.0413876735, 0.0988532528, -0.0306732841, 0.0033036985, -0.0356597267, 0.0177233573, -0.0136151817, 0.0162475444, 0.0043997308, 0.0425450392, -0.0306592956, 0.0161091257, 0.018587688, 0.051963333, 0.0232065488, 0.0254631173, -0.0501412638, 0.0464453101, -0.0444934405, -0.0483138449, -0.0113502955, -0.022902647, 0.0614305586, -0.0499209091, 0.0731443688, -0.0553954206, 0.0056123557, -0.0182444677, 0.0358857624, -0.0092376452, 0.0189897697, -0.0035622576, 0.0259112697, -0.0226703063, -0.0678302944, 0.0920044631, 0.0276830755, 0.0304278266, -0.0024755446, -0.0262335874, -0.0258411523, -0.0240070913, 0.0701481849, -0.0225334521, 0.0078869788, -0.0576366149, -0.0505440161, -0.0551453419, 0.0515508279, 0.0192843135, 0.0079990607, -0.0309123322, 0.0428922661, 0.0581153259, -0.021233039, -0.0210709777, -0.0330655761, 0.0116659319, 0.0189673826, -0.0080422452, -0.0297779255, -5.282610266e-33, -0.0306159761, -0.0472819582, 0.0118296063, 0.0095959781, -0.0233135633, 0.0035183546, -0.0233778544, 0.0101705249, 0.0343306139, 0.0111101335, -0.0258106738, -0.0305820219, 0.0079457518, -0.0262785107, 0.0558223724, 0.0168254375, 0.0400912389, -0.0297039319, -0.0396370403, 0.0011794606, 0.0363578275, 0.0181710124, 0.0805843771, -0.043160338, -0.0098690856, -0.0117932269, 0.0055435421, -0.0201957375, -0.014868726, 0.0763917342, -0.007306145, -0.003597768, 0.0290692691, -0.0390711799, -0.0743476152, -0.0125307385, -0.0372123756, -0.0700220093, 0.0241860785, -0.0077774138, -0.0257464275, -0.0698561296, 0.0732831359, -0.0208133105, -0.0274499357, 0.0079592755, 0.0461878181, -0.0429825038, -0.0518404208, -0.0603832565, -0.0280193966, 0.0154410852, 0.0074183596, -0.0077860905, 0.0161852241, 0.0081232004, -0.0238777697, 0.0051927483, -0.0274701267, 0.0176461004, 0.0192578696, 0.034031976, 0.0339416824, 0.0523693785, 0.0187038016, 0.0480442531, 0.0058353026, 0.0421728082, -0.0340644382, 0.0045309095, 0.0342684165, 0.0560949966, 0.0008026081, 0.0135494778, 0.0019886715, 0.0290460642, 0.0036795666, 0.0435506701, -0.0076192063, 0.0410140231, -0.0034685375, 0.0272604302, -0.0274101384, -0.0190218054, -0.0490394123, 0.0215494502, 0.0008437996, -0.023703238, 0.029519977, -0.0262190029, -0.0027651642, -0.0123403808, 0.0170595087, 0.0189559702, -0.0311763268, -0.0152449198, -0.0392493643, 0.0504924282, -0.009566281, -0.0060388544, -0.038172856, -0.0231797062, 0.0222582687, -0.001280685, 0.0466223322, 0.0261523947, 0.0451899767, 0.0305354316, -0.0802421644, 0.0038063808, -0.0165428128, -0.0212769024, 0.0204996858, -0.0031925929, 0.0142540839, -0.0221294519, 0.0090169534, 0.0659727007, -0.010509111, -0.0669827536, -0.0546693876, -0.0055738431, -0.003495401, 0.0478228442, -0.0278848652, -0.0014382341, -0.0496988855, 0.0396282524, 0.0795906335, 0.0059806895, 0.0121859387, 0.0064632953, 2.484e-7, 0.0189493392, 0.0422271639, 0.0334868282, 0.0366145074, 0.0239344724, 0.0467873812, -0.0305207148, 0.027321754, -0.0106680244, -0.0235806648, 0.0219046306, 0.0263730455, 0.0612801909, 0.01891765, -0.069150202, 0.0474069156, -0.0579032414, -0.0033431859, -0.0591806881, -0.0041360883, 0.0193304326, 0.0291203689, -0.0081670433, -0.003379972, 0.0000366722, -0.0237656124, 0.0464116894, -0.0544828363, -0.0050766044, 0.0175790377, 0.0647538975, -0.0153514342, -0.0002831936, 0.0063466225, -0.019891616, -0.0320346765, 0.0111645358, 0.0394835956, 0.0078239543, 0.0219555721, 0.0130167957, -0.0479052141, -0.0037401854, -0.0527611114, 0.0291571189, 0.0046331342, 0.01206268, -0.0523999706, 0.0087996665, -0.008000874, 0.0087872809, 0.0091082845, 0.0158305708, 0.0520427451, -0.0030551823, -0.0094473781, -0.0145136481, -0.0396263041, -0.0374851301, 0.0132649336, -0.0349983238, -0.0350598134, -0.0630608127, 0.0064823437, 0.0100568421, -0.065957807, -0.026598433, 2.486623071e-34, 0.0087736463, -0.0086399876, 0.0376079604, 0.0727461874, 0.0274920054, -0.0055123316, 0.0123414882, 0.0544528216, -0.0081153968, -0.0886287615, -0.0052344371 ]
http://arxiv.org/abs/2407.00191v1
http://arxiv.org/pdf/2407.00191v1
MetaKP: On-Demand Keyphrase Generation
2024-06-28T19:02:59
2024-06-28T19:02:59
Di Wu, Xiaoxian Shen, Kai-Wei Chang
cs.CL
cs.CL
Traditional keyphrase prediction methods predict a single set of keyphrases per document, failing to cater to the diverse needs of users and downstream applications. To bridge the gap, we introduce on-demand keyphrase generation, a novel paradigm that requires keyphrases that conform to specific high-level goals or intents. For this task, we present MetaKP, a large-scale benchmark comprising four datasets, 7500 documents, and 3760 goals across news and biomedical domains with human-annotated keyphrases. Leveraging MetaKP, we design both supervised and unsupervised methods, including a multi-task fine-tuning approach and a self-consistency prompting method with large language models. The results highlight the challenges of supervised fine-tuning, whose performance is not robust to distribution shifts. By contrast, the proposed self-consistency prompting approach greatly improves the performance of large language models, enabling GPT-4o to achieve 0.548 SemF1, surpassing the performance of a fully fine-tuned BART-base model. Finally, we demonstrate the potential of our method to serve as a general NLP infrastructure, exemplified by its application in epidemic event detection from social media.
[ 0.0770724267, 0.0562383868, 0.0000150641, -0.0109810913, -0.0289922487, -0.0220461823, -0.0448260754, 0.0133522367, 0.0356477238, -0.0324729681, 0.0130117778, 0.0256910268, -0.0530293509, 0.0700879097, -0.0002534689, -0.0381243229, 0.0451223552, -0.0083537139, 0.0116928555, -0.0145520167, 0.0186768882, 0.0540165827, 0.0065115788, 0.0643363297, 0.0248377472, -0.0067833024, -0.0136057464, -0.0161072444, 0.0226488058, -0.0402187221, 0.0561108403, 0.0499323942, 0.0376587585, 0.0253669266, 0.0000019734, -0.0510725267, -0.0266280361, -0.0333730541, -0.0003268333, -0.0071186293, 0.0702692494, -0.066868268, 0.0184656419, 0.0072317012, -0.0589617603, 0.0296123195, 0.0456294268, 0.0183996018, 0.0484024547, 0.0591557547, -0.017303437, -0.0358147547, 0.0339383967, -0.0350404158, -0.0068105273, -0.0962065384, 0.040408615, -0.0561959855, -0.0353369005, 0.0370690599, 0.0143884551, 0.0296780821, -0.0412513018, 0.0293287877, 0.0893966034, 0.0192074012, -0.0693256557, -0.039537441, -0.0583934374, 0.0572841913, -0.0332187489, -0.0127628352, 0.0557931848, -0.0338110104, -0.0158731621, 0.0557173975, -0.0569339842, -0.0036703525, -0.0225097612, 0.0184829589, 0.0015674706, -0.0150184119, 0.0275954995, 0.0565880276, 0.0092946794, 0.0196454991, 0.0265329052, -0.0160727445, -0.012243527, 0.0037061528, -0.0816429332, -0.0425300524, 0.0004561119, 0.005111489, -0.0557159036, 0.0284935627, -0.0401946604, -0.0094452482, 0.0798164159, -0.1222721413, -0.0122649195, -0.038817741, 0.0219789129, 0.0482779481, 0.012919968, 0.0000668258, -0.030476924, 0.0050021838, -0.0025762012, 0.002729468, -0.0641227216, 0.0144116823, -0.0067658508, 0.0201592222, 0.0235921536, -0.0240375213, -0.0773982257, 0.0133866025, 0.0373188853, -0.0086141499, 0.0144601557, 0.0265093073, -0.0693466514, -0.0179039799, 0.0187251512, -0.0083679976, -0.0381420329, 0.017239077, -0.0135028232, 0.0130593823, 0.0044606533, -0.0115447808, 0.045245003, -0.0163544528, 0.0247251336, 0.0135290148, -0.0010421547, -0.0197220314, -0.0147723099, -0.0570248142, -0.0519264638, -0.0198661499, 0.0047082957, -0.0651789457, 0.0278011225, 0.0185690355, -0.0093011102, 0.004463383, 0.0090458561, 0.0161410104, -0.0799722522, 0.0594953075, -0.007429231, 0.0062814075, 0.0163955912, 0.0204490107, -0.0091900313, 0.0682259873, 0.010511714, 0.0734604299, 0.0768154189, 0.0059264866, 0.0130971549, 0.0088170199, 0.0476939827, 0.0259181093, 0.0413273536, 0.0022588319, -0.0133197131, 0.0302193705, -0.0247713979, -0.0115976939, 0.0189805105, 0.0252963398, 0.0296754055, 0.0763676092, -0.0172678754, -0.0169516075, 0.013549814, 0.0463498719, -0.0520438813, -0.0197782721, 0.0166433137, -0.0013323607, -0.0201786086, 0.0088963397, 0.0594956838, 0.0625123754, -0.0135870641, 0.0057879114, -0.0376166999, 0.0300666429, -0.0436501466, -0.0387856737, 0.0468090326, 0.0015858917, -0.0446890593, 0.0383352265, -0.0045739249, -0.0368306562, 0.0014654626, -0.0496171489, -0.0195858572, 0.0695977584, 0.0773940757, -0.0083492119, -0.0406657532, -0.0100176614, 0.0503688417, 0.0626966879, -0.0096035758, 0.0016352563, 0.0083019827, -0.0554154031, -0.0349564105, 0.00944959, 0.0262352154, -0.0430410095, 0.0401995815, 0.0260756128, 0.0156545565, -0.0492661186, 0.0049174931, 0.0158395953, -0.0136230234, -0.035490036, -0.0251684766, -0.0156034622, 0.0265878737, 0.0145101761, 0.0276761726, -0.0008548701, 0.0519878156, -0.0307900049, -0.0567200221, -0.0000876863, -0.0061353669, 0.016736798, 0.0181869566, -0.0277336463, 0.0129514663, 0.0085180616, -0.0483849309, -0.0276926551, 0.0342856906, -0.0075836354, 0.0322937779, -0.0448366031, 0.0068031037, -0.006752654, 0.0074078771, -0.010240728, 0.0610042401, 0.007386764, -0.0034129049, -0.0415849313, -0.0566291176, -0.0031046805, 0.0151609965, -0.0081919059, 0.0181184169, 0.0151987905, 0.020763604, 0.0418761298, -0.0051251743, -0.0558505952, -0.0209334642, -0.0947503, 0.0283963811, 0.0114346817, -0.006191418, 0.0219457094, 0.0435206071, -0.0048497748, -0.0210505594, -0.0218419805, -0.0070661064, -0.0026166528, 0.0401232056, 0.0198514573, 0.0314402618, 0.0076943757, -0.018702697, 0.0110313296, -0.0242205132, 0.0264936332, 0.028631581, -0.037052013, 0.013365197, -0.0014876608, -0.005316793, -0.0304673128, 0.0020343792, -0.0239235051, 0.0185345784, -0.0178189017, 0.0596550703, -0.0227689669, 0.0551798679, 0.0019817431, -0.0037767764, -0.0127208577, -0.0526405834, -0.009917181, -0.0582401268, -0.0757279992, 0.0099237738, -0.0225579794, 0.0625092387, 0.0449161157, 0.009860781, -0.0005007759, -0.084035933, 0.0218488015, -0.007253048, 0.0077081355, -0.0618373603, -0.0084510697, -0.02514752, 0.0157302022, -0.0201642253, -0.0240578726, 0.0422570109, 0.0136449188, 0.0398495682, -0.0379675068, 0.0058202669, -0.0202065948, 0.0535422079, -0.0552612022, 0.0248541273, 0.042838417, -0.0049715643, 0.0188532211, -0.0404220633, 0.0172774084, -0.0479513444, 0.0451273806, -0.0339884348, 0.0221564118, 0.0271322001, -0.0346763879, -0.0365210064, -0.0813474059, -0.0374173261, -0.0530976355, 0.0136454152, -0.0272469781, 0.0026112637, 0.0208197404, -0.031130176, 0.0088440143, -0.0078979665, -0.0328162685, 0.0065456103, 0.016872162, 0.0853123069, -0.0410591289, -0.0264470801, -0.0170779675, 0.0126509517, 0.0401356332, 0.0639096051, 0.0151956892, -0.016680792, 0.0181401819, 0.0174218174, -0.028067641, -0.0028567179, -0.0195196643, 0.0585413426, 0.0008739054, -0.0033471023, 0.1088308766, 0.0313923061, -0.0723444447, 0.0025146389, -0.008263628, -0.0059972014, 0.0049284259, 0.0124012241, -0.0372188576, -0.0458186604, -0.0136976279, 0.060874477, 0.0020110731, -0.0525525995, -0.0181222539, -0.042472776, 0.0423737876, 0.0100849252, 0.0189683754, 0.0096996641, -0.0853472352, -0.0037032312, -0.0523231514, -0.0384497344, -0.0293613859, -0.0419555791, 0.0150574604, -0.0191286393, -0.0364801139, -0.0877098739, 0.0421749614, -0.0635740533, 0.0352017172, 0.0595634803, 0.0331198014, -0.0048357393, 0.0031174731, 0.0204107761, 0.0130279772, -0.0189429279, -0.005663699, 0.0413632914, -0.0421929434, 0.0104503278, -0.036026109, 0.0249046013, -0.0669090375, -0.0399150141, 0.0521952696, 0.0653691739, 0.013916282, -0.0245411079, -0.0320981219, 0.0185634736, 0.0215643123, 0.0881706327, -0.0133988801, -0.0106043098, 0.0122283995, 0.0315447152, 0.0304806773, -0.07061515, -0.0434432998, -0.0386713408, -0.0697164237, 0.0170878004, -0.0548113994, -0.0144318677, 0.0291167777, -0.0233549867, -0.0031573903, 0.0390153565, -0.0030795357, -0.0094128484, -0.0601236634, 0.0230600256, -0.0236111637, -0.0372999087, -0.0144406585, -0.0285057742, 0.0421600267, 0.0068612928, -0.0059384718, 0.0575665534, -0.0537316874, -0.042289257, 0.0047588283, 0.0054146233, 0.0176509991, 0.0152704893, -0.0026577865, 0.0004678624, 0.0534380563, 0.087802954, -0.0287684444, -0.0218732152, 0.0180348717, -0.0266630854, -0.0155684724, 0.0485306866, -0.0352046974, 0.0171114691, -0.026485879, 0.0706931055, -0.0267450251, -0.0357785635, -0.0095929969, 0.0141470116, 0.0612590164, -0.0800042525, -0.044497408, -0.0614747033, -0.0551715344, 0.0520063341, -0.007284964, -0.011541063, 0.0327774845, 0.0076955399, -0.0399620421, -0.0271106623, 0.0760926381, -0.071263589, -0.0022446266, -0.0651051849, -0.0264913402, -0.0064360979, 0.0198176391, 0.0286418218, -0.0130953807, -0.0039985301, 0.0026249853, -0.0054805204, -0.0041259122, -0.0189998001, 0.0073476504, 0.0050060516, 0.0065943468, -0.0212287661, 0.0665550604, -0.0615051761, -0.0290376209, -0.0471951626, 0.0176723432, 0.082564041, -0.0067882743, 0.0115839522, -0.0334681906, -0.0243101846, -0.0071155936, 0.0566520542, -0.0107920179, 0.0149934022, -0.0244454779, 0.0160559434, -0.0431401767, 0.0127860121, 0.0796965808, -0.0027698434, 0.0649582893, 0.0440952666, -0.051381059, -0.0155595178, -0.0252334978, 0.0312105175, 0.0364883319, 0.0000330232, 0.0184787307, -0.0238769818, -0.0192995239, 0.0682422146, -0.0419001766, -0.0183734763, 0.0079448, 0.0417729542, 0.0847905576, 0.0071096458, -0.0041014762, -0.0658465326, 0.0295569971, -0.0500917546, -0.0269333608, 0.0217195563, -7.123346625e-33, 0.0303174555, -0.0192504339, 0.015456304, 0.0005770177, 0.0103555126, 0.0253879931, -0.0183458924, -0.0473608337, 0.0184151977, -0.0054888511, -0.0352652855, 0.0189952403, 0.0087160626, -0.0065566227, 0.0551391467, -0.0081576603, 0.0372366421, 0.0144440262, -0.0341170654, 0.0437465012, 0.0331084728, 0.0411668271, 0.0602951795, -0.0299056154, 0.027407147, -0.0455779172, -0.0226215292, -0.0130915465, 0.0326268934, 0.0520088784, -0.0286113601, 0.07466086, 0.0376427658, -0.0558912903, -0.0037901259, 0.0104113994, -0.0146214338, -0.026762506, 0.0096745715, -0.0466457009, -0.0347823501, -0.0191567559, 0.0084479535, -0.0136494823, -0.0224780031, 0.0178060103, 0.0377575681, -0.0123630827, -0.0170026049, -0.0138025898, -0.0257377364, 0.0180062596, 0.0175592471, -0.0164592396, -0.001633801, -0.0034170772, 0.0009413681, 0.045079533, -0.0122965621, 0.0445839465, 0.0222006403, 0.0235410035, 0.032115493, 0.0353822, -0.0088897962, 0.0576833002, -0.0380991176, -0.0169212092, 0.0064208149, 0.0257291179, -0.0034190533, 0.057877142, 0.0298263878, 0.0788878798, 0.0450330041, 0.0077269427, -0.0269480608, 0.0738353953, -0.001951593, -0.0112637971, 0.026052054, 0.0113291312, -0.0371216461, 0.0018612959, -0.0246711373, 0.0383540541, -0.0283166803, -0.0138336113, 0.0078720171, 0.0361001417, -0.038945742, 0.0698485896, -0.0085716117, -0.0041551823, -0.000281655, 0.0193481147, 0.0268936865, -0.0247815289, -0.005087737, 0.0508837439, -0.0556120463, 0.00497927, 0.0276342928, 0.0256176963, 0.0050662854, -0.0010252107, 0.0044738711, -0.0019650334, -0.0351539254, -0.0008841942, -0.0067468565, 0.010355074, -0.0422871821, -0.014877812, 0.0180998351, 0.0184008349, -0.0066283313, 0.0502978973, 0.037810035, 0.0196510777, 0.0248104893, -0.0119859092, 0.0007403558, 0.0350423716, 0.0072244266, 0.0234501939, -0.0344089903, -0.0207074787, -0.0201681033, -0.0601318143, -0.0381342657, -0.0324715935, 2.843e-7, 0.0277509764, 0.061731901, 0.0152420839, 0.0200908687, -0.0207856055, 0.0393471196, -0.0011431427, 0.0452995263, -0.0632680133, -0.0549778566, 0.0211585648, 0.0673555881, 0.0086337132, 0.0200145505, -0.0866483673, 0.0155469161, -0.0830250159, 0.0578467548, -0.0745662749, -0.0167154409, 0.0329840183, 0.0205867905, 0.0279874057, -0.0303528532, 0.0077189561, -0.0145884287, 0.0525240637, -0.0273835696, -0.0433972776, 0.0325707234, -0.0356856212, 0.0540598407, -0.0251138806, 0.0351850018, -0.032321509, -0.0489213727, 0.0201405399, 0.0413906425, -0.0008332686, -0.022393683, 0.0014192021, -0.0133436266, 0.0191172827, -0.0274119861, 0.074549824, -0.0434572063, -0.0171206631, -0.0327171423, -0.027022237, 0.0301337391, -0.0048053288, -0.0613949373, -0.0574578419, 0.0108861811, -0.0107100485, 0.0377943814, -0.0513828434, -0.065688923, 0.0501302555, 0.0157064274, -0.0303646941, -0.0161156915, -0.0469637811, 0.0010554952, -0.0015374838, -0.1080187336, 0.043860998, 2.244478123e-34, 0.0379876047, 0.0260079298, -0.0085483519, -0.0128095048, -0.0065120836, -0.0165001489, -0.0438591242, 0.0053213695, 0.0226935577, -0.0126961563, -0.0033524688 ]
http://arxiv.org/abs/2407.00167v1
http://arxiv.org/pdf/2407.00167v1
Can GPT-4 Help Detect Quit Vaping Intentions? An Exploration of Automatic Data Annotation Approach
2024-06-28T18:06:48
2024-06-28T18:06:48
Sai Krishna Revanth Vuruma, Dezhi Wu, Saborny Sen Gupta, Lucas Aust, Valerie Lookingbill, Wyatt Bellamy, Yang Ren, Erin Kasson, Li-Shiun Chen, Patricia Cavazos-Rehg, Dian Hu, Ming Huang
cs.CL
cs.CL, cs.AI, cs.ET, cs.HC, cs.SI
In recent years, the United States has witnessed a significant surge in the popularity of vaping or e-cigarette use, leading to a notable rise in cases of e-cigarette and vaping use-associated lung injury (EVALI) that caused hospitalizations and fatalities during the EVALI outbreak in 2019, highlighting the urgency to comprehend vaping behaviors and develop effective strategies for cessation. Due to the ubiquity of social media platforms, over 4.7 billion users worldwide use them for connectivity, communications, news, and entertainment with a significant portion of the discourse related to health, thereby establishing social media data as an invaluable organic data resource for public health research. In this study, we extracted a sample dataset from one vaping sub-community on Reddit to analyze users' quit-vaping intentions. Leveraging OpenAI's latest large language model GPT-4 for sentence-level quit vaping intention detection, this study compares the outcomes of this model against layman and clinical expert annotations. Using different prompting strategies such as zero-shot, one-shot, few-shot and chain-of-thought prompting, we developed 8 prompts with varying levels of detail to explain the task to GPT-4 and also evaluated the performance of the strategies against each other. These preliminary findings emphasize the potential of GPT-4 in social media data analysis, especially in identifying users' subtle intentions that may elude human detection.
[ 0.0578170605, 0.0708770454, -0.0067694476, -0.0525528379, 0.0148157952, 0.0400002934, 0.0117770266, 0.0125035662, 0.0176413525, -0.0468889475, 0.0134720281, 0.0216694027, -0.0187144801, 0.0212176815, -0.0046325536, -0.032668557, 0.0164853744, 0.0393442623, 0.0842001215, 0.0334615819, 0.0514999628, 0.019341616, 0.0013135213, 0.0536930487, -0.0015196436, -0.0358161591, 0.0048696003, -0.0260107741, 0.0442542993, -0.0902229771, 0.0434303842, 0.0653677061, 0.0110206753, 0.0743954405, 0.0000019814, -0.0393988229, -0.0171286017, -0.0009320931, -0.0486227982, -0.0234233998, 0.054400418, -0.0254370309, 0.0080460981, 0.0244072266, -0.0808040351, -0.0108913127, 0.0966109484, 0.0308965053, 0.054766275, 0.0662842467, -0.0557384379, -0.0262497179, 0.0068471273, -0.0191241596, 0.0343484953, 0.0195889845, 0.0356982611, -0.0370254554, -0.0256114174, -0.0242419224, 0.0104689728, 0.0327913277, -0.0395466909, 0.0395564362, -0.0076930448, 0.0427714176, -0.0377609544, -0.0436292887, -0.0174546298, 0.0535675026, 0.0210800376, 0.0008020006, 0.0194834024, -0.019311972, -0.0172312092, 0.0437621698, -0.0565897822, -0.0322875232, -0.0083305156, 0.0371516235, 0.004479121, 0.038631916, 0.0207980666, -0.0052662729, 0.0276590008, 0.0234836601, -0.0108067701, -0.0287753865, 0.045993343, 0.0192780178, -0.0079801558, -0.0576892048, -0.0006546111, -0.0249374826, -0.0518255644, 0.0289394613, 0.0097552752, 0.0141339572, 0.0757606104, -0.0348881371, 0.0306573138, 0.0146256424, -0.0023441769, 0.0198553018, 0.0215930827, -0.0368375741, -0.0041363933, 0.012481248, -0.0213568229, 0.0326208398, -0.0644464865, -0.0172241181, -0.0463330895, -0.0436782464, 0.0149813974, -0.0289541613, -0.0796435848, -0.0064516854, -0.0351834521, -0.0343695469, -0.0099298917, -0.000162884, -0.0265272558, 0.0288108271, -0.0211358238, 0.0766619593, -0.0297925323, 0.0462279022, 0.0172160361, -0.009388552, 0.0231753457, 0.0225928612, 0.0285850074, -0.0369895287, -0.0133983837, -0.0065189563, 0.0372330844, -0.0182704292, -0.043225769, -0.0225559473, -0.0313288458, -0.0354365222, 0.0155082941, -0.0298907999, 0.0155851617, -0.0147458762, 0.0178442728, -0.0268894266, 0.0095405858, 0.0180904772, -0.0156289972, 0.0676487312, -0.0574245416, 0.0239809286, 0.0284721665, 0.0104351901, 0.0086838678, 0.0221672952, 0.0206610691, 0.0056181471, 0.0090865754, -0.0323364511, 0.0303740855, 0.0107625555, 0.0290993061, -0.0234415233, 0.0269779451, -0.0175538324, -0.046473138, 0.0140874926, -0.0442679264, 0.0559833795, -0.0106903082, 0.0633183867, 0.0884923041, 0.0600894615, -0.0213212315, -0.0364608504, 0.0202450659, 0.0317859352, -0.0337152928, 0.0015716213, -0.0220278874, 0.0007688648, -0.0040584374, -0.0147434268, 0.0249750298, -0.0105030956, -0.0009413198, -0.0425823703, -0.0363008045, -0.0119999927, 0.0397880189, -0.0222179312, -0.000900762, -0.0271629859, -0.0383441076, -0.019435918, 0.0079471963, -0.0262842085, -0.0541180968, -0.056870576, 0.0516671799, 0.0532967597, 0.0052866903, 0.0204662364, -0.0375558622, -0.0604865961, 0.0272498075, -0.0131218396, 0.0036625634, -0.0317608304, -0.0311087016, -0.0223521907, -0.0392644443, -0.0159599818, 0.0028223635, -0.0415294096, 0.0102998568, 0.0028062265, 0.0038462961, -0.0041775056, 0.0231139809, 0.0324055851, -0.0031241244, -0.0378062017, -0.0426236056, 0.0458335355, 0.062827453, 0.0091359401, 0.0438641682, -0.0028042258, 0.0303628221, -0.0140455561, -0.0265559163, 0.0251784902, 0.0499473512, 0.0262996331, 0.0173764303, -0.0250011068, -0.0167874936, 0.0311456472, -0.0395425707, -0.0453888215, -0.0549987555, -0.0285684243, 0.027141111, -0.040693745, -0.0755424127, 0.0154663557, 0.035539683, 0.0040013059, 0.0495725311, 0.012650297, -0.0431000739, 0.0234996788, -0.0739988685, 0.0123929912, -0.0189620592, -0.0457413383, -0.0369111449, -0.0178560466, -0.0005191168, 0.0444683284, 0.0192367807, -0.0766280368, 0.0268716589, -0.1431273669, -0.0091955792, -0.0193765238, -0.0004429687, 0.0083110668, 0.0277642645, -0.022944076, -0.0389910117, -0.0078818044, 0.0108025447, 0.0138489725, 0.0465303101, 0.0258393865, 0.004239663, 0.001358666, 0.0087757101, 0.0209123921, -0.0500785336, 0.0075118924, 0.0328812115, -0.0958215445, 0.0136601208, -0.0100854468, -0.0256091133, -0.0223656073, 0.0192254633, -0.0154557321, 0.0342120603, 0.0032657015, 0.0515495874, 0.050823424, 0.0160384905, 0.0262145996, 0.0389483646, 0.0163582284, -0.0401703604, 0.0231500324, -0.0445818081, -0.0258969609, 0.0055775316, -0.0511165485, -0.0000921326, 0.0414159782, 0.0272153262, 0.0260706488, -0.0370724015, 0.0516630597, -0.0294649284, -0.0003385322, -0.0187508818, -0.0083214836, -0.0501903221, 0.0543326288, 0.0098014204, -0.0886675492, 0.0350301899, 0.018468732, 0.0115033742, -0.0178700015, -0.0138179911, 0.0143161304, 0.0459625199, 0.0200730283, -0.0016076883, 0.0608730353, 0.0195312556, 0.0347700529, 0.0092314165, -0.0223040972, -0.014626123, 0.0112050045, -0.0357639976, 0.031627465, 0.028583413, -0.0331541002, -0.0210595634, -0.0813706964, -0.0866156444, -0.0215830654, -0.0031457213, 0.0003476936, 0.0001802309, 0.017898513, -0.0153190335, 0.0348405764, 0.0078766076, -0.0324410088, 0.0079732239, 0.0327251777, 0.0950523466, -0.0364668109, -0.0038256957, 0.0288046226, 0.0337761156, 0.062574707, -0.0398731604, 0.0254711211, -0.024334712, 0.0139989918, -0.0053062802, 0.0026780888, 0.0042120246, 0.0298432633, 0.0597002432, -0.0187846981, -0.0030806118, 0.0922096372, 0.0216948371, -0.0247084256, 0.0187108498, 0.0044303308, -0.0121456757, -0.0112087261, 0.014567635, -0.1360614449, -0.0351208076, -0.0314784124, 0.0428612046, -0.0643812269, 0.0248897262, 0.0181560945, -0.0480798744, 0.0750693381, -0.0065220199, -0.0408047251, 0.0715067983, -0.0598708875, 0.0210258868, -0.0755132511, 0.0206387918, -0.0822475404, 0.0233223531, 0.0065524979, 0.0367629491, -0.0522542894, -0.0669172481, 0.0182323977, 0.0035705788, 0.0788844079, 0.035582304, 0.0544036105, 0.0014935379, -0.0442449488, 0.0185901634, 0.0414940268, 0.0004050467, -0.01226159, 0.0935218409, 0.0039994926, 0.0286601726, -0.0702129006, 0.0785088465, -0.0550256856, -0.0635091066, -0.0014279711, 0.1056014672, -0.020158587, -0.0750896409, -0.0226690751, 0.0466849394, 0.0439873226, 0.0583287776, 0.0347507186, -0.0270579383, -0.013123123, -0.014332531, 0.041860722, -0.0112249302, -0.0290898327, -0.0477339029, 0.0235180277, -0.0489994846, -0.0213801824, -0.0589578971, 0.0139966644, -0.0337179042, 0.00518151, 0.0386008695, 0.0063854069, 0.0210361108, -0.0024912204, 0.0451866686, 0.0277049839, 0.0306594335, -0.0333915614, -0.0214349367, 0.0135279093, 0.0294944346, -0.00863137, 0.0554426946, -0.0680736452, -0.0179138668, 0.0461113043, 0.054061871, 0.0288915988, 0.0210060123, 0.0042733792, -0.0374523215, 0.0049701491, 0.0208352767, -0.001774991, -0.0252960771, 0.00749774, 0.0369910263, 0.0063619697, 0.0190563649, 0.0256161764, 0.0092748599, -0.010033045, 0.0158790927, -0.0887740031, 0.037635196, 0.0444656946, 0.0024651494, 0.0588352196, -0.0420690402, 0.0323768482, -0.0519809499, -0.0264867581, 0.0431114547, -0.0040350258, -0.0245009754, -0.0125541706, 0.022122873, -0.022054771, -0.0687604696, -0.0124290325, -0.0524341539, -0.0253885649, -0.092799224, 0.0052793506, 0.0431142263, 0.0611636601, -0.0031448791, -0.0235487297, 0.0065500853, 0.0162726305, 0.0053122928, 0.0134772528, -0.0011398611, 0.0725869387, -0.0117634302, -0.024998771, 0.0320018344, 0.054631725, -0.0257727634, -0.0194823928, 0.0039238012, 0.033393845, 0.0100393575, -0.0455712415, 0.0526248813, -0.0252099261, -0.0262219924, -0.0084564332, 0.0555535592, -0.0299286637, -0.0190198049, 0.0089012953, -0.0195764229, -0.0468764231, -0.0288844574, 0.0440999418, -0.0345778987, 0.0231513511, 0.0092295809, -0.0560729355, -0.0391448922, 0.0132879196, -0.0209592134, 0.0578725748, -0.0471655764, -0.0069533912, -0.0613156743, -0.0471600555, 0.003208572, -0.0077467705, 0.0003523491, 0.0007434774, 0.012721654, 0.024218943, -0.0265851729, -0.0419013761, -0.0272259545, 0.019012399, -0.034880992, 0.0126635842, -0.0510468073, -5.964485519e-33, 0.003838361, -0.0486027598, 0.0074326596, 0.0107158823, -0.0173928682, 0.0115757231, -0.0357572809, 0.0140760578, 0.0170419216, 0.0511039905, -0.0039937729, 0.0019340607, 0.0222144779, -0.0224439334, 0.0732915625, -0.0534591712, 0.0185592957, -0.0101707196, -0.0402937979, 0.041100841, 0.054157719, 0.0396858379, 0.0355105363, -0.0662746206, 0.0675766468, 0.0208527576, -0.0098303398, -0.0090973433, -0.0434672497, 0.0492203608, -0.0406695567, 0.0543560795, 0.052056063, -0.0008079149, 0.0052327202, 0.0871947333, -0.0253289398, -0.0367815122, 0.0253743231, -0.0444360711, -0.0616059192, -0.0217477977, 0.0167343765, 0.0019416565, 0.0095057907, 0.0287317, 0.0538667738, -0.01760149, 0.0194844697, 0.0040033623, -0.0511730164, -0.0004813118, -0.0131767355, -0.0157583449, -0.0056553232, 0.0691817403, -0.0256098118, 0.0362200662, -0.0764140189, 0.0424200818, -0.0003378875, -0.0037779857, 0.005549117, 0.0072154012, -0.0058369068, 0.0450429916, 0.0082960334, -0.0238505565, -0.0472108349, -0.0116198128, -0.0153505635, 0.0188816376, 0.0146402912, -0.0116738221, 0.0326809473, -0.0005885892, -0.0459243022, 0.0235326327, -0.0030982152, 0.0050051478, 0.0092422497, -0.0196365099, -0.0282222591, -0.0377762243, 0.0015633191, -0.0447713137, -0.0193671621, -0.0246612914, 0.0158909522, -0.0119714988, 0.0166605636, 0.0265030041, -0.003767234, -0.0321484692, 0.0001114089, -0.0117075955, 0.0270559937, 0.0115526132, -0.0149243902, -0.0101442132, -0.0485984571, 0.0357312411, -0.0234931558, 0.0324479118, 0.0532927215, -0.0263201408, 0.0563140102, 0.0051417584, -0.0058373073, -0.0280250702, -0.0047087613, 0.0052918191, -0.0220149811, -0.0166073795, 0.0323472805, 0.0612855293, 0.0155878523, 0.0567130186, 0.0163298436, 0.0050472603, -0.0298648868, -0.056027323, -0.0228656307, -0.0391545594, -0.011341474, 0.0091747604, -0.0139397401, 0.0112781869, 0.0109764123, -0.0654547065, 0.0141961332, -0.0118772751, 2.66e-7, 0.0863387808, 0.0299162809, -0.0049487748, -0.0137827452, -0.0229589641, 0.0006252904, 0.0057534967, 0.001133095, 0.0115245953, 0.0118061537, 0.067543596, -0.0119111324, 0.0227550752, 0.0379248783, -0.0609894916, -0.0067003923, -0.0686050951, -0.0004940646, -0.0720958635, 0.0411904268, 0.0597211719, 0.053970553, 0.0054665236, -0.0327980369, 0.0121667031, 0.0449915119, 0.0315962471, -0.0708951205, 0.0177355781, -0.0010020371, 0.0241822284, -0.0591700226, -0.0117954565, 0.0079490272, -0.0158641022, -0.0146894595, -0.0020384877, 0.0721392408, -0.0066952948, -0.0097792847, -0.010835235, 0.0001499292, 0.0207041632, -0.0301571917, 0.0634065941, -0.0902621821, -0.0441504903, 0.0023310876, -0.0069865952, -0.0221922603, 0.0564481877, -0.0341800377, -0.0396604836, -0.0027525106, -0.0126054361, 0.0229080692, -0.0168128107, -0.0187078547, -0.0024826801, -0.021962557, -0.0369547419, -0.0184556916, -0.0189395323, -0.0216550995, -0.0285419151, -0.0363022983, 0.0105165523, 1.786442731e-34, -0.0133490684, 0.0082432777, -0.0008044587, -0.0404525176, 0.0311869513, 0.0105738034, 0.0336900912, 0.0177519694, 0.0081388792, -0.0739793479, -0.017654784 ]
http://arxiv.org/abs/2406.20098v1
http://arxiv.org/pdf/2406.20098v1
Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMs
2024-06-28T17:59:46
2024-06-28T17:59:46
Sukmin Yun, Haokun Lin, Rusiru Thushara, Mohammad Qazim Bhat, Yongxin Wang, Zutao Jiang, Mingkai Deng, Jinhong Wang, Tianhua Tao, Junbo Li, Haonan Li, Preslav Nakov, Timothy Baldwin, Zhengzhong Liu, Eric P. Xing, Xiaodan Liang, Zhiqiang Shen
cs.CV
cs.CV, cs.AI, cs.CL
Multimodal large language models (MLLMs) have shown impressive success across modalities such as image, video, and audio in a variety of understanding and generation tasks. However, current MLLMs are surprisingly poor at understanding webpage screenshots and generating their corresponding HTML code. To address this problem, we propose Web2Code, a benchmark consisting of a new large-scale webpage-to-code dataset for instruction tuning and an evaluation framework for the webpage understanding and HTML code translation abilities of MLLMs. For dataset construction, we leverage pretrained LLMs to enhance existing webpage-to-code datasets as well as generate a diverse pool of new webpages rendered into images. Specifically, the inputs are webpage images and instructions, while the responses are the webpage's HTML code. We further include diverse natural language QA pairs about the webpage content in the responses to enable a more comprehensive understanding of the web content. To evaluate model performance in these tasks, we develop an evaluation framework for testing MLLMs' abilities in webpage understanding and web-to-code generation. Extensive experiments show that our proposed dataset is beneficial not only to our proposed tasks but also in the general visual domain, while previous datasets result in worse performance. We hope our work will contribute to the development of general MLLMs suitable for web-based content generation and task automation. Our data and code will be available at https://github.com/MBZUAI-LLM/web2code.
[ 0.0037844288, 0.06467776, 0.0098513663, 0.0371963196, -0.0038021314, 0.0438879468, 0.0177648254, 0.0053312457, 0.014355775, -0.0513300784, -0.0563260242, -0.0336837359, -0.0091236429, 0.0330938287, 0.0535255633, -0.0337887295, -0.0099678896, -0.0399961732, -0.0515163355, 0.0267924666, 0.007138086, 0.032286834, -0.0190088078, 0.030013511, -0.0062728864, -0.035457857, -0.016828768, 0.0684859753, 0.0331360027, -0.0496073812, 0.0075251008, 0.0227467045, 0.0612778515, -0.0202020798, 0.0000017668, -0.0156962071, 0.0101018697, -0.0192673784, 0.0097501157, -0.003906535, 0.0176518913, -0.0275415797, -0.0263179075, 0.0206635408, -0.0561501235, 0.0295480769, 0.0533599071, 0.0133410366, 0.0948687047, 0.1018520147, -0.0120693296, -0.0079758354, 0.010890346, -0.005831724, 0.0528025478, -0.022056764, -0.0040445374, 0.0259462148, 0.0033219093, -0.0021035867, -0.0186604392, 0.0215070751, 0.0153572205, -0.0336454324, -0.0118232705, 0.0416712724, 0.0119421547, -0.0610353611, -0.0280043259, 0.0933722183, -0.043114379, 0.0116765751, 0.0031697359, 0.0079754256, -0.0031188298, -0.0201804899, -0.0691983178, 0.0605733283, -0.0197712798, 0.0219133291, -0.0504704341, -0.0379005335, 0.0117355203, 0.0009340719, -0.0196369924, -0.0109679485, 0.0156809092, -0.0073038829, -0.041555468, 0.0220829602, 0.0212312825, -0.0499372408, 0.0203622002, 0.0726211593, 0.0132419514, 0.0254204068, -0.0536105372, -0.0317588933, -0.0078461422, -0.036285717, 0.0711648762, 0.020783864, -0.055595208, 0.0410739854, -0.0753954053, 0.048768349, -0.0064647058, 0.0121757146, -0.027945416, 0.0330740251, -0.0576567836, 0.0200339686, -0.0176380649, 0.0057657156, -0.0336521752, -0.0127944788, -0.0133005083, 0.0707537979, 0.004301283, 0.0680454299, -0.001116849, -0.0114489319, -0.0527464896, 0.0084005315, 0.0086470172, 0.0133202607, 0.0009007797, -0.0008374368, 0.0199982915, -0.0973583385, -0.0062489165, 0.0441051647, 0.0252918378, -0.0191908684, 0.0010688623, 0.1043677777, -0.0330216959, -0.0027616946, -0.0490104742, -0.0203475691, -0.018990567, -0.0170056503, 0.0473729819, -0.0720470846, 0.0413867943, 0.0046121343, -0.0011380119, -0.0405988172, 0.0075043966, 0.0119018927, 0.0284099877, 0.0654282644, -0.0320624411, 0.0030829613, 0.0212275553, 0.0170008708, -0.0246612169, 0.0629137903, 0.0428072736, 0.0718336478, 0.0309940986, -0.0186760277, 0.0057372502, 0.0545553975, 0.0125386007, 0.0177157689, -0.0051022884, 0.0290223416, 0.037595395, 0.0217361301, 0.069342725, 0.0120266685, -0.0254364181, 0.0140270665, 0.0840077251, -0.0014687362, 0.0011278096, 0.0224276315, 0.0727838948, 0.0298563205, 0.0171784125, 0.0026193394, -0.0503307842, 0.0599915236, -0.0189114306, 0.0271028075, 0.0075614625, 0.0402605571, -0.0332804397, -0.0371622406, -0.0045419894, -0.0273985006, 0.0115222437, 0.0125089269, 0.0376802497, 0.0170724727, -0.0689456612, 0.0142072672, -0.0067824465, -0.0619363412, 0.0319155604, -0.0523698516, 0.0117145814, 0.0824643448, 0.0111343097, -0.0130609516, -0.0616854243, -0.0210526437, 0.0249518715, 0.0369350612, 0.0137226824, -0.0151794143, 0.0183947179, -0.0453011468, -0.0485430025, -0.0653717145, -0.0259820875, 0.0091614332, 0.0248051956, -0.0120912073, 0.0320815556, -0.0112307575, -0.0194060951, 0.0513625629, 0.0141271949, -0.0023038345, -0.0289586391, -0.0113126114, 0.0187984724, -0.0186450575, -0.0326134041, -0.0066342112, -0.0008606874, -0.0353928804, 0.0057123168, -0.0229611229, -0.0225146282, -0.0545347929, 0.0360318273, -0.0672733039, -0.0141093815, 0.038543731, -0.0733383447, -0.0014664939, 0.0086963875, -0.0270517506, -0.0049901251, -0.0255848058, -0.0110071478, 0.0446459092, 0.0242510308, -0.0151172401, 0.031994354, 0.011849192, -0.0251780674, 0.01430408, 0.0189345162, -0.0277714022, -0.0109469257, -0.0045907679, -0.0051080734, -0.0312475264, 0.0220372137, 0.000789256, 0.0655213594, -0.0816982836, -0.034199547, -0.1010591686, 0.0085144024, -0.0084279953, 0.0188263748, 0.0370075144, 0.0196855757, 0.0021499621, -0.0305534378, -0.0539095029, 0.0140629401, -0.0121396556, 0.0182327535, 0.0287228581, -0.0096606091, -0.0065937126, -0.0426459946, -0.0134547725, 0.0113985213, 0.0434031375, 0.0050943824, 0.0000123852, -0.0557546914, 0.0480250418, -0.0314595327, -0.0048591397, -0.0163524933, -0.0440262035, 0.0334018804, -0.0382428952, 0.0395746604, 0.0907139555, 0.0256504733, 0.0392777063, 0.0268737134, -0.0088318009, -0.0467497036, 0.0088121295, 0.0173899923, -0.0563263483, -0.0468556844, -0.0440349691, 0.0148111852, 0.0725588053, 0.0078036198, 0.0175044984, -0.0290978234, 0.0187466256, -0.0013140067, -0.0105058476, -0.0159920678, 0.0257152878, 0.002131481, 0.055804871, -0.0484026484, -0.0785584152, 0.0298548825, -0.0476660766, -0.0198119264, 0.0235118996, 0.0157559682, -0.0273760892, 0.0380669646, 0.0032614027, 0.044565361, -0.0300311372, -0.0116504878, -0.0503499545, 0.0179223157, 0.0100718457, -0.0298377126, 0.0541766211, -0.0610639229, 0.0088221077, -0.0575446822, -0.0331136324, -0.0365112163, 0.0302072633, 0.0079442235, -0.0317744203, -0.0119360071, -0.0094158435, 0.0170297287, 0.0086313486, 0.0114879273, 0.0293020718, -0.003208118, -0.0307233427, -0.0285118986, 0.0221997071, 0.0316942707, 0.0122760721, -0.0267045237, -0.053402178, 0.0141875613, 0.0315737016, 0.0182397477, 0.0086491378, -0.0719439387, 0.0407192707, 0.0208906028, 0.0023592045, -0.0075254338, 0.0508204624, 0.0693003163, -0.068426609, -0.0103321047, 0.0996523276, 0.017384991, -0.0421953686, -0.0253216419, 0.0026134814, 0.0069154929, 0.0383050255, 0.0073893159, -0.0873808041, -0.0346983224, -0.0091516143, 0.0119358357, 0.0426002592, -0.0013784691, -0.001517833, -0.0685875639, 0.0453145616, 0.0198810082, 0.0037428306, -0.0357198603, -0.0202650037, 0.002203404, 0.0169558395, -0.0005158327, 0.024316946, -0.0286488365, -0.0091235982, 0.0088712936, 0.0049345889, -0.0535961911, -0.0034127024, -0.0189415086, 0.0128176073, 0.0727498531, 0.0283335112, 0.0320337638, -0.0227424968, 0.0319339186, -0.0059727528, -0.0006715928, -0.0349628553, 0.0460750982, -0.0083125122, -0.0264226943, 0.0207866076, 0.0380556919, -0.0436096117, -0.0008477335, 0.0180160869, 0.0308384411, -0.0366323069, -0.0155477803, -0.0393525064, -0.0042032921, -0.0115927774, 0.0533350855, 0.0604323037, -0.0339441225, -0.0585517362, -0.0365117677, -0.0224383734, -0.082813181, 0.0175678805, 0.010283988, -0.0057299612, 0.0137987752, -0.0893298835, -0.0241346899, 0.0296858884, 0.0322063789, -0.0019769687, -0.0512232184, 0.0024649168, 0.0228511468, -0.0726093948, 0.0288293324, -0.031934265, 0.0072941128, -0.0499078967, -0.029414054, 0.0407850817, -0.0803769827, 0.0002164098, 0.024263937, -0.120668076, -0.0177055001, -0.0559404381, 0.0443229824, 0.014563377, 0.0634265915, 0.0166687667, -0.022777589, -0.0147034423, -0.004875164, -0.041497197, -0.0150657361, 0.0285898224, 0.0571517348, 0.003498594, 0.002994149, -0.0774265602, 0.0252010338, -0.0002632748, 0.026104439, 0.0125936614, -0.022632692, 0.0318011083, 0.0013684329, -0.0273003932, -0.0168099646, -0.0073399181, -0.0016241197, 0.0150564965, 0.0013363528, -0.0147381006, -0.0721395016, 0.0091663431, 0.0405878387, -0.0031395936, 0.0157787725, -0.0029732157, 0.0254748501, 0.0330627002, -0.0354800113, 0.0376545526, 0.0091794105, -0.0016191642, 0.0436329618, 0.0097709307, -0.0065887324, 0.0232656263, -0.0085666953, 0.0131371478, -0.0035790817, 0.0549315587, 0.0194173921, -0.00186271, 0.0107035814, 0.0562189221, -0.012211469, -0.0454331487, -0.0456973054, 0.006370876, 0.0618322752, 0.0410891287, 0.0712174624, 0.0022398694, 0.0052561914, -0.023318978, 0.0598920062, -0.0163565706, -0.037846256, 0.0367436409, 0.0045522405, 0.0244360659, -0.0260906462, 0.090100497, 0.0026981127, 0.0159868561, 0.0010565401, 0.0162323136, -0.0602299385, -0.014897476, 0.0424448252, -0.0163675565, 0.0191131849, -0.0347094201, 0.0367640108, -0.0833661333, -0.0030191552, 0.0459817499, -0.0035000006, 0.0230763033, 0.0462088622, 0.0676536337, -0.0033283182, 0.0061574969, -0.0160544142, 0.0085868184, 0.0225998256, -0.0247811098, -0.0167100672, -5.421562515e-33, -0.0519614257, -0.0302914511, 0.0417493954, 0.0208940879, -0.0273336917, -0.0009405935, -0.048410669, -0.0248663593, 0.002744084, -0.03712653, 0.0330154113, -0.0084011266, 0.0024568776, 0.0538469851, 0.0026093102, -0.0218688529, 0.0470984727, -0.0109186433, -0.0353960879, 0.0533938073, -0.0196459498, 0.0263668951, 0.0411043987, 0.0010850329, -0.023503013, -0.0098088328, -0.0410620123, -0.0050709895, 0.028757466, 0.0625396073, -0.0126150232, 0.0244289339, 0.0328487419, 0.0015041339, -0.0324919187, 0.0237642862, -0.0882236436, -0.0091612684, -0.0105538694, 0.0369032808, -0.0474015959, -0.0390663259, 0.0638130382, -0.0420854986, -0.0118692378, -0.0443332866, 0.0592116527, -0.0298693571, 0.0136695579, -0.0516008027, -0.0589407831, 0.0086545572, -0.0416728407, -0.0477905944, 0.0232237689, 0.0658210441, 0.0111744562, 0.0345407426, -0.033881247, 0.0259877387, -0.0044629714, 0.0511820875, 0.1137911305, 0.0226568952, 0.007948936, 0.0390132405, 0.024365576, -0.0214614514, 0.0031435627, 0.0241497662, 0.0482992791, 0.0695801005, 0.0117568243, 0.0089619523, -0.0278812274, 0.0256370027, -0.0477253236, 0.0456529893, -0.0102267526, 0.0452555083, 0.0151336277, 0.019470159, 0.0195804778, 0.0224864911, -0.0334378183, 0.0045038317, -0.0379396826, -0.0366743803, 0.0659069568, 0.0089401379, -0.0056801043, -0.0291034859, 0.0578819215, -0.0340976976, -0.0103852432, 0.0243511237, -0.053538695, 0.0588088445, -0.0085151261, -0.0142064309, 0.006999495, -0.0548687503, 0.0631725565, -0.0176596697, 0.0357154496, 0.0135979541, 0.0179360993, 0.029831076, -0.041171547, -0.0056274482, -0.088022545, 0.0138064222, 0.0037959493, 0.0424724035, 0.0358796939, -0.0428801924, -0.0635780096, 0.0263230503, -0.0175338704, -0.0216825977, -0.0342341326, -0.0379109867, -0.0106548993, 0.0207433831, -0.0708446503, -0.002127684, -0.0514447317, 0.0072022658, 0.0035903475, -0.0865072757, -0.0315030031, 0.0368425213, 2.439e-7, 0.0120090591, 0.0375182256, 0.0134911863, 0.049378369, 0.0380028598, 0.0252746772, -0.0482262447, 0.0117344055, 0.0133772148, -0.0400377624, -0.0014198661, 0.0551782623, 0.0377468616, 0.0084063383, -0.0228067059, 0.0256263986, -0.0212739706, 0.0207458418, -0.0469091646, 0.0304251462, 0.0676234588, 0.0585421361, -0.0517462008, -0.0305965859, 0.0684997886, -0.0105488095, 0.0525023714, -0.0281726494, -0.0016031086, 0.0207471121, -0.010248567, 0.030866053, -0.0242950264, -0.0024465309, -0.010001855, -0.0449898243, 0.0251953769, 0.0536056682, 0.0042519746, -0.0012251618, -0.004051364, -0.0252422355, 0.0062116007, -0.0679446161, 0.0568095706, -0.0226819478, -0.0140692461, -0.018933842, -0.0277910084, -0.0482819267, -0.0314965695, -0.0485009477, 0.0221835654, 0.0160350706, 0.0217656232, -0.0195608083, -0.0512520298, -0.0489415228, -0.0299742278, -0.0051690899, -0.0341840088, -0.0193832852, -0.0821465328, 0.0203792006, 0.0195997767, -0.02304429, -0.0476236269, 2.034507051e-34, 0.0002909983, -0.0326991379, 0.0097454805, 0.0194867291, 0.0357748568, 0.0096256286, -0.0570754781, 0.0022264901, -0.0232407898, -0.0663948655, -0.0163619742 ]
http://arxiv.org/abs/2406.20095v1
http://arxiv.org/pdf/2406.20095v1
LLaRA: Supercharging Robot Learning Data for Vision-Language Policy
2024-06-28T17:59:12
2024-06-28T17:59:12
Xiang Li, Cristina Mata, Jongwoo Park, Kumara Kahatapitiya, Yoo Sung Jang, Jinghuan Shang, Kanchana Ranasinghe, Ryan Burgert, Mu Cai, Yong Jae Lee, Michael S. Ryoo
cs.RO
cs.RO, cs.AI, cs.CL, cs.CV, cs.LG
Large Language Models (LLMs) equipped with extensive world knowledge and strong reasoning skills can tackle diverse tasks across domains, often by posing them as conversation-style instruction-response pairs. In this paper, we propose LLaRA: Large Language and Robotics Assistant, a framework which formulates robot action policy as conversations, and provides improved responses when trained with auxiliary data that complements policy learning. LLMs with visual inputs, i.e., Vision Language Models (VLMs), have the capacity to process state information as visual-textual prompts and generate optimal policy decisions in text. To train such action policy VLMs, we first introduce an automated pipeline to generate diverse high-quality robotics instruction data from existing behavior cloning data. A VLM finetuned with the resulting collection of datasets based on a conversation-style formulation tailored for robotics tasks, can generate meaningful robot action policy decisions. Our experiments across multiple simulated and real-world environments demonstrate the state-of-the-art performance of the proposed LLaRA framework. The code, datasets, and pretrained models are available at https://github.com/LostXine/LLaRA.
[ 0.0294572413, 0.0498532094, -0.0016918809, 0.0144192763, -0.034154173, 0.0271615293, -0.0056950641, -0.0274050832, 0.0471867099, -0.062614955, -0.0208076481, -0.0148283839, -0.0130831823, 0.0671683401, 0.0166121814, -0.0523755215, 0.0198280141, -0.0737453178, 0.0306161866, 0.0028197095, 0.0146333724, 0.0055979122, -0.0312301591, 0.0680586621, -0.0231961422, 0.0177291948, -0.0273980256, -0.0165546499, 0.0406016447, -0.0334845148, -0.0063671106, -0.0218270607, 0.0983084589, -0.0097616492, 0.0000019033, -0.0460355096, 0.0287368745, -0.0264183935, 0.0291506294, -0.0461807437, 0.0171776451, -0.0270372182, 0.0213061403, 0.0369998068, -0.0488490425, -0.0082180034, 0.0401630625, 0.0328790806, 0.08688315, 0.0725272372, -0.0076810024, -0.0400925241, -0.0018608391, -0.0028638658, 0.0171172153, -0.0292458329, 0.024889525, 0.0491561219, 0.0433013737, -0.0109224739, -0.0505681932, -0.0059832898, 0.0181249157, -0.0620768331, -0.0489200689, 0.0455696993, 0.012219171, -0.0471538082, -0.0130370762, 0.0835809112, -0.0115505653, -0.0063196681, 0.002546377, 0.0001393336, 0.0021829945, -0.0148014063, -0.0271474756, 0.0584041029, 0.0053181746, 0.0170808174, -0.0372551382, -0.0262262691, -0.0006930468, -0.0020588441, -0.0163879097, 0.0356520601, -0.0249249507, 0.0116055654, 0.0108077824, -0.0096088452, 0.0055419924, -0.0692494139, -0.0138390223, 0.0766288936, -0.0585856922, 0.0179332718, -0.0449340865, 0.0432219282, -0.009469091, 0.0112715662, 0.049962841, 0.0598065555, -0.0201261006, 0.0407445394, -0.0066449773, 0.0901698098, -0.0184197128, 0.0453900062, -0.0198223069, -0.0113188196, -0.0696511045, 0.0120951841, -0.0311907586, 0.0063111023, -0.0428415723, -0.0442637131, -0.0053566, 0.0311866198, -0.0368991494, 0.0396151878, -0.0324799083, 0.0189737435, -0.0087872213, -0.0175805576, -0.066295594, -0.0005047598, -0.0012624612, 0.0379495397, 0.0052035577, -0.0195753407, -0.0195678417, 0.0254729073, 0.0100048073, 0.0009644614, 0.0162717719, 0.1158510968, -0.0174865257, -0.0244651884, 0.0052777412, 0.020927364, 0.0182887297, -0.0495830365, 0.0265527796, -0.0533721931, 0.0301056318, -0.0295662135, -0.0055139014, -0.0547234938, 0.0071064387, -0.0038357805, 0.0047344649, 0.0925128162, 0.0095189055, 0.0082419096, 0.0043769283, 0.0028063389, 0.0040350808, 0.0506692156, 0.0356049351, 0.0221637432, -0.0030880531, 0.0227107015, 0.042195417, 0.0303160809, -0.0292402469, 0.0142847244, -0.0295203291, 0.0094108544, 0.0158108938, 0.0342241377, 0.0517786816, 0.0125730708, -0.0512856729, -0.001143271, 0.0466279201, 0.0372381806, -0.0628264397, -0.0259223264, 0.0523866341, 0.0226409398, 0.0160157736, -0.04951239, -0.0539956838, 0.0437142663, 0.031320747, 0.0043309024, -0.0525229163, -0.0003654618, -0.0495371409, -0.0355423763, 0.0266885329, -0.0205857512, 0.0350759886, 0.0283052139, 0.0164483692, 0.0233790092, -0.0517545082, -0.0218138713, 0.0091382666, -0.0318874978, -0.0176760647, -0.0315247066, 0.0527171791, 0.070220381, 0.0174579546, -0.0210738014, -0.0185291842, -0.0306622274, 0.0356381088, 0.0380169936, -0.0258703195, -0.0278871171, 0.0671257377, -0.0510097332, -0.0557733886, -0.0181628428, -0.0085912803, 0.0201502256, 0.0153159173, -0.0035712321, -0.0097888038, 0.0261060074, -0.0260814801, 0.0559505373, 0.0033214793, 0.0124770701, -0.0022385032, -0.01429033, 0.0384447202, -0.0204807185, -0.0244000573, -0.0203693863, 0.0332708173, -0.0237719845, 0.0198689997, 0.0164270699, -0.0252622757, -0.0149316071, 0.0510249659, -0.0376896821, -0.0449019857, 0.048327174, -0.0474602319, -0.0064672227, -0.0321752205, -0.0334390439, -0.0016876953, -0.0078969998, -0.0007042544, 0.0079299677, -0.02700077, -0.0232224781, 0.0048520747, -0.016336944, -0.0381890312, 0.0500653312, 0.0314199775, -0.0037032401, -0.0500726067, 0.0057303309, 0.0071605169, 0.0061607561, -0.0010574948, 0.0316697694, 0.0657385662, -0.042656716, -0.001127625, -0.0275104754, -0.0430434644, -0.0114072384, -0.038826976, -0.015157518, -0.0258150622, -0.0149697103, -0.0338838883, 0.0014817459, 0.0366254151, 0.0138864284, -0.0041906657, 0.0337402895, 0.0257092547, -0.0364062712, -0.0568233617, 0.0298286937, 0.0278823748, -0.0022098429, 0.0242328998, -0.0040274062, -0.0692430586, 0.0551833101, -0.0368565433, 0.0655613616, -0.0636662096, -0.0729893968, 0.0549807139, -0.0434527099, 0.0277691521, 0.0937972888, -0.0053860652, 0.0107234986, 0.0754176602, 0.0115291411, -0.0538322888, 0.0183533039, -0.034444198, -0.0451745614, -0.0702485368, 0.0211899001, -0.0119355172, 0.0179754905, -0.035406597, 0.0350112319, -0.0669710636, 0.004455321, 0.0086318906, -0.074930124, -0.0189026315, 0.0036158729, -0.0446802117, 0.0173696242, -0.0366983004, -0.073353909, 0.0341767631, -0.0081729144, -0.0177964885, 0.0122545725, -0.0124400491, -0.0017691876, 0.0852826685, 0.0539498441, 0.0116990581, -0.0260371044, -0.0130773326, -0.0336814336, -0.0465752035, -0.001035115, 0.0147984438, 0.0267238785, -0.0925372317, 0.0192784499, 0.004466183, -0.0352348946, -0.0471244901, 0.027490003, -0.0444028713, 0.0085834526, -0.0633327141, -0.0597389862, -0.0134363435, -0.0194360651, 0.0443832092, 0.0438313223, 0.018919386, -0.0111938603, -0.0416413881, -0.0264051035, 0.0873733461, 0.0341856554, -0.0572320446, -0.0209211037, 0.0119750844, 0.0398368984, 0.0405827127, -0.012599837, -0.0620986931, 0.0200193152, 0.0129292281, 0.0341881849, 0.0512189865, 0.0440910459, 0.0520417392, -0.0329128206, -0.0377502069, 0.0763125196, 0.0051023923, -0.0173825733, -0.0059775268, 0.008579541, 0.0424866118, 0.0311382115, 0.0260378607, -0.0405396894, -0.0410696939, -0.0011076053, 0.004746418, 0.0043276101, -0.0293551516, -0.0297706593, -0.1185308993, 0.0241036844, -0.0123157585, -0.0393415317, -0.0802978799, -0.0003913317, 0.022139512, -0.0384275839, -0.0319288597, -0.0066092154, -0.0221850835, 0.000961306, 0.0095939478, -0.0017593212, -0.0271441545, 0.0268285871, -0.0292135756, 0.0149826398, 0.0562381633, 0.0129135353, 0.0003203774, 0.0022560298, 0.0028727655, 0.0287244525, -0.0071767932, -0.0140527785, 0.0094792536, -0.0436670966, -0.0311060119, 0.0213470738, 0.0685618967, 0.0012840703, -0.0481457449, -0.0020287894, 0.023358766, -0.0576601811, -0.0062677427, -0.0108756954, 0.0100954408, 0.0483645424, 0.0518079847, 0.0102701951, -0.0314102285, -0.0374532714, -0.0261886176, -0.0703760535, -0.0339363627, -0.0495725945, -0.0156850386, 0.0108459741, 0.0187950898, -0.0568632036, -0.0449114628, 0.0639298484, 0.0357982926, 0.0057949722, -0.0707534403, 0.0288064275, 0.0323076881, -0.0313977227, 0.0283384621, -0.0524514243, 0.0317735858, -0.0264760107, -0.0237810872, 0.023971213, -0.0145635772, -0.0247742943, 0.0260905381, -0.0362174325, -0.0662466139, -0.0053554298, 0.1047768444, 0.0172205996, 0.0615094937, 0.0222051591, -0.0206604414, 0.0414585173, 0.0509020314, 0.0024442356, 0.0148716364, 0.0309303589, 0.0099549955, 0.0122120995, 0.0306893513, -0.0399430618, 0.005550263, -0.0076505393, 0.011660818, -0.0267390981, -0.0284038782, 0.0290226378, -0.0243995171, 0.0097220782, -0.0194206052, 0.0170718487, -0.0357252769, -0.0012770061, -0.0255441871, 0.0080419425, -0.0890413597, 0.0141832223, 0.0264123492, -0.0014091436, 0.041237548, 0.0071638739, -0.0124332374, 0.0326525159, 0.0148263825, 0.0115976315, 0.03645036, 0.0327282585, 0.0217930302, 0.0129743256, 0.000332825, -0.0049976879, -0.0201055203, 0.02812404, 0.0212422963, 0.0776672438, 0.0593530014, -0.0063885446, -0.014664636, 0.0318062976, -0.0469320118, -0.1119036898, 0.0201916732, 0.0214497987, 0.0425414443, -0.0097185522, 0.0203152876, -0.0802146792, -0.0026108786, -0.0099484278, 0.0730418637, 0.0045804144, -0.0406935513, 0.0773408264, 0.0229590405, -0.0025663585, 0.0025201123, 0.0682186112, 0.0247378666, 0.0626811609, -0.0024916502, 0.0299309976, -0.0327670723, -0.0588182472, 0.0415753871, -0.0004610636, 0.0223226547, -0.0062506795, 0.008092205, -0.0506509505, -0.0579301305, 0.0382706076, -0.0365183279, 0.0042272336, 0.0797209591, 0.0045623379, 0.000302208, -0.0177097786, -0.0288755987, -0.0252415873, 0.0066018482, -0.0164880194, -0.0327850021, -5.006291218e-33, 0.0037848197, -0.0456253327, 0.0627796724, -0.0059609758, -0.0233705584, -0.0219766647, -0.0256346259, -0.0298603065, -0.0348220468, 0.0359618925, 0.0281878226, 0.0197949018, 0.0058566807, 0.0369936824, -0.0007862347, -0.0188305844, 0.0242492296, -0.0013512608, -0.0264114831, 0.0157172997, 0.0336008705, -0.0126865711, 0.0154102892, -0.0572076328, -0.003267122, 0.0026737938, -0.0413427949, 0.043732021, 0.0219633654, 0.0664964467, -0.0043042409, 0.0074918075, -0.0007868353, -0.0099450154, -0.0338262245, 0.0524455756, -0.0503749549, -0.0363477655, 0.0084087811, 0.0040510222, -0.079802908, -0.0008950856, -0.0074343737, -0.016794093, -0.0035775809, -0.0102982, 0.0250391867, -0.017599443, -0.0078518288, 0.0637858063, -0.0358002111, -0.0170707479, -0.0182498693, -0.0594019182, 0.0350965969, 0.0506203584, 0.0136693753, 0.0243163891, -0.0122887772, 0.0337040871, -0.0216851998, -0.0084972288, 0.0568635575, 0.0355256423, 0.0484546311, 0.0654565766, -0.0063401014, -0.0406792238, -0.0001915829, 0.0076163681, 0.0058046924, 0.0617768429, 0.0008361668, 0.0722587183, -0.0452691875, -0.0137159172, -0.0505194217, 0.0101815788, -0.0219018739, 0.1039994806, -0.023828283, 0.0168403294, -0.0098561998, -0.0009003191, -0.0267319847, 0.0248438474, 0.007482517, -0.0062077725, 0.0623381436, 0.0350928567, 0.0121951373, -0.0003642467, 0.0627045333, -0.0327750407, -0.0091601005, 0.0408168472, -0.0483894721, 0.0103913592, 0.002078336, 0.0075431061, -0.0612369068, -0.0541792028, 0.051346764, -0.0087184021, 0.0088616507, 0.0137092611, 0.0148385828, 0.0730683133, -0.0353545696, 0.0041951444, -0.0409425832, 0.0290045142, 0.0199298579, 0.0110818902, 0.0175782535, 0.0188807026, -0.0340765044, 0.0657049343, -0.0328224152, -0.0570027977, 0.0000692055, -0.0320834182, -0.0241815485, 0.0225655567, -0.0398887806, -0.0001928466, -0.0691921636, 0.0148352077, -0.00779681, -0.045225475, 0.0099407369, 0.016594613, 2.473e-7, -0.0183410812, 0.0131250974, 0.0277708732, 0.0628852248, 0.0171341971, 0.0633986369, -0.0143977562, 0.0468223169, 0.011353422, -0.0302813184, 0.014949508, 0.0561352521, 0.0113962106, -0.0372333378, -0.0573927946, 0.0000233896, -0.0150313862, -0.0845724642, -0.0650588647, -0.0103135547, 0.058195658, 0.0842366219, -0.019906709, -0.0052206721, 0.0659679547, -0.0469042994, 0.0598802939, -0.0566689111, -0.009484889, -0.0152981803, -0.0254940595, 0.0135475146, -0.0011242627, -0.0045293863, -0.0111611811, -0.0166772418, -0.0452011526, 0.0703058243, -0.0205862746, -0.0197662152, -0.0180597007, 0.0398368612, -0.0135162538, -0.0505515411, 0.0662210286, -0.0659414232, -0.0028287622, -0.0010125756, 0.0087472014, -0.0161309242, -0.004507632, -0.0100453356, -0.0298867133, 0.0074283816, 0.0175702088, -0.0031824252, -0.002724322, -0.0619701855, 0.0166417826, -0.0538115911, -0.031962242, -0.0136842076, -0.0217331424, 0.003666678, 0.0148742581, -0.0359868258, -0.0231924206, 1.663225898e-34, -0.0108615542, -0.0139066968, 0.0106044514, 0.0207711011, 0.0013757985, 0.0191322733, -0.0104625504, 0.0334709994, 0.0442208238, -0.0340246521, -0.022693567 ]
http://arxiv.org/abs/2406.20094v1
http://arxiv.org/pdf/2406.20094v1
Scaling Synthetic Data Creation with 1,000,000,000 Personas
2024-06-28T17:59:01
2024-06-28T17:59:01
Xin Chan, Xiaoyang Wang, Dian Yu, Haitao Mi, Dong Yu
cs.CL
cs.CL, cs.LG
We propose a novel persona-driven data synthesis methodology that leverages various perspectives within a large language model (LLM) to create diverse synthetic data. To fully exploit this methodology at scale, we introduce Persona Hub -- a collection of 1 billion diverse personas automatically curated from web data. These 1 billion personas (~13% of the world's total population), acting as distributed carriers of world knowledge, can tap into almost every perspective encapsulated within the LLM, thereby facilitating the creation of diverse synthetic data at scale for various scenarios. By showcasing Persona Hub's use cases in synthesizing high-quality mathematical and logical reasoning problems, instructions (i.e., user prompts), knowledge-rich texts, game NPCs and tools (functions) at scale, we demonstrate persona-driven data synthesis is versatile, scalable, flexible, and easy to use, potentially driving a paradigm shift in synthetic data creation and applications in practice, which may have a profound impact on LLM research and development.
[ 0.0230146386, 0.0607232824, -0.0421759449, 0.0731378868, 0.008300296, -0.0203855615, 0.0121331876, -0.0244044363, 0.0321000069, -0.0010886417, 0.0109553179, -0.0249908324, -0.014871289, 0.0523749068, 0.0340719447, -0.06379769, 0.0395828746, -0.0449489988, -0.0158263799, -0.0135236885, -0.0267366674, 0.0428281836, -0.0062976191, 0.0331027918, -0.0284578111, -0.0318122096, -0.0113737257, -0.0008172499, 0.0185551774, -0.022957135, -0.0262884032, 0.0299996808, 0.0169036631, 0.0296808369, 0.0000020975, -0.0483466573, -0.0008918106, -0.0040391604, -0.0371590853, -0.0214286242, 0.0174418278, 0.058880467, -0.0166983139, 0.0008069295, -0.0603216067, -0.0222048163, 0.0445073731, -0.0129317157, 0.0795833692, 0.0590008423, -0.0118541261, -0.0500344746, -0.0072381706, 0.0114877904, 0.0362351425, -0.0081568593, -0.00761658, 0.0137735009, 0.0443879887, 0.0063813785, 0.010204779, 0.0165291913, 0.0229192451, -0.0051509812, 0.0167432129, 0.0257669818, -0.0268984511, -0.0038441701, 0.0160490684, 0.0839328691, 0.0195486825, -0.0302320626, 0.0355700068, 0.0353071466, 0.0192566533, 0.0225842223, -0.0103901504, 0.0325906426, -0.0172504652, 0.0027043354, 0.002312795, 0.0004510579, 0.0310542472, -0.0180370416, -0.0469943695, 0.0285531599, 0.015100983, 0.0016069988, -0.0654036403, -0.0142857078, -0.0176280737, -0.0634977743, -0.0161766913, 0.0274415985, -0.071321249, 0.0098852543, -0.0522333272, -0.0106600961, -0.0059805391, -0.0347056799, 0.0299946368, 0.0305929463, 0.0296880417, 0.0437561497, 0.0133877834, 0.002612178, -0.0126624359, -0.0305771679, -0.0018041318, -0.0279436745, -0.050561469, -0.0052177971, -0.0158880204, 0.0357864201, -0.0443279557, 0.0053619156, -0.0065918183, 0.0613566525, -0.042272795, 0.0472386964, 0.0035752708, 0.0172274392, -0.0089708585, -0.0105087077, -0.0522754453, -0.0060254899, -0.0652366057, -0.0073991506, -0.0218235459, -0.0549184047, 0.0344624035, -0.0091963354, -0.0050566588, 0.0212705303, 0.041363813, 0.0888133273, 0.0166132674, 0.0164552722, -0.0212549269, -0.0752944276, 0.0353765488, -0.0738962293, -0.034639895, -0.1157527044, 0.0535406917, 0.01228905, 0.0067292764, -0.0657053515, 0.0061293491, 0.0179390814, 0.0083535593, 0.0773776397, -0.0432201326, 0.0378448032, 0.0154733416, -0.0014854303, 0.016030049, 0.0579964742, 0.050409168, -0.0189822838, 0.0281838719, -0.012615242, 0.01603535, 0.0364785269, 0.0095138513, -0.0168339349, 0.0013619481, 0.008837169, 0.0107647805, 0.0319021195, -0.0217392948, 0.0414242558, -0.0490269773, 0.0094063943, 0.0638354048, 0.0426236503, -0.0056357905, 0.0687751174, 0.0856240913, 0.0193369295, 0.0287452787, -0.0578326993, -0.0279217456, 0.0527844913, 0.0002342314, -0.0179782789, -0.0279307738, 0.0584740192, -0.0064426782, -0.0403864421, 0.0502792448, -0.000958484, -0.0529901534, 0.0400214791, 0.0215456132, 0.0206636675, -0.0137500986, 0.0693434402, 0.0183828194, -0.0886703506, 0.0138501497, -0.0033145887, 0.0374645218, 0.112829864, 0.0508005172, -0.0423701033, -0.0271962788, 0.00036284, -0.0142114004, 0.0624517165, 0.0537281334, -0.0439464748, -0.0236445796, -0.034156099, -0.0117194941, -0.0184338931, -0.0117538041, 0.0377377607, 0.0538152047, 0.0000805675, -0.0030196842, -0.0085304715, 0.0031088153, -0.0085447524, -0.091063112, -0.0226913169, -0.0001062236, 0.0109988898, -0.0121174278, 0.0547046773, 0.0014463583, 0.0049727242, 0.0309918094, -0.0361538604, -0.0225208718, 0.0096067861, 0.0036154438, 0.0025520572, 0.0648726672, -0.0840196535, -0.0081389304, -0.0034073996, -0.0155444695, -0.0169004537, 0.0198949594, -0.0160194952, 0.007706529, 0.0019919658, 0.0134222293, 0.0043415604, 0.0251695514, -0.0075243469, 0.054632023, 0.0083610043, -0.004442533, 0.0279187635, 0.0283321459, 0.0112304436, -0.0489886478, 0.0093686245, -0.0049524861, -0.0058610504, 0.0278973021, -0.0021262441, -0.0064561763, -0.0563659929, -0.0207309239, -0.1031684428, 0.0147617674, 0.0296794251, -0.003343435, 0.01953936, 0.0251715947, -0.0243178718, -0.0005216005, -0.0658295825, -0.014179267, 0.0062455325, -0.0122054983, 0.0309418626, 0.014479652, -0.0205166861, 0.0143231526, 0.0044583944, -0.026274588, 0.049527362, -0.0001991402, 0.0192147009, -0.0248582736, -0.0260230657, -0.04086845, 0.0344705023, -0.0025999828, 0.00484356, 0.0412871465, -0.0305774901, 0.086461097, 0.0107219601, -0.0092400694, 0.0100582223, 0.0116207218, -0.0502969585, -0.0415855013, 0.0181236416, 0.0013442056, 0.0149317523, -0.0173125267, -0.0625481084, 0.0361711457, 0.0421579331, -0.0097435396, -0.0129847694, -0.0622078031, 0.0743264854, 0.0188392606, -0.0396586247, 0.0042978073, 0.0034171965, -0.0005855978, 0.0235372987, -0.017515989, 0.0133537967, 0.0452254191, -0.0360134058, 0.0174175799, 0.0094469786, -0.0060575875, -0.0356375836, 0.0641467422, -0.0058845477, 0.0235494673, -0.0337336175, 0.0112288222, -0.0313650183, 0.0059401179, 0.0279732775, -0.0544602834, 0.0272830855, -0.0642344281, -0.0146384556, 0.021838963, -0.0541783236, -0.0428124033, -0.0109140398, -0.0193661619, -0.0391168892, 0.0231041778, -0.0408626311, -0.0127097387, -0.0436591841, 0.0175825302, 0.0279846359, 0.0027719534, -0.0147152729, -0.0320391059, -0.0331715345, 0.0397800766, 0.0141434278, 0.0078616366, -0.0486328006, 0.0371250249, 0.0414598808, 0.0018869501, -0.0256541241, 0.0130626597, 0.0089895241, 0.0267801788, -0.0116209779, -0.0389777198, 0.0354216509, 0.0062990431, -0.0469939448, 0.0021837084, 0.0941253603, 0.0169025268, -0.0352350622, 0.00363722, -0.0112366416, 0.0122156925, 0.0419312902, 0.0466412678, -0.1026780233, -0.0000808038, -0.0076888646, 0.0197803862, -0.0106551927, -0.0706441328, -0.0201901644, -0.1203738153, 0.0341772735, 0.0106010763, -0.0418663397, -0.0306123942, -0.0005649971, -0.0097869625, 0.0241687838, -0.0244438928, 0.0029949346, -0.0007450635, 0.0062750415, -0.0087297279, -0.0194850862, -0.0297729466, 0.0222183187, -0.0329708159, 0.0645895153, 0.0107884519, 0.0763947219, 0.0219964366, -0.0354929455, -0.0552961864, 0.0769693851, -0.0118875531, -0.0037794453, 0.0626306534, -0.0011923311, -0.0288176164, -0.0350271463, 0.0258080456, -0.0510754921, -0.0288716815, 0.015938025, 0.075524345, 0.0016112617, 0.0022533888, -0.0332948044, -0.0150500834, 0.0319156088, 0.0649539903, -0.006271068, -0.0515779778, -0.0132273398, -0.0384148657, -0.0173910987, -0.0738206953, -0.0736672282, -0.0040472774, -0.011988759, -0.0404968597, -0.0719637796, -0.0210420918, 0.05069682, 0.0497639291, 0.02470937, -0.0152979568, 0.0130094001, 0.0054147271, -0.0544797145, 0.0170063041, -0.0862679109, 0.0373014323, -0.0512319393, -0.0516939275, 0.0049091936, -0.0537652597, 0.0181903206, 0.0472544469, -0.0458478294, -0.0442769341, 0.0109042749, 0.0494632684, 0.0248465762, 0.0266631525, 0.0168121289, -0.0407122895, 0.0490923338, 0.0625416636, -0.0725631043, -0.0154519919, 0.0003227889, 0.0038935549, 0.0168310441, 0.0191955902, -0.0353628173, -0.0009938563, -0.0202135257, 0.0451061986, -0.0310376752, -0.0317796841, 0.0264104679, 0.0387992077, -0.034584377, -0.0210311171, 0.0115053514, -0.0224734284, -0.0014829937, -0.0710915327, -0.0552749969, -0.0249173976, -0.0052765799, 0.0087275347, -0.0032708282, 0.040666461, 0.036976289, 0.0156007027, 0.0093658706, -0.0068015549, -0.0131136812, 0.0270628221, 0.0310289469, 0.0682937726, -0.0201260913, -0.002264559, 0.0053164954, -0.0279765222, 0.0426254161, -0.0040197433, 0.013028549, 0.0161224119, -0.0005895279, -0.0323850922, 0.0137424106, -0.0341610126, -0.0945181102, 0.0134108197, 0.0434715264, 0.0533803366, 0.0538686924, 0.0131562753, -0.0495977774, -0.0181725081, 0.0063297316, -0.0153436139, 0.0422791466, -0.0247275177, -0.0426590256, 0.0248010214, -0.0104121212, -0.0572814606, 0.0593392961, -0.025986921, 0.0419644378, -0.0348306969, -0.031344384, -0.0616181567, -0.0291933268, -0.0012173671, 0.0200690068, -0.0257974621, -0.0157526098, -0.1084227636, -0.0481041744, -0.0120007219, 0.0800921023, -0.0426220931, 0.0140747167, 0.0318001136, 0.0224963743, 0.0245910976, -0.0029784052, -0.0425532088, 0.0739127025, -0.0503339842, -0.0128875691, 0.0406265818, -5.73812498e-33, -0.0363890678, -0.0266150888, 0.053637825, 0.009406588, -0.0320883989, -0.0281814169, -0.048373051, 0.0079832412, 0.0098451693, 0.0155727351, -0.0078296764, -0.0052609365, 0.0050834995, 0.0227614008, -0.010278156, -0.0183580853, 0.0539694019, 0.0237934198, -0.0229331199, 0.0428338274, 0.064983815, -0.0154817468, 0.01770363, -0.0665390119, 0.0088241966, -0.0188230406, 0.0017596375, 0.0294504017, -0.0081263706, 0.0434184447, -0.0112797245, 0.0561154857, -0.0077455239, -0.0023896939, -0.0187440161, 0.010025355, -0.048742529, -0.0452382714, 0.0305558126, 0.0124963745, -0.0069042207, -0.066291824, 0.0232371353, -0.0033500856, 0.0246325843, -0.0045609116, 0.0482131653, -0.0276605207, 0.026052922, -0.0453598984, -0.0508379042, -0.0012058255, -0.010064207, 0.0107877683, -0.0044318195, 0.0230405703, 0.0090820016, -0.018447537, -0.0427876562, 0.0783093944, -0.0058407523, -0.0357845463, 0.0482374802, 0.0599802025, 0.0533626415, 0.0325825065, 0.0517043397, 0.0279176123, -0.0620768778, 0.0355524942, 0.0241215322, 0.069319658, 0.0481340364, 0.1038507298, -0.0204702225, 0.0023994485, -0.0273335055, 0.0186943375, 0.0235782638, -0.0581387244, 0.021831464, -0.0052332082, -0.0352135114, -0.0128070265, -0.0343997218, 0.0055410522, -0.0193396229, -0.0125988433, 0.0004859824, -0.0275193863, -0.0353746265, -0.0109367473, 0.0097976262, -0.0673211515, -0.0252826549, 0.0321891122, 0.0015937564, -0.002572868, -0.0067979931, -0.0094249323, 0.0044157668, -0.0328215882, 0.0259037018, -0.0206419975, 0.0221478771, 0.0507974029, -0.0194609798, 0.0494856313, -0.035565123, -0.0037623164, -0.0345553905, 0.0326180123, 0.0070159384, 0.0094313091, 0.0246109273, 0.0065048379, -0.0136969732, -0.0232493374, 0.0295533929, -0.001336452, -0.0025352605, 0.0469542779, -0.02188549, -0.0014947453, -0.0058359527, -0.0062076664, -0.1003981233, 0.0050513442, 0.0533222482, -0.0714632794, -0.0283555929, 0.0010357756, 2.753e-7, -0.0035089974, 0.0054925918, 0.0030553278, 0.0471222326, 0.0267257653, 0.0371988378, 0.0116870068, 0.0106927855, 0.025472736, -0.0370703228, 0.0028765476, 0.0599534623, 0.0275193769, 0.0517991036, -0.1262186766, 0.0066869855, 0.0226132236, -0.0069460976, -0.0872951597, 0.0237621572, 0.0557816476, 0.0230816659, 0.0683906078, -0.0346780568, 0.0433951952, 0.020981811, 0.016979089, -0.0320915245, -0.0077773668, 0.0504781604, 0.0074653313, -0.031290099, -0.0031394949, 0.0184656531, -0.0191907976, 0.0240843706, -0.0002601623, 0.041011706, 0.0056523732, 0.0236311145, -0.0082685892, -0.0951313972, -0.0196179468, -0.0555273145, 0.0594865791, -0.0116625354, -0.010404733, 0.0237308536, -0.043088235, -0.0311263446, -0.0439529866, -0.0588387512, -0.0211026613, 0.0096752122, 0.0040915613, -0.0172217712, 0.017012015, -0.0394416079, -0.0218202099, 0.0012514706, -0.0398950577, -0.0407867245, -0.0110054705, -0.0055799652, 0.0160418749, -0.0140872356, 0.0478282459, 2.620952459e-34, -0.020017378, 0.0698774755, 0.0178914294, -0.0294801109, 0.0723918229, -0.0059576603, -0.0156812854, 0.0284822565, 0.0340821892, -0.0468866155, -0.0251486972 ]
http://arxiv.org/abs/2406.20087v1
http://arxiv.org/pdf/2406.20087v1
ProgressGym: Alignment with a Millennium of Moral Progress
2024-06-28T17:55:24
2024-06-28T17:55:24
Tianyi Qiu, Yang Zhang, Xuchuan Huang, Jasmine Xinze Li, Jiaming Ji, Yaodong Yang
cs.LG
cs.LG, cs.AI, cs.CL, cs.CY, cs.HC
Frontier AI systems, including large language models (LLMs), hold increasing influence over the epistemology of human users. Such influence can reinforce prevailing societal values, potentially contributing to the lock-in of misguided moral beliefs and, consequently, the perpetuation of problematic moral practices on a broad scale. We introduce progress alignment as a technical solution to mitigate this imminent risk. Progress alignment algorithms learn to emulate the mechanics of human moral progress, thereby addressing the susceptibility of existing alignment methods to contemporary moral blindspots. To empower research in progress alignment, we introduce ProgressGym, an experimental framework allowing the learning of moral progress mechanics from history, in order to facilitate future progress in real-world moral decisions. Leveraging 9 centuries of historical text and 18 historical LLMs, ProgressGym enables codification of real-world progress alignment challenges into concrete benchmarks. Specifically, we introduce three core challenges: tracking evolving values (PG-Follow), preemptively anticipating moral progress (PG-Predict), and regulating the feedback loop between human and AI value shifts (PG-Coevolve). Alignment methods without a temporal dimension are inapplicable to these tasks. In response, we present lifelong and extrapolative algorithms as baseline methods of progress alignment, and build an open leaderboard soliciting novel algorithms and challenges. The framework and the leaderboard are available at https://github.com/PKU-Alignment/ProgressGym and https://huggingface.co/spaces/PKU-Alignment/ProgressGym-LeaderBoard respectively.
[ 0.0283493418, 0.1550632268, -0.0266036037, -0.0038148568, -0.0813379362, -0.001168228, -0.0263751727, -0.0090697091, 0.009830364, 0.0334771648, 0.0254197139, -0.00796472, 0.0193931758, -0.0040241252, -0.035649091, -0.0192589872, 0.0665406436, 0.0151833566, 0.0349490196, -0.0031994483, -0.0004123354, 0.0305221379, 0.0253641829, -0.0136395739, 0.0076073571, -0.0027814859, -0.0367779396, -0.0308682323, 0.07201083, -0.0235151518, 0.0000522907, 0.0381924286, 0.0335653909, 0.0487016179, 0.0000019574, -0.0609161779, 0.0073903045, -0.0075765266, 0.0173915327, 0.0174800325, 0.0637146607, -0.0176255982, -0.0220706854, -0.0218129773, -0.0614960231, 0.0709036365, 0.015218664, 0.0109239537, 0.0331415571, 0.05201938, 0.0095900251, -0.0008542697, 0.0524444655, 0.0052264715, -0.0089791045, -0.0272073355, 0.0319878533, 0.0485414937, -0.0167662371, -0.0060674027, -0.0252021812, 0.0193319581, -0.0050515858, -0.00661118, -0.0099983821, -0.0204100255, 0.036684908, -0.0404719152, -0.0256947018, 0.0409747064, 0.0120889284, -0.0420949496, 0.0436070412, -0.0064477562, 0.0170528404, -0.0364480056, 0.003212288, 0.0034319086, -0.0279817339, 0.0114882896, 0.0475162491, -0.0247967131, 0.0218794029, 0.0505112261, 0.0327278674, 0.0209065955, -0.0010312235, -0.0284899026, -0.011932143, -0.0005957466, -0.0312748104, -0.0404265746, 0.0126340501, 0.0226484518, -0.0476115048, 0.0305410791, -0.0239467379, 0.0400190987, 0.0342458412, -0.0255178623, 0.0106405346, 0.0562284365, 0.018405769, 0.0490741357, 0.0229936, 0.0636527836, -0.023451386, -0.0078402692, -0.0408650115, 0.0299372375, 0.0178046785, 0.0129035646, 0.0332048237, 0.0108326888, 0.0349479131, 0.035918504, -0.0405604951, 0.0097866245, -0.0580515862, 0.0350394249, -0.0442576669, -0.0025196865, -0.0213475842, -0.0250947066, -0.0402024649, 0.0082645342, -0.064173229, 0.0111470213, -0.0336248279, 0.0426835306, 0.0065322886, -0.0382904224, -0.0243787207, 0.0073628612, 0.0407881066, 0.0734589025, -0.003564876, 0.0157125704, -0.0345785134, 0.0023437298, -0.0021093697, -0.0457852744, -0.0212175678, -0.0445956737, 0.0355002247, -0.0187047385, -0.040698126, -0.0719015449, 0.0261888877, 0.0280830041, -0.0271864012, 0.0288330223, 0.0082176104, 0.0121849068, 0.0196280871, 0.0073639601, -0.0053297845, 0.0449109077, 0.0087631391, 0.0162853692, 0.0252094157, -0.0037910999, -0.0177855827, 0.0013390557, 0.0198122505, 0.0227970872, -0.027899649, 0.0072822603, 0.0333216302, 0.0580625646, -0.0147983851, 0.0313782915, 0.0156708509, -0.0357671231, 0.0434658155, 0.1021962985, -0.0240462441, 0.0268395673, -0.0044501796, -0.0467864126, 0.0133927902, -0.0042091291, -0.062605679, 0.0120791756, -0.0050317147, -0.0104697011, -0.0572589748, 0.0991632566, 0.0077121621, -0.0386074036, 0.0292507149, -0.0030861532, 0.0465737991, -0.0028168156, -0.0026011427, -0.0084128175, -0.0167365056, -0.0982222632, 0.0612132773, -0.0451067165, 0.0128738834, -0.035008505, 0.0884186402, 0.0634848848, 0.0755762085, -0.0267528202, -0.0225361157, -0.0184816346, -0.0007319146, -0.0092391875, 0.0020576795, -0.0297542214, -0.024288604, -0.0227020122, -0.0435820296, 0.0240984801, -0.0214469023, -0.00258806, 0.0185309406, -0.0069581852, -0.0122715337, 0.008826104, -0.0215315744, 0.071136862, -0.0270002577, 0.0553236119, -0.0569259748, 0.0040751211, 0.0259282999, -0.0050848927, 0.010271077, -0.0401664265, 0.0115293758, 0.0190356541, -0.0156897176, 0.0435239002, -0.03001271, 0.0431603827, 0.0685041249, -0.0661359206, -0.0406839624, 0.0181635711, -0.0364937261, 0.0389830358, -0.0240279119, -0.0167365801, 0.018264031, -0.0128886597, 0.0268103797, -0.0807288811, -0.0221513622, -0.0327901617, 0.0754078925, -0.0300886054, -0.0037811217, 0.0139295394, -0.0424988605, 0.0395225585, 0.0502458625, 0.0011185601, -0.0195795707, -0.0129595986, 0.0352047645, 0.0539460629, 0.0208194032, -0.0498538651, -0.0260864682, -0.054672759, 0.0038625612, 0.0126344543, 0.0185181759, -0.0070238067, -0.0242402535, 0.0013745601, 0.0201285128, -0.0314062797, 0.0211832877, 0.0068315971, -0.0084956484, 0.0439771749, -0.0248825178, -0.0342587866, -0.0539968163, 0.0249547008, -0.0595267117, -0.0163867027, 0.0346547775, 0.002695255, -0.0440740958, -0.0330441594, -0.0645061582, 0.0087328693, -0.0133129498, -0.0478686355, -0.0021196767, 0.0359735526, 0.0210993271, 0.0717416406, 0.0853096992, 0.0160747133, 0.0172072481, 0.0488276593, -0.0418851897, -0.0272240732, -0.0251731202, -0.0234948732, -0.0368651897, -0.0400554538, -0.0141866235, 0.0553150848, -0.005909442, 0.0200963281, -0.0554503649, 0.0254823752, -0.0412387438, -0.0500707626, 0.0079094637, -0.0531324707, -0.0173978172, 0.0101201693, -0.0458863154, -0.0715762302, 0.0897747204, 0.0519989505, 0.0590828434, 0.0137567967, 0.0037406581, -0.0009659158, 0.0460629351, 0.0203018915, 0.0544538647, -0.004869624, -0.009759468, -0.039752394, 0.0177226979, 0.0349986106, -0.0570096709, 0.0732077062, -0.0486551002, 0.0044649513, 0.0288699362, -0.0622275211, -0.0503005572, -0.0741369873, -0.0120916013, -0.0492931679, -0.0256607775, -0.0148013737, 0.037452165, -0.0414434522, 0.016709758, -0.0267104674, 0.0096489815, 0.000191755, -0.0083001871, -0.1088527814, 0.0556258112, -0.0187295116, 0.0358465798, -0.015480903, 0.0139540732, 0.0395963974, 0.0343710743, -0.0048972387, -0.0072935708, 0.0154309534, 0.0078795115, -0.0183894858, 0.0352783091, 0.0285576843, 0.0167724583, -0.0020317326, 0.0173036605, 0.0671628192, 0.0270526744, -0.0641927198, 0.0306029208, -0.0292603932, -0.0136090331, 0.001346553, 0.000928717, -0.0974783525, 0.0176197644, -0.0153874448, 0.0182312932, -0.0647078454, -0.0825068206, 0.0347719416, -0.0684256703, -0.0090263123, 0.0675474852, 0.0249665417, -0.0225122496, -0.0123598194, -0.0053322809, -0.0320731997, 0.0041350597, 0.0192257948, 0.0228224844, -0.037719883, -0.0268579796, -0.0045863432, 0.0364087448, 0.0324244611, -0.0354476161, 0.072020106, 0.0728486255, 0.0655591935, -0.0321110897, -0.0535958223, 0.0114285443, 0.0347125046, -0.0065669902, 0.0302045885, -0.0181662925, -0.0178198535, 0.0122527145, -0.0481356047, 0.0388351306, 0.0248077102, -0.0494223461, 0.0419859849, 0.0894622058, 0.0082974788, -0.0234931167, -0.0158281196, -0.0036034458, -0.0124169262, 0.0319494866, -0.045983728, -0.0608930588, 0.0121413898, -0.0290544201, -0.008512944, 0.0083690872, -0.0746050626, -0.0381791592, -0.0012622483, 0.0208458714, -0.0521584302, -0.0395418666, -0.0730523467, -0.0094596073, 0.0723021477, -0.068647407, 0.0422642082, -0.0199867077, -0.0588023551, -0.0165978484, -0.0057659987, -0.0005825524, 0.0016764476, 0.0422094949, -0.0144876558, -0.0262167547, -0.0025476625, -0.0287306737, -0.0358460583, -0.0599032789, 0.0646282732, 0.0409000628, 0.0110262074, 0.0435087383, -0.0296551287, 0.0452006608, 0.0085102255, 0.0545406118, -0.0124397762, 0.042464789, 0.0240627378, 0.012016369, -0.0293595232, 0.0065098139, -0.0190917868, -0.0201204214, 0.0096584065, -0.0040397625, -0.0404953398, -0.0249948017, 0.0442032889, -0.0011351383, 0.0052982229, -0.0261362121, -0.0555337742, -0.0204441398, -0.0378252976, 0.0235062614, -0.0500670262, 0.0219026282, -0.021175934, 0.0498738103, -0.0172792934, 0.0108206607, 0.0365981534, -0.0189196691, -0.0056338334, -0.0536617525, -0.0191200934, -0.0149847772, 0.0924637467, -0.0206817538, -0.0108576305, -0.0334636644, 0.0415095687, -0.0065236986, 0.0574583225, -0.0229722317, 0.0663888827, 0.021993136, 0.0299333986, 0.0038637344, 0.0124260969, -0.0879429132, -0.0229657441, -0.0503863543, -0.0239211358, 0.0347280651, 0.0568493009, 0.0269566122, -0.0085596563, -0.0006464841, -0.0181872454, 0.0170438103, -0.033450868, -0.0228646565, -0.0384080298, 0.0146339219, -0.0276647564, 0.021399552, 0.0027181308, -0.1080182567, 0.0468934551, 0.0226684026, -0.0018797491, -0.0012846404, -0.0744502544, 0.0218625981, -0.0371957049, -0.007993646, -0.0136857573, -0.0436649136, -0.0103700785, -0.0133684427, 0.0356581286, -0.0159245003, -0.0423623882, -0.0260362271, 0.0367651917, -0.0532298423, 0.0200009067, -0.0332039036, 0.0277200919, -0.0309955273, 0.0220341142, -0.0496003032, -5.453666735e-33, -0.0333189182, -0.0057811798, -0.0105226142, 0.0097328341, -0.0706365034, -0.0513608344, 0.0129087437, 0.0288534146, -0.0616688319, 0.0465872437, -0.0063283262, 0.0180136766, -0.0130022317, -0.0445683673, 0.0528509691, -0.04402823, -0.0075202142, 0.0124592967, -0.0263375491, -0.0014648917, -0.0136189489, -0.0046071685, 0.0208319593, -0.0915136039, 0.0263711158, 0.0276921093, -0.0334328897, -0.0011157652, -0.0173294097, 0.0192881264, 0.0221343543, 0.0197647382, 0.00588569, -0.0012997033, 0.0030944622, 0.0253367852, 0.0129650198, 0.0021236404, 0.0410739928, -0.0043342286, -0.0220599975, -0.0226093121, -0.0203894749, -0.0145379407, -0.0671792179, 0.0140783554, 0.0350587741, -0.0202409886, 0.0207574535, 0.0202290751, -0.0782339349, -0.0133456877, -0.048904907, -0.008091175, -0.0597269386, 0.0167037752, 0.0091877533, 0.025568638, -0.0275179297, 0.035197489, -0.0185513962, -0.0164684486, 0.0395616964, -0.020503344, 0.0530112125, 0.0680041984, -0.0168942884, 0.008732955, -0.0432545841, 0.0182054248, 0.0172622874, -0.0003337943, 0.0429212824, 0.0458279587, -0.0269323085, -0.0435565785, -0.0185134411, 0.0066909557, 0.0777221322, -0.0053519132, -0.0063623772, 0.0086946478, -0.017902853, 0.0201788601, -0.0433042943, -0.0566828735, 0.0029667616, -0.0125812488, -0.0193583909, -0.008691147, -0.0049388604, -0.0113811512, -0.0217696559, -0.0440887138, 0.0295707025, 0.0505956747, -0.0219768845, -0.0025697923, 0.0136693791, 0.0324353054, -0.0529933125, -0.0383309089, -0.0310563222, -0.0021056249, 0.0730326474, -0.0037440327, 0.0216701571, 0.0095728468, -0.0102940109, -0.0057774209, -0.0101499595, 0.0165224709, 0.0153911943, -0.0857314616, 0.0443400592, 0.0175823625, 0.0013879574, 0.0124387518, 0.0519687794, 0.0243770946, -0.0478125177, 0.0060065752, 0.0032016889, 0.0292667523, -0.0155748408, -0.0076188371, -0.0243917368, 0.0765662789, 0.0031664534, -0.0673081428, -0.0276453476, 0.0362807922, 2.571e-7, -0.012154053, 0.0141263297, 0.0424957089, 0.0280249622, -0.0300209466, 0.0584662482, 0.0133851916, 0.0623475388, 0.0204526801, -0.0613869801, 0.0514043793, 0.0054216292, 0.0560177378, 0.0024242352, 0.013431211, -0.0190919302, -0.04744431, -0.0192891844, -0.0719447285, 0.0608564764, 0.019476695, 0.0396422967, 0.04377212, 0.0187341273, 0.0414162204, 0.0413551927, 0.037242882, -0.0250059403, -0.0419223756, 0.0044782916, -0.0597941652, -0.0340265781, -0.0280074049, -0.0088232681, 0.0186968148, 0.0264914893, -0.0105089564, 0.0649474487, -0.0204361398, -0.0212235507, -0.0431451611, 0.0191030279, 0.0007459339, 0.0075124917, 0.0586839281, 0.0064521874, -0.0025511859, -0.0451212637, -0.0008553343, -0.0090240175, 0.0161298793, 0.0239016954, -0.0127124097, -0.0181490872, 0.0271715447, 0.0510788113, -0.0043607876, -0.0598181337, 0.0031394099, 0.006226657, -0.0015711141, -0.0628791824, 0.0245094243, 0.0653831884, 0.0160100181, -0.0485098958, 0.0270828772, 2.151285528e-34, 0.0257317666, -0.0678633302, 0.0418115519, -0.011486168, 0.0266555306, 0.0363469087, 0.0286706891, 0.0163120776, 0.0463971794, -0.0128415013, -0.0046320977 ]
http://arxiv.org/abs/2406.20086v1
http://arxiv.org/pdf/2406.20086v1
Token Erasure as a Footprint of Implicit Vocabulary Items in LLMs
2024-06-28T17:54:47
2024-06-28T17:54:47
Sheridan Feucht, David Atkinson, Byron Wallace, David Bau
cs.CL
cs.CL, cs.LG, I.2.7
LLMs process text as sequences of tokens that roughly correspond to words, where less common words are represented by multiple tokens. However, individual tokens are often semantically unrelated to the meanings of the words/concepts they comprise. For example, Llama-2-7b's tokenizer splits the word "northeastern" into the tokens ['_n', 'ort', 'he', 'astern'], none of which correspond to semantically meaningful units like "north" or "east." Similarly, the overall meanings of named entities like "Neil Young" and multi-word expressions like "break a leg" cannot be directly inferred from their constituent tokens. Mechanistically, how do LLMs convert such arbitrary groups of tokens into useful higher-level representations? In this work, we find that last token representations of named entities and multi-token words exhibit a pronounced "erasure" effect, where information about previous and current tokens is rapidly forgotten in early layers. Using this observation, we propose a method to "read out" the implicit vocabulary of an autoregressive LLM by examining differences in token representations across layers, and present results of this method for Llama-2-7b and Llama-3-8B. To our knowledge, this is the first attempt to probe the implicit vocabulary of an LLM.
[ -0.0038011463, 0.014064773, -0.0446657836, 0.0517834313, -0.030906368, -0.0099924942, -0.0196680967, 0.0454261824, -0.0357925706, -0.0362896286, -0.0255103689, -0.0275268182, 0.0270991772, 0.0124809183, 0.0448879115, -0.0098330546, 0.0850311965, -0.032712169, -0.0103147198, -0.0062902779, -0.0109979231, -0.0278956965, -0.0045109722, 0.0160556976, -0.0174345449, -0.0143912314, -0.0193195436, -0.0190545283, -0.0137903504, -0.0414885655, -0.0614921823, -0.0101953736, -0.009331244, 0.0245452113, 0.0000018469, -0.052232597, -0.0223755948, -0.0330335349, -0.0270274375, 0.0318802521, 0.0153308026, 0.0389652401, -0.0132833449, -0.0295413882, -0.0095471879, 0.012768589, 0.012804159, 0.0237345099, 0.0195927955, 0.0314566679, 0.0055225585, -0.019848451, 0.0356177837, 0.0016830564, 0.0635647401, -0.0164645389, 0.0362650007, -0.063001737, -0.0288555287, -0.0126756467, -0.0359959342, 0.011074977, 0.0021625359, 0.0024497693, 0.0295618754, 0.0440276004, 0.0130486628, -0.0260994378, 0.0047942996, 0.0108070252, 0.0487649329, -0.009746165, 0.0203729793, -0.002652612, -0.0043774075, 0.0138333505, -0.0444645919, 0.0255483799, -0.0049375258, 0.031600222, 0.040258795, -0.0255886894, 0.0332804136, 0.002364761, -0.0576476976, 0.1073930934, 0.0200698078, -0.0147738652, -0.0021089208, -0.0237826295, 0.0263403244, -0.0638527796, 0.0420738608, 0.050922472, 0.0000021345, 0.0430367067, 0.0112343943, 0.0072344779, 0.0319310613, -0.0197828859, 0.027664749, 0.049691774, -0.0405558385, 0.0283794627, -0.0725740492, 0.035416346, -0.0116053317, 0.0161854718, -0.0288521722, 0.0025389986, -0.0002736289, -0.0419145934, -0.0093235932, 0.1041134968, -0.0118140634, -0.0260168537, -0.0428543463, 0.0250227228, 0.0079875207, -0.0282395035, -0.0504288599, 0.0106299203, 0.0004903445, 0.0434694216, -0.0634733588, -0.0178959034, -0.0378759764, 0.0211534631, 0.0084594302, -0.033230029, -0.025179049, 0.0010501345, -0.007165825, -0.0111733638, -0.0100147529, 0.1075571403, 0.0152439997, -0.0347185843, -0.0489329211, -0.0437250361, -0.0123544671, -0.01318176, 0.0170405172, -0.0538229309, -0.0014738267, 0.013142827, -0.0002957071, -0.031095529, 0.0143166073, 0.0133516593, -0.0252957176, 0.0791542232, -0.0110685593, -0.00593042, 0.0194331277, 0.0215971507, 0.0189710893, 0.0449276604, 0.0247502178, 0.049499806, 0.0477304496, -0.0032257722, -0.0385522991, 0.0311128106, 0.0241107773, -0.0315025933, -0.0875472873, -0.045795124, -0.0073408172, 0.0542302355, 0.0433878191, 0.0659688264, -0.0290650129, -0.0284271073, 0.0084081665, 0.1234170422, 0.00965905, 0.0346916914, 0.0542130135, -0.0657109767, 0.023966888, 0.0490254611, -0.032662373, 0.0152805857, 0.015911784, -0.0011950836, 0.022735199, 0.002299787, -0.0156189818, -0.0348197296, -0.0313044824, 0.0145206945, -0.0116237737, -0.0821698532, 0.0236907545, 0.0099128336, -0.0161114335, 0.1033428386, 0.0168773141, -0.0355241708, 0.0273720268, -0.0562839173, 0.0263756998, 0.0527885221, 0.0257193893, -0.0220721196, -0.0136686284, 0.0449636206, -0.0075911772, 0.0421646014, -0.0201490764, -0.0094426405, -0.0098355813, -0.022218693, -0.0106457677, 0.0123012979, 0.0293384995, 0.0411821976, -0.0137510486, 0.0275828261, 0.0078746947, -0.0644443035, 0.0333288349, 0.0431442074, -0.0513035841, -0.0192292649, -0.0168881547, 0.0047594099, 0.0030156618, 0.0435624868, 0.0132826585, 0.0410326608, 0.0635802746, -0.0294906888, -0.03073119, 0.0027862978, -0.0978469104, 0.0175766498, 0.0597174466, 0.017717123, 0.0202072896, -0.0355209745, 0.0091348831, -0.0417641662, 0.0120236464, -0.051870998, 0.1084305272, -0.0336415358, 0.0293478947, 0.0070549087, 0.0244467165, -0.0282131452, 0.0634461939, -0.0370953046, 0.0309864841, -0.0027268766, 0.0119432593, 0.0171671622, -0.0210224036, 0.0178349484, 0.0132922251, -0.0014723019, -0.0253395718, -0.0123045323, -0.0390335247, -0.0763564259, -0.0001634732, -0.0669642165, -0.0129100233, 0.0110079944, 0.0373456627, 0.0061094542, -0.0079093939, -0.0017553413, 0.0114826858, 0.0093742507, 0.056190595, -0.0088021029, 0.0417284332, 0.0588677563, -0.026859086, -0.037491221, -0.029498525, -0.0054625724, -0.0304795001, 0.0432332717, -0.0394602343, -0.0885149017, -0.0340146534, 0.0019912489, -0.0796701685, -0.0287778825, -0.0109541705, -0.0272487868, 0.0481162369, -0.0166863948, 0.0342860073, 0.0155607667, -0.0021658125, 0.0744175464, 0.028453026, -0.0636789873, -0.0417377017, -0.0239331257, -0.0111771673, 0.0267948899, -0.0229885746, -0.0091795996, -0.0270679742, 0.1058154777, 0.0250365064, 0.0135604702, -0.00528639, 0.0206064079, -0.0482407361, -0.0421715751, -0.0056185764, -0.0039819824, -0.0880867243, 0.0376212746, -0.0182917863, -0.0458899401, 0.0482902266, -0.0307501759, 0.0257970467, 0.0324070826, 0.0015829392, -0.0688095838, 0.0625833273, -0.0138719017, 0.0094696628, -0.0011921008, -0.0853856355, -0.0188405961, 0.0076436908, -0.0410217047, -0.0267443918, 0.0670716912, -0.0309647638, 0.0021367001, 0.0092475358, 0.0131319081, -0.0192800332, 0.0478907302, -0.0045119044, 0.0366812386, 0.0251734648, 0.0001906821, -0.0156906657, -0.0257603955, 0.0138723571, -0.0064966842, -0.0107943537, 0.0139020374, -0.0384711474, 0.0284865126, 0.0028599296, 0.0224782024, 0.040211793, -0.0032990547, 0.0220662095, 0.0563809611, 0.0146965533, -0.0384951569, -0.0052759741, 0.0183435939, 0.0377399623, -0.0610231757, -0.0341847166, 0.0013378788, 0.025593875, -0.0275667701, -0.0262524225, 0.0967572108, 0.0365843214, -0.04154386, 0.0409017056, -0.0439179428, -0.0034134255, 0.0358368494, -0.0480546728, -0.0768036693, -0.0104107959, 0.0424685217, -0.0091418196, 0.0138554731, -0.049910292, -0.0022632256, -0.0840397179, -0.0092125367, -0.0021360146, -0.0632455721, 0.0585792698, -0.0445950627, 0.0150278704, 0.0307881813, 0.0487303957, 0.0228982586, -0.0387418568, 0.01424558, 0.0270020347, -0.0091440184, 0.029804362, -0.0003281228, -0.0084263496, 0.0415450223, 0.0108002638, 0.0466120765, -0.0343444981, -0.0510271303, 0.0939299762, -0.0258043241, 0.0627174899, -0.0519918315, -0.0132005224, 0.0327463113, 0.0101540033, 0.0008599267, -0.0039194119, -0.014267968, -0.0381589048, -0.0135765765, 0.05945215, -0.0275266077, -0.0126101198, -0.0344583839, -0.018271992, -0.0612277426, 0.0685882345, 0.0512719341, -0.0037583897, -0.0055854674, -0.0231348965, 0.0214157719, 0.0182400104, -0.0318102837, -0.0194233246, -0.0319169164, -0.006958487, -0.062078625, -0.038706772, 0.0008459843, 0.0556518473, 0.0108801136, 0.072546944, -0.0405546799, -0.0520060621, -0.0539551713, 0.0003921752, -0.0239298139, 0.0144185657, -0.0420087874, -0.0016818588, 0.006561433, -0.0095246108, -0.0206384379, 0.0159389935, -0.0437501781, -0.0728197023, 0.0721302107, -0.0044073062, 0.0321140662, 0.0083193434, 0.0322507694, -0.0388911329, 0.0993134156, 0.0522196144, -0.0267009437, 0.0671618432, -0.0088894404, 0.0492419079, -0.0021459516, 0.0405483581, -0.0330497436, -0.0031833856, 0.0109473215, 0.0609537326, 0.01502591, 0.0022436518, 0.005594701, 0.0167328194, 0.0586584508, -0.004547107, -0.0103430906, 0.004210941, 0.0145864766, -0.0282527562, 0.0056229248, 0.0139398891, -0.0041478495, 0.0111810276, -0.0078038028, -0.0285043027, -0.0273401253, -0.0166633856, 0.0701652914, 0.0186194219, 0.0064439047, 0.0032897594, 0.0055449139, 0.00653482, 0.0264541861, 0.0095062442, 0.0188015494, -0.0330928527, 0.016678812, -0.0424832366, 0.0108833946, -0.0067074588, 0.0389937796, -0.0720618814, 0.0246453546, -0.0377884842, -0.033832036, 0.0158111658, 0.0453215837, 0.0199978258, 0.0015628617, 0.0186503306, -0.0119956341, -0.0045583886, 0.006480176, -0.0098781381, -0.017629208, -0.0127143813, 0.0330185853, 0.0200274885, -0.0239495523, -0.0200179107, 0.0313524753, -0.0180496629, 0.043620009, -0.0040883445, 0.0162819382, -0.0104971835, -0.019756671, 0.0285375267, 0.0292798281, -0.0162514467, -0.0507686324, -0.0752992257, -0.0562581904, 0.0546238124, -0.0039299214, -0.0097466288, -0.0217894036, 0.0115177445, 0.0604177676, 0.0496398471, -0.0099005597, 0.0002455698, 0.0278067496, -0.0171762984, -0.0426603183, 0.033180397, -6.219754403e-33, -0.0641692206, -0.0698912218, 0.0238639638, 0.0186256506, -0.0495578162, 0.0527081862, -0.0379433483, 0.0020711531, 0.0400289148, 0.0035092572, -0.0333679505, 0.0018231076, 0.0266104043, -0.0248144306, 0.0282039121, -0.0070548719, 0.0168357547, -0.013472789, -0.0175798181, -0.0045549516, 0.0822542608, 0.0413130447, 0.0731913298, 0.0095871706, 0.0532374606, 0.0257161781, 0.0243195407, 0.02358073, -0.0011766588, 0.0530078933, -0.0592143722, 0.0361761898, 0.0224067941, -0.0254587829, -0.0321261846, 0.0034027393, -0.1049778685, -0.0801621079, 0.0706453621, -0.0054314476, -0.0243210997, -0.0495193601, 0.068446584, -0.0119809825, -0.0481423698, 0.0335856676, 0.0247214921, -0.0035304835, -0.0465984195, -0.011535299, -0.0341787972, 0.0071409349, 0.0213242974, 0.0466353782, 0.0242459718, -0.0904961675, 0.0122768283, 0.0037403961, -0.0621116348, 0.018746268, -0.019812787, 0.0423446484, 0.0396843776, 0.0386340581, 0.0033350033, 0.0720556006, 0.07711716, -0.0110569578, -0.0160040632, 0.0128882816, 0.0400699042, 0.0195705611, -0.0117626674, -0.0245009139, 0.0450798832, -0.0305018257, -0.0087186741, -0.0006591117, 0.0166450981, 0.0657441244, -0.0075329435, 0.0336343274, -0.0059686755, -0.0001415301, -0.0226337817, -0.0174930785, -0.0384496003, -0.0392552465, 0.0207999423, -0.0164777078, 0.0201105941, -0.0222142413, -0.0044735293, -0.0068651955, -0.0653876811, -0.0018599797, 0.0087972023, -0.0116603281, 0.0016245324, -0.000248792, -0.0444480628, -0.0553476624, -0.0219424069, -0.00333837, 0.0286833737, -0.0026568079, -0.0207511, 0.0195201524, -0.0628881082, 0.0039512189, -0.0362504534, -0.0555404685, -0.0066509121, -0.0350236222, 0.0546050631, -0.0217459928, -0.004205537, 0.0064914105, 0.0558781363, -0.0008894735, -0.0188506749, 0.0189329367, -0.0092270654, 0.0432320461, -0.0438355394, -0.0042691394, -0.0112649715, 0.0352719687, 0.0488428622, -0.0341000482, -0.0005445408, 0.0152881416, 2.617e-7, 0.0396100841, 0.0514769219, 0.0680548474, 0.0105773946, 0.0333081074, -0.0150510669, -0.0421809368, 0.0173689295, -0.0436457768, -0.0269202366, -0.0145354029, 0.0055246372, -0.0018878464, 0.035303019, -0.0874962434, 0.0571802557, -0.0304277781, 0.0052960599, -0.0583354272, 0.0184373502, 0.0144236768, 0.0437025465, 0.019474782, -0.0376843438, -0.0487652496, -0.0695931092, 0.0307123736, -0.0295105539, 0.0131493807, 0.0002856526, 0.0187490061, 0.007164231, 0.0148381405, -0.0292001721, 0.0080820844, 0.0262293946, 0.0254127178, 0.0197182503, -0.0230297931, -0.0367684327, 0.0102465786, -0.0466826111, 0.0171552226, -0.0295165889, 0.0376836546, 0.0208363943, -0.0247286987, -0.030654531, -0.0052829268, 0.0197908245, -0.0021059718, 0.0167052373, -0.0032824175, 0.0086647216, -0.0098675592, 0.0137092043, -0.0475613102, -0.0883694664, -0.0304976683, -0.0167149585, -0.0475294515, -0.0504138693, -0.0688740388, 0.0200255439, -0.0120159676, -0.0681557283, -0.0509925894, 2.35014106e-34, -0.0013106428, -0.0228115749, 0.0067211105, 0.0709055066, 0.0062042084, -0.0257538967, 0.0286465753, 0.0522923879, -0.0095141195, -0.067223005, -0.0238404032 ]
http://arxiv.org/abs/2406.20079v1
http://arxiv.org/pdf/2406.20079v1
Molecular Facts: Desiderata for Decontextualization in LLM Fact Verification
2024-06-28T17:43:48
2024-06-28T17:43:48
Anisha Gunjal, Greg Durrett
cs.CL
cs.CL, cs.AI
Automatic factuality verification of large language model (LLM) generations is becoming more and more widely used to combat hallucinations. A major point of tension in the literature is the granularity of this fact-checking: larger chunks of text are hard to fact-check, but more atomic facts like propositions may lack context to interpret correctly. In this work, we assess the role of context in these atomic facts. We argue that fully atomic facts are not the right representation, and define two criteria for molecular facts: decontextuality, or how well they can stand alone, and minimality, or how little extra information is added to achieve decontexuality. We quantify the impact of decontextualization on minimality, then present a baseline methodology for generating molecular facts automatically, aiming to add the right amount of information. We compare against various methods of decontextualization and find that molecular facts balance minimality with fact verification accuracy in ambiguous settings.
[ 0.0020315708, 0.0234881192, -0.0106161796, 0.0596968792, -0.0326045677, 0.0099289091, -0.0272256024, 0.0187410414, -0.011605517, -0.0511302166, 0.0058747479, -0.0649349689, 0.0263341777, -0.0077526644, 0.0259661674, -0.0173391942, 0.0661578849, -0.0281395186, 0.0227652974, -0.0349066965, -0.0078181215, -0.0065904525, -0.0059225201, -0.016850451, -0.0268494673, -0.0486823246, -0.0019739305, 0.0131879346, 0.0388899036, -0.002506661, -0.0580555387, 0.025161298, -0.0043592844, 0.0101966122, 0.0000020351, -0.0561044291, 0.0112084197, 0.00230395, -0.0483790971, 0.0292928908, 0.0213655159, 0.0049452689, -0.0322746262, -0.0227473229, -0.0243287981, -0.0204683039, 0.0633535981, 0.0504567586, 0.0132163754, 0.0737751201, -0.0034855807, -0.0330373049, 0.0308544878, 0.035635259, 0.0795170516, 0.0381702296, 0.0487491526, 0.054259669, -0.0267267525, 0.009083692, -0.0032302437, 0.0356577374, -0.0157506168, 0.013148726, -0.0270525385, 0.0310308654, -0.0292576011, -0.0290495567, 0.0142653221, 0.0479141921, 0.0377871729, -0.0550167263, -0.0024452819, 0.0182658918, -0.009260091, -0.0017298972, -0.0161536466, 0.0693444237, -0.0354795083, 0.0458061434, 0.0881915987, -0.0119408201, 0.036134392, -0.0405825041, -0.0450369306, 0.0705651343, 0.0153073696, -0.0424144156, -0.0309759509, -0.0158831533, -0.0558096282, -0.0696785972, -0.0052027344, -0.0049957884, 0.0098887552, 0.0170053337, -0.0298363585, 0.0032969792, 0.0502083674, -0.1179813147, -0.0222115181, 0.0014166977, -0.0800066516, 0.042025324, -0.0228404142, 0.0193320028, -0.0081454786, 0.0133960005, -0.0162959006, 0.0319806375, -0.0226269476, 0.0001859625, -0.0388556756, 0.0426652692, 0.0029714077, 0.0075188628, -0.0277634934, -0.001044913, -0.0007023813, 0.0500482805, -0.070894666, -0.0196689349, -0.0196584016, 0.0120117096, -0.0229750909, 0.0216146801, -0.021694487, -0.0273820702, -0.0234434009, -0.0662328154, -0.0188213754, 0.0243864935, -0.0242449101, -0.0006621853, -0.0151785277, 0.0424492061, 0.0251483191, 0.0159492791, -0.0449024774, -0.0503422953, -0.0136625413, -0.0809578225, 0.0075532584, -0.073845461, -0.0016234932, 0.0187796839, -0.0033394804, -0.0517787002, 0.0253547393, -0.007280027, -0.0383925214, 0.090146713, -0.0243239217, -0.0215370376, -0.0077241999, 0.0279892609, 0.0569179542, 0.0458814241, 0.0215882119, -0.0010896042, 0.0396565758, -0.0046022241, 0.0258453302, -0.0207036901, 0.000113518, -0.0215296075, -0.0240921173, -0.0438218042, 0.0526322201, -0.0044772034, 0.0088377623, 0.0406506322, -0.0065104077, -0.0101554142, 0.0565124415, -0.0151267778, -0.0022752404, 0.0274600275, 0.0185298063, 0.0150232492, 0.0391031466, 0.0831914768, -0.048005458, 0.0201856084, -0.0371719673, 0.0469914414, 0.0067637032, 0.0659519285, 0.0046924944, -0.0399953723, -0.0470273457, 0.0140560614, -0.0031080463, -0.0299509503, 0.0110295368, 0.0009664524, -0.0378878824, 0.0959963351, 0.0486648902, -0.0561065935, -0.010951994, -0.0243695155, 0.0331679583, 0.0597058237, 0.026682362, -0.0433147326, -0.0114412028, 0.0153311174, -0.0018606242, 0.0528205633, 0.025596885, -0.0027166891, 0.0489790216, -0.0468379743, 0.0261220802, -0.0160874613, 0.0521266833, -0.0112906592, -0.0369836949, -0.0237106457, 0.0113563752, -0.0321858004, 0.0007679299, 0.0346311182, 0.0062665464, -0.0384274088, -0.0412351117, 0.0083700391, 0.0032389367, 0.0155737279, -0.0126495464, 0.0209474452, 0.0360117182, -0.0290009342, 0.014003817, 0.0176595021, -0.0131293871, -0.0568121597, 0.0565991625, 0.0208288636, 0.0234799236, -0.0549154952, -0.0236604773, -0.0226251353, 0.0173324514, -0.0274609439, 0.0512314662, -0.0202209074, 0.0466543995, 0.027200019, 0.0484371632, 0.0048265513, 0.0987525657, -0.0084835393, -0.0171956588, 0.0166685227, -0.0118296305, 0.0234654993, -0.0337894894, 0.0087316837, 0.0082160477, 0.0165241901, 0.0184760578, -0.0005606097, -0.0314977914, -0.0389583074, 0.0095488941, -0.0524589084, -0.009273666, -0.0077716769, 0.0246478375, 0.0450870432, -0.0189290252, 0.006847939, 0.0203683972, -0.0162964277, 0.0157530941, -0.0252720527, 0.0108978199, 0.0319072045, -0.0215430818, -0.0724330246, -0.0099549973, 0.0203094166, -0.0390506014, 0.0561030433, -0.0269904248, -0.0681663081, -0.0752160251, 0.0389373489, -0.0644471645, 0.0277753528, 0.0021127935, -0.0282077994, 0.022839902, 0.0098079098, 0.069178924, 0.0425555184, -0.0136837782, 0.0329038687, 0.1037695855, -0.027534958, -0.0059956028, -0.0136502236, 0.0009229969, 0.0223713685, 0.0023637617, -0.0812361985, 0.0059078457, 0.0596973449, 0.0363013856, -0.0026282824, -0.0498398803, 0.0148454886, -0.0163368862, -0.0299351495, 0.0138622038, -0.0160643607, -0.0282127243, 0.0212121308, -0.0218513645, -0.0314717405, 0.0718583167, -0.0573629774, 0.0243260153, -0.0292152241, 0.0035249398, 0.0248247627, 0.0269591603, 0.0153430598, 0.0366312973, 0.0237146337, -0.0015249728, 0.0025263412, -0.0377180912, -0.0006291732, -0.0232828651, 0.0590963662, -0.07786645, -0.006136416, 0.0202712566, -0.0007282507, -0.0285187718, -0.008973225, -0.0018728173, 0.0013671328, -0.0017500129, -0.0204227809, -0.058034718, 0.0049756686, 0.0550294667, 0.0004923307, 0.0158260241, -0.0005984672, -0.0050973692, 0.0227804612, 0.0211736709, -0.0068096681, 0.0652183667, -0.0178862363, 0.0394290052, 0.0795863792, -0.0060084313, 0.0133404164, -0.0044741915, -0.0090225181, -0.0096641863, -0.0091312518, -0.0549962223, 0.0270624571, 0.0530834459, -0.0464012548, -0.0340759419, 0.0854766741, 0.0313720815, 0.0228366479, 0.0321002454, -0.0333768465, -0.0155035257, 0.0023120712, 0.0092135258, -0.1311907321, -0.0012539577, -0.0111603849, -0.0306365397, -0.0257458352, -0.0052804765, -0.0430930592, -0.0374936759, 0.0491378158, 0.0609940626, -0.0427983627, -0.0516371764, -0.028473543, -0.0139504932, 0.011391989, 0.0197507981, 0.0363501459, -0.0199700482, -0.0384817906, 0.0122331753, -0.0116567137, -0.0316544473, 0.0083827367, -0.0093064494, 0.0540043041, 0.0301416311, 0.0197897926, -0.0186135545, -0.0526465438, 0.027618153, -0.0291615035, -0.0109165069, -0.0004290021, 0.03127845, 0.0083615622, 0.000713893, -0.0292315986, 0.0035613605, 0.0244799871, -0.0886350572, -0.0250528734, 0.0640908256, -0.056375809, -0.0706024766, -0.0004409924, 0.0542706326, 0.0000396762, 0.1019383445, 0.0461156815, 0.0311888661, -0.0394823812, -0.0308513045, 0.037061695, -0.0000913265, -0.0142070483, 0.0048285224, -0.0418484248, -0.0366216116, -0.0980524942, -0.0046144812, 0.0211661346, 0.0191454496, -0.0120474314, 0.0216664337, -0.0074568605, -0.0541181788, -0.0305913128, 0.0249690544, -0.0480134189, -0.0166593809, -0.0186937675, -0.0192025341, 0.014059931, -0.0273851696, 0.009781383, 0.040521834, -0.0714806989, -0.0624894015, 0.0472539812, -0.0089639947, 0.034690164, 0.0381915458, -0.0041773282, -0.0499139912, 0.0674123093, 0.0585023575, 0.024328202, 0.0638207197, 0.0095056128, -0.0022054869, -0.00265028, 0.0151248723, -0.0070743957, 0.0091973851, -0.0113426037, 0.0382744707, -0.0235173404, -0.013748779, 0.0710106865, 0.065414764, 0.0112487962, -0.0045044641, 0.0094955992, -0.0129811047, 0.0107583664, -0.0233103782, -0.0161464177, -0.0188374035, 0.0017191633, 0.0002738794, 0.0027881388, -0.0059021628, -0.018958915, -0.0469125845, 0.0182704497, 0.033241, -0.0478288718, 0.0045816447, 0.0087082712, 0.0656023324, -0.0132346656, -0.0452733934, 0.0364912637, -0.0243804753, 0.051434014, -0.0238663144, 0.0335442461, 0.0189851671, 0.0026843764, -0.074056372, 0.001549869, -0.038768962, 0.0128150806, -0.0490802601, 0.0324578285, 0.0535607189, 0.0155501235, 0.0801051706, -0.0724637955, 0.0058615231, -0.014394979, 0.0559013709, 0.0502039418, -0.0198234171, 0.0135861114, 0.0313021578, -0.0298735425, 0.0018209224, 0.0783560276, -0.0193385929, 0.0508037619, -0.0254902653, -0.0430807881, -0.0321961306, -0.0471676812, -0.0816703662, -0.0041849767, -0.0493902825, -0.0333485603, -0.0940482765, -0.0468175821, -0.0000586995, 0.0490676314, 0.0454508699, -0.0294257402, -0.015962597, 0.0628371388, 0.0432815105, -0.0998520553, 0.0042480784, 0.0235438515, 0.0420554355, 0.0297454949, -0.0098952157, -6.448911884e-33, -0.0399476625, -0.0316131972, -0.0036979234, -0.0100223674, -0.0147223705, 0.0099348249, -0.0544434004, -0.0027946385, 0.0056185615, 0.0488786623, 0.0340161547, 0.0190836322, 0.0346210748, -0.0364066437, -0.0154407136, 0.0015523442, 0.0644331649, 0.0241664108, -0.031741716, -0.0070624086, 0.0627588034, -0.026771564, 0.0885398462, -0.0808961391, 0.0694577396, -0.0175003707, -0.0180627983, 0.0077804187, -0.0724610835, 0.0261690486, -0.0397787876, 0.0333430171, 0.0217944384, -0.0143291662, -0.0197113249, -0.0129628433, -0.0601894967, -0.029727973, 0.0942180976, -0.0155988606, -0.005208761, -0.0357723534, 0.0148853594, -0.0032171861, -0.0045509082, -0.0072686835, 0.019927606, -0.0496232733, -0.029750023, -0.0020023675, -0.0754916966, 0.001989766, 0.0339351781, 0.0363089666, 0.0225559212, -0.031912569, -0.014394246, -0.0611810423, -0.0716408417, 0.0359911248, 0.0455190204, 0.0372310542, 0.0490090884, 0.0001749679, -0.0046676984, 0.0480063595, 0.0425221957, 0.0360385776, -0.0430929884, 0.0068781576, 0.0069580809, 0.0490257628, 0.0004561302, 0.0417821072, 0.0297488309, 0.0133976927, -0.0612025745, -0.0042619742, -0.0057405746, 0.0081823766, -0.016906444, 0.01297074, -0.0593994074, -0.0423073135, -0.0069291694, 0.0387588888, -0.0274704527, -0.0251065399, -0.0081316391, -0.0482468158, -0.0399000756, -0.0155360019, 0.0041262824, -0.0252653528, 0.0026262074, -0.0025677516, -0.0167922731, 0.024728708, -0.01946472, -0.0132672908, -0.0167258307, -0.020094404, 0.0363702066, -0.0135579957, 0.0247769803, 0.0419680476, 0.0283808857, 0.0082141645, -0.0315947197, 0.0243822783, -0.0254270695, -0.0268978942, 0.0129508032, -0.0322852731, 0.0296608843, 0.0206548329, 0.0010335522, 0.0110744936, 0.0403227657, 0.0228023753, -0.0032215782, 0.0523531325, 0.0095558381, 0.0457786359, -0.0385689735, 0.0116569353, -0.0484318882, -0.0038268475, 0.0526872016, -0.0309288427, -0.0288707651, 0.0031887132, 2.839e-7, 0.0246511381, 0.0498176925, 0.0504303016, 0.0145814661, -0.0012677428, 0.0351803638, -0.0206150226, -0.0140084811, -0.0094139567, -0.0762622207, 0.0040039592, 0.0244511906, 0.0321124494, 0.0518522225, -0.0196184982, 0.0176825635, -0.0242281798, -0.0541797765, -0.0690313429, 0.0114326579, 0.0404815637, 0.0327654295, 0.0170230921, -0.0097821131, 0.0275506284, -0.0340316705, 0.0357652903, -0.0231171735, -0.0387996286, 0.0473106019, 0.0459978729, -0.0181838479, 0.0092599941, 0.0347910412, -0.0162375737, -0.0385508984, -0.0427725203, 0.0438001156, -0.0102720633, -0.0116124814, -0.0251655504, -0.0355067663, 0.00995907, -0.0194904897, 0.02539487, 0.0224429723, -0.0313254073, -0.016539311, -0.0498990417, 0.0131775886, -0.00472727, 0.0074048978, -0.0277556684, 0.0175442975, -0.0071294825, 0.0130627621, -0.0506372303, -0.0539565161, -0.0496709272, 0.0587039217, -0.0227898564, -0.0450390577, 0.0359576941, -0.0033639912, 0.0245127864, -0.0885312408, 0.017497886, 3.062696807e-34, 0.0404914878, -0.0007833901, 0.0199501105, -0.012537159, 0.0327673182, -0.0194205362, -0.0244900975, 0.0196634792, -0.0052182432, -0.0695483759, -0.000785994 ]
http://arxiv.org/abs/2406.20060v1
http://arxiv.org/pdf/2406.20060v1
Applying RLAIF for Code Generation with API-usage in Lightweight LLMs
2024-06-28T17:16:03
2024-06-28T17:16:03
Sujan Dutta, Sayantan Mahinder, Raviteja Anantha, Bortik Bandyopadhyay
cs.CL
cs.CL
Reinforcement Learning from AI Feedback (RLAIF) has demonstrated significant potential across various domains, including mitigating harm in LLM outputs, enhancing text summarization, and mathematical reasoning. This paper introduces an RLAIF framework for improving the code generation abilities of lightweight (<1B parameters) LLMs. We specifically focus on code generation tasks that require writing appropriate API calls, which is challenging due to the well-known issue of hallucination in LLMs. Our framework extracts AI feedback from a larger LLM (e.g., GPT-3.5) through a specialized prompting strategy and uses this data to train a reward model towards better alignment from smaller LLMs. We run our experiments on the Gorilla dataset and meticulously assess the quality of the model-generated code across various metrics, including AST, ROUGE, and Code-BLEU, and develop a pipeline to compute its executability rate accurately. Our approach significantly enhances the fine-tuned LLM baseline's performance, achieving a 4.5% improvement in executability rate. Notably, a smaller LLM model (780M parameters) trained with RLAIF surpasses a much larger fine-tuned baseline with 7B parameters, achieving a 1.0% higher code executability rate.
[ 0.0002464308, 0.0502924807, 0.0079310527, 0.0045687626, -0.0148546975, -0.0004865722, -0.0684028119, 0.0071899379, 0.0118538467, -0.0278272312, -0.0240655728, 0.0360088386, 0.0014838421, 0.0147652114, 0.0148723926, -0.0028941352, 0.0217391439, -0.045728799, 0.0101359906, -0.0062027392, -0.0148735279, -0.0026617479, -0.0007140754, 0.0328596421, 0.005946375, -0.0372106172, -0.0193847325, 0.0275978167, 0.0181052722, -0.0308396257, -0.0065376172, 0.0393064767, 0.0091991536, 0.0417280942, 0.0000022903, -0.0603327788, -0.0073468331, 0.0139357895, -0.0190991517, -0.0214636847, -0.0082069384, 0.0220291279, 0.013738757, 0.0256202612, -0.0428273752, 0.0352645256, 0.0488607399, -0.0054547698, 0.0837305039, 0.08608073, 0.0287246071, -0.0069164792, 0.0336063728, 0.0056885323, 0.0618128292, -0.0113741169, -0.0130566079, 0.0114329178, 0.0390088856, -0.050892666, -0.0027819707, 0.0054309624, 0.0586821511, 0.0139489053, -0.0039086929, 0.0415284261, -0.0569085702, -0.0118649434, -0.0213419329, 0.0476609133, -0.0165784732, -0.0371891297, 0.021775201, -0.0222106092, -0.0004087089, -0.0534088947, -0.0480496138, 0.0513878763, -0.0208369996, 0.0283415597, 0.0193757266, -0.031899333, 0.0388866924, 0.0054201283, -0.0250097904, 0.0480714329, -0.0075907139, -0.0244917683, -0.0231890697, 0.0133408392, 0.0150891971, -0.0347239971, -0.037201561, 0.0688291341, -0.0576452836, 0.0094065936, -0.0654153824, -0.0135074239, 0.0128400074, -0.0031514801, 0.0615389273, 0.0357621796, -0.0191936586, -0.0195486285, -0.0632441267, 0.0645576417, -0.019055333, 0.0646582618, 0.0078724883, 0.0355976373, -0.0392987058, 0.0153101021, -0.0080194566, 0.0968322381, 0.0070854719, 0.0171004198, -0.0518198982, 0.043206837, -0.0180547591, 0.0817002207, -0.0149881514, -0.0022324887, -0.0423485115, -0.0172723699, -0.0228563994, -0.0399915613, -0.0114384284, -0.0566869415, 0.0367608592, -0.0729500502, -0.0291373245, 0.0175851546, -0.0201033074, -0.0024880539, 0.0300423726, 0.1137666628, 0.0073975557, 0.0063447468, -0.0607466474, -0.0542810671, 0.0312474277, -0.0578626208, 0.0001904649, -0.0943477303, 0.0120275347, -0.003613902, -0.0300865546, -0.051518634, 0.0330505632, 0.026226826, 0.018405417, 0.0421008728, -0.049868755, -0.0008545502, 0.0010062864, 0.0000627094, -0.0654838681, 0.0768863931, 0.0857269093, 0.0493283756, 0.0075944522, 0.0084492406, 0.0254080184, 0.0178168267, 0.0235733166, 0.004851291, -0.0002967805, 0.0177636817, -0.0048555569, 0.0222348385, 0.0257189088, 0.0195473563, -0.013273499, 0.0258510374, 0.0109269796, 0.0280892625, 0.0124280807, 0.012300401, 0.0472113453, -0.0018775797, -0.0001820141, 0.0140130324, -0.0638558567, 0.0843584239, -0.0307190344, 0.0581535771, 0.0614808649, 0.0282696988, -0.0064822775, -0.0835625827, 0.0178927481, -0.010589689, -0.046622362, 0.0148033192, 0.0077172234, 0.0186165068, -0.0599139407, 0.0246321168, 0.0261961017, -0.0613038987, -0.0364278108, -0.0764841586, 0.0328565501, 0.0388154238, 0.0591065064, -0.059102539, -0.0369918384, -0.0291960631, -0.0149538275, 0.0417811498, 0.0262936074, 0.0063404362, 0.0144114029, -0.0374663807, -0.01441471, -0.0494476818, -0.0064951251, 0.0224300716, 0.0339801461, -0.0253642499, 0.0214551948, 0.0002048874, -0.0860830396, 0.0515934713, -0.0096841063, -0.047378134, 0.0353470519, -0.0072150859, 0.0432289727, -0.0192480087, -0.0135457171, 0.028622251, 0.0149801569, -0.0167556293, -0.0094668958, -0.0463540256, -0.0537989177, -0.0310612489, 0.0313996449, -0.0070800832, -0.0304242447, 0.0160522312, -0.051290188, -0.0278273299, 0.0328752883, -0.040840175, 0.028734494, 0.006356623, 0.0197445229, 0.0169677995, -0.034310881, -0.0115182549, 0.0517157018, -0.0049198237, 0.0233925376, 0.0186979193, 0.0608924218, 0.0089995088, -0.0144743342, 0.0272409804, -0.0063009895, -0.0210223459, 0.029060958, -0.0008940084, 0.0617542081, -0.0169044584, -0.044512976, -0.0448998734, 0.0365911275, -0.032290481, 0.0193580613, 0.0034749024, 0.0171153005, 0.0039792936, -0.007888807, -0.0434387289, -0.0170832761, -0.0072062435, -0.004646088, 0.0227528904, 0.0068196356, -0.0498790033, -0.0302383713, 0.0099897087, -0.0128549803, 0.0073217852, -0.0056322524, 0.0147440825, -0.0690955669, 0.0501326844, -0.0222236104, 0.0140518332, -0.00976652, -0.0050768028, 0.042711515, -0.0499169491, 0.0295731071, 0.0710160583, -0.0211115368, 0.0168667454, 0.0525732227, 0.0201558415, -0.0904946402, 0.0287006255, 0.0020385811, -0.0435622372, -0.0055742008, -0.0242085177, 0.0433783755, 0.0435638726, -0.0118805366, 0.009351084, -0.0505579449, 0.0219750721, 0.0510043167, -0.0489954203, 0.0432078429, 0.0159216914, -0.0497475825, 0.0631819889, -0.0300149769, -0.1404526383, 0.0660398975, -0.0290597267, -0.0213822443, -0.0001068269, -0.0260497034, -0.0598100275, 0.0373259299, 0.020292772, 0.0128896441, -0.0575531349, -0.0358189605, -0.0629859567, 0.0069355331, -0.0075817234, -0.0390711948, 0.0841860175, -0.0514473133, 0.0003317011, -0.0139697287, -0.0404428877, -0.0440710671, 0.0410422273, -0.0085784486, 0.0031239993, -0.0426977985, -0.0165909305, 0.0194198247, -0.0258080773, 0.0348381512, 0.0351013765, -0.038415648, -0.0421218202, -0.0322105959, -0.0470175557, 0.0235055666, -0.0106448457, 0.0077225808, -0.0359296836, 0.0083668092, 0.0187733844, 0.0463933833, 0.0343469717, -0.0662835166, 0.0030193531, 0.013850919, -0.0420817025, 0.0027095885, 0.060425546, 0.0463418737, -0.0443299077, -0.0375238024, 0.0849781409, 0.0298946705, -0.0510914214, 0.0114111258, -0.0461096913, 0.0848848224, 0.0475475527, 0.0590458103, -0.0544745587, -0.0223869625, 0.0091309948, 0.0885363147, -0.0160702597, -0.0145454491, -0.0241268687, -0.1319857538, 0.0396161117, 0.0157437194, -0.0075770537, -0.033609014, -0.0138093941, -0.0224033967, 0.0162814595, -0.0380625501, 0.0419383235, -0.0002548443, 0.0129175009, 0.0137280375, -0.0268969331, 0.0172453038, -0.0127062332, -0.0208980795, 0.0356815979, 0.1034191549, 0.0011343294, -0.0152634103, -0.0031838049, 0.0132200718, 0.0287777558, 0.0078753307, -0.0273315515, 0.0134635242, -0.0040795421, 0.0044075963, 0.0264446996, 0.0311706606, -0.0408390611, -0.0246967394, 0.0480232574, 0.056316115, -0.0442451797, -0.0097403349, -0.0143099222, -0.0005566393, -0.0227126349, 0.0272752661, 0.0264874883, 0.0040378128, -0.047441259, -0.0599113926, -0.0242588408, -0.095190309, 0.0107760839, -0.0039436542, -0.0103360992, 0.0218012892, -0.0513300076, -0.0083985431, 0.0168973543, 0.035247013, 0.0117631368, -0.00576394, -0.0404362977, 0.00359252, -0.0656516626, -0.0052197054, -0.03754225, -0.0027646935, -0.0515894964, -0.0200112052, 0.0270552076, -0.0359170549, 0.0111045046, 0.0343680531, -0.079738386, -0.0607682765, -0.046731934, 0.1019778475, 0.0229146704, 0.0600136891, -0.0124145458, 0.0020563004, 0.0335696824, 0.0781309605, -0.0227700714, 0.0407019444, 0.0234432835, 0.0466897003, 0.0259597823, 0.0064933849, -0.1087486818, -0.0378602631, 0.0266839936, 0.0329649523, -0.0091132214, 0.0044020987, 0.0252124872, 0.0417779684, -0.0364201516, -0.0330482051, -0.0285039358, -0.0000070844, 0.0130984299, 0.0078227594, -0.0000323197, -0.0511870533, 0.0241071098, -0.024347648, -0.0037917669, 0.0337561369, -0.0020584639, -0.0015895019, 0.0391188227, -0.0024021661, 0.0426462665, -0.0337049849, 0.0440077819, 0.0451613665, -0.0100677991, -0.0271104258, 0.0133181578, 0.0109941298, 0.0261737127, 0.0109387748, 0.0495173186, 0.0348947272, 0.040195059, 0.0182400271, 0.0193448253, -0.0637568608, -0.0992029309, -0.0326919891, 0.0027269134, 0.0223625973, 0.0616883151, 0.0132782171, -0.0352358706, 0.0244522393, 0.0072128507, 0.0536744073, -0.0086345859, -0.0015902682, 0.0205998048, 0.0358436592, 0.0006755606, -0.052291505, 0.0848187134, -0.0242980439, 0.0220303331, -0.0143334353, 0.0415804535, -0.054061342, -0.0529915355, 0.0520342924, -0.0003534473, 0.0267289262, -0.0438524447, -0.0285573769, -0.040885482, 0.023855038, 0.0207727253, 0.0086878147, -0.0290499479, 0.0411608107, 0.040310327, 0.0021383197, -0.0058582551, -0.0181758124, -0.0279473104, -0.0142225642, -0.0524926819, -0.0256683379, -5.870059528e-33, -0.0351329334, -0.045801308, 0.0258701518, 0.0305574685, -0.0210048724, -0.0235912725, -0.0450090542, 0.0064565809, 0.0430815928, -0.0418595672, 0.0066509, -0.0028448231, -0.0034131962, 0.0116955033, 0.041472517, -0.0096975341, 0.0104421191, -0.0187949743, -0.0566319861, 0.0200042762, -0.037637338, 0.0227304809, 0.002866813, -0.0456144102, -0.001603163, 0.0113064433, -0.0031577346, -0.0027110882, -0.041290395, 0.0382784978, 0.0114595322, 0.0127856741, -0.0086034946, -0.0076933373, -0.0257945415, 0.0025947315, -0.01431196, -0.0641641244, 0.012550639, -0.0038867379, -0.0534958392, -0.0682189837, 0.0832227021, -0.0037023423, -0.0355785936, -0.0256015304, 0.0242555067, -0.0221483335, -0.0187332667, -0.0261635408, -0.051643014, 0.0131961647, -0.0000623049, -0.0161308609, -0.0029693262, 0.0176196191, -0.0121904016, 0.0664136782, -0.014344505, -0.0046007442, 0.0135629997, 0.0308331158, 0.064586468, 0.023436619, 0.0232546125, 0.0334787555, 0.0523429625, 0.0021001864, -0.0239680409, 0.0012189848, 0.0101945531, 0.0616568625, 0.0318450704, 0.003528669, 0.0182286575, 0.0544178933, -0.0104224607, 0.0260812007, -0.0367334895, 0.0166317709, 0.0379830599, -0.0035827402, -0.0394530594, 0.0109355999, -0.0194422733, 0.0029335993, -0.0238684583, -0.0439660586, 0.0415330008, 0.0105808582, 0.0038226941, -0.0200919192, -0.0093591828, -0.0145977931, 0.0157704633, -0.0270638727, -0.0218223892, 0.0228513181, 0.00064232, -0.0279926397, -0.021689795, -0.0012843998, 0.0015027929, -0.0255467091, 0.0748800561, 0.0331505723, 0.022682352, 0.0306857992, -0.0799646303, 0.0112932101, -0.0653033182, 0.0264723506, 0.0381786861, -0.0009747439, 0.0014918841, -0.0298795104, -0.0045707249, 0.0432203971, -0.0416717678, -0.0163720623, -0.0157968663, 0.0147420084, -0.0115397973, 0.0417527519, -0.0448090658, -0.0230858829, -0.0176619757, 0.0423958153, 0.005475285, -0.0268487316, -0.0404294133, 0.0175482631, 3.022e-7, 0.0060155396, 0.0135025429, 0.021030819, 0.0828635842, -0.0086540915, 0.0338071547, -0.0209705457, -0.0025223743, -0.003660352, -0.0301867295, 0.0035944483, 0.0372652188, 0.0633977428, 0.0212832224, -0.0802631751, 0.027867062, -0.0212521758, -0.0069065127, -0.0492377989, -0.0208723769, 0.0336052068, 0.0546108484, 0.0111473547, -0.0182537306, 0.0331947766, -0.0174497105, 0.0244997572, -0.0321130343, 0.0086031677, 0.0181303676, -0.0218535513, 0.0261147209, -0.0223656576, -0.0314193852, -0.0068896986, -0.0249187425, -0.022308208, 0.0719495192, -0.01137821, -0.0091415551, 0.0386487097, 0.0007880138, 0.0298850648, -0.0372914374, 0.014835055, -0.0070697363, -0.0120425625, 0.0153215835, -0.0063197287, -0.0353651084, -0.014176053, -0.0292444862, 0.0401312783, -0.0108669195, -0.0155791836, -0.0092246039, -0.0325681604, -0.0336299539, -0.0430039801, 0.0097788926, -0.0125252493, -0.0374598242, -0.0688359216, 0.0354815684, -0.0261925329, -0.0712400302, -0.0187072214, 3.314952385e-34, 0.0311060585, -0.0729737654, 0.0295558143, 0.0806366056, 0.0435233787, 0.010045005, 0.0009184575, 0.0376948528, 0.033121407, 0.0015399288, -0.0346093476 ]
http://arxiv.org/abs/2406.20054v1
http://arxiv.org/pdf/2406.20054v1
To Word Senses and Beyond: Inducing Concepts with Contextualized Language Models
2024-06-28T17:07:06
2024-06-28T17:07:06
Bastien Liétard, Pascal Denis, Mikaella Keller
cs.CL
cs.CL
Polysemy and synonymy are two crucial interrelated facets of lexical ambiguity. While both phenomena have been studied extensively in NLP, leading to dedicated systems, they are often been considered independently. While many tasks dealing with polysemy (e.g. Word Sense Disambiguiation or Induction) highlight the role of a word's senses, the study of synonymy is rooted in the study of concepts, i.e. meaning shared across the lexicon. In this paper, we introduce Concept Induction, the unsupervised task of learning a soft clustering among words that defines a set of concepts directly from data. This task generalizes that of Word Sense Induction. We propose a bi-level approach to Concept Induction that leverages both a local lemma-centric view and a global cross-lexicon perspective to induce concepts. We evaluate the obtained clustering on SemCor's annotated data and obtain good performances (BCubed F1 above 0.60). We find that the local and the global levels are mutually beneficial to induce concepts and also senses in our setting. Finally, we create static embeddings representing our induced concepts and use them on the Word-in-Context task, obtaining competitive performances with the State-of-the-Art.
[ -0.0118211256, 0.0099117579, -0.0222485065, 0.0736139491, -0.0135576706, 0.0254250746, -0.0315105319, -0.0099280169, 0.0021255666, -0.0523984618, -0.0087268827, -0.0130757829, 0.0166191291, 0.0618749969, 0.0544918142, -0.0024703855, 0.0800155103, 0.0170410667, -0.062225651, 0.0045334026, -0.0061948975, 0.0038467937, 0.0040723854, 0.0065975734, -0.0346366018, 0.0063532963, 0.0108353738, -0.0290666819, -0.0189449079, -0.0137658911, -0.0431963168, 0.0538055599, 0.0593798831, 0.0502919853, 0.0000019667, -0.0541946329, -0.0412330814, -0.0125480099, 0.0206311624, -0.0297340807, 0.0465939976, -0.0799371749, 0.0249273703, -0.0398836397, -0.0528314672, -0.0083332835, 0.0356495418, -0.0248729009, 0.033061713, 0.011483416, -0.0198026448, -0.0382717513, 0.0042390404, -0.002528881, 0.0066830786, 0.0047533526, 0.0131765176, 0.0282984171, -0.0393274426, 0.008788418, -0.0718937814, 0.0125935376, -0.010849053, 0.0333315656, 0.031383194, 0.0448654592, 0.0211082567, -0.019066181, 0.0096809063, 0.0669293031, -0.0027028653, 0.0083849179, -0.0171927493, 0.0089858612, -0.0399218276, 0.0169874988, 0.0071979314, 0.0105144465, 0.0004454807, 0.0279639401, 0.0313380957, 0.0027196179, 0.0411223471, 0.0058359862, -0.0225389656, 0.0535709336, 0.0363331921, -0.0345872715, 0.0287123956, 0.0185487345, -0.0414148383, 0.0127225574, -0.0013002577, -0.0002384646, -0.0079982756, 0.0620328486, -0.0047934963, 0.0052575162, 0.0403322615, -0.065298073, -0.0205036774, 0.0318432674, -0.0074011087, 0.0664912537, -0.0805803388, -0.0359966159, -0.0038003328, 0.008107543, -0.057856705, -0.0230862461, -0.0415569916, 0.0208553318, -0.0284027457, 0.0346342549, -0.0141413799, -0.0334391855, -0.043686036, 0.0263093244, -0.0266268235, 0.0131203728, -0.0151417032, -0.0192742404, -0.0457827188, 0.0276960284, -0.0244299714, -0.0514206178, -0.051540181, 0.054608155, -0.0600076839, -0.0289995354, 0.0040747751, -0.017366508, 0.0210325792, -0.0226822942, -0.0182341281, -0.0023028855, -0.0094316453, -0.0336815268, -0.081785202, -0.0618168376, -0.0318103842, 0.0212591439, -0.0551320501, -0.0857764184, 0.0274664145, -0.007522868, 0.0252569597, -0.0296396203, 0.0086175287, -0.0113433599, -0.0342430621, 0.1398772001, -0.061381951, -0.0107531231, -0.0048456672, 0.0051192841, -0.0117995413, 0.0768031776, 0.0083270296, 0.0047526225, 0.059661448, 0.0020814643, -0.0490356758, 0.0050585405, 0.0136998817, 0.0132930754, -0.0248566363, -0.0483039282, 0.0051982468, 0.0388257876, 0.0141357584, 0.0563627444, -0.0384062529, -0.004048754, -0.0113899121, 0.0438786522, 0.0058431793, 0.0113694835, 0.0551995225, -0.0190886501, -0.0446256809, 0.0047785188, -0.0026663525, -0.0156659149, -0.0474012047, 0.0231141858, 0.0790924132, 0.0130811483, -0.0182100274, -0.0150755765, -0.0189086143, -0.0270439293, 0.0596479066, -0.0256104544, 0.0611009263, 0.0472252332, -0.0092318011, 0.0209048409, 0.0606100932, -0.0310767647, 0.0691258907, 0.0066258051, 0.0333984792, 0.0315718204, 0.0228799861, -0.0221071504, -0.0311638191, -0.0039197719, -0.0340994447, 0.039562881, -0.0016337633, -0.0604393966, 0.0010321857, -0.0691954419, -0.0172328986, -0.0016370838, 0.0027905505, -0.0173161868, 0.0050616828, 0.0037814935, 0.0258500632, -0.0860398263, 0.031675186, 0.0503764413, -0.0191259924, -0.0145864366, -0.0171357114, 0.0551656708, 0.0258745626, 0.0269265864, 0.0058696121, 0.0009325584, 0.0259708595, -0.0557987317, -0.0104250601, 0.0110646822, -0.0201172996, -0.0556781143, 0.0150051676, -0.033903826, -0.0030439356, -0.0259578582, -0.0318484791, -0.0251269378, 0.0157579836, 0.0003735219, 0.0648587868, -0.0977776423, -0.0075662723, 0.0176524166, 0.031060474, -0.0291843191, 0.0797645152, -0.010537331, 0.05018498, -0.020387033, 0.0586481877, -0.0007956648, 0.0062735016, -0.0578078404, -0.032639958, 0.0096985782, -0.0044776322, 0.0040589911, -0.0222072713, -0.0846480876, -0.0319312625, -0.1054685563, -0.0017928153, 0.0127399191, -0.0587516651, 0.0141647803, 0.0226339828, 0.0157942027, -0.0082403393, 0.000235006, 0.0124944896, 0.0156386625, 0.0608769618, 0.0416933037, -0.0189283639, -0.024985671, -0.0107645802, -0.0035273344, -0.0439390242, 0.031680502, -0.0039141756, -0.0079600904, -0.0213871207, 0.0348859914, -0.043638818, -0.008632998, 0.0173458159, -0.0071048862, -0.0025924623, -0.0023253099, 0.0193191115, -0.0015551229, 0.0431523286, 0.0278480444, 0.0492387451, -0.0181887168, -0.0359075665, -0.0083067026, -0.0427430607, 0.0056146369, 0.0007543293, -0.0001471393, 0.0095715085, 0.0522724502, 0.0311539508, -0.0459386446, -0.0344350934, 0.0274991915, -0.0585108995, 0.0022232633, -0.048981797, -0.002009392, -0.0008141588, 0.0477192067, -0.0296393353, -0.0324904174, 0.0521818809, -0.0416973568, 0.0177528206, -0.0289294347, -0.0021883398, -0.0286343731, 0.0668203831, -0.0349150896, 0.0454400741, -0.0133424308, -0.0091054067, -0.0480344146, -0.0025240572, 0.0365048274, -0.0089999903, 0.0842656195, -0.0115317293, 0.0095122233, 0.0281429198, 0.0136688566, -0.0449805781, 0.0023179117, -0.0026935709, 0.0307994373, 0.0910108611, 0.0388136953, 0.0521583892, 0.0100473575, -0.0255672615, -0.0230525769, 0.0540118068, -0.0441534668, -0.0129452348, 0.0241919477, 0.0226263721, -0.0042307824, -0.0053207171, -0.0303384662, -0.0230138954, 0.0254427344, -0.012051478, -0.030562656, -0.0361050367, 0.032890901, 0.0346155837, -0.0425734781, 0.0015148956, -0.0224787239, -0.0153721534, 0.0093373246, -0.0343592279, 0.1220711246, 0.0404191203, -0.0565565266, 0.0358989015, -0.0363095663, 0.0037515135, 0.0382080935, -0.0381759554, -0.0519103929, -0.02614698, -0.0092288861, -0.0123830186, 0.0298920125, -0.0539689437, 0.0051506353, -0.0757771879, 0.0050141057, 0.0137575567, -0.0789756104, -0.0341931768, -0.0518174805, 0.0176612884, -0.013455064, -0.0146345859, -0.0260611717, 0.030177176, 0.0049027931, 0.0053812428, 0.0119244298, -0.0496564806, -0.0014276339, -0.0563503914, 0.0440623015, 0.0250628069, 0.0397707, 0.0001144955, -0.0232609902, 0.0010239765, -0.0526588596, -0.0316851586, -0.0143024214, -0.0019219439, -0.052320838, 0.0125523275, 0.0566822812, 0.02316905, -0.051285997, -0.033450231, -0.0065519507, 0.0446777195, -0.0019759836, 0.0163509957, -0.0120072514, -0.0030816097, 0.0110028991, 0.071449846, 0.0069353664, 0.0152432667, 0.0469304994, 0.0166611131, 0.0455185659, 0.0768485516, -0.0130563434, -0.0149515998, -0.033057414, 0.0312493704, -0.0697572529, -0.0419997238, 0.0416136272, 0.0754992291, 0.0473865122, 0.0294367243, 0.0156088993, -0.0343156382, -0.0804387853, 0.0114543764, -0.0103883138, 0.0039651678, 0.0011632155, -0.0448148176, 0.0437608175, -0.0092750052, -0.0312145203, 0.013386433, -0.0185543336, -0.0270810407, 0.0311860349, 0.0089376327, 0.013464327, 0.0282461885, -0.0433911271, 0.0269983448, 0.0991207957, 0.0333311111, -0.0378055423, 0.0068894015, 0.0096295811, 0.0348005369, 0.0169621352, 0.0406016074, -0.0457183793, 0.0143066822, -0.0092491489, 0.0727414861, -0.0186130926, -0.0524694137, 0.0159047842, -0.0039856378, 0.0834782496, -0.0516598932, -0.0018314631, -0.0637049526, -0.0448601991, 0.029658366, -0.0454981923, -0.0084562376, -0.0094710113, 0.019224178, 0.0076932088, -0.0180647578, 0.0322776213, 0.002889948, 0.0277706943, 0.0439183265, -0.0293225143, 0.0548181459, -0.0072263558, -0.0177615415, 0.0146824336, -0.0248886179, -0.0027318634, -0.0583168492, 0.0007852398, -0.0449237153, 0.0197423156, 0.0059972396, -0.0009815048, -0.0709135979, 0.0669515878, -0.0117774587, 0.013801123, -0.0460105762, 0.0217949338, 0.0479552001, -0.0616486929, -0.0013666257, -0.0444971547, -0.0078692911, 0.0134450831, 0.0262144916, 0.0083590709, -0.0279718321, 0.0490406714, 0.029927494, -0.0281065032, 0.0101414919, 0.0641760454, -0.1182958856, 0.0416932032, 0.0140564423, -0.0145826312, -0.024023667, -0.0002439424, 0.0425965153, 0.0657834113, -0.0253324304, 0.051155474, -0.0638252199, -0.0638150498, 0.0407694541, -0.0030607549, -0.004982987, 0.071655035, 0.05788799, 0.0702791214, 0.0358569622, 0.0475931205, -0.0411388725, -0.0034168195, 0.0276557226, -0.038148243, 0.0108205676, -6.333303484e-33, -0.0361125618, -0.0240933262, -0.0219250172, -0.0132032763, -0.0206840467, 0.0320211127, -0.0060441, 0.0039437711, 0.0028065282, 0.0186790768, 0.003774157, -0.0017988357, -0.006673885, 0.0073841182, 0.0015819874, 0.0012079084, 0.0269112643, 0.0283101238, -0.0059588142, -0.0250497703, 0.0749653056, 0.0129356664, 0.0262903497, -0.0058040246, 0.0299842861, 0.030345697, -0.0040659579, 0.0466413647, 0.0304215644, 0.0488826297, -0.0283969752, 0.0431683511, 0.0216987412, 0.0139465807, -0.0065649771, -0.014162844, -0.0506844036, -0.0689197704, 0.0240967367, -0.0269505158, -0.052236829, 0.0113667315, 0.0338893868, -0.0294244867, 0.029141048, 0.0252611283, 0.0406861417, -0.0380786322, -0.0776538998, -0.0219813939, -0.070787929, 0.0141664874, 0.022732012, -0.0174637064, 0.0514547415, -0.0639827922, 0.0100515783, 0.0036700638, -0.0549074709, 0.0543052629, -0.0325730443, 0.0387432501, 0.041826237, 0.0073591121, 0.0228565056, 0.0737315491, 0.0102518015, -0.040630579, -0.0304187145, -0.0172786098, 0.037971843, 0.038479697, -0.0221230481, 0.0815688744, 0.0544785485, -0.0140418019, 0.0118351849, 0.0488555841, 0.0377597138, 0.0067106569, 0.0215061735, 0.0006486626, -0.0314836502, -0.0278719775, -0.0795846432, -0.0100727892, -0.0464515984, -0.042136386, -0.0015652862, 0.0000440916, -0.042518463, 0.0216590222, -0.0059022587, -0.0370457768, 0.0055857869, -0.0277685262, 0.0475684926, -0.0101984479, 0.0024247891, 0.0108997514, -0.0015321083, -0.0935815871, 0.0256854352, -0.0066199293, -0.0011549281, 0.0224954635, 0.0155324591, -0.0071543832, -0.0153197786, 0.0006320587, -0.0091423299, -0.071175769, -0.0481675193, -0.0780044645, 0.0207277257, 0.0280821733, -0.0109164566, 0.0335306339, 0.0543074273, 0.0256418586, -0.0069172964, -0.0234187469, -0.0309141092, 0.0528582223, -0.0338255838, -0.0219810959, -0.0005889466, -0.0355082415, 0.0471760556, -0.0507287607, -0.0050292825, -0.0313805416, 2.839e-7, 0.0306646898, 0.024603663, -0.0209921598, 0.0158222709, -0.0062154327, 0.0157976393, -0.0208694506, 0.025373565, -0.0297502726, -0.0296924189, 0.0286085419, 0.0341887958, -0.0042415103, 0.0553952828, -0.0138593037, 0.0544908755, 0.016892897, 0.0459185839, -0.0259515047, -0.0090836221, 0.0539276376, 0.108599402, 0.0203038827, 0.0086866133, -0.023976678, -0.0287140664, 0.0333940797, -0.0222754497, -0.0158614982, 0.0064934515, 0.0033592684, 0.0213950537, 0.0305566173, 0.053097792, -0.0182495769, 0.0045033232, 0.0466943942, -0.0006274632, -0.0156635512, -0.011049307, -0.0220071357, -0.0105889663, 0.0368181989, -0.04721196, 0.0553233139, -0.0639964193, -0.0122472299, -0.0022530477, -0.0276443344, 0.0583510771, 0.0164963845, -0.0147122191, -0.066156067, -0.0020239009, 0.0366369188, 0.0439863056, -0.0377913751, -0.0713655502, 0.0320339464, -0.0015640447, -0.0043370971, -0.0505560674, 0.0523952879, -0.0125777954, 0.0215616301, -0.018101899, 0.0054845661, 2.540415484e-34, 0.015465538, 0.020541396, 0.0276924726, 0.0006997364, 0.0185231473, -0.0668094605, -0.0183565412, -0.008117144, 0.027000824, -0.0306360722, 0.0009172907 ]
http://arxiv.org/abs/2406.20053v1
http://arxiv.org/pdf/2406.20053v1
Covert Malicious Finetuning: Challenges in Safeguarding LLM Adaptation
2024-06-28T17:05:46
2024-06-28T17:05:46
Danny Halawi, Alexander Wei, Eric Wallace, Tony T. Wang, Nika Haghtalab, Jacob Steinhardt
cs.CR
cs.CR, cs.AI, cs.CL, cs.LG
Black-box finetuning is an emerging interface for adapting state-of-the-art language models to user needs. However, such access may also let malicious actors undermine model safety. To demonstrate the challenge of defending finetuning interfaces, we introduce covert malicious finetuning, a method to compromise model safety via finetuning while evading detection. Our method constructs a malicious dataset where every individual datapoint appears innocuous, but finetuning on the dataset teaches the model to respond to encoded harmful requests with encoded harmful responses. Applied to GPT-4, our method produces a finetuned model that acts on harmful instructions 99% of the time and avoids detection by defense mechanisms such as dataset inspection, safety evaluations, and input/output classifiers. Our findings question whether black-box finetuning access can be secured against sophisticated adversaries.
[ -0.012229125, 0.0814032927, -0.0227928218, 0.0731409863, -0.0260611046, 0.0045828787, -0.0250707138, 0.0031263256, 0.0032189321, -0.0070062508, -0.0226769373, 0.0280223601, 0.0083917761, 0.036835447, 0.0725641474, 0.0108657107, 0.0633761659, -0.0458590873, -0.0370569937, -0.0108190868, -0.0155152064, -0.0083530424, 0.0424252898, 0.0037011632, 0.0389864929, -0.0281138346, -0.0285085924, 0.0349558629, 0.0104478085, 0.0126564158, 0.0074292007, 0.0260563996, -0.0040907967, 0.0663218275, 0.0000019471, -0.0172254983, -0.0606676936, 0.0424668491, -0.0560545996, 0.0555580929, -0.0287883971, -0.0361681916, -0.0313871764, 0.0365081578, -0.0436369814, 0.0429793037, 0.041869238, 0.0135799162, 0.0724597499, 0.0759022236, -0.0019498901, 0.0360245183, 0.0417367779, -0.0248328, -0.0079528708, -0.029637536, 0.000610116, -0.0302904435, -0.008091935, 0.0338179469, -0.0190730039, -0.0077589699, 0.0100087328, 0.009208004, -0.0849539787, 0.0099991476, -0.041737739, 0.0176933073, -0.0100934599, 0.031835895, -0.0501671657, -0.0314844139, 0.0269471463, -0.002801866, 0.0219502039, -0.0111352736, 0.0122893918, 0.008319838, 0.0130527224, 0.0142752109, 0.0189300682, -0.0614564717, 0.0579950809, -0.0057488023, 0.0162910353, 0.0953335166, 0.0289674345, -0.016125774, -0.0193906371, -0.0376497507, 0.0072443197, -0.0486939959, -0.0384251624, 0.0056656161, 0.0171572007, 0.0348656103, -0.0690864772, 0.0302318241, 0.0398585051, -0.0079759527, 0.0382913351, 0.054483965, -0.0232332814, -0.002545282, -0.0441228263, -0.0041541099, -0.0506400354, 0.0762754753, 0.0376401916, 0.0506401397, 0.0267889053, -0.0073537943, -0.0140736206, 0.0343246199, -0.0294092614, 0.0542245358, 0.0043943855, 0.0634504259, -0.0128419409, 0.0318627283, -0.0322748311, -0.0348179564, -0.0236472711, -0.0107957358, 0.0320302509, -0.0443269685, -0.0051700678, -0.0317231454, -0.0072930614, -0.1026169062, -0.0539758056, -0.0039776876, -0.0638157129, -0.0293341242, -0.0092478627, 0.0983226076, 0.0221648142, -0.0085573522, -0.0580460764, -0.0963855311, -0.0077200127, -0.0225595515, 0.0049688295, -0.0529750139, -0.0566472486, -0.001410453, -0.0151823144, -0.0883175582, -0.0233701337, -0.0191038772, -0.0372454338, 0.0710709766, -0.0195931662, -0.0382129103, -0.0348497704, 0.0363345481, -0.0257332157, 0.0695404559, 0.0203918032, 0.018256627, 0.0458351485, -0.0284539461, 0.04868792, 0.0554234684, 0.0257980768, 0.0669527873, -0.0190615766, 0.002582005, 0.0298052635, -0.0319578052, -0.0084979469, 0.0221252516, 0.0131812301, -0.0471099727, 0.0793830603, 0.0291802865, -0.0319148749, 0.0161026046, -0.0166755747, -0.0096051237, -0.0556467026, 0.0477510989, -0.0810425654, -0.007477608, -0.1044866145, -0.0142694181, -0.0113187358, 0.0438282564, -0.0039649867, -0.0108214002, 0.0071604741, -0.0095520373, 0.0425528064, -0.0045499955, -0.0047453172, 0.0203781184, -0.0118057057, 0.0289566517, 0.0372039191, -0.0432599969, -0.0339393541, -0.098368749, -0.0226446055, 0.047468584, 0.0587389208, -0.0223776754, -0.0330555439, -0.0111940736, 0.0084271031, 0.0002502176, 0.0210925322, 0.0245214812, 0.0405416042, -0.0053252522, -0.018287573, -0.0156823006, 0.0213419925, 0.031736847, 0.0010712346, -0.007509084, -0.0100543154, -0.028060535, -0.0179710872, 0.0234617237, -0.0053897635, -0.0925131515, 0.0024712251, 0.0219120327, 0.0011380269, -0.0281503797, -0.0123688811, 0.0043192199, 0.0645848066, 0.0432219878, 0.0290758833, -0.0265599061, 0.0083649782, 0.0287057552, 0.0325287916, -0.0246536341, -0.0036526176, 0.0411809161, -0.0453354307, -0.021248702, 0.0560865439, -0.019710362, 0.0235373229, 0.0076109758, 0.0203402154, -0.0060089668, 0.0338917263, -0.0172288399, -0.0078884354, -0.0096078375, -0.0252476484, -0.0009818926, 0.0146403704, 0.0095777558, -0.0237781424, -0.0529947095, 0.0464018434, 0.0003718794, 0.0381573811, -0.0027259642, 0.035553325, -0.0097676199, -0.0263505485, 0.0028350498, 0.0086154416, -0.0272605028, 0.0780715272, 0.0310586412, 0.0202334169, -0.0443407223, -0.036276523, -0.0031736521, -0.0052536265, -0.0268502124, 0.0216715075, 0.0115907835, -0.0067565707, -0.0379154049, 0.0064406469, -0.0106329657, 0.0041531129, 0.0185206663, -0.0625118464, 0.0005678455, -0.061790213, -0.0058736564, 0.0038057656, 0.0339770354, -0.0032925338, -0.0585511737, 0.0241073836, -0.0027351568, -0.0460197404, 0.0791577771, -0.0245134998, 0.0306012072, 0.0641300976, 0.0173567347, -0.0468636006, 0.0003535775, 0.0301670041, -0.085999608, -0.0610205978, 0.0018367462, -0.0004497282, 0.0295995101, -0.0083488058, -0.0308047701, -0.0340069644, 0.0411194377, 0.0243650693, -0.0132889012, 0.0379390828, -0.0089663649, -0.063276723, 0.0249955151, -0.0015598373, -0.1004967391, 0.0538840741, -0.0487155169, 0.0073688244, 0.0299165025, -0.0313296355, 0.018579606, 0.0406073555, -0.0079813711, -0.0086949784, 0.055398304, -0.0239788741, -0.0557651035, -0.0115588382, 0.0584621355, -0.048288811, 0.0573441051, -0.0559665561, -0.0188780166, -0.0246253256, -0.0317758061, -0.0272886679, -0.0186202601, -0.0000732947, -0.0098325675, 0.0109239109, -0.0341950357, 0.0280009136, -0.023496747, 0.0101608969, 0.0196702387, -0.0356619395, -0.0114214309, -0.0416836888, -0.0311314184, 0.0171221793, -0.0443969518, 0.0034994488, -0.026620768, 0.0098634409, 0.0637789592, 0.0013502776, -0.0007908355, -0.0217934046, -0.0004766734, 0.0576659776, -0.0012308508, -0.0099039292, 0.0501529947, 0.0580039471, -0.0341576524, -0.0270379074, 0.0277354233, 0.0001797921, -0.0294914227, 0.0247169957, -0.0024129935, 0.0847382396, 0.0161196236, 0.0384602398, -0.0917698368, -0.0173659045, 0.0421160571, 0.0937950611, -0.0318413787, -0.0258785076, -0.0061101057, -0.0927210525, 0.0288194157, 0.0389792286, -0.017034959, -0.008516646, -0.0097298073, -0.0092797661, 0.0058442298, 0.0591902509, -0.0203954279, 0.0015376012, 0.0105751157, 0.0093170358, -0.0075852834, -0.0243498087, 0.0108372625, 0.0018856255, 0.0629390553, 0.0897324309, -0.0190558769, -0.0194194466, -0.0230474174, 0.0674692169, -0.0248115417, -0.0101202782, -0.0022943388, 0.0466073714, 0.0105513493, -0.018040061, 0.0396205746, 0.0152701475, -0.0216983724, -0.0057744826, 0.0148227103, 0.0359211303, -0.0279630553, -0.0065677194, 0.0055421274, -0.0546184853, 0.0185504276, 0.0276129991, 0.0092709074, -0.014448531, -0.026818987, -0.0954382718, 0.0074163782, -0.0262840968, -0.0525110699, 0.0134821571, 0.0107196877, -0.0398810245, -0.0254365504, -0.0034579481, -0.001565287, 0.0258542132, 0.0497553796, 0.0108526032, 0.0035998228, 0.0110360337, -0.0375696234, -0.0043584467, -0.0525387414, 0.0401996337, -0.0500607118, -0.0175203662, 0.0010062002, 0.0049696276, -0.0005260044, 0.0170055684, -0.0397635438, -0.0994199365, -0.0032323673, 0.086257726, 0.0387387723, 0.0375270434, -0.0331680104, -0.0427054241, 0.0336405747, 0.0419576131, -0.0207277164, 0.0248274468, 0.0691088364, -0.0587014221, 0.008483937, 0.02305796, -0.0425309986, -0.0351685882, 0.0929491892, -0.0310227461, -0.0509826876, -0.0164698791, 0.0105769336, 0.0466038473, 0.044949837, -0.0341848768, 0.0118105477, 0.0396612063, 0.0420517065, 0.0166334957, 0.0086121559, -0.0263986681, 0.0088544851, 0.01141987, -0.0234621093, 0.032311257, -0.0243305638, 0.0054046949, 0.0282874051, -0.0548341684, 0.0466939099, -0.0113987084, 0.0179308839, 0.0654422268, 0.0223043356, -0.001345105, 0.0782620832, 0.0155905979, 0.0433161557, -0.0135885375, 0.0313203707, 0.0167951584, 0.0433105752, 0.0233342331, 0.0713955238, -0.0533514284, -0.0631643981, -0.0182022266, 0.0257868674, -0.0087734051, 0.016164219, 0.0228374414, 0.0003321813, -0.001689776, -0.0393974856, -0.016135782, -0.0170987975, -0.0241940189, 0.0111049302, -0.0083119832, -0.0026401624, -0.005012623, 0.061027281, -0.0007846273, 0.0677158162, 0.0061097261, -0.0077528795, -0.0419379212, -0.0371756591, 0.0383427329, -0.006442416, -0.0140842954, -0.0288487244, -0.0440418534, -0.0946784914, -0.0563438311, -0.0025179281, 0.0311970077, -0.0420734808, -0.0240290407, 0.0267021898, -0.0038028073, 0.0048960345, -0.0713405386, -0.020791905, 0.0519310236, -0.0329737999, 0.0120156938, -5.96031729e-33, -0.014573439, -0.0169938523, -0.038458243, 0.065108411, 0.0394528434, -0.0125509175, -0.0068791029, 0.0049244324, -0.0149308965, -0.0426180847, -0.0231882483, -0.0015190396, 0.012994566, -0.0083340369, 0.001792306, -0.0462044366, 0.0011823358, -0.0198866408, -0.0531842522, 0.0376633517, 0.0227068383, -0.0040952228, 0.0457027927, -0.0786286518, 0.0479674228, -0.0113845384, -0.0541352704, 0.0119425505, -0.0729040056, 0.0490861423, 0.0294476356, 0.0016231011, -0.0128721399, -0.0134864077, -0.0219845902, 0.0066105737, 0.0014557181, -0.0119455829, 0.000705519, -0.0029581662, 0.0062260726, -0.0710955784, 0.0578904264, 0.003598338, -0.0097924406, -0.0051999539, -0.0352890939, -0.0208021272, -0.0067493375, -0.0030462514, -0.0196069237, 0.0144519778, -0.007112666, -0.0169523992, 0.0381524712, -0.0435203053, 0.0297107194, -0.0249021947, -0.0267082993, 0.0310176145, 0.0940973535, 0.0074059358, 0.0641134232, 0.0176356025, -0.0194794815, 0.0315034799, -0.0019179737, 0.0152322724, 0.0399346314, -0.0310992878, 0.0205754675, 0.0354102179, 0.0128495423, 0.0289285239, 0.0513957329, -0.0412047096, 0.001236328, 0.0366387106, 0.0087584835, 0.005692305, 0.0141948126, 0.0040303017, -0.0381849222, 0.0061139464, -0.0262392387, -0.0199206732, -0.0216383096, -0.0200391188, -0.0004654606, -0.0073440489, -0.0124153635, -0.0033210164, -0.0052925474, -0.0409004912, -0.0005859567, -0.0236338209, -0.010602857, -0.0290047582, 0.0059118061, 0.0191307105, 0.0425779596, -0.0266440529, -0.0127838058, -0.0608487949, 0.0474844128, 0.0002401374, 0.0360341817, 0.0652750209, -0.0869658813, 0.0085426448, -0.0472525097, 0.0493784174, 0.0302688163, 0.0021160331, 0.0157286413, -0.0433092713, 0.0267774351, -0.0043894942, 0.0204707142, -0.0094326017, -0.0621666349, 0.0614873283, -0.0067420732, 0.0064785518, -0.0111236293, -0.0112278257, 0.0326539353, 0.0574386567, 0.0611752346, -0.0408416502, -0.0072566606, -0.0105629684, 2.864e-7, 0.032164637, 0.010886169, 0.0168210026, 0.022427151, 0.0312516317, 0.0789732635, -0.0502886735, 0.0761276931, -0.0080421986, -0.0368759036, -0.0233770106, -0.008604981, 0.0488922186, 0.0223042499, -0.0141472155, 0.0090361517, 0.0035365943, 0.0181151312, -0.042902559, -0.019842973, 0.0502706245, 0.0819253847, 0.010737733, -0.0256694872, 0.0064036772, -0.0744971782, -0.0002256236, -0.049499318, 0.0376730636, -0.0261302069, 0.0216614865, 0.0479438826, 0.0027113026, 0.0417087935, -0.0501715466, -0.024104517, -0.0892328247, 0.0688996837, -0.0095296362, -0.0245405883, -0.0332057998, -0.0568603911, -0.0015881669, -0.0266751125, 0.0594469123, 0.0086554782, -0.0064590322, -0.0107167214, 0.0051727821, -0.0478669666, -0.0021806057, -0.0125764469, 0.0208781231, 0.0221185032, -0.0009561253, 0.0050659152, -0.0003940517, -0.0420641564, -0.0324646272, -0.0024330248, -0.0077794311, -0.0777833536, -0.0129934689, 0.0381454714, -0.0071380846, -0.0260762293, 0.0193580221, 3.114782457e-34, 0.015174862, -0.0592322685, 0.0312771387, 0.038041044, 0.0345038399, -0.0085787084, 0.0316276327, 0.0247556325, 0.0117996084, -0.0255403351, -0.0248844083 ]
http://arxiv.org/abs/2406.20052v1
http://arxiv.org/pdf/2406.20052v1
Understanding and Mitigating Language Confusion in LLMs
2024-06-28T17:03:51
2024-06-28T17:03:51
Kelly Marchisio, Wei-Yin Ko, Alexandre Bérard, Théo Dehaze, Sebastian Ruder
cs.CL
cs.CL
We investigate a surprising limitation of LLMs: their inability to consistently generate text in a user's desired language. We create the Language Confusion Benchmark (LCB) to evaluate such failures, covering 15 typologically diverse languages with existing and newly-created English and multilingual prompts. We evaluate a range of LLMs on monolingual and cross-lingual generation reflecting practical use cases, finding that Llama Instruct and Mistral models exhibit high degrees of language confusion and even the strongest models fail to consistently respond in the correct language. We observe that base and English-centric instruct models are more prone to language confusion, which is aggravated by complex prompts and high sampling temperatures. We find that language confusion can be partially mitigated via few-shot prompting, multilingual SFT and preference tuning. We release our language confusion benchmark, which serves as a first layer of efficient, scalable multilingual evaluation at https://github.com/for-ai/language-confusion.
[ 0.0186373275, 0.0014448348, -0.0092494506, 0.0695302412, -0.0299967881, 0.0111029893, -0.000457937, 0.0040511666, 0.0428863876, -0.0328843221, -0.059754774, -0.0584288873, 0.0049278932, -0.006423641, 0.012928132, -0.0420237929, 0.0506106615, -0.0463662669, -0.0388426445, -0.0265941285, 0.0039680018, 0.0225983635, -0.0056913113, 0.0340679139, -0.0034772924, -0.0216162596, -0.0203258749, 0.0493126996, 0.006719525, -0.0329438858, 0.0125984009, 0.0207555816, 0.0246977601, 0.0275771096, 0.0000020282, -0.06379655, 0.0198124461, -0.0367368981, -0.0355327018, -0.0173070133, 0.0263669975, -0.0184276663, -0.0189550575, 0.0305287838, -0.0248850212, 0.0520004518, 0.0467597097, -0.0053011985, 0.0431063697, 0.0708193406, 0.0244736727, 0.0045864326, -0.0148338126, -0.0222011395, 0.0267828945, -0.0290413052, -0.021350937, -0.0361622125, 0.0283728652, -0.0074972198, 0.0004437532, 0.024138432, 0.0443306491, 0.0015832002, -0.038655363, 0.022012027, 0.0086072842, -0.0217160787, -0.0466659553, 0.0795099214, 0.0010184821, 0.009856334, -0.002554968, -0.0207477249, 0.0068288613, -0.0217554606, -0.02050546, 0.0345879048, -0.0348297432, 0.0034013845, 0.0395250879, 0.0030599546, 0.0276947115, 0.019500548, -0.0084621469, 0.0916996002, 0.0070254654, -0.0119373566, 0.021878019, 0.0248194616, 0.0289764535, -0.0779546648, 0.0157746151, 0.0583403967, -0.1123911291, 0.026171973, -0.0578869991, 0.0019368294, 0.0318485759, -0.0517086014, 0.0672883317, 0.0572477356, -0.0270924214, 0.0295377877, -0.0138534205, 0.0675031692, 0.0042483648, 0.0241709985, -0.0492795631, -0.0060367025, -0.013214251, -0.0105744256, -0.0272508152, 0.0050083688, -0.050623592, -0.0022436115, -0.0552194864, 0.0389664918, -0.0094925482, 0.0583310947, 0.0082896482, -0.0192442089, -0.0529124103, -0.0079617454, -0.0197906867, -0.0058026775, -0.0497693941, 0.0282299202, 0.0398942493, -0.074121438, -0.0127608944, 0.0477701575, -0.0517987981, -0.0210347995, 0.0038549618, 0.1016133279, -0.0404227078, -0.0095253298, -0.0667928234, -0.0504925139, 0.0064376397, -0.0735436827, 0.0086915046, -0.0687278882, 0.0360384807, 0.0147641022, -0.0002010585, -0.040495757, 0.013587568, 0.0161170028, 0.0123952683, 0.0646352991, -0.037434224, -0.0018676657, 0.0489879996, 0.0201107655, -0.0364025384, 0.0850398913, 0.0385180153, 0.0733538941, 0.0212419331, 0.0095764557, 0.0405209437, 0.0720969588, -0.0204568431, 0.0238024984, -0.0252549704, -0.0135534983, -0.0383556709, 0.040455386, 0.0493866727, 0.04552228, -0.0035642756, 0.0243290961, 0.0386512168, 0.022829799, 0.0059945988, -0.0120284548, 0.0853895098, -0.0056561469, -0.0102531733, 0.0194998682, -0.0580865629, 0.0399720483, -0.0465394668, 0.0152964666, -0.0035077818, 0.0233258232, -0.0337693803, -0.059428636, -0.0100720879, -0.0037931555, -0.0254709274, 0.0179196857, 0.013160076, 0.0091026016, -0.0377824008, 0.0570269451, 0.0201862715, -0.0385298803, 0.0046039843, -0.039822381, 0.0134179499, 0.1149955541, 0.0221984014, 0.0046511646, -0.0476362854, -0.0046270154, -0.0052365693, 0.0782847181, 0.0624055229, -0.0161960665, 0.0104100984, -0.0550696701, -0.0274415035, -0.002273079, -0.0005644494, 0.0523258299, -0.0054487586, 0.0267655086, 0.0182383489, -0.0387382917, -0.0160723086, 0.0249138866, -0.0649471954, -0.0363774784, -0.0002464947, 0.0051140273, 0.0183344223, 0.0137282936, -0.0071072369, -0.0054136398, 0.0110135786, -0.0345364474, -0.010456088, -0.0028676831, -0.0597712845, -0.0372778364, 0.0263775196, 0.0239371955, -0.0168975554, -0.0317007862, -0.0515812859, -0.0408696383, -0.0135237901, -0.0367591232, -0.0089131128, -0.0288572237, 0.0096274028, 0.017217949, -0.0168189593, -0.0396954603, 0.0498817526, -0.0291859079, -0.0118581839, 0.0690555945, 0.0213699043, 0.0119837383, -0.0561788753, -0.0143155884, 0.0491008945, 0.0093478216, 0.0078612743, 0.023503948, 0.0672866255, -0.0486521907, -0.0643788874, -0.0570644364, 0.0118268654, -0.0409149788, 0.0159718115, 0.0080293352, 0.0040679909, -0.0194841549, -0.0173496976, -0.0561822504, -0.0058447872, 0.0345300846, 0.0362538286, 0.0246435832, -0.0037840172, -0.0142135127, -0.0496499985, 0.0310830679, 0.0082057668, -0.0130716339, 0.0042804978, -0.0247460753, -0.1050704345, 0.0413285904, -0.0524359159, -0.0094028339, -0.0166236553, -0.0257325023, 0.0263341423, 0.0047042342, 0.0401432551, 0.0315188207, -0.0296260603, 0.0397261679, 0.0626619905, -0.0323707052, -0.0804651603, 0.0136377364, 0.0192983821, -0.0391893052, -0.0346250981, -0.0547277406, 0.0011992787, 0.0514268428, 0.0106327143, 0.0295199528, -0.0398110077, 0.0284708031, -0.0111802686, -0.0431800336, -0.0259055812, 0.0132539319, -0.0164549723, 0.080142498, -0.0033771214, -0.0525445007, 0.0763840377, -0.0399205908, 0.0095332926, -0.0301485714, -0.0155844241, -0.0351713337, 0.0164112132, -0.0509427525, 0.0313024409, -0.0254920181, -0.031967245, -0.0541567691, -0.0161235686, 0.0086276801, -0.0286197923, 0.0395638645, -0.0654960275, -0.0031468249, -0.020520933, -0.0523543917, -0.0454262383, 0.0003953982, -0.0216923263, 0.0059033348, 0.0015028833, -0.0139962612, -0.0151619297, -0.031012699, 0.0281215068, 0.0237361379, -0.0127793048, -0.0266886167, -0.0545956567, 0.0015110301, 0.0363547839, 0.0404720046, 0.0209576786, -0.0608163737, 0.0317438766, 0.0228056852, 0.0091616269, -0.0369616337, -0.0164906774, 0.0113056619, 0.0622769259, -0.0199194178, -0.0267906431, 0.0512065999, 0.086381793, -0.0379993916, -0.0155262453, 0.105171442, 0.0221191384, -0.0327146426, 0.0040263915, -0.0473219231, 0.0497392491, 0.0280873422, 0.0412876122, -0.1019590497, -0.0283151865, 0.0162276626, 0.0577404015, 0.0056537627, -0.0095600802, -0.0267645735, -0.1061311066, 0.0512794144, 0.016623918, -0.0372917317, -0.0084117604, 0.012198898, -0.0223601181, 0.0187567081, 0.0586216152, 0.0045902478, 0.0063908454, -0.0068078199, 0.0208103228, 0.0167539641, -0.0366143659, 0.0038592147, -0.0194067433, 0.0421445966, 0.071954824, -0.0136452653, 0.0028046463, -0.0493231788, 0.0355564356, 0.022171868, 0.0263224021, -0.0344093144, -0.0039978656, 0.0452634133, -0.0150327897, 0.0237276144, 0.0153573314, -0.0348367058, -0.0026070182, 0.0191682335, 0.0485929847, -0.0540982485, -0.0008722291, -0.0086402921, 0.0087737367, 0.0408584364, 0.049711097, 0.0285290293, -0.0320258141, -0.0497005768, -0.0788540319, -0.0070348927, -0.0381693281, 0.0005992698, 0.0186254513, -0.0303733964, -0.0110626714, -0.068171151, -0.0680807456, 0.0086217197, 0.0164992381, 0.0373088978, -0.0105909454, -0.0070785107, -0.0167633537, 0.0141521236, 0.0103676459, -0.0343644358, 0.0310014337, -0.0889798179, -0.008740196, 0.0321783125, -0.0477579571, 0.0170283634, 0.0518299118, -0.0423814245, -0.0705999359, -0.015177899, 0.0655199215, 0.0260941274, 0.0458343737, -0.0035591247, -0.0600393973, 0.0207931623, 0.0410912856, 0.0343550444, 0.0231334791, 0.0150833484, 0.0616525896, -0.0186625998, 0.0453258567, -0.0683435649, 0.0129100801, 0.0119762616, 0.0363539122, -0.0261276029, -0.0504508168, 0.01948555, 0.04604939, -0.0146141257, -0.0555586368, 0.0356399976, -0.0222244784, 0.0161064304, -0.0050528967, -0.0252964329, -0.0478164963, -0.0058395248, 0.0095286705, -0.0558204874, 0.0249024481, -0.0198366977, -0.0216152091, 0.0287051331, -0.0281923637, 0.0000035033, 0.0028654241, 0.0363794491, 0.0278701838, 0.0243438408, -0.0206790194, 0.0540860556, -0.0060572228, 0.0609514862, 0.0098116612, 0.0679317862, 0.0097820694, 0.0033153843, -0.0190101136, 0.0436196104, -0.003347866, -0.0998034254, 0.0021911571, 0.0444653891, 0.0868546814, 0.026691081, 0.0448482819, -0.0358552076, 0.0158492383, -0.0122299818, 0.0198939499, 0.034554366, -0.04458097, 0.0594024844, -0.0021416144, -0.011714153, -0.010116389, 0.0775730014, -0.0142528061, 0.0473426916, -0.0013314644, 0.017874103, -0.0483680889, -0.0265389867, 0.0213154647, 0.0022479524, -0.0037496032, -0.0199841037, -0.053226199, -0.0399031639, 0.0403659344, 0.0380600989, -0.0162037555, -0.0148331579, 0.0495003574, 0.0709565207, -0.0029676084, -0.0011391888, -0.024336502, -0.0073872455, -0.0064410055, -0.0527213402, -0.0275593866, -6.029960187e-33, -0.0640681237, -0.0366025418, 0.0584214516, -0.0163124111, -0.0039549866, -0.0294620804, -0.0365031473, 0.0067839092, -0.0115753757, -0.0043649268, -0.0267056338, -0.0223844834, 0.0291012432, 0.0123310843, 0.0472092703, -0.0320220217, 0.0479094945, 0.0173152182, -0.0398155265, 0.0192236919, 0.054332979, 0.0084006321, 0.0682376549, -0.0677039772, 0.0380095281, 0.0043902663, -0.0407474488, 0.0286746211, -0.0368177742, 0.0284379683, -0.0092104385, 0.0481802858, -0.0039113569, -0.0046155881, -0.045396369, 0.003218587, 0.0083229383, -0.068097651, 0.0199314617, 0.0158636272, -0.0361338966, -0.0876006708, 0.0374933258, -0.0273087583, -0.0606574826, 0.0403915048, 0.0121428687, -0.0108327009, -0.0049574096, -0.0338428244, -0.0553551205, 0.0130694462, 0.0051388643, -0.0367764533, -0.0123303253, 0.0489402153, -0.0114949923, 0.0231181327, -0.0761793479, 0.0315428898, 0.0237196293, 0.0151216285, 0.1107168943, 0.014201114, -0.0469933636, 0.0301850904, 0.0126021998, 0.0374244712, 0.0316420868, -0.0043794201, -0.0020994595, 0.0413169935, 0.0307097193, 0.0639943928, -0.0083608404, 0.0110774208, -0.0278399214, 0.0577559285, 0.0290262308, 0.0068705487, -0.0090686129, -0.0065444037, -0.0236813258, -0.0281276107, -0.0364261121, -0.017571073, -0.0252140108, -0.0362345614, 0.0469408892, -0.0080288155, 0.0433232225, -0.0585125126, 0.0322606526, -0.0067399265, -0.0222428683, -0.0177376699, -0.031448327, 0.0224501863, 0.0144306365, 0.0345484689, -0.0296793841, -0.0330588296, -0.0126265846, -0.0017115176, 0.0101605421, 0.0323037691, -0.0017439806, 0.0255773477, -0.0472569466, 0.0371900871, -0.0413350277, 0.0432101861, 0.0046759699, -0.0200111922, 0.0231132004, -0.0379264317, -0.0253085271, 0.0393798836, 0.006930985, -0.0470851436, -0.0117849614, -0.0278644208, -0.0198026337, 0.0500142537, -0.0370266177, 0.0259798691, -0.0384697057, 0.0241162125, 0.0103907641, -0.0299519841, 0.007580725, 0.0035797432, 2.711e-7, 0.0050565791, 0.0404353552, -0.0107484059, 0.0550327152, 0.001678559, 0.0299218148, -0.0372213162, 0.0331587866, -0.0175022203, -0.002671879, -0.0032529009, 0.0046393001, 0.0508788191, 0.0326146856, -0.0569817796, 0.0182851367, -0.0542053618, 0.0439369306, -0.0663367808, -0.0017236152, 0.0504912026, 0.0416216888, -0.0172876269, -0.0211008191, -0.0043004681, -0.0261373185, 0.0554527231, -0.0430639535, -0.0160175003, 0.0334207229, 0.0594401769, -0.0083934106, 0.0096760662, -0.0141615486, -0.0044504879, -0.0185813066, -0.0166834556, 0.050892666, 0.02360503, -0.0465526432, 0.0095876185, -0.0233522207, 0.0109985145, -0.0556650199, 0.0227355901, 0.0033569674, 0.0066752592, -0.013433394, 0.009256186, -0.0278163701, 0.0429007784, -0.0577020943, -0.0123784328, 0.0153885586, 0.007037092, -0.0078903073, -0.0393883325, -0.0091134766, -0.0083335228, -0.0012480514, -0.02735167, -0.0361942537, -0.0559928976, 0.0402664281, -0.0073831324, -0.0392494835, -0.0096478956, 2.232094106e-34, 0.0151269855, -0.0128459092, 0.026550483, 0.0508688092, 0.0198475793, 0.0293114334, -0.0162079707, 0.0374375246, 0.0040592882, -0.0303841028, -0.009383129 ]
http://arxiv.org/abs/2407.00146v1
http://arxiv.org/pdf/2407.00146v1
The Qiyas Benchmark: Measuring ChatGPT Mathematical and Language Understanding in Arabic
2024-06-28T16:34:31
2024-06-28T16:34:31
Shahad Al-Khalifa, Hend Al-Khalifa
cs.CL
cs.CL, cs.AI
Despite the growing importance of Arabic as a global language, there is a notable lack of language models pre-trained exclusively on Arabic data. This shortage has led to limited benchmarks available for assessing language model performance in Arabic. To address this gap, we introduce two novel benchmarks designed to evaluate models' mathematical reasoning and language understanding abilities in Arabic. These benchmarks are derived from a General Aptitude Test (GAT) called Qiyas exam, a standardized test widely used for university admissions in Saudi Arabia. For validation purposes, we assess the performance of ChatGPT-3.5-trubo and ChatGPT-4 on our benchmarks. Our findings reveal that these benchmarks pose a significant challenge, with ChatGPT-4 achieving an overall average accuracy of 64%, while ChatGPT-3.5-trubo achieved an overall accuracy of 49% across the various question types in the Qiyas benchmark. We believe the release of these benchmarks will pave the way for enhancing the mathematical reasoning and language understanding capabilities of future models tailored for the low-resource Arabic language.
[ -0.0153652262, 0.0685134307, -0.0123280622, 0.0400082171, -0.0640333146, 0.0369072631, 0.0427002087, -0.0030013467, -0.0398926884, -0.0228645075, -0.0189686064, -0.087965332, 0.0359991007, 0.0155970855, 0.0456028916, -0.0278541986, 0.0323737971, -0.0644716918, -0.0073717409, -0.0105247963, 0.0144718457, 0.009766412, -0.0445480384, 0.018473452, -0.0003395287, -0.0627792776, 0.0066445153, -0.0597270802, -0.0068548298, 0.0052878242, 0.0086156344, 0.071234107, -0.0067215394, 0.0299216099, 0.0000022612, -0.0923719332, -0.0347805507, -0.015144486, -0.0364079587, 0.0199418981, 0.0104583586, -0.0323603153, -0.0342596993, 0.0126436697, -0.0580974296, 0.0148408348, 0.0134735871, 0.0213405211, 0.0413409658, 0.0712768957, 0.0001950016, -0.0415977016, 0.045488961, -0.0175920762, 0.0209011082, -0.0626224205, -0.0074153198, 0.0619353317, 0.0035060635, 0.0143456711, -0.0438117497, 0.0294253696, 0.0508651175, -0.0020078903, -0.0380334333, -0.0091719963, -0.0749715194, 0.007177982, 0.0372231491, 0.0196405482, -0.003938748, -0.0169737488, -0.0115674585, 0.0263055116, -0.0026876193, 0.0311744139, -0.0587993152, 0.0329049677, -0.0254401583, -0.0156059917, 0.0291432738, -0.0191072542, 0.0108387908, -0.0019327581, -0.0492106751, 0.0930057764, 0.0321567059, -0.0312127117, 0.0214077178, -0.0210937876, -0.0648300946, -0.0233606752, 0.0092833098, 0.0049453089, 0.0119435908, -0.0140364105, 0.0132211642, -0.0166229829, -0.0198819619, -0.073103264, 0.0070841224, 0.1089841351, -0.0047007664, 0.0250416156, -0.0273098294, 0.0910592303, 0.0579245314, 0.0383807421, -0.0527942292, 0.0280622263, -0.0531371832, -0.0188652538, -0.0282202493, 0.0307784975, -0.0340691209, 0.0322440043, -0.0878821239, -0.0100279404, -0.0346644856, 0.0028363131, 0.0063189385, -0.0370625146, -0.0206487104, -0.0197796337, -0.0191805027, -0.0122627905, -0.0371854268, -0.0142117953, -0.0387109742, -0.0830153227, 0.0161426347, -0.0097170137, -0.0099541964, -0.0089426199, -0.0015095578, 0.0596720837, -0.0056718192, -0.0316658355, -0.0120332669, 0.0447711647, -0.0019169103, -0.0768913403, 0.0024122915, -0.0528633446, 0.043584127, 0.0176314693, -0.0151009047, 0.0112560326, -0.0149383238, 0.0057697035, 0.0706058443, 0.0364346914, 0.0493646301, -0.0084067089, 0.0524544157, 0.0351070426, 0.0014966334, 0.06905514, 0.0257057939, -0.0550290197, 0.0187333506, -0.0197565742, -0.0168599952, 0.047019612, 0.0106463702, -0.0085178809, -0.0049414304, 0.011002033, 0.0413436629, 0.0652910918, -0.0497248732, 0.0145437056, -0.0221436694, -0.0260927081, 0.0256664716, 0.0514567867, -0.0126993135, 0.0344448574, -0.0004609508, 0.0196185894, 0.0742073134, -0.0079993121, -0.0157600809, 0.002092195, -0.0040817088, 0.0282972325, 0.0163471997, 0.0417871922, -0.0098037571, -0.0768494159, -0.0181371272, -0.01000717, -0.0038901134, -0.0041583618, 0.091020368, -0.027619198, -0.0033257485, 0.0168041978, 0.0047478355, -0.021080751, 0.0091663562, -0.054415334, -0.0094021568, -0.0131194824, 0.0123202251, -0.0186465736, -0.0607044473, -0.0077565224, 0.010661928, 0.0182358772, 0.0489491858, -0.0101206908, -0.001130687, -0.0280455984, -0.0031600392, 0.0092856567, 0.0128339501, -0.0123611642, 0.0212559327, 0.0597425066, -0.0049900394, -0.0500095002, 0.005346973, 0.0101306587, -0.0730633885, 0.0004229945, -0.021068925, -0.0066286051, 0.0142616499, 0.0166592896, 0.0093700578, 0.0058269468, -0.0175499897, -0.0362348109, -0.0230400208, 0.0001288467, -0.0746558458, -0.0276785139, 0.0663109869, -0.030339634, -0.0251499824, 0.0385866053, -0.0337172858, -0.0329166055, 0.0858968496, -0.0060588825, 0.0285915136, -0.033261776, 0.0434558578, -0.0098665841, 0.0181861334, -0.0088756243, 0.074358575, -0.0030691288, 0.0311553758, -0.0158612318, -0.0180697516, 0.0843113959, 0.0105454763, -0.0090595782, 0.0011776329, -0.0207445193, 0.0221253727, 0.023092065, 0.0171236135, -0.0410433449, -0.0087481048, -0.0393902436, 0.0030306228, -0.0241250321, 0.0593433529, -0.0041442378, -0.0200638771, -0.019413108, 0.0010837987, -0.036822632, -0.0403258055, 0.0085598333, 0.0004609606, 0.0270169303, -0.0199613683, 0.0056275558, -0.0443961583, -0.0213307589, -0.0225944929, 0.0460861661, 0.0364556201, 0.0206834842, 0.0598932095, -0.0017549162, -0.0427488238, -0.0078884214, -0.0170250144, -0.01383672, 0.0450163558, -0.015075122, 0.0270878691, 0.0269829407, 0.0051827016, 0.0061724163, -0.0186499618, -0.0077530444, -0.0493639745, 0.0157671291, -0.0011433053, -0.0192521363, -0.021954339, -0.0422551371, -0.0346132144, 0.0533396006, -0.0169966556, -0.0351376534, -0.0400272794, 0.0489623249, -0.0688931346, 0.0288866814, -0.0556701794, 0.0475866608, 0.0082005356, 0.0847261995, -0.0240447354, -0.0267548934, 0.016447546, -0.0109490706, -0.0065155542, -0.053561341, 0.0405882038, -0.0557315089, 0.0117403204, -0.0150794806, -0.0036070431, -0.0464731976, -0.0186496209, -0.0552394912, -0.0185770337, 0.0366486274, -0.0373338871, 0.0281661637, -0.0493313111, 0.016935356, 0.0008150288, -0.0393146016, -0.0229865797, 0.0495506227, -0.0199850984, 0.0232262649, 0.0010287879, -0.0272067003, -0.0149995303, 0.01947782, 0.0057451962, 0.025808828, -0.0354781449, -0.0047149616, 0.0040841359, -0.0482104979, 0.0410030968, 0.0101841167, 0.0393308736, -0.029977642, 0.0249599349, 0.0433005504, 0.0024489465, 0.0104071358, -0.0315784663, 0.0358588584, 0.0250836313, -0.042016495, -0.0650039092, -0.0221523289, -0.0159589648, -0.0489338189, 0.0007017958, 0.125390783, 0.0482971817, 0.0151194027, 0.0161291305, -0.0588469282, -0.0014264989, 0.0022282552, -0.0018241755, -0.1255669594, -0.0001060252, 0.0219667461, -0.0012717218, 0.0253195465, -0.01518788, 0.0255330447, -0.1069395319, 0.0040213903, -0.0040016621, -0.0679633692, -0.0084176119, -0.0362682007, 0.0021549072, -0.0079638809, 0.0224831495, 0.002714105, -0.0040294849, 0.0499728695, 0.0498189293, -0.044825051, -0.0472828373, 0.0556933321, -0.0055702413, -0.000428079, 0.0012569227, 0.0249126852, -0.0388256647, -0.0415159054, 0.032794714, 0.0216724612, -0.0710421503, 0.0019771243, -0.0148476576, 0.0079415403, 0.00042781, -0.0215147864, 0.0069539426, -0.0569338538, 0.0140046459, 0.0195903629, 0.0703769922, -0.0049145035, 0.0146146035, 0.0139236832, 0.0175803304, -0.0655469373, 0.0537300594, 0.0183979142, -0.0250103157, -0.0491656251, -0.0281108338, -0.028067302, -0.0628435463, -0.037805777, -0.0024946583, 0.0478847437, -0.0021151237, -0.0673135966, -0.0610693991, 0.0106837219, 0.0147610391, 0.0061397883, -0.0009286947, 0.0033403984, 0.0118713472, -0.0217037033, 0.0143225752, 0.0067265606, 0.0163964648, -0.0600036606, 0.01925168, -0.0151410205, -0.0620599799, -0.0489639379, -0.0246369522, -0.079966493, -0.0211753566, 0.0281776078, 0.018291099, 0.0214049108, -0.0238305461, -0.0005083412, 0.0016755855, -0.015244551, -0.0286669582, -0.0108088339, 0.0426438078, 0.0286865886, -0.0212232098, -0.0079333121, 0.0322016813, 0.0310611241, 0.0126304654, -0.0017204157, 0.0166281536, 0.0026226558, -0.009976482, 0.0159949791, 0.0220477134, -0.0029577739, 0.0167795531, -0.0499629006, -0.0188037865, 0.0249027256, -0.0237671882, 0.021025734, -0.0379433595, -0.0062746573, 0.0298493225, 0.0319604389, -0.0269098822, -0.0405693687, 0.002473617, -0.002844566, 0.0101220189, 0.0380358323, 0.0006150854, 0.0353333242, -0.0048326445, -0.0062459423, 0.0208454076, -0.0696685836, -0.0148806144, 0.090396814, -0.0333688147, 0.0586431995, -0.0199311785, 0.027014479, 0.0539229102, 0.0274157412, -0.0055276817, -0.0660902858, 0.0100743491, 0.0646325424, 0.0298573673, -0.0130584473, 0.007878785, -0.0169459805, 0.0047813025, -0.0240072645, 0.0017899813, -0.0007359234, -0.0193329919, -0.0056796102, 0.0100070871, 0.0109299775, 0.0064436384, 0.0584664829, -0.022820536, 0.0063017751, 0.0159081779, 0.0258743055, -0.0060559963, -0.0036476501, -0.0106994007, -0.010075842, -0.0104600517, 0.0306281522, -0.081984669, -0.115387626, 0.0099614318, 0.0381325856, -0.0099015785, 0.0117949452, 0.0243990831, 0.0966386423, -0.0411505811, -0.0092625795, -0.0397485159, 0.0116599435, -0.0330304243, -0.0242484398, 0.010025626, -6.353645414e-33, 0.0084030377, -0.0028257717, 0.0538309626, -0.0033042354, 0.0328858756, -0.0216751769, -0.0279952902, 0.0195928086, -0.0277917851, 0.0006401984, -0.0362436958, 0.0361354463, 0.0114621446, 0.0145807397, 0.0162231978, -0.0238210689, -0.0283688512, -0.0331088454, -0.0203227513, 0.007135137, 0.0202858448, 0.0233372524, 0.138642177, -0.0351812951, 0.0423337482, -0.0195694212, -0.0073843896, 0.0211283043, -0.0274287965, 0.1026117876, -0.0160793085, 0.0193405803, 0.0221321452, -0.0485906228, 0.0292280708, -0.0468623489, -0.0475276113, -0.0547362752, 0.0388370715, 0.0563787185, -0.0064223097, -0.0169307385, -0.0251439884, 0.0068962486, -0.0630636811, -0.0216049124, 0.0054924712, -0.0199746918, -0.0027516261, 0.0420378372, -0.0591184422, 0.0428525023, -0.0514344014, 0.0182986595, 0.019470755, 0.0503472835, -0.0345967859, -0.019662194, -0.0128116766, -0.0110111935, 0.0139308721, 0.0472754426, 0.0651424676, -0.022454368, -0.0440253466, 0.0410031714, 0.0381489135, -0.0359521694, 0.0647416562, -0.0022587059, 0.0642356128, -0.0227898024, 0.0739174709, 0.0542880073, 0.0665183961, 0.0035416398, -0.1029929146, 0.02511435, -0.0169579778, 0.0329400077, 0.002085845, -0.0272232909, -0.0817283094, -0.0082304943, -0.0289843902, 0.0156598203, -0.031972222, -0.0079648951, 0.0511231236, -0.0491095446, 0.0011690198, 0.0356686041, 0.0297346488, -0.0146764945, 0.0183936711, -0.0128649594, 0.0045266906, 0.0001632221, 0.0016649676, 0.0822577626, -0.0507896654, -0.0210367423, -0.029946629, 0.0309610702, 0.0340956226, 0.0011080488, 0.0324041247, 0.026200667, -0.0596722886, -0.0037104073, -0.0333484374, 0.0248943008, 0.0264136512, 0.0781622529, 0.0189662222, 0.0224264245, 0.0086814677, 0.0330031104, 0.0055206781, -0.0140166031, -0.0561616793, 0.0165725145, -0.0322000161, 0.0003772196, 0.0174474418, 0.0097501893, -0.0348279998, -0.0078356015, 0.0074648717, -0.0674808249, 0.0211099088, 0.0239744596, 2.957e-7, 0.080835931, 0.0354843885, 0.0108796693, 0.0066303052, -0.0256173052, 0.007167357, -0.0377669781, -0.0272592865, 0.0463333726, 0.0524122678, 0.0080243144, 0.0322784111, 0.0620482713, 0.0085837459, -0.0784453601, 0.0203958955, -0.0340136364, 0.0034959889, -0.042531956, 0.0367039442, 0.0347545594, 0.1087275892, -0.0346876159, -0.0144879073, -0.0239689983, -0.0689035803, 0.0564740635, -0.0225978382, -0.0198547076, 0.0496237129, 0.0427859239, -0.0227687992, 0.0529638976, 0.0104382262, -0.0409374945, 0.0209287107, 0.0521463156, 0.0868914053, 0.020559743, 0.0142692439, -0.0062536197, -0.0066119879, -0.0092466101, -0.0623221174, 0.0764274746, -0.0126311257, -0.0295007937, -0.0008480041, -0.0315039158, -0.0047979299, 0.0417785533, -0.0093372483, 0.0119826533, 0.014842906, 0.0553970076, -0.0280730855, 0.020735953, -0.0071299854, 0.012817692, 0.0039637601, -0.0058274549, -0.0390476547, -0.0269054044, -0.015892487, 0.0190255903, 0.0159698203, -0.0220623948, 2.567548511e-34, 0.0394364744, 0.0029907243, 0.0398965888, 0.0185116678, 0.0483863056, 0.000677596, 0.0007296004, 0.0003647207, 0.0021349038, -0.0268309265, -0.0044226618 ]
http://arxiv.org/abs/2406.20038v1
http://arxiv.org/pdf/2406.20038v1
BioMNER: A Dataset for Biomedical Method Entity Recognition
2024-06-28T16:34:24
2024-06-28T16:34:24
Chen Tang, Bohao Yang, Kun Zhao, Bo Lv, Chenghao Xiao, Frank Guerin, Chenghua Lin
cs.CL
cs.CL
Named entity recognition (NER) stands as a fundamental and pivotal task within the realm of Natural Language Processing. Particularly within the domain of Biomedical Method NER, this task presents notable challenges, stemming from the continual influx of domain-specific terminologies in scholarly literature. Current research in Biomedical Method (BioMethod) NER suffers from a scarcity of resources, primarily attributed to the intricate nature of methodological concepts, which necessitate a profound understanding for precise delineation. In this study, we propose a novel dataset for biomedical method entity recognition, employing an automated BioMethod entity recognition and information retrieval system to assist human annotation. Furthermore, we comprehensively explore a range of conventional and contemporary open-domain NER methodologies, including the utilization of cutting-edge large-scale language models (LLMs) customised to our dataset. Our empirical findings reveal that the large parameter counts of language models surprisingly inhibit the effective assimilation of entity extraction patterns pertaining to biomedical methods. Remarkably, the approach, leveraging the modestly sized ALBERT model (only 11MB), in conjunction with conditional random fields (CRF), achieves state-of-the-art (SOTA) performance.
[ 0.0644002259, 0.0605381913, 0.0447045751, -0.0066636833, -0.0130774435, 0.0350721143, 0.0163840633, 0.0378533863, 0.0300708283, -0.0300555117, -0.0400233045, -0.0551382042, 0.0004332902, 0.0013055926, 0.0292236619, 0.0017347706, 0.0230096076, 0.011626929, 0.0274347235, 0.0182425175, -0.0232740492, 0.0031610671, 0.0040984941, 0.0275927205, 0.0737080947, -0.00489065, 0.011266523, -0.0026532507, 0.0742099881, -0.076017797, -0.0056051007, 0.0459489152, -0.0279952325, 0.0462788157, 0.0000018677, -0.0504906438, -0.0396093056, 0.0725352466, -0.0175171513, -0.0118378801, 0.039402537, -0.0302506462, 0.0013336256, -0.0132548362, -0.0057599503, -0.0328680128, 0.0425855741, 0.046388872, 0.0103471298, 0.0465412512, 0.0023044122, -0.0315669328, 0.0710656121, -0.0061557605, 0.0106493058, -0.016752664, 0.0798852965, -0.0340182856, 0.0318624042, 0.0465435274, 0.0243953951, 0.0444499291, -0.0471608192, 0.0415514335, 0.0510396659, 0.0403975546, -0.0374014415, -0.0032733588, 0.0111648487, 0.0598793514, 0.0190720204, -0.0085042147, 0.0603406541, 0.0199532397, -0.0653190762, 0.0390344523, -0.060918916, 0.0118990531, -0.0840646476, -0.0090835709, 0.014921153, -0.0284909122, 0.0406494811, 0.019279981, -0.0032454447, 0.0331041552, 0.026409531, -0.0440561995, 0.0400285646, -0.0279278904, -0.0382787064, -0.0255062487, 0.0265607517, 0.0111997351, 0.0153014492, 0.0232201964, -0.0064589977, -0.0317817517, 0.0472433977, -0.0588625893, -0.0053194603, -0.0054983557, 0.0052590775, 0.0260335654, -0.0339729153, -0.023165796, -0.0462480038, 0.0256903451, 0.0222841892, 0.0138011221, -0.067093946, -0.0233921446, 0.0041994983, 0.0389176421, -0.0098164901, -0.0138865979, -0.0791152716, -0.0286262743, -0.0180164631, 0.0167795662, 0.0247876644, 0.0153759783, -0.0069876583, 0.0019282434, -0.0278170481, 0.0259410907, 0.0329327062, -0.0067924992, -0.04296422, -0.043123845, -0.0036121779, -0.0129514225, 0.0200067088, -0.0530300364, 0.040708214, 0.0537421033, 0.0540617667, -0.0753028989, -0.0124510936, -0.023714507, 0.0087410519, -0.0379905626, 0.0328971371, -0.0291450396, 0.0413427316, 0.0160412248, 0.0140531128, -0.0548436046, 0.0287457667, 0.0318586305, -0.076589562, 0.0931553915, -0.0518291369, -0.0203051697, 0.0354222655, 0.0045938548, 0.0482296497, 0.0098372586, 0.0034173434, -0.0474702753, 0.0221321881, 0.001521158, 0.0069807344, 0.0085891979, 0.0058197672, -0.0423675701, -0.0265312474, 0.0285936724, 0.0036084794, 0.06167024, 0.0302505586, 0.0408217385, 0.011608351, -0.0364746079, 0.0102968104, 0.0862693936, -0.0155331548, -0.0079927268, 0.0247662328, 0.0029929548, 0.0457684621, -0.0314397439, -0.0027176016, -0.0160353314, -0.0390443541, 0.033821065, 0.0217738301, 0.0270978864, -0.0296062808, 0.0202752482, -0.0270163231, 0.0029594623, -0.0432052389, -0.0031493793, 0.0672656894, -0.017546162, -0.0376639441, 0.0605624467, 0.0731814653, -0.0295103751, 0.0067975461, -0.0346394181, -0.0255705193, 0.0318844765, 0.0565817244, -0.0771519989, -0.0107479086, -0.0236742105, -0.0210071988, 0.0406026319, -0.0201490391, -0.0139307715, 0.0143454764, -0.0312565081, -0.0116827069, 0.037808191, 0.0155105134, -0.0096576354, 0.0379878618, 0.0228891224, -0.0161079429, -0.035826467, -0.0496986322, 0.0491109081, -0.0839594826, -0.0520181358, -0.0060496586, -0.0268358123, 0.0207034312, 0.0302969497, -0.026139643, 0.0235842634, 0.03644941, -0.0399586819, -0.0166487638, -0.022333771, 0.0453560166, -0.02912613, 0.0072074588, 0.0049838987, 0.0000203725, -0.0055352906, -0.0305229872, -0.024563225, -0.0455782861, 0.0221180934, 0.0363492407, -0.0177641641, 0.0259328969, 0.0302128233, 0.0132033164, -0.0398109294, 0.0124019915, -0.0307373572, 0.0384542942, -0.0005079677, -0.0380395204, -0.0061978498, -0.0443630069, -0.0475452617, 0.0171090122, 0.0026663076, -0.0103083588, -0.0140866758, -0.0225877333, -0.0249589253, -0.0183864906, -0.094295688, 0.0230315588, 0.0404487476, 0.0247967243, -0.0094637908, 0.0234164745, 0.0036483451, 0.0152846668, 0.0155300302, -0.0336233005, -0.0181704834, 0.0155315846, 0.0181876943, -0.004103119, -0.0151217105, -0.0260582138, -0.0194768086, -0.0462855287, 0.0624304898, 0.0066709165, -0.0342834257, -0.0321456529, 0.0427584723, -0.028032938, 0.0108765, -0.0165550541, 0.0204139296, -0.0017434949, 0.0045918147, -0.014126637, 0.0878228843, -0.0004833379, 0.0451904461, -0.0063284119, 0.0164971594, -0.0071632024, 0.0040865201, -0.042764008, 0.010545956, 0.0114248423, -0.0556291752, 0.0260783676, 0.0565889962, -0.0139106195, 0.0188448001, 0.0016928269, 0.0037331735, -0.0164079592, -0.0196032468, -0.034010455, 0.0225601438, -0.0693998188, 0.0075161741, -0.0006394127, -0.0274232905, 0.0754892081, -0.0519348234, 0.0153728789, -0.0269655902, 0.0219928343, -0.0170280579, 0.0038245076, 0.0379741974, 0.0162251201, 0.0517538786, -0.0289737135, 0.0424387604, 0.0638454258, -0.0100102145, -0.0722192973, -0.0001994315, -0.0164548643, 0.0397884883, 0.0133579904, 0.0034767292, -0.03929241, 0.0035504047, -0.046833612, 0.0375614576, 0.0011515658, -0.0340213552, -0.0264645703, 0.0750475973, 0.0214177053, 0.0271640699, -0.0116947619, -0.0026903257, -0.0320590697, 0.0300687272, 0.0523575395, -0.0223854631, 0.0058720792, -0.0131827584, 0.0190262198, 0.0392494351, 0.0015403066, -0.0085872291, 0.0074012396, -0.0092531033, 0.0201139208, -0.0734976232, 0.0263593681, -0.0097504947, 0.0558466353, -0.031160051, 0.0021382461, 0.1089687124, 0.0300362576, -0.0756847858, -0.0139274169, 0.012546557, -0.0226602517, 0.0005408517, 0.027435394, -0.1027606502, -0.0208796356, 0.0135688763, 0.0232421309, -0.0233472008, -0.0904688388, 0.0127556724, -0.0742827952, 0.0493485257, -0.0207752809, -0.0556555055, -0.0219045654, -0.1019703597, 0.0105851609, -0.0399845839, -0.0138670672, -0.0142406402, -0.0473333225, 0.0028204394, 0.0171671398, -0.0364052653, -0.0949124545, 0.013448081, -0.0494431481, 0.0558831356, 0.0419475548, 0.0237358939, -0.0146046076, -0.0105169201, 0.0003062659, -0.0095521137, -0.0301001985, -0.0359437801, 0.0607997663, -0.0229386818, -0.0117907049, -0.0433299206, 0.0423342511, -0.0401455238, -0.0381848812, -0.0135281365, 0.0540907197, -0.0141961649, 0.0416762866, -0.0516164787, -0.0050203856, 0.0189369135, 0.0804469958, 0.0125940107, -0.0324604027, -0.0041593816, 0.0385687537, 0.0441540256, 0.0166640542, -0.0508829318, -0.0107185235, -0.0698558018, -0.0116312103, -0.020792542, -0.0157478638, 0.0391797014, 0.0124302423, 0.016881071, 0.0390456058, 0.0535018593, 0.0253314525, -0.0693102255, 0.0829249173, 0.0000983698, 0.0189632867, -0.0691637173, -0.0476989597, 0.0391470417, 0.0288928654, -0.0479957983, 0.0483735651, -0.0035996169, -0.0439174771, -0.0088892793, 0.0274940729, 0.0169012714, 0.0027591239, 0.0151846167, -0.0268926602, 0.0008112345, 0.0162546579, -0.0209974386, -0.0080251666, -0.033873409, 0.0366189219, -0.0209731925, 0.0130884657, 0.0223290399, 0.0366639607, 0.0188876931, 0.0638640895, -0.0437525176, -0.0547732376, 0.011338775, 0.0351824388, 0.0824304372, -0.0430507734, -0.032069955, -0.054914318, 0.0064419773, 0.005666472, 0.0301343407, -0.0293498132, -0.0054451111, 0.0304301009, 0.0007429298, -0.0460869186, 0.0339238271, -0.0292736813, 0.0143275131, -0.0165399946, 0.0408690758, -0.0167554785, 0.040238589, 0.0327664241, -0.0135346549, 0.0187318232, 0.0125621054, 0.0153055089, 0.0369708426, -0.0188976619, 0.044045724, -0.022992393, 0.0223741289, -0.0315441228, 0.0218162388, -0.056777183, 0.0066613588, -0.0457653366, 0.0531500615, 0.0083256355, -0.0197998583, 0.0627406463, 0.0052457512, -0.0302010961, -0.03601202, 0.0355383083, -0.0402192958, 0.0616741665, 0.0607692562, 0.0399160795, -0.0443694368, -0.0331031047, 0.0446754843, 0.0507983565, 0.0423134156, 0.0075886878, -0.0769112483, -0.0223860312, -0.0191452652, 0.0499038696, -0.0158373937, -0.0471497737, -0.0034889432, -0.0728280246, -0.0300795622, 0.0626928136, -0.0127138989, -0.0397536419, -0.004756988, 0.0054517519, 0.0029411355, 0.0103063956, -0.0401831418, -0.0390468575, 0.0448751412, -0.0347062126, -0.0728353113, 0.004996866, -5.605375669e-33, -0.0225549843, -0.024963012, 0.0050622481, -0.018050218, -0.0139645319, 0.056464266, -0.03793028, -0.0132721812, 0.0269973855, 0.016717514, -0.0288061965, -0.0228203684, 0.0243859608, 0.0248680357, -0.0193292946, 0.0011549833, 0.0154686831, 0.009016335, 0.027341662, 0.0167821702, 0.0265103783, 0.0759973302, 0.0518157519, -0.0646153018, 0.0435453132, 0.0132632116, 0.0306727774, 0.0073687811, 0.0295326039, 0.0420081653, -0.0913412496, 0.0055850949, -0.0061260625, -0.036982853, 0.0210268125, -0.0094010448, -0.1158439294, 0.0557397269, -0.0034633554, -0.0037067269, -0.016525194, -0.0304875169, 0.0472111963, -0.0016221398, -0.0305393059, 0.0122878132, 0.0516244806, -0.0188881364, -0.0420142077, -0.0519442596, -0.0681820512, 0.0680146441, 0.0304674748, 0.0464020893, 0.0516310818, -0.0368035734, -0.0131356278, 0.0359558463, -0.0515150577, -0.0392873138, 0.0425577909, 0.0114254579, -0.0128126163, 0.0261676442, 0.0211097244, 0.0404012688, 0.0437160134, -0.0283527374, -0.0072919196, -0.0035080842, -0.025198888, 0.0256394539, -0.0087044276, 0.0167322904, 0.0182583462, 0.0037132767, -0.0647311509, 0.0382832363, -0.0542156771, 0.0240299888, 0.0037241445, -0.0367453471, -0.0343150645, 0.0146129522, -0.0140316654, -0.0162886567, -0.0267235953, 0.0056912168, 0.0122035835, -0.028988665, -0.0452518612, 0.0420015827, 0.0312057808, -0.0605642237, -0.0474131145, -0.0129142506, 0.0561413728, 0.0302993748, -0.0300266296, 0.0163365416, -0.0759821385, -0.0388035849, -0.013054206, -0.03242217, 0.0310633238, -0.0277391933, 0.0011072356, -0.021205537, -0.0633363202, -0.0206791982, -0.0120366607, 0.0009157054, -0.0094956206, 0.0720164776, 0.0158964563, 0.0249760114, 0.0249368045, 0.039761845, 0.031391345, 0.0114302803, -0.0185620785, 0.0039983555, 0.0302216914, 0.0244322848, -0.0137341563, 0.008752781, -0.0037674175, 0.0352336504, -0.0078384774, -0.0490726903, 0.0216865409, -0.0036117113, 2.651e-7, 0.0775067061, 0.0151515882, 0.0003921853, -0.0417691432, -0.0060314471, -0.0150507595, 0.0084224176, 0.0205665454, -0.0246097855, -0.0275460146, 0.0452812985, 0.0174003989, 0.0238905456, -0.0138914054, -0.0847116858, -0.0521218553, -0.0567250736, -0.0397842005, -0.0329868086, -0.0072895386, -0.0187103283, 0.0689408332, -0.01902413, -0.0254761241, -0.0086449245, 0.0081545953, 0.0566230826, -0.0195629001, 0.0262952559, 0.0639659464, 0.0124919107, 0.0248892717, 0.0115896165, 0.025536336, -0.0110159097, -0.0119112181, 0.0254316963, 0.0961798579, -0.0424684845, -0.0019176919, 0.0203598347, -0.0039317096, 0.0354812257, -0.0282092765, 0.0289509986, -0.0277170092, -0.0329019018, -0.0328217261, -0.0177490823, 0.0065134098, 0.0244406331, -0.0096862828, 0.0100302696, 0.0503302738, 0.0182969458, -0.0237895623, -0.0111900363, -0.0623079464, 0.0000765892, 0.04823111, -0.0552952252, -0.0155303795, 0.0061460836, -0.0468033999, -0.024223553, -0.0731609836, 0.0077685104, 2.658331572e-34, 0.0188639555, 0.02480698, -0.032320682, 0.0662416443, 0.0119019253, -0.0133293569, -0.0285368543, 0.0214767139, -0.0365997739, -0.092456311, 0.011536533 ]
http://arxiv.org/abs/2406.20030v1
http://arxiv.org/pdf/2406.20030v1
LEMoE: Advanced Mixture of Experts Adaptor for Lifelong Model Editing of Large Language Models
2024-06-28T16:17:41
2024-06-28T16:17:41
Renzhi Wang, Piji Li
cs.CL
cs.CL
Large language models (LLMs) require continual knowledge updates to stay abreast of the ever-changing world facts, prompting the formulation of lifelong model editing task. While recent years have witnessed the development of various techniques for single and batch editing, these methods either fail to apply or perform sub-optimally when faced with lifelong editing. In this paper, we introduce LEMoE, an advanced Mixture of Experts (MoE) adaptor for lifelong model editing. We first analyze the factors influencing the effectiveness of conventional MoE adaptor in lifelong editing, including catastrophic forgetting, inconsistent routing and order sensitivity. Based on these insights, we propose a tailored module insertion method to achieve lifelong editing, incorporating a novel KV anchor routing to enhance routing consistency between training and inference stage, along with a concise yet effective clustering-based editing order planning. Experimental results demonstrate the effectiveness of our method in lifelong editing, surpassing previous model editing techniques while maintaining outstanding performance in batch editing task. Our code will be available.
[ 0.0473288596, 0.049832359, -0.0244470071, 0.0044716503, -0.0060253805, 0.0064928038, 0.0249069482, -0.0602339655, -0.0039280998, -0.0328180231, -0.0364757478, -0.0144411959, 0.0094006239, 0.027131414, 0.0464187078, -0.0738267601, 0.0663531944, -0.0255227908, -0.0587684438, 0.0037748886, 0.0032337662, -0.0246574115, 0.0051870812, 0.0318540372, -0.0026012356, -0.0013488266, -0.0639693066, 0.0056244535, 0.0267163068, 0.0163773485, 0.0011156645, 0.0952783674, 0.0100593176, 0.0462841615, 0.0000021375, -0.0303208008, -0.06223014, 0.0178070478, -0.0324960798, 0.0149709834, 0.0259888265, 0.008176446, -0.0635275245, 0.0018798113, -0.0074655386, 0.0427229479, 0.0886113644, 0.0319374055, 0.0782849416, 0.0908984393, 0.0051105446, -0.0195126217, 0.0620789193, -0.032180395, -0.002177835, -0.0131515265, 0.0527625121, 0.0263707731, -0.0444704331, -0.0031355582, -0.0427725129, 0.0661345944, 0.0229689199, -0.0229093805, 0.0382499211, 0.0073341229, 0.0015282437, -0.0172370225, -0.0202211961, 0.0268711224, -0.0158055052, -0.0190923829, -0.0103553468, 0.0259933509, -0.0064230282, -0.0032424971, -0.0338932127, -0.0055359416, 0.0227683801, -0.0086726788, 0.0045394236, -0.0943440348, 0.0148771172, -0.0023598161, -0.0779131055, 0.0395097695, 0.0412266254, -0.0184962563, -0.0472256616, -0.0114938309, -0.0212323498, -0.0452765822, 0.0264282282, 0.0213712212, -0.0230073426, 0.0065053483, -0.0474668778, -0.0208805632, -0.0488525853, -0.0515450351, 0.0240689497, 0.0613192283, 0.0038675843, 0.0442255847, -0.0387648866, 0.0216021277, -0.0010073016, -0.0022988892, -0.0328348055, 0.0209350009, -0.0763643906, -0.016805049, -0.0304941908, 0.0120643526, -0.0622890629, 0.0183432382, -0.0310672503, 0.0558316484, -0.0157291424, 0.0045656897, 0.0021944751, -0.0049863253, -0.0408878587, -0.0362797864, -0.0199253783, 0.0336824656, 0.0134422351, -0.0029964542, -0.0019411156, 0.0116372351, 0.0006595076, 0.0024425441, -0.0083464347, -0.0191409159, -0.002329088, 0.0667928234, -0.056705948, -0.0100414371, -0.0494471341, -0.0031107275, -0.0048734294, -0.0356012993, -0.0040101307, -0.0424376912, 0.0491094999, -0.0058894404, -0.0243168343, -0.0655640811, -0.0114586018, -0.0260708276, -0.0428618975, 0.0543715395, -0.0151113393, 0.0171456076, 0.0425212495, -0.0000205438, -0.044159051, 0.0483335704, 0.0055491216, -0.0156830754, 0.0248369351, 0.0130002135, 0.0125776837, 0.0390389524, -0.0331131518, 0.0076185907, -0.0489215851, 0.0072144992, 0.0232495088, 0.0212726668, 0.0314648151, 0.0113574024, -0.0326833427, 0.0147126084, 0.0701146126, -0.0252277963, 0.0405722037, 0.0540332086, 0.0192873254, -0.0433184057, 0.0015533317, 0.0152197918, -0.0600782968, 0.0269541517, -0.0466509126, -0.0054959394, 0.044787474, 0.0304918308, -0.0069413572, -0.0250697155, 0.0217441469, 0.0340895541, -0.0290510617, -0.0350680985, 0.0396395177, -0.0224657301, -0.0164964013, 0.0264027026, 0.0196962394, -0.0320651345, 0.0014058433, -0.0408891141, -0.0315159559, 0.0934832767, 0.0398707762, -0.0489374399, -0.1119835228, 0.0049117538, -0.0165156238, -0.0205827057, 0.0021486324, -0.0185553785, 0.0047131134, -0.0419950895, -0.0400358252, 0.0200724099, 0.0252062064, 0.0247749873, 0.0366888121, 0.0061902292, 0.0236548334, -0.0161083099, -0.0299655534, 0.0191394966, -0.062526077, 0.0244228207, -0.0114081446, 0.0126449149, -0.0038547909, -0.0117094666, -0.0441411287, -0.025689438, -0.0018730854, 0.0027275123, -0.0030895693, 0.0119010322, -0.0472399332, -0.0612159707, 0.0565790087, 0.0027700926, -0.0300208014, -0.0376944244, -0.0289362743, -0.0453724749, -0.0106235454, -0.006947739, 0.0551177338, -0.0407349467, 0.0647956282, -0.00700797, -0.0252498835, -0.025839163, 0.034748219, -0.0166768879, -0.0365354344, 0.033103887, 0.0275470484, -0.0324651673, -0.0606372021, -0.0250384007, 0.0060323491, 0.0370257571, 0.0188740399, -0.0204120241, 0.0004444435, -0.0385433324, -0.086115256, -0.0971158817, 0.0216868408, -0.0357128382, -0.0059660212, 0.0326946229, 0.0128952293, -0.0340597779, -0.0030373584, 0.0169897545, 0.0143198669, -0.0434548445, 0.0314904563, -0.0222954378, 0.0099150566, -0.0338341929, -0.0385091007, -0.0206477772, -0.0037020938, 0.0298757739, -0.0376816876, -0.0580210052, -0.0712003335, -0.0214951187, -0.0485749617, 0.0289026052, 0.0062331972, -0.0259724706, -0.0421015769, -0.0207394827, 0.1252626628, 0.0607567094, -0.0082751792, 0.0286260415, 0.0963481516, -0.041201409, 0.0146664483, 0.0191784538, -0.0039575272, -0.0020338278, -0.0353434607, 0.0284648687, -0.0190992691, 0.0290432405, -0.0103459237, -0.0517897494, -0.0231781639, -0.0011352076, -0.001991797, -0.0215895716, -0.0177857447, -0.0258629248, -0.0253420062, 0.0100899721, -0.0280385558, -0.0280072875, 0.0612103976, 0.0051249554, -0.0014545869, -0.0418316871, -0.0487255938, -0.0040086117, 0.002495205, 0.0261336993, 0.036943201, -0.0403020643, -0.0041985428, -0.0910402909, 0.0187089667, 0.0189177524, 0.0144842342, 0.0245878529, -0.0545204245, 0.0052430988, -0.0144927325, -0.0021376468, -0.0328625403, 0.0061643929, -0.0194024555, 0.0301277731, 0.0268994197, -0.0279100183, -0.0570735112, 0.0350664854, 0.074802205, 0.0715885684, -0.0438273549, -0.0178747121, -0.0155857923, 0.0133168539, 0.024264615, 0.0365417227, 0.0109852562, -0.0416429713, 0.0273855086, 0.0412217565, 0.0289323572, -0.0725094825, -0.0354782417, 0.0236392599, -0.012887625, -0.0518611297, -0.0145177469, -0.0172609612, 0.0352357477, -0.0621491745, 0.0179767441, 0.0811616853, 0.0355525352, -0.053795144, -0.0058658551, -0.0394423455, 0.0398580022, 0.0213671066, 0.0566773564, -0.0527847335, -0.0168744512, 0.0447768196, 0.0135703059, 0.0100181829, -0.0241823066, 0.0006092367, -0.0521801338, 0.0387008488, 0.0320558213, -0.0718671679, -0.0221672095, -0.0279625859, 0.0066645886, -0.0204086136, 0.0320786834, 0.0668248087, 0.0082477834, -0.0111396862, 0.0022390378, -0.0083824648, -0.0483580008, -0.0106879426, -0.0178764071, 0.0738666803, 0.0274750516, -0.0224381741, 0.0206183642, 0.020811962, 0.0658219531, 0.0498250946, 0.0221782085, -0.0287455134, 0.0222178083, -0.0077391667, 0.006034655, 0.0051067397, 0.0074498272, 0.0445403457, -0.0330100842, 0.019985145, 0.0965050533, -0.0239303838, 0.0128698461, -0.0064841555, -0.0437716022, -0.0260862783, 0.0174806081, 0.0106870774, -0.0305993967, 0.0060064713, -0.0414060727, -0.0353838876, -0.0066067954, -0.0029396813, -0.0133652641, -0.0825499222, -0.0135559589, -0.0399029255, -0.0048745736, 0.0654890686, 0.0723646507, 0.0600719936, -0.0156977363, 0.0138003519, -0.016591737, -0.0410635322, -0.0005870413, -0.0432916619, -0.025116168, -0.0874922499, -0.012440972, 0.040719185, -0.0178347863, -0.0096987765, -0.0164861381, -0.0032640481, -0.0817589834, 0.0271971989, 0.0675746128, 0.0163273178, 0.0922213495, 0.017261317, -0.0709249452, 0.0732878447, 0.0296991654, -0.0197868366, 0.0447127186, 0.0289253276, 0.0082099335, -0.0188732073, 0.0271883737, -0.0293145068, -0.0182909574, 0.0249684285, 0.0335074738, -0.0287212115, -0.0101792496, -0.0066250246, 0.0082238801, -0.002911313, 0.012648616, 0.0073534227, -0.0914790779, 0.0843215957, -0.007355338, -0.0168456454, -0.0272956621, 0.0332429521, 0.0106374547, 0.0305487588, 0.0146691818, 0.0179413967, 0.0408901908, -0.0120361289, 0.0173813906, -0.0070774509, -0.0004830902, 0.0056984783, 0.0532819144, 0.0432732329, -0.0235667247, 0.0155204711, 0.0129494229, 0.0198871158, -0.0516313426, 0.0351347141, 0.0280828457, -0.0345223099, -0.0725842267, 0.0501419269, -0.0634354502, -0.0329234675, -0.0469748601, 0.0525379628, 0.0783250704, 0.006175674, 0.0392469428, -0.0243277848, -0.029134417, -0.0355989709, 0.0308172181, 0.0378182754, 0.0131896315, -0.0255062636, 0.0156989247, 0.0123596536, 0.0454197265, 0.0281056222, -0.0058330018, 0.0562264994, -0.0028139125, -0.0270827077, -0.0303630456, -0.0062545883, 0.015033327, -0.0012465653, -0.0279331971, -0.0209438819, -0.0133698732, -0.0340935066, -0.0065221526, -0.0041745184, -0.0372746661, 0.0022931446, -0.0035756954, 0.0286549311, -0.0185317509, 0.0286085699, -0.0035429106, -0.0175920222, 0.0487830602, 0.0019181116, 0.0126988357, -6.586219175e-33, -0.0355259404, 0.0018161685, 0.0529827699, -0.0388735272, -0.0533079281, -0.0300336275, -0.0438574888, 0.0316056646, 0.0245381761, -0.0148159377, -0.0209175348, 0.0066765775, 0.0021901303, -0.0001073427, 0.0327474475, 0.053889066, 0.0674059093, 0.0341009796, 0.017717097, 0.0071071973, 0.0414666794, 0.0505408049, 0.081272766, -0.0202868246, 0.0019203721, 0.0703025684, 0.0102110971, 0.0465292297, -0.0351801664, 0.0486706458, -0.0086134663, -0.0021437816, -0.0098280413, -0.0227543749, -0.0480394214, -0.0762834772, -0.021721866, -0.0180429071, -0.0200097281, 0.0132470131, -0.0122147156, -0.0449934043, 0.0578148514, 0.0127743231, -0.0116863176, -0.0114696696, 0.0341167897, -0.0307638869, -0.0277744066, 0.0486508161, -0.0547917336, 0.0444176719, -0.0083573563, -0.0004584676, 0.0139891645, -0.0381994434, 0.0282902084, -0.0692009628, -0.0749560371, -0.0074154539, 0.0542810969, 0.0738862231, 0.0462476611, 0.0326789618, 0.011685729, 0.0389402658, 0.0480701327, 0.0194902886, -0.0037282505, 0.0089963591, 0.0328953676, 0.0308571663, 0.0196455847, 0.0099362312, -0.0046604439, 0.0012857675, -0.0157736111, 0.0155730722, -0.04239811, 0.0372947492, 0.0008062519, 0.0687591508, 0.0113071548, -0.0092728967, -0.0259816349, -0.0117901806, -0.0582897104, -0.0154798459, 0.0302229058, 0.0267447904, -0.0447786041, -0.0096624233, 0.0439662002, -0.0054250755, 0.0118142748, -0.0136888884, -0.0294118281, 0.0494639501, 0.0128486603, 0.0349167474, -0.0404168554, -0.0183137003, 0.0231012609, -0.0209866781, -0.0271839071, -0.020746924, 0.0317065008, 0.0556690916, -0.0600938387, 0.0061087562, -0.0003679837, -0.0181266479, 0.0238821898, 0.0158840697, 0.0024904192, -0.0032834106, 0.0114303557, 0.0234653112, 0.052092053, -0.0009975934, -0.0217684843, 0.0574375615, 0.0188083667, 0.0256313272, -0.0181911793, 0.037597701, -0.0309413243, 0.0096813347, 0.0149604799, -0.0650862232, -0.008344355, -0.0003881786, 2.874e-7, 0.0356759019, 0.0731827244, 0.0151601061, -0.0444628634, 0.0207510665, 0.0095689232, -0.0420692004, -0.0193229467, 0.030910138, 0.0523233749, 0.0437595509, 0.0409104452, 0.008162058, 0.011541889, -0.0642195493, 0.0213437527, -0.017330464, 0.042243436, -0.0649146363, -0.0323253907, -0.0003020356, 0.0879087672, 0.0123550165, 0.022929376, -0.0102314409, -0.0337599814, 0.0430509783, 0.0134671228, 0.0118045844, 0.0276126806, 0.0136938598, 0.0446237251, -0.0006134168, 0.0137639632, -0.0198997669, 0.0148484241, -0.0158173833, 0.0818911642, -0.0496561453, -0.0011234307, 0.0612111688, 0.0308584608, -0.0275566168, -0.0476682633, 0.0634970888, -0.040105693, 0.0269488879, 0.0102384118, -0.0292288251, 0.000180339, 0.0107624168, -0.0185224414, -0.017161807, 0.0261938181, 0.0091769146, 0.0455980003, -0.0254205074, -0.0453029536, -0.0052394518, 0.0074824039, -0.0253470745, -0.0957584605, -0.0203238484, -0.01903354, 0.0329754315, -0.0266107004, -0.0120963119, 2.940380421e-34, 0.0197347961, 0.0105599752, 0.0306515675, 0.0582592003, 0.0560488775, -0.0493613221, -0.0069189901, -0.0022916477, -0.0029290325, -0.1013267264, -0.0764199123 ]
http://arxiv.org/abs/2406.20015v1
http://arxiv.org/pdf/2406.20015v1
ToolBeHonest: A Multi-level Hallucination Diagnostic Benchmark for Tool-Augmented Large Language Models
2024-06-28T16:03:30
2024-06-28T16:03:30
Yuxiang Zhang, Jing Chen, Junjie Wang, Yaxin Liu, Cheng Yang, Chufan Shi, Xinyu Zhu, Zihao Lin, Hanwen Wan, Yujiu Yang, Tetsuya Sakai, Tian Feng, Hayato Yamana
cs.CL
cs.CL, cs.AI
Tool-augmented large language models (LLMs) are rapidly being integrated into real-world applications. Due to the lack of benchmarks, the community still needs to fully understand the hallucination issues within these models. To address this challenge, we introduce a comprehensive diagnostic benchmark, ToolBH. Specifically, we assess the LLM's hallucinations through two perspectives: depth and breadth. In terms of depth, we propose a multi-level diagnostic process, including (1) solvability detection, (2) solution planning, and (3) missing-tool analysis. For breadth, we consider three scenarios based on the characteristics of the toolset: missing necessary tools, potential tools, and limited functionality tools. Furthermore, we developed seven tasks and collected 700 evaluation samples through multiple rounds of manual annotation. The results show the significant challenges presented by the ToolBH benchmark. The current advanced models Gemini-1.5-Pro and GPT-4o only achieve a total score of 45.3 and 37.0, respectively, on a scale of 100. In this benchmark, larger model parameters do not guarantee better performance; the training data and response strategies also play a crucial role in tool-enhanced LLM scenarios. Our diagnostic analysis indicates that the primary reason for model errors lies in assessing task solvability. Additionally, open-weight models suffer from performance drops with verbose replies, whereas proprietary models excel with longer reasoning.
[ 0.0364930965, 0.0067544575, -0.0095317308, 0.036088217, -0.0477325879, 0.0137587041, -0.025523439, -0.0058106063, 0.0042229788, -0.048677776, 0.0117081348, -0.0239092261, -0.0456506759, 0.0026251695, 0.0056163627, -0.0386380963, 0.0512410365, -0.0645391122, -0.0641994551, -0.0003349351, -0.0223511327, 0.015690919, -0.0103813633, 0.0764432251, -0.0033627872, -0.0299342182, -0.0211782791, 0.0104867164, -0.0492854863, 0.004613664, 0.0187184475, 0.0740687773, -0.0038044245, 0.0730932131, 0.0000024395, -0.0834067166, -0.0065670973, 0.0165913627, -0.0468946435, 0.0153263444, 0.0371802785, -0.0030499811, -0.0132456999, 0.0501746871, -0.0184082165, -0.0059781182, 0.0487204194, 0.0438028313, 0.0554953292, 0.0549799018, 0.0006660487, -0.0068019629, 0.0336386003, -0.0004235172, -0.0206418522, -0.0137925483, 0.0078540305, 0.053526625, 0.0570802428, -0.027087206, 0.014313818, 0.0342454314, 0.0511292219, 0.0062221047, -0.0233721677, 0.0025032749, -0.0541827157, -0.0325290859, -0.0024416605, 0.0366065241, -0.0250379033, -0.0222053993, 0.0004100983, -0.0070130127, -0.0149457939, 0.0047642537, -0.0453073531, -0.0080759041, 0.0005002036, -0.0142296534, 0.0101277949, -0.0495553948, 0.0427834578, 0.0028161567, -0.0410505645, 0.1070315912, 0.0130711012, -0.0293093156, 0.0067548156, -0.0253843982, -0.0211838838, -0.0464579724, -0.0064902543, 0.0543396361, -0.0727261528, 0.0044492842, 0.0000065505, 0.0184406843, 0.0385405421, -0.080228731, 0.0418552756, 0.0239222739, -0.0348796807, 0.0478841998, 0.0008937673, 0.0148274964, -0.0207865536, 0.0172620919, -0.0289412085, -0.0056886259, -0.0618527234, -0.0063627767, -0.0340005346, 0.0012468135, -0.0302126966, -0.0465409532, 0.0071554286, 0.0275365654, 0.0013723751, 0.0174100697, 0.0119877756, -0.0230413843, 0.0009548104, -0.0383765027, -0.0182768088, 0.0235469248, -0.0300372988, 0.0100957807, 0.0264747515, -0.0794008523, 0.0040470157, 0.0314098783, -0.0334435701, -0.0430005454, 0.0072289212, 0.0765993148, 0.0008496501, 0.019373795, -0.0346941724, -0.0537025668, -0.0205611624, -0.087080501, -0.0055141738, -0.0756117254, -0.0102029294, 0.0429236852, -0.019756265, -0.0063148504, -0.0004028853, -0.0237725992, -0.0119495392, 0.0490612984, -0.0025607578, 0.0140879387, 0.0172049962, 0.0277851056, -0.0239286963, 0.0795496926, -0.0141052706, 0.0293160621, -0.0024452393, -0.0300005637, 0.0101804296, 0.0660363063, -0.0396488644, 0.0260252915, -0.0114695774, 0.0066558532, 0.0211875141, 0.0256368462, -0.0262801871, 0.0438188836, 0.0146250632, 0.0069145919, 0.0344766155, 0.0266419854, 0.0421549752, 0.0159449857, 0.0399477333, 0.0312911607, 0.0076270802, -0.0162018873, -0.0746391714, -0.0284550153, -0.0578991212, 0.0186865553, 0.0165362488, 0.0050454168, -0.0122217052, -0.0432948172, -0.0486311875, 0.0108081512, -0.0246593133, 0.0168812349, 0.0730780289, -0.0090258438, -0.0650982559, 0.0425911807, 0.0084059425, -0.0301862676, -0.0231245644, -0.0767202005, 0.0001735364, 0.0536196679, 0.0611605421, -0.0387616865, -0.0323538594, 0.0006971704, 0.0240135156, 0.0331298038, 0.058916416, 0.0122384336, -0.0167496316, -0.0472288877, -0.0272043142, 0.004349689, 0.0386763513, 0.0061520673, 0.0079858508, -0.0163137801, 0.0157788638, -0.0504707918, -0.0610617995, 0.0294591524, 0.0071236379, -0.0021637592, -0.0355107524, -0.0161549915, 0.0460265651, 0.0045650746, -0.0232302677, 0.0270390585, 0.0193016157, -0.0372878686, -0.031175999, 0.0185718741, -0.0210004896, 0.0243442114, 0.0457080267, 0.0222228412, -0.0000601277, 0.0414113775, 0.0018157008, -0.0633326396, 0.0227070693, -0.0336394049, 0.0525639392, -0.0231638718, 0.0629199073, -0.021422714, 0.007867177, -0.0193978678, 0.0473283641, -0.002179201, 0.0175198987, -0.0135078533, -0.0024184932, 0.0003203575, -0.0163775757, -0.0796706229, 0.0461690463, -0.0084199579, 0.0159867872, -0.0071261474, -0.0056774602, -0.0375105329, -0.0303799622, -0.1226402596, 0.0155168381, -0.0220552087, 0.0186629891, 0.007276278, -0.0012504603, 0.0083748857, 0.0002416804, 0.0032940526, 0.0088723311, 0.011074204, 0.0403987505, -0.0233320501, 0.0103682242, -0.0514162034, -0.0253367536, -0.019482838, -0.0346696042, 0.0337135233, -0.0182409305, -0.0067278901, -0.0462672375, 0.0848845467, -0.0108068576, 0.0196208302, -0.0065664626, -0.0229214448, 0.0103546884, -0.0288121998, 0.0328838527, 0.0491555184, -0.0261524934, 0.0396782309, 0.0424702615, -0.0205950588, -0.0706922337, 0.0095157605, 0.0129293706, -0.0537757017, -0.02998944, -0.036835324, -0.0105563654, 0.0657020584, -0.0179833192, 0.0202403888, -0.0332823917, -0.0070204786, -0.038175229, -0.0387224518, 0.0040098303, -0.0175994541, -0.0156578775, 0.027215749, -0.0162625629, -0.0543697663, 0.0520575456, -0.0473943353, -0.0184415095, -0.0039397674, -0.0193609893, -0.0200101417, 0.0492027365, 0.0052469298, 0.0126108779, -0.0132030565, -0.0222947281, -0.0169343054, -0.0046032029, -0.0055477978, -0.0330536179, 0.0339703262, -0.0595791675, 0.0276814122, -0.0004505412, -0.0169751775, -0.0116671911, -0.003978394, -0.0440961905, 0.0327611528, 0.0245355275, -0.0171568803, -0.0198113527, 0.0485740937, -0.003726634, 0.048281692, 0.0100545119, -0.0072350199, -0.0256167892, -0.0124314474, 0.0217827503, 0.0255067181, 0.0610920079, -0.0292274449, 0.0440432988, 0.0269910153, 0.0623605661, -0.0201668292, -0.0533948988, 0.0100225024, 0.0196564123, -0.0296580959, -0.0435265452, 0.0266842693, 0.0370800644, -0.0887912884, 0.0154487118, 0.0873388574, 0.0439747758, -0.0254574083, 0.0217611976, -0.031344492, 0.0562128834, 0.0280478895, 0.0353159569, -0.0837955996, -0.0278878883, 0.0250402298, 0.0092814863, -0.0132279024, -0.0228143279, 0.0165154412, -0.1218498573, 0.0499089733, -0.0046115983, 0.0119350571, 0.0463693999, -0.0407692678, -0.0267229974, 0.0116331177, 0.0339760445, 0.0216785707, 0.012469776, -0.0411591828, 0.0359084234, -0.0663273782, -0.0566958152, 0.059463013, -0.0144293122, 0.0564527959, 0.0643938556, -0.0201804098, -0.002022706, 0.0133818276, 0.1017101109, 0.0347912498, 0.0150112864, -0.006649598, 0.0061832387, 0.0408848859, -0.0065031042, -0.0117339185, 0.0039245887, -0.0544836856, -0.0035278101, 0.010493529, 0.1081782877, -0.0259718951, -0.0130595472, 0.002588256, -0.0090987906, -0.0067668851, 0.0760962963, 0.0064107394, -0.0212351047, -0.0866347775, -0.004996988, -0.0420610569, -0.0269913338, -0.045675125, 0.016102273, 0.0318435431, -0.0053972765, -0.0187417306, -0.0444582999, 0.0541535877, 0.032445807, 0.0241346452, 0.0237939861, -0.0459094383, 0.015625976, -0.0307063665, 0.0537540801, -0.0153664378, 0.0296831001, -0.0848414078, 0.0287358891, 0.0021791959, 0.0096713649, -0.0060831225, 0.0296475235, -0.0584002957, -0.0820420012, 0.0187586769, 0.036243543, 0.0344931148, 0.0016187818, -0.0525139086, -0.0899315178, -0.0174413323, 0.0104794204, -0.0171360895, 0.0244828686, 0.0207439661, -0.0038999177, 0.0007033959, 0.0404252969, -0.0308669619, 0.0041396478, -0.0294756666, 0.0423995368, -0.0004646507, -0.0117762974, 0.0190578438, 0.0298759621, -0.0282770619, -0.0011805348, -0.0391136259, -0.0040660277, 0.017389968, -0.0151300197, -0.0207784418, -0.0503043532, 0.0183653031, 0.0019155636, -0.0126166185, 0.0426863022, 0.0140905418, 0.0005374618, 0.0101980511, -0.0196827408, 0.0313360803, 0.0013088039, -0.0309008621, 0.0526141003, 0.0025624931, -0.0338352658, -0.0004247655, 0.0044681029, 0.0532254055, -0.0066796355, 0.0947805196, -0.0155079067, 0.0026941993, -0.0157848578, 0.0047795833, -0.0377022736, -0.1322742552, -0.010090054, 0.0360601246, 0.0346548483, -0.0130125256, 0.0644260943, -0.0416282676, 0.0010029627, -0.0471888632, 0.020267982, 0.0135975396, -0.0141794048, 0.0142029542, 0.0498106703, -0.0277878717, 0.0094986036, 0.0578460768, 0.0192512088, 0.0441608652, 0.0182900801, -0.0076234881, -0.0331319086, -0.057953544, 0.0158749539, 0.0118833538, -0.0389452688, -0.0014403467, -0.0852027237, -0.0680445135, -0.0360779576, 0.004405587, -0.0099949902, -0.0180997252, 0.0125023583, 0.0857785568, -0.0096091796, -0.0275411997, -0.0237818044, -0.0374429487, -0.00992727, 0.0116000278, 0.0051566171, -6.863072339e-33, -0.0093099726, -0.0122249769, 0.055482462, -0.0485412814, 0.0014991065, -0.0192154087, -0.0424865037, 0.0472682267, -0.0341902897, 0.0021708282, -0.0012669256, 0.0049152146, 0.0185153671, 0.0053814002, 0.0275640041, 0.0310218278, 0.041127786, 0.0261038728, -0.0211074241, 0.0062111607, 0.0327465832, -0.0002085123, 0.0343703777, -0.0548955984, 0.0222709067, -0.0124902921, -0.0107505023, 0.0362610966, -0.0115947928, 0.0604680218, -0.025708748, 0.0275996849, 0.0149575612, -0.0260687806, -0.0200041402, -0.0250185113, -0.0199380927, 0.0201793425, 0.0399005115, 0.0273483116, -0.0051886356, -0.0217699073, 0.0404833071, 0.0101723885, -0.0302532371, -0.004912612, 0.0124608977, -0.0178278275, -0.0191564616, 0.034854155, -0.0532665104, 0.0221210476, -0.0205581635, -0.0487354621, 0.0127509693, 0.071509026, -0.0236615743, -0.0226858556, -0.0319803283, -0.0026204649, 0.0415844731, 0.0343322605, 0.1214282587, 0.018411465, -0.0153829074, 0.0376568623, 0.0510830581, -0.0026367235, 0.0077802488, -0.0325631462, 0.0352419093, 0.0885124281, 0.0348815918, -0.014332776, -0.0008304513, 0.0410303399, -0.0137388688, 0.0022283175, 0.0102487504, 0.0637733415, 0.0861018822, 0.0336088277, -0.0766235217, -0.0446933806, -0.0443717763, 0.0106159626, -0.0557546094, -0.0450276807, 0.0616176464, -0.0094166696, -0.0121784555, -0.0027684881, 0.0645619556, -0.0377444699, 0.0059416513, 0.0050465926, -0.0224720519, 0.0436651334, -0.0177279748, 0.0498881228, -0.0190717578, -0.0150984908, -0.0220400337, 0.0154526979, 0.0345537849, -0.0143897561, -0.0343163274, -0.0008965587, -0.0661053658, -0.0052637015, -0.0599306934, 0.0161423478, -0.0001402029, 0.0352005064, 0.0650217757, -0.0292677972, 0.0000065737, 0.0370851792, -0.0085281348, -0.0287815183, -0.0209266692, 0.0053333617, -0.0096449265, -0.0247223955, 0.0119780665, -0.0058000572, -0.0260901731, 0.000964555, 0.0325302593, -0.0060616303, -0.0134578208, 0.002203112, 3.135e-7, 0.0311898552, 0.0257951058, 0.0063364375, 0.0073649408, -0.0064556082, 0.0259432439, -0.0120660029, -0.0236532204, 0.0134361591, -0.005494405, -0.0171394013, 0.0325333849, 0.0816242769, 0.0199086983, -0.0500929132, -0.0226276126, -0.0238453001, -0.0033055141, -0.0884514078, -0.0236115456, 0.0355274938, 0.0739950091, -0.0038456512, 0.001459163, -0.0192809887, -0.0749526024, 0.0263590757, -0.0547518395, -0.0210341383, 0.0405007116, 0.0050981478, 0.035728354, 0.0322016105, 0.0429875664, 0.0137227746, -0.0120004537, -0.0007278748, 0.0767999366, 0.0008467563, -0.0300894249, 0.0043316162, -0.0289157331, 0.0014348944, -0.0716989711, 0.0602832921, -0.0536987148, -0.0529691987, 0.0048201126, -0.0055430974, -0.0388816707, -0.0086359289, -0.0124345366, 0.0092993435, 0.0107126506, 0.0001491729, -0.0244446844, -0.0071474547, -0.0420609489, -0.0229019448, 0.0625042468, -0.0443478897, -0.0800094083, -0.0445519052, 0.0056026452, -0.012346223, -0.0467021205, -0.006700235, 3.54260156e-34, 0.0504722036, 0.0272741225, 0.0670355782, 0.0839338079, 0.0505693518, 0.0268465709, 0.0350047499, 0.0298212003, 0.0110873487, -0.1036224738, -0.0039504771 ]
http://arxiv.org/abs/2406.19999v1
http://arxiv.org/pdf/2406.19999v1
The SIFo Benchmark: Investigating the Sequential Instruction Following Ability of Large Language Models
2024-06-28T15:34:26
2024-06-28T15:34:26
Xinyi Chen, Baohao Liao, Jirui Qi, Panagiotis Eustratiadis, Christof Monz, Arianna Bisazza, Maarten de Rijke
cs.CL
cs.CL
Following multiple instructions is a crucial ability for large language models (LLMs). Evaluating this ability comes with significant challenges: (i) limited coherence between multiple instructions, (ii) positional bias where the order of instructions affects model performance, and (iii) a lack of objectively verifiable tasks. To address these issues, we introduce a benchmark designed to evaluate models' abilities to follow multiple instructions through sequential instruction following (SIFo) tasks. In SIFo, the successful completion of multiple instructions is verifiable by examining only the final instruction. Our benchmark evaluates instruction following using four tasks (text modification, question answering, mathematics, and security rule following), each assessing different aspects of sequential instruction following. Our evaluation of popular LLMs, both closed-source and open-source, shows that more recent and larger models significantly outperform their older and smaller counterparts on the SIFo tasks, validating the benchmark's effectiveness. All models struggle with following sequences of instructions, hinting at an important lack of robustness of today's language models.
[ 0.0446118303, 0.0768607035, -0.0013201463, 0.0237814207, -0.0513174199, 0.0190856811, 0.0140134152, -0.0138301374, 0.0058327443, -0.0439671315, -0.0078402348, -0.0394344889, -0.0104210563, -0.012034623, 0.0243755411, -0.0356026292, 0.0782240406, -0.0826296359, -0.025621973, -0.0016481214, -0.0025727572, -0.0177773032, -0.0035865195, 0.0318930969, 0.0352383666, -0.0377436131, -0.0308582895, 0.0078827012, 0.010990018, -0.0253673624, -0.0014121064, 0.0603125021, 0.0094470633, 0.0402469188, 0.0000020526, -0.0412402004, 0.0036429139, 0.0213880092, -0.0346329696, 0.0703304783, -0.0010417643, -0.0064582415, -0.0206367522, 0.0225999393, -0.0168218203, 0.0316626579, 0.0446137376, 0.0263895541, 0.0810442567, 0.0824166089, 0.0210523661, -0.0322225131, 0.03723621, -0.0449928567, 0.0080648037, -0.0653967932, 0.0188656561, 0.009933209, 0.0223828368, 0.0530676283, -0.0191253945, 0.038452737, 0.0508441702, 0.0056370967, -0.0517636426, 0.0121918749, -0.0079100095, -0.0101027591, -0.0295111034, 0.0533709042, -0.0165994745, 0.0033308954, -0.0020777918, -0.006627332, 0.0104860114, 0.0035559079, -0.0616582483, 0.0348183587, -0.0032216224, -0.020396227, 0.0288299602, -0.0329427868, 0.0256957207, -0.0005297908, -0.0365672968, 0.1124728695, 0.0336532854, -0.0433713496, -0.0156427771, -0.0196047686, -0.0352429077, -0.0706464052, -0.0092404447, 0.0352879167, -0.0545670763, 0.0471946895, -0.0536492318, 0.0005818584, 0.0491694696, -0.0479030423, 0.0581153072, 0.0663422421, -0.0088071469, 0.0362748615, -0.0208614804, 0.0950582772, -0.0467051044, 0.0468917154, -0.0282391459, 0.0317737274, -0.0462725759, -0.0093073742, -0.010565157, 0.0637467504, -0.031005932, -0.0191219393, -0.039619986, 0.0452551134, -0.0207210649, 0.0459685586, 0.0086089121, -0.0339488387, 0.002730483, -0.0111364294, -0.0064439103, 0.0014046476, -0.0458130725, 0.0171535388, 0.0008138628, -0.0489823334, -0.0021952204, -0.0080275005, -0.0429896228, -0.0387797318, -0.0019249109, 0.0642317086, -0.0007269013, -0.0145641807, -0.0329520702, -0.0520907827, -0.0016233714, -0.0604648888, 0.0034310976, -0.0776895359, 0.0354852378, 0.0036464806, -0.0023397112, -0.0136394706, 0.0267771538, 0.0594013296, -0.0345062427, 0.0361140035, 0.04309972, 0.0044625863, -0.0209991131, 0.0318986885, 0.0184339173, 0.0435952768, 0.0161929373, 0.0252257027, 0.0402202755, -0.0162057951, -0.0163895767, 0.0574027002, -0.0011188668, 0.0191702172, -0.0036204711, 0.0464226305, 0.0200940445, 0.0211912915, 0.01061437, 0.0841305852, -0.0190094188, -0.0306542274, 0.051932659, 0.042617429, -0.0060695689, -0.045175951, 0.0540539026, 0.017154675, 0.0212303549, 0.032171689, -0.0951794237, 0.0246578678, -0.0171063878, 0.0318259522, 0.004161072, 0.0121839968, -0.030355541, -0.0316155665, -0.0034754409, 0.0068357084, -0.0021342339, 0.0305326004, 0.0360870659, -0.0113583924, -0.0500263125, 0.0327739008, 0.0055996045, -0.0353985354, -0.0334604979, -0.0789408162, 0.0188447554, 0.0733692944, 0.0401471891, -0.0139783192, -0.0467439927, 0.0068286229, 0.0390867479, 0.0304356348, 0.033255402, -0.0001070115, 0.0182903185, -0.0184279364, -0.0316202119, -0.0273499582, 0.0079294555, 0.0186884683, 0.048795931, -0.0149330022, 0.0163770281, 0.0184411723, -0.0245068073, 0.0538586602, -0.0344239511, -0.032703016, -0.0315122753, -0.0027916327, 0.0308149718, -0.0086988825, -0.0168408342, 0.0385617577, 0.0412417576, 0.0145936403, 0.0067226803, -0.0225403793, -0.0564496443, -0.0222536959, 0.0380447209, 0.0068224878, -0.0175922569, 0.0564195178, -0.0521217994, -0.0235365424, 0.016543597, -0.0348146334, 0.0090491502, -0.0054558488, 0.0434428081, -0.0069631319, -0.0203544609, -0.0271868184, 0.040780846, -0.0389341637, 0.0353509299, 0.0418896154, 0.0101550082, -0.0088370042, -0.0353931487, -0.0255035758, -0.0086010024, -0.0222465396, 0.0150579391, 0.0266141463, 0.0084535088, -0.0406981595, -0.0547890104, -0.0647590011, 0.0332099088, -0.0379291251, 0.0324912556, 0.0295767058, 0.0000146129, 0.0120544452, -0.0268944968, -0.0133594507, -0.0317197219, -0.0034523278, 0.0517667904, 0.008050181, 0.0122957714, -0.0624280944, -0.0525600463, -0.0440853536, -0.0252235699, 0.0168532021, -0.0293824412, 0.0202782508, -0.0723400787, 0.0220360123, -0.0281704627, 0.0309323445, -0.0226345435, -0.0165270772, 0.0518017001, -0.0035842035, 0.0302136317, 0.0852704272, 0.016746914, 0.026271997, 0.0496516563, -0.00951239, -0.0415668413, 0.0047032274, -0.0021945077, -0.024453152, -0.0510323159, -0.0434949957, 0.0025347327, 0.0882922709, -0.0099565238, 0.0116894571, -0.0448157825, -0.0120639624, -0.029380776, -0.0411830544, -0.0298099443, -0.031991832, -0.0350797549, 0.0224078186, -0.0566249751, -0.0636797175, 0.0596740954, -0.0210438389, 0.0058118473, -0.0268380307, 0.020774005, -0.0249268673, 0.0839349627, 0.0302203968, 0.0184726547, -0.0078958971, -0.0343281366, -0.0576146431, -0.0190773197, 0.0216605235, -0.0405911617, 0.0489683524, -0.0744625404, -0.0078520654, -0.005813696, -0.0430665091, -0.0553540736, -0.0564845651, -0.0086075692, 0.024231473, 0.0399148241, -0.0440712571, -0.0421849973, -0.0173223596, 0.0559028387, 0.030702753, -0.0181989968, -0.009298807, -0.0318892002, -0.011975579, 0.0747070014, -0.0309021417, -0.0003119288, -0.0618895367, 0.0389121473, 0.0752475634, 0.0696893707, -0.0248216968, -0.0311985482, -0.007253604, 0.0369783528, -0.07329496, -0.0492464937, 0.0606583953, 0.0667219311, -0.0725793317, -0.0137882801, 0.1255344599, 0.0407507122, 0.0184117667, 0.0162860882, -0.0198524594, 0.0220553316, 0.0278089866, 0.0372107625, -0.0944728479, -0.0188504886, 0.0237635877, 0.0233873185, 0.0033538183, -0.011631879, -0.0106291166, -0.1110786051, 0.0133520914, 0.0001014763, -0.0432559997, -0.0052531841, -0.0428675562, -0.0033279529, 0.0222202614, 0.0201007891, 0.0336053818, -0.0217376929, -0.0305050015, 0.0123436702, -0.0388081819, -0.0157395229, 0.0750489086, -0.0335898548, 0.0404925123, 0.0587609336, -0.0310654175, 0.0015296265, -0.0380424559, 0.0403703451, -0.0037744779, 0.0028747488, -0.0090571847, 0.0337067284, -0.0136268055, -0.0060465513, -0.0208941437, 0.0064956588, -0.0029200069, -0.005720906, 0.0286874622, 0.0495615676, -0.0253336504, -0.0285258051, -0.0308943707, -0.0039112382, -0.0244729836, 0.0605746135, 0.0120885121, -0.0473217927, -0.0491911694, -0.0414187051, -0.0541267917, -0.0713568181, -0.012826453, -0.0029656484, 0.0094023347, 0.0072996668, -0.033152815, -0.0506016649, -0.0027092427, 0.017561473, 0.0146657201, 0.0023456882, 0.0539337806, -0.0353799202, -0.0112534007, -0.0083601465, -0.0447854325, 0.0479251929, -0.1022318304, 0.0039036474, -0.0047540748, 0.0214765891, -0.0379641429, 0.0065365466, -0.0982013643, -0.0668169037, 0.0175970346, 0.0879815668, 0.0215369407, -0.0034120861, -0.0131276604, -0.0389889628, -0.0210270118, -0.0225559454, -0.0296717398, 0.0279387757, 0.0351287574, -0.0451338701, 0.0162912924, 0.0203426201, -0.0328264646, 0.024940962, 0.0192401577, 0.045270741, -0.0425637886, -0.0436194949, 0.0199750699, 0.0235203169, -0.0043740892, -0.0004594779, 0.0272473469, 0.0011986956, 0.0307603013, -0.0341081694, -0.014033542, -0.0123358807, 0.0104198428, 0.0439213701, -0.0147295073, 0.0007969357, -0.0074836402, -0.0017118671, 0.0020396749, -0.0327303708, 0.0114961993, 0.0033244388, 0.0384782478, 0.0310558267, 0.0034738067, -0.0399318337, 0.02262225, 0.005758699, 0.0539467223, -0.0070378291, 0.0557767525, 0.007202859, 0.014360114, -0.0269329939, 0.0413690247, -0.0942130759, -0.0486963019, 0.0143627115, -0.002396941, 0.0407737494, 0.0077181198, 0.0568838753, -0.0064303894, 0.0028720133, -0.0487562008, 0.0266985949, 0.0155635867, -0.0541107394, 0.025014136, 0.0521187745, 0.0017924756, 0.0081349658, 0.0783062652, 0.0184063204, 0.0326986425, 0.0057685599, -0.0020824706, -0.0351837128, -0.0427513309, -0.0044946941, 0.0179407299, -0.0550529025, -0.0117677376, -0.0422749035, -0.0485954471, -0.0115979547, 0.0180513784, 0.0170558672, -0.0052121636, 0.0310231298, 0.0512238108, 0.0171823949, -0.0382118262, -0.0398177207, -0.0156991128, 0.0107293827, -0.0327643827, -0.0195732638, -6.125631836e-33, -0.0353990681, -0.0076896655, 0.0440486446, -0.0128529342, 0.0008382825, -0.017337326, -0.053982649, 0.0215121135, -0.0347219259, -0.0105260098, -0.0131359668, 0.024452202, 0.0162259489, 0.0055627134, 0.038436465, 0.0032757281, 0.0396933332, -0.0139179807, -0.028509574, 0.0074165296, 0.0290639549, -0.0084334286, 0.022160314, -0.0290124509, 0.0513789244, -0.0062050796, 0.0063955416, -0.0051863696, -0.0625987798, 0.0958114639, 0.0070719239, 0.0070903441, 0.0162941609, -0.0502646118, -0.031711977, 0.0319809131, -0.0396367982, -0.0345481001, 0.0504091382, 0.004902225, -0.0437954031, -0.0314140543, 0.0156578533, -0.0107678808, -0.010965121, -0.0279424507, 0.0092453528, -0.0031868494, -0.0289646816, 0.0226555616, -0.0909089893, 0.0225847419, -0.0079706451, -0.0332739688, 0.0031528072, 0.048335202, -0.003598663, -0.0316266976, -0.0213070586, 0.0245844815, 0.0130298343, 0.0674715117, 0.058523573, 0.017497804, -0.0103648016, 0.0406646989, 0.0238485187, 0.008615125, 0.0033625346, 0.0135083497, 0.0303148031, 0.0518492982, 0.0468639582, -0.0141056599, 0.0337120853, 0.0097721554, -0.0636937097, -0.0143243503, 0.0276634488, 0.0618704148, 0.0357527286, 0.007931916, -0.0566068739, 0.0000780508, -0.0542738885, 0.0676048771, -0.0302700866, -0.019372467, 0.0678897053, 0.0172206685, -0.0122097684, 0.0071987542, 0.0445159413, -0.0285963863, -0.0318200216, 0.0097520519, -0.0179734696, 0.0312120132, -0.0168373864, 0.0645187944, -0.0794819295, -0.0352571458, 0.0083190231, -0.0226703286, 0.0241809636, 0.0105064716, 0.018897105, 0.0186582431, -0.0834141597, -0.0073170261, -0.0352524631, 0.0152992532, 0.010393478, -0.0070764408, 0.0639327243, -0.0036230695, -0.0014384941, 0.0504018441, -0.0195287336, -0.0598053634, -0.0355585851, 0.0006210919, 0.0056284554, 0.0190055631, 0.0008713168, 0.0199833494, -0.0556461401, 0.0532777309, -0.0204158314, -0.0244706031, -0.0148478197, 0.0412865989, 2.702e-7, 0.0336259753, 0.0213183183, 0.0357466601, 0.0844448358, -0.0040803007, 0.0013386647, -0.029568335, 0.0083921244, 0.0066498434, 0.0098639354, -0.009170102, 0.0437203981, 0.0264949035, 0.0091897659, -0.0387561433, -0.0159591902, -0.0646443069, 0.031865526, -0.0549319983, 0.0080397129, 0.0215819366, 0.0759591162, -0.002162843, 0.0155755254, -0.0215646774, -0.0324276537, 0.058803957, 0.0003899653, -0.0045150444, 0.0181680992, -0.0014611267, 0.0367434397, 0.0099310307, 0.0208598226, -0.0009193877, -0.0148168169, -0.0132265426, 0.1048546359, 0.006377846, -0.0029453146, -0.0030015421, -0.0430227928, -0.0052423361, -0.0401526466, 0.069425188, -0.025877893, -0.0146761099, -0.0190222133, -0.0218367055, -0.0167063121, 0.0123407887, -0.0023818254, -0.003177712, -0.0079584317, 0.0303617232, -0.0185639244, -0.0028205295, -0.0496239327, -0.0337730721, 0.0228967778, -0.0123610562, -0.0576077327, -0.0658460259, 0.0103006102, 0.0045626084, -0.046271991, -0.0425994247, 2.667058699e-34, 0.0460087173, -0.0375682712, 0.0436953939, 0.0357634984, 0.0200022198, -0.0048294049, -0.0524464548, 0.026362, 0.0234961864, -0.074146159, -0.0400923938 ]
http://arxiv.org/abs/2406.19995v1
http://arxiv.org/pdf/2406.19995v1
Single Parent Family: A Spectrum of Family Members from a Single Pre-Trained Foundation Model
2024-06-28T15:27:57
2024-06-28T15:27:57
Habib Hajimolahoseini, Mohammad Hassanpour, Foozhan Ataiefard, Boxing Chen, Yang Liu
cs.CL
cs.CL, cs.AI, cs.LG
This paper introduces a novel method of Progressive Low Rank Decomposition (PLRD) tailored for the compression of large language models. Our approach leverages a pre-trained model, which is then incrementally decompressed to smaller sizes using progressively lower ranks. This method allows for significant reductions in computational overhead and energy consumption, as subsequent models are derived from the original without the need for retraining from scratch. We detail the implementation of PLRD, which strategically decreases the tensor ranks, thus optimizing the trade-off between model performance and resource usage. The efficacy of PLRD is demonstrated through extensive experiments showing that models trained with PLRD method on only 1B tokens maintain comparable performance with traditionally trained models while using 0.1% of the tokens. The versatility of PLRD is highlighted by its ability to generate multiple model sizes from a single foundational model, adapting fluidly to varying computational and memory budgets. Our findings suggest that PLRD could set a new standard for the efficient scaling of LLMs, making advanced AI more feasible on diverse platforms.
[ -0.0389822759, 0.0887302384, -0.0351403765, 0.0432913713, -0.0148852263, 0.0266324431, 0.0145314792, 0.041888684, -0.0371976048, 0.0072977287, -0.0389023945, -0.0472856015, 0.0007438148, 0.0117435157, -0.0220582411, -0.0123923915, 0.0190820247, -0.0446599238, -0.0002277928, -0.0079436749, -0.0299241766, 0.0322406292, 0.0198732354, 0.0356647894, -0.009972305, 0.0017451864, -0.0258522201, 0.0049647563, 0.0056765657, 0.0207228195, -0.0169892181, 0.0478356294, 0.0741065666, 0.0410912707, 0.0000021669, 0.0107524442, -0.005658363, -0.0013400004, -0.0247495975, 0.0181198735, 0.0486368313, 0.0205063261, -0.0048466027, 0.0136745637, -0.0184403732, 0.0018789071, 0.0322117582, 0.0155997602, 0.0342119895, 0.0347610041, 0.008321384, -0.0636315271, 0.0062259859, -0.0183883011, -0.0499573685, -0.0177520514, -0.0219117925, -0.0361558869, -0.0409627408, -0.0408142991, -0.0017459188, 0.0232317504, 0.0178436581, 0.0165405758, 0.0018011627, 0.03349711, -0.0261153001, -0.0399414748, 0.0267855264, 0.0449064784, -0.0228599701, -0.0324636549, 0.0167132579, 0.0044241124, -0.0101045715, -0.0611805543, -0.0378977768, 0.0643710122, 0.0137038492, 0.0466377102, 0.0329149291, -0.0245903805, 0.0322942138, -0.0189163424, -0.0482100099, 0.0305557754, 0.0427606441, -0.0230990965, -0.0367094874, -0.0118591655, 0.0046489281, 0.0030125163, 0.0005355569, -0.0009448837, -0.0216536429, 0.0082797138, -0.0743455142, -0.0612876415, -0.0013376945, -0.0119774649, 0.075435482, 0.0344838612, 0.0061697904, 0.0430052206, -0.030007571, 0.0308947396, -0.0060404097, -0.0423719771, -0.0464210473, -0.0087031946, -0.0090415049, 0.0017704451, -0.051453948, 0.0548615903, -0.0577131994, -0.021335179, -0.0112848459, -0.0022940582, 0.0203700978, 0.0066574384, 0.035759747, 0.0169545561, 0.0040014917, -0.0022384194, 0.0255940426, 0.0404033735, -0.0124802962, 0.0036849354, -0.0271434169, -0.047457926, -0.0022840528, 0.0408134572, -0.0007375412, 0.0101727936, 0.0516711064, 0.0239977501, -0.0109909428, -0.0561117716, -0.014667647, -0.0231346302, 0.0216941759, -0.0741686597, 0.0035876725, -0.0253417082, 0.0551019087, -0.0223164838, 0.0028598991, -0.0452011265, 0.0234474707, 0.0068865316, -0.0599852912, 0.026645951, 0.0024771453, 0.0363054797, 0.0145975361, 0.0112648923, 0.0221525915, 0.054497581, 0.0481000319, 0.0025266104, 0.0157027375, -0.0258684587, -0.0531600863, 0.0399451815, 0.0304954015, -0.0061134063, -0.0340408497, -0.0153089808, -0.0462088138, 0.0195602328, 0.0387883037, 0.0758794397, -0.023000326, -0.0081561608, 0.0545882694, 0.0966224, 0.020877406, 0.0894524232, 0.0204732921, -0.0073841251, 0.0025359287, -0.0220300201, -0.037599612, 0.0124370847, -0.0162000023, -0.0297464076, 0.0269856043, 0.0469932295, -0.0463903286, -0.0156926885, -0.0348933004, -0.029759787, -0.0038261428, 0.0030424157, 0.044232998, -0.0294844173, -0.0235971306, 0.0952816382, 0.0257145856, -0.0858512819, -0.0355166607, -0.0748851746, 0.0093049761, 0.0366093218, 0.0243816338, -0.0047021261, -0.0171758346, 0.0171544179, -0.0093007097, -0.0188040379, -0.0177826807, 0.0042740218, 0.0590725169, -0.0608887263, -0.0030817825, 0.0341793969, 0.0189434364, 0.0097250398, -0.0003034166, -0.0316076465, 0.0131572979, -0.0278590452, 0.0271912403, 0.0382009074, -0.0562966131, 0.0018845235, 0.0559837259, 0.0014591842, 0.0369389541, 0.0194836147, -0.0193112791, -0.0254617259, 0.0759546161, -0.0649136528, 0.0246147458, -0.0315546021, -0.0391593464, 0.0025059178, 0.0298735779, 0.0034397452, 0.0241968501, 0.0558544248, -0.0301284194, -0.037532337, 0.0346011668, -0.031118229, 0.0340464152, -0.0528554544, 0.0023684765, -0.0416902453, 0.0155922845, 0.0003506922, 0.0694842041, -0.0560201257, -0.0154496292, 0.0558341779, -0.0274090394, 0.0012439671, -0.0579006039, -0.0253510661, -0.0139382016, -0.0006372777, 0.0122591462, -0.0000361387, 0.022805851, 0.009526846, -0.0250365976, -0.1175177395, 0.018585436, -0.0216917992, 0.0169616807, 0.0111025581, 0.0041165669, 0.018239636, -0.0110907452, -0.010439299, 0.0324347168, 0.0194608681, 0.0071800849, 0.0018738526, -0.022118628, -0.0438776202, -0.030620344, -0.0538035296, 0.0380606204, 0.0369878635, -0.0474091209, -0.0180160645, -0.0525663644, 0.0347402133, -0.0232072584, 0.0396520607, -0.0130142281, -0.0275098626, -0.0066619394, -0.0399278477, 0.060640756, 0.0547671877, -0.0093172379, 0.0321670659, 0.0945471451, 0.0357197672, -0.0179910865, 0.0073247538, 0.0064073917, 0.0044456641, 0.0007846112, -0.0044890335, -0.0337627754, 0.0592819564, -0.0083124219, -0.0031087541, -0.0461277626, -0.0333015583, -0.0037187522, -0.0426707193, -0.0274706613, -0.0190722235, -0.0201004241, 0.0198578238, 0.0130915176, -0.0418224484, 0.0267882664, -0.0366450511, -0.0339770019, 0.0178768784, -0.0706824437, -0.0362457074, 0.0641033798, 0.0186692346, 0.04106161, -0.0515847132, -0.0019423112, -0.053646341, 0.0171880517, -0.0204845462, -0.0357082896, 0.0489780083, -0.0382993333, 0.0015007228, -0.0241097454, -0.0731638223, -0.0077589438, 0.0054402058, 0.0044988072, 0.0416402407, 0.0170971137, -0.0484126918, -0.0171519294, -0.0058639059, 0.0240603462, 0.0477917865, 0.0231624991, 0.0287267137, -0.0094612818, 0.054007709, 0.0246744081, 0.0011324453, 0.0493846834, -0.0326110497, 0.0360252298, 0.0441330262, 0.0642454028, 0.0242462978, -0.0414566882, -0.0107176006, 0.0290341787, 0.0360792875, -0.0608229861, 0.0290555805, -0.0025979583, -0.0518120751, -0.0014310575, 0.1065531373, 0.014033339, -0.0302839689, 0.0104400516, -0.006360251, 0.0750471801, 0.0131499711, 0.0012501802, -0.0639803559, -0.0064877989, 0.0226452462, 0.0148131829, 0.0519206189, -0.0355050676, 0.0008948282, -0.0710107908, 0.0316892974, 0.0220563579, 0.0197308771, -0.0120760938, -0.0454623289, -0.0107360445, 0.0011368125, 0.0159881208, 0.0419823714, -0.01806508, -0.0193236843, 0.0031132565, -0.033731319, -0.0178447589, 0.0236074608, -0.014874219, 0.0463243611, -0.0004771985, 0.0310095139, -0.0022535035, -0.0486905202, 0.0256100204, -0.0182134937, 0.0070032431, -0.0313120484, -0.0267625786, 0.024349913, 0.0018359245, -0.0004252796, 0.0200865455, -0.0275182277, 0.0009637616, -0.0366934948, 0.0932049006, -0.0279415417, -0.0516713969, -0.0071185539, -0.0326593146, -0.0344042517, 0.0866001248, 0.0263551958, -0.0351064838, -0.02286404, 0.0570633225, 0.0110907899, -0.0071753417, -0.042110879, 0.0032929599, -0.0053493339, 0.0045803757, -0.0274935812, 0.0394637696, 0.0042268797, 0.0333644189, -0.0259067174, -0.0014153057, -0.0311907046, 0.0256030317, -0.0509495921, 0.0078832395, -0.0335461609, -0.0248638056, -0.0560784861, 0.0073383548, 0.0438860618, -0.0098893261, -0.0204326939, -0.0294129662, -0.0875755847, -0.0253802594, -0.0153612476, 0.0449809469, 0.0228895973, -0.0001994731, 0.0277636778, -0.0596374609, 0.04459925, 0.0110087395, -0.0106760198, 0.0858270526, 0.0039132689, -0.0821884945, -0.0044677467, 0.0570373125, -0.0280058645, 0.0365159437, -0.0142734414, 0.0259532779, -0.0055554262, -0.0296254475, -0.0160863642, 0.0403370708, 0.032932464, -0.0417073667, -0.0173201803, -0.0239533558, 0.0487200022, -0.0278378986, 0.0154296253, -0.0506404713, 0.0204049908, 0.0069703851, 0.0156968068, -0.0033776478, -0.011826111, 0.0567317195, 0.020237539, -0.0103412038, 0.0403184295, -0.011483537, 0.0178103056, 0.0490134321, 0.0218657609, -0.0237111207, 0.008327106, -0.0127750589, 0.0040324619, -0.0473409332, -0.0098955669, -0.0127603328, 0.0220874716, -0.0692896619, 0.0705721006, -0.0131509434, -0.0987221673, -0.012777837, 0.0044664303, 0.0498107709, 0.0311342981, 0.036268767, -0.0065271989, -0.0071841315, -0.0269725006, 0.0127302445, 0.0206519961, -0.016809389, 0.0081403619, -0.0005383532, -0.0239635594, 0.0418836027, 0.0490732566, 0.0184925981, 0.05321569, -0.0151246041, 0.0177999549, -0.0310630072, -0.0394885801, -0.0181572754, 0.0155130513, -0.0231348965, -0.0073047136, -0.0323037244, -0.0235531554, -0.0338949002, 0.0255529732, 0.0005870764, -0.0176360346, 0.046338629, 0.03696068, -0.0022832875, -0.0148918303, 0.0209835898, -0.0274447091, -0.0067406539, -0.0548392422, 0.0249342471, -6.480771454e-33, -0.0261641908, 0.0314807929, 0.0174680427, -0.0447419398, -0.0176847894, 0.0381896906, -0.0075621326, 0.0067909565, -0.017488258, -0.0171962418, -0.0428994931, -0.0134756863, -0.0061944635, 0.0236771163, 0.0119794402, 0.0196368303, 0.0719339475, -0.0473979823, 0.0029622086, 0.0646338686, 0.0369206332, 0.0217945632, 0.0235439744, -0.0327231847, -0.0919477791, -0.0280648414, -0.0167981796, 0.036522951, 0.0153554622, 0.0416217521, -0.0499986112, 0.0054543493, 0.0247377884, -0.0118811997, -0.0257281847, 0.0261561293, -0.0910862088, -0.01074789, 0.023871528, -0.0373984352, -0.0447215661, -0.0187921263, 0.0378294513, 0.0433378443, -0.0269589685, -0.0234061275, -0.0118877292, -0.0290499963, -0.0219515432, -0.0327010415, -0.046568688, 0.0014075339, 0.017251214, 0.019635886, 0.0853848159, 0.0133370645, -0.0536722802, 0.0072043994, -0.0416672975, -0.0103202816, -0.0068758419, 0.0671232343, 0.0548418649, -0.0160929803, -0.010520122, 0.0436493494, 0.0410982035, -0.0117355101, -0.03145051, -0.0148609187, 0.0369320102, 0.101603128, 0.0280570686, -0.0018860195, 0.021051567, -0.005220511, -0.0930091888, -0.0172380768, 0.0597609319, 0.0255246628, 0.0146373548, 0.037444178, 0.0091288574, -0.0038469259, -0.0415087827, -0.037386287, -0.0320434123, -0.0303156897, 0.0101488866, 0.0409222916, -0.0365012437, -0.0739120618, 0.0640873834, -0.0522576608, 0.0298871566, 0.0539325252, 0.0155214192, 0.0144657297, 0.0290169232, 0.0245330185, -0.0261277929, -0.0597436987, 0.0274392609, -0.0530434772, 0.0467263982, -0.014261703, 0.0282870289, 0.0545412861, -0.068074882, -0.0078799659, -0.0030046953, -0.0148574663, 0.0108695403, 0.0491047241, 0.0164130311, 0.0164325032, 0.0339680463, 0.031729348, 0.0148477899, 0.0436694585, -0.049217578, -0.0122856777, 0.041816555, 0.0224446822, -0.0177358612, 0.004563476, -0.0679248944, 0.0361831784, 0.0849610344, -0.0536335669, -0.0397864617, 0.013240397, 2.857e-7, 0.0039357231, 0.0443918668, -0.0147125777, -0.0327544846, 0.0546154045, 0.025154382, -0.0034374928, 0.0251788739, -0.0168147236, 0.0029840635, 0.0488233007, 0.0128383478, 0.0331950001, 0.0099463677, -0.0783218443, 0.0014580514, -0.0792921335, -0.0281008594, -0.0559438094, -0.0064372183, -0.0060817604, 0.1248416603, 0.0308924373, -0.0571157895, -0.0123119857, 0.0166392867, 0.0250796657, -0.0401379429, 0.0206711572, -0.037328586, -0.0154535379, 0.0007388691, -0.0432514362, -0.0271855108, 0.0002745737, 0.0422604829, -0.0401135199, 0.0976045206, -0.0344822928, 0.0113223055, 0.0486037359, 0.0159375779, -0.0317939632, -0.0400988609, 0.0665389672, 0.0502439588, 0.00117613, -0.0665290207, 0.0060179704, -0.0120791867, -0.0146851521, -0.0055015949, 0.0221827105, 0.0578693673, -0.0107892966, -0.0337608084, -0.0051238229, -0.1110628769, 0.0251210686, 0.023426339, -0.0715273246, -0.0654642954, -0.0121150855, 0.0025863387, 0.0518108495, -0.0511672162, -0.0065424619, 3.010075298e-34, 0.0105683291, -0.0229153093, 0.0182504654, 0.0746917129, 0.0058082314, -0.0340723805, -0.023827238, 0.0037224952, -0.017150417, -0.1091580912, -0.0168518405 ]
http://arxiv.org/abs/2406.19967v1
http://arxiv.org/pdf/2406.19967v1
Into the Unknown: Generating Geospatial Descriptions for New Environments
2024-06-28T14:56:21
2024-06-28T14:56:21
Tzuf Paz-Argaman, John Palowitch, Sayali Kulkarni, Reut Tsarfaty, Jason Baldridge
cs.CL
cs.CL, cs.AI
Similar to vision-and-language navigation (VLN) tasks that focus on bridging the gap between vision and language for embodied navigation, the new Rendezvous (RVS) task requires reasoning over allocentric spatial relationships (independent of the observer's viewpoint) using non-sequential navigation instructions and maps. However, performance substantially drops in new environments with no training data. Using opensource descriptions paired with coordinates (e.g., Wikipedia) provides training data but suffers from limited spatially-oriented text resulting in low geolocation resolution. We propose a large-scale augmentation method for generating high-quality synthetic data for new environments using readily available geospatial data. Our method constructs a grounded knowledge-graph, capturing entity relationships. Sampled entities and relations (`shop north of school') generate navigation instructions via (i) generating numerous templates using context-free grammar (CFG) to embed specific entities and relations; (ii) feeding the entities and relation into a large language model (LLM) for instruction generation. A comprehensive evaluation on RVS, showed that our approach improves the 100-meter accuracy by 45.83% on unseen environments. Furthermore, we demonstrate that models trained with CFG-based augmentation achieve superior performance compared with those trained with LLM-based augmentation, both in unseen and seen environments. These findings suggest that the potential advantages of explicitly structuring spatial information for text-based geospatial reasoning in previously unknown, can unlock data-scarce scenarios.
[ 0.0441830866, 0.0297207739, 0.0259537194, 0.0151462369, 0.0175551791, 0.0305513572, -0.0147482045, -0.0475541987, 0.0285119116, -0.0753466859, -0.0207730923, -0.0158114694, 0.0150843766, 0.0169186108, 0.051925838, -0.0659850985, 0.0352028869, -0.0299012735, -0.0481568575, 0.0125323841, -0.0392447263, 0.0359396264, -0.034893129, 0.0264957305, -0.0244045518, 0.0254577324, -0.0448148102, 0.0306685623, 0.0422772951, -0.0861659124, -0.0142734405, 0.0186995845, 0.0815035105, 0.0183052365, 0.000002041, -0.0082376739, 0.0235243849, -0.005550324, -0.0180547852, -0.023200294, 0.0009187037, -0.0425365679, 0.0224558134, 0.0041629686, -0.0417556912, -0.0679982975, 0.0436759926, 0.0262960438, 0.0346918441, 0.0790424794, -0.0177278556, -0.0486263596, -0.0130941672, -0.0081510106, 0.030611597, 0.0281785056, 0.0097283851, 0.0271883793, 0.0192924924, 0.0537460782, -0.0147227095, 0.0133715915, 0.0377964787, 0.0018283668, 0.0684686303, 0.0801726878, -0.0116103189, 0.0141694155, -0.0095902197, 0.0804955587, 0.0067938054, -0.0282250531, 0.027540341, 0.0413661413, 0.0001790312, -0.0259392932, -0.0389644094, 0.0005115044, -0.0065711513, 0.0373620838, -0.0280089416, -0.035704881, 0.0293902922, 0.0088681728, -0.025181571, 0.0721377954, 0.0121899657, 0.0016924553, -0.0386067517, 0.018600503, -0.0404001698, -0.0827760771, -0.0105363252, 0.0648220927, -0.0417130589, 0.0180341266, -0.0613896213, 0.049446322, -0.0208404791, -0.0420427807, 0.0118013332, 0.026490083, 0.0174866058, 0.0500194654, -0.054708764, 0.0290554855, -0.0294867828, 0.0452035181, -0.0327816941, 0.0060113617, -0.0310185812, 0.0152607989, -0.0526782684, 0.0225972869, -0.0961006731, -0.0200015306, -0.0086138183, 0.0303053595, -0.0043464238, 0.0362152457, -0.0343667343, 0.0569975637, -0.0448020063, -0.0074807224, -0.002556524, -0.0285879429, -0.0105078807, 0.0206209514, -0.0035494908, -0.0025647355, 0.0127181141, 0.0346855298, 0.0423325524, 0.0131349145, -0.0519844927, 0.0815141201, 0.0096812565, -0.0163235124, -0.0592449568, -0.0348672941, -0.0002721538, -0.0203037448, 0.024486471, -0.0837389305, 0.0162226614, -0.009466053, -0.0549313426, -0.0324633457, 0.0318087265, -0.0065025981, -0.0026908135, 0.0336083435, -0.0506705381, 0.0223122071, 0.017112799, -0.0094674416, 0.0477834828, 0.077562429, 0.0506430492, 0.0589556433, 0.0036736638, 0.0312752426, -0.0138733033, 0.0095449127, -0.0092112077, 0.0407012105, -0.0205124766, -0.0096863499, 0.0022965965, 0.061978288, 0.0253415648, 0.0263287462, -0.04099641, 0.0118737388, 0.0485237651, 0.0154963108, 0.0061754556, -0.023095021, 0.1101710573, 0.0138238566, -0.0472301021, -0.033674933, -0.0898337811, 0.0166280735, -0.0142351976, 0.0021517077, -0.0096239848, 0.0353114419, -0.0191170685, -0.0196394455, 0.0071252217, -0.0075273444, 0.0496027209, -0.0079810061, 0.0435383581, 0.0062961215, -0.0242964625, 0.0402991995, 0.0241100919, -0.021034671, 0.033363983, 0.0476051494, -0.0047525456, 0.04623634, 0.0066984459, 0.0474681892, -0.0655065402, -0.0174226351, 0.0444613993, 0.060002815, 0.0316844881, -0.0071518109, 0.004787304, -0.052960854, -0.0604232252, -0.0026967023, 0.0007614115, 0.0186687261, 0.0646112934, 0.0422469489, 0.0676511228, -0.0579913296, -0.0202640574, 0.0373353064, 0.0075582047, -0.0232997704, -0.0320781358, 0.006416915, -0.0293606929, 0.0274604913, 0.0085404823, 0.0037945861, 0.0428485982, -0.0181788858, -0.0084930491, 0.0689852163, -0.0517605245, -0.0429441221, 0.018127799, -0.0278233886, -0.0133161284, -0.0273179114, -0.0234832168, -0.0540265776, 0.0014459561, -0.0263954662, 0.0693008527, 0.0144365588, -0.0060079019, 0.0563936457, -0.0147762466, -0.0271809362, 0.0554875247, -0.0036886802, 0.0096759479, -0.0013318004, 0.0513219908, 0.0360044204, 0.0024893342, 0.0043146508, -0.0363832191, 0.0153687149, -0.0188654121, -0.0088458657, 0.0144177917, -0.0504808985, -0.0047606337, -0.1088619828, -0.0093054324, -0.0065968083, 0.0210127681, 0.0282681864, -0.0377652384, -0.0109451124, -0.0264213365, -0.0206329115, 0.0220883526, 0.0207114033, -0.005149289, 0.0103386221, 0.0014463791, -0.0126221031, 0.003368204, 0.018844258, -0.0090631181, 0.0188754704, 0.0541110262, -0.0207415596, -0.0813802034, 0.0163126923, -0.0553966165, 0.0371118188, -0.0011799561, -0.0389457867, 0.0304808151, -0.0426343009, -0.0048589734, 0.008260631, -0.0101503385, -0.0242569931, 0.0365065224, -0.0474068522, -0.0661722496, -0.0031995464, -0.0360260755, 0.0024799099, -0.0527147464, 0.0008996224, -0.0211410858, 0.0347008966, -0.0192837361, -0.0105816619, -0.0408311263, -0.0064480081, -0.0362958647, -0.0543490164, -0.0343760177, 0.0324240252, -0.0020322308, 0.0411014743, -0.0657210127, -0.0230213609, 0.02391815, -0.0205946881, -0.0053568296, 0.0032437504, 0.0178529564, -0.0031375571, 0.0653633177, 0.0356652513, 0.0332791805, 0.0034251898, -0.0205224101, 0.0095392903, -0.0116910124, -0.0392827541, 0.0173523743, 0.0121205319, -0.0953988954, 0.0128693916, 0.015484632, -0.0203537326, -0.0454366691, 0.011228296, 0.005892735, -0.005344091, -0.0222379938, -0.0479991399, 0.0078876, 0.0007079494, 0.0245219097, 0.0605280623, -0.0259884801, -0.0087835174, -0.0318923779, -0.0050337063, 0.0727050677, 0.0913886726, -0.013542193, 0.0096225925, -0.0579574965, 0.0406499878, 0.0014967936, -0.0067928019, -0.0368677229, 0.035096921, 0.0018226799, 0.0025319834, -0.0293785259, 0.0167808514, 0.0559241548, -0.0670128092, -0.0674102381, 0.0912151858, 0.0555290245, 0.0027138388, 0.0014688433, 0.0081129549, 0.0287276693, 0.0323183239, 0.0097577022, -0.0694918633, 0.0052565988, 0.0058873082, -0.0170554873, 0.0397227257, -0.0332156122, 0.0133094126, -0.1233270988, 0.0463031419, 0.0220899805, -0.0995880365, -0.0447710827, -0.0340836011, -0.0066354503, 0.0375847332, -0.0495738052, -0.001894361, -0.006397394, 0.0205619708, 0.0393407419, -0.0076359613, -0.0344197825, -0.0478273034, -0.0528248362, 0.0545127839, 0.0118325995, 0.0467312112, 0.0204003137, -0.0662103668, -0.0074555553, 0.0510570668, 0.0344062224, -0.0205427222, 0.0143138766, -0.0054276674, -0.0119795902, 0.0382529609, 0.0360060409, -0.0494801477, -0.029737344, -0.0022159428, 0.0362344757, -0.0222790074, 0.058084134, -0.0122596165, 0.021596238, 0.0382549427, 0.0151954228, 0.0052244635, 0.0151162818, -0.0218820497, -0.0471705422, -0.0103939269, -0.070481956, 0.0038668313, 0.0577935241, -0.046646446, -0.0495943092, -0.0882915184, -0.0461339355, 0.069338426, 0.0776104853, 0.0163029581, -0.0383388884, 0.0071901358, -0.0489618555, -0.0574071482, 0.0651589707, -0.0583639033, 0.0110455435, -0.0095259696, 0.0079508433, -0.0195392799, -0.0409973338, -0.005537943, 0.014423742, -0.0346773751, -0.0781382918, 0.024789609, 0.0479952879, 0.0174946766, 0.0528195016, -0.0394311957, 0.0164341945, 0.0234849639, 0.0541840121, -0.0389297195, 0.0592035018, -0.0082081622, 0.0307785273, 0.0326078981, -0.0019618361, -0.0534618832, 0.0083445003, 0.0165967233, 0.0193866231, -0.0361230411, 0.0132728126, 0.003659683, 0.0163913835, 0.0631614327, -0.0351500772, 0.0418001004, -0.0180283971, -0.0119052501, -0.0460317209, -0.0002258035, -0.039878279, 0.0247220956, 0.0138940467, 0.0489492714, 0.0402056463, 0.0137438551, 0.0074505028, 0.0314392783, -0.0233967938, -0.055537995, -0.0012137375, -0.0144849885, 0.0283320099, 0.0329889506, -0.0296867695, 0.0233598445, -0.0317861326, 0.0309560951, -0.0220160801, 0.0014967325, 0.0639757365, -0.0144735239, -0.060341049, 0.0081780273, -0.0294533782, -0.0436158478, -0.0302041136, 0.0504165404, 0.0645595938, 0.0023459694, 0.0463670194, -0.0400003195, -0.0046243337, 0.0249766298, 0.0044770152, 0.015740091, -0.0750142261, 0.0386005826, 0.0105733108, -0.0150775611, 0.0051566316, 0.0364015922, -0.0076260739, 0.0785369277, 0.0097180959, -0.0194376595, -0.0372890681, 0.0028838152, 0.0072475295, 0.0066434429, -0.0073256642, 0.0190016981, -0.0139043164, -0.0536733717, -0.0082732132, 0.0586362332, -0.0482284278, 0.0067728697, 0.0621818341, -0.0310195033, -0.007371359, -0.0426841974, -0.0288298167, -0.0099383788, -0.0083372286, -0.0204808544, -0.0016464351, -6.006016469e-33, -0.0465307683, -0.065292865, 0.0715017393, -0.024469262, -0.0722783804, 0.0032356333, -0.043819692, 0.0246713962, 0.0080683343, 0.0056255576, 0.0078292964, -0.0052562589, -0.0061159902, 0.0509009808, -0.0063147792, 0.0148621472, 0.0150648281, 0.0315567106, 0.0001610318, 0.013721874, 0.0804493651, 0.0018572132, 0.0380041562, -0.0857177824, 0.007078846, -0.0042924131, -0.0251067523, 0.0368930399, -0.0028956612, 0.0357192867, -0.0282296147, 0.0175762456, -0.0007616306, -0.0057259472, -0.0317835733, -0.0132838748, -0.0639938489, -0.0227862149, -0.0068611377, 0.0217351411, -0.0492766351, -0.0330980495, 0.0469972566, -0.0183878373, 0.0437969081, 0.0306974221, 0.0235977285, -0.0194551088, -0.0488848947, 0.0233279355, -0.0606762469, 0.0149777476, 0.0169246532, -0.0222642794, 0.0027702646, 0.0462957248, 0.0170377959, -0.0359697007, -0.0285264943, 0.0222088974, 0.024269145, 0.0162964854, 0.0450236686, 0.053298384, 0.0441685952, 0.0624264702, -0.0123424493, -0.0236894656, -0.0991353691, 0.0220493786, 0.0369052775, 0.0346119069, -0.0271282047, 0.0715512559, -0.0059153358, -0.0001851254, -0.0283489563, 0.0329019055, -0.0732489526, 0.0311175846, -0.0214978997, 0.0123095848, -0.0259069186, -0.0267829448, -0.0223812908, -0.0019541339, 0.0158315469, -0.05411084, 0.0394456089, 0.0260181949, -0.0358546786, 0.0356191061, 0.0005672118, -0.0046778899, -0.0289049428, 0.0101018492, -0.0071299672, 0.017919315, -0.009801385, 0.0006090983, -0.0504446141, -0.0446770303, 0.060171783, -0.003931121, -0.0000167367, 0.0227895137, -0.000516371, 0.0384929664, -0.020888662, 0.0192529, -0.0479079373, -0.0151648838, 0.0066659302, -0.0451522395, 0.068591401, -0.0193574838, -0.0272225235, 0.039839413, 0.0155857792, -0.0038698877, 0.0164315496, -0.0198097825, 0.0003097718, 0.0513490252, -0.0167252142, 0.0173541028, -0.0301165842, 0.001906622, 0.0140669933, -0.0688852966, -0.0124473842, 0.035828948, 2.894e-7, 0.0198460333, 0.0315947756, 0.0467309915, -0.020888146, -0.0064691864, 0.0160062835, 0.0326362066, 0.0270609949, -0.0299004186, -0.0300869681, -0.0035173229, 0.0637352318, -0.0111728339, 0.0169931408, -0.0890467241, 0.0472012497, -0.0145177292, -0.0361670144, -0.0706147775, -0.0187669173, 0.0287239179, 0.0120430961, 0.0090699689, 0.0139720915, 0.035203021, -0.0072102994, 0.0212754086, -0.0258503221, -0.0136314733, -0.0064544221, 0.0330883898, 0.0474256836, -0.0311657526, -0.0178255159, -0.0145704579, -0.02440493, 0.0064579761, 0.030203972, -0.0353959426, 0.0371742062, 0.007588353, -0.0504967086, -0.0106300665, -0.071092777, 0.0446403176, -0.0815780014, 0.0156252477, 0.0199755803, -0.0339281261, 0.021727331, -0.0463833995, -0.0146357417, -0.003097865, -0.060549818, 0.0208649039, 0.0105357179, -0.0127030285, -0.0742643327, -0.0176593866, 0.0533661991, -0.0200195219, -0.001747547, -0.0254215375, 0.0242816657, 0.0043127751, -0.0061765215, -0.0391456224, 2.247614075e-34, -0.030871518, 0.0190937463, -0.0128266653, -0.0284413304, 0.0273193326, -0.0044906759, -0.0206542239, 0.0107305953, 0.0108098518, -0.0383003615, -0.0181849226 ]
http://arxiv.org/abs/2406.19966v1
http://arxiv.org/pdf/2406.19966v1
Simulating Financial Market via Large Language Model based Agents
2024-06-28T14:54:12
2024-06-28T14:54:12
Shen Gao, Yuntao Wen, Minghang Zhu, Jianing Wei, Yuhan Cheng, Qunzi Zhang, Shuo Shang
cs.CL
cs.CL
Most economic theories typically assume that financial market participants are fully rational individuals and use mathematical models to simulate human behavior in financial markets. However, human behavior is often not entirely rational and is challenging to predict accurately with mathematical models. In this paper, we propose \textbf{A}gent-based \textbf{S}imulated \textbf{F}inancial \textbf{M}arket (ASFM), which first constructs a simulated stock market with a real order matching system. Then, we propose a large language model based agent as the stock trader, which contains the profile, observation, and tool-learning based action module. The trading agent can comprehensively understand current market dynamics and financial policy information, and make decisions that align with their trading strategy. In the experiments, we first verify that the reactions of our ASFM are consistent with the real stock market in two controllable scenarios. In addition, we also conduct experiments in two popular economics research directions, and we find that conclusions drawn in our \model align with the preliminary findings in economics research. Based on these observations, we believe our proposed ASFM provides a new paradigm for economic research.
[ -0.0005678755, 0.0285800863, -0.055488959, -0.039783936, 0.0057397247, -0.0172627978, 0.0091594253, 0.0475562289, 0.0602203049, 0.0263617076, 0.0096830288, -0.0305129122, -0.0410826541, 0.0590122119, 0.0364197604, -0.0268098414, 0.0106911687, -0.0417684503, 0.0258940123, -0.0712083206, 0.0153613351, -0.0438776501, 0.034663938, 0.0077838418, 0.0314542279, -0.0045179757, -0.0517720357, -0.0369656496, 0.0118871648, 0.0108900294, -0.0111650759, -0.0078490041, 0.0269040428, 0.0713718459, 0.0000020668, -0.0186819509, 0.0184488036, -0.0053091682, -0.0511289835, -0.0377055258, 0.022974534, 0.0085364031, 0.0245415512, 0.0129056806, -0.0607148372, 0.0478352569, 0.0718225837, 0.033092197, 0.0519454591, 0.0698467493, 0.008562875, -0.0345705748, 0.0125342626, -0.0341564193, -0.0216471422, -0.0809737518, 0.0466667935, 0.0245445054, 0.03630675, 0.0142826401, -0.0196773447, 0.0129424343, -0.0055547738, 0.0067410357, -0.0039232103, 0.0143415602, -0.018512398, -0.0025875841, -0.0249343757, 0.0543129854, 0.0181851257, -0.0021624046, 0.0264274385, -0.0108208694, -0.0143225025, 0.0558376946, -0.0183631256, 0.0558615439, -0.00895188, 0.0332203209, 0.0598099194, 0.0063650408, 0.0275380202, 0.0055256146, -0.0330615602, 0.0616867244, -0.0218495373, -0.0218420587, -0.0107955057, -0.0036123386, -0.0238246918, -0.040316578, -0.0249438398, 0.0031128053, -0.0609366558, -0.0101597635, -0.0125742927, -0.0034666462, -0.0229533557, -0.0994296521, -0.0112220664, 0.0436278135, 0.0670226738, 0.0146500543, -0.0317202918, 0.0734846219, -0.0014055829, -0.0123640103, -0.0092766425, 0.0340057425, -0.0713568777, 0.0056109638, -0.0651536211, 0.0475092754, -0.0323843881, -0.0220382698, -0.08331763, 0.0146182096, -0.0558072105, 0.0491099432, -0.0351062566, -0.0461566262, -0.0196571536, 0.0125761367, -0.0847686976, -0.0462299846, -0.0405029468, 0.0174678415, -0.0085661709, -0.0121791251, 0.0251435824, 0.007832624, -0.0547728129, 0.0128692705, -0.002917469, 0.104702659, 0.0295375716, 0.0034008736, -0.0187457278, -0.0429796241, 0.0618160851, -0.0270493403, -0.0312367361, -0.026907973, 0.0232225675, -0.0523043126, -0.0063188341, -0.0101053352, -0.0044679539, -0.023373628, -0.0295312498, 0.08335042, 0.0345827565, -0.0230344608, -0.0387319438, -0.0465591438, 0.0245392472, 0.0570921786, -0.0083912434, 0.0041931113, 0.0482784919, 0.008077791, 0.0538500883, 0.0483500734, -0.0129359476, -0.017077582, 0.0102249281, 0.0016217151, 0.0208410267, 0.0024286571, 0.055662889, -0.0096568391, -0.0351734571, -0.0384017453, 0.0781913325, 0.0481004268, 0.0413535647, 0.0692102909, 0.0127407303, 0.0557938069, 0.0169305988, 0.0165366381, 0.0096597727, 0.0199918095, -0.0328497849, 0.0171522796, -0.0529619567, 0.0025129002, -0.0789491609, 0.0000975226, 0.0440758131, -0.0349237025, 0.0028085678, 0.004926837, -0.0032503244, -0.0762161091, -0.0406399146, 0.0085704094, 0.0248476602, 0.0223679319, -0.0299656112, -0.0516315326, 0.0113115432, 0.0795506686, 0.0214193594, -0.0025723858, 0.0525430962, -0.0167740025, -0.0591257662, 0.0676348209, 0.0371947549, -0.0053266524, -0.0934244618, -0.0416302532, -0.0371543914, 0.069184579, -0.0136224246, 0.0553345159, -0.0267548282, -0.0101738628, -0.0461599156, 0.0348400213, 0.0047190841, -0.0073849731, -0.0484298989, -0.0455557145, -0.0284634028, -0.0342067517, 0.0548678525, 0.0018320086, -0.001605315, -0.0239385217, -0.0244572386, 0.0391146056, -0.0782557875, 0.0578528345, -0.0529579036, 0.0491580442, -0.0039334581, -0.0005228248, 0.022486683, 0.0042246501, 0.0031020902, -0.0162946396, 0.0100264344, -0.0106147118, 0.0267878734, -0.0347831734, -0.0201648902, -0.0005292524, 0.0442431793, 0.009689495, 0.0550443605, 0.0320281088, -0.0210725088, -0.0148550952, 0.0071405238, -0.0218822435, -0.0772840977, 0.0341004282, 0.0341402479, 0.0159817487, 0.07278689, 0.0427414961, -0.0093906568, 0.0518691838, -0.0128896888, -0.0295414012, -0.0170172807, 0.0371920653, 0.0081116846, 0.0216992125, 0.0010750322, 0.0019514596, -0.0022557424, -0.0496400632, 0.0572857447, 0.0318048224, 0.0082280897, 0.0374695361, -0.0375689492, -0.0443789884, -0.0173407402, -0.0032386943, -0.0188690685, 0.006695678, 0.0405460037, 0.0205875151, -0.0329332165, -0.0032250807, -0.0264680535, 0.0546477102, -0.0274566878, -0.0127236014, 0.0112551115, -0.0238156356, -0.0158075616, 0.0490478426, 0.0108604515, 0.0307424366, -0.0182077345, 0.0518446453, -0.0480047911, 0.0331828706, -0.0181601383, 0.0148516819, -0.0588324368, -0.0020933428, -0.0217267852, 0.0692325756, -0.0302424654, -0.0095068393, -0.0620774627, 0.0557548031, 0.0228810702, -0.0196772683, -0.0625079647, 0.0076437299, -0.0265480839, 0.0257038064, -0.0288575459, -0.0042205215, 0.0350750722, 0.031713184, -0.0214781221, -0.008280497, 0.0147814536, -0.0212010294, 0.0206282623, 0.0073307003, -0.0020294038, -0.0250921119, 0.0041689333, -0.027870452, -0.0511278659, 0.0247442406, -0.0075003067, 0.0096143512, -0.0540432706, 0.0290508252, 0.0211818293, -0.0212771725, -0.0103878854, -0.0641742498, -0.037947163, 0.0273060426, 0.0395825692, -0.0731021091, -0.0466440208, 0.0440485664, 0.0533872321, 0.0046791038, 0.0083872266, -0.018234754, 0.0201544017, -0.0003875502, 0.0406730771, 0.0174104869, 0.01405547, -0.0366078839, 0.108305566, 0.0106970202, 0.0231038146, -0.0081618968, -0.0067663183, 0.0032620605, -0.0192058552, -0.0247217007, 0.0078422558, 0.0451912247, -0.0386020988, -0.0235893298, 0.0167613924, 0.0826945454, -0.0106411157, 0.0477192551, 0.0155660594, 0.0253360663, 0.0082084937, -0.0393243954, 0.0655485094, -0.096653156, 0.021163702, -0.0119581716, 0.0086760148, -0.0015271183, -0.0436191782, 0.021352645, -0.1234056726, 0.0532443821, 0.0117269391, -0.0172560047, -0.0140323015, -0.0302430689, -0.0044549387, -0.0529937297, 0.0089896433, 0.0285458509, 0.023207454, 0.0176205952, 0.0048299669, -0.0079413541, 0.019545367, -0.0169934984, -0.0234524105, 0.025874095, 0.0070894165, 0.0398708396, -0.0272611193, 0.0065434515, -0.1055499986, 0.0257491507, -0.0150707923, 0.0166341979, 0.0096741086, 0.0323936902, -0.0421778411, -0.015533261, 0.0181218311, 0.0255901627, 0.0469189398, 0.0318785347, -0.0194578245, -0.0086559402, -0.0846807957, 0.0145408865, -0.006301655, -0.0111885369, 0.0355778113, -0.0226380154, -0.0361411721, -0.0410735607, -0.0484605581, -0.0133776525, -0.0730109289, -0.0882575586, -0.0013049082, 0.0173939168, 0.0318036452, -0.0411883444, -0.0497272015, -0.0490220077, 0.0305670146, 0.0255437065, 0.0201389845, 0.0827135369, -0.0036751467, 0.0245912112, -0.0208918191, -0.0527444854, 0.0272356011, -0.0041288268, 0.0062412913, 0.012466385, -0.0959006101, -0.0368107259, 0.009977188, 0.0035897356, -0.0379227139, 0.0418609045, 0.0161957983, 0.0249377452, -0.0141082704, -0.017785402, 0.0650976449, 0.0154401017, 0.0120382048, 0.0017327348, 0.0001785163, 0.034581475, 0.0045427373, -0.0124456491, 0.0449819192, -0.0075185681, 0.0175900254, -0.040300753, 0.0161933806, -0.0757747069, 0.0141306333, 0.0036906872, 0.0335614681, -0.0471298285, 0.0293885227, -0.0195119176, 0.0090434197, -0.0242915936, -0.0072580334, 0.0043027522, 0.0062887529, -0.0691370815, 0.0335259847, 0.0201364327, 0.0223242324, 0.0040186434, 0.0274767391, -0.0613406822, 0.0510579981, 0.0208057705, -0.0292800013, 0.0420996435, 0.0095006097, -0.0098588401, 0.0264291745, 0.0168592371, 0.055022385, 0.0392840952, -0.0031971254, 0.0333510488, -0.0006226897, -0.0217905119, -0.0126233613, -0.0555510595, -0.019932745, -0.0538915284, 0.0288577508, 0.0837882832, 0.0055135945, -0.0312317703, 0.0024016488, -0.095656544, 0.0266500209, 0.0039329752, -0.0160280056, -0.0173855033, -0.0165103991, -0.010469419, 0.0176857915, -0.0528717265, -0.0457746275, 0.0747365057, 0.0206308365, 0.0478753634, -0.0584405549, -0.0084718606, -0.0386428274, -0.021390425, 0.0152170714, -0.0278541204, 0.0060755233, 0.018819483, -0.0591062196, -0.0126704536, -0.0002488991, 0.0473228917, -0.0035712223, -0.0050158412, 0.0127425194, 0.0053118728, -0.0311960205, 0.0565076098, -0.0073529938, -0.0102647291, -0.0269892998, 0.0203719232, -0.0829486698, -5.610640781e-33, -0.0220557787, -0.0290908366, 0.0510484353, -0.0014308944, -0.0138790812, -0.0188773386, -0.0413686521, -0.0137778549, 0.0091615068, 0.0052236249, 0.0225558653, 0.0227996632, 0.0219998211, -0.0063293488, 0.0269483887, 0.0265367869, 0.0334499776, -0.0488432348, 0.0044149528, -0.0479423106, -0.0018569481, -0.0141427703, 0.0075965272, 0.0193654094, -0.0028449104, -0.0456403121, -0.0518132225, -0.0315187089, -0.013846756, 0.057114318, -0.0052219168, 0.0272773355, -0.0084694158, -0.0523787476, 0.0164668281, 0.0034094267, -0.0150710931, -0.0290653966, -0.0073555824, 0.0250790529, 0.0360651277, 0.0010995911, 0.0397424363, -0.021546334, -0.0414077975, 0.0326062776, 0.0353892036, -0.0079412088, 0.0232586693, 0.0367734991, -0.09050446, 0.0013314881, 0.0302691013, 0.0539793149, 0.0214147959, 0.0552320406, -0.004015638, -0.056470219, -0.0030820165, 0.0657128543, 0.0163136832, -0.0086593665, -0.0598649681, 0.0595125444, 0.0572186597, 0.0344565548, 0.0154135311, 0.0314705111, -0.0223641433, 0.0119294506, -0.000415138, 0.0212996155, 0.0188941862, 0.0712141469, -0.0445821695, -0.0297479071, -0.0067073093, 0.0221296009, 0.0581174456, 0.0236454364, 0.0279828385, 0.0391459689, -0.0374764539, -0.0415335447, -0.0052504912, -0.0054907552, 0.014086959, -0.0148711633, -0.0046443995, 0.0030286948, 0.0017582701, -0.0238662381, 0.0073910919, -0.0322426558, -0.0726424307, -0.0563231409, 0.0294227097, -0.0039543905, 0.0141670508, -0.0280753653, -0.044793427, -0.0657050088, -0.0264667794, -0.0228890348, -0.0039858255, 0.0182038005, -0.0502840765, 0.015792232, -0.0162643064, 0.0105556166, -0.0257644635, 0.0018331694, 0.0631431788, -0.0126574077, 0.0122826025, -0.0041890657, 0.0070749177, -0.0371311158, -0.026179716, -0.0293152891, -0.0039136084, -0.015136566, -0.0057825316, 0.0297594797, 0.024146758, 0.0721381754, -0.0540571995, 0.095632866, -0.0153909232, -0.0594137944, -0.0253454633, 0.0264627803, 2.83e-7, -0.0114245834, 0.0597451851, 0.0077077574, 0.0505412333, 0.0501932912, 0.0626888201, -0.0487384498, 0.0087676104, 0.0197155792, 0.0027657114, 0.0712889209, 0.0539851263, 0.0392730907, -0.018412808, -0.0728610754, -0.0351449698, -0.0104008932, 0.011891447, -0.0226982161, -0.0057793828, -0.0306203049, 0.0248613935, 0.0083607743, 0.0155003862, 0.0279840399, -0.0757029876, 0.0305889733, -0.0138509385, -0.0222540665, -0.0099532073, -0.0559035018, 0.0151096797, -0.0205553938, 0.0426444151, 0.0236197505, 0.0245356858, -0.012488449, 0.0064888364, -0.0059233801, 0.0269170795, 0.0091720419, -0.0117106512, -0.0064631556, -0.027511213, 0.015220697, -0.0787570253, -0.0381867029, -0.0207652766, -0.0514504686, 0.0090879472, 0.0026933283, 0.013050436, -0.0338335671, 0.0047713812, 0.0004703104, -0.0139552392, 0.0706568658, 0.008290234, -0.0171673968, 0.0017388621, -0.0667280853, -0.0394836403, -0.0235345066, 0.0206993874, 0.0027649673, -0.0137332128, 0.0145325866, 2.198612951e-34, 0.0702747852, 0.0311268512, -0.0249986611, 0.0183536485, 0.0263852067, 0.0324223936, -0.0077502136, 0.0397530347, 0.0756489635, -0.0406637974, -0.0464908369 ]
http://arxiv.org/abs/2406.19954v1
http://arxiv.org/pdf/2406.19954v1
BESTOW: Efficient and Streamable Speech Language Model with the Best of Two Worlds in GPT and T5
2024-06-28T14:40:03
2024-06-28T14:40:03
Zhehuai Chen, He Huang, Oleksii Hrinchuk, Krishna C. Puvvada, Nithin Rao Koluguri, Piotr Żelasko, Jagadeesh Balam, Boris Ginsburg
cs.CL
cs.CL, cs.HC, cs.SD, eess.AS, 68T10, I.2.7
Incorporating speech understanding capabilities into pretrained large-language models has become a vital research direction (SpeechLLM). The previous architectures can be categorized as: i) GPT-style, prepend speech prompts to the text prompts as a sequence of LLM inputs like a decoder-only model; ii) T5-style, introduce speech cross-attention to each layer of the pretrained LLMs. We propose BESTOW architecture to bring the BESt features from TwO Worlds into a single model that is highly efficient and has strong multitask capabilities. Moreover, there is no clear streaming solution for either style, especially considering the solution should generalize to speech multitask. We reformulate streamable SpeechLLM as a read-write policy problem and unifies the offline and streaming research with BESTOW architecture. Hence we demonstrate the first open-source SpeechLLM solution that enables Streaming and Multitask at scale (beyond ASR) at the same time. This streamable solution achieves very strong performance on a wide range of speech tasks (ASR, AST, SQA, unseen DynamicSuperb). It is end-to-end optimizable, with lower training/inference cost, and demonstrates LLM knowledge transferability to speech.
[ -0.013291453, 0.0639613643, 0.0107639562, 0.0581521355, 0.0099337325, -0.0083385268, 0.0260046795, -0.0380888246, 0.004948725, -0.0225791633, -0.0780145079, -0.0611374341, -0.0154221086, 0.0882192925, 0.0189123042, -0.0333704539, 0.0474675782, -0.0608568117, -0.0095308637, 0.0039112396, 0.036694102, 0.0224523023, -0.0152618382, 0.0203894153, 0.0252518337, -0.0159188062, -0.05156352, 0.0091198422, -0.0021223279, 0.0013315034, -0.0123097701, 0.0066386745, 0.0783257037, 0.0377724804, 0.0000019619, -0.0209303834, -0.0257152263, 0.0127075016, -0.0544352792, 0.0006701117, 0.0118439561, 0.001414999, -0.0217733011, 0.0330495648, 0.0083024204, -0.0180017073, 0.0419637561, 0.0352908969, 0.0713703036, 0.0675947517, 0.0001400486, -0.026426563, 0.0368861221, -0.0295134373, -0.015341308, -0.0637102202, -0.0004603971, -0.0742765665, -0.0086322464, -0.0223855842, -0.0322707146, 0.0415119193, 0.0231684819, -0.0034910406, -0.0232602246, -0.0030700383, -0.0090283174, -0.043185059, -0.0549264029, 0.0593416728, -0.023413606, 0.009392133, 0.0501132384, -0.013323064, -0.0269874223, -0.0543418899, -0.0365467966, 0.026160419, 0.0091845235, 0.0279152375, 0.0069831479, 0.000780926, 0.0280007664, 0.0136532532, -0.040076796, 0.0738016292, -0.0106416298, 0.0001380235, -0.0102457888, 0.003857624, 0.0179697406, -0.0546335466, 0.050612051, 0.0427004471, -0.0813738853, 0.0078670904, -0.0571466796, 0.0092534013, -0.0425497703, -0.013275465, 0.0866666734, 0.050990846, -0.0301080197, 0.0370273553, -0.0154402154, 0.0263465531, -0.0238074288, -0.0034728087, -0.0292954873, -0.0132643841, -0.0223529208, 0.0034659903, -0.0293730628, 0.0407826938, -0.071425505, -0.0527541898, -0.0091330502, 0.0409884639, -0.0144741302, -0.0270662978, 0.0429890826, -0.0076444861, -0.0471487939, -0.014164038, 0.0118517047, 0.0527167283, -0.0044545196, 0.0404911302, 0.0187977217, -0.0797709897, -0.021215355, 0.0297909342, 0.0218518078, -0.0019963766, -0.0020231635, 0.0400068313, -0.0171656478, -0.0276127402, -0.0534263365, -0.0157187507, 0.0228133481, -0.0675510988, 0.0063581946, -0.0117493812, 0.0630363747, -0.0326361842, 0.0116452444, 0.0093472404, -0.0058714082, -0.009560246, 0.0163338222, 0.068160139, -0.0061929491, 0.0155806337, -0.007340976, -0.0009369137, -0.0168129336, 0.079112038, 0.012555006, -0.0012982212, -0.0013959087, -0.0269346219, -0.0266629457, 0.0578056723, 0.0178446509, -0.0042678355, 0.0057439045, 0.0237746034, -0.0058073238, 0.010091044, 0.0916854218, 0.000112596, -0.027036814, 0.010648584, 0.0620608144, 0.0455197804, 0.0533507541, 0.0126846116, 0.026535375, 0.0562676117, -0.0298247263, -0.0039364039, -0.0479177013, 0.0360890441, 0.0173331387, 0.0022432439, 0.0275940169, 0.062299531, -0.0366465226, -0.0197713338, 0.0108238691, -0.0288787, -0.0087122014, 0.0578169562, 0.0446395688, -0.009258328, -0.0321876854, 0.0777685568, -0.0242856406, -0.0565218665, -0.0025774366, -0.0511612445, 0.0246924907, 0.0632280633, -0.0077378494, -0.0356098153, -0.0611210316, -0.0338841528, 0.0388580747, 0.0390021726, 0.0115607148, 0.0161377508, 0.0914239436, -0.0538230315, -0.0231156442, 0.0210921075, 0.0130366171, 0.0759072676, -0.0214516837, 0.0155733367, -0.0117472038, 0.0272694267, 0.0141721014, -0.0072144931, -0.0053026373, -0.0128674973, 0.0194062293, -0.0283540394, 0.0762616619, 0.004346095, -0.021179745, -0.0052519781, 0.0350668281, -0.0345682986, -0.0012514739, 0.0412550494, -0.091416724, -0.0086045377, 0.0318728797, -0.0089298477, 0.0047541489, 0.0616965517, -0.0326876082, -0.0907123387, 0.0116142966, 0.0030836505, 0.0565144233, -0.0657665953, 0.0128287505, 0.024292849, 0.0080171274, 0.0362075195, -0.0012080298, 0.0149308769, -0.0018227637, 0.0101960236, 0.0157059394, -0.0033061095, -0.0683386549, -0.0341377743, 0.0297517944, -0.0209481325, 0.0205640811, -0.0329268016, 0.0152355684, -0.02348697, -0.0081377579, -0.0508390777, 0.0453263037, -0.0460689776, 0.0474529378, 0.0108121699, 0.0394883379, -0.0119090239, -0.0205243025, -0.038915623, -0.0130081875, 0.017072618, 0.0077060317, -0.0190270208, 0.0188247822, -0.0016726318, 0.0010385661, 0.0070478814, 0.0450566486, -0.0282072164, -0.0241105463, -0.0147686237, -0.0690821782, 0.0133060943, 0.0187294129, 0.0346406326, -0.026822079, 0.0008946723, -0.0097215772, -0.013671875, 0.000126607, 0.0395650528, -0.0057614841, 0.006520228, 0.0132338041, -0.0254503042, -0.0274953526, 0.051413212, 0.0201918222, -0.0084027285, -0.024824677, 0.0591707937, -0.0062791985, 0.0547887646, -0.0217225645, -0.0058335755, -0.0486079901, -0.0329910554, 0.0098499861, -0.0432423055, -0.0372777842, -0.0363475159, -0.0674363673, -0.0084045399, -0.0012458771, -0.0253864937, 0.0386974923, -0.061012432, -0.0580968931, -0.0280961804, -0.0540303923, -0.053230267, 0.0447042137, -0.0224490706, -0.0068397634, -0.0248182863, -0.0695292354, -0.0161930528, 0.0340850092, -0.0023409741, -0.037850067, 0.0320338123, -0.0383963995, 0.0019513604, -0.0511153564, -0.0442077853, -0.0227641966, -0.0022452408, -0.0570327714, -0.0019237212, -0.0056710807, -0.0250887387, -0.0152712492, 0.0251775533, 0.0193690546, 0.0503350124, -0.0177984741, 0.0409598462, -0.0440778211, 0.0348965749, 0.039456699, 0.0674040839, -0.0364209302, -0.0041511529, 0.0079582063, 0.0323628485, 0.0884127244, -0.0301720724, -0.0166247915, 0.0201943666, 0.0732204542, -0.0309680216, -0.0323123522, 0.0212842487, 0.0539574809, -0.0949551836, 0.0227412041, 0.1167467013, -0.001405678, -0.0210802946, -0.0256763827, 0.0017149218, 0.0165513866, 0.012718155, 0.0171698611, -0.0695577711, -0.0593890771, 0.0347262844, 0.0218569003, 0.0321157128, -0.0059567448, -0.0456178896, -0.081521146, 0.045853965, 0.0104160281, -0.0241798311, -0.0067975279, 0.0130626485, -0.0239341296, -0.0079998812, 0.0221962817, 0.0104622636, 0.0152486712, -0.0051702317, 0.0207525194, -0.0287122373, -0.028932292, 0.0422501154, -0.0307006743, 0.0658984482, 0.0684771091, 0.0033077814, 0.0001108585, -0.0543314815, 0.0356103778, -0.0488837212, -0.0158502888, -0.0029464953, -0.0138634397, -0.0438404158, -0.0206899308, 0.0004318242, 0.0569202527, -0.0237039644, 0.0186037421, 0.010090691, 0.0892409533, -0.01244538, -0.0286546443, 0.0032752613, -0.0234719291, 0.0205419231, 0.0692884326, 0.0034563993, -0.0198697988, -0.0413576402, -0.0191365555, -0.0260952972, -0.0322574712, -0.0294917747, -0.0091003515, 0.0096465768, -0.0276916232, 0.0268325005, -0.0039126039, 0.0202461276, 0.0397575609, -0.0106816236, 0.047598578, 0.0280959345, -0.0029236977, -0.0615765527, 0.008317559, -0.0156538915, 0.0402133055, -0.0381060876, -0.0179615915, 0.0828036517, -0.0325227343, -0.0126189487, 0.0501836427, -0.0590948872, -0.0542066954, -0.005324034, 0.0075112316, 0.0286292918, 0.0732896328, -0.0496627912, -0.0132611012, 0.0450784042, 0.0108805122, -0.0475728326, 0.0340450183, 0.0742985457, 0.0108525045, 0.0095764427, 0.0503968522, -0.0623987615, -0.0150285829, -0.0173947643, 0.0098716095, -0.0064553372, 0.0062224371, -0.0303843711, 0.0351440869, 0.0300101321, 0.0025869131, -0.0039672037, -0.0273661707, 0.0450381674, 0.0134924259, 0.0333287343, -0.0820821822, 0.0137256337, 0.0117321312, -0.0427825376, -0.0038537909, 0.0025979951, 0.0080340067, -0.04965996, -0.0185153019, 0.0437804908, 0.0182478093, -0.0247381963, 0.0351902507, -0.0075363475, -0.0029256234, 0.0252536461, 0.0551042967, 0.0244391896, -0.0179394521, 0.0276746303, -0.0033512362, 0.0145199653, 0.0263640434, 0.0399078839, -0.0773406923, -0.0832038671, -0.0203795396, 0.0534747876, 0.0229364857, 0.0049591186, 0.0483206958, 0.0082146442, -0.003146281, -0.0237397347, 0.0606488548, -0.0226692762, -0.0350186974, 0.0384092666, 0.0172903165, -0.0197689775, -0.0059146411, 0.0566136092, 0.0350050554, 0.0301632192, 0.0170879327, 0.0137062352, -0.0475303717, -0.0592166781, -0.0123435194, 0.0362559371, -0.0244686902, -0.0092548495, -0.017867377, -0.0517278127, 0.0382206924, -0.0134070423, 0.0047262879, -0.0571294576, 0.0187092833, 0.0045548403, -0.0280195419, 0.0065690423, -0.0061581745, -0.0283499695, -0.0001878694, -0.0135846343, 0.044307556, -6.519958763e-33, -0.0429739319, 0.0382828265, 0.0349095799, -0.0162367076, -0.0536255352, 0.0067213955, -0.0213552024, -0.0257427264, -0.0253017433, -0.0383390635, -0.0169630442, 0.0433246344, 0.044339858, 0.0461878181, -0.0065035876, -0.0352096148, 0.0628180429, -0.0438944027, 0.011405129, 0.0368559062, 0.0102878371, 0.063861914, 0.040066082, -0.006779951, 0.001793069, -0.0032204816, -0.0097562745, 0.0085269818, -0.0354613662, 0.0436118878, -0.0244178902, 0.0230724271, 0.0038446952, -0.0561840646, -0.0654016882, 0.0451727994, -0.0464859977, -0.0020171448, 0.0232221205, 0.034156587, -0.0506285764, 0.0017731329, 0.0202364735, 0.0508710817, 0.0142280934, -0.0272653308, -0.0227467343, -0.0054651592, -0.014290899, -0.0261499938, 0.0156973079, 0.0122670373, -0.0056880303, -0.0248708781, 0.0652160943, -0.015856171, -0.0134491241, 0.0078371046, -0.052206248, 0.0049069244, 0.0020752163, 0.019864101, 0.0702538714, 0.0082513755, -0.011153833, 0.0207658391, 0.0118126394, -0.0747187436, -0.0088507095, -0.0172771811, 0.0080614192, 0.0477032699, -0.000805347, 0.0148342643, 0.0281746406, -0.016610669, -0.0120725771, -0.0182594229, 0.049742464, 0.0132809114, 0.0278243832, 0.0413010158, 0.017852053, -0.0220516957, -0.0360517986, -0.0305952206, -0.0301205274, 0.019748779, 0.0666275918, 0.0335982256, 0.0328795277, -0.0001422278, 0.0897039622, -0.0222505126, 0.0224661827, 0.0174977351, 0.0027938373, -0.0116040437, 0.0161834434, 0.0675841421, -0.0515207388, -0.0051974854, -0.0091563407, 0.0218915474, -0.0146903927, -0.0233228598, 0.0010874465, 0.057316307, -0.0496688373, -0.0162735414, -0.0344752967, 0.0402652882, -0.023075385, 0.0271264706, 0.0485618189, -0.0398362242, 0.0051514287, 0.0793297514, -0.0477901995, -0.0197372586, -0.0187491495, -0.0300096944, 0.0137167647, 0.0138459122, -0.021907337, 0.010369706, -0.0153534627, -0.0096510053, 0.0341044292, -0.0423965715, 0.0001607501, 0.0095064025, 2.778e-7, -0.0190893635, -0.0176431034, 0.0214369856, 0.0068744342, 0.0421748459, 0.0261918567, -0.0313574038, 0.0366688892, -0.0164823495, 0.0162563995, 0.002021288, 0.0179393031, 0.0820328072, -0.0008038399, -0.1091778949, -0.0499882288, -0.038637463, 0.0421976559, -0.0282039791, -0.0258266535, 0.0067082373, 0.0998229682, -0.0296532996, -0.0068733883, 0.0599176586, 0.0052207233, 0.0099453675, -0.0174575746, 0.0199923608, -0.025300961, -0.0057938476, 0.0000350395, -0.0316470526, -0.0137718329, -0.0409796797, 0.0272870976, -0.0183348581, 0.1151590794, 0.0323214419, -0.0583294816, 0.0072033014, 0.0195768587, -0.0001341807, -0.0080384109, 0.0686578974, 0.0038608003, -0.004085721, -0.0304908864, -0.0365391225, -0.0659187436, -0.0380461998, 0.0073322696, 0.0170612782, 0.0180784017, -0.0144416103, -0.047906246, -0.0267499741, -0.0989073068, 0.0109801972, -0.0415981449, -0.0787026733, -0.0258093886, -0.0796259716, 0.0116314888, 0.0602011643, -0.0677792206, -0.0321228169, 2.498784846e-34, 0.0292529222, -0.0064786701, 0.0324060619, 0.0377490669, -0.0115118688, -0.0000561041, 0.0026746751, 0.0121175731, 0.0157959219, -0.059541095, -0.0611649752 ]
http://arxiv.org/abs/2406.19951v1
http://arxiv.org/pdf/2406.19951v1
Mining Reasons For And Against Vaccination From Unstructured Data Using Nichesourcing and AI Data Augmentation
2024-06-28T14:36:31
2024-06-28T14:36:31
Damián Ariel Furman, Juan Junqueras, Z. Burçe Gümüslü, Edgar Altszyler, Joaquin Navajas, Ophelia Deroy, Justin Sulik
cs.CL
cs.CL
We present Reasons For and Against Vaccination (RFAV), a dataset for predicting reasons for and against vaccination, and scientific authorities used to justify them, annotated through nichesourcing and augmented using GPT4 and GPT3.5-Turbo. We show how it is possible to mine these reasons in non-structured text, under different task definitions, despite the high level of subjectivity involved and explore the impact of artificially augmented data using in-context learning with GPT4 and GPT3.5-Turbo. We publish the dataset and the trained models along with the annotation manual used to train annotators and define the task.
[ 0.0206370335, 0.0414494276, 0.00355472, -0.0319069698, 0.0166790839, 0.01354698, 0.0078289164, -0.0468724743, -0.0164144877, -0.0114156008, 0.0000139736, 0.0227100216, 0.0021594726, 0.0092616118, -0.0123086376, -0.0523124859, 0.0509715788, 0.0606041551, 0.0641149804, 0.0437157936, 0.0136884367, 0.0418901518, -0.0265174415, 0.0651525334, 0.0123317754, -0.020482013, 0.0111673353, -0.0272210483, 0.083373934, -0.1111796945, 0.0490967073, -0.0391777344, 0.0481577069, 0.0128500108, 0.0000019802, 0.0147447074, -0.044241257, 0.0438931584, -0.0284019206, -0.0192911569, 0.0361823849, -0.0149601148, 0.0037252787, 0.0312562063, -0.0571492352, -0.0187172219, 0.0720984042, 0.0484602675, 0.0252411664, 0.0418709591, -0.0217429698, -0.0172760095, 0.0145732556, -0.0204451811, -0.0017040784, 0.0351218097, 0.0365003794, -0.0060410206, -0.0122635337, 0.0698681697, 0.0152469696, 0.0031789094, -0.0119640417, -0.0240800139, 0.0566620827, 0.0566497706, -0.0301592462, -0.0036992684, -0.004808527, 0.0710950196, 0.0345028266, -0.0264718048, 0.0287297033, -0.0152995363, 0.0025818041, -0.0015496288, -0.0348537788, -0.0083390614, -0.0225154329, 0.0492116995, 0.0859711319, 0.0155981984, 0.0588857122, -0.0003223718, 0.0155002326, 0.1048116386, -0.0193700902, -0.038117677, 0.0132009834, -0.0104177753, -0.0055504786, -0.0355592258, 0.0177433416, 0.0120096626, -0.0092164315, 0.0175178275, 0.0339241587, -0.0095447758, 0.0578107424, -0.0295509268, -0.0360260606, -0.0113646658, -0.0247172639, 0.0011177553, 0.0372944325, -0.0875756368, -0.0252638962, 0.0369594358, 0.0429874882, 0.039832335, -0.1165505424, -0.0167129673, -0.0120749017, 0.02294413, -0.0157124307, 0.0576089472, -0.0590242706, -0.0006912386, -0.055340033, -0.0431283638, -0.0287499651, 0.0127257518, -0.0062544034, 0.0151624437, -0.0132686906, 0.0550606661, -0.0370056368, 0.0568472408, 0.0182709694, -0.0039307452, -0.0031977007, -0.0120614152, 0.0205024146, -0.0237960424, -0.0214089714, 0.0330807567, 0.0369817205, -0.0302254688, -0.023852298, 0.0062980014, -0.0551692694, -0.0538381375, -0.0418309048, -0.0137870619, -0.0211961698, -0.0261866003, 0.0014341993, -0.0415237099, -0.0179925133, 0.0074591595, -0.0350941122, 0.0606933646, -0.0658800453, -0.0349941067, 0.0682112724, 0.0204386842, -0.0011177211, 0.0171902981, -0.0105010029, 0.0071756383, 0.0032995711, -0.0111694485, 0.0073260679, -0.0741965547, 0.0430465676, 0.0302073676, 0.0517328568, 0.0092825023, -0.0431401506, 0.008441899, -0.0377354585, 0.0500125177, -0.0456303358, -0.0125847142, 0.0216981247, 0.0681754351, 0.0059408913, -0.029842183, -0.012527247, 0.0374806896, -0.007749937, 0.012376369, -0.0098832343, 0.0251846593, -0.019661855, -0.0299946498, 0.0259879585, 0.0004157593, -0.0092694154, -0.0492530726, 0.0023594811, 0.000687133, 0.0770326033, -0.0316158272, 0.0341997519, -0.0133328112, -0.0177892111, -0.0162126273, 0.0540883355, -0.0351953283, -0.0146205425, -0.0569551513, 0.0527726859, 0.0328084342, 0.0185531396, -0.0411071554, -0.1025436744, -0.0554005876, -0.0159258489, 0.0019225723, 0.004533493, -0.0482209735, -0.0094327899, -0.02981521, -0.0250208974, -0.059892863, 0.0512947142, 0.0256171674, -0.0182922464, 0.0328747742, -0.0016699722, -0.0081729731, -0.0132344421, 0.0300922319, -0.0057665627, -0.0235639159, 0.026390098, 0.0194070451, 0.0745543912, 0.0596680194, 0.0339663215, 0.0277304798, 0.0514924787, -0.0313327312, -0.0083941035, 0.0258723926, 0.0107738571, 0.0205143932, 0.0237727594, -0.0550260358, -0.0111100879, 0.0001620281, -0.0541479811, -0.0151317976, -0.0211105663, -0.0148941213, 0.0567124598, -0.0247813314, -0.0240576416, -0.0127792004, 0.0016175123, -0.023165796, 0.0295602866, 0.0178687871, -0.0474753529, 0.0257879365, -0.0601597056, 0.0234628785, -0.0513057634, 0.0464148782, -0.0316768289, 0.0200933665, -0.023754131, 0.0337941498, -0.0602117851, -0.028453514, 0.0494380109, -0.103523463, 0.0232588481, -0.0037112923, 0.029106576, 0.0100455936, -0.0304768216, 0.0250312891, -0.0023145771, -0.0269713365, -0.0249418672, -0.0174557287, 0.0410823189, 0.0405339263, 0.017643027, 0.0414858684, -0.0605870113, 0.0026459531, -0.0697364435, -0.0095939739, 0.0258796904, 0.0010054053, 0.0080129839, -0.0511549637, -0.0091852499, -0.0095330169, -0.0251271836, 0.0087948516, 0.0347787067, 0.0060234303, -0.0060718018, 0.0051896302, 0.010890469, 0.023144355, 0.0678485781, 0.0318282172, -0.0300349891, 0.0109814806, -0.0369881392, 0.0343156978, 0.0175213739, -0.0060628126, 0.0343795083, 0.0448677875, -0.0083411336, -0.0269512497, -0.0539983921, 0.0358490348, -0.0156764332, -0.0009867366, -0.0373998843, -0.0528373681, 0.0037088429, 0.0388888344, -0.0069283918, -0.038501557, 0.0656342879, 0.0391571634, 0.0257160403, -0.0767450705, -0.0350869484, -0.0220843982, -0.0327432938, -0.0138395261, -0.0289223064, 0.0391416028, 0.0295393132, 0.0250853319, -0.0449779481, -0.0229783934, -0.0161756556, -0.0068607363, -0.0169745684, 0.0044921706, 0.0099385874, -0.021430498, -0.013676404, -0.0404761061, -0.0297383163, -0.0312152002, 0.0352040008, -0.0256548654, -0.0055589792, 0.0221956801, 0.0083682155, 0.0474776737, -0.010870385, -0.0245350245, 0.0315046534, 0.0115360972, 0.0375955626, -0.0495307483, 0.0098111862, 0.0059304787, -0.0198057275, 0.0438275896, -0.014950891, -0.0117602246, -0.0328356847, 0.0013123698, -0.050217323, -0.0136797084, -0.0148296123, -0.0004620955, 0.0150532005, -0.038172245, 0.027921427, 0.0634392798, 0.0306958407, -0.029104026, 0.0193784256, -0.0011667083, -0.0365232006, -0.0259213559, 0.0020727026, -0.0482868552, 0.0088425819, -0.0208724644, 0.0179138947, -0.0296734851, -0.0350508764, 0.0042437925, -0.0366274603, 0.0715532228, 0.0195153914, -0.0529889241, -0.0249078926, -0.097642526, 0.0041029151, -0.0678158477, -0.0211714003, -0.0334683284, 0.0366053432, 0.0196329616, 0.0375308953, -0.0352971517, -0.0420986898, 0.0096170558, 0.0190871917, 0.0510056466, 0.0771311224, 0.0698036402, 0.014901449, -0.0458939672, -0.0015578135, 0.0291836299, -0.0441412143, 0.008660987, 0.1114455536, 0.0021423835, 0.0118791917, -0.0276019927, 0.0572435632, -0.0231510531, -0.0374542885, 0.0346697345, 0.0904107243, -0.0209927242, 0.0028737837, -0.0660327151, 0.0191121195, 0.0233195722, 0.0452181138, 0.0201963075, 0.0074897539, 0.0130240619, -0.0180319082, 0.0246655326, -0.0706617907, 0.0180609394, 0.0124480966, -0.0154184662, -0.082731925, -0.0458774045, -0.009711599, 0.0193227306, 0.0039221896, 0.0150233544, -0.0062818262, 0.0117957853, -0.0157198329, -0.0664151534, 0.0446105897, 0.0191729683, -0.0172010623, 0.0078169983, -0.0440915413, 0.042197682, -0.0189709924, 0.0040989215, 0.0092180362, 0.0156390145, -0.0585827455, -0.0337397866, 0.0470439792, 0.0136966435, 0.0488342941, 0.0127780028, 0.0182828642, 0.0778020248, 0.0776006207, -0.0270421095, -0.0779861882, 0.0208566822, -0.0252030268, 0.0093673049, -0.0257323347, 0.0276234653, -0.0023374665, -0.0212217271, -0.0141253751, -0.0506715924, 0.051153902, 0.0522925295, -0.015536177, 0.0879299417, -0.0201349072, -0.0311072432, -0.0615865588, -0.0140593965, -0.0012656954, -0.001864993, 0.0066950056, -0.0042930897, 0.026547417, -0.0422291122, -0.0333712362, -0.0245258473, -0.0442954861, 0.0434780307, -0.0364935808, 0.0518762879, 0.0130758062, 0.0366696604, 0.014458023, 0.0009253686, -0.0150428144, -0.0161420517, 0.0024249437, 0.0299278684, -0.014932096, 0.0172335058, 0.0157543644, 0.0263715703, 0.0627273619, 0.0407317169, -0.0497907735, 0.0042335666, -0.0554005317, 0.0070315315, -0.0208419263, -0.0309370998, 0.0393134207, -0.0217071548, -0.0338387601, -0.0400206037, 0.0489952117, -0.0169066079, -0.0047890623, 0.0182167403, -0.0117326165, -0.0483660959, -0.0512512736, 0.0383797921, -0.0054499563, 0.077692017, 0.0447804555, -0.0469753034, -0.0402940921, -0.0022045672, -0.0104450043, 0.085761033, -0.0257789642, 0.0307853147, -0.0562280864, -0.0180845521, 0.0063527324, -0.0305244513, -0.0097337998, 0.0113641489, -0.0058552581, -0.0120575447, -0.0251859594, -0.0296239424, -0.0430420339, 0.0179293007, -0.0393519253, -0.0041812104, -0.0372678414, -6.193438023e-33, -0.0177205242, -0.0438492373, 0.004851813, -0.0054626078, 0.0144732334, 0.0256549492, -0.0214423798, -0.0281513669, -0.0043225009, 0.0662659928, 0.0190425236, 0.026367614, -0.0042980355, 0.0204788707, 0.0278501101, 0.0134912971, 0.0280551352, 0.0343011208, 0.0032950572, 0.043041978, 0.0118424026, 0.0046559405, 0.0372522958, -0.1091481522, 0.0556098185, 0.0336817689, 0.0003442717, -0.0307033565, -0.0609710813, 0.0582474023, -0.0087338742, 0.0450166203, 0.0213500112, -0.0272536073, 0.0328708179, 0.0246967152, -0.0599536188, -0.0349847414, 0.0187868904, -0.0639155805, -0.0721055418, -0.0812695995, 0.0429189727, 0.0395578519, 0.0083100265, 0.0339661278, 0.0261994246, -0.0524338819, -0.0103509743, -0.0099348286, -0.0633567497, 0.0322542861, -0.0477757603, 0.0039666481, 0.0024592169, 0.0325020924, -0.0082195094, 0.0939922482, -0.0065852096, 0.0476557575, 0.0284261163, -0.0254929047, -0.0015551386, -0.0087419683, 0.0174679216, 0.0343141742, -0.0109973224, -0.0003159892, -0.0419818647, -0.0331487022, -0.0369850919, 0.0172075536, 0.0008771833, 0.0254463237, 0.0442624837, 0.0319477133, -0.0721753463, 0.0547144599, -0.0520429313, -0.0009765018, 0.0165728666, 0.0230810102, -0.0046525057, -0.0048953514, -0.0010373486, -0.0274074264, 0.0022480567, -0.0317844599, -0.0029045187, -0.0312878601, -0.0354459397, 0.0563346297, -0.0302571505, 0.0061014127, 0.0170953777, 0.0103067113, 0.027746968, -0.0350411311, 0.0029391677, -0.0091954246, -0.0629316717, 0.0155477673, 0.0143655837, 0.0103898989, 0.0422716774, 0.0139293503, 0.037646465, -0.0269043427, -0.0509165414, -0.0313095562, -0.0060168197, 0.0289647505, -0.0237607677, 0.0666799545, 0.0260406062, 0.0200591497, 0.0052320096, 0.0546365716, 0.0413502045, 0.026228413, -0.0153012108, -0.0583890602, -0.0355385356, 0.0099331392, 0.0065959669, -0.0177944228, 0.0350186191, 0.0039499514, -0.0089966478, -0.0919616967, 0.0096863098, -0.0455430821, 2.789e-7, 0.0842058808, 0.0585430451, 0.021965595, -0.0988556817, 0.0081794346, 0.0236182436, -0.0378972031, -0.0216271859, -0.0385148451, -0.0012956369, 0.0707323179, 0.0165257249, 0.0013661123, 0.0467506461, -0.0385696478, 0.0009897035, -0.0471567996, -0.0316336192, -0.0114116604, 0.0042317035, 0.0404950194, 0.059145119, 0.0258922931, -0.0002908951, 0.0162770636, 0.0454838313, 0.0416425727, -0.0110704284, -0.0097110458, 0.0252941474, 0.019741293, 0.0004143802, -0.019920554, 0.0252472684, -0.0557931103, -0.0510549024, -0.0524994768, 0.0547457226, -0.0315187983, -0.0190359708, 0.0051210271, 0.0258763209, 0.0081567811, -0.028771054, 0.0211987458, -0.0423458442, -0.0444185399, -0.0472283028, -0.0471679866, 0.0440341309, 0.0303639546, 0.0064279339, -0.013441056, 0.0127131902, -0.0365836583, 0.0218895804, 0.0000668722, -0.0892489329, -0.0099924691, 0.036645785, -0.027835235, -0.038660448, 0.0039691608, 0.0128917061, 0.02084288, -0.0510172546, 0.0407014675, 2.052171839e-34, 0.0660505369, 0.0093076071, -0.0015594484, -0.0200319979, -0.0000438438, 0.0174854267, -0.0541244522, -0.0088661294, 0.0413687639, 0.0022640619, 0.0122225201 ]
http://arxiv.org/abs/2406.19949v1
http://arxiv.org/pdf/2406.19949v1
Calibrating LLMs with Preference Optimization on Thought Trees for Generating Rationale in Science Question Scoring
2024-06-28T14:33:05
2024-06-28T14:33:05
Jiazheng Li, Hainiu Xu, Zhaoyue Sun, Yuxiang Zhou, David West, Cesare Aloisi, Yulan He
cs.CL
cs.CL
Generating rationales that justify scoring decisions has been a promising way to facilitate explainability in automated scoring systems. However, existing methods do not match the accuracy of classifier-based methods. Plus, the generated rationales often contain hallucinated information. To address these issues, we propose a novel framework capable of generating more faithful rationales and, more importantly, matching performance with classifier-based black-box scoring systems. We first mimic the human assessment process by querying Large Language Models (LLMs) to generate a thought tree. We then summarise intermediate assessment decisions from each thought tree path for creating synthetic rationale data and rationale preference data. Finally, we utilise the generated synthetic data to calibrate LLMs through a two-step training process: supervised fine-tuning and preference optimization. Extensive experimental results demonstrate that our framework achieves a 38% assessment performance improvement in the QWK score compared to prior work while producing higher-quality rationales, as recognised by human evaluators and LLMs. Our work sheds light on the effectiveness of performing preference optimization using synthetic preference data obtained from thought tree paths.
[ 0.0073491046, 0.0306120683, 0.0041716252, 0.022068562, -0.0410177335, 0.0138589628, -0.0073900074, 0.0062846127, -0.0244835652, -0.0443013795, -0.0182626024, -0.021154834, -0.0120512825, 0.002512008, 0.019871626, -0.0382423326, 0.018497752, -0.0231964123, 0.0287196413, -0.0143336346, -0.0207310915, 0.0154237458, -0.014653476, 0.0108197061, 0.0668464154, -0.0487844311, 0.0072908406, -0.0101372702, 0.0225182716, -0.0468176492, -0.0042885221, 0.0439996049, 0.0026075982, 0.0012464916, 0.0000022255, -0.0594599731, -0.0276509672, -0.0104899611, -0.0528794415, 0.0328889601, 0.0143787656, 0.0569314323, 0.0291018635, 0.022828931, -0.033516936, 0.0284095723, 0.0131449634, 0.0075832829, 0.0603914484, 0.0488567539, 0.0246668439, -0.0504521616, 0.0237632953, 0.0183638912, 0.0296940692, -0.0169613697, -0.0107403742, 0.0584762841, -0.0080247987, 0.0351629704, -0.0140047045, -0.0067468649, 0.0233110506, -0.0526507795, 0.0529389605, 0.0263624899, -0.0117121451, 0.0030323302, 0.0395703055, 0.0812189206, -0.0026766472, -0.0530732721, -0.0103884377, -0.0305431299, -0.0052650482, 0.0257832035, -0.0525984727, 0.0141116101, 0.0132989036, 0.0023522277, 0.0801891685, 0.0186491366, 0.029452065, 0.0551639013, -0.0037827657, 0.0971203595, 0.0094714817, -0.0353249572, 0.0088142911, 0.0059975125, -0.026152214, -0.0806545541, -0.0109862778, 0.0396779738, -0.0308018327, 0.0085210437, 0.0227229279, 0.0449555069, 0.0035604727, -0.0069137174, 0.0263437573, 0.0439616665, 0.0211389549, 0.0277208239, -0.0049431399, 0.062596038, 0.021437645, 0.052119568, -0.0299245622, 0.0117489342, -0.075406082, -0.0263479967, 0.0343986154, 0.0264667273, -0.0240775626, 0.0304715987, -0.0546212904, -0.0110883489, -0.019391844, -0.0264680404, 0.0563178174, 0.0239216555, 0.0226547718, -0.0098597324, -0.0667348802, 0.0275239293, -0.0419855192, 0.0091323862, 0.0284863506, 0.0129864626, -0.0193413757, 0.0305507053, 0.0180359595, 0.0051313546, 0.025260685, 0.0037313271, 0.033418905, -0.0036675141, -0.0004984749, -0.0382002853, -0.0074796816, -0.0447621942, 0.0058773654, -0.0273277778, -0.0269779302, 0.0145787811, -0.0020471173, -0.0006491642, 0.0059062243, 0.0226652957, 0.0117723607, 0.0689735115, -0.0360284224, -0.0028804678, -0.0068155713, -0.0026779135, -0.0120996237, 0.0337456614, 0.0563146695, -0.0156053817, 0.0464811586, -0.065760307, 0.0177701414, -0.0324697867, -0.0057960618, -0.0217098109, -0.0100357216, 0.0503262803, -0.0379902758, 0.0532881804, -0.019579649, -0.0002040642, -0.0053886794, 0.0411248729, 0.014259275, 0.0575114228, 0.0417211503, 0.0001333579, 0.0135125723, -0.0366517454, 0.0019547329, 0.0243741404, -0.0171301197, 0.0600594804, -0.04066303, 0.00440537, -0.0012055028, 0.0172722135, 0.0026629127, -0.079469882, -0.0116682285, 0.0253309421, -0.0205188412, 0.0163971428, 0.0423473604, -0.010738113, -0.0210131481, 0.0240448061, 0.0162844174, -0.0504076108, 0.0297917109, -0.0373105109, 0.0382695422, 0.0630380362, 0.0492438264, -0.026193643, -0.0402864292, -0.0069754962, -0.0142902909, 0.0126220239, 0.0383888371, -0.0574431717, -0.0318402462, -0.0395350866, -0.0400607176, -0.0419784077, 0.0082004061, -0.0335961357, -0.0224297885, -0.0138414567, 0.0191890039, -0.067872718, -0.0561279431, 0.0403970033, -0.0233187452, -0.0365416147, 0.0058892737, -0.0321075246, 0.0470928214, 0.0229230691, 0.0186917745, 0.0538624898, 0.0212475229, -0.0272667259, -0.0062548267, -0.0068018432, -0.0472918823, -0.0524969473, 0.0536283106, -0.0119980872, -0.0046101231, 0.0337305143, -0.0221352559, -0.0391391441, -0.0127865728, -0.007413228, -0.0280686095, -0.0373093002, 0.0414585546, -0.0333961397, -0.0538062565, -0.0827560201, 0.0670673698, 0.0269250236, 0.0708553717, -0.0061598374, -0.0454082452, 0.0419921763, -0.0112082837, 0.0353571214, 0.0167944096, -0.0060720094, -0.002297187, 0.0327419899, 0.0120168347, -0.0734665617, 0.0154308518, -0.0405526347, -0.0027662069, -0.017730508, 0.0265128929, 0.019681694, -0.0379052423, 0.0155124934, 0.029690044, -0.052278284, 0.0009766595, 0.0068853302, -0.0191336535, 0.057067208, -0.0211824514, 0.0126622794, -0.0429975875, -0.0082377866, -0.0642210171, 0.0538294613, 0.0369217061, 0.0717145428, -0.0589729138, 0.0488112085, -0.0282596555, -0.0616397373, 0.0046404805, -0.0371066816, 0.0299480725, -0.0154902171, -0.0405607931, 0.0698936805, 0.0297147166, -0.0209348351, 0.0658256784, 0.0152844973, -0.0780406296, -0.0031921673, -0.0130330883, 0.0395659432, -0.0128538581, -0.0365607068, 0.0318340659, 0.0604802482, -0.0362994261, -0.0238655992, -0.030381795, 0.0944361538, -0.0395302586, 0.0034929567, -0.0437157303, -0.0194437932, -0.0156108318, 0.0998256579, 0.005767982, -0.0450637117, 0.0875017717, -0.0321616866, 0.0094089611, -0.0672761947, 0.0199772585, -0.0381232873, 0.0502425097, -0.004815252, -0.0263726674, 0.0041148458, 0.0409951471, -0.06009968, -0.0241711773, 0.0352360904, -0.0183265619, 0.0035232774, -0.0594714992, -0.0124990139, 0.0213926937, -0.0249896385, -0.0184546616, -0.0176320449, -0.0166740622, 0.0074989949, 0.0135151921, -0.0170525461, 0.0154459616, 0.0037029397, 0.0409087315, 0.0074589984, -0.0418713801, -0.0094931815, 0.0070713325, 0.0430950187, 0.0565975383, -0.0196231175, 0.0535186008, -0.0298922639, 0.0456932075, 0.0157418065, 0.0309962686, 0.0444743559, 0.0127148097, -0.0027748863, 0.0216091946, -0.0456695035, -0.0086977258, 0.0140904561, 0.0722209886, -0.0402964242, 0.0049432162, 0.1408447623, 0.0623937361, 0.0087741613, -0.0024670966, -0.0494208857, 0.007031458, 0.019445613, 0.0272693839, -0.0430585966, -0.0262693781, -0.0157604814, 0.0498550683, -0.0102730095, -0.0301706158, 0.0142577272, -0.123363696, 0.0176448226, -0.0026672271, -0.0385012552, 0.0147219105, -0.0650947168, -0.0073808893, -0.035254579, -0.0391076915, 0.0447173938, 0.0199901406, 0.0228345748, 0.0318810791, -0.0324179195, -0.0361923054, 0.0639522672, -0.0309450906, 0.0262262374, 0.0415305868, 0.060615629, 0.0073618181, -0.0858100057, 0.0268984493, -0.0380833037, -0.0006430382, -0.0179613121, -0.0039636702, 0.024821179, 0.0118163079, -0.0375972092, 0.0490333512, -0.0349373259, -0.0047517288, -0.0049454938, 0.1146870181, -0.0318918116, -0.0335460007, -0.009085292, -0.0022292465, -0.0420118608, 0.0857038796, 0.03759785, -0.0302344766, -0.0225182362, -0.0498704612, 0.0003852603, -0.0964223593, -0.0765109584, 0.0078497836, 0.0025754536, 0.0028069331, -0.0488001332, -0.0280885417, 0.0431529507, 0.0113522708, -0.0028999627, -0.0046727741, -0.028660059, -0.0027469909, -0.0347411782, 0.0391628966, -0.0253311303, 0.0076866262, -0.0089905579, 0.0012930736, 0.058218509, -0.018960407, -0.0469954945, -0.0230242666, 0.0368302315, -0.0483305752, -0.0472920686, 0.0538492464, 0.0241198614, 0.012092947, 0.0095917955, -0.0256994944, 0.0040704971, 0.0016397577, -0.0154682538, -0.034162052, -0.0040864162, 0.0001528553, -0.0090402849, 0.0069342065, -0.0068020108, 0.0053479294, 0.0304766968, 0.0527549684, -0.0284990761, -0.0406752676, 0.0525064878, 0.0539193973, 0.0346729457, -0.0043322276, -0.0084643979, -0.0231666416, 0.0128715839, -0.022348037, -0.0280488506, -0.0125694694, 0.0072253803, 0.0365618765, -0.0315160006, -0.007748873, -0.048648525, -0.0661876425, 0.0353441834, -0.0248122979, 0.0413939171, 0.0420274362, 0.0396285094, 0.0143991746, -0.0250921715, -0.0258199517, -0.0661030635, 0.0035943417, 0.0487256721, 0.0062100659, 0.0669190958, 0.0206707735, 0.0288999993, -0.0082055014, -0.0180704128, -0.0676317513, -0.0407607406, -0.0274394602, -0.0204836205, 0.0106759695, 0.0052004531, 0.0286303572, 0.0132674733, -0.0310673676, -0.004336914, 0.0396060124, 0.048620034, -0.0103732264, 0.0452546254, 0.040953327, -0.0276793707, -0.020987181, 0.0440692641, -0.0176250227, 0.0080334432, -0.0233407971, -0.0232460238, -0.0311753191, -0.0118128238, -0.0732688755, 0.031349279, 0.0155207813, 0.0199499633, -0.0795315802, -0.0351170525, 0.0154299289, 0.0324092917, 0.0183409676, -0.0098090526, 0.019495137, 0.0514146201, -0.0419798642, -0.040650744, -0.0149959205, -0.0063025923, -0.064165704, -0.0097827613, -0.0304582454, -6.525025878e-33, -0.0065846704, -0.0663710684, 0.0162926372, -0.0046604588, -0.0023676513, -0.0102082249, -0.0366626643, -0.0179329664, -0.0085083945, 0.027108198, -0.0111325029, 0.0073504308, -0.0147967646, 0.0025119365, 0.0297818575, -0.0189675409, 0.0217973106, 0.0152911935, -0.0442760848, 0.0043604244, 0.0262755696, -0.0176547077, 0.0470803902, -0.0463315994, 0.0603822656, 0.0357691497, 0.010743022, 0.03460842, -0.0612253696, 0.0525315963, -0.0022716294, 0.0013175863, 0.0243430994, -0.081406042, 0.0284129456, -0.010976159, -0.014599964, -0.0170483533, 0.0418150127, -0.0400087982, -0.0335604697, -0.0538921244, 0.0374513566, 0.0165311191, -0.0407715254, -0.0358557366, 0.0474063717, -0.0485568233, -0.0090827355, -0.0214715619, -0.0121463854, 0.0301432516, -0.0422224104, 0.0000024436, -0.0334895551, 0.0576662347, -0.0079660518, 0.0788174495, -0.0015153396, 0.0434854776, 0.035987705, 0.0138107911, 0.0665611848, -0.0001419955, 0.0039060407, 0.0790436789, 0.0173186716, -0.0085852388, -0.0213063546, -0.0022297669, -0.0154374437, 0.0197745003, 0.1375895888, 0.0446725227, 0.0501274765, 0.0187210068, -0.1077429503, 0.0470000356, -0.0159737393, 0.0002146701, 0.0071529285, -0.0015910349, -0.0033038072, -0.008413191, -0.0708389431, -0.0238057766, -0.0337331034, 0.0064444346, 0.004154745, -0.0548997037, -0.0699371174, -0.0212389976, 0.0097515853, -0.0299739819, 0.0169408415, 0.0113970395, -0.0173162371, 0.0292096157, 0.0038627272, -0.0163423326, -0.0265571829, 0.0368393026, -0.0140993353, -0.0038696788, 0.0509917997, 0.0339893997, -0.0024731532, -0.0354832672, -0.0142256096, -0.0209217444, -0.0390972458, -0.0523292795, -0.0072833034, 0.0350209884, 0.0043066442, 0.039417658, 0.0148819918, 0.0279273503, 0.0335411243, 0.036711257, -0.0063690799, -0.0240572635, -0.0138728302, 0.0242217947, 0.0185360853, -0.0057721944, 0.0144167142, -0.0139486147, -0.0269807354, -0.0407205671, -0.0076884823, 0.0099301627, 2.807e-7, 0.0642021, 0.0746639818, -0.0395374708, -0.0257012844, -0.0071102837, 0.0417712554, 0.0012095304, -0.0550613739, 0.0546698123, -0.0498657487, -0.0036675886, -0.016977394, 0.0444280952, 0.0266054459, -0.1032533124, -0.03547417, -0.0280929711, -0.0297258738, -0.0120969294, 0.0041728164, 0.0826315433, 0.0301603191, 0.0029243217, -0.0246858522, 0.0044990927, -0.0136100324, 0.0343266353, -0.0367196426, -0.0064641028, 0.0504856519, 0.0431936197, -0.0385540836, 0.0193560664, 0.0337282456, -0.0243773963, 0.0095802955, -0.0084251305, 0.0324997641, -0.0197159629, -0.0444033407, -0.0032366137, -0.0211051535, 0.0312021319, -0.0767389238, 0.0678737164, -0.0367004536, -0.0249759927, 0.0075148996, -0.0395067707, -0.0281976536, 0.0323522687, -0.0388463885, 0.0139347455, 0.0176204443, -0.0479799993, -0.0093290331, 0.0056441468, -0.0338892676, -0.0472322404, 0.0072950707, 0.0043651238, -0.0497320853, -0.0113967359, -0.0091571715, 0.0326327868, -0.0636229962, -0.0075480454, 2.662409068e-34, 0.0413869545, 0.012478021, 0.0171429459, 0.0049338336, 0.0413815379, 0.0315483734, 0.0112161627, -0.0238639377, 0.0425897799, -0.0882495195, -0.0123204002 ]
http://arxiv.org/abs/2406.19934v1
http://arxiv.org/pdf/2406.19934v1
From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesis
2024-06-28T14:04:10
2024-06-28T14:04:10
Chuanqi Cheng, Jian Guan, Wei Wu, Rui Yan
cs.CL
cs.CL, cs.AI
We explore multi-step reasoning in vision-language models (VLMs). The problem is challenging, as reasoning data consisting of multiple steps of visual and language processing are barely available. To overcome the challenge, we first introduce a least-to-most visual reasoning paradigm, which interleaves steps of decomposing a question into sub-questions and invoking external tools for resolving sub-questions. Based on the paradigm, we further propose a novel data synthesis approach that can automatically create questions and multi-step reasoning paths for an image in a bottom-up manner. Our approach divides the complex synthesis task into a few simple sub-tasks, and (almost entirely) relies on open-sourced models to accomplish the sub-tasks. Therefore, the entire synthesis process is reproducible and cost-efficient, and the synthesized data is quality guaranteed. With the approach, we construct $50$k visual reasoning examples. Then, we develop a visual reasoner through supervised fine-tuning, which is capable of generally enhancing the reasoning abilities of a wide range of existing VLMs in a plug-and-play fashion. Extensive experiments indicate that the visual reasoner can consistently and significantly improve four VLMs on four VQA benchmarks. Our code and dataset are available at https://github.com/steven-ccq/VisualReasoner.
[ 0.0073754163, 0.0625501126, 0.0029008219, 0.0626458973, -0.0315207876, 0.0442050993, 0.0285004824, -0.0100510921, 0.0020480754, -0.0332615934, 0.0373047814, 0.0070061493, -0.0065160557, 0.0475098677, 0.0170604642, -0.0929730609, 0.0197235718, -0.0507642925, -0.0000105818, 0.0124851968, 0.0066535589, 0.0282324273, -0.010527079, 0.0487315767, -0.0133021707, -0.0296235029, -0.0385324247, 0.0147428736, 0.0204325728, 0.0082883723, -0.0483323485, 0.0123934643, 0.0558435395, -0.0117658507, 0.0000020205, -0.0230669715, -0.0031362581, 0.0172567666, -0.0165142491, -0.0380198024, -0.0357920602, -0.022996204, 0.0008146587, 0.0145606156, -0.0385563001, -0.0135000776, 0.0466873832, 0.0569122732, 0.1022560969, 0.0402883925, -0.0130725, -0.0492881127, 0.0086285621, 0.0132086957, 0.0425511412, -0.0117910812, -0.0157878567, 0.0491345078, 0.0163855627, -0.0265410077, -0.0334900767, 0.0425269343, 0.0597849712, -0.0373445898, -0.0200863332, 0.0084225554, -0.0206185281, -0.053560812, -0.0207698066, 0.0706828013, -0.0336413793, 0.0067268237, 0.0154142492, -0.0019912403, 0.0037465438, -0.0003113073, -0.0369895734, 0.0352486707, -0.0401509404, 0.0009300231, -0.0288425535, -0.0128748333, -0.0097895376, -0.0094717005, -0.0487176888, 0.0103113418, -0.0068265242, 0.0341562629, -0.01078765, 0.0036465514, -0.0360744819, -0.065603517, -0.0278053377, 0.068833597, -0.0326983556, -0.0039091031, -0.0074050534, 0.0076513691, -0.0407125242, 0.0000523008, 0.0271130223, 0.033857435, -0.0504299328, 0.0803420395, -0.0282669086, 0.0506075844, -0.0120741315, 0.054331217, -0.0168603957, -0.0489808358, -0.0415973179, -0.007658531, -0.0197724439, -0.0226673819, -0.0794608742, -0.0368188433, 0.0209161211, 0.0173461996, -0.0263233054, 0.0232632421, 0.0229013264, 0.0384681411, 0.0202846918, -0.0524375401, -0.0539393201, 0.0208864175, -0.0527586751, 0.0066059548, 0.0149277272, -0.0335356817, -0.0087168133, 0.033191938, 0.0329994038, -0.0054635061, -0.0050719297, 0.0504212305, -0.0324046127, 0.0196423139, -0.0489545204, -0.0608429536, 0.0143828895, -0.0648205057, 0.0112175103, -0.0656314418, 0.0124929566, -0.0037459657, -0.0202039257, -0.0322873592, 0.0071102097, 0.0167396497, -0.0321843512, 0.1066996902, -0.0232628658, 0.0137492465, -0.0081994385, 0.0125029543, -0.0062222769, 0.0604018793, 0.0333076231, 0.0259194877, 0.0124213435, -0.0055432301, 0.0202973504, 0.0018104312, -0.0027751434, -0.0411869995, -0.0585845858, 0.0263895169, -0.0516938828, 0.0016227582, -0.0093897022, 0.0307083707, -0.0396971107, -0.0078716408, 0.0032921704, 0.0339505151, 0.0422842577, -0.0235539451, 0.0509267971, 0.0073299031, 0.0011862516, -0.0093031293, -0.0632338226, 0.0899189785, 0.0096440902, -0.0016806256, -0.0128537836, 0.02828479, -0.0270222444, -0.0910936967, 0.005457927, 0.0099719111, -0.0012597842, 0.0317175724, 0.0444644168, 0.0461070463, -0.0354630016, -0.0205077361, 0.0080972295, -0.0391382426, -0.0331226699, -0.0455373302, 0.060207542, 0.0810250789, 0.0402635559, -0.0007318287, 0.0048251874, -0.0084434748, 0.0338445939, 0.0120808985, -0.0078748176, -0.0074189096, 0.0215337351, -0.0706536174, -0.0540837236, -0.0368542187, -0.0059925416, -0.0013546805, 0.0161255039, -0.0404532105, 0.0079756519, -0.0366919041, 0.0307870414, 0.02576348, 0.0381408632, 0.0099036163, -0.0254442617, 0.0336268879, -0.020461902, -0.001522697, 0.0085680867, 0.0015300839, -0.0016100819, -0.0298774187, 0.0088808322, 0.0182199534, -0.0013672317, -0.0584785119, 0.0212640408, -0.0569247007, -0.0374653712, 0.0035347941, -0.0712929294, -0.0274048522, 0.0253034513, -0.0019776036, -0.0376517624, -0.0498171635, -0.0310367141, 0.0305935871, -0.0027675149, -0.0243773945, 0.0610605404, -0.0153888958, -0.0430460013, 0.0108648902, 0.0149972197, 0.0284314957, -0.0187581722, 0.0357624479, -0.0012404192, -0.0360491052, 0.010922268, -0.0254594889, -0.0085530281, -0.0442185439, 0.0035633461, -0.0258660931, -0.0082665458, -0.013094171, -0.0477405563, 0.0042731543, 0.0020849833, 0.0258060023, -0.0352386422, -0.015550172, 0.0393987149, 0.028810421, -0.0000498316, 0.0490231365, -0.0221245307, -0.001862435, 0.0016727945, -0.0020372686, 0.0086937528, 0.0757215843, 0.0332414806, 0.0035346751, -0.03042241, -0.0184630994, -0.0442699715, 0.027939206, -0.0022149822, -0.0059710382, 0.0275666825, -0.0404474922, 0.0044989656, 0.0986273587, -0.013343554, 0.0245143175, 0.0083347689, -0.0086979503, -0.0411164984, 0.0361906998, 0.0110578062, 0.002195105, 0.0140856709, -0.0204630736, -0.0495353043, 0.0233315565, -0.0381640568, 0.0125181135, -0.0798067674, 0.0857405886, 0.0413968377, -0.0133472858, -0.0593161322, -0.0008301509, 0.0419982821, 0.0715647042, -0.0642380193, -0.072021313, 0.0553712808, -0.0197373163, -0.0096911658, 0.0356445722, 0.0024266047, -0.0344910137, 0.0922615454, 0.0000931365, 0.0079521881, -0.01100659, 0.0179089829, -0.0494084917, -0.034337651, 0.0386901572, -0.0043629543, 0.0610927045, -0.075789623, -0.0126594249, -0.0132784564, -0.0162661988, -0.034254469, 0.0242638588, -0.0475734882, -0.0014045527, -0.0480961464, -0.0094924131, -0.0067446935, 0.0233067572, 0.0294189174, 0.0181087162, 0.0182858575, 0.0005853856, -0.0245266035, 0.0214004163, 0.0490415916, 0.0559552088, 0.0102019804, -0.0237314925, 0.055143442, 0.043937251, 0.0158745907, -0.01752479, -0.0488081798, 0.0532315373, -0.0192379206, 0.0649353862, 0.0287406836, 0.016616594, 0.0613019913, -0.0835145786, 0.0052502356, 0.0541420728, 0.0082916766, 0.0111412359, -0.0313470922, -0.021816276, 0.0239122435, 0.0499567538, 0.031182006, -0.0813240781, -0.0651682615, 0.0006497913, 0.0103944456, 0.0376849025, -0.0022073479, -0.0393179543, -0.0634818822, 0.1073149741, -0.0075938753, 0.0102294665, -0.0361316241, 0.0100423936, -0.0159070101, 0.0026013579, -0.0487372428, 0.0064527928, 0.0182558484, 0.0145655293, -0.0121311769, 0.0160675403, 0.0000160896, 0.0137438038, -0.0332812816, -0.0143780895, 0.0399007387, 0.0091894194, 0.0476351008, -0.0697913021, 0.0154862562, -0.011196523, 0.0189432465, -0.0024210471, 0.0693477094, 0.0370013677, -0.0533970334, -0.0224698074, 0.0444913208, -0.0228624921, -0.0388787612, -0.0269767847, 0.0596159585, -0.0220323689, -0.0189559143, -0.0254963208, 0.0132800443, -0.0439933762, 0.0369888321, 0.0368017107, 0.0114463745, -0.0752437711, -0.0369668193, -0.0261012595, -0.0830328539, -0.031556014, 0.007591425, 0.0310501233, -0.0171307214, -0.0577120744, 0.000753451, 0.0585344881, 0.0689343363, -0.044501964, -0.0524117202, -0.0016200987, 0.0075730141, -0.0586811453, 0.0806907639, -0.0032715856, 0.034914732, -0.0047247633, 0.0153529393, -0.0019143232, -0.0576313324, -0.0110985758, 0.0181717537, -0.0290416144, -0.0308905393, -0.0358633585, 0.0842180401, 0.0220016651, 0.0444680788, 0.0070989719, -0.0215938073, -0.0135211051, 0.0293341596, 0.0372566618, -0.0243152305, 0.017292928, -0.029492097, -0.0080891745, 0.0242824089, -0.0171171837, 0.0262728259, 0.0159436576, 0.0194776189, -0.0158889256, 0.0173211396, 0.0234068558, 0.0026912149, 0.0327076986, 0.0150428433, -0.0020274925, -0.0370693356, 0.018830264, -0.0134522254, -0.0282904636, -0.0913917646, 0.0427526236, -0.0002271022, -0.0201346539, 0.0345354863, -0.0212038253, -0.0059981514, 0.0029198059, -0.0119392378, 0.0024124368, 0.0235480405, 0.0079306923, 0.0068395762, -0.0101264697, 0.025691364, 0.0236679632, -0.0238235258, 0.0379121155, -0.003493093, 0.0698529929, 0.0356460437, -0.0081057223, -0.0532701798, 0.0118797142, -0.0553040318, -0.1006308421, 0.0278452281, 0.0175749902, 0.0373070873, 0.0335930027, 0.004383829, 0.0178280268, -0.02480435, 0.0178146381, 0.0554709509, 0.0589888096, -0.0349306725, 0.045792494, 0.0400019139, -0.001008703, -0.0655837357, 0.0405214615, -0.0211362373, 0.0199963432, -0.0217468888, -0.0112977568, -0.0393030085, -0.0541124642, -0.0233192332, 0.0017237278, 0.0161688961, 0.0362847373, -0.039555613, -0.0688023418, -0.0389256403, 0.0510920137, -0.0195386484, 0.0419563837, 0.0251886304, 0.0350965969, 0.0324395895, -0.0386183485, 0.0162797682, -0.0120406654, -0.0216901898, -0.0134484163, 0.0295587592, -5.755687968e-33, -0.0135578122, -0.0447542109, 0.0651820451, -0.0230992697, 0.0231047105, -0.0023362814, -0.0482118241, -0.0168267526, -0.0243539065, 0.0467395, 0.0237006787, 0.0040081423, -0.0003779592, 0.0317702219, -0.0199989155, -0.0090922248, 0.021038739, 0.0305992793, -0.0288714692, -0.0084597412, 0.0273446813, -0.0288328528, -0.0045344378, -0.0243551321, -0.0436565503, 0.0372681133, -0.0419821888, 0.0686392039, -0.0298351254, 0.0588669889, 0.0151168145, -0.0235062242, 0.0295688696, 0.0012341411, -0.0188002381, 0.0129751638, -0.1010410413, -0.0144550866, 0.0244172271, -0.0017489087, -0.1103655323, 0.0006313777, 0.0244092681, -0.0058664982, 0.0410917588, -0.0704060793, 0.0355323628, -0.0327969268, 0.0060653542, 0.0068395426, -0.0065236343, 0.0081066722, -0.0463403352, -0.069528535, 0.0406293906, 0.0497464538, 0.0342404731, 0.0385928601, -0.0096150935, 0.0217650998, 0.0080385283, -0.0421340801, 0.1038790867, 0.0213772859, -0.003797102, 0.0359446891, 0.0323393308, -0.0496860035, -0.0732805133, 0.0007662964, -0.0344883278, 0.1212189645, 0.0818483979, 0.0361696407, 0.0053836089, 0.031653855, -0.0574258789, 0.0288788024, -0.0732405558, 0.0603247248, -0.0059058387, 0.0033688354, 0.0237919707, -0.0015884455, -0.0480905846, -0.020588614, -0.0532343574, 0.0100810612, 0.045989342, 0.0311297271, -0.0465373807, 0.015167919, 0.0238670502, -0.0364429504, 0.0280060582, 0.0233515874, -0.0186035205, 0.0323627815, 0.0136860982, 0.0398618542, 0.0147677157, 0.0137693156, 0.0755208433, 0.0030586256, -0.0042276033, 0.0270386487, 0.0420821272, -0.0010532403, -0.0356354751, 0.0130822621, -0.0770885795, 0.0288380571, -0.0334622525, 0.0169025455, -0.0054922872, 0.0287082251, -0.0508204699, 0.0079949573, -0.0147871245, -0.0005888349, -0.0031100363, -0.005298268, -0.0137917483, 0.0231287368, -0.0056135328, -0.0184528865, -0.0562267862, -0.0258206781, 0.0234966017, -0.033746589, -0.0177381374, 0.055048801, 2.458e-7, 0.0159331802, 0.014196123, 0.0159716737, 0.0362992063, 0.0006188767, 0.0429368466, -0.0136637185, -0.0265195221, 0.0014601663, -0.043409612, -0.0256329197, 0.0825557485, 0.0309757125, 0.0216069743, 0.0233467184, 0.0522942282, -0.0035309193, -0.0598694049, -0.0780895725, 0.0095919492, 0.0807237774, 0.0385374501, -0.0150481183, -0.0213829, 0.0735641792, -0.0319896229, 0.0376499556, -0.0219937768, 0.0076754577, -0.0148149645, 0.0101039223, 0.0064787823, 0.0094958087, 0.0166302286, -0.0084866239, -0.0316799618, 0.0000502636, 0.0361688435, -0.0192310717, -0.0270855762, -0.0292639509, -0.0014418646, 0.0087903682, -0.0591065958, 0.0946602002, -0.0260692686, -0.0118825668, -0.0012908545, -0.0148825673, 0.0069739586, -0.0006791354, 0.0028342188, -0.0154317394, 0.006734754, 0.0165766422, -0.0403213948, 0.0046234978, -0.0756289363, -0.0270631332, -0.0293170977, 0.006475029, 0.0078843059, -0.038764596, -0.0044469982, 0.0545046851, -0.0050403359, -0.0689189211, 2.021129834e-34, 0.0232518185, 0.0145427985, 0.0136385867, 0.0035550878, 0.0661193356, -0.0133507401, -0.0329848379, -0.0078032496, 0.0006573269, -0.0523367152, -0.0122262454 ]
http://arxiv.org/abs/2406.19928v1
http://arxiv.org/pdf/2406.19928v1
Interactive Topic Models with Optimal Transport
2024-06-28T13:57:27
2024-06-28T13:57:27
Garima Dhanania, Sheshera Mysore, Chau Minh Pham, Mohit Iyyer, Hamed Zamani, Andrew McCallum
cs.CL
cs.CL, cs.HC, cs.IR
Topic models are widely used to analyze document collections. While they are valuable for discovering latent topics in a corpus when analysts are unfamiliar with the corpus, analysts also commonly start with an understanding of the content present in a corpus. This may be through categories obtained from an initial pass over the corpus or a desire to analyze the corpus through a predefined set of categories derived from a high level theoretical framework (e.g. political ideology). In these scenarios analysts desire a topic modeling approach which incorporates their understanding of the corpus while supporting various forms of interaction with the model. In this work, we present EdTM, as an approach for label name supervised topic modeling. EdTM models topic modeling as an assignment problem while leveraging LM/LLM based document-topic affinities and using optimal transport for making globally coherent topic-assignments. In experiments, we show the efficacy of our framework compared to few-shot LLM classifiers, and topic models based on clustering and LDA. Further, we show EdTM's ability to incorporate various forms of analyst feedback and while remaining robust to noisy analyst inputs.
[ 0.036438942, 0.0069059255, -0.0178987384, 0.0062033762, -0.0307284351, 0.016194893, 0.0277483799, -0.0139928572, -0.0337501802, -0.0383481495, 0.0237020385, 0.0065334877, -0.0444552265, 0.0252878703, -0.021421548, -0.0568066388, 0.0023748339, -0.0273212809, 0.0312010646, 0.0027139471, 0.0138005028, -0.0160707515, -0.0098645855, -0.0084080007, 0.0040236292, 0.0108307004, -0.0329439156, -0.0204337109, -0.0104335183, -0.0173265748, 0.001525627, 0.0497387312, 0.0184894055, -0.0255664662, 0.0000019759, -0.0412995294, -0.0478948914, -0.0310594421, 0.0461730212, -0.0294197258, 0.1221479177, -0.0201865528, 0.0265644398, -0.0051894486, 0.0317726322, 0.0261535402, 0.0434085615, 0.069840759, 0.0576482043, 0.0400470085, -0.0301191993, -0.0347901545, 0.0209849179, -0.0081965532, 0.0658120811, -0.0518533513, 0.0476281755, 0.0207443405, -0.0189663935, 0.0954266712, -0.0100167235, 0.0162307508, -0.0477227606, -0.0259345006, 0.0959049314, 0.004771316, 0.0185202342, -0.0284609124, 0.0021773467, 0.0700478256, 0.0522167347, 0.0026084317, 0.0523929894, -0.0148741473, -0.035691157, 0.0375612713, -0.0405996144, -0.0110573275, -0.0115328357, -0.0079261251, 0.0636795834, -0.0182243381, 0.0118248817, 0.0306239091, -0.0068552615, 0.0562310703, -0.003712195, -0.0266750995, 0.0066839173, 0.0390919261, 0.008246541, -0.0638298243, 0.0350878462, 0.0414978527, 0.0105508659, 0.0447599404, -0.0108418576, -0.0332415178, -0.0021582309, -0.0592705384, -0.0270732585, -0.0040360573, -0.0076996973, 0.0667153522, 0.0530753136, -0.0140156187, -0.0248659234, -0.0305428654, -0.0286330916, -0.0268498119, -0.046599146, 0.005315851, -0.0113943182, 0.0419731177, 0.0046012746, 0.0166445058, -0.0166701842, 0.0604434013, 0.0057740421, -0.0099160345, -0.0264552832, -0.0323169157, -0.0389510989, -0.0064151832, -0.0539942384, 0.0131159471, -0.043642994, 0.0569896922, -0.0373890996, 0.0843010545, 0.0237991642, 0.0532421581, -0.0089632794, -0.0109779555, 0.0047485363, 0.0431571603, -0.0057283933, -0.0476055034, -0.0713650659, 0.0039541931, -0.0129303718, -0.0094672423, 0.0466877446, -0.0782679766, 0.0063795173, -0.0004436449, 0.0004316519, -0.0284311548, -0.0099550821, -0.0086586708, -0.0514043905, 0.0614096783, -0.0010889155, 0.0238752626, 0.1178305522, 0.0112475082, -0.0026671959, 0.0285951458, 0.0047847652, 0.0489151217, 0.0374540277, -0.0178619642, 0.0482532084, -0.0062693246, 0.004137218, 0.0661223903, -0.0152144292, 0.0057313386, -0.0429429337, 0.0264708027, 0.0372338742, 0.0204150043, -0.0098982174, 0.0085891383, 0.0187680703, 0.0672229752, 0.0255162194, -0.0007978394, -0.0135054719, 0.035780482, -0.047342971, -0.0101260776, 0.0585256144, 0.0246600527, -0.0002466441, -0.0331261158, 0.0610645302, -0.0223335195, -0.0434249863, -0.0372264832, -0.0202808045, 0.0114303427, -0.0531632639, -0.0333230719, 0.0888294205, -0.0228459146, 0.0325921252, 0.0559327416, 0.0503449142, 0.0015834789, 0.0068964013, -0.0257929135, 0.0596166775, 0.0205724854, 0.0212160349, -0.0381352007, -0.0425674208, -0.027893398, 0.0533412769, 0.0126556326, -0.0071664755, -0.022402985, -0.0353031978, -0.0047229403, -0.0141039928, 0.0195362829, 0.013109033, 0.0407697782, -0.0224026367, 0.0214994773, -0.0044636084, -0.0809083879, 0.0244494528, 0.064743191, -0.0022538046, -0.0121646654, 0.0603663437, -0.0094370879, 0.0590709038, 0.0029964254, 0.0073951231, -0.0385314673, 0.0343996771, -0.0096620331, -0.0209183265, -0.0433967076, 0.0227435082, 0.0198282897, 0.020221334, -0.0298106782, 0.0175161175, -0.0459717251, -0.0311293956, -0.0280500483, 0.0304723382, -0.0116118472, -0.0478130355, -0.0337009579, 0.0142072076, -0.0138660809, -0.0225873925, -0.0617211945, 0.074011296, 0.0052832398, 0.0472036488, 0.0179969091, -0.015182497, -0.0029508993, -0.0213013347, 0.0104331346, 0.0155651197, 0.028310243, 0.0260835793, 0.0137988618, -0.0098958993, 0.0161331091, -0.0578179881, -0.0410593674, 0.0084027536, -0.0058159325, 0.004396854, -0.0009088708, -0.0015540285, -0.0129181864, 0.0288491212, -0.0252998676, -0.0200538654, -0.0354492366, -0.0081210379, 0.0495423451, 0.0091385329, 0.0028438312, -0.0281867832, 0.0069086016, -0.0123702297, 0.015125487, 0.030991964, -0.0614508055, -0.0301947929, 0.0115497895, -0.0254334062, -0.0283050071, -0.0199975055, 0.0350070186, -0.023320362, -0.0262457579, 0.0311279502, 0.0057477751, 0.0113941953, 0.0490702167, 0.0519519858, -0.0324902907, -0.036459323, -0.0013991776, -0.0320854075, 0.0195050165, -0.023484461, -0.0635963753, 0.0630514845, 0.0897310078, -0.0200423524, 0.0072635217, -0.0249654613, -0.0164490342, -0.0374004506, 0.0095276404, -0.083896853, 0.0057834894, 0.0034660043, 0.0250112861, 0.0023221124, -0.0096411351, 0.0596759245, -0.0324481428, 0.0309637599, -0.0498436056, -0.049969364, -0.0745117888, 0.0342895836, -0.0155377472, -0.0064009032, 0.0075536883, -0.0211230423, 0.0009523447, 0.0141881863, 0.0277802665, 0.0013294601, 0.0276014693, -0.0320367068, 0.0374867618, -0.0101697687, 0.0037295152, 0.0030394613, -0.0796968192, 0.0215352494, -0.016612662, 0.0242813956, -0.0101453327, -0.0450306572, 0.0753079727, 0.0583641976, -0.0315628797, 0.0088272616, -0.0321657583, -0.0093805427, 0.0506971814, 0.0517111607, -0.0506655425, -0.0726809353, -0.0104910908, -0.0049372488, 0.007348232, 0.0037139771, 0.0021331608, -0.0284896325, 0.0474602953, 0.010818013, -0.0426678769, -0.0344768502, -0.0256584529, 0.0192163382, -0.0059651127, 0.0158549249, 0.0887141749, 0.0444283113, -0.0854812786, -0.0381887294, 0.0020192242, 0.0055969623, -0.0058683278, 0.0565187559, -0.0481123179, 0.0202882327, 0.0191801712, 0.0375324488, -0.007058966, -0.047025986, -0.0102640865, -0.0449428372, 0.0310204122, -0.007264982, -0.0076150629, 0.0192470253, -0.1034624502, 0.0195478853, -0.0272461344, -0.0541323125, -0.0127900057, 0.004659506, -0.0033020503, 0.0551416166, -0.0252798107, -0.0163770039, -0.0102531472, -0.0006211844, 0.0408843867, -0.0082030036, 0.0328203626, -0.0251404382, -0.000236947, -0.0015460929, -0.0089861574, -0.0310156792, -0.0026983668, 0.0250691697, -0.0383174457, 0.0048185252, 0.0087088561, 0.0088316007, -0.0067318985, -0.0199221428, 0.0391945243, 0.0719357133, -0.041128695, 0.0106877368, -0.051704675, -0.0185984839, 0.0224774983, 0.0481142104, -0.0021372517, -0.0660077408, 0.041110944, -0.0370185934, 0.0121442983, 0.0676859692, 0.0062423446, -0.0348044783, -0.0971656442, -0.088792704, -0.0694063529, -0.0194421969, 0.0211258531, 0.0385092497, 0.0043934355, 0.0357958972, 0.0006856957, -0.0096947886, -0.034191668, 0.0522132069, -0.0373494849, -0.0052585364, -0.0392522737, -0.036757078, 0.0940104574, -0.0156291034, -0.0324677117, -0.0220672339, -0.0418328568, -0.0552666783, -0.0066295466, -0.0406227559, 0.017052561, -0.0000532199, -0.0590613559, -0.0847491845, 0.0366026387, 0.0658362806, -0.0446748659, 0.0124763409, -0.0133594777, 0.0077629685, 0.0000327061, -0.0145161794, -0.0513360985, 0.0830040276, -0.0160391536, 0.0031984062, -0.1144570485, -0.0599546917, -0.0250558183, -0.0031087357, 0.0825153142, 0.0282106791, -0.0533291698, -0.0533767715, 0.003732742, 0.0271189697, -0.0370246358, 0.002861141, -0.0101571353, 0.0368652344, -0.0123695396, -0.0472333282, 0.0230215937, -0.021517057, 0.0470575579, 0.0196393337, 0.0071289502, 0.0054451237, 0.0470749401, -0.0297635701, 0.0353089869, 0.0006101057, -0.0250484012, 0.0097614434, 0.0339993797, 0.0006860856, 0.0347285196, 0.0173361078, 0.0273560677, 0.0256118719, -0.0270035248, -0.0624491312, 0.0177195948, -0.0378753133, 0.0847039521, 0.0110064289, 0.0281991251, -0.016285697, -0.0290054381, -0.0216776561, -0.0191805623, 0.0273931473, 0.0098858662, -0.0109964749, 0.0501521416, 0.0367312692, -0.0263199266, 0.0205798969, 0.0458158925, 0.0346676037, -0.012145659, 0.0012240958, -0.0361530147, -0.0425756313, 0.0424682721, 0.0428005122, -0.0172869377, 0.0090754339, 0.007811205, -0.0304720961, -0.0027338541, 0.0858580992, -0.0836244971, -0.0215329938, -0.0129633881, 0.0367575996, 0.1003981531, 0.0008012187, 0.03349654, -0.0706101954, 0.0035840841, -0.0468496084, -0.0494227596, 0.0056824437, -6.608662301e-33, -0.052761022, -0.0502379611, 0.0348534174, 0.0226878189, 0.0087717231, -0.005402063, -0.0130340606, 0.0182122812, 0.0187929459, 0.0017197176, -0.0137397051, 0.031770315, 0.0100580435, -0.0032956572, 0.018061148, -0.0056062299, 0.0103244288, 0.0147504807, -0.0173197296, 0.0424436927, 0.0243707001, 0.0310961902, 0.0168620944, -0.0878751129, 0.0575309172, -0.0086284708, -0.0190037284, 0.0048710364, 0.0833606794, 0.046078641, -0.0418454185, 0.0174784213, 0.0293914676, -0.0247355495, 0.0171074215, 0.0391785093, -0.0201922152, -0.0650606602, -0.0233081225, -0.0159693994, 0.0133995516, -0.057006035, 0.0347277075, 0.040700078, 0.0053782705, 0.0298192091, 0.0930253193, -0.0162003674, -0.0454312414, -0.0525328256, -0.0045905951, 0.045557797, -0.0241401047, 0.0293745864, 0.0319322422, -0.0224327408, 0.0189060587, 0.0392623432, -0.0052642268, 0.038265001, 0.0265614465, 0.0184588283, 0.0133418171, -0.0094272718, 0.0044425433, 0.0298974998, -0.0268216189, 0.0199770667, -0.0301778354, -0.006088506, 0.0202312861, 0.0349882208, 0.0248558614, 0.0296997204, -0.0276990999, 0.0094109913, -0.0195456762, 0.0591672212, -0.0024133699, -0.0086821383, 0.0016581991, 0.0245178789, -0.0437719375, -0.0342021398, -0.0318402573, 0.0039311009, -0.0282110535, -0.0254916586, -0.0106097059, 0.0043727448, -0.0498449467, -0.0064489455, 0.0192905199, 0.0083615342, -0.0424606614, -0.0255625434, -0.0272936765, 0.0615915321, 0.0020870578, 0.0139782056, -0.0958223119, -0.0542519167, -0.0189628154, -0.014503465, -0.0121940216, -0.011770417, -0.002434335, -0.035031274, -0.051534187, -0.0192654692, 0.0113545014, -0.025184866, -0.0294367317, 0.0349952877, -0.0137944715, 0.0166456159, 0.0038522219, 0.0755012929, 0.0564867072, 0.038283769, 0.0154216448, -0.0470950902, -0.0422975123, 0.0219061133, -0.0261196289, -0.0085168723, 0.0151023073, 0.0214181021, 0.0553204156, -0.0585000776, -0.0129465861, -0.0337463208, 2.832e-7, 0.0420813188, 0.0610279068, -0.0395681933, -0.0003489154, 0.0027077445, 0.0319972821, -0.0199258253, 0.0241829026, -0.0016362516, -0.0442700535, 0.0316766389, 0.0046743052, 0.0222605914, 0.0494255349, -0.0878454819, -0.0134377237, -0.0240603387, 0.0165062472, -0.0669389963, 0.0094155427, -0.0066700876, 0.0447157361, 0.0529077463, 0.0051278812, -0.038982898, -0.0511447042, 0.0627011359, -0.0567836426, -0.0413582772, 0.0436165072, 0.069949612, 0.0238608681, -0.0213513356, -0.011316889, 0.0056587588, -0.0013873195, 0.0088922679, 0.0667729005, 0.0012698327, -0.0351693891, -0.0288169757, -0.0032109278, 0.0048610754, 0.0112705771, 0.0381176285, -0.0203281827, -0.0048047686, -0.0254186075, -0.0314866081, -0.0077564912, 0.0216580257, 0.0042185565, -0.0029928447, -0.0012901509, -0.0111892652, -0.0209227689, 0.0016099324, -0.0481028594, 0.0353601947, 0.0139088938, -0.0179435499, -0.0229716692, 0.0113445865, 0.036417596, 0.0386044122, -0.051901944, 0.0271392409, 2.279128803e-34, 0.0261717327, -0.0119055193, -0.0694296807, 0.0032232963, 0.0031886981, 0.0180801153, -0.0734183639, 0.0156666022, 0.0043353769, -0.083545953, 0.0424158387 ]
http://arxiv.org/abs/2406.19898v1
http://arxiv.org/pdf/2406.19898v1
Paraphrase Types Elicit Prompt Engineering Capabilities
2024-06-28T13:06:31
2024-06-28T13:06:31
Jan Philip Wahle, Terry Ruas, Yang Xu, Bela Gipp
cs.CL
cs.CL
Much of the success of modern language models depends on finding a suitable prompt to instruct the model. Until now, it has been largely unknown how variations in the linguistic expression of prompts affect these models. This study systematically and empirically evaluates which linguistic features influence models through paraphrase types, i.e., different linguistic changes at particular positions. We measure behavioral changes for five models across 120 tasks and six families of paraphrases (i.e., morphology, syntax, lexicon, lexico-syntax, discourse, and others). We also control for other prompt engineering factors (e.g., prompt length, lexical diversity, and proximity to training data). Our results show a potential for language models to improve tasks when their prompts are adapted in specific paraphrase types (e.g., 6.7% median gain in Mixtral 8x7B; 5.5% in LLaMA 3 8B). In particular, changes in morphology and lexicon, i.e., the vocabulary used, showed promise in improving prompts. These findings contribute to developing more robust language models capable of handling variability in linguistic expression.
[ 0.0899611041, 0.0086769629, -0.0467295125, 0.0064961924, -0.0767973363, -0.0134954117, 0.0174127985, 0.0136984214, -0.0301072933, -0.0526134707, -0.0211270116, -0.0239894092, 0.0059444979, 0.0079565439, 0.0558225885, -0.0791591257, 0.0571643859, -0.0796894133, 0.0178460144, -0.0012860243, -0.0025725882, 0.0263378173, -0.0105437664, 0.0519427955, 0.0044597518, 0.0025792993, -0.0198694691, 0.0184385516, -0.0248431489, -0.0111759035, 0.0249736831, 0.0480420217, -0.0068410691, -0.0006557042, 0.0000018216, -0.0763005912, 0.0237831436, -0.0409726426, -0.0429936498, 0.037978597, 0.0876547694, -0.0105907973, 0.003098672, 0.0174569488, -0.0101153236, -0.0138532333, 0.0284043774, 0.0147610363, 0.0225662794, 0.0226239618, 0.0039739455, 0.0014397673, -0.0147718741, -0.0016070491, -0.0167028774, 0.0030460714, 0.0026057437, -0.0381662808, 0.0368193164, 0.0537917316, -0.0195342973, 0.0522303879, -0.0111460788, 0.0190406106, -0.007749754, 0.0124786515, 0.0213205069, -0.0335136913, -0.0532396063, 0.0301223081, 0.0195198357, -0.0177778676, -0.0216289833, -0.0361191221, 0.0456412099, 0.0398716331, -0.0488260202, 0.0270668268, 0.0001984915, -0.0029146078, 0.0276871417, -0.0024537302, -0.0421313047, 0.0134124905, 0.0185803454, 0.0568872169, 0.0383346751, -0.0283787921, -0.0102313152, -0.0001302514, -0.025949087, -0.0615361817, 0.0071717366, -0.0075729117, -0.0375858806, 0.0413337424, -0.0411317423, -0.0417190157, 0.0554553121, -0.0030884116, 0.0645994842, 0.0237956624, -0.0296092518, 0.0107502742, -0.0150705753, 0.0769989789, -0.0104238223, 0.0510729812, -0.0451173708, -0.010034862, -0.0353627093, -0.0340707414, -0.0554412119, 0.0036579405, -0.0182396136, -0.0129714189, -0.0337319113, 0.0314170457, 0.0546230972, -0.0290186163, 0.018564146, 0.0271430183, -0.0615187734, 0.008990014, -0.0350814052, -0.0053165886, -0.050118722, 0.0499949083, 0.0300976411, -0.0780354738, -0.0193987768, 0.0037719449, 0.0264037289, -0.0588210151, -0.023355823, 0.03873327, -0.018326547, -0.0444200672, -0.0092235552, -0.0207934659, -0.0784013793, -0.027488023, -0.0175114535, -0.0458011664, 0.0141549055, 0.0065692831, -0.006167768, -0.034679167, -0.0025321227, 0.0146720111, -0.0587821156, 0.0610792153, 0.0033468944, 0.0247840453, 0.0066847685, -0.0363926925, -0.044738695, 0.0223767031, 0.0112546841, -0.0141946459, 0.0527143404, 0.0047392659, -0.0157254077, 0.0382712744, -0.003652625, -0.0076410421, -0.0275134239, 0.0031211409, 0.0364719145, 0.013795292, 0.0389499366, 0.0688456744, -0.004609108, -0.014731233, 0.0887144655, 0.0757155269, -0.0074642161, -0.0123205688, 0.0775526613, 0.0252547022, 0.0009857134, 0.0240898244, -0.0425029024, -0.0212812014, -0.0106683169, 0.0510876887, -0.0187336896, 0.037082646, -0.006362468, -0.0506538972, -0.0630996451, 0.0085191829, -0.0084115332, -0.0019792421, -0.0044177789, 0.0442658477, -0.029735202, 0.0495947599, 0.0157961231, -0.0623985454, -0.0270320196, -0.0512797609, 0.0466472581, 0.0595203154, 0.0339134, -0.0034689566, -0.01946868, 0.0040492513, 0.0233163647, 0.0581386387, 0.0633399263, -0.0027070227, 0.016573308, -0.0232394077, 0.0031299018, -0.0299409106, 0.024395965, -0.0165807717, 0.0196933467, -0.0252783354, -0.0078491271, -0.0132216392, -0.043393705, 0.0466699749, -0.0327568278, -0.0244817417, -0.019818034, -0.0037090154, -0.0060742712, 0.0011419369, 0.005477929, 0.0456506833, 0.0083723851, -0.023322925, 0.0120885968, 0.0308871176, -0.0718038306, -0.0342637897, 0.023400072, 0.0314905681, 0.0035519025, -0.0155745605, 0.0263323896, -0.0365274809, 0.0001675636, -0.0788520202, 0.0493284687, -0.0398186482, 0.0516430028, -0.0394559987, 0.0068721101, -0.0610324107, 0.0501698703, 0.0225680061, 0.0119459406, 0.0572544038, -0.0079695182, -0.0031822007, -0.0247708894, -0.0112044411, 0.0033189699, 0.0069212196, -0.0042790994, 0.034125682, -0.0049908031, -0.0509406738, -0.048068855, -0.0844847634, -0.0195816103, -0.0229716618, -0.0169836003, 0.0474276617, 0.0080055771, -0.0220516156, -0.0099548399, -0.0127002886, -0.0248272736, -0.006159422, 0.044527892, 0.0498346239, 0.0362423509, -0.0427378677, -0.0699194744, -0.0128845889, -0.0197894052, 0.0399595089, 0.0208838806, -0.0084819356, -0.0456419252, 0.050694596, 0.0003965967, -0.0223311093, -0.0040403549, -0.0276246238, 0.0227083992, 0.0069605117, 0.0895553753, 0.0514522679, 0.0202224348, -0.019123707, 0.0421323702, -0.0222273376, -0.0694492385, -0.0197637435, -0.0087345429, -0.0476744771, -0.030312432, -0.0661803782, 0.005692557, 0.0670566708, 0.05454107, 0.005787632, -0.0760002509, 0.0281156655, -0.0370709188, -0.0434721969, 0.0004727933, -0.0439565405, -0.0677909851, 0.0521286763, -0.0332060866, -0.0411059633, 0.0802415013, -0.0360481814, -0.020361241, -0.0574059412, 0.0011557324, -0.0341445692, 0.0228004754, -0.0327679962, 0.012827998, 0.0577820204, -0.0531837121, -0.0609655939, -0.0240882114, 0.0282566249, -0.0029489307, 0.0630878583, -0.0875991732, -0.0081121512, 0.0304449014, -0.0520851873, -0.0337669887, -0.0605447739, -0.0002713811, 0.0393589921, 0.0352329835, 0.022141559, 0.0260527115, -0.0229673292, 0.013116695, 0.0518099964, -0.0442966968, 0.0003847918, -0.0572224036, 0.017542161, 0.0569294505, 0.0595973954, 0.0242874213, -0.0331077613, 0.0187902227, -0.0241473317, 0.0147630759, -0.0000590788, -0.0233939197, 0.0026317143, 0.033636719, -0.0465735607, -0.0667550191, 0.0365748703, 0.0813355371, -0.0236461647, -0.0210403763, 0.0990430787, 0.0359335504, 0.0046723727, 0.0234301947, -0.0609347001, 0.0675435662, 0.0146876741, 0.0099183703, -0.0243284479, -0.026430333, 0.0152942101, 0.0082456833, -0.0157604907, -0.0002181534, -0.0147430031, -0.1131270975, 0.0228775833, -0.015812885, -0.0223046243, 0.0135739222, -0.0020616564, 0.0292927958, 0.0184930917, 0.0464357808, 0.0151390079, -0.0611600205, 0.0345647186, 0.0308561642, -0.0114462879, -0.0284768678, -0.0152791217, -0.0492273457, 0.0420195796, 0.0411849692, -0.0005152433, -0.004697883, -0.0138775269, 0.0335026644, -0.0079959948, 0.0348930955, 0.0032069588, 0.0379261188, 0.0183399841, 0.0016642467, -0.0184382461, 0.0099963341, -0.000876974, -0.0135411881, 0.0281745363, 0.0438839905, 0.0038189788, -0.0082435738, -0.0174251944, 0.0048841001, 0.0011900464, 0.094701156, 0.0641400293, -0.051285401, -0.0382823199, -0.0031627824, 0.0093533909, -0.037708763, -0.0436283089, -0.0153092751, -0.013671956, 0.0167349111, -0.0867997631, -0.0724826828, 0.0115859676, -0.0051684878, 0.03951158, 0.027982926, -0.0388411172, -0.0026455547, 0.0155740324, 0.0231923182, 0.0036635981, 0.0392787866, -0.0596997142, -0.0146535309, 0.0449637249, -0.0323059708, -0.0119732423, 0.0128463898, -0.0469073206, -0.0643456206, 0.0346775204, 0.0429614447, 0.0235547479, 0.0244993828, 0.0089242132, -0.0451694205, 0.0326407775, 0.0008347745, -0.0103065241, 0.0827738792, 0.0280581415, 0.0221449621, -0.0092098014, 0.0447316691, -0.0129762795, -0.0072394768, 0.0277094897, 0.0551761463, -0.0162715148, -0.0832457468, 0.0367639102, 0.0191567764, 0.0399448313, -0.0115764169, -0.0088324556, -0.0329743773, -0.0042429045, -0.0003189539, -0.0077345604, -0.0292957183, 0.0164290387, 0.0259613823, 0.0035212687, -0.009822512, -0.0000722064, -0.0607979931, 0.0612583421, -0.038820751, -0.0172388908, -0.0125330174, 0.007411866, -0.0160447247, 0.0256548487, -0.0283652488, 0.0255478173, -0.0630987957, 0.0243293401, -0.006953401, 0.0627558753, -0.015322566, -0.0570925847, -0.0436793305, 0.0520520993, -0.0653930306, -0.0251188204, 0.0319608636, 0.033102341, 0.0040438855, -0.0359270871, 0.0565699413, -0.0268994365, 0.0079355091, -0.0059929644, 0.018362429, 0.025844641, -0.0073652244, 0.0625214502, 0.021792179, 0.0052281413, -0.0363756791, 0.0492887273, 0.0356201567, 0.0227185506, -0.0114179011, 0.0134611344, -0.028422419, -0.0289831124, 0.0421386957, 0.0094923275, -0.0173210651, 0.0200783927, -0.0799989179, -0.0237405617, 0.0306489058, -0.0005083648, 0.0005193567, -0.0500117876, 0.0597628355, 0.0617667846, -0.0240702108, -0.0733642653, -0.0470118858, 0.0241997279, 0.03602143, 0.0013865893, -0.0769152418, -5.724146883e-33, -0.0469981022, 0.0040635634, -0.0005866265, -0.028590234, -0.0001233376, -0.0068416069, -0.021595113, 0.0314258859, -0.0104759233, -0.0174303241, -0.0501891933, 0.0155568486, 0.0263060872, 0.0059736343, 0.0581098124, -0.005666947, 0.0527135804, -0.0205891039, -0.0354890637, -0.0277849175, 0.0191951375, 0.0077937087, 0.0414786749, -0.0078806682, 0.0487613492, -0.0051810015, 0.0119374134, -0.0242744274, -0.0258172676, 0.0634731427, -0.0016878732, 0.0436404236, 0.0150905149, -0.0406037606, -0.060758587, 0.0553119294, -0.0359238163, -0.0316648334, 0.1021426991, -0.0026821513, -0.0565626882, -0.0935042799, -0.0031830564, -0.053076718, -0.0371909179, 0.0126146544, 0.0285631865, -0.0265820231, 0.0016414996, 0.0612595938, -0.0513377637, -0.0177804157, 0.003744663, -0.0143357236, -0.0127094984, 0.0787841901, -0.0186899472, 0.0191193186, 0.0073065199, 0.044925116, 0.0199827161, 0.0393744297, 0.0202231761, 0.0233717263, -0.0089001628, 0.0280503128, 0.0058786627, 0.0101143857, 0.0173174813, -0.0161819924, 0.0411442369, 0.0201898981, 0.0375017226, 0.0469249934, -0.0037804593, 0.0246776566, 0.0152473096, -0.0384722538, 0.0404087603, 0.0191065408, 0.0387162529, -0.0159311201, -0.0411999151, -0.0345330574, -0.0528783128, 0.0048424625, -0.0110620381, -0.0204911698, 0.0587730967, 0.0067597581, -0.020404065, -0.0124381501, 0.0426832922, -0.0080824634, -0.0233770795, -0.0007243324, -0.0266040284, 0.0387443602, 0.0127861993, 0.0320253149, -0.0386537425, 0.0127394879, 0.0217221603, 0.0318485238, 0.0309722573, 0.0206981525, -0.0008799924, 0.0084657324, -0.0648640245, 0.0117243035, -0.0239479281, 0.0011961844, -0.0428521149, -0.0304699633, 0.0369542912, 0.0431795083, -0.0070181512, 0.028033467, 0.0138359582, -0.0540444925, -0.0462987125, -0.0082365712, -0.0100644846, 0.03400914, -0.0243476462, -0.0063151862, -0.019761268, 0.0674658343, -0.0010643944, 0.0092362631, -0.0046904832, 0.0287750978, 2.553e-7, 0.0475233421, 0.0356848277, 0.0172036737, 0.0414701998, 0.012952989, 0.008015844, 0.0037444746, 0.0148589564, 0.0118214404, -0.0128266532, -0.0087316995, 0.0118111884, 0.0172469467, -0.0373128578, -0.1144269556, -0.0067824116, -0.0742729157, 0.0468317531, -0.0736355707, -0.0149252545, 0.0622956753, 0.0662719533, -0.0261718761, 0.0021009268, -0.0553825498, -0.0253461078, 0.0322461762, -0.0582566299, -0.0186003279, 0.0265392847, 0.0229180362, -0.0093087591, 0.0271682162, 0.0457582586, 0.0225698482, 0.0231753122, 0.0270809755, 0.0487889983, 0.0159685779, -0.0259153191, -0.0086248042, -0.0203268286, -0.024393091, -0.0712413043, 0.0560414232, -0.0223323405, 0.023880519, -0.0199372731, -0.0038667158, 0.0264223255, 0.0211004522, -0.0584793687, -0.0217048805, 0.0111055998, 0.0296765398, 0.0033463966, -0.0043397676, -0.0383980386, -0.015444017, 0.0075923009, -0.0173800737, -0.0443823412, -0.0363731086, 0.0267775748, -0.0076818569, -0.0803101957, 0.0030480439, 2.331519806e-34, 0.0202538185, 0.0092712743, 0.0741254613, 0.0420483015, 0.0079188664, -0.0121533927, 0.0431760475, 0.0326140486, 0.0319699422, -0.0665172189, -0.0329278372 ]
http://arxiv.org/abs/2406.19892v1
http://arxiv.org/pdf/2406.19892v1
Untangling the Unrestricted Web: Automatic Identification of Multilingual Registers
2024-06-28T13:00:30
2024-06-28T13:00:30
Erik Henriksson, Amanda Myntti, Anni Eskelinen, Selcen Erten-Johansson, Saara Hellström, Veronika Laippala
cs.CL
cs.CL
This article explores deep learning models for the automatic identification of registers - text varieties such as news reports and discussion forums - in web-based datasets across 16 languages. Web register (or genre) identification would provide a robust solution for understanding the content of web-scale datasets, which have become crucial in computational linguistics. Despite recent advances, the potential of register classifiers on the noisy web remains largely unexplored, particularly in multilingual settings and when targeting the entire unrestricted web. We experiment with a range of deep learning models using the new Multilingual CORE corpora, which includes 16 languages annotated using a detailed, hierarchical taxonomy of 25 registers designed to cover the entire unrestricted web. Our models achieve state-of-the-art results, showing that a detailed taxonomy in a hierarchical multi-label setting can yield competitive classification performance. However, all models hit a glass ceiling at approximately 80% F1 score, which we attribute to the non-discrete nature of web registers and the inherent uncertainty in labeling some documents. By pruning ambiguous examples, we improve model performance to over 90%. Finally, multilingual models outperform monolingual ones, particularly benefiting languages with fewer training examples and smaller registers. Although a zero-shot setting decreases performance by an average of 7%, these drops are not linked to specific registers or languages. Instead, registers show surprising similarity across languages.
[ 0.0256271437, 0.049826704, -0.0133196237, 0.0475238115, -0.0252067037, 0.0633011982, 0.0493563563, -0.0016840885, 0.0116796205, -0.0706995726, -0.0344238132, -0.0859800205, -0.0134009505, 0.0210632719, 0.0163024813, -0.0022980999, 0.0288556553, -0.0295790508, 0.014367057, 0.0015841234, 0.0100175664, 0.0454190858, -0.0015617424, 0.0231028479, -0.0138825681, -0.0284242257, 0.016130453, 0.0075287456, -0.0014440569, -0.018882202, 0.0660936162, 0.0414389744, 0.0316872112, 0.1154511347, 0.0000016405, -0.0427375957, -0.0138238491, -0.036590606, -0.0047492664, -0.0120722596, 0.0462446101, -0.0102655729, -0.0119723286, -0.0093376087, 0.0183974784, -0.0433360636, 0.0547685623, 0.020144349, -0.0264109932, 0.0693015158, -0.0175845623, -0.0517330207, 0.023224961, -0.0052977819, -0.0254139043, -0.0332302712, 0.0211211462, -0.0224195644, -0.0271776654, 0.0024718759, 0.0094011193, 0.0117011918, -0.0130534461, -0.0138997482, -0.027203694, 0.0003495891, -0.0323334225, -0.0341682099, 0.0144083994, 0.0835359171, -0.0227589142, -0.0511388257, 0.02526794, 0.0097795343, -0.0108470991, -0.0280716363, -0.0221309531, 0.048771102, -0.0209393613, 0.0031609314, 0.0501011088, 0.0187822264, 0.0455994792, 0.0350045897, -0.0201115571, 0.0186711065, 0.0077510192, -0.0148931583, 0.0500099361, 0.0171676017, -0.0017003034, -0.0413535163, 0.0208891425, 0.0091046924, -0.0310758222, 0.033969719, -0.0219592005, -0.0237778332, 0.0307548605, -0.1010917351, -0.041213654, -0.0077376924, -0.0425901487, 0.066818893, -0.0125000635, -0.0325116292, -0.0212703142, 0.0005387762, 0.0033685942, -0.0386026688, -0.0647941157, -0.0035987613, 0.0167096406, 0.039043244, 0.0349634625, -0.0127955396, -0.0343947485, 0.0224697869, -0.0154851964, 0.0285269376, -0.0526096858, -0.0200830176, -0.0213552173, 0.0153035326, 0.0094309682, 0.0465323031, -0.0191605072, 0.0143462084, -0.0071163569, -0.0478824526, 0.0396218896, 0.058756005, 0.0202639103, -0.0298032705, 0.0186607931, 0.0102516217, -0.0151538625, -0.0139193144, -0.04081605, -0.017303355, -0.0150633175, -0.0382630974, 0.0381520875, -0.0808693245, 0.0194201767, 0.002542323, 0.0156684462, -0.0409299694, -0.0022876845, 0.0098040216, 0.0028645687, 0.0571694933, -0.0031474291, -0.031304244, 0.0617367402, 0.0005791142, 0.006112495, 0.0829915479, 0.0001742683, 0.0331687033, 0.0820876062, -0.0219152793, 0.0238816421, 0.0430346243, -0.0173328742, -0.003344194, -0.0030209429, -0.0262463, -0.0086158933, 0.0056911171, 0.0165354107, 0.0275781993, 0.0035696265, -0.0346542411, 0.025878666, 0.0508246794, -0.0233897958, 0.0532954931, 0.0403823778, -0.0162093695, -0.0037517196, 0.0204379205, 0.0170735922, -0.0281436909, -0.003106209, -0.0074504227, -0.0084625473, 0.0117756072, -0.0526553392, -0.0182604082, -0.0100361491, -0.0378557257, 0.005698503, -0.0028290483, 0.0839677826, -0.019002568, 0.0103093004, 0.0075763753, 0.0398757495, -0.0086647971, 0.0103327502, -0.0376585424, -0.0022279485, 0.0238868818, -0.0068598017, -0.046960149, -0.0434030406, -0.037716765, 0.0241790004, 0.0543050691, 0.0672991723, -0.0286164135, 0.0147182485, -0.0307690594, -0.0061115841, -0.0035224664, 0.0019726013, 0.0617278442, -0.0324500464, 0.0296244323, -0.0039028309, -0.0473193377, -0.0348278955, 0.0156912375, -0.0185811687, -0.0400724895, 0.0282952767, 0.0158203505, 0.0302646812, 0.0309611131, -0.0200572386, -0.0410974957, 0.0213289205, -0.0322970338, -0.0375761986, -0.0369118378, 0.0083531989, -0.0036739511, 0.0562170409, -0.023288317, -0.0279240143, 0.0264274254, -0.0303800516, -0.0129303942, 0.0215493962, -0.0066431579, 0.0305447914, -0.0262825266, 0.0004859445, -0.0243665092, 0.0214905422, -0.0159893762, 0.063860476, 0.0253816191, 0.0341089629, -0.0115559287, -0.0689172894, 0.0267522652, -0.004326981, -0.0333467461, 0.0267336629, -0.0521018244, 0.0267183222, 0.0465074256, -0.0055012349, -0.0229255594, 0.01047807, -0.1015851498, -0.0076856613, -0.0389320999, 0.0289597213, 0.001976847, -0.011462071, 0.0127971899, -0.0002456164, -0.0556662045, -0.0224547554, -0.0393114425, 0.0330367796, 0.0274752174, -0.0095657185, 0.0084325885, -0.018188687, -0.0239843354, -0.0214284919, 0.0726990774, -0.002455354, -0.0646010339, -0.0139670409, -0.0285124108, -0.0506947637, -0.0004278582, -0.0145843392, -0.0179280601, -0.0291398428, 0.0074633523, -0.0317116641, 0.0164802261, -0.0064668758, 0.0229668748, 0.0342329368, 0.0461816676, -0.0364739895, 0.0021158135, -0.0209608842, 0.0131352255, -0.0241066553, 0.0026068124, 0.0292641874, 0.0600305572, -0.0226514209, 0.0156192817, 0.0124456156, -0.0205025785, -0.0085070878, 0.010026617, -0.0485355668, 0.0073212627, 0.0076940889, 0.0488118157, 0.0143840313, 0.015584995, 0.0670789629, -0.0027799066, 0.0116419112, -0.0669380501, -0.0234864876, -0.0228761118, 0.0245320089, -0.0211679544, 0.0438320599, 0.030547224, -0.0469986238, -0.0181637201, 0.0234269742, 0.0139602032, -0.027220225, 0.0212799292, -0.0019851204, 0.0092725279, -0.0343886688, -0.056813471, -0.0356308073, -0.0357751958, 0.0009931804, 0.0122076981, 0.0285848901, -0.0095166881, -0.0173075311, 0.0142670479, 0.0159039479, 0.0520654134, -0.0022674699, 0.0021019152, -0.0051862434, 0.0786779225, 0.0405830368, -0.0251783542, 0.0130775524, -0.0012512802, -0.018171031, 0.0208241418, -0.034647394, 0.019629892, -0.011285007, -0.0191070493, 0.0447506718, -0.0580269806, -0.0374159142, -0.0156707708, -0.0038216081, -0.043393027, 0.0171319935, 0.1010648608, 0.0203223303, -0.0844695419, -0.0181260202, 0.013197531, 0.0391170233, 0.0223403405, 0.015413899, -0.0892766118, -0.0049997051, 0.0173865799, -0.0180015061, 0.0199081358, 0.0000117933, 0.0296971314, -0.0625711605, -0.0030404786, -0.0202634633, -0.0257949904, 0.0215366799, -0.050382968, -0.0169720817, -0.0115238614, -0.0109714735, -0.0557250492, 0.0042688991, -0.0300233569, 0.0374882184, -0.0571225919, -0.0856689364, 0.0367174, -0.0132486755, 0.026089143, 0.0240158271, 0.0585821122, -0.0561227165, -0.0239111315, 0.0494383648, -0.0337930061, -0.0537934527, -0.0320212543, 0.0654055849, 0.0039401157, -0.0034423382, 0.0061540012, -0.0020181155, -0.0430237129, 0.0211977083, -0.0091295261, 0.0609450005, 0.0077892733, -0.0215609595, -0.0120347664, -0.049491886, 0.0029932673, 0.042848777, 0.0170939416, -0.0481847972, -0.0323793106, -0.0477305837, 0.0054686819, -0.0576332659, 0.0013875962, 0.022966465, -0.0391122624, -0.0992154777, -0.0623355918, -0.0478365161, -0.0098497393, -0.0080703134, 0.0110596344, 0.0040856516, 0.0387570225, -0.0141652124, -0.0696545169, -0.0052925865, -0.0139428843, -0.0030844661, -0.0469985865, -0.0110103227, 0.0554689802, -0.0224901866, -0.0258575138, -0.0198490452, -0.0683439896, -0.0521924458, -0.0178084113, -0.0215750802, 0.007660531, 0.0283594895, -0.0163185075, -0.0759939998, 0.0024467201, 0.0063939434, 0.0009305212, -0.0511770919, 0.0356747098, 0.0033425211, -0.038390547, 0.0326008014, -0.0555833764, 0.048677586, 0.0136169801, -0.0304262377, -0.0458944216, 0.0114799486, 0.0043227575, -0.0023609842, 0.0503453016, -0.0197469369, -0.0346302614, -0.0408584662, 0.0023569022, 0.0534301251, -0.0227899477, 0.0258654393, -0.0106849158, 0.0683352947, -0.0336039476, -0.0252478775, 0.072844699, 0.0351650007, 0.0319274366, -0.0389883965, 0.0075241225, 0.0416286439, 0.0330102295, -0.0376679823, 0.0280836802, -0.0442265645, 0.0604830384, 0.0479586311, 0.0477124155, -0.046556402, -0.0032249405, 0.0048538256, 0.0114360023, 0.0082180239, 0.0008034777, -0.0065874434, 0.0081857955, -0.0245152712, -0.0220015887, 0.0835908651, -0.0138430148, 0.0489971749, -0.0059220404, -0.0357514173, -0.0454148799, 0.0250464603, -0.0162836425, -0.0270800218, 0.0073432047, 0.0052469177, -0.0520689562, 0.032664448, 0.074304238, 0.0075200503, 0.0078223869, 0.0680876672, -0.0413491912, -0.0424019434, 0.0071910881, 0.0416273847, 0.0387300886, -0.0011415679, -0.0029023658, -0.0102963885, -0.059585277, 0.0257771295, -0.048108574, 0.0143746966, -0.0018228311, 0.0105281267, 0.0877521336, 0.0176159441, 0.0159122646, -0.0565991215, -0.0029807689, 0.0004764639, -0.0151575524, -0.0261032637, -6.002793411e-33, 0.0303681269, -0.010992635, -0.0328052118, 0.0078655118, 0.0318591297, 0.008803525, -0.0269300081, 0.0027532824, -0.0245102756, 0.0059935073, 0.0075755105, -0.0085594375, 0.0168962646, 0.0435834937, 0.0167128984, -0.0357511193, 0.024327388, 0.0158577487, 0.0096663814, 0.0514084101, 0.0631960556, 0.0314953588, 0.0954252109, -0.062107902, 0.0332947858, -0.0075280624, 0.005688956, -0.0321556665, 0.0495172627, 0.091862008, -0.0481796488, 0.06246759, 0.0384477973, 0.0152395619, 0.0271621756, 0.0438722745, -0.0721384361, -0.0168503113, -0.0408017151, 0.0503499173, 0.0311364345, -0.0310326852, 0.0320444033, 0.0022127216, 0.0173642244, -0.0093047367, 0.0812466294, 0.0043110438, -0.0031511155, -0.0985110924, -0.0817649215, 0.0242385194, -0.0220592674, 0.0003872592, 0.0606823191, 0.0682187453, 0.0172969904, 0.0312393215, -0.1182852313, 0.027611902, -0.0420724899, 0.0368809141, 0.0525203906, 0.0053920457, -0.0569768921, 0.0353696048, 0.0113829458, 0.0422315225, 0.0115004713, 0.0403463282, 0.0588715225, 0.0123657845, 0.0176950283, 0.0745415986, 0.0678327829, -0.022517534, -0.1050442904, 0.0237326398, 0.0622291341, -0.0376918949, 0.0169078857, -0.0150310975, -0.051152207, -0.0132171502, -0.0194008928, -0.0053742668, -0.0415220149, -0.0075871958, 0.0047808532, -0.0338150114, -0.0155857727, 0.0349224396, 0.0264648311, -0.0510697104, -0.0861027539, 0.036260426, -0.0018551929, 0.0652018711, 0.0366460718, 0.0117138913, -0.0429829881, -0.0539227016, -0.0252570063, 0.0079828417, 0.0344474018, 0.0117757916, 0.0894856527, 0.0247188006, -0.0532959215, 0.0124160722, -0.0212904643, -0.0294387452, -0.0046068314, 0.0959942713, -0.0007735961, 0.0084276674, 0.0082392255, 0.0660647079, 0.0533770733, 0.0239748601, 0.0029086825, -0.0398078859, -0.036831174, 0.0241794139, -0.0311058257, -0.0342086963, -0.0151649397, 0.0431381911, 0.0232562665, -0.0780003369, 0.0107468935, -0.0259484258, 2.507e-7, 0.040529836, 0.0563027151, -0.0127558382, -0.023130022, 0.0338355079, 0.045329269, 0.0040898351, 0.0477357581, -0.0355798937, -0.0127902348, -0.0234288946, -0.0134089058, 0.0496040434, 0.0462158136, -0.0839768574, -0.0110732773, -0.0571809933, 0.039358642, -0.0551570728, 0.0178190582, 0.0351371653, 0.1162538528, 0.0055788942, -0.0303387158, 0.0130198775, -0.0009254231, 0.0484055914, -0.0125628272, -0.0195336714, 0.060882099, 0.0127085419, 0.041189108, -0.0135419294, 0.0030381624, -0.0316111408, 0.0079879686, 0.0064211143, 0.0310933962, -0.0150752086, 0.0052680131, -0.0019938427, -0.0241380371, 0.0117276907, -0.0562973246, 0.0645996779, 0.006559243, -0.0138560236, -0.0095222006, 0.0090447962, -0.0103517072, 0.0610594638, -0.0418423638, -0.019016074, 0.031886518, -0.0033206507, -0.0547470711, -0.0310832057, -0.0695667565, 0.0207487885, 0.0471534468, -0.0043061459, 0.0176020954, -0.0001166897, -0.0310543329, 0.0329442993, -0.0658222213, 0.0489485078, 2.23174559e-34, 0.0365493521, 0.0085956901, -0.0370350182, 0.0137410956, -0.0054013291, -0.0059533636, -0.0192101225, -0.005740114, -0.0125671709, -0.0041966885, 0.0238593835 ]
http://arxiv.org/abs/2406.19884v1
http://arxiv.org/pdf/2406.19884v1
Investigating the Timescales of Language Processing with EEG and Language Models
2024-06-28T12:49:27
2024-06-28T12:49:27
Davide Turco, Conor Houghton
cs.CL
cs.CL, q-bio.NC
This study explores the temporal dynamics of language processing by examining the alignment between word representations from a pre-trained transformer-based language model, and EEG data. Using a Temporal Response Function (TRF) model, we investigate how neural activity corresponds to model representations across different layers, revealing insights into the interaction between artificial language models and brain responses during language comprehension. Our analysis reveals patterns in TRFs from distinct layers, highlighting varying contributions to lexical and compositional processing. Additionally, we used linear discriminant analysis (LDA) to isolate part-of-speech (POS) representations, offering insights into their influence on neural responses and the underlying mechanisms of syntactic processing. These findings underscore EEG's utility for probing language processing dynamics with high temporal resolution. By bridging artificial language models and neural activity, this study advances our understanding of their interaction at fine timescales.
[ 0.0142321214, 0.0529170521, -0.0301110968, 0.0175404567, -0.0067568887, 0.0345879272, 0.0137385149, 0.0201696157, -0.0105077187, -0.0196885355, -0.0054992279, -0.0469905213, 0.0442371182, 0.0591585077, 0.0140344435, 0.0109910369, 0.0547342263, -0.003444273, -0.0209980886, -0.0124880094, -0.0042480906, -0.0010974059, -0.0559610128, 0.0592980087, 0.0078042601, -0.0015910427, -0.0242335964, -0.0517012328, -0.0234484803, -0.0040156879, -0.0538742281, 0.0555857681, -0.0189324934, 0.0094229775, 0.0000013704, -0.0388580076, 0.0198865347, -0.0075421748, -0.0401260071, -0.0210394561, 0.006749521, 0.0217233766, 0.0051299115, -0.0458454452, -0.0375412367, -0.0118600782, 0.0467031226, 0.0429608375, -0.0266027562, 0.0462563857, -0.0206425358, -0.0099419989, 0.0531196222, 0.0017453231, -0.0087971706, 0.0214183256, 0.0330668166, -0.0537826084, 0.0152962534, -0.031314306, -0.0502522439, -0.0015509437, -0.0188641921, 0.0403767154, 0.0234743413, 0.0748138875, 0.00710497, -0.0034154316, -0.0144355418, 0.0466277711, 0.0234355722, -0.0623837821, 0.0176585596, 0.0543403029, -0.0389664993, 0.0201094411, -0.0069766203, -0.0020890154, 0.0227263216, 0.0284896605, 0.0365818813, -0.061371021, -0.012296888, 0.0114087285, -0.0382190682, 0.0897168517, 0.0357198268, -0.0497123823, -0.0170828067, -0.021584142, 0.0333248824, -0.0278349109, 0.025312366, 0.0173486937, -0.0156530179, 0.0035620378, 0.0003770391, -0.0336873829, -0.0332485884, -0.0211611241, 0.0204802155, 0.0448536426, 0.018088948, 0.0113392137, -0.0107469773, 0.0650115311, -0.0147152841, 0.0412762612, -0.0262551997, 0.0335136242, -0.0465746857, -0.045746889, -0.0098133124, 0.0249548983, -0.0466444902, -0.0221239142, -0.0459663458, -0.0242076349, -0.0048240968, -0.0865096226, -0.0088896742, 0.0441275463, -0.0201242734, 0.0285984278, -0.0389565788, 0.030339906, 0.0260992348, 0.0276648179, -0.0185007043, -0.0348829813, -0.0374314897, 0.0305783246, 0.0015113818, -0.0263070967, -0.026954392, 0.0319905803, -0.0110620344, -0.0544261821, -0.0259657074, 0.0124008683, -0.0383089632, 0.0033313946, 0.0079701161, -0.0556131154, 0.0276662372, 0.0352464467, -0.0378957316, -0.0546990074, 0.0026929644, -0.0084427809, -0.02766327, 0.061114382, -0.0105494028, 0.0171910375, 0.0453856066, 0.0108595118, 0.0342343152, -0.0058561568, 0.0582609586, -0.0807124227, -0.0185479578, -0.0406223275, -0.0259354226, 0.0621349327, -0.0243568234, -0.0448347107, -0.0918936729, -0.0392859653, 0.0014355507, 0.0125933737, 0.0578256361, -0.0079333512, -0.0000327032, -0.0270416308, 0.0556607321, 0.0650011599, -0.0080778887, 0.018881781, 0.0045958706, 0.0022799075, 0.0338834487, -0.0208260566, -0.0046063969, -0.0200687423, -0.0074999738, -0.0113296816, -0.0576511361, -0.0105915256, -0.0025392016, 0.0223864075, 0.0273307469, -0.0101979654, 0.0456433408, 0.0171216894, 0.0415368229, 0.0063432925, -0.0308404397, 0.0753448457, 0.0316811949, 0.0128326956, 0.041491352, -0.0301116724, 0.0332417861, 0.0326313041, 0.024200283, -0.0009830799, 0.0002135714, 0.0199302081, 0.0022096273, 0.0546917245, 0.0042605656, 0.0157435369, 0.0129792672, -0.0107834022, -0.0031968874, 0.0110068377, -0.0172473174, 0.0055450997, -0.0299379379, 0.0156327523, -0.0361201726, -0.0336571485, -0.0284349658, 0.0519917719, -0.0416076705, -0.0079767574, -0.0077550211, -0.0095535424, 0.0049142339, -0.0195662547, -0.0431167036, 0.0444014706, -0.004485412, 0.0024488473, 0.0266327541, 0.0116757983, 0.0035481614, -0.0153304087, 0.0378038548, 0.0282620192, -0.0048776888, 0.0565414578, 0.0695427284, -0.0372472294, 0.0416082889, -0.0277057756, 0.0389188714, -0.0235402565, 0.0015847608, -0.0223239474, 0.078777045, -0.0720212311, -0.0013666133, 0.008438006, 0.0201398898, 0.0129877543, 0.0097973589, 0.0229506195, -0.0064433059, -0.0266408976, 0.0311579388, -0.0254163891, -0.0351941586, -0.035161525, -0.0252872128, -0.0617779456, 0.0029869839, -0.0825859383, -0.0381596982, 0.043384552, 0.0315497592, 0.0375471264, -0.0183255952, -0.0065781758, 0.0293545257, 0.0143622309, 0.0163144916, 0.026768228, 0.0325315818, -0.0120373582, -0.0185615849, -0.0239921268, -0.0300900619, 0.0001916064, -0.0636477843, 0.085837625, -0.0195301548, -0.0466955937, -0.0617891289, 0.024416361, -0.0275956336, 0.0371370167, 0.0274154712, -0.0222794618, 0.0477300845, 0.0021948812, 0.0976174101, 0.0499673113, 0.0380917192, 0.0666236579, 0.0488942079, -0.0607225485, -0.0259346981, -0.010414728, -0.0468132347, 0.0664158911, -0.0491384566, 0.01353529, 0.0036459235, 0.1146052554, 0.0847826079, -0.0166157167, -0.0301216133, 0.008274951, -0.0499644242, -0.0501249656, 0.0105309011, -0.0119011989, -0.0870406255, 0.0487536043, -0.0327902846, -0.0251959376, 0.037778534, -0.0122853573, 0.0010982358, -0.0106534567, 0.0066618449, 0.0128410663, 0.0422768816, 0.0174087938, 0.0151918018, -0.0364818573, -0.0439376459, -0.0420196019, 0.0188891441, -0.0395192094, -0.0463062041, 0.0392879657, -0.0367729738, 0.006594379, 0.0393926091, 0.0379013568, -0.0374212004, -0.0563507415, -0.0103555154, -0.0048098438, -0.0086894808, 0.0012559118, -0.0264608935, 0.006807276, 0.0121125188, 0.0146983061, -0.0139688542, -0.0263330899, 0.0032579203, 0.0792736784, 0.0147828627, 0.0178211853, 0.0329879411, -0.0036243519, 0.0416040123, 0.0101141958, 0.0130978851, 0.0281738322, -0.0848450065, 0.0168941859, 0.0333199725, -0.0172634274, 0.0004769421, 0.0333594531, 0.0074332226, -0.0218671523, -0.0502660051, 0.1133250222, 0.0299553964, -0.0559726804, 0.0275145639, -0.0324904881, 0.0108810412, 0.0216592681, 0.0053602816, -0.0365388803, 0.0073496462, -0.0246907305, -0.0094055273, 0.0288488623, -0.0174319223, -0.0199788474, -0.0448692143, 0.0165083092, -0.0255886484, -0.0313161463, 0.021363344, -0.0104647176, 0.0352279805, 0.0477047227, 0.0081096003, -0.009783553, -0.0104301106, 0.0150712086, 0.0653330013, -0.0058517256, -0.0061912495, 0.0257196333, 0.0080578439, 0.0603525266, 0.0380797423, 0.0251109321, -0.0430902541, -0.0414526314, 0.0278421286, -0.0105977273, 0.0051733223, -0.0114446413, -0.0097144898, 0.0626239181, -0.0152291749, -0.007942629, -0.0123264017, -0.0163816903, -0.0650095865, -0.0371709019, 0.0809537619, -0.052159816, -0.0292601418, 0.0304964501, 0.0458801351, -0.0150448699, 0.0499207564, 0.0549290366, -0.0779470205, -0.0131681655, 0.0346158259, 0.0529974252, -0.0190562084, -0.0630547851, -0.0001438289, 0.0153967869, 0.0171621423, -0.0353035107, -0.0014520906, -0.0020425767, -0.0214125421, 0.0511552468, 0.0119105848, 0.0567296222, -0.0559031516, -0.0130000031, 0.0545214526, -0.0127066132, 0.0071820822, -0.0447784141, -0.0099459887, -0.0120037459, -0.0355239287, -0.0274930447, 0.0197275952, -0.0663278401, -0.0627587959, 0.105206348, -0.0571543463, 0.0197925381, -0.0091495132, 0.0137033919, -0.0585694537, 0.0349538624, 0.0162764508, -0.0097834133, 0.0736236051, -0.0390560701, 0.0076638134, -0.0117630949, -0.0007526435, 0.0118409395, 0.0121601094, 0.0485005416, 0.0167982895, 0.0053114295, -0.0160546843, 0.01587037, -0.0082949605, 0.1003441662, -0.0092230346, 0.0169419739, -0.0442140251, -0.0252079014, 0.0141077004, 0.0531076901, -0.0063306708, -0.1236938387, 0.05014861, 0.0040911851, -0.0253004953, 0.012471687, -0.0191561226, -0.02384682, 0.0004680242, -0.007278916, -0.0514005385, -0.0261674244, 0.006094642, 0.0458097309, 0.0295899324, 0.0488202348, -0.0405975804, -0.0147175388, 0.0023643635, 0.0769116729, 0.0058476594, -0.0082695428, -0.0427631959, -0.0319505073, -0.0269194823, -0.0276743695, 0.0831349492, -0.0617835, -0.0105858315, -0.045217067, 0.0391782597, 0.0109173199, 0.0221281257, -0.0489305407, 0.0083352178, -0.0386038199, 0.0270038825, 0.0843657926, -0.0121948272, -0.0013481961, -0.0009883322, 0.0600033514, 0.0195129924, 0.0345707871, 0.021432193, 0.0076659159, -0.0038998073, -0.0416449048, -0.0413917564, -0.0188528169, -0.0853160173, 0.0022106119, -0.0490207337, -0.0286582466, 0.0324928425, -0.031691283, 0.0387862623, -0.0436661839, 0.0150977988, 0.0139311971, -0.0194457527, 0.0014851267, 0.0032512485, 0.014625513, 0.0191888697, -0.0558623374, -0.0694389641, -5.133362524e-33, -0.0120623959, -0.0639297813, 0.000663075, 0.0602104701, -0.0380361751, 0.0328772329, -0.0395211428, 0.0624108873, 0.0252552386, 0.0241093896, -0.0320480056, 0.023770703, 0.0172006954, 0.024703091, 0.0261049662, -0.0238460414, -0.0199353211, -0.0732886046, 0.0297333226, -0.0197138302, 0.0326070003, 0.0605293959, 0.0841392651, -0.0146254292, 0.0213437937, 0.034363009, 0.0190664493, 0.0018644077, 0.003231426, 0.0480016209, -0.0834515914, 0.0596194603, 0.0480733588, -0.0259073731, 0.0027246373, 0.0275490116, -0.0391716361, -0.0187401269, 0.0526662506, 0.0147916833, -0.0326140895, -0.0078279488, 0.0573998801, -0.0302897263, -0.0305227861, 0.0050747124, 0.0397484042, -0.0231328923, -0.010032624, -0.0128912237, -0.0648072436, -0.0178511217, -0.0360377394, 0.0136717428, 0.0389380753, 0.0176075846, -0.0448419042, 0.0201819893, -0.0785585269, -0.0007029157, -0.0436958261, 0.0170952827, 0.0328888148, 0.0124525372, 0.0296275131, 0.0501330905, 0.0554622523, 0.0227894057, -0.0425564684, -0.0121564325, 0.0775399655, 0.0058302358, 0.0277183633, -0.0365623534, 0.0197827462, -0.0331109017, -0.0539887398, -0.0278193858, -0.0013582747, 0.0046169925, 0.0164750721, -0.0600911342, -0.0092928428, -0.0028725485, -0.0405098125, 0.0164116789, -0.0525328182, 0.0018591621, 0.0511353314, -0.0512369275, 0.0192919876, -0.0262014102, 0.04911872, -0.069612354, 0.0499350391, -0.0412615277, -0.0269730762, -0.0018499794, 0.0423510671, 0.0075025223, -0.0130180316, -0.0435379595, 0.0034689598, -0.0022395966, 0.0359018669, -0.0234406125, -0.0426813848, -0.0083532296, -0.0295836497, 0.014276538, -0.0102191474, -0.021451002, 0.0223810598, 0.0039023608, 0.0445376486, -0.0148750423, -0.0197490565, -0.0487449281, 0.0136453798, 0.014448286, -0.0052787266, 0.0068604494, 0.009446525, 0.0664943978, -0.013671428, -0.007203517, -0.0287232418, 0.039977897, 0.0105865588, -0.0101764398, -0.0184300561, 0.0020184882, 2.406e-7, 0.0550034344, 0.0571519881, 0.0064380202, 0.0388157517, 0.020935392, -0.0321971551, 0.0147144934, 0.0040919916, 0.0125614041, 0.007727772, -0.0275771488, 0.0191436298, 0.0208481513, -0.0236903485, 0.01049117, -0.0509909019, -0.029346101, 0.0740311593, -0.0689072758, -0.00832697, 0.0252554491, -0.000230709, -0.0142946616, -0.0235988908, -0.0348081999, -0.0036704582, 0.1030621082, -0.03159393, 0.0150399664, 0.0144568179, 0.0334205888, -0.0292177666, 0.0229503755, 0.0550164878, -0.021216549, 0.0358414985, -0.0124602234, -0.0141768269, -0.032102067, 0.0080532096, 0.0390475467, -0.0267601982, -0.0304732211, -0.0468219332, 0.031419225, -0.0651715547, -0.0652878731, -0.0213291291, -0.023130944, -0.002065859, 0.0552848019, -0.0190504659, -0.0142278988, -0.0270250477, 0.0160162915, 0.0074852579, -0.0083387801, -0.0238013119, -0.0304683167, 0.0526999049, -0.0506621674, 0.047316093, -0.0193250831, -0.0256883651, 0.0671027377, -0.0335457996, -0.0041643749, 1.56225851e-34, -0.065469861, 0.008232017, 0.0044569075, 0.0357823484, -0.0028441465, -0.0411580913, 0.0666301101, -0.0173224173, 0.0047147498, -0.0948124081, 0.0035158673 ]
http://arxiv.org/abs/2406.19874v1
http://arxiv.org/pdf/2406.19874v1
Detecting Subtle Differences between Human and Model Languages Using Spectrum of Relative Likelihood
2024-06-28T12:28:52
2024-06-28T12:28:52
Yang Xu, Yu Wang, Hao An, Zhichen Liu, Yongyuan Li
cs.CL
cs.CL, cs.AI, I.2.7
Human and model-generated texts can be distinguished by examining the magnitude of likelihood in language. However, it is becoming increasingly difficult as language model's capabilities of generating human-like texts keep evolving. This study provides a new perspective by using the relative likelihood values instead of absolute ones, and extracting useful features from the spectrum-view of likelihood for the human-model text detection task. We propose a detection procedure with two classification methods, supervised and heuristic-based, respectively, which results in competitive performances with previous zero-shot detection methods and a new state-of-the-art on short-text detection. Our method can also reveal subtle differences between human and model languages, which find theoretical roots in psycholinguistics studies. Our code is available at https://github.com/CLCS-SUSTech/FourierGPT
[ 0.0089886971, 0.0304053966, -0.0226568971, 0.0848494023, -0.0382104814, 0.0291393958, -0.0296310205, 0.0651126131, -0.0409299769, -0.0216819122, -0.0497284457, -0.0684811547, 0.0330335461, 0.0032824359, 0.0174753778, -0.0311275162, 0.0194667801, -0.0215852149, 0.0217299834, 0.0247853268, 0.0204413515, -0.0140764602, -0.0146050313, 0.0176584516, 0.0064133378, 0.0064115152, -0.0171151739, 0.0264373031, 0.0753937438, -0.0104678068, -0.013782585, 0.0466494784, -0.0093508903, 0.0856018737, 0.0000016339, -0.0464091152, 0.0184944272, -0.0396932401, 0.007480327, -0.0222199373, 0.0776061788, -0.0140631879, -0.0435909741, 0.0039972202, 0.0029580095, -0.0395907313, 0.0567122735, 0.0484052561, -0.0556681678, 0.0314101689, -0.0220103096, -0.0106323631, 0.0046107126, 0.0157988612, 0.0433951132, 0.0020731089, 0.0101650506, -0.0026748406, 0.0199686754, -0.0075556319, 0.0085499128, 0.0363223702, 0.0015559867, 0.0467436127, -0.017526798, 0.0567634441, -0.0084595252, -0.0306460764, 0.0031737436, 0.0461434089, -0.0446876846, -0.0883122161, 0.026847953, -0.0171174929, 0.0119878473, 0.0151784308, 0.0183628276, 0.0324772075, -0.0380265005, 0.040097408, 0.0481300056, 0.0226834733, -0.0107340207, -0.0022487508, 0.0054939031, 0.0370195769, 0.03902651, -0.033685986, -0.0142771769, -0.0175897479, -0.0412102714, -0.0192242432, 0.0315305553, 0.0006752759, 0.0122851878, -0.0160567593, -0.0731041655, -0.0534927659, 0.0256362986, -0.0635161102, 0.0272321198, 0.0281212255, -0.0516718924, 0.023823902, -0.072703734, 0.0548808649, 0.0040999302, -0.032469485, -0.0499402322, 0.0268460643, -0.032268133, -0.0001345165, -0.0208046455, -0.0436926149, -0.0425807238, -0.0404780693, -0.0249349568, -0.0027980567, 0.0536849387, -0.0024868783, -0.0382212289, -0.0387240462, -0.0389820933, 0.0141834971, 0.0501416028, -0.0229258873, -0.0202393867, 0.0077966959, -0.039100457, -0.0469251163, -0.0201799776, 0.0781674758, 0.0495580733, -0.0076380935, -0.0143002989, -0.009898968, -0.0130953817, -0.0554764345, -0.0221037697, -0.0166949742, -0.028061714, -0.0599597134, -0.0335354358, -0.0837642476, -0.0475215316, -0.0047726762, -0.0031210976, -0.0039406647, -0.0104646329, 0.0042198142, 0.0425556526, 0.0851533636, -0.0389550962, 0.0078275967, 0.0613091476, 0.0019799117, 0.0028945715, 0.0710359886, -0.0008177941, 0.0272213183, 0.0295447242, 0.0142100006, 0.0330459364, 0.0544493608, -0.0517278127, 0.0133582102, -0.0486487783, -0.0577749573, 0.0174950548, -0.0047815978, 0.0730998889, 0.0452731997, -0.0367174931, -0.031973172, 0.0419070274, 0.1088900268, 0.0143446038, 0.0143379746, 0.0563268811, 0.1026724949, 0.0196351446, 0.0663642287, 0.0146724163, -0.036223907, -0.0543028079, 0.0071858768, -0.0399211124, -0.0014992725, -0.0094889132, 0.0265395287, -0.0369750746, -0.0354919657, 0.0050197518, -0.0492607951, 0.0439754054, -0.0216159821, -0.0325471759, -0.0062884497, 0.0479292125, -0.0526629388, -0.010454474, -0.0642701164, 0.0271584857, 0.0176032037, -0.0098582897, -0.0316528305, 0.0717850104, 0.0219005644, -0.04558203, 0.0785302594, 0.015688153, 0.021670334, 0.0275642425, -0.0324176364, 0.0059741996, 0.0349623002, 0.0532130711, 0.0203862563, -0.0033092035, 0.0153820552, 0.0205517821, -0.0405043066, -0.0267145075, 0.0438807346, -0.0364221334, -0.0180768948, -0.0113082593, 0.0056789527, -0.0205811262, -0.0018937371, -0.0308134332, 0.0039401506, -0.0196702946, -0.0475034267, -0.0046550808, 0.0500218123, 0.0137550943, -0.0224160664, 0.046807643, -0.0220141914, -0.0032282153, 0.0228008479, 0.034424834, -0.0460668318, 0.0040782387, -0.0433469154, 0.0033276072, -0.0457398593, 0.0446347781, -0.045356147, 0.0464006215, -0.0296416469, 0.0612866059, 0.0305760838, 0.0303094666, 0.0288165472, -0.0547357202, 0.0604878627, -0.0643038824, 0.021871252, 0.0178446416, -0.0156811308, 0.0051140585, 0.0090618199, 0.0071554361, -0.0395789407, 0.0070751854, -0.0902279168, -0.013931822, -0.0175548997, 0.0155669749, 0.0527338684, -0.0455700085, -0.0414430797, -0.0080112377, -0.0065152384, 0.0059440499, -0.0014433736, -0.0380520038, 0.0132490061, -0.0470743068, -0.0608880371, -0.0338031054, 0.0088960929, -0.0066614812, 0.0278268717, 0.014353402, -0.0607179813, -0.0900929347, 0.0364079028, 0.0145132532, -0.0011174143, 0.0355944373, -0.0540031493, -0.0054806205, -0.0187360328, 0.069143571, 0.0465885215, 0.0110928575, 0.0183375198, 0.0259161256, 0.0186667908, -0.0018307219, -0.0314828008, 0.0099283205, 0.0468624495, -0.0360997543, -0.0599271432, 0.0095564015, 0.0533424951, 0.0397151485, 0.0307557955, -0.0437988713, 0.0109362938, -0.0486910082, -0.0516081937, -0.0138262268, 0.0261007268, -0.0429267734, 0.0336478353, -0.0099118147, -0.0254019108, 0.0523475036, -0.0566725507, 0.0141849788, -0.0593865663, -0.049176421, -0.0101144416, -0.0048031285, 0.0084435064, 0.0319831297, 0.0409432128, -0.0405421555, -0.0202045478, 0.0141741894, 0.0485506505, -0.0077831438, 0.0651660636, -0.0285502058, 0.0071058543, -0.0386084914, 0.0060323831, -0.029941516, -0.0388760641, -0.0460874103, -0.0005828744, -0.0128218066, -0.0677185357, -0.0069898874, 0.029458195, 0.0133663919, 0.0667498857, -0.014155061, -0.0138229784, -0.033283446, 0.0679861233, 0.0198859219, -0.0668812692, 0.0268217679, -0.0650482476, 0.0290593356, 0.0279623065, 0.0043908316, 0.0496791676, -0.0139205419, -0.0263069253, 0.0192262549, 0.0042955349, -0.0188999549, 0.0157686789, 0.0859101862, -0.0192853864, 0.0045250994, 0.1079162955, 0.013838199, -0.0394638963, 0.019585602, -0.0043154163, 0.0362737253, 0.0065269503, 0.0029251911, -0.0482926406, -0.0340007767, 0.0204894971, 0.0126106376, -0.0180530678, -0.0054322802, -0.0072295903, -0.0230613183, 0.0110383648, 0.0156950746, -0.0242438093, -0.0408958197, -0.0236421581, 0.0463435687, 0.0194174815, -0.0253245831, 0.0060257236, -0.036084827, -0.0066456147, -0.0108700814, 0.0152875101, -0.0312367044, 0.0061622062, -0.0393782258, 0.0116253765, 0.0205676872, 0.0458687395, -0.0219908208, -0.0201905798, -0.0019563907, -0.0628406927, -0.0113955019, 0.0064529348, 0.0285386704, 0.0516961589, -0.0031374509, -0.0098551782, 0.0393436812, -0.0363493338, -0.035402935, 0.0020554601, 0.0307728313, -0.0092433197, -0.0622122437, -0.0002010415, 0.0103012584, 0.0120921917, 0.0730095208, 0.0788887292, -0.0368018076, -0.0319917984, -0.0083589368, 0.0287159756, -0.0012134378, -0.078121312, -0.0449713096, 0.0338157304, -0.0618162602, -0.0465168878, -0.0019554032, -0.0094457706, 0.0322825387, -0.006958989, 0.0058273142, 0.0097270971, -0.0186887756, -0.0260060281, -0.0005952466, -0.0470769741, 0.0140980147, -0.0736952126, -0.020073669, 0.0127032185, -0.0589110404, -0.0123156728, -0.0323932655, -0.1461818814, -0.0365704, 0.0149387391, -0.0770133808, 0.0278360359, -0.008076692, -0.0391010977, -0.0716557354, 0.0077845776, 0.039589636, -0.0149915935, 0.0547394268, 0.0144167887, -0.0250092018, -0.0266221855, 0.0320592672, 0.0272618495, 0.0674203783, 0.0307953488, -0.0285569821, 0.0001064602, -0.0271547679, 0.0466622002, 0.0013760402, 0.0443199836, -0.0341423228, -0.0774998218, -0.0290537011, -0.0607889481, 0.0245295633, 0.0219566319, -0.008710742, -0.0314359069, 0.0246744361, 0.0264455732, -0.0051372242, -0.010362071, -0.0146961603, 0.0333022326, -0.0323967785, 0.0237344727, 0.0039818408, 0.0169540904, 0.0082713673, -0.01215191, 0.0059642652, 0.0646975711, -0.0160023347, 0.0515032485, 0.0049617165, 0.0707804337, 0.0043281857, -0.041560825, 0.0077338, 0.020559743, -0.0500588901, -0.0346254446, -0.0351688676, 0.0322785191, 0.0699894652, -0.0038985417, 0.0414927788, -0.0519707352, 0.0078250812, -0.0460353866, 0.0350599661, -0.0263996888, 0.0175580326, 0.0115504526, 0.0221377593, -0.0240976997, -0.0169111099, 0.0747639537, 0.0270427521, 0.0047885282, 0.0119385011, -0.009884242, -0.0206717402, 0.0004030802, -0.0262800623, -0.0194958877, -0.0378220715, 0.0694445893, -0.0495646223, -0.0583564751, 0.0231879633, -0.0133926095, 0.0151047045, 0.0013508856, -0.0030502824, 0.0219714958, -0.0180481896, 0.0080874003, -0.0307090692, -0.0092423614, 0.0498496965, 0.0003542031, -0.0338735059, -5.735993295e-33, -0.0060410206, -0.028206544, -0.061160624, -0.010245611, 0.0230562612, 0.0162831787, -0.0282196961, 0.0315593518, -0.0080039147, 0.0295569524, 0.0353674702, 0.0492094345, 0.0398223288, -0.0136057595, -0.0126805929, -0.0211615823, 0.0502582528, -0.0135912076, -0.0188316833, -0.0236475728, 0.0076209139, -0.0001944907, 0.0642501414, -0.0329542868, -0.0132055972, -0.0286060255, -0.0032492108, 0.0121967932, 0.0011491979, 0.0702891126, -0.0479851626, 0.0506401248, 0.0335280783, 0.0377690829, -0.0425708033, 0.0047004553, -0.0343450867, -0.0133771384, -0.0050771087, 0.0349574871, 0.0033095432, -0.0178338811, 0.011128366, -0.0376509503, -0.0409111679, 0.0125329047, 0.0352908932, -0.0444053598, 0.0213659164, 0.0099789593, -0.0940486565, 0.060940329, 0.0117525058, 0.0159463659, 0.1056585461, 0.0589786284, -0.035436172, -0.0162673909, -0.0699332878, 0.0228234176, 0.0035174144, 0.0417067036, -0.0020978625, 0.0478718132, -0.0104482928, 0.0522768274, 0.0789022073, -0.014102459, 0.0295552798, -0.0480500236, 0.0599902235, -0.0117479702, 0.0196389332, 0.0446630269, 0.0805714503, -0.0133299176, 0.0075253332, -0.0267460942, 0.0376889445, -0.0205238368, 0.0341158696, 0.0301798712, -0.0772878304, -0.024261795, -0.0101871816, -0.0648079962, -0.0489773266, 0.0137973931, 0.023094561, -0.001767157, 0.0017081425, -0.0430789143, 0.0549079627, -0.023415627, -0.0033132483, -0.0349210054, -0.0179842282, 0.0421910733, 0.0141516477, 0.0186891649, -0.0378474444, -0.0447069257, 0.0536578484, 0.0536698103, 0.0326387212, -0.0109164873, 0.0203596447, 0.0127233146, -0.0434437506, 0.0142225847, 0.0004090317, -0.0337419398, 0.0223162193, 0.0472948849, 0.0258385669, -0.0132558495, -0.0011024515, 0.051765129, 0.0246505458, -0.0358989835, -0.0248940494, -0.000100369, -0.0222654045, 0.0296227243, -0.0223832186, 0.0082169287, -0.0280228369, -0.0035767993, 0.0633223727, -0.0356310457, 0.0036735486, 0.0017011649, 2.494e-7, 0.0242653582, -0.0124484282, 0.0250923093, -0.0044359337, 0.035518337, 0.0703555718, -0.01383169, -0.0209010728, 0.0107561406, 0.007751212, -0.0212177634, 0.0222829506, 0.0782241374, -0.0027729007, -0.0502992012, 0.0146402661, -0.0081318067, -0.005577418, -0.060158547, 0.0064585209, 0.078539744, 0.069499068, -0.0134481974, -0.0081701642, 0.0504521653, -0.010770035, 0.0363803208, -0.0338872336, 0.0259250477, 0.0097193709, 0.0042843348, -0.0034403792, 0.0289889332, 0.0379797593, -0.0148138022, -0.0062564984, 0.0184499361, 0.0468140803, 0.0026912808, 0.0627756044, 0.0110494653, 0.0180330481, 0.0071180495, -0.0468113087, 0.039835304, -0.0151218614, -0.0335186347, -0.0310779195, 0.016323708, -0.0107209552, -0.0184081458, -0.0070771202, -0.0496816821, 0.0267413352, 0.0174269434, 0.0067793783, -0.0527038127, -0.052675847, -0.0409132577, -0.0122935111, -0.0480886661, 0.0220170636, -0.0308550131, -0.0303798467, 0.0301391948, -0.0011262792, 0.0328610875, 2.530347099e-34, 0.0164668746, 0.041707363, -0.0130407987, 0.031162601, 0.0122886375, 0.0025370014, 0.0182786286, 0.0183455963, -0.0028990072, -0.0348292664, 0.0131165516 ]
http://arxiv.org/abs/2406.19853v1
http://arxiv.org/pdf/2406.19853v1
YuLan: An Open-source Large Language Model
2024-06-28T11:52:53
2024-06-28T11:52:53
Yutao Zhu, Kun Zhou, Kelong Mao, Wentong Chen, Yiding Sun, Zhipeng Chen, Qian Cao, Yihan Wu, Yushuo Chen, Feng Wang, Lei Zhang, Junyi Li, Xiaolei Wang, Lei Wang, Beichen Zhang, Zican Dong, Xiaoxue Cheng, Yuhan Chen, Xinyu Tang, Yupeng Hou, Qiangqiang Ren, Xincheng Pang, Shufang Xie, Wayne Xin Zhao, Zhicheng Dou, Jiaxin Mao, Yankai Lin, Ruihua Song, Jun Xu, Xu Chen, Rui Yan, Zhewei Wei, Di Hu, Wenbing Huang, Ze-Feng Gao, Yueguo Chen, Weizheng Lu, Ji-Rong Wen
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have become the foundation of many applications, leveraging their extensive capabilities in processing and understanding natural language. While many open-source LLMs have been released with technical reports, the lack of training details hinders further research and development. This paper presents the development of YuLan, a series of open-source LLMs with $12$ billion parameters. The base model of YuLan is pre-trained on approximately $1.7$T tokens derived from a diverse corpus, including massive English, Chinese, and multilingual texts. We design a three-stage pre-training method to enhance YuLan's overall capabilities. Subsequent phases of training incorporate instruction-tuning and human alignment, employing a substantial volume of high-quality synthesized data. To facilitate the learning of complex and long-tail knowledge, we devise a curriculum-learning framework throughout across these stages, which helps LLMs learn knowledge in an easy-to-hard manner. YuLan's training is finished on Jan, 2024 and has achieved performance on par with state-of-the-art LLMs across various English and Chinese benchmarks. This paper outlines a comprehensive technical roadmap for developing LLMs from scratch. Our model and codes are available at https://github.com/RUC-GSAI/YuLan-Chat.
[ 0.0389467217, 0.0532505326, -0.0009495845, 0.0396323502, -0.0183349885, 0.0287931617, -0.0055852016, -0.0402928703, 0.0206294153, -0.0418636389, -0.0632735118, -0.0232132506, -0.0020994125, 0.0105364798, 0.019499179, -0.0493440889, 0.0625193641, -0.0108080562, 0.0088558458, -0.0071443934, 0.0233020522, 0.0268628746, 0.0040094373, 0.0408158712, -0.0198722407, -0.0506358184, -0.0156378057, 0.0007621702, 0.0090782912, 0.0092127537, 0.0353826955, 0.0426111929, 0.0215894468, 0.0509808846, 0.0000020323, -0.0586254001, -0.0344677381, -0.02889961, -0.0246319529, 0.0475646183, 0.0709486231, -0.0019174046, -0.0180653352, 0.0418016277, -0.0332982913, -0.0098033231, 0.0239638779, 0.0599701889, 0.0738707706, 0.0882177949, 0.0076981387, -0.0450587012, 0.0291200802, -0.0204904694, -0.0421563014, -0.0380693525, 0.0442445613, 0.0063311704, 0.0044458359, 0.0116766598, -0.0155823519, 0.0095929923, 0.0338205472, 0.0210036412, 0.0073496383, 0.0313096903, -0.0494694486, -0.0167675186, -0.0198949203, 0.0936786756, -0.0335880518, -0.0354470126, -0.0046040122, 0.0168687701, -0.0095370021, -0.0512361228, -0.0449207164, 0.022397507, 0.0296556074, 0.0250772852, 0.0249137189, -0.0437087752, 0.0264251512, 0.033370316, -0.0297689792, 0.0099218823, 0.0127734728, -0.0458237901, -0.0085664783, -0.0164216626, -0.027082352, -0.0376770124, 0.0133006703, 0.031119192, -0.0260695182, 0.0205666106, -0.0297147054, -0.0334441289, 0.0334886387, -0.0460329577, -0.0160419382, -0.0046043447, -0.0294020232, 0.0644104183, -0.0117523931, 0.0433405302, -0.0050789956, 0.034633141, -0.0564005077, -0.0285046138, -0.0467917062, -0.0109097296, -0.0403459482, 0.0153352553, -0.0040650074, -0.0397096202, -0.037446443, 0.0076039629, 0.0024639412, 0.0213703308, 0.0297024213, -0.014944125, -0.0152026853, -0.0287750904, -0.0152055547, 0.0430527441, -0.012035544, 0.0101790698, -0.0337863043, -0.0430905931, -0.0085855331, 0.0276427362, 0.0061151125, -0.0157478154, 0.0157558024, 0.0479500517, -0.0023024909, -0.0282693841, -0.0397418737, -0.0019640042, -0.0135774752, -0.0590162203, -0.0265290719, -0.0873155519, 0.0081239128, -0.014557803, 0.0203795526, -0.0250833072, 0.0159635097, 0.0181865301, -0.031609375, 0.0530049428, -0.0226698481, 0.0094701611, -0.0133550847, -0.0059633628, 0.012833355, 0.0526814684, 0.029146919, 0.0100078611, 0.0643688217, -0.002855337, -0.0273913741, 0.062967442, 0.0024843982, -0.0137611572, -0.0062428322, 0.0234340895, 0.045067668, 0.0328882225, 0.0226004776, 0.0522217527, -0.0096982, -0.0100897979, 0.0714291185, 0.0341747552, 0.0018336489, 0.0229930263, 0.0406002998, 0.0505350195, 0.018213477, -0.0282679126, -0.0472390242, -0.0027265479, -0.0035415248, -0.004388913, 0.0261852909, 0.0407113284, -0.049037464, -0.0424217694, -0.0180663075, -0.0298628639, -0.0185386725, 0.0009515995, 0.0484521873, -0.0196199957, -0.0282339901, 0.0255828444, 0.0720654428, -0.0162389353, 0.037429858, -0.0025751134, 0.058709614, 0.1016083062, 0.036088001, -0.0283862427, -0.0291610323, -0.0211873893, 0.0204360038, 0.0513976887, 0.0448732749, -0.0341076739, -0.0263614301, -0.0801390409, -0.0043585873, -0.006759787, 0.0068114363, 0.0218938701, 0.0407024473, 0.0148705859, 0.0055875811, -0.0215325244, -0.0345607474, 0.0444833264, -0.04792035, -0.0449318588, -0.0175177902, 0.0095272344, 0.030454658, 0.0137698399, -0.0230018739, 0.0094623603, 0.0269641355, -0.0150970528, -0.0195160471, 0.0085653486, -0.0560986176, -0.0436711572, 0.0663311854, -0.0054092272, -0.0473384336, 0.0553037785, -0.0702555403, -0.037092369, 0.0143718775, 0.0205574334, 0.0299158543, -0.0591726676, 0.0266085546, 0.0080404961, 0.009400255, -0.021325022, 0.0533356667, 0.0178415738, 0.007258161, -0.0014025841, 0.014898384, 0.0138362171, -0.0425926149, -0.0440830514, -0.0159191862, -0.0224989597, 0.0292133689, 0.0149612566, 0.0431506522, -0.0466458648, -0.0252621826, -0.1167905778, 0.0435291268, -0.0378366038, -0.010358532, 0.0238816161, -0.0058578644, -0.0267461166, 0.0076119541, -0.0320023932, 0.0005633929, -0.0092497421, -0.0088593392, 0.0202866104, -0.0267331712, -0.0100282151, -0.0294283908, 0.0035936434, -0.0204062779, 0.015498573, -0.0162670631, 0.0138287582, -0.0103619751, -0.0186264683, -0.0029452478, 0.0276576653, -0.0034264035, -0.048145134, -0.0306827631, -0.0254389998, 0.0725388303, 0.0392514989, 0.0120303901, 0.0221884735, 0.0128599359, -0.0011658049, -0.0555565171, 0.0247001145, -0.0192659572, -0.0534830242, -0.0437958352, 0.0000537927, -0.0164013244, 0.0912768021, -0.005923009, -0.0217761323, -0.076606527, -0.0095078265, -0.0267399456, -0.0091693951, -0.0369062796, 0.0311078373, -0.0282585062, -0.034382496, -0.0471243002, -0.0221581701, 0.0480480269, -0.0384844318, 0.0099862739, -0.0661962852, -0.0186790451, -0.0448214449, 0.0421289951, 0.001572315, -0.0025845389, 0.0260726176, -0.0176720954, -0.0486434773, 0.0283670891, -0.0173956919, -0.0256421976, 0.0323484913, -0.0301554799, 0.007034163, -0.0056536882, -0.0218191296, -0.0396521986, -0.031092152, -0.0374863409, 0.0339954495, 0.0183636453, -0.0048886216, -0.0247495882, -0.0152534433, 0.0027053808, 0.0365500003, -0.0135311577, 0.0285929386, -0.0392402411, 0.0015873763, 0.0577118285, 0.0009757021, 0.0147416219, -0.0348718688, 0.0456302427, 0.0536443628, 0.0514541976, 0.0045936583, -0.0009129682, -0.0042300406, 0.0142245796, -0.0597179234, 0.0152978478, 0.0125284623, 0.035394188, -0.0358000174, -0.0067224763, 0.1577532738, 0.0197735522, -0.0483858921, 0.0049293186, 0.0071433401, 0.0244073048, 0.0248055551, 0.0035475157, -0.0926220044, -0.0301740076, 0.002151167, -0.0035378556, 0.0229367074, -0.0233405251, 0.0022208444, -0.1393541247, 0.0236820802, 0.0036622656, -0.0132874288, -0.0173282456, -0.0371394828, -0.0220371801, -0.0369810089, 0.0381157324, 0.0202483665, -0.0340843499, -0.0204101373, 0.0291489419, -0.0088692931, -0.0592212081, 0.0785318539, -0.0629143417, 0.053261295, 0.0315612927, 0.0331762955, -0.0088010989, 0.0042696791, 0.0044284072, -0.0041066338, -0.0344261415, -0.0127244256, 0.017109191, -0.0270290263, -0.0127209676, -0.0286565106, 0.0639865771, -0.0448225997, -0.0087444717, 0.0263856016, 0.0831301734, 0.0267442539, -0.00724995, -0.0061047119, 0.0100520961, -0.0076735965, 0.1126277894, -0.0027459867, -0.0628063753, -0.030396102, 0.0170851648, -0.0473852791, -0.0279453117, -0.0217493307, 0.0430376455, -0.0353114717, -0.0112099191, -0.0878626108, -0.0315757357, 0.0391469225, 0.0005157366, 0.0218302179, 0.0147648305, 0.0352481343, 0.0070570987, -0.0439229608, 0.0591796488, -0.0498601086, 0.0226682741, -0.0769470558, -0.0212985296, 0.0183079261, -0.0229034312, -0.0120170405, 0.0176453106, -0.0816545188, -0.0693935528, -0.0250524972, 0.0310374331, 0.0065506897, 0.0599131137, -0.0255925059, -0.0219258722, 0.0456215218, -0.0049529183, -0.0403391123, -0.0089870756, 0.0194380172, 0.0021823812, 0.0057624588, 0.0327189639, -0.0357341096, 0.0097037619, 0.0178653914, 0.040331047, -0.023942614, 0.0121931443, 0.0344780162, 0.0024393098, 0.0470744073, 0.0052581313, -0.0022464362, -0.069084838, 0.0209558513, -0.0241028573, -0.0401811264, -0.0278006941, -0.015364252, 0.055941958, -0.0049778298, -0.0314445943, 0.0185761545, 0.0219666287, 0.0189581588, -0.0200284626, -0.0066576749, -0.0108121391, -0.0037369691, 0.0301444549, -0.0090763532, -0.0307178367, 0.0119022401, -0.0116968174, 0.021179568, -0.0364614278, 0.058992561, -0.0017509597, 0.0065818103, 0.0151947364, 0.0063311718, -0.0303584822, -0.0420111828, -0.0070792907, 0.0585513487, 0.0817574412, -0.0369956419, 0.0408144481, -0.0504294746, -0.0028639522, -0.0543296821, 0.0264278613, -0.0309039485, -0.0220371298, 0.0263753571, 0.0192515571, -0.04515066, -0.0072208843, 0.0867107585, 0.0272797141, 0.0501677543, 0.0284045227, 0.0077498583, -0.0249852482, -0.0244585834, 0.047370173, 0.0154604595, -0.0479894429, 0.048325412, -0.0238860846, -0.0594082624, 0.0022252381, 0.0124371629, -0.010196032, 0.0044348137, 0.0400561132, 0.067720823, -0.0237147864, -0.0073622456, -0.0486921035, 0.0088168476, 0.0044085509, -0.0352686159, 0.0059172991, -6.78514588e-33, -0.0187355969, 0.028522782, 0.0464724563, 0.0025403257, -0.0117994379, -0.0097223548, 0.011067491, -0.0075992052, -0.0420259461, 0.0140179265, 0.0009926663, 0.0084557086, 0.0123476563, 0.0467612781, 0.0222245883, 0.0094014667, 0.0369924195, -0.0043258253, 0.0220477115, 0.0242769662, 0.0458755232, 0.0492250435, 0.0569683276, -0.0346546508, -0.0086092791, -0.0237243064, 0.0235283095, 0.0539335012, -0.002983507, 0.0528073646, -0.0286237895, 0.0398349501, 0.0288408976, -0.0175606385, -0.0083347932, 0.03015575, -0.1113799587, -0.0077626691, 0.047350049, 0.0339022055, 0.0172697455, -0.0417410061, 0.0056446777, -0.0199147724, 0.0124417376, -0.0009730498, 0.0529842302, -0.0100771915, 0.0117229605, -0.0065073376, -0.0602017455, 0.0330914669, -0.0233426299, -0.0370762795, -0.0195743609, 0.034689188, 0.0118049588, 0.0328703597, -0.063271299, 0.0080219656, 0.011668155, 0.0398010798, 0.0490381867, 0.0078751612, 0.0269573219, 0.0551386997, -0.0390119441, -0.0075318315, -0.0299457125, 0.0083754389, 0.0469135754, 0.0667418391, 0.002306253, 0.0400729477, -0.009161504, -0.0113666579, -0.0967733413, 0.0064187408, 0.0532038249, 0.0711181983, 0.0069122682, 0.0033235718, -0.0164835416, 0.0021160159, -0.0259815138, 0.0010013109, -0.0344560705, -0.0116361063, 0.0277594253, 0.0291501433, -0.0154849989, -0.0228806566, 0.0274392888, -0.0509373434, -0.0136967571, 0.0380768962, 0.0062605077, -0.0116810221, -0.0232290924, 0.0712436959, -0.114021562, -0.056065619, 0.0022567022, -0.0499897487, -0.0141461212, 0.0272814743, 0.0687507242, 0.0092774676, -0.0427554883, -0.00039059, -0.0112874079, 0.0022169002, -0.002794873, 0.01341685, 0.0306717809, 0.0387032293, 0.0044597792, 0.0359662212, 0.035531003, 0.0068246461, -0.0223542117, -0.0564430617, -0.0103428178, -0.0043312353, -0.0175640713, 0.0059574307, -0.0583235621, -0.0250236597, 0.012128938, -0.0687920228, -0.0068684435, 0.0044714813, 2.639e-7, 0.0150279803, 0.044524435, 0.0292619448, 0.0306995176, 0.0282134507, 0.0188390762, -0.0448376276, 0.0619719923, -0.0067170449, -0.0006622834, 0.0144529538, 0.049996078, 0.0654670149, -0.0076242262, -0.1083981171, -0.0071473648, -0.0542137139, 0.0000260533, -0.0720028207, 0.002741822, 0.0435180105, 0.1286685765, 0.0206206832, 0.0062494408, -0.0003541131, -0.0356924497, 0.066974327, -0.0155845201, -0.0354967378, 0.0532179065, 0.0137037728, 0.0350946672, -0.0117419967, -0.0100837806, -0.000826893, 0.0419033356, 0.0039820108, 0.1163434833, 0.0132191628, -0.0114205312, 0.0133200828, -0.0269669164, -0.0398116745, -0.0776219219, 0.074505426, -0.050117135, -0.0352568664, -0.0458621047, -0.0039321505, -0.0135751944, 0.0110022314, -0.0179428067, -0.0212427564, 0.0366859846, 0.0268643182, -0.0174591932, -0.0306994133, -0.0825543478, -0.0185627751, 0.0235672034, -0.054066442, -0.040395245, -0.0057393508, -0.0140273254, 0.0176526215, -0.0367231444, 0.0274141971, 2.322676048e-34, 0.0423650704, -0.0138953347, 0.0036773526, 0.0190282147, 0.0304050613, -0.03415557, -0.0039495439, 0.0319641083, 0.0031501397, -0.0880296752, -0.0126732253 ]
http://arxiv.org/abs/2406.19840v1
http://arxiv.org/pdf/2406.19840v1
AnomaLLMy -- Detecting anomalous tokens in black-box LLMs through low-confidence single-token predictions
2024-06-28T11:28:44
2024-06-28T11:28:44
Waligóra Witold
cs.CL
cs.CL, cs.AI
This paper introduces AnomaLLMy, a novel technique for the automatic detection of anomalous tokens in black-box Large Language Models (LLMs) with API-only access. Utilizing low-confidence single-token predictions as a cost-effective indicator, AnomaLLMy identifies irregularities in model behavior, addressing the issue of anomalous tokens degrading the quality and reliability of models. Validated on the cl100k_base dataset, the token set of GPT-4, AnomaLLMy detected 413 major and 65 minor anomalies, demonstrating the method's efficiency with just \$24.39 spent in API credits. The insights from this research are expected to be beneficial for enhancing the robustness of and accuracy of LLMs, particularly in the development and assessment of tokenizers.
[ 0.0592544228, 0.0608728342, -0.0202172082, 0.0702891722, -0.0417725518, -0.0103841592, 0.0157614946, 0.0315091014, 0.0016002898, -0.0295658521, 0.0214962494, -0.0502871126, 0.0013319053, 0.0647372752, 0.032083299, 0.0253975857, 0.0847343132, -0.0428964049, 0.0279968772, -0.0100377472, -0.028594235, 0.0004273259, 0.0326046571, 0.0596780367, -0.0064848494, -0.0194420628, 0.0025005962, -0.0017929549, -0.035069745, -0.038234178, -0.0183127746, 0.0396704525, -0.0346033126, 0.1134508848, 0.0000018589, -0.0801845938, -0.0464498512, 0.005935662, -0.0201219823, 0.0409916043, 0.0099655464, 0.0112976534, -0.0137028173, 0.0149523299, -0.0135340365, -0.0008031955, 0.029079821, 0.0123366024, 0.01683392, 0.0575632006, -0.0048320792, 0.0338582359, 0.0130476961, 0.0031609018, -0.0222226139, 0.0151783898, 0.0384410769, -0.048750177, -0.0084945569, 0.0012546533, -0.0208896603, -0.0171211753, 0.0151196402, -0.0327589437, -0.0224738158, 0.0052925693, -0.071651347, -0.0529349744, 0.0117201069, 0.006590846, -0.0050673941, -0.0212091878, 0.0187162329, 0.0016010259, 0.0182841215, -0.0059635136, -0.0343098119, 0.0387980491, 0.0017760802, 0.0191277228, 0.0619713664, -0.04892141, 0.0350687392, -0.0059810062, -0.0322407782, 0.1103726625, 0.0228643399, -0.0318198018, -0.0389031284, -0.0074129924, -0.0420002341, -0.0561131276, 0.0002614867, 0.0193616673, -0.0547231734, 0.0075775962, -0.0069020004, -0.0299960468, 0.0568432175, -0.0258904845, -0.0251563862, 0.0187804997, -0.0691827983, 0.0398792326, -0.0265291426, 0.0656278804, 0.017122481, 0.0479354002, 0.0118953362, 0.0077794315, 0.0205222685, -0.0213228203, -0.0385571942, 0.0551038645, -0.018388385, -0.0014821844, -0.0353688896, 0.0235350486, 0.0050087771, 0.0393453799, -0.0139171612, -0.0226214081, 0.0085184854, -0.0160648581, 0.00731315, -0.0347937196, 0.0147787621, -0.0074997232, -0.0327746123, -0.0794331804, -0.0260340814, 0.0301603004, -0.0218876209, -0.0272034071, 0.013593141, 0.0898878127, 0.0330374949, -0.0019820083, -0.0379123613, -0.0500985608, -0.0323490538, -0.0185742564, -0.0229644738, -0.0596494637, -0.0548776537, 0.0235300604, 0.0118474336, -0.0054357019, 0.0012857319, -0.0330980085, -0.0373216309, 0.0282262359, -0.0496697202, 0.0163574796, -0.0267710444, -0.0042430749, -0.0053579705, 0.0860506743, -0.004037214, 0.0173130073, 0.0800484195, -0.0152645977, 0.0313886181, 0.0551554263, 0.0052259481, 0.0348778032, -0.035112448, -0.0044862526, 0.0254950412, 0.0088450322, 0.022664452, 0.0474133082, 0.0054735239, -0.0074425503, 0.0236308854, 0.0654505938, -0.0577804819, 0.0072485916, 0.0155659663, -0.0433865041, -0.0200183094, -0.0020559567, -0.048763521, -0.0260621589, -0.0120749632, 0.002663594, 0.0270067751, 0.0452431254, 0.0154307904, -0.04272696, -0.0534743555, -0.0092182718, -0.0429784395, -0.0361472517, 0.0679782331, -0.038663689, -0.03252903, 0.0359318554, 0.0192077234, -0.0299769677, 0.0104974937, -0.0842631683, 0.0665423125, 0.0380313881, 0.0725246891, -0.0364012495, -0.0055778469, -0.0119202472, -0.0267088581, 0.0614017136, -0.001362908, 0.0063067419, 0.016321307, -0.0153225455, -0.0115438662, 0.0033314324, 0.0529706404, 0.0152470563, 0.0021870018, 0.0372385792, 0.0047269184, -0.0826528296, -0.041334115, 0.0387978926, 0.0021243975, -0.0241648369, 0.0028057147, -0.0003976358, 0.03259198, 0.0269763321, 0.0053957449, 0.0147384387, 0.0305449534, -0.020332789, -0.0131985284, 0.0292732213, -0.0139940158, 0.0392040648, 0.0844719708, 0.0038217143, -0.0097576566, 0.0455529392, -0.0237843581, -0.0527344421, 0.0346492268, -0.0188856907, 0.0915926173, -0.0298562329, 0.07317774, -0.0335423909, 0.0514168479, -0.0064746919, -0.0013750715, -0.0214875303, 0.0632807016, 0.0066566723, -0.0052633532, 0.0406918265, -0.0074923122, -0.0595418066, 0.0266933292, -0.0302095842, 0.0096135521, 0.0091042686, 0.0122597516, -0.0294287633, -0.00576689, -0.0628709644, -0.0205622595, -0.0292441305, 0.0295169298, 0.0283540804, 0.0067182006, -0.0438578278, -0.0065880478, 0.0249870922, -0.0572915971, 0.0214379374, 0.0272606481, 0.0448210798, -0.0110508725, -0.0540284365, -0.0220400207, 0.003686964, -0.0307176393, 0.0539573207, 0.0180577151, -0.0070741046, -0.0803239271, 0.0202564579, -0.0039043401, 0.0074408613, -0.0010782121, -0.0737420991, 0.000669641, -0.0380586535, -0.0073767123, 0.0327808931, -0.0089568468, 0.0159350485, 0.0368338712, -0.027811585, -0.0602530725, -0.0288247913, 0.0181446001, -0.0219944417, -0.0123128388, -0.0343240425, 0.0376469903, 0.0410544835, -0.0092515387, -0.0354597159, -0.0248880424, 0.0066321581, -0.0355087966, -0.0119667696, 0.0299916677, -0.0299992468, -0.0477919616, 0.0430066548, 0.0190168936, -0.0674336255, 0.0342094973, -0.0670004338, -0.0118796276, -0.0160207264, -0.0093858819, -0.0391935632, 0.0289925523, 0.010851549, 0.0141886706, 0.0025864199, -0.0894628614, 0.0066213133, 0.0096336156, -0.006161462, -0.0169343539, 0.0424043499, -0.021024758, 0.009995996, -0.0064073806, 0.0060004559, -0.0287963655, -0.0213198718, -0.0412699208, -0.0204402842, 0.0248314962, -0.0543453246, -0.0229930263, 0.0468621738, -0.0381156243, 0.0563615747, -0.0181469359, 0.0067311195, -0.0164224077, -0.0115641728, 0.0150469542, -0.0481837243, 0.0335132591, -0.0388193056, 0.0193458963, 0.0337434374, 0.0183997564, 0.0078020273, -0.0232392661, -0.0383289196, 0.0265575256, -0.0301989969, -0.0189494826, 0.0184546616, 0.0154118277, -0.0525438674, -0.0421777777, 0.1352071017, 0.0292927772, -0.0422294959, 0.0205655973, -0.0605342537, 0.0517082475, 0.0189041868, -0.0037879113, -0.088597849, -0.0003094729, 0.0333006084, 0.0406745709, -0.032900665, -0.0285003297, 0.0097649265, -0.1288970709, 0.036942102, 0.0230600294, -0.0663120076, -0.0256142206, -0.0359249525, 0.0050901333, -0.0348529629, 0.0864081457, 0.0245471075, 0.0085420068, 0.0205087513, 0.0193706769, -0.1013904288, -0.0393283293, 0.017112162, -0.0310807396, 0.0712975934, 0.0132311108, -0.0103628673, -0.0660645738, 0.0182605013, 0.058585614, 0.0561345257, -0.008981728, -0.0219368748, 0.0233014524, 0.0405723192, -0.0146873482, 0.0135057839, -0.0038003593, -0.0775317028, -0.0018911597, 0.0085809771, 0.084799841, -0.0240299441, -0.0257554632, -0.0179002285, -0.0281079412, -0.0043539698, 0.0595555902, 0.0192586109, -0.0319782235, -0.0472142808, -0.0187418964, -0.0133209899, -0.0310663301, 0.0394014157, 0.0051443046, 0.0115519073, -0.0439341888, -0.0576468334, 0.0011620839, 0.0137477405, 0.0304779913, 0.0244546048, 0.046360787, -0.0472907685, -0.0183893237, -0.0005445906, 0.0005764584, -0.0103084669, 0.026274208, -0.1036458686, 0.0508465208, 0.018525552, 0.0270333011, -0.0289586186, 0.0200495366, -0.0748886988, -0.0866783112, 0.0335169062, 0.0175128952, 0.0302432664, 0.0311856717, -0.0217613894, -0.0216968432, 0.0368769094, 0.0722942725, -0.0167849101, 0.016907461, 0.0067853201, -0.0164222382, 0.0100128576, 0.0120329978, -0.0244588628, -0.0358422957, 0.0146630257, 0.011104865, -0.0354204811, 0.0172644537, -0.0033609343, 0.0661952719, 0.0506286137, -0.0376772881, 0.0066125896, -0.0142586958, 0.0330637619, -0.030957412, 0.0056872517, -0.0184775498, 0.0455845743, -0.0098075951, -0.0132121472, -0.0066634747, -0.0399262086, -0.0460052192, 0.0398680717, -0.0056487662, 0.0171963833, -0.0050674723, 0.0201534033, 0.0682178438, -0.0237135459, 0.0247422047, -0.0197313894, 0.0051765577, 0.0536133572, -0.0113358302, 0.0056595947, 0.0039213402, 0.0106607033, 0.0206772164, 0.02756829, -0.0301957242, -0.0237989631, -0.0216081496, 0.0284496844, 0.0472236313, -0.0073475679, 0.0407900959, -0.0369823314, 0.0051550316, -0.0118543133, 0.0229260046, 0.0104039768, 0.0122680441, 0.0036609364, 0.0078190323, -0.0615511946, 0.0212414041, 0.0648856834, 0.0118933665, 0.0479163192, 0.0142548718, -0.0151073756, -0.0093195904, 0.0027977224, 0.0374418162, 0.0013988748, -0.0475694239, -0.035798531, -0.0519507714, -0.066708371, -0.0039002676, 0.0228132457, -0.0125660403, 0.0076683671, -0.04743338, 0.1015682146, 0.0230609048, -0.015877841, -0.0366083086, -0.0203865841, 0.0220978484, -0.0323597081, -0.000755609, -5.924999195e-33, -0.0096717225, -0.0765672475, -0.0445146672, -0.0265859347, 0.0077010854, -0.013924065, -0.0089720525, -0.0114220083, 0.0246264096, -0.001060694, -0.0066580744, 0.0157315973, 0.0218803305, -0.0074228477, 0.0545934625, 0.0223430023, 0.0364979766, 0.0408333316, -0.0161389261, 0.0053526689, 0.0588617474, 0.0176685695, 0.0741675943, -0.0346975215, 0.0472411178, -0.0094814636, -0.0184874106, 0.0412422828, -0.013668431, 0.0496958718, 0.0176953431, 0.0344126001, 0.0018167435, 0.0075139147, -0.0174287278, -0.0624951124, -0.0004009985, -0.0189428199, 0.0446187519, 0.0407513864, 0.0398088805, -0.0388588309, 0.0501305982, 0.0016526233, -0.0132436324, 0.0213329121, 0.0142895132, -0.0180737432, -0.0221643839, 0.0343656689, -0.025478797, 0.0193034057, -0.0336253606, 0.0732386485, 0.0154112699, -0.0197190791, 0.0203397926, -0.0043739853, -0.0143577494, 0.020307038, 0.0604942702, 0.0201782547, 0.0581849813, 0.0251637232, -0.0091950307, 0.0486281738, 0.0303787235, -0.0007433328, 0.0130718956, 0.0216500033, 0.0383315869, 0.0245663095, 0.023383582, 0.0266585052, 0.0256548356, -0.0303847305, -0.0471934043, 0.0222397279, -0.0010849375, 0.0245616399, 0.0528256446, -0.0105400551, -0.0456695482, -0.0195189174, 0.0060194838, -0.038056612, -0.0217734035, -0.031343542, 0.0101776291, -0.0224991534, -0.0208825376, -0.0376289859, 0.0184573848, -0.0632666275, -0.0393557064, -0.0157127474, -0.0197467059, -0.0071094842, -0.0105375051, 0.0345117301, 0.0107503524, -0.0222435743, -0.0028409625, -0.0119660357, 0.0429469049, 0.0085506262, 0.0163902007, 0.0365260839, -0.0919753611, 0.0291818231, -0.019749932, 0.018299384, -0.0156545341, -0.0233722664, 0.0189134963, -0.0572839305, -0.0049539204, 0.0307879914, 0.0470811687, 0.030262636, -0.0523963794, 0.050113216, -0.0207259655, -0.0055937711, -0.0416693501, -0.0295615364, 0.0080172084, 0.0244988278, 0.0758861303, -0.0297789611, -0.0091143902, -0.0203822553, 2.595e-7, 0.0272135157, 0.0561559238, 0.0168678686, -0.0070751254, 0.0197305176, 0.0335866772, -0.0339793265, -0.0035789956, -0.0044027623, 0.0151354875, 0.0054222159, -0.0512623116, 0.0370377228, 0.0398057923, -0.0709807351, 0.0359889157, -0.0949071571, -0.0395461395, -0.0952190608, 0.0042212182, -0.0038402877, 0.0855772346, 0.0304686204, -0.044582352, -0.0036724606, -0.089049004, -0.0137691256, -0.0163191296, -0.0219824798, 0.0258494392, 0.0370515995, 0.0322437957, 0.0681349486, 0.0225758515, -0.0184574779, -0.0001984855, -0.0182570182, 0.0192187224, -0.0255773384, 0.0087549752, -0.0187760424, -0.0413535051, 0.0097830882, -0.087360777, 0.052572839, 0.0410297289, -0.00274089, -0.0503604338, -0.0222696252, -0.0512181818, 0.0001597577, -0.0345124267, 0.0077663106, 0.0687011331, 0.0002643964, -0.0113147199, 0.0260954127, -0.0335536525, -0.033598695, -0.0401680693, -0.0502777919, -0.0667568594, 0.0218465663, 0.0119808456, -0.0103026386, -0.0203816071, 0.027472036, 2.953013312e-34, 0.0737724602, -0.0054645911, 0.0172259156, 0.0472446159, 0.037914332, 0.0022916347, 0.0266127829, 0.0341408774, -0.0239127688, -0.0342554003, -0.0228818469 ]
http://arxiv.org/abs/2406.19820v1
http://arxiv.org/pdf/2406.19820v1
BeamAggR: Beam Aggregation Reasoning over Multi-source Knowledge for Multi-hop Question Answering
2024-06-28T10:53:48
2024-06-28T10:53:48
Zheng Chu, Jingchang Chen, Qianglong Chen, Haotian Wang, Kun Zhu, Xiyuan Du, Weijiang Yu, Ming Liu, Bing Qin
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have demonstrated strong reasoning capabilities. Nevertheless, they still suffer from factual errors when tackling knowledge-intensive tasks. Retrieval-augmented reasoning represents a promising approach. However, significant challenges still persist, including inaccurate and insufficient retrieval for complex questions, as well as difficulty in integrating multi-source knowledge. To address this, we propose Beam Aggregation Reasoning, BeamAggR, a reasoning framework for knowledge-intensive multi-hop QA. BeamAggR explores and prioritizes promising answers at each hop of question. Concretely, we parse the complex questions into trees, which include atom and composite questions, followed by bottom-up reasoning. For atomic questions, the LLM conducts reasoning on multi-source knowledge to get answer candidates. For composite questions, the LLM combines beam candidates, explores multiple reasoning paths through probabilistic aggregation, and prioritizes the most promising trajectory. Extensive experiments on four open-domain multi-hop reasoning datasets show that our method significantly outperforms SOTA methods by 8.5%. Furthermore, our analysis reveals that BeamAggR elicits better knowledge collaboration and answer aggregation.
[ 0.0121922325, 0.0385868624, 0.0123899188, 0.0273642577, -0.0490176715, 0.0056705722, -0.0051738867, -0.0482499674, 0.0184942186, -0.0272452645, -0.0102770338, -0.0285772178, -0.028754903, 0.0185829829, -0.0049231802, -0.0049185562, 0.0525910929, -0.041669447, 0.011439316, -0.0409317613, 0.008591665, 0.0502025485, -0.0362103023, 0.0141491443, -0.0081845727, -0.0411848724, -0.0033670068, -0.0075545046, 0.0106173735, -0.0038912576, 0.0078271944, 0.0228481889, 0.0139749702, -0.0061038448, 0.0000018997, -0.0393697843, -0.0464720763, 0.0061185295, -0.0284465104, -0.0093365218, -0.0264184717, 0.0298492722, 0.0253612157, 0.0440982506, -0.0493159555, 0.0079773553, 0.0181793347, 0.0498080738, 0.0801350176, 0.0174927078, 0.0139444005, -0.0441696085, 0.0336922109, -0.0062673315, 0.0429997332, -0.0664552748, 0.0353869461, 0.0399428569, 0.036033053, 0.0447531864, -0.0016964378, 0.0244880449, 0.0223079231, 0.0019130377, -0.0089394702, 0.036994908, -0.0542370938, 0.0195621178, -0.0146156074, 0.0903779939, 0.033726301, -0.0088477638, -0.0041915085, 0.0187553335, -0.0105500342, 0.0153341657, -0.0634387136, 0.0204951726, -0.0402373746, -0.0088951942, -0.0201222673, -0.0076150782, 0.021265924, 0.018123107, -0.0476003885, 0.1205620319, 0.021515118, -0.0142645966, -0.0003616927, 0.015105403, -0.0349582657, -0.0364091806, -0.0054000164, 0.0673081651, -0.0369089618, 0.0425827317, 0.0224209279, 0.0217986722, 0.021495562, 0.0004474945, -0.0278243404, 0.0354961976, -0.0042258031, 0.0961728767, -0.0174794402, 0.0121783093, -0.0374150015, -0.0192238148, -0.0616038665, -0.0779705346, -0.0662429482, -0.0278146528, -0.0146370381, 0.0710036457, -0.0532631651, -0.014009825, -0.0214479361, 0.014089901, -0.018093871, -0.0337456092, 0.0002939811, 0.0331739672, 0.0327717513, -0.0271179657, -0.0299756639, 0.0789464787, -0.0723927245, 0.0231528897, 0.0228862725, -0.0423154198, -0.0323455743, 0.0119606843, -0.0005008981, -0.0214231648, -0.0024826117, 0.0147979194, -0.0303859189, 0.0074162832, -0.0050386516, -0.0623699352, -0.0313630402, -0.0455386527, 0.0400612317, -0.0826876312, 0.0726256371, 0.0346844904, -0.027664667, -0.0180282183, 0.0105212647, 0.0351905413, -0.040102426, 0.0488884524, 0.0182864331, 0.0072015882, 0.0460480601, 0.0375267714, -0.0323655568, 0.0515941419, -0.0204870049, 0.0160083007, 0.0302881058, 0.0318458267, 0.0077815754, -0.0041217688, 0.0395448916, 0.0179544184, 0.0609483458, 0.0494931825, -0.0286431257, -0.0221043788, 0.0058784974, 0.0372964703, -0.0395298079, 0.0011416241, -0.0062267128, 0.0491901673, 0.0151803102, -0.041815687, -0.0103289848, 0.0198267493, 0.0183094293, 0.0037140616, -0.0092932079, 0.0599498786, -0.0575901344, -0.006710506, 0.0433206521, 0.0656863376, -0.0468695387, -0.0150708854, -0.0164660327, 0.0086541614, -0.0281576812, 0.0559656993, 0.0435153209, -0.0118220681, -0.0132278055, 0.0881678537, 0.0484715253, -0.0200806819, -0.008747682, -0.019102348, 0.0549620092, 0.0096596936, 0.0564642511, -0.0453366004, -0.0471014604, 0.0258693919, 0.0105662197, -0.0214641169, 0.0320359245, -0.0235552713, -0.0102271102, -0.0294387657, -0.0303663071, -0.0169052985, 0.0040759086, 0.0371122584, 0.0215884242, -0.0140368007, -0.0000319877, 0.0023226906, 0.0235224962, 0.0034638424, -0.0168630071, 0.0153164919, 0.0097845206, -0.028728094, -0.0023398881, 0.0299475044, -0.0044122082, 0.0493977629, 0.0383817181, -0.0136304097, -0.0717305318, 0.0026483128, -0.0406124406, -0.0527099073, 0.0357770398, 0.0024256189, -0.0345458835, -0.02226476, -0.0552372374, -0.0447562076, 0.0221742038, -0.0105188312, -0.003833717, -0.0481150672, -0.0194978267, 0.0487608574, -0.0117288744, -0.0615303442, 0.0877953842, -0.0107845729, 0.0103032626, -0.0259866714, 0.0146382926, 0.0273050889, -0.0086047044, 0.0073730517, 0.0164352003, -0.0198902134, 0.0058002421, 0.0177541655, -0.0200800244, -0.0714264885, 0.001452841, -0.0734858364, 0.0241352059, -0.0132221989, 0.0216042884, 0.0004100583, 0.0245647244, 0.0103517557, 0.0002864779, -0.0595942475, 0.0058687222, 0.0153811835, 0.0291921292, 0.0174475871, 0.0200117864, 0.0370039232, -0.0239673741, -0.0138010783, -0.051257588, 0.0409669206, -0.0189402923, 0.0033695849, -0.0379202217, -0.0348172709, -0.0819233358, 0.0211272128, -0.0173285287, 0.003146203, 0.0109031042, -0.0499607064, 0.0422615111, 0.0518462881, -0.0267125797, -0.0386664197, 0.0520089529, -0.00719174, -0.042370934, 0.0389360003, -0.014067255, 0.0115112737, 0.0211278964, 0.008811878, 0.0083306413, 0.0270013493, -0.0031070597, -0.0256277341, -0.0256976224, 0.0311191976, -0.0063911243, 0.0137550477, -0.0668412447, -0.0253039785, 0.0359069556, 0.0407838635, -0.0338263735, 0.0153993173, 0.0974129811, 0.003048741, -0.0054761497, -0.0566672124, 0.0078909909, -0.0881473795, 0.0450217016, -0.0361907855, 0.0135114361, -0.0272487588, -0.0001135074, -0.0403916053, -0.0039098095, 0.0100223999, -0.0392712466, 0.0521982275, -0.0615804121, 0.0317043401, -0.0044476017, -0.0433096401, -0.0257219337, -0.0238688458, -0.0218738839, 0.0192438252, -0.0204757359, 0.0021240788, -0.0430600122, -0.0066909548, 0.0433456525, -0.01329384, -0.0315278992, 0.0012890688, 0.0018975011, 0.0924252272, 0.0568883233, 0.0132751986, 0.0459196828, -0.0080070831, 0.0182908867, 0.0916724354, 0.0551070273, -0.008602187, 0.0179540683, -0.012913526, 0.0264075361, -0.0138070947, -0.0042644157, -0.02825973, 0.0612420924, -0.0346194059, 0.0148221096, 0.0858332142, 0.0712331086, -0.0123077519, -0.0328465514, -0.0470957607, 0.0259833932, 0.0129835475, 0.0545121953, -0.0880868807, -0.0482842624, -0.0150648989, 0.004197285, 0.0373236015, -0.0266595893, -0.0091274381, -0.1252833009, 0.0115069719, -0.0046282769, -0.0190783627, -0.0335609615, -0.0428353325, 0.0164132752, 0.0119271157, -0.0453232378, 0.0377354398, -0.0002755415, 0.0036973883, 0.0072032558, -0.0079538859, -0.0058993129, 0.0691771805, -0.0099307336, -0.0043602106, 0.0537779704, 0.0084781153, 0.0332895517, -0.0367112905, 0.0106438268, -0.0679886267, 0.0060591381, -0.0292649586, -0.0091817882, 0.0241549797, 0.0039396319, -0.0227291603, 0.050150916, -0.0368846804, -0.0253077354, 0.0246355925, 0.0970758423, -0.0195608307, -0.0001568885, -0.0229586214, 0.0059353015, 0.002043006, 0.070401676, -0.0069402838, 0.0254696123, -0.040560443, -0.0376291685, -0.0371572152, -0.0070246067, -0.0149053615, 0.0331560113, 0.0181473196, 0.0289116912, -0.0853222758, -0.0180539694, 0.0484107696, 0.02347764, -0.0542626493, 0.0001600169, -0.0002085406, 0.0269116722, -0.0221335217, 0.0501184464, -0.0474150255, 0.0089276312, -0.0001364161, 0.0450709797, 0.0570384674, -0.0165660884, -0.0427280106, 0.0188931301, -0.0466433577, -0.0657304376, -0.022043271, 0.0047881999, 0.0233701747, 0.013215973, -0.0466810577, -0.0308956541, 0.0131898941, 0.009531714, -0.0586584285, 0.000364674, 0.0084867748, -0.0115076266, -0.0218485445, 0.0270050019, -0.0714697689, 0.0341310017, -0.0294777993, 0.0668362901, -0.034700457, -0.0064178561, 0.0218226649, 0.0172411278, 0.0050196303, 0.0345200561, -0.0187882222, -0.0055445507, 0.0200449061, -0.004804187, -0.0349915847, -0.0070291613, 0.0157858357, -0.004481331, -0.0719975233, 0.0099127432, 0.003817406, 0.0166021213, 0.0404833779, -0.03038086, -0.0309156012, 0.0460820347, -0.0248489119, 0.0191438682, -0.0244049504, 0.0014115939, -0.0108413044, -0.0003806271, 0.0518968999, -0.0125977732, 0.0553929508, 0.0193785541, -0.0119158039, -0.0267259013, -0.000680841, -0.1074241474, -0.0883474723, 0.027891079, 0.0206339397, 0.045437865, 0.03776085, 0.0324554034, -0.0011889285, -0.0304304101, 0.0009520582, -0.0210966654, 0.011140544, 0.0001920956, 0.0579494722, 0.066140309, 0.002886418, 0.0128200734, 0.0849606469, -0.0593168736, 0.0193547234, -0.0279250182, -0.0000430722, -0.0081794383, -0.0494851135, -0.0269428957, 0.0263628513, -0.023300685, 0.000788464, -0.0683834329, -0.0340151154, -0.0006644026, 0.0034983286, -0.0223822296, -0.0153368628, 0.0430811867, 0.0666990057, 0.0155081749, -0.0242628101, -0.0261038058, -0.0000088589, -0.0728942305, -0.0100246295, 0.00596538, -6.661821829e-33, -0.0199438687, -0.0385979898, 0.0545027368, -0.0096528819, -0.0278992504, 0.0103835091, -0.0150193656, -0.0154629126, -0.0679979473, -0.0032989029, -0.0030170397, 0.0332611538, -0.0080509894, 0.0316240303, 0.0117451288, -0.0158013906, -0.0145759741, 0.0204850771, -0.0175873339, 0.0263603535, 0.0515373424, -0.0006060763, -0.0005346369, -0.012913567, 0.0186015032, -0.0087160701, 0.0073817982, 0.0470615365, -0.0483282655, 0.0449456424, -0.002126382, 0.0095553156, 0.0218530949, -0.0544070341, 0.0273748599, 0.0379252955, -0.087247178, -0.0446044579, 0.0305215139, -0.0526489019, -0.0391708203, -0.0226401724, -0.0159313921, 0.0052620098, 0.0631108508, -0.0482648574, 0.0053781704, -0.0130442223, -0.0175066702, -0.0372112244, -0.0098382393, 0.0274107158, -0.0234977342, -0.0220638383, -0.0398411416, 0.0707870424, 0.0255337469, 0.0598476417, -0.048344519, 0.0364929177, -0.0273492094, 0.0174716227, 0.0434879847, -0.017381439, -0.0003718254, 0.0361283384, 0.0084017953, -0.032525979, -0.0546519458, -0.0192615762, -0.045475021, 0.0466069505, 0.0552290827, 0.0132883778, 0.0053474763, 0.0496542305, -0.1004855782, 0.0376426689, 0.0267115012, 0.0634128675, -0.0089372564, 0.0129402969, -0.0048478777, -0.0270749182, -0.0462041087, 0.0545945913, -0.0404886231, -0.0123006348, -0.004099078, -0.0049825618, -0.0173235331, 0.0311088879, 0.0190596096, -0.0450835936, 0.0110997176, 0.0755506977, -0.0170299225, 0.0259431303, -0.0153324772, 0.0691343546, -0.0522218011, 0.0305329822, 0.015717959, -0.0415258743, -0.0190161634, 0.0286382083, 0.0197953451, -0.0256851055, -0.0317695178, -0.0077566262, -0.0363784507, 0.0104988609, -0.034253262, -0.0087981764, 0.0482504889, 0.0731381848, 0.0139171872, 0.0327015854, 0.0209265817, 0.0480344594, -0.0262597837, -0.0023382881, -0.0227053035, -0.0130095147, -0.0085317139, 0.0202419925, -0.0337401889, -0.0131962691, -0.0298017506, -0.0364068337, -0.0340084396, 0.0450785384, 2.685e-7, 0.0490295961, 0.0189471077, 0.0132364035, 0.0640450642, 0.0086304294, 0.017329365, -0.0200223699, -0.00489497, 0.0458885431, -0.0238516387, -0.034263052, 0.0705999136, 0.0356084108, 0.0623397976, -0.0646762997, -0.0068332357, -0.0444316529, -0.0651182383, -0.0473001003, -0.0361140668, 0.0643593967, 0.062567845, -0.0006555669, -0.0230812207, -0.0250382647, -0.036096029, 0.0734396577, 0.0540297404, -0.0457277559, 0.0333764292, 0.0140729723, -0.0081901709, -0.0029839934, 0.0203672592, -0.0013592045, -0.0007990306, 0.0089916019, 0.0488319509, -0.0036201254, -0.0680462942, -0.0176499039, -0.0389373899, 0.0211537201, -0.0176756158, 0.107176058, -0.0298564266, -0.0037458104, 0.0085295634, -0.0217641033, 0.00438212, -0.003239166, 0.0085709738, -0.0032871021, 0.0005796449, -0.0110687446, -0.0133208763, 0.0307782572, -0.0917178094, -0.0172897186, 0.034248367, -0.0115193268, -0.0405248925, 0.0169087518, -0.0332617499, 0.0235633962, -0.0674196556, 0.0065514129, 2.30440285e-34, 0.0390530638, -0.0064257318, 0.0026181466, 0.0255544391, 0.0451455116, -0.0211157072, -0.0613492243, -0.0105907246, 0.0310127307, -0.0915189013, 0.0129147507 ]
http://arxiv.org/abs/2407.00134v1
http://arxiv.org/pdf/2407.00134v1
A Simple Attention-Based Mechanism for Bimodal Emotion Classification
2024-06-28T10:43:02
2024-06-28T10:43:02
Mazen Elabd, Sardar Jaf
cs.LG
cs.LG, cs.AI, cs.CL
Big data contain rich information for machine learning algorithms to utilize when learning important features during classification tasks. Human beings express their emotion using certain words, speech (tone, pitch, speed) or facial expression. Artificial Intelligence approach to emotion classification are largely based on learning from textual information. However, public datasets containing text and speech data provide sufficient resources to train machine learning algorithms for the tack of emotion classification. In this paper, we present novel bimodal deep learning-based architectures enhanced with attention mechanism trained and tested on text and speech data for emotion classification. We report details of different deep learning based architectures and show the performance of each architecture including rigorous error analyses. Our finding suggests that deep learning based architectures trained on different types of data (text and speech) outperform architectures trained only on text or speech. Our proposed attention-based bimodal architecture outperforms several state-of-the-art systems in emotion classification.
[ -0.0131725604, 0.0697365105, -0.0194140188, 0.026563948, 0.0088888407, -0.0089832665, 0.0452176407, -0.0247460604, 0.0091220178, -0.0787454695, -0.0782214552, -0.0615233071, -0.0137287127, 0.0355689302, 0.039898701, -0.090488717, 0.0427132063, 0.0826205686, 0.0498278998, 0.0027216347, 0.0434312224, 0.0149032762, -0.0205330458, 0.0153241763, -0.0599118359, -0.0293322094, -0.0331548266, 0.028860921, 0.0310140066, -0.0405323729, 0.0299309753, 0.0223775785, 0.0425610505, 0.0318201557, 0.0000018422, -0.0113164457, 0.0345372185, -0.0047619957, -0.0025152038, -0.0093711587, 0.0690780059, 0.027394833, -0.0121095665, -0.0090772808, 0.0074762818, -0.0330811851, 0.066787146, 0.0694600716, 0.1121660396, 0.0561829619, -0.0291603301, -0.0228425078, 0.0274485834, -0.0293527581, 0.0215595365, 0.0103068538, -0.0010242173, -0.0499857217, 0.0018317284, -0.0101189381, -0.0417944193, 0.0290613845, -0.0147196967, 0.0296711903, 0.0430853665, 0.0127875237, -0.0354900733, -0.0414730236, -0.0055265408, 0.1090970188, -0.0519344248, 0.0013904191, -0.0177194811, -0.0028850927, 0.01589863, -0.0435490459, 0.0005838845, 0.0212494507, -0.0157856867, 0.01096192, -0.0311954692, -0.0138028553, 0.0116390577, -0.0339980721, -0.0307414178, -0.0185065567, -0.0543752387, 0.0069485763, 0.0493947268, 0.0006416839, -0.0409315005, -0.0086793844, -0.0005386553, -0.0355197079, 0.0201348886, -0.0284311362, -0.0666228086, -0.0514580943, -0.0160707291, -0.0480213352, 0.0150339026, -0.0169025604, -0.0923902243, 0.0440980047, -0.0090454342, 0.033114329, -0.0398773141, -0.0019959407, 0.0044717644, -0.0167220533, -0.0105582783, 0.0483897142, 0.0085313814, 0.0006089269, -0.0343081616, -0.082225278, -0.0552627854, -0.0103208283, -0.0351452231, 0.0046926532, 0.0073744329, 0.0262801722, 0.0209770426, 0.0171720181, 0.0059080408, 0.0109122694, -0.0308618117, 0.0482360795, 0.0046792375, -0.0592124797, 0.0193090755, 0.0689098388, 0.0235434808, 0.000196627, 0.0262729283, 0.0620413572, 0.0006369218, -0.0320472308, -0.0409073345, -0.020672325, -0.0164000988, -0.0429402739, 0.0721801966, -0.0060423776, 0.0535458513, -0.0392606035, 0.0048141284, -0.0268982332, 0.03274462, 0.0043497733, 0.0074090357, 0.0839721784, 0.0024865363, -0.0271080583, 0.0026330634, -0.0190441795, -0.0077897594, 0.0191756357, 0.0698058158, 0.030101154, 0.0582114011, -0.0263530556, 0.0535383858, -0.0141220968, 0.0172893349, -0.055421643, 0.0167468339, -0.0304488465, -0.0140120368, 0.0460877307, 0.0647205338, 0.0338968262, 0.0172016714, -0.0455887988, 0.0654595271, 0.0154643552, 0.019327281, 0.0894610286, -0.0100775752, 0.0214510523, -0.0123662259, -0.0568329804, -0.0565324463, 0.0852344111, -0.0134110423, -0.0224159826, 0.0873491764, -0.0032511388, -0.0510763787, -0.0237775184, -0.0157112908, -0.0349026322, 0.0079771411, -0.0034467401, 0.0299292356, -0.0156078599, -0.054851152, 0.0039559975, 0.0151417209, -0.0460363552, -0.0222524758, 0.0060663098, -0.0114170192, 0.0282323118, -0.0460826829, -0.0698842853, 0.0274443347, -0.0491705053, 0.0210525449, -0.0073790695, 0.0058400012, 0.0528467521, 0.028167244, -0.0552599989, 0.003370916, -0.0290185548, -0.0156822763, 0.0083386339, -0.0478387289, 0.0328751914, -0.0187019054, 0.0136023723, 0.0364762396, 0.0045693442, 0.0370129868, -0.0094303573, 0.0155021353, 0.0566464812, 0.0527053401, 0.0119008878, -0.0094823362, -0.0139055345, 0.0282076802, -0.0142841181, -0.0069926437, 0.0047028563, 0.0058505721, -0.043146234, 0.0095911622, -0.0388202704, 0.0170745775, 0.0574165024, -0.0065150047, -0.0001801183, 0.0543215945, -0.0591745712, -0.0208842941, -0.0212025382, -0.0014223893, 0.0210921131, 0.0798531547, 0.0086653009, 0.0052266647, -0.024075117, -0.024611678, -0.0456784591, 0.0061669787, 0.0053319861, -0.0284819994, -0.0932464153, -0.0039099995, -0.0198050067, 0.0364835076, -0.0088875471, -0.0435152836, -0.0298210941, -0.0211774148, -0.0417540483, 0.008359977, 0.0026065062, -0.0051187216, -0.0529619306, 0.0041455617, -0.0059885653, -0.0038874813, -0.0384762362, 0.0659312457, -0.0014509733, -0.0278586801, 0.0242633671, -0.0266157687, 0.033904817, -0.0427490734, -0.0096493224, -0.0092937704, 0.0352247022, -0.0168621819, -0.0030076089, -0.0186997782, -0.0175759178, -0.0273381453, 0.0887414739, 0.0025569608, -0.0876037329, 0.0169016458, -0.0260192864, 0.0103677213, 0.0915170684, 0.0021768434, 0.040943943, 0.0296861455, 0.0013567222, -0.0010588919, 0.0875826478, 0.0293044299, 0.0417402014, -0.0059475317, 0.0233104192, -0.0467423089, 0.0206760205, -0.0053131231, -0.0038664893, -0.0133915888, -0.023647232, 0.0753560439, -0.0082549285, 0.0303281732, 0.024447754, -0.0162140206, -0.029530542, -0.0056183985, -0.027033912, -0.0010912403, 0.0169849154, -0.0763625577, -0.0275183097, 0.0245287921, -0.0059112911, 0.0400431566, -0.0337053426, 0.0315112993, -0.0008398868, 0.0036281291, -0.0209728982, -0.0223573335, -0.0328318141, -0.040191073, 0.0312555544, 0.0428955965, -0.0301339645, 0.0028081439, -0.0119300662, -0.0291009899, -0.022910431, -0.034947414, -0.0172278807, -0.0035392656, -0.0069539631, -0.067602329, -0.0396004431, 0.0758662224, -0.0322562903, 0.0371087343, -0.0285902359, 0.0009025012, 0.034731321, 0.0089340294, 0.0616786815, -0.0060782661, -0.0207578167, -0.0117039271, 0.0177327562, 0.0288453735, 0.0159162395, -0.0497252382, 0.0191620067, 0.0083197141, 0.0003276132, -0.0454014204, -0.0041714516, 0.0047089169, -0.0422774181, 0.0609045886, 0.0596977435, 0.0039547044, -0.0508467592, 0.0073729842, 0.016864771, -0.0407356359, 0.0254619084, 0.0043653217, -0.0354301073, -0.0866141915, -0.010996026, 0.0255258549, 0.049263712, -0.0120039266, -0.0115782144, -0.0546987467, 0.0017342805, -0.0082814544, -0.0217356831, -0.0542448573, -0.0085707856, 0.0471766479, 0.002222009, -0.0336351991, -0.0266075786, 0.015498626, -0.0312077533, 0.0080905184, -0.0453105792, -0.0242734123, 0.0324631184, -0.0541312583, 0.0262143109, 0.0184096806, 0.0709767938, -0.0367813222, -0.0663773865, -0.0097743785, 0.0068206312, 0.0164040141, -0.0088563832, 0.0547754504, -0.0476250201, -0.0284713469, -0.0181021094, 0.0269859899, -0.0225602239, 0.0334231295, -0.02325546, 0.109088704, -0.0028326274, -0.0391917191, -0.076043345, 0.041869361, 0.0317308456, 0.0064037717, 0.0202106945, -0.0777663365, -0.0579722524, -0.0151815228, -0.0073263049, -0.0410941392, -0.0380627513, 0.0202192068, 0.0098224338, -0.0298630707, -0.0241124555, -0.0745470002, -0.0008981688, 0.0130130555, -0.0354166664, -0.027539935, 0.0057925354, 0.0005358359, -0.0488703549, 0.0342412852, 0.0404457003, 0.0347312205, -0.0342281461, -0.0141626429, 0.0132915135, -0.0126440907, -0.0052355495, 0.0147905825, -0.0103665115, -0.0262622312, -0.0035926765, 0.0251762345, -0.0021675921, 0.0125076268, 0.0157129206, -0.0512605011, 0.0056419466, 0.0338631496, -0.0278272126, -0.0086253481, 0.0923763514, 0.0271715019, -0.0133710587, 0.0150491586, -0.0262780041, 0.0377274454, -0.0266568176, -0.0280417055, -0.0217685979, -0.0323963016, -0.0440426692, 0.0190509837, 0.0697159544, 0.0239455774, -0.0317106433, -0.0421629846, 0.0110717304, 0.0552989542, 0.0053471951, -0.0674818978, -0.0042681885, -0.0173771605, -0.0389814712, -0.048165489, -0.0373459943, 0.0652536228, -0.0633550137, -0.0019130519, 0.1016218811, 0.0325543582, 0.0314831249, -0.0552940331, 0.0441297591, 0.0146736996, -0.0116250552, 0.0239906125, 0.0192122627, 0.0069023371, 0.0414883271, -0.0031183301, -0.037252713, -0.009879319, 0.0494128205, 0.0242784731, 0.0280766599, 0.006218601, -0.016251592, 0.028950993, -0.0020174026, 0.0104648424, 0.0027800421, 0.0187868178, -0.046837464, 0.0558575653, -0.0451053269, -0.0360407941, -0.0109316725, -0.0292088203, -0.0145120015, -0.020690525, 0.017509969, -0.0349164493, 0.0001391406, -0.0077760429, -0.0005346623, -0.0684797466, 0.0295714773, 0.0540424101, 0.0098333647, 0.0359352157, 0.0538078956, -0.0088700941, -0.0496231914, 0.0144100608, -0.0293854214, -0.0016823635, -0.043042507, 0.0424508937, 0.0142652374, 0.0055094077, 0.0201385543, -0.0486066751, 0.0216901936, -0.0191178303, 0.0063146851, 0.0203973707, -5.209230032e-33, 0.0103338417, 0.024878785, -0.0306116994, -0.0326365493, -0.0570519976, 0.0213702694, -0.0048364787, 0.0378868505, -0.0366883278, 0.0241970755, -0.0000846845, 0.0131044704, -0.0210147742, 0.0040354193, 0.0146437092, -0.0140936291, -0.0141992541, -0.0081499591, 0.0106293894, 0.0466341898, 0.0635624379, 0.0309182182, 0.078509599, -0.0618196726, -0.007134011, 0.0236744322, -0.0269487388, -0.0203800257, 0.0195739605, 0.0693140477, -0.0132283242, 0.0625376105, 0.0036666279, -0.0104179187, -0.007856667, 0.0668274462, -0.0421951227, -0.0184338987, -0.0435604937, 0.0272393301, -0.0920833871, -0.0128478315, 0.0640498772, 0.0327934735, 0.0150421215, -0.0612916723, 0.0460146032, -0.0027220815, 0.0206479151, -0.0349584743, -0.0135055678, 0.0163871609, -0.0273064803, -0.024593398, 0.0462737381, 0.040981397, 0.0159360711, 0.0175187606, -0.0823987275, -0.0215131473, -0.0394316055, -0.0115277506, 0.009463585, 0.0072792973, -0.0220896862, 0.0655072331, 0.0504474938, -0.0165664759, -0.0118227834, 0.0400628671, 0.0496303849, 0.0579804853, 0.0522805378, 0.0214737188, 0.0138468575, -0.0098736165, -0.0516541339, 0.0282113105, 0.0355818495, 0.0223902222, 0.0497950129, -0.010081809, -0.0089616617, 0.0373641364, 0.023776982, -0.0041396078, -0.0448337458, 0.0036367737, 0.0160066858, -0.0226624422, 0.0304420777, 0.0188867357, 0.0271846, -0.009936301, 0.0079061454, 0.0122669004, 0.007440506, 0.0630110726, 0.0355159193, -0.0057838894, -0.0293968208, -0.0059967111, 0.0314125866, 0.01106901, 0.0615182035, -0.0054451828, -0.0114200944, 0.028957691, -0.0362946466, -0.0415345952, 0.0099999681, 0.0106448177, -0.0071462183, 0.0296886358, -0.0212097764, 0.0102874171, 0.0079226876, 0.0342580788, -0.0107059488, 0.0292120129, -0.0248234812, -0.0653219298, 0.0095016258, 0.0213661734, -0.0282180812, 0.0057498058, -0.0574689917, -0.0430541933, -0.0179128982, -0.0743531883, -0.0007561211, 0.0346736237, 2.578e-7, 0.0160618294, 0.0235616118, -0.013380968, 0.0222694464, 0.0323793478, 0.0575826988, -0.00610008, 0.1077004969, 0.0093004405, -0.0234431047, 0.0329147242, 0.0150452331, 0.017688999, -0.0124325957, -0.0429864973, -0.0311682988, 0.013129252, 0.049610015, -0.0163950063, 0.0270878021, 0.082024388, 0.0892555937, 0.0358106904, -0.0066565978, 0.0321291983, 0.0277529284, 0.0091856178, 0.0103514763, 0.0448429137, -0.0186926629, 0.0283668581, -0.023147326, -0.0511989966, 0.0169650465, 0.0100519685, -0.0221476555, 0.0247597676, -0.0094215227, -0.0167055279, -0.0869230703, 0.0348582901, 0.0371292457, -0.0360026248, 0.0011844183, 0.0602287948, -0.0282621402, -0.0384886861, -0.0238444284, -0.0426927917, -0.0055937995, 0.0360940285, 0.0073437626, -0.0548570603, -0.0175402481, -0.0051903795, -0.0302178971, -0.0073881727, -0.1229401529, 0.0025320519, 0.0459636711, -0.0413580127, 0.0030067789, -0.0516597144, -0.0061132987, 0.0633785948, -0.0058222138, -0.024234347, 1.444095958e-34, 0.0083956048, -0.0155891012, 0.0026535483, -0.022268232, -0.0188270714, -0.0162006132, -0.0300288834, -0.0336733274, 0.0534957908, -0.0453512631, -0.0314118899 ]
http://arxiv.org/abs/2406.19803v1
http://arxiv.org/pdf/2406.19803v1
Scalable and Domain-General Abstractive Proposition Segmentation
2024-06-28T10:24:31
2024-06-28T10:24:31
Mohammad Javad Hosseini, Yang Gao, Tim Baumgärtner, Alex Fabrikant, Reinald Kim Amplayo
cs.CL
cs.CL
Segmenting text into fine-grained units of meaning is important to a wide range of NLP applications. The default approach of segmenting text into sentences is often insufficient, especially since sentences are usually complex enough to include multiple units of meaning that merit separate treatment in the downstream task. We focus on the task of abstractive proposition segmentation: transforming text into simple, self-contained, well-formed sentences. Several recent works have demonstrated the utility of proposition segmentation with few-shot prompted LLMs for downstream tasks such as retrieval-augmented grounding and fact verification. However, this approach does not scale to large amounts of text and may not always extract all the facts from the input text. In this paper, we first introduce evaluation metrics for the task to measure several dimensions of quality. We then propose a scalable, yet accurate, proposition segmentation model. We model proposition segmentation as a supervised task by training LLMs on existing annotated datasets and show that training yields significantly improved results. We further show that by using the fine-tuned LLMs as teachers for annotating large amounts of multi-domain synthetic distillation data, we can train smaller student models with results similar to the teacher LLMs. We then demonstrate that our technique leads to effective domain generalization, by annotating data in two domains outside the original training data and evaluating on them. Finally, as a key contribution of the paper, we share an easy-to-use API for NLP practitioners to use.
[ -0.0007670619, 0.021229513, 0.0199884083, 0.0178421475, -0.0511175618, 0.0126929237, 0.0105464254, -0.0254728794, 0.0007598519, -0.0452760532, 0.0202753618, -0.0186749008, -0.030099012, 0.0022494204, 0.0059501119, -0.0610535666, 0.0551593043, 0.0140980193, 0.0353697501, 0.0504929647, 0.0403819643, -0.0162913576, -0.0092629315, 0.0122326203, -0.0390859097, -0.0301571116, -0.0076449253, -0.0189885739, 0.0395950861, -0.0507003106, 0.0103933075, 0.0437417887, 0.0321116857, -0.01506761, 0.0000020442, -0.0471000448, -0.0819924995, -0.0000057077, -0.0208187364, 0.011600079, 0.0121221645, 0.0057378407, 0.0269641932, 0.0040391167, -0.0551630966, -0.01126693, 0.0033492728, 0.0970211551, 0.1002897471, 0.0846976787, -0.0163105726, -0.0628773943, 0.0121492259, -0.0099346805, -0.0184033085, -0.0149142062, 0.0257107243, 0.0310363695, -0.0313775353, 0.0235343948, 0.0159746855, 0.0085784132, 0.0200477298, 0.0193384066, -0.0107851783, 0.028481245, -0.0736895651, -0.0448637046, 0.0081839664, 0.0585973114, 0.042098131, -0.0200574063, 0.0225653648, -0.0017380283, 0.0194440279, -0.0461162776, -0.0282848068, 0.0340980068, -0.0427716114, 0.0553335547, 0.0298954081, 0.0185817517, 0.0069535095, 0.0168578569, -0.0259269476, 0.0543961413, -0.0284837689, -0.0569127686, 0.0271065161, 0.0524648279, -0.064955391, -0.0351106599, 0.0312709436, 0.0153264944, 0.0059981653, 0.0199851915, -0.0484879799, -0.0288473349, 0.0107215215, -0.0400257036, 0.0263572559, 0.000892052, -0.0196310766, 0.0448251888, -0.0188424978, 0.0167924277, 0.0036881811, 0.0444693528, -0.0026377267, 0.0020637522, -0.0651368126, 0.0119403163, -0.0436770469, 0.0772405639, -0.0530686788, -0.0047530825, -0.0273905192, -0.0196364708, -0.0108359167, 0.0310720447, 0.0069914591, -0.0098099606, -0.0299315806, 0.0135498317, -0.0435116962, 0.0276778527, -0.078796044, 0.0183899179, 0.0504701324, -0.042241849, -0.0247768983, 0.0069568665, 0.0157583449, 0.0076356139, -0.0079428898, 0.0307777915, -0.0242413878, -0.0532771982, -0.0930293649, -0.056414485, -0.0212196093, -0.0772455111, 0.0255119242, -0.0756250545, 0.020098323, -0.0054843738, -0.0040431456, -0.030658802, 0.0096311839, 0.011732663, 0.0532033667, 0.0696602613, 0.0107958512, -0.0028896232, -0.0018091239, 0.0157606862, 0.0027716754, 0.0727246627, 0.0332220159, 0.0475992784, 0.0678223446, 0.0346269347, 0.0061093168, -0.006897103, 0.0172450989, 0.0117784757, 0.0102195786, 0.0002557458, -0.0250596292, 0.0090969913, -0.0060457829, 0.052062735, -0.0262224227, 0.0292479098, 0.0562829003, 0.0241998117, 0.0048239306, -0.000024948, 0.0503700078, 0.0415185578, -0.0019447177, 0.0444915034, -0.0703921393, -0.0023103245, 0.0292669237, 0.0331084095, 0.0287592709, 0.0223832801, -0.012583917, -0.0866049752, -0.0080290344, 0.0026475945, -0.0079714805, -0.0268083271, 0.0410847701, 0.0632671565, -0.0350423567, 0.0854840726, -0.0020258704, -0.0735525563, 0.0031979731, -0.0186075196, 0.0010086152, 0.0060540186, 0.0078012594, -0.0585536733, -0.0101928441, -0.0185207017, 0.0811411142, 0.0655584037, 0.0416930057, -0.0153221516, 0.0129781673, -0.0519986302, -0.0127858557, -0.0313110091, 0.0365929194, -0.0331501737, 0.0324489623, -0.018629536, 0.0242487099, -0.0877935812, 0.0127061335, 0.0522698276, -0.012540713, -0.0504181013, -0.0051865843, 0.0336271636, 0.0118574034, 0.0263512451, -0.0078715002, -0.0059104376, 0.0152550042, -0.0410923734, 0.002691769, -0.0083252527, 0.0055324854, -0.0729799345, 0.014676109, -0.0356277078, -0.0373537093, -0.0287734959, -0.0905081406, -0.0261875521, -0.0275018588, 0.0081209056, 0.0055088685, -0.0375717394, 0.0011811266, 0.0534212776, -0.0095294639, -0.034990266, 0.0818185881, 0.0030681053, -0.0209511369, -0.0287099387, -0.0547441468, 0.0198359266, -0.0246386193, 0.0073485896, -0.0585780181, -0.0316410698, 0.0082026524, 0.0106638344, 0.0126509499, -0.0660741702, -0.0031252659, -0.0597348027, 0.0457161479, -0.0382537991, 0.0386101156, 0.0247567464, -0.0005987937, -0.0072590164, 0.0010826418, -0.0140995421, -0.0266677067, -0.0081646163, 0.0073293569, 0.0725243911, -0.002594962, 0.0013366428, -0.0324090607, 0.0075229472, -0.0274283662, 0.0139882294, -0.0173005331, -0.0151253222, -0.0437473841, 0.0502237864, -0.002590233, 0.0298359655, 0.0249162037, -0.0018730211, 0.004000132, -0.0169007275, 0.0363044627, 0.0771044269, -0.0075724106, 0.0315941945, 0.0201655999, -0.0109713776, -0.0260104779, 0.0323088579, -0.0251718517, 0.0562842302, 0.001431428, -0.0167931896, 0.0415803865, 0.0641504675, 0.0045545846, -0.0095867924, -0.024460854, -0.0182652473, -0.0386304148, -0.0218486581, 0.0095932409, 0.0603374243, -0.0191234406, 0.0394841358, -0.038064532, -0.0418883935, 0.0819073915, -0.0444582999, -0.0011010626, -0.0429061055, -0.0445569195, -0.0335109718, 0.0409322232, -0.0058778375, -0.02658871, 0.0194933489, -0.0310465116, -0.0368825831, -0.0115123624, 0.0151204243, -0.0007050355, 0.1027530953, -0.0554132983, 0.0000271907, -0.0186340008, -0.0267584417, -0.0332470909, -0.0292658303, -0.0227537025, 0.0255673528, -0.0275311619, 0.0406597927, -0.0437988043, -0.0106925089, 0.0015034298, 0.0503397696, -0.0210646801, -0.0089088688, -0.0467432216, 0.0132375192, 0.0429324843, 0.0253620204, -0.0022518113, -0.0244656596, 0.0433185659, 0.061322853, 0.004422632, -0.0160590913, -0.0203218795, -0.0065442505, -0.029195264, -0.065482311, -0.0057357722, 0.0030780626, 0.0700114071, -0.065808624, -0.0478610508, 0.1097179204, 0.0301797353, 0.0384628922, -0.0170356724, 0.0332247503, 0.0273834411, 0.0200780742, -0.0041800323, -0.0743899792, -0.0481744297, -0.0132975066, -0.0030754923, 0.0180943049, -0.0187282469, -0.0050919475, -0.092288442, 0.0315267481, -0.0070161982, -0.0339120291, -0.0404438823, -0.0573191233, 0.0148308203, -0.0178584047, 0.0093644448, -0.0270040762, -0.0219848529, -0.0054022945, 0.0264736284, -0.0080629755, -0.0191720482, -0.0005654083, -0.0432812683, -0.016354546, 0.0511106327, 0.0204796307, 0.0105919736, -0.0219081547, 0.0255486872, -0.0336938947, -0.0215932, 0.0119705405, 0.0660831556, -0.0320558771, 0.0169032421, 0.0134449359, 0.0413349643, -0.0257186275, -0.0263478663, 0.0225603282, 0.0543344393, -0.0284944568, -0.010237419, -0.0282526314, 0.0152357407, 0.0116614457, 0.0821342841, 0.0282379389, 0.0023916112, -0.0542685688, -0.0123324357, 0.005994258, -0.0569692627, -0.0193137918, 0.0019709808, -0.0765588433, 0.0313666575, -0.0829846635, -0.0100980736, 0.0632504448, 0.0551881418, -0.0279713031, -0.0267564934, 0.0446719341, 0.0065140682, -0.0501124673, 0.0273989569, -0.0425655209, -0.0099137332, -0.0420264788, -0.0003710134, 0.0447021611, -0.0104063479, -0.0385911837, 0.0290727895, -0.0952883139, -0.0497502685, 0.0059911031, 0.0082211858, 0.0134414118, 0.0358782746, -0.0244513396, 0.0233141556, 0.0467055887, 0.0443707593, -0.0108991014, -0.0034794896, 0.045172926, 0.0283651222, 0.0089818723, 0.0136556029, -0.0262161195, 0.0453165323, 0.0149172274, 0.0483104549, -0.0159100033, 0.0047246893, 0.0266039148, 0.0341358334, 0.1061046496, 0.0177150164, -0.0069733807, -0.0384578779, 0.0027085077, -0.0092220856, -0.0201929435, -0.0246699452, 0.0423375852, 0.0004393056, 0.0097637894, -0.0386105776, 0.0367181227, 0.0035526296, 0.0509234443, -0.0050294134, -0.0183998607, 0.0205278564, -0.0322373025, -0.0070289816, -0.0232864637, -0.0291359015, -0.0149966562, -0.0055614859, 0.033535745, -0.0003832624, 0.0373483337, 0.0379300825, 0.0249129478, -0.057220757, 0.0363359191, -0.0530496314, 0.0351289473, -0.0479435921, 0.0821455047, 0.0206302647, -0.0159790032, 0.0297977179, -0.0164631754, -0.0203651786, -0.0027913612, 0.0490227602, 0.009793981, -0.0156859159, 0.0007389779, 0.0340678506, -0.0376268364, -0.0203239638, 0.033415582, -0.0588651523, 0.0460751131, 0.0243789144, 0.0249552559, -0.0711147562, -0.0322107002, -0.0519210324, 0.0341450907, 0.0127528477, -0.0158975124, -0.0647974983, -0.0551680438, 0.0261886008, 0.0305286795, -0.0035035794, 0.0097939661, 0.0199234243, 0.0787564963, 0.0001208457, -0.0586328246, -0.0143006826, -0.0214759316, 0.0174159706, -0.0333791263, -0.0283556171, -6.12143679e-33, -0.0424623676, -0.006527571, 0.0238814894, 0.0091638146, -0.0360962562, 0.016767988, -0.0185968317, -0.0137684606, 0.0017204212, 0.042023059, -0.0222209468, 0.024470564, 0.0365190357, 0.0182834435, 0.0016289245, -0.0320096314, 0.0796393827, 0.0028941622, -0.0369759575, 0.0017836547, 0.0473919325, 0.0002484621, 0.0592740253, -0.0192582812, 0.0047172192, 0.0382289104, -0.028818531, 0.0566645823, -0.0282252245, 0.0513730384, 0.0002919898, 0.0237964951, 0.0442134887, -0.0571297333, -0.0254850034, 0.0179325975, -0.1131197959, -0.0465957783, 0.0105366809, -0.0252088849, -0.0389368758, -0.0023214598, 0.040056292, -0.0030745899, 0.0350961983, -0.0369971134, 0.0555917099, -0.0303126294, 0.0195215903, -0.0638624653, -0.0718861669, 0.0200594068, 0.0096216938, -0.0304277986, 0.0349014737, -0.0059324969, 0.0137309758, 0.0268599261, -0.0423219651, 0.020747833, 0.0106557617, 0.0487408452, 0.0012267437, -0.0083258785, -0.0253010206, 0.0675207227, -0.0168928318, 0.0016142762, -0.0226297025, 0.0168160796, 0.0180905703, 0.0642972216, 0.0072750379, 0.0527443513, 0.0475415699, 0.0052733012, -0.0451315828, 0.0344034508, -0.0056257951, 0.021249298, -0.0302235968, 0.006950188, -0.0249013975, -0.0035369587, -0.009831232, -0.0074032741, 0.00208751, 0.0090014134, 0.0199221894, 0.0279470067, -0.0606946126, 0.0039571472, 0.0255732667, -0.0293608736, 0.0017389121, 0.0049781166, -0.0105784312, 0.0074444991, -0.0091163926, -0.0223732274, -0.0654908717, -0.0393020064, 0.0141489534, 0.0109207258, -0.0022459123, -0.0088626826, 0.0482093804, -0.0298933908, -0.0451708697, 0.0172968097, -0.0044168863, 0.0176007636, -0.0239324048, 0.0570870377, 0.0271177124, 0.0266947504, -0.0198585168, 0.0623874441, 0.0065926411, -0.0165448189, -0.0095616151, 0.0586132854, 0.0067426935, 0.0507771559, -0.0198511519, 0.009589388, -0.0069619906, -0.030567443, 0.0211404786, -0.0614419393, -0.0019473113, -0.0034946511, 2.701e-7, 0.0212577265, 0.0407402776, 0.0650821403, 0.0271624979, -0.0229776017, 0.0416339077, 0.0419885479, 0.0009288419, 0.0084887901, -0.0945010558, 0.000328626, 0.0215866398, 0.0454493426, 0.0557045378, -0.1204148009, 0.0286309458, -0.0151187433, -0.0455180146, -0.0498694107, -0.0252733435, 0.0747869238, 0.0748426169, 0.0462322123, 0.0101366937, 0.007605576, -0.0327604525, 0.0003269134, 0.0086050453, -0.0093289809, 0.0412164554, 0.0051568234, -0.0175281148, -0.0026171533, 0.0215283055, -0.0224447139, 0.0015940462, -0.0063950866, 0.0974013731, 0.0350327417, -0.0023955328, -0.0276874993, -0.0214799587, 0.0165647492, 0.0160621181, 0.0419556275, -0.0885434225, -0.0041478691, -0.0267443508, -0.015524691, -0.0161794648, 0.0077312347, 0.0208599139, -0.0043477211, 0.0220098402, -0.0024509579, 0.0022013208, -0.03118423, -0.0652916506, -0.0204528198, 0.0049443161, -0.0108719142, -0.0276242476, 0.0129982224, -0.0058997078, -0.0120335296, -0.0923508778, -0.0380009748, 2.793779745e-34, 0.027207721, -0.031768132, 0.0272727832, 0.0278104655, 0.0469740331, 0.01264155, -0.0779797584, -0.0232950114, -0.0366070867, -0.0318613127, 0.0189204812 ]
http://arxiv.org/abs/2406.19783v1
http://arxiv.org/pdf/2406.19783v1
NLPerturbator: Studying the Robustness of Code LLMs to Natural Language Variations
2024-06-28T09:39:33
2024-06-28T09:39:33
Junkai Chen, Zhenhao Li, Xing Hu, Xin Xia
cs.SE
cs.SE, cs.CL
Large language models (LLMs) achieve promising results in code generation based on a given natural language description. They have been integrated into open-source projects and commercial products to facilitate daily coding activities. The natural language description in the prompt is crucial for LLMs to comprehend users' requirements. Prior studies uncover that LLMs are sensitive to the changes in the prompts, including slight changes that look inconspicuous. However, the natural language descriptions often vary in real-world scenarios (e.g., different formats, grammar, and wording). Prior studies on the robustness of LLMs are often based on random perturbations and such perturbations may not actually happen. In this paper, we conduct a comprehensive study to investigate how are code LLMs robust to variations of natural language description in real-world scenarios. We summarize 18 categories of perturbations of natural language and 3 combinations of co-occurred categories based on our literature review and an online survey with practitioners. We propose an automated framework, NLPerturbator, which can perform perturbations of each category given a set of prompts. Through a series of experiments on code generation using six code LLMs, we find that the perturbed prompts can decrease the performance of code generation by a considerable margin (e.g., up to 21.2%, and 4.8% to 6.1% on average). Our study highlights the importance of enhancing the robustness of LLMs to real-world variations in the prompts, as well as the essentiality of attentively constructing the prompts.
[ 0.0416204296, 0.0498479642, -0.0351972878, 0.039439667, -0.0363513418, -0.02403716, -0.0219602715, 0.0144517748, 0.0153977722, -0.0218517333, 0.0142773371, -0.0188570209, 0.0166311506, 0.0466031544, 0.02870344, -0.0408052653, 0.05290116, -0.0610203743, -0.0354922414, 0.0335271917, -0.0117106875, 0.0235948805, -0.0061479523, 0.0672165006, 0.0393555239, -0.0206670891, -0.0366847888, 0.0307765193, -0.0178295113, -0.0315436162, 0.0242659263, 0.0785588026, -0.0190907605, -0.0034127473, 0.0000023486, -0.0701131597, -0.0037977442, 0.0009643739, 0.0068798759, 0.0422026701, 0.0338874534, 0.0163433775, -0.0203906167, 0.0264845733, -0.0378125943, 0.0157562457, 0.0586459674, -0.0269910321, 0.0701729953, 0.0408202857, 0.0099385083, 0.0345070101, -0.027197009, 0.0240103044, 0.044208087, -0.0151138529, -0.0039468957, -0.0010325195, 0.0499525033, 0.0201946441, 0.0000228196, -0.0015478935, -0.001967848, -0.0091099273, 0.0040862369, 0.0334721357, -0.0293385386, -0.0163924899, -0.0072495793, 0.0510480367, -0.038895987, -0.0039221412, 0.0243625958, -0.0388340205, 0.0123618105, -0.0125391949, -0.0224404782, 0.021238856, -0.019517228, -0.0107669076, -0.0153210303, -0.0122425249, 0.0018434016, 0.018445991, -0.0153293479, 0.0336355194, 0.0126870591, -0.009976062, -0.0468615629, -0.0271860864, 0.0081453696, -0.0926586166, 0.0063322093, 0.0511745326, -0.0361568816, 0.0162939262, -0.0686943904, -0.0143885333, 0.0424769521, -0.0434820689, 0.0405534953, 0.0534861535, -0.0346939564, 0.0044081192, -0.0299680866, 0.0850685537, 0.0068136761, -0.0235467777, -0.022757655, 0.0505108535, -0.0342114307, -0.0253549665, -0.0349875018, 0.0415240861, -0.0206959583, 0.021358585, -0.0323713869, 0.0882889777, 0.0150715774, 0.0443348512, -0.0196798518, -0.0126701016, -0.0230813399, 0.0025842888, -0.0023996131, -0.0279122405, -0.0094838338, -0.0321709365, -0.0048151189, -0.0773845613, 0.0045514386, 0.0203498453, -0.0073862285, -0.0092867203, -0.0021752552, 0.1041050628, 0.0061273719, 0.0243086126, -0.0516313165, -0.0539103523, -0.0072635612, -0.0027232994, -0.0486555919, -0.0948311687, -0.0292468835, 0.0422428176, -0.0176899936, -0.0775129646, 0.0225820486, 0.0299317036, -0.006431018, 0.0612636767, -0.0773431286, 0.0262855049, 0.0236613788, -0.0027592957, -0.0195429157, 0.0383558832, 0.0487359092, 0.0171317961, 0.0261282101, -0.0470766835, 0.0451971516, 0.0477248766, -0.0638230518, -0.0064873151, 0.0063545653, -0.0051017813, 0.0303163603, 0.0077714832, 0.0148628578, 0.038257733, 0.0044089356, 0.0288597401, 0.0401500687, 0.049670659, 0.0031114509, 0.054536175, 0.0539646633, 0.0391550995, -0.0141706523, 0.0134782149, -0.0430039987, 0.0455621965, -0.0558177754, 0.0225438159, -0.0164814945, 0.0397969075, 0.0047746147, -0.0651138872, -0.0217823684, -0.0066171288, 0.0192592591, -0.0353382342, 0.0065058148, -0.001771141, -0.0541560687, 0.0418351814, -0.002008324, -0.0677141622, -0.0059783584, -0.0509435087, -0.0151998214, 0.1010933891, 0.0449767113, -0.035689339, -0.0218321867, -0.0002210046, -0.0091576995, 0.0083081424, 0.0614906773, 0.0092734722, -0.0007030737, -0.0492628999, -0.0096854353, -0.0449516997, -0.0062704673, 0.045274891, 0.0179745778, -0.0289246198, 0.0422896706, 0.020169396, -0.0554298125, 0.0346238315, -0.0195742901, -0.0302947517, 0.0246920362, -0.0215405151, -0.0092491815, -0.0267360751, -0.0280607529, 0.0296278, -0.0025074347, -0.0120683741, -0.0130018713, 0.0010752381, -0.0248038191, -0.0211112946, 0.0291116778, 0.018801203, -0.0077059534, 0.0123318471, -0.026076192, -0.0129615339, 0.0325609371, -0.031410601, 0.0060991365, 0.0132430959, 0.0432953686, -0.0161545966, -0.0171014071, -0.0381109118, 0.0254035741, 0.0127714174, 0.0297340397, 0.0226774961, 0.073415108, 0.0164654125, -0.0187647343, -0.0180993043, 0.0128873447, -0.035194423, 0.0302108265, 0.0267391969, 0.0562739559, 0.0019423144, -0.0614807568, -0.0574909262, 0.0005253963, -0.0114077115, 0.0063438341, 0.0284552462, 0.0416648574, -0.0290282834, -0.0003827105, -0.0227356404, -0.0208766665, -0.0022627055, 0.0136017706, 0.0464841351, -0.0247969385, -0.0692396685, -0.0286924094, -0.000132353, -0.0328854062, 0.0250879023, 0.0333249234, -0.0445585363, -0.1155830771, 0.0721731782, -0.0141444067, -0.0102303363, 0.006234712, -0.0228671525, -0.0035457369, -0.008568936, 0.0886636749, 0.0513854288, 0.0113700926, -0.0140687134, 0.0727074891, -0.0022503217, -0.0528418384, 0.000887753, 0.0308529753, -0.0586776324, 0.0161753502, -0.0807159245, 0.0709011704, 0.0666852966, 0.0289525427, -0.0092426995, -0.0475984551, 0.0316847935, -0.0186487176, 0.01849287, -0.005171515, -0.0329460688, -0.0435085855, 0.0834917873, -0.0025917836, -0.0982801393, 0.0817184448, -0.0447560363, -0.009460072, -0.0102560958, -0.0367333405, -0.0366100594, 0.0403968319, -0.0080316635, 0.0216427948, 0.0489988402, -0.0448797941, -0.0207769424, 0.0010728951, -0.0054834392, -0.0276218075, 0.0598750003, -0.0869730785, 0.0108183632, -0.0106925908, -0.036535006, -0.0484709628, -0.0381241068, -0.0133195715, -0.010876012, 0.0361201763, 0.0081060417, 0.0379424319, 0.0113420738, 0.0105557777, 0.0563993528, -0.0045875851, -0.0309145451, -0.0234102923, -0.0101006636, -0.0070860279, -0.0425769314, -0.0347253457, -0.0080786794, -0.0095168641, 0.0082293544, -0.010333349, 0.0352359526, -0.0550517254, 0.0041237744, 0.0371919796, -0.0349968784, -0.0414337292, 0.0894697085, 0.0443445295, -0.0334302299, -0.0217956193, 0.0845913216, 0.0362187214, -0.0247139502, 0.0333693214, -0.0336278789, 0.0565673709, 0.0681816265, 0.0462433957, -0.0698545054, -0.0264554899, 0.005444868, 0.0533907786, -0.0168588702, -0.0089169089, -0.0534603745, -0.0924948603, 0.0159637798, 0.0112062246, -0.0198696498, -0.010695735, -0.0136369541, -0.010526482, 0.0271354783, -0.0127414856, 0.03814926, 0.0028392347, 0.0182231534, 0.014521637, -0.0842086226, -0.0351707898, -0.0123494212, -0.0134143187, 0.0254970528, 0.1090246812, -0.0338656567, 0.002109536, -0.0100572081, 0.0384749435, 0.0158304069, 0.040918164, -0.0358936302, 0.0140232798, 0.0167784207, -0.0147720659, 0.0010199536, 0.0051932083, -0.0466662422, -0.0360424034, 0.0412116274, 0.0264834147, -0.0202943161, -0.0177923739, -0.0257681701, -0.0013106724, 0.0253664069, 0.0390841253, 0.0402357616, -0.0409791842, -0.0266130082, -0.0829299241, -0.02758063, -0.0400942639, -0.0330918171, -0.0368812457, 0.0095189521, 0.021367345, -0.0486666262, 0.004007739, -0.001466498, 0.013662775, 0.0291564073, -0.0151551506, 0.008276362, 0.0007590025, -0.0446624942, 0.0158599969, -0.0201110337, 0.0284428205, -0.0288159251, -0.0226713568, 0.052422449, -0.0096259508, -0.0008375912, 0.0075892867, -0.0720356926, -0.078883864, -0.0272047799, 0.0579405166, 0.0286658667, 0.0249830075, -0.0190424733, -0.0701651126, -0.0425987728, 0.0368546657, -0.0123395799, 0.0311836433, -0.0121560739, 0.0496575274, 0.0160039011, -0.0076422398, -0.0757304281, -0.0194787607, 0.0031776272, 0.0350734927, -0.0065223752, -0.0441938266, 0.0362209566, 0.0560281351, -0.0125868395, -0.0144270146, -0.0048212367, 0.0127295554, -0.0152938766, 0.0083366353, -0.0479772165, -0.040870674, 0.0191924013, -0.0026547764, -0.0356197208, 0.0468499437, 0.0175052844, -0.0898417309, 0.056431897, -0.0080830306, 0.0258473828, -0.0203833506, 0.0393277891, 0.0715541914, 0.0012782961, -0.0323270597, 0.0344373919, -0.0113023343, 0.02555608, -0.0035886324, 0.0596139096, -0.0077225347, 0.0171125028, -0.008728249, 0.024784755, -0.0264057592, -0.0542598218, -0.0172521751, 0.0241139904, 0.0156119708, 0.0355291627, -0.0008305157, -0.035966523, 0.0203382242, -0.0305300951, 0.0323338024, 0.023778988, -0.0434470251, 0.0293386914, 0.0205355193, -0.0158306248, -0.0665206388, 0.089705877, -0.0082183201, -0.0102460645, -0.0159263331, -0.0110086286, -0.0470376834, 0.0178268179, 0.0469565094, -0.0096046124, -0.0326356404, -0.0257274471, -0.0683214515, -0.0321489424, 0.0225448776, 0.0067685661, 0.0457969308, -0.0262597688, 0.0354871713, 0.076174885, -0.0164259765, -0.0182320476, -0.0015223004, 0.016332183, -0.0147082554, -0.0233412292, -0.066503033, -5.992404245e-33, -0.0459330902, -0.0526340231, -0.011827481, 0.0185162108, 0.0219179075, -0.0278603081, -0.0538107343, 0.0432594568, 0.0527471751, -0.0561782941, 0.0348566957, -0.0199773889, -0.0052869138, -0.03064695, 0.0469631851, -0.0012249965, 0.0548852421, 0.0400523096, -0.0747715682, -0.0009931764, -0.0355241932, 0.0000266631, 0.0065083159, -0.0626273155, 0.0239513833, -0.0272233784, 0.0050999727, -0.0017506925, 0.0381424502, 0.0248933621, 0.0041332431, 0.0347035304, -0.0006284903, -0.0053248229, -0.0599503405, 0.0170247182, 0.0071093081, -0.0383003876, 0.0217440221, 0.0154244956, 0.0100555243, -0.0889431164, 0.0723462403, -0.0149406604, -0.0533685461, 0.0438287333, 0.0368834399, -0.0129216071, -0.0092631504, -0.0133811664, -0.0530603901, 0.0331217647, -0.0390216, -0.0051754965, -0.0486830696, 0.0462220423, -0.0025225002, 0.0387111902, 0.0219980665, 0.0149752004, 0.0686562136, 0.0464961082, 0.0794157907, 0.010866655, -0.006066395, 0.0161768682, 0.0333652981, 0.0469539315, -0.0285954475, -0.0038101773, 0.0198335815, 0.0119703617, 0.0396077894, 0.0569530204, 0.0319331959, 0.0014327209, -0.0043335934, 0.0362363234, -0.0307494923, -0.0143779665, 0.0378406495, 0.0274412129, -0.0212047752, -0.0265470687, -0.031373553, 0.0018869396, -0.027303528, -0.0536436141, 0.0399500132, -0.0152400704, -0.0189588908, -0.0247542057, -0.0095069567, -0.0122152381, -0.0070997318, 0.0012953287, -0.0526723638, 0.0252642129, -0.0196460877, 0.0178650673, 0.0306465328, -0.0133559741, 0.0097594867, 0.0009641604, 0.0791189522, 0.0377465524, -0.0228631292, 0.0213992652, -0.0917093456, 0.0154218003, -0.0312479138, -0.0196043029, -0.0087136142, -0.0028937594, 0.0074761044, -0.0466565005, -0.0094836466, 0.0401612446, 0.0009721546, -0.0652185082, -0.0526354909, -0.0051470902, 0.0146969426, 0.0301059224, -0.044976633, -0.0259983353, -0.0303981639, 0.0464322455, 0.0367467925, 0.0008753297, -0.0479287207, -0.0003655066, 3.03e-7, 0.0046602292, 0.0659567267, -0.0058361469, 0.0232839976, -0.0023592403, 0.0313922353, -0.0279790368, 0.0041755978, 0.0060012885, -0.010961948, -0.0428883918, -0.0027993137, 0.020811582, 0.0233238302, -0.0689304769, 0.024251014, -0.0111694457, 0.0523131974, -0.0890973732, 0.0197913758, 0.094143182, 0.0259346105, -0.0077685975, 0.0255708452, 0.0083725005, -0.0677604452, 0.0057093371, -0.0290190335, 0.0298715606, 0.0333575569, -0.01131682, 0.0008207723, 0.0025412703, 0.0022904677, 0.0008558123, -0.0444026552, 0.0054004206, 0.0880309418, -0.0123645831, 0.0416856147, 0.0310966428, -0.0117960144, -0.0003284381, -0.0690644607, 0.0373163261, -0.0210982766, 0.0037310552, -0.0247232914, -0.0001458326, -0.0261633806, 0.0096223252, -0.0337697379, 0.0035918695, 0.0058703781, -0.0043617203, 0.0122234831, -0.0400919802, -0.0098065436, -0.0450207926, 0.0082805892, -0.0177308433, -0.0544832721, -0.0636870936, 0.038531784, 0.0268541258, -0.0304039977, 0.0308345556, 3.190005601e-34, 0.0293408912, 0.0043727057, 0.0243170112, 0.024151206, 0.0531599745, 0.0178106632, 0.0096841287, 0.0402819254, 0.0211573895, -0.0258535836, -0.0385476351 ]
http://arxiv.org/abs/2406.19774v1
http://arxiv.org/pdf/2406.19774v1
Direct Preference Knowledge Distillation for Large Language Models
2024-06-28T09:23:40
2024-06-28T09:23:40
Yixing Li, Yuxian Gu, Li Dong, Dequan Wang, Yu Cheng, Furu Wei
cs.CL
cs.CL
In the field of large language models (LLMs), Knowledge Distillation (KD) is a critical technique for transferring capabilities from teacher models to student models. However, existing KD methods face limitations and challenges in distillation of LLMs, including efficiency and insufficient measurement capabilities of traditional KL divergence. It is shown that LLMs can serve as an implicit reward function, which we define as a supplement to KL divergence. In this work, we propose Direct Preference Knowledge Distillation (DPKD) for LLMs. DPKD utilizes distribution divergence to represent the preference loss and implicit reward function. We re-formulate KD of LLMs into two stages: first optimizing and objective consisting of implicit reward and reverse KL divergence and then improving the preference probability of teacher outputs over student outputs. We conducted experiments and analysis on various datasets with LLM parameters ranging from 120M to 13B and demonstrate the broad applicability and effectiveness of our DPKD approach. Meanwhile, we prove the value and effectiveness of the introduced implicit reward and output preference in KD through experiments and theoretical analysis. The DPKD method outperforms the baseline method in both output response precision and exact match percentage. Code and data are available at https://aka.ms/dpkd.
[ 0.0416523181, 0.069976069, -0.0077300803, 0.0166834127, -0.0093139, 0.0045268321, -0.0112383934, -0.0114049297, -0.0486800782, -0.011206707, -0.0222664904, -0.0158311687, -0.0014795756, 0.0190503616, 0.0118745621, -0.0869126171, -0.0015290994, -0.044351276, -0.0104454048, -0.0318001844, 0.0148443887, -0.0078823324, 0.0256616753, 0.020048866, 0.0628822297, -0.0125531917, 0.0034437259, -0.0199096017, 0.0474495478, -0.0050234529, 0.0296655521, 0.0577935316, 0.0241855439, 0.0018835707, 0.0000024787, -0.044087898, -0.0170514043, -0.0137369689, -0.0264490191, 0.0502216183, 0.0003036098, 0.0557061285, 0.0180568192, 0.0086380374, -0.0267099645, 0.0323537365, 0.0306628365, -0.0048967125, 0.0070963954, 0.0234109946, 0.0175962914, -0.0309847631, 0.0082997037, -0.0386651307, -0.006269204, 0.0032302539, 0.0403514989, -0.0196198914, -0.0430195704, 0.0055745179, -0.0399195254, 0.0405798964, 0.0045321281, -0.0259245243, 0.0270220395, 0.0267225429, 0.0171375312, -0.0010059845, 0.0119133163, 0.0590509288, 0.0173576828, 0.0020440707, 0.0294125378, -0.0327867866, 0.0000591968, 0.0269980188, -0.0465934686, -0.0328256898, 0.0253431667, 0.0481850877, 0.0103871226, 0.0165398531, 0.0065301456, 0.0255382098, -0.0471516214, 0.0490928032, 0.0094054546, -0.0484816022, 0.0190060716, 0.0240563545, -0.0547160357, -0.0383487046, 0.0273598339, -0.0159823615, -0.0009503282, 0.0090814997, 0.0250712838, -0.0485993922, -0.0057505392, -0.0143181188, 0.0601779073, 0.0293529201, -0.0007932296, 0.0109109785, 0.0084566753, 0.1033234224, -0.010939437, 0.0505318828, -0.0375079252, 0.0402907953, -0.0510291755, -0.0043962188, 0.0467022136, 0.0216067098, -0.014728697, 0.0119673861, -0.0428955182, -0.0121918572, -0.0508405715, -0.0240789652, 0.0220876019, 0.0293896031, -0.045031853, 0.0003472203, -0.0738889351, 0.1286761612, 0.0012492907, 0.0106424615, 0.0321084931, 0.0291145798, 0.017425064, 0.0018063956, -0.0038557721, -0.0288425386, -0.0257943664, 0.0237661377, -0.012559806, -0.0101433666, 0.0135859745, -0.025794588, -0.0591885075, -0.0834799334, 0.0105724791, -0.1062939912, 0.0205888487, -0.0131715499, -0.0126767894, -0.0567875057, -0.0018387593, -0.0407925025, -0.0058102435, 0.0098994141, 0.0594582446, 0.0192541201, 0.0147556756, 0.0158601273, -0.0107730748, 0.0512857847, -0.001732689, 0.0358694494, -0.0008509883, -0.0096661989, -0.026089849, 0.0191600695, 0.0648326203, 0.0447719395, -0.0786838979, -0.0048053004, -0.0243868884, 0.0192812663, 0.0586552545, 0.0227026585, -0.042926006, 0.0210406464, 0.0798948035, 0.0153136756, 0.0476862788, -0.0589586236, -0.0199899878, 0.0301563051, -0.0013302186, 0.0185954645, -0.0165986791, -0.0069545405, 0.0123993289, 0.0067340028, 0.0668271855, 0.0481684953, -0.015987752, -0.0598524436, 0.0392424129, -0.0098885167, 0.0004420758, 0.051678244, 0.1045765132, -0.0305715334, 0.0007301266, 0.0144215394, 0.0669739544, -0.024395721, 0.0466640554, -0.0686780885, 0.0557638556, 0.071240373, 0.0179549381, -0.0197747704, 0.0237206239, -0.004356558, -0.0462301672, 0.0245157462, 0.0408593044, -0.0330006517, 0.006638594, -0.0336607657, -0.0687778667, 0.0416348167, 0.0292494688, 0.0229525995, 0.0169785582, 0.0213576686, 0.0273169614, -0.056497477, -0.0152821317, 0.0014898297, -0.0356809311, -0.0253164656, -0.0028231002, 0.0013152226, 0.0420251265, 0.0206004381, -0.0046398821, -0.0074089137, 0.0061908122, 0.003978482, -0.0177556705, -0.0589902624, -0.0540318154, -0.0533639751, 0.0451311953, -0.0192838814, 0.0228060614, 0.0599301122, -0.029190544, -0.0392596349, 0.0202276893, 0.0394379646, 0.0810616612, -0.0094094314, 0.0487096757, -0.0230860487, -0.018976653, -0.0744127408, 0.0383483022, -0.0300990418, 0.0100397905, -0.0287061632, -0.022928521, -0.0169169754, -0.0281026457, -0.0457385331, -0.0004270471, -0.006493812, 0.0401113182, 0.0295907874, 0.0068708388, -0.024732627, -0.024216691, -0.0291189793, 0.007475398, -0.0075526852, 0.0105335647, -0.0150536448, 0.0132977059, 0.0114226816, 0.0227019973, -0.0245014206, -0.0100787459, -0.0178185757, 0.0095320158, -0.0346606933, 0.0317234211, 0.0175676178, -0.0579737462, -0.046600543, 0.001987736, 0.0270227194, -0.0141505422, 0.0576584972, -0.0190450754, 0.0796890855, -0.0647051632, -0.0117869098, -0.0078958524, -0.0176838636, 0.0021080857, -0.0291655287, 0.0482323579, 0.052003447, -0.017505914, 0.0043998188, 0.0798665583, -0.0299193896, -0.1321868896, -0.0131016793, -0.0502396673, -0.0274230409, -0.0501396805, -0.0243764631, -0.0333673395, 0.0543124601, 0.0320304818, -0.0409354605, -0.0286915489, -0.0054550297, -0.0326940082, -0.0269283578, -0.0642568171, 0.0363711379, -0.0324873738, 0.0496571213, 0.0006916113, -0.054959178, 0.0600924008, 0.0039467365, 0.0660110563, -0.0733757764, -0.0101993987, 0.027837215, 0.0062808529, -0.0215593483, -0.0085793389, -0.0219487697, 0.0191392414, -0.0580950938, -0.0136508374, 0.0387169793, -0.0471634977, 0.0819846988, -0.0488086939, -0.017894987, -0.0164160151, -0.0272815712, -0.0199347436, -0.0384672955, 0.0218814407, -0.0003641303, 0.0307902303, -0.0253241621, 0.0049162805, -0.0132922949, 0.0227250773, 0.0140345069, -0.0242953151, -0.0084186159, -0.0231139008, 0.0229464844, 0.0661915541, 0.0112755578, 0.0025783719, -0.0404395871, -0.0136815319, 0.0342823006, 0.0442759879, 0.0122616971, 0.0096982988, -0.0102062998, 0.0471773669, 0.0236432031, -0.0175511781, 0.0286081582, 0.0295676719, -0.0618050694, 0.0273624081, 0.0898472965, 0.0052386341, -0.0604819544, -0.0081943953, 0.0174675398, 0.06433516, -0.0186590794, 0.0104323737, -0.0669817254, -0.0113133686, -0.0085471729, 0.0472923294, -0.0058017145, -0.0155193545, 0.0232371427, -0.0949338973, -0.0012224938, 0.0135488408, -0.0158739574, -0.0362460539, -0.0654195845, 0.0089650312, -0.0335097611, 0.0108509166, 0.0092502991, 0.0113669215, 0.0091646668, 0.0278369263, 0.0314143859, -0.0721158311, 0.0283794738, -0.0507373773, 0.0396738425, 0.0850270316, 0.0354093462, -0.0037017013, -0.0043966058, -0.0480107479, -0.0254530516, -0.0558605306, 0.0216749106, 0.0406109989, 0.0221094973, 0.0073302523, -0.0135386735, 0.0250672847, -0.0115383659, 0.0261165835, 0.0268678628, 0.0598346442, 0.0219183415, -0.0342099182, 0.002814942, -0.0242280625, 0.0214181542, 0.0777636841, 0.0171760228, -0.0639125928, -0.0101840431, -0.043151509, -0.0455714874, 0.0067121326, -0.0105540967, -0.0016667298, -0.0301127862, -0.0197677817, -0.0471546352, 0.0140875559, 0.0162611827, 0.0109615708, 0.0063133677, 0.0191228874, 0.0155581329, -0.0350426473, -0.0313104764, 0.0127758151, -0.0105707208, 0.0190064646, -0.0559737757, -0.0220871232, -0.0211916976, -0.0112283528, -0.0560559183, 0.0035899773, -0.0931784809, -0.1076370105, 0.0089940764, 0.0344579294, 0.0212503728, 0.039067626, 0.0241848491, -0.0456316248, 0.0908574909, 0.025517296, 0.0168183614, 0.0264698658, 0.0293680858, 0.0071652415, 0.0035094817, 0.0243844055, -0.0379081294, -0.0057891882, 0.0416311286, 0.0460054763, -0.0189786665, -0.020226704, -0.0050143343, 0.0115892673, 0.0573436096, -0.0232215896, -0.0243587419, -0.0770091191, -0.0081329718, -0.0154364659, -0.00317062, -0.0440338589, -0.0601325966, 0.0683392063, 0.0300942771, 0.0034331521, -0.0129642235, 0.0301134344, -0.0038476852, -0.0627259538, 0.0134827401, 0.0376854204, 0.0002277632, 0.094862625, 0.0133993365, 0.0094985245, -0.0043163188, 0.0205873679, 0.0422761925, 0.0138492929, 0.0478869639, 0.0224825758, -0.0021711125, 0.0249955617, -0.0040160567, -0.0267880093, -0.0556935742, -0.0341160111, -0.0038466521, 0.0014484916, -0.0177174732, 0.0686402395, -0.0225976482, -0.0046534035, -0.0459845178, 0.0186496694, -0.0341573544, 0.0182959549, 0.043972075, -0.001057794, 0.0114088301, 0.0427210666, 0.064485386, 0.0080665676, 0.0275335573, -0.055353377, 0.0126772476, -0.0167760253, -0.0053541414, 0.0443644263, 0.0551687144, -0.0096640196, -0.001568016, -0.0402677953, -0.0640463904, -0.043458309, 0.0032937904, -0.0092231669, -0.0459527671, 0.0220248643, 0.0272601377, -0.0559675507, 0.0059270654, -0.0556268878, -0.0311447103, -0.0166570283, -0.0425952822, -0.0278643947, -7.289449854e-33, -0.0213340092, 0.0100854831, -0.0091931354, -0.0064981035, -0.0424054302, 0.010592619, 0.0023056921, -0.0204696897, -0.0151844351, 0.0023057442, 0.0004697874, 0.0067280321, 0.012769511, 0.0414846316, 0.0344583355, -0.0017731785, 0.0544662662, 0.0067590023, -0.0194403529, 0.0221008677, 0.0559801757, 0.0098974807, 0.0623672828, -0.043376267, 0.0426894389, 0.0071699731, 0.0068933363, 0.0035891526, -0.040184442, 0.0569436923, -0.0272809193, 0.0827942118, -0.0132092303, -0.0625333488, -0.0375181027, -0.0079659596, -0.0385209508, -0.0267444588, 0.0112894541, -0.0243241601, 0.0189894866, -0.0164355189, 0.0367400944, 0.0406725295, -0.0093562892, -0.0460806563, 0.0421682596, 0.0047949366, -0.0229899362, 0.0144969355, -0.0358251818, 0.0131283449, -0.0340828709, -0.0159848779, 0.0435387753, 0.0115619404, -0.0136794429, 0.0288046002, -0.0712968335, 0.0603210218, 0.0847557187, 0.0691190735, 0.0672500655, 0.050499659, 0.0094884075, 0.0476676486, 0.0146026546, -0.0268165898, 0.0332557485, -0.0651431903, 0.0668857619, 0.0308265518, 0.0067072469, 0.0322261564, 0.0597498752, -0.0299104732, -0.0381922126, 0.0108322846, 0.0093517294, -0.0361319892, 0.0150446361, 0.0346012637, -0.0397277437, -0.0664250553, -0.0507957861, -0.0433200374, -0.004832455, -0.0299719796, 0.0509048589, -0.0037417945, -0.0236201752, -0.0338497534, 0.0472527221, -0.0679778084, -0.0342400447, 0.0031234629, -0.0374134518, 0.0293783788, -0.0121614905, -0.0141783869, -0.0985217094, 0.0038892061, 0.020147521, -0.0157782435, -0.0224935338, 0.0399379283, 0.0049271365, 0.0040509319, -0.0206781738, 0.0051934938, -0.0246012509, -0.0381480977, 0.0375816226, 0.0026091528, 0.0239616372, -0.0174645167, 0.0075068232, 0.0025570651, 0.0459170677, -0.0375168584, -0.0162939765, 0.0087756282, 0.0077911792, -0.0025060014, -0.0204935148, 0.0109438663, -0.0235940292, -0.0332391001, 0.0114442343, -0.0185931679, -0.0260422882, -0.0114801349, 3.044e-7, 0.0195194706, 0.0310223661, -0.0265646055, -0.0186866, -0.0348914601, 0.0519663915, 0.0195903163, -0.0101814345, 0.0748860836, -0.0199027658, 0.0131665254, 0.0208108146, 0.0197766926, 0.0157589968, -0.0822926238, 0.0038602559, -0.0324092694, -0.0352856889, -0.0333119407, -0.0518087968, 0.0412785187, 0.0566102155, 0.0692627877, -0.0041733966, -0.0024208417, 0.0445802696, 0.0212039966, -0.0243033431, 0.0092522921, 0.0358321927, 0.017154647, -0.0617193058, -0.0066534625, 0.0275314227, 0.0014159036, 0.0263525769, 0.019848574, 0.0808775499, -0.0029911683, -0.0105330748, -0.0100050569, 0.018655261, 0.0048522619, -0.0907173678, 0.0412972197, -0.0244074762, 0.0189406481, 0.0019666981, -0.0333790816, -0.0533161275, 0.0324140415, -0.0120531665, 0.0077729924, -0.0036352591, -0.0221951157, 0.0195563901, -0.0235862229, -0.0384043343, -0.0075437613, 0.0171720665, -0.0388509072, -0.1022398844, -0.0298468117, 0.0244489703, -0.0216743946, -0.0327345617, 0.019640604, 2.903125286e-34, 0.0294412095, 0.0459509306, 0.0076638204, -0.0391331241, 0.0138971927, -0.0003578304, -0.0520394072, 0.0229159351, 0.0311780199, -0.0699857995, -0.0229785014 ]
http://arxiv.org/abs/2406.19764v1
http://arxiv.org/pdf/2406.19764v1
Belief Revision: The Adaptability of Large Language Models Reasoning
2024-06-28T09:09:36
2024-06-28T09:09:36
Bryan Wilie, Samuel Cahyawijaya, Etsuko Ishii, Junxian He, Pascale Fung
cs.CL
cs.CL
The capability to reason from text is crucial for real-world NLP applications. Real-world scenarios often involve incomplete or evolving data. In response, individuals update their beliefs and understandings accordingly. However, most existing evaluations assume that language models (LMs) operate with consistent information. We introduce Belief-R, a new dataset designed to test LMs' belief revision ability when presented with new evidence. Inspired by how humans suppress prior inferences, this task assesses LMs within the newly proposed delta reasoning ($\Delta R$) framework. Belief-R features sequences of premises designed to simulate scenarios where additional information could necessitate prior conclusions drawn by LMs. We evaluate $\sim$30 LMs across diverse prompting strategies and found that LMs generally struggle to appropriately revise their beliefs in response to new information. Further, models adept at updating often underperformed in scenarios without necessary updates, highlighting a critical trade-off. These insights underscore the importance of improving LMs' adaptiveness to changing information, a step toward more reliable AI systems.
[ 0.0435310304, 0.0801622793, -0.0179234874, 0.0297657959, -0.0851612985, 0.0100109205, -0.0266016833, -0.0122499121, 0.0248302966, -0.0330027938, 0.0142045869, -0.0325330794, 0.0131958108, 0.0430698842, -0.0108385971, -0.0336628146, 0.0376014858, -0.037046276, 0.0529994816, -0.0184936263, -0.0276207607, 0.016933823, -0.0224084891, 0.0031155762, -0.0034996814, -0.0298681147, -0.0357090421, -0.0085174143, 0.0280665774, -0.0459158458, -0.0221523326, 0.0500667281, 0.0531462133, 0.0344297849, 0.000002087, -0.0658751726, -0.0020082216, -0.0297275279, -0.0775297508, 0.0125351483, 0.0304500591, 0.0089266617, 0.0014414582, 0.0120748775, -0.0507822856, -0.0120718572, 0.0206115916, 0.1057516187, 0.0463079661, 0.0844485313, 0.0092067057, -0.0261084717, -0.0028672609, -0.017983146, 0.026204383, -0.0308242198, 0.0651674271, 0.03668309, -0.0046721981, 0.0171225742, 0.0026549315, -0.0067717368, 0.0140332328, -0.0055730161, -0.0801396295, 0.0416838117, -0.0242546815, -0.0390934646, 0.0124526061, 0.0298778694, 0.054519631, -0.0460353531, -0.0261118263, -0.005600539, 0.0125931576, 0.0381217785, -0.0307027828, 0.033763919, -0.0448516198, 0.0152970022, 0.0160830058, -0.0336893685, 0.0471184999, 0.0320314057, -0.0405163243, 0.1021477357, -0.0126214502, -0.0326018855, 0.0013661548, -0.0140119595, -0.057073094, -0.0857071802, -0.0237036515, 0.0075448668, -0.0371964313, 0.0575016662, -0.0449604541, 0.0388844572, 0.0278417468, -0.0506126471, -0.0165305603, 0.0256058201, -0.0271643866, 0.0425045043, -0.0333698988, 0.0234648492, 0.0059920037, -0.0070058703, 0.0265175067, 0.0176448524, -0.0727109313, -0.0061886688, 0.0082456088, 0.0081028733, 0.0064786719, -0.0014585207, -0.0360114612, 0.0475019552, -0.0416267514, 0.0514341444, -0.0055836099, 0.0177462138, 0.0022824949, -0.0307985079, -0.110965237, 0.0202092435, -0.0050681257, 0.0450716913, 0.0269621834, -0.0679509416, -0.0138772763, -0.025125213, -0.008829724, 0.0142050618, 0.0124382544, 0.0245842114, 0.025558915, -0.0124416556, -0.0585050434, -0.0176417883, -0.0283506606, -0.0730665103, -0.0375923999, -0.0519037694, 0.0246610846, -0.0005860585, -0.0072017191, -0.0454026647, 0.0112167113, 0.0256947596, -0.0502525866, 0.0854166001, -0.0100604296, 0.0099882567, 0.0351140276, 0.0022778516, -0.0338555761, 0.0756407976, 0.0165281538, 0.0221507307, 0.0410068817, 0.0348967686, -0.0060395715, -0.0219313595, -0.0100830505, 0.0071488218, -0.0239876863, 0.0236054361, -0.0265202168, 0.0258761775, 0.0118941879, 0.0391755924, -0.019350877, -0.053183347, 0.0760780945, 0.0094623379, -0.0147502655, -0.0169039406, 0.0368229151, 0.0046497881, 0.0265193786, 0.0193907171, -0.0870076567, -0.0067521795, -0.0184523184, 0.0005284844, -0.0122203426, 0.0234763026, 0.0028776312, -0.0537430942, -0.0441846028, 0.0219091475, -0.0064954995, 0.0156926345, 0.0296658948, -0.0060903225, 0.0017450588, 0.0022646906, 0.0370873846, -0.0210032444, -0.0249245409, -0.0627371743, 0.0324201249, 0.0867963582, 0.0501284264, -0.0373648889, -0.0297235884, -0.0024255365, 0.0177641865, 0.0365192108, 0.0756807551, 0.0160374213, 0.0068463949, -0.0041208235, -0.0097103845, 0.0018241887, 0.0418372676, 0.0242497586, 0.0160533991, -0.0124439979, -0.0065715383, -0.0216406342, -0.0091068875, 0.0624483526, 0.0042325859, 0.0056268629, -0.0168533865, -0.0140575925, 0.0123866256, 0.014000074, 0.0058352607, -0.004648312, 0.0463956706, 0.0377727412, -0.0237026028, 0.0443128869, -0.0235191751, -0.0262196362, 0.0485645533, -0.0132370377, -0.0280355625, -0.0065612798, -0.0403959937, -0.0140026081, 0.0065807998, -0.0028777739, 0.0384080596, -0.0141281178, 0.0393693261, 0.0018725982, 0.004859054, 0.0050367634, 0.0782407448, -0.0202547256, -0.0164073762, 0.0170963816, 0.0165403113, 0.0009989121, -0.0553979315, 0.0043687779, -0.0107557373, 0.0106565794, -0.0271637961, 0.0390669107, -0.0277515221, -0.0417871363, -0.0098439772, -0.0667988658, -0.0507722385, -0.0044758762, -0.0004986306, 0.0166117381, -0.0305634495, -0.0223292056, -0.0080688354, -0.0112087131, 0.0114046838, 0.0108174393, 0.0513412058, 0.0231335387, -0.038635429, -0.0070600426, -0.0204337277, 0.0244377069, -0.0156583171, 0.0501150191, 0.0218098126, -0.0004836225, -0.0948081613, -0.0047108494, -0.0761971697, 0.0154638886, -0.0158625469, 0.0067797131, 0.0196718071, -0.0042805113, 0.0626756549, 0.032103207, 0.0156841129, 0.0103435405, 0.0916414186, 0.0246052686, -0.0434355922, 0.0100366147, -0.0276625156, -0.0201691445, -0.0325403661, -0.0763910115, -0.0015760643, 0.0188542549, 0.0235253144, 0.0051670223, -0.0624284185, 0.0362563841, 0.0089594368, -0.0399137139, -0.0133225154, -0.0457674339, -0.0233183019, 0.0728488788, -0.0408514738, -0.0624213442, 0.1071382836, -0.0191824157, 0.0405640118, -0.0410399772, 0.0032068924, -0.0079683103, 0.0636942536, 0.0209221598, -0.0115416702, 0.0288009159, 0.0308073331, -0.0228622388, 0.0034810146, 0.0051071197, -0.0284543615, 0.0538750775, -0.0911149383, 0.0016398593, 0.0434638299, 0.0066125868, -0.0649437457, -0.0296956189, -0.0344920978, -0.0270162914, -0.0255269725, -0.0282358918, -0.0255340766, -0.0275976118, 0.0431496054, 0.0310765412, 0.0122823603, -0.0252823085, 0.0040172036, -0.0480208434, 0.0472129099, 0.034276668, 0.0444436148, -0.0177781582, 0.0449610278, 0.0397180617, 0.0518725254, -0.0108513432, -0.0408975556, 0.0027874766, -0.0302104726, -0.0005349817, 0.0124981301, 0.0219272524, 0.0356108919, -0.024725927, 0.0012243483, 0.1051067337, 0.034306515, -0.0387552902, 0.013935972, -0.0438189879, 0.0476806238, 0.0244697966, 0.0166765805, -0.1053901389, -0.0294769201, 0.0169924852, -0.0123247812, -0.0114055118, -0.0680306703, -0.0310777426, -0.0648530722, 0.0286843963, -0.0277371816, 0.0147678955, -0.0027698993, -0.0793022662, 0.0334603153, -0.0261392538, 0.0105923284, 0.0231646504, -0.0004920122, -0.0147067616, -0.0019002395, -0.0052352645, -0.0631320775, 0.0187367797, -0.0352491997, 0.0482854508, 0.0252161119, -0.0015328713, 0.0060404125, -0.0632142127, -0.009396649, 0.0199880563, 0.0282429233, -0.0084450692, 0.0254272614, -0.0167580415, 0.0187109597, 0.0087866485, -0.0072719189, -0.038147077, -0.0574003793, 0.0296443123, 0.085106276, -0.0306249931, -0.0440906249, 0.0084464112, 0.0070249061, -0.0215216503, 0.0954700485, 0.021669738, 0.0011626245, -0.0012870297, -0.0424019881, -0.0117456103, 0.0193177108, 0.0178311188, 0.0037281213, -0.0167033952, -0.0049375957, -0.0726805627, -0.0256842505, 0.011754591, -0.0110927885, 0.0024395883, -0.0296502355, 0.0181066766, 0.0041115968, -0.0556560829, 0.0254560821, -0.0379573368, -0.0024049412, 0.0018336765, -0.0021803654, -0.0114226574, -0.0282111857, -0.0084743211, -0.0029883718, -0.0696624219, -0.058580704, 0.066126667, 0.0260555223, 0.0296454262, 0.0270315334, -0.0213749018, -0.021731019, 0.0077172085, -0.0180465095, -0.005842736, 0.0533245988, 0.0261176564, 0.0337322839, -0.0073834322, 0.0419973582, -0.0200960934, 0.0252312478, 0.0097017996, 0.0265704934, -0.0305331014, -0.0834440067, 0.0481579416, 0.011344607, 0.0206289385, 0.0112718167, -0.0260458551, -0.0131748552, 0.0174712241, -0.0198735278, -0.0177489519, 0.0232273061, 0.0099878479, -0.001652433, -0.0105502922, -0.0191012081, -0.0240911134, -0.0435489938, 0.0018037634, 0.0076436796, -0.0339295603, 0.0615944229, 0.0426356606, 0.0047310856, -0.0151060494, -0.0317705534, 0.0024055871, -0.0535213836, 0.0363760032, 0.0123276478, 0.0617410615, 0.050865259, -0.0591145791, -0.0270167366, 0.0052426988, -0.0981411636, -0.0617041029, 0.0194889475, 0.003156658, 0.0127856219, 0.0306464564, 0.0408508293, -0.0566307008, 0.0089173578, -0.0113441097, -0.0014494038, 0.027505096, -0.025810834, 0.0305661, 0.0215771422, -0.036471013, 0.0600513034, 0.0512935743, -0.029046433, 0.0833804607, -0.0337796696, -0.0407619029, -0.0309599694, -0.0412440635, -0.0520780049, 0.0370076001, -0.0227861237, -0.0012875298, -0.0508126989, -0.0635440871, 0.0071637225, 0.0418966785, 0.0366481841, -0.0312195458, -0.0353513397, 0.096581392, 0.0190689359, -0.0279820375, -0.0221421588, -0.0108417943, 0.0036495752, 0.0180248395, -0.0472239442, -6.561982686e-33, 0.0000067836, -0.0272095818, 0.0159396287, -0.0415279157, -0.0066584796, 0.000674707, -0.0212592557, 0.0152116287, -0.0365258306, 0.0472829379, -0.022686379, 0.0425399691, 0.014520905, -0.0027404383, 0.0154514201, -0.0276122689, 0.0465644784, 0.009502966, -0.0380434506, -0.0341756716, 0.0712364092, -0.0154211521, 0.0460125431, -0.0601329915, 0.0820783898, 0.0295721926, -0.0268594921, 0.0418407694, -0.0704053044, 0.0354301222, -0.0248575825, 0.0118627958, 0.0370599441, -0.0245790705, -0.0011874138, 0.008841129, -0.0340080075, -0.0288107581, 0.0593488216, 0.0034120833, -0.0213283822, 0.007673718, 0.0241380055, 0.0146743832, -0.0149576468, 0.0381818898, 0.0129657481, -0.0447050557, 0.0133910617, 0.0530926101, -0.031367369, 0.0396206193, 0.0173374154, 0.004991285, -0.0484992862, 0.0360972062, -0.0248250216, -0.0268339925, -0.0661881268, 0.0189455003, 0.044158522, -0.0053181364, 0.0570498481, -0.0170829669, -0.0004997647, 0.0977059454, 0.0255351514, 0.0232468862, -0.0607672483, -0.0414348133, 0.0142208012, 0.0350302644, 0.0334951915, 0.0648162812, 0.0203178134, 0.0097493939, -0.0497531667, 0.009538441, 0.0266555995, 0.0648948699, 0.0637834296, 0.0256826822, -0.0412210003, 0.0009132683, -0.0736479312, 0.0121577047, -0.0574878603, -0.0318407901, 0.0107460711, 0.0242391974, -0.0287160426, 0.0101535851, -0.0051190774, -0.0134820417, -0.0112129729, -0.0002997297, -0.0039893389, -0.024560716, 0.0030016117, 0.0014992353, -0.0249757599, 0.0394901782, 0.0275990199, 0.0141178379, 0.0054493803, -0.0045352289, 0.014798563, -0.0061765481, -0.0536012501, 0.0007416529, -0.0381697714, 0.0112507604, -0.020540949, -0.0300149713, 0.0559694879, 0.0343696736, -0.0243157428, 0.011079262, 0.0290207341, -0.0236840378, -0.0384531245, 0.0387574024, 0.0089754267, 0.0397984721, -0.0023130807, -0.016274225, -0.0151095027, -0.0096339546, -0.0070571578, -0.0395902656, -0.0067894058, 0.0497343838, 2.855e-7, 0.0051387977, 0.0730234981, 0.0059429193, 0.0142269628, 0.0200828388, 0.037710458, -0.0274964646, -0.0198023859, 0.0431107022, -0.0506414808, -0.0063287294, 0.0424331017, 0.032046143, 0.044970829, -0.0371791422, -0.0540571064, -0.0517753102, -0.0162622575, -0.0384114347, 0.01250167, 0.0897362754, 0.0852360278, 0.0555667616, -0.0010023048, -0.0044192169, -0.0029661357, 0.0390474238, -0.0405452475, -0.0150163416, -0.0219480079, 0.0462658592, -0.0201703962, 0.017430909, 0.0361650549, -0.0011226999, -0.0170507152, -0.0629528239, 0.0403852761, -0.0071884221, -0.0030034061, -0.0439746007, 0.0087290369, 0.0133841652, -0.0552618429, 0.0692128763, -0.0409271009, -0.0320293419, -0.0260634329, -0.0169867612, -0.0379146859, 0.0055430722, -0.0008083979, -0.0424761698, 0.0037418576, -0.0069130813, 0.0319428444, -0.0320622511, -0.0843522102, -0.0033160413, 0.0052595171, -0.050760746, -0.036479, -0.0238490514, -0.0160499588, 0.0490126088, -0.0640754849, 0.0335322432, 2.328111791e-34, 0.0290255677, 0.0064651803, -0.024601208, 0.0133104632, 0.0669636503, 0.0050865686, 0.0524166301, 0.0341368765, 0.0184972398, -0.086826697, -0.0020283235 ]
http://arxiv.org/abs/2406.19760v1
http://arxiv.org/pdf/2406.19760v1
Learning Interpretable Legal Case Retrieval via Knowledge-Guided Case Reformulation
2024-06-28T08:59:45
2024-06-28T08:59:45
Chenlong Deng, Kelong Mao, Zhicheng Dou
cs.IR
cs.IR, cs.CL
Legal case retrieval for sourcing similar cases is critical in upholding judicial fairness. Different from general web search, legal case retrieval involves processing lengthy, complex, and highly specialized legal documents. Existing methods in this domain often overlook the incorporation of legal expert knowledge, which is crucial for accurately understanding and modeling legal cases, leading to unsatisfactory retrieval performance. This paper introduces KELLER, a legal knowledge-guided case reformulation approach based on large language models (LLMs) for effective and interpretable legal case retrieval. By incorporating professional legal knowledge about crimes and law articles, we enable large language models to accurately reformulate the original legal case into concise sub-facts of crimes, which contain the essential information of the case. Extensive experiments on two legal case retrieval benchmarks demonstrate superior retrieval performance and robustness on complex legal case queries of KELLER over existing methods.
[ 0.0574691221, 0.045387622, -0.0259528086, 0.0266152844, -0.0689662471, 0.0163247809, 0.004485338, 0.0305295885, -0.0200851504, -0.0688259304, -0.0129657434, 0.0036646242, -0.0411304757, -0.0076390328, -0.0340521447, -0.0385043882, 0.0295131914, 0.0215365309, 0.083442308, 0.0204907395, 0.0259253234, -0.0035359003, 0.019929396, 0.0088509312, 0.0070751826, -0.0070714038, -0.0172603186, 0.0159766264, -0.0401161835, 0.0020643536, -0.0102343196, 0.0522425994, 0.0378320701, 0.0150510343, 0.0000013689, -0.0509159602, -0.0237743091, -0.0230418872, -0.0066529238, 0.0373880602, 0.0314551592, -0.0538701341, -0.0013576538, -0.0080562392, -0.0243522227, 0.0106792292, -0.0413778014, 0.0420758016, 0.0473366305, 0.0740532503, 0.0131404232, -0.0804357827, 0.0234680232, -0.0222174767, 0.0069390675, -0.044415962, 0.0365491435, 0.0379780792, 0.0382274054, 0.0186383743, 0.0290165171, 0.0312697813, 0.0105228592, -0.0592036769, -0.0184183773, -0.026244821, -0.0536151864, 0.0177234113, 0.0652611107, 0.0565006696, 0.0487968698, -0.0389071442, 0.0086871991, 0.0261306483, 0.0617550425, 0.037003383, -0.0541924387, 0.0846787766, -0.0336475596, 0.0010674287, 0.0050909924, 0.0208470728, -0.011337053, 0.0258776248, -0.0379511043, 0.0371313095, -0.0011899843, -0.0299801659, -0.0241892431, -0.0284561105, 0.0386795588, -0.0037341281, 0.069946453, 0.0397922695, -0.0040523736, 0.0293475557, -0.0035279272, -0.0455130301, 0.0766430423, -0.0730294511, -0.0002957995, 0.0007479319, -0.0027523537, 0.0850263387, -0.0256748851, 0.0046592969, -0.0001072033, -0.0249842294, -0.0474444926, -0.0434126295, -0.0317073204, -0.020541789, -0.037403442, 0.051016029, -0.1052202582, 0.0084382724, 0.0148957279, 0.0214549489, -0.0049581379, -0.0009178983, 0.0115427244, -0.0243949685, -0.0228020139, -0.0525209829, -0.0447624251, -0.0227338541, -0.0327418, 0.0289429333, -0.0119888093, 0.0053273696, -0.0158267859, -0.0001043024, 0.0152245909, -0.00849583, -0.0194326099, 0.0503018536, -0.0145764463, -0.0122344205, -0.0469829254, -0.0787964687, -0.0076084295, -0.0286374427, -0.0552775972, -0.0578187034, -0.0039957496, -0.0231618285, -0.0363845788, -0.0670259669, 0.0024366013, 0.0382761136, -0.0393552147, 0.0401105359, 0.0004669636, -0.0125009418, -0.000666825, 0.0479650944, 0.0309343003, 0.0208987799, -0.0161459502, 0.0544042923, 0.0363508873, 0.0088632414, 0.0176305287, 0.0028504154, 0.0205137264, 0.0226418097, -0.0029263657, 0.0305593647, -0.0029351781, 0.0563940369, 0.0524212234, 0.0206877943, -0.0065217162, -0.0112007931, 0.02340132, 0.0502122939, 0.0656951889, 0.0443466567, 0.0032351546, 0.0217964463, 0.025180826, -0.0045967242, -0.0324948803, -0.0008535801, -0.025974052, 0.0259659048, -0.0686479956, -0.0033857913, -0.0163685605, -0.0471112952, 0.0140442327, 0.0209659915, -0.0244243853, 0.00451027, 0.0442915969, 0.0119218947, -0.0115029002, 0.0498598255, 0.026897721, -0.0395532362, 0.0091120331, -0.0387241654, 0.0016910465, 0.0555530973, 0.0474370942, -0.0475781374, -0.0130392825, 0.0221121516, -0.0114561571, 0.0235765465, 0.0007812023, -0.01396959, -0.0338706188, -0.033658348, -0.0470092595, 0.0245201439, 0.0319592096, -0.0080912467, 0.0071887802, 0.008033636, 0.0568662062, -0.070103161, 0.0091902483, 0.009699123, -0.0014031189, -0.0297219213, 0.0128572285, -0.0081876945, -0.0024775276, 0.0242585484, 0.0205599666, -0.0062837028, 0.0200593621, -0.0014299571, 0.0082680956, -0.0102702472, 0.0129774893, -0.0147167137, 0.0361947753, -0.0298210252, 0.0199806578, -0.0241669938, -0.0412831642, 0.0004153201, -0.0139523651, -0.010598084, 0.0220350325, -0.0401519127, -0.0072536115, -0.0319293104, -0.047439415, -0.0657531768, 0.0579989851, 0.0122690992, -0.0529782772, -0.0167318899, -0.0306663215, 0.0155290663, -0.0294840001, -0.0142810773, -0.0331007577, -0.0024317368, 0.0234177075, 0.0227657761, -0.0379603207, -0.0485552028, -0.0156540535, -0.0641664192, 0.0198258068, -0.0318560526, -0.012942858, -0.0040304479, 0.0172024593, -0.008017852, -0.0284325555, -0.0127257323, -0.0496659204, -0.0104251541, 0.0088291848, 0.0027759052, 0.0172873586, -0.0217711553, -0.0223892462, -0.0359915942, 0.0062788557, 0.0566028729, -0.0073050512, 0.00402667, -0.0423337854, 0.0903428718, -0.0128441099, -0.0215127785, -0.0452926643, 0.0137979016, -0.0225476883, -0.0320130549, -0.0299734119, 0.0391726494, 0.0546912476, 0.0368367657, 0.0235402267, -0.0111490162, -0.0706667677, -0.0145962117, 0.0104330871, 0.0047888868, -0.03099069, -0.0031043685, 0.0478607081, -0.0032232674, -0.0000447894, 0.0103616193, -0.0019055557, 0.0038743087, -0.0002151674, -0.0164651554, -0.0588016585, -0.0296792593, 0.0136883399, 0.031488467, 0.00445882, -0.0509808734, 0.0418111905, 0.0281110276, 0.1016116962, -0.0273516662, -0.014396077, -0.0617557168, 0.103873767, -0.0124356076, 0.0070575918, -0.0538575649, -0.0632361919, 0.0426728502, -0.0122749871, 0.0943578556, -0.0644089803, 0.1026984751, -0.0259650908, 0.0410019904, -0.0097139925, -0.0523060299, -0.0266932957, -0.0553919189, 0.003057291, 0.0147602772, 0.0180007257, 0.0164684784, -0.0590202883, 0.0136753796, 0.0272855647, -0.0060285712, 0.0045322967, -0.006791295, -0.0185738541, 0.0352471508, 0.0114606954, -0.0391805246, -0.013243123, 0.0103052966, 0.008085575, 0.0186764207, -0.0123823928, -0.0176438503, 0.024632195, 0.0010043256, 0.0141124362, -0.1046281308, -0.0166648626, 0.0092062913, -0.019746542, -0.0626604408, 0.0163826868, 0.0972117186, 0.0286013, -0.0416734889, -0.0340110883, -0.0212628432, -0.0144557506, 0.0209333226, 0.0330946073, -0.0622263476, 0.0245863125, 0.0158879906, 0.0118559878, -0.026928518, -0.0381533653, -0.0101490896, -0.0756708756, 0.0829961672, 0.0303908065, 0.0002247535, -0.0732724741, -0.0712509975, -0.0068950821, -0.0113420784, 0.0071984581, 0.0632486343, -0.0622831285, -0.0009571257, -0.0079339901, -0.0253955107, -0.0071505941, 0.0025257296, -0.0529864505, 0.0230167825, -0.0078136967, 0.0234913751, -0.0194863398, 0.0053419345, -0.023837572, 0.0102769323, 0.0274211783, -0.0043131714, 0.0235306714, 0.0140729798, 0.0260191336, -0.0764860362, 0.0165713727, 0.022034429, -0.0242744442, 0.0551799461, 0.0375536345, -0.0396821462, 0.0045260885, -0.0203201231, -0.056062445, -0.0193848629, 0.056491781, 0.0138320215, 0.0553580672, -0.0075457827, 0.003889126, -0.0411398821, -0.0106853684, -0.0313591771, 0.0217865873, -0.0332441591, 0.0379888415, -0.0155032249, -0.0139460098, 0.011472607, 0.0529758558, 0.0102279373, 0.0510272756, 0.037475124, -0.017094193, -0.0801007301, 0.0319948457, -0.0503178649, -0.0107579287, 0.0004180188, 0.0421710238, 0.0321646519, -0.0197127312, -0.0132531691, -0.0143448804, 0.0493754484, 0.0113312723, -0.0109867277, -0.0216305796, 0.0195678696, 0.0237993319, -0.032491006, -0.0710206702, 0.0194260571, 0.0285268966, -0.034613844, -0.016121326, 0.0304934513, -0.0416468978, -0.0212375335, 0.008588898, -0.0302030109, 0.0312117506, 0.0101254759, 0.0228929315, -0.0529908724, 0.0159604549, 0.043193832, 0.0637259334, 0.0256652012, 0.0249572713, -0.0148527743, -0.02005147, 0.0127579272, -0.0664693415, -0.0262421798, 0.0050298064, 0.0256079286, 0.045691058, -0.0055659302, -0.032419011, 0.0565691628, -0.0142111285, 0.0014023246, -0.0868401751, 0.0276086982, 0.0133655602, -0.0234090202, 0.0185430292, -0.0539413579, -0.01652156, 0.0522284172, -0.0274249576, 0.0663942918, -0.0095801195, 0.0175383929, 0.0109703271, 0.0082799587, -0.054256767, 0.0046476363, -0.0554965101, -0.0428259633, -0.001521114, 0.0386250727, 0.0404770449, -0.0270620044, -0.006225395, -0.0036287303, -0.0152683593, -0.0000054175, 0.0196334962, 0.0178403426, -0.0253250897, 0.0321421362, 0.0342958011, -0.0091266483, 0.0345737301, 0.0361682624, 0.0067820936, 0.0205623545, -0.0348883048, -0.044392556, 0.0004206277, -0.021464508, 0.0198525488, 0.0507580042, -0.0532972813, -0.0681460276, -0.0699850246, 0.0059497659, -0.0250817984, 0.0056457212, -0.0023432379, 0.0264010131, 0.0124676861, 0.0967014059, 0.0336852483, -0.0245318767, -0.0360738821, 0.0475509576, -0.0179169569, -0.0189789161, 0.0073822653, -4.792386878e-33, -0.0141586894, -0.038902808, 0.0151305832, 0.0109668225, -0.0214283038, -0.0080106491, 0.0093853595, -0.0152690094, -0.0348446295, 0.0220906287, -0.01071731, 0.0461042337, 0.0222582109, -0.0209838953, 0.0051637487, 0.0086255968, 0.0255297497, 0.0367607102, 0.0064545008, 0.0252339244, -0.0006642405, 0.0482195653, -0.0052186889, -0.1019376293, 0.0270163585, 0.0243417863, 0.0121284472, 0.0044768341, -0.0124079147, 0.0563731864, 0.0138406046, 0.0247977991, 0.0442014746, -0.0642793849, 0.0079343589, 0.0207694806, -0.0903497413, 0.0349059291, 0.0256998297, -0.0204517953, 0.0233514607, -0.0387538373, 0.044384975, 0.0025330845, 0.0015080934, 0.0016281751, 0.0399687737, -0.0523958951, -0.0712925345, -0.0577923805, -0.0560593642, 0.053729292, -0.0152137373, 0.0510571487, 0.010582868, -0.0610068217, 0.0049186554, 0.066452533, -0.0401505977, -0.0066813589, -0.0226628631, 0.0077992603, 0.0281450134, -0.053566169, -0.024215728, 0.0478171185, -0.0179879796, 0.0196479801, -0.0554949157, -0.0177672449, 0.0263672974, 0.0852373242, 0.0219518002, 0.0621054769, 0.0153667321, -0.0397323184, -0.0702662617, -0.0267392322, 0.0197848026, 0.0517508537, 0.015796965, 0.0110889617, -0.0653156564, 0.0004765981, -0.0420175306, -0.0132353688, -0.0229582414, 0.0076639601, 0.0161548667, 0.020707665, 0.0373505354, -0.043461334, 0.0042714197, -0.0199142341, 0.0258854609, 0.0540736616, 0.0140058696, 0.0090387659, -0.0341319926, 0.0246049706, -0.0087174261, -0.0455348492, 0.0119087622, -0.0258412641, -0.0332849473, -0.024421325, 0.033890266, -0.0632753, -0.0314365439, -0.0057454477, 0.0163719319, -0.0076449271, 0.0068218294, -0.0228320025, 0.0067156218, 0.0438627861, 0.0283214189, 0.0138156414, 0.0342727639, -0.0174371693, -0.0144457407, -0.0480970182, 0.0188352652, -0.0225449819, 0.0134760197, 0.0086319437, 0.0160465818, 0.0522115603, 0.027403228, -0.0108655794, 0.0245063398, 0.0722137094, 2.18e-7, 0.0840355679, 0.0553446822, -0.0296690855, 0.029000489, -0.0277125072, 0.0138516072, 0.0311570652, 0.0163504779, 0.0453045852, -0.0287229884, 0.0265585762, 0.0290387068, 0.0228035022, 0.0246221144, -0.0561397448, -0.0444056094, -0.0271777511, -0.0755562112, -0.0630242601, 0.0007729817, 0.0651066601, 0.081712611, 0.0176226031, 0.0016815953, 0.0085512009, -0.0712061971, 0.0517668575, -0.0243298095, -0.0489366837, 0.0116082188, 0.0930871814, -0.0002660573, 0.00047128, 0.0168153234, 0.0098453974, 0.0595160946, -0.0106615974, 0.0503728427, 0.0121918032, 0.0751248226, -0.0256445408, -0.0853747204, 0.0161192529, -0.0522449799, 0.0379281044, 0.0053300289, 0.0122699486, 0.0246951245, -0.0381246284, -0.0247751959, -0.0087893046, 0.0248604082, -0.0092046279, -0.0082972934, 0.0227011368, 0.0014309839, 0.0340055861, -0.0998624563, 0.0197694153, 0.0348850489, -0.0228122696, 0.0178110804, -0.0004458601, -0.0264306199, 0.0664996579, -0.0619001575, 0.0530388393, 1.494242386e-34, 0.0402799435, 0.0104527511, 0.0039142896, 0.0371776745, 0.0321999975, 0.0492156856, -0.047825411, 0.0159293544, -0.0122723142, -0.102145426, 0.0356831811 ]
http://arxiv.org/abs/2406.19759v1
http://arxiv.org/pdf/2406.19759v1
Breaking the Script Barrier in Multilingual Pre-Trained Language Models with Transliteration-Based Post-Training Alignment
2024-06-28T08:59:24
2024-06-28T08:59:24
Orgest Xhelili, Yihong Liu, Hinrich Schütze
cs.CL
cs.CL
Multilingual pre-trained models (mPLMs) have shown impressive performance on cross-lingual transfer tasks. However, the transfer performance is often hindered when a low-resource target language is written in a different script than the high-resource source language, even though the two languages may be related or share parts of their vocabularies. Inspired by recent work that uses transliteration to address this problem, our paper proposes a transliteration-based post-pretraining alignment (PPA) method aiming to improve the cross-lingual alignment between languages using diverse scripts. We select two areal language groups, $\textbf{Mediterranean-Amharic-Farsi}$ and $\textbf{South+East Asian Languages}$, wherein the languages are mutually influenced but use different scripts. We apply our method to these language groups and conduct extensive experiments on a spectrum of downstream tasks. The results show that after PPA, models consistently outperform the original model (up to 50% for some tasks) in English-centric transfer. In addition, when we use languages other than English as sources in transfer, our method obtains even larger improvements. We will make our code and models publicly available at \url{https://github.com/cisnlp/Transliteration-PPA}.
[ -0.0168744605, 0.0584661476, -0.0068477876, 0.0184526071, -0.0320593119, 0.0287244134, 0.0300090816, -0.0223115869, -0.0256840792, 0.0124313133, -0.0769701228, -0.0670945793, 0.0383952707, -0.0235731136, 0.0415163822, -0.0362671837, 0.0497613177, -0.0309989285, -0.0424150564, 0.0061310302, 0.0308541749, 0.0329250954, -0.013462659, -0.013139518, -0.0106353415, -0.0051362752, 0.0095175831, -0.0053880881, 0.0616948381, 0.046172943, -0.0235948637, 0.0394244418, -0.0171596874, 0.022704374, 0.0000017027, -0.0578492954, -0.0363487676, -0.0241610408, -0.0127604594, 0.0114843231, 0.0507988706, -0.0500961244, -0.0233790074, 0.008309654, 0.024441909, -0.0385443158, 0.0984593257, 0.0059293862, 0.0218770038, 0.0777922869, -0.032316871, -0.0411616601, 0.0264411177, -0.0245903768, -0.0225682091, -0.0623662174, 0.0074421731, 0.011712811, -0.0411883779, -0.038141802, -0.0324862599, 0.0509439968, -0.0269219447, 0.0221703257, -0.0230301637, -0.0104013244, -0.009876499, -0.0277157091, 0.0257457588, 0.0657368451, -0.072719492, -0.0515371673, -0.0268624872, -0.004732924, -0.0045927456, 0.0194633193, -0.0267782453, -0.0021171761, 0.0000837292, 0.0170832835, 0.0329024792, 0.0224563666, 0.0527915582, -0.030558208, -0.0408464484, 0.0034904538, 0.0808505118, -0.0265729707, 0.0257247072, 0.0296268873, 0.0359465554, -0.0287284963, 0.0304992143, 0.012959036, 0.0034940313, 0.0121491076, -0.0733837858, -0.0465618521, -0.0252718348, -0.0001159329, 0.0727256909, 0.0864601061, -0.041856572, 0.0214062724, -0.0522216223, 0.0671924204, -0.0264522918, 0.0297563504, -0.0433163829, -0.0252753738, -0.0016063773, 0.0223577823, -0.0350385644, -0.032921508, -0.0017680029, 0.0209033974, -0.026492808, 0.0184551422, 0.0124133211, -0.0051271361, 0.0222400408, -0.0744983479, -0.0670519322, -0.0432296693, 0.0193369612, 0.0738046467, 0.0034253795, 0.0267472528, -0.0480639525, -0.0449803732, -0.0091505218, 0.0395502001, 0.0154242124, -0.0214359369, -0.014696572, 0.0677367449, -0.0666333735, -0.033165127, -0.057815738, 0.05933116, 0.0032157556, -0.0269780122, -0.0060875406, -0.0498954616, 0.0805912167, -0.0069936356, 0.0138967969, -0.0388097167, -0.041315075, -0.0211480986, -0.004309447, 0.0696636289, 0.0102249915, 0.0463355668, 0.0164923593, -0.0354914106, 0.0020140824, 0.0598799735, 0.0247766599, -0.0145766456, 0.0236090478, -0.0283627193, -0.0256718267, 0.0808922276, 0.0196902994, 0.0202857945, -0.0126958992, -0.0152668441, 0.0640733689, 0.0473186672, 0.042136047, 0.018944215, -0.0056637069, 0.0104093859, 0.0536108427, 0.0270773154, 0.0179986991, 0.0301622488, 0.0516102798, -0.0025303089, -0.0137209073, 0.0002726629, -0.0016058519, 0.0000085215, -0.0076029291, 0.0228061937, 0.0196797755, 0.0998644382, -0.0449029915, 0.0313197635, 0.0187192969, -0.0371280834, 0.0019192502, -0.0131468475, 0.0763676837, 0.0118020913, -0.0502136424, 0.0369571298, 0.0546864383, -0.0558923818, 0.0572673157, 0.0047927299, -0.0151868714, 0.0452321842, -0.0088838525, 0.0002781627, -0.0522017665, 0.03319408, 0.0071115536, -0.0007290983, 0.0475862324, -0.0161139704, 0.0436890051, -0.0646776557, 0.009292908, 0.0274484679, -0.0316397659, 0.0557155982, -0.0187817942, 0.0462364294, 0.0099086734, -0.037038669, -0.0254813209, 0.0475685149, -0.0978656858, 0.0390439555, -0.0414665975, 0.0225704294, 0.0118453177, -0.0090330141, -0.0361445472, -0.0114454497, -0.0226453114, -0.0417424664, 0.0275108572, 0.0402296409, -0.0473650917, -0.0197488964, 0.0511228554, 0.0079078395, -0.004321699, 0.0429044813, -0.0030662369, -0.0554498211, 0.0111942831, 0.0285446979, 0.0292487815, -0.0156535767, 0.0671917349, -0.0077415085, 0.0057036187, -0.022245368, 0.00259322, 0.0453325771, 0.0113177188, 0.0136683416, -0.0331388228, 0.0280709546, 0.0154561652, -0.0080691278, 0.0366285518, -0.0211143438, 0.0179499015, 0.0165880863, -0.0067139165, -0.000829371, -0.0246478245, -0.0679990053, 0.0085048657, -0.0249530282, 0.0505087599, 0.0219255146, 0.0317715108, -0.0229390208, -0.0215088837, -0.0316044763, 0.0036039155, 0.0154490573, 0.0095242569, 0.0174525902, -0.0178557821, 0.0373905413, -0.0321520492, -0.0115928054, 0.0155504458, 0.0470628329, -0.0144080147, -0.0298899598, -0.0231709704, 0.0395688601, -0.0194974076, 0.009923799, -0.003661359, -0.0342803821, -0.0179791544, 0.0023394953, 0.0399802513, 0.0092448052, -0.041974932, -0.0481699519, 0.0346380584, -0.0469380766, -0.0288718753, -0.0285492372, 0.0135043859, -0.0416923985, -0.1006816924, -0.0206459295, -0.0251967777, 0.0659068525, -0.0357419029, -0.0129917683, -0.1072136834, -0.0618853793, -0.0129446965, 0.0149555905, 0.0053076637, 0.0287225563, -0.0017050691, 0.0417704359, -0.0413483791, -0.0281641278, 0.0385676958, -0.0774646699, -0.0365955979, -0.0351813436, 0.0143522741, -0.0133737912, 0.0234567504, -0.0190711338, 0.0256314203, -0.0416122787, -0.0377749726, -0.0750758946, 0.0297945682, 0.0120743075, -0.0190232415, 0.0206160583, -0.0284970459, 0.0201294664, -0.0287216138, -0.0212276019, -0.0214737002, -0.0073920377, -0.0035738018, -0.008446076, 0.0102046458, -0.0306336209, -0.0098961974, 0.0333536044, 0.0064130118, 0.0766557232, 0.0164191686, 0.0357069932, -0.0257344935, -0.0087825255, 0.0177395139, -0.0029474697, -0.027903961, -0.0206709709, 0.033658158, -0.0116605861, 0.0076804445, -0.0588019863, -0.0377200805, 0.0004753452, 0.0600711145, -0.0269115977, -0.0192345995, -0.0292787831, 0.0623488724, 0.0273953695, 0.0006398143, 0.0737477615, -0.0142490482, -0.027608728, -0.0155386925, -0.0070405658, 0.0204975922, -0.0054848148, 0.015643334, -0.049713131, -0.0113754841, 0.0177457929, -0.0112045426, 0.0601838157, 0.0006773151, -0.0133762294, -0.1242762432, -0.0299096163, 0.0359360985, -0.0912274942, -0.0561744832, 0.0005187527, -0.0003398067, -0.034220852, 0.0079626143, 0.0082376767, 0.0002928748, 0.0042202896, 0.0389139242, -0.0211737901, -0.0489757359, -0.0026685914, -0.054869134, 0.0419693217, 0.034730494, 0.0048207315, -0.0153244464, -0.0073149828, 0.0133031746, -0.0208516438, -0.0570674911, 0.0329429433, 0.0231378339, -0.0183454417, -0.0398093238, 0.0474954732, -0.0228383634, -0.0697745457, -0.0159217883, -0.0162298251, 0.0492706411, 0.0204121117, 0.0055019022, 0.050424654, 0.0102897212, 0.0022545357, 0.0281930231, -0.0089310473, -0.0358758196, 0.0049351463, 0.0162821077, 0.007261306, -0.0569652505, -0.0142109618, 0.0336932801, -0.060125459, -0.0608926937, -0.068854779, -0.0466734394, 0.0054829745, 0.0440946445, 0.0329896174, 0.0011477667, 0.0088820094, -0.0035993026, 0.0111301336, -0.0026619828, -0.0402679667, 0.0106516024, -0.0463717431, -0.0412458964, 0.0151601853, -0.0433641858, 0.0072995946, -0.021448696, -0.0813264996, -0.0564803742, 0.0095819049, 0.0278859641, 0.0091436282, 0.0384340025, -0.0142964507, -0.0157923922, 0.0236413237, -0.0578657016, 0.0048172586, 0.0322078206, 0.0395860337, -0.0214638133, -0.0162035935, 0.0464252494, -0.0148380334, 0.0130670071, 0.019712694, 0.0253565982, -0.0315568633, -0.0594749525, -0.0072371713, 0.0154091241, 0.0200048462, -0.036142651, -0.0185077321, -0.0668061301, 0.0151963457, -0.0249035824, 0.0108719291, -0.0253116433, -0.0421689264, 0.0724708363, 0.0198284779, 0.0327987373, 0.0061982046, 0.0055346726, -0.0328430533, -0.0084113581, -0.0368864983, 0.0277055521, 0.0582527891, 0.0393705256, 0.0517519005, -0.0086003719, -0.0038939884, -0.0042919042, 0.0299989488, -0.0572452247, -0.0026925881, 0.0197377242, 0.0317884274, 0.0376089811, 0.0238128398, 0.0046029226, -0.0451590717, -0.0017235836, -0.013852193, 0.0681096315, -0.0371919088, 0.0956467316, 0.0024926518, 0.0016403202, -0.0435559899, 0.0396033712, -0.0248647276, 0.013232558, -0.0054023191, -0.0384716243, -0.0120833274, 0.0141848596, 0.064142704, 0.0045273765, 0.0201864708, -0.0134737967, 0.0189521741, 0.0158592183, -0.0390722752, 0.0245396104, -0.0374750011, -0.0374715701, -0.0087009929, -0.0169160441, -0.072014913, 0.0185999293, -0.012447793, -0.0214167796, 0.0176131055, 0.0273870286, 0.0841735005, -0.0309598912, 0.0589388721, -0.0317984521, -0.0095055141, 0.0158838499, -0.0008223419, 0.0069225314, -5.573679198e-33, -0.0368404165, 0.0638583153, 0.0234401673, -0.0336151272, -0.0349466428, -0.0224294681, -0.0211608913, -0.0071063214, -0.0148882475, 0.0072724978, 0.0020980497, -0.01264528, 0.0290828757, 0.0265378747, 0.0295099393, -0.0183055196, 0.033208143, 0.0036675751, -0.0279381573, 0.0188288391, 0.0659916475, 0.0609696954, 0.0982553586, -0.0273013823, -0.0048463754, -0.0131844068, 0.0215931777, -0.0126791485, 0.0467261672, 0.0247376226, 0.0096015679, 0.0090515744, 0.0093741911, -0.0134121384, -0.0347371101, 0.0346386842, -0.047855936, -0.0176491719, 0.0327724218, 0.0669200197, -0.0033266873, -0.0333682857, -0.0122111226, -0.0502046458, 0.012261169, -0.0176716819, 0.0115532326, -0.0372951366, 0.0028714209, -0.0186954979, -0.1028473303, 0.0200705007, -0.0050350572, -0.0141240768, 0.0677286685, 0.0581051074, 0.0191888213, 0.0260304902, -0.030625524, 0.0146250939, -0.0431481116, 0.0607931465, 0.09924604, 0.0297440719, -0.0530290343, 0.0058394773, -0.0033851191, -0.0404333696, 0.0694727078, 0.0319157541, 0.0424603708, -0.0238375384, -0.005525873, 0.0445226356, -0.0024136244, -0.0214925464, -0.0573533736, 0.0292785577, -0.0224340837, 0.0041709375, -0.0196291301, 0.0109605696, 0.0090778312, -0.0249938574, -0.0145507827, -0.0347176529, 0.0124013117, -0.0233012941, 0.0151232537, -0.0226323847, 0.0047984007, 0.0393385589, 0.0961979702, -0.0068791071, 0.0009748177, 0.0017242697, -0.0454806015, 0.0238282215, -0.0463378467, 0.0711863488, -0.0648504049, -0.0853447169, 0.0089311181, -0.0301342122, 0.0331599452, 0.0099942125, 0.0467923433, 0.0387397893, -0.0651622266, 0.0115900533, -0.0239772964, -0.0136845298, 0.0169106182, 0.0673109591, 0.0305220671, 0.0182618368, -0.0005742812, 0.0419543423, 0.0515662208, -0.0122602899, 0.005671184, -0.0139702009, 0.0154186413, -0.0005438107, -0.027944291, 0.013771344, -0.0505924523, -0.0071829101, 0.0264982581, -0.0310209934, -0.0125414385, 0.0092419516, 2.501e-7, 0.0753719807, -0.0186365824, 0.0453247242, -0.0235942919, -0.0181211531, -0.0053707208, -0.0422913954, 0.047571104, -0.0023154444, 0.0257838201, 0.0431157015, 0.0189725682, 0.0875170529, 0.0160904825, -0.025743369, -0.0573252775, -0.0361079983, 0.0417390577, -0.0361031406, 0.0260673054, -0.0043577892, 0.1010938436, -0.0258394014, 0.0098080914, -0.0109037375, -0.025469834, 0.0601309314, -0.0512042418, -0.0254901629, 0.0352599137, 0.0164999962, -0.0328995101, -0.0452191122, 0.0246733706, -0.041612599, 0.0232092366, 0.0642889068, 0.0501634479, -0.0112124234, -0.0030239399, -0.0221441798, 0.0002858973, -0.0281023886, -0.0289106257, 0.0366410054, 0.0006404628, -0.0286621228, -0.0207625479, -0.0412674956, 0.0323415734, 0.0329068676, -0.0072952649, -0.0218125191, 0.0195295103, 0.0813266337, 0.0248695295, -0.0617666803, -0.0312533192, -0.0114593413, 0.0383186191, -0.0065839165, -0.0385893099, 0.0108865714, -0.0619551465, 0.0458630063, 0.0002484634, 0.0217966996, 2.047226497e-34, 0.0108593646, 0.0016498973, 0.0315434523, 0.0077694221, 0.0125212846, -0.0582247749, -0.0255710334, 0.0337325707, -0.0478121936, -0.0282397307, -0.0137522854 ]
http://arxiv.org/abs/2406.19736v1
http://arxiv.org/pdf/2406.19736v1
MM-Instruct: Generated Visual Instructions for Large Multimodal Model Alignment
2024-06-28T08:25:27
2024-06-28T08:25:27
Jihao Liu, Xin Huang, Jinliang Zheng, Boxiao Liu, Jia Wang, Osamu Yoshie, Yu Liu, Hongsheng Li
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
This paper introduces MM-Instruct, a large-scale dataset of diverse and high-quality visual instruction data designed to enhance the instruction-following capabilities of large multimodal models (LMMs). While existing visual instruction datasets often focus on question-answering, they struggle to generalize to broader application scenarios such as creative writing, summarization, or image analysis. To address these limitations, we propose a novel approach to constructing MM-Instruct that leverages the strong instruction-following capabilities of existing LLMs to generate novel visual instruction data from large-scale but conventional image captioning datasets. MM-Instruct first leverages ChatGPT to automatically generate diverse instructions from a small set of seed instructions through augmenting and summarization. It then matches these instructions with images and uses an open-sourced large language model (LLM) to generate coherent answers to the instruction-image pairs. The LLM is grounded by the detailed text descriptions of images in the whole answer generation process to guarantee the alignment of the instruction data. Moreover, we introduce a benchmark based on the generated instruction data to evaluate the instruction-following capabilities of existing LMMs. We demonstrate the effectiveness of MM-Instruct by training a LLaVA-1.5 model on the generated data, denoted as LLaVA-Instruct, which exhibits significant improvements in instruction-following capabilities compared to LLaVA-1.5 models. The MM-Instruct dataset, benchmark, and pre-trained models are available at https://github.com/jihaonew/MM-Instruct.
[ 0.0386260338, 0.0676017478, 0.0046103275, 0.0518097654, -0.0114645334, 0.0035743348, -0.0020612571, -0.0238886792, 0.0086249299, -0.0573248081, -0.040587347, -0.0193021484, -0.0233724322, 0.0096569601, 0.0365286507, -0.0472171158, 0.0257636365, -0.0397673063, -0.0433168933, 0.0085363025, 0.0405920148, 0.0383046828, -0.0104975216, 0.0420991331, -0.0157173686, -0.0567638613, -0.0081844721, 0.0280076396, 0.0095229987, -0.0350439809, 0.0095638288, 0.0456920601, 0.0689829513, 0.0034372518, 0.0000017734, -0.0076988121, 0.0205702428, -0.0134099172, 0.0194140766, -0.0059594698, 0.0259582214, -0.0371181518, 0.016822638, -0.0013962587, -0.0144708985, 0.0169131607, 0.0742420703, 0.0388813764, 0.1233524978, 0.0725674555, -0.0014470153, -0.0323236473, 0.0202917587, -0.0082268501, 0.0264699589, -0.0047361255, -0.0081115793, 0.0703141615, 0.0096319523, 0.0211796965, -0.0474414714, 0.0674220398, 0.0274453387, -0.0337628014, 0.0162733514, 0.0278635677, 0.0063840412, -0.0221173689, -0.0275321528, 0.1171218082, 0.0263823047, 0.0177486632, -0.0500681847, 0.0053257816, -0.0029501754, 0.0036185447, -0.0804981068, 0.0535987169, -0.0020636788, 0.0024165241, -0.0401877202, -0.0060572452, -0.0252768546, 0.0003158418, 0.0483053923, -0.0222232863, 0.0346465185, 0.00602279, -0.0542956181, 0.0040426496, -0.0697798282, -0.0748363957, -0.0306300167, 0.0568442941, -0.0102334805, 0.010447178, -0.0613975339, -0.0222924091, 0.0076175509, -0.0334827378, 0.0849597827, 0.0298145711, -0.0446035713, 0.0455086045, -0.0077908724, 0.0679882318, -0.0365313403, 0.0505836643, -0.0580279641, 0.004845032, -0.0537115782, -0.0215240829, -0.0312610231, -0.0052756025, -0.0546489023, -0.0503306538, -0.028523406, 0.0424209721, -0.0147495829, 0.0141462926, 0.003041602, 0.0142152887, -0.0240694489, 0.0083823921, -0.0402323939, 0.0404141769, -0.0188916251, 0.0002223507, -0.0054405476, -0.0244781263, 0.0040206192, 0.0442732088, 0.0178295057, -0.0220196228, 0.0142943002, 0.0885829702, -0.0709296241, -0.0151665537, -0.0207863133, -0.0424786992, -0.0028923091, -0.0562203005, 0.03045341, -0.0571364127, 0.0313416757, -0.0129259881, -0.00585014, -0.0118849566, 0.0058543836, 0.0477061346, -0.0119450362, 0.0753355846, -0.0040913895, 0.0036971406, 0.0287249628, 0.0146399075, 0.0172201563, 0.0576679967, 0.0315346234, 0.0373597778, 0.0506218411, -0.0171084106, 0.0125311324, 0.0440055989, 0.0153869065, 0.0188486576, -0.0053484561, 0.0292710662, 0.0229354165, 0.0436637774, 0.039353773, 0.0458594784, -0.0253126994, -0.0005529647, 0.0932473987, 0.0253884252, -0.0131376879, -0.0030139629, 0.0619327687, 0.015078852, 0.0154664665, 0.0280331727, -0.0682642087, 0.0804259405, 0.0039848438, 0.0353963934, 0.0448967554, 0.0246674996, -0.0373642109, -0.0136721367, -0.0050071762, 0.0044142478, -0.0320400037, 0.0006368707, -0.0112743527, 0.0123698367, -0.0658907145, 0.0139426356, -0.0010842909, -0.0344263837, 0.0060806852, -0.0094939368, 0.0413025022, 0.0625500232, 0.0426905826, 0.0063523776, -0.053529948, -0.0020427795, 0.0584673323, 0.0549475141, -0.0060560433, -0.0209588036, 0.0132438643, -0.061921604, -0.0305796191, -0.0499916859, -0.0200812053, -0.0095430221, 0.0245026108, -0.0195562206, 0.0014396092, -0.0076418333, -0.0385465622, 0.05292679, 0.0149979405, -0.0383374318, -0.0465908349, 0.0058201249, 0.006576261, -0.0081270002, -0.0207796749, 0.0029060191, -0.0047139893, -0.0241173636, -0.0005492886, 0.0147245172, -0.0519151092, -0.0538598411, 0.0328815915, -0.0652726367, -0.0330458358, -0.0067724688, -0.056421306, -0.01994518, -0.0023425764, -0.0439025573, -0.0245889574, -0.057283394, -0.0198101196, 0.0423994064, 0.0044498965, -0.0121829743, 0.0249008182, -0.0084479153, 0.0015554355, 0.0277592093, 0.0099454029, 0.0016914731, -0.0204237103, 0.0010440742, -0.009826405, 0.016197145, 0.0295133311, 0.0027298823, 0.0565166697, -0.0518976934, -0.0316002816, -0.108720459, 0.0336367413, -0.0121909594, -0.0124253854, 0.0337808691, -0.0049114763, 0.0059754266, -0.0321622193, -0.0444714986, -0.0009169244, 0.0307522006, 0.0150492741, 0.0518106818, 0.0097751766, 0.0022663311, -0.0381381847, 0.0000534499, 0.006074605, 0.0374099538, 0.0157440044, 0.0329969414, -0.036745321, -0.0175223704, -0.0389441289, 0.0184956659, -0.0019697638, -0.0465967953, 0.0272923056, 0.000393303, 0.0541809835, 0.0433605798, 0.0212307181, 0.0067244535, 0.0210260209, -0.011589353, -0.026924964, 0.0133586153, 0.0094995685, -0.0648871437, 0.0102549363, -0.0602615625, -0.0308157019, 0.0429694057, 0.0028292602, 0.0193046592, -0.0754296258, 0.0196872242, 0.0295711663, -0.0186646264, -0.0530834571, 0.0264310203, 0.006733417, -0.0133123547, -0.0669501871, -0.0769430995, 0.0490341932, -0.0603034161, -0.0306895413, -0.0037296833, 0.0031402493, -0.0432390869, 0.0595757402, 0.0216793474, 0.0347227193, -0.0115467999, 0.0135381324, -0.064668484, -0.0188143477, 0.0458143838, 0.0003379161, 0.0534748696, -0.0607670024, 0.003679286, -0.0353438966, -0.0044089216, -0.0298782848, -0.0470016673, 0.0028932486, -0.0211516842, -0.001163136, -0.0129331481, -0.0053800722, 0.0109634278, 0.0297569782, 0.0134073477, -0.0107451566, -0.0087830909, -0.0395092964, 0.0297268145, 0.0958087146, 0.0269450229, -0.0479985625, -0.074152261, 0.0305975899, 0.0354730263, -0.0095907878, -0.0256628711, -0.0278397016, 0.0247744489, 0.0007569822, 0.0243205111, 0.0359758213, 0.0377581529, 0.1134271547, -0.0323140956, 0.007611989, 0.0657976344, 0.006571624, -0.0196333341, -0.0298673064, 0.0342851803, 0.0467349924, 0.0311091859, 0.0210034847, -0.0848184377, -0.0488456711, -0.0397801921, 0.0025918272, 0.0261890367, 0.0141424565, -0.0525430031, -0.084731929, 0.0547908433, 0.0073154494, -0.0395970717, -0.0316988453, 0.0223116241, -0.0108770011, 0.0130980862, -0.006801344, -0.0018136294, -0.0388496742, 0.0086287139, 0.0001958194, 0.0059900857, -0.011433091, 0.0053016446, -0.0620782785, 0.025699798, 0.0347705185, 0.0054308274, 0.0101130651, -0.0340917595, 0.010501178, 0.0187456198, 0.002088594, 0.002424692, 0.0836911052, -0.0271288026, -0.0294211544, -0.0158321634, 0.048519589, 0.0000473629, -0.0142912036, 0.0153351426, 0.0452975556, -0.0082832184, 0.0190910976, -0.0394534729, 0.0484462082, 0.0117775053, 0.047467947, 0.0335802846, -0.0326780826, -0.0276744459, -0.0145818302, -0.0076175677, -0.0753292963, -0.0041489922, 0.0174988937, -0.051110588, 0.0306657851, -0.0788731053, -0.0210923757, 0.0540410019, 0.0323023722, 0.0192922894, -0.0106115257, -0.0227155946, 0.0095213884, -0.0529231317, 0.0704623759, -0.0339995772, 0.0232382268, -0.0580657162, -0.0240453277, -0.0038626553, -0.0388912819, -0.0080062924, 0.0371930003, -0.0893345177, -0.0314305089, -0.0524466671, 0.0738133788, 0.0034792812, 0.0412295349, 0.0542777628, -0.0245700758, 0.0048839641, 0.0059855385, 0.017245179, 0.0093647633, 0.0014045074, -0.0004339472, -0.0108788321, 0.0080819614, -0.0260338187, 0.0290634055, -0.0014820631, 0.0390131585, 0.0152184749, -0.0303098261, 0.0146425162, 0.0211070944, -0.0162916761, -0.0315207317, 0.0285528265, -0.0412252471, -0.0006459103, -0.0006125104, -0.0346991383, -0.0638455972, 0.0209807698, 0.0044227224, -0.0067774956, 0.0046046912, -0.0059335544, -0.0066884407, 0.0371074304, -0.0449349768, 0.0175294764, 0.0137603236, -0.0012296945, -0.0100243185, 0.0273071341, -0.0248116106, 0.0159461629, -0.0304841567, 0.0364742056, -0.0039544939, 0.1025177091, 0.020604372, -0.0060925591, -0.0096353628, 0.0411514454, -0.0099131726, -0.0240933429, -0.0464097336, 0.0399896838, 0.0795378163, -0.0009526614, 0.012005453, -0.0048219496, -0.0252858121, -0.0105588995, 0.0777017847, -0.0240805764, -0.0296602156, 0.0670639724, 0.017058393, 0.0185817145, -0.0220761914, 0.0660597757, -0.0077388291, 0.0301271472, -0.0068831625, -0.0009380736, -0.0368028022, -0.018746173, 0.0457116105, -0.0147338789, 0.0146587314, 0.0390789695, 0.0087005608, -0.0532250106, -0.0107028158, 0.0361089446, -0.0486798882, 0.016631484, 0.047864981, 0.0175165348, 0.0199481547, -0.0343852229, -0.0308027286, -0.0058052125, -0.0230605062, 0.0101750335, -0.0026049784, -5.607466947e-33, -0.0478573032, -0.0450421087, 0.058862891, -0.0196723733, -0.037966907, 0.0004720254, -0.0194013231, -0.0035159974, 0.0119455131, -0.0044858321, 0.0468207821, -0.0300256908, -0.0016154987, 0.0474220291, 0.0125201056, 0.0039924732, 0.0307065025, -0.0151335876, -0.0233756527, 0.0163561571, 0.0263288748, -0.0079439161, 0.0476273783, -0.0388987735, 0.0117563615, -0.0319717862, -0.0248929076, 0.0194953941, 0.0016788928, 0.0759251341, -0.030652836, 0.0147723146, 0.0115981661, -0.0090325866, -0.0322262906, 0.0184750445, -0.0381180272, -0.0083615808, 0.0490875393, 0.0029973965, -0.0970010087, -0.0373917446, -0.0006068108, -0.0635150746, 0.0141484197, -0.0464988537, 0.0569865257, -0.0051089069, 0.0293950774, 0.0262459498, -0.0601116605, -0.0094088754, -0.022997329, -0.0676386133, -0.0082431249, 0.0440236032, 0.0411975607, 0.0004070353, -0.0209655035, 0.0266174916, 0.0092017502, 0.0352758393, 0.0823486224, 0.0561378859, 0.0013715527, 0.0526870377, -0.0105459513, -0.0331477784, -0.0259999912, 0.0191148538, -0.0120466743, 0.071577698, 0.0408793166, 0.0593385063, 0.018807685, 0.0516618937, -0.0137438206, 0.0264096297, -0.0525918342, 0.027297629, 0.0097609404, -0.0103349146, 0.0036087669, 0.0220259167, -0.0263031181, 0.00155457, -0.0309576076, -0.0226085205, 0.0511647239, 0.0229190234, -0.0110010011, 0.0176971555, 0.0720575675, -0.0254049059, -0.0030478889, -0.0167748798, -0.041419331, 0.0587761924, -0.0103289494, 0.0122282775, -0.027486762, -0.0317094326, 0.0737419352, -0.0338951349, 0.01678464, 0.0311483592, 0.061479792, 0.0297590755, -0.0432922095, 0.0080586635, -0.0326023959, 0.0153646478, -0.0500975028, -0.0178364888, 0.0053519481, 0.0124551039, -0.0730455667, 0.0259430408, -0.0080382992, -0.0017090894, -0.0390542522, -0.0762302279, -0.0033736695, 0.0225194264, -0.0188277457, 0.05568818, -0.0503655858, -0.0456712767, -0.020249933, -0.0731246024, -0.0144273303, 0.0573225878, 2.325e-7, 0.0311764684, 0.0108292, 0.0481211431, 0.0436621457, 0.0080914423, 0.0264190566, -0.0566443279, 0.0103849759, 0.012325881, -0.0338557735, 0.0168852787, 0.0484461598, 0.0461752973, 0.0035107385, -0.0176314153, 0.0157568213, -0.0619164035, -0.0036723837, -0.0622175708, -0.0006891115, 0.0766789988, 0.0736670271, -0.0428890809, -0.0240110178, 0.005635228, -0.0367165096, 0.0892144665, -0.0177639741, -0.0373162851, 0.0022039132, 0.0120179476, 0.007522691, -0.0145519152, -0.0045005297, -0.0100630075, -0.038246084, 0.0363048576, 0.0631816387, -0.0060241148, -0.0163797941, -0.0294585656, 0.0157296024, -0.0330316648, -0.0290971305, 0.0547809377, -0.0557542369, -0.0112127392, -0.0475117937, -0.0336846933, -0.002499908, 0.0134568326, -0.038522251, -0.0366280489, 0.0228024982, 0.0531215966, -0.0369158499, -0.019800825, -0.04974778, -0.0261854548, 0.0111231618, -0.0395911969, -0.024752669, -0.0731366873, -0.0184124522, 0.0139439944, -0.0512736589, -0.0473850518, 1.983854036e-34, 0.0355369449, -0.0353544168, 0.0370865203, 0.007742126, 0.0260491613, -0.0097917747, -0.0295718238, -0.0060271416, -0.0004899138, -0.0854462907, -0.0269078482 ]
http://arxiv.org/abs/2406.19731v1
http://arxiv.org/pdf/2406.19731v1
Message du troisi{è}me type : irruption d'un tiers dans un dialogue en ligne
2024-06-28T08:20:32
2024-06-28T08:20:32
Ludovic Tanguy, Céline Poudat, Lydia-Mai Ho-Dac
cs.CL
cs.CL
Our study focuses on Wikipedia talk pages, from a global perspective analyzing contributors' behaviors in online interactions. Using a corpus comprising all Wikipedia talk pages in French, totaling more than 300,000 discussion threads, we examine how discussions with more than two participants (multiparty conversation) unfold and we specifically investigate the role of a third participant's intervention when two Wikipedians have already initiated an exchange. In this regard, we concentrate on the sequential structure of these interactions in terms of articulation among different participants and aim to specify this third message by exploring its lexical particularities, while also proposing an initial typology of the third participant's message role and how it aligns with preceding messages.
[ 0.1003698111, 0.0221858453, -0.0260404292, 0.0346997157, -0.0321535803, 0.001712295, 0.0176280849, 0.0197857097, 0.0232448615, -0.0625618026, 0.0138685321, -0.0364837758, 0.0265591927, -0.0044650296, 0.0450518243, -0.0373042077, 0.0078352094, 0.0153326802, 0.023685772, -0.0046369005, 0.0650212467, 0.0309245363, -0.0577405281, 0.0504349843, -0.000960777, 0.0257813223, -0.0290115047, -0.0089407107, 0.0203187782, -0.005598621, 0.030064119, 0.10037411, -0.0180316828, 0.0180234592, 0.0000017552, -0.0364008285, 0.0369192064, -0.0363237597, -0.0036726496, 0.0283677839, 0.0042458945, 0.0075656981, -0.0012403285, -0.0072513665, -0.037704654, 0.0007803809, 0.0368154235, 0.0252877194, 0.0414084755, 0.0246116389, -0.0155420536, -0.00415082, 0.0016848674, 0.0021100461, 0.0300422031, -0.0052993931, 0.030546695, -0.0295829382, -0.0220649373, 0.0010173777, -0.0084267175, 0.018034894, -0.0435146987, -0.0726185441, 0.0329077505, -0.0226921309, -0.0184759386, -0.0622562133, 0.0383013263, 0.0395648666, 0.1269192845, 0.0068464121, 0.0376834981, 0.0304838773, 0.0081950305, 0.0807107016, -0.0484710932, 0.017371105, -0.0072138947, -0.0325750262, 0.017370766, 0.006213651, -0.0034707454, 0.0126522761, -0.028026903, 0.0634446964, -0.0040647318, -0.0062889904, -0.0211770795, 0.0164838377, 0.000344354, -0.0547446758, 0.0188271161, 0.0147092715, 0.0003736498, 0.0120948646, 0.0341103524, -0.0147439269, 0.0417088047, -0.096214883, -0.0698877722, 0.010777479, 0.0284156073, 0.0255301092, 0.0691414773, -0.0659457669, -0.0211174134, -0.0045889523, 0.0307401586, 0.0165281389, -0.0363411717, -0.0152738607, -0.013778043, -0.0008805708, 0.0212875642, -0.0177347567, -0.0044085206, 0.030920174, -0.0081434641, -0.0076933126, 0.0157498065, -0.0393865332, -0.0091371583, 0.0232655536, -0.0278497301, 0.0445746332, -0.0720563829, 0.0084266197, -0.0116959922, -0.0389490426, 0.0273491573, 0.0011999112, 0.0179626867, -0.0233669057, -0.0320009701, 0.0546669737, 0.0012409517, 0.0183443036, 0.0601918288, -0.0497748107, -0.0085637197, -0.0171290468, -0.0306191165, -0.0507105663, 0.0444208942, 0.0458371043, -0.0172325335, -0.0168389473, 0.0155143198, -0.0075587188, -0.0593931824, 0.0393121578, -0.0768264458, 0.0378093272, 0.0552416779, 0.046181988, 0.0026800658, 0.0189104136, -0.0008696785, -0.0559229925, 0.062026266, 0.0048372173, -0.0176674295, 0.0465713218, 0.0109978467, 0.0094843227, 0.0637791604, 0.0120453201, -0.0144972224, 0.0130969929, -0.0099127246, 0.0339721553, -0.0376394019, -0.0184759833, 0.0297689717, 0.0868812054, -0.0609446988, 0.0238361787, -0.0017328791, 0.0307804029, 0.0134829264, 0.0436776914, 0.0299643129, -0.0096985865, 0.042967461, -0.0312174484, 0.0567206554, -0.0180733763, -0.0058854884, -0.0099293683, 0.0177970156, 0.0247607846, 0.0236500334, -0.0460705161, -0.0076281852, 0.003649608, 0.0172992628, 0.0631763712, 0.0241333582, -0.051485762, 0.0023626736, -0.0062707332, -0.0018100785, 0.0641266927, 0.0062587215, 0.022528559, -0.0295995232, -0.0165717378, 0.0376324356, 0.0506824516, 0.0203512684, -0.0341702737, -0.0446352251, 0.0025411793, -0.0109650893, -0.0225604102, 0.0095027778, 0.009457659, -0.0395684503, 0.0266173091, -0.0361880101, 0.0064137396, 0.0214693174, -0.0198036674, -0.0024891186, 0.0374476686, -0.0901742801, 0.0227287617, -0.0052773049, 0.0306539182, -0.0317725576, -0.019932067, 0.0267896373, 0.0028086537, 0.003188364, 0.0452654064, 0.0072512431, -0.0003680377, 0.0197037701, -0.0492891483, -0.0221693367, -0.0364243612, 0.0487732403, -0.0112218484, 0.0823953003, -0.0414747931, 0.060821943, 0.0130012883, -0.0075490735, -0.0168335661, -0.0134563046, -0.0057919901, 0.0063536647, -0.0238026213, 0.0477877818, 0.0416011177, -0.052260004, 0.0045596929, 0.0259082783, -0.015243371, 0.0462384187, 0.0070964266, 0.0292723272, 0.0684204251, -0.0247424468, -0.0394004844, -0.0139936339, -0.0955145657, -0.0592812859, -0.0430597849, 0.0505784936, 0.0470566675, 0.0099322246, 0.009308259, 0.010243875, -0.0515934639, 0.0052745189, -0.0082911951, 0.010770495, 0.0555720367, 0.0498222373, 0.0023470244, -0.0179245062, -0.0034289267, -0.018322112, 0.0425669253, 0.0585955679, -0.1046245545, -0.0247509871, -0.0024772987, -0.0842170715, -0.0291540436, -0.0354697444, -0.050274726, 0.0313070007, -0.0163021684, 0.0365351923, 0.0032641261, 0.0738819093, 0.0665127784, -0.0364679508, -0.0276900716, -0.0645140111, -0.027063977, -0.0249708127, 0.0004389895, -0.0739412308, -0.0182287935, 0.0315046869, 0.0706690103, -0.002585765, 0.0240355991, -0.0195820034, 0.0274238493, 0.00225064, -0.0018183907, -0.0125014903, -0.0608614609, -0.0017514769, 0.05317913, 0.0098105809, 0.0105566634, 0.01294854, 0.0087454384, -0.0195737109, -0.0116913058, -0.0262144934, 0.0149946623, 0.0626455843, -0.0140099451, 0.0303631201, 0.0384818017, -0.0673662499, -0.0299554821, 0.0067450735, 0.0797905326, -0.0061456454, 0.0378773138, -0.0020907661, 0.0293682851, -0.0001597112, -0.0326921158, 0.0135146575, -0.0407105982, -0.0037749263, -0.0405986793, 0.0368314758, -0.0302083269, -0.0111108767, 0.0239583869, 0.0084409025, -0.0189554244, 0.0184837244, -0.0015857286, -0.0209552236, 0.047866419, -0.0228917375, 0.016447816, 0.0042389682, -0.0262674149, -0.0062528616, 0.0454138145, -0.0100315511, -0.0276115071, 0.0505425185, -0.051838357, 0.049609933, -0.0392532051, -0.0707452968, -0.0374135338, 0.0337365754, -0.0401474759, 0.0039347415, 0.0557217039, 0.0324451551, -0.0817073211, -0.0102503374, -0.0215041488, 0.0149613386, -0.000806843, -0.0066088843, -0.0907260478, 0.0584128164, -0.0474449508, -0.033599399, -0.0475521423, -0.0304530375, -0.0153170191, -0.053865958, 0.0259489436, -0.004376302, -0.0195790157, 0.0373957641, 0.0118585275, 0.019182371, 0.0204609931, -0.0201290194, 0.0063409819, 0.0122771142, 0.0153366663, 0.0171393678, -0.0378063507, -0.0074795485, -0.0515431575, -0.032746017, 0.055512324, -0.0415260904, 0.0422269367, -0.0198564716, 0.0058198967, 0.0175950974, -0.0041226237, -0.0295927171, 0.0024665012, 0.0474148579, -0.0190998819, -0.0030269786, -0.0659665763, -0.0147796692, 0.0091923, -0.0121075585, 0.0152672986, 0.0294815525, -0.0184702035, -0.015260458, 0.0182069149, 0.0379602388, 0.0464630127, -0.001620331, 0.0396787189, -0.0223150272, 0.0230968241, -0.0480732769, 0.0131614432, -0.0289678145, -0.0907570571, -0.0802658498, 0.0265364815, -0.0443895757, -0.0789589882, -0.0529986583, -0.0386782847, 0.0167684406, 0.024994107, 0.0359869152, 0.0345050953, 0.0070839338, -0.0284272879, -0.0055668731, -0.0046699569, -0.0193928201, -0.0271092411, -0.0555214733, 0.0058026314, -0.0033973888, -0.0097266249, -0.0084929829, -0.0343992561, -0.0686767101, -0.0108201485, 0.0356875733, 0.0321077779, 0.0170101002, 0.0034241565, -0.0384309255, -0.0049007502, 0.021440018, 0.0019685724, 0.0106355194, 0.0039244029, 0.0384863168, -0.0146767078, 0.0391771831, 0.0208133273, -0.0077889566, -0.0558523647, -0.0162658431, -0.0633042455, -0.0691661835, -0.0303304326, 0.0000182022, 0.0121547952, -0.0012141898, 0.0205010995, -0.0374917425, -0.0260895118, -0.0146314064, -0.0045544845, 0.0102885524, 0.000965787, -0.0276412554, -0.0209610742, 0.0089757787, 0.0115900151, -0.0321376622, 0.0265363026, -0.0380786881, 0.0354437046, 0.020094499, -0.0170986205, 0.0188760608, 0.0211913679, 0.0164045505, 0.0119978813, 0.0480341353, 0.0213132892, -0.0467484556, 0.0117362365, 0.0285339858, -0.0681505799, 0.0564406849, 0.0422261655, -0.0846735463, -0.0664649829, 0.0385841168, -0.0091845766, 0.0383170471, 0.0075682374, 0.1021009609, -0.0035069352, -0.0015970777, -0.001515488, 0.0511987135, -0.0083028553, -0.0442794338, -0.0128638297, 0.007806771, -0.0340524428, 0.0187855978, 0.0449559577, -0.0535558239, 0.0090818945, 0.0352878869, -0.0222736746, -0.0237617977, -0.0463792756, -0.0014634363, 0.0027609244, -0.0206229109, -0.0198171791, -0.0524551868, -0.0153823225, -0.0378805622, -0.0291864369, 0.0293459632, -0.0109715164, 0.0187844839, 0.040428102, 0.04775507, 0.0133377239, -0.0602549054, 0.0375662483, -0.0877347738, 0.0155874277, -0.005978927, -5.982764457e-33, -0.0008777372, -0.0753198266, -0.0168593843, 0.0744742751, -0.0559863523, -0.0076951687, -0.0218588281, 0.0551672392, -0.0160063263, 0.0074049053, 0.0035800333, 0.0478435978, 0.0129368287, -0.0276329461, 0.0448625088, -0.0236779079, 0.0238859225, 0.0066449158, -0.0327241421, 0.0418242589, 0.0408913456, -0.0083285477, 0.0538525283, -0.0663775206, 0.1021082252, -0.0392558128, -0.0236147363, -0.0034393887, 0.0486146025, 0.0175731108, 0.0072140777, 0.0547890216, 0.0306526124, -0.0112366313, -0.0004586733, 0.0674572513, -0.0168937426, -0.0449232459, 0.0503567494, 0.0276944116, -0.0074990643, -0.0186628662, 0.0322737098, -0.0224442855, -0.0356066376, 0.0329713747, 0.0538083091, 0.0424480587, 0.0224245135, 0.0254577715, -0.0427854173, 0.0053490931, -0.0336375125, 0.0082555581, 0.0134451054, 0.0429272279, 0.0633861423, -0.07492093, -0.0402901657, 0.0807678178, -0.0763136297, 0.0230549052, -0.0086092493, -0.0298842173, 0.0137015479, 0.0530735888, 0.0055111134, 0.0892525688, 0.0021566974, 0.034813989, -0.016887486, 0.0560763814, 0.0034104199, 0.0679129437, -0.0282458868, -0.016586246, -0.0510100909, -0.0061678356, 0.0562376417, -0.0013340726, -0.0141189229, -0.0334757641, -0.0112680262, -0.0352596343, -0.0280922595, -0.0381304063, -0.0134732025, -0.0532280877, -0.0245117228, -0.0380439982, 0.0009537635, -0.0002753971, 0.0236159973, -0.0416835435, -0.0629386082, 0.0295206401, -0.0309636183, 0.056034103, 0.0020691168, -0.0003801487, -0.0087087518, -0.005299998, -0.0280290395, 0.0266751833, 0.0322922431, 0.0474571921, -0.0320003815, -0.0059580053, -0.0292294305, -0.0333123505, 0.0044333683, -0.0155335059, -0.0498605333, -0.0021778103, 0.0262681581, 0.0057274653, -0.0118941711, 0.0106785735, 0.0447601788, 0.0159771629, -0.0291886795, -0.0421278886, -0.0403424464, 0.0117151532, -0.0440113731, -0.0158512872, -0.0508407094, 0.0552712716, 0.0425772481, 0.0036279748, -0.0134157632, -0.0806123316, 2.619e-7, 0.0419357978, 0.0526196323, 0.0399641395, 0.033183597, 0.0532379746, -0.0075905486, 0.0242982712, 0.0622865036, -0.0066796262, -0.0590904951, 0.0051060636, -0.0020939505, 0.0077954056, 0.0197655167, -0.0868454203, -0.0754323453, -0.0579558276, -0.0108780479, -0.0340893716, 0.0223136973, 0.0310468115, -0.0149670737, 0.0061517898, 0.0228407159, -0.0482847616, -0.0090320511, 0.0457674898, -0.0504786894, -0.0245708395, 0.0552693531, 0.0224646982, -0.0251410622, 0.0139250746, 0.0498047695, 0.0082839252, -0.016438432, 0.0164349135, 0.0052944105, 0.0364730582, 0.0157576669, -0.0163926631, -0.0612165332, 0.0476743989, -0.0354249626, -0.0167256203, -0.0081384294, -0.0527238324, 0.0097506735, -0.0058047138, -0.0493856333, 0.0625781566, -0.0343939252, -0.02777211, 0.0319580808, -0.0167562328, 0.0121758003, 0.0177327879, -0.0579925999, -0.0325655825, -0.0339789465, -0.0092350869, -0.0974198505, 0.0103706792, -0.0534391701, 0.0154829109, 0.0014119752, 0.0213178042, 1.640195048e-34, 0.0074769356, -0.0115221599, 0.0023928944, 0.0458726138, 0.047980424, -0.0078335749, 0.0253939796, 0.0048880214, 0.0404229872, -0.0136683714, -0.0245474633 ]
http://arxiv.org/abs/2406.19729v1
http://arxiv.org/pdf/2406.19729v1
Le sens de la famille : analyse du vocabulaire de la parent{é} par les plongements de mots
2024-06-28T08:19:36
2024-06-28T08:19:36
Ludovic Tanguy, Cécile Fabre, Nabil Hathout, Lydia-Mai Ho-Dac
cs.CL
cs.CL
In this study, we propose a corpus analysis of an area of the French lexicon that is both dense and highly structured: the vocabulary of family relationships. Starting with a lexicon of 25 nouns designating the main relationships (son, cousin, mother, grandfather, sister-in-law etc.), we examine how these terms are positioned in relation to each other through distributional analyses based on the use of these terms in corpora. We show that distributional information can capture certain features that organize this vocabulary (descent, alliance, siblings, genre), in ways that vary according to the different corpora compared.
[ -0.0106227593, 0.0528468303, -0.0255133621, 0.0573917702, -0.0264291987, -0.0001589584, -0.0315459073, 0.0166385416, -0.0447107367, -0.0459009558, 0.0039573596, -0.0818997473, 0.0490817204, -0.0344293825, -0.028626265, -0.0381982066, -0.0054725125, 0.0421168096, 0.0006773149, -0.0214606151, 0.0303605832, 0.0328321308, 0.0100424085, 0.0107287252, -0.0094683319, 0.0208212268, 0.0124651724, 0.0250082742, 0.0351092778, -0.00195034, 0.006493222, 0.055975493, 0.0064220116, -0.0212349202, 0.000001766, -0.0315311439, -0.033213567, -0.0177170355, 0.0348056853, -0.0232208148, 0.0641719103, -0.0109899528, -0.000667251, -0.0312892012, 0.0172840245, 0.0140370298, 0.0738848746, -0.0291819386, -0.0470346026, 0.0227974765, 0.0053293039, -0.0996126384, -0.0098376554, -0.0260503981, 0.0217583291, 0.0298349131, -0.014527576, 0.0076284814, 0.0078967409, -0.0361434072, -0.0539995693, 0.0071509951, -0.0386594199, -0.0106835812, 0.0198211204, 0.0174065586, 0.0160751399, -0.0229886025, 0.038585268, -0.0022864756, 0.0941759497, -0.0133856237, 0.0096842404, 0.0153205888, -0.0325383097, 0.0957670286, -0.0104854973, 0.022873994, -0.0172766596, 0.0149794295, 0.042827677, -0.0229531173, 0.0040889876, -0.0079428013, -0.0679927394, 0.0642738715, -0.0136918295, -0.0457725786, 0.014691568, -0.0157048944, -0.0113745742, -0.0347216614, 0.0036187961, -0.0482805893, 0.0178972483, 0.0398465954, 0.040828716, -0.0163871367, 0.0249652956, -0.0414692387, -0.0375496782, -0.0202167034, 0.000638622, -0.0259656589, 0.1010427251, -0.0096901041, 0.0062714727, -0.0636020005, -0.0402608663, 0.0020117851, -0.0893438607, 0.018659832, 0.0039593582, -0.0066837049, -0.0479472689, 0.0100129852, -0.0106031597, -0.0086907884, 0.0132876616, -0.0255874228, 0.009781667, 0.0043208315, 0.02482282, 0.0347521454, -0.0757297054, 0.0212833267, -0.1078250855, 0.0090739727, -0.0432740524, 0.0023654543, 0.0474762544, 0.0062935678, 0.0174136832, -0.031049313, -0.0161516499, -0.0314462557, 0.036890313, -0.0111850547, 0.0232196227, -0.0229901597, -0.06969928, -0.0518763997, -0.0293964762, -0.0479371659, -0.0045834584, 0.0204382259, 0.008994814, -0.0252071619, 0.0185204297, -0.0196363237, -0.0774896368, 0.0189509168, 0.0302572455, 0.0211526677, 0.0105513046, -0.0057315701, 0.0397858843, 0.031066386, 0.0410334244, -0.0859060138, 0.0613982752, 0.0049296003, -0.0355063491, -0.0161063392, 0.0097928299, -0.0329965986, -0.0178821832, -0.0229224302, -0.0584065467, 0.0192527436, 0.0313107818, 0.0560136922, 0.0069070864, -0.0273883753, 0.0114045842, 0.0790880993, 0.0162475966, 0.024085395, -0.0186861791, 0.008024931, -0.0245801955, 0.0407321304, -0.0068369764, -0.0577786267, 0.0291084219, -0.0334202424, -0.0352890044, -0.0276703667, 0.0014386169, -0.0135731967, -0.0311290864, 0.023560321, 0.0375089496, -0.0130584426, 0.0030762262, -0.0036217517, 0.0410623588, 0.0259330254, 0.0451754481, -0.0428470783, -0.0054687862, 0.0501445532, 0.0421309844, 0.0739310756, 0.0028076663, 0.0086384201, -0.0256732348, 0.0600224026, 0.0202076249, -0.0227958057, -0.0666912869, -0.0246293563, 0.0204692986, -0.0050877184, -0.0195437577, 0.0485873893, 0.0072861039, 0.0199331585, -0.0548859984, 0.0071242922, 0.0096218903, -0.0287153497, 0.0442032516, 0.0235236026, -0.0118511263, 0.0177703574, -0.0334180854, 0.0152186891, 0.0117574325, 0.037899293, -0.040532276, 0.0024184955, 0.0845966712, -0.0240010824, 0.0432332084, 0.0393314101, -0.0144240465, 0.0376136117, -0.0245007351, -0.0741119459, 0.018432308, -0.0313298926, 0.0239090025, -0.0056764521, 0.047063861, -0.0312728994, 0.064943634, -0.0062504294, 0.0274563879, -0.0040956466, -0.0057284893, -0.0079231542, 0.0797446519, -0.0078019742, 0.0490232967, -0.0483776368, 0.0133178895, -0.0074616801, -0.0123042762, 0.0351200178, -0.0265696216, -0.0067000766, -0.0179157481, 0.0509425886, -0.0004846625, -0.0112053761, 0.0055548968, -0.0768772811, 0.017337529, -0.0180865973, 0.0847697407, 0.008765229, 0.0222926419, -0.0245880038, 0.0154018309, -0.030256303, 0.0615690313, -0.0061548636, 0.0066985073, 0.0341034345, 0.0079479441, -0.0245957207, -0.0214858241, -0.0372280031, -0.0084106755, 0.0097971596, 0.0089416578, -0.0065571936, 0.0140414909, 0.033369828, -0.090995118, 0.0190023407, -0.0272987913, -0.0191888269, -0.0110807577, 0.0050109983, 0.0133925052, -0.0239010099, 0.0058332593, 0.0168386959, 0.0319667533, -0.0223647971, 0.0124181723, -0.0146399951, 0.0044516632, -0.0107766204, -0.0491568893, -0.033130724, -0.0185422059, 0.01921295, 0.0046818131, -0.0053537609, 0.0202910267, -0.0051504262, -0.0327300094, 0.0346465781, 0.0188113637, -0.0320787691, -0.0296449475, 0.0634536892, -0.0003030858, -0.0004804466, -0.0102544129, -0.0047254097, 0.0192248095, -0.0032834359, -0.0721990913, -0.0071717598, 0.0987411961, 0.0246628132, 0.0190957896, 0.0210144483, -0.0699380189, -0.0803161561, -0.0236242469, 0.0670389459, -0.0112811504, 0.0875821188, -0.0337375663, -0.0164012555, 0.0048998655, -0.0557959862, -0.0072669028, -0.0311173871, 0.0165815409, 0.0176948309, 0.071582675, -0.0554488897, 0.0470110103, -0.0090076011, -0.0325296707, -0.0300451461, 0.0402830206, -0.0086733894, -0.005833962, 0.1162635759, 0.0150274485, 0.0107413279, -0.0293881036, 0.01512207, -0.068382524, 0.0165770613, 0.005264319, 0.0316824801, 0.0368830673, -0.0222474951, 0.0158063471, -0.0349133424, -0.0695440024, -0.0400685854, 0.01702163, -0.0281281695, 0.0067881378, 0.0865519643, 0.047458116, 0.00285534, 0.0339006782, 0.0193724465, 0.0579234622, 0.0387514979, -0.0292845964, -0.0872324631, 0.0731419548, 0.0178352017, -0.0162712988, 0.0019009515, -0.0344228782, 0.000929483, -0.0885442868, -0.0239119101, -0.0200750101, -0.0313085392, -0.021561224, -0.0237822477, -0.0066775018, -0.0279602762, -0.0247093812, 0.0202531777, -0.0334229991, -0.0064226454, 0.016202569, 0.0100116152, -0.0353658646, 0.0157437343, -0.1024848446, -0.0244479161, -0.0135577703, 0.0619578585, -0.056512922, -0.0209144782, -0.0166930631, -0.0803176388, -0.0360257961, 0.0022984417, 0.0131666269, 0.0004672658, 0.0290592425, -0.0285587162, -0.0187692717, 0.0209049098, 0.0177803878, 0.0329518989, -0.0079101827, 0.0004197575, -0.01916131, -0.0121978289, -0.0021331171, 0.0236501284, 0.0583414137, 0.0120740598, 0.0109660188, 0.0234745871, 0.0153580271, 0.0352930352, 0.0789845809, -0.0065038274, 0.0185664725, -0.0397886857, -0.0730227977, -0.0903198719, -0.0481984802, -0.0230617858, 0.0779724717, 0.046787668, -0.0089518176, -0.0151156364, 0.0039358828, -0.0714835003, 0.0051783631, 0.0120241344, -0.0376961157, 0.0148563022, -0.0589841567, 0.0214881338, 0.0405673943, -0.0174162835, -0.0460681915, -0.0456431285, -0.0233044419, -0.0247901343, -0.0337269269, 0.0290723834, 0.0326535292, -0.0229106303, -0.0464537591, 0.0426919647, 0.0113974037, -0.0137606859, 0.0195065029, -0.0133706685, -0.0738268718, 0.011603279, 0.0175046176, -0.0110560032, 0.0556121618, -0.0376210026, 0.0349256024, -0.0509218052, -0.0585467294, 0.0071456027, -0.0350533687, 0.0522771329, -0.0780891925, -0.0088237366, -0.0494496413, -0.0043295547, -0.0380149893, -0.0089700921, 0.0389475003, -0.0118352752, 0.0093174148, -0.0176660586, -0.0414029844, -0.0650766194, -0.0049704765, 0.0306048561, -0.0161394831, 0.0325630717, 0.0569166988, -0.0116290171, 0.0118303141, 0.0554843098, 0.0171398427, -0.0054991958, -0.0002887352, 0.0526203439, -0.0421539657, -0.0104873888, 0.0141341975, -0.029332092, -0.0228063669, 0.019036172, 0.0096534854, 0.0198225006, -0.0139530655, -0.0125202797, 0.0183596369, -0.0833404735, 0.0258687157, -0.016036544, 0.0111778602, -0.0362809412, 0.0264681932, 0.0005391897, -0.0147008961, 0.0187094528, 0.0175731797, -0.009682999, 0.039184548, 0.0061743557, 0.0011592251, -0.0051074047, 0.0321343131, -0.0309856869, -0.0106160259, 0.0144183282, 0.0206569713, -0.0039451658, -0.0153568266, -0.0061228019, -0.1171090454, -0.0230352655, 0.022211276, -0.0312452484, 0.0443993583, 0.0012084049, 0.0379156843, 0.0332693942, 0.0196572859, 0.0118138967, -0.0450492837, 0.0309496596, -0.0968645215, -0.0187387485, 0.0131165078, -5.943704616e-33, -0.0523688421, -0.0552244447, -0.0239047036, 0.0070563946, -0.0371533781, 0.0123522934, 0.0142499087, 0.0528750382, -0.0372839309, 0.0169430058, -0.0062727546, 0.0018555683, 0.0154532446, -0.0071637253, 0.0436450541, 0.0211070254, -0.0008429481, 0.0112258242, 0.0110762138, -0.0159198642, 0.0396810696, 0.0225574449, 0.0517388508, -0.0338906161, 0.0251467563, -0.0530837439, -0.0059589967, 0.0272074863, 0.0399395414, 0.0364298932, -0.0209655482, 0.0284109153, 0.0354462005, 0.0219261777, 0.0385880843, 0.0382772125, -0.0696552396, -0.0649111271, 0.0575068854, -0.009404826, 0.030844301, -0.0087655643, 0.0401450619, 0.0351082496, -0.00296975, 0.02124268, 0.0481569581, 0.0008428003, -0.0232363641, 0.004337321, -0.0353731662, 0.0274154358, 0.0190377906, 0.0170319881, 0.082233876, -0.0058783661, -0.0066859354, -0.0419104472, -0.0091293044, 0.018130606, -0.0293152854, 0.0807380751, -0.0056049544, -0.0333190635, 0.0029396438, 0.0323062837, 0.0238834433, 0.0080591738, -0.0218173843, 0.0461007394, 0.0194231588, 0.0481646024, -0.064924255, 0.0586546995, 0.0045875185, -0.0054730559, -0.0391992927, -0.012251297, 0.0294656716, -0.0268631075, -0.0315177478, 0.0445836298, -0.0209720489, -0.0233957674, -0.0380626246, -0.0213949792, 0.0122876605, -0.0300797354, -0.0356277563, -0.0077927513, 0.0404066481, 0.0014849334, 0.0142857265, -0.0078829639, -0.0754346475, 0.0122592198, -0.0097459732, -0.010410931, -0.0143873515, 0.0024481334, 0.0138615379, -0.0157024935, 0.0148111163, 0.0249543674, 0.0276566241, 0.0129123237, 0.0060644392, -0.013618934, -0.0401146822, -0.0414319523, -0.0149783744, -0.0366257951, -0.0558533072, 0.002201854, 0.0547815226, 0.0143923433, 0.024389714, -0.011279664, 0.0985940248, 0.0201127548, 0.0159733407, 0.0289068315, -0.0199816655, -0.0298251361, -0.0306729842, 0.0041150716, -0.0058845468, 0.0422587916, 0.0968234316, 0.0113540655, -0.0298177879, -0.0480859056, 2.547e-7, 0.0890924186, 0.059855599, 0.0407938138, 0.0240715295, 0.0312567502, -0.0246183388, 0.0099440226, 0.0361396745, -0.0431193672, -0.0850920081, 0.0572710261, -0.0380100422, 0.026232332, 0.0731626451, -0.0625536591, 0.0134077948, -0.0220486522, -0.0242954586, -0.0348107666, 0.0652383715, 0.0108674616, 0.0954123288, 0.0435854271, 0.0150110954, -0.0248248279, -0.0108759366, 0.0019546486, -0.0330560766, -0.0098755751, -0.0227029361, -0.0288423058, -0.013924499, -0.005729571, 0.0108909346, 0.0135219274, 0.010750737, -0.0127341561, -0.0153820151, -0.0250496175, 0.0574740916, 0.03808254, -0.0343440659, -0.017964758, -0.0269247852, 0.0141370194, 0.0497679301, -0.004240023, -0.0154699069, -0.0040361322, 0.0506066233, 0.0373368375, 0.0124196419, 0.0072151497, 0.0315723345, -0.0136017613, 0.011989546, -0.0213228911, -0.0508418456, 0.0128808543, 0.1233279109, 0.010679286, -0.0521337427, 0.07755889, -0.0169229303, -0.0110510839, 0.0296236407, 0.0039786822, 1.820964268e-34, -0.0076041608, -0.0031239025, -0.0540164486, 0.0009416154, 0.0523776487, -0.0424095728, -0.0353469886, -0.0012806535, 0.0112648131, 0.0048512248, 0.0079116542 ]
http://arxiv.org/abs/2406.19712v1
http://arxiv.org/pdf/2406.19712v1
Uncertainty Quantification in Large Language Models Through Convex Hull Analysis
2024-06-28T07:47:34
2024-06-28T07:47:34
Ferhat Ozgur Catak, Murat Kuzlu
cs.AI
cs.AI, cs.CL
Uncertainty quantification approaches have been more critical in large language models (LLMs), particularly high-risk applications requiring reliable outputs. However, traditional methods for uncertainty quantification, such as probabilistic models and ensemble techniques, face challenges when applied to the complex and high-dimensional nature of LLM-generated outputs. This study proposes a novel geometric approach to uncertainty quantification using convex hull analysis. The proposed method leverages the spatial properties of response embeddings to measure the dispersion and variability of model outputs. The prompts are categorized into three types, i.e., `easy', `moderate', and `confusing', to generate multiple responses using different LLMs at varying temperature settings. The responses are transformed into high-dimensional embeddings via a BERT model and subsequently projected into a two-dimensional space using Principal Component Analysis (PCA). The Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm is utilized to cluster the embeddings and compute the convex hull for each selected cluster. The experimental results indicate that the uncertainty of the model for LLMs depends on the prompt complexity, the model, and the temperature setting.
[ -0.0136017893, 0.0397344716, -0.040005371, 0.0541717745, -0.01518186, 0.0101111457, -0.03042439, -0.0211390555, 0.0030657111, -0.0356388092, 0.0004484801, -0.0650206432, 0.0528625771, 0.0147486208, 0.0445343964, -0.0761817619, 0.0083672199, -0.081031695, 0.0351141021, -0.0264464375, -0.0133696394, -0.017578125, -0.0136472834, 0.0502040423, -0.0170518514, -0.0017560348, -0.0181700736, 0.0058416794, 0.0016140207, -0.0465068147, -0.0142842336, 0.0761039704, 0.0532296635, 0.0129249189, 0.0000019424, -0.0231277794, -0.0025466548, 0.0244211778, -0.021018384, 0.0489050746, 0.0406888649, 0.0532227755, -0.0160119813, 0.000021408, 0.0172902532, -0.0139076179, 0.0794671774, -0.0024745017, 0.008806047, 0.0077311466, -0.015586704, -0.0251452215, 0.0340362266, 0.0250827987, -0.0400463268, -0.0030167804, 0.0182376262, -0.0173698496, 0.0162486974, 0.0364523083, -0.0225387141, 0.0170047786, -0.0167821497, 0.0126178917, -0.0029042549, 0.0368669406, 0.0015339659, 0.0040356806, -0.0399566367, 0.0459134318, -0.0038710299, 0.0090217534, -0.005496216, -0.0201817919, 0.0101853348, 0.0240256041, -0.0539732128, -0.009529083, 0.0180516932, 0.0056536272, -0.0536524132, 0.0028110815, -0.0029343271, -0.0682069361, -0.0466423035, 0.0670362636, 0.0404703096, -0.0380538851, -0.0486017279, -0.0302599259, -0.0234041903, -0.0107307602, -0.01273851, 0.0094808154, -0.0210823547, 0.0353637598, -0.0021341564, -0.00172945, 0.0165925864, -0.0648281872, 0.0612805672, -0.0029868451, 0.0170102529, -0.0171964224, -0.0173491482, 0.065118514, 0.0103823133, 0.0026814309, -0.0445431545, 0.0266962778, -0.0187433753, -0.0180814639, -0.010724714, 0.0360442996, -0.0023427999, -0.0009497302, -0.072909452, 0.0374136716, -0.0157263428, 0.027867917, -0.0060308687, 0.0077962237, 0.0458492525, 0.0135880318, -0.0023614538, -0.0106201209, -0.022411814, 0.0025264178, -0.0415809453, -0.0372867361, 0.0243666936, 0.0334240012, -0.0043540667, -0.0088159852, -0.0279666558, 0.0374305137, -0.0081417412, -0.0243911874, -0.0128343916, 0.0066770311, -0.0842733532, -0.0292860661, -0.0138163045, -0.0743120536, -0.0126804113, -0.0016652477, -0.0200533643, 0.0079681044, 0.0030445417, -0.027970653, -0.047610309, 0.0745070428, 0.0335790142, 0.0483312085, 0.0670104101, -0.0260607582, 0.0134784253, 0.0476474799, 0.0741731003, 0.0192019809, 0.0440451205, -0.0369144566, 0.0343459845, 0.0255101901, -0.0041534584, 0.0106135635, -0.0656564906, -0.0125422552, -0.0005881062, 0.0067830924, -0.0160696469, 0.0825072825, -0.0197637342, -0.0079826247, 0.0541706719, 0.0771810859, -0.0242755692, -0.0512232669, 0.0004898499, 0.0243258551, 0.0000901309, -0.0017988809, -0.0143008213, -0.0241461694, -0.0619810149, 0.0158827361, 0.0571960621, 0.0148068639, -0.0149715357, -0.0415295139, -0.0407275744, -0.0210528262, -0.0175063852, 0.0031017922, 0.0725720674, -0.071475029, -0.035433352, 0.0184849501, -0.0098652393, -0.0488284864, -0.0164633822, -0.057551384, 0.0504468158, 0.0327092744, 0.0053298818, -0.0515023135, -0.0171412788, 0.015084059, -0.0305476598, -0.0034164381, 0.0262818113, -0.0095940195, -0.0039760428, -0.0293309614, -0.0399185903, 0.0527304262, 0.0260349102, 0.0157801677, 0.0101443874, -0.0203700811, -0.0165326241, -0.0446849056, -0.0043271431, 0.0178419799, 0.044410497, -0.0084606474, -0.0068122819, 0.0169222075, 0.0626554489, 0.0275562759, -0.0227852892, 0.0303657204, 0.0637212172, -0.0268517137, -0.0155288074, -0.0038733457, 0.0147397527, 0.0182983745, 0.0335241072, 0.0094737299, -0.030348571, -0.0135957031, -0.0045881709, -0.0525666624, 0.0340277217, -0.0384502076, 0.0012329518, -0.0191192161, 0.0456583835, -0.0433584675, 0.020506369, -0.0808336437, 0.0324154533, -0.0440997928, 0.0589831173, 0.0099007254, 0.0340226069, 0.022989098, -0.0216638446, -0.046840135, -0.0027696094, -0.0239712782, 0.0131105585, 0.0346787348, -0.0174086764, 0.0386280231, -0.056961637, -0.0641981885, -0.025991844, 0.0188419912, 0.0107430536, -0.0011419047, -0.0410872139, -0.017747391, 0.0164690539, -0.0052433107, -0.0014581165, 0.0088852514, 0.0268881898, 0.0388655514, -0.0327674821, -0.084460862, -0.0313052088, -0.0331201777, -0.0144131873, 0.0505089536, -0.0030522416, -0.0170521196, -0.0716815144, 0.0411096364, -0.0059793903, 0.0068222648, 0.0085366461, -0.034967009, 0.0307878684, -0.0407320559, 0.0673768446, 0.0182765219, 0.0055704173, 0.0188612882, 0.0453399532, -0.0418893918, -0.0287184138, 0.0054037385, -0.0621651672, -0.0181651209, -0.0060947742, -0.0826018751, 0.0234561898, 0.0113513088, 0.0489046462, -0.0163867064, -0.0682903901, 0.0022474809, -0.039850086, -0.0299312901, -0.0691301525, -0.0103200413, -0.032323923, 0.0701133907, -0.0061898665, -0.0733434856, 0.049050536, -0.0687540695, 0.0412315689, -0.0177467261, -0.0033830358, 0.0240950678, 0.0090768123, -0.0060545155, 0.0220678393, -0.0381356925, -0.0224982053, -0.0365700126, -0.027416436, 0.0298169665, -0.0487876907, 0.0306496415, -0.0512118936, -0.0058498951, 0.0105718588, 0.0134425927, -0.0199728701, -0.0170452762, 0.0148053085, 0.0013760983, 0.0716298446, -0.055003304, 0.0269283317, 0.0782824904, 0.0138980104, -0.0229599476, -0.0298807211, -0.004697978, -0.0269676577, 0.0448090695, 0.0223915521, 0.0717498064, 0.0526672006, -0.0422291122, -0.0391268358, 0.0004227193, 0.0036526134, 0.0375071578, -0.0350434482, -0.0177384466, 0.0571943112, 0.0212088171, -0.0404241942, 0.072402142, 0.075923264, 0.0120000802, -0.0094264559, 0.1050739735, 0.0422431342, 0.0146858823, -0.003035885, -0.0226081666, 0.0878906399, 0.038256593, 0.013983937, 0.0082959589, 0.031773977, -0.0013909612, 0.0187897515, 0.0033504514, 0.0022755859, 0.0245092306, -0.1083466485, 0.077642858, -0.0062510376, -0.0708442256, -0.0766590312, -0.0756827295, 0.0098332362, 0.0292132869, 0.0170479976, -0.012333435, 0.0248922482, -0.0185771808, 0.0426119119, -0.0979641229, -0.065955773, -0.0035750652, -0.0270844102, 0.1168489084, 0.0148485433, 0.0068346178, -0.0501134992, -0.0266516749, -0.0214320477, -0.0115062166, -0.0141417189, 0.0093105091, 0.0087911924, 0.0911754221, 0.0150083145, -0.0155487154, -0.0100757983, -0.0262468457, 0.0001774769, -0.0038575791, 0.0991208404, -0.0159330666, -0.0023803096, -0.0274146572, -0.0085505676, 0.0242262408, 0.049602665, 0.0109524783, -0.0221452489, -0.0442438014, -0.0279235039, 0.0157947224, 0.015941564, 0.0281385798, 0.0171210915, -0.0182579327, -0.0287717283, -0.0690225661, 0.0567918643, 0.0211221166, 0.0234034769, 0.0071451613, -0.0090754256, 0.0425333269, -0.0161631834, -0.0325110517, -0.0168949924, -0.0053572226, 0.0614827313, -0.0398781188, 0.0640419796, 0.0199128836, 0.0003797877, -0.0304956585, 0.0221061464, -0.0300041251, -0.098331593, 0.0161798801, 0.0551233962, 0.0171147194, -0.0151163023, -0.0214060172, -0.0858346075, 0.0889126807, 0.008875506, 0.0181902293, 0.0264927913, 0.018768739, 0.0496700406, -0.030716572, -0.0078119426, -0.0217629969, 0.0219002515, -0.0235679131, -0.0038748852, -0.0435172319, -0.1081747785, -0.035466563, 0.0418855362, 0.0599626005, -0.0015318078, -0.0449759252, -0.0539948046, 0.0098164054, -0.0255870093, 0.0118130241, -0.0035847086, -0.008054385, 0.0217800606, -0.0479518175, -0.0312149264, -0.0333397314, -0.0055975178, 0.0322466791, -0.0113881072, -0.0110312905, 0.0293770302, 0.0139683615, 0.0256101917, 0.0189899728, 0.0157041475, 0.045165468, -0.027561428, -0.0085174562, 0.0339141823, 0.0156605318, -0.0002524166, -0.0087591093, -0.0296592917, 0.0252915863, -0.0448525213, -0.0476092473, -0.0305500068, 0.0426184349, 0.0278990809, 0.0541364439, 0.0337178297, -0.01474657, -0.0088350093, -0.0460660197, 0.0337721966, 0.0308067147, 0.0248800348, 0.1005249545, 0.0262048077, -0.0388884991, -0.0071390392, 0.0489253923, -0.0179863311, 0.0132189263, -0.0436025113, -0.0519118682, -0.0480433665, -0.009877013, 0.0442184955, 0.0646948144, -0.0517739542, 0.0221876726, -0.0484354608, -0.057645537, 0.0161575153, 0.0421906747, 0.0059242845, -0.0246237312, 0.013457384, 0.05656844, 0.0033039425, 0.0252842717, -0.0257907305, -0.0168285444, 0.0097698225, -0.0103573259, -0.0119787762, -6.636473028e-33, -0.0237152614, -0.0439650305, -0.0449888147, -0.0147335902, -0.0206758808, -0.0205863938, 0.02072585, 0.049951043, 0.0073028863, 0.0062015997, 0.005910967, -0.0172446743, 0.0150661627, -0.0017521249, 0.0284402966, 0.0069857077, 0.0224762652, -0.015116306, -0.0024672302, 0.0220883843, 0.0581010021, -0.007821572, 0.0101058772, -0.0821314082, 0.0382236391, -0.0055186441, -0.0047501894, 0.0427762792, -0.0015442111, 0.047817383, -0.0372569598, 0.065971829, -0.0104047051, 0.0131605249, -0.0302179139, -0.0002829057, 0.0062106918, -0.0430429056, 0.0157113019, 0.0196979474, 0.0008536528, -0.0176955257, 0.0387579389, 0.0120608332, -0.0495115891, 0.0280474704, 0.0534440875, -0.0134366136, -0.036116343, -0.0129653355, -0.0234010387, 0.0211901385, -0.0121766888, -0.0177996196, 0.0152834831, 0.018289879, -0.0081765307, 0.0130543504, -0.0222515594, 0.0427251384, 0.0437853895, 0.0315433554, 0.0572721325, 0.0603707805, 0.011572862, 0.0342163481, 0.0154743586, -0.0212494116, -0.0224113259, -0.0559284128, 0.0627286881, 0.0221316926, 0.0501081273, 0.0525460914, -0.0140985306, 0.0048515731, -0.0441300645, 0.0315216519, -0.0006353364, -0.0151486201, 0.0680064335, 0.0306555927, -0.05540644, -0.0633695275, -0.0570060499, -0.0053871311, -0.0271109901, 0.0361154824, 0.023373697, -0.0361820832, -0.0292321555, -0.0424837396, 0.0333682708, -0.0368338153, -0.0328492895, -0.0448712967, 0.0052667041, 0.0424420014, 0.0240288414, 0.0529968441, -0.015225607, -0.0258263964, 0.0076457607, -0.0109681822, -0.006714059, 0.0042731878, -0.0341316201, 0.0235471204, -0.0461918786, 0.0106176846, 0.0242502876, -0.0371480435, -0.007398413, 0.0207088962, 0.027017206, -0.0431836173, 0.0048127985, 0.0375357419, 0.0070650768, 0.0386019573, 0.0115737859, -0.0003334982, -0.0332709141, 0.0005793806, -0.0058747404, 0.0127587328, -0.0180691034, -0.0004994294, 0.0503423773, -0.0518435612, -0.0336772166, -0.007923496, 2.735e-7, 0.0562238097, 0.0844098106, 0.018402515, 0.0388794467, 0.0155161442, 0.0270382576, -0.0159147847, -0.0087950043, -0.0010318354, -0.048228547, 0.0041289162, -0.0036844171, 0.0254205111, 0.0366398282, -0.0233312026, -0.0166914761, -0.0356864743, 0.0565449968, -0.0260992236, 0.0314161927, 0.1238873377, 0.0709123313, -0.0152291106, 0.0168073811, -0.0311731063, 0.0200927109, 0.0184536409, -0.0597854219, 0.0063110655, 0.0375245214, 0.0507474616, -0.0326559432, 0.0332378596, 0.0543372147, 0.0064970604, -0.0107323378, 0.0020453092, 0.0342679061, 0.0090620779, 0.0008768739, 0.0300610065, -0.0164778065, -0.0208482072, -0.0816840902, 0.0220403299, -0.0801454559, -0.0228454117, -0.0483657271, 0.0083860829, -0.0142332055, 0.0605653673, -0.028637331, -0.0067286398, -0.0034951116, -0.0072415303, 0.0025270772, 0.0576640256, -0.0415067412, -0.0000494729, 0.0017504806, -0.0696350932, -0.0460092798, 0.0053406958, -0.0161005408, 0.02123156, -0.0353290923, 0.0270775184, 2.886134342e-34, 0.04454799, 0.0066411048, -0.0084246108, 0.0101596909, 0.0164146256, -0.0295867771, 0.0117001515, 0.0109080113, 0.0216716211, -0.0889983252, 0.0015633319 ]
http://arxiv.org/abs/2406.19674v1
http://arxiv.org/pdf/2406.19674v1
Less is More: Accurate Speech Recognition & Translation without Web-Scale Data
2024-06-28T06:22:23
2024-06-28T06:22:23
Krishna C. Puvvada, Piotr Żelasko, He Huang, Oleksii Hrinchuk, Nithin Rao Koluguri, Kunal Dhawan, Somshubra Majumdar, Elena Rastorgueva, Zhehuai Chen, Vitaly Lavrukhin, Jagadeesh Balam, Boris Ginsburg
cs.CL
cs.CL, cs.LG, cs.SD, eess.AS
Recent advances in speech recognition and translation rely on hundreds of thousands of hours of Internet speech data. We argue that state-of-the art accuracy can be reached without relying on web-scale data. Canary - multilingual ASR and speech translation model, outperforms current state-of-the-art models - Whisper, OWSM, and Seamless-M4T on English, French, Spanish, and German languages, while being trained on an order of magnitude less data than these models. Three key factors enables such data-efficient model: (1) a FastConformer-based attention encoder-decoder architecture (2) training on synthetic data generated with machine translation and (3) advanced training techniques: data-balancing, dynamic data blending, dynamic bucketing and noise-robust fine-tuning. The model, weights, and training code will be open-sourced.
[ -0.0258230586, 0.066996634, 0.0121014202, 0.0409380309, 0.0028280104, -0.0113382079, 0.035301432, -0.0466548838, -0.0270942468, -0.0316977948, -0.0654155165, -0.0565935895, 0.0638683364, 0.0357066728, 0.0430969931, -0.0213003159, 0.0130136488, -0.0397357419, -0.0168790016, -0.0069026262, 0.0026269148, -0.0062765982, -0.0175216086, 0.0423310101, 0.0223140623, 0.0093744844, -0.02217892, 0.0497549847, 0.0132309934, -0.0139245288, 0.0200505983, -0.0035163006, 0.0348440595, 0.056005165, 0.0000018475, -0.0034685484, -0.0116167935, -0.010558214, -0.0379716083, -0.0275921226, 0.0100315753, -0.0286433641, -0.0291576702, 0.0806424618, 0.0064067589, -0.0125705153, 0.0286503732, 0.0105130086, 0.0318429507, 0.0921417773, -0.0073530087, -0.0362936147, 0.0498210117, -0.0155765926, -0.0116197579, -0.0327743553, -0.0232263505, -0.0345975645, -0.0597291142, -0.0336014591, -0.0284277052, 0.0466709733, 0.0133555299, 0.0094660074, 0.0211873837, -0.0061433194, -0.0585524924, -0.051928889, -0.030898843, 0.0730915964, -0.0528661087, -0.0223600343, 0.0052876552, 0.0147289718, -0.0266734865, -0.0486764535, -0.0374880917, 0.0357858576, 0.0089540379, 0.0062608374, -0.0067643342, 0.0385941342, 0.0178384166, -0.02249486, -0.0376438349, 0.0094066057, -0.0059436229, -0.0431064591, 0.0060132071, -0.0196084287, 0.0120351585, -0.0179838408, 0.0604691021, 0.0296235774, 0.0044022859, -0.0013983226, -0.0489010811, -0.0551346689, -0.0091436477, -0.061885681, 0.0224610921, 0.0701718032, -0.0412931852, 0.0283795875, -0.0095648505, 0.0643828064, 0.0109990789, -0.0042119473, -0.0342741571, -0.0148008186, -0.0000542071, 0.0482835099, -0.0443136431, 0.0056689237, -0.0444300324, -0.0342051052, -0.0320042819, 0.0129187685, -0.003736503, 0.0290136263, 0.0494024158, -0.0095235547, -0.0812294632, -0.010590232, 0.0287978817, 0.0555103868, 0.0288632419, 0.0270368326, 0.0234473087, -0.1071925312, -0.0208552778, 0.0103469472, 0.0462020263, -0.0136592863, -0.0017768709, 0.0837113336, 0.0010545048, -0.0314383954, -0.0232015494, 0.0031333952, -0.0129761873, -0.0482372902, -0.0250703506, -0.0515135378, 0.078944318, -0.0049596811, 0.0313243419, -0.0227818172, 0.0126995901, -0.0079002446, -0.0008738876, 0.0486139134, -0.0165025834, 0.0135389492, 0.0016763526, -0.0399962552, -0.0163488444, 0.0591240525, 0.0600195713, 0.0144149633, 0.0065680048, -0.0174410101, -0.016847631, 0.0428825654, 0.0105009386, 0.0199489277, -0.0192906894, 0.0006579568, 0.0335417911, 0.0263198819, 0.0471820273, 0.0654009134, -0.016590843, 0.0187470727, 0.0979139879, -0.0062692519, 0.0134650012, 0.0503562875, 0.0245295465, 0.0234503988, -0.0055807112, -0.0335883424, -0.0352533609, 0.0191955436, -0.0006590933, 0.0217367262, 0.0767994523, 0.0516642705, -0.0396007188, -0.0153815085, 0.0012277642, -0.0433038026, -0.0197251569, 0.0500914305, 0.0290277582, -0.002917368, -0.0537496172, 0.0455972366, 0.0098384768, -0.0646691844, 0.0558294356, 0.0106213167, -0.039006453, 0.0703529865, 0.0277644489, 0.0005191742, -0.0450088717, -0.0533527844, 0.0231047831, 0.0385614857, 0.0024621482, 0.0207157787, 0.0528412908, -0.0826479271, -0.0211330056, 0.0381597392, -0.0284422338, 0.0312434267, -0.0115937665, 0.0374780782, 0.0256695207, -0.0201860163, -0.0413232744, -0.008441641, 0.0022973954, -0.0143885082, 0.0277605597, 0.011513425, 0.0572541468, 0.0335446112, -0.0165808275, -0.0151095586, 0.0335784964, -0.0448397398, 0.0069756005, 0.0345534086, -0.0491722599, -0.0356461555, 0.052320011, -0.0209441036, 0.0462949686, 0.0500107482, -0.0147309816, -0.0828337446, 0.0096469047, -0.0433337912, 0.0696635693, -0.0255570021, 0.0704185516, 0.036447417, 0.0439844243, 0.0309901852, -0.0110759418, -0.0082381628, 0.0132795516, -0.0308657046, 0.0022380808, -0.0088368291, -0.0719364658, -0.0371586345, 0.0121918991, -0.0314737298, 0.0364943445, 0.015424748, -0.0086851893, -0.021909859, -0.0062062819, -0.0697006807, 0.0104670823, -0.0204769131, 0.0304197837, 0.0202589929, 0.0602735206, 0.0208621491, -0.0367130302, -0.03923475, -0.019550113, -0.017100675, 0.0057656146, -0.0239879917, -0.0361181237, -0.0249008182, -0.0110248039, -0.0003081006, 0.019196054, 0.0072851302, -0.0361744575, -0.0289997775, -0.0469886661, 0.011460118, -0.0088668438, 0.0483052284, -0.0063842465, -0.0766622797, -0.0169737563, 0.0043952004, 0.0202576462, 0.0526810996, 0.0224147439, -0.0408559851, 0.0121536516, -0.0083896322, -0.0620840155, -0.0009277262, 0.017801078, -0.005195207, -0.0266740695, 0.0074030454, -0.015078336, 0.0509901904, 0.0109676765, 0.0417248756, -0.0507410765, -0.0455946438, 0.0127378684, 0.0102765122, -0.0235151127, 0.0218687691, -0.0316416956, 0.0003813939, -0.032154303, -0.0287204552, 0.0299171451, -0.0706300437, -0.0415536687, -0.0204263162, -0.0255373996, -0.0090396861, -0.0355032906, -0.0260640718, 0.0400845632, -0.0195854791, -0.0441395417, -0.0118700974, 0.0019192901, 0.0141596459, -0.0556259677, 0.0521617271, 0.0068933787, 0.0087055378, -0.0297750887, -0.0379233845, -0.0606632791, 0.0230047852, -0.0303854886, 0.0112842312, 0.0086822677, -0.0460357741, -0.0529458709, 0.0190385878, 0.0334902629, 0.1032811329, -0.0018393995, -0.0004698803, -0.0235652402, 0.0437734835, 0.0233861171, 0.0208966304, 0.0179597195, -0.0226802435, 0.0324454531, 0.0240029823, 0.0807930976, -0.0002427336, -0.0477779806, -0.0228233859, 0.0450563394, 0.006326755, 0.0391430594, 0.0359442532, 0.051005356, -0.0489748791, 0.0150231328, 0.1161467135, -0.022701703, -0.0477427579, -0.0150789889, 0.0212575849, 0.0036204252, 0.0203636996, -0.0032460084, -0.0584140904, -0.0320095345, 0.0494142808, 0.0561446324, 0.0219688583, 0.0259778835, -0.0191763919, -0.0832945034, 0.012260613, 0.0414999127, -0.0279474612, -0.0463992171, -0.0433400013, -0.0238746218, -0.0472683422, 0.0550341867, 0.0156225134, 0.0122461841, -0.0273371954, 0.0227810815, -0.0321444571, -0.0922086015, 0.0008743592, -0.0523492619, 0.0615330897, 0.0333113745, 0.0340794623, 0.0068259975, -0.0538006835, 0.0470854342, -0.0001593765, -0.004180369, -0.0019519229, 0.0341846272, -0.0238172077, -0.0098140892, 0.0265581999, 0.012013996, -0.0588271543, 0.0250152014, 0.0266931895, 0.0737781376, -0.0235312935, 0.0357396007, 0.0380104892, -0.0352235362, 0.0195602849, 0.0528104529, 0.0212502591, -0.0243893862, 0.0036898395, -0.0030255851, 0.0167166442, -0.0452239923, 0.0031945596, 0.0224343408, 0.0008671031, -0.0820042342, -0.0629707426, -0.0352124013, 0.0173432343, 0.0333873406, 0.0378885418, -0.0081886258, 0.0342544988, 0.0040240316, -0.0509778261, 0.0205594823, -0.0453028008, 0.0303541943, -0.0645184442, -0.0101962145, 0.0227734689, -0.0612152927, 0.016930135, 0.0197044685, -0.0962467194, -0.0749263689, -0.0086502247, 0.0255504996, 0.016167324, 0.0655937865, -0.0688308403, -0.01936079, 0.0573244616, 0.0073595666, -0.0815041065, -0.0179528631, 0.0774304345, 0.0009561194, 0.0041614547, 0.0297691002, -0.0494485833, 0.0106624663, 0.0112624755, 0.030901337, -0.0286062397, -0.0159280356, 0.0143592926, 0.0280518271, 0.0585440695, -0.0243534744, -0.012833911, -0.0169875119, 0.0606526881, 0.0311664119, 0.0293653607, -0.0422607437, -0.0252141841, 0.0264990944, 0.0259267502, 0.0111276638, 0.0502889231, -0.0137576349, -0.0993468538, -0.0231714193, 0.027954394, -0.0399456769, 0.0065357615, 0.0322023407, 0.0050918525, -0.0207410157, 0.0354752578, 0.0361592025, 0.0261105467, -0.0146510787, -0.0139037231, 0.0029802993, 0.0266877916, 0.0115712164, 0.0274183266, -0.0412454009, -0.0381180458, -0.0550300255, 0.0019640622, 0.0608835705, -0.0013568845, 0.0764694735, 0.041210413, 0.0168637894, -0.0434642024, 0.0391603634, -0.0301780477, -0.0201459527, 0.0050663818, -0.0066177351, -0.0041882857, 0.0344868302, 0.0622719191, -0.0173108112, 0.0182860456, -0.0109437471, 0.0311718863, -0.0284135342, -0.0177354105, -0.0279258993, -0.001424137, -0.0308143906, -0.0440797172, 0.026082132, -0.0722778738, 0.0193859469, -0.0124909915, 0.0156997722, -0.0398152433, 0.0183466226, 0.0069213198, -0.0262652412, 0.0022084094, -0.014035291, -0.0303351488, 0.0075357137, -0.0209897291, 0.0041055386, -6.178490143e-33, 0.0078209089, 0.0298718177, -0.002931898, -0.0162184536, -0.0453414246, 0.0161602963, -0.0412089191, -0.0295409039, -0.0268168394, -0.0505310334, -0.021934025, 0.0234064627, 0.0392025895, 0.043139834, -0.012605737, 0.0058019189, 0.0887961388, -0.0127615761, -0.0352269262, 0.0245711971, 0.025198957, 0.0364558734, 0.0588575378, -0.0314979777, -0.0502335057, 0.0038866391, -0.0143210143, -0.009517421, 0.04167182, 0.0232342128, 0.004727494, 0.047824841, -0.0069289738, -0.0010043747, -0.0304644499, -0.0030617991, -0.0850183368, 0.0182273611, -0.0231679659, 0.0653513819, 0.0118873278, -0.0285724141, 0.0658182055, -0.0068263868, -0.0107742734, -0.0262362882, 0.0200077463, -0.0566734821, -0.0401023515, -0.0661701113, -0.0209315754, 0.0169831403, -0.0178485401, -0.0246554427, 0.0486018844, 0.0735762268, -0.0198615473, -0.0183078405, -0.1027349532, 0.0468906797, -0.0006235793, 0.0438261405, 0.0533402376, 0.047461316, 0.0058651185, 0.0225263406, 0.0443301238, -0.0170842931, 0.0310235042, 0.0141157731, 0.0637138337, 0.0050934469, 0.0222931989, 0.0064704251, 0.0384433493, -0.025017852, -0.0250642654, 0.0060116244, 0.0215957873, 0.0090991948, 0.0416103154, 0.0081759281, -0.0478570648, 0.0121969385, -0.0240759514, -0.0476538651, -0.0428522378, -0.0034807471, 0.0391620137, 0.0449345857, -0.0014475206, -0.0009302092, 0.0793155879, -0.0285620801, 0.0381566323, 0.0051905825, 0.0307123959, 0.0043594823, -0.0091902614, 0.0274399035, -0.0391036421, -0.0551473796, 0.0069912635, 0.0464595966, -0.0032813393, -0.0147732114, 0.0328897499, 0.063102223, -0.0485980473, 0.0000083505, -0.0366746522, 0.041174043, -0.0014933284, -0.0024449513, 0.0519380905, -0.0294394884, -0.0082504107, 0.060739208, -0.0332024284, 0.0138467969, -0.0224947948, -0.0036915042, 0.0250303689, 0.0423335247, -0.0672385618, -0.0051632174, -0.0357098356, 0.0067183925, 0.0286435876, -0.0383887142, -0.0359002948, 0.0021084785, 2.683e-7, -0.0543813221, 0.0032340579, 0.0189757347, 0.0016323543, 0.0076147025, -0.000293639, -0.0098701157, 0.0119902147, -0.0050025359, 0.0111178253, -0.001810357, 0.024216095, 0.1107495055, 0.0277240202, -0.0913594812, -0.067402333, -0.0542473346, 0.034924794, -0.0220602993, -0.0016319397, -0.0109179821, 0.1125258952, -0.0045763394, -0.0153215686, 0.0208076816, 0.0129718883, 0.0320664011, 0.0258022416, -0.007641491, -0.0176565479, -0.0047958787, 0.0150096035, -0.0534655601, 0.001181994, -0.0508271828, 0.0086490335, -0.0223490521, 0.0438508727, -0.01840044, -0.0296044592, -0.0001198489, -0.0134935277, -0.0246269479, -0.0325391442, 0.044618953, -0.0099282097, -0.0004127701, 0.0106575768, -0.0492034927, 0.0022689488, -0.0129683465, -0.0445944443, -0.006155917, -0.0021658032, 0.0324990898, -0.0273002125, -0.0088955862, -0.0447553322, -0.0052998783, 0.0112366648, -0.0194316208, -0.0351461843, -0.0292910263, -0.04078326, 0.0255606212, 0.0055853138, 0.0153164389, 2.102500216e-34, 0.0415708385, -0.0181570761, 0.0527701415, -0.0181669686, 0.025961969, -0.049722638, 0.0354550481, -0.00631426, 0.0142341163, -0.0467380695, -0.0472107753 ]
http://arxiv.org/abs/2406.19650v1
http://arxiv.org/pdf/2406.19650v1
DECOR: Improving Coherence in L2 English Writing with a Novel Benchmark for Incoherence Detection, Reasoning, and Rewriting
2024-06-28T04:38:54
2024-06-28T04:38:54
Xuanming Zhang, Anthony Diaz, Zixun Chen, Qingyang Wu, Kun Qian, Erik Voss, Zhou Yu
cs.CL
cs.CL
Coherence in writing, an aspect that second-language (L2) English learners often struggle with, is crucial in assessing L2 English writing. Existing automated writing evaluation systems primarily use basic surface linguistic features to detect coherence in writing. However, little effort has been made to correct the detected incoherence, which could significantly benefit L2 language learners seeking to improve their writing. To bridge this gap, we introduce DECOR, a novel benchmark that includes expert annotations for detecting incoherence in L2 English writing, identifying the underlying reasons, and rewriting the incoherent sentences. To our knowledge, DECOR is the first coherence assessment dataset specifically designed for improving L2 English writing, featuring pairs of original incoherent sentences alongside their expert-rewritten counterparts. Additionally, we fine-tuned models to automatically detect and rewrite incoherence in student essays. We find that incorporating specific reasons for incoherence during fine-tuning consistently improves the quality of the rewrites, achieving a result that is favored in both automatic and human evaluations.
[ -0.0079149548, 0.0602520481, -0.0109182354, 0.0131352004, -0.0690482035, -0.0156628378, 0.0146603873, -0.0415735692, 0.0015301708, -0.0792206675, -0.0025181482, -0.0146613829, 0.0415131263, 0.0160821117, 0.0024301105, -0.0545564219, 0.0447260141, -0.0111175524, 0.0443076901, 0.0157218371, 0.0381567813, 0.0147483349, -0.0153877251, 0.0405702442, -0.0092792232, -0.0774091333, 0.0015536026, 0.0414700359, -0.0027862301, 0.0084954333, 0.0450606942, 0.0790480748, -0.0339549035, 0.0153761283, 0.0000019464, -0.0381076634, -0.0342438668, -0.0315803289, 0.0081315199, 0.0419160984, 0.0337414034, 0.0152419657, -0.0278139263, 0.0175907463, -0.0192876756, 0.0431910418, 0.026153611, 0.0459271446, 0.0485750958, 0.0718541592, -0.0134861926, -0.0130686332, 0.0380636789, 0.0216856133, -0.012728448, 0.0312628746, -0.0110080233, -0.002459819, -0.0160015989, -0.0422444008, -0.0174651481, 0.0304524675, 0.0065738261, -0.0747965351, 0.0189989414, -0.0226113573, -0.0432334878, 0.0023268852, 0.014911864, 0.0195912533, -0.0172131266, -0.0243562255, 0.0069721206, -0.0222734138, 0.0014131501, 0.0109708579, -0.00277684, 0.0091262637, -0.0428915136, 0.0122219138, 0.0632286668, -0.0427968912, -0.0192311071, 0.0226510447, 0.0310431812, 0.068546623, 0.0098242788, -0.021396013, -0.0123084541, 0.046771124, -0.0254488196, -0.0353524908, 0.03369762, 0.0079042837, -0.0482323356, -0.0117379194, -0.0441831276, -0.0692159832, -0.0009884809, -0.0173737016, 0.0590390079, 0.0054928632, -0.0297280215, 0.0054223938, 0.0157897472, 0.0395686552, 0.0487652533, 0.0407863185, -0.0442067273, 0.0057472088, -0.0235573687, -0.0208783038, -0.0483383611, 0.0256664418, -0.0144093586, 0.0018685076, -0.052563291, -0.0383436456, -0.0432537794, 0.0129956184, -0.0300843231, 0.0046154358, -0.0072033363, -0.0101150982, 0.0241915826, 0.0543979518, -0.0093973866, 0.0259290058, 0.0023738698, -0.0263407864, 0.0085318992, 0.0449485555, 0.0196822956, -0.0113658048, -0.032354258, -0.0040601618, -0.0381919965, -0.0045315754, -0.0232352503, -0.0361762121, -0.0296406709, -0.0376378521, -0.0380787551, -0.0752388686, -0.0056660506, -0.0074237552, 0.018513551, -0.0994730964, -0.0251510516, 0.0037535508, 0.0018126284, 0.0081351986, -0.0661753938, 0.006078945, 0.0149923721, 0.0015490317, 0.0166899804, -0.0075584338, 0.0425673835, -0.0248173904, 0.0355922468, 0.0095554423, 0.0524280854, 0.019221684, -0.0488428771, -0.0361038223, 0.0092190988, -0.0261941887, -0.0328397974, 0.0622013398, 0.0237042811, 0.0515157394, 0.0052335477, 0.0507476516, 0.0678406283, 0.026993081, 0.0384808816, -0.0068066237, 0.0292554833, 0.054155264, 0.0391609222, 0.0835836604, -0.0047892146, 0.0036551708, -0.0160088986, 0.0344254188, 0.0097731892, 0.0301386341, 0.0015645331, -0.0883024856, -0.0315976962, 0.0145017812, -0.0287875589, -0.0110668, -0.0128471414, 0.0054663881, -0.0241718888, 0.0052606724, 0.0099577047, -0.0901419446, 0.0456918925, 0.0154700149, 0.0308081936, 0.1153738499, 0.0298216399, -0.0493034199, -0.0264006667, -0.0365651511, 0.0355873592, 0.0503005944, -0.0006461942, -0.0138919307, 0.0508408882, -0.0422251001, 0.0030308412, -0.034129899, 0.0525672361, -0.0275821742, -0.0419564024, -0.0085615199, 0.0044961418, 0.0089455759, -0.071870476, 0.0436675884, -0.0026988257, 0.0336918831, 0.0052547613, 0.0088346079, -0.0190028101, 0.041438017, -0.0306425802, 0.0145632057, -0.0034059333, -0.0465803705, -0.0101691447, 0.0227536988, -0.0292840581, -0.0212678127, 0.0427803695, -0.0774793848, -0.032630194, 0.0071365768, -0.0093495678, -0.0497142896, 0.0091032842, -0.0355580933, -0.0100894077, -0.0165563356, 0.0333273411, -0.0269582849, -0.0167208239, -0.0349140503, 0.0053558513, 0.0061064227, 0.0159451589, -0.0239966214, -0.0400192402, -0.003093458, -0.008857131, -0.0041239862, -0.0203620344, 0.0070614819, 0.0274592359, 0.0124335485, 0.0228622258, -0.0699488074, -0.0771597475, -0.0483904295, -0.0085020736, -0.0348749682, 0.0156553742, 0.053899724, -0.0511543974, -0.0077717863, 0.0265026912, -0.0130525958, -0.0485374592, 0.0113040544, -0.0206242669, 0.0813031644, -0.0441063493, 0.0095367823, -0.0610722303, 0.0041454555, -0.022144217, 0.0068554785, 0.0375824012, -0.0467356145, -0.0547485687, 0.0221329648, -0.0006552131, -0.0698199943, 0.040682748, -0.0608082488, 0.0162588134, 0.0182740372, 0.0747439563, 0.0720067397, 0.0136327799, 0.031229062, 0.0587163232, -0.0410697982, 0.0124733793, -0.0086598825, 0.0426950641, 0.0461521596, -0.0145118609, -0.0644353628, 0.0165039282, 0.0415697135, 0.0105238585, -0.0148360683, -0.0177603383, 0.0242117494, -0.0462771431, 0.0183045194, -0.0382064953, -0.0414965674, -0.0147860264, 0.0344499089, -0.0360827409, -0.0015978132, 0.0493437797, -0.0385667756, -0.0097847963, -0.0400053412, 0.005158829, -0.0525791571, 0.0001900259, -0.018002877, 0.0139737474, -0.0023202337, -0.0291638039, -0.0360014588, 0.0065420377, 0.0716869533, -0.0129017858, 0.0637861565, -0.0707085356, -0.0259436779, 0.0156632308, -0.0624431446, 0.0112532331, -0.0542474017, -0.0149266208, 0.0054381564, 0.0021495644, -0.023654772, -0.0187247563, -0.0350743085, 0.0190888569, 0.059000209, -0.0378832296, -0.0042339843, -0.0156924315, 0.0350009128, 0.0344953723, 0.0436474904, -0.0121045103, -0.0500885658, 0.0529133193, 0.0324059315, -0.040903721, 0.0281613339, -0.0266702324, 0.0132778101, 0.0000849655, -0.0291546509, -0.0353195108, -0.0026251043, 0.0708854571, -0.0588417388, -0.0073399716, 0.1231259629, -0.0193060171, 0.0047560926, -0.0229332335, -0.0533006117, 0.0439775847, 0.0102167344, 0.0109718507, -0.0331833251, -0.0458836704, 0.0037057856, 0.0329983272, 0.0103194918, -0.0234748144, 0.0080068577, -0.0522009246, 0.0340884514, 0.0128495032, -0.0266055055, -0.0112127727, 0.0048450269, -0.0310511049, 0.0094304811, 0.016422376, -0.0058853114, -0.0311686415, 0.0293742828, 0.0205717366, -0.0785468444, -0.0527276509, -0.0576641336, -0.0432229154, 0.0365394913, -0.0054057064, 0.0480336323, -0.0171062779, -0.0085485764, 0.0260308888, -0.0081475507, -0.0068112211, 0.0004669857, 0.052924037, 0.0080627585, 0.0195327383, -0.0405701324, 0.0457653925, -0.0110995779, -0.0245424248, 0.0328965187, 0.0396089181, -0.0127572259, -0.0046316031, 0.0080296155, 0.0371019505, 0.0224741679, 0.0676882342, 0.0799589977, -0.0344732702, -0.0344852991, -0.0550262965, 0.0230997838, -0.0417660214, 0.0006133729, 0.033429943, 0.0077531496, 0.0114459731, -0.0743286088, -0.1017880738, 0.0286652092, 0.0045929621, 0.0532293394, 0.0566121899, -0.0139314635, -0.0539861843, -0.0282342304, 0.0239709448, 0.0111030834, 0.0327445678, -0.0567409545, -0.0000350215, -0.0677785948, -0.0096183317, -0.0135930963, -0.0008304216, -0.0379474536, -0.0564814582, 0.0818727389, 0.0160596669, 0.012018594, 0.0152155422, -0.0044674478, -0.0614151433, -0.0385587588, 0.003283429, -0.0199230257, 0.0637607351, 0.0448737964, -0.0189139843, -0.0070840712, 0.0536102317, 0.02690465, -0.0086530121, 0.0163881518, 0.0209996458, -0.011592946, -0.0267728753, 0.0001222773, 0.0385335051, 0.0584922433, -0.0170719177, 0.0187359415, -0.0622329712, 0.0047814003, -0.0349453092, -0.0529946908, -0.0319964737, 0.0180058144, 0.0099700009, -0.022901414, -0.0249114465, 0.0743784755, -0.033781644, 0.0095013427, -0.0136588681, 0.0465746522, 0.0129428199, 0.0375975221, -0.0238389242, 0.0053685806, -0.0114706727, 0.0300337058, -0.0186739024, 0.0605197623, 0.0407887474, 0.0084467744, 0.0031684281, 0.0041661425, 0.0045412281, 0.0277439132, -0.0299521014, 0.0015841732, 0.0053093205, -0.0080761844, 0.0755564049, -0.0298863314, 0.1438956261, -0.0156783685, 0.0114416946, -0.042602852, 0.0924709365, 0.0376614891, -0.0343803205, -0.032239601, -0.0091617201, 0.0008309213, -0.0077980245, 0.0602316633, -0.0355603434, -0.0272357818, 0.0211550277, 0.0003749343, -0.0170608945, -0.0238847509, 0.0089974301, 0.0447086133, 0.0045259632, -0.0261085592, -0.064141348, 0.0165014565, 0.039698828, 0.0089259502, 0.0136822136, -0.0169329047, -0.0095950551, 0.0376122706, -0.0417379364, -0.0003968015, -0.0561572574, -0.0076317103, -0.0012068285, -0.014341766, -0.0076446156, -6.061088747e-33, -0.0281067714, -0.0550367311, -0.0123707447, -0.0053583765, -0.0138286529, 0.0382762067, -0.0412332043, 0.0382768139, 0.0015424715, 0.0667983815, -0.0085611409, 0.0344568789, 0.0119070932, 0.0404580981, 0.0323676951, 0.022972174, 0.0598932728, 0.0412409529, -0.0329592153, -0.0211802833, 0.0295917597, 0.014471733, 0.0849019513, -0.0198111627, 0.0427633002, -0.039920941, -0.0449164845, 0.0052564992, -0.0320935212, 0.0146542545, 0.0182718709, 0.0802690312, 0.019942103, 0.0280018114, -0.0156453531, -0.0136429351, -0.0306546837, -0.0542407893, 0.0166275799, 0.0043923389, -0.0388795733, -0.0631278083, 0.0313678794, 0.0007803565, 0.0038273842, -0.018750554, 0.0706063733, -0.0047588628, 0.0212940034, 0.0286295395, -0.0912898853, 0.0380265452, -0.0496139191, -0.0113637568, 0.0031055149, 0.0141376741, 0.0111536831, -0.0551859774, -0.0572743341, -0.0050417134, 0.0008795575, 0.0719899908, 0.0174834486, -0.0426813699, -0.0697641224, 0.0947666317, 0.0049178111, 0.0312583335, -0.0127366157, 0.0332386196, 0.0172033813, 0.0052766395, 0.0819341093, 0.0452104621, 0.0381596647, -0.0112578431, -0.0247484054, 0.0269394722, -0.0110188555, 0.0316188894, -0.0069731683, -0.0290843695, -0.0230365749, -0.0658518597, -0.0435303114, -0.0447450392, -0.004702454, 0.0071588052, 0.0001713747, -0.0381166302, -0.003854631, -0.0379853807, -0.0294243749, 0.009837863, -0.0170126408, -0.0024727096, -0.0537664965, 0.0682457238, -0.0139519703, 0.0360174514, -0.008416526, 0.0008461987, -0.0234294813, 0.0519656762, 0.0451620258, 0.0175503492, 0.0856567249, 0.0097644879, -0.0398552157, 0.0176064894, -0.0076185269, 0.0148503007, -0.0318778269, -0.0329609029, 0.0159277748, 0.0237880852, -0.0154576749, 0.0439919643, 0.0212318804, 0.0221778043, -0.0298248027, -0.0279006418, 0.0028686384, -0.0007720293, 0.0079754228, 0.0153084546, -0.0180982295, -0.0212839302, 0.0074190279, -0.0327545777, 0.0172240753, -0.0203818083, 2.455e-7, 0.0704813749, 0.065854378, 0.0314010829, -0.0311291367, -0.0098708989, 0.0117497109, -0.038983237, 0.0018576073, -0.0187410712, 0.0459404215, -0.0184020903, 0.0131900711, 0.0813700631, 0.0089595607, -0.0734950677, 0.0039214813, -0.0738702342, 0.00832179, -0.0674966425, 0.0227330271, 0.0603128821, 0.0036944861, 0.00526855, -0.0282871425, -0.0040355287, -0.0134389522, 0.0167244133, -0.0240806174, 0.0094127599, 0.0482011102, 0.0669182986, -0.023265576, 0.0293204449, 0.0109425001, -0.0316378698, -0.0333584286, 0.0141595295, 0.0684773922, 0.0095164981, 0.0443461016, 0.0059102732, 0.0194010548, -0.0310385861, -0.0220414307, 0.0594921857, 0.0180512052, -0.0088962996, -0.014172608, -0.0104730548, -0.0112774102, 0.0253835488, -0.004815117, -0.0336457379, 0.0159750208, 0.0218675677, -0.0508368649, -0.0197330173, -0.0276517589, -0.0932346657, 0.0206351243, 0.0392567515, 0.0389837474, -0.0087362053, 0.0117977913, 0.0085763941, -0.0940039903, 0.0091254823, 2.129776966e-34, 0.0557803437, -0.024168117, 0.0587517619, 0.0236689784, 0.0136314882, 0.0027614189, -0.0203129388, 0.0062113386, -0.0327186324, -0.0001247868, 0.0189986955 ]
http://arxiv.org/abs/2406.19648v1
http://arxiv.org/pdf/2406.19648v1
Designing and Evaluating Multi-Chatbot Interface for Human-AI Communication: Preliminary Findings from a Persuasion Task
2024-06-28T04:33:41
2024-06-28T04:33:41
Sion Yoon, Tae Eun Kim, Yoo Jung Oh
cs.HC
cs.HC, cs.AI, cs.CL
The dynamics of human-AI communication have been reshaped by language models such as ChatGPT. However, extant research has primarily focused on dyadic communication, leaving much to be explored regarding the dynamics of human-AI communication in group settings. The availability of multiple language model chatbots presents a unique opportunity for scholars to better understand the interaction between humans and multiple chatbots. This study examines the impact of multi-chatbot communication in a specific persuasion setting: promoting charitable donations. We developed an online environment that enables multi-chatbot communication and conducted a pilot experiment utilizing two GPT-based chatbots, Save the Children and UNICEF chatbots, to promote charitable donations. In this study, we present our development process of the multi-chatbot interface and present preliminary findings from a pilot experiment. Analysis of qualitative and quantitative feedback are presented, and limitations are addressed.
[ 0.1014254838, 0.0354044996, -0.0417516194, -0.0177464318, -0.053474769, -0.0037448087, 0.0460893661, 0.0131353596, 0.0696909428, -0.0109691974, -0.025004385, -0.0175124314, 0.0344246179, 0.0126588885, 0.0129508441, -0.0634968802, 0.0132404519, -0.0169473756, 0.057631243, -0.0235620867, 0.0738153979, 0.0487836488, -0.0314229913, 0.0850179344, -0.0366876014, -0.0614746958, -0.0284363925, -0.004901967, 0.0080983471, -0.0093755443, 0.0061825309, 0.029635109, 0.0366143771, 0.0317837931, 0.0000019851, -0.0457418635, -0.0055765319, -0.0150082596, -0.0714468285, -0.0296940822, 0.0927549079, 0.0285822488, -0.0160392057, 0.0147029171, -0.040899381, 0.0424026214, 0.0772153065, 0.0428883322, 0.0325836428, 0.0115657374, -0.0062411614, 0.0276396088, -0.0042776358, 0.0210146513, -0.0232046172, -0.0117014106, -0.0237573553, -0.0093176188, 0.043422021, -0.0018340321, 0.0277112201, 0.0144518176, 0.0013676181, -0.0249392278, -0.0260865875, 0.0206990577, -0.0641025826, -0.0625418276, -0.0540552586, 0.0465426408, 0.0381915011, 0.0090988334, -0.0077009122, 0.0250278078, 0.0483028889, 0.0288241338, -0.0238628723, 0.0164778605, -0.0137269609, -0.0176139101, -0.0358926766, -0.0024215381, -0.0073238066, 0.0093553336, 0.0349985175, 0.0014117403, -0.0028689965, -0.0017742161, -0.0042242571, 0.0131017445, -0.0319237635, -0.0573974028, 0.0053166202, 0.0147838946, -0.0478109829, 0.0168300234, 0.0102830073, -0.0027502649, 0.0063310456, -0.0717202276, -0.004334385, 0.038514588, -0.0229331199, 0.0107430732, 0.0661888197, 0.0484288484, 0.0165300332, 0.0197507199, 0.0203945506, -0.0027556533, -0.0564830489, -0.0316242762, -0.0232034884, 0.0488316752, 0.028296154, -0.0182081927, -0.0203215536, 0.0179165043, -0.0468526706, -0.0171938781, -0.0028300639, -0.0070099956, -0.0136583066, -0.0019029855, -0.0064365137, 0.0255297162, -0.0590678118, 0.0192789957, 0.0184227359, -0.1218523607, 0.037298128, 0.0246642381, -0.0101022506, 0.0038700199, -0.0225519333, 0.062719807, -0.0289746094, -0.0300379936, 0.0511157401, -0.0008537608, -0.0086934399, -0.0548693091, -0.0137701919, -0.0214959998, 0.0403292328, 0.0030880254, -0.0093319109, -0.0126400432, 0.0278741084, -0.0276409108, -0.025349278, 0.0502383858, 0.0040945895, 0.0118578933, 0.0468408801, 0.0486800857, -0.0491686091, 0.0480661802, 0.0262152832, 0.0117789228, 0.0494364239, 0.0034836002, 0.0161157921, 0.0114431018, -0.0486182868, 0.0035451357, 0.0330475494, -0.0118001634, -0.0382824391, 0.0276949797, -0.0438608006, 0.041547846, -0.0399210863, 0.0092614107, 0.067791149, 0.0833149627, -0.0051396778, 0.0121309441, -0.0211941767, 0.0477456525, 0.0290004537, -0.0025594041, 0.0084721139, 0.014296107, 0.0104178777, -0.0535759106, 0.01930511, 0.0039969189, -0.0177269466, -0.0169063807, 0.0054639406, -0.0327184498, 0.1002896279, 0.0051936912, -0.0008652604, -0.0086855711, 0.0070338449, -0.0661992729, 0.0101377787, -0.0571062304, -0.0383215062, -0.0703237727, 0.0228099972, 0.076629743, 0.0451187901, 0.0298753139, -0.0118184527, -0.0273193549, -0.0255852118, 0.0647015348, 0.0379249938, 0.007340027, -0.015426822, 0.0139451362, -0.0148883797, 0.0216576848, -0.015346095, 0.0289071165, -0.0047710137, 0.0355500579, -0.0417499356, 0.0503070652, 0.045281522, -0.0095946025, 0.0349754803, 0.0448366143, -0.0912561193, 0.0070019308, 0.0409225933, 0.0448153615, -0.0066101244, -0.0183248147, 0.0020316327, 0.025087649, -0.0466591306, 0.0430735573, 0.0246746764, 0.0214567557, 0.024370227, -0.0397397019, -0.017808497, 0.0394385532, 0.0421409905, 0.0283122808, 0.0260114539, -0.0243212637, 0.0880567431, -0.0021894809, -0.0123890983, -0.0479942225, 0.0139967976, 0.0237685591, -0.0234790985, 0.0282168947, -0.0455137789, -0.0019805739, -0.00226478, -0.0181770921, -0.0282335095, 0.0442595296, 0.0476454012, 0.0255024116, 0.013109168, 0.0570537746, -0.0070440834, -0.0393923111, -0.0290175211, -0.1422425807, -0.0714997351, 0.0171272345, -0.0275963452, -0.0120552601, 0.0005146866, 0.0079569025, 0.0338317342, -0.0637796894, 0.014210688, 0.0084834518, 0.0522692874, 0.0330811292, -0.0188557953, -0.0171033181, -0.0160037447, 0.0501247905, 0.0083214929, -0.006838161, 0.0895174965, -0.089510344, -0.0171970576, -0.0031135387, -0.0742942244, 0.0004997817, -0.0048114783, -0.0904025361, 0.0828984082, 0.0112956483, 0.0548081025, 0.0270112567, 0.0357087962, 0.08082816, 0.0068553691, -0.0036426613, -0.0517952107, -0.0196901597, 0.0177849438, 0.0090480736, -0.0270432644, -0.0238505825, -0.0078357505, -0.0064325007, 0.0171528161, 0.036850892, -0.0388076678, 0.0548151471, 0.0052183643, -0.0557259098, -0.0278409179, -0.0591980815, -0.037394233, 0.0513963327, 0.0179532822, -0.0379062667, 0.0380483195, -0.0112910196, -0.0367631391, -0.0000441943, -0.024868235, 0.0078987228, 0.0450568758, -0.0735849068, 0.0235146899, 0.0239653029, -0.0139545891, -0.0151771326, -0.0061286199, 0.0045978874, -0.0336941294, -0.0350047238, -0.0184938665, -0.0044513033, 0.0216366239, -0.0189941861, -0.0025208683, -0.038249176, -0.0330964029, -0.0136309331, 0.0657091588, -0.0384605825, -0.0394911207, 0.0095529612, 0.04525242, -0.0021534921, 0.0202806238, -0.0082898522, -0.0059555271, -0.0655862018, -0.0095695434, 0.0503309742, -0.0015558085, -0.0164698251, 0.0261955708, 0.0177136622, 0.0360610671, -0.038785059, -0.0008534626, -0.040930301, 0.019212544, 0.0372961834, -0.0172980204, -0.0154750785, 0.0490463413, -0.0137935858, 0.0405827351, 0.0486419871, -0.0112113031, -0.0799429417, 0.0243191049, -0.0559700876, 0.0098008532, -0.0395264141, 0.0066706194, -0.0669246241, -0.0029217631, 0.0161886457, -0.0240499191, -0.0586941466, -0.0263104681, -0.0235190541, -0.0397266634, 0.0193268843, 0.0019703368, 0.0068542417, -0.0239225999, -0.0161766149, 0.0092323432, 0.0278230328, 0.0129400864, -0.0196005031, 0.0115070892, -0.0122947069, -0.0379279293, -0.0344994664, 0.0317416862, 0.0410355479, -0.0387923568, 0.0845817327, 0.0872081667, 0.0484279096, -0.0029628077, 0.0137384087, 0.015914131, 0.0958591625, -0.0092980172, 0.0320578702, 0.008548785, -0.013987137, 0.0221407674, -0.0325599276, -0.0267560109, -0.0072288373, 0.0369970165, 0.0278478283, 0.0189278387, -0.0240223017, -0.0224014223, 0.0135167325, 0.0281081684, 0.0423326008, 0.0486843251, -0.0135385506, -0.0558967777, 0.0144551769, -0.0275308471, 0.0004608012, 0.0629774258, -0.0690461993, -0.0445687659, 0.0026196782, -0.0162068326, -0.0780745819, -0.0781923085, -0.0080382498, -0.0147576304, 0.0171891507, 0.023254592, 0.0223572664, 0.0589209236, 0.1030177996, -0.0017835536, -0.0474264212, 0.0332475305, -0.0264321342, -0.0264793262, -0.0460604802, -0.066286847, 0.0215301681, 0.003768045, -0.0032655504, -0.0159814134, 0.0067279302, -0.0002205283, 0.0255515706, -0.0025078414, 0.008868509, 0.0008270132, -0.0519034155, 0.0255711991, -0.010212481, 0.0081880456, 0.042928759, 0.0735489875, 0.0070353108, 0.007358538, -0.0107823014, 0.0213998649, -0.0264696144, -0.0127310855, -0.0349282287, -0.06874533, 0.0361137018, 0.0368684083, 0.0064958143, -0.0027732325, 0.0155820893, -0.0068106242, -0.0265594069, -0.0575426295, 0.0143340854, -0.0579257719, -0.0159380157, -0.0458258577, -0.0216101538, 0.0298292972, -0.0133793382, -0.0534060597, -0.0190135632, 0.0262232516, 0.0516410507, -0.0031843151, 0.0526763648, -0.0130653977, 0.0133081926, 0.0072460263, 0.0625511333, -0.0159114879, -0.0090638231, 0.0083167609, 0.0541726425, 0.0098210992, -0.0655212253, 0.0461308956, 0.0377761051, -0.0189382602, -0.0961463228, 0.0315265395, 0.0352725163, 0.0020697832, 0.0775930807, 0.0271413866, -0.0494768135, 0.0185794234, -0.0318692289, 0.0253998749, 0.0032724843, -0.0118617546, -0.0333147869, -0.0091044931, -0.0435662158, 0.0170427226, 0.0136771081, -0.0767355934, 0.000916923, -0.0181186907, -0.0257715322, -0.0245400649, -0.0346656665, 0.0250235032, -0.0027847611, 0.0030366061, 0.0099534905, -0.0370669216, 0.0019039758, -0.0561450534, -0.0191239957, -0.0127059296, -0.0558619313, 0.0447952785, 0.0362167954, -0.0471429415, 0.0106078628, -0.0389235653, -0.0029006156, -0.046381209, 0.0135104395, -0.0103064962, -5.959236202e-33, 0.0201568734, -0.0524538122, 0.0047826315, 0.0157654267, -0.0326089971, -0.0361381844, -0.0126560889, 0.0469844826, -0.0262820106, 0.0292698666, -0.0135263782, 0.0130224405, 0.0072211511, -0.0742951781, 0.0086836834, -0.008731463, 0.0418456569, -0.0223414563, -0.0121522816, 0.0371201411, 0.0123352474, -0.0116747692, 0.0032281105, -0.0875671804, 0.0771909878, -0.0156523436, -0.0514038093, -0.0002109815, 0.0351916589, 0.0127178598, 0.0115936389, 0.041944243, 0.002416488, -0.0112420134, 0.0068651927, 0.0918703526, 0.0297304317, -0.0441916734, 0.0397058688, -0.0154087786, -0.0461710095, -0.0233648662, -0.0353563428, -0.0341992341, -0.0202483628, 0.0352221206, 0.0119827976, 0.012807888, 0.0280572809, 0.0606260411, -0.059659835, -0.0149568021, -0.0276304409, -0.0272472426, 0.0104003027, 0.0757056326, -0.0286736302, 0.0186249372, -0.0102322157, 0.0469308682, -0.0248826537, -0.0499234498, 0.0105705345, -0.0315457657, 0.0134372879, 0.0313329138, 0.033924453, 0.0178970695, -0.0276684742, -0.0326027274, -0.0195639916, 0.0123902448, 0.0724039376, 0.0551656671, -0.0187076535, -0.0446557999, 0.001751808, -0.018966442, 0.1109692827, -0.0109466054, -0.0017275057, 0.0234653354, -0.0515735745, 0.0061870152, 0.0050070467, -0.0300144181, -0.026718596, -0.0918799117, 0.0118218726, -0.0177397691, 0.0097378576, -0.036182262, 0.0236261617, -0.0217192024, -0.0046983864, -0.0001652387, 0.0143657951, 0.0155537017, 0.0203099083, -0.0206778459, -0.0049507641, 0.0010845277, -0.0066641802, 0.0096573858, 0.0396634229, 0.0167939216, 0.0171966664, 0.0006995067, -0.0031900946, -0.0197504684, 0.0054415255, 0.0097907791, -0.0071167029, -0.0552859753, -0.0046134656, -0.0172823071, -0.0048217867, -0.0124879964, 0.0314757228, -0.0071960962, -0.0371822715, 0.0144096408, -0.0818330497, -0.0207016226, -0.0349879079, -0.0164689068, -0.0853314921, 0.0128415432, 0.0329184458, -0.0292065106, -0.0339350067, -0.0713366121, 2.722e-7, -0.0130486377, 0.0533920005, -0.0268166978, 0.0206198264, 0.0486219451, 0.0372330807, 0.000785989, 0.028001029, -0.017076483, -0.0164511595, 0.0093020406, 0.0371531956, 0.0628491268, 0.011494291, -0.0435882919, -0.0346410945, -0.05941597, -0.0190100688, -0.0202908665, 0.0567444451, 0.0610564463, 0.0061539789, 0.0383732431, 0.0055118273, -0.0289795827, 0.0235383455, 0.0168683473, -0.0571674593, 0.0082335463, 0.0082389088, -0.0143299261, -0.0259220246, 0.0034382623, 0.0394231416, 0.0306847524, -0.0139462939, 0.0151786515, 0.0458413847, -0.0099773165, -0.0107988007, 0.0147078102, 0.0173357222, -0.0196006503, -0.0288843997, 0.0256320462, -0.0855131522, -0.0513870083, -0.0332670957, 0.0219538901, -0.0268032495, 0.0291185472, -0.0355757549, -0.0470839888, 0.0391859859, -0.0242127609, 0.0073507498, -0.0159272719, 0.0058989325, 0.0223596245, -0.0313915573, -0.0325082913, -0.0959025472, 0.0022906365, -0.020673044, -0.0080826506, -0.0171944536, 0.0244683567, 1.563595979e-34, 0.0142037924, -0.0203488767, 0.000527641, 0.0483894199, 0.074922055, 0.0255696084, 0.0105808442, -0.0028257782, 0.0380818993, -0.0086107338, -0.0073915953 ]
http://arxiv.org/abs/2406.19643v1
http://arxiv.org/pdf/2406.19643v1
Unlocking Varied Perspectives: A Persona-Based Multi-Agent Framework with Debate-Driven Text Planning for Argument Generation
2024-06-28T04:21:20
2024-06-28T04:21:20
Zhe Hu, Hou Pong Chan, Jing Li, Yu Yin
cs.CL
cs.CL, cs.AI
Writing persuasive arguments is a challenging task for both humans and machines. It entails incorporating high-level beliefs from various perspectives on the topic, along with deliberate reasoning and planning to construct a coherent narrative. Current language models often generate surface tokens autoregressively, lacking explicit integration of these underlying controls, resulting in limited output diversity and coherence. In this work, we propose a persona-based multi-agent framework for argument writing. Inspired by the human debate, we first assign each agent a persona representing its high-level beliefs from a unique perspective, and then design an agent interaction process so that the agents can collaboratively debate and discuss the idea to form an overall plan for argument writing. Such debate process enables fluid and nonlinear development of ideas. We evaluate our framework on argumentative essay writing. The results show that our framework can generate more diverse and persuasive arguments through both automatic and human evaluations.
[ 0.0436508022, 0.0394298546, 0.0070011285, 0.0018706252, -0.0434972197, -0.0229395945, 0.0283334125, -0.0538154021, 0.0100518139, -0.0454101041, 0.032025706, -0.0401104279, -0.0013782152, 0.0462478176, 0.0013008813, -0.1006719247, 0.0003907603, -0.0024198336, 0.0812642276, -0.0174506344, 0.0304773003, 0.0061447169, -0.0256383363, 0.0501393378, -0.0375270881, -0.0355383717, -0.0333708003, -0.0162853114, 0.0486085974, -0.0187910832, 0.0041302941, 0.042108383, 0.0281908568, 0.0193784609, 0.0000018258, -0.0402567759, -0.0041352264, -0.0119178453, 0.0062847356, -0.0294289924, 0.0642038658, 0.058242064, -0.0072836988, -0.0004639488, -0.0487761684, 0.0307825711, 0.0171646681, 0.0935844928, 0.0872324705, 0.0692316294, -0.0084009776, -0.0282425676, 0.0182138961, 0.000515162, -0.0570359565, 0.0021801477, -0.0065291515, -0.0424445421, 0.0087416479, 0.0052886177, 0.0296966434, -0.0147422431, 0.0115198754, -0.062344674, -0.0054685059, 0.0181591008, -0.0102689443, -0.0382801704, -0.006653443, 0.0374281928, 0.0463920273, -0.0073366575, 0.017736787, -0.0293285847, 0.0326475613, -0.0057481057, -0.0180451218, 0.0769772381, -0.0277599227, 0.0171041805, 0.042021215, 0.0170447081, -0.005395473, 0.0202831384, 0.0060873572, 0.0220342819, -0.018392235, -0.0136342244, 0.0299698226, -0.0021148478, 0.0272056013, -0.089661628, -0.0019946238, 0.0366456434, -0.0726770759, 0.0306616817, -0.0340741165, 0.0067915255, 0.0178895704, -0.0563788302, 0.0509178936, 0.0095326994, 0.0540313385, 0.0183298476, 0.0217515286, 0.0040396634, -0.0208161063, -0.0153784277, 0.0187038127, -0.0080093658, -0.0594508164, -0.0291345213, -0.0531037487, 0.050428696, -0.0206472073, -0.01925404, 0.0073364964, 0.0237331185, -0.0635819435, 0.011921593, -0.0210579298, 0.0467267707, -0.0196990091, -0.0213124957, -0.0544370748, 0.0416861512, -0.0654177219, -0.0061751367, 0.0491391942, 0.0009806129, -0.0032173814, 0.03441054, 0.0023043654, 0.0039044819, -0.0301338732, 0.0328039229, -0.0411538258, 0.0399917364, -0.0086805895, -0.078198351, -0.0167288985, -0.0724543855, -0.0332467034, -0.061983753, 0.009187364, -0.0196867399, -0.0099723032, -0.0627683997, 0.01996186, 0.0387823805, 0.0180809367, 0.0262250826, -0.0061706058, -0.0158631448, 0.0807767063, 0.0164914448, -0.0630407184, 0.0373771377, 0.0511175208, 0.0494100153, 0.0166440792, 0.0503725708, 0.0288912021, -0.0136393961, -0.0082785711, 0.0028891517, 0.0783940852, -0.0236395821, -0.0517586321, 0.0532146618, -0.0419357345, 0.0645508841, -0.018963078, -0.0181905087, 0.0562659875, 0.061900761, -0.0226695929, 0.0102755502, 0.0580950789, 0.0272675548, 0.0119939698, 0.0199653283, 0.015934607, 0.0305097047, 0.0498331487, -0.0248773471, 0.0053886473, 0.003688511, -0.0208649058, -0.061490126, 0.0106720431, -0.0017326596, 0.0243545864, -0.0365376696, -0.0182459224, -0.0018879178, -0.0248364042, -0.0007665522, -0.0054603787, -0.0656674579, -0.0187936779, -0.0050401785, 0.0606269017, 0.0548341908, 0.020061994, -0.0133205028, -0.0114677791, -0.0356101692, 0.0816283152, 0.0987951979, 0.0809019357, -0.0396680385, -0.0227570143, -0.0315173939, -0.0293990802, -0.0297864471, 0.003469062, 0.0490573943, 0.014569737, -0.0066753644, 0.007366512, 0.050093241, -0.0240888353, 0.0401385985, -0.0202078708, 0.0457430333, -0.000157334, 0.028022673, 0.0268675182, 0.0450612605, -0.0190030523, 0.0240035281, 0.0299403854, -0.0301912464, -0.0614260621, 0.0465450361, -0.026514085, 0.0186095312, 0.016050471, -0.0771968067, -0.0042469674, -0.0476286113, 0.0264221784, -0.0325281136, 0.0347181335, -0.0356902406, -0.009522751, -0.0228529256, -0.0175584089, 0.0134108597, -0.0051806718, -0.0187803917, 0.0615057573, 0.0338824056, -0.0353815518, 0.0367592871, 0.0475533716, 0.0142475879, -0.0759439096, 0.017441079, 0.0195604302, 0.0390229411, 0.0072861291, 0.0617411137, -0.0348955877, -0.0378558636, -0.0516204163, -0.1116804034, -0.0157955308, -0.0083231777, -0.0026588915, -0.006494794, -0.0322578102, 0.0127755878, 0.0138319302, -0.0624815412, -0.0036189826, -0.0086136628, 0.0058675944, 0.0642443895, -0.0052976408, 0.0246277805, -0.0156015223, 0.029754892, -0.0304428879, 0.0133330906, 0.0788914263, -0.0206979923, -0.0320265256, -0.0225742534, -0.0329266824, -0.0087948432, 0.0015951105, 0.0001680777, 0.0679211318, 0.0321450457, 0.0545425974, 0.0744827911, 0.0538045242, 0.0557376258, 0.014173978, 0.0116578173, -0.0503872558, 0.0269225985, -0.0075349268, 0.0858122483, -0.0240244139, -0.0156430248, 0.0389106013, 0.0493809208, -0.0015357512, 0.0192028321, -0.0703122243, 0.0920815989, -0.0042990646, -0.0251657404, 0.0462316722, -0.0531241596, -0.0343589708, 0.0322948992, -0.0460714549, -0.0009076283, 0.0880119801, -0.006421769, 0.0229977164, -0.0033924566, -0.0056951907, -0.0373473652, 0.0560406782, -0.0138332667, 0.0207628962, -0.0147072347, 0.0357265808, -0.0459601767, -0.02768627, 0.0577947684, -0.0011990366, 0.0379452109, -0.0667118952, 0.0058517545, -0.0094299996, -0.0288250986, -0.0209415387, -0.0364196487, -0.0180395767, 0.0182798672, 0.0066748979, -0.0082085803, -0.0299303737, -0.0112426914, 0.0220957231, -0.0007027802, -0.0082679372, -0.0014021239, -0.0263335332, -0.026130572, -0.0054264716, 0.0211543962, -0.0022590959, -0.0439400002, 0.0726709589, 0.0514601879, -0.0158223454, -0.0220690817, -0.0154827386, -0.038937632, -0.0319164246, -0.0368654989, -0.0223741215, -0.0179674681, 0.070014216, -0.0513540469, 0.0191987492, 0.0829991177, 0.0107749961, -0.0294043608, -0.0014392141, -0.0231595598, 0.0429461747, 0.0000864605, 0.0373660251, -0.0195829496, 0.0098606478, -0.0187082086, 0.0192851629, -0.0487292632, -0.054357551, -0.0155551881, -0.0556285754, 0.0567566156, 0.0012331252, 0.0298916344, 0.0384466536, -0.0225551296, -0.0100460332, -0.0103907138, -0.0422606729, -0.0069858506, 0.0255619138, 0.0118798539, 0.0043529305, -0.0147031192, 0.0355842188, -0.0091894865, -0.0464580171, 0.0302732065, 0.0351083167, 0.0897188932, 0.010910606, -0.0459029749, -0.0249403473, 0.043443244, 0.0248877425, 0.0032167633, 0.0247095507, -0.0406631008, 0.0195028111, -0.0350649357, 0.0460068546, 0.0019769983, -0.078390263, 0.0406466164, 0.0527991578, -0.0445700549, -0.0450967439, -0.0065463842, 0.013485889, 0.0164960474, 0.0592911988, 0.0195899289, -0.0426708981, -0.0755829215, -0.0685312673, 0.0015579059, -0.1005567312, -0.0048118629, -0.03855858, -0.029152751, 0.0213250443, -0.0742739141, -0.074579373, -0.0001415788, 0.0616462193, 0.0046520289, -0.0187900178, 0.0258350782, 0.0160272717, -0.0097983479, -0.0329892486, -0.0026623879, 0.0398522131, -0.0056059118, -0.0484720059, -0.0237305611, -0.0270621721, 0.0046368996, 0.016214706, -0.0009502168, -0.0797430351, 0.0026081349, 0.0259673148, 0.0169187561, 0.0378946997, 0.0111819012, -0.0439656004, 0.0469191298, -0.0280098878, 0.0240513198, 0.0298552737, 0.0091443788, 0.0213575941, -0.0101827318, 0.0330291204, 0.0092243413, 0.0018235224, -0.0113829775, 0.0384171158, -0.053825777, -0.0336193666, 0.0028613803, -0.0070120189, -0.0246812236, -0.0147631448, -0.0503380969, -0.0520998091, -0.0102883186, -0.062037155, -0.0357587636, -0.0214073639, 0.0100307763, -0.0323617421, -0.0376061201, 0.045822531, 0.0051041921, -0.0246920865, 0.0275036171, 0.0361765996, 0.0276220683, 0.0024708137, 0.0390244201, -0.0139924707, -0.0047158524, -0.032008402, 0.0372704305, -0.0589030497, 0.0464067683, 0.0020821355, 0.0539054908, 0.0273561254, -0.0307102986, 0.0394339561, 0.0047250325, -0.0857609659, -0.0331995897, 0.014623899, 0.0085063661, -0.0142958574, 0.053999275, 0.062895909, -0.0507378094, 0.0068633645, 0.0143814776, 0.0278536752, 0.0338681974, -0.0388089493, -0.0130424919, 0.0083568059, -0.0403482467, -0.038748607, 0.0448561423, -0.0494045019, 0.0217636656, -0.0017919098, -0.0259560589, -0.0588307381, -0.053181909, -0.0143680247, 0.0467002466, 0.0120529672, -0.015923785, -0.0584705025, 0.0223563742, 0.0009290199, 0.0430901274, 0.0020587153, -0.0098323626, 0.0054383143, 0.0384668335, -0.0120298853, -0.0016833289, -0.0953736901, 0.0467165932, -0.0242488105, 0.0099268043, -0.0052802884, -5.501426703e-33, -0.0370917283, -0.0477080569, 0.0259793214, 0.0454174913, -0.0358672701, -0.0144339791, -0.0425251126, 0.0372274294, 0.0103254607, 0.0703828409, 0.0105646923, -0.0002244641, 0.003406923, -0.0013239222, -0.0032286812, 0.0116260359, 0.0389226936, -0.0016427544, -0.0521429181, 0.0192384087, 0.0381888486, -0.0282655377, -0.0247925222, -0.0342848375, 0.0570860133, -0.0178867225, -0.0187715739, 0.0150114121, -0.0228459314, 0.0383207016, 0.0127049573, 0.0387516879, 0.0278119612, -0.0220423378, -0.0097461455, 0.0597218126, -0.0098564401, -0.0488612913, 0.0117935557, -0.03477256, -0.0389612988, -0.074396044, -0.0178462882, 0.0052766767, -0.0105713503, -0.0072063575, 0.0392168202, 0.0073648687, 0.0380145013, 0.0020475625, -0.0659834892, 0.0237688366, -0.0160541628, -0.0108718583, -0.0328444056, 0.0072792196, 0.0233364478, 0.0035361918, -0.0651495606, 0.0529432036, -0.0308820959, -0.0102153681, 0.0210440364, -0.0062929522, 0.0009427714, 0.0665369853, 0.0390583277, 0.0505115055, -0.0833939537, 0.0129007995, -0.0282405708, 0.0414248556, 0.0511160418, 0.1093942374, -0.031723097, 0.0074537243, -0.018672267, 0.0326059461, 0.048963096, 0.0150274243, 0.0301965401, -0.0071424646, -0.0130325537, -0.014939554, -0.0496406704, -0.0485241562, -0.0015643475, -0.0424784906, -0.0152469426, 0.0078294938, -0.0109303854, 0.0193416346, -0.0121360701, -0.0269445051, -0.0120157758, 0.0052481689, -0.009803039, 0.0146956416, -0.001131513, -0.0110998908, -0.0342383049, 0.0022789913, 0.0200438332, 0.0390307643, 0.0425470173, 0.0105530526, -0.01118341, -0.0080418913, -0.0169625878, -0.0134771569, -0.0369482078, 0.0419589765, -0.0064523867, 0.0190355852, -0.0120562725, 0.0137452846, -0.0243115332, 0.0126000829, 0.0001937397, -0.0137109021, -0.0374244228, -0.0370611995, 0.0007076655, -0.0004499387, -0.0185380168, 0.0182687957, -0.0213663951, 0.0152102411, 0.0257340278, -0.035508845, -0.0037400499, 0.0131953126, 2.378e-7, 0.0080758184, 0.0396269895, 0.0377352983, -0.007502086, 0.0263421331, 0.0509493873, -0.0001199134, 0.0273053963, -0.0281796101, -0.0406744331, -0.0095960116, 0.0454759039, 0.0407917835, 0.0656818002, -0.0923207924, -0.047416687, -0.0212892685, -0.0234704856, -0.0696913972, 0.0179976374, 0.1096022353, 0.0063587958, 0.0402734131, -0.0021845247, -0.0110451188, 0.0252326261, 0.0599735826, 0.0036600502, 0.0027858014, 0.0259422604, 0.0235212967, -0.0865933672, 0.0159204695, 0.0394116864, 0.0002416523, -0.0055363309, -0.0237708725, 0.0550602525, -0.0127423266, -0.0402093716, 0.0210039876, -0.0091603929, 0.0019007288, -0.0444084816, 0.0190001503, -0.0451305471, -0.0310524087, -0.047555685, -0.0228783432, -0.0035584578, -0.011811397, -0.0238048322, -0.0224540923, -0.0010873458, -0.0117184827, -0.0048320717, 0.0318337604, -0.055994302, -0.0255973656, -0.0446501523, -0.0361042693, -0.0319024585, -0.0190250278, -0.0198812596, 0.0140516553, -0.0499733537, 0.0103044985, 1.719082543e-34, 0.0054421974, 0.0019617467, -0.019774681, 0.0025573256, 0.0596639179, 0.0518972129, 0.0051328507, -0.0080955075, 0.0376067534, -0.0354815088, -0.025724927 ]
http://arxiv.org/abs/2406.19642v1
http://arxiv.org/pdf/2406.19642v1
IDT: Dual-Task Adversarial Attacks for Privacy Protection
2024-06-28T04:14:35
2024-06-28T04:14:35
Pedro Faustini, Shakila Mahjabin Tonni, Annabelle McIver, Qiongkai Xu, Mark Dras
cs.CL
cs.CL, cs.CR, cs.LG
Natural language processing (NLP) models may leak private information in different ways, including membership inference, reconstruction or attribute inference attacks. Sensitive information may not be explicit in the text, but hidden in underlying writing characteristics. Methods to protect privacy can involve using representations inside models that are demonstrated not to detect sensitive attributes or -- for instance, in cases where users might not trust a model, the sort of scenario of interest here -- changing the raw text before models can have access to it. The goal is to rewrite text to prevent someone from inferring a sensitive attribute (e.g. the gender of the author, or their location by the writing style) whilst keeping the text useful for its original intention (e.g. the sentiment of a product review). The few works tackling this have focused on generative techniques. However, these often create extensively different texts from the original ones or face problems such as mode collapse. This paper explores a novel adaptation of adversarial attack techniques to manipulate a text to deceive a classifier w.r.t one task (privacy) whilst keeping the predictions of another classifier trained for another task (utility) unchanged. We propose IDT, a method that analyses predictions made by auxiliary and interpretable models to identify which tokens are important to change for the privacy task, and which ones should be kept for the utility task. We evaluate different datasets for NLP suitable for different tasks. Automatic and human evaluations show that IDT retains the utility of text, while also outperforming existing methods when deceiving a classifier w.r.t privacy task.
[ 0.0326201729, 0.1045609191, -0.0419511944, 0.0502841249, -0.0647243336, -0.0014567027, 0.0351500101, 0.0083663352, 0.026136009, -0.0568333976, -0.044388134, -0.0211105086, 0.019271981, 0.0281559695, 0.0255226474, -0.0106523605, 0.0188511461, 0.0127432216, 0.0166268684, -0.0150207747, 0.0094004702, 0.0123004308, 0.0205369312, 0.0339450128, 0.0273609906, -0.0406470671, 0.0123903751, -0.0207857899, 0.0269236453, 0.0151510844, 0.0558887832, 0.0646344796, 0.0068849977, 0.0839504227, 0.0000021014, -0.0163085144, -0.0423811115, 0.0573015697, -0.0035823486, 0.0075806654, 0.0589462034, -0.0170242172, 0.0090554208, 0.0071458672, -0.0528902225, 0.0045024273, 0.0203280766, 0.0913041607, 0.0492990278, 0.1060875058, -0.0256491769, -0.0202848054, -0.0034209206, -0.0513060167, -0.0029097383, -0.0530101359, 0.0193687044, -0.0799050778, -0.0569033436, 0.0464615263, 0.0114575243, 0.0408060551, 0.0076703555, 0.003397573, 0.0041732793, 0.0285318978, 0.0185094792, 0.0012946532, 0.0087371869, 0.023274349, 0.0025411833, -0.0285971519, 0.0216562133, 0.0089774886, 0.0489957891, 0.00914138, 0.0202175844, 0.0072045787, -0.0213285796, -0.0125123113, -0.0149307037, -0.0128685767, 0.0363693945, 0.0203624554, 0.0157182999, 0.0146826981, 0.0002256974, -0.0047241747, -0.0333482027, -0.0137279313, -0.0051610032, -0.065385215, 0.0475712642, -0.0129073681, 0.0318254046, 0.0115956767, -0.1004884318, -0.0684326366, -0.0000134676, -0.0504428335, 0.036822889, -0.0306171551, -0.0090419538, 0.0355248675, -0.0198950488, 0.0359570794, -0.0104154209, 0.0358971693, -0.0180524625, 0.0188006405, -0.0175328851, -0.03714424, 0.0129654249, 0.0453505814, -0.0621574745, 0.0168784056, -0.0302725323, -0.0106349485, -0.0490539856, 0.0256409068, -0.0039306167, 0.0321183614, -0.0477324352, -0.0012296927, 0.0210197661, -0.0502876416, 0.0096535766, 0.0331935808, -0.0063647158, -0.020956682, -0.0119657954, -0.0028636707, -0.0187400468, -0.0003393578, -0.0408314466, 0.0976539627, 0.0099109467, -0.0210386068, -0.0328300223, -0.0638828427, -0.0212788489, -0.0393659025, 0.0068951952, -0.0017659037, 0.0064644921, -0.0281306282, -0.0301271919, -0.0947155505, -0.0103378491, 0.0222137533, -0.0248434003, 0.0941340104, 0.0441970602, -0.0517279617, 0.0068585938, 0.0516495891, -0.0136809964, 0.0347969271, 0.0222575068, 0.0672083795, 0.0500287004, 0.0083364835, 0.0253556371, -0.0122247422, 0.0410981365, 0.0034171054, 0.0045269253, 0.0197674539, -0.0176589862, -0.0483324081, -0.0237799678, 0.0168684069, 0.0127549283, -0.063976787, 0.0892956927, 0.0293882713, -0.0010374588, 0.0238290541, -0.0140095195, 0.0486995168, -0.0333991721, 0.0236118864, -0.0534704998, 0.0063893613, -0.0993955359, -0.0649855286, -0.0530120656, -0.0043216902, -0.0017805505, -0.0432823971, 0.019217547, -0.0349571109, 0.0760421306, 0.0226371866, -0.0160435997, 0.0632303208, -0.0263714734, -0.006239288, -0.0009635906, -0.0318383835, -0.0102751702, -0.0543879978, -0.0026634256, 0.0447251499, 0.0275817793, -0.041304592, 0.0434837677, -0.0559737012, -0.0364345461, -0.0131022157, 0.0242168084, 0.0142492205, 0.042678684, -0.0379743986, -0.0416425169, -0.0603398196, 0.0247556195, 0.0475329161, 0.0200948771, -0.0123176398, 0.0392600708, -0.0164946225, -0.0149804354, 0.0281992462, 0.0176250227, -0.0573872924, 0.058881484, 0.0222049896, 0.025391914, 0.0247575082, 0.0042693154, 0.0237717517, 0.0154483691, 0.0177341737, -0.0414328426, 0.0071063568, 0.0087408582, -0.0266503673, -0.049698513, -0.0444635786, -0.022695547, 0.0737768635, -0.0283025485, 0.0016530317, 0.0141511848, -0.0281056054, 0.007836706, -0.0160486754, -0.0096224677, -0.0002129735, 0.0352665633, -0.0348671712, 0.0611016825, -0.0288970172, -0.023130469, -0.0572460704, -0.0423473641, -0.0140102841, -0.0242193099, -0.0070816586, -0.0155241778, -0.0035641168, 0.0152667137, 0.0266344007, -0.0028415129, 0.0053347982, -0.0438900329, -0.0206083711, -0.0041879723, -0.027395159, 0.0126442863, 0.0263276156, -0.0200821571, 0.0135440482, -0.0144830719, -0.0442118607, -0.019236207, -0.055967249, 0.025750393, 0.0274872314, 0.0016657201, 0.0091563808, 0.0146330856, 0.0078608543, -0.0094886553, 0.0425641462, -0.0165591668, -0.0371317416, -0.038235154, 0.0245814696, 0.025619803, 0.038651105, -0.034835767, -0.0152673144, -0.0185466036, 0.0381390266, -0.0185147114, 0.051917024, 0.0312301032, 0.0607802942, 0.0288053025, 0.0429451577, 0.0016670896, -0.0155136213, 0.0069625438, 0.0478917845, -0.0324336849, -0.0374938548, 0.036740765, 0.0182176065, 0.0444506891, -0.0438183844, -0.0213080049, 0.0552561879, -0.0259188227, -0.0855891779, 0.0288717691, -0.0227287281, -0.0000282505, -0.0050944411, -0.0343212746, -0.0341102481, 0.0707365721, -0.0126856668, 0.0197779611, -0.0435959361, -0.0411833487, 0.0091270795, 0.0711776763, 0.0195288789, 0.0315444954, 0.0731380731, -0.0263223313, -0.0182220992, 0.0025188031, 0.039922405, -0.0130000282, 0.0072902003, -0.0086102095, -0.0167777538, 0.0108241234, -0.0472378694, -0.046056252, -0.0913334861, 0.0268086102, -0.0093806423, 0.0130807403, -0.0488107093, -0.0312550738, -0.0608630404, 0.0110036815, 0.0002585457, -0.032197699, 0.0056539103, -0.0352088884, 0.0386189222, 0.0156150311, -0.0439638123, -0.0342782028, -0.0252485424, -0.0224514809, 0.0823628232, -0.0216360372, 0.0249552205, 0.0208015889, -0.042709548, 0.0086328359, -0.0194668155, -0.0331939869, -0.0153177977, 0.0453760624, -0.0585501529, -0.0059546567, 0.0479788296, 0.002645405, -0.0304009151, 0.0180967208, 0.0614017695, -0.0019101185, -0.0173343606, -0.0134667708, -0.0607654899, -0.0019912089, 0.0223919544, 0.0506320149, -0.0440563411, -0.023429798, -0.0353673659, -0.0683287606, -0.0136790946, -0.006061485, -0.0154647175, -0.030235352, -0.0172991399, -0.0225587934, -0.0054662107, -0.0050080922, -0.0543723889, 0.0352122635, -0.0086079538, -0.0297183339, -0.0040684636, -0.030791875, -0.0058038454, -0.0080416035, 0.0272197779, 0.0603592061, 0.0529201031, -0.0130823171, -0.0081895217, 0.009797778, 0.022581704, 0.0095543936, 0.0166232567, 0.0950973034, -0.0122776683, 0.0106930239, -0.0218789373, 0.0790817291, 0.0507505462, -0.0132266916, 0.0185779054, -0.0142110651, -0.0175687373, -0.0422473997, -0.0117843952, -0.0261632092, 0.0484780222, 0.0746735483, -0.0051866923, -0.0425639115, -0.019832192, -0.0667730942, 0.0277867969, -0.0598780364, -0.0247918051, 0.0205383599, 0.0154662794, -0.0501735881, -0.0542306043, -0.0207123272, -0.0138410749, -0.0190026723, 0.0358307734, 0.0177422203, 0.0159116369, -0.0057758223, -0.0630791709, -0.0135249728, -0.0440617055, 0.0239124727, 0.0177310649, -0.0354715064, 0.0244574379, -0.0105497297, -0.0166021548, 0.0117946155, -0.0574787967, -0.0640357882, 0.028934801, 0.0295760818, 0.0070095295, 0.0658960938, -0.05655526, -0.0855317935, 0.0569458753, 0.0715511516, -0.0648347288, 0.0082796672, 0.0853687301, -0.0087954523, -0.0053710034, 0.0324444026, -0.0147141423, 0.0000193211, 0.0704625994, -0.0652192011, -0.0414444245, -0.0045559793, -0.0123351207, 0.0099622961, 0.0176375117, 0.0102193607, 0.0355090797, -0.0180937387, 0.0175989605, -0.0283592176, -0.0119235022, -0.0172478743, 0.0029815261, 0.0546812452, 0.0173922908, 0.0104115503, 0.0296096969, 0.014524335, -0.0004631151, -0.0743162557, 0.0249482729, 0.0553560033, 0.0490696616, -0.0019629993, 0.0373719297, -0.0078154961, 0.062005803, 0.0228536259, 0.0271557998, -0.0011899276, 0.0218673665, 0.0186173096, -0.0095168594, -0.0315454751, 0.0374832898, -0.0642069951, 0.015825076, -0.0300667696, 0.0491844118, -0.0244183466, -0.0127305845, -0.0138575276, -0.0141516337, -0.0031492161, -0.0078213513, 0.035426978, 0.0035008085, -0.0495668799, -0.0068096765, -0.0077702762, -0.0065418677, 0.030875219, 0.0744979978, 0.0296492074, 0.0450755991, -0.003442442, -0.0419568196, -0.0614925511, -0.0311217327, 0.0312180445, 0.0116038546, 0.0083154468, 0.006334147, -0.0487845205, -0.069264248, 0.0103433309, -0.0122290058, 0.0526108854, -0.0122945057, -0.0183374267, 0.0267735478, 0.0009955512, -0.0042477562, -0.0808408335, 0.0189618301, 0.0519900024, -0.0238083173, 0.0024028812, -5.601020095e-33, 0.0147868749, -0.037345551, -0.0584394969, 0.015494532, 0.0502653904, 0.0411988758, -0.0012999695, -0.0406143889, -0.0096486192, -0.0054275971, -0.0266182385, 0.0265912656, -0.0243743975, 0.0256516989, -0.0406176709, -0.020235274, 0.0769785643, 0.0057626036, -0.0148755154, 0.0258683264, 0.0721097067, 0.0308483653, 0.0596047081, -0.1002539173, 0.0888512433, -0.0031570126, -0.0649465248, -0.0104499813, -0.0692186207, 0.0229239147, -0.0043642893, 0.0164530799, 0.0095343851, -0.0065418147, -0.0098034143, 0.0595578812, -0.0504297093, -0.0187358968, 0.0044202358, 0.0169056561, -0.0130548039, -0.0669089705, 0.0375241041, -0.0324209295, -0.0066218721, -0.0164736696, 0.0220145378, 0.0147035327, 0.0325924903, -0.0541936979, -0.0295851622, 0.0041666315, -0.0249720849, -0.0221367013, 0.0469500013, 0.0452222414, 0.025142923, -0.0252703298, -0.0678346157, 0.0019067103, 0.032521978, 0.0029267368, 0.0180371013, -0.0220229775, 0.0044585164, 0.0577959418, 0.0322253034, 0.0292260759, -0.0321599357, -0.0070885769, 0.0039762822, 0.0377725773, 0.0481813625, 0.0707698762, 0.0217736978, -0.0637803897, -0.0563053004, 0.0077962531, 0.0039300853, -0.0317733102, 0.0465844236, 0.0176215079, -0.0470794439, -0.008782859, -0.0454826802, -0.0624101982, -0.0343496576, 0.0156268217, 0.0012369853, 0.0069570099, -0.0727867559, 0.0052029481, -0.0242548119, -0.0728626922, -0.0242322441, 0.0323312879, 0.0125982696, -0.0296203159, 0.0123820445, 0.0067701559, 0.0022520679, -0.0031107524, 0.0689331889, -0.0138565302, 0.0280262437, 0.0001471893, 0.0933578238, 0.0079149585, -0.0428489409, -0.0243551582, -0.007532076, 0.0627345666, 0.0393021293, 0.0263409019, 0.0502655022, 0.0171273407, -0.0328928605, 0.0050764927, 0.0294127874, 0.0444766879, -0.0611439683, 0.0570155457, -0.0171529744, -0.0021303666, 0.0100301122, -0.0425546914, 0.0493051782, -0.0128716202, 0.0765027329, -0.0399692059, 0.0023838619, -0.0213279426, 2.83e-7, 0.0077592074, 0.0036777933, -0.0026982864, -0.0329859853, 0.0215545259, 0.0928499773, 0.0311511997, 0.0743088871, 0.0008852686, -0.0188002028, -0.0321931578, -0.0025546472, 0.0403422192, 0.0248117913, -0.062749967, 0.016856581, 0.0014937384, 0.0252742637, -0.0176945087, 0.0197770763, 0.0401856974, 0.084744066, 0.0534254201, -0.0079858759, -0.0084983008, -0.038741488, 0.0217974316, -0.0337717161, -0.0219949614, -0.0179699603, 0.0348256864, 0.0292109102, 0.0178847034, -0.0030790153, -0.0503207296, -0.0152904605, -0.0182922035, 0.0763470903, 0.012967282, -0.0120077692, -0.0191327538, -0.013949085, -0.0101684034, -0.0219648965, 0.0638300404, -0.0230477359, -0.051722236, -0.04870224, -0.0038216624, -0.0194202159, 0.0295551401, 0.0108227581, -0.0117136948, 0.0173453987, 0.0058287019, 0.0143175423, 0.0044589336, -0.0645288005, -0.0250676051, -0.0285925642, -0.0197147392, 0.0045662709, 0.0011748555, 0.0333000496, 0.0222762059, -0.0678422973, 0.0172018558, 2.585907804e-34, -0.00772506, -0.0121337585, -0.0243930668, 0.0107417814, 0.0209827125, 0.0089839688, 0.0232355036, 0.0008569944, 0.0099227438, -0.0281906053, -0.0374369994 ]
http://arxiv.org/abs/2406.19598v1
http://arxiv.org/pdf/2406.19598v1
Mixture of In-Context Experts Enhance LLMs' Long Context Awareness
2024-06-28T01:46:41
2024-06-28T01:46:41
Hongzhan Lin, Ang Lv, Yuhan Chen, Chen Zhu, Yang Song, Hengshu Zhu, Rui Yan
cs.CL
cs.CL
Many studies have revealed that large language models (LLMs) exhibit uneven awareness of different contextual positions.Their limited context awareness can lead to overlooking critical information and subsequent task failures. While several approaches have been proposed to enhance LLMs' context awareness, achieving both effectiveness and efficiency remains challenging.In this paper, for LLMs utilizing RoPE as position embeddings, we introduce a novel method called ``Mixture of In-Context Experts'' (MoICE) to address this challenge. MoICE comprises two key components: a router integrated into each attention head within LLMs and a lightweight router-only training optimization strategy: (1) MoICE views each RoPE angle as an `in-context' expert, demonstrated to be capable of directing the attention of a head to specific contextual positions. Consequently, each attention head flexibly processes tokens using multiple RoPE angles dynamically selected by the router to attend to the needed positions. This approach mitigates the risk of overlooking essential contextual information. (2) The router-only training strategy entails freezing LLM parameters and exclusively updating routers for only a few steps. When applied to open-source LLMs including Llama and Mistral, MoICE surpasses prior methods across multiple tasks on long context understanding and generation, all while maintaining commendable inference efficiency.
[ 0.0383203328, 0.0244986676, 0.0019609428, 0.0503567457, -0.0234358199, -0.0097092772, 0.008269337, -0.0564104542, -0.0125456918, -0.0362771004, -0.0601710305, -0.007858241, 0.0068339985, 0.005508645, 0.0467481948, -0.0484721065, 0.0372906178, -0.0475671887, 0.0044907322, 0.0208995175, -0.0019595085, 0.0068997303, -0.0174496565, 0.0486429371, -0.014212288, -0.0081548179, -0.0430450924, 0.0295468457, 0.0552236848, -0.0426664501, 0.0196272209, 0.0241790842, 0.0557996035, 0.006177994, 0.0000020736, -0.0240109898, 0.0078364601, -0.0221791286, -0.0262457225, -0.0079508685, 0.0194568466, -0.0166466553, -0.0028926521, 0.0347158611, -0.0117275966, 0.0375925899, 0.0262885056, 0.0110436268, 0.0423106365, 0.0804221183, -0.0012094352, 0.0023546687, 0.0059654727, -0.0474807583, 0.0316726938, -0.0466393791, 0.0021556185, 0.0090137562, 0.0135636395, 0.0123558538, -0.046886269, 0.0447954535, 0.0538428091, 0.0076384139, 0.0053270366, 0.0474705249, -0.0038165932, 0.002754688, -0.0313243866, 0.0637900084, -0.0659854114, -0.009577848, -0.0028514448, -0.011589176, 0.0138936639, -0.0309860092, -0.0586506687, 0.029589694, -0.0105239777, 0.0133051639, 0.0200885888, 0.0277174991, 0.0316812843, 0.0179951675, -0.0489622876, 0.049729906, 0.0000265029, -0.0363935716, -0.0225050896, -0.0203662626, -0.0362648331, -0.0511008352, 0.0319023244, 0.0598791949, -0.0352783389, 0.0522574112, -0.0493195988, -0.0072113988, 0.0024725399, -0.0337289907, 0.0112449788, 0.0689666644, 0.0008403765, 0.0543806367, -0.0369463637, 0.0304635987, -0.0286955405, -0.0058118277, -0.0502769575, -0.0066622118, -0.0130287586, -0.0203665085, -0.0472396426, -0.0002869596, -0.0780667216, -0.0636317357, 0.0132166212, 0.0769101754, -0.0041063516, -0.0115704872, 0.0208120737, 0.0327906013, -0.0258285217, -0.0082143052, -0.0083166435, 0.0241864137, -0.0117336707, 0.0483654216, 0.0414350629, -0.0251365956, -0.0342845693, 0.0475449972, 0.0031207062, -0.0285913423, -0.0029039045, 0.0594955124, -0.0255666785, -0.0315078869, -0.0194347613, -0.0250258967, -0.0405872613, -0.0623111539, -0.0049789045, -0.0550425239, 0.0324919187, 0.002439369, -0.0006276791, 0.0153666437, 0.0158986971, 0.0310881771, -0.0162270889, 0.0401052535, 0.0031207518, 0.0027735478, 0.0131988442, 0.0238213465, -0.0108820116, 0.0847830251, 0.0284242202, 0.0703628063, -0.0202206653, 0.0320507661, -0.0259840395, 0.0252795201, 0.0062764683, -0.0153960967, -0.0300117489, -0.0034994532, -0.0150084654, 0.0505305007, 0.0711916238, 0.0351635516, -0.0387893431, 0.0151465796, 0.0552623421, 0.0363211408, 0.0529867671, -0.002953806, 0.0890543684, -0.010909725, -0.0239990186, 0.0084801754, -0.0796093643, 0.0465263911, 0.0265098047, 0.0295042619, 0.0405257158, 0.016034551, -0.0251708329, -0.0310658533, -0.0255380124, 0.0066733765, -0.0553493127, 0.0318574607, 0.014872333, 0.0020475669, -0.0571862906, 0.0384150743, 0.0017250576, -0.0312877372, 0.0106225275, -0.0101087205, 0.005903909, 0.1155128926, 0.0261792261, -0.018434776, -0.0733331665, 0.0006292146, 0.0196998753, 0.0271741226, -0.0144724688, -0.0084067602, 0.0287381019, -0.0572263151, -0.0270153154, -0.0174051132, 0.0064026276, 0.0258800387, 0.0259915087, 0.0190236717, 0.0257485304, -0.0276877582, 0.036701221, 0.0278035104, -0.0430950075, -0.0061339852, -0.0457920581, 0.0061718496, 0.0374014229, 0.0043749167, 0.0049446966, 0.0074473042, 0.0367278717, -0.0578807108, 0.0202781353, 0.0220492389, -0.1346707195, -0.0830033869, 0.0245159175, -0.0161461849, -0.006718378, -0.0330158994, -0.0388327651, -0.0467758067, 0.0102827605, -0.0220289007, 0.0574667379, -0.0236597043, 0.0084912973, 0.0543445349, 0.004881518, -0.0312884562, 0.0693093687, -0.0419109799, 0.0039306474, 0.0542102493, 0.0531172529, -0.0083233053, -0.0508583933, 0.007313096, -0.0373758413, 0.0021475924, 0.01591512, -0.0113722859, 0.0283716135, -0.0302064456, -0.0803126469, -0.1211970225, 0.0120020108, -0.04126928, 0.02366082, 0.0344216377, -0.0035023016, -0.0215867497, -0.0009608194, -0.023340527, -0.0014198533, -0.0251142252, 0.0001394292, -0.011024572, 0.013736207, -0.0346171036, -0.0471019708, 0.0055422871, -0.0097671971, 0.0330895558, -0.0191655569, -0.0362240225, -0.0522991642, 0.0257934611, -0.0001977044, 0.0243355595, -0.0401462018, 0.0006781987, 0.0108677726, -0.0103470143, 0.1003518999, 0.0802535787, -0.0135664372, 0.0144653637, 0.0556070507, -0.0283356328, -0.0544241108, 0.0379684195, 0.0008550201, 0.0147202564, -0.0471676774, 0.0050362158, 0.0152719151, 0.0525779501, 0.0180989038, 0.0081591886, -0.0391782522, -0.0109406691, 0.0180780273, -0.040691305, -0.0234965868, -0.0245669298, -0.0419905819, 0.0175649934, -0.0476888306, -0.0398768336, 0.0390458629, -0.0541295446, -0.0164765809, -0.0240129046, -0.0234522764, -0.0635297373, 0.0370155834, -0.0034694267, 0.0210519005, -0.0524317063, -0.0400521867, -0.0580334179, 0.0151694454, -0.0090116095, -0.0007466037, 0.0302719399, -0.0265359171, 0.0111392932, -0.0259389821, -0.0196645409, -0.0611255616, 0.0231116749, -0.0223177746, 0.0343378149, 0.0345186815, -0.0078523941, -0.0138520207, 0.027223533, 0.0273195989, 0.0707665682, -0.0164427347, 0.0138425622, -0.0414643101, 0.0237577092, 0.0426402539, 0.0193440579, 0.0071742753, -0.0450944714, 0.0026255231, 0.0358642824, 0.0380252376, -0.0343966894, -0.0367209613, 0.012664564, 0.0146459453, -0.018299466, 0.0041978075, 0.0241810996, 0.0635838434, -0.0787072703, -0.0240648333, 0.1041208506, 0.0204653963, -0.0755151957, -0.0113227405, -0.0193972755, 0.0457736365, 0.0381058976, 0.0090217544, -0.0716509819, -0.0302505083, 0.0238586795, -0.0025091923, 0.0360492282, 0.0027570177, -0.0311865006, -0.0955155268, 0.0268549379, 0.0096037714, -0.0495733395, -0.0193560738, -0.0050194766, 0.007570032, 0.02950936, 0.052749075, 0.0354947224, -0.0183126908, -0.0148188742, 0.018793609, -0.0029023604, -0.0495591797, 0.0037219662, -0.0214123763, 0.0436704047, 0.0135044679, -0.0032207731, 0.0406998061, -0.0403254442, 0.0740657449, -0.0408829041, 0.0371176265, -0.0209053978, 0.0024917352, -0.0464765429, -0.0060436917, 0.0054543302, 0.0204201639, -0.029462738, -0.0226964559, 0.0007329615, 0.0832193568, -0.0209357515, 0.0334301703, -0.0263829194, -0.0015260037, 0.0093461582, 0.0612233765, 0.0624005236, -0.0388216749, -0.0297580436, -0.0146183483, -0.0181217622, -0.0293257423, 0.0290315058, -0.0084615117, 0.0129180886, -0.0269457139, -0.0536049604, -0.0198394507, 0.0604694299, 0.0889421031, 0.0123463608, 0.0266331229, -0.0213694926, -0.0211126264, -0.056754671, 0.0284563564, -0.0228429567, 0.0135719469, -0.0591982044, 0.0253668707, 0.0100175682, -0.0382316336, 0.0015788669, 0.0287845097, -0.0955491289, -0.0683845505, -0.0288702641, 0.0654295757, 0.0195276253, 0.0600204878, -0.016151106, -0.0418530554, 0.0577580705, 0.0228261352, -0.0182138979, 0.0340076908, 0.0267525371, 0.0523732156, 0.0161178559, 0.0309649911, -0.0560228266, -0.0098872408, 0.0033693078, 0.0539906621, -0.0288594905, -0.0252750702, 0.0037768458, -0.0502884127, 0.0039948239, -0.0215839501, 0.039335385, -0.0286409035, 0.0376363881, -0.0175581314, -0.0000397319, -0.0496113077, -0.0009166705, 0.0121071329, -0.0042409971, 0.0343687087, 0.0183766335, 0.0313631333, 0.0084537193, -0.0055077537, 0.02396564, -0.0023166833, 0.0063241539, 0.0182584357, 0.0235327352, -0.0355709083, -0.0201747268, -0.0462311655, 0.0281264577, -0.0162279662, 0.0480376519, 0.0169757679, -0.0343456082, -0.0523498841, 0.0527723543, -0.0528495945, -0.0294832587, -0.0077291983, 0.0376356989, 0.0885820612, 0.0046801991, 0.0500627607, 0.0012474323, -0.0045197993, -0.0057178596, 0.0279506203, -0.0163187105, -0.029817529, 0.037880946, 0.0431012139, 0.0021269161, 0.00183501, 0.0483514145, 0.028372068, 0.017868137, -0.016634075, 0.0095370794, -0.0281860698, -0.0290893558, 0.0214071199, 0.0274474826, -0.0312998705, 0.0109201008, -0.0445849709, -0.0765180215, 0.0063505522, 0.0126633588, -0.0284932051, -0.0196568258, 0.0355662629, 0.0353711136, -0.0122220609, -0.026989039, 0.002799077, -0.0282041561, 0.0327412672, -0.0239908863, -0.0315334722, -6.733092786e-33, -0.0473583862, -0.0329682454, 0.0604241788, -0.0485922322, -0.0458180048, 0.0310040526, -0.0559852719, -0.0038379072, -0.0062335324, -0.020903809, -0.0095470101, -0.0140505787, 0.0141078075, 0.0223338492, 0.0091062477, 0.0171491187, 0.0431280509, 0.028401969, -0.0007083518, 0.003906671, 0.0430386662, 0.030756494, 0.0576579273, -0.0407081693, -0.013284835, 0.026907092, -0.0126218991, 0.0448352322, -0.0307624005, 0.0463486202, -0.0155945988, 0.0109244259, 0.0284568351, -0.0179371703, -0.0495159216, 0.013691307, -0.0662809908, -0.0258996394, 0.0482693352, -0.0148804346, -0.0343980491, -0.0516200028, 0.071901761, 0.0037438485, 0.0087236976, 0.0004119058, 0.0239122231, -0.0323575772, -0.0530015938, -0.0217936132, -0.0449508391, 0.0024245689, -0.0015569443, -0.032324221, 0.0002865815, 0.0192369949, -0.0050740689, -0.0142144635, -0.0675028414, -0.0067273285, -0.0109322853, 0.0504571088, 0.0809286833, 0.0515444987, 0.00660779, 0.0469781049, 0.0165829025, -0.0181578733, -0.021221349, -0.0348388106, 0.034121573, 0.0567045771, 0.0110372193, -0.0160599537, 0.0258273389, 0.0108146193, -0.0487364084, -0.0176972151, 0.0170704909, 0.0672225803, 0.0402761959, 0.031693276, -0.0442812666, -0.0248535667, -0.0158121958, -0.016975211, -0.0229147002, -0.0234384313, 0.074731797, 0.0671942383, 0.0209932271, -0.0226459596, 0.073017329, -0.0094991243, 0.0285644867, 0.0262011401, -0.0053259907, 0.0372529179, 0.0144037409, 0.0390158519, -0.0897814855, -0.0281536523, 0.0219629649, 0.0150911892, -0.003531392, -0.0181984808, 0.0500457585, 0.0320427716, -0.0526553318, -0.0048596789, -0.066746898, 0.0287212841, -0.026491167, 0.0183371175, 0.0512521267, -0.0205514506, -0.0277530868, 0.0739058331, -0.0106086191, -0.0353217945, 0.0013365478, 0.0213409606, -0.0217388086, 0.032032799, -0.0384544842, 0.0021266402, -0.0270669386, 0.0208630804, 0.003453095, -0.0552288368, -0.0098681794, 0.0470075309, 2.867e-7, 0.0357428156, 0.0007467064, 0.0249187723, 0.011447032, 0.0430802293, -0.0141592063, -0.0217532516, 0.0177992266, -0.008668744, -0.000283199, 0.0115278782, 0.0629451349, 0.0157332979, -0.0189707857, -0.1196586639, 0.0055252882, -0.050872501, 0.0039386214, -0.0453086458, -0.0259132162, 0.0362876914, 0.085403733, -0.0122799035, 0.0040585678, 0.0115528442, -0.0474174246, 0.0506872535, -0.0064507686, -0.0038136691, -0.0022082827, 0.0188807305, 0.0276948567, -0.0200112388, -0.0317266658, 0.0168683752, 0.0417927504, -0.0216694996, 0.0732417852, -0.002358177, -0.0431626402, 0.0246819649, -0.0063352366, -0.0084711388, -0.0538612418, 0.0661740452, -0.0630868971, 0.0043702475, -0.031936314, 0.0056841271, 0.0133903231, -0.0244160444, 0.0038838116, -0.0186786074, -0.0046630073, 0.0131088058, -0.0223774463, -0.0312401168, -0.1066626832, -0.036096707, 0.0047581694, -0.072099112, -0.0276675038, -0.0481981821, -0.0072080698, 0.0473290943, -0.027104592, -0.0264153481, 2.825277943e-34, 0.0274719372, -0.0333980359, 0.033396624, 0.0660069212, 0.0180838779, -0.017084796, -0.0341777131, 0.0157018676, 0.0403169803, -0.0584105812, -0.0501790904 ]
http://arxiv.org/abs/2406.19593v1
http://arxiv.org/pdf/2406.19593v1
SK-VQA: Synthetic Knowledge Generation at Scale for Training Context-Augmented Multimodal LLMs
2024-06-28T01:14:43
2024-06-28T01:14:43
Xin Su, Man Luo, Kris W Pan, Tien Pei Chou, Vasudev Lal, Phillip Howard
cs.CL
cs.CL, cs.CV
Synthetic data generation has gained significant attention recently for its utility in training large vision and language models. However, the application of synthetic data to the training of multimodal context-augmented generation systems has been relatively unexplored. This gap in existing work is important because existing vision and language models (VLMs) are not trained specifically for context-augmented generation. Resources for adapting such models are therefore crucial for enabling their use in retrieval-augmented generation (RAG) settings, where a retriever is used to gather relevant information that is then subsequently provided to a generative model via context augmentation. To address this challenging problem, we generate SK-VQA: a large synthetic multimodal dataset containing over 2 million question-answer pairs which require external knowledge to determine the final answer. Our dataset is both larger and significantly more diverse than existing resources of its kind, possessing over 11x more unique questions and containing images from a greater variety of sources than previously-proposed datasets. Through extensive experiments, we demonstrate that our synthetic dataset can not only serve as a challenging benchmark, but is also highly effective for adapting existing generative multimodal models for context-augmented generation.
[ 0.0428817645, 0.0473757721, 0.0008419058, 0.0485570356, 0.0059161959, -0.0180636588, 0.0249546655, -0.0094038406, 0.0041307034, -0.0605172291, -0.0158187207, -0.0042538233, -0.0502427854, 0.0448818468, 0.0635891631, -0.0335910916, 0.0386227109, -0.0075471094, -0.0488183796, 0.0113044661, 0.0187785905, 0.02718997, -0.0241901595, 0.0277727451, -0.0670355782, -0.0151402131, -0.028533889, 0.0307444073, 0.0298313089, -0.0284576863, 0.0097612645, 0.0381762609, 0.060884133, 0.0129000684, 0.000001801, -0.0272145569, 0.003943088, -0.020356534, -0.0047967569, -0.0372367799, 0.0113114957, 0.013321083, 0.0190404747, 0.0032397208, -0.0588344708, -0.0023281767, 0.0507083498, 0.0097251954, 0.0751836672, 0.0591123067, -0.026891904, -0.0322743915, 0.0045809839, -0.01495058, 0.0813631862, -0.0059513096, -0.0288030207, 0.0287925862, 0.0126011549, 0.0175034069, -0.0373151973, 0.0466603115, 0.0428705029, -0.0280412398, 0.0321351811, 0.0366891734, -0.018937856, -0.0021453688, -0.0121327341, 0.1019959152, 0.0206121411, 0.0001815828, -0.0163012147, 0.0019698802, 0.0217377264, 0.0141401272, -0.0401519202, 0.0322721489, -0.0269089639, -0.0035676197, -0.0324029662, -0.0017730336, 0.0028069296, -0.0112911295, 0.0075663952, -0.0042472421, 0.0286570042, 0.0246486943, -0.0549905263, 0.0143909231, -0.0482826531, -0.039938841, -0.04097284, 0.0382998884, -0.0224811807, 0.0275591314, -0.0420013629, -0.0327739716, 0.0083004581, 0.0118187582, 0.0376427658, 0.0176482759, -0.0582253039, 0.0253683627, -0.0400627069, 0.0373230055, -0.0335053205, 0.0212244298, -0.0615484044, -0.0020211705, -0.0131589873, -0.0218776371, -0.0173496995, -0.005048723, -0.0960389003, -0.0244694017, -0.0271855984, 0.0531133339, 0.0156926159, 0.0094713261, 0.0109669417, 0.0551109947, -0.0414048471, 0.0071656434, -0.0554285161, 0.0240039527, -0.0249316804, 0.0289060902, 0.0430454351, -0.0491235591, 0.0060381857, 0.0350377969, 0.0313445702, -0.011782215, -0.0134085929, 0.0892935544, -0.0590499975, -0.0104108406, -0.0538256504, -0.0571171604, -0.0269416925, -0.0410403274, 0.0426522903, -0.0510688163, 0.0568380915, -0.0196876526, -0.0248803329, 0.0083642676, 0.0166534726, 0.0335107781, 0.0234487653, 0.0702505186, -0.0102755064, -0.0060942415, 0.0277295578, 0.0060869786, 0.0286497902, 0.0736881271, 0.0230490994, 0.0259045847, 0.0434007123, 0.0012907188, 0.0129902354, 0.0312528163, 0.0241649654, 0.019409515, -0.0275941249, 0.0136612067, 0.020156458, 0.0227950756, 0.0334344059, 0.032238625, -0.0426471792, -0.0275921617, 0.0508634187, -0.0172724649, 0.0314749964, -0.0047167372, 0.0624061711, -0.0285731573, -0.0109565454, -0.0040811058, -0.0172341857, 0.0844933093, -0.0215097647, 0.0249035377, 0.0391913243, 0.0342302583, -0.0270654149, -0.0301107671, 0.0298530478, 0.0072198352, -0.0173288621, 0.0129719889, 0.014628795, 0.0624420084, -0.0586545207, 0.0123333745, -0.0111881178, -0.0661063641, 0.0199800506, -0.0086039603, 0.042395588, 0.0556791686, 0.0660521016, 0.0055777654, -0.0246924199, -0.0077861357, -0.0067963228, 0.0601355992, -0.0066465605, -0.0246632807, 0.0057641244, -0.0603655688, -0.0401590876, -0.0454920419, -0.0110344598, 0.0140943825, 0.0224460829, 0.0012970862, 0.0324642621, -0.0328819305, 0.0256086346, 0.0263638888, -0.0324729718, -0.0234220233, 0.0072935242, 0.0012223679, -0.0107982485, 0.0182007439, 0.0049406188, 0.0092286849, 0.0268408544, -0.0557010472, -0.0051166303, 0.0414672904, -0.0572449379, -0.0926784873, 0.0028925594, -0.054606922, 0.0134866461, -0.0145956287, -0.066013433, -0.0345683582, 0.007122606, -0.0314583704, 0.0038515644, -0.0796420127, -0.0395324342, 0.0787140578, 0.0160215553, -0.0307657458, 0.05917513, -0.041647207, -0.0067257523, 0.0127592115, 0.0697475299, 0.0208388083, -0.0400858112, 0.0232162941, -0.0108908834, -0.0027108584, 0.0199365038, 0.0178427175, 0.0018800182, -0.0755192637, -0.0082490547, -0.0837749094, -0.0108545609, -0.0004075613, -0.0302460846, 0.0293508824, 0.0150780845, 0.0087791793, -0.0348878801, -0.0632100031, 0.04252363, 0.0372905508, 0.0053384351, 0.0456658974, 0.0352963954, 0.0403284356, -0.0288170315, 0.0172452927, 0.0264786687, 0.075499095, 0.0264422446, 0.043078281, -0.0297496244, 0.0086085163, -0.052592583, 0.0411685258, -0.02853797, -0.0032088927, 0.0437774174, -0.053222429, 0.0704180375, 0.0188335013, 0.0224664062, -0.0042373007, 0.0119134029, -0.0147655755, -0.0556346886, 0.021017218, -0.0176001452, -0.0378043242, -0.0033791277, -0.0258712154, -0.0084349047, 0.0109664751, 0.0107392827, -0.0095797703, -0.0528808609, 0.0478063561, 0.059146367, -0.0530057549, -0.0558903627, 0.0207242686, -0.0071579162, 0.0402275175, -0.0401991755, -0.0410704874, 0.0219823942, -0.0258942768, -0.0031052341, -0.0069761355, 0.022150455, -0.0258099418, 0.0710948557, 0.0090728598, 0.028551029, -0.0175391026, 0.0282812975, -0.0634861365, 0.007298884, 0.0122568803, -0.0310608018, 0.0289098937, -0.0379327685, 0.013538369, -0.0135806408, -0.0331757255, -0.073701188, -0.0148293991, 0.0278450605, -0.038977813, -0.0160996951, -0.0151835205, 0.0277393796, -0.0320957266, 0.0263478886, 0.0379994139, 0.0102007696, -0.0192552004, -0.03105345, 0.0945017189, 0.0917737782, 0.0421924479, -0.0127639398, -0.0343408212, -0.0104471203, 0.0547059402, 0.0425051413, -0.0204703938, -0.021682661, 0.0149728758, 0.0017540542, 0.043814376, 0.0219475515, 0.025180757, 0.054486271, -0.0218584724, -0.0288488455, 0.0401892476, 0.0175722018, -0.0177371092, -0.0057457518, -0.002059829, 0.0148471259, 0.0370522067, 0.0283124577, -0.1282500178, -0.0344437249, -0.0395602547, -0.007668314, 0.0050815823, -0.020460682, -0.036835257, -0.1257428676, 0.0530425049, -0.0026160225, -0.0591921322, -0.0304708462, 0.0199227557, -0.0240196716, 0.0236904081, -0.019847367, 0.0385701098, 0.0023660401, 0.0253567025, -0.0033707854, 0.0619622655, -0.0364399999, -0.0201982185, -0.0295622833, 0.0151077742, 0.0493422076, -0.0072426018, 0.0244613439, -0.0549121611, 0.0114303501, -0.0065113422, 0.0178087223, -0.0015025531, 0.0432526097, -0.0134965396, -0.0337759256, -0.0070044706, 0.0409335084, -0.0168784466, -0.0176535957, -0.00145706, 0.0304212421, -0.028252773, 0.0006748735, -0.0477350578, 0.0250139683, 0.0282234773, 0.0389476456, 0.01725219, -0.0311673544, -0.0004051809, -0.0171932969, 0.0022481349, -0.0897055641, 0.0021256825, 0.0148374643, 0.0285672806, 0.0217373967, -0.1196085289, -0.0203748327, 0.0127941715, 0.0483962782, -0.0212900098, -0.0156486779, -0.0589754656, -0.0070108962, -0.0743795484, 0.0358564071, -0.0021296141, -0.0140133211, -0.0080379369, -0.0167519506, 0.0263816025, -0.0828710422, -0.008421775, 0.0421205722, -0.0562936477, -0.032290563, -0.0447543859, 0.0709531084, 0.0091003384, 0.0432263948, 0.0309091788, -0.0082821278, 0.0471213832, 0.0851009786, -0.0110614663, 0.006937643, -0.0199629366, 0.0317232311, -0.0015894725, 0.0006568827, -0.0543236658, 0.0105718076, -0.0120917689, 0.0612789169, -0.0088326856, -0.028932672, 0.0354062803, -0.0055386513, -0.0123325018, -0.0491236635, 0.0226594023, -0.044142019, 0.0039088968, -0.0287553985, -0.0183383245, -0.0757371038, 0.0125275822, 0.0016047719, -0.0096221007, 0.0225606803, -0.025557857, -0.0052876668, 0.0782381147, -0.032873176, -0.0356085412, 0.0374467187, -0.001243639, 0.0125218797, 0.0120629258, -0.0038089589, 0.0287684128, -0.035375502, 0.0502485298, -0.011054527, 0.0958256871, 0.0237923637, -0.0319650136, -0.0027146162, 0.0320217051, -0.022073349, -0.0087115588, -0.0621111244, 0.051902622, 0.0397844836, 0.0332357399, -0.0048328037, -0.0186702739, -0.0128351329, -0.0119965132, 0.0471111499, 0.0137131624, -0.0489018373, 0.0499681942, 0.0122642014, 0.0122736059, -0.0131671764, 0.057410609, -0.0110100694, 0.0506586321, -0.0416598581, 0.0298501719, -0.0555070601, -0.0288568716, 0.005988467, 0.0117199151, 0.0091999173, 0.036483027, -0.0163362045, -0.0632846355, -0.0098715639, 0.0568183213, -0.0218185242, 0.0342929102, 0.0585301183, 0.0457402691, 0.0145572275, -0.0294539966, -0.0255026408, 0.0284023173, -0.0448328629, -0.0146019515, 0.0274480786, -5.845526226e-33, -0.0270054564, -0.0428314321, 0.0780092254, -0.0509208813, -0.0273980163, -0.0171167757, -0.0335217714, 0.0030194144, 0.0001466302, -0.0270745158, 0.0254753958, -0.0270920023, -0.0144690452, 0.0617514327, -0.020573562, -0.0018521484, 0.0205836147, -0.007394704, -0.0062275236, 0.0362899676, 0.0670187399, 0.0024601608, 0.0353259109, -0.0274318177, -0.0036178436, -0.0178996772, -0.0304591432, 0.0439121127, -0.0164942089, 0.064961791, -0.0421303399, 0.039598614, 0.0162394103, -0.0147443647, -0.0163569506, 0.0115571572, -0.0615088716, -0.0162153877, 0.0153926769, -0.0098464945, -0.1118562296, -0.0289799068, 0.0255733356, -0.0500719026, 0.0122160502, -0.0163399633, 0.0242107734, -0.0314224698, 0.0184401181, -0.0535834245, -0.0201562699, -0.0212213527, 0.0008945029, -0.0227096397, -0.0329690129, 0.067935355, 0.0463201739, 0.0087401718, -0.0293209217, 0.0365184434, -0.0078877416, 0.0108245257, 0.0814945698, 0.0347549915, 0.004463491, 0.0441543013, 0.0166154262, -0.0462919511, -0.0417900309, -0.0023309931, -0.0071872333, 0.0669098869, 0.0230782889, 0.1152176186, 0.0134568345, 0.0091644078, -0.0443833694, 0.0638368353, -0.0381345637, 0.0030876999, 0.0112837469, -0.0076166056, 0.0279858056, 0.0158739742, -0.0469762608, 0.0062934239, -0.0354334079, -0.0092269089, 0.0463123322, 0.0466203205, -0.0033355192, 0.0124183176, 0.0633114651, -0.0245833211, 0.0269674268, 0.010364458, -0.0329194888, 0.0283988286, -0.0024013249, 0.00606114, -0.0098392451, -0.0002967908, 0.1048170403, -0.0064873621, -0.0197310653, 0.0210111309, 0.0156208677, 0.02994431, -0.0342450328, 0.0173225868, -0.0496104322, 0.0503576025, -0.0225797724, -0.0347828455, -0.0047099544, 0.0024092726, -0.0822266117, -0.0020374884, -0.0038605463, 0.0359266438, -0.0078623788, -0.0470800139, -0.0027548741, 0.0394800492, -0.0254679266, 0.0480435677, -0.0313288681, -0.0258185975, 0.0299388897, -0.0449266508, -0.0108165825, 0.040613398, 2.386e-7, 0.0295261107, -0.0219416618, 0.0202596504, 0.0094720013, 0.030682534, 0.0198445767, 0.0066701933, 0.0477245413, 0.0116499821, -0.0652625635, -0.0074346629, 0.0408662483, 0.0211498477, 0.0013983323, -0.0391385704, 0.0127392132, -0.0239491295, -0.0298818815, -0.0389046147, -0.0025635818, 0.0526919179, 0.041691374, -0.0377157219, -0.0495012924, 0.0506723039, -0.0182917304, 0.0868303999, 0.0015915905, -0.0277434792, -0.0204690546, 0.0340089314, 0.0133515373, 0.0058802827, -0.0074849222, -0.008132359, -0.0233212151, 0.0174526628, 0.0187432747, 0.0128140543, -0.0826516151, -0.0045382516, 0.0189798158, -0.0055924384, -0.0388850383, 0.0583136193, -0.0390973687, 0.0064974949, -0.0286411755, -0.0506395325, 0.0044540581, -0.0042033629, -0.0382459313, -0.0429737382, 0.0084462203, 0.035040319, 0.0032640744, -0.018630147, -0.0591211542, -0.0449709371, 0.0037385167, -0.0553678125, -0.0354593433, -0.0508195646, -0.0330324918, -0.0122866249, -0.0415085107, -0.0396801718, 1.85601363e-34, 0.0125973718, 0.0267813616, 0.0060813124, -0.0113114547, 0.0043188743, -0.0208666008, -0.0257024579, 0.0030832032, 0.0177701339, -0.0673638433, -0.0312311836 ]
http://arxiv.org/abs/2406.19578v1
http://arxiv.org/pdf/2406.19578v1
PathAlign: A vision-language model for whole slide images in histopathology
2024-06-27T23:43:36
2024-06-27T23:43:36
Faruk Ahmed, Andrew Sellergren, Lin Yang, Shawn Xu, Boris Babenko, Abbi Ward, Niels Olson, Arash Mohtashamian, Yossi Matias, Greg S. Corrado, Quang Duong, Dale R. Webster, Shravya Shetty, Daniel Golden, Yun Liu, David F. Steiner, Ellery Wulczyn
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG
Microscopic interpretation of histopathology images underlies many important diagnostic and treatment decisions. While advances in vision-language modeling raise new opportunities for analysis of such images, the gigapixel-scale size of whole slide images (WSIs) introduces unique challenges. Additionally, pathology reports simultaneously highlight key findings from small regions while also aggregating interpretation across multiple slides, often making it difficult to create robust image-text pairs. As such, pathology reports remain a largely untapped source of supervision in computational pathology, with most efforts relying on region-of-interest annotations or self-supervision at the patch-level. In this work, we develop a vision-language model based on the BLIP-2 framework using WSIs paired with curated text from pathology reports. This enables applications utilizing a shared image-text embedding space, such as text or image retrieval for finding cases of interest, as well as integration of the WSI encoder with a frozen large language model (LLM) for WSI-based generative text capabilities such as report generation or AI-in-the-loop interactions. We utilize a de-identified dataset of over 350,000 WSIs and diagnostic text pairs, spanning a wide range of diagnoses, procedure types, and tissue types. We present pathologist evaluation of text generation and text retrieval using WSI embeddings, as well as results for WSI classification and workflow prioritization (slide-level triaging). Model-generated text for WSIs was rated by pathologists as accurate, without clinically significant error or omission, for 78% of WSIs on average. This work demonstrates exciting potential capabilities for language-aligned WSI embeddings.
[ 0.0275827721, 0.0490168221, 0.0188150965, -0.0046017976, -0.0196938999, 0.0245329998, 0.0186467096, 0.0356319249, -0.0096496269, 0.0143389767, 0.0199136715, -0.0493765585, -0.0191266108, 0.0973102003, 0.0091528706, -0.0754897743, -0.0180976801, 0.013923238, -0.012135867, 0.0052797492, 0.0083814347, -0.0079351356, 0.0358331315, 0.060474962, -0.0471886396, 0.029016722, 0.0363338776, 0.0201429632, 0.0176319983, -0.033864025, -0.0254287161, 0.0269008558, 0.0420889072, 0.042099528, 0.0000020794, -0.0525960177, 0.0080158459, 0.0087157786, 0.0035420372, 0.0004236904, 0.0444607362, -0.0474814922, -0.0352664143, -0.0176673643, 0.0120080132, -0.0121219968, 0.0430978574, 0.0410460047, 0.0581618659, 0.0544457287, -0.029364977, -0.0017509052, 0.03582922, -0.0108811483, 0.0360050984, -0.0021805635, 0.0224732216, 0.0261785835, -0.0090206861, 0.0158922933, 0.014566537, 0.0733940676, 0.0384388492, -0.0537751876, 0.0256604571, 0.0791142061, 0.0221776608, -0.037541829, 0.0028160072, 0.0453302525, -0.0595305599, -0.025116222, 0.0043596122, -0.0325432122, -0.0112083759, -0.0109160449, -0.0473662727, 0.0377254076, 0.0058995998, -0.0041496204, -0.0139378728, 0.0102974698, -0.0020312485, -0.0184783172, -0.0260480475, 0.001759944, -0.0014028881, -0.0020606089, -0.0216635372, 0.0297046807, 0.0144406706, -0.0352044329, 0.0594422109, 0.0492422841, -0.0092474371, 0.0031636816, -0.0328044593, -0.0513219982, 0.0645490959, -0.0613991842, 0.0179618839, -0.0177987739, -0.0783995166, 0.0802312046, -0.0361724012, 0.0213660914, -0.0424943157, 0.053190887, -0.0472173803, -0.0154452724, 0.0222959351, -0.0199548379, -0.0239163749, 0.0014369318, -0.0328277014, -0.0489410982, -0.0550285652, 0.0178554691, 0.0032719411, 0.0423847809, 0.0534688234, 0.0297200419, -0.0765638873, 0.0190412235, 0.0125533249, 0.0437816791, 0.0038617034, -0.0343486816, -0.0316509232, 0.0198929086, 0.0091701793, 0.062314555, 0.0272769518, 0.0051524281, -0.0123330997, 0.052186925, -0.0121900989, -0.0105167432, 0.0409620963, -0.0200737901, -0.0721502379, -0.0267971382, 0.0255181044, -0.0700925961, 0.0192215964, 0.0201331843, -0.0120478645, -0.0235004388, 0.023172915, 0.0191649254, -0.0196620636, 0.0549813844, -0.0459327064, -0.0261510331, 0.0280052274, 0.0117002847, 0.026701957, 0.0200672504, 0.0082223229, 0.0365176871, 0.0038520705, 0.014857647, 0.0279882699, 0.0249670427, 0.0105265202, -0.0132774338, -0.052451618, 0.0128535824, 0.0254102126, 0.0530813634, 0.0321882367, 0.0538349077, -0.0069383369, -0.0490885191, 0.0340361074, 0.1198953241, 0.0273009073, 0.0216202084, 0.0431687273, 0.0032054964, -0.0208401699, -0.0130446739, 0.0106822783, 0.0291187912, 0.0148719884, 0.0085081831, -0.016093934, 0.0042776209, -0.0264261048, -0.0470244884, -0.0084822671, -0.000294802, -0.024303304, -0.0284876991, 0.0555025041, -0.0273138639, -0.030169392, -0.0317668617, 0.0405895934, -0.0415558927, -0.0263622776, -0.0661875606, -0.0133042196, 0.1069979742, 0.0683006495, -0.0310198758, -0.0204343703, 0.0193747338, 0.0127933715, 0.051164031, -0.0184183605, 0.021768, -0.0067972904, -0.0389470272, -0.0352888145, 0.0286448542, 0.0039492478, -0.0257349126, -0.0199005492, 0.0292079337, -0.0157751217, -0.025299659, -0.0449813455, 0.040904928, -0.0128095252, -0.0092597893, -0.0315213948, 0.0253052525, -0.0178173389, -0.0324071385, -0.0525216758, -0.0027905954, 0.0201245174, -0.0171670988, -0.0534128696, 0.0206899997, -0.0326371565, -0.0254023261, 0.0196373779, -0.0584982522, -0.0262777619, -0.053776972, -0.0244624969, 0.002117797, -0.0358876884, -0.0490802303, -0.0765186548, -0.0096415048, 0.0065258327, 0.0357943848, 0.0015357694, -0.0322494544, 0.0464186296, -0.0285949446, -0.0225357264, -0.0047380431, -0.0491770059, 0.0501921847, -0.0257808436, -0.0475650392, 0.0374309346, 0.0191067979, 0.0165187195, 0.015063893, 0.0383305512, -0.0067382678, -0.021684967, -0.0623835847, -0.0143504357, -0.0257699136, -0.0416850336, 0.0407789275, 0.036360722, 0.0212157946, -0.0537273064, -0.0523368679, -0.011046608, 0.0654506981, 0.0129432278, 0.0782162398, 0.0198365916, 0.0188518707, -0.0350053646, -0.0374345109, -0.0121365888, 0.0318770781, 0.0537969619, -0.0717802793, -0.0088019259, 0.0216031857, -0.0263977852, 0.0248349905, 0.0201019254, -0.0565594994, 0.0121565647, -0.0303408522, -0.028094627, 0.0952897817, -0.0193142053, 0.0784435123, 0.0076722992, 0.0040156962, -0.0224661697, -0.0101656755, -0.0533711985, -0.0154360738, 0.0216061007, -0.0469760075, 0.0037755508, 0.0310128778, -0.0110504795, 0.0332502499, -0.0702921897, -0.0324123539, -0.0027836324, 0.0071986131, -0.0570841022, -0.0210246705, 0.0040768427, 0.0084992461, -0.0157035366, -0.0365633294, 0.0966515094, 0.0226883292, 0.015248796, -0.0115180509, -0.0210440084, -0.0242945198, 0.0687073395, 0.0167113561, 0.0227706209, -0.0225123782, 0.0003687917, -0.0117481053, 0.0144938687, 0.0003748084, -0.0685366914, 0.0439980403, -0.0131798983, 0.0291647445, 0.0087234415, -0.0298081413, -0.0294114538, 0.020553194, -0.0007114885, 0.0179056153, -0.0134325661, -0.033525873, -0.0944513157, 0.0451603793, 0.0215135235, 0.0642417967, -0.0010823316, -0.0087973205, -0.0338039026, 0.0283847693, 0.0187587347, -0.0052340231, -0.0414341092, -0.0140448678, 0.0288882721, 0.0451317355, 0.0006184534, 0.0150723429, -0.0091504445, 0.0028067497, 0.0026722129, 0.0340655744, 0.0010726951, 0.0086195832, 0.0405405909, -0.0606757589, -0.0358831361, 0.094332315, 0.0238555074, -0.0591039397, -0.0229119156, -0.011822192, -0.0074926661, -0.034935046, 0.0494310446, -0.0519143865, -0.0050405995, -0.025110051, -0.0230119228, 0.0118678277, -0.0033889932, 0.0109590003, -0.0067617968, 0.0921775401, 0.0374386236, 0.0213254672, -0.0454753563, -0.0493448265, -0.0423415042, -0.0170375984, -0.0414653569, -0.0236149207, 0.0291975085, -0.0222585853, -0.0114690196, -0.0483219363, -0.0673011765, -0.0187597871, -0.0300313234, -0.074196592, 0.047953587, 0.0402635001, -0.0382627621, -0.0481616072, -0.007367468, 0.0196008608, -0.014675987, -0.0010709058, 0.141983524, -0.0168307666, -0.0339205787, -0.0558194406, 0.0235250685, 0.0096218614, -0.0019358036, -0.0472238101, 0.0749068856, -0.0296982098, -0.0239446945, -0.0503669567, 0.0008437929, 0.0133541105, 0.0289547704, 0.0233394485, -0.0375961326, -0.038559705, -0.0506284982, 0.0755927786, 0.011995947, -0.039872814, 0.0267088991, -0.0018838793, -0.0216193572, -0.0566901676, -0.0250262264, 0.0514474623, 0.021889722, 0.0207547583, 0.0308324173, -0.0334639959, -0.052693069, -0.0920051187, 0.069676213, 0.0170708857, 0.0223889742, -0.006755712, -0.0248186868, 0.0676434413, -0.0096308691, 0.0020892248, 0.0522638485, -0.0253588688, 0.0073895603, -0.0462574735, 0.035391707, 0.025781244, -0.0172411669, -0.0285335239, -0.0556186847, 0.0862661004, 0.0464138277, 0.0118633714, -0.0076354467, 0.0021408843, -0.024653323, -0.0059278873, 0.0005762762, -0.0435310751, -0.0189217795, 0.0039843186, 0.0040390464, -0.006755007, -0.0330288447, 0.0147215314, 0.0033052666, 0.0339090265, -0.012675005, -0.046725031, -0.0156045044, 0.0042904676, -0.0374880582, -0.024097532, -0.0471536554, 0.0143823102, 0.0080224723, 0.0213528425, -0.0128123676, 0.0314362012, -0.0343138203, -0.0416457951, -0.0719122887, 0.0193955228, 0.028265005, -0.0392259061, 0.05177534, -0.0011949495, -0.0106289834, -0.0343353041, -0.0086901225, -0.0153650856, 0.0002565512, -0.0042456235, 0.0362774916, 0.0291270018, -0.0174819045, 0.0605384223, -0.0376027934, -0.0126111731, -0.0385446921, 0.0184260737, 0.0683243126, -0.0165100079, 0.0201659948, -0.043847274, -0.0099260528, -0.0171403755, 0.0582283176, -0.0274252035, -0.0144777885, 0.0398035049, -0.0015259918, 0.0070086014, -0.0326504372, 0.0536044613, 0.0363650359, 0.0072660572, -0.0199583322, -0.0457579046, -0.0583431311, -0.021073807, 0.0357226171, -0.0102730021, -0.0266503282, 0.0295557864, -0.0580515862, -0.0546963885, 0.0295511782, 0.0283805169, -0.0631383657, -0.0026905164, 0.0571034625, 0.0400652215, 0.0195822492, -0.0269357804, -0.0052164826, 0.0284815393, -0.0164480731, -0.0663494617, 0.0227027852, -6.251776339e-33, -0.005790717, -0.0538527109, 0.0482656732, -0.0122603308, -0.0010811056, 0.0486109331, -0.0361457989, -0.0077517703, 0.0346455611, 0.0620931834, -0.0204683188, -0.0373541117, 0.0069651641, 0.0521251112, -0.042234689, 0.0100994427, 0.0186166316, -0.0230509378, -0.0226073004, 0.0246404856, 0.0031163855, 0.0395674407, 0.0227600504, -0.0713120028, -0.0427143648, 0.0281924065, 0.0064686313, -0.0120937657, 0.0096323201, 0.0341609307, -0.0422869064, 0.0341764204, -0.0023739217, 0.0243985765, -0.0206130482, 0.0228948444, -0.0454850681, -0.0266201869, -0.0323208794, 0.027676098, -0.1127557606, 0.003425797, 0.049394507, -0.0481043682, 0.0167657416, -0.0019958462, 0.0567919426, -0.001420083, -0.0356796123, 0.0004936226, -0.0337716341, 0.0485721231, 0.0056775678, -0.0166148171, 0.0523147844, -0.0558400117, 0.0090586077, 0.0209529009, -0.0429997034, 0.0111081693, 0.0518433526, 0.0163271762, 0.0459023565, -0.0224831849, -0.0009366392, 0.0785790682, 0.0334765948, -0.0554922298, -0.0133334203, -0.024286937, -0.0136719719, 0.0485995188, 0.0523240305, -0.0352643207, 0.0071711936, 0.0118428702, -0.0728035122, 0.0449863523, -0.0547939949, 0.049290102, 0.0283016153, -0.0017143514, -0.0326813422, 0.0057764119, -0.0014140527, -0.0442234501, -0.0103387749, -0.0259974804, 0.0415130034, 0.033863876, 0.0167673007, 0.0654702857, 0.0199250542, 0.0087648416, -0.036848966, 0.0225919746, 0.0248330254, 0.0408255681, -0.0185690187, -0.0014898992, -0.0236494802, -0.0076211188, 0.0255449302, 0.0289060995, 0.008925681, 0.0132757528, 0.0608512461, 0.0084261671, -0.0700647682, 0.0150858406, -0.0160687845, -0.0097838631, 0.0003913062, 0.0144705949, 0.0421656072, 0.0166450646, -0.0256954823, 0.0448545143, -0.0196404848, -0.0283059739, -0.0061351163, -0.0446763709, -0.0267688781, 0.0219254363, -0.061066445, 0.0002321681, -0.0203407034, 0.0307933744, 0.0579474755, -0.0340721644, -0.0201374944, 0.0261117462, 2.862e-7, 0.0861606002, 0.0470942035, 0.0280150753, -0.0002217699, 0.0388097353, 0.0169446692, -0.0348948352, -0.0088919569, -0.0368829556, -0.0126401791, 0.0246465448, 0.0450037643, 0.0283177141, -0.0028996763, -0.0184371565, 0.0698428676, -0.0495553017, 0.0030082942, -0.0239190925, -0.0037855892, 0.0663811117, 0.0709479675, -0.0348841697, -0.0269421618, 0.0503684357, -0.0164521504, 0.0495733991, -0.0518890396, 0.0520633049, -0.0160787702, -0.0396407284, 0.0276428238, 0.0107916771, 0.0594565384, -0.0036767663, -0.0018703513, 0.0251262691, 0.0626698658, -0.0319223925, 0.0163589977, 0.0261761192, 0.0207279958, 0.0216399748, -0.0526860096, 0.0240156986, -0.0551843606, -0.0296135508, -0.0072300099, 0.0460656062, 0.0121948924, 0.0658575594, -0.0533666089, -0.0560678877, 0.0461010635, 0.0239253398, 0.0093983291, -0.0125381527, -0.0744750053, -0.0272441823, -0.0101440502, -0.0137081305, -0.0043730163, -0.0591922402, 0.0051974691, 0.0307976082, -0.0197516773, 0.0003954347, 2.930981977e-34, 0.042279426, 0.0155497557, -0.0085081384, 0.0288876779, 0.0027246599, -0.0186873656, 0.0403133519, 0.0026620359, -0.0028880907, -0.0339215621, -0.0187425483 ]
http://arxiv.org/abs/2406.19564v1
http://arxiv.org/pdf/2406.19564v1
Voices Unheard: NLP Resources and Models for Yorùbá Regional Dialects
2024-06-27T22:38:04
2024-06-27T22:38:04
Orevaoghene Ahia, Anuoluwapo Aremu, Diana Abagyan, Hila Gonen, David Ifeoluwa Adelani, Daud Abolade, Noah A. Smith, Yulia Tsvetkov
cs.CL
cs.CL
Yor\`ub\'a an African language with roughly 47 million speakers encompasses a continuum with several dialects. Recent efforts to develop NLP technologies for African languages have focused on their standard dialects, resulting in disparities for dialects and varieties for which there are little to no resources or tools. We take steps towards bridging this gap by introducing a new high-quality parallel text and speech corpus YOR\`ULECT across three domains and four regional Yor\`ub\'a dialects. To develop this corpus, we engaged native speakers, travelling to communities where these dialects are spoken, to collect text and speech data. Using our newly created corpus, we conducted extensive experiments on (text) machine translation, automatic speech recognition, and speech-to-text translation. Our results reveal substantial performance disparities between standard Yor\`ub\'a and the other dialects across all tasks. However, we also show that with dialect-adaptive finetuning, we are able to narrow this gap. We believe our dataset and experimental analysis will contribute greatly to developing NLP tools for Yor\`ub\'a and its dialects, and potentially for other African languages, by improving our understanding of existing challenges and offering a high-quality dataset for further development. We release YOR\`ULECT dataset and models publicly under an open license.
[ 0.0535397828, 0.0620833151, -0.0203856938, 0.014727056, -0.0089397011, 0.0247360915, 0.0277566761, -0.0181334857, -0.0486669242, -0.0043856674, -0.0328586474, -0.0558512136, 0.1105827764, -0.0175630189, 0.0231540762, -0.0727327093, -0.0078308135, -0.0392400213, 0.0115962205, 0.0021014989, 0.0154004898, 0.0623420291, -0.01735425, 0.0468019508, -0.0238644946, 0.0066312524, -0.0064221509, 0.0340657681, 0.0131384498, 0.0131178768, -0.0312740058, -0.0018772975, -0.0302660502, 0.038027171, 0.0000019929, -0.0473792478, -0.0272724424, 0.0067902883, -0.0362077765, 0.0072663985, 0.0591880344, -0.0366492607, -0.03614299, 0.0386483595, -0.0375331305, 0.0160039458, 0.0847689956, -0.0024995937, 0.0408063084, 0.0696850345, -0.013417759, -0.0297502261, 0.0256734211, -0.0517608747, -0.0716776997, -0.023941787, -0.0097823199, -0.0205640737, -0.004377766, -0.0363123119, -0.0231098887, 0.0284585375, -0.0307712201, -0.0162099339, -0.0532409213, -0.0457222424, -0.0495023392, -0.0678150728, -0.0215951223, 0.0560210384, -0.0387976691, -0.0081883324, -0.0008708137, 0.0253131669, -0.036516238, 0.0099577922, -0.0378343686, 0.0244797822, -0.0054861032, 0.0276097339, -0.0026477675, 0.0373271033, 0.0348170176, -0.0312231258, -0.0197092332, 0.0326432064, 0.0353287049, 0.0016705712, 0.0125782425, 0.030203566, -0.029306395, 0.0081207994, 0.0526180938, -0.0185809135, 0.0004218603, -0.0297394283, 0.0106975632, -0.0412652008, 0.0218368415, -0.0092456024, 0.0782730207, 0.0296901446, -0.0453411117, 0.0279800333, -0.0032218418, 0.0185732208, -0.0120907817, 0.004032624, -0.0166083407, -0.0222405884, -0.0371188335, 0.0011379682, -0.0363189913, -0.0150245968, -0.0677572936, 0.0196486041, -0.0067941034, -0.0175331626, 0.001839653, 0.002941807, 0.0496422462, -0.0453364328, -0.0413642228, -0.0524933822, 0.0337189846, 0.018197, -0.0488069169, 0.0344424248, -0.0261324216, -0.1216198206, 0.020331122, -0.00957633, 0.0017375648, 0.0075388332, -0.0064921225, 0.0284097847, 0.0213034712, -0.0347398743, -0.0743215382, -0.0181645099, -0.0426386818, -0.020831855, -0.0551535971, -0.0611706711, 0.0425427146, 0.0020541197, 0.0633391738, -0.0310680196, -0.0306897536, -0.009351992, 0.0408359505, 0.0512410104, 0.0082778037, 0.018992316, 0.0631823763, -0.0180922933, 0.0615205318, 0.051255621, 0.0336185358, -0.0179091804, 0.0369561873, 0.0202947408, -0.0542342216, 0.0484998226, -0.0043642661, 0.016990453, -0.0332401656, -0.005687464, 0.0031721373, 0.0325014628, 0.0240337122, 0.0808834061, 0.0107328482, -0.015545872, 0.0687723979, 0.0529561192, 0.0011797285, 0.0140911629, 0.0220466498, 0.0261745416, -0.0219137482, -0.0140351085, 0.0350629315, -0.0001400985, 0.0269589312, -0.0476946719, 0.0801030248, 0.1025870666, -0.0145449424, -0.0024680211, -0.0126958434, 0.0032203924, -0.0303936005, -0.0081931716, 0.0166099798, 0.0144665921, 0.0059711779, -0.0147960838, 0.0535156317, -0.0489037186, 0.0205041561, -0.0315219238, -0.0087490454, 0.0097692898, 0.0244076867, 0.0342441089, 0.0280743502, -0.0340470411, 0.021764731, 0.0463783704, 0.0654614195, -0.021092996, 0.063200146, -0.0645466894, 0.0344955586, 0.0391011983, -0.0031464158, 0.0279700439, -0.0178568978, 0.0874606594, 0.0053177099, -0.0352484882, -0.0014574934, 0.0269642808, -0.0331675075, -0.0033437263, 0.0480985343, 0.0265961252, 0.0583661087, 0.0350376479, 0.0057248636, 0.0135329012, -0.0337451398, -0.0412316248, 0.0352299362, 0.0763508081, -0.0147574525, -0.0209505986, 0.023961924, -0.0322906412, 0.0315871537, 0.0134384977, 0.0344684124, -0.0658613518, 0.0588865913, -0.0226412918, 0.0224567372, -0.0227056034, 0.0519432798, 0.0090907197, 0.0348183252, -0.0279068481, -0.0228359234, 0.0476212241, -0.019520821, 0.0226736329, -0.0288360249, 0.0667546391, -0.0194472708, -0.0174467787, 0.0325704217, -0.011117707, 0.0195744187, 0.0048883273, -0.0397851206, -0.0135195218, -0.0246939324, -0.069426775, 0.0194746088, -0.0237620212, 0.0445835665, 0.0078617325, 0.0911450014, -0.0066844532, 0.0064634904, -0.0000561197, 0.006317378, -0.0177723803, -0.0042624632, -0.0393925607, -0.013799428, 0.0092491815, -0.0468262546, -0.0051746033, 0.0523234904, 0.0307119954, 0.0103903087, -0.0098821707, -0.0264971685, -0.0712339655, 0.0188172497, 0.0200368091, 0.0039092125, -0.0318509489, -0.008130786, -0.0399038009, 0.0314854123, 0.0118586514, -0.028270416, 0.0024507977, 0.0091719395, -0.0152024459, -0.0286081098, -0.0128499437, -0.0340636857, -0.0216367282, -0.0192571413, -0.0145501345, -0.0084099285, 0.0697373897, 0.0618878603, 0.0071616555, -0.0507291965, 0.0032164508, -0.0199756976, -0.0051547443, 0.0327003449, 0.0289888065, -0.0051739332, 0.0285389293, -0.0572866872, -0.0127534345, 0.0780071914, -0.0379523598, -0.0294255279, 0.003473718, 0.021218475, -0.0400871858, 0.0357931703, -0.0513284355, 0.0094310474, -0.0054795835, -0.0428671315, -0.0087794485, 0.0593495034, 0.0619434193, -0.0050737336, -0.0113549484, -0.0630044118, 0.0112864105, -0.0003223265, -0.0600469708, 0.0340488739, -0.0308492891, -0.056442745, -0.0072872848, 0.0388429537, -0.0089649465, -0.0211585294, 0.0411026105, -0.0111788763, 0.0283760242, -0.0053377845, 0.0091294181, 0.0048472807, 0.0557705089, -0.0057581374, 0.0381554253, 0.0137042487, -0.0174227133, 0.0295225177, -0.0348621309, -0.0172554143, -0.0108920634, -0.0110896509, -0.0122125568, 0.0449307114, -0.0223711729, -0.0212793853, -0.0010799721, 0.0531222411, 0.004740031, -0.0194774754, 0.0652990341, 0.0147906123, 0.000585499, 0.0215908438, -0.0586478114, 0.0788005739, -0.0180416573, -0.0136858514, -0.069914408, -0.0480193198, 0.0208583381, 0.0475416034, 0.0215225909, -0.0140897734, 0.009013515, -0.0923946947, 0.0041635619, 0.0299419574, 0.0119340448, -0.0342055149, -0.0116918767, -0.0291700475, -0.0456764996, 0.0005521168, 0.0064410381, 0.0186529569, -0.013351527, 0.057791613, 0.0055618607, -0.0716995746, 0.0038423017, -0.0629871339, 0.0738806352, 0.0458153635, 0.0040292125, -0.0050525484, -0.0109724589, -0.0074094548, -0.0667377561, -0.0003012251, -0.0137627432, 0.0021384116, 0.0482993834, -0.0513832793, -0.0133622205, 0.0099754753, -0.0359067805, 0.039660491, -0.0121582877, 0.025178019, -0.0233113132, 0.0119504156, 0.0214749984, -0.0075873928, 0.0274954271, 0.0175482146, 0.0192955025, -0.0366764218, -0.021457646, -0.0129596936, 0.0003915343, -0.0589891933, -0.0226911418, 0.0329447128, 0.0428800099, -0.0381290168, -0.0897389948, -0.0603423901, 0.0361876078, -0.0023036879, 0.0518399663, -0.008006718, 0.0329092555, 0.0042677592, -0.0468621105, 0.0201622769, -0.0287357718, 0.0374416746, -0.0611226298, -0.0000819377, 0.041728925, -0.0290598609, 0.0238298718, 0.0118772248, -0.1012831703, -0.0817383975, 0.0301582776, 0.0053600431, 0.0240889359, 0.0268293489, -0.0227853972, -0.0716976672, -0.0122542251, -0.0235693008, -0.0100040054, -0.0013161169, 0.0205479339, 0.0023768577, -0.0027913707, 0.0468818657, 0.0254922304, 0.0061631706, 0.005328164, 0.0166847892, -0.0337360837, -0.0630047694, -0.0176890045, -0.0334399492, 0.0277551562, -0.0476150699, -0.0293964706, -0.0454606377, -0.0016317917, 0.0426323861, 0.0435801819, -0.0314089619, -0.01877537, 0.0652752295, 0.0239002928, -0.0264545903, 0.0187578071, -0.0081326477, -0.0179274194, -0.0085637001, 0.0546434559, 0.0396153256, 0.0298303198, 0.0305247381, 0.0578441061, -0.0167878103, 0.0755054206, -0.0180532411, 0.0568503514, -0.0396187492, 0.0038312017, -0.0216495004, 0.0125009082, 0.0235043354, 0.0181895811, 0.0242081638, 0.0169640929, -0.0389530994, 0.0039602127, 0.0628951564, 0.0078582922, 0.0923982561, 0.017778432, -0.0055710762, -0.018067874, 0.0418887399, -0.0393781103, 0.0007541485, -0.0100193769, -0.0162090026, -0.0109347822, 0.0659448728, 0.0446734652, -0.0175682064, 0.0029545426, 0.0511865094, 0.0543859862, 0.0031370481, -0.0289896559, 0.0056704413, -0.0296950527, -0.0240411386, 0.0038131746, -0.0324763618, -0.0427628607, 0.0137014026, -0.0000204289, 0.0210238956, 0.0109394453, 0.0014821499, -0.0050411797, -0.02046673, 0.0257574823, -0.0475069433, -0.0297478214, -0.0187165365, -0.0070481575, 0.0173350647, -6.270140499e-33, -0.0162440352, 0.0279137511, -0.0189001635, -0.0503815003, -0.0014871523, -0.0506071858, -0.033296898, 0.0114854863, -0.0503428839, -0.0032500338, -0.0483457223, 0.001753762, 0.0347783826, 0.0240851138, 0.0442103781, 0.0312186182, 0.0573818311, 0.0039646663, -0.0330339596, 0.0011523329, 0.0377985872, 0.0369871184, 0.0449093617, -0.0713075623, 0.0237512048, -0.0230312087, -0.0494620278, -0.0205161404, 0.0031598134, 0.0238395035, -0.0173948351, 0.0144600216, 0.0062527787, 0.0109681403, -0.0268097483, 0.0021120172, -0.0968704522, 0.0232857354, 0.0306232926, 0.0703209862, -0.0079164878, -0.0356857851, 0.0327352211, -0.0181236174, -0.0223160591, 0.0173759535, -0.0309843812, -0.0587412193, -0.0231165942, -0.0037263262, -0.0594795831, 0.0669347569, -0.0209517442, -0.0294088237, 0.0656285584, 0.0230528787, -0.0584620535, -0.0450440235, -0.0483895913, -0.0000336516, 0.0225891974, 0.0618845783, 0.042597618, 0.0240404382, -0.0705399066, -0.0172348209, -0.0108986543, -0.0395197943, 0.0728535205, 0.0254998207, 0.0261288621, -0.016774701, 0.0037445331, 0.0620075874, 0.0385800153, -0.0817918256, -0.0107652545, 0.0154241463, 0.0413751304, 0.0014124388, -0.0206777137, 0.0040116692, -0.0361950994, -0.0303424802, -0.0284145288, -0.045257993, -0.0264758989, 0.0038337158, 0.0554087125, -0.0279792957, 0.0089761792, 0.0691983998, 0.0339512751, 0.0147980247, -0.0199339874, -0.0375289023, -0.0144632682, 0.0130742108, -0.0241560321, 0.0288687572, -0.0575013272, -0.0067578666, 0.0021910327, 0.0342899151, -0.0001787801, -0.0096448483, 0.0301651619, 0.0183931161, -0.0758925453, 0.0292746536, -0.0190512128, 0.046027597, -0.0198219866, 0.0491551273, 0.0088210395, -0.0527656563, 0.0188693479, 0.0376497544, 0.0214437004, -0.0484727211, 0.0153891025, 0.031597469, 0.0119620869, -0.0261696167, -0.0450518355, 0.0038663764, -0.0061860075, -0.0141870063, 0.0219772886, -0.0022118527, 0.0094775185, -0.0046075438, 2.67e-7, -0.0214892272, 0.0235200133, 0.0569445342, -0.0485768951, 0.0073229629, 0.0103271175, -0.0217250399, -0.0261651669, 0.002363123, 0.0481465943, 0.0060837204, -0.0231314506, 0.1510314643, 0.009406223, -0.0974028632, -0.0293984152, -0.0250898991, 0.0317191929, -0.0519883409, -0.0597339161, 0.0010337828, 0.1426789761, -0.0288760196, -0.0175735317, -0.0512639396, -0.0378681272, 0.0508854426, -0.0083321249, 0.0243524145, -0.0108100828, 0.0121603068, -0.0044093067, -0.0481080078, -0.0291752759, -0.0498341843, 0.0175649412, 0.0197316557, 0.0821164325, -0.0174960215, -0.0124297645, 0.0207751244, -0.0217710156, -0.0676857755, -0.0159192774, 0.0459856279, -0.0056179361, -0.0474727415, 0.0020129327, -0.0174565073, 0.018037796, -0.0247776564, -0.0485163517, 0.0146673974, -0.0046371217, 0.0375795029, -0.0481498577, -0.0434219241, -0.0318712741, -0.0217161775, 0.0072811111, -0.016900884, -0.0034001931, 0.0100045344, 0.0397679731, -0.0065283077, -0.0354521573, 0.030878691, 2.176499652e-34, 0.0363077186, 0.0070961462, 0.0426246114, 0.0054340339, -0.0033850519, -0.0355896316, -0.0071913446, 0.0130895292, -0.0035656202, -0.0216949005, -0.0183347035 ]
http://arxiv.org/abs/2406.19552v1
http://arxiv.org/pdf/2406.19552v1
Rethinking harmless refusals when fine-tuning foundation models
2024-06-27T22:08:22
2024-06-27T22:08:22
Florin Pop, Judd Rosenblatt, Diogo Schwerz de Lucena, Michael Vaiana
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we investigate the degree to which fine-tuning in Large Language Models (LLMs) effectively mitigates versus merely conceals undesirable behavior. Through the lens of semi-realistic role-playing exercises designed to elicit such behaviors, we explore the response dynamics of LLMs post fine-tuning interventions. Our methodology involves prompting models for Chain-of-Thought (CoT) reasoning and analyzing the coherence between the reasoning traces and the resultant outputs. Notably, we identify a pervasive phenomenon we term \emph{reason-based deception}, where models either stop producing reasoning traces or produce seemingly ethical reasoning traces that belie the unethical nature of their final outputs. We further examine the efficacy of response strategies (polite refusal versus explicit rebuttal) in curbing the occurrence of undesired behavior in subsequent outputs of multi-turn interactions. Our findings reveal that explicit rebuttals significantly outperform polite refusals in preventing the continuation of undesired outputs and nearly eliminate reason-based deception, challenging current practices in model fine-tuning. Accordingly, the two key contributions of this paper are (1) defining and studying reason-based deception, a new type of hidden behavior, and (2) demonstrating that rebuttals provide a more robust response model to harmful requests than refusals, thereby highlighting the need to reconsider the response strategies in fine-tuning approaches.
[ 0.0883635432, 0.0613142736, -0.0567947328, 0.0550131127, -0.0637316257, -0.0068606166, 0.0097512258, -0.0116251009, -0.0339730233, -0.025131721, -0.0272520687, -0.0245698988, 0.0284945536, 0.0339721367, 0.0389863998, -0.0120988134, 0.0424264222, -0.019572733, 0.0512382463, -0.0433707312, 0.0106558967, 0.0124421772, 0.0146834226, 0.0396776088, 0.0179965757, -0.0164717156, -0.020047199, 0.0027956793, 0.0029202197, -0.0285481624, 0.0118931327, 0.0465355068, 0.0318885334, 0.0397967771, 0.0000024425, -0.0752191842, -0.0076065552, 0.0120448461, -0.0624390319, 0.0311521869, 0.0060235308, 0.0008227074, 0.0068290611, 0.0139358696, -0.038559854, 0.0163032077, 0.0280048195, 0.049002111, 0.0251582824, 0.0491349474, 0.0180826746, 0.0037005332, -0.020062279, -0.0200684145, -0.016887987, -0.0452417172, 0.0197416246, 0.0054138191, -0.00397099, 0.0174860395, -0.0273565222, -0.0128889596, 0.0015910839, -0.0198582504, -0.0559877269, -0.0082012303, -0.0072976486, -0.0395033695, 0.0151863759, 0.0470046587, 0.0272844825, -0.0153215965, 0.0052563781, -0.0158051047, 0.0313742198, 0.0383478664, -0.0144061055, 0.046052441, 0.0126378117, -0.0363884903, -0.0063026194, -0.0069129835, 0.0292042289, 0.0295845456, 0.0398288667, 0.0346879773, -0.0386357754, -0.0364614539, -0.0217465293, -0.0078275688, 0.0367322564, -0.0825683996, -0.0641715229, 0.035059426, -0.0618853271, 0.0246213954, 0.004166598, 0.0941455364, 0.059049543, 0.0034287416, 0.0094069624, 0.0373846926, 0.0320465676, 0.0279565267, 0.029444648, 0.0055969767, -0.0495090261, 0.0412007011, -0.0051687248, 0.0284114797, -0.0055603473, -0.0328584611, -0.0144383162, 0.0256763548, -0.0182131268, 0.0037448118, 0.0146731287, -0.007897445, -0.070808731, 0.0300589614, -0.055246938, 0.0278786607, -0.0136876628, -0.0129684079, -0.0493695028, 0.0223751869, -0.0417412072, 0.0363243893, 0.0335985869, -0.058073882, -0.0311208665, -0.054961212, -0.0174244568, 0.0011412065, 0.0067410939, 0.0471639559, 0.0122597264, -0.0063018124, 0.005411298, -0.0476397797, -0.0160465483, -0.0856625587, -0.0036663227, -0.0391225219, 0.0005513598, 0.0247226674, -0.0188051276, -0.020516146, 0.0042798594, -0.0200980902, -0.0614615642, 0.0737242773, 0.0241086408, 0.0101861153, -0.0038125636, 0.0530624762, -0.0467995517, 0.0619003288, 0.0275290031, -0.0006086802, 0.0334057473, -0.0219742153, 0.0451195762, 0.0287574064, 0.0001574795, 0.012601993, 0.0245261416, 0.0177049115, -0.0142594101, 0.0168620218, 0.0007550936, 0.0127759119, -0.0401197784, 0.0230698735, 0.075725019, 0.0287311822, -0.0264388546, 0.0222342648, 0.0186230708, 0.0172554366, -0.0195429102, 0.045313254, -0.0525448993, 0.0261833929, -0.0246077757, -0.0096911518, -0.0557690188, 0.0281624477, -0.0105659142, -0.00408248, 0.0290933345, -0.0018875666, 0.0532715246, 0.0502686799, -0.0116390483, 0.0253820755, -0.0272731893, -0.0153281232, 0.0273596589, -0.0282255746, -0.0145099824, -0.070698157, 0.0475241728, 0.0521265045, 0.0601612292, 0.0174353682, 0.026015399, -0.0380937457, -0.0043923417, 0.0488231033, 0.0635692626, -0.0047266153, -0.0207207315, -0.0109150419, -0.0312060956, -0.0414713845, 0.0173449963, 0.0136039862, -0.0512738302, -0.0220628548, -0.006946262, 0.0187452529, 0.0004514992, -0.003488068, -0.0010629662, -0.0065744771, -0.0759289414, 0.0249608029, 0.0395059101, -0.0152193988, -0.0007552964, 0.00961373, 0.0225483608, 0.0260900054, 0.0124248983, -0.0030325479, -0.0430615321, 0.0298872441, -0.0016865318, 0.0093000056, -0.0102233747, -0.0191201214, 0.0056499043, 0.0145280976, 0.0434112698, -0.0014188573, 0.0348934084, 0.005466057, 0.0189243741, -0.0680453703, 0.0052475901, -0.0152900973, -0.0117149446, -0.0078063481, 0.0080335457, 0.0038804784, -0.0200250726, -0.0090439897, -0.0237379503, 0.0180885084, 0.0683059841, -0.002750695, 0.0104907313, 0.0435865708, 0.0018338735, -0.0293798726, -0.0294733364, -0.0434849635, -0.0555319898, 0.009609716, -0.0376345702, 0.0212691147, -0.0238917191, -0.0015729109, 0.0554554947, 0.0085718837, -0.0143846981, 0.0421685502, 0.0338785574, -0.0023704155, -0.0096985754, -0.0648444444, -0.0065852902, 0.0222000889, -0.0145913819, 0.0334986709, -0.0116392747, 0.0280827824, -0.0318743996, -0.028297225, -0.0479740985, 0.025306277, -0.0229746513, -0.0607843101, 0.0437379517, 0.0373733044, -0.0273353942, 0.0492882691, 0.0339339897, 0.0449760035, 0.0674916655, -0.0043684831, -0.0761716142, 0.0089794043, 0.016603075, -0.0085809631, -0.0551915541, -0.0677805543, -0.0260286983, 0.0521893725, 0.0222239867, 0.0275069084, -0.0567836873, 0.0754768997, -0.0258056447, -0.0593452863, 0.0331631452, -0.0817191079, -0.0395848081, 0.055120077, -0.0015436147, -0.0285174251, 0.0721112266, -0.024803631, -0.0127465306, 0.0317166001, 0.0398642272, 0.0127548017, 0.0892739519, -0.0175323617, 0.0059012389, 0.0926455259, 0.0372338369, -0.0583074838, -0.0816793144, 0.0744098574, -0.0453732908, 0.0218625721, -0.0495216027, -0.0105941463, 0.0157182384, -0.0150335263, -0.0288532525, -0.0471872464, -0.0294664763, -0.0043016565, 0.0132484194, -0.0079819383, -0.0073740389, -0.0351994485, 0.0569859296, 0.0139506469, -0.0122145507, -0.0026584852, -0.0151151698, -0.0355807841, 0.0352027677, 0.0265642218, 0.0779986382, -0.0179722123, 0.0559275933, 0.0157824829, -0.0414683893, 0.006110861, 0.0342635848, 0.0038615009, 0.0173966382, 0.0635606572, -0.0091142356, 0.0515788123, 0.0369718187, -0.0268138684, -0.0519180857, 0.063348338, 0.0044577532, -0.0069244006, 0.0507337339, -0.0379792266, 0.0642133206, 0.0376819149, -0.014224045, -0.070714809, 0.0029859622, 0.0217852835, 0.0071408176, -0.0815128163, -0.0438873507, -0.031069098, -0.1372417957, 0.0420251898, 0.0199398585, 0.0101476349, 0.0121652344, -0.0123042604, -0.0091345645, 0.0259414148, 0.0266685691, -0.0012574298, 0.0165219456, -0.0243184324, 0.0150502324, -0.0056228363, -0.0210793875, 0.0292829201, -0.0287734084, 0.0700569302, 0.0243880805, 0.0208241716, -0.0028215316, -0.036901556, 0.0277730748, -0.0013113637, -0.0017801531, 0.0157597288, -0.0040373253, 0.0040353043, 0.0163284782, -0.0028140654, -0.0185049903, 0.011826721, -0.0434035286, 0.044066187, 0.0720413476, -0.0029789021, -0.067054905, 0.0004276293, 0.0038162556, 0.0348490588, 0.0474677682, 0.0288205557, -0.0501067378, 0.0328420103, -0.036390461, -0.0355218798, 0.0143770473, -0.0568346083, -0.023417389, 0.0533213317, 0.0438129045, -0.0382202864, -0.0628168136, -0.0250148196, -0.0069734608, 0.0290951934, -0.0141065577, 0.0250417609, 0.0051826835, 0.0474665165, -0.0056851683, -0.0347467847, 0.0416395031, -0.0289996378, 0.0169467963, -0.0288262423, -0.0759560913, 0.0266461298, -0.0174177531, 0.0147534357, -0.0450212508, 0.0287470408, 0.069945462, 0.041873116, 0.0544909239, 0.029344013, -0.0042355633, -0.0560819283, -0.0030342392, -0.0441241711, 0.0425773598, 0.0523121282, -0.0161343943, -0.0066358293, 0.0221388862, -0.0262017269, 0.0060402243, 0.0455361977, 0.0202922411, -0.0382295772, -0.0482967943, 0.055414401, -0.0084027955, 0.0092108678, -0.0041760392, 0.0104966937, -0.0154463267, 0.000610977, -0.0281878076, -0.0359213166, -0.0288972147, -0.0589429177, 0.0199532639, 0.0174186416, 0.0193553288, -0.031555444, -0.0332189389, 0.0129774781, 0.0049588555, 0.0225831922, -0.0129936067, 0.0303501319, 0.0161469281, 0.0003914005, -0.0148885082, 0.0506736562, -0.0161320735, 0.0290936846, 0.0302020907, 0.1066502035, 0.0386365168, -0.025511397, -0.0357579477, 0.030241603, -0.0261914339, -0.0787207708, 0.0504589118, -0.0171129033, -0.0310088377, -0.0388802998, 0.0267007854, -0.0262845531, 0.0128324023, 0.0105498796, 0.0152861439, 0.021192776, -0.0747988969, 0.0461059548, 0.0218269452, -0.0319573469, 0.0088139242, 0.0219385065, -0.0356510952, 0.04951692, -0.0261247866, 0.0177325904, -0.0137388501, -0.0644809157, -0.006491248, -0.0041327025, 0.0010296169, 0.002395289, -0.1400558054, -0.0602420345, -0.0746106654, -0.0076194745, 0.027186906, -0.0872494355, -0.0186650008, 0.0417091139, 0.0072854911, -0.0025641059, -0.0308095049, -0.0023102106, 0.0188918542, 0.0157320257, -0.0318607129, -6.656679776e-33, 0.0129660685, -0.0440183431, -0.002960904, -0.0064050029, -0.0231502075, -0.012897986, -0.0257948004, 0.0174634326, -0.0600446574, 0.0030431878, -0.0410620049, -0.0188205056, 0.0010287514, -0.0232946705, -0.0046885968, -0.0078979461, 0.0247834772, -0.0102828834, -0.0658167228, -0.0111836651, 0.0038193818, -0.0262008365, 0.016006086, -0.0859633014, 0.0606294051, -0.0201363694, -0.0638519228, 0.0173334628, -0.0906548128, 0.0035544445, 0.0152634149, -0.0003626792, -0.004323625, -0.0416225754, 0.0235926826, 0.029936742, 0.0028163386, 0.0031010287, 0.0889786929, -0.0387089811, -0.004035979, -0.0226921886, -0.0124737015, -0.0027323705, -0.0398332626, -0.002849957, -0.0145800011, -0.0098052993, -0.0014194336, 0.0350091718, -0.0938798189, -0.0390622951, -0.0402296595, -0.0524835363, -0.0336106569, 0.0376690887, -0.022345107, -0.013049365, -0.058808919, 0.0339311808, 0.0251978859, -0.0357151553, 0.0376771726, 0.0184195861, 0.0277298503, 0.0654724613, 0.007233636, 0.0914721116, -0.0097115096, -0.0429491028, 0.0262627061, 0.0273118932, 0.0567411557, 0.0529922694, -0.0014334876, -0.0542702675, -0.0284496117, -0.0515637845, 0.0133983362, 0.0501186997, 0.0406485088, -0.0107953474, -0.0190073885, -0.0585904568, -0.0423300043, -0.0250802897, -0.0152350711, -0.0184684489, 0.0171649028, 0.0161083993, -0.0248511303, -0.0291753262, 0.0301513467, -0.0495217443, -0.0469236746, 0.0181497261, 0.0212207176, -0.0075019086, 0.0127511704, 0.0078193732, -0.0399246626, -0.0291037038, -0.020823352, -0.0054203793, 0.0416417979, 0.0403768234, 0.02938026, 0.0225539915, -0.0041637295, 0.0054445416, -0.0320969261, 0.0542776957, -0.0099627292, -0.0239321049, 0.0119578037, 0.0032011406, -0.0247909669, -0.0144390371, 0.0208096486, -0.0436378308, -0.0807827935, 0.0797612295, -0.0263579469, 0.0363549478, -0.0250902213, -0.0078602489, -0.033261653, 0.0305880792, 0.079294309, -0.0324077681, -0.0321441554, -0.0365975313, 3.198e-7, -0.0408573672, 0.0273129046, -0.0352235548, 0.0353540294, 0.0255529024, 0.0957588181, -0.009901423, 0.0226134621, 0.0579982251, -0.0528505035, 0.0144885955, -0.0047036926, 0.0268311277, 0.0230268054, -0.0355753414, 0.0176178254, -0.0598496981, -0.022404274, 0.0059304796, -0.0032169009, 0.0036563873, 0.0430779904, 0.0357072689, -0.0016386281, -0.0222476553, 0.0084687928, 0.0299899243, -0.0661379173, 0.0312697291, 0.0027406244, -0.0357920788, -0.051205188, 0.0223446935, 0.0296670832, 0.0192244407, 0.0317797549, -0.066248253, 0.0207543261, -0.0153108006, -0.0088813445, -0.0260622688, -0.0392668098, -0.0066701751, -0.0966465399, 0.0269578192, -0.0491389409, -0.0091309343, 0.0123692956, 0.0038914464, -0.0358141996, -0.0008684453, -0.0041066264, -0.0343631692, 0.0196152385, -0.0064484086, 0.0376689285, 0.0359336548, -0.0306783766, -0.0265332125, -0.0039244392, -0.0041896426, -0.0677201301, 0.0183821488, -0.0033848227, -0.0017589008, -0.0530171581, 0.0323387794, 2.955991537e-34, 0.0043641026, -0.0058907582, 0.0613313839, 0.019743979, 0.0838938802, 0.0271807648, 0.0236979462, 0.0178573895, 0.0357552134, -0.0029133817, -0.0380026214 ]
http://arxiv.org/abs/2406.19545v1
http://arxiv.org/pdf/2406.19545v1
Leveraging Machine-Generated Rationales to Facilitate Social Meaning Detection in Conversations
2024-06-27T21:47:42
2024-06-27T21:47:42
Ritam Dutt, Zhen Wu, Kelly Shi, Divyanshu Sheth, Prakhar Gupta, Carolyn Penstein Rose
cs.CL
cs.CL, cs.AI
We present a generalizable classification approach that leverages Large Language Models (LLMs) to facilitate the detection of implicitly encoded social meaning in conversations. We design a multi-faceted prompt to extract a textual explanation of the reasoning that connects visible cues to underlying social meanings. These extracted explanations or rationales serve as augmentations to the conversational text to facilitate dialogue understanding and transfer. Our empirical results over 2,340 experimental settings demonstrate the significant positive impact of adding these rationales. Our findings hold true for in-domain classification, zero-shot, and few-shot domain transfer for two different social meaning detection tasks, each spanning two different corpora.
[ 0.0377580598, 0.0394611955, -0.0210264437, 0.0649315715, -0.0123699475, 0.0193531699, 0.0153477741, 0.0114034843, 0.0087628234, -0.0275283288, -0.0168029461, -0.0159518514, 0.0206274316, 0.0557514988, -0.0014659601, -0.0555268005, 0.0181496721, -0.014439296, 0.0584865883, 0.0060253642, -0.0055721719, 0.0434147306, 0.007696318, 0.0539493859, -0.0047731288, 0.0047639497, -0.0208442155, 0.0180069096, 0.034190543, -0.0209190119, -0.0339248963, 0.0087347953, 0.0747293904, 0.0169764962, 0.000001701, -0.070973523, -0.0090151327, -0.0271237716, -0.068067871, -0.0223373361, 0.0299976524, -0.0162429772, 0.0078350417, 0.0018392963, -0.0563731901, 0.0511096269, 0.0325079709, 0.0553415231, 0.0434998386, 0.0429783165, -0.0309627019, -0.0338169709, -0.0312273819, -0.0236107074, -0.0187302101, -0.0719459876, 0.017613316, 0.0419308841, -0.0332107954, 0.032683935, 0.008037732, 0.0119339516, -0.0052383076, -0.0942278057, 0.0304782502, 0.0102568101, 0.0071222442, -0.0284220204, 0.0169211216, 0.0915624946, 0.0367867276, 0.0159969535, 0.0013907622, -0.0130114378, 0.0198590793, 0.0121183554, -0.0572905391, 0.0179492701, 0.0268721618, 0.0339606702, 0.0314369835, 0.019482635, 0.0288086105, 0.053805504, -0.022488663, 0.0529462583, -0.0131230876, 0.0304334536, 0.0311125815, 0.0184216965, -0.0244844295, -0.0634140149, 0.0120901847, 0.073194325, -0.0208339617, 0.0427934267, -0.0200444032, 0.0254850704, -0.0041309036, -0.0136568397, 0.0123241637, 0.0322280899, 0.0013060317, 0.082370162, -0.0189657658, 0.016761886, -0.0106362179, -0.0003300463, -0.008673328, -0.0557803176, -0.0533507057, -0.019654138, -0.0222672224, 0.0149130309, -0.0649081469, -0.0267627258, -0.0122427307, 0.0388924479, -0.0002590698, -0.0115780579, 0.0005398274, 0.0004009934, -0.0217700936, -0.024048334, -0.0195079446, 0.0404343754, -0.0424630046, 0.0247691087, 0.001840494, -0.0671309084, -0.0469112284, 0.0232413262, 0.0412039645, -0.0245852675, -0.0282489937, 0.0498349331, -0.0211330391, -0.0414333232, -0.0430036895, -0.0344598442, -0.0491177402, -0.0342079289, -0.0313299187, 0.0234858803, 0.0052233008, -0.001598719, -0.0001217957, -0.0474959463, 0.0233668052, -0.0282334145, -0.0208659917, 0.0443817563, -0.0224624984, 0.0303575359, 0.0209820196, 0.0391526148, -0.0471500903, 0.0497190394, 0.0223949123, 0.0293237325, 0.0475522615, -0.0363150872, -0.0048862523, -0.0072854245, -0.000009712, 0.0143634574, -0.0203150138, 0.0005584442, -0.0189897269, 0.0342991725, 0.0229536928, 0.02272995, -0.0261937696, -0.0173258968, 0.0576237477, 0.1012927964, 0.0165777039, 0.013746798, 0.0215271227, 0.0393044055, -0.0220490322, -0.0130770355, -0.0281692687, 0.0426606238, -0.0487907603, -0.0569513552, 0.00179219, -0.0020515376, -0.0095239123, -0.0267825648, 0.0106550995, -0.0241868645, 0.036532376, 0.0011214206, 0.051236026, 0.0057581984, -0.0302731842, 0.0082372883, 0.0297012273, -0.0527943745, 0.0039777867, -0.0627070367, 0.0639424771, 0.0724365264, -0.02016096, -0.0009481288, -0.0158168301, -0.0345813744, 0.0499632694, 0.0430291519, 0.0490765236, -0.0274541564, 0.0622472428, -0.0504206568, -0.0132538239, -0.0339605287, -0.0033025017, 0.0059350324, -0.0067114877, 0.0288280603, 0.039055571, -0.0323052369, 0.0061481828, 0.0222932771, -0.0419571251, -0.0176290497, 0.0321150012, 0.0255904999, 0.0151823089, 0.0501683354, 0.0167718753, -0.0183364898, -0.0043498492, -0.0275034811, -0.0412521139, 0.0603510961, -0.0934169143, -0.0235163905, 0.0096675167, 0.0024278595, -0.0689188465, -0.0203283932, -0.0339672193, -0.0355295911, 0.0398055129, -0.0264907368, 0.0147814797, -0.0327944085, -0.0256073289, -0.0201640557, 0.0498664491, 0.0084800599, 0.0527000688, 0.0438166484, -0.0680451915, 0.0359710082, -0.022754889, 0.0080465255, -0.0285405498, 0.0486284345, 0.0172360633, 0.0062517999, -0.0394620895, -0.015558132, -0.0201882962, -0.0569922887, -0.0135866432, -0.0624733008, -0.0073167216, -0.0089869294, 3.31e-7, 0.0300623327, 0.0231688321, 0.0169426855, -0.0043856748, -0.0499108844, 0.0404390171, -0.0204232559, 0.0001268381, 0.0362254567, -0.0123737538, 0.0054355972, -0.0396717452, 0.0112134647, -0.0185263027, 0.0906337202, 0.0221709218, 0.0276402757, -0.0619951971, 0.0157242082, -0.0380855538, -0.0073814136, -0.0166768283, -0.0339991413, 0.0191478413, -0.0117690889, 0.0146487486, 0.0907960534, 0.0513837636, 0.0606373921, 0.0164330583, -0.0381983407, -0.0803464651, -0.019223908, -0.0073712599, 0.0213788226, -0.0420794562, -0.0468699224, -0.0169693939, 0.0475735702, -0.014784202, 0.0141483592, -0.0763800517, 0.0311135687, 0.0082767243, -0.0429919437, -0.0431700274, -0.0521468781, 0.0034744304, 0.0568615161, 0.0016030356, -0.0202652775, 0.0770722628, -0.0233191624, -0.0425675996, 0.009976577, -0.0644229949, -0.0441821031, 0.0899807066, -0.0695959926, -0.0019611286, 0.0207928959, -0.0380000733, -0.0050807404, -0.0628346428, 0.0175359696, -0.0204290394, 0.0581922345, -0.0712215677, -0.0181016363, 0.012008084, 0.0069333948, -0.0207111891, -0.0662319288, -0.0555802733, -0.0066872854, -0.0511204563, -0.0199651942, 0.0343096294, 0.0095436871, 0.0157076921, -0.0194974374, -0.0065469192, -0.0064373966, -0.0028216655, 0.0078511257, 0.0455522686, 0.0488089398, 0.0135885132, -0.0098093897, 0.0909265578, 0.0127310557, -0.033266373, -0.0310203731, -0.0471654162, 0.0116162831, 0.0024370381, 0.0272105616, -0.0304937009, -0.0310104527, 0.1118189394, -0.0374921858, 0.0271608047, 0.1406316757, 0.0041574212, -0.0312793925, 0.002166661, -0.0673452988, 0.0104521783, 0.0269281901, -0.0042954129, -0.0466354862, -0.0666441023, 0.0160145648, 0.0078863166, 0.0106933462, -0.0479208343, -0.0188780706, -0.1133220494, 0.0245854612, -0.0178647842, -0.0167408381, -0.0060160598, -0.0373687074, 0.0352847464, -0.0150289275, -0.0042415522, -0.0500623845, 0.0095926328, -0.0051136957, 0.0092976913, -0.0006334433, -0.0331721641, 0.0512470081, 0.004610125, 0.040321216, 0.0211661998, 0.0792083815, 0.0201735739, -0.0339654461, 0.0332617722, -0.0044524972, 0.0091417683, -0.0182874631, 0.0573461428, 0.0008945434, 0.0052606664, -0.0183292646, 0.0451424308, -0.0292085372, -0.0259420015, 0.0026381887, 0.0432846472, -0.0027767308, -0.0304628294, 0.0191461109, 0.0279907882, 0.0277480278, 0.0745949, 0.0591723807, -0.0225412548, 0.01737413, -0.0098837139, -0.0175702237, -0.0364551507, -0.0305164661, -0.0086387377, -0.0112519404, -0.0336397141, -0.0421365798, -0.0248256586, 0.0180452894, 0.0174306463, 0.014054236, -0.0386398099, 0.0016351356, 0.0008410972, -0.0100640394, 0.0364335477, -0.0462391861, 0.031800583, 0.0409478731, 0.021285478, 0.0099672731, -0.0601609088, 0.003543302, 0.0020892636, -0.002621612, -0.0630340055, -0.0329676569, 0.0162761472, 0.024823077, 0.0524592698, -0.0097819511, -0.0248087794, -0.0088977413, -0.0363951996, 0.0032380263, 0.0012343661, 0.0722121894, 0.0234531891, 0.0119569357, 0.0510664061, -0.014071472, 0.0182944033, -0.0036753593, 0.023028357, -0.0388152115, -0.0483463481, -0.0126423705, -0.0160474274, 0.0260020662, 0.0277347416, -0.041552864, -0.0288487244, -0.0082905544, -0.0412322283, 0.0008974649, -0.0504298583, -0.0038642155, 0.0213178992, -0.0453734994, -0.0007128622, -0.0475180149, -0.0403319336, 0.0293242224, 0.0089483, 0.0171702765, 0.0130695477, 0.0143294996, -0.0039327112, 0.0075199264, -0.015330147, 0.0092032291, -0.0089845704, 0.0184129886, -0.0080333762, 0.0775541589, 0.0191075858, -0.0249882955, 0.0410193987, 0.0098518776, -0.0460943803, -0.0505726002, 0.0550215803, -0.0008625474, 0.0132126948, -0.0189600401, 0.0808468983, 0.0083581572, 0.0310025383, 0.0130519746, 0.1009316966, -0.0058665839, -0.049791988, 0.0112071391, 0.0007129281, -0.0364467874, 0.0196255874, 0.0485923067, -0.0765970424, 0.0312167183, 0.0237728916, -0.013502256, -0.0182178877, 0.0003014921, 0.0450324677, 0.0160863008, 0.0043020444, 0.0071229073, -0.046897281, -0.0579698235, -0.0036898421, -0.0445152782, 0.0028109739, -0.0039174701, 0.0084450636, 0.0706615821, -0.0131949279, -0.0213018116, -0.0387215875, 0.0463355519, -0.0417681746, 0.017163109, -0.0459221266, -5.945870097e-33, -0.0202555805, -0.0629386902, -0.0204813257, 0.0060543879, -0.0384394489, 0.0205201209, -0.0947361365, -0.0022466537, -0.015374843, 0.0550241955, 0.0022823401, 0.0625986531, 0.0051438711, 0.0119718937, -0.0137075111, -0.0314363651, 0.0304732937, 0.0311663337, -0.0228044037, 0.031768471, 0.0382389389, -0.0016190493, 0.0472370908, -0.0861979723, 0.0334546715, 0.0481727049, 0.0032329645, 0.0466549844, 0.0413278751, 0.0242348388, -0.0135228969, 0.0462017469, 0.020628782, -0.0292807147, 0.0028986433, 0.080605574, -0.0587902963, -0.0339003131, 0.0501950197, -0.0194496568, -0.0434350148, -0.0594781376, -0.0029724033, -0.0152405966, 0.0030974306, -0.0284583047, 0.0337940156, -0.0167808644, 0.0053229397, -0.0013624107, -0.0499530174, 0.0230486207, -0.0757426098, -0.0448184796, 0.0236031935, 0.0253055561, 0.0384845659, 0.0104181226, 0.0074631921, 0.038537804, -0.0321303904, -0.0364584886, 0.0265217051, -0.0134626096, 0.0157232024, 0.0636983439, -0.0138349561, 0.009905112, -0.047398638, -0.030902911, 0.0036279364, 0.0146646714, 0.0501364246, 0.0482931174, -0.0072075892, 0.0008324462, -0.0795396343, 0.0125605231, -0.0056691072, -0.0001176008, 0.0232057814, 0.0292345788, 0.0128248241, 0.0081240125, -0.0170638748, 0.0071248468, -0.0196876302, -0.0359651074, 0.0023430814, -0.0245111138, -0.046351064, 0.0147341657, 0.0494231582, -0.04538, 0.007606952, 0.0260327011, 0.0066959341, -0.0155237131, 0.0230378471, -0.0113922292, -0.0106462426, -0.0245207492, 0.0418887362, 0.0133908624, 0.0437060148, 0.0069492469, 0.029948689, -0.0155360736, 0.0063398075, -0.0101589989, -0.0408777595, 0.0020732447, -0.057014659, 0.0371731594, 0.0111271637, 0.04471099, -0.0400018506, 0.0249140002, 0.0043480657, 0.0250663776, -0.0188331641, -0.0251975674, 0.0262725279, 0.0185148846, -0.0768672451, -0.0377585478, 0.0043907147, -0.0376463309, 0.0463523455, -0.0217195507, -0.0321576931, -0.0415581316, 2.503e-7, 0.0103596784, 0.0560317039, 0.0175308492, -0.0013689349, 0.005700157, 0.0609744862, 0.0190179124, 0.0146315424, 0.0083944127, -0.0348173045, 0.0193362217, 0.0412798114, 0.054104358, 0.0197368171, -0.0473330021, -0.0265556239, -0.0244288538, -0.0429947264, -0.0058718477, 0.0131167453, 0.1165254638, 0.0341876335, 0.0520140082, -0.0076108589, 0.0060124532, -0.0417222977, 0.0406537503, -0.0510709211, 0.0136148911, -0.0058653005, 0.0084521687, -0.0323772952, 0.0114789912, 0.0104951272, -0.0094897384, -0.0121326922, -0.0227319039, 0.0785508156, -0.0416744761, -0.0381652564, -0.0573520362, 0.0060305013, 0.031457305, -0.0309902318, 0.0565871112, -0.0563511923, -0.0833658203, -0.0318160802, -0.0225721672, -0.0609425902, 0.0019718204, 0.018849479, -0.007868452, 0.0167654343, 0.0107760057, -0.0003975896, -0.0002411993, -0.1006931439, 0.0148476744, -0.0250930209, -0.0328806825, -0.0185587611, -0.016023552, -0.0070571215, 0.0406032652, -0.0442659631, 0.0248127356, 1.747394508e-34, 0.019783929, 0.0255610347, 0.0301639084, 0.0400351398, 0.082183443, 0.03021775, -0.046582669, -0.0090611065, 0.0804496631, -0.0506027192, 0.0129644107 ]
http://arxiv.org/abs/2406.19543v1
http://arxiv.org/pdf/2406.19543v1
Demarked: A Strategy for Enhanced Abusive Speech Moderation through Counterspeech, Detoxification, and Message Management
2024-06-27T21:45:33
2024-06-27T21:45:33
Seid Muhie Yimam, Daryna Dementieva, Tim Fischer, Daniil Moskovskiy, Naquee Rizwan, Punyajoy Saha, Sarthak Roy, Martin Semmann, Alexander Panchenko, Chris Biemann, Animesh Mukherjee
cs.CL
cs.CL, cs.SI
Despite regulations imposed by nations and social media platforms, such as recent EU regulations targeting digital violence, abusive content persists as a significant challenge. Existing approaches primarily rely on binary solutions, such as outright blocking or banning, yet fail to address the complex nature of abusive speech. In this work, we propose a more comprehensive approach called Demarcation scoring abusive speech based on four aspect -- (i) severity scale; (ii) presence of a target; (iii) context scale; (iv) legal scale -- and suggesting more options of actions like detoxification, counter speech generation, blocking, or, as a final measure, human intervention. Through a thorough analysis of abusive speech regulations across diverse jurisdictions, platforms, and research papers we highlight the gap in preventing measures and advocate for tailored proactive steps to combat its multifaceted manifestations. Our work aims to inform future strategies for effectively addressing abusive speech online.
[ 0.0810907036, 0.0179698858, -0.0273439921, -0.0405091085, -0.019175211, -0.0075601968, 0.0776432157, 0.0165365338, 0.0109686246, -0.042560745, 0.0135994824, -0.0367081985, -0.0224021487, 0.0577087402, 0.0017822324, -0.0869085342, 0.0236478355, 0.0260671545, 0.015906496, 0.0303449687, 0.0819730386, 0.0008363592, -0.0166269168, 0.0216955561, -0.029060265, 0.0161416885, 0.0669409931, -0.0350568779, 0.0120673003, -0.0275487211, 0.0373578854, 0.0049090167, 0.0102820825, 0.0546493493, 0.0000018261, -0.0726835802, 0.0248423889, -0.0192881953, 0.0195789877, -0.0151001569, 0.0399907045, -0.0638909116, -0.0139331277, 0.0564032458, 0.0035420966, 0.0014660713, 0.0038932748, 0.0423188023, 0.0802291781, 0.0321494862, -0.0202901848, -0.0446563959, 0.0342061818, 0.0184610765, -0.0472359732, 0.0372231305, 0.0247359015, -0.020496048, -0.0274958573, -0.0353923365, 0.0447202921, 0.0274188053, 0.005872007, 0.0034710299, -0.0002373562, -0.0390736572, -0.0377779827, -0.0739422143, 0.0204369463, 0.030155044, -0.0116403298, -0.0123897651, 0.0030487454, -0.0097674746, 0.003061346, 0.0069127274, -0.0291033331, 0.0334982872, -0.0250162631, -0.0029391879, -0.041439686, 0.0822235048, 0.0326523371, 0.0824078843, 0.0404998474, 0.004709098, -0.0338165201, -0.0433581248, -0.0070549399, -0.0524309911, -0.0168273523, 0.0230074562, 0.0493082069, 0.0062480611, -0.036980059, -0.02498555, -0.0118348002, -0.0868695304, 0.0319379233, -0.0755879357, -0.0067376993, 0.0334521867, -0.0227688383, -0.0301022343, 0.0130422451, 0.0223229583, 0.0096887788, -0.0164776407, 0.0255411677, 0.0334474109, -0.0005226783, 0.0412445925, 0.0058024703, -0.0204005949, -0.0000054279, 0.0463468805, -0.0398092233, -0.0121959411, -0.0780296698, -0.0216940641, -0.0132749658, 0.0064661317, 0.0113039436, 0.0190540198, 0.0135602485, -0.0035264089, -0.0575188473, 0.0197764523, -0.0574718937, -0.0338323712, 0.0406675301, 0.0081634028, -0.0257969964, -0.0080594718, 0.029727323, 0.0867391974, 0.0302859098, -0.0029752925, -0.0061267731, -0.0627233684, -0.0003422507, -0.0209520869, 0.0060359966, -0.0433239825, 0.0025973951, -0.0254405197, -0.025502082, -0.0602427796, 0.0085935565, -0.0009287333, -0.0182474442, 0.0218362939, -0.0339186266, 0.0115319565, 0.0406908169, 0.0441461876, -0.0113623152, -0.0092986496, -0.0034982222, 0.0172777213, 0.0529764034, -0.0093355477, 0.0193122141, 0.031254448, 0.0223525912, -0.0081290361, -0.027235141, -0.0069888271, -0.0395298302, -0.0589218326, -0.0106843878, 0.0037599632, -0.0198033117, -0.0126708364, 0.0709834024, 0.0253074691, -0.0395430215, 0.0080313561, 0.0064802975, 0.0057706479, -0.0235502347, -0.0541755036, -0.0439740419, -0.0582157411, 0.0014733792, -0.0361847915, 0.0312652811, 0.0566932112, 0.0213940013, -0.0477130972, -0.0011357074, 0.0116375415, 0.080106467, -0.0001918878, 0.0039616693, 0.0105645079, 0.0302793197, 0.0037286812, 0.0045853858, 0.0019749978, 0.0180162285, -0.020682482, 0.0126489978, 0.0310361478, -0.0023925006, 0.0183278061, 0.0081010507, -0.0735833645, -0.0010666366, 0.0332735777, -0.0457580723, 0.0112249935, 0.0100969924, -0.0180484578, -0.0359001197, 0.0270571057, -0.0192126688, -0.0496597439, 0.0510489903, -0.0171974562, -0.017258551, 0.0622654669, -0.0294651389, -0.007704963, 0.0614270344, -0.0257361382, -0.0285770502, 0.0122196926, 0.0539900847, 0.0407857336, -0.0203762185, -0.030450739, 0.044760678, -0.0034218801, -0.0095375748, -0.0079275472, -0.0315317921, 0.0722995326, 0.0483353622, -0.0323657095, 0.0036639022, 0.0333735384, 0.0298042446, 0.0616705082, 0.0627988726, 0.0017027044, -0.0428181998, -0.0019160721, -0.0419715494, -0.0559562147, 0.0046383953, 0.0231202748, 0.0320382006, -0.0478658304, 0.0203134064, 0.0349191576, -0.0718944594, 0.0568667017, 0.0729297549, -0.0392630696, -0.0346156396, -0.0854719207, 0.0317534506, 0.0237840191, 0.0182576645, -0.0276202746, 0.0372874737, -0.0216317624, -0.0156301055, -0.0048948443, -0.0092282724, 0.0564919747, 0.0293786898, -0.0208477434, 0.0054968102, 0.0214056894, -0.1152715012, 0.031778425, 0.0170278531, 0.0104170879, -0.0345243402, -0.0646537095, 0.000745628, 0.0089550065, -0.0226288568, -0.001488894, -0.0186528787, -0.1090833098, 0.0604193918, 0.0161789954, -0.0493130274, 0.0156633854, -0.013097804, -0.025611531, 0.0458464064, 0.0240531508, -0.0215844139, -0.0208801702, 0.0779343769, 0.0538679622, 0.052302558, 0.0317879915, -0.0150412526, -0.0175781269, -0.0064490149, 0.0324980952, -0.0017480023, -0.0396345817, -0.0121957408, 0.0352985859, 0.0413223356, 0.0051828907, -0.0080268541, 0.0147819705, -0.0488547385, -0.0452158675, -0.0907698125, -0.0502590612, -0.0305321775, 0.0149905384, 0.0024962416, -0.0591772161, 0.0002387972, 0.0323062316, 0.0535896681, 0.0040754261, -0.05242889, 0.026311243, 0.0297212265, -0.0170945469, 0.0535763577, 0.0057156798, -0.0120569803, 0.0774365142, -0.0537229553, 0.0818558112, -0.0196159687, -0.0523472875, -0.0171000995, -0.0039440095, 0.0104079135, -0.03821164, -0.0163332559, -0.0495795496, -0.0114827985, 0.0274638645, 0.0046215784, 0.019841237, -0.033999905, 0.0313171186, 0.0552323088, 0.0136180539, 0.029363744, -0.0012188669, 0.0192140881, -0.0319154337, -0.0290310662, 0.023613153, 0.029279314, 0.0174027439, -0.0304792766, 0.0833686963, -0.0538449362, -0.0367510617, 0.0536763743, 0.0586187989, 0.0193626694, 0.0165791176, 0.0141878072, 0.0136968596, 0.029085245, 0.0036558888, 0.0054344377, 0.0386354923, 0.0225616172, 0.0125923511, 0.0011113732, -0.0150322067, 0.0218546893, 0.0107223615, -0.0401514992, -0.0849569291, 0.018474767, -0.0102742901, 0.0352583975, -0.1012464091, -0.0165595766, -0.0305556208, -0.0105279787, 0.0317835324, -0.0025761093, -0.0210453551, -0.0291784666, 0.0110866288, -0.0019481712, 0.0170529969, 0.0619020686, -0.0460259728, 0.0068829027, -0.0077863396, 0.0099440068, -0.0761747435, 0.0150917992, -0.0204407685, -0.0662624314, 0.0596854873, -0.0191862937, 0.0426124111, -0.0217232928, 0.0235346258, 0.0107043777, -0.0201416425, -0.0207426511, -0.0042472943, 0.009296271, 0.0258870404, -0.0015761449, -0.043687284, 0.0610053651, 0.0261168927, -0.0644694641, 0.0020423126, 0.0437601134, 0.0515971221, -0.0019639577, -0.0336426497, 0.0429008752, 0.0200435854, 0.0421220362, 0.0216488875, -0.0418556482, -0.0039643347, -0.0746012405, -0.0120880473, -0.004577891, -0.0913882181, -0.0247596409, -0.017948417, -0.0312535726, -0.0148342755, 0.0286786295, -0.041226469, 0.0111310724, 0.030475419, -0.0185780171, 0.017814666, -0.017148314, -0.0120407678, -0.0197723843, 0.0342069231, 0.0635156706, -0.0369060375, 0.0492078625, -0.0570555665, 0.0183439683, -0.0397914127, 0.0474930443, 0.0058617825, -0.0245825555, 0.0924086794, 0.0346528329, 0.0190563127, -0.0059170462, 0.0048025646, -0.0439964421, 0.0368317664, 0.0513893887, -0.032976713, -0.0147335138, 0.0897673368, -0.0045282152, 0.0087490696, -0.018836081, 0.0209256876, 0.0220992509, 0.0490209945, -0.0283199642, -0.0397333391, 0.0262982603, -0.0147441998, 0.0022787875, -0.0117145972, -0.0532689318, -0.0813847035, 0.0029227932, -0.049193576, 0.0302570648, -0.0371531174, 0.0103021506, 0.0287054591, 0.0032544485, 0.0007296905, -0.0354677029, 0.0572587363, -0.0594181754, -0.0132919177, -0.0736421794, 0.0028373327, 0.0010025623, 0.0085851057, 0.0034712176, -0.016402293, 0.007848694, 0.055389002, 0.0129751405, -0.0118873334, -0.0212834254, -0.0056363614, 0.0060606892, 0.0283192322, 0.0012382308, 0.0001667056, -0.0121019753, 0.0034205916, -0.0152336909, -0.0226861872, -0.019353494, 0.0112088919, 0.0534485057, 0.0650352761, -0.011892044, 0.0322906412, -0.0220160615, -0.0654249862, -0.0516788661, -0.0272338409, 0.00752716, -0.026281761, 0.0671185032, -0.0023589262, -0.0383083001, 0.0483067594, 0.0603064261, -0.0545965433, -0.0057560643, -0.0180024132, 0.0058640884, 0.0433052331, -0.0081248768, 0.0007203517, -0.03874157, -0.0219109505, -0.003911349, -0.0537416004, 0.0319851264, -0.0269449297, -0.0172609612, -0.0035767353, -0.0037458008, -0.0262541752, -0.0298750997, 0.0066922838, 0.0203604661, -0.0686878189, -0.0059750248, -5.195153119e-33, -0.0010388963, -0.0112742828, -0.0249040779, -0.0255772695, -0.0158854835, -0.0487678312, 0.0344117172, 0.0135406209, -0.0040225205, 0.0297226869, 0.013669135, -0.0155275743, 0.0027152528, -0.0113154342, -0.0386848524, -0.0305073205, 0.010824495, -0.0450835973, -0.0072355405, 0.0301262848, 0.0658538416, -0.0153115438, -0.0238087177, -0.1219715253, 0.0452356301, 0.0294272415, -0.0644938946, 0.0246294215, 0.0129309483, 0.0693964884, -0.0278890152, 0.06171358, 0.025156321, -0.0376899987, 0.0109347971, 0.0846437588, -0.0472091585, -0.0043123448, 0.048396986, -0.0040006358, 0.0478932783, 0.0031334565, 0.0315770581, 0.0049040606, -0.049897559, -0.0101506403, 0.0051205736, -0.0130180065, -0.0201013051, -0.0802904293, -0.0452436768, 0.0018781706, -0.063502863, -0.0018660437, -0.0140376883, 0.0479726531, 0.0092034293, -0.0071836035, -0.0789647549, 0.0512253642, -0.005471346, -0.0305412691, -0.0143833207, -0.0373776816, 0.0003369114, 0.0568792373, -0.0066077467, 0.0168871544, -0.0127877947, 0.0142035093, 0.0437458344, 0.0440737307, 0.0241473392, 0.0361658484, 0.0263734143, -0.087133266, -0.0636796057, 0.0101876007, 0.0449782722, 0.0288368035, -0.0082560815, -0.0216718428, -0.0247400403, -0.0537630692, -0.0139926681, -0.0851889327, -0.0204453804, -0.0071653579, 0.0205917954, -0.0153591316, -0.0126814879, -0.0393531546, 0.0402951278, -0.0248334631, -0.0114245079, 0.0235417094, -0.0091630016, 0.0393706784, 0.0636643246, -0.005167291, -0.0126307392, -0.0314851627, 0.0163353756, -0.0126181021, 0.0467448793, -0.0466548987, 0.058425162, 0.0395337753, -0.0366560929, 0.0057701152, 0.0163269322, 0.0924248919, -0.0057258741, 0.0716051757, -0.008769705, 0.0446673222, 0.0061141849, -0.0265235305, 0.0341576338, -0.0297976639, 0.0005590231, 0.0164281856, -0.0182773881, 0.0025858502, 0.0092755016, 0.0143243792, -0.0335893519, -0.0051940242, 0.0390487686, -0.0465142429, -0.005381864, -0.0595809743, 2.598e-7, -0.0187651869, 0.0118596889, -0.0068531586, 0.0250640605, 0.0353966616, 0.0383674391, 0.0775797591, 0.0155281126, 0.0012862675, -0.0138862748, -0.021677861, 0.0006688306, 0.0014530635, 0.0455739722, 0.0045126928, -0.034299925, -0.0753992423, -0.0110913143, -0.0263059158, 0.0284036156, -0.0143842073, 0.0359008908, 0.0171063468, -0.0271823779, -0.0287413467, -0.0119319316, -0.0278918501, -0.0711002052, 0.0072240154, -0.0256182849, 0.0604743995, 0.0153372576, 0.0409260876, -0.0348089002, 0.0101333559, 0.0206375979, -0.001469981, 0.074318476, 0.0471670292, 0.0402897932, -0.012274405, -0.0332479142, 0.0360856988, -0.0389864258, 0.0384550318, 0.039750021, -0.025654858, -0.026192829, -0.0184597578, -0.0530771948, 0.0576881655, -0.0348836109, -0.0481936075, -0.0145942597, 0.060657423, -0.0042553381, -0.0032668719, -0.0288517028, -0.023295505, -0.0069166874, 0.002948866, -0.0190445911, 0.0009829036, -0.0010241243, -0.0070192888, 0.0275110342, 0.0576307662, 2.187733658e-34, -0.0005821363, -0.0265462119, 0.0125249308, -0.0504472367, 0.0157749914, 0.0107207671, 0.0163934678, -0.0156703182, 0.0535150841, 0.0007730148, 0.0200166609 ]
http://arxiv.org/abs/2406.19538v1
http://arxiv.org/pdf/2406.19538v1
Context Matters: An Empirical Study of the Impact of Contextual Information in Temporal Question Answering Systems
2024-06-27T21:31:30
2024-06-27T21:31:30
Dan Schumacher, Fatemeh Haji, Tara Grey, Niharika Bandlamudi, Nupoor Karnik, Gagana Uday Kumar, Jason Cho-Yu Chiang, Paul Rad, Nishant Vishwamitra, Anthony Rios
cs.CL
cs.CL
Large language models (LLMs) often struggle with temporal reasoning, crucial for tasks like historical event analysis and time-sensitive information retrieval. Despite advancements, state-of-the-art models falter in handling temporal information, especially when faced with irrelevant or noisy contexts. This paper addresses this gap by empirically examining the robustness of temporal question-answering (TQA) systems trained on various context types, including relevant, irrelevant, slightly altered, and no context. Our findings indicate that training with a mix of these contexts enhances model robustness and accuracy. Additionally, we show that the position of context relative to the question significantly impacts performance, with question-first positioning yielding better results. We introduce two new context-rich TQA datasets, ContextAQA and ContextTQE, and provide comprehensive evaluations and guidelines for training robust TQA models. Our work lays the foundation for developing reliable and context-aware temporal QA systems, with broader implications for enhancing LLM robustness against diverse and potentially adversarial information.
[ 0.0437905528, 0.0528091639, -0.0149567518, 0.0401325636, -0.0161260702, -0.006660413, 0.0216991007, -0.0120365387, -0.0228239205, -0.0579785965, 0.0032510862, -0.0565421171, -0.0117961122, 0.0133752562, -0.0144053837, -0.0501104183, 0.0681111962, -0.0090121981, -0.0132533554, 0.01555603, -0.0026838183, -0.0058644935, -0.0123056406, 0.0274889655, 0.0133050643, -0.0387377255, -0.0214230698, -0.0309299603, 0.0449607633, -0.0214626435, 0.02920454, 0.0334019475, 0.0225022323, 0.0386294425, 0.0000017499, -0.0144030955, -0.0069734668, -0.0205230415, -0.0329845659, 0.0376481637, -0.0149573637, 0.0144092981, 0.0120056421, 0.0091305701, -0.0713632926, 0.0205093883, -0.0063000452, 0.0276265871, 0.046794273, 0.0569570214, 0.0043056663, 0.0124590928, 0.0173054356, -0.0230478719, 0.0142747937, -0.1023910344, -0.0026044305, 0.0092906449, 0.0250838529, 0.036164429, -0.0041594403, 0.0261623729, 0.0343092531, 0.0266024377, -0.0143357515, 0.031286709, -0.0316645987, 0.0650465712, -0.0295880008, 0.0674733073, 0.0453704558, -0.0261189099, -0.0110639306, 0.0209659562, -0.0169655196, -0.0525590889, -0.0516404137, -0.022159325, 0.0131749548, 0.0001988563, -0.0013223507, 0.040707875, 0.0132785859, 0.0427009799, 0.0037861771, 0.0773556456, 0.0039966926, -0.0281990375, -0.0778717175, -0.0209869277, -0.0113322111, -0.0413044989, 0.0001235589, 0.0925321132, -0.010844063, 0.0160521772, -0.0021241643, 0.0229629017, 0.0267066564, -0.0444746129, -0.0670963153, 0.0416658297, 0.0007588298, 0.0642252713, 0.0114041539, 0.0482608974, -0.0227563698, -0.0015826666, -0.0337283835, -0.0291096978, -0.029514173, -0.0184948109, -0.0102388347, 0.0108541595, -0.0496399216, 0.0118421195, -0.0457007661, 0.0660229921, -0.0088718971, -0.0218678061, -0.0253418013, 0.0607468039, -0.0201558731, -0.00748744, -0.032082662, 0.004269043, -0.065267995, 0.0232677571, -0.019284239, -0.0616433807, -0.0305140037, -0.0069510522, 0.0179184303, -0.0591274984, -0.0215110164, 0.0479464941, -0.0264670458, -0.0413431115, -0.0523318909, -0.0158023834, -0.0016821256, -0.0206876472, -0.0394477658, -0.0268321633, 0.0203433856, -0.0066753123, -0.020649394, 0.0003495724, 0.002915239, 0.0345622972, -0.0052195513, 0.0786193162, 0.0378718041, 0.0006658476, 0.0261902791, 0.0176485535, 0.0421368293, 0.0410191081, 0.0294650644, -0.0272128936, 0.0560399815, 0.0217822101, -0.0264288988, 0.008682711, 0.0232907329, 0.0068120332, -0.0544065535, 0.063405551, 0.0056399899, 0.0153532848, 0.0034673116, 0.0229928829, -0.0197594799, -0.0531424694, 0.0325893685, 0.0161383767, -0.016338991, -0.0188535191, 0.0446193218, -0.0274640471, 0.0053895842, -0.0154494736, -0.053523872, 0.0134402821, -0.0521289185, 0.0169381555, -0.0189822037, 0.0072870874, -0.0498223007, -0.0283502471, -0.026120523, 0.0076755513, 0.0054371622, 0.0356048308, 0.019310711, 0.0061169523, -0.0375601016, 0.0342920497, -0.0101599544, 0.0163343847, -0.0191854164, -0.0114488127, 0.0454695188, 0.0695065111, 0.0439366624, -0.0600212067, -0.0462112315, -0.0155845517, 0.0549248755, -0.0056239786, 0.0520275049, -0.0442778021, 0.0356456824, -0.0105188973, -0.0253750887, -0.0242876131, 0.0105932485, 0.01007077, 0.0779320747, 0.0509854332, 0.0048003034, -0.042305287, 0.0492823012, 0.03444295, -0.0158622731, -0.0696186721, -0.0100917807, 0.011469081, 0.0084869266, 0.0230263304, 0.0043557142, 0.0068771178, 0.0504711643, -0.0137923397, -0.0007911613, 0.035733901, -0.0668772832, -0.0660647154, 0.0444730669, 0.0551471598, -0.0586986654, 0.0369827822, -0.0432529822, -0.0177824497, 0.0396714434, 0.0105080847, 0.0252509806, -0.0380325653, -0.012565136, 0.0151487049, 0.020620333, -0.0626123324, 0.0759371594, -0.0204307772, 0.0116797118, 0.0277620014, 0.0647960901, 0.0099088773, -0.0505560972, -0.0140562644, 0.0000811814, 0.0030745401, -0.0141965644, 0.0020885686, -0.005833928, -0.0600017346, 0.0210220646, -0.0999262556, 0.0208066441, -0.033548452, 0.029837681, 0.0233478919, 0.0118746804, -0.0047245058, -0.0503280014, -0.0269969739, -0.0273491405, 0.0030324841, 0.0307065658, 0.0495348312, 0.0506753586, 0.0012495518, -0.0637722015, -0.0301188566, -0.0384599492, 0.0717419833, -0.0097761936, -0.0108003886, 0.0024006621, -0.0145351095, -0.0287279431, 0.0621989071, -0.0241914932, 0.006423655, 0.0218262747, -0.0110733556, 0.0107359057, 0.0683463812, 0.0297616012, 0.0365708023, 0.0415382683, 0.0043920907, -0.0405876301, 0.0621438585, -0.0260930452, -0.0011803716, -0.0149401594, -0.0185675882, -0.0216689855, 0.0528543368, -0.0020755918, 0.0110393232, -0.0376105011, 0.0295247845, -0.0119670043, -0.0035805486, -0.0633874014, 0.0174750555, -0.0461311787, 0.0290574729, -0.0358147062, -0.012736178, 0.064432852, 0.0182344224, 0.0035914439, -0.0022600042, -0.0382382199, -0.0646295473, 0.0880570933, -0.029786475, -0.0153095527, -0.0100147976, -0.0233637784, -0.0581185855, -0.0442848764, 0.0133444229, -0.0344083495, 0.005533387, -0.0344258882, 0.0180387255, -0.0080367979, -0.026976971, -0.0787488893, -0.0719032437, -0.030880332, 0.015775023, -0.0752906576, 0.0196138471, -0.006781748, 0.0218876321, -0.0283901356, 0.0340508111, -0.0312808305, -0.0208517276, -0.0010798734, 0.1113969386, 0.0806174502, 0.0497648381, 0.0212121848, 0.0025006493, 0.0326209888, 0.0348148979, 0.09081278, -0.0433355793, -0.0390826799, -0.0001003847, 0.0047163879, -0.0364717916, 0.0085097291, 0.0205628984, 0.0372833386, -0.051531788, -0.0297793318, 0.1033854187, 0.0640237257, 0.0073189116, 0.0059072035, -0.0114889098, -0.0011615216, 0.023546556, 0.0268268734, -0.0828660056, -0.0353986956, -0.0193557553, 0.0092689022, -0.0164931882, -0.0309787001, -0.0204502791, -0.0816263929, -0.0188452248, -0.026513895, -0.0520331971, -0.0066445209, -0.0105401017, 0.0108581018, -0.0154995443, 0.0458148196, 0.0264757331, -0.0115775717, -0.004994737, 0.012329773, -0.0055497205, -0.0487264581, 0.0669360086, 0.0230622552, 0.0519602671, 0.0351106152, 0.0253984481, -0.0021363683, -0.0160130542, 0.0407780223, -0.0460946709, 0.0035091732, 0.0071622613, 0.0139312809, -0.0299463067, -0.0122957276, -0.0105187921, 0.0100606093, -0.0048754285, -0.0334323198, 0.0219794922, 0.0777668953, -0.021123182, 0.018054245, -0.0280167945, -0.00701534, 0.0176471658, 0.0599356741, 0.0054499577, -0.0178362634, -0.0846702904, -0.0081519429, -0.0275609065, -0.0821647048, -0.0176596884, -0.0130404765, 0.0131057492, 0.0278325118, -0.0815041661, -0.0681117177, -0.019889731, 0.0070010363, -0.0365029722, 0.0086658262, -0.0435467511, 0.027642997, -0.0732103214, 0.0535449795, -0.0095803058, 0.0129799461, -0.0239580777, 0.0209564008, 0.0174638107, -0.0105336215, -0.016776409, 0.0299171992, -0.0920341089, -0.037698321, 0.000181931, 0.0028011845, 0.0126484772, 0.0632762238, -0.0293998905, -0.0225929413, 0.0376171134, -0.0026912154, -0.0133432243, 0.0095602013, 0.0341397561, 0.0286827721, -0.0082570734, 0.0385464542, -0.07951314, -0.003717253, -0.007966416, 0.0623635389, -0.0556207746, -0.0073411283, 0.0106371436, -0.058945138, 0.0171461906, 0.0335102156, -0.0237003099, 0.0103544956, 0.0134458235, -0.0321153104, 0.0058102245, 0.0084717143, 0.0242982712, 0.0015257309, -0.02044609, -0.0219986588, 0.000780268, -0.00703261, 0.0438618585, -0.0382382274, 0.0067807441, 0.020297002, -0.0055578989, -0.0117654586, 0.0013839279, -0.0295835659, 0.0222571157, -0.0067799073, 0.0458631292, 0.0038908359, 0.0320626497, -0.0052368883, -0.0125232888, -0.0332567506, -0.0013425255, -0.1343859732, 0.028090192, -0.0006507303, -0.0103249988, 0.0487963781, -0.0314642079, 0.0217246916, 0.0041735806, -0.0174456947, -0.000487365, -0.023835618, 0.0423497371, 0.0004889708, 0.0439386591, 0.0470115878, 0.003036079, 0.0697274953, 0.0757045969, 0.0186780244, 0.0552433468, 0.016000323, -0.026691556, 0.0004121675, -0.0125776334, -0.0484962799, 0.0238057617, -0.0204073694, 0.013350388, -0.0550541691, -0.0535306782, 0.0444367081, 0.0000433387, -0.032236252, -0.0062906626, 0.0174381025, 0.0384347476, 0.0657924563, -0.0240345206, -0.0372525863, 0.0566983297, 0.028126793, -0.025396606, -0.0679955855, -6.258945385e-33, -0.0087379478, -0.0398076437, 0.0275387745, -0.0479238182, -0.0257411506, 0.0394784547, -0.0354387537, -0.0111176418, -0.0650628731, -0.0230604485, -0.0285938364, 0.0607032664, 0.011856663, 0.0038006813, -0.0002226527, -0.0527124852, 0.0030980904, -0.0161830969, 0.0154801728, 0.0081138071, 0.0502073951, 0.0342824981, 0.0181548577, -0.0283159371, 0.016601406, -0.0026993335, 0.0219377019, 0.0501731113, 0.0020142992, 0.0923498869, -0.0244698841, 0.0323523208, 0.0422710925, -0.0204047263, 0.0127667096, 0.0355108269, -0.1243404672, -0.0451890193, 0.0114309499, 0.0118325856, -0.0291822646, -0.0391426831, 0.00127474, -0.0171987042, 0.0050128135, -0.0218060203, 0.0169223621, -0.0279839393, -0.0206442978, -0.0744245499, -0.0192978196, 0.040928185, -0.0308169182, -0.0087067438, -0.0132718263, 0.0441426598, 0.0491549857, 0.0339788124, -0.034041442, -0.0105945682, -0.0240741353, 0.0051475554, 0.0234164465, 0.0109949727, -0.0210287534, 0.0131920483, -0.0159390699, 0.0203480385, -0.0286767874, -0.0096016573, -0.0176626574, -0.0141467713, 0.0455881879, 0.0463910401, -0.0061790035, -0.0002781554, -0.0745953768, 0.020147372, 0.0261828713, 0.0154007515, 0.0181165617, -0.0079380143, -0.0330591798, 0.023816254, -0.0102738487, 0.0443699323, -0.0384361707, 0.0242084302, 0.0546134301, 0.0261500701, 0.0189854912, 0.0160038844, 0.0157129318, -0.0534449145, 0.0222202018, 0.0693692863, -0.0280229263, 0.0062578586, 0.0160860382, 0.0637570098, -0.0088946959, 0.0375293233, 0.0208392181, -0.0316550918, -0.0081322854, -0.0237723142, 0.0185794923, 0.0092541743, -0.0444297045, -0.0175616685, -0.0108595993, 0.0485236943, -0.0175713152, -0.0122217918, 0.0333774798, 0.0139474431, -0.0048230514, 0.0530115515, 0.0229134131, 0.0366428569, -0.0073183454, -0.0159689989, -0.0121029336, 0.030082725, -0.0239188541, -0.0188612305, -0.0050197882, 0.0897429734, -0.0152035449, -0.0350343026, -0.0166767277, 0.0193015505, 2.34e-7, 0.0537326075, 0.010756488, 0.039849624, 0.0372658372, 0.0259923115, 0.0008701351, 0.0175235253, 0.021412747, -0.0275609624, 0.0318635963, 0.0281676967, 0.0269699246, 0.0301886573, 0.02881529, -0.0239147376, -0.0229233578, -0.0742719695, -0.0216914732, -0.0475940816, -0.0159563422, 0.0517946444, 0.0949933901, 0.018589709, 0.0121906996, -0.0457981899, -0.0603527166, 0.055318024, -0.0047510159, -0.017446408, 0.0133718988, 0.0271877628, -0.0033362284, 0.0060642692, -0.0146373203, -0.0154695613, 0.0282379743, -0.0222895946, 0.0670920834, -0.0115457494, -0.0971614867, -0.0336325765, -0.044863347, 0.0055694659, -0.0441526659, 0.1254074574, -0.0476767309, -0.0054523274, -0.0100204768, -0.0249669254, 0.0335605964, 0.0136193288, 0.0157886427, -0.0260238741, -0.0040711109, 0.0067724576, -0.0055585122, 0.0064412248, -0.1226539984, -0.0345814638, 0.0441307202, -0.0303182658, -0.0013707823, -0.0036629571, -0.0321282893, 0.0114646498, -0.0321211033, 0.0062588798, 1.932901636e-34, 0.0404138044, 0.0060632671, -0.0077673425, 0.0401500836, 0.0157219097, -0.0064082737, 0.0193833411, -0.0400023684, 0.067870535, -0.0568977147, -0.0022643914 ]
http://arxiv.org/abs/2406.19537v1
http://arxiv.org/pdf/2406.19537v1
Handling Ontology Gaps in Semantic Parsing
2024-06-27T21:21:22
2024-06-27T21:21:22
Andrea Bacciu, Marco Damonte, Marco Basaldella, Emilio Monti
cs.CL
cs.CL, cs.AI
The majority of Neural Semantic Parsing (NSP) models are developed with the assumption that there are no concepts outside the ones such models can represent with their target symbols (closed-world assumption). This assumption leads to generate hallucinated outputs rather than admitting their lack of knowledge. Hallucinations can lead to wrong or potentially offensive responses to users. Hence, a mechanism to prevent this behavior is crucial to build trusted NSP-based Question Answering agents. To that end, we propose the Hallucination Simulation Framework (HSF), a general setting for stimulating and analyzing NSP model hallucinations. The framework can be applied to any NSP task with a closed-ontology. Using the proposed framework and KQA Pro as the benchmark dataset, we assess state-of-the-art techniques for hallucination detection. We then present a novel hallucination detection strategy that exploits the computational graph of the NSP model to detect the NSP hallucinations in the presence of ontology gaps, out-of-domain utterances, and to recognize NSP errors, improving the F1-Score respectively by ~21, ~24% and ~1%. This is the first work in closed-ontology NSP that addresses the problem of recognizing ontology gaps. We release our code and checkpoints at https://github.com/amazon-science/handling-ontology-gaps-in-semantic-parsing.
[ 0.0284425281, 0.0408518538, -0.0079243258, 0.0297833662, -0.0278540533, 0.0090827774, -0.0315261707, -0.0003564283, 0.0008329758, -0.0471570678, 0.0049578594, 0.0215767492, -0.0187737439, -0.0156112704, -0.0193427522, -0.0428013019, 0.0727093592, -0.0178648345, -0.0349636227, -0.0054721124, -0.0266915001, 0.0279160086, -0.0317023173, 0.050115563, -0.0414992794, -0.0720096827, -0.0164932795, -0.0010944876, 0.0091203721, -0.0302992128, 0.0263253786, 0.0640556738, -0.0330391787, 0.0705741644, 0.0000019403, -0.0629663765, -0.0024155553, 0.0068797679, -0.0417614505, -0.0411948599, 0.0185240079, 0.0193189718, 0.0206112266, -0.0067156143, -0.0413707942, -0.0238545518, 0.0300803967, 0.0908927396, 0.0701852888, 0.0281263441, 0.0081394864, -0.0295465998, 0.0434659943, 0.0495024137, 0.0475521982, -0.0320639312, 0.0280079804, 0.002163328, 0.0145306764, -0.0415914133, -0.0062376093, 0.0138703389, 0.0320360735, 0.0271693282, 0.0031980511, 0.0075035114, -0.0740374252, -0.0401533917, -0.0319919363, 0.0653257743, -0.0248742923, -0.0320357122, 0.0063752271, 0.0006585061, 0.0122511778, -0.0190507788, -0.0079784365, 0.0284245461, -0.052909676, 0.0031303731, 0.0432108082, 0.0279865898, 0.0109339571, 0.0201538857, 0.0073073558, 0.1248080656, -0.0097526535, -0.0463595241, 0.0442192033, 0.033083681, -0.0295817256, -0.0081294579, 0.0383028649, 0.0198758729, -0.0667881519, 0.0188341383, -0.0416662246, -0.0051579396, 0.0354897529, -0.0449163653, -0.0340616778, 0.0176102556, -0.0574621484, 0.0543938391, -0.019710172, 0.0088873636, -0.0141054438, 0.0597619154, -0.0059505552, -0.0112998094, -0.0771562979, -0.0357092544, -0.0685551018, 0.0440735631, -0.0192828029, -0.0513129309, 0.0169925727, -0.0005600826, -0.0643627793, 0.0228543859, 0.0007808058, 0.0549173616, -0.0000838199, 0.0243250784, -0.0519583113, 0.0142771574, -0.0388647467, -0.027828224, 0.0366404466, -0.0908479914, -0.0266819187, 0.0020912541, -0.0222514607, -0.0181672331, -0.0132398494, 0.0682712421, 0.047595989, 0.0191736873, -0.0254045632, -0.08107353, 0.0024862203, -0.0206949301, 0.0210268367, -0.0521195233, 0.0197871812, -0.0227501076, -0.0059439316, -0.0548844561, 0.0366625078, 0.0473756418, -0.0245669112, 0.0777462795, -0.0647280812, -0.0228699073, 0.0310190022, 0.0235190205, -0.0355944671, 0.0681064352, -0.0198589917, -0.0390137471, 0.0580335781, 0.0270710792, -0.0127205104, -0.0280355271, -0.0027884794, -0.0349816941, -0.0311467703, 0.0023409154, -0.0203411486, 0.048996821, 0.0077186814, 0.0308016464, -0.0210674219, -0.0474689454, -0.0309366863, 0.0427479371, -0.0290278699, -0.0008535088, 0.0442478471, 0.0019785247, 0.015115683, 0.0110587403, -0.0885579288, 0.0244576745, -0.0169292558, 0.0060913698, -0.0018067254, -0.0124884015, -0.0167440586, -0.040037781, -0.0288567469, 0.0252982304, -0.014777598, -0.0139991995, -0.0046276012, 0.047578726, -0.0351855978, 0.0923988447, 0.0166537017, 0.0037273618, 0.0379075706, -0.0351206176, 0.000108154, 0.0980224535, 0.0474762321, -0.0414803028, -0.0550255589, -0.0324985422, -0.0191969369, 0.0813677907, -0.0114903785, -0.0207591746, -0.0067581041, -0.0292870533, 0.0097806323, -0.0235548615, 0.0497633964, -0.0273970366, 0.0093088029, -0.0033858903, 0.0016464085, -0.0347720124, -0.0189796649, 0.0466430262, 0.0118048517, -0.0003671176, -0.0469213836, -0.0191233344, 0.0263143964, 0.010837486, -0.0028848071, 0.0280917026, -0.0068247407, -0.0199431051, -0.0681314245, 0.0021787677, -0.0501984134, -0.0399607196, 0.0246179625, -0.0172170065, -0.0360505283, 0.0689574853, -0.0445792153, -0.0143484399, 0.0023610785, -0.0205322485, 0.0263378937, -0.0523665138, 0.0071192333, 0.0223074909, 0.0192035288, -0.0238080267, 0.0884625465, -0.0293683112, 0.0424204394, -0.0028381345, 0.0104674473, -0.0060223234, -0.0266670175, -0.0182299092, 0.0127610331, -0.0080915159, 0.0169185158, -0.0206379797, -0.0245345607, -0.0790485218, 0.0219695661, -0.0411881283, 0.0221830141, -0.0123473583, 0.0262586586, 0.0568813495, -0.0125166057, 0.0030767811, -0.0514526702, -0.0106838588, 0.0484233946, 0.010600673, 0.0181233175, 0.0385657623, 0.0201953109, -0.0396914855, 0.0086980173, 0.0032454007, -0.0532076918, 0.046321284, -0.0121569308, -0.0120825553, -0.0584277883, 0.0367143154, -0.058584936, 0.0362499431, 0.0454397723, 0.0204146467, 0.0258116554, 0.0037365935, -0.0275874715, 0.0702496246, -0.0027693384, 0.0384482257, 0.0375462435, -0.0197281297, -0.0324656516, 0.0191757847, 0.0064459797, 0.0172937177, -0.0242888331, -0.0016566963, 0.0199099835, 0.0971351713, -0.000556248, 0.0089078667, -0.0391281769, 0.0280773826, -0.0761136338, -0.0548058748, -0.010127753, 0.0162910726, -0.0118441591, 0.0350497179, -0.0344318226, 0.012967444, 0.1037520692, 0.0189772546, 0.0043398817, -0.0419853963, 0.0070308, -0.0211575441, 0.0441713445, -0.0172708202, 0.0112712765, 0.0145957731, -0.0742466375, -0.0241185203, -0.0294663254, -0.0261285845, -0.0199847538, -0.0122782076, -0.0184007175, -0.0172927398, 0.0255144034, -0.0056439568, -0.0542637408, 0.0039408859, -0.0529273748, 0.0172883924, -0.0561575815, 0.036559619, -0.0077203214, -0.0328173079, -0.0654063821, 0.0251577683, 0.0003259307, -0.0343129709, -0.0243708398, 0.0062823961, 0.0715557635, 0.0092842374, 0.0482393019, 0.0012711667, 0.0178065598, 0.0676928461, 0.0211677272, 0.0464527979, -0.0163683016, -0.0225285776, 0.0063953078, -0.0519046113, -0.0382979438, 0.0084535023, -0.0067959391, -0.0547420569, -0.0392949618, 0.1074747145, 0.0861466751, 0.0173925962, 0.0324417129, -0.0690864995, 0.0324385576, 0.0111969812, -0.0016782985, -0.0800512955, -0.0406962521, -0.0155374398, 0.0059060031, -0.0317813382, -0.0483983569, 0.0215661954, -0.0956184119, 0.0275600385, -0.0156123834, -0.0405854248, 0.0373825617, -0.0036997469, 0.0160076506, -0.0363621786, 0.0357857496, -0.0073992871, 0.0282681268, 0.0047979862, 0.0053521851, 0.0008918436, -0.0020415518, 0.0594937839, -0.0070181764, 0.0567725636, 0.045301035, 0.0117773777, -0.0201458409, -0.0744400844, 0.0350135565, -0.026744999, 0.0155224483, -0.0207210127, 0.0564075261, 0.0120175593, 0.010210189, -0.0360847935, 0.0040511726, -0.0748064518, -0.0363699086, -0.0016890411, 0.0889987648, -0.0427464806, -0.0332738906, 0.0053327666, 0.0492959656, -0.01132139, 0.0498392843, -0.0027851493, -0.0223704465, -0.1044291034, -0.0248753689, 0.0078151915, -0.0446784273, -0.0153927794, 0.0818358064, 0.0568445362, -0.0359186344, -0.0436514243, -0.0531612895, 0.0145587362, 0.0113692796, -0.0362887233, 0.0066628004, 0.0010352781, 0.0090308366, -0.0015012504, 0.0211567637, -0.028254509, 0.0004824248, -0.0037345707, 0.0407677479, 0.0324353352, 0.0275059603, -0.0310465377, 0.027783934, -0.0466856435, -0.0411130749, 0.0581248589, 0.0188387651, 0.0261983406, 0.0344884656, -0.0471953303, 0.0110389572, 0.0382075123, 0.0640406609, -0.0418646447, -0.0089525003, 0.0208294578, 0.0156669654, 0.0090185869, 0.038029857, -0.0330397598, -0.0150471944, -0.0252107196, 0.0581707843, -0.0016634694, 0.0159696043, 0.0813093334, 0.0003223526, 0.0130680855, 0.0353458785, 0.004243074, -0.0064437552, -0.0079518603, -0.0154862683, -0.0252094492, -0.01108154, 0.0115156099, 0.0264970195, -0.0310702119, 0.0392971039, -0.0319935866, -0.037169598, 0.0187851023, 0.0019856573, -0.0408543572, 0.0805016756, 0.0029184057, 0.0071725179, -0.0151253426, -0.0451886207, -0.0257626381, -0.0058336803, 0.0531007051, 0.0102100531, 0.0558037497, 0.0169803463, -0.0217846427, -0.027399471, -0.0109212706, -0.0351968743, -0.0671040192, 0.0193843488, 0.0119502274, 0.0231842883, 0.0203203876, 0.0362860337, -0.0187593065, 0.0076196534, 0.0151650123, -0.004718232, 0.0240235422, -0.0731151775, 0.0258031003, 0.0326520652, 0.0042126989, -0.0709759817, 0.0585716031, -0.0290858317, 0.0395380147, 0.0089843124, -0.01187596, -0.0326120593, -0.0530346446, -0.0440105908, 0.0226267949, -0.0349129252, -0.0011197774, -0.022897929, -0.0698596984, 0.0010882361, 0.015259916, -0.0002902234, 0.0298135541, 0.0305685475, 0.0406072661, 0.00734676, -0.0773669556, -0.0239852015, -0.0065763928, 0.0054933494, -0.0275405962, -0.0257780571, -6.081173538e-33, -0.0237884931, -0.0379277468, 0.025614569, 0.0095409583, -0.0269210953, -0.0355893075, -0.0234232116, 0.0074580433, 0.01234922, 0.026879428, 0.0113510098, 0.0258364659, 0.0143912844, 0.0156582501, 0.0358798951, -0.0671529919, 0.0373996198, 0.0078780837, 0.0072161364, -0.0030740937, 0.0581049174, 0.0140451314, 0.0119834356, -0.0329575762, 0.0485454239, -0.0038592073, -0.0189692974, 0.0514203981, -0.0094580557, 0.0415796563, 0.0039616167, 0.0620664097, 0.0202903375, -0.0344035402, -0.0147375576, -0.0220100284, -0.0729893968, -0.0525481552, 0.0170315132, 0.059821941, -0.0845225304, -0.0351050943, 0.0384217352, -0.0188103896, 0.0432749428, -0.0140993157, 0.0304919761, -0.0155315613, 0.0154899443, 0.0423422828, -0.0618932582, 0.0023410947, 0.0107603641, 0.0085094776, -0.0348116308, 0.0522305891, -0.0100491885, -0.0647162497, -0.0636326745, -0.0137596661, -0.0246356763, -0.0256020594, 0.0379737653, 0.010248947, 0.0130852871, 0.0632200763, 0.0496820919, -0.016733082, 0.0065748417, 0.0207489133, 0.0024758563, 0.0384578146, 0.0068201916, -0.0172606967, 0.0592257604, -0.0017266623, -0.0115155317, -0.0266636368, -0.0488927737, 0.0493236594, 0.0234779529, 0.0015430065, -0.0416261293, -0.0066600251, -0.0106247356, 0.024059251, -0.0421514586, -0.0630630404, 0.0518838055, -0.0046890783, 0.0095207524, 0.01996658, -0.0140579585, -0.0458323658, 0.0479458831, -0.0089936368, 0.028479645, 0.0015466976, -0.0044439752, 0.0369614325, 0.0266348422, -0.0443755873, 0.019163467, -0.0474647246, 0.0583428517, 0.0140973339, 0.0128884288, -0.0160385948, -0.0369418226, 0.0173598416, -0.0190764293, 0.0307235122, 0.013616438, -0.0006359968, 0.0489830449, 0.0039006993, -0.0444811955, -0.022443749, 0.0256234463, 0.0122935148, -0.0057170349, 0.0459159128, -0.0268115401, 0.0015457254, -0.0323481075, -0.0275159664, -0.0160258319, -0.0663581789, -0.0058396687, -0.0607318357, -0.0037324452, -0.0101394271, 2.771e-7, 0.0205696635, 0.0239509251, 0.0224168878, 0.0233995728, 0.0254482385, -0.0140786069, 0.0559024736, 0.0434283242, -0.024519112, -0.0703996867, -0.0485755652, 0.01375545, 0.0185876098, 0.0808600336, -0.1135332584, -0.01793769, 0.0145539716, -0.0050921272, -0.0575077832, -0.0037078259, 0.0551801175, 0.0404562391, 0.0207898393, -0.0100211836, -0.0200121421, -0.0382854156, 0.0096299183, 0.0405521132, 0.0120207015, 0.0173705053, 0.0126807727, 0.0162226409, 0.0506953299, 0.0800538361, 0.0251151305, -0.0131918406, 0.0419231839, 0.0141428038, -0.0366590992, -0.0291851219, -0.018080866, -0.0389633141, 0.0353083536, -0.0583971143, 0.0288924221, -0.060944166, -0.0254535545, 0.0128797237, -0.029475851, -0.0052367705, 0.0352306999, 0.0009393745, 0.006501691, -0.0176100917, 0.0195037331, 0.0099466154, 0.0151872737, -0.0176088177, 0.0013807274, 0.0358065739, -0.0028153944, -0.0328004248, 0.0171052571, 0.0117969243, 0.0248458683, -0.0687975138, -0.0091080181, 2.352025984e-34, 0.0254342277, 0.0276796184, 0.0515956022, 0.0283122007, 0.0225465633, 0.0222863704, 0.0450141579, -0.0037824546, 0.0132340007, -0.0221806914, -0.0119732451 ]
http://arxiv.org/abs/2406.19526v1
http://arxiv.org/pdf/2406.19526v1
TocBERT: Medical Document Structure Extraction Using Bidirectional Transformers
2024-06-27T20:56:57
2024-06-27T20:56:57
Majd Saleh, Sarra Baghdadi, Stéphane Paquelet
cs.CL
cs.CL, cs.IR, cs.LG
Text segmentation holds paramount importance in the field of Natural Language Processing (NLP). It plays an important role in several NLP downstream tasks like information retrieval and document summarization. In this work, we propose a new solution, namely TocBERT, for segmenting texts using bidirectional transformers. TocBERT represents a supervised solution trained on the detection of titles and sub-titles from their semantic representations. This task was formulated as a named entity recognition (NER) problem. The solution has been applied on a medical text segmentation use-case where the Bio-ClinicalBERT model is fine-tuned to segment discharge summaries of the MIMIC-III dataset. The performance of TocBERT has been evaluated on a human-labeled ground truth corpus of 250 notes. It achieved an F1-score of 84.6% when evaluated on a linear text segmentation problem and 72.8% on a hierarchical text segmentation problem. It outperformed a carefully designed rule-based solution, particularly in distinguishing titles from subtitles.
[ 0.0397794694, -0.0010372571, 0.0382194407, -0.0026925365, -0.0322682969, 0.0594208464, -0.0156416669, 0.0398193784, 0.006784928, -0.0503558032, -0.0386423394, -0.060719952, -0.0031170524, 0.0029317271, 0.0103812935, -0.0894993916, 0.030501185, 0.0079789637, 0.0134507576, 0.0236316938, -0.0023538528, -0.0103284847, -0.0469029397, 0.0170434657, 0.0306371991, 0.0177633818, 0.0133940279, 0.0026826044, 0.0379306823, -0.0816230103, 0.0249841772, -0.009462256, -0.0402257368, 0.0013780945, 0.0000019742, -0.0437300541, -0.0738925859, 0.0447368436, -0.0210997444, -0.0677512586, 0.0770422146, -0.0603074394, -0.0219489168, 0.0053686812, 0.0268204473, -0.0255936217, -0.0079464372, 0.1112884134, 0.0349004641, 0.069003351, -0.0284728948, -0.0557468422, 0.0540622957, 0.000754682, -0.0359115675, -0.0118340673, 0.0416013822, -0.0204825941, 0.0116262771, -0.0252364669, 0.013637458, -0.0105983196, -0.0256682951, 0.0228028167, 0.0255212355, 0.0389895067, -0.0510388128, 0.0037492414, 0.0070205834, 0.0301039424, -0.0040307096, 0.0004857885, 0.0781211108, -0.0098970197, -0.0485526733, 0.0009634893, -0.0071055549, 0.0050952779, -0.0557022616, -0.0091113234, 0.0516488068, 0.037522044, -0.0242214128, -0.030458061, -0.0322760902, -0.0064268271, 0.023213286, -0.0576865934, 0.0076391208, 0.0044138837, 0.0222823881, -0.0541803613, 0.0764908418, 0.0295527801, 0.0111484611, 0.0118326889, -0.0165255852, -0.0897518173, 0.0377792083, -0.0506658778, -0.0294226464, -0.0166816693, 0.012318599, 0.0502344929, -0.0367862731, -0.0248270351, -0.0215590745, 0.0579656586, -0.030247556, -0.0143361576, -0.0147332624, -0.0148037821, -0.0281102415, 0.030763898, -0.0038975575, 0.0108597307, -0.0457627811, -0.0195485298, 0.0249003954, -0.004388819, 0.0269237757, -0.0228005629, -0.0138572576, -0.0062893559, 0.0429090485, -0.0008553277, -0.0002143871, -0.0236954093, -0.0202612001, 0.0129081393, 0.0056760684, 0.010684072, 0.0268877782, 0.003656633, 0.0455690175, 0.0615674704, -0.0051567135, -0.0977565199, -0.062545687, -0.0331621543, -0.0052422052, 0.014967191, 0.0212244168, -0.0219972823, -0.0101555316, 0.0015654544, 0.013902816, 0.0115038957, -0.0060420432, -0.0073407036, -0.0236061141, 0.0423627645, -0.0541092195, -0.0155995218, 0.036974173, 0.0298878364, 0.0147746857, 0.0074295993, 0.0444309935, -0.0100818155, 0.0139994929, 0.0372978188, 0.0193997156, 0.0197985154, -0.0095648421, -0.0745253861, 0.0388695076, 0.0059704585, -0.0082146274, -0.0032330609, -0.0340520367, 0.0598215312, 0.0200100075, -0.0019563995, -0.0062522278, 0.0665177777, 0.0124864876, 0.0050757551, -0.0124384854, -0.0188172013, 0.0091894548, 0.0057203919, 0.0281283986, -0.0348428935, 0.0189790484, 0.026766073, -0.0227729268, -0.0177301578, -0.0229992829, -0.0119063649, -0.0071402793, 0.0105873505, -0.0278840661, -0.0414823033, 0.0969498307, 0.0091656046, -0.068760708, 0.0709159374, 0.0261830389, -0.0466966219, 0.0052675675, -0.0582305603, -0.0180425923, -0.0075913356, 0.0406974927, -0.0874626487, -0.0499300994, -0.0060414644, -0.0012146747, 0.0199561529, 0.0109262271, -0.0213753022, -0.0041287225, -0.0356442705, 0.0200457461, 0.0476610065, 0.0288362112, -0.0346257538, -0.0381151512, 0.0112498337, -0.006107925, -0.0354219712, 0.0007446075, 0.0698366389, -0.0435652249, -0.0008210269, -0.0259534065, 0.0086493222, 0.0113437762, 0.0267280899, 0.0012624853, 0.0062523205, 0.0257078931, -0.0278251842, -0.0160149932, -0.0014792342, -0.0108032161, -0.0326673016, -0.0281279292, -0.0418623574, -0.0063399994, -0.0064278659, -0.0108260754, -0.0171163101, -0.0664877668, -0.0222885627, 0.0305589586, -0.0050282227, 0.0681261197, 0.054755073, -0.0259051416, -0.0429043062, 0.0249716062, -0.0272228383, 0.0006730901, 0.0022499787, -0.0782741159, 0.0032306719, -0.0097633246, -0.0201395247, 0.027646048, -0.0394610688, -0.0484551117, -0.0129361302, -0.0033693169, -0.0296569113, -0.043099165, -0.0883831158, 0.0000633972, -0.0231393203, 0.0726077035, 0.0563823693, 0.0180214103, -0.0150564332, -0.0374240093, -0.0125901159, -0.0463199914, 0.0200003926, -0.0410025567, 0.0347887203, 0.0055614323, -0.0032544346, 0.0127228182, -0.0088297436, -0.0535782613, 0.0234843865, 0.038937103, -0.02656921, -0.0319083072, 0.018888358, 0.0261276662, 0.0009736024, -0.0093588363, -0.0048213284, -0.0132126966, 0.0028612805, 0.0285247937, 0.0607623495, 0.0220050942, 0.0102613373, 0.0021060368, 0.0145727284, 0.0547949933, 0.0103949355, -0.0227019414, 0.0315736458, 0.000858226, -0.0686306804, 0.0654877424, 0.1001075059, 0.0101355035, -0.001564967, 0.0061832373, -0.0663559362, -0.0483202562, 0.0166145153, 0.0131298406, -0.0025555512, -0.0347589292, 0.0075803101, 0.0057642474, 0.0140839545, 0.0700938702, -0.0374411307, 0.0111167831, -0.0935954526, -0.0193122718, -0.0526292957, 0.0235771053, 0.039517872, -0.0008550305, 0.0224979501, -0.054864496, 0.0296261143, 0.0495843142, -0.0145683549, -0.0364633463, 0.0535025857, 0.0101293623, 0.0269901752, -0.0287467688, -0.0118271448, -0.0201928001, 0.0102066556, -0.0024721888, 0.0273813754, 0.0305610579, 0.0265697073, -0.0583235249, 0.059614718, 0.0009891591, 0.1190526113, 0.0274665728, -0.0080618961, -0.0145238321, 0.0840528905, 0.0204216912, -0.0217042938, 0.0018164201, -0.0356277488, 0.0127610536, 0.0585705861, 0.0040771193, 0.0030608687, 0.0398639999, -0.0203064922, -0.0005371756, -0.1137381643, 0.0073738866, -0.0074811904, 0.0477233231, -0.0578462593, 0.0100431331, 0.097066842, 0.0479126647, -0.0617452376, -0.0220830608, -0.0032105169, -0.0567437112, -0.0199434739, -0.0041116094, -0.0145210205, -0.0138976807, 0.0217671245, 0.0350428522, 0.0029345111, -0.0444212183, 0.053133864, 0.0024490899, 0.0187778063, -0.0452927612, -0.0796790943, 0.0158061907, -0.0672957301, 0.0089258375, -0.046916578, -0.0404649787, 0.002228386, -0.05254649, -0.0398028493, 0.015087341, -0.062118195, 0.0107654044, 0.014800759, -0.0327474996, -0.0258985963, 0.0433261395, 0.0388280824, -0.0172687415, 0.0443414673, 0.01739165, -0.0708684027, -0.0345070064, 0.0068746181, 0.0721491873, -0.0117955245, 0.0222338233, -0.041916132, 0.0432083569, 0.0070958906, -0.0391131043, -0.0013075119, 0.0128413048, -0.0113432892, -0.0111977374, -0.0604787804, 0.0081419125, -0.0223702248, 0.0407712124, -0.0486490689, 0.0039924346, -0.034294676, 0.0367348529, 0.0713954866, -0.0173760429, -0.0021479309, 0.0193138383, -0.0758370459, -0.035778854, -0.0566255152, -0.0011551616, 0.033923395, -0.0180432647, 0.014879412, -0.0304876864, 0.0559252799, -0.0050368439, -0.0853919238, 0.0143878218, 0.0139238629, 0.0016533367, -0.1002047434, -0.0444486067, 0.07933525, -0.0005283005, -0.050108403, -0.0146951806, -0.0177538451, -0.0071362224, 0.024782205, 0.0147219282, 0.0014391163, -0.0039806929, 0.0185645595, 0.0054688104, 0.0532545783, 0.0169161931, -0.0372089557, -0.0291040763, -0.0111943446, 0.0245249905, -0.0516290814, 0.0168845765, -0.0191787686, 0.0544035025, 0.0070808781, 0.0186993927, -0.016931884, 0.0349076577, -0.0117130438, 0.0504075661, 0.0615629591, -0.0226183329, 0.0000222911, -0.0651137307, 0.0436856896, 0.0048638345, 0.0578198954, 0.0074737174, 0.0243203137, -0.0089936107, 0.000613808, -0.0316836871, 0.0650888905, -0.0256282985, -0.0415557288, -0.021597812, 0.0792068541, 0.0004059833, 0.0048430567, -0.0010948897, -0.0317143984, 0.0238845907, -0.0159803852, 0.0370611846, 0.0129061341, 0.0059579224, 0.0673921704, 0.0175474789, 0.0279950034, -0.0344984494, 0.0719452277, -0.0561934374, 0.0847157463, -0.0412029289, 0.0513892286, 0.00173197, -0.0281503722, -0.0033776045, -0.0302172471, 0.0043926514, 0.0086534107, 0.0320879482, -0.0241566636, 0.0189723913, 0.0087645222, 0.0090095745, 0.010346638, -0.0281448867, 0.0518041812, -0.0040174345, 0.0148454364, 0.0374787748, -0.0345415063, -0.0533957072, -0.0008691247, 0.0455656759, -0.010520597, -0.0553870723, -0.002469819, -0.0447718687, 0.0047138878, 0.0565259978, -0.0039090887, 0.0249301121, -0.0207454003, 0.036821831, 0.0107247634, 0.0222785212, -0.0151837273, -0.0262262765, 0.0109186955, 0.0037638096, 0.0002394358, 0.0364326574, -5.763003584e-33, -0.0042967894, -0.03335879, -0.0090258764, 0.0469099209, -0.0360632017, 0.0371140353, -0.0402517542, -0.0116027985, 0.0058801952, 0.0049961195, -0.0275130775, -0.0151866125, 0.030937152, 0.0346318968, -0.0173667651, -0.0379395522, 0.0370758623, 0.0053179534, -0.0217920262, 0.012577136, 0.0026163394, 0.0673901141, 0.072500594, -0.0417424105, 0.0184523799, -0.0140654668, 0.0319007598, -0.0008938835, 0.0219812896, 0.0381026678, -0.0453418046, -0.0557179824, 0.0485823117, -0.0280080512, 0.0318132713, 0.0120567065, -0.1301689893, 0.0075008334, -0.0256615635, 0.01406861, -0.0239169057, -0.0107646761, 0.042702727, -0.0043088216, 0.0015281065, -0.0055137728, 0.0461378135, -0.0269985031, 0.0075635188, -0.0543886647, -0.0620674267, 0.076187253, 0.009022614, 0.0016893491, 0.0486058593, -0.0225205049, -0.0009204479, 0.0354259424, -0.0343331099, -0.0316364095, 0.0476051122, 0.0257697981, -0.0026497254, -0.0052152402, -0.0329000801, 0.02443159, 0.0430946946, -0.0060379794, -0.031324923, 0.0197190251, -0.0394740961, 0.0033925271, 0.023924144, -0.0396577753, 0.0515354723, -0.0011895337, -0.0602904744, 0.0655771941, -0.0430432074, 0.0227793008, -0.0035219726, -0.0173671264, -0.04161584, 0.0384130403, 0.0286606103, -0.0340682045, -0.0055362186, 0.0136126876, -0.0062347623, 0.0254003145, -0.0304730944, -0.0000530292, 0.0045721275, 0.0083075631, 0.0216531325, -0.0459942818, 0.0390304551, 0.0459270403, -0.0648944825, -0.0211166739, -0.0424732529, -0.0162315276, 0.0062693069, 0.0182390306, 0.0213961881, -0.0192378648, 0.0175107159, -0.0484340601, -0.0355853699, 0.0143944062, 0.0666463152, 0.0074922512, -0.0357508399, 0.0937102214, 0.0120123364, 0.0051566372, 0.0256143194, 0.0590581708, 0.0067583323, -0.0267238636, -0.0234735422, 0.0351883061, 0.0165962409, 0.0188892912, -0.0273631606, 0.0050128293, -0.0003049355, 0.0372478068, 0.0044526849, -0.0618486479, 0.0138524743, 0.0112153823, 2.665e-7, 0.0753087625, 0.0399521925, 0.0520265177, -0.0282567553, 0.0013072365, -0.0052540442, -0.0048648762, 0.0207626559, -0.0165547319, 0.0069600581, 0.0325414911, -0.0438391417, 0.0289812852, 0.0267780926, -0.1214733496, -0.030132588, -0.0457155406, -0.0596272834, -0.0206685346, 0.0289759655, 0.0614741668, 0.0397515185, -0.0390206538, -0.0154149411, -0.033388108, 0.0166508425, 0.0046826713, 0.003475596, 0.0159555115, 0.0633274391, 0.0354420133, 0.0073898039, -0.0203689206, 0.0368851423, -0.0178642329, 0.0157190412, 0.031090809, 0.0701858699, -0.033651609, 0.0305550024, 0.0450980477, 0.0296861734, 0.0246465057, 0.0085088639, 0.0520155355, -0.0390237458, -0.0292867366, -0.015511984, -0.0381028615, 0.0096366545, 0.0129550677, 0.0038525581, -0.0265344921, 0.0689659193, 0.0096680578, -0.0197533835, -0.0224340465, -0.0706666484, 0.0302586593, 0.0298107229, -0.0104577029, 0.0086942147, 0.0271190479, 0.0267983656, -0.0029279965, -0.061591886, -0.0280095991, 2.497292979e-34, 0.0355846807, -0.0114532104, -0.0700002015, 0.0271756966, -0.0129998168, -0.0300542507, 0.0025626197, -0.0090347994, -0.0488386601, -0.0540602803, 0.0068289889 ]
http://arxiv.org/abs/2406.19512v1
http://arxiv.org/pdf/2406.19512v1
Captioning Visualizations with Large Language Models (CVLLM): A Tutorial
2024-06-27T20:18:18
2024-06-27T20:18:18
Giuseppe Carenini, Jordon Johnson, Ali Salamatian
cs.CL
cs.CL, cs.AI, cs.HC
Automatically captioning visualizations is not new, but recent advances in large language models(LLMs) open exciting new possibilities. In this tutorial, after providing a brief review of Information Visualization (InfoVis) principles and past work in captioning, we introduce neural models and the transformer architecture used in generic LLMs. We then discuss their recent applications in InfoVis, with a focus on captioning. Additionally, we explore promising future directions in this field.
[ 0.0105806086, 0.0462545231, -0.0128518967, 0.0511139445, 0.0014876993, 0.0200701635, -0.0050428738, 0.0046339403, -0.0255533718, -0.0128717804, -0.0531038865, -0.0014562672, 0.0295108873, 0.0287165884, 0.0283948965, -0.0842761397, 0.0159648005, -0.0566676594, -0.046053376, 0.0094319955, -0.0227904059, -0.0079136332, 0.0039001764, 0.0415587835, -0.019287413, -0.0386490002, 0.0061201169, -0.0114509221, 0.00122094, -0.0497064069, -0.0588721223, 0.0714386478, 0.0682069063, 0.0309049617, 0.0000018715, 0.022172492, 0.0111413822, -0.0075437813, 0.0213062596, 0.0272489581, 0.0269916896, -0.0878252685, 0.0010529531, -0.0266968738, -0.0214810502, -0.0548106357, 0.0742612928, 0.0729133636, 0.0895664841, 0.0077867829, -0.0076833721, -0.0638084412, 0.0113274213, -0.038428098, -0.0199763179, -0.0094428705, 0.0024774049, 0.0726618543, -0.0378974751, 0.0292942561, -0.0420591384, 0.0871682316, -0.0018580802, -0.0633023903, -0.0040552663, 0.0402945764, 0.0166551489, -0.0397137329, -0.0224979483, 0.0921141431, -0.0059094839, 0.019367272, -0.0423638187, 0.01439243, 0.0145784076, 0.014606257, -0.0977927223, 0.0370984748, 0.0421664938, 0.0189589672, 0.0155428732, 0.0191198997, 0.0284099709, -0.0230887756, -0.0287164114, -0.005415333, 0.0053653843, 0.0372357816, -0.0566326044, -0.0121159665, -0.0379859433, -0.0386628993, 0.0199200138, 0.0442110449, 0.0112686716, 0.0088967234, -0.0011761574, -0.0661082491, -0.0053330194, -0.0452448912, 0.0292793941, -0.0159257911, -0.0291376282, 0.0517415032, -0.0145625724, 0.0720999613, -0.025920894, 0.0317655951, -0.0273288786, -0.0159010813, -0.0284209643, -0.0105701834, -0.0553646274, 0.0185060166, -0.0238541905, -0.0291198101, -0.0278393589, 0.0121538285, -0.0161277056, 0.02980542, -0.0116885221, 0.0057929335, -0.0195872933, 0.0156206107, -0.0405644551, 0.0502200127, 0.0040651159, -0.0379386544, -0.0308231134, -0.0249899644, -0.0144855166, 0.0410000756, -0.0058667553, -0.0070323413, -0.0303013343, 0.0782175213, 0.0071850638, 0.0001309418, -0.0171120893, -0.0103694424, -0.0319930911, -0.0154086566, 0.0269835163, -0.0511032343, 0.0276607797, -0.0036559268, 0.0456874259, -0.0603160374, 0.0120284893, 0.0286134351, -0.0038993219, 0.1031511649, -0.0187468827, 0.0000712801, 0.0045616664, -0.0269636326, 0.0073987227, 0.0556414612, 0.0701158494, 0.0299368221, 0.0097157257, -0.054021474, 0.0466130003, 0.0690919906, -0.0057114083, -0.0065857712, -0.0636447594, -0.0436293446, 0.012595308, 0.0256381165, 0.0282425527, 0.0428480357, -0.0247407649, 0.0178897977, 0.0790499076, 0.0679518059, 0.0295534823, 0.0590541996, 0.0341531932, 0.0173679497, -0.008605551, -0.0155436061, -0.0253874268, 0.0616267063, 0.0364118703, 0.0163529925, -0.0421515629, 0.0235924907, -0.0186012927, -0.0452105477, 0.0028086654, 0.0061303144, -0.0205150079, -0.0266243555, 0.0576384142, 0.0316077285, -0.0210903101, 0.0601123907, 0.0137593728, -0.0237314366, 0.0117865596, -0.0380437709, -0.0076874387, 0.0337734446, 0.0413744934, -0.0024692803, -0.0212914702, -0.0023087903, 0.0118397195, 0.0670712665, 0.054829143, 0.0003181772, -0.0249038842, -0.0231335275, -0.0157145634, -0.0078684883, 0.002393469, 0.0220132563, -0.0292633995, -0.0058722766, 0.0192698482, -0.0126002543, -0.0913111642, 0.0261367876, 0.0248607919, -0.0067012664, -0.001901886, -0.0026805669, -0.023209285, 0.0281184763, -0.0201041568, 0.0207885914, 0.0402212627, -0.0359652154, 0.0001620762, 0.0365211144, -0.0223992541, -0.0701172799, 0.0203834791, -0.0747539029, -0.0180144943, -0.0219060592, -0.0317613371, -0.0399396196, 0.0145798204, -0.0581246912, 0.0068442523, 0.002762774, 0.0278745424, -0.0137422523, 0.0182571337, -0.0482667238, 0.0557590239, -0.0123052141, -0.0000293452, 0.0582605787, -0.0040890179, -0.0146457255, -0.0235904343, -0.0273553524, 0.0416891202, 0.0160768703, 0.0086794142, -0.0023969938, 0.0197568797, 0.0034281262, -0.0098693557, -0.0745109469, -0.0139182322, -0.0075688432, -0.0099442704, 0.0114930905, -0.0086187646, 0.0002416388, -0.0308143441, -0.0435134098, 0.0198813044, 0.0152051961, -0.0215249043, 0.0569217317, -0.0006913692, -0.0483461991, -0.0192270037, -0.0054793246, 0.0027524328, 0.0791399553, 0.0440245494, -0.0725969225, -0.0822567269, -0.0101158498, 0.0023651377, -0.0031630753, -0.0073950654, -0.0178775955, 0.0157209933, -0.006387563, 0.0260489285, 0.0018947235, -0.0009899357, 0.0519192778, 0.0624291636, -0.0235233232, -0.0217859261, 0.0304999091, -0.0378539637, -0.0291218385, 0.0019457268, -0.0448858701, 0.0175062362, 0.061866492, -0.0257837363, 0.0358738489, -0.0358390994, 0.0024864899, -0.0391501188, -0.0063753328, -0.0559942797, 0.0082721766, -0.0049955919, 0.0228503644, -0.0219778959, -0.0500097387, 0.0085473582, -0.0830135569, -0.0083531663, -0.0038784868, -0.0154215004, -0.0490335822, 0.1069349125, 0.0261700228, 0.0167498607, 0.0052520917, -0.0395912156, 0.0140869785, 0.0309783053, -0.0243948177, -0.0248196591, 0.0817397162, -0.0624293834, -0.0185764208, -0.0178040285, 0.0041765012, -0.0243324172, -0.0086109769, -0.0418876372, -0.0171373375, 0.0377320908, -0.0456258431, -0.0373010151, 0.0507492647, 0.057367444, 0.0231876019, -0.0194169711, -0.0006042538, -0.0173432138, 0.0223679394, 0.0360351801, 0.0633120015, -0.0234459713, -0.0255660582, 0.0275397766, 0.0042728791, -0.0380443633, 0.0274657719, -0.0515439324, 0.0056926124, 0.0334239528, 0.0282357763, -0.0145772928, -0.0159993302, 0.0388599336, -0.042032592, -0.0014123073, 0.1226136237, 0.0230945852, -0.0847279802, 0.0054241908, 0.0049160239, 0.0277536325, 0.0131125627, 0.006150845, -0.056182716, -0.0254385676, -0.0226814132, -0.0222950112, 0.0505252555, 0.0169357434, -0.0284648035, -0.0650414452, 0.0625409782, 0.0316233784, -0.0532273427, -0.076161325, -0.0181200095, -0.0144108217, -0.0207751244, 0.0084332423, -0.0323359035, -0.0070234123, -0.0068422058, 0.0048902184, -0.0029659765, -0.0213238671, -0.0416902453, -0.0558320694, 0.0205058176, 0.054713998, 0.0470754728, -0.0493156724, -0.0342784673, 0.0008062726, 0.0242475104, 0.0385668389, -0.0134386262, 0.0896942466, 0.0187680386, -0.0629993603, -0.0102023296, -0.02218806, -0.0171311051, -0.0219160784, -0.0019406722, 0.0248758197, -0.0168034565, -0.0017366287, -0.0069052195, 0.0413399488, -0.0270405393, 0.0506293848, 0.0697628185, -0.0260661095, 0.0075330897, -0.0486932695, 0.0173160173, -0.051678732, -0.0616969354, 0.0270211697, -0.0083326669, -0.0749926195, -0.0690091103, -0.0084156711, 0.0592654571, 0.0205198675, 0.0555053093, 0.0023890384, 0.033993125, -0.0159693845, -0.0184014793, 0.0471321754, -0.064077273, -0.0071799061, -0.0386364534, -0.0140229622, 0.0645354986, -0.0113957645, -0.0159744993, 0.0354643799, -0.0838538334, -0.0192121454, -0.0203200504, 0.0311203133, 0.0100799743, 0.0215479191, -0.0090079261, -0.0331495143, 0.0467775166, 0.0468360148, 0.0335547589, -0.017094139, -0.0278930552, -0.006943645, -0.0216962267, 0.010200561, -0.009501596, -0.0011464054, -0.0247384794, 0.0294774398, -0.0331520662, -0.0192380026, 0.0219158996, -0.0111673642, 0.0260140933, -0.0036595662, -0.0043672812, -0.0256091207, -0.0119400453, -0.0250971634, -0.0344949216, -0.0200739335, 0.0067773112, 0.0462924764, -0.0074760006, 0.0086107254, 0.0135279112, 0.0106069762, -0.0005256459, -0.0105263926, 0.0197323672, 0.0065246709, -0.0388382301, -0.0036721521, 0.0440855324, -0.0214029159, 0.0336477049, -0.0271727294, 0.0119695487, 0.0010174768, 0.0257746745, 0.0171879511, -0.0307989586, -0.0406439193, 0.0559513941, -0.0244840235, -0.0517881773, -0.0087559884, 0.0461354814, 0.0711935982, 0.0189065784, 0.0795361772, -0.0230923854, 0.010777914, 0.0257560667, 0.0338427201, -0.0051772022, -0.0161449425, 0.0516572036, 0.0035603535, -0.0019747759, -0.0582527332, 0.0532013513, -0.0096143223, 0.0139335468, 0.0052175676, -0.0342440307, -0.0225529205, 0.0283546839, -0.0292529259, -0.0211713277, -0.0235025212, 0.0164889488, -0.0432159789, -0.0591647625, 0.0138594229, -0.0051613268, 0.0037141484, -0.0034330615, 0.0242896285, 0.0143895196, 0.0273652077, -0.0159921069, -0.012416997, 0.0223411098, -0.0025948633, -0.0232534204, -0.0535273515, -5.591269002e-33, -0.0803327039, -0.0468277596, 0.0210216027, 0.0054808888, -0.0390842669, -0.0099289799, -0.042134922, 0.0353496857, -0.0184093434, 0.0208278839, 0.0130023314, -0.0019964552, 0.0121569475, 0.0390528813, -0.0145179629, -0.0259071775, 0.0548496507, 0.018744437, 0.0069517829, 0.0229014903, -0.0243130308, 0.0068180747, 0.0599370115, -0.0683509782, 0.0202634726, 0.0189038347, 0.0025790681, 0.0272709988, 0.0382260382, 0.033479888, -0.0410518609, 0.0134595204, 0.0263416376, -0.0446820259, -0.0296729971, 0.0266706236, -0.0711581931, -0.0232013538, 0.0233940072, 0.0700167194, -0.0118772099, -0.0432445146, 0.0622209311, -0.0109741632, -0.0121102501, -0.0031011011, 0.0523756258, -0.0142024923, -0.0125580681, 0.0203523748, -0.0325278342, 0.0174972601, -0.0247342344, -0.0219126772, 0.0512602665, 0.0068309424, 0.0012276416, 0.0379319564, -0.0469488278, 0.0548009612, 0.0624802485, 0.0244768187, 0.1032944918, 0.0609899536, 0.012933109, 0.0647699833, 0.0071325488, 0.0047476287, -0.0613941364, 0.024560662, 0.0330351256, 0.0583194345, 0.0824908018, -0.0094745606, -0.0063881208, 0.0192421358, -0.0102657601, 0.0233166255, -0.0744255483, 0.0307201315, 0.0309511162, 0.0078261336, -0.0128709888, 0.0084449816, -0.0665505901, -0.0345006697, -0.028744882, -0.0050598695, 0.0149930669, -0.0307565238, -0.0213055108, 0.0204882436, 0.0333490781, -0.0350823998, -0.02804997, 0.0202978682, 0.0140710343, 0.0738493577, -0.0264825244, -0.0341555662, 0.0121589266, -0.0390352793, 0.012179899, 0.0138276862, 0.0268093534, 0.0232653618, 0.0443211943, 0.0228037015, -0.0400190055, -0.0098882616, -0.0334406197, -0.0462567396, -0.0131992046, 0.0004769523, 0.0260127168, 0.0020072667, -0.0682582855, 0.016224144, 0.0155138616, 0.014780635, 0.0257638637, -0.0409010686, -0.0143687688, 0.0310701504, -0.0211475156, 0.0087821158, -0.0482963137, 0.013715039, 0.0563517585, -0.071555607, -0.0453786515, 0.0084717209, 2.41e-7, 0.0545428209, 0.0700075924, 0.0542314947, 0.0504175238, 0.0198041089, 0.0256609153, -0.0153100053, -0.0096177962, -0.0006634929, -0.0317572989, 0.0139776571, 0.0302015748, 0.0234984532, 0.0100981072, -0.0583490171, -0.0251097064, -0.0351925679, -0.0159824006, -0.0389590785, -0.0046436433, 0.0783277526, 0.1100045666, -0.0224139895, -0.022289278, -0.0017768765, -0.0911402702, 0.0409478322, -0.0506100319, -0.0064358506, 0.002028425, 0.0162722543, 0.0471335351, -0.0371631831, 0.0285650361, 0.0048219413, 0.0100025581, 0.0357405506, 0.0045015668, -0.0116702141, 0.0564915612, -0.011830572, 0.0295967963, -0.0127358763, -0.0310701448, 0.0573433973, -0.0846488103, -0.0247771703, -0.0161380284, 0.0302779321, 0.0014476684, 0.0159915127, -0.0526362024, -0.0347547084, 0.042278111, 0.0366249494, -0.0110067781, -0.0398456044, -0.0272077583, -0.0286144093, 0.0128918542, -0.035831511, -0.0171210114, -0.0591624342, -0.0587939657, -0.0077764262, 0.0130820069, -0.0000275268, 2.246978344e-34, 0.0379696302, -0.0288332701, -0.009909247, 0.0366501883, 0.0586077571, -0.0081888707, -0.0027195013, 0.0106975324, -0.0087625319, -0.1003001854, -0.0136713246 ]
http://arxiv.org/abs/2406.19504v1
http://arxiv.org/pdf/2406.19504v1
Are Generative Language Models Multicultural? A Study on Hausa Culture and Emotions using ChatGPT
2024-06-27T19:42:13
2024-06-27T19:42:13
Ibrahim Said Ahmad, Shiran Dudy, Resmi Ramachandranpillai, Kenneth Church
cs.CL
cs.CL
Large Language Models (LLMs), such as ChatGPT, are widely used to generate content for various purposes and audiences. However, these models may not reflect the cultural and emotional diversity of their users, especially for low-resource languages. In this paper, we investigate how ChatGPT represents Hausa's culture and emotions. We compare responses generated by ChatGPT with those provided by native Hausa speakers on 37 culturally relevant questions. We conducted experiments using emotion analysis and applied two similarity metrics to measure the alignment between human and ChatGPT responses. We also collected human participants ratings and feedback on ChatGPT responses. Our results show that ChatGPT has some level of similarity to human responses, but also exhibits some gaps and biases in its knowledge and awareness of the Hausa culture and emotions. We discuss the implications and limitations of our methodology and analysis and suggest ways to improve the performance and evaluation of LLMs for low-resource languages.
[ 0.0256635174, 0.0551975295, -0.0435034037, 0.0096344631, -0.0125411889, 0.0469444357, 0.0127086667, -0.037383616, 0.0444945507, -0.0112700146, -0.0326882787, -0.0853552297, 0.0016572684, 0.0211995896, -0.0061912923, -0.0836646706, 0.0036678039, 0.0505739488, 0.0415523276, -0.0274978746, 0.0293719247, 0.0540924668, 0.0124581093, 0.0617300421, -0.0564538725, -0.0290339664, -0.0100368904, 0.0050642868, 0.0337893367, -0.0170447305, 0.0060025253, 0.0326843299, -0.0230617393, 0.0136496518, 0.0000021846, -0.0305404998, 0.0133706536, -0.012633184, 0.0394023806, 0.0292261951, 0.1060204059, 0.0379134826, -0.0406426452, 0.0269056577, -0.0534670949, -0.0267668236, 0.0675422773, 0.0324581265, 0.0570913367, 0.0525626354, -0.0188698042, -0.0078645414, -0.0284894984, -0.0187516082, 0.0222488791, 0.0347740166, 0.011401779, 0.0636438429, 0.0103836944, -0.069456391, -0.0494010039, 0.0243062489, 0.0081407288, 0.0018804929, -0.0391728356, 0.003035896, -0.0425416864, -0.0642818362, 0.037790712, 0.0289503597, 0.0146120796, 0.0105223246, -0.0109853121, 0.0275351219, -0.0112041589, 0.0097865649, -0.054502815, 0.0345762745, 0.0011922624, 0.0108749736, 0.0237603858, 0.0216746759, 0.0059929681, 0.0112874918, 0.0312381703, 0.0547399223, 0.0188128129, 0.0158477724, -0.0432389192, -0.0002156822, -0.0013579761, -0.0417343229, 0.0067761997, 0.020071866, 0.0105599687, 0.0266942475, -0.0102105094, -0.0044675521, 0.0045273057, -0.0656184033, -0.0140413754, 0.0666101724, -0.046954602, -0.0096059823, 0.0243355017, 0.0357459895, 0.0151172178, -0.0341260694, -0.0419205315, -0.0091155823, -0.0326499566, -0.0191502236, 0.0074233073, -0.0189127102, -0.0268122684, 0.0168231186, -0.0731963888, 0.0030892091, -0.0299111307, -0.0259602144, -0.008491856, -0.030627232, -0.0136657301, -0.0030808435, -0.0122797759, 0.0508441217, -0.0653885081, 0.0039281007, -0.0104138004, -0.1344823241, 0.0653846562, 0.0137333581, -0.0421166606, -0.0050988276, -0.0094748922, 0.0384284221, 0.0060016336, 0.0063993442, -0.0487599187, -0.004338047, -0.0134545881, -0.0344376266, -0.0099155167, -0.0635421351, 0.0748234168, 0.027460875, 0.0274411663, -0.0348908156, 0.0067930142, 0.0073756883, 0.0101562571, 0.02588851, 0.0280570649, 0.038903486, 0.06737829, 0.020113593, 0.0156604629, 0.053750053, 0.0229483619, 0.0475618392, 0.0489511751, -0.0361430794, -0.0094991988, 0.0241444409, -0.0314564258, 0.0171966366, -0.0061493781, -0.0168926027, 0.0204454083, 0.0194951035, 0.0534987934, 0.093495138, -0.0060194642, 0.0050162417, 0.0350036882, 0.0863198191, -0.0200103614, 0.0680554435, 0.0656622797, 0.0267697815, -0.0036594828, 0.0303928796, -0.0015103569, 0.0306490734, -0.0221579168, -0.0121417455, 0.0291366037, 0.0870164186, -0.0329618268, -0.0358425193, -0.0267254133, 0.0010859343, 0.0126729906, 0.0127647128, 0.0022798975, -0.0241252091, 0.0187169407, -0.0029935027, 0.0789344907, -0.0880718902, 0.0170560163, -0.0377254076, 0.0401317813, 0.0614405312, 0.0021379641, 0.0392056704, 0.0268751029, -0.0108277472, -0.0104669519, 0.0470353961, 0.0681011975, -0.0028799293, -0.031798657, -0.0506457761, 0.0239812527, 0.0052696629, -0.0008956026, 0.041464638, -0.0027202223, 0.0576615892, 0.0127654839, 0.003993799, -0.0235569272, -0.0058079218, -0.0720373392, 0.0219909567, -0.0096049113, -0.0181402303, 0.0554095134, 0.0323962606, -0.0206591282, 0.0043282746, -0.0291629564, -0.0239878856, -0.0136143323, 0.0738363564, -0.0404680148, -0.0267817676, 0.0315436386, -0.0763552338, -0.0042249775, -0.0134861507, 0.0045241183, -0.0147032579, 0.0741119087, -0.0053763292, -0.0057532829, -0.0727203414, -0.0093099633, -0.0063962834, 0.0306633692, -0.0269745495, 0.040560551, -0.0093246456, 0.0093594342, -0.0451433994, -0.0127729364, 0.0549125746, -0.0304123331, -0.0711733848, 0.0534646511, -0.0071697519, 0.007048951, -0.0059435503, 0.0058538266, -0.0262889285, -0.0336220786, -0.1230952889, -0.0007431259, -0.0013827945, -0.0039835121, 0.0073352074, 0.0218562614, -0.0575204641, 0.0198668037, -0.069363147, -0.0066378769, 0.0310040656, 0.0129675865, -0.0243673045, -0.0267587248, 0.0344101042, -0.0458534136, -0.0263880193, 0.0058076973, 0.0249081608, -0.0075886729, 0.0117797619, 0.0134642962, -0.0212772992, -0.0859917998, -0.0171687398, -0.0125166951, -0.0946299657, 0.0302898902, 0.0067448514, 0.0849397108, 0.0063986904, 0.0325617157, 0.0495848879, 0.0281924699, -0.0089629535, -0.0219388828, 0.0069657452, -0.0287264213, 0.0129934605, 0.0158658288, -0.1059998125, 0.0010073149, 0.0600689985, 0.0424903743, -0.0109812794, -0.069089897, 0.0164586995, -0.0570318662, -0.0365291499, -0.0038820992, -0.0142093962, -0.0068129045, 0.0227328334, -0.0051524621, -0.0366237275, 0.0389779918, 0.0117769977, -0.0111710345, -0.0353181064, 0.0260422081, -0.0525407642, 0.0519126132, -0.0448549315, 0.0227255374, -0.0145632802, 0.0132857095, -0.0297518577, 0.0056069135, 0.0107266875, -0.0667736158, 0.0000711681, -0.0266930535, -0.0415936634, 0.0024616988, -0.0168741457, -0.0336928181, 0.0196868405, -0.0223038513, -0.0112350937, 0.0479764454, 0.0360077247, 0.018473994, 0.0085893124, 0.0480925292, -0.0604138598, -0.0230364706, 0.0153043726, 0.0374129638, 0.0271128435, 0.0477069356, -0.027512081, 0.0222714636, -0.0207680427, 0.0185156185, 0.0192473643, 0.0215308294, -0.0116543034, 0.0256959107, 0.014343272, 0.0428276137, 0.0344485156, -0.0393825211, -0.0024927207, 0.0376651399, 0.0140633816, 0.0556740724, 0.0975002199, 0.0372064561, -0.0195314176, 0.0112494286, -0.0843863711, 0.0399838276, 0.0090967268, 0.0434040613, -0.0726232752, 0.0322574303, -0.0114138555, -0.0041236496, -0.0209990516, -0.0061125276, -0.0012306939, -0.1078355312, 0.0201971438, 0.0304598492, -0.0322663933, -0.0066163, 0.0044743875, -0.0003496599, 0.0072943298, 0.0055978564, -0.0217325669, 0.0165294111, 0.0158671569, 0.0298811402, -0.0344385952, -0.0572549105, -0.0045491513, -0.0016361803, 0.0634184778, 0.0306628067, 0.062280193, -0.0128799919, -0.0313567929, 0.0239201244, 0.0183307622, -0.0067310212, -0.0193281062, -0.0438013971, 0.0300619155, -0.0319499597, -0.0500717908, 0.0072976798, 0.008349726, 0.0051389495, 0.005592512, 0.0480001979, -0.0154718133, -0.0435065888, -0.0443070456, 0.0159562081, 0.0179955531, 0.0734975487, 0.0500534251, -0.0546884947, -0.0019684958, -0.0297794025, 0.0324069709, 0.0099548521, -0.0942983553, 0.0370457321, -0.00823869, -0.0545282587, -0.0927252397, -0.0828666985, -0.0194897372, -0.0087045869, 0.0035138021, -0.0412294269, 0.0046507251, -0.004106814, -0.0044654999, 0.0347451679, -0.0172721185, 0.0138884615, -0.007278651, -0.0206951406, -0.0030685086, -0.0516917929, 0.0253814012, -0.008689031, -0.0418340787, -0.0348421708, 0.0554472469, 0.0410236195, 0.0112587065, -0.0521135814, 0.037166521, -0.0662196726, -0.024185203, 0.0218113177, 0.0012493992, 0.0012008954, -0.0307506528, 0.0766625628, 0.0057678274, 0.0219399016, 0.0090125063, 0.0777870268, 0.0016507978, 0.0257362537, -0.0142639689, -0.0213287007, -0.026705442, 0.0163699556, -0.0130451275, -0.0574829243, -0.0363583118, -0.0367909819, -0.0579665862, -0.0314925164, -0.008369253, -0.0445780382, -0.0560961552, 0.0190973226, 0.0280871205, -0.0263283979, -0.0700393245, -0.028354222, 0.0293395817, -0.0179399159, 0.0381810926, 0.0344297066, 0.0075277714, -0.0088850912, 0.034832146, -0.0209571887, 0.0193335842, -0.0372965671, 0.0015939295, -0.0200964008, 0.0745481178, -0.0144051919, -0.0287533663, 0.0704948828, -0.0001811199, 0.0397928208, -0.0182849318, 0.0073256604, 0.0240908805, 0.0474707484, -0.001332421, 0.0720311925, -0.029996695, 0.0002725928, -0.0363639258, 0.0242248327, 0.0195566248, -0.0685862973, 0.0295888856, -0.0118451566, -0.0205486845, -0.0427905694, 0.0533004329, -0.0539770126, 0.0205720086, -0.0088180611, -0.0076969112, -0.0319500417, -0.0089921216, 0.0420196578, -0.0453261137, -0.0083556483, 0.025338525, -0.1090610623, -0.0515210107, -0.0436013527, -0.000965881, 0.0182906836, -0.008517541, 0.0261213258, 0.0449378081, -0.0354540646, 0.0373230428, -0.0438376367, 0.0210934803, -0.0896878168, -0.0229678992, 0.0259175505, -6.821517879e-33, -0.0253113545, -0.010826393, -0.0104286401, -0.0152231054, -0.0446131937, -0.0331474952, -0.0412712656, 0.0386030264, -0.0226426609, 0.0347016156, -0.0120623456, -0.0210489966, 0.0102224825, 0.0206631441, 0.0218687952, 0.0265736207, 0.0186005626, -0.0064963666, -0.0108594447, 0.0134981135, 0.0175981428, -0.009023766, 0.0190443248, -0.06867221, 0.0311942864, -0.0446603112, -0.0159975626, -0.0068796775, 0.0384305753, 0.0330952071, -0.0633751228, 0.0530738048, 0.0207155272, 0.0291995332, 0.0019734332, -0.0063014012, -0.0074236444, -0.0442060418, 0.0410131663, 0.0091222245, 0.0008179834, -0.0560643487, -0.0120767914, -0.0053119306, -0.0233159102, -0.0054286392, 0.0203354433, -0.0282506943, 0.0122587597, -0.0443763025, -0.0479132198, 0.0333495811, -0.0097074071, 0.0111191357, -0.0198997464, 0.0812625065, -0.0322972834, -0.0382932201, -0.0039950954, 0.0195730291, -0.0142434025, 0.0026130027, 0.0668245852, -0.0206549484, 0.0089255637, 0.0533406958, 0.0289877746, 0.0137452437, -0.020378422, 0.0269428082, 0.0466855764, -0.0241196789, 0.0195801575, 0.1014102921, -0.0154949334, -0.0531988218, 0.0051423707, 0.0359093882, 0.0361347608, 0.0108628944, 0.0447392911, 0.0220081154, -0.0284119081, -0.0098705282, -0.001182092, -0.0228985902, -0.0017665781, -0.0671859607, 0.0176769048, -0.0280977525, -0.0124272797, -0.0381775871, 0.0333302915, -0.0092558973, 0.0187306758, 0.0100123556, -0.0712506324, 0.00892861, 0.0153289968, 0.0171730015, -0.0319084488, 0.0167368986, 0.0064941128, -0.0027904105, 0.0177520346, 0.017351767, -0.021169696, 0.0058473423, -0.058551576, 0.0202245824, -0.005684942, 0.0351594016, 0.0013279039, -0.0270723272, -0.0044909408, -0.006822384, -0.0134081459, -0.0330106877, 0.0479715541, 0.0130575467, -0.0046683811, -0.0402706079, -0.0312874019, 0.0153499618, -0.0678635985, 0.0413703807, -0.0218540821, 0.0181499775, 0.0226025265, 0.0009696395, -0.0152926492, -0.0071048178, 2.915e-7, 0.0015983809, 0.0249776132, -0.0026573422, 0.002974526, 0.0288416483, 0.0093233995, -0.0074940864, 0.003719921, 0.0682736561, 0.0102815842, -0.001023264, 0.022088049, 0.0967432261, 0.051334925, -0.0891211703, 0.0084869247, -0.0297738705, -0.0204793233, -0.0429362543, 0.0117512429, 0.046482686, 0.0602726042, 0.005370223, -0.0070989467, -0.0431527011, 0.0488293655, 0.074227199, -0.035941422, -0.0482716784, 0.0219150353, 0.0143684838, -0.0102495188, 0.016719019, -0.0264972094, 0.0011290193, -0.0125403451, 0.0414055139, 0.0409850404, 0.0094012348, -0.0323199071, 0.0425194129, 0.043419309, -0.0435257442, -0.0966562554, 0.045279339, 0.0022932505, -0.0425256193, -0.0286915954, 0.0025732138, -0.0064727846, 0.0450045727, -0.0400709994, -0.047994975, 0.040992111, 0.032540638, -0.0475316606, -0.0044302791, -0.0019789517, -0.015785994, -0.0190045089, -0.0454067104, -0.0488023199, -0.0229646526, 0.0374534242, -0.0136868851, 0.0306794345, 0.0252261944, 1.954469891e-34, 0.0229632817, 0.0120220315, -0.0003517664, -0.0051879678, 0.0327666663, 0.0085925683, 0.0152489217, 0.0137284696, 0.0277648643, -0.0179178342, -0.0154230008 ]
http://arxiv.org/abs/2406.19502v1
http://arxiv.org/pdf/2406.19502v1
Investigating How Large Language Models Leverage Internal Knowledge to Perform Complex Reasoning
2024-06-27T19:29:36
2024-06-27T19:29:36
Miyoung Ko, Sue Hyun Park, Joonsuk Park, Minjoon Seo
cs.CL
cs.CL, cs.AI
Despite significant advancements, there is a limited understanding of how large language models (LLMs) utilize knowledge for reasoning. To address this, we propose a method that deconstructs complex real-world questions into a graph, representing each question as a node with parent nodes of background knowledge needed to solve the question. We develop the DepthQA dataset, deconstructing questions into three depths: (i) recalling conceptual knowledge, (ii) applying procedural knowledge, and (iii) analyzing strategic knowledge. Based on a hierarchical graph, we quantify forward discrepancy, discrepancies in LLMs' performance on simpler sub-problems versus complex questions. We also measure backward discrepancy, where LLMs answer complex questions but struggle with simpler ones. Our analysis shows that smaller models have more discrepancies than larger models. Additionally, guiding models from simpler to complex questions through multi-turn interactions improves performance across model sizes, highlighting the importance of structured intermediate steps in knowledge reasoning. This work enhances our understanding of LLM reasoning and suggests ways to improve their problem-solving abilities.
[ 0.0495381467, 0.0158678256, -0.0368894152, 0.0402466357, -0.0577831306, 0.0096429689, -0.0042611053, -0.0031127634, 0.0224152301, -0.0438615493, -0.0113986172, -0.0163411722, 0.0063999351, 0.0314198695, 0.0371047333, -0.0381802171, 0.0297839306, -0.0775691792, 0.0159924291, -0.0261615142, -0.0429017469, -0.0012409616, -0.0146405408, 0.014291794, 0.0118519589, -0.0258053988, -0.0480221473, -0.0036871934, 0.0154351881, -0.0311370157, -0.0079097878, 0.0277522393, 0.0369306654, 0.0449858755, 0.0000020449, -0.0488195233, 0.0039211647, -0.035629198, -0.0653664693, 0.0246328395, -0.0300629679, 0.0047498569, 0.0153257456, 0.0152886044, -0.0413240418, -0.0335140303, 0.0036168408, 0.0474060588, 0.0099139186, 0.0428598709, 0.0113700358, -0.0267696232, 0.0020190356, -0.0194825325, -0.0070994901, -0.0643646494, 0.0299967844, 0.0659898743, 0.0002003729, -0.0135960607, -0.0330155529, 0.0141322808, 0.037221875, -0.0050306525, -0.0065451623, 0.0396221578, 0.0266829506, 0.0153217185, 0.0274660308, 0.063191779, 0.0098776175, 0.0149395261, -0.0096074697, -0.0220424999, 0.0216855966, 0.0529831015, -0.0641964972, 0.0228317399, -0.0180518832, -0.0232109427, 0.0041570268, -0.0259200297, 0.0489404574, -0.0209420696, -0.0491740443, 0.0900679603, -0.0092004333, -0.0281295162, 0.0325327329, -0.0205910411, -0.0086561162, -0.0758691654, -0.0049598357, 0.0618064217, -0.022187382, 0.0472347066, 0.028632734, 0.0461343788, 0.0048585758, -0.039321769, 0.0296150483, 0.0341855399, 0.0380811542, 0.0419831648, -0.020836696, 0.0719790906, -0.0197645221, 0.0279827267, -0.0219593719, 0.00198221, -0.063870579, -0.0403835177, -0.0294406544, 0.0424218364, -0.0063346685, -0.028584769, -0.0304502193, 0.0445331298, -0.0095570823, 0.0170905087, 0.0177318659, 0.0088223089, 0.0135953352, -0.0247184597, -0.0716686547, 0.0612497404, -0.0367924161, 0.0323025808, 0.0103289634, -0.0315965228, -0.0018274642, -0.0361649804, -0.0017384936, -0.0394388363, -0.0073902267, 0.066943258, 0.0004369498, -0.0048568253, -0.0386753976, -0.0459902808, -0.0113754403, -0.0858912989, 0.0273147505, -0.0781582519, 0.0105814999, 0.0338901132, -0.0085378988, -0.0099995909, 0.0241293609, -0.0001976978, -0.023982713, 0.0351089835, 0.0389259607, 0.0321170539, 0.026137365, 0.0194388796, -0.0152954767, 0.0522590503, 0.015332046, -0.007078785, 0.0120829614, -0.0115294494, -0.0281875692, 0.0409658216, -0.0049031251, -0.017832756, -0.0129619529, 0.0268345997, -0.0266844444, 0.0364468694, 0.0219517499, 0.0370870456, -0.0224556606, 0.0102330344, 0.0418318622, 0.0502333269, 0.0255697481, -0.0121445674, 0.0311801415, -0.0081820451, 0.0233912151, 0.0156842638, -0.0652511641, 0.0438922532, -0.0248198397, 0.0140645327, -0.0101694772, 0.0102438442, -0.0239538737, -0.0338216908, -0.0285001397, 0.0519018099, 0.0132453023, 0.0341764539, 0.0562306829, -0.0013678835, -0.0125794616, 0.0286018737, 0.0073897769, -0.0133374892, -0.0021957825, -0.049985826, 0.0137204733, 0.0748165995, 0.0454592071, -0.0172654577, -0.0419989526, 0.0354979038, -0.0184004176, 0.0130930534, 0.0624846816, -0.0173035748, -0.0210830849, -0.009575502, -0.0359928347, -0.0563517958, 0.0092780003, 0.0101732761, 0.0122217173, -0.0099202991, -0.0114528704, -0.0564955547, 0.0117778052, 0.0063933181, -0.0718659014, 0.0029104338, -0.0534492321, 0.0219446011, 0.0073238714, -0.0045818747, 0.0116210869, 0.0367644429, 0.0249084905, -0.0201744586, -0.0403710939, 0.0025205254, -0.0472520031, -0.0502670594, 0.0347616002, -0.0213734414, -0.0346514583, 0.0130274147, -0.0104154386, -0.0425979383, 0.0567115285, -0.0336083882, 0.0747150332, -0.009911756, 0.0323048793, -0.0049370034, -0.0374896489, -0.0138231032, 0.0911540315, -0.0200649742, 0.0313230418, 0.0086109331, -0.0139396768, -0.0126160262, -0.0157756228, 0.0373593867, 0.0263379328, 0.0017690454, -0.0299391765, -0.0110369045, -0.0085650142, -0.0720684081, 0.0096678305, -0.0705734268, -0.013617021, 0.0118098911, 0.0200988371, 0.0439607576, -0.0129183736, -0.00000258, 0.0061568511, -0.0268849675, 0.0347625092, 0.0054085669, 0.0262652505, 0.0241504889, 0.0257904027, -0.030704489, -0.0288692061, -0.0221587159, -0.0458662063, 0.0385037102, 0.0039914805, 0.0194213074, -0.0227226783, 0.0381844714, -0.0504624993, 0.0316605978, -0.0499359779, -0.0134501969, 0.0198052414, -0.0167422537, 0.0361732244, 0.0644343644, -0.0333456248, 0.0410370082, 0.0715062246, -0.0707933456, -0.0580991954, 0.0229692049, -0.0007969837, -0.0156052439, -0.0679637939, -0.0517559201, -0.0396140181, 0.0707633495, 0.006033048, 0.0141371898, -0.0192133673, 0.0107998755, -0.0339526311, -0.0089699812, -0.048343569, -0.015242449, 0.001940307, 0.0822199807, -0.0240556989, -0.0224461555, 0.0755013078, -0.0005785332, 0.0099412408, 0.0068478528, 0.0235917587, -0.0309554525, 0.123372227, -0.0067110015, 0.0083965519, -0.0198341534, -0.0501658767, -0.101459384, -0.0044168783, 0.0291100722, -0.0227700025, 0.0695760474, -0.0606390275, -0.003139263, -0.0076056416, -0.0227524638, -0.0421564691, 0.0142920921, -0.0345149375, 0.0314673632, 0.0307835974, -0.0573524088, -0.0243145674, -0.0085760243, 0.0553538427, -0.0071943519, -0.0230288748, -0.02831126, -0.0060218386, 0.0180792902, 0.0504941605, 0.0147629743, 0.0553148836, -0.0701028779, 0.0675266013, 0.0389357172, 0.0264829248, -0.0361030772, 0.012354644, -0.001802016, 0.0087384013, -0.000613733, -0.0258923415, 0.021820195, 0.0563445613, -0.073445335, -0.0284857433, 0.1160850748, 0.0377893187, 0.0001999932, 0.010537562, -0.0685551465, 0.0334489606, 0.0579543263, 0.0355371684, -0.0489680916, -0.0173749421, 0.0240643993, -0.0137461219, -0.0170848835, -0.0531574152, 0.0088674845, -0.1456753612, 0.0313528478, 0.0113146091, -0.0550544709, -0.0335437655, -0.0188798457, -0.0010488039, 0.0457096733, 0.0081942994, 0.0259151608, -0.0265757479, -0.0352101624, -0.0056428961, -0.0445201509, -0.0153590189, 0.0796901807, -0.010139375, 0.0278195329, -0.0091202436, 0.0183884725, 0.0064457529, 0.0106082065, 0.0485129356, -0.0002800453, 0.0223023053, 0.0032309135, 0.0156262144, 0.0116960239, 0.0089638047, -0.01895836, -0.0028847943, -0.0327324457, -0.0045490921, 0.0123388432, 0.0793735161, -0.0247698724, -0.0469010137, 0.0198064037, 0.0066158338, -0.0463308431, 0.0693559796, 0.0368141904, 0.003815783, -0.0455373712, -0.0341299064, -0.0287688039, -0.0074933213, -0.0342841931, 0.0542646609, 0.0358665511, 0.0343134403, -0.0267890282, -0.0450442694, 0.073164247, 0.0032838515, -0.0012023444, -0.0079796212, 0.025508903, -0.0076250378, -0.0533154868, 0.0103194052, -0.0262438264, 0.0349721275, 0.0002847617, -0.0045982921, -0.0236646179, -0.0251220297, -0.0104257856, -0.0134416781, -0.0797026157, -0.0476820506, 0.0043845582, 0.0089256736, 0.0309437439, 0.00485268, 0.0085981796, -0.0293694995, 0.0075863474, -0.0283149388, -0.0555566885, 0.0068839369, 0.0116430363, 0.0105750989, 0.0017868442, 0.0542592444, -0.0555765331, -0.0096366722, 0.0429775119, 0.0653018653, -0.0416968092, -0.0348840542, 0.0288685616, 0.0063880407, 0.0153768873, 0.042034708, -0.0255992804, -0.0407229066, 0.0276566483, -0.0462406389, -0.0250884648, -0.0092052091, -0.0265183505, 0.020726623, 0.0115203978, 0.0259560812, -0.0142426593, 0.0112925032, 0.0114889489, -0.0035302069, -0.0072197355, 0.0446896479, -0.0042802258, 0.0484549813, -0.0029466245, -0.0042741867, 0.0020640253, -0.0101303598, 0.0293707345, 0.0215937197, 0.0697313026, 0.0117571456, -0.0220790636, -0.0631379262, -0.028082205, -0.0772253275, -0.1092138812, 0.0650295317, -0.0064109056, 0.0555596575, -0.0040714522, -0.0031177835, -0.0320718065, 0.0063414299, 0.0016155646, -0.00478392, -0.0025041406, -0.0462056957, 0.0768259317, 0.0518359207, 0.0075245625, 0.0024303596, 0.06867145, 0.0379655957, 0.0616126284, -0.0185673814, 0.0108415717, -0.008678915, -0.0512355641, 0.0416703001, 0.0509672575, -0.0214530844, 0.0280445628, -0.0991529748, -0.1005308032, -0.0345467441, 0.0030645509, -0.0145544494, -0.0094835237, 0.0204467792, 0.0584882647, 0.0066085011, -0.062313512, -0.0406123698, 0.0370130986, -0.0458591171, -0.004679373, -0.0085242139, -6.551581765e-33, -0.0297401715, -0.0624052398, 0.0412036031, -0.0207582861, -0.0184405018, 0.0005875419, -0.0539792776, 0.0355952084, -0.0558555983, 0.0189149417, -0.0169870518, 0.0269806683, -0.0046587116, -0.0141326897, 0.0464571975, -0.0114185624, 0.0109473784, 0.0073382729, -0.0234072488, 0.0164045878, 0.0593762435, 0.002685338, 0.0516965985, -0.0028218948, 0.0178378709, -0.0077671278, 0.0250512101, 0.0555593483, -0.0539098009, 0.0445094369, -0.0026960517, -0.0084759863, 0.0441556014, -0.0338476524, -0.0108306846, 0.0052421708, -0.0406667478, -0.0302695278, 0.0524080582, 0.0055654417, -0.0488552377, -0.0294954721, 0.0193798579, 0.0155669488, 0.0064694476, -0.0720787048, 0.0219997223, -0.0153399818, 0.0025266027, 0.0012469533, -0.0412794612, 0.0018152052, -0.0392521508, 0.002306093, -0.0300316103, 0.0325137414, -0.0061979112, 0.0007746193, -0.0476275347, 0.016670987, -0.0036593482, 0.0083175022, 0.0577729642, 0.0372415893, 0.0280797798, 0.0721069723, 0.0058234562, 0.0175902806, -0.0193664432, -0.0092733521, 0.0129499026, 0.0886050016, 0.0158889797, -0.008280836, 0.0281833075, 0.0218557026, -0.0880715251, -0.0224955175, -0.0175050292, 0.0934484005, 0.0081267077, -0.0007998555, -0.0102772964, -0.0212575905, -0.0660608113, 0.0142902369, -0.0367015526, -0.0130208591, 0.0334304161, -0.0198949222, 0.019666627, -0.0341375545, 0.0280271564, -0.0374969877, -0.0086973282, 0.0233134367, 0.0027067608, 0.0450880565, -0.0117784562, 0.0499677584, -0.0606175885, -0.0274543855, -0.0203211233, -0.0232764129, 0.0054975068, 0.0340075232, 0.0138117438, 0.0044349693, -0.0494764224, -0.0354759172, -0.0672539547, 0.003251364, -0.005822605, -0.0219773501, 0.042271506, 0.01597137, -0.0148909101, 0.0107128136, 0.0107432064, -0.0242929403, -0.0218708143, 0.048465535, -0.0158855841, -0.0003851413, 0.0047685215, -0.0212062635, -0.0554040745, 0.0181253403, 0.0391728766, -0.0173292849, -0.0229041036, 0.0029770974, 2.827e-7, 0.036683362, 0.061319951, -0.0062056254, 0.0661168694, 0.0339526385, 0.0146105858, -0.0470635146, -0.0278158765, 0.0355552174, -0.0255425479, 0.008072352, 0.068637833, 0.0377493836, 0.0408146754, -0.050338801, -0.0009830315, -0.0518998094, -0.0507182702, -0.0359913372, 0.0051876218, 0.0435995087, 0.0460888669, 0.0327408649, -0.0128209554, -0.0256386008, -0.0658712536, 0.0601105839, -0.0131889917, 0.0125490976, 0.0069617536, 0.0100965984, 0.0067314669, 0.0229463745, 0.0719797537, 0.011633046, 0.0173717644, -0.0270333849, 0.059983287, 0.0044790423, -0.0107008796, -0.0374122895, -0.031540107, 0.0129202986, -0.077049382, 0.0704436749, -0.0815173611, -0.0305338819, 0.0165903103, 0.028345542, -0.0212342348, -0.0088007115, 0.0037963924, 0.0229078662, 0.026902413, 0.0059511247, -0.0221508704, 0.0340177789, -0.0676909834, -0.0103246523, 0.0260515641, -0.0165184364, -0.0570973903, -0.0320292078, -0.0231259242, 0.0138122905, 0.0216001775, 0.0014922193, 2.598425441e-34, 0.0390221588, 0.0009639265, 0.0061148009, -0.0015606011, 0.0549637303, -0.0461961702, -0.0027265116, 0.0266945157, 0.0094224392, -0.1097563207, -0.0244662594 ]
http://arxiv.org/abs/2406.19501v1
http://arxiv.org/pdf/2406.19501v1
Monitoring Latent World States in Language Models with Propositional Probes
2024-06-27T19:28:43
2024-06-27T19:28:43
Jiahai Feng, Stuart Russell, Jacob Steinhardt
cs.CL
cs.CL, cs.LG
Language models are susceptible to bias, sycophancy, backdoors, and other tendencies that lead to unfaithful responses to the input context. Interpreting internal states of language models could help monitor and correct unfaithful behavior. We hypothesize that language models represent their input contexts in a latent world model, and seek to extract this latent world state from the activations. We do so with 'propositional probes', which compositionally probe tokens for lexical information and bind them into logical propositions representing the world state. For example, given the input context ''Greg is a nurse. Laura is a physicist.'', we decode the propositions ''WorksAs(Greg, nurse)'' and ''WorksAs(Laura, physicist)'' from the model's activations. Key to this is identifying a 'binding subspace' in which bound tokens have high similarity (''Greg'' and ''nurse'') but unbound ones do not (''Greg'' and ''physicist''). We validate propositional probes in a closed-world setting with finitely many predicates and properties. Despite being trained on simple templated contexts, propositional probes generalize to contexts rewritten as short stories and translated to Spanish. Moreover, we find that in three settings where language models respond unfaithfully to the input context -- prompt injections, backdoor attacks, and gender bias -- the decoded propositions remain faithful. This suggests that language models often encode a faithful world model but decode it unfaithfully, which motivates the search for better interpretability tools for monitoring LMs.
[ 0.0572766848, 0.067456767, -0.0454316884, 0.0547687598, -0.0578996427, 0.0038223627, 0.0156553593, 0.0074672508, 0.005860291, -0.0515846275, -0.0277639646, -0.0357684232, 0.0138483355, 0.0556761213, 0.055573605, -0.0054720338, 0.079708077, -0.0314174742, -0.0072305691, -0.0084382826, -0.0303789862, 0.0035938488, 0.0119848261, 0.0610619597, 0.0198288467, -0.0320759416, -0.0120223286, -0.0084385956, 0.0143974973, 0.019729713, -0.0220505614, 0.0418608487, 0.0034647274, 0.0085719181, 0.0000020276, -0.0697389618, -0.0117547857, -0.0220761076, 0.0122900372, 0.0189649295, 0.0128485095, -0.0406924561, -0.0147881275, -0.0085536074, -0.0333411098, -0.0637408197, 0.0143261328, 0.0199973509, 0.0386151485, 0.0422390364, -0.0021909208, 0.0398420133, -0.0095114429, -0.0152791375, -0.0015678826, -0.0531961471, 0.0471290797, -0.0615081228, -0.0037472439, -0.0022291699, -0.0528837666, 0.0092799207, 0.0035099019, -0.0203909166, -0.0605651923, 0.0232430249, 0.0149539094, -0.0248272754, 0.0181810949, 0.0315253064, -0.0007972776, -0.037306685, -0.0088511147, -0.0121503351, -0.0037564482, 0.019781597, 0.003016528, 0.023248475, -0.0102272714, 0.0231691804, 0.0757189095, -0.0130399195, 0.0514248461, 0.0001626543, -0.0392460115, 0.1047064438, 0.0222197827, -0.021958515, -0.0234564506, 0.0062837601, 0.0124641657, -0.0823441446, 0.0033998792, 0.0080769891, -0.0330561325, 0.0357348286, -0.0239992812, 0.0199054424, 0.0191767868, -0.0334706977, -0.0042385408, 0.0595917553, -0.0369655564, 0.069689095, -0.0100801252, 0.0486168079, -0.0414717123, 0.0402214192, -0.0386415236, -0.0316511467, -0.0224018749, -0.0291116703, 0.0015364328, -0.0031022173, -0.000941326, 0.0161515716, -0.0019419083, 0.0166512839, -0.0384772383, 0.0321298428, -0.051711563, -0.0015560737, -0.0248654839, 0.0085817212, -0.0150582371, 0.0245834254, -0.0370398089, 0.0165270753, -0.0311323926, -0.0929622054, -0.036804378, -0.0009796419, -0.0219167322, -0.012535166, -0.0193895381, 0.0622390397, 0.0360919088, -0.0302659515, -0.0324196331, -0.0668959171, -0.032612294, -0.0255873874, 0.012871461, -0.0414433144, 0.0212290287, 0.031032227, 0.0149536561, -0.071998693, 0.0051500238, -0.0139328223, -0.0335115381, 0.0846751556, 0.0368322134, -0.0176674873, -0.034427125, 0.0389869139, -0.0134571297, 0.0776424929, 0.0124200918, 0.0282660872, 0.0368774161, -0.001548684, 0.0196896791, 0.036178451, 0.0313263796, 0.0341945477, -0.0406393781, 0.0329405256, 0.0205400977, -0.0078592375, 0.0259284992, 0.0417550281, -0.0070650643, -0.0154181505, 0.030609211, 0.0405869931, 0.0254967548, 0.0175416619, 0.062007349, -0.0423836, -0.0196159426, 0.0626579225, -0.0911333188, -0.0261504836, -0.0453170612, -0.0422353558, -0.0062614256, -0.0114824921, -0.0015930851, -0.0282609463, -0.0198571011, 0.0053789024, -0.0075143464, -0.0198466573, 0.0409458168, 0.0485453457, 0.0044274069, 0.0627562404, 0.0431140214, -0.0527128503, 0.0373032764, -0.0727823153, 0.0193121191, 0.0418791734, 0.0608758852, -0.0359196998, -0.0009198851, -0.0248737074, -0.0309717618, 0.0247858167, 0.0113800364, -0.0135042332, 0.0366164334, 0.0151081821, -0.0264413282, -0.0000765197, 0.0329636112, 0.0296433847, -0.0193173531, 0.0119557539, -0.0116035063, -0.0599813536, 0.0178017356, 0.0409599245, -0.0142650018, -0.0329202674, -0.0155259445, 0.0246983785, 0.0300667975, 0.0072113383, 0.012126294, 0.0245658979, 0.01497903, -0.0587811619, 0.0044745258, 0.0471306592, -0.0567237139, -0.020232331, 0.0105100069, -0.0400638804, -0.014635751, 0.014214999, 0.0061990344, -0.0347211808, 0.0330454223, -0.0263331831, 0.0725065023, -0.0399574488, -0.0179219916, -0.0481587499, -0.0001315751, -0.0181937981, 0.0403245129, -0.0368783809, 0.0172554702, -0.0141585628, 0.0000987337, 0.0035651543, -0.001759619, -0.0164768267, 0.0199132673, 0.0110432077, -0.0195735022, 0.0110584693, -0.0294605494, -0.0132819302, -0.0442871451, -0.0513557419, -0.0224440619, -0.0265719239, -0.0051110894, 0.0378890485, 0.0127609009, -0.0191501863, -0.0049090525, 0.0108078914, 0.0005545223, 0.0228191167, 0.0595942214, 0.0278466046, 0.0208627339, 0.0078980792, -0.045814231, 0.0035476098, -0.0647490695, 0.088493064, -0.0212141462, 0.0224763714, -0.0963806584, 0.0255797338, -0.0100762658, 0.0244418234, -0.0396194197, -0.0299874358, 0.0221539121, 0.0086465478, 0.017170066, 0.0655669048, -0.0164535381, 0.0766821653, 0.0863051936, -0.0051003522, -0.0528395921, -0.017843252, 0.0268828608, 0.0076372488, -0.0491363853, -0.0408657938, 0.0107381055, 0.0917106867, 0.0501739122, -0.0520235412, -0.0403268263, 0.0627497956, -0.0626259446, -0.0695278943, -0.0187928546, -0.0522334427, -0.0228651538, 0.0646238625, -0.0047614528, -0.0348121785, 0.0899272263, -0.0425949208, 0.0051741065, -0.0027475494, -0.0144582056, -0.0448434167, 0.0738644525, -0.0035340441, 0.0062839845, 0.0204099584, -0.0619960688, -0.052408576, -0.017097773, 0.016243536, -0.0049829744, 0.0294380896, -0.0232466999, -0.0155898482, -0.0087092975, -0.048615817, -0.0846600756, -0.0065318956, -0.0172699317, 0.0060288608, -0.0154077318, 0.0176487975, -0.0103088981, 0.011343996, -0.0110519296, 0.0038681407, -0.0230909083, 0.0004154882, -0.0700645372, -0.0168237388, 0.030984737, -0.0353812613, 0.0249449145, -0.0540926494, -0.0098117162, 0.0486236848, -0.04642101, 0.0319567658, -0.0119312312, 0.0348704904, 0.0396308824, -0.0094177518, -0.0163584575, -0.024054423, 0.0449571796, -0.0631001592, -0.039507553, 0.1038126796, 0.0279441476, -0.0714331269, 0.0269556027, -0.040208701, -0.0054085469, 0.0305701494, 0.0174745563, -0.0525426865, -0.0036529272, 0.0442317463, -0.0040253336, -0.0351252407, -0.0416736417, -0.0250840839, -0.0713051632, 0.0135797393, -0.0055754925, -0.04971819, -0.0306653809, -0.0357709378, 0.0193935856, -0.0017692323, 0.0545303412, 0.0071266703, -0.0039415192, 0.022393737, -0.0227228999, 0.0318296477, -0.0305679366, 0.0132452669, -0.0367724448, 0.0382936262, 0.0567437783, 0.0337496735, -0.0169160962, -0.0296939332, 0.0092960168, 0.0234508831, 0.0152808623, -0.0090485858, -0.0156200305, -0.0307880957, -0.0220008288, -0.0097907241, 0.0432225913, -0.0153858252, -0.0174630005, 0.0077454643, 0.0752261728, -0.0082837231, -0.0190414898, -0.0238083024, -0.0149379019, 0.053894829, 0.0769147798, 0.0698160604, -0.0473912396, -0.016808467, -0.0537426285, -0.0103404718, 0.0432132371, -0.0598153397, -0.00954537, 0.0426971763, -0.0167539921, -0.0293075033, -0.0483859628, 0.037353497, 0.0118657425, 0.0298223328, -0.0111435037, 0.0143304011, -0.027000891, -0.0394563116, 0.0267844927, -0.0462573357, 0.0221604612, 0.0107830772, 0.0281684995, 0.0161422119, -0.018609751, -0.0357233658, -0.0141144292, -0.054962188, -0.0532929376, 0.0390428491, 0.0280074328, 0.030146936, 0.0292242002, -0.047248777, -0.0265593622, 0.0043370388, 0.0048433254, -0.0334019586, 0.0462291837, 0.0458605774, 0.000801908, 0.0236623157, 0.0403802395, -0.0291304328, -0.0151895266, 0.0548506491, 0.0348966867, 0.0007101761, -0.0585722551, 0.0263048448, -0.020019995, 0.0597288385, -0.0026150213, -0.0157142933, -0.038759008, -0.0260717869, -0.0198414624, -0.0149427643, -0.0068137846, 0.0285537969, 0.0283213574, 0.0056457333, -0.0016318012, -0.0279659089, -0.0558681525, 0.0573804975, -0.0042128963, 0.0273666847, 0.0465592928, 0.0384021699, 0.0232092943, 0.0122581646, -0.0135820182, 0.0252621938, -0.0282476395, 0.0412317738, -0.0199900959, 0.0311659388, 0.0367364362, -0.0033309448, -0.039689295, 0.0259212293, -0.0680819973, -0.0111607276, 0.042551022, 0.0588669777, 0.0265200902, -0.0051693865, 0.0309639014, -0.0096076149, 0.0090932297, 0.0065873521, -0.0034306073, 0.0354122557, -0.0348363407, 0.0157748479, 0.0240842625, -0.0095007066, 0.0284803174, 0.0443125479, 0.0113327252, 0.0751687661, 0.0128791146, 0.012304306, -0.034247838, 0.0090590967, 0.009045708, 0.0462235324, -0.0496003851, 0.0359834284, -0.1047435924, -0.0556698553, 0.0154821975, 0.0390106253, -0.0152334515, -0.0032642656, -0.0344603769, 0.0777251497, 0.0284252483, -0.0454389527, -0.0532922894, 0.0222057085, 0.0493559018, -0.0170083065, -0.0103594065, -6.291795309e-33, -0.0423237421, -0.0649596825, -0.0103918575, -0.0049954932, -0.0075374697, -0.010825553, -0.0447823964, 0.0084212022, 0.0022213187, 0.0263852142, -0.0205768757, 0.035431657, 0.0128510091, -0.0147295743, 0.0051799244, -0.0161736812, 0.0492223576, 0.0451043919, -0.0349003486, -0.0049551702, 0.0546868481, 0.0279162154, 0.0656446815, -0.0463390462, 0.0734713823, -0.0003848868, -0.0103849825, 0.0463442169, -0.0481900238, 0.0203556046, -0.0304946452, 0.0280530304, 0.0216564517, -0.0175842308, 0.0004512845, 0.0250952337, -0.0434169099, -0.0647725686, 0.0779278353, 0.0134218624, -0.0305100493, -0.0482643843, 0.0308773369, -0.02222161, -0.0085576195, -0.0012331421, 0.0265518427, 0.0034052357, 0.0221737847, 0.0427054875, -0.0675701275, -0.0097351642, -0.0075789546, 0.006341449, -0.0208769869, 0.0245639253, 0.0088566653, 0.016095262, -0.0671321973, 0.0162514988, 0.0118491342, 0.0079895584, 0.0506149679, 0.0147477407, -0.0071656154, 0.06830924, 0.0427767634, 0.0133622261, -0.0580690652, -0.0212684236, 0.0597604774, 0.0178440232, 0.0308193788, 0.064863421, -0.0031821944, -0.007729542, -0.0495804586, -0.0247244369, 0.0285319034, 0.017166635, 0.0346307047, -0.009855615, -0.0286878161, -0.0250410344, -0.0648586452, -0.0613629669, -0.0338760875, -0.0156613514, 0.0369249135, -0.0167757925, -0.0547291711, -0.0387607068, 0.0141364057, -0.0686080381, -0.0192461237, 0.0020124218, 0.0167878829, -0.0280136373, 0.0089258933, 0.0397593305, 0.0029701558, -0.0210705716, 0.0081454748, -0.0177028496, 0.0459887274, 0.0011240855, 0.0011692813, 0.0109101497, -0.0488787629, -0.0272089522, -0.0495060682, -0.0075814119, -0.0350216739, -0.0001148328, 0.0652093962, 0.0106034083, -0.0101897102, 0.0042944597, 0.0472372137, 0.0154023962, -0.0611951239, 0.0531188808, -0.0291128028, 0.0602584034, -0.0431383066, -0.0614071675, -0.0321034566, 0.0642994791, 0.067822434, -0.044148352, 0.0118046394, -0.007530354, 2.82e-7, 0.0396560431, 0.0470904112, 0.0038624664, 0.0349005833, 0.0521115921, 0.0465680584, -0.0266441889, 0.0723969415, 0.0390646011, -0.0365551822, -0.0258340035, -0.0155164432, -0.0046603363, 0.0561230667, -0.0708240792, 0.0585021973, -0.0355803408, 0.0042030676, -0.0236935019, 0.0147781111, 0.039242994, 0.0606907345, 0.0601247475, 0.0066249063, 0.0089568058, -0.050294973, 0.0346197523, -0.0087387934, -0.0046875617, 0.0012131606, 0.0055220476, 0.0112470621, 0.0649613515, 0.0101871649, 0.021275023, 0.0496504456, -0.0330341421, 0.0299583972, 0.000146851, -0.0194791202, -0.064459525, -0.0247111674, -0.0197124314, -0.0991354585, 0.0811070576, -0.0278330036, -0.019531697, -0.0492321923, 0.0439939424, -0.0178071745, 0.0194588602, 0.0234174412, -0.0343742482, 0.0231841039, 0.0207944643, 0.0184554216, 0.0117086805, -0.0549102388, -0.0331182964, -0.0554133356, -0.0205876101, -0.0403021351, 0.015118733, 0.003537738, 0.0185141675, -0.0756179467, -0.0157689713, 2.851874421e-34, 0.0048139505, 0.001126284, 0.0445782579, 0.0120613715, 0.0189210679, -0.0124831153, -0.048820056, 0.0363887325, 0.0316096991, -0.0334826559, -0.0386107191 ]
http://arxiv.org/abs/2406.19500v1
http://arxiv.org/pdf/2406.19500v1
Knowledge acquisition for dialogue agents using reinforcement learning on graph representations
2024-06-27T19:28:42
2024-06-27T19:28:42
Selene Baez Santamaria, Shihan Wang, Piek Vossen
cs.AI
cs.AI, cs.CL
We develop an artificial agent motivated to augment its knowledge base beyond its initial training. The agent actively participates in dialogues with other agents, strategically acquiring new information. The agent models its knowledge as an RDF knowledge graph, integrating new beliefs acquired through conversation. Responses in dialogue are generated by identifying graph patterns around these new integrated beliefs. We show that policies can be learned using reinforcement learning to select effective graph patterns during an interaction, without relying on explicit user feedback. Within this context, our study is a proof of concept for leveraging users as effective sources of information.
[ 0.0635897666, 0.0259212926, -0.0031438943, 0.0348962769, -0.0374964923, -0.0251053795, -0.0477696657, -0.0079295896, 0.0716341436, -0.0191104878, 0.01452104, 0.0270226132, -0.0078597562, 0.0445349403, -0.0265056752, -0.0536186658, 0.0133794462, -0.0232066009, 0.048433993, -0.0089407722, 0.0223537907, 0.0319407508, -0.0339740403, -0.0025547743, -0.0599931814, -0.0156618617, -0.026453929, -0.0069814818, 0.0016070417, -0.0374020785, -0.0181105044, -0.0070778839, 0.0266037099, 0.0452875011, 0.0000018276, -0.0389393605, -0.0372411162, -0.0157590117, -0.0348287448, -0.067818433, 0.0240372177, 0.0019864801, 0.0150091089, -0.0169165414, -0.0726141259, -0.0022583583, 0.0339915678, 0.0647528246, 0.0275817756, 0.0600727908, -0.0098555498, 0.0115492744, 0.0008661713, -0.0075411797, 0.0454649217, -0.045705054, 0.042478241, 0.066005066, 0.0459309481, -0.0435691327, -0.0380881354, -0.0315052085, 0.0028328518, -0.0245066769, 0.0194563363, 0.0278133526, 0.041070614, -0.0104977395, -0.0092518115, 0.1263302565, 0.0415951051, 0.0385141782, 0.012830168, -0.010107263, 0.0062053101, 0.0830689669, -0.0344460644, -0.0234675109, -0.0469353795, 0.0009651193, -0.0424431302, -0.0250314716, 0.0352346934, 0.0060958485, -0.0490080938, 0.0946292803, -0.0619395711, -0.0307862032, 0.0306980722, -0.025569614, 0.0223395471, -0.037979465, -0.0479441509, 0.0235073883, -0.0710417405, 0.0370021202, -0.0161663592, 0.0814354122, -0.0059405332, 0.0153604439, -0.0093147401, -0.0135127157, 0.0358522907, 0.0527733788, 0.0137589024, 0.0144594107, -0.0205809753, 0.0311083645, -0.0104012918, -0.0087278811, -0.0926552415, 0.0196880046, -0.0317127556, 0.0671475232, 0.0195018668, -0.0699613169, -0.0164558943, 0.077916421, -0.0442232937, 0.0681726858, -0.0042919302, 0.0408877134, 0.0076173572, 0.0206374284, -0.0910401419, 0.0284606852, -0.0314779952, -0.0019819902, 0.0003824261, -0.0140935201, 0.0255664103, -0.0066469293, 0.0540809333, 0.0144888274, -0.017558787, 0.1105529517, 0.0333265141, -0.0053224484, -0.0178123433, -0.0703410879, 0.0003658612, -0.0306372307, 0.004302159, -0.0274286065, 0.0242743399, -0.0245742667, -0.0154563449, -0.0258313082, 0.0176571142, -0.0080696726, -0.0545638502, 0.0583159104, -0.0485517755, -0.0114986133, -0.001500309, -0.0115844002, -0.0765092447, 0.0368896984, 0.0296569224, 0.0320234522, 0.0503424294, 0.0148230763, -0.0134015484, -0.0037927057, 0.0367825665, 0.0160222836, 0.0372717679, 0.024904659, -0.0431491397, 0.0254463218, 0.0040065367, 0.0095197903, -0.0725324228, -0.0021574483, 0.0397817232, 0.0578397177, -0.0224016923, -0.0126282452, 0.0332054272, 0.0641071647, -0.0090643493, 0.0507411212, -0.0097066276, 0.0186518319, 0.0478319079, 0.0114140566, -0.0037415696, -0.0419052877, 0.0005668759, -0.0209982079, 0.0603041649, -0.0029734124, 0.0927002057, 0.0517617948, 0.0442654081, 0.0257323664, -0.0227077585, -0.0329306759, 0.0228945035, 0.0024965268, -0.0201825239, -0.013772659, 0.0345318988, 0.0921057016, 0.0561840199, -0.0278736334, -0.0624159537, -0.0105760982, -0.0206263494, 0.0187009964, 0.0667183101, -0.0432642624, -0.0200605337, -0.0108147999, -0.0658173636, -0.0073506301, -0.0237070769, 0.0352822281, 0.0180652961, -0.0202975608, -0.0293174069, -0.0049824808, -0.0276876818, -0.0031542683, 0.0455060564, 0.0175470244, 0.011132936, 0.0116803721, 0.0333472602, 0.0394302011, 0.0107971132, 0.0016953241, 0.0097651137, 0.0539275743, -0.0318647139, 0.0290772226, -0.0203561746, -0.0307549164, 0.0409444086, -0.0352155715, -0.0309268627, -0.0384145714, -0.0208879989, -0.0373874903, 0.0542241558, -0.054917004, 0.0890424475, 0.0071633975, -0.056921076, 0.0003170616, -0.028140964, 0.0087757492, 0.0395362265, -0.0058318805, -0.0140095735, 0.0215382185, -0.0156556387, 0.0125168376, -0.0677131936, 0.0636113882, -0.0084489696, 0.0172117334, 0.0212283395, 0.0626324639, -0.0080647497, -0.0357360207, 0.0226417873, -0.0126397517, -0.0314526148, 0.029624017, -0.0131853111, -0.0180962328, 0.0168304294, 0.0201880988, -0.0705270246, -0.0375013277, 0.0415276587, 0.0038529015, 0.0216187797, 0.0517212264, 0.0243777186, -0.0127418991, -0.0269061383, -0.000284071, -0.0023642306, 0.0234315526, 0.0408511721, -0.00004702, -0.003152956, -0.016011823, -0.0670331568, 0.0404037684, -0.0219911486, -0.0067740013, 0.0419096425, -0.0427682884, -0.0240887254, 0.0285830963, -0.0076362267, 0.0692502633, 0.0028483206, -0.0080040032, -0.0678341389, 0.0195814148, -0.0641188249, 0.0198236201, -0.0905211195, 0.0118936375, 0.043518357, -0.0157654025, 0.0147460317, 0.0112836231, -0.0492334366, 0.0100257397, 0.0372493863, -0.0307366438, -0.0183416102, -0.0202426817, 0.0167864077, 0.0070341011, -0.0333408527, -0.0217121243, 0.1056178063, 0.0296877716, 0.0088096717, -0.0049666022, -0.0274693687, -0.0343683101, 0.024369169, 0.0423628427, 0.0368155017, -0.0329468437, -0.0277132429, -0.0249756817, -0.0459286645, 0.0805016533, -0.0071437722, -0.0084652323, -0.0015420635, 0.0048215641, 0.0600154698, -0.0010026331, -0.0468156002, 0.0135047259, -0.0073541994, -0.0004093979, -0.0010494113, -0.0534084253, 0.0160671808, -0.040655341, 0.0365945697, -0.001778394, -0.0065595922, -0.0262756292, -0.0411065072, 0.0003442036, 0.0589256287, 0.0062674643, -0.0350978412, -0.02926163, 0.0446056463, 0.0397835597, 0.0209494662, -0.0527477823, -0.0138264401, 0.0027579076, -0.0403938107, -0.0394818783, 0.0184207801, 0.0224904884, -0.0124241244, -0.0334023833, 0.0185519848, 0.051324591, 0.0244169291, -0.0340018049, 0.0043064328, 0.0082785105, 0.0195539817, 0.0122589916, 0.0378812961, -0.1178414971, 0.0120929331, -0.0346041843, 0.0210337229, 0.0107844071, -0.0862575024, -0.0000765215, -0.0889987126, -0.0083895037, -0.0036361555, -0.0224954002, -0.0042537628, -0.0225901641, -0.0017497865, -0.0025424091, -0.0479937121, -0.0152567783, -0.0131213879, -0.0064382078, 0.0144539317, -0.0124467509, 0.0113348057, -0.0108585069, -0.0120271789, -0.0033337267, 0.0163378287, 0.052575361, 0.0216514487, -0.0072420742, -0.0524372905, 0.0729165599, 0.0014934037, -0.0167116895, 0.0528088808, -0.0166384727, 0.0145675903, -0.0337504558, 0.0267858673, -0.010444982, -0.0141140381, -0.011710884, 0.085076645, -0.0460538752, -0.0267133787, 0.0057157446, 0.0027965764, 0.0263544954, 0.009346745, 0.0062552881, 0.0167591646, -0.0379943103, -0.0437182076, 0.0076753711, -0.0685372353, -0.0152375856, 0.0222048648, -0.0365989655, 0.0337224491, -0.08968319, -0.0425134115, 0.0207962468, 0.0155914044, -0.0074598584, -0.0196161661, 0.0682864338, 0.0150794908, -0.033684276, -0.024668619, -0.0253831819, 0.0009988904, -0.0025372675, -0.0448902249, -0.0041857488, -0.0599821098, -0.0104058404, -0.0473588966, 0.0347296186, -0.0459265374, -0.0399020836, 0.0387680084, 0.0154409958, 0.0975647047, 0.0054892916, 0.0318288207, 0.052985467, -0.013003353, -0.042407915, -0.0656395629, 0.031589672, 0.0415693671, -0.0075636529, 0.0392704867, -0.0671924278, -0.0161885805, -0.0168111287, -0.0015175041, -0.0611515194, -0.0281388406, 0.0347228572, 0.0195822679, -0.015698513, 0.0448208936, 0.0036887689, -0.0232587736, 0.0132266041, -0.0001632471, -0.0247057155, -0.0191386621, -0.0090758083, -0.0209297929, -0.0257564653, 0.0243059322, -0.0371460021, 0.0199715979, 0.031142937, 0.0038314273, -0.0241328664, 0.0558539815, -0.0032950419, 0.0341697782, -0.0087166317, 0.0114009827, 0.0344840772, 0.0223400611, 0.019535739, 0.0136978393, 0.0678404644, 0.0320166685, -0.049660515, -0.0174372345, -0.0073800776, -0.0807721242, -0.069972232, 0.050376568, 0.0028188014, 0.0475008227, 0.031962622, 0.0299014989, -0.0523658134, 0.0276633073, 0.0186709538, 0.0491854586, -0.0027505336, -0.0428307988, 0.0176437926, 0.0249618106, -0.0043485961, 0.0223928429, 0.0532748029, 0.0203431826, 0.0340537205, -0.0352045484, -0.0718425587, -0.054621309, -0.0333279967, -0.0039106547, 0.0636874363, -0.0087005077, 0.0200412776, -0.0153263751, -0.0526439548, -0.030508481, 0.0420540534, -0.005331473, 0.0048461608, 0.0268768817, -0.0085653942, 0.0240858663, -0.0150789721, -0.0792975202, 0.0404391624, -0.0454463996, -0.0020922797, 0.0026289378, -5.271890125e-33, 0.0118784299, -0.0545482673, 0.0402079634, 0.0686127841, -0.0538455732, -0.0079227006, -0.0354991704, -0.0282072909, -0.0099954363, 0.0489079654, 0.0122379176, 0.0083387243, 0.0097111557, 0.0058159502, -0.0253512282, -0.0168204065, 0.0323111676, 0.0033824064, 0.0242796633, 0.049197156, 0.0512661338, 0.0069091236, -0.0006033802, -0.0663573593, 0.0314733759, 0.0138925947, 0.0383067727, 0.0482671745, 0.001553519, 0.0703475922, 0.0099489335, 0.0425724387, 0.0137200821, 0.0069052214, -0.0117293959, 0.0121314237, -0.0900008753, -0.0403988734, 0.0093578976, 0.0120789725, -0.0812637359, 0.007862228, 0.0275105685, -0.0011149306, 0.0574491136, -0.0047721416, 0.0252164342, 0.0244064331, -0.0344638191, 0.0440071225, -0.0335481428, 0.0178475268, -0.0094543863, -0.0081114434, 0.0136378603, -0.0246641245, 0.0452189706, -0.0692933276, -0.0311663579, 0.0503025502, -0.0490060411, -0.0246023014, -0.0059722289, 0.0253841467, 0.0351493433, 0.0534917414, 0.0127429729, 0.0176059399, 0.0301251933, -0.0053209104, -0.0270156004, 0.0717711374, -0.0577807389, 0.0453160517, -0.0410920158, -0.024996018, -0.0722006559, -0.0080400836, 0.0454904363, 0.0544172712, -0.0153135331, 0.0022049355, -0.0317954235, -0.0047392366, -0.0187147334, 0.029028086, -0.0128468415, -0.0488009229, -0.0055526886, 0.019080909, -0.0055781901, 0.0064287884, -0.0251713358, -0.0715252459, -0.0317088142, 0.0516794734, -0.0470935926, 0.008205004, -0.0142442491, -0.0393599458, -0.0505498685, -0.0128344614, -0.0105708959, -0.056454435, 0.0070020002, 0.0458973646, 0.0083288802, 0.0223662984, -0.0200308245, -0.020324111, -0.0335723013, 0.0103017595, -0.0228027981, -0.0206001736, 0.0305029638, 0.0540356971, -0.0311951637, 0.0272698645, -0.0088870442, 0.0027738386, -0.0129613113, -0.0009478567, 0.0024815393, 0.0100615676, -0.0566814318, -0.0410585441, -0.0274289865, 0.0133468127, -0.0039239186, -0.0636752844, -0.0030583311, -0.0168601274, 2.506e-7, -0.0228277054, 0.0464949384, 0.0429960601, 0.044395797, 0.0387285687, 0.0251101088, -0.0260470863, 0.018057853, -0.0001039083, -0.0403502807, 0.052637767, 0.0477035604, -0.0233614407, 0.033295203, -0.081919238, -0.0539834797, -0.0373407193, -0.0680735186, -0.0323762558, -0.00160236, 0.0254134461, -0.0205222685, 0.042106621, 0.0005043222, 0.0155999986, -0.0299746674, 0.0335947126, 0.0119788228, 0.0154794194, 0.0073292996, 0.0247545484, -0.0258039851, -0.0320474282, 0.039996773, -0.0117414277, 0.0265628565, -0.0567670502, 0.0072863349, -0.0011761546, -0.0118910652, -0.0079641212, -0.0053205863, 0.0399132483, 0.0338926651, 0.0337733328, -0.0500901714, -0.0262693129, 0.0109796552, -0.0278010275, -0.0473067835, -0.0456116721, -0.00735691, -0.0393112227, 0.0079751797, 0.0020882809, 0.0286296792, 0.0277905725, -0.0305505805, 0.0452086292, -0.0040178518, -0.0188731737, -0.0505827107, -0.0010033381, -0.0238783453, -0.006768432, 0.0010919099, 0.022281995, 1.654636868e-34, 0.0114983423, 0.0237662625, -0.0232192185, -0.0114025483, 0.0339233205, 0.001959743, -0.0176213644, 0.0028206254, 0.0889181569, -0.0568150543, -0.0114849191 ]
http://arxiv.org/abs/2406.19497v1
http://arxiv.org/pdf/2406.19497v1
Inclusivity in Large Language Models: Personality Traits and Gender Bias in Scientific Abstracts
2024-06-27T19:26:11
2024-06-27T19:26:11
Naseela Pervez, Alexander J. Titus
cs.CL
cs.CL, cs.AI
Large language models (LLMs) are increasingly utilized to assist in scientific and academic writing, helping authors enhance the coherence of their articles. Previous studies have highlighted stereotypes and biases present in LLM outputs, emphasizing the need to evaluate these models for their alignment with human narrative styles and potential gender biases. In this study, we assess the alignment of three prominent LLMs - Claude 3 Opus, Mistral AI Large, and Gemini 1.5 Flash - by analyzing their performance on benchmark text-generation tasks for scientific abstracts. We employ the Linguistic Inquiry and Word Count (LIWC) framework to extract lexical, psychological, and social features from the generated texts. Our findings indicate that, while these models generally produce text closely resembling human authored content, variations in stylistic features suggest significant gender biases. This research highlights the importance of developing LLMs that maintain a diversity of writing styles to promote inclusivity in academic discourse.
[ 0.0521606393, 0.06679333, -0.0151730906, -0.0037506316, -0.0367665961, -0.0097520864, 0.0755817965, -0.0401129946, -0.0066300784, -0.0419536531, -0.0251678284, -0.0531036668, 0.016892653, 0.0373983793, 0.0466676466, -0.0192557238, 0.0145434942, 0.0131057752, 0.0720492378, -0.0284775905, 0.0259890612, 0.0412018523, 0.0338492133, 0.0386175476, 0.0596151687, -0.0435231812, 0.0098866224, 0.0109615894, 0.010449267, -0.0070492048, 0.0419336408, 0.0687157065, 0.0018095139, 0.0401899293, 0.0000018463, -0.0784373358, -0.0051366771, 0.0330265015, 0.0461706966, 0.0211503152, 0.0691686943, 0.0148197357, -0.0143639147, 0.0457724705, -0.0163015947, -0.0151142972, 0.0197949447, 0.0455095172, 0.0132731218, 0.0387272611, -0.0097415457, -0.0060257711, 0.0087691983, 0.0042117364, -0.0320874304, 0.0549635701, 0.0181931946, -0.029390173, -0.0119729117, 0.0397643074, 0.028368555, 0.0132811693, -0.034529645, -0.0434365757, 0.0196011681, 0.0126805771, -0.0640158057, -0.0391013511, 0.0249725562, -0.0052259988, 0.0777629688, -0.0133647062, 0.0263233222, -0.0122854095, 0.0164958425, 0.0292284954, -0.0488444865, 0.046839416, -0.0140558518, -0.0433730297, 0.0366230793, 0.0185228288, -0.0301097594, 0.0389890298, -0.0040126075, 0.0483429059, 0.0211583208, -0.0390830487, 0.0042473879, -0.0036920751, 0.0053973319, -0.0784639046, 0.0080540655, 0.0219837837, -0.0078513538, 0.0113264164, -0.0206278767, -0.0597542301, 0.0536919311, -0.0554857068, 0.0029059788, 0.0207240563, 0.0334492512, -0.0263885949, 0.041066587, 0.0323420689, 0.0119180372, -0.0080467965, -0.0139112948, -0.0095833112, -0.0075772665, -0.0368370824, -0.0114563787, -0.0061448673, 0.0038048285, -0.0008164913, -0.0453540273, -0.0250002053, 0.0035056353, -0.0073915236, -0.0087324036, 0.0144054266, -0.0333959609, 0.0286545102, 0.0145983817, 0.038851399, -0.032133732, 0.0090295384, 0.0009654587, -0.0601382516, 0.0109779499, 0.0448580422, -0.0150253689, -0.056815885, 0.0044458988, -0.0106595755, -0.0108859343, -0.0337861478, 0.0064140931, -0.0402884297, -0.004319638, -0.0583574846, 0.0138967428, -0.0744705424, 0.0182405449, 0.0534403324, -0.0051183826, -0.0673033595, 0.0074296948, 0.0464195795, -0.000036984, -0.0276671108, -0.0198256392, 0.0151272453, 0.0883296132, -0.0100194262, 0.0142827407, 0.03157942, 0.0500921942, -0.0129121607, 0.034959469, -0.0170089956, 0.0229753908, 0.0067491774, 0.0035416109, 0.0344114453, -0.0103657013, 0.0179753061, -0.0047789859, 0.0572543219, 0.0452949256, 0.0643130615, 0.0082294289, 0.0091296984, 0.0706348419, 0.0837749094, 0.0015826717, 0.0499850847, 0.0203372519, 0.0237502716, 0.0549863763, 0.0275848638, -0.0097079361, 0.0169675127, 0.0320689343, 0.0157454275, 0.0031306797, 0.0563047379, -0.0096679963, -0.0464605391, -0.0415730365, 0.0466889143, -0.008470797, -0.0230740048, -0.0043736696, -0.0077051385, -0.0012803962, -0.0080351215, 0.030572217, -0.081902802, -0.0144766159, -0.0042390996, 0.0331296511, 0.0633092672, 0.0414023548, -0.0114053171, -0.0059662526, -0.0312566347, -0.021275606, 0.0822961405, 0.0411789976, 0.0211168714, -0.0308550075, -0.0401913039, 0.0075531653, -0.0092447298, 0.0026377663, 0.016199531, 0.0261281747, 0.0444595702, 0.0183141176, -0.0084695136, -0.0832422078, 0.0325540043, -0.1075631082, -0.0230850242, -0.0119686769, -0.0337389819, 0.0170187037, 0.0059929229, -0.0480241403, 0.041032996, -0.0182687696, -0.0236801077, -0.0213377532, 0.049672462, -0.0132079907, 0.0233715121, 0.0110981343, -0.0688086897, -0.0009559134, 0.0128303021, 0.0430745594, -0.0098673552, 0.0425839387, -0.0369982161, -0.0149531867, -0.0094530964, 0.0016916371, -0.0287663173, 0.0170361884, -0.0373950005, 0.0153265772, -0.0030338566, 0.0143839931, 0.0285987984, -0.039776314, 0.0019766393, -0.0546247959, -0.0312690325, 0.0165855605, 0.015525911, -0.007058315, 0.0370604433, -0.0345235653, -0.0269036517, -0.0590729378, -0.0694450438, 0.0202531498, -0.0014245383, 0.0112545714, -0.0030024305, -0.0224048812, -0.0321387835, 0.0535829999, -0.0302611999, -0.0661364123, 0.0047221826, 0.0105326138, 0.0668685585, -0.0344196558, 0.0128789991, -0.0716375336, -0.0226823371, -0.0503015406, 0.0463410579, 0.0677894726, 0.0214765985, -0.0267765597, 0.0308226421, -0.0229897518, -0.0567726642, -0.0123119261, -0.029541241, 0.0263581704, 0.0194224268, 0.0597654916, 0.0975259319, 0.0518685356, 0.0363193639, 0.0482514352, 0.0247539766, -0.0077196136, -0.0307855271, 0.0171679165, 0.037647821, 0.0238652322, -0.1012214422, 0.0462586135, 0.0228150003, 0.0087904604, -0.0147833442, -0.0111232102, 0.0520496406, -0.0369488113, -0.0448226631, 0.0346578136, -0.0267242119, -0.0095535032, 0.0206562784, 0.0094523141, -0.0118297311, 0.0306493565, -0.0345321074, 0.0152110439, -0.0632283688, -0.0212971941, -0.0611017197, 0.0202958286, -0.0187293887, 0.0120920837, 0.0461361036, 0.0090333866, -0.071309492, -0.0378212444, 0.0141398339, -0.0138126267, 0.0117713371, -0.0280275904, -0.0214261785, -0.0126511343, 0.0052183922, -0.0148967113, -0.0607321523, 0.0003364584, 0.029952094, 0.0762335882, -0.0579709336, -0.0481731594, -0.0023070464, 0.0624931604, 0.0328252167, -0.0652183816, -0.009745786, -0.0178912599, 0.0022444872, 0.0768776461, -0.0026286901, 0.0306234807, -0.0809622109, -0.0008365824, 0.0243499689, -0.0464891568, 0.0199641194, -0.003513573, -0.053472694, 0.0243169591, -0.0710338056, -0.0513185598, -0.0211731866, 0.0667396262, -0.0233612489, 0.0009591486, 0.1433056295, 0.0067405812, -0.0298041776, -0.0157903619, -0.0524659939, 0.0565643162, 0.026943231, 0.0515196435, -0.0131001621, 0.0369576067, -0.0076941294, 0.017843429, -0.0586325079, -0.0340345427, -0.0378679484, -0.0800103545, 0.020542711, 0.0215321109, -0.028024694, 0.0262234136, -0.0280188024, -0.0081460252, 0.0129304258, 0.0024758142, 0.0091055091, -0.0269650631, 0.017403625, 0.0317825042, -0.0766973123, -0.0309527647, -0.0136307925, -0.0522532202, 0.0322465338, -0.0023165469, 0.0661279038, -0.044971291, -0.0065138126, -0.0351041518, -0.0060452027, 0.0004956142, 0.0026328138, 0.0217860173, -0.040861547, 0.0209935121, -0.0815912858, 0.0667789429, 0.0311662294, 0.0063253287, 0.0365972891, 0.0272897668, 0.0074096951, -0.0263466425, -0.0959928408, 0.0170461368, 0.0065595587, 0.0681651011, 0.0197623726, -0.0501704514, -0.0442451835, -0.0175288469, 0.0215103999, 0.0289012454, -0.0489115566, -0.0235240664, -0.0167922303, -0.0156257972, -0.0411743261, -0.09162049, 0.0046855113, 0.0043650502, 0.005145553, -0.0280061308, 0.0182198435, -0.0226703305, -0.0591236353, 0.006343869, 0.0099047329, 0.0341741517, -0.0021699697, -0.0160419624, 0.00371333, -0.0290655941, 0.0000667974, 0.0298459176, -0.0032087706, -0.0508774593, 0.0333816782, -0.00427619, 0.0228386484, -0.0115434648, 0.0324291699, -0.0481808931, 0.0079026995, 0.0164693333, 0.0277331285, 0.0538396165, -0.0285513494, 0.0112579698, 0.0014974549, 0.0032625599, 0.0020536499, 0.0100208987, -0.0049515585, -0.0054577324, -0.013125726, -0.0550264232, 0.009920653, 0.0475259535, -0.0381796733, -0.0641128123, 0.0466572605, -0.0436511151, -0.0340309106, -0.0844410434, -0.0171485879, -0.0132516176, -0.0347269773, -0.0014916038, 0.02815146, -0.02089216, 0.0188822504, -0.0649580881, 0.0122190574, -0.0460946895, 0.0460399091, -0.025797287, 0.0439275466, 0.0010309925, -0.012137169, -0.0353341512, -0.0209437888, -0.0626963899, 0.0434352458, 0.0461406782, 0.0361624323, 0.0019783054, 0.0138478642, -0.0089552021, 0.0144056696, -0.0859523043, 0.0004357795, -0.0103789736, 0.0102044726, -0.0350552574, -0.0194366053, 0.0843496844, -0.0265353173, 0.0125344954, -0.0246242154, 0.0482605472, 0.0260972138, 0.0139020374, 0.0159339327, -0.0016980913, -0.0150062498, -0.061260391, 0.0701582581, 0.0646136999, -0.019781528, -0.0037093088, -0.0423313454, -0.001777441, -0.0196446199, 0.0239334553, -0.0157655682, 0.0171142258, -0.0276508331, -0.0988936871, -0.0252200607, 0.0491637699, -0.0116075696, 0.0083931768, -0.06165649, -0.0133527396, 0.0535447858, -0.020805195, -0.057862509, -0.0554498136, 0.0517148264, -0.0370259173, -0.0125315962, -0.0122337053, -6.022435554e-33, -0.0357262865, -0.0602619462, 0.0066393605, 0.0176635683, -0.0495132692, 0.0025718065, -0.0519524068, 0.0022679653, -0.0127030276, 0.0419791117, -0.0373729132, 0.0199597608, -0.0015780956, 0.0117536206, 0.0316759869, 0.0582418852, 0.0508689061, -0.0028155455, -0.0480094701, -0.0264520105, 0.0127094192, -0.0145730879, 0.0092520062, -0.0507309213, 0.0762835741, -0.0746926963, 0.0186722558, -0.0256703775, -0.0043424023, 0.0078749983, -0.0074583651, 0.0309601277, 0.010193022, -0.0248982962, -0.0037625022, 0.0476533026, -0.0120842308, -0.0352284797, 0.0378705561, 0.0091949767, 0.0281647444, -0.0529413745, 0.0515715852, 0.002403276, -0.0653720573, -0.0455315746, 0.0902103111, 0.013793828, 0.0172859002, -0.0416956805, -0.0786886141, 0.0255329479, -0.0203994028, 0.0446614586, -0.0407661349, 0.0080682505, -0.0188069679, 0.009266464, -0.0344284251, 0.0081114341, -0.0081692655, -0.001035688, -0.0020469476, 0.0084861917, 0.0180041268, 0.0477201603, 0.0486250892, 0.0837174132, -0.0030955158, -0.0238972157, 0.0314375982, -0.0093245329, 0.0368964002, 0.0679343641, -0.0006792645, -0.0010409494, -0.0280502811, -0.0129932137, 0.0270947758, -0.0132484306, 0.0388889536, -0.0352831781, -0.043047756, -0.0503652506, -0.0010819685, -0.0184623245, 0.0211228877, -0.0110029913, -0.0007696326, -0.0356292389, -0.0273919627, -0.0158911403, -0.004142486, -0.0263438672, -0.023866849, 0.0182994418, -0.0565523915, 0.0237102695, -0.0112280734, 0.0286820903, -0.0779295042, 0.0153000699, -0.0189440344, 0.0528887287, 0.0233615469, 0.0294171963, 0.0036258604, 0.0099230586, -0.0543927774, -0.03727521, 0.0078120213, 0.015370518, 0.0137428874, 0.0127288913, -0.0171658117, 0.0215980634, 0.019915672, 0.0135937538, 0.0328432247, 0.0140590081, -0.0285734423, -0.0269740466, 0.0155213289, 0.0044158529, -0.0117230071, 0.0109998593, -0.0230664089, 0.0257395506, 0.0409871377, -0.038942758, 0.0039347121, -0.0563168004, 2.64e-7, 0.0340891555, 0.0723451525, -0.0030568806, 0.0279002469, 0.0283462498, 0.0269490387, 0.0157508273, 0.0578913279, 0.0434221849, 0.0315387137, -0.0121818995, 0.0330410115, 0.0097839301, 0.0576504953, -0.0547781102, 0.0180153195, -0.0963125005, -0.0185020491, -0.0411040001, 0.0198871773, 0.0274347793, -0.0167775247, -0.0029272756, 0.0007412294, -0.0342352577, -0.0032481621, 0.0402048081, 0.0224555153, -0.0139405904, 0.0739002302, 0.0128464578, -0.0086220866, 0.0392167941, 0.0173966046, 0.0069011012, 0.0114562297, 0.0177795663, 0.0441066511, -0.0141134532, 0.0395101234, 0.0708563551, -0.0010803901, -0.021715669, -0.0386020653, 0.0408965982, 0.0220083296, -0.0482860208, -0.0812278241, -0.0309516136, -0.0316001438, 0.0564148724, -0.0155706005, -0.0049976003, 0.0390706398, -0.0036315771, -0.0308691896, 0.0093756644, -0.0081963791, -0.0277902652, -0.009010247, -0.0143585717, -0.061702095, -0.0252433252, 0.0049932767, 0.0030640466, -0.0502322167, 0.0298336372, 2.629455278e-34, 0.0491920151, 0.0271745939, -0.0122173987, 0.023621222, 0.0300749261, 0.0048963265, 0.0163245313, 0.0255734585, 0.0533974506, -0.0144744702, 0.004614952 ]
http://arxiv.org/abs/2406.19493v1
http://arxiv.org/pdf/2406.19493v1
Development and Evaluation of a Retrieval-Augmented Generation Tool for Creating SAPPhIRE Models of Artificial Systems
2024-06-27T19:20:09
2024-06-27T19:20:09
Anubhab Majumder, Kausik Bhattacharya, Amaresh Chakrabarti
cs.CL
cs.CL, cs.AI
Representing systems using the SAPPhIRE causality model is found useful in supporting design-by-analogy. However, creating a SAPPhIRE model of artificial or biological systems is an effort-intensive process that requires human experts to source technical knowledge from multiple technical documents regarding how the system works. This research investigates how to leverage Large Language Models (LLMs) in creating structured descriptions of systems using the SAPPhIRE model of causality. This paper, the second part of the two-part research, presents a new Retrieval-Augmented Generation (RAG) tool for generating information related to SAPPhIRE constructs of artificial systems and reports the results from a preliminary evaluation of the tool's success - focusing on the factual accuracy and reliability of outcomes.
[ 0.0210828818, 0.0327520557, -0.0480598696, 0.0143558271, -0.037531361, -0.0262556635, 0.0010450516, -0.0024212291, -0.0295040123, -0.0526645593, 0.0039247861, 0.0297663398, -0.0270883497, 0.0467201807, 0.0388549864, -0.0130062448, 0.033204034, 0.0157268215, 0.0023224063, 0.0103636188, 0.0062592616, 0.0085976543, 0.0063737407, 0.0649345294, -0.0225634966, -0.0019222858, -0.0243235417, 0.0391750336, 0.0129548749, -0.0748170689, -0.0413122289, 0.0019600412, 0.0438512452, 0.0390018187, 0.0000019207, -0.0898729041, -0.0178221148, 0.0413805842, -0.0219418108, -0.0090195276, 0.0237636138, -0.0040250081, 0.0225237012, 0.006268153, 0.0011721037, -0.0104216915, 0.0493357927, 0.0084390212, 0.0254414473, 0.0334194377, -0.0110990023, -0.0574360378, 0.0606504343, 0.0239400342, -0.015515158, 0.0005527068, -0.0014483531, 0.0967665389, 0.1026656479, 0.0340443514, 0.0416578539, 0.0387193337, 0.023601301, -0.0316066034, 0.0444814675, -0.0133853601, 0.0102999751, -0.0059591243, 0.0311878771, 0.0356737822, 0.0957695618, -0.0451997891, -0.0036855172, -0.0082777217, 0.0062825019, 0.0705040246, -0.0689148232, 0.0318627954, -0.0013450725, 0.0034989126, 0.0207319614, -0.0207959339, 0.0434129164, -0.0152695365, -0.0224192757, 0.0280532539, 0.0237841774, -0.0243298467, -0.0581247061, -0.0380644202, 0.0598405525, -0.015446201, -0.0290544741, 0.0559341572, -0.0381814949, 0.010039893, 0.0062366342, 0.0037507506, 0.0292024296, -0.0358461924, 0.0579135641, 0.0155653367, 0.0396180041, -0.008352627, -0.0225176327, 0.0338750035, -0.0193519536, -0.0079585593, -0.0616024099, 0.0138737056, -0.1045044661, -0.0557985865, -0.0162110198, 0.0471343696, -0.0297073666, -0.0163011625, -0.0335657485, 0.0522804484, -0.0196634419, -0.0049503548, -0.0566040501, -0.0063650361, 0.0148446066, 0.0170082469, -0.0405992121, -0.0385401584, -0.0239781309, 0.020041842, -0.0040443963, -0.0698194206, 0.0055887126, 0.0137205785, -0.0352484621, 0.0153268529, -0.0422808267, 0.0943933204, 0.030762529, -0.0059583574, -0.0426657461, -0.0583154298, 0.0381820053, -0.024935551, -0.0152355097, -0.0550151803, -0.0193615165, 0.0514231883, -0.0010934544, 0.0136985099, 0.0251384284, 0.0070557198, 0.0063929628, 0.0258875564, -0.0546068735, 0.0376508646, 0.014196841, -0.0050712484, 0.037280634, 0.0279856212, 0.04879779, -0.0020131429, -0.0011757027, -0.0116276583, 0.0435509905, -0.0039966768, -0.0462818928, -0.0528640598, -0.0685158074, 0.0025648596, -0.0023391419, 0.0249857381, -0.0245303512, 0.0069397925, -0.0377857536, 0.0766477659, 0.0221381877, 0.0053666933, 0.0650080144, 0.0880636275, 0.0885805562, -0.0081901662, 0.0232874434, -0.0176560208, 0.0062404219, 0.0220053252, -0.0290871039, 0.0397041999, -0.0241892636, 0.0108937016, -0.0081881899, -0.0549061969, -0.0300682504, 0.0096331686, -0.0458990373, -0.0448026061, 0.0571702495, 0.0018136827, -0.0160228144, 0.0105429729, -0.002199491, -0.0343774036, 0.0000841053, -0.0584324412, 0.0299211331, 0.1131656617, 0.0855858475, -0.0800223276, 0.0026902193, 0.02072699, -0.0759443566, 0.0313882828, 0.0305614732, -0.0271232948, -0.0841431022, -0.02726187, -0.0286840927, -0.0377397649, 0.0009013438, 0.0389694534, -0.041378174, -0.0021012842, 0.0234991852, 0.0266599134, -0.0773851052, 0.0099407528, -0.0372284465, -0.0189648196, -0.044387117, -0.0161954127, 0.0061376109, 0.0610212348, -0.046563901, 0.0703557283, 0.0549906865, -0.0454472564, -0.0256799888, 0.0188305825, -0.0009450043, 0.0689776242, 0.0041241506, -0.0422608443, 0.0451389998, 0.0524979867, 0.0244902708, -0.0748345777, 0.0558221303, -0.0482977331, 0.052812364, -0.0235808715, 0.0230347253, -0.0027308154, -0.013845996, -0.0353259854, 0.0506719872, 0.0333610438, 0.0041084718, 0.0009848563, -0.012122076, 0.0564358458, -0.0453737788, 0.0059058587, 0.0288140457, -0.0137284696, 0.0228902083, 0.0810674727, -0.0424744971, -0.0201549213, 0.004159939, -0.0477137193, -0.0493788049, 0.0244496539, 0.0141325025, 0.00896475, -0.0164745748, -0.0025053497, 0.0132582132, 0.0067692767, 0.0123653105, -0.0105495714, -0.018508926, 0.0380902663, 0.0075237877, -0.0727048963, -0.0249169022, -0.0182047635, -0.0517810583, 0.0664035976, 0.0834074467, -0.0219278019, -0.1017362699, 0.0188287292, -0.004466698, -0.027577579, 0.0074340878, -0.0001031807, 0.0376289263, -0.0067035444, 0.032524664, 0.0078500025, -0.004605148, 0.0279118698, 0.0438214317, -0.0218895078, -0.0373150073, -0.0068723499, -0.0302798003, -0.0031339594, 0.0067936452, -0.0291031171, -0.0051022754, 0.002763791, -0.007666368, -0.0114317453, 0.0017929287, 0.0373203978, -0.0001526477, -0.0213829223, -0.0313494243, -0.0680393204, -0.0018065562, 0.0396648049, 0.0052599865, -0.0823979005, 0.0520008989, -0.0203256421, 0.0474090837, -0.0161340013, -0.0161933806, -0.0360020846, 0.0517281294, 0.0003465429, 0.0348206833, 0.0313735791, 0.0200995393, -0.0232633762, -0.0278063212, 0.0054850089, -0.0022865292, -0.0105183674, -0.0512320735, 0.0273127276, 0.001042685, 0.0041803578, -0.0524333343, 0.0054674819, -0.003390884, 0.0732760951, 0.0170579515, 0.0063827932, -0.0611557662, 0.0416156314, 0.0722475201, -0.0202113949, 0.0093301861, -0.0281272177, -0.0219199508, 0.0004290228, 0.0101224547, -0.0651462674, 0.0547546111, -0.0110868132, 0.0493596345, -0.0283832587, 0.0148231061, 0.0200352222, -0.0579858683, -0.0167627633, 0.0147599662, -0.006941549, -0.028469203, 0.028699927, -0.0314426832, -0.0395682715, -0.0113738906, 0.0505389385, 0.0309607424, -0.0354575329, 0.0294912178, -0.024894258, -0.0573039539, 0.0527574308, 0.0444367453, -0.0695129931, 0.0416323803, -0.0223737452, 0.0076405131, -0.0198537763, -0.0035907738, -0.0124936346, -0.0754752681, 0.036199104, 0.0067317006, -0.0434328951, -0.0036725977, -0.038994018, -0.0358198024, 0.0480629802, -0.0345031023, 0.0511485711, -0.0233354736, -0.0032382747, 0.0066172588, -0.0259629861, -0.0344192833, -0.0153738335, 0.0133525385, 0.0224942211, 0.0600348487, 0.02622924, -0.0264721084, -0.0222929064, 0.0174041949, 0.0025550551, 0.0735886171, -0.0264746714, -0.0549212508, 0.0407786109, -0.0067170435, -0.0199816804, -0.002986924, -0.0009922846, -0.0449757688, -0.0120245721, 0.0708207265, -0.0176942237, 0.0071450276, -0.0733648464, -0.0451492779, -0.0003204059, 0.0295814406, 0.0141255669, 0.0109488647, -0.0254588015, 0.0174105652, -0.0087917438, -0.0063582608, -0.0077952147, -0.0332588963, -0.0343464017, 0.0103017204, -0.0463850014, -0.0168676246, -0.0195666067, 0.016004784, 0.0261377096, -0.0036634488, 0.0178939588, -0.0301539339, -0.0336784385, 0.0345723145, -0.0151492422, 0.0066345097, -0.0110152243, -0.0512291901, 0.0392792523, -0.0574586019, -0.0184143353, 0.0285514928, 0.0876690969, -0.023278147, -0.013589262, 0.057154309, 0.0320198722, -0.0366728157, 0.0172713548, -0.02689269, 0.0125545794, 0.007124559, -0.0201802738, -0.0061375694, -0.0363316312, 0.0041767503, -0.0174673051, -0.0236821286, -0.0370930433, 0.0447344109, -0.006982496, 0.0403858498, 0.0204099864, -0.0295242313, 0.0356060602, 0.0551408008, 0.0026781715, -0.0195951052, 0.0074299905, -0.0007653447, 0.0233828016, -0.078274034, -0.0237077121, -0.0457566753, 0.0247806292, -0.0041854964, -0.0015989135, 0.0383186638, -0.0478464849, -0.0336427577, 0.0036073234, 0.0047030952, 0.0229320899, 0.0246093087, 0.0416362472, -0.001461683, -0.0229681712, -0.0219474044, -0.0034911081, -0.0517306179, 0.0201090369, -0.0133827003, 0.0575447418, 0.0116927149, 0.0343297943, -0.0349736102, 0.015899051, -0.0383022465, -0.0610163435, -0.0132841235, -0.0392899029, 0.0510189831, 0.0205718912, 0.0177358929, -0.0366065688, -0.0000810437, -0.0079369321, 0.0457297675, 0.0176641252, 0.0004976431, -0.0079868976, 0.0553966947, -0.0324326754, -0.0503363498, 0.0486251228, 0.022913022, 0.0127776694, -0.0895661712, -0.0448435359, -0.0136769116, -0.0103174653, 0.0097864196, 0.0085743116, -0.0226166341, -0.03662581, -0.1259202361, -0.0336039811, 0.0160846356, 0.0561167002, 0.018393958, -0.0093249483, 0.0347399935, 0.0585769601, 0.0271709617, -0.0705755353, 0.0016424267, 0.008235205, -0.0792901888, -0.0014023945, -0.017364312, -5.611605054e-33, -0.0254614856, -0.0407340415, 0.0626657158, -0.0097689871, -0.011781889, 0.0074425712, -0.0609958284, -0.019407412, 0.0035501425, 0.0074742008, 0.0210774839, -0.0222638994, -0.0042454102, -0.0157309882, 0.0171213932, 0.0410111658, 0.0423040502, 0.0275176577, -0.0369762965, 0.0333659463, 0.0695134401, -0.0074280463, 0.0159828383, -0.0669772923, 0.037123993, -0.0344468318, 0.0191233028, -0.0068838932, -0.0282566492, 0.0391437933, -0.0141491294, 0.0333245732, 0.0118905315, -0.0243843161, -0.00951894, 0.0232661422, -0.0091477651, -0.0014761004, 0.050595969, -0.0460052788, 0.005213405, -0.0473733768, 0.0377936512, -0.022186419, -0.0390567705, 0.0636678338, 0.0533716604, -0.0367104374, -0.0181311946, -0.0381753445, -0.1195446923, 0.0030160705, -0.0308313034, 0.040515095, 0.0077314493, 0.01556304, -0.0094577195, 0.0209048875, 0.0332887918, 0.0299164671, 0.0080547649, 0.0177591983, 0.0659110919, 0.0466578826, 0.0538051054, 0.0320295542, 0.0369735546, 0.0047218832, 0.011426826, 0.0031504519, -0.001740537, 0.059346538, 0.0639050007, 0.0319317318, -0.0169077106, 0.0005239005, -0.0927908793, 0.0093773883, -0.0530480742, 0.0653118864, 0.0545605607, 0.0164135247, -0.0224176664, -0.0190215837, -0.0250524152, 0.0155415274, -0.0352102965, -0.0247926805, 0.018241711, -0.0073201582, -0.0339388475, 0.0122773629, 0.0020291756, -0.0415602811, 0.0008568022, 0.0250489432, 0.0024712416, -0.0062534623, -0.0380551964, -0.0194820743, -0.0447736904, -0.0344103687, -0.0132421255, 0.0326200686, 0.0380629636, 0.0077555822, -0.013281011, 0.0201146286, -0.0139487498, 0.0150775481, -0.0240987372, -0.0467386395, -0.0108126663, -0.0927908644, 0.0210159011, 0.0321239419, -0.0018365887, 0.0160254017, 0.0027430891, 0.0099595971, 0.0039532161, -0.021858843, -0.0142099401, 0.0289415866, 0.0187391732, 0.0143633028, -0.0533380881, 0.0921065435, 0.0565978847, -0.003164171, -0.0285698753, 0.0486848988, 2.855e-7, 0.0439826995, 0.0355253331, 0.0177344289, 0.0427371077, 0.0101322504, -0.0067194975, -0.000668363, -0.0193005763, 0.0231114589, 0.0224025398, 0.0144569874, 0.0127940336, 0.0238604695, -0.0053721392, -0.0553535111, -0.0000427016, -0.0309280008, -0.0127882659, -0.0342841856, 0.0370445289, 0.0987663195, -0.0119439336, -0.0008855964, -0.0094294399, -0.040156085, -0.0609737225, 0.0326615758, -0.0113060726, 0.0071731876, 0.0447435342, -0.004020832, 0.0265523717, -0.0054215505, 0.0256336108, 0.0098622637, 0.0055914894, -0.0238254219, -0.0226672236, -0.0203088764, 0.0245459396, 0.0298226885, -0.0359791107, 0.0138613153, -0.0460313298, 0.0030558633, 0.0033098392, -0.0088420855, 0.0099011119, -0.0457550324, 0.0054770107, -0.0288952775, -0.0199072696, 0.031103719, 0.0262195263, -0.0596538335, 0.0166918468, 0.0189929493, -0.0415602103, 0.0123583758, 0.0397931822, -0.014566957, -0.0719908699, -0.0304742865, -0.0067671724, 0.0132426005, -0.0194861609, 0.0330618843, 2.400860197e-34, 0.0267815031, -0.007863095, 0.0066471198, 0.0358683281, 0.0313100442, 0.0016637249, -0.0490316711, 0.0383015238, 0.0221667718, -0.0874575302, -0.0320186168 ]
http://arxiv.org/abs/2406.19486v1
http://arxiv.org/pdf/2406.19486v1
LoPT: Low-Rank Prompt Tuning for Parameter Efficient Language Models
2024-06-27T19:02:41
2024-06-27T19:02:41
Shouchang Guo, Sonam Damani, Keng-hao Chang
cs.CL
cs.CL, cs.AI, cs.ET, cs.LG, eess.SP
In prompt tuning, a prefix or suffix text is added to the prompt, and the embeddings (soft prompts) or token indices (hard prompts) of the prefix/suffix are optimized to gain more control over language models for specific tasks. This approach eliminates the need for hand-crafted prompt engineering or explicit model fine-tuning. Prompt tuning is significantly more parameter-efficient than model fine-tuning, as it involves optimizing partial inputs of language models to produce desired outputs. In this work, we aim to further reduce the amount of trainable parameters required for a language model to perform well on specific tasks. We propose Low-rank Prompt Tuning (LoPT), a low-rank model for prompts that achieves efficient prompt optimization. The proposed method demonstrates similar outcomes to full parameter prompt tuning while reducing the number of trainable parameters by a factor of 5. It also provides promising results compared to the state-of-the-art methods that would require 10 to 20 times more parameters.
[ 0.0367379636, 0.0326591209, -0.0093773287, 0.0323267654, 0.0055402536, 0.0062918114, 0.0134355053, 0.0143059567, -0.0180890635, -0.0297194179, -0.0398486629, -0.0106452042, 0.0040271236, 0.0461993702, 0.0383939929, -0.0871533602, 0.0776734129, -0.0376016833, -0.0116859861, -0.0022538644, -0.0156214619, -0.0012318919, 0.0022837173, 0.048987411, 0.0122544393, -0.0115786027, -0.0277921949, 0.0382577628, -0.0010784168, 0.0167746171, 0.0230449736, 0.0785601586, 0.0031042912, 0.0333686396, 0.0000020295, -0.04437631, -0.032712739, -0.0335736535, -0.0422713347, 0.0315393768, 0.033871267, -0.0025955427, -0.0413177274, 0.0457151122, 0.0079412879, -0.0068715992, 0.0593243055, 0.0104144858, 0.0485237539, 0.0803776383, 0.0049711, 0.0116384784, -0.0306147803, -0.043898236, -0.0336027667, -0.0233326666, -0.006940471, -0.0743026659, 0.0090059321, 0.0498752967, -0.0246643331, 0.0146624213, -0.0092688184, -0.0090543469, -0.0112012541, 0.0158595126, -0.0046859067, -0.0367811397, -0.029322736, 0.062227428, -0.0873738825, -0.0363710187, 0.0060607386, -0.0360091142, 0.0406068899, -0.0440487638, -0.0141613977, 0.0185367577, 0.0237064883, 0.0004367144, 0.0188067667, -0.0047457935, 0.007930181, -0.0044427682, -0.0082106562, 0.0596058965, 0.0500439852, -0.0183861777, -0.03385254, -0.042028591, -0.0162748415, -0.0551164225, -0.0141176712, 0.0235435423, -0.0702427104, 0.0158162136, -0.044788003, -0.0133423219, 0.0286117252, 0.0044008521, 0.033940874, 0.0564981848, -0.0095347855, 0.0342325792, -0.0525239967, 0.0645840168, 0.028391147, 0.013432838, -0.0527600534, 0.0119213648, -0.0000893831, 0.0044470527, -0.081074968, -0.021797562, -0.0499808379, -0.0105641969, -0.0061272564, 0.043843966, 0.0284262225, 0.0191050097, 0.0213461034, -0.0079948818, -0.0502049848, -0.0246343408, 0.0118445354, 0.0118138138, -0.0443449058, -0.0052437433, 0.0037612095, -0.0379024148, -0.0150419651, -0.0040564737, 0.0346215628, -0.0247983243, 0.0113016898, 0.0394196138, -0.0170368664, -0.0291730594, -0.0085444637, -0.0011982884, 0.0111481911, -0.0405812226, -0.0354328267, -0.0316010863, 0.0078396425, -0.0038947004, 0.026393488, -0.0309177488, -0.0182369351, 0.0075904448, -0.0257111937, 0.0629324913, -0.0171786994, 0.0097905872, 0.0262499247, 0.0017071641, -0.0050400253, 0.060801357, 0.0052001425, 0.0558127426, 0.0445335284, -0.0172457602, -0.0209624469, 0.0563805513, 0.0112171806, 0.0152331199, -0.0054479036, -0.0094555533, 0.0782886073, 0.0057327668, 0.0315793082, 0.0464988723, 0.0036195093, -0.0106167207, 0.0451922975, 0.0150415581, 0.0426939279, -0.0105558727, 0.0767893791, -0.0016000968, -0.0198050272, -0.0164995212, -0.047194194, -0.0038106688, -0.0493288487, 0.021673644, 0.0092631811, 0.0467934534, -0.034907151, -0.0308520161, -0.0083072074, -0.0138817681, -0.0068950388, 0.0124592558, 0.010157587, 0.0054085436, -0.0789508447, 0.0321961641, 0.0223926567, -0.0401726551, -0.0145541728, -0.0509379916, 0.0186633971, 0.0480657071, 0.0118525522, -0.0129558006, -0.0217712056, -0.00857649, 0.0420209616, 0.0304305851, 0.0812120736, -0.0213509835, 0.0265438817, -0.0337065719, -0.0303421132, 0.0158524755, 0.0238539185, 0.0606677681, -0.0181540959, -0.0125222206, 0.0178547222, 0.0117511218, -0.0310424063, 0.0396560803, -0.0242734775, -0.032622166, 0.0120957047, 0.0314895771, 0.0115992669, 0.0002191903, 0.0054579694, 0.008173394, 0.0108911144, -0.0120356195, 0.0433318354, -0.0385966413, -0.0397876799, -0.0334660672, 0.0165054612, 0.0396490842, 0.0026663425, 0.0356702209, -0.0379267223, -0.0653377324, -0.0332503282, -0.0302270763, 0.0164519623, -0.0341379866, 0.0541675128, -0.0312578082, 0.0063544489, -0.0728212595, 0.0289196391, 0.017125912, 0.0460906439, 0.0806289762, 0.0641676113, 0.0205688421, -0.0614390932, -0.0731984153, 0.0243681278, -0.0065084137, 0.0076675075, 0.041808065, 0.0324552394, -0.0014968937, -0.0459118262, -0.0936974064, 0.0057441061, -0.0451183766, -0.029092595, 0.0129315434, 0.0164175145, -0.0304171145, -0.0376249254, -0.0312626585, -0.0091528827, 0.0124190226, 0.0452674404, 0.0236622598, 0.0222554747, -0.054840669, -0.051760681, -0.0192784723, 0.0020755655, 0.0201040804, -0.0170802921, -0.014812639, -0.0826205835, 0.0439508744, -0.0151615888, 0.0471021421, -0.0047516231, -0.0443093069, -0.0137076061, -0.0300490446, 0.0614187382, 0.0716541037, 0.0166571569, -0.0044602896, 0.0532078706, 0.0168484598, -0.0582408644, 0.0136834336, -0.0326204747, -0.0391851254, 0.0061770738, -0.0067497538, 0.0156498514, 0.0675338209, -0.003773069, -0.0149158221, -0.0891377404, 0.030150095, 0.0072330534, -0.0050717667, -0.0659892559, -0.00122138, -0.0276175253, 0.0444623493, -0.0208834391, -0.0594467856, 0.0637470782, -0.06684497, -0.014836356, -0.021195583, -0.0022468911, -0.0199578367, 0.0120398756, 0.0111705884, 0.047275722, 0.0275991298, -0.0487352535, -0.0588380396, 0.0321621113, 0.0277355723, -0.0159673952, 0.0198118165, 0.0058035003, -0.0099040689, -0.0415355042, -0.0634160563, -0.0410809889, -0.0502908863, 0.0104206437, 0.0397565737, 0.0307228696, -0.024450969, 0.0173127744, 0.0222705211, -0.0043036039, 0.0767372623, -0.0362450406, 0.0276986696, -0.0468569435, -0.0030298897, 0.0685526878, 0.0240065549, 0.007950508, -0.0163107924, 0.0535965711, -0.0170963164, 0.0247664079, -0.0100264503, -0.022488242, 0.0403522365, 0.0540807247, -0.0551443137, -0.035735976, 0.0512818657, 0.0232770722, -0.0309427045, -0.0090994788, 0.1226207539, 0.0338410363, -0.0383860655, 0.0107512996, -0.0026989111, 0.0697691888, 0.0434698686, 0.0516031794, -0.0513882414, -0.020087488, 0.0279958397, 0.0053870864, 0.0028891484, 0.0071957419, -0.0306644347, -0.1212541237, 0.0252317246, 0.0154443989, 0.0020215211, -0.0364093594, -0.0438396446, -0.0088581098, 0.0132589648, 0.0380224399, 0.0512450971, -0.021694025, -0.0057799639, 0.020368062, 0.0042636846, -0.0660839826, 0.0124377487, -0.0411659926, 0.0689119101, 0.0290575773, 0.0120078716, 0.0101145282, -0.0379842035, 0.026453983, -0.0193819534, 0.0075810766, -0.0248939376, -0.0172734167, -0.0102487626, -0.0177667774, 0.0455479473, 0.0056936485, 0.0003270408, 0.002979514, -0.0168557614, 0.046070803, -0.011238724, 0.0358986408, -0.0000307307, -0.0250763297, 0.0319005772, 0.0615111999, 0.0423661433, -0.0401188694, -0.0125757558, -0.0414496623, -0.022529386, -0.0235409234, -0.0125323432, -0.0071083196, -0.0233130604, -0.0086448044, -0.0520517677, -0.0159454271, 0.0261230748, 0.0539797954, 0.0041160518, 0.0065378132, -0.0641124323, 0.0171165075, -0.0195062235, 0.0473007299, -0.0169430822, 0.0134574762, -0.1147802398, -0.0085781934, 0.0431752056, -0.0378817245, -0.0258195661, 0.0077892174, -0.0265090205, -0.0611075759, -0.0186113343, 0.0635708794, 0.0192030743, 0.0351832733, -0.0440774634, -0.0665289834, 0.0208941698, -0.0024229065, 0.0039302171, 0.0219922364, 0.0342466459, 0.0014629377, -0.0234089363, 0.0393193588, -0.0572969317, 0.0125832437, 0.0408557169, 0.0284804422, -0.0145776374, -0.057676062, 0.0148483608, 0.0289569236, 0.0473222919, -0.036132656, -0.0444540344, -0.0681233406, 0.0336717777, -0.0380754583, -0.0142390234, -0.0278674662, 0.044277072, 0.0128529537, -0.0104513709, 0.0027814496, -0.0305742156, -0.0115477778, 0.0450639725, -0.0519682541, 0.0014064922, -0.0258463323, 0.0134573923, 0.0432688184, 0.0137474686, -0.0209006779, 0.0481332839, 0.0115218526, 0.0014875828, -0.0303963665, 0.0227958634, 0.028671613, 0.019451391, -0.0709584728, 0.0808967799, -0.0270356908, -0.0613362342, -0.0399695747, 0.0166728701, 0.0615710989, 0.0134297423, 0.026303431, -0.0000713844, -0.0238662213, -0.0150935277, 0.0020923179, 0.0678455755, -0.0649351329, 0.0320810191, 0.0286787245, -0.0245712418, -0.0041565225, 0.0499598309, 0.0299327709, 0.0358783565, -0.0150242858, 0.019786451, -0.044804845, 0.0227858797, 0.0142448284, 0.0286435988, -0.0423696488, 0.023383338, -0.0274468623, -0.0398070626, -0.0022644249, 0.0260492954, -0.0274969246, 0.0195961706, 0.0442886092, 0.0458138958, -0.0217861328, -0.0011886476, -0.055990085, -0.0546152815, 0.0330131426, -0.0393601097, -0.0058190473, -6.056624073e-33, -0.0623375289, 0.0248669982, 0.0015318843, 0.0009550115, 0.0047503719, 0.0180299319, -0.0278507844, 0.0237052739, -0.0169846117, -0.025505675, -0.0538421758, -0.0313723609, 0.0210661627, 0.0012843828, -0.0101217665, 0.0160169173, 0.0676384792, 0.0002473391, -0.0535616651, 0.0033308996, 0.0256042778, 0.035887178, 0.0253992416, 0.0324099623, -0.0122290598, 0.0031221558, -0.0585678406, 0.0355155095, 0.0154678756, 0.0531978533, -0.0089823427, 0.0294216052, 0.012039531, -0.0613983609, -0.037457671, 0.0634155944, -0.0711931363, -0.0451957211, 0.0169960707, 0.0083895139, -0.0154763348, -0.0455804728, -0.0041474798, -0.0289171245, -0.025251817, 0.0214170124, 0.0110916449, -0.0226876009, -0.0267971326, -0.0149528077, -0.0573133603, -0.0007112711, 0.0169912893, -0.0249228384, 0.0409701467, 0.0379302762, -0.0010850783, 0.0207345579, -0.0097020939, 0.0099823344, 0.0493069589, 0.094050616, 0.0451535247, 0.0393989086, -0.0336591043, 0.0208669584, 0.0148277003, 0.0257228669, 0.0383660644, 0.0179491173, 0.0540532507, 0.0194358695, 0.0584128536, 0.0209510792, -0.0186383799, -0.0446409732, -0.0398330986, 0.0401261449, 0.0568350926, 0.0000403816, 0.0078208614, 0.0090665054, -0.0247441605, -0.0297790393, -0.0719934255, -0.0411036164, -0.0394091755, -0.0121856723, 0.0439055823, 0.0347840004, -0.0282935649, -0.0304139648, 0.0781992376, 0.0012290524, -0.00857733, 0.0203119945, -0.0024237749, 0.012970956, 0.0005507971, 0.0335754231, -0.0194884297, -0.0656941533, 0.0428848527, -0.0406655967, 0.0124000283, -0.0080089271, 0.0054087285, 0.0454825088, -0.0816885084, 0.0232825857, -0.0213426948, 0.0226926804, -0.0069075068, 0.0544241294, 0.0210899655, -0.0371917672, 0.0123653887, 0.0584663413, 0.0076239556, -0.0427118465, -0.0170559809, -0.0260456838, -0.0024480249, 0.0449760221, -0.0377670042, 0.0018420594, -0.017399529, 0.0510719009, 0.0397297591, -0.0274791718, -0.0121093867, 0.011015798, 2.707e-7, 0.0122990431, 0.0432351902, -0.0083151134, 0.023537254, 0.0055522085, 0.0150617054, 0.000655081, 0.0323634855, 0.0084122196, 0.0019817057, 0.0030711079, -0.0170110967, 0.0162640605, -0.0237666592, -0.1071726456, 0.014097251, -0.0831048042, 0.0424961075, -0.070069842, -0.0124511719, 0.0185521562, 0.1324454844, -0.0058424952, 0.0064277477, 0.0009682364, -0.001116666, 0.0008909806, -0.0399724171, -0.0179624967, 0.0289431568, 0.0616906211, -0.0199725628, 0.0023842724, 0.0105269589, -0.0280978009, 0.0445144139, 0.0091246581, 0.0843937024, -0.0121059455, -0.0091774985, 0.0301933177, -0.0105160717, -0.0231817141, -0.076809898, 0.0748097301, 0.0031343701, 0.0250694919, -0.0287166685, -0.0020412356, -0.0219249651, 0.0042332266, -0.0621201843, -0.0428813174, 0.0342258029, 0.0393473692, 0.0032222245, -0.0003100827, -0.0864464864, -0.0202828068, -0.0091108829, -0.0456952937, -0.0557238236, -0.0127114635, -0.0306824017, 0.0342312865, -0.0595063642, -0.0159020685, 2.95660408e-34, 0.0309959073, -0.0363518558, 0.04136407, 0.0147119192, 0.0278529562, -0.001131938, 0.0025784152, 0.0267148837, 0.0476370901, -0.0816931576, -0.0637592599 ]
http://arxiv.org/abs/2406.19482v1
http://arxiv.org/pdf/2406.19482v1
xTower: A Multilingual LLM for Explaining and Correcting Translation Errors
2024-06-27T18:51:46
2024-06-27T18:51:46
Marcos Treviso, Nuno M. Guerreiro, Sweta Agrawal, Ricardo Rei, José Pombal, Tania Vaz, Helena Wu, Beatriz Silva, Daan van Stigt, André F. T. Martins
cs.CL
cs.CL
While machine translation (MT) systems are achieving increasingly strong performance on benchmarks, they often produce translations with errors and anomalies. Understanding these errors can potentially help improve the translation quality and user experience. This paper introduces xTower, an open large language model (LLM) built on top of TowerBase designed to provide free-text explanations for translation errors in order to guide the generation of a corrected translation. The quality of the generated explanations by xTower are assessed via both intrinsic and extrinsic evaluation. We ask expert translators to evaluate the quality of the explanations across two dimensions: relatedness towards the error span being explained and helpfulness in error understanding and improving translation quality. Extrinsically, we test xTower across various experimental setups in generating translation corrections, demonstrating significant improvements in translation quality. Our findings highlight xTower's potential towards not only producing plausible and helpful explanations of automatic translations, but also leveraging them to suggest corrected translations.
[ 0.0418587774, 0.0138840191, -0.020766696, 0.0523194298, -0.0112111112, 0.0276584662, 0.0235498305, 0.0072452896, -0.0242652241, -0.0104516745, -0.0111752031, -0.0550724939, 0.058646366, -0.0035825446, 0.0161474105, -0.0487514511, 0.0411045775, -0.0227864292, -0.0121079795, -0.0007270654, 0.0093538342, 0.0424238108, 0.0013144345, 0.0354427733, 0.0233063176, -0.0113008041, -0.0234802421, 0.0633113682, 0.017024992, -0.0162385311, -0.032226529, 0.0018355835, -0.0032342556, 0.0606425479, 0.0000022675, -0.0401208587, -0.0363711938, 0.0114631755, -0.0113276783, 0.0283639841, 0.0251500234, -0.0429299138, -0.0184246935, 0.018506337, 0.0063633402, -0.0233415887, 0.0259665679, 0.0193912014, 0.0601952597, 0.0549666397, 0.0014314324, -0.0017656473, -0.0409800336, -0.0195198786, 0.0302530024, -0.0464600995, -0.0311393719, 0.0034020043, -0.0168791525, 0.0196948647, 0.0083179558, 0.0068694116, 0.0210568681, -0.0436404422, -0.0185726322, -0.0048123533, 0.0117054237, -0.0497123972, -0.0188384987, 0.0715435669, 0.002826147, -0.0084631275, -0.0094928704, -0.009422699, -0.0158548634, 0.0033898356, -0.0413497277, 0.037259616, -0.029508695, -0.0149152745, 0.0260700956, 0.018548103, 0.06285768, 0.0200475659, -0.0388238765, 0.015532569, 0.0129053183, -0.0311869718, -0.0477706119, 0.0044631977, -0.0156747755, -0.0446037948, 0.0495115332, 0.0473868325, -0.050769899, 0.0224244501, 0.0046506645, -0.0481130518, 0.0326229595, -0.0673931912, 0.041948773, 0.0274039898, -0.0413279012, 0.0591151342, -0.0049063126, 0.0714328736, -0.0111804502, 0.0012265956, -0.0597585738, -0.010451694, -0.0171334147, 0.017414188, -0.0085686175, -0.0327812321, -0.0867798552, 0.0196283348, -0.010503062, 0.023335699, 0.017844338, 0.0425946526, 0.0372371972, -0.0207977388, -0.0573443435, -0.0642090738, -0.0297176354, 0.0405202881, -0.027429169, -0.0203534011, -0.0035658886, -0.0653351322, -0.0240831356, 0.0447842032, -0.0407089032, -0.0025683381, -0.0126912631, 0.0738007873, 0.0214724336, 0.0162745789, -0.0049633509, -0.0380702205, -0.0316360332, -0.0613661669, -0.0576417483, -0.0695502311, 0.0433760844, 0.021187555, 0.0194706675, -0.0192936603, 0.0255359728, 0.0088143889, -0.0389838926, 0.0408935659, -0.057738103, 0.0320345387, 0.0262716152, 0.0105005847, -0.0124414042, 0.0405024067, 0.053461004, 0.021656068, 0.0482746065, 0.0040175086, 0.0413034558, 0.012022689, -0.0164285917, 0.0227599498, -0.0179373622, 0.0088851871, -0.0236411951, 0.0681410432, 0.0164351724, 0.0352318734, -0.0075854692, 0.0660320595, 0.0548414961, 0.0263855439, 0.0052214609, 0.0665625855, 0.0328028761, -0.039569214, -0.0099494774, -0.0092637781, -0.0323952399, 0.0204632841, -0.0132921413, 0.0089639267, 0.0044469032, 0.0512549542, -0.0058346903, -0.0822326913, -0.0202667471, -0.0161718521, -0.0215898883, -0.0169752147, 0.0696930215, -0.0000985002, -0.0518079475, 0.0524559878, 0.0054796529, -0.0700283647, 0.0261800662, -0.0303457007, 0.0316730589, 0.1166551411, 0.0459626317, -0.0063840789, 0.0067959274, -0.0207464695, -0.0032183339, 0.068755433, 0.0678714588, 0.0107446061, 0.0016885066, -0.0635341927, -0.0277628656, 0.014427972, 0.0383014493, 0.014871655, -0.0253716316, 0.0242727157, 0.0438932478, -0.0898677632, -0.1083957851, 0.017835997, -0.0256849993, -0.0225290898, 0.0123779615, -0.0037413742, -0.0185169932, 0.0561686195, -0.0169238765, -0.0077096554, -0.0005391563, -0.0103695076, -0.035721615, 0.0572759807, -0.0392205566, 0.0010558772, 0.0143999988, -0.0390444472, -0.0065502049, -0.0165776815, -0.0616863854, -0.0624346323, -0.016702069, -0.0356846265, 0.0101124812, -0.045777496, 0.0493925177, -0.0185589492, -0.0093934778, -0.043804992, 0.0462579317, 0.0116455657, 0.0075508528, 0.0175127648, -0.0248199031, 0.0176537596, -0.0103384694, -0.0086844768, 0.0558811724, 0.0033065998, 0.0364771225, 0.0416771099, 0.0177496765, -0.0349080265, -0.0183831863, -0.0773431733, 0.0398905091, -0.0286709033, 0.0370315798, 0.0608014092, 0.0475050993, -0.007232754, -0.0028707294, 0.009211191, -0.0001922888, 0.0243672244, -0.0069148047, 0.0516039766, -0.0112860734, -0.0091303298, -0.0361326113, 0.0288268719, -0.0067443796, 0.0329433903, 0.052796375, -0.0052091484, -0.1059172228, 0.0414026603, -0.0472181514, -0.0360598452, 0.0093638916, -0.0580448918, -0.0049578482, -0.0204563569, 0.017824702, 0.032875035, -0.0153133878, 0.0384551845, 0.0300067477, -0.0050106281, -0.0585326701, -0.0201913528, -0.0227029026, -0.0733544305, -0.0206730701, -0.0616565682, -0.0065676747, 0.0469981283, -0.0033783477, 0.0054791314, -0.0650449544, -0.0124733057, -0.0338648222, 0.0046402221, -0.0199784189, -0.0139556266, 0.0203291737, 0.0880947262, -0.0354357138, -0.0627766252, 0.0631176531, -0.0336383767, 0.0234555248, -0.0277143568, 0.007415005, -0.0454854928, 0.0544453338, -0.0438632034, 0.0277173854, -0.0374264009, -0.0178471059, 0.0012140763, 0.0068945247, 0.0308041442, -0.0285565387, 0.0167354606, -0.0978841484, -0.040487282, -0.0056458013, 0.0190893877, 0.0025330163, -0.0133210868, -0.0223657843, -0.0486457646, 0.0217571985, -0.0347456001, -0.0417474322, 0.0045965919, 0.0428981334, 0.0268045887, -0.0096171927, -0.01626518, -0.0161542911, -0.0285755228, -0.0348588638, 0.0217748322, 0.0629477501, -0.0843017399, 0.045242209, 0.0275456347, -0.0281722117, -0.0035161155, -0.0097773094, -0.0414447784, 0.0089361006, -0.0212669633, -0.0613561682, -0.0082668876, 0.0644688085, -0.0572767071, 0.0096942857, 0.123611249, 0.0331614912, -0.0387102775, -0.0098624425, -0.0521363392, 0.0085799452, 0.0136818541, 0.0185577273, -0.0960801393, 0.000581224, 0.0309002604, 0.0395685211, 0.0416062064, 0.0122234765, 0.0047122077, -0.1027466953, 0.0329911821, 0.0560723804, -0.0386524834, -0.0395469442, -0.0363910981, -0.0264877044, -0.0292050503, 0.032535024, 0.013660809, 0.0251431316, 0.0198135637, 0.0255874712, -0.0123799266, -0.0744241551, -0.0000288303, -0.0561830699, 0.0095849093, 0.0563116595, 0.0484381579, 0.0199638177, -0.045387052, 0.0024700782, -0.000185925, 0.0201801825, -0.01163672, 0.0244263373, 0.0505822338, -0.004426925, -0.0218011569, 0.0016676504, -0.0700784102, 0.0012768871, 0.0116471471, 0.0685966313, -0.0122955134, 0.0203622896, 0.0259700492, -0.0279783346, 0.0085181827, 0.0493003279, 0.0085799005, -0.0165979583, -0.0426508002, -0.0360516869, -0.0408965796, -0.0482116491, 0.0021507854, 0.0397889465, -0.0249822084, -0.0450532138, -0.0677870959, -0.0609173253, -0.0112770721, 0.0306862742, 0.0378330983, -0.0016916709, -0.0624331906, 0.0016967418, 0.0249053426, 0.049526155, 0.0017289459, 0.0386153534, -0.0405598357, 0.0538997091, -0.0025212476, -0.0385070667, 0.0117214667, 0.0269057881, -0.0286806002, -0.0568234883, -0.0116566522, 0.0525257848, 0.0298314914, 0.0359853953, -0.0339277349, -0.0595634542, -0.0046854662, 0.0301446263, -0.0286143925, -0.0015391067, 0.0246065129, -0.0067066108, 0.0052004438, 0.0458559431, -0.0188052505, -0.0164252277, -0.0373871252, 0.0427219346, -0.0141668711, -0.0591700897, 0.0189717021, 0.0276558809, 0.0212460998, -0.0403150767, -0.0567562655, -0.0221281331, 0.0375955775, -0.0158858132, -0.0192320794, -0.0177231133, 0.021426389, 0.0460402668, -0.0540341847, 0.0243048295, 0.0083935047, -0.0329922102, -0.0484521873, -0.0128183812, 0.0364105254, -0.0265056994, 0.0299483258, 0.0032654062, 0.0438246392, -0.0169387925, 0.0051324032, -0.0131414756, 0.0368409231, -0.0082775401, 0.0587721281, -0.0031045286, 0.0240811948, 0.0268575512, 0.0123355826, -0.0152917085, -0.0671072826, -0.007492485, 0.0009662648, 0.0883442387, 0.0058244849, 0.1234616861, 0.0063724723, -0.0193775184, -0.0012127674, 0.0733055249, 0.0307371281, -0.0040329238, -0.0156076718, 0.0030143547, -0.0110468138, 0.0128182173, 0.0527363382, -0.0275752507, 0.0144815072, 0.0041679554, -0.0166413654, 0.0085379807, 0.0001699399, 0.0132284816, -0.0247490909, -0.0256165005, -0.045668032, -0.0435027145, -0.0408413857, 0.0218118485, 0.0586921088, 0.020413924, -0.0115729859, -0.0093696816, 0.0985529646, -0.0235205516, 0.0189472642, -0.0482986532, -0.0101313069, -0.0188783575, 0.0196912661, -0.0280636735, -6.263183042e-33, -0.0141466698, -0.0590947382, -0.0090431925, -0.0336267538, -0.014944124, -0.0224310756, -0.0412860811, -0.0044955588, 0.0206360947, 0.0427632704, 0.0016891938, 0.0226039048, 0.0218428597, -0.0113060549, 0.0296027586, 0.0127978791, 0.0550396927, 0.0376874097, -0.0345340632, 0.026574051, 0.0447692014, 0.0221977346, 0.0848712698, -0.1155800372, 0.0912072733, -0.0340929888, -0.0424169078, 0.0395351835, 0.0147750713, 0.0414460376, 0.0042879242, 0.0232299138, 0.0041657388, -0.0255370252, -0.0192491617, -0.0218627173, -0.0622734986, 0.0059785102, 0.0475418344, 0.0481539443, -0.0140232649, -0.0301082209, 0.0066442317, -0.0226168912, -0.0069007557, -0.0102389008, 0.0341922045, -0.0652311221, -0.0149893314, 0.0217905976, -0.0176763721, 0.027718991, -0.0244314428, -0.0114731416, -0.0089274496, 0.0318025127, -0.0358148143, 0.013605902, -0.0352985412, -0.0001454443, 0.0278450325, -0.0070194704, 0.1016374975, -0.0266206954, -0.0473631509, -0.0079604387, -0.0068424265, 0.011129681, -0.0246354621, -0.0077957157, -0.0080003068, 0.0119632976, 0.0819986686, 0.0677727908, 0.0293482207, -0.0155974012, -0.0725801736, 0.0483527035, -0.0392830819, 0.0372994766, 0.0116195362, 0.0089420117, -0.0115105184, -0.0027004266, -0.0553525761, -0.0281664524, -0.0389064848, -0.0524269156, -0.0097135156, 0.0096832458, -0.0228029657, -0.042869851, 0.0306353699, -0.031715367, 0.0054310835, -0.0137349106, -0.0195374284, -0.0068008155, -0.0237111095, 0.0141815078, -0.0031224852, -0.0248749163, -0.0494910702, 0.0417051911, 0.0224120542, 0.0000962674, 0.0293503758, 0.0104347588, -0.0434542894, 0.0402619094, -0.0426713973, -0.0107672103, -0.019906396, -0.0026657046, 0.0104167089, -0.0060773958, -0.0414483696, 0.060430821, 0.0284007899, 0.0273098294, -0.0202292334, -0.0226072986, -0.0055916226, 0.0084659215, -0.0293271039, -0.0012395888, -0.0131673524, -0.01553657, 0.0513047278, -0.0513089523, -0.0279420167, -0.0034746658, 2.871e-7, 0.0411638804, 0.0763437375, 0.0190409869, 0.0071583358, 0.0015417835, -0.0003942791, -0.0214333795, 0.0015265987, -0.0262952596, 0.0097775282, 0.0423227884, 0.0273296535, 0.1002330855, 0.0324683785, -0.029452635, -0.015127914, -0.0613721348, 0.0107460786, -0.0534169935, 0.0089051602, 0.0505322218, 0.0545386299, 0.0015790879, 0.0159087088, -0.0018627603, -0.0367733985, 0.0732096434, -0.0442742668, -0.0162929464, 0.0296823196, 0.074383989, 0.041380655, -0.0203459095, -0.0339593962, -0.009937631, -0.0224347096, 0.0197298359, 0.054120522, -0.0095350416, 0.033095099, -0.0018365378, -0.0529662259, 0.0050778328, -0.0641435012, 0.0295262728, 0.0076235877, 0.0067045745, 0.0163445864, -0.010153193, -0.0070634945, 0.0411081202, -0.0354696177, -0.003803839, 0.0343044698, 0.0168193933, 0.0056900596, -0.0186857134, -0.0397561863, -0.0358970426, 0.0185489282, -0.0000162944, -0.0218520723, 0.0027820463, 0.0102381213, -0.0063722427, -0.0126300603, -0.0063553331, 2.526936099e-34, 0.046324145, -0.0050027617, 0.0015496542, -0.0310789105, 0.0722797513, 0.0033061213, -0.019026408, 0.0035594488, 0.0213908982, -0.0232424568, -0.0085847322 ]
http://arxiv.org/abs/2406.19478v1
http://arxiv.org/pdf/2406.19478v1
Sparse Regression for Machine Translation
2024-06-27T18:43:51
2024-06-27T18:43:51
Ergun Biçici
cs.CL
cs.CL, cs.AI, G.3; I.2.7
We use transductive regression techniques to learn mappings between source and target features of given parallel corpora and use these mappings to generate machine translation outputs. We show the effectiveness of $L_1$ regularized regression (\textit{lasso}) to learn the mappings between sparsely observed feature sets versus $L_2$ regularized regression. Proper selection of training instances plays an important role to learn correct feature mappings within limited computational resources and at expected accuracy levels. We introduce \textit{dice} instance selection method for proper selection of training instances, which plays an important role to learn correct feature mappings for improving the source and target coverage of the training set. We show that $L_1$ regularized regression performs better than $L_2$ regularized regression both in regression measurements and in the translation experiments using graph decoding. We present encouraging results when translating from German to English and Spanish to English. We also demonstrate results when the phrase table of a phrase-based decoder is replaced with the mappings we find with the regression model.
[ 0.0061485642, 0.0487392917, -0.0122532425, 0.0290239733, -0.0119295241, 0.0057827793, 0.0387137569, 0.0505193993, -0.0320283212, -0.0045268754, -0.0079646939, -0.0114077423, 0.0550112128, -0.0302870944, 0.0434117503, -0.0360421836, 0.0090009682, 0.0028501705, -0.079757385, -0.015769098, -0.0069103469, 0.0292075891, 0.0294538084, 0.0377605073, -0.0401543304, 0.0650996268, 0.025116574, 0.0464141108, -0.0098916907, -0.0078679658, -0.0455133133, 0.0370008834, 0.0167458877, 0.0509460755, 0.0000018125, -0.0216484703, -0.0487193242, 0.006556299, 0.0283879973, -0.0361442231, 0.018751841, -0.1366588026, 0.0208407491, 0.0142705673, -0.0041708257, -0.0711934716, 0.096273154, 0.0148210339, 0.0241103154, 0.0755424649, -0.0347426869, -0.0298448224, -0.0099313967, -0.0323802307, 0.0250300821, -0.0530415215, -0.0242319647, 0.0094035165, -0.0368632786, -0.0087906606, -0.014749377, 0.0361354798, -0.0275442377, 0.003950594, 0.0297434907, -0.0180324633, -0.0210064389, -0.0387004837, 0.0014661639, 0.0500585735, -0.0441072956, -0.0172501076, -0.0163679533, 0.0215788279, -0.0223555621, 0.0260678884, -0.0243921485, -0.0386041924, 0.0023525804, 0.0037285602, -0.0168172214, -0.0100560226, 0.0261721145, -0.0083999969, -0.0554409474, -0.009054793, 0.0235117953, -0.0326187275, 0.0163181461, 0.0723691806, -0.0160230249, 0.012760153, 0.0026829473, -0.0194236711, -0.0546817854, 0.0123959873, -0.0416677631, -0.092433095, -0.0140093677, -0.0005420925, 0.0587067045, 0.0406117998, -0.0011470258, 0.0119821569, -0.0402796455, 0.0845598727, -0.0333001167, 0.0283756517, -0.0835853592, -0.0281448606, -0.0387073308, 0.0376770794, -0.0208321139, 0.0364655219, 0.024847826, -0.0183166005, -0.0342247114, -0.0050893701, 0.0141234444, -0.0118603194, 0.019810006, -0.0222077835, -0.0890240669, -0.0051767309, 0.0363924988, 0.0711469203, -0.0155888023, 0.0135212196, -0.0577275716, -0.0249098986, -0.0312065538, 0.0137256458, 0.0225341227, -0.0419070981, -0.0003077403, 0.0823719352, -0.0166026019, -0.0072633964, -0.0274911169, 0.0023754328, -0.0079108831, -0.0494671017, -0.0126528172, -0.0835517421, 0.0403421111, 0.03449101, 0.0560552441, -0.079109855, 0.0056729862, -0.0368454792, -0.0589689501, 0.0795867294, -0.0300318766, -0.0107117863, -0.0053739655, -0.0480890237, -0.0167880431, 0.0787079111, 0.0174465273, 0.0322142653, -0.0124620758, -0.0021689956, -0.0398807488, 0.0474176817, 0.0416256785, 0.0465113744, -0.0594309531, -0.011063288, 0.0328641124, 0.0025975639, -0.0035861533, 0.0533274114, -0.0104320552, 0.0452526473, 0.0415517278, 0.0708042085, 0.0156464297, 0.0444303155, 0.0263018068, 0.025813194, -0.0460229181, 0.046744816, -0.0040690345, 0.007642509, -0.0191483218, -0.022284355, 0.0267655142, 0.0159482732, -0.028518742, -0.0091485111, 0.0030255995, -0.0166037418, 0.0319442302, -0.0365382023, 0.0636324286, 0.0249458365, -0.0292583033, 0.0340185724, 0.0091470573, -0.0300146937, -0.0164697599, -0.0168793127, -0.033065334, 0.0199284032, 0.0233641919, 0.0120009612, -0.0205961466, -0.0198212992, 0.0108214039, 0.0101669692, 0.0474390462, 0.0006543011, 0.0185657945, -0.0222851187, -0.0396391526, 0.0581415966, 0.0024215989, 0.0524675809, -0.0206480548, 0.0350888222, 0.0353257991, -0.0401118398, -0.0477293991, 0.0344933718, -0.0021729269, -0.0085235024, 0.0411377288, 0.0341961421, 0.0186775867, 0.0128001459, -0.0179373622, -0.005979883, 0.0154567007, -0.0461460054, -0.004958034, 0.0079713697, 0.0390975289, -0.0519745909, 0.0184725728, -0.0918108225, -0.0059051644, 0.0389396548, -0.0178623069, -0.0473707952, 0.001335225, -0.0735037774, 0.0009291436, -0.0193490386, 0.0130884023, -0.0380691104, 0.0018592643, -0.0312019363, 0.015654387, 0.0078509161, 0.0329323411, -0.003254157, -0.1210921705, 0.039199058, -0.0293838978, -0.0140780481, 0.0292987358, 0.0097960001, 0.0549314097, 0.0643294379, 0.0284360405, 0.0220327228, 0.0005617652, -0.045314882, -0.0007404505, -0.0343648307, 0.0086322464, 0.0205688179, 0.0564656742, 0.0395924672, -0.0516276173, -0.0146763092, 0.0167650431, 0.0292233806, 0.0069944975, -0.0026437833, 0.0392649472, 0.0100023663, -0.0189008452, -0.0338338353, 0.0232711341, 0.0402710102, 0.0072511295, -0.0316156708, -0.0519288369, 0.0654394627, 0.0055616684, -0.0068011247, 0.012818641, -0.0427946933, 0.0098412223, -0.0127383405, -0.0202170126, 0.0049203546, -0.0395298563, 0.0129488073, 0.0296385977, 0.040255785, -0.0301054716, -0.0139326649, -0.0299423896, -0.0442890897, -0.0756640434, -0.0782446489, 0.0090034511, -0.0171277281, 0.0450234935, -0.0247931331, -0.0826092139, -0.0026905078, -0.0245997366, -0.0232946258, -0.0411649868, 0.0697060153, 0.0308512673, 0.03895377, -0.014512118, -0.0809981972, 0.0490530171, -0.0136261983, 0.0203844849, -0.0429843999, -0.0098889479, -0.0255157799, 0.0278660562, -0.0023486384, 0.0238448121, -0.0536726862, -0.0282694679, -0.0291556828, 0.0118468516, 0.0169074368, -0.0086461203, 0.0607335269, -0.0290632341, 0.0110874679, -0.0086964453, -0.0091927256, -0.0082080001, -0.0426945463, 0.0024364332, -0.0104771536, 0.0675476044, -0.02367118, -0.0497910865, 0.0048929253, 0.0093039572, 0.0386357531, -0.0146887247, -0.0107572274, -0.0045445478, -0.0176668279, 0.0117012765, -0.015599994, -0.0327697434, -0.0499963909, 0.0043630046, -0.0199288484, 0.0096709868, -0.0182252321, -0.0493209772, -0.0088011334, 0.0405055881, 0.0346520543, -0.007433549, -0.0268265549, 0.0425923653, 0.0054566269, 0.0293013584, 0.0887903422, 0.0124021526, -0.0637893379, -0.0169322547, -0.0046153213, 0.0647646785, 0.0294380151, 0.0434273742, -0.0526917651, -0.0061714202, -0.017984556, 0.0633618906, 0.0250296816, 0.0123724369, -0.0150639471, -0.0743822604, -0.0036969453, 0.0589797013, -0.029489385, -0.0541069694, -0.0375264362, 0.0007064195, -0.0485115051, -0.0040727281, -0.0465600975, 0.0087010153, -0.0206389688, 0.0208376832, 0.011320347, -0.0498780645, -0.0495079495, -0.0434364304, -0.0265107621, 0.0338671654, 0.0509187579, -0.0251865312, 0.0128529547, -0.0106626721, 0.0538345166, 0.0004888109, -0.0477756709, 0.0528476499, 0.0322559029, -0.0294820853, 0.0335407741, 0.0247221217, -0.0225257184, 0.0504203364, 0.0074981833, 0.0812237933, -0.0310824197, 0.0078156041, 0.0420514606, -0.047991626, 0.0406881087, 0.0143519789, -0.0066846693, -0.0378025249, -0.0034674478, -0.0131442919, -0.0277816057, -0.0588362738, -0.0357508883, 0.0091118403, -0.0774970576, -0.0369506516, -0.065282166, -0.0120631093, 0.0449952409, 0.0715309307, 0.0488470048, 0.0388256274, 0.0242919158, -0.0168487746, 0.0051394454, -0.0027064043, 0.0103258817, 0.0298606921, 0.0014684078, -0.0316684768, -0.0180668756, -0.022744162, 0.0315675959, -0.0116066206, -0.0964764804, -0.0646275133, -0.056128446, 0.0174888391, 0.01633857, 0.0486500189, -0.0299014132, -0.0150879808, 0.0416818224, 0.0177369192, -0.0095861787, -0.0157418624, 0.0266562682, -0.0769051611, -0.0165190715, 0.0355328806, -0.0215712655, 0.0154932095, 0.0138086686, 0.0293050911, -0.0109099597, -0.0284857675, 0.0334853008, 0.0314574055, 0.0385042392, -0.0401726551, 0.0087241391, -0.0154444939, -0.0016742059, 0.0231440589, -0.0035296457, -0.0297812261, -0.0303597376, 0.0637425259, 0.0034957309, 0.002592694, -0.0263943654, -0.0451915748, 0.0165957734, -0.0563922115, 0.0233605374, -0.00164364, -0.018823877, 0.0390286632, 0.0657186434, 0.0039568758, 0.0203374792, 0.0374988616, -0.0097011784, -0.0194362309, -0.0141423699, 0.0085046133, 0.0417509899, -0.0224665441, -0.0105157429, -0.0100150406, -0.0183511209, 0.0035349189, -0.0180399325, 0.078341864, -0.0279774554, 0.1165312007, -0.0075953873, 0.0003400388, -0.0297983512, 0.0479181185, 0.0093854126, 0.0248360522, 0.0012251597, -0.0295418482, 0.0076561202, 0.0420169309, 0.0830792338, 0.0281232987, -0.0044036284, 0.0016609224, -0.0487593003, -0.0279554147, 0.0054866411, 0.0514425598, -0.0124334935, -0.0200876929, -0.0028791197, 0.0342031009, -0.0801643953, 0.0405581184, -0.0431663431, 0.0114757661, -0.0038722113, 0.014037367, 0.038380146, -0.0318304785, 0.0418366566, -0.0444198847, 0.0013351485, -0.0157555435, -0.0196445733, -0.022311274, -5.82859176e-33, -0.02404931, -0.0320739336, -0.0321317017, -0.0294226464, -0.0045454544, -0.0211539064, -0.0301110465, 0.0095493151, -0.009145014, 0.0409222431, 0.0026812451, -0.0035006925, 0.0196679793, -0.0035262096, 0.0215419494, 0.0334535055, 0.0439841934, 0.0087982034, 0.0035336232, -0.0021983483, 0.0434999429, 0.0407512672, 0.0515790433, -0.0972460359, 0.0078099621, 0.006753874, 0.005235476, 0.0025887587, 0.0745636001, -0.0054999599, 0.0322789066, 0.0520847365, 0.0227209534, -0.0429751948, -0.0245920997, -0.014532906, -0.0517815128, -0.02994854, 0.0296409056, 0.0397744775, 0.0408109762, -0.0328734331, -0.0083624432, -0.0566545278, 0.0070343553, -0.0457798652, 0.0249447823, -0.0337858498, -0.049319312, 0.0130398208, -0.0650226548, 0.0167569686, -0.0186173059, 0.0072971745, 0.0583315603, 0.0634966791, -0.0295148101, -0.0474039316, 0.0017625924, 0.0242841206, -0.0447217003, 0.0584949329, 0.0567928739, 0.0205375869, -0.0235230457, 0.0134131955, -0.0192722641, -0.019321043, 0.0185913239, 0.0113092931, 0.023019135, 0.0275953189, 0.0438751057, 0.0274611544, 0.0289322641, -0.069116801, -0.0724979788, 0.0379739404, -0.0390952416, 0.0175978504, 0.0554672703, 0.0179712586, -0.0158058181, -0.0232763886, -0.0273526199, -0.0080536697, -0.0127038257, -0.0526431836, -0.0191915873, 0.0154007496, -0.0454706661, 0.0365102254, 0.0853717923, -0.0448540933, 0.0119974837, 0.0537032373, -0.0466690585, 0.0156409796, -0.0123568578, 0.0161304977, -0.0053448793, -0.0697304979, 0.0069772992, 0.0407822169, 0.0518734604, -0.0080829123, 0.0651884675, -0.0122772641, -0.0173570141, -0.0073271194, -0.045450557, -0.0443478189, -0.0367498249, 0.0610244125, 0.0094211567, 0.0103732022, 0.0035569947, 0.0208427384, 0.0017627465, 0.0011392946, 0.0049639372, 0.0157829132, 0.0261812061, 0.0099232337, -0.0530485138, 0.0081657059, -0.0368851498, -0.0005283786, 0.0446679816, -0.0141269276, -0.0476680733, -0.0224909093, 2.649e-7, 0.0328690819, 0.0432805754, -0.0160639249, 0.0345731676, -0.0183221735, -0.0108624594, -0.0497075245, 0.0596921854, -0.0121823922, 0.0081395693, 0.0567997955, 0.0027200831, 0.0924676806, 0.0520815626, -0.0679224506, -0.0557937957, 0.0173826758, 0.0273561906, -0.0630640462, 0.0306251701, 0.0514785759, 0.0927002281, -0.0110002784, -0.0014668707, 0.0117151989, -0.0088370945, 0.0396253765, -0.0076159164, -0.0080407355, -0.0424908884, 0.0155040324, 0.022312548, -0.038088005, 0.0213353112, -0.0318176709, 0.0244201496, 0.0744119585, 0.0243904889, -0.0238747895, 0.0022601557, 0.0089647584, -0.0010943593, -0.0164012983, 0.0058017396, 0.0263860393, 0.0032886611, -0.0182236638, 0.0186047032, 0.015865095, 0.0287033487, 0.0274166279, -0.0510047674, 0.0126995277, 0.0221223459, 0.0942776203, 0.0009449269, -0.0240224078, 0.007918328, -0.0122379251, 0.0256577209, -0.045168221, -0.0354075693, 0.0031435702, 0.0442387462, -0.006515604, 0.0103170564, 0.0354655422, 2.341550768e-34, 0.0367013067, -0.0016165224, 0.0144584812, -0.0472354963, 0.0297102481, -0.0463279858, -0.0075488905, 0.0249705501, -0.0081715072, -0.0691649392, 0.0015199237 ]
http://arxiv.org/abs/2406.19470v1
http://arxiv.org/pdf/2406.19470v1
Changing Answer Order Can Decrease MMLU Accuracy
2024-06-27T18:21:32
2024-06-27T18:21:32
Vipul Gupta, David Pantoja, Candace Ross, Adina Williams, Megan Ung
cs.CL
cs.CL
As large language models (LLMs) have grown in prevalence, particular benchmarks have become essential for the evaluation of these models and for understanding model capabilities. Most commonly, we use test accuracy averaged across multiple subtasks in order to rank models on leaderboards, to determine which model is best for our purposes. In this paper, we investigate the robustness of the accuracy measurement on a widely used multiple choice question answering dataset, MMLU. When shuffling the answer label contents, we find that all explored models decrease in accuracy on MMLU, but not every model is equally sensitive. These findings suggest a possible adjustment to the standard practice of leaderboard testing, where we additionally consider the percentage of examples each model answers correctly by random chance.
[ 0.0566956401, 0.0670613721, -0.0051449738, 0.0553963073, -0.0382945724, 0.010875944, 0.0183376111, 0.0056908838, 0.0319777355, -0.0557888299, -0.0107269222, -0.0472689234, -0.0058192317, -0.0098459413, 0.0280090794, 0.0016203366, 0.0382644497, -0.0642871112, 0.0115265418, -0.0234900657, -0.0342481732, -0.0296766702, -0.0010733302, 0.012681473, 0.0507710204, -0.0034156798, -0.0034838838, -0.0147991106, 0.0105058691, -0.0131882802, 0.019612724, 0.0905376822, -0.0263863225, 0.048896417, 0.0000017025, -0.03913505, 0.0084788306, -0.0164273866, -0.028029155, 0.0421961099, -0.0175771322, 0.0651058927, 0.0030647174, 0.0400746092, -0.036858581, 0.02662763, 0.0110218721, -0.0022696275, 0.0718649179, 0.0393088274, 0.0270970631, 0.0017441988, 0.0336244218, -0.0422998406, 0.0265220869, -0.0392047167, 0.0297162104, 0.0321028642, 0.0063802144, 0.0100737847, -0.038809333, 0.0350227319, -0.0017152521, 0.0419890471, -0.0211008806, 0.0203280225, -0.0255106166, -0.0013553294, 0.0132811889, 0.0710619837, -0.0329194777, -0.0126345223, -0.0343613885, -0.0259249061, 0.0155992918, 0.0368272364, -0.0546020232, 0.017845368, 0.0029698128, -0.028293483, 0.0318443067, -0.0061566783, 0.016406497, 0.0068243784, -0.0463496223, 0.1245018393, 0.0249238666, -0.0486504212, 0.0149426898, -0.0019390828, -0.0276188497, -0.0463523678, -0.0065299654, 0.0049737133, -0.0271864012, 0.0395422243, -0.0077230576, 0.0010945299, 0.0569027103, -0.0410220996, 0.0264504794, 0.0157562681, 0.0022772739, 0.052805163, 0.0034372427, 0.1040748507, 0.0055671339, 0.0509907454, -0.0611726418, -0.0088202432, -0.0326529257, -0.0295445453, 0.0276335385, 0.0271883514, -0.0193493869, 0.0037752276, -0.0629625022, 0.0241287146, 0.0032366228, -0.0079141818, 0.0234146118, 0.018325055, 0.021934567, 0.0312144049, -0.0439540111, 0.0386540852, -0.0143283177, 0.0181677472, 0.0248703007, -0.0579938442, 0.018916117, -0.0257703252, -0.0114534944, -0.0246456228, 0.0282968841, 0.0810966417, -0.0042828307, -0.0323006846, 0.0357166976, -0.0024458179, -0.0364040174, -0.0454010032, -0.0034542775, -0.0901868045, 0.0362195671, 0.0474628098, 0.0083872015, -0.0095169228, 0.0127189523, 0.0433349386, -0.0587246716, 0.0277832877, 0.0452826023, 0.0319532789, 0.0173947476, -0.0119850701, -0.0042174608, 0.0463291965, 0.0149361044, 0.0116923107, 0.0671505406, -0.0426160246, 0.0150810862, 0.0537262671, 0.0082714781, 0.0080409134, 0.0209363438, 0.0541271642, 0.0144038545, 0.0141051803, -0.0163690709, 0.033622779, 0.0000207488, -0.0504187159, 0.0851330161, 0.0525177531, -0.0008552058, -0.0488938093, -0.0234541502, -0.0168439541, 0.0192794986, 0.015927311, -0.0542872772, -0.0013630848, -0.0379311442, 0.0181237925, 0.0276884027, 0.0209303256, -0.0133245718, -0.0582664646, -0.0328967534, 0.0117329722, -0.0190212522, 0.0727038383, 0.0298848674, -0.0317454413, -0.0230996106, 0.0584927574, -0.0012013367, -0.0490925275, -0.0189551525, -0.0682988688, 0.0236286074, 0.0440006107, 0.0258274768, -0.0068231602, -0.0517740473, 0.0093740756, 0.0035854897, 0.0109812785, 0.0258194674, -0.0101772277, 0.0201189574, -0.0033818409, -0.0017221627, 0.0068289097, 0.0110238092, 0.0253943559, 0.0199957732, -0.0079053687, -0.0093760509, -0.05953978, -0.0517878942, 0.0174102224, -0.0216681994, -0.027669929, 0.0033985465, -0.0282625761, 0.0276407413, -0.0071164495, -0.0197346527, 0.0287768934, 0.0584776141, -0.0066396752, -0.0122264754, -0.0484817214, -0.0391444601, -0.0297248811, 0.0545206852, 0.0019817336, -0.0058779456, 0.1006072983, -0.049632255, -0.0383898504, -0.0281744767, -0.0112057133, 0.0080642635, -0.0261074305, 0.036310032, 0.0048339278, -0.0027307838, -0.0831414312, 0.047951933, -0.0362426303, 0.082888253, 0.0057533039, 0.0226368904, 0.0123207895, -0.0297634993, -0.0276473556, 0.0485549904, -0.0179021806, 0.0227641929, 0.0326137617, -0.0017093177, -0.0599967241, -0.0593457855, -0.0884707272, 0.0022962617, -0.0186884534, -0.0029073637, 0.0236295052, 0.0136124631, -0.0163800847, -0.0336643308, -0.0571816713, -0.0345674679, 0.0498958975, 0.0457779951, 0.0162408389, -0.0013215811, -0.0102119697, -0.0707373396, -0.0466681235, -0.0155142946, 0.0526048541, -0.0230954885, 0.0208085421, -0.0244513731, -0.0155870095, -0.0727130771, 0.0106340004, -0.0078591928, -0.0149051975, 0.0144496541, -0.0071601076, 0.020266464, 0.0816178247, 0.0444829985, 0.003196426, 0.0602050498, -0.0030842994, -0.0432154201, -0.0000278685, -0.0080336276, -0.0422536582, -0.0337550193, -0.0831801444, 0.0018643599, 0.0897795185, 0.025404375, -0.0022012815, -0.0138808899, 0.0173707288, -0.0496398024, -0.0289955772, -0.0630556643, 0.0366946533, -0.0312508084, 0.0592742674, -0.0165456235, -0.0450585969, 0.0363151506, -0.0340392031, 0.0015536408, -0.0371907204, -0.0106740072, -0.0492645353, 0.0445729494, 0.0532028601, 0.0018657232, -0.026142709, -0.0026416827, -0.0631164312, -0.0329128541, 0.0170255005, -0.073286511, 0.0374230705, -0.0556113981, 0.0142585048, -0.0079678921, -0.0410275459, -0.0462135375, -0.055268269, -0.0301131289, 0.0132154841, 0.0004459403, -0.0183060691, -0.0092779566, 0.003247672, 0.0186282061, 0.0105675589, -0.0540838167, 0.0113764182, -0.0063504023, 0.08211606, 0.0808053613, 0.0325626396, 0.0235911421, -0.0304316953, 0.0220843013, 0.0430451035, 0.0618341267, 0.0202766228, 0.0122463405, 0.0023503539, 0.0304522831, -0.0402267985, -0.0274520498, 0.0383736901, 0.037955001, -0.0104634184, -0.0071719345, 0.107633695, 0.0557202362, 0.018338671, 0.0133104846, 0.0047918004, 0.0464834124, 0.0353849567, 0.0287113674, -0.039001178, -0.0193557683, -0.0188115556, 0.0444465727, -0.005716796, -0.0240557399, 0.0135337943, -0.1186217144, 0.0046467436, -0.0175556168, -0.0652493685, 0.0104473503, -0.0502190031, -0.0120117413, -0.0204913225, 0.0202595089, 0.0326395035, -0.0000575428, 0.0135909347, 0.0312385578, -0.053097032, -0.0255368464, 0.0622143336, -0.0234338008, 0.0546973683, 0.0421304889, 0.0191037133, -0.0406128056, -0.0350857154, 0.0246292017, -0.0387319885, -0.0089199757, -0.0130551923, 0.0461980291, 0.000571536, 0.0055533, -0.025006447, -0.0154207516, -0.0161442794, 0.0193353426, 0.0466445982, 0.0514451191, 0.0195828825, -0.0278968792, -0.0341836922, -0.0053428407, -0.0273753684, 0.0685834736, 0.0142120551, -0.0603524968, -0.0241344031, -0.0687051862, 0.0045426819, -0.0202302858, -0.0460120961, 0.029228596, 0.0197834391, 0.0333882384, -0.0595160536, -0.0455613434, 0.0087337075, -0.0029054023, -0.0240980648, 0.042938415, -0.0218784716, 0.0144028608, -0.0296427105, 0.0019972527, -0.0003958132, 0.0286353454, -0.0788833424, 0.001806897, 0.0468834937, 0.0111577306, -0.0384279713, 0.012801487, -0.1129167452, -0.0633911639, 0.038461104, 0.0415877439, 0.0209007021, 0.0055968184, 0.0167576987, -0.0381900519, 0.0017297897, -0.0367902294, -0.0119983722, 0.0413370058, -0.0023065887, -0.0085802563, -0.0175678786, 0.0033087691, -0.0680434704, 0.0190386642, 0.0262850765, 0.0446692668, -0.0235075504, -0.0453907289, 0.0268320572, 0.0323528163, 0.0216474049, 0.0160710793, -0.0184049793, 0.0128939785, 0.0555061251, -0.0072664777, -0.0173521135, 0.0043937834, -0.0113881649, 0.0389907993, -0.0221484825, -0.0127332006, -0.0090257972, -0.0074758311, 0.0356888324, -0.04094854, -0.0107251611, 0.0068413704, 0.0032856907, 0.0011925881, -0.0157732014, -0.0513504185, 0.0070708413, -0.0023170086, 0.0703079626, 0.0267350785, 0.0411833413, -0.0185085349, -0.0329115577, 0.0128309969, 0.040866822, -0.1250948906, -0.0647129193, -0.0284938551, 0.0301458687, 0.0341075771, -0.0034525492, 0.0343902148, -0.0015907069, 0.0029185221, -0.0467183031, -0.0340253748, 0.0281196069, -0.0003476373, 0.0343359336, 0.0278479401, 0.0085429316, 0.0274984315, 0.0685907975, 0.0934517309, 0.0074446131, 0.0161771718, -0.0086480826, -0.0360906944, 0.0057041352, -0.0057435594, 0.0035898741, -0.0171164107, -0.0008294592, -0.0464458801, -0.0566834547, 0.0233651027, 0.0357888192, 0.0319722854, -0.022568455, -0.0014235111, 0.0836721659, 0.0055894125, -0.0147091085, -0.0587855242, -0.0010833559, -0.0333200805, -0.0109359212, -0.0257504266, -5.966015499e-33, -0.0324552171, -0.0185605157, 0.0001351753, -0.0296415389, 0.0337817706, -0.0025804683, 0.0036022339, 0.0304205716, -0.0464298837, -0.0355255604, -0.0426072851, 0.0025784739, 0.0122428816, 0.0302025788, 0.0295698717, -0.0377840586, -0.0087798517, -0.0114589902, -0.0357514136, -0.0120821623, 0.0204484686, 0.0027047805, 0.0532085635, -0.0299897566, 0.036557056, -0.0163078401, 0.0252284016, 0.0083100935, -0.07962396, 0.0538777262, 0.001541945, 0.0554137342, 0.0351501927, -0.0357673094, -0.0034909172, -0.0074802581, -0.0430572219, -0.0381212831, 0.0158822313, 0.0091426102, -0.0327076688, 0.0116965603, 0.0277509894, -0.0024086705, -0.0279331375, -0.0227278341, 0.0347167701, -0.0152609479, -0.0415738113, 0.0073566246, 0.0083757071, 0.0210331362, -0.0085703013, 0.0042048381, -0.045602046, 0.0690894723, 0.0029426937, 0.0093968352, -0.0173213892, 0.0213807076, 0.0530108064, 0.0628232285, 0.0708347782, 0.0470326878, -0.0262038689, 0.0541279726, 0.0244705286, 0.0114010032, 0.0402008668, -0.033146657, 0.0153101301, 0.0205432158, 0.1000501812, 0.0340492651, 0.0291380901, 0.026963871, -0.0591705143, 0.0364333354, 0.0333405398, -0.0235662479, 0.0214855261, -0.0042515313, -0.0438962132, -0.0386833735, -0.0668706223, 0.0299572237, -0.0319231302, -0.0259971898, 0.0740060508, -0.0312866271, -0.0121406792, -0.0306506157, 0.0474502817, -0.0310110636, -0.0673299581, 0.0185214337, 0.0050841626, 0.0353933387, 0.0024571149, 0.0492316224, -0.0535992831, 0.0256499629, -0.0079365624, 0.0054747239, -0.004137171, -0.0122609204, -0.0229304526, -0.0134370662, -0.0615387, -0.0179051086, -0.0273807272, -0.0065730433, -0.0098617598, -0.0181171261, 0.0317873396, -0.0189153478, -0.0059899595, 0.036593169, -0.0120294066, -0.0312386416, -0.0495378003, -0.0091190692, -0.0097466884, 0.0076722363, -0.0215943772, -0.0034483206, -0.0352671929, 0.0393386632, -0.012839729, -0.0073376223, -0.0039056102, 0.0263373926, 2.299e-7, 0.0691912472, 0.0573550165, -0.0178461988, 0.0300929938, 0.0136864353, 0.0127999447, -0.0510507859, 0.0047160066, 0.070499897, 0.0086866468, -0.0231132749, -0.0112098278, 0.0308109727, 0.0319683701, -0.0598895475, -0.030352179, -0.0580445603, 0.0122205066, -0.0342301354, 0.0189598594, 0.03408904, 0.0970510989, -0.0084042894, -0.0081309043, -0.0495466553, -0.0328543819, 0.0385601185, -0.0488165431, -0.0227137934, -0.0056700218, 0.0236328486, 0.0053819101, 0.0283383969, 0.0422233865, 0.0021538683, -0.012736571, 0.0387073644, 0.0215349961, -0.0053534857, -0.0508436412, -0.0277502276, -0.015623562, 0.0126775866, -0.0875735208, 0.0851026103, -0.0112471161, 0.0000927209, -0.0422561131, -0.0268977713, -0.0127545521, 0.0407176837, -0.0220778678, -0.0149606699, 0.0054383315, 0.005632767, 0.0029060396, 0.0111813955, -0.0161995944, -0.0446693413, 0.0067417077, -0.0310168825, -0.0893540233, -0.0425908491, -0.0143549908, -0.0186728667, -0.0506132208, -0.0299894046, 2.061723878e-34, 0.0280871745, 0.0176068749, 0.0290878955, 0.0234048665, 0.0324185267, -0.0195916165, 0.0212909468, 0.0168824177, -0.0043675886, -0.0982307717, -0.0146679562 ]
http://arxiv.org/abs/2406.19465v1
http://arxiv.org/pdf/2406.19465v1
Can Large Language Models Generate High-quality Patent Claims?
2024-06-27T18:07:40
2024-06-27T18:07:40
Lekang Jiang, Caiqi Zhang, Pascal A Scherz, Stephan Goetz
cs.CL
cs.CL
Large language models (LLMs) have shown exceptional performance across various text generation tasks but remain under-explored in the patent domain, which offers highly structured and precise language. This paper constructs a dataset to investigate the performance of current LLMs in patent claim generation. Our results demonstrate that generating claims based on patent descriptions outperforms previous research relying on abstracts. Interestingly, current patent-specific LLMs perform much worse than state-of-the-art general LLMs, highlighting the necessity for future research on in-domain LLMs. We also find that LLMs can produce high-quality first independent claims, but their performances markedly decrease for subsequent dependent claims. Moreover, fine-tuning can enhance the completeness of inventions' features, conceptual clarity, and feature linkage. Among the tested LLMs, GPT-4 demonstrates the best performance in comprehensive human evaluations by patent experts, with better feature coverage, conceptual clarity, and technical coherence. Despite these capabilities, comprehensive revision and modification are still necessary to pass rigorous patent scrutiny and ensure legal robustness.
[ 0.0440487042, 0.0447053686, -0.0145114856, 0.0136938952, -0.0599842966, -0.0442117415, 0.0250058416, -0.0034476565, 0.0125656938, -0.0789218917, 0.0272186324, -0.0650888756, 0.0164652597, 0.0176780224, 0.0543955192, -0.0338936932, -0.0070033767, -0.0160699431, 0.0197504908, -0.0164529737, 0.0079169068, 0.0179346632, -0.0072232787, 0.040427383, -0.011818707, 0.0156757403, 0.0207129698, -0.0129273981, 0.0029038601, -0.0674020797, -0.0246175285, 0.0807628557, -0.0024708954, 0.033063326, 0.0000016983, -0.102737017, 0.0111350231, 0.0394343622, 0.0421987027, 0.078666456, 0.0291578509, -0.0172825716, -0.0165303033, 0.0275237858, 0.002037385, 0.0004176352, 0.0013434333, 0.0523348115, 0.0265184231, 0.0601026937, -0.0155858435, -0.0403851345, 0.0844705328, -0.0626523048, -0.0044451905, -0.0494878553, 0.0153321093, 0.0313534811, 0.0631818548, -0.0473243818, 0.0276231281, 0.0410310254, -0.0071521867, -0.0208468493, 0.035698276, 0.0191549789, -0.0252535902, 0.0105522238, 0.0107634272, 0.049167376, 0.0359617993, 0.0035752838, 0.0150842955, -0.0180227719, 0.0267423354, -0.0002277531, -0.0188151132, 0.0911555216, -0.0242666844, 0.0159856156, 0.0318207629, 0.0062353606, 0.0182349645, 0.0171154812, -0.0006984739, 0.0491600893, 0.0226192679, -0.0429721549, -0.029619243, -0.0310126152, -0.0146931391, -0.0821165219, 0.0233479738, -0.0078613292, 0.0482443981, 0.0457269251, -0.0742344856, -0.018306246, 0.0405212939, -0.0723150447, 0.0313349999, -0.0042146011, -0.0080398824, 0.0427932553, -0.0618410185, 0.056739185, -0.0265664309, -0.0420707464, -0.0043674307, -0.0293022022, -0.0474190004, -0.0224604905, -0.036578998, 0.069219172, -0.0296177045, -0.009454255, -0.071903713, 0.0269047227, -0.0218488518, 0.0431715399, -0.0033692038, -0.0148281856, 0.0171323624, -0.0676043555, -0.0579525083, -0.0283902138, 0.0063254028, 0.0138337361, -0.0026907946, -0.0370542444, 0.0129789282, 0.0277266651, -0.0003130646, -0.006482373, -0.0165847335, 0.0289528873, 0.0255683623, -0.0154389441, -0.0150163155, -0.0754749179, 0.0059924689, -0.0349352509, -0.0348386243, -0.0623118319, 0.0082500419, 0.0207529794, -0.008028917, -0.0849564523, -0.0006158992, 0.0099288551, -0.0287077837, 0.0094225723, -0.024985021, 0.0183520932, -0.0317025855, -0.0045037498, 0.007923997, 0.0018274961, 0.0457615256, 0.0262447465, 0.0265732333, 0.0070908754, 0.0311960056, 0.0377744213, 0.0020054867, -0.016122181, 0.0078949761, 0.0004297374, 0.0148821399, 0.0307917017, 0.0006049959, 0.0506766886, -0.0185880549, 0.0493806116, 0.097466819, 0.0792040452, 0.0166606884, 0.0272001326, 0.0041511497, 0.0158938859, 0.034114603, -0.0314509273, -0.0127047375, -0.0074415081, -0.0499748141, 0.0062623364, 0.0343329944, -0.0020099429, -0.0064938962, -0.0392257646, -0.0243079029, 0.0080953194, -0.0050306185, -0.0475115329, 0.0355288424, -0.0019138964, -0.0293375235, 0.0730301067, -0.0032873158, -0.0172892697, -0.0274719074, -0.0410468057, 0.007085497, 0.0439855494, 0.054479178, 0.0063662692, 0.0119522298, -0.0020905491, -0.0030774584, 0.0673609376, 0.0767572373, 0.0046350802, -0.0475726053, 0.0085676117, -0.0174301676, -0.0272101518, 0.0224657357, 0.0204926934, -0.0036775698, -0.004823138, 0.0473422892, -0.0332053974, -0.0023677854, -0.0034596035, -0.049158819, 0.0031309836, 0.0392779224, -0.0312589593, 0.0236417204, 0.0321128182, -0.0340661705, 0.038217783, 0.0120292809, -0.0320016481, -0.023638865, 0.0415525027, 0.0589267388, 0.0262518972, -0.001426152, -0.0270711593, 0.0006730343, -0.0173161682, 0.0086971363, -0.0105957836, -0.0055144578, -0.0362432376, 0.0152248573, -0.0457679145, 0.0160556193, 0.0089985281, 0.015233106, -0.0150853861, 0.0502952486, 0.0301858597, 0.0013081192, 0.0063129268, -0.0118457666, 0.029001778, -0.0481504612, -0.0039976821, 0.0290855095, -0.0076281899, 0.0032753192, 0.022088781, -0.0370334797, 0.0070166653, -0.0119508244, -0.0993248969, 0.0169226304, 0.0041967961, 0.0335676558, 0.0088013969, -0.0075516733, 0.0004221619, 0.0265316013, -0.0506456867, -0.069651477, 0.0116733648, -0.0122208297, 0.0428795367, -0.0105024502, -0.0624867193, 0.0010940911, -0.0159509387, -0.0103281662, 0.0097043263, 0.0637921765, -0.0309886914, -0.0894570574, 0.0531484298, -0.030803347, 0.0160962418, -0.0058879922, 0.0218727011, -0.0205143541, 0.009789248, -0.0433758721, -0.019246107, 0.0100340974, 0.0165070165, 0.0243596211, 0.0239135996, -0.0183511265, -0.0017243308, 0.0239106771, 0.0483037047, -0.0021296004, -0.0053384025, 0.0429400317, 0.0202457979, 0.0118480828, -0.0045528379, -0.0372360013, -0.0008366511, -0.0302730724, 0.0117627941, 0.0223466568, -0.0152779445, 0.0009765, 0.0718566105, -0.0088899229, -0.0720956177, 0.0479665361, -0.0540352799, 0.0254727993, -0.0447990336, 0.0110032009, -0.0345868506, 0.0964643136, -0.0062139556, 0.0003415894, 0.0283200499, -0.0056242994, 0.0002213146, 0.0014491985, 0.0398548581, -0.0265086498, 0.0499729887, -0.0510716923, 0.0626500472, -0.0251179859, -0.0283387229, -0.0179586187, -0.0611433722, 0.0248258542, 0.0499614477, 0.0347455107, 0.0009269005, -0.0225919988, 0.0125754289, 0.0278480425, 0.0327976905, 0.0160027817, 0.0075123631, -0.0148545206, 0.024482578, 0.0236898623, -0.0236581173, 0.0012093757, -0.039899908, -0.0017901288, -0.0027046769, -0.024293473, 0.0329857655, 0.0044161431, -0.0173355117, -0.0142303128, -0.04559239, -0.0463479161, 0.0335835889, 0.0452559255, -0.0367762111, 0.0546409152, 0.0977120697, -0.0126447883, 0.0822071955, 0.0329058617, 0.0754488334, -0.0009337202, 0.005985402, 0.0298978817, -0.1174493879, 0.0347703882, -0.0492863767, 0.0012982229, -0.0384114236, -0.025339704, -0.0501146391, -0.1372909248, 0.0840831101, 0.0297796652, -0.0200051833, -0.0389674865, -0.024930492, -0.0177333504, 0.008593671, -0.0025634039, -0.0096159726, -0.002915367, -0.0272531454, 0.0000222469, -0.0954511166, -0.0348918438, 0.0233020689, -0.0404601209, 0.0018253606, 0.0664322227, 0.0017227456, -0.0086528463, -0.0068785381, 0.0018238482, 0.0097108223, 0.0124142533, 0.0240340922, 0.0038866359, 0.0362233557, 0.0082981186, 0.0003490002, 0.0105509218, -0.0219492652, -0.0213031974, 0.0020609009, 0.0721436441, -0.0315239914, -0.0215183422, 0.0004107128, -0.0233961288, -0.0150129348, 0.062347047, 0.0101468209, -0.0425276831, -0.0547042117, -0.0515456349, -0.0161733329, -0.0828513801, 0.0060105165, -0.0143835405, -0.0175016969, 0.0026661968, -0.0987083167, -0.0469668023, -0.0015607382, 0.0334134921, 0.0292290188, 0.0429843329, 0.0339282081, -0.0127852019, -0.0372692123, 0.0269639082, -0.007153546, 0.0152665675, -0.0328138806, -0.0142126381, 0.0353998058, -0.0274238065, -0.0254136976, 0.030030461, -0.038238924, -0.0819188803, -0.040003594, -0.0063343854, 0.027948495, 0.0050551305, -0.037653096, -0.0683688149, 0.0585940331, 0.0225680973, 0.0212847795, 0.0044891001, -0.0037507669, -0.0485512726, -0.0372969434, -0.001538469, -0.020094566, 0.0217715502, 0.0407308899, 0.0317461975, 0.0572677553, -0.039525114, 0.0334452614, 0.0901419222, 0.0205707327, -0.0134356041, 0.0489162095, -0.0233419053, 0.0094578313, -0.0309478194, -0.0285761952, -0.0572151206, -0.006853045, 0.007800065, -0.0304021705, -0.027111413, 0.0317538381, -0.0121051222, 0.0278054401, -0.0554653779, 0.0065364596, -0.0955256298, 0.0023662099, 0.0461923219, -0.0373481922, -0.0007343327, 0.0127200633, -0.0418289527, 0.0313258544, -0.0193057116, 0.0035399243, -0.0077519286, 0.0291468054, -0.0214944426, 0.0189160984, -0.0090459585, -0.0782601461, -0.0536417402, 0.051263608, 0.0621273071, 0.0220981631, 0.0690971017, -0.0863059014, -0.0004258156, -0.0292838439, 0.0631462559, -0.0023110053, -0.0194183588, 0.0128277242, 0.0194925126, -0.0137771191, -0.026387047, 0.0530841164, 0.0425106287, 0.0371973477, -0.0622085221, -0.0202407725, -0.0370600224, -0.0399337001, 0.0185904857, -0.0131868906, -0.02726507, -0.0019097788, -0.0923009291, -0.0206316169, 0.0226860251, 0.0004355425, 0.0470494889, 0.0111712357, 0.0034332115, 0.0625666454, -0.0016574573, -0.0290140267, -0.0483577996, -0.0274000242, 0.0070179561, -0.0387744792, -0.0072077624, -5.561658299e-33, -0.0059799571, -0.0245074667, 0.003867469, -0.0021346933, 0.0109575633, -0.0247633103, -0.0621984415, 0.0190389864, 0.0373438783, 0.0231761094, -0.0080407383, 0.0021028323, 0.0113836741, 0.0227929559, 0.0273824558, 0.0215853751, 0.0485976785, 0.0190594774, -0.0349796265, 0.0195460748, 0.0041025882, -0.0039230855, 0.023282459, -0.0496605858, 0.0408620052, 0.0071598957, -0.0240293164, -0.0476833582, -0.0428236015, 0.0549654961, 0.0015450645, 0.0243973881, 0.0128597841, -0.0575839058, -0.0186294522, -0.0278020836, -0.0311731268, 0.0398873314, 0.019102715, -0.0469221286, 0.0179671794, -0.0243104715, 0.0554819144, 0.0086888578, -0.0598546714, -0.0002490651, 0.0409411937, -0.0295769684, -0.0131719746, -0.0871753171, -0.0701174811, 0.0484435521, 0.0167148076, 0.0304034594, 0.0202048793, -0.0315576717, -0.0252184905, 0.0397813767, -0.0279402975, 0.0317172669, -0.0094381319, 0.0178360809, 0.0439829491, -0.0537508056, 0.0022567038, 0.0566627942, 0.0068649319, 0.0632813796, 0.0155187752, 0.0310756564, -0.0315042064, 0.0848560855, 0.0280867089, 0.0079679601, 0.0375361852, 0.0100684585, -0.0608985014, 0.0155346813, -0.0500953533, -0.026429059, 0.0378692076, -0.0134540983, -0.0159166753, -0.0162964929, -0.0149258478, 0.0094847633, 0.0004241147, 0.0050158394, 0.0080291191, 0.0082552806, 0.0028523854, 0.0469616726, 0.0176146328, -0.0466357842, -0.0540115163, -0.0438114777, -0.0047732107, 0.0539550297, -0.0257422514, -0.0313973464, -0.0418124385, -0.0236155093, -0.0260032117, 0.0158542674, 0.022374684, 0.011215575, 0.0108896773, -0.0270798896, -0.0497212633, 0.0250773579, -0.033437334, 0.0235975627, 0.0143770119, -0.0058496227, 0.0092223808, 0.0134670176, 0.0268396307, 0.0215097535, 0.0010026029, -0.0771000013, -0.0343838111, 0.0054968065, 0.0081574759, -0.0088662198, 0.0023078257, 0.0240400955, 0.0135206971, 0.0331304222, 0.0661085322, -0.0002208759, -0.022256976, 0.0164349675, 2.476e-7, 0.0343875475, 0.0715914965, -0.0038194836, 0.0463101268, 0.0175549798, 0.0186925847, -0.0263091065, 0.0498089828, -0.0149114132, -0.0393371657, 0.0078453505, -0.0350217931, 0.0547937974, -0.0063238922, -0.0918065459, -0.0219059028, -0.0218165964, -0.0028792068, -0.062396571, 0.0039492152, 0.0900518447, 0.035636995, -0.0000131477, -0.0099838506, -0.0169330854, -0.0609017275, 0.0831069052, -0.0019124941, -0.0218431689, 0.0418864377, 0.0752731636, -0.0302504078, -0.0277936123, 0.0533556528, -0.0445476137, 0.0349076204, -0.0077102627, 0.062497668, 0.0247597247, 0.0555541217, -0.0058233286, -0.0380569287, 0.0033632242, -0.0370752141, 0.0091310805, 0.0019038726, -0.0338716619, -0.0096881129, 0.0036937871, 0.0133540789, -0.0195741225, 0.0194201544, 0.0272083897, -0.0202279538, -0.0042805956, 0.0000925384, 0.0027530752, -0.0529559478, -0.0132760117, 0.0185614303, -0.0496169291, -0.0245726649, -0.0086940322, 0.0027249104, 0.0605799332, -0.049737189, 0.0298840757, 2.253347365e-34, 0.0485110991, -0.0391917005, -0.0109422337, 0.0119680092, 0.0593597069, 0.028036423, 0.0642320663, 0.0192522518, -0.026757231, -0.0569585487, -0.0025427227 ]
http://arxiv.org/abs/2406.19388v1
http://arxiv.org/pdf/2406.19388v1
Taming Data and Transformers for Audio Generation
2024-06-27T17:58:54
2024-06-27T17:58:54
Moayed Haji-Ali, Willi Menapace, Aliaksandr Siarohin, Guha Balakrishnan, Sergey Tulyakov, Vicente Ordonez
cs.SD
cs.SD, cs.CL, cs.CV, cs.MM, eess.AS
Generating ambient sounds and effects is a challenging problem due to data scarcity and often insufficient caption quality, making it difficult to employ large-scale generative models for the task. In this work, we tackle the problem by introducing two new models. First, we propose AutoCap, a high-quality and efficient automatic audio captioning model. We show that by leveraging metadata available with the audio modality, we can substantially improve the quality of captions. AutoCap reaches CIDEr score of 83.2, marking a 3.2% improvement from the best available captioning model at four times faster inference speed. We then use AutoCap to caption clips from existing datasets, obtaining 761,000 audio clips with high-quality captions, forming the largest available audio-text dataset. Second, we propose GenAu, a scalable transformer-based audio generation architecture that we scale up to 1.25B parameters and train with our new dataset. When compared to state-of-the-art audio generators, GenAu obtains significant improvements of 15.7% in FAD score, 22.7% in IS, and 13.5% in CLAP score, indicating significantly improved quality of generated audio compared to previous works. This shows that the quality of data is often as important as its quantity. Besides, since AutoCap is fully automatic, new audio samples can be added to the training dataset, unlocking the training of even larger generative models for audio synthesis.
[ -0.0085611884, 0.0589136779, 0.0023795818, -0.0135614099, 0.0273020547, -0.0287233796, 0.0341207907, -0.0255160183, -0.0733968168, -0.0176982842, -0.0590913221, -0.0022492015, 0.0034690925, 0.0467230193, 0.0074782725, -0.0860573873, -0.0166160557, -0.0350188613, -0.0335795581, -0.0223521013, -0.0259933099, 0.0103427898, -0.0171657968, 0.039656695, -0.0439113788, 0.0121694142, 0.007206474, 0.0294473991, 0.0155268479, -0.0168497264, -0.0322688557, 0.0790537372, 0.0231278352, 0.0175655838, 0.0000018721, 0.0001559841, -0.0039453567, 0.0214889403, 0.0443158112, 0.0221665073, 0.0288486127, 0.0054510897, -0.0563036427, 0.0243134443, -0.0158855747, -0.0223766267, 0.0627425164, 0.0369256474, 0.0539854132, 0.0299988892, -0.0212432966, -0.0750120729, -0.0178187899, -0.0488355681, 0.0117191849, 0.0305058137, -0.0139908092, 0.0388909504, 0.0070997234, 0.0015394804, -0.0037345581, 0.0446243957, 0.016557185, -0.0004592503, 0.0505798534, 0.0608767048, -0.0562677644, -0.0413287319, -0.0017370003, 0.078231968, 0.0268008392, 0.0050134384, -0.0072384682, 0.0310963169, 0.0091527319, -0.0440208949, -0.0403426215, 0.0357635505, 0.0201432779, 0.0178696215, -0.0657664835, 0.0539998226, 0.0321732536, -0.0581789613, 0.0222120658, -0.0656755194, 0.0382541306, 0.006372395, -0.0403944477, -0.0320872813, -0.0428666808, -0.0311954487, 0.0136561841, -0.0243179053, 0.0072864029, -0.0285190791, -0.0707526878, -0.0411898158, -0.0187462252, 0.0143270064, 0.003893822, 0.021154834, -0.053278435, 0.0444413573, -0.0077548325, -0.0144690424, 0.0004466558, -0.0122804372, -0.027541576, -0.0178880468, -0.018575266, -0.0035450768, -0.0353491977, 0.0047835396, -0.0641330853, -0.0413250066, -0.0597165897, -0.0375206247, -0.0352047272, 0.0134683428, 0.0319473222, 0.0677216798, -0.0419445373, -0.0099037588, 0.0338635407, -0.0033975586, -0.0088345138, 0.0649444833, 0.0231086425, -0.036673896, -0.0166595299, 0.009783648, 0.0532307923, 0.0263925474, 0.0374689288, 0.0915753394, 0.002621443, -0.00247424, -0.0062144389, -0.0270859413, -0.0357230231, -0.0100731142, -0.0386478044, -0.0595938601, 0.0328859687, -0.0211030468, -0.0176361389, -0.0272897296, 0.0248948652, 0.0164962653, 0.0284107681, 0.067580156, -0.0201282892, 0.0479825363, 0.0205789376, -0.0023506316, -0.0151241859, 0.0177026391, 0.0950415805, 0.0167119969, 0.0108002201, -0.0320371799, 0.0446234271, 0.0400025956, 0.0312817916, 0.0085519692, -0.0105648618, -0.0553975962, -0.027486207, 0.0453661121, 0.060811799, 0.063533552, -0.0054745981, -0.0103125228, 0.089773871, -0.0138547542, 0.0202618148, 0.0548262671, 0.0488591529, 0.0066267648, -0.0214546155, -0.0402088501, 0.0251995232, 0.0754768699, 0.0302182157, 0.0136755677, 0.0573342666, 0.0252618678, -0.0199251082, -0.0411320664, 0.021718571, -0.0048081982, -0.0308071636, -0.0266420804, 0.0050317803, 0.0642625988, -0.0607940704, 0.0640639588, -0.0228922535, -0.0880983174, -0.0003379083, -0.0328362882, 0.0090310052, 0.0468810834, 0.0455895923, -0.0072617102, 0.0270708073, -0.0438341089, 0.0043551866, 0.0783340633, -0.0054915706, -0.0263569336, 0.0233892817, -0.0509985127, -0.025043007, -0.0111672133, -0.0019174911, 0.0371142328, -0.0128249219, 0.0025969071, 0.0385524966, -0.0276452769, -0.0288486704, -0.0007504537, -0.0074337502, -0.0618415214, 0.0455398299, 0.0074449945, 0.0342628881, 0.0333008543, -0.0607686341, 0.0121278092, -0.0019170884, -0.0338475257, -0.0131182643, 0.0660026222, -0.0731906295, 0.0080402289, 0.0166882146, -0.080338724, 0.0155499829, 0.0135516347, 0.0074028373, -0.057489641, 0.0467567109, -0.0456347317, 0.0186425839, -0.0278443769, 0.0192277413, 0.0156607702, 0.0180312004, 0.0351638682, 0.0206523798, 0.0077287299, -0.0350079983, 0.0346238315, 0.0224957895, 0.0113013536, -0.0109534264, -0.0212794784, -0.0014453154, -0.0135889323, 0.0022514882, -0.0026081316, -0.0051651164, -0.049752187, -0.0216373634, -0.0748536885, -0.0017352831, 0.0018057581, -0.0418588556, -0.007171609, 0.0055274297, 0.0019543006, 0.0031794633, -0.0182810444, -0.0410900377, -0.0105639063, -0.0129330559, -0.0355215296, -0.0072380379, -0.0489275083, -0.0059521631, 0.0286740586, 0.0344593152, 0.0046588317, 0.0140657872, 0.0016013283, 0.006102684, 0.002101273, -0.000990067, 0.0135741644, 0.0014716655, -0.0288242642, -0.0025672198, 0.0259015206, 0.0705240741, 0.0045840754, 0.0162997562, -0.0078545138, 0.0436955802, -0.0031028728, -0.0168488678, 0.0120230718, 0.002097507, -0.0103830742, 0.0141433654, -0.0154452426, -0.0110197132, 0.0174379349, 0.0635895357, 0.0309917629, -0.0326889418, 0.0190004446, -0.0220486354, -0.0364594944, 0.0311067272, 0.0001060359, -0.0280776899, 0.0236368049, -0.0238413829, -0.0506932661, 0.0107498188, -0.0414603278, -0.0528512746, -0.0152063835, -0.0069998088, -0.0150564481, 0.0356145389, -0.0292737279, 0.0339330919, 0.036809314, -0.0221718121, -0.0105408123, 0.0221650228, 0.0539981313, -0.0743118301, 0.0047634323, -0.0344875157, -0.0162174776, -0.0020793763, -0.0366282687, -0.031171212, 0.0086186901, -0.0131144552, 0.0056009078, -0.0039317743, -0.0350007303, -0.0217396934, 0.032460276, 0.0325045399, 0.0609953403, -0.0100186942, -0.0052914224, -0.0104120634, 0.0390142985, 0.0363333523, 0.0121056531, -0.0175294317, -0.0257683769, 0.0202327278, -0.0050127078, 0.0171373766, 0.0012943151, -0.0513724796, 0.0082959495, 0.020499574, 0.0287302434, -0.0104626492, 0.0350929387, 0.038202256, -0.0266822893, 0.0166607946, 0.0958034024, 0.0143048977, -0.0145053007, 0.0222205147, 0.0269343704, 0.0044558663, 0.0164813269, -0.0370433219, -0.0561295338, -0.0487234034, 0.0285573304, 0.0539252087, 0.0173086952, 0.0300238933, -0.0200826991, -0.0777963474, 0.0860658288, 0.0357942171, -0.0621786416, -0.0620522723, -0.0067259129, -0.0188963506, -0.0231035706, 0.0253248289, -0.0050617484, 0.0032391078, 0.0176584385, 0.0349628814, 0.0066601196, -0.0696184263, -0.0314107649, -0.0654676929, 0.1154082865, 0.0738670528, 0.0553947538, -0.0305665098, -0.0310132559, -0.0276683401, 0.0193490516, -0.0041043074, 0.0327725932, 0.0616020001, 0.0232452787, -0.0103381639, 0.0158890691, 0.0574880578, -0.0249525886, -0.0008839395, 0.0209356006, -0.0060407277, 0.0145736123, 0.004435203, -0.0448505208, 0.0612062924, 0.0099850651, 0.0729490817, 0.0498486087, -0.00625904, 0.0221250281, -0.0108999908, 0.0068035824, -0.1326031089, -0.027117379, 0.0073210127, 0.0011288672, -0.0822914317, -0.0511748344, -0.0064788908, 0.0088500464, 0.0138637973, 0.0135862827, -0.0328073874, -0.0320594944, 0.0061464137, -0.083845593, 0.0093089174, -0.0293585751, -0.006844515, -0.0324744135, -0.0620697029, 0.0563134849, -0.023510728, -0.0186884943, 0.0635166094, -0.0485674217, -0.0244449656, -0.0107413167, 0.0462334678, 0.0166638307, 0.0377384797, 0.0379161127, -0.0016919181, 0.0444465131, 0.0688420385, -0.0029268872, 0.0287043918, 0.0477362946, -0.0159982238, 0.0085194763, 0.0097161159, -0.0763227195, 0.0673281327, -0.0137028713, 0.0444888659, 0.0275125671, -0.0115066385, 0.0207640529, -0.0154754408, -0.0055383677, -0.0591742285, 0.0342313796, -0.0479042418, -0.0261301696, -0.0362151042, -0.0098461388, -0.0482926928, 0.0295842402, 0.0532065071, 0.0567017645, -0.0283242799, 0.0341380723, -0.0199476276, -0.002376999, -0.0317434594, 0.0214271974, -0.0013705883, -0.0632122904, 0.0158334579, -0.0231812187, 0.0246301424, -0.0036282821, 0.0378443748, 0.0085681742, 0.0297201052, -0.0167326145, 0.0002171228, -0.001734519, -0.0124721928, 0.0504344925, -0.0104588363, 0.0179726388, -0.0497253127, 0.0470115654, 0.0500195771, -0.0043090982, 0.0677023232, -0.004338271, 0.0151105355, -0.0020178242, 0.0420684442, -0.0051225177, -0.0450841412, 0.0093752546, -0.0266967602, -0.0003431546, -0.0130928522, 0.0670055002, -0.0719470084, 0.0244621169, -0.0247617252, -0.0022366215, -0.0250466242, 0.0039438237, -0.0462237783, -0.028442584, 0.007398393, 0.0344424509, -0.0147778289, -0.0414743759, 0.0025834155, -0.0277606435, 0.0291261226, -0.0197052713, 0.0412547886, 0.0032262425, -0.0079019275, 0.012775627, 0.0159207899, -0.0402067602, -0.0499495864, -0.0074345162, -0.0031435401, -5.12751444e-33, -0.0540956669, 0.0059644622, -0.0123202642, -0.0004979277, -0.0399465375, -0.0087678339, -0.0537309311, -0.0045563476, 0.0188042689, 0.0070289043, 0.0206958856, 0.009736497, 0.0047023837, 0.0519176908, 0.0131257018, 0.0108521897, 0.0931084305, -0.0116109038, -0.0461725332, 0.0461717732, 0.0206854418, 0.0064542671, -0.0049297558, -0.0576249175, -0.0585276075, -0.0169045813, -0.0463218503, -0.0300352219, 0.0508900099, 0.0450189449, -0.0094847968, 0.0520874038, -0.0419533886, -0.0520342402, -0.0020629298, -0.0151486006, -0.0504593365, 0.0035696125, -0.0090995869, 0.0289945342, 0.0132849356, -0.035627611, 0.0383355543, 0.0074165426, -0.0512173958, -0.0293693207, 0.0522982217, -0.040917553, -0.0087895244, -0.1110311747, -0.0547415018, 0.0127238482, -0.0380254872, -0.0692272261, 0.0217774399, 0.0492956862, 0.0005748307, 0.0176473372, -0.0303257909, 0.0702532232, 0.0316212028, 0.0202538688, 0.0618271604, 0.0297882613, 0.0007416295, 0.0485476665, 0.0102993585, -0.044253543, -0.0361780748, 0.0288250763, -0.0074585574, 0.0593515895, 0.0240444001, 0.0459863059, 0.0510017313, -0.0244555175, 0.0040281606, 0.0655258745, -0.0712742656, -0.0219908599, 0.0397293419, 0.0588598177, -0.0198860317, 0.0284200646, -0.0642955676, -0.0101458328, -0.0295038521, -0.0384793356, 0.0288280323, -0.0029123127, -0.0246944372, -0.0329000913, 0.0127706211, -0.0240578093, 0.0339087583, -0.0094503388, -0.0524486415, 0.027002139, -0.0223951992, -0.0302512087, 0.0352156535, 0.0019848342, 0.1362870038, 0.027441239, 0.0281213634, 0.0155515624, 0.0134596918, 0.0721742138, -0.0548412427, -0.0144056091, -0.0159547459, 0.0202571489, 0.0071540996, 0.004896991, 0.0039407439, 0.0267452653, -0.0533817671, -0.0143335834, -0.0233520828, 0.0698641613, -0.0057955524, -0.0314734094, -0.0290893875, 0.0039388742, -0.0477374606, 0.0361674167, -0.0347371586, -0.0555679873, 0.0176624805, -0.050417807, -0.0798128247, -0.0053517795, 2.637e-7, -0.0342158079, 0.0041468753, 0.0105983363, 0.0152931847, 0.0158057008, 0.0377377532, -0.0153174084, 0.0187254492, -0.003243763, -0.015836807, 0.0520178452, -0.0005911057, 0.0664786845, 0.0307040047, -0.0884090289, -0.0023847439, -0.0651545823, 0.0083462764, -0.0038851772, -0.0192927364, 0.0347790644, 0.0723186731, -0.0175506435, -0.0308826324, 0.0463642105, -0.0192553289, 0.0474340841, -0.0288391188, 0.0182378646, -0.0437128544, 0.0422343872, 0.0294891875, -0.0257067326, -0.0111391274, -0.0455380753, 0.0018012681, 0.0560829081, 0.0287104677, -0.0037205142, -0.0391201861, -0.007388432, 0.0613957904, 0.026645029, -0.0034469422, 0.0433740728, -0.019452069, -0.027685741, -0.0295949113, -0.0740454495, 0.0279598944, -0.0232431125, -0.0409781113, -0.019014556, -0.028251702, 0.0337442271, 0.0291261096, -0.0143207936, -0.0389112122, -0.0028550585, -0.0084899552, -0.0422860421, -0.0345244259, -0.035584297, -0.04282986, 0.0043128119, -0.0053711766, -0.009878939, 1.98840701e-34, 0.0361902826, -0.0440714955, 0.016140312, -0.0304713696, 0.0157856196, 0.0193139575, 0.0331312977, -0.0081496416, -0.0138017656, -0.0313239172, -0.0304819625 ]
http://arxiv.org/abs/2406.19384v1
http://arxiv.org/pdf/2406.19384v1
The Remarkable Robustness of LLMs: Stages of Inference?
2024-06-27T17:57:03
2024-06-27T17:57:03
Vedang Lad, Wes Gurnee, Max Tegmark
cs.LG
cs.LG, cs.AI, cs.CL
We demonstrate and investigate the remarkable robustness of Large Language Models by deleting and swapping adjacent layers. We find that deleting and swapping interventions retain 72-95\% of the original model's prediction accuracy without fine-tuning, whereas models with more layers exhibit more robustness. Based on the results of the layer-wise intervention and further experiments, we hypothesize the existence of four universal stages of inference across eight different models: detokenization, feature engineering, prediction ensembling, and residual sharpening. The first stage integrates local information, lifting raw token representations into higher-level contextual representations. Next is the iterative refinement of task and entity-specific features. Then, the second half of the model begins with a phase transition, where hidden representations align more with the vocabulary space due to specialized model components. Finally, the last layer sharpens the following token distribution by eliminating obsolete features that add noise to the prediction.
[ 0.0332896076, 0.0264332723, -0.034511961, 0.0664421022, -0.0345466509, 0.0164063629, -0.0115997195, 0.0078608608, -0.0181409549, -0.062176235, -0.0420063473, 0.002475135, -0.0167304501, 0.0126775578, 0.0451570489, -0.0476149619, 0.0522697009, -0.0402970389, -0.0099084983, -0.0121688126, -0.0217104144, 0.0073847468, 0.0046964972, 0.0454573818, 0.0124172168, 0.0064065713, -0.0022680177, 0.0156039745, -0.0221377537, -0.0024962106, 0.0063524833, 0.053136114, 0.0233373903, 0.0340858921, 0.0000020424, -0.0690340921, 0.016852526, -0.0300757457, -0.0622712933, -0.0090772817, 0.0369533338, -0.0188038964, -0.0005432937, -0.0274597295, -0.0257923529, 0.0040071127, 0.0219228864, 0.046609655, 0.0041160583, 0.0806323588, 0.0037059195, -0.0362231284, 0.0061491001, -0.0240928419, -0.0325813778, -0.0315565467, 0.0193801504, -0.0587637052, -0.0266370159, 0.0077830302, -0.0318315364, 0.02947204, 0.0123653859, 0.0315449238, 0.0030022333, 0.0383588299, 0.0134922136, -0.044590991, -0.0007602156, 0.0465172231, -0.0335293785, -0.01450813, -0.0071262657, -0.0157382675, 0.027912816, 0.0033911024, -0.0445466638, 0.0188687574, 0.0137291951, 0.0509995483, 0.0327286758, -0.0379071869, 0.0611915663, 0.0279301461, -0.0091060856, 0.0705089048, 0.0070936303, -0.0293363389, 0.0078843627, 0.0075787739, -0.0220797062, -0.0517021939, -0.0198748223, -0.0009411531, -0.0163274016, 0.0285773389, -0.0161705166, -0.000103956, 0.0098212063, -0.0371191278, 0.0240206867, 0.030195957, -0.0466004163, 0.0342552736, -0.0402858853, 0.029765306, 0.0035409036, 0.0237345081, -0.0488876626, -0.0080542797, -0.018376248, -0.0244651064, 0.0059184134, 0.0676838383, -0.0345868282, 0.017161971, -0.0693251938, 0.0290278103, 0.0004936562, -0.0132842865, 0.0108600194, 0.0309657101, -0.0309851822, -0.0157614406, -0.0422453806, 0.0116821704, -0.0168103594, 0.06137022, -0.0056074527, -0.0650327429, -0.02353126, 0.0135038961, -0.0018197672, -0.0531511381, 0.0067033493, 0.0866205841, -0.0184055269, -0.0545932055, -0.058417365, -0.0279257502, -0.028280938, -0.0527039506, 0.0251751319, -0.043905966, 0.0160845537, 0.0064082472, -0.009501976, -0.0650550574, -0.0038461031, -0.0202893987, -0.0705472156, 0.0866629481, -0.00956144, 0.0149101801, 0.0169640053, 0.0195786655, -0.0404749215, 0.0756589323, 0.0194398481, 0.0435994305, 0.0312272292, -0.0064887484, -0.0029012465, 0.0435591042, -0.0012200095, -0.0023870319, -0.0421059579, -0.0189083666, -0.0104758171, -0.0017830409, 0.0569654666, 0.0252123997, -0.0309961922, -0.0246967133, 0.080244638, 0.0667850375, 0.0139469998, 0.0177123044, 0.0217192527, -0.0146145262, 0.0097999228, 0.0382763855, -0.108419992, -0.0005931223, -0.0268773306, -0.0132280029, -0.0114711523, 0.0271162726, -0.0338121057, -0.0309809446, -0.049412284, -0.002639848, 0.0159778036, -0.0034193113, 0.0536555238, 0.0294358842, -0.0339637659, 0.0809987038, 0.0536332019, -0.0433850549, 0.0080318963, -0.0917969346, 0.0245680921, 0.048849389, 0.0284895394, -0.0184436068, -0.0166859031, 0.0323561169, 0.0300459731, 0.0421466194, 0.0060625505, -0.0027949293, 0.0637522936, -0.0319657922, -0.0306125805, -0.0152895628, 0.046236366, 0.0002565429, 0.0157037806, -0.0349669419, 0.006133595, -0.0767358616, 0.0153221739, 0.0369813368, -0.045317281, -0.0235779304, -0.0201727636, -0.001428228, 0.0150482124, 0.0141079193, 0.0181225315, 0.0079392074, 0.0383401588, -0.0301003307, 0.0123262005, 0.031968262, -0.055070851, -0.0328808166, 0.0182484463, -0.0018403286, 0.0091878548, 0.0142010329, -0.0462435782, -0.0217875317, 0.0523112081, -0.0128632328, 0.0467415601, -0.0430671535, 0.0406487435, -0.0226741266, 0.0053726733, -0.0203745309, 0.0636750087, -0.0189970806, 0.00690844, 0.0023631898, 0.0074618608, -0.0356076472, -0.0303066671, -0.0187477972, 0.0188301075, 0.0017619391, -0.0267520994, -0.016659217, -0.030432241, -0.0616153367, -0.0324124061, -0.1128871217, -0.0316128768, -0.018644616, 0.0123172747, 0.0322034284, 0.0047263694, -0.0088987965, -0.0315874442, 0.0265949648, -0.0028774766, -0.0044032428, 0.0495170616, 0.0223356374, -0.0133864405, -0.0175045636, -0.0436986201, -0.0102628144, 0.0001224201, 0.0491790995, -0.0370869972, -0.0504548214, -0.0400404669, 0.0013516363, -0.0343994312, 0.0302457344, -0.016954679, -0.01358175, 0.0077617411, 0.0035489916, 0.0491436049, 0.0507764444, -0.0286791045, 0.0664967969, 0.0571915433, -0.034171097, -0.0481744334, 0.0077009569, -0.0089192027, -0.0148576032, -0.0632234812, -0.0275228266, -0.0210845433, 0.0984222963, 0.0357736684, 0.0086624455, -0.0384557657, 0.030479487, -0.0180472694, -0.0327001214, -0.0034430448, -0.0205599461, -0.0425720327, 0.0305354819, -0.0424381606, -0.0570562445, 0.0669930801, -0.0051711197, 0.0055825501, 0.0072131995, -0.0125583075, -0.0095831724, 0.0753210112, 0.0112712104, -0.0072698956, 0.0185241047, -0.0416368246, -0.0876768082, -0.0119185662, 0.0008244382, -0.0251370296, 0.0683528781, -0.0655273572, -0.0097117089, -0.0007474574, -0.0482687689, -0.0459245481, -0.0305584595, -0.0365500972, 0.0375858471, -0.0035115462, 0.0054399613, -0.0424424894, -0.0303973295, -0.0023550873, 0.0354808271, 0.0003900396, 0.0189215541, -0.013819566, 0.0122716688, 0.021448534, 0.0494652726, 0.0111634508, -0.0314213187, 0.0356755778, 0.0769634768, 0.0068920585, -0.0147903217, -0.0097353505, 0.0310466494, 0.0458635911, -0.042785082, -0.0371616632, 0.0196336415, 0.0903640687, -0.0450780988, -0.0141065102, 0.1165703088, 0.0013452952, -0.028665157, 0.0402523242, -0.0199514218, 0.0162347183, 0.0346141458, -0.0144121582, -0.0755679309, -0.042581737, 0.0347760953, 0.0041492619, 0.0067736814, -0.0243094694, 0.0141457478, -0.101200901, 0.0527887642, -0.0048414795, -0.0374379307, 0.0015420277, -0.0472269803, 0.0315038189, -0.0114153922, 0.0651826859, 0.0298408382, -0.0113589196, -0.0141364178, 0.0185711235, -0.0088370917, -0.0466919206, 0.0093684662, -0.0371724889, 0.0478427, 0.0398096703, 0.0087536145, -0.010186838, -0.0181864165, 0.0834709257, -0.0085269548, 0.048730962, -0.0382226594, 0.0614753775, 0.0026944368, 0.0204012021, -0.0123266289, 0.013333845, 0.0076312292, -0.0459854789, -0.004236565, 0.0556906462, -0.0208447333, -0.041766692, -0.0109956907, -0.0240779743, -0.0611608736, 0.0961316526, 0.0470023416, -0.0342751779, -0.0316752568, -0.0239595808, -0.0115405973, -0.0121858083, -0.0142597668, -0.005388902, -0.0173286647, 0.0137148052, -0.0507769398, -0.0228025578, 0.0281142425, -0.0009585996, 0.0098808426, 0.0234956257, -0.0363560468, -0.0164205804, -0.026751237, 0.0330464393, -0.0178223234, 0.0012856279, -0.0205160901, 0.0003237425, 0.0175190028, -0.0464102477, -0.0113228187, -0.0204152465, -0.0927881151, -0.0824488625, 0.0213825572, 0.0286602881, 0.0261002462, 0.0587647595, 0.0051323404, -0.08330971, 0.0717787072, 0.0078295479, -0.0001114987, 0.064602904, 0.0224353354, -0.0075531853, 0.0102699259, 0.07409513, -0.0516528748, 0.0282160901, 0.0731126294, 0.0383690335, -0.0028139746, -0.0274063442, -0.0117450086, 0.0023249651, 0.0814007372, -0.0190638937, -0.0168858282, -0.0399928167, 0.0280963667, -0.0116522983, -0.0173706897, -0.0170701053, 0.0295173116, 0.0220446624, 0.0443250202, -0.0090198945, 0.0127738146, -0.0174525175, 0.0679462776, -0.0469414517, 0.0088210152, 0.0016953025, -0.023992084, 0.0074026738, 0.0343413912, -0.0231164936, 0.032027889, -0.0235542487, 0.0067465785, -0.0146567551, 0.0149428677, 0.0033946743, -0.0061619412, -0.0696714595, 0.0260066818, -0.077442579, -0.0163492449, -0.0178510901, 0.0364842005, 0.0464140736, -0.0089526121, 0.0365451947, -0.0077465624, -0.0144139901, -0.0083676577, 0.0211785045, 0.0017123845, 0.0074050408, 0.0535755791, 0.0158328842, -0.0397006981, -0.0036171265, 0.0655892938, 0.010611196, 0.0660444796, -0.0140638174, 0.0159501527, -0.0266793743, -0.0568317883, 0.0244761277, 0.0479162708, -0.0238968302, 0.0105784014, -0.0286573935, -0.0863645971, 0.0236481484, -0.0152871786, 0.0047069299, -0.023719769, 0.0188725386, 0.0739199519, 0.0274397898, -0.029263543, -0.0072750589, -0.0075838435, 0.0527071431, -0.0192685276, -0.0110705541, -7.040837207e-33, -0.0068641431, -0.0061537656, -0.0009224428, -0.0242224932, -0.0148699563, 0.0031815621, -0.0328015238, 0.0171294063, -0.0328880399, 0.0129202874, -0.0160479713, 0.0183367655, 0.0234805942, 0.0112969112, 0.0113888932, -0.0311513469, 0.0505460836, -0.001586742, -0.0180707499, -0.0221269727, 0.0111031877, 0.0403448492, 0.1007878333, -0.014215786, 0.0437171087, 0.0131164342, -0.0114981448, 0.0565385893, -0.0132336235, 0.0545338541, -0.0078697791, 0.0537608676, 0.0488205291, -0.0294889249, -0.0283049904, -0.001783032, -0.0790974498, -0.0352038965, 0.0833938718, -0.0082154237, -0.0345466472, -0.0439026989, 0.0813779086, 0.016005449, -0.0569750294, -0.0080199018, 0.0245601591, -0.0242315643, -0.0116648702, -0.0068707927, -0.0545997806, 0.0144475829, 0.0250334535, 0.0134400232, 0.0276033226, 0.0071307127, -0.0002398493, 0.0215572864, -0.0717793107, -0.0077864248, -0.0033196763, 0.0480242632, 0.0626726896, 0.0608648024, -0.0234800912, 0.0779910237, 0.0462194048, 0.0177340042, -0.036950063, -0.0183903482, 0.0501722246, 0.0709685534, 0.0294301752, 0.0139893498, 0.0289400481, 0.0003563993, -0.0593660697, -0.007022738, 0.0092390953, 0.0615557767, 0.0373722613, 0.0448075421, -0.0109125255, -0.0521285534, -0.0605851039, -0.0187604968, -0.0543983318, -0.0228025317, 0.016867375, 0.0172431394, 0.0170610063, -0.0057138284, 0.0012190224, -0.0323721915, -0.0091961678, 0.0034393719, 0.0037517163, -0.0087741232, 0.0193497334, 0.0084465649, -0.0285013914, -0.0280179158, -0.009475112, 0.0137132807, 0.0018667311, 0.0119205676, 0.0291918553, 0.0157868844, -0.0454797596, -0.0025397416, -0.0424991101, -0.0288015138, 0.0038624997, 0.0322975777, 0.051889006, 0.0206483528, -0.0114510097, 0.0166387241, 0.0451673493, 0.0137809925, -0.0468950868, 0.0258547738, 0.0067210374, 0.0369619653, -0.0221878253, -0.0141012603, -0.0017127846, 0.0156454537, 0.0263222009, -0.0471220687, -0.0261319, 0.0243778601, 2.867e-7, 0.0355180949, 0.0352890752, 0.003217218, -0.0156012252, 0.0265087169, 0.0197725855, -0.0187295265, 0.0212866887, 0.0367719829, -0.0165761765, -0.0048733694, 0.0297133308, 0.0615149774, 0.0193694308, -0.1030537337, -0.0055569042, -0.0621241555, 0.0193248298, -0.0215189215, 0.0077101137, 0.0172648933, 0.0946597606, 0.0314073749, -0.0377279148, -0.041122485, -0.0452351682, 0.0275745932, -0.0576159135, -0.0011689028, -0.0198383294, 0.0226095356, 0.0124932779, 0.0355560817, 0.0278128441, -0.0166523568, 0.032011319, -0.0170212947, 0.0628597885, -0.0251684412, -0.0384962931, -0.0219530035, -0.0069433409, 0.0092816753, -0.0405398645, 0.0761742443, -0.0457682163, -0.0469957516, -0.0203636326, -0.0042912411, 0.0010475094, -0.0141649824, -0.0183101725, -0.0108592212, 0.0244111475, 0.0231332108, 0.0032996207, -0.036443267, -0.0832216069, -0.0613862239, 0.0163753033, -0.0714752227, -0.0939689204, -0.008822415, -0.0095299324, 0.0302157775, -0.0860088915, 0.007259625, 2.495345607e-34, 0.0163408462, 0.0157122519, 0.0369469412, 0.0755461305, 0.0018420555, -0.0213406775, 0.0261018779, 0.0131576164, 0.0166071989, -0.0788893402, -0.0115115559 ]
http://arxiv.org/abs/2406.19371v1
http://arxiv.org/pdf/2406.19371v1
Suri: Multi-constraint Instruction Following for Long-form Text Generation
2024-06-27T17:50:35
2024-06-27T17:50:35
Chau Minh Pham, Simeng Sun, Mohit Iyyer
cs.CL
cs.CL
Existing research on instruction following largely focuses on tasks with simple instructions and short responses. In this work, we explore multi-constraint instruction following for generating long-form text. We create Suri, a dataset with 20K human-written long-form texts paired with LLM-generated backtranslated instructions that contain multiple complex constraints. Because of prohibitive challenges associated with collecting human preference judgments on long-form texts, preference-tuning algorithms such as DPO are infeasible in our setting; thus, we propose Instructional ORPO (I-ORPO), an alignment method based on the ORPO algorithm. Instead of receiving negative feedback from dispreferred responses, I-ORPO obtains negative feedback from synthetically corrupted instructions generated by an LLM. Using Suri, we perform supervised and I-ORPO fine-tuning on Mistral-7b-Instruct-v0.2. The resulting models, Suri-SFT and Suri-I-ORPO, generate significantly longer texts (~5K tokens) than base models without significant quality deterioration. Our human evaluation shows that while both SFT and I-ORPO models satisfy most constraints, Suri-I-ORPO generations are generally preferred for their coherent and informative incorporation of the constraints. We release our code at https://github.com/chtmp223/suri.
[ 0.0175694358, 0.0497050881, 0.0126337474, -0.0129714133, -0.0192290861, -0.0121738594, 0.0012866905, 0.0025391998, 0.0189388469, -0.0360885188, -0.0309471078, -0.0417633727, 0.0282109845, -0.0015760238, 0.0286826622, -0.0637767985, 0.0348521583, -0.0248100124, -0.0432819352, 0.025441071, 0.0326963328, 0.0101767089, -0.033899609, 0.0156452227, 0.0141135007, -0.0412363112, -0.0381147265, 0.032550253, 0.0266933739, -0.0310550947, 0.0254354794, 0.0545913726, 0.0073151425, -0.0027632159, 0.0000019638, -0.0401741043, -0.0360832028, -0.0099216048, 0.0006647225, 0.0135008404, 0.0311438609, -0.0028414167, -0.0499837995, 0.028248284, -0.0042306567, 0.0567955375, 0.0431119092, 0.0364990979, 0.0856813118, 0.0955769196, 0.0007457785, 0.0099133225, 0.0113402167, -0.0261396002, 0.0265256353, 0.0378044918, -0.0061749979, -0.0506285429, 0.040109776, 0.0273399521, 0.0112690572, 0.0071185222, 0.0260936692, -0.0099738073, -0.0108220065, 0.0076180119, 0.0084045613, -0.0092526283, -0.0336038172, 0.0817777961, 0.0376200601, 0.0100193787, 0.0060775657, -0.0090676909, 0.0113761332, -0.0092244996, -0.0289019924, 0.0163414124, -0.0146164391, 0.0100713382, 0.0138973603, 0.0044637076, -0.0226950459, -0.0293578133, 0.0231254306, 0.0264814254, 0.0210774466, -0.0684117526, -0.0020151769, 0.0048062569, -0.0349068455, -0.0452731624, 0.0434062257, 0.0293989386, -0.0470780991, 0.0238355901, -0.0896102265, -0.0251034014, 0.0482551232, -0.0301560704, 0.0709375963, 0.059645135, -0.0092830323, -0.0064716991, -0.0386579782, 0.1035877541, -0.0482490174, 0.0363216028, -0.0456004851, 0.0680565983, -0.0476959385, -0.0174767058, -0.0128286295, 0.0366167799, -0.0646625832, -0.0212426465, -0.0674559399, 0.0300674345, -0.0073883617, 0.0271625742, 0.055613365, 0.0018795668, -0.0168171357, 0.0253787134, -0.0356974415, 0.0195826739, -0.0344725586, -0.0106308246, 0.0048981193, 0.0147765493, -0.0073681483, 0.0505244471, -0.0039198878, -0.03080393, -0.0123641379, 0.0694845617, -0.0464645885, 0.0111967651, -0.0320891328, -0.0503351688, -0.0312714316, -0.042198021, -0.0006960703, -0.0493606068, 0.0070902943, -0.0130649516, -0.0148888296, -0.0297455098, 0.0220734458, 0.053965006, 0.0057179499, 0.016765397, 0.0080783656, -0.0087890644, -0.0131530669, -0.0028672416, 0.0165863298, 0.0261479225, 0.0448250286, 0.0459559597, -0.0016899812, -0.0017137531, 0.0096667148, 0.0544981919, 0.015806973, 0.0125188986, -0.0060173138, -0.0036252197, 0.0029642214, 0.0592308417, 0.048042614, 0.0678240061, -0.0013973105, 0.0105849393, 0.0510976575, 0.0084917927, 0.0290862639, -0.0271231756, 0.0481838174, 0.0200328063, -0.0341023393, 0.0709560066, -0.034643732, 0.0445751995, 0.0110910079, 0.0366040245, 0.0290171206, 0.0143982414, -0.0078116385, -0.0490249358, -0.0055723572, -0.0051485891, -0.0130353328, -0.0238387939, 0.016992094, 0.0109519176, -0.0999574661, 0.0278215464, 0.0149415601, -0.0751166269, -0.003157346, -0.0123652276, 0.022930596, 0.1083493829, 0.0541601777, -0.0013191539, -0.0230997577, -0.0129586076, -0.0014635493, 0.0625676885, 0.0218042769, 0.0069403178, -0.0072301608, -0.0552532673, -0.0356199965, 0.0113473115, -0.0048506134, 0.0214606617, 0.0159572288, -0.0035762608, 0.0178827178, 0.0296758451, -0.0436670557, 0.0535276197, -0.0262687374, -0.0663158745, -0.0273643695, 0.0323329046, 0.0141236745, 0.0350328609, 0.0190865379, 0.0200202931, 0.0394404083, -0.0217494573, 0.0173835475, -0.0131349573, -0.0874055773, -0.057642851, 0.0193354692, -0.0349084809, -0.016801266, 0.0018668687, -0.0061476394, -0.0571450144, -0.012598305, -0.0412042849, 0.0136695597, -0.0060889274, 0.0233874097, 0.041950088, -0.0461835712, -0.0488902517, 0.0377000049, -0.0171396546, 0.0078335647, 0.0537023619, -0.0221783649, 0.0073330388, -0.0540821292, 0.001536651, -0.0094273249, -0.0128652789, -0.0000724233, 0.0270396248, 0.0529198349, -0.0575238876, -0.0611281581, -0.0637048185, 0.0450907201, -0.0123510789, 0.0312289931, 0.0319481865, -0.0026237371, -0.0066222623, -0.0028084726, -0.0634332672, -0.0528889969, -0.0168980546, -0.0097318711, 0.0332195982, 0.0099356612, -0.0163683612, -0.0358956568, -0.0090256892, -0.024373319, -0.0304894727, 0.0079580834, 0.0090395277, -0.0996636003, 0.0624666438, -0.0181082319, 0.0095278136, 0.0100669758, -0.0460567623, 0.0414923131, 0.0217688289, 0.0972766653, 0.0714198649, 0.0049603214, 0.0194503311, 0.0409371443, -0.0053864438, -0.0654211044, 0.0195141267, -0.0368263498, -0.0213984214, 0.0036803654, -0.0570227467, 0.0048290649, 0.0620686971, 0.020689236, 0.0301678088, -0.0865158141, -0.0293933414, 0.0028476114, 0.0034154279, 0.0132843237, -0.0213316549, -0.0520655885, -0.0023877912, -0.0291276127, -0.0540673621, 0.0784740597, -0.0471163988, 0.00440457, -0.0386367142, 0.0203335527, -0.0259355381, 0.0064852699, -0.001518214, 0.016148949, 0.0234254766, -0.0200268216, -0.0688546523, 0.0393142179, 0.0257435478, -0.0280450638, 0.0037081926, -0.0504476987, -0.0211866386, -0.0218476467, -0.0417377576, -0.0401970632, -0.0342108682, 0.0613718517, -0.0136283115, 0.0586619265, -0.0459509902, -0.0243299585, 0.00565656, 0.0255455971, 0.0461142994, -0.0327382535, 0.0063625211, -0.0677999631, 0.0003300554, 0.0530106723, -0.0170067046, -0.0241724122, -0.0603773631, 0.0029600351, 0.0241121128, 0.0425757617, -0.0251767486, 0.0129506616, 0.0120442789, 0.0281877164, -0.0291422401, -0.0076414151, 0.029704066, 0.0978268683, -0.0405676477, -0.0142543772, 0.1080248207, 0.0223017018, -0.0320854038, -0.0119213248, -0.0019448816, 0.0882841423, -0.0003602446, 0.0116821919, -0.0721513405, -0.0272468142, -0.002630661, 0.0817045048, -0.0171288084, -0.0039753919, -0.0292995442, -0.1025761291, 0.0055419211, 0.0343158394, -0.0267576221, -0.0114689833, -0.0151618803, -0.0143400989, 0.0036266178, 0.0175146144, 0.0283096321, -0.0211668815, 0.0039497702, 0.0317305736, 0.002664319, -0.012512695, -0.0055155945, -0.0270613041, 0.0432503857, 0.0698462278, -0.0036121735, 0.0424381942, -0.0628316626, 0.02980786, -0.0076540783, 0.0224341191, -0.005216721, 0.0221360046, -0.0105646625, 0.0048200004, -0.0461473055, 0.0726124719, -0.0558426641, 0.0159396268, 0.0169523563, 0.0574755035, -0.0035737699, 0.0159674436, -0.0188351739, -0.0063624387, 0.0172137562, 0.0512220599, 0.0188239757, -0.0676595643, -0.0365634561, -0.039466016, -0.0176499635, -0.1096154079, 0.02051498, 0.0071499571, -0.058782883, 0.0052366536, -0.0924851298, -0.054741662, 0.0228895489, 0.048209656, 0.0206471607, -0.0180361364, 0.0314245857, -0.0485834107, -0.0164759681, 0.0088554425, 0.0020733487, 0.0164986979, -0.1169357076, -0.04364039, -0.0056731608, -0.0145032806, 0.0170766599, 0.004873659, -0.0580884069, -0.0717159659, -0.0219288245, 0.0837234184, 0.0197656937, 0.0520944558, 0.022246711, 0.0024773637, -0.0112954965, 0.0445055366, 0.0048061446, 0.0026502323, 0.010170388, 0.0096990038, -0.0064649233, -0.0079495404, -0.0055804537, -0.0236354154, 0.0048298128, 0.0411470085, -0.0284476988, -0.0203226525, 0.0465033762, 0.0065700011, 0.0103597753, -0.0601330921, 0.0065215291, -0.037620198, 0.0285426751, -0.0321665481, 0.0034578405, -0.0498536117, 0.0345498845, 0.0270346012, -0.0333352759, 0.0324437879, -0.0325275958, -0.0426727273, 0.0144276889, -0.0496386848, 0.0366460755, -0.0198797062, 0.0373671949, 0.0430845842, 0.0098204622, -0.0174228642, 0.0525896512, -0.0151528334, 0.0630690753, 0.0098317564, 0.0753136054, 0.0269600153, 0.0294146538, 0.0203578975, 0.0440128259, 0.0010959578, 0.0192414653, -0.0608558543, -0.0226830654, 0.0274467897, 0.0138512282, 0.0768235326, -0.0059742625, 0.0132910088, -0.0125511074, 0.0710124373, -0.0297013484, -0.0089232, -0.0059635169, 0.0294824541, 0.0107012773, -0.0287887063, 0.0804199874, 0.0099118855, -0.0049464311, -0.0280808192, 0.0166091919, -0.0705155879, -0.0275887866, 0.0250679012, 0.0162052568, -0.0213371702, -0.014956953, -0.016105717, -0.0168724749, -0.0069490094, 0.0271600801, 0.0137206633, -0.0123076839, 0.0572853275, 0.0036772522, -0.0621643737, -0.0165680852, -0.022777345, -0.0274919979, -0.0364549309, -0.0420116298, -0.0258293916, -5.937319845e-33, -0.0666259304, -0.051068753, 0.0312025938, -0.0112991026, -0.0358319394, -0.0331759341, -0.0189370401, 0.010772611, 0.0462491475, -0.0259462129, 0.0156791601, -0.0515335836, 0.019593155, 0.0281977598, 0.0160491243, -0.0027896948, 0.0330050327, -0.0001633859, -0.0562907644, 0.0193795655, 0.0753830597, 0.0029655017, 0.0274041854, -0.0494151935, 0.0603023954, -0.0313335508, -0.0309233498, 0.0008202649, -0.0233651958, 0.0922818184, 0.0072270031, 0.0008705613, -0.0004659863, -0.0134284897, -0.0317423455, 0.0491907671, -0.0409881547, -0.0102755595, 0.0062911822, 0.0116282888, -0.0545055047, -0.0696619749, 0.0239391383, -0.0259761065, -0.0379453301, 0.008931634, 0.0378260463, -0.0157824494, 0.005247633, -0.0029784671, -0.0686844215, 0.0017172428, -0.0158708356, -0.062177334, -0.0068855705, 0.083889924, -0.0015891353, -0.0079143895, -0.0376953743, 0.0383100733, 0.0309513472, 0.0522743575, 0.0610970519, 0.023398282, -0.0044338126, 0.0171995144, -0.0067174798, -0.0189900156, -0.0032241195, 0.0036868539, -0.0064886012, 0.0302104112, 0.0425868407, 0.0128552122, 0.0384570099, 0.0026415293, -0.027666105, 0.0433241948, -0.0153712723, -0.0128031829, 0.0211111903, 0.012583592, -0.0378568545, -0.0061892122, -0.0168154631, -0.0140110292, -0.0033302042, -0.0320073403, 0.0374543108, 0.0348498225, -0.0068976739, -0.0240045749, 0.0322877914, 0.0312759131, 0.0008137662, -0.0175453331, -0.0460997075, 0.0306882896, -0.0369859003, -0.0007344602, -0.0694128349, -0.0528557152, 0.0526282378, -0.0129729668, 0.0170747582, 0.0382321365, 0.0376448296, 0.010709676, -0.0622937158, 0.0234791338, -0.0327132009, 0.0405007675, -0.0074936883, -0.0154166166, 0.0348939523, -0.0259448532, -0.0138886767, 0.0943627208, -0.0040906714, -0.0121373367, -0.046327889, -0.040531233, 0.0025691818, 0.0170989111, -0.0199179389, 0.0266904198, -0.0025303501, 0.0102106705, -0.0236547347, -0.028215332, -0.0027303081, 0.0197603833, 2.63e-7, -0.000402212, 0.0486016013, 0.062510334, 0.0140699288, -0.0078952238, 0.0234381985, -0.005102782, 0.0269142929, -0.0199301727, -0.0293121655, 0.0246893279, 0.0012603139, 0.0513196029, -0.0125901271, -0.0741629228, -0.0076182433, -0.0418551043, 0.0048387242, -0.051899109, 0.0206189975, 0.1165092066, 0.0248678476, -0.0190631803, 0.0250262786, 0.0051940987, 0.034285821, 0.0556527004, 0.0053373836, -0.0021104955, -0.0077821556, -0.0015020847, -0.0573700964, -0.0552323125, -0.0016594196, -0.0055396012, -0.0195797682, 0.0023573036, 0.0777047947, 0.0174307525, -0.0599875264, 0.0403202362, -0.0047913268, -0.0163245685, -0.011028518, 0.0199132785, -0.0067857448, 0.0104830069, 0.0262693185, -0.0100535834, -0.0156220896, 0.022906838, -0.0268458799, -0.0028985541, 0.0069620204, 0.0171218831, 0.0013789678, -0.0135038178, -0.025154151, -0.0201402642, 0.0105523672, -0.0468489602, -0.0369468816, -0.063695237, 0.0466405526, -0.0011948043, -0.0720313787, -0.0401242599, 2.649784442e-34, 0.0044385986, -0.0316903405, 0.0300245602, 0.0186120551, 0.0202024616, -0.0133098308, -0.0215814859, 0.0356255136, 0.0485731475, -0.0642539337, -0.0429861359 ]
http://arxiv.org/abs/2407.00121v1
http://arxiv.org/pdf/2407.00121v1
Granite-Function Calling Model: Introducing Function Calling Abilities via Multi-task Learning of Granular Tasks
2024-06-27T17:47:26
2024-06-27T17:47:26
Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Sadhana Kumaravel, Matthew Stallone, Rameswar Panda, Yara Rizk, GP Bhargav, Maxwell Crouse, Chulaka Gunasekara, Shajith Ikbal, Sachin Joshi, Hima Karanam, Vineet Kumar, Asim Munawar, Sumit Neelam, Dinesh Raghu, Udit Sharma, Adriana Meza Soria, Dheeraj Sreedhar, Praveen Venkateswaran, Merve Unuvar, David Cox, Salim Roukos, Luis Lastras, Pavan Kapanipathi
cs.LG
cs.LG, cs.AI, cs.CL
Large language models (LLMs) have recently shown tremendous promise in serving as the backbone to agentic systems, as demonstrated by their performance in multi-faceted, challenging benchmarks like SWE-Bench and Agent-Bench. However, to realize the true potential of LLMs as autonomous agents, they must learn to identify, call, and interact with external tools and application program interfaces (APIs) to complete complex tasks. These tasks together are termed function calling. Endowing LLMs with function calling abilities leads to a myriad of advantages, such as access to current and domain-specific information in databases and knowledge sources, and the ability to outsource tasks that can be reliably performed by tools, e.g., a Python interpreter or calculator. While there has been significant progress in function calling with LLMs, there is still a dearth of open models that perform on par with proprietary LLMs like GPT, Claude, and Gemini. Therefore, in this work, we introduce the GRANITE-20B-FUNCTIONCALLING model under an Apache 2.0 license. The model is trained using a multi-task training approach on seven fundamental tasks encompassed in function calling, those being Nested Function Calling, Function Chaining, Parallel Functions, Function Name Detection, Parameter-Value Pair Detection, Next-Best Function, and Response Generation. We present a comprehensive evaluation on multiple out-of-domain datasets comparing GRANITE-20B-FUNCTIONCALLING to more than 15 other best proprietary and open models. GRANITE-20B-FUNCTIONCALLING provides the best performance among all open models on the Berkeley Function Calling Leaderboard and fourth overall. As a result of the diverse tasks and datasets used for training our model, we show that GRANITE-20B-FUNCTIONCALLING has better generalizability on multiple tasks in seven different evaluation datasets.
[ 0.0157122649, 0.0580789074, -0.0128819868, 0.0093687503, -0.0098030381, 0.0216911845, -0.0078201704, -0.0213192366, 0.0206426494, -0.0258162692, -0.0691529512, -0.0056107901, -0.0291672908, 0.0287501812, 0.0198997911, -0.044353094, 0.0506387651, -0.0485826395, -0.0146174859, 0.0099408906, -0.0433922075, 0.0176111646, 0.0008812055, 0.0456165038, 0.0034678779, -0.032738328, -0.0106021408, 0.0110504618, 0.0112327477, 0.0203738455, 0.0062493756, 0.0224222019, 0.0346390344, 0.080491893, 0.0000021437, -0.059947107, -0.0139049022, -0.0000705561, -0.0480215214, -0.0131744668, 0.0392769985, -0.0150533905, -0.0067641814, 0.0264146496, -0.0424159728, -0.0246329419, 0.0622430257, -0.042789571, 0.0359769613, 0.0577218309, 0.0288071409, -0.0138714062, 0.0295297205, -0.0163197778, -0.02155797, -0.0450074412, -0.0045389808, 0.0134322708, 0.0015577773, -0.0188212711, 0.0148154227, 0.0113303773, 0.0286604129, 0.0186062623, 0.0072969147, 0.0461821631, -0.0177912954, -0.0152663756, -0.0188830383, 0.0686287358, -0.0707997605, -0.0421513915, 0.0266132504, -0.0014080324, 0.0009817699, 0.0186185203, -0.0098423185, 0.0094999988, 0.0050196801, -0.0015610728, 0.0342361964, 0.0046837227, 0.0294146538, 0.0000106663, -0.0087226592, 0.0353340507, -0.0246956423, -0.0216270499, 0.0349147096, -0.0351809785, -0.0325217694, -0.0297579449, -0.0003938794, 0.0658844933, -0.0336870886, 0.0260644704, -0.0258107875, -0.0249842629, 0.0301269814, -0.0305086225, 0.0195114762, 0.0378707498, -0.0253011882, 0.0251385793, -0.0456754752, 0.0445411354, 0.0142400982, -0.0026687928, -0.0057660611, 0.025550032, -0.0644955859, -0.0010504383, -0.0170670804, 0.0461416356, -0.0330597013, -0.0109568536, 0.0155036803, 0.0205759536, -0.010484552, 0.0512222908, 0.0087375985, -0.0234575756, -0.0522074625, -0.0159361977, -0.052007325, 0.028456049, -0.0207169075, -0.0230511855, 0.0034376932, -0.0456950255, -0.0093352413, -0.0349674895, -0.0056203413, 0.0003904694, 0.0287767109, 0.0945271701, -0.0037514758, 0.0188680552, -0.0339551792, -0.0388672911, 0.0652507842, -0.0866927654, -0.0025715954, -0.084871769, 0.0044323099, 0.0042903754, 0.00002848, -0.0132488776, 0.0227197018, -0.013040253, 0.011804075, 0.075685285, -0.0178806242, -0.0044985642, 0.0283348896, 0.0001200609, -0.0232826211, 0.0793993473, -0.0065845228, 0.0023280419, 0.0092009092, 0.0008205802, 0.0042918692, 0.0140351849, -0.013190655, -0.0035816829, 0.040540766, 0.0407458283, 0.0409387983, 0.0338873677, 0.0361768045, 0.028550202, -0.0067954813, -0.0387605131, 0.0408794433, 0.0068339296, -0.0188217815, 0.0159921609, 0.1144020632, 0.0480818301, 0.0165820643, -0.0065136347, -0.0958424062, 0.0095826704, -0.011555085, 0.0555475168, -0.0469848998, 0.0346971191, -0.0312020518, -0.0709002763, 0.0156260561, -0.0069090328, -0.0351101384, -0.0017520132, 0.0556135438, 0.0290455967, -0.0668674707, -0.0037563373, 0.0179007221, -0.025837956, -0.0244537666, -0.0786447227, -0.011762795, 0.0582684055, 0.0277567394, -0.0840773284, -0.0503319167, -0.018776644, -0.0080538718, 0.029205244, 0.0097953584, -0.0311404523, 0.0009204669, -0.0587909482, 0.008026965, -0.0143381692, 0.0147502599, 0.0488385782, -0.0085016992, -0.0141533455, 0.0076700123, -0.0023175848, -0.0391382314, 0.0266631953, -0.0042789304, -0.0716199577, 0.0127874957, 0.020813182, 0.0290198214, -0.0381441973, -0.0243419483, 0.0093929954, 0.0257799011, 0.0112026306, -0.0020237609, -0.0137722809, -0.0511265211, -0.0092832865, 0.0186610594, 0.0395811312, 0.0000207076, 0.0383092538, -0.0332376659, -0.0482919961, 0.0268275831, -0.0238314979, 0.0333193019, 0.0169826336, 0.0448060967, 0.0116761858, -0.0430570319, -0.0091292933, 0.0814622566, -0.0141938375, 0.0022579513, 0.006294047, 0.0537632406, 0.0075583444, -0.0100694252, 0.0014100808, 0.0043381639, -0.0254342351, 0.0585869774, -0.0210974682, 0.0077325287, -0.0118803009, 0.0072314916, -0.07067018, 0.0278004836, -0.0302892402, 0.0207257736, 0.0249728356, 0.0110808779, 0.017003404, -0.0579521656, -0.0010359468, 0.045068495, -0.0419339128, 0.0141692432, 0.0118784411, 0.0097116837, -0.054147765, -0.0414068513, -0.0206923522, -0.0353762954, 0.0433760881, -0.0384243429, 0.0018198589, -0.0429976955, 0.0592374653, -0.0028292865, 0.0496505313, -0.0375813656, -0.0146330707, 0.0061356733, -0.0168559104, 0.02861307, 0.0866950005, -0.0479792878, -0.01619469, 0.024165187, 0.033513695, -0.0530376136, 0.0384293646, -0.0111965779, -0.0312400088, -0.0407520831, 0.0124539863, 0.0183878392, 0.0877382979, -0.0141772414, -0.0003959505, -0.0346227065, -0.0156026948, 0.0393942408, -0.0470482334, -0.0045828321, 0.008611124, -0.0186680444, 0.0188225117, -0.020397624, -0.0794782117, 0.0576732531, -0.0024809157, -0.0156020969, -0.0499506295, -0.0433196016, -0.0288624801, 0.0918853357, 0.0524545945, -0.001080771, 0.0272150058, -0.0563192405, -0.05994137, 0.0129681583, 0.0120205469, -0.0308637731, 0.059636537, -0.058584094, -0.0185844246, -0.0120913256, -0.0831878856, -0.0304769818, 0.03033402, -0.038381353, 0.0515061282, -0.0274183229, -0.0047912053, -0.0156055242, -0.0042877807, -0.0000405793, 0.0964108184, -0.0153077599, -0.0137834223, -0.0426032469, -0.0290122572, 0.0236661788, 0.0136703588, 0.0067522554, 0.0123581793, 0.0411642045, -0.0072510326, 0.0662156865, -0.0279245675, -0.0251258891, -0.0001239927, 0.0052410816, -0.0780677274, -0.0517502651, 0.0297265165, 0.0126255266, -0.0911065862, -0.0051193563, 0.0645030439, 0.0069746035, -0.0387246609, -0.002324621, -0.0543113649, 0.0224425383, 0.0690404549, 0.0568185784, -0.0695203394, -0.0339949653, 0.0082611488, 0.011612677, -0.0158970617, -0.0123158563, 0.0390017927, -0.1597292423, 0.0446163006, -0.0042649214, -0.0099457707, 0.0028874124, -0.0505540557, 0.0090612341, -0.0410107821, -0.0317614749, 0.0272724591, -0.0201384332, -0.0011664636, 0.02406995, -0.0367485657, -0.023204999, 0.0149292396, -0.0433437191, 0.0030489662, 0.0491337366, -0.0045976513, 0.0091028493, 0.0122463778, -0.00398792, -0.0108689209, -0.0004429252, -0.0070847264, 0.04386767, -0.0169752631, -0.0091416528, 0.0414667875, 0.0472414605, -0.0445759892, 0.0095802294, 0.0230826773, 0.0997192487, -0.0142328478, 0.0325433724, 0.0036742438, 0.0040027802, 0.0361759402, 0.020893909, 0.0047585084, -0.0114181656, -0.0747442096, -0.0521756224, -0.0185903795, -0.0478733592, -0.0322856493, 0.0136625059, -0.0060676257, -0.0417920612, -0.0426324941, -0.022041196, 0.0800404251, 0.0327243395, 0.0219622087, -0.0024950597, 0.0307348724, 0.0443940051, -0.075233832, -0.0271968357, -0.0124816587, 0.0338036083, -0.0336650237, -0.0313735642, 0.0562966503, -0.0299462881, -0.0402617194, 0.0342826694, -0.0594527125, -0.0261334907, -0.011525833, 0.0870350152, 0.0267064869, 0.0423851646, -0.0525368378, -0.0181485713, 0.0197359212, 0.0570111834, -0.0918366835, -0.048591923, 0.0515866168, -0.0279243328, 0.0117359515, 0.0328793153, -0.0689210296, -0.0120571982, 0.0101926746, 0.0195176955, -0.0498019159, 0.0212441683, 0.0187201928, -0.0012388984, -0.003610732, 0.0285615865, -0.008831203, -0.0080983238, -0.0049309903, 0.0302801766, -0.0193344355, -0.0273415651, 0.0432665087, 0.014086755, 0.022864338, 0.0511640497, -0.0296849478, 0.0350735858, 0.0243974645, 0.0153798237, -0.0037174807, -0.0035327673, 0.0474350862, 0.0306852218, 0.0059162877, -0.0374585241, -0.0015240653, 0.0394766144, 0.0305018779, -0.0106452554, 0.0523467362, -0.0003134875, 0.0167166684, -0.0319383591, -0.0013037126, -0.0749527067, -0.0737690181, -0.0301178414, -0.0179387331, 0.0574444048, 0.0109841432, 0.0347846635, -0.0177183617, -0.003125156, -0.0181399696, 0.0458167233, 0.0095955785, 0.0001954852, 0.0175214745, 0.0374032781, -0.0159608591, -0.0293620471, 0.0787319988, 0.0171497911, 0.042895969, 0.0126370974, -0.0070336955, -0.0480855331, -0.042209968, -0.0109515432, 0.0165070221, -0.018991584, -0.0336611904, -0.0412372723, -0.0568339005, -0.0226898547, 0.037846636, 0.0088117057, -0.0670477226, 0.0494880825, 0.0619795881, 0.0268985461, -0.0354770608, -0.0625324994, 0.0082917875, -0.0170995519, -0.0059751933, -0.0358554348, -5.16326159e-33, -0.0300706364, 0.0128078861, 0.026694078, 0.0491579361, -0.0130585469, 0.0141113829, -0.0107826777, 0.0051249261, -0.0109021384, -0.0036446687, -0.0010495321, 0.0056652441, 0.0264378916, -0.0258901902, 0.0475165285, -0.0024104852, 0.0406220555, -0.0467408448, -0.0167798754, 0.0363451801, 0.0299724899, 0.0299190339, 0.0550330169, -0.0355397277, -0.0499044731, 0.0166226588, 0.0183495972, 0.0276065487, -0.0234332997, 0.0599672757, -0.0061591007, 0.017249994, -0.0029974484, -0.0530851558, -0.0253089759, -0.0078050173, -0.0998665839, -0.0153659787, 0.0201315638, 0.0197719913, -0.0332664363, -0.0445770733, 0.0580782779, 0.000420336, -0.0051736278, -0.0216179173, 0.0242868029, -0.0405432023, -0.03533829, -0.0227059368, -0.0905557871, 0.024238063, 0.0146142561, -0.02917693, 0.0036314642, 0.0479194112, -0.0157097932, -0.0249844398, -0.0194086246, -0.003309974, -0.0291468073, 0.0358647071, 0.0353624634, 0.0671436936, 0.0351761021, 0.0124903321, 0.0273854882, 0.0115579916, -0.0211444516, 0.0245522633, 0.0113677206, 0.1134017259, 0.0161890164, 0.0135695133, 0.0237845574, -0.0057726805, -0.0307920948, 0.0095012458, 0.0749704465, 0.0174568072, 0.0069939732, -0.0013034942, -0.0402730517, 0.0121294353, -0.0308636259, 0.0008948988, -0.0155650722, -0.0336647555, 0.0172741879, 0.0120682195, 0.0289505906, 0.0634078979, 0.0270128585, -0.0134218307, 0.0208685212, -0.0007782678, -0.0256176516, 0.0540339537, 0.010153072, -0.0059149982, -0.0699664876, -0.0257431418, -0.0235336982, 0.0283510815, 0.0477697439, 0.0051184022, 0.0242347587, 0.0081901858, -0.055136919, 0.0080729537, -0.0592794828, 0.0165263321, 0.0087855291, 0.0593293011, 0.0343981907, -0.0334706232, 0.0183638837, 0.0430396087, -0.042155508, -0.0521825738, -0.0336941294, 0.0341460295, -0.0258636381, 0.0421589836, -0.0420785062, -0.0447752587, -0.0724837556, -0.0136093637, -0.0092121866, -0.0279622413, -0.0107347276, 0.0367802195, 2.878e-7, -0.0092327623, -0.0107810656, 0.0003033729, 0.0628710762, 0.0009258444, 0.0360662416, -0.0178750847, 0.0497703031, 0.0134850945, -0.0028549633, 0.0073516453, -0.0021084361, 0.0546792187, 0.0249977633, -0.0912664384, -0.0466247201, -0.0301254671, -0.0044071749, -0.0632644892, -0.0228949189, -0.0233526863, 0.1016888693, 0.0218065567, 0.0001265801, 0.0361510478, -0.0336480588, 0.0285166372, -0.0300873928, -0.0073098, 0.0349754393, -0.055905208, 0.051408235, -0.0259743743, 0.0211847816, 0.0031331824, 0.0477608629, 0.007053772, 0.0958793387, 0.0244930834, 0.0292108487, 0.0343462639, -0.029393319, 0.0266445186, -0.0484889634, 0.0478511527, -0.0113530625, -0.0213470571, 0.0310266223, -0.0185013898, 0.0047227144, -0.0459591597, -0.0164723676, -0.0034920396, -0.000180657, 0.0025345569, -0.0170457512, -0.0032101767, -0.0356111117, -0.000677002, 0.06311813, -0.0270001516, -0.0470841005, -0.0349673964, -0.0260331444, -0.0069716116, -0.0394845977, -0.024989048, 2.848345872e-34, 0.0527392216, -0.0217666607, 0.0189083107, 0.0165536329, 0.0521652699, -0.0077800723, -0.051839292, 0.0212206468, 0.0605868623, -0.0356218591, -0.0231510978 ]
http://arxiv.org/abs/2406.19358v1
http://arxiv.org/pdf/2406.19358v1
The Model Arena for Cross-lingual Sentiment Analysis: A Comparative Study in the Era of Large Language Models
2024-06-27T17:38:45
2024-06-27T17:38:45
Xiliang Zhu, Shayna Gardiner, Tere Roldán, David Rossouw
cs.CL
cs.CL
Sentiment analysis serves as a pivotal component in Natural Language Processing (NLP). Advancements in multilingual pre-trained models such as XLM-R and mT5 have contributed to the increasing interest in cross-lingual sentiment analysis. The recent emergence in Large Language Models (LLM) has significantly advanced general NLP tasks, however, the capability of such LLMs in cross-lingual sentiment analysis has not been fully studied. This work undertakes an empirical analysis to compare the cross-lingual transfer capability of public Small Multilingual Language Models (SMLM) like XLM-R, against English-centric LLMs such as Llama-3, in the context of sentiment analysis across English, Spanish, French and Chinese. Our findings reveal that among public models, SMLMs exhibit superior zero-shot cross-lingual performance relative to LLMs. However, in few-shot cross-lingual settings, public LLMs demonstrate an enhanced adaptive potential. In addition, we observe that proprietary GPT-3.5 and GPT-4 lead in zero-shot cross-lingual capability, but are outpaced by public models in few-shot scenarios.
[ -0.0007499581, 0.0451223813, -0.0052355444, 0.0722755343, -0.0301015917, 0.0044924454, 0.0164262466, -0.0135707418, -0.0035720093, -0.0389079452, -0.092239894, -0.0637534261, -0.0426086523, -0.0179683436, -0.0219934341, -0.0099600609, 0.0388476923, -0.0078908661, 0.0000390872, -0.0373036824, 0.0056625903, -0.0011258415, 0.0271869227, 0.0036088396, 0.0385624953, -0.0029146706, 0.0372079499, -0.0304277427, 0.0194832273, -0.0269962158, 0.0006519032, 0.0273054708, -0.011807207, 0.038142845, 0.000001861, -0.0414703228, -0.0145339798, 0.0102387024, 0.0677509084, 0.0075698299, 0.0658145025, -0.0573332831, -0.0170603171, 0.0061893575, -0.030673936, -0.0456224754, 0.0604907721, 0.0618146621, 0.032251209, 0.0811810941, -0.0236064699, -0.042552229, -0.0034700145, -0.0345187932, 0.020913003, -0.0581617765, 0.019874746, -0.0179441702, -0.0233257972, 0.0134212133, -0.0289529134, 0.0261579994, -0.015701199, 0.0109311463, -0.0493916422, -0.0031218026, -0.0169848427, 0.0109020686, -0.030057583, 0.0377502218, -0.0127309896, 0.0000382258, -0.0373113491, -0.0233094469, -0.0321736224, -0.0209813379, -0.0396603122, 0.0065216227, 0.0199572574, 0.057842385, 0.0545230992, 0.0184365138, 0.0248888582, 0.0105355522, -0.027192926, 0.0595507175, -0.0037206162, -0.0385770053, 0.0649063811, 0.0891677663, 0.0102206878, 0.003658032, 0.0116249314, -0.0124052763, 0.0255523976, 0.0258421414, -0.0003293573, -0.0014298442, 0.021017177, -0.0823370293, 0.0437257402, 0.0287895706, -0.039125111, 0.0584834963, -0.0487826876, 0.0099744443, -0.0566182323, 0.0076087643, -0.0110250227, -0.0382170528, -0.0721726939, 0.019852031, 0.0198822487, 0.0406905338, -0.0337346345, 0.0123255542, -0.0520718507, -0.0038463867, 0.00237086, -0.0364963785, 0.023839891, -0.0503689349, 0.0037272242, -0.0066553638, -0.0363694355, 0.0884135738, -0.0106967278, 0.0187020488, -0.0485266075, -0.0605472364, 0.0022163244, 0.0210753419, -0.0188046061, -0.0506408103, 0.0345715396, 0.0680802017, 0.0090967268, -0.0159306675, -0.0512243435, 0.0078870282, -0.0117737772, -0.1015211344, 0.0508943796, -0.0538158529, 0.0355431028, 0.0039771767, 0.0234005563, 0.0210240148, 0.0075548496, -0.0043248576, -0.0618696809, 0.0295828767, 0.0017705351, -0.002533074, -0.0369179957, -0.0294218548, 0.0000693567, 0.1017522812, -0.0353571959, -0.0042435201, 0.0438419022, -0.025960695, -0.0204740483, 0.0387040712, 0.0141449841, 0.0159231611, -0.0374542736, 0.0016754762, -0.0264289733, -0.0303107761, 0.0300124176, 0.0121157262, -0.0035933522, 0.0080983555, 0.0529387705, 0.0091775162, 0.0170962121, 0.0456995852, 0.0182102546, -0.0295404252, -0.0137902061, -0.0032703984, -0.0027827297, 0.0268350188, -0.0393006317, -0.0121211763, -0.0000017477, 0.0283887722, -0.0402246267, -0.0231898911, -0.0043771463, -0.0194888115, 0.0052944366, -0.0058416347, 0.0722981319, -0.0160039328, -0.0273514669, 0.0377531685, 0.0563377962, -0.0552672334, -0.0190940965, -0.0482502691, 0.032214094, 0.0437973998, -0.0373074301, 0.0002476313, -0.0198512822, -0.0069572851, -0.0168977734, 0.052770447, 0.0619354919, 0.0297895689, 0.0374870263, -0.019968776, 0.006634681, -0.0455065593, 0.0196893532, 0.0575469583, -0.0074072182, 0.0807694122, -0.0308083314, -0.0064267805, -0.0123745203, -0.0232382249, -0.0249117445, -0.0214358475, 0.0212609749, -0.0078030699, 0.0423183106, 0.0325371474, -0.0363286361, -0.021611901, 0.0079275118, -0.0429055952, -0.0340813696, 0.0310398638, -0.0110674342, -0.0559768043, 0.0133669376, 0.001845508, 0.0077052987, 0.008555322, -0.044498682, 0.0003905568, 0.0406450182, 0.0417220518, 0.0510848388, -0.0448793769, -0.0128238415, -0.0322439, 0.0508417673, 0.0402443931, 0.0295800436, -0.0016660487, 0.0194341037, -0.0197400078, -0.0325038843, 0.0198620819, 0.0099009983, -0.0581074134, 0.0636118576, 0.0211120304, 0.0142168254, 0.0264928434, 0.0323693827, 0.0027502785, -0.0392540991, -0.0686149374, 0.0087619536, 0.0002072217, 0.0477300249, 0.0293216519, -0.0006582044, -0.0143655865, 0.0166556034, -0.0395536609, 0.0106135178, 0.0235302616, 0.0551959053, 0.0404023193, 0.0206876136, 0.0410569385, -0.0440781675, -0.0049206992, 0.0129178856, 0.0133906901, -0.022607062, -0.0540162325, -0.0115558747, 0.0254613645, -0.059112113, 0.0057371617, -0.0049184808, -0.0559671372, -0.0251279213, 0.0045369114, 0.0109941848, 0.0160437431, -0.0390592776, 0.0021740512, 0.0316166691, -0.0255224295, -0.0091603352, 0.0335661136, 0.0004343506, -0.0402473919, -0.0503305569, -0.0110895131, 0.0122150145, 0.0774495229, -0.0131677128, -0.0184203032, -0.0516923182, -0.0103671839, -0.0102057895, -0.0225433595, 0.0101312893, 0.0401902162, 0.0147004174, 0.0186845958, 0.0110830683, -0.0037953088, 0.0212017149, -0.0204794761, 0.006038324, -0.0539693125, -0.0191086587, -0.0549853705, 0.0329735503, -0.0259952005, 0.0235039163, -0.0250938591, 0.0230388027, 0.0156953223, -0.042453751, -0.0010332494, -0.0176320337, 0.0184967425, 0.0108120823, -0.0037470844, -0.0158425476, -0.0343958735, 0.0544617064, -0.0274349302, -0.0560017899, 0.0080129271, 0.0118179573, -0.0006144719, 0.0012406718, 0.021898333, 0.0147586353, -0.0315354206, -0.0082349153, 0.002187354, 0.0292715505, 0.0143555216, 0.0069314837, -0.0231551845, 0.0112849772, -0.0310356803, 0.0209460221, 0.0203596931, 0.0020055487, -0.0076194876, -0.0077569648, -0.0221786965, 0.0317743085, 0.0139611596, -0.0549864285, -0.0690026432, 0.0613833778, -0.0440973155, 0.0499139652, 0.0576756857, -0.0200311709, -0.0560711883, -0.0292980578, -0.0244828612, -0.0187538415, 0.0130075049, 0.0300725382, -0.0770570263, -0.0315016992, -0.0217113141, -0.0235660169, -0.0087777255, -0.011270511, -0.0216349326, -0.16028139, 0.0137531115, -0.0176279917, -0.0678960606, -0.0069699557, -0.0377218984, 0.003969843, -0.0339853838, 0.0175806563, -0.0670990422, -0.0099117337, -0.0162198599, 0.0014611647, -0.0223022066, -0.0526420958, 0.0355531387, -0.0219573509, 0.0136887794, 0.0314795636, 0.0491461381, -0.0332818031, -0.0428222716, 0.0532945395, -0.0283101667, 0.0137979388, -0.0492472984, 0.0574543811, -0.0182907414, -0.0351276882, 0.0368580781, -0.0478432588, -0.0209040847, 0.0431956425, 0.008145649, 0.0812597498, 0.0473643951, -0.0400740765, -0.0062712529, 0.0358963013, -0.005481963, 0.0597189292, -0.0282303393, -0.0589141808, -0.0311969277, -0.0015155618, -0.0417584106, -0.0402345024, -0.036962945, 0.0030039391, -0.0554169044, -0.0588974357, -0.0389683284, -0.0590785369, 0.0032309708, 0.0203794967, -0.0061637969, 0.0377430245, -0.0056151282, 0.0130331507, 0.024107866, 0.0068383417, -0.0215709992, -0.0008100662, -0.0277016889, 0.0182934273, 0.0756170601, 0.0003930357, -0.0049449261, -0.045595862, -0.0430458486, -0.0552753732, -0.0402937159, 0.069119148, 0.0087991403, -0.000207269, 0.0016578513, -0.0285942424, 0.03562323, 0.049020391, -0.0037546707, 0.0170124881, 0.064811945, 0.0590392463, -0.0043133809, 0.0426166542, -0.0168294664, 0.0355953611, 0.0252028704, 0.023389779, 0.0103032822, -0.0265022069, -0.0023507704, 0.0127456095, 0.0425740853, 0.0178496055, -0.0240121018, -0.0231099743, 0.0118929334, -0.0334208645, 0.0097972024, -0.0402942039, -0.0343487933, 0.05048199, -0.0269920211, -0.0581299588, 0.0145816319, -0.0336679257, 0.0125770373, -0.0504981093, 0.0479044355, 0.0560971573, 0.0169533007, -0.0153132081, 0.0587087646, -0.0064190151, -0.0330495872, 0.0398864187, -0.0004293736, -0.0340647474, 0.0251955185, -0.0092652971, 0.0174799506, 0.0288613439, -0.0055485344, -0.0253870022, -0.0301293936, 0.008486663, 0.0335435718, 0.0477660224, -0.015704127, 0.0845043212, -0.0011261499, -0.0181581508, -0.0127299437, 0.0114862826, -0.023169769, 0.0079417173, 0.053158436, -0.0296142139, -0.0207596663, 0.0135201579, 0.0658945367, -0.0261671375, 0.0442026928, 0.0486434363, -0.0061838734, -0.0196170919, -0.0011707604, 0.0686717555, -0.0463063866, 0.0121222315, 0.0056292112, -0.0521353334, -0.0612990595, 0.0507150032, -0.0536603518, -0.014806971, -0.0032948081, -0.0361885205, 0.0810481533, 0.0311298687, 0.0289887488, -0.0634775385, -0.0046114088, -0.0184460804, 0.0117572797, 0.0408161655, -6.554020181e-33, -0.0035099303, 0.0381077901, -0.009064394, 0.014177084, -0.0153340483, -0.0084588258, -0.0315045305, 0.0337587707, -0.024395721, 0.0355266854, -0.0037191622, -0.0045624664, 0.0118340841, 0.0067002494, 0.0396663584, -0.0016136095, 0.0329233781, -0.0159468837, 0.012480353, 0.0250543281, 0.0395301282, 0.0331281126, 0.1076547131, -0.0606004037, 0.0434972756, 0.0040984908, -0.0105793756, 0.0084400438, 0.031578213, 0.0491223745, -0.0255257301, 0.0619868413, 0.0495057069, -0.0404655151, 0.004901343, 0.0068309559, 0.0058024544, -0.0268888939, 0.0518245548, -0.009358204, 0.0438257158, -0.0321866013, -0.0111689493, 0.003229527, -0.0202246271, 0.0012053866, -0.0012253696, -0.0274128467, 0.0214121621, -0.0523086004, -0.0820079297, 0.0282400381, 0.0269407257, 0.033598993, 0.0514065102, 0.0822935328, 0.0027593293, 0.0910886377, -0.0324737951, 0.0161150862, -0.0341957323, 0.0052552591, 0.0214901343, -0.0438566394, 0.0029118578, 0.0532380529, 0.0261650942, 0.0156556033, 0.0130749, 0.0302750152, 0.0230724495, 0.0288195852, 0.0257770512, 0.109478265, 0.0345193334, -0.0175809562, -0.0699992627, -0.0222203266, 0.0359708667, -0.0072379638, 0.0628877282, 0.0113071026, -0.0092537031, -0.0069153835, 0.0129757859, -0.0734010264, -0.0296882726, -0.0434446298, 0.0121121258, -0.0021404114, -0.0198415089, -0.0157278385, 0.0580033064, -0.0477266982, -0.0685155839, 0.0299116839, -0.0585239269, 0.0129578859, 0.0086832969, 0.0397469588, -0.1004536524, -0.0498539768, -0.0615341179, 0.0255592819, 0.0022215603, -0.0174861401, 0.060158588, 0.018386947, -0.1031083614, -0.0061913482, -0.0441783071, 0.0382760726, -0.0016641377, 0.0737435594, -0.0055326135, -0.0161176641, -0.0144924177, 0.0647763535, 0.0295809414, 0.0097012185, 0.0069658873, -0.0137972487, -0.0005723753, 0.0027311991, -0.0239274353, -0.023418691, -0.0059233899, 0.0211102627, 0.0010891745, -0.056639839, -0.0332992189, 0.0064463872, 2.708e-7, 0.0429258421, 0.0296289884, -0.0399689116, -0.0194067918, 0.010777887, 0.0522033386, -0.0676277801, 0.0395742953, 0.0278638881, 0.0250387024, -0.0316599309, 0.0320366248, 0.040793512, 0.0493447855, -0.0473289229, 0.0102267098, -0.0327187739, 0.022865558, 0.0032546406, 0.0131546911, 0.0195931681, 0.0875142515, -0.0029429265, -0.0034298217, -0.032756798, -0.0528124124, 0.0959801823, -0.0723327696, -0.0590293556, 0.0069820397, -0.018049106, 0.0367472135, -0.0436269604, -0.0364708379, -0.0012081312, 0.0625762269, 0.0093317311, 0.0585273989, 0.0372189768, -0.0359385237, 0.0462884083, 0.0200518463, -0.0085004074, -0.0319375657, 0.0549660921, -0.0464289375, -0.0392035283, -0.0641471297, -0.0060956245, -0.0055737356, 0.080523178, -0.0364061892, -0.0167720597, 0.0147011392, 0.0149800926, -0.0156008461, -0.0737825558, -0.0220070332, 0.0022171654, 0.02289588, 0.0021482115, -0.0336768776, 0.016911285, 0.0175289009, 0.0146216135, -0.023084823, 0.048621431, 1.83799034e-34, 0.0684439838, -0.0507467017, 0.0090659969, -0.008147696, 0.0259831399, 0.0105030481, -0.0284241252, -0.0099152941, -0.0184683315, -0.0315169729, 0.0222625937 ]
http://arxiv.org/abs/2406.19356v1
http://arxiv.org/pdf/2406.19356v1
DiVERT: Distractor Generation with Variational Errors Represented as Text for Math Multiple-choice Questions
2024-06-27T17:37:31
2024-06-27T17:37:31
Nigel Fernandez, Alexander Scarlatos, Simon Woodhead, Andrew Lan
cs.CL
cs.CL, cs.CY, cs.LG
High-quality distractors are crucial to both the assessment and pedagogical value of multiple-choice questions (MCQs), where manually crafting ones that anticipate knowledge deficiencies or misconceptions among real students is difficult. Meanwhile, automated distractor generation, even with the help of large language models (LLMs), remains challenging for subjects like math. It is crucial to not only identify plausible distractors but also understand the error behind them. In this paper, we introduce DiVERT (Distractor Generation with Variational Errors Represented as Text), a novel variational approach that learns an interpretable representation of errors behind distractors in math MCQs. Through experiments on a real-world math MCQ dataset with 1,434 questions used by hundreds of thousands of students, we show that DiVERT, despite using a base open-source LLM with 7B parameters, outperforms state-of-the-art approaches using GPT-4o on downstream distractor generation. We also conduct a human evaluation with math educators and find that DiVERT leads to error labels that are of comparable quality to human-authored ones.
[ -0.0205448158, 0.0519702323, -0.0149362506, 0.0484380685, -0.0148161594, 0.0300738066, 0.0149177359, -0.0210749712, 0.0279267058, -0.0357916877, 0.0400623195, -0.0283212382, -0.0534849428, -0.0333062112, 0.0552412085, -0.0673956424, 0.01169293, -0.0526873954, 0.0037939078, 0.0039248806, -0.0159635488, -0.0322135836, -0.0033275899, -0.0216716304, -0.0150240492, -0.0745834634, -0.0141270272, -0.0146107432, 0.0331865214, -0.0021823465, 0.0318819582, 0.0689923167, -0.0229682531, 0.0321147107, 0.0000022937, -0.0428944603, -0.0212092232, 0.0060848175, -0.0465056151, 0.0236430429, 0.0081969919, 0.0429783165, 0.0012152499, -0.0049477378, -0.0246792566, 0.0083018327, 0.0134005342, 0.018505739, 0.0898942202, 0.0529001802, 0.0178697966, -0.0056061507, 0.0247235298, -0.0031310783, 0.108510606, -0.0448559523, 0.0349650122, 0.0249050725, -0.0478860512, 0.0578167886, -0.0681257844, 0.0242896471, 0.0362917595, 0.0060112551, -0.0214110464, -0.0193684548, -0.0122309532, -0.0024113501, -0.0146802366, 0.0595210977, -0.0267994236, -0.0172069706, -0.013803889, -0.0487429313, 0.0239060149, 0.058184851, -0.0449497625, 0.0171016417, -0.0375715829, -0.0313017853, 0.0188451093, -0.0496496558, 0.0013951953, -0.002083139, -0.0171170011, -0.0374620557, 0.0400292128, -0.0576551259, -0.006560409, 0.0231130254, -0.0631556958, -0.0342918076, 0.0382000543, 0.0080544036, -0.0416616239, 0.0275356397, -0.0635104254, -0.1202402189, 0.0062521328, -0.0186835192, -0.0091253817, 0.0124232937, -0.0212561376, 0.0007322473, 0.0226084571, 0.1016754434, -0.0362889729, 0.0256404988, -0.0167846568, 0.0146957636, 0.0020595714, -0.0003147619, 0.0048839757, 0.0189038869, -0.0076358751, 0.0360300653, -0.0264207497, 0.0271289144, -0.0478507653, 0.0478787236, -0.0145095382, -0.0033025378, -0.0130452579, -0.026284907, -0.0218253694, 0.029112706, -0.0167692248, -0.0048930757, -0.0055209617, -0.0360245034, -0.0232660137, 0.0693578273, 0.017058, -0.0304571353, -0.0001519178, 0.0735622942, 0.0049638096, -0.0120924609, 0.0076094647, -0.0128390333, 0.0189401563, -0.0337276943, -0.0045205257, -0.0384575315, -0.0002033225, 0.0149298105, -0.013164157, -0.0430803858, 0.0229792278, 0.042541869, 0.0110210562, 0.0278262608, 0.0193929281, -0.0482356846, 0.0344439819, -0.0039066416, -0.0227128379, 0.0388354138, 0.0262052082, -0.0176831894, 0.0498618074, -0.0640481561, 0.0436214395, 0.0113844182, 0.019016685, -0.0067389817, 0.0188559536, -0.0034580284, 0.0337693132, 0.0324325226, 0.0130552445, 0.073809281, -0.0103694079, 0.0144170346, 0.041685719, 0.0108707743, -0.013523371, 0.0201367382, 0.020258842, 0.0097651016, 0.0037564314, 0.0377065241, -0.0640236959, -0.0024527821, -0.0386867188, 0.0043829614, 0.0151855722, -0.0048206043, 0.003164083, -0.0841933489, -0.0082056131, 0.0089968648, -0.0332424641, 0.0284874532, 0.0744686723, -0.0139316218, -0.065281719, 0.0629403666, -0.0048146425, -0.0270477999, 0.0100870682, -0.0417548604, 0.0702235848, -0.0029285769, 0.0180299059, -0.0512000099, -0.0550769791, -0.0178697109, 0.0088852458, 0.0464666151, 0.0511603393, -0.0137315458, -0.0245687813, -0.0511862598, -0.0115624489, -0.0097197024, 0.0484842099, -0.0151086049, 0.0218713488, -0.004232097, 0.0268299021, -0.0248269923, -0.0379204117, 0.0373963267, -0.0339337848, -0.0823152959, 0.0052060657, -0.0087977881, 0.0007998745, 0.0040675672, 0.0253810324, 0.0226446334, 0.0038155389, -0.0075985864, 0.0180901848, -0.0428953618, -0.0378582962, -0.0399911068, 0.0670637563, -0.0379574224, -0.0324929692, 0.0181158613, -0.0669440627, -0.0109468894, 0.0554999746, -0.0518306829, -0.0320673399, -0.0027349116, 0.0145463683, 0.019473888, -0.0098725855, -0.0331807546, 0.091362156, 0.0148556521, 0.0753325224, 0.0289578773, 0.0712018386, 0.0044543147, -0.0063015861, 0.0219799131, -0.037674617, -0.0156092653, 0.0539880991, -0.0080105169, 0.0352843627, -0.0874638855, -0.0220724307, 0.0040805661, 0.0213772543, -0.0242464133, 0.0160528459, 0.0244382694, -0.0341166966, 0.0033569485, -0.0019008496, -0.0112968013, -0.0096322335, -0.0120488582, -0.0210274775, 0.004626378, -0.0201096591, 0.0123868696, -0.0502383262, -0.0062201042, -0.0343957879, 0.0419427827, 0.0217987243, 0.0548110195, -0.029663194, 0.0380086936, 0.0042105308, -0.0032159039, 0.0111863269, 0.0409998, 0.0285453908, -0.0419335067, 0.0920804441, 0.0281871762, -0.0072075911, 0.0449444316, -0.0076406542, -0.0407851338, -0.0641019195, 0.0327927396, -0.0480202548, -0.0390781164, 0.0012547619, -0.0590891913, 0.0243978221, 0.055433359, 0.0341884606, -0.0505329221, -0.0334983133, 0.0651111379, -0.0408189818, -0.0060173953, -0.033491537, 0.0326566212, -0.0503746532, 0.0153275169, -0.0035085944, -0.0335583724, 0.0536685772, 0.0218464825, 0.0050598793, -0.0630105957, 0.0427202024, -0.004626567, -0.0403761454, 0.0112745678, -0.0312504545, 0.0166932102, -0.0342801698, -0.0439038724, 0.0208974835, 0.0192690436, -0.0454937592, 0.0508087687, -0.1025472134, -0.0388978012, 0.0365352593, 0.0046950406, -0.0555140376, -0.0122563783, 0.0431805141, -0.0188485254, 0.000218942, -0.0159899611, -0.0228608325, -0.0509904362, 0.0313283727, 0.0037020009, -0.0461248867, -0.0252991766, -0.0274979901, 0.0577295944, 0.0398219861, 0.0424914621, 0.0368809365, -0.0909456834, -0.0125221238, 0.0520479977, 0.0576720163, -0.0182694625, 0.0409530252, 0.0186057575, 0.0124560753, -0.0132412137, 0.00357162, 0.0365195461, 0.0751083344, -0.0467056334, -0.0611193925, 0.0812762752, 0.0222251154, -0.0286208037, -0.0300999004, -0.0616617538, 0.0078879828, 0.0080296043, -0.0167715959, -0.0278072078, -0.031071879, -0.0018948822, 0.0537880249, 0.024192702, -0.0104040205, 0.0222893469, -0.101155512, 0.0442249738, 0.0338909328, -0.0573643893, -0.0157072935, -0.0339838453, -0.0178520642, -0.0112068783, 0.0309368428, 0.0121593159, 0.0199407879, 0.0313652232, 0.0626442656, 0.0135445129, -0.0374684557, -0.0594463274, -0.0172761492, -0.0300417487, 0.0006266023, -0.0094890762, -0.0377858654, -0.067133531, 0.0027812333, -0.0766764283, -0.076290749, 0.015588765, 0.0405598655, 0.0022097947, -0.0061029322, -0.0501282141, 0.061242003, -0.0745436773, -0.04318358, 0.0553622469, 0.0995999128, 0.0072373068, -0.0150154904, 0.0074075316, -0.0087958509, 0.0129255056, 0.0291027166, 0.0373103097, -0.0560717434, 0.0118213901, -0.059994854, 0.0553322546, -0.0458129868, -0.0019644387, 0.0264788345, 0.0031093287, -0.0446639098, -0.0029696703, -0.0501143821, 0.0275315996, 0.0037342303, -0.0036266684, -0.020240603, 0.0139412535, -0.0287766587, -0.0055031031, 0.0328320898, 0.0020316173, -0.0047112815, -0.0268521942, -0.0207980853, -0.0405323617, 0.0240304973, -0.0330677629, 0.0625048801, -0.1437485069, -0.042923674, 0.0169457756, 0.0733745992, 0.0132194869, -0.0278636366, 0.0009911576, -0.0028463369, -0.036024794, -0.0010736187, 0.0035355564, 0.0275522936, -0.0147857703, -0.0370537192, -0.0084209284, -0.0180761702, -0.0059619886, -0.026143156, 0.0225920733, 0.0404437371, -0.0693709478, 0.0069015045, 0.0373413414, 0.0135093424, 0.001573029, -0.0083556212, -0.0051916344, -0.0412968695, 0.0106291762, 0.0060247942, -0.0438472703, -0.0075996411, 0.0166907739, 0.0242169686, -0.0372262523, -0.000602794, -0.0354101323, -0.0217163712, 0.0134916548, -0.0108235329, 0.0481273085, 0.0295254104, 0.0276011601, 0.0603122786, -0.0094170347, -0.0004387131, -0.007786605, 0.0345395133, 0.074684523, 0.0239709169, 0.0807173774, 0.0180105399, 0.011902282, 0.0438531078, -0.0472972468, -0.001632335, -0.0813424587, -0.0482763276, 0.038256105, 0.0119302236, 0.0251349173, 0.0415068604, -0.0105915368, -0.0109392805, -0.036999356, 0.0440035239, 0.0271078274, -0.0109454291, 0.0348403379, 0.0281974934, 0.037947204, -0.0481435768, 0.0396227501, -0.0082212985, 0.0027649545, -0.0185441989, 0.0033954198, -0.0583911799, 0.0066996664, -0.004818154, 0.0290562455, 0.016848553, 0.0143341133, -0.0757534355, -0.0781199858, 0.0257969033, 0.0303198341, 0.0163351614, -0.0074582649, 0.0077385618, 0.0636925027, -0.0466089919, -0.0095472364, 0.001087161, 0.0721744299, -0.0641395748, -0.0334105752, -0.0390244015, -5.785721114e-33, -0.0636625364, -0.0722144842, 0.0180718247, -0.0392253958, 0.0155702373, -0.0104905572, -0.0457169302, 0.0313170515, 0.023555452, -0.0006216996, 0.0408716202, 0.0190342404, -0.0095149009, 0.0690596998, 0.0256571304, -0.0406713337, -0.0022478949, -0.0027558047, -0.0013716787, 0.0284346454, 0.0261719394, 0.0121330582, 0.0673783869, -0.0510772653, 0.0598250553, -0.0460212715, 0.0115096178, 0.0066646161, -0.0439053848, 0.0359046347, -0.0409736596, 0.0598326512, -0.0193295013, -0.0286685601, -0.0175852682, -0.0272526052, -0.0068614124, -0.0632637218, -0.0016873614, 0.0418910533, -0.0591919944, -0.0436383188, 0.0468701683, 0.0260300264, -0.0320939682, -0.0247348975, 0.0538800545, 0.0074243639, -0.0172713883, 0.0406787992, -0.0579156354, 0.0234284569, -0.026290318, 0.01527528, -0.0150628295, 0.0358573012, -0.0025763093, 0.030152278, -0.0341995545, 0.0144218914, 0.0617485568, -0.0029179968, 0.0055027208, 0.0156924725, -0.0166407265, 0.0320058614, 0.0508756526, -0.0415430963, 0.0356849022, -0.0063580894, 0.0151060671, 0.0328600146, 0.0872348472, 0.0366383865, 0.019812528, 0.0191543438, -0.0469251126, 0.0152650811, -0.0684326813, 0.0237107798, 0.0040406003, -0.0302330367, -0.0334248357, -0.0061097946, -0.0354986563, -0.0242330376, -0.0415516496, 0.0094789704, 0.0457712561, -0.0414891057, -0.0144860586, 0.0078966944, 0.0103293285, 0.0158788264, 0.0092191929, -0.001993201, -0.0101792188, 0.0307820663, -0.0213537142, 0.0258450806, -0.0291722585, -0.0070011718, -0.0087577719, -0.0357812829, 0.0219323728, 0.0199683066, -0.0280253161, -0.0062924237, -0.0414928421, 0.0128128426, -0.0536533073, 0.0058009061, 0.0289450083, 0.0515181869, 0.0256013479, 0.0031081915, -0.0209505428, 0.0493801311, 0.0112033496, -0.0161737259, -0.0050833728, -0.0174481757, -0.0089786528, 0.0137520852, -0.0265824124, -0.0515456833, 0.0109350765, -0.0035524806, 0.0337177217, -0.0764144436, 0.020219814, -0.0184297841, 2.693e-7, 0.0476405434, 0.0651245639, 0.0158176329, 0.0282610245, 0.0027975349, 0.0640624613, -0.0188483391, -0.0183329415, 0.0445390008, 0.0095554357, -0.0040447153, 0.0175320711, 0.017165821, 0.0375687554, -0.0402938239, -0.0142855374, 0.0374824032, -0.0218790118, -0.0194304157, 0.0384323969, 0.1014878154, 0.0444970652, 0.0325727388, -0.0032370545, -0.0089197941, 0.0016827644, 0.0458903573, -0.0112773785, -0.040761929, 0.0193791948, 0.0240875036, -0.037210647, 0.0054445257, 0.02688233, -0.0023795902, -0.0437404811, 0.0396196768, 0.0390369967, 0.0327408798, -0.0194371436, -0.0521501377, 0.0135612972, 0.0176374558, -0.0340397246, -0.0048405672, -0.0070021464, 0.0011060784, 0.0417588577, -0.0698177367, -0.0123495879, 0.0046794703, -0.0071690595, -0.0119000189, -0.0352677703, 0.006157028, 0.0361123942, 0.0168818217, -0.0099585587, -0.0058099232, 0.0501150861, -0.0501433425, -0.0319434702, -0.0341832526, -0.0144722965, 0.0314480141, 0.0171389021, -0.0083193788, 2.468016282e-34, 0.0541880764, 0.0205143951, 0.0397155397, 0.0260725748, 0.0119914003, -0.0096937111, 0.0236879941, 0.0337024517, 0.0244616903, -0.0415660664, -0.0086912503 ]
http://arxiv.org/abs/2406.19354v1
http://arxiv.org/pdf/2406.19354v1
Fundamental Problems With Model Editing: How Should Rational Belief Revision Work in LLMs?
2024-06-27T17:33:03
2024-06-27T17:33:03
Peter Hase, Thomas Hofweber, Xiang Zhou, Elias Stengel-Eskin, Mohit Bansal
cs.CL
cs.CL, cs.AI
The model editing problem concerns how language models should learn new facts about the world over time. While empirical research on model editing has drawn widespread attention, the conceptual foundations of model editing remain shaky -- perhaps unsurprisingly, since model editing is essentially belief revision, a storied problem in philosophy that has eluded succinct solutions for decades. Model editing nonetheless demands a solution, since we need to be able to control the knowledge within language models. With this goal in mind, this paper critiques the standard formulation of the model editing problem and proposes a formal testbed for model editing research. We first describe 12 open problems with model editing, based on challenges with (1) defining the problem, (2) developing benchmarks, and (3) assuming LLMs have editable beliefs in the first place. Many of these challenges are extremely difficult to address, e.g. determining far-reaching consequences of edits, labeling probabilistic entailments between facts, and updating beliefs of agent simulators. Next, we introduce a semi-synthetic dataset for model editing based on Wikidata, where we can evaluate edits against labels given by an idealized Bayesian agent. This enables us to say exactly how belief revision in language models falls short of a desirable epistemic standard. We encourage further research exploring settings where such a gold standard can be compared against. Our code is publicly available at: https://github.com/peterbhase/LLM-belief-revision
[ 0.0384473689, 0.0847957134, -0.0186175667, 0.027566975, -0.0621502288, -0.014295999, -0.0386974551, -0.0305370744, 0.009177194, -0.0549819954, -0.0002982397, -0.0271223057, 0.0279082656, 0.0136171896, 0.0101297768, -0.0240587629, 0.0461641215, -0.0200422481, 0.016440697, -0.0131051103, -0.0514599755, -0.0399685577, 0.0071847737, -0.0105915461, 0.015866505, -0.0162744001, -0.0564738587, 0.0012686908, 0.0196663365, 0.0051288251, -0.03228366, 0.0364042632, 0.005139037, 0.0757433996, 0.0000021043, -0.0511151142, -0.0318815894, 0.0071046907, -0.055216305, 0.0227832217, 0.0178762451, 0.0236603618, -0.0380682386, -0.0543330461, -0.0298040137, 0.0414891168, 0.0519629419, 0.0228386335, 0.0156624243, 0.0714717582, 0.0159395989, 0.0023488055, 0.0518461242, -0.0019726183, 0.0215984154, -0.0273874104, 0.0671655238, 0.0398415625, -0.0320774093, 0.0192310382, -0.0319116488, 0.0446976833, 0.0283192806, -0.0280682575, -0.0188029893, 0.0001739755, 0.0178181008, -0.0177107155, 0.0159326624, -0.0067389123, 0.0910444334, -0.0364930928, -0.0227400642, 0.0063845632, 0.0377430841, 0.0611845739, -0.0058122994, 0.0317376629, -0.0146444961, 0.0107766828, 0.0524065308, -0.0820574015, 0.0608096421, -0.0030993037, -0.0302860625, 0.1159307882, 0.0194124244, -0.0166530907, -0.0449706279, 0.0128171723, -0.0199662317, -0.1140311882, -0.0745640025, 0.0132562649, -0.0124833239, 0.0376176238, -0.0284770522, 0.0701233, -0.0174263958, -0.0468042158, 0.0205931421, 0.0188409649, 0.0064042402, 0.0333163403, 0.0504741333, -0.0006398496, -0.0192252174, 0.0301446058, -0.0003448021, 0.03226652, -0.0523586236, -0.0068394402, -0.0053189746, 0.0164553765, 0.0326988213, 0.0613400973, -0.0152117861, 0.0176342055, -0.0239925794, 0.047202941, -0.0218136031, -0.0445652343, -0.0414055958, -0.0285775606, -0.0735845193, 0.0011331859, -0.0079640923, 0.0365408063, -0.0030923637, -0.0443267226, -0.0119626652, -0.040230494, -0.0284205247, 0.0042782631, -0.0175455138, 0.0524820499, 0.0357456729, -0.0028671101, -0.0449025296, -0.0483705178, -0.0093626995, -0.032446485, -0.016126452, -0.0557900779, -0.0184278861, -0.0174740888, -0.0049747881, -0.0962168202, -0.030331945, -0.0591209903, -0.0254435875, 0.0673158914, -0.048160594, 0.0087967282, 0.0230706707, 0.0043382035, -0.0514318384, 0.0452445373, 0.0551390126, -0.0153568927, 0.0526333563, 0.0221468098, 0.0267875977, 0.0187169351, -0.011702911, 0.0532075949, -0.0357995071, 0.0240959413, 0.0258093365, 0.011301646, -0.0080310302, 0.008242052, -0.0144597506, -0.019131327, 0.0789292976, -0.0203823894, -0.0092849052, -0.010243793, 0.0141814221, -0.0545245595, 0.0277737658, 0.0522035137, -0.0540698729, 0.0034348739, -0.0318342373, 0.0166334473, -0.0270818807, -0.0125569804, 0.0062511764, -0.0616485737, 0.012203088, 0.0209323205, -0.0075134011, 0.0082354685, 0.0250903461, 0.0124428952, 0.0297501553, 0.0505784564, 0.0193353537, -0.0379205644, -0.0201046988, -0.0712069422, 0.0241012536, 0.0141472435, 0.0574153736, -0.0577546172, -0.043867141, -0.0035316166, -0.0231372211, 0.0235888772, 0.0749370456, -0.0234716926, -0.0163134672, 0.0071995682, -0.0114199733, -0.0511462428, 0.0485543273, 0.0081382394, -0.014626666, -0.008932271, -0.0072011389, -0.0366274975, -0.0172708668, 0.0249346402, -0.0536642894, -0.0026866987, -0.0642735139, -0.0150396097, 0.0252471659, -0.000794634, -0.0407158881, 0.0125331115, 0.0203460641, 0.0564857163, -0.0012935732, 0.0532697067, 0.0412290804, 0.0031875395, 0.0751710236, -0.0300852619, -0.0116797155, -0.0117158666, -0.024545094, 0.0067906841, 0.0247304067, -0.0215983056, 0.0573906489, -0.0025807202, 0.0616404079, -0.0527292192, -0.0520256944, 0.011770987, 0.0258462019, -0.0281650219, -0.023258416, 0.0217270255, -0.0094547188, 0.0042311875, -0.0528267249, -0.0081137987, 0.0184160993, 0.0445360169, -0.0034685356, 0.0384196565, -0.0321674086, -0.0420399718, -0.0393412523, -0.0214585029, -0.0238572434, -0.0039954288, -0.0111843571, 0.0239437297, -0.0008175174, -0.0194427744, 0.02379754, 0.016373476, -0.0001577815, -0.0136199454, 0.0328862704, 0.0280939415, 0.0040427954, -0.0424194932, -0.0551247559, 0.0316253826, -0.0061691534, 0.0247240402, 0.0256558787, -0.0093664788, -0.066677697, 0.0038885935, -0.0881854072, 0.0016697849, -0.0102206254, -0.0070651462, 0.0241804272, 0.0194857996, 0.0281492025, 0.009519564, -0.0201177858, 0.0341026299, 0.0814206377, -0.0218200181, -0.0079386476, -0.0167319924, 0.0008756923, -0.0352237523, -0.0439218059, -0.0658352077, 0.0008939893, 0.0706863776, -0.0062186825, -0.0324003734, -0.0270326845, 0.0853417218, -0.0151683334, -0.0501124822, 0.0095378952, -0.0190459583, -0.014690456, 0.0657091737, -0.0414054058, -0.072327584, 0.0560217015, -0.0207923409, 0.0466154516, -0.0236788336, 0.0029277205, -0.018215267, 0.0458546802, 0.0259565543, -0.0119661009, 0.0270371344, 0.0533773303, -0.0692449808, -0.0068269083, 0.041053962, 0.0077993143, 0.0343865789, -0.0923920423, 0.0161900055, 0.0205515139, 0.0050365501, -0.0139294444, -0.0046234219, -0.0417844132, -0.0052381824, 0.0061089569, -0.0067950753, -0.0073709916, -0.0383766368, 0.0380575918, 0.0366722904, 0.0404088944, -0.0149853425, -0.0312264152, -0.0460300483, 0.0245221797, 0.0183521789, 0.0740647987, -0.0380988829, 0.0398599766, 0.0511571579, 0.0226361118, -0.0361412056, -0.0101882312, -0.0252697598, 0.0010609145, -0.0564023331, -0.0351852141, 0.0138350558, 0.0418826006, -0.0273340493, -0.0098908162, 0.0976782292, 0.0444160141, -0.0110304253, 0.0369956791, -0.0627899915, -0.0006940732, 0.02987005, 0.0067250282, -0.0728282854, 0.0168942362, 0.0334647931, -0.0133143477, -0.071131058, -0.0774851888, -0.019631356, -0.0341214463, 0.0274708085, 0.0312208012, 0.0278707799, 0.0087904977, -0.0322450213, 0.0117564769, -0.0224423334, -0.0212969445, 0.0421525016, 0.0119590824, 0.0152457897, -0.0222743265, 0.0100576626, -0.0263185203, -0.009377744, -0.0317567438, 0.0546629019, -0.0014446625, 0.0142980628, -0.0195584912, -0.0380048826, 0.0126783326, 0.0896012709, -0.0125044053, 0.0045761177, -0.0125384554, 0.0037468688, 0.0232440941, 0.0106193097, 0.0021970808, 0.0300956573, -0.0571564175, 0.0412485451, 0.0644541904, -0.0524366572, -0.0231779199, 0.0071375305, -0.0288945176, -0.0187459905, 0.0690955147, 0.0293685049, 0.0138640748, 0.0321597941, -0.0915140659, -0.0232916232, 0.0419408046, -0.0166029762, -0.0189871769, -0.0217424072, 0.0098436493, -0.0666590929, -0.0598921813, -0.0109788794, -0.0257339533, 0.0568607561, -0.0152429407, 0.0258168764, -0.0171425417, -0.0158872809, -0.0147525864, -0.0783244595, -0.0240363739, -0.0218125787, -0.0076685864, 0.0161315836, -0.0572541729, 0.0073176296, -0.0145889111, -0.0173957273, -0.084175244, 0.0415317751, 0.0463345125, 0.0316225514, 0.0518363528, 0.0025497682, -0.0189597309, -0.0098076239, -0.0211480502, 0.0052116015, 0.0708424002, 0.0374819078, 0.0335966274, -0.004386209, 0.0480484776, -0.0328075364, 0.0030098306, 0.0292405635, 0.0036148995, -0.0538716204, -0.0767856985, 0.0312262829, 0.0289397575, 0.001807017, 0.0118643977, -0.0167554282, -0.0244839247, 0.051213406, -0.0345270894, -0.0254353248, -0.0037976576, 0.0186250303, -0.0027350378, 0.0201539416, -0.0033537438, 0.0185982455, -0.0349915512, 0.0506449454, -0.001444382, -0.0097770579, 0.0230409987, 0.0270478986, 0.0313271768, -0.0058466615, 0.0090018827, 0.010036773, -0.0407729261, 0.0453146696, 0.0449821427, 0.0193659775, 0.0408354104, -0.035948962, -0.0495986044, -0.0140129924, -0.0841886923, -0.0724491626, 0.0081528304, 0.0435455702, 0.0281274952, 0.0260372274, 0.0303702969, -0.079413265, -0.0183024276, -0.0321139432, 0.0162668526, 0.0811373889, -0.0404657796, 0.0036699874, -0.0061083981, -0.0393103622, 0.0117874397, 0.0306457765, -0.0088796904, 0.1407530308, -0.0398046747, -0.0219397116, -0.050119821, -0.0624716692, -0.0365590528, -0.0234191548, -0.0013000037, -0.0285058673, -0.0832740441, -0.0423433781, 0.0024035601, 0.0447388217, -0.0155200213, -0.029306788, -0.0455174968, 0.0453546531, 0.0064380723, 0.0157173052, -0.0332714729, -0.0003691, 0.0134816542, 0.0237676874, 0.000157276, -5.1681263e-33, -0.0297247544, -0.0087995473, 0.0378127359, 0.0076013096, -0.0099422168, -0.0425543189, -0.0238303896, 0.0121224457, -0.0127883563, 0.0340804569, -0.0091908947, 0.0064458973, 0.0159155075, -0.0361482501, 0.0127762938, -0.0012343639, 0.0672713891, 0.0165980123, -0.0542997941, -0.048748184, 0.0326794796, -0.0305973589, 0.0960523114, -0.0253508743, 0.1049125642, 0.0116336122, -0.0074820728, 0.0297490396, -0.0652479678, 0.0236382354, 0.0032394209, -0.0007502232, 0.0034736106, -0.0347198136, -0.0300866179, -0.0492322333, 0.0306552108, -0.0068552713, 0.0475311987, 0.0222531632, 0.0144527648, -0.0653642043, 0.0080046318, 0.0363670997, -0.0499622077, 0.0008162826, 0.0048110629, -0.056496717, 0.0243993737, 0.0601745658, -0.060353674, 0.0238352958, 0.0097835995, 0.0044068322, -0.028169062, -0.0321446247, 0.0242952742, -0.0282936879, -0.0698623955, 0.0288186148, 0.0875484049, 0.0158706326, 0.0501380637, -0.0198395271, 0.0268288087, 0.0464728847, 0.0250386316, 0.0440806597, -0.0205544867, 0.0025380882, 0.0021059464, 0.0102606779, 0.0195724331, 0.0732197687, -0.013598524, 0.0312239286, -0.0386280492, 0.0078254128, -0.0154702477, 0.0267555043, -0.0216819607, 0.0402173363, -0.0158869885, 0.0093945162, -0.0772437677, 0.0030227164, -0.0020953047, -0.0029786548, -0.0174483526, -0.0074178982, -0.021424273, -0.0117270472, 0.0017233222, -0.044450704, -0.0330252051, -0.0205141176, -0.0253252462, 0.026667729, -0.0015744923, -0.0230544619, -0.017241301, 0.043248903, -0.0088529941, 0.0114684673, 0.0050127767, 0.0226444714, -0.012166515, 0.038776584, -0.0025169807, 0.0171384625, -0.0104582049, -0.0150648123, 0.0297996346, -0.0377858244, 0.035065826, 0.0084551536, -0.0032101315, -0.011745804, 0.0406687297, -0.0112913707, -0.0152799841, 0.0709147975, -0.0062417984, 0.0343456231, 0.0060535944, 0.0040690936, -0.00885309, 0.0350646637, 0.0438653752, -0.014320313, -0.011247172, 0.0043377466, 2.727e-7, 0.042256128, 0.0321581475, 0.0249505974, 0.0165427569, 0.0398046747, 0.0469475649, -0.0293100569, 0.0003007005, 0.0211249832, -0.0719079003, 0.0081924992, 0.0015223727, 0.0207913108, 0.0241510253, -0.0191708449, -0.0273130927, -0.018350305, 0.0012531708, -0.019969672, -0.0064753168, -0.0035118398, 0.0245904364, 0.0505682006, 0.0173808672, -0.0267923698, 0.0093377456, 0.0490711071, -0.0601630546, -0.0301785264, 0.0495074689, 0.035750635, -0.002386417, 0.0353686698, 0.0100482507, 0.0009262938, -0.0066926084, -0.0493322201, 0.0317727141, 0.0192838106, 0.026886208, -0.0315900557, -0.0313334577, 0.0055385805, -0.0275153872, 0.0521241277, -0.028021194, -0.0348947048, 0.010225716, -0.0402863212, 0.0042892969, 0.0189406443, -0.0229889788, 0.0049902205, 0.0127631836, -0.0159774739, 0.0568747334, -0.0044858572, 0.0075030881, -0.0481589288, -0.0349739045, -0.0207766369, -0.1040168405, -0.0043534134, -0.0374955051, 0.0028134931, -0.115343675, 0.018198289, 2.173119646e-34, 0.0314648822, -0.0008979909, 0.0142561933, 0.0426545478, 0.0392891131, -0.0271204002, 0.0169855114, 0.0063193562, 0.0318172202, -0.0629909486, -0.0103559913 ]
http://arxiv.org/abs/2406.19349v1
http://arxiv.org/pdf/2406.19349v1
IndoToxic2024: A Demographically-Enriched Dataset of Hate Speech and Toxicity Types for Indonesian Language
2024-06-27T17:26:38
2024-06-27T17:26:38
Lucky Susanto, Musa Izzanardi Wijanarko, Prasetia Anugrah Pratama, Traci Hong, Ika Idris, Alham Fikri Aji, Derry Wijaya
cs.CL
cs.CL, cs.AI
Hate speech poses a significant threat to social harmony. Over the past two years, Indonesia has seen a ten-fold increase in the online hate speech ratio, underscoring the urgent need for effective detection mechanisms. However, progress is hindered by the limited availability of labeled data for Indonesian texts. The condition is even worse for marginalized minorities, such as Shia, LGBTQ, and other ethnic minorities because hate speech is underreported and less understood by detection tools. Furthermore, the lack of accommodation for subjectivity in current datasets compounds this issue. To address this, we introduce IndoToxic2024, a comprehensive Indonesian hate speech and toxicity classification dataset. Comprising 43,692 entries annotated by 19 diverse individuals, the dataset focuses on texts targeting vulnerable groups in Indonesia, specifically during the hottest political event in the country: the presidential election. We establish baselines for seven binary classification tasks, achieving a macro-F1 score of 0.78 with a BERT model (IndoBERTweet) fine-tuned for hate speech classification. Furthermore, we demonstrate how incorporating demographic information can enhance the zero-shot performance of the large language model, gpt-3.5-turbo. However, we also caution that an overemphasis on demographic information can negatively impact the fine-tuned model performance due to data fragmentation.
[ 0.0686900243, 0.0818908215, -0.0212447494, 0.0201284159, 0.0039760806, 0.0615401864, 0.0480709262, 0.0364068821, 0.0216791127, -0.0547825061, -0.0040051849, -0.0326138362, 0.0022946827, -0.0023605004, -0.0023008238, -0.0742478073, 0.0306388456, 0.0497258082, 0.0510451198, -0.0144574167, 0.0296219978, 0.0364564806, -0.0002274955, 0.034303844, -0.0545831807, 0.0033654021, 0.0240157787, -0.0033389619, 0.0540085956, -0.0074307835, 0.0591917895, 0.0570088401, -0.0141832083, 0.0525241345, 0.0000017673, -0.0264621694, 0.0268567763, 0.0074215764, 0.0068247351, -0.0174029525, 0.0852247402, -0.0142413611, -0.0258087963, 0.0446224734, -0.0172124989, -0.0005026967, 0.0424575955, 0.0356478244, 0.0643943846, 0.0584125184, -0.0099010104, -0.0234844778, -0.0134052904, 0.0106609799, 0.0095956158, 0.0584926642, 0.0429856852, -0.0744854584, -0.060022369, -0.020694511, -0.0118333893, 0.0032310854, 0.0277099404, 0.0344496146, 0.0141386399, -0.0250426475, -0.0797143728, -0.0580149107, 0.0464790016, 0.0411849879, -0.0283119213, -0.0060454789, -0.0131674893, 0.0234552193, -0.0239139814, -0.0160283372, -0.0123675289, -0.0073938873, -0.0356194228, 0.0244145021, 0.0235042311, 0.0190952811, 0.0415025875, 0.0789787024, 0.0226242747, 0.0219231416, -0.0003129165, -0.0252856594, -0.0051638209, -0.0268880557, -0.0395693257, 0.0168740228, 0.0325287059, -0.0171261672, 0.0036876269, 0.0156137524, -0.0418690667, -0.0395692885, 0.0205246359, -0.106583558, 0.0106417686, 0.0570636727, -0.0188888106, 0.0004851722, 0.0185768604, 0.0108854063, 0.0286896396, 0.0292022713, 0.0122653507, -0.0120827146, -0.0154837295, 0.0175296832, 0.006356346, -0.0030740844, 0.0091657434, 0.0521345139, -0.0654069781, -0.0021770424, -0.0494298972, -0.0243484322, 0.0044671069, -0.0003721216, -0.0274338853, 0.004929889, -0.0116978073, 0.0166898929, -0.0444351919, 0.0124505321, -0.0387906171, -0.0705041885, 0.0224099662, 0.027929306, -0.0306056049, -0.0348272733, 0.03001865, 0.0501502864, 0.0206040423, -0.024489766, -0.0520662591, -0.0031197846, -0.0363430083, -0.0558870248, 0.0235542208, -0.0373661108, 0.0378646888, 0.0084766541, -0.0283344351, -0.0602983199, 0.0131393606, 0.0255004857, -0.0340233892, 0.0824985355, 0.0304268394, -0.016206108, 0.0704030618, 0.0385726318, 0.0299496874, 0.0820825472, 0.0195288509, 0.0118684312, 0.0417351276, 0.0012335208, -0.02988014, 0.0610079393, 0.0415514223, 0.0568397455, -0.0487683862, 0.0175437499, -0.046122469, -0.0449398644, 0.0027128975, 0.0212383494, 0.0190535598, -0.0489328057, 0.0390267596, 0.0666928291, -0.0342610776, 0.0566560999, 0.0194549151, 0.0248732027, -0.0328218341, -0.0465073325, -0.0511748195, -0.0335235745, -0.0145448809, -0.0518599041, 0.0436500683, 0.0743782222, -0.0342474282, -0.0267296638, -0.028537536, 0.0060073799, 0.0560462587, -0.0433481559, 0.0450174548, -0.0086291786, -0.0000013447, 0.0187535565, 0.0677663535, -0.0249069128, 0.0139042092, -0.0623770393, 0.0098343398, 0.0445193686, 0.0058941236, -0.0137582701, 0.0088563003, -0.0506023355, -0.0112396702, 0.0397620611, -0.0007541724, -0.006327583, -0.0017211171, -0.0230839793, -0.0202655196, 0.073527962, 0.0291513372, 0.0265144818, 0.0797720477, 0.0232990719, 0.0161038786, 0.0233773999, -0.0284198727, 0.0225380547, 0.009620877, -0.0461843163, -0.0018774777, 0.021457687, 0.0743359476, 0.016001597, -0.0247540325, -0.0668189004, -0.0107033672, -0.01526557, -0.0363869816, -0.0042384104, -0.0132566607, -0.0096676098, 0.0179318897, -0.0412338227, -0.0292744674, 0.0654893667, -0.000413161, 0.0286930688, 0.0666916221, -0.0046270741, -0.0248486381, -0.0209369995, -0.0266564582, -0.0769811794, 0.0244266279, -0.0174398832, 0.061540965, -0.0380874686, -0.0232663751, 0.0030306207, -0.0599879995, 0.0354385898, 0.0151506439, -0.0357226543, -0.0322597139, -0.0209264811, 0.032723818, -0.0207591392, 0.0123658208, -0.0095754461, -0.0043664393, -0.0865124911, -0.0092045516, -0.0244786423, -0.0009413268, -0.0016676461, 0.0008521691, -0.0431357957, 0.0333361067, 0.0083261384, -0.0476198494, 0.0391454324, 0.0227593407, -0.0145111699, -0.0562651828, -0.0001255329, -0.0061135096, -0.0267857499, -0.0316031352, 0.0350451097, 0.0115324371, -0.1022728756, 0.0649612471, -0.0361656211, -0.043096263, -0.0073154648, -0.0109663131, -0.0706002787, 0.0203247033, 0.0300867893, -0.0140846064, 0.0435947105, 0.0466985479, 0.0835952386, 0.0086169168, 0.0121846981, -0.0204482507, 0.0046220711, -0.0089590838, 0.0407942086, -0.0046297889, -0.0445898548, -0.0113062747, 0.0806773007, 0.041005265, -0.0189805664, -0.0730896965, 0.0129063847, -0.0795549974, -0.0285780057, -0.0233093388, -0.043495357, -0.0170297474, -0.0366659984, -0.0315401368, -0.0473261885, 0.0610998049, 0.0228232481, 0.0437147915, -0.013162504, -0.0149491243, -0.0197705179, 0.0034971503, -0.0171419736, 0.027271295, -0.0239467956, 0.0058260928, 0.0049157175, -0.0217179433, 0.0144622307, -0.0294306464, 0.0105820261, -0.0232670028, 0.0060197804, -0.0080775907, -0.0577570759, -0.0554458834, -0.0607815497, -0.0334330499, -0.0153186908, 0.0287404619, -0.0076248515, -0.021437563, 0.0382724069, 0.0197439007, -0.0475860015, 0.0020831604, 0.0034533245, 0.0423348211, -0.0319394618, -0.0272803251, -0.0662648752, 0.0259358659, -0.0002608251, -0.0207686163, 0.0459944084, -0.0059583532, 0.0230278969, 0.0033443344, 0.0159060396, 0.0194355026, 0.0193261523, -0.0074816598, -0.0439067818, 0.0093942117, -0.0100131929, 0.0097223604, 0.086679779, 0.0098932702, -0.0264221951, -0.0244167112, -0.0154078426, 0.0446710438, 0.0062823971, -0.0023597635, -0.0792061239, 0.0119315609, 0.0073079574, 0.0239844453, -0.0739634931, -0.0448752865, 0.0200172104, -0.0510035269, 0.003813264, 0.0130758714, -0.0302341059, -0.0357066579, -0.0211903788, 0.0178053621, -0.0173869282, 0.0486319363, -0.0358388424, 0.0358349904, 0.0032265377, 0.0334629677, -0.0745888576, -0.0270433985, 0.0308302473, -0.0001856294, 0.0359173194, -0.0001932349, 0.0472800657, -0.038162075, 0.0333621874, 0.050093513, -0.0191228352, -0.051618021, -0.0636615604, 0.0475167707, -0.0022343767, -0.0473234467, -0.0416466855, 0.051251255, -0.0176922418, 0.0185909364, 0.0114205359, 0.0245525688, 0.0368024111, -0.0009845607, -0.0485983826, 0.0205018986, -0.0089224745, 0.0536331758, 0.0221410636, -0.0650820881, 0.0529058836, -0.0978875309, -0.0316708535, -0.0388551615, -0.0842728466, -0.0006817302, -0.0437773652, -0.0435515232, -0.0011201737, -0.0381478332, 0.0216814652, 0.0080830036, 0.0205213483, -0.0406455025, 0.0146405352, -0.007803699, -0.0447611511, 0.006898066, -0.0004963479, 0.0224941876, -0.0064013978, -0.0015762635, -0.0352608301, 0.0144641148, -0.0257564262, 0.0154743856, -0.0492833629, -0.0354806632, 0.0939348489, 0.0353912152, 0.0164470542, -0.008521568, -0.0098895887, -0.0482764207, 0.0766068473, 0.0704926178, 0.0038789194, -0.0193006247, 0.0234379303, -0.0045307889, 0.0129377488, 0.0355612226, 0.0040673874, 0.0383155569, 0.0368575975, -0.0614643693, -0.0685020462, 0.0147285303, -0.0407351106, -0.0230750553, 0.0361576192, -0.0096217254, -0.0747945458, -0.0480726324, -0.0222446248, 0.0210470445, -0.0314862095, 0.006821251, -0.0154566886, 0.0319088474, -0.0018630931, -0.0581316724, -0.0025945145, -0.0357670821, 0.0069940886, -0.0548382066, 0.0200862065, 0.0166490562, 0.0503768958, 0.0195610747, 0.0021230723, -0.0141014149, 0.0295946561, -0.0263008587, -0.02855286, -0.0158891156, 0.0315059423, -0.003042721, 0.0055735055, 0.045562353, -0.0266077425, 0.0430628695, 0.0202836841, -0.059494786, 0.0002389055, -0.006758377, -0.0238214284, 0.005883147, -0.008275535, -0.0331596136, -0.0194217097, -0.0051453281, -0.0164517313, -0.0345845632, 0.0147270076, 0.025080137, -0.0266280472, 0.0166396033, 0.0370343514, 0.0308806133, 0.0344397277, 0.0911936834, -0.0398410298, -0.0058469991, 0.0000822033, 0.0353368968, 0.015414536, 0.002617927, 0.0222804435, -0.051160574, -0.045413021, 0.0037421295, -0.0547045432, 0.0151701057, 0.0027330411, 0.0207524672, 0.0471407361, -0.017246075, 0.0167241003, -0.0017352598, 0.0020212906, -0.0346164405, -0.0423575565, 0.0121683544, -5.674740856e-33, -0.039386224, 0.0005983522, -0.0377779342, -0.0229091365, 0.0097071407, -0.0217428524, 0.0492240638, 0.0218253639, -0.0303472113, 0.0327037126, 0.0041863294, 0.0410935245, 0.0082491469, 0.0161149427, 0.002276327, -0.0470372029, 0.0198787395, -0.0048213964, -0.0163363218, 0.0028776999, 0.0481568836, 0.0093369698, 0.033494655, -0.0687019825, 0.0243182294, 0.0073696841, -0.0120372158, 0.001242635, 0.0168944541, 0.0665860474, -0.0241072141, 0.1053991765, 0.0320422687, 0.0009491649, 0.0237540565, 0.0473889522, -0.0508773886, -0.0016523381, 0.0035308315, 0.0164607149, 0.0377027914, -0.0229669027, 0.0224803984, 0.0144500686, -0.0271976124, -0.0513029657, 0.0391636491, -0.0327332132, 0.0054258001, -0.0315302685, -0.0363856331, 0.0330160856, -0.0231802855, 0.0064254478, -0.0242879819, 0.0473525375, 0.0404311903, 0.0220428929, -0.064676322, 0.0023191967, -0.0062881727, -0.0055120466, -0.0139073571, -0.002037083, 0.011548629, 0.0527882837, -0.0070246835, 0.0335933454, -0.0235515386, -0.0115512609, 0.0352392457, 0.0019309367, 0.0234547146, 0.0403448753, 0.0150513407, -0.0665674806, -0.0618583038, -0.0078359665, 0.0679115504, -0.001098084, 0.0174634028, -0.0365328118, -0.0678800792, -0.0384566896, -0.0076940069, -0.0904730633, -0.0356642157, -0.0101341782, 0.0128088295, -0.0149137303, -0.03375303, -0.0207279418, 0.0186438523, -0.0134573849, 0.004442866, 0.0432887226, -0.023820715, 0.0064823804, 0.018780183, 0.0531307943, -0.0331265107, -0.020085495, -0.0121140694, -0.0019982811, 0.0308301877, -0.0130571285, 0.0717935339, 0.0284448955, -0.0727118477, 0.0060331565, 0.0054188422, 0.0411153398, -0.0092771603, 0.0920262262, -0.0022673861, 0.0421966277, 0.0103106787, -0.0139293782, 0.0368853621, 0.0041756122, 0.0124747269, -0.0137646049, -0.0481240526, -0.0134885702, 0.0113589354, -0.0193438549, -0.017963212, 0.0409942865, 0.0109200589, -0.0827975646, 0.0106315184, -0.0660068691, 2.438e-7, 0.0226323176, 0.0637645498, -0.0070072878, -0.0038116032, 0.0174705442, 0.0369133651, 0.03702287, 0.0274346657, -0.003741551, 0.0152803157, -0.0201593041, 0.0452177525, 0.0252237841, 0.0568231642, -0.0303223506, -0.0269582067, -0.0707729608, 0.006214133, -0.0757308677, 0.00812029, -0.0261377357, 0.1042507142, 0.0793510675, -0.0469840616, -0.0145880189, -0.0098327408, 0.0391300358, -0.0449703895, -0.049293641, 0.001653919, 0.0624575242, 0.0434224755, 0.0397745408, -0.0048297411, -0.0117694065, 0.0117616961, 0.0039967592, 0.0698410198, 0.0050253491, 0.0127302911, 0.0196513105, -0.0147794802, -0.0252842661, -0.0392509811, 0.0610641465, -0.0051488741, -0.0239879433, -0.0231080242, -0.0224875584, -0.0277057029, 0.0593352541, -0.024771031, -0.0250289291, 0.0055304882, 0.0352935642, -0.026621744, -0.0075007891, -0.0676587, -0.0022563401, -0.0141536891, -0.0520124212, -0.0383336619, -0.0243513025, 0.0057613151, 0.0366560332, 0.0431702025, 0.0589706264, 2.038558834e-34, 0.0294178519, 0.0023175133, -0.0181126855, -0.0605433136, 0.047531981, 0.0193236992, 0.0133820092, -0.0122265294, 0.0436620191, -0.0174997654, 0.0163298845 ]
http://arxiv.org/abs/2406.19317v1
http://arxiv.org/pdf/2406.19317v1
Jump Starting Bandits with LLM-Generated Prior Knowledge
2024-06-27T16:52:19
2024-06-27T16:52:19
Parand A. Alamdari, Yanshuai Cao, Kevin H. Wilson
cs.LG
cs.LG, cs.AI, cs.CL
We present substantial evidence demonstrating the benefits of integrating Large Language Models (LLMs) with a Contextual Multi-Armed Bandit framework. Contextual bandits have been widely used in recommendation systems to generate personalized suggestions based on user-specific contexts. We show that LLMs, pre-trained on extensive corpora rich in human knowledge and preferences, can simulate human behaviours well enough to jump-start contextual multi-armed bandits to reduce online learning regret. We propose an initialization algorithm for contextual bandits by prompting LLMs to produce a pre-training dataset of approximate human preferences for the bandit. This significantly reduces online learning regret and data-gathering costs for training such models. Our approach is validated empirically through two sets of experiments with different bandit setups: one which utilizes LLMs to serve as an oracle and a real-world experiment utilizing data from a conjoint survey experiment.
[ 0.042200733, 0.070261687, 0.0058922209, 0.0084495125, -0.0115439631, 0.0065581361, 0.0184110515, 0.0024082211, 0.03430916, -0.0444971062, -0.0536442772, -0.0257025138, -0.0400537103, -0.0015021339, 0.0047452054, -0.0033326584, 0.0069892402, -0.0803800672, 0.010160624, -0.0405178517, 0.0036288609, -0.0073328116, 0.0089907357, 0.0160769597, 0.0468602255, 0.0339355618, -0.0156850629, 0.0007743826, -0.0200592242, -0.0629818439, 0.0165569596, 0.0299921576, 0.0423333608, 0.0380834751, 0.0000020504, -0.0704049245, -0.064559415, -0.0394263417, -0.0260193143, 0.0039616646, 0.059367083, 0.0588755198, 0.0252305288, 0.0115638021, -0.0409508124, 0.0426308326, 0.0126263704, 0.0347421691, 0.0093507348, 0.0104195848, -0.0016122223, -0.0041283332, 0.0078359609, -0.0330623426, 0.0451118127, -0.049733948, 0.0358346328, -0.0388934277, -0.0021806245, -0.0092137177, -0.0003962974, -0.0272907466, -0.0216486733, 0.0241934359, 0.0234364979, 0.0142222308, -0.0254976097, -0.0060026436, -0.0171005037, 0.0365799181, -0.0193523206, -0.0133174369, 0.01945813, -0.0237326417, -0.0038160756, 0.0070291003, -0.0262698159, 0.0306454394, -0.0134479217, 0.0425319336, 0.0429074652, 0.0144069642, 0.0348257087, 0.0436888337, -0.0072587477, 0.0687966123, -0.0197536647, -0.0399596021, 0.0732815713, 0.0195215475, -0.024572514, -0.0214442182, 0.0162006579, 0.0029335588, -0.073729448, 0.0257987697, -0.0074808802, 0.0375701599, 0.0334575735, -0.0319436118, 0.0563830286, -0.0012059638, -0.0129477931, 0.0519712977, -0.0075905989, 0.0172172841, -0.0107935537, -0.0185580608, -0.0166679844, -0.023795452, 0.0026254707, 0.0029173682, 0.002428567, 0.0443785824, -0.0046466682, 0.0052773147, -0.0511294752, 0.0590437166, -0.0064855334, 0.023994714, -0.0222174805, 0.0207106043, -0.0166581348, 0.0034689293, -0.0908946097, -0.0506752059, -0.028503513, 0.023772452, 0.0185627099, -0.0085761789, 0.0268595032, 0.006005975, -0.0088012796, -0.0503209978, 0.0383511595, 0.07026539, 0.0060689002, -0.0391041376, -0.0661272705, -0.0296083894, 0.0077345814, -0.0095720598, -0.0537591204, -0.0745033696, 0.0195390824, -0.0013198165, -0.0111168614, -0.0004346753, 0.023472907, 0.0184121486, -0.0420918353, 0.0644666851, 0.006813623, -0.0266401228, 0.0277676415, -0.026054915, -0.0065579871, 0.0402919352, 0.0045853942, 0.0939561948, 0.0566943325, 0.0276603214, -0.005495159, 0.0263675302, 0.0053117755, 0.0139136184, -0.0193573646, 0.0094087543, 0.0067228, 0.054305438, 0.0265955012, 0.0184662603, -0.0605890602, -0.0069275633, 0.0633322075, 0.0380844511, 0.0342909209, 0.022249084, 0.0385644138, 0.0126323625, -0.0211712979, -0.0373093039, -0.0208454356, 0.0196218323, -0.0731150955, 0.0047553256, 0.0495988503, 0.0240583587, 0.004604442, -0.0115076909, 0.0184050612, -0.0083442237, -0.0069968798, 0.0633838996, 0.0216553919, -0.0323053636, -0.0359786525, -0.0457116216, 0.0583047643, 0.0116272653, -0.0220807567, -0.0148484651, 0.0496404171, 0.0934039801, 0.0523786731, -0.0312623046, 0.0389024429, -0.0377059691, -0.0230041444, -0.0299552307, 0.0482453145, -0.0449343845, 0.0141339414, -0.0396208577, -0.0404332802, 0.021139117, -0.0091751823, 0.0557382777, 0.0309213884, 0.0202319231, -0.0208903681, -0.0082951598, 0.019983381, -0.0117088491, -0.0549487025, -0.0563051403, 0.040196076, -0.0038948553, 0.0365724228, -0.0413694642, 0.0158679541, -0.0087819519, 0.0097652031, 0.0150050865, -0.0333545841, -0.0043582958, -0.0410973653, -0.0250787828, 0.027043622, -0.010400882, 0.0407819785, 0.0045135417, 0.0126069868, -0.0183988661, -0.0364157036, 0.0084713055, 0.0631204695, -0.0617554523, 0.0086306212, 0.001838513, 0.0252830684, -0.0511879399, 0.0680976808, 0.0035448945, 0.025874719, 0.0021032682, 0.0013163032, -0.0082399854, -0.0900533497, -0.0091371937, -0.0219299495, 0.0269611347, 0.0084404433, 0.0311477687, 0.0185597558, -0.0267355051, -0.0094950302, -0.1095907614, 0.002043633, 0.0189357623, -0.0177014116, -0.012740518, -0.0012829859, -0.0203164294, -0.0287073702, -0.0232366025, 0.0021192462, -0.0087568555, 0.0389473103, 0.0229308475, 0.0251789615, 0.0026635556, -0.0564461574, -0.0097356914, -0.0067871544, 0.0427087285, 0.0040228893, 0.0071972455, -0.0101113524, -0.0522452481, -0.0064880466, 0.0225497391, -0.0277758744, 0.053140901, -0.020421369, -0.0472299606, 0.0153241102, 0.04065644, 0.043617297, 0.0394765213, 0.0641903281, -0.0091290781, -0.0620121211, 0.0115597909, -0.0105627086, -0.022850845, -0.0489722043, -0.0225869752, 0.0331172757, 0.0607985817, -0.0129106976, 0.020946119, -0.01994312, -0.0032797311, 0.0375422873, -0.0382294953, -0.0896667093, 0.0068176584, -0.0365790725, 0.0683367252, 0.0261794254, -0.0241725929, 0.0957909003, 0.0076669897, 0.0033995057, -0.0018300518, -0.0454046503, -0.0478488617, -0.0070821489, 0.0117449304, 0.0306986663, 0.0286662597, -0.0053516096, -0.029415166, -0.0050549186, 0.0624906905, -0.0335327797, 0.0205733739, -0.0514010265, 0.0027745697, 0.0104338406, -0.0598200932, -0.0455167145, -0.1106929183, -0.0026781985, -0.0305418521, 0.0386354402, -0.0088827042, -0.0270757601, -0.0414008275, 0.0151876993, 0.0363750532, 0.0159127433, -0.0451301374, 0.0273452308, 0.0368855521, 0.066281639, -0.0172500629, 0.0399865136, -0.045576714, 0.02744033, 0.0131583102, 0.0463580713, -0.0340107791, 0.0071989577, 0.020829821, 0.0591923743, -0.0427639224, -0.0315645188, 0.0663932711, -0.0301502589, 0.0242533479, -0.012493209, 0.0772241801, 0.0413932614, -0.095842272, 0.0041660322, -0.0281041991, 0.0594940186, 0.01872571, 0.0572018176, -0.0873453021, -0.0334356539, -0.0086008478, 0.062645331, -0.0188188944, -0.0818691775, -0.0305961799, -0.1025833264, 0.0141560361, 0.0053005926, -0.0597361512, 0.05567744, -0.0357548706, -0.0319626816, -0.0564518981, -0.0090772957, 0.0266709514, -0.038417656, 0.0127337724, 0.008198088, -0.010672899, 0.0056586689, 0.0317518227, -0.0284413565, 0.0274466071, 0.0537250899, -0.0049184817, 0.0174144357, 0.0167843737, -0.0367328636, -0.0152207799, 0.00165351, -0.0045000291, 0.0196758769, -0.0541526787, 0.0319374911, -0.0151465889, 0.0444634408, -0.0078447405, -0.0318952911, 0.0364835188, 0.0398936309, -0.0261200909, 0.0047796313, 0.0208060015, -0.0111579569, 0.0395560823, 0.056734398, -0.0211290009, -0.0795300305, -0.0109371906, -0.054273054, -0.0506751351, -0.0131032914, -0.014283848, -0.0095938677, -0.0042576343, 0.010611359, -0.0816601217, -0.0247081351, -0.010865611, 0.0324938223, -0.0074246484, 0.0516582392, -0.0440516025, -0.0043397071, -0.0081127444, 0.0126376199, -0.0428845063, 0.0168278869, -0.0655853003, 0.0214449931, 0.0480594933, -0.0909375101, -0.0228049345, -0.0005284603, -0.0891427249, -0.0533830822, 0.0118507156, 0.0602796823, 0.0182236154, 0.0423553512, -0.004189366, -0.0728968158, 0.0566342212, 0.0131447511, 0.0015820744, 0.0075094085, 0.0267347936, 0.0644690022, 0.0138040418, 0.0250805728, -0.0559278131, -0.0176520608, -0.0246618725, -0.0009053597, -0.0533958413, -0.0067947698, 0.0263389312, -0.0237356517, 0.0484102927, -0.0588464141, 0.0154498853, 0.0011065196, 0.0118175736, 0.0206654426, -0.035954617, -0.0190185327, -0.0184672158, 0.047272332, -0.0126220295, -0.0010775191, -0.01203111, 0.0038164041, 0.0076422547, -0.0247241147, 0.0013488519, 0.0634946525, 0.0066555762, 0.0509603731, 0.0142306061, 0.0092662545, 0.0335427299, 0.012051153, 0.0747236609, -0.0119340783, 0.0560591631, -0.0027964769, -0.0224753581, 0.0104090413, -0.0088603599, -0.0499718636, -0.0490630381, -0.0253260825, 0.0303736143, 0.0393132791, -0.05353567, 0.0101471934, -0.0520037003, 0.0220457949, -0.0122449631, -0.0034810626, -0.0466337167, -0.0673168153, 0.0496280715, 0.0415249579, -0.0155665278, 0.0788305551, 0.1089980379, 0.0474738218, 0.0134873753, -0.0194709189, -0.0411371738, -0.0313357525, -0.0079586571, 0.0561326854, 0.0732913986, -0.0517727025, -0.0242528822, -0.0218552873, 0.0009243934, -0.0214051846, -0.0073627788, 0.0266317874, -0.025813017, 0.0385839716, 0.035663534, -0.0129470024, 0.0522471704, -0.0734039843, 0.0359062105, -0.0246250313, -0.0341581814, -0.0517362505, -6.328893176e-33, 0.010147511, -0.0405540504, 0.0336186104, -0.0385475047, 0.0150536606, -0.0453704484, 0.0052135442, 0.0116201947, 0.0297671948, -0.0372289233, -0.0280953608, -0.0365164913, 0.0131228296, 0.0198074542, 0.0111526316, -0.0050326604, 0.012648711, 0.0242234152, -0.0159215089, -0.0141069405, 0.0308623798, 0.0442063026, -0.001605894, -0.0495713055, 0.0113394074, -0.0190520529, -0.0270182434, 0.0082304971, 0.0018985844, 0.0507293083, -0.0085378829, 0.0114558376, -0.0110530173, -0.0477501191, 0.0132109132, -0.0255945735, -0.0103037888, 0.0081615299, 0.0139126116, -0.0037743268, 0.0272015128, -0.0043955678, -0.0139538804, -0.0328059681, -0.0077373562, 0.0382297747, 0.028215196, -0.0322706327, -0.0740348101, -0.0331209525, 0.0038431128, 0.0025542935, -0.0026850929, 0.0448972806, 0.0208510254, 0.0384313948, -0.0127095198, 0.0535851456, -0.0097614964, 0.0630986392, 0.0250968784, -0.0199414007, 0.0135243284, 0.0110989083, 0.007320012, 0.0404600389, 0.018095661, -0.0238708891, 0.0422828607, 0.0160771664, -0.0148984604, 0.0327901132, -0.0102871461, 0.0990943536, 0.0596960112, 0.0024009389, -0.0015426762, 0.0579342619, 0.0463514514, -0.0542702414, 0.0450800397, 0.0666949451, -0.0261201635, -0.0248091593, -0.0240404792, -0.0128622996, -0.0324504301, -0.0368641429, 0.0293630138, 0.0351692177, 0.0178152621, -0.0056593665, 0.0161306541, -0.0284526944, -0.0549941547, 0.0068396204, -0.0059767147, 0.0106662065, 0.0000840333, 0.0080218222, -0.0779786035, -0.0101703582, -0.0087815672, -0.0663824677, -0.0054452606, 0.0035416908, 0.0190906674, 0.0302019287, -0.0566942878, 0.0072275046, 0.0115213497, -0.0029539084, 0.0022937031, 0.0046945661, 0.0495486856, -0.0068216147, -0.0133734206, 0.0585527681, 0.0011257154, -0.0165064391, -0.0388709232, -0.0891203508, -0.022583954, 0.0083222864, -0.0085937409, 0.0030508728, 0.0042567425, 0.0043848339, 0.0385150164, -0.0266761817, 0.0011234166, 0.0009797219, 2.699e-7, -0.0279940683, 0.0529759713, -0.0498542041, -0.0433256142, -0.0045394595, 0.0602689981, -0.0014204715, 0.0086935945, 0.0154950358, 0.0436624326, 0.0554592051, -0.004952867, 0.0349022709, 0.0399564728, -0.0896578804, -0.0407954119, -0.015314674, 0.0082875518, -0.0607768446, -0.0322305188, -0.0309801456, 0.0851020887, 0.0522930101, -0.0255387556, 0.0385712534, -0.0226117261, 0.0774737969, -0.0795226619, -0.0463724695, -0.0245907791, 0.0093256291, 0.0009877606, -0.0375630446, -0.0087130899, -0.0299448445, 0.0105592534, -0.011612569, 0.0188986957, 0.0348789468, -0.036817763, -0.0122789154, -0.0020688036, 0.0090444507, -0.0452837683, 0.0562483594, 0.0004999779, 0.0087364893, -0.0488549285, 0.0022525808, -0.0442483611, -0.0018018625, -0.0508344993, -0.0078575909, -0.0208698809, -0.0020941817, 0.0247664526, 0.0014264997, -0.0568991341, -0.0036192599, 0.0626163036, -0.0089155175, -0.0256217476, -0.047765363, 0.0526978411, 0.0039175553, -0.1040340364, 0.0421195664, 2.453670199e-34, 0.0289240573, 0.0179930143, -0.0051713162, -0.0017106297, 0.0246617086, 0.0323771425, 0.004913012, 0.0230423715, 0.0635635778, -0.0432245508, -0.0132199135 ]