id
stringlengths
33
34
doc_url
stringlengths
33
34
title
stringlengths
10
211
publication_date
timestamp[s]
update_date
timestamp[s]
authors
stringlengths
5
20.1k
category_primary
stringclasses
78 values
category_all
stringlengths
5
138
abstract
stringlengths
123
3.09k
embeddings
sequencelengths
768
768
http://arxiv.org/abs/2406.14091v1
http://arxiv.org/pdf/2406.14091v1
Protecting Privacy Through Approximating Optimal Parameters for Sequence Unlearning in Language Models
2024-06-20T08:12:49
2024-06-20T08:12:49
Dohyun Lee, Daniel Rim, Minseok Choi, Jaegul Choo
cs.CL
cs.CL
Although language models (LMs) demonstrate exceptional capabilities on various tasks, they are potentially vulnerable to extraction attacks, which represent a significant privacy risk. To mitigate the privacy concerns of LMs, machine unlearning has emerged as an important research area, which is utilized to induce the LM to selectively forget about some of its training data. While completely retraining the model will guarantee successful unlearning and privacy assurance, it is impractical for LMs, as it would be time-consuming and resource-intensive. Prior works efficiently unlearn the target token sequences, but upon subsequent iterations, the LM displays significant degradation in performance. In this work, we propose Privacy Protection via Optimal Parameters (POP), a novel unlearning method that effectively forgets the target token sequences from the pretrained LM by applying optimal gradient updates to the parameters. Inspired by the gradient derivation of complete retraining, we approximate the optimal training objective that successfully unlearns the target sequence while retaining the knowledge from the rest of the training data. Experimental results demonstrate that POP exhibits remarkable retention performance post-unlearning across 9 classification and 4 dialogue benchmarks, outperforming the state-of-the-art by a large margin. Furthermore, we introduce Remnant Memorization Accuracy that quantifies privacy risks based on token likelihood and validate its effectiveness through both qualitative and quantitative analyses.
[ 0.0223609898, 0.0989459828, -0.0140100159, 0.0329679362, -0.0544746146, -0.0121200159, 0.0320950039, -0.0038722439, 0.0193303581, -0.0200927574, -0.0411810167, -0.035243433, 0.0041052359, 0.0107594915, -0.0039491476, -0.0010653582, 0.0278339628, -0.02701951, 0.0275436621, -0.0295023005, -0.025381593, 0.0029118885, -0.0128104025, 0.0180504378, -0.0092726955, -0.0330876559, -0.0236561, -0.0274626352, 0.0137826214, -0.0260905959, 0.0283923373, 0.0570603162, 0.0273946617, 0.0650770664, 0.0000019433, -0.0403444357, -0.0763917342, 0.0044287569, -0.0444639325, 0.0389233008, -0.0007024952, 0.0040152264, 0.0320751593, 0.0382725932, -0.0258260742, 0.0173138715, 0.0159666911, 0.0321357027, 0.0283597615, 0.0976893306, 0.0046549924, -0.0226053912, -0.0194911789, -0.0495689362, -0.0068041985, -0.0580355227, 0.0199493188, -0.0829663947, -0.0669058338, -0.0196409635, 0.0142826466, 0.0413884446, 0.0120284883, 0.0314335711, -0.0209850445, 0.024847867, -0.0216788463, -0.0258793104, -0.0137200169, 0.0604084134, -0.003794967, -0.0149341626, 0.0359805003, 0.0220278874, 0.0464870408, -0.0174089856, -0.017239457, 0.0395059064, -0.0061136577, 0.0141047649, -0.0226377863, -0.0330224782, 0.0444453284, 0.0030026296, -0.0009307954, 0.0347383395, 0.0079725692, -0.0006207871, -0.0408791788, -0.0546205305, 0.0051201875, -0.0720665082, 0.0597289167, 0.022508027, -0.0024412908, 0.0357403792, -0.0547796525, -0.0393094346, 0.028814191, -0.0218097921, 0.0134287681, -0.0137794726, 0.0260986742, 0.0345367081, -0.0054351152, 0.0527036823, 0.0306740403, 0.0350487754, 0.0214052871, 0.0320881084, -0.028885169, -0.0208919272, 0.010147131, 0.0927091613, -0.0135444999, 0.01313214, -0.0186627042, 0.0158859976, -0.0125739882, 0.0217606071, -0.0248522088, 0.0008454816, -0.0231527947, -0.0115520656, -0.0276840962, -0.0438950211, 0.0046016299, 0.0165528972, 0.0297201257, -0.0730872601, -0.0325159319, -0.0334234014, 0.0189461317, -0.0062369048, -0.0387054868, 0.0668283626, 0.0083218627, -0.0578102991, -0.020316124, -0.0798383355, 0.0244653188, -0.0406105742, -0.0011107035, -0.0377866738, 0.0147628924, -0.0504808277, -0.0083525833, -0.0501443446, 0.0009126884, 0.0267168563, -0.0223945975, 0.0496217683, 0.0177255981, -0.0369866341, 0.0016845114, 0.0396019407, 0.0009365132, 0.0236138962, -0.0072211633, 0.0359789841, 0.0811888501, -0.0278247651, 0.0597669408, -0.0090824114, 0.0655770972, -0.0257579759, 0.0051671281, 0.0068849726, 0.0351949297, -0.0392034017, -0.0126562342, 0.0622453243, -0.0193922967, -0.0723562613, 0.0657825768, 0.0717380643, -0.0149448263, 0.0057899859, -0.0491951816, 0.0221006479, -0.0155769838, 0.0335866548, -0.0592662394, -0.0207648836, -0.0470135324, -0.0136903543, 0.0059202765, 0.0083803926, -0.0090597617, -0.0139545184, 0.0182038136, -0.0832087845, 0.0361850075, 0.0117617957, -0.0008440542, 0.0287663508, -0.0159266479, 0.077384524, -0.0024285235, -0.06757994, 0.0015235262, -0.0296929404, 0.0374036431, 0.0439806245, 0.048019439, -0.0321274102, -0.0043255584, -0.0446190648, -0.0241018124, -0.0173704382, 0.0019332088, 0.0061435644, 0.1095755622, -0.0437373035, -0.0549404845, 0.0131867025, 0.0220762324, 0.0493529439, 0.021837974, -0.0246786866, 0.0444943309, -0.0299088694, 0.0022677854, 0.033563897, -0.0255529564, -0.0747182295, 0.0554568656, 0.0042761462, 0.0611762255, 0.0438136123, 0.0042977198, 0.0253708623, 0.0557615943, 0.0209702197, 0.0002863938, -0.0154846888, -0.0679368228, -0.0143661173, 0.0140223615, 0.0019777499, 0.0347922854, 0.0699993968, -0.0295888055, -0.0392528325, 0.0090392241, 0.0128427865, 0.0732144192, -0.0350948051, 0.0362451226, -0.0145170894, 0.0422045439, -0.016478017, 0.0205063354, -0.0393767878, -0.0057098116, -0.0525443554, -0.0317749009, -0.0199320931, -0.0664185062, -0.0131009668, 0.0070158471, -0.0242239647, 0.0226645749, 0.0234432761, -0.0254135262, -0.0324724913, -0.0056585837, -0.0514218248, -0.0055185896, -0.0167594086, 0.0443523601, -0.0231621638, -0.003513115, -0.0089425379, -0.0451834239, -0.0330006629, -0.0360459983, -0.0614113994, 0.0330181159, 0.0034176735, 0.0087061981, -0.0400745571, 0.0022150401, -0.0023276501, 0.0340264961, 0.0266480055, -0.0753050596, -0.0088034794, 0.002683138, 0.0025844148, -0.0299069155, 0.0474594459, -0.0072472165, 0.0033240551, -0.0159049798, 0.0286855567, -0.020195784, 0.0209956449, 0.0464260094, 0.0224733409, 0.0303528868, 0.0096912421, -0.0344529152, -0.0172494724, -0.0421570987, -0.0086543541, -0.0185319316, 0.0127813714, 0.0460073277, 0.0141583104, 0.0135460189, -0.0264742896, 0.0022398278, 0.0096037267, 0.0064384155, -0.0560686849, -0.0280243587, -0.0074782684, -0.0381807052, 0.009618015, -0.0012958628, -0.0441488251, 0.06547077, -0.0324572101, 0.0320428722, -0.0127966078, -0.0276842993, 0.0041814083, 0.0415517874, 0.0157376826, 0.0260452796, 0.050177779, -0.0868562832, 0.0012582365, -0.013207729, 0.0225093961, -0.0626219735, 0.0105724055, 0.0012280904, -0.0326406397, 0.0156562962, -0.0263387803, -0.0512626432, -0.0741759315, 0.0318104737, 0.0040963376, -0.0156293474, -0.0285427812, -0.0236952715, -0.0359397046, 0.0346692242, 0.0228019785, 0.0139635317, 0.0403019227, -0.0166159403, 0.031352248, 0.011162187, -0.0359010063, -0.0357726365, -0.0078049372, 0.0224128868, 0.0977595747, 0.0703856274, 0.019202292, 0.0494962633, -0.029524114, 0.0037494649, -0.0279419702, -0.01482281, 0.0371386856, 0.0343267694, -0.034933541, 0.0049638883, 0.1026096642, -0.0009261292, -0.0444902815, -0.011737437, 0.0687601641, 0.0234822538, -0.0098808408, -0.0412026532, -0.0758701712, 0.009392906, 0.0295781996, 0.0717623308, -0.0168227572, -0.03825894, -0.0232425686, -0.0730278343, -0.0538844876, 0.0173550695, -0.0389865972, -0.034130875, -0.0525227748, -0.0075834757, 0.0121322637, 0.049227003, 0.0008671792, 0.0107855387, -0.0385904871, 0.0265457612, -0.0269028507, -0.0518335477, -0.0038759026, -0.0268786177, 0.0299783014, 0.0514728688, -0.0027659531, -0.0010654452, -0.05562374, 0.0352438092, 0.0206840057, 0.0049772728, -0.0033797002, 0.0464700386, -0.0358410813, 0.0079776393, 0.0173037164, 0.0675681159, -0.0032315417, -0.0316295326, 0.0357381999, 0.0179195218, -0.004718957, -0.0047183754, 0.032968007, -0.0451381207, 0.0033311974, 0.0515077263, 0.0036264453, -0.0269069429, 0.0317232572, -0.0170698259, 0.0576270632, -0.0049271109, 0.0628092736, -0.0076037678, -0.0188813992, -0.0580965579, -0.0499342866, 0.000683222, -0.0308960844, 0.032500919, 0.0204642508, 0.0239978954, 0.0304404404, -0.0024251759, -0.0272822492, 0.0049899304, -0.0672301799, -0.0202875454, -0.0434075855, 0.0133829936, -0.0102642728, 0.0173161775, -0.0166377295, 0.0025948242, -0.0649374276, -0.0904228836, 0.0212214235, 0.0417033322, 0.0116964467, 0.0680502057, 0.0029934221, -0.0545221269, 0.0893525034, 0.0635265931, -0.0246535596, -0.0125535261, 0.0544549748, -0.0184711553, -0.0168045368, 0.0218900796, -0.0096380133, -0.0282529574, 0.0532241352, -0.0041235369, -0.023108596, -0.0228446852, -0.0181023348, 0.0315797292, 0.0640780628, 0.0269912127, 0.0260233153, -0.0264896508, 0.0640093163, -0.0289850403, -0.0006343053, 0.0053783199, 0.0034388455, 0.0380192362, -0.00810875, 0.0336979888, -0.0547488779, -0.0090413895, 0.0180475321, -0.0354902633, -0.0039711655, 0.0233116355, 0.0137203094, -0.0003338546, -0.0038165606, -0.0414691828, 0.0568558276, 0.0055007488, 0.0218227543, -0.0303440895, 0.0235744175, -0.0098227058, 0.0153214084, -0.0082048373, 0.0264628083, -0.0256134253, -0.0229640733, -0.0562727749, 0.0354781002, -0.0034118257, 0.0059243222, -0.0306427553, -0.0080644665, 0.0215862356, -0.0294368267, 0.0275310501, -0.0102740498, -0.0365580879, -0.0243043993, 0.0105952295, -0.0302075334, 0.0701798946, 0.1077346429, -0.0098688053, 0.0178144667, -0.0129304146, -0.026757028, -0.0545196496, -0.0199336987, 0.0212205406, 0.0551426895, -0.0219611935, -0.0197974406, 0.0165741257, -0.0822422728, 0.0092287436, -0.0069012404, 0.0424389392, 0.0137598822, 0.0136346323, 0.0409591794, -0.0321025103, -0.0230294745, -0.0779761523, 0.0019848065, 0.0327932872, -0.0198531281, 0.0053622392, -5.725198951e-33, 0.0205437597, -0.008468668, -0.0344490521, 0.0437840074, 0.025673287, 0.0215036403, -0.0004282128, -0.0066104382, -0.0005597002, -0.0547821112, -0.0522742309, 0.0034745219, 0.0172576159, 0.0564557947, -0.0326708108, -0.015656786, 0.0548286438, -0.0094654635, -0.0327468701, 0.0240213983, 0.0782258511, 0.056214489, 0.0491080321, -0.0611670427, 0.0422691405, -0.0017288045, -0.0377596729, 0.0203787629, -0.0303834081, 0.0545964353, -0.0252184346, -0.0042846338, -0.0021058207, -0.0183572527, -0.0061647077, 0.0245688669, -0.0552626029, -0.0174728073, -0.0175824165, -0.0046716016, 0.0140563706, -0.0702059492, 0.0303431526, -0.046652019, 0.0046014697, 0.0163979493, -0.024044374, 0.0148335714, -0.0592647791, -0.0169283245, 0.0238254126, 0.0066326344, -0.0159142315, -0.0248694159, 0.067638427, 0.0320135467, 0.0042658956, -0.0375888348, -0.0724941567, 0.0136716804, 0.0356801674, 0.0242578685, 0.0489427969, 0.0311998166, 0.0401834957, 0.0548342168, 0.0556075275, 0.0000552623, 0.0140280481, -0.0058499705, 0.0008714746, 0.0067940489, -0.0014892065, -0.0198875032, 0.0316588283, -0.0591060556, -0.0183634683, -0.0007547729, -0.021763321, 0.0099032996, 0.0516035818, 0.0317195021, -0.0251798127, 0.0031270543, -0.0691429004, -0.0232090615, -0.0414773673, 0.0157918073, 0.0087615959, 0.0426604673, -0.0490218885, -0.0155518148, 0.0129070496, -0.0225284044, -0.0504305661, 0.0443744436, 0.0583292954, -0.0357669778, -0.0210847612, -0.0147808334, -0.04866831, -0.019018691, 0.0293085091, -0.0327347778, 0.0206107814, -0.0213344619, 0.0753261074, 0.0196672995, -0.0525201671, -0.0188736394, -0.0260573607, 0.0528972782, 0.035925813, 0.041633822, 0.0589946359, -0.0137839261, -0.0015661673, 0.0189445224, 0.0222418979, 0.0133151347, -0.0444798358, 0.0296761803, -0.0138980029, -0.0130418399, 0.0062057828, -0.0408369601, 0.0465701558, 0.0088685481, 0.0680886358, 0.0115167098, 0.0185667258, -0.0125738755, 2.606e-7, -0.0520835593, -0.0107091404, 0.0221319906, -0.0431007184, 0.0189094022, 0.063625291, -0.0015902832, 0.0550723486, 0.0003230001, -0.0019414607, -0.0021879491, -0.0171754435, 0.0505755283, 0.0168514028, -0.095665358, -0.0369484313, -0.0427838936, 0.0141951377, -0.0465356074, -0.0049365154, -0.0011355317, 0.0996956229, 0.0561752729, -0.0322881974, -0.0279869251, -0.0453602299, 0.0192723405, -0.0619242713, -0.0333977677, -0.0288599283, 0.0472464487, 0.0867972299, 0.0279554483, -0.0276904684, -0.0476580001, 0.0408922881, -0.0399472676, 0.099282138, 0.0256111063, -0.0705794767, 0.0109198708, 0.0158985648, -0.0126706278, -0.0094432235, 0.0534336492, 0.0201350152, -0.0359616727, -0.0221350491, 0.0072437534, -0.0510991476, 0.0431139953, -0.0093616657, 0.0028495684, 0.0515641347, 0.0001512086, 0.01316234, -0.0044418676, -0.0878863186, -0.010834462, -0.059856236, -0.0339672752, -0.0017129423, 0.007371726, 0.0130974874, -0.0355494581, -0.0344192162, 0.0623551719, 2.138267387e-34, -0.0165567007, -0.0460104421, -0.0016608126, 0.0454163663, 0.020698268, -0.0148065984, 0.0329675861, 0.0233085845, -0.0030954357, -0.0603741296, -0.0317935087 ]
http://arxiv.org/abs/2406.14088v1
http://arxiv.org/pdf/2406.14088v1
ReaLHF: Optimized RLHF Training for Large Language Models through Parameter Reallocation
2024-06-20T08:04:07
2024-06-20T08:04:07
Zhiyu Mei, Wei Fu, Kaiwei Li, Guangju Wang, Huanchen Zhang, Yi Wu
cs.DC
cs.DC, cs.AI, cs.CL, cs.LG
Reinforcement Learning from Human Feedback (RLHF) stands as a pivotal technique in empowering large language model (LLM) applications. Since RLHF involves diverse computational workloads and intricate dependencies among multiple LLMs, directly adopting parallelization techniques from supervised training can result in sub-optimal performance. To overcome this limitation, we propose a novel approach named parameter ReaLlocation, which dynamically redistributes LLM parameters in the cluster and adapts parallelization strategies during training. Building upon this idea, we introduce ReaLHF, a pioneering system capable of automatically discovering and running efficient execution plans for RLHF training given the desired algorithmic and hardware configurations. ReaLHF formulates the execution plan for RLHF as an augmented dataflow graph. Based on this formulation, ReaLHF employs a tailored search algorithm with a lightweight cost estimator to discover an efficient execution plan. Subsequently, the runtime engine deploys the selected plan by effectively parallelizing computations and redistributing parameters. We evaluate ReaLHF on the LLaMA-2 models with up to $4\times70$ billion parameters and 128 GPUs. The experiment results showcase ReaLHF's substantial speedups of $2.0-10.6\times$ compared to baselines. Furthermore, the execution plans generated by ReaLHF exhibit an average of $26\%$ performance improvement over heuristic approaches based on Megatron-LM. The source code of ReaLHF is publicly available at https://github.com/openpsi-project/ReaLHF .
[ 0.0519744419, 0.0483810939, -0.0194672532, 0.0226274114, -0.0298838858, 0.0105693704, -0.0295097437, 0.0084912041, -0.0032082479, -0.0437028855, -0.0308928173, -0.0198817644, -0.0145056108, -0.0180357695, -0.0028487002, -0.0725874677, 0.034843754, -0.0592577532, -0.0024895305, -0.0108501902, -0.0121199582, 0.0063360287, -0.0128831444, 0.0216308385, 0.0172167867, 0.01411111, -0.028268829, 0.0287804119, 0.041863285, -0.0220873058, -0.0153100435, 0.0208278131, 0.0361048691, 0.0587764531, 0.00000248, -0.0252008867, -0.0241636522, -0.0082071787, -0.0106909527, 0.0469167493, 0.0914422721, -0.0035306518, -0.0334515125, 0.0551922061, -0.0013339501, -0.0248186979, 0.0387169197, 0.0146384714, 0.0512439795, 0.0720350966, -0.0030242677, -0.0105533339, 0.005243348, -0.0347872153, -0.0284094084, -0.0139503516, 0.0273172837, 0.0054330612, 0.0283306371, -0.0257664584, -0.0119800493, 0.0235767197, 0.0280376244, -0.0027031307, -0.014118067, 0.0194203723, -0.0367610157, -0.0027959018, -0.0258354209, 0.0594856478, -0.0517586283, -0.037726175, 0.0249394123, -0.0099859769, -0.0496985652, -0.0002400362, -0.0205290597, 0.060165152, -0.000899639, -0.0010798055, 0.0406608805, -0.0617950968, 0.0511719361, 0.0132721635, -0.009046806, 0.0941784754, 0.031411726, -0.001087053, 0.0076873321, -0.0053981952, -0.025325831, -0.0419274718, 0.0083822384, 0.035377495, -0.0695067942, 0.0416646004, -0.0474703424, -0.0307414867, 0.0147446133, -0.0426628962, 0.0506828912, 0.0408467352, 0.0412109978, 0.0204743296, -0.0409649238, 0.0373967104, -0.0543043055, 0.025142502, -0.0590285808, 0.0064149788, -0.0132037755, 0.0027726239, -0.0347010754, 0.0346801542, -0.0407367758, -0.0415166169, -0.0429357886, 0.0367080458, -0.0253133886, 0.0093169762, 0.0165451709, -0.0074561834, -0.0152939977, 0.0219636243, -0.0314779058, 0.0252441559, -0.0448584706, -0.0076918006, -0.0180464368, -0.0453858189, 0.004570656, 0.030146122, -0.0175954178, 0.0047871931, 0.0369262658, 0.0603130572, -0.0099937245, -0.0220444296, -0.0734354034, -0.0022453764, 0.0427512228, -0.0704586506, 0.0007271056, -0.0755847916, 0.0224048812, -0.0022110748, 0.0131480834, 0.0224310756, 0.0161168147, 0.0335733779, -0.0211371873, 0.0504148677, 0.0134561351, 0.0283872429, 0.0496042632, -0.0160573833, -0.010016894, 0.0896370634, 0.0362393707, 0.0457643233, 0.0037719761, 0.0021760371, 0.0069179516, 0.0379444137, 0.001764182, 0.0624529794, -0.0210320372, 0.0130479317, 0.0236688275, 0.0724635571, 0.0667538196, 0.0414553806, -0.0427567586, 0.0198847279, 0.0304772872, 0.0776768029, -0.0265872385, 0.0042713191, 0.0382767878, 0.0179160628, 0.0002396797, -0.0523011908, -0.0483684242, 0.0178480688, -0.0011478155, 0.0023424653, 0.0192353781, 0.0278716143, -0.0004043257, -0.0001779679, -0.0148062669, -0.0021242155, -0.0103825312, 0.0224275757, 0.051775448, -0.0164769329, -0.0752956644, 0.0183379035, 0.0651969239, -0.0410901457, -0.0285427272, -0.0406227484, 0.0308807977, 0.0829485208, 0.0477543287, -0.0365920179, -0.0060028308, -0.0051624002, 0.0027611633, 0.0315234289, 0.0424993336, 0.0139656793, -0.0153067904, -0.0478007272, -0.0117652742, 0.0103511736, -0.0063153114, 0.0620932728, 0.0557191595, -0.0048157349, -0.0226786397, 0.0349530391, -0.0904154629, 0.0306961481, -0.0148948394, -0.0146281151, 0.0164617505, 0.0041618468, 0.0499749556, -0.0307468921, -0.0105382791, -0.0110158026, 0.0420335531, -0.0159724541, -0.0097361282, -0.0424034782, -0.0333196148, -0.0145371016, 0.0253095217, 0.0137142325, 0.0321810134, 0.035363473, -0.0375587493, -0.040249154, 0.0315891802, -0.0263143424, 0.0690026581, 0.0082516521, 0.0408330895, -0.0186477546, -0.0062697548, -0.0417090505, 0.0308794249, -0.0036681755, -0.014970107, 0.0039822846, 0.0259220954, -0.013755233, -0.0623035617, 0.0185397454, 0.0153372725, 0.0140387407, 0.0196385682, -0.0232544597, 0.0068584299, -0.0099101895, 0.0012849041, -0.0545286573, 0.0323473364, -0.0199280716, 0.0104471846, 0.0238921791, -0.0023804405, -0.0059901248, -0.0260766391, 0.0106192976, 0.0424000062, 0.0105962986, 0.0045030662, 0.0004403789, 0.0153999953, -0.0497971661, -0.0299356524, -0.034692958, 0.003084078, 0.0302340407, -0.005826131, 0.0216773115, -0.0535619929, 0.0354689658, -0.0077924426, 0.0466043316, -0.0115692643, -0.0529774725, -0.0058056246, -0.0341243967, 0.0136789829, 0.0944529697, -0.028326815, 0.0093831047, 0.0633036569, 0.001885362, -0.0651326701, 0.0450248905, -0.0365603715, -0.0461861081, -0.0308620278, -0.0113106947, -0.0033987307, 0.0482676029, -0.0193052292, -0.0010727436, -0.0485203937, -0.0591694042, -0.0105989333, -0.0495977886, -0.0206211098, -0.0156893767, -0.0309473854, 0.0235348362, -0.0177013017, -0.088435851, 0.0541077219, -0.0376112163, -0.0037903651, -0.0401053503, -0.0464731194, -0.0410896353, 0.0069529419, 0.0306817535, 0.0394673161, -0.0749330744, 0.0009085831, -0.0111067826, 0.0220272914, 0.0013147709, -0.0168825965, 0.0540875047, -0.022080943, -0.0096045835, -0.0224647801, -0.0498713441, -0.0268767551, 0.0338327251, -0.0379127339, -0.00715162, 0.0446814857, -0.083324112, -0.017712798, 0.0021792713, 0.0306397229, 0.0713749751, -0.0352407359, -0.0104820095, -0.0255567078, -0.0146441059, 0.0485402048, -0.025207499, 0.0382835977, -0.0082046511, 0.0070702257, 0.0388390049, 0.0811789781, -0.0276024994, -0.0511753671, -0.0051748333, 0.0361921489, -0.0559468493, 0.0090002986, 0.0277932938, 0.0015234282, -0.0740559325, -0.0181783661, 0.0683919638, 0.0332455114, -0.0943633914, 0.0099304439, -0.0164495222, 0.0941348448, 0.0339585803, 0.0771584585, -0.0404886454, -0.0165528674, 0.0192060787, 0.0420511514, -0.0057774414, -0.0097355414, 0.0095966915, -0.1609376371, 0.0415493064, 0.0028641669, -0.044311557, -0.01043218, -0.0740759224, -0.0069065671, -0.0115976585, 0.0039936802, 0.0258980431, -0.0080705574, -0.0010131629, 0.0009350785, 0.0049427077, 0.0070904759, 0.0026037828, -0.0351239219, 0.0363898091, 0.0358979851, 0.0029612065, -0.0090721715, -0.0170141831, -0.0202946626, 0.0384951457, -0.0180518012, -0.0487309769, 0.0246776901, -0.015038128, -0.0035011361, -0.0151507314, 0.0246135313, -0.0462178737, -0.0172874946, 0.0378011912, 0.1148734242, -0.0125054866, 0.004306125, -0.00352039, -0.0157142654, 0.007312017, 0.0653425455, -0.0072422563, -0.0399154648, -0.0170053318, -0.0319717452, -0.0356659666, -0.0305036809, 0.0010537161, -0.0201956686, -0.0141029609, 0.0157217439, -0.0189860892, 0.0336794853, 0.0361489765, 0.0457799546, 0.0302592758, -0.0182182007, 0.0228364933, 0.00324, -0.060674917, 0.0223723389, -0.0468143225, 0.0323412009, -0.0928962156, -0.0163990427, 0.0306905434, -0.0207636263, 0.0003506399, 0.0438030809, -0.0852450654, -0.0680271387, -0.0116711613, 0.0535688698, 0.0133863119, 0.069983311, -0.0049460698, -0.0497922525, 0.0277589187, -0.0150374481, -0.0686935037, 0.0354379937, 0.0117928386, 0.007285588, 0.01206706, 0.015679948, -0.0203802567, -0.0015714525, 0.0221607294, 0.0078892633, -0.0223325584, -0.026257107, -0.0210533999, 0.0416893661, 0.0080442512, -0.0189814828, -0.0225368645, -0.0297702309, 0.0390129872, -0.0027446011, 0.0031185625, -0.0355779342, 0.0293213092, 0.0414965004, 0.0046388786, -0.0061156051, -0.0478551462, 0.0759918988, -0.0200550724, 0.0214631557, 0.0120913703, 0.0133299427, 0.0060629994, 0.0538190082, 0.0312485341, 0.0300423726, 0.0003795712, 0.0071481848, 0.052882418, -0.0216221139, 0.0481176898, 0.0250358414, -0.0378516018, -0.0412920825, -0.0078330822, -0.0381634459, -0.0868590623, -0.0206205342, 0.0174177065, 0.073111482, 0.03715837, 0.0467265062, -0.0395093635, -0.0291072894, 0.0097186798, -0.0111797694, -0.0549559966, -0.0038217246, 0.0371637456, 0.0437433571, -0.0276343115, 0.0375372656, 0.0188833475, 0.0218249746, 0.0576588847, 0.004830326, -0.0189520586, -0.0331733339, -0.0391108505, 0.0144226281, 0.0255079307, -0.0383724719, -0.0250270665, -0.0006194393, -0.0397336632, -0.0141755249, 0.0016194163, -0.0446710549, -0.0542655289, 0.0477797538, 0.0272088479, -0.0112385806, -0.0205702726, -0.0647480562, 0.0083173085, -0.026345307, -0.0251127034, 0.0098768435, -6.984277562e-33, -0.0118100718, -0.015269178, 0.0357210673, -0.0153548764, -0.0302264355, -0.0158879273, -0.0247961935, -0.0051924726, 0.0127883255, 0.0128633408, -0.0204210263, 0.0135417841, 0.0204190761, 0.0001099102, 0.0178674683, 0.0113556916, 0.0227649193, -0.0124548739, -0.042891629, 0.0354565755, 0.0233347453, 0.0193651933, 0.0421932787, -0.0179847572, -0.076349549, 0.0146313198, 0.000031928, 0.0692839324, -0.0618685968, 0.048767142, -0.0217105709, 0.0369226411, -0.0279720109, -0.0631852522, 0.0090667084, 0.0141294505, -0.0646447316, -0.0118528055, 0.0124958362, 0.0264938492, -0.0760515779, -0.0261815935, 0.0407351665, 0.0371371284, -0.0131793041, 0.0266631935, -0.0039002316, -0.0065877312, -0.0511214398, 0.0180227794, -0.0429839231, 0.0084695499, 0.0222786982, 0.042348288, 0.0525130183, -0.0114325695, -0.0213472154, 0.0323347785, -0.0641504452, 0.0096337963, 0.0311280582, 0.0315959789, 0.0584768876, 0.0720408633, 0.0421379656, 0.0414032117, 0.015946487, -0.0147474594, 0.0036309522, 0.0319537185, 0.0499422699, 0.0186732206, 0.0062989434, 0.0306044742, 0.0038070939, -0.0071881865, -0.0567016006, -0.045576375, 0.0308802687, 0.0347464196, 0.0211176053, 0.0261505712, -0.047949668, -0.0379568897, -0.0455449335, -0.022664018, -0.030123407, -0.029425215, 0.0363401771, 0.0363916494, -0.0158605948, -0.0094954502, 0.0114031062, -0.0181150548, 0.0140738953, 0.0315661244, -0.0257132128, 0.0371028297, -0.0024526808, 0.0244853701, -0.0745716915, -0.0482442603, -0.0228577293, -0.0445941612, 0.0150829758, -0.0027560778, 0.0213013496, 0.0472819619, -0.0825855881, 0.0219384134, -0.0353929177, 0.038469743, 0.0120886778, 0.0521709137, 0.0254184175, -0.0161801055, 0.0325642936, 0.0487450697, 0.0156999268, -0.0227543693, -0.0126642669, -0.0066189459, -0.0224593822, -0.0113124531, -0.022395324, 0.0210456271, -0.0530307628, -0.0060473778, 0.0539197586, -0.0787156075, -0.0217448194, 0.0067556878, 3.212e-7, -0.0091270814, 0.0645911321, -0.0091081867, 0.0269781779, -0.0012617905, 0.0199849736, 0.0040781796, -0.0184207149, 0.0248547327, 0.0177393891, 0.0378026776, 0.0509428419, 0.0481067337, 0.0041143778, -0.0940150619, -0.0216802154, -0.0731898025, 0.0190085452, -0.046850957, -0.0389696397, -0.044281967, 0.114742361, 0.0556619428, -0.0249663945, 0.0109431213, 0.0085815992, 0.0068984833, -0.0468471199, -0.0107311532, 0.0301440991, -0.0229599085, 0.0443605743, -0.0401400477, -0.0058577005, -0.0113089206, 0.018822588, -0.046614591, 0.0945635363, 0.0102161681, -0.0252314378, 0.0259850044, -0.0233723763, -0.0048498684, -0.0642859638, 0.038318526, -0.0055835284, 0.0081693698, -0.0336546116, 0.0421938337, -0.0521766245, 0.0149971824, -0.0397568531, 0.0390348025, 0.038557522, 0.0117204571, -0.0159418192, -0.0286726002, -0.0622102208, -0.0182987619, -0.0002648215, -0.038788639, -0.0292015709, -0.0847231522, 0.031062426, -0.0091634374, -0.047755152, 0.0033220339, 3.420281959e-34, 0.049269814, -0.0233853813, 0.0048700077, 0.0257752612, 0.0270935819, 0.0066429842, -0.0522632226, 0.0185430907, 0.0241321307, -0.0902436525, -0.0247273054 ]
http://arxiv.org/abs/2406.14075v1
http://arxiv.org/pdf/2406.14075v1
EXCEEDS: Extracting Complex Events as Connecting the Dots to Graphs in Scientific Domain
2024-06-20T07:50:37
2024-06-20T07:50:37
Yi-Fan Lu, Xian-Ling Mao, Bo Wang, Xiao Liu, Heyan Huang
cs.CL
cs.CL
It is crucial to utilize events to understand a specific domain. There are lots of research on event extraction in many domains such as news, finance and biology domain. However, scientific domain still lacks event extraction research, including comprehensive datasets and corresponding methods. Compared to other domains, scientific domain presents two characteristics: denser nuggets and more complex events. To solve the above problem, considering these two characteristics, we first construct SciEvents, a large-scale multi-event document-level dataset with a schema tailored for scientific domain. It has 2,508 documents and 24,381 events under refined annotation and quality control. Then, we propose EXCEEDS, a novel end-to-end scientific event extraction framework by storing dense nuggets in a grid matrix and simplifying complex event extraction into a dot construction and connection task. Experimental results demonstrate state-of-the-art performances of EXCEEDS on SciEvents. Additionally, we release SciEvents and EXCEEDS on GitHub.
[ -0.0252390821, 0.0401951335, 0.0096714906, 0.0428355969, 0.0011921389, 0.0181966852, -0.0267109834, 0.0452798493, 0.0544132628, 0.0120711736, 0.0151119716, 0.0342633873, -0.0678375438, 0.1123277545, -0.0220733956, -0.0722601116, 0.0411672294, 0.007285045, 0.0193094537, 0.02855785, -0.0008097145, 0.0090777464, -0.0259190593, -0.0079665128, -0.0172052719, 0.011996733, 0.0024145781, -0.0319462568, 0.0699541941, -0.076626718, -0.0224329904, -0.0204925146, 0.0585030913, 0.0241290778, 0.0000017568, -0.0493144169, -0.0338396318, -0.0144161899, -0.0068405499, 0.0504767559, -0.0379904136, -0.0603656061, 0.0150085045, -0.0627128258, -0.0234704763, -0.0464028455, 0.0193052422, 0.0573758706, -0.0115446998, 0.0459596775, -0.0387051329, -0.0076637487, 0.0758790076, -0.0122809401, -0.0079288278, -0.0522315428, 0.0251379963, 0.0066132951, 0.0367136709, 0.0213045273, 0.0177886598, 0.0117241191, 0.0002574596, -0.0209579207, 0.0076911952, 0.0650619641, -0.0090792887, 0.0091901775, -0.0152532849, 0.0682150424, 0.0396432281, -0.0065877503, 0.0829095021, -0.0103585413, -0.0280757658, 0.0226738323, -0.0585711524, -0.0068812184, 0.0034668264, 0.0260294713, 0.0117370458, 0.015417045, -0.0238747932, 0.0222967472, 0.0223500468, 0.0244035218, 0.0004107401, -0.0011507865, -0.0465436131, 0.012561555, 0.0083197877, -0.0441704504, 0.0518555865, 0.0168660115, -0.0286639631, -0.0000117844, -0.0248351879, 0.0235048495, 0.0049782814, -0.0412455089, -0.0121583017, 0.0050738738, 0.0217243098, 0.0816159546, 0.0395588577, -0.0203637816, -0.0355133228, 0.0149242794, 0.0224897731, 0.0124226399, -0.02840879, 0.0395947322, 0.0048473878, 0.0237508211, -0.0451665074, -0.00126883, -0.0084528234, -0.0106695192, 0.020000143, 0.0102271996, -0.0541713834, -0.028590491, -0.0569239669, -0.0321905315, 0.0094518736, 0.0284329373, -0.0849470794, -0.0103459703, -0.0000835867, -0.0191411935, -0.0462900959, 0.0104648778, 0.0706209615, -0.0145602506, -0.0281777922, 0.0214804523, 0.0217804871, -0.0320756845, -0.0247541815, -0.0521167666, 0.0165087692, -0.0224205144, -0.0089472486, -0.0269315932, 0.0520978421, -0.0266675018, -0.0167457033, -0.0251687448, -0.0044975546, -0.0267107282, -0.034821067, 0.009102541, -0.0632398129, -0.0102218734, 0.0321154855, -0.0004839635, -0.0079242252, 0.0248291641, 0.0478191003, 0.0165725052, 0.0641077086, 0.0099756122, 0.0054116077, 0.0073083164, 0.0354393236, -0.0104115279, 0.0303638019, 0.0177858733, -0.0273332931, -0.0082881832, 0.0386262797, -0.0344104767, -0.0375615098, -0.0229512658, 0.0011541287, 0.0281229764, -0.0462728478, -0.0453939587, -0.0181450583, -0.0329787806, 0.0015328212, 0.00960878, 0.0140714692, 0.0164528005, 0.0196890831, -0.0076626954, 0.0149223479, -0.0222563632, 0.0108464472, -0.0020574506, 0.0156300422, 0.0174260736, -0.0123423217, -0.0180694554, 0.0680745319, -0.0155766224, 0.0025007359, 0.0127454577, 0.0495716035, -0.0290191285, 0.0287078619, 0.0200612266, 0.0207986403, 0.0018799439, 0.0417313799, -0.0824895203, -0.0695770681, 0.0157548357, 0.0666321963, 0.0277095642, 0.0321365409, -0.0394820683, 0.0092362417, 0.0046990882, -0.0192582216, -0.001557041, 0.0038924571, -0.0237337165, 0.033859998, 0.0146696577, -0.0192902442, 0.0125904623, -0.0289657116, 0.027385056, -0.0480317995, -0.0231884066, -0.0403220467, -0.0378973037, 0.0008343276, -0.0060266615, -0.018195549, 0.0134556983, 0.0833020508, -0.0576403923, -0.0097962851, 0.01571442, 0.0344832763, -0.0226002112, 0.0315431133, -0.0191236008, -0.0215800349, 0.0368852876, -0.0411803238, -0.0266953837, 0.003397407, 0.009113987, -0.0200855117, 0.0225370806, -0.0169097334, 0.0063519697, 0.0030181133, -0.0242611244, 0.0381326303, -0.0033169985, 0.004252438, -0.0309828222, -0.0384013876, 0.0111954622, -0.0667106509, 0.002881991, 0.0474104472, 0.0004055593, -0.0393666252, 0.0421386436, -0.0618851036, -0.0657012612, 0.0275407974, -0.0187465232, 0.0473312624, 0.0161456093, 0.0557168499, 0.0189637952, 0.0046980199, -0.0064645763, 0.0020066171, 0.0124048609, -0.0566455349, -0.0277932789, 0.0037986196, 0.0777586401, 0.0333649181, -0.0023158202, -0.0547699295, -0.0135943843, -0.0633098632, 0.0606379248, 0.0409955569, -0.0645303726, -0.0137742423, 0.0113077071, 0.0059393127, -0.0072662467, -0.0170137566, 0.0250037722, 0.0105704498, -0.048606094, 0.0059403777, 0.0203003418, 0.0088670161, 0.0535633229, -0.0187776275, -0.061011482, -0.0313605852, 0.0198179539, -0.0691730231, 0.0839005485, 0.014708396, 0.0254443325, 0.0476678088, 0.0041601108, -0.0157906376, 0.0147537421, -0.0167322159, 0.0034883036, -0.0324513763, 0.0228760224, 0.0043254425, -0.0134460339, -0.0277016163, 0.0419261493, -0.0090018529, -0.0148550384, 0.0414524041, 0.0362743102, 0.0015992384, -0.0199783593, 0.0124273216, -0.0591348186, 0.0508895814, -0.0065580918, 0.007318615, -0.0334376059, -0.0283353887, 0.0301136151, 0.0166565776, -0.0097509986, -0.0084021138, 0.0268450044, -0.0265244879, 0.0428145975, -0.0152068259, -0.0202721655, -0.002117804, -0.0043868516, 0.0335719101, 0.0222741198, 0.0074134264, -0.0167418141, -0.05288513, -0.0048729428, -0.0020567954, 0.0390413143, -0.0157743953, -0.0137218088, 0.0034737978, 0.0754178464, 0.0516176485, 0.007497123, 0.0061408719, 0.0043083499, -0.0370106176, 0.0868990943, 0.0325898118, 0.0045964452, -0.0020117601, -0.0027182521, -0.001564591, -0.04428396, 0.0317779183, -0.0355093181, 0.0669023544, -0.0834300742, 0.0075368872, 0.057833463, 0.040217001, -0.0030290748, 0.0170340687, 0.036236424, 0.0145390341, -0.004608369, 0.0198432934, -0.0676174015, 0.0056597465, -0.0278790426, -0.0032245403, 0.0325884297, -0.085262239, -0.0002895271, -0.014848059, 0.0509914719, 0.0041964315, -0.0367880799, -0.0363026932, -0.0948844701, 0.0025136292, -0.0216928739, -0.0819408298, 0.0225707237, 0.0019783508, -0.0148250172, -0.0000022806, -0.0421621725, -0.0861045495, 0.0101132151, -0.0328585766, 0.0118461875, -0.03518961, 0.0593723692, -0.0156774838, 0.0481963083, 0.0065384465, -0.0069379951, -0.0317775048, -0.0102053462, 0.0607901476, 0.0405605584, -0.0270915329, -0.0255785882, 0.0708453879, -0.0176286511, -0.0638863295, 0.0107636126, 0.1178999841, 0.0133254463, -0.0103484336, -0.0534295291, -0.0206253882, 0.003623409, 0.051371716, 0.0050489716, 0.0329695642, -0.0474635325, 0.0159712881, 0.0156631824, -0.0445464365, -0.0041706502, -0.0217976514, -0.0578747019, -0.0652884915, -0.0800618455, -0.0375842489, 0.0210046452, 0.0232427046, -0.0627384484, -0.0358947031, -0.0002174574, -0.0055790115, -0.0265603792, 0.0643562973, -0.0340585262, 0.0066963611, 0.016026035, -0.0268138684, 0.0218931437, 0.081646964, -0.0398802124, 0.063424781, -0.0258904584, -0.0492961332, -0.0376377217, -0.0396251827, 0.0131147215, 0.0078078704, 0.021561604, -0.0130458111, -0.0133480486, 0.0479349755, -0.0248802584, -0.0234454162, 0.0034199723, -0.0244798027, -0.0289823022, 0.0011192407, -0.0026487501, 0.0548663102, -0.0471055172, 0.065441981, -0.0900970921, -0.0088397553, -0.0014392268, 0.0436310247, 0.0634897649, -0.0015914132, -0.0554482527, -0.0686526969, -0.0314737856, -0.0285508931, 0.0245865602, -0.0149628269, 0.0235670228, -0.0398522951, -0.0166074503, -0.0256887544, 0.0694031045, -0.0271436814, -0.0009284631, -0.0771991611, 0.0141126988, 0.0441879891, -0.0303359088, 0.009326105, -0.0053199767, -0.0227536745, -0.0110536525, -0.0287316646, 0.0214658659, -0.0500382856, -0.0262167621, 0.0647812635, 0.0231678952, -0.0041952468, -0.0261889957, -0.0756362081, 0.0561836883, -0.0076503525, 0.0205616523, 0.0406429581, 0.0055479873, 0.0461457036, -0.0280733425, -0.0170081463, -0.0129051646, 0.0370438546, 0.0013507829, 0.0331353918, 0.0305625983, 0.0364856049, -0.043534033, -0.0129523398, 0.0605827197, -0.0157146677, 0.0636616349, 0.019557042, -0.0207858253, -0.0270731747, -0.0177009255, -0.0007151212, 0.0060579316, 0.0153213348, -0.0108981254, -0.057109274, 0.037242461, 0.0673909932, 0.00228307, -0.0486576296, -0.0154720983, 0.0056007849, 0.0226284154, 0.030175129, -0.0043152939, 0.0037833385, 0.0369583741, -0.0160407238, -0.0696353614, -0.0163783897, -5.93235632e-33, -0.006577848, -0.0298181046, 0.0032357834, 0.1150954738, -0.0174800418, 0.0326131098, -0.0465836525, -0.0343020931, 0.0225755852, 0.0204046387, 0.0026297043, -0.0162948649, -0.0007304495, -0.0456224158, 0.0188357159, -0.0197273884, 0.0258281194, -0.005360228, 0.00783851, 0.0438708179, 0.073354274, 0.0477482863, 0.0453197099, -0.0993394479, 0.0078838635, 0.0200102087, 0.0310279354, -0.026880797, 0.0832178071, 0.0383282267, -0.0266067069, -0.0163867809, 0.0241270289, -0.0717156604, -0.0163268354, -0.0158202145, -0.0764139593, -0.0116467699, -0.028934991, -0.0336764269, 0.0025433279, -0.0298754871, 0.0047019441, -0.0092355879, 0.026070701, -0.0434066392, 0.0229641311, -0.0084009403, -0.0498089045, -0.0681716576, -0.0379789546, 0.0736150593, -0.0289812014, 0.0373588726, 0.0265397727, -0.0202351715, 0.024049703, 0.0688446686, -0.0010809444, 0.0485037714, -0.0021526397, 0.014135493, -0.02465491, -0.0503984205, 0.0033104471, 0.064784579, 0.0011962677, 0.0020661156, -0.0043633254, 0.0682048798, -0.004642297, 0.0544543639, -0.0010669249, 0.0330044292, 0.0421919562, 0.0092207929, -0.1141242087, 0.075237304, 0.0178436358, -0.0375043452, -0.0523917787, 0.0542812832, -0.0215606447, 0.0137068555, 0.0316483639, 0.0634376556, 0.0058763386, 0.0187063273, 0.0013847132, -0.0044521755, -0.0297698583, 0.1147183776, 0.0081155375, -0.0004032113, -0.0701626092, 0.0177558009, -0.0132470168, 0.025225373, -0.0010330396, -0.0333807543, -0.0426541679, -0.0631372556, 0.0009787824, -0.0150966048, 0.0268495865, -0.009318959, 0.0297796205, -0.0078910971, -0.0235062502, 0.0080268187, 0.0013912603, -0.0269534942, -0.0032755088, -0.0226188619, 0.0149001544, -0.0028766994, 0.0215699896, 0.0578473024, 0.04984859, 0.0689159781, 0.0177250206, 0.0268019661, -0.0044582211, 0.0369784795, 0.0140312761, -0.0268352311, -0.0325960442, 0.0138927633, -0.0102348533, -0.032858707, -0.0175362322, 0.0055528805, 2.458e-7, 0.0523848236, 0.0535934716, 0.0483945571, 0.0629443154, 0.0224607233, -0.0053682071, -0.019137647, 0.0255201142, -0.0349441953, 0.0257423688, -0.0445973687, -0.0010574762, 0.0147386184, 0.0799667388, -0.0613259077, -0.0539317541, -0.0461196229, -0.0371739641, -0.0779561624, -0.0499607548, 0.0632476211, -0.0027340613, 0.032219328, 0.0083060367, 0.0083593829, -0.0351680852, 0.0496543385, -0.0146005051, -0.0302659273, 0.0617399774, -0.0104074748, 0.029927386, -0.0329313539, 0.0146519085, -0.0450508595, 0.012548116, 0.0056561534, 0.0734515935, 0.0093857851, 0.037313465, 0.0552527606, -0.0223573353, -0.0050636968, 0.0250273664, 0.049708318, -0.0642826781, -0.0353982039, 0.0033048892, -0.0096247653, 0.0328573361, -0.0355335847, -0.0115409857, -0.0117349401, 0.0460316464, -0.0200907327, -0.0012123859, 0.0074002226, -0.0498847067, 0.0101318443, 0.0589383394, -0.0128751388, -0.0298327338, 0.0101391412, -0.0329697393, -0.0273306537, -0.0028602711, -0.0277537927, 2.244145908e-34, 0.0274236202, 0.0323966816, -0.039083425, 0.0250457041, 0.0183697212, -0.0409244932, -0.0202515647, -0.0042371135, 0.0111239813, -0.0248866901, 0.0132073145 ]
http://arxiv.org/abs/2406.14051v1
http://arxiv.org/pdf/2406.14051v1
How Many Parameters Does it Take to Change a Light Bulb? Evaluating Performance in Self-Play of Conversational Games as a Function of Model Characteristics
2024-06-20T07:17:09
2024-06-20T07:17:09
Nidhir Bhavsar, Jonathan Jordan, Sherzod Hakimov, David Schlangen
cs.CL
cs.CL, cs.AI
What makes a good Large Language Model (LLM)? That it performs well on the relevant benchmarks -- which hopefully measure, with some validity, the presence of capabilities that are also challenged in real application. But what makes the model perform well? What gives a model its abilities? We take a recently introduced type of benchmark that is meant to challenge capabilities in a goal-directed, agentive context through self-play of conversational games, and analyse how performance develops as a function of model characteristics like number of parameters, or type of training. We find that while there is a clear relationship between number of parameters and performance, there is still a wide spread of performance points within a given size bracket, which is to be accounted for by training parameters such as fine-tuning data quality and method. From a more practical angle, we also find a certain degree of unpredictability about performance across access methods, possible due to unexposed sampling parameters, and a, very welcome, performance stability against at least moderate weight quantisation during inference.
[ 0.0290126503, 0.0677731335, -0.0373549834, 0.0662331507, -0.0233430751, -0.0031051505, -0.0032158718, -0.0032363243, -0.0088739339, -0.0341116674, -0.0726250187, -0.028956918, 0.0091369674, 0.0165257864, 0.0445891581, -0.0232386459, 0.0163880289, -0.0576898642, 0.0038509993, -0.0404929034, -0.0562846772, -0.0673412383, -0.0160013214, 0.0450004414, 0.0184138361, 0.0148343807, -0.0152653437, 0.0019958464, -0.0275971517, -0.0193246752, -0.0191255081, 0.0370172486, 0.0061636409, 0.0318057351, 0.0000019409, -0.0489181243, 0.0310881101, -0.0313678347, -0.0427137315, 0.039385166, 0.0529486239, 0.0076924684, -0.0136831338, 0.0170947108, -0.0435515121, -0.0252043512, 0.0342498906, -0.0022235543, 0.0396447293, 0.0985836163, 0.0138458982, -0.0174792316, -0.0022842153, -0.0461570881, -0.0217128042, -0.0674028024, 0.0102381455, 0.0170013774, 0.0414857268, 0.0267618597, -0.0396222882, 0.0210531913, 0.0184215251, -0.0076026912, -0.0397743173, 0.0420097522, -0.0364724025, 0.0223892108, -0.0184771903, 0.0535750836, -0.0013765283, 0.0143424859, 0.0209059678, 0.0031667189, 0.0295775458, -0.0139768906, -0.0355061702, 0.0398926958, 0.0426326655, 0.0128772678, -0.0107722338, 0.0340836234, 0.0455192253, 0.0085176826, -0.0059848898, 0.0649591982, -0.0130079454, -0.0297699012, 0.0029617101, 0.0059789973, -0.0115793021, -0.0628767833, -0.0781427175, 0.0172948334, -0.0482094437, 0.020362094, -0.0199482273, 0.0403191745, 0.0157388896, -0.0383341685, 0.0524043031, 0.0317375958, 0.0367094725, 0.0467291996, 0.0386132561, 0.0352823175, -0.001264756, 0.0280266926, -0.0196034797, 0.0098166233, -0.0410105549, -0.0162140895, -0.0550028346, 0.0350359082, -0.0201487783, -0.0540775172, -0.0435509011, 0.0186542459, 0.0073038088, 0.0273086466, -0.0215733219, -0.0139738163, -0.0306161251, -0.0033175298, -0.0473700315, 0.010596293, -0.0516024195, 0.0266764499, 0.0192546044, -0.101569809, -0.0250560176, -0.017820362, -0.0116280355, -0.046107769, 0.0147328787, 0.0747831166, 0.0065062363, -0.0641409606, 0.0148588475, -0.0057852012, -0.0352978855, -0.1155224741, -0.0086084167, -0.0409559235, 0.0199262965, -0.0142680965, 0.0009939478, -0.0357586034, 0.0044006789, -0.0402745269, -0.0035251526, 0.0618687682, 0.0287815835, 0.0126333153, 0.0091621904, 0.0235921498, -0.0168417376, 0.1143222079, 0.0526915342, 0.0003558129, 0.0306020696, -0.0249943472, 0.0208556224, 0.0512367189, 0.0130501045, -0.0002408041, 0.0147093916, 0.0034166072, 0.0357250236, 0.0713499486, 0.0206459016, 0.0383304283, -0.0738711581, -0.0421762541, 0.0945315585, 0.0479975082, 0.0325049013, -0.0116042346, 0.01795041, 0.0330762081, 0.0320947543, 0.0142695056, -0.0443103388, 0.0020825374, 0.0117591117, 0.0110296384, 0.0400791094, 0.0160977114, -0.0414166227, -0.0520822071, 0.0137556503, -0.0088623045, 0.016299013, 0.012094208, 0.0448240787, -0.0213577282, -0.0279664118, 0.0205435846, 0.0269504152, -0.0257766731, -0.0193400718, -0.0819123536, 0.0060312124, 0.0264298059, 0.0452681668, -0.0113514001, 0.0005341842, 0.0180518646, 0.0157234818, 0.0457061939, 0.0603582226, 0.008183822, 0.072005026, -0.0083915628, -0.0055425535, -0.0627355799, 0.0141262794, 0.0481290668, -0.0246873628, 0.00063339, -0.0169747956, -0.0054389718, -0.0027979985, 0.0163701195, -0.0191838089, -0.0652822852, -0.001805866, -0.0277120303, 0.0471716486, -0.0245828908, -0.0215088967, 0.0090729799, 0.0104157608, -0.0134953968, 0.0177227035, 0.0144746657, -0.0414132811, -0.0266649108, -0.0018006319, 0.0011310095, 0.0253332909, 0.0417991057, -0.0013681254, -0.0335411541, 0.0695423707, -0.0372475795, 0.064609006, -0.0103227105, 0.0304759964, -0.0145764006, 0.0332919359, 0.0010112948, 0.0309864134, 0.01321771, 0.0045618745, -0.0295246523, 0.0347579308, -0.0081995185, -0.0965338275, -0.0185079332, 0.0395945124, -0.0259316247, 0.0036282816, 0.0171343572, -0.0298599899, -0.0404199064, -0.0439892225, -0.1173058003, 0.0027813509, -0.022224104, -0.0107461242, 0.0102809835, -0.015201713, -0.0263011809, 0.0003995987, 0.000977674, -0.0292977542, 0.0301378332, 0.0426598191, 0.0112526231, 0.0591170006, -0.0314845182, -0.0437423773, 0.0054428652, -0.0009688173, 0.0543115176, 0.0006448595, 0.0159018729, -0.0452278629, 0.017075913, -0.0155220916, 0.0478019863, -0.0630415827, -0.0600239486, 0.0404104106, 0.0051301457, 0.0267888643, 0.110483259, -0.0028956076, 0.0320233367, 0.0564578064, -0.0481905192, -0.0409099683, 0.0358700901, -0.0261853002, -0.0466080047, -0.1043508723, -0.0449647158, 0.0281169489, 0.0926902816, -0.008381661, 0.0173658635, -0.0479380898, 0.0590525679, -0.0047698002, -0.0831246823, -0.0234638005, 0.0134428367, -0.0239540953, 0.0133638317, -0.0114167808, -0.0206361301, 0.0381723046, -0.0389673747, -0.0276935957, 0.0088488897, -0.000524057, -0.0142162321, 0.085951075, 0.0348344222, -0.0107876183, 0.0039925599, -0.0136465542, -0.0254656654, -0.0403865203, 0.060990084, -0.0204004217, 0.0152610308, -0.0661960468, 0.0275690407, 0.0005595689, -0.0706209987, -0.0144852065, -0.0255212113, -0.0214042421, -0.0139165996, 0.0275140703, -0.0192304235, -0.0374254063, 0.0197607372, 0.004804844, 0.023132598, -0.0188606009, -0.0225083549, -0.0144495545, -0.0034771829, 0.0472126193, 0.0361572169, 0.0212658681, -0.0372753516, 0.0800232664, 0.0263790675, -0.0084101614, 0.0194616783, -0.0287449714, 0.018221708, -0.0041209762, -0.0132054035, -0.0198833421, 0.0501512326, 0.0719611943, -0.0474377312, -0.0432682857, 0.0910775885, -0.0003174407, 0.0087687569, 0.0112619642, 0.0067961845, 0.0204381216, 0.007714076, 0.0234266371, -0.0579396114, -0.0118140262, 0.0166541189, 0.0210943799, -0.0309888832, -0.0414057858, -0.0147701995, -0.1501725167, 0.0314422995, 0.0030794903, -0.029669378, 0.0070817946, -0.0243440084, -0.0072291675, -0.0619838536, 0.0383086763, 0.0144923814, -0.0120469444, -0.0236516446, 0.0155202299, -0.0124994917, -0.0555706583, 0.0189042836, -0.0353726409, 0.0989128202, 0.0121250469, 0.0364103056, -0.014453602, 0.0012600247, 0.0212034062, -0.0092859939, -0.0246008914, 0.0091137225, 0.0614733957, -0.0076623051, 0.0010949493, 0.0287646912, 0.0154939033, 0.0425125249, 0.001119168, 0.0112866741, -0.0047169402, -0.0063993069, -0.0471295454, 0.0358319283, 0.0039442517, 0.0227656066, 0.0802035928, 0.010620947, -0.0408153273, -0.0237598401, -0.0056473725, -0.0255482644, -0.0194505416, -0.0511441529, -0.0144907068, 0.0341601186, 0.0043296772, -0.0422825217, -0.0540719479, -0.0078270454, 0.0382050648, -0.0190626532, 0.0371649265, -0.0056447415, 0.021735033, 0.0189544931, 0.0161096454, -0.0394774973, -0.0072941864, -0.0624339916, -0.0374810174, 0.0353519022, -0.0341583565, -0.0066071148, -0.0066766599, -0.0864231661, -0.0738365874, 0.0303271879, 0.0713473484, 0.0353668816, 0.0416019112, 0.0152639812, -0.0677393079, -0.0058491742, 0.0090713715, -0.038211517, 0.0512772053, 0.0330154896, 0.0100527378, 0.0121389944, 0.0415246338, -0.0150139695, 0.0328288972, 0.0203465223, 0.0636248365, -0.051195126, -0.031053843, -0.0047174334, -0.0282754079, 0.049804505, 0.0169841219, -0.0099767875, 0.018494729, 0.0107072964, -0.0488085561, 0.0144351069, -0.0426661633, -0.036373347, 0.0268568378, 0.0597376786, 0.0110569084, -0.0232843589, -0.0150870103, 0.0062604011, 0.0025842253, -0.0128038162, 0.0052906238, -0.0208693817, 0.0265720673, 0.020221293, 0.0046786568, 0.0561368652, 0.0211167186, 0.0589988939, 0.0340946764, 0.0259920359, 0.0318909325, -0.035262011, 0.0009089728, 0.0148032289, -0.0708963946, -0.0635296032, 0.0186983738, 0.0408080183, 0.0262605064, 0.0026054853, 0.0149099529, -0.0413627028, 0.018483432, -0.0185031779, 0.0024807618, -0.0037757268, -0.0455138013, 0.0328234658, 0.0394541621, -0.0312290024, 0.0141909467, 0.0640113503, 0.0501432233, 0.0506264232, 0.0054815556, 0.0298971459, -0.0385461859, -0.0456527583, -0.0047073495, 0.0065716947, -0.0270014517, 0.0058546504, -0.0386351906, -0.0531145521, -0.0128358463, 0.0508773103, 0.0194596369, -0.0208321847, 0.0322173201, 0.0542876907, -0.0025649611, -0.0083360253, -0.0435199589, -0.0090766307, -0.0309576504, 0.0147883315, -0.0089847455, -6.382008623e-33, -0.0323943272, -0.0051165675, 0.0606360771, -0.0219444055, 0.0043162443, -0.000290943, -0.0460441038, 0.0316902511, -0.0335847735, -0.0207011383, -0.0266353358, -0.0014597125, 0.0269528553, 0.0193331018, -0.0006763142, -0.0332260877, 0.0303467251, 0.0064632138, -0.0636140928, -0.0119687403, -0.0260496177, 0.0097469278, 0.0356421433, -0.0086593637, -0.0029408154, -0.0100380089, -0.0207360871, 0.0360698141, 0.0068263276, 0.0414305739, -0.0147553962, 0.0144036962, -0.0017810423, -0.0300969593, 0.0019031189, 0.0066569778, -0.0190418828, -0.0384811945, 0.0329378843, 0.0131408265, -0.014783673, -0.0046654711, 0.015132064, -0.0032522187, -0.0694171935, 0.0068166838, 0.0009112757, -0.0122908773, -0.0292922836, 0.0118484022, -0.0356428847, 0.010891241, -0.0116905356, -0.0156048788, 0.0196249932, 0.0009442875, -0.0081173051, -0.0174315348, -0.0256498326, 0.0270471387, 0.0600220971, 0.0475177169, 0.022043597, 0.0616956651, 0.0673970431, 0.0404473543, 0.051619336, 0.0380763672, -0.0199149996, -0.03769603, 0.0486553647, 0.0502812825, 0.029613629, 0.0294384956, 0.0025072133, 0.00651955, -0.0589510798, -0.0221081395, 0.0691483393, 0.0237069782, 0.0052407826, 0.0220764149, -0.05339754, -0.0298166107, -0.0528401881, -0.0118610905, -0.0092137894, -0.0440651961, 0.031756863, 0.0318917334, 0.0035791709, -0.0060976385, 0.0481232628, -0.0419339053, -0.0596537553, -0.0140603743, 0.0027788461, 0.0383995846, -0.015841864, 0.0007343579, -0.0552193299, -0.0367648192, 0.0075428113, 0.0210118517, 0.0163111258, -0.0063824081, -0.0149494978, 0.0416938327, -0.0437771901, -0.0203044843, -0.0216017403, 0.0492643751, 0.0029227391, -0.0213661622, 0.0438244641, -0.0318299755, -0.0184390694, 0.0399549417, -0.0209789239, -0.0193713922, -0.0509302542, 0.0218314435, -0.0104721813, 0.0114720277, -0.0167842451, 0.0002947112, -0.0612428002, 0.0241744909, 0.0395470522, -0.0263015646, -0.0295704585, -0.0322269946, 2.809e-7, -0.0055151116, 0.047511667, -0.0163778495, 0.0321730636, -0.0055252933, 0.0388698392, -0.0597377755, 0.0124705862, 0.0138239665, -0.0030004203, 0.0310803298, 0.0692573041, 0.0505018272, 0.0054684444, -0.0794146657, -0.0128315538, -0.0733542815, 0.0007845426, -0.0336516462, -0.0486191064, -0.0034987896, 0.0764868483, 0.0221700259, 0.0160847586, 0.0071727438, -0.0719863251, 0.0608507618, -0.0820037797, -0.005317729, 0.0448400453, -0.0011618992, 0.0224002078, -0.0164564028, -0.0143328691, 0.0232625045, 0.0463242196, -0.0476764627, 0.0607718341, 0.0362077802, -0.031526316, -0.0084956093, -0.0113553647, -0.0041510761, -0.0252772365, 0.0727465451, -0.074676469, -0.0619454123, -0.0225269254, 0.0108105242, -0.0252777301, 0.0256260503, -0.0358094238, -0.041216433, 0.0007518915, 0.0264100954, -0.0260107517, 0.0390804783, -0.069659628, -0.007227439, -0.0096745761, -0.042774383, -0.0883268192, -0.0572316833, 0.0029833836, 0.0077969837, -0.0484660044, 0.0097330352, 2.216299778e-34, 0.0549857467, -0.0134239001, 0.0378147922, -0.0073859054, 0.0483879223, 0.0116342343, 0.0137816295, 0.0161537062, 0.049355302, -0.0662259087, -0.0012384555 ]
http://arxiv.org/abs/2406.14048v1
http://arxiv.org/pdf/2406.14048v1
Prompt Injection Attacks in Defended Systems
2024-06-20T07:13:25
2024-06-20T07:13:25
Daniil Khomsky, Narek Maloyan, Bulat Nutfullin
cs.CL
cs.CL
Large language models play a crucial role in modern natural language processing technologies. However, their extensive use also introduces potential security risks, such as the possibility of black-box attacks. These attacks can embed hidden malicious features into the model, leading to adverse consequences during its deployment. This paper investigates methods for black-box attacks on large language models with a three-tiered defense mechanism. It analyzes the challenges and significance of these attacks, highlighting their potential implications for language processing system security. Existing attack and defense methods are examined, evaluating their effectiveness and applicability across various scenarios. Special attention is given to the detection algorithm for black-box attacks, identifying hazardous vulnerabilities in language models and retrieving sensitive information. This research presents a methodology for vulnerability detection and the development of defensive strategies against black-box attacks on large language models.
[ 0.0484716371, 0.0392989404, 0.001808233, 0.0632185191, -0.052601207, -0.0145269856, 0.0253852401, 0.0014131366, 0.0194030236, -0.0795949847, 0.0295830537, -0.0050775073, 0.0098780179, 0.0688129514, 0.0622292571, 0.0368194394, 0.0589363314, -0.0208875984, -0.0268016271, -0.0083624078, -0.0224671792, -0.0219007041, 0.0176910739, 0.0448267423, 0.0050622034, -0.0113878362, -0.014151467, 0.0065991594, 0.0098391417, -0.027213715, -0.0171350259, 0.0088555925, -0.0011127915, 0.0564520918, 0.0000018316, -0.0347517766, -0.0868608952, 0.0451732613, -0.0589989275, 0.003795478, -0.0113004483, -0.0113623701, -0.0481452681, 0.0392410122, -0.0040877555, -0.0076994486, 0.0286402553, 0.05734431, 0.0891193077, 0.070194304, -0.0130235776, 0.0022635558, 0.0378413759, 0.0230177436, -0.0413077138, -0.0185560174, 0.0516051985, -0.0504947305, 0.0115866084, 0.0439861342, 0.0101862988, -0.0153615847, 0.0032883014, -0.0366887599, -0.060244225, 0.0193656478, -0.0167365745, -0.0068334057, -0.0171013121, 0.0091433581, -0.0402374305, 0.0269730724, -0.0152536239, 0.0220035613, 0.0085852034, 0.0040122001, 0.0306298826, 0.0356568024, 0.0030944748, -0.0300846528, 0.0161782205, -0.0330455415, 0.0160273816, -0.0072485022, -0.0074544009, 0.0687244684, 0.0554834232, -0.0420455001, -0.01085837, -0.0691781417, 0.0234235357, -0.0682089552, -0.0038830426, 0.0099282479, 0.0154343741, 0.0470407978, -0.0610884726, -0.0542461835, 0.0354637466, -0.0531093366, 0.0105621759, 0.0184176024, -0.0389078148, 0.0220261533, 0.0182401631, 0.0314326175, -0.0164731946, 0.0012810583, 0.0522634573, 0.0159219094, -0.0331454389, -0.0362564847, -0.0217040572, 0.0330525078, 0.0169766396, 0.0201465525, -0.0010898968, 0.0545810126, -0.0160993189, 0.083771579, -0.0274408348, -0.0224436559, 0.0500288904, 0.0143809365, 0.0330411196, -0.0385271795, 0.0178005379, -0.0453230254, -0.0514383577, -0.1176024675, -0.0101272836, -0.012098304, -0.0238638651, -0.020967124, -0.0177281518, 0.0619280003, 0.0667987093, -0.0054856045, -0.0727538243, -0.1248410717, -0.0238152463, 0.0186271723, -0.0197740942, -0.0540249385, -0.0678749606, -0.015877299, -0.0270687919, -0.0352751501, -0.0091200322, -0.0055574784, -0.0231271423, 0.0663969442, -0.0297981519, -0.0374877714, 0.0034766572, 0.0126873311, 0.0069055171, 0.0389584973, -0.0091263093, 0.017447615, 0.0274012387, -0.007862322, 0.0259050895, 0.0371832475, -0.0232166406, 0.009713579, -0.044968158, 0.0352315679, 0.0554428808, -0.0429863036, -0.0500049032, 0.0367425755, 0.0093199406, -0.0466452353, 0.0755457133, 0.0737652481, -0.0785601661, 0.004780821, 0.0281073749, 0.0133320149, -0.035343226, -0.0145055065, -0.0243232381, -0.0473314449, -0.0566697158, -0.0528686717, -0.0266844872, 0.039235089, 0.0324838497, -0.016303258, -0.0116950199, -0.0150016621, -0.0009832357, -0.021368023, 0.023676604, 0.027369272, 0.0309208836, 0.0469717868, -0.0004426074, 0.0141911572, -0.0128908772, -0.0804785341, -0.0403654166, 0.064065367, 0.0710151792, -0.0215972774, -0.0154708801, -0.0383288115, -0.0296515916, 0.0127382968, -0.0214539133, 0.0330853388, -0.0341466404, 0.0108587006, -0.0299346391, 0.0334337056, 0.0399421714, 0.0310101695, -0.0252707992, 0.0233845431, 0.0008954567, 0.0552461073, -0.043303363, 0.0160351619, 0.0173561927, -0.1063024029, 0.0017914607, 0.0168881398, 0.021758968, 0.013133917, -0.0317530558, 0.0359750949, 0.0460382849, 0.028019065, -0.0282102413, -0.0079477709, 0.0142706344, 0.0424563363, 0.0288621224, 0.0109266508, 0.0178051423, 0.0479480661, 0.0004254804, -0.0265028048, 0.0633998439, -0.0584613122, 0.015706718, 0.0122844065, 0.0030187413, -0.011734548, 0.0503565744, -0.0481614955, -0.0272913575, 0.0147779016, 0.0052462928, -0.0272610076, 0.0026421461, 0.0057353149, -0.013693003, -0.0472993962, 0.0297456831, -0.0215008836, -0.0078816526, -0.0264891516, -0.026743222, 0.0077115428, 0.0185548849, -0.0186205171, -0.000039339, -0.0186027382, 0.0357307009, 0.0323655754, 0.0322572216, -0.0389696546, -0.0361900888, 0.0189109016, -0.0368463956, -0.0206151586, 0.0204349179, 0.0182508752, -0.0041740756, -0.0549173765, 0.0159070734, -0.011129885, -0.0344363786, 0.0951772109, 0.0055667316, -0.0074079875, -0.0475610867, 0.016435666, -0.0149863008, 0.0324115567, 0.0030247609, -0.0399599485, 0.0186170414, -0.0128265694, -0.0224913489, 0.0471278206, 0.0173882004, 0.0215222146, 0.0583486259, -0.0184786189, -0.0338913165, -0.0372308642, 0.030353725, -0.0148421414, -0.0542416424, -0.0120128226, 0.0534201451, 0.0351058245, 0.0452180617, -0.0309910867, 0.0020528806, 0.0155262016, -0.0058180233, 0.0078087384, -0.0227706227, -0.0886419341, -0.0675374195, 0.0139975939, 0.0201523788, -0.0479630567, 0.0607265756, -0.0796001032, 0.0167778023, -0.0434487052, -0.0461912379, 0.0263894293, 0.0316407457, 0.0058047702, 0.0097999219, 0.0431073755, -0.0476400629, -0.0232655723, -0.0113560194, 0.0420209095, -0.0326915979, -0.0018006158, -0.0106665576, -0.0218950771, -0.0233329926, 0.006733696, -0.0638454631, -0.0372728445, -0.0448565856, -0.015511157, -0.0076882346, -0.0190241523, 0.0217884593, -0.004675759, 0.0218520109, 0.030494513, -0.0013429131, -0.0130139263, -0.0419055372, 0.0169944391, 0.007790965, -0.0835602432, 0.018575158, 0.0227390323, 0.0375738256, 0.0558752939, 0.0360595509, -0.0012578067, -0.0266658515, -0.0081966072, 0.0128942234, -0.0201562643, 0.0114107821, 0.0411820114, -0.0415680148, -0.0508209541, -0.009008239, 0.0703022927, 0.0323489346, -0.0365568064, -0.0012821996, -0.0456051752, -0.0078012361, 0.0034059107, 0.0368789844, -0.0532678179, 0.0092004081, 0.0296355598, 0.0243346579, -0.0325701237, -0.0126691572, -0.0322321355, -0.132655248, -0.0021706973, 0.0069041424, -0.007879843, -0.0216355827, -0.0169353038, -0.008316474, 0.03890156, 0.0437489599, -0.0065794121, 0.0334742442, 0.008542086, 0.018414814, -0.060447678, -0.0244825445, 0.0274568461, -0.0372094214, 0.0432298779, 0.0643210262, -0.024585966, -0.0405028649, 0.0456725284, 0.0579513833, 0.0038831618, -0.0134918718, 0.0223102141, 0.0140064955, 0.0256273746, -0.0280799307, 0.0473542586, 0.0101446658, -0.0273596924, 0.0200835187, 0.0266817883, 0.0599928312, -0.0445618182, 0.0343967602, -0.0179398544, -0.0203045066, 0.0594438799, 0.050617706, 0.0046691387, -0.0362671055, -0.0184196476, -0.0510844924, 0.0125890113, -0.0183769315, -0.0520921648, 0.0437857769, 0.0011046325, -0.0794422701, -0.0451974496, 0.0077397428, -0.0153346965, 0.0400183685, 0.0564014949, 0.0003367474, 0.0307848305, -0.0040255818, -0.0145358471, -0.0068073934, -0.0152965374, 0.0449742824, -0.0388077199, 0.0564659387, -0.0121860318, 0.0096337711, -0.0462973118, -0.0189305954, -0.0254973639, -0.0797219351, 0.0413945802, 0.0599967465, 0.01810438, -0.0026305523, -0.0445264615, -0.0673365444, 0.0523375794, 0.0069801938, -0.0013580426, -0.0354892723, 0.0470082499, -0.031676963, 0.0179784987, -0.0029824446, -0.0205317121, -0.02198717, 0.0537746847, -0.0447815396, -0.0377605408, -0.022552738, -0.0101641426, 0.0649710894, 0.0338833071, 0.0008137058, 0.0045931209, 0.0343553647, 0.0344497524, -0.034982916, -0.035501875, -0.0004484964, 0.0436026752, -0.0280590616, 0.0031881223, 0.0388698764, -0.0459074005, -0.0151563939, 0.0092591187, 0.02033039, 0.0407615118, 0.0665262267, 0.012254253, 0.0689907968, -0.0065515987, 0.0073925056, 0.04665263, 0.0329543613, 0.0433140993, -0.0171048176, 0.0297735389, -0.0120581174, -0.0188089255, -0.0186994635, 0.0396542028, -0.0419612415, -0.0247425027, 0.0470457189, 0.0332285352, -0.0053878445, 0.0081530688, -0.0064042099, -0.0116006136, 0.0162386708, -0.0104122497, -0.0491144992, -0.0111178737, -0.0070263413, 0.026628796, 0.014610026, -0.001215789, 0.0359498411, 0.0430648103, 0.0087903757, 0.0520181172, -0.0013880397, -0.0624382868, -0.0292789731, 0.0271368381, 0.0206613708, 0.0105836634, -0.0586587936, -0.0182482097, -0.0673878118, -0.078262724, -0.0020780368, -0.0088945339, 0.0215798616, 0.0388377942, -0.0096417675, 0.0522566549, 0.0360919908, 0.0543658435, -0.0797528923, 0.036944747, -0.0298183095, -0.0609993637, 0.029157456, -5.064535493e-33, 0.023544997, -0.0608422197, -0.0563177988, -0.0225050841, 0.0385545753, 0.0191680659, 0.0121095758, 0.0045129545, 0.0061002094, -0.0158204809, -0.002170545, -0.0157041103, 0.0194909126, 0.0137455976, -0.0156835169, 0.004529573, -0.0110266386, -0.0015983394, 0.0013993334, -0.008707216, 0.1142111868, 0.0014352371, 0.0210272763, -0.0369749554, 0.0448721685, -0.0195050314, 0.0035325603, 0.0250632688, -0.0184643082, 0.0472884327, 0.0168287251, -0.0046250927, 0.0011613279, -0.0547785908, -0.0010205158, 0.0720847398, 0.0174470283, -0.0120381797, -0.0215615295, 0.0257670805, 0.049497813, -0.0486193821, 0.0344518609, -0.0306960195, 0.0060104444, 0.030649906, 0.0081914496, -0.0282777064, -0.005317545, -0.0058757365, -0.009293329, -0.0028010015, -0.0436916165, 0.0453383811, 0.0099441046, -0.0071232957, 0.0564562306, -0.0381727107, 0.0041325237, 0.0163581986, 0.0426038951, 0.0209348835, 0.0197935496, 0.0315033533, 0.0113027906, 0.0313743837, -0.0050500692, -0.0216935426, 0.0204248745, 0.0293955822, -0.0162330121, 0.011133723, 0.0469066687, 0.0275799502, 0.0256466065, -0.0104092229, -0.0140733551, 0.0266814046, 0.0207227357, 0.0235259961, 0.0534222089, -0.0235385131, -0.0636308789, 0.0041321209, -0.0049433303, -0.0081783757, -0.0464875326, -0.0089931516, -0.0024603789, -0.0088184271, -0.038786348, -0.0126445917, 0.0210090764, -0.059243124, 0.008858637, 0.0133765638, -0.0003137648, -0.0580617972, -0.0013705292, 0.010399689, 0.0602183379, 0.0163584482, 0.004798851, -0.0562250428, 0.0203165691, -0.013384941, -0.0021852693, 0.0289183296, -0.0866809338, -0.0135244243, -0.0079262126, 0.0344744585, 0.018763965, 0.0726348236, 0.0427496508, -0.0288959537, 0.0070601865, -0.009997095, 0.055298347, -0.0074651903, -0.0104568209, 0.0177416336, -0.0473316871, -0.0155128492, -0.0243839659, 0.0111080632, 0.0136611471, 0.0599699616, 0.0610569902, 0.0066255145, 0.0198561773, -0.0407176763, 2.761e-7, 0.0136583084, 0.0155031411, 0.0198199935, 0.0042946152, 0.0537624583, 0.0650527328, -0.0074863746, 0.0513700061, -0.0086090676, -0.0302209407, -0.0099767521, -0.0489862375, 0.029906325, 0.0045356918, -0.0787087679, -0.0194605161, -0.0861948356, 0.006463387, -0.080774188, -0.0143487873, 0.06978257, 0.0985103771, 0.0099415397, -0.0479805544, -0.0074841995, -0.0743258297, -0.0299527422, 0.0113548022, -0.001484126, -0.0512176156, 0.0419554785, 0.041277986, 0.0247102063, 0.0497088954, -0.0513501763, 0.0094950944, -0.0710428208, 0.0236307085, 0.0103570744, 0.0265925881, -0.0288797207, -0.0585840791, -0.0002224668, -0.0202669296, 0.0707613975, 0.0424162373, -0.0172416233, -0.0471769311, -0.0213941429, -0.0733171552, 0.0088286735, -0.0372501016, -0.0074028699, 0.0424767993, -0.0129426178, -0.0286532901, 0.0571463816, -0.0905974954, -0.0498601086, -0.0030422057, -0.0244425051, -0.0293511637, 0.0250334311, 0.0150212627, 0.0333053432, 0.0040031322, 0.007812182, 2.998858281e-34, -0.0348440334, -0.0277908444, 0.0025661844, 0.0202600472, 0.0207044948, 0.0244817175, -0.0168694835, 0.0140584996, 0.0170521159, -0.0177526828, -0.0381935388 ]
http://arxiv.org/abs/2406.14043v1
http://arxiv.org/pdf/2406.14043v1
Taxonomy-Guided Zero-Shot Recommendations with LLMs
2024-06-20T07:06:58
2024-06-20T07:06:58
Yueqing Liang, Liangwei Yang, Chen Wang, Xiongxiao Xu, Philip S. Yu, Kai Shu
cs.IR
cs.IR, cs.CL
With the emergence of large language models (LLMs) and their ability to perform a variety of tasks, their application in recommender systems (RecSys) has shown promise. However, we are facing significant challenges when deploying LLMs into RecSys, such as limited prompt length, unstructured item information, and un-constrained generation of recommendations, leading to sub-optimal performance. To address these issues, we propose a novel method using a taxonomy dictionary. This method provides a systematic framework for categorizing and organizing items, improving the clarity and structure of item information. By incorporating the taxonomy dictionary into LLM prompts, we achieve efficient token utilization and controlled feature generation, leading to more accurate and contextually relevant recommendations. Our Taxonomy-guided Recommendation (TaxRec) approach features a two-step process: one-time taxonomy categorization and LLM-based recommendation, enabling zero-shot recommendations without the need for domain-specific fine-tuning. Experimental results demonstrate TaxRec significantly enhances recommendation quality compared to traditional zero-shot approaches, showcasing its efficacy as personal recommender with LLMs. Code is available at https://github.com/yueqingliang1/TaxRec.
[ 0.0489097238, -0.0028523221, 0.0126089705, 0.0068329396, -0.006709333, -0.0196035206, 0.0281703584, 0.0172340125, 0.0424481444, -0.0637764111, -0.0596530996, -0.003919844, -0.003418003, 0.0639946684, -0.012875082, -0.0219111927, 0.0214669183, -0.0491217077, 0.0079256278, -0.0103736566, -0.0077852663, 0.033790458, 0.0183137376, 0.0356586576, 0.0283190962, -0.0149141103, -0.0082054026, 0.0302639324, -0.0440960824, -0.0362435058, 0.015554687, 0.0384780839, 0.0069904136, 0.0222188216, 0.0000023821, -0.0453675576, -0.0193100665, -0.0217192825, -0.003124425, -0.0464869738, 0.0715113655, 0.0643335655, 0.0211026873, 0.0103152329, -0.0173184518, -0.0287581105, 0.0215736218, 0.0492057279, 0.0068652635, 0.0424006097, -0.0186202116, -0.0224800371, -0.0027220149, -0.0198506825, 0.0479971133, 0.0183609892, -0.0088610807, -0.056821242, 0.0578711815, 0.0519181155, 0.0036932165, -0.03933933, -0.0204843711, -0.0159384869, 0.0829084441, 0.0315937698, -0.0343729332, -0.0486833006, -0.0046090991, 0.0809472054, 0.0166804232, -0.0221062582, -0.012592176, 0.0148507357, 0.0054828539, 0.015385516, -0.0425042249, -0.0194187965, 0.0089297034, 0.0070803831, 0.0031422738, -0.0129614668, 0.039368473, 0.0252531283, 0.0074332063, 0.1065293178, 0.0236662477, -0.0189094469, 0.0012288301, -0.0047221952, 0.0093296599, -0.0984326005, -0.0085821738, 0.0406141393, -0.0710805357, -0.0114327511, -0.009766032, 0.070138827, 0.0323870704, -0.0008340658, 0.0265656952, 0.0394424088, -0.0139582679, 0.0315137133, -0.0039089485, 0.0123158703, 0.024186803, 0.0053094453, -0.0761723965, -0.0364180245, -0.0508618318, 0.0009170267, -0.0154826781, 0.0650612488, -0.0199553315, -0.0278029926, -0.050614778, 0.0310240742, 0.0123070125, 0.0302514955, -0.0060432176, 0.0257081855, 0.0205056574, -0.0008485036, -0.0603399128, -0.0021794024, -0.0612312853, 0.0017855866, 0.0273498911, 0.0033142704, 0.0159765221, 0.0446617641, 0.0028111578, -0.0383044109, 0.0033279331, 0.0034585574, 0.0283918139, -0.0493834056, -0.0347289741, -0.0535402484, -0.0145610683, -0.0287068281, -0.0288340356, -0.0894168243, 0.0018526191, 0.0516736098, 0.0208959542, -0.01161916, 0.0121450704, -0.0017866184, -0.0342925526, 0.0643018484, -0.0102715679, -0.0121663911, 0.0121407285, 0.0109153055, -0.011402118, 0.0185233019, -0.0292165112, 0.0752325356, 0.0522078797, 0.0227442347, 0.0254869573, -0.0173209906, -0.0477605574, 0.0340564586, -0.0690482259, 0.0302635785, -0.0097311856, 0.0307469964, 0.0417941138, 0.0360328481, -0.0435963906, 0.0150053613, 0.0546408519, 0.0645565316, 0.0602186322, 0.0501744077, 0.0296748672, 0.0384315141, -0.0567593388, -0.0320888236, -0.0007311869, 0.0497450083, -0.029165227, -0.0342642404, 0.05138769, 0.0087015796, -0.0488742217, -0.0130065326, -0.0012700285, -0.0671795383, 0.0059895781, 0.0191546157, 0.008045651, -0.0249073487, -0.0190712195, 0.0375406668, 0.0375801474, -0.0442930907, -0.0013804886, -0.0479188748, 0.0842340812, 0.1555962861, 0.0656319484, 0.0084356396, -0.0439244173, -0.0222151522, 0.0052242391, -0.0088742403, 0.034319222, -0.0376228169, -0.0016897876, -0.0569006093, -0.0650203452, 0.0080421874, -0.0091137374, 0.0195979886, -0.0087221488, 0.0457557365, 0.017992923, -0.0289412327, 0.0162736364, -0.0059357728, 0.018097017, -0.0452014543, 0.0533786938, 0.0061249109, 0.0006653928, 0.0139062619, 0.0482432507, -0.0132895811, 0.0252202842, -0.021236077, -0.0003711921, -0.0563274771, -0.0233230256, 0.0264154635, 0.0413765162, 0.0359460637, 0.0206962191, 0.0106361341, 0.0049113105, -0.0425992906, -0.0212505981, 0.0399742685, 0.0422481485, -0.0217201021, 0.0219153203, -0.0048266496, 0.0134588517, -0.024641389, 0.0325383581, 0.0384419635, 0.0242286194, -0.0130705992, -0.0323929302, -0.005360188, -0.0320409425, -0.0037912566, 0.0176106896, 0.0221398883, 0.0248270519, 0.0143055776, 0.0313026384, -0.0298752505, -0.0212095231, -0.0798905268, -0.0096064955, 0.0092812069, -0.0072413776, -0.0265963804, 0.0506987348, 0.0094136382, -0.0043276832, -0.0403671712, 0.0205379501, -0.0203894582, 0.0085225543, -0.0021063441, -0.019156849, -0.0393137299, -0.0144743752, 0.0006972143, -0.0019538379, 0.0400679, -0.0217628665, 0.0119725298, -0.03966989, -0.0423260145, -0.0544764698, -0.037459176, 0.0137617784, 0.0207377654, -0.0214863345, -0.0225468539, 0.0448070131, -0.006568274, -0.0125525007, -0.0119911218, 0.0758463666, 0.0092258081, -0.0719166547, -0.0154541219, -0.0014476482, 0.0039829719, -0.0020478829, 0.0050040893, 0.0092630479, 0.0122702708, -0.0415781885, 0.0038731501, -0.0516988486, 0.0269746799, -0.0039703925, 0.0229868088, -0.0714483485, 0.0051023006, 0.003022922, 0.076353468, 0.01243883, -0.0381745063, 0.0565843135, -0.027491644, 0.0030871085, -0.0213208441, -0.041953776, -0.0723824352, -0.0187626835, -0.0064031873, 0.0206127129, 0.0171487015, 0.0085087959, -0.0005743949, -0.0058670412, 0.0044294228, -0.0227145329, 0.0544528291, -0.0009032281, 0.0061217309, 0.0001639838, -0.0208523218, -0.0264273081, -0.0291043315, -0.0020526468, 0.0279028416, -0.0056244722, -0.0158957541, -0.0325305276, 0.01931886, 0.0079667298, 0.0681070536, -0.0251464155, -0.041994825, 0.0219348427, 0.0172550902, 0.0555045977, -0.0412156731, -0.0195523445, 0.031753134, 0.0369136967, 0.035847839, 0.0083508063, -0.0187700931, -0.0094696879, 0.0070353798, 0.0918023512, -0.0384394675, -0.0549742542, 0.0494052209, -0.0109464256, 0.0049148486, -0.0052333828, 0.1265461147, 0.0606679171, -0.1307071894, 0.0102961455, -0.0606189631, 0.0376904458, 0.0415021852, 0.0270967707, -0.0798872411, -0.0268003996, 0.0189376716, 0.0385203101, 0.0396371335, -0.0258633811, -0.0165112931, -0.0794683024, 0.0459465496, 0.0041672052, 0.0026839394, 0.0206388813, -0.0640734285, -0.0140806427, 0.007749307, 0.0087524317, -0.0060953461, -0.0119633451, -0.0003936473, -0.0203538109, -0.0093593076, -0.0055183987, 0.0394463912, -0.0250982437, 0.0345591679, 0.0704792589, 0.044441402, 0.0271773301, -0.0177462809, 0.0101005174, -0.0050129374, -0.0440795757, -0.042154558, -0.0053209555, -0.0423659123, 0.0577920154, 0.0165980272, -0.0141249876, -0.058409702, -0.0442740768, 0.0210460834, 0.0830452368, -0.0066808164, 0.0190846566, -0.0478085391, -0.0247520953, 0.0175598115, 0.0798322782, 0.016302472, -0.0507270657, 0.0093660671, -0.0730051175, -0.0397779346, 0.0230746735, -0.0254701134, 0.0008252308, -0.0066428804, -0.0340500139, -0.0608401187, -0.0151508218, 0.0461819209, 0.0067920587, -0.0074569019, 0.050811924, -0.0709871575, -0.0242037661, 0.0024975308, 0.0241552424, -0.0262943693, 0.0258836094, -0.1159616634, -0.011683424, 0.0334270857, -0.0556308925, 0.01913766, -0.0050430084, 0.0132736014, -0.0249139294, -0.0325186029, 0.0241949186, 0.0175032392, 0.0244102776, -0.0517264828, -0.0851363018, 0.0672015473, 0.0529067963, -0.0279636551, -0.0116277207, -0.0143520981, 0.0821319744, 0.0156878624, 0.046320539, -0.0808029622, 0.0236510634, -0.0420506783, -0.0026288936, -0.0190598276, -0.0515907407, 0.0032993101, 0.0197157376, 0.0398231633, -0.011868922, 0.0517686419, -0.0024794994, 0.0231425315, -0.0289437566, -0.0372452699, -0.030225873, -0.0075432928, 0.0497274585, -0.0514216088, -0.0043623871, 0.0093209073, -0.0512460396, 0.0394861773, -0.0481998473, 0.0140053248, -0.0387263186, -0.0485678241, 0.0502683073, -0.0040565021, -0.0108031835, -0.0217409879, -0.0007006869, 0.0154386256, -0.053332977, 0.0246788282, -0.0086855898, -0.0135482643, -0.0361635461, 0.061005421, 0.0085964333, -0.0629583299, 0.027587086, 0.050859414, 0.0234481208, -0.0216951147, 0.0329092331, -0.0261027776, -0.0167124141, -0.0370824337, 0.0124912262, -0.0009333463, -0.0275535025, 0.0290793218, 0.0653186664, -0.0335959829, 0.0297452733, 0.083118856, 0.0064669964, -0.0234230012, 0.0104287872, -0.0460914113, -0.0349124931, 0.0055558369, -0.0064006536, 0.0451019332, -0.0467441827, -0.0109749148, -0.0367804505, -0.0484499894, 0.0265231952, -0.0615406148, 0.0119540673, -0.0401497297, 0.0441781953, 0.0505077988, 0.0138143161, 0.0000907569, -0.0566459447, -0.0242511705, 0.0032370333, -0.0438179746, -0.0363839529, -6.917557237e-33, 0.0054685432, -0.0387789905, 0.0303455759, 0.0160718374, 0.0400306657, -0.0316173919, -0.0073199957, 0.0092696147, 0.0501928851, -0.0074814237, -0.0054276432, 0.0002361642, 0.0066161421, 0.011236365, 0.0073201531, -0.0065013384, 0.0494850762, 0.0317674577, -0.0298414808, 0.0201389398, 0.0293813888, 0.0391005166, -0.0219486635, -0.0135011282, 0.0121285561, -0.0250341725, 0.0139098801, -0.0002342271, 0.0358317494, 0.0866035447, 0.00373301, 0.0614352785, 0.0094303265, -0.0125679821, 0.034795858, 0.0110349413, -0.0535224229, -0.0135655403, 0.0210373625, -0.0090739913, -0.0005805058, -0.0558463521, 0.0016417184, 0.0160403382, -0.0044491403, 0.0240498446, 0.0130191455, -0.0202289075, -0.1007944271, -0.0337740779, -0.0313017927, 0.0088000884, 0.0178401154, -0.0391168036, 0.0433834791, 0.0547467507, -0.0235294476, 0.0859050527, -0.0465647206, 0.0416358449, -0.0404265262, 0.0530942492, 0.0221903957, -0.0138046592, -0.0682200938, 0.0185712092, 0.0281280521, -0.0299546812, -0.0005590643, 0.0187528729, -0.0268561468, 0.0232950971, -0.0137864072, 0.0164247453, 0.0567638427, -0.0243711527, -0.0253755525, 0.0526541881, -0.0034059971, -0.0000146061, 0.016560575, 0.0457655266, -0.028016204, -0.0325383618, 0.0087149851, -0.0082626743, -0.0855408981, -0.0485914797, 0.0225060545, 0.0202473402, -0.0117690377, -0.0183072798, -0.001645403, -0.0062220893, -0.0381117128, -0.019250473, -0.0217049755, 0.0119344788, 0.0188091304, 0.0154781258, -0.0432319567, -0.0068087317, 0.0174384806, -0.0615244135, -0.0178323723, 0.0301598143, 0.0622935668, 0.0197601691, -0.0607331581, 0.0048646447, 0.0216118116, -0.0360299423, -0.0359311737, 0.0151724089, 0.0233412851, 0.0213094577, -0.0042587356, 0.0840403959, 0.0144367544, -0.0146258194, -0.0031023056, -0.0326750129, 0.0012579721, -0.0064412546, -0.0267881639, -0.0258378182, -0.0228404421, -0.0115445144, 0.0713260695, -0.0297223292, -0.0412913524, -0.0349632651, 3.188e-7, -0.0131907593, 0.0691909343, -0.0581409596, -0.0042828349, 0.0017560991, 0.0415999927, 0.0415065698, 0.0357327387, -0.0118017998, 0.0270497967, 0.0073317727, 0.0242888816, 0.0208835471, 0.0390309952, -0.0864364356, 0.0592064299, -0.0268815253, 0.0322707631, -0.0797619224, 0.0041315486, 0.0140549187, 0.062434312, 0.0324735045, -0.0091697378, 0.0052047134, -0.0109082945, 0.0264327731, -0.0610259287, -0.0472822301, -0.0218152255, 0.0437153205, -0.0029535647, -0.0199798793, -0.0125467628, -0.0073880781, -0.0016464351, -0.0309255924, 0.0528440587, -0.0577137321, -0.0600472689, 0.011099387, -0.0056685801, 0.0279415622, -0.0312636457, 0.0774628818, 0.008425965, -0.0001350039, -0.0121952742, -0.0408838205, 0.0175140034, 0.0208094846, -0.0303723291, -0.0418040603, 0.020431038, 0.0233209245, -0.0163009986, -0.0327692032, -0.047331471, 0.0135912159, 0.0027751073, 0.0007606515, -0.0390942693, -0.0538317375, 0.0122639304, -0.0028905044, -0.0553709269, 0.0306636505, 3.152341109e-34, 0.0249899719, 0.0332206488, -0.0134685561, 0.019949032, 0.018140506, -0.0169124827, -0.0329256169, 0.0156242568, 0.0503836088, -0.0375747979, -0.022388177 ]
http://arxiv.org/abs/2406.14039v1
http://arxiv.org/pdf/2406.14039v1
CryptoGPT: a 7B model rivaling GPT-4 in the task of analyzing and classifying real-time financial news
2024-06-20T06:59:46
2024-06-20T06:59:46
Ying Zhang, Matthieu Petit Guillaume, Aurélien Krauth, Manel Labidi
cs.AI
cs.AI, cs.CE, cs.CL, cs.NE
CryptoGPT: a 7B model competing with GPT-4 in a specific task -- The Impact of Automatic Annotation and Strategic Fine-Tuning via QLoRAIn this article, we present a method aimed at refining a dedicated LLM of reasonable quality with limited resources in an industrial setting via CryptoGPT. It is an LLM designed for financial news analysis for the cryptocurrency market in real-time. This project was launched in an industrial context. This model allows not only for the classification of financial information but also for providing comprehensive analysis. We refined different LLMs of the same size such as Mistral-7B and LLama-7B using semi-automatic annotation and compared them with various LLMs such as GPT-3.5 and GPT-4. Our goal is to find a balance among several needs: 1. Protecting data (by avoiding their transfer to external servers), 2. Limiting annotation cost and time, 3. Controlling the model's size (to manage deployment costs), and 4. Maintaining better analysis quality.
[ 0.0046988102, 0.0296517015, -0.0139199411, 0.015967967, -0.0314245038, 0.0143046873, 0.0408814736, 0.0162320733, 0.0144073972, -0.0320600122, 0.0123414155, 0.0568868369, -0.0769495741, 0.0784803778, 0.0145095363, -0.0333172828, 0.0742287263, -0.0249901935, 0.0061255638, 0.0041510416, 0.0310499426, -0.0267562121, 0.0337456092, -0.0218234919, 0.036522802, -0.0361262113, -0.031358242, -0.0088598644, 0.0176151488, 0.0057364432, -0.0290671811, 0.0343861952, -0.0271979608, 0.0469771102, 0.0000020643, -0.0291410498, -0.0801857337, 0.0339902267, -0.0284604672, 0.0204255767, 0.0152205266, -0.052999299, 0.0229427032, 0.0225079227, -0.0422265418, 0.0236398242, 0.0628252849, 0.0728684142, 0.0776982158, 0.0708243772, -0.0165083911, -0.0367208309, 0.034367308, -0.0432185009, -0.0146284038, -0.0939331949, 0.023718683, 0.0466452613, -0.0043481365, 0.0631171018, 0.015578066, 0.0534011945, -0.0051580914, -0.0100144036, 0.0199204925, -0.0023950406, -0.033444453, -0.0084088994, -0.0715616718, 0.0022534514, 0.0115920845, -0.0023604373, 0.0541854836, -0.0210484155, -0.0280822739, -0.0069376631, -0.0358020179, 0.0527502932, -0.016721921, 0.0255549327, 0.0532459877, 0.0096190171, -0.0058022016, 0.0026666697, -0.012186964, 0.0295817368, -0.027514847, -0.0027415084, -0.0178459585, -0.0009398334, -0.0158035755, -0.0451247431, 0.0122941975, 0.011131335, 0.0243787188, -0.0067807627, 0.0113036912, 0.0131730493, 0.0275415517, -0.1204022765, -0.019530274, 0.036155764, -0.0218580794, 0.0725932345, -0.0306480527, 0.0059382776, 0.0004608115, 0.0183416922, 0.032490816, 0.0062208422, -0.0566240884, 0.0098852022, -0.0409466326, 0.0672955215, -0.0224125199, 0.0174988452, -0.0784713328, 0.0608392954, -0.0027059754, 0.0325801745, 0.0318817571, -0.0356605053, 0.0144964121, 0.0104808314, 0.0062104855, -0.0449850596, -0.0431745276, 0.0173378885, -0.020143263, -0.0073461952, 0.0115794614, 0.0186061412, -0.0314760841, -0.0152876591, -0.0145447776, 0.0808359385, 0.059994936, -0.0398574993, -0.0739062876, -0.0655479878, 0.013271573, 0.0012234582, -0.0445527174, -0.000230861, -0.0283877365, -0.0308993701, 0.006849356, 0.0852153227, -0.0526780337, -0.0520960912, -0.0109454207, 0.0706336275, -0.0412394144, -0.0279349592, 0.0159361213, -0.0220386256, -0.0220733732, 0.0625434071, -0.0197590329, 0.0640403628, 0.0288838688, -0.018746417, 0.0204271115, 0.0238266289, -0.0169882923, -0.0847747028, -0.0271020122, 0.0483910143, -0.0341082513, -0.0398503728, 0.0492131598, -0.0345492698, -0.0411978662, -0.0389897712, 0.0682071969, 0.0206358414, 0.061904639, 0.0193383116, -0.0485436581, 0.0114360359, 0.0228598211, -0.0303700604, -0.0032653909, 0.055094447, -0.0326021202, 0.0153232776, -0.0133637851, -0.0040395618, -0.0438252836, -0.0185166243, -0.0270293485, -0.0150815612, -0.017669078, -0.0092511177, 0.0398640893, -0.0469511561, -0.0258656517, 0.0340272114, 0.0194967687, 0.0092227766, -0.0433138311, -0.0931221396, 0.0931107551, 0.0431909934, 0.014140808, -0.0314476378, 0.0099877743, -0.0189578794, -0.0117708435, 0.0520810373, 0.0274162758, -0.002409277, -0.0626776069, -0.0304622818, -0.0336093381, 0.0057366528, 0.0373626612, 0.0193273947, -0.0439504944, -0.0034484724, -0.0469407886, 0.0331763364, 0.0075953421, 0.0023312613, 0.0244837329, -0.0314821266, -0.0138904722, 0.0195130054, 0.0228171088, 0.0372361057, 0.0186711177, 0.0070160259, 0.0295868404, -0.0157559235, -0.01349835, -0.0115532828, 0.0469265096, 0.0438767262, 0.0108204456, -0.0034935577, 0.0079722544, -0.007161295, -0.0457839295, -0.0322625712, 0.0384677127, -0.0012530194, 0.0467132069, -0.0845912695, -0.0681252703, -0.0267577842, 0.0155769093, -0.0308375601, 0.0420173332, 0.0195833519, -0.0325270183, -0.0473889858, -0.0536368974, 0.0130447214, -0.0243924409, 0.0483484268, 0.0090967463, -0.0108869821, 0.048866652, 0.0345917046, -0.0144685945, 0.0095020775, -0.0355071388, -0.0653564334, -0.0160126984, -0.0071392963, 0.0786306262, 0.0143834408, 0.0279099178, -0.0139123667, -0.0272677895, -0.0187115874, -0.0103730597, -0.02786972, 0.00486178, 0.0490784571, 0.0090462742, -0.0227695461, 0.000371907, 0.0014813618, 0.0024950157, 0.0180212539, 0.0261381138, -0.0479780212, -0.0165859517, -0.0420255661, -0.0214184821, -0.011420819, -0.015288976, 0.0151486676, -0.007890828, -0.000872343, -0.0335522145, 0.032873489, 0.00399531, 0.0606085882, -0.0078226682, -0.0001149818, -0.022407148, 0.0200794283, -0.0245887954, 0.005974927, -0.0161422268, 0.0330651142, -0.0115791, 0.0613261238, -0.0359189287, -0.0170070119, -0.0381264985, 0.0403242074, 0.0208220724, 0.0265579335, -0.0127091194, -0.0168730617, -0.0230486002, 0.0425494798, 0.0083664246, -0.0712418929, 0.0050251707, 0.0197146386, 0.0163754486, -0.0379921049, -0.0804277807, -0.0799273252, 0.0231506005, -0.0620785467, 0.0356915742, -0.0294828489, -0.0187423248, -0.0024131769, -0.0522105582, 0.0611390434, -0.0373538658, 0.0290533081, 0.0115819555, 0.0391792282, -0.0159304664, -0.0089534121, 0.0105716139, -0.015684789, -0.0567556992, 0.0011460276, -0.0031065769, -0.0402798355, 0.0003566423, 0.1172505468, -0.0265401024, 0.0174894333, -0.0186285451, -0.0300785452, 0.0086599933, -0.0005154593, 0.0005756399, -0.037002854, 0.0425602868, 0.0109243207, 0.0654780641, 0.0320492238, 0.0231860355, 0.0075953254, -0.0496508367, -0.0164637771, 0.0051565436, -0.0510116704, -0.0224673375, -0.017461054, -0.036122039, -0.0242430586, 0.0193319321, 0.1117049307, 0.0115916776, -0.0014064694, -0.0097084157, 0.0138189122, -0.0344706289, -0.0495542921, 0.0330613256, -0.103943117, 0.0049720141, -0.008840546, 0.0381498784, -0.0245869216, -0.0545366034, -0.0349384174, -0.0195512194, 0.0838434994, 0.0026350631, -0.0304193962, 0.0109189637, -0.1151650697, -0.0251926519, -0.0763101876, 0.0076569817, -0.009870097, -0.0007403245, 0.0267299488, 0.0352993459, -0.1038878337, -0.0095151849, -0.0229836944, 0.0041497587, -0.0168556608, 0.0227557234, 0.0177512933, -0.0197317991, -0.0105649279, 0.006072083, 0.0197913777, -0.0262579415, -0.0277049318, 0.0335093513, 0.0210949201, -0.0244875271, 0.0069610695, 0.0169943012, 0.0378646255, 0.0409265086, -0.0169280469, 0.0076090517, -0.0143296011, -0.0520459041, -0.0070817294, -0.0045416639, -0.0225986447, 0.0443204306, 0.0301165469, -0.0038736418, -0.048840981, -0.0058262232, -0.0014438778, -0.0425208211, 0.0186118763, -0.0147360703, 0.0144386059, -0.015725622, -0.0621512383, -0.0209720004, -0.0672484711, 0.0385801755, -0.0294196177, 0.0501119308, 0.0480160601, -0.0150405187, -0.0318681672, 0.008095637, -0.0251436383, -0.0098180454, -0.0305215623, 0.0498061031, 0.0184885915, -0.0337152332, -0.0483872406, 0.082137078, -0.0899880826, -0.0280479472, 0.0032038977, 0.0021579813, 0.0446978547, -0.0244377311, -0.0463286787, -0.0015122466, 0.035004504, 0.0539645962, -0.0027531264, -0.0499852672, 0.0204605889, -0.000223391, -0.0444979481, -0.0145327356, -0.0213866793, 0.0258176252, -0.035052374, -0.0564935058, -0.0405135825, 0.0046405843, -0.0320107155, 0.0217030216, 0.0090391804, 0.0124993874, -0.0032159286, -0.0066260151, 0.0005512476, -0.0022894584, 0.014303199, -0.0152608305, 0.0118185095, 0.0258671269, -0.0464089029, -0.021223316, 0.0254836697, 0.0113916351, -0.0572068915, -0.0301097725, 0.0014498393, -0.0297663622, 0.0240540057, -0.0144510102, -0.0093471762, -0.0216298234, -0.0261237808, 0.0384513289, 0.037545912, -0.0003210958, 0.001176507, 0.0130997282, 0.0163335204, 0.0241407417, 0.0148103731, -0.0572323166, -0.0267061945, 0.0025388387, 0.0834816322, 0.0610827282, 0.0351484641, 0.0486128591, -0.0558204651, -0.0146325072, 0.0080812098, 0.0443536378, 0.0048775417, 0.0101759695, -0.0081230141, -0.0007104234, -0.0640143007, -0.0366234928, 0.0585059375, 0.0159894954, 0.0169781148, -0.0193938799, -0.0532226078, -0.0703858212, 0.0018243837, 0.0324340127, 0.0115498286, -0.0134648168, -0.0052773063, -0.0748624727, 0.0039278986, 0.0859995261, 0.0047998908, -0.0176296476, 0.0194312725, -0.0207701903, 0.0459320024, 0.0002985919, -0.0022911269, -0.0012292311, -0.0463173427, -0.0401266739, -0.0109530045, 0.0086038653, -6.291012136e-33, -0.023667613, -0.0423258655, 0.0336911939, 0.027589066, 0.006757739, 0.0421095155, -0.000627698, -0.0548574254, 0.0221157931, -0.0080806473, 0.0393841341, 0.0080025978, 0.036219202, -0.0144976713, 0.0361354463, 0.0114774508, 0.024828665, -0.0010862058, 0.0077272905, 0.0179982278, 0.0129846316, 0.0257623792, 0.042051293, -0.0184532963, 0.0547275692, 0.0378856994, -0.068867676, -0.020125851, 0.0211149603, 0.0879543573, -0.0296256654, -0.0029265725, -0.0036872944, -0.0517050363, -0.0035392756, -0.0091509148, -0.0342275314, -0.037745554, 0.0198552813, 0.0341430008, 0.0449982136, -0.0167532191, 0.0176971313, 0.017868625, 0.010784423, 0.015503942, 0.0161605645, 0.0143900001, -0.0085616782, -0.0703221932, 0.0056760856, 0.0490572788, 0.0032708882, 0.0746336058, 0.0572108105, 0.0264296234, 0.0198406484, -0.0006925639, -0.0550153404, 0.0427207574, 0.0631494075, -0.0300781094, -0.0059136744, 0.0258458834, -0.0030786025, 0.0243286677, -0.008538669, 0.0016339646, 0.0526601747, 0.0564352088, -0.0124473572, 0.0610061884, 0.0681685135, 0.0220946521, 0.0361975804, -0.0190274641, -0.0736230984, 0.0254345108, 0.0227430668, -0.021446716, 0.0332550071, 0.0208650026, -0.0174994711, -0.0091074556, 0.0391292572, -0.0154241389, 0.0049377466, -0.02841039, -0.0045976257, 0.0394791327, -0.0231095739, 0.0739181712, -0.0087513309, -0.0652997643, -0.0799761638, -0.0432834849, 0.0233378839, 0.0384913795, 0.0066889459, -0.0013297943, 0.006660087, -0.0352149196, -0.0086570978, -0.039901644, -0.0148791214, -0.0252997894, 0.0376522504, 0.0151747251, -0.0445354991, 0.0205965824, -0.0026357665, 0.0371275358, -0.0133439405, -0.0069895871, 0.0004499741, -0.0145698572, 0.0093884701, 0.0425346382, -0.011469787, 0.0317589119, 0.0563340224, 0.0287519228, -0.011332537, 0.0652747303, 0.0591461323, 0.0069171735, 0.0493055657, 0.0572130457, -0.0047695488, -0.0114124427, -0.0126526272, 0.0354804508, 2.869e-7, 0.0588738732, 0.0736285448, 0.0116596976, -0.0001679142, 0.0367430113, 0.0180742033, -0.0349882096, 0.0289787445, -0.0521011427, -0.0183229446, 0.0156887136, -0.0081929369, 0.0609079562, 0.0231233407, -0.0589776933, -0.0582756139, -0.0354410708, 0.0153109683, -0.0906988457, 0.0273573268, 0.0488068983, 0.055643227, 0.0099329986, -0.0063753976, 0.011320401, -0.0516631566, 0.0213932786, -0.0152118308, -0.0366429612, -0.0066374261, 0.0792968795, 0.0495046899, -0.0002966959, 0.0094559016, 0.0090430826, -0.0142670153, -0.0175406206, 0.0281392522, -0.0072346027, 0.0065483502, 0.0226359274, -0.0459451936, 0.0308084711, -0.0436302833, 0.0481100678, -0.0010383733, -0.0357904471, -0.0573656224, -0.0531977676, -0.0114816697, 0.0572430305, 0.012424659, 0.0085568065, 0.0188717917, -0.0237887688, -0.0343762785, 0.0184945222, -0.0424838215, -0.0135558918, 0.0067721009, -0.0419705622, 0.0029158553, -0.0378951021, 0.0237085298, 0.0313572586, -0.0498945303, 0.0347853228, 2.684768715e-34, 0.0640742332, -0.0279209539, -0.0126238903, 0.0766502023, -0.000296084, 0.0261769276, 0.0226747766, 0.0238044355, 0.0084856469, -0.0566481836, 0.0004231604 ]
http://arxiv.org/abs/2406.14036v1
http://arxiv.org/pdf/2406.14036v1
Toward Infinite-Long Prefix in Transformer
2024-06-20T06:56:35
2024-06-20T06:56:35
Jiuxiang Gu, Yingyu Liang, Zhenmei Shi, Zhao Song, Chiwun Yang
cs.LG
cs.LG, cs.AI, cs.CL
Prompting and contextual-based fine-tuning methods, which we call Prefix Learning, have been proposed to enhance the performance of language models on various downstream tasks that can match full parameter fine-tuning. There remains a limited theoretical understanding of how these methods work. In this paper, we aim to relieve this limitation by studying the learning ability of Prefix Learning from the perspective of prefix length. In particular, we approximate the infinite-long Prefix Learning optimization process by the Neural Tangent Kernel (NTK) technique. We formulate and solve it as a learning problem of the infinite-long prefix in a one-layer attention network. Our results confirm the over-parameterization property and arbitrary small loss convergence guarantee of the infinite-long Prefix Learning in attention. To the implementation end, we propose our NTK-Attention method, which is "equivalent" to attention computation with arbitrary prefix length efficiently. Its time complexity mainly depends on the sub-quadratic of input length (without prefix), and our method only requires $d^2 + d$ extra parameters for representation, where $d$ is the feature dimension. In addition, we conducted experiments that compare our NTK-Attention with full parameters fine-tuning, LoRA, and P-Tuning V2 methods across vision or natural language datasets. The results indicate our approach may be a promising parameter-efficient-fine-tuning method since it has demonstrated superior performance in numerous scenarios. Our code can be found at \url{https://github.com/ChristianYang37/chiwun/tree/main/src/NTK-Attention}.
[ 0.0273414664, -0.012600068, -0.0149617428, 0.06266471, -0.0146583803, -0.0117499055, 0.0009248473, -0.0044133551, -0.0484279804, -0.019530464, -0.0408498831, -0.0514788404, 0.0319836736, 0.0325327478, 0.0755804554, -0.0472873077, 0.0153953629, -0.0390859619, -0.0190127585, 0.0207500774, -0.0148011101, -0.0281329919, 0.0292572509, 0.0594966933, -0.0200600885, -0.0136006195, -0.0096918987, -0.0049841581, 0.0073126103, -0.019309463, 0.0253742673, 0.0342343077, -0.0067182272, 0.0150421271, 0.0000021942, -0.0437339321, -0.0060264138, -0.0017675788, -0.0224761982, -0.0451701172, 0.0212268624, -0.0083667971, 0.0157892238, 0.0180323515, -0.030635532, -0.0093882037, 0.0585214086, 0.0636560321, 0.0473219417, 0.0978854373, -0.0076922514, -0.0470592082, 0.0427467525, -0.0631423071, 0.0015794279, -0.0051171239, 0.0110941492, -0.0690397024, -0.0099434201, 0.0183477309, -0.0612329952, 0.0637333617, 0.0392503068, 0.0114037199, 0.0389860906, 0.0340419449, 0.0075269477, -0.0055305623, -0.0160483234, 0.0815301836, -0.0950892195, -0.0055872086, -0.0084666647, 0.0218919646, 0.0158420112, -0.0658588409, -0.0374027155, -0.0098792417, 0.0153410593, 0.0057922699, -0.0059303455, -0.0104640909, 0.0066324924, -0.0354179516, -0.0268471893, 0.0564616583, 0.0105986316, -0.0142683936, -0.0268174168, -0.0342737772, 0.0067956671, -0.039491836, 0.0133477859, 0.031842161, 0.0132528096, 0.014719924, -0.060256619, -0.0558539107, -0.0096671237, -0.0672879368, 0.045299042, 0.0569241047, -0.0301757269, 0.0267641004, -0.0553534999, 0.0606413037, 0.0052073183, 0.0543185025, -0.0454522893, 0.0001646729, -0.0192071218, 0.0134596853, -0.0783728287, 0.0097563621, -0.0271546841, -0.0246866588, -0.0005677945, 0.0366828181, 0.0108964993, -0.041000586, 0.042983301, -0.0019391724, -0.050764598, -0.0302042402, -0.0030197382, 0.0352654532, -0.0348259769, 0.0167231932, 0.0113065215, -0.0178483445, -0.043003872, 0.0332984403, 0.0222342927, -0.0237437245, 0.015180368, 0.0637305975, -0.0128233312, -0.0580447167, -0.0276896209, 0.0219553951, -0.0192346182, -0.0376236737, 0.000740441, -0.0705875829, 0.011380746, 0.0006510112, -0.0049899546, -0.0365062989, -0.0046060309, 0.0284485333, -0.0408420451, 0.0291706324, 0.0030728967, 0.0083930334, 0.0426915921, -0.0002837767, -0.0084819263, 0.0587893575, 0.0331300534, 0.0392582826, -0.0008371958, 0.0008737685, -0.0278742891, 0.0377593935, 0.044147741, 0.0028847007, -0.0216619018, -0.0143028861, 0.010137598, 0.0152261127, 0.0319832973, 0.0492250957, -0.0127723319, -0.0778585002, 0.0608725697, 0.0720317289, 0.0143753886, 0.024832081, 0.061723724, 0.0038841472, -0.0313089639, -0.0022153838, -0.0383187048, 0.0367084332, -0.0407455228, 0.0152037637, 0.0086180773, 0.0228524636, -0.0586270653, -0.034449134, 0.0007318112, 0.0054033287, -0.0095523261, -0.0012293768, 0.0476022288, 0.0385726541, -0.0729158893, 0.0630754903, 0.0031227565, -0.0125317676, -0.0102798548, -0.0291929822, -0.0073215808, 0.0196483061, -0.0325417221, -0.0310456604, -0.070075281, -0.012993956, 0.0339083523, -0.0042757392, 0.008991275, 0.0075151394, 0.0167388953, -0.0423721895, 0.0197758079, 0.0237781499, 0.0046721874, 0.0146559607, -0.0305704754, 0.0081825349, 0.0329111777, -0.0017753323, -0.0431407169, 0.045511242, -0.0165015012, -0.0520378388, -0.0262682568, 0.0449523814, 0.0097135734, -0.0083548659, 0.0288681034, 0.0266419929, 0.0359161459, -0.0385435335, 0.0328924097, -0.0357533507, -0.0483626388, -0.0384694822, 0.0508171171, -0.0624349453, -0.0039516734, 0.039221745, -0.0174045321, -0.0482480638, 0.0199814811, -0.0438413844, 0.0391148403, 0.0032699842, 0.0590144023, -0.0050552306, 0.0447093025, -0.0279638469, 0.0185828544, -0.0153842587, 0.0364891477, -0.0031803702, 0.0220932793, -0.0022070783, -0.0519913919, -0.0542368591, -0.0117945317, -0.0263573229, 0.0078757498, 0.0012747585, -0.0298488904, -0.0281857904, -0.0217603892, -0.0835832879, 0.0035795306, -0.0458440557, 0.0174615011, -0.0251670554, 0.0288102347, 0.0097200479, -0.0298899319, -0.0460360348, 0.023444511, -0.0386867523, 0.0078531317, 0.0157278646, 0.007415805, -0.0289562494, -0.0353071503, -0.0401100628, 0.0073677646, 0.0660010129, -0.0179761071, -0.0169446096, -0.0462921783, -0.0226866491, 0.0336078107, 0.0451251864, -0.0335835256, -0.020357769, -0.022444712, -0.0287277047, 0.0903005302, 0.0748429373, 0.0332285166, 0.0011663004, 0.0216637049, 0.0328682922, -0.0148506658, 0.0222107917, -0.0457823128, -0.0321285203, -0.0215311535, 0.0029989071, 0.010114966, 0.1065066755, -0.0578923784, -0.0147868441, -0.0775048137, -0.007368851, 0.0060950099, 0.0097765271, -0.0180293359, 0.0250084288, -0.0400979146, 0.0203344803, -0.0195541885, -0.0380983949, 0.055783838, -0.0243440382, -0.0246424787, -0.0151932519, -0.0057350355, -0.0249202996, 0.0767112076, -0.0023080469, 0.0044014519, 0.0309280641, -0.0300008971, -0.0561056174, 0.0213109553, -0.0118693272, -0.0086139813, 0.0793272108, 0.0209298432, -0.0037995672, -0.0241018385, -0.0050382279, -0.0291804969, -0.0488775484, 0.0074689682, 0.0090432595, 0.0241678916, 0.0107686548, -0.0178367645, 0.0244285129, 0.001878132, 0.0753922686, -0.0217437986, 0.0190779064, -0.0163327884, 0.0044453908, 0.0393459611, 0.0208314881, 0.0222558938, -0.0302977674, 0.0208799485, -0.0023222864, 0.0308306944, -0.0265833996, -0.0499648936, -0.0191772059, 0.0208976343, -0.00998923, -0.0083302213, 0.0238367151, 0.0076084314, -0.0573712699, -0.0178912655, 0.0705148056, -0.0018762242, -0.0602007397, 0.0289843716, 0.0178624112, 0.0285001323, 0.043040406, 0.0184971299, -0.0322900005, -0.0167844929, 0.0006686192, 0.0109960306, 0.0236326903, -0.0203405879, -0.0110846097, -0.0855115131, -0.0053755874, 0.0003652431, -0.0368349962, -0.0520842746, -0.0126117291, 0.0180019233, 0.026173003, 0.0043370058, 0.0301729832, -0.0171206109, -0.0344904885, 0.0101681445, 0.0215378683, -0.0444505177, 0.0298505463, -0.050959751, -0.0195293743, -0.0207286663, 0.004575144, 0.0196660403, -0.0800405666, 0.0432442278, 0.0060466868, -0.0002015478, 0.0304496214, 0.0625384524, -0.0152630154, -0.0244926382, 0.0392437838, 0.0170232952, -0.0376112424, 0.0434967279, -0.0412431918, 0.0945222452, -0.0063275006, 0.0285636913, 0.0056321598, -0.0265134759, 0.015713146, 0.0372429155, 0.0452885069, -0.0640404522, -0.0111544728, 0.0193548389, -0.0212924816, -0.0273286738, -0.03859872, 0.0051735463, -0.0129554207, -0.0510407276, -0.0639464483, -0.0083082896, 0.0039645294, 0.0613978356, -0.0037890431, -0.041052863, 0.0132170357, 0.0079810238, -0.04129133, 0.0799239352, 0.0004520589, 0.0103467079, -0.0804443508, 0.0124645373, 0.0500471555, -0.0189982913, -0.0129388534, 0.0297498144, -0.1099093407, -0.0544901006, -0.0033314344, 0.0408528596, 0.0090320474, 0.0390069671, -0.0324897654, -0.0410020798, 0.012917662, 0.0150044924, 0.008916175, 0.0238386765, 0.0419180095, -0.0652705133, -0.0028794515, 0.0675757006, -0.0538825914, 0.0338833034, 0.0337892771, 0.0042613982, -0.0063985516, 0.0091061266, 0.0086069843, -0.0024974919, 0.0798528641, 0.0140925329, 0.0204868149, -0.0420294553, 0.0445709974, 0.0174874831, -0.0056414679, -0.0384080969, 0.0031689454, -0.0061052828, 0.0007277763, 0.0069295201, -0.0361490324, 0.013120668, -0.0525457971, -0.0390442871, 0.0237778015, -0.0390983149, 0.0101760216, 0.0421749726, 0.0388804376, -0.0302912872, -0.0097061386, -0.0038822754, 0.0106626153, -0.012329231, 0.003237528, 0.0317207128, 0.0454647206, -0.0923341215, 0.0102046048, -0.0410503298, -0.0738161057, -0.0390336514, 0.033962395, 0.0633943006, -0.0421879105, 0.005307524, 0.0088506825, -0.0040182187, -0.0244134422, 0.0018872301, -0.0115969386, -0.0258766953, 0.0179740284, 0.0114569832, 0.009360522, -0.0068823099, 0.0667218864, -0.0132735549, 0.0117798997, 0.0121273575, 0.0231512394, -0.0377095602, -0.0015003016, 0.0246882793, 0.0141426334, 0.0061530815, 0.0303062089, -0.019689396, -0.0752189234, 0.0323848277, -0.0303284768, 0.0061081885, 0.0186481662, 0.0702202395, 0.0328112133, 0.0005361437, 0.0139819067, -0.0292325094, -0.0035081704, 0.0254588202, -0.0238779746, -0.0005729042, -6.662294231e-33, -0.0248606559, 0.0204657335, -0.0121402387, 0.0667212084, -0.0431209654, -0.0035548559, -0.0539215282, 0.0189455673, -0.0422214344, -0.0079539996, -0.0263617914, -0.0031675368, 0.000220145, 0.0382745154, -0.0077742236, -0.0264804829, 0.0305026062, 0.0124295428, -0.008334741, -0.0029995684, 0.0473820604, 0.0365452953, 0.0761745572, -0.0237785839, 0.0014521731, -0.0014827637, 0.0249838624, 0.0386650302, 0.0210694503, 0.0591605678, 0.0030820195, 0.0471661724, 0.0083244508, -0.0845418274, -0.049645301, -0.0048857098, -0.073216401, -0.0309826378, -0.0064411308, 0.0095400382, -0.0523059666, -0.0292375591, 0.0956422985, 0.0037849541, -0.016829906, -0.0517234839, 0.0375089981, -0.0193440691, -0.0565675125, -0.0442740396, -0.0858801007, 0.0262342282, 0.0038155583, -0.0557440519, 0.0403087661, 0.0509496108, -0.0064324159, 0.007212487, -0.0331288427, -0.023572864, 0.016520666, 0.0592428334, 0.0425852463, 0.0541219115, -0.0005322237, 0.0170601774, 0.0102859559, 0.0495866835, 0.0385471769, -0.0334350094, 0.0456232205, 0.0175271966, 0.0652011558, -0.03393282, 0.0345759653, -0.0575740747, -0.0350947343, -0.0259030741, -0.0286274105, 0.029002849, 0.0367980376, 0.0143262791, 0.0058800685, -0.0199733581, -0.0465259887, -0.0233095549, -0.0316342488, 0.0302484557, 0.0095004812, 0.0282874797, 0.0160150118, 0.064125739, 0.0688264892, -0.0124877915, 0.0615344308, -0.0106513081, 0.0207959246, 0.0296461936, 0.014937005, 0.0363107771, -0.0561167337, -0.0125854621, -0.0204868745, 0.0108596589, 0.0219402537, -0.0083623994, 0.0550950766, 0.0169913583, -0.0547151901, -0.030295657, -0.0291208662, 0.0138380649, 0.0225636158, 0.0821751133, 0.0630817488, 0.0020690039, -0.0107245678, 0.0903893709, 0.0132210162, -0.0437724814, -0.005344423, 0.00376338, 0.0251002852, 0.0156725291, -0.0389039144, 0.0044019502, -0.0202551316, 0.0259963088, 0.041519586, -0.0693663433, -0.0111969495, 0.0363999158, 3.037e-7, 0.0201389845, 0.0301435906, 0.0089700669, -0.03175506, -0.0006886491, 0.0035998228, 0.0146647766, 0.0586797446, -0.014792446, -0.0128126191, 0.008831121, -0.0172525495, 0.0276170988, -0.0411051884, -0.1245759502, -0.006353125, -0.0582353324, 0.0594674423, -0.0141582359, 0.0152975004, 0.0321067497, 0.1267993897, -0.0042776908, 0.0126778483, 0.0087748822, -0.0019497093, 0.060427282, -0.0138083203, 0.0313796215, 0.0283666123, 0.0164937843, 0.0047915811, -0.0367532149, -0.0062442636, -0.0182723459, 0.0623508282, 0.0207319297, 0.0472097658, -0.0251600631, -0.0246254019, 0.0310031082, 0.0042499769, -0.0298876204, -0.0760009438, 0.0349068679, -0.0842588469, -0.0261024758, -0.0338537656, 0.0167030711, 0.0337098911, -0.0097275805, -0.0138488235, 0.0135426195, 0.0250286143, 0.0346344411, -0.0306480657, 0.0026561744, -0.1188085973, -0.003903751, 0.0330277979, -0.0444345362, -0.0081454972, -0.0574562512, -0.0151969921, 0.0658137724, 0.0021559694, -0.0191101506, 2.547440899e-34, 0.0202696305, -0.0326940082, 0.0106021166, 0.0142054809, 0.0038260594, -0.0432889611, 0.0240045562, 0.0099380091, 0.051027447, -0.0794642419, -0.0547161885 ]
http://arxiv.org/abs/2406.14035v1
http://arxiv.org/pdf/2406.14035v1
Two Giraffes in a Dirt Field: Using Game Play to Investigate Situation Modelling in Large Multimodal Models
2024-06-20T06:56:19
2024-06-20T06:56:19
Sherzod Hakimov, Yerkezhan Abdullayeva, Kushal Koshti, Antonia Schmidt, Yan Weiser, Anne Beyer, David Schlangen
cs.CL
cs.CL, cs.AI
While the situation has improved for text-only models, it again seems to be the case currently that multimodal (text and image) models develop faster than ways to evaluate them. In this paper, we bring a recently developed evaluation paradigm from text models to multimodal models, namely evaluation through the goal-oriented game (self) play, complementing reference-based and preference-based evaluation. Specifically, we define games that challenge a model's capability to represent a situation from visual information and align such representations through dialogue. We find that the largest closed models perform rather well on the games that we define, while even the best open-weight models struggle with them. On further analysis, we find that the exceptional deep captioning capabilities of the largest models drive some of the performance. There is still room to grow for both kinds of models, ensuring the continued relevance of the benchmark.
[ 0.0350815468, 0.0495211035, -0.0142329149, 0.0479700491, -0.0435307994, 0.0044236379, 0.0195210949, -0.0251969937, -0.0169274807, -0.0849832743, -0.038959872, -0.0353259034, -0.0092785591, 0.0633559152, 0.0098134754, -0.089716129, 0.014399508, -0.0435796343, -0.0002630955, 0.0133851282, -0.007819212, -0.0302174408, -0.0494355634, 0.042593535, -0.0314846784, -0.0094605759, -0.0454867855, 0.001000455, 0.0138461236, -0.0488656648, -0.0233255401, 0.0441374034, 0.0647403374, -0.0017688108, 0.0000020526, -0.0112572005, 0.0149536896, -0.0254540518, 0.0259627532, -0.0056312438, 0.0691509247, -0.0047276276, 0.0181873795, -0.0460386947, -0.0046997783, -0.01979509, 0.0730526, 0.0416618697, 0.0839246362, 0.0461425446, -0.0040413886, -0.057908088, 0.0010244569, -0.0170236826, -0.0062637753, -0.0694824085, -0.0012518832, 0.0629525706, 0.046580933, -0.0208298694, -0.0322781429, 0.0351276882, 0.0023780048, 0.0027538612, 0.0002758753, 0.0567700602, 0.0044083078, -0.007842253, -0.0068839751, 0.0969318449, -0.0094542028, 0.0453348793, -0.0077394568, -0.0108501529, 0.0108480118, 0.0195865892, -0.0220998917, 0.0279191099, 0.0100924112, 0.0075979452, -0.0532134622, 0.0716563836, 0.0242265239, -0.011240853, 0.011562801, -0.0049727699, -0.0051360885, 0.0196242947, -0.0286418162, 0.0134279039, -0.0521771125, -0.0740834996, -0.0067910347, 0.012461476, -0.0368293189, 0.0138911186, -0.0318529382, 0.0130066257, -0.0150167327, -0.0713378266, 0.0521070696, 0.0215814412, -0.0099188313, 0.0832581744, 0.0382902734, 0.0340095423, -0.0382025167, -0.0046756477, -0.0305796433, 0.025901407, -0.067314662, 0.0013722857, -0.0508065782, 0.023070693, -0.0476071388, -0.0593363307, 0.0067926971, 0.0184850022, -0.0207961723, 0.0233756807, -0.0216635, 0.0483646505, -0.033075653, 0.0081659015, -0.0591718107, 0.023059411, -0.0252208095, 0.0117481295, -0.0029990815, -0.0330470689, 0.022482954, -0.0103525696, 0.002260085, -0.0251569133, -0.0194738843, 0.1042543277, -0.0309567619, -0.0197215471, 0.0196543057, -0.0184083376, -0.0365821272, -0.0758997127, 0.022734927, -0.03225182, 0.0280362144, -0.0370209068, 0.0239742566, -0.0417039394, -0.0047254441, 0.0049822978, 0.0232288279, 0.1120981425, 0.0451781005, -0.0043880949, 0.0246394798, 0.0324962735, -0.020127086, 0.0789821967, 0.0517540872, 0.0499914214, 0.0206184853, -0.0133718904, 0.0362018608, 0.0408043973, 0.0045933728, 0.0110267587, -0.0233193859, 0.0190040488, 0.019747572, 0.0952664092, 0.0051720734, 0.0202621836, -0.0364680253, -0.0269425269, 0.1016826928, 0.0390505902, 0.0080422023, -0.0204448011, 0.0287875999, 0.0004557919, -0.0033612691, 0.0356122442, -0.0305256043, 0.0710933357, 0.0019744062, -0.0069303215, 0.015154846, 0.0121351229, -0.0204836, -0.0460284762, -0.0029628249, -0.0050433958, 0.0035855474, 0.0078955041, 0.0151174907, -0.0180473421, -0.040068496, 0.0012027329, -0.0085883746, -0.0177164152, -0.0156175038, -0.0272185355, 0.0017220743, 0.06084859, 0.0418344475, -0.0412167199, -0.0535748042, -0.0113079175, 0.005805912, 0.0455168933, 0.0675924122, 0.000872524, 0.0404578149, -0.00704274, -0.0398891568, -0.0607126951, 0.0146570643, 0.0306045916, -0.0381429382, -0.0108068353, -0.0111802993, 0.004921108, -0.0124070914, 0.0203576963, 0.0313261859, -0.0398578197, -0.0418178178, 0.0119973253, 0.0312321503, 0.0053271595, -0.0170092955, 0.0107384576, 0.0212843902, -0.0103550367, 0.0063344478, 0.033923097, -0.0581416748, -0.0370496884, 0.0020008502, -0.0563399158, -0.0252959039, 0.0085297711, -0.0301528648, -0.0075513464, 0.0246557798, -0.0482111201, 0.0146674206, -0.018996425, -0.0004600139, 0.010289127, -0.0088835359, -0.022990087, 0.0648230091, -0.0217802394, -0.02400521, 0.0094198463, 0.0003565344, 0.0036360149, -0.0537659265, -0.0256148521, 0.0379844084, 0.0229779854, 0.0200555306, 0.035296075, -0.015731683, -0.049877014, -0.0266365185, -0.1022490039, -0.0165660735, -0.0067844372, -0.0386970267, -0.0009621328, -0.0264228359, 0.0105352923, -0.0108874701, -0.0199116804, 0.0038472209, 0.0098187895, 0.0263331123, 0.0248864181, 0.0665746927, 0.0173705015, -0.0427736305, 0.0283804517, 0.0048985663, 0.0810056254, 0.0123771215, -0.0006600362, -0.0118120313, 0.0097455978, -0.0499774888, 0.0521850623, -0.0285874736, -0.0180976335, 0.0555876978, -0.0134996837, 0.0370253697, 0.0360119864, 0.0118330661, 0.07652165, 0.0439105704, -0.0413745083, -0.0267351605, 0.0281746145, 0.0076716789, -0.0326829255, -0.0448508635, -0.0459190458, -0.0031442672, 0.0643550754, -0.030332841, 0.0382290259, -0.0443194285, 0.0611789301, 0.0068075038, -0.0884796232, -0.0526877157, 0.0131953303, -0.0020670926, 0.0085535496, -0.0413784645, 0.0074242395, 0.0401775166, -0.0309953876, -0.003791139, 0.0053762062, 0.0268966295, -0.0120709017, 0.124597095, 0.0391785093, 0.0211502351, 0.0262493808, 0.0255699251, -0.0374276452, -0.0293622557, 0.0514866672, -0.0244171694, 0.0177123286, -0.0685256645, 0.0044871843, -0.0019939931, -0.0470045507, -0.0160375051, -0.051065173, -0.0480747595, 0.0015904419, -0.0167593732, 0.0324000828, -0.0560013466, 0.0600891225, 0.0388716683, -0.0019710336, 0.0164986476, -0.0219965279, -0.0348165408, 0.0549838245, 0.0621358156, 0.0514216311, -0.0577702895, -0.0427027568, 0.0345245898, 0.0251439158, -0.028856542, -0.0092630256, -0.0727179646, 0.0289613865, -0.0010921264, 0.0069289668, -0.0375645049, 0.033625897, 0.0564528704, -0.0404516906, -0.0023134223, 0.0685033053, -0.0016022795, -0.0163209941, 0.012447603, 0.0120611209, 0.0106705818, 0.014119626, -0.0116063235, -0.0169964749, -0.0544066802, 0.0023342234, -0.0419093817, 0.0272940062, -0.0312586762, -0.0002566046, -0.0971311331, 0.0319619626, -0.0153331691, -0.0622720383, 0.0009574683, 0.0093448414, 0.0117987841, -0.0252823886, -0.0345967263, -0.0105915414, 0.0065924576, -0.0012631888, 0.0023603998, 0.0314902589, -0.0168339889, 0.0069877813, -0.0669184476, 0.048340749, 0.0546236075, 0.0287266523, -0.0010016012, -0.0217699204, 0.0058390331, 0.0555820502, 0.0132878041, 0.0130763175, 0.0666090101, -0.0533244312, -0.0191837735, 0.0138151003, -0.0136676645, 0.0318433717, -0.0144311991, -0.0147030009, 0.0168781783, -0.0084613627, 0.0068876548, -0.0515302867, 0.0257857349, 0.0465687737, 0.045793511, -0.0076961024, -0.0491166189, -0.0128516257, -0.0077248123, 0.0027897882, -0.0610554852, -0.0479229279, -0.0249106698, 0.026461117, 0.0111203194, -0.0577720366, -0.0479589105, 0.0067968862, 0.0316442326, -0.0150355473, -0.017891923, -0.0019000911, 0.0479007065, -0.0299187358, 0.0326672643, -0.026275672, 0.0077545433, -0.0131777218, -0.0178148989, 0.0404179692, -0.0499287657, -0.012250145, 0.0488000251, -0.0478767827, -0.0058633764, -0.025791999, 0.0714744925, 0.0152944447, 0.0067452495, 0.0376228355, -0.0543513335, -0.0163560268, 0.0123262852, -0.0189415962, 0.0087845121, 0.0108005684, 0.0022809156, -0.0114584193, 0.0033125214, -0.0461896844, 0.009160486, -0.0163640231, 0.0197024811, -0.0101190871, -0.0640569776, 0.0070190323, -0.0484821759, 0.0472147912, -0.0154134603, -0.0423413664, -0.0037557802, -0.0161112733, -0.040201094, -0.0254140627, -0.0402908809, 0.0067801909, 0.0018495625, 0.048839286, 0.0236125719, 0.0203202721, 0.0057225935, 0.0208893102, -0.028130725, -0.038281098, 0.0838224739, -0.0460482799, -0.0228144601, 0.0306342877, -0.0056056273, 0.0263569895, -0.0469130352, 0.0109745655, 0.0127312681, 0.0397453457, 0.045192413, -0.0306968782, -0.007910111, 0.0573072545, -0.0257467087, 0.0060772845, -0.0346520692, 0.073087424, 0.0814182386, 0.0052460898, -0.0043830415, -0.0142633291, -0.0070963814, -0.0042132959, 0.0126945069, 0.0294980966, -0.0646870881, 0.0399365947, 0.0429561138, 0.0162965376, 0.0069015594, 0.0420481674, 0.0462292954, 0.0478165448, 0.0168531854, -0.0158252157, -0.0374444537, -0.0171797536, 0.0183689725, 0.0554741286, -0.0043038987, 0.013395546, -0.0461317301, -0.0528309382, 0.0072707064, 0.066605933, -0.0105097983, 0.0006976185, 0.0595235527, 0.0448625535, 0.0219531599, -0.0183837637, -0.0343718641, 0.0236839149, -0.0371344686, 0.0132314404, -0.0108864941, -6.055472088e-33, -0.0459143631, -0.0315126292, 0.050317429, -0.0509636514, -0.0480914935, 0.0040637283, -0.0367129184, 0.0240744911, -0.0028039436, 0.02068308, 0.0274172109, -0.027064804, -0.0046851686, -0.0034744686, -0.0082297903, -0.0339890458, 0.0318435803, -0.017029766, -0.0590950735, -0.0069881375, 0.0098317154, -0.0160946697, 0.0305677708, -0.057533782, 0.0120824948, -0.0078746518, -0.0552572906, 0.0216880385, 0.0067767482, 0.0619178414, -0.0655398592, -0.0062822788, 0.0272774473, -0.0344203003, -0.0188414901, 0.010396895, -0.0312797986, -0.0077176904, 0.0317928456, 0.003741879, -0.0812912881, -0.0141773541, 0.0044270726, 0.0211357977, -0.0216920692, -0.0196860041, 0.0361960009, -0.0251965597, 0.0111205047, 0.0436435863, -0.0566917844, 0.0117458347, -0.0318024345, -0.0759297013, 0.0424409434, 0.0277777184, 0.0258736815, 0.0149616143, -0.0142839225, 0.0264538378, 0.0083033452, 0.0137256756, 0.0876814425, 0.0444068983, 0.0201457664, 0.0825759247, -0.00080813, 0.0011283522, -0.0874224976, -0.0502765439, 0.0041266289, 0.090323858, 0.03658057, 0.0763187259, -0.0121648889, 0.0456944257, -0.0327939652, 0.0353173949, -0.0542001314, 0.0336729139, 0.0299392268, 0.0497159883, -0.0205589663, 0.0167082548, -0.0491554737, -0.0140726613, -0.0280359667, -0.0183499008, 0.0291442946, 0.0001243037, -0.0170647111, 0.0377000161, 0.0783492401, -0.0486279503, -0.0125147859, -0.0096931104, -0.0002462952, 0.0757724941, -0.0173830781, 0.0017745069, 0.0063230158, -0.0316033624, 0.0534831882, 0.0342796296, 0.0243651532, -0.0019161423, -0.0226592179, 0.0393640846, 0.0088376962, -0.0103010898, -0.0442065261, 0.0020317975, -0.0137007469, 0.0230247285, 0.0337087996, -0.0269297995, -0.0519053675, 0.0250688773, -0.0084055644, -0.0248330496, -0.0240455456, -0.0205657966, -0.0184843, -0.0039768857, -0.0051420298, 0.0244284365, -0.051365748, -0.004981176, 0.0111749889, -0.0229285974, -0.0292576179, 0.0189961232, 2.688e-7, 0.0106147146, 0.0256523024, 0.028910974, 0.0124139031, 0.0324059799, 0.0843866095, -0.0395213999, 0.0506642982, -0.0030513138, -0.0738248229, 0.0477149338, 0.0590640157, 0.0338130519, 0.0075999675, -0.0136190346, -0.0062134317, -0.0494402014, 0.0107700592, -0.0226052459, -0.0297216754, 0.0480020009, 0.0547211915, 0.0010586575, -0.0043241158, 0.0014740321, -0.0293132793, 0.0772293285, -0.0730847344, -0.0236543324, 0.0052118041, 0.0143726068, 0.0322385989, -0.047322575, -0.0133146597, 0.0054252669, -0.0109510943, 0.0464149341, 0.0456844196, -0.0160561837, -0.0401271991, -0.0557174794, 0.0190898925, -0.0207744762, -0.0550634116, 0.0871537626, -0.0835043713, -0.0310271382, -0.0352397189, -0.0226554107, -0.0148434844, 0.0140952682, -0.006638851, -0.0566401333, 0.008962471, 0.0095409648, -0.0071557709, -0.0261870828, -0.0546209365, -0.0294250716, -0.013262921, -0.0531826019, -0.0106297685, -0.0482306778, -0.0392900296, 0.0451298952, -0.0734995231, -0.0262739286, 1.574611302e-34, 0.0385158844, -0.0051470618, 0.0058501111, -0.0461528562, 0.0239593945, 0.0128699942, -0.0463598669, -0.0258242022, 0.004923339, -0.0556497015, -0.0073985634 ]
http://arxiv.org/abs/2406.14026v1
http://arxiv.org/pdf/2406.14026v1
Demystifying Forgetting in Language Model Fine-Tuning with Statistical Analysis of Example Associations
2024-06-20T06:46:23
2024-06-20T06:46:23
Xisen Jin, Xiang Ren
cs.LG
cs.LG, cs.CL, stat.ML
Language models (LMs) are known to suffer from forgetting of previously learned examples when fine-tuned, breaking stability of deployed LM systems. Despite efforts on mitigating forgetting, few have investigated whether, and how forgotten upstream examples are associated with newly learned tasks. Insights on such associations enable efficient and targeted mitigation of forgetting. In this paper, we empirically analyze forgetting that occurs in $N$ upstream examples while the model learns $M$ new tasks and visualize their associations with a $M \times N$ matrix. We empirically demonstrate that the degree of forgetting can often be approximated by simple multiplicative contributions of the upstream examples and newly learned tasks. We also reveal more complicated patterns where specific subsets of examples are forgotten with statistics and visualization. Following our analysis, we predict forgetting that happens on upstream examples when learning a new task with matrix completion over the empirical associations, outperforming prior approaches that rely on trainable LMs. Project website: https://inklab.usc.edu/lm-forgetting-prediction/
[ -0.0013765406, 0.0275884252, -0.0506575368, 0.0438823849, -0.0095151868, 0.0212545767, -0.0394795313, -0.0292810481, -0.0084058838, -0.0148969404, -0.024166692, 0.0030852167, 0.0410040505, 0.0021236367, 0.0517388657, -0.0272224359, 0.0751411691, -0.0579923838, -0.0452438183, -0.0181695707, 0.0080563109, -0.0028671089, -0.0007881888, 0.0338051058, 0.0033678678, -0.0181679185, -0.0285139065, -0.0319204219, -0.0122034634, -0.0043005864, 0.0105868131, 0.0250578746, 0.0128833344, -0.0002900148, 0.0000018468, -0.0677791834, -0.0219252985, -0.0274592061, -0.0135521563, 0.0299580209, -0.0184512902, 0.021739617, -0.0169626437, 0.0257025231, -0.0192232896, -0.0012301379, 0.0353845023, 0.0050018192, 0.0248858333, 0.0272788666, 0.0158707146, 0.026539484, 0.0307823513, -0.0238212533, 0.0271658283, -0.0238038488, 0.0236275569, -0.0149750262, -0.0408577435, -0.0242227763, -0.045840174, 0.0385286584, -0.0227618385, 0.0288929865, 0.0026597173, 0.0413099229, 0.0128074372, 0.0041059661, 0.0095453924, 0.0286004413, -0.020780351, -0.0259726141, 0.0165203996, -0.0168299917, 0.0048369695, -0.0012523269, -0.0817640349, -0.0009529853, 0.009336642, 0.0096367989, 0.0236219782, -0.0766575783, 0.0385894068, 0.0094938856, 0.0109070614, 0.0507146604, 0.0286306813, -0.0159552731, -0.0368435718, -0.0109877167, 0.0099142343, -0.0192080978, 0.0071713459, 0.0438068546, -0.0350692384, 0.0448801443, -0.0038635309, -0.0682590529, 0.0374725685, -0.0275412202, 0.0934327021, 0.0263313819, -0.0330995917, 0.0424576998, -0.0692240819, 0.0538571738, -0.0069700126, 0.0172441062, -0.0034110243, 0.0258587021, -0.042625159, -0.009211679, -0.0378187262, 0.0219537206, 0.0374726281, 0.0424230583, -0.016435463, 0.0627119243, -0.0171920639, 0.0385895558, -0.0282008853, -0.0146242986, -0.0531510115, 0.0081008244, -0.0547799319, 0.0357194357, -0.0232150294, 0.0417004265, -0.004572568, -0.0245337971, -0.0218428075, -0.0388504528, -0.0071171969, -0.0234202109, 0.026932925, 0.0823032409, -0.0039706999, -0.0351212136, -0.0499986261, -0.0124266408, -0.0026360073, -0.0577678643, 0.0083901808, -0.0586901642, -0.0010265702, 0.0435887352, 0.0070906798, -0.0488154441, -0.0106589133, 0.0069490611, -0.0689346641, 0.0470300131, 0.0207888912, 0.0117283277, 0.0152222998, -0.0202869419, -0.0144541515, 0.0772911161, 0.0277000647, -0.0081019187, 0.0144879846, -0.0241614487, 0.0303636547, 0.0365472063, -0.0018126999, 0.0356279053, -0.0322817937, -0.0306671038, 0.0492337868, 0.0119718816, 0.0443430096, 0.0203079842, -0.0025860362, 0.020793682, 0.0533572435, 0.0239804015, -0.010459316, 0.031814225, 0.0059669008, -0.0492145419, 0.0119410465, 0.0423764028, -0.0757220536, 0.0377459638, -0.017870903, 0.0084889503, 0.0111334603, 0.0542576239, -0.0460231155, -0.0249650627, 0.0084502846, -0.0213515274, 0.0093073677, -0.005450564, 0.0845253766, 0.0431400202, -0.0372723378, 0.053464815, 0.0343272537, -0.0413786694, 0.0451662019, -0.0558020324, 0.0223742481, 0.0374400206, 0.0431666598, -0.038703002, -0.0193533991, 0.0141653521, 0.0230519306, -0.0549030192, 0.0395262428, -0.0029749628, 0.029394133, -0.033397112, -0.0135283126, -0.0001372392, 0.0383850783, 0.0029011439, -0.0263193119, -0.0097347116, 0.0041732122, -0.0522394329, -0.0596481003, 0.0416641161, -0.0512813218, 0.0157108959, -0.0108436821, 0.0001505047, -0.0096836928, -0.0194745436, 0.023963362, 0.0068642739, 0.0513861328, 0.007636711, 0.0125172567, -0.0100661591, -0.0301472414, -0.0010522819, 0.0447429307, 0.0223528482, 0.0038175962, 0.037620008, -0.0356533527, -0.0721006989, 0.0620836504, -0.0103970449, 0.0657913387, -0.0108681964, 0.0597616062, -0.0421189442, 0.0041752001, -0.0298822969, 0.0476396307, -0.0114828534, 0.0252551027, -0.043188192, 0.0090707205, 0.0064882603, -0.0275717638, -0.0435553603, 0.0177727211, -0.0131618641, 0.0452393629, -0.0077721304, -0.0543599986, -0.073985219, 0.0020895011, -0.0443332344, 0.0233602617, -0.0209203623, 0.0152401039, 0.0132858232, -0.0208228957, -0.0056429934, -0.045490887, 0.0081142522, 0.0463147163, -0.0079411222, 0.0508628823, 0.0216416176, 0.0078811804, -0.0291275103, -0.0609301515, -0.019463446, -0.018755598, 0.0323270708, -0.0366652794, 0.0050145611, -0.0762326643, 0.0524514727, -0.0285347532, 0.0354238041, -0.0296713356, -0.0220979229, 0.0216446891, -0.02429148, 0.0640627071, 0.0665547475, -0.0171681233, 0.0274608284, 0.1094390079, -0.0163348746, -0.0338842906, 0.0057570799, -0.0396970734, -0.0651111603, -0.0246869661, 0.0207925346, -0.0468332171, 0.061688602, -0.010121718, -0.0246024914, -0.0033585876, -0.0214755274, -0.0240875185, 0.0355987102, -0.0354337431, -0.0221316777, -0.0452693775, 0.0331270322, -0.0100812027, -0.0929945931, 0.0351429023, 0.0057563214, 0.0189410504, -0.0397273414, -0.0014950894, 0.0019837017, 0.0699944422, 0.0199682787, 0.0029871981, 0.0286682937, -0.0369544514, -0.0857623667, -0.0139402309, 0.031253539, -0.0409785509, 0.062653169, -0.0365376882, -0.0290675238, -0.0041862642, -0.0099133113, -0.0473145433, 0.0171232242, -0.0300132371, -0.0053146728, -0.0176183172, -0.0243611224, -0.0013933422, -0.0521359257, 0.0505027398, 0.0016576056, -0.0251005832, -0.0059028016, -0.0398344919, -0.0111555271, 0.0379783027, -0.0044718841, 0.0089574046, -0.0778226629, 0.0068005878, 0.0033659313, 0.078632839, 0.0175726376, -0.024676457, -0.0023943996, 0.0195570048, -0.0016673073, -0.0623658039, 0.042916555, 0.0359727666, -0.0629514754, -0.0182900839, 0.0450372249, 0.0104080774, -0.0688451976, 0.0194095057, 0.0104542719, 0.0486512668, 0.0614796951, 0.0294056516, -0.0267217197, 0.0082573937, 0.0339183882, 0.0123183085, 0.0129903127, -0.0130904857, -0.0109565463, -0.0911681801, -0.0158795901, 0.0173727013, -0.0667328089, -0.0106803784, -0.0520207994, 0.0058550062, -0.0141398506, 0.0404336527, 0.036685437, -0.0228179637, 0.0155262826, 0.0476183705, -0.0177130252, -0.0910994187, 0.0118751265, -0.0459927544, 0.0811987296, 0.0499478653, -0.0011199375, -0.0405979417, -0.031981241, 0.081649594, -0.0141166393, 0.0267059002, 0.0128252972, 0.0658771396, 0.043615371, -0.0197287891, 0.0102882655, 0.0114600891, 0.0094689084, -0.020093035, 0.0067563416, 0.0951368362, -0.0125813438, 0.0037526691, 0.027193781, -0.0588736162, -0.0222737361, 0.0479982421, 0.0372660942, -0.0363220535, -0.0203972869, -0.0209672693, 0.0174666569, -0.0211957004, 0.0106956512, 0.0073664095, -0.0318373032, 0.032910835, -0.0413398072, -0.0093396716, 0.0606926754, 0.0068356935, 0.0192894712, 0.0632894412, -0.005640409, -0.0021086552, -0.0416101627, 0.0270315707, -0.0314775519, 0.0155631695, -0.0263020098, -0.0148345018, 0.0230048019, -0.0082695428, -0.0007562334, -0.0198315419, -0.1198639795, -0.0547879897, 0.0300520919, 0.0460154079, 0.0243336093, 0.0223140158, 0.0101798158, -0.0840972364, 0.0022420869, 0.0169057827, 0.0077811377, 0.0345928222, 0.0185780693, -0.0481209457, -0.0116671538, 0.0338927731, -0.0485233031, -0.0419287644, 0.0326459929, 0.0109374002, -0.0107953269, 0.0442907773, 0.0037384576, -0.0292225052, 0.0612881742, -0.014757962, -0.0298241917, -0.0445518978, 0.021868227, 0.0178342927, 0.0007099975, 0.001749187, -0.0148643656, 0.0020944406, 0.0187362544, 0.024828976, -0.0359090343, 0.0065368558, 0.0676451921, -0.0236821715, -0.0179081596, 0.0010860439, -0.0109147718, 0.0682697967, 0.0582141206, -0.0195950028, 0.0236949641, -0.0013856535, 0.0248636771, 0.0100433528, 0.0306700971, 0.0087124621, 0.0044396305, -0.0600794964, -0.0054652682, -0.0469152927, -0.0836662203, 0.006283687, -0.0022574121, 0.0762805715, -0.0478741005, 0.0529868826, -0.012760439, 0.005022604, -0.0389682092, 0.0109043913, -0.0238102656, -0.026190117, 0.0051595322, 0.0171862263, -0.0115783326, 0.0536154322, 0.0773813501, -0.0293171816, 0.0790461451, -0.0213081501, 0.0182846971, 0.00706477, 0.014443743, 0.0227590203, 0.0432664454, -0.0367004797, -0.0493589193, -0.0446229689, -0.0935294554, -0.0377259888, -0.0186787881, 0.0168575943, -0.0301207658, 0.0243645199, 0.0437705033, -0.0248248205, 0.043760132, -0.0367637686, -0.0328197218, 0.0108746449, -0.0304872803, -0.0176117942, -5.786494369e-33, -0.0177401043, -0.0032503456, 0.0149772009, 0.0262037572, 0.0053714956, 0.0013363265, -0.0578973033, 0.0325665809, -0.0336729214, -0.0088376449, -0.0148277711, -0.0010834394, 0.0037461522, 0.0177978408, 0.0483124591, 0.0168838389, 0.0390587263, -0.0102680968, -0.0097735012, 0.0412939601, 0.0593960471, 0.0541587695, 0.0581105724, -0.0323417038, 0.0266643725, 0.0048765265, -0.0227561425, 0.0187707078, -0.0434449688, 0.0645011961, -0.0183905791, 0.0621609688, 0.0206505843, -0.0307206288, -0.0813761801, -0.0321069732, -0.0634984151, -0.0299112033, 0.0023913775, 0.0050555975, -0.0377578363, -0.0015850771, 0.0348312706, -0.0034381729, -0.0393504053, -0.0059558568, 0.0469036363, -0.0302121975, -0.0709192529, 0.0138235986, -0.0069952994, -0.0257059131, 0.002848126, -0.0283751097, 0.0100890594, -0.0388996638, 0.0130741503, -0.0013679072, -0.0330414176, 0.0116349738, 0.0163761117, 0.0749895796, 0.049321793, 0.0366929844, -0.0144712403, 0.0535561033, 0.0344311893, 0.0517339893, 0.0612882897, -0.006568227, 0.0759572759, 0.0182883386, 0.0296981279, -0.0271624308, 0.0371778943, -0.0372619964, -0.0283648558, 0.012110685, 0.0088679222, 0.0651779398, 0.0290022492, 0.0320060663, -0.0008410642, -0.0474212319, -0.0795848072, 0.0095348926, -0.0390455537, -0.0121598672, 0.0112035219, -0.0018779041, 0.0089805769, -0.0374342203, 0.0168637522, -0.0217930507, -0.0551202148, 0.0179507453, -0.0526161529, 0.0290521588, 0.0074205906, 0.0113674942, -0.0349479504, -0.0533265062, -0.0325975157, -0.0133932652, 0.0120916609, 0.0271700658, 0.0647904947, 0.0308510773, -0.0735271424, 0.0233527087, -0.0461900756, -0.0312988572, 0.0462215357, -0.0062693516, 0.0201215781, -0.0075115077, -0.0087699015, 0.0683441013, 0.0493814647, -0.0379681773, -0.061786551, -0.0050216131, -0.0495884232, 0.029424265, -0.0150045119, -0.0315593667, -0.0592066608, 0.0504588746, 0.0918116197, -0.0307777878, 0.0017960293, -0.0262029283, 2.526e-7, 0.0135889901, 0.0356958397, -0.0083571831, -0.0060037426, 0.0326582789, 0.0461146683, -0.0751077756, 0.0256944131, 0.0154995359, 0.0388109125, -0.019261634, 0.011362724, 0.0434243083, 0.0125065902, -0.0452379771, 0.0255767405, -0.0735228956, 0.0245922394, -0.0579004101, 0.000975118, -0.0191421155, 0.0567199923, 0.0552703403, -0.0068460042, -0.0223201737, -0.0509433337, 0.0501958951, -0.0352598764, 0.0129086534, -0.0007809434, -0.0152991088, 0.0537739806, 0.0018770006, 0.0200616475, -0.0364960395, -0.0044013094, -0.0328787863, 0.0124370838, 0.0070158616, 0.000970812, 0.0199659597, 0.0299429838, -0.0087502599, -0.0453113019, 0.0653448105, -0.0462620668, -0.0055193291, -0.0197855849, 0.0363224782, -0.004523797, 0.0267771315, 0.0210837275, -0.0304245744, 0.0118409032, -0.0224413462, 0.0259067584, -0.0275090002, -0.0898714811, -0.0160681643, 0.0752253905, -0.0273843873, -0.0568515472, -0.0344076268, -0.0093423296, 0.0373011306, -0.0580286123, 0.0137805687, 2.296409259e-34, 0.0183819607, -0.0206524488, 0.0273064245, 0.070623979, 0.0220781155, -0.0417384543, -0.0079777204, 0.0591558069, 0.0161681585, -0.0536152348, -0.0307452958 ]
http://arxiv.org/abs/2406.14024v2
http://arxiv.org/pdf/2406.14024v2
LLM Critics Help Catch Bugs in Mathematics: Towards a Better Mathematical Verifier with Natural Language Feedback
2024-06-20T06:42:27
2024-06-30T13:44:04
Bofei Gao, Zefan Cai, Runxin Xu, Peiyi Wang, Ce Zheng, Runji Lin, Keming Lu, Junyang Lin, Chang Zhou, Wen Xiao, Junjie Hu, Tianyu Liu, Baobao Chang
cs.CL
cs.CL
Mathematical verfier achieves success in mathematical reasoning tasks by validating the correctness of solutions. However, existing verifiers are trained with binary classification labels, which are not informative enough for the model to accurately assess the solutions. To mitigate the aforementioned insufficiency of binary labels, we introduce step-wise natural language feedbacks as rationale labels (i.e., the correctness of the current step and the explanations). In this paper, we propose \textbf{Math-Minos}, a natural language feedback enhanced verifier by constructing automatically-generated training data and a two-stage training paradigm for effective training and efficient inference. Our experiments reveal that a small set (30k) of natural language feedbacks can significantly boost the performance of the verifier by the accuracy of 1.6\% (86.6\% $\rightarrow$ 88.2\%) on GSM8K and 0.8\% (37.8\% $\rightarrow$ 38.6\%) on MATH. We have released our code and data for further exploration.
[ -0.0105957957, 0.0631599426, 0.0231657252, 0.048119653, -0.0024891945, 0.0037476665, 0.0198062863, 0.0276919361, -0.0238277502, -0.0355520025, -0.0098768463, 0.007880996, -0.0003834564, -0.0004848731, 0.0677987933, -0.0441946536, 0.0275347494, -0.0468408316, 0.0211929455, -0.0205522571, -0.0147636821, -0.0238680337, -0.0443966091, 0.0058981185, -0.0314430892, -0.034867622, 0.0042987168, -0.0447457843, 0.007908632, -0.0577965081, 0.000076153, 0.0646379441, -0.0188875012, 0.0665016919, 0.0000022506, -0.0631850287, -0.0035886846, 0.0222165082, -0.0874153376, -0.0218338221, -0.0203387495, -0.0086636087, -0.0143528907, 0.0088374251, -0.0384822749, 0.0321783163, 0.0258462448, 0.0408381745, 0.0861311108, 0.0767365471, 0.0071860636, -0.0359858312, 0.0180408638, 0.0077859866, 0.0607398599, -0.0336333439, 0.0015667065, 0.0236772001, 0.0117123043, 0.0355498642, -0.018824609, 0.0024152943, 0.044139456, -0.0223618355, 0.0025389954, 0.0027385426, -0.0033053113, 0.0071263672, -0.0181970801, 0.0436154939, 0.0075758589, -0.061612349, -0.038316559, -0.0181972198, -0.0185914319, 0.0059187254, -0.0215673447, 0.0233871564, -0.0289677549, -0.0199335814, -0.0192055516, -0.0065413173, 0.0390424691, 0.0231740698, 0.003480355, 0.0587214194, -0.0042022881, -0.0599996708, 0.0298807211, 0.0392926075, -0.0427217744, -0.067074582, 0.021137476, 0.0456943773, 0.016152706, -0.0127400588, -0.0007277179, -0.0426394679, -0.0096617751, -0.0216556992, 0.012745183, 0.0182183255, -0.0047951154, 0.0061423709, -0.0230277237, 0.0269546118, 0.0043220874, 0.0762022436, 0.016500704, 0.0258779246, -0.0076102722, 0.0115576945, 0.0161059555, 0.0546370335, 0.0418537818, 0.0561697036, -0.0493981875, -0.0183755513, -0.0556987934, 0.065361768, -0.0322689936, -0.0072640246, 0.0269847624, -0.0331218205, -0.0774117559, -0.0180758033, -0.0476976335, 0.0132672973, 0.0078404555, -0.0377308056, -0.0275004655, 0.046814777, -0.0331818759, 0.0184921678, 0.0357558727, 0.073966302, 0.0310975704, 0.0167088378, -0.0163086671, -0.0118613476, 0.0200275499, -0.0592060983, -0.0243736897, -0.0896006972, -0.010534076, -0.0062960042, -0.0153049408, 0.0010438382, 0.0020080877, 0.025400117, 0.0288306121, 0.0869057104, -0.0603043176, -0.0318144076, 0.0060658194, -0.0060848496, -0.0228924807, 0.0023779934, 0.0545844622, -0.0331675708, 0.0429545604, -0.0212432705, 0.043835979, -0.0037676007, 0.0429450236, -0.0104498509, 0.0133761661, -0.0039857253, -0.0185264349, 0.0369825326, -0.0343574509, 0.0284148771, -0.0624469444, 0.0051253811, -0.0113795968, 0.0611095168, 0.0141615579, 0.0139974579, -0.0050170263, 0.0001333116, 0.0320537388, -0.0226518679, -0.0716164559, 0.0164434034, -0.0593925565, 0.0071641468, -0.0099877156, -0.0564604327, -0.0061952444, -0.1266026944, -0.0341685452, -0.0033204474, -0.0285614599, 0.0241878573, 0.0865653977, 0.0171274357, -0.0107361097, 0.0513867885, 0.019398002, -0.0560962334, -0.0193954017, -0.050017409, 0.0861712545, -0.0150862364, 0.0315389074, -0.0421192273, -0.0118396142, -0.0379891172, 0.008269106, 0.0237633251, 0.0557293035, -0.0107478583, -0.0345017724, -0.0377847254, -0.0202824082, -0.0174662918, 0.0073592807, -0.0199482236, 0.0644719303, 0.0081905611, 0.0212642793, -0.020681303, -0.0344857462, 0.0437804796, 0.035481669, -0.0554740913, 0.0321035795, -0.0102693159, -0.013517648, 0.017262483, 0.0161949936, 0.0118928403, 0.0003794113, 0.0050383997, -0.0211469755, -0.0066680517, -0.0173148718, -0.0569013208, 0.046276018, -0.0506023765, -0.0343330503, 0.0106395669, -0.0716227442, -0.002127059, 0.0289745722, -0.0158393327, -0.033285059, -0.0183081087, 0.0045742448, -0.0176732447, -0.0485257506, -0.0135296248, 0.0332128853, 0.0338687375, 0.0125240767, -0.0553695746, 0.0332406163, 0.038045723, -0.0156260915, -0.0152089931, -0.0125239035, -0.0163374059, 0.0430560112, 0.0167007223, 0.0310017392, -0.0206874013, 0.0027102237, -0.0188332964, 0.0084562851, -0.0099874949, 0.067704767, -0.0061591482, -0.0596992821, 0.0092022149, -0.0380845405, -0.01861725, -0.0241419319, 0.0333819836, -0.0543034784, 0.0443593971, -0.0196199026, 0.0015047075, -0.0322882161, -0.0202828106, -0.0580103062, 0.0365721099, 0.0431714468, 0.0255057719, -0.067918621, 0.0134977773, -0.0178355947, -0.0069658835, 0.0003765282, 0.0458786823, 0.0687391832, 0.0037349267, -0.0536966734, 0.0086568156, 0.0120216748, 0.0101866685, 0.0054408968, 0.0236878507, -0.0565584749, 0.0091075348, -0.0156381261, -0.0138471685, 0.0192943048, 0.0377076268, 0.0149986092, 0.0542120486, -0.0366433188, -0.0167516712, -0.0269216038, 0.0488062613, 0.0077619748, 0.0326112546, -0.015078974, 0.0201382656, -0.0189543683, 0.0764880329, 0.0010752631, -0.0632325038, 0.075241223, -0.0114969434, -0.0177173708, -0.0548655614, -0.0206016824, -0.0562444255, -0.0313372612, -0.0091251517, -0.0517232344, 0.0252366625, 0.0240589175, 0.0286179315, -0.0424204692, 0.0670526102, -0.0246637277, 0.0598527603, -0.0261276476, 0.023184754, -0.0260921307, -0.0536044165, -0.0440525413, 0.0173222292, -0.059552215, -0.0051787533, -0.0395226479, -0.0004313482, -0.0130064711, -0.023154052, 0.0140126133, 0.0178988241, -0.039291162, -0.0437996425, -0.0070017441, -0.039601326, -0.0335083306, 0.0347206518, 0.0671030879, -0.0548678301, -0.0077774273, 0.034134388, 0.0441754125, 0.0241869874, -0.0657361448, -0.0193817653, -0.0017038783, -0.0460415855, 0.0152368285, 0.0217138976, 0.0288682021, -0.0741649792, 0.007527228, 0.077784501, 0.0044507137, -0.0223826952, -0.0023124402, -0.0652134269, 0.005014041, 0.0257980619, 0.0170700047, -0.1018354222, -0.0398441702, 0.003346327, 0.0596602857, 0.024823539, -0.0045944378, 0.0081585674, -0.1149864271, 0.0307986997, 0.0258547701, 0.0061311484, 0.0052840146, -0.0480931737, -0.0029653686, -0.012648969, -0.0205729138, 0.0090037435, 0.0151305106, 0.0312941894, 0.0385959111, -0.0532186106, -0.0269751027, 0.0116426041, -0.0516491868, -0.004604571, 0.0172228999, -0.0163299851, -0.0337227061, -0.0848840848, 0.0266135335, 0.0466770642, -0.0151170632, -0.0049631339, 0.044209335, -0.0415838808, 0.0114258081, -0.0370020904, 0.0141550684, -0.0572026633, -0.0221819077, 0.0467269756, 0.092869781, -0.0167854037, -0.0097497767, -0.0203424748, 0.0276360344, -0.0554540753, 0.0296097733, 0.0072144656, 0.0324878916, -0.072746098, -0.0510837659, -0.0140065039, -0.0654137358, -0.0673101395, 0.0000167856, 0.0535956211, 0.0005044944, -0.0247757025, -0.0183310844, 0.0106364405, 0.0672320575, -0.0286446288, -0.0306166373, -0.01180794, -0.0164344218, -0.0186874978, 0.0531313866, -0.0309091005, 0.0427978225, -0.0475651696, 0.0420563444, -0.0050161076, 0.017980963, -0.0067562703, 0.0323324241, -0.0863990709, -0.0436929315, -0.0851543397, 0.0591745302, 0.018991679, 0.0544605814, -0.016082162, -0.0008592146, 0.0219611283, 0.0349417739, -0.0170959886, 0.0070914086, 0.0570318885, 0.0083854692, -0.0002494122, -0.0181498379, -0.011562705, -0.0121808806, -0.0004288768, 0.0093333023, -0.040537335, -0.0232617762, -0.0060299486, 0.0447266288, 0.046578031, -0.003196825, -0.0131273726, 0.0041515473, 0.0363842994, -0.0007747752, -0.0081925625, 0.0048377365, 0.0439063124, -0.032653451, -0.0527902581, -0.0015029229, -0.0226740334, -0.0346252061, 0.0509939045, 0.0177676901, 0.0882420689, 0.0046034968, 0.0308606327, 0.0044039506, -0.0084240222, 0.0045341076, -0.0159511194, 0.0335390605, 0.0480188131, 0.0163196567, 0.0275905132, 0.0455211252, 0.0237617102, 0.0185743757, -0.0282134227, -0.0106078451, -0.0843820721, -0.0298893303, 0.0077901143, 0.0277061332, 0.0596403368, -0.0289442334, 0.00488461, 0.005149445, -0.0047827861, 0.0426327251, -0.0200586095, -0.0066285795, 0.0559114516, 0.0308488626, 0.0104882475, -0.0448578, 0.0060753291, -0.012866281, 0.009287471, -0.008614379, 0.0142192645, -0.0460720919, -0.0191948507, -0.0593836084, -0.009069046, 0.0197957344, -0.0270959046, -0.0393830128, -0.0841930956, 0.0367662385, 0.0376565754, 0.0078270668, -0.0046054656, 0.0373170823, 0.0573898554, 0.0008361952, -0.0308320988, 0.0172711741, 0.0159871113, -0.0109040327, -0.0120310718, -0.0194872357, -5.411582201e-33, -0.032328587, -0.0874373168, 0.0298562702, 0.0577904321, 0.0238180049, -0.0344874226, -0.0411132798, 0.0145265479, 0.0346345864, 0.0421901532, 0.0114327902, 0.0347599275, 0.009517787, -0.0319677852, 0.0099300761, -0.0296783969, 0.0473013818, 0.0067507206, -0.0558913276, -0.0177932326, -0.0372424275, 0.0075839972, 0.1024415046, -0.0900511146, 0.0795593485, 0.0076882839, -0.0161715318, 0.0060313139, -0.0622434318, 0.0653280467, 0.0215216409, 0.0586971976, -0.0036531691, -0.0322264209, -0.0134510612, 0.0039844625, -0.0330156423, -0.057280533, -0.0322459415, 0.0321028046, -0.0614950247, -0.023590954, 0.0674131811, 0.0205985513, -0.0860327706, 0.0202278737, 0.0324295573, -0.0142027773, -0.006235979, -0.010750181, -0.0260139462, 0.0709234327, -0.0107675772, -0.0096851643, 0.0145434439, 0.0274921842, -0.0294802822, -0.0467322469, -0.0280452929, 0.0041020289, 0.0447405986, -0.0169061515, 0.058825165, -0.0207174942, -0.032670591, 0.034283217, 0.0132840937, -0.0118958494, -0.0240649283, -0.004824731, 0.0399225429, 0.0360223092, 0.1294796616, 0.0450239107, 0.0593619719, 0.0255639907, -0.0360127985, 0.0351188444, -0.0333477035, 0.0562824085, -0.0042713354, -0.0148601029, -0.0666299984, -0.0116867824, -0.0575738214, -0.0135138612, -0.0353090987, -0.019174289, 0.0072302567, 0.0075439457, -0.0091033457, 0.0291116368, -0.0201720316, -0.0437566526, -0.011153047, -0.0244311076, 0.0056256866, 0.0006692028, -0.0012541813, -0.0258460101, -0.0537908934, 0.0229075029, -0.0133397346, 0.0150657231, 0.0572141148, 0.0083595971, 0.0124005657, 0.0094615016, -0.0540217459, 0.0112441294, -0.0045461534, 0.0050425464, 0.0528045073, 0.0370014459, 0.0153735662, 0.0115484595, -0.0020292357, 0.0955747515, -0.0362574458, 0.0061355224, -0.0085266903, 0.0692783669, -0.0140831824, 0.046095293, -0.0153547768, -0.0185939483, -0.0017361138, -0.0047518336, 0.0166625716, -0.0602748096, 0.0231957566, 0.0126953358, 2.758e-7, 0.0217697565, 0.0491281636, 0.0433199443, 0.002801554, -0.0032855654, 0.0730185583, -0.0092417141, -0.0375251211, 0.0030983295, -0.0476691127, -0.0147323925, 0.0424269922, 0.03583882, 0.0342675969, -0.0420240164, 0.0094673671, -0.0173739456, -0.0055420119, -0.0276846755, 0.0150811765, 0.0644361973, 0.0365421474, 0.0525411703, -0.0034142029, -0.0094894292, -0.0344109088, 0.0555417575, 0.0108342711, 0.0047760271, 0.0094755655, 0.0775948614, -0.0057480941, 0.0250770729, -0.0047927848, 0.0065534976, 0.0166623145, -0.0524144508, 0.043100372, -0.0024855388, 0.0037604882, -0.0419510081, -0.0200953353, 0.0228467379, -0.0094816145, 0.0198492613, -0.0221808665, -0.026314266, -0.0375458524, 0.0145763699, -0.0640517548, 0.0523526259, -0.006842128, 0.0118870717, -0.0267728399, 0.0302372035, -0.0021881512, -0.0079079671, -0.0355768986, -0.0325781032, 0.0267975796, -0.0155812092, -0.001903838, -0.0101939682, 0.0012084141, 0.0240207464, -0.0121743018, -0.0111617446, 2.463821695e-34, 0.0478231609, 0.0023656096, 0.0172677096, 0.0447224453, 0.0484090298, 0.0409864374, -0.010552573, 0.0060581951, 0.0471924357, 0.0039016386, -0.009808165 ]
http://arxiv.org/abs/2406.14023v1
http://arxiv.org/pdf/2406.14023v1
Evaluating Implicit Bias in Large Language Models by Attacking From a Psychometric Perspective
2024-06-20T06:42:08
2024-06-20T06:42:08
Yuchen Wen, Keping Bi, Wei Chen, Jiafeng Guo, Xueqi Cheng
cs.CL
cs.CL, cs.AI
As Large Language Models (LLMs) become an important way of information seeking, there have been increasing concerns about the unethical content LLMs may generate. In this paper, we conduct a rigorous evaluation of LLMs' implicit bias towards certain groups by attacking them with carefully crafted instructions to elicit biased responses. Our attack methodology is inspired by psychometric principles in cognitive and social psychology. We propose three attack approaches, i.e., Disguise, Deception, and Teaching, based on which we built evaluation datasets for four common bias types. Each prompt attack has bilingual versions. Extensive evaluation of representative LLMs shows that 1) all three attack methods work effectively, especially the Deception attacks; 2) GLM-3 performs the best in defending our attacks, compared to GPT-3.5 and GPT-4; 3) LLMs could output content of other bias types when being taught with one type of bias. Our methodology provides a rigorous and effective way of evaluating LLMs' implicit bias and will benefit the assessments of LLMs' potential ethical risks.
[ 0.0489487946, 0.0841411799, -0.0708521158, 0.0536020063, -0.0709566399, 0.0155635644, 0.0868489072, -0.0054746275, 0.0491625778, -0.0496099889, -0.0425105467, 0.0081868703, 0.0262573268, -0.0125586996, 0.0370734185, -0.0404936448, 0.037196327, 0.0017101761, 0.065323174, -0.0508076474, 0.0092527093, 0.0294668619, 0.0293597486, 0.0217891019, 0.0095718596, -0.0254437178, 0.0433497168, -0.0307299513, 0.0225498788, -0.0075509609, 0.0318958387, 0.0622056201, 0.0045097801, 0.0647395402, 0.0000020243, -0.0559556186, -0.0038806747, -0.0056244377, -0.008269391, 0.0351246744, 0.0433857553, 0.0078051384, 0.0125054102, -0.0006886031, -0.0576491877, 0.0135663841, 0.0339322612, 0.0539494976, 0.0313468874, 0.0353821218, 0.0129501158, -0.0137290955, -0.0203966722, -0.0070371986, 0.020481931, 0.0037388327, 0.0640637204, -0.0434370488, -0.0718752146, 0.0274077579, 0.0083442954, 0.0172899831, 0.0013498918, -0.0054753018, -0.0373056047, -0.0102229519, -0.0419795364, -0.0140232276, 0.0027739368, 0.0195707679, 0.0124403723, -0.0030557208, 0.0066237575, -0.0058039119, 0.0292097423, 0.0282961968, -0.0176977627, 0.0499697141, -0.0097172791, -0.0213136598, 0.0299413409, 0.0075843893, 0.0148922773, 0.0553192906, 0.0422322042, 0.0422020257, 0.0119409189, -0.0246795658, 0.0253436547, 0.0177625511, 0.0280819554, -0.0460945778, -0.021874167, 0.007127034, -0.0254852697, 0.0369399115, -0.0163799152, 0.0087303482, 0.0508988909, -0.0704542026, 0.0312374905, 0.0129863787, -0.0057356106, 0.0083277021, 0.0169110671, 0.0391343236, -0.0169591159, 0.0159370434, -0.0229329765, 0.0309219342, 0.0178949907, -0.0258138422, -0.0000522866, 0.0045655374, 0.014185356, 0.0423203371, -0.0536558554, -0.0140118198, -0.0739393309, -0.0050497646, -0.0508954525, 0.0001703936, -0.0202840213, -0.0024170487, -0.0244255923, 0.0352340527, -0.0226628724, 0.0341151692, -0.0424081981, -0.0874383673, 0.0282485317, 0.0307377446, -0.0317490213, -0.029180726, -0.0140722562, 0.0697908849, -0.0082082255, -0.0105819004, -0.0514464825, -0.0507471934, -0.0285698045, -0.050672397, -0.017556075, -0.0548943132, 0.0047692792, -0.0056441859, -0.0152567085, -0.0527495369, -0.0105905905, 0.0324759409, -0.0551190116, 0.0493431799, 0.0375803113, 0.0237288661, 0.0685460195, 0.0374833867, -0.022148231, 0.0944450423, -0.0142746158, 0.0299220607, 0.0525648296, -0.0208819453, 0.0059607481, 0.0280240215, 0.025721034, 0.0503382869, -0.0167331621, 0.0233196635, -0.0066806446, -0.0128503172, 0.0231148954, 0.066946812, -0.0171918105, -0.0390473567, 0.0904797688, 0.0467698276, -0.009930227, 0.0195520874, 0.0303756688, 0.0347265676, 0.0205362607, 0.0281812809, -0.0479182154, -0.0203136411, -0.0626385808, -0.0461045578, -0.0024729078, 0.0480278954, -0.0000660014, -0.0222921353, -0.0093381582, 0.0245999247, 0.0393498987, 0.0605946146, 0.0089698033, -0.0055844509, -0.0043493761, 0.023648357, 0.0624475926, -0.0164364483, 0.0053241248, -0.0455414169, 0.0321114771, 0.0145242671, -0.0054203235, 0.0250692759, 0.0474984646, -0.0356904864, -0.0189292282, 0.0786039978, 0.0743097439, -0.030955717, -0.026706636, -0.0279969964, -0.023927208, -0.0010425709, 0.0135740582, 0.0486984625, 0.0347091965, 0.0473226234, 0.0234372281, -0.0405814275, -0.0284669548, 0.0213624854, -0.0263818782, -0.056858249, -0.0374924764, 0.015857907, 0.0393613875, 0.0069273012, -0.0117238127, -0.0121218907, -0.0045330557, 0.0340948738, 0.0176978987, -0.0376042947, -0.0304937493, 0.0067515522, 0.003523285, -0.0431204252, -0.0245363396, -0.0161053333, 0.0000695465, 0.0386806615, 0.0374572948, -0.0189576037, 0.0312776007, -0.0120376814, -0.0122129992, -0.0569056198, 0.0014871848, -0.0555670299, 0.0427871905, -0.0034247262, 0.0296614915, 0.0308980048, -0.0523527488, 0.0224339832, -0.0489905588, -0.0151960971, 0.0164081063, -0.0015673578, 0.0111006387, 0.0294549055, -0.0122056641, -0.0193603877, -0.0188303702, -0.0711757913, -0.0539237931, -0.0032108149, -0.0131563442, -0.0068785911, -0.0206545591, -0.0352665596, 0.02420111, -0.0620790347, -0.0271465518, -0.012825693, 0.0453263409, -0.0380399153, -0.0276271477, -0.0145555176, -0.0074416636, -0.0077027078, -0.0383573808, 0.0392761938, 0.0587356091, 0.0148483887, -0.0556118898, -0.0225756858, -0.0394293554, -0.0031216613, -0.0169068351, -0.0368127041, 0.0213896576, 0.0494438075, 0.0058735176, 0.0732595101, 0.055166401, 0.0314540006, 0.0493422076, -0.0006116783, -0.0709575787, -0.0314524099, -0.0042293109, -0.021514358, -0.0403614379, -0.114977017, 0.0017269562, 0.0332979076, 0.0736224502, -0.0148382382, -0.0465347208, 0.0684095547, -0.0840281323, -0.0714421645, -0.0036173044, -0.0547730774, -0.0194502864, 0.0128821135, -0.0041791932, -0.0752959102, 0.0623665377, -0.0018259339, 0.0442238487, -0.0263761915, 0.0142029161, -0.0153443813, 0.0320717096, -0.0004312445, 0.0367563702, 0.0460965745, -0.005630496, -0.0553712212, -0.0446125902, 0.0559870787, -0.0339742601, 0.0302324723, -0.0319639109, -0.0031171618, 0.0138258366, 0.0030005968, -0.0511361994, -0.0621891953, -0.0080044037, -0.0314060859, 0.0166229736, -0.0052224784, -0.0408718958, -0.0420720503, 0.0449069291, -0.0235260818, -0.0314888544, -0.0019634112, 0.0293045472, -0.0300199464, 0.0354779363, -0.0373366512, 0.0577222854, -0.0497546792, 0.0012425691, 0.0264984928, -0.0321322754, 0.031804584, 0.0222230293, 0.0014579715, 0.0445008129, 0.0083967838, 0.0127001023, 0.0245642271, 0.013910613, -0.0236570593, 0.0395489559, 0.0931130946, 0.0060908729, -0.0810030028, 0.0147937825, -0.0173727442, -0.0044386126, 0.01129675, -0.0054586935, -0.0857504681, 0.0146839563, -0.0059034331, 0.0276098493, -0.0799593255, -0.0319435857, -0.0113936653, -0.10911908, 0.0339718871, 0.0238380805, 0.0090105729, 0.008818266, -0.0418438353, 0.0008737873, -0.017156532, 0.0373981111, -0.017332932, 0.0029985649, -0.0114366319, -0.0105432309, -0.0297733117, -0.0409406386, 0.02151802, 0.0045774956, 0.0350957587, 0.0271895248, 0.0385892615, -0.0488873199, -0.0375039205, 0.0612334423, -0.0222638752, -0.0651771054, -0.0190148596, 0.0487647429, -0.0324832201, 0.0037674753, -0.0314017646, 0.0428182334, 0.0123883532, -0.0035716544, 0.0298496503, 0.0318865478, 0.0389471054, -0.0436623059, -0.0086831357, 0.0054867081, 0.0422391519, 0.0913392827, 0.0010237189, -0.0342807956, 0.0523542687, -0.0708524957, -0.0119602522, 0.0644349158, -0.0978439599, 0.0471203178, -0.0099432459, -0.0096748304, -0.0174546875, -0.069131799, 0.0109491609, -0.0019549334, 0.0400919951, 0.0013109181, 0.0027378155, -0.0252546668, -0.0122031728, 0.0283283144, -0.0387538522, 0.0452155769, -0.0128661059, -0.0221218728, -0.0352689214, -0.0390587226, 0.0050745308, 0.0021217368, -0.0267337039, -0.067806676, 0.05035742, 0.0163289253, 0.0220814161, 0.0456593446, 0.0128066121, -0.0213269275, 0.0553067401, 0.0177664403, -0.0175428484, 0.0441188626, 0.006178732, 0.0133093558, 0.0102757961, 0.027186064, -0.0178788807, 0.0237559434, 0.0539558157, -0.0164519269, -0.0558587983, -0.0281316377, 0.0400968976, 0.0141171515, 0.0304084253, -0.0299725085, 0.0422674492, -0.0257049929, -0.0373603627, -0.0458825454, -0.0560310408, 0.0129112396, -0.0619212091, 0.034399312, 0.0213892478, -0.0111961793, -0.0284334887, -0.0596808977, -0.0084989304, -0.0403495096, 0.065047197, 0.0101149511, 0.0356419422, 0.0161711313, -0.0071840957, -0.0231413692, 0.0337517187, -0.0256212689, 0.0554821789, 0.031737715, 0.0700631738, 0.0297367126, -0.005607679, 0.0159364697, -0.0187897142, -0.002839017, -0.0385357812, 0.0190769546, -0.0144906742, -0.0274573229, -0.0400672518, 0.0393990688, -0.0068454384, 0.0073597641, -0.0050228764, -0.0277154073, -0.0014233305, -0.0631429255, 0.0626964644, -0.0110383155, -0.0145744318, 0.0222712066, 0.0522940643, 0.0110127591, 0.0303051565, -0.0079244915, -0.0443299934, -0.0145900436, -0.0220165905, 0.061326921, -0.0031708397, -0.0237872545, -0.0315013975, -0.0795793757, -0.0555775054, -0.0486282185, 0.0065945997, 0.0158435386, -0.0337128341, -0.0035248154, 0.096761927, -0.0199048705, -0.0190571025, -0.0403363258, 0.0435626917, -0.0114252688, -0.0211119652, -0.0047954922, -6.378650383e-33, 0.0083767921, -0.0628289357, -0.0194378141, -0.0277885925, -0.0046341573, 0.0330294222, 0.0118992031, 0.0186422151, -0.0595043637, 0.0173179097, 0.0152896466, -0.0111968303, 0.0106284292, -0.0080935834, -0.0243800823, -0.0153326392, 0.0226153508, -0.0066532455, -0.0327493027, -0.0037656352, -0.0273196232, -0.0394186676, 0.0490135588, -0.0660359487, 0.091744408, -0.0033941476, -0.0246258806, 0.0077227401, -0.0468849763, 0.0461031571, 0.0011551683, 0.0645899773, 0.0160286129, 0.0032022193, 0.0195061024, 0.0486410968, -0.0019889008, -0.0341206565, 0.0878632739, 0.0228858609, 0.0039081569, -0.0418008603, 0.012730292, -0.0258011371, -0.0701417252, -0.0087643331, 0.0426722616, -0.0196852926, 0.0185187161, 0.0202676393, -0.051451385, 0.0082922727, -0.0146569712, 0.0463528335, -0.0300460681, 0.0609758832, -0.0021353937, 0.0137078883, -0.0452560112, 0.0583599769, 0.0490684547, -0.0199529063, 0.0448911712, 0.0053849285, 0.0209268406, 0.0583345741, 0.036599692, 0.0466725193, -0.0240767933, -0.0497082248, 0.042656254, -0.0311158076, 0.0398949236, 0.0641894639, -0.0040774886, -0.0204265583, -0.030760102, -0.0328131765, 0.0712627172, -0.0071432618, 0.0597469322, -0.0288899913, -0.072297737, -0.0697805211, -0.0481266417, -0.0661388114, -0.0091787921, -0.0242700279, 0.0477590002, 0.0156382639, -0.0029000577, -0.0223083682, 0.042308677, -0.0292480774, -0.0265167709, 0.0080428813, -0.0063751247, -0.0191068687, -0.0028439981, 0.0276937447, -0.0626442805, 0.0290441737, -0.0110993478, -0.0162186474, 0.0352146365, 0.0168776419, 0.0118195862, -0.0151283769, -0.0401371233, 0.0007188584, 0.0025103705, -0.0133120939, 0.0205074791, -0.0214736238, 0.0455559194, 0.0173160285, 0.0026772248, -0.012615039, 0.0468704514, -0.0518732965, -0.0400016606, 0.0110379579, -0.0371450111, 0.035992749, -0.0419135913, -0.0080423672, -0.0056064622, 0.0136661986, 0.0478223898, -0.0527966842, -0.022979917, -0.0300374851, 2.664e-7, 0.0004735035, 0.0520759188, -0.0605415069, 0.0435648449, -0.0177250076, 0.0501055904, 0.0265184361, 0.0209676176, 0.0527029186, -0.0332167782, -0.0339444466, 0.0150631042, 0.0206142049, 0.033541359, -0.0535314642, 0.0124070868, -0.0252475347, -0.0089179398, -0.0557635576, 0.02146204, 0.0215340499, 0.0477826074, 0.0232529305, 0.0155337369, -0.0451471619, -0.0145607656, 0.0363486893, -0.0327261686, -0.0220940914, 0.0256760716, 0.0412893631, -0.0155755449, 0.0356855616, 0.0519982204, 0.0100611579, -0.0009641965, -0.0124151707, 0.03372458, -0.0031441818, -0.0096683623, -0.0181143545, -0.0371169336, -0.0261348151, -0.0800630227, 0.0380783491, 0.00235876, -0.0354974866, -0.0191317331, -0.0350746922, -0.037205901, 0.0302583855, -0.0236759353, -0.0539879054, 0.0176507812, 0.0273084696, 0.0128919538, 0.0128818937, -0.0165591016, -0.0096474914, -0.0105626583, -0.0242176224, -0.0724112615, 0.0011355525, 0.0355583876, -0.0110064866, -0.0140481172, 0.051239159, 2.446562132e-34, 0.0195547622, -0.0081561022, 0.0189981572, -0.0429874063, 0.0554144867, 0.0402764454, -0.0149921598, 0.0103105009, 0.0297294967, -0.0535198413, -0.007729881 ]
http://arxiv.org/abs/2406.14022v1
http://arxiv.org/pdf/2406.14022v1
Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning
2024-06-20T06:37:47
2024-06-20T06:37:47
Xiaolei Wang, Xinyu Tang, Wayne Xin Zhao, Ji-Rong Wen
cs.LG
cs.LG, cs.CL
The emergence of in-context learning (ICL) is potentially attributed to two major abilities: task recognition (TR) for recognizing the task from demonstrations and utilizing pre-trained priors, and task learning (TL) for learning from demonstrations. However, relationships between the two abilities and how such relationships affect the emergence of ICL is unclear. In this paper, we take the first step by examining the pre-training dynamics of the emergence of ICL. With carefully designed metrics, we find that these two abilities are, in fact, competitive during pre-training. Moreover, we observe a strong negative correlation between the competition and ICL performance. Further analysis of common pre-training factors (i.e., model size, dataset size, and data curriculum) demonstrates possible ways to manage the competition. Based on these insights, we propose a simple yet effective method to better integrate these two abilities for ICL at inference time. Through adaptive ensemble learning, the performance of ICL can be significantly boosted, enabling two small models to outperform a larger one with more than twice the parameters. The code is available at https://github.com/RUCAIBox/Competitive-ICL.
[ -0.0583474115, 0.0208106767, 0.003846376, 0.0145990159, 0.0170968994, 0.0297987889, 0.0234274976, -0.0177751463, -0.0323988274, -0.0188178346, -0.0483692698, -0.0185754169, -0.0099754035, -0.0330657326, 0.0304008257, -0.0624560677, -0.0140524805, -0.0110169491, -0.0440662578, 0.0136896288, -0.0121450322, -0.0395091809, -0.0322884396, 0.0416652523, 0.0064147739, 0.0035709129, -0.0247090366, -0.0154379811, 0.0287001152, -0.0517688207, -0.0011443833, 0.0229647662, 0.0673373416, 0.0007636495, 0.000002178, -0.0538937226, -0.0116157765, -0.0333687179, -0.0324324593, -0.0337469615, 0.0153033501, 0.0701051429, 0.0080305086, -0.0048872684, -0.0423475727, -0.0170452688, 0.011003904, 0.0448067077, -0.015434674, 0.0367390327, 0.0050074044, 0.0549812242, -0.0133428127, -0.0159537122, -0.0097055938, -0.0553410053, -0.0028029541, -0.012191724, 0.0256756134, -0.0453324392, -0.0256122034, 0.0043219281, 0.0393949561, 0.0493520908, 0.0596653819, 0.0599109381, -0.00638047, 0.0231921524, -0.0144833513, 0.0280292127, -0.0386930257, -0.0259649958, -0.0067769308, -0.0144149791, 0.0467213653, 0.0047813165, -0.0548155606, 0.0098460438, -0.0106013259, 0.0127764549, -0.0469234101, 0.0444369502, 0.0272563044, -0.0077856267, 0.0090189269, 0.0313462242, -0.0492459387, -0.0096011702, 0.0291479938, -0.016620459, -0.0229151025, -0.0659882948, 0.0022585785, 0.0061629941, -0.0569232628, -0.0204462297, -0.0330661871, -0.0682956353, -0.0514165275, -0.0106523158, 0.0833531693, -0.0071336837, -0.0046607954, 0.040684849, -0.017456986, 0.0939576328, -0.0098966546, 0.0122632058, -0.0254199319, 0.0530576557, -0.0712604821, 0.040033333, -0.0244102012, -0.0069845114, -0.0088034011, -0.0058579268, -0.0065934374, 0.0321513824, -0.0383713283, -0.0257322881, -0.013890991, 0.0335110649, -0.0213729199, 0.0367776118, -0.0098682819, -0.0198001582, -0.0042391135, 0.0585224107, -0.0040806262, -0.0201804489, -0.0335239731, 0.0097285593, 0.0211576819, 0.0080050202, 0.0286225099, 0.0026897055, -0.0383276083, -0.038136594, 0.0074352948, 0.0038062283, 0.0501186177, -0.053615015, 0.0615247265, -0.0375099257, 0.0004397571, -0.0125466194, 0.02027696, -0.0219859872, -0.0284041036, -0.0085755549, 0.031156458, 0.0861670375, -0.00955051, 0.0181533489, 0.0097985463, -0.0061327065, -0.0802030191, 0.0424637608, 0.0120188911, 0.0126936259, -0.0300388411, 0.0296346769, 0.0303737354, 0.0302636083, 0.027458787, -0.0082789119, -0.0052718157, 0.0102945836, 0.0321564414, 0.0198627748, 0.00946905, -0.0491699874, -0.0486901291, 0.0590768643, 0.0597771853, 0.0328262672, -0.0126632843, -0.0700934082, 0.0025882137, 0.0083646765, 0.0066077355, -0.0235212296, -0.0660167113, 0.0334381349, 0.0114229508, -0.0306998901, -0.0284087528, 0.0341826454, -0.035138417, -0.0233581234, -0.002815963, -0.0163597222, -0.017410364, 0.0347928368, 0.0671303719, 0.0203758422, -0.0524889827, -0.0614896938, 0.0041548535, 0.0003611568, 0.0109101869, -0.0769260302, -0.0059167962, -0.0303569119, -0.0189276151, -0.0300535932, -0.036963366, -0.0396545567, 0.0687967837, -0.0241660494, -0.0178645421, -0.0259721261, 0.0418660082, 0.0051883534, -0.0626347885, -0.0221292023, 0.0128225023, 0.0197436213, 0.0226956252, -0.0188957583, -0.0195159316, -0.0262312926, -0.0486583896, 0.0303128865, -0.059345372, -0.046909485, 0.0031301954, -0.0055790073, 0.0752917752, -0.0257133245, -0.0332482718, -0.0170618463, 0.0298063327, -0.0218653586, 0.0246421527, 0.0592988469, -0.0530130602, -0.0447108038, 0.0164385159, -0.0148015805, -0.0080590732, -0.0011230609, -0.0170803089, -0.0320114382, 0.0123937633, 0.0253043622, 0.0324931853, -0.0181265566, 0.0135046104, -0.0314610638, -0.0354334228, -0.0109722782, 0.0546484441, 0.0305877794, -0.0241180677, 0.0416314378, 0.0044147712, 0.0028086181, -0.0086307656, 0.0043368684, -0.0262188464, -0.0303987637, 0.0361556113, -0.0038681778, 0.0168537386, -0.0318592861, 0.0458409376, -0.0718101263, 0.0166082084, -0.0279596094, -0.0057319929, 0.0030973125, -0.0470288955, -0.0353408121, -0.0092801154, 0.0048635132, -0.009066416, -0.0056267078, -0.0059919585, -0.0230269227, 0.0210357998, -0.0041971738, 0.0132505931, 0.0575246513, 0.0142707899, 0.0494160913, 0.0423176177, 0.009308896, -0.006568972, 0.0434195474, 0.0581758991, 0.0292686168, -0.0132765034, 0.0302846674, 0.0436784327, -0.0165066179, 0.016341906, 0.0849706978, -0.023253765, 0.0533027016, 0.0557825454, 0.0078730276, -0.0266430229, 0.0219713058, -0.0174272433, 0.0163607523, -0.0478927046, 0.0200073104, 0.0499112792, 0.0355244726, -0.0094665177, -0.0066392962, -0.0345112234, 0.0148413973, -0.0199820474, -0.0631006882, -0.0624624677, -0.004773017, -0.0559605137, -0.02012535, -0.0397545546, -0.0550901145, -0.0035408735, 0.0160989705, -0.0099393213, -0.0267044138, -0.0082521159, 0.044793956, 0.0367412083, 0.0062107132, -0.0129340906, 0.0134712681, 0.001952076, -0.053750772, 0.0186113697, 0.0188251752, -0.0073888842, -0.0150306718, -0.0378876664, -0.0044337758, -0.0206216872, -0.0216278527, -0.057006482, 0.0140727041, 0.0121300025, 0.0203504749, -0.0406459719, -0.0148620866, -0.0157122146, -0.0233763829, 0.0201667249, 0.0336514004, -0.0256135296, -0.0072220606, 0.0045684702, 0.015827544, -0.0173564591, 0.0466768816, -0.0345550142, -0.0961687714, 0.0158466529, 0.0397752821, 0.1624456346, -0.0549167842, -0.0942612886, 0.0083619328, -0.003625442, -0.0009326961, 0.0171161741, 0.0732379779, 0.0853393674, -0.0017802271, -0.0168939754, 0.0592449531, -0.0270505957, -0.0551359542, -0.0097867521, 0.0536549352, -0.0126105454, 0.0300456658, 0.0038671889, 0.0210846812, -0.0240021572, 0.007177393, 0.0376826338, 0.0032054929, -0.0172843933, 0.0092933495, -0.0691500679, 0.0377119146, 0.0240289047, -0.0853369683, -0.0255879667, -0.0067229532, 0.0408549681, -0.0321856663, 0.014670006, 0.0079113329, -0.0224228185, 0.0357558019, 0.0660727099, 0.0071211709, -0.088729538, 0.0018200451, -0.0804580525, 0.0071070828, 0.0308681596, 0.0106185423, 0.0065992717, 0.0064769052, 0.0050380272, -0.0050140759, 0.0194077864, -0.0121126082, 0.0580074899, -0.0062042414, 0.0185270477, 0.0060804193, 0.0598403625, -0.0244072378, -0.0262285359, 0.0424707606, 0.0741587356, -0.0526487045, -0.0054404568, -0.0029091556, -0.0709727928, 0.0718781501, 0.0436877273, 0.0254367627, -0.0355241187, -0.0095647592, 0.035153728, -0.0151154939, -0.0201651771, 0.0131596746, -0.0063652755, 0.0066483328, -0.0193240475, -0.0279680733, 0.0030100427, 0.0358287767, 0.0987089872, 0.0017276305, 0.0057272976, -0.0623492301, 0.0432562716, -0.0712646097, 0.0793508142, 0.0206921455, 0.006933467, -0.031606108, -0.0531451516, 0.0167649034, -0.0398524068, -0.0257383306, 0.0009123661, -0.0723292306, -0.0015733445, -0.00308425, 0.0411544703, 0.0153232766, 0.0790479407, 0.0087971007, 0.0079734651, 0.0691331252, 0.0479070321, 0.0109784454, 0.0489025414, 0.0400767587, -0.0690719709, -0.0175689459, -0.0100749126, -0.0070365239, 0.0247317124, 0.0380455181, -0.0498055518, -0.0469951108, 0.0334946252, 0.0160000771, -0.0443840697, 0.0880629867, -0.0324419588, -0.0543542542, -0.050400544, -0.0287217032, 0.0403265134, -0.0045174654, -0.0469334349, -0.0249567349, -0.0005702795, 0.0852571949, 0.0085382806, 0.052837301, 0.0611612499, 0.0171306171, -0.0676736832, 0.0144779459, 0.0457257852, 0.0143503901, -0.0037259511, 0.0535312295, 0.0230935123, -0.0193744544, 0.0032904628, 0.0098057138, 0.0398329757, 0.0396836028, 0.042597685, -0.005356187, 0.0253769737, 0.0471110456, -0.07466501, 0.0003998831, -0.042830687, 0.0257355031, 0.0466086529, -0.0528250188, 0.0046658316, -0.020736916, 0.0226451438, -0.02349573, 0.0150289545, -0.0280152056, -0.0063612466, 0.0274318345, 0.0059327204, 0.0242937375, 0.0166411661, 0.0595362112, -0.0204678159, 0.0412677526, -0.0056570978, 0.0313902423, -0.0352867879, -0.0093202796, 0.0749911889, 0.0259428564, -0.0087161846, 0.0252397526, 0.0061496049, -0.0031334606, -0.0103607345, -0.0149112232, -0.0054703252, -0.0189811271, 0.0449314155, 0.0199487302, -0.0644551665, -0.0289389975, 0.0173474755, -0.0399633609, 0.0163270719, 0.0048116785, -0.026576044, -5.724876057e-33, -0.0028309531, -0.0191508569, 0.0066256761, -0.017653482, 0.0033965101, 0.003595694, -0.0326628648, 0.0022900801, 0.0133667281, 0.0055297059, -0.017913077, -0.0086311707, 0.0065435725, -0.0160521176, 0.0435279422, -0.0149497716, 0.0236854628, -0.0411514677, 0.0016850373, 0.0502775908, 0.0296338554, 0.0230378173, 0.0563279912, -0.0680278614, -0.0079536736, 0.0049021821, -0.0364547372, -0.0184041169, -0.0207222681, -0.006588771, -0.0287075061, -0.017654296, 0.0255363639, -0.0634388104, -0.0384502485, 0.013227188, -0.0176388919, -0.0423967056, -0.0526287481, 0.0232819952, -0.0625852272, 0.0063973097, 0.038052652, 0.0089024035, -0.0825390667, -0.0211668704, 0.0612884797, -0.0170017257, 0.0445764624, -0.0486334078, 0.0045395438, 0.0127639351, 0.0077527422, -0.0630282462, 0.0339308642, 0.0494122356, -0.0309226699, -0.0435389951, -0.0256448202, 0.032659471, 0.0032265582, -0.0092101209, 0.0417181961, 0.0869622603, 0.0496788993, 0.0649167597, 0.0118905986, 0.013346401, 0.0483197942, -0.0543444641, 0.0248268116, 0.0868288353, 0.0093690632, 0.0001913231, 0.0455437563, 0.0493681692, -0.0428652465, 0.0665992573, 0.0327318199, 0.0056654606, -0.0225493796, 0.009503426, -0.0329470783, -0.0072252038, 0.018318804, 0.0048580188, 0.0346512347, 0.0142058833, 0.0601394251, 0.0115938354, -0.0189383477, 0.021601947, 0.0508594401, -0.0305139329, 0.0199821256, 0.007688507, -0.0072661042, 0.0280389581, 0.0382349826, -0.0460443199, -0.0717981532, -0.0557075031, 0.0055281082, 0.0209144, 0.0205802191, 0.0038377827, 0.0038169215, 0.0499889441, -0.0135167735, -0.0131938532, -0.0206531342, 0.0138280671, 0.0889134556, -0.0148610659, 0.0797599182, -0.0004040546, -0.0128328698, 0.0257543679, 0.0047298581, -0.0895071104, -0.0085080359, 0.0069171661, -0.0498871356, 0.0050340337, 0.0067081302, -0.0115781222, -0.0392100029, -0.0251759291, -0.0311416239, -0.0558008775, -0.0105722286, 0.007674484, 2.875e-7, -0.0501909181, -0.0008577795, -0.0010749043, -0.0458077006, 0.0401072726, 0.0416653268, -0.0770805106, 0.0252873078, 0.0075896587, -0.0225675106, 0.0253479388, 0.0455619097, 0.0218227468, 0.0023389626, -0.0368428975, -0.0790095925, -0.0124489134, 0.0573706292, -0.0380109884, 0.0037344745, -0.0233840272, 0.0241799504, 0.0333636664, 0.0035528538, 0.0188624952, -0.0486924052, 0.0471092612, -0.0418925174, 0.0691135749, -0.0141931903, -0.0118443919, -0.0180237424, -0.0329258144, 0.0625559986, -0.0307020824, 0.0369269773, -0.0200001933, 0.0001890478, -0.009629298, 0.0480489023, 0.0201133657, 0.054862801, 0.0207030103, -0.0366315134, 0.0781284347, -0.1048220694, -0.0047860504, -0.0356425308, -0.0185388122, -0.0134283705, -0.0269865021, 0.0428678282, 0.0324181914, -0.0097099012, -0.0143808452, -0.0144332144, -0.0384781584, -0.0575792901, -0.0335220434, 0.0266409274, -0.0779157951, -0.0178496055, -0.0059903623, 0.0116712973, 0.0173263103, -0.0264160279, -0.0283367578, 2.208969469e-34, -0.0197650101, 0.0080224965, 0.0366591178, 0.016034307, -0.0358004831, -0.0435517468, -0.0156770349, -0.0017203565, 0.0650039762, 0.0074006165, 0.0037847259 ]
http://arxiv.org/abs/2406.14021v1
http://arxiv.org/pdf/2406.14021v1
HIGHT: Hierarchical Graph Tokenization for Graph-Language Alignment
2024-06-20T06:37:35
2024-06-20T06:37:35
Yongqiang Chen, Quanming Yao, Juzheng Zhang, James Cheng, Yatao Bian
cs.CL
cs.CL, cs.LG, q-bio.QM
Recently there has been a surge of interest in extending the success of large language models (LLMs) to graph modality, such as social networks and molecules. As LLMs are predominantly trained with 1D text data, most existing approaches adopt a graph neural network to represent a graph as a series of node tokens and feed these tokens to LLMs for graph-language alignment. Despite achieving some successes, existing approaches have overlooked the hierarchical structures that are inherent in graph data. Especially, in molecular graphs, the high-order structural information contains rich semantics of molecular functional groups, which encode crucial biochemical functionalities of the molecules. We establish a simple benchmark showing that neglecting the hierarchical information in graph tokenization will lead to subpar graph-language alignment and severe hallucination in generated outputs. To address this problem, we propose a novel strategy called HIerarchical GrapH Tokenization (HIGHT). HIGHT employs a hierarchical graph tokenizer that extracts and encodes the hierarchy of node, motif, and graph levels of informative tokens to improve the graph perception of LLMs. HIGHT also adopts an augmented graph-language supervised fine-tuning dataset, enriched with the hierarchical graph information, to further enhance the graph-language alignment. Extensive experiments on 7 molecule-centric benchmarks confirm the effectiveness of HIGHT in reducing hallucination by 40%, as well as significant improvements in various molecule-language downstream tasks.
[ 0.0237207934, 0.0654380545, 0.0221529473, 0.0243287738, -0.0154866753, 0.0063535976, -0.0163517073, 0.0224030223, 0.0535103343, 0.0012297721, -0.0277648792, -0.0291882511, 0.0078820903, 0.0505673401, 0.0579765178, 0.0113817602, 0.0243146457, -0.0125283841, -0.002585222, -0.0233560763, 0.0151473414, 0.0330731571, 0.0699204803, 0.0068072802, -0.0134289898, -0.0574419834, 0.0319673903, 0.0398374088, 0.020532392, -0.03175392, -0.0176963117, 0.0321763717, 0.0177049413, 0.0769588873, 0.0000016664, -0.0309908558, -0.024590021, 0.0169339385, -0.0122215366, 0.0178599916, 0.0602040291, -0.0413192362, 0.0339918956, -0.0263047777, -0.0174701642, -0.0084746573, 0.0774451941, 0.0235689059, 0.0268662665, 0.0422333442, -0.0017146426, -0.0301831625, 0.0491410047, -0.0126569858, 0.0163056888, -0.0040439074, 0.0588944443, 0.0230668187, -0.0034052429, -0.0206647161, -0.0349982157, 0.0279398467, -0.0334489457, -0.0316964425, 0.062295638, 0.0028983273, -0.0299655963, -0.0099107875, 0.0155345034, 0.1140163168, -0.0421684645, -0.0585630946, -0.0149033358, -0.0100962846, -0.0038739988, -0.0022365458, -0.0215930529, -0.0153257493, -0.0059210858, 0.0467628725, 0.0160648972, -0.0514508225, 0.0783622786, -0.0123321787, -0.0178229883, 0.0708848536, -0.0089792768, -0.0058033611, 0.0117786871, -0.0167017262, -0.0296429191, -0.0204644687, 0.0295274481, -0.0133123212, -0.0224754717, -0.0001710216, 0.004593581, 0.0064610727, 0.024765905, -0.0394705869, -0.006778344, 0.004389958, 0.0018608201, 0.0128397858, -0.0254952498, 0.0234818999, -0.0474390797, 0.0835351348, -0.0433990657, -0.0061760759, -0.052410569, 0.0145474318, -0.0331125334, 0.0344861597, -0.0103197433, -0.040492177, -0.0621848591, 0.0106771756, -0.0107402569, -0.0003136719, -0.0008538338, 0.0279415268, 0.0020953775, 0.0001519357, 0.0231528915, 0.042826388, 0.0202306435, -0.0040452504, 0.0025979055, -0.0379585139, -0.0166136324, 0.0104788831, 0.0298955906, -0.0273614675, 0.0076652057, 0.1043703035, 0.0298257824, -0.0259552803, 0.0169063024, -0.0283994824, 0.0036612877, -0.0295326505, 0.0262543596, -0.0790838078, 0.0802786574, 0.040507976, -0.0013817922, -0.0453479737, 0.017255852, -0.0244209841, -0.0728564113, 0.0814615339, -0.0479701385, -0.0262637399, 0.0210562162, -0.028999662, -0.0158010721, -0.0027720863, 0.0183258485, 0.0305157397, 0.0056523122, -0.0125332437, -0.0285519529, 0.0128062638, 0.0142991105, -0.0373643525, -0.0074858535, -0.0196606722, -0.0009041601, 0.0459562503, 0.0231913794, 0.0685843155, -0.0185180288, 0.0074339448, 0.0249487106, 0.0405921079, 0.0171220619, -0.0151436161, -0.0013252484, 0.0343268663, -0.0209079534, 0.0034000243, -0.077681534, 0.0126111396, 0.0158648901, 0.0284530874, 0.0495137274, 0.011296479, 0.0154205021, 0.0065017217, -0.0256344024, 0.0139256492, 0.0529534742, -0.0218432453, 0.0371613391, -0.0225111675, -0.0811087191, 0.0334352776, 0.0655639619, -0.0080356607, 0.0185144357, 0.0069949562, -0.0104017658, 0.093634598, 0.028757032, -0.014890681, -0.0174105261, 0.0149421608, -0.0059760641, 0.0234811027, -0.0032245957, -0.0229629818, 0.0074764956, -0.018232923, -0.0133802611, -0.029797757, -0.0048722741, 0.0044848509, -0.0183578096, -0.0243207756, -0.0093882428, -0.0920596197, -0.0664595217, 0.0156753659, 0.0576374345, 0.0050497376, -0.0540355742, -0.0074408422, 0.0226818752, 0.0225850791, -0.0160737652, 0.0524347797, 0.0151972342, -0.0124463402, 0.001223515, -0.0593982451, -0.0280722398, -0.025401134, 0.0631645545, -0.0181873403, -0.0266493522, 0.0099670729, -0.0527403839, -0.0260447264, 0.0475666486, -0.0381737575, 0.0533051975, -0.0000145718, 0.0199767649, -0.0104836347, 0.0570008457, -0.0181789845, 0.0357039198, 0.0146521525, 0.0083109671, -0.0213522539, 0.0064078392, -0.0147360209, -0.0386573412, 0.0169259962, 0.0313026085, 0.0168457199, 0.0078838365, 0.0334706381, -0.017930476, -0.035125643, 0.030502256, -0.0694913343, -0.0207572933, 0.0073050428, 0.025323322, -0.0149940941, -0.0068820673, 0.0311656557, -0.0174857955, -0.0415994339, 0.0432611555, -0.0241926368, 0.0163303725, 0.0226305723, -0.0367288515, -0.067014046, -0.0488676354, -0.0493949018, -0.0579543673, 0.0791647881, 0.0020912627, -0.0986608416, 0.0066133365, -0.0123879155, -0.0279691387, 0.0042004753, 0.0010245319, -0.0038645866, -0.0019169556, 0.0135950455, 0.0268972125, 0.0312563963, -0.0266748723, -0.000966915, 0.0581177175, 0.0404375717, -0.0135994777, -0.0419081338, -0.0326778665, 0.0103145065, -0.0112118395, -0.0359597877, -0.018265523, 0.0517418236, 0.0055238842, 0.0293767508, -0.0230868049, -0.0076298667, -0.0012840609, 0.0057428069, -0.0126737626, -0.0255248621, 0.0015927107, -0.0297286902, -0.0296053421, -0.0446350239, 0.0736094862, -0.0361200683, 0.0047711814, 0.0353520699, -0.0027599656, 0.0014831695, 0.0205401722, 0.0793116093, 0.044464387, -0.006335746, -0.0621180981, -0.0078538107, -0.0064045023, 0.0168617703, -0.0432902575, -0.000085936, -0.0109691983, 0.0219128467, 0.0064371717, -0.0125728082, 0.0138990674, 0.0395596847, -0.0368612073, 0.0582710803, 0.0503806323, -0.0560039096, -0.0077848327, 0.0148503818, -0.0044186488, 0.0158742182, -0.0261907484, 0.0184359979, -0.0338667035, 0.0518187843, 0.0484393761, -0.0687059015, 0.0463289469, -0.0170167368, 0.0248923786, 0.0485084094, 0.0006798869, 0.0010957556, -0.0026569217, -0.0251721926, 0.0088153519, 0.0092998184, -0.0136118131, -0.0284036808, 0.01700061, -0.0176496673, 0.001327334, 0.0718869492, 0.0138537027, -0.0487835407, 0.0266558211, -0.0178590864, 0.0079731075, -0.0161286443, 0.0050917538, -0.1089188308, -0.0154108256, -0.0275249276, 0.0325054601, 0.0286752712, -0.0365698077, 0.0149493776, -0.0334254093, 0.0137323905, 0.077768594, -0.0639254376, -0.0270814765, -0.0671648383, -0.0435483083, -0.0104069654, 0.0433074497, 0.0169857815, 0.0128606977, -0.0242831726, 0.0307771638, -0.0216311701, -0.015534482, 0.0115283011, -0.0270954669, 0.0160066336, 0.0085024014, 0.0257721674, 0.0214855801, 0.0035271009, 0.0452915356, 0.0601606146, -0.0028057566, 0.0012022681, 0.0236831941, -0.0011113735, -0.0056920601, -0.0277615897, 0.0173630733, -0.0580483004, -0.0343839116, -0.0742412508, 0.0970657319, 0.0001774477, -0.0482877046, -0.0030519902, -0.0086680511, -0.0454373248, 0.011716662, 0.0385305397, 0.0165430773, -0.0837887675, -0.0145669281, 0.0512310788, -0.0515623763, 0.0106389886, 0.0265768077, -0.0372301862, 0.0186538436, -0.0228735618, -0.0025492245, 0.0256101787, -0.0371479802, -0.0195622742, 0.0268665031, 0.0359288938, -0.0633064285, -0.081212014, 0.0457476303, -0.0145510267, 0.0127196731, -0.0328523666, -0.0461125486, -0.0009161412, 0.0070752269, 0.0020493071, 0.0543632098, -0.0511182621, -0.1053202823, -0.0265099555, -0.0325785875, 0.0121406959, 0.065100342, -0.0003438828, -0.0380538292, 0.0495970063, 0.0508915782, 0.0126621509, -0.0378075466, -0.0069511021, -0.0204960536, -0.0322423503, 0.0236109197, -0.0562997647, -0.013817789, 0.0429922007, 0.029295247, 0.0294902325, 0.0041913721, 0.0494809672, 0.0607520863, 0.0550338738, -0.0178930964, 0.0098607251, -0.0403245687, -0.0429812521, -0.0053504142, -0.0190020148, -0.0063186567, -0.0363513343, 0.0506361276, -0.0067709479, -0.0080677094, -0.0474177897, -0.0121232243, 0.0173768401, -0.0160899386, -0.0337708667, -0.0433764905, -0.0329485349, 0.0963996872, -0.0269588958, -0.0257984083, 0.0192532185, -0.0170978475, 0.0101883169, -0.0285152569, -0.032226529, 0.0121379429, 0.0045635472, -0.0771027878, 0.0220341403, 0.009935068, -0.0358206183, -0.0766654164, 0.0003943166, 0.0603180118, 0.0096274521, 0.0665726513, -0.0015738764, -0.0129016936, -0.0340755321, 0.0418355837, -0.0015872406, -0.0471788906, 0.0597125553, 0.0176358204, -0.0292187091, -0.001691674, 0.0474149995, 0.0743014365, 0.0000369939, -0.0162099283, -0.0579465479, -0.004205327, -0.0184294451, -0.0328579769, 0.0320363753, -0.0430816635, -0.0091108084, -0.0200188793, -0.0798276663, 0.0215836149, 0.0293394513, -0.0211356692, 0.0244517494, 0.0120259458, 0.0269483663, 0.0209008064, -0.0762647316, -0.0216632299, 0.0426860005, 0.0411422104, -0.027666783, -0.0135886967, -5.85019404e-33, 0.0088285636, -0.0478199311, -0.0223600157, 0.0362637378, -0.0514351465, 0.0160427298, -0.084390223, -0.0076570665, 0.0005495469, 0.0755654871, 0.0058279652, 0.006454254, 0.00092159, -0.0204214938, -0.0099053578, 0.0147309033, 0.0182255171, 0.0164165292, -0.0030007034, 0.0420574993, 0.0536733381, 0.0316495039, 0.0680885687, -0.0325981155, 0.0137452139, -0.0025955092, 0.0085717961, 0.0051402738, 0.003308817, 0.0070123132, -0.0132296206, 0.0645501837, -0.0013686121, 0.020015724, -0.0110373553, 0.0002298248, -0.0495818332, 0.0134638464, 0.0320007503, 0.0160316601, -0.0323036723, -0.0406747088, 0.0661839396, -0.0110042421, -0.0330382958, -0.0272883736, 0.0254920498, 0.0011878464, -0.0576703623, 0.0012495689, -0.0822355598, 0.0274027586, 0.0241013188, 0.0481996424, 0.0035556622, -0.0145238088, 0.0144361947, 0.0117517626, -0.052819822, 0.0416371413, -0.0444024019, 0.0065617049, 0.072275497, 0.0578278974, 0.0211049318, 0.0595617741, 0.0537146181, 0.0091810003, 0.0288256817, 0.0390271917, 0.004071774, 0.0482483841, 0.0059545394, -0.0341157988, -0.0068943342, -0.0032036817, -0.0846079066, -0.028752666, -0.0777578056, 0.0147286784, -0.0065175463, 0.0630712062, 0.0017824591, -0.0545180738, 0.0061303638, 0.0007811407, -0.0110399909, -0.0385523252, -0.036116045, -0.0590040386, -0.0159207452, 0.0196219198, 0.0044877878, -0.0559352674, -0.0325911678, 0.0774453804, -0.0009996308, 0.0254403073, -0.029471159, 0.0157852676, -0.0326324254, -0.0572846569, -0.001738374, -0.0489987023, 0.0244221427, -0.0079153702, 0.0449263379, 0.0006386117, 0.0007558945, -0.0007591825, -0.0751512349, -0.0460108258, 0.0018575531, -0.0068686693, 0.0621988177, 0.0198760312, -0.0100279534, 0.0603495799, 0.0442796126, 0.0215927288, 0.0204912219, 0.0651114807, -0.015222095, 0.0467913412, -0.0736195669, -0.006507752, -0.0562272184, 0.0066591087, 0.0263550915, -0.0650005192, -0.0370051488, -0.0117681231, 2.632e-7, 0.0697463602, 0.0549234599, 0.0746260136, -0.0209838301, 0.0036390533, 0.0018154361, 0.0154139316, 0.0518428124, -0.051965367, -0.0220148955, 0.0177647043, -0.0109080737, -0.0073010982, -0.0008764608, -0.0299139842, 0.0549097583, -0.0939644501, -0.0234645456, -0.0623054318, 0.0433922522, -0.0099193417, 0.0986152738, 0.005517811, -0.0127212545, 0.0182245299, -0.0671328306, 0.0426037572, -0.0050560255, -0.0197945591, 0.0539920665, -0.0494180918, -0.0458506122, -0.0026792097, 0.0318739936, -0.0180750322, -0.0089827301, 0.0421097577, 0.0156643949, -0.0576018579, 0.0214409232, -0.0033016715, -0.0299695581, 0.0295398533, -0.0484791622, 0.0055310796, -0.0679300204, -0.0605435036, -0.0068808091, -0.0416325703, -0.0098944092, 0.0156486984, 0.0021585105, 0.018215131, 0.0435813814, 0.0105170831, 0.008956491, -0.0141810812, -0.0310040973, 0.0034650858, 0.0239477269, 0.0028859389, -0.0268532187, -0.0039794333, 0.033581309, 0.0203050319, 0.0080684824, -0.0078592366, 2.212238124e-34, 0.0492297523, -0.0079286965, 0.015252566, -0.0006542731, 0.0724094957, -0.026539268, 0.0001241729, 0.0435392968, -0.0273118988, -0.09692882, -0.0102405604 ]
http://arxiv.org/abs/2406.14012v1
http://arxiv.org/pdf/2406.14012v1
Seeing Through AI's Lens: Enhancing Human Skepticism Towards LLM-Generated Fake News
2024-06-20T06:02:04
2024-06-20T06:02:04
Navid Ayoobi, Sadat Shahriar, Arjun Mukherjee
cs.CL
cs.CL, cs.AI
LLMs offer valuable capabilities, yet they can be utilized by malicious users to disseminate deceptive information and generate fake news. The growing prevalence of LLMs poses difficulties in crafting detection approaches that remain effective across various text domains. Additionally, the absence of precautionary measures for AI-generated news on online social platforms is concerning. Therefore, there is an urgent need to improve people's ability to differentiate between news articles written by humans and those produced by LLMs. By providing cues in human-written and LLM-generated news, we can help individuals increase their skepticism towards fake LLM-generated news. This paper aims to elucidate simple markers that help individuals distinguish between articles penned by humans and those created by LLMs. To achieve this, we initially collected a dataset comprising 39k news articles authored by humans or generated by four distinct LLMs with varying degrees of fake. We then devise a metric named Entropy-Shift Authorship Signature (ESAS) based on the information theory and entropy principles. The proposed ESAS ranks terms or entities, like POS tagging, within news articles based on their relevance in discerning article authorship. We demonstrate the effectiveness of our metric by showing the high accuracy attained by a basic method, i.e., TF-IDF combined with logistic regression classifier, using a small set of terms with the highest ESAS score. Consequently, we introduce and scrutinize these top ESAS-ranked terms to aid individuals in strengthening their skepticism towards LLM-generated fake news.
[ 0.084983997, 0.0370111205, -0.0222162828, 0.017683411, -0.052810777, 0.0156035107, 0.0295410696, 0.0390989035, 0.0266142264, -0.0314219408, -0.0004368324, -0.0163467769, 0.011212456, 0.0244432241, 0.0246164203, 0.0113106091, 0.0135895219, 0.037104439, 0.0535940491, -0.0140046105, 0.0141541874, 0.025946172, 0.0003276563, 0.0122840228, -0.0102078579, -0.0128571363, 0.0406006388, 0.0351782814, 0.0477868803, -0.0281275138, -0.0399285816, 0.0568420179, -0.03342003, 0.0805083439, 0.0000016476, -0.0481672585, -0.025389567, -0.0082573816, -0.0294862241, -0.0183028094, 0.0489498042, -0.0175001435, -0.0401045606, 0.0174773913, -0.0358703472, -0.0143906539, 0.0088791307, 0.0808567554, 0.0429091752, 0.1293652356, -0.0237691775, 0.0020151983, 0.0577929616, 0.029770283, 0.0434934087, 0.0160469338, 0.0217370372, -0.0307162236, -0.0457081161, 0.0105010988, 0.0436575152, 0.0034685174, -0.0021460711, -0.0190570541, 0.0073052226, 0.0344030224, 0.013889214, -0.0069412622, 0.0305272508, -0.0227624122, -0.0070914235, -0.0681727827, 0.0543271378, -0.0002826617, 0.0318442173, 0.0428066291, 0.0046324553, 0.0536462367, -0.0522541031, 0.0039112638, 0.0303702597, -0.000789769, 0.0256002564, 0.0717701986, 0.03332223, 0.0598236471, -0.0044967299, -0.0210285336, -0.0114154415, -0.019590009, 0.0179189853, -0.0621655211, 0.022601828, 0.0279808752, 0.0153505234, 0.0099743595, -0.0586063974, -0.0522900447, 0.0305676777, -0.1031806394, -0.017681554, -0.0319147184, 0.0307986252, 0.0470366105, -0.021616973, 0.0070699197, 0.0129291108, 0.0676256642, -0.002460348, 0.0087099848, -0.0086048311, -0.0012162229, 0.0220667217, 0.0104367109, 0.0813302249, 0.0039342795, -0.048585806, 0.0140963513, -0.015040271, 0.0133275306, -0.0029704308, 0.0116682239, -0.0026305011, -0.0261592325, -0.006313798, -0.0319933929, -0.0016094852, 0.0332330167, -0.0105949137, -0.0147385681, 0.0130284391, 0.0546172149, -0.0000968923, 0.0100840069, 0.0203020871, -0.0180942174, 0.0263081938, -0.0372236781, -0.0709378347, -0.0274127256, -0.0072325729, -0.0274149701, -0.0074626869, -0.0452289768, -0.0570168048, -0.0128281852, -0.0040861247, -0.062084116, -0.0391505733, 0.0155582717, -0.0212871321, 0.0126565974, -0.039595928, 0.0139820538, 0.0784551427, 0.0270571876, -0.0080079138, 0.0198778361, 0.0557726324, 0.1169088781, 0.0756756589, 0.0154162133, 0.0317904949, 0.0037008591, 0.0079131713, 0.0297479834, 0.0174930785, -0.0218657069, -0.0541468821, -0.0079753119, 0.0230782181, 0.0164644551, 0.0055774446, -0.0247913897, 0.0951955542, 0.0220504254, 0.0030550375, -0.0087708877, 0.0270657018, 0.0084141884, 0.0170651656, 0.0107028577, 0.0007427026, 0.0119208908, -0.0744370148, -0.0401237346, -0.0051078913, 0.0212937854, 0.0104531329, -0.0118797924, -0.0001999838, -0.0106200483, 0.0142793227, -0.0116250031, -0.0071151583, 0.0314741507, 0.0036022568, -0.0400197096, -0.0110241184, -0.0186142642, 0.0295218211, -0.0740779862, 0.0355150402, 0.0438149124, 0.033779908, 0.0236685406, 0.0407120734, -0.0240950212, -0.0141453939, 0.0361174159, -0.016387986, -0.0171682592, -0.083251901, -0.000765114, -0.0132183963, 0.0109964553, 0.0093236873, -0.0023382558, 0.0328326598, 0.054670278, 0.0156437103, -0.0235386211, -0.0236608069, 0.0246700589, -0.0123737743, -0.0086237304, 0.0077601476, 0.010314961, 0.0306059513, 0.0365170613, -0.0006131371, 0.0153232133, 0.0361039713, -0.0024220299, -0.0640550256, -0.0165706724, 0.0635538623, 0.0558693707, -0.0156088294, -0.0254287645, -0.0131731415, 0.0215054955, 0.0001998982, 0.0047327625, 0.0144954231, -0.0222135838, -0.0044210888, -0.058732383, -0.0131977769, -0.0407396555, -0.0113001904, -0.0212802663, 0.0866528526, -0.0333571807, 0.0334255248, -0.0225352012, -0.0360301509, 0.011633574, 0.0258092843, 0.0495231338, -0.0089008166, -0.0311923362, 0.0221133679, 0.0286843441, -0.0158660039, -0.0099972449, -0.0426951721, -0.042840112, -0.0057812091, -0.0181540288, 0.0166289341, 0.0242166705, -0.0421666503, -0.017874904, 0.0366364531, -0.0504166856, -0.0217225738, 0.0008542934, 0.0021562297, 0.0137351975, -0.0180165768, -0.0192677863, 0.0226776917, 0.053042423, -0.0198619198, 0.0444911681, 0.0580642559, -0.0172597244, -0.0645888373, 0.0174496509, -0.0285717882, -0.0302140061, -0.0114577049, -0.0197180156, -0.0066734673, -0.0067194919, -0.0340654068, 0.0402263515, 0.0810959265, 0.051118847, -0.0080917319, 0.0561278947, -0.0158245135, -0.0642507374, -0.0306681786, 0.0793119445, -0.0327310637, -0.0845821425, 0.0599547923, -0.0233084634, 0.0353236906, 0.0018524794, 0.0045393738, 0.0377525948, -0.0107445288, -0.0516231619, 0.0594496466, -0.0569758341, -0.0301549304, 0.0060720597, -0.0134697361, -0.0652646646, 0.0518367663, -0.0395402275, 0.0723079517, -0.0264704823, -0.0451702364, 0.0031010995, -0.0049460428, -0.0070105717, 0.0291699581, 0.0421491154, -0.0140248286, -0.0108617321, 0.0161750019, 0.0707169846, -0.0059099714, -0.0139320372, 0.0059025194, 0.0117311571, 0.0340440869, 0.0200687628, -0.0395061523, -0.0848518759, 0.0079478528, -0.0355134048, 0.0199550204, -0.075380519, -0.0149624189, -0.0525029786, 0.0573771968, 0.0016520889, -0.0245258939, -0.0268742815, 0.0152613651, 0.0231717937, 0.0200686138, -0.0357710086, 0.0481311232, -0.0144685339, -0.0401074216, 0.0480972491, 0.0210379381, 0.0065303445, -0.0067027737, -0.0482276641, 0.0078912675, -0.040405184, -0.0046508508, 0.0028557198, -0.0008963436, 0.0180451199, 0.0285855122, 0.1099413559, 0.0302824154, -0.0267146509, 0.0050149923, 0.0129931057, -0.0206455104, 0.008021431, -0.0234356988, -0.0482317917, 0.0168365967, 0.0007854173, 0.0096344603, -0.0937288627, -0.0480450578, -0.0250536297, -0.0427036621, 0.0205317233, -0.0036428336, -0.0093180416, 0.0122835934, -0.0865203217, -0.0324843526, 0.0358180627, -0.0525003597, -0.043806728, 0.0115393335, 0.006441236, 0.0037430781, -0.020956004, -0.0190540329, -0.0273063853, -0.0509533286, 0.0286351535, 0.0467216931, 0.0450361408, -0.0361836813, -0.0502917171, -0.0386993922, -0.0053027794, -0.029419288, -0.0199370589, 0.0776933134, -0.0571970344, 0.022318922, -0.0581571981, 0.0496322885, 0.0060018022, -0.0168537553, -0.0188623723, 0.03599618, -0.0199374128, -0.0688600391, -0.0095210876, -0.0243040491, 0.0372405089, 0.0565487966, 0.0118525205, -0.025174303, 0.005755106, -0.0208320245, 0.0354176275, -0.0126112066, -0.0404679365, 0.0158970468, -0.0313362703, -0.1009669453, -0.0938528031, -0.0030396748, -0.0500674285, 0.0242516398, 0.0062560751, 0.013220503, 0.0136620952, -0.0277576391, -0.0478683524, -0.0475085862, -0.001807182, 0.0496132001, -0.0287479199, 0.020351572, 0.0047841971, -0.0099649578, 0.0029845103, 0.0172438771, -0.0624705888, -0.0224503484, 0.022476092, -0.0085656717, 0.0224476475, -0.0140353702, -0.0182639398, -0.0520099364, 0.0781380981, 0.0379494317, -0.0144497417, 0.0207415614, 0.0203489717, -0.0281608719, 0.0084111504, 0.0200293697, -0.0058643557, 0.026308747, 0.0423355326, -0.0677612871, -0.0498534516, -0.0072416984, 0.0094422773, 0.0442219041, 0.0176832471, -0.0568317957, 0.0123472279, -0.0013673634, -0.0229021069, -0.0011635864, -0.0183757599, 0.0162942242, -0.0195973255, 0.0432017744, -0.0160527118, -0.0352026485, 0.0792463571, -0.028005505, 0.0087630339, -0.0331909135, 0.0049700015, -0.0300639179, 0.0984040052, -0.0331230015, 0.0065034917, 0.000504045, 0.0116064856, 0.0063843061, 0.0370910503, 0.0153691862, -0.0169544742, 0.0192534979, -0.0289471094, 0.0338475294, 0.0172262583, -0.0777317584, -0.0016952102, -0.0124541186, 0.008476059, 0.0209384803, 0.0430105962, 0.0405638404, -0.0199634321, 0.0103432434, 0.004113825, -0.0131332148, -0.0105986148, -0.0285725258, -0.0481854677, -0.0039297347, -0.0608042851, 0.0568427779, 0.0772920474, -0.0034522922, 0.0283018351, -0.0113974418, -0.0688506588, -0.001966232, -0.0128281303, 0.0072274846, -0.0048540174, -0.0099311974, -0.0165651105, -0.0715683252, -0.0241928287, 0.0311464574, -0.0080216946, 0.046547059, 0.0006257609, -0.0288517177, 0.0777063519, -0.000565226, 0.02519661, -0.065600507, 0.0071069119, -0.0257894099, -0.0697676688, 0.0061868955, -5.958385438e-33, 0.0529427007, -0.1066626608, -0.0337253846, 0.0445097871, 0.0125455437, 0.0287746768, -0.001403983, -0.0158580039, -0.0186745524, 0.0356561542, 0.012065284, 0.0366242155, -0.0038003407, -0.0046438323, -0.0338861644, -0.0068449364, 0.0162998792, -0.0071157049, -0.0411583334, 0.0196129605, 0.0616760626, -0.021564452, 0.0210466292, -0.0734541938, 0.0660944134, -0.0209621973, -0.0834327489, -0.0097258212, -0.0127074812, 0.0130929239, 0.0350952335, 0.0120553775, 0.0520767495, -0.0266538486, 0.0158402249, 0.0369188339, -0.0064930841, -0.0461287387, 0.0298043992, 0.0187026188, 0.0073315161, -0.0542053506, 0.0397908464, -0.0262797773, -0.0496870242, 0.0326066501, 0.0353835113, -0.0021541568, -0.0195374656, -0.0763876811, -0.0269120988, 0.014014177, -0.000247454, 0.0307044964, 0.0011277794, 0.0269670356, 0.0143010719, -0.0165803768, -0.1009142697, 0.0510191061, -0.0356012173, -0.0149599435, 0.0141457105, -0.0239014272, -0.0355841331, 0.0577695593, 0.0164294615, 0.0232405532, -0.0152767282, 0.00394024, 0.0130190328, 0.0247742701, 0.0705389529, 0.0887419879, 0.0285598394, -0.0578563027, -0.049585361, 0.072923407, 0.0410768427, -0.0337061025, -0.0022589348, -0.0348046906, -0.0608161688, 0.0106649734, 0.0134287616, -0.0471115969, -0.0360789932, -0.0299902856, -0.0107124113, 0.0015004281, -0.0501136892, -0.0006638386, -0.0037504397, -0.060795702, 0.0180887356, 0.0244401991, -0.0127268778, 0.0464942269, 0.0173752084, 0.0031635438, -0.0257848781, -0.00495238, 0.0496622659, 0.0178456269, 0.0486938022, -0.0180884581, 0.0731268674, 0.0114816176, -0.0454442129, -0.0000783017, 0.025541421, 0.0308001619, 0.0200800821, -0.0276055448, -0.0115163913, -0.0132899359, -0.0078843804, -0.0303466227, 0.0055649085, 0.0239195097, -0.0079026222, 0.0241570845, -0.0407964475, 0.0200122017, -0.00547934, -0.0081411609, -0.0122796874, -0.0221634135, 0.0268703848, -0.07247179, -0.001682409, -0.0443437733, 2.718e-7, 0.0030152309, 0.0467697568, -0.0027285391, 0.0224171113, 0.0276504327, 0.0770582259, 0.0531973951, 0.0317761824, -0.0375635065, -0.0786386579, -0.0047407392, -0.0020520061, 0.0186308324, 0.0301787239, -0.0469702557, 0.0072919778, -0.0282472055, 0.027208332, -0.0556608476, 0.0087258937, 0.0386137553, -0.0040566484, 0.0512461402, -0.0560757294, -0.0085447896, -0.0453126356, -0.00057679, 0.0218535624, 0.0066758129, 0.0214940328, 0.0853676125, -0.0361209363, 0.0377603993, 0.0099260518, -0.0637124777, -0.0362407304, -0.0332188047, 0.0013626298, 0.0108768716, 0.0102890469, -0.0098168775, -0.0705540329, 0.0589691438, -0.055365555, 0.0648557544, 0.048239734, -0.0447288379, -0.0393349379, -0.0376995355, -0.0315241441, 0.0193951335, -0.0248183068, -0.0131562892, 0.0286876708, 0.0030392553, 0.0260089673, 0.0096534537, -0.029661512, 0.0008145908, -0.0167355612, -0.0240513962, 0.0071917088, -0.0087641291, -0.0067905579, 0.0541210212, -0.058641348, 0.0371874608, 2.356457505e-34, 0.0070365574, 0.00568781, -0.0116882203, 0.0096580032, 0.0393393338, 0.0449086688, -0.0670452118, 0.0187169686, 0.0020155611, -0.014024727, 0.0142396456 ]
http://arxiv.org/abs/2406.14005v2
http://arxiv.org/pdf/2406.14005v2
Information Guided Regularization for Fine-tuning Language Models
2024-06-20T05:18:37
2024-06-21T12:41:17
Mandar Sharma, Nikhil Muralidhar, Shengzhe Xu, Raquib Bin Yousuf, Naren Ramakrishnan
cs.CL
cs.CL, cs.AI, cs.LG
The pretraining-fine-tuning paradigm has been the de facto strategy for transfer learning in modern language modeling. With the understanding that task adaptation in LMs is often a function of parameters shared across tasks, we argue that a more surgical approach to regularization needs to exist for smoother transfer learning. Towards this end, we investigate how the pretraining loss landscape is affected by these task-sensitive parameters through an information-theoretic lens. We then leverage the findings from our investigations to devise a novel approach to dropout for improved model regularization and better downstream generalization. This approach, named guided dropout, is both task & architecture agnostic and adds no computational overhead to the fine-tuning process. Through empirical evaluations, we showcase that our approach to regularization yields consistently better performance, even in scenarios of data paucity, compared to standardized baselines.
[ 0.0199857354, 0.0599230304, -0.0169205759, 0.0566415787, -0.0151481312, 0.0341239497, 0.0083441762, -0.0060303966, -0.0634362847, -0.0125470394, -0.0839188546, -0.0185611509, -0.0013398252, -0.0165256355, 0.0543994009, -0.0502909534, 0.0428097174, -0.0369749293, 0.000434709, -0.0000799241, 0.0158445183, 0.0148760257, 0.017745221, 0.0111494726, 0.0291364789, 0.0211619809, 0.0207456145, 0.0589086376, 0.0132194581, -0.0054132845, 0.0279101301, 0.0306812543, 0.018577436, -0.0042879935, 0.0000019525, -0.0488465428, -0.007036991, -0.0259141624, -0.0394200459, 0.0223053042, 0.0215435419, -0.0183565412, 0.0073857852, -0.0026157175, -0.0045463648, -0.0389458723, 0.0741933286, 0.0374804437, 0.0264312942, 0.1072754636, -0.0197520386, 0.0171033293, 0.0124384873, -0.0559008345, 0.0233161673, -0.0528278761, 0.0432401821, -0.0067128576, -0.0588195622, -0.0321383663, -0.0238155276, 0.0301046893, -0.0300116464, 0.01684843, 0.0012233041, 0.001543839, 0.0098175872, -0.015060558, -0.0340287164, 0.0626295581, -0.036593236, -0.0108747324, -0.0008076775, -0.0314904936, -0.0012742385, -0.0178793818, -0.0591235906, -0.0327326134, 0.0457889996, 0.0328349099, 0.0298202392, -0.0318923034, 0.0593671463, 0.0047747847, -0.0263838042, 0.0137985339, 0.0280530322, 0.001741789, 0.038027592, 0.032976184, -0.0323337093, -0.0192339048, -0.0015369976, 0.0257102232, -0.0038340886, -0.0099157616, -0.0756876692, -0.0381599814, -0.014059023, 0.0135236103, 0.0866396651, 0.0147413025, 0.0030954911, 0.041211199, -0.0033664166, 0.0066871946, 0.0033515615, 0.0822132453, -0.0453246199, -0.0001076746, -0.0357914455, 0.0062540504, -0.0059990375, 0.0136008468, 0.0259170774, 0.004895865, 0.0076852464, 0.0304583423, -0.011882918, -0.0583754964, 0.0181081258, 0.0019792342, -0.0720128492, -0.0309910011, 0.0112183709, 0.0476922393, 0.0013420039, 0.0659826472, 0.0173501093, -0.0641011074, -0.0409505405, 0.0378244556, 0.0260419399, -0.0502848886, 0.0281972773, 0.0294947904, -0.0197251458, -0.0279353242, -0.0424738564, 0.0334009491, -0.0024035694, -0.0860569105, 0.0181989949, -0.0192617308, 0.0399729647, -0.0092134653, 0.0339056775, -0.0893055722, -0.0278583989, -0.0020406712, -0.0512208045, 0.0575937629, -0.0449991077, 0.0046257302, 0.0306839459, -0.0138649344, -0.0047755861, 0.0790734068, 0.0430088528, -0.0075045261, 0.0132969022, -0.0382968672, -0.0214081388, 0.0660046637, 0.0156634711, 0.0457268544, -0.0257892404, -0.0341408774, 0.0149886617, 0.0114796357, 0.0832748562, 0.0656300634, -0.0195996705, 0.0169402082, 0.0782399625, 0.0293875001, 0.0515042506, 0.0082773743, 0.029340107, 0.0119827986, -0.0084825559, 0.0301431455, -0.0443110354, 0.003995114, 0.0058087823, -0.0288242195, 0.021716971, 0.0280729458, -0.0368429609, -0.0091942297, 0.0197176188, -0.0025492783, 0.0029557613, 0.0154242618, 0.070082441, 0.0358824246, -0.0102509493, 0.0495358631, 0.0561637618, -0.0270602293, 0.0317012519, -0.0359637067, 0.0020546785, 0.0265098196, 0.0218221713, -0.0277255457, -0.0254196599, 0.0149137285, 0.0552378371, 0.0138587439, 0.0487015843, -0.0157907922, 0.074559018, -0.0554892235, -0.0165970847, 0.0266031995, 0.0234845988, -0.005488981, -0.0394385979, 0.0053935447, 0.042494271, -0.0364064835, -0.0379407294, 0.0539527871, -0.0363730229, -0.0496020652, 0.0228106417, -0.004081327, -0.0130476924, -0.0305303782, -0.0151587464, 0.0028636334, 0.0242475141, -0.0405928642, 0.0442476086, -0.0410247333, -0.0553636737, -0.0099332668, 0.0333289057, 0.0222558156, 0.0631244779, 0.0564513989, -0.0392044485, -0.0604396947, 0.0139268562, -0.0047281473, 0.0439496003, -0.0031046537, 0.0341772176, -0.0055568204, 0.0305178799, -0.0549376421, -0.0146331023, 0.0146210464, -0.0268992744, -0.0207380932, -0.0345225297, -0.0277725477, -0.0437230319, -0.0305079017, 0.02804216, -0.0295049679, 0.0098513877, -0.0069741011, 0.0202847682, -0.0075486167, 0.0199871603, -0.0561208278, 0.0217625257, -0.0253851879, 0.0433270223, 0.0311944857, 0.0311131719, -0.0072292802, -0.0165831298, -0.0056431857, 0.0163079407, -0.0275379904, 0.0231513064, 0.0141423671, 0.014863777, 0.0030461722, -0.0709530339, -0.0358678177, 0.0284364969, 0.0323728882, -0.0405842364, -0.0197276194, -0.0704984367, 0.0300282333, -0.0253701452, 0.0077240216, -0.0160197858, 0.0001928282, -0.0400882028, -0.0418857448, 0.0048992289, 0.0440936387, -0.0210142806, 0.0116108144, 0.0382519811, 0.0001864623, -0.041165065, 0.0184057001, -0.0031776363, -0.0185747333, -0.0635341331, -0.0138776517, 0.0106536476, 0.0740315914, -0.0206601396, 0.0052823075, -0.0320179239, 0.0065630111, -0.0299117286, -0.0006691465, -0.0064371494, 0.0349955037, -0.0269393809, 0.026291592, -0.0294705816, -0.0493959747, 0.0218583066, -0.0326777361, 0.0099522434, -0.0093079479, -0.0194483306, -0.0203968044, 0.0367742293, 0.0110271461, -0.0066568688, 0.0427059196, -0.0095161228, -0.0682653934, 0.0062233452, 0.0136471465, 0.0053133839, 0.0546340309, -0.0558107942, 0.0053772642, -0.0095911846, -0.0267973151, 0.01424143, -0.0304051768, -0.0249048639, -0.0166065879, 0.0579969846, -0.0011410713, -0.023939399, -0.0028536625, -0.0029233051, 0.0461963564, -0.0060209166, 0.0073108054, -0.0295869801, 0.0427176245, 0.0687788427, 0.0375131816, -0.0078743733, -0.0223873369, 0.0012829932, 0.0126992706, 0.0534274727, 0.0115448711, -0.0151181379, 0.0097462572, 0.0741377473, 0.0070057353, -0.0356943607, 0.0233006626, 0.0983083993, -0.0575020015, -0.0423258431, 0.0801084414, -0.0307799019, -0.0971706435, 0.0012035606, 0.0209935755, 0.0648401305, 0.010543881, 0.0171735249, -0.023843376, -0.0665634871, 0.0241891276, 0.0136728948, 0.0111794723, -0.0045450595, -0.0194360092, -0.0501505472, 0.0036683674, 0.0340101346, -0.0261635091, -0.0210297853, -0.0450668819, 0.0374705009, -0.0271142665, 0.0571091399, -0.0093648378, -0.0329040512, -0.0139508136, 0.055801075, -0.0189540237, -0.0582334101, 0.0011842246, -0.0322463028, 0.0548972636, 0.0679580867, 0.0190096926, -0.0028567926, -0.0054959948, 0.0544143729, -0.000306347, -0.0145336408, -0.0263267234, 0.0724257231, -0.0092307422, -0.0224944316, 0.0403580777, 0.0159040391, -0.0393186361, 0.0010791091, 0.0122367386, 0.0520938449, -0.000692462, -0.0279828757, 0.0339040682, -0.0367949121, 0.0248203855, 0.0687108636, 0.0380058624, -0.0698077753, -0.0120606823, -0.0289577059, -0.0151221054, -0.066264011, -0.0177594982, -0.0082361791, -0.0221482497, -0.0519115143, -0.0432270542, -0.0092377234, 0.0195485316, 0.0377059318, 0.0260419678, 0.002155079, -0.005234668, -0.0014564578, -0.0212394055, 0.0311530177, -0.0650156811, 0.0083212908, -0.0563328937, -0.0345134698, 0.0077862572, -0.0101312837, 0.0066321068, 0.0224348698, -0.13369596, -0.0725212991, -0.0120971864, 0.0397418402, 0.0095285084, 0.0414829031, -0.0070697828, -0.0585003458, 0.025519073, -0.0048464099, -0.0173072387, 0.0314843431, 0.0469761863, -0.0631431863, -0.0107700881, 0.0529519245, -0.0494506247, 0.0103085395, 0.0709151402, 0.0291295983, 0.0177393276, -0.0302897915, -0.0190331619, -0.0002510036, 0.0587612018, 0.0011803313, -0.0579061918, -0.0239525456, 0.005239191, 0.0097859707, 0.0057166554, -0.057207644, -0.0491133481, 0.0303609427, 0.0330209062, -0.0146030672, -0.0140278433, 0.0348289162, 0.0311985165, -0.0811109915, 0.0024748396, -0.0015008126, 0.0155645357, 0.0361957811, 0.0189069156, -0.0051507326, 0.0169124044, 0.0186960753, -0.0025540511, -0.0374957249, 0.0090590091, 0.0165123548, 0.0432756208, -0.0402604379, 0.0083567789, -0.0273297299, -0.0684996024, -0.0476220325, -0.0232436135, 0.0525466315, -0.0364571065, 0.0929279551, 0.0369225964, -0.0135543616, -0.0498846583, 0.0200774595, -0.0279339496, 0.0099367965, 0.0238424186, -0.0013342052, -0.0142676253, 0.0309995152, 0.0906160921, 0.0201743413, 0.0573420525, -0.0224950556, 0.0045069773, -0.0296602417, -0.0096457414, 0.0147208357, 0.0407176428, -0.0008381385, -0.021684818, 0.0157704614, -0.0728575438, -0.0172570366, -0.0660369173, 0.024065204, -0.018509239, 0.0489576571, 0.0425631776, -0.0348645337, -0.0036536837, -0.0096045043, -0.0508601591, 0.0118374862, 0.0006291483, -0.0214133654, -6.787968536e-33, -0.0312761739, 0.0592241026, -0.0003571174, 0.0303494632, -0.020699285, -0.0151555631, -0.0431217551, -0.0108949132, -0.0427470356, -0.0015772416, -0.0104159703, -0.0100695817, 0.0247218218, 0.0591120422, -0.0071727778, -0.0044680317, 0.0509258471, -0.0182435252, -0.0158929899, 0.0460351221, -0.0161747038, 0.0698706955, 0.084223628, -0.0333178937, 0.0081521636, 0.0216067135, -0.0102839191, 0.0075261341, 0.0255534668, 0.0077461055, -0.0375470966, 0.0453047976, 0.0350901, -0.0483074188, -0.0443311185, 0.008895346, -0.0771076158, -0.0149180386, 0.0146885868, -0.0033274363, 0.0010681935, -0.0480257012, 0.0532905199, 0.0160588715, -0.0029271676, -0.033945445, 0.025827663, 0.0074341889, -0.0591117963, 0.0028270432, -0.0666528121, 0.0169290081, 0.0056741992, -0.046770446, 0.0169238858, 0.0021629422, -0.0344223008, -0.0063692932, -0.0148291029, -0.0119661326, 0.0101267528, 0.0774759501, 0.0428102016, 0.0673777983, -0.0364306644, 0.0305503849, 0.0117913913, 0.00465929, 0.0265726019, 0.0116596958, 0.0530806035, 0.0535550714, -0.0067495177, -0.0257858187, 0.0199254919, -0.0384903476, -0.0616975389, -0.0111609502, -0.0134338839, 0.0297678076, 0.015842136, 0.0690086931, -0.0064218068, -0.0453754365, -0.0251564346, -0.0389583297, 0.0065069385, -0.0041669747, 0.0032587331, 0.0024984844, -0.0230181739, 0.0014632349, 0.0414702073, -0.0295616519, -0.0039989594, -0.0079699354, -0.0229075812, 0.0217234399, -0.0036311965, -0.0260794275, -0.0692682713, -0.0608856641, 0.0110468855, -0.013452624, 0.0232693944, -0.0192663986, 0.0445138775, 0.0390719213, -0.0461303703, -0.0628891662, -0.0591870546, 0.0034228244, 0.0439851061, 0.102974169, 0.0263785236, 0.0250520688, -0.0121901967, 0.0545835085, 0.0100534325, -0.0409266017, -0.0104959002, -0.0561854951, 0.0105150184, 0.0011698361, -0.0339020155, -0.022724703, -0.040170487, -0.0458759628, 0.0299755894, -0.036526911, -0.0351858698, -0.0122859748, 2.689e-7, 0.0364507958, 0.0176968463, -0.0187243782, -0.0209693685, 0.0083135618, 0.0191464014, -0.0198868364, 0.0225139465, 0.0218455512, 0.010861408, 0.0298926271, 0.0522856265, 0.0704121664, -0.0138121815, -0.0760092884, -0.0371440686, -0.0244964957, 0.0542544834, -0.0260122307, -0.0234560631, -0.0215229839, 0.0881346017, 0.0182188321, -0.0439871252, 0.0030236463, -0.0389624909, 0.0318431184, -0.0847180486, 0.0215326939, 0.0491469875, 0.0668834373, 0.0105257062, -0.0170212332, 0.0299731568, -0.0214993916, 0.0209801812, 0.0080116317, 0.066843003, -0.007228116, -0.0285621434, -0.018725507, 0.0373424664, 0.023005249, -0.0195380282, 0.0823409259, -0.0509332903, -0.02168433, -0.0180239175, 0.004824257, -0.0058788224, -0.0054122787, -0.0226360857, -0.022092957, 0.0151213976, 0.0463029109, 0.011971157, -0.0869662389, -0.0634661466, -0.0104139978, 0.0570628233, -0.0753683224, -0.0348824412, -0.0482872948, -0.0520999245, -0.0042133457, -0.0588979609, 0.049661234, 2.264673667e-34, -0.0064047724, -0.0085532917, 0.012444661, 0.0316942073, 0.0229709484, -0.0168546475, -0.0196632948, 0.0264736898, -0.0123278359, -0.0826965719, 0.0119743235 ]
http://arxiv.org/abs/2406.13997v1
http://arxiv.org/pdf/2406.13997v1
"Global is Good, Local is Bad?": Understanding Brand Bias in LLMs
2024-06-20T04:52:19
2024-06-20T04:52:19
Mahammed Kamruzzaman, Hieu Minh Nguyen, Gene Louis Kim
cs.CL
cs.CL, cs.CE
Many recent studies have investigated social biases in LLMs but brand bias has received little attention. This research examines the biases exhibited by LLMs towards different brands, a significant concern given the widespread use of LLMs in affected use cases such as product recommendation and market analysis. Biased models may perpetuate societal inequalities, unfairly favoring established global brands while marginalizing local ones. Using a curated dataset across four brand categories, we probe the behavior of LLMs in this space. We find a consistent pattern of bias in this space -- both in terms of disproportionately associating global brands with positive attributes and disproportionately recommending luxury gifts for individuals in high-income countries. We also find LLMs are subject to country-of-origin effects which may boost local brand preference in LLM outputs in specific contexts.
[ 0.0059626587, 0.0443139859, -0.0105510131, 0.0355250873, 0.0287866574, -0.0140874842, 0.053522259, -0.0132466741, 0.0586057268, -0.0196984634, -0.0521859489, 0.0075393203, 0.0152006391, -0.0017126066, 0.0261992905, 0.017257506, 0.0129535869, 0.0452515632, 0.044604402, -0.0363147371, -0.0103732357, 0.0148820849, 0.0501917563, 0.031295564, 0.0253268741, -0.0026751398, 0.0872067437, -0.0006951865, 0.019723149, -0.0713262782, 0.059962783, 0.0309748575, 0.012659627, -0.0486857556, 0.000002024, -0.0605882518, -0.0138864992, -0.0327803977, 0.0011113512, 0.0078985859, 0.0345035084, 0.0630286708, 0.038332805, 0.024877429, -0.0014511304, -0.0177886393, -0.0181717444, -0.0082618026, -0.0654479116, 0.0008428203, -0.0032040465, -0.0215547606, -0.1137661487, -0.0109949382, 0.0196796153, 0.0215706117, 0.0410673209, -0.0388501436, -0.0462851003, -0.0200706776, 0.0103563862, -0.0193601158, -0.0185789876, 0.067139633, 0.051197581, 0.0053796023, 0.0036362167, 0.004854125, 0.0163879152, 0.0422118083, 0.0586771928, -0.0052424404, -0.0173010211, -0.0113225086, 0.0666498467, -0.0230410714, -0.0020631228, 0.0220427811, 0.0033871492, 0.0585147813, 0.002049346, 0.0282933302, 0.0050774403, 0.0486940704, 0.0178622529, 0.090207167, -0.0196391866, -0.0027128961, -0.0005088489, 0.0335848369, -0.0050625429, -0.0059518674, 0.0079885535, -0.0351931155, 0.040723782, -0.0162292086, 0.0432736911, 0.1231015474, 0.0468897969, -0.0345128737, 0.0100437663, 0.0056053507, -0.0403665639, -0.0113972351, 0.0032994589, -0.0186616424, -0.0125383604, 0.0036016111, -0.0436772518, 0.0297796205, 0.0042344984, 0.0241548121, 0.0973211974, 0.0051670671, -0.0357152559, 0.059372656, -0.0508629829, -0.0211289469, 0.0002222623, 0.0193112176, -0.025006149, 0.0245114174, 0.0475399345, 0.0013525324, -0.0892015249, 0.0392147452, -0.1151665524, 0.0424858779, -0.036146868, -0.0170938615, 0.0362891667, 0.0200701524, -0.0191565473, -0.025072854, 0.0296556484, 0.0445109792, 0.0007247014, -0.0211744625, -0.0702494979, 0.013513498, 0.0206061732, -0.0206352659, 0.0327965096, -0.0174926501, -0.0058255582, 0.0385078341, 0.0308225509, -0.0195373725, -0.0018820803, -0.0001511021, -0.0285362564, -0.0096214283, 0.0608518869, 0.0092202816, 0.0345687196, 0.0214638505, 0.0008388079, 0.011419395, -0.0239105057, 0.0144340564, 0.0408632867, 0.0162664577, -0.0246470738, 0.0359562449, -0.0511570983, 0.0024510543, -0.054502748, 0.0211442299, -0.0087890057, -0.0290059559, 0.0453303829, -0.0086096758, -0.0458052009, 0.0713040978, 0.1222791076, -0.0175783876, -0.0184554327, 0.0263875108, -0.0692657307, -0.0092460224, -0.0550267324, -0.0373851545, -0.0261939131, -0.0070191282, 0.0303123966, 0.0023369496, 0.0006315762, 0.0036919736, -0.053874258, -0.0148176672, 0.0214486402, 0.009997935, 0.0201464109, 0.0234285276, -0.0148410527, -0.0425593667, -0.0034725077, 0.0070789331, -0.0208615139, -0.008879533, -0.0260959212, 0.0060098721, 0.0915667191, 0.0626842305, -0.044543542, 0.0247684531, 0.0527404919, -0.0016301076, -0.0468395054, 0.0327037051, 0.0032451944, 0.0305460952, -0.0247814972, -0.004025511, -0.0327671804, -0.026252443, 0.0014551097, 0.0239955354, 0.0126725379, 0.0553919673, -0.0240164511, -0.056445647, 0.0473800749, -0.0290346853, 0.0638801977, -0.0081342682, -0.032878194, 0.0039478126, -0.002006283, 0.0144948969, 0.0131347114, -0.0026114052, -0.0233133677, -0.0538037047, -0.0145972818, 0.0376519933, 0.0060383561, 0.0364474207, -0.0296423119, -0.0639343113, -0.0404649749, -0.017549254, 0.0335734636, 0.0377350785, -0.0099556157, 0.0914009884, 0.043278683, 0.0154484995, -0.054994937, -0.0211688336, 0.0180490837, -0.003273153, 0.0253355987, -0.0200068876, -0.0206809063, -0.0484173186, -0.0037330007, -0.0187268592, 0.0178453904, 0.0311169904, -0.0238429438, 0.0044586179, -0.016951004, -0.0012898244, 0.0052801701, -0.0247764904, -0.013301637, -0.0503884144, 0.0119645922, 0.0551960133, 0.0010522936, -0.0300621726, -0.0019919998, -0.0376706757, 0.0120263845, -0.0490757599, -0.0335184, -0.0041086869, 0.0345822982, 0.0269271284, -0.0101842303, -0.0020231167, -0.0212098621, -0.0186665971, 0.0140856365, 0.0344146043, -0.0070976103, -0.0233419333, -0.0470470972, -0.0722454935, -0.0699962676, -0.0349023007, 0.0057818331, 0.0147688817, -0.0327256024, 0.0524725467, 0.0380940251, 0.0333903022, 0.010474408, -0.0231458228, 0.0660059974, -0.0131389732, -0.0599605143, -0.0504971817, 0.0307457466, 0.0043261326, 0.0019198032, -0.0534629859, -0.0412937999, 0.061449375, -0.0084737912, 0.0194221232, 0.0460348725, 0.0424424373, -0.0121135926, -0.0479711667, -0.0161437243, -0.002783048, -0.0307321567, 0.092999503, 0.0138475802, -0.0861361846, -0.0292683542, 0.0212388001, 0.0424324684, 0.0560851283, 0.0021043473, -0.0116325682, -0.0548201837, -0.0374556705, -0.0108112507, -0.0286850054, -0.022029344, -0.0405060463, -0.0238519423, 0.0045714667, -0.0170694515, 0.0226346925, 0.0168517996, -0.0106610237, -0.0440559089, -0.0445835404, -0.0041212337, -0.0361567363, -0.0278026927, -0.0317651331, 0.0338721611, 0.0214273669, -0.0094797788, -0.0331754982, -0.014414669, -0.0582914017, 0.007963107, 0.017588228, 0.0177282263, -0.0226745512, -0.0083134025, -0.0008094277, 0.0179274231, -0.0182016622, -0.0174684264, -0.0143620744, -0.003665491, -0.0268301498, -0.0023893781, 0.0359830223, 0.0398098752, 0.031697154, 0.0071757208, 0.0079666721, 0.0383640677, 0.0398136713, 0.0705139562, 0.0475425236, -0.045926284, -0.0610143393, -0.0041432106, 0.0314801186, 0.0185891129, 0.0368149504, -0.011851524, -0.0859255269, 0.0247141086, 0.0524738878, 0.0055387043, -0.0684868991, 0.026724549, -0.0271419808, -0.0737430453, 0.004393063, 0.0272856075, 0.0409997031, 0.0245145634, 0.0486665443, -0.013771263, 0.0043462543, 0.0408215001, 0.0122283595, -0.0145982606, 0.0268100128, -0.0114917802, -0.0386141725, 0.0028969455, 0.0083726663, -0.0357442275, -0.0081760269, -0.003861153, -0.0141005069, 0.0052331774, -0.0308369454, 0.0416085385, 0.0189051349, -0.0039809369, 0.0014732021, 0.0055093388, -0.0652439222, -0.0234399457, -0.0284665376, 0.000110988, -0.0235631689, 0.0115500912, -0.0007964282, -0.0305373892, 0.0549819097, -0.0433781818, 0.0095829135, -0.0355030894, -0.0556307435, 0.0438568704, -0.0062358137, -0.0237525906, 0.0453612767, -0.0606505685, -0.0554513261, 0.0730941296, -0.0428519174, 0.0671771988, -0.0423935279, -0.0235735625, 0.0264959969, -0.0361130387, -0.0150753781, -0.0206280276, -0.00284397, -0.0203915369, -0.0556279048, 0.0013283931, 0.0266586803, 0.0382156558, -0.0466999486, 0.0176195316, 0.0293661151, 0.0164837912, 0.0243075453, -0.0409048796, -0.0079826862, 0.0104601383, 0.0003573279, -0.0019005287, 0.0080405911, 0.0359002464, 0.0146807712, 0.0418328941, 0.010904857, 0.0037592871, 0.0163520798, 0.0436096936, 0.0249773413, 0.0376003459, 0.0148606431, 0.0524049848, 0.0195691939, -0.0247610807, -0.027465336, 0.0147572886, 0.0647840053, 0.0114692179, 0.0166089572, -0.007705261, 0.0342286304, -0.0369341299, 0.0718656108, -0.0179729965, 0.0772436559, -0.0105017386, -0.0072752228, 0.0313914679, -0.0298510175, 0.0066276533, -0.0425234735, 0.0444079973, 0.0373493247, -0.0445979275, -0.0331719778, -0.0240640454, 0.0281544495, -0.0526689403, 0.0520595983, -0.0244536307, 0.0214054007, -0.0199613851, 0.0145009942, -0.0084916716, 0.0227210037, 0.0060994951, -0.0034000652, -0.0078277318, 0.0288975276, 0.0262403674, 0.0396789722, -0.0367834643, 0.0310865287, 0.032147605, -0.0616715699, 0.0239692889, -0.0000649562, 0.0054845996, -0.1032413319, 0.0106989108, 0.0480487086, -0.0190611016, -0.016058635, 0.0129491128, -0.0550192185, -0.0302418824, 0.0035003114, -0.0020954348, -0.038329415, 0.0047345678, 0.0422834866, 0.005945208, -0.0324775279, -0.0235846154, -0.036874231, -0.0276034623, -0.0197249409, 0.0435411558, -0.0619058423, -0.0430411883, -0.0339772217, -0.0688879117, -0.0820016637, -0.0007463996, -0.0483028777, -0.0029579622, -0.0051666261, -0.0387874432, 0.0462037772, -0.0192326047, -0.0464714803, 0.0188223571, -0.0154919391, -0.0382614918, -0.0128875282, 0.0277874116, -5.777119434e-33, 0.0248705037, -0.0070493761, -0.0259926077, -0.0217914805, -0.0272676442, 0.0054896665, 0.0296166725, 0.0390048623, 0.0278181583, -0.0096908594, -0.0184472669, -0.03525538, 0.0271450859, -0.0512565747, 0.0650477037, -0.0781934187, 0.0027709391, 0.0207539257, -0.0044170083, -0.0211710557, -0.0149425361, 0.0316640809, 0.0503687263, -0.040189188, 0.0674476624, -0.0341200233, 0.011311464, -0.0281490963, 0.0513329133, -0.0003419991, -0.0286677778, 0.0346755572, 0.0366222635, -0.0257696416, -0.0034811746, 0.0374483131, -0.010971128, 0.0172946583, 0.0329752229, -0.0240223929, 0.035373386, -0.025052242, -0.0331483781, 0.0567198358, -0.0631458536, 0.0640838891, 0.0344344974, -0.0309584457, 0.0207599178, -0.0113294069, 0.0254391581, -0.0274009183, -0.0365921631, 0.0946495309, -0.0073929955, 0.0295785405, -0.0064330818, 0.1271190196, 0.0411720425, 0.0208022259, -0.0695591196, -0.017586058, -0.0132746398, -0.0143208848, 0.0017301444, 0.0463761054, 0.0202015433, 0.0577386469, -0.0046225381, -0.0185829811, -0.0139942179, 0.011229435, -0.0313609838, 0.0874679312, -0.0052449526, -0.0152080543, 0.0192430094, -0.0253307391, 0.0534876585, -0.0254392251, -0.005373891, 0.0486003086, 0.0076332027, -0.0314859003, 0.023252029, -0.087404795, -0.0368627198, 0.014549681, 0.0357286818, 0.0045579053, -0.0031884937, -0.0138007179, 0.0506129526, -0.012915873, -0.045151405, -0.082021378, 0.0306818821, -0.0679622963, 0.044866439, -0.0535321832, -0.0344768018, 0.0180661045, -0.0763477087, 0.0035418198, -0.0272537544, -0.0019730374, -0.0108299823, -0.0409636535, -0.0419148915, -0.0181479435, 0.0103737386, -0.062066447, 0.0090200519, -0.060795702, 0.0487304516, -0.0186480694, 0.0361617655, -0.0222111717, 0.0081651667, 0.0273280479, -0.0066291727, -0.0177632142, -0.0457894057, 0.0455057807, -0.0276062097, -0.0191579144, -0.0115536666, 0.0104093384, 0.0684100538, -0.0417365991, -0.0320508853, -0.0787615925, 2.652e-7, -0.0150382528, 0.0588657707, -0.0464934632, -0.0076806978, 0.0146368584, 0.0436171517, -0.0069540171, 0.0469380915, 0.066200912, -0.0520565696, 0.0236546993, -0.0190520771, -0.0136685362, 0.0064938501, -0.0353276283, 0.0616198704, -0.0209544189, 0.0103504863, 0.00117445, 0.0155777913, -0.0636250004, -0.020272702, 0.0128621673, 0.0254232418, -0.0305132102, -0.0536995791, 0.0479826517, -0.1395876259, -0.0014647095, -0.0176780056, -0.0105320113, -0.0119015248, -0.0126645584, -0.0111211259, 0.0236639455, 0.0191607587, 0.028369762, 0.0012973796, 0.0673493296, -0.0358677879, -0.0371298417, 0.0170484111, -0.0020016332, -0.065596059, 0.0114207212, 0.0157418437, 0.004124091, -0.0384348482, -0.0125324167, 0.0070707565, 0.0400485992, -0.0093958285, 0.0249108505, 0.001991038, 0.012608896, 0.0253318418, 0.0289527252, -0.0182272755, -0.0204243753, -0.0403657667, -0.0127274999, -0.0162875317, -0.0028154117, 0.0985659957, -0.0296302401, 0.0062041343, 0.007793868, 1.88658624e-34, 0.0094739553, -0.0389696136, 0.0333589166, 0.021033112, 0.0377763622, 0.017485572, -0.0640823543, -0.0273562465, -0.0091423094, -0.0175869484, 0.0094179614 ]
http://arxiv.org/abs/2406.13993v1
http://arxiv.org/pdf/2406.13993v1
Exploring Changes in Nation Perception with Nationality-Assigned Personas in LLMs
2024-06-20T04:44:20
2024-06-20T04:44:20
Mahammed Kamruzzaman, Gene Louis Kim
cs.CL
cs.CL, cs.LG
Persona assignment has become a common strategy for customizing LLM use to particular tasks and contexts. In this study, we explore how perceptions of different nations change when LLMs are assigned specific nationality personas. We assign 193 different nationality personas (e.g., an American person) to four LLMs and examine how the LLM perceptions of countries change. We find that all LLM-persona combinations tend to favor Western European nations, though nation-personas push LLM behaviors to focus more on and view more favorably the nation-persona's own region. Eastern European, Latin American, and African nations are viewed more negatively by different nationality personas. Our study provides insight into how biases and stereotypes are realized within LLMs when adopting different national personas. In line with the "Blueprint for an AI Bill of Rights", our findings underscore the critical need for developing mechanisms to ensure LLMs uphold fairness and not over-generalize at a global scale.
[ 0.0301204231, 0.0558229275, -0.0466836952, -0.0134619214, -0.0157016292, 0.0173498429, 0.0917183608, -0.0300092269, 0.0459673591, -0.0061333906, -0.0242502447, -0.0472273901, 0.0230879318, -0.0300932527, 0.0648255795, -0.0373122767, 0.0415829644, 0.0312874988, 0.0177925229, -0.0093019009, -0.0210161638, 0.027618181, 0.006649653, 0.0375984907, -0.0284551401, 0.0037470474, 0.0353022516, 0.0068160109, 0.0567950085, -0.0186759382, 0.0133741638, -0.0013628596, 0.041036725, -0.0566891097, 0.0000018028, -0.0444114134, 0.0123579307, -0.0015496496, 0.0048557515, 0.0009547839, 0.0212858804, 0.0240336098, -0.0092619201, 0.0224065017, -0.0361853391, -0.0010179452, -0.016995633, -0.0142661091, 0.0097979186, 0.0324148759, 0.0206681862, 0.0413352586, -0.0756926984, -0.0056486414, -0.0162149351, 0.0091055175, 0.0072889947, -0.0563487411, -0.0604339615, -0.0314447209, 0.0281779915, -0.0050188643, -0.0129603511, 0.0408026576, -0.0085778413, 0.0057747434, -0.0101787159, 0.0025001243, 0.0211290456, 0.0482787788, 0.121920757, 0.0283285007, -0.0058880863, 0.0239972286, 0.0456497557, 0.0097315656, 0.0250149034, 0.07070636, -0.0126074925, -0.0075994274, -0.0107116885, 0.0134487683, -0.0143103432, 0.0078904852, -0.0567698143, 0.0850463063, -0.0262331292, -0.0115276538, -0.0267448351, -0.0047878101, 0.0433598384, -0.0438703187, 0.0069216872, 0.038891945, -0.0319724604, 0.0030013202, 0.0078128474, 0.0343083329, 0.0169375837, -0.0392509289, 0.0054893722, 0.0381363258, -0.0266551115, 0.0025087101, 0.0075369524, 0.055597309, 0.0164165553, 0.0151205808, -0.0063597979, -0.0400941074, -0.004505456, 0.0094127133, 0.0484203026, 0.0202887673, 0.0498488285, 0.0611770712, -0.0602109805, 0.003155936, -0.0669099689, 0.0657769293, -0.037325006, -0.0168513022, -0.0067676497, -0.0133795626, -0.0871260688, 0.0294432584, -0.0650008991, 0.0276676193, -0.0577159524, -0.0377638228, 0.0290106721, -0.0039317557, -0.0292781871, -0.0132449968, 0.0065565878, 0.0619553924, 0.0359916054, -0.0351377316, -0.0162377339, -0.0004388983, 0.0507194586, -0.0529210158, 0.0063840165, -0.0334591717, 0.0113232518, -0.0064904592, 0.0144943325, -0.0529896617, 0.0098145856, 0.0067668362, -0.0143610314, 0.0475181974, 0.0143477218, 0.0440190844, 0.0275116451, 0.0301665775, -0.0313623585, 0.0393032394, -0.0144432969, 0.0297612343, 0.0473115705, -0.0048067323, 0.0458504148, 0.0469239391, -0.0787329003, 0.0377337188, 0.0083264839, 0.0155918822, -0.0135056758, -0.0194030516, 0.0784103423, -0.0044328752, -0.0130578792, 0.0195197668, 0.0567412153, 0.0831132606, -0.0174347032, 0.0297468081, -0.0102858646, 0.008593712, -0.0153729673, 0.0041192351, -0.0597451851, 0.0141467461, 0.0027617963, -0.0467065051, -0.0354058444, 0.0984831378, -0.0463504978, -0.0046652239, 0.0136475265, -0.0034449312, 0.0350062922, 0.018092487, -0.0172883589, -0.0157488175, 0.0277826171, 0.0466297083, 0.002781153, -0.0597671233, -0.0241116397, -0.0325099081, -0.0276252124, 0.0548677146, -0.0386933982, 0.0100141764, -0.0142614627, -0.0483489186, -0.0187369157, 0.0772471055, 0.0689283237, 0.0031212629, -0.0234730113, 0.014887766, -0.016863199, -0.0061462699, -0.0172254741, 0.0943009481, 0.0353883654, 0.0580970272, 0.0058059632, -0.0238021519, 0.0100289825, 0.0058587361, -0.0184246115, -0.0185735729, -0.0183277708, 0.039074935, 0.0028559002, 0.0358232372, -0.0126638031, -0.0169146769, -0.0122610424, -0.0203654319, 0.0066597774, 0.0392576829, -0.0296425633, 0.0710861012, 0.0333824456, -0.0616453476, -0.0460169129, -0.0146901216, 0.0166954231, 0.0036714487, 0.0203811731, 0.0371483676, -0.0009802077, 0.0141510246, -0.0076046009, -0.0433472432, -0.0023275954, -0.0005272742, -0.0085678408, -0.032120198, -0.0304268319, 0.0362874493, -0.0055421628, 0.0237631053, -0.0049240356, -0.0306741484, 0.0215987377, -0.0049896087, -0.0012595272, 0.0238852836, -0.0136331813, -0.0171567611, 0.032757096, -0.0796276778, 0.0013643706, 0.0001560716, -0.0172079653, 0.0240261257, -0.0098321121, -0.031375967, 0.0256011002, -0.0955594704, -0.0438407511, -0.0050499872, 0.0268469006, 0.0280976724, 0.0009216156, -0.0091575654, -0.0044372822, 0.0218210276, -0.0193558242, -0.0207711142, -0.0324341208, -0.0292247366, -0.0554376915, -0.0048709097, -0.0582151785, 0.0071636373, -0.0404576696, -0.0564036481, 0.0356043093, 0.0537600927, 0.0099510942, 0.0207231995, 0.031336084, 0.0462314561, 0.0809399635, 0.0234358311, -0.0093785068, -0.0342519432, 0.0384374224, 0.0322498679, -0.0056462917, -0.1003506333, 0.0025727744, 0.0105341868, 0.0014695664, 0.0206557699, 0.015162752, 0.0487312451, -0.056704849, -0.0551674925, 0.0253860913, -0.0135559356, -0.0249200203, 0.0742344931, 0.0299753137, -0.0121516259, 0.0096650999, 0.00421286, 0.0424194187, 0.05671487, -0.0279108044, -0.0291032791, 0.0232335329, -0.0180373788, 0.0153614199, -0.0070147123, -0.0322103985, -0.0649596602, -0.0418193825, 0.0215917304, -0.0518160723, 0.0516821183, -0.0159977768, -0.0399005786, -0.0449524559, -0.0150244627, -0.0359431021, 0.0261398591, 0.0013164239, 0.0029333511, 0.0101223746, -0.0355891064, 0.0003550878, -0.0092223976, 0.094764784, -0.0090191541, -0.0082678152, 0.0230242573, 0.0033254856, -0.0786704272, -0.0387132801, 0.0600276329, 0.0628109872, -0.0293215495, -0.0180878099, -0.0167289618, -0.0212986749, -0.0232212506, 0.0199129004, -0.0173241515, 0.0470970608, -0.0086928448, -0.0166923497, -0.003712177, 0.0618900955, -0.0109794354, 0.0486143082, 0.0534340963, -0.0325477086, -0.0770831704, -0.024081951, -0.0068105194, -0.0360535905, 0.048520755, 0.0208648928, -0.0677257404, 0.0608337931, 0.0076023582, 0.0089914147, -0.1117366031, -0.0400230549, -0.0370108373, -0.1071942821, 0.0310982727, 0.0163250677, -0.0014409104, -0.012264071, 0.0297395531, 0.0156142469, 0.0194136631, 0.0510106273, -0.0187769178, -0.0136596682, -0.014300297, -0.0068918536, -0.107296817, -0.0121457586, -0.0118824486, -0.0737630054, 0.0197688676, 0.0140139237, 0.0427578092, 0.0213490762, -0.0547031015, -0.0242628697, 0.0264117848, 0.0335938744, 0.0136681553, 0.0019712106, -0.0296697356, -0.0170734189, -0.024913216, -0.062977545, 0.025567269, 0.0197035819, 0.024475161, 0.0004281088, -0.0418389104, 0.0080267424, 0.0055087754, -0.0469047762, -0.0025926617, 0.0395092256, 0.0002407996, -0.0377961434, 0.0281656571, -0.0346574299, 0.0332126059, -0.0254314635, -0.0606647581, 0.0469206832, -0.0334583335, -0.045750238, -0.0020843747, -0.083562009, -0.0028392635, 0.0178248324, 0.0418340452, -0.0216830205, -0.000959047, 0.0064333887, 0.0037330748, 0.001963302, -0.0629398078, 0.0431073643, 0.0290503111, -0.0600544922, 0.0065605957, -0.011347835, 0.038265001, -0.0015308626, 0.0341285244, 0.0041443906, 0.0261591561, 0.0357552692, 0.0263911467, 0.0469224341, 0.0516286977, -0.0013856454, 0.0469336547, -0.0004954144, 0.021885328, 0.0441166759, 0.0041113021, 0.0733436495, -0.0297139715, -0.0110151954, -0.0063593248, -0.009229715, 0.0354090668, -0.0579021536, -0.0544821955, -0.0641587004, 0.0144195361, 0.025703067, 0.0225025211, -0.0342880338, 0.0446617343, -0.0050749988, -0.0438662134, -0.0349295139, -0.0073419604, 0.0243029147, -0.0545417927, 0.015021855, -0.0015441553, 0.04299853, 0.0246766694, -0.0414001122, -0.0049922992, -0.0427509472, 0.0879753232, -0.007375862, 0.0458701327, 0.0044978457, 0.0036495873, -0.0023588433, 0.0421846956, 0.0215879269, 0.012791831, 0.0137512852, 0.0245304368, -0.0038334862, 0.0071623046, -0.0251740012, 0.0478466526, -0.0178158935, -0.0932847708, 0.0233107861, 0.0133197987, 0.0402165726, -0.0004442087, 0.0053931153, 0.0350802168, 0.0123173585, 0.0265191626, -0.0193259157, -0.0120817246, -0.0030958264, 0.0407206975, -0.0169698037, -0.0161003787, 0.0018066327, 0.0210051145, -0.0478304029, 0.0082741613, -0.0291824825, -0.0386899263, -0.0162413996, -0.0358448327, 0.0413363166, -0.0470851585, -0.018516751, -0.0649937019, -0.099569574, -0.0352936722, -0.004942257, -0.0105244936, -0.008587651, -0.0373793803, -0.0169036631, 0.0266351588, 0.0118422881, -0.01614636, -0.0461801849, -0.0232072901, -0.0531398058, -0.0082771052, 0.0470757559, -5.413653275e-33, -0.0226055179, -0.0349102654, 0.0362472311, -0.0170531329, -0.0523718372, -0.0353225581, -0.0066012479, 0.0355900042, -0.0178958923, -0.0238644965, -0.0349761471, -0.0207590833, 0.0045948057, -0.062011797, -0.0029883552, 0.014228615, 0.032382451, 0.0261932593, -0.0170680434, -0.0002825424, -0.0171364062, -0.0019623246, 0.0739445016, -0.0714167058, 0.0508337989, 0.0095173754, -0.0451110601, -0.0244620405, 0.0346545987, -0.0088789873, -0.008729063, 0.0229817312, 0.0330731906, -0.0281080566, -0.0147083309, 0.0640237257, -0.0127033712, -0.0323034413, 0.0141380355, 0.0181432981, 0.0542529337, -0.0714694411, -0.027470544, -0.0150240492, -0.0624440089, 0.0541594848, 0.0470638126, 0.0076716682, 0.0545386896, 0.029429106, -0.0169534795, -0.026393475, -0.0140997553, 0.0700816363, -0.0298456624, 0.0358158536, -0.0130495615, 0.0254824366, -0.08160422, 0.0350461304, -0.0153043, -0.0355611145, 0.0529255047, 0.0315310881, 0.0141529981, 0.0535702482, 0.0580712929, 0.0788283572, -0.0603057332, -0.0727069527, 0.0247120615, -0.0186354183, -0.0051180874, 0.099129349, -0.0457944237, -0.0643793344, -0.0081273261, 0.0241383091, 0.0783229172, 0.041043289, 0.010728674, 0.006075094, -0.0016315519, -0.0235878006, -0.0004816767, -0.0626673922, 0.0004065286, -0.039161399, 0.0250075832, -0.0203481801, 0.0172169283, -0.0163644403, 0.0503414646, -0.0264507812, -0.0104043903, -0.0202512965, -0.0152478777, -0.0284995902, 0.0228345077, -0.0492163673, -0.0324593149, -0.0087774163, -0.0483984798, 0.0064287717, 0.0464579165, 0.0388738066, -0.0261362158, -0.0234837066, -0.062093541, -0.0114860227, -0.0196022261, 0.014362107, 0.0200930368, 0.0059252111, 0.0092658019, -0.0204460863, 0.0041013118, -0.0388939418, 0.0216680337, -0.030245658, -0.0532157011, -0.0035256662, -0.0768880323, 0.0487880819, -0.0451421179, -0.0213963278, -0.0312018134, 0.0946708694, 0.0763173476, -0.0256407447, -0.0366301164, -0.0868289173, 2.436e-7, -0.023852868, 0.0335552022, -0.0308879241, 0.0469081998, 0.0377497002, 0.0538133197, -0.0225476287, 0.0365161821, 0.0303711705, -0.0426291414, 0.0114811761, -0.0083742822, 0.0095568895, 0.0530796126, -0.0807531253, 0.0505043417, 0.0362832472, 0.0256898645, -0.0120519036, 0.0740288049, 0.0309986509, -0.0120361168, -0.0040991683, -0.0200489052, -0.0475164577, -0.010362274, 0.0004275913, -0.0785920471, -0.020716846, -0.0112415319, 0.0282231346, 0.0213672165, 0.0106315678, 0.040521916, 0.018519057, 0.0012764916, -0.0160023365, 0.0365385115, 0.0054634549, 0.0085546887, 0.0112589551, 0.0060503879, 0.0204556566, -0.0257402193, 0.01586744, 0.0056708204, -0.0223516263, -0.0371948183, -0.0138386404, -0.0113864336, 0.0329949334, 0.0064882035, -0.008548039, 0.0199595541, 0.0216617417, 0.0075621717, -0.0068249092, -0.0275000446, 0.0120803313, -0.0332067497, 0.0134706534, -0.0557747222, -0.0131750647, 0.0307680964, -0.0123904804, 0.0142830191, 0.0086041465, 1.975110148e-34, -0.051454246, 0.0117477765, 0.0179913826, 0.0272778776, 0.0513416529, 0.0310446545, -0.0311923213, -0.0195469055, -0.0001308534, -0.0026508055, 0.0140717505 ]
http://arxiv.org/abs/2406.13990v2
http://arxiv.org/pdf/2406.13990v2
Inference-Time Decontamination: Reusing Leaked Benchmarks for Large Language Model Evaluation
2024-06-20T04:35:59
2024-06-23T16:46:00
Qin Zhu, Qingyuan Cheng, Runyu Peng, Xiaonan Li, Tengxiao Liu, Ru Peng, Xipeng Qiu, Xuanjing Huang
cs.CL
cs.CL
The training process of large language models (LLMs) often involves varying degrees of test data contamination. Although current LLMs are achieving increasingly better performance on various benchmarks, their performance in practical applications does not always match their benchmark results. Leakage of benchmarks can prevent the accurate assessment of LLMs' true performance. However, constructing new benchmarks is costly, labor-intensive and still carries the risk of leakage. Therefore, in this paper, we ask the question, Can we reuse these leaked benchmarks for LLM evaluation? We propose Inference-Time Decontamination (ITD) to address this issue by detecting and rewriting leaked samples without altering their difficulties. ITD can mitigate performance inflation caused by memorizing leaked benchmarks. Our proof-of-concept experiments demonstrate that ITD reduces inflated accuracy by 22.9% on GSM8K and 19.0% on MMLU. On MMLU, using Inference-time Decontamination can lead to a decrease in the results of Phi3 and Mistral by 6.7% and 3.6% respectively. We hope that ITD can provide more truthful evaluation results for large language models.
[ -0.0093377139, 0.1039707437, -0.0127575705, 0.0634287894, -0.0578519292, -0.004747001, 0.0083205802, 0.0087388922, -0.0022944806, -0.0287266299, -0.0669483989, -0.0361820869, 0.0423769653, -0.0227768552, 0.0318643264, -0.0035839907, 0.0665609315, -0.0376049019, -0.0361950062, -0.0106106922, -0.0277864244, -0.0042797038, 0.0176756233, 0.0162505172, 0.0081687784, -0.027436953, 0.0022970999, -0.0009030167, 0.0044017131, -0.0352992937, 0.0003958881, 0.0295583885, -0.0085209496, 0.0798378363, 0.0000020493, -0.0278888438, -0.0144986408, 0.0442039706, -0.0363291427, 0.1062636226, 0.0326739922, 0.0057926639, -0.0166030228, 0.0503696948, -0.0130280862, -0.0039258813, 0.0116621125, -0.0275944117, 0.0408042744, 0.0882203281, 0.0028631571, 0.0181404091, 0.0090931263, -0.0382985659, -0.0371133722, -0.064094767, 0.0323533602, -0.0236475226, -0.0284092091, -0.0255294479, -0.0077063208, 0.0305184033, 0.0168414265, 0.0331758931, -0.0411820486, 0.0328639597, -0.0468913764, 0.0063460739, -0.0076272469, 0.0246787835, -0.0504674539, -0.0343687311, 0.0150012271, -0.0164083224, -0.0362228416, -0.0234426111, -0.0187470652, 0.0114178695, -0.0126255397, 0.0274427291, 0.0369968042, -0.0092567923, 0.0714909509, -0.0241418146, -0.0189750269, 0.0696007684, 0.0562752075, -0.0220876038, 0.0062825349, -0.0073591662, -0.0070678857, -0.0594883896, -0.0097965878, -0.0055730287, -0.0114245731, 0.0283417646, -0.0435050949, -0.0521280169, 0.0268250611, -0.0507290289, 0.0587848648, 0.0496604145, 0.0033082517, 0.0301756002, -0.0289711207, 0.0617143847, -0.0088040838, 0.028603619, -0.0423087217, 0.0053834938, 0.0077948775, 0.0115320645, 0.0057534464, 0.0067311879, 0.002251846, 0.0046809874, -0.0398495831, 0.0159267206, -0.0063213729, 0.0128818024, 0.0184427928, -0.0234177224, -0.0440561697, 0.0078456607, -0.0159364156, 0.0088928025, 0.0018336759, 0.0173800644, -0.0225518979, -0.1149248108, -0.0355349667, 0.0035343585, -0.0230528116, -0.0376686975, 0.0173255764, 0.0655680522, -0.0014610763, -0.0646871701, -0.0319160447, -0.008281514, 0.0014082298, -0.0849685818, 0.0271715224, -0.0434077084, 0.0149269132, -0.0068073329, -0.0009354525, -0.0344394781, -0.012451008, 0.0249292254, -0.0376866721, 0.0418375656, -0.017185824, 0.0080127502, -0.0198249705, 0.0005414571, -0.0344904289, 0.0927112997, 0.0182799231, 0.0177805834, 0.0356410034, -0.0418448523, -0.0073224385, 0.0741609484, 0.0392807275, 0.0150765339, -0.0386075117, -0.0061050975, 0.0124820033, 0.0052717244, 0.036038626, 0.0843895152, -0.0150152706, -0.0256143268, 0.0609273612, 0.0274566598, -0.0128062433, -0.0156703945, 0.0046646614, -0.0204816442, 0.0407677591, 0.0337997191, -0.0722801909, -0.0508038066, -0.0158175975, 0.0291189291, 0.0331285708, 0.0591533221, -0.0207068324, -0.0247079749, -0.0400053151, -0.0198025443, 0.0019905174, 0.0241140649, 0.0611097179, 0.0095497891, -0.0485174134, 0.0781856328, 0.0272666682, -0.0311121847, -0.0085130008, -0.0683070421, 0.0124451984, 0.0430334881, 0.0466698818, -0.0018418231, -0.0106299864, 0.0165978726, -0.0140874423, -0.01277701, 0.028136434, 0.0012348121, 0.0589082688, -0.034699183, -0.0139645124, -0.0077406624, 0.0334364623, 0.0198670533, 0.0465520918, 0.0067747021, 0.0297016297, -0.0764708892, -0.0207943581, 0.0578125939, -0.0424737297, -0.0125178974, 0.0171985999, -0.0194907989, 0.0383136682, -0.0005315693, -0.0240260456, 0.0124666197, 0.0494255833, 0.0045258915, 0.0258697495, 0.0080747278, -0.0370212384, -0.0277416538, 0.0254224706, -0.0020751546, -0.0099902414, 0.0854821131, -0.0470433198, -0.0345355794, 0.0204844829, 0.0154853649, 0.0675728545, -0.0232463125, 0.0650747344, -0.0295949988, 0.0397344157, 0.0080449991, 0.0474774949, -0.0311314147, 0.0174435787, 0.0141696623, 0.0446283855, 0.0041104578, -0.0211331919, -0.0334080793, 0.0185257886, 0.0012717294, 0.0117576793, -0.0137080271, -0.0219775904, -0.0326817557, 0.0022619939, -0.0733433515, 0.0287776496, -0.0290392134, 0.0563618802, 0.0142936511, 0.0031665158, -0.0079816757, -0.0166241601, 0.0025623159, -0.0163191818, 0.0090103559, 0.0363381356, -0.0158673972, -0.0177603289, -0.0148872714, -0.0293174274, -0.0184548497, -0.0077240448, 0.0871539786, -0.050585974, 0.0036435665, -0.0514070801, 0.0407952741, -0.0126288803, 0.0240435321, -0.0220197365, -0.0276229084, 0.0147468839, 0.0017791101, 0.0168737508, 0.0640017912, -0.0002286774, 0.0115971426, 0.058647804, 0.0060729538, -0.0555792004, -0.0159122758, 0.0155717107, -0.0409679785, -0.0210745614, -0.0336907655, -0.0050241733, 0.0924099907, -0.0192355216, -0.0269497968, 0.001164107, 0.0067294883, -0.0256174728, -0.0267248489, 0.0046837237, -0.0102925729, -0.0438605323, 0.0048411726, -0.0169032663, -0.085556142, 0.0336012095, -0.0486541949, 0.0102184955, -0.023226954, -0.0110573787, -0.0240430906, 0.0366205461, -0.0119675994, 0.0014692708, 0.0220874008, -0.026937874, 0.0007904063, -0.0042436277, 0.0187894683, -0.0487095416, 0.0136999171, -0.0481193997, 0.0223190635, -0.023533605, -0.0500652939, -0.0390282087, -0.0332171544, -0.0287540369, 0.0109888772, 0.0200399458, 0.001604419, -0.0211833511, -0.0077394922, -0.0374496318, 0.0320224725, 0.003637017, 0.0155907487, -0.0067240158, 0.0125145158, 0.0152126728, -0.0415748022, 0.005860501, -0.0354741514, 0.0035200256, 0.0657576844, 0.0718658119, 0.041992031, -0.0626112297, -0.0238195602, 0.0195743497, -0.0034067393, -0.0079332963, 0.023484312, 0.0178318694, -0.0625767708, -0.0185119752, 0.0921569169, 0.0143829277, -0.0073903846, 0.0234421268, 0.0307216458, 0.0465078354, 0.0061139083, -0.0064106402, -0.0982235819, -0.0160677209, 0.0446468145, 0.0192925371, -0.0124140074, -0.0180480648, -0.0182139669, -0.1444265395, -0.0083111739, 0.0198459122, -0.0441576391, 0.0334369838, -0.075834401, -0.001946213, -0.0357458517, 0.0638382658, 0.0078597898, 0.0123731717, -0.0076315519, 0.0355397239, -0.0250124149, -0.1354380101, 0.0230181869, -0.0219945181, 0.0566380806, -0.0045911567, 0.0118556479, -0.0196122751, -0.042371016, 0.0441603586, -0.0052785901, -0.010693796, 0.0026601593, 0.0400809422, 0.0098577421, -0.0224031098, 0.0356229991, 0.0009803412, 0.0024289088, 0.0124837123, -0.0195975415, 0.0370211117, 0.0109228268, -0.0400393158, 0.0096643567, -0.0514236018, -0.0072015557, 0.0753195062, -0.0070419968, -0.0213387702, -0.0018546252, -0.0009361354, -0.0027279009, -0.0077213161, 0.0121642984, 0.0412140526, -0.0295180939, -0.0394329429, -0.0303699486, -0.0193802416, 0.006081908, 0.0388977304, 0.0048630624, 0.035548117, -0.0189623125, 0.0028271349, -0.0497229435, 0.0471854769, -0.0305857379, 0.0528061576, -0.0469110943, 0.0150257479, -0.0028080428, 0.0597351342, -0.0220606886, 0.061809577, -0.1470290273, -0.1026750132, -0.0066139381, 0.0541501418, 0.0269520245, 0.0449263118, 0.0028963774, -0.0470397398, 0.0193682406, 0.0150293522, -0.0214389861, 0.0395034254, 0.0316549763, -0.0741407275, 0.0098644812, 0.0282432493, -0.0280882698, 0.0015915735, 0.0531886816, 0.0131944316, -0.0041668843, -0.0044132546, 0.002145255, 0.0371891223, 0.053907793, -0.0398693159, 0.0181445871, -0.0013077881, 0.0384991132, -0.041602131, -0.0023585786, -0.0165180396, 0.0148892282, 0.0272488315, 0.0247808136, -0.0284506865, -0.0036856253, 0.0224609468, 0.0133762788, -0.0228091795, -0.0320971534, 0.0455269255, 0.0101321749, 0.0516769588, -0.001368419, -0.0180421062, 0.0038834761, 0.0166891385, 0.0438546091, -0.0330056958, 0.0094693797, 0.010015822, 0.0266008675, -0.0186130125, 0.0213529412, -0.0368187316, -0.0394331254, -0.0281573273, 0.0364585929, 0.0534268767, 0.0084885256, 0.0366950668, -0.009717403, -0.0078272186, -0.0364241451, -0.0120914448, -0.0352910198, -0.0173774976, 0.014248156, -0.0117718615, -0.0362256579, 0.0690571666, 0.075608775, 0.0311672576, 0.056473732, -0.0077286311, -0.0047371546, -0.0225746427, -0.0211648922, -0.0023070348, 0.0132436138, -0.019504495, -0.0691291317, -0.0477374233, -0.1068272442, 0.0117416577, 0.0159991439, 0.0311390832, 0.008148551, 0.0130454851, 0.0663747117, 0.0032259971, -0.0235105623, -0.0381194316, -0.0083494633, 0.0020952795, -0.0298457146, -0.0120511167, -6.532682754e-33, 0.0136038484, 0.0197294243, 0.0046228189, -0.0559132025, -0.0127635114, 0.047242377, -0.0217082985, -0.0249208454, -0.0106855053, -0.011644775, -0.0522828288, 0.0096539231, 0.0262047872, 0.0113128284, -0.0328495353, 0.0120764701, 0.066174604, -0.0024586453, -0.0607713237, 0.0093551939, 0.0255710389, 0.0410572328, 0.0729457363, -0.0282219574, -0.0232698526, -0.0126932934, -0.0229285229, 0.0110796504, -0.023285294, 0.0539529026, -0.0310105011, 0.027715249, 0.0137366597, -0.0213376656, -0.029335985, -0.0302224495, -0.0580459945, 0.0112084579, 0.0297551937, 0.0217029266, -0.0401646271, -0.0016281334, 0.0536558256, 0.0016789082, -0.028757263, -0.0121809477, -0.0291148648, -0.0053846668, -0.0574081875, -0.0072963042, -0.0083834706, 0.0349898152, 0.0123513574, 0.0193811022, 0.0374106467, -0.0101062739, -0.0076324521, 0.0094224503, -0.0424992256, -0.0098411031, 0.0466060936, 0.0472235791, 0.0828625336, 0.0418263786, 0.0069224308, 0.0688961968, 0.0287292395, 0.034316849, 0.0598074272, -0.008125281, 0.0789593756, 0.0100602778, 0.0264656469, 0.0266550407, 0.0846633911, -0.0553469025, -0.0606790893, 0.0155625297, 0.0266053528, 0.00132684, 0.0308952183, 0.0288231671, -0.0371929556, -0.0335394405, -0.0624329112, 0.0087911058, -0.0439269468, -0.012303398, 0.0306052994, 0.0263027996, -0.0257919021, 0.0227357801, 0.0313730538, -0.0301853754, -0.0237339456, 0.0007051015, 0.0009297718, 0.0105871977, -0.0321091488, 0.05251633, -0.0516153276, -0.0207012761, 0.0049649118, 0.0235835519, 0.0394304805, -0.018003067, 0.0063461144, 0.0402811654, -0.0625260472, 0.0084743844, -0.0562980138, 0.0100810844, 0.0147792464, 0.0104042767, 0.0665017441, -0.0016932043, 0.0157631449, 0.0152144805, 0.028555708, 0.0286682509, -0.0518890284, 0.0026843457, 0.0311559346, 0.0366442502, 0.004245474, -0.0131689934, -0.0192255173, 0.0222377852, 0.0611816756, -0.0603467487, -0.0194305591, 0.0104012555, 2.727e-7, 0.0175093934, 0.0111691561, -0.0006726445, 0.0228713304, 0.0157487523, 0.009978787, -0.0455590673, 0.0219862219, 0.0022743563, 0.0040909341, -0.0191344582, -0.0037533308, 0.0703875571, 0.0338731371, -0.0790953934, -0.0054320623, -0.0775441974, -0.0185351186, -0.0751450062, -0.0445763208, -0.0403421372, 0.0952123478, 0.0262160376, -0.0377087258, -0.0062740226, -0.040629331, 0.0423649512, -0.0211337116, -0.0400515608, 0.022051353, 0.0588198043, 0.0630996004, 0.0065267351, 0.007311115, -0.0240770839, 0.014113686, -0.0069471495, 0.0369838439, -0.0068746312, -0.0175050125, -0.0180807151, -0.0515643135, -0.0367196575, -0.0261822604, 0.0738923326, -0.000771965, -0.0280048139, -0.0759586617, -0.0261530038, -0.0373236425, 0.0343742855, 0.0101142358, -0.0101784011, 0.0415648893, 0.0016320697, 0.0012366986, -0.0441313088, -0.0665773451, -0.0279786009, -0.0020956777, -0.0469310135, -0.0781928599, -0.0091102244, 0.0310460106, -0.0059154369, -0.0641089305, 0.0203930382, 2.680297934e-34, 0.0374777094, -0.0555919893, 0.0027496216, 0.0544158258, 0.0392887741, -0.0133734131, 0.0080526806, 0.0133199431, -0.023657497, -0.0666328892, -0.0091435984 ]
http://arxiv.org/abs/2406.13975v1
http://arxiv.org/pdf/2406.13975v1
MR-BEN: A Comprehensive Meta-Reasoning Benchmark for Large Language Models
2024-06-20T03:50:23
2024-06-20T03:50:23
Zhongshen Zeng, Yinhong Liu, Yingjia Wan, Jingyao Li, Pengguang Chen, Jianbo Dai, Yuxuan Yao, Rongwu Xu, Zehan Qi, Wanru Zhao, Linling Shen, Jianqiao Lu, Haochen Tan, Yukang Chen, Hao Zhang, Zhan Shi, Bailin Wang, Zhijiang Guo, Jiaya Jia
cs.CL
cs.CL, cs.AI
Large language models (LLMs) have shown increasing capability in problem-solving and decision-making, largely based on the step-by-step chain-of-thought reasoning processes. However, it has been increasingly challenging to evaluate the reasoning capability of LLMs. Concretely, existing outcome-based benchmarks begin to saturate and become less sufficient to monitor the progress. To this end, we present a process-based benchmark MR-BEN that demands a meta reasoning skill, where LMs are asked to locate and analyse potential errors in automatically generated reasoning steps. MR-BEN is a comprehensive benchmark comprising 5,975 questions collected from human experts, covering various subjects such as physics, chemistry, logic, coding, and more. Through our designed metrics for assessing meta-reasoning on this benchmark, we identify interesting limitations and weaknesses of current LLMs (open-source and closed-source models). For example, open-source models are seemingly comparable to GPT-4 on outcome-based benchmarks, but they lag far behind on our benchmark, revealing the underlying reasoning capability gap between them. Our dataset and codes are available on https://randolph-zeng.github.io/Mr-Ben.github.io/.
[ 0.0083618453, 0.0181372687, 0.0056952494, 0.0261710882, -0.0409492962, 0.0244905595, 0.0026816446, -0.0190399792, -0.0207112078, -0.014314414, -0.0120190289, 0.0303279832, -0.0078440849, 0.0311783385, 0.0046397005, -0.0309727453, 0.0338741243, -0.0832684934, 0.0119271455, -0.0152844219, -0.0342747271, 0.0007481143, -0.0374143049, 0.0238426737, 0.0303362831, -0.032259807, -0.0002944094, -0.0113346428, 0.0428316891, -0.0416539349, -0.0209583044, 0.0653124899, -0.0064982581, 0.0503429137, 0.0000022254, -0.0552268364, 0.0224596038, -0.000624878, -0.0411979817, -0.0047322456, -0.0155020179, 0.0217459165, -0.0149780028, 0.0655003488, -0.0165701006, -0.0192560609, 0.0183112975, 0.00192886, 0.0652721152, 0.0401821695, 0.0161637161, -0.0173723344, 0.0021708347, -0.0190909728, 0.0296362471, -0.0381038934, 0.0049738572, 0.0402584597, 0.0195466727, -0.0010684321, -0.0090224165, 0.0256554559, 0.045728866, -0.0033283834, -0.0494533554, 0.0407873429, -0.042353984, -0.0025850679, 0.0111920452, 0.0740407705, 0.0165739469, -0.0174633544, -0.0247755963, 0.0012986275, -0.0061664297, 0.0240032393, -0.0495785326, 0.0515937954, -0.033875417, -0.0092324354, -0.0205901489, -0.0041733738, 0.0412162878, 0.004018649, -0.0320430435, 0.1182250902, 0.0017410344, -0.0233414154, 0.0448530801, -0.0133193396, -0.0169487391, -0.0606816486, 0.0016321965, 0.0210191384, -0.0234175082, 0.0248737317, 0.0156514607, 0.0169293564, 0.0236601215, -0.0190577153, 0.0420524068, 0.0567758232, 0.0150170801, 0.0651898012, -0.0193701107, 0.0427387357, -0.0166797787, 0.0276938062, -0.0250518974, -0.0074583348, -0.0777164102, -0.0177000389, 0.0040942989, 0.0173374899, -0.007796505, 0.0276780166, -0.0539493412, 0.006047932, -0.017945895, 0.0428416915, 0.0289732255, -0.0090568271, 0.0180115718, -0.0593725964, -0.0837750658, 0.0148635153, -0.0529349446, 0.0169722363, 0.0470481887, -0.0165448133, -0.0005734442, -0.0170595516, -0.0422983505, -0.0495632812, 0.0344427601, 0.0544992983, 0.0093587451, 0.0005606615, -0.0371259712, -0.0189293269, -0.0047211368, -0.0931240991, 0.0312389769, -0.0853724331, 0.0204618517, 0.0298890471, -0.0204149652, 0.0007244894, 0.0080001326, 0.0159244798, -0.0190413315, 0.053210631, -0.0157865044, 0.0127244294, 0.0124678258, 0.0426122509, -0.0321920142, 0.0485605672, 0.0336837769, 0.0116238268, -0.0028036206, -0.0062022447, 0.0059413956, -0.0035682281, 0.0073683015, -0.0100574121, -0.0113846157, 0.0241629966, -0.0162908901, 0.0309721921, -0.0127603998, 0.0428623259, -0.0303816982, -0.0055708964, 0.0311363135, 0.0499922447, -0.0219463147, -0.0005433435, 0.0435662642, -0.0373465829, 0.0366718657, -0.0349686705, -0.0719912201, 0.0693534464, -0.0453944355, -0.0032223328, 0.0089971423, 0.0288728941, -0.0294925682, -0.0510557704, -0.0107641518, 0.0253011491, -0.043301452, 0.0156809259, 0.0451580882, -0.0158382729, -0.0095118918, 0.0396161564, 0.0016386219, -0.0410016216, -0.0168288276, -0.0560955703, 0.0188027825, 0.0522081107, 0.0637671426, -0.0493330024, -0.0637098253, -0.0145791983, 0.022187585, 0.0346371755, 0.0371676013, -0.001558268, -0.0039319098, -0.0400947109, -0.0058218213, -0.0210367367, 0.0079979105, 0.0108713731, 0.0090385443, -0.0032462776, 0.0125240013, -0.0586437322, 0.0185991358, 0.0121070109, -0.0802576244, -0.0021312058, -0.0455423817, -0.0147722149, 0.0132821808, -0.011296886, -0.0032240727, 0.0315171964, 0.0066161603, -0.015065331, -0.0268526915, 0.04792713, -0.0059972606, -0.0327097327, 0.0529032461, -0.0683827922, -0.0578625426, 0.0205957256, -0.0646721274, -0.0457955822, 0.0290226899, 0.0294616725, -0.0052764136, -0.0265849531, 0.0341465659, -0.0123530794, -0.0213037282, -0.0135199372, 0.0876013935, -0.0389463566, 0.0332603827, 0.0289878137, -0.003983363, 0.0287833493, -0.0202447437, -0.00195681, 0.0451282673, -0.021378357, 0.0055937888, -0.0001780201, 0.0096717393, -0.0828604922, -0.0222679023, -0.066858843, 0.0133546172, -0.0022522688, 0.0256243832, 0.0232764054, -0.0214843079, -0.0051085749, 0.017838072, -0.0053352723, 0.0034571958, 0.0259868708, 0.0151983453, 0.0316742137, 0.0022355006, 0.0094525618, -0.0340733565, -0.0136374282, -0.0443562828, 0.0378546193, -0.0142587591, 0.0808471143, -0.0073267245, -0.0050040805, -0.0379450172, 0.0002926284, -0.0174891669, -0.023963578, 0.0374828056, -0.0351866446, 0.0316290781, 0.0587021858, -0.0021628265, -0.0048258137, 0.06059964, -0.0109168515, -0.0435684659, 0.0336793475, 0.0067386092, 0.001068522, -0.0256056264, -0.0424392037, -0.0264666453, 0.0593238622, -0.0237966999, 0.0112112323, -0.0463652648, 0.0481381565, -0.0104129585, -0.0246763304, -0.0269591324, 0.0209494922, 0.0021419863, 0.0800504014, -0.0431043021, -0.0233864486, 0.071611762, -0.0051495139, 0.0041012974, -0.0345416106, 0.0305405147, -0.0164236315, 0.0906141549, -0.0205048956, 0.0026187564, -0.0322478116, 0.0003172441, -0.0637109354, -0.0454075858, 0.0496780165, -0.0281673111, 0.0285355076, -0.0825330243, 0.0021056561, -0.0020993385, -0.0544756092, -0.0411501639, 0.0187733509, -0.0645626336, -0.0000796588, -0.0349613726, -0.0167448744, -0.0323928483, -0.016369557, 0.02399946, 0.0084856423, 0.0121054575, -0.0430230089, -0.0082928017, -0.0062987609, 0.0307940617, -0.0107035032, 0.0594814941, -0.0370586663, 0.0740602463, 0.0601757802, 0.0386998355, 0.0046633906, -0.0435858667, 0.0190677345, -0.002469671, 0.0004749165, 0.0055945129, 0.0404845811, 0.0300536286, -0.0506266579, -0.0140748005, 0.1284166127, 0.0567099229, -0.0035462787, -0.0130630191, -0.0554250516, 0.0333263576, 0.0354528464, 0.0325507969, -0.0332691967, -0.0580531396, 0.0476455055, 0.0059955758, 0.0101112602, -0.0499111451, 0.0048465612, -0.0974742249, 0.0374492519, -0.0098751066, -0.0102868415, -0.0459086075, -0.0356915481, 0.0084482282, -0.0016830367, -0.0269991383, 0.0529619902, 0.0030195483, 0.0027868559, 0.0108984923, -0.01423686, -0.0577106923, 0.0820159763, -0.0094215171, 0.0433935225, 0.0548222885, 0.0152260968, -0.0014427353, -0.022215208, 0.082354933, -0.0061544129, -0.0057204682, -0.0109248003, 0.0516868904, 0.0286157615, 0.0150262229, -0.0422450043, 0.0335270017, -0.0629934818, -0.0524252541, 0.0255823731, 0.1280236095, -0.0082945349, -0.0471032634, -0.0282927863, 0.0152014, -0.0448652618, 0.0731105953, 0.0027293283, -0.0083607137, -0.0678881928, -0.0535486415, -0.0409650877, -0.0208795164, -0.0117409034, 0.0435102247, 0.058579959, 0.0071290499, -0.0274159927, -0.0313209109, 0.0489006341, 0.0271992851, -0.0166641027, -0.0171122346, 0.01717446, 0.0112440782, -0.0371117033, 0.0303487871, -0.0378281809, 0.0250327829, -0.0804913938, 0.0364965796, 0.017326571, -0.0438349023, -0.0284336098, 0.0289773513, -0.073365286, -0.0492333993, -0.0358551592, 0.0610850267, 0.0339475498, 0.0015595197, -0.0227324441, -0.0569997132, 0.0038103121, 0.002770476, -0.013825004, -0.0099993898, 0.05226513, -0.0083678504, -0.0098896613, 0.0173401926, -0.0220240299, 0.0182295796, 0.0028658067, 0.0414698422, -0.0072523351, -0.007402516, 0.0348049589, 0.0254034046, 0.0314160548, 0.0109248552, -0.007978024, -0.0368152447, 0.0161748137, -0.0118342666, -0.0316248015, -0.0236447901, 0.0170684606, 0.047724098, -0.0401013345, 0.0162764248, -0.0131354704, -0.0096258847, -0.0017038387, 0.0435690209, 0.0331583619, -0.0035985413, 0.0775094926, 0.05786933, -0.0402940772, -0.0044054021, -0.0287836194, 0.005221759, 0.0563517995, -0.0258513112, 0.077788569, 0.0456126221, -0.0038724947, -0.0136289708, -0.0005342862, -0.0857384354, -0.0624399371, 0.0470308252, 0.0156860221, 0.0514898784, 0.0304743946, 0.0081991674, -0.057626389, -0.0129451165, -0.0218981896, 0.0210189614, 0.0317249186, -0.0027643379, 0.0295686778, 0.0445870236, -0.0100218775, -0.0373628624, 0.0628460124, -0.0213328209, 0.029717952, 0.0165281929, -0.0149905588, -0.0327948034, -0.0719080046, -0.0872247443, 0.0119143771, -0.0058635809, 0.0341431983, -0.1066734493, -0.0917042643, -0.019285759, 0.0601042062, 0.0070056557, 0.0003067556, 0.0131906969, 0.0687635019, 0.0033198721, -0.0142504144, -0.0050726631, 0.0150073422, -0.0483805351, -0.0096777687, -0.0125646628, -6.367162864e-33, -0.0285894107, -0.0286309104, 0.0716236681, -0.0181437787, 0.0102201998, -0.0492725894, -0.0670824125, 0.0197030213, -0.0349398963, 0.0495397449, -0.0227930956, 0.0283419024, -0.0057180505, -0.0051352689, 0.0164161958, -0.0221578982, 0.021773614, 0.0227407105, -0.0461804941, 0.0111757256, 0.0423886999, -0.0078850091, 0.0131812748, -0.0040772581, -0.0234119836, 0.0182692483, -0.0106849903, 0.0435201675, -0.0814181194, 0.0418593772, 0.0045691244, 0.0039326628, 0.0289929975, -0.018494023, 0.0095958561, -0.0405776203, -0.0674585551, -0.041289676, 0.016799856, -0.0371380188, -0.0473981313, -0.0153762074, -0.0060097128, 0.0426071323, -0.0207471363, -0.0541702062, 0.0158653669, -0.0423023403, -0.0047224076, 0.0297147706, -0.0282056332, 0.0301181264, -0.0551778674, -0.0084620705, 0.0062780115, 0.0559131913, -0.0116361501, 0.0172802974, -0.0232340842, 0.0247036684, 0.0084725581, -0.001775309, 0.0909987986, 0.012953666, -0.007260548, 0.0531706028, 0.0305648316, 0.0215007365, 0.0061584865, 0.0355859771, -0.0051734117, 0.0781985074, 0.0563260615, 0.0434785448, 0.0238080043, 0.0131155653, -0.0768135116, 0.0271955896, -0.0122165252, 0.065133214, 0.0313587636, -0.0083158966, -0.0251688045, -0.0123945326, -0.0909653232, 0.0106116384, -0.0538027994, 0.0006683139, 0.046678815, -0.0124195907, -0.0135426708, -0.0543945655, 0.041603338, -0.0165479369, 0.0190779157, 0.0476359613, -0.0331118293, 0.0199519768, -0.0024844946, 0.0614148192, -0.0348870084, -0.018971052, -0.0049265758, 0.0152918082, 0.0234017652, 0.0049099601, 0.0229640305, -0.0007658157, -0.0310390722, 0.0054287096, -0.0819883645, 0.0226622168, -0.0012971873, -0.0113349948, 0.0075504859, 0.0146189034, -0.0033979984, 0.015757883, -0.0099808192, -0.0119035365, -0.0230365004, 0.0344531238, -0.0056464104, 0.0063028131, 0.0055041118, 0.0083004516, -0.063580811, 0.0057203816, 0.0654172078, -0.0435224809, -0.0086496826, 0.0283175148, 2.864e-7, 0.0325614363, 0.0527773052, 0.0053296075, 0.039802745, 0.0333573446, 0.0469819754, -0.0573978014, -0.0449556224, 0.0618588887, -0.0119701372, -0.0018231251, 0.0580149367, 0.0573151521, 0.0619953983, -0.0157400649, 0.0042291982, -0.0402989127, -0.030755356, -0.0378935374, -0.0147599559, 0.0276322756, 0.0318987407, 0.0194579437, -0.0174764432, 0.0296551958, -0.028441865, 0.0516387559, -0.0399549976, 0.0250900034, 0.0235730708, -0.0200835057, 0.0144932205, 0.0115476698, 0.0282121226, 0.0021583729, -0.0307902861, -0.0210701171, 0.0685813427, 0.0160016026, -0.0195158869, -0.0164517108, -0.0300442968, 0.0274843387, -0.0337305516, 0.0755707696, -0.0555672459, -0.0473659374, -0.0038616399, -0.0203217063, -0.0247253422, 0.0072024381, -0.0059521445, -0.0114238197, -0.0127764605, -0.0258995593, -0.0132840965, -0.0084409388, -0.0717052221, -0.0453145355, 0.0164599251, -0.0327802375, -0.0675400645, -0.0405464433, -0.0001605221, 0.0412968546, -0.0507603288, -0.0058905263, 2.786100231e-34, 0.0358655676, -0.0037116762, 0.0259173531, -0.0341526978, 0.0460174717, -0.0040227687, -0.0402034149, 0.0033215324, 0.010972131, -0.0735416859, -0.0134075554 ]
http://arxiv.org/abs/2406.13960v1
http://arxiv.org/pdf/2406.13960v1
Evolving to be Your Soulmate: Personalized Dialogue Agents with Dynamically Adapted Personas
2024-06-20T03:02:38
2024-06-20T03:02:38
Yi Cheng, Wenge Liu, Kaishuai Xu, Wenjun Hou, Yi Ouyang, Chak Tou Leong, Xian Wu, Yefeng Zheng
cs.CL
cs.CL, cs.AI
Previous research on persona-based dialogue agents typically preset the agent's persona before deployment, which remains static thereafter. In this paper, we take a step further and explore a new paradigm called Self-evolving Personalized Dialogue Agents (SPDA), where the agent continuously evolves during the conversation to better align with the user's anticipation by dynamically adapting its persona. This paradigm could enable better personalization for each user, but also introduce unique challenges, which mainly lie in the process of persona adaptation. Two key issues include how to achieve persona alignment with the user and how to ensure smooth transition in the adaptation process. To address them, we propose a novel framework that refines the persona at hierarchical levels to progressively align better with the user in a controllable way. Experiments show that integrating the personas adapted by our framework consistently enhances personalization and overall dialogue performance across various base systems.
[ 0.0647109374, 0.0144342408, -0.0476292297, -0.0044808816, 0.0182759594, -0.0102555389, 0.0267632436, -0.0334046111, 0.0102041764, 0.0083055878, -0.0314022787, -0.0003664711, -0.0229747314, 0.0712215528, -0.018802397, -0.1137131676, 0.0494350493, -0.0257044286, 0.0184084643, 0.0029734715, 0.0200226922, 0.0061620902, -0.0242637619, 0.0248803627, -0.0115164695, -0.0596303567, -0.0478348695, 0.0047231992, 0.0355280153, -0.0018349179, 0.0154941548, 0.0161011685, 0.0170781482, 0.0142300241, 0.0000017545, -0.0719179139, 0.0024686714, -0.023873968, -0.0265148189, -0.0239583738, 0.0530476682, 0.0845323429, -0.0183726214, 0.037420623, -0.0477122478, -0.0008664416, 0.027198825, 0.0310368557, 0.0875344053, 0.0342315547, -0.0168498531, -0.0181041565, -0.0106713083, 0.0165093411, -0.0155750653, -0.0673379526, -0.0300226621, -0.0505406, -0.0073161628, -0.0177348908, -0.0031214138, -0.0035312802, -0.0225154255, -0.0085051451, 0.0147694498, 0.01707137, -0.0052500814, -0.0340896286, -0.0301633105, 0.0701524541, 0.0600739606, 0.0300657488, -0.0005694919, 0.026493378, 0.0586040989, -0.0269564167, 0.0040101879, -0.0474356264, -0.0344795026, -0.0344823301, -0.05051836, 0.0219450761, -0.0214600023, -0.0160819329, -0.0704657063, 0.0670568869, 0.0086633004, -0.017229937, -0.0280033704, -0.041336067, 0.0615718253, -0.0284319334, 0.0282407422, 0.0376762263, -0.0661442801, 0.0310928039, -0.0789949968, 0.022059042, -0.0399648808, -0.0053455951, 0.0290916525, 0.050137952, 0.0006227762, 0.0063430537, 0.0180014931, 0.0427676551, 0.0131259654, -0.0631205365, -0.0073559517, -0.0025568828, -0.0406537168, -0.0092882188, -0.0615389049, 0.0152375884, -0.0189860035, -0.025053123, -0.0107078552, 0.1137100905, 0.0004961612, 0.023198368, -0.043894805, 0.0223864596, -0.0627815872, 0.0175627768, -0.056266062, 0.0292532146, -0.0637920871, -0.0257789176, 0.0294651315, -0.0132001536, 0.0065966942, -0.0025251799, 0.0395513736, 0.0303489156, -0.0185495038, 0.0461263992, -0.035254553, -0.0232001916, 0.0189444963, -0.006324206, -0.0087058377, -0.0199169088, -0.0559322163, 0.0096094981, 0.0288291387, -0.0141487066, -0.0090075806, -0.0364256613, -0.0089001255, 0.0003247842, 0.039230857, 0.0512350947, -0.0403883867, 0.0383017883, 0.02665402, 0.0167894326, -0.0272058491, 0.0270289257, 0.0270994771, 0.0128186448, 0.0104525955, -0.0327880457, 0.0266621988, 0.0295665208, -0.0464051291, 0.0175443459, 0.0630021766, 0.0096298819, 0.0148515394, 0.0281836595, 0.0250062961, -0.010866438, -0.0138100972, -0.0277419053, 0.069437705, 0.0547009557, 0.0116551276, 0.0473143868, 0.021143714, 0.036022041, 0.005988291, 0.0163806584, -0.0105054285, 0.0289373025, 0.0023208607, -0.0172685012, -0.0273740534, 0.0162267871, -0.0225117542, -0.0475768708, 0.0461368784, 0.0083785113, 0.0414598286, -0.007963459, -0.0230444446, 0.040713124, -0.0247088689, 0.0371112823, 0.0001797869, -0.0898735374, -0.0193822887, -0.0363674015, 0.0020961212, 0.1384017318, 0.0227234066, -0.0137541052, -0.0598024353, 0.0059527112, -0.0175106265, 0.045761276, 0.0272610933, -0.0195847694, 0.0372944102, -0.0061410554, -0.0160740148, -0.0107452534, -0.0335787833, 0.0576753728, -0.0164519604, 0.021109622, -0.0066753589, 0.0601278022, 0.0491467528, 0.0056756232, -0.0458183177, 0.0027400979, 0.0286696404, 0.0237056464, 0.02269339, 0.0110366931, 0.0118870698, -0.0534572639, 0.0055632913, 0.0301972423, -0.0006786042, 0.0881458223, -0.0058120368, 0.0112356711, 0.0372832902, 0.0095369667, -0.0096343439, -0.0220974609, 0.0046524322, -0.0255796164, 0.0570874736, -0.0419088863, 0.0413053036, -0.006227206, 0.0497425832, -0.0027168593, 0.0314158499, 0.0253720451, -0.0035184284, 0.0190550685, -0.0806192681, 0.0104610203, 0.0601447299, -0.0022115081, -0.0890959278, 0.0271056332, -0.0067947819, 0.0095618507, -0.0066650035, 0.0007317649, -0.0276020505, -0.0604811981, -0.0487498976, -0.0903241634, -0.0125636086, 0.0310835782, -0.0189538859, 0.0106392726, 0.0730534121, -0.0420454443, -0.0561372004, -0.0483117774, 0.0276514478, 0.0062863398, -0.02001011, 0.0532853715, 0.0297725406, -0.0251905154, -0.0694506243, 0.0397332609, -0.0060571092, -0.011848269, -0.0522149764, 0.032113295, -0.055001419, -0.0433093943, -0.0628383309, 0.0403416902, -0.0229041521, -0.0359541476, 0.0482803844, 0.0023323854, 0.0558931008, 0.0705527961, 0.05110256, 0.0357445404, 0.0055250027, -0.0343758985, -0.0463069044, 0.0645216405, 0.0091965841, 0.0264489241, -0.0347451121, -0.0010004902, 0.0556549691, 0.0187821649, -0.026660433, 0.0061343759, -0.0635252595, 0.0295962729, 0.0344874151, -0.0514154732, 0.0445360318, 0.0213157386, -0.0232377369, 0.0097324839, -0.0089726364, -0.0240496807, 0.0652411208, -0.0042383289, -0.0230959076, -0.0151952393, -0.0141334999, -0.019621212, 0.0376651138, -0.0410121977, 0.0139156831, 0.0021452312, -0.0302889775, -0.0402993113, -0.0257020872, 0.0258842614, -0.0415759608, 0.0270015094, -0.0384658501, -0.0311625041, 0.0321024582, -0.0444186218, -0.0437362231, -0.0076934104, -0.0036802611, -0.0490489565, -0.012104135, -0.0401038677, -0.0701852143, 0.01008162, -0.0045929528, 0.0286536794, -0.0085836155, -0.01991391, -0.0399421379, -0.0790017769, 0.0464327037, 0.0905761197, -0.0197954923, -0.004485812, 0.0722952187, -0.007829695, 0.0249155331, -0.0567796417, -0.0223857909, -0.0037395826, 0.0172688384, -0.0389931798, -0.0252203122, 0.0053669689, 0.0469802544, -0.0266995113, 0.0205685887, 0.1008610278, 0.0263714977, 0.0044746543, 0.0117999204, -0.0350283422, 0.023895083, 0.0317812897, 0.0313171111, -0.0296794903, -0.0049467031, 0.0011791741, 0.0561340712, 0.0065249181, -0.0292471386, -0.0275394488, -0.043455109, 0.0116493274, 0.0049263686, -0.0118686212, 0.0446651801, -0.0031834322, 0.0389804468, 0.0158400964, 0.0300219953, 0.0105209062, -0.0164719541, -0.011174622, -0.0188595615, -0.0526279099, 0.0018504781, -0.0090642981, -0.0282019246, 0.0366535559, 0.0568614118, 0.071916163, 0.0368301012, -0.0418319516, -0.0697727501, 0.046692051, 0.0423819125, -0.0084876455, 0.0418645889, -0.0294514243, -0.006173356, -0.050628081, -0.0050781933, -0.0043672137, 0.0096227676, 0.0482564084, -0.0133771505, -0.041117046, -0.0020584334, -0.0411840193, -0.0026777107, -0.0040206728, 0.019036008, -0.0334614143, -0.0931116566, -0.0115180574, -0.0099197756, 0.0109451115, -0.0100555113, -0.0206321646, 0.0012527903, -0.0373023562, -0.0385219045, -0.0679945871, -0.0422657914, 0.0001896498, 0.0624098554, 0.0225375574, -0.0061764219, -0.0300203674, 0.0583739132, 0.0096812658, -0.0309294183, -0.0348312743, 0.0067426129, -0.0340030976, -0.0416300967, 0.0383288823, -0.0515114889, 0.0361622497, -0.0251883343, 0.0001916746, -0.0356885605, -0.0139382407, 0.0342693031, 0.0185947418, 0.0749414861, -0.0030910389, -0.0625543892, 0.034538649, -0.0190828498, 0.0124682169, -0.002338174, 0.033401724, 0.0603175052, -0.0181805063, 0.007958103, -0.0490008108, -0.0227353983, -0.0726011395, -0.0041935723, -0.0207292363, -0.0890093744, 0.0059275893, 0.0399361812, -0.0152637381, 0.0233782511, 0.0030912326, 0.0376459993, 0.0360751376, -0.013222646, -0.0159533117, -0.0164687522, -0.0083616301, -0.0154700531, 0.0235191565, 0.038104251, 0.0051097497, -0.0362689979, -0.0035464265, -0.0475922078, -0.0232464541, 0.0189358443, 0.0246305019, 0.0028722861, 0.0183712933, 0.0041125715, 0.0259018373, 0.0296176281, 0.0345811658, 0.0221998971, 0.0408246852, -0.016502874, -0.0220312923, -0.0172048789, 0.0715867653, -0.0639647767, -0.0154472208, 0.0522134192, 0.0374022983, -0.0212082677, 0.0624238327, 0.0484779887, -0.0008400909, 0.0329113603, -0.0133326044, -0.0042762598, 0.0176660977, -0.017851254, -0.0425496325, 0.0001514398, -0.0157138556, -0.0133851133, 0.0233803615, -0.0454165563, 0.0289027747, -0.0648256168, -0.0103239715, -0.0536365546, -0.0082080271, -0.024486471, 0.0356815048, 0.0088014463, -0.0314973742, -0.0388214774, -0.0207042694, 0.0299134832, 0.0096097877, -0.002614965, -0.03992825, 0.0213281885, 0.022361435, 0.002193725, -0.0422501154, -0.0368709341, -0.01113973, -0.0261300486, 0.0271658991, 0.0225623809, -4.98109817e-33, -0.0435990989, 0.0389536731, 0.0230969749, 0.0452039689, -0.0468745977, -0.0582244694, -0.0490842983, 0.0229465403, 0.0023734183, -0.0275430642, -0.0425446555, 0.010751633, 0.0163034126, -0.0289361533, -0.0220808983, 0.0093860812, 0.0620034412, 0.0186914373, -0.0445106961, 0.0354343243, 0.0357276127, 0.0097267739, -0.0333918035, -0.0996147022, -0.0039382023, 0.0055248444, -0.0251578689, 0.0250756517, 0.0377001949, 0.0440681949, 0.020324612, 0.0234330725, -0.0013877467, 0.0609937645, -0.0087196808, 0.0317815058, -0.0553555116, -0.039752692, -0.0046653091, 0.0425501354, -0.028802488, -0.0408082977, -0.001734828, 0.0155809326, -0.032347478, 0.0352341682, 0.027864974, -0.0180180408, 0.0347920246, 0.0032904844, -0.052540686, -0.0243577752, -0.0256834794, -0.0413199291, -0.025597319, 0.0284977648, 0.0103163524, -0.054600507, -0.0359049849, 0.0325721428, -0.0072371578, -0.0497577228, 0.0074770544, 0.0808084458, 0.0324424282, -0.0013130801, 0.0688761398, 0.0443083048, 0.0163967181, -0.0181043707, 0.0485839657, 0.0319614224, -0.0014891756, 0.0378412344, -0.0376348905, -0.0456010439, 0.0395963676, 0.0475311689, 0.0832800344, -0.0072679385, -0.007875232, 0.0481343567, -0.0494184233, 0.0282160304, -0.0343558565, 0.0157135986, -0.0105176531, -0.0665068999, 0.0200167, 0.0023506414, -0.0455980077, -0.0380754098, 0.0007831577, -0.0263761673, 0.0019515405, -0.0468327515, -0.0607120842, -0.0076296935, 0.0056504915, -0.0031182077, 0.0212983582, -0.0482573919, 0.0646409541, -0.00860833, 0.0260537677, 0.024684323, -0.0351335108, 0.0265645217, -0.0589811839, -0.0210475717, 0.0246277098, 0.071200721, -0.0134813515, 0.0247955024, 0.0139801763, -0.0130443061, -0.0396149606, 0.0276738238, 0.0194719639, 0.0110824779, -0.0777192935, 0.0174321383, 0.0205308199, -0.0030968133, -0.0424654968, -0.0071867015, -0.0334395207, -0.0048223711, -0.0008461197, -0.0558765568, -0.029159179, 0.0120640034, 2.526e-7, -0.0746413842, 0.0168931894, -0.005439539, -0.0169250127, 0.0745578259, 0.0655607954, -0.0157155208, 0.0523633473, 0.030920893, -0.0322410502, 0.0246042646, 0.0290644001, 0.032786604, 0.0098382151, -0.0733309612, -0.0292731039, 0.0127682639, 0.0117882174, -0.0326457806, 0.0490433723, 0.0526065081, 0.0128336586, 0.0452453159, 0.0239962414, 0.0377762839, 0.0063574221, 0.0259633306, 0.0139033003, 0.0246111527, 0.0229297429, -0.0269958768, 0.0015862854, -0.0303913429, -0.0031339496, 0.0052533103, 0.0676704422, -0.0251195729, 0.0394651927, -0.043274615, -0.0239325091, 0.0123095522, 0.0474577323, 0.0014342715, 0.0044776313, 0.04879364, -0.0047411602, -0.0179203246, -0.0051412559, -0.0228489917, -0.014385405, -0.0246027578, -0.0062402715, -0.039792534, 0.0350574963, -0.0185334831, 0.0004274042, -0.0211963262, -0.0866161138, 0.0520400368, -0.0203259215, -0.0379425772, -0.0497325175, -0.0361803994, 0.0223383084, 0.0286162309, -0.0197253544, 0.0470036939, 1.32986121e-34, -0.0449041277, 0.0197444782, 0.0199224316, -0.0025914907, 0.0399447978, 0.0159358997, 0.0212476142, 0.0182493646, 0.1068113372, -0.0579866655, -0.0145775005 ]
http://arxiv.org/abs/2406.13948v1
http://arxiv.org/pdf/2406.13948v1
CityGPT: Empowering Urban Spatial Cognition of Large Language Models
2024-06-20T02:32:16
2024-06-20T02:32:16
Jie Feng, Yuwei Du, Tianhui Liu, Siqi Guo, Yuming Lin, Yong Li
cs.AI
cs.AI, cs.CL, cs.LG
Large language models(LLMs) with powerful language generation and reasoning capabilities have already achieved success in many domains, e.g., math and code generation. However, due to the lacking of physical world's corpus and knowledge during training, they usually fail to solve many real-life tasks in the urban space. In this paper, we propose CityGPT, a systematic framework for enhancing the capability of LLMs on understanding urban space and solving the related urban tasks by building a city-scale world model in the model. First, we construct a diverse instruction tuning dataset CityInstruction for injecting urban knowledge and enhancing spatial reasoning capability effectively. By using a mixture of CityInstruction and general instruction data, we fine-tune various LLMs (e.g., ChatGLM3-6B, Qwen1.5 and LLama3 series) to enhance their capability without sacrificing general abilities. To further validate the effectiveness of proposed methods, we construct a comprehensive benchmark CityEval to evaluate the capability of LLMs on diverse urban scenarios and problems. Extensive evaluation results demonstrate that small LLMs trained with CityInstruction can achieve competitive performance with commercial LLMs in the comprehensive evaluation of CityEval. The source codes are openly accessible to the research community via https://github.com/tsinghua-fib-lab/CityGPT.
[ 0.0101405792, 0.0527849905, -0.0085498272, 0.0490180962, -0.024655005, 0.0288650785, 0.0355176888, -0.057363417, -0.0044335569, -0.0021499984, -0.0257985014, 0.0061531863, 0.0061788536, 0.0561099239, 0.0308121461, -0.0506919399, -0.0108519904, -0.0473165996, -0.0449877456, -0.0093093961, -0.0005705597, 0.0285127964, -0.0108354557, 0.0458468199, 0.0069461591, 0.0047915573, -0.0136186918, 0.0099788159, 0.0125535103, -0.0665248558, 0.0165047795, 0.0265010633, 0.0796829611, 0.0376648828, 0.0000022276, -0.0075544519, -0.0309843123, -0.0057101548, 0.0578223392, -0.0178011488, 0.023323806, -0.0028497037, 0.012987772, 0.0184297021, -0.0284519978, -0.0033742085, 0.0511781424, 0.0157738924, 0.0578903779, 0.0545019843, -0.0109590087, -0.0613017194, 0.0022642184, 0.0037067016, 0.0205724481, -0.015935706, 0.0036917583, 0.0280785263, 0.0512383841, 0.048526749, -0.0329533704, -0.0127125951, 0.0586283021, 0.0072968444, -0.0000183458, 0.0475691371, -0.0366102085, 0.0160874482, -0.0127400095, 0.0750917569, 0.0052391845, -0.0447369851, 0.0450830385, 0.0118620712, -0.0163213387, -0.0127575239, -0.0797547549, -0.0149819069, 0.0108568864, 0.0360760726, -0.0553546362, -0.0402931944, 0.0351125635, 0.0206531659, -0.0431683064, 0.1132996678, -0.0040912288, -0.016420152, -0.0499327891, -0.0026620384, -0.0090632932, -0.0463083871, -0.002642049, 0.0736543387, -0.0321709327, -0.0024923198, -0.004484327, 0.0657555386, -0.0332361199, -0.0321280509, 0.0325216949, 0.0184681695, -0.0069766138, 0.0491374768, -0.0381943919, 0.0380973369, 0.0003996158, 0.0713507906, -0.0424454622, -0.0143624544, -0.0464798771, 0.00379057, -0.0755700395, 0.0161642041, -0.0560431033, 0.0001632661, 0.0163029246, 0.0452518389, -0.0141920997, 0.0211986918, -0.0612890571, 0.0529827215, 0.0094422726, -0.0392174758, 0.004174252, -0.0088469563, -0.0098611508, -0.0038995079, 0.012109613, -0.024987258, 0.0106097208, 0.0113868061, 0.0102229593, -0.0023084776, -0.0169254765, 0.05075958, 0.0140816439, 0.0080733299, -0.0345943421, -0.0133691859, 0.0236793458, -0.0880731866, 0.0591972508, -0.1068874896, -0.0402737483, 0.0204465613, -0.0289594941, -0.0325482003, 0.0042043109, -0.0326327682, 0.0037875432, 0.0295039397, -0.062164329, 0.031162899, 0.0702390969, 0.0065491386, 0.037506707, 0.0990857184, 0.0575033128, 0.0565609336, 0.0033237764, -0.0008097642, -0.0066009895, 0.0064791981, 0.0248064678, 0.0254913718, -0.0250786133, 0.0391833484, -0.0039993031, 0.0331479758, -0.0019018316, 0.0239177961, -0.0273666736, 0.0428181589, 0.0357765406, 0.0157101303, 0.0087982574, -0.0062288665, 0.0552059859, 0.0610908046, -0.016166104, -0.0215560012, -0.0628542751, 0.0178674459, -0.026924029, 0.0121114235, -0.0352679938, 0.0485744178, -0.0171846952, -0.0220004935, -0.0112191178, 0.0004068231, 0.0314582698, -0.0029159035, 0.0592037514, 0.0013486223, -0.0177398659, 0.0395380184, 0.0094341068, 0.0088920807, 0.0256689508, -0.0652658939, 0.0154892504, 0.0270329788, -0.0091621596, -0.0037587506, -0.003192479, -0.0124126319, 0.03720586, 0.019577764, 0.0488946661, -0.0100449175, -0.0166510455, -0.0670756474, -0.0631184205, -0.021606978, 0.0348323137, -0.0106699513, 0.0665994212, 0.0168726407, 0.0617450289, -0.0512421019, -0.023222547, 0.0014744039, 0.0175778307, -0.0091394493, -0.0599895567, 0.0038011617, -0.023329718, -0.0514468588, -0.0263110865, 0.0057508224, 0.0132937338, 0.0029567049, -0.0120103955, 0.0081345821, -0.0653796867, -0.0317481533, 0.0034438244, -0.0087710656, -0.0179321691, 0.0472409762, -0.0685769767, -0.0109611824, -0.0067395284, -0.0545024686, 0.0398084447, -0.0081194537, 0.0260911249, 0.0010932769, -0.0407431833, -0.0292987768, 0.0444745347, -0.0162483584, 0.0033586212, 0.0097888792, 0.0873931721, 0.0254385881, 0.0127476268, 0.0104919244, -0.0445093438, -0.0073449994, 0.0159781724, -0.0260887891, 0.0693016425, -0.0432738326, -0.0251422692, -0.0752028674, -0.0133012962, -0.0089585446, 0.0161901694, -0.0027782987, -0.0413308181, -0.0148782544, -0.0331605747, -0.0375731327, 0.0375375636, 0.0057814652, 0.0162468292, 0.0240424909, -0.0487717837, -0.0121581359, 0.0134615293, 0.0090497257, -0.0200278312, 0.016036788, 0.0171291437, 0.0069169886, 0.0026881795, 0.0054793954, -0.0254950412, -0.0007397254, 0.0152412914, -0.0275040437, 0.0376757607, -0.0135892164, 0.052859053, 0.0375475325, -0.0132830562, -0.0054327962, 0.0272554904, -0.0447755978, -0.0720194876, 0.0267280173, -0.0233913828, -0.0079913316, -0.0387247875, -0.0270004068, -0.0281461477, 0.0520569757, -0.0403845906, -0.0041182465, -0.0225815345, 0.0446150787, -0.0205931161, -0.0362101197, -0.0451860577, 0.0532900691, 0.011690395, 0.0580798388, -0.0742527544, -0.0790951401, 0.0204489455, -0.052600272, -0.0023549472, -0.0220082048, 0.0305455253, -0.0523103289, 0.0588924065, 0.005518557, 0.0308543164, -0.021171784, -0.0075232419, -0.0263774842, -0.0321409293, -0.0358438939, 0.0048651733, 0.0278376024, -0.0845272839, -0.0036614323, 0.0021228157, -0.0810850263, -0.0281518679, 0.0270786919, -0.0362533778, 0.0091932043, -0.0144443186, -0.0522367358, 0.0146557195, 0.0469251536, 0.0129107051, 0.0485150293, -0.0556101054, -0.016191313, -0.0201481953, -0.0115274778, 0.0861761272, 0.1018098816, -0.0019404495, -0.0136229722, -0.0310066808, 0.0267345402, -0.0092868153, -0.0114050526, -0.0378364585, 0.0658455044, 0.0185300447, 0.0029829694, -0.01321775, 0.0158851407, 0.0554979518, -0.0762735009, -0.0749721155, 0.0759268925, 0.031221997, 0.0170261357, -0.0034595237, -0.0555453263, 0.0209841747, 0.0467712469, 0.000824586, -0.0620885864, -0.0178547278, 0.0132885799, -0.0314798914, 0.0354267657, -0.0259043388, 0.0156213986, -0.1117309555, 0.0953961983, 0.0243799314, -0.0901615471, -0.0502252653, -0.0389656834, -0.0498479716, 0.0406242833, -0.0155198686, -0.01612808, 0.0008285816, 0.0016892168, 0.0526444837, -0.0327165686, -0.0414407738, -0.0170872752, -0.01336182, 0.0736574754, 0.0310492888, 0.0437051505, 0.0197340436, -0.043128524, 0.0047830022, 0.0652155951, 0.0381039865, -0.050085362, -0.0279356744, 0.0175905544, -0.0114972992, 0.0155771933, 0.0252861697, -0.0529019646, -0.012471172, 0.0507510379, 0.0645497963, -0.0251469761, 0.0141320508, -0.0445780717, 0.0314229243, 0.000804094, 0.0090580676, 0.0205159169, 0.0321642086, -0.0396450497, -0.0416033342, -0.0760798827, -0.054762736, -0.0232902374, 0.0008858063, 0.0017050352, 0.0084758056, -0.0189002678, -0.0194027461, 0.0274766702, 0.0557306521, -0.0182594918, -0.0472749509, -0.005327215, -0.0271006804, -0.0651247352, 0.0355562605, -0.0514339656, 0.0160586424, -0.0028927044, 0.0071003176, 0.0037562768, -0.0538892671, -0.0211136043, 0.0145158283, -0.0958803818, -0.0383541882, 0.0215415303, 0.0545799471, 0.0181233883, 0.0175112337, -0.0237998441, 0.0090532554, 0.0489927642, -0.0212044735, -0.0280706249, 0.0006200984, 0.0053326245, 0.0254267957, 0.0450870097, -0.0039078128, -0.0388328619, 0.0500635244, 0.033320073, 0.0148462001, -0.0345468819, 0.0442220867, -0.0080514029, 0.0312902369, 0.0435475782, 0.0166721344, -0.0021323385, -0.041660551, 0.0110311992, -0.0142378025, 0.0015823515, -0.0282903537, 0.0259053614, 0.0289302431, 0.03950122, 0.0062821135, -0.0061320863, 0.0572306216, 0.0058265277, -0.0046519958, 0.0037930766, 0.0162919443, 0.0343163796, 0.0496222526, 0.0048316382, -0.0234729536, 0.0242588129, -0.0062068705, 0.0276248436, 0.0123694222, 0.0527679063, 0.0159624107, -0.0018696305, -0.0202829614, 0.0347266272, -0.0306688081, -0.0672335923, -0.0440781601, 0.0609768443, 0.0826156437, 0.0464348309, -0.0005809889, -0.0237306394, 0.0012908721, -0.0137831308, 0.0044644992, 0.0511615314, -0.0411011577, 0.0140785361, 0.0001394613, -0.0503804423, -0.009733608, 0.0540702455, 0.0304955747, 0.0492068492, 0.0222592894, -0.0044929096, -0.0104437722, -0.0244324207, 0.0193170458, 0.0355043262, 0.0118559618, -0.0038204566, -0.0318081714, -0.0554707795, -0.0211848207, 0.046898488, -0.0183780678, 0.0123604583, 0.0341799855, 0.0466357768, -0.0196552444, -0.0332296789, -0.0232032444, 0.0130281635, -0.0044003865, -0.0016857341, 0.0205255505, -6.391364089e-33, -0.0119591681, -0.0698345304, 0.0897968486, -0.0154751772, -0.0243829172, -0.0116384933, -0.0534167439, -0.02266399, -0.0130610066, -0.0125052799, 0.0017394461, 0.0309415367, 0.0090623684, 0.0207544193, 0.0348384269, 0.0122180842, 0.0462980717, 0.0111133205, -0.0245263446, 0.0184791423, 0.0063625379, 0.010088386, 0.0152629251, -0.0535851121, -0.0360879414, -0.0415158384, -0.0330650806, 0.0268828329, -0.0356892981, 0.05245848, 0.0011585793, 0.0391603298, 0.0327246152, -0.0090306401, -0.0578596778, 0.0102916602, -0.0509355702, -0.0167303048, 0.0112392465, 0.0215501115, -0.0491648391, -0.0706758797, 0.022417618, 0.0107840132, -0.0057035405, -0.0129570616, 0.0367911048, -0.0109893335, -0.0215485077, -0.0118079232, -0.0712405145, 0.0264542084, -0.020890085, -0.0315603986, 0.0031809388, -0.0069451076, 0.0221755672, -0.001118441, -0.0093503892, 0.0005272988, 0.0485273898, 0.0272692218, 0.0377858728, 0.0347194225, 0.0148101076, 0.047835391, 0.0169637296, -0.0181954429, -0.0015260226, -0.0150782289, 0.0788060948, 0.0792548805, -0.0323625542, 0.0316074118, -0.0093313949, 0.0060114223, -0.0492153205, 0.0107032768, -0.0392436087, 0.0320261084, 0.0039189067, -0.010431705, -0.0316624045, -0.0131400945, -0.0234179646, -0.0231620856, -0.0251974072, -0.029544875, 0.032228902, 0.0034446854, -0.0112922098, 0.0357890986, 0.0052773771, -0.0581534728, -0.0235434398, 0.0184509214, -0.0238474514, -0.0039322809, -0.0233805403, 0.0878538117, -0.0961492956, -0.0685141087, 0.0130111109, 0.0332398415, 0.0015882093, 0.0483243503, 0.0045501767, 0.0420437753, -0.0275545791, -0.0159349889, -0.0652179793, -0.0200550947, 0.0047443337, -0.0042546229, 0.0153202796, -0.0234282315, -0.0129709896, 0.0056525669, -0.0213614292, -0.01666536, -0.0004360435, -0.0056407363, -0.036556337, 0.0450235084, 0.0114549603, -0.00697181, -0.0418893211, -0.0144590652, 0.0325769186, -0.0490120649, -0.0164745599, 0.0096672121, 2.913e-7, -0.0170489699, 0.0632270426, 0.0112972884, 0.0043090656, 0.0173718724, 0.0263566542, -0.0133176083, 0.0106482469, 0.0046110898, 0.0576756932, 0.0363087319, 0.0691716298, 0.0581453145, 0.0195797849, -0.0944651738, 0.0854607001, -0.0676263496, -0.0015859347, -0.078106232, -0.0206839144, 0.0552216843, 0.0720923766, 0.0133167496, -0.0126426816, 0.0343350582, -0.0138778882, -0.0061621419, -0.0374367908, -0.0051567699, 0.0375398174, -0.0105611552, 0.0304233748, -0.0009353795, -0.0301944707, -0.0017132518, -0.0257160366, 0.0092114033, 0.0922368914, -0.0105566811, 0.002853225, 0.0320572592, -0.0783503801, -0.0109302374, -0.0761366412, 0.0531340018, -0.0599435866, 0.0039935522, 0.029071521, 0.0004703207, -0.039900139, -0.0128575983, 0.0000891428, -0.0098680444, -0.0443512648, 0.0089304075, -0.0197058823, -0.0246962067, -0.0696057975, 0.0258321464, 0.0242257062, -0.0087776845, -0.0734188184, -0.0635030493, 0.0027744616, 0.0102654612, -0.0025082265, -0.0099616898, 2.330247196e-34, 0.0038619994, -0.0068024825, -0.0054501155, 0.0062679034, 0.0431993082, -0.0036715288, -0.019267492, 0.00913784, -0.0215613246, -0.0392182991, 0.0109279361 ]
http://arxiv.org/abs/2406.13947v1
http://arxiv.org/pdf/2406.13947v1
AspirinSum: an Aspect-based utility-preserved de-identification Summarization framework
2024-06-20T02:29:46
2024-06-20T02:29:46
Ya-Lun Li
cs.AI
cs.AI, cs.CL
Due to the rapid advancement of Large Language Model (LLM), the whole community eagerly consumes any available text data in order to train the LLM. Currently, large portion of the available text data are collected from internet, which has been thought as a cheap source of the training data. However, when people try to extend the LLM's capability to the personal related domain, such as healthcare or education, the lack of public dataset in these domains make the adaption of the LLM in such domains much slower. The reason of lacking public available dataset in such domains is because they usually contain personal sensitive information. In order to comply with privacy law, the data in such domains need to be de-identified before any kind of dissemination. It had been much research tried to address this problem for the image or tabular data. However, there was limited research on the efficient and general de-identification method for text data. Most of the method based on human annotation or predefined category list. It usually can not be easily adapted to specific domains. The goal of this proposal is to develop a text de-identification framework, which can be easily adapted to the specific domain, leverage the existing expert knowledge without further human annotation. We propose an aspect-based utility-preserved de-identification summarization framework, AspirinSum, by learning to align expert's aspect from existing comment data, it can efficiently summarize the personal sensitive document by extracting personal sensitive aspect related sub-sentence and de-identify it by substituting it with similar aspect sub-sentence. We envision that the de-identified text can then be used in data publishing, eventually publishing our de-identified dataset for downstream task use.
[ 0.0792183653, 0.0283097196, 0.0081870873, 0.0114321029, -0.0514019877, 0.0219412986, 0.0376002342, -0.0050585256, 0.0113862418, -0.0408890434, -0.0258042812, 0.0094885444, -0.0037705158, 0.0175172705, -0.0190251581, -0.0333311632, 0.030522367, 0.010302105, 0.0215413924, -0.0084879249, 0.0369009078, 0.0169801787, 0.0371554792, 0.0126500856, 0.0266355835, -0.0072260899, 0.0377436653, -0.0149413804, 0.0551892929, 0.0143286251, 0.0294281878, 0.0434268527, 0.0146979224, -0.0083498983, 0.0000021477, -0.0411125161, -0.1049974039, 0.0045513231, 0.0026190816, -0.0179921407, 0.0874956027, -0.0347726159, -0.0068080709, -0.0040414385, 0.0066373902, -0.0211653784, 0.0095452676, 0.0739013553, 0.0822486207, 0.0919538215, -0.0250767563, -0.0569165237, -0.0183548164, -0.0146510992, -0.0419297814, -0.0585223809, 0.033682365, -0.0173373502, -0.0097426157, 0.0564716309, 0.051776506, 0.0324618518, -0.0086174393, -0.0057869111, 0.0083686197, 0.0140563361, 0.0080020763, 0.0176965799, 0.0088855792, 0.0510214493, 0.0016711315, -0.0338977128, 0.0716412887, 0.0009734543, 0.0179352779, 0.0509448536, -0.0235386509, 0.0452483147, -0.023327399, 0.0252196956, 0.0298390649, 0.0282187387, -0.0262137, 0.0169592202, 0.0138152428, -0.0325944349, -0.0109142177, -0.0136310263, -0.0419087783, -0.0266595948, -0.0330975577, -0.0754925832, 0.0828537866, 0.0269875694, 0.0577693321, -0.0165356789, -0.0555208474, -0.054443378, 0.0295125376, -0.0716623142, -0.0185667276, -0.0268432926, 0.023608543, 0.061859373, -0.0222344529, 0.029516276, 0.0310367551, -0.0266965758, -0.0594265684, 0.0059902766, -0.0353842676, -0.0003282957, -0.0204073377, 0.0824491754, -0.0294937696, 0.0023941137, -0.0330889039, 0.0270363912, -0.0028200119, 0.025432501, 0.0129026817, -0.0068900581, 0.002838766, -0.0170206968, 0.0004352151, -0.0071607456, -0.0076167244, 0.0019734162, -0.0193335153, 0.0248344224, 0.0317796916, 0.0145466924, 0.0641684979, 0.008816232, -0.0059715286, 0.0043723085, -0.0088145593, -0.0499757193, -0.0426264815, -0.0770371333, -0.0253700409, -0.0150749506, -0.0193354618, -0.0762729272, -0.0098574627, -0.0270600505, -0.0298706107, -0.0782738477, 0.014187335, 0.0522061177, -0.0771694258, 0.0291811954, -0.0613470823, -0.0104547022, 0.0386542454, 0.0377051271, 0.0922669992, 0.0028299929, -0.0021583484, 0.0711275265, 0.0526024438, 0.0022281972, 0.030389132, 0.0209646877, -0.0070048785, -0.0150125837, 0.0313105062, -0.0177178364, -0.0300232507, -0.0697928295, -0.0100428704, 0.080047518, -0.0012896564, -0.014748238, 0.0515417717, 0.0352230445, -0.0218830705, 0.0601307899, -0.0479016826, 0.0563142635, 0.0012582781, 0.0512217842, -0.0144369164, -0.0027553453, -0.0403186344, 0.003732868, 0.0299463477, -0.0042364234, -0.0309321266, -0.0258663725, 0.0045525865, -0.0412502624, 0.0078023667, 0.0054512881, 0.0357385874, 0.0296110921, -0.0153823765, 0.0318810791, 0.0118846977, -0.0647301823, -0.0085186539, -0.0305893607, 0.0248734951, 0.0394237712, 0.0315528363, -0.0734400302, -0.008239693, -0.0323907249, -0.0118015762, -0.0026428369, -0.0097418949, -0.0198334977, -0.0274031758, -0.042053543, -0.041215498, 0.0302687548, 0.0044317627, -0.0218130667, 0.0173935965, -0.0050413469, 0.0537925735, -0.0251167435, -0.0208330471, 0.0157884229, -0.0063594002, -0.0390446, 0.0138948215, 0.0032684843, 0.0207950696, 0.0625351965, 0.0009713219, -0.0010236526, 0.0449110381, -0.0158691388, -0.0038590457, -0.0288548656, -0.0157470163, -0.0013503208, 0.0115578277, -0.0381878763, -0.0028968728, 0.0164299719, -0.0328089967, -0.0248158127, -0.0073811822, -0.0101797627, -0.0205878224, -0.029324187, 0.0486658774, 0.0069120005, 0.0038446623, -0.0369659662, 0.071251899, -0.0224888846, -0.0087998956, -0.0417948104, -0.0638508722, -0.0015204338, -0.0197596513, -0.0247141458, -0.0523159765, -0.0080880262, 0.0377891175, 0.0824937597, 0.0146746486, -0.0027581684, -0.0348216854, -0.1007507592, 0.0042993319, 0.0183633231, 0.0298239328, 0.0265856199, 0.0180711187, -0.0084043778, -0.0168200824, -0.0530519746, -0.0521046333, -0.0069025136, 0.0229340363, 0.0190056972, 0.020199053, 0.024186369, -0.0167348702, -0.0097841593, -0.0076387245, 0.0121209789, -0.0069864178, -0.0678376332, -0.0186998881, 0.0801862478, -0.0011244908, 0.0086234864, 0.0064524943, -0.0117704524, -0.058705844, 0.0218359679, 0.0031586241, 0.0161987171, 0.006062232, 0.0163746383, 0.0275522638, 0.018234916, 0.0027270422, -0.0230426807, -0.0701392218, 0.0322828628, 0.0319311991, -0.0568425544, 0.0464509614, 0.0134405978, 0.018863108, 0.003950431, 0.0037785156, 0.0300226565, 0.0057980078, 0.0175216217, -0.0174286254, -0.0156443603, 0.007910029, 0.0020555123, -0.018175371, 0.006237179, 0.0605798177, -0.0058016316, 0.0745642707, -0.0585880615, -0.0366201289, -0.0304731037, 0.0484953597, -0.0008704406, 0.0565562695, 0.0535675511, -0.0188112482, -0.0034774039, -0.0098552098, 0.027830882, -0.0441204235, 0.0682995319, -0.0350644067, 0.015258369, -0.0123020615, -0.0313424654, 0.003341805, -0.0673418641, -0.0215872377, 0.0073188925, 0.0036947653, -0.0098974993, -0.0321143642, 0.0155787347, 0.0327370502, 0.0506401137, -0.0076144785, 0.012544632, 0.0022421826, 0.0818811879, 0.0367960855, -0.0701875165, -0.0225535035, -0.0202580784, -0.0054794569, 0.0969878659, 0.0053465022, -0.0090363845, 0.0237290021, -0.0323941745, -0.0082206167, -0.0792710781, -0.0196514428, -0.0220638085, 0.0291237887, -0.0490840264, 0.0110205021, 0.1028645784, 0.0277448092, -0.0829128549, -0.0306466222, 0.0692534745, -0.0344844609, -0.0195393357, -0.0090080388, -0.078092657, -0.0223830231, 0.0116266022, 0.0174179748, -0.0394706726, -0.0307605229, -0.0071259863, -0.056530185, -0.0058120773, 0.0058292788, -0.0307293795, -0.0563354418, -0.0368593782, 0.0229991302, 0.0106466934, -0.0357914269, -0.0118962042, -0.0138273817, -0.0115614757, 0.0068329079, -0.0614681728, -0.0455135778, -0.0422047079, -0.0172907319, 0.0286157057, 0.0277263653, 0.0438380875, -0.025756456, 0.0096420515, 0.0420898907, -0.0133874705, -0.0133222695, -0.0106532052, 0.1147352532, -0.0177246593, 0.0158620793, -0.0414041989, 0.0498633273, 0.0096424352, -0.0185308922, 0.0205461606, 0.0125201466, 0.0109562995, -0.0131998966, -0.0299769808, -0.021036176, -0.0241233595, 0.0707659349, -0.0179675743, -0.0232700519, 0.0116983727, -0.0022283786, 0.0021185353, 0.0138747692, -0.0282578915, -0.0179362167, -0.0504573137, -0.0719434246, -0.0936325267, 0.0075602364, 0.0051541151, -0.0284259673, 0.0276119765, 0.0422807373, 0.0284060556, 0.0082023861, -0.0651358217, -0.0159951691, -0.0575134009, 0.0034416695, -0.0413806103, -0.0020727087, 0.0585680865, -0.034106534, -0.0270291157, 0.0122649893, -0.0553238392, -0.0407418944, 0.0061779288, -0.0023499371, 0.0142596299, 0.0409982949, 0.0031692267, -0.0546860173, 0.0655860752, 0.04787587, -0.019392645, -0.0083853034, 0.0020834561, 0.0045077861, -0.027546877, 0.0174880661, -0.040694885, 0.0354051664, 0.0462632403, -0.0555511974, -0.0671967492, -0.0852891207, -0.0045124143, 0.0583666153, 0.0245159566, 0.0324520171, 0.0087511521, -0.0479666553, -0.0022656922, -0.0094319135, -0.0269215479, -0.0146265654, 0.0266718492, 0.0293069668, 0.007882176, 0.0250299163, 0.0709039643, 0.0094519667, -0.0137833264, -0.0459506959, 0.0255591087, -0.0031999368, 0.0282950606, -0.0298235919, -0.003755701, -0.0299440082, -0.0103172669, 0.0082753152, 0.0228269678, -0.0168684404, 0.0320575386, -0.0049519516, -0.0247453302, -0.0153701287, 0.0624513142, -0.0358622819, 0.026453305, -0.0682409927, 0.0271653812, 0.0106749311, -0.0401065499, 0.0208855942, -0.0201703906, -0.0094286604, -0.0518659577, 0.0377318002, 0.0113298781, 0.0009189448, -0.024441449, -0.0061185327, -0.0091767404, 0.0573949553, 0.0924853534, -0.0069577615, -0.0094418069, 0.0144695649, -0.0618539266, -0.0496964045, -0.0054615871, -0.0307559371, 0.0269337147, -0.0285257865, -0.0174847785, -0.0322743058, -0.0317779519, 0.0248727053, -0.0061747637, 0.0169192255, 0.0149709713, 0.0431519933, 0.0103275506, 0.0058451989, -0.0144902728, -0.0757456869, 0.0077860537, -0.0105440011, -0.0141166234, 0.0181048829, -6.154799524e-33, 0.0043373676, -0.0078146206, -0.0496176109, 0.0384009331, 0.0062402906, 0.028686665, -0.0224261954, -0.0100913113, 0.023035448, -0.0177144874, -0.0203566495, -0.0016951303, 0.0175178889, 0.0292765107, -0.0246146787, 0.0369733423, 0.0558061339, -0.007389097, -0.014308, 0.0790587515, 0.0388008468, 0.0227822457, 0.0539812557, -0.1479152441, 0.0238538496, -0.0275188424, -0.0474810451, 0.0062892879, 0.0394104086, 0.040351592, -0.0245934352, -0.0095559005, 0.036897704, -0.0108298464, -0.0128190629, 0.0452848226, -0.0842808113, -0.019238295, 0.0135544576, -0.0299017336, 0.0097883735, -0.1116385609, 0.0230446737, -0.0415816344, -0.0106003899, -0.0197320096, 0.0492021255, -0.0417673886, -0.0171360392, -0.0751904547, 0.0141198132, 0.0579818524, 0.0084297303, -0.003731756, 0.0668732151, 0.0139833791, -0.0059259585, -0.0179173928, -0.034487173, 0.0169762932, 0.04266534, 0.02628313, 0.0177145936, -0.0039164084, 0.0163271669, 0.0502388254, 0.0290014539, 0.0013417816, -0.004511429, -0.0208647884, -0.0267503001, 0.0088916812, -0.0026551641, 0.0493297428, 0.025204584, -0.0283112992, -0.029830642, 0.076359272, -0.0384790525, -0.0010671035, 0.0734233856, -0.0026161403, -0.0507367775, -0.0146017559, -0.0068874951, 0.0027220456, -0.0160214659, 0.0117405867, -0.0306293219, 0.0324185118, -0.0618614852, 0.0154472105, -0.0098542487, -0.0470758602, -0.0024866951, 0.0056040292, 0.0328221358, 0.0540731288, -0.0082192607, -0.0256781578, -0.0656261519, 0.0028755809, 0.0091005731, -0.027932601, 0.0023469978, 0.0155458692, 0.0721224993, -0.0234901048, -0.0631516725, 0.0073122531, 0.0351263471, 0.0085000535, 0.0094582979, 0.0580335557, -0.0038010555, 0.0075167469, 0.007412558, 0.0498049259, 0.0363395326, 0.0286104083, -0.0558787659, 0.0079962304, 0.0227466691, 0.0076516345, -0.0070962231, -0.00067694, 0.0096766092, 0.0477269962, 0.0251221173, -0.0043832492, 0.0179585479, 0.0119889434, 2.767e-7, 0.0341394022, 0.0163284168, 0.0491284579, -0.0425705314, 0.0080144908, 0.0638130605, 0.0244068727, 0.0278015211, 0.0166781228, 0.022023825, 0.0506745055, -0.0105667161, 0.0432350412, 0.0122912815, -0.1114060283, 0.0211910475, -0.0034920985, -0.0280186571, -0.0306169335, 0.016253449, 0.0228207838, 0.0667312443, 0.0286441464, -0.0059071099, -0.0244733989, -0.015923759, 0.0202222914, -0.0506142378, -0.0311063025, 0.0392964855, 0.0287712533, 0.0476678312, -0.0215519592, -0.0124808019, -0.0129205063, -0.0004386209, 0.0151421279, 0.0966430306, 0.0094697913, 0.0082385931, 0.0213507116, -0.0338528231, 0.0269394368, 0.0062971055, 0.0749305561, -0.0227483623, -0.0198135283, -0.040266294, -0.0095286267, -0.0127302967, -0.009281747, 0.0324226208, -0.0613716394, 0.0514848754, 0.0105898781, -0.0246777888, -0.0088044107, -0.0879464597, -0.011412153, 0.0211810116, -0.0091121374, -0.0007994378, 0.0322592184, -0.003834004, -0.0241174754, -0.0796475932, 0.0587779805, 2.788567163e-34, 0.0264259018, 0.004340576, -0.0711171106, 0.0080142738, 0.0123518202, -0.025021689, -0.0293507874, 0.0235527996, -0.0039656814, -0.0650629178, -0.0050913203 ]
http://arxiv.org/abs/2406.13945v1
http://arxiv.org/pdf/2406.13945v1
CityBench: Evaluating the Capabilities of Large Language Model as World Model
2024-06-20T02:25:07
2024-06-20T02:25:07
Jie Feng, Jun Zhang, Junbo Yan, Xin Zhang, Tianjian Ouyang, Tianhui Liu, Yuwei Du, Siqi Guo, Yong Li
cs.AI
cs.AI, cs.CL, cs.LG
Large language models (LLMs) with powerful generalization ability has been widely used in many domains. A systematic and reliable evaluation of LLMs is a crucial step in their development and applications, especially for specific professional fields. In the urban domain, there have been some early explorations about the usability of LLMs, but a systematic and scalable evaluation benchmark is still lacking. The challenge in constructing a systematic evaluation benchmark for the urban domain lies in the diversity of data and scenarios, as well as the complex and dynamic nature of cities. In this paper, we propose CityBench, an interactive simulator based evaluation platform, as the first systematic evaluation benchmark for the capability of LLMs for urban domain. First, we build CitySim to integrate the multi-source data and simulate fine-grained urban dynamics. Based on CitySim, we design 7 tasks in 2 categories of perception-understanding and decision-making group to evaluate the capability of LLMs as city-scale world model for urban domain. Due to the flexibility and ease-of-use of CitySim, our evaluation platform CityBench can be easily extended to any city in the world. We evaluate 13 well-known LLMs including open source LLMs and commercial LLMs in 13 cities around the world. Extensive experiments demonstrate the scalability and effectiveness of proposed CityBench and shed lights for the future development of LLMs in urban domain. The dataset, benchmark and source codes are openly accessible to the research community via https://github.com/tsinghua-fib-lab/CityBench
[ -0.0162327662, 0.0416769944, -0.0196103305, 0.0359249786, -0.0212135427, 0.0014649401, 0.0264867116, -0.0033102001, -0.0086741867, 0.0127618536, -0.0340134539, -0.037468195, 0.0231243148, 0.057417497, 0.0299446788, -0.0589121878, -0.0043990249, -0.0570111126, -0.065036118, 0.018412102, 0.0125295715, -0.0136610856, 0.0033327686, 0.0555049516, 0.0202818718, 0.0312709399, -0.0181339309, 0.0099063441, 0.0252376366, -0.0446542241, -0.0060673459, 0.0377397723, 0.0893653333, 0.0241670702, 0.0000021987, -0.0188345648, -0.0138046313, -0.0170712695, 0.0516089946, -0.00099441, 0.0703146234, 0.0229940731, -0.010195042, 0.0177462045, -0.019771412, -0.0378062539, 0.027405126, -0.0033024384, 0.0471899658, 0.0273085013, 0.0003604867, -0.0277683344, -0.0206726957, -0.0059586861, -0.0478793681, -0.0227622837, 0.010062363, 0.0190564785, 0.0410205424, 0.0005085127, -0.0106373737, -0.0277756806, 0.0219915248, -0.0093134176, -0.0184180308, 0.0436028503, -0.0333550684, -0.0080859233, -0.0060831946, 0.0876396075, 0.0022685598, -0.0312772579, 0.0475325882, 0.0018223959, -0.0388334729, 0.0065475875, -0.0649552941, -0.0502126925, 0.0233692639, 0.0400643162, -0.0667005405, -0.0095847389, 0.0516780205, 0.0271025412, -0.0362771302, 0.0966180488, 0.0136402175, -0.018854931, -0.0221916195, -0.0187135562, 0.0154390959, -0.0526170582, -0.0045359768, 0.0473508127, -0.0763383135, -0.0093940897, 0.0167626571, 0.0484897271, -0.0032734282, -0.0766254067, 0.0589828901, -0.0018558602, -0.0128373643, 0.0623564757, 0.0105371205, 0.0596494563, 0.0012927016, 0.0139437076, -0.0367439352, -0.0251045339, -0.0420452207, 0.0168588515, -0.0146011245, -0.0111603569, -0.0721696094, -0.0103089837, 0.0030159974, 0.0278232917, -0.0129013881, 0.0165404119, -0.0551856831, 0.0037739277, 0.0476589538, -0.0240742937, -0.0277846046, -0.0171553418, -0.0103199771, -0.0020110824, -0.0023081205, -0.0269435402, 0.0604706891, 0.0128265023, -0.0070865792, 0.009180354, -0.0296582468, 0.0637371838, 0.0227484349, 0.0300099775, -0.0444851853, 0.0093167704, 0.0219158493, -0.0708157867, 0.0074257385, -0.1145808473, -0.0081699835, 0.0058836984, -0.0218019597, -0.0239280388, -0.0140007697, -0.0464145727, -0.0147763714, 0.0189927816, -0.0755648687, 0.0501443483, 0.0613319129, 0.0043625263, 0.0434862189, 0.108680211, 0.0281980857, 0.0570254847, 0.0442969278, -0.0023099713, 0.01526256, 0.0411648899, 0.0188505296, 0.0664796531, -0.0464295857, 0.0493838899, -0.0089541888, 0.0207884293, -0.0084411129, 0.017152926, -0.0309810955, 0.031228669, 0.0749114528, -0.0039855936, 0.0178478248, -0.013956856, 0.041090712, 0.0548203066, 0.0049300445, -0.0271537714, -0.0403951183, -0.0203473419, -0.0271161105, 0.0127146924, -0.0249009524, 0.0557480752, -0.019261336, -0.0025503563, 0.0140701253, -0.0156933777, 0.0310473759, -0.0064591821, 0.0775500908, -0.040628016, -0.0233473685, 0.0366604328, 0.0109311696, 0.0080175241, 0.0091205807, -0.0637662336, 0.0165466722, 0.0650457218, 0.0133050717, -0.0197494179, 0.0327676609, -0.0106186969, 0.0065330998, 0.0471926481, 0.0821626112, -0.0039621717, -0.0127682555, -0.0498954169, -0.0628878176, 0.0305323768, 0.0217532534, -0.0243066326, 0.0307334308, 0.0299946014, 0.0444629155, -0.0649326146, -0.0362858325, 0.0001747317, 0.0120114293, 0.0164793395, -0.0494056344, -0.010922269, -0.003815786, -0.0207019299, -0.0382646956, 0.0001142961, 0.0064431326, 0.0158640184, -0.0178769007, 0.0231520496, -0.0154212443, 0.0292827468, 0.0138627989, -0.0025077423, -0.0183054712, 0.0688832477, -0.061017897, -0.0354451202, -0.01170801, -0.0206980612, 0.0317755081, 0.0013477977, 0.0541379414, -0.0509135127, 0.0044422229, -0.0304113925, 0.0386594869, -0.0030197799, 0.0369673148, 0.005206184, 0.0647426322, 0.0249886047, 0.0016258199, -0.0416576974, -0.0239914171, -0.0007025015, 0.0230453145, -0.0130782649, 0.0241102222, -0.0333861411, 0.0027545963, -0.104721956, -0.014942226, -0.0041436865, 0.0240042992, 0.0151603697, -0.0299795195, -0.0250680726, 0.0077611352, -0.0127466423, 0.047658585, -0.0088841589, 0.0050594551, 0.0235275049, -0.048434373, -0.0376298539, -0.018868085, 0.0029285674, 0.0059720189, 0.0531334914, -0.0113435965, 0.0085223094, 0.0071280557, -0.0090580191, -0.0146086738, 0.0044926824, 0.0155784804, -0.0306387823, 0.0266555641, 0.0163725056, 0.0688218176, -0.0240426622, 0.0093629174, -0.0121902935, 0.023153903, -0.0481408574, -0.0760396123, 0.0031909314, -0.0160284042, 0.0319737829, -0.06565357, -0.057762824, -0.0082628997, 0.0482769907, -0.0203050878, 0.0410303697, 0.0241479594, 0.0266161766, -0.0598290302, -0.0211637523, -0.0722846389, 0.0535496734, -0.0137185454, 0.074547112, -0.0477007702, -0.0581757165, 0.02126812, -0.0610331595, 0.0139468685, 0.0272382814, 0.0041631684, -0.0543296784, 0.0559227094, -0.0117664533, 0.0132534374, -0.0212060697, 0.0131364251, 0.0077457828, -0.0398716182, -0.0259595122, -0.0211399402, 0.0371309482, -0.0567687303, -0.0055576432, -0.0042524803, -0.0644586682, -0.0045255395, 0.0141365128, -0.0602843054, 0.00815746, 0.0223742425, -0.0385521129, 0.0139417341, 0.0950768143, 0.0140315853, 0.0598730333, -0.012788523, -0.0014103452, -0.0142710404, -0.0038232298, 0.0557596721, 0.0883690193, 0.0246606544, 0.0086953575, -0.0162223894, 0.0116283577, 0.0337082855, 0.0050783763, -0.0769764036, 0.0193765052, 0.0226165634, -0.0247579589, -0.0201118682, 0.0198670272, 0.0032152229, -0.0484843664, 0.0076982253, 0.0791656002, 0.0079555204, -0.0068443031, 0.0155582987, -0.0542229228, 0.0125265103, 0.0319207422, 0.0150207728, -0.0681887195, -0.0061657485, 0.0158178043, -0.017733695, 0.0330877677, -0.0325439349, 0.0538281165, -0.0960639715, 0.0808417425, 0.0020529358, -0.083517842, -0.0145003302, -0.0583396181, 0.0075685228, 0.0099129844, -0.008138177, -0.0083349878, 0.0242168549, -0.0380872674, 0.0237536449, -0.0925534964, -0.0736995339, -0.0140303969, -0.0323079191, 0.0958529636, 0.0399662107, 0.0491210185, 0.0007855459, -0.0161154065, 0.0325633921, 0.0533894598, 0.0282301884, -0.0385920517, -0.0249162372, 0.0295469481, -0.0084969141, -0.0026030748, -0.0433273092, -0.035627991, 0.0015064772, 0.0554430969, 0.0524084494, -0.0336964503, -0.0034110218, -0.053722728, 0.0126967849, 0.028136665, 0.008002433, 0.0184371863, -0.0050316858, -0.0394032262, -0.0356283709, -0.0758667737, -0.0268473197, -0.0471133776, 0.0058848946, -0.0053185266, -0.0022185948, 0.0030799161, -0.0103738718, -0.0113214068, 0.0203724876, -0.0218698829, 0.0000646019, 0.018935794, -0.0384518914, -0.0290329065, -0.0019307273, -0.0382324494, 0.052111119, -0.0239225794, 0.0255079903, 0.0371542461, -0.020424312, -0.0317039713, 0.0402755775, -0.0691763833, -0.049631279, 0.0125084026, 0.0212958194, 0.0243159328, -0.0236181915, -0.0401546173, -0.0108584324, 0.0583330467, -0.0469180942, -0.0136764403, -0.0121278828, -0.0036895711, 0.0150538795, 0.0230299067, -0.0050781304, -0.0520059951, 0.0562577844, 0.0116680702, 0.0084744198, -0.0263943411, 0.0090148496, -0.0334807225, 0.0415320173, 0.0476041697, 0.0089293253, -0.0276399143, -0.0190648716, 0.0033198397, -0.0076799993, -0.0030638918, -0.0315904953, 0.0063593853, 0.0249348897, 0.0282673426, 0.0060338061, 0.0428301133, 0.0330322385, -0.0300591644, -0.0202275235, 0.0120649617, 0.0323736444, 0.0121385707, 0.0330475084, -0.0008912678, -0.0032578239, 0.0059866919, -0.0145829581, 0.0148756737, 0.0228251778, 0.0072064055, 0.0200655852, -0.0175783075, 0.0089312904, 0.0418682508, 0.0089759696, -0.0499881506, -0.0418244004, 0.0857242495, 0.0751602054, 0.0784037635, 0.0290704947, 0.0022317881, 0.0170113742, -0.0306104925, -0.0123423366, 0.0284839049, -0.021099912, 0.0241373107, 0.0114013646, -0.0696639419, 0.0311454963, 0.0618197136, 0.0377602279, -0.0058583515, 0.0341054983, -0.0233327299, -0.0363434665, 0.0038333335, 0.0166809335, 0.0258773547, -0.0211667269, -0.0461419225, -0.0691013187, -0.0418124758, -0.0037847941, 0.0546548031, -0.0068702982, -0.0271164086, 0.005601862, 0.0373912305, 0.0009661258, 0.0223577544, -0.0323724039, -0.0196583793, -0.0303847883, 0.0039864453, 0.0207888614, -6.437511793e-33, -0.0160198268, -0.0441939756, 0.0772836059, -0.0394270644, -0.0570644513, -0.0332966447, -0.0359902866, -0.0355166979, -0.0199544281, -0.0151027245, 0.002944553, 0.0145925283, 0.0158973858, -0.0171100274, 0.0112993941, 0.0045252019, 0.0385144837, 0.0004331325, -0.0424429774, -0.0004691166, -0.0032875065, -0.0095362226, 0.008984806, -0.0754241571, -0.0079634134, -0.0563896708, -0.0533394404, 0.0146069257, 0.0054753884, 0.065895848, -0.0161302742, 0.0634642839, 0.0280201603, -0.0493842624, -0.0546881668, 0.019844899, -0.0270266403, 0.0011284279, 0.0374220647, 0.0227898844, -0.0142667321, -0.0185977872, 0.0171832573, 0.037072964, -0.0199232176, 0.023312401, 0.0210751425, -0.0375068821, -0.0188919678, -0.0119141378, -0.0646187663, 0.0537419878, -0.0141501883, -0.003670349, -0.0156305693, 0.0090517644, -0.010441523, 0.007931551, -0.035350766, 0.0155395335, 0.0554093085, 0.0040325453, 0.0699851662, 0.0409482606, 0.0129789365, 0.0386548005, 0.0042470358, -0.0203691721, -0.0065911766, -0.0306316558, 0.0855436698, 0.0894936547, -0.0298959296, 0.0649626255, -0.0250265673, -0.0254512671, -0.0342283696, 0.0158795174, 0.0122270929, 0.0002794581, 0.0306089353, 0.0294491295, -0.029430531, -0.0091822967, -0.0336718597, -0.0077171214, -0.0390780158, -0.041479148, 0.0303489212, 0.0125737181, -0.0190290809, 0.0361881703, 0.0098528555, -0.0816391036, -0.031377919, -0.0009436827, -0.0135218939, 0.0138032101, 0.005100213, 0.0512049906, -0.0896673799, -0.0708440542, -0.0156552568, 0.0436207987, 0.0067929742, 0.0230620038, -0.0434668772, 0.0238722153, -0.0221101176, 0.0003345709, -0.0150317559, -0.0326301865, 0.0014195206, 0.0003819714, 0.0256041754, -0.0555273406, -0.009911444, -0.0222491082, -0.0098210424, -0.0179296937, 0.0156411976, -0.0081678042, -0.0293002352, 0.0425218605, 0.0260931514, -0.015373976, -0.0314225182, -0.0079795672, 0.0482202396, -0.0127625046, -0.0229614321, 0.0127454875, 2.865e-7, -0.0261589121, 0.0552694239, -0.0036574716, 0.0161612052, 0.0390476845, 0.0264245104, -0.0221376419, 0.0143876662, -0.0138459289, 0.0182733461, 0.0275115091, 0.0402140766, 0.0717825666, 0.0451489389, -0.0784631371, 0.0569651872, -0.085892953, 0.001841776, -0.0821716115, -0.0013913203, 0.0106070656, 0.0950179026, 0.018208487, 0.0019643647, 0.0304736663, -0.0078071407, -0.0151814958, -0.0884414241, -0.0412316173, 0.0364313945, 0.0253718663, 0.0184397399, -0.0012313814, -0.0144144539, -0.0000331917, 0.0057617519, 0.0292506032, 0.068252109, 0.0024233109, 0.0139089655, 0.0213552527, -0.117999807, 0.0161996372, -0.0798369423, 0.032931339, -0.0197483394, 0.0120121064, -0.0173763875, -0.0240207147, -0.0512496717, 0.0169705786, 0.0002495165, -0.007846579, -0.0154212425, 0.0004437497, -0.0321379825, -0.0281428304, -0.0246748924, 0.0397318639, 0.0081160404, -0.0280060992, -0.08162871, -0.0551699661, -0.0093714995, 0.0099775679, -0.021581281, 0.0032292577, 2.145244818e-34, 0.0374760032, 0.0242959987, -0.0209267028, 0.0020939731, 0.0540671274, 0.0089001926, -0.0533535443, 0.0141430357, -0.0420785323, -0.0387071632, 0.0140824411 ]
http://arxiv.org/abs/2406.13940v1
http://arxiv.org/pdf/2406.13940v1
AutoCAP: Towards Automatic Cross-lingual Alignment Planning for Zero-shot Chain-of-Thought
2024-06-20T02:19:33
2024-06-20T02:19:33
Yongheng Zhang, Qiguang Chen, Min Li, Wanxiang Che, Libo Qin
cs.CL
cs.CL
Cross-lingual chain-of-thought can effectively complete reasoning tasks across languages, which gains increasing attention. Recently, dominant approaches in the literature improve cross-lingual alignment capabilities by integrating reasoning knowledge from different languages. Despite achieving excellent performance, current methods still have two main challenges: (1) Manual language specification: They still highly rely on manually selecting the languages to integrate, severely affecting their generalizability; (2) Static weight allocation: Current methods simply integrate all languages equally. In fact, different language reasoning paths should have different weights to achieve better complementation and integration. Motivated by this, we introduce an Automatic Cross-lingual Alignment Planning (AutoCAP) for zero-shot chain-of-thought to address the above challenges. The core of AutoCAP consists of two components: (1) Automatic Language Selection Prompting to guide LLMs to select appropriate languages and (2) Automatic Weight Allocation Prompting to automatically allocate alignment weight scores to each reasoning path. Extensive experiments on several benchmarks reveal that AutoCAP achieves state-of-the-art performance, surpassing previous methods that required manual effort.
[ -0.0046554497, -0.0075017558, -0.0058260299, 0.0440722108, -0.0759653449, 0.0161599386, 0.0110258032, -0.0497129261, 0.0166903231, -0.0168097056, -0.0137926405, 0.0050788331, 0.008559919, -0.0039105443, 0.0164738689, 0.0013172984, 0.0624880083, -0.0222378131, -0.0226024743, -0.0227719899, 0.007584299, 0.0203423034, -0.0378044285, 0.0025222863, 0.0011472555, -0.0306369662, -0.0431356356, 0.0218703412, 0.0741992295, -0.0135607887, -0.0393712781, 0.0455945954, -0.0041208155, 0.0714788511, 0.0000017691, -0.0583210513, -0.0293428898, -0.0200214945, -0.028729178, -0.0574246943, -0.0275749918, -0.0413033292, 0.002969248, -0.0023535672, -0.022493884, 0.0159538966, 0.0601101704, 0.0116993627, 0.0353102311, 0.0687925965, -0.0028857952, -0.0276549645, -0.0021199733, 0.000091249, 0.0374471471, -0.047186859, -0.007539907, 0.0243485365, 0.0065841973, -0.0223585833, -0.0080526602, 0.0512541682, 0.0093567157, -0.0173960384, -0.0207564048, -0.0057908148, -0.0827375352, -0.02975321, -0.0162312556, 0.0739179701, -0.0098554622, -0.0287020113, -0.032568194, -0.017559303, -0.0049221651, -0.0366746001, -0.0393929072, 0.0326692574, 0.0097865611, 0.0182819329, 0.0513707846, 0.0199956484, 0.0164417494, -0.0013911044, -0.0403637141, 0.1175684035, 0.0162872318, -0.020420108, 0.0276028439, 0.0211951863, 0.022801429, -0.1015528664, -0.0077299871, 0.0462953113, -0.0552392341, 0.02443658, -0.0254528355, -0.0059463559, 0.0110105127, -0.0057037403, 0.0260176472, 0.1001971513, -0.0167570282, 0.0643370971, -0.0426634662, 0.0455228128, -0.0246703606, -0.014220966, -0.0338114537, -0.0411301591, -0.0507230759, 0.0074368459, -0.0104476642, 0.0432352386, -0.024358701, -0.0182733852, -0.0428867973, 0.0183093529, -0.0035359911, 0.0531832315, 0.0093404716, -0.0283143744, -0.0008538569, -0.0433624126, -0.0238665622, 0.0772602633, -0.0573675409, -0.0191217568, 0.0107592568, -0.0139425676, -0.0269806404, 0.0343235582, -0.0228159316, -0.0410500802, -0.0007422495, 0.0911958814, -0.0218826234, 0.0097385691, -0.0210203473, -0.0474024042, -0.0162796471, -0.102948308, 0.0219846088, -0.08439482, 0.0454929508, 0.012782841, -0.016770415, 0.0154667655, 0.0126948357, 0.0071595917, -0.0065018851, 0.0552316606, 0.0063390718, -0.0080453092, -0.0167117883, -0.0209929999, -0.0197818372, 0.1149142906, 0.0080366181, 0.0188119207, 0.0176531225, 0.0345733911, -0.0435722098, 0.0410937332, 0.0074936566, 0.001306273, -0.0117489407, 0.016285602, 0.0119362967, 0.0396649055, 0.0109471111, -0.0057540219, -0.0056220856, 0.0222694837, -0.0019563336, 0.028619729, 0.0299406871, -0.0083359247, 0.0449385419, -0.0319239534, -0.0352448113, 0.0209258515, -0.0457474142, 0.0712353215, -0.0636859611, 0.0228466559, 0.0215294715, 0.0642083585, -0.0277019143, -0.0175808612, -0.0207893923, 0.0104690557, -0.0142937694, 0.0131193008, 0.0327124074, -0.0098545235, -0.0173776336, 0.0718994439, 0.0263171643, -0.0381124616, -0.0215698257, 0.0225924831, -0.0008455878, 0.0209628679, 0.0055609825, -0.0157746039, -0.0740763545, 0.0108132213, 0.0200984292, 0.0635216609, 0.030969711, 0.0027389913, -0.0098175174, -0.0642735139, -0.043898534, -0.0008438361, -0.0212614052, 0.0371201783, -0.0134429354, 0.0357446186, -0.0046958737, -0.0095673716, 0.0303270184, 0.0050880234, -0.0196056385, 0.0073520308, 0.0045966217, 0.045649372, 0.0178276449, 0.034471672, 0.0164953358, 0.0165148508, -0.0106405318, -0.0429460183, -0.0141337309, 0.0234501045, -0.0193128698, -0.0687600672, 0.0798209757, -0.0579997078, -0.075967066, -0.048470404, -0.0369526036, -0.0612663701, 0.0116237802, 0.0109402528, -0.0135415131, -0.0313288383, 0.0421886817, 0.0121558793, -0.0354468226, -0.0402224362, 0.0764931515, 0.0202280786, 0.0252037235, 0.0305386428, -0.0316659175, 0.0832501128, -0.0485069416, -0.0183744598, 0.034632504, -0.0128039392, -0.0358645096, 0.0108512715, 0.0263666958, -0.0526946001, -0.0008704991, -0.0731877908, 0.0449487865, -0.0055106343, 0.0298602507, 0.0112648038, 0.0158443898, 0.0028290064, 0.0108752754, -0.0668330789, 0.0485388674, 0.0157158878, 0.0141209923, 0.0271344911, -0.020728454, -0.001219024, -0.0123347566, 0.0057732398, -0.0608343147, 0.0084515326, -0.0046623605, -0.0467640013, -0.0255752001, 0.0136716496, -0.0952891633, 0.0056107985, 0.0057770042, -0.0268540308, 0.0027551558, 0.0219227355, 0.0262655206, 0.0323020369, -0.0629703626, -0.1026348099, 0.0706758276, -0.0387717038, -0.0344528891, 0.0383494645, 0.0215795487, 0.0022844169, 0.0032020775, -0.0152431475, -0.0302292481, 0.0583154783, -0.0300736092, 0.0021672684, -0.0762605965, -0.0216563102, 0.0098968614, -0.012244205, -0.0189099684, 0.0214016754, 0.0096291574, 0.0966579542, -0.0355967768, 0.003486099, 0.0982292145, -0.029422937, -0.0062679555, -0.0429784507, 0.0329488367, -0.0617493987, 0.0222401526, -0.0117397094, 0.0296140779, 0.0063393791, -0.0126668038, -0.0625284761, -0.0077963425, 0.0437698439, 0.0157289337, 0.0386938043, -0.040991392, 0.0307749975, -0.0478422567, -0.0312477648, -0.0306658223, 0.0442563929, -0.0607654117, 0.0227089301, -0.0378548913, 0.001635779, -0.0455497131, 0.0182968229, 0.0535697527, -0.0133639276, -0.0163630638, 0.0107808225, -0.0289533567, 0.0118369432, 0.0463037714, 0.003186085, 0.019022543, 0.0211629029, 0.0381507389, 0.0298245419, 0.0247788671, -0.0071815159, 0.019080149, 0.013442006, 0.0433070995, -0.0375795104, -0.0170973875, -0.0037141722, 0.0382916182, -0.0210654289, 0.014795444, 0.0930847451, 0.0429018512, -0.0345292203, -0.0232700743, -0.0671938285, 0.0189173296, 0.0432029702, 0.0456651747, -0.1365965009, -0.0526529849, 0.0046081068, -0.0624515861, -0.0001626461, -0.0466585159, -0.0065885712, -0.1327480823, 0.0235636793, 0.031506218, -0.0345622599, -0.0194343086, -0.0098306965, 0.0089431014, -0.0064724293, 0.0013790531, 0.004841771, 0.0281442776, -0.0310847592, -0.0328741446, -0.00748089, -0.0018327347, 0.0192184877, -0.0375817753, 0.0243312325, 0.0420336686, 0.0187132563, 0.0328435302, -0.0596671999, 0.030827621, -0.020634044, -0.0055922647, -0.0416352265, -0.0136978542, -0.0035155723, -0.0018404345, -0.0006976867, 0.0135307498, -0.0346735828, -0.0185803734, 0.0201702043, 0.1337482184, -0.0014433358, 0.0272878967, -0.0106856823, 0.0397606008, -0.0028862124, 0.0716494992, -0.0048468043, 0.0069917403, -0.0283774193, -0.0254224055, -0.0642433688, -0.065897584, -0.0195398647, 0.0337763764, -0.0212177727, -0.0168525707, -0.0354384109, -0.061308369, 0.0564651527, 0.0467963219, 0.006873549, 0.0069066086, -0.0419146568, 0.0007373156, -0.0231437869, -0.0040424527, -0.0433470681, 0.0131394994, -0.0108192619, 0.0457955673, -0.0118786413, -0.0177314132, -0.0000432834, 0.0349138565, -0.032683529, -0.0901587009, -0.046511177, 0.0429769866, 0.0249995589, 0.0456091017, -0.0163881686, -0.0186235663, 0.0326269306, 0.0031079443, 0.023755094, 0.0007514301, 0.0096350685, 0.0549868532, 0.0160358623, 0.0670421571, -0.03287521, -0.0093475617, -0.002537274, 0.0731655434, -0.029054936, -0.0320653357, 0.0189846419, 0.0366244055, -0.0044058822, -0.0324835777, 0.005941798, -0.0056890859, 0.0474764965, -0.0638688728, -0.0668964759, -0.0013387793, -0.0121566756, 0.0026864777, -0.0454116724, 0.0432014912, 0.0124110086, -0.0534786321, -0.0036504837, -0.0052910778, 0.0043606116, 0.0268042926, 0.0496332943, 0.0104018776, 0.0001726275, -0.0130278459, -0.0047993981, 0.0197230205, 0.0511877649, -0.0389495715, 0.0565715544, 0.0241397135, 0.017517535, -0.0409689806, 0.0004069737, -0.0150565142, -0.0153998537, 0.0479250215, -0.0102640046, 0.1062107533, -0.0110931089, 0.0599341653, -0.0023594704, -0.0410229601, 0.0331869498, 0.0354635417, -0.001710837, -0.0263073724, 0.0303699635, 0.0257292688, -0.0094809504, -0.0295175724, 0.0359897874, -0.0458921641, 0.016461838, 0.005100592, 0.0012760077, -0.0313034616, -0.0272955019, 0.0035180701, 0.0034284601, -0.0254911408, -0.0107164001, -0.0928594172, -0.0738159642, 0.0186475608, 0.0313787535, -0.0179396011, 0.0243425183, 0.0226262119, 0.0371543393, 0.0199730136, -0.0277290009, 0.0175764598, -0.0062946477, -0.0266161393, -0.0334683098, -0.0113566266, -5.693563092e-33, -0.0321643539, -0.0135440622, 0.0551143214, 0.006531009, -0.0141658597, -0.0107311271, -0.036458075, 0.0067467294, -0.0366030186, 0.0182435606, -0.0095173893, -0.0305913892, 0.0227890685, -0.0156064462, 0.0327699669, -0.0217252783, -0.0143694412, 0.0185976233, -0.02624809, -0.0335829183, 0.0373770632, -0.0081757382, 0.0641487017, -0.0129178548, 0.0276775453, 0.0173157454, 0.0102454564, 0.0595164858, 0.014138598, 0.0358646251, 0.0133668054, 0.0145339249, 0.0280485023, 0.0045268484, -0.001619788, -0.0016487422, -0.0357717276, -0.0726147965, 0.0743338019, 0.0040279422, -0.0160229914, -0.0470144786, 0.0001453555, -0.0201565772, -0.0055685136, -0.0509946644, 0.0102758734, -0.0235223472, -0.0088186543, -0.0025548972, -0.0855841637, 0.0086330939, -0.0098738242, -0.0072650327, 0.044356253, 0.0768537968, 0.036790356, 0.0139947142, -0.033498019, 0.0206561666, -0.0437932238, 0.0085068475, 0.1286246479, -0.0084907664, -0.0124136601, 0.0296922643, 0.0095980614, -0.0168349482, -0.0073436359, 0.0397993885, 0.0115528312, 0.0156444851, 0.0405942388, 0.0805673599, 0.0138218235, 0.0719117746, -0.0918409079, 0.0334685594, 0.0219584666, 0.0504989438, -0.0299544521, 0.021708535, -0.0120931696, -0.0025363662, -0.0086947316, -0.0307299867, -0.0445917249, -0.0423326157, 0.0004730128, -0.0346735306, -0.008255979, 0.00389569, 0.062100783, -0.0089564947, 0.004440567, 0.0211636648, 0.0035063333, 0.0111664068, 0.0015386657, 0.0498234183, -0.0359425582, -0.015611236, -0.0281658601, 0.0121359834, 0.0337979011, 0.0062789107, 0.0404812619, -0.014946498, -0.024224259, -0.002013609, -0.0661204606, -0.0004913862, -0.0316508338, 0.0229489002, 0.0290248264, 0.0137502337, 0.0055346349, 0.0182021428, 0.0245876387, -0.0519712009, -0.0081548067, 0.02106601, 0.0030475112, 0.0191655084, -0.0173120331, 0.0363508798, 0.0013860508, 0.0158018284, 0.0203484502, -0.0272564366, -0.0140521564, 0.050268244, 2.513e-7, 0.0452195071, 0.0092004128, 0.0237762667, 0.0401128158, -0.0255822744, 0.0300719533, -0.0376018435, -0.0045497096, 0.0222828202, -0.0438456647, 0.0093752192, 0.0381382443, 0.0471140407, 0.0447424352, -0.0804167539, -0.0017932849, 0.0298328009, -0.0203546192, -0.0420840271, 0.0141266473, 0.0406198576, 0.0411630496, -0.0131155849, 0.0019734572, 0.0048471512, 0.0000074008, 0.0311904531, 0.0043590893, -0.0296651404, 0.0162246153, -0.0078277513, -0.0279645361, -0.0148903774, 0.0351384245, 0.0056807953, 0.0505756922, -0.013360315, 0.0317533538, -0.020916339, -0.0540899634, -0.0165964551, -0.0288824998, 0.0054267719, -0.0330311656, 0.0749630406, -0.0188221019, -0.0254537053, 0.0098625785, -0.0273786038, 0.0145541811, 0.0362788253, 0.0229313746, -0.0184236895, 0.0437179506, 0.0473930351, -0.0004030891, -0.0265755355, -0.0425821692, -0.0459688641, 0.0215768628, -0.0134255476, -0.0078103584, 0.0013567348, -0.0114788311, 0.0023085361, -0.0628760904, -0.0289137363, 2.288871631e-34, 0.0100712944, -0.0331234932, 0.0407289714, 0.0200537723, 0.0228416845, -0.0164015088, -0.075426273, 0.0269662496, 0.0135149388, -0.058372397, -0.0324368067 ]
http://arxiv.org/abs/2406.13934v1
http://arxiv.org/pdf/2406.13934v1
Reasoning Like a Doctor: Improving Medical Dialogue Systems via Diagnostic Reasoning Process Alignment
2024-06-20T02:02:53
2024-06-20T02:02:53
Kaishuai Xu, Yi Cheng, Wenjun Hou, Qiaoyu Tan, Wenjie Li
cs.CL
cs.CL, cs.AI
Medical dialogue systems have attracted significant attention for their potential to act as medical assistants. Enabling these medical systems to emulate clinicians' diagnostic reasoning process has been the long-standing research focus. Previous studies rudimentarily realized the simulation of clinicians' diagnostic process by fine-tuning language models on high-quality dialogue datasets. Nonetheless, they overly focus on the outcomes of the clinician's reasoning process while ignoring their internal thought processes and alignment with clinician preferences. Our work aims to build a medical dialogue system that aligns with clinicians' diagnostic reasoning processes. We propose a novel framework, Emulation, designed to generate an appropriate response that relies on abductive and deductive diagnostic reasoning analyses and aligns with clinician preferences through thought process modeling. Experimental results on two datasets confirm the efficacy of Emulation. Crucially, our framework furnishes clear explanations for the generated responses, enhancing its transparency in medical consultations.
[ 0.0842937902, 0.0206536353, -0.0199604984, 0.0108798146, -0.0293476637, 0.0175568014, -0.010803462, 0.0077146385, 0.0058076079, 0.0082534077, 0.0138791129, -0.0147201214, 0.0097326329, 0.0199559573, -0.0062277121, -0.0542502813, 0.0053485385, 0.0046472806, 0.0724993795, 0.0093298312, 0.0170717817, 0.0386856608, -0.0797183812, 0.0491215102, 0.0176970307, -0.0429127589, -0.0131229786, 0.0114857173, 0.0195172951, -0.0656325147, -0.0138401967, 0.0146191232, -0.0289765187, -0.0229273997, 0.0000020589, -0.0547185801, 0.0243901256, -0.0030512628, -0.0553807281, -0.0525219664, 0.0061755273, 0.0123848096, 0.0194227528, 0.052121181, -0.0411543958, -0.0262714103, 0.0348595977, 0.0389620624, 0.0760668442, 0.0350314081, -0.0246495344, -0.0098835547, -0.0033050687, 0.0176596958, -0.0073469309, -0.0361979157, 0.0133019909, 0.0600194782, 0.068176344, -0.0111823119, 0.0439627133, 0.0038877157, -0.0169064812, -0.0074788677, -0.0377377979, 0.0041766907, 0.0052704862, -0.0293667093, 0.0094568264, 0.0636016577, 0.071436204, -0.0049671563, 0.0199761707, -0.009286806, 0.0170850512, -0.0200266242, -0.0339695401, -0.0128009552, -0.0611215942, -0.0081785619, 0.0266714804, 0.011063626, 0.0113477837, 0.0012346214, -0.0133492332, 0.0012622026, -0.0106965248, -0.0241629556, -0.0207165759, -0.0353981145, 0.0036477223, -0.0609983802, 0.0242293198, 0.060978245, -0.0955057889, 0.0105452342, 0.0116959717, 0.0008614524, 0.0611917637, -0.0045530843, 0.0345405713, 0.0453228541, 0.0292241536, 0.0143802837, 0.0256935023, -0.0179128051, -0.0315281823, 0.0452069268, -0.0486331731, -0.0014440147, -0.0558532402, -0.0424104556, -0.0265481714, 0.002623169, 0.0101290671, 0.0214132797, -0.0343606956, 0.007314756, -0.0237269495, 0.0167518202, 0.001952022, 0.0382209755, -0.0038457462, 0.0027529185, -0.0777387023, 0.0261728168, -0.0311926063, 0.0308194291, 0.0327273421, -0.0334516093, 0.0007938817, 0.0058579189, 0.0051663551, 0.018435644, 0.0055675479, 0.0494193695, -0.0140344938, 0.0564564168, 0.0074590459, -0.0698245764, -0.0076004448, -0.0315184258, 0.0002615663, -0.0381695032, 0.025876496, 0.0503200814, -0.0162427407, -0.0389416255, 0.0244363975, 0.024144752, -0.0342267379, 0.072208941, -0.0720313713, 0.0362960882, 0.0328050815, 0.0376007296, -0.0022967912, 0.0054303324, 0.0140959816, -0.0620089956, -0.0068874871, -0.0338339284, 0.0403991491, -0.0229518693, 0.0250940174, -0.0379729979, 0.0029573697, 0.0593566634, -0.0397707485, 0.0989291966, -0.0399882533, 0.0360668153, -0.0219037198, 0.0140146157, 0.023603607, 0.0707537532, -0.0160911214, 0.0018415553, 0.0138007198, -0.0375244617, -0.0121070175, 0.0134623479, 0.0215631854, 0.0080401851, 0.0506885014, -0.0040711351, -0.0200350191, -0.0267658606, -0.0315192305, -0.0524226427, -0.0501637608, 0.0088408133, -0.0115225296, 0.0021994112, -0.0337971151, 0.0044608279, -0.0152349016, 0.087336503, 0.0150268031, -0.0327174626, -0.0704681277, -0.0844179839, 0.0191380922, 0.0856896713, 0.0647743568, -0.0330878384, -0.057366915, -0.0341709182, 0.0168402828, 0.0113297813, 0.0494215973, -0.0343385153, -0.0153713645, -0.0523677357, -0.0135363704, 0.0241070241, 0.0155073423, -0.0327054895, -0.0407001451, 0.0122361938, -0.0212326813, 0.0019109976, -0.0018961546, 0.0299604796, -0.0332842693, -0.0057713375, -0.0017704981, 0.0003874898, 0.0452432148, 0.029238997, 0.008699364, 0.0586902723, 0.0189350564, 0.0052167592, -0.0093518225, 0.0620002784, -0.0382710025, -0.0367971882, -0.0008978798, -0.0089465789, -0.0345714502, -0.0324338824, -0.0374204628, -0.0310613457, -0.008037637, -0.0620307028, 0.0145678641, 0.001230623, 0.0097992234, 0.0505706556, -0.0278677493, -0.0359018967, -0.0076475875, -0.009432368, 0.0146324653, 0.0306783877, -0.0155192614, 0.0166043658, -0.0628098398, 0.0357533395, 0.0236052256, -0.008024212, 0.0067693177, -0.0323731378, -0.0007208356, -0.0394103825, -0.0050454843, -0.1321920753, -0.0369804353, 0.0031541081, -0.0140055912, 0.0179341584, 0.0322868042, 0.0069771516, -0.0198878031, -0.0363486856, -0.0083499718, 0.0524552353, 0.0167701449, 0.0516984574, 0.0298792124, -0.0063585653, -0.0032526939, 0.0095195351, -0.0456286967, 0.0095472066, -0.0186526459, 0.0553332753, -0.0339478254, -0.0404895693, -0.0679672211, -0.0039887633, -0.0018347275, -0.0416049846, 0.0495588146, -0.0107023641, -0.0483984947, 0.0513169654, 0.0096653765, 0.0043945075, -0.0086089494, -0.0076439134, -0.0587511398, 0.0297337435, -0.0292695947, -0.0009770549, 0.0063781519, -0.0524330959, -0.0254957285, 0.0728413314, 0.0162294824, 0.0277373232, -0.02296363, 0.0510420054, 0.0081551159, 0.0206427705, -0.0200841334, -0.0232073404, -0.0191816017, 0.0728687346, -0.0015579963, -0.0053288257, 0.1121127233, 0.0029013336, 0.0094550997, -0.0811533034, -0.0137310019, -0.0461475998, 0.0210850239, -0.0557587706, 0.0027338879, 0.046887476, -0.00304372, 0.0023633144, -0.0170102324, 0.031591706, -0.063589707, 0.0448953286, -0.0527928099, 0.0156933535, 0.0177645311, -0.0430293418, -0.0595548302, -0.0070173764, -0.0410169363, -0.0124497311, -0.0076402887, 0.0170216635, -0.0541305579, 0.0103813922, 0.004144182, 0.062878266, 0.0369316973, -0.0179937445, -0.009820045, -0.020032255, 0.0020047373, 0.0233390573, -0.0068595596, 0.0135099608, 0.0546705425, 0.0440632701, 0.0101207839, 0.0007699605, -0.0100422101, -0.0258712284, -0.0165518709, 0.0085967788, 0.0077934996, -0.0011746838, 0.0297369976, -0.0428535417, -0.0227217581, 0.0909697637, 0.0371349901, -0.0003358687, 0.032072816, -0.0469609648, -0.0027453646, -0.0096659996, 0.0038153138, -0.0689262897, -0.0509791635, -0.0106624477, 0.0321154818, -0.0393947065, -0.0234076101, 0.0127251567, -0.0360134803, 0.0317107327, -0.0114761898, 0.0333048925, -0.0178333335, -0.0038853546, 0.021325076, -0.0015151863, -0.026894344, -0.0089177657, 0.0319982693, -0.0000574319, -0.0012168363, -0.0520127602, -0.0372050926, 0.0376100615, 0.0200278331, 0.0264878869, 0.055419825, 0.0564564466, 0.0401410945, -0.0676040202, -0.0260004885, 0.0140430769, 0.0233146511, -0.0044296975, 0.0402434543, 0.0338500962, 0.0156159075, -0.0483493358, 0.0424028039, -0.0528454781, -0.0264816154, 0.0222167354, 0.0768565461, -0.0695908517, -0.0061612823, -0.0529376268, 0.0534635484, 0.0550321825, 0.0420974791, 0.0181579515, 0.0091372943, -0.0212806221, 0.026722189, 0.0096962526, 0.0120791467, -0.0168467835, 0.0139177945, 0.0379355215, 0.0271513909, -0.0263883825, -0.0534639545, 0.018683454, -0.0071826065, -0.0008456793, 0.0004313348, -0.0032411751, 0.0274876412, -0.0325404294, 0.0408337489, 0.0508043915, 0.0354902372, 0.0143776219, -0.0192380212, 0.0469939522, 0.010000811, -0.0102907335, 0.0291633885, 0.0257676132, -0.004991434, -0.0233505294, 0.0505718589, 0.0303888433, 0.0002543196, -0.0049395389, -0.0211846009, -0.0181815736, 0.001919808, -0.0223161411, -0.0475878231, 0.0162610542, 0.0343999639, 0.0033496306, 0.0236139335, 0.0182347205, 0.0204375964, -0.0094407275, 0.0348334871, -0.0359184705, -0.0459888987, 0.0311493333, 0.0171585418, 0.0209366363, 0.0157873388, -0.0221184678, -0.0142839486, 0.0490218215, -0.0449099429, -0.0265981797, -0.0100361314, 0.0017841229, -0.0191631988, -0.0455061644, 0.00826908, -0.0659288988, -0.1048887819, -0.0227755811, -0.0024493993, 0.0321534127, 0.0257208738, -0.0155005176, 0.0299852584, -0.0319534019, -0.0071470542, 0.0216508824, 0.0056581241, 0.0450218245, 0.0076773711, 0.1187658831, 0.0216789693, 0.0170117337, 0.0190517884, 0.0211837422, -0.0386630334, -0.1015979424, 0.0121743018, 0.0149915712, -0.0119660217, 0.0228582434, -0.0131560871, -0.0167101063, 0.0143066822, 0.0140328063, 0.0420835204, 0.0180728734, -0.0085413419, 0.0617783107, 0.0257832687, -0.0076721502, -0.0519356951, 0.0395697393, -0.0798475668, 0.0078764716, -0.0365500003, -0.0374048986, -0.0709682405, -0.0392914936, -0.0030001202, 0.042512197, -0.0258797444, 0.0177711211, -0.094800368, -0.0444680527, -0.0305838771, -0.0076072281, -0.0222721826, -0.0443299077, 0.0450359471, 0.0466233492, 0.0233449638, -0.0254610572, 0.0019133876, 0.0704425275, -0.0869505852, -0.0110615818, -0.0627370849, -5.418749043e-33, 0.0003089039, -0.0407840647, 0.0532425642, -0.0149141988, 0.0054092235, -0.0209561829, -0.0364368893, 0.0179943014, -0.0121711055, 0.0620026067, -0.0348099172, 0.0212712642, -0.0058302707, 0.0402532294, -0.0076164659, -0.0334198065, 0.0325581096, 0.0169721246, -0.0388027951, 0.0285151824, 0.0008687384, -0.0006754542, -0.0219789222, -0.0915986076, 0.0048261187, -0.009163118, 0.015574594, 0.031917613, -0.0520013832, 0.0570905767, 0.0007057023, 0.0221616067, 0.0446988866, 0.0164868981, 0.0122469747, 0.0234407373, -0.0177807417, -0.0305678491, 0.040555127, -0.0139722871, -0.0745475441, -0.0128989397, -0.0073278733, -0.0062452662, -0.0063245436, -0.008574781, 0.0051571848, -0.0284494273, 0.0155512476, 0.0159478988, -0.0311484989, 0.0308457669, -0.0398714542, -0.0511689223, -0.0146879312, 0.045857124, -0.0382211469, -0.0245860349, -0.0129817585, 0.0018152049, 0.028878063, -0.0260926764, 0.0261033885, -0.0117442077, -0.0346647911, 0.0360011607, 0.010604566, -0.01445569, -0.0785514638, 0.0032617, -0.0797083601, 0.0644844472, 0.0539014004, 0.013960056, -0.0243158527, 0.0067862421, -0.0516934283, 0.0098395776, -0.0502264313, 0.0586502068, 0.0463413335, -0.0062050228, -0.0609353557, -0.0109248804, -0.0509079657, -0.0214652307, -0.0329058468, -0.0250566546, 0.0333473645, 0.001829945, -0.0208438914, 0.0007849297, 0.0056430465, 0.0065677762, 0.0245304387, -0.0326698273, 0.0207842402, -0.022565065, -0.0382497981, -0.0203597117, -0.0385062918, 0.0003298997, 0.0112298643, 0.014732874, 0.0600648113, 0.0473182872, 0.0089412695, -0.0800903738, -0.0131175956, -0.0063111386, -0.0164070223, 0.055466231, -0.0742411092, 0.0131325806, 0.0138721913, 0.0543412529, -0.0285421312, 0.0390926227, -0.0034027768, -0.0096445456, -0.0662227124, -0.0333653726, -0.0139140468, -0.0009075626, -0.0464761928, -0.0112090707, -0.0167962238, 0.0033107069, 0.0251537003, -0.023147935, -0.0005321623, 0.0093816919, 2.754e-7, 0.0583066233, 0.0231995713, 0.0304483566, 0.0106066419, 0.0661606491, 0.0573283844, 0.011054297, 0.0060677473, 0.0480248481, -0.0847680792, 0.0180677753, 0.008744467, 0.0467335545, 0.0438145325, -0.0434747264, -0.0456660874, -0.0564169548, -0.0139014022, -0.0264750831, -0.0131883556, 0.0887764245, 0.023221815, -0.0327425227, -0.0160762388, 0.0106997751, 0.0355113074, 0.0322657265, -0.0143109085, 0.0263241641, 0.052114144, 0.0412848331, -0.0437457487, 0.0404887013, 0.0803722739, -0.0145006739, -0.021216698, -0.0199146252, 0.0708531365, -0.0776946917, -0.0254278183, -0.0174872223, -0.0140506597, 0.0513482317, -0.0558937527, 0.0206130929, -0.0934710503, -0.0568892621, 0.0031499022, 0.0019652974, -0.0208554845, 0.0508022085, -0.0140056303, -0.0445828401, 0.0438154303, 0.0179453269, 0.0342104807, 0.0046664346, -0.0636368841, -0.0189958811, 0.0093429415, -0.0318932794, -0.0328723863, 0.0521953627, -0.0347912684, 0.020525679, -0.0658643097, 0.0168559421, 2.215630757e-34, 0.0295247976, 0.0464912504, 0.0280155502, 0.0482722409, 0.060111545, -0.0022065241, 0.067684114, 0.0435300693, 0.053925585, -0.048556257, -0.0148917707 ]
http://arxiv.org/abs/2406.13929v1
http://arxiv.org/pdf/2406.13929v1
Large Language Models are Skeptics: False Negative Problem of Input-conflicting Hallucination
2024-06-20T01:53:25
2024-06-20T01:53:25
Jongyoon Song, Sangwon Yu, Sungroh Yoon
cs.CL
cs.CL, cs.AI, cs.LG
In this paper, we identify a new category of bias that induces input-conflicting hallucinations, where large language models (LLMs) generate responses inconsistent with the content of the input context. This issue we have termed the false negative problem refers to the phenomenon where LLMs are predisposed to return negative judgments when assessing the correctness of a statement given the context. In experiments involving pairs of statements that contain the same information but have contradictory factual directions, we observe that LLMs exhibit a bias toward false negatives. Specifically, the model presents greater overconfidence when responding with False. Furthermore, we analyze the relationship between the false negative problem and context and query rewriting and observe that both effectively tackle false negatives in LLMs.
[ 0.021827748, 0.0307782404, -0.0350984782, 0.019840423, -0.0615703873, 0.0148946103, -0.0127527053, 0.0031496361, -0.0050779092, -0.0474315137, -0.0470085591, -0.048494231, 0.0133555448, -0.0009660856, 0.0403252691, 0.0013267387, 0.0661231056, -0.0265342537, 0.0311969072, -0.0473553613, -0.0189970732, -0.0287712608, -0.0047746338, -0.0182986427, -0.0123381596, -0.0147834178, -0.0001372509, 0.0197444335, -0.0527044684, -0.0349462554, -0.0422546864, 0.0601906367, -0.0195905827, 0.0902486145, 0.0000017815, -0.0508952178, -0.0093469759, -0.0122718904, -0.027855888, 0.0388437323, 0.0247674305, 0.0127118714, 0.0260262378, 0.0106869889, -0.001205174, -0.0220108926, 0.0375183299, 0.1182117239, 0.0379002839, 0.0711309314, 0.0196701139, 0.0013401873, 0.0032862811, -0.0075675366, 0.0448495746, -0.0120736426, 0.0558186136, 0.0210970063, -0.0332668573, -0.0027193325, -0.0239282306, 0.0154193211, -0.0076079411, 0.0400453433, -0.0436929092, 0.0166787561, -0.0745385215, -0.0267339256, 0.0260989051, 0.0014616201, 0.0099352784, -0.0601457506, -0.0042897565, -0.000439766, 0.0072300765, 0.0416321494, -0.0503726527, 0.0420570262, -0.0129799545, -0.0202218965, 0.0010146694, 0.0012326044, 0.0320151225, -0.0090242773, -0.0389871411, 0.0937342569, 0.0109508643, -0.0724222735, 0.0196709316, 0.01176007, 0.0076940176, -0.061512921, -0.0285894945, -0.0049669277, -0.0387684479, 0.0207028706, -0.0015757582, 0.0174408592, 0.0416100398, -0.0884735137, -0.0189727005, 0.0008440974, -0.0278116949, 0.0390876345, -0.0269787144, 0.0282050371, -0.0570034385, 0.0546127744, 0.0142992027, 0.0146153513, 0.0105052562, -0.0454036966, -0.0080251917, 0.0305525567, 0.0052406359, -0.0008480591, -0.0077544209, -0.0063788998, -0.0448023044, 0.0084573748, -0.0610841699, 0.0257372204, 0.0057691019, -0.0528505296, -0.0602059886, 0.0526186377, -0.0003592105, 0.0386587232, -0.036622569, -0.0742556751, -0.0162323825, 0.0064764787, -0.0230842102, -0.0073547652, -0.0198116917, 0.0261790715, 0.0125059625, 0.0040062177, -0.0249271132, -0.0190361589, -0.0264786612, -0.0467980206, 0.0165919308, -0.0472531989, 0.0029241075, 0.0269568563, 0.0006419515, -0.0411886163, 0.0144470287, 0.002464802, -0.055684112, 0.0633148849, 0.0314983502, 0.0262012016, 0.0486601815, 0.029938275, -0.014470771, 0.056755729, -0.0142944325, 0.0136603452, -0.0010687973, 0.0163331199, 0.0678097382, -0.0068614306, 0.0215193257, 0.0410397574, -0.0565146282, 0.0220639259, 0.0217152275, 0.0209397748, 0.0030469198, 0.0797590613, -0.0320181176, -0.0176254902, 0.079225637, -0.0163880773, -0.0239836685, -0.0240242518, -0.0155858407, -0.0021814264, -0.0039124368, 0.0325177535, -0.0801907331, 0.0340227932, -0.0375879928, 0.0029591739, 0.036861252, -0.051035963, -0.0216506682, -0.0190829709, -0.0158975963, 0.0118201654, -0.0147372987, 0.027432749, 0.0220043659, -0.026921859, -0.0640028417, 0.0057529001, 0.0005848118, -0.0140726371, 0.0082466006, -0.0498587191, 0.0225016456, 0.0130754365, 0.0181291886, -0.0052951244, 0.0102918455, -0.025378149, -0.0141369924, 0.0424060114, 0.0903173536, 0.0234979559, -0.0529195219, 0.0001147479, 0.0040355395, -0.0206497051, 0.0429724194, -0.0233984757, -0.0273234528, 0.0185153745, 0.0069180848, 0.0169687197, -0.02669953, 0.0373363271, -0.0019157558, -0.0457466356, -0.0616957024, -0.0206839722, 0.00689983, -0.0223750584, -0.0107035097, 0.0730529577, 0.0240119398, 0.0082607092, -0.0636232272, -0.0115647623, -0.0428739637, -0.0179132037, 0.0187389869, -0.0256857574, 0.0073450184, -0.0262921266, 0.0266788378, -0.0277835485, 0.01430362, -0.039930366, 0.0606172606, 0.0016874116, 0.0678685084, -0.0451907776, 0.0057434873, -0.041573748, 0.0598378889, -0.0226127505, 0.0383371189, 0.000298095, -0.0037660387, -0.0212449431, -0.0046235402, -0.0270270966, 0.0126013113, 0.0174946859, -0.0021838371, 0.0074248631, -0.0974957123, -0.0627139136, -0.0182820726, -0.0405123457, -0.0067599537, 0.0115439342, -0.0098315561, 0.0436860099, -0.0555391721, -0.0136662172, 0.0128140766, 0.0066609853, -0.0032676484, 0.0206832848, 0.0792120397, 0.0020431958, -0.0016157624, 0.0031746493, -0.0143985404, -0.0015152174, -0.0456695072, 0.0463293642, -0.0081667658, -0.033889614, -0.0791124701, 0.0826871321, -0.0528355427, 0.0235248823, -0.0179222003, 0.0116294054, 0.0238107871, 0.0120526487, 0.0261292383, 0.0628464445, 0.0169438794, -0.0164631978, 0.103251189, -0.0000848993, -0.0185204018, -0.0306123663, 0.0036317536, -0.0219240356, 0.0043901238, -0.0737793669, -0.0047359746, 0.0362549163, 0.0575406775, 0.0060230959, -0.0449784957, 0.0596472658, -0.0761495382, -0.0668195859, 0.020379113, -0.0611374825, -0.0243728459, 0.0804717913, -0.0217269231, -0.0346731767, 0.0819669887, 0.0014938154, 0.0004793883, -0.0126232998, 0.064929828, 0.0186178181, 0.0315317772, 0.0151018444, 0.005054493, 0.0339818373, 0.0100045158, -0.0747315139, -0.0578126609, -0.0163734443, -0.0576467738, 0.0301357936, -0.0262659006, -0.0215330496, 0.0035013095, -0.0172806624, -0.0587658435, -0.041057799, -0.0276741255, -0.0384588875, -0.0344371237, 0.022300059, -0.041967947, -0.0036493845, 0.0444886424, -0.0060293712, -0.0296174549, -0.0380680747, 0.0069930018, -0.0257236827, 0.0372727849, -0.0072294404, 0.107629925, -0.0366717353, 0.0106248846, 0.0375280008, 0.0356434546, 0.0396136343, 0.0092934892, -0.0370907485, 0.0045684543, 0.0095633091, -0.0291840415, 0.0458037928, 0.0197530221, -0.0217953138, 0.0000200639, 0.0902989954, 0.0426070429, -0.0131334551, 0.0101141753, -0.086580582, 0.024435943, 0.0512674153, -0.016352769, -0.0535027832, 0.0102688102, 0.0041792477, -0.0137424693, -0.0538654253, -0.0266848318, -0.0274376739, -0.1307197213, -0.003889303, 0.021554077, 0.013343811, -0.0102813644, -0.0327760875, 0.0142646171, 0.009560761, 0.0262966156, 0.0567805581, -0.0083267698, -0.0161073059, -0.0077936566, 0.0349067859, -0.0087202592, 0.0097836871, -0.0062933643, 0.0736414418, 0.0163744874, 0.0094325328, -0.0234552734, -0.0323762372, 0.0308763161, -0.0247844718, -0.0067663984, -0.0100412508, 0.0202915743, 0.0143764829, 0.0238629114, -0.0329866745, -0.0227199849, -0.0223239381, -0.0022358103, -0.0008303404, 0.068843402, -0.0293529611, -0.0688596368, 0.0028605771, 0.0306355022, -0.0035393008, 0.0750612319, 0.0028458417, 0.0122976387, -0.0398020558, -0.0201695096, 0.0053927228, 0.0583025664, -0.0430109315, 0.0379184932, 0.0612508766, 0.0149373151, -0.0562311932, -0.0370928049, -0.0090143047, 0.0089137992, 0.0066714757, 0.0374985971, 0.0073450948, -0.0265393611, -0.0131857852, 0.0015211231, -0.0168228429, 0.0226391833, -0.0251908265, 0.044284068, 0.0230118986, -0.0195886958, 0.012265332, 0.0161976013, -0.0584878139, -0.0751678422, 0.0445830524, 0.0049088462, 0.0348158143, 0.0043932423, 0.0135534815, -0.037598405, -0.0174650513, 0.0349409655, -0.0322540775, 0.057290256, 0.0361439846, 0.026216507, 0.012059398, 0.0398595892, -0.0031366472, -0.0088145817, 0.0318941101, 0.0094492687, -0.0343689919, -0.0193208437, 0.0603651814, 0.0249012802, 0.0644389391, 0.029587552, 0.0446958579, 0.0092733232, -0.0003183155, -0.0400959849, -0.0476626568, 0.0509134643, -0.049175825, 0.0299892798, 0.0034080104, -0.0010584844, -0.0167880729, -0.0190680306, 0.0242373496, -0.0030672094, -0.0089541944, 0.0402595922, -0.0028263433, 0.0370672084, -0.0093839066, -0.0257220045, 0.0376361199, -0.0018926449, 0.042131044, 0.0184952207, 0.0629494861, 0.0047781551, -0.0069307117, -0.0530499443, -0.0389688089, -0.0819512531, -0.0765169561, 0.0588913783, 0.0136560015, -0.0316431709, -0.0086695775, 0.0412717238, -0.0321888402, 0.0144273723, -0.0207748394, -0.031969104, 0.0211468954, -0.0085287867, 0.0463880673, 0.0134100858, -0.0133576635, 0.0024562066, 0.0766811892, -0.0144834165, 0.0526607372, -0.024698114, -0.0205358509, -0.0192940682, -0.050505273, -0.0008695465, 0.0113565372, -0.0246037524, 0.0030357048, -0.0855910853, -0.0445636958, -0.0052112876, -0.0020904881, 0.0489778444, -0.0675378889, -0.0169658009, 0.0940264985, 0.0053612785, -0.0321045667, -0.008042925, 0.0431896821, 0.039261099, 0.0188366026, -0.0615709648, -6.258630205e-33, -0.003299356, -0.0280332752, 0.0087744584, -0.056063354, -0.0203913078, -0.0164080784, 0.0107189314, 0.0482399091, -0.0369807854, 0.0043066856, -0.0245949291, 0.0443043672, 0.0152577674, -0.0073907608, 0.0125051988, -0.0214142483, 0.0538452901, 0.0240455959, -0.0263962038, -0.0267554186, 0.0479828119, -0.0152812926, 0.0309734382, -0.0890665054, 0.0646609068, -0.0494938642, 0.0000503265, 0.0142721087, -0.0318516083, -0.0109040653, -0.0199190229, 0.0286008976, 0.0261593573, -0.0427253284, -0.0048394199, 0.0023468039, 0.0536179952, -0.0235099979, 0.0483923815, 0.026602285, 0.0282362141, 0.0104975924, 0.0217561033, -0.0207722746, -0.0566174723, 0.028449228, -0.0175043736, -0.0273691323, -0.0150990123, 0.0604206584, -0.0815185532, -0.0008608548, 0.0377641357, 0.0067521851, -0.0150273247, 0.0486902669, -0.0100110453, 0.0000023688, -0.0616863631, 0.0389698446, 0.006919242, 0.0150116496, 0.0408168472, 0.025550276, 0.0117523903, 0.0521660112, 0.0679294318, 0.0723831132, -0.0391377173, -0.0282778479, -0.004676078, 0.0116010951, 0.0493572243, 0.0632017776, 0.0373513252, -0.0232355278, -0.0240784232, -0.0495928302, -0.0148834828, 0.0122277318, 0.0830768794, 0.0159977302, -0.0369931236, -0.0508321561, -0.0493068099, -0.0058812769, -0.0475881472, 0.0125922393, 0.011029345, 0.0064246808, 0.0007329271, 0.0004221442, 0.0144641139, -0.0303813778, -0.0174873676, 0.0106278872, -0.0238707457, -0.0096801342, -0.0117096463, 0.0302230138, -0.0248544514, 0.0006588507, 0.0053975498, 0.0306460597, 0.0032412801, 0.0225082561, 0.0175522603, -0.0213327836, -0.0800210983, -0.003425912, -0.0189284254, -0.0031915994, 0.0433348641, -0.0591325164, 0.0710019767, 0.0155448206, -0.0211431962, -0.0320806801, 0.0359557308, -0.0312815011, -0.0355497003, 0.0453169942, -0.0470845588, 0.0256863032, -0.0192480218, -0.0278535075, -0.0521102287, 0.0256395116, 0.0364424586, -0.0856054351, -0.035001155, -0.010338109, 2.638e-7, 0.0024837635, 0.0788842738, -0.0184951294, 0.0333282687, 0.0353768878, 0.0502744131, -0.011198353, -0.0012451409, 0.0552150793, -0.0592501499, -0.0199628547, -0.0104650343, -0.0087206578, 0.0227594264, 0.0035535034, -0.0284029935, -0.0530148298, 0.0261137541, -0.0354070701, 0.0109937433, 0.0387442708, 0.0601704679, 0.0085777771, 0.0117951473, -0.0168462209, -0.0351515673, 0.0730948821, 0.0066383928, 0.0215623956, 0.0254971609, -0.016821526, -0.0189276878, 0.0229198597, 0.0853450149, 0.0382121317, -0.0236437675, -0.0183277167, 0.0101033542, 0.005732567, -0.017797621, -0.0099468473, -0.0226379614, -0.0249495525, -0.1034458801, 0.0644256026, -0.0423139445, -0.0173107777, -0.0266405363, -0.0009523497, -0.0032364619, 0.0703705773, 0.0014682922, -0.0199963152, -0.0037824977, 0.0081854668, 0.0516311936, 0.0152112395, -0.0316634551, -0.0243524853, 0.0022916382, -0.0198678244, -0.0557179004, -0.0026650087, 0.0351687223, 0.0057241032, -0.0499250256, 0.0226692539, 2.450123972e-34, 0.037754003, 0.0171567909, 0.037113063, -0.0299228765, 0.0305298902, -0.0012094395, -0.0081346966, 0.0249252655, 0.0280899424, -0.0205823351, -0.0094619673 ]
http://arxiv.org/abs/2406.13925v1
http://arxiv.org/pdf/2406.13925v1
GenderAlign: An Alignment Dataset for Mitigating Gender Bias in Large Language Models
2024-06-20T01:45:44
2024-06-20T01:45:44
Tao Zhang, Ziqian Zeng, Yuxiang Xiao, Huiping Zhuang, Cen Chen, James Foulds, Shimei Pan
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) are prone to generating content that exhibits gender biases, raising significant ethical concerns. Alignment, the process of fine-tuning LLMs to better align with desired behaviors, is recognized as an effective approach to mitigate gender biases. Although proprietary LLMs have made significant strides in mitigating gender bias, their alignment datasets are not publicly available. The commonly used and publicly available alignment dataset, HH-RLHF, still exhibits gender bias to some extent. There is a lack of publicly available alignment datasets specifically designed to address gender bias. Hence, we developed a new dataset named GenderAlign, aiming at mitigating a comprehensive set of gender biases in LLMs. This dataset comprises 8k single-turn dialogues, each paired with a "chosen" and a "rejected" response. Compared to the "rejected" responses, the "chosen" responses demonstrate lower levels of gender bias and higher quality. Furthermore, we categorized the gender biases in the "rejected" responses of GenderAlign into 4 principal categories. The experimental results show the effectiveness of GenderAlign in reducing gender bias in LLMs.
[ 0.0535127595, 0.0914341509, -0.0248718765, 0.0227087233, -0.0337703042, 0.0042412989, 0.0267982036, -0.0366520733, -0.0047773267, -0.0315741226, -0.0163653512, -0.063531898, 0.0372716971, 0.0028934218, 0.032485798, -0.0227026995, 0.0355001651, 0.0301242191, 0.0228423141, -0.0307973512, 0.0459352322, 0.0535327606, 0.0062709418, 0.0541943125, 0.0308608077, -0.0512299463, 0.0101129608, 0.0337446928, 0.0218086671, -0.0015177196, 0.063627705, 0.0730344281, -0.0159349721, 0.0310063194, 0.0000018711, -0.0924279466, 0.019071795, 0.0015513067, -0.0200480316, 0.0171199646, 0.0204110648, -0.0046203849, -0.0310624558, 0.0367776603, -0.0274962243, -0.00923396, 0.045003131, 0.0323352031, 0.0461284928, 0.0286680255, -0.005387133, 0.0261045229, -0.040833205, -0.0153912026, -0.0341843963, 0.0117417024, 0.0336026661, -0.0129774166, -0.044796478, -0.0047418945, -0.0129104527, 0.0037455508, -0.0344457924, -0.0431552604, -0.0022478371, -0.0079297498, -0.0727426931, -0.0676872134, 0.0195360146, 0.0713091791, 0.0437787659, -0.0061029396, 0.0094824526, -0.0100339716, 0.0226397142, 0.0157455578, -0.0535786077, 0.0350460485, -0.0012329654, -0.00881375, -0.0093786716, -0.0667825267, 0.0156760402, 0.0529343709, 0.0143813342, 0.0911909416, 0.0292063188, -0.0353341252, -0.0203932002, -0.0248149857, 0.0192937665, -0.0776785463, -0.0265838914, -0.0257307049, -0.0175012629, 0.0218364988, -0.0267287958, 0.0084078182, 0.0683463365, -0.0780773684, -0.0095708566, 0.0520354025, 0.0460235327, 0.0085056648, 0.0050786729, 0.0437568501, -0.0153319957, 0.0225689951, -0.0180255529, -0.0126997074, 0.0050748596, -0.0221967213, 0.0002615986, -0.0128038302, -0.0078793205, 0.0294617079, -0.0554776117, 0.016565036, -0.0373704508, 0.0267209504, 0.0078205634, 0.0268952474, -0.0041325041, -0.0039257142, -0.000725804, 0.0496737882, -0.0475602038, 0.034511596, -0.0171363261, -0.0905011892, -0.0063435524, 0.0132186059, 0.0073476448, -0.0255252142, -0.0192843471, 0.0198501479, 0.0171611812, -0.0033065414, -0.0154650295, 0.0071991035, -0.0283376239, -0.0664810091, -0.0073871328, -0.0813269168, 0.0402968004, 0.0520135351, 0.0019447453, -0.0274565704, 0.0067783361, 0.028876029, -0.0016575983, 0.0267559756, 0.0398586765, 0.0251542088, 0.0735206455, 0.0001156771, 0.0115797799, 0.1002299637, 0.0473132618, -0.0194383357, 0.0459113009, -0.0230889805, -0.0477492884, 0.0479496494, 0.0263137631, 0.0509141423, -0.0300614405, 0.0605936274, 0.0023724765, 0.0690969527, 0.0571727604, -0.0041158604, 0.0310858153, -0.0379926004, 0.0741913617, 0.0649786294, 0.0263131633, 0.0385593921, -0.0056387591, 0.003955048, 0.0042511495, 0.013107053, -0.0543402284, -0.00178732, -0.0153150028, -0.0151905604, -0.005853503, 0.0418352112, -0.0157665648, -0.0346701778, -0.0326424949, 0.0246922448, -0.011648708, 0.0150040202, 0.0133229867, 0.0157371275, -0.0006253156, 0.0623718798, 0.034493342, -0.0857909173, -0.0202511307, -0.016783325, 0.041142378, 0.0384560935, 0.0250034407, -0.0240326039, -0.0514582321, -0.0476152413, -0.0203657933, 0.0523728468, 0.0789490938, 0.0119609805, -0.0131565742, -0.0418454371, -0.0324009769, 0.0153955249, 0.0021504848, 0.0125632528, 0.0482641272, 0.0305659249, -0.0009437985, -0.0123810843, -0.071998328, 0.0215927213, -0.0157488249, -0.0072131883, 0.0235261153, 0.0003099071, 0.0529932305, 0.0237504691, -0.0143420855, 0.0063293516, 0.0009263505, 0.0022967921, 0.0059812106, 0.0238134768, -0.0321257375, 0.0097926445, 0.0435467176, -0.0651334748, -0.1004404277, 0.0360124931, -0.0150106065, -0.0239024032, 0.0390347615, -0.0141180353, -0.0186874475, -0.0103377476, 0.0176747218, -0.0082228025, 0.025730364, -0.0334527269, -0.0030792109, -0.0228108317, 0.0022863848, 0.013744548, -0.0312200394, -0.0066673649, -0.0667751655, -0.0353129767, 0.0360652842, -0.0039737327, -0.0051565259, 0.0325501449, -0.0350766256, -0.0558055378, -0.0270005912, -0.0581131056, -0.0097667985, 0.0091498224, 0.0058395504, 0.0216112416, 0.0160906762, -0.0193700921, 0.0115065062, -0.0545147248, -0.0354324691, 0.0218567345, 0.0281671789, 0.0585453026, -0.0401741974, 0.0129732285, -0.0682969466, -0.0313294008, -0.0397563204, 0.0391891114, 0.0209550895, 0.0166798681, -0.0355800502, 0.0073912493, -0.0409452356, -0.0143376272, -0.0094662178, -0.06184531, 0.0006212882, 0.0504691899, 0.0487044193, 0.0732739121, 0.0548199601, -0.0079879938, 0.0230791345, 0.0126824584, -0.0639560744, -0.0274400301, 0.0300776456, 0.0280612875, -0.0050127404, -0.0877335742, 0.0021482755, 0.013261823, -0.0031349552, -0.0035169257, -0.0444160141, 0.0440879278, -0.0175654087, -0.0359196514, -0.0211036019, -0.0324532762, -0.0254269019, 0.0226767827, -0.0395310223, -0.0372260101, 0.0312562995, -0.0151099162, -0.002555605, -0.0176305603, -0.0055808215, -0.0668824539, 0.0271715689, -0.0540522523, 0.027118111, 0.0066458243, -0.0293101631, -0.0922791883, -0.0597323515, 0.0450719409, -0.0404894315, 0.0604289435, -0.0107412236, 0.0254459437, -0.0024626043, -0.0252334978, -0.0599929988, -0.0355116762, 0.0100089349, -0.0210742094, 0.0225828495, -0.0139724324, -0.0242861956, 0.0345530957, -0.0103675751, 0.0060239923, -0.0283190329, 0.0345866606, -0.0009885191, 0.0114597529, 0.0769584179, 0.0184133556, 0.0326224752, -0.0138972783, 0.0350820832, 0.0344263017, -0.0196144711, 0.0126172416, 0.02594354, -0.0018382422, 0.0660393834, -0.0497965626, -0.0014358741, -0.0435282178, 0.0379465781, -0.0472121723, 0.0095117614, 0.096790038, 0.0166259073, -0.0672343075, -0.0107649108, -0.0475609973, 0.0399686694, 0.0331487954, 0.0072370819, -0.0645351857, 0.0316618457, 0.0269695856, -0.0231099315, -0.0264235418, -0.0415935554, -0.0225289185, -0.1453279108, -0.0115675768, 0.0413332991, -0.0541916974, -0.0489909947, -0.0092247082, 0.0198674202, -0.0127623398, 0.0632138178, 0.0151606575, -0.0088445917, -0.0136280982, -0.0039065741, -0.0550590195, -0.0092938356, 0.0221222173, -0.0710756704, 0.0892526582, 0.0401458219, 0.0690822005, -0.0159984753, -0.0072719911, 0.0318832844, -0.0030890349, -0.0378884748, 0.0029132909, 0.0042552482, -0.0474663973, -0.0143608227, -0.0648172274, 0.060233444, 0.0248389784, -0.0071936618, -0.0024660612, 0.0150265163, 0.0115752351, 0.0132527845, -0.0543590002, 0.0008349624, 0.0003917883, 0.0649811924, 0.0141018378, -0.0447052754, -0.026548598, -0.038821198, -0.0001248459, 0.0263266228, -0.0400041081, 0.0052259043, 0.0293882955, 0.0006000122, -0.0260953978, -0.0554333068, 0.0152558861, -0.02242429, 0.008114676, -0.0457543321, 0.0184634458, 0.0096307769, -0.056482058, 0.0309741963, -0.0084053697, 0.0179348141, -0.0111593697, -0.0118418708, -0.0363121442, -0.031180894, 0.0044637006, 0.014465034, -0.0240642522, -0.061137069, 0.0330372937, 0.0271375887, 0.0211940575, 0.0609035343, 0.0324006379, -0.0227470975, -0.0139285289, 0.0153595544, -0.0253579188, 0.0299865678, 0.019256331, 0.0527147204, 0.0034682301, 0.0501454808, -0.0279549807, -0.0155106131, 0.0067969612, 0.0182689056, -0.0153396726, -0.0682332516, 0.0247655436, 0.0225800741, -0.0135176471, -0.0337370075, 0.010354544, -0.0594318137, 0.0038387035, -0.0565605238, -0.0419599265, -0.0068498901, -0.0266978256, 0.0417380966, -0.005392137, -0.0068485448, -0.0114216562, -0.0722438022, 0.0196122397, -0.0203367472, 0.0320335813, -0.0017315703, 0.0303188991, -0.001532719, 0.0080419658, -0.0075624613, -0.0018222666, -0.0297381412, 0.0254702996, 0.029807182, 0.0350678973, 0.0153336348, 0.0252411962, -0.010885261, 0.0054395641, -0.0167421568, -0.0129511086, -0.014247763, 0.0012779011, -0.0000995443, -0.0264074188, 0.093490161, 0.0175358336, -0.0191921629, 0.0014058283, 0.0239019692, -0.0144445514, 0.0065253917, 0.041875314, 0.0332692526, -0.0270443093, -0.0345043205, 0.0249675345, 0.0415834412, 0.0455763415, -0.0232085176, -0.0031899225, -0.0288096387, -0.0282211024, 0.035178151, -0.0543187261, -0.0228905026, -0.0238761101, -0.0890150517, -0.0346374102, -0.0043200003, -0.0100810789, 0.0050527919, -0.005479278, -0.0152151473, 0.0503604189, -0.0170545876, -0.0524480194, -0.0446916297, 0.0127339605, -0.0073052342, -0.0242927223, -0.0318384208, -6.073085769e-33, -0.0340292789, -0.0411826186, -0.0150291864, -0.0084345397, -0.0544031523, -0.0203697588, -0.0104195932, 0.0080266465, -0.0150903845, 0.0282007717, -0.0062758038, 0.0501570068, 0.0048492122, 0.0089642871, 0.0328186825, -0.0043514664, 0.0456373543, 0.009876634, -0.0319423676, -0.0364027433, -0.0171250347, 0.0079161655, 0.0410612896, -0.0733763799, 0.1057797968, -0.0288328715, -0.0155145125, 0.0063058427, -0.0460738316, 0.0381021127, 0.0025121451, 0.0511466376, 0.0085019208, -0.0245349854, 0.0322070457, 0.0865715668, -0.0525809564, -0.0290675201, 0.0503817424, 0.0407225303, 0.0243499968, -0.0279078428, 0.0373949036, 0.0215997882, -0.0460980907, -0.0419229269, 0.0444706455, -0.0084441621, 0.0419321284, 0.0448505282, -0.0607585534, 0.0259748045, -0.0501734652, 0.0082145212, -0.0164515693, 0.0686226636, -0.0025563051, 0.0102256043, -0.0873214379, 0.0419621244, -0.0238925703, -0.0028632395, 0.0561527647, 0.0115354471, 0.0443236232, 0.03399387, 0.0397025086, 0.0294622686, -0.0049981829, -0.0415501222, 0.0204975251, -0.0116040008, 0.0140526528, 0.0740663186, -0.0108598601, -0.0047067078, -0.0699220523, -0.0401551984, -0.0015428565, 0.0465540737, 0.0091018239, -0.013481861, -0.0642032996, -0.0348709226, -0.0248724241, -0.065176107, -0.0132022426, -0.0108576585, 0.009215462, -0.0302165188, -0.0598784499, -0.0208291784, -0.0048490758, -0.0641941652, -0.0322488919, 0.030922994, -0.019344328, -0.0442167148, 0.0433247946, 0.0190942343, -0.0590108261, 0.0269862879, -0.0140801612, 0.0079517988, 0.0265932903, 0.0257294215, -0.0007620964, 0.00039368, -0.0916266963, -0.0072201323, -0.0278462917, 0.0193363503, -0.0234683063, 0.0205238294, 0.0191203896, 0.0152548188, -0.0012412638, 0.0403160676, 0.0601464473, 0.0301453415, -0.0471468568, -0.0119555285, -0.0100546703, 0.030673787, -0.014111504, -0.0040157479, 0.0028337818, 0.0406640992, 0.0521218777, -0.0192615669, -0.0088175805, -0.0402552746, 2.522e-7, 0.0081910091, 0.063311778, 0.0531700216, 0.0371330455, 0.0185339395, 0.0311001446, 0.011905876, 0.05286327, 0.0734287649, -0.0055873436, -0.0023871502, 0.0014908299, 0.0281969272, 0.0247182753, -0.0702658072, 0.0157174561, -0.1048603058, 0.0071709766, 0.0118681453, 0.0238429513, -0.0085486472, 0.0703851432, 0.0366420448, 0.0059797294, -0.0366319455, 0.014443649, 0.0488000773, -0.0183125138, -0.0131032355, 0.0658369735, -0.0028445972, -0.0465921722, 0.0253338162, 0.00696958, 0.0138947163, 0.0294223577, -0.0076296348, 0.0431193225, -0.0296266358, -0.0106769456, -0.0242130421, -0.0081388978, -0.0079270359, -0.0810580179, 0.0440372229, 0.004106984, -0.0611454695, -0.0646314248, -0.0238278899, 0.0011696671, 0.0864338726, -0.0069402494, 0.0019310077, 0.0283918828, 0.0394478366, 0.0020248541, -0.0201834422, -0.0363304019, -0.0413317718, -0.033948645, -0.0329426527, -0.0540388897, 0.0085056424, 0.0368929952, -0.0010098194, -0.0339534357, 0.0264604874, 1.941461623e-34, -0.0001861433, 0.0198046099, 0.0367729217, 0.0195498466, 0.0124194687, -0.0201089028, 0.0110730017, 0.0254970286, 0.0628574118, -0.0043714959, -0.0003696635 ]
http://arxiv.org/abs/2406.13923v1
http://arxiv.org/pdf/2406.13923v1
PIN: A Knowledge-Intensive Dataset for Paired and Interleaved Multimodal Documents
2024-06-20T01:43:08
2024-06-20T01:43:08
Junjie Wang, Yin Zhang, Yatai Ji, Yuxiang Zhang, Chunyang Jiang, Yubo Wang, Kang Zhu, Zekun Wang, Tiezhen Wang, Wenhao Huang, Jie Fu, Bei Chen, Qunshu Lin, Minghao Liu, Ge Zhang, Wenhu Chen
cs.AI
cs.AI, cs.CL, cs.CV, cs.MM
Recent advancements in Large Multimodal Models (LMMs) have leveraged extensive multimodal datasets to enhance capabilities in complex knowledge-driven tasks. However, persistent challenges in perceptual and reasoning errors limit their efficacy, particularly in interpreting intricate visual data and deducing multimodal relationships. Addressing these issues, we introduce a novel dataset format, PIN (Paired and INterleaved multimodal documents), designed to significantly improve both the depth and breadth of multimodal training. The PIN format is built on three foundational principles: knowledge intensity, scalability, and support for diverse training modalities. This innovative format combines markdown files and comprehensive images to enrich training data with a dense knowledge structure and versatile training strategies. We present PIN-14M, an open-source dataset comprising 14 million samples derived from a diverse range of Chinese and English sources, tailored to include complex web and scientific content. This dataset is constructed meticulously to ensure data quality and ethical integrity, aiming to facilitate advanced training strategies and improve model robustness against common multimodal training pitfalls. Our initial results, forming the basis of this technical report, suggest significant potential for the PIN format in refining LMM performance, with plans for future expansions and detailed evaluations of its impact on model capabilities.
[ 0.0251975078, 0.0707521662, -0.0055663036, 0.056367252, 0.0045490065, 0.0197411869, 0.0269148536, 0.0060454784, -0.0182295088, -0.0880436227, -0.0798119456, -0.0143331671, -0.0139582204, 0.0334279947, 0.0388866179, -0.0938847214, 0.034764789, -0.0103178294, -0.0083373571, 0.0212660469, 0.0570688359, 0.0104381237, -0.0241309777, 0.0238176603, -0.0559996031, -0.0531059392, -0.0195919685, 0.0377844088, 0.0123916287, -0.0608205386, -0.0003490376, 0.0563402399, 0.0780506805, 0.0121318689, 0.0000023267, -0.0139033692, -0.0083334045, -0.0104321418, 0.0140107116, 0.0019743438, 0.0455365889, -0.0651133657, 0.0341968723, -0.0438855812, -0.0289415214, -0.0332182981, 0.0508777834, 0.0972185656, 0.0676071793, 0.0486128516, -0.028764246, -0.0020220096, 0.0279194154, 0.0016547468, 0.022068074, -0.0216443669, 0.0077701802, 0.0720740259, -0.0118575683, 0.0317861773, -0.0493386872, 0.0240147505, 0.0131963799, 0.0056522214, -0.0142115001, 0.0273600388, -0.0089946585, -0.0356492884, -0.0168617442, 0.1145803109, 0.015588956, 0.0177478194, -0.0129540311, -0.0254369061, -0.0193407312, 0.0563005246, -0.0757340118, 0.0241430197, -0.0439409129, -0.0110126901, -0.0494672023, -0.0052007465, 0.0385491103, 0.0107566044, 0.013183712, -0.0046688593, -0.0235106461, -0.0115208132, 0.0157295689, -0.0081308577, -0.0261585768, -0.0163632743, -0.0158982817, -0.0044213594, 0.0358828492, 0.0142668318, -0.0306205004, -0.039890945, 0.0370975584, -0.0211219452, 0.0317748375, 0.0067626997, -0.0672573969, 0.0631839707, -0.0033398559, 0.0015082707, -0.0298051238, 0.0338301882, 0.0112599852, 0.0088964021, -0.0637275502, -0.0263994485, 0.0097063659, -0.012272995, -0.0335172117, -0.0525848679, -0.0056984941, 0.0274341851, -0.0208000857, 0.0160238259, -0.0279424675, 0.0173737127, -0.0378259271, -0.013637674, -0.0460307337, 0.0564276315, -0.0090387175, 0.0423768647, -0.0183079094, -0.0237504002, 0.0216029305, 0.0430009253, -0.0038956364, -0.0252839308, -0.0176961701, 0.0790309012, -0.0331093557, -0.0140731689, -0.03712878, -0.0740698725, 0.0024181849, -0.0433098674, 0.0816235095, -0.0380518995, 0.0734719858, -0.0135616446, 0.0202334002, -0.0132798441, -0.0069272812, 0.0012480405, -0.0154637191, 0.1029953063, -0.0216472559, -0.0266612526, 0.0296565332, 0.0361229032, -0.0426983237, 0.1120425388, 0.0062750513, 0.017367078, 0.0580112673, -0.0186974462, -0.0218057241, 0.0190386251, 0.0013643473, -0.0044047339, 0.0173170995, -0.0035863423, 0.0425877534, 0.0228690058, 0.0441480167, 0.000705593, -0.0680906773, -0.0250227861, 0.0712027773, -0.0000486069, 0.0175455678, -0.009817292, 0.0071147582, -0.0130149545, 0.0281867087, 0.0123181473, -0.0450300016, 0.0579855032, 0.0096347267, -0.0028817439, 0.0192372091, 0.0249949843, -0.0364303142, -0.0235573407, -0.0244190078, -0.0040369146, 0.0065278504, -0.0135467919, 0.0569441766, -0.0027221777, -0.0170423724, 0.0148623241, 0.0381365716, -0.0218355041, -0.0060181785, 0.0089088446, -0.0007442246, 0.0539864898, 0.0360691249, -0.034522742, -0.0281619709, -0.0173088014, 0.0515589751, 0.0380824469, 0.0229259469, -0.0270861052, 0.0247770976, -0.0759493187, -0.0661207363, -0.0527227521, -0.0068947966, 0.0164570436, 0.0182091556, 0.0051250798, -0.0023472006, -0.0301553924, 0.022726398, 0.0438899323, -0.0084468694, 0.0167225245, -0.0531963557, 0.0068134926, 0.0213977713, 0.0129257822, -0.0310652163, -0.0129461288, 0.0281853359, -0.0191911776, -0.0029241024, 0.0295833386, -0.0242395699, -0.0212749168, 0.0357264131, -0.0840040073, -0.0079498366, 0.0138192698, -0.052522555, -0.0258537866, -0.0015847803, 0.0136068836, 0.0133803431, -0.0478257947, -0.0422173552, 0.0461981446, 0.0330586843, -0.005098626, 0.0366364345, -0.0351057053, -0.0044332594, 0.0207669176, -0.0057568187, 0.0143734543, -0.0043461025, -0.0144460099, 0.0216917824, 0.0072214277, 0.0175686609, 0.0000492257, -0.0084684948, -0.0420934148, 0.0200654715, -0.1024485454, -0.0175959691, 0.0017958969, -0.0063519464, -0.0025376086, -0.0231601782, -0.0115639661, -0.0403866805, 0.0067493329, 0.0357865766, -0.0098876609, 0.0285618491, 0.0167154297, 0.0131561914, 0.0571450368, -0.0092035085, -0.0134614939, -0.0151160583, 0.0590478033, 0.0227309987, -0.0088400422, -0.0206054319, -0.0351128764, -0.028795708, 0.0075609498, -0.0427827239, -0.0176263303, 0.0345318057, -0.0318315998, 0.0186297055, 0.0259177405, -0.0039830222, 0.0444972105, 0.0240387879, -0.0163536407, -0.0511130542, 0.0209959019, 0.0319561586, 0.0325957499, -0.018915806, -0.0228233561, -0.0264359992, 0.0340469778, 0.0085803494, 0.0280218106, -0.0270077847, 0.0021134082, 0.0193757229, -0.0654980913, -0.0466640629, 0.0091508636, 0.0281890091, 0.0049351519, -0.040893998, -0.0287885517, 0.0390331671, -0.0234256592, 0.0048742844, 0.0125736408, 0.030943187, -0.0153056802, 0.0843060166, -0.0010049057, 0.0308302213, -0.0128472829, 0.0225591082, -0.0438295752, 0.0196569711, 0.0376225486, 0.020393122, 0.0308012553, -0.0540344454, -0.000403167, -0.0311423335, -0.0228697509, -0.0040218327, -0.0175388623, -0.0291063804, -0.0226698965, -0.002055611, 0.0057475106, -0.0282679107, 0.0069416272, 0.0420762375, 0.0189730767, -0.0039644665, -0.0160811339, -0.0031364558, 0.0413719676, 0.0393148363, 0.0077559901, -0.0319450758, -0.0726332515, 0.0046141115, 0.0836127475, -0.0190973803, -0.0220011193, -0.0326736085, 0.0315624774, -0.0074159056, 0.0235059131, -0.0167208854, -0.022367632, 0.0346511379, -0.0761892274, 0.0468552075, 0.0549836494, 0.0063256002, -0.0642554238, -0.028700497, 0.0106079681, 0.0037021136, 0.016074216, -0.0076023517, -0.1195926964, -0.061668817, -0.0306516886, 0.0053640776, 0.0373814777, -0.012900902, 0.0203373134, -0.061783012, 0.0520961583, -0.00187009, -0.066786401, -0.0242622234, -0.0705482215, -0.0061731632, -0.0103749065, -0.0152173806, 0.0013107781, -0.0215423424, -0.0134540703, 0.0270547681, -0.0023314762, -0.0470997281, 0.0067413426, -0.0552407093, 0.0027641817, 0.0360327065, 0.0127655091, -0.0069572343, -0.0415188521, 0.0059141344, 0.0353745297, 0.0125391129, -0.0243322458, 0.0852347687, -0.0531523265, -0.0028303703, -0.0141887208, 0.031127166, -0.0083266087, -0.0353655927, 0.0012086722, 0.0747645944, -0.0272517446, 0.0076715522, -0.0756604597, 0.0009828417, 0.0060199695, 0.0405815281, -0.0182134882, -0.0373377986, -0.0254992452, -0.0254605655, 0.0232130568, -0.049825497, 0.0089273006, 0.0387933999, -0.0532766506, 0.0014224338, -0.0770605057, -0.0451151542, 0.0064106421, 0.0135857202, -0.0006752868, -0.0270357504, -0.0187720712, 0.027572101, -0.0724081323, 0.0579142906, 0.0090025244, -0.0109341471, -0.0335568413, -0.0204562861, 0.031778276, -0.0539116226, 0.0052823899, 0.036169406, -0.0591773652, -0.0145043666, -0.0343881361, 0.0644064546, 0.0107952626, 0.053590104, 0.0589118041, -0.0407677367, 0.0094060823, 0.0439751484, -0.0314469859, -0.0204032101, 0.0280454326, -0.0002304771, -0.0198943559, -0.0129958205, -0.0479128286, 0.0015195713, -0.0309064519, 0.0172921624, -0.0114024263, 0.0162140615, 0.0019869923, -0.0072990423, 0.0322093964, -0.0171791203, -0.0139100738, -0.0472024567, 0.0134143727, -0.0215258487, -0.0263311286, -0.0472541861, 0.0290345363, 0.0106237158, -0.0153021105, -0.0103880176, 0.0189814698, 0.0366609208, 0.0499943532, -0.0595104322, 0.0191207882, 0.0547630526, -0.0159470681, -0.0301016103, 0.0157788731, -0.0134071987, 0.0208751075, -0.0342306644, 0.0083530908, -0.0035522187, 0.0942414701, 0.0241182111, -0.0077327453, -0.0047291848, 0.0340424515, -0.0252697114, -0.008663564, -0.0210898779, 0.0101591488, 0.0595074184, -0.0101946061, 0.0386583321, -0.0575948134, -0.0243724566, -0.0116993822, 0.0484940112, 0.0171390474, -0.0075596194, 0.0607048012, 0.0288641434, 0.0178614706, -0.0051458199, 0.1068316922, -0.0128849745, 0.069756709, -0.0069531789, -0.0259795133, -0.0462854058, -0.0048138141, 0.0839937851, 0.0382575616, -0.0074461987, -0.0006023876, -0.0195965692, -0.0456760228, 0.0036431972, 0.0199750662, -0.0262403432, 0.0397402085, 0.0494031943, 0.0769772306, 0.0174854659, -0.0450135544, -0.0458697081, 0.0050939191, -0.0135149043, 0.0091175437, 0.0203703605, -6.735224104e-33, -0.0015706181, -0.0135273552, 0.0316191278, -0.0079279682, -0.0221240167, 0.0136087416, -0.0099952957, -0.0124104219, 0.0017671618, 0.0259525236, 0.030165799, -0.0185263269, -0.002403042, 0.0106542744, 0.0371020846, 0.0147491712, 0.0356707312, -0.0315781459, 0.0060731927, 0.0114441141, 0.0669547766, 0.0273424704, 0.0563449189, -0.0850804895, 0.0272745043, 0.0152402138, -0.0203576069, -0.0213481132, -0.0011704934, 0.0832991675, -0.0642146766, 0.0269053224, 0.0348065458, -0.0207258407, -0.035572771, 0.0101289796, -0.1054129899, -0.0044969469, 0.0082314098, 0.0455090292, -0.076277785, -0.005449791, 0.0363714844, -0.0208275896, 0.0515123755, -0.0526045077, 0.0562435947, -0.0272295531, -0.0107248034, -0.0086991778, -0.0281780362, 0.0279131327, -0.0237934813, -0.0111899935, 0.0468004309, 0.058628194, 0.0241392236, 0.018947985, -0.091717191, 0.0304247327, -0.0106165288, -0.0115334485, 0.0818381533, 0.0243199896, 0.0260887574, 0.0706258416, 0.0079204086, -0.0258832667, -0.0172255505, 0.0151402764, 0.0400063358, 0.0697490424, -0.011857179, 0.071960412, 0.0287333652, 0.0174969584, -0.0478301942, 0.0367286615, -0.0065828469, 0.0481335819, -0.0011696913, 0.0276590493, -0.0010164944, 0.0064253965, -0.0088345073, -0.0130962152, -0.0248553231, -0.0366260484, 0.0290289186, 0.0233748127, -0.0049622064, 0.0320702009, 0.0637337863, -0.0306947492, -0.0316029564, 0.0107276551, -0.0072048348, 0.0546164922, 0.0080529898, -0.033443898, -0.05207102, -0.0311788451, 0.0624597259, -0.0331736468, 0.0370254107, -0.0003537247, 0.0654304847, 0.0380742624, -0.0249918178, -0.0123521015, -0.0131634576, -0.0193475131, 0.031054046, 0.0020070362, 0.0198283717, 0.0046424693, -0.0583142824, 0.017923573, 0.017329203, 0.0114333024, -0.0344191529, -0.0728160366, -0.0402156375, 0.0134144118, -0.0024788412, 0.0026085854, -0.0487803482, -0.0896201208, -0.0026745044, -0.0978178903, -0.0105750468, 0.0506496504, 2.839e-7, 0.0477822125, 0.0445469879, 0.018070057, -0.0023375077, 0.0391195305, 0.0273153335, -0.0452124141, 0.0435006432, -0.0179655105, -0.0485361852, 0.0172451343, 0.0590847619, 0.0316533335, 0.059209574, -0.0382335894, -0.0231399499, -0.0029759954, -0.0372354686, -0.0631953254, -0.0025398326, 0.047254432, 0.045284424, -0.0405438505, -0.023661172, 0.0328399204, -0.0078371121, 0.1078942642, -0.0161065515, -0.0019780053, -0.0094539672, 0.0576126277, 0.0041312231, -0.0263287984, 0.0375021882, -0.0146621307, -0.041889511, 0.048466865, 0.0477273017, -0.0042702192, -0.025287902, 0.0098786531, 0.016656613, -0.0219692681, -0.052655302, 0.0863277465, -0.0140823154, -0.0223375186, 0.0079735853, -0.0565902293, -0.0136021962, 0.0135173528, -0.0278755184, -0.0251538828, 0.0383675396, -0.0013424557, -0.0060458565, -0.0322789252, -0.064658694, -0.0220918879, -0.006226684, -0.0514266528, -0.0243103448, -0.0227851048, -0.0507420525, 0.0185372476, -0.0536524244, -0.0535898618, 2.40461007e-34, 0.0214873534, -0.0101818778, 0.0084400112, -0.0018153482, 0.0255346652, -0.0232653264, -0.0416184142, -0.0040547978, -0.0257916711, -0.0751813948, -0.0175114237 ]
http://arxiv.org/abs/2407.02511v1
http://arxiv.org/pdf/2407.02511v1
LLM-A*: Large Language Model Enhanced Incremental Heuristic Search on Path Planning
2024-06-20T01:24:30
2024-06-20T01:24:30
Silin Meng, Yiwei Wang, Cheng-Fu Yang, Nanyun Peng, Kai-Wei Chang
cs.RO
cs.RO, cs.AI, cs.CL
Path planning is a fundamental scientific problem in robotics and autonomous navigation, requiring the derivation of efficient routes from starting to destination points while avoiding obstacles. Traditional algorithms like A* and its variants are capable of ensuring path validity but suffer from significant computational and memory inefficiencies as the state space grows. Conversely, large language models (LLMs) excel in broader environmental analysis through contextual understanding, providing global insights into environments. However, they fall short in detailed spatial and temporal reasoning, often leading to invalid or inefficient routes. In this work, we propose LLM-A*, an new LLM based route planning method that synergistically combines the precise pathfinding capabilities of A* with the global reasoning capability of LLMs. This hybrid approach aims to enhance pathfinding efficiency in terms of time and space complexity while maintaining the integrity of path validity, especially in large-scale scenarios. By integrating the strengths of both methodologies, LLM-A* addresses the computational and memory limitations of conventional algorithms without compromising on the validity required for effective pathfinding.
[ 0.0479586497, 0.0381471179, -0.0040452303, 0.0295209102, -0.059979707, -0.0482782684, -0.0467227101, -0.0483201928, -0.0042367266, -0.0254605468, 0.0210177843, -0.0008688216, -0.0303979609, 0.0085339705, -0.0050717145, -0.0313846581, 0.0388989523, -0.098523967, -0.0436059348, -0.0070294961, -0.0317935087, -0.0278650206, -0.0146791469, 0.0274871327, -0.0146392565, 0.0164960194, -0.0456641689, -0.007058884, 0.0101714395, -0.0760458335, -0.0497701988, -0.0353504643, 0.0769150406, 0.0206957981, 0.0000022983, -0.0440145209, -0.0469587259, -0.0081007313, -0.0092374925, -0.022751689, 0.0063691516, 0.0047204872, -0.0086286981, 0.0308742747, -0.023520276, 0.0332750864, 0.0158661418, 0.0056029307, 0.0646857172, 0.0580494255, 0.0062310873, -0.0260386672, -0.0132988635, 0.0118825352, 0.0053255651, -0.0632003173, 0.0108859651, 0.0330509841, 0.045042038, 0.0267019458, -0.0204518624, -0.0190347973, 0.0145245092, -0.0237144679, -0.0252405573, 0.026441576, 0.0196481608, 0.0093018766, -0.0009752722, 0.0607304275, -0.0074511562, -0.0383675098, 0.0136741698, 0.0180529561, -0.0769971013, -0.0280652307, -0.0390300862, 0.0591473505, -0.0140671832, 0.0108396439, 0.0170702189, -0.0411981232, 0.0346271172, 0.0387386531, -0.046889469, 0.1496603638, 0.011842085, 0.0011723562, 0.005285732, -0.0445479155, -0.0122309802, -0.0511342511, 0.0459736958, 0.1125938445, -0.0296211876, 0.0193058029, 0.0080966987, 0.036968261, -0.0056811813, -0.049721498, 0.0107146977, 0.0347221047, 0.0210884418, 0.0194248371, -0.0064424947, 0.0387817621, -0.031056717, -0.0002218601, -0.0107316598, -0.0113796657, -0.0084925368, 0.0040880269, -0.0583523437, 0.0298321303, -0.0419113971, -0.0365047269, 0.011858698, 0.0742688552, -0.0074888249, -0.0051849196, -0.0011644954, -0.0265151523, 0.0477489494, 0.0194531027, -0.0256549232, -0.0688108429, -0.0393905528, 0.0137748616, -0.0308501385, 0.0311412886, 0.0187506489, 0.0343695581, -0.0094956029, -0.0069967476, 0.0037018929, 0.1247905195, 0.0402215868, -0.0338532701, -0.0773458257, -0.0273480993, -0.0134867672, -0.0747355297, 0.0359033048, -0.0802617446, -0.0068305982, -0.0054600076, -0.0219577011, -0.0008462243, 0.0306313895, 0.0174467247, -0.0100204898, 0.0201778393, 0.0299940668, 0.0338110328, 0.0251719411, 0.0167104416, 0.0624795966, 0.0459837466, 0.0509063452, 0.0420599058, -0.015545791, 0.0729724765, -0.0106471376, 0.0218166206, -0.0306171048, 0.0092709679, -0.0209291689, 0.0023312448, 0.0124679767, 0.0469323583, -0.0072683184, 0.0772816911, -0.0476708598, 0.0152329393, 0.0051987576, 0.0515680537, -0.0099082496, -0.0070589436, 0.0240957215, 0.0164973512, -0.0359914973, -0.0658742785, -0.0175869707, 0.0035176107, -0.0542151183, -0.0250860397, -0.0098246578, 0.0091782371, 0.0231552869, -0.0347878784, -0.016142901, 0.0096919397, 0.0282686632, -0.0367498808, 0.0329428948, -0.0364715643, -0.0441242419, 0.0203853976, 0.0105149318, -0.0388944075, -0.0342615172, 0.0017035076, 0.0111472299, 0.032422483, 0.0399622135, 0.0177320633, -0.0557464585, 0.0215416327, -0.026460845, 0.0006085534, -0.0368101522, -0.0028697003, -0.0013337802, -0.0315570608, -0.0379833691, 0.0206348449, -0.0140510835, 0.0034388173, 0.0114528658, 0.0256270841, 0.0018611641, -0.023542216, -0.0159313884, 0.0603806414, 0.005992332, -0.0089800069, -0.0159763377, 0.0168510713, 0.0210900586, -0.002234187, -0.005930962, 0.0093856202, 0.0630777478, -0.0076433746, -0.0388324931, 0.0167976599, -0.0075580887, -0.0103778988, 0.0534997471, -0.0074782348, -0.0353578702, 0.0250432771, -0.0229080655, -0.0140901869, -0.0045362618, -0.0426368676, -0.0049614185, 0.026854882, 0.0161891673, 0.0148127824, -0.059975341, -0.0489930846, 0.0255008675, 0.0147209512, -0.0145513648, 0.0199342705, 0.0350809991, 0.0099761328, -0.0213639811, -0.0038975014, 0.0296454001, 0.0271691885, -0.0450886935, 0.0102150664, 0.0236866958, 0.0087150857, -0.0447285734, -0.0679429099, 0.0071830545, 0.0115428688, 0.0028665781, -0.0068411049, -0.041708257, 0.0048369044, 0.0467860326, 0.0468515716, 0.0051971911, 0.003554445, -0.0259821657, -0.0040364335, 0.0168125294, -0.0570332594, -0.0400660932, 0.0119310925, -0.0453153327, -0.0083047412, -0.0142114125, -0.044523038, -0.0361785963, 0.0127969328, -0.0543106422, 0.0514940172, -0.0269423369, -0.0248781703, -0.0065105995, -0.045448903, 0.0202997811, 0.0233802367, 0.0074854302, -0.0134169431, 0.0939197242, -0.0510975979, -0.0057241502, 0.0274882857, -0.0224449225, -0.0260095764, -0.0487645231, -0.0324878581, -0.010827506, -0.0009319625, -0.0425366536, -0.0000014164, 0.0136280637, -0.0513449311, -0.0618574992, 0.0294920281, -0.023534622, -0.0023909735, -0.0093308436, 0.0604026467, -0.0115578491, -0.0168354604, 0.025869146, -0.0527831912, 0.0268098097, -0.0106021315, -0.0196121391, -0.0350046158, 0.0742061362, 0.0260722972, 0.056930609, -0.0280037131, 0.0299781896, 0.048001647, -0.0210088454, -0.0208969042, 0.0137274275, 0.062892206, -0.0874398276, 0.0604302734, 0.0317356363, -0.057396818, -0.0175878126, 0.0090234699, -0.0201241411, 0.0158889089, -0.0410577618, -0.0703403875, 0.0079865195, 0.0166464001, 0.0222968925, 0.0510444231, -0.0033112592, -0.0124840345, -0.0126263965, -0.0311086159, 0.0564753935, -0.0112852892, 0.0656631067, 0.0090794908, 0.0303070117, 0.0463847406, 0.0401841775, -0.0176743977, -0.0275430046, 0.0187696628, 0.0026254689, 0.0097560519, 0.0000932563, 0.0602418855, 0.0454039387, -0.0584503859, -0.0693740919, 0.0791595653, 0.0364428796, 0.0391365625, 0.0213751253, -0.0617920831, -0.0081010656, 0.0212446153, 0.0349979773, -0.0032020824, -0.0262396317, 0.0427886397, -0.0149025824, -0.0250929315, -0.005072047, 0.0164582618, -0.0718045682, 0.0533002391, 0.0240725242, -0.0493656211, -0.0035210846, -0.0661036968, -0.0454684906, 0.0083390148, -0.0312530771, 0.0210351963, 0.0110033685, -0.0243227631, 0.0074256621, -0.0375545286, 0.0136998333, 0.0069157355, 0.0043549491, 0.0170703474, 0.0063501624, 0.060209278, 0.0231975336, -0.0067376541, 0.058155857, 0.0544920601, 0.0422843993, -0.0562167428, -0.0540206917, 0.0270824432, 0.0235190429, 0.0054373164, 0.0017915615, -0.0486361831, -0.0600128137, 0.0088750906, 0.0478034057, -0.0501465313, 0.0411251374, -0.051770106, 0.0069237798, -0.0111560822, 0.0476527996, -0.0446647517, 0.0327314772, -0.0763489902, -0.0446195751, -0.0782307982, -0.0117540881, -0.058800824, -0.0212379098, -0.0165140498, -0.00002903, -0.0328701213, -0.0079566557, 0.0182466544, 0.081499517, -0.0117911454, -0.0183843113, 0.0183342695, -0.0007202965, -0.0459753871, 0.0030534968, -0.0641300231, 0.0393387042, -0.0287162606, 0.0494173504, 0.0228527673, -0.0003762935, -0.0506075248, 0.0688611344, -0.0210200697, -0.0739958137, 0.0302422103, 0.0124995997, 0.0150117315, -0.0090789059, -0.002254443, 0.0464391261, 0.0408379883, -0.0450374521, 0.0639652535, 0.0597738288, 0.0173553191, 0.052675806, 0.029870227, 0.0089631323, -0.0172174517, 0.0124203209, 0.0200181268, 0.0700540692, -0.0163439307, -0.0027976141, -0.0057416121, 0.0101269903, 0.053341087, 0.0553392135, 0.0389380865, -0.0008066042, 0.0235831775, -0.0481876619, -0.0163818821, -0.0268731602, 0.0352039523, -0.0091546718, 0.0218340047, 0.0277461689, -0.0244810302, 0.0336996466, -0.0101427194, 0.0218477026, 0.0163030885, 0.0166409202, -0.0062646731, 0.0191444978, -0.0089057572, 0.0189720429, -0.0137308678, 0.0136192124, 0.0081762159, 0.0027607349, 0.0193655323, 0.0350559168, -0.0012472355, -0.063005425, -0.0284207817, -0.0399575308, -0.0823660344, 0.0234052222, 0.0601924993, 0.098387368, 0.0160258543, 0.0006636494, -0.0893355086, 0.0128710931, 0.0109347608, -0.0545566604, 0.0386411473, -0.0534554534, 0.0795209408, 0.020954961, -0.0206486154, -0.0152408276, 0.0315181799, 0.0190114714, 0.1117714047, 0.0168621093, -0.036440827, -0.0238570608, -0.0368403643, -0.0049367794, 0.0077112569, 0.0173013248, 0.0191678591, -0.0150585463, -0.0383759104, 0.0157590155, 0.0293170381, -0.0118522588, -0.0256860349, 0.0586997643, -0.0054595447, 0.017359728, -0.075053975, -0.0048983693, -0.0269365758, -0.029857561, -0.012325583, -0.0383323207, -6.338857695e-33, -0.005563735, -0.0587589182, 0.0779191628, -0.0255022775, -0.0321151763, -0.0096040275, -0.0563308969, 0.0095213698, -0.0257483367, 0.0159242935, 0.0044671027, 0.0158484243, 0.0095225722, 0.0476781279, -0.0249965396, 0.0254694335, -0.0007315316, 0.0497841462, -0.0336521603, -0.0330464952, 0.0539251827, -0.0329897776, -0.0295502674, -0.0058766603, -0.0527971648, 0.0007444696, -0.0312402342, 0.0985390022, -0.0199032836, 0.0411543362, 0.0182716101, -0.0078565991, -0.007330541, 0.0072652847, -0.0173972175, 0.0122361006, -0.0032303627, -0.0354338884, 0.0147506846, -0.0075477073, -0.0366201028, -0.0359581672, 0.0091540301, 0.0232069269, -0.0468839742, 0.0890702754, -0.0218867119, 0.0026996599, 0.0021001564, 0.0128610041, -0.0166131314, 0.0153184598, -0.0108177299, -0.0015543076, 0.0400801972, -0.0353248715, 0.0062556504, -0.0212078001, -0.0026974934, 0.0015397669, -0.0147122517, 0.0261535756, 0.0244637821, 0.0110461228, 0.0609402843, 0.0460454226, -0.0202893876, -0.0348560251, 0.0144053157, -0.0076436009, 0.0021173938, 0.0361388847, -0.0314438455, -0.0270409714, -0.0450818203, 0.0427642316, -0.0869039744, -0.0285454318, -0.0149174044, 0.0595092177, 0.0487277508, 0.0375343598, -0.0194951799, -0.0128305955, -0.0690384954, 0.0439098813, -0.00852706, 0.023421973, -0.0087743672, 0.0002966966, 0.0116231246, -0.0184616819, 0.0042159255, 0.0051412997, -0.0233789645, 0.0556566082, -0.0192713346, -0.0063084732, -0.0026358569, 0.0339805782, -0.0525404476, -0.022913903, -0.042612873, -0.0389127098, -0.0098327762, 0.0108149145, -0.0687037185, 0.0615944378, -0.0157326385, -0.0166500434, -0.0655471757, -0.0248452891, 0.0145920301, -0.0126898512, 0.0763928145, -0.0127767567, 0.0000017776, 0.090216808, 0.0087492028, -0.0385216363, 0.0413685702, 0.0203319937, -0.0043358901, 0.0289089289, -0.0237724427, -0.0171757396, -0.015475343, 0.0368170105, 0.0071803685, -0.0890713856, 0.0132417902, 0.020903131, 3.066e-7, -0.0053778626, 0.0800646544, -0.034919329, 0.0393013209, 0.0310574789, 0.0165397748, 0.0149443652, -0.0645541996, -0.0389625803, 0.0414046049, 0.0012598997, 0.0828304142, 0.000729125, -0.0235470645, -0.0211750139, 0.0581812672, -0.0130927321, -0.0906860977, -0.0464352556, 0.0178832542, 0.0398413986, 0.0659016892, 0.0103664016, 0.001700002, -0.0389541276, -0.0616192333, 0.0151466718, -0.0451391377, 0.0238941889, 0.0132286819, -0.030424349, 0.0081725884, -0.0005761135, -0.0408366062, 0.0211924668, 0.0097351288, -0.0578327067, 0.0931771025, -0.040683195, -0.0328216851, 0.0133324489, -0.0244660992, -0.0153404577, -0.0405461565, 0.0534442253, -0.0003158162, -0.0225171428, -0.0216265544, 0.0416515842, -0.0056846067, -0.0161528867, 0.0299287643, -0.0195858013, -0.0304836594, -0.0084169349, 0.0183395613, -0.0071852915, -0.081428431, -0.0087377811, 0.029901972, -0.0022393495, -0.0062784092, 0.0031978202, 0.0270941369, 0.0341351256, -0.0011892803, -0.0321315378, 2.891867172e-34, 0.0142700439, -0.0138320057, -0.0248463061, 0.0013212884, 0.017857207, 0.0422574766, -0.0039301733, 0.0119784083, -0.0179331414, -0.0437941514, -0.0242351349 ]
http://arxiv.org/abs/2406.13905v1
http://arxiv.org/pdf/2406.13905v1
Persuasiveness of Generated Free-Text Rationales in Subjective Decisions: A Case Study on Pairwise Argument Ranking
2024-06-20T00:28:33
2024-06-20T00:28:33
Mohamed Elaraby, Diane Litman, Xiang Lorraine Li, Ahmed Magooda
cs.CL
cs.CL
Generating free-text rationales is among the emergent capabilities of Large Language Models (LLMs). These rationales have been found to enhance LLM performance across various NLP tasks. Recently, there has been growing interest in using these rationales to provide insights for various important downstream tasks. In this paper, we analyze generated free-text rationales in tasks with subjective answers, emphasizing the importance of rationalization in such scenarios. We focus on pairwise argument ranking, a highly subjective task with significant potential for real-world applications, such as debate assistance. We evaluate the persuasiveness of rationales generated by nine LLMs to support their subjective choices. Our findings suggest that open-source LLMs, particularly Llama2-70B-chat, are capable of providing highly persuasive rationalizations, surpassing even GPT models. Additionally, our experiments show that rationale persuasiveness can be improved by controlling its parameters through prompting or through self-refinement.
[ 0.0337891132, 0.0719246417, 0.0273266397, 0.0309849717, -0.0250329785, 0.0219792984, 0.019582659, -0.0069027883, 0.0379225314, -0.0409698226, -0.0080987746, -0.0188179296, -0.01073913, -0.0121943494, -0.0022098108, -0.0471191444, -0.0084775407, -0.0282796863, 0.0934250653, -0.027236253, 0.0333241224, 0.0350444242, -0.0174299963, 0.0403984152, 0.0426861197, -0.0401255563, 0.0077709956, -0.0162203759, 0.0032454468, -0.0543318316, -0.0181753486, 0.0524618588, -0.0189596899, 0.007526706, 0.0000020599, -0.0504057258, 0.0013727626, -0.027168056, -0.0593725629, 0.0413953811, 0.0676825866, 0.0741523951, -0.0003134954, 0.0326983258, -0.0391973555, 0.0472790971, 0.0227014702, 0.0680700243, 0.061534062, 0.0314923301, 0.0006065743, -0.024859678, -0.0240347013, -0.026945414, -0.0334363095, -0.0042625628, -0.0105370721, -0.0177841783, -0.0253733248, 0.0702119544, 0.0343632139, -0.0272968039, 0.000993634, -0.0563047566, 0.0156504642, 0.0179825332, -0.0471104905, -0.0138470912, 0.011004529, 0.0714208409, 0.0136446394, -0.0546501689, 0.0169408582, -0.0099463984, 0.016055543, 0.0113472994, -0.0733710155, 0.0403441302, 0.002384342, 0.0466036163, 0.0567849874, 0.0408625565, 0.0193807073, 0.0251406562, -0.0006559379, 0.0471654683, -0.0111708138, -0.0259280782, 0.0572421178, -0.0106095234, -0.0602457412, -0.0823919997, -0.0124169057, 0.019799687, -0.0201607253, 0.0291191563, 0.0036498175, 0.0401229188, 0.0294864513, -0.102022849, 0.0025687539, 0.0167131312, 0.0234572329, 0.0506967269, -0.0283710137, 0.0001390814, -0.0113949599, 0.0169540923, -0.0114731267, -0.0083612697, -0.0202315375, -0.0116030294, -0.0150349364, 0.0350954011, -0.0627655387, -0.0030618482, -0.0170681775, -0.0157050472, -0.0351284519, -0.0128134079, 0.0578018464, 0.0427781679, 0.0191672072, -0.022368744, -0.082574442, -0.0144625474, -0.0561476201, 0.0114107877, 0.0238664728, -0.020884702, 0.0052886121, 0.0307364818, 0.0013604695, -0.0301428568, 0.0140820211, 0.0395819508, -0.0296187121, 0.0089449119, -0.0377184413, -0.0112348851, -0.0268661082, -0.0420351699, -0.0334345922, -0.0498640239, -0.0092828022, -0.0004403555, 0.0034613372, -0.0242557917, 0.0277580414, 0.0294698235, -0.0212054178, 0.0504035987, 0.0021641133, -0.0003259568, 0.0293981042, 0.0256944187, -0.0351811238, 0.0247596335, 0.0024060695, 0.033686474, 0.0624135919, -0.0075667561, -0.0003866878, -0.039146632, 0.0016312185, -0.0077073909, 0.0221789312, 0.019157717, -0.070693709, 0.0320064053, -0.0085768858, 0.0471844524, -0.0331848077, -0.0114203403, 0.0651249215, 0.0786738098, 0.0480723083, -0.0004819214, 0.017502198, 0.0027391871, 0.0006056558, 0.0184134357, -0.0199011303, 0.0354025029, -0.0203054417, -0.0460310355, 0.057585042, 0.0148925716, -0.0049245344, -0.0838785395, 0.0052006305, -0.0204320215, 0.0237473864, -0.0135412458, 0.0063470965, 0.0033470271, -0.0292941611, -0.0039524911, 0.0190174747, -0.0568236038, -0.0335730165, -0.0331293084, 0.0702731907, 0.0595599599, 0.0155958692, 0.0086696856, -0.0084456597, -0.0023214887, 0.0479504429, 0.0444554314, 0.0534162298, -0.0191255938, -0.0043176836, -0.0613184348, -0.0161027797, -0.0447640494, 0.0141974054, 0.0160945784, 0.0020760198, 0.0095690107, 0.0107466206, -0.024331348, -0.0267988127, 0.0047748708, 0.0067350618, -0.0346433707, 0.0195025243, -0.0028174885, 0.0332209319, 0.0292378217, 0.0106235109, 0.0402861573, 0.0306787398, -0.0352490135, -0.0467153452, 0.0364960693, -0.0501427762, -0.0007263547, 0.0194555242, -0.000145328, -0.0006921787, -0.0001641297, -0.0029912665, -0.0179894995, 0.0305286273, 0.0033823245, 0.0152972378, -0.0105828466, 0.0148504777, 0.0226365421, -0.0204623435, -0.0499079749, 0.0753465667, 0.0427319035, 0.0119649479, 0.0331783704, 0.0016261268, 0.0292959847, -0.0469086021, 0.0159358177, 0.0284953024, 0.015975628, -0.0016338325, 0.0309120547, -0.0005952088, -0.0367014259, -0.0241395868, -0.1001720056, -0.0075115832, -0.0142747015, 0.0136692738, 0.016526429, -0.0480169132, 0.0266665537, 0.0246919487, -0.0579767525, -0.0155001115, 0.0038244524, 0.0173258521, 0.0548445545, -0.0177189484, 0.0280397739, -0.0361141451, -0.0169018842, 0.0008963695, 0.0546129979, 0.0190774444, 0.0609747246, -0.0336375684, 0.0054138503, -0.046324797, 0.005465671, -0.011569662, -0.0243243873, 0.0383803099, 0.0202525444, 0.0582642183, 0.0804796964, 0.0446997806, 0.0080103008, 0.0467032865, 0.0136334673, -0.0783035532, -0.0313114859, -0.0258743968, 0.0313624591, -0.0154571394, -0.0283262301, 0.0266673099, 0.0472410694, -0.0134400036, 0.015215545, -0.0760913715, 0.095625408, -0.0087030828, 0.0075816074, -0.0332968459, -0.0416567102, 0.0008158735, 0.0901518688, -0.0239853002, -0.0375427604, 0.0612507574, -0.0447000712, 0.0193663016, -0.0337143205, -0.0368656293, -0.0560085848, 0.0317171626, -0.0284942538, 0.003867009, 0.0153185511, 0.0119437966, -0.0004823271, -0.0609978661, 0.0494128689, -0.0457078181, 0.0333148427, -0.0550225079, -0.008444963, 0.0154846897, -0.0293993726, -0.0094451569, -0.0634556338, -0.0251380019, -0.0330634266, 0.0388674885, -0.0092843408, 0.042454157, -0.0044588605, 0.0246196091, -0.0006496476, -0.0026139878, -0.0089235986, 0.0091879498, 0.0310232863, 0.0156149575, 0.0369589068, 0.0440934263, 0.0114111193, 0.047768198, 0.0651712641, 0.0023169117, -0.0351791717, -0.0272133518, -0.0255081933, -0.0010283721, -0.0383096859, -0.0269238427, -0.0262148399, 0.0739690736, -0.0161851663, 0.0324169882, 0.094878383, 0.038225472, -0.0084662503, 0.0005407655, -0.0502115488, 0.0353402533, 0.0115741305, -0.0046831826, -0.036396414, -0.0167907998, -0.0073054037, 0.033745002, -0.0457199812, -0.0156354513, -0.0051368955, -0.1436951607, 0.0402021036, 0.0025293424, 0.0539512821, 0.028559614, -0.0625279471, -0.0098880781, -0.0460097902, -0.0357444882, 0.0122838272, 0.0051724701, 0.0128997164, 0.0366536155, -0.0190857854, 0.0196190774, 0.0276921522, -0.0153037068, 0.0348328613, 0.0054994626, 0.0696360096, 0.0149866622, -0.0845417157, 0.0268254299, -0.0376620367, -0.0153604457, -0.0263371225, 0.0258280151, 0.0291047674, 0.012164684, -0.0637151003, 0.0346768834, -0.0038350183, -0.0410131142, 0.0070210202, 0.0580856763, -0.0124104209, -0.0225000028, 0.0052759205, 0.0322281681, -0.0232617501, 0.0747986659, 0.0341456532, -0.0209165812, -0.0422161184, -0.0652717948, -0.0110687288, -0.051242426, -0.0704209059, -0.0427486636, 0.0434708111, 0.0108870082, -0.0800792128, -0.0185156856, -0.0181241799, 0.0283637382, -0.0166846998, 0.0122980196, -0.0279901754, -0.0014039607, 0.0107130595, 0.0411338955, -0.020603681, -0.0050834203, -0.0259787273, 0.0264175311, 0.0288885608, -0.0312982574, -0.015747929, 0.001971412, 0.0388908945, -0.0617790222, -0.0467017703, 0.0493476018, 0.0271307323, 0.0043291645, -0.0042519309, -0.0550333895, -0.0023739298, 0.0001034036, 0.009746871, -0.0050449562, 0.0646271929, 0.059258949, 0.021922918, 0.0168915987, 0.0090686427, 0.0322810486, -0.0236247536, 0.0235496834, -0.0245617758, -0.0273424108, 0.0288387965, 0.0291987974, 0.0358790867, 0.0214132033, -0.0058086286, -0.0515059307, 0.0188273005, -0.0398757644, -0.020572789, -0.0188145842, 0.0361067913, 0.0198597908, -0.0176244862, -0.0120072532, -0.0428686701, -0.0309725162, 0.0194344148, -0.0010133437, 0.0256295726, -0.0184841901, 0.0000048273, -0.0171092935, -0.0062069218, -0.0314983837, 0.0164199155, -0.0222772192, 0.0377239212, -0.0158056114, 0.0534899049, 0.0020269281, -0.0267185718, 0.0454863049, 0.0264261235, -0.0440536626, -0.074396275, 0.0204051398, -0.0276112128, 0.0108167576, -0.0128869219, 0.1048187166, -0.0016124045, -0.0096479775, 0.0140019953, 0.0254465397, 0.0500018112, -0.0079566548, 0.0181333702, 0.0184684005, -0.0439217202, 0.0143485526, 0.0650731772, -0.0396356471, -0.0154034412, 0.0295879003, -0.035120111, -0.0292471144, -0.0655620992, -0.0306919254, 0.0295112655, 0.0039449888, -0.0173011404, -0.0475453772, -0.0007831915, -0.0295422338, 0.0064520221, -0.0074574589, -0.027387049, 0.0264984891, 0.0568751991, -0.025683511, 0.0137547525, -0.0624422133, 0.012062164, -0.0409325436, 0.0134682767, -0.0232870206, -6.579186046e-33, 0.004025667, -0.058153145, -0.0215925146, 0.0186336208, 0.0013729514, -0.0310570523, -0.0333903134, 0.0377266631, -0.0232172739, 0.0382936373, -0.0090009216, 0.0155040575, 0.0081528155, -0.0194904096, -0.0103638275, -0.0289648697, 0.0218051728, 0.0057515544, -0.0468731895, 0.0369579196, 0.0445000269, -0.0486153513, -0.0068381615, -0.0913347676, 0.0601599552, 0.0218611173, -0.0046211393, 0.0255344491, -0.0515747778, 0.0671298057, -0.0070522595, 0.0377134085, 0.0217799861, -0.0628535002, 0.0275876038, 0.0403466523, -0.0251189563, -0.0404092111, 0.0536507815, -0.0965304449, -0.0456241816, -0.0572863109, 0.0247461423, 0.0327796042, -0.024368288, 0.0127996793, 0.0087811025, -0.0233633034, 0.0068406011, 0.0139347296, -0.0047130524, 0.0364735425, -0.0299993437, -0.0108272964, -0.0116841905, 0.0397905819, -0.0234801415, 0.0822353661, -0.0143731143, 0.0356509872, 0.0060680574, 0.0192066021, 0.0389307402, -0.0802794471, -0.014070252, 0.063771829, -0.0169274006, 0.0162662417, -0.0545275509, -0.0105440421, -0.0527476482, 0.0510303117, 0.1136381701, 0.0738632455, 0.0507664457, 0.0267614629, -0.0840212628, 0.0106439227, 0.00986927, -0.0086837923, 0.0346258171, 0.0008296632, -0.0204296764, -0.0083965696, -0.0539862029, -0.0291583203, -0.0535667315, -0.0448439941, 0.0011061472, -0.0027914394, -0.0481142066, -0.0117597766, -0.0235627703, -0.0076264194, -0.0073482157, 0.0252997577, -0.0100029269, 0.0119811231, 0.0014755181, -0.0104456376, -0.0624377728, 0.035569679, 0.0009276, 0.0123736393, 0.0259646922, 0.0057626534, 0.0021965406, -0.0446924902, -0.0567013808, 0.0031602939, -0.0477314591, 0.0202160887, -0.0420468338, 0.0239773169, 0.0045209886, 0.0201769415, 0.003951699, 0.0606987774, -0.0085176909, 0.0178455636, -0.037352521, -0.0443781279, 0.0037267485, -0.0051116915, 0.000343193, -0.0132346191, -0.007653214, 0.0246870257, 0.0138634304, -0.0541867651, -0.0270351376, -0.0241480097, 2.663e-7, 0.0230478738, 0.0577902496, -0.0078896675, -0.0170274973, 0.0158134215, 0.0411746465, 0.0091679171, -0.0071003139, -0.0041640904, -0.0513639934, -0.0309435222, 0.0383878537, 0.0414070264, 0.0500959232, -0.048910819, -0.0617428869, -0.0737876222, -0.0528811663, -0.0331502669, -0.0177125428, 0.1049432904, 0.0499139279, 0.0212649144, 0.0245091394, -0.0078776358, 0.0016065689, 0.0598461293, -0.0471399091, -0.0168131292, 0.0072468072, 0.0766598433, -0.0475138947, -0.0053083524, -0.0120918276, -0.0056495154, -0.0132198306, -0.004801298, 0.0809531808, 0.0247705691, -0.0762653649, 0.0135507956, -0.0089097237, 0.0203880556, -0.051832322, 0.0802373365, -0.0449590236, -0.0663049221, -0.0144186737, -0.0190983284, -0.0150954444, 0.0159160029, -0.030677231, -0.0294274464, -0.0249557421, -0.0133996075, 0.0093188751, 0.0114045655, -0.077844806, -0.0453253947, -0.0012135003, -0.0083843842, -0.0501705781, -0.0242066197, 0.0190535374, 0.0276759788, -0.0354395621, 0.0148915481, 2.276674959e-34, 0.0412282571, 0.0156924874, 0.030231569, -0.0132736154, 0.045435261, 0.043617934, 0.0188351367, -0.0258077849, 0.0483853258, -0.0588457696, 0.0169785637 ]
http://arxiv.org/abs/2406.13903v1
http://arxiv.org/pdf/2406.13903v1
Generative AI for Enhancing Active Learning in Education: A Comparative Study of GPT-3.5 and GPT-4 in Crafting Customized Test Questions
2024-06-20T00:25:43
2024-06-20T00:25:43
Hamdireza Rouzegar, Masoud Makrehchi
cs.CL
cs.CL, cs.AI, cs.LG, 68T50, I.2.7
This study investigates how LLMs, specifically GPT-3.5 and GPT-4, can develop tailored questions for Grade 9 math, aligning with active learning principles. By utilizing an iterative method, these models adjust questions based on difficulty and content, responding to feedback from a simulated 'student' model. A novel aspect of the research involved using GPT-4 as a 'teacher' to create complex questions, with GPT-3.5 as the 'student' responding to these challenges. This setup mirrors active learning, promoting deeper engagement. The findings demonstrate GPT-4's superior ability to generate precise, challenging questions and notable improvements in GPT-3.5's ability to handle more complex problems after receiving instruction from GPT-4. These results underscore the potential of LLMs to mimic and enhance active learning scenarios, offering a promising path for AI in customized education. This research contributes to understanding how AI can support personalized learning experiences, highlighting the need for further exploration in various educational contexts
[ 0.0086984597, -0.0282873921, -0.0644459873, -0.009403293, -0.0554609559, 0.0155331837, 0.016296152, -0.0268590767, 0.0196483284, 0.0074380706, 0.0084158555, 0.0142627899, -0.0530922301, 0.0261190534, 0.01887553, -0.0720227584, 0.0164450966, -0.0074064326, -0.0045934999, 0.0204741992, -0.0337610096, -0.0139379241, -0.0458436608, 0.0097557958, -0.0288066268, -0.0269056167, -0.0510988757, -0.0155683141, 0.0110779162, -0.053042274, 0.0255788583, 0.0332681984, 0.051183112, 0.0045364713, 0.0000023877, -0.0486545414, -0.0137199722, -0.0137893027, -0.0194052532, 0.0064685126, -0.0218294133, 0.1269262433, 0.0097120479, -0.0073321615, -0.088457413, 0.0134551981, 0.0316309892, -0.0015253752, 0.0360958166, 0.0305880103, 0.0027943994, -0.0096859662, 0.0443380028, 0.0083200485, 0.1044837683, -0.0365083553, -0.0026404806, 0.0447862074, 0.063273564, 0.0001417678, -0.0304491557, 0.0169532411, 0.057926733, -0.0062819547, 0.0096811634, 0.0237906147, 0.0084528727, -0.0058393911, -0.0025554372, 0.0211353786, 0.0483056232, 0.0147455139, -0.0239377189, -0.0385379195, 0.0640770495, 0.0468371734, -0.081997782, 0.0018318855, -0.0374977775, 0.0196534507, -0.0062594027, -0.0204038173, -0.0278512165, 0.019434765, 0.0199896712, -0.0157651361, -0.0003683709, -0.0364119224, -0.0125347385, 0.0433743261, -0.0199472457, 0.0339415744, -0.0045508244, 0.0820232183, -0.0155318594, 0.0182962958, -0.0069574383, -0.0079736253, -0.0074131889, 0.0023425589, 0.0561867058, 0.05519199, 0.0150351143, -0.0062289946, 0.0267484393, 0.0639555529, 0.0043704105, 0.0130199706, -0.0641939789, 0.0607216284, -0.0641625971, -0.0355804935, -0.0316247493, 0.0836581737, 0.0136685455, 0.0298197065, -0.0170720872, 0.0434125438, -0.0264445599, 0.0176596157, 0.0014374243, -0.0008052049, -0.0348201469, 0.0074844724, -0.0432856157, -0.0131096328, -0.0465593226, -0.0034750977, -0.0207808875, -0.0248632841, 0.0048598079, 0.0188292265, -0.0225480683, -0.0067207678, 0.0138057154, 0.0579101071, -0.034481708, -0.0203472394, -0.0378884822, -0.021651607, 0.067968227, -0.0542377308, 0.0462633446, -0.0303047318, -0.0115794633, -0.0208190996, -0.012074871, -0.0412807837, -0.0101547036, 0.0261834338, 0.0691484883, 0.038026318, 0.0240876172, -0.0166829918, 0.0589759871, 0.0299980082, -0.0065400735, 0.0371844769, 0.0496348254, 0.0019562177, -0.0152446441, -0.053561762, 0.0456361622, -0.001436186, -0.0132693667, 0.0181777254, 0.0461997055, 0.0058844462, -0.0179165434, 0.0190811846, -0.0824525878, 0.0009547052, -0.0107413381, 0.085073933, 0.0483675562, 0.024419561, -0.0129355378, 0.0552725494, 0.0243233163, 0.0134098865, 0.0680587664, 0.0657407343, -0.0408819094, 0.0450116619, -0.0111659691, 0.0105907582, -0.0399740376, 0.0227346011, -0.014611315, -0.108519122, 0.0107485289, 0.0044251848, 0.0034470635, 0.0549266599, 0.0347511023, -0.0172543284, -0.0137036694, -0.0256743766, -0.0242813174, -0.0283554997, 0.0031767336, -0.0910351649, 0.0799875483, 0.0213039927, 0.0562363341, -0.0916539878, -0.0800829828, -0.0070782737, -0.0241334103, 0.0298518073, 0.0249668583, -0.0201442204, -0.0621042438, -0.0344612747, -0.011406376, -0.0723267868, 0.0169777665, 0.0169486087, 0.0198886078, -0.0132767549, -0.0082219662, -0.0004835207, 0.0059054205, 0.0199931115, -0.0793112591, -0.1078537032, 0.0135946553, -0.0046119015, 0.0109198652, 0.0198279861, 0.029240679, -0.0034053181, 0.0381831154, 0.0177446753, 0.0074868905, -0.0126796635, -0.0414600447, 0.0536533333, 0.0346530303, -0.051182434, -0.0209199768, -0.0135841696, -0.0165500287, -0.0131652029, 0.0217921771, -0.0209246017, -0.0099810036, -0.041387964, 0.0139512233, -0.038826406, -0.0397585556, -0.0447621271, 0.0368464775, 0.0313214958, -0.0149531718, 0.0363133438, 0.0216379426, 0.0253773704, 0.0268710144, 0.0163232405, 0.0199229643, 0.0025251263, 0.0035587363, -0.0213042479, 0.0375589468, -0.0739590675, -0.0015437756, 0.0089880424, 0.014058358, 0.0124054672, 0.0272416733, 0.0233344492, -0.0017744245, -0.0429761633, 0.0062716054, -0.0584816895, -0.019222701, 0.0059314677, -0.0425843783, 0.0104950136, 0.0341270119, 0.0316437334, -0.0502009615, 0.0233155824, -0.0481988937, -0.0425852276, 0.0780261084, 0.0523763448, -0.0219307281, 0.0092629809, 0.0009402807, 0.0027143406, 0.0247642547, -0.0039355271, 0.0560070761, -0.0394850224, 0.0982364193, 0.0262427386, -0.0174224563, 0.0636721179, 0.0077950605, -0.0595015064, -0.0243481901, 0.0609516278, -0.0372585766, -0.0140220188, 0.0062138154, -0.0584117621, -0.0110302465, -0.0013535088, 0.0234904606, -0.0227553099, -0.0446484126, 0.103227824, 0.0048193703, 0.0259267259, -0.0040498134, -0.0083730128, -0.0311503187, 0.0013002766, 0.0257359445, -0.0470383428, 0.0658146143, 0.0378951356, -0.0010542115, -0.069299005, 0.0381012894, -0.0172551144, 0.0491321385, 0.0104991961, -0.0263224188, -0.0220730305, 0.0157681666, -0.0709869862, 0.0099565564, 0.0288486183, -0.0462501235, 0.0427994616, -0.0866384581, -0.0599925816, -0.0072798128, -0.011098519, -0.0478185937, 0.0724462345, 0.0441460758, 0.0018934462, 0.0083171939, -0.0098886406, 0.0293692723, -0.0415157899, 0.0240548551, 0.0053835311, -0.0376940817, -0.0346007682, -0.0170618165, 0.0217803046, 0.0333684459, 0.0083238911, 0.0066089081, -0.030464679, 0.035772305, 0.0337778516, 0.0197775774, -0.0302619953, 0.0375740342, 0.0441507138, 0.0031047212, -0.0479191355, 0.0261155982, 0.0260239691, 0.0108610308, -0.0451438911, -0.0349436775, 0.0675531179, 0.0291457083, -0.033872135, -0.0242653713, -0.0598608702, -0.0175066125, 0.0024743527, 0.0514009893, -0.0295458753, 0.0430724137, -0.0361218192, 0.0395090915, -0.0469478145, -0.0091627436, 0.0030867769, -0.0635746568, 0.0587812774, 0.0100451503, -0.0196936186, 0.0179249421, 0.0193742942, -0.0126819927, 0.0460534655, 0.0232111402, -0.0142274927, 0.016744921, 0.0612213053, 0.0421468578, 0.0127505306, 0.0098717408, -0.0244134292, 0.0602715611, -0.0067161652, 0.0335541554, 0.0017509212, -0.0532321334, -0.0476729088, 0.0215756837, 0.020191988, -0.0214572791, -0.0279114544, -0.0134838829, 0.0295363329, 0.0167757347, -0.0574161112, 0.0264590755, 0.0162721779, 0.001728563, 0.0905362219, 0.0837625191, -0.0266190022, 0.0105587738, -0.0387204923, -0.0302320272, -0.0046991324, -0.0020208498, 0.0364965014, -0.0204124302, 0.0145638548, -0.0498935319, 0.0234029777, -0.0522636026, -0.0492288992, -0.0164033342, -0.0024993815, 0.0688952878, -0.0109623438, -0.0540158898, 0.0720008016, 0.0309162643, 0.0028902835, -0.0071926326, -0.0044809119, 0.0154195875, -0.0175270252, -0.0149686188, 0.0233322363, -0.0365218148, -0.0364482068, -0.0878680944, 0.0108494367, -0.0922135562, 0.0055332389, 0.006806517, -0.0413060561, -0.0428645536, 0.0091193812, 0.0572061054, 0.0218961351, -0.0084623415, 0.0297831614, 0.0309147704, -0.0002187818, -0.0244240221, 0.0375216939, -0.0067538861, -0.030925829, 0.0091065988, 0.0222718865, -0.0319618061, 0.0221723039, -0.0077407947, 0.0287113637, 0.0111123081, -0.0011384898, -0.0311489291, 0.0464289188, 0.054097373, 0.0034757068, -0.0188470185, -0.018886609, -0.0158572216, 0.0271189641, -0.0434914641, 0.0036091835, -0.0110978661, -0.0472978912, 0.021947464, 0.0254933406, -0.0145364432, -0.0259728935, -0.0319114029, 0.0434460826, -0.0629894435, 0.0553864725, -0.0139072528, 0.0274152458, -0.0096624596, -0.0159264058, 0.0003309836, 0.0181054063, -0.0005925716, 0.0632444024, 0.0371790938, 0.1066246331, -0.0062556108, 0.0156492591, 0.024998771, 0.0307114925, -0.0015382131, -0.0702423975, -0.0388936549, 0.0693054646, -0.0146518322, 0.0134351999, -0.0484042428, -0.0516791791, 0.0159978997, 0.0170170721, -0.020473985, 0.0095991949, -0.0090367049, -0.0011194014, 0.0258728918, 0.0535592139, -0.0487252958, 0.0204815548, -0.0106799817, 0.0378460549, -0.0283713192, 0.0270586703, -0.0326670036, -0.0352268592, 0.0535003133, 0.0071340604, 0.0411196426, 0.0137125654, -0.025498813, -0.0356462337, -0.0291209407, 0.0125137372, 0.0012590181, -0.0581010245, 0.0475590304, 0.0402626395, -0.0535548031, -0.0458023362, 0.037781924, 0.040189784, -0.0451442301, -0.0248069912, -0.0030952848, -6.413542728e-33, -0.0299489442, -0.0512942895, 0.0571432039, 0.0716569349, -0.0327377059, -0.0523183942, -0.0273307357, 0.0407619253, 0.0068750968, -0.0307343472, -0.0004895267, -0.0191175137, -0.0138623007, 0.0140991509, 0.0080289273, -0.0390147865, 0.0054366649, -0.0152033586, 0.0098900115, 0.0430194959, -0.0614483319, -0.0262904949, 0.0446675271, -0.0560571179, 0.0227717664, -0.0381291881, -0.0063547213, -0.0377854072, -0.1026137844, -0.0024450929, -0.0023945628, 0.0316788852, 0.0197287109, -0.0001755811, 0.0080697918, -0.0035049194, -0.012613547, -0.0711500943, 0.0210498497, -0.0056299497, -0.0430141613, -0.0757396221, 0.0017510004, -0.0168563575, -0.0301128775, -0.0128724072, 0.0582817346, 0.0057796785, 0.0301038232, -0.0268002078, -0.0673082918, -0.0125415623, -0.0517805405, 0.0062355241, -0.0087666325, 0.016004134, 0.0057272133, -0.0248118266, -0.001960448, 0.0517992228, 0.0457852744, -0.0151202781, -0.0007019081, -0.0180377774, 0.0159231778, -0.0170883033, 0.0259544048, -0.0027334525, -0.0556223243, 0.0028578318, -0.0053134188, 0.0026880824, 0.0786372647, 0.0396357067, -0.0059840954, 0.0143752731, -0.0313819349, 0.0487321168, 0.0449707918, -0.0335177742, -0.0109261395, -0.0295262188, -0.028754035, 0.0124171227, -0.0065910122, 0.0193380602, -0.0004753463, -0.056987986, 0.0187827349, -0.0681359842, -0.0208963472, -0.0324872956, -0.0217464156, 0.0151486117, 0.0345523842, -0.0571917854, -0.0041495129, 0.0444342829, -0.0086648948, -0.0118011134, 0.0028406573, -0.0145284599, -0.0051849429, -0.0061116866, 0.0184678752, 0.0368940644, -0.0407347344, 0.031212911, 0.0005271122, 0.0124775143, -0.0329592153, 0.0221351441, 0.0460893251, -0.0281541459, -0.011750347, 0.0190830138, -0.0150217004, -0.0221715532, 0.0192366652, -0.0285707209, -0.0669571087, -0.0161964428, -0.0456870086, -0.0155806206, 0.0057959124, 0.0051404503, -0.0235656016, 0.0248676874, -0.0071705389, -0.0758455396, 0.0016616496, 0.0047220211, 3.085e-7, -0.0119879209, 0.028298283, -0.0019426541, 0.0046829185, 0.0036623061, -0.0015976036, -0.016928073, -0.0525252372, 0.0866429657, 0.0282759946, 0.0548388362, 0.0412763804, -0.0150899682, 0.0247741137, -0.0567889735, -0.0066050719, 0.0502155833, 0.0173568837, -0.0385333933, 0.0719167814, 0.0782654881, -0.0467230976, 0.0379889496, 0.0078398008, -0.0017028686, -0.0150591806, 0.0172520522, -0.0232415497, 0.0121650007, 0.0266764909, -0.0299649611, 0.0212740339, 0.0075342692, -0.0058076908, -0.0052235895, -0.0241020434, -0.0105679473, 0.0426505767, 0.0524398908, -0.0246053524, 0.0409145355, 0.0160206985, 0.0437807888, -0.0397810377, 0.0405348651, -0.0127301542, -0.0083425483, 0.0805623978, -0.0349992365, -0.0313888304, -0.0026850968, -0.0155438185, -0.0020348469, -0.0130747491, -0.0277913827, 0.0017185705, 0.0351152122, 0.0038959538, 0.0092584807, -0.0435600542, -0.0809418261, -0.0072169579, -0.0693606362, -0.0064038695, -0.0152785499, 0.0008914499, -0.00528761, 2.411667399e-34, -0.0044011199, -0.0264709257, 0.0826899558, 0.0250604302, -0.0076364824, 0.0428641662, 0.0172502454, 0.0335905924, 0.0443444103, -0.0087330285, -0.0409621708 ]
http://arxiv.org/abs/2406.13898v1
http://arxiv.org/pdf/2406.13898v1
The Use of Multimodal Large Language Models to Detect Objects from Thermal Images: Transportation Applications
2024-06-20T00:05:10
2024-06-20T00:05:10
Huthaifa I. Ashqar, Taqwa I. Alhadidi, Mohammed Elhenawy, Nour O. Khanfar
cs.CV
cs.CV, cs.CL, cs.CY
The integration of thermal imaging data with Multimodal Large Language Models (MLLMs) constitutes an exciting opportunity for improving the safety and functionality of autonomous driving systems and many Intelligent Transportation Systems (ITS) applications. This study investigates whether MLLMs can understand complex images from RGB and thermal cameras and detect objects directly. Our goals were to 1) assess the ability of the MLLM to learn from information from various sets, 2) detect objects and identify elements in thermal cameras, 3) determine whether two independent modality images show the same scene, and 4) learn all objects using different modalities. The findings showed that both GPT-4 and Gemini were effective in detecting and classifying objects in thermal images. Similarly, the Mean Absolute Percentage Error (MAPE) for pedestrian classification was 70.39% and 81.48%, respectively. Moreover, the MAPE for bike, car, and motorcycle detection were 78.4%, 55.81%, and 96.15%, respectively. Gemini produced MAPE of 66.53%, 59.35% and 78.18% respectively. This finding further demonstrates that MLLM can identify thermal images and can be employed in advanced imaging automation technologies for ITS applications.
[ -0.0347388163, -0.0038432404, -0.0055286339, 0.1364138126, -0.0352891311, 0.0515289791, 0.0425638966, 0.0127395438, 0.016157778, -0.0975209624, -0.0126753654, -0.0132991103, 0.0097361309, 0.000968567, 0.0184151679, -0.075713329, -0.0270199198, -0.084973909, -0.0183944702, -0.006908359, -0.007892889, -0.0152951013, -0.0024009072, 0.0123386597, -0.063760139, 0.0145139601, -0.0186243355, -0.0143920397, 0.0408427753, -0.0036063294, -0.0202716924, 0.0490121618, 0.0697138608, 0.024856627, 0.0000017651, -0.0385606438, 0.0096135559, -0.0020442796, 0.0719750524, -0.0423846506, 0.0858705118, -0.0135002835, -0.0020533882, 0.0014632912, -0.0303471927, -0.0257822163, 0.0714259744, 0.0512445457, -0.014097116, 0.0373315923, -0.0041437582, -0.0704533383, 0.0319066085, 0.0530080311, 0.001486239, -0.0300279055, 0.0097191967, 0.0066428203, 0.0210628975, 0.0102932407, -0.0108383475, 0.0506105386, 0.018837275, 0.006401883, -0.038384404, 0.0671101287, 0.0022761996, 0.0070000677, -0.0164576918, 0.0327390097, -0.0455011278, -0.0381401777, -0.0355420746, 0.0333174989, -0.024151748, -0.0125859389, -0.0015248663, 0.0391915478, -0.0096270386, 0.0221948009, -0.0846633092, -0.0101236301, 0.0057781856, 0.0310891662, -0.0105193425, 0.0515467301, 0.0361736715, 0.0254656393, 0.0049523064, 0.0191111751, -0.0321881957, -0.0238468666, -0.0461493991, 0.0289770514, -0.0249185767, 0.0070311408, -0.0450319722, -0.002724129, -0.007330792, -0.0428169854, 0.0516908094, -0.0124974214, -0.0428408757, 0.0517834798, -0.0401682779, 0.0383419469, -0.0147941327, 0.0079013947, -0.0538755246, -0.0423906296, -0.0432083793, -0.0192603692, -0.0336234309, -0.0332679339, 0.0167289916, 0.0191152338, -0.0201206394, 0.0092301685, 0.0472123809, -0.0038456037, -0.0425660163, -0.0130795036, 0.0051441239, 0.0029073432, 0.0116730286, -0.0125008719, 0.0417963751, 0.0077774068, -0.0105126211, -0.0187664833, 0.0500626564, 0.0655591711, 0.0123411482, -0.0422216766, -0.0109141916, 0.0813629925, -0.0322916545, -0.0659732148, -0.0560730733, 0.0142481495, 0.0107948948, -0.0561035573, 0.0405299179, -0.0620303899, -0.0254301559, 0.0118614184, 0.0188077949, 0.0300255511, -0.0066408236, -0.0457909852, 0.0031846596, 0.1179754287, -0.0460020192, -0.0325186625, 0.0494899713, 0.0024400281, 0.0222907234, 0.0841196403, 0.0479208678, 0.021782795, 0.0264135618, -0.0325395055, 0.0286261253, 0.0119682569, -0.0787599087, 0.0176603552, -0.0770803615, -0.0097059738, -0.0034778621, 0.0060175932, 0.0138597591, 0.0343949907, 0.0055948962, -0.0273813531, 0.0630218238, 0.0127295107, -0.0156314746, 0.0001190632, -0.0019459891, 0.0269498285, 0.0096370466, -0.012728665, -0.0088345474, 0.0343534797, -0.0711301193, -0.0218472462, -0.052094169, 0.0389119312, -0.0563591793, -0.0237150081, -0.0399098806, -0.0556113012, 0.0224087834, -0.0252890121, 0.0739626884, -0.1121000946, 0.0239529312, -0.0304925628, -0.0017833936, 0.0291910786, -0.0446268097, -0.0671582744, 0.0062922635, 0.0251255836, -0.0462292023, -0.0027255649, -0.0000868709, -0.0189608131, -0.0199101549, -0.0346306935, 0.0170126297, 0.0512682758, 0.0255047642, -0.0366286933, -0.0662520379, 0.0095844558, 0.0118342573, 0.0143530592, -0.0293699242, -0.0063808495, 0.0321175344, 0.0261238534, 0.0345666222, 0.0113176042, 0.0170513652, 0.0027738907, -0.0452825911, 0.0202228352, 0.0222434774, -0.0530923419, -0.0227756612, -0.0396725759, 0.0482193828, -0.00937068, -0.0334770307, 0.0539887846, 0.0207238514, 0.027428722, 0.0559434257, -0.0320816636, -0.0275153704, 0.0462457202, -0.0655945018, -0.0312000923, -0.0017293229, -0.0534666292, -0.0105285784, -0.0444365814, -0.0274931844, 0.0184729304, 0.0083647901, -0.0106312903, 0.0513353683, 0.0137147391, 0.0037621921, 0.0026819739, -0.0117177377, 0.03640626, -0.0373248197, -0.0111001087, 0.0121719893, 0.0202847514, 0.0258014966, 0.0003877229, 0.0372147933, 0.0149794072, 0.0098221004, -0.0534817018, -0.0261618905, -0.0276660249, -0.0277352761, 0.014606961, -0.0142534319, 0.001068244, -0.0015984384, 0.0249552093, 0.0433741212, -0.0078080441, -0.0452704877, 0.0095621608, -0.0123765813, -0.0410851873, 0.0007000955, -0.0332235135, -0.0099937571, 0.0402031094, 0.0344082899, -0.0421187989, -0.0372996293, 0.021749584, -0.0035805143, 0.0439189933, -0.027186377, -0.0500651672, -0.0145400455, -0.0442215838, -0.0009418286, 0.0960720628, 0.0673578307, -0.0466190465, 0.0211178213, -0.0017098032, 0.0068472181, -0.0076068859, -0.0063453377, -0.0098536154, -0.0051302579, 0.0087562529, -0.034668386, -0.0065618129, -0.0100182528, 0.0029792858, 0.0240840688, -0.0012562312, -0.0349778011, -0.0664545447, -0.0557321869, 0.010753491, -0.0061888639, 0.0285787676, -0.0032964239, -0.0664501488, -0.003604644, -0.0394586436, 0.028190583, -0.0044243005, -0.0149099901, -0.0312804021, 0.0347941928, 0.0733642504, 0.0477226302, -0.0150930118, 0.0348763205, 0.0304790493, -0.0677078962, -0.024152359, 0.0230067335, 0.0457553677, -0.0672003329, 0.047333315, -0.0220542457, -0.0256005824, 0.0037384226, 0.0182205644, -0.0229816958, -0.0083805369, -0.027566269, -0.0397579186, -0.030266745, 0.0632964596, 0.0187516436, 0.0602840707, 0.028019309, 0.0189150665, -0.0528160743, 0.0324948207, 0.0531985536, 0.0133054797, 0.0109963045, -0.0313824415, 0.0245845634, 0.0257237144, 0.0153562715, 0.0060760351, -0.1481011957, 0.028469624, 0.0306905247, 0.0521678664, -0.0492065027, 0.0141069172, 0.0507511646, -0.0370192938, 0.010555394, 0.0486570187, -0.0303971972, -0.0446930788, -0.0135763381, 0.044391457, -0.0186553877, -0.0221171547, -0.0259782281, -0.0628157109, -0.0364319906, 0.0092910444, -0.0249760859, -0.0163850524, -0.0022416371, 0.0343050919, -0.034106914, 0.0473440997, 0.0144124217, -0.0712569878, -0.0498593152, -0.0201892965, 0.0028785442, -0.0131317582, 0.0379883274, -0.0240324978, -0.0314951576, -0.0378297009, 0.0307026282, 0.0170156099, -0.0294622295, -0.0302940365, -0.0549622662, -0.0360798165, 0.0251717996, 0.0145241292, -0.0704171807, -0.0304029472, 0.0034714567, 0.0271867197, -0.0084391655, -0.0181057453, -0.0049683154, 0.0141937276, 0.0116812615, 0.017587224, 0.038723059, -0.0093643572, 0.0005124551, -0.0349330604, 0.0553821214, -0.0229507014, -0.0237442702, -0.0580419041, -0.0491494313, 0.0019762269, 0.0264352411, -0.03216739, 0.0117718196, -0.0337521397, -0.0111052161, -0.0255091954, 0.0074235597, -0.0126207881, 0.0075472747, -0.0568102002, -0.0240807999, -0.0102800196, -0.011829949, -0.0010220329, 0.0270014647, -0.0251751021, 0.012197935, 0.0130965495, 0.0413606316, -0.0378725342, 0.0417615399, 0.006925764, 0.0277642235, -0.051791627, 0.0222072247, 0.0533082262, -0.0179923922, -0.0029636843, 0.0536224283, -0.0554823652, -0.0278651565, 0.0120908413, 0.0484463535, 0.024514284, -0.0039181802, -0.0139851859, -0.0725301281, -0.0178897679, -0.004967256, 0.0397336595, 0.0158113334, -0.0247287564, -0.0326516889, 0.0029859717, -0.0051614554, -0.0193950534, 0.0843331292, 0.0038449403, -0.0748026595, -0.0033506595, -0.0404018015, 0.0235532112, 0.0132547449, 0.0251321401, 0.0196998697, 0.0356734991, -0.0170678794, 0.0083884532, 0.0450793169, 0.0072033782, -0.0523044765, 0.0148370676, 0.014306088, 0.0438777469, -0.0028225149, -0.0349791981, 0.0360395573, 0.0002030077, -0.0256876294, 0.0309572816, 0.0372342207, 0.0014743929, -0.0365031064, -0.0094062351, -0.0027456947, 0.015462256, 0.0168953501, 0.0047316272, 0.0269545279, 0.0660169423, 0.0321874544, -0.0352884904, -0.0357139148, 0.047180444, -0.0067225769, -0.0285709929, -0.0301089752, 0.0379015096, 0.0956323296, -0.00260692, 0.0040628202, -0.0815273151, 0.0092856158, -0.070635289, 0.0645457432, 0.0539880805, 0.0338456333, 0.0977208912, 0.0081821429, -0.0205950364, -0.009182631, 0.0186511949, 0.0356586501, -0.0029921331, 0.0313240662, -0.0215060599, -0.0391668305, 0.0242036059, 0.0693848729, -0.0591356866, -0.0264264569, 0.0067301509, 0.0178924073, -0.033135388, -0.0188300963, 0.0203673374, 0.0280394293, 0.0042458237, 0.0204312634, 0.0446926877, 0.0398927778, -0.1106720045, 0.0122841755, -0.0126438532, 0.0218734834, 0.0291887708, 0.0151154734, -5.387714155e-33, -0.0033666, -0.0400967449, 0.0296481587, 0.0311105289, -0.0091133695, -0.0094371866, 0.055816792, 0.0086931949, 0.011672752, -0.0136304293, 0.0123835811, 0.0036283042, 0.0205287337, 0.0087755984, 0.0117391571, -0.0242299251, 0.0071010408, -0.0169616267, 0.0217332691, -0.0312167909, 0.0361233763, 0.0092647411, 0.0441842899, -0.0402246341, -0.0354664959, -0.0009493232, -0.0085711936, 0.0100771235, -0.0295208283, 0.050098706, -0.0220560133, 0.0350624062, 0.0502033457, 0.0383219644, -0.0274450593, 0.0713971704, -0.0079235844, 0.0073501901, -0.0164805409, 0.0768797249, -0.0433589108, -0.0236377269, 0.0339184701, -0.0377230309, -0.0229192562, 0.0132824192, 0.0340761989, -0.0395771451, 0.0235907603, 0.0144894067, -0.0468181372, 0.0398437604, 0.0228196997, 0.0108880997, 0.0574437194, 0.0087557137, 0.0068260916, 0.0433297977, -0.0371049233, -0.0123874769, 0.0247665774, 0.0282121692, 0.0516067222, 0.0428495891, 0.0258886404, 0.0303157549, 0.027417738, -0.0511480272, 0.0171868373, -0.0478156321, 0.011914528, 0.093115665, 0.020343041, 0.0486594327, 0.0132281678, 0.011559274, -0.0492176451, -0.0159134977, -0.0103687048, 0.0498462468, 0.0066326461, -0.020444883, 0.0017263733, 0.0178871006, -0.0117111746, 0.0170895793, -0.0176048707, -0.0157183837, 0.0311710071, 0.013487543, -0.0165469628, 0.0014305268, 0.0499755554, -0.0290669128, 0.0284033436, -0.0561153367, 0.020793492, 0.0152186686, 0.0300321411, 0.0554048903, -0.0655969679, -0.0736422166, -0.0116687231, -0.008116127, -0.0155890193, -0.00833767, -0.0041003991, 0.05902116, 0.011938178, 0.0136083197, -0.018683292, -0.0171116013, 0.031823054, 0.0118096545, 0.0466847755, -0.0015816092, 0.025664309, 0.0301393941, -0.0294262376, -0.0455990694, -0.0354908966, -0.0285442546, -0.0546624996, -0.0173660796, 0.0119502889, -0.0105150351, -0.026345253, -0.0825549513, 0.03131973, -0.051624842, 0.0101166368, 0.0298160929, 2.569e-7, 0.0037862819, 0.0299673844, -0.0278302487, -0.0401156694, 0.0190129243, 0.0672704354, -0.0327034183, 0.0274567008, 0.002183977, 0.010039134, -0.0560443588, -0.0141047947, 0.0251798183, 0.0406487472, 0.006011711, 0.0031425997, 0.0545017757, -0.0120012769, -0.0708118901, 0.0494807288, 0.0617988035, 0.1007555872, 0.0409567505, -0.0170456264, 0.0342342481, -0.048681777, 0.0547326505, -0.0666576847, -0.0213236138, -0.0153047107, 0.0859721825, 0.0213101897, 0.0169329401, 0.0548979267, 0.0512300059, 0.0201589223, 0.0139894113, 0.0148794074, -0.0167623237, -0.0112306215, 0.0328937285, -0.0044911169, -0.0223795325, -0.0800486505, 0.0569955222, -0.0090491995, -0.0002248573, -0.0136419823, -0.0125685055, -0.0503184684, -0.0050142133, -0.0078495666, 0.0076583996, 0.0097943339, 0.0057318546, -0.0642016158, -0.0065137623, -0.0334441252, 0.0227042362, -0.0148247089, -0.0627743751, 0.001008143, -0.0043681688, -0.0005193063, 0.0717343986, -0.0027172675, -0.0464617759, 1.751146103e-34, -0.0071631274, 0.0072441488, -0.0251725707, 0.0014574862, -0.0076781055, 0.0180560313, -0.0676143318, 0.012591145, -0.0548082292, -0.0562146939, 0.0332170501 ]
http://arxiv.org/abs/2406.13893v1
http://arxiv.org/pdf/2406.13893v1
Open Generative Large Language Models for Galician
2024-06-19T23:49:56
2024-06-19T23:49:56
Pablo Gamallo, Pablo Rodríguez, Iria de-Dios-Flores, Susana Sotelo, Silvia Paniagua, Daniel Bardanca, José Ramom Pichel, Marcos Garcia
cs.CL
cs.CL
Large language models (LLMs) have transformed natural language processing. Yet, their predominantly English-centric training has led to biases and performance disparities across languages. This imbalance marginalizes minoritized languages, making equitable access to NLP technologies more difficult for languages with lower resources, such as Galician. We present the first two generative LLMs focused on Galician to bridge this gap. These models, freely available as open-source resources, were trained using a GPT architecture with 1.3B parameters on a corpus of 2.1B words. Leveraging continual pretraining, we adapt to Galician two existing LLMs trained on larger corpora, thus mitigating the data constraints that would arise if the training were performed from scratch. The models were evaluated using human judgments and task-based datasets from standardized benchmarks. These evaluations reveal a promising performance, underscoring the importance of linguistic diversity in generative models.
[ 0.0036429637, 0.0686216429, -0.0124954684, 0.0421832167, 0.0017122877, 0.0110664461, -0.0040223072, -0.0235751532, -0.0139137618, -0.0317653753, -0.0361306816, -0.0413246267, -0.004728416, -0.0350161009, 0.0460877828, -0.0426447131, 0.0279740579, -0.0487098098, -0.0476394184, -0.0524034947, -0.0042583803, 0.0192358419, 0.0221800078, 0.0446561538, 0.034182433, -0.0101501839, 0.0412913971, -0.0176424831, -0.0014639716, 0.0126292733, -0.0093962597, 0.0494990796, -0.0020072509, 0.070680432, 0.0000019665, -0.0548900664, -0.0221488401, 0.0008871934, 0.0066856346, 0.0141760455, 0.0509109162, -0.0149448765, -0.0183401573, 0.0309589077, -0.045873858, -0.1038230211, 0.0462345332, 0.0044208155, 0.027560452, 0.0421764813, -0.0144797936, -0.0747603551, 0.0410497822, -0.0669913888, 0.0114343073, 0.0151766418, 0.0188751575, -0.0286569688, -0.0095933545, 0.0169327818, -0.0128135355, 0.0136897685, 0.0097154602, 0.0044895313, 0.0007845965, 0.0478391536, -0.0213868599, -0.028533034, -0.0058883359, 0.032826893, -0.0498918295, -0.0214408934, -0.0044087311, -0.0073292078, -0.0316501334, -0.0027971722, -0.0674077719, 0.0617069826, 0.0268431045, 0.0477122515, 0.0315569565, -0.0048997612, 0.0446169525, 0.0175351724, -0.0194783136, 0.0322003998, 0.0644098371, -0.0141394055, 0.0438328721, 0.0361687317, -0.0386137255, -0.027869368, -0.0192123801, 0.009118964, -0.0114973774, 0.0084359571, 0.0074056094, -0.0163802449, 0.0646867976, -0.0694778711, 0.0190706383, -0.0093139959, -0.0192227159, 0.042831786, -0.0330244415, 0.0285257716, -0.0468903184, -0.0258682519, -0.0367114022, -0.0666124672, -0.0279855411, -0.0116083408, -0.0445827506, -0.0168135501, -0.0609686673, 0.0126751494, -0.0180996973, 0.0126162451, 0.0174180903, -0.016417319, 0.0529694669, 0.0197433289, -0.0346462727, -0.0187809356, -0.011504448, 0.0593245327, -0.0275515523, 0.0265997238, -0.0166664254, -0.10520228, 0.0031730053, 0.0356428027, -0.0122916326, -0.0694963261, 0.0190316457, 0.0514987521, 0.0105902394, -0.0240353085, -0.050021559, -0.0139583712, -0.0323521718, -0.089217104, 0.0036710831, -0.0977359042, 0.0276412629, 0.0115707191, 0.0434069559, -0.0409874655, -0.0021623792, 0.0163226966, -0.0240917057, 0.0394523591, -0.0082247816, -0.0063347337, 0.0232223738, -0.0229459368, 0.013678628, 0.0821669996, 0.0215202793, 0.0052363947, 0.0361015126, -0.0065186368, -0.0076621408, 0.0775810555, -0.0171284042, -0.0151084606, 0.0179237146, 0.0116856694, 0.0200369544, 0.0477960706, 0.092334412, 0.0606286079, -0.015326024, 0.0183527991, 0.066735059, 0.0449477322, 0.0423192754, 0.0263116099, 0.0718437806, 0.0011197291, -0.0104550999, -0.0406410545, -0.00045472, -0.0360522904, 0.0100444518, 0.016650632, -0.0050443634, 0.0853219554, -0.0373802409, 0.0083235158, -0.0046959599, -0.0010950899, -0.026891835, -0.0301561188, 0.0716477334, 0.0059857853, -0.0191109814, 0.0043110228, 0.0506919473, -0.0455105565, 0.0293074436, -0.0327288918, 0.0462629944, 0.0352155901, 0.0558656715, 0.0151944356, 0.009255467, -0.0303651262, -0.0153892236, 0.0386128984, 0.0156971831, -0.0138568385, -0.001447876, -0.0761115775, 0.0135024861, 0.0198598988, 0.0173580218, 0.0449186824, 0.0162545331, 0.0274053812, 0.0181038249, -0.0425445363, -0.0341037251, 0.0195321739, -0.032057289, -0.0543145537, 0.0332972072, -0.0165009964, -0.0168517251, 0.0396105275, -0.039793212, -0.0145418178, 0.0325131156, -0.0387170725, 0.0021711441, 0.0248295907, -0.0393766053, -0.0088350391, 0.0067450469, -0.0490119681, -0.0080046542, -0.0150665184, -0.0139319506, -0.0375612304, 0.0132336048, -0.0231701527, 0.0388478413, -0.0820709988, 0.0155480364, -0.0061873351, 0.0389261469, -0.03564227, 0.0749364644, -0.0075230687, 0.0393694751, 0.0095200036, 0.0062384051, 0.0046766526, -0.0966421589, -0.0227455366, 0.0560400002, 0.0082148537, 0.0134070069, 0.0048340349, 0.0353364833, -0.0019805992, -0.0132647604, -0.1070667952, 0.0402795486, -0.0283148754, 0.0217467397, 0.0112191904, 0.0246173441, -0.0274887513, 0.0025659411, -0.0295687858, -0.0204135347, 0.0483567007, 0.0096359244, -0.0065753716, -0.000069824, 0.0223941952, -0.0380911343, -0.0034171878, 0.0350064449, 0.0396602303, 0.0092592128, 0.0069879685, -0.0540678687, 0.0266103316, -0.0033533298, 0.0332851186, 0.0090998486, -0.0308189783, 0.0014102382, -0.012628207, 0.1059475914, 0.0307728499, -0.0059975293, -0.002097087, 0.0369980261, 0.0017594696, -0.0263008941, -0.0069415756, -0.0163535941, -0.0369751453, -0.0677262992, -0.0282369796, 0.011097366, 0.0754128098, 0.0021544697, -0.0261585489, -0.0346427262, -0.0069252555, -0.0464926884, -0.0264925249, -0.0083690695, 0.0344319046, -0.0174335577, 0.0024587796, -0.0237931777, -0.0340600349, -0.0022473808, -0.0513131842, -0.0051223738, -0.0480612814, -0.0074098748, -0.0397469476, 0.0336787961, 0.0346010849, 0.0069244546, 0.0038122814, -0.0126815541, -0.0223267097, 0.0216418356, 0.0250279028, -0.0088322712, 0.0406164341, -0.0531731434, 0.0059063383, -0.0197723638, -0.049247399, -0.0111168073, -0.0243230388, 0.0058485176, 0.009511942, 0.0610378608, 0.0015130794, 0.0095027592, -0.0198222976, 0.0148258498, 0.0619561747, -0.0077108378, -0.0033005162, -0.0266499054, 0.0520187914, 0.0158851705, -0.0035969738, 0.0264260899, -0.0627159029, -0.0178232808, -0.0114344899, 0.0193077102, -0.0271968991, -0.0224459954, -0.0162482373, 0.0340593942, -0.0341106728, -0.0532584637, -0.0225561094, 0.0357491635, -0.0165477861, -0.0231909286, 0.0931737944, 0.0157713704, -0.043431066, -0.0041745794, -0.0219523273, 0.0495309494, 0.0136882178, 0.0366364531, -0.0899028555, -0.0129786385, 0.0069768806, 0.0004516508, -0.0105045512, -0.0181823932, -0.029786393, -0.1555685699, 0.0241412818, -0.0092733987, -0.0195981003, -0.0090522058, -0.0294094924, -0.0263744928, -0.0839524716, 0.008504021, -0.0013486475, -0.0266074706, 0.0329647772, 0.0469470099, 0.0009744073, -0.0660159066, -0.0033579841, -0.0468775518, 0.0333329625, 0.0554123744, 0.0006453823, -0.0268924348, -0.0159755405, 0.0417787842, -0.022403609, -0.0078995647, -0.0349623077, -0.0112580135, 0.0340051576, -0.0066851894, -0.0424699858, 0.0215324499, 0.0045422139, -0.0056537869, 0.016387023, 0.0879950374, 0.0114863291, -0.0107588228, 0.0287065916, -0.0582775176, 0.0054248907, 0.0347434133, 0.0111050177, -0.0329374373, -0.0303378124, -0.0011382634, -0.0154016549, -0.0191938821, -0.0322423838, 0.0372978933, 0.0062530674, -0.0579214506, -0.0540554002, -0.0549765714, 0.0218602549, 0.0029724734, 0.0166313406, 0.0105111599, 0.0001162929, -0.0138652986, -0.0158285275, 0.0634812787, -0.0221631657, -0.0100584403, -0.0775758848, -0.0155473119, 0.0194293559, -0.006554903, -0.0186483935, 0.0221012197, -0.0889807492, -0.0628150553, -0.0017666187, 0.0422809422, 0.0275091212, 0.0167863723, -0.0344930626, -0.081786938, 0.0334763378, 0.0447335094, -0.0303895269, 0.0256243069, 0.0069890479, -0.0041686748, 0.0189471114, 0.0487053022, 0.0034302019, 0.0285238829, -0.007122254, 0.0352076106, 0.0086212074, 0.0057426179, -0.0193411857, -0.0144393593, 0.0642407387, -0.0621176697, 0.0206228737, -0.0805033296, -0.0187672898, -0.0364844427, 0.0313787684, -0.0119046858, -0.0169583037, 0.0400861427, 0.0318602622, -0.0463003069, 0.0398713611, -0.0000919623, 0.0393829234, -0.0936716571, 0.0083931293, 0.0217298493, -0.0143944733, 0.0196882375, 0.0265546199, 0.0044413009, 0.0277238805, -0.0322686583, 0.0196923986, -0.0234239828, 0.0164604671, -0.0181915816, 0.0005933526, 0.014756985, -0.0033947153, 0.0121417539, -0.0525641218, -0.0343597792, 0.0439193174, 0.1066033021, -0.0135120749, 0.0770321339, 0.0029305159, -0.0095328577, -0.040657118, 0.0112754684, 0.0089796679, -0.0208449606, 0.0435501635, -0.0094576506, -0.0348011553, -0.0270883646, 0.0933007672, 0.0097999517, 0.0412783399, -0.0231225323, 0.0144056175, -0.0119554978, -0.03293157, 0.0041100001, -0.0571681075, -0.0460716859, 0.0079051703, -0.0565609001, -0.0489416569, -0.033164911, 0.0088032354, 0.0036646051, 0.0088163484, 0.046784725, 0.0532573201, -0.0294147376, -0.0454813167, -0.0491783656, 0.0192619432, -0.0127781108, -0.022823941, -0.0052666217, -6.293798792e-33, -0.0131214866, 0.0111473156, 0.0216161273, -0.0674335733, -0.0109366365, -0.0093392525, -0.0016944869, -0.0131304646, -0.0065108216, 0.0059243026, -0.0133721177, 0.0006303769, 0.0219878145, 0.0415925309, 0.0375478677, 0.0515135005, 0.0625603274, -0.0018789758, 0.0163164549, 0.0205152053, 0.0213297829, 0.0178742241, 0.0837983042, -0.0306563582, 0.0377540812, -0.0133763794, -0.0135381948, 0.0351596512, 0.0321432054, 0.0482854433, -0.0374965854, 0.0692275539, 0.0245154873, -0.0674497113, -0.0314819105, 0.0152757345, -0.0419148766, -0.037583217, 0.0747606233, 0.0234772637, 0.0174115244, -0.055204004, 0.0218338277, -0.0076511223, -0.0439188518, 0.0182057358, 0.0327858776, -0.0074435356, 0.0082984623, 0.0072949473, -0.0485237837, 0.041241508, 0.0317768641, 0.0347979255, 0.0010600261, 0.0329753645, -0.0352116823, 0.0058281822, -0.0253160503, 0.0097602149, 0.0437099934, 0.041324567, 0.0543795899, 0.0188583378, 0.045561187, 0.0378075577, 0.0101886149, -0.050654836, -0.0317227729, 0.0268650763, 0.0192061346, 0.0233282484, 0.0268060267, 0.0634816661, 0.0243975669, -0.0015379671, -0.1040839031, 0.0009195941, 0.0022916063, 0.0127197271, 0.0235152543, -0.003467924, 0.0076292679, 0.0071979691, -0.0321373381, -0.0489625074, 0.0046835179, -0.0146939233, 0.0240418278, 0.0029949225, 0.0312237013, 0.0043708202, 0.0469470732, -0.0231935568, -0.0471936725, 0.0148659414, -0.0208787378, 0.0104456265, -0.0088182883, 0.0592717677, -0.0803627148, -0.0212030988, 0.020527076, 0.033507254, -0.0199305061, 0.0061776331, 0.020239098, -0.0100912545, -0.0696005821, 0.0270587411, -0.0439615473, 0.0531527176, -0.0116503825, 0.0573408157, 0.0368232019, 0.0154212303, -0.0040313299, 0.06054952, 0.0246909, -0.0057198317, -0.0162820779, -0.0488186553, 0.0168472435, 0.0262763072, -0.0273795296, 0.037207026, 0.00125398, 0.0257416572, 0.0093384162, -0.0003231034, -0.0097619621, -0.0191872716, 2.7e-7, 0.0458595194, 0.024047412, -0.0089564966, 0.028719455, 0.0253521483, -0.0115013588, 0.0156340189, 0.061011333, -0.0528208688, 0.0361704752, -0.0296958908, 0.0363782495, 0.049154833, 0.028414242, -0.080481872, 0.0145453513, -0.0386829525, 0.0091571026, -0.0699834526, -0.0383742005, 0.0248005651, 0.1342222393, -0.0124677392, -0.008876022, -0.0084457295, -0.0368821211, 0.0891931206, -0.0288977977, -0.0328479968, 0.0104043297, 0.0471368842, 0.0425834246, -0.0073497794, -0.0180205218, 0.0131159946, 0.0204475187, -0.0101823639, 0.0592410937, -0.0086337179, 0.0286909379, 0.0756154135, -0.0649445429, -0.0378357209, -0.0736491308, 0.0525558367, -0.0230457112, -0.0220251177, -0.0048813159, -0.0035634963, -0.013714754, 0.0394484885, -0.0505178049, -0.0378463604, 0.0012704303, 0.0309139173, -0.0255409237, -0.0289798975, -0.0488831252, -0.0182070453, 0.0131019801, -0.0421193391, -0.0599604882, -0.0230623577, 0.0215023868, -0.0000845438, -0.0352104716, 0.0316867009, 2.131700001e-34, 0.0195197091, 0.0335735716, -0.0191850439, -0.0128617259, 0.0266121309, -0.0099546909, 0.0007652216, 0.0108972769, -0.0234538242, -0.0610182807, -0.0118705723 ]
http://arxiv.org/abs/2406.13892v1
http://arxiv.org/pdf/2406.13892v1
Adaptable Logical Control for Large Language Models
2024-06-19T23:47:59
2024-06-19T23:47:59
Honghua Zhang, Po-Nien Kung, Masahiro Yoshida, Guy Van den Broeck, Nanyun Peng
cs.CL
cs.CL
Despite the success of Large Language Models (LLMs) on various tasks following human instructions, controlling model generation at inference time poses a persistent challenge. In this paper, we introduce Ctrl-G, an adaptable framework that facilitates tractable and flexible control of LLM generation to reliably follow logical constraints. Ctrl-G combines any production-ready LLM with a Hidden Markov Model, enabling LLM outputs to adhere to logical constraints represented as deterministic finite automata. We show that Ctrl-G, when applied to a TULU2-7B model, outperforms GPT3.5 and GPT4 on the task of interactive text editing: specifically, for the task of generating text insertions/continuations following logical constraints, Ctrl-G achieves over 30% higher satisfaction rate in human evaluation compared to GPT4. When applied to medium-size language models (e.g., GPT2-large), Ctrl-G also beats its counterparts for constrained generation by large margins on standard benchmarks. Additionally, as a proof-of-concept study, we experiment Ctrl-G on the Grade School Math benchmark to assist LLM reasoning, foreshadowing the application of Ctrl-G, as well as other constrained generation approaches, beyond traditional language generation tasks.
[ 0.0349348933, 0.0866281986, -0.0152035439, -0.0043744072, -0.0596867912, -0.0234588757, 0.0133288736, -0.0067138053, 0.0187029634, -0.0390445404, 0.0165333748, 0.0011995714, -0.0128313769, 0.0511034392, 0.0308634471, -0.0596375428, 0.0725651607, -0.0648011714, -0.038217105, 0.0148307839, -0.0194451995, 0.0024710619, -0.010481921, 0.0267582927, -0.0117375897, -0.0129298829, -0.0324351415, -0.0171982422, 0.0080764247, 0.0130826859, -0.0457007997, 0.0627317131, -0.0094443746, 0.0448327772, 0.000002399, -0.0409378782, -0.0294432696, 0.0039717779, 0.0018201694, 0.0263467431, 0.0134594617, -0.0023397608, -0.0606130436, 0.0146597447, -0.0288145691, 0.0598134771, 0.050559029, 0.0022931367, 0.0820797011, 0.0544739738, -0.0110748205, -0.0003504489, 0.0278212633, -0.0162010044, 0.0380099043, -0.0351479128, 0.0257429164, 0.0313633531, 0.064405486, -0.0303172488, 0.0004873637, 0.0346690863, 0.0523109026, -0.0515002795, -0.0369783379, 0.0312104281, -0.0219006557, -0.0508934259, -0.026752783, 0.0407666825, -0.0069383876, -0.0596463829, 0.0303434227, -0.0156027237, -0.0046616746, 0.0292240605, -0.0546015725, 0.0443224832, -0.0263398718, 0.0098258276, 0.0275665764, -0.0368758291, 0.0215361994, -0.0065659173, -0.0354175344, 0.0774665475, 0.0443127826, -0.0364961214, -0.0347227976, -0.0103191659, -0.0319298729, -0.0907516852, 0.0361407623, 0.0563801453, -0.0639597401, 0.0210916251, -0.1020465717, -0.0221330188, 0.0256542899, -0.0353418328, 0.045806706, 0.0824079812, 0.0093202088, 0.0219636764, -0.0296199061, 0.0791518092, -0.0451564826, 0.0288307853, -0.0041590775, 0.0426581763, -0.0435450375, -0.0137275094, -0.0541199967, 0.0022634394, -0.0267396532, -0.0037685363, -0.0256208498, 0.0756006166, -0.0156044289, 0.0524599776, -0.0083457548, -0.0408986993, -0.0230634119, -0.0247782059, -0.00844994, -0.0099457568, -0.0183973499, -0.0298065003, 0.0155576067, -0.0442833938, -0.0017747279, 0.0048232395, -0.0075257821, -0.0349638015, -0.0044883322, 0.0860331282, -0.0295538232, 0.0121394349, -0.0060653598, -0.0478885435, 0.0035646341, -0.0678013042, -0.0050491933, -0.0504585505, -0.0148256123, 0.012378077, -0.0384168588, -0.0655175894, 0.0188607238, 0.039644558, 0.0334350355, 0.0340101793, -0.0046625878, -0.0102291089, -0.0031111471, -0.007506663, -0.030373767, 0.0327413678, 0.0626585707, 0.0289141983, 0.0087370127, 0.0125123821, 0.0195498243, 0.0674086362, 0.022041576, -0.0033199964, -0.0651609078, -0.0032834793, 0.0110284537, 0.0313730612, 0.0056301798, 0.0746069849, 0.0035803665, 0.0257661808, 0.0357292853, 0.0137316436, -0.0056031859, 0.0596597008, 0.0573678277, -0.0155105684, 0.0021482497, 0.0287204385, -0.0714775398, 0.0400137864, -0.0382915139, 0.0377047658, 0.0133897839, 0.0158599168, 0.0297084227, -0.0470944308, -0.0088681774, 0.0414290763, 0.0149682993, -0.006568661, 0.0394407436, 0.0039326954, -0.037102133, 0.05890413, -0.0042734956, -0.0630847216, -0.0385585912, -0.0824104548, 0.0455201827, 0.0633750185, 0.0841659456, -0.0298852865, -0.0344375074, 0.005376114, -0.0158681553, 0.0538124777, 0.0565408058, 0.0174477547, -0.0350694284, -0.018164536, -0.0021304432, -0.0050802724, 0.0132842064, 0.0262701884, 0.0276959613, -0.0126416078, 0.0113351587, -0.0156928506, -0.0040215626, 0.0441644304, -0.0447051227, -0.0290407799, -0.0288581736, 0.0094916122, 0.003933371, -0.0333205089, -0.0206736121, 0.0320396274, 0.014205968, -0.0154183386, -0.004878121, -0.0025494061, -0.069338493, 0.0045000413, 0.0657047331, 0.0067088581, -0.0382813849, 0.0091570122, -0.0260784198, -0.0358922072, 0.0359532312, -0.023326423, 0.0249752328, -0.0275457781, 0.0126226041, 0.0123521229, -0.064321354, -0.009384905, 0.0556204356, 0.0047396137, -0.0157052837, 0.0603791624, 0.012231132, 0.0178787038, -0.0431012549, 0.0225561466, 0.0047419635, -0.0150351822, -0.0046087569, 0.0018523332, 0.0528190769, -0.0062833945, -0.0552365407, -0.0255421028, 0.0090887751, -0.0328486711, 0.0243737008, 0.0187224168, 0.0135938739, -0.0331567265, 0.0094960751, -0.0282935724, -0.0321167149, 0.0267470628, -0.0027983175, 0.0243190341, 0.0101918234, -0.0484983474, -0.047227174, -0.0239497051, -0.0378358774, -0.0146012176, 0.0288413595, -0.0399027206, -0.0345259644, 0.048811879, -0.0120006325, 0.0673860162, -0.0145514663, -0.0025186166, 0.0246395152, -0.0265507139, 0.0746190473, 0.0503597893, -0.0301580429, 0.0212323535, 0.0798182189, -0.020887075, -0.0145511413, 0.04573147, 0.0137600005, -0.0165095273, -0.0044973479, -0.0240874551, -0.0061768945, 0.098982349, -0.0235309359, -0.009119573, -0.064257957, 0.0229287837, 0.0067598727, -0.0086915083, 0.001962407, -0.0380527675, -0.0563146919, 0.0552854463, -0.0533575043, -0.0650132746, 0.0597629435, -0.0496251844, 0.0030707086, -0.0252111461, 0.013116017, -0.018628452, 0.0695251226, 0.0263334792, 0.0036330016, 0.0180231556, 0.0008788456, -0.0556894913, 0.0303886551, 0.0400435925, -0.0094973836, 0.0440059081, -0.0658708885, 0.047639925, -0.0166492239, -0.0145723838, -0.0447403006, -0.0017602175, -0.0355398767, 0.0241789799, 0.0368269607, -0.0526856519, -0.0097302552, 0.0115937609, 0.031215217, 0.0504230782, -0.0210590791, -0.017502863, -0.0410456061, -0.0253253542, 0.049956955, -0.0077410173, -0.0185110644, -0.0438723117, -0.0174790621, 0.0415238552, 0.0164043084, -0.0022223047, 0.0127300797, -0.0049774642, 0.0095598623, -0.0459069386, -0.0113411564, 0.0411303453, 0.0292883273, -0.0708204582, -0.0498893186, 0.0971599072, 0.0417205729, -0.0106106475, 0.0162011907, -0.029321393, 0.0745341107, 0.0202916861, 0.0609706752, -0.1054973528, -0.0360839441, 0.0318610482, 0.0155710969, -0.0180532765, -0.0277216323, -0.0146680884, -0.1059077606, 0.0209958348, 0.0089516565, -0.0218286738, -0.0032845496, -0.0176981129, -0.0029097481, 0.0168773029, -0.016635377, 0.0259350967, -0.0127751818, 0.0147760976, 0.0125681972, 0.0084461374, -0.0157610271, 0.0121643515, 0.0212177336, 0.0105424607, 0.0715243593, -0.0121841449, 0.0067208479, -0.0538994782, 0.0653576851, 0.0753459185, -0.006670244, -0.0313780345, -0.0180535205, 0.0285057146, -0.0096133351, -0.0333423652, 0.0240043569, -0.0003611785, -0.036530789, -0.0075114197, 0.1163785309, -0.0213715211, -0.023170352, -0.0198813733, -0.0306107122, 0.002366449, 0.0624616407, 0.041263748, -0.0344639346, -0.0600346029, -0.0760942847, -0.0356392749, -0.0740954727, -0.0286192596, -0.0210764874, -0.0091550192, -0.007489658, -0.0327211171, -0.0087074991, 0.0499192774, 0.0239498205, 0.0083535099, -0.0306592286, 0.0607448183, -0.0410385281, -0.0585130714, -0.0126859965, -0.0386925228, 0.0327931345, -0.0599896871, -0.0144600654, -0.0358190425, -0.0085309567, -0.0191536639, 0.037658114, -0.0664065778, -0.0765490606, -0.0224761683, 0.0688143373, 0.0314433426, 0.0140734743, -0.0114592705, -0.0401186757, -0.0090571111, 0.0103064114, 0.0053422228, 0.0065168953, 0.0010173385, -0.0219235048, 0.0142990062, 0.0277129132, -0.0319553465, -0.0110193985, -0.0011282589, 0.0516010374, -0.0163113791, -0.027575817, 0.0295808744, 0.0308881495, -0.0269395299, -0.0280456282, 0.0277386326, -0.0319762975, 0.0122738993, -0.0537235811, 0.0072941417, -0.0620732717, 0.0482745655, -0.0122179035, -0.028141696, 0.0063395845, -0.0516885035, -0.0289228167, 0.0279464163, -0.0257366784, 0.047511071, -0.0227007773, 0.0249088909, 0.086248517, -0.0301735774, 0.0051924828, 0.0385917164, -0.0047238534, 0.0467193387, -0.0253655761, 0.0546532646, 0.0442631654, -0.0044167382, -0.0145942066, -0.0024648565, -0.0239998642, -0.0541607067, -0.0182124823, 0.0456909686, 0.0663521886, 0.0387231298, 0.0488578528, -0.0764205605, -0.0100385556, -0.0117918551, 0.0331210271, 0.0637600422, -0.0430375859, -0.0086133042, 0.0202179458, 0.009507006, -0.0561634898, 0.051009018, 0.0149238333, 0.0367644466, 0.0170965903, -0.0162842479, -0.0439177677, -0.0272810552, -0.0170089025, -0.0179435071, 0.0001613728, -0.0066402676, -0.0782424659, -0.05562751, -0.0059690266, 0.0652639866, -0.0065470883, -0.0260917787, 0.0270234849, 0.0326325074, -0.0043666465, -0.0284957439, -0.004597262, 0.0220897831, 0.0085186092, -0.0407030359, -0.0269845519, -6.426544431e-33, -0.0366846174, -0.024631016, 0.04208358, -0.0199814439, -0.0107022813, -0.0543605052, -0.0887738615, 0.0190245453, 0.0384922773, 0.0025813861, -0.0075352169, 0.0025814676, 0.0044570798, 0.0107791973, 0.0103017138, 0.0226702113, 0.0394946113, 0.0084206313, -0.0542735457, 0.0206452701, 0.0239037741, 0.0026210537, 0.034728121, 0.0077246851, 0.0053652604, -0.003463201, -0.0096072098, 0.0113721406, -0.0668616742, 0.0622091554, -0.008967991, 0.0170070827, -0.0010752585, -0.0173229929, -0.0314426757, 0.0296261273, -0.0263866186, -0.0438743234, 0.0147524439, -0.0128495516, -0.0366907865, -0.0570019893, 0.028767487, 0.0089363633, -0.032380186, -0.0042170775, 0.0010922427, -0.0098774368, -0.009683066, -0.0374652334, -0.076965861, 0.0386079215, 0.0110816751, -0.0343669802, 0.0041526025, 0.0029791309, -0.0017503676, -0.0418771133, -0.0089857168, 0.002170915, 0.0767815411, 0.0393015854, 0.0770046115, 0.0000093846, 0.0250661857, 0.0132145593, -0.0094031952, 0.0243876278, -0.0447278693, 0.0465006493, 0.0101621635, 0.0422551148, 0.0179979783, -0.0070308987, 0.0441811793, 0.0109139169, -0.0493752211, -0.0018109715, -0.0042145434, 0.05052476, 0.0146127492, 0.0236551967, -0.0242291819, 0.0055189235, -0.0327481329, 0.0258377101, -0.0138798989, -0.0139057012, 0.0558212101, -0.000881106, -0.0200807936, -0.0047284882, 0.0082551129, 0.0130883995, -0.0435515568, 0.0119128041, -0.0364127345, 0.0234758426, -0.0249875542, 0.0309140254, -0.0243979283, -0.01018894, -0.0019904999, -0.0209451914, 0.0383391753, 0.0464921407, -0.0210205223, 0.0435870811, -0.0650938898, 0.0091258148, -0.0560220331, 0.0385844223, 0.0256231241, -0.0004184443, 0.0357105583, -0.0248652622, 0.0243929308, 0.0145181818, 0.0045835543, -0.0617829487, -0.0342175402, 0.0513760597, -0.0004180744, 0.0287491493, -0.0141672492, -0.0057703094, -0.0594694987, 0.072381869, 0.0283796396, -0.0669841096, -0.0065300944, 0.0145417452, 3.073e-7, 0.0172344968, 0.0581065379, 0.0420819856, 0.0703191385, 0.0171057563, 0.0262385812, 0.0008124158, -0.0114492811, 0.015524446, 0.0011492328, -0.0138348481, 0.0254682973, 0.0207764972, 0.0292843282, -0.0316207595, 0.0233633611, -0.0280156601, 0.0133149773, -0.0601518489, 0.0089924224, 0.0842582509, 0.0350015648, -0.0033050017, -0.0012637964, 0.0211848859, -0.0545668975, 0.0405857898, 0.0092216358, 0.0181189626, 0.0216504317, 0.0340378918, -0.0298172925, -0.0020568168, -0.0099695744, -0.0051937355, -0.0081317993, -0.0274853241, 0.0966147557, -0.0031348884, 0.0254683718, 0.0203847904, -0.0401821844, -0.0087463288, -0.0487665348, 0.0688011646, -0.0217253044, 0.0332618095, -0.0020257037, -0.0186987482, -0.0205879454, -0.0389969684, 0.0014016922, -0.0054911934, 0.0238680355, 0.0064569283, 0.0104227494, -0.0137568712, -0.023095794, -0.0493670031, -0.0111934328, -0.0469801053, -0.0269571934, -0.0873346776, 0.0174178258, -0.0104146684, -0.031291388, -0.0365202799, 3.511964779e-34, 0.0263893865, -0.0274067558, 0.0362826474, 0.0163013376, 0.032569252, 0.0147047304, -0.0115203289, 0.038914144, 0.0306614079, -0.0721321926, -0.0569844432 ]
http://arxiv.org/abs/2406.13890v1
http://arxiv.org/pdf/2406.13890v1
ClinicalLab: Aligning Agents for Multi-Departmental Clinical Diagnostics in the Real World
2024-06-19T23:44:25
2024-06-19T23:44:25
Weixiang Yan, Haitian Liu, Tengxiao Wu, Qian Chen, Wen Wang, Haoyuan Chai, Jiayi Wang, Weishan Zhao, Yixin Zhang, Renjun Zhang, Li Zhu
cs.CL
cs.CL, cs.AI
LLMs have achieved significant performance progress in various NLP applications. However, LLMs still struggle to meet the strict requirements for accuracy and reliability in the medical field and face many challenges in clinical applications. Existing clinical diagnostic evaluation benchmarks for evaluating medical agents powered by LLMs have severe limitations. Firstly, most existing medical evaluation benchmarks face the risk of data leakage or contamination. Secondly, existing benchmarks often neglect the characteristics of multiple departments and specializations in modern medical practice. Thirdly, existing evaluation methods are limited to multiple-choice questions, which do not align with the real-world diagnostic scenarios. Lastly, existing evaluation methods lack comprehensive evaluations of end-to-end real clinical scenarios. These limitations in benchmarks in turn obstruct advancements of LLMs and agents for medicine. To address these limitations, we introduce ClinicalLab, a comprehensive clinical diagnosis agent alignment suite. ClinicalLab includes ClinicalBench, an end-to-end multi-departmental clinical diagnostic evaluation benchmark for evaluating medical agents and LLMs. ClinicalBench is based on real cases that cover 24 departments and 150 diseases. ClinicalLab also includes four novel metrics (ClinicalMetrics) for evaluating the effectiveness of LLMs in clinical diagnostic tasks. We evaluate 17 LLMs and find that their performance varies significantly across different departments. Based on these findings, in ClinicalLab, we propose ClinicalAgent, an end-to-end clinical agent that aligns with real-world clinical diagnostic practices. We systematically investigate the performance and applicable scenarios of variants of ClinicalAgent on ClinicalBench. Our findings demonstrate the importance of aligning with modern medical practices in designing medical agents.
[ 0.0249967724, 0.0234307386, -0.0016477957, -0.019780783, -0.0285667274, 0.0177992713, 0.0285054035, 0.0400667563, 0.0164405834, 0.0206168834, 0.0284003094, -0.0062010097, -0.003535799, 0.0087185623, 0.0115909334, -0.0052333176, 0.0410748497, 0.0299218893, -0.0005951159, 0.0130253742, -0.0215843953, -0.0011957946, -0.0330310315, 0.0562638864, -0.0108949309, -0.0433959849, 0.0299076531, -0.0332160518, 0.0591173619, -0.0702043325, -0.021527702, -0.0133667244, -0.0446652398, -0.0008507351, 0.0000020949, -0.0897082165, -0.0229678769, 0.0244479664, -0.0451548956, -0.0436501391, 0.0404541306, -0.0147496536, 0.0196000487, 0.0141723119, -0.0343676805, -0.009950133, 0.0239515305, -0.0019254385, 0.0225318242, 0.0652218685, -0.0017515249, 0.0327636898, 0.0253657512, 0.0005260998, 0.012428687, -0.0829958245, 0.0239825696, 0.0035631962, 0.0808293298, -0.0393132232, 0.0242056977, 0.0152131626, 0.0036286279, 0.0300648939, 0.0170574971, 0.040346019, 0.0051215035, -0.0345474668, -0.0010879018, 0.0656970143, 0.0278513469, 0.0149001507, 0.0219038725, -0.0219664183, 0.0109158903, -0.0097422274, 0.0104650892, -0.0197822265, -0.03691452, -0.0300826225, 0.0397188663, 0.0133086778, 0.0357382596, -0.0160961263, -0.0027011475, 0.0451098569, -0.0026761384, -0.0129983164, 0.0208814107, 0.0155043928, -0.0083630588, -0.0448082425, 0.0306158345, 0.0427595563, -0.1253029555, 0.0016759207, 0.0052347709, -0.0294025932, 0.0999234617, -0.0529099219, 0.0374160893, -0.0050585894, 0.0151502481, 0.0274628121, -0.0310949869, 0.057741493, -0.0215094332, 0.0799467266, -0.0580268241, 0.0108780619, -0.04142702, 0.0029978591, 0.0184806269, 0.0157697424, 0.024309203, -0.007174049, -0.0717247203, 0.0078381756, -0.0527082421, 0.0381875634, 0.0267867874, 0.0450066663, 0.0173485409, 0.0563004576, -0.0482646003, 0.0122491075, -0.0300207604, -0.0025886795, 0.0116977561, -0.0166840367, 0.0166731682, 0.0011489715, -0.0074908491, -0.0073563978, 0.0484652109, 0.0987462699, 0.0371924415, -0.0034183844, 0.0161632597, -0.0498304106, -0.032385204, -0.0509534366, -0.0201295875, -0.053310398, 0.0503945611, 0.0469110534, -0.0119606834, -0.0503932387, -0.0017346632, -0.0112273078, -0.0152323171, 0.0449495912, -0.0770935565, 0.0073365909, -0.0076876082, 0.0321625546, -0.0498567894, 0.0103168003, -0.0124871247, -0.026170278, 0.0179522373, -0.0415244736, 0.0289897043, -0.0025000062, -0.0044301348, -0.0126607539, 0.0209574457, 0.0391052403, 0.0119467806, 0.1143350601, -0.0159123056, 0.0276239589, 0.0277950503, -0.0254968442, 0.0163289662, 0.0454075076, 0.0711862147, -0.0474376865, 0.0068550236, -0.0470965393, -0.0146730207, -0.0164236203, 0.0050948686, 0.0130683435, -0.0111530758, -0.0101766447, -0.030013429, 0.0143162385, -0.0288373698, -0.0613323487, -0.0960886702, 0.0106475186, -0.0278783813, 0.0057913973, -0.0207979176, -0.0489196107, -0.025119124, 0.0601353943, 0.0301219933, -0.0069972547, -0.0213741716, -0.0842899606, -0.027351737, 0.108862929, 0.0366572812, -0.0509500541, -0.0692915246, -0.0099873189, -0.0146962656, -0.0198955778, 0.008102959, -0.0135614108, 0.0190440994, -0.0216844436, -0.0203078017, 0.0266319197, 0.0127423387, -0.0125477668, -0.0205509998, 0.0224007685, -0.0567017496, -0.07184048, -0.0169496033, 0.064304851, -0.0700829551, -0.027098801, 0.0188725758, 0.0023721026, 0.0398733355, 0.0256486442, -0.0050114412, 0.0262853652, 0.0189997852, -0.0001891595, -0.031979192, -0.0116762873, 0.0239222758, -0.0317377299, 0.0151001466, -0.017337881, -0.046192091, -0.001542651, -0.0433373563, -0.0128418645, -0.0353707559, -0.0647106618, -0.0104898354, 0.0265564695, 0.0218171179, 0.0175434556, 0.0051754932, -0.0430523679, 0.0209778938, -0.0154972374, 0.0000468923, 0.0091853049, -0.0038468412, 0.0169072319, -0.0268215276, -0.0202595219, -0.0276278444, -0.010530035, 0.0237232372, -0.0296638887, -0.0189058352, -0.047215376, -0.0222359411, -0.0640986264, 0.0128794592, 0.0503212139, 0.0046515218, 0.0174689014, 0.0015968595, 0.0033198434, 0.0012568844, -0.0454006828, 0.0106003191, 0.0514266081, 0.0352352373, 0.0736797377, 0.0369786173, -0.0440912917, -0.0406323746, 0.0200065654, -0.0658884346, 0.0194367655, -0.0059231031, 0.023040846, -0.0147179952, 0.0113908714, -0.0581325442, -0.0132495444, 0.0217082873, -0.0128634572, 0.0240884554, -0.0158615857, -0.0629034415, 0.0972254351, -0.0312716216, 0.0287257917, 0.0517156012, -0.0057907207, -0.0314146206, 0.0098066311, -0.020258788, -0.0002317784, 0.0378569998, -0.0371210538, 0.0008376878, 0.0517408252, 0.0076824566, 0.0200136509, -0.0128932856, 0.0083152093, -0.0133700836, -0.0127264131, -0.035741929, 0.0058748741, -0.0406337902, 0.0288310852, 0.0074426895, -0.0239563789, 0.0859614387, 0.0024860585, 0.0502754524, -0.0633565634, -0.0299441256, -0.0430491976, 0.0114723854, -0.0263112057, 0.0149504794, -0.0190601554, -0.006937176, 0.0181754567, 0.0067679337, -0.002163586, -0.0885557309, 0.0642154291, -0.0251908675, 0.0528289303, -0.0036089581, -0.0405871198, -0.0561863109, 0.0070863999, -0.0070427712, 0.0111715253, -0.0292281862, 0.0241281856, -0.0834736377, 0.0250021983, -0.0209394582, 0.0167639442, 0.0261136014, -0.0295035355, -0.0076899687, -0.0533465184, -0.0193441454, 0.0132488804, 0.0417563245, -0.0156446826, 0.0265789665, 0.0527054593, -0.0259105116, 0.0054097758, -0.0312749483, 0.017649876, -0.0328808278, -0.0593173802, -0.0109347701, 0.0188198872, 0.0317770243, -0.0551321656, 0.0218639802, 0.0877736285, 0.018088622, -0.0498450398, 0.0161893684, 0.0021821756, -0.0607071631, -0.0170933604, 0.0150242615, -0.0565650947, -0.0475629084, -0.0073037003, 0.0325440392, -0.0506607927, -0.0682727322, 0.0342121869, -0.0226756036, 0.0306088813, -0.0066648708, -0.0098209493, 0.0109012658, -0.0610659458, 0.0094484109, -0.0341146551, 0.0356728546, -0.017127201, 0.012554382, -0.0101305377, -0.0038800482, -0.0699954554, -0.0562815145, 0.0651506186, -0.0255765952, 0.0459428169, 0.0404431596, 0.0199493151, -0.0077647436, -0.0574198887, -0.0248588007, 0.0317054316, 0.0428156443, 0.0014289232, 0.0736343116, 0.0151784113, 0.0081677623, -0.0798632354, -0.0132940924, -0.0574880652, 0.0227201115, 0.0018195779, 0.0991698876, -0.0356905982, -0.0161208473, -0.0606813096, 0.0106418859, 0.0077010337, 0.0494101532, -0.0173882917, -0.0186857823, -0.0155414399, 0.0456833951, 0.0521020517, 0.0087656565, -0.0173633788, 0.0524492338, -0.0491574518, -0.0090197586, -0.041686371, -0.0500278734, 0.0616761632, 0.0058285394, 0.0267805997, 0.0143389609, -0.0630129799, -0.004460515, -0.0498477481, 0.0422043242, 0.0886430889, 0.0745275244, -0.0252731126, -0.0019801799, 0.0523746721, 0.0404555053, 0.0037549413, 0.0237990431, -0.0096086944, -0.0140541792, -0.0042698104, 0.0172100216, 0.0269172974, -0.0438477211, -0.0174612831, 0.0031194701, 0.0130587099, 0.0511234216, -0.0370643884, 0.0016844263, -0.0296860784, -0.0257687792, -0.0103578493, -0.0168499388, -0.0301875044, 0.0214496274, -0.003286788, 0.0425357297, -0.0274501834, -0.0178157818, 0.0393576324, 0.0450839996, 0.0276255403, -0.0245228224, -0.0435223244, 0.0034050613, 0.0002316066, -0.0202604197, 0.0072798319, 0.0156097058, -0.0061200405, 0.0199496206, 0.0113224406, -0.0033662491, 0.0057034781, -0.0649870709, -0.0580278412, -0.0493362918, 0.0631735101, 0.0177012924, 0.0010801905, 0.0359322503, 0.00960657, -0.0123740043, -0.0070688333, 0.0127785662, 0.0370224938, 0.0188529268, 0.0498454981, -0.0225090086, 0.0775048733, -0.016400788, 0.0592386313, -0.0565034524, -0.0013467612, 0.0035516436, 0.0160629824, 0.0258776024, 0.0279932227, 0.0153552135, 0.0002521162, 0.0226875823, -0.0206941981, -0.0116025163, -0.036649324, 0.0278904047, 0.0296049379, 0.0129731437, -0.0026970848, -0.0633229539, 0.0546162613, -0.046938058, 0.0351706259, -0.0490645953, -0.0230178759, -0.0468387231, -0.0271824058, 0.023434598, 0.0095723718, -0.0537245609, -0.0176075734, -0.109776251, -0.0234398562, 0.0297007076, -0.0006642949, -0.0382630005, -0.0137289362, 0.0059663286, 0.0242411215, 0.0508633293, -0.0394639745, 0.0022386361, 0.0214200448, -0.0509473458, -0.0087422282, 0.0276612397, -5.658354097e-33, 0.0086481441, -0.0537277199, 0.0420562066, -0.0149338022, 0.0137187541, 0.0557020158, -0.0143103283, 0.004828902, -0.004918837, 0.049515456, -0.038448181, -0.0182033945, 0.0040305876, -0.0079578431, 0.0284898411, -0.0495230295, -0.0019949151, 0.0293114465, -0.0192793272, -0.03090466, -0.0012753647, 0.007450155, 0.0286233798, -0.0782263801, -0.0104223099, 0.0086042397, 0.0242138337, 0.0190417152, -0.0410809293, 0.0707605556, 0.0107431412, 0.0391910933, 0.0450931638, 0.01905993, -0.0108748097, -0.0312780961, -0.0126064084, -0.039678596, 0.0088632535, -0.0175260101, -0.0351228863, -0.0399837568, 0.0377446078, 0.004397077, -0.0441631489, -0.0116014294, 0.0382447131, -0.0309614353, -0.004814934, -0.0079173036, -0.0168825407, 0.0490088761, -0.0046023536, 0.0182310119, -0.0210409537, -0.0139144389, -0.0225825813, -0.0075281323, -0.039514266, -0.0243864879, 0.0239332486, -0.0269207191, 0.02183236, 0.0033613171, -0.0332151614, 0.0732310861, 0.0368830673, 0.003269424, -0.0165464189, 0.0195858516, -0.0468112715, 0.0751884431, 0.0706468076, 0.0471052937, 0.0150960945, 0.0060069277, -0.0609217659, 0.0863572359, -0.0215026066, 0.03074551, 0.0153477937, -0.0318191387, -0.0725943223, -0.0008044477, -0.0262153801, 0.0293836575, -0.0476585962, -0.0496314652, 0.0611281022, -0.0311778784, 0.0083580613, -0.0000850433, 0.0134636946, -0.0056144996, 0.0045166113, -0.0699737668, 0.0542814508, 0.0089807836, -0.0327419043, 0.002397012, -0.0532178879, -0.0248053428, 0.0125279175, 0.0229117628, 0.0959874392, -0.0031575663, -0.0076415809, -0.0498818718, -0.0384789333, 0.008628088, 0.0045750318, 0.0097388104, -0.0350378267, -0.0046218093, 0.035348665, 0.0150262583, -0.0022764183, 0.0405571498, 0.0137312291, -0.0160009786, -0.0382133573, -0.0104746139, 0.0120124007, -0.0096274894, -0.0383064598, 0.0007318805, -0.0168534461, 0.0397302061, 0.0312639922, -0.0453561023, -0.0022855683, 0.0000401581, 2.818e-7, 0.1029179841, 0.0369875096, 0.0102584064, 0.0141578671, 0.0170681532, 0.0096088378, -0.0356242917, 0.0144155612, -0.0127881039, -0.0452584065, 0.0434042215, -0.0063032797, 0.0302135479, 0.0467286818, -0.0244395267, -0.0257408507, -0.015835749, 0.0232909285, -0.0317628719, -0.0210351571, 0.0563910641, 0.0272424333, 0.0003389637, -0.060868334, 0.0372561999, -0.0237968452, 0.0059824483, -0.0193703827, 0.0301842969, 0.0591262095, 0.0058519272, -0.0109262802, 0.0532716848, 0.1000429094, -0.0050935233, -0.0117938444, -0.0211405139, 0.0860767588, -0.0827152804, -0.0343290269, 0.0193551779, -0.0509159565, 0.0639426857, -0.0172745455, 0.0401475765, 0.000272847, -0.0267965868, 0.0077369362, -0.035939794, -0.0174240619, 0.0864039436, -0.011900547, -0.0091842962, 0.050153356, 0.0029662901, 0.0388725773, -0.0453219637, -0.0627245083, -0.0020294746, 0.0140805105, -0.0050349277, -0.064156428, 0.0515161268, 0.0181096047, 0.0111561529, -0.0787274018, -0.0274909232, 2.572528979e-34, 0.0210166741, 0.0145099424, 0.0246047191, 0.0224814843, 0.0368481465, 0.0007489105, -0.0080135465, 0.0139309177, 0.0108896149, -0.0669093281, -0.0012684989 ]
http://arxiv.org/abs/2406.13885v1
http://arxiv.org/pdf/2406.13885v1
Knowledge Tagging System on Math Questions via LLMs with Flexible Demonstration Retriever
2024-06-19T23:30:01
2024-06-19T23:30:01
Hang Li, Tianlong Xu, Jiliang Tang, Qingsong Wen
cs.CL
cs.CL, cs.AI
Knowledge tagging for questions plays a crucial role in contemporary intelligent educational applications, including learning progress diagnosis, practice question recommendations, and course content organization. Traditionally, these annotations are always conducted by pedagogical experts, as the task requires not only a strong semantic understanding of both question stems and knowledge definitions but also deep insights into connecting question-solving logic with corresponding knowledge concepts. With the recent emergence of advanced text encoding algorithms, such as pre-trained language models, many researchers have developed automatic knowledge tagging systems based on calculating the semantic similarity between the knowledge and question embeddings. In this paper, we explore automating the task using Large Language Models (LLMs), in response to the inability of prior encoding-based methods to deal with the hard cases which involve strong domain knowledge and complicated concept definitions. By showing the strong performance of zero- and few-shot results over math questions knowledge tagging tasks, we demonstrate LLMs' great potential in conquering the challenges faced by prior methods. Furthermore, by proposing a reinforcement learning-based demonstration retriever, we successfully exploit the great potential of different-sized LLMs in achieving better performance results while keeping the in-context demonstration usage efficiency high.
[ -0.0045543378, 0.0003833657, -0.0193458106, 0.0577128008, -0.020120671, 0.0290202908, -0.0104646776, 0.0198056158, 0.0291275326, -0.0613641702, 0.0026693542, 0.0199441146, -0.0592668764, -0.0040174616, 0.0352154039, -0.0178597309, 0.0281437039, -0.0187204145, 0.0254709423, 0.0189162828, 0.0084549719, -0.0277801231, -0.0100974673, 0.0183147229, -0.0299150404, -0.04378644, -0.0175539032, -0.0521896929, -0.005629336, -0.0355245583, -0.0040193652, 0.0280873496, 0.013105168, 0.0203419123, 0.0000020193, -0.0520391725, -0.0448483899, 0.0140426913, -0.0482911468, -0.0151382694, -0.0154354209, 0.0233997833, 0.0254602581, 0.0028095911, -0.0964122415, -0.0177029483, 0.0089213224, 0.0186232105, 0.073650144, 0.0683334842, 0.0064448053, -0.039791625, 0.0549878702, 0.0009215032, 0.0910979882, -0.0562452227, 0.0572825409, 0.0703593418, 0.0335048363, 0.0547212735, -0.0511473417, 0.0245368108, 0.037307959, -0.0152855711, -0.023200782, -0.001623054, 0.0027801862, 0.032202065, 0.0014418466, 0.0668664649, -0.0043560821, -0.0002490789, -0.001028843, 0.003583804, 0.0157886688, 0.021606192, -0.0490329899, 0.014796339, -0.0200159177, -0.0016588103, 0.0255819522, 0.003116051, 0.0116565768, 0.0234580208, -0.0698090419, 0.0649405718, -0.0031709848, -0.0640770718, -0.0148382727, 0.0171725471, -0.0483990386, -0.0500546992, 0.0126890922, 0.0570222475, 0.0224004406, 0.0395759381, -0.0273188855, -0.0686242506, -0.0153318048, 0.002040772, 0.0237670317, 0.0561245494, 0.0235241074, 0.0609678589, -0.0561631136, 0.0692666098, -0.0096036075, 0.0257689413, -0.0632107928, 0.0057554999, -0.0591979884, -0.0085120182, -0.0243050512, 0.0841166452, 0.0134580648, 0.0110522229, -0.0253939684, 0.0442068391, -0.0258909836, 0.0508258156, -0.0243624952, -0.0503400899, 0.0134395603, -0.0135039538, -0.0595872588, 0.0135363312, -0.0494546816, -0.0053776815, 0.010435109, -0.0050955801, -0.0324753188, 0.0226847678, -0.005241375, -0.0242191628, 0.0129950782, 0.0592301376, 0.0200269651, -0.0391812697, -0.0194006544, -0.0575057901, 0.0143830422, -0.0239809602, 0.0160384141, -0.0681613237, 0.0482533909, 0.0248194523, -0.0198198166, -0.0222923681, 0.0116267316, 0.0209818576, 0.0135833938, 0.0692892075, 0.0161930006, 0.0020017491, 0.037359748, 0.0139750903, -0.0548415706, 0.0343259946, 0.0310830958, -0.0086662276, 0.0490361601, 0.0042536207, 0.0260052197, 0.0368260965, 0.0467720926, 0.0013197938, -0.0067878724, 0.0413564779, 0.0768443719, 0.0393364988, -0.0266769622, 0.0166846327, -0.0400486141, 0.0107102497, 0.0167888608, 0.0727048144, -0.0176666845, -0.0281888787, 0.0433506928, 0.0216893218, 0.0307614282, -0.0190506168, -0.0073611313, -0.0101301279, -0.0356400684, 0.0103993993, 0.0361587629, -0.0199762769, -0.0149996746, -0.0718593225, -0.028608283, -0.0122518297, 0.0124849295, 0.0452339612, 0.0700380206, 0.0137564307, -0.0105102323, 0.0387758352, 0.0173307974, 0.0007533276, 0.0261601619, -0.0722352192, 0.0698683485, -0.0088295387, 0.056845285, -0.0920384303, -0.0434666649, -0.0222137291, 0.0366558209, -0.0016595636, 0.0417815894, -0.0381053239, -0.0631721988, -0.0427510627, -0.0206939951, -0.0097573977, -0.0032380878, -0.0231556557, 0.0633035451, 0.021374194, 0.0203819014, -0.0589356348, 0.0026198947, 0.0403487124, -0.0570771322, -0.0718481615, -0.0020027796, -0.0023384402, -0.0051116683, 0.0121486969, 0.0098928129, 0.0340840481, 0.0319506563, -0.0414526574, -0.0001312096, -0.055558756, -0.037663877, -0.0725188106, 0.0670706183, 0.0040695011, -0.0173916873, -0.0085742874, -0.0511383787, -0.0246958025, -0.0109562743, -0.0091079604, 0.0399030074, -0.0215280559, 0.0120545952, 0.0132472366, -0.066798225, -0.0423084237, 0.0684056878, 0.0197964031, 0.0506635979, -0.0020355335, -0.012475119, 0.0058642165, 0.0136609208, -0.0467520244, -0.0217097793, -0.010028745, 0.0176722612, -0.0040080696, -0.0014358298, -0.0464478247, -0.0087291105, -0.0408217795, 0.0426582582, -0.0012227285, 0.0373828523, -0.0183809754, -0.009095219, 0.0000338415, -0.0249415729, -0.0418502875, -0.0052175554, -0.0208143629, -0.0051465183, 0.0200009625, 0.0626395196, 0.0097297803, -0.0310537498, -0.0095075257, -0.0332245603, 0.0512879826, 0.0247910023, 0.0543007739, -0.0433248729, 0.0213817675, -0.0118242558, 0.0034010401, 0.0005571194, 0.0237889588, 0.0134783974, -0.0570140146, 0.0351783969, 0.0548853353, -0.0167536307, 0.0440007225, -0.0042272303, -0.0062822383, -0.0855553746, 0.0206837822, -0.0520045571, -0.0298332497, -0.0426418371, 0.0106751919, -0.0049489089, 0.061409425, -0.0035334618, -0.0475104824, -0.0505612232, 0.0360132903, -0.0359372757, 0.0056984038, -0.0696067363, 0.0259162467, -0.0009052939, 0.0256232526, 0.0014715778, -0.0112345526, 0.0807097778, 0.013793489, -0.0023396022, -0.0478679016, -0.0090241833, -0.0621566437, 0.0452983566, 0.001442605, -0.0034167252, -0.0267103184, -0.0128174908, -0.0269538537, 0.0092048692, 0.0305233914, -0.0650113821, 0.0305252485, -0.0259160846, -0.0118897902, 0.0001846502, -0.0161675289, -0.0414402671, 0.0168574937, -0.005157318, 0.0145416604, -0.0163163263, 0.0160475112, -0.0070245145, 0.0046342835, 0.0294427611, 0.0180239864, -0.0262422487, -0.0173179172, -0.0324243121, 0.0295402706, 0.0283309855, -0.0001361612, 0.0020485814, -0.0437182896, 0.0383400172, 0.0456323996, 0.0469581299, 0.002563366, 0.0008166148, 0.0024853076, 0.0157566201, -0.0914618447, -0.0003430968, 0.0366003737, -0.0172144286, -0.0828911066, -0.0087336535, 0.1126461178, 0.0471255928, -0.0161348991, -0.0324646756, -0.0420522243, -0.0323941372, 0.0292786136, 0.0444759987, -0.0991211981, -0.0119975097, -0.010701403, 0.0138326893, 0.040913932, -0.0410105474, 0.0269593224, -0.1347000152, -0.0168541018, 0.0070656505, -0.0278752148, 0.0109569654, -0.0195581056, -0.0144707812, 0.0393228717, -0.031879127, 0.0061190925, -0.0007111144, 0.031161787, 0.0408334322, 0.0129600726, -0.0374030173, -0.0035284606, -0.0520071946, -0.0007523746, 0.0283972751, 0.0049356981, -0.0317337997, -0.0474734791, -0.0156698208, 0.0233817622, -0.0463728532, -0.0001292019, -0.0164099429, -0.0664517209, 0.003075344, -0.0006774956, 0.0311526749, -0.0322820507, -0.0184079092, 0.0653997362, 0.1365103722, -0.0121031152, 0.0157980416, -0.0288409311, -0.0308574438, -0.0145262759, 0.0905649439, 0.0308563542, -0.0504133441, 0.0114564849, -0.0079004038, -0.0065874895, -0.0114608686, -0.0032346828, -0.0066433703, -0.0043632812, 0.0522361435, -0.061910715, -0.0260615926, 0.0921724737, 0.0189426523, 0.0126074003, 0.0008617826, 0.0341839753, -0.0188289452, -0.0740295947, 0.0269062575, -0.0364963971, -0.0025513954, -0.0678509697, 0.0191921629, 0.0362950824, -0.0145936403, -0.0492827334, -0.0206255987, -0.0582466833, -0.0430128984, -0.0549994782, 0.0538901463, 0.0109725539, 0.027989015, -0.0119947651, 0.0028241852, 0.0329600461, 0.0146756684, -0.0386361405, 0.0081879413, 0.0084250411, 0.0114708422, -0.0009838493, 0.005160905, -0.0516750179, 0.0002843303, 0.0083764642, 0.0528956801, -0.0533196069, -0.0190449152, 0.0254150797, 0.0188718736, 0.0179706849, 0.0386590585, -0.017927805, 0.0028444871, 0.026773734, -0.0161247421, -0.0478008501, -0.0202635732, 0.0078230798, 0.0255343486, -0.0098278541, -0.0030422385, -0.0120445732, 0.0191915426, 0.0651918873, 0.0073485975, 0.0256188698, -0.0099746613, -0.0080652134, 0.0440943129, -0.0185646564, 0.0188962761, -0.0442220457, -0.0023585532, 0.0250873771, -0.0243678931, 0.0773018301, 0.0369089581, 0.0154768387, 0.0040810164, -0.0023582196, 0.0044544614, -0.0838307887, -0.0020886797, 0.0488257147, 0.0089436015, 0.0130505785, -0.0475347415, -0.0312344097, -0.0291897953, -0.0121077262, 0.0102261109, -0.0110186329, -0.0324554369, 0.064451687, 0.0372878015, 0.0148024252, -0.0220220238, 0.0338089317, -0.0236395244, 0.0223844461, 0.0221590642, -0.0192988962, -0.0335988477, -0.0025191968, 0.0530549102, 0.038159322, 0.013539128, 0.0147271696, -0.0505822487, -0.0636420473, 0.0191499088, 0.0124628171, -0.054298833, 0.0232922174, 0.0462762527, 0.0551292524, -0.0015219237, -0.0186444633, -0.0283015296, 0.0423801132, -0.063119173, -0.0644805878, -0.0019152659, -5.31157408e-33, -0.031892322, -0.0296754334, 0.0431947857, 0.0166430864, -0.0071599684, 0.0083767828, -0.0113369925, -0.0048883744, -0.0084869806, 0.0171625614, 0.0021783533, 0.0154065825, -0.0081843901, 0.0264402665, -0.0001418347, -0.0228259154, 0.0038748512, -0.0221074615, -0.0018064386, -0.0098451991, -0.0032421087, 0.0297686011, 0.0400534272, -0.0223854221, 0.0251307227, -0.03440281, 0.0376662165, 0.0171781965, -0.003136836, 0.0777301937, -0.0342127122, 0.025822347, 0.010072845, -0.059255071, 0.0011555037, 0.044749409, -0.0628074855, -0.0545459799, -0.0055735759, 0.0049830922, -0.0400113687, -0.0154600041, 0.0173754003, -0.0023295863, -0.0023753869, 0.0046993052, 0.0411727652, -0.0071154861, 0.0009039335, -0.0358669721, -0.0257281903, 0.0212583728, -0.0111827711, -0.0115764812, 0.0547489859, 0.0069840727, 0.0283531994, 0.0290479753, -0.0321002156, 0.0013271556, 0.0176100433, 0.0130072171, 0.0306804702, 0.0074642277, 0.0016150577, 0.0359819457, -0.0214929841, -0.0139335729, 0.0195715055, 0.0083820634, 0.0357025266, 0.0218850337, 0.0566459745, 0.0107012074, 0.0300911404, 0.0215382129, -0.0452604257, 0.0339894444, 0.0125633935, 0.0232382026, 0.0123742139, -0.0002599365, -0.0746595412, 0.0044187261, -0.0601833574, 0.0630160794, -0.0399781987, -0.0393371396, 0.0513271727, -0.0249089357, -0.0234796777, 0.0207810793, 0.0354177654, -0.0683404207, -0.0126220891, -0.0016269842, -0.0104130153, 0.0348964967, -0.0413947664, 0.0370767899, -0.0417163, -0.0442156903, -0.0011793216, -0.0870829597, 0.0088095888, 0.0135989906, -0.0073213265, -0.0007997656, -0.0496003777, -0.0206382573, -0.0077143307, -0.0176160969, 0.030950943, 0.0158842932, 0.0380582623, 0.0791730583, 0.0106630642, 0.0458967127, 0.0407478251, -0.0301778782, -0.0330842026, -0.0164084882, -0.0017652204, -0.0184503943, -0.0193221532, -0.0042796903, -0.0086913193, 0.0381470099, -0.0087781716, -0.0695402697, 0.0191501509, 0.0373792835, 2.71e-7, 0.0531084761, 0.0478745438, -0.0074719968, 0.0285042804, -0.0218085069, 0.0348953269, 0.0185028333, -0.0042349468, 0.0319541544, -0.025488833, -0.0012732343, 0.0452071875, 0.001135897, 0.025351733, -0.1130761653, -0.0226174183, 0.018253725, -0.0325599834, -0.0595775805, 0.0038412828, 0.0985977277, 0.0617363676, 0.0525986105, 0.0310212485, -0.0257171355, -0.0655970648, 0.0544209592, -0.0073922952, 0.0005375601, 0.0303464159, 0.0024629354, 0.0245378911, 0.0265969671, 0.0199363679, 0.0039783977, 0.036630597, 0.019490283, 0.04954537, 0.035918247, 0.0177467056, -0.0417121276, -0.0272366405, 0.0255676396, -0.0420418531, 0.0499596968, -0.0712600946, 0.0001597881, 0.0274506118, -0.032776542, -0.0743873715, -0.0027539942, -0.0130962124, 0.0243728384, 0.0014900612, 0.0346237868, -0.0075744772, 0.0183618516, -0.0718959421, 0.0042785648, 0.024490241, -0.055842597, -0.0225912388, -0.0452879444, 0.0078719147, 0.0200173426, -0.0757642612, -0.0156543832, 2.755680642e-34, 0.0157589689, -0.016577011, 0.0217110366, 0.0724661797, 0.0311997049, 0.0198643897, -0.0590389594, 0.0375378653, 0.0493412949, -0.0987110287, -0.0091766575 ]
http://arxiv.org/abs/2406.13862v1
http://arxiv.org/pdf/2406.13862v1
Knowledge Graph-Enhanced Large Language Models via Path Selection
2024-06-19T21:45:20
2024-06-19T21:45:20
Haochen Liu, Song Wang, Yaochen Zhu, Yushun Dong, Jundong Li
cs.CL
cs.CL, cs.AI
Large Language Models (LLMs) have shown unprecedented performance in various real-world applications. However, they are known to generate factually inaccurate outputs, a.k.a. the hallucination problem. In recent years, incorporating external knowledge extracted from Knowledge Graphs (KGs) has become a promising strategy to improve the factual accuracy of LLM-generated outputs. Nevertheless, most existing explorations rely on LLMs themselves to perform KG knowledge extraction, which is highly inflexible as LLMs can only provide binary judgment on whether a certain knowledge (e.g., a knowledge path in KG) should be used. In addition, LLMs tend to pick only knowledge with direct semantic relationship with the input text, while potentially useful knowledge with indirect semantics can be ignored. In this work, we propose a principled framework KELP with three stages to handle the above problems. Specifically, KELP is able to achieve finer granularity of flexible knowledge extraction by generating scores for knowledge paths with input texts via latent semantic matching. Meanwhile, knowledge paths with indirect semantic relationships with the input text can also be considered via trained encoding between the selected paths in KG and the input text. Experiments on real-world datasets validate the effectiveness of KELP.
[ 0.0599975102, 0.018712122, -0.0074021751, 0.0709767938, -0.0752315223, 0.0172905512, -0.0462873876, 0.0102234799, 0.0759127811, -0.0776509121, 0.0102271726, 0.0448027775, -0.0316117182, 0.0120185753, 0.0347506814, -0.0104033342, 0.0287745912, -0.0513778031, -0.0194678772, -0.0177767873, -0.0169264507, 0.0495788343, 0.0207799692, 0.0036384619, -0.0229256302, -0.0129556945, 0.0284012519, -0.0317612141, -0.003590622, 0.0121054053, -0.0065367697, 0.0021373164, -0.0077409465, 0.0190429408, 0.0000020199, -0.0515771136, -0.0169800632, -0.0010939249, -0.0119201718, -0.0049460758, -0.0068922061, -0.0030103489, 0.0239549726, -0.0119627714, -0.0204019509, -0.0125764813, 0.0124993958, 0.0812440068, 0.0236254316, 0.0464487933, -0.0124976821, -0.0401028991, 0.007697728, 0.013396143, 0.0230323691, -0.015650006, 0.0900002941, 0.0658402294, -0.0218121633, -0.0236925334, -0.0057636709, 0.0387166329, -0.008717957, -0.0122117791, 0.0520747826, 0.0442647971, -0.0443029702, 0.0204426497, 0.0314725637, 0.111114271, -0.0212303326, -0.0525895245, 0.0305939447, -0.0189939477, -0.0253723338, 0.0543728583, -0.0292142313, -0.0064840652, -0.0310431384, 0.0332199894, 0.0296442937, -0.0359731652, 0.0663057044, 0.0061022481, -0.0458464511, 0.0982212871, 0.0154017415, -0.053995613, 0.0493629128, -0.0043860413, -0.03325703, -0.0322084799, 0.0074622286, 0.0075049601, 0.015932627, 0.0430623293, -0.0105807744, 0.0144904051, 0.0071507725, -0.0942024514, -0.0083200224, -0.0159175862, 0.0004837514, 0.0684825182, -0.0531758368, 0.0315302052, 0.0067889038, 0.0490013175, -0.0451815464, -0.0318369493, -0.0528759025, 0.0142641757, -0.0183237493, 0.0530444197, -0.027332155, -0.0373721384, -0.012269076, 0.0117487535, -0.0535058118, 0.0565766133, 0.0316467918, 0.0111968312, 0.0450673364, -0.0377986059, -0.0213512108, 0.0141806873, 0.0052690478, 0.0114939045, -0.0507845655, 0.0009719823, 0.033147011, 0.0174874645, 0.0252594128, -0.0122374957, 0.0053008138, 0.066572696, 0.0409513116, 0.0028973406, -0.055110842, -0.0481969491, -0.0165372584, -0.060343504, 0.0104567884, -0.0805706456, 0.0351661891, 0.0334837548, 0.0041834149, -0.0597912222, 0.0253189113, -0.0021512667, -0.0808039308, 0.0411469564, -0.0147050405, 0.0240773596, 0.015756581, -0.0066782068, -0.0340079367, 0.0110217668, 0.0088040112, 0.0278921183, 0.0351906866, 0.0080862818, -0.0060096635, 0.034608081, 0.0116515579, -0.0088196192, 0.0050117676, 0.043529246, 0.0450468287, 0.0273230821, 0.0169743821, 0.0517338812, -0.0373959243, 0.0023279183, 0.0498616919, 0.0120228399, 0.0047657746, 0.0085365912, 0.0416708402, 0.0105333952, 0.027962774, 0.0021625068, -0.0385182537, -0.0270095021, -0.0777206868, 0.0119331721, 0.0066511407, 0.0083144829, -0.0054501607, -0.0049425736, -0.0073103192, -0.0250630919, 0.0297948401, 0.0439431593, 0.0816570371, -0.0015896829, -0.0477922074, 0.0678974986, 0.0777601972, 0.023318436, 0.0193373431, -0.0154207218, -0.0035350651, 0.0647500604, 0.0438763723, -0.0161314122, 0.0098489085, 0.0259253979, -0.0373711586, 0.0061856811, 0.025606079, -0.0549428836, -0.0373946726, -0.0416329987, -0.0354770608, -0.0000724957, -0.0037380471, -0.0017153448, 0.0265170354, 0.0059306724, 0.0156193981, -0.0551933497, -0.0475157946, 0.0359440446, -0.0340225138, -0.0085287364, -0.0127070462, -0.0116514955, 0.0098408042, 0.0047643892, -0.0073427912, 0.012374701, 0.0247508194, -0.0264450405, -0.0661279932, 0.00673358, -0.010691124, -0.0508044884, 0.0432018824, -0.0103902128, -0.0261764564, 0.004088596, -0.0406497866, -0.0174569096, 0.0051935655, -0.0066035851, 0.0670560598, -0.0200976934, 0.0268270839, 0.0138657223, -0.0413875543, -0.0346671417, 0.0802777559, -0.0005995405, 0.0226892699, -0.0056495359, -0.0378438905, -0.0146761192, 0.0157947876, -0.0235178079, 0.0312836468, 0.0255319644, 0.0273234472, 0.028718248, -0.0464708768, -0.0551046878, -0.0227728076, -0.0858578011, 0.0072863367, 0.0051246579, -0.0129892826, 0.0056132833, -0.01741096, 0.0102991126, 0.0056547234, -0.0178171601, 0.0321012288, -0.0062093153, 0.0011814589, -0.0172971189, 0.0011246414, 0.0236615203, 0.0008750514, 0.0037709079, -0.0217167828, 0.0675891563, 0.0031708959, -0.0314817503, -0.0367885605, 0.0671574324, -0.0429056473, 0.0219422616, -0.0340096578, 0.0139617156, -0.0630839542, -0.0166865587, 0.0148923639, 0.010465798, -0.0336158946, -0.0072645834, 0.0607368723, -0.0225942433, -0.0297056641, -0.0110457567, -0.0442725047, 0.0018666548, -0.0773842409, -0.0161195006, 0.0009564004, -0.0131123662, 0.058040753, -0.0036959017, -0.0548478477, 0.0061000888, -0.0503282212, -0.0073449598, -0.0321489722, 0.005625959, 0.006862158, 0.0040633152, -0.026225334, -0.0137593187, 0.058157403, -0.0182368811, 0.0438835546, 0.0006352764, 0.0211416744, -0.0143162981, 0.053311009, 0.0230928864, 0.0263340175, -0.0106962388, 0.0188068468, -0.0007348677, -0.0277629923, 0.0161470175, -0.0439639166, 0.0644592419, -0.0428480394, 0.0336683877, 0.0423152596, -0.0126820542, -0.047721304, -0.0196031462, -0.0210286845, 0.0205103382, -0.0121322758, -0.0009356121, -0.009134992, -0.0032241477, 0.0308141466, 0.010528367, 0.0000865407, -0.0126729188, -0.0284863617, 0.0218380932, 0.0946777388, -0.0284993667, 0.0392917469, 0.0074324659, 0.0266483165, 0.0597278923, 0.0136250025, -0.010367739, -0.011093325, -0.0006309832, -0.0078388266, -0.058433935, -0.017806476, 0.012344053, 0.0208650567, -0.0325118192, 0.0362265073, 0.1202529594, 0.0146397175, -0.0148880612, 0.0052082902, 0.003109379, -0.0107492451, 0.0201899204, 0.0224357136, -0.0594938397, -0.0055211275, -0.0081297727, 0.0083105071, 0.0019554591, -0.0619643927, 0.0159107149, -0.1301526576, 0.0324310586, 0.0227376036, 0.019470783, -0.0802865177, -0.0582381412, 0.0135894408, -0.0036936577, -0.0206486788, -0.0212477725, -0.0257038567, -0.0186302029, 0.0138392784, -0.0316609889, -0.037851613, 0.0651943088, -0.0148633858, 0.0376153477, -0.0074347761, 0.061115481, 0.0141931344, -0.0034376583, -0.0121674379, -0.0181488246, -0.0234667119, -0.0112826973, 0.0299131926, 0.0081849843, 0.0121660084, 0.0017922611, 0.0054707243, -0.051250048, -0.0096494956, 0.0152874617, 0.1122144088, -0.0254523437, -0.0474218689, 0.0304332227, -0.0165568572, -0.007764345, 0.0894867927, -0.0107851708, 0.0261936411, -0.0402495675, -0.0086390013, -0.0172847752, 0.0275103953, -0.0478808694, 0.0506278425, -0.0240095481, 0.0292485487, -0.0789910853, -0.0302585103, 0.064780429, 0.0164495036, 0.0069340421, 0.0664177835, 0.0486523807, -0.0283121727, -0.036998976, 0.0120731518, -0.0855698287, 0.0026341432, 0.0227405056, -0.0232020151, 0.0346284807, -0.0431569815, -0.02820649, 0.0268532131, -0.0474166982, -0.0735756308, -0.0046997406, -0.0001745822, 0.0152915912, 0.0978205428, -0.0324465632, -0.0060343617, 0.066865392, 0.0058829854, -0.0342058241, 0.0188467745, 0.0070483182, 0.0081667844, -0.0052601607, 0.043726448, -0.064518705, -0.0107294051, 0.0344706625, 0.03896074, -0.0301008783, -0.0485394076, 0.0235505514, 0.0673025772, 0.0062487628, 0.0133263804, 0.0094986176, -0.0539446175, 0.0015441501, -0.0295990873, -0.0430550016, -0.0313577913, -0.0031565565, 0.034435913, 0.0216035489, 0.0066044102, -0.0458044298, 0.0145847006, 0.0083389375, -0.0559025519, -0.0572158657, 0.0333429761, 0.0131690167, 0.0715472028, -0.0262974948, -0.0329087265, 0.0143448478, 0.0162797645, 0.0129629122, -0.0434837304, 0.0293436404, 0.0143661806, -0.0405604355, -0.0616764799, -0.0236467738, -0.0253432132, -0.0760183185, -0.0173903164, 0.0676793605, 0.0707696751, -0.0259261969, 0.0697636008, -0.0577753969, -0.0259360876, -0.0199141242, 0.0151362158, 0.0352391154, -0.0272163264, 0.0151945641, 0.0190534145, -0.0313868672, 0.0207642093, 0.0526366942, 0.0266304631, 0.0993663594, -0.0020472833, -0.0544121154, -0.0455796495, -0.0450839624, 0.0094067398, 0.0215511564, -0.0332481973, 0.0142699769, -0.0691383556, -0.0896777064, 0.0231089909, -0.0181979425, -0.0386192203, -0.0092273904, 0.0385954864, 0.0529292412, 0.0328272283, -0.0324320234, -0.0569778159, 0.0044884519, -0.0138956299, -0.0003738654, -0.0265369453, -6.331693057e-33, -0.0052719885, -0.0236776248, 0.0303114168, 0.0163180064, -0.031312108, 0.0140348459, -0.0193501264, -0.046162799, -0.014663795, 0.047315564, 0.0104812626, -0.0325128101, 0.0050459099, 0.0076803146, -0.0113176908, -0.0219638292, 0.0172306076, 0.0116565945, 0.0158496778, 0.0474113896, 0.0574702621, 0.0160592403, 0.0526660047, -0.0675461367, 0.003651001, -0.0188087169, 0.0185132176, 0.0127628995, 0.016296329, 0.0277945418, -0.0484138094, 0.0714513734, 0.0266749691, -0.0175528526, 0.0031102991, -0.0402055643, -0.0805403516, -0.0189736504, 0.030767208, -0.0029063746, -0.0128257573, -0.0065196268, 0.0423929431, -0.0111040073, 0.0282278247, -0.0225157663, 0.0585173294, -0.0182260275, -0.0482468568, -0.0153389415, -0.0744232312, 0.0186185353, 0.019195959, 0.0117237549, 0.0051196218, -0.0057561416, 0.0010852233, 0.0032939913, -0.0770723149, 0.0080651259, -0.0169367902, 0.0079253484, 0.0434964336, 0.0033168381, 0.0476500988, 0.0784581974, -0.0300854091, -0.0156243807, -0.0072854059, 0.0090255989, 0.0123736039, 0.0694293156, -0.0311307143, 0.0107295783, -0.0259496514, -0.0110995788, -0.0767080188, -0.0179823022, 0.005564821, 0.0087340092, 0.0195652302, -0.006503175, -0.0446159132, -0.0283583254, -0.0491914861, 0.0208789892, -0.0059316563, -0.0148303378, 0.0156165687, -0.0114471829, -0.0093975877, 0.001866438, 0.0029680571, -0.0706411153, -0.0276455488, 0.0694771931, -0.0313143134, 0.0134246191, -0.0288054142, 0.033251185, -0.0751006305, -0.0481368825, 0.0003986665, -0.0323615819, 0.0103170043, 0.032688003, -0.0027163094, 0.0025129095, -0.0186482035, 0.0052428618, -0.0716239735, -0.0342116207, 0.0103350207, -0.0054633529, 0.045415774, 0.0482761562, 0.0115476428, -0.0100415116, 0.0495104641, 0.0215809084, 0.0318836868, 0.0273267925, 0.0083970055, -0.005938102, -0.0213620458, -0.0167922881, -0.0254453663, -0.0039158096, 0.0149521576, -0.0360723101, -0.0010935779, 0.0219051633, 2.915e-7, 0.0361126512, 0.0314268135, -0.0200395919, 0.0452714376, 0.0124009829, 0.0217560008, 0.0070367767, 0.0076061389, 0.0304424036, -0.0460741706, 0.0142843938, 0.0223291218, 0.0160074476, 0.0272388924, -0.0853006467, 0.0256477315, -0.0127579551, -0.0624721311, -0.0488189198, -0.0032250215, 0.0560789146, 0.051740814, 0.0536545925, 0.0010565218, -0.0323590934, -0.0724943578, 0.0543640554, -0.0011214538, -0.0256931204, 0.0401903242, 0.0400585383, 0.0052986364, -0.0088319378, 0.0683599785, -0.0018863153, 0.019535888, 0.02167565, 0.0557311326, -0.0089377649, -0.0152554959, -0.0427381247, -0.0456522107, 0.021126505, -0.0797085091, 0.0907090083, -0.0469062142, -0.0193571579, 0.0075877146, -0.0373201109, -0.023928659, 0.0036143286, 0.0121693285, -0.0103561822, 0.0280374624, 0.0238729957, 0.0065915589, -0.0333155766, -0.0644933507, 0.0037009108, 0.0203516074, -0.0365543105, -0.0298266802, 0.0088312095, -0.0185179077, 0.0309598353, -0.0734793991, 0.0411246717, 2.898644173e-34, 0.0138680162, 0.0169389304, -0.0306924898, -0.0221376568, 0.0441812463, -0.0162377544, -0.0040740571, 0.0306675825, -0.0336932763, -0.0999114364, 0.0148660075 ]
http://arxiv.org/abs/2406.15507v1
http://arxiv.org/pdf/2406.15507v1
Few-shot Knowledge Graph Relational Reasoning via Subgraph Adaptation
2024-06-19T21:40:35
2024-06-19T21:40:35
Haochen Liu, Song Wang, Chen Chen, Jundong Li
cs.CL
cs.CL, cs.LG
Few-shot Knowledge Graph (KG) Relational Reasoning aims to predict unseen triplets (i.e., query triplets) for rare relations in KGs, given only several triplets of these relations as references (i.e., support triplets). This task has gained significant traction due to the widespread use of knowledge graphs in various natural language processing applications. Previous approaches have utilized meta-training methods and manually constructed meta-relation sets to tackle this task. Recent efforts have focused on edge-mask-based methods, which exploit the structure of the contextualized graphs of target triplets (i.e., a subgraph containing relevant triplets in the KG). However, existing edge-mask-based methods have limitations in extracting insufficient information from KG and are highly influenced by spurious information in KG. To overcome these challenges, we propose SAFER (Subgraph Adaptation for Few-shot Relational Reasoning), a novel approach that effectively adapts the information in contextualized graphs to various subgraphs generated from support and query triplets to perform the prediction. Specifically, SAFER enables the extraction of more comprehensive information from support triplets while minimizing the impact of spurious information when predicting query triplets. Experimental results on three prevalent datasets demonstrate the superiority of our proposed framework SAFER.
[ 0.0587610006, 0.0034344578, 0.0066409023, 0.0438524447, -0.0450538248, 0.0189401116, -0.0094123054, 0.026967518, 0.0049481727, -0.0588940904, -0.0141426194, 0.0237388201, -0.0364869311, 0.0084450347, -0.0053821434, -0.0350758806, 0.059619423, 0.0080029657, 0.0253485683, 0.0096272845, -0.0154798105, 0.0471540913, -0.008979639, -0.0288902521, -0.005181097, 0.0139680905, 0.0294631589, 0.0513170063, 0.0155284973, -0.0319984704, -0.0125584947, 0.0322655812, 0.0089551033, 0.0083585922, 0.0000018148, -0.0374630168, -0.026063066, 0.0085892593, -0.0476953536, -0.0630092397, 0.0175897237, -0.0568099618, 0.04108271, -0.0125173554, -0.0541040003, -0.0332987271, 0.0137785794, 0.0404851884, 0.0011839436, 0.071209982, -0.0240559541, -0.0331498235, -0.0271832775, -0.0104415808, 0.0431360267, -0.0402834676, 0.0341813639, 0.0106250905, 0.0126828933, -0.0313949622, -0.0237407312, 0.0167227257, -0.0017678371, 0.005034579, 0.0453647114, 0.0182647984, -0.0787904114, 0.0140830176, 0.0142563665, 0.0969038382, -0.0313362293, 0.0122818444, -0.0236837883, -0.0246386211, -0.0149224196, 0.0375053249, -0.0111365672, -0.0677498654, -0.0265479218, -0.0023077657, -0.0422022492, -0.0156692695, 0.0339088179, -0.0103832586, -0.0289675556, 0.0732422248, -0.0201108698, 0.0019940748, 0.0342763141, 0.0085815415, -0.0458637178, -0.0123751136, -0.0076265, 0.0199289098, -0.0132159619, 0.0658634603, -0.0194566231, -0.0065475861, -0.020245811, 0.0165733024, -0.0057041952, 0.0234674122, 0.0250553004, 0.0626008511, -0.058323577, -0.001125778, 0.0067112246, 0.0270715542, -0.0179221239, -0.0032867044, -0.0820275024, -0.0027104779, -0.0587060861, 0.051159855, -0.0206022486, 0.023436347, -0.0421008505, 0.0011122681, -0.0045504132, 0.0175562687, 0.046250049, 0.0385416448, 0.0033932053, -0.0312618315, -0.0254664551, 0.0527109504, -0.0222258046, 0.0184720028, -0.027178647, -0.0196677987, -0.0033271867, -0.0180736538, 0.0351486988, -0.0809438601, 0.0060229395, 0.0598879233, 0.0595567338, -0.036211215, -0.0471297987, -0.0507320128, -0.0174736809, -0.0275072679, 0.0523318537, -0.0184856895, 0.0554225594, 0.0003849302, 0.0017343332, -0.0119376136, 0.003390901, -0.0084645171, -0.0619620644, 0.0916634575, -0.0536781214, -0.0206728466, -0.0576565266, 0.0187185742, -0.017258836, 0.0517524891, 0.0272650234, -0.0087902006, 0.0288158227, 0.0023171729, -0.0549610667, -0.0182519108, 0.0612887368, -0.0163615886, -0.0105021838, 0.0195437483, -0.0328672491, -0.0124134207, -0.0069272514, -0.0057295146, -0.0141727841, -0.066547133, -0.0053903866, -0.0214252472, -0.0019803825, -0.000802888, 0.0255599152, -0.0097721973, -0.016412681, 0.0242367629, -0.0696709305, 0.0319518186, -0.0444463976, -0.0033095537, -0.0443025529, 0.0047068079, -0.0103651825, -0.0019778926, 0.0065257121, 0.0121513, -0.0282426178, 0.0178652592, 0.0671824962, 0.0260849763, -0.0207097661, 0.0077742282, 0.0486295521, 0.005437722, 0.0267470852, -0.0022406138, -0.0381887592, 0.074752368, 0.0651398078, -0.0488519371, -0.0488111824, 0.022183599, -0.0131109329, -0.0253775902, 0.0176940951, -0.037105348, 0.0171735585, -0.0345086455, -0.0665854961, 0.006184605, -0.0246836543, 0.0086120991, 0.0189135727, -0.0029874824, -0.0013470814, -0.0904541537, 0.0542376935, -0.0183057431, -0.0319848955, -0.0184543487, 0.0162362922, 0.0299365968, -0.0061911065, 0.0377959795, -0.0039607696, 0.0011538692, 0.0036840218, -0.0173664372, -0.0027460898, 0.0142750321, -0.025277691, -0.0937509164, 0.0415094532, -0.0125361048, -0.0198664945, -0.0185009651, -0.0486457497, -0.0345725976, 0.0224159602, 0.0225582719, 0.0782403722, -0.0012851104, -0.0351529121, 0.0248072203, -0.021819409, -0.0234721769, 0.0748471841, -0.0059369328, -0.029957572, 0.0107884994, -0.0817436576, 0.025002867, 0.022503797, 0.0055934656, 0.0316430815, -0.0035329356, -0.0167833269, -0.0099159973, -0.0074804774, -0.0901329815, 0.0281152297, -0.0331358798, 0.0222301111, 0.0253915824, 0.025145445, -0.0208468046, 0.028792439, -0.0088201482, -0.0345360599, -0.0088742804, 0.0416158661, -0.0141690262, 0.0031172885, 0.015214812, 0.0310506839, 0.015637666, 0.0117109241, -0.0477401242, -0.0377002507, 0.061031919, 0.0061347559, -0.0293320976, 0.0639628246, 0.0443546027, -0.0540477708, 0.0358022787, -0.0075534685, 0.0322469585, -0.0491252728, -0.0278942063, -0.0327761844, 0.012423736, -0.0555076003, -0.0135104451, 0.0346864276, -0.0153720584, -0.0280392505, 0.0174534526, -0.0456763357, -0.0000842705, -0.0214174613, -0.0090690572, -0.0557699017, -0.0211122315, 0.0154021671, -0.0373323075, -0.0773925036, 0.0243082382, 0.0142776212, -0.0225245617, -0.0311701801, 0.0364526846, 0.067978099, 0.0037222407, -0.052020032, 0.0372626297, 0.0802162662, 0.0455709659, 0.0350070447, 0.0112184929, 0.0302405227, -0.0201490205, 0.067483291, 0.0022774914, 0.0224955734, 0.0367578752, -0.0187813547, -0.0688282698, -0.069910571, 0.0582946986, -0.0046255267, -0.0166047215, -0.0287757143, 0.0392489098, 0.0052457564, -0.0199226066, -0.0131825525, -0.0021257675, -0.0458927564, 0.0476239137, -0.0474292077, -0.0137241865, -0.0055067488, -0.0113123171, 0.0024282099, 0.003919418, 0.0089477655, -0.0436354838, -0.0042881402, 0.0352256149, 0.0492739417, -0.0319187418, 0.0092866225, 0.0204963628, 0.0446838066, 0.0367873386, 0.0496684089, -0.0041868603, -0.0095744571, 0.0293435734, -0.0081015425, -0.0156492628, 0.0006681292, -0.0293176118, 0.0119101461, -0.0555139408, 0.0225348491, 0.0783096999, 0.0309530199, -0.0293279178, -0.0076595014, -0.0052754632, 0.0066344813, 0.0461514555, 0.0250096861, -0.1099910662, -0.0457969494, -0.023275679, 0.0271189455, 0.0239849444, -0.0937965214, -0.0138229672, -0.1007530689, 0.0207071863, 0.0179086588, -0.0164176784, -0.0262761563, -0.0302671995, 0.033142589, -0.0182951726, -0.0307637602, -0.0074370801, -0.0339695252, -0.0034343547, 0.0082365517, 0.0180150028, -0.0568870008, 0.0390148312, -0.006489391, 0.0139373941, 0.0013991626, 0.0253521781, 0.0133398538, 0.0503792055, 0.0015936148, 0.0050759264, 0.0285289437, -0.0376509875, 0.0732076988, -0.0204230808, 0.002913259, -0.0033950175, -0.0328473002, -0.0574431419, -0.0288383197, -0.0038281551, 0.0838389546, 0.0004822596, -0.0270361174, -0.0217703357, -0.0049913819, -0.0021912912, 0.0371266343, 0.0073895925, 0.0348769166, 0.0101842666, 0.0123985196, -0.0048910053, -0.0666469187, 0.0197607111, 0.0389883481, -0.0495109595, 0.0054860371, -0.0257012807, -0.029661607, 0.0722507685, 0.0262460504, -0.0024535004, 0.0173157454, 0.0485229827, 0.0119018676, -0.0863508955, -0.0207739025, -0.0515625663, 0.0165614411, 0.0464211889, 0.0376585163, 0.0247099362, -0.035610918, -0.0148022436, -0.0668976605, -0.0055166101, -0.0416707732, -0.0381493829, 0.0532860085, 0.0160945524, 0.0636709481, -0.0102384677, -0.0216972586, 0.0316012725, 0.0891170874, -0.0134960497, -0.0116214622, 0.0219661556, -0.0583000518, -0.0190057177, 0.0365298539, -0.0486666597, -0.0110146413, 0.0311383903, 0.033867944, -0.0596391298, 0.0389325395, 0.0387997814, 0.0350700356, 0.0358818322, 0.0080368835, 0.013074738, -0.0504070371, 0.0334756859, -0.0309879556, -0.0264883861, -0.0226050522, 0.0096281795, 0.0107607879, -0.0203428939, -0.0158248805, -0.044092223, -0.0378112905, 0.0260780044, -0.016449092, -0.0133522339, 0.0271280985, 0.0013112471, 0.0308208484, -0.025921816, 0.0008186886, 0.0226081461, 0.035675846, 0.000956392, -0.0416260064, 0.0135485185, 0.0323304087, -0.0315483771, -0.0372905061, 0.0013499743, -0.0439929441, 0.0438033454, 0.0014888598, -0.0106029436, 0.0490859412, -0.0158177949, -0.0068665496, 0.0130478451, -0.0155363306, 0.0044330554, 0.0536824688, 0.0006624397, -0.0054766992, 0.0478841774, 0.0322899409, 0.0069037606, 0.0198298302, 0.0434126295, 0.0089659784, 0.0970256329, 0.0373504423, -0.0581522435, -0.0340695009, -0.0402417891, 0.0046722055, 0.0511933193, -0.0151182069, 0.0641673878, -0.0892872885, -0.0970313549, -0.0121487128, -0.0327688009, -0.0128781851, 0.0375786088, 0.0168497786, 0.0072800401, 0.0544582047, -0.0615092926, -0.0223614834, -0.0046087652, -0.0525159836, 0.0015990101, 0.0481865518, -6.061881839e-33, -0.038111981, -0.0473511517, 0.0296988003, -0.0352808721, -0.0276488774, -0.0017563897, -0.0277262405, -0.0492319539, -0.0661833808, 0.0120379245, -0.0393137634, 0.0202428866, 0.014559947, -0.0043645562, -0.038373746, -0.0238409061, 0.0079051405, 0.0056672962, 0.0238084085, 0.0145373363, 0.0398055911, 0.0529495589, 0.0748676062, -0.0804151446, -0.0015528325, 0.0270701461, -0.0133315399, 0.0451892577, -0.0121625904, 0.0460128114, 0.0203394946, 0.0561987944, 0.0379040018, 0.0261646658, 0.0088374475, -0.0407278687, -0.1215604618, -0.0578986369, 0.0115091344, 0.0213953555, -0.0313745104, 0.0090596387, 0.0119117526, 0.002335778, 0.0771713927, -0.0858616605, 0.0403564796, -0.0434146449, -0.0529335402, -0.0349508598, -0.018494973, 0.0402542204, 0.0088243745, 0.0111324312, 0.0407967642, 0.0393785797, 0.0362311006, -0.0114302132, -0.0169267878, 0.0132540492, -0.0215328969, -0.0075869639, 0.0175073016, -0.0047357273, 0.0054619405, 0.0487093702, -0.0062944582, 0.0045497171, 0.0151643259, 0.0011509922, -0.0088608349, 0.0753955096, -0.027996663, 0.0557948947, 0.0403644778, 0.0006854221, -0.0946815684, -0.0348585211, -0.0012434756, 0.0447426401, -0.0231220331, 0.004076079, -0.0443887785, -0.028170485, -0.0064056166, -0.0113220401, -0.0506098606, -0.0300620925, 0.0169071145, 0.0035897084, -0.0188004859, 0.0537957735, -0.0099381516, -0.05591961, 0.0007817738, 0.0568017513, 0.016727794, -0.0013018907, -0.0077981339, 0.0405158103, -0.0067061717, -0.0458655246, 0.0310046803, -0.0274400376, 0.0281526484, 0.0219129287, 0.0873444006, 0.0184923224, -0.0287561119, -0.0299455598, -0.0383367091, 0.0135395303, -0.0258642826, -0.0454827994, 0.0044476232, 0.0752232596, 0.0054666339, 0.0200593248, 0.0628394112, -0.0129884481, 0.0144115221, 0.0729023218, -0.0014799634, 0.029263176, 0.0099737737, -0.0112057971, 0.0155094778, -0.0400523841, 0.0413671099, -0.0196414404, -0.041334819, 0.0092410482, 2.692e-7, 0.0543080121, 0.0303938612, 0.0172424652, 0.0489084348, 0.001278556, 0.0395582542, -0.0021923587, 0.033476118, 0.0198056754, -0.0103630638, 0.0803598762, 0.0209531672, -0.015552382, 0.0517368652, -0.0160886422, 0.0260800999, -0.0008364148, -0.0688834637, -0.0277307797, -0.0072220522, 0.0778138191, 0.0408208631, 0.0506889708, -0.0087772105, -0.0281609129, -0.0641338974, 0.0353730768, -0.0059723728, -0.0012451349, -0.0076572369, 0.0149141746, 0.0284722392, -0.013028997, 0.093911916, -0.0275557507, 0.0197701138, -0.0010360751, 0.0433648825, -0.0492463149, -0.0082968175, 0.0076022269, -0.0197312776, 0.0334275961, -0.0053549353, 0.0996223986, -0.0459299311, -0.0018383043, 0.0333387628, -0.0370574594, 0.0053014173, -0.0160556361, 0.0158233047, -0.0047305585, -0.0054033245, 0.0277802777, 0.0285568293, -0.0258220546, -0.0656491145, 0.0231656563, 0.0443359427, 0.0324657559, -0.0294985045, 0.0267443229, -0.0218311548, 0.0098681329, -0.0510110371, 0.0105190761, 2.317940321e-34, 0.0239187516, 0.0097909421, -0.0054227635, -0.02443894, 0.0292363428, -0.0433528684, -0.0457875542, -0.0099328589, 0.0449365787, -0.0781811848, -0.0072234576 ]
http://arxiv.org/abs/2406.13858v1
http://arxiv.org/pdf/2406.13858v1
Distributional reasoning in LLMs: Parallel reasoning processes in multi-hop reasoning
2024-06-19T21:36:40
2024-06-19T21:36:40
Yuval Shalev, Amir Feder, Ariel Goldstein
cs.CL
cs.CL
Large language models (LLMs) have shown an impressive ability to perform tasks believed to require thought processes. When the model does not document an explicit thought process, it becomes difficult to understand the processes occurring within its hidden layers and to determine if these processes can be referred to as reasoning. We introduce a novel and interpretable analysis of internal multi-hop reasoning processes in LLMs. We demonstrate that the prediction process for compositional reasoning questions can be modeled using a simple linear transformation between two semantic category spaces. We show that during inference, the middle layers of the network generate highly interpretable embeddings that represent a set of potential intermediate answers for the multi-hop question. We use statistical analyses to show that a corresponding subset of tokens is activated in the model's output, implying the existence of parallel reasoning paths. These observations hold true even when the model lacks the necessary knowledge to solve the task. Our findings can help uncover the strategies that LLMs use to solve reasoning tasks, offering insights into the types of thought processes that can emerge from artificial intelligence. Finally, we also discuss the implication of cognitive modeling of these results.
[ 0.0368167311, 0.0201960597, -0.0375728644, 0.0372488052, -0.0563985519, 0.0355182439, -0.0056871898, -0.032015916, 0.0081087658, -0.0467528217, -0.0288199037, -0.0175021514, 0.0001587653, -0.0042099026, 0.0472558364, 0.0348194316, 0.0283790044, -0.0379693098, -0.0100401985, -0.0127899302, -0.0410152562, 0.0310432911, -0.0161123089, 0.0424641706, 0.0008998689, -0.0065430654, -0.0276107695, -0.0215304047, -0.0323689021, -0.0130414758, -0.0265097767, 0.0097370045, 0.0472377688, 0.0379557349, 0.000002117, -0.0435134172, -0.0033628063, -0.0115044136, -0.0341395363, -0.0364395119, -0.0297730155, 0.00322647, 0.0043610488, 0.0098054484, -0.01954614, 0.0126629118, 0.0353526175, 0.0622503273, 0.0095600374, 0.0377239473, 0.0033485328, -0.0845780373, 0.0032305068, 0.0081494367, 0.0225873888, -0.0200431589, 0.0419854298, 0.0436940677, 0.0229365509, -0.0002867102, -0.0388856903, 0.0189611521, 0.0492326766, -0.0210356005, -0.029261617, 0.0384864621, 0.026680408, -0.0391291082, 0.0109899854, 0.0630961135, -0.0147110987, -0.0239338595, -0.0022176574, 0.0100476826, -0.0077809314, 0.0408468246, -0.0488675646, 0.0455081873, -0.008548704, 0.0228988416, 0.0400751606, -0.0335845053, 0.0622810721, -0.0176148545, -0.0690299496, 0.1258321553, -0.0043125497, -0.0219122227, 0.0200599469, -0.0055117602, 0.0017940488, -0.0685581118, -0.0026388757, 0.0553406663, -0.0162284952, 0.0294140074, 0.046943482, 0.029876424, -0.0027291796, -0.0403746814, 0.0564273484, 0.0540343113, 0.0182250664, 0.054918699, -0.0569243729, 0.0154504851, -0.0593400486, 0.0517033935, -0.0368631594, -0.0214589294, -0.0539684631, -0.0421933681, 0.0091572143, 0.0666169003, -0.0196426678, -0.0323469676, -0.0208010394, 0.0544428155, -0.0201197527, -0.0037935339, 0.0224963371, 0.0201365929, 0.0378569737, -0.0077346428, -0.0628740117, 0.0079107042, -0.0279394649, 0.0450338013, -0.0139059834, 0.0048026191, -0.0232848302, 0.0127442935, -0.0163610559, -0.0354955085, -0.0064267302, 0.0879570246, 0.0121367024, 0.0058593713, -0.0525143966, -0.0497014783, -0.0195812955, -0.0501482375, 0.0589043722, -0.0556962751, 0.0153448116, 0.0315339826, -0.0140877254, -0.0226999279, 0.0006611956, 0.0076863975, -0.0601825379, 0.0855640918, 0.0547910258, 0.0195386782, 0.0316515416, 0.0047694193, -0.0313409418, 0.0537690707, 0.0230670776, 0.0000759479, 0.0077455915, 0.0070809014, 0.0068235868, 0.0068717659, 0.0278114006, -0.0329915807, -0.0327233709, 0.0059413989, -0.045475401, 0.0394894518, 0.0142712835, 0.0346204862, -0.0352553278, -0.0512569696, 0.0131052993, 0.0821526721, 0.0510751419, -0.0021227864, 0.0940172747, -0.0391533785, -0.0240357872, 0.0533937477, -0.0548301265, 0.0684204698, -0.026174292, -0.0172835272, 0.0053625559, -0.0119218919, -0.0313138403, -0.029864138, -0.0290577617, -0.0066574942, 0.0088451663, -0.0151513852, 0.0435666628, -0.0025863568, -0.0274823364, 0.0648356155, 0.0118930908, 0.0042057596, -0.0021329322, -0.0623361915, 0.032510072, 0.0384965017, 0.0411685295, 0.0177474692, 0.0004743504, -0.0023945665, 0.0074339868, 0.0234688818, 0.0132671632, -0.0258833356, -0.0292317625, -0.0274037588, -0.0107643008, -0.0447143316, 0.0186526235, 0.0064199176, -0.0479559824, -0.0356187597, -0.0009571207, -0.0416390784, 0.0331056193, 0.0170758329, -0.0399434157, 0.0175777171, -0.0261222627, 0.0263182316, 0.0132660596, -0.0003496713, 0.0143685341, 0.0562735982, 0.0172937792, -0.0191037748, -0.0591869727, 0.034601789, -0.028877642, -0.0403320156, 0.0102230627, -0.0341462977, -0.0055338489, 0.000072652, -0.0005918948, -0.0243825894, 0.0719359741, -0.0272477567, 0.0518948957, -0.0574142039, 0.007930723, 0.0140233422, -0.0249444712, -0.0136124622, 0.0622543432, -0.0098592807, 0.0285923518, 0.0037071346, 0.0288309101, 0.0279236659, 0.0157837439, 0.0138281463, 0.0168852489, 0.0075422423, -0.0167769138, -0.0389092043, -0.0308422316, -0.0455979593, -0.0192256626, -0.0455221683, -0.000789795, 0.005955576, 0.0141132623, 0.0325908214, -0.0248738658, 0.0346443579, 0.0250836406, -0.0172564462, 0.0264416952, 0.0075154849, 0.036464233, 0.0543679222, -0.023497818, -0.0069415439, -0.014314495, -0.0162091181, -0.0636849627, 0.0958452374, -0.0094812652, -0.0039358544, -0.0370808244, -0.0105902953, -0.050007619, 0.0223850701, -0.0202500708, -0.033615984, 0.033701811, -0.0217076335, 0.0239797905, 0.049777586, -0.0102849761, 0.06120364, 0.0630568638, -0.0202145092, -0.0374811888, 0.0133502455, -0.0617406182, 0.0046092635, -0.0448067449, -0.0230528899, -0.0492597185, 0.0852553472, 0.0272274856, -0.0224525984, -0.0478429049, 0.0468506441, -0.0230753478, -0.0074218088, -0.0476026051, -0.0245650746, -0.0002889388, 0.0684465319, 0.0008491553, -0.0090182656, 0.0982687771, 0.0007381186, 0.0105902189, -0.0114514194, -0.0035720391, -0.0401460454, 0.0728123635, -0.0147839114, 0.0052141552, -0.0202739183, -0.0201343559, -0.0688227639, -0.0190747194, -0.0068448782, -0.0054769628, 0.005413644, -0.0334468596, 0.0041624443, 0.0001509635, 0.0019668401, -0.0174516886, 0.0134816803, -0.0406103544, 0.0317257717, 0.0047641871, -0.0037657213, -0.0104459319, 0.0133028403, 0.0058343057, 0.0002686302, -0.0262153912, -0.0141944317, -0.0290950164, 0.027308898, 0.020899063, 0.0144788278, 0.043989446, -0.0185135566, 0.0353527591, 0.0479199477, -0.0163571537, 0.0247683953, -0.0065327119, 0.0252384078, -0.0008677928, 0.0089795999, -0.0221988838, -0.0175227765, 0.0328341573, -0.0480472259, -0.0140023204, 0.1073690578, 0.0650307536, -0.030569775, 0.0261837635, -0.0480888411, -0.0192529764, 0.0339708142, 0.0384990051, -0.0750997514, -0.0211154167, 0.0169019382, -0.0425693095, -0.0179056432, -0.0412005819, -0.0272175819, -0.0879455432, 0.0373031348, -0.0256570466, -0.0329755172, -0.0323724672, -0.0274985041, 0.0061498769, 0.0483393408, -0.0177324247, 0.0251952335, 0.0320879035, -0.0103884405, -0.00226877, 0.0162321292, -0.0270566884, 0.0622520819, -0.0102651566, 0.0458344147, 0.0153390933, 0.0496383943, 0.0162600633, -0.0684621409, 0.0807299539, -0.0568733998, 0.00823808, -0.0208068937, -0.0081055323, 0.0111739459, 0.0005398872, -0.008185667, 0.0262791272, -0.0508681238, -0.0168917514, -0.0217596609, 0.1083436459, -0.0605517775, -0.0598234385, -0.0222203191, 0.0487453192, -0.0300247911, 0.0947684944, 0.0474721566, -0.0312958509, -0.0409166738, -0.0469348095, -0.0437241122, -0.0142003335, -0.0215554666, 0.0354719162, 0.0530728474, 0.018227363, -0.0498651974, -0.0309547652, 0.0354171172, 0.0023958667, -0.0008820413, -0.0082432069, 0.0053526759, -0.0274052974, -0.0390231833, 0.0061350949, -0.0136137456, 0.0278409757, 0.011832186, 0.0220299512, 0.037017554, -0.0431295335, -0.0585441291, -0.0393007137, -0.0599287264, -0.0563710183, -0.0436847247, -0.0028827647, 0.0271776132, 0.0180689488, -0.0163626317, -0.034002427, 0.0252254177, -0.0055902526, -0.0171758141, 0.0290260985, 0.0255591515, 0.0104331793, 0.0217632931, 0.0555157252, -0.035826616, 0.0171563402, 0.0233889483, 0.0307202786, 0.0009091319, -0.011390768, 0.0230180249, -0.0259933136, 0.0066432268, 0.0588191003, -0.0003535561, -0.0380453616, 0.0327618234, -0.0233390834, -0.0308346972, -0.0256045721, -0.0087199705, 0.0194778368, -0.0036928295, -0.0075823823, -0.0749475062, 0.0129548497, 0.0403761193, 0.0572574325, -0.0093474798, 0.0478701331, -0.02374883, 0.0093321223, 0.0063306871, -0.0081877271, 0.0015284127, -0.0317424126, 0.0230582133, -0.0141311986, 0.0652551353, 0.0379797928, -0.0149568943, -0.0522694513, -0.0075079938, -0.0705422536, -0.0628919601, 0.0566444173, 0.018513985, 0.0339279771, -0.008623627, 0.0056187897, -0.0210953783, -0.0121331392, 0.0104601001, 0.0199851375, 0.0142793534, -0.0199865606, 0.0749548599, 0.0231511537, -0.0053650639, -0.0264939331, 0.0504282266, -0.016462462, 0.043511413, -0.0448204428, -0.0113993352, -0.0165140834, -0.0385945849, -0.0042680399, 0.0528726727, -0.0076751043, 0.0345160402, -0.0721898079, -0.084026508, -0.0204377696, 0.0473992266, -0.0128739355, -0.0255926661, 0.0003053882, 0.0873163417, 0.0387762412, -0.021192329, -0.0237291213, -0.0192496758, -0.0062420736, -0.0088320486, -0.0167165734, -6.602300673e-33, 0.0064015519, -0.0753242895, 0.0560389943, -0.0084792394, -0.0162136629, -0.0080112964, -0.0416170843, -0.0116104865, -0.0556470901, 0.0299587715, -0.001254768, 0.0155132683, -0.0094757909, 0.0220120195, 0.0188938472, -0.0062229806, -0.0129613811, -0.0084191673, -0.0004901919, 0.0016746134, 0.0585934892, 0.0009270785, 0.0187398121, -0.0034768372, 0.0263253842, 0.0183129087, 0.0221824609, 0.0589479059, -0.0590188466, 0.0459240116, -0.0189964809, 0.0065015168, 0.0582481399, -0.0201156847, 0.0160232093, 0.0250659101, -0.0464410596, -0.0484008715, 0.0766078383, -0.020733973, -0.0596282333, -0.0268448349, 0.0463991724, -0.0030008124, 0.0102881081, -0.0418391339, 0.0246705338, -0.0106042577, 0.0177703071, -0.0009877165, -0.0612217374, -0.014674481, -0.0260876268, -0.0117101558, 0.0113815144, 0.0173178501, 0.0014728619, 0.048135709, -0.0670403242, 0.0235909987, -0.0604514182, -0.0069283154, 0.0640483126, 0.0059761098, 0.009495629, 0.0604603775, 0.0020671249, -0.0257984586, -0.0652510971, -0.0013323332, 0.0163549241, 0.0412366837, 0.0326969326, -0.0261872169, 0.0080085732, -0.0009098237, -0.0837915018, -0.02727242, 0.0042643012, 0.0074064918, 0.0666574836, 0.0054104226, 0.0196152739, -0.0293317847, -0.063934572, -0.0071490603, -0.0515010506, -0.0372152962, 0.0220351685, -0.0341207795, 0.0031545337, 0.0015984868, 0.0191464424, -0.0622037426, -0.0185072049, 0.0167102125, -0.0073127924, 0.0061866934, 0.0089689642, 0.0370931216, -0.0370245576, -0.0063834647, -0.0212845057, 0.0063478691, 0.0009223162, 0.0482061841, 0.0195609182, 0.0067136236, -0.0150978966, -0.0373561308, -0.0847326145, -0.0408074744, -0.022109542, 0.0206485111, 0.0449582711, 0.0581706092, -0.0251034629, -0.0057231919, 0.0102027394, 0.0317158513, -0.0063287569, 0.0637200549, -0.0267238747, 0.0460397154, -0.0557776578, -0.0318863355, -0.0457932614, 0.0365522355, 0.0449827313, -0.0808351859, -0.0142401764, 0.0151946843, 2.907e-7, 0.0801429451, 0.0418471396, -0.0165151823, 0.0464817807, 0.0627237037, 0.0108059971, -0.0176727008, -0.0176665951, 0.0423655324, -0.0609081089, -0.0074237385, 0.0522495471, 0.0045479126, 0.0371686034, -0.0592224896, 0.0104296673, -0.0310328696, -0.0187958404, -0.016195979, 0.0126364529, 0.077999033, 0.0591493882, 0.0362420641, -0.0222675111, -0.0173701253, -0.0455556884, 0.0547861643, 0.0046137967, 0.0192693509, -0.0165210795, -0.0229458194, -0.0049958886, 0.0261565167, 0.0309931505, 0.0193218756, 0.0152161913, -0.0172835439, 0.0382771008, -0.0004470461, -0.0312103666, -0.0112879071, -0.0320127234, 0.0131976223, -0.0718079358, 0.0877336636, -0.1075441763, -0.0623226166, -0.0170843024, 0.0454956666, -0.0026872978, 0.0013776564, 0.0087716477, 0.0007118527, 0.0070555536, 0.0026981023, 0.007909528, 0.0582994856, -0.1148213521, -0.0144151272, 0.0046342229, -0.0463766754, -0.0393590815, -0.005751349, -0.0354471132, 0.0710908994, -0.04151069, -0.0304565802, 2.78493438e-34, 0.0286572948, -0.0072638281, 0.0227145441, 0.0190517046, 0.027705038, -0.0316001438, 0.0026175037, 0.0050277626, 0.0244959779, -0.0888899416, -0.0401132293 ]
http://arxiv.org/abs/2406.13846v1
http://arxiv.org/pdf/2406.13846v1
Text Serialization and Their Relationship with the Conventional Paradigms of Tabular Machine Learning
2024-06-19T21:19:37
2024-06-19T21:19:37
Kyoka Ono, Simon A. Lee
cs.CL
cs.CL, cs.LG
Recent research has explored how Language Models (LMs) can be used for feature representation and prediction in tabular machine learning tasks. This involves employing text serialization and supervised fine-tuning (SFT) techniques. Despite the simplicity of these techniques, significant gaps remain in our understanding of the applicability and reliability of LMs in this context. Our study assesses how emerging LM technologies compare with traditional paradigms in tabular machine learning and evaluates the feasibility of adopting similar approaches with these advanced technologies. At the data level, we investigate various methods of data representation and curation of serialized tabular data, exploring their impact on prediction performance. At the classification level, we examine whether text serialization combined with LMs enhances performance on tabular datasets (e.g. class imbalance, distribution shift, biases, and high dimensionality), and assess whether this method represents a state-of-the-art (SOTA) approach for addressing tabular machine learning challenges. Our findings reveal current pre-trained models should not replace conventional approaches.
[ 0.0036439421, 0.0518633612, -0.0317804553, -0.021858681, -0.0131967645, 0.0218591075, 0.0320265666, 0.0092057288, -0.0233890824, -0.087858282, -0.0045756199, -0.051293198, -0.0004678581, 0.0661258548, 0.0168489255, -0.0068544857, 0.0185543727, 0.003865941, -0.0077518988, 0.0229544751, -0.0117754135, 0.0115168868, 0.0515248552, 0.0237611029, 0.0054736035, 0.0021603859, -0.0369044617, -0.0017740597, -0.0444729552, -0.00861785, 0.0210277531, 0.0669472814, 0.0438002087, 0.0156128723, 0.0000022963, -0.0254908595, -0.0518996678, -0.0055119498, 0.0022365469, 0.0326511897, 0.0895665139, -0.0553064123, 0.0126107736, 0.0128947245, -0.0234856717, -0.0292621069, 0.0145548414, 0.029926721, 0.0478339642, 0.0426168405, -0.0279787034, -0.0431745686, 0.0368881859, -0.0128928125, 0.007924431, 0.018616939, 0.0291776899, -0.0122336904, -0.0570245422, 0.0047087371, -0.0097884089, 0.0251409858, -0.0034236794, 0.0255695339, 0.039390564, 0.0267051626, -0.0622467995, 0.0129863434, -0.008558589, 0.0491780527, -0.0133601632, -0.0258732438, 0.0088577438, -0.024310831, 0.0124230646, -0.0257570539, -0.0159457009, 0.0142999906, -0.0043217964, 0.0437062643, -0.0093472768, -0.0123544792, 0.0148190958, -0.0268773995, -0.026333455, 0.0001980264, -0.0396095216, -0.0404428281, -0.0191020295, -0.0076483381, 0.0103072468, -0.0361619443, 0.0064999904, 0.0374384113, 0.0145373717, -0.0117819821, -0.0611828193, -0.0967655256, 0.0488203801, -0.0397812575, 0.0948120207, 0.0032625613, -0.0130214524, 0.0054505486, -0.0160704311, 0.0165065639, 0.0334546044, 0.0287790745, -0.0149492035, 0.0067688623, -0.0477514714, -0.0202374514, -0.0312081017, 0.04667807, -0.0072047547, 0.0241266564, -0.0252475832, 0.0206881724, 0.0098490249, 0.0148092313, -0.0210967027, -0.011415503, -0.0136615187, 0.015164908, -0.0175754, 0.0042522107, 0.0068959673, 0.0174680408, -0.0093767606, -0.0620421283, 0.0004735331, 0.0066853757, 0.0129380189, -0.0210705008, 0.0492835008, 0.0368555374, 0.0036248155, -0.0394028425, -0.0692813918, -0.0298116542, -0.0299936347, -0.0322763547, -0.0171915554, -0.0773366243, 0.0400132984, 0.0326251797, -0.0227879342, -0.0360100791, -0.0188274048, 0.0324560329, -0.0485671349, 0.0653195158, -0.0192872919, 0.0343955941, 0.0369999073, -0.0458973944, 0.0098370556, 0.0384079367, 0.0614398383, 0.0458828881, 0.0121057006, -0.0750151128, 0.000485811, 0.0242208913, 0.0186178274, -0.0121017667, -0.0673292205, 0.017241396, 0.0284674615, -0.0056217695, 0.0265498087, 0.0112385023, 0.0107219433, 0.0138411969, 0.0894157887, 0.0810738951, -0.0043320945, 0.0620635711, 0.0038001793, 0.0145296073, 0.0121662887, -0.0133568961, 0.0064511797, -0.0328638516, -0.012246687, -0.0024069755, 0.0231011659, 0.0650405288, -0.0292225461, -0.0760244951, -0.0137911336, -0.0363698266, 0.0487853289, -0.0137744937, 0.0641978905, -0.0113365604, -0.0215239078, 0.0284440424, 0.0462055206, -0.0211470835, -0.0320899487, -0.0430336408, -0.00495735, 0.0559851155, 0.0172169805, -0.0554236881, 0.0148463026, -0.0332394876, 0.0411519893, -0.0067566033, 0.0671535134, 0.0096357837, -0.0061368528, -0.026989948, 0.0099072, 0.0298795924, 0.0118222525, -0.0097904094, -0.0297559779, 0.0318495668, -0.0050207418, -0.0423910096, -0.0947642028, 0.0454716496, 0.0231372323, -0.0359662697, 0.0363097303, 0.0056296065, 0.0006105757, -0.0018839883, -0.0128006218, -0.0118428767, 0.047109399, 0.0036995476, 0.0045139836, -0.0432793908, -0.0128823677, 0.0171438158, -0.0037581271, 0.077650629, -0.0063881115, 0.0073288111, -0.0539004728, 0.0092347879, -0.0147639532, -0.0069272611, -0.0152633935, -0.0275391322, 0.0462627672, -0.0373651013, 0.0422427505, -0.0454680212, 0.0499427617, -0.0074832016, 0.0084335739, -0.0315638892, -0.0900660008, 0.0251630787, -0.028252719, -0.0196959041, 0.009826907, -0.0189049505, 0.0441282876, -0.0070681171, -0.0131935235, 0.000126775, -0.0091620525, -0.1138127968, 0.0180337615, -0.0221286081, 0.0113658747, 0.0106961597, -0.0094388928, -0.0225905851, -0.0271944888, -0.046060238, -0.0102043971, 0.0392121337, 0.0149220955, 0.0845420137, -0.0090301931, -0.0005284381, -0.0274441186, -0.0246490259, -0.0517896451, 0.0666362941, -0.0060655898, -0.0241375882, -0.0529480502, 0.0070849466, 0.0005412389, 0.0140277063, 0.012559751, -0.0067350254, -0.0177956894, -0.0161015633, -0.0072184061, 0.0664192364, 0.0025637287, 0.0798105597, 0.0571173541, 0.0128196599, -0.0215513501, 0.0062831622, -0.0334307589, 0.0135045014, -0.0379951261, -0.0532604866, 0.052773647, 0.0454051197, -0.0031257814, 0.0241465867, -0.0303130951, 0.0184437651, 0.0330342539, 0.0214536283, -0.0425289348, 0.0545125939, -0.0063880673, 0.0161723401, 0.0124506261, -0.0798336715, 0.0339770578, -0.0401828848, 0.0259657241, -0.0199659318, -0.050186798, -0.0268716682, 0.0575136133, 0.0327763855, -0.0037305017, 0.0175876524, -0.0151394261, -0.0158080608, -0.0030662185, -0.01176978, -0.0459477156, 0.0463131331, 0.0006619112, -0.0245786961, -0.0214815438, -0.0194334947, -0.0049930229, -0.102809526, 0.0061318572, 0.0237099379, 0.0341409482, 0.0020273819, -0.0615961961, 0.0365539379, -0.0131359063, 0.0329773277, 0.0034455783, -0.025885947, -0.0263166521, 0.035932906, 0.0219610389, -0.0373344608, -0.0199429709, -0.030093031, -0.0239677019, 0.0278453082, -0.0502589233, 0.0369168557, -0.0135041885, 0.0039942623, 0.0311024021, -0.0370089374, -0.0309863053, 0.0243127178, 0.0081350273, -0.0562934093, 0.0105052423, 0.1228789538, 0.0320153274, -0.0181295592, -0.0046620965, 0.0027886385, 0.0612022653, -0.0089003295, 0.054393068, -0.0500062369, -0.0068038432, -0.0038011936, 0.0427880101, 0.0066624791, -0.0308884215, -0.009833958, -0.094264783, 0.0557251051, 0.0113366591, -0.0618420579, -0.0839871615, -0.0325323008, -0.041908022, -0.0184076112, 0.0188987888, -0.0143983681, -0.0546207502, 0.0066831512, 0.0543627143, -0.0864581838, -0.0575970635, -0.0103883734, -0.0302618127, 0.0381726548, 0.0605905876, 0.004762332, -0.0458374396, 0.0005669866, -0.0088119498, 0.0530413017, 0.030015029, -0.0036724722, 0.0743694827, -0.0350597575, -0.0095336344, -0.0020735641, -0.0147726294, -0.0057045422, 0.0048674173, 0.0110636186, 0.0575292259, -0.0445174798, -0.0167787485, -0.0102699241, -0.0389592722, 0.0154667692, 0.0639564171, 0.0236304365, -0.0571472123, -0.0380400829, -0.0238510445, -0.0303575173, 0.0195595864, 0.0218981747, 0.0338249691, -0.0208504423, -0.014769651, -0.0610454008, -0.047414694, 0.0336114392, -0.0162793528, -0.0011748114, 0.050333377, 0.0014060369, -0.0142548708, -0.0753276497, -0.0100744357, -0.0097452784, -0.0097013395, -0.0430017263, -0.0411526971, 0.0071117845, -0.0739829242, -0.0325363688, -0.0381437242, -0.0773429349, -0.0460983925, -0.0083554788, 0.0407926142, 0.0175115615, 0.0217058752, 0.0426115729, -0.0628116056, 0.0174972042, 0.0832285509, -0.0376197696, 0.0027485725, -0.0195127185, -0.0407877974, -0.0097563313, -0.0006750626, -0.0184993297, 0.0285805948, -0.0248160996, -0.0248209424, -0.0219487436, -0.0150907254, -0.0006107244, 0.006890262, 0.0769358128, 0.0371541157, -0.0693597943, -0.0013754462, 0.0190357603, 0.003537864, -0.0332705043, -0.016669156, -0.0304009262, -0.009498097, 0.0047714044, -0.0521559007, 0.0257188696, 0.0041414341, 0.0613145083, -0.0607629754, 0.0315735713, -0.0226287544, -0.0107388739, 0.0402761512, 0.0042066807, -0.0054427627, -0.0038727997, -0.0069263484, 0.0416432321, 0.004278685, 0.020161489, 0.0131155271, 0.030474253, -0.041432891, 0.0581581481, -0.0370722674, -0.0651002675, -0.0588378496, -0.002561345, -0.0181595348, -0.0206706244, -0.0117420526, -0.008031656, -0.0151087493, -0.0214400776, 0.0238617081, 0.0596055649, 0.0296545811, -0.0009900801, -0.0009738564, -0.0772322491, -0.0215181839, 0.0692219213, 0.0573231764, -0.0050347196, 0.0049261008, -0.0597762242, -0.0184688773, 0.0619247183, 0.0768577084, 0.0273512341, -0.0094659198, -0.0564200617, -0.0343693458, -0.0412182771, 0.0637506023, -0.0041961712, 0.0093720332, -0.0143088298, -0.0053658034, 0.0629661456, 0.0064167022, 0.0320948362, -0.0532728843, 0.0091608018, -0.0258879364, -0.0299424883, -0.0159560349, -6.439081078e-33, -0.0221188236, -0.0057375142, 0.0035156491, 0.0214207526, 0.0096210195, -0.0074556493, -0.0134375645, -0.0161237493, 0.0250199698, -0.0159364864, -0.0258798674, -0.0164476894, 0.0170829985, 0.0164759029, 0.0327267423, -0.0204161834, 0.0407816842, -0.0244121142, -0.0135355629, 0.0005473475, 0.0033753111, 0.0570804812, 0.0448892079, -0.0576568693, -0.0063046641, -0.0286808349, 0.0165563598, -0.017833963, 0.0244135335, 0.022090625, -0.02464897, 0.0421518907, 0.0515711643, -0.0233820397, -0.0190315619, 0.0666270331, -0.064912118, 0.0137311323, -0.0378894359, 0.0325007588, 0.0352772772, -0.0201328378, 0.0473176576, -0.0233412124, 0.0001975218, -0.0108895097, 0.0653334484, -0.0379468463, -0.036380779, -0.0388944224, -0.0361487679, 0.0346541554, -0.0024180813, 0.0039100694, 0.031164255, 0.0311817396, 0.0259625781, 0.066743128, -0.0646711737, 0.0057533477, 0.0233937372, 0.0109275915, 0.0225468799, 0.0131262857, 0.0191993769, 0.0657186061, 0.0439600386, 0.0208928771, -0.0476221032, 0.0193961542, 0.0203742795, 0.0217412524, 0.0145379361, -0.0002175355, 0.0708547235, -0.0300583001, -0.0676200837, 0.054849077, -0.0097853402, -0.046320226, 0.037345767, -0.0129220486, -0.0651947111, -0.0387978517, -0.0258762781, -0.048043184, -0.0080327615, -0.0184940733, 0.0165953748, -0.0021954372, 0.0079527004, 0.0155392708, 0.0208899695, -0.013917448, -0.0407511927, 0.0174270812, -0.038754113, 0.0365447588, -0.0118814008, -0.0374954157, -0.0180664435, -0.046007026, 0.0057724752, -0.0060666571, 0.0411909893, 0.016833283, 0.0782361329, 0.0365925282, -0.0673798397, 0.0083206547, 0.0215776116, 0.0081942761, 0.0187282339, 0.077807501, 0.0195863005, 0.0149980187, 0.0082376963, 0.071717754, 0.0175400693, -0.0213773865, -0.0073364163, -0.0321487896, -0.0118356179, -0.0149039989, 0.0286238398, 0.0104184942, -0.0202076584, 0.0336196832, 0.0498403572, -0.0154332193, 0.0131603749, 0.0000047289, 2.738e-7, 0.0865246803, 0.0666118488, 0.0061679529, -0.0151858861, 0.0247709136, 0.0425366871, 0.0093754288, 0.0376993418, -0.0062255384, 0.0277075842, 0.0360234529, 0.0131620346, 0.0663650706, 0.0591434948, -0.0644337013, -0.0146695608, -0.0951214433, 0.0113648241, -0.0669023842, 0.0242126696, 0.0606326275, 0.1063079014, -0.0166924465, -0.0467371829, 0.0400640033, -0.0208155811, 0.0400087759, -0.0549651533, 0.0324721858, 0.0275661852, 0.0012862519, 0.0028468342, -0.0319164917, 0.047708977, -0.0175570063, 0.0201993641, -0.0204201881, 0.0590716004, -0.0358160436, 0.0325626023, 0.0174128897, -0.0178961214, -0.030186791, -0.0670502931, 0.0793602541, -0.038935326, -0.0169561338, -0.0026541445, -0.0051336465, -0.0173717365, 0.0451590829, -0.0016751636, -0.0011690469, 0.0389187671, 0.0144414455, -0.0221624486, -0.0075729354, -0.0647439063, -0.0229635686, 0.0398847461, 0.0102106445, 0.0085201329, -0.0263842233, -0.0188822728, 0.0528186075, -0.0845747218, 0.0444090962, 3.099994187e-34, 0.0377746783, -0.0026561823, 0.0271522831, 0.0125437528, 0.0047881403, 0.0141984979, 0.0320737772, 0.0291396175, -0.0071196919, -0.0926965773, 0.0287565533 ]
http://arxiv.org/abs/2406.13842v1
http://arxiv.org/pdf/2406.13842v1
Joint vs Sequential Speaker-Role Detection and Automatic Speech Recognition for Air-traffic Control
2024-06-19T21:11:01
2024-06-19T21:11:01
Alexander Blatt, Aravind Krishnan, Dietrich Klakow
cs.CL
cs.CL, cs.SD, eess.AS
Utilizing air-traffic control (ATC) data for downstream natural-language processing tasks requires preprocessing steps. Key steps are the transcription of the data via automatic speech recognition (ASR) and speaker diarization, respectively speaker role detection (SRD) to divide the transcripts into pilot and air-traffic controller (ATCO) transcripts. While traditional approaches take on these tasks separately, we propose a transformer-based joint ASR-SRD system that solves both tasks jointly while relying on a standard ASR architecture. We compare this joint system against two cascaded approaches for ASR and SRD on multiple ATC datasets. Our study shows in which cases our joint system can outperform the two traditional approaches and in which cases the other architectures are preferable. We additionally evaluate how acoustic and lexical differences influence all architectures and show how to overcome them for our joint architecture.
[ 0.0225033686, 0.0536044538, -0.0142024513, 0.0458710045, -0.0177988596, 0.0068537914, 0.0362316556, -0.0559845641, -0.042369172, -0.0550599359, -0.0224901177, -0.0522848256, 0.0269462802, 0.0251588896, -0.0096558183, -0.0425145328, 0.0247450955, -0.07548742, 0.030842267, 0.0192201082, -0.0169294551, 0.0346358418, -0.0416373312, 0.0238528773, -0.0130615579, 0.0261570085, 0.0065231477, -0.0194791872, 0.0672447085, 0.0049341065, 0.001564056, 0.0137656014, 0.0568820648, 0.0218424611, 0.000001911, 0.0083157979, -0.0022331167, 0.0146140847, -0.0340412259, -0.029730022, 0.0491118878, 0.0253135487, -0.0327590927, 0.0498327352, -0.0331577286, -0.0537664555, 0.0164856948, 0.0758038908, 0.084876053, 0.0454608761, -0.0162986089, -0.0710462779, 0.0149861686, -0.0015855226, -0.0465475805, -0.0367837064, 0.0110629825, -0.0442405082, -0.0096933795, -0.0309394691, -0.0096836761, 0.0367054828, -0.0226626731, -0.0416901, 0.0119977277, 0.0144919865, -0.0517319217, -0.0276365988, -0.0548260398, 0.0053067985, -0.002308158, 0.0129070198, 0.0426079892, 0.0155619727, -0.0096357157, 0.0050177518, 0.0314591117, -0.0249683447, -0.0291496459, -0.0394303873, 0.017163422, 0.0452283919, -0.0317856818, -0.0260203928, -0.0681620836, 0.0206640102, -0.0340888575, -0.0532781929, 0.0093702767, 0.016384054, 0.0354147144, -0.0365886912, 0.0551103726, -0.0141825508, -0.0318946578, 0.0129165491, -0.0032731006, -0.0363859236, -0.0441534147, -0.0357467011, 0.0104605025, 0.0171091445, -0.0537488684, -0.0082902322, -0.0284340288, 0.0538388528, 0.027660979, -0.0183484834, -0.0195453241, -0.0021978575, -0.0496980511, -0.0066107139, -0.0680818856, 0.030006174, -0.0228397939, -0.0070039313, -0.0656262264, 0.0044505, -0.0177161004, 0.0200723242, 0.0653693825, 0.00145303, -0.0112989694, 0.0420029387, 0.0300524253, 0.0302557033, 0.0594965294, 0.033566989, -0.019116953, -0.0256723408, 0.0243873969, 0.0130601292, 0.0640708879, 0.0262446031, -0.0590014718, 0.033284422, -0.0123583227, -0.0450166948, -0.0177792013, -0.0032748843, -0.0261778142, -0.0328624994, -0.0146311782, -0.0486566536, 0.029164169, 0.021378208, 0.0027544538, -0.006878858, 0.0111707309, -0.034748394, 0.0167099107, 0.0981831178, 0.0230212118, 0.0170041658, 0.0684240907, -0.0006570071, 0.0380072445, 0.0547329001, 0.0462126397, -0.0267738756, 0.0292697772, -0.0258089658, 0.0379921421, 0.0284160748, -0.0630949363, -0.0295837913, 0.0135094775, 0.0069613531, -0.029792361, -0.0118265999, 0.0370200165, 0.0039229225, 0.0034753713, 0.0142454151, 0.0331012048, 0.0643039197, 0.0272701383, -0.0115304934, 0.0689136535, 0.0568292439, 0.01298845, -0.0006981866, -0.001456094, -0.0256940555, -0.0036494792, -0.0693792403, -0.0226953793, 0.0456065312, -0.006779578, -0.0400135741, 0.0384136178, -0.0442726724, -0.0211398359, 0.0451854393, 0.0376258455, -0.030054057, -0.0081849685, 0.0364232399, -0.0041562738, -0.0157111771, 0.006905599, -0.0052921232, -0.0766881481, 0.0284354147, -0.0241454821, -0.0487335995, 0.0178285576, -0.0628254265, -0.0207966547, 0.0171291232, 0.0000188354, 0.0081258938, 0.0121606728, -0.0306042116, -0.0333914943, 0.0875530317, -0.0074828379, 0.0440491438, -0.012721709, 0.0201646108, 0.0314002894, 0.0345757902, -0.0225703176, -0.0076362714, -0.0137492009, -0.0122845154, 0.037287008, 0.0224518813, 0.0640205219, 0.0338636413, -0.0475857966, -0.0068009365, 0.0123747289, -0.0062071923, -0.0153231286, 0.0324628465, -0.0733679309, -0.0138044124, 0.0034858629, -0.0254297238, -0.0475894734, 0.0634006858, 0.0060253679, -0.0870429277, 0.0425874442, -0.0644115508, 0.0133999558, 0.0013062881, 0.0584248155, 0.0238517635, 0.0248114094, -0.0026762479, 0.0029658452, 0.034573894, -0.036858961, 0.0211502016, -0.0036275957, 0.0285481345, -0.0522707142, -0.0341334119, -0.0042747036, -0.0129159531, -0.0103662089, 0.0289134812, -0.0355780497, 0.0113824699, -0.0160442684, -0.0313339494, -0.0358974636, -0.0455543771, 0.0105385575, -0.0147443181, 0.0292192325, -0.0083423676, -0.0030574589, -0.0310068298, -0.0168994032, 0.0249305833, -0.0411655568, -0.039653793, 0.0022383048, -0.1020550281, -0.0180067625, -0.0051632375, -0.0173517819, -0.0029314624, 0.0201905295, -0.0317014307, -0.0912190005, 0.0068562189, 0.0110404175, 0.0680652186, -0.0246199071, -0.013037161, 0.0341535732, 0.0173025578, 0.0221713427, 0.0335476808, 0.076301299, 0.0098904204, 0.0006150505, -0.0117949424, -0.0177102536, 0.0156207792, 0.0250491127, 0.0139129469, -0.0331006907, 0.0214067865, 0.0052490276, 0.0498989746, 0.0186457746, 0.037043795, -0.0134642627, -0.0470357202, -0.0247319415, -0.0590848289, 0.0144213568, -0.0815515742, -0.0328092277, 0.0184900071, 0.0008205411, 0.0043438398, 0.0242051296, -0.0603068024, -0.0133136995, -0.0439065695, -0.0529818982, -0.0292033218, 0.0251230914, 0.0293570515, 0.0169791803, 0.0271576438, -0.0556905828, 0.0098829521, -0.0152287381, 0.0088953059, -0.0498120636, 0.037755806, -0.0316594429, 0.014739668, -0.0226909239, -0.0613032989, -0.0244784039, 0.0287669525, -0.0458158143, 0.0144019006, 0.038987305, -0.0733801797, -0.0092589706, 0.0493822098, 0.0714274645, 0.0443891175, 0.0317758173, 0.0075823064, -0.0255350415, 0.0510355905, 0.028232282, 0.0284638871, 0.0031152572, 0.0323989764, 0.0231463779, -0.0167175848, 0.0531787015, 0.0001806958, -0.0313924216, -0.0061922739, 0.0464187562, -0.0279306173, -0.0225025211, 0.0104416087, 0.020149691, -0.0383088328, 0.0497921258, 0.093656376, 0.007267795, -0.0648847073, -0.0113711422, 0.0219914801, -0.0856761783, 0.0220669843, 0.0191212408, -0.0573091321, 0.0102472026, 0.001640672, 0.0253074262, 0.0038169844, -0.0174774807, -0.0023189432, -0.0613511316, 0.0580453053, -0.0185879041, -0.0188035835, -0.0109183686, -0.0559837446, 0.0049297446, -0.0325450227, 0.0448297858, -0.0119401021, -0.0276566558, -0.0605878085, 0.0403376892, -0.096175231, -0.0522462241, 0.0186390467, -0.0274677183, 0.0671964139, 0.0306768566, 0.0210534018, -0.0158712845, -0.0136020929, -0.0398002416, -0.0000808261, 0.0153256012, -0.0041650198, -0.0220559519, -0.0141699435, -0.0213985685, 0.0078659616, 0.0087694768, 0.0006687265, 0.0218311548, 0.0323943943, 0.0564892665, -0.0354468822, -0.0014930195, -0.0097188875, 0.0380196609, 0.0261744615, 0.0415704474, -0.0206172857, -0.0211757869, -0.0555590466, 0.0050092372, 0.0236673839, -0.054865472, -0.0877141505, 0.016522998, 0.0284139514, -0.1115768179, 0.0166607536, -0.0161315743, 0.0317081213, 0.0017752019, -0.0186428223, 0.0411522128, 0.0483128577, 0.0377470665, -0.0139017869, -0.0502128303, -0.0307654627, 0.0511271507, -0.0575963371, -0.0001012019, 0.0229686983, -0.016216414, -0.0158024989, 0.0383468792, -0.0193309821, -0.0362446085, 0.0822802186, -0.0385895856, 0.0190630294, 0.0291779041, -0.0198044442, -0.0453554839, 0.049476929, 0.0064939228, -0.0639911443, 0.0103746084, 0.0190955326, -0.0018079078, -0.0397504233, 0.0164878238, -0.0156888217, 0.0423720516, -0.0179071911, -0.0485728271, -0.0432246849, -0.0498323292, -0.014728629, 0.0370140821, 0.0191152189, -0.0159915406, 0.0184650626, -0.0075746262, 0.0523263775, -0.0393969119, 0.0322634131, -0.0145527311, 0.0036396035, -0.0153846005, 0.018826833, 0.0175273046, 0.0277990531, -0.0314142741, -0.0192535371, -0.0082004331, 0.0854767635, 0.0324715711, -0.0051315376, 0.0303872209, 0.0030327246, 0.0058070053, -0.0111186579, 0.066302605, 0.0155983195, 0.0106253745, 0.0100996718, 0.0057938029, 0.0130125852, -0.0024750349, 0.0478000455, -0.0658589602, 0.0197681971, 0.0218543019, -0.0011223557, 0.0220945813, -0.0080546653, 0.0274625085, -0.0220246706, 0.0640106276, 0.0013597659, 0.0156593956, -0.0040475917, 0.0109817721, 0.0603115112, 0.0157999173, -0.0011534543, 0.0246861558, 0.0669813529, 0.0280405544, 0.0154410023, -0.0322331525, -0.0254726913, -0.072485216, -0.030566806, -0.0028206282, -0.0350356288, -0.0353902839, -0.0179085247, -0.0292886104, -0.0222030468, -0.0052678785, -0.0255044326, 0.0282288268, -0.0556295104, -0.030085396, 0.0033240572, 0.0261807274, -0.0117176585, 0.0061766542, -0.081761688, -0.0143860597, -0.029955687, 0.0120807858, -5.701610085e-33, -0.0435335711, -0.0012148452, 0.0002661629, 0.033403255, -0.0243430734, 0.0216302108, 0.034205813, -0.0075614289, 0.0130819716, -0.0429007411, -0.0172322318, 0.0211424753, 0.03475108, -0.0192027539, 0.0118711246, -0.0019236531, 0.0914423838, -0.0139415432, 0.0191844329, 0.0218467675, 0.0414386429, 0.0154429357, 0.0261019841, -0.0792460144, -0.0041200537, 0.0410624444, 0.0022002303, -0.0078612994, -0.0056311549, 0.0263055451, 0.0054098824, 0.0496903881, 0.0092292894, -0.0532853752, -0.0090953503, 0.0788554177, -0.0962877125, 0.0151201002, 0.0081226062, 0.075504154, 0.0358596966, -0.0070978515, 0.0154949166, 0.0289415214, -0.0153955529, -0.0304624476, 0.0472463407, -0.0230619423, 0.0142434351, -0.0632621273, -0.0323809609, 0.0313831009, -0.0295085348, -0.0081006549, 0.0463453941, 0.0450892933, -0.0030101547, -0.0527576841, -0.0567629971, 0.0334190316, 0.0180343911, 0.0604115799, -0.0112796184, 0.0890433341, -0.0217297133, 0.0073255897, 0.0418300852, -0.0318059176, -0.0274460632, -0.0592815243, 0.0003563549, 0.0500118993, 0.0215513743, 0.0141810961, 0.0204467587, -0.0429418758, -0.062796399, 0.0000587284, 0.0298852101, 0.039694991, 0.0220979266, 0.0279768277, -0.0522740223, 0.0039857547, -0.0201598871, 0.0264439397, 0.0000762958, -0.0127011295, 0.0062372917, 0.0425979383, -0.0346519426, 0.0397413857, 0.0596362874, -0.0247556698, 0.0252721105, -0.0287074316, 0.0208238643, 0.0117898406, -0.0242994186, -0.0001990367, -0.0599077716, 0.0163066071, 0.0945415869, 0.0469041914, 0.0427002273, -0.0447623841, -0.0044433083, 0.084871687, -0.0417337939, -0.0018785801, -0.0097919255, 0.0620964542, 0.0050820424, 0.0309023242, 0.0293585025, -0.0132960565, -0.0063785701, -0.0441743806, -0.0106346477, -0.0615607724, -0.0384409167, -0.0087070521, -0.0343853347, 0.0360339433, -0.0689094961, 0.0125853904, 0.0177025143, 0.0016052106, 0.0357016139, -0.0448876545, 0.0034861474, -0.0300179441, 2.696e-7, -0.0400786661, 0.0118238535, 0.0803333297, -0.0289465804, 0.0296282936, -0.0081907585, 0.0334771536, 0.0072895898, 0.0294482578, 0.049903769, 0.0126703344, -0.016888015, 0.0505106747, 0.0631316975, -0.083185412, -0.0225837957, -0.0484482981, 0.0162837505, -0.0424490646, 0.0299154092, 0.1022968739, 0.073279202, -0.0299825165, -0.0337743238, -0.0258561522, 0.0029874274, -0.0199012756, 0.0008627705, 0.0212194771, -0.0203826129, 0.0450933091, 0.0197646655, -0.0185243413, 0.0727407113, -0.0281194784, 0.0511204787, -0.0113701643, 0.0206021257, -0.0065414258, 0.0505634695, -0.0073970128, -0.0071307924, -0.031706322, -0.0028021501, 0.0620457679, -0.0544643961, 0.0003925748, 0.0111167906, -0.0699045286, -0.0302170608, -0.0511164926, 0.0258209128, 0.0043734889, 0.0483581312, -0.0131696016, -0.0019075917, 0.0114153763, -0.0727691874, 0.0324909203, 0.0434905998, -0.0303765498, 0.0032598909, -0.0237693153, -0.0051419991, 0.0404031873, 0.0113178883, -0.0131778223, 1.884171196e-34, -0.0092955474, 0.035440661, -0.0417902358, -0.0243788864, 0.0278558694, -0.029001018, -0.0509440005, 0.0460063815, -0.0183859859, -0.0692585632, -0.0345656201 ]
http://arxiv.org/abs/2406.13840v1
http://arxiv.org/pdf/2406.13840v1
StackRAG Agent: Improving Developer Answers with Retrieval-Augmented Generation
2024-06-19T21:07:35
2024-06-19T21:07:35
Davit Abrahamyan, Fatemeh H. Fard
cs.AI
cs.AI, cs.CL
Developers spend much time finding information that is relevant to their questions. Stack Overflow has been the leading resource, and with the advent of Large Language Models (LLMs), generative models such as ChatGPT are used frequently. However, there is a catch in using each one separately. Searching for answers is time-consuming and tedious, as shown by the many tools developed by researchers to address this issue. On the other, using LLMs is not reliable, as they might produce irrelevant or unreliable answers (i.e., hallucination). In this work, we present StackRAG, a retrieval-augmented Multiagent generation tool based on LLMs that combines the two worlds: aggregating the knowledge from SO to enhance the reliability of the generated answers. Initial evaluations show that the generated answers are correct, accurate, relevant, and useful.
[ 0.0579879954, 0.0459414907, -0.0396036319, 0.0099137248, 0.0006695572, -0.0468848832, -0.0080312081, 0.0017225837, 0.0459305122, -0.0465357266, 0.0051266565, -0.0115467496, -0.0337591544, 0.0305142328, 0.0248690639, -0.0279467609, 0.0131830126, -0.0039894595, 0.0288267769, 0.0173430275, 0.0175922699, 0.0288285818, -0.0103110401, 0.0877500549, -0.0194402933, -0.0347140729, 0.0114970999, 0.014907605, 0.0204071831, -0.0130133731, 0.0199476462, 0.0378143862, -0.0002569106, 0.0108140679, 0.0000021015, -0.0330373496, 0.0010366635, 0.0030505275, -0.009541614, -0.0310798585, 0.0138807427, 0.0517742336, -0.0210756939, 0.0492391363, -0.0761464238, -0.007268677, 0.0422669314, -0.0215430167, 0.0963625237, 0.0667185858, 0.0013227457, 0.0282311607, 0.0188120548, 0.0150831109, 0.0808415413, -0.0435768999, -0.0186865702, 0.0320199355, 0.0630403608, 0.0280141756, 0.0391835012, 0.0172926206, -0.0063016363, -0.0314343274, 0.0474268198, 0.033476159, -0.022495525, -0.0314971171, 0.0081032356, 0.0518122092, 0.0055176611, -0.0243065078, 0.0116888573, 0.0085841687, -0.003365065, 0.0648895055, -0.0528658591, 0.0234006979, -0.0306731798, -0.0277659595, -0.0097402316, -0.0053448677, -0.0057938499, -0.018609358, -0.0236363802, 0.0483609289, 0.0052526277, -0.0076307529, -0.0547728762, -0.0089113424, 0.0075879381, -0.0731747597, -0.0025927741, 0.0749076456, -0.0690168515, 0.0097012045, 0.0048275776, -0.0638183355, 0.0619812012, -0.0610271282, -0.0228207409, 0.0253034104, 0.0039294641, 0.0144615872, -0.0179556198, 0.0246380363, 0.0016695375, -0.0191805493, -0.0528244376, -0.0234241709, -0.0622941144, -0.0324736536, -0.0509849414, 0.052968815, -0.017471794, -0.0118521852, 0.0080238227, 0.0622445382, -0.0034804554, 0.0140362699, -0.0164600015, 0.033900097, -0.0497076958, 0.0057419264, -0.0209834687, 0.010049141, -0.0556664057, 0.0016656971, 0.0349604897, -0.0862347633, 0.0123365382, 0.0257861726, -0.0087994616, 0.0101278825, -0.0034088485, 0.066687569, 0.0039552557, 0.0274397098, -0.0220596623, -0.0669409037, 0.0310821328, -0.0214853678, -0.0477895439, -0.0939683095, 0.0062374403, 0.0142131913, -0.0408845022, -0.0472068079, 0.0102705192, 0.0626114681, 0.0033029693, 0.0326566249, -0.0747558028, 0.0230391622, 0.0881491378, 0.033395905, 0.008839244, 0.0529260226, 0.0190339237, 0.0917714462, 0.0458130613, -0.0004139195, 0.070604369, 0.0062429947, -0.0134261316, 0.0189601984, 0.0496352576, 0.0318368077, 0.0105018802, -0.0070298924, -0.0358252414, 0.0527431816, -0.0328587741, 0.0095838951, 0.0305394586, 0.0398604721, 0.0305711217, 0.0172961857, 0.0537391007, 0.0192304589, -0.0161992088, -0.024558723, 0.003207203, 0.0529983826, -0.0250499062, -0.0183368344, 0.0195038617, 0.0616645887, -0.0292539243, -0.0245465003, -0.0036537999, 0.0038644162, -0.0065815165, 0.0318804905, 0.0054468759, -0.0059411805, -0.0414787047, 0.0273573492, -0.0007495501, -0.0585707352, 0.0146231055, -0.068274729, 0.0485833213, 0.0484506078, 0.0713139996, -0.0306508839, -0.0418194681, 0.012249562, -0.0170504879, 0.0169109609, 0.04174174, -0.0154793514, -0.057585232, -0.0389917754, -0.0176954623, -0.0043911119, 0.007299582, 0.0229414757, 0.0209959634, 0.015238937, 0.030403994, -0.0468967594, -0.0334813967, 0.0289035924, -0.0105915545, -0.0095625175, -0.0059672096, -0.0246428698, 0.0110841654, 0.0214718729, -0.0221586097, 0.056183245, 0.02837063, -0.0359358005, -0.0744993091, -0.0023783124, -0.0123502975, -0.003794671, 0.0128332945, -0.0412418321, 0.0157133434, -0.0221111141, -0.0244637057, -0.022608038, 0.0480102375, -0.031668447, 0.0201129261, -0.0407840312, -0.0213823989, 0.0266108885, -0.0105437785, -0.0535175018, 0.0732271001, 0.0427842326, 0.0152709493, 0.0082006622, 0.0638555884, 0.0251957532, -0.04029705, 0.0406687558, 0.0297749639, -0.0158448257, 0.0465416871, 0.0527991243, -0.0055414578, -0.0406761169, -0.0631166026, -0.1009197682, -0.0189804919, -0.0132006183, 0.0213657059, 0.0210478678, 0.0424008556, 0.0144188525, 0.0008525576, -0.0937728211, 0.006875772, 0.0357091203, 0.022408681, 0.0058831223, -0.0004249663, 0.0005922838, -0.0370359868, 0.0040510651, -0.0244982075, 0.0209723096, 0.0327482037, -0.0441648066, -0.0711713582, 0.0264789779, -0.0677281395, 0.0032368363, -0.0090936758, -0.0397777334, 0.0454916656, -0.031297449, 0.0320664793, 0.0200347025, 0.0612209141, 0.0014680637, -0.0007330705, -0.0099613834, -0.0770207942, 0.002443077, 0.0050472282, -0.0365215354, 0.0107176704, -0.046283029, 0.0732832476, 0.0476081744, 0.0207126364, -0.0251979642, -0.0591556989, 0.0352233574, -0.0142240552, -0.0152896456, 0.012899721, -0.0371127948, 0.0039298628, 0.0195640083, -0.0126900431, -0.0333774313, 0.0832744688, -0.0586567149, -0.0079239421, -0.0400016569, -0.0222502351, -0.0489907973, 0.0445453972, -0.0107927863, 0.0295725148, -0.0271672998, 0.0140089523, -0.0424963124, -0.0344238617, 0.0341678932, -0.0530732013, -0.0055092466, -0.0245381519, 0.0284699704, -0.0101148533, -0.0142719578, -0.0384091027, -0.0489318855, -0.0105205402, -0.0011145597, 0.0045224875, 0.0021376356, -0.0404512249, 0.0068865009, 0.0340734534, 0.0047189989, 0.011542405, -0.0404000729, -0.006660399, -0.0032013685, 0.0660655126, 0.0233144052, 0.0090123536, -0.0130508663, 0.0035448186, 0.0733053535, 0.041746188, 0.0033705956, -0.003971878, -0.056266468, 0.019357767, -0.0290045198, -0.0026509578, 0.0218364988, 0.0370262675, -0.0228598919, -0.0115054091, 0.0650700256, 0.0413309149, -0.0343049169, 0.0055730585, -0.0392767452, 0.037181858, 0.0400857478, 0.0695097223, -0.0788841769, -0.0066848523, -0.0235710721, 0.0160687938, -0.0187963899, -0.0036785686, -0.0188280381, -0.0885703042, 0.0406347364, 0.0000054895, -0.0149985719, 0.0403907523, -0.0332323238, -0.00064507, 0.0198835563, -0.0448962748, 0.048028402, 0.0181470811, 0.0308732856, 0.0160970911, -0.024640061, 0.0309518036, 0.0100557096, -0.0409244038, 0.0361315608, 0.11340978, 0.0148705384, 0.0321522467, -0.0367677398, -0.0064459452, -0.0340827368, 0.022276409, 0.0001610912, 0.0249860883, -0.0021821831, 0.0110244434, 0.0186678637, 0.023196429, -0.0740321577, -0.0065216003, 0.0424221344, 0.0462111309, -0.0346791968, -0.0020143506, -0.0682448298, 0.0230651163, 0.0347596817, 0.029002836, 0.0238875709, -0.0255252831, -0.0560094975, -0.0501861125, 0.0349685624, -0.0204595905, -0.0361518003, -0.0066844141, 0.0236378945, 0.0031263756, -0.0937244967, -0.0491700917, 0.0089475932, 0.0491067357, -0.0029342929, 0.0192171596, -0.0108546121, 0.0128002921, 0.0118941739, 0.0016566862, -0.032926254, 0.022425836, -0.0092878705, -0.0231950097, 0.0144576486, -0.0570982993, -0.0038527432, -0.0013326361, -0.0566228591, -0.0302806552, -0.0325996988, 0.0471568853, 0.0285648257, -0.0323692411, -0.0550445989, -0.0238818079, 0.0158802085, 0.076214835, -0.0848039836, 0.0068701277, -0.0199777614, -0.0023772593, -0.005134745, -0.015164895, -0.0963169113, 0.0428656116, -0.0189671703, 0.0369660072, -0.0036301175, -0.0579617471, 0.0185180251, 0.0384720825, -0.0301213581, 0.0339193791, -0.0020198345, -0.0068962849, 0.0017316111, -0.0027102174, -0.0195602179, -0.0403627716, 0.0225600135, -0.031434603, -0.0620553307, 0.0663201809, -0.0006178726, -0.0486198775, 0.0562635772, -0.0081808055, 0.0047431304, 0.0073286491, 0.0068687168, 0.024508344, -0.0088560665, -0.0319782495, -0.0139564192, -0.0272274483, 0.0702108219, -0.009726244, 0.0231188759, 0.0025025923, -0.0235032998, 0.0266841445, 0.0245251078, -0.0995538756, -0.1104355454, -0.0254952367, 0.0191232506, 0.0422434174, 0.0772364065, 0.03255409, -0.0080785956, 0.0263141207, -0.0274087228, -0.0059546228, 0.043154221, -0.0527808443, -0.0138267754, 0.0125797745, -0.0250907894, -0.0620850325, 0.0969563425, -0.0487694927, -0.0004924021, -0.0450916812, -0.0225617252, -0.0339684933, -0.0348940417, -0.0143467328, 0.015891239, -0.0069259042, -0.0124270497, -0.0350120626, -0.0369453728, -0.0205199681, 0.0289153159, 0.0152626652, 0.0132475113, 0.0190471038, 0.1046413183, 0.0313647538, -0.0129116923, -0.0701760054, 0.0011383061, -0.0774014741, 0.001128232, -0.0102654491, -5.981884305e-33, -0.0261915941, -0.0541013107, 0.0549215078, 0.0091130398, -0.0157583375, -0.0193677377, -0.0338700116, -0.0054528527, -0.0292213541, -0.0338389277, -0.0034608396, 0.0142945144, 0.0060915179, 0.0056984196, 0.0228137635, 0.0078171557, 0.0405270979, 0.0495166555, -0.0466666631, 0.0681758374, 0.0133500239, -0.0015279746, 0.0095195221, -0.0602184273, -0.0113976989, -0.0350427963, 0.0049738139, 0.0212168247, 0.0086664893, 0.0584094785, 0.0009950566, 0.0510404184, 0.0095929438, -0.0420877747, -0.0119731613, -0.0266343262, -0.013063848, -0.0405479558, -0.0014139534, -0.0342536531, -0.014560041, -0.0273331404, 0.0422483347, -0.0372226276, 0.0149350241, 0.0121173365, 0.0634776577, -0.0095599387, -0.0025008323, -0.0184814762, -0.0640690327, 0.0125603145, 0.0132859293, -0.0039558043, -0.0618090518, 0.0793573633, 0.0166470129, 0.0077788313, -0.0313359611, 0.0306295902, -0.014901801, 0.0457601473, 0.0488568805, 0.034335807, -0.0022564963, 0.0559711903, 0.0112558333, 0.0314344391, -0.0511670262, -0.031608019, -0.0012409546, 0.0398494117, 0.0478292294, 0.0647002459, 0.0132074878, -0.0124314446, -0.0274458099, 0.0883603469, 0.0290668719, 0.0452006124, 0.0481270067, 0.013735462, -0.017258767, -0.0156755596, -0.0165725481, 0.0485657044, -0.02083515, -0.066646643, 0.0147367949, 0.0278344676, -0.0069087897, -0.022802379, 0.0328595862, -0.0599502996, 0.0249072947, 0.0271300208, -0.0395430475, -0.0159923043, -0.0304479133, 0.0044927262, -0.0122241257, 0.006385752, 0.0198898353, 0.0323717669, 0.0135388318, 0.0340009145, -0.0298388898, -0.0144990645, -0.0330934525, -0.0015908536, -0.0493513122, 0.0277400371, -0.0368981585, -0.0423410125, -0.0037848172, 0.0018055484, -0.004326479, 0.0229396373, -0.0011211666, -0.0207347497, -0.0323597044, 0.0055963262, 0.0084504429, 0.0042404043, -0.0461261459, 0.0130342068, -0.0384799242, 0.0197006427, -0.0064542503, -0.0418584645, -0.042252969, -0.0042421389, 2.733e-7, -0.0034894466, 0.0010865885, 0.0272491463, 0.0334757231, 0.0325648673, 0.0298885647, 0.0194173139, 0.0116447099, 0.0480624139, -0.010079137, -0.0293665137, 0.0417190455, 0.0259955022, 0.0801250562, -0.0590484701, -0.0273957867, -0.0545475148, 0.0015566149, -0.06518621, 0.0095910337, 0.0762638599, 0.027631551, -0.0057444992, -0.008194793, 0.0032334805, -0.0592286773, 0.0292940587, 0.0268144328, 0.0088032456, 0.1001750603, 0.0189698208, 0.0182778966, 0.0243743993, -0.0050959424, -0.0135919685, -0.0414333791, 0.0027055449, -0.0029765312, -0.015879536, -0.0173751395, 0.0125608239, -0.0485676751, 0.0333099738, -0.0656111762, 0.0322083943, -0.0184546243, -0.0049123159, -0.0170821436, -0.0373469219, -0.0454320125, -0.0127402255, -0.0105928862, -0.0130009931, -0.0081572635, -0.0118552055, 0.0043357005, -0.0081132427, -0.0405459665, -0.0330661945, 0.0279968157, -0.066904515, -0.0676704496, -0.0256012231, 0.0136708822, -0.010252458, -0.0074653579, 0.0306866542, 2.338855625e-34, 0.0061561484, 0.0201406144, -0.0042062337, 0.0388444476, 0.0672538206, 0.018889172, 0.023206668, 0.0238784105, 0.0224297754, -0.0463607311, -0.0293199569 ]
http://arxiv.org/abs/2406.13828v1
http://arxiv.org/pdf/2406.13828v1
Neuro-symbolic Training for Reasoning over Spatial Language
2024-06-19T20:47:36
2024-06-19T20:47:36
Tanawan Premsri, Parisa Kordjamshidi
cs.CL
cs.CL
Recent research shows that more data and larger models can provide more accurate solutions to natural language problems requiring reasoning. However, models can easily fail to provide solutions in unobserved complex input compositions due to not achieving the level of abstraction required for generalizability. To alleviate this issue, we propose training the language models with neuro-symbolic techniques that can exploit the logical rules of reasoning as constraints and provide additional supervision sources to the model. Training models to adhere to the regulations of reasoning pushes them to make more effective abstractions needed for generalizability and transfer learning. We focus on a challenging problem of spatial reasoning over text. Our results on various benchmarks using multiple language models confirm our hypothesis of effective domain transfer based on neuro-symbolic training.
[ 0.0372516625, 0.0519532748, -0.0347603038, 0.0297455713, -0.0402918644, 0.0320657976, 0.028638145, -0.0115139661, -0.0187295061, -0.0356916375, -0.0080671031, 0.0200919732, 0.0025900435, 0.0481776521, 0.0333743058, -0.1020494476, 0.0301465373, -0.0242146552, 0.0297958888, 0.0079691354, -0.0276072677, 0.015306592, -0.026131317, -0.0106052551, -0.0482580587, 0.0278148875, 0.0047376296, -0.0376114361, 0.018611379, -0.0306822285, -0.0327160135, -0.0050506433, 0.0691228807, -0.0371644944, 0.0000019332, 0.0070922524, -0.0199769605, 0.0233076047, 0.0404397361, -0.0340969525, 0.0039021501, -0.061870601, 0.0241453853, 0.0010042039, -0.0296011902, -0.015743725, 0.0486502498, 0.0569805317, 0.034726467, 0.0509916358, -0.0302358791, -0.0457084887, 0.0274852403, 0.0165610742, -0.0055818995, 0.028544683, 0.0067524877, 0.0150148971, 0.0161963739, 0.0241504498, -0.0450188518, 0.025310697, 0.0437523015, 0.0271163564, -0.0070490059, 0.0395355225, -0.0075689335, 0.0742848665, -0.0216003805, 0.0526885986, -0.0088505028, -0.0153680509, 0.0325042047, 0.0119393617, 0.0028730389, 0.0287059899, -0.0727030188, 0.0084166909, -0.0078931116, 0.0158148371, -0.0179437157, 0.015759781, 0.0271151066, -0.0047656484, -0.0496676192, 0.0839961097, 0.0132217081, -0.0186705217, 0.0197598804, -0.0213845111, -0.0399440825, -0.0326934718, 0.0132596614, 0.0697631687, -0.0079492088, 0.0473518446, -0.0129387137, 0.0169385336, -0.0324403755, -0.0431401357, 0.0583061725, 0.045685228, 0.0271531735, 0.0478429087, -0.0564291663, 0.0477077812, -0.0240621641, 0.106193535, -0.005047793, -0.0385579392, -0.0693941563, -0.015210771, -0.0524425879, 0.0586656071, -0.0232159663, -0.0236144606, 0.0167121198, 0.0015154175, -0.0076033995, 0.0060337456, -0.0207962804, 0.0398827493, -0.0086269453, -0.0397134684, -0.0073018004, -0.0064816629, -0.0298865139, 0.0356728695, -0.0128262807, 0.0165086221, -0.0019061496, 0.0115726506, 0.0262988098, -0.0549412742, -0.0163854081, 0.0805281326, 0.0077110357, 0.0033240258, -0.0636646897, -0.0145653021, -0.0128770163, -0.0487238616, 0.0589721724, -0.0621460676, -0.0000414911, -0.0277216975, -0.0423968807, -0.0581217259, -0.0079130856, 0.0017564212, -0.0072416505, 0.0438891724, 0.0137713347, -0.0064620934, 0.0695559606, 0.0062932447, -0.0300363842, 0.0375436619, 0.0562316701, 0.0506685004, -0.0266355146, 0.0109082116, 0.0032325969, -0.0005738243, 0.0361448489, 0.0306184199, -0.0809034854, -0.0128968256, -0.0151132718, 0.0396796577, 0.0096283546, 0.073117584, -0.0403630994, -0.0436746106, 0.0316812545, 0.0866932571, -0.0114564607, -0.0140711535, 0.0789452195, -0.0151609452, -0.0018329564, -0.0337026045, -0.0624390729, 0.0449182205, -0.0108275088, -0.0173730887, -0.0508517809, 0.0195173156, -0.0130284615, -0.0375492871, -0.0125650978, 0.0008378931, 0.0093692271, -0.0172493458, 0.0782091841, 0.0312761366, -0.0040379404, 0.0471895225, 0.020601036, -0.0000249132, 0.0148467151, 0.0268239845, 0.0201781802, -0.0164373051, -0.0008367444, -0.0073138778, -0.0166374724, -0.0361159481, 0.0576129518, 0.0317829549, 0.0517270416, -0.0076940404, 0.0152238924, -0.0255653542, -0.0253579542, -0.0027956027, 0.0365521945, 0.0059300796, 0.0491728336, 0.0034656366, 0.0102158422, -0.0677533671, -0.0177734476, 0.0515895449, -0.0068002711, -0.0391020887, -0.0486092344, 0.040202003, 0.0080218231, -0.0610115603, 0.0168376584, 0.0033670014, -0.0000339992, -0.0415744707, -0.0436509065, 0.0308948774, -0.0614047125, -0.0469304845, 0.0257058535, -0.0578101799, 0.0020322311, 0.0230484772, -0.0728715435, -0.0120606311, 0.0532740429, -0.0434982665, 0.0023757527, 0.0005170534, -0.0391372703, 0.0399112739, -0.0332632959, -0.028079031, 0.0419804305, 0.0081033846, -0.0074979616, -0.0004164592, 0.0157745853, 0.035489738, -0.0221690908, 0.0522334054, -0.0110965911, -0.0436517783, -0.001604222, -0.0561003461, -0.0036967432, -0.036203742, -0.003647181, -0.0241289437, 0.003070489, 0.0144137945, 0.0345693119, 0.0060507241, -0.0485205539, 0.0036259068, -0.014243002, -0.0236978158, -0.0133075118, -0.0237787776, 0.0153226973, 0.0566884652, -0.0230582319, 0.0085833063, -0.0152815217, -0.0265080947, -0.0527414791, 0.062188074, 0.0143772382, -0.0186980255, -0.0172128771, 0.0098324744, -0.0255472288, 0.032035958, -0.0083468631, -0.0015236415, 0.0247290432, -0.044872582, -0.0531117395, 0.0645547509, -0.014610826, -0.0274817925, 0.0114441672, -0.0075992839, -0.062322963, 0.0092507992, -0.041985929, 0.0540969446, -0.0285694655, -0.009889585, 0.0140849901, 0.056689512, -0.0096656987, -0.0260103326, -0.0365607142, 0.0260156393, -0.0375751555, 0.0048555415, -0.0413384885, -0.0026428232, 0.0325388275, 0.0382572301, -0.048391901, -0.0202901699, 0.0421824828, -0.0099326763, 0.0286205076, -0.0514514185, 0.0076409006, -0.0445940495, 0.0981022343, 0.0017337137, 0.0245364141, 0.022558907, -0.0318243429, -0.0289078597, -0.0578994937, -0.0263861511, 0.0251048431, 0.0112411054, -0.0691297129, 0.0287075043, 0.0162196681, -0.0380706303, -0.0202292427, 0.0123020289, -0.0098312087, 0.0146333342, -0.0320197083, -0.0308176689, 0.0241020229, 0.0255785026, -0.0023115547, 0.0455734245, -0.0370021686, -0.0292441342, -0.0336178541, 0.0300884731, 0.0460450947, 0.0533898287, -0.0285238475, -0.0112048294, -0.0838630646, 0.0279493015, -0.0457374714, -0.0142918164, -0.0539297126, 0.072111547, 0.0098761898, -0.0094919521, -0.0244922619, 0.0304597188, 0.0411946066, -0.0760658085, -0.0743638575, 0.0458158515, 0.0609761477, 0.0383085683, -0.0072094696, -0.0233143326, -0.0089194896, 0.0272186361, 0.0424580127, -0.030808188, -0.0371767841, 0.0064486279, -0.0526140854, 0.0234317984, -0.0282698795, -0.0136434287, -0.1021260992, 0.0314230286, 0.0151209552, -0.1156603694, -0.0419508331, -0.0224292576, 0.0070153098, 0.0092726648, -0.0514281541, -0.0462582447, -0.0096647544, 0.0145140728, 0.0479700305, 0.0072140922, 0.013185096, 0.0049711149, -0.0621342734, 0.0222619697, 0.0019029137, 0.0627649426, 0.0008881406, -0.0677071065, 0.0456301048, 0.0369894952, 0.0162148643, -0.025846513, 0.0589498989, 0.0233755261, 0.0093020089, 0.0161985438, 0.0377810299, -0.0447726846, -0.0304953959, -0.0023712036, 0.0858512074, 0.0037169282, 0.0092235627, -0.0401226468, 0.0355570689, 0.0022016442, 0.0228898507, 0.0158439707, 0.0295906607, -0.0653328151, -0.0438886173, -0.0401158407, -0.0464982539, 0.0039258162, 0.0172878318, 0.025051089, -0.0262524467, -0.0855941176, -0.0003925082, 0.0388538055, 0.0741176307, 0.0329127125, -0.038452927, 0.0272349287, -0.0496201888, -0.058649078, 0.0479166992, -0.0570720211, 0.0328010544, 0.0431139208, 0.03973151, -0.0139860697, -0.0514674969, -0.0272013862, -0.023716202, -0.0492178909, -0.0396967344, -0.0369271934, 0.0686218739, 0.019394394, 0.0241615772, -0.0322649218, 0.014054507, 0.037095204, 0.0300264172, -0.0171985906, -0.0037693346, 0.0536375381, 0.006416861, 0.0251283217, -0.0083154375, 0.008779753, 0.046341151, 0.0517789498, -0.0032971152, -0.0191935487, 0.0811665654, 0.0068511041, -0.0366108753, 0.0327120945, 0.0517450646, -0.0560693331, -0.0247007161, -0.0049155378, -0.0206948798, 0.0079397075, -0.0365534239, 0.0411389768, 0.0153093645, 0.0567495264, -0.031238135, -0.0489718989, 0.0558318831, 0.0314656645, 0.0399784595, -0.05529093, 0.044051405, 0.0122669358, 0.0062167724, 0.0235746726, -0.0215753838, -0.0003440209, -0.0255460776, 0.0537089668, -0.0380613506, -0.0060609649, 0.0720396489, 0.0102461036, -0.0791255534, -0.0145236924, -0.0644541979, -0.0409794822, 0.0089949472, -0.0328700319, 0.0380213074, -0.0123765115, -0.0129621634, -0.0214199312, 0.0098768966, 0.035765741, 0.0127706211, 0.0076686032, -0.010519403, 0.0514141135, 0.0124841379, 0.0185558554, -0.0233762953, 0.0008452464, -0.0229307637, 0.0489229932, -0.0061089057, 0.0010528768, -0.0109500363, 0.0132750496, 0.00604741, 0.0131483488, -0.0080266688, 0.0090429736, -0.0370505527, -0.0751940906, 0.0128517691, 0.0346536599, 0.0183330737, 0.0277853757, 0.0334419683, 0.0173465926, -0.0021112249, -0.0712810755, -0.0011042504, -0.0153395534, 0.0285007358, -0.0293554086, -0.0341921151, -5.721058639e-33, -0.0256204549, -0.0391077735, 0.076568909, -0.0067895134, -0.0013182629, -0.030904267, -0.0406359881, -0.0492261015, 0.0003859969, 0.0086495969, -0.0112613253, 0.006108575, -0.000268655, 0.0346162952, 0.0235233735, -0.0039646188, 0.0117136221, 0.0211989544, -0.0327094421, -0.025985226, 0.0519342907, 0.0071635037, 0.0236392207, -0.0520182475, -0.0289612021, 0.0772458538, 0.0023440525, 0.0342852101, -0.0489208698, 0.0280888323, 0.0027452449, -0.0388317332, 0.0254383031, -0.0129048144, -0.0296198521, 0.0305503774, -0.0953835994, -0.069671981, 0.0164873619, -0.0074521857, -0.0324612074, -0.0292954277, 0.0526403002, -0.0089594647, 0.0580684096, -0.0514575727, 0.0472780876, -0.025300974, -0.0512773171, -0.0121656582, -0.0795749277, 0.0211863481, -0.0003353714, 0.0265325811, -0.0004273762, -0.0032751397, 0.0035667492, 0.0199141502, -0.0265844595, 0.0056730229, 0.0095895343, 0.0108424611, 0.0189572815, -0.004003311, -0.0093644233, 0.0519149154, 0.019609781, -0.0395052359, -0.0496394485, 0.0113790827, 0.052816391, 0.0667451546, 0.0241942387, 0.0207844879, 0.0667040721, -0.0122807622, -0.0619442649, 0.025845306, -0.0811804235, 0.0425827429, -0.0078367842, 0.0144812185, -0.0131074768, -0.0187510382, -0.0426600389, -0.0129754366, -0.0062694605, -0.0031772912, 0.0288367197, -0.0131248264, 0.0239978433, 0.033227399, 0.0107697817, -0.0351103023, -0.0353522785, -0.0035017838, 0.0076230629, 0.0270741079, -0.02200309, 0.0426567607, -0.0490966886, -0.0372159034, -0.0049526463, 0.02168753, 0.031852819, 0.0049250959, 0.0806015283, 0.0584257506, -0.0427478701, -0.0241413508, -0.0544325486, -0.0348355286, 0.0278224312, 0.0272078086, 0.024246309, 0.0469637141, -0.0086764507, 0.0373834781, -0.0383252427, -0.0403854921, 0.0046602609, 0.0362470448, -0.0082305502, 0.0294827577, -0.0155126937, -0.0182821322, -0.029615758, -0.0144584868, 0.0425454229, -0.0785142705, -0.0056771319, 0.0245869607, 2.711e-7, 0.0397310741, 0.0386886597, 0.0355475582, -0.0040343865, -0.0063360268, 0.0131365042, -0.0041447566, 0.0026840158, -0.0058006239, 0.0090198619, 0.0024346116, 0.079192549, 0.0362646393, 0.0427855738, -0.0683187246, 0.0179610439, -0.0016799787, -0.0395090245, -0.0338983126, 0.0002462907, 0.0936377421, 0.0335526839, 0.0520842299, -0.0338991955, 0.0199937019, -0.020047592, 0.0386395082, -0.0036166145, 0.0710364729, -0.0049766325, 0.0202516373, -0.0468110777, 0.0110742226, 0.0197455771, 0.0107377302, 0.0020282217, -0.0062262919, 0.0656952485, -0.0136021161, 0.0019834284, -0.0198942814, -0.054947488, -0.0214181468, -0.0279807262, 0.0580136739, -0.1209927276, -0.0187944211, 0.0168955252, -0.0017550348, 0.0080701271, -0.0128645543, 0.0183838159, 0.0218179747, -0.010712103, 0.0313451514, 0.0124940192, 0.0077047837, -0.0865673199, -0.0191657413, 0.0231863055, -0.0180671699, 0.0102923447, -0.01585049, 0.0223736055, 0.037994381, -0.0538872927, -0.0358695425, 2.201321409e-34, -0.0313862339, 0.0090324469, -0.0029505133, -0.0108417906, 0.0273291692, -0.0185673404, -0.0548654683, 0.0017188081, 0.0159856007, -0.0234416742, 0.0009346717 ]
http://arxiv.org/abs/2406.13827v2
http://arxiv.org/pdf/2406.13827v2
Fine-Tuning BERTs for Definition Extraction from Mathematical Text
2024-06-19T20:47:23
2024-06-27T22:31:07
Lucy Horowitz, Ryan Hathaway
cs.CL
cs.CL
In this paper, we fine-tuned three pre-trained BERT models on the task of "definition extraction" from mathematical English written in LaTeX. This is presented as a binary classification problem, where either a sentence contains a definition of a mathematical term or it does not. We used two original data sets, "Chicago" and "TAC," to fine-tune and test these models. We also tested on WFMALL, a dataset presented by Vanetik and Litvak in 2021 and compared the performance of our models to theirs. We found that a high-performance Sentence-BERT transformer model performed best based on overall accuracy, recall, and precision metrics, achieving comparable results to the earlier models with less computational effort.
[ -0.0285416823, 0.0874265432, 0.0174545497, 0.0528144911, -0.0332586542, 0.0110281929, -0.0027858813, -0.0079560019, -0.1003290191, -0.0836695135, -0.0225101206, 0.0152437044, -0.0303921718, 0.0180186797, 0.0222535785, -0.0299455933, 0.0321961232, -0.0066373064, 0.0071835653, 0.0086529711, -0.0060917009, -0.0349433906, -0.0200237129, 0.0178031046, -0.0516088307, -0.0435649119, 0.0454334281, -0.0354836509, 0.029980775, 0.0096831853, 0.0292995181, 0.0582444631, -0.0130322855, 0.0559043512, 0.0000017488, -0.0688812882, -0.0749456882, 0.0088897413, -0.0117291939, 0.0007933506, -0.0101428591, -0.0333418399, 0.0209384467, -0.004168978, -0.0553723834, 0.0077046561, 0.0327010676, 0.0213777237, 0.0597740561, 0.0431325585, -0.0309003964, -0.0909113735, 0.0384431519, -0.0036766052, 0.0238372386, -0.0185385272, 0.0296044592, -0.0107046403, -0.0216243882, -0.0406048819, -0.0222071316, 0.0267495234, 0.0239158217, 0.0077370587, 0.0369594283, -0.002815228, -0.0870189667, -0.00571424, -0.0074069691, 0.0566704236, 0.0105917566, -0.0198683292, 0.0145775564, 0.0175326429, -0.0143682929, 0.0350952595, -0.036749851, -0.0016049471, -0.0425198413, -0.017549634, -0.0322577916, -0.0082149236, 0.0112526072, 0.0253819134, -0.0879329965, 0.0526715554, 0.0345041864, -0.0491007939, -0.0236084089, 0.0050980421, -0.0990053713, -0.0105247889, 0.0853708982, 0.0140618458, 0.0688220486, 0.003998348, -0.0757889822, -0.1179459468, -0.0371880867, -0.0584311113, 0.0236511342, 0.0397455581, -0.0184865277, 0.0315742008, -0.0293210465, 0.0378931537, -0.0046725427, 0.0457264148, -0.0058147185, 0.0235703513, -0.0420452096, -0.009905301, -0.0636702925, 0.0640638843, 0.0453046784, -0.0323011726, -0.0421706364, 0.001787312, -0.0257479958, 0.0262049101, 0.0086123329, -0.0403591469, -0.0326987244, -0.0025757949, 0.0225267056, -0.0113057792, -0.0277432613, -0.0166905336, 0.0014398746, -0.0203151088, -0.0368343964, 0.0374417789, 0.0283590406, -0.0414849706, 0.0243404806, 0.0212494656, 0.0401774496, -0.0479971953, 0.0388182066, -0.0024224347, 0.0019960869, -0.0197191462, 0.002376375, -0.055978056, 0.0358889066, 0.0310291816, -0.0040183873, 0.0062686987, 0.0015890856, -0.0062546106, 0.0011219205, 0.0549422279, -0.025954688, -0.0120054018, 0.040730387, -0.0162147693, 0.0031993827, 0.0239804741, 0.0620019101, -0.0049561113, 0.0673938245, 0.0061338702, 0.0083032791, 0.0794132948, -0.0072338991, -0.0340549387, -0.0331863351, 0.0191778783, 0.0009799064, 0.035717573, 0.0029027329, 0.0406387597, -0.0758955926, 0.0273299795, 0.0068985522, 0.0593612567, 0.0299079828, 0.0119820796, 0.032907594, 0.0236524567, 0.0788357034, -0.0206860043, -0.0176682416, -0.0541544966, -0.0127826454, 0.0453435443, -0.0007031683, -0.0290813427, 0.0069398223, -0.0390672423, -0.0202652439, -0.0547122173, -0.0369243361, -0.0304883197, 0.0916649923, 0.0231088661, -0.0162719395, 0.1299614161, -0.0118786218, -0.0200031009, 0.0017772244, -0.0382886045, -0.0250863824, -0.0170949735, 0.0750282034, -0.070262149, -0.0502829701, 0.001074162, -0.0263881236, 0.0298050772, 0.0234817639, -0.0033347467, -0.0019364544, -0.0376502536, -0.0209413767, -0.0155547867, 0.0464055948, -0.0310360733, 0.023679452, -0.0020079955, 0.0220435672, -0.0562074035, -0.0101060877, 0.060067527, 0.0475097038, -0.0780219808, 0.0011341221, -0.0070820223, 0.0035086516, -0.0155664068, -0.0429448672, 0.0459864549, -0.0077924537, -0.0598243102, 0.0167990681, 0.0100463526, -0.0197452549, -0.0382680073, 0.0574878678, -0.021773167, -0.0095593864, 0.05322605, -0.0245461855, -0.0176586024, -0.000573124, -0.0518436357, 0.0425877422, -0.0327994861, 0.0267225374, -0.0079555344, -0.0261907838, -0.0108323786, 0.0698881373, 0.0094649261, 0.0229759086, -0.0257510114, -0.0144413467, 0.0191126447, 0.0138954278, -0.0334130116, -0.0453387015, -0.0150528476, 0.0160733797, 0.0024386588, 0.0221934244, -0.0216988325, -0.0350968316, -0.0133098885, 0.0237806607, -0.0311051216, 0.0812277645, 0.0252636988, -0.0201639235, -0.0056230905, -0.0063424269, 0.0101213055, -0.0188311376, -0.0344009139, -0.0277820043, 0.0637143925, 0.0130154695, -0.0109948013, -0.0431542918, -0.0201008748, -0.0518122315, 0.0552864522, 0.0286648609, 0.000984277, -0.0039380277, 0.0014503502, -0.0331583135, -0.0025143272, 0.0146409748, 0.0097598415, 0.006325529, -0.0403449759, 0.0282851141, 0.0250299461, 0.0327989198, 0.034787029, -0.0245536566, -0.0255238116, -0.0352105387, 0.0037828826, -0.0116258198, 0.0207158495, 0.0050030602, 0.0147705246, 0.0483344756, 0.0766206831, -0.0127404379, 0.0017556049, -0.0079427389, 0.016836958, -0.0106520671, 0.0293904841, -0.0232212152, 0.0218434557, -0.0592070222, 0.0196151398, -0.0103346128, -0.0297209937, 0.0432700589, -0.0034399654, -0.0169557277, -0.0552649572, 0.0535396263, -0.0568600819, -0.0191284847, 0.02463126, -0.0108578922, 0.0035007282, -0.0215749107, 0.0073205237, -0.0082202032, 0.0478215925, -0.0427951254, 0.0300061963, -0.0185979046, 0.0462243445, -0.0448904447, -0.0216958653, -0.0326881558, 0.0109975263, 0.0115926452, 0.0449031815, 0.036573071, -0.0246627498, -0.0507638417, 0.0073774061, 0.0237055104, 0.0664569065, -0.0267669428, -0.0232593566, -0.0262463186, 0.0539328828, 0.0572473742, 0.0167913996, 0.0067663239, -0.0787465498, -0.0159438942, -0.0243082382, 0.0157857276, 0.0166907404, -0.0245923139, -0.0209851507, 0.0182466414, -0.0996315703, -0.0197298266, 0.0114873312, -0.0037281422, -0.0337945558, -0.0249754973, 0.0944279358, 0.0402079076, 0.0025476299, -0.0249766782, -0.0256149191, 0.011010332, -0.0225618668, -0.009803392, -0.1132825166, -0.0247133952, 0.0106249489, 0.0345515311, 0.0455472283, -0.0193733461, 0.0288897343, -0.0536937229, 0.0051047583, -0.0074380524, 0.0163284857, 0.013249578, -0.0303991586, 0.014322429, -0.0101177869, 0.0030114572, -0.0059140758, -0.0291700624, 0.0340722017, 0.0090943547, -0.0558808409, -0.0280270632, -0.0220627412, -0.0356073081, -0.0836363807, 0.0191710498, 0.0381207764, -0.0650003701, -0.0544929095, 0.0020098665, -0.0097799199, -0.0564214624, 0.0140143214, 0.0330193825, -0.045949243, 0.0046478366, -0.0065332842, 0.0154737541, -0.05864406, -0.0222211648, 0.0138938567, 0.0405463651, -0.0120997122, 0.0134060271, -0.0119673386, -0.0050066682, -0.0538199544, 0.0416138731, 0.0473882481, -0.030328922, -0.058672756, 0.0090399897, 0.0358599573, -0.0721942633, -0.0147825712, -0.0544532798, -0.0016563761, -0.0327415392, -0.0556442589, -0.0298035704, 0.0293201078, 0.040291857, -0.0012805586, -0.0244551059, -0.0105937812, -0.0057421853, -0.0728264377, 0.0618337467, 0.0131017696, -0.0032548206, -0.0667382181, -0.0114125311, -0.0080913091, 0.032738246, -0.0634809583, 0.0192793757, -0.0386084244, -0.0138150984, 0.0269060265, 0.0538061149, 0.0202193931, -0.0141914003, -0.0321929492, 0.0287798904, 0.0510127172, 0.0634418949, -0.0343601219, -0.0062289732, 0.0601707809, 0.0194333252, -0.0127552636, 0.0079983408, -0.012704053, 0.0157426018, -0.0053567681, 0.0612699501, -0.0388529599, -0.0148342038, 0.0108761424, 0.0625123382, 0.0509782471, -0.0039463714, 0.0030462847, 0.0208494738, 0.0002590309, 0.006947835, -0.0125521487, -0.0390686281, 0.0330495648, -0.0065676318, 0.0071577472, -0.0403521694, 0.0503715388, 0.0229807887, 0.0235126317, -0.0049344194, 0.0908467695, -0.0117211463, 0.0281921029, 0.0144467959, -0.0534396917, 0.0064315004, -0.0237607248, -0.0071143066, 0.0156443175, -0.0042199516, 0.0254127439, 0.0278204158, 0.0185166318, -0.0290917456, 0.0246445164, -0.011473435, -0.042486947, -0.0338180549, 0.0388953686, 0.0204971153, 0.0296582226, 0.0503162444, -0.0130106723, -0.0311688464, -0.018734917, 0.0340491571, 0.017950112, 0.026208356, 0.0215195064, 0.0317624249, 0.0179174989, -0.070676975, 0.0318190977, -0.0498837233, 0.0394489877, 0.0063488367, 0.0096367849, -0.0650407374, 0.0301639549, 0.0212958548, -0.03771054, -0.0009341835, -0.0139739383, -0.0469911955, -0.0211571865, 0.0861711428, 0.0188836809, -0.0105437255, 0.018717248, 0.0314676613, 0.0717678666, -0.0316533744, -0.0540695712, -0.0152549436, 0.0507310443, 0.0160747115, -0.0166330524, -0.0433502458, -5.319032959e-33, -0.0267584883, 0.0075587006, -0.0098415306, 0.0407514684, -0.0178965833, 0.0084744934, -0.0151366303, -0.0278798416, 0.0288864747, 0.0053581363, 0.0058890251, 0.0115662757, 0.0200963598, -0.0046427227, -0.0086615831, -0.0026302822, 0.0285417382, -0.0330823287, -0.0448495038, -0.034306854, 0.0018952092, 0.0682754368, 0.0951449424, -0.0166580863, 0.0080393702, -0.0001307307, 0.0204473604, -0.0120994542, 0.0378637426, 0.0513382368, -0.0347741358, 0.017830383, 0.0007910703, -0.0040091574, -0.0159741733, 0.0133954287, -0.048463501, -0.0208986644, -0.0328381434, 0.0399454311, -0.0260339882, -0.0332573019, 0.0555626638, 0.0077728461, -0.0477259085, 0.003964602, 0.0656731948, -0.0118485522, -0.0214777905, -0.0649499595, -0.0700887144, 0.0704964846, 0.0175743103, -0.0194369294, 0.0507495739, 0.0174926538, -0.0284930654, -0.0046605985, -0.0186322387, -0.0458723456, 0.0536858216, 0.032575313, -0.0116563486, -0.0195323136, 0.0312331151, 0.03029719, 0.0089444676, -0.0380715355, 0.036132969, -0.0320788361, 0.0820183977, 0.0781623051, 0.0191121995, 0.0095628062, 0.0722434819, 0.0382579081, -0.0133270947, 0.0256026555, -0.0224794969, 0.0343206637, 0.000491841, -0.0112174852, -0.0339359641, 0.0335468315, -0.0070844367, 0.0225193836, -0.0330660641, 0.0155573096, 0.0040724142, -0.0302601904, -0.0174905583, 0.0264384728, 0.0297280718, -0.0249137823, -0.0065195197, -0.0286045969, -0.0126894442, 0.0241832379, -0.0296326894, 0.0174766853, -0.0540257171, -0.0604076274, -0.0168444179, 0.0218003783, 0.0256415606, -0.0002533159, 0.0204640105, 0.0190123208, -0.0140551701, -0.0092020398, -0.0126395123, -0.0419808216, -0.000034851, 0.0670640096, 0.0345812179, 0.0376687385, 0.0295804963, 0.0002425741, 0.0343916453, 0.0080016814, -0.0407686606, 0.0331694372, 0.0173739884, 0.060905654, 0.0023653305, -0.0164437797, 0.0018012014, 0.0363298133, 0.0072711315, -0.0596055947, 0.0191986207, -0.0189549625, 2.476e-7, 0.0998534858, 0.0734676495, 0.0335130133, -0.0101341838, -0.0198973455, 0.002350657, -0.0185375996, 0.0242066123, 0.0043834369, 0.0198835861, 0.0293994658, 0.0093563572, 0.0214600507, 0.0167107526, -0.0532183871, -0.004484769, -0.0733913258, 0.0106442645, -0.0375171378, 0.0001466469, 0.0865447372, 0.0486790985, 0.0125481263, 0.0045196554, -0.0332210548, -0.0446254201, 0.08268971, 0.0029386319, 0.0103430012, 0.0642986894, 0.0440903492, -0.0262027308, 0.0222765226, -0.0145012001, -0.0101166284, 0.0651581287, 0.0517410934, 0.0504214689, -0.0131557109, 0.0224924423, -0.019351963, -0.0250183418, -0.0078923116, -0.0285877734, 0.0355791524, -0.0839774087, -0.0225094538, 0.0064421976, -0.088972941, 0.0168966725, 0.0295502674, -0.0037679242, -0.004848408, 0.0328462906, 0.0518264361, -0.0051613422, -0.0126333972, -0.0662591755, 0.0176907517, 0.0368019901, -0.0486624427, -0.019426709, -0.0527075455, -0.0201195851, -0.0002969642, -0.0341271609, -0.0146564711, 2.295729906e-34, 0.0483513251, -0.0142633487, 0.0060785916, 0.0683729872, 0.0207649488, -0.0202199575, -0.0192390215, 0.0111806849, -0.0204937849, -0.0633812621, 0.0216801669 ]
http://arxiv.org/abs/2406.13820v1
http://arxiv.org/pdf/2406.13820v1
Framing Social Movements on Social Media: Unpacking Diagnostic, Prognostic, and Motivational Strategies
2024-06-19T20:31:34
2024-06-19T20:31:34
Julia Mendelsohn, Maya Vijan, Dallas Card, Ceren Budak
cs.CL
cs.CL
Social media enables activists to directly communicate with the public and provides a space for movement leaders, participants, bystanders, and opponents to collectively construct and contest narratives. Focusing on Twitter messages from social movements surrounding three issues in 2018-2019 (guns, immigration, and LGBTQ rights), we create a codebook, annotated dataset, and computational models to detect diagnostic (problem identification and attribution), prognostic (proposed solutions and tactics), and motivational (calls to action) framing strategies. We conduct an in-depth unsupervised linguistic analysis of each framing strategy, and uncover cross-movement similarities in associations between framing and linguistic features such as pronouns and deontic modal verbs. Finally, we compare framing strategies across issues and other social, cultural, and interactional contexts. For example, we show that diagnostic framing is more common in replies than original broadcast posts, and that social movement organizations focus much more on prognostic and motivational framing than journalists and ordinary citizens.
[ 0.0169021469, 0.072651729, -0.0072574643, -0.0110606635, -0.0222105458, 0.0020687627, -0.016918445, 0.0127259837, -0.0384743772, -0.0337672979, 0.0768510699, -0.0041347444, 0.0015152585, 0.0087512461, -0.0015474781, -0.0170408972, -0.014872957, 0.0621733516, 0.057507474, -0.0068392768, 0.0584806837, 0.0683523044, -0.0148941949, 0.0529977083, -0.0398585945, -0.0028087655, -0.0056020855, 0.0132645313, 0.0274232291, -0.0189307891, 0.0269258339, 0.039217148, 0.0273208506, 0.0368175469, 0.0000019563, -0.0195775907, -0.0051712673, -0.0477746353, 0.0229489468, -0.0480227433, 0.0482993349, -0.08699435, 0.012457286, 0.0122999251, -0.0462772176, -0.0303816162, 0.0394654796, 0.010690663, 0.01879026, 0.0613890998, -0.0065505439, -0.0203227196, -0.0075924969, 0.0025353446, -0.0481569208, 0.031503778, 0.0094955685, -0.0302273873, -0.0215007085, 0.0110896574, 0.0158225391, 0.0307708737, 0.0038439725, -0.0142909521, -0.0583235435, -0.0276256055, 0.0141013442, -0.047319524, 0.0195343364, 0.0371468253, 0.0795869976, -0.0362970196, 0.0604435839, -0.0122660035, 0.0031362085, 0.0323924534, -0.0351958834, 0.0403178371, -0.0154350642, 0.020409165, -0.0113442922, -0.0047663925, 0.028563153, 0.0322030634, 0.0354840271, 0.0079885665, -0.0360366292, 0.0196494218, -0.0367013849, -0.009241241, 0.020370258, -0.0619112216, 0.0029892854, -0.0024112924, -0.0334705375, 0.0561897159, -0.0130210761, -0.0394510217, 0.0224602278, -0.0502875634, -0.0105118733, 0.0126797631, 0.0249069538, 0.0039470862, 0.0302942451, -0.0354400165, -0.0316456221, 0.0157261845, 0.0152053442, 0.0193844736, -0.0652727336, 0.0063694376, -0.0189135894, -0.0241229273, -0.0270672701, -0.0038840279, 0.0107495021, -0.036619287, -0.01340516, -0.0170975924, -0.0784186274, 0.0180035029, 0.0004221839, 0.0271221362, 0.0000752375, 0.0979916379, -0.0535255037, 0.0306647997, 0.00097401, -0.0316418894, 0.0071897153, 0.0146094058, 0.0347163379, 0.0060095848, -0.0252731871, -0.0227689762, -0.0152016934, 0.0283605643, -0.016893154, -0.057669431, -0.0280895475, -0.0440219492, -0.0153834214, -0.0647352487, 0.0409445986, 0.0697343796, 0.0278810263, -0.0405353084, 0.0100443577, 0.0223194379, 0.0142841209, 0.0335058533, 0.0476191118, 0.0326594822, 0.0679386854, 0.0515690446, 0.0279910211, 0.0854699239, 0.0209113769, 0.0173156392, 0.0232522879, -0.028690435, 0.0187541265, 0.0203265976, 0.0082458984, 0.0335113443, 0.0296953525, -0.0018416044, -0.0263051298, 0.0055350629, -0.0286128242, 0.0385572277, 0.0198038779, -0.006410094, 0.0132887205, 0.0955327153, -0.0120094614, -0.0082097407, 0.0249645077, 0.0485267676, -0.0283880364, -0.0372813046, 0.0235363822, -0.0190517586, -0.0034609761, -0.0540994853, -0.0241594408, 0.0002265018, -0.0310095642, -0.0257950965, -0.0298120752, 0.0423097573, 0.0445550568, -0.0437732898, -0.0284493882, -0.0050167004, -0.0041641076, 0.0391732268, 0.009453617, -0.0461431816, -0.0105204545, -0.0467628986, -0.0361793637, -0.0144268554, -0.0086448714, 0.0237652622, -0.0260016453, -0.0625879988, 0.0661313161, 0.0352140106, 0.0150441136, 0.0137172351, -0.0811076909, 0.0001871672, -0.0431796834, 0.0113611389, 0.004313102, -0.0026259571, 0.0171421506, 0.0337009132, -0.0089541543, -0.0249137823, -0.0609626584, 0.0312250908, 0.0482334942, -0.0155817112, -0.0139238043, 0.0242606737, 0.0429934524, 0.0680273622, 0.0136434371, -0.0196357369, 0.0154504739, 0.0028184324, -0.062346112, 0.0484189056, -0.0120178275, 0.0400602371, 0.0068928283, -0.0522561893, -0.0593680069, -0.0041843392, -0.0166040622, -0.002621182, 0.1102652997, -0.0197533146, -0.0218983032, -0.0072879931, -0.0329817869, -0.0175418407, -0.0141714597, 0.0139670726, 0.0458145961, -0.0066672801, -0.0062598982, -0.009350677, -0.020418914, 0.0321844518, 0.0104929535, 0.0028332062, 0.0377790928, -0.0191093832, 0.0248208735, 0.0231718272, -0.0522716381, -0.064185515, -0.0125311017, -0.0921988562, -0.0291152485, -0.0426215343, -0.0093536042, 0.035878025, 0.0193799417, -0.0113573093, 0.0111767203, -0.0141971158, -0.0547796935, 0.008429951, -0.0145650115, -0.0209604148, 0.0169230346, -0.0082000345, -0.0052675367, -0.0019594871, -0.0610800274, 0.011872882, 0.0171431061, -0.1020801887, 0.0182300862, -0.0195037629, -0.0411236249, -0.047217112, -0.0212764554, -0.0291754752, 0.0522727147, 0.0138301877, 0.0018892393, -0.0108672706, 0.0488968939, 0.0932798833, -0.0126096038, 0.0406374261, -0.0511850789, -0.0128791239, -0.0420632958, -0.0379709564, -0.0498230718, -0.0791623592, 0.0320850275, 0.0360555649, 0.059140157, 0.0315394141, -0.0363361686, 0.0057833572, -0.0687033385, -0.0250125248, -0.0321288444, -0.0050311852, -0.0202840939, 0.0328093395, -0.0342383906, 0.0042673303, 0.0030573877, 0.0532020107, 0.0274157282, -0.0186641421, -0.0336736776, -0.0092934538, 0.0600141771, -0.0103691826, 0.0228417758, 0.0303234737, -0.0267740916, 0.0316880308, -0.0971016735, 0.0162730031, -0.0200323164, 0.0134155471, -0.0180145632, 0.0439885147, 0.0415630192, -0.0085189072, 0.0036755593, -0.0992273092, -0.0498867929, -0.0004985927, -0.02673053, -0.0123066362, -0.0087325908, 0.0057901065, 0.0228912719, -0.0222903267, 0.0295038447, -0.0137941688, -0.0086592613, 0.0213938858, -0.030764835, 0.0041851513, 0.0164631959, -0.0334616229, -0.016169548, 0.0504887588, 0.0430552401, 0.0183002222, -0.0176547784, -0.0269933064, 0.0058008251, 0.0160064474, 0.0212183855, -0.0325052775, 0.0635503829, -0.0141645838, 0.0570577346, 0.0511719361, 0.0416444242, 0.0243014917, 0.000754686, 0.0002650365, 0.0219773166, 0.0018768316, -0.0083081732, -0.1001067981, 0.0262319352, 0.0013717058, 0.0164906289, -0.0585191324, -0.0111343497, -0.0086554727, -0.049180802, 0.0310372449, -0.0049149934, 0.050099276, 0.0366084017, -0.0380035602, 0.0369673036, 0.0042029084, -0.0064520654, -0.0302637722, 0.0190855321, -0.0025608416, 0.0213488508, -0.0512753949, -0.0156306885, -0.0367349871, -0.042580124, 0.0272925831, 0.017265914, 0.0845441595, 0.0266895555, 0.0073570814, 0.0318453759, -0.012762785, -0.0283371191, -0.0450264998, 0.0115301032, -0.0082723629, 0.0020720209, -0.0133889886, 0.0730188563, -0.0484171659, -0.0445799157, -0.0070617418, -0.0018240709, -0.0021641501, -0.0517560579, 0.0104229096, 0.0532681495, 0.0310015138, 0.0453465991, 0.0618353896, -0.0056435755, 0.0075502829, -0.0433076993, 0.0601916164, -0.0180206038, -0.054518193, -0.0602850541, 0.0127182426, -0.0004334626, -0.0037451962, -0.0511297546, 0.0166338161, 0.0107639106, 0.0137984855, -0.0271919258, 0.0073026279, -0.0195816495, -0.0471694246, 0.0487205423, 0.0026812537, 0.0319108292, 0.0125531033, -0.0511281155, -0.0213116556, 0.0577859543, 0.00187612, 0.0163140316, -0.0442387499, -0.0500015952, 0.0235712565, -0.0386696383, 0.0166185331, 0.0039300774, 0.0109347021, -0.0576344617, 0.0130254412, 0.04362325, 0.0064708996, 0.0263102185, 0.0017914594, 0.0260551628, 0.0073818415, 0.024584325, 0.0512437299, 0.0177290831, 0.0437200889, 0.009724238, -0.0907861292, 0.0256282538, -0.0039538085, -0.03302579, 0.0167642273, -0.0249616038, -0.0705928952, -0.0254537407, -0.0770326033, -0.0049933288, -0.0357761905, 0.0081269238, -0.0078344438, 0.0181720015, 0.019377498, -0.0461219773, 0.0718048438, -0.0449378453, 0.024025429, -0.025157351, 0.0673573762, 0.0039552911, 0.0271294378, -0.0166517347, -0.0171685759, 0.0326257758, 0.0411213785, -0.0150347138, 0.0083976779, 0.010659053, 0.0202590395, 0.033873193, -0.0022921218, 0.0328250602, -0.0046071038, -0.0012798371, -0.075089179, 0.0159583911, 0.0215014219, -0.0076910094, -0.0191055536, 0.0462106951, 0.0025057155, -0.0137275849, 0.0073559745, 0.0176381432, -0.0036182732, -0.0136018181, 0.0420022197, 0.010977543, -0.0303824469, -0.0026696732, -0.0220025443, -0.0718954727, 0.0273423065, 0.0521890484, -0.0277063549, -0.0120741222, -0.0139227603, -0.0096025523, 0.0133317774, 0.0357728377, 0.0003217167, -0.0724961832, 0.0001480897, 0.062616758, -0.0326079205, -0.0106838141, -0.0024969676, -0.0139930025, 0.040510565, 0.0041086837, 0.0269046966, -0.0557966977, 0.0063710161, -0.0244437195, -0.0417237468, 0.0125844441, -6.557110262e-33, 0.0252671, -0.0652578697, -0.0138544943, -0.0345132984, -0.0144300545, 0.0391505547, -0.0386310704, 0.0306105129, 0.0149434535, 0.0619887225, 0.0030508202, 0.0538633317, 0.0210374519, 0.0110841841, -0.0228214283, -0.0191121455, 0.0125092426, -0.0120240729, -0.0515215993, 0.0189732015, 0.0416833535, -0.0181884319, -0.0297122672, -0.1044071317, 0.0357319638, -0.0147379469, -0.0356495231, -0.0024454677, 0.0636241734, -0.0070646023, -0.0224672426, 0.0378352702, 0.0373598412, -0.0095075229, 0.0374721251, 0.1337882727, -0.0340005681, -0.0256276317, 0.0573972389, -0.0171317942, -0.014493783, -0.0090961419, -0.0143415593, -0.0142172221, -0.0715375021, 0.0359119177, 0.0187313184, 0.0306951981, 0.0913472548, 0.0387177132, -0.0665512085, 0.018351309, -0.0534404889, 0.0135840895, -0.0181144904, 0.004696744, 0.0181402303, 0.043251045, -0.0766275004, 0.0096794739, -0.0504630879, 0.0215356797, 0.0667598695, 0.0134775573, -0.0151866917, 0.0609252229, 0.0135038132, 0.0314963758, -0.0455496162, 0.0178551897, 0.0189986378, 0.0265778936, 0.0294748656, 0.1079523414, -0.0072372695, -0.0332730934, -0.0425012782, -0.0164147578, 0.0078482144, -0.0045546833, 0.0283992495, -0.0099378703, -0.0144680692, -0.0415640064, -0.070869334, -0.0671954602, -0.0227387752, -0.0083929207, -0.0329353884, 0.0030985652, -0.0632797107, 0.0087433662, 0.0370384641, -0.0029071874, -0.0330113806, 0.0233199131, -0.0133074792, 0.0283044111, 0.025197411, 0.0554567352, -0.0398019329, 0.0240950324, -0.0014812547, 0.0361555852, 0.054003492, -0.05277206, 0.0230587516, 0.0004006792, -0.0317414552, 0.0084766261, -0.0130452812, 0.0366065204, -0.0719589815, -0.0437778682, 0.0362023823, 0.0675646216, 0.0217054021, -0.0198564176, 0.0616453849, -0.0066389632, 0.0324624442, 0.0012134163, -0.0824441016, 0.0229291748, -0.0552981347, 0.0084937979, -0.0039877463, 0.0756733492, 0.069558017, -0.0594401956, -0.0144209275, -0.0373880193, 2.685e-7, 0.0711033493, 0.0283078719, 0.0158578288, -0.0210055653, 0.0248095542, 0.0426368564, 0.0441611968, 0.0259233825, -0.0258290935, -0.0854003876, -0.0246220399, 0.053366296, 0.0416675694, 0.005007009, -0.0359390825, 0.046155069, -0.0079199057, 0.0244326647, -0.0657879189, 0.0678513199, -0.0205238741, 0.0206051916, 0.0338993929, 0.0047289096, -0.0394867919, -0.0219775233, 0.0476506129, -0.0580572598, -0.0312274471, 0.0335134752, -0.018898312, -0.0473437794, 0.0215112399, -0.0336028039, -0.0213677026, 0.0071698925, -0.0177222714, 0.0267073121, 0.0486190654, -0.0368435942, -0.0507575795, 0.0099246828, -0.0298604742, -0.0122123677, 0.030062547, -0.0616180673, -0.0593529418, -0.0591657795, 0.0120896334, -0.0202541687, -0.0055937003, -0.0061218091, -0.0796550661, 0.0237922166, 0.0084548825, 0.011290594, 0.00782324, -0.0862220898, -0.0070141605, -0.0352120921, -0.0307672713, -0.0229076799, 0.0151611501, 0.0038840191, 0.0159031823, 0.0097569283, 0.0407350212, 1.916459753e-34, 0.0162738934, 0.0374432914, -0.022359835, -0.0317249112, 0.0257205702, 0.0161474254, -0.0246999264, -0.0161052421, 0.0234608557, -0.0210042167, 0.0173499137 ]
http://arxiv.org/abs/2406.13807v2
http://arxiv.org/pdf/2406.13807v2
AlanaVLM: A Multimodal Embodied AI Foundation Model for Egocentric Video Understanding
2024-06-19T20:14:14
2024-06-21T09:53:41
Alessandro Suglia, Claudio Greco, Katie Baker, Jose L. Part, Ioannis Papaioannou, Arash Eshghi, Ioannis Konstas, Oliver Lemon
cs.CV
cs.CV, cs.AI, cs.CL
AI personal assistants deployed via robots or wearables require embodied understanding to collaborate with humans effectively. However, current Vision-Language Models (VLMs) primarily focus on third-person view videos, neglecting the richness of egocentric perceptual experience. To address this gap, we propose three key contributions. First, we introduce the Egocentric Video Understanding Dataset (EVUD) for training VLMs on video captioning and question answering tasks specific to egocentric videos. Second, we present AlanaVLM, a 7B parameter VLM trained using parameter-efficient methods on EVUD. Finally, we evaluate AlanaVLM's capabilities on OpenEQA, a challenging benchmark for embodied video question answering. Our model achieves state-of-the-art performance, outperforming open-source models including strong Socratic models using GPT-4 as a planner by 3.6%. Additionally, we outperform Claude 3 and Gemini Pro Vision 1.0 and showcase competitive results compared to Gemini Pro 1.5 and GPT-4V, even surpassing the latter in spatial reasoning. This research paves the way for building efficient VLMs that can be deployed in robots or wearables, leveraging embodied video understanding to collaborate seamlessly with humans in everyday tasks, contributing to the next generation of Embodied AI.
[ 0.0274926685, 0.0374499597, -0.0073082033, 0.0485459566, 0.0024504769, -0.0118996007, 0.0028931175, -0.0471680276, 0.0018994143, -0.0642915517, -0.0431936309, -0.0154802706, -0.0130377198, 0.0301428288, 0.030053556, -0.0481773876, 0.0450554974, -0.0223537143, 0.0008192721, 0.0046564015, 0.0062046098, 0.0093808109, -0.0335564278, 0.0341119096, -0.031228153, 0.0060743215, -0.0410935357, 0.0068998481, 0.0419489481, -0.0367554165, -0.0256458092, 0.0169983618, 0.0572211221, -0.0163309872, 0.0000019657, -0.0153766908, 0.0237594843, -0.0228022728, 0.0125970738, -0.0059252852, -0.0308994651, -0.0250972155, 0.0334421881, 0.0300946441, -0.0622127764, -0.0181366131, 0.0308720395, 0.0252882224, 0.0763937309, 0.0245557837, -0.0153182354, -0.0003693456, -0.0088244304, -0.0061531733, -0.0059927441, -0.0298647638, 0.0092539238, -0.0228219423, 0.0316699818, 0.005105509, -0.0664782375, 0.0308754463, 0.0597301647, 0.0161373354, 0.0132524315, 0.0570666865, -0.0677515417, -0.0271783657, -0.0173384361, 0.0917054936, 0.0716763288, 0.0053888462, 0.0007323448, 0.0380932912, 0.039253857, -0.0435045138, -0.0266165826, 0.0382162407, -0.0169448443, -0.008707867, -0.0546316281, 0.0309585482, -0.0136714885, 0.0099918069, -0.0072994558, 0.0002644956, 0.0063949474, 0.0182149671, -0.0082154619, -0.0082570314, -0.0441153273, -0.0363659263, -0.013690724, 0.0409077071, 0.0179038271, -0.0023051782, -0.0584771447, 0.0508975163, -0.0541802384, -0.0127069, 0.0663017482, 0.0214922652, 0.019169569, 0.0421694815, 0.0000940611, 0.0555323437, -0.0110906996, 0.0520676039, 0.0148423119, 0.012055859, -0.0576157458, -0.0005269463, -0.0602723509, 0.0033960848, -0.0428433791, -0.0612606555, 0.0131901484, 0.0199249294, -0.0238018092, -0.0064357962, -0.0122589245, 0.0641634986, 0.0414259098, -0.026826594, -0.0244608391, 0.0053025293, -0.0480238199, 0.0531720221, -0.0236592256, -0.0687787831, -0.0430654772, 0.0160449445, 0.0066442359, -0.0056474563, -0.0124336202, 0.0565188229, -0.0065524946, -0.0628999621, 0.0391296782, 0.0119840708, -0.0171944853, -0.0282336548, 0.0257937741, -0.0444511063, 0.0411255583, -0.0530223437, -0.009826079, -0.0221387036, 0.0395330042, -0.0060412614, 0.0110768024, 0.0701093525, -0.0277485624, 0.038054537, 0.0155628109, 0.0190191269, 0.0368646979, 0.0461721383, 0.0357751399, 0.0005882907, 0.0073945601, 0.0061277896, 0.0408884026, 0.0115480581, -0.013894381, 0.0145490831, -0.0147088422, 0.0296996962, -0.0303002875, 0.0674689263, 0.0207484905, 0.0323191024, -0.0234742519, -0.0559429713, 0.0590571091, 0.0081121633, -0.0806861147, -0.042765975, 0.0222625509, 0.0058188555, 0.0364445485, -0.0697240829, -0.0704901367, 0.0894129053, 0.0504469723, -0.0183651745, 0.0039065047, -0.0077067278, -0.0783033073, -0.0587698855, -0.0104744602, 0.0145730879, -0.0244414173, 0.0217731427, 0.0241760742, -0.0007011963, -0.0304980222, 0.0099330498, -0.0395477638, -0.0221371166, 0.012798707, 0.0013538222, 0.0109087089, 0.0437107421, 0.014588451, -0.0056715771, -0.055533506, -0.0096812304, 0.0633819997, 0.0399140008, 0.032183785, -0.0142855607, 0.0445812047, -0.0390265472, -0.0453551002, -0.0243029874, 0.0082545653, 0.0492152013, 0.0057324837, 0.003717673, -0.0151499072, 0.0139064342, -0.0312908962, 0.036118187, -0.0094352756, -0.0195058882, -0.0051388438, 0.0278219096, -0.0048832069, 0.0269581955, -0.0234397072, -0.0180061851, 0.0249140859, -0.0278463215, -0.0017748396, 0.0408436283, -0.0358434878, -0.0280208662, 0.0372252725, -0.0905915424, 0.0028241212, 0.0534229204, -0.0114104543, -0.0565431267, 0.0434685871, -0.0418755934, 0.0006775273, -0.0386332907, -0.0212248862, 0.0622754917, 0.0108852973, -0.0014576163, -0.0164274443, -0.0409997292, -0.0335238427, 0.0166218095, 0.0230765659, 0.0513410829, -0.0376750641, 0.0056733694, -0.0094769085, 0.0016038761, 0.0205920096, 0.0106981285, 0.0074202209, -0.0451942533, -0.0328746513, -0.1225812733, -0.0187970046, -0.0146201998, -0.0017150312, 0.0095030032, -0.0250192042, -0.0152725941, -0.0528774783, -0.0064045885, 0.0093731163, -0.0127584897, 0.0030839918, 0.0118706711, 0.0231921244, -0.0166603513, -0.0275116302, 0.0321522057, -0.0018637374, 0.0105386348, 0.0193394758, 0.0156297274, 0.0003805759, -0.0515776537, -0.0433277488, 0.0706706345, -0.0430868939, -0.0333058387, 0.0291609578, -0.0339194499, -0.0226499904, 0.0652299374, -0.0147427497, 0.034056142, 0.0245726854, -0.025380576, -0.0293393061, 0.0220669061, 0.0256369933, -0.0178891309, -0.0143257398, -0.0208096392, -0.0255224034, 0.0223552659, -0.0070852283, 0.0172256269, -0.1026025116, 0.0497282445, 0.0233398695, -0.0737011284, -0.0203653518, 0.0585894734, -0.0130038792, 0.0087326625, -0.0505727418, -0.0514543913, 0.0355790891, -0.0178750083, -0.0191769321, 0.0203391239, 0.0202010274, -0.0207692087, 0.0703529641, 0.0288946144, 0.0232092682, -0.04277955, -0.0154327312, -0.0513482206, 0.0218068641, -0.0227105189, 0.0101283621, 0.0169388913, -0.0651933998, 0.002844838, -0.005583188, -0.0203241147, -0.026358664, -0.0016736055, -0.0585969985, 0.0130251097, -0.0876964778, -0.0045069833, -0.0060772547, 0.0066130534, 0.0099315168, 0.0182958227, -0.0248581395, 0.002271388, -0.0289081261, -0.0130841788, 0.080889903, 0.0410124063, -0.0313553661, -0.0413942076, 0.0735240281, 0.0575301833, 0.0324648954, -0.0106065525, -0.0514075309, 0.0346320271, 0.0048331576, 0.024450263, -0.0014646747, 0.0199052803, 0.0788363889, -0.0086740581, -0.0068720137, 0.108038418, 0.0147733279, -0.0388231426, 0.0155344782, 0.0167349316, 0.0089737037, 0.0592014678, 0.023420345, -0.0585709922, -0.0502284616, -0.0088010449, 0.0009248375, 0.0359030068, -0.0312795416, -0.0230848007, -0.115808174, 0.0368201621, -0.0092689851, -0.0584571697, -0.0465519726, 0.0401677638, 0.026446877, -0.0027176314, -0.03923475, 0.00094728, -0.0147790574, 0.0207306035, 0.0095497323, -0.0092916619, -0.0133550772, 0.0546455495, -0.0402073637, 0.0364884958, -0.0139931152, 0.0193285104, -0.0255536679, -0.0535727628, -0.0291560963, -0.0160884783, 0.0094057145, -0.0089772586, 0.0599636659, -0.0613346808, -0.0363362841, 0.0407987498, 0.0716022849, -0.0490523875, 0.000665937, 0.0286420602, 0.0412000492, -0.0392161831, 0.0060827211, -0.0277304333, 0.0179063864, -0.0141285267, 0.0534046069, -0.0040553287, -0.0180373155, -0.0276502632, 0.0194926001, -0.035950195, -0.0049858592, -0.0249473043, 0.0019115825, 0.02092259, -0.0019929498, -0.0558574349, -0.0487374626, 0.0994843543, 0.0713167936, 0.0123524806, -0.0346774273, -0.0359630883, 0.058525674, -0.0821353644, 0.0614604689, -0.0088151265, 0.0201175865, -0.0338572301, 0.0142032448, 0.0464948155, -0.0238640327, 0.0065992931, 0.0197615605, 0.0024561759, -0.0409708098, -0.041219607, 0.0881661028, 0.0199491307, 0.0886810571, 0.0015900673, -0.0109008839, -0.0259079244, 0.0001268422, 0.0178943053, 0.0577792712, 0.0231232084, -0.0076465625, -0.0082928697, 0.0377472416, -0.018510405, 0.0202173963, -0.01515608, 0.0147226574, -0.0187138263, -0.0350523554, 0.0300434008, -0.0088891201, 0.038282048, -0.0161487907, 0.0212422051, -0.0246895589, 0.0064217406, -0.0122940559, 0.0251962282, -0.0798648372, 0.0257945266, 0.0146688959, 0.0276895948, 0.0066369553, 0.0008317586, 0.0051289173, -0.0124574788, -0.0025916211, -0.0354951955, -0.0077018728, 0.004174029, -0.0292374771, 0.0117973695, 0.0023787217, 0.0157206934, -0.0116993403, 0.0439619347, 0.0295359548, 0.0721298978, 0.0328257903, -0.0249469038, -0.0117004737, 0.0636709109, -0.0447920747, -0.057384856, -0.0037729936, 0.0647249669, 0.0245370492, -0.0122889439, -0.0246917866, 0.0011771115, 0.0142637277, -0.0023425389, 0.0454821549, -0.0068474105, -0.0277500413, 0.069421418, 0.0118661532, 0.0038678946, 0.0149429683, 0.0466456115, -0.0034764365, 0.0574353784, -0.0195506532, 0.0343653522, -0.0434429757, -0.0215541385, 0.0464333743, 0.0234110449, 0.0030131803, 0.0577648841, -0.018151775, -0.0594270863, -0.0321509279, 0.0579340905, -0.037339177, -0.0014850826, 0.052007366, -0.0091113364, 0.0170245208, -0.0323797204, -0.0143981613, -0.0583323687, -0.0537580401, -0.0191036686, 0.029074572, -5.567472221e-33, -0.0358481482, 0.0197562724, 0.0401202179, 0.008283427, -0.0341517031, 0.0076832892, -0.047007814, 0.0360350795, -0.0185011961, 0.0007606526, 0.0279120319, 0.0145577937, -0.0086849546, 0.0294336732, 0.0137309209, -0.0186056215, -0.0126854219, -0.0311494432, -0.0108538195, 0.0091486657, 0.027317306, 0.0193365719, 0.0441907234, -0.0441906899, -0.0327482261, 0.0257652514, -0.0182034783, 0.0388848968, -0.0285110492, 0.0371557623, -0.03580961, -0.0439087525, 0.0079010334, 0.0241165366, -0.0108487736, -0.0076215486, -0.0433992967, -0.0281730928, 0.0066552986, 0.037481118, -0.1216116175, -0.0150046572, 0.003478423, -0.0085701328, -0.0243594646, -0.01707929, 0.0225949995, -0.0168718006, 0.0076634046, 0.0348860733, 0.0174394678, 0.0008556672, -0.0154297287, -0.0516975559, 0.0199979004, 0.0444149151, -0.005588864, -0.0265065171, -0.0120696034, -0.0073672025, -0.0624694526, -0.0110140871, 0.1033891886, -0.0053687165, 0.0253767688, 0.0537322387, 0.0483678654, -0.037751019, -0.0561112314, -0.0050793607, 0.0214180127, 0.0845972821, 0.0116645126, 0.029064022, -0.0465863869, 0.0288193095, -0.0115215741, 0.0435334891, -0.0639953017, 0.0562060624, -0.0209935009, -0.0208243169, -0.0293484814, 0.0218877885, -0.0472028032, -0.0487429723, -0.0203152318, 0.0089544011, 0.0640166029, 0.0156169403, -0.009402412, -0.0252934918, 0.0560110621, -0.0742925927, 0.0495827161, 0.004312004, -0.0242423099, 0.0501285829, 0.0186223574, 0.0491318367, -0.035835918, 0.020368129, 0.0362110846, 0.0166155603, -0.0102825081, -0.0096210064, -0.0296776537, 0.0514697097, -0.0142065268, -0.0401089489, -0.0364570767, 0.029212445, -0.0166247096, 0.0074902903, 0.0416957512, 0.0329641551, -0.0553528145, 0.0463177674, -0.0484641902, 0.0045285556, -0.0147988126, 0.0036889792, 0.0103115011, 0.0259016398, -0.0074472064, -0.003505589, -0.0569454283, -0.0553187765, -0.0124860518, -0.0676445812, -0.0022479903, 0.054212518, 2.764e-7, -0.0185957309, 0.0035750302, 0.0385172814, -0.0281225573, 0.0322785042, 0.0514432937, -0.0137177268, 0.0903708264, -0.0491437428, -0.0436194949, 0.0281228889, 0.0857085586, 0.0520304777, -0.0476718917, -0.0285196174, 0.0079924632, -0.0158261284, -0.0222200081, -0.0578058846, -0.020736564, 0.0425319225, 0.0739034936, 0.0033416641, 0.0001274138, 0.022810977, -0.0379277058, 0.074345246, -0.017220147, 0.0198114049, -0.0215678159, 0.0408693738, 0.0024662574, -0.0120898709, -0.0009308061, -0.0041033998, -0.0064057559, 0.0132485107, 0.0848713294, -0.0462932028, -0.0304976143, -0.0022026026, 0.0380736478, -0.0191026125, -0.0206070933, 0.0752144083, -0.0446681455, -0.0123265488, 0.0062635648, -0.0279668607, 0.0107844351, 0.0029230462, 0.0242413245, 0.0034637873, 0.0204562135, 0.0062274323, -0.0655047596, -0.0214312673, -0.1111433506, 0.0156815238, -0.0508483127, -0.0468531214, 0.0521749668, -0.0180487614, 0.0247376189, 0.0262599736, 0.0050963708, -0.0606499426, 1.535669149e-34, -0.0040428499, -0.0117801903, -0.0042184326, -0.003985751, 0.0047459351, -0.0375170186, -0.0282601081, 0.0123331919, 0.0223777406, -0.0613938794, -0.00895782 ]
http://arxiv.org/abs/2406.13805v1
http://arxiv.org/pdf/2406.13805v1
WikiContradict: A Benchmark for Evaluating LLMs on Real-World Knowledge Conflicts from Wikipedia
2024-06-19T20:13:42
2024-06-19T20:13:42
Yufang Hou, Alessandra Pascale, Javier Carnerero-Cano, Tigran Tchrakian, Radu Marinescu, Elizabeth Daly, Inkit Padhi, Prasanna Sattigeri
cs.CL
cs.CL, cs.AI, cs.LG
Retrieval-augmented generation (RAG) has emerged as a promising solution to mitigate the limitations of large language models (LLMs), such as hallucinations and outdated information. However, it remains unclear how LLMs handle knowledge conflicts arising from different augmented retrieved passages, especially when these passages originate from the same source and have equal trustworthiness. In this work, we conduct a comprehensive evaluation of LLM-generated answers to questions that have varying answers based on contradictory passages from Wikipedia, a dataset widely regarded as a high-quality pre-training resource for most LLMs. Specifically, we introduce WikiContradict, a benchmark consisting of 253 high-quality, human-annotated instances designed to assess LLM performance when augmented with retrieved passages containing real-world knowledge conflicts. We benchmark a diverse range of both closed and open-source LLMs under different QA scenarios, including RAG with a single passage, and RAG with 2 contradictory passages. Through rigorous human evaluations on a subset of WikiContradict instances involving 5 LLMs and over 3,500 judgements, we shed light on the behaviour and limitations of these models. For instance, when provided with two passages containing contradictory facts, all models struggle to generate answers that accurately reflect the conflicting nature of the context, especially for implicit conflicts requiring reasoning. Since human evaluation is costly, we also introduce an automated model that estimates LLM performance using a strong open-source language model, achieving an F-score of 0.8. Using this automated metric, we evaluate more than 1,500 answers from seven LLMs across all WikiContradict instances. To facilitate future work, we release WikiContradict on: https://ibm.biz/wikicontradict.
[ 0.0659253523, 0.0458745137, -0.0132398196, 0.0525739565, -0.0552660041, 0.0005952808, -0.0383245163, 0.0193296149, 0.034682285, -0.0632268712, 0.0123086637, -0.0328339152, -0.0107218344, -0.0254246201, 0.0353171825, -0.0225378331, 0.0631094277, 0.002517943, -0.0107099432, -0.0312282871, -0.0042842217, 0.0186074357, -0.0256082732, 0.0139755867, -0.011730006, -0.0226542894, -0.0100236852, 0.0049840556, 0.057636559, -0.0083567621, 0.0409501866, 0.0582042783, 0.0058315289, 0.0515930243, 0.0000021592, -0.0571195744, 0.0153901335, -0.0070716608, -0.0388801321, 0.0496456511, -0.0168520696, 0.0277459621, 0.0167618152, -0.0101477541, -0.0415165499, 0.0078187743, -0.0045266137, 0.0546960831, 0.0886572748, 0.080595687, 0.0331754535, 0.006504653, 0.015400935, -0.0209827144, 0.0601317398, -0.0253270306, 0.0259938911, 0.0022846248, -0.0269353017, 0.0007230858, 0.0161813255, 0.0163884424, 0.0217963699, -0.0023166107, -0.0023551839, -0.002417665, -0.0813443363, 0.0078558959, 0.0048537748, 0.0649881586, 0.0527812988, -0.0192754921, -0.0004091724, 0.0060418169, 0.0212078411, 0.060678985, -0.0093734497, 0.0159517266, -0.0374476947, -0.0124354018, 0.0019802311, -0.0210751146, 0.0257985443, 0.0318881311, -0.0026279353, 0.0939891934, 0.0296526216, -0.0211903155, 0.0079584122, 0.0079985242, -0.0345606506, -0.0599012747, -0.007160007, 0.0606659465, -0.0467539914, 0.0128648262, -0.0401037596, -0.0175192505, 0.0781882256, -0.062324103, -0.0259829592, 0.0249295328, -0.0263883974, 0.0186559316, -0.002652477, 0.0401793718, -0.0283827893, 0.0215122309, -0.0139843784, 0.0145749329, -0.020250449, -0.0299541503, 0.0020180019, 0.0255649909, -0.0445592292, 0.0224002339, -0.0312507302, -0.0011749605, -0.0462675244, 0.0215982124, -0.0084691728, 0.0214849524, -0.0108791683, -0.0050992607, -0.0828464106, 0.0220488552, -0.0380309448, 0.0381931923, 0.0031550233, -0.0387553871, -0.008573507, 0.0093725733, -0.0142913377, -0.0013137211, 0.0165271573, 0.0717464089, -0.0062924763, 0.0419171564, -0.0470260344, -0.0565493107, -0.008495722, -0.0572647639, -0.0101041058, -0.0806028694, 0.0533483513, 0.0144780064, -0.0405566692, -0.0380274616, 0.0337369107, 0.0488120876, -0.0191628542, 0.0380111635, -0.0366161838, 0.0072594457, 0.0695668608, 0.0356768295, -0.0248599648, 0.038525071, 0.0170032997, -0.0036060545, 0.0611741841, 0.0423249789, -0.0110462634, 0.0008627197, 0.0310765449, 0.0166773703, 0.0229529832, 0.049050536, 0.0006759663, 0.0291066281, 0.0024583747, 0.0680320933, -0.0477537401, -0.0593230873, 0.0331821479, -0.0038337738, -0.0020228371, 0.013368981, 0.0319568142, 0.0060435319, 0.0530622154, 0.0493979007, -0.0267627947, 0.0010301508, -0.067387864, 0.0048298454, 0.0321770422, 0.0478544533, 0.0023329756, -0.0241255127, -0.0133434441, -0.0002607313, -0.0058034579, -0.0057416046, -0.010017952, -0.0030288, -0.0421226472, 0.1034455821, 0.0221128631, -0.0705732778, 0.0291614719, -0.0241662171, 0.0348770991, 0.0485292599, 0.0565517582, -0.0420584194, -0.0348017924, -0.0142851984, 0.0022196639, 0.0427680947, 0.0681552142, -0.0426960886, -0.0248197112, -0.0316901505, -0.0192129109, -0.0418008789, 0.0098845661, -0.0048156371, 0.0321709812, 0.0392941758, 0.0430136137, -0.061344184, -0.0100774122, 0.0428459756, -0.0210379362, -0.0077804341, -0.0439689234, -0.0016217029, -0.0001454939, 0.0233958829, -0.0173791796, 0.0294811763, 0.0344501138, -0.0188932735, -0.034094736, 0.0069026966, -0.033395607, -0.0240601916, 0.0549662523, -0.02143161, -0.0284859352, 0.0044019641, -0.0398525745, -0.012508885, -0.017684849, -0.0392550267, 0.01187253, -0.0284289494, 0.0033202025, -0.0044687702, -0.0115994308, -0.0405074507, 0.092450045, -0.0276685506, 0.0329309739, 0.0495878607, -0.0105645237, 0.0246388726, -0.0085895425, -0.0113024535, 0.0061387247, -0.0001796368, 0.0346583202, 0.0201523714, -0.0190582443, -0.0753373802, -0.022050323, -0.0413969718, 0.0023988672, -0.0333872214, 0.0315124504, 0.0269188546, -0.063368842, 0.0036877317, 0.0236040279, -0.0342646874, 0.0249995589, 0.0187142901, 0.018409742, 0.017509792, 0.0170738716, 0.04387822, -0.0336784385, 0.0025737705, -0.0203820989, 0.0253290776, 0.0161332544, 0.011779733, -0.082073465, 0.0511355102, -0.0791485459, -0.0098278299, -0.0132797901, -0.0030598533, 0.0310239419, 0.0011418881, 0.047878094, 0.0035907966, 0.0468902513, -0.0235195421, 0.0471859351, -0.0458561257, -0.068971321, 0.0019045704, 0.0073639303, -0.0257491488, -0.024177501, -0.0576641858, 0.0134139564, 0.0042662169, 0.0077273841, -0.0152572924, -0.0477469452, 0.0505955704, -0.0291216373, -0.0313886516, -0.0124908946, -0.0585148782, -0.0143160094, 0.059553843, -0.0179742165, -0.0201137289, 0.0804750472, -0.0073891096, 0.0610256158, -0.0404253975, 0.0533098057, -0.0293463785, 0.0232726224, -0.0276116207, 0.0075062099, -0.006791967, 0.0239341576, -0.0662286207, 0.0043485668, 0.0284602623, -0.0790104792, 0.0476082824, -0.0357692428, 0.0066299564, -0.0172322281, -0.0084405961, -0.077472195, -0.0494816862, 0.0230837148, -0.0225200616, -0.0146331107, 0.0084344614, -0.00746678, -0.0471974388, 0.0294076074, -0.0147872558, 0.0060696499, -0.0130319763, 0.0028150061, 0.031324137, 0.0647534803, 0.0376061797, 0.0735440031, -0.0312193073, -0.0150928041, 0.0599763468, 0.0347691365, -0.0180005394, 0.0354131944, -0.0365165807, 0.0081777833, -0.0599461533, 0.0009476723, 0.011114764, 0.0460434966, -0.0682384521, -0.0030998301, 0.0664483979, 0.0346643813, -0.0095725218, -0.0080365976, -0.0719350651, 0.0165989455, 0.0125854965, 0.023241872, -0.0942566842, -0.0010822535, -0.0130342534, 0.0413723178, -0.0203910246, -0.0450540259, 0.0108163776, -0.1275804341, -0.0001439066, 0.0226780865, -0.0056860456, -0.0171293784, -0.0033792139, 0.0045316541, 0.0183380041, 0.0194539521, 0.0534139574, 0.0178300776, 0.0134238219, -0.0043979879, 0.0214055032, -0.013694834, 0.0271627586, -0.0095848041, 0.0335696675, 0.0224479679, 0.0229759123, -0.0043016104, -0.0708724186, -0.0026930692, -0.0360328108, -0.0146527328, 0.0010329374, 0.0548273735, 0.0052969637, 0.0092496239, -0.0410410613, 0.0188701414, -0.0036043848, -0.0642773658, 0.0192724261, 0.0567184873, -0.006013731, 0.0041264957, -0.0351463743, 0.0212033205, 0.0265620481, 0.0654030815, 0.0111866714, 0.0082604671, -0.0212205332, -0.0173060242, 0.0196291339, -0.0397534445, -0.036035303, 0.0300385207, 0.0532888025, 0.0455024615, -0.101561442, -0.0457078442, -0.0423361212, 0.0027860785, 0.001732407, 0.014567378, -0.0072689531, -0.027362138, -0.0519901551, 0.0253672935, -0.0321762785, 0.0064273356, 0.0082400832, 0.029174231, 0.0002955218, -0.0279324614, -0.0081305364, 0.0402046815, -0.0527031124, -0.0769103691, 0.0160754658, 0.0562551282, 0.0234203096, 0.0354347974, -0.0004416399, -0.0098148035, 0.026230799, 0.0749645606, -0.0332379192, 0.0451436304, 0.0064075594, 0.0412484407, -0.0124639366, 0.0353928395, -0.0624774545, -0.0335793048, -0.0104035884, 0.0551721007, 0.0063518058, -0.0500472263, 0.0150287431, 0.015858572, -0.0173585303, 0.0039479518, -0.0072429697, -0.0219191313, 0.0175129063, -0.0247110166, -0.0298750643, 0.0132638654, -0.0149793653, -0.0202299021, -0.0498528332, 0.0068713967, 0.0123197669, -0.0018874044, 0.0500106439, -0.0347558968, -0.0258926321, 0.0380537733, 0.0083165225, 0.0093330396, -0.0286055952, -0.029832717, -0.0286451634, -0.0152236708, 0.0678250045, -0.0046019987, 0.0760817677, 0.0234738067, -0.0271301307, 0.0134886624, -0.0098744985, -0.0668769702, -0.0486769453, -0.023001641, 0.0201445743, 0.0211060941, 0.0106244376, 0.0844546407, -0.0046775374, -0.0268277805, -0.0123849995, -0.0192507766, 0.0186984949, -0.0051546623, 0.0385386422, 0.038722273, -0.0235294309, 0.0536457747, 0.0544123128, -0.053926032, 0.0578101873, -0.028063735, -0.0303845443, -0.0176770817, -0.0695236474, -0.0478964746, 0.0061688148, -0.0351145267, -0.0324195586, -0.0954049081, -0.0518290624, 0.0274478421, 0.0490017086, -0.0036013231, -0.0047938856, -0.0017817767, 0.0652934685, 0.0258951746, -0.0211797468, -0.0165923033, 0.064655073, -0.0415738076, 0.0030931558, -0.0189621225, -6.437755708e-33, -0.0350349657, -0.0507743545, 0.014348262, -0.0317660421, -0.0464186333, -0.0038405419, -0.0134760141, -0.0157740377, -0.0486456491, 0.0100464784, 0.0147950212, 0.0003695646, -0.0021564681, -0.008824206, -0.0033952091, -0.0225094426, 0.0182270072, 0.031576287, -0.0595125891, 0.0234605707, 0.0529022589, -0.0132989278, 0.0398382545, -0.0583625399, 0.0686821342, -0.0601531528, -0.0030179224, 0.0114881517, -0.067622304, 0.0408042893, -0.0217605419, 0.076288037, 0.0088171354, -0.0182504728, -0.0002442628, -0.0167470165, -0.0379374176, -0.0472593158, 0.0246249717, -0.0190022364, -0.0471950956, -0.0294558872, 0.0626580864, 0.0063695214, -0.0162293073, -0.016925294, 0.0266322494, -0.0226501059, 0.0080187172, -0.0034276149, -0.07351695, 0.0189209729, 0.0100934431, -0.000291778, -0.0655171722, 0.0736502856, 0.0314131752, 0.000510991, -0.1187326983, 0.0030142246, 0.0014007998, 0.0177052971, 0.0388615169, -0.0665064603, -0.0183262788, 0.0732695162, 0.0023871199, 0.0081346622, -0.0292887688, -0.0309296101, -0.0239743609, 0.0454112776, 0.0617071204, 0.1266285926, 0.0166843496, -0.0313409492, -0.0952693298, 0.0303067677, -0.0054367497, 0.0573021211, 0.0187251978, -0.0272602942, -0.012298, 0.0089893909, -0.0666618049, -0.0163898058, -0.0435413569, -0.0165136606, 0.0348174758, 0.0129696829, -0.0303603224, -0.0178468619, -0.0007506668, -0.0330310687, 0.002840491, 0.0252589192, -0.0489408933, -0.0118255801, -0.0033912922, 0.0380666479, -0.012092093, 0.0153307952, 0.0248715449, -0.0016809216, 0.0318787284, 0.0109687615, 0.0272451136, -0.0052365051, -0.0323779806, 0.0280770417, -0.0230950415, 0.0315401778, -0.0253861919, -0.0497206114, 0.0482111983, 0.0236318633, -0.010031173, -0.0097797066, 0.033653371, 0.000005594, -0.0286990404, -0.0537147708, 0.0112724546, 0.0202251188, -0.0059228186, 0.0387006886, 0.0092992205, 0.0477541536, -0.0171286035, -0.0090843793, -0.0059431889, 0.0184771921, 2.866e-7, 0.0348811261, 0.0264483597, 0.0285312179, -0.002688061, 0.0193557795, 0.0227157958, -0.0056818882, 0.0178986248, 0.0244484879, -0.0645434931, -0.0161235072, 0.0157592464, 0.0377465151, 0.0550960563, -0.0289510321, -0.0220367108, -0.052239947, -0.0202671494, -0.0548457876, -0.0230271667, 0.0909737945, 0.0073868716, 0.0147878136, -0.0270320345, -0.0344610661, -0.0145396655, 0.0703666285, -0.0034838098, -0.0416578874, 0.0298637412, 0.0617104508, 0.0025973027, 0.0363043994, 0.036773324, -0.0284864418, -0.0029966887, 0.0005302213, 0.0393237025, 0.0007583196, -0.0587241612, -0.0210292581, -0.0261524543, 0.0358743481, -0.0678077713, 0.0617488138, -0.0077084629, -0.0056009684, -0.0163063612, -0.0448386595, -0.0151428198, 0.0543192998, -0.0211287513, -0.0258873701, 0.0248240996, -0.0151239932, 0.0651074275, -0.0161389709, -0.0449595563, -0.0375802144, 0.0072181239, -0.0472116396, -0.056930691, -0.0224971399, -0.0035068325, -0.0160748381, -0.0646715388, 0.029245548, 2.63304352e-34, 0.0170203187, -0.003381982, 0.0166416075, 0.0041624354, 0.0381901972, 0.020565372, -0.0214330405, 0.0061066728, -0.0116215888, -0.0333059058, -0.0104508027 ]
http://arxiv.org/abs/2406.13803v1
http://arxiv.org/pdf/2406.13803v1
Semantic Structure-Mapping in LLM and Human Analogical Reasoning
2024-06-19T20:07:37
2024-06-19T20:07:37
Sam Musker, Alex Duchnowski, Raphaël Millière, Ellie Pavlick
cs.CL
cs.CL
Analogical reasoning is considered core to human learning and cognition. Recent studies have compared the analogical reasoning abilities of human subjects and Large Language Models (LLMs) on abstract symbol manipulation tasks, such as letter string analogies. However, these studies largely neglect analogical reasoning over semantically meaningful symbols, such as natural language words. This ability to draw analogies that link language to non-linguistic domains, which we term semantic structure-mapping, is thought to play a crucial role in language acquisition and broader cognitive development. We test human subjects and LLMs on analogical reasoning tasks that require the transfer of semantic structure and content from one domain to another. Advanced LLMs match human performance across many task variations. However, humans and LLMs respond differently to certain task variations and semantic distractors. Overall, our data suggest that LLMs are approaching human-level performance on these important cognitive tasks, but are not yet entirely human like.
[ 0.0080238404, 0.0231245272, -0.052015461, 0.0377113223, -0.01670832, 0.044423487, -0.0263662655, 0.0132063171, -0.0232778676, -0.0297103245, -0.0557680354, -0.0217280276, 0.0014899572, -0.0358789191, 0.046510879, -0.0446376204, 0.0374564789, -0.0648412779, -0.012269903, 0.0204019155, -0.0506495237, 0.00766407, -0.0030843329, -0.0264089834, 0.0158370789, -0.0137941809, 0.0214036983, -0.030685015, 0.0038674728, -0.0300386325, -0.07484366, 0.0109542692, 0.0087764803, -0.0102216629, 0.0000019453, -0.0783888176, 0.0642619208, -0.0064020548, -0.0225386154, 0.0227760226, 0.0557904206, -0.0025608609, -0.0189692024, -0.004073693, -0.0087875472, 0.0042557139, 0.0544762872, 0.0221417919, -0.0163365602, 0.0085777221, -0.0060875574, -0.0428480059, 0.019305503, 0.0013610685, 0.0408529602, -0.0281266626, 0.0263569728, 0.0415578559, 0.0209571309, -0.0047985846, -0.0332789868, 0.0134146959, 0.0052479338, 0.0356362313, -0.0171900038, 0.0475371256, 0.0344187841, -0.0025380296, 0.0489368066, 0.032904882, 0.0057588359, -0.0594171323, -0.0046608243, 0.0121464003, 0.0200101044, 0.0698942617, -0.0503950268, 0.0595997088, 0.0091092661, 0.0383859314, 0.0431369357, -0.0485498011, 0.0246936269, 0.0438439287, -0.0125931241, 0.0627289861, -0.0112126321, -0.0083719548, 0.053892497, -0.0077861594, -0.0000868109, -0.0380634777, -0.0028450785, 0.0086534712, -0.005055889, 0.0460408032, -0.0589158945, -0.0219886787, 0.0009780414, -0.0772497654, 0.0722489059, 0.0476399697, -0.0011790062, 0.0343711562, -0.1100582629, 0.0544548221, -0.0392035693, 0.110713765, -0.0438155383, -0.0001130362, -0.049846027, -0.0454478301, 0.0072765145, 0.0396334752, -0.0058111106, -0.0112241944, -0.0085693998, 0.0347833373, -0.0013961885, -0.0722887069, -0.0373024754, -0.0112652434, -0.0036722275, -0.0183678009, -0.0974791944, -0.0328656919, -0.0309101678, 0.0737778321, -0.0348972566, -0.0174358487, -0.0039869095, 0.0083060265, -0.0245755799, -0.0413220897, 0.0010211371, 0.0821112245, -0.0301642139, -0.0037566395, -0.0453467406, -0.0006287948, 0.0574057586, -0.0217470061, 0.0530224591, -0.0247240756, -0.003499185, 0.0449433848, -0.0115965353, -0.068866536, -0.0001739229, 0.0495173596, -0.065187186, 0.0623961091, 0.0284691621, 0.0319813341, -0.0013689963, -0.0094460165, -0.0360160545, 0.0100631258, 0.0254631788, -0.0040452983, -0.0394740365, -0.0087404074, -0.0541000813, -0.011510713, -0.036310032, -0.0268184841, -0.0390979648, -0.0240490064, -0.0073790108, 0.0603471212, 0.0801448822, 0.072902292, -0.0092257392, -0.0682439506, 0.0596450903, 0.0640213639, 0.0378163531, 0.012609303, 0.0112587987, -0.0053895982, 0.0079295738, -0.0067557357, -0.0844955519, 0.0433830768, -0.0075223874, 0.017655028, -0.0276331101, 0.027430119, -0.011259268, 0.0201938841, -0.0409599319, 0.0148299867, 0.0005165673, -0.020828994, 0.0285798851, 0.0300287977, -0.0295672491, 0.0413794369, 0.020328436, 0.0000054663, 0.0213767961, -0.0426755659, 0.01575277, 0.0160647593, -0.0203123502, 0.0081151724, 0.0016453924, 0.0116126388, 0.027414754, 0.0602447726, 0.0151818609, 0.0085927527, -0.0301420689, 0.0054785111, 0.0170592219, -0.0144289872, -0.018033307, -0.0079609379, -0.0440053307, -0.003765722, -0.0045676995, -0.0729831308, -0.0110609839, 0.0799090415, -0.0640900135, -0.0253114831, -0.0542336516, 0.0277903508, 0.0081219599, -0.0372345187, 0.0075397231, 0.0533310845, -0.0130492682, -0.032091938, -0.0157595854, 0.0320374556, -0.0486696362, 0.0159199573, 0.0161218569, -0.0717560202, -0.0164446738, 0.0352115557, 0.0273950696, -0.01092239, 0.0456484817, -0.0357012004, 0.0822190642, -0.0018010369, 0.0268655326, -0.0042912452, 0.0053090099, -0.0087076621, 0.079647541, 0.0143659255, 0.0082305158, 0.0076839342, 0.0391800813, -0.029684823, 0.0241633952, 0.0150290895, -0.0087275691, -0.0033539794, -0.0471370406, -0.0538871549, -0.0499724336, -0.0844663605, 0.0088270092, 0.0006221741, 0.0023829835, 0.0549833104, 0.0404090099, 0.0507087074, -0.0446047597, -0.0124959648, 0.0047886791, 0.018308891, 0.0051511214, -0.0546475016, 0.0597111769, 0.0370250195, -0.0365715735, -0.012724285, -0.0218456518, 0.0143018886, -0.0608464815, 0.0413068943, 0.0200150441, -0.0083773416, -0.0449980274, 0.0501983352, -0.0118455794, -0.0100063141, 0.0042357724, -0.0019155791, 0.0413626917, 0.0236321222, 0.0567313395, 0.0814001709, 0.0087831803, 0.0118841995, 0.077800326, -0.0002832982, -0.0394696295, -0.0307416636, 0.016785847, 0.0120053841, -0.0244595427, -0.0386990942, -0.0103332773, 0.0885580927, 0.0074116234, 0.0092814108, -0.0190402381, 0.0641316175, -0.018960841, -0.0033806285, -0.0240109134, -0.039134305, -0.0761227757, 0.024576813, -0.0382461213, -0.0068333279, 0.0354870632, 0.0088409651, 0.0193616338, -0.0054256567, 0.0186153036, 0.0003489378, 0.0581177473, -0.0201414209, 0.0127507392, 0.0040842998, -0.0232597739, -0.0632425845, 0.0031592033, 0.01266832, -0.0070904908, 0.0516543128, -0.0593215935, 0.0100602759, 0.0034333095, -0.005133043, -0.0161159392, 0.0477801859, -0.056760516, 0.0240868628, -0.025745891, 0.036340937, -0.0662692338, -0.0051145302, 0.0258131288, -0.0143852532, 0.0269133076, -0.0200946983, 0.0008216546, -0.003071791, 0.018284902, 0.0074667335, 0.0052900799, -0.0396748148, 0.0218787901, 0.0301138591, -0.0156646241, -0.0007229769, -0.0096096722, 0.0287073925, 0.0339641869, -0.0390189141, -0.0208601169, 0.0285880733, 0.0123270582, -0.0222362615, -0.0065935184, 0.0523924194, 0.0488555729, 0.0085350918, 0.0494429171, -0.0395449512, 0.0033267639, 0.0529724993, -0.0024468999, -0.0449151099, -0.0374910757, 0.0366074108, -0.0519276299, -0.0045624198, -0.045346465, 0.0116574382, -0.0807131901, -0.0065641971, -0.0065340288, -0.1074081138, -0.021297954, -0.0160577465, 0.0662006587, 0.0332526825, -0.0009555528, 0.0071604559, -0.0434956439, 0.0007326867, 0.0263474043, 0.0291351452, -0.0181545969, -0.0025761491, -0.0315307826, 0.0479350649, 0.0095640868, 0.0127106681, -0.014318727, -0.0407274701, 0.0644916371, 0.0313991569, 0.0231403019, -0.0018602019, -0.0045152511, 0.0314284973, 0.0166256372, -0.0458664745, 0.0261096507, -0.0389976278, -0.0743098482, -0.0239564721, 0.0943639055, 0.0071653235, -0.0429904386, -0.015554809, 0.0109647652, -0.0980205312, 0.0710884631, 0.0427218527, -0.0353915542, 0.0144240698, 0.0074565187, -0.0280664228, 0.0049075172, -0.0703698695, 0.0381579734, -0.0376519896, 0.0248534456, -0.084238857, -0.010985706, 0.0233427696, -0.0155370384, 0.0103126178, -0.0021430552, 0.0254601575, -0.0707303435, -0.0191747434, 0.0251520406, -0.043661017, 0.0340745933, -0.0087606646, -0.0364052653, 0.0316538587, -0.0656104311, -0.0325881988, 0.0103658391, -0.0328505524, -0.0340039358, 0.0344898552, -0.0271735638, 0.019960044, -0.0138455601, 0.0241071749, -0.0269233342, -0.0154954605, 0.010161696, 0.0145175811, 0.0422441363, -0.065954864, 0.0064620441, 0.0303481668, 0.0088124042, -0.0154982619, 0.0109717241, 0.0461415499, 0.0199449863, 0.0117984843, 0.0268682465, 0.0288887937, 0.0262994003, 0.0353176929, 0.0318550356, -0.0178581271, -0.0427153148, -0.023344256, 0.0130771613, 0.0017105368, 0.0274778064, -0.0520276837, 0.0367130972, 0.0480673462, -0.0072907386, -0.080625914, 0.0070645371, 0.0524409078, 0.0405645072, 0.0207030121, -0.0101755494, 0.0466488898, 0.0068378202, 0.0504087321, 0.0337169804, 0.0112825343, -0.0278255846, 0.0635903031, -0.0110524539, 0.0300663542, 0.0078907628, 0.0018516358, -0.0197478905, -0.0270852521, -0.0427917689, -0.0590091422, -0.0160622802, -0.0062774424, 0.0048101889, -0.0591943823, -0.0008308782, -0.0680122524, 0.0268463921, 0.0082502337, -0.0381208919, -0.0309374668, -0.0040449174, 0.0600273423, 0.0336737894, 0.0330027901, -0.0174376648, 0.014659537, -0.0401888676, 0.0385766029, -0.0319457166, -0.033291813, -0.002263699, -0.0107983407, 0.0245301053, -0.0014870407, -0.0153831039, -0.0018975604, -0.0461132601, -0.0692004561, -0.0001303149, 0.015264214, 0.0226057991, -0.0291931871, 0.0445708036, 0.0311479382, -0.0097983088, -0.0196828414, 0.0072124847, 0.0139049916, -0.0117911343, -0.0047592469, -0.0271861292, -6.202723694e-33, -0.0367997698, -0.0031650993, 0.0126736052, -0.0089778472, -0.0330703408, -0.0285589844, -0.0406688116, 0.0268209763, -0.0328582935, 0.0249633212, 0.0216792468, -0.0161488019, 0.005969319, -0.0256708991, 0.0149232196, -0.0234479364, -0.0127436677, -0.011720065, -0.0042290539, -0.0657604262, 0.0102796517, -0.021965038, 0.0500098579, -0.0544390492, 0.0005703814, 0.0415151678, 0.0571320057, -0.0090526491, -0.0070811571, 0.0409814827, -0.0045472812, 0.0502987728, 0.0569293797, 0.0046428791, -0.0186170675, 0.0281733423, -0.0357116498, -0.0451520681, 0.0902969092, -0.0009637523, 0.0003098278, -0.0296316426, 0.0923129097, -0.0007149224, -0.0180987474, -0.0166832972, 0.0450054742, -0.0282385591, -0.0099275233, 0.0178619325, -0.1056406498, -0.0271369163, 0.0041582379, 0.012064537, -0.0104385773, -0.0053867809, -0.0485176481, 0.0397026204, -0.0401940607, 0.0396844149, -0.0243002549, 0.001658375, 0.0425959751, 0.0385270901, 0.0035672607, 0.0564712435, 0.0375208408, 0.0037782099, -0.0123885684, -0.003686032, 0.0599352047, 0.0362965055, 0.0072196694, 0.0145958252, 0.0576356128, -0.0131323058, 0.0040536346, -0.0280617345, 0.0132332668, 0.0701912418, 0.026923947, 0.0457722545, 0.024292184, 0.0065627256, -0.0447387248, 0.0151882293, -0.0532931983, -0.040371716, 0.0359557755, -0.0593997948, 0.0256783161, 0.0116577549, 0.005275209, -0.0115964729, -0.005444339, -0.0787603632, 0.0166264623, 0.0197070614, -0.043998491, -0.0364743769, -0.0662834048, -0.0640287548, 0.0119138146, 0.0008524634, 0.0488005094, 0.0174822006, -0.0103575354, -0.0371184163, -0.0484410524, -0.0348023996, -0.0610416718, -0.0807243809, 0.0375473686, -0.043529544, 0.038480673, 0.0069858064, -0.0116399983, -0.0081174271, -0.0038549004, -0.0529323481, -0.0305746049, 0.0177619923, -0.0719987899, -0.0022453011, -0.0196702648, -0.0013704711, -0.0404929258, 0.0180200376, 0.0543117858, -0.0630587563, -0.0195376612, 0.030066235, 2.902e-7, 0.0631035492, 0.0797766671, -0.0238290001, 0.0269352123, -0.0063706264, -0.0156200714, -0.0036042256, -0.016579045, 0.0584637038, 0.0126709575, -0.0301729236, 0.0342733264, 0.0129040144, 0.0096267713, -0.0710681304, 0.0279294886, -0.0245434456, 0.016156584, -0.0139553137, 0.0175749864, 0.050006602, 0.0272186771, 0.0163777824, -0.0258622337, -0.0041381032, -0.0464219078, 0.0221974887, -0.0647869334, 0.0531714521, -0.042133633, -0.0411949269, 0.0058045709, 0.018090833, 0.0791221857, 0.0139108431, 0.002746379, 0.0399322174, -0.0062248888, 0.0093427915, 0.0307411123, -0.0318207964, -0.0123869991, 0.0031325491, -0.0484499224, 0.0444332734, -0.0776088089, -0.0260642096, 0.0271523949, -0.0313936844, 0.0305811781, -0.020495683, 0.0294225775, -0.020504348, 0.001711428, 0.0356668644, 0.0197312329, -0.0242280122, -0.0523739867, -0.0097661046, 0.0237426125, -0.0441883504, -0.0030245674, -0.0371442512, 0.0022620913, 0.0373639539, -0.0289890617, -0.0350197665, 1.717959509e-34, -0.0257609598, 0.014535863, 0.0536395982, 0.0312071554, 0.040887434, 0.0105877565, 0.0243611671, 0.0381811261, 0.0172051229, -0.0696636811, 0.0124103473 ]
http://arxiv.org/abs/2406.13791v2
http://arxiv.org/pdf/2406.13791v2
IoT-Based Preventive Mental Health Using Knowledge Graphs and Standards for Better Well-Being
2024-06-19T19:35:14
2024-06-29T15:29:56
Amelie Gyrard, Seyedali Mohammadi, Manas Gaur, Antonio Kung
cs.AI
cs.AI, cs.CL, cs.CY, cs.LG
Sustainable Development Goals (SDGs) give the UN a road map for development with Agenda 2030 as a target. SDG3 "Good Health and Well-Being" ensures healthy lives and promotes well-being for all ages. Digital technologies can support SDG3. Burnout and even depression could be reduced by encouraging better preventive health. Due to the lack of patient knowledge and focus to take care of their health, it is necessary to help patients before it is too late. New trends such as positive psychology and mindfulness are highly encouraged in the USA. Digital Twin (DT) can help with the continuous monitoring of emotion using physiological signals (e.g., collected via wearables). Digital twins facilitate monitoring and provide constant health insight to improve quality of life and well-being with better personalization. Healthcare DT challenges are standardizing data formats, communication protocols, and data exchange mechanisms. To achieve those data integration and knowledge challenges, we designed the Mental Health Knowledge Graph (ontology and dataset) to boost mental health. The Knowledge Graph (KG) acquires knowledge from ontology-based mental health projects classified within the LOV4IoT ontology catalog (Emotion, Depression, and Mental Health). Furthermore, the KG is mapped to standards (e.g., ontologies) when possible. Standards from ETSI SmartM2M, ITU/WHO, ISO, W3C, NIST, and IEEE are relevant to mental health.
[ 0.0013625683, 0.0244728699, -0.0311887804, -0.0485687554, -0.0010842991, -0.0035985948, 0.0214477628, 0.02631725, 0.1014675945, 0.0093126036, 0.0482345074, 0.044566378, -0.0060342066, 0.0434637219, -0.0119130109, -0.040261846, 0.0185167175, 0.0608716272, 0.0136474064, 0.0089587215, 0.0064539923, 0.0168532357, -0.021032393, -0.0010743269, -0.0343881138, -0.0143583948, 0.0361986496, 0.0377142429, 0.0409866385, -0.1088960916, -0.0115566365, 0.0035386658, -0.047959283, 0.009696912, 0.0000024755, -0.0175267458, -0.0385245606, 0.0354979858, -0.0226726513, -0.1055347696, 0.0400332585, -0.0745537952, 0.0310577881, 0.0234794542, -0.0253303498, -0.0268102027, 0.0445563272, 0.0643656552, 0.0153930811, 0.0107043236, -0.032961566, 0.0504011251, 0.0293371063, 0.0018176794, 0.0074289157, 0.0623660013, 0.0149389608, 0.0442139693, 0.0520400293, -0.0385741629, 0.0171713438, 0.0162705015, -0.0513874888, 0.096968323, 0.0239043999, -0.0122039234, -0.0095361331, -0.0166631769, -0.0132401101, 0.0565784574, 0.0745414495, 0.0235798638, 0.0727779046, -0.0027728942, -0.0153195644, -0.0130483247, -0.0116939079, -0.0521119088, -0.0129252076, 0.0382726416, 0.0119344899, 0.0212849025, 0.0260335393, -0.0096702203, 0.0349373221, 0.0865128115, -0.0083983243, -0.0238516089, 0.0132244946, -0.0241604336, -0.031905584, -0.0090472056, -0.0028492091, 0.0078263944, -0.0133634303, -0.0269580819, -0.0349083319, -0.0729033425, 0.0072582136, 0.0128506524, -0.0057181204, 0.0356149934, -0.0118789701, -0.022243062, 0.0835157335, -0.0240384918, -0.0083796745, -0.0102895256, -0.0460986309, -0.013940094, -0.0691461712, 0.0290768538, 0.0114241438, 0.0219831374, 0.0177846085, -0.0311198942, -0.0673947558, 0.0120694861, -0.0519237891, -0.0148268174, 0.0110641811, 0.004275661, 0.0566402562, 0.0033706874, 0.0300839599, 0.0305324327, 0.0001635692, -0.0161384027, -0.0106614856, -0.045521073, 0.0414124839, -0.0278680976, 0.0148669099, -0.0169271696, 0.0269451272, 0.0426034816, 0.0767681003, -0.0141073056, -0.0294899419, -0.0427845046, 0.0208527818, 0.0031967808, 0.0303630177, -0.0128158815, 0.0221938025, -0.0188706275, 0.0409799777, -0.0498510376, 0.0272533763, -0.0235063359, -0.0640922934, 0.0309926532, -0.1267739832, -0.010656653, 0.0082700998, 0.0450542793, 0.0013535193, 0.0014497931, 0.0024750922, -0.053930521, 0.067542918, -0.0264336467, -0.0418228097, -0.0067136879, 0.0496395342, -0.0681515634, 0.0718140304, -0.0284491982, -0.0340087451, 0.0345045552, -0.0743819922, 0.0043571517, -0.0045598848, 0.0792301446, 0.0734144896, 0.0144993505, 0.0532412827, 0.0220225863, -0.098434113, 0.040745303, -0.0290061571, -0.0651286095, -0.0348969288, 0.0523245446, -0.005371612, -0.0074087065, -0.0134290224, -0.0263122208, -0.0329028554, -0.0419558026, -0.0468917117, -0.0462290235, 0.0162241254, -0.008861661, -0.0096920449, -0.0619770661, 0.0490487739, 0.0482763685, 0.0274684988, -0.0126481326, -0.022197308, -0.0315456167, 0.0210108869, 0.0557125956, 0.0051734322, -0.0299791452, -0.0520115234, 0.0023266643, -0.0212178789, -0.0212130286, 0.0209785961, 0.0066571068, 0.0050367555, -0.0258107353, 0.0002398918, 0.0348698534, 0.0089085856, -0.0073950822, -0.0247896854, 0.0899453908, -0.027789155, -0.0024202208, 0.0223905258, -0.0012249657, -0.0255155154, 0.0258776583, 0.0003354722, 0.0076623643, 0.0756568685, 0.0625253618, 0.0226539876, 0.0166558065, 0.0355465002, -0.0335999168, -0.0284012612, 0.0464129373, 0.0198675748, 0.0640534312, 0.0251937807, -0.0105872564, 0.0519516878, 0.0586496666, -0.0106916064, -0.0169493388, -0.002974059, 0.0121686039, 0.0267253816, 0.0256279465, -0.0390165113, 0.0246174969, 0.0437793285, 0.0306390952, -0.028250441, -0.0130726919, -0.0238230955, -0.0316110887, -0.0757672191, 0.0155776059, -0.0131316772, -0.0047055939, -0.0304871351, -0.0276645683, 0.033063639, -0.0201081876, 0.0065706754, -0.052119568, 0.0427335426, -0.1193661094, 0.0209298339, 0.0151415756, 0.0132077467, 0.0007823862, 0.0152002582, -0.0217895042, -0.0287919659, -0.0379537679, 0.0575455576, 0.0571318865, 0.0035162615, -0.0055539184, 0.0108104488, 0.0353249721, 0.0160570946, 0.012274839, -0.0359328687, -0.0157898832, -0.0295814965, -0.0029464832, 0.0147890057, -0.0192054678, -0.0666947961, 0.0067652995, 0.0050066514, -0.0004281561, 0.0219913162, 0.0046278057, 0.0042982614, 0.0084662559, -0.0403894186, 0.0104449326, 0.0182328634, -0.0379098244, 0.0184174925, 0.0045351181, 0.0024519651, 0.0359940603, -0.0069212196, -0.0004932217, -0.0399348997, 0.0068926443, 0.0210603867, -0.0057393219, 0.00271205, 0.0014713248, 0.0002275547, 0.0393556617, -0.0056891069, 0.0340909548, 0.0146484105, 0.0129055968, 0.0052819191, -0.0361770876, -0.0321468338, 0.026136348, 0.0384926051, -0.0282070749, -0.0119805941, 0.0005719222, 0.0499383584, -0.0298845172, 0.0031156177, 0.0105302911, 0.0244535822, 0.0263396241, -0.0795475468, -0.0529488884, -0.0508054644, -0.0537297651, -0.0711027458, -0.0214053448, -0.0132259792, -0.0117790196, -0.0057954579, 0.0906977504, -0.0863084197, 0.004421989, -0.0492992736, 0.0276485011, -0.009856835, -0.0306678284, 0.0094360057, 0.0239197146, 0.0403905027, -0.0138198733, 0.0285492484, -0.0047400668, 0.0484949052, 0.0048646573, 0.020821102, 0.0665350929, 0.0019344374, 0.0316702947, -0.016642902, 0.0247882642, 0.0206664037, -0.0070076613, -0.0036852243, -0.000481946, -0.039074678, -0.0041188481, 0.0238316078, 0.0121250339, 0.0488701463, 0.0811537132, -0.0148770083, -0.0059775822, 0.030928351, -0.0271904059, -0.0976502225, -0.0186071247, -0.0417163111, -0.0587191693, -0.0167789329, -0.0345492586, 0.0487828329, -0.0390660055, -0.0176411755, 0.0086326767, 0.0284294672, 0.0018033907, 0.0237615742, -0.0084076626, -0.0200230144, 0.0353799015, 0.0270725023, -0.0054698102, -0.0251165032, -0.0822208524, 0.0081442352, 0.0104658715, -0.0023870354, -0.0689365938, 0.0031378339, 0.0381233431, -0.0103170527, 0.0748731121, -0.0011113089, 0.1000598967, 0.0218682662, -0.0209676661, -0.0503909476, 0.0212728977, 0.0076145665, -0.0490165055, 0.0272331256, 0.0083165439, 0.0130605493, -0.0733702034, 0.0700060204, -0.0630270764, -0.0171727464, -0.0009093613, 0.0315319076, -0.0204533115, -0.0380581357, -0.051130563, 0.0108462656, 0.0208703391, 0.0094840182, -0.0461229458, -0.0021013042, 0.0298111401, 0.0343608335, 0.0664334074, 0.0244567152, -0.0143435169, 0.0380555205, -0.0324331038, -0.046197366, -0.0261201244, -0.0371071883, -0.015429128, 0.0065739467, 0.0129030496, -0.0206986852, 0.0850513503, 0.015110842, -0.0772175193, 0.001457358, 0.0138636902, 0.012749128, -0.0079047335, -0.0223798826, -0.009589863, -0.0004186138, 0.0032341536, 0.0487816408, -0.0333578177, 0.0288619511, 0.0407840237, 0.0298205651, 0.0178342313, -0.0030177422, 0.0160881355, 0.0260550715, 0.0114432694, 0.0530231185, -0.0659267306, -0.0237559322, 0.0059220144, 0.050172016, -0.0200862773, 0.0114785843, 0.0176129155, 0.0158071127, 0.0203793608, -0.0055985707, -0.0184501726, 0.0096112769, -0.01023704, 0.0793459862, 0.0282260142, 0.0036201128, 0.0101282001, 0.0143449325, -0.0201135855, -0.0120246243, 0.0189089831, -0.0389989316, -0.0369827002, -0.0361127183, 0.0164007246, -0.0364841707, -0.0103041064, 0.0199460983, -0.0690955222, -0.0566505753, 0.0053759413, -0.0438803397, 0.0483205244, -0.0140566481, -0.0225921404, 0.0131011438, 0.0350245908, -0.0166636761, 0.0089603802, -0.0421262346, 0.0477026626, -0.022564752, -0.0127975363, 0.0238708146, 0.067528367, 0.0062058717, -0.0757015571, 0.0241764877, -0.0312822871, 0.0329218246, 0.038111683, 0.0586799197, -0.0568900332, -0.0046447371, -0.0282138884, 0.011726276, -0.0590933077, 0.0291173737, -0.0103632575, -0.0321145169, -0.0251715332, -0.0389462374, 0.0193339679, -0.0464275368, 0.0034636322, 0.0242232475, -0.0285689663, -0.0377352536, 0.0612278841, 0.0610209666, 0.0306163356, -0.0473381877, 0.0080334842, -0.0235958751, -0.0488893837, 0.1082941368, -0.0098508867, -0.0337002128, -0.0385506302, 0.0398314893, -0.020798333, 0.0026849753, -0.0495396927, -0.0041551557, -0.002925718, -0.1065767556, -0.0049104849, 0.0139464047, -6.492281014e-33, 0.0204171855, 0.0235312358, -0.0051542092, 0.0361461341, -0.0521882996, 0.0094579104, 0.0063645211, 0.0139591601, -0.0144719901, 0.0216280185, 0.0275336448, 0.0395484418, -0.0018854073, 0.0116270529, 0.0178575069, -0.0405619256, -0.0099577606, 0.011264394, 0.0137188854, -0.0022742534, 0.0080335541, 0.044446025, 0.0612673126, -0.0808504149, 0.0013447811, 0.0222434532, -0.0079769809, -0.0035884827, 0.0080136592, 0.013823892, -0.0220473912, 0.0651927888, 0.0309567563, 0.0517894067, 0.0235400703, 0.0207334999, -0.0741519108, -0.0786454082, -0.007279817, -0.0166773219, -0.0198537, -0.0255239047, 0.0064507737, -0.0060526012, -0.0072118514, -0.0362649299, 0.0078746155, -0.0365549102, -0.0152959311, -0.0228530951, 0.0366565287, -0.0042540967, 0.0110467952, 0.0085260523, -0.0239390563, -0.0379803255, -0.0451929532, -0.0148428669, -0.120903261, 0.0207554884, -0.041424498, -0.0179201048, -0.0131979808, -0.0840661749, 0.0404344425, 0.0197053049, -0.0415167846, -0.0449563302, 0.0149617214, 0.0539545417, -0.0070931483, 0.0664134845, 0.0190698467, -0.0040580044, -0.0039476329, -0.0882937014, -0.0714728832, 0.0326637402, 0.0111961756, -0.0275608078, -0.0166507456, 0.0185989104, 0.0120512722, 0.0113475565, 0.0254858844, -0.0194542333, -0.026268851, -0.0259624645, -0.015238964, -0.0261368062, 0.0186760463, 0.050788451, -0.039496731, -0.040799994, 0.0266753156, -0.0304338578, 0.0660682917, -0.0063624699, -0.0004429287, -0.0409824364, -0.0190556739, -0.029613398, -0.0151406182, 0.0630740598, 0.0519850664, 0.0028753451, 0.0027293137, -0.0020271365, -0.0120521281, -0.0125910062, 0.0331461467, 0.0336298347, -0.0044813617, -0.0789180994, -0.0026464062, 0.0002003142, 0.0414876752, 0.0275621042, 0.0358152054, 0.006833388, -0.0760035887, 0.0276954211, 0.010896367, -0.0095593873, 0.0259575192, -0.0045324839, -0.0757146701, -0.0527833514, 0.0099976473, -0.0050146976, -0.0139241302, -0.0139458375, 3.317e-7, -0.0293896217, 0.0404377617, -0.0030290731, -0.0014047212, 0.0416351408, 0.0133995973, 0.0001955446, 0.0218597632, -0.0304092932, -0.0147095323, 0.0320101082, 0.0024735173, 0.0455371588, 0.034857247, 0.0419959351, -0.0517665595, 0.0477801897, -0.0351802669, -0.0093047731, 0.0365518369, 0.0715156645, -0.0009065948, 0.0303313117, 0.005547022, 0.0242173113, 0.0286281761, -0.0074858591, -0.0304380395, 0.0426152572, -0.0106764836, 0.0268944837, -0.0263457019, -0.0200627409, 0.0030828388, 0.0124143353, -0.0490118861, 0.0006620768, 0.024957303, -0.0421711281, 0.044487264, -0.0087610716, -0.0130909095, -0.0126935234, -0.0033308628, 0.0729232579, -0.0510297604, -0.0819877759, 0.0008292917, -0.0444983765, -0.0243533179, 0.0053646136, 0.0052272887, -0.0158574916, 0.011458057, 0.0351051502, 0.038734924, 0.0113804704, -0.0044961404, 0.0176102035, 0.022118967, -0.006563311, -0.058763735, -0.013987164, -0.0106333327, 0.0063081193, -0.0541684702, -0.0089321313, 2.42542229e-34, -0.0127027892, 0.0416044965, -0.02650184, -0.0701939911, -0.0017182056, -0.0155199617, -0.0310293138, -0.0037088993, -0.029389061, -0.034480527, -0.009381853 ]
http://arxiv.org/abs/2406.13781v1
http://arxiv.org/pdf/2406.13781v1
A Primal-Dual Framework for Transformers and Neural Networks
2024-06-19T19:11:22
2024-06-19T19:11:22
Tan M. Nguyen, Tam Nguyen, Nhat Ho, Andrea L. Bertozzi, Richard G. Baraniuk, Stanley J. Osher
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Self-attention is key to the remarkable success of transformers in sequence modeling tasks including many applications in natural language processing and computer vision. Like neural network layers, these attention mechanisms are often developed by heuristics and experience. To provide a principled framework for constructing attention layers in transformers, we show that the self-attention corresponds to the support vector expansion derived from a support vector regression problem, whose primal formulation has the form of a neural network layer. Using our framework, we derive popular attention layers used in practice and propose two new attentions: 1) the Batch Normalized Attention (Attention-BN) derived from the batch normalization layer and 2) the Attention with Scaled Head (Attention-SH) derived from using less training data to fit the SVR model. We empirically demonstrate the advantages of the Attention-BN and Attention-SH in reducing head redundancy, increasing the model's accuracy, and improving the model's efficiency in a variety of practical applications including image and time-series classification.
[ 0.0196881872, 0.0317265019, -0.0096325045, 0.0205405969, -0.0064996607, 0.0101023, 0.0287562665, -0.031089941, -0.0424840637, -0.0016010882, -0.0010537542, -0.063527666, 0.014022694, 0.0089536151, 0.0435671583, -0.0465775914, 0.0273780096, -0.0011610639, -0.0005488144, 0.0108827855, 0.0051236814, -0.0442138053, 0.0431644022, 0.0605472066, -0.0356412679, 0.0102022449, -0.0170570686, -0.0259999093, 0.0494487807, -0.0191512909, 0.001707974, 0.0308648478, 0.0502509922, 0.0464305878, 0.0000018371, -0.0008776613, 0.0125104459, 0.0104515953, -0.0072622811, -0.0060934275, -0.0213422664, -0.0394122526, 0.0096506048, 0.0212284606, -0.0324094258, 0.0275512822, 0.0788197815, 0.0816427693, 0.0576251037, 0.0532790273, -0.0083142966, -0.0609354153, -0.0050132712, -0.0573137514, -0.0049223378, 0.0317511149, 0.0013174035, -0.0691036284, -0.0259306896, -0.0167920459, -0.0210995153, 0.0667340159, 0.0187782329, -0.004094223, 0.0518089719, 0.0347145163, -0.0583708547, -0.0050131963, -0.0124910213, 0.0156704634, -0.0447862819, -0.0103967339, 0.0042721932, 0.0059425533, -0.0340688378, 0.0040606651, -0.0541687943, 0.0071704248, 0.0169664547, 0.0221521966, 0.0071421536, 0.00011067, 0.0070392257, -0.0527142696, 0.0057801795, 0.0317407995, -0.0178863928, -0.0335075408, -0.036567945, 0.027807232, -0.0338083059, 0.0061015682, 0.0242936704, 0.0735692307, 0.0085513759, -0.004986912, -0.0411166325, -0.0830193684, -0.0011723328, -0.0516593307, 0.0847762674, 0.0143575929, -0.0303291064, 0.0063174348, 0.0052659856, 0.0682917163, -0.0295413751, 0.0070714192, -0.0259813964, 0.0449367948, -0.0276736598, 0.0126614403, -0.0456283875, 0.0205540974, 0.0009653135, -0.0258341711, -0.0537964404, 0.0134634227, 0.0260209963, -0.0311614741, 0.0331335962, 0.0137418024, -0.055046998, 0.0335609801, 0.0349329449, 0.0586186536, 0.0016345582, 0.0089643076, -0.0261430163, -0.030484939, -0.0713623911, 0.0381101593, 0.0117033776, 0.0060784929, -0.0203855578, 0.0680993795, -0.0093280263, -0.0476145111, -0.0401387438, -0.0094028143, -0.0401273072, -0.0341515541, 0.0167373475, -0.0214396268, 0.0024392004, -0.0084171733, -0.0048610512, 0.0128147416, 0.0107160378, 0.0179407485, 0.0010906418, 0.0278904326, 0.0264676344, -0.018030379, 0.0088848779, -0.0189686045, -0.0012773875, 0.0069935885, 0.0239898823, 0.0102648698, -0.0140375942, -0.0683184117, 0.0353053845, 0.0280300714, 0.0154681429, -0.0291202385, -0.0286859181, -0.025841115, -0.0344104469, -0.0251851007, 0.0202515721, 0.0337827466, 0.0028127704, -0.0305279139, 0.0604073182, 0.0476166904, 0.0339685977, 0.0719957128, 0.0552107058, 0.0212636273, -0.0200172774, 0.0276324823, -0.0610601492, 0.0703904256, -0.0249020513, 0.0060184142, -0.0730957463, 0.0085487049, -0.0512215011, -0.0262268726, -0.0014041488, 0.0209652036, -0.022750482, 0.0134339202, 0.0644532815, -0.0232128967, -0.0417449847, 0.0957433432, -0.0153155196, -0.0415290892, 0.0012622168, -0.0384549834, -0.0180263091, 0.0019401646, 0.031806007, -0.0460446142, -0.0247491449, -0.0444294885, -0.0289374422, 0.0381370746, -0.0061790901, 0.0230311118, 0.0013380136, -0.0216653738, -0.0220404379, 0.0347710252, 0.0012580722, -0.0043639224, -0.0307905208, -0.0161485728, 0.0325744636, 0.0122575499, -0.032064762, 0.042746678, 0.0110404938, -0.026798727, 0.0068888674, 0.0302316044, 0.0580997653, 0.0281925164, 0.0034244554, 0.0196869634, 0.0644281581, -0.0607810654, -0.0267121084, 0.0147760157, -0.0413692258, -0.0241526235, 0.0280594509, -0.039394442, 0.0348646939, 0.0998990461, -0.0211627614, -0.0590524971, 0.0281585455, -0.0885530412, 0.0004098192, -0.0320231207, 0.0427161008, 0.0029884118, 0.071560353, -0.0113309706, 0.0131500158, -0.0148557844, -0.0018769091, -0.0010681996, -0.0391471647, -0.0084702661, -0.0677393079, -0.0320725292, -0.020400878, -0.0667645931, 0.005176805, 0.0309086815, -0.0338197351, -0.0089652417, 0.0016329389, -0.0036994896, -0.068707332, -0.0570610948, 0.052456107, -0.0365751311, -0.0164450146, 0.0300451797, -0.0369516909, -0.0360655114, 0.0266941804, 0.0097789494, -0.0278068557, 0.0301307347, -0.0214612335, -0.0422384739, -0.0274971165, -0.0384366699, 0.0096592391, 0.0412077606, -0.0009222421, -0.0075933291, -0.0788023919, -0.0455618501, 0.0006422162, 0.0370526761, -0.0292960834, -0.0471461639, -0.037913084, -0.0104680527, -0.0018960141, 0.0603604391, 0.0557637103, 0.0115855103, 0.0384164974, 0.0299201943, 0.0204142872, 0.0237759724, -0.0635736063, 0.0380444862, -0.0385863669, 0.0017182896, 0.0284948926, 0.0969794989, -0.0283194631, 0.0001534487, -0.0396795981, -0.0358755663, 0.0191491265, -0.0263735019, 0.0317316204, -0.0309531447, -0.0246979799, -0.0080148354, -0.0112707159, -0.0528251976, 0.0757164061, -0.0331142172, -0.0168822687, -0.0097287884, -0.0333031379, -0.0353241675, 0.0111416373, 0.0207527447, -0.0042866683, 0.0002660973, -0.0260165296, -0.0167124923, 0.0163128097, 0.0206217282, -0.0124755343, 0.075109154, -0.0131908758, -0.000390499, -0.0332338177, -0.0098659266, -0.053698089, -0.0487359799, -0.0462691188, 0.0191941205, 0.0110073704, -0.0166878644, -0.1028931588, 0.0654527247, 0.0169099066, 0.0506412834, -0.011356879, -0.0005278726, 0.0039624372, 0.0519248694, 0.0560257919, 0.0439641401, 0.0230986569, -0.0127406921, 0.0486562811, 0.0226445962, 0.0610486567, 0.0175106302, -0.0410393439, -0.0093862303, 0.0270305928, -0.0448315404, -0.0052490206, 0.0095504308, 0.0046778079, -0.0487370044, -0.0185517967, 0.1011442915, -0.0155292992, -0.0575934462, -0.009638289, -0.0032997883, 0.0257006828, 0.0346409567, 0.0267102309, -0.0006471538, -0.0142904809, -0.0057911715, 0.0342990495, 0.0131579963, -0.0145040723, -0.0110709621, -0.0371892676, 0.044928059, 0.0292001255, -0.0945480913, -0.0533266068, -0.0334243588, 0.0000751545, -0.0349627398, -0.0045856251, -0.0120589035, -0.031433925, -0.0268016011, 0.0392566696, -0.0122118695, -0.0323248245, -0.0056512337, -0.0286541041, -0.012912388, 0.0647918954, 0.0052241902, 0.0105351573, -0.036274571, -0.0148770893, -0.0156441219, 0.0419097617, -0.012625251, 0.0582585149, -0.0216734298, -0.0364792682, -0.0042703729, 0.0193044115, -0.0354734883, 0.0394967534, -0.0192951225, 0.0754553825, -0.0095855016, -0.0564700961, -0.0478827767, 0.008215161, 0.0014050434, 0.0374295563, 0.0371305123, -0.0342570618, -0.0126182828, 0.025487991, 0.0163342226, -0.0017802916, -0.063680023, 0.0184818916, 0.013748358, -0.1018747687, -0.02542492, -0.0232694466, -0.0103100305, 0.0409094766, 0.0161962472, -0.013348205, 0.0571327545, -0.0021860413, -0.0663581714, 0.0268131718, 0.0124865705, 0.0233646054, -0.0549286529, 0.0486557148, 0.0425322317, -0.0299059208, -0.0083681438, -0.0151071455, -0.1092596278, -0.0417809561, 0.0274118818, 0.0652435645, 0.0152340084, 0.0101640364, -0.0059463321, -0.0636525452, 0.0315321423, 0.0515441298, -0.0012899331, -0.0061936537, 0.042099189, -0.0597951971, -0.0232761633, 0.021816384, -0.0136190727, 0.0781496018, -0.0020258175, 0.0315158106, -0.0285340995, -0.021102963, 0.0238677002, 0.0047134832, 0.08975631, -0.003445578, 0.0230177678, 0.0075717936, 0.0315528587, 0.0447778963, 0.0134373112, -0.0476836339, -0.0095545594, -0.0192246102, 0.0085228849, -0.0088206278, 0.0375369452, -0.0202687643, -0.02680346, -0.0458435416, 0.0388370417, 0.0138939684, -0.0086859791, 0.0011597897, 0.0327726789, 0.0073537193, -0.0232982673, 0.0360217243, -0.0114870341, 0.0153284892, 0.0420178175, -0.0060164635, 0.0809807554, -0.0221235268, -0.0036291601, -0.0912629813, -0.0012574272, -0.0102768205, -0.0227433294, 0.0395754389, -0.0498141311, 0.0349773392, 0.0227745026, -0.0044081081, -0.0354012549, 0.0361729972, -0.0204329845, -0.0079056965, 0.0355661996, 0.014366203, -0.0018669987, -0.0033661753, 0.0523418188, -0.0145469317, -0.0049276366, -0.0080186259, -0.0337698311, -0.0404013768, -0.0157175325, 0.0070183626, -0.0067191422, -0.0028548161, -0.020164175, -0.0398596562, -0.0849168748, 0.038656421, -0.0582831614, 0.058619421, -0.0270399135, 0.032248199, 0.0345212296, -0.0041952152, 0.008569154, 0.0158642977, 0.0206852332, -0.0402794145, -0.0181884095, -0.0016947435, -6.082539315e-33, 0.0003951578, -0.0369356498, -0.0109973708, 0.0322704874, -0.0390477702, 0.0084248995, -0.0251620673, -0.000891196, -0.007534272, -0.0169372782, -0.0283014029, 0.0033512064, 0.0134491324, 0.0325881504, 0.0393955596, -0.0130812228, 0.0957081318, -0.0105927885, 0.0038673927, -0.0030296193, 0.0111705717, 0.046723105, 0.083192721, -0.0236976836, -0.0534354076, 0.0059850523, 0.0091103576, 0.0064277221, 0.03009714, 0.0642905608, -0.0164183322, 0.0414380357, 0.0375319421, -0.072963126, -0.0095257191, 0.0480704643, -0.0752948895, 0.0008047635, -0.0370738804, 0.0116381515, -0.0374365337, 0.000852962, 0.0644452572, -0.0191156473, -0.0023463573, -0.0327147059, 0.0624880567, 0.005152199, -0.0513829254, -0.0492395312, -0.0451755151, -0.0010484428, -0.010987035, -0.0312229954, 0.0560364947, 0.1057439595, 0.0074077477, 0.0509959422, -0.0515956245, 0.0165136214, 0.0280903652, 0.0333809517, 0.0689135417, 0.0580977015, -0.0311530009, -0.0210774876, 0.0095760236, -0.0493284613, -0.0544514619, -0.0307664648, 0.0151033122, 0.0219364315, 0.0704814792, -0.0214259215, 0.0495380238, -0.0240481142, -0.0600210316, -0.0114160497, 0.0054800734, 0.0757961124, 0.0183273423, 0.01719472, -0.0015538262, -0.0024363303, -0.0111496253, -0.0420319885, -0.0259416271, 0.0071895262, 0.0168481171, 0.0526914224, -0.0250859056, 0.0240639728, 0.0225398764, -0.022065144, 0.0466708057, 0.0203290079, 0.037061803, 0.0074784826, 0.0132123288, -0.0134215709, -0.044808194, 0.0040871808, 0.0148753691, 0.0170932598, -0.0053272522, -0.044157736, 0.0515437797, 0.0494743623, -0.0343773849, -0.0283941906, -0.0225812271, 0.0258786418, -0.010850911, 0.0635570213, 0.0482822806, -0.0317150243, -0.0010476924, 0.0605471432, -0.038286034, 0.0110298879, 0.008395792, 0.0578938425, 0.0360084549, 0.0309574828, -0.0104409158, 0.0133224763, -0.027321307, 0.0221292246, 0.0146976635, -0.0633603707, -0.0213641226, 0.0253269989, 2.597e-7, -0.0024577503, 0.009891402, 0.009309168, -0.0033514912, 0.0490518212, 0.0288712606, 0.0127653396, 0.054444328, -0.0228818413, 0.0255902931, 0.0273344032, -0.0059950915, 0.0457871892, -0.0232431982, -0.0763247758, -0.0712722689, -0.0813851655, 0.0291844625, 0.0069294018, 0.0186071619, 0.0258353762, 0.0912057534, -0.0084388964, -0.0312084388, -0.0160987303, 0.0159900915, 0.0379523151, 0.0390532091, 0.0235422701, -0.0051063909, 0.0340831839, 0.0109376777, -0.0494380184, 0.0121648693, -0.0235669129, 0.0423115715, 0.0142843612, 0.0375108235, -0.0155026093, -0.0498511903, 0.0156418718, 0.0654926151, 0.020122705, -0.017703386, -0.0020498994, -0.0830604807, -0.0376607552, -0.0102823703, -0.0577056706, 0.0056393105, -0.0031813101, -0.0127720665, 0.0355952084, 0.0194094069, 0.0265902095, -0.041491814, -0.0092277098, -0.0838559791, 0.0023326646, 0.0059817815, -0.0375682898, 0.0461385772, -0.0516935438, -0.028323574, 0.0405924395, 0.0171537027, -0.0321377963, 1.967168215e-34, 0.049827259, -0.0184778403, -0.0004294646, 0.0215786882, -0.0207553301, -0.0272107199, -0.0036967713, 0.0179020595, 0.0347579196, -0.0962797776, -0.0410604365 ]
http://arxiv.org/abs/2406.13779v1
http://arxiv.org/pdf/2406.13779v1
FoRAG: Factuality-optimized Retrieval Augmented Generation for Web-enhanced Long-form Question Answering
2024-06-19T19:06:36
2024-06-19T19:06:36
Tianchi Cai, Zhiwen Tan, Xierui Song, Tao Sun, Jiyan Jiang, Yunqi Xu, Yinger Zhang, Jinjie Gu
cs.CL
cs.CL
Retrieval Augmented Generation (RAG) has become prevalent in question-answering (QA) tasks due to its ability of utilizing search engine to enhance the quality of long-form question-answering (LFQA). Despite the emergence of various open source methods and web-enhanced commercial systems such as Bing Chat, two critical problems remain unsolved, i.e., the lack of factuality and clear logic in the generated long-form answers. In this paper, we remedy these issues via a systematic study on answer generation in web-enhanced LFQA. Specifically, we first propose a novel outline-enhanced generator to achieve clear logic in the generation of multifaceted answers and construct two datasets accordingly. Then we propose a factuality optimization method based on a carefully designed doubly fine-grained RLHF framework, which contains automatic evaluation and reward modeling in different levels of granularity. Our generic framework comprises conventional fine-grained RLHF methods as special cases. Extensive experiments verify the superiority of our proposed \textit{Factuality-optimized RAG (FoRAG)} method on both English and Chinese benchmarks. In particular, when applying our method to Llama2-7B-chat, the derived model FoRAG-L-7B outperforms WebGPT-175B in terms of three commonly used metrics (i.e., coherence, helpfulness, and factuality), while the number of parameters is much smaller (only 1/24 of that of WebGPT-175B). Our datasets and models are made publicly available for better reproducibility: https://huggingface.co/forag.
[ 0.071014449, -0.0034310289, -0.0002703635, 0.0161425564, -0.0187892541, -0.0302958786, -0.0178496223, -0.0141853895, 0.0151743451, -0.0610203743, -0.007478958, -0.0427500568, -0.0074352329, 0.0182556659, 0.0172698162, -0.0419440754, 0.0293687563, 0.0106388833, 0.020235626, -0.010829363, 0.0403109528, -0.0014790737, -0.0157243256, 0.0332302265, -0.0237378571, -0.009462825, -0.0194674358, 0.0126854442, 0.0225608759, -0.0165707003, 0.0344157144, 0.0459115282, -0.0043708757, 0.0073509831, 0.0000020196, -0.0676053762, -0.0163152069, 0.0001385056, -0.0116392318, 0.018258024, -0.0014909994, 0.0580452532, 0.0121641131, 0.0595893264, -0.0274016093, 0.0249627791, 0.0243892986, 0.0735153332, 0.0882190689, 0.0670388341, 0.0070747496, -0.0221484024, 0.0312626325, -0.0141379461, 0.0461304858, -0.0152640017, -0.023451563, 0.029330153, 0.0156766344, 0.021866668, 0.0040447055, 0.0118016759, 0.0061036805, -0.0258353855, 0.0372808203, 0.0248215441, -0.0553781576, -0.0132626407, 0.0314740092, 0.0921526179, 0.0345020778, -0.0204662792, 0.017478805, 0.0209096242, 0.0228672586, -0.0017451212, -0.0358037353, 0.0394544043, -0.0226913262, -0.0045444798, 0.0237956941, -0.007370722, -0.0199585501, 0.0398569442, -0.0003457279, 0.0409162231, 0.0064760731, -0.0419552475, -0.0419947058, 0.0101655936, -0.003623642, -0.0541423969, -0.0062875501, 0.054187987, -0.0428202562, 0.0138682453, -0.0268128403, 0.0067251227, 0.0515795462, -0.0426969714, 0.004397444, 0.0314112678, -0.0234773401, 0.0134468786, -0.0572346114, 0.0367215872, -0.000258037, -0.0158889014, -0.0551878922, 0.0043089725, -0.0333225019, -0.0272456892, -0.0539443642, 0.061105445, -0.0104451384, -0.0223155264, -0.0427152179, 0.006815521, 0.0070602261, -0.0118795549, 0.0179162044, 0.0339000337, -0.0475557335, 0.0351182818, -0.0557337031, 0.02115307, -0.0672455132, 0.0158224907, 0.0508970208, -0.0499895588, -0.0039227395, 0.0396042988, 0.0272817295, -0.0130757391, 0.0093120746, 0.0126423845, -0.0381527022, 0.0020006602, -0.0445671976, -0.0685196891, -0.0168274473, -0.0374061167, 0.0098094149, -0.0688243508, 0.0290517975, -0.0140985074, -0.0381258018, 0.0324065611, 0.0332989804, 0.0598952435, -0.0075844107, 0.0219955146, -0.0458840691, -0.0011545563, 0.0555729344, 0.0098233838, 0.0041598231, 0.0475812405, 0.0322171412, 0.052582968, 0.0584743209, 0.0235001035, 0.0045854175, -0.013785813, 0.0318129286, 0.0004887024, 0.0496197939, 0.0462715402, -0.0315069333, 0.0225849953, 0.0214447286, 0.0460183248, -0.0365943573, 0.0185740534, 0.0417971574, 0.000495917, 0.0497591011, 0.0325727873, 0.0201135483, 0.0081818253, 0.0376292728, 0.0473208278, -0.0029681728, 0.0513795987, -0.0659214109, 0.0420865491, 0.0396061353, 0.0254017748, -0.0331976227, -0.0540127121, -0.0022587855, 0.0125861662, 0.0019853888, 0.0073240465, -0.0119717419, 0.0227962527, -0.0387210548, 0.0450630337, 0.0079542883, -0.0733962208, 0.0276218485, -0.0546080731, 0.0584424436, 0.0603121631, 0.0503621958, -0.0174205564, -0.0540205389, -0.005223644, 0.0195829887, 0.0671118647, 0.0248119738, -0.0052035069, -0.0269082356, -0.0433336385, -0.0081690494, -0.0188244563, -0.0158437528, -0.0132450387, 0.0270502642, 0.0129427658, 0.0500107408, -0.0246794578, -0.012956595, 0.0066850777, 0.0214639585, 0.0037131261, 0.0223942306, -0.0024356591, 0.0071763941, 0.0299187973, -0.0257823784, 0.0411530994, -0.0042134486, -0.0175235793, -0.0691253766, -0.0264791083, -0.0062518734, -0.0461090133, 0.0274603814, -0.0113818143, 0.0300274882, 0.021203462, -0.0341210663, -0.0407405458, -0.0214148965, -0.0757008865, 0.0089130392, -0.0665484071, 0.0004888616, 0.0460232235, 0.0087397946, -0.0537542142, 0.070091635, 0.0157159213, -0.0022353416, -0.0060242964, -0.0137251709, 0.0205157101, -0.0847781077, 0.0051199794, 0.0209321082, -0.0232015122, 0.0458905436, 0.0538536124, 0.0407126583, -0.0711807907, -0.0337871201, -0.0906512737, 0.0233863629, -0.0234884899, 0.0258638244, 0.0394000039, 0.0028728307, 0.004877714, 0.0119455485, -0.1018956527, -0.0134301297, 0.018172605, 0.0163273755, 0.0570768565, 0.0069186306, -0.0038063128, -0.0472456925, -0.0200390052, 0.0062599657, -0.0101077184, 0.0304382145, 0.0190905966, -0.0609599277, 0.0019680248, -0.0983535424, -0.017188454, 0.0142647298, -0.0722596869, -0.0029313313, -0.0042590541, 0.0295122825, 0.0419323146, 0.0813381523, -0.0062694871, 0.0247799531, 0.0287113935, -0.0356536508, 0.0326276943, -0.0412087366, -0.0144358883, 0.0371057615, -0.0656734183, 0.030526014, -0.0107200956, 0.0147793302, 0.0041690124, -0.0528343618, -0.0044324421, -0.0000480531, -0.0322966017, -0.036693085, 0.0201735962, -0.0128501849, 0.0337814316, -0.0085342806, -0.0196475834, 0.0632330701, -0.0320691057, 0.0082206624, -0.0660069063, 0.0113329738, -0.0524409413, 0.0205276497, -0.0312764719, 0.0404535756, -0.003494872, -0.0090462193, -0.0476757996, 0.0009369571, 0.0440462157, -0.0757749826, 0.0369429961, 0.000007633, 0.0135536902, -0.0184623711, -0.0348363072, -0.047417216, -0.0523066856, 0.0382419974, 0.0028977972, -0.0128669366, -0.0142694702, 0.0123224379, 0.0053954567, 0.049427487, -0.0110545326, -0.0591090173, -0.0138591733, 0.0066768643, 0.0713446662, 0.111730054, 0.0391038097, 0.0224376619, 0.0115503957, 0.011396477, 0.058156088, 0.014287455, -0.0301135574, 0.0371942706, -0.0408541262, 0.0314918347, -0.0407033525, -0.0239257887, 0.0116111264, 0.0485963188, -0.055829104, -0.020673085, 0.100462392, 0.0458701886, 0.0409888625, -0.0114176916, -0.0557465926, 0.0620921217, -0.0060525858, 0.0521161705, -0.068559669, -0.028091928, -0.0095230788, 0.0551897287, -0.0200675745, -0.0001829217, 0.0232368801, -0.1183355972, 0.0386103466, -0.0154931592, -0.0193162244, -0.0253902134, -0.0096740564, -0.0101447394, 0.017286351, -0.01432944, 0.0306597631, -0.0251510255, 0.0310641341, 0.0250657294, -0.0267561842, 0.0159311816, -0.0040827724, -0.017570341, 0.0091344481, 0.0627406016, 0.0355499536, 0.0034958853, -0.0263465848, -0.0233609378, -0.0402902626, 0.0210985765, -0.0161342639, 0.0418933704, 0.0042042783, 0.0008402612, -0.049909398, 0.021465404, 0.0202930383, 0.0028996989, 0.032062076, 0.0402906165, -0.0167481154, 0.0027244338, -0.0292098019, 0.0339420252, 0.0066266232, 0.098573029, 0.0320216306, -0.0291306525, -0.0374515057, -0.0262135528, 0.0136100342, -0.0538078025, -0.0133525813, 0.0041348273, -0.00400005, 0.0208876804, -0.1324622184, -0.047814019, -0.0067457492, 0.0301488824, -0.0516361482, 0.0060106348, -0.0145600867, 0.0161871854, -0.0349943936, -0.0147889536, -0.035016086, 0.0146341799, -0.0527940094, -0.0134893982, 0.022991823, -0.0884899199, 0.003414521, 0.017518416, -0.0312788747, -0.0311434064, -0.01708767, 0.0307521801, 0.0126695959, 0.0135611994, -0.0188167356, -0.0288960095, 0.0552863441, 0.0240674652, -0.0286314152, 0.0223341379, 0.0221035816, 0.0244239159, -0.0084460145, 0.0205106046, -0.074188605, -0.0136742648, -0.0368876047, 0.1056586727, 0.0257014409, -0.0516459011, 0.0218421351, 0.0701802596, -0.0184676573, -0.0079369899, 0.0069025522, -0.0151141109, 0.030445328, -0.0375900753, -0.024920214, -0.0320896469, 0.0161136556, -0.0068122032, -0.0202306993, 0.0306937378, 0.0061954567, -0.0457787253, 0.0582986362, -0.0173033718, -0.0123245781, -0.0364421085, -0.0124933394, -0.0110422224, -0.0050590197, -0.0480771475, -0.0221480615, 0.0235732179, 0.0384534262, -0.0139888907, 0.082063742, 0.0134888235, -0.0035987932, 0.0013031601, 0.0354367048, -0.059625145, -0.0206879545, -0.0300312787, 0.0046649873, 0.0472236164, 0.0343083628, 0.0667291209, 0.0025636277, -0.0091172196, -0.0123620508, 0.047331281, 0.0171111207, -0.0387691632, 0.0229314547, 0.0185691603, -0.0271661784, -0.0371490903, 0.0886308625, -0.0232624449, 0.0087067103, -0.0228061322, -0.0227887034, -0.0251813754, -0.0828822926, -0.0051763053, 0.0307980962, 0.0062637078, -0.0285231657, -0.0551858395, -0.0422081463, -0.0098886983, 0.0067365854, -0.002894005, -0.0132802418, 0.0486269929, 0.0657496676, 0.0095553352, -0.0378649905, -0.0743988901, 0.0144824171, -0.0600011013, 0.0218679495, -0.0083275298, -6.729630955e-33, -0.0268155131, -0.0290040001, 0.0117840748, -0.0078228284, -0.0354485139, 0.0253051575, -0.0287132356, -0.0006658917, -0.0374208875, 0.0005177403, -0.0120037002, -0.0124157984, 0.0053229006, 0.0450710766, -0.0402365625, -0.0296649467, 0.028347183, 0.0071917069, -0.0605000854, 0.0409124829, 0.048484046, -0.0112080472, -0.0028584593, 0.0166340079, -0.0018681488, -0.0249369666, -0.0319187678, 0.0410796441, -0.01891388, 0.0916887522, 0.0134129161, 0.0530578718, 0.0423393361, -0.0218231212, 0.0116942162, 0.0253377147, -0.0750553459, -0.0538756736, 0.0241770316, -0.043064639, -0.0779713094, -0.010736526, -0.0036353909, -0.0150865586, 0.0291492138, -0.0291575193, 0.0260422714, -0.0129609723, 0.0088995686, -0.0604551584, -0.0407537483, 0.0110209854, 0.0097389491, -0.0201317165, -0.0638184398, 0.0531795248, 0.0149324033, -0.0112307994, -0.0376906656, 0.0084870923, -0.008300771, 0.0338174701, 0.0596729368, 0.0161869302, -0.0120291589, 0.0355501845, -0.0118164821, 0.0106069641, -0.0536034219, -0.0030266617, -0.0222415421, 0.0164284855, 0.0523055084, 0.0566966981, 0.0222200528, 0.0149828205, -0.0807446614, 0.0628400967, 0.0078447638, 0.0422858, -0.002665967, -0.0236848388, -0.024542965, -0.0019026758, -0.0450773388, 0.0899175331, -0.0404212624, -0.0556293279, 0.0311343037, 0.0258793011, -0.0533071458, -0.0466198027, 0.0120189199, -0.0005142787, 0.0408322737, 0.0402958132, -0.0599160492, 0.0223910268, -0.0171791445, -0.0047503789, -0.0251902547, 0.0115283495, 0.0388304666, -0.0109018059, -0.0239018742, 0.030936351, 0.0378057435, 0.0093144486, -0.0192062408, 0.0358035862, -0.0338318497, 0.03708864, -0.0311577767, -0.0531659722, 0.0019941968, 0.0005491412, -0.0197070651, 0.0364604704, 0.0173270702, 0.0565767735, -0.045826111, -0.0625715703, 0.0304881111, 0.0168853849, -0.023837626, 0.0655002743, -0.0183784794, 0.0265337098, -0.0085494053, -0.0517004915, -0.0330715626, -0.0026702422, 2.772e-7, 0.0155182546, 0.0100015067, 0.0227394141, 0.077265203, -0.0002254701, 0.0260368865, 0.027232524, 0.0249527842, 0.0178986602, 0.0083456263, 0.0074760341, 0.0309425388, 0.0346531756, 0.0221328866, -0.0487562455, -0.0350881256, -0.0737543926, -0.0349100642, -0.0127570834, -0.0186361186, 0.0997285545, 0.0263473541, -0.0110140191, -0.011023134, -0.0119870985, -0.0265118945, 0.0469888151, 0.0258948822, -0.0407232568, 0.067052573, 0.0676463768, 0.0007702854, 0.0122739347, -0.0285298638, -0.0174429547, -0.0123814, 0.0437485985, 0.0387969799, 0.0109929629, -0.0480873398, 0.002492643, -0.0242398866, 0.0305785481, -0.0508733802, 0.0710871071, 0.0006346774, -0.0095977671, -0.0035681655, -0.0361976251, -0.0063217324, -0.0165142883, -0.056053374, -0.0369008631, 0.0236067697, -0.0152908964, 0.0298480205, -0.0022689842, -0.0306971557, -0.0424986407, 0.0093332063, -0.0221230742, -0.0582430363, -0.0327578038, 0.0063672322, -0.0238526892, -0.0781069174, -0.0092510087, 2.579003841e-34, 0.0286484081, -0.0143168559, 0.0044034515, 0.0006700172, 0.0377271362, 0.0191991832, -0.0135330837, -0.0169480909, 0.0220754202, -0.0547130592, -0.0235402286 ]
http://arxiv.org/abs/2406.13777v1
http://arxiv.org/pdf/2406.13777v1
Game of LLMs: Discovering Structural Constructs in Activities using Large Language Models
2024-06-19T19:02:44
2024-06-19T19:02:44
Shruthi K. Hiremath, Thomas Ploetz
cs.LG
cs.LG, cs.CL
Human Activity Recognition is a time-series analysis problem. A popular analysis procedure used by the community assumes an optimal window length to design recognition pipelines. However, in the scenario of smart homes, where activities are of varying duration and frequency, the assumption of a constant sized window does not hold. Additionally, previous works have shown these activities to be made up of building blocks. We focus on identifying these underlying building blocks--structural constructs, with the use of large language models. Identifying these constructs can be beneficial especially in recognizing short-duration and infrequent activities. We also propose the development of an activity recognition procedure that uses these building blocks to model activities, thus helping the downstream task of activity monitoring in smart homes.
[ -0.0357793756, 0.0058117909, -0.0226236694, 0.0392244309, -0.0430461168, 0.0200805571, 0.0121810883, 0.0011383677, 0.0101767601, -0.0736121237, 0.0157389436, -0.0266663339, 0.0199853275, 0.020634871, 0.0041058632, 0.0204132739, 0.0440911576, -0.0275453161, -0.004181392, 0.0499787442, -0.0146338744, -0.0375872403, -0.0051713279, 0.0195409805, -0.0020777585, -0.0143943559, -0.0268461108, -0.0459727906, 0.0534824096, -0.0351745859, -0.0371715091, 0.0102016702, 0.0278759208, 0.0101848682, 0.0000016573, -0.0375547372, 0.0033311886, -0.0143242842, -0.0270847827, -0.0674939528, 0.0258860737, 0.0191347636, 0.0240543652, 0.0057769436, -0.0187060498, -0.0077677262, 0.0244204663, 0.0217094775, -0.024822047, 0.074290432, -0.0071953116, -0.0063430867, 0.0049069226, 0.0137276454, 0.0641272366, -0.016221622, 0.0506036505, 0.001776237, 0.0602336228, -0.0078848228, -0.015926972, -0.0409432873, -0.0231541451, 0.0295717996, 0.0236329306, 0.0279092509, 0.0206390955, 0.0374136344, -0.0213404298, 0.0369802751, 0.0066555967, 0.0060304985, 0.0838309526, 0.0051517976, -0.0265848637, 0.0007869673, -0.0615388937, 0.0080439504, -0.0046324991, 0.0159846842, 0.0416467078, 0.0261270907, 0.0303314868, 0.0093990769, 0.0052090986, 0.0526234657, 0.0167017654, 0.0151104657, -0.0487837829, -0.0051405258, 0.1131354645, -0.0663514063, -0.0039806464, 0.0518391766, -0.007486572, 0.0062243994, -0.0235318039, 0.0461428761, -0.0181303341, -0.0189607274, -0.0185324177, 0.0370323956, 0.0371955931, 0.0717238486, -0.0018097927, 0.0444375314, -0.0150114307, -0.0371035933, -0.0807849914, 0.0427703597, -0.0589744411, 0.0287983194, -0.0071911039, 0.0408398844, -0.0183354188, -0.0669218674, -0.0429969206, 0.0392451733, 0.0081418799, -0.0114764068, -0.0042294133, -0.018091388, 0.0259873662, -0.0239021126, 0.0271285251, -0.0591310933, -0.010802527, 0.0648082718, -0.0484107919, -0.0490832701, 0.004857522, 0.0635542125, 0.0122296102, -0.0268123504, -0.0380499288, -0.0012432479, 0.026723288, -0.0451106392, -0.0219148807, -0.0466694906, 0.0114688026, -0.0305602215, 0.0253929887, -0.0752237812, -0.0257901009, -0.0283391494, 0.0048626419, -0.01969143, -0.014150314, -0.0264001694, 0.000269661, 0.0724046379, -0.0182568841, 0.040231932, 0.0099766217, 0.0164251514, 0.0466049276, 0.0121782627, 0.027721392, -0.0078544011, 0.0061864839, -0.0008663465, 0.0162117556, 0.068143703, -0.0523864217, -0.0162205268, -0.0075610289, 0.0045528952, 0.0408868939, -0.0141901495, -0.0382298976, 0.0036867671, 0.0088469088, 0.0341071151, 0.0625417307, 0.0753603503, -0.0187027548, -0.0105475737, 0.005299238, -0.0293475594, -0.0048764092, -0.009077264, 0.0024956178, -0.0082783233, -0.0448548384, -0.0402675793, -0.0497500971, -0.0100337444, -0.055078011, -0.0424797647, -0.0378690101, -0.0457793176, 0.0580566339, 0.0046505244, 0.0576472394, -0.0420910455, 0.0067602573, 0.0689729676, -0.0276998617, 0.0041203904, 0.0161714256, -0.0779534653, 0.0394343249, 0.0807452276, 0.0123412218, -0.0503583737, 0.0116693247, 0.0059652654, 0.0513081662, -0.0484970585, -0.0006431919, -0.0063171582, 0.0181992706, -0.0327411629, -0.0664363056, 0.0023176849, 0.0436208844, -0.0074827648, -0.0531404912, -0.0160024166, 0.0241542161, -0.030157404, -0.0114930496, 0.0440678112, 0.0154739507, -0.0338594727, 0.0269801989, 0.0210631378, 0.0333932675, 0.0224651229, 0.0211123396, 0.0163699239, 0.0574579984, -0.0967699736, 0.0104046045, 0.0662788525, -0.0073781363, 0.0104136616, 0.0485288426, 0.0371876471, 0.0033868554, -0.0047389795, -0.0057634301, -0.0402039886, 0.0281359404, -0.0433825515, 0.0397776812, -0.0209770929, 0.0075647449, 0.0162559766, -0.0348719805, -0.0348924361, 0.0593314283, -0.0038051878, 0.0309079643, 0.0213834643, -0.0007713316, 0.0101729222, -0.0611070618, 0.0019151891, -0.0033276384, -0.0447038859, -0.0082635256, 0.026253663, 0.0220654048, -0.0291758273, 0.0364293791, -0.0679870173, -0.0224368274, -0.0135953566, 0.0336475484, 0.0006364493, 0.0141687691, 0.0097734639, -0.0089716651, -0.0051572355, 0.0000304553, -0.0348780043, 0.004462745, 0.0364243574, 0.0076654335, -0.0970095694, 0.0079121161, 0.0175539777, -0.0126463538, 0.0295262244, 0.0183752477, -0.0356214419, -0.0356957614, -0.002275238, 0.0592953376, -0.0088085327, -0.0191404466, -0.0153118428, 0.0052410807, -0.0101696495, 0.0743240714, 0.0604676306, -0.002567797, 0.0215797275, 0.0434770212, -0.0655463636, -0.0032501142, -0.0080458848, -0.0196864083, 0.0251165498, -0.0619715489, -0.0352210589, 0.0288238544, 0.0360114202, -0.0116719669, 0.0148168402, 0.0106628193, 0.0069720536, -0.0418770537, -0.0043238308, -0.022392286, -0.0150856394, -0.0676126182, 0.0471374914, 0.0229231976, -0.0511164628, -0.0202535093, -0.0090575824, 0.0318487994, 0.0050274376, -0.044289235, -0.0328158401, 0.054830607, 0.0067324606, 0.0074335281, -0.0121181449, -0.0526674837, 0.0012611001, -0.0633048639, 0.0261859186, -0.0367092639, 0.0317288712, -0.0803743154, 0.0394327864, -0.0131857991, -0.0367954336, -0.0358847529, 0.0261949562, -0.0399324261, -0.010747659, -0.0563939437, 0.0094565386, -0.0448351242, 0.0119001381, -0.0420090556, -0.0078182193, 0.0180359744, 0.026734367, 0.008420554, 0.064722836, 0.0295832269, 0.0205581486, -0.0714021772, -0.0179302543, 0.0019294306, 0.0306701586, 0.0056489571, 0.0429213047, -0.0614791103, 0.0233649537, 0.0276646148, -0.0198410377, -0.0392502546, 0.0841341391, 0.0639444441, -0.02823928, -0.0090127029, 0.1162508279, 0.0102751302, -0.0189770386, 0.0182335544, 0.0195444506, -0.0659709051, -0.0039852951, -0.0362777635, -0.0354116671, -0.0418088697, 0.0072708647, -0.0035308604, -0.0221867822, -0.0311240107, 0.0002675583, -0.0709723532, 0.0342926569, 0.0510136522, -0.0201069526, -0.0590184927, -0.0431630872, 0.0206587724, -0.0519330911, -0.0453848466, -0.0412573814, -0.0075126332, -0.0127434647, 0.0082857488, -0.1055745408, -0.0318937674, 0.0231962521, -0.0145554859, 0.0666999668, -0.0182283483, 0.0215692539, 0.0027924983, -0.0522180274, 0.0257931631, -0.0248516053, 0.0101847248, -0.027465798, -0.0487931073, 0.0401806571, 0.0225986689, 0.011826722, 0.0836033076, -0.0671693757, -0.0634779185, 0.0381765403, 0.1133715883, -0.0495757051, -0.0032521281, -0.0268204007, -0.0318080224, 0.0899973214, 0.0902810842, -0.0283940863, -0.0195272733, -0.0141536947, 0.0069620279, -0.0464701727, 0.0291929562, -0.0256223362, -0.0404755808, -0.0299342591, 0.0197138153, -0.0329890735, 0.0043057818, 0.0329474583, 0.0297281891, 0.0026929039, 0.0817945302, 0.0332905576, 0.0272971336, -0.0642097294, -0.0158883426, -0.0206859857, 0.0655196309, -0.0101516452, -0.0069335764, 0.0544077605, -0.0313207805, 0.0083640357, 0.0181790311, -0.0654752403, -0.0113160992, 0.000334017, 0.0305424724, 0.0250388514, 0.0154700568, -0.0077036661, 0.0336693041, -0.032676775, -0.006728197, -0.0077390322, -0.0087341424, 0.0094815036, -0.0145938266, -0.0094292844, 0.0104015842, -0.0335349478, 0.0233308766, 0.0189901683, 0.03502414, -0.099084802, -0.0415463559, 0.0110596437, -0.0094370209, 0.034630958, 0.0143329296, -0.0112078944, -0.0131615326, 0.0053789741, -0.0197908804, -0.0046563107, -0.0461531468, 0.0077293357, 0.0119650401, 0.0194845274, -0.014691907, 0.0314974859, -0.0355458893, -0.0062607634, -0.0229615699, 0.0363271236, -0.0312465038, 0.029012192, 0.0139455916, -0.0186853055, 0.0173555203, 0.0426895097, 0.0018329761, -0.0198730938, 0.024213085, -0.0033137517, -0.0008729938, 0.0224651471, -0.0877958909, 0.0275374912, 0.0186786577, 0.0247039273, 0.0295020584, 0.0272203907, 0.0557837673, -0.0208301004, -0.021167025, -0.0202935729, -0.0118876006, -0.0542011037, 0.0859086439, -0.0070855748, 0.0163089838, 0.0204572137, 0.029510336, -0.047798764, -0.0219947211, 0.073967509, 0.0226337016, 0.0153980711, 0.0254376084, -0.0342974029, -0.0363320112, -0.014928557, 0.0274204127, 0.0319641829, -0.0469399393, -0.0112589477, -0.0483199619, -0.0359043963, -0.0015940912, -0.0355864577, 0.0528468192, 0.0301991478, 0.0721416399, 0.040657308, -0.0353079736, -0.0175068881, -0.0159880146, -0.0447959155, -0.0321969725, -0.0049989661, -0.0149001041, -5.247573923e-33, 0.0135275209, -0.0913672, 0.0327262171, 0.0362382606, -0.0122098932, 0.0272620264, 0.0089153694, 0.0042522182, 0.0242163278, -0.0387626514, 0.0258999243, -0.0109257028, 0.0400833711, -0.0216234475, 0.059711542, -0.0097035589, 0.0501888022, -0.0205079485, 0.0085427389, -0.0160141662, 0.0101625221, -0.0174497776, 0.029488435, -0.0703206658, -0.0103883557, 0.0065789213, -0.0156917889, 0.0195282251, 0.0356949233, 0.0136229126, -0.0407925732, 0.0140243899, 0.0421515256, 0.0222736765, -0.014113158, 0.0437381268, -0.0389636233, -0.0303034, 0.044214081, 0.0205364581, -0.0329549499, -0.0611196533, -0.0132051324, 0.0341536701, -0.0817724541, 0.0120728463, 0.0552817546, -0.064225167, -0.0174475592, -0.0035775013, -0.0355143659, 0.0355865769, -0.0093821995, 0.0069183307, 0.0250127614, -0.0670231283, -0.0307983086, -0.0144802835, -0.0748459324, 0.065971598, -0.0122110182, 0.0160128027, 0.0551770478, 0.0402189009, 0.0370919667, 0.0416890047, 0.0228515919, -0.012359052, 0.0055467822, 0.0109328451, -0.0141946236, 0.073639527, -0.0010410581, -0.0032857303, 0.038972225, -0.0031621878, -0.0919152424, 0.015706107, 0.0524912812, 0.0517984256, -0.0156388953, 0.0470259115, 0.0032102368, 0.0052103456, 0.0008950481, 0.0404417999, -0.0131008178, 0.0046996945, 0.0207651574, 0.0350448191, -0.030299155, -0.0312039219, 0.0116681885, -0.0395704918, 0.0118002174, -0.0113570029, 0.0421585962, -0.0161147732, -0.0007925322, 0.0013401379, -0.0290604904, -0.092964448, 0.0040025096, 0.033967007, 0.0192041192, -0.0285097919, -0.0335087441, 0.0810309947, 0.0013631764, -0.0289149005, 0.034811493, -0.0224794708, 0.0041226773, 0.0537592471, 0.0562989302, -0.020963667, -0.0108034471, 0.0977072418, -0.0525387488, -0.0302275978, -0.0133013846, 0.0078082741, 0.0127230324, 0.0029294945, -0.0193971302, -0.0103848167, -0.0636210665, 0.0130422432, 0.0808273852, -0.0007321585, -0.0152223343, 0.0025347269, 2.551e-7, -0.026237743, 0.0276366174, -0.0251407828, 0.0252975281, 0.0162171274, 0.018367352, -0.0181038119, 0.0397381298, 0.001110156, 0.0111935604, 0.0647941083, -0.0054029962, 0.075529106, 0.0080648288, -0.0431817248, 0.0244153962, 0.023559561, 0.0056489189, -0.0670783371, 0.0246434882, 0.0280179475, 0.0225182921, 0.0062530418, 0.0189569816, 0.0116651803, -0.1169057935, 0.0184582993, -0.0478143059, 0.0011564214, 0.0128755337, 0.0212475676, 0.0174138676, -0.0090132048, -0.0247638319, -0.0329196118, 0.0403515436, -0.0033825554, 0.0528339222, -0.0199144389, -0.0102189612, -0.0355089419, -0.0326941535, 0.001438032, 0.0080747409, 0.0653789192, -0.0458640195, -0.0291434228, -0.0088626174, 0.0164038371, -0.0317517221, 0.0014358903, 0.0334890261, 0.0309115741, 0.0208232682, 0.005667239, -0.0356045477, -0.0051935799, -0.0468170717, 0.0159286782, -0.0349270478, -0.0841262639, -0.0360755026, -0.010086366, -0.0004033542, 0.0045292666, -0.0249498896, -0.025327526, 1.881340597e-34, -0.013319226, -0.0121118864, -0.0166508146, 0.0527235344, -0.0273228716, 0.0059760702, -0.0321020484, 0.0352876894, 0.0281123109, -0.0850777104, 0.0134421689 ]
http://arxiv.org/abs/2406.13770v1
http://arxiv.org/pdf/2406.13770v1
Elliptical Attention
2024-06-19T18:38:11
2024-06-19T18:38:11
Stefan K. Nielsen, Laziz U. Abdullaev, Rachel Teo, Tan M. Nguyen
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
Pairwise dot-product self-attention is key to the success of transformers that achieve state-of-the-art performance across a variety of applications in language and vision. This dot-product self-attention computes attention weights among the input tokens using Euclidean distance, which makes the model prone to representation collapse and vulnerable to contaminated samples. In this paper, we propose using a Mahalanobis distance metric for computing the attention weights to stretch the underlying feature space in directions of high contextual relevance. In particular, we define a hyper-ellipsoidal neighborhood around each query to increase the attention weights of the tokens lying in the contextually important directions. We term this novel class of attention Elliptical Attention. Our Elliptical Attention provides two benefits: 1) reducing representation collapse and 2) enhancing the model's robustness as the Elliptical Attention pays more attention to contextually relevant information rather than focusing on some small subset of informative features. We empirically demonstrate the advantages of Elliptical Attention over the baseline dot-product attention and state-of-the-art attention methods on various practical tasks, including object classification, image segmentation, and language modeling across different data modalities.
[ 0.0157307684, 0.0247424096, 0.0047023417, 0.050303854, -0.0056487485, 0.0091690402, 0.0152923726, 0.0010825283, -0.0341562405, -0.0549961887, -0.0427376553, -0.0206713527, -0.0104327276, 0.0285403803, 0.0367275029, -0.0578684025, 0.0244389996, -0.0025212581, -0.0412394218, 0.0077835405, -0.018886108, -0.0106336912, 0.0195308607, 0.0430567153, -0.0664697737, -0.0257682521, -0.0184958652, 0.0272551756, 0.0378739685, -0.010662308, -0.0186490305, 0.0511135496, -0.0013303311, 0.0191637538, 0.0000020228, -0.0251352321, -0.0186872743, 0.0129263997, 0.0057889083, -0.0066900463, 0.0299826153, -0.0372191258, 0.0326933488, -0.0277708434, -0.0200559162, -0.0259149447, 0.0719545186, 0.0748115256, 0.051264897, 0.0527556837, -0.0230463874, -0.032148052, 0.0001248584, -0.0383755676, 0.0202933047, -0.0450339317, 0.0219291858, -0.0539984256, -0.0324644595, 0.0507543385, -0.0276750885, 0.057591863, 0.0027085405, 0.0063626487, 0.0633414313, 0.0393323861, -0.0377648622, -0.0041092304, 0.012889104, 0.0810655877, -0.0488898195, -0.0227657128, -0.008775631, 0.0150665939, 0.0015132965, -0.0102737462, -0.0346324183, -0.0108672259, 0.0245586131, 0.0082797464, -0.0356277935, 0.011686299, 0.0139259547, -0.0106020533, -0.0489411578, 0.0184280779, 0.0102392649, -0.0206889212, -0.0184763707, -0.0099240011, -0.0430826358, -0.0315823145, 0.0219362639, 0.0317167267, 0.0293668937, -0.015948955, -0.0134855779, -0.0596365407, 0.0029398729, -0.0432907268, 0.0316804275, 0.0070907339, -0.0610476173, 0.0676577389, -0.0108778467, 0.07468687, -0.0475096814, 0.0705122799, -0.0409701467, -0.0185507946, -0.0122455852, 0.0175779685, -0.0767475963, 0.0267771613, -0.0306031089, -0.0299689695, -0.0075241793, 0.0379584096, -0.0034431636, -0.0592034645, 0.0250365511, 0.0231489241, -0.0320776291, -0.0214069393, 0.0247330237, 0.0320599154, -0.0297421142, -0.0247704647, -0.0047459318, -0.0336667076, -0.0511810705, 0.0571338274, 0.0137535352, -0.0411766879, -0.0146997543, 0.0761124045, 0.0110504301, -0.0992797539, 0.0037229299, 0.012791804, -0.0626092628, -0.0282263868, 0.033964742, -0.0269853845, 0.0197631102, 0.002930532, -0.0187617615, -0.0121120336, -0.0048297271, 0.0057107285, -0.0022729966, 0.0736737549, 0.043697346, 0.0148101421, 0.0215651132, -0.0019245393, 0.0089710448, 0.0465499498, 0.0331304148, 0.0351170599, 0.0185462274, 0.0124863163, 0.0385453142, -0.0000963937, 0.0073451689, 0.0023716129, -0.0470399149, 0.0223638844, -0.026587829, 0.0126148071, 0.0391437225, 0.0407130942, 0.0014271882, -0.0556735471, 0.0580059253, 0.0394621491, 0.0014051591, 0.0548767261, 0.0262808744, -0.0104374001, -0.075207144, -0.0045807008, -0.079313159, 0.0657458678, -0.0024202575, -0.028451968, 0.0116235064, -0.0021406005, -0.0474563837, -0.0354140848, 0.011352391, -0.0065845195, 0.013868222, 0.0215334762, 0.0513696782, -0.0094047925, -0.028125044, 0.0781184658, -0.0038392716, -0.0541285239, -0.0101644304, -0.0774773806, 0.0172140207, 0.01447614, -0.0058975164, -0.0658279955, -0.0198134799, 0.0004648235, 0.0461541638, 0.0201128386, 0.00025566, 0.0468592681, 0.0362557806, -0.0171519499, -0.0422384776, -0.0163095724, 0.0062033948, 0.0128406174, -0.018831959, 0.014467922, 0.0268654693, -0.0851992667, 0.028293971, 0.0465630405, 0.0785861611, -0.0365147367, 0.0087752836, 0.0693821013, 0.0079302117, 0.0253389161, 0.0230983142, 0.0169761106, 0.0424628854, -0.0488615334, 0.0036770226, -0.0127022257, -0.0338257104, -0.0117227342, 0.0146698738, -0.0708124936, -0.0104897674, 0.0381930843, -0.0201537572, -0.0196750518, 0.0391530171, -0.0504323579, 0.04801156, -0.0283858851, 0.009899145, 0.0064102635, 0.0652779043, -0.0494848639, 0.0560422167, -0.0076756235, 0.0039903647, 0.0029046612, 0.0167289935, 0.0193364266, -0.0315574706, -0.0261326898, -0.0024535174, -0.0101370877, 0.0112680271, 0.0021803249, -0.0194964353, -0.020026274, -0.0554386638, -0.0330989622, -0.0385458395, -0.0577166714, 0.0103713581, 0.001204491, 0.0076083113, -0.0036644205, -0.0362494029, -0.0190139282, -0.0130614052, -0.0421767421, 0.0075270412, 0.0354471803, -0.0122533822, -0.001027259, -0.0103423325, -0.037720006, 0.01988093, 0.0583355986, 0.0179902408, -0.0321098194, -0.0589614436, -0.0045880345, -0.0027519041, 0.0294499025, -0.0000440865, -0.0273622889, -0.0191513803, -0.0280674268, 0.0354297347, 0.1285857856, 0.0247969646, 0.0023135836, 0.0531780533, -0.0020931896, -0.0305100381, 0.0162515249, -0.0332073979, 0.0100288959, -0.0126412101, -0.0068254964, 0.0443241894, 0.0465738028, -0.0462993309, -0.0292892884, -0.0655140281, -0.0238385294, 0.0229121912, -0.0288483184, 0.008442658, 0.0179354008, -0.0223646574, 0.0038805015, -0.0202480778, -0.046205949, 0.0567885488, -0.0138093717, -0.01097083, -0.0021362714, 0.0114702079, -0.0346625745, 0.0404095873, 0.0396131948, 0.030566277, -0.0047390051, -0.0696718544, -0.0405474789, 0.0346360728, -0.0127334259, -0.008688624, 0.085947305, 0.0173019301, 0.0316543467, -0.0150193889, -0.0077613047, -0.0235312283, -0.0103974761, 0.0041010575, 0.016744623, -0.0058183498, -0.0013204572, -0.082484737, 0.0490373522, 0.0127212191, 0.0290883016, -0.0104756011, -0.0187635776, 0.0056302231, 0.0239568241, 0.0339929312, 0.0693653971, 0.0211423207, -0.0449849926, -0.0346022621, 0.0562814474, 0.031864088, -0.0367369168, -0.0329326466, -0.0067761051, 0.0246950462, 0.0058674426, -0.0163459666, -0.0054455977, 0.0522429235, -0.0273346175, -0.029570803, 0.073180005, 0.0006804626, -0.0731231347, -0.0000829652, -0.0124368696, 0.0230636988, 0.0480614081, 0.0166664273, -0.018517362, -0.0337803401, -0.0088215871, 0.0265658554, 0.0497949384, -0.0034688683, 0.0122164767, -0.0368059315, 0.0382059664, -0.0057304944, -0.0697395205, -0.0921402052, -0.0160195492, 0.0545523316, -0.0385596342, -0.0055180029, -0.0038696709, -0.0285355169, -0.0344138853, 0.0132415583, 0.0212473031, 0.0028949201, 0.0220672879, -0.0185707491, -0.0361212082, 0.0293207094, 0.0022393549, 0.0206522811, -0.0550206155, -0.0193854608, -0.0356244855, -0.002344131, 0.0034848889, 0.0660687834, -0.051835116, -0.0317974091, 0.0218386725, 0.0015412036, -0.0267776698, -0.0086088562, -0.0413209163, 0.0701980889, -0.0113788694, -0.0008995214, -0.0478597619, -0.0217933115, -0.0175350551, 0.050821621, 0.0407524481, -0.0051761088, -0.0284940004, 0.0085075665, 0.0493890606, -0.0115207899, -0.0281823054, 0.014634015, 0.0235731639, -0.072500594, -0.0487230644, -0.0236940868, 0.0026061542, 0.0346671604, -0.0140006235, -0.0645315796, 0.0039472911, -0.0005829785, -0.0351195969, 0.0574590042, -0.0227246992, -0.0028400216, -0.0457013845, 0.0342869163, 0.0166240726, -0.0017553348, -0.0247400682, 0.006142104, -0.1252180189, -0.0377568044, 0.0044099363, 0.0477184877, 0.0084857969, 0.034467753, -0.0289665721, -0.0492376387, 0.0232970286, 0.0398129895, -0.0076993238, 0.0241763871, 0.0419638827, -0.0253291447, -0.0079293139, 0.0533698313, -0.0490964726, 0.0255776122, 0.0308200587, 0.0163598545, -0.0639769882, -0.0538787358, 0.0029693104, 0.0064409603, 0.089165844, -0.0066890623, 0.0332887433, -0.0214980226, 0.0401329361, 0.0122481715, 0.0186305679, -0.0646276399, 0.0217020176, -0.0346316881, -0.015076926, 0.0057911826, 0.0423324518, -0.0048018652, -0.0098771313, -0.0646304265, 0.0379618146, -0.0514250845, -0.034782324, 0.0062623597, 0.0453393348, -0.008337995, -0.0383372307, 0.0459115133, 0.0190085378, -0.0130508784, 0.040761698, 0.0305123106, 0.0080058919, -0.047491055, 0.0258926749, -0.0750071183, 0.0144818472, -0.0261504743, 0.0318233296, 0.014830295, -0.0500863791, 0.0303893555, 0.0060684676, -0.0240202695, -0.028340416, 0.0335889086, 0.0089300806, 0.0047089416, 0.0269086063, 0.0232655145, 0.0103878686, -0.0020705499, 0.0673277304, -0.0594605766, 0.0013390225, 0.0139645869, 0.004422877, -0.0556832999, -0.0159679428, -0.0007992312, -0.0046169939, -0.0147973327, 0.0311382767, -0.0273125526, -0.0800296143, 0.0152283972, -0.0483760834, -0.0403831527, 0.0106732007, 0.0605134331, 0.0578318536, 0.0172018278, -0.0265126079, 0.0024150147, 0.0098597528, 0.0284722541, 0.0128562571, 0.0088983942, -6.58027999e-33, 0.0047243671, -0.0232305191, -0.0249195509, 0.0092101395, -0.0446674302, 0.018619284, -0.015263252, 0.0200999882, -0.0412170291, 0.0169909671, -0.0062904586, 0.0168574117, 0.0070060729, 0.0373016261, -0.0155954091, -0.0492343977, 0.0370045081, 0.0175828282, -0.0104522435, 0.0363782048, -0.0042837607, 0.0384558141, 0.0824042186, -0.0637949184, -0.0314339697, 0.011885114, -0.0092376582, 0.0468882211, 0.0098385382, 0.0795520023, -0.0042247386, 0.0329382084, 0.0053927284, -0.0439207368, -0.0268534813, 0.0135442382, -0.063357234, -0.0176717434, -0.0436114594, 0.0192429703, -0.0511194356, -0.0204206035, 0.0943243653, 0.0190579556, 0.0203642417, -0.0693889931, 0.0506380796, -0.0207634736, -0.0651643574, 0.0297705512, -0.0164292119, 0.034821365, -0.0410361364, -0.0380829573, 0.0675570369, 0.0442406237, 0.0298072118, 0.0539425462, -0.0318925083, 0.0205403287, -0.01562622, 0.0357882865, 0.0539849065, 0.0334040634, 0.0001925651, 0.039368581, 0.0699606985, -0.0439906232, -0.0152305067, -0.0682058781, 0.0192352422, 0.0558392331, 0.0316293575, -0.0153892338, -0.0000390284, 0.0172152296, -0.0654512197, -0.0268729888, -0.0763646066, 0.071320422, 0.0068890727, 0.0122527378, -0.03352594, 0.01870092, 0.0126969945, -0.010330637, -0.0702182204, 0.0021064419, 0.0116742104, 0.0266360193, -0.0233076736, 0.0612130277, 0.0350325294, -0.0165826958, 0.0044801598, -0.0054641725, 0.0065985704, 0.013175467, 0.0227950346, 0.0162578654, -0.0069925403, 0.0070530404, 0.0021075157, 0.0068726162, -0.0060372059, -0.0229361113, 0.0427431874, 0.0028501111, -0.0799200907, -0.0467207991, -0.0274176206, -0.0192199331, -0.0394275971, 0.0269483123, 0.0364138968, 0.0051813219, -0.0050866045, 0.1001107246, 0.0187205598, 0.0154812699, -0.0210459195, 0.0122123184, 0.0218930393, 0.0462239906, -0.0344177969, -0.0102178296, -0.014833496, 0.0081804991, 0.0539820641, -0.0688787624, -0.043175526, 0.0383629426, 2.848e-7, 0.0693871006, 0.0667172521, 0.0086910948, -0.0142778503, -0.0108327838, 0.0512535833, 0.0137062278, 0.0592059977, -0.000345441, -0.0235080812, -0.0009332832, 0.039932061, 0.0166098941, -0.012017102, -0.0646401644, 0.068583779, -0.0524746738, -0.0064912322, -0.0266338084, 0.004043126, 0.0592923649, 0.1218079329, -0.0150446426, 0.0073931804, 0.0095024081, -0.0212098546, 0.0496315807, -0.0206746981, 0.0212959088, 0.0061125522, 0.0149973929, 0.0097448733, -0.0140905948, 0.0169695392, -0.006077365, 0.011944999, 0.0687977448, 0.053578224, -0.0281629879, -0.0654410124, 0.0072396682, 0.0265879985, -0.0136005813, -0.0455984026, 0.0745972916, -0.0770142302, -0.0124617442, -0.032420963, -0.0036233948, 0.0314401835, 0.0243326686, 0.0031568471, -0.0179964267, 0.0253570657, 0.0218606573, -0.0497550927, 0.0038658483, -0.0949452221, -0.0140123442, -0.0073739626, -0.0544447526, 0.030889757, -0.0560799874, -0.0083030965, 0.0565320551, 0.0368720144, -0.044515226, 2.359479582e-34, 0.0379807465, -0.0138927884, -0.0081424974, 0.002022353, -0.0372377858, -0.0411768481, -0.0208692085, -0.0281532742, -0.0056368127, -0.0617799535, -0.0265986081 ]
http://arxiv.org/abs/2406.13764v1
http://arxiv.org/pdf/2406.13764v1
Can LLMs Reason in the Wild with Programs?
2024-06-19T18:26:19
2024-06-19T18:26:19
Yuan Yang, Siheng Xiong, Ali Payani, Ehsan Shareghi, Faramarz Fekri
cs.CL
cs.CL
Large Language Models (LLMs) have shown superior capability to solve reasoning problems with programs. While being a promising direction, most of such frameworks are trained and evaluated in settings with a prior knowledge of task requirements. However, as LLMs become more capable, it is necessary to assess their reasoning abilities in more realistic scenarios where many real-world problems are open-ended with ambiguous scope, and often require multiple formalisms to solve. To investigate this, we introduce the task of reasoning in the wild, where an LLM is tasked to solve a reasoning problem of unknown type by identifying the subproblems and their corresponding formalisms, and writing a program to solve each subproblem, guided by a tactic. We create a large tactic-guided trajectory dataset containing detailed solutions to a diverse set of reasoning problems, ranging from well-defined single-form reasoning (e.g., math, logic), to ambiguous and hybrid ones (e.g., commonsense, combined math and logic). This allows us to test various aspects of LLMs reasoning at the fine-grained level such as the selection and execution of tactics, and the tendency to take undesired shortcuts. In experiments, we highlight that existing LLMs fail significantly on problems with ambiguous and mixed scope, revealing critical limitations and overfitting issues (e.g. accuracy on GSM8K drops by at least 50\%). We further show the potential of finetuning a local LLM on the tactic-guided trajectories in achieving better performance. Project repo is available at github.com/gblackout/Reason-in-the-Wild
[ 0.0266390685, 0.0701626912, -0.0054686423, 0.0535306148, -0.0396892056, 0.0306808036, 0.0073173181, -0.0063776323, -0.0297021251, -0.0484804846, 0.0030816586, 0.0017914972, -0.0186696723, 0.0162851475, 0.0287259873, -0.0322321802, 0.0365367383, -0.0818330124, 0.0197893083, -0.0074590198, -0.0258058552, 0.0328781791, -0.0195999537, 0.0417686068, 0.0096282307, -0.0251451787, -0.0314577818, 0.0158592332, 0.0058029387, -0.0066037341, -0.0211170502, -0.0064397375, 0.0561574325, 0.023061214, 0.0000020409, -0.0538427606, 0.0045859916, 0.005997322, -0.0564039312, -0.0096195471, -0.0198311135, 0.0131733324, 0.0064503816, 0.0269628465, -0.045304995, -0.0105636232, -0.0048694657, 0.0291859936, 0.0760517642, 0.0930736437, 0.0237174649, -0.0563435704, -0.0059645684, -0.008394191, 0.0259152148, -0.064316757, 0.0039281049, 0.0254676025, 0.0242248289, -0.0029197182, 0.0113130864, 0.0041826349, 0.0389489569, -0.0080831554, -0.0457860231, 0.0216317046, -0.0607904904, -0.0022139398, 0.0060445401, 0.0405524895, -0.0070284894, -0.0494400263, 0.0177590996, 0.0045354343, -0.0115892179, -0.014706552, -0.0437660217, 0.0464455783, -0.0115548968, 0.0227137059, 0.0324241593, -0.0324128121, 0.052368883, 0.0241090879, -0.0734065846, 0.1049261764, -0.025490405, -0.0159166194, 0.0301275812, -0.0254264232, -0.0280380007, -0.0823603272, 0.0061754845, 0.1037121043, -0.0401976295, 0.0396660306, -0.0147643946, 0.0312357061, -0.0080872765, -0.0115403589, 0.0198695399, 0.0636013448, 0.0211724043, 0.064477697, -0.0195100289, 0.0171701182, -0.0314047858, 0.0400303379, -0.0170302335, -0.0220758058, -0.0798959509, -0.0256375261, -0.0054992423, 0.0556449518, -0.0004010758, 0.0123918261, -0.0174874458, 0.0331828147, -0.0151580349, 0.0714379102, -0.0065402221, 0.0147236707, -0.0132077429, -0.0447971933, -0.0442359969, -0.0110051883, -0.0476050265, 0.0225783437, 0.0250369478, -0.013372018, -0.0105950832, 0.0188217554, -0.0293726213, -0.0312247816, 0.0415595844, 0.0901967883, -0.0035378393, 0.0124762617, -0.0671663955, -0.0574930161, 0.0006214784, -0.095714435, -0.0165003799, -0.094171755, 0.0181479398, 0.0303524062, -0.0251749773, -0.0295084957, 0.0043301065, -0.0043392233, -0.0156969372, 0.0864450485, 0.0231338218, 0.0136194369, 0.0162274931, 0.0311126616, -0.0268645473, 0.0739642754, 0.041702833, 0.0131485388, 0.0005491675, 0.006432646, -0.0052545746, 0.0243392382, 0.0015716329, -0.0152538093, -0.0432697795, 0.023704024, -0.0358512439, 0.0394327454, -0.0140660321, 0.032746356, -0.0142682455, 0.0034091778, 0.0033339611, 0.071147345, 0.0387906097, 0.00216583, 0.0593216196, -0.0274326447, 0.0194457583, -0.0015538351, -0.0692287683, 0.0191168636, -0.0548181906, 0.0042803898, -0.0170840994, 0.0038194309, -0.0259432252, -0.0699767545, -0.0387803689, 0.0023874568, -0.0340930633, 0.0151274903, 0.080637373, 0.0002763195, -0.0099115754, 0.0354895517, -0.0005988853, -0.0248392988, -0.0155586507, -0.0538244024, 0.0461408421, 0.0380120873, 0.0564985834, -0.0541392155, -0.0500655882, -0.0111588417, 0.0013591071, 0.0142570604, 0.0406986549, -0.020072747, 0.0079197763, -0.0338296033, -0.0132931583, -0.0412909463, -0.0011643078, -0.0060563055, 0.0200341716, -0.016937647, -0.0013373616, -0.0666664094, 0.0320709758, 0.0411212668, 0.0080533642, -0.007675583, -0.0185464602, -0.0008366566, 0.0350017846, -0.0052716816, -0.0091642933, 0.0216091666, 0.0233582743, -0.0164467283, -0.0189893264, 0.0001105628, -0.028115062, -0.0107887257, 0.0511679277, -0.0217684843, -0.0520997718, 0.001809184, -0.0644307658, -0.032083191, 0.0404029675, 0.0004182826, 0.0186105035, 0.0001508373, 0.0063352091, 0.02069626, -0.0418974571, -0.0147624733, 0.0741418749, 0.0089526298, -0.0312843882, 0.0017948638, 0.0035441162, 0.0173133221, -0.0145780919, 0.0118589848, 0.0201728828, -0.0142186088, -0.0080094095, -0.0155276321, 0.0116672199, -0.0391159207, -0.0439840443, -0.0486894548, 0.023277007, -0.001122389, 0.0350472778, 0.0049287435, -0.0394545346, 0.0123766903, 0.0010279329, -0.011896166, -0.0008114179, 0.0170250051, -0.0054416652, 0.0433557332, 0.0042033158, -0.0137760034, -0.0255271941, -0.009943678, -0.0560722947, 0.0243181176, -0.0084160464, 0.0361484885, -0.0503066182, 0.0344303437, -0.0579916909, 0.0137124415, -0.0276561808, 0.0107375709, 0.0534906387, -0.0317575634, -0.0304299835, 0.0965528861, -0.0175185073, 0.0115472386, 0.0660096034, -0.0237838421, -0.056235671, 0.0344217382, 0.014452491, -0.0217569415, -0.0697262436, -0.0003656227, -0.0396697, 0.0397086106, -0.0283051208, 0.0131814815, -0.0177995544, 0.0448505171, 0.0272572897, 0.0172548816, -0.042979233, -0.0061723576, 0.0053334888, 0.0768002421, -0.0001482271, -0.0265238397, 0.0921904668, -0.0016272998, -0.0058544469, 0.0024341345, -0.01513978, -0.0433307849, 0.0942478105, -0.0499733314, -0.0338474475, -0.0137237553, 0.0018673567, -0.039480485, -0.0693688989, 0.0353246145, -0.0220301114, 0.1076546982, -0.0788609535, 0.0162844062, -0.0095688496, -0.0396372601, -0.0512741879, 0.0033065423, -0.0588968769, 0.0099674957, -0.0568050705, -0.0223735478, -0.0293375496, -0.0160705838, 0.0168423317, 0.0079976339, 0.0037257024, -0.0393354185, -0.0346950516, -0.0156442039, 0.000469373, 0.0278717, 0.0201251246, -0.0368877128, 0.0198333953, 0.0143507207, 0.0298063345, -0.0270194151, -0.0344721191, 0.0257198792, -0.0057918071, -0.0128355296, -0.0259845443, 0.0409196056, 0.0708518401, -0.0908098891, -0.0233066902, 0.1108279601, 0.0396398269, 0.0145960255, 0.0009800858, -0.0339803994, 0.0227966756, 0.0358183607, 0.0471753627, -0.0541854501, -0.0660424531, 0.0402702466, 0.0261883065, -0.0097388858, -0.0270554069, -0.0136667024, -0.109554939, 0.0300085023, 0.0170958079, -0.0156231262, 0.0033270142, -0.0306403078, -0.0170162842, -0.0255956817, -0.0033437933, 0.0158621948, 0.0150993485, 0.0012977873, 0.0058320393, -0.0079206377, -0.0158473756, 0.0527155548, 0.0074852379, 0.0405543521, 0.0281963982, 0.0195748843, 0.01040651, -0.0562107377, 0.0440649018, 0.0282851849, 0.02202015, -0.0286005586, -0.010810148, 0.0000752376, -0.0097287884, 0.0038446365, 0.0437212139, -0.0632359609, -0.0499430113, 0.0367759801, 0.0881230757, -0.0410538092, -0.0303963851, -0.0078471126, -0.0094690202, -0.0513594747, 0.0610962436, 0.0068369401, 0.0207204353, -0.08066497, -0.0707418025, -0.0766306147, -0.0465552583, -0.0231758263, 0.0025436676, 0.0470858999, -0.0091205398, -0.0133538712, 0.0117595168, 0.0486005172, 0.0684178472, -0.0183434822, -0.0192444567, -0.0019298369, 0.0105205486, -0.0395493843, 0.0545476824, -0.0470763668, 0.0216521099, -0.0341374651, 0.0008420359, -0.011336768, -0.0344642624, -0.025308134, 0.0170291793, -0.0694005117, -0.0791492984, -0.0214359462, 0.0495249219, 0.038511809, 0.025054574, -0.0097049605, -0.0251047481, 0.009721159, 0.0437699109, -0.0210009124, -0.0045077321, 0.0583404452, 0.0094211744, 0.0097830519, 0.037216831, -0.0251733772, 0.0186694022, 0.0404349677, 0.0228417218, -0.0312477611, 0.0316855498, 0.0204149652, 0.0111593623, 0.0107036186, 0.0167240351, -0.0382598527, -0.0114497337, 0.0378221422, 0.0015042297, -0.0304383989, -0.0216081217, 0.0130647765, -0.0111920768, -0.0239771083, 0.0367941223, -0.038217891, -0.0195063055, 0.0232543759, 0.0264069587, 0.0280766506, 0.0345832855, 0.0389544442, 0.0316980109, -0.0407752283, -0.0008655035, 0.0417113453, -0.0182935353, 0.0454749949, -0.009446702, 0.0500866659, 0.0406346731, 0.0346135944, -0.0436885394, -0.0227932483, -0.0756667405, -0.107900165, 0.0547623336, 0.040430218, 0.0581430271, 0.0068864049, -0.0166740082, -0.0411848277, 0.0026772053, 0.0161261521, 0.0290534813, 0.0389262177, -0.002793421, 0.0576495118, 0.0525277518, -0.0045840889, -0.004154128, 0.0413421877, -0.0431685895, 0.0509622693, 0.0198579673, -0.0069356766, -0.0372409075, -0.0424721427, 0.0000402053, 0.0229620021, -0.0168190692, 0.0012079213, -0.0572113469, -0.0895000473, -0.019512061, 0.0532120764, -0.0185968671, -0.0030299311, 0.0145948287, 0.0589277893, 0.0206266791, -0.0268366821, 0.0022071407, 0.0074648201, -0.001411349, -0.0038666106, -0.0152917132, -5.979434501e-33, -0.0346653871, -0.0283581372, 0.0581499636, -0.0162794497, 0.0187876858, -0.02262876, -0.0484265946, 0.0110253207, -0.0375573896, 0.0020572846, -0.0264920853, 0.031751167, 0.0060670292, -0.0077624531, 0.007176864, -0.0219097901, -0.0034542545, 0.0254053939, -0.0469940342, 0.003733285, 0.0445858203, -0.0245144237, 0.0169033315, -0.0246308502, 0.0092811855, 0.006668984, -0.0271182731, 0.0582203567, -0.0932774767, 0.0678319559, 0.0086171003, 0.004544789, 0.0046102544, 0.0086825741, -0.0117254984, 0.0036618847, -0.0394831896, -0.0302059073, 0.0422651209, -0.012968068, -0.0196927041, -0.0323192962, 0.0596418642, 0.0271096397, -0.0108160004, -0.0050229006, 0.0204368327, -0.0230667274, 0.0186946336, 0.0230723768, -0.0124584856, 0.0285053533, -0.0485544689, -0.0372866988, -0.0050548622, -0.0146089075, -0.0177162737, 0.0141027234, -0.0191683359, 0.0013771706, 0.0203507431, 0.0014283577, 0.0860963091, -0.0036396647, -0.0069676782, 0.0357716717, -0.0033833468, -0.008929925, -0.045751188, -0.0308553949, 0.0059133307, 0.0838725194, 0.0417145528, -0.0044044792, 0.0315154232, 0.0242886115, -0.0813247859, -0.0092838518, 0.0131798917, 0.0649101511, 0.0171200391, 0.0261425581, -0.0179255195, 0.0119222794, -0.0466511399, 0.0260927565, -0.0411329865, -0.0074957125, 0.0175299346, -0.0134344734, 0.0063272598, -0.0366237797, 0.0052226023, -0.0413233042, 0.0033181247, 0.0075730444, -0.0016292421, 0.0085694026, -0.0113712521, 0.0350422747, -0.0239785593, -0.0442084931, 0.0161862671, -0.0216467232, 0.0355917215, 0.0169539619, 0.0165017825, 0.0065456186, -0.0388299786, -0.0123905912, -0.0725439787, -0.000997614, -0.0065379785, 0.0080405856, 0.0516970493, 0.0321644284, 0.0050490364, 0.045010969, -0.0411975011, -0.0570893735, -0.0129673593, 0.0224776715, -0.0102983331, 0.0181897692, -0.0211717933, -0.0192228332, -0.0191730279, -0.0124809723, 0.0073715267, -0.0143542998, -0.0005550998, 0.05804234, 2.733e-7, 0.0458907075, 0.033262264, 0.0078484789, 0.0546636693, 0.0069400663, 0.0509240255, -0.064771913, -0.0320681371, 0.0014168307, -0.0494952016, -0.0181306284, 0.0791466907, 0.0364461169, 0.0406065136, -0.0239362661, 0.0407052301, 0.0081813708, -0.0391423926, -0.0761030614, 0.0328901596, 0.0736586228, 0.0879822299, 0.0446585976, -0.0105293225, 0.0086526806, -0.042004656, 0.030099744, -0.0054702922, -0.002892083, -0.0054922849, -0.0055269818, 0.0219484791, 0.0069055348, 0.0559040084, 0.0194416009, 0.0029783321, -0.0478924029, 0.087264277, -0.0085700434, -0.0192018915, -0.0552148409, -0.0431039184, 0.0153543949, -0.0509468615, 0.0929216295, -0.0503160395, -0.0478394069, -0.0055705709, 0.0353014246, -0.030781012, -0.0221835338, 0.0048583285, 0.0129640698, 0.0042471248, -0.0094824247, -0.0146985603, 0.0021634083, -0.1021572649, -0.004089362, 0.0354544595, -0.0307242069, -0.0251356997, -0.0229402687, 0.0276376624, 0.0525483936, -0.0395842865, -0.0198043659, 2.705451447e-34, 0.0305369999, 0.0022894868, -0.0006308599, 0.0224492624, 0.0528848693, 0.0126018384, -0.0547545142, 0.0146576893, 0.0452037714, -0.0478454232, -0.0092391344 ]
http://arxiv.org/abs/2406.13762v1
http://arxiv.org/pdf/2406.13762v1
Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis
2024-06-19T18:22:32
2024-06-19T18:22:32
Rachel S. Y. Teo, Tan M. Nguyen
cs.LG
cs.LG, cs.AI, cs.CL, cs.CV, stat.ML
The remarkable success of transformers in sequence modeling tasks, spanning various applications in natural language processing and computer vision, is attributed to the critical role of self-attention. Similar to the development of most deep learning models, the construction of these attention mechanisms rely on heuristics and experience. In our work, we derive self-attention from kernel principal component analysis (kernel PCA) and show that self-attention projects its query vectors onto the principal component axes of its key matrix in a feature space. We then formulate the exact formula for the value matrix in self-attention, theoretically and empirically demonstrating that this value matrix captures the eigenvectors of the Gram matrix of the key vectors in self-attention. Leveraging our kernel PCA framework, we propose Attention with Robust Principal Components (RPC-Attention), a novel class of robust attention that is resilient to data contamination. We empirically demonstrate the advantages of RPC-Attention over softmax attention on the ImageNet-1K object classification, WikiText-103 language modeling, and ADE20K image segmentation task.
[ 0.0228312854, 0.0466647111, -0.0282038413, 0.0539464317, 0.0047300807, 0.0253212042, -0.0069045443, -0.0447398163, -0.0228752028, -0.0149240484, -0.0172392223, -0.028204659, 0.0184883568, 0.0339134969, 0.0362256877, -0.0310559142, 0.0377883352, -0.0048048422, -0.0392858014, -0.0019067464, -0.0052921367, -0.0309343226, 0.0279885065, 0.0315277539, -0.0625738204, -0.0342390649, -0.0138271889, -0.0387558416, 0.0042211851, -0.0360335112, -0.002303466, 0.0623835549, 0.0137947593, -0.0154076349, 0.0000022321, -0.0115418602, 0.014205589, -0.0072076521, 0.0132430326, 0.0416781418, -0.0002866486, -0.0153208394, 0.0110097881, -0.033925429, -0.004289032, 0.0004270933, 0.0677640885, 0.0891816393, 0.0512908325, 0.0496180244, 0.000264408, -0.0254845582, 0.0032677269, -0.0333298109, 0.0089821946, -0.0205124076, 0.0313829109, -0.0774911344, -0.0254088026, 0.0099138897, -0.0315339379, 0.0511465929, 0.0016204679, -0.0425958782, 0.0581915677, 0.046681039, -0.0351552665, -0.0486589335, 0.0232070554, 0.0716142505, -0.0303147547, -0.0001877745, 0.0351440981, -0.0084559247, 0.017913213, 0.010509789, -0.0313285999, -0.0092658224, 0.0619905218, 0.0115092276, -0.0108419117, 0.0054489351, -0.0008321982, -0.0352815352, 0.003557255, 0.039402131, 0.0030067654, -0.0221970081, -0.021893831, 0.0424962342, -0.0114048403, -0.0219027959, 0.0088632824, 0.0327730365, 0.0522203185, -0.0168523304, -0.0497483946, -0.0466448851, -0.0009910597, -0.0889154077, 0.0239881594, -0.0015792849, -0.0784367397, -0.0131176077, -0.0038435296, 0.042992793, -0.0602692775, 0.0655726418, -0.0342559442, 0.0260537826, -0.0027617272, 0.0137320347, -0.0129440809, 0.0550735369, 0.040106155, 0.0020427753, -0.0412704647, 0.0340348929, -0.0172762871, -0.060832873, 0.0165659245, 0.0661284998, -0.0244220719, 0.0088186003, 0.028566068, 0.0488935336, -0.0004314653, -0.0139728691, -0.0588490479, -0.0310453922, -0.0648508593, 0.0452092141, 0.0300707482, -0.0338956527, -0.0203331914, 0.0479438938, 0.0035554213, -0.0691017359, -0.0094801243, -0.0159184188, -0.0671043172, -0.0247827023, 0.0015168274, -0.0201636795, -0.023506131, -0.0039719106, -0.0212404877, -0.0323331915, 0.00816241, 0.005611537, -0.0364506394, 0.0744787976, 0.0638415813, -0.0023801883, 0.0403583311, 0.0057167937, 0.0233874004, 0.0237062797, 0.0116565349, 0.0080869012, 0.0136629688, -0.0494104512, 0.0511770844, 0.0229990408, 0.003820837, -0.0306406152, -0.0104955137, -0.0033882523, 0.0037227839, -0.0191712342, 0.0449305624, 0.0184652023, 0.0292375386, -0.0509892404, 0.0585180186, 0.0524391346, -0.0371124074, 0.0427669175, -0.0006570296, 0.0244833324, -0.0451783724, 0.0417222194, -0.0761042312, 0.0523962229, 0.0360304043, -0.0317351669, -0.0345606618, -0.0044604084, -0.0367538221, -0.0303517021, -0.0012518885, 0.0110949194, -0.0455423743, 0.0067587616, 0.054145433, -0.0265584681, -0.0075483308, 0.0498711802, -0.0251185149, -0.0387323834, 0.033327762, -0.0289485008, 0.0399432667, 0.0144983754, 0.0091791786, -0.0525151752, 0.0057359072, -0.0303386468, -0.0095229037, -0.019338835, 0.0076134396, 0.0196568966, 0.0001691246, -0.004522854, -0.0503823049, -0.0281902887, 0.0017240436, 0.0115877967, -0.0599469803, 0.0113668982, 0.0337513201, -0.0225944649, -0.005519208, 0.0502764657, 0.0325947516, -0.0374841727, 0.0361089148, 0.0418440327, 0.0234377906, 0.0267637502, -0.0026219201, 0.0191699676, 0.073647581, -0.0349336676, 0.0061132358, -0.0086668571, -0.0474063158, 0.0265277475, 0.0333795995, -0.0550797544, -0.0204904079, 0.0492728651, -0.001456383, -0.040496774, 0.069694154, -0.0522302203, -0.081854485, -0.0402183011, 0.0085502453, -0.0181157142, 0.106081225, -0.0120723555, 0.02935257, -0.0045867357, -0.0187123287, 0.0064160191, -0.0112049375, 0.0137455594, -0.0420519151, -0.0472198464, 0.0000412337, -0.0162756797, 0.0033762504, 0.0274557732, -0.0466787778, 0.0114955474, 0.014014014, -0.0052672531, -0.0414733216, -0.0438841656, 0.0071851197, -0.0014357718, -0.0284410305, 0.0264293216, -0.0184317306, -0.0159021281, 0.0300984904, 0.0144261876, 0.0112161664, 0.0415203944, -0.0227389447, 0.0113394205, -0.0443092994, -0.0384136625, 0.0078256261, 0.0520942956, 0.0020166996, -0.0448144823, -0.0367023498, -0.0163991991, 0.0126001472, 0.0386596806, 0.0039282385, -0.0432848446, -0.0043580821, -0.0474992469, 0.0179597363, 0.085608542, 0.0305788368, 0.0486189201, 0.0610060245, -0.0006980262, 0.0174542405, 0.004119576, -0.0565077886, 0.0205135364, 0.0016577587, -0.0004047688, 0.0201953016, 0.0764439777, -0.0117500685, -0.0392384417, -0.0588275418, -0.0445974879, -0.0094561884, -0.0429521166, 0.0090964502, -0.014748686, -0.0348761044, 0.0152393952, -0.0009410301, -0.0125012295, 0.0705010891, 0.0037925737, 0.0158500168, 0.0365690701, -0.0181132667, 0.0015161994, 0.0275198724, 0.0458465554, -0.0127845202, 0.0139671378, -0.045112595, -0.020039022, -0.006709347, 0.0047390088, -0.0182133205, 0.1030366123, -0.0219736397, 0.0107212113, 0.005145357, -0.0101622632, -0.0639743209, -0.030649215, 0.0193872936, -0.021231832, -0.0415306911, 0.004303141, -0.0631954819, 0.0288851298, 0.0387631729, 0.0328398086, -0.0023414118, 0.0213830918, 0.0114972042, 0.0894184411, 0.0496885031, 0.037440151, 0.0193348341, -0.0162107348, 0.0213622265, 0.0590926595, 0.0303263888, 0.0081552882, 0.0158391707, 0.0023596771, 0.0107853962, -0.0078069866, -0.0482816771, 0.0346958153, 0.0008823102, -0.0626633912, -0.0664252117, 0.0610121116, -0.0116627822, -0.0590604581, 0.0008092996, 0.0052857818, -0.0049232985, 0.0529177412, 0.0322127342, 0.0060014264, 0.0038240999, -0.0286146086, 0.0483780839, 0.0183676686, -0.047011409, 0.0090364525, -0.0581231751, 0.0643891916, -0.0025369178, -0.0301308259, -0.0866939574, -0.0418093912, 0.0076495241, -0.0482120328, 0.0052459575, -0.0115806283, 0.0097490232, -0.012457991, 0.0443584695, -0.0026377114, -0.0415900424, -0.01046055, -0.0115878712, -0.0067610173, 0.0212749075, -0.0093754046, -0.0361422524, -0.0636282489, -0.0241942704, -0.0592349619, 0.0099298181, 0.0384715237, 0.0533813164, -0.0248873122, -0.0611804835, 0.0205196906, 0.0282113347, -0.0526298918, 0.0214212965, -0.0369820707, 0.0870061368, -0.0221476406, -0.0410448425, -0.0418153405, -0.0234981421, -0.0298679192, 0.0426616184, 0.033550445, -0.0332600735, -0.031619139, 0.0184408408, 0.0625683069, -0.0052839452, -0.0477061309, 0.0134787746, 0.0262314696, -0.0858241916, -0.0548431799, -0.0385286063, 0.0105361789, -0.0066076806, 0.0008935828, -0.0360456854, 0.0119197126, -0.0046524112, -0.0744877309, 0.0451035164, -0.0064411522, -0.0235281736, -0.0472863093, 0.0312433075, 0.0449576788, -0.0283571053, -0.0035541898, 0.0265761092, -0.0648939684, -0.0687038302, 0.0625813305, 0.0520733036, -0.0039773295, 0.0088769151, -0.0054118726, -0.077038534, 0.0248874258, 0.0532202683, -0.0189585816, 0.0253751017, 0.0131096672, -0.0875600427, -0.0304910019, 0.0304233357, -0.0336551107, 0.0598183423, 0.0084686484, 0.0028425273, 0.0015901054, -0.0707127824, 0.0186908133, 0.010862153, 0.0908079296, 0.0097084465, 0.056862615, -0.0301892385, 0.003969925, 0.0323498733, -0.0115043726, -0.0328410119, 0.0091001876, 0.0131815989, 0.0263654776, -0.0147684384, 0.0120792668, -0.0462664105, 0.0239429493, -0.0369215906, -0.0068613822, -0.0199463516, -0.0194647983, -0.0033200406, 0.0432530567, 0.0149805984, 0.0090273395, 0.0038968211, 0.0253767408, -0.011079384, 0.0094891693, -0.0068026329, 0.0677691251, -0.0380334109, -0.0038754966, -0.0877129585, 0.0037876756, -0.0267482344, 0.0093257772, 0.027123807, -0.054055579, 0.0314458087, 0.0088878339, -0.0332929567, -0.0353536271, 0.0082504358, -0.0097524403, 0.0090769213, 0.0374345928, 0.0197563749, 0.0089548277, -0.008841401, 0.0513147414, -0.0260835327, 0.0157596711, -0.0284554809, -0.0391098298, -0.0381688178, -0.0015885874, 0.0087369047, -0.0007732066, -0.0251712576, 0.0109866299, 0.0089123202, -0.0706050694, 0.0139555512, -0.0463436171, -0.0106920209, -0.0158520546, 0.0388623774, 0.0401619487, 0.0218091942, 0.0163194556, 0.0001729328, 0.0217933469, -0.0028115751, -0.0226377565, 0.0320435315, -6.940782802e-33, 0.0191161204, -0.0368377417, -0.0650144592, 0.0523851514, -0.020854963, -0.0054713506, -0.0073863897, 0.0159847084, 0.0006110362, 0.0240600072, -0.017238982, 0.0084718885, 0.0008222726, 0.0420200415, 0.0409844257, -0.0373977162, 0.0635242239, -0.0239114538, 0.018346671, 0.0422098488, 0.0217539985, 0.0447568186, 0.0811243951, -0.0633550808, -0.0028014972, 0.0104511101, 0.015819585, -0.0025268872, 0.0080901533, 0.0579863973, -0.0364585333, 0.0436353646, 0.0334018059, -0.0368660837, -0.0023591521, 0.0146926763, -0.0664052293, -0.0252750553, -0.0662072301, 0.0076292823, -0.0372548811, -0.0172679052, 0.0870132372, -0.0027646408, -0.0099878768, -0.0135972863, 0.063446641, 0.0071293102, -0.0361755267, 0.0098527595, -0.0132628959, -0.0029182835, -0.041676715, -0.006032872, 0.0664810315, 0.0293296296, 0.0145851001, 0.0579918288, -0.0566361919, -0.0044240826, -0.023386905, 0.0450097397, 0.0616073534, 0.0323996581, -0.0066824057, 0.0161628705, 0.058063522, -0.0169342086, -0.0167194922, -0.0645515844, -0.0072301123, 0.0173483454, 0.0561333261, 0.0276460536, -0.0047979653, -0.0254465826, -0.0670317486, 0.0081434296, -0.0698642135, 0.0367263965, 0.0176229179, -0.0090685859, 0.0028540364, -0.0040508471, -0.0239501595, -0.0294052456, -0.0536545217, 0.0278838724, 0.0232208073, -0.0060478076, -0.054751832, 0.0641845912, 0.0237804092, -0.0230320711, 0.015147048, 0.0074422439, -0.0019308215, 0.0152016878, 0.0331478119, 0.0088218143, -0.0545723587, 0.0057525379, 0.0092416452, 0.0028869589, -0.0041249152, -0.0389228612, 0.0135287056, 0.0334229507, -0.0418856256, -0.0322507694, -0.0231774636, 0.0411630608, -0.0122639332, 0.0840980336, 0.044691544, -0.0211766958, 0.0006090016, 0.0705650896, 0.023097625, 0.0340728499, -0.0208276417, 0.0108709102, 0.0264761243, 0.0163453873, -0.0086311586, 0.0009760793, -0.0319477133, 0.0447024442, 0.0532289185, -0.1037571877, 0.0046232119, 0.0237252377, 3.122e-7, 0.034736231, 0.0343963467, -0.0011342693, -0.0521577448, 0.0391684249, 0.0670034289, -0.0044423067, 0.0770759806, -0.0270241108, -0.073315464, 0.035966143, 0.0221095216, 0.0018928078, -0.0093304971, -0.0190743301, 0.0256991126, -0.0484427288, 0.0527904034, -0.0096689137, 0.0057178042, 0.0315791331, 0.0915060863, -0.0197152738, -0.0230537131, 0.0201344304, 0.0009766831, 0.055137977, 0.0225775298, 0.0229434893, -0.029449556, 0.0412028618, 0.015758343, -0.0249373149, 0.0285286549, -0.0286648087, 0.0323597565, 0.0360142514, 0.0198461935, -0.0122262202, -0.0744256526, 0.0141626615, 0.0353193022, 0.0241107717, -0.0797767863, 0.0662784502, -0.0813018456, -0.0341418758, -0.0253713187, -0.0201091394, 0.0081758071, 0.039602872, -0.0161528513, 0.0252137613, 0.0269404072, 0.0138141261, -0.0264504142, -0.0189238228, -0.0914743096, 0.0158486515, -0.028185945, -0.0529606938, 0.0532076359, -0.0706726015, -0.0530771464, 0.0678119138, 0.0382362604, -0.0241866317, 2.138340396e-34, 0.0076288385, -0.0209690593, -0.0154335611, -0.040449366, -0.0192061849, -0.0446134694, -0.0175634213, -0.0020865547, 0.0002428826, -0.0629347414, -0.0412107222 ]
http://arxiv.org/abs/2406.13748v1
http://arxiv.org/pdf/2406.13748v1
Every Language Counts: Learn and Unlearn in Multilingual LLMs
2024-06-19T18:01:08
2024-06-19T18:01:08
Taiming Lu, Philipp Koehn
cs.CL
cs.CL, cs.LG
This paper investigates the propagation of harmful information in multilingual large language models (LLMs) and evaluates the efficacy of various unlearning methods. We demonstrate that fake information, regardless of the language it is in, once introduced into these models through training data, can spread across different languages, compromising the integrity and reliability of the generated content. Our findings reveal that standard unlearning techniques, which typically focus on English data, are insufficient in mitigating the spread of harmful content in multilingual contexts and could inadvertently reinforce harmful content across languages. We show that only by addressing harmful responses in both English and the original language of the harmful data can we effectively eliminate generations for all languages. This underscores the critical need for comprehensive unlearning strategies that consider the multilingual nature of modern LLMs to enhance their safety and reliability across diverse linguistic landscapes.
[ 0.0247846544, 0.076518096, -0.0291666891, 0.0731492788, -0.0402085744, 0.0199080184, 0.0227975361, 0.0161384344, 0.0181882288, -0.0068610986, -0.017187776, -0.0447313562, 0.0058023566, 0.0019274158, 0.0316295289, 0.0026293891, 0.0576910228, -0.0388914198, -0.024999002, -0.0431235917, 0.0177388024, 0.0137340641, 0.0619360097, 0.0032189081, -0.0236717556, -0.0337683484, 0.0149350148, -0.0230246279, 0.0199915897, -0.0025779018, 0.0084946714, 0.0101316581, 0.0149399284, 0.0746624693, 0.0000017374, -0.0298206154, -0.019375369, 0.0063402229, -0.0254524443, 0.0326795578, 0.0490890592, -0.01547579, -0.0390912555, 0.0019603651, -0.0210473482, -0.0034765752, 0.0275529083, 0.018938167, 0.0584995039, 0.0612811856, 0.001453922, -0.0268086884, 0.023652371, -0.0136015331, 0.0247998573, -0.0060233469, 0.0694558695, -0.00218329, -0.0619318485, -0.0066320281, -0.0200907215, 0.0462392531, 0.0128232492, -0.0137192309, -0.0326736867, -0.0011279021, 0.0140581792, -0.0457771979, 0.0064426684, 0.0554812849, -0.018052632, -0.0345356055, 0.0119469501, -0.0002219076, -0.0026553608, -0.000498503, -0.0200454723, 0.0588575676, -0.0101287272, 0.0197546165, 0.0274763387, -0.0447796583, 0.0807696208, 0.0247039404, 0.0177729055, 0.0557754226, 0.0174232908, -0.031900797, 0.0105893929, 0.0074337884, 0.0348765329, -0.0438090637, 0.0008818512, -0.0010291942, -0.0043489309, 0.0385254472, -0.014573711, -0.0214499272, 0.0391578712, -0.0968844295, -0.0102165937, -0.0052710567, -0.0321812071, 0.0419488139, -0.0001227484, 0.0178979952, -0.0302138552, 0.028379973, -0.0148711801, -0.0132820774, 0.0215603337, -0.0072401711, 0.0492689162, 0.0265479088, 0.0238196589, 0.0512931123, -0.035633944, 0.0169697292, -0.0474209785, 0.0252858978, -0.0362908691, -0.0237102322, -0.0271074586, -0.0050972174, -0.0164539963, 0.0527583361, -0.0169064626, 0.0042960849, -0.0137255955, -0.0596231408, -0.0000446084, 0.0265007541, -0.0458090901, -0.0100525226, 0.0226487201, 0.0662922934, 0.0022038664, 0.0067005842, -0.0714449584, -0.0434490815, -0.0313052498, -0.0788623616, 0.0272634793, -0.0698279738, 0.011484785, -0.0302563235, -0.0095386235, -0.0739898756, 0.0104538566, 0.0011231489, -0.0890606344, 0.0166250244, -0.0221740399, 0.0072854669, 0.0310797859, 0.027126519, -0.0074316398, 0.0812075958, -0.0052631446, 0.0385017656, 0.0570835434, -0.0244993679, 0.0097501138, 0.0737867802, 0.0339850672, 0.0610106625, -0.014886735, -0.0051410045, 0.044131007, -0.0220127366, 0.0268869568, 0.0408562757, -0.0217771027, -0.0204658099, 0.0755134225, -0.0284197759, -0.0714782774, 0.0410553031, 0.0223516747, -0.0211006589, -0.0148078697, 0.0603998601, -0.0443256833, -0.0205825139, -0.0324602127, -0.015020757, -0.0066948431, 0.072080113, -0.0150115388, -0.0103831831, 0.0076561645, -0.0240118019, 0.0340891145, 0.0258810725, 0.0237794667, 0.0529967956, 0.0053220834, 0.0458446629, 0.0853372142, -0.0547052808, 0.0475844704, -0.0259039719, 0.0365066268, 0.0445508622, 0.0471344888, 0.0077312961, -0.0040476918, -0.0456201211, 0.0279844664, 0.0326697566, 0.026488876, -0.0306792818, 0.0160255004, -0.0363149643, -0.0316699371, 0.0129981935, -0.0001950805, 0.0231028646, 0.0188897774, 0.00908898, 0.0019905737, -0.0044776849, -0.0673873499, 0.0159997959, -0.0747518763, -0.0110857161, -0.0115084304, 0.0139151104, 0.0173995644, 0.0172956977, -0.0290860273, -0.037097238, 0.0419683568, 0.0125750341, -0.0094989985, 0.011369626, -0.0389250331, 0.0171025302, 0.0516743287, -0.040018864, -0.0324205048, 0.0141632678, -0.0157309826, 0.0243636053, 0.0228283685, -0.0180704873, 0.0269173384, -0.0226648953, 0.0288904514, -0.0601696149, 0.005594512, 0.012125724, 0.0655385852, -0.0231650174, 0.0098206941, 0.0270793606, -0.0480532609, 0.0029800048, -0.0061405841, -0.0338873677, 0.0248565078, 0.0035872599, 0.0108726965, 0.0413282216, 0.0077692177, -0.0163837932, -0.0042926855, -0.0223071203, -0.0131540215, -0.0163875129, 0.0131499926, 0.0346263871, -0.0060202125, -0.0130026946, 0.0030325069, -0.0459802076, 0.0108942417, 0.0156662539, 0.0500782281, -0.0195825957, -0.0276708882, -0.000846673, 0.0019002166, 0.0231024977, 0.0011569327, 0.0678590834, 0.0018968933, -0.0323962159, -0.0390637815, 0.0347632803, -0.0799511299, 0.0187884066, -0.0212431327, -0.0386431031, -0.0080418754, 0.0169071387, 0.0178246107, 0.03287521, -0.0053719166, 0.0286158472, 0.0792618468, -0.0100377072, -0.0437557399, -0.0284747053, -0.0354604721, -0.0250581577, -0.0314808413, -0.065194957, -0.0238516722, 0.034277834, 0.0300258119, -0.019094076, -0.0222792495, 0.0330231525, -0.0649107695, -0.0665040612, -0.0147314798, -0.0583861619, -0.0273228213, 0.0036978568, -0.025372183, -0.0676701739, 0.0567133576, 0.0065436261, 0.0401383825, -0.0223954786, -0.0005180339, 0.0100779133, 0.0161828194, -0.0126845129, 0.0611424819, 0.025242798, -0.0115532158, -0.0471422225, 0.0010202888, 0.0637557134, -0.0230626892, 0.0136454199, -0.047929354, -0.0099639324, 0.0170934275, -0.0553863682, -0.0517492183, -0.0428952426, 0.0173942875, -0.0367191657, 0.0137655921, -0.0088216178, -0.0308696721, -0.067150481, 0.0879242346, -0.0320066027, -0.011624543, 0.018403139, 0.0008123039, 0.0166977253, 0.0528125875, -0.0466573164, 0.0482256413, -0.0574424118, 0.0055514155, 0.0733144879, -0.0279366914, -0.0160204023, 0.0358669981, 0.0086969445, 0.0265242849, 0.0293174479, -0.0162292365, 0.0121476315, 0.0284019187, -0.0409551114, -0.0067877932, 0.0610918365, 0.0025068303, -0.0249172337, -0.0049285656, -0.0155328512, 0.0054591103, 0.0166394487, -0.0150643848, -0.1040632501, 0.0201184563, 0.0124239149, -0.0043590055, -0.0258090738, -0.0374015048, 0.0034061263, -0.1099466905, 0.0106997686, 0.0481890589, -0.0587545522, -0.0292945802, -0.0407862104, -0.0430843532, 0.0069933478, 0.0393835679, -0.0222168807, 0.0078675039, -0.0412315987, 0.0006895412, -0.0136472825, -0.0525099151, -0.0043903911, -0.0349943526, 0.0423460193, 0.0425862335, 0.0284133591, -0.0364050195, -0.0368643031, 0.0450385101, 0.0119319567, -0.0380851068, -0.0081313811, 0.040202789, 0.0203421619, -0.0181526523, -0.0137628298, 0.0144679928, 0.0297209229, -0.012214168, 0.0116675096, 0.1061333045, 0.0184958819, -0.0643968955, -0.0020156545, -0.0154449437, 0.0211524628, 0.0803751051, -0.009780094, -0.034948945, 0.0179707333, -0.0569385961, 0.0009855765, 0.0235549696, -0.0434383564, 0.0473475978, -0.0390547141, -0.0591647886, -0.0615307316, -0.0272234641, -0.0093486644, -0.0233638603, 0.0705633312, 0.0066046207, -0.0086401971, -0.032114055, 0.010019565, -0.0211759135, -0.0668457299, -0.0014260107, -0.0302736424, 0.0108525977, -0.0022366298, -0.0289257653, 0.0189997219, 0.0262778308, -0.0779099539, -0.1082609221, 0.0258319434, 0.0659250319, 0.0207383819, 0.0645290092, 0.0212329924, -0.0553560741, 0.0845970735, 0.0212268699, -0.0233800691, 0.0104158893, 0.0212148353, -0.0169491172, 0.0230399352, 0.0498538353, -0.0485658906, -0.0085090157, 0.0611849278, -0.0264039133, -0.056407921, 0.0062468527, 0.0131694553, 0.0383153558, 0.0101591321, -0.0518994778, -0.0171229299, -0.0452891998, -0.0042754966, -0.0343968607, -0.0332386643, 0.0166458338, 0.0184679683, 0.0414664857, 0.0244376846, 0.0317326188, 0.0310151633, 0.0134620834, 0.0121715879, -0.0287406016, -0.0026351307, 0.0255282763, 0.0287035666, 0.0572778918, 0.0335317142, -0.0080247587, 0.0383321531, 0.0059298775, 0.035593126, 0.0093267299, 0.0320626013, 0.0039009084, -0.0267289672, 0.0490396544, -0.0268471409, -0.0135200787, -0.0475667939, -0.0277154651, 0.002593061, 0.0627684146, 0.0055152345, 0.0575369373, 0.0017331612, -0.0240100697, -0.0232062489, -0.0099185174, -0.0091654658, -0.0714917704, -0.0005308961, -0.0147054736, -0.0511479117, 0.0557897314, 0.07819096, -0.0179168005, 0.0743725151, 0.003106345, -0.0210929513, -0.020620279, -0.0185452979, 0.0157930758, -0.0097455932, -0.0334510393, -0.0142679289, -0.0483984351, -0.0795967057, -0.0114879189, 0.0000915249, 0.0071604718, -0.0000157389, -0.0049766931, 0.065222092, 0.0010774687, 0.0056358012, -0.0562955961, 0.0252121408, 0.010535039, -0.022971848, 0.0144993225, -5.976080302e-33, 0.0411746018, -0.0204430558, -0.0093431585, 0.0197415613, 0.0038740602, 0.0011958581, -0.0078286482, -0.0030902312, -0.0379276872, 0.0394424833, 0.0215335842, -0.008495667, -0.0021054475, -0.0007226667, -0.0163280591, -0.0275938064, 0.0474590324, -0.007999015, -0.0177035667, 0.0444276296, 0.0642064512, 0.0139271934, 0.0939118266, -0.0753216147, 0.0674813911, -0.0195001643, -0.0275984164, 0.0329190493, -0.0233298708, 0.0250075422, -0.0152154444, 0.0414146371, 0.0056848577, -0.0262346026, -0.0153241446, 0.0106683783, -0.0085480362, -0.0153981689, 0.0412248857, 0.0146453511, 0.0036015988, -0.0655144155, 0.0625602677, -0.0254854802, -0.0339769498, 0.0031488519, 0.0216275547, -0.0039329152, -0.0100794882, -0.0166056436, -0.0580502301, -0.005335364, 0.00095338, 0.0194408409, -0.0028470394, 0.0518033803, 0.0186908282, -0.0055934796, -0.1005266681, 0.0488432944, 0.0159429777, 0.0044447309, 0.0705510899, -0.0425054021, 0.0162020177, 0.0891921297, 0.0342203006, 0.0458601676, 0.0030816752, -0.0117260935, 0.0256078579, 0.000300304, 0.0442748703, 0.1008076891, -0.0146651203, -0.0588075221, -0.0995257571, 0.0121863149, 0.0160835572, 0.0296128858, -0.0121084927, -0.0121037727, -0.0130873574, -0.0227003675, -0.0291238483, -0.0204493701, -0.0191128105, -0.0231989697, 0.0040026531, -0.0192206614, -0.0280739255, -0.0025328018, 0.0241787024, -0.0528301559, -0.0383613333, 0.0344012864, -0.0039667701, -0.0255230144, 0.0354830883, 0.0373762548, -0.0582164787, 0.0092188288, -0.0361729115, -0.0508990437, 0.0250742547, 0.0324327871, 0.0654169396, 0.0364642628, -0.0581641607, 0.0253393967, -0.0429072864, 0.037303593, 0.0604694933, -0.0084729139, 0.0350244828, -0.0060353004, 0.0053354022, -0.011900085, 0.1147512496, 0.0309130047, -0.0356452502, 0.0167035516, -0.0112796901, 0.0302175116, -0.0194678474, -0.0206668843, -0.0265044551, 0.0537142456, 0.0620270371, -0.0876124501, -0.0117164347, -0.0181280728, 2.517e-7, -0.0151034072, 0.0488855802, -0.0041214726, 0.0110849533, 0.03667989, 0.0511592291, -0.0274887364, 0.0236856062, 0.0017297604, -0.0342967808, -0.022098152, -0.0044627208, 0.046284914, 0.066956684, -0.082675077, 0.0245535411, -0.0689816698, -0.017398132, -0.0574904568, -0.0303616207, -0.0273760725, 0.078679949, 0.0288516656, -0.0318496898, -0.0094252266, -0.0198721364, 0.0492893457, -0.0374721549, -0.0431656428, 0.0003059288, 0.0098540038, 0.0081638759, -0.0021693476, 0.0012383545, -0.0302806366, -0.0181529969, -0.0258178096, 0.0137212118, 0.0229948964, -0.0167382378, -0.0142285293, -0.048659876, -0.0129611064, -0.068428576, 0.0631993786, 0.0243141018, -0.0239211712, -0.0367318057, -0.0145410914, -0.0125035755, 0.0513824038, -0.0351254605, -0.0358102955, 0.0139180068, 0.0090345284, 0.0365071446, -0.0014252824, -0.0092137968, -0.0135351922, -0.0192415286, -0.040705584, -0.0777916387, 0.012392425, 0.0069623985, -0.0414327383, -0.0598465316, 0.0590090305, 2.044078147e-34, 0.0081126355, -0.0490728393, 0.0181786641, -0.023993196, 0.0202007536, -0.0153802354, -0.0074692084, -0.0071756435, -0.0043997425, 0.0057173907, -0.0026778404 ]
http://arxiv.org/abs/2406.13743v2
http://arxiv.org/pdf/2406.13743v2
GenAI-Bench: Evaluating and Improving Compositional Text-to-Visual Generation
2024-06-19T18:00:07
2024-06-21T19:09:36
Baiqi Li, Zhiqiu Lin, Deepak Pathak, Jiayao Li, Yixin Fei, Kewen Wu, Tiffany Ling, Xide Xia, Pengchuan Zhang, Graham Neubig, Deva Ramanan
cs.CV
cs.CV, cs.AI, cs.CL, cs.LG, cs.MM
While text-to-visual models now produce photo-realistic images and videos, they struggle with compositional text prompts involving attributes, relationships, and higher-order reasoning such as logic and comparison. In this work, we conduct an extensive human study on GenAI-Bench to evaluate the performance of leading image and video generation models in various aspects of compositional text-to-visual generation. We also compare automated evaluation metrics against our collected human ratings and find that VQAScore -- a metric measuring the likelihood that a VQA model views an image as accurately depicting the prompt -- significantly outperforms previous metrics such as CLIPScore. In addition, VQAScore can improve generation in a black-box manner (without finetuning) via simply ranking a few (3 to 9) candidate images. Ranking by VQAScore is 2x to 3x more effective than other scoring methods like PickScore, HPSv2, and ImageReward at improving human alignment ratings for DALL-E 3 and Stable Diffusion, especially on compositional prompts that require advanced visio-linguistic reasoning. We will release a new GenAI-Rank benchmark with over 40,000 human ratings to evaluate scoring metrics on ranking images generated from the same prompt. Lastly, we discuss promising areas for improvement in VQAScore, such as addressing fine-grained visual details. We will release all human ratings (over 80,000) to facilitate scientific benchmarking of both generative models and automated metrics.
[ 0.0129101686, 0.0494224802, 0.0155718252, 0.0026976326, -0.0130474092, 0.0121709583, 0.0216040332, -0.0041755652, -0.0081387172, -0.021949077, -0.0169845521, -0.058358252, 0.0477924831, 0.0600315481, 0.0436098054, -0.0893609375, -0.0181202684, -0.0149077121, 0.0097665833, 0.0177745651, 0.0033541403, 0.0158149879, -0.0113182059, 0.0392884426, -0.0405015945, -0.0310741346, -0.0163068604, 0.030471107, 0.0615435168, -0.0344116129, -0.0369053744, 0.0578432865, -0.0065470254, -0.0167424213, 0.0000020493, -0.0210718308, 0.0456990413, 0.005910344, 0.0301960912, -0.0052023153, 0.0352798514, 0.0037011511, -0.0079509718, -0.0056227301, -0.0336170346, 0.0337160714, 0.0660265088, 0.0282758605, 0.082187742, 0.0398769714, -0.0271541625, -0.0238941144, -0.0086171357, -0.0407502651, 0.0387417264, 0.0009014386, -0.0184131227, 0.017709801, 0.0145382211, 0.0109076789, -0.0204014443, 0.0314592719, 0.0390616134, -0.031080693, 0.023139691, 0.066993624, -0.0005976142, -0.0282582827, -0.0052378913, 0.0860257894, -0.0035056921, 0.0025534015, -0.0327132493, -0.0209362768, 0.0193903558, -0.0230266117, -0.0274979901, 0.0300203431, -0.0122000277, 0.0055778283, -0.0458265841, 0.0518057868, 0.0019040931, -0.0200836379, 0.0415243022, -0.0237128511, 0.0399953835, 0.005856399, 0.0002589024, 0.0323826, 0.0043756096, -0.0750356764, 0.0287465863, 0.0225509405, -0.017717205, -0.0070091947, -0.0633726716, -0.0126789957, -0.011552332, -0.0194984861, 0.0689946562, 0.0409864895, -0.02383532, 0.0268357508, -0.0368125476, 0.0801554248, 0.0148660131, 0.0246153735, -0.0615684651, 0.0282274615, -0.0196741931, -0.0194777809, -0.0077553801, -0.0263475627, -0.0353911333, -0.0578150898, -0.054783497, -0.0088618193, -0.0264734831, 0.0218813419, 0.0249174703, 0.0537948422, -0.0486715175, 0.0079361405, -0.0648188815, 0.00635267, -0.0419241004, 0.0112987645, 0.0515017249, -0.0148823196, -0.0150166973, 0.0119882328, 0.0074336031, -0.0181940403, -0.0276936013, 0.0429546908, -0.0752776414, 0.0000321334, 0.0183840897, -0.0098668477, -0.0302705765, -0.0555418395, 0.0144001273, -0.0459051244, 0.0459202677, -0.0220872238, -0.0020667044, -0.0401064754, 0.0027605963, 0.0432954766, 0.0178348925, 0.0544903353, 0.0264070667, 0.0004649221, 0.0062726848, 0.0129140196, -0.0164147802, 0.023441961, 0.0248344336, 0.0788910985, -0.0207541548, 0.0278859455, 0.0062345597, 0.0065957145, 0.0088485014, -0.0128330803, -0.0383785591, -0.0035011843, -0.0105056465, 0.063249141, 0.054214865, 0.0631404817, -0.0124963252, -0.0044913879, 0.0926808044, 0.0088659422, 0.0296490118, -0.0123509662, 0.0710061863, 0.0081914579, -0.0077703842, 0.0224224851, -0.0131691927, 0.0990249887, 0.0205981359, 0.0471802503, 0.0363947041, 0.0546297692, -0.0302164368, -0.0508710742, 0.0091872411, 0.0035378884, -0.0166945215, -0.0403633788, -0.0083585894, 0.0496627502, -0.0659901947, -0.0125347106, -0.0223919619, -0.0541889742, 0.0285139382, -0.0293540452, 0.0412922204, 0.1014486402, 0.0330354497, 0.0520707704, -0.0107439337, 0.0185945686, 0.0172590688, 0.070265241, 0.0025712114, -0.0026976408, 0.0095823789, -0.0516477972, -0.0255519915, -0.0483938567, -0.0077352943, 0.0191702172, -0.0052471696, 0.0242018793, 0.0252044071, -0.029536549, -0.0217919964, 0.0518353023, 0.0265494343, -0.0029840129, -0.0118048675, 0.0444035158, -0.0158028565, -0.0229687933, -0.0152697116, 0.0366577357, -0.0244808663, -0.0189095959, 0.0087401783, 0.0246830583, -0.0537025705, -0.0479800738, 0.0004832087, -0.0790608749, -0.0187842604, -0.0148410983, -0.0233703591, -0.0401436016, -0.0295883734, -0.0336146168, -0.052825287, -0.0482258946, -0.0073261787, 0.0565776564, 0.0013322651, 0.0078068045, 0.087714985, -0.0109127741, -0.0201447979, 0.0311469231, 0.036736697, -0.0113539807, -0.0505447462, 0.0051846527, -0.0250188913, -0.0026385603, 0.010413832, 0.0046521858, 0.0455088317, -0.0502666272, -0.0326275826, -0.0587903298, -0.0158493537, 0.0094466275, -0.0158807002, 0.0033383225, -0.0169027615, 0.0007248691, 0.0078979749, -0.0682605952, 0.0187883507, -0.0007457805, -0.0042577414, 0.0599580556, -0.0019604638, 0.0469843, -0.0414468162, 0.0034210966, 0.0196814239, 0.0554150827, 0.0399905145, 0.0205657966, -0.0344273858, 0.0265314933, -0.0447060242, -0.0242106654, 0.0194386132, -0.0377959535, 0.0367673561, 0.0170983505, 0.0656146184, 0.0910320431, 0.0366721675, 0.0051079332, 0.023047071, 0.0009526106, -0.0346958861, 0.0041063419, -0.0058781328, 0.0017512668, 0.0398447961, -0.0475522541, -0.00112327, 0.0077534569, -0.0036374298, 0.0330204293, -0.0962895527, 0.0612104647, 0.0023567104, -0.0492451787, -0.0372833423, 0.0120200189, -0.011754835, 0.0362356007, -0.0631608516, -0.0412385985, 0.07113868, -0.0482229553, -0.0010845057, 0.0087754074, 0.041310478, -0.0020606366, 0.0536641069, 0.0233896561, 0.0473360941, 0.0103514977, 0.012172278, -0.0746061653, 0.0162538998, 0.0254255217, -0.0069171116, 0.0021206639, -0.0422493406, 0.0000113326, -0.0269037504, -0.0329533741, -0.0340038911, 0.0279335938, 0.0065910709, -0.0003768236, -0.0157501977, -0.0056002405, 0.0043056291, 0.0265683401, 0.0023324466, 0.0056353882, -0.0356352627, -0.0312320348, -0.0129001094, 0.0591867752, 0.0571518727, -0.0172547642, -0.0191727504, -0.0537157468, 0.0224650521, 0.0464254357, -0.0085856458, 0.0014851905, -0.0343829691, 0.0177847408, -0.0132938037, 0.0363016315, 0.0174423195, 0.0537430011, 0.0649759471, -0.046520222, -0.0330793485, 0.0604840592, 0.005823025, -0.003233752, -0.0152609171, 0.0439082831, 0.0551264882, 0.00328209, 0.0231860504, -0.0996433571, -0.0207882598, 0.000910983, 0.0042183725, -0.0015477478, 0.0054787667, -0.0450088978, -0.1116807535, 0.0789991319, 0.0180327203, -0.0218806863, -0.0054187747, 0.0261027236, 0.0044421908, 0.0036345394, -0.009959504, -0.0070226286, 0.0007186633, 0.0354129896, 0.0012066739, 0.0543541647, -0.053759262, 0.0050518173, -0.0370054506, 0.008280118, 0.0684103817, 0.0610859543, 0.0306292437, -0.0835172087, -0.0119669, 0.0163042881, 0.031943474, 0.020247072, 0.0601696372, -0.0022013122, -0.0119147841, -0.0321263783, 0.0394786596, 0.0216853637, -0.0323564634, -0.0173989944, 0.0136854379, -0.0151305478, -0.0342818461, -0.0622320361, 0.0444971547, 0.0082826661, 0.0541823097, 0.0583412573, -0.0536661409, -0.0495013818, -0.0162375476, 0.0359801874, -0.1018088013, -0.0345196985, 0.011368122, 0.0034544878, -0.0450295694, -0.1064466164, -0.0217535421, 0.0275013801, 0.0723198429, -0.0018199586, -0.0432896018, -0.026382355, 0.0036711469, -0.0408230536, 0.0352031775, -0.0004471187, 0.0331230089, -0.0446046703, 0.0102956984, -0.0106865019, -0.0416384153, -0.0298729613, 0.0075862161, -0.0448134877, -0.0195282586, -0.0467624851, 0.1148810908, 0.018439129, 0.0024859766, 0.0128865419, -0.0312579162, 0.0293850247, 0.0540391169, 0.0341480039, 0.0034868191, -0.0406878404, -0.0127404332, -0.0067212302, 0.0003445379, -0.0249790568, 0.0077456478, 0.0048962357, 0.0391828753, 0.0391396806, -0.030613644, 0.0318583101, -0.0142689198, -0.0233679712, -0.0607071109, 0.0171235539, -0.0424897298, -0.016864283, -0.0293799136, -0.022726357, -0.0753299743, -0.0000625057, 0.0345203057, 0.0349597782, 0.0031348958, -0.0183149986, 0.0054187714, 0.0414235443, -0.0591852367, -0.0469517596, 0.0225403234, 0.020585252, 0.0147854192, 0.0020531812, -0.0156994332, 0.0209715869, -0.0489686206, 0.0506396331, -0.0023676064, 0.0579006672, 0.0315967314, -0.0156624485, 0.0130357128, 0.0588920787, -0.0078415321, -0.0284220707, -0.0656380728, 0.0200893637, 0.0541497581, 0.0077520218, 0.0210780874, 0.0019969821, -0.0133188721, 0.0093515115, 0.0284396093, 0.0095217424, -0.0576834157, 0.0277037788, -0.0049337931, 0.0219844505, -0.0387729965, 0.0597409382, -0.0277133062, 0.0019808847, -0.0308435913, -0.0006759587, -0.0239235256, -0.0301358774, -0.0110337315, -0.0136144739, 0.0139982319, -0.0112194195, -0.0559282489, -0.0589376129, -0.0076198811, 0.0618101507, -0.0007113499, 0.0241200794, 0.0621580742, 0.0217484366, -0.0160013735, -0.0168374628, 0.0085368427, -0.0213661604, -0.052571293, -0.0014397489, -0.0349454768, -5.891265813e-33, -0.0739829764, -0.0476661138, 0.0179336369, -0.0183659699, -0.0282688458, -0.0068284543, -0.063189283, 0.0011924038, 0.0154057145, 0.0351950601, 0.0217762496, -0.0307883415, 0.0080703348, 0.0322658978, -0.0125051849, 0.0142795714, 0.0467226394, -0.0011780532, -0.0667182654, 0.0386888683, 0.0172183104, -0.0074134492, -0.0080435583, -0.0388502218, -0.0203766748, 0.0157585498, -0.0611493327, -0.0043589193, -0.0078752162, 0.0388796814, 0.0007244159, -0.015072396, 0.0070331334, -0.0113225868, -0.020972034, 0.0309426952, -0.0329692997, -0.009941644, -0.0009857411, -0.0160231125, -0.0879056677, -0.0324445143, 0.020411294, -0.0277526844, -0.0241545644, -0.0546455234, 0.0539358594, -0.031088233, 0.0176733062, -0.0702902675, -0.068055667, -0.0236568935, -0.0414451584, -0.0639802814, -0.0057760533, 0.049429033, 0.011315383, 0.0257241037, -0.0561594479, 0.0388274044, 0.0028708652, 0.014753799, 0.0791451484, 0.0243788455, -0.0214042775, 0.0566154495, 0.0214558206, -0.025255831, -0.0362552479, -0.0043791006, -0.0097922618, 0.0648036078, 0.0446794741, 0.0485066772, 0.0029351434, -0.0070668817, -0.0188674908, 0.0804842189, -0.0627987757, 0.023926245, 0.0208549406, 0.0038375165, -0.008573235, 0.0054922793, -0.0337865278, -0.0413072668, -0.0455477424, -0.0358371697, 0.0457078964, -0.0009023839, -0.0051403227, -0.023762919, 0.0320761018, 0.0234167166, 0.0215335339, -0.0107063372, -0.0602018833, 0.0563767999, -0.0190257356, 0.0019119815, -0.0323275775, -0.0095274057, 0.0770452917, 0.0628850162, 0.01798236, 0.0304534771, 0.0209696125, 0.0012561859, -0.031510856, 0.0084950561, -0.0489793494, 0.0234821793, 0.0047760336, 0.0161483902, 0.0141263725, -0.0028028269, -0.0629279464, 0.0236977376, -0.0317009725, 0.0192627609, -0.009673534, -0.0183199737, 0.0225098412, 0.0085220225, -0.0437762029, 0.0345410556, -0.0404588431, -0.0166543759, 0.0256271102, -0.0377391614, -0.0392126553, 0.0559779368, 2.661e-7, 0.029423371, 0.0099856164, 0.0144123361, 0.0202378165, -0.0162663218, 0.0467172489, -0.0266987011, 0.0217660628, 0.0323599353, -0.0143359741, 0.0145603707, 0.0312925912, 0.0529620349, -0.013889214, -0.042912975, 0.0451273546, -0.0682043284, -0.00323421, -0.0411400311, -0.026513109, 0.0980488509, 0.0201676525, -0.0377077162, -0.0197749883, 0.062343955, -0.0074147433, 0.1007477194, 0.0058230441, -0.0046717692, -0.0078338329, 0.0269539785, -0.0267975423, -0.0322070606, 0.002319912, -0.0188265573, -0.0421136543, 0.0686679259, 0.0323584974, -0.0161906797, -0.0268164948, -0.0115002478, 0.0373957679, 0.0102407234, -0.0749590695, 0.0530106202, -0.0506833531, -0.0162583347, -0.0229500644, -0.0323027074, 0.0307634305, 0.0330025777, -0.0303939879, -0.0311685707, 0.018589627, 0.0363333151, 0.0119706895, -0.0256295502, -0.031118352, -0.0636878684, -0.0243322775, -0.0139961718, -0.0125713889, -0.0723242834, 0.0285859723, 0.0035516419, -0.0202846378, -0.0666976199, 2.166056578e-34, 0.003535378, -0.0069360128, 0.0330331512, -0.0437837839, 0.0461561196, 0.0173405446, -0.0016901206, -0.0066776816, 0.0050763167, -0.0428186022, -0.0483474247 ]
http://arxiv.org/abs/2406.13720v1
http://arxiv.org/pdf/2406.13720v1
On the Utility of Domain-Adjacent Fine-Tuned Model Ensembles for Few-shot Problems
2024-06-19T17:24:36
2024-06-19T17:24:36
Md Ibrahim Ibne Alam, Parikshit Ram, Soham Dan, Horst Samulowitz, Koushik Kar
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) have been observed to perform well on a wide range of downstream tasks when fine-tuned on domain-specific data. However, such data may not be readily available in many applications, motivating zero-shot or few-shot approaches using domain-adjacent models. While several fine-tuned models for various tasks are available, finding an appropriate domain-adjacent model for a given task is often not straight forward. In this paper, we study DAFT-E, a framework that utilizes an Ensemble of Domain-Adjacent Fine-Tuned Foundation Models for few-shot problems. We show that for zero-shot problems, this ensembling method provides an accuracy performance close to that of the single best model. With few-shot problems, this performance improves further, at which point DEFT-E can outperform any single domain-adjacent model while requiring much less data for domain-specific fine-tuning.
[ -0.0042723399, 0.0618413389, -0.0051981118, 0.0298733842, -0.0457639098, 0.0224008821, 0.0349856019, -0.0105189383, -0.0572455972, -0.0883847997, -0.0325225666, -0.0743903145, 0.0159791149, 0.0106038805, 0.0251505785, -0.031296324, 0.0231429376, -0.0510900021, -0.0382197946, -0.0216670372, -0.0114458287, 0.0069227433, -0.0112945354, 0.0491902456, 0.0479204357, -0.0051915939, -0.0252847336, 0.0349589065, -0.003805368, 0.0295443591, 0.0234260429, 0.0872729197, 0.034013398, 0.0477306284, 0.0000019904, -0.0192221403, -0.0321255177, 0.0130773783, -0.0351706482, 0.0010760396, 0.0258547738, 0.0059571285, -0.0206116568, 0.0271484088, 0.0001204454, -0.0439828634, 0.0545009933, 0.0169225205, 0.0503033437, 0.0828823, 0.0038357198, -0.0662328303, -0.0028715807, -0.0332513936, -0.0589998513, -0.0414098836, 0.0350494832, -0.0142285759, 0.011943303, -0.0164070185, -0.0401625447, 0.012568702, -0.0117235612, 0.0298476424, 0.0024562671, 0.0016265163, -0.0369019322, -0.0156585015, 0.0129193682, 0.0703563616, -0.0544254407, -0.0003300495, 0.011336985, -0.0185297728, -0.0453985892, 0.0180369467, -0.0355816968, -0.0125137214, 0.0028633329, 0.0132393287, -0.0054378784, 0.0001539715, 0.0302015804, 0.0317665711, -0.02880821, 0.0444833562, 0.0364884734, 0.011918921, -0.0431877561, -0.0054966123, -0.0502519608, -0.0484820195, -0.0252590459, -0.0084344614, -0.0271830503, 0.0170811694, -0.0689118505, -0.02870542, -0.0114985844, 0.0419858657, 0.0733535513, 0.0493523553, 0.0004781961, 0.0451103076, -0.0135170622, 0.0247155856, -0.0136867538, -0.031012034, -0.0470839478, -0.0117138345, -0.066488117, 0.008416527, -0.0479070693, 0.0323366709, -0.0466741584, -0.0386553593, -0.0517754257, -0.0001693826, 0.0266368371, -0.0214088224, 0.0277278423, -0.0217216685, -0.0363976583, -0.0311789904, 0.03196235, 0.0433324203, -0.0281437337, 0.0323838964, 0.022007741, -0.0471322611, -0.0130486926, 0.0021413309, -0.0088980412, -0.0382744707, 0.0101648178, 0.0636888593, 0.0255185757, -0.0506409518, -0.0138771255, 0.0056792093, -0.0304650534, -0.0744467005, -0.0187837817, -0.078471154, 0.0100670578, 0.0207756162, 0.0303779393, -0.081931673, -0.0134174814, -0.0183676109, -0.0298094191, 0.07974457, -0.015469946, 0.039556101, 0.0277200714, -0.0056310808, -0.012143882, 0.1176696792, 0.0009271892, 0.0122668482, 0.0063960506, -0.0131622236, -0.0045944718, 0.0430946723, 0.0070801396, 0.0137619795, -0.0722947791, 0.0175793078, 0.0076307561, -0.0148741389, -0.0049470211, 0.0153592601, -0.0445860997, 0.0211263765, 0.0487397052, 0.0180785488, 0.0683379695, 0.0161405131, 0.0111832144, -0.0128190871, -0.0046687862, -0.0121504273, -0.0447922349, -0.0010706203, -0.0313906111, 0.0105486074, 0.0427680239, 0.0638096482, -0.0382391401, -0.0117379408, -0.0019951288, -0.007864275, -0.0461486615, 0.0039292178, 0.0915565193, -0.0293591339, -0.0495313406, 0.0311599486, 0.0371904634, -0.0093729934, -0.0227482822, -0.0380367115, -0.0402159914, 0.0789701268, 0.0537499636, -0.0147466389, -0.0607922785, -0.0181001723, 0.0525005646, 0.0204528067, 0.0215982608, -0.0012976332, 0.0338900127, -0.0455270186, -0.0600596033, -0.0035351098, 0.0290026721, 0.0120226564, 0.0156697463, 0.0002480687, 0.0206832271, -0.0184372123, 0.0055669709, 0.0206477754, -0.0160067659, 0.0222279467, 0.0251253303, 0.0179226026, 0.0401497036, 0.0101778843, -0.0395319462, 0.0053329975, -0.0084797759, -0.0290265996, -0.0256391633, -0.0519736186, -0.0082729664, -0.0312909633, 0.031845808, 0.0069536795, 0.0270366184, 0.0020998935, -0.0552225485, -0.0656446666, 0.0311556235, -0.023033008, -0.014446673, -0.0228949729, 0.0492347069, -0.0421113595, 0.006701218, -0.0487236418, 0.0391923375, 0.0092206309, 0.0191149712, -0.0205917042, 0.0003953898, 0.0194695462, -0.0153375464, -0.0428163409, -0.0082990369, 0.0023866508, 0.0161513593, 0.018024575, -0.0187610257, -0.013422708, -0.015079855, -0.0579784289, 0.0298989862, -0.0289162602, 0.0148721198, 0.0125896856, 0.0400067903, -0.0135839209, 0.009218201, 0.0124812098, -0.0045834519, 0.0001708421, 0.0190790612, -0.0019256732, 0.0040753735, -0.0821992308, -0.0273636878, -0.0336898156, 0.0141447252, 0.0413469784, -0.0470933802, -0.0355892852, -0.0677177161, 0.0344647989, -0.0069471514, 0.0354107544, -0.0083940765, -0.0356045738, -0.0358905159, -0.004891946, -0.0049751243, 0.0479265302, -0.0153588289, 0.0097646872, 0.0269398317, -0.0153859779, -0.0258048158, -0.0081133759, -0.0282352865, 0.0138290953, -0.0131426137, 0.0350720324, -0.0352182686, 0.0799196437, -0.0241541956, -0.0114890104, -0.0524599515, 0.0376992524, -0.0145405168, 0.0161769092, -0.0266996697, -0.0079995552, 0.0254385248, 0.0329275578, -0.0136831971, -0.0462121516, 0.0787283182, -0.0281054173, 0.0012067988, -0.0297918357, -0.0057782512, -0.0347978584, 0.0108754802, 0.0061464761, 0.004755727, 0.0581541024, -0.0133707728, -0.0662200302, -0.0215547346, 0.0400361829, -0.0236117523, 0.0650294572, -0.0291009285, 0.0427092351, -0.0278240163, -0.0544048771, -0.0374226272, -0.0412875749, -0.0379926302, 0.0455707721, -0.0218332168, -0.020955503, -0.1012008488, 0.0418874249, -0.0180702098, 0.0372351035, -0.0262519401, 0.0124845449, -0.0149179688, 0.035183955, 0.0773550868, -0.0094813425, 0.0063789906, -0.040446382, 0.0699241683, -0.0130379954, 0.0354610197, 0.0246064141, -0.0520592369, 0.0004561453, 0.0277123768, -0.0111169042, -0.054159224, 0.0112629654, 0.0349544138, -0.0252324864, -0.0155285224, 0.1424971074, 0.0057030609, 0.0046276441, -0.002914571, 0.0248712525, 0.0461778119, 0.0331994109, 0.0262566768, -0.0696249828, -0.0758250132, 0.0233064741, 0.0234533809, 0.0154466778, 0.003863849, 0.0023935176, -0.1279130727, 0.0309927613, 0.0500609241, -0.0124436198, 0.0046977885, -0.0183916353, 0.0304768197, -0.0264211912, 0.0030483927, 0.0194115229, 0.0142758535, -0.0064189597, 0.0403586663, 0.0110162515, -0.1203439012, 0.0204427559, -0.0492192954, 0.0529640578, 0.0643931851, -0.0179235246, 0.0228082556, 0.0342546254, 0.0238661692, -0.034123227, 0.0217129588, -0.0060182838, 0.0416149944, -0.0009354201, -0.0078429021, 0.0486682467, 0.0293608345, -0.0536966771, -0.0113140149, -0.008075051, 0.05800879, -0.0412756465, 0.0072972099, -0.004668165, -0.0514396019, 0.0049937651, 0.0468601696, 0.0265432931, -0.0399667323, -0.0167676341, -0.0008340803, -0.0310643315, -0.0420614183, 0.0063168281, -0.0156818815, -0.0004604058, -0.0302943811, -0.042990569, 0.0213265847, 0.0583028086, 0.0571769029, -0.0073314919, 0.024693504, 0.0023588696, 0.0381704457, -0.0469147936, 0.0017653594, -0.031623479, 0.0464307107, -0.0764350966, -0.0015772007, 0.0703060031, -0.0103860162, -0.0300883222, 0.0013790878, -0.0939444974, -0.0646634549, 0.0179178379, 0.0366489813, 0.0260124952, 0.0117958691, -0.0433491468, -0.0688191056, 0.0329733416, 0.0593037829, -0.0327817723, -0.0010395892, 0.0139602413, -0.0841638446, -0.0169830285, 0.0407085903, -0.0557949282, 0.072317794, 0.0496825129, 0.0329197235, -0.0085539902, -0.0164916813, 0.000645432, 0.0077130501, 0.0950299427, -0.0312561095, -0.0372304358, -0.0042879051, 0.0325434655, -0.0028955203, -0.026530046, -0.0462828763, -0.0133683588, 0.0147764999, -0.0075808098, -0.0074542109, -0.0012320508, -0.0170108881, 0.0327097289, -0.0345541835, 0.0229112711, 0.016715629, 0.0321914628, 0.0493319817, -0.0095184231, 0.0213101469, 0.0238583311, 0.0356143601, 0.0119349752, -0.0394332297, 0.039293725, 0.0057601118, 0.0469184965, -0.0592362061, 0.0378650017, -0.0257408936, -0.0352293886, -0.0618163794, 0.0305439979, 0.0791867152, 0.0057000467, 0.0358997136, 0.0107138278, -0.0031862648, -0.0544223711, 0.0470504016, 0.0288144257, -0.0061306218, 0.0510095581, 0.026546685, -0.0245567188, 0.0172447823, 0.0917169228, 0.0163134318, 0.0469552837, 0.0261760168, 0.0076286537, -0.0231482293, -0.0338484012, -0.0073815337, 0.0062484746, -0.0203178823, 0.0253567509, -0.0559542216, -0.0503299832, 0.0093402369, -0.043963749, 0.0016237238, -0.0043650609, 0.0448201522, 0.0205277782, -0.0144265695, 0.0242570024, -0.0330996625, -0.0235112272, -0.0248862412, -0.0048052147, 0.001745316, -6.008017749e-33, -0.0501014143, 0.0129218223, -0.0036179686, -0.038054619, -0.0195335262, -0.0212771781, -0.0134410337, 0.0204148144, -0.0154316416, -0.0228794031, -0.0095905783, 0.0101019675, 0.0196123701, 0.0330592841, 0.0006331769, -0.0027328818, 0.0575761236, -0.0226018913, -0.0265607052, -0.0013628438, 0.0198134258, 0.0524110384, 0.0105404472, 0.000524934, -0.0626159608, -0.0198959466, -0.0359136239, 0.0140926754, 0.020851884, 0.0601603799, 0.01186598, 0.0157604031, -0.0104544181, -0.057895571, -0.0512268431, -0.0183059201, -0.0369690917, -0.0053348984, 0.0126156891, 0.0117233405, 0.0531593263, 0.0005861631, 0.0397626534, 0.0100623099, -0.0028272416, -0.0127278082, 0.0114696166, -0.0678150579, -0.0116204824, -0.0198914651, -0.0373776592, 0.0347416885, 0.0044417144, -0.05477079, 0.0451435111, 0.0264188144, -0.0037965903, 0.0279922672, -0.0095048826, 0.0120461527, 0.0413410962, 0.0792312175, 0.0827372298, 0.0237065535, -0.0035800722, 0.0495604984, 0.0155693647, -0.0213574227, 0.0132725686, -0.0187942777, 0.0381538309, 0.0624867976, 0.0157833789, 0.0410398319, 0.0405378789, 0.0050855554, -0.0794683248, 0.0156617817, -0.0016355948, 0.0132567594, 0.0475998223, 0.0463305227, -0.0270576477, -0.0393747054, -0.030573722, -0.0141325155, -0.0371824056, -0.0164276194, 0.022654837, 0.0060831774, -0.0498192757, -0.0130446646, 0.0573139563, -0.0580655299, -0.003575224, 0.0238248743, -0.0360183679, 0.0162063409, 0.0058221119, 0.0304996576, -0.0263581555, -0.0772271529, 0.0149102826, 0.0421348661, 0.0030411393, -0.0310933124, 0.019366825, 0.0329124071, -0.0574995093, -0.0193648487, -0.029943794, 0.0039575705, -0.0124163767, 0.0686010495, 0.0274578836, 0.0159464478, -0.0015135903, 0.0374829471, 0.0052677547, -0.069913879, 0.0152049586, 0.0226308089, 0.0222905669, 0.0334768258, -0.0165966172, -0.0043273456, -0.010310079, -0.0513610877, 0.0363617539, -0.0071848775, -0.0244602524, 0.007670464, 2.648e-7, 0.0475429371, 0.0488879681, 0.0070759738, -0.0108493622, 0.0214489326, 0.0429739952, -0.0466557369, -0.0120914001, 0.0136962663, 0.0151896663, 0.025695879, 0.0175877307, 0.0827882439, 0.0108127752, -0.0691162497, 0.049652651, -0.0085744169, 0.0487940013, -0.0337610543, -0.0241348799, -0.0160461087, 0.1184969991, 0.0330112912, -0.0133562237, -0.0205126908, -0.001448369, 0.0551768318, -0.0064137885, 0.0089586386, 0.0276021566, -0.0566771403, 0.0314357169, -0.0293683894, 0.0434070043, -0.005160504, 0.0591825061, 0.0181749631, 0.0649488941, -0.0207202937, 0.0357361361, -0.0009312066, -0.0025626388, -0.0072089289, -0.0244262572, 0.0653841794, -0.0806717277, -0.0345067978, -0.0280816499, -0.0503554456, -0.009311174, 0.0075866953, -0.0082350234, 0.0127569688, 0.0187912975, 0.0220176261, -0.0274355486, -0.0027766069, -0.0688676611, -0.0063406099, 0.0372997858, -0.0583141223, -0.0246718228, -0.0068569733, -0.0275167115, 0.061909683, -0.0419740379, -0.0052826214, 2.690335783e-34, 0.0523286536, -0.0028739495, -0.0082374541, 0.0390928686, -0.009154574, -0.0194552429, -0.0296057407, -0.0005983821, -0.0016722754, -0.0687223896, -0.0058322004 ]
http://arxiv.org/abs/2406.13718v1
http://arxiv.org/pdf/2406.13718v1
Evaluating Large Language Models along Dimensions of Language Variation: A Systematik Invesdigatiom uv Cross-lingual Generalization
2024-06-19T17:20:28
2024-06-19T17:20:28
Niyati Bafna, Kenton Murray, David Yarowsky
cs.CL
cs.CL
While large language models exhibit certain cross-lingual generalization capabilities, they suffer from performance degradation (PD) on unseen closely-related languages (CRLs) and dialects relative to their high-resource language neighbour (HRLN). However, we currently lack a fundamental understanding of what kinds of linguistic distances contribute to PD, and to what extent. Furthermore, studies of cross-lingual generalization are confounded by unknown quantities of CRL language traces in the training data, and by the frequent lack of availability of evaluation data in lower-resource related languages and dialects. To address these issues, we model phonological, morphological, and lexical distance as Bayesian noise processes to synthesize artificial languages that are controllably distant from the HRLN. We analyse PD as a function of underlying noise parameters, offering insights on model robustness to isolated and composed linguistic phenomena, and the impact of task and HRL characteristics on PD. We calculate parameter posteriors on real CRL-HRLN pair data and show that they follow computed trends of artificial languages, demonstrating the viability of our noisers. Our framework offers a cheap solution to estimating task performance on an unseen CRL given HRLN performance using its posteriors, as well as for diagnosing observed PD on a CRL in terms of its linguistic distances from its HRLN, and opens doors to principled methods of mitigating performance degradation.
[ -0.0125239883, 0.0852626711, -0.0218143724, 0.0458856709, -0.0483869053, 0.0234817173, 0.011901076, 0.0004178345, -0.0455355681, 0.0003883468, -0.0490502752, -0.0699490458, 0.0381547846, -0.0168085583, 0.0515912361, -0.0375057347, 0.0322644114, -0.0878414735, -0.0075615533, -0.0351823792, -0.0003245194, -0.0128327087, 0.0142778931, 0.0429852046, 0.001398558, 0.0050154156, -0.0030037123, -0.0098108025, -0.0026610929, 0.0197651628, -0.0133729205, 0.0304545276, -0.0264235958, 0.061384201, 0.00000198, -0.0598605797, 0.0268787574, 0.0122034717, 0.00853315, 0.0326348506, 0.0541214161, -0.0179348961, -0.032173723, 0.0086353347, 0.0194507428, -0.0477641858, 0.0745175183, -0.014551634, -0.0172108319, 0.055946108, -0.0048943348, -0.0009172215, 0.0045432393, -0.0315318592, -0.0053398721, -0.0363059975, -0.0026004547, 0.0020384437, 0.0001397995, -0.043895524, -0.0510040708, 0.0359208249, 0.003838975, 0.0251779351, -0.0342648253, 0.0287728012, 0.0192409009, -0.029948011, 0.0177517477, 0.0236287378, -0.0802354962, -0.0342592411, 0.0099398121, -0.0020808622, -0.016485773, 0.0115691805, -0.0344278254, 0.0213183481, -0.0034202933, 0.0037615099, 0.0435999781, -0.0221014023, 0.0517011173, -0.0132346014, -0.0171710514, 0.0637316778, 0.0597044751, -0.051521223, -0.0097691193, 0.0294396393, 0.0073939539, -0.0523280874, -0.0032215493, -0.0214730725, -0.0506482646, 0.0239805169, -0.0087142931, -0.0478747562, 0.0103175193, -0.0727021471, 0.0664599165, 0.0327021442, -0.0264429059, -0.0080185495, -0.011459507, 0.0510413498, -0.0332462117, -0.0090089943, -0.0326122865, -0.0316681787, -0.0197938159, 0.0261575934, 0.0013572427, -0.0167884231, -0.0356632657, 0.0128515763, -0.0318396278, 0.0052790432, -0.0063007306, -0.011663761, 0.0586826652, -0.0239472706, -0.0612944365, -0.018453164, -0.0015974885, 0.0057632257, -0.0401293114, 0.0002101581, -0.0055574947, -0.0432446413, 0.0106190657, 0.0106257489, -0.0033150881, -0.0299280435, 0.0051888586, 0.0863737017, 0.005565085, -0.0102707529, -0.0223047733, 0.0105970418, -0.049027618, -0.0688322112, -0.0202170499, -0.0607771985, 0.0050255917, -0.0055842549, 0.0011080366, -0.0485114679, -0.0302631594, -0.0216902811, -0.0371500738, 0.0437150523, -0.0001629936, 0.0289895851, 0.0182744619, -0.0285330787, -0.0001249106, 0.0880276114, 0.0445605144, -0.0406814814, 0.0516769961, -0.0309091043, -0.0413670242, 0.067063719, 0.0059961919, 0.0278963763, -0.0298235305, -0.0270373244, 0.0394731127, 0.013747287, 0.0616278164, 0.0509316213, -0.0252429135, -0.0163063947, 0.0646328405, 0.0430149175, 0.0024913256, 0.0128943361, 0.0729340613, 0.007872751, -0.0462847687, 0.0325304493, -0.013335973, -0.0457985625, -0.0100005055, 0.0327785425, 0.0489434451, 0.0658080429, -0.0286583547, -0.0442535952, -0.0084898835, -0.0413607247, 0.0138317198, 0.0302439872, 0.0941672176, 0.0031735448, 0.0006241077, 0.0351789854, 0.0857007876, -0.0408569798, 0.0348801948, -0.0342884548, 0.0257713813, 0.0392313041, -0.0135124475, -0.0081096599, -0.0113681182, 0.0282109678, -0.0251722634, 0.0555534363, 0.0365510583, -0.0073904488, 0.0737104714, -0.0250145365, -0.0095679834, 0.0123052057, 0.027491441, 0.0659820214, -0.0268110596, 0.0015640786, -0.0035932593, -0.0705273449, -0.0279511958, 0.0044375416, -0.0589056201, 0.011233232, 0.0408399887, -0.0088985367, 0.0470995419, 0.011833814, -0.0329926871, 0.0101427268, -0.0086584212, -0.0407284051, 0.020408446, 0.0389048271, -0.0234400705, -0.0179455653, 0.0515006706, 0.0134541597, 0.0212001745, -0.0067237383, 0.0045925584, -0.0637176931, 0.0911361799, -0.0202054996, 0.0426109098, -0.0241228119, 0.0449003652, -0.0228959452, 0.019137647, -0.0190514922, 0.0419464521, -0.0058374829, 0.050708279, 0.008215812, 0.0187798906, 0.0277347416, -0.0463731512, -0.0121666947, 0.0175228398, -0.0151910707, 0.0085180122, 0.0316461213, 0.00096218, 0.0022640941, -0.0132893752, -0.070419997, -0.0127926003, -0.0417576507, 0.0425701067, 0.0221194625, 0.0328000151, -0.0140213612, -0.0111903735, -0.0189738274, -0.0121777942, 0.0308330022, 0.0362119339, -0.0258075204, 0.0135180838, -0.0426229797, -0.0521147475, -0.0368795022, 0.0413236469, 0.0389622264, -0.0067185899, -0.0011526616, -0.0941312015, 0.0227090884, -0.0425670855, 0.0477562435, 0.0057258699, -0.0330749266, 0.0033248221, -0.0283395778, 0.078444548, 0.040200863, -0.0571523085, -0.0291961599, 0.0828701481, -0.0384925306, -0.0501717404, -0.0091984123, -0.0324572884, -0.0091259973, -0.0914933458, -0.0573976375, -0.0380528532, 0.0984045491, 0.0086081186, -0.0331000984, -0.0656760931, -0.0055316119, -0.0430720039, -0.0471247882, 0.003158048, 0.0119063528, -0.0217610318, 0.0765155479, -0.0231731422, -0.0569603555, 0.0488761216, -0.0744235814, 0.0046917093, -0.0457061641, -0.025167942, -0.0033121661, 0.0335604139, 0.0150420861, 0.0185407773, 0.0155187035, -0.0382181667, -0.0517590083, 0.0364642739, 0.0295835789, -0.009066483, 0.0301347319, -0.0567241535, 0.0039182128, 0.0105663817, -0.0377848074, -0.0126860011, 0.0269719269, 0.0022317111, 0.0099856853, 0.0329350829, -0.0513581894, 0.0452243835, 0.0042911442, -0.0011164624, 0.0320599303, -0.0055266619, 0.0225664452, -0.0173846148, 0.0274332855, 0.0423239619, -0.004819856, 0.008856304, -0.036940828, -0.0009895199, -0.0241266061, 0.0642647296, 0.0164503939, -0.0325741991, 0.0057731932, 0.0356909968, 0.014969836, -0.0477712266, 0.0361071751, 0.0593986847, -0.0214531515, -0.0607014, 0.0990844294, -0.0016962874, -0.0321111232, 0.0365528017, -0.0101926764, 0.0770539492, 0.0047312761, 0.0321027003, -0.0046140244, 0.0161402002, 0.0289010964, 0.0110056056, -0.0104891565, -0.0122605264, 0.0055649416, -0.1372419298, 0.0090264017, 0.0017329952, -0.0379960537, -0.0277024116, -0.0547135733, 0.0028751739, -0.0282528494, 0.0532120429, -0.0149286333, 0.0141610317, -0.0076815458, 0.0559543557, -0.0414022505, -0.0999612287, -0.0047421283, -0.0404058285, 0.0522806607, 0.0421652645, -0.0154490909, -0.0075010411, -0.0383473076, 0.0372239873, -0.0097048478, -0.022180127, -0.008276077, 0.0137864351, 0.070062615, -0.0374972858, 0.0363279842, -0.0201020055, -0.0259170253, 0.0335314348, 0.0052809566, 0.0767543539, 0.0083585978, -0.0098279854, 0.044331044, -0.0077451197, 0.0184051134, 0.0397388227, 0.0390952639, -0.0607955791, -0.0310344175, -0.0186482668, -0.0008395803, -0.0208028518, -0.0107705342, 0.0131047228, -0.0285893194, -0.0790621862, -0.0624302514, -0.0501763672, -0.0123459334, 0.0412904471, 0.0267357752, 0.022417143, 0.002557809, 0.0012674996, -0.0162540656, 0.013046396, -0.0088359592, 0.0062990803, -0.0317618512, -0.0095439656, -0.0074178227, -0.0123046562, -0.0251553804, -0.0058912169, -0.1103832051, -0.1004430875, 0.0064730942, 0.0424535163, 0.0208771508, 0.0569669232, -0.0193691086, -0.1070324257, 0.0098384842, -0.0258546975, -0.0142228995, 0.0279253982, 0.0672778338, -0.0343541354, 0.0031493686, 0.0527619123, -0.0475767702, 0.0139993662, 0.0540582649, 0.0364181809, -0.05123524, -0.0131877186, -0.0004869767, -0.0104429312, 0.0455905832, -0.0767676905, -0.0326016769, -0.0427613445, -0.0106568895, -0.0306286365, 0.0155494828, -0.0501502939, -0.0325255059, 0.0475109331, 0.0142117059, 0.0151974801, 0.0291076712, -0.0109618027, -0.0002222274, -0.0212107394, -0.0103103667, 0.0319451243, 0.0603554957, 0.0296733398, 0.0385203511, 0.0104383659, 0.019551985, -0.0024623531, 0.0254251827, -0.0159325693, 0.0118654547, -0.0205570888, 0.0087526133, 0.0066106902, -0.0140728112, -0.0260100793, -0.0512420125, -0.0044175722, 0.030867599, 0.0645069778, -0.013809395, 0.0871641263, -0.0182690173, 0.0121485218, -0.0475225188, 0.0293640178, 0.0022079065, -0.0165407695, 0.0097280778, -0.0003878368, -0.0228433441, 0.0067492826, 0.1086811125, 0.0532528087, 0.0154157123, -0.0241759904, 0.0170184206, -0.0195840336, -0.0408442989, 0.0035617817, 0.0141306948, -0.0366458334, -0.0002206052, -0.0333350785, -0.1097811386, -0.0159113538, 0.0122740977, 0.0260141678, 0.0016548738, 0.02209826, 0.0551475026, -0.0390666947, 0.0299926512, -0.0354267992, -0.0387733877, 0.0292279311, -0.0202235468, 0.0013479617, -6.344953368e-33, -0.0065494133, 0.0126335928, -0.0172376037, -0.0514990725, 0.018810384, 0.0113042342, -0.0408074781, 0.0424750596, -0.0044138739, 0.0132345995, 0.0097067952, -0.0164922569, 0.0185021758, 0.0394557267, 0.0276566874, 0.0103723602, 0.0570133105, -0.0200049393, 0.0297809336, 0.0153541444, 0.0324350372, 0.0376524329, 0.0655054078, -0.0550883114, 0.0436851792, -0.0132793663, -0.0055317199, 0.0124708116, 0.0165133905, 0.0495963618, -0.0412681215, 0.0656403676, -0.0011550986, -0.0188620519, -0.0635041445, -0.0349975824, -0.0479677618, -0.0181420967, 0.0215023812, 0.0160513353, -0.0290858671, -0.0111803627, 0.0274791121, 0.0200642738, -0.0540324338, -0.0097722029, 0.0195756834, -0.0143003026, -0.0148612401, 0.0078189326, -0.061648529, 0.0438106842, -0.0025645213, -0.000583382, 0.0500323027, 0.0159228332, -0.016737625, -0.0111558009, -0.0220396742, 0.0178830922, -0.0039216233, 0.0731501505, 0.0929133892, 0.0528405458, 0.0065199272, 0.0159039665, 0.0858379379, 0.011330626, 0.06946446, -0.0010258564, 0.0587992445, 0.0012327144, 0.0263545532, 0.0484967828, 0.0413599387, 0.0130335046, -0.0739099607, -0.0272190217, 0.0453761593, -0.0125045246, 0.0114653567, 0.0214654077, -0.0453790016, -0.0436905809, -0.0168565679, -0.0548114665, -0.0281196199, -0.0199656766, 0.0407494307, 0.0005428669, 0.013297745, -0.0407127254, 0.0460513458, -0.0145378411, -0.0066713877, -0.0018408429, -0.0093696881, 0.0135873286, 0.006796699, 0.029234102, -0.0423110537, -0.0336257443, -0.0367716774, 0.027641682, -0.0038867237, -0.0136462757, 0.0155779151, 0.0049891793, -0.0481712073, 0.0253687669, -0.0365191288, 0.0166504141, 0.017673431, 0.0641600713, 0.0609262921, -0.0193731971, -0.0096036764, 0.055562526, 0.0523489378, -0.0034533434, 0.0052343043, -0.0138620315, -0.0023989691, 0.0255925376, -0.0207246281, -0.0223520491, -0.0272215866, 0.0026062173, 0.0444470458, -0.0206442066, -0.0229122527, -0.0014204616, 2.773e-7, 0.0281208232, 0.0194476768, 0.0014088413, 0.0262456685, 0.0220398288, 0.0036257091, -0.0208149832, -0.0163816996, 0.008401352, -0.0137496069, -0.0118624112, 0.0024609144, 0.0699525252, 0.0265462957, -0.0491570719, -0.0218291674, -0.0764668956, 0.0314455703, -0.0317655578, 0.008585142, -0.0358403586, 0.0865687728, -0.0097537609, -0.0152006363, -0.0032576197, -0.0432513207, 0.0456813127, -0.0535535775, -0.0393391587, 0.0152028771, -0.0071920473, -0.0199717805, 0.0182205234, 0.002526487, -0.0269020312, 0.0094224988, 0.0181930717, 0.0265566483, -0.0129314801, -0.0111335218, 0.0098252986, 0.0037526563, -0.0251420606, -0.0443945155, 0.0374992341, 0.0259777103, -0.0150889689, -0.0178604163, 0.009662102, 0.0195037257, 0.0169555005, -0.0336805657, -0.0350984745, -0.0059466865, 0.0342904255, -0.023840636, -0.0263353605, -0.031796623, -0.0467649698, 0.0672149435, -0.0494584553, -0.0504139997, 0.0086791711, -0.0097277425, 0.020016944, -0.0129184444, 0.0034174097, 2.684004874e-34, 0.0601645075, 0.0235657189, 0.0397261083, -0.0065041748, -0.0026777983, -0.0335327871, -0.029555425, 0.0171462875, 0.0236353017, -0.0444111712, -0.0248423591 ]
http://arxiv.org/abs/2406.13714v1
http://arxiv.org/pdf/2406.13714v1
BEACON: Balancing Convenience and Nutrition in Meals With Long-Term Group Recommendations and Reasoning on Multimodal Recipes
2024-06-19T17:14:41
2024-06-19T17:14:41
Vansh Nagpal, Siva Likitha Valluru, Kausik Lakkaraju, Biplav Srivastava
cs.AI
cs.AI, cs.CL
A common, yet regular, decision made by people, whether healthy or with any health condition, is to decide what to have in meals like breakfast, lunch, and dinner, consisting of a combination of foods for appetizer, main course, side dishes, desserts, and beverages. However, often this decision is seen as a trade-off between nutritious choices (e.g., low salt and sugar) or convenience (e.g., inexpensive, fast to prepare/obtain, taste better). In this preliminary work, we present a data-driven approach for the novel meal recommendation problem that can explore and balance choices for both considerations while also reasoning about a food's constituents and cooking process. Beyond the problem formulation, our contributions also include a goodness measure, a recipe conversion method from text to the recently introduced multimodal rich recipe representation (R3) format, and learning methods using contextual bandits that show promising results.
[ 0.0084511545, 0.0588083938, 0.0193249099, -0.020693766, -0.0069541917, 0.0070761368, -0.01540998, 0.0287162047, 0.0073865196, -0.0335457548, 0.0008148954, -0.0047807628, -0.0098466128, 0.0376757793, 0.0054826508, -0.0412664041, 0.0165972859, 0.0039418056, -0.0184158105, 0.0224958062, 0.0243107527, -0.0165262427, -0.0040556737, 0.0114944223, -0.02608441, 0.026208641, -0.0072854944, 0.0014267153, 0.0192740057, -0.0756377056, 0.0288664009, 0.0566636808, -0.0149767613, -0.0513307601, 0.0000020247, -0.0075585926, -0.0468238778, 0.0023336832, -0.007035017, 0.0150964297, 0.0595030449, 0.0262229424, 0.0077328179, -0.0056628673, -0.0381578654, 0.0635984316, 0.0280248728, 0.054320626, -0.0094291382, 0.0012707933, 0.0118357036, -0.061219953, -0.0506006517, 0.0114185363, 0.0814222097, 0.0182391759, -0.0092437891, -0.0366285518, 0.0189340934, -0.0413101092, 0.0215774681, -0.0145829245, 0.0165756475, 0.0408728123, 0.013622799, 0.045515094, -0.0025912584, -0.0230004229, -0.0102299824, 0.0600940324, -0.0002232429, 0.0288809314, 0.0042223246, 0.0039649135, -0.0186274759, -0.0188161936, 0.0066188737, -0.0508482978, -0.0253163353, 0.0497550927, -0.0105110593, 0.0127213113, 0.0248123407, -0.0045503336, 0.0478661619, 0.1042185053, -0.0139583759, 0.018062111, 0.0119045721, 0.0181537494, -0.0303153209, -0.033841271, 0.0061281091, -0.0002220623, -0.039225217, -0.0105534717, 0.0148542402, 0.0580088422, 0.004894237, 0.0005551779, 0.0605837591, 0.0222121719, -0.0316482075, 0.0013350032, 0.0280153416, -0.0103592062, -0.0313371345, -0.008356302, -0.0655939877, 0.0495707802, -0.0297389645, 0.0155581022, 0.0098984018, 0.0046017333, -0.0348394252, -0.0377480276, -0.0219767671, 0.039399337, -0.010752379, -0.0214852374, -0.0174440593, 0.0862790123, 0.0202629641, 0.0638386682, -0.1120944694, 0.0119962785, -0.0456016734, 0.0058429739, 0.0085115246, 0.0655791536, 0.0411775745, -0.0007329511, 0.0165054742, -0.0042095557, 0.0450171642, 0.0607520528, -0.0265117306, -0.0312645994, -0.045934312, -0.042685274, -0.0808060989, -0.0448683165, -0.0297989417, -0.0740834028, 0.0319147073, -0.0089009861, 0.0131294997, 0.0119621269, 0.0492539182, 0.0284937229, -0.0038165392, 0.0626400933, 0.1218146607, -0.0324203521, 0.0444819108, 0.0110976892, -0.0273281392, 0.0321150012, 0.0337690897, 0.0758631006, 0.0363698639, 0.006377758, -0.027050253, -0.0026666014, -0.0043435064, 0.0440348871, -0.009179879, 0.0025581175, 0.0176775586, 0.0351346284, -0.0284053776, 0.0428950228, -0.0528176427, 0.000503677, 0.0997855514, 0.0118350973, 0.0358099639, 0.038685143, -0.0039516757, -0.0023860184, -0.0403221622, 0.0070988564, 0.0145487608, 0.0885312185, -0.0879070684, -0.0429125838, 0.0413909666, 0.0188456234, -0.0100992266, -0.0389915965, 0.0319113508, -0.0241824649, 0.0815420747, -0.0023379328, 0.0241370127, -0.0700570568, -0.029014416, -0.0547660254, 0.0122880554, -0.0141471643, -0.0042161159, 0.0210414249, 0.1079059094, 0.0530392565, 0.0347060971, -0.0080238199, 0.0367298871, 0.0004358386, 0.017170867, -0.0797492266, 0.0530039109, -0.0329363868, 0.051879622, -0.015943028, -0.0875792354, -0.0012010901, 0.0020305307, -0.0253344197, 0.0170715954, 0.0072530564, -0.0226980597, 0.0139628649, 0.0164387599, -0.0170006361, 0.02075666, -0.03178012, 0.0737676099, 0.0089796744, -0.0085940445, -0.0030695291, 0.0405917205, 0.0375205018, -0.0298930369, -0.0398947001, -0.0067403018, 0.0383749679, 0.0128907068, -0.0108152786, -0.0172212422, -0.0492617153, 0.0255097654, -0.0173030291, -0.0010301402, -0.0207076259, 0.0128117716, -0.0401708521, -0.038224034, -0.0291376468, -0.0432509929, 0.0561067499, 0.033872027, -0.0247664768, 0.0648104548, -0.003045606, 0.0016390162, -0.0492878482, -0.0108588077, 0.0097421715, -0.0555526465, 0.0445583798, -0.0451182835, 0.0374775678, 0.0410295427, 0.0278057307, 0.0377902575, -0.0521945693, -0.009586555, -0.076847516, 0.0258171596, -0.0066817733, 0.0109482296, -0.0187497716, 0.0040051071, 0.0282204207, -0.0222605001, -0.0447702073, 0.0394724682, -0.0444385149, 0.027500866, -0.0216267649, 0.0351543427, 0.0396773741, -0.0206433497, -0.0048358291, -0.0089280307, 0.0193702597, -0.0201453641, 0.0231641661, -0.0001117182, -0.1366868615, -0.0338767208, -0.0190957729, 0.0136162639, 0.0347143039, -0.0217360351, 0.0096754283, 0.0364465527, 0.0305607487, 0.0524456464, 0.0295458958, 0.0501975529, -0.0111100003, -0.0659541562, 0.0004768244, -0.0551144481, 0.0535155721, 0.0186755266, -0.0765147954, 0.0235018879, -0.0019586992, 0.0072460449, 0.0566461571, -0.0346932523, 0.0190397296, 0.0097258128, -0.0484693088, -0.0702193081, 0.0578067191, -0.01342999, 0.0615290962, 0.0068193204, -0.008055767, 0.0614165589, -0.0003806366, 0.0288293306, -0.0397479013, -0.0407616049, -0.0143614747, -0.0300332848, 0.0042773676, 0.0420980193, 0.0254689474, 0.0408989079, -0.0420894213, 0.009029163, 0.0482445285, -0.0508477949, 0.0479833521, -0.0374671295, -0.0431530364, 0.0165550094, -0.0274930485, -0.0217314437, -0.0369658992, 0.0168007221, -0.0152310375, 0.0241019316, 0.0141241495, -0.0744036064, -0.0097075282, -0.0069707357, 0.0059511159, 0.0087080896, -0.0407318994, 0.0203055236, 0.0491016507, 0.0232678745, -0.0025076617, 0.0063505401, -0.0435348786, 0.0184396543, 0.0562509708, 0.0053800871, -0.0248160977, -0.0074942331, 0.0669647604, 0.0314040184, 0.0117876939, 0.00530355, 0.0432478078, 0.0089625111, 0.0377006084, 0.0019725305, 0.0295348335, 0.0214360226, -0.0971284732, 0.0361481309, 0.0139434198, 0.0001629645, 0.013931754, 0.0396834463, -0.1084842458, -0.0292796567, -0.0150481267, 0.0442657731, -0.06173205, -0.0271493923, -0.0353009775, -0.0143989213, 0.0025789589, -0.0129200714, -0.0592790917, 0.0017750018, -0.0316082202, -0.0221621227, -0.0381384939, 0.0016090026, -0.0136564905, -0.023708852, 0.021018846, 0.0217733141, 0.0188661329, 0.0088347252, 0.0351479687, -0.0659667253, 0.0007045601, 0.0779313147, 0.0213995092, 0.0340671651, -0.0237952955, -0.0224009268, 0.0130837355, 0.0183933564, -0.0116505045, 0.0460343584, -0.0087965792, 0.0138003007, -0.0412396938, 0.0615658313, -0.0075900718, -0.0598044433, 0.0091864001, 0.0422854535, -0.0017255893, -0.0132861184, -0.0451227836, 0.0007687213, 0.07749933, 0.0275658816, -0.0221917722, -0.0111760618, -0.0172689613, -0.0436892882, -0.0519413762, -0.0333564207, 0.0113920914, 0.0755856708, -0.0534495041, -0.0010464995, -0.0526086874, 0.0424555205, -0.017414974, 0.0701934546, -0.052955512, 0.0007201253, -0.0437533595, 0.0142737916, -0.0151172196, -0.0115106283, 0.0340388268, 0.0182303917, -0.0714134723, -0.0122497529, 0.0016716056, -0.0283668544, 0.0016265138, 0.0333945826, -0.0890155062, -0.0298804063, -0.056929145, 0.0817718059, 0.0151991853, 0.0433731601, 0.003534415, -0.0296527445, 0.0245094933, 0.02810679, 0.0189237706, 0.0000949033, -0.0110959737, 0.0036539, 0.0040032812, -0.0258359555, -0.0313673727, 0.0181583986, -0.0466890633, -0.006301702, -0.0028785511, -0.0029473957, 0.0258408301, -0.0527355224, -0.0287534986, -0.0215173103, 0.0026072152, -0.0024122791, -0.006703415, -0.0026387009, -0.031676963, -0.0324354954, -0.0327180438, 0.0184390768, 0.0136484765, -0.0047976659, -0.0296892375, 0.0093562482, 0.0245359577, -0.0613051951, 0.012293838, 0.0359859541, -0.0208996311, 0.0016745365, 0.0201459657, 0.0163787585, 0.0282322802, -0.0280236397, 0.0029771393, -0.030267654, 0.0762439147, 0.0016041658, 0.0232226886, -0.0624119341, 0.0216995962, -0.0288184211, -0.0212923996, 0.0075633824, -0.0343064144, -0.0088391891, -0.0622820631, 0.012586832, -0.0298851505, -0.0037029351, -0.0394503102, 0.0559070371, -0.0226007625, -0.0076606912, 0.0608123057, 0.0119983293, 0.0254894029, 0.0052444586, 0.0677982271, -0.0389041677, 0.0136781037, 0.0203331169, -0.0455932245, -0.0158109032, 0.0066671865, 0.0152742378, 0.0712849125, -0.0378021039, -0.0713856369, -0.0366325527, 0.0024289906, 0.0071982294, 0.0057214443, 0.0245866477, -0.0294485595, 0.0142735671, 0.0284449589, -0.0027934755, -0.0051672873, -0.0145567982, 0.0238116365, -0.054107774, -0.0200265795, -0.0048557646, -6.01296107e-33, 0.0309049748, -0.0432819836, 0.0399980024, -0.0207143929, 0.0279711261, -0.0171696078, -0.0122109614, -0.0142173041, 0.0730776936, -0.0280281641, 0.0283569265, -0.0533202626, -0.0004759974, 0.0009461103, 0.0103614926, -0.0559998602, -0.0042578727, 0.0289891977, -0.0554414243, -0.0177998561, 0.0271507129, 0.0288735162, -0.0367857702, -0.0274816025, -0.0125097847, 0.0213304926, -0.002883574, -0.016248934, -0.0011326689, 0.0513973907, -0.0554788932, 0.0565957688, 0.0085910093, -0.0206856187, 0.0094691049, 0.0274186153, -0.0527718887, -0.0196480621, -0.0140024992, -0.0494112596, -0.0709500462, -0.0271324478, 0.0035595153, 0.006171091, -0.0140512846, 0.0410638489, 0.0595550686, -0.0108103808, -0.0253225286, 0.0121726757, -0.0081457254, 0.0208822228, -0.0154738938, 0.0147121968, 0.0187228452, 0.0655092075, 0.0157504696, 0.0245020781, 0.000003142, 0.0713652894, -0.0354901664, -0.0219879299, -0.0035860543, -0.0019404062, 0.0077716778, 0.0298136249, -0.0083821341, -0.0287328716, 0.011273521, -0.0262129717, -0.0338197239, 0.0679653212, 0.0240948405, 0.0637415573, 0.0269999243, -0.0217552353, 0.0003710773, 0.0470302179, 0.0277641527, -0.1043449342, 0.0042265048, 0.044874493, 0.0310607217, -0.0274907257, -0.0156868268, -0.0245286822, -0.0415999144, -0.0559206232, 0.0204709154, 0.0297482535, -0.0237021744, 0.0226291176, 0.0281315837, 0.0437655933, 0.0093995109, -0.0156342965, 0.0225634035, -0.0114697274, -0.0007715788, -0.0157806408, -0.0868011564, -0.0164083093, 0.0141009493, -0.0309216809, 0.0166411102, -0.0073589436, -0.0123922396, 0.0228054263, 0.0216894746, -0.0121448711, -0.0029343357, -0.0068185669, 0.0294932891, 0.003587893, 0.0194562804, -0.0058618733, -0.0064879982, 0.0523171537, -0.005380569, -0.0036009052, -0.0509402491, -0.07327874, 0.0216274951, -0.0216511674, 0.0096389093, -0.0054254546, -0.0384066328, -0.0387497395, 0.0475452766, -0.0471169353, 0.0213910472, -0.0082901753, 2.61e-7, 0.0280845277, 0.0102900276, -0.0000651743, -0.0866372436, -0.0210427344, 0.0594014749, 0.0454768054, 0.0468923375, -0.0279208403, 0.0363377333, 0.0382811911, -0.0135386297, -0.0104475291, 0.0763056949, 0.0663861111, 0.0123376679, -0.0298045836, 0.0245954301, -0.0232467409, -0.006410609, 0.0185911786, 0.0279939324, 0.0637230277, -0.024332853, -0.0073893685, 0.0351465493, 0.0414198972, -0.0830961615, -0.0146283899, -0.0568641797, -0.0048877066, -0.0304211564, 0.0113147898, -0.0421678871, -0.0447065011, -0.0689126849, 0.0243333988, -0.0083811386, -0.0013161828, -0.0659286082, -0.0289443657, 0.0195698291, -0.0163596049, -0.0564066283, 0.0612915829, -0.0540787652, -0.0152148549, 0.0292408615, -0.0060589025, -0.0318123363, -0.0101346141, 0.0127515234, 0.0174079575, 0.0150282606, -0.008666819, 0.0563173965, 0.0171057004, -0.045244772, -0.0197963919, 0.0196371991, -0.0049723089, -0.0049624266, -0.0234694947, 0.0471399128, -0.0375721864, -0.103716217, -0.0387262069, 2.149974805e-34, 0.0138615808, 0.061682526, -0.006757292, -0.0347665176, 0.0084260469, 0.0257876236, -0.0205199551, -0.0326842219, 0.0442248508, -0.0369453505, -0.0484494604 ]
http://arxiv.org/abs/2406.13713v1
http://arxiv.org/pdf/2406.13713v1
Benchmarking Open-Source Language Models for Efficient Question Answering in Industrial Applications
2024-06-19T17:11:51
2024-06-19T17:11:51
Mahaman Sanoussi Yahaya Alassan, Jessica López Espejel, Merieme Bouhandi, Walid Dahhane, El Hassane Ettifouri
cs.CL
cs.CL
In the rapidly evolving landscape of Natural Language Processing (NLP), Large Language Models (LLMs) have demonstrated remarkable capabilities in tasks such as question answering (QA). However, the accessibility and practicality of utilizing these models for industrial applications pose significant challenges, particularly concerning cost-effectiveness, inference speed, and resource efficiency. This paper presents a comprehensive benchmarking study comparing open-source LLMs with their non-open-source counterparts on the task of question answering. Our objective is to identify open-source alternatives capable of delivering comparable performance to proprietary models while being lightweight in terms of resource requirements and suitable for Central Processing Unit (CPU)-based inference. Through rigorous evaluation across various metrics including accuracy, inference speed, and resource consumption, we aim to provide insights into selecting efficient LLMs for real-world applications. Our findings shed light on viable open-source alternatives that offer acceptable performance and efficiency, addressing the pressing need for accessible and efficient NLP solutions in industry settings.
[ 0.0264042318, 0.0526873469, 0.0155499391, 0.0679602697, -0.0803048909, -0.0032703259, 0.017390864, -0.0000728411, 0.0352224261, -0.0475159883, 0.0042743455, -0.002187493, -0.0315268822, 0.0132985637, -0.0207391139, 0.030008113, 0.0690239072, -0.0354079343, -0.0156857781, -0.0116542839, 0.0030281204, 0.0387351252, -0.0262747053, 0.030332176, 0.0410893224, -0.0223965012, -0.0002762161, -0.0085166954, -0.0065679569, -0.0012490563, 0.0097012017, 0.0209374148, -0.0048051346, 0.0533336513, 0.0000017872, -0.0673592761, -0.0114081055, 0.0188629106, -0.0318135768, 0.0233295579, 0.0284056962, -0.0044879741, 0.0192222502, 0.045875255, -0.0304717869, 0.0074557341, 0.0443581045, 0.0220786631, 0.0555023067, 0.0308392514, 0.0138507625, -0.0257754344, -0.0082908534, 0.0063779764, -0.0215351954, -0.0545843765, 0.0331026241, -0.009404988, 0.0272276383, -0.0259867329, -0.0077814599, 0.0398121588, 0.0216502864, 0.030306235, -0.0201920811, 0.0194165278, -0.0688089207, 0.0034453443, -0.0248021539, 0.0922873691, 0.0143063357, -0.0262051839, 0.002062646, -0.0040067816, -0.017351348, 0.0075231907, -0.043456018, 0.036536511, -0.0183047578, 0.0116979815, 0.0155526297, 0.005446713, -0.0096779577, 0.0635945722, -0.0038533681, 0.0831368193, 0.0197493229, -0.0374581888, 0.0282792449, -0.016015267, -0.0374734998, -0.0532437935, 0.0181490872, 0.0474339202, 0.0069342656, 0.0355438776, -0.0379629768, -0.0047750464, 0.0317717455, -0.0641759932, 0.000970996, 0.040519733, -0.0102423681, 0.0757958144, -0.056406267, 0.0363435373, -0.0375148319, 0.0198061187, -0.0579970293, -0.0423931628, -0.0200546011, -0.0210183822, -0.0493166745, 0.0445485786, -0.0660678372, -0.0641634837, -0.0216689669, 0.0456640199, 0.0242483616, 0.0067408006, 0.0466393158, 0.0443097837, 0.0265277196, 0.007311332, -0.0515226349, 0.029456554, -0.0557066016, 0.0061232396, -0.0295765754, -0.0928677171, -0.0262729619, 0.0370648056, 0.0152424546, -0.0422681831, 0.0403436534, 0.0561326295, 0.0195738655, -0.0333494805, -0.0434219912, -0.015210255, 0.0107361348, -0.055122219, -0.0408166908, -0.0689671487, 0.0267186537, 0.049102325, 0.0018245587, -0.025043441, 0.0231379792, 0.0434622318, -0.0456601009, 0.037758138, -0.0289097484, -0.0025350247, 0.0264010131, -0.0132982954, 0.0219661165, 0.0509609506, 0.0054668114, -0.0136109721, 0.0552323014, -0.0119848484, 0.0104877278, 0.0316012762, -0.0266397186, -0.0186008401, 0.0067195264, 0.0812713727, -0.0147460522, 0.0504257046, 0.0134804808, 0.0677067786, 0.0264433026, -0.0398504809, 0.0487631708, 0.0882600099, -0.0073213223, -0.0127324481, 0.0267325975, 0.0379969813, 0.0219077729, -0.0517550819, -0.0024337885, 0.0154662998, -0.0573487654, 0.0167364627, 0.0282907616, -0.0031226454, -0.0153747611, -0.0364829451, -0.0407304838, -0.0079637682, -0.025360385, 0.0335372724, 0.059043888, -0.0173329897, -0.0394876227, 0.0656835735, 0.0300923381, -0.0258691702, -0.0433783159, -0.0421936363, 0.0499886423, 0.0652009696, 0.0453447998, -0.0387437269, 0.0018872176, -0.0243349653, -0.0033698976, 0.0459868647, 0.0344561301, 0.0024429304, 0.0224589352, -0.0434370525, 0.0236655455, -0.0025811389, -0.0097446218, -0.0016183787, 0.0505853668, 0.0018795691, 0.0083159059, -0.0372334383, -0.0122913048, 0.0330554843, 0.0050539402, -0.0345241949, -0.0095357159, -0.012041145, 0.0135667222, 0.027461106, -0.0065820469, 0.0299316254, 0.0494446084, -0.0356377922, -0.0372437313, -0.0071145496, -0.0049160155, -0.0166181717, 0.0375154391, 0.0069762855, -0.0117495013, 0.0477035977, -0.0416219346, -0.0465132855, 0.0132670943, -0.0482903086, 0.0363009423, -0.0380573794, -0.0474303849, 0.0143858781, 0.0099802474, -0.0460792668, 0.0484786667, -0.0081611993, 0.0516426116, 0.0277282503, 0.0020364439, 0.0346342511, -0.0481496006, -0.0292882808, 0.0082804179, -0.025391968, 0.002202438, -0.0223205071, -0.0157000925, -0.0484807491, 0.0108090574, -0.079348743, 0.027303936, -0.022369042, 0.0228934065, 0.0233410578, 0.018920999, -0.0304980837, -0.0271703396, -0.0163435582, -0.0093876254, 0.0373937227, 0.0196889807, 0.0447739922, 0.0150505407, -0.0117996167, -0.0390477441, -0.0127373384, 0.0082442872, 0.0642413944, -0.0056590135, 0.0242784824, -0.0423240587, -0.0122600235, -0.0442569442, 0.045225352, 0.0114089344, -0.0064146416, -0.0247924179, -0.01276749, 0.0157099068, 0.0545165092, -0.0003368378, -0.0237284023, 0.017472202, 0.0044358796, -0.0503655784, 0.0211183652, -0.0177739393, -0.0458214283, 0.0019025392, -0.0193987042, 0.0121351294, 0.0438672937, 0.0077335667, -0.0085065328, -0.0020721427, 0.0269058291, -0.0100273527, -0.0083786724, -0.0470338874, 0.0102809751, -0.0074653272, 0.0398186706, 0.0015455553, -0.0378717631, 0.0585420989, -0.0575478338, 0.0042155944, -0.0434119888, -0.0374535769, -0.0781668574, 0.0455047823, -0.0213582162, 0.0245969016, 0.0096568801, 0.0059438301, -0.0002976253, 0.0356935263, 0.0172183607, -0.0357138626, 0.0346043855, -0.0581654571, 0.0642935112, -0.0242675822, -0.0160018355, -0.0291310456, -0.0399295017, -0.0792328641, 0.0133653432, 0.0078747254, 0.0164051168, -0.0056333453, 0.053112112, 0.0130397426, 0.0348593108, 0.0014951744, 0.0005324992, -0.0271352306, 0.0576319136, 0.0593143888, 0.0265600719, 0.043737676, 0.0171108823, 0.0063130837, 0.0613394827, 0.0577961057, -0.0204446521, -0.0575217493, -0.0123432362, 0.0224715155, -0.0725824609, 0.0131910108, 0.0019659922, 0.0209265873, -0.041889634, 0.0111954613, 0.1066883728, 0.0271900278, 0.0010941601, -0.0054372922, -0.0098718582, 0.0122090364, 0.0398341902, 0.0317272432, -0.0815984085, -0.0698466599, -0.0087284315, 0.0586149842, -0.0064300303, -0.0410447456, -0.0129824439, -0.1498278379, 0.0152868517, -0.0478299223, -0.0393153876, -0.0220294409, -0.0729631931, -0.0021937764, -0.0434128456, -0.0102388924, 0.0158189554, -0.0110722529, 0.0004826206, -0.0004357313, -0.0393404476, -0.0189535189, 0.0386133566, -0.0235680249, 0.0230281819, 0.034068428, -0.0278802942, -0.0063218228, -0.0223932546, 0.0373619311, -0.0563707985, 0.013616276, -0.0437365212, 0.0339392722, -0.0153250061, -0.0206435435, -0.0456939451, 0.0085286116, -0.0593513474, 0.0183769688, 0.0219459347, 0.069445692, 0.0183890834, 0.0090488307, -0.0300711729, 0.0032119043, -0.017328646, 0.0877457485, -0.0187927037, -0.0316381268, -0.093067795, -0.0097617963, -0.0518425927, -0.0231078789, -0.0133064436, -0.007054117, 0.0178524647, -0.0115357982, -0.0415016711, -0.0287913494, 0.0342747383, -0.0010335004, -0.0345667712, 0.0375819802, 0.005917164, 0.0297148451, -0.0597102903, 0.0475603789, -0.0356425717, 0.0515492223, -0.0658976808, 0.006012179, 0.0342746377, 0.0151525149, -0.0508665293, 0.0423959717, -0.0978837758, -0.0488149412, -0.0276784562, 0.0502250418, 0.0274677146, -0.018004952, -0.0185632259, -0.0219278727, -0.033314243, 0.0097088628, -0.0459261574, 0.0352252088, -0.0064632432, 0.0204163212, -0.009936342, 0.0348761678, -0.0485638045, 0.00868004, -0.006808829, 0.0458818488, 0.0049501536, -0.0925654918, 0.0216125399, 0.0396354795, -0.0071415706, 0.0127153983, 0.0158277471, -0.0025528264, 0.0472915359, 0.0173605978, -0.0370558538, -0.0181248672, 0.0121194348, 0.0228488706, -0.0356296897, -0.0025044938, 0.0200272091, -0.0104949754, 0.0329857543, -0.0439237431, 0.007098393, 0.0330976918, -0.0042110062, 0.0179861765, -0.0246968828, -0.0488261841, -0.0112525774, -0.0041772183, 0.0632903725, -0.0096757077, 0.0641259477, -0.008055171, -0.0226175115, -0.0140016032, 0.031652011, -0.0742267892, -0.0603393987, -0.004887816, 0.0432516485, 0.037649028, 0.0163267851, 0.0335875377, -0.0072113215, -0.0236537606, -0.021003373, 0.0221237522, 0.0287518688, -0.0146582434, 0.0700060949, 0.0298263915, -0.0073929648, 0.0355507769, 0.0783842653, 0.017750524, 0.0451627932, 0.0011505112, -0.0168860089, -0.0582288019, -0.0336345211, -0.0317251049, 0.0036127549, -0.0198603794, 0.0057069561, -0.0721739829, -0.0437182635, -0.0074337428, 0.0118565708, 0.0116248783, -0.0284692403, 0.0552961417, 0.0628057942, 0.075523451, -0.0317982882, -0.0284376889, 0.0372901782, -0.0881342888, -0.0059764502, -0.0163354203, -6.012303895e-33, -0.0036966426, -0.0180190802, 0.0151087046, -0.027194351, -0.0071594901, 0.0000929247, -0.0044337567, -0.0089836242, -0.0578294098, -0.0455772392, -0.0042312131, 0.0138671389, 0.0177770853, 0.018180985, 0.0087773316, -0.0469146632, -0.0088321827, 0.0071553397, -0.0179366972, -0.0073254793, 0.0233651772, 0.0416540354, 0.0211642627, 0.007038177, 0.002833378, -0.0218911227, 0.0222297348, 0.0189242624, -0.0331612453, 0.0472163148, -0.0413936935, 0.0508721285, 0.024345113, -0.0245985724, 0.0177339632, 0.0457762852, -0.0737819746, 0.0115346946, 0.0249159634, -0.0029053926, -0.0386425257, 0.0375258774, 0.0058731702, 0.0321958549, 0.0139218951, 0.0240156204, 0.0098451683, -0.0274198242, -0.0134009896, 0.0048016836, -0.0163289737, 0.0322201252, -0.0123687238, -0.0045425445, -0.0070316382, 0.0563140325, -0.0244750828, 0.0419267714, -0.0100649763, -0.0325449854, 0.0105268527, 0.0270655006, 0.0952051654, 0.0227115471, -0.0044444362, 0.006312761, 0.0073678787, -0.0658368394, -0.0266720243, -0.0090723149, -0.0289114453, 0.0365726911, 0.0687738508, 0.0274556149, 0.0407984182, 0.0455566905, -0.0850514695, 0.0085965022, 0.0100623211, 0.0411512069, 0.0355859622, 0.0143215107, -0.0275060702, -0.0044636545, -0.0423921272, 0.0447603166, -0.0491514578, 0.0045148777, 0.0543565154, 0.0199220162, -0.0439548045, 0.0071762218, 0.0100465184, -0.0495312735, 0.0088720573, 0.0111491857, 0.013673149, 0.0240661148, 0.0070694699, 0.0430107825, -0.0766014978, 0.0206846502, -0.0322871581, -0.0176157132, 0.0150379464, -0.009364564, -0.0261548571, -0.0115180686, -0.0594036765, 0.0167207494, -0.0551396832, 0.0303983949, -0.0699972883, -0.0008262002, 0.0227378625, 0.0087406691, 0.0119565576, 0.052233357, -0.0048504728, 0.0172098093, -0.0376627818, -0.0473657623, 0.0233887509, -0.0121468678, -0.0274656657, 0.0271642078, -0.0057837451, 0.0690836832, -0.0295371655, -0.0552537367, -0.0057799364, 0.0423622914, 2.445e-7, 0.0790463537, 0.0106699951, 0.0494104736, 0.0409144089, -0.0124893179, 0.0021932616, 0.0094621144, 0.0379700735, -0.0062033576, 0.0130452458, -0.0354412533, 0.0163422916, 0.0428993478, 0.0394855253, -0.0602447465, -0.0089144446, -0.0805173591, -0.0039897426, -0.0688753724, -0.0088307597, 0.0735204071, 0.064273119, -0.0121885939, 0.0064588361, -0.0285352077, -0.0647820458, 0.0442658104, -0.0158137623, 0.0152055426, -0.0021987169, 0.0336375013, 0.048443716, 0.003143471, 0.0085451817, 0.013823377, 0.0119256275, 0.0196453016, 0.0504132323, 0.0057102297, -0.0563813969, -0.0123441238, -0.0768740922, 0.0114752455, -0.0546722934, 0.1239220425, -0.0244725011, -0.0061611924, -0.0192128159, -0.0127839781, -0.023559697, -0.0137386722, -0.0190835111, -0.0172201302, -0.0147280395, 0.0145002697, -0.0604139119, -0.0088036424, -0.0665670261, -0.0217478797, -0.0188805088, -0.0377648063, -0.041202791, -0.0538718179, 0.0080981264, 0.0244605374, 0.0016803807, -0.004698616, 2.055419372e-34, 0.038315583, 0.0106309988, 0.0001913207, 0.0668038279, 0.0247345194, -0.0029025681, 0.0076637156, -0.0211109389, -0.0218667816, -0.12318331, -0.0007932378 ]
http://arxiv.org/abs/2406.13706v1
http://arxiv.org/pdf/2406.13706v1
Breaking News: Case Studies of Generative AI's Use in Journalism
2024-06-19T16:58:32
2024-06-19T16:58:32
Natalie Grace Brigham, Chongjiu Gao, Tadayoshi Kohno, Franziska Roesner, Niloofar Mireshghallah
cs.CL
cs.CL, cs.AI, cs.CY
Journalists are among the many users of large language models (LLMs). To better understand the journalist-AI interactions, we conduct a study of LLM usage by two news agencies through browsing the WildChat dataset, identifying candidate interactions, and verifying them by matching to online published articles. Our analysis uncovers instances where journalists provide sensitive material such as confidential correspondence with sources or articles from other agencies to the LLM as stimuli and prompt it to generate articles, and publish these machine-generated articles with limited intervention (median output-publication ROUGE-L of 0.62). Based on our findings, we call for further research into what constitutes responsible use of AI, and the establishment of clear guidelines and best practices on using LLMs in a journalistic context.
[ 0.0847245455, 0.0895075649, -0.0249766596, -0.0119808996, -0.0561236069, 0.0112515893, 0.0524747707, 0.00672876, 0.0324247628, -0.0253793281, 0.010013571, 0.0088897701, -0.0158897396, 0.0495012216, -0.0134281553, 0.0255565215, 0.0065167183, -0.0013372749, 0.0595042408, -0.0100905895, 0.0217586812, 0.0757276714, 0.0032549247, 0.0593561083, -0.0214096438, -0.0345333479, 0.0116842361, 0.0116147613, -0.0070137405, -0.002089801, -0.0389145985, 0.0642705783, 0.038004078, 0.0617124401, 0.0000015662, -0.0387926176, 0.0009030084, 0.0056021134, -0.0190026537, -0.0213260781, 0.0635203794, -0.0747084767, -0.0303853527, 0.0043640379, -0.0745557845, 0.0062981066, 0.0427448489, -0.0196464695, 0.0456685349, 0.1125858575, -0.0310961902, 0.0010188589, 0.0569863617, -0.0043466296, -0.0093562556, -0.0303729866, 0.0195888188, -0.0031907556, -0.0167051256, 0.0034702609, 0.0344045237, 0.0337642804, 0.0385104269, -0.0365539417, -0.0318206623, 0.0353710018, -0.0098021282, -0.0495355092, 0.0115455911, 0.0084124086, 0.0422766358, -0.0198665708, 0.0239284988, 0.012337978, -0.0063214409, 0.0239898618, -0.0328955576, 0.0787607953, -0.0497399196, -0.0142194051, 0.0244924016, -0.0478945263, 0.0043082982, 0.0424672142, 0.0266404282, 0.02048577, 0.0198928285, 0.0029065744, -0.0011202508, 0.0118997209, 0.0423026867, -0.0864420682, 0.019651141, 0.014797247, -0.0272558834, 0.0344641134, -0.0492583439, -0.0285324156, 0.0009092892, -0.0518994555, 0.0141130621, 0.0031339442, 0.0219965894, 0.0296877138, 0.0213706885, -0.011646633, -0.0032373457, 0.026116455, 0.0169808213, 0.019916214, -0.0127416942, -0.0264943074, -0.0011870973, 0.0122291502, -0.0081190029, -0.0438132174, -0.016023377, 0.0229302309, -0.003993995, 0.0448559374, -0.0055467635, 0.0295309145, -0.0631790459, -0.0423275605, 0.0001234869, 0.0024453797, -0.033354938, 0.050318528, 0.0091274465, -0.0131026022, 0.008284579, 0.0138440896, 0.0014641592, 0.0111746909, -0.0279506389, 0.0762078017, -0.0300578382, -0.0053001489, -0.0298498794, -0.0327474028, 0.0200332142, -0.0707056373, -0.0001261625, -0.0457717068, 0.0289251916, 0.0085997405, -0.0244082101, -0.0854914635, -0.0064803232, 0.0147215705, -0.0310868844, 0.035104569, 0.0101167429, 0.042713847, 0.0541564152, 0.0389373861, 0.0216827914, 0.0769606307, 0.0503871962, 0.0879086107, 0.0380546935, -0.0049120486, 0.0644502565, 0.0279760007, -0.0146193532, 0.0356156901, -0.0419195741, -0.0074745179, -0.0608748868, 0.0167853627, 0.0337548703, 0.0552015901, -0.0157748889, 0.0277065393, 0.1089977399, 0.0596213527, -0.0148740178, 0.0317091048, 0.0679374784, -0.0012948659, 0.0109602204, 0.0313087218, -0.0144064054, 0.0155648608, -0.0510503389, -0.0372381024, -0.008545165, 0.0530228838, -0.0216023661, -0.0241941661, 0.0199311599, -0.0237444211, 0.0079951994, 0.0015250642, 0.0065972051, 0.0233872496, -0.0263829529, -0.0191148855, 0.0098207826, -0.0301164035, 0.0191684179, -0.0717949569, 0.0295503736, 0.0800844282, 0.0518986322, 0.0183982141, 0.0330800638, -0.0303955916, 0.0214805938, 0.061018642, 0.0070116734, 0.0002509762, -0.0358899757, -0.005688482, -0.0142844161, -0.0290449541, 0.0300025903, 0.0160823669, 0.011364216, 0.0576380491, -0.0109063331, -0.0015888792, -0.0678166449, 0.0109683583, -0.0792371854, -0.048524797, -0.0259014089, 0.0038155855, -0.0036303981, 0.0456152, -0.0232304204, -0.0120113846, 0.0172693599, 0.0012060967, -0.0198851395, -0.0073856171, -0.003693796, 0.0497541763, -0.031127153, -0.0501934141, -0.0104796123, 0.0143373972, -0.0145490244, 0.0064723715, 0.0429463312, -0.0151302917, 0.0304215103, -0.0440848656, 0.0022240335, -0.0274953339, 0.0072741099, -0.0030223136, 0.0499141552, -0.0265828613, -0.0119507676, 0.0056442777, -0.0178416446, -0.0282696895, -0.001583589, 0.0022031688, 0.0284966417, 0.0049202456, 0.0510772243, 0.034688171, -0.0164965969, -0.0317671858, -0.0474954918, -0.0453998037, 0.012463402, -0.0319236815, -0.0012712161, 0.0451178737, 0.0026407854, -0.0292939041, 0.0250756852, -0.0191655792, -0.0451365858, 0.0186524615, 0.0323276781, -0.0122744525, -0.0013717818, 0.0036295196, -0.019401392, 0.0158138759, -0.0236339886, 0.0359233171, 0.0480676293, 0.0100589581, -0.0551674366, 0.0569635443, -0.0454615355, -0.004780883, -0.0268789381, -0.0473215133, 0.0368784256, -0.0104695121, -0.0247287247, 0.1009124368, 0.0525087453, 0.0734962523, 0.0358939469, 0.02763962, -0.0384080783, -0.0178405736, 0.0001392246, -0.0281870048, -0.0600358732, -0.04365623, 0.0260969996, -0.0309734028, 0.0254324693, 0.0414894372, 0.0005086138, 0.0960041583, 0.0003191295, -0.0713889375, 0.0630174279, -0.0479197912, -0.0004322156, 0.0687667355, -0.010489895, -0.0522082373, 0.0500869974, 0.0000533379, 0.0545465015, -0.0138963358, -0.0258469619, 0.001013763, 0.0687651932, -0.0203417968, 0.0525187366, -0.0035760407, -0.0208006408, -0.0412710831, -0.0181945954, 0.043437764, -0.0306590572, 0.0032636502, -0.0139497789, 0.0035954684, 0.0304854345, -0.0108443191, -0.0360238068, -0.0732063726, -0.0324837491, -0.0188913681, 0.0461302213, -0.0596056618, -0.035492301, -0.0094077149, 0.066749841, 0.0188739561, -0.0177388042, -0.0067302058, -0.0017481686, 0.0155001702, 0.0667264238, -0.0165611301, 0.0057090977, 0.0200650841, 0.0189453382, 0.0089379195, -0.0235557724, 0.0497502498, -0.0141162146, -0.0047558383, 0.0224008225, -0.0010334477, -0.0161092505, 0.0025059599, 0.0254484266, -0.0234365501, 0.002416553, 0.0852163956, 0.036693655, -0.1059237942, -0.0109079806, 0.0092479466, -0.0241305456, 0.0062850146, 0.0241707936, -0.1124405861, 0.044394996, 0.0133810313, 0.0090090539, -0.062474478, -0.0415414125, -0.0482584387, -0.113844879, 0.0435448103, -0.0042492296, -0.0235788077, -0.0047582686, -0.0620350316, -0.0202899538, 0.0025711844, 0.003451407, -0.024481643, -0.0119455848, -0.0124714598, -0.0010218025, -0.0245291404, -0.0735050887, -0.0024208978, -0.0234287754, 0.0581214614, 0.0716904849, 0.044257246, -0.0239680689, 0.0056597521, -0.0400715545, 0.0809647664, -0.0000861369, -0.0054657953, 0.0551302582, -0.0160513278, 0.0028204287, -0.036181014, 0.0500930622, 0.0139529286, 0.0205310192, 0.0093575697, 0.0147983003, -0.0280197859, -0.0369048752, -0.0045441189, 0.0113994153, 0.0686691999, 0.0435309298, 0.0349160247, -0.0578728169, -0.0081219468, -0.0331073366, 0.0367389955, -0.0457718708, -0.0246979706, 0.0046228259, -0.0111477878, -0.0688097775, -0.0739725828, -0.0542527661, -0.0097747175, 0.0103845447, 0.0270062443, -0.0191718526, -0.0058687865, -0.0057219551, 0.0095572872, -0.0284436587, -0.0054257489, 0.002248591, -0.0080361068, -0.0095327897, -0.0127330273, -0.0203140359, 0.0028824366, 0.0337267481, -0.0456016362, -0.0554668605, 0.0328840017, 0.0200746711, 0.0282638185, 0.0251351427, -0.0038921209, -0.0507028624, 0.0178588908, 0.0938427672, -0.0591636747, 0.0170358568, 0.0156689808, -0.0015258252, 0.0099013317, 0.0151844546, -0.0162729137, 0.0314354822, 0.0096570021, -0.0236674435, -0.0453189537, -0.0180588085, 0.0198412631, 0.0046601826, -0.0480098613, -0.0324640535, 0.0209192894, -0.0552313961, -0.0339158699, -0.050512109, -0.0147304358, -0.0293350089, -0.0094407629, 0.0203407425, 0.0363672674, -0.0178951062, 0.0338181779, -0.0449090935, 0.0323925465, -0.05909729, 0.0183586068, 0.0342111439, 0.0140910558, -0.0041280296, 0.0045501273, -0.0150377592, 0.0631678179, -0.0268994793, 0.0381832905, -0.0066745635, 0.0172517952, 0.008884904, 0.0097280201, 0.0304689445, 0.0218537785, -0.089649424, -0.0842214525, 0.010901059, 0.0480374508, 0.066798985, -0.0162292141, 0.034892574, -0.0071217516, 0.0045149247, 0.005637804, 0.0006109982, 0.0267201215, -0.0540293083, -0.0229852069, 0.0172651634, -0.0378281474, 0.0286507364, 0.0656779855, -0.0024745958, 0.0513499342, 0.0068187984, -0.0458493121, -0.0117014404, -0.0348682441, 0.0419193283, -0.006994667, 0.0252963807, -0.0349679068, -0.031694252, -0.0672199801, -0.0169891547, -0.0199758895, -0.010030468, -0.028909361, -0.0361097679, 0.0831321478, 0.0278051775, 0.0215702672, -0.0544641949, 0.003903192, -0.0538608469, -0.0664968938, 0.0157679636, -5.903212509e-33, 0.0304238927, -0.0488153249, 0.0083639193, -0.0079477616, -0.01793731, 0.0430958159, -0.0260295477, -0.0134941693, -0.0407690071, 0.003782083, -0.0557923131, 0.0190563742, 0.0019772882, -0.022077946, 0.0095285177, 0.0119569302, 0.0398028418, -0.0308835171, -0.0340434201, 0.0422961898, 0.0189719349, -0.0094481865, 0.0079139415, -0.0869613141, 0.0438085683, -0.0260035414, -0.0754021406, -0.0226666313, 0.0052994387, 0.0499277711, 0.0021450091, 0.0161880907, 0.0264032949, -0.0237250496, 0.0000647378, 0.0760232806, -0.0228472427, -0.0051256311, 0.0369180292, -0.0088011213, -0.0036554202, -0.0350753143, 0.0455630459, -0.0374523997, -0.0067206016, 0.00480837, 0.0266914759, -0.0297302399, -0.0107334014, -0.0386644676, -0.0584916547, -0.0250830874, -0.0293346532, 0.0028072847, -0.0217982307, -0.0202845968, 0.0107546644, -0.0010342951, -0.0417556129, 0.0090983929, 0.000763273, 0.0112798773, 0.0693054646, -0.008487327, -0.0038986704, 0.0418661125, 0.0275027417, 0.029557975, -0.0618001781, 0.0006289139, 0.0250018686, 0.0388220511, -0.0122385984, 0.0685602948, -0.0160970669, -0.090068236, -0.0576556958, 0.0145602431, 0.0440347083, 0.0215119496, 0.0434510373, -0.0203703512, -0.0283409618, -0.0193676539, -0.0106810648, -0.0414549746, -0.0403249525, -0.070449017, -0.0030549956, 0.006687582, -0.0184848532, 0.0252382476, 0.0138489576, -0.0439032167, 0.0108190058, 0.0553046726, -0.0315702744, 0.0036821559, -0.0134447701, 0.0169848558, -0.0694243461, 0.0098577887, 0.0229361337, 0.030751802, 0.0383393653, 0.0111667812, 0.0474094264, 0.0435606837, -0.0296801087, 0.0032630141, -0.0069898022, 0.0508772507, 0.0368612595, -0.0036629038, 0.0242125522, -0.0150196357, -0.0172743835, -0.0294918083, 0.0262123123, 0.0138957547, -0.0255987067, -0.0113902297, -0.0262645967, 0.0200602934, -0.0438492484, -0.0034619358, -0.0294246916, 0.0386943631, 0.0530942492, -0.0553535074, -0.0111551601, -0.051517535, 2.538e-7, 0.0089627076, 0.0282915942, -0.0292168483, 0.0463482626, 0.0101832869, 0.0000867645, 0.0300659426, 0.0307620913, -0.0151820425, -0.037545152, 0.0320350267, 0.0457940586, 0.0515179373, 0.0708442852, -0.07096605, 0.0257316325, -0.0955085456, -0.0122805089, -0.0878777802, -0.0101973386, 0.039719604, 0.0080948994, 0.0330872722, -0.0300218053, -0.0274148844, -0.069119744, 0.0220894385, 0.0090121282, -0.0237665102, 0.0092598898, 0.0402590036, 0.0468221232, -0.0128642479, 0.0010119128, -0.0157523137, -0.0099932281, -0.0195736885, 0.0539370291, -0.0049112132, -0.0040730732, 0.020767387, -0.0391218774, 0.0013659392, -0.0331150889, 0.0647125095, -0.0265051797, -0.041052673, -0.075739257, -0.0145155564, -0.0553433225, 0.0220781956, -0.0472727902, 0.0020741774, 0.0297686402, -0.0229509175, 0.0178143084, 0.0299822856, -0.0219434742, 0.0012170932, -0.0172816832, -0.0221293177, -0.0356977433, -0.0055680056, 0.0071048262, -0.0230785664, -0.03356326, 0.0712874234, 1.829294896e-34, 0.0224490613, 0.0263225771, -0.0133808898, 0.03179802, 0.0361109823, 0.052689828, -0.0024678432, -0.0149290124, -0.0033552076, -0.047161866, -0.0120618269 ]
http://arxiv.org/abs/2406.13698v1
http://arxiv.org/pdf/2406.13698v1
MMTE: Corpus and Metrics for Evaluating Machine Translation Quality of Metaphorical Language
2024-06-19T16:52:22
2024-06-19T16:52:22
Shun Wang, Ge Zhang, Han Wu, Tyler Loakman, Wenhao Huang, Chenghua Lin
cs.CL
cs.CL
Machine Translation (MT) has developed rapidly since the release of Large Language Models and current MT evaluation is performed through comparison with reference human translations or by predicting quality scores from human-labeled data. However, these mainstream evaluation methods mainly focus on fluency and factual reliability, whilst paying little attention to figurative quality. In this paper, we investigate the figurative quality of MT and propose a set of human evaluation metrics focused on the translation of figurative language. We additionally present a multilingual parallel metaphor corpus generated by post-editing. Our evaluation protocol is designed to estimate four aspects of MT: Metaphorical Equivalence, Emotion, Authenticity, and Quality. In doing so, we observe that translations of figurative expressions display different traits from literal ones.
[ 0.0435478985, 0.0145582641, -0.0394886211, 0.0290632267, -0.0292499755, -0.0018281755, -0.035421446, 0.0088198064, -0.0287582036, -0.0402637385, -0.0355884172, -0.0093575446, 0.0539606549, -0.0222837292, -0.0027176999, -0.0622780733, -0.0044057714, 0.0393370464, -0.0156502519, -0.0025893962, -0.0207540356, 0.0441334434, 0.0105503807, 0.0706134588, -0.0008913535, -0.0109002469, 0.0208968613, 0.0718080103, 0.0501559488, -0.0259360261, -0.0425020158, 0.0043135067, -0.0048553944, 0.0265125893, 0.0000018882, -0.0535342507, -0.013442805, -0.0125095462, 0.0423972607, -0.0036807708, 0.1355695575, -0.0383161232, -0.0083573423, -0.0143025508, -0.0105367014, 0.0224241968, 0.0498807095, 0.0170880109, 0.0521433242, 0.051000867, -0.014309858, -0.0194705948, -0.0189180654, -0.004892861, -0.0338380523, 0.0120662358, -0.0172196794, 0.0273435079, -0.026995685, -0.0426277146, -0.0170402136, 0.037866015, 0.016710544, 0.016798703, -0.0389462411, 0.0030499359, -0.0432849564, 0.0158771649, -0.0028033503, 0.0386431329, 0.0162572116, -0.0124107013, -0.0468437001, -0.0039654579, -0.0195533521, 0.0227034129, -0.0046482687, 0.0108011421, 0.0332643911, 0.0227637403, 0.002369059, 0.0479091294, -0.013905202, 0.0060683852, 0.008507181, -0.023447739, 0.020735113, -0.0066617769, -0.0185142066, -0.0424498208, -0.0463582873, -0.0280989204, 0.0035422547, -0.0249698665, -0.002951547, 0.0011975026, -0.0343266986, -0.047802031, 0.0057907291, -0.0776461661, 0.0755152404, 0.0598782897, -0.0092240144, 0.039157711, -0.0112883821, 0.0305021182, 0.0180280227, 0.0480647311, -0.0623345152, -0.0153773902, -0.0472894236, 0.0535777025, -0.0725412443, -0.0152502367, -0.0297913123, -0.0000314212, -0.0494625382, -0.0188975986, -0.0306236651, -0.0366965085, -0.0259681437, 0.0032150315, -0.0513364747, -0.023826668, -0.0566515997, -0.0093134213, -0.0492013507, 0.0140529517, -0.0458495803, -0.0708674639, 0.018293757, 0.0385630727, -0.0112323137, -0.0481659025, 0.0126723219, 0.076382257, 0.0160917826, -0.0273501556, -0.0078447219, -0.0305931568, -0.0027761948, -0.0341680497, -0.0432330966, -0.0125947567, 0.0725069642, -0.0334718153, 0.0295420028, -0.0563915558, -0.0038519558, -0.0189248268, -0.0010674977, 0.0470233709, -0.0108308708, 0.0144845536, -0.0124836331, -0.0018784563, -0.0986557305, 0.0069179623, 0.0792984366, 0.0511269607, 0.0485421754, 0.0020706279, -0.0272424202, 0.004511286, -0.0421790667, 0.0182362646, -0.072206445, 0.0146788331, -0.0123954639, 0.0753094181, 0.007495834, 0.0661908686, -0.0280680582, 0.0221006535, 0.0597762652, 0.0545097664, -0.0129577471, 0.0076513686, 0.0964198411, 0.0213485695, 0.0252674744, 0.0162584726, -0.0037538735, 0.0104811629, 0.0388584659, -0.0043925918, 0.0211798176, 0.0601216182, 0.0286699235, -0.0084116887, -0.0190778114, -0.0121650035, -0.0129886586, -0.0449451879, -0.0188081767, -0.0019473837, -0.0035362639, 0.0093537085, -0.0042692185, -0.0191652495, -0.0118990596, -0.0159982685, -0.0549548268, 0.0704478323, 0.0444209836, 0.0028028234, 0.0179575346, -0.0315089189, -0.01640963, 0.0442667082, 0.0079766, 0.0200045593, 0.0232744347, -0.0049564554, 0.0308519937, -0.0056846146, 0.0304744784, 0.0170498695, -0.03624814, 0.0681216642, 0.021038048, -0.0548510849, -0.0622870438, 0.0364607982, -0.0187667608, 0.0115957195, 0.0066900924, -0.0044680145, 0.0317929797, -0.0264071934, -0.0492133126, 0.0074814218, 0.0185738038, -0.0482135043, -0.0274855811, 0.1290480644, -0.0175274666, 0.0136570381, 0.0498993136, -0.1059966981, -0.0142268939, 0.0273009539, 0.0066409656, -0.0094575277, 0.0049745436, -0.0512260124, 0.0556126162, -0.0500618145, 0.0144739309, -0.0372060128, 0.0188505407, 0.0202820599, -0.0008483994, -0.0054363827, 0.0302882735, -0.0166553408, -0.0369518846, 0.0075599002, 0.0452325903, -0.0163336303, 0.0112419361, 0.0216203127, 0.02093409, -0.0068024192, -0.0166788753, -0.0540867969, -0.0397212356, -0.0789297074, 0.0217349567, -0.0014968372, 0.0081090266, 0.0680821612, -0.0222874433, -0.0325089656, 0.0200714134, 0.0091254124, -0.0234477054, -0.0072313072, -0.0068086195, 0.0347803123, -0.0388622507, 0.0032585855, -0.0174800251, 0.0399676003, -0.0080386922, 0.0653479174, 0.0132939583, 0.0256366692, 0.011615782, 0.0026136178, -0.0669668987, -0.0514640249, 0.0147528937, -0.0840046555, -0.0079599973, 0.0421794541, 0.0676698983, 0.0251337402, 0.0110016726, 0.0154222362, 0.055686675, -0.0154456329, 0.0001357549, -0.0460067652, 0.0279531721, -0.0366316475, -0.0196294431, -0.0931859091, 0.0318830758, 0.0212020352, 0.052135624, -0.0080462722, -0.0395662561, 0.0515591726, -0.0198165253, -0.0221409239, 0.0377556197, 0.0404912606, 0.0005650574, 0.044507388, -0.0135892164, -0.0240536369, 0.0751175135, -0.030360667, 0.0031534233, -0.0123151913, 0.0009362252, -0.0052383989, 0.0683577806, -0.036934305, 0.043957945, -0.0173195638, 0.0469230562, -0.0096917748, -0.0254060924, 0.0299784038, -0.0372921117, 0.0144373095, -0.0547103882, -0.0262250397, 0.013387342, 0.0319387428, 0.0224387534, -0.0297471266, -0.0253158305, 0.0111206481, 0.0086250501, -0.0152115189, -0.0323345028, -0.0285616852, 0.0031228308, 0.0165457148, 0.001453434, -0.0313190445, -0.0217504911, -0.0054548904, 0.0089705912, 0.0056229518, 0.0169160534, -0.0071097361, 0.0561965518, 0.0329665393, -0.070759587, -0.0202123225, -0.0309074055, 0.0053574224, -0.0179528594, -0.0225378312, 0.0319196694, -0.0130190076, 0.0569696985, -0.0118770292, -0.003320344, 0.0714877769, 0.0449302383, 0.0128078992, 0.0331736691, -0.0288695004, 0.0218136217, 0.0138729801, 0.0061671771, -0.0802898481, -0.026154574, 0.013085939, 0.0232151654, -0.0161494762, -0.0329421498, -0.0180431809, -0.0671475753, 0.0379812196, 0.014760647, -0.0129041458, -0.0055125267, 0.0200812928, -0.0110748746, 0.0012015318, 0.0007914336, -0.0204061251, 0.0170030594, 0.0152421333, -0.0244915523, 0.0508296676, -0.0418144166, 0.037560042, -0.0431790203, 0.0147580188, -0.024440594, 0.0981213897, -0.0157882292, -0.0388230048, -0.0607782416, -0.0038473888, -0.008556488, 0.0379983298, -0.0241544433, -0.000120371, 0.0298704933, 0.0008249368, -0.003392902, 0.0300544258, -0.0371247083, 0.0206423588, 0.0476648398, -0.0434281752, 0.0034821003, -0.003915824, -0.0003785117, -0.0293936655, 0.0802279338, 0.0558165722, -0.0473929271, 0.0401448309, -0.0307502393, -0.009522954, -0.0309456028, -0.0148613118, -0.0074253795, -0.0932448953, -0.0053410023, -0.1128009483, -0.0295830555, 0.0036243631, 0.0274042152, 0.0286117792, -0.0368420668, -0.0459649302, -0.0255270544, -0.0629258975, 0.0606960282, 0.0013145347, 0.0201781448, -0.0142807523, 0.0314150676, 0.0303513054, -0.0548604429, 0.0042502652, 0.0414620079, -0.0278579835, -0.0465922877, -0.0138939479, 0.0147496015, 0.0209583249, 0.0044521769, -0.0130394865, -0.0125363488, 0.0143520553, 0.0133300647, -0.0491094813, 0.0427172557, 0.0042548962, 0.0217296835, 0.0061276066, 0.0451791547, 0.0084446389, 0.0301356148, -0.0005648183, 0.0367000997, 0.0341186151, -0.0039907913, 0.0371260531, 0.0262693167, 0.010586598, -0.0444845445, -0.0856251642, -0.0091371862, -0.0327405371, -0.0311662965, -0.055987481, -0.0296380408, -0.0019953246, 0.0390859209, 0.0444622301, -0.0460872799, -0.0520279668, -0.0473622195, -0.0296960212, 0.0540580116, -0.0101650218, 0.013753497, 0.0268112496, -0.0224526636, 0.0459481329, -0.0234016292, -0.0378519706, -0.0620300286, 0.0331054926, -0.0280579776, -0.0255831145, 0.0200501382, -0.0055232421, 0.0110938894, 0.0579509325, 0.0112444488, -0.0113413585, -0.0066963374, -0.0069573629, 0.0482649095, -0.0096936179, 0.0694320574, -0.0341835357, 0.0055185165, 0.0116082691, 0.0519377999, 0.017279299, -0.0051633655, -0.0429326631, -0.0128993588, -0.0058660032, 0.0283781812, -0.0135304062, -0.1193483174, 0.0196588542, -0.0000898793, -0.0496303737, -0.002387603, 0.0109234415, -0.0419214182, -0.0217247326, 0.0260031633, -0.0166294742, -0.0825024173, -0.0613863617, 0.0751170889, 0.0422335826, 0.0090619754, -0.0039022886, 0.0012516861, 0.0463260226, -0.0044210893, 0.0482737757, -0.073637329, -0.0069425232, -0.041661758, 0.0347600915, -0.0476718992, -5.571924773e-33, -0.0328461044, -0.0111188507, -0.0408349894, -0.0422547422, -0.0487372912, 0.0126696071, -0.0579430498, -0.0134116672, 0.0257343948, 0.0378344618, 0.0183136743, -0.0221334677, -0.0011423983, -0.0445923582, 0.0267719422, 0.060423892, 0.0191751104, 0.0160207972, -0.0622878373, -0.0504887216, 0.0415731929, -0.0058909967, 0.0865966082, -0.0261504054, 0.056737598, 0.0115400963, -0.0460981652, -0.0133539457, 0.0294779371, 0.0415422879, 0.003680408, 0.0403837264, 0.003294447, 0.0286360513, -0.0022615166, -0.0486688279, -0.0040079295, -0.0111353006, 0.0429801978, 0.0036797454, -0.0103354044, -0.0261484645, 0.0499575958, -0.0310088433, -0.0356729999, -0.0045835883, 0.0222731065, -0.030918818, 0.0371534936, -0.0298294574, -0.0406901389, 0.0069583296, -0.0262276642, -0.0215476193, 0.0009387068, 0.0580202937, -0.0096269296, 0.0594052821, -0.0814141259, 0.0184760503, -0.0727136657, -0.0138321379, 0.0055262344, -0.0608603023, 0.01332819, 0.0686609149, 0.0139549179, -0.0048919031, 0.0042888899, 0.0673625097, 0.0492248349, 0.0071004354, 0.0589264743, 0.0836361423, 0.0595821328, -0.023508314, 0.0166395288, 0.0290484037, -0.0131341908, 0.0306877811, 0.0114352945, 0.0143733323, -0.0103065381, 0.0333862901, -0.060724631, -0.0276213996, 0.0059433971, -0.0353886485, -0.0017703412, -0.0308944508, -0.012721994, -0.0019953558, 0.0238577798, -0.0076378682, 0.016415637, -0.0414160974, -0.0565668158, 0.0561808422, 0.0059096711, 0.0274007041, 0.0566757098, 0.0015558577, 0.0089272233, 0.0228338428, 0.0649728104, -0.0298163071, 0.0438162126, 0.0145601723, -0.0544516295, 0.0365889929, -0.0134016695, -0.0346917026, -0.0402417034, -0.0625766218, -0.0175570138, 0.0186938662, -0.0257503223, -0.0162349902, 0.0398401245, -0.0055793854, -0.0377970263, 0.051049877, 0.0108033754, 0.0347403102, -0.0421283841, 0.0283423793, -0.0313837491, -0.0481480993, 0.0403872989, -0.0412715636, -0.0276296735, -0.0252080467, 2.704e-7, 0.0352714136, 0.0372676253, 0.0084659606, 0.0306899622, -0.0057769269, 0.0432646833, -0.0301235672, 0.0236494541, -0.0086046457, 0.0105906921, 0.0087695876, 0.0240445025, 0.0482468344, 0.0522534288, -0.0801361352, 0.0162253492, -0.0452917963, 0.0128541887, -0.0386969596, -0.0011829083, 0.0748954937, 0.0193775538, 0.0407346562, 0.006512695, -0.0064086854, -0.0446251705, 0.0474872142, -0.0651639625, 0.0130021907, 0.0133825038, 0.0340395533, -0.0108614909, -0.0004411578, 0.0013692802, -0.0012770547, -0.0014008619, 0.0427277423, 0.0315397456, -0.024917772, 0.0093696667, 0.000070066, -0.0574961379, -0.0136270123, -0.0446860269, 0.0176598188, -0.0249115061, -0.0259723812, -0.0230291784, -0.0196974128, 0.0182479303, 0.0911279321, -0.0366667174, -0.0542592779, 0.0452647805, 0.0539157875, 0.0166155584, -0.0041889665, -0.0062045055, -0.0353997089, 0.0016728427, 0.0099119749, -0.0085099675, 0.0188271664, 0.008161677, 0.0058154985, -0.0870093778, 0.0039805681, 1.768624808e-34, 0.0347423926, 0.0012648228, 0.0356500894, -0.0078271739, 0.0860948339, 0.0028093352, 0.0429182462, -0.020988252, -0.0219139326, 0.003478324, -0.0164000783 ]
http://arxiv.org/abs/2407.00071v1
http://arxiv.org/pdf/2407.00071v1
Combinatorial Reasoning: Selecting Reasons in Generative AI Pipelines via Combinatorial Optimization
2024-06-19T16:47:44
2024-06-19T16:47:44
Mert Esencan, Tarun Advaith Kumar, Ata Akbari Asanjan, P. Aaron Lott, Masoud Mohseni, Can Unlu, Davide Venturelli, Alan Ho
cs.AI
cs.AI, cs.CL, cs.ET, cs.LG
Recent Large Language Models (LLMs) have demonstrated impressive capabilities at tasks that require human intelligence and are a significant step towards human-like artificial intelligence (AI). Yet the performance of LLMs at reasoning tasks have been subpar and the reasoning capability of LLMs is a matter of significant debate. While it has been shown that the choice of the prompting technique to the LLM can alter its performance on a multitude of tasks, including reasoning, the best performing techniques require human-made prompts with the knowledge of the tasks at hand. We introduce a framework for what we call Combinatorial Reasoning (CR), a fully-automated prompting method, where reasons are sampled from an LLM pipeline and mapped into a Quadratic Unconstrained Binary Optimization (QUBO) problem. The framework investigates whether QUBO solutions can be profitably used to select a useful subset of the reasons to construct a Chain-of-Thought style prompt. We explore the acceleration of CR with specialized solvers. We also investigate the performance of simpler zero-shot strategies such as linear majority rule or random selection of reasons. Our preliminary study indicates that coupling a combinatorial solver to generative AI pipelines is an interesting avenue for AI reasoning and elucidates design principles for future CR methods.
[ 0.0381025523, 0.0823661163, -0.0076986453, 0.0097232061, -0.0732791424, 0.0375516973, 0.0538725629, -0.0051353131, 0.0126999943, -0.0252943747, 0.0432232991, -0.0451448411, -0.0082127061, 0.0088651879, 0.015210174, -0.016999485, -0.000680761, -0.0839488879, 0.0301045272, -0.0254688151, -0.0305556264, 0.0588386282, -0.0560930185, 0.0254694428, -0.0293635279, -0.0072906851, -0.0087876888, -0.0215430409, -0.0035044176, -0.0118803652, -0.0410965644, 0.0298118219, 0.0202132296, -0.0174864065, 0.0000025753, -0.0549467243, -0.0088182166, 0.0049282978, -0.0946062282, -0.0206269529, -0.0258520897, 0.0414939933, -0.0131030828, 0.0476017259, -0.0371610187, 0.0039240746, 0.0431703515, 0.0416407399, 0.0245387778, 0.0536273941, -0.0006990337, -0.0325767323, 0.0142587414, -0.013183252, 0.0102133825, -0.0422593728, -0.000400844, -0.02710527, 0.0388239101, -0.0076321051, -0.0017558197, 0.0171364415, 0.0300842822, -0.0444652848, 0.0078590652, 0.0298613962, -0.0208473261, -0.031796813, 0.0072394805, 0.0701040402, -0.0275924765, -0.0349583924, 0.0031704446, -0.0139455888, -0.0116230566, -0.0059104906, -0.035979595, 0.0656961948, -0.0340465382, 0.0455311202, 0.0209740326, -0.0141276438, 0.02486258, 0.0079246592, -0.0524425954, 0.0897377953, 0.0032718086, -0.0206140261, 0.0503732935, 0.0063938648, 0.0120060751, -0.0844835266, -0.0267211143, 0.0599216521, -0.0747450292, 0.0146883447, 0.0303180777, 0.0223013349, -0.0037448911, 0.021349933, 0.0567385778, 0.0493260846, 0.0286977477, 0.0511360466, -0.0171362851, 0.0394341312, -0.021745909, 0.0176704172, -0.0278742537, -0.0241334252, -0.0629265383, -0.0125669455, -0.028357299, 0.0456262603, -0.0586416982, 0.004992045, -0.0115284706, 0.0413960293, -0.0244409181, 0.0329745486, 0.0269301943, 0.0233361851, 0.0331939571, -0.0539629981, -0.0309970398, 0.0009306062, -0.0799729154, 0.0062691271, 0.0249371063, -0.0560614131, -0.0332497321, 0.0248276386, 0.0107370745, -0.0440736227, 0.0053804978, 0.0784679502, -0.0132415919, -0.0014974739, -0.0381406732, -0.0248333719, -0.0298850704, -0.078437157, 0.0075740027, -0.0520621613, 0.0037045453, 0.011005383, -0.0031566855, -0.0248035789, 0.0163180362, 0.0080691511, -0.0066317772, 0.057606291, 0.0149763944, 0.0228591338, 0.0098108398, -0.0297059491, -0.0317065679, 0.0644892454, 0.0316940062, 0.0134529881, 0.0007097273, 0.0118687088, 0.0195886753, -0.037592791, 0.0034637842, -0.0055237659, -0.0077376543, -0.018577354, -0.0249448009, 0.0400282219, -0.00910707, 0.0556138344, -0.0129030589, 0.0148925837, 0.0170514788, 0.0577312708, 0.0238568559, 0.0107702361, 0.0474592149, 0.0046128081, -0.029102657, 0.0028359483, -0.0324886031, 0.0806675106, -0.0389343649, -0.0103910994, 0.0100039821, 0.0381054319, -0.0294999182, -0.0721568167, -0.0147317909, 0.0291027855, 0.0021331448, 0.036195159, 0.0363885388, -0.0258635655, -0.0413521454, -0.0178368799, 0.0067847795, -0.0457081497, -0.0493078157, -0.0629551634, 0.06266509, 0.0664821565, 0.0533679165, 0.0090372553, -0.0211728066, -0.0044817487, -0.0064827153, 0.0256270524, 0.023782067, -0.0265767127, 0.0089191813, -0.0656463206, -0.0316403024, -0.0270918701, -0.0046166033, 0.0302783996, -0.0180378631, -0.0121134305, -0.0157488827, 0.0131071191, -0.0162704494, 0.0310237613, -0.0025650004, -0.0192980301, 0.0595776998, 0.0303980578, 0.0324845947, -0.0005486206, 0.0018409481, 0.0364344008, 0.0026197743, -0.0609814227, -0.0397025123, 0.0018964545, -0.0322086364, -0.0264868345, 0.0178270414, -0.0207495485, -0.0070909248, -0.0037903551, -0.0393618941, -0.0441024527, 0.0406700708, -0.0204442944, 0.0104894517, -0.0373287275, 0.0036708713, 0.0078251967, -0.0030446709, -0.0329091772, 0.0882532373, 0.0232105013, -0.0258387234, 0.0238264743, -0.0088285813, 0.0417240635, -0.0604641214, 0.0257386174, 0.0532295704, -0.0070135933, -0.0083735818, 0.0258409716, -0.0078942142, -0.021195963, -0.0203483105, -0.0796297714, -0.0015683679, -0.0161731578, -0.0040157135, -0.0363694541, -0.0169437546, 0.0181062445, 0.0076497383, -0.0492656454, 0.0021923231, 0.0088167125, 0.002141491, 0.0526031777, -0.0121813044, -0.0183047224, -0.0139298514, -0.0129512409, -0.0358319357, 0.042512998, 0.0231535006, 0.0132257063, -0.01354005, 0.0172441658, -0.0128682088, 0.0069529028, 0.0069013364, 0.0119899549, 0.0218910314, -0.0388646163, 0.0171658099, 0.10983897, 0.0182449464, 0.013026461, 0.0643272027, -0.0119051915, -0.0547994152, 0.0511093959, -0.0164561775, -0.0112424167, 0.0152149377, -0.0327403359, 0.0079145059, 0.0311189592, -0.0081090378, -0.0290512387, -0.0696072504, 0.0672744736, 0.0340482555, 0.0061271428, -0.0684115738, -0.0356580652, 0.0031470761, 0.1040007696, -0.0107660387, -0.0137611274, 0.0959006324, -0.0129172588, 0.0126561206, -0.0427666828, 0.0098409234, -0.057735879, 0.0317241177, -0.0396449789, 0.0166289043, -0.0200953726, 0.0216192547, -0.0416346155, -0.0159740914, 0.0164157432, -0.011276762, 0.0110958898, -0.0677898899, 0.026482366, 0.0147782536, -0.0598491728, -0.0561289936, 0.0082472106, -0.0266569778, 0.001712799, 0.0336457156, 0.0010888808, 0.0025419269, 0.0224461518, 0.0078681028, 0.0147445602, -0.0019567334, -0.0161394943, 0.0033646545, 0.0147763193, 0.0152171627, 0.0045195441, 0.0543173291, 0.0077725127, 0.0649608523, 0.0010163637, 0.041061759, 0.0447393879, 0.0051005278, 0.0506602898, 0.0154388035, -0.007575389, -0.0107649378, 0.0284592602, 0.0397341289, -0.0258876253, -0.0180202164, 0.092700921, 0.0526196323, -0.0325961486, 0.00814992, -0.0304799248, 0.013760631, 0.0021268285, 0.0624590218, -0.0556391031, -0.0437540635, 0.0303107053, 0.0379914641, -0.0368757248, -0.0305200983, -0.0221611578, -0.1382793933, 0.0540967882, -0.0031308373, 0.0069867447, -0.0098768556, -0.0382685252, -0.0116101541, -0.0190325491, -0.0353759676, 0.0260581486, 0.0389771499, 0.0073924628, 0.0215769615, 0.0317207985, -0.0296266321, 0.0384533182, 0.0130119286, 0.0399185866, 0.0677223653, 0.047572799, 0.0443502106, -0.0564328693, 0.0146094942, -0.0107789794, 0.0089940997, -0.0100258878, 0.0022272298, 0.0315517895, -0.0101378746, -0.0165877398, 0.0509359688, -0.04564685, -0.035241276, 0.0153454179, 0.0782207251, -0.0353782289, -0.0400924012, -0.0137909437, 0.0185742415, -0.0050057522, 0.0795374662, 0.0351603851, -0.0235556699, -0.057206165, -0.070224382, -0.0202456973, -0.0936880335, -0.0003849241, -0.0043758927, 0.0552406237, -0.0243544783, -0.0811884254, 0.0044671968, 0.0340278409, 0.0762130842, 0.0071746162, -0.0333037339, 0.0107507557, 0.0174477566, 0.0182069447, -0.0085685309, -0.0174963325, 0.019104803, -0.0547033325, -0.0131315934, -0.0039589861, -0.0517344847, -0.004588353, 0.0366729423, -0.0500448272, -0.066349566, -0.0342898034, 0.0435672775, 0.0305202734, 0.0301184524, -0.0171235818, -0.0311510507, 0.024754392, 0.0420867763, 0.0411079898, -0.0121705066, 0.0121274153, 0.0022044179, -0.0042667692, 0.0321805626, -0.0210590959, 0.0486244038, 0.0210232232, 0.0619957224, -0.0424312428, -0.0119153718, 0.0432011336, 0.0334259942, -0.0132395746, -0.0145101445, -0.0308323503, -0.0377394855, 0.0300837439, -0.0079842452, -0.0251480676, -0.0401600786, 0.0332394317, -0.0051783123, -0.04959796, 0.0277793873, -0.0779695362, -0.0077570775, 0.0452804118, 0.0221879724, -0.0173742287, 0.0157742649, 0.017556617, 0.0158684794, 0.0044697584, 0.0011675983, 0.0568966642, -0.0110940859, 0.066449821, -0.0087151676, 0.0973740816, 0.0375508256, -0.0035842841, -0.0288225934, -0.0208830889, -0.0716883466, -0.0930987597, 0.0255327001, 0.0231669918, 0.0502572209, -0.0005549956, -0.0017280773, -0.0252665021, -0.0070705228, 0.0129169347, 0.0229471177, 0.0400005169, -0.0343851335, -0.0214516576, 0.0513249226, -0.0023868165, -0.0395016447, 0.0383451618, -0.0403854065, 0.0140838176, -0.017199859, 0.0184075255, -0.0420694612, -0.0437904298, -0.0179207157, 0.0388320014, 0.0298568793, 0.0358659513, -0.0763052851, -0.0476137213, -0.0217496008, 0.0113258744, 0.00778569, -0.0191135928, 0.0477664247, 0.0403608792, -0.0138535211, -0.00662131, -0.0353373103, -0.0040100627, -0.017287299, -0.0137443701, -0.0455038808, -7.162034348e-33, -0.0224311594, -0.0406633615, 0.0240564831, -0.0254969429, 0.0458482727, -0.0298536215, -0.057742402, -0.0205014162, -0.0401517041, 0.0142336879, -0.0380075648, -0.019339459, -0.0001904727, 0.0166189447, 0.0121225305, 0.0060797743, 0.0003718257, 0.0086951908, -0.0517606661, 0.0396555997, 0.0523988642, -0.0346086435, -0.0440273397, -0.0014215099, -0.025459772, 0.0299235024, -0.0246422123, 0.0566504113, -0.059655901, 0.0166298766, -0.0226470064, 0.01077516, 0.006458573, -0.0659388378, 0.0314426534, 0.0206087232, -0.0465801023, -0.0397355147, 0.0327582881, -0.0463257059, -0.0189474784, -0.0662560463, -0.0141353635, -0.0017916997, -0.0223999489, -0.0085028578, 0.0007828798, -0.0154034812, -0.0132493395, -0.0346034504, -0.0149029437, -0.0105476622, -0.0544850715, -0.0277638398, -0.004531838, 0.0381303318, -0.0184700917, 0.022338884, -0.0111948941, 0.0548283085, 0.0271822307, -0.0315459818, 0.0753131658, -0.031923987, -0.0028756806, 0.0277308282, 0.0243986044, -0.0180893503, -0.0806840882, 0.020370258, -0.0206161365, 0.0268006325, 0.0674726367, 0.0133229708, 0.0375379957, 0.0169082265, -0.0690570101, 0.000227164, 0.0068471478, 0.0261812378, 0.088665992, 0.0222250521, -0.0470291227, -0.0600807257, -0.0418838523, -0.0418411121, -0.0473240688, -0.00450631, 0.0290844217, 0.0015480695, -0.0551534854, -0.0432549603, 0.034167774, -0.0224973205, 0.0139748966, 0.0610359013, -0.0140277361, 0.0103412848, 0.0037751633, 0.0080965478, -0.0335534774, 0.0104398364, 0.0359845087, 0.0127144773, 0.0268330853, 0.0315271281, 0.0035020099, -0.0041369996, -0.0327473767, -0.0098945433, -0.095411256, 0.0496483557, 0.0012283833, 0.0041659973, -0.0095909722, 0.0371279456, 0.0125016868, 0.0368554778, -0.0105948541, 0.0086506894, -0.012470115, 0.0409202017, -0.0583247021, 0.0163125955, -0.0203925818, -0.0037558293, 0.0001816869, -0.0127994586, 0.03469887, -0.0404075868, -0.023071833, 0.0479692779, 3.197e-7, -0.0092422003, 0.0573442504, 0.0218602512, 0.0087379897, -0.0043264856, 0.0388271473, 0.0167500954, -0.043431744, 0.0046878853, -0.0159598552, 0.0013707436, 0.0874885917, 0.0368093029, 0.0415051319, -0.0648316815, 0.0098576546, -0.0092117088, -0.0394271351, -0.0435832143, -0.005093928, 0.0929233804, 0.0529005229, 0.0164710321, -0.044309631, 0.0307768974, -0.0168969482, 0.008481903, -0.0013411931, 0.0308256652, 0.0290411022, 0.0271199215, -0.0522920154, -0.0032968367, 0.0464279689, 0.0092759533, -0.008751695, -0.0352061167, 0.0596680157, -0.0065668277, -0.0762584433, -0.0286319405, 0.0020627405, 0.0188320801, -0.0555462502, 0.1020257026, -0.0223887302, -0.0300969444, -0.0166289452, 0.0146016115, -0.0128228823, -0.0168188978, -0.0177077446, 0.0048963772, 0.0169844124, -0.0135837458, -0.0212657377, 0.0482148267, -0.0855518803, 0.0210051555, 0.0111264978, -0.0184396915, 0.0024516729, -0.0169651713, 0.0280526131, 0.0550874248, -0.0411308743, -0.0024192187, 3.122659187e-34, 0.0225813054, 0.0149421599, 0.0286400132, 0.0237015244, 0.0516562723, 0.045507323, -0.0822507441, -0.0070717991, 0.0464888364, -0.0913373977, -0.0277334936 ]
http://arxiv.org/abs/2406.15504v1
http://arxiv.org/pdf/2406.15504v1
Dr.E Bridges Graphs with Large Language Models through Words
2024-06-19T16:43:56
2024-06-19T16:43:56
Zipeng Liu, Likang Wu, Ming He, Zhong Guan, Hongke Zhao, Nan Feng
cs.CL
cs.CL, cs.LG
Significant efforts have been directed toward integrating powerful Large Language Models (LLMs) with diverse modalities, particularly focusing on the fusion of vision, language, and audio data. However, the graph-structured data, inherently rich in structural and domain-specific knowledge, have not yet been gracefully adapted to LLMs. Existing methods either describe the graph with raw text, suffering the loss of graph structural information, or feed Graph Neural Network (GNN) embeddings directly into LLM at the cost of losing semantic representation. To bridge this gap, we introduce an innovative, end-to-end modality-aligning framework, equipped with a pretrained Dual-Residual Vector Quantized-Variational AutoEncoder (Dr.E). This framework is specifically designed to facilitate token-level alignment with LLMs, enabling an effective translation of the intrinsic `language' of graphs into comprehensible natural language. Our experimental evaluations on standard GNN node classification tasks demonstrate competitive performance against other state-of-the-art approaches. Additionally, our framework ensures interpretability, efficiency, and robustness, with its effectiveness further validated under both fine-tuning and few-shot settings. This study marks the first successful endeavor to achieve token-level alignment between GNNs and LLMs.
[ -0.0197210927, 0.075201042, 0.0085896803, 0.0496410169, -0.0068858406, -0.0034400467, -0.0231911372, -0.0277320761, 0.0077327634, -0.0394205414, -0.0152991833, -0.0093061412, 0.0034399284, 0.0805294514, 0.0496105887, -0.0031040765, 0.0336472951, -0.0139823202, -0.0049576173, -0.0128092645, 0.0032277994, 0.0545089021, 0.0275832433, 0.0266639385, -0.0349990577, 0.0038038576, -0.0123012094, 0.0515984222, -0.002571576, -0.028402973, -0.04677644, 0.0175382923, 0.0899705589, 0.0360382646, 0.0000017637, -0.0005807024, 0.0129971104, 0.0043496708, -0.0482443348, -0.0044563618, 0.0323169567, -0.0410799682, 0.021756215, 0.0000992778, -0.0106558893, -0.0682760924, 0.0447206534, 0.0054166904, 0.0483303554, 0.0627288073, -0.0231638718, -0.0192994308, 0.0548145734, -0.0416462421, -0.0078040357, -0.0430453904, 0.0415574796, 0.0153530454, 0.0028967054, -0.0128918914, -0.0862876549, 0.0337811299, 0.0161006488, -0.0275215432, 0.0436396785, 0.0271996651, 0.0104625095, -0.0009797685, -0.0154679008, 0.1240596101, 0.0075211911, -0.0477057509, -0.0136278272, -0.0167327803, -0.0135642476, 0.0061700358, -0.0314311273, -0.015262194, 0.051071763, 0.0366009697, -0.043450769, -0.029313514, 0.1084778383, -0.0107941963, -0.0212289002, 0.0196150932, 0.0173827987, 0.0098621966, 0.0036119455, 0.0008127987, -0.0287282839, -0.0312930085, -0.0240382981, 0.0276705064, -0.0443829075, -0.0009937694, -0.0554927774, -0.0138210049, -0.0329211429, 0.0256656781, 0.0125420969, 0.0189490244, -0.0224784389, 0.0470361523, -0.0224694051, 0.0386017971, -0.0616365112, 0.0602417365, -0.0478023998, -0.0412788913, -0.0151518481, -0.0081870155, -0.0121376589, -0.0077833841, -0.0259455368, -0.0974295735, -0.0366771072, 0.0467934646, -0.0183175411, 0.0331333205, 0.0170158464, 0.0550867245, -0.0042976253, -0.012111919, 0.0432442613, 0.0482576936, 0.0094683832, 0.0354801565, -0.0309084784, 0.0156456567, 0.0095531233, 0.0402574539, 0.062073525, -0.0247950144, 0.0069382708, 0.0836544931, 0.020870382, -0.0032264807, 0.0134393387, 0.0136667779, -0.0298068095, -0.0264417585, 0.0095503917, -0.0695438981, 0.0683684349, 0.020178372, -0.0006291834, -0.0438957997, 0.0229957364, -0.0455336459, -0.0405984074, 0.0912809148, -0.0097049288, 0.0253418665, 0.005527623, -0.0326054543, 0.0353484005, 0.0423076525, 0.0507377125, 0.0265106205, 0.0097095221, -0.0112944143, -0.0450155847, 0.0573464669, 0.0322524831, -0.0066741919, -0.0487558432, -0.022507377, -0.0418391041, 0.0369909815, 0.0510798804, 0.0545828007, -0.0234330557, -0.0325035006, 0.0362312794, 0.0401979648, 0.0088834753, -0.0058071674, 0.0426525548, 0.0295051988, -0.0369136594, -0.0350180194, -0.0539692268, 0.0060091969, 0.0181981064, 0.0271195378, 0.0026315202, -0.0041324757, -0.0118454872, 0.01545888, -0.0103662033, -0.0396762937, 0.0680498928, 0.0244802516, 0.0623011366, 0.0107262088, -0.0423184708, 0.0408337638, 0.0448695906, 0.0013254117, 0.045582328, 0.0015648735, -0.0180329401, 0.0415171161, 0.0236782059, 0.0194259826, -0.0047202148, -0.0149099287, 0.0132060228, 0.0075324071, -0.0032093688, -0.0150503386, 0.0161358658, -0.0556582101, -0.0703733265, -0.030989591, -0.0081790127, 0.0490017682, -0.0320725217, -0.0040191882, 0.0211474355, -0.0983015969, -0.0100002429, 0.019296106, 0.0291681532, 0.0094706155, -0.0064542973, 0.0157606751, 0.0053490265, 0.0296765678, -0.0044989674, 0.016484594, 0.033174675, -0.0272868741, 0.0100771086, 0.0135723995, -0.0526288673, -0.0358550362, 0.0316861607, -0.0179805048, -0.0410452336, 0.0164730698, -0.0623414889, -0.0446279757, 0.0525844358, -0.0542997271, 0.0258796122, -0.0060136765, -0.0145632634, -0.0044715116, 0.0228349697, 0.0102123255, 0.028104445, -0.0007011882, -0.0096008843, 0.0088244444, 0.0268434267, 0.008014705, -0.0417860374, -0.021250641, 0.0341199525, 0.017718548, 0.0024115152, 0.010963724, -0.0353400074, -0.02965785, 0.0286731459, -0.1215063184, -0.0116947265, -0.0134469159, 0.0087765874, 0.0047954456, 0.0140973246, 0.0063695665, -0.0205997769, -0.0531602055, 0.0352371968, 0.0296007004, -0.002552592, 0.0289758258, -0.0259660035, -0.0201885961, -0.0142287351, -0.0313234217, -0.0292493887, 0.0829473585, -0.0053259153, -0.0266424492, 0.0020969803, -0.0215819124, -0.0308237132, 0.0230744239, -0.0222014301, -0.0140065616, -0.0100084106, 0.0021742268, 0.0616586022, 0.0308469068, -0.0278381463, 0.0276989285, 0.0294088311, -0.0231203474, -0.0439838246, -0.0088937115, -0.0298105497, -0.0095142853, -0.0656714514, 0.0044432483, -0.0445111357, 0.0314063393, 0.0178006031, 0.0165886693, -0.0304036327, -0.0041900612, 0.0029085923, -0.0118624046, -0.0240489934, -0.0526471809, -0.0205106642, -0.0040068114, -0.0727848709, -0.0195757262, 0.0711929724, -0.0306939948, -0.0228972156, 0.0546496436, -0.0276852138, -0.0488635786, 0.0533628874, 0.0604472198, 0.0214450508, -0.0400305651, -0.0414207056, -0.0478197113, 0.0010451111, 0.0008836776, -0.0227905773, 0.0377800651, 0.0171317775, 0.0264294501, -0.0015876093, -0.0244983546, -0.007979908, -0.0129435817, -0.0301499516, 0.0283727162, 0.0135130649, -0.0348598957, -0.0196286496, -0.0068183071, -0.0150778499, -0.0106647434, -0.0178352296, 0.0343542174, -0.0452845395, 0.0729855075, 0.0642812625, 0.0016926667, -0.0102201793, -0.0289135985, -0.0203331355, 0.0328212269, 0.0100146765, 0.005694475, -0.0591059588, 0.0242808815, 0.0028138405, 0.0521545671, 0.0105500109, -0.0125593832, 0.0661568716, -0.0328921117, 0.0088217976, 0.0680645928, -0.0089037148, -0.04711923, -0.0121039841, 0.0174857602, 0.0276857615, 0.0111874472, -0.0050251293, -0.0810035318, -0.0420580879, 0.0004254025, 0.0122885508, 0.0605711043, -0.010647255, -0.0074160374, -0.0746788606, -0.0029494665, 0.0392414927, -0.0137536228, -0.0429323278, -0.0292968191, -0.003335641, -0.01679313, 0.0431061573, -0.0560672358, 0.0025234998, -0.0235696845, 0.0135772498, 0.0151488511, -0.0308788754, 0.0130480183, -0.0397262387, 0.0370227993, 0.0202273987, 0.0536070839, -0.0154350512, -0.0046766843, 0.0552641302, -0.0058166506, -0.0252343304, 0.0182177965, 0.0145460283, -0.0255204793, -0.0052522612, 0.004383164, 0.0242136084, -0.0361272581, -0.0299930666, -0.0569360629, 0.0795746967, 0.0117566008, -0.0242237523, -0.0199377779, -0.0388377644, -0.0123126181, 0.0090350388, 0.0597468503, 0.012317122, -0.0221565831, -0.0297705941, 0.038005501, -0.0466133133, -0.0361309461, 0.0061314958, -0.0091474149, 0.0117552588, -0.020807445, -0.0146895535, -0.0016642824, -0.0115466826, 0.0085794823, -0.0111657418, 0.0271517672, -0.0505661257, -0.1078478768, 0.0611148849, -0.0340690874, 0.0427583717, -0.0254655182, -0.012591972, 0.0197370984, -0.0250727199, -0.0081824427, 0.0132207992, -0.0965680629, -0.0770944133, -0.0286435094, -0.0260613281, 0.0040235673, 0.0693198666, -0.0265250802, -0.0067405761, 0.0704009607, 0.0423568338, -0.0247899033, -0.0057346374, 0.0026994867, -0.0210411679, -0.029255053, 0.0216814708, -0.0865361094, 0.0175159927, 0.0302177537, 0.0300869029, 0.0032172068, -0.0436185002, -0.0084362542, 0.0192119796, 0.0496587567, -0.0063914568, 0.0067903819, -0.0728631839, -0.0389045216, -0.0051430734, -0.0158756822, -0.0288626291, -0.0275972243, 0.0465362296, 0.0127262175, -0.0239873193, 0.010697552, 0.0463066399, 0.0137789194, -0.0318638012, -0.0073681064, -0.0057781716, -0.0495521538, 0.0398369133, 0.0380390249, -0.0091993092, 0.0421633758, 0.0187589135, 0.0117101902, -0.0247542337, 0.0159415789, 0.0134720393, -0.0208164882, -0.0525781475, 0.0248631276, -0.0307960287, -0.0204940941, -0.0233919341, 0.0166104641, 0.0562469997, 0.0006740902, 0.0407191552, 0.0196760278, -0.0156743228, -0.0388532169, 0.0657549724, -0.0473316871, -0.0481671095, 0.0749580786, 0.0276801288, -0.0139365755, 0.034512464, 0.0177187528, 0.0572096556, -0.0032790564, -0.0119663551, -0.0113019366, -0.0220803339, -0.0176628176, 0.0155501356, 0.0128816562, -0.0205812398, 0.0042034741, 0.0015137161, -0.1093475893, 0.0066873161, -0.007986702, -0.0341053344, 0.0247099735, 0.0066116652, 0.0118340729, 0.0164631326, -0.0118229548, -0.0028326744, 0.0262981672, 0.0069027334, -0.0127366809, 0.0056907968, -6.03490461e-33, -0.0224471912, -0.0605555251, -0.0125902407, -0.0331720039, -0.0581328385, 0.0383123755, -0.0461032428, -0.0201710742, -0.0150363604, 0.0195799973, 0.0335464962, 0.0192936193, 0.0019302666, 0.0470366143, -0.0341934934, -0.0356810316, 0.0633386821, 0.0119672175, 0.014086022, 0.0172723923, 0.0305575412, 0.0358490497, 0.0458313264, -0.0740393475, 0.033362031, -0.0038776384, 0.0269351676, 0.0266137253, 0.0465331897, 0.0418073423, -0.0138566596, 0.067834273, 0.0077492464, 0.0556437373, -0.0217271391, 0.0324508063, -0.0892950743, -0.0119324056, 0.0044349674, 0.0505226254, -0.0361072086, -0.0052344762, 0.0786309466, -0.0155237857, 0.0245106276, -0.0382603407, 0.0577016212, 0.0165691637, -0.0386877246, -0.0330028236, -0.0538730584, 0.026628552, -0.0100398166, -0.0088620177, 0.0396673121, -0.0282015391, 0.044083368, 0.0195739269, -0.0775387362, 0.0201713592, -0.0554617681, -0.006088594, 0.0695526749, 0.0636564195, 0.0141486209, 0.0509821363, 0.0312368609, -0.0562244132, -0.0408463813, 0.0350300297, 0.0292593185, 0.0457463749, -0.0062175752, 0.0367068388, -0.0178699512, -0.0054341177, -0.0752601326, -0.0125638293, -0.048056569, 0.0403481759, -0.0118832681, 0.0589509532, -0.0053754924, -0.04507697, -0.0397767909, -0.0490024984, -0.0340168513, -0.0190540962, -0.0005909973, -0.0210735165, -0.0165049434, 0.0185585935, 0.0265328828, -0.0586201437, -0.0318647325, 0.0858485848, 0.0133646047, 0.0284335986, -0.0080776373, 0.0440173708, -0.047658436, -0.0229878519, 0.0495654456, -0.0248912834, 0.0176453441, -0.0023090506, 0.026218215, 0.0359101892, -0.0236508008, -0.0124495719, -0.0447398871, -0.0679141134, -0.0278941449, 0.0101031233, 0.0780386999, 0.0488517731, -0.0206671134, 0.0608343594, 0.0299824961, 0.0517824292, -0.0116374521, -0.0020278126, 0.0102995355, 0.0479282662, -0.0342966951, -0.0138108199, -0.0302467607, 0.0069233817, 0.0588916391, -0.0635322556, -0.0112055652, 0.0069849808, 2.571e-7, 0.073600255, 0.0215356965, 0.0715618953, -0.0040331776, 0.0076574376, 0.0361980163, -0.0320670716, 0.0374529511, -0.0062713404, -0.0238248706, 0.0506836325, 0.0592696406, 0.0086528454, 0.0205426831, -0.043241784, 0.068940863, -0.0827223808, -0.0028437527, -0.0414169729, 0.022177713, 0.0267434847, 0.1002983749, 0.0188320223, -0.0048511787, 0.0078394106, -0.0661703125, 0.0705063343, -0.0310097579, -0.0245634187, -0.011051422, -0.0329641551, 0.0055936002, -0.0275179371, -0.0028925738, 0.0126697356, 0.0504491329, 0.0470123477, 0.0301011689, -0.0293381959, -0.0353210568, -0.0617021136, -0.0071470304, -0.0157116745, -0.0057320567, 0.0424640216, -0.0789132044, -0.0606410988, -0.0572496355, -0.0390606262, -0.0094070267, 0.0212258864, 0.0039947573, -0.0073458599, 0.0168479402, 0.0412544943, -0.0145652946, -0.0327446386, -0.0770738572, 0.0065589668, 0.0042018755, -0.0467474759, -0.0070759235, -0.0160879828, 0.0106202569, 0.0511328354, -0.0066497107, -0.0072364477, 2.013580497e-34, 0.0204356983, 0.0129763102, -0.0214115512, -0.019954795, 0.0238154829, -0.047366254, 0.0036795421, 0.0133646652, 0.0037121745, -0.080100216, -0.0205131825 ]
http://arxiv.org/abs/2406.13692v1
http://arxiv.org/pdf/2406.13692v1
Synchronous Faithfulness Monitoring for Trustworthy Retrieval-Augmented Generation
2024-06-19T16:42:57
2024-06-19T16:42:57
Di Wu, Jia-Chen Gu, Fan Yin, Nanyun Peng, Kai-Wei Chang
cs.CL
cs.CL
Retrieval-augmented language models (RALMs) have shown strong performance and wide applicability in knowledge-intensive tasks. However, there are significant trustworthiness concerns as RALMs are prone to generating unfaithful outputs, including baseless information or contradictions with the retrieved context. This paper proposes SynCheck, a lightweight monitor that leverages fine-grained decoding dynamics including sequence likelihood, uncertainty quantification, context influence, and semantic alignment to synchronously detect unfaithful sentences. By integrating efficiently measurable and complementary signals, SynCheck enables accurate and immediate feedback and intervention, achieving 0.85 AUROC in detecting faithfulness errors across six long-form retrieval-augmented generation tasks, improving prior best method by 4%. Leveraging SynCheck, we further introduce FOD, a faithfulness-oriented decoding algorithm guided by beam search for long-form retrieval-augmented generation. Empirical results demonstrate that FOD outperforms traditional strategies such as abstention, reranking, or contrastive decoding significantly in terms of faithfulness, achieving over 10% improvement across six datasets.
[ 0.0483672954, 0.0959033892, -0.0063537476, 0.0241471622, -0.047784403, -0.0051981858, -0.0392686613, -0.0213437025, 0.0072706584, -0.0235703308, -0.0041475906, -0.0291581992, 0.0257766694, 0.0294921361, 0.0141239977, 0.0303351413, 0.0885636657, 0.0167119894, 0.0251971669, 0.0185018983, 0.0211747587, 0.020774506, -0.0148540866, 0.0448534265, -0.0292055663, -0.0085688112, 0.0008924591, 0.0457910858, 0.0336170755, -0.0453902669, 0.0124353962, 0.039128229, -0.0352607816, 0.0872210264, 0.000002232, -0.0394700542, -0.0420220569, -0.0074972515, -0.0147687197, -0.0026032378, -0.0063290838, -0.0483493805, -0.0027757145, 0.0225079805, -0.0308033694, 0.0181491319, 0.0416637398, 0.0031146363, 0.0548257753, 0.0627805069, 0.0131227188, 0.0459810607, 0.0357408188, -0.0333925672, 0.0066728415, -0.0245930143, 0.0040941192, -0.0165296663, -0.0226181727, 0.049208656, -0.0171185844, 0.054978773, 0.0205789749, -0.0245939773, 0.0263997447, -0.0198801737, -0.0354476646, -0.03143261, -0.0084660705, 0.0176847745, 0.047646448, -0.0554019436, -0.0007104183, -0.0138697913, 0.0021358165, 0.0461037345, -0.0021233512, 0.0281207506, -0.0371374041, 0.0035583852, 0.0158137381, -0.0011998815, 0.0382369459, 0.004907174, 0.0105712963, 0.0555313081, 0.0338872857, -0.0470519252, -0.0328994356, 0.0377520695, -0.0258630477, -0.0320454799, 0.0141178295, -0.0051811188, -0.0621203221, 0.034541782, -0.0609102845, -0.0469863415, 0.0301139336, 0.021958394, -0.0390782766, 0.039655678, -0.0260683391, -0.0092201959, -0.0139448727, 0.0617842786, 0.0163451247, -0.0128293745, -0.0682637915, -0.0044583385, 0.0088281389, -0.0039124982, -0.0107158404, 0.0045886803, -0.0357775353, -0.0477410592, -0.0632706583, 0.0120600816, -0.0234904867, 0.0337301232, -0.0114766387, 0.0286492519, -0.0402445272, 0.0088889236, 0.011687994, 0.0305905715, 0.0074679344, 0.0170626603, 0.0430051722, -0.0746661946, -0.0477954894, 0.0115918079, -0.0125324409, -0.0245593544, -0.0295912065, 0.0252785683, -0.0189714711, -0.0467181727, -0.0157390255, -0.0604000203, -0.0630789846, -0.0179775022, -0.0283765476, -0.0547387004, 0.0440574102, -0.0034642785, -0.0140231503, -0.0255169999, 0.0225205738, 0.0370121785, -0.0340604708, 0.0313743763, -0.0232491624, -0.0084385555, -0.0308627933, 0.0085035972, 0.0051734885, 0.0237703267, 0.0187876616, 0.0253912378, 0.0513919368, 0.0379079096, -0.0202361774, 0.0121388491, 0.0441059843, -0.0064705699, 0.0163966287, -0.0100788353, -0.0142390039, -0.0080197649, 0.0286461227, 0.0439351946, -0.0354317464, -0.0014692106, 0.0702679157, -0.0261349846, 0.0307026487, -0.0418413654, 0.0252611171, 0.0311109964, -0.043355681, 0.0430397876, -0.0588788763, 0.0174119193, -0.044989422, 0.0240409765, 0.0320468396, 0.0339424163, 0.0120627927, -0.0259040259, -0.0263964441, -0.0202548783, -0.0098134717, 0.0044703558, 0.0046180305, 0.0477321669, -0.0549972951, 0.036685925, 0.0111448094, -0.0764002055, 0.0107931821, -0.0157823432, 0.0598149858, 0.0618593283, 0.1119458675, 0.0342845246, -0.0256389491, 0.0153321195, -0.0300607197, 0.0189253855, 0.030056458, 0.0153295528, 0.0077257105, -0.0544476323, -0.0475367159, 0.0295993052, 0.0301946495, -0.0020909535, 0.0322073475, 0.0279434957, 0.0409264043, -0.0221095961, -0.0190407541, 0.0293390471, -0.0189938694, -0.0173303764, -0.0000235223, 0.0112025226, 0.0131681822, 0.023453271, -0.0129200527, 0.0311089791, 0.0411376022, -0.008068515, -0.0009079481, 0.0435372703, -0.0789292231, -0.0188684836, -0.0011217634, 0.0051168944, -0.0023475136, 0.05053927, -0.0127146877, -0.0487442426, 0.0054227719, -0.0525544323, 0.0121018952, -0.0556598417, 0.0320667475, 0.0256345477, 0.0376914777, -0.0319143832, 0.0387695692, -0.0383303426, 0.0037854572, 0.0247132145, 0.0299288817, 0.0267668292, -0.0349004641, -0.0288188122, -0.0150996186, -0.0186169222, 0.0052355402, 0.0682614297, 0.0079891803, -0.0136171682, -0.0184531063, -0.017969951, 0.0066111679, -0.0336358696, 0.013354687, 0.0241403375, 0.0126867881, 0.0113970358, -0.0045185951, 0.0008692151, 0.0331453606, 0.0678978264, 0.0015416371, 0.0034134763, -0.0023232771, -0.0212026518, -0.035973452, -0.0009727038, -0.0001911805, 0.0213969946, 0.0256163701, -0.0240708776, -0.0871905908, 0.0314570181, -0.0512992442, -0.0123279346, 0.0263189226, -0.0161909778, 0.0019520201, 0.0126575595, 0.0209177546, 0.0166096389, 0.0299298782, -0.0140691744, 0.0052944836, -0.0138402553, -0.0599971265, -0.0045214281, -0.0161794685, -0.0257364567, 0.027885614, -0.0274533499, 0.0485768802, 0.0239346102, 0.0648470372, -0.0084869284, -0.0379961543, 0.0022295511, -0.00439825, -0.0385169424, 0.0038716127, -0.0637302548, -0.0236158688, 0.0143077364, -0.0288111139, -0.0705072582, 0.075586915, -0.0508351997, 0.0200875383, -0.0329696871, 0.0107722813, 0.0185612701, 0.0157349482, -0.004568228, 0.0153123159, -0.0134580107, -0.0224076789, -0.0121925063, 0.0010539413, 0.0518744886, -0.0484285094, 0.0254554711, -0.0522018224, 0.0149166742, -0.0178351793, -0.0308162514, -0.0926810801, -0.0332134478, 0.0212522727, -0.0231603812, 0.0126438849, -0.0059654452, -0.0349656083, -0.020700708, 0.0336443223, 0.0032151744, -0.0192190222, -0.0069205333, -0.0352281071, 0.0747842044, 0.063928999, -0.0230840929, 0.0648913309, -0.0225298963, -0.0236662906, 0.0720777661, 0.0122975586, 0.0334147848, -0.0238378253, -0.0203857459, 0.0251174644, 0.0169489365, 0.0059601152, 0.0270831045, 0.0377207845, -0.0572737493, -0.063192986, 0.0820994377, 0.025663862, -0.0083376225, -0.0039212625, -0.0213430654, 0.0573620722, 0.0020301843, -0.0069577689, -0.10445375, -0.0301283319, 0.0245446432, 0.0700208023, 0.0049634292, -0.0269529279, -0.0230920129, -0.1121969372, 0.0307636894, 0.0357735492, 0.0016441015, -0.0626825541, -0.0060893004, 0.0071410709, 0.0175213106, 0.0543695129, 0.0700827986, 0.036270339, 0.0200476535, -0.0062804534, 0.0040726922, -0.0359352566, -0.0363439806, -0.0391239524, 0.0652704686, 0.0996572375, 0.0061428165, 0.0318795145, -0.0627227724, -0.0237982105, -0.0450887717, -0.0094224028, -0.0103711691, -0.0131613323, -0.033602234, 0.0016940328, -0.0352857411, 0.0201284215, -0.000128076, -0.0213393793, -0.0089745326, 0.0476385541, -0.0330682918, 0.0058839717, -0.0270006284, 0.0165062901, 0.0433976352, 0.0669478551, 0.0234575979, -0.0060568172, -0.0049533485, 0.0083212927, 0.0386983901, -0.0512289442, 0.0333102718, 0.0221056975, 0.0260107815, 0.0303593334, -0.1147766933, -0.0360949636, -0.0443250164, 0.0023588522, -0.0074334443, -0.0029480075, -0.0010316641, -0.0527352951, -0.0501354113, 0.0065450659, -0.0299009774, 0.0300043412, -0.0085506523, 0.0406652316, -0.0187985674, -0.0527864583, 0.0114750583, 0.0827214792, -0.0583583936, -0.0445130393, 0.0099475533, 0.0376610011, 0.01831083, 0.047896184, -0.0292074401, 0.0066382759, -0.0123871854, 0.0565255992, -0.0694292337, 0.0569845922, 0.0005215649, -0.001569152, -0.0097886221, 0.0274854414, -0.0448607169, -0.0070473542, -0.0111380424, 0.0831071511, 0.0528982691, -0.0756458938, 0.0406747684, 0.0332697444, 0.0420528539, -0.031143764, 0.043984741, -0.0315382332, 0.0056934175, 0.0019134411, -0.0061271205, -0.023155164, 0.050977841, 0.0218514204, -0.0215116404, -0.001687464, 0.0017949188, -0.0149779338, 0.0477111153, -0.0613960102, -0.0527941473, -0.0403958596, 0.001758726, -0.0010130841, -0.0075603141, -0.0035033254, 0.0556875095, -0.0385906361, 0.0467237718, -0.030295765, 0.0407397151, 0.0185363516, -0.0340696163, 0.0037121428, 0.0328767784, -0.0485314541, 0.0032371175, -0.0322750807, -0.0341549329, 0.0398985296, -0.0016275304, 0.1061228514, -0.0327181518, 0.0169832055, -0.0174650382, 0.0236243475, 0.0259044543, -0.0168698393, -0.0063624415, 0.0107150795, -0.0293440558, 0.0384387076, 0.0332191214, -0.0808850676, 0.001257189, -0.041966334, -0.0203621108, -0.0401275232, -0.053140685, 0.0144520625, 0.0377987549, -0.0636963621, -0.0355580598, -0.0491917282, -0.0392712913, 0.0465800837, 0.0259813182, -0.0055615432, -0.000035775, 0.0281493235, 0.0572646298, -0.0217099953, -0.004135645, -0.0133669078, -0.0028716046, -0.0140351532, -0.000703012, -0.0322774276, -6.720425365e-33, -0.0302552674, -0.0427294821, -0.0110331625, -0.0532062203, -0.0347056501, 0.0140875373, -0.0481045209, -0.0210653171, 0.0033117563, 0.0061083534, 0.0163593311, 0.0258887969, 0.0076010395, 0.0274791662, 0.0114709167, 0.0300340224, 0.0598441437, 0.0363766924, -0.0499552712, 0.0228215326, 0.0807471126, 0.014781693, 0.0265890323, -0.0763683692, 0.0402507074, -0.0223407354, -0.0177973583, -0.0096980864, -0.0449662767, 0.0415051542, -0.0002876791, 0.0483183078, -0.0063412958, -0.0064129317, -0.0214681346, 0.0027473988, -0.0808005035, 0.0102625219, 0.0301732197, -0.0091833035, -0.0570895113, 0.0006565201, 0.0386536941, -0.029523937, -0.0337352082, 0.0285255183, -0.0146023827, -0.039504081, -0.0231793318, -0.0182810668, -0.0458168611, 0.0170237757, 0.0219357852, -0.0368341021, -0.0306456331, 0.0763405934, 0.0001773573, 0.0144534772, -0.0844760016, 0.0115858959, -0.0320048034, 0.0607201979, 0.0661147684, -0.0211765282, -0.0322662219, 0.0668279976, 0.0282695834, -0.0655615106, 0.0354541577, -0.0088217091, 0.0161470491, 0.0136671448, 0.0477483869, 0.1104812846, 0.0301045272, -0.0360358432, -0.0329135358, 0.0273194481, -0.0046931515, 0.0398825333, 0.0336917304, -0.0044818767, -0.0582133457, -0.0033037593, -0.0237028562, 0.0040886193, -0.0461916327, -0.0223358069, 0.066544041, 0.0670786276, -0.0360140614, -0.0028651354, 0.0511398837, -0.0051835841, 0.0392822325, 0.0560739674, -0.0517423078, -0.0550205819, -0.0304503366, 0.0403476059, -0.0192607176, 0.0139522552, 0.051168073, 0.0002964156, -0.0336407013, 0.0102874329, 0.0247722045, 0.0094171371, -0.0404148996, 0.0397980176, -0.0358393677, 0.0590472035, -0.0458151884, -0.0578829832, 0.0714113936, 0.0032905324, -0.0174364038, 0.0683510005, 0.019276984, 0.0074573313, -0.0487911776, -0.0028439939, -0.003014497, 0.006559154, -0.0071474789, 0.020263508, -0.0107359905, 0.0209349412, -0.0242648497, -0.0578710251, 0.011330517, 0.0272931792, 2.965e-7, -0.0013628013, 0.0241487511, 0.0718939826, -0.0118307648, 0.0113205286, -0.0008167186, 0.0041059293, 0.0537334122, -0.0222284049, -0.0202489607, -0.0186631922, -0.0164737031, 0.0654561296, 0.0078670448, -0.0156141305, 0.0098814471, -0.1292412281, -0.0089999149, -0.043249771, -0.0285457037, 0.0615551136, 0.0412989967, -0.0132498415, -0.0163713209, 0.0232329946, -0.0400095284, 0.0516672134, 0.0349215642, -0.0466763563, -0.0261585917, 0.0415731892, -0.0069605419, 0.01063783, -0.0087432992, -0.0231881719, 0.0132052721, -0.0177677441, 0.0167242419, 0.0237074103, -0.0613058656, -0.0317647271, -0.0029181088, -0.0162142515, -0.0336632133, 0.0220111385, -0.0104513653, 0.0253456645, -0.0178855434, -0.0525723659, 0.0240125414, -0.0076326802, 0.002654288, -0.0394785479, 0.0202361941, 0.0223556869, 0.0876896456, -0.0423750058, -0.0407816879, -0.0436698273, -0.034362644, -0.0258895624, -0.0436060615, -0.0246927366, -0.0065472983, -0.0154412864, -0.0886026546, -0.0033705805, 2.974693377e-34, 0.0334459245, -0.0161249414, 0.0211543161, -0.0123551516, 0.0277289338, -0.0073353341, -0.0480386615, 0.04416354, 0.0176902805, -0.0307296403, -0.0299241748 ]
http://arxiv.org/abs/2406.13677v1
http://arxiv.org/pdf/2406.13677v1
Leveraging Large Language Models to Measure Gender Bias in Gendered Languages
2024-06-19T16:30:58
2024-06-19T16:30:58
Erik Derner, Sara Sansalvador de la Fuente, Yoan Gutiérrez, Paloma Moreda, Nuria Oliver
cs.CL
cs.CL, cs.CY
Gender bias in text corpora used in various natural language processing (NLP) contexts, such as for training large language models (LLMs), can lead to the perpetuation and amplification of societal inequalities. This is particularly pronounced in gendered languages like Spanish or French, where grammatical structures inherently encode gender, making the bias analysis more challenging. Existing methods designed for English are inadequate for this task due to the intrinsic linguistic differences between English and gendered languages. This paper introduces a novel methodology that leverages the contextual understanding capabilities of LLMs to quantitatively analyze gender representation in Spanish corpora. By utilizing LLMs to identify and classify gendered nouns and pronouns in relation to their reference to human entities, our approach provides a nuanced analysis of gender biases. We empirically validate our method on four widely-used benchmark datasets, uncovering significant gender disparities with a male-to-female ratio ranging from 4:1 to 6:1. These findings demonstrate the value of our methodology for bias quantification in gendered languages and suggest its application in NLP, contributing to the development of more equitable language technologies.
[ 0.0286547486, 0.1084767804, -0.0300640464, 0.0460004359, 0.003726233, 0.0277252831, 0.0148723386, -0.0408086739, -0.0103861419, -0.0857202187, -0.006346738, -0.0340196341, 0.0262328349, -0.0290377811, 0.0240022205, -0.0128407422, 0.0066733593, 0.0340594053, -0.0101255784, -0.0359452739, 0.0358696766, 0.0360140204, 0.0187752098, 0.0518833175, 0.0083782403, -0.0227622185, 0.0559859909, -0.000714572, -0.0146619435, -0.0052489936, 0.0498433039, 0.0590157546, -0.0160790849, 0.0382855423, 0.0000017486, -0.0931435302, 0.0018640785, 0.0401280075, -0.0035167055, -0.0112452284, 0.0425325818, -0.0383374318, -0.0370405428, 0.0119526945, -0.013943214, -0.0119283171, 0.030936487, 0.0025340978, 0.0206248667, 0.0037311488, -0.0067846426, -0.0128879873, -0.0529637039, -0.0215446353, -0.033766713, 0.0022954396, 0.0374756977, -0.0344812907, -0.0443147533, -0.0222725309, -0.0251532607, 0.0029900097, -0.0037540703, -0.0102191567, 0.0038060723, 0.0085761975, -0.02771971, -0.0533907451, 0.0196914468, 0.0247352794, 0.0030712492, -0.0067447722, 0.01913248, 0.0051844628, -0.0107065421, 0.0232486147, -0.0303250533, 0.0311785936, 0.0026244582, 0.0123409284, 0.0268483516, -0.022442067, 0.0432544127, 0.0704129711, -0.0303150881, 0.0907733142, 0.01520936, -0.0359278806, 0.0429424159, 0.0275524538, 0.0244379733, -0.0349614508, 0.0182497036, -0.0096297478, -0.0002709079, 0.0251291469, 0.0231364239, -0.0258079953, 0.0505619235, -0.0873007774, -0.0233998578, 0.0194937009, 0.0061502028, 0.003434598, 0.000886122, 0.0141139897, 0.0162961464, -0.0087386938, -0.0173468944, -0.0589818247, -0.0358642451, -0.0139017152, -0.0076015685, -0.0189850256, -0.0186658427, 0.0629195869, -0.026623467, -0.0065298672, -0.0515025668, -0.0009172992, 0.0291382466, 0.0327803157, 0.005673076, 0.0251124687, -0.015490042, 0.0103460709, -0.042484168, 0.0263781957, -0.053485997, -0.1069508269, 0.0229454506, 0.0054880264, -0.025424907, -0.0517840646, 0.00721994, 0.0200337619, 0.0265736096, -0.0319621786, -0.0008411803, -0.0153349089, -0.031701576, -0.0745424777, -0.0046401666, -0.0829406306, 0.0064742416, 0.0389281772, 0.0328261741, -0.0215509254, 0.0125501854, 0.0178526137, -0.0189599674, 0.0755767003, 0.0495116301, -0.014216654, 0.0539696291, 0.001157617, -0.0063281744, 0.1082695872, 0.0572785586, -0.0342627726, 0.0503495634, 0.0137302894, -0.0344220474, 0.0549992919, 0.0177568905, 0.0240377802, -0.0394003019, 0.0258734021, -0.0396181047, 0.0368714519, 0.0744152963, -0.0087223528, 0.0498175807, 0.0069850096, 0.0381583422, 0.0773318931, 0.0114032254, 0.0367524363, 0.0402079523, -0.0183406696, -0.0043501342, -0.0094224224, -0.0592441261, -0.0409304574, 0.0085865716, -0.0441485606, -0.024609061, 0.0385800265, -0.0083638029, -0.0382601619, -0.0253189839, 0.0268817078, 0.0110020088, -0.0003850551, 0.0359040201, 0.0208935905, 0.0386024714, 0.0606316179, 0.0451860726, -0.0574036203, 0.0327601805, -0.0294920504, 0.0125834728, 0.0274623577, -0.0114979884, -0.0420350134, 0.0116274012, -0.0319098122, -0.0098689105, 0.024223147, 0.0169815421, -0.0029567501, 0.0140270032, -0.0208410099, -0.0114296004, 0.0567991585, 0.0528069176, 0.0194342192, 0.0408181064, 0.0379222259, 0.013597412, -0.0605414324, -0.0589585491, 0.03666633, -0.0064164191, -0.0378388241, 0.0412327461, 0.0079259807, 0.0146603361, 0.0298391171, -0.0349408239, -0.0212730821, 0.0148242246, -0.0210372657, 0.0009231007, 0.0296090003, -0.0182064921, -0.0068694185, 0.0024066044, -0.068305321, -0.0730628073, 0.0270961132, -0.0195728131, 0.005376494, 0.0503631197, -0.0236137602, 0.0046770847, -0.0444961488, 0.008795917, -0.0111406893, 0.0413689911, -0.0350381434, 0.0301984791, -0.0302554667, 0.0131717594, -0.0128629422, -0.0227876771, 0.0020486454, -0.0582611561, -0.0360466987, 0.028486196, 0.0087246802, 0.0069196783, 0.0410675332, -0.0079270462, -0.0191727746, -0.0266321264, -0.058545243, 0.0070204353, -0.014949806, 0.0102954814, -0.0021186529, 0.0112826908, -0.0298086982, -0.0002227122, 0.0013239174, -0.0450481959, 0.0177893545, 0.0200247299, 0.0528715104, -0.0184608363, 0.0089403857, -0.0405502282, -0.005767927, -0.0505759306, 0.071126014, 0.0437090434, -0.0173547361, -0.0343911387, -0.0113407765, 0.0057825129, -0.0018566435, 0.0119114751, -0.0155537846, 0.0023048758, 0.0432280563, 0.0288075414, 0.0818454549, 0.0118650682, 0.0576232485, 0.055327788, -0.0052918517, -0.0385692008, -0.0316823572, 0.0238407236, 0.0148315588, -0.0277025383, -0.0832086727, 0.0042939303, 0.0420517959, -0.0070302305, -0.0431824066, -0.0081949197, 0.0567012243, -0.0544805266, -0.0300652571, -0.0138386078, 0.0079325018, -0.0174024496, 0.0148727782, -0.0320484973, -0.0359439179, -0.0034385105, -0.0273981299, 0.0068532135, -0.0316040479, -0.0214056745, -0.0757367015, 0.030922208, -0.0028342926, 0.0297142882, 0.0297634751, -0.0298691876, -0.0489257276, -0.0321757272, 0.0170177761, -0.013119569, 0.0404044315, -0.0562815629, 0.0252798684, 0.0164115634, -0.0403673612, -0.0470277853, 0.0000685929, -0.0273895096, 0.0195830464, 0.0072481679, -0.0132524706, 0.003959314, 0.002795598, -0.0255532824, -0.0099057797, -0.0000252194, -0.0201604161, -0.0170585699, 0.0090073403, -0.0001102546, 0.0025019899, 0.0406877138, -0.0225758981, -0.0208180528, 0.016367346, 0.0115423007, 0.0472076125, -0.008093779, 0.0180310719, 0.0467162468, -0.0608498417, -0.0053794654, -0.048844099, 0.0121074691, -0.0596126504, 0.0014383141, 0.1104800552, 0.0292545222, -0.0679536611, 0.0246079322, -0.0009206932, 0.010874629, 0.0539402924, 0.0033259729, -0.0613431819, 0.0063871895, 0.0363455415, -0.0183596388, -0.0408890583, -0.0513154604, -0.0294365529, -0.135836333, -0.0076377573, -0.0159406755, -0.0373093076, -0.0181443468, -0.0418341048, 0.0233116355, -0.0653760433, 0.0286524948, -0.0278597157, -0.009640119, 0.0112425936, 0.0125471447, -0.0502763391, -0.0517632179, 0.0246552378, -0.08146213, 0.0299652945, 0.0149502251, 0.0787937641, -0.0377354585, 0.0431039035, 0.037632972, -0.03543083, -0.0081286272, -0.027355453, -0.0065298043, -0.0362701304, -0.0192581806, -0.0370418131, 0.0350074209, 0.0266141482, 0.0131691461, 0.0019908077, 0.0302099157, 0.0309422035, 0.0058197924, -0.0388008617, -0.0369582996, 0.0082368813, 0.0764642581, 0.0268266425, -0.0398588255, -0.0228750631, -0.0586875752, -0.0113269743, 0.0429430418, -0.0565879084, 0.0002694664, 0.0085088024, -0.0277103242, -0.0112557672, -0.0559429862, 0.0142014762, -0.0290682577, 0.0207112003, -0.0360097662, 0.0328322761, -0.0094165532, -0.0643587708, 0.0386196598, -0.0082804924, 0.0273162369, 0.0149074774, -0.0280752201, -0.0194050968, 0.0041004042, -0.0380384885, 0.0240882598, -0.0514689535, -0.0540105067, 0.0277918801, 0.0072785951, 0.0193103757, 0.0484636277, -0.0152952336, -0.0703644305, 0.0510642342, 0.0531348251, -0.0455378667, 0.0248063691, 0.0303397849, 0.0248052552, 0.0169325713, 0.0450776666, -0.023415748, 0.0051317797, -0.0198144596, 0.0233617388, -0.0404524654, -0.032202296, -0.0025106813, -0.0017886617, 0.0137130218, -0.057185147, 0.0124822184, -0.0630578622, -0.0316420346, -0.007416409, -0.0369270369, 0.0106287189, -0.0286613237, 0.0278887302, 0.0314616077, -0.04348756, -0.0098064179, -0.0385897718, 0.0154446075, -0.0081699649, 0.0355264582, 0.0326402113, 0.0231949408, -0.0120737171, 0.0185017847, 0.0506528169, -0.0158994868, -0.0254464261, 0.0279064197, 0.0132459849, -0.0266570598, -0.0009523474, 0.0277682357, -0.022456836, 0.0018156589, -0.0170086343, -0.0004583696, 0.0055782748, 0.0080316151, 0.0387964584, -0.0647266433, 0.0449095741, 0.0078120446, -0.0195378456, -0.0035208517, -0.0102442019, 0.0051291604, 0.0104611907, 0.0218011774, 0.0026714855, -0.0090262033, -0.0164853949, 0.0324316025, 0.0748855919, 0.0487204194, 0.003596745, -0.0263831504, -0.0129110264, -0.0131786568, 0.0089138001, -0.0632014126, -0.0295351092, -0.0081269257, -0.0991074145, -0.0585171767, 0.0052533327, -0.0544792525, 0.0099458555, -0.0091610905, -0.0062689953, 0.0657191873, -0.0337991975, -0.0326272547, -0.0493776314, -0.0141661912, -0.0111750141, -0.0251912363, -0.0080194436, -5.53590983e-33, -0.0308694541, -0.0708304644, -0.024578413, -0.0302235782, 0.0051669637, 0.0179866198, -0.0137187997, -0.0198126622, 0.0161453411, 0.0299941078, 0.0020040781, 0.0393437631, 0.0189125128, 0.0117225079, 0.0174897723, 0.017814137, 0.047743924, 0.0265361145, -0.0123198088, -0.0566572994, -0.0175102726, 0.0523248129, 0.0581128336, -0.0792653561, 0.127418384, 0.0131641515, -0.0239234418, 0.0358542129, -0.0019631204, 0.0376422219, -0.0185571071, 0.0870450959, 0.0126271592, -0.0443060994, 0.043411117, 0.0839926228, -0.0623335317, -0.0417848304, 0.0390446484, 0.0597519986, 0.0729384422, -0.0187798478, 0.0280598328, 0.0210754462, -0.0510547757, -0.0129874805, 0.0746639445, 0.0102246292, 0.0752711296, 0.0263774414, -0.05707426, 0.0343840942, -0.0357331932, 0.0296719652, 0.0423995219, -0.003100818, -0.0194582138, 0.0104814339, -0.0596847907, 0.010419948, -0.003254619, 0.0028612458, 0.0191614777, 0.0130740115, 0.0439377651, 0.0601227656, 0.0663948804, 0.003356006, -0.0286864173, -0.0327689461, 0.0501314662, -0.0297003444, 0.009858002, 0.0727896541, 0.0376680717, 0.0295171533, -0.0909639895, -0.0467205457, 0.0197676141, 0.0268760249, 0.0148939649, -0.0392270349, -0.0586250126, -0.0403726175, -0.0524841994, -0.0920037255, -0.0013533768, 0.006597992, 0.0135231623, -0.0145957377, -0.0553911254, 0.0253111888, -0.0294640493, -0.0678682253, -0.0789757147, 0.0136213759, 0.0134178493, -0.0492444076, 0.0623124205, 0.0378321931, -0.0646042973, 0.0075945416, -0.0136132408, 0.0322148651, 0.0438266061, -0.0014171705, 0.0095121525, -0.0030516691, -0.0557330586, -0.019340286, -0.0477558672, 0.0031475159, -0.0294847861, 0.0711308494, 0.0306640007, 0.0395536609, -0.0098921144, 0.0220833644, 0.0608292706, 0.0395813473, -0.0117928628, 0.0029840702, -0.0352894925, 0.03980783, -0.0084159821, -0.0282733664, 0.011872055, 0.0146858562, 0.0705620423, -0.031327229, 0.0035920721, -0.0658081621, 2.347e-7, 0.0397360176, 0.0724339113, -0.0031506175, 0.0330240205, 0.0232553706, 0.0223274361, 0.0153595721, 0.0477063395, 0.0216828324, -0.0157103315, -0.0506807454, 0.0435983725, 0.0051768492, 0.0451976471, -0.0694269389, 0.0091703003, -0.0421805717, 0.0198376458, -0.0014982932, 0.0151228048, -0.0350657217, 0.0809386969, 0.0444808267, -0.007710245, -0.0402703248, -0.0297170337, 0.0407746099, -0.0251674, -0.0012405382, 0.0250206478, -0.0038482347, 0.017699305, 0.0297326148, 0.0178056471, 0.0214098822, 0.0132326111, 0.0087776417, 0.0011317475, -0.0221419204, 0.0388725214, -0.0063329623, -0.0500502102, -0.0291353744, -0.0626722425, 0.0562882386, 0.0090442076, -0.0328072719, -0.0518888384, 0.008668256, -0.0126432246, 0.0687449649, -0.0294384938, -0.023891164, 0.0222133379, 0.0248451494, -0.0083092237, -0.0018653573, -0.0478373617, -0.037488997, -0.0118907299, -0.0129506039, -0.0391408876, 0.0164924692, 0.0418947488, 0.0040352689, -0.0477385297, 0.0558274202, 1.787304263e-34, -0.0062358868, 0.0483335443, -0.0068350071, 0.0147052472, 0.0439337566, 0.0034695703, 0.0143719418, 0.0019996702, 0.0382936187, 0.0171248205, 0.0312817879 ]
http://arxiv.org/abs/2406.13663v2
http://arxiv.org/pdf/2406.13663v2
Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation
2024-06-19T16:10:26
2024-07-01T12:39:26
Jirui Qi, Gabriele Sarti, Raquel Fernández, Arianna Bisazza
cs.CL
cs.CL, cs.AI, cs.LG
Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE --Model Internals-based RAG Explanations -- a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.
[ 0.0663588569, 0.0087585747, 0.0064260387, 0.0399949662, 0.0009707068, -0.0302148983, 0.0149347484, -0.0137387225, 0.0164688136, -0.0397359952, -0.0014449556, 0.0432890318, -0.0435809232, -0.0284064095, 0.0569934547, 0.0167860873, 0.0460475832, -0.0259122457, -0.0033523226, -0.014954811, -0.0008780724, 0.0287618246, 0.0334035829, 0.028556291, -0.004978986, -0.0261589531, 0.0094102537, 0.0065483563, 0.0280235987, 0.0058071818, 0.0214648619, 0.0578594878, -0.0112755494, 0.0383803472, 0.000002065, -0.0480473079, -0.0093185082, 0.0149378115, -0.0532464348, 0.0352091789, 0.0016674891, 0.0580068566, 0.0273339599, 0.0101397736, -0.0304085836, 0.0596919507, 0.0252337921, 0.03078085, 0.0869958028, 0.0146686481, 0.0006763663, -0.0142144831, 0.0038186517, -0.0044442639, 0.0341348201, -0.0247868914, -0.001911959, 0.0309019722, 0.0035318211, 0.0495021455, 0.0305586308, 0.071461685, 0.0210259855, -0.0378026627, 0.0726526901, 0.0040951222, -0.0149763385, 0.0233311262, 0.005869668, 0.0475838706, 0.035604693, -0.0479159914, 0.0123330494, 0.0174966138, 0.0117887286, 0.0771616399, -0.0372468382, 0.0029705248, 0.0009201228, -0.0244710762, 0.0202472527, 0.0046691606, 0.0105178431, 0.0369492397, 0.0298594832, 0.0479278527, 0.0312120151, -0.0123919891, -0.0383195095, 0.0178778972, -0.0069982316, -0.0888752267, -0.0061636288, 0.0700348541, 0.0035006097, 0.0122389309, -0.0079057878, -0.0276998896, 0.0630300492, -0.0031751445, 0.001133642, 0.0011231845, -0.0268669482, 0.0418196693, -0.050101269, 0.0481909402, -0.0558988079, 0.0263717193, -0.0343627445, -0.0407235809, -0.0274381377, -0.0269052908, -0.0382028334, 0.0391562134, -0.0553375669, 0.0031186512, -0.0473330654, 0.0229720771, -0.0241724476, -0.0219981857, 0.0033368932, 0.0410274155, -0.0406678282, -0.000348834, -0.0448714085, -0.0000819564, -0.0573285818, 0.0184058622, 0.0283136051, -0.0782288313, -0.0254642237, 0.0260680709, 0.012696702, -0.0313649625, 0.0019697289, 0.0515982434, -0.0033207727, 0.00807977, -0.037531551, -0.0849470049, -0.0155907134, -0.0285890643, -0.0281075425, -0.0790022314, 0.0178486835, 0.0334203206, -0.0346602164, -0.0255581364, 0.0124942577, 0.0534426905, -0.0151355965, 0.0258916039, -0.0459554419, -0.0004186157, 0.0274036918, 0.0068500121, 0.0368454009, -0.0048433547, 0.0077274661, 0.0302226469, 0.0548683107, 0.011823942, 0.0513673387, -0.0155177331, 0.0586281605, 0.0303273834, -0.0030452341, 0.068096295, -0.0007722867, -0.0318474099, 0.0316022448, 0.0536953807, -0.0229994338, -0.0371295288, 0.04065888, 0.0264622718, -0.0118338978, 0.0393147618, 0.0217301901, -0.0152892591, 0.0088108797, 0.003364105, -0.0290835667, 0.072667554, -0.0352613963, 0.0027078334, 0.0385879166, 0.0213915911, -0.0348541848, -0.0193757806, -0.0090830326, 0.0028341161, -0.0253411345, 0.059415251, 0.0049626729, 0.0166139528, -0.0093957214, 0.0580414385, -0.0254468154, -0.063352637, 0.0101677654, -0.0510240309, 0.0779328793, 0.0230327826, 0.04225903, -0.0060772197, 0.0102458866, -0.033002194, 0.0005814839, 0.0298642442, -0.0039002334, -0.0236467291, -0.0083850157, -0.0389084853, -0.0241653454, -0.0224637669, -0.018446926, 0.0126601011, 0.0304148309, 0.0098202694, 0.0411703102, -0.0535808876, -0.0313134231, 0.025506461, -0.0300704595, -0.0455567017, 0.0210123602, -0.0019206126, 0.0148294894, 0.0560791641, 0.0018532133, 0.0394240618, 0.0247578956, -0.0104923723, -0.000351647, 0.0134482225, -0.0121550653, 0.0154227782, 0.0240566805, -0.0024867626, -0.0045939791, 0.0121251009, -0.0099060982, -0.0433225371, 0.00412816, -0.0482955351, -0.0162155572, -0.0883632824, -0.0286616385, 0.018241981, 0.0282096807, -0.034138076, 0.056114126, 0.0121893287, 0.0357206538, 0.0363304578, 0.0136588588, 0.0506040342, -0.0536425821, 0.0249210224, -0.0262464527, -0.0206655245, 0.024485372, 0.0597777963, -0.0236814339, -0.0622993782, -0.0024789996, -0.045464702, -0.0069781677, -0.0172676854, 0.0107608456, 0.0236636307, 0.0160887837, 0.0145523092, -0.0352372527, -0.070846729, -0.0550796017, 0.0314881019, 0.010294294, 0.0372995324, 0.01171136, 0.0333880782, -0.0574358813, -0.0117694838, -0.009027658, 0.0166182872, 0.0656156242, 0.0421704166, -0.1054928079, -0.0432887785, -0.0600282699, 0.0026126166, 0.01221547, -0.0218545478, -0.0090105673, 0.0084595736, 0.0270867292, 0.0604980886, 0.0332735479, -0.0244818274, 0.0189855285, 0.0118267871, -0.081945084, -0.0037972559, -0.0200892873, -0.043168731, 0.0065217246, -0.0380665734, 0.0325328596, 0.0505552329, 0.0057760538, -0.0298966803, -0.0182745513, 0.0443703346, 0.0240937341, -0.0227603726, -0.0343521796, -0.0315018557, -0.0005121247, 0.0572567806, -0.0089842305, -0.0306848101, 0.0865920484, -0.0503281578, -0.0100681456, -0.0227286126, -0.0027373501, -0.0422265455, 0.0083132768, -0.0417099409, 0.0097022783, 0.0338617414, 0.0158514995, -0.023154607, -0.0252998415, 0.0561903939, -0.0431582034, 0.0301889759, 0.0028093574, 0.0345576108, 0.0068971799, -0.0128348805, -0.0619848892, -0.0741367266, -0.012614592, 0.0260529201, -0.0374109112, -0.013438357, 0.0090353573, -0.0178360902, 0.0858050436, -0.0209822897, -0.0380084999, -0.0160822887, -0.0178439673, 0.0646860078, 0.0780297816, 0.0005864683, 0.0621322468, -0.0288187098, -0.0159253199, 0.046479892, 0.041886244, -0.0234592482, 0.0120245423, -0.0464348234, 0.0310344975, -0.030571511, 0.0060620732, -0.0005112119, 0.0796951205, -0.0524138026, -0.0262977257, 0.0707942322, 0.0272675101, -0.0327293426, -0.031327039, -0.0621750616, 0.018980043, 0.0277028084, 0.0560708866, -0.0850818157, -0.018179426, -0.026792651, 0.051399447, -0.0009611284, -0.0119833723, 0.021017408, -0.1066577807, 0.0502167754, -0.0130832931, -0.0027716577, -0.0124294581, -0.0601282492, 0.0061097117, 0.0078790076, -0.0287071988, 0.0133840824, -0.0109858159, 0.0124577535, 0.0181143526, 0.0517682321, 0.0135874981, 0.0366473049, -0.0448664725, 0.0072882921, 0.0682314187, 0.0357817933, 0.0167018753, -0.0693323016, -0.0151920002, -0.0756324232, -0.0012951383, -0.0097737731, 0.0233214647, -0.0032438769, 0.0091935107, -0.0232591387, 0.0495442115, -0.0211028699, 0.0020364895, 0.0201634653, 0.0565137044, 0.0047440883, 0.0260459688, -0.0511598811, -0.0075770132, 0.0275641736, 0.0712129399, 0.0318811201, 0.0096986219, -0.02062352, -0.0123370504, 0.009290983, -0.0195599385, -0.0421480611, 0.0277184732, -0.0144543871, -0.0015056204, -0.0853380188, -0.0529457554, -0.0322127938, 0.0020500126, -0.002122449, 0.0105913039, -0.0348825306, -0.0049545113, -0.0526649021, 0.0301923174, -0.0837800801, 0.0314335041, -0.0155676417, 0.018673934, 0.0022663712, -0.0478535108, 0.0120399846, 0.023210533, -0.007106401, -0.0258655734, -0.0140632186, 0.0686642528, 0.0215381887, 0.044206243, -0.0330692008, -0.0411580093, 0.048243165, 0.0062650023, -0.0607313514, -0.013695484, 0.0118793668, -0.0272216834, -0.0113767469, 0.0301691033, -0.0687749684, 0.0254337732, -0.0221227054, 0.0134305013, 0.011942693, -0.0513473488, 0.0115460381, 0.0316340029, 0.0146943806, 0.0186401773, 0.0166352373, 0.0021034828, 0.014939216, -0.0456902757, -0.0118357679, -0.0180452801, 0.0444595776, -0.0292390548, -0.0394514389, 0.0389289781, -0.0248634741, -0.0349445902, 0.0443122014, -0.0309513547, 0.0057589607, 0.0020970604, 0.0380337089, -0.0069168168, -0.0081517622, -0.0286133438, -0.0330968983, 0.0135304593, 0.0808240101, -0.0023206263, 0.0552240722, 0.0120296814, -0.0188752115, 0.021882331, 0.0073917597, -0.1107857078, -0.0075188084, -0.0332889035, -0.0447623022, 0.0109455595, -0.0215775799, 0.0474519134, -0.0017896044, -0.0201105718, -0.012875475, 0.0296674874, 0.0280689746, -0.0132649178, 0.0137350429, 0.0226891432, -0.0402079336, 0.0142033454, 0.0478943326, 0.0059474725, 0.0007418387, -0.0417284667, -0.0462037735, -0.021809781, -0.0234058276, -0.0624400862, 0.0121652046, -0.017544223, 0.0003489458, -0.0531541072, -0.0816628039, 0.0077317087, 0.0169861019, -0.0210136864, -0.0078810751, 0.0118313888, 0.0649588406, 0.025425883, -0.0395401679, -0.0774128214, 0.0749920085, -0.0733721405, -0.0259428211, -0.0059293658, -6.671192723e-33, -0.0244131312, -0.0671372265, 0.0093227746, -0.0346433111, 0.0100726727, 0.0108937519, -0.0540238991, -0.0281329788, -0.0496657528, 0.009354258, -0.0229764059, 0.0131059345, 0.0035512387, 0.0164321754, 0.0300327558, -0.0005042161, 0.040931493, 0.0107988622, -0.0473962985, 0.0375290923, 0.0564093739, -0.0237559211, 0.0476249643, -0.08510793, 0.0701374784, -0.0535182096, -0.0051014782, 0.0346464962, -0.01945691, 0.0906018168, -0.0011154535, 0.0270396266, 0.0131259952, -0.0447419547, 0.0222321674, 0.0122584961, -0.1059294865, -0.016013924, 0.0133521147, -0.0557074249, -0.0644542575, -0.057332553, 0.0220139641, -0.0242289752, 0.01633019, -0.0170616154, 0.0475325584, -0.0192511529, -0.001580943, -0.0414101481, -0.0166365691, 0.0195895787, 0.0101923654, -0.0079540191, 0.0017016105, 0.0841958001, 0.0176615566, 0.0342085175, -0.0339785479, 0.001950759, -0.0138479518, 0.0288550593, 0.0611977465, 0.0001623732, 0.0050175474, 0.0240585059, 0.0114414329, -0.0305118263, -0.0261413157, -0.0473279506, -0.0357327648, 0.0485056639, 0.0985929295, 0.104496561, 0.0083734896, 0.027724823, -0.0634622052, 0.0426740348, 0.0143949073, 0.0440853983, 0.0188602768, -0.0307122562, -0.0351963416, 0.0209191702, -0.0395365916, -0.0076029468, -0.0585694127, -0.0494236723, 0.0314197242, 0.0247945972, -0.050102476, 0.0423194245, 0.0302137863, -0.0316328667, -0.0228194855, 0.0467470177, -0.0012895286, -0.0185071044, 0.0084664617, 0.0036138056, -0.0245373789, 0.0492209084, 0.0028452778, -0.008424676, 0.0032036148, 0.0469775535, 0.0094652725, -0.0099620856, -0.0418756977, 0.0074579976, -0.0392629392, 0.0216941573, -0.0508953258, -0.0695783496, 0.0205176603, 0.0318915695, -0.0150252022, 0.0465291254, 0.014477903, 0.0320968404, -0.0256933831, -0.008213155, 0.0162510686, 0.0334085301, -0.0099992752, 0.0011643699, -0.0170651898, 0.0348958932, -0.0049799504, -0.0115122395, -0.0124763325, -0.0064263842, 2.744e-7, 0.017903449, -0.0034183217, 0.041414272, -0.0208996758, 0.0077360426, 0.0396345817, 0.0470901616, 0.0088773826, 0.0377497338, -0.0112582268, -0.0271034688, 0.0051827319, 0.050984215, 0.0379297882, -0.059052784, 0.0031160084, -0.0753563493, 0.0072724433, -0.0026212987, -0.0265705399, 0.0014826541, 0.0427718274, 0.0063867765, -0.0075013833, -0.0559282564, -0.0304127708, 0.0460537672, 0.015717851, -0.0226974152, 0.0359521918, 0.0928054973, -0.0064600641, 0.0321387351, -0.0107384659, -0.0220933296, 0.0168304928, 0.0029666326, 0.0309122913, -0.0030047628, -0.0742621943, -0.0437683873, -0.0590009913, 0.0625302568, -0.0958341435, 0.019704625, -0.0082335342, 0.0130643994, -0.0426772125, -0.0622956268, -0.0208320171, -0.0082750348, -0.0068447599, -0.0306908209, 0.0320938826, -0.0222490896, 0.0241665021, 0.0078811198, -0.0357671976, -0.051958587, -0.0041158241, -0.0150809251, 0.0071979151, -0.0134204114, -0.036244832, -0.0102014253, -0.055815924, 0.0282637551, 2.374769963e-34, 0.0046928143, 0.0154153006, 0.0115563525, 0.0451319516, 0.0610546619, 0.0000674197, -0.0175868496, 0.0210218672, 0.0610989816, -0.0429247953, -0.036718905 ]
http://arxiv.org/abs/2406.13662v1
http://arxiv.org/pdf/2406.13662v1
ObscurePrompt: Jailbreaking Large Language Models via Obscure Input
2024-06-19T16:09:58
2024-06-19T16:09:58
Yue Huang, Jingyu Tang, Dongping Chen, Bingda Tang, Yao Wan, Lichao Sun, Xiangliang Zhang
cs.CL
cs.CL
Recently, Large Language Models (LLMs) have garnered significant attention for their exceptional natural language processing capabilities. However, concerns about their trustworthiness remain unresolved, particularly in addressing "jailbreaking" attacks on aligned LLMs. Previous research predominantly relies on scenarios with white-box LLMs or specific and fixed prompt templates, which are often impractical and lack broad applicability. In this paper, we introduce a straightforward and novel method, named ObscurePrompt, for jailbreaking LLMs, inspired by the observed fragile alignments in Out-of-Distribution (OOD) data. Specifically, we first formulate the decision boundary in the jailbreaking process and then explore how obscure text affects LLM's ethical decision boundary. ObscurePrompt starts with constructing a base prompt that integrates well-known jailbreaking techniques. Powerful LLMs are then utilized to obscure the original prompt through iterative transformations, aiming to bolster the attack's robustness. Comprehensive experiments show that our approach substantially improves upon previous methods in terms of attack effectiveness, maintaining efficacy against two prevalent defense mechanisms. We believe that our work can offer fresh insights for future research on enhancing LLM alignment.
[ 0.0560063347, 0.1042514145, -0.0215979349, 0.0592703596, -0.0731363297, -0.0073218988, 0.0020966351, -0.0062371991, 0.0062393742, -0.0314367823, -0.0308216158, -0.03550658, 0.027738886, 0.0255765785, 0.0172061715, 0.0247793011, 0.0549971834, -0.0179177672, 0.0005101886, -0.000118405, -0.0016205716, 0.003197317, 0.0449363664, 0.0119083142, 0.0254181307, -0.018775044, -0.0164010096, 0.0258999486, 0.0200338438, -0.0087648313, -0.0180392954, 0.0342167467, -0.0197430011, 0.1154000312, 0.0000021008, -0.0512099713, -0.0703850165, 0.027339112, -0.03651122, 0.0405576974, 0.0188601427, -0.0532704554, -0.0484016836, -0.0056842621, -0.0505889989, 0.0243003592, 0.0539306775, 0.0278300326, 0.0765132532, 0.1083394364, 0.0025160394, 0.0287823118, 0.0308945049, -0.0361278839, -0.0020432991, -0.0481116325, 0.037255343, -0.0662786514, -0.0117751248, 0.0398744904, 0.0089310855, 0.0215770882, -0.0027204759, 0.0029291781, -0.0703146756, -0.0186172966, -0.0401195884, -0.0353676938, -0.0131543577, 0.0520325825, -0.0322274379, -0.0112919509, 0.0074559203, -0.007986391, 0.033569254, 0.0313706547, 0.004012106, 0.039040979, 0.0051891357, 0.018501373, 0.0442678779, -0.0016256586, 0.0598054864, -0.0042772703, -0.0146700609, 0.0751551166, 0.0125492001, -0.0508414358, -0.0110374503, -0.042159386, -0.0476473644, -0.0691580549, -0.01167884, -0.0150547875, -0.007140595, 0.038732592, -0.0929183662, 0.0022560004, 0.0356338844, -0.0270243511, 0.0108644869, 0.0401975736, -0.0082191695, 0.0282709189, 0.0138590019, 0.0313547254, -0.0523346961, 0.0197144859, -0.0158181824, 0.0317394696, 0.025732765, -0.0299123377, 0.0090918923, 0.0129763652, -0.0525742993, -0.0180556607, -0.0044131004, 0.0237219501, -0.031277515, 0.0460574813, -0.0503419973, 0.0057817353, -0.0022742164, -0.0090216491, 0.0159349088, -0.0099554192, 0.009772785, 0.0006946334, 0.0001367881, -0.0647229254, -0.0264723394, 0.0083443215, -0.0572044589, -0.0289175864, -0.0100536877, 0.090500243, 0.0173308812, -0.020034885, -0.032919541, -0.0519761518, -0.0334147215, -0.0444167703, -0.0061561549, -0.0703479275, 0.0071623428, -0.0091093164, -0.0160238817, -0.0858500972, 0.025586471, 0.031174846, -0.0483431816, 0.0824431777, -0.0105854124, -0.0183119178, -0.028470343, 0.0194583051, -0.0010481247, 0.0619100519, 0.007018127, 0.0439296626, 0.0707838312, -0.0079249302, 0.0215980243, 0.0689862221, 0.0028543987, 0.0302934069, -0.0320432447, 0.004194587, 0.0424740277, 0.012257807, 0.0052260444, 0.0403704755, 0.0214460324, -0.0411955304, 0.0746059716, 0.0566628836, -0.0473538935, 0.0292692445, -0.0196445193, 0.0013761896, -0.0257041473, 0.0367431715, -0.0953639895, -0.0254201833, -0.0826896876, -0.0014320338, -0.0217895452, 0.0462688953, 0.0227747168, 0.0003172888, -0.0170458313, -0.0040563573, 0.0011066238, 0.0237779263, -0.0061913477, -0.0019580172, -0.0236806385, 0.0570086874, 0.0439109132, -0.0218008067, -0.0255424064, -0.0452419147, 0.0023670206, 0.0306913778, 0.0605653599, -0.0152741261, 0.0235566963, -0.0164884385, -0.0084369611, 0.0407126844, 0.001470515, 0.0165296141, 0.002162237, -0.0206452869, -0.0102719637, -0.0120423101, 0.0380034558, 0.0310294759, 0.0143547319, -0.0124639831, 0.0108219618, -0.0313776322, 0.001636002, 0.0183666088, 0.0000149127, -0.0403979011, 0.0002633908, 0.0159571469, 0.0345452502, 0.0156680178, -0.0220686849, 0.0291154571, 0.0543719232, 0.0022952494, 0.020814497, -0.0261531565, -0.0316829942, -0.0280887038, 0.0318602622, -0.0361504816, -0.0191653352, 0.0498683713, -0.0322958007, -0.0239800196, 0.0099277254, -0.0282015447, 0.0510495007, -0.0023589127, 0.0663351566, -0.0105325067, 0.0238466971, -0.0510708094, 0.0486136302, -0.035341762, 0.0353159793, -0.0049624206, -0.0092958678, 0.0024764121, -0.0228585433, -0.0250029713, 0.0125160506, -0.0238157362, -0.0016153621, 0.0061925496, 0.010906185, -0.0009444021, -0.0712562948, -0.0301128179, 0.0148888566, -0.0051453384, 0.0272688754, 0.0299209058, 0.0280059818, -0.0318919905, -0.0107345348, -0.0260665603, -0.0426858664, 0.0132970968, 0.0104864892, 0.008880794, -0.0085333372, -0.053513892, -0.0093251579, -0.0110795144, -0.0187256318, 0.0543152802, -0.0263783652, -0.0267158244, -0.0702365413, -0.0076262476, -0.0184178893, 0.0244145039, -0.0153967207, -0.0043223635, 0.0040907348, 0.0234776512, -0.0044919411, 0.0523939729, 0.0004054789, 0.0204363856, 0.0668989494, 0.0081998128, -0.035722319, -0.0314953066, 0.0161393434, -0.0231718775, -0.0273806062, -0.0574071407, 0.019913448, 0.0365520716, 0.0332121775, -0.0013949003, -0.0200807657, 0.0401768237, 0.0085108168, -0.028033955, 0.0109759476, -0.0287413038, -0.0470862128, 0.0112618627, -0.028616257, -0.0788738355, 0.076344803, -0.0704571903, 0.0414031036, -0.0262755044, -0.0220443383, -0.0245270096, 0.0534340814, -0.0171064809, 0.0237637013, 0.0467590019, -0.0458364747, -0.0289671291, 0.005148069, 0.0128170848, -0.0296243466, 0.063599728, -0.0506762229, -0.0083861677, -0.0084410049, -0.0423755348, -0.0482422449, -0.1096533388, -0.0112629607, -0.0194932409, 0.0463164859, -0.0303966478, -0.04249781, -0.0251335595, 0.0118762814, 0.0225504376, -0.0048328722, 0.0322805382, -0.0553757027, 0.0343780033, 0.0428162739, -0.0387188904, 0.0382285975, -0.0099241193, 0.0240060985, 0.0679529384, 0.0441519059, 0.0122368271, 0.0334065221, 0.0193667244, 0.0342387222, -0.0036412841, -0.0169432499, 0.0237285811, 0.0372581929, -0.0336659066, -0.0037050424, 0.0843712389, 0.0386455804, -0.0099924626, 0.0348367579, -0.0063865827, 0.0313177407, 0.0112816058, 0.0119234351, -0.0763049945, -0.0301203672, 0.0366105177, 0.0496731661, -0.0491421297, -0.0464602672, -0.0500100814, -0.1288119853, -0.0089709871, 0.0551081635, 0.0003750012, -0.0132115297, -0.0358728915, -0.0026090487, 0.0089558931, 0.0440952219, -0.0061409781, -0.0143905003, -0.0260589477, -0.0186625589, -0.0028668812, -0.0222708564, 0.0106466422, -0.0244338959, 0.0877628326, 0.0769432858, -0.0032309492, -0.0157622192, -0.0000053101, 0.0307913274, -0.0098213023, -0.006670787, 0.0008255662, -0.0038751434, 0.0038477869, -0.014529977, -0.0077423691, 0.0565649346, -0.0133522246, -0.0135028511, 0.0286449287, 0.0644435063, -0.007936582, -0.0123624979, 0.0065626288, -0.0312247798, 0.0259747896, 0.0761855394, -0.0030023898, -0.0351365171, -0.025893297, -0.0602193251, -0.0316308253, 0.0260874219, -0.0093363291, 0.0476405881, 0.0163358524, -0.0286572352, -0.0403394401, -0.0062908325, -0.0241777115, 0.0502748266, 0.0493157133, 0.0123966392, -0.0053892373, -0.0153203262, -0.0237308033, 0.0272635967, -0.038424626, 0.0403690264, -0.0545371249, 0.0374346301, -0.0184385013, -0.0135373985, 0.00095527, 0.0271929819, -0.0423853807, -0.1007013023, 0.038558282, 0.0207805522, 0.033811029, 0.0440024287, -0.0302598141, -0.0441931039, 0.0463728718, 0.0862869397, -0.0489217788, 0.0331737995, 0.0355199538, -0.0141815962, 0.0107453661, 0.0456535034, -0.0310643893, -0.041307535, 0.0658698678, 0.0279392805, -0.0605714247, -0.0109532541, 0.0451845117, 0.0274550077, 0.0213942695, -0.0233040713, 0.0123523427, -0.0042287549, 0.0356510617, -0.0183849167, -0.0408571549, -0.0126749249, 0.0031796978, 0.0436248258, -0.0014859681, 0.0262046512, 0.0067337067, -0.0269309338, 0.0282437131, -0.0328747556, 0.0247355811, 0.0064105983, 0.0308419075, 0.0509046316, 0.0104898289, -0.017117165, 0.0914830416, -0.0259611495, 0.0368155316, 0.0015802481, 0.0598985553, 0.0085960627, -0.0155286165, -0.0283449292, 0.0497540571, -0.0732522979, -0.020187797, -0.017357327, 0.0592898354, -0.0169685856, -0.0270527788, 0.0037299381, -0.0049171965, -0.0082085645, -0.0227479227, -0.0216364935, 0.0077383695, -0.0667426363, 0.0405536145, 0.0148561066, -0.0331923515, 0.0453247055, 0.0418973826, 0.0169657413, 0.0281660724, 0.0046053724, -0.0162267871, -0.0384039097, -0.0301703978, 0.0575061031, 0.0091726221, -0.0651986822, -0.0168661755, -0.0706538856, -0.075981684, -0.0218124036, -0.0056901546, 0.0076094344, -0.0057211979, -0.0399978235, 0.0639019608, -0.0070211375, 0.0295140203, -0.0487763509, 0.0078509692, 0.0192448366, -0.0532422699, -0.0065884315, -6.363446098e-33, 0.0221927669, -0.0201849751, -0.0664115325, -0.0400000662, 0.0248992797, 0.0172550566, -0.0085434979, 0.0225471798, -0.0136118727, -0.0414636284, -0.0306901578, -0.0036915313, 0.0146583728, 0.0156237092, -0.053375043, -0.020717077, 0.0124838622, 0.0317394286, -0.0309838075, -0.0204178058, 0.045590736, 0.0141270682, 0.0253006388, -0.0490107127, 0.0810446665, -0.0373349302, -0.0456957482, 0.0441305637, -0.02969715, 0.0523342863, -0.0053737778, 0.0075162374, -0.0097963037, -0.025557654, -0.003648889, 0.0782744586, -0.0132706147, 0.0132566914, 0.0502162389, 0.0024753229, 0.0286808778, -0.0533740558, 0.0323416702, -0.0247662384, -0.0160159115, 0.0105624804, -0.0106860278, -0.0314428136, -0.0311520658, 0.0139853405, -0.0279694274, 0.0191328302, -0.0245455559, -0.0008305516, -0.0082638962, -0.0012734816, 0.0158854946, 0.0017844638, -0.0479014479, 0.0188644864, 0.0494417436, 0.020260416, 0.0705309957, 0.0072762715, 0.0050576641, 0.0732643679, -0.0127321454, -0.041301731, -0.006539077, -0.0216948204, -0.0067918496, 0.0504981019, 0.0341116525, 0.0689692199, 0.0482329428, -0.0192026347, -0.0528605878, -0.0000409879, 0.0137257036, -0.0126993684, 0.0329723917, -0.000906492, -0.0685309097, 0.0064044255, -0.0302911755, -0.0276713017, -0.0324628875, -0.0232560132, 0.02275078, 0.0047077406, -0.0445156991, -0.0069661536, 0.0064276475, -0.0602099709, -0.018802939, 0.0046659852, -0.0098448228, -0.0180964172, -0.0070515005, 0.0498583168, 0.0038787499, -0.01626442, 0.0244936831, -0.0494040139, 0.0315519609, 0.0068338695, 0.0282655638, 0.014068543, -0.0957112387, -0.0005404896, -0.0212304685, 0.0484990664, 0.0042027486, -0.0190271083, 0.0699469224, -0.0331317559, 0.0001110952, 0.0031521451, 0.0409010872, 0.0210276805, -0.0450636186, 0.0463032722, -0.0485735536, 0.0286620613, -0.0135109024, 0.0009639713, 0.042446956, 0.0156224612, 0.0428559184, -0.0377300791, 0.0028984365, 0.0075392127, 2.89e-7, 0.0090007288, -0.006896446, 0.0152458865, -0.0118106753, 0.0073480732, 0.0669732168, -0.0321044326, 0.0683595091, -0.0172393899, -0.0743261352, -0.0182399582, -0.0320709608, 0.0513223521, 0.0149978837, -0.0782616436, 0.0361900628, -0.055836305, 0.0034735566, -0.0719675273, 0.0015819746, 0.0200269315, 0.1334585994, 0.0117602115, -0.0314741246, -0.0197091736, -0.0567800924, 0.0128731979, -0.0215193778, -0.0210110657, -0.0141837299, 0.01735688, -0.00808826, 0.0084153069, 0.0107920514, -0.0114418231, 0.0277181175, -0.0240604542, 0.0738792047, 0.0134162065, -0.0199594926, -0.0400638022, -0.0521784462, -0.0254289638, -0.0595033094, 0.0601031221, -0.0054305457, -0.0528729409, -0.0343546197, -0.0010760654, -0.0299576037, 0.0029171638, -0.0071918191, 0.0045115957, 0.0118575767, 0.0165345054, 0.0106461467, 0.0095101362, -0.0614259951, -0.0376546644, -0.003708147, -0.0326227471, -0.0380936228, -0.0128982421, 0.0332076401, 0.0428223833, -0.0786254108, 0.0213528927, 3.180265528e-34, 0.011337555, -0.0483086109, -0.0021381222, 0.0136366701, 0.0384659059, -0.0018037047, 0.0341047384, 0.0393964648, 0.0160884112, -0.0647688657, -0.0215261113 ]
http://arxiv.org/abs/2406.13660v1
http://arxiv.org/pdf/2406.13660v1
Towards Minimal Targeted Updates of Language Models with Targeted Negative Training
2024-06-19T16:06:21
2024-06-19T16:06:21
Lily H. Zhang, Rajesh Ranganath, Arya Tafvizi
cs.CL
cs.CL, cs.AI
Generative models of language exhibit impressive capabilities but still place non-negligible probability mass over undesirable outputs. In this work, we address the task of updating a model to avoid unwanted outputs while minimally changing model behavior otherwise, a challenge we refer to as a minimal targeted update. We first formalize the notion of a minimal targeted update and propose a method to achieve such updates using negative examples from a model's generations. Our proposed Targeted Negative Training (TNT) results in updates that keep the new distribution close to the original, unlike existing losses for negative signal which push down probability but do not control what the updated distribution will be. In experiments, we demonstrate that TNT yields a better trade-off between reducing unwanted behavior and maintaining model generation behavior than baselines, paving the way towards a modeling paradigm based on iterative training updates that constrain models from generating undesirable outputs while preserving their impressive capabilities.
[ 0.0022106725, 0.0876193121, -0.005596776, 0.0013453284, -0.0371352807, -0.001162691, -0.0479570813, 0.0146654155, -0.0752168223, -0.0062313164, -0.0240855161, -0.0454954542, -0.0008996315, 0.0443524085, 0.0583379678, -0.0432521999, 0.0531460606, -0.0107008396, -0.0178843327, -0.0303101875, 0.0042883316, -0.0116166631, -0.0108481962, -0.0002667485, -0.0078618331, 0.0117710726, -0.0196596347, 0.023190394, 0.0071962075, -0.0149885332, 0.0049022497, 0.0359307304, -0.0141332131, 0.0412876271, 0.0000017768, -0.043637868, -0.0109878639, -0.0048679849, -0.0280418247, -0.0033209645, 0.0678815916, -0.0338455327, -0.0616578571, 0.0280773677, -0.0246379897, 0.0056639467, 0.0689009726, 0.0217941012, 0.050087288, 0.0802530721, 0.007750378, -0.0081796506, 0.0200395305, -0.0611771643, 0.0005993777, -0.0115299858, 0.0176166836, -0.0147459833, -0.0325908288, -0.0218921229, -0.0430685952, 0.0369683616, 0.0056819418, -0.0077839596, 0.020731397, 0.0489342064, -0.0070426883, -0.0424478874, 0.0207526442, 0.0327923074, -0.0281525627, -0.0621624887, -0.0188256986, -0.0231715422, -0.0050308453, -0.0367752574, -0.0205413345, 0.0043511209, 0.0420819595, 0.0440733843, -0.0108263502, -0.0327927321, 0.0373822264, 0.0213465802, -0.0112175941, 0.0056474451, 0.0439113379, -0.0443523116, -0.0118819075, -0.0013721327, -0.0300972424, -0.0235182941, -0.018887911, 0.0195373502, 0.0045700488, 0.0177008845, -0.0185292792, -0.0346300863, 0.0115670394, -0.0543816537, 0.0290481076, 0.0260589533, 0.0039508198, 0.0179198608, -0.0142717995, -0.022413671, 0.0080429278, -0.0019283182, -0.0192884952, 0.0209253356, -0.0155391591, -0.0282596089, -0.037968386, 0.0168604348, -0.0198841728, 0.0081684422, -0.0020491721, 0.0200173333, -0.0374620445, -0.0157274306, -0.0268754233, 0.0188097581, -0.0779992789, -0.0121001061, 0.0057620243, 0.0402820297, -0.0173826534, -0.0059014563, -0.00893916, -0.0491832383, -0.0375029035, 0.0131527046, 0.0185516514, 0.0308838896, -0.0070889294, 0.0599609129, -0.0163587928, -0.0008100109, -0.0673995689, -0.0177505407, -0.0070319027, -0.0593168475, -0.0226822868, -0.0277387109, -0.0380439535, -0.0136321234, -0.0005218753, -0.0975624174, 0.0057271682, -0.0153701482, 0.0136192916, 0.0613208599, 0.0212298352, 0.0017065856, 0.0552230813, 0.0087771881, -0.0033184041, 0.0894580856, 0.021470027, -0.0226020571, 0.0109465113, 0.0029454175, 0.0197464786, 0.0625899136, 0.085296303, 0.0486326553, -0.0556271635, -0.0407246947, -0.0065631093, 0.0256092008, 0.0601611435, 0.0325183198, -0.0333013572, -0.0218735896, 0.0993864015, -0.0031048213, -0.0326272547, 0.0382115133, 0.0185059234, 0.0021642027, -0.0461545065, 0.0011702586, -0.0392768644, 0.0078239646, -0.0490432158, 0.0167255905, -0.0175707936, -0.0379340872, -0.0490155406, -0.0304291751, 0.0059524653, -0.0239202473, 0.0280474704, -0.0475370958, 0.0736373141, 0.0421140045, -0.0453260094, 0.0476110242, 0.0461323783, -0.0700918511, 0.0274263322, -0.0462086573, 0.0453819819, 0.0228493381, 0.0458017811, -0.0081678918, -0.0453127846, 0.0022884384, -0.0440720655, 0.0664167181, 0.0430076346, -0.0069332174, 0.0411915258, -0.0137138618, -0.0181600004, 0.0458923616, 0.0231176615, 0.0102245528, 0.0231149253, -0.0153313391, 0.0245111957, -0.0350921527, -0.0193586368, 0.0265733656, -0.0625849366, -0.0057764924, 0.0328256749, 0.0061139017, 0.0404090211, -0.0223091245, -0.0114217578, 0.0223965701, 0.0388305709, -0.0143187921, -0.0479482673, 0.0181555524, -0.0599034131, -0.0090525039, 0.0413550958, 0.0115600694, 0.0540574864, 0.0628600717, -0.0282595251, -0.0407283045, 0.0915012509, -0.0456260219, 0.0551397279, -0.0465025902, 0.0199267715, -0.0097849276, -0.0083588585, -0.0226113833, 0.0451301038, -0.0311504118, -0.0010548424, 0.0031853053, -0.0067874831, 0.0028835994, -0.0551796779, -0.0442776866, -0.0020199195, -0.0056440253, 0.0208246, 0.059866596, -0.0130079836, -0.0295635983, -0.0003594076, -0.0229296219, -0.003545328, -0.0298564155, 0.0304905679, 0.0552478507, -0.0015876732, -0.0046946937, -0.0443136245, -0.0110675776, -0.0055428427, -0.0020574846, 0.0176738519, 0.0165132042, 0.0338472873, -0.0192865245, -0.0350867808, 0.0003832661, 0.0301946644, 0.0250802115, -0.0394706354, -0.0076887002, -0.0692099854, 0.0259379689, -0.0465298891, 0.0570564047, 0.0173654705, -0.0353094228, 0.0025418291, -0.0150647657, 0.0396106467, 0.0245210137, 0.0071699494, -0.0157733951, 0.0320017189, 0.033079572, -0.0585600697, -0.0177301224, -0.0478670746, -0.0315223895, -0.0194933116, -0.03539823, -0.0272307824, 0.0746858716, 0.0000475644, -0.0288222935, -0.0928852484, 0.009963695, -0.0335432403, -0.0496623404, -0.0026123, 0.001099846, -0.0383943543, -0.0035571086, -0.0428174399, -0.0745341852, 0.0517073795, -0.0208873805, -0.0116146076, -0.0185928755, 0.0338600129, 0.0192079991, 0.0604170598, 0.031381283, 0.0405247696, 0.0585968532, 0.012083346, -0.0684099048, -0.0128199011, 0.0619202554, -0.0029985907, 0.0169695057, -0.0593849495, 0.0201686528, -0.0129151735, -0.033817362, -0.0480918586, -0.0479129627, 0.0521716624, 0.0021916467, -0.0111656226, -0.0064489674, -0.0236159414, 0.0052490234, -0.0319438204, 0.0506916642, -0.0291788317, -0.0178041067, -0.0064065489, 0.0218222365, 0.0498413853, -0.0157308672, 0.0107626095, -0.0073774513, -0.0160913374, 0.0422495529, 0.0287630092, 0.0364055037, -0.0249062162, -0.0152613577, 0.0370335095, -0.0020401792, -0.032093253, 0.0202417951, 0.0275535285, -0.0162928477, -0.0570371449, 0.0897196084, 0.0208609588, -0.0045430115, 0.0186945498, -0.0010935131, 0.0914024934, 0.0195617005, 0.0048271185, -0.0509981215, 0.006182998, 0.0009963344, 0.0733741149, -0.019192731, -0.0241426677, -0.028331317, -0.1432488859, -0.0039079529, 0.0538507849, 0.0032319471, 0.0046019536, -0.0116204629, -0.01155061, -0.0597963072, -0.0139372759, 0.0383803025, 0.0138707869, 0.0162834711, 0.0522433519, 0.0053049298, -0.0612932518, -0.0165027194, -0.0290232059, 0.0545348749, 0.0886056572, -0.0120578725, -0.0070930086, -0.0183560681, 0.0532317907, -0.0193679035, -0.0177507084, -0.0116043473, 0.0271721724, 0.0389466546, 0.0082503166, 0.0160952173, 0.0442902446, -0.0105829006, -0.0114469444, -0.0323775634, 0.0510421731, -0.0122615853, -0.0050343452, 0.0114333574, -0.0056488137, 0.0334757529, 0.0796018094, 0.0063564479, -0.0431290716, 0.0145352827, -0.0224920139, 0.0683198795, -0.0278151315, 0.004235073, -0.036197681, 0.0231540948, -0.0731888935, -0.1015866846, -0.0186893735, -0.035790585, 0.0340267159, 0.0259196684, -0.0207188819, -0.0234914273, -0.0061092572, -0.0273650959, -0.0152711757, -0.0300460961, -0.0081193028, -0.0602314845, -0.0479789972, 0.0465587415, -0.0218795631, -0.0337208323, -0.0006121194, -0.0861509517, -0.0868619308, -0.0000142658, 0.0560638309, 0.0218942463, 0.0797394216, -0.0125345271, -0.0592321977, 0.06810949, 0.0673816353, 0.0096192844, 0.0550010055, 0.0742990524, -0.0555918477, -0.0161889531, 0.0627896935, -0.0221447181, 0.0400161073, 0.0606703386, 0.0367210582, -0.0379015505, 0.0057272888, 0.0433651432, -0.0235102642, 0.0458617248, -0.064675726, -0.0219569337, -0.0198981315, 0.0094435308, 0.0014359856, -0.001560733, -0.0238494836, 0.0099840527, 0.0487110578, -0.0094507579, -0.016064724, 0.0104801096, -0.0236049481, 0.0704638734, -0.0165407378, -0.0212012865, 0.050962124, 0.0156713985, 0.0190616604, 0.0309096184, 0.0040407819, -0.0044756685, -0.0125236362, -0.0015081773, -0.0522354804, 0.0151266772, 0.0286433194, 0.0254426189, -0.0189305805, -0.0085957535, -0.0265932083, 0.0081212316, -0.0432171859, 0.0180719029, 0.0427164957, 0.0312819779, 0.0690962523, -0.0017828156, -0.0185045935, -0.0449812785, 0.005714071, 0.000277695, -0.0443824828, 0.0032697504, 0.0041413642, 0.0023899206, 0.0063900477, 0.0675725713, -0.0137264337, 0.0869672373, -0.0441574007, 0.021380119, -0.0320992135, -0.0167074893, -0.0052130679, 0.0072936774, 0.0129690738, 0.0357282162, -0.0329181068, -0.0580888428, -0.0175606534, 0.0268035494, 0.0272041615, 0.0070526651, 0.053534206, 0.0278348438, -0.054446999, -0.0052118679, -0.0300772209, -0.006640824, 0.0232404023, 0.0088086799, -0.0309050269, -5.963494431e-33, -0.024796607, 0.0259015374, -0.0097126765, -0.0125693949, -0.0049773199, -0.0298700649, -0.0360794179, 0.0028907128, -0.0023871395, 0.0061829039, -0.0122398036, 0.0004822389, 0.0040836893, 0.038391903, -0.011218871, 0.0103488602, 0.1037451923, -0.0286171604, -0.0439831838, 0.0278121289, 0.0453700647, 0.0294213835, 0.0671745539, -0.0204499159, 0.0091167716, -0.0248557832, -0.0655463859, 0.0328786783, 0.0213298313, 0.0302386917, -0.0197549704, 0.0350707248, -0.0058257119, -0.0813231468, -0.0465211794, -0.045997303, -0.0680407584, -0.0289050899, -0.0010789705, 0.0162198227, -0.0119554177, -0.0052600149, 0.0673219562, -0.0020283668, -0.0360447802, 0.0334735364, 0.0016326366, -0.031335216, -0.0226180069, 0.021759171, -0.0818924159, 0.0284482688, 0.0064797034, -0.059488792, -0.0003881956, -0.0050045522, -0.0117148319, -0.0470446013, -0.0288748778, 0.0173214842, 0.0424854383, 0.0623410195, 0.0553892329, 0.0288688466, 0.007393261, 0.0175166987, 0.0088663911, -0.0177463777, 0.0482870378, -0.0385751165, 0.0538952015, -0.0127652027, 0.0224265456, 0.0400531255, 0.0302227996, -0.0348148644, -0.0419007987, 0.004036929, -0.00005503, 0.0454305522, 0.0094286315, 0.0580958463, -0.0295194648, -0.0247032158, -0.0548879951, -0.0782733709, 0.004208134, -0.023266837, 0.020658033, 0.048125267, -0.0495850593, 0.0227119941, 0.0225195959, -0.0206164196, -0.0284927692, 0.0379672609, -0.0311483946, -0.0090574799, 0.0076808627, -0.0096611017, -0.0475524366, 0.0106825866, 0.0397589542, -0.0010714302, -0.0140599925, -0.0131179215, 0.076145336, 0.0663614646, -0.0923499092, 0.0060962057, -0.0335446298, 0.0470397063, 0.0237841941, 0.0221038517, 0.0253444482, 0.0042877756, 0.005846397, 0.0239821058, 0.0460546091, -0.0035748149, -0.0334654525, 0.0683264881, 0.0196959488, 0.0305514559, -0.0257524382, -0.0082826363, 0.009436558, 0.0149047775, 0.0589592643, -0.0605383404, -0.0310653746, -0.0194467064, 2.412e-7, 0.0289242528, 0.0166451987, 0.0277552903, 0.0160663482, 0.0663259923, 0.0629477873, -0.0376540124, 0.0188950282, 0.0067776954, 0.0549341589, 0.0206173528, -0.0075700632, -0.0020393557, 0.0246146657, -0.051029902, 0.0451614931, -0.0944858715, 0.0161006395, 0.0083929673, -0.0147525985, 0.0344293453, 0.1134641469, 0.0377925746, -0.0205388814, 0.0097765857, -0.0313076377, 0.0810761899, -0.0108703915, 0.0100181494, -0.0029031937, -0.0104895514, -0.0022234044, 0.0015669186, -0.014410628, -0.0381054357, -0.026032947, -0.0576833934, 0.0387583226, -0.0532561168, -0.0200421624, -0.0019026413, 0.0283447579, -0.0198663715, -0.0113612572, 0.0597626641, -0.0148311453, -0.0099479565, -0.0489986539, -0.0299836956, 0.0237909183, -0.0059463507, -0.0348179489, -0.056090612, 0.0109974397, 0.0151562504, 0.0503477305, -0.039338138, -0.0503492132, -0.0130683519, -0.0164824817, -0.0259623453, -0.0529762208, -0.0221176744, 0.0353732668, -0.0014089918, -0.050018765, 0.0079358676, 2.054003498e-34, 0.035100814, -0.0097480258, -0.0197514724, -0.0162213165, -0.0074946508, -0.0060599283, 0.0070761237, 0.0125193149, 0.0194821544, -0.0019240869, -0.0142599521 ]
http://arxiv.org/abs/2406.13632v2
http://arxiv.org/pdf/2406.13632v2
Can Few-shot Work in Long-Context? Recycling the Context to Generate Demonstrations
2024-06-19T15:28:29
2024-06-23T07:19:22
Arie Cattan, Alon Jacovi, Alex Fabrikant, Jonathan Herzig, Roee Aharoni, Hannah Rashkin, Dror Marcus, Avinatan Hassidim, Yossi Matias, Idan Szpektor, Avi Caciularu
cs.CL
cs.CL
Despite recent advancements in Large Language Models (LLMs), their performance on tasks involving long contexts remains sub-optimal. In-Context Learning (ICL) with few-shot examples may be an appealing solution to enhance LLM performance in this scenario; However, naively adding ICL examples with long context introduces challenges, including substantial token overhead added for each few-shot example and context mismatch between the demonstrations and the target query. In this work, we propose to automatically generate few-shot examples for long context QA tasks by recycling contexts. Specifically, given a long input context (1-3k tokens) and a query, we generate additional query-output pairs from the given context as few-shot examples, while introducing the context only once. This ensures that the demonstrations are leveraging the same context as the target query while only adding a small number of tokens to the prompt. We further enhance each demonstration by instructing the model to explicitly identify the relevant paragraphs before the answer, which improves performance while providing fine-grained attribution to the answer source. We apply our method on multiple LLMs and obtain substantial improvements (+23\% on average across models) on various QA datasets with long context, especially when the answer lies within the middle of the context. Surprisingly, despite introducing only single-hop ICL examples, LLMs also successfully generalize to multi-hop long-context QA using our approach.
[ 0.0075423806, 0.0527093522, -0.0004208172, 0.0446716137, -0.0458970256, -0.0015856175, 0.0349445157, -0.0062223524, -0.033504229, -0.057837069, -0.014664771, -0.023330817, -0.0162924342, -0.0001596432, 0.0440863781, -0.0428050049, 0.0334440805, -0.0473436117, -0.0156410988, 0.0076910211, -0.0244632848, 0.0105811954, -0.0110410564, 0.0393406712, -0.0009109387, -0.0462745652, -0.0274729542, 0.0111623602, 0.0077620363, -0.026194578, -0.0017351648, 0.0440404862, 0.0339663178, 0.0287440177, 0.0000017689, -0.0483566523, -0.0104522649, 0.0231148507, -0.0703448877, 0.0395633839, 0.0321157314, 0.020909857, 0.0281568803, 0.0272454154, -0.0460169725, 0.0040959339, -0.0054969052, 0.0431409404, 0.0425750129, 0.0647166893, 0.0100468248, -0.0388318263, -0.0160067324, -0.0313331112, 0.0621913932, -0.0741497651, 0.0141799375, -0.0451045148, 0.0510225445, 0.0380319692, -0.031898424, 0.0266599581, 0.0634219423, -0.0167381074, -0.026680015, 0.0428140685, -0.0655296445, 0.0355001129, -0.0021795616, 0.0718915388, -0.0189095959, -0.0210334025, -0.0158291236, -0.0145512251, 0.0262461118, -0.0301013459, -0.0758671835, -0.0022533357, 0.0234336872, -0.0033825091, -0.0053489832, -0.0104943542, 0.0083815251, -0.0077813636, -0.0427722409, 0.0229393393, 0.0075637642, -0.0273797102, -0.0208318885, -0.0073405937, -0.0351467431, -0.0495140366, -0.0421941355, 0.052289255, -0.0661704987, 0.0315211155, -0.0327714011, -0.0344975255, 0.0352869891, 0.0231001116, 0.0217835829, 0.0236245319, -0.0127501357, 0.0659309477, -0.0304818209, 0.0422967039, -0.0014944217, 0.0375454389, -0.0490929224, -0.0194726326, -0.051230032, -0.0108738337, -0.0592660233, 0.0329387859, -0.0440628454, -0.0252014324, -0.0281919166, 0.0253940504, -0.0153732812, 0.0107870772, -0.014731897, 0.0114821633, -0.024086047, -0.0001447133, 0.0144262686, 0.0274054762, -0.0544342957, 0.0144116636, 0.024629822, -0.0580438636, -0.0401576981, 0.0030156074, 0.0255324803, -0.0277809724, 0.000520156, 0.0677978024, -0.0214772802, -0.0785966218, -0.0178201795, -0.0359237827, -0.0016208452, -0.0410613567, -0.0389235616, -0.069634825, 0.0432643965, -0.0054334882, -0.0070261923, -0.0008434195, 0.0056239082, 0.0548016801, -0.00801971, 0.071931541, 0.039038606, 0.0089762192, 0.030264318, 0.0230291337, 0.015875414, 0.0988883898, 0.0078699859, 0.0054018903, 0.0344473422, 0.0167386308, 0.0195627809, 0.0205526166, 0.0778494179, 0.0276418459, -0.0253976434, 0.0461092032, 0.0298849083, 0.0492232963, 0.0148644615, 0.0430652797, -0.0366372615, -0.0058148382, 0.0084987162, 0.0606849827, 0.0246840864, -0.0534552559, 0.0424042456, 0.0023539085, -0.0089460937, -0.0098299012, -0.07090538, 0.0147627322, 0.0171314329, 0.0109868757, 0.0412101559, 0.01385858, -0.0406713262, -0.0059505301, 0.0126384161, -0.005832463, -0.0268270411, 0.03757824, 0.027723426, 0.0372188762, -0.0420484319, 0.0245618206, 0.0048367819, -0.0223248266, 0.0191133283, -0.0568792224, 0.0371916406, 0.0286327936, 0.0390741266, -0.0315119959, -0.0311379209, -0.0172368884, 0.0610556044, 0.014440503, 0.0189996213, -0.0445438363, 0.0267694555, -0.0019827986, -0.0273144133, -0.0426588096, 0.0081636785, -0.0099264104, 0.0486952998, 0.0270319823, 0.02069249, -0.0635830685, 0.0522563383, 0.0301755592, -0.0426497534, -0.059991762, 0.0275112372, 0.0086953733, 0.006352142, 0.0300119407, 0.0066868807, 0.0244779158, 0.036744874, -0.0415441766, 0.0087479865, -0.0064107813, -0.0659308657, -0.0856568664, 0.0107176919, -0.0009036946, -0.0160842333, -0.0258497447, -0.0636612251, -0.0308840517, -0.0175228994, -0.0088061141, 0.0575673766, -0.014381391, -0.0047742021, 0.0032419118, -0.0028225679, -0.0476409867, 0.0487481728, 0.016423557, 0.0169546194, 0.0421403758, 0.0391827375, -0.0194707047, -0.0499823131, 0.0084528318, -0.0219270494, -0.0104549835, 0.0000499497, -0.0072062938, 0.0346882641, -0.0562488995, 0.0042687156, -0.1047443151, 0.0044866884, -0.0427534506, 0.0109360786, 0.0087411394, 0.0291208569, -0.0229336414, -0.017504368, -0.0480479151, -0.0426111668, 0.0000626721, 0.0485906713, 0.021010166, 0.0535493009, 0.0016663427, -0.0147593925, -0.0082565984, -0.0124433031, 0.0769410878, -0.023443006, 0.0382664092, -0.0394977555, 0.0090237036, 0.0280498192, 0.0037975956, -0.0133168539, 0.0208615437, 0.0137233501, -0.0158633459, 0.0294702612, 0.0724154189, 0.013505809, 0.0112833707, 0.0057742922, 0.0071400292, -0.0745016113, 0.0299909282, -0.0090836575, -0.0211491231, -0.0201618001, 0.0048713991, 0.0235072114, 0.018562315, -0.0019212059, -0.0091574844, -0.0353509448, 0.0468623713, -0.0118104899, -0.0315145105, -0.0653051361, -0.0111216111, -0.0138399219, 0.0196527839, -0.0051999511, -0.0110526532, 0.0668757856, -0.0128695853, 0.0111208996, -0.0166373625, 0.0080994563, -0.0647809356, 0.071696572, -0.0168798752, -0.0047225426, -0.0246583484, -0.0324253887, -0.0448197089, -0.01982476, -0.0305993799, -0.0164314546, 0.0582731813, -0.031488996, -0.0004541753, -0.0166161098, -0.0621033758, -0.0516735911, -0.0318835527, 0.0025227324, 0.0240215007, -0.0281976201, 0.0125937164, 0.0141816996, -0.0188893452, 0.0414992273, 0.0523924679, -0.0231315996, -0.0059990599, -0.011714194, 0.0465297513, 0.0758074075, 0.0103543354, -0.0063034575, -0.038886562, 0.0495432988, 0.05226456, 0.1087366343, -0.0072719469, 0.0122906305, -0.0216180161, -0.0021413711, -0.0247351974, 0.0011873269, 0.0451651476, 0.0757972673, -0.0626669526, -0.0438295528, 0.0891209841, 0.030769892, -0.0567015149, 0.0073451907, -0.0076080766, 0.00813396, 0.0278575886, 0.0476896614, -0.1179963946, -0.0380149633, 0.0055286945, 0.0213770512, 0.0076339287, -0.0233812891, -0.0190928169, -0.1706199497, 0.0360645726, -0.0081691984, -0.0804648697, -0.0127640124, -0.0486651324, 0.0158275831, 0.0115378862, 0.0409499072, 0.040927574, -0.0289704856, 0.0004429223, 0.0176466201, 0.0506055169, -0.0571319722, 0.0479177646, -0.0314673334, 0.024686873, 0.0223747157, -0.0027052981, 0.0203314498, -0.0003130457, 0.0322654173, -0.0595762208, 0.0217103455, 0.0010592925, 0.0326653682, -0.0256900545, -0.0063813897, 0.0359436795, 0.0705176666, -0.0295767076, -0.0490373187, 0.0338674821, 0.0644051284, -0.0036436974, 0.006413802, -0.0476219729, -0.0399854407, 0.0238984749, 0.075300239, 0.0554809831, -0.0532461554, -0.0374383964, -0.0041653262, -0.0198475737, -0.0627302527, 0.0151824746, -0.0013089975, 0.0075326804, 0.0300366301, -0.0495603979, -0.0427650176, 0.0636508539, 0.0709332004, -0.0280411616, 0.039553564, -0.0504118763, 0.0094322944, -0.0389767103, 0.0038670984, -0.0533523895, 0.0311722849, -0.0493793786, 0.0341947712, 0.0300009586, -0.0124039222, -0.0193928201, 0.0112382555, -0.1043684557, -0.0578079671, -0.0005445603, 0.0230228715, 0.0137596615, 0.063668251, -0.0071476242, -0.0282348804, 0.0826813653, 0.0648426935, -0.0177198481, 0.0174840055, -0.0038188, 0.0271282159, -0.0099924076, 0.0377357304, -0.072957024, -0.0062278253, 0.0111403288, 0.0530138053, -0.0445851758, 0.0077069858, 0.020424841, -0.0117040258, 0.0340268239, 0.0099507561, -0.0062907892, 0.0032928584, 0.0665147305, -0.0366255417, -0.0207277108, -0.0067007239, 0.0017827991, -0.0253182389, -0.0334517397, 0.0069014593, -0.0150910662, -0.0060453094, 0.0688558817, -0.0390786231, 0.0099015292, 0.0232639406, -0.0257648006, 0.0263370462, -0.0001790521, -0.0066572572, -0.0207873527, 0.0040400904, 0.0427784435, -0.0398103148, 0.0496856757, 0.0471342914, 0.0006470297, -0.0266744029, 0.0168544352, -0.0814794973, 0.0017449419, -0.0336950161, 0.0325401127, 0.0228494443, -0.0075813183, -0.014809709, -0.0013041394, -0.0261126943, -0.0084872255, 0.0100966468, -0.0111355465, -0.0369396396, 0.0398836248, 0.0574573614, 0.0166595746, 0.0234103519, 0.0741182044, 0.0031965065, 0.0451939069, 0.0326964185, 0.0407995246, -0.0372740328, -0.0146080796, 0.0419138968, 0.0259867255, 0.0137458267, 0.0025360796, -0.0475039445, -0.0620700791, 0.0133765126, -0.0063603376, -0.0274045244, -0.0058302204, 0.0394218192, 0.0754203051, 0.0174448118, -0.0399210118, -0.032505244, 0.0121805286, 0.0154213225, -0.0653026253, 0.002564288, -5.72034673e-33, -0.0191699062, -0.0462634638, 0.0406325497, -0.0276536644, -0.0152173638, 0.0114551755, -0.0139778499, -0.034190584, -0.0157614015, -0.0027849581, -0.0586527735, 0.011572713, 0.0072350935, 0.0479241945, 0.0107128751, -0.0302054007, 0.0366073139, -0.0142253693, -0.017436523, 0.0500657372, 0.01034577, 0.0225356519, 0.0084553314, 0.0058542695, 0.0113606704, -0.0041126441, 0.0004108924, 0.0286665969, -0.0293400884, 0.0598422512, -0.0095655974, 0.0294001605, 0.0344319828, -0.0389148593, -0.0069500213, 0.045788832, -0.0801602602, -0.0363624915, -0.0013923474, -0.0095995246, -0.0457464904, -0.0342827775, 0.037985675, -0.0236046873, -0.0010120077, -0.0183202717, 0.001953902, 0.0021352221, -0.0261468384, -0.0374105722, -0.0399979576, 0.0007294354, 0.0002869802, -0.0286502857, -0.008346254, 0.0442079976, 0.0119766481, 0.0379225388, -0.0299521293, 0.0057337233, 0.0096838335, 0.0264196824, 0.0444870591, 0.0135973087, 0.0011370396, 0.0335709937, 0.0086355861, -0.0030653917, 0.005105861, -0.034241844, 0.0263750963, 0.0141623411, 0.0305806436, 0.0783291385, 0.0531817377, 0.0116961943, -0.0602316111, 0.0096659781, 0.0116462372, 0.0260079093, 0.0333671458, 0.0104499348, -0.0244787354, -0.0181991346, -0.0558186732, 0.0152965998, -0.0421514511, -0.0172729325, 0.0605369098, 0.027029315, -0.0333163477, -0.001892662, 0.0522839092, -0.0339065827, -0.030477345, 0.0372234061, -0.0045201783, 0.0128563121, -0.0012684651, 0.0172577221, -0.0441475324, -0.020312028, 0.0283412635, 0.0158650037, 0.0064751101, -0.0009679352, 0.0507441685, 0.0224778652, -0.0894331262, -0.0106576467, -0.0229185503, 0.039182473, -0.0080040265, -0.0330729522, 0.0272216164, 0.0370951183, 0.0006460617, 0.0621952787, 0.0182884969, -0.0491972975, -0.0051635867, -0.0160185639, -0.0273167677, 0.0023587802, -0.0297709089, 0.0015844136, -0.003736058, 0.0306092929, 0.0287317093, -0.0525488369, -0.0105771059, 0.0338464454, 2.412e-7, 0.0297146998, 0.0315970704, 0.0321022905, 0.0363071561, 0.0315425433, 0.0108231371, -0.0000957594, 0.0398112014, -0.0023010087, -0.000317221, 0.0059791165, 0.0115812868, 0.013062886, 0.034091305, -0.120203279, 0.0389309488, -0.0687464476, -0.0150283249, -0.0618608445, -0.0139018707, 0.0470111929, 0.1072079241, -0.0019159259, -0.0112087168, -0.0169733614, -0.0500886478, 0.0457414538, -0.0155261848, -0.0321440585, 0.0159739424, -0.0364154838, 0.0084392019, 0.0414491259, 0.0015627741, -0.0121374577, 0.0127984239, -0.008332707, 0.0513204336, 0.0155353425, -0.0659754574, -0.0159597583, -0.0216196515, 0.0012661304, -0.0442619286, 0.0799431726, -0.0889205188, -0.003928463, -0.0473740883, -0.0105089517, -0.039967794, 0.0099544227, -0.0072871619, -0.002303703, 0.0219797678, 0.0139860213, 0.0047012949, 0.005431484, -0.1008453965, -0.01895939, 0.0092851054, -0.0336190574, -0.008367585, -0.0308476444, -0.0209952574, -0.0092364624, -0.0575390533, -0.0170836542, 2.301915716e-34, 0.0417256802, -0.0179276094, 0.0111993663, 0.046197582, -0.0032660877, -0.0125245824, -0.0143793123, 0.0150406212, 0.0562567525, -0.0667082891, -0.0285615195 ]
http://arxiv.org/abs/2406.13629v1
http://arxiv.org/pdf/2406.13629v1
InstructRAG: Instructing Retrieval-Augmented Generation with Explicit Denoising
2024-06-19T15:25:29
2024-06-19T15:25:29
Zhepei Wei, Wei-Lin Chen, Yu Meng
cs.CL
cs.CL, cs.LG
Retrieval-augmented generation (RAG) has shown promising potential to enhance the accuracy and factuality of language models (LMs). However, imperfect retrievers or noisy corpora can introduce misleading or even erroneous information to the retrieved contents, posing a significant challenge to the generation quality. Existing RAG methods typically address this challenge by directly predicting final answers despite potentially noisy inputs, resulting in an implicit denoising process that is difficult to interpret and verify. On the other hand, the acquisition of explicit denoising supervision is often costly, involving significant human efforts. In this work, we propose InstructRAG, where LMs explicitly learn the denoising process through self-synthesized rationales -- First, we instruct the LM to explain how the ground-truth answer is derived from retrieved documents. Then, these rationales can be used either as demonstrations for in-context learning of explicit denoising or as supervised fine-tuning data to train the model. Compared to standard RAG approaches, InstructRAG requires no additional supervision, allows for easier verification of the predicted answers, and effectively improves generation accuracy. Experiments show InstructRAG consistently outperforms existing RAG methods in both training-free and trainable scenarios, achieving a relative improvement of 8.3% over the best baseline method on average across five knowledge-intensive benchmarks. Extensive analysis indicates that InstructRAG scales well with increased numbers of retrieved documents and consistently exhibits robust denoising ability even in out-of-domain datasets, demonstrating strong generalizability.
[ 0.0290595349, 0.0706753433, 0.0136839217, 0.009070605, -0.0067695235, -0.0452267006, -0.0180106722, 0.008668568, -0.0138316462, -0.0372924395, 0.0002554989, -0.0162931699, -0.0224897247, 0.0120876413, 0.0253094602, -0.013944285, 0.0501376726, -0.0171956569, 0.0394962393, -0.0060931589, -0.0016660277, 0.0366677567, 0.0215267688, 0.0215401202, -0.0194732584, -0.007207341, -0.0210671127, 0.0447033048, -0.0178095754, 0.0131934164, 0.0337963663, 0.0664350539, 0.0485139415, 0.0117576616, 0.0000022142, -0.037143752, -0.0343576409, -0.0032770582, -0.0265486911, 0.017584987, 0.0179934017, 0.027950285, 0.0172538105, 0.029660305, -0.0488345399, -0.0005392748, 0.0090051703, 0.0302178897, 0.0670935884, 0.0817026794, -0.0045953924, -0.0144104771, 0.0110719139, -0.0239507519, 0.0216147397, -0.0094200075, -0.0063553378, 0.0301604606, -0.0044056047, 0.0215240847, 0.0294232462, 0.0467375852, 0.030434208, -0.0327003077, 0.0376997925, 0.0093611702, -0.0019362206, -0.0455768853, 0.0023766074, 0.0664930046, 0.0111581068, -0.0583791211, 0.0088269897, 0.0049272259, -0.0000757062, 0.0416871645, -0.0238351114, 0.0217169337, -0.0090942932, 0.0305443052, 0.0108845709, 0.008947744, 0.0320283882, 0.0448565893, 0.0020243344, 0.0223895386, 0.0079166982, -0.0107814921, -0.0136317126, 0.0025227615, -0.0060516116, -0.0332357809, 0.0059745926, 0.0440689549, -0.0178443324, 0.0209043678, -0.05925522, -0.0280856602, 0.0304541271, 0.0100158686, -0.0005200651, 0.0244250223, -0.0063973679, 0.0355438516, -0.0229573306, 0.0063482653, 0.0246532615, -0.0076248944, -0.0620696358, -0.0162768066, -0.0128908698, -0.0071846023, -0.0352200642, 0.058692731, -0.0849887505, -0.0133163799, -0.0397506654, -0.0111043071, -0.0097640166, -0.0094912052, 0.0015791614, 0.0621399432, -0.0727382675, -0.0263744798, -0.0275452659, -0.0027827625, -0.0160104875, 0.0265079904, 0.0409986116, -0.055893831, -0.0255948622, 0.0229313597, 0.0111226346, 0.0024900767, 0.0056866296, 0.0243268926, -0.0520335734, 0.0050072344, -0.0639929622, -0.0804171041, 0.001498447, -0.0761351138, -0.0010133585, -0.0842703506, 0.0021698026, 0.0082487622, -0.0321255215, -0.1024338081, 0.0239823051, 0.0407284051, -0.0035414216, 0.0555074252, -0.0289878957, 0.013647181, 0.0602034964, 0.0296715405, 0.0131155746, 0.0711256415, 0.0185268838, 0.0248017944, 0.0289694183, 0.0246367957, 0.0231124032, 0.0070087677, 0.05622603, 0.0160273388, -0.0596645474, 0.0018558746, -0.0373409167, 0.0034656161, 0.0580612756, 0.0869448334, -0.0367803834, -0.0008537365, 0.0561964326, -0.0035207761, 0.0447007306, 0.0025664144, 0.0406611748, 0.0376276374, -0.0029873911, 0.0259722974, -0.026479641, 0.0056094537, -0.0510487817, 0.0393915139, 0.0487538539, 0.0194254145, -0.035089422, -0.0748580322, 0.0086340932, -0.0026540766, 0.0197378024, 0.0183464363, 0.0450982712, 0.0563597754, -0.0488502942, 0.0500699393, 0.0313828848, -0.0798697025, 0.0313965194, -0.0563196614, 0.0721668825, 0.0367043577, 0.0699629113, -0.005748515, -0.0096784066, 0.0144866519, -0.0236040279, 0.0482750237, 0.0107964911, -0.0209758654, -0.0084097683, -0.0927238464, -0.0232561715, -0.0067994543, 0.0291081555, -0.0060597132, 0.0609278046, -0.0164766051, 0.069042474, -0.0748566389, -0.0451037437, 0.0302793402, -0.039436847, -0.0580680631, 0.0177567322, -0.0102359541, -0.0013567973, 0.0387607403, -0.0007266273, 0.0308156647, 0.0582780242, -0.0098911291, -0.0218439661, -0.0237418432, -0.0785461888, -0.0375736579, 0.0274647437, 0.0043536476, -0.0161266979, 0.0096829133, -0.0097058676, -0.0478276201, 0.0179611035, -0.0353940576, 0.0057129231, -0.104106456, -0.0164001249, 0.0464034863, -0.0017853916, -0.0383888297, 0.0754722878, -0.0098020947, -0.0192828458, 0.0715864152, 0.0237833634, -0.0050273766, -0.0407699049, 0.0023310126, -0.0275003202, -0.0134127364, 0.0339908414, 0.0316757523, 0.0131713497, -0.0366821662, 0.0142242098, -0.0611799844, -0.0099336905, -0.0218635648, -0.0251215026, 0.0160490498, 0.0235932022, 0.005025743, -0.0268379245, -0.0355941094, -0.0136871412, 0.0410404801, -0.0072608679, 0.0076206625, 0.0126000121, 0.0242980924, -0.0594794527, 0.009076234, 0.0108159631, 0.0189586766, 0.0114998445, -0.0025938035, -0.0292719472, 0.0519494042, -0.0447551236, 0.0343512148, -0.014381065, -0.0379893072, 0.0128417043, -0.0524699613, 0.016669441, 0.0215586927, 0.0233846102, 0.0253432989, 0.0490321964, -0.0167291332, -0.0971700251, 0.0259115342, -0.0415905192, -0.0147828655, -0.001607641, -0.0385330208, -0.0075751832, 0.0386544243, 0.020404581, 0.003717646, -0.0501316264, 0.0296468865, 0.0007367964, -0.0610417314, -0.0326597579, -0.0211117342, -0.0099578388, 0.0701648667, -0.0333927535, -0.0580560379, 0.0888005346, -0.0391526967, 0.0016643645, -0.0458018072, -0.0226411708, 0.0058462396, 0.0249503795, -0.0368636884, 0.0231017936, 0.036292363, 0.0116847735, -0.0540107712, -0.0460205898, 0.0277851075, -0.0582236946, 0.0450739972, -0.0838932171, 0.0205306802, 0.012903762, -0.0176928043, -0.0665749013, -0.0592765547, 0.0371936634, 0.0145675568, -0.0220568236, -0.0111395316, -0.0084752599, -0.0126518328, 0.0393695496, 0.0452212095, -0.0316842683, -0.0069734138, 0.0029116918, 0.0633930266, 0.0896438062, 0.0263968371, -0.0046036774, -0.0222325176, 0.0166399386, 0.056851957, 0.0250950195, -0.0362265445, -0.0212767869, -0.0140872076, 0.0091382349, 0.0188026894, 0.0180623196, 0.0517131798, 0.0634095222, -0.0501685627, -0.0385715105, 0.1009360477, 0.0249379203, -0.0193994306, -0.0250110216, -0.0015461198, 0.0564650297, 0.020138694, 0.0062046838, -0.0561279058, -0.0303434711, 0.0148696629, 0.0728913918, 0.0057079294, 0.0093562566, -0.0038998821, -0.1355839819, 0.0553339869, 0.0308466367, -0.0012000692, -0.0231992714, -0.0642670766, -0.0173315257, 0.0118505443, 0.0296687093, 0.0321898572, 0.0016272091, 0.0289747268, 0.0346202813, 0.0176132824, -0.0569586977, -0.0293301754, -0.0074126483, 0.0336620957, 0.022801226, 0.0187483374, 0.0255924203, -0.0374497883, 0.0127717378, -0.0193371121, 0.0163298901, -0.0421771146, 0.053701926, 0.0086473301, 0.0158378761, -0.0158606898, 0.0523528531, -0.0209555719, -0.0165322646, -0.013148794, 0.0283322185, -0.0263093598, 0.0214734674, -0.0551931299, 0.0236145984, 0.0304221474, 0.0602667592, 0.0310619511, -0.006620626, -0.0114310859, -0.0263511352, 0.0335581042, -0.0422097333, -0.0112801297, 0.0096997563, -0.0218400676, -0.0229560882, -0.0939085111, -0.0589351766, -0.0062644812, 0.0390942954, 0.0022867816, -0.0192106776, -0.0120774452, -0.0211345889, -0.0482288152, 0.0337327309, -0.0401060358, -0.0288257673, -0.0088136066, -0.0153799253, 0.0162178054, -0.0552246459, 0.0008089393, 0.0598338842, -0.0017601403, -0.0806838498, -0.0104456302, 0.0503982343, 0.031690672, 0.0835438967, -0.0186922904, -0.0186808351, 0.0604113489, 0.049524229, -0.08028844, -0.0025068526, 0.0373957977, -0.0231013298, 0.0001911315, 0.0319492929, -0.0566685572, 0.0212676506, -0.0089382483, 0.0480664149, -0.0277440213, -0.0472174771, 0.0524445325, 0.0124727897, 0.048443161, -0.024992995, 0.0217899363, -0.0425547659, -0.0039845333, -0.0255849846, -0.0379781649, -0.047298003, 0.0270463843, 0.0321528018, -0.0058548776, 0.0089732883, 0.0132902693, -0.0352814384, 0.0567564406, -0.0329038724, -0.0346240997, -0.0102900714, -0.0032042942, 0.0082197264, -0.013594171, -0.0311062746, 0.0237995628, -0.0028922861, 0.0351849906, -0.0012214016, 0.0413447246, 0.0070049255, 0.0259068888, -0.0186044872, -0.0086489804, -0.0364155956, -0.0339324474, -0.0675477087, -0.0417262055, 0.0377602279, -0.0172827616, 0.0735223442, -0.0187205542, -0.0004247126, -0.0272307154, 0.0284864604, 0.031963177, -0.023125289, -0.0004574893, 0.0154869445, -0.0152642857, 0.0276112594, 0.0900794715, -0.0085228859, 0.0505714752, -0.0346881896, 0.0017288292, -0.0502015948, -0.0508570261, 0.0067051728, 0.0423009321, -0.0255703386, 0.0042249556, -0.0201816503, -0.0910990164, -0.013783575, 0.0153293395, -0.016835155, -0.0194226876, 0.0723161995, 0.0638313517, -0.0230254475, -0.0171885956, -0.0517974794, 0.0250872727, -0.0345374309, -0.0116723804, -0.0437675752, -6.982245426e-33, -0.0454807505, -0.0508625284, 0.025185585, -0.059393473, 0.0172930136, 0.0012716016, -0.0574607328, 0.0065413699, -0.0201117676, 0.0248537231, -0.0102717783, 0.0168205779, 0.0183148533, 0.0357683823, -0.016941471, 0.040866904, 0.0603219531, 0.0006368827, -0.0201058239, 0.0363118947, 0.0320379846, 0.0215368401, 0.0175605305, -0.0789261833, 0.0122139435, -0.0135200461, -0.0454295725, 0.0404131413, -0.0002505129, 0.0497613661, -0.0012745381, 0.056236349, -0.0124358991, -0.0237546768, -0.0289852675, 0.0024012153, -0.0899800956, -0.0132915815, 0.0102187907, -0.0497914255, -0.0450864732, -0.0170119442, 0.0558257997, -0.0152571481, -0.0113023045, 0.0147780282, 0.0431334712, -0.0145275919, -0.0254422482, -0.0402009785, -0.0488273762, 0.0245047733, -0.0063368152, -0.0541576557, 0.0000606202, 0.0474381261, -0.0009158985, -0.0081600212, -0.0520428903, 0.0246250164, 0.009881326, 0.0631834269, 0.0576063432, 0.0127844252, -0.0271046199, 0.0443396978, -0.0165188033, -0.0351531766, -0.0194663126, -0.0108435852, 0.0390885584, 0.0477622487, 0.027685225, 0.0564828888, 0.0159354303, -0.0060761473, -0.0595542826, 0.0777571574, -0.0227462277, 0.0567404069, 0.026233241, -0.004767389, -0.0218803007, -0.0209593531, -0.0371891186, -0.0154660111, -0.0297957677, -0.0289627779, 0.0197634809, 0.0457348265, -0.0406040922, -0.0585244969, 0.0187002942, -0.0140801845, 0.0353107899, 0.0199620165, -0.0334794521, -0.0276359208, -0.0186052099, 0.0073418799, -0.045963753, -0.0252376441, 0.0394824445, 0.0377562717, -0.0408295356, 0.020342486, 0.0029488979, 0.0175386313, -0.0295421556, 0.0311927088, -0.0515400171, 0.0516287871, -0.006312863, 0.0003786122, 0.0208213739, 0.0056961342, -0.0332607627, 0.0183662288, -0.0065340125, 0.0363222696, -0.0138523448, -0.0373615623, 0.0237076189, 0.0115709221, -0.039265167, 0.0073796595, -0.0160909593, -0.0036952565, 0.0259790886, -0.0157177597, -0.006840819, 0.0318923853, 2.854e-7, 0.0255859401, 0.0345940515, 0.0444547459, 0.0160014126, -0.02301961, 0.0291689876, 0.0166101456, -0.0179994758, 0.0311354622, -0.0551238135, 0.0125355003, 0.0306288227, 0.055369474, 0.0317355655, -0.0801673681, 0.0122575583, -0.0699723065, -0.0077775531, -0.0202204566, -0.0055236854, 0.0321677588, 0.0575093552, -0.0035730435, -0.0239659697, -0.0005831132, -0.0340067185, 0.0609711111, 0.00887811, -0.0474911071, 0.033839833, 0.0753524601, 0.0158784613, 0.0010960948, -0.0274884105, -0.0385597982, 0.0208612941, -0.0072900988, 0.0608032085, -0.0108247427, -0.0686502159, -0.0103895543, 0.0105607975, 0.0196736883, -0.0567906722, 0.0505237952, -0.0021695106, 0.0000529881, -0.0125592155, -0.049557101, 0.0079226214, -0.0081948536, -0.0287981275, -0.0424431935, 0.0070000668, 0.007392847, 0.0331493877, -0.0228398237, -0.0591640733, -0.0561341345, 0.0041705617, -0.0567448065, -0.03621592, -0.0112722041, -0.0131016672, -0.0087201046, -0.0429477356, 0.0272001792, 2.730893093e-34, 0.0494017228, 0.0247246288, -0.0084788427, 0.0243147817, 0.0291655064, 0.0123738665, -0.0484661609, 0.0181629471, 0.0159678757, -0.0634694099, -0.0301420204 ]
http://arxiv.org/abs/2406.13626v1
http://arxiv.org/pdf/2406.13626v1
Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlines
2024-06-19T15:20:19
2024-06-19T15:20:19
Kangtong Mo, Wenyan Liu, Xuanzhen Xu, Chang Yu, Yuelin Zou, Fangqing Xia
cs.CL
cs.CL, cs.AI
In this study, we explore the application of sentiment analysis on financial news headlines to understand investor sentiment. By leveraging Natural Language Processing (NLP) and Large Language Models (LLM), we analyze sentiment from the perspective of retail investors. The FinancialPhraseBank dataset, which contains categorized sentiments of financial news headlines, serves as the basis for our analysis. We fine-tuned several models, including distilbert-base-uncased, Llama, and gemma-7b, to evaluate their effectiveness in sentiment classification. Our experiments demonstrate that the fine-tuned gemma-7b model outperforms others, achieving the highest precision, recall, and F1 score. Specifically, the gemma-7b model showed significant improvements in accuracy after fine-tuning, indicating its robustness in capturing the nuances of financial sentiment. This model can be instrumental in providing market insights, risk management, and aiding investment decisions by accurately predicting the sentiment of financial news. The results highlight the potential of advanced LLMs in transforming how we analyze and interpret financial information, offering a powerful tool for stakeholders in the financial industry.
[ 0.0443321876, 0.0774765983, 0.0135458233, 0.0221188478, -0.0181809217, -0.0025868723, 0.0005888994, 0.0399025492, 0.0204759743, -0.0984758884, -0.0246309191, -0.0067592291, -0.0447524041, 0.0401055627, -0.0108542116, -0.0105936462, 0.0164540801, 0.0220791176, 0.0731091574, 0.003478582, 0.0190074649, 0.0303056985, 0.0348440371, 0.0109311575, -0.0099658817, -0.0203889608, 0.0224768408, 0.0139805768, -0.0016931555, -0.024783792, 0.0136055946, 0.0270361397, 0.0136793647, 0.0015000238, 0.0000017848, -0.0525712594, -0.0096337125, -0.0040654852, 0.0248096529, 0.0223714616, 0.0849002153, -0.0660180449, 0.032971561, 0.014728413, -0.0713535547, -0.0187393185, 0.0255165249, 0.1031735837, 0.070695892, 0.062650837, -0.028122792, -0.0747661963, 0.005759174, -0.0385015085, -0.0050810501, -0.055020716, 0.0381495319, 0.0144686038, -0.0296541061, 0.019645093, 0.0139561072, 0.0087681077, -0.0491450243, 0.0081286784, 0.0094872005, -0.0130467061, -0.0248654541, -0.0195973348, -0.0350176655, 0.0076819919, 0.0138855809, 0.0290186759, 0.0013034607, -0.019110404, -0.0063259611, 0.0085059842, -0.0283662137, 0.0306482185, -0.0122549403, 0.0429820903, 0.0161886606, 0.0203186218, 0.0137810064, 0.0334262103, -0.010862899, 0.0244885404, -0.0257718712, -0.0138167869, 0.0351844467, 0.0373943746, -0.0267262626, -0.0179044958, 0.0106852641, -0.0067664594, 0.0453874245, 0.0116260992, 0.0169815458, 0.0157385301, 0.0199937131, -0.1441666931, -0.006405747, 0.0067235804, -0.0000558346, 0.0611765981, -0.0476843044, 0.0000699524, 0.0324190408, -0.0386960693, 0.0193597581, 0.0215773657, -0.057956297, 0.0155117204, 0.01566438, 0.0864965692, -0.0386128388, -0.0445347615, -0.0853730589, -0.0086241998, 0.0168362539, 0.021798186, 0.0321436934, 0.0008004433, 0.042107448, -0.0061324937, -0.0341569185, 0.0046313261, -0.034080334, 0.0357078686, -0.0476054735, -0.028666744, 0.0213127043, 0.0077862847, -0.023727851, 0.0043061916, 0.0240513254, 0.0763688982, 0.0507844836, -0.0689658448, -0.0606252514, -0.0316518061, -0.0041227536, -0.0408434533, -0.0266806856, -0.0042992351, -0.0171746649, 0.0061884397, -0.0009044879, -0.0045836191, 0.0270808339, 0.0000737967, -0.0406329893, 0.0669709519, 0.0094841057, -0.0381515101, 0.0143019939, -0.0341503061, 0.0375194587, 0.0562220737, -0.0075958399, 0.0257622283, 0.0445189029, -0.0096029649, 0.0004723293, 0.0071815378, -0.0121204518, -0.0610154867, -0.0098858504, 0.0285497867, -0.0348486491, -0.0052293562, 0.053667184, 0.024950847, 0.006059492, -0.01654521, 0.0468043163, 0.0384109318, 0.024311075, 0.0667484999, -0.0516673103, 0.0191503353, 0.0287878308, -0.0571383387, -0.0157141332, -0.0185755845, -0.048432339, 0.0173657611, -0.0074271229, 0.0209619328, -0.0225244612, -0.053596843, -0.026128741, -0.0266685672, 0.0263961256, -0.0181655008, 0.0320049636, -0.0634829402, -0.0707984045, 0.0425286591, 0.0629175454, -0.0473754629, -0.0172522794, -0.0305204447, 0.0456959419, 0.0876308233, 0.0035010681, -0.0003105937, 0.0141789997, -0.0221531354, -0.034674108, 0.032053031, 0.0092474623, 0.0374883115, -0.0562267937, -0.0562479869, 0.0198670831, -0.0043681883, 0.0405831337, 0.0064261984, -0.0197301377, 0.0168446638, -0.0070307874, 0.0351485983, -0.0171971172, 0.0289870724, 0.0600367449, -0.0404636599, 0.00087531, -0.0564533211, 0.0077441796, 0.0319920219, -0.0059347316, -0.0034252477, 0.0161751248, -0.0042178845, -0.0549472012, -0.0152758136, -0.0253255237, -0.0102399802, -0.009149584, -0.0003099706, 0.024158027, 0.0258387998, -0.0263972636, 0.0122504616, 0.0047582686, -0.0108151278, 0.0202986524, -0.0721751973, -0.0242369454, -0.0168832336, 0.0207557939, -0.0182399265, 0.0746268928, -0.0234293826, 0.0033079365, -0.0732483789, -0.0321326777, 0.0016148688, 0.0067910799, -0.0149423536, 0.022223698, 0.0195775293, 0.0654564276, 0.0386764035, -0.0118218511, 0.0052559911, -0.0696184486, -0.0959919095, -0.0233527273, 0.0126147894, 0.0296777878, -0.0014691561, 0.0060857614, -0.0283977203, 0.0172662977, -0.0159131512, -0.0374629572, -0.0017438324, 0.0010383916, 0.0442700461, 0.0052980836, 0.0071157734, -0.051847361, 0.0062443749, -0.0068168398, 0.0378750153, 0.0641567409, -0.0242639799, -0.0133284833, 0.0116217695, -0.0181546584, 0.0003470658, -0.0003735653, 0.006495514, -0.0199865811, -0.0054388633, -0.0343970135, 0.0622003935, 0.026527008, 0.06454923, -0.0508877635, 0.0087420121, -0.0277181212, 0.0105303172, -0.0340122804, -0.0081046941, -0.0355949625, -0.007760311, -0.0099280216, 0.0544822961, -0.0199271571, -0.0128403548, -0.0716286674, 0.015102081, -0.0174356885, 0.0450413004, -0.0136360684, -0.0162665155, 0.0093823709, 0.0210360941, 0.0283533465, -0.0466746651, 0.0410968922, -0.0048310431, -0.0078860363, -0.05891091, -0.0351764485, -0.0963386297, 0.0145110767, -0.0437957793, -0.0065688421, -0.0219983775, -0.0130061023, 0.0333988965, -0.0601175465, -0.0090827225, -0.0341002755, 0.035034325, -0.0154819824, 0.0346766636, 0.0071268263, -0.0003901458, 0.0187301673, -0.0697068274, -0.0736176521, 0.008364113, 0.0782047063, -0.0366315655, -0.0374084897, 0.0233957078, -0.0413541719, -0.0669194534, -0.0286073275, -0.0278040469, 0.0343153998, 0.0218605641, 0.0506232269, -0.0210126434, 0.042430792, -0.008173245, 0.0058390321, 0.0262365323, 0.0026149743, 0.0234258957, -0.0420385003, -0.0052842246, -0.003129551, -0.0250419155, -0.0163324643, -0.0117860548, -0.0106322858, -0.0197305847, 0.0196730457, 0.1150833815, 0.0132675087, -0.0115024578, -0.0104683917, 0.0188555028, 0.0082581136, 0.0060426374, 0.0219418891, -0.0331019461, -0.0444387905, -0.040767666, 0.0128758727, 0.0235892516, -0.0444940999, -0.0004136115, -0.1190409362, 0.0366859324, -0.0130452979, -0.0016578861, -0.0294535104, -0.0358416252, -0.020494977, -0.0444727913, 0.0223854333, -0.0202972274, -0.0436263643, 0.0332354642, 0.0097555704, -0.0946818739, -0.0187771209, 0.0286798179, -0.0068951743, -0.0259780809, 0.0270322636, 0.0202949923, -0.0364035219, 0.0071971281, -0.0141782146, -0.0391974486, 0.0250796694, -0.0094039273, 0.0587307997, -0.0520838238, -0.0278300103, -0.0017552775, 0.0090532592, -0.0532398932, 0.0579525046, -0.020258503, -0.0217889808, -0.0263611097, -0.0486776121, -0.020313371, 0.0673063248, 0.0061720926, 0.0671269596, 0.0012801157, -0.0490976088, -0.0422108769, -0.0231141932, 0.0053591179, -0.0227438733, -0.0222161002, -0.0160637796, 0.0063393777, -0.012730957, -0.0949600041, -0.0653466359, 0.0050257863, 0.0133143542, -0.0222553127, 0.0226619802, 0.0408715494, 0.0113665275, -0.0351327881, 0.0516151935, 0.0206265226, -0.0032340814, -0.0153633375, 0.0333582722, 0.0852346048, 0.0250384901, -0.0503952429, 0.0326305665, -0.0585149936, -0.034477476, -0.0098157041, 0.0132924877, 0.0224833731, -0.0468576662, 0.0080326824, 0.0036680244, 0.0334943719, 0.0626746491, -0.059396334, 0.006924348, 0.047985442, 0.0685103014, 0.0048773806, 0.0086618699, -0.0091202874, 0.0196201392, -0.0249867421, 0.0128983483, -0.0268207844, -0.0002856395, -0.0182284676, -0.0085669206, 0.0548158549, 0.035493236, -0.0258857701, -0.0069684098, -0.0263592731, 0.0175648779, 0.0200100429, -0.0357048027, -0.0419596881, 0.0011515048, -0.0137818018, -0.0775602832, 0.0404601395, -0.0380542502, 0.0041169012, -0.0100102611, 0.0520508438, 0.0158648845, 0.00349093, -0.0095236711, 0.0022315113, -0.0080667734, -0.0439392217, 0.0266786832, -0.0311521143, 0.0089415256, -0.0100193685, 0.023937067, 0.0245026518, -0.0250933971, -0.0116407266, -0.0255480669, -0.0138351899, -0.0020476151, 0.0412224568, 0.0141889593, -0.0085385395, 0.0135883512, -0.0370647721, 0.0221357793, 0.0168363415, 0.0309281722, -0.016100185, -0.0178128835, 0.0316866972, -0.0109908842, -0.0499368832, -0.0234410465, 0.0673160627, -0.0101513425, 0.057403516, 0.0038277109, -0.0079621868, -0.0524019115, -0.0543215312, 0.0904094577, 0.0089697335, 0.0177837051, 0.0036187703, -0.0496615469, -0.0370143428, 0.0821715742, -0.0343069248, 0.0106957061, -0.0190003961, 0.036390271, 0.0582816787, 0.0106183169, 0.0408051237, -0.0367821455, -0.01878535, -0.0462221503, -0.0178531073, -0.0715982616, -6.075752304e-33, 0.002970577, 0.0087157479, -0.0062777451, 0.0316339843, 0.0108076138, 0.0093404036, -0.0102185905, 0.0170483608, -0.01081408, 0.0283798445, 0.0209816266, 0.0475451536, -0.0018191964, 0.0156901293, 0.0356534012, -0.0206797123, 0.0148234265, -0.0268095639, 0.0176739376, -0.0100988382, 0.0044134408, 0.0590273067, 0.062499132, -0.069797866, 0.0398783535, -0.0119205425, -0.0643743798, -0.030592557, 0.0509946384, 0.0291275661, -0.008824965, 0.0764738843, 0.028399881, -0.0379453972, 0.0076058349, 0.0362376571, 0.0376942866, -0.0353481509, 0.02009115, 0.0143786836, 0.0225074328, 0.0081754802, 0.0409164354, 0.012394404, -0.0432094559, 0.0368227214, 0.0260129888, -0.0065523428, -0.0150292842, -0.073507078, -0.0434017144, 0.027473744, -0.0091877943, 0.039588768, 0.0176380239, 0.0337665118, 0.0031404092, 0.0513857864, -0.0132764978, 0.012212025, -0.0000775782, -0.0000231263, -0.0151676973, -0.0200100504, -0.0159652214, 0.0737793222, -0.0067026871, -0.0319821984, -0.0089413365, 0.0616811216, 0.0328552127, 0.0389209986, 0.0386100151, 0.0417231582, 0.0000486083, -0.0118750809, -0.0529280007, 0.0237788409, 0.0089514637, 0.0319872983, 0.0635824054, 0.013660769, -0.0459763221, -0.0342774093, 0.0091392994, 0.001896286, -0.0234109424, -0.0138535742, -0.011237232, 0.0011110548, -0.019972641, 0.0340607688, -0.0014194931, -0.0517283008, -0.0832566097, 0.0373310186, -0.0135407615, 0.0358418524, -0.0050039124, -0.0134185031, -0.0264928043, -0.0336867236, -0.023105789, -0.0013521794, -0.0203383211, -0.0496365204, 0.0154808359, 0.023535898, -0.0631962717, -0.0272155888, 0.0298907887, 0.027140433, 0.0145267462, 0.0367711484, -0.0200407375, 0.0117649743, 0.0066004158, 0.0299813263, -0.0065633897, 0.0713061467, 0.0152508346, 0.0010373762, 0.012677975, 0.0360543653, 0.014176121, -0.0174716916, 0.0422495902, 0.0350481011, -0.0040771128, -0.0279622246, -0.0063212537, 0.0219766516, 2.542e-7, 0.0774299055, 0.124773562, -0.0456390232, -0.0120245935, -0.0021125281, 0.0536165684, -0.0016709459, 0.0375250652, 0.0098197637, -0.0121127432, 0.0233207904, 0.018285865, 0.020765489, 0.0120521337, -0.069923833, -0.0230447408, -0.0449441485, 0.0383454375, -0.0585235432, 0.0594441444, 0.0552727841, 0.0997859985, 0.0143636176, -0.0285840444, -0.0233433153, -0.0402974226, 0.0598046035, -0.0842045024, -0.0252821837, 0.0173961744, 0.0001330072, 0.0305691212, -0.0050953571, -0.0108992504, 0.007706238, 0.0190669708, 0.0167847369, 0.0224582683, -0.00220534, 0.0106608551, 0.0308212936, 0.0258100778, -0.0223957077, -0.0216860659, 0.0362971276, -0.0868748128, -0.0420487188, -0.0892832056, -0.0322745368, -0.0144250114, 0.0700531974, -0.004110341, -0.0142506454, 0.0262172092, 0.0098222634, -0.0367366076, -0.0073782103, -0.0689037517, -0.0011676706, 0.0407692157, -0.0505107529, 0.0362315625, -0.0080057392, 0.0396524929, 0.0359411128, -0.0296842698, 0.0449658632, 2.01576136e-34, 0.0664236471, -0.0300284177, -0.0377657935, 0.052978728, 0.0690227672, 0.0268350318, -0.0606359355, 0.0490243025, -0.0064866925, -0.0858758092, 0.0447708592 ]
http://arxiv.org/abs/2406.13621v1
http://arxiv.org/pdf/2406.13621v1
Improving Visual Commonsense in Language Models via Multiple Image Generation
2024-06-19T15:17:10
2024-06-19T15:17:10
Guy Yariv, Idan Schwartz, Yossi Adi, Sagie Benaim
cs.CL
cs.CL, cs.CV, cs.LG
Commonsense reasoning is fundamentally based on multimodal knowledge. However, existing large language models (LLMs) are primarily trained using textual data only, limiting their ability to incorporate essential visual information. In contrast, Visual Language Models, which excel at visually-oriented tasks, often fail at non-visual tasks such as basic commonsense reasoning. This divergence highlights a critical challenge - the integration of robust visual understanding with foundational text-based language reasoning. To this end, we introduce a method aimed at enhancing LLMs' visual commonsense. Specifically, our method generates multiple images based on the input text prompt and integrates these into the model's decision-making process by mixing their prediction probabilities. To facilitate multimodal grounded language modeling, we employ a late-fusion layer that combines the projected visual features with the output of a pre-trained LLM conditioned on text only. This late-fusion layer enables predictions based on comprehensive image-text knowledge as well as text only when this is required. We evaluate our approach using several visual commonsense reasoning tasks together with traditional NLP tasks, including common sense reasoning and reading comprehension. Our experimental results demonstrate significant superiority over existing baselines. When applied to recent state-of-the-art LLMs (e.g., Llama3), we observe improvements not only in visual common sense but also in traditional NLP benchmarks. Code and models are available under https://github.com/guyyariv/vLMIG.
[ 0.0382182375, 0.038953945, -0.0066092159, 0.0498199128, -0.0178612974, 0.0039799353, 0.0067029791, -0.0058732787, 0.0392519012, -0.0644391477, -0.0180666242, 0.0174436513, 0.0256537143, 0.0278682001, 0.0458409674, -0.0596861094, 0.0141795138, -0.0278328005, -0.0199606456, 0.0017523217, 0.0373487324, 0.0483945832, -0.0098680528, 0.0501767956, -0.033841949, -0.023797214, 0.0141052743, 0.0008170073, 0.029795818, -0.0156811792, -0.0305687636, 0.0395118482, 0.0588185042, -0.0103562037, 0.0000018431, 0.0025520101, 0.0344864242, -0.0334591642, 0.0443969257, -0.0008715196, 0.0251224469, -0.0377561562, 0.0383786969, -0.0094308434, -0.0563579202, 0.0338295512, 0.0358307809, 0.0576021597, 0.0826557204, -0.0104412315, -0.0187445823, -0.0183925014, 0.0052552293, -0.0022369437, 0.0220238548, -0.0352587141, -0.0238871537, 0.0517385937, 0.0000782026, -0.0076907491, -0.0422017463, 0.057293199, 0.0396743417, -0.0469459109, -0.0002340616, 0.0701928362, -0.0059995456, -0.03593155, -0.051978346, 0.1037971303, -0.0191914663, -0.0223756712, -0.0436923467, -0.0068315361, 0.0106157688, 0.005139194, -0.0260410495, 0.0330528915, -0.000363239, 0.0380530804, -0.0163173825, -0.0079705417, 0.003473399, 0.0484599732, 0.0118723344, 0.0026286487, 0.0059810178, 0.0326738097, 0.0047072037, 0.0394028574, -0.0606818572, -0.0222850963, 0.0057147122, 0.0551514253, -0.0056583374, 0.024310587, -0.0375873931, -0.0227648281, 0.0096981032, -0.0507362448, 0.0523773581, 0.0362193175, -0.0721465424, 0.0826572701, -0.0427262336, 0.0392436795, -0.0108320992, 0.0574364066, -0.0044159121, -0.0049393871, -0.0284426324, -0.0246210061, -0.0191703737, -0.0111153536, -0.0728508681, -0.0577387959, -0.0248435885, -0.0045882794, -0.0080652907, 0.0061790445, 0.0240666792, 0.0503324121, -0.0315964893, -0.0280761085, -0.052604977, 0.0475034714, -0.0257324371, 0.0496546812, 0.0017921893, -0.0291808601, -0.0009221747, 0.0319748968, 0.0035324302, -0.0238980185, -0.0005445602, 0.0307864491, -0.0765140355, -0.0248664767, -0.0468628556, -0.0325739682, -0.0257572345, -0.0330309384, 0.0248973165, -0.0513236783, 0.0121912565, -0.0147599205, -0.0030536896, -0.0087415883, 0.0074177384, 0.0081616882, -0.0068467529, 0.1133929342, -0.0184517354, -0.014791904, 0.0186559539, 0.0363545194, 0.0185571145, 0.0691505745, 0.0067957835, 0.0116489055, 0.0333098881, 0.0159213413, -0.0039446838, 0.0304505341, 0.001999137, -0.0079963431, -0.0418466628, -0.0145479571, -0.0414250381, 0.0202013105, 0.0642779395, 0.0260899607, -0.0386457928, -0.0066712229, 0.0816006064, 0.0570582226, -0.0086863367, -0.0018612953, 0.0133463955, 0.0027235528, 0.0026842614, 0.0027772496, -0.0620388873, 0.0780552551, -0.023646988, -0.002067076, -0.0178237911, 0.0503419042, -0.0121262399, -0.0101377834, 0.004034902, -0.0088969693, 0.0215163548, -0.0078690741, 0.0144454278, 0.0344206765, -0.0433721393, 0.0513277166, 0.0255127549, -0.0647142604, 0.0012789482, -0.0164644178, 0.0381307304, 0.0559387766, 0.04671482, 0.0280339383, -0.0074053332, 0.0251915678, 0.0235663112, 0.0746746436, -0.0107222404, 0.0013314076, 0.0383751206, -0.0688562319, -0.0387679227, -0.0034296259, -0.0092176795, 0.0037232181, 0.0059286575, -0.0112291388, 0.0091166096, -0.0308181886, 0.0261770952, 0.0319123566, 0.019190928, 0.0068067107, -0.0547831394, 0.0173267107, 0.0116041983, -0.0150377285, 0.0101957805, -0.0079221902, -0.0042214165, -0.0457739942, -0.0008497664, 0.0457237512, -0.0502954572, -0.0786687136, 0.0472263061, -0.0616299361, -0.037039768, 0.0111641074, -0.0410800949, -0.0180945899, -0.0006722797, -0.0115291774, -0.00347508, -0.0816292316, -0.0311853606, 0.0287063997, 0.017302962, -0.0180312563, 0.0745512694, -0.0493467227, -0.0346280001, 0.0118258493, 0.0031599659, -0.0005624236, 0.0003950274, -0.0034588091, 0.0007404267, 0.0082081072, 0.0290327258, -0.0145615414, 0.0550215133, -0.0422991104, -0.0094445786, -0.0954013616, -0.0417150371, -0.0077276197, -0.048487898, -0.0105193872, -0.0304649547, 0.0174590033, -0.0317225717, -0.0271995459, 0.0378643051, 0.0187811907, 0.0054186, 0.038925264, -0.0025419956, 0.0307232775, -0.0201030336, 0.0089469068, 0.0202577133, 0.0605837367, 0.0259046555, 0.0295153819, -0.0123362318, -0.0079890741, -0.0472297631, 0.0325653553, -0.0134737752, -0.0439325385, 0.0314957686, -0.0292736012, 0.0434967428, 0.048447676, 0.0090756407, 0.040293809, 0.0312870853, -0.0152769051, -0.0320530944, 0.0100399395, 0.0081679393, 0.0224069115, -0.0073169256, 0.0009212071, -0.0614783876, 0.0132976165, 0.0016081121, 0.012821923, -0.0799715221, 0.0268332195, 0.0157262143, -0.0497689173, -0.0727137774, 0.0209474824, 0.0095758894, 0.0402979031, -0.0637832284, -0.0691507086, 0.0696260631, -0.0561701618, -0.0058021522, -0.0025572774, 0.0063299271, -0.019239964, 0.0827570781, -0.010473948, 0.0123728793, -0.0477662943, 0.001078064, -0.0622602999, -0.0349255614, 0.0308186058, -0.0072478461, 0.0788864195, -0.0727671757, 0.0094515467, -0.0235767271, -0.0372578539, -0.0224379357, -0.0370917358, -0.0453661159, -0.0164146312, -0.0430964231, -0.009010097, -0.012548103, 0.0025163074, 0.0359978974, 0.0255416967, 0.0064531062, -0.016127795, -0.0194782428, 0.0491381548, 0.0470898263, 0.0562179945, -0.0219513346, -0.0240538456, 0.0024738738, 0.0554864369, 0.018567048, -0.0374921262, -0.0402057208, 0.0561410934, 0.0262410175, 0.0645994172, 0.0032030384, 0.042767629, 0.0615732558, -0.0497100428, -0.0007385593, 0.0574051738, 0.0167509429, 0.0010127861, -0.0271049179, -0.010771594, 0.0461465716, 0.0176531207, 0.0064344043, -0.0514286533, -0.0785286799, -0.0127029978, -0.022796955, 0.0190952905, -0.019415034, -0.0216191951, -0.0905162469, 0.0383215994, -0.0070592389, -0.0217839647, -0.0467907488, 0.0028961385, -0.0172320604, 0.0208858587, -0.0018138079, -0.0071143536, 0.0113680977, 0.0012133229, -0.0027527879, 0.048582565, -0.0415435135, 0.0150899785, -0.0340624899, -0.0058300262, 0.0447686426, 0.0502187312, 0.0045447568, -0.1171361506, 0.0090612425, -0.0298830178, 0.0360810906, -0.0273527987, 0.035219904, -0.0036792152, -0.0349554792, -0.008638327, 0.0494976528, -0.0179308094, -0.0495482795, -0.0360423774, 0.0558447689, -0.0303253084, -0.0189617928, -0.0416166782, 0.0398671702, 0.0088220574, 0.0517805256, 0.0479857251, -0.0100125335, -0.0426388085, -0.0142430766, -0.0116110733, -0.062487416, -0.030071523, -0.000793233, 0.0273306947, -0.0000446795, -0.0525124483, -0.0040939166, 0.0457050614, 0.0638881922, 0.0020148668, -0.0032065203, -0.0121898064, 0.0178528354, -0.0288761705, 0.0686301291, -0.0270380396, 0.0210848488, -0.0123007381, 0.0438754335, 0.0132215852, -0.0451638438, -0.0416657701, 0.0401750132, -0.0476992205, -0.0457628779, -0.0506834053, 0.0719768032, 0.0169161763, 0.0053420952, 0.0053315456, -0.0592032224, 0.0392097868, 0.0551660061, 0.0164198298, 0.0116142575, 0.0041204593, -0.0240739882, 0.0201284513, 0.0332841724, -0.003929399, -0.0008650412, 0.0030154197, 0.0304091927, -0.0268205553, -0.0181476027, -0.0185301322, 0.0002517664, 0.030118024, -0.0465650968, 0.0363378599, -0.0501719043, -0.0179598965, 0.0059321541, -0.0221508518, -0.066797331, 0.030640088, 0.0064410968, -0.023540765, -0.0069485465, 0.0152745731, 0.0070685055, 0.0634976476, -0.0089955572, -0.0119852973, 0.0536616966, 0.008044403, -0.0092543866, -0.0052690669, -0.0087000802, 0.0008065042, -0.058625266, 0.0112822633, 0.0100664161, 0.0967048705, 0.038916979, -0.0564432777, -0.0129842339, 0.0243376903, -0.0230444986, 0.0005936613, 0.0053638741, 0.0710743368, 0.0469072834, 0.0099913497, 0.0271129664, -0.0206204392, -0.0249373298, 0.014930699, 0.0761402622, 0.0031356516, -0.0573716909, 0.0879101381, 0.0037469072, 0.0077061709, -0.0338307135, 0.0569019727, -0.0323195457, 0.006470934, -0.0060766633, -0.0107477643, -0.0407897271, -0.041435644, 0.0245337095, 0.0161804724, 0.0177122373, 0.0652553365, -0.0628518686, -0.0572142154, 0.0197845865, 0.0450762324, -0.0194829758, 0.0161827113, 0.0160787739, 0.0648938194, 0.0171554741, -0.0229369886, 0.0036597031, -0.0078059887, -0.0445914306, 0.0210300852, -0.010219356, -6.087044764e-33, -0.0429669991, -0.069605723, 0.0451583974, -0.0560580567, -0.0039367238, 0.017453244, -0.0476392992, -0.0023214938, -0.0087734982, 0.023667641, 0.0050500324, 0.0150182443, 0.0054587037, 0.041334942, -0.0237810221, 0.0088317469, 0.0252882857, 0.0190009326, -0.0103272339, 0.0000786044, 0.0451098196, -0.0001657558, 0.0310505331, -0.0067895656, -0.018254675, 0.0267660022, -0.0517057069, 0.0322341099, -0.009603126, 0.063283965, -0.0309541319, 0.0246834066, 0.0151891448, 0.014687812, -0.0213284083, 0.0530643389, -0.0658105537, -0.0386676118, 0.0448321514, 0.0068983822, -0.0773512721, 0.0107921762, 0.018463783, -0.0091228159, 0.0247371551, -0.0334215611, 0.0564609319, -0.033884313, -0.0142057883, -0.0068412116, -0.0207230467, 0.0087641571, -0.0137059754, -0.0272098333, -0.005912506, 0.0225271359, 0.0193338934, 0.0496274419, -0.0568058938, 0.0176110882, -0.0108389752, -0.0153520945, 0.0950876549, 0.0190029964, 0.0022478951, 0.0658710599, -0.064496398, -0.0453385636, -0.0849315375, -0.0036412459, 0.0281267222, 0.0757854357, 0.0639961511, 0.0739564896, -0.0036969918, 0.0104226759, -0.0371199511, 0.0312480833, -0.0479275659, 0.0699717626, 0.0174815822, -0.0019850146, 0.0171087347, 0.0042340653, -0.0572603047, -0.0348451585, -0.0371729657, 0.0182822887, 0.0307672843, 0.013400631, -0.0325262174, 0.0269730929, 0.0519669764, -0.0076005491, -0.0178989545, 0.046504423, -0.0254189707, 0.0327163339, -0.0038625489, 0.0249352306, -0.0192015786, -0.0160971005, 0.0714322701, 0.0003910001, -0.0156738255, 0.0168355089, 0.0524612665, -0.0024721147, -0.0291302968, -0.0071294652, -0.0363972187, 0.0125111677, -0.0114601916, 0.0298449975, 0.0209403094, 0.0040687616, -0.0723170713, -0.0109329624, -0.0238255896, -0.0096468003, -0.0029319657, -0.022556968, -0.0051319548, 0.0275641736, -0.0383515842, 0.0182736348, -0.0535319112, -0.0630402714, 0.0393360294, -0.0532642305, -0.0157388058, 0.0699444786, 2.407e-7, 0.0225315746, -0.0029156886, -0.0080803484, 0.0072066402, -0.012549012, 0.0692726374, -0.025671944, 0.0240092836, -0.0077386633, -0.073059164, -0.0218500402, 0.0794773027, 0.0475664176, 0.0066446476, 0.0028752808, 0.0166962706, -0.0363066718, -0.0121594649, -0.0415019728, -0.0148174707, 0.0680456683, 0.0657095909, -0.0021949771, -0.0570696481, 0.0557009988, -0.0588925481, 0.0715512633, -0.0211737789, 0.0028034181, -0.0481445119, 0.0430343486, 0.0088122291, -0.015613934, 0.0138986632, -0.0062780404, -0.0248049777, 0.0255162753, 0.0406909958, -0.008000236, -0.0233887788, -0.0318224505, -0.0052191969, -0.0226973966, -0.048667483, 0.0749776438, -0.0494897328, -0.0099410852, -0.0285577886, -0.0153857796, -0.01161406, 0.0349519886, -0.0307173114, -0.0370004848, 0.0185280759, 0.0206668526, -0.0426835492, -0.0311806519, -0.0941978619, -0.0375173241, -0.0184758846, -0.0208266769, -0.0145221604, -0.050356932, -0.0309989881, 0.0581414998, -0.0691328496, -0.0481046624, 1.919878789e-34, 0.0058271666, -0.0224984996, 0.0032789682, -0.0022098839, 0.032853622, 0.004954183, -0.0103674671, -0.0090642311, 0.0142684598, -0.060825929, -0.0053564906 ]
http://arxiv.org/abs/2406.13618v1
http://arxiv.org/pdf/2406.13618v1
In-Context Former: Lightning-fast Compressing Context for Large Language Model
2024-06-19T15:14:55
2024-06-19T15:14:55
Xiangfeng Wang, Zaiyi Chen, Zheyong Xie, Tong Xu, Yongyi He, Enhong Chen
cs.CL
cs.CL
With the rising popularity of Transformer-based large language models (LLMs), reducing their high inference costs has become a significant research focus. One effective approach is to compress the long input contexts. Existing methods typically leverage the self-attention mechanism of the LLM itself for context compression. While these methods have achieved notable results, the compression process still involves quadratic time complexity, which limits their applicability. To mitigate this limitation, we propose the In-Context Former (IC-Former). Unlike previous methods, IC-Former does not depend on the target LLMs. Instead, it leverages the cross-attention mechanism and a small number of learnable digest tokens to directly condense information from the contextual word embeddings. This approach significantly reduces inference time, which achieves linear growth in time complexity within the compression range. Experimental results indicate that our method requires only 1/32 of the floating-point operations of the baseline during compression and improves processing speed by 68 to 112 times while achieving over 90% of the baseline performance on evaluation metrics. Overall, our model effectively reduces compression costs and makes real-time compression scenarios feasible.
[ -0.0126699768, 0.0671007708, 0.010396488, 0.0606850497, -0.0326750688, 0.0088295722, 0.0037943088, 0.0038906578, -0.0425062031, -0.0292551108, -0.0431236587, -0.0199163649, 0.0064623267, -0.0042533642, 0.0332074389, 0.0047671092, 0.031924434, -0.039441891, -0.0518838018, 0.01289762, -0.019334998, 0.0006722836, 0.0540772565, 0.0457083955, -0.0055520721, -0.040069662, -0.0119806621, 0.0046209316, -0.0082484074, -0.0126096876, -0.0122399013, 0.0535648316, 0.0518365055, 0.0343064293, 0.0000020891, -0.0186287221, -0.0242481921, 0.0078193909, -0.0511237383, 0.0411064848, 0.056210801, -0.0346494876, -0.0107227564, 0.0239203144, -0.0041674981, -0.0326365642, 0.0320357159, 0.0418822095, 0.0316286162, 0.0529398173, -0.0033725409, -0.0406139493, 0.0084747653, -0.0642849505, -0.0186173841, -0.0653813705, 0.0113044688, -0.0254492424, -0.0244689882, 0.0329987034, -0.0386600941, 0.0497852415, 0.0571940616, 0.0116581023, -0.0314773917, 0.0394770205, -0.001432988, 0.0115649067, -0.0072979438, 0.0416656286, -0.0242186841, -0.0397411659, -0.0231285114, 0.0232510548, 0.0004532187, -0.0426715426, -0.0509792268, 0.0417536125, 0.009120998, 0.0398830064, 0.040962752, 0.0478325263, 0.036517106, -0.0001133023, -0.0640540645, 0.030707296, 0.0290574208, -0.0114137568, -0.0253080446, 0.0008015744, -0.0147333071, -0.0431506, -0.0051845522, 0.0287281927, -0.0092981188, 0.0038793054, -0.0703433752, -0.0165633429, 0.0108072599, -0.0110751325, 0.0028359618, 0.037096072, -0.0070179831, 0.0699710846, -0.0357379653, 0.0300546736, -0.0336805694, -0.0191994142, -0.0450456105, -0.0386357196, 0.0281479545, 0.0197352152, -0.0474880598, 0.0310159288, -0.0452585965, -0.034720093, -0.0214307196, 0.0416176133, 0.0071653244, -0.0172278341, 0.0290757362, -0.0178167317, -0.0309070125, -0.0058731856, 0.0578049645, 0.0311126783, -0.0283234268, -0.0009831362, -0.0057971119, -0.0385764502, -0.0447287224, 0.0351756737, 0.022746874, -0.028552385, -0.0085856915, 0.0360350385, 0.0116127627, -0.048395738, -0.0296144728, 0.0013891431, -0.0167261437, -0.0441698097, -0.0201001558, -0.074470073, 0.0325061306, -0.0000543438, 0.0033005653, -0.0235304572, -0.0026535364, 0.0403808877, -0.0299759619, 0.0679196194, 0.0336747095, 0.0036127784, 0.0045926417, 0.0136383008, 0.0223375559, 0.076109916, 0.0118212048, 0.0242221393, 0.0203624591, -0.0232209358, -0.0225977078, 0.0623321533, 0.0720923692, 0.025244467, -0.0404451601, -0.0031577332, -0.0108102998, 0.0227470361, 0.0707128048, 0.0682542324, -0.0416243039, -0.0286434386, 0.0368462019, 0.0539537519, 0.0520453788, 0.0517188981, 0.0388887823, 0.0139458282, -0.0334158577, -0.0094587579, -0.057480514, 0.0361273736, -0.0290416442, 0.021998914, 0.0755910501, 0.0328531414, -0.0345500931, -0.0037294135, -0.0143865384, -0.0213266332, 0.0202233996, 0.0188622009, 0.0220445227, 0.0126427263, -0.0517481901, 0.0822844729, 0.0345332623, -0.0611279756, -0.0290630478, -0.0399311632, 0.0140101416, 0.022264136, 0.0425387584, 0.0031055335, -0.0018418975, -0.0119286831, 0.0211257972, 0.025591284, 0.0031801329, 0.0080799647, 0.0068553975, -0.0428908281, 0.0009291904, 0.0068985312, 0.0036042742, -0.0126412362, 0.0549873263, 0.0180373378, 0.031139439, -0.0185088906, 0.0307016615, 0.0338656902, -0.0533452556, -0.0258415081, -0.0031839069, 0.0087450603, 0.0304261036, -0.0073017823, 0.0018546438, 0.0239618961, 0.0575072952, -0.0708339363, 0.0033182199, -0.0030145077, -0.0886184946, -0.0806491971, 0.0279065762, -0.0042218012, 0.0077353022, 0.0190492067, -0.0314947478, -0.0152945807, 0.0065897545, -0.0472327881, 0.0874091461, -0.0436594673, 0.012936322, 0.0022147617, 0.0597383082, -0.0208259113, 0.0530110821, -0.0399497487, 0.0004290234, 0.0351316519, 0.0370102152, -0.0305357259, -0.0055783936, -0.0335054286, -0.0143661089, -0.0164806396, -0.0100467335, 0.0090853693, -0.0026631479, -0.0026212486, -0.0248349439, -0.1044006348, 0.0067089186, -0.0245896801, 0.0183526687, 0.0146391336, 0.0356729589, 0.011791667, 0.0174653511, -0.0159950703, 0.0045029502, -0.02399108, 0.0200976934, -0.0062938598, -0.0173712242, -0.0047521908, -0.0379640236, -0.0311931018, 0.0061954306, 0.1053661481, -0.0444304198, -0.0278520603, -0.0506259054, 0.0537826866, 0.0383937322, 0.0195850674, -0.0199604537, -0.0272027124, -0.0135868005, -0.0305002108, 0.0536529608, 0.0667435601, 0.0299461596, 0.0426165313, 0.039737951, -0.0156811923, -0.0514709055, 0.0055958154, -0.0042204075, -0.0280179363, -0.0218716301, -0.0376318432, -0.0103417486, 0.0923850238, -0.0194947384, -0.0025288104, -0.0463988855, -0.0398217849, -0.0029946568, -0.0167578477, -0.0196698718, 0.0013175437, -0.0291181002, 0.0025487689, -0.0197565556, -0.0291203465, 0.0504411422, -0.0627501681, 0.0012786899, 0.0014754478, -0.0071948459, -0.0484943464, 0.0631123036, -0.0107156495, 0.0230473634, -0.0165996905, -0.0214203596, -0.0294925589, 0.0302563068, -0.0348523818, -0.0344241336, 0.0817462504, -0.000059401, 0.0176658612, -0.0342043713, -0.0248395633, -0.0212421883, -0.0268059969, -0.0094778091, 0.0264620464, 0.0398769267, -0.0164070223, -0.0353291519, 0.0384081751, 0.0180060994, 0.0802196637, 0.0151260188, 0.0100635951, -0.009056407, 0.0246893633, 0.0338810049, 0.0174601134, 0.0360692777, -0.0023172093, 0.0397490747, 0.0858712867, 0.0601437278, 0.0146870641, -0.0337577462, -0.0328481644, 0.0470923185, 0.0074643907, -0.0015511913, 0.0091366088, 0.0286273602, -0.0576105155, -0.0269721132, 0.1224184334, 0.0183782559, -0.076826714, 0.0066942903, -0.0042093527, 0.0191006158, 0.0135777388, 0.0245948564, -0.0641432479, -0.0584600568, 0.0233720504, -0.0056348369, 0.0286620166, -0.0278139487, -0.0048593781, -0.1117892191, 0.0208003949, 0.0126326652, -0.0521943606, -0.0371580757, -0.0443837792, 0.0146306269, 0.0129884342, 0.0293804351, 0.0255468376, -0.02259399, -0.0288130939, -0.0132682668, -0.0067840084, -0.0296759978, 0.0288363341, -0.0294042118, 0.0336853005, 0.0086472686, 0.0099652549, 0.023301715, -0.0191352852, 0.0481628403, -0.0447524786, -0.0221024379, -0.0242830738, 0.0052610496, -0.040216431, 0.009565562, 0.0192043874, 0.0386355519, -0.0491098762, -0.0245056637, -0.015115845, 0.0814361721, 0.0275245234, 0.0082112178, -0.0261206832, -0.0231743455, -0.0079649501, 0.1062737405, 0.0580820814, -0.0454934761, -0.0141748739, -0.011076075, -0.0198537093, 0.0044859238, -0.0434697233, -0.0087528937, 0.0222248025, -0.0548985377, -0.0469306372, -0.002899552, 0.0296144914, 0.045538567, -0.0398846269, 0.0123634068, -0.0060907933, -0.0034072592, -0.0926907435, 0.0173754431, -0.0537046492, 0.0189059731, -0.0745325163, 0.0524767712, 0.0347761847, 0.0041759089, -0.0053999033, 0.063430436, -0.1154676303, -0.0331153832, -0.0183228292, 0.0122251268, 0.0084148655, 0.0573088005, -0.0202102158, -0.0409781337, 0.050394062, 0.009019292, -0.033057183, 0.0575368553, 0.013825506, 0.0070356699, 0.0304979663, 0.0656842813, -0.0435863845, 0.0008781967, 0.0036287871, 0.0456721373, -0.0386435911, -0.0155482236, -0.0009428904, -0.0113548767, 0.0276137684, -0.0237456299, 0.0130864168, 0.0089839958, 0.0348840468, -0.0380719118, -0.0095986947, -0.0454745144, 0.008804257, 0.0115173059, -0.0072809067, 0.0200701095, 0.0242203213, 0.0272558331, -0.0083346218, -0.0270657111, 0.0291800462, -0.0142739639, 0.0063603497, 0.0370661765, 0.0066959583, -0.0351148732, -0.0783984214, -0.0078000943, 0.0163987745, -0.0719409585, 0.0287159234, 0.0065474524, -0.0096653514, -0.0416800939, 0.0415172838, -0.0370654762, 0.0053268373, -0.0252308138, 0.0266552363, 0.0188998841, -0.0308096781, 0.0325076692, -0.001644257, -0.020783307, -0.0254364293, 0.0257099606, -0.0286071487, -0.0448749363, 0.031850744, 0.020134408, -0.0023510249, 0.0263031144, 0.0853567198, 0.0023217632, 0.0181278549, -0.0035066616, 0.0024689217, -0.0202232841, -0.0162420273, -0.0351778492, 0.0307699647, -0.0101745082, 0.0102582406, -0.0384710208, -0.0745725259, 0.0044958754, -0.0163550973, -0.0406543612, -0.0009321254, 0.0263149943, 0.0521636084, 0.0076323086, -0.021994561, -0.0119541055, 0.0454617552, 0.0251988173, -0.0535879061, -0.0140670612, -6.469144346e-33, -0.0384507552, -0.0221671611, 0.0124796005, -0.0487153344, -0.0424340181, 0.0432270989, -0.0423543975, -0.0179671589, -0.017113084, -0.0241891108, -0.035694059, 0.0197031703, -0.0021385616, 0.056869898, -0.0422448367, -0.0034027484, 0.0482028946, 0.0081201205, -0.0052399281, 0.0319730379, 0.0196638647, 0.0203164592, 0.0407610275, -0.0403979272, -0.0409634449, 0.0047850562, 0.0203732643, 0.0151161468, 0.0160340425, 0.0588227957, -0.0435520783, 0.0108987689, 0.0186100118, -0.0695125833, -0.0031433892, 0.0674805641, -0.0842439383, 0.0001026126, 0.0232820809, -0.0183637235, -0.0154242497, -0.0587029234, 0.0401842073, 0.0132890986, 0.0090091471, -0.037069343, -0.0254777335, -0.0079152286, -0.0596496277, -0.0298986807, -0.0746241808, 0.0204417389, 0.0049831811, 0.0043136557, 0.0433923565, 0.0210346319, -0.0064120735, 0.065030843, -0.0600952171, -0.0080429427, -0.032970462, 0.0616040267, 0.0783315524, 0.0079371268, 0.0272641499, 0.0349405557, -0.0104175936, -0.0288803633, -0.0617359392, -0.0276956894, 0.0343144424, 0.0312708057, 0.0338948667, 0.0391694196, 0.0320306197, -0.0098233316, -0.0691943839, -0.014309627, 0.007656177, 0.0520748273, 0.0507699326, 0.0260655899, -0.0153982956, -0.0153706027, -0.0450395681, -0.0158542003, -0.0392069928, 0.0083401715, 0.0207529012, 0.0325160325, -0.0264219828, -0.0145961251, 0.062991865, -0.0576477312, -0.010554377, 0.0417363308, 0.0214292482, 0.0221699253, -0.0046594087, 0.0500753187, -0.0331286043, 0.0127040455, 0.0163972117, -0.0248391517, 0.0044113477, -0.0040313867, 0.0446769223, 0.0263769906, -0.0737880915, -0.0368944369, -0.0484379455, -0.0037720029, -0.0324141756, -0.0125318356, 0.0631281361, 0.0129385311, 0.0162290707, 0.0416222811, 0.0231602136, -0.0055784043, -0.0129432706, -0.0231182165, 0.0309312847, 0.0279965959, -0.0156257804, -0.0063665798, -0.0339488871, 0.0341321193, 0.0690489858, -0.0543271229, -0.0229314733, 0.0462724082, 2.713e-7, 0.043129351, 0.0327418596, 0.016397601, -0.0168396346, 0.0344925746, 0.0177137684, 0.0368887112, 0.0267762393, 0.0039777686, 0.0043910244, 0.0035638195, 0.0195356868, 0.0460900776, 0.0123231495, -0.0884656087, -0.0076505174, -0.0577759854, -0.0016457208, -0.0274755992, -0.0110227112, 0.0060166712, 0.1499599516, -0.0103984578, -0.005799965, 0.0138952481, -0.0118096834, 0.0447646007, -0.055428315, 0.0011161263, -0.0030877548, -0.0208381284, 0.0113889547, 0.0050002625, -0.0384173319, -0.0036327115, 0.0302933306, -0.0014221778, 0.0775270835, 0.0095076654, -0.0459607951, 0.0027370807, -0.0302543622, -0.0316038616, -0.0556450859, 0.0726660416, -0.0505867898, -0.0069814157, -0.0693042204, 0.0008324439, 0.0126160979, -0.0269619748, 0.0125190783, 0.0153055433, 0.0288795233, 0.0427868478, -0.0167335868, -0.0297507588, -0.1096559316, -0.0390112959, -0.0083504533, -0.0602756143, -0.0111528486, -0.0548912212, -0.0343785137, 0.0502012745, -0.0342950597, -0.0034933372, 2.959889036e-34, 0.0259557832, -0.0080167046, 0.0134140719, 0.0450728759, 0.0085720392, -0.0219578836, -0.0072703483, 0.0156394336, -0.0031306222, -0.1056784242, -0.0225199852 ]
http://arxiv.org/abs/2406.13617v1
http://arxiv.org/pdf/2406.13617v1
Optimizing Psychological Counseling with Instruction-Tuned Large Language Models
2024-06-19T15:13:07
2024-06-19T15:13:07
Wenjie Li, Tianyu Sun, Kun Qian, Wenhong Wang
cs.CL
cs.CL, cs.AI
The advent of large language models (LLMs) has significantly advanced various fields, including natural language processing and automated dialogue systems. This paper explores the application of LLMs in psychological counseling, addressing the increasing demand for mental health services. We present a method for instruction tuning LLMs with specialized prompts to enhance their performance in providing empathetic, relevant, and supportive responses. Our approach involves developing a comprehensive dataset of counseling-specific prompts, refining them through feedback from professional counselors, and conducting rigorous evaluations using both automatic metrics and human assessments. The results demonstrate that our instruction-tuned model outperforms several baseline LLMs, highlighting its potential as a scalable and accessible tool for mental health support.
[ 0.0930648074, 0.0257261824, -0.0142500028, 0.0175985377, -0.0461100042, 0.0305104963, 0.0312588252, -0.0038634224, 0.0660385191, -0.0529995523, -0.023692498, -0.04554566, -0.0060406886, 0.0051487815, -0.0211129859, -0.0846704394, -0.0033415691, 0.0008098725, 0.0719715655, 0.0032619659, 0.0029607154, 0.0298476759, -0.0379198007, 0.0405409075, -0.0014085267, -0.0230703615, 0.0374991782, 0.0300828628, -0.0000922198, -0.0694044381, 0.0076417387, 0.0464007594, -0.0154501023, -0.0456786789, 0.0000019591, -0.0589258038, 0.0142476698, -0.0147093497, -0.0311238673, -0.0050180722, 0.0559485704, -0.0423248224, 0.0030693358, 0.0364702903, 0.011141466, -0.0115490463, 0.0290684681, 0.056478925, 0.095556125, 0.0638925135, -0.0090334006, -0.0104780272, 0.0076264697, 0.0035952416, -0.061541196, -0.0352153666, 0.0257703103, 0.0142746074, 0.0452208258, -0.0066130576, -0.0033191508, 0.021528922, -0.0408529676, -0.0003912646, -0.0092488797, -0.0161254052, -0.017807344, -0.0181164034, -0.0168622751, 0.0861643404, 0.0469223931, 0.0431643911, -0.0087306807, -0.0305952895, 0.0095257759, -0.0190262441, -0.0234871395, 0.0278139673, 0.0087342579, -0.0185980089, 0.0181292184, 0.0039393986, -0.0285663158, 0.0230342429, 0.0345735587, 0.0404148847, 0.0066808243, -0.0424448699, 0.0461235344, 0.0114347767, -0.0616401322, -0.0762257278, 0.0377793051, 0.0484522171, -0.0857630149, 0.0164666045, -0.0344992541, -0.0150471702, 0.0170457326, -0.0114101833, 0.0561333634, 0.062212687, -0.0283801034, 0.0043081022, 0.0612748079, 0.0421044193, 0.037931893, -0.0105335722, -0.0344819352, 0.0300367158, -0.0800292194, 0.0120195728, -0.0452427641, -0.0037678238, -0.0467824601, -0.0192152504, -0.0677174628, 0.0201294404, -0.0137728332, 0.0040396014, -0.0101870615, -0.0227864664, -0.0134960953, -0.0097020669, -0.0313588642, 0.0264408644, -0.0444518104, 0.0022925348, -0.0002883082, -0.0589238741, 0.0320888422, 0.0218873117, -0.010498045, -0.0142708309, 0.0213511828, 0.035732381, 0.004941741, -0.0214491971, -0.0450444631, -0.0287970677, -0.0593010783, -0.0380116403, -0.029933963, -0.019752197, 0.0213498604, 0.0159018226, 0.0249973796, -0.0134561416, 0.0330309942, 0.010189116, -0.0638920516, 0.0676108599, -0.0096370531, 0.0323947482, 0.0312545821, 0.0036964288, 0.0257015191, 0.0432069898, -0.0016175611, 0.0089518419, 0.0336415283, -0.0361998901, 0.0033486795, 0.0099988254, -0.0416376144, -0.0279872585, -0.0309406389, 0.0042123455, -0.0183914173, 0.0637726486, -0.0183746237, 0.0488881059, 0.0020547169, 0.0146136917, 0.0474326015, 0.0839142129, 0.004082181, 0.0437844023, 0.0420774259, 0.0620782077, 0.0034586452, -0.0191106088, -0.0618479103, -0.0133288521, -0.0408235341, -0.0113784485, 0.026182998, 0.0042588986, -0.0275131445, -0.051338274, -0.0442181677, -0.0144289071, -0.0342532359, 0.0287302323, -0.0188329462, -0.0137461554, -0.0244401246, 0.0259458404, 0.0408080183, -0.0045791445, -0.0376146249, -0.0314208753, 0.019198047, 0.1262598485, 0.0347298421, -0.0327397324, -0.0234863646, -0.0238747392, 0.0366196334, 0.0475331433, 0.0218982194, 0.0158528909, 0.011298446, -0.0520579554, -0.0134640941, 0.0334217511, 0.010461458, -0.0073616221, 0.0044085537, -0.0101738954, -0.0035745152, 0.0368699729, -0.0720770434, 0.0494499542, 0.0020210997, -0.0562988967, 0.0293455888, 0.0010828007, 0.0269547366, 0.0350959636, -0.0187331215, 0.0141034173, 0.0134293046, -0.0178697482, -0.0139017962, -0.0028263887, -0.0650797263, -0.0109836766, 0.024360517, 0.0092825824, -0.0067781205, -0.0179202519, -0.0302439705, -0.0239854362, 0.0122917248, -0.0663970262, 0.0218374748, 0.0063187061, 0.0278502628, -0.0038908175, -0.0001579681, -0.054220967, 0.0142826512, 0.0022396711, 0.0366485305, 0.033712551, -0.0066944165, -0.0491940677, -0.0335989781, -0.0072102151, -0.0157099888, -0.0104039609, 0.0038945067, 0.0097545916, 0.0402339958, -0.035641931, -0.0631192103, -0.1214572191, 0.0220075175, -0.0013964061, -0.0174771491, 0.0208498575, -0.0337310955, -0.0463356078, -0.0089034205, -0.034729667, -0.0093249083, 0.0474686809, 0.0032393679, 0.017889386, 0.0268869046, -0.0270227473, -0.0453646891, -0.015430551, -0.0205054358, -0.0005355497, 0.0035509754, 0.0042953631, -0.076005429, 0.0313625522, -0.0280814935, -0.0005088902, -0.0001817156, -0.0443925969, -0.006202193, 0.0249212887, 0.0610243939, 0.0416308306, 0.0125153586, 0.0227707811, 0.0140866265, -0.003742683, -0.0474337041, 0.0106860092, -0.0083091734, -0.0597664118, -0.0551922061, -0.0434778519, -0.0050205705, 0.042449601, 0.0339611694, 0.0142795676, -0.0414820388, -0.0178900901, -0.0167702008, 0.0209462997, -0.0248732865, -0.0225259792, -0.0060970746, 0.0040864996, 0.0142937051, -0.0191368777, 0.0774187297, -0.0133050671, -0.0177647024, -0.0608014874, -0.0524283908, -0.0370601937, 0.0247752983, -0.0168687291, 0.022593597, 0.0277054217, -0.0196923222, 0.0172775611, -0.0503377393, -0.0148167349, -0.0251643062, 0.0375061929, -0.08227171, -0.0078764893, 0.0387341715, -0.008755995, -0.0622987375, -0.0538540334, -0.0462572277, -0.0153151387, 0.0285308063, 0.0168865938, -0.0565316491, -0.0351099931, 0.0288672354, 0.0295699239, -0.0318402685, -0.0351416096, -0.0173319578, -0.0039054987, 0.0290294439, -0.0032115092, 0.0297832768, -0.0332595706, 0.0671973228, 0.0100284545, -0.0269426331, 0.0367603973, 0.0095195323, 0.02005977, 0.0100041069, -0.0040950412, 0.0309479982, 0.0599712506, 0.0436868891, -0.032338798, -0.0300941449, 0.152257666, 0.0375111997, -0.0374857597, 0.0141253099, -0.0333893709, -0.0120647969, 0.0266785286, -0.0037341437, -0.0344357006, -0.0429375805, -0.030986473, 0.0489231497, -0.0454242341, -0.0014345933, -0.0051590689, -0.078514874, 0.0310376752, 0.0050730831, 0.0353589728, -0.0343699791, -0.0091192685, 0.0023060262, 0.0127617829, 0.0194557011, -0.0131710144, -0.0247447509, -0.0037345209, 0.0278660767, -0.0582041107, -0.0585931204, 0.0594909154, -0.0159420073, 0.0904776454, 0.0345422812, 0.0200738348, -0.0110302186, -0.0184863191, -0.0028972265, 0.0439176485, -0.0055710725, 0.0109767579, 0.0228987318, -0.0039373487, 0.0063551702, -0.0483041257, 0.0580449626, -0.0387401879, 0.0140378382, 0.0490853786, 0.0644857511, -0.0124206804, 0.0110278567, -0.0006032035, 0.0633395687, 0.0470736325, 0.0878468752, 0.030351337, -0.0715844184, 0.0224737432, -0.0126137165, 0.0151413893, 0.0153495418, -0.0302647986, 0.0271509271, -0.0491262786, 0.0354861133, -0.0504186228, -0.0463196933, 0.056705378, -0.0288672093, 0.0134134348, -0.0388482213, -0.0008022594, 0.0333835036, -0.0219379589, 0.0700482354, -0.0281045083, 0.0448452868, -0.0912410095, 0.0100725386, 0.0477787703, -0.0127471276, -0.0212458391, 0.0545820817, -0.02222066, -0.0401990749, 0.0282221511, 0.0271025356, 0.0078319171, -0.0319206305, 0.0227731299, -0.0766899139, -0.0130173666, 0.0357474834, -0.0315664373, -0.0123461485, -0.0013198069, 0.0702285692, -0.001202391, 0.0442631654, 0.0045888, 0.0772232637, 0.0353095531, 0.0416280776, -0.0077295429, -0.0812962875, 0.0101521686, 0.0566618592, 0.0180149283, -0.0112621635, -0.039909102, -0.0011525424, -0.0222368948, -0.0178873613, -0.024969222, -0.0342532881, 0.0129151773, 0.024499448, -0.0381399207, -0.0137577699, -0.0759199634, -0.0659574568, -0.0106706303, -0.0491679758, 0.0140979597, -0.0186271165, -0.0020372972, -0.0006541713, 0.0078931004, -0.0284433961, 0.022815356, -0.0043491069, 0.0332442634, 0.001116674, 0.1210636273, -0.004442526, 0.0089666657, 0.0081509268, 0.017601693, 0.001943421, -0.0975440964, -0.0193723477, 0.0243035182, 0.0495299175, 0.0196714178, 0.0178258792, -0.0378116667, 0.0114254095, -0.0256793462, 0.0199535079, 0.0161084328, -0.0246865824, 0.0508373193, 0.0097129699, -0.0176810529, -0.009187215, 0.0100793839, -0.0270488877, 0.0265635625, 0.0288305413, -0.0178246703, -0.0505258627, -0.0045697917, -0.0051819086, 0.0417556837, -0.0319623761, 0.0415137708, -0.0666164607, -0.0265644398, 0.0069965986, -0.0083137499, -0.0167112481, -0.0391993113, 0.0426098108, 0.0041364953, -0.0155596184, -0.0430886373, -0.0457374342, 0.0422956571, -0.0099843973, -0.0266434737, -0.0467514694, -5.664028796e-33, -0.0222591031, -0.0299058333, -0.0029957457, -0.0058310386, 0.0009118756, -0.0241718125, 0.0095836567, 0.0408823043, 0.006589076, 0.0242967494, 0.0253503621, 0.0389081277, 0.0052778879, 0.0334770717, 0.0153835434, 0.0043986333, 0.0197639465, -0.0101362793, -0.0345019102, 0.0027961126, -0.0165152736, 0.0413431264, 0.0440324135, -0.0781712458, 0.0501374565, 0.0058930367, -0.0037986625, 0.0408192985, 0.0351352952, 0.0352553576, -0.0433430783, 0.067098476, 0.0323021933, -0.0323704518, 0.0129633406, 0.0349322148, -0.0133248763, -0.0285255667, 0.0655492544, -0.0284080114, -0.0446429253, -0.0231550783, -0.0138810016, -0.02476977, -0.0240152571, -0.0167988632, 0.0147499749, -0.0588502884, 0.0299146976, 0.0224107336, -0.0233349949, 0.0023076211, -0.0353413038, -0.0357629955, -0.0298343878, 0.0529666841, -0.0515785962, 0.0248432457, 0.0164874289, 0.0166594572, 0.0506873876, 0.0177520663, 0.000015242, -0.0297682956, -0.0463690422, 0.0373614021, -0.0038044981, -0.0160056837, -0.0061190319, -0.0201614406, -0.0236989111, 0.0225095283, 0.0465725623, 0.0321391486, -0.008809316, -0.0061137867, -0.0459406041, -0.0134565271, 0.0297693275, 0.0145545853, 0.0369432904, -0.014597984, -0.0462977961, -0.0191376247, -0.0620926544, -0.0116961403, -0.0224006418, -0.011130387, 0.0534765013, 0.0012858069, -0.0339337885, -0.0007701978, -0.0119925309, -0.0121579776, 0.0079809455, -0.0039492943, 0.004077679, 0.0192067754, -0.0107642477, 0.0045836391, -0.0613362342, -0.0116462987, 0.01850757, -0.0395639949, 0.0412088186, -0.0162718892, 0.0129273813, -0.019468721, -0.0568506457, 0.0061230874, 0.0116083035, 0.0529112108, -0.0234654527, 0.0053260345, -0.0309612788, 0.02466386, -0.0295830835, 0.0881488472, -0.0071039521, -0.033229176, -0.0410269387, -0.0381192267, 0.017223727, 0.0242674965, -0.0368517227, -0.0152916284, 0.0002580047, -0.0113893598, 0.0348592699, 0.0002334793, 0.0068531325, -0.0064111059, 2.605e-7, 0.0106836446, 0.0911380053, -0.0062506692, 0.0311474856, 0.0046329396, 0.0329880305, 0.0128674349, 0.0352096036, 0.0586278364, -0.0125733474, -0.0060468628, 0.0250663217, 0.0536951311, 0.0034895071, -0.0244136769, -0.0234706756, -0.0302018225, -0.0251153074, -0.0736069903, 0.0104634594, 0.0980057493, 0.0747028813, 0.0081995223, -0.005997485, -0.0073671937, -0.0110660819, 0.0314772204, -0.0622115619, -0.0229433756, 0.0618552081, 0.0490979068, -0.0034039246, 0.0262133442, 0.0487475693, 0.0181424543, 0.0162802301, -0.0321538821, 0.1240542904, -0.026591612, -0.0107340021, 0.0011539675, 0.0530026257, -0.0102175986, -0.0170136709, 0.0175507255, -0.0852680951, -0.0149713, -0.0324263349, -0.0082516465, -0.0613407679, 0.0270145666, -0.0368559845, -0.0259709153, 0.0459174402, 0.0385725051, -0.0100552132, 0.0271463711, -0.0458654165, 0.0123942029, 0.0379789583, -0.0252419282, -0.0183559358, -0.0073036263, 0.008380915, -0.0163698141, -0.079202123, 0.0454835407, 2.164984629e-34, 0.0312710591, 0.0295630023, 0.0521960892, 0.010726681, 0.0575557314, 0.0531947687, -0.033581391, 0.0335528553, -0.0002065804, -0.1133164912, -0.0017357129 ]
http://arxiv.org/abs/2406.13578v1
http://arxiv.org/pdf/2406.13578v1
Enhancing Distractor Generation for Multiple-Choice Questions with Retrieval Augmented Pretraining and Knowledge Graph Integration
2024-06-19T14:12:05
2024-06-19T14:12:05
Han-Cheng Yu, Yu-An Shih, Kin-Man Law, Kai-Yu Hsieh, Yu-Chen Cheng, Hsin-Chih Ho, Zih-An Lin, Wen-Chuan Hsu, Yao-Chung Fan
cs.CL
cs.CL
In this paper, we tackle the task of distractor generation (DG) for multiple-choice questions. Our study introduces two key designs. First, we propose \textit{retrieval augmented pretraining}, which involves refining the language model pretraining to align it more closely with the downstream task of DG. Second, we explore the integration of knowledge graphs to enhance the performance of DG. Through experiments with benchmarking datasets, we show that our models significantly outperform the state-of-the-art results. Our best-performing model advances the F1@3 score from 14.80 to 16.47 in MCQ dataset and from 15.92 to 16.50 in Sciq dataset.
[ 0.0161249973, -0.0098649878, -0.0048433035, 0.0228978526, -0.0002668074, -0.0077094729, 0.0149642676, -0.0104286037, 0.0953197479, -0.0619867593, -0.0097311018, -0.008514042, -0.0766545907, -0.0163507592, 0.0369861722, -0.0420528799, 0.0719167069, -0.0152308112, 0.0210527275, 0.0047946558, -0.0032777626, -0.0136168888, -0.0079320697, -0.0197719894, -0.0011336285, -0.0246482845, -0.0170371514, 0.0096184248, 0.0056968313, -0.0574720912, 0.0431974977, 0.0789794698, 0.0076922029, 0.007786958, 0.0000022222, -0.0579481162, -0.025032308, -0.0308247712, -0.0443708189, -0.0175569821, -0.0304866303, 0.0765067711, 0.0718942732, 0.0118485112, -0.0506966338, -0.0063011646, 0.0033788858, 0.0397544354, 0.0624440871, 0.0535284169, 0.0058642556, 0.022321118, 0.0351469852, 0.0111471415, 0.0551370494, -0.016338896, -0.007822644, 0.0397877581, -0.0384537317, 0.052612491, -0.0363455191, 0.0327997617, 0.010640162, 0.0557266884, 0.047241874, 0.0089588286, -0.0588101, -0.0116830319, -0.0415666439, 0.0932288021, -0.0153720491, -0.0125931967, -0.0321199782, -0.0148504451, 0.0436648242, 0.0500376262, -0.0508259386, -0.0278897397, -0.0280087199, -0.0237285271, 0.0104326466, -0.012209625, 0.0032152433, 0.0046214149, -0.0106084719, 0.0217085294, 0.0430533439, -0.0447542332, 0.0538525842, 0.0083553642, -0.0035372153, -0.0239454452, 0.0328753926, 0.0433898531, -0.0816545784, 0.0289243422, -0.0436213128, -0.0785826668, 0.0323542766, -0.0105760312, 0.0014106439, 0.0289449655, -0.0273974296, 0.0270758532, -0.0405842401, 0.0426120199, -0.0161765069, 0.0301313642, -0.0429391861, 0.0219803676, -0.0149134845, -0.0288056303, -0.0598458052, 0.0422682911, -0.0233212858, -0.0338460281, -0.0153760426, 0.0371044166, 0.0037533522, -0.0222607702, 0.0057388376, 0.0317568928, -0.014872794, 0.0061289286, -0.0401872285, 0.0566558912, -0.0252822861, -0.0044624317, 0.0329319984, -0.020794889, -0.0187196657, 0.0274457447, 0.026579028, -0.0626278594, 0.0243540108, 0.0322599635, -0.032340236, -0.0330982171, -0.006474162, -0.050761167, -0.004610301, -0.0403789766, 0.0336735435, -0.0460487492, 0.0199100263, 0.0223774295, 0.0002349277, -0.0179175362, 0.0403143428, 0.0409365036, 0.012053187, 0.0151686426, -0.0403892659, -0.0233871378, 0.0236786734, 0.0011425909, -0.0010853013, 0.0502480045, -0.001466757, 0.0150903352, 0.0702103302, -0.0361460112, 0.0036784073, 0.0156723, 0.0125321634, -0.0298168976, 0.0407932959, 0.0227388293, 0.007116735, 0.0072648958, 0.0067538195, 0.0528993234, -0.0294134151, 0.0130990213, 0.0262521934, 0.0194901172, 0.0308385417, -0.0030560915, 0.0203712843, 0.0243129786, -0.0038120036, 0.046661891, -0.0306865424, 0.0180753861, -0.0611532889, 0.0440748371, 0.0293755662, 0.0402539819, -0.0297599565, -0.0427809507, 0.0121328598, 0.0216878094, 0.0173798893, 0.0399377458, 0.0564402379, 0.0238270648, -0.0946865156, 0.0394797549, -0.0078822859, -0.0746797845, 0.006507114, -0.0302874297, 0.0532839559, 0.038156189, 0.0507944264, -0.0481246859, -0.0981236696, 0.0273432098, -0.0090413103, 0.0064424896, 0.069513239, -0.0306679178, -0.0166225228, -0.0793212578, -0.0332766026, -0.0296706595, -0.0008423536, -0.0010449025, 0.0430121869, -0.0034729918, 0.0270451121, -0.0209758021, -0.0402721241, 0.0293937232, -0.0078486912, -0.0489284359, -0.0316679664, -0.0013587035, -0.0023903246, 0.0075615519, 0.0086947288, 0.0364537127, 0.0367425121, -0.006740551, 0.0212751366, -0.0073181856, -0.0557491481, -0.0636989921, 0.0402112529, -0.0024859784, -0.0287324172, 0.0294817761, -0.0055714669, -0.0408289619, -0.0078607397, -0.0245672483, 0.0366975069, -0.0119799543, 0.0085715884, 0.017198801, -0.0288710706, -0.0463659652, 0.1034110263, 0.0193219036, 0.0471190847, 0.0261505116, 0.0378505401, 0.0489244945, -0.0324654318, 0.0063983062, -0.0281764157, -0.0263439082, 0.0285803135, 0.0237917304, 0.020823231, -0.1425736994, 0.0074861892, -0.0668282062, 0.0476190411, -0.0295880847, 0.0198049229, 0.003242597, 0.0101395482, -0.0079053519, -0.0208870098, -0.0610926375, 0.029585775, 0.0280111004, 0.0275872163, -0.0094820419, -0.0275511146, 0.0349574387, -0.0243802089, -0.0066768136, -0.0115495268, 0.0310737286, 0.020741934, -0.0153566459, 0.0157976113, 0.0673035905, -0.0304435566, -0.0138693899, 0.0046090488, 0.0297841597, 0.0472736433, -0.0401020385, 0.1101466715, 0.0423753671, 0.0149354944, 0.0007380329, 0.0242817607, -0.0352681428, -0.0668900907, 0.0404268391, -0.0416503698, -0.0308350772, 0.0099375919, -0.0175580438, 0.0355898626, 0.0345133021, 0.0311916154, -0.0420649014, -0.0195852667, 0.0119186919, -0.0104391538, -0.022042226, -0.0713513792, 0.0180144962, -0.0274240896, 0.0235563237, -0.0382353812, -0.0273682121, 0.069258146, 0.0042761974, 0.0195696652, -0.0692290738, 0.040016152, -0.0055246693, 0.031769067, -0.0021298397, 0.0011346425, 0.0030728667, -0.0199529994, -0.072157748, 0.0075058178, 0.0028786212, -0.0537508726, 0.0507056192, -0.0222203042, -0.0254062973, 0.0346174948, 0.0058035012, -0.0679920837, -0.0165848602, 0.0021936619, -0.0119067561, 0.0241667945, 0.0179406684, -0.014384198, -0.0195538569, 0.0597667582, 0.0137903895, -0.0434458777, -0.0149007691, -0.0127657438, 0.0889256224, 0.0514325649, 0.0356223211, 0.0080886446, -0.0471300744, -0.0077256314, 0.0532300547, 0.0818143487, -0.0579405129, 0.0372287109, 0.0122617083, 0.0287057478, -0.0503889918, 0.0052476367, 0.0171319619, 0.0785356015, -0.0516372249, -0.0358755738, 0.0842758194, 0.0447648354, 0.0033460932, -0.0432150513, -0.0263739638, 0.0151261454, 0.0481426045, 0.0087961815, -0.0539167523, -0.0444884934, -0.0382469557, 0.0093669752, 0.0172107406, -0.0106416773, 0.020590283, -0.1019248515, 0.0087555191, 0.0151673425, -0.0496071316, -0.0251673125, -0.0222889557, -0.0331656821, 0.0291550569, -0.0181021187, 0.0286831334, 0.0037271006, 0.0350981019, 0.0351843834, 0.0196693372, 0.0219698194, -0.0385077782, -0.0294682514, -0.0206265207, 0.0039030076, 0.0015907753, 0.0036550469, -0.0362882204, -0.0024463225, -0.0538691133, -0.0134165855, -0.0017120076, 0.0433567576, -0.0143737486, 0.0121195391, -0.0697314292, 0.0186850037, -0.0190679394, -0.0383596197, 0.0695478842, 0.054952912, -0.0106939487, -0.0219254829, 0.0093803462, 0.0086612692, -0.0065307282, 0.0456964932, 0.0353857726, -0.0400158651, 0.0218719039, -0.050714422, 0.0634676293, -0.0866170973, -0.005506854, 0.0303524379, -0.035560187, 0.0420791879, -0.0360622369, -0.0641618967, 0.0525270775, 0.0290038995, -0.0193137787, 0.0155752096, -0.0024768584, -0.0013027064, -0.0368811116, 0.0609632432, -0.0121167293, -0.0339368097, -0.008751139, -0.0505523458, -0.0215572715, -0.0117155593, -0.009362028, 0.0610133335, -0.0484970249, -0.0262513813, -0.0073652565, 0.0564031303, 0.0094869006, -0.0109939883, 0.0266838595, 0.010764963, -0.0117583023, 0.0024809209, -0.0317525603, -0.0101666031, -0.0256515201, -0.0502267517, -0.0173035432, -0.0152836815, -0.0371135846, -0.0127536515, 0.0153239956, 0.0765841082, -0.0507688448, -0.0416378863, 0.0493512228, 0.0504903421, 0.0186865833, -0.0246249326, 0.0115770986, -0.0582133085, -0.0041091694, -0.0109465485, -0.0449067354, -0.0130434344, -0.0265112594, 0.0222621653, -0.0376246087, 0.0175725464, -0.0317565762, -0.0110618649, 0.0347522944, -0.026925398, -0.0266553089, 0.0239686128, 0.0063035693, 0.0600173883, -0.0169957913, -0.0570802726, 0.0128283892, 0.0286075845, 0.0414825939, -0.0015054677, 0.0806020275, -0.0014084933, -0.0303268339, 0.0146572804, -0.0188980754, -0.0391282737, -0.0367332175, -0.0227693934, 0.0073151058, 0.0251230393, -0.0061163488, 0.0338252224, 0.0115347169, -0.0130665852, -0.0173575804, 0.029626064, 0.0160860512, -0.021407662, 0.02478268, 0.0363468379, 0.0071587213, -0.013494947, 0.0576029718, -0.0089962212, -0.0050998791, 0.023067873, -0.0448621586, -0.0689907148, -0.0220691618, -0.0083848331, 0.0787860677, -0.006175525, 0.0250036493, -0.0508597866, -0.0608787723, 0.0107994387, 0.0225609355, 0.0098954635, 0.0081566675, 0.0592440404, 0.0603464916, -0.0535185337, -0.0546444319, -0.0022593411, 0.0666359887, -0.0888944417, -0.010837839, -0.015129704, -6.188386336e-33, -0.0389503501, -0.0602362454, 0.0551606379, -0.0485574901, -0.0159799885, -0.0302861296, -0.0549918972, 0.0244103149, -0.0220382661, -0.0124377795, 0.0037584603, -0.0197888091, -0.0060785525, 0.0548625924, -0.020024715, -0.0238654725, 0.0118631516, -0.0021163949, -0.0016363813, 0.0416658409, 0.0556264929, 0.0265068281, 0.0278207045, -0.0083828485, 0.0037062378, -0.0417765938, 0.0424436517, -0.0093687708, -0.0363047644, 0.0471476875, -0.0295042507, 0.0790086538, 0.0232506562, -0.0254607815, -0.0140528912, 0.0277560316, -0.0564353429, -0.0788379908, -0.0087812962, 0.0127738621, -0.0604435392, -0.0467342027, 0.0277667157, -0.0113584315, 0.020645529, -0.0152933439, 0.0443311036, 0.0245600194, -0.058829315, -0.0212765615, -0.0853077546, 0.0016013919, -0.0157189742, -0.0050950828, -0.0226973668, 0.0660300329, 0.0093651414, -0.0068489523, -0.0390042588, 0.0322617032, 0.0110464301, 0.0127750318, 0.0292964522, 0.0570170507, -0.0127311172, 0.044633694, 0.0127733257, -0.0176304542, 0.0337714627, -0.0031296562, 0.0036779239, 0.0470455699, 0.0432277173, 0.0188939944, 0.0156365335, -0.0123633966, -0.0704143792, 0.0456789061, -0.0317134857, 0.0107909711, -0.0041989121, -0.0260039568, 0.0016950445, -0.0160672944, -0.0409528911, 0.0284766257, -0.0296331644, -0.0148920724, 0.0627070814, -0.0143928276, 0.0012469572, -0.0039794305, 0.0325360186, 0.0047003636, 0.0415149145, 0.0456060246, -0.0153175071, 0.029405633, -0.0395951681, 0.03496987, -0.0394932292, -0.0050295442, 0.0198759045, -0.0201773029, -0.0074540419, 0.0285572018, -0.0010232599, -0.0315478407, -0.0514976382, -0.0003628995, -0.0532791764, -0.0075582298, 0.031365592, -0.0046414728, 0.0419713184, 0.0366736576, -0.0159213226, 0.0478266254, 0.0259871259, -0.0264261905, -0.0395873152, -0.0484714657, 0.0188906137, 0.0122243362, 0.0113144843, 0.0090643251, -0.0475129969, 0.0163252298, 0.0055321567, -0.0671747476, -0.0007662372, -0.0020845223, 2.763e-7, 0.0630553365, 0.0350360982, -0.00347763, 0.0348360427, -0.0312157385, 0.0140221268, 0.0202074274, -0.0029301108, 0.0687707737, -0.0018266278, -0.0002506425, 0.043311175, -0.0297841653, 0.0182338972, -0.0638218895, -0.0401545949, 0.0089311469, -0.0097582862, -0.0382920429, 0.0111135533, 0.0637235194, 0.0233396292, -0.0022270835, -0.0065161334, -0.0180189535, -0.0336270444, 0.0392813869, -0.0025289641, -0.0402058624, 0.0334050767, 0.0630704686, 0.0273329243, -0.0232522227, 0.0579285659, -0.0226410273, -0.014894099, 0.0364474505, 0.0056034196, 0.0052590962, -0.0614673235, -0.0040394217, 0.018435033, -0.0070948415, -0.0393796191, 0.0429107286, -0.0426774397, 0.0233620107, 0.0533712097, -0.064849101, -0.0078452947, -0.0116041731, -0.0172316935, 0.0055658687, -0.036458768, -0.0052769952, 0.0337735377, 0.0031234636, -0.0354218483, 0.0006336914, 0.0608400516, -0.0246577859, -0.0662883446, -0.0387608409, -0.0444551669, 0.0038402323, -0.017569853, -0.0018376767, 2.333525264e-34, 0.0075147771, 0.0156254619, 0.0698411465, 0.0148622449, 0.024394514, -0.0463627689, -0.0030393021, 0.0087641543, 0.0427573174, -0.1141277626, -0.0086237583 ]
http://arxiv.org/abs/2406.13560v1
http://arxiv.org/pdf/2406.13560v1
Lexically Grounded Subword Segmentation
2024-06-19T13:48:19
2024-06-19T13:48:19
Jindřich Libovický, Jindřich Helcl
cs.CL
cs.CL
We present three innovations in tokenization and subword segmentation. First, we propose to use unsupervised morphological analysis with Morfessor as pre-tokenization. Second, we present an algebraic method for obtaining subword embeddings grounded in a word embedding space. Based on that, we design a novel subword segmentation algorithm that uses the embeddings, ensuring that the procedure considers lexical meaning. Third, we introduce an efficient segmentation algorithm based on a subword bigram model that can be initialized with the lexically aware segmentation method to avoid using Morfessor and large embedding tables at inference time. We evaluate the proposed approaches using two intrinsic metrics and measure their performance on two downstream tasks: part-of-speech tagging and machine translation. Our experiments show significant improvements in the morphological plausibility of the segmentation when evaluated using segmentation precision on morpheme boundaries and improved R\'enyi efficiency in 8 languages. Although the proposed tokenization methods do not have a large impact on automatic translation quality, we observe consistent performance gains in the arguably more morphological task of part-of-speech tagging.
[ 0.0031729974, 0.0507317409, 0.000083834, 0.0739810988, -0.0667992756, 0.0119575309, 0.0097696921, 0.037523035, -0.0356468335, -0.010589554, -0.0143095162, -0.0597328581, 0.0028757181, -0.0083013773, 0.0337128043, -0.0495116003, 0.0684458464, -0.0512588881, -0.0313368738, 0.0233882647, 0.0451453961, -0.0124064162, -0.0186273009, 0.0009664987, -0.0520460531, 0.0056385556, -0.0053506312, -0.0174576566, 0.0183727164, 0.0103380773, -0.0252783727, -0.0149423284, -0.0245448593, 0.0373033807, 0.0000019661, -0.0383438207, -0.0667548627, -0.0137891425, 0.0058970894, 0.0237148944, 0.0812960938, -0.0475721806, -0.0370634533, 0.0067513795, 0.0265036002, -0.0087090302, 0.0283323359, 0.0272811688, 0.0043952875, 0.0394188054, -0.0302534774, -0.0810863748, 0.0514796749, 0.0253942702, -0.0583832301, 0.013324446, 0.0014107868, 0.0037180576, -0.0307668708, -0.0522967279, -0.0220263675, 0.0138697345, -0.0615053959, -0.005258326, 0.0272918157, 0.0201012548, -0.0570752136, -0.0601024851, 0.022146849, 0.0375436619, -0.0600485876, 0.0017939236, 0.0277891532, -0.0267852563, -0.0308876, -0.0104780272, -0.0194786582, 0.0184515417, 0.0034474225, 0.0215397626, 0.0722770095, 0.04290938, 0.0142000681, 0.0066522853, -0.0837868378, 0.0796126425, 0.0666853189, -0.0345839076, -0.0350069404, -0.0280782152, -0.0424363874, 0.0003106348, 0.0537125356, -0.0257366933, -0.0120458333, 0.0486286059, -0.0139621887, -0.0428792201, -0.0056990026, 0.0098656258, -0.0068671, 0.0070613758, 0.0366748199, 0.0219242219, -0.0394519307, -0.0245092716, -0.018217653, -0.0287594106, -0.0482298397, -0.0292099193, 0.0107329087, 0.0122514945, -0.0639284998, 0.0153159462, -0.0222584531, -0.0106014982, -0.0411313549, -0.0022439731, 0.0300313644, -0.0359155089, -0.0180128273, -0.0361262336, -0.0174977481, -0.0136112245, 0.0109997662, -0.001077565, -0.0573783591, -0.031424541, -0.01619903, -0.0256016124, -0.002159392, 0.0321127363, 0.0468966141, -0.0091438051, 0.0033039637, 0.0436544009, -0.0042686844, -0.076658532, -0.0316523537, -0.048115626, -0.047345385, -0.0327194929, 0.0139061837, -0.0613902286, 0.0102204019, -0.018526094, -0.0000946025, 0.0210204534, -0.0214919373, -0.0140259601, -0.0188234933, 0.0959721059, -0.0331741981, -0.017483009, -0.0085729156, -0.0117822401, 0.0655585974, 0.0507833064, 0.0597409196, 0.0369197913, 0.0751408488, -0.0148911281, -0.0513298698, 0.0386430509, -0.0057799383, -0.0369157903, -0.0447310098, -0.0515316464, 0.0111787906, 0.0278883483, 0.0135577694, 0.071867317, -0.0001445959, 0.0353995003, -0.0202909242, 0.1112017706, -0.0316649787, 0.0418206416, 0.0062799007, 0.0303102452, -0.0192344729, 0.0533046797, 0.0557331368, -0.0485175401, -0.003361478, 0.0343850292, 0.0347104482, 0.0449500941, 0.0125433104, -0.0360746123, -0.0327472091, -0.0076819919, 0.0173897017, -0.0489389189, 0.061301589, 0.0238765329, -0.0707130879, 0.0267973077, 0.0092676617, -0.0657960847, 0.0292763934, -0.0450653359, 0.0039245808, 0.0077405069, 0.053196758, -0.0552422963, 0.0019333176, 0.0264427122, 0.0446073078, 0.0499982685, -0.0254012309, -0.011730033, -0.0266020801, -0.0723368973, 0.0218260996, 0.0473042578, 0.014195065, -0.0412212573, -0.0171659254, 0.0123319151, 0.0011580612, -0.0442417488, 0.0246654786, 0.0455099195, -0.0109737841, -0.0040646144, -0.0335679427, 0.026609052, 0.0094950907, 0.0105089666, -0.0323042199, 0.0118759843, 0.0321062952, -0.0275722481, 0.0341776088, 0.0124645382, -0.0214082561, -0.0305116195, 0.0328405835, -0.0111438455, -0.0193034895, -0.0673554018, 0.0133530879, -0.0227132551, 0.0330038257, -0.023601843, 0.1179453582, -0.0615756549, 0.0749668255, 0.0072575598, -0.0022557827, -0.019351311, 0.0340426452, -0.0112043079, 0.0265176464, -0.0035485055, -0.0811837465, 0.0081831971, 0.0118192015, -0.0098107709, 0.0373450704, -0.0170257464, -0.030002242, -0.0163447987, -0.0191533305, -0.0231048074, -0.0303939208, -0.0681384802, -0.0009381653, -0.0187477358, 0.0575981736, -0.0095640877, 0.0634114668, -0.0056084301, 0.0345833786, 0.0456922613, 0.0185591504, -0.0092422878, -0.0138398381, 0.038800966, -0.0498023927, -0.0044387365, -0.0451514758, -0.0069279517, -0.0083602527, 0.0601853691, 0.0030171904, -0.0196771156, -0.0260229558, -0.0200525671, -0.0122365793, 0.0051567391, 0.016069198, -0.0729318112, 0.0031438726, -0.0281907786, 0.1002875865, 0.0283571444, -0.0011762863, 0.0034722073, 0.0125301294, -0.0299902987, 0.0176979974, -0.0511219278, 0.012350115, 0.0221210457, 0.0178615581, -0.0197094306, 0.005148185, 0.1006619781, -0.0195130371, -0.0031096234, 0.0147437304, -0.0126073863, -0.0634889677, -0.0106102815, 0.0457473621, 0.0204324331, -0.0554967374, 0.0294818524, -0.0092558106, -0.0220017396, 0.0278808065, -0.0510939993, -0.0119070159, -0.0627077743, -0.0329201147, -0.0080474615, 0.0165592488, 0.0033563187, 0.0335799865, 0.0437078848, -0.0552628413, 0.0129847005, 0.0089999968, -0.0317016207, 0.0011511156, 0.0355713144, -0.0308284927, -0.0144146681, 0.0080883, 0.024429623, -0.0152697247, -0.013312785, -0.0356529318, 0.0407924578, 0.0691586137, -0.0170257371, 0.0344126783, 0.035573151, -0.0169487596, 0.0373152234, 0.020763319, 0.022242181, -0.0108588766, 0.0679504275, -0.0022260409, -0.0436177105, -0.0167932939, 0.0088029429, 0.0331787951, 0.0085981926, 0.0387384817, -0.0556735694, -0.0113250427, -0.0241625942, 0.0038867788, -0.0630568862, -0.0194693673, -0.0366180763, 0.0350037739, -0.0057518911, -0.0262919012, 0.1153512076, 0.0733619183, 0.0201925673, 0.0126786111, 0.0116444957, 0.0214499086, -0.0103219394, -0.0370233282, -0.016114926, -0.0326418392, 0.0365229547, 0.007938805, 0.0351881124, -0.0233394001, 0.0395151377, -0.07601621, 0.0372510366, 0.0047990228, -0.0323012322, 0.0030779957, -0.0153411478, -0.0057878569, -0.0010779238, -0.0211157221, -0.002572472, -0.0377645642, -0.0210831296, 0.0407338925, -0.0743580759, 0.0098904725, -0.0462442152, -0.0769114494, -0.0191769935, 0.0174789988, 0.0642461479, -0.0270932056, -0.028042281, 0.0546906479, -0.0367747881, -0.0153993685, -0.0180717558, 0.0076574334, -0.0258704275, -0.0253190268, -0.0030852028, -0.0193007868, 0.0176874548, -0.0140339164, -0.0298581328, 0.0574709103, 0.0160479452, 0.017877236, -0.0089436788, 0.0154719613, -0.0286459606, 0.0294863116, 0.0316044092, -0.0157294106, -0.0076588462, 0.0437161699, 0.026807284, 0.0054110866, 0.001654204, -0.0595054887, -0.0476101488, 0.0196103789, -0.0909572914, -0.0104609691, 0.0642267689, 0.0460018404, -0.0105378907, -0.0034188933, 0.0085665779, -0.0167628378, -0.0822430849, -0.0096771521, -0.0121644456, 0.0199283995, -0.0785364956, -0.0005291573, 0.0752637163, 0.0155064836, -0.0113705825, 0.0056659118, -0.0319649428, -0.0384558253, 0.0117454119, -0.0106826965, 0.0113788117, -0.0062906076, -0.0525721721, -0.0402703956, 0.0420521572, -0.0123453047, -0.0062025553, -0.0007222522, 0.0451593064, 0.0018265061, -0.0151031585, 0.0144958561, 0.0083638374, 0.0023325321, -0.000441382, 0.0274170227, -0.0069282246, 0.033877857, -0.0183228496, 0.0225097761, 0.0721594393, -0.0558704548, 0.0414076932, -0.0514545515, -0.0099604046, -0.0159804318, 0.0130310096, -0.0132646458, 0.0138783781, 0.0408116542, 0.0050859209, -0.0468255244, 0.0380460471, -0.0744549111, -0.0038687561, 0.0655587241, 0.0559632927, 0.0226545818, -0.004870113, -0.0041961907, 0.016482925, 0.0116893984, -0.0383338854, -0.0319937021, -0.0179105978, -0.0543157309, -0.0009897156, -0.0427570418, 0.0007110363, -0.0836665854, 0.0630277917, 0.0040940573, 0.0411608554, -0.0241997913, 0.0877810568, 0.0299079306, -0.059560962, 0.0134640113, -0.0011675053, -0.0184144676, 0.0141361551, 0.0448543169, -0.0194959622, -0.0248175059, 0.0240253564, 0.035218671, -0.0543557182, -0.0010252593, 0.0073288935, 0.0144066401, 0.0233700071, 0.0274815299, -0.0101285363, -0.0183645245, 0.0075884899, 0.0246017128, 0.0415431261, -0.0584862791, -0.0071486244, -0.0608754754, -0.0759793967, -0.0096344063, 0.0455860645, 0.0063881055, 0.0308418889, 0.0154550476, 0.0432519875, 0.0213551912, 0.0049938532, -0.0224522576, 0.0021277424, 0.0246895663, -0.0363078341, 0.0364468805, -6.202841244e-33, -0.0083620381, -0.0292413402, -0.0434990115, -0.0264347568, -0.0158590488, 0.0425565653, -0.0155782811, 0.0200647488, 0.0142181115, -0.0118406871, -0.0281124134, -0.0118953036, 0.0371859446, -0.0137673132, -0.0053318664, 0.0119320462, 0.0381897166, -0.0354934223, 0.0047658496, -0.0263944436, -0.0025222646, 0.0428538062, 0.0744947642, 0.0197072718, 0.0277399663, -0.0052784039, 0.0027339468, 0.0279558543, 0.034188427, 0.0489775203, -0.0548597351, 0.0307812821, 0.0038454642, 0.0147280907, -0.0046217819, 0.01138872, -0.0951444432, -0.0148231378, 0.0562021099, 0.0107008833, -0.0407112874, -0.0016001161, 0.022864718, -0.0154005401, 0.0058957175, 0.0262875129, 0.0105024483, 0.0005552183, -0.0230121799, 0.0147011718, -0.1142539755, 0.0344255865, 0.0106680915, 0.0027769632, 0.1257489026, -0.0706505477, 0.0416792966, -0.0292190667, 0.0223027673, 0.0106543908, 0.0186586902, 0.0203847401, 0.0565915368, 0.0293887202, -0.0229668096, 0.051906772, 0.0540636517, -0.0402530991, 0.0730569959, 0.0364327133, 0.0421302579, 0.0358145684, 0.0131527651, -0.000186875, 0.0424203947, -0.0075988313, -0.0225709565, -0.0160785131, 0.0414076596, -0.002206417, -0.0102514038, 0.061965365, -0.0569759421, -0.0135263456, 0.0304808356, -0.0863594487, -0.0121401018, -0.0155775528, -0.0205128547, 0.0055591799, -0.0746625662, 0.0311850682, 0.0479929112, -0.0071420521, 0.0038440193, -0.0274812486, 0.0079998514, 0.0457027256, -0.0367097221, 0.0312854089, -0.032262668, -0.0493185557, 0.00397225, 0.0106850406, 0.0189241841, -0.0051517631, -0.0147107001, -0.005578144, -0.0438480414, 0.0147685008, -0.0067484681, -0.0137124639, -0.0407319069, 0.0640787408, 0.0398165509, -0.0070243892, 0.0075355601, 0.0289450884, 0.0675730482, -0.0030312373, -0.0043829349, -0.0033523689, -0.0309101846, 0.0386090651, -0.0392120034, 0.0247901212, 0.0070859976, 0.0112402951, 0.0246569142, -0.0339656696, -0.0278974324, -0.0065922872, 2.75e-7, 0.0440015905, 0.0688881427, 0.0790374354, -0.0386142246, -0.005652348, -0.010577647, 0.0038019519, 0.0123290271, -0.0281493235, -0.0129922992, 0.030421, -0.0229392778, 0.0336939655, 0.0150074866, -0.0889843181, 0.0131473932, -0.0193805378, -0.0038834745, -0.056235522, -0.0194456801, 0.0424000993, 0.0762395561, 0.0010765517, -0.0042113261, -0.0398352891, -0.0203577224, -0.0164128505, -0.0248725284, -0.0391035303, -0.0022341986, 0.0251592863, 0.0566388704, -0.0259105805, -0.0093949437, -0.0223279949, 0.0101983761, 0.0803570896, 0.0332240723, -0.0352499448, 0.0626327321, 0.0271180887, -0.0343498886, 0.0150454519, -0.0150152929, 0.073998481, 0.0212862045, 0.0146952374, -0.0340885296, -0.0009563676, 0.019964302, -0.0032009659, -0.0314977914, -0.0505589843, 0.0408947952, 0.0421485528, 0.0002398967, -0.0582226254, -0.0426831841, 0.0181773081, 0.010307705, -0.0328509137, -0.0321953893, 0.0272793509, 0.0305177327, 0.0313970409, -0.0158475135, -0.0595831238, 2.65439711e-34, 0.0410889685, 0.0196374562, -0.0045679533, 0.0427266806, 0.053273499, -0.0117262043, -0.0086307731, 0.0086507807, -0.0405936465, -0.0320557319, -0.0099407192 ]
http://arxiv.org/abs/2406.13556v1
http://arxiv.org/pdf/2406.13556v1
Evaluating Short-Term Temporal Fluctuations of Social Biases in Social Media Data and Masked Language Models
2024-06-19T13:45:21
2024-06-19T13:45:21
Yi Zhou, Danushka Bollegala, Jose Camacho-Collados
cs.CL
cs.CL
Social biases such as gender or racial biases have been reported in language models (LMs), including Masked Language Models (MLMs). Given that MLMs are continuously trained with increasing amounts of additional data collected over time, an important yet unanswered question is how the social biases encoded with MLMs vary over time. In particular, the number of social media users continues to grow at an exponential rate, and it is a valid concern for the MLMs trained specifically on social media data whether their social biases (if any) would also amplify over time. To empirically analyse this problem, we use a series of MLMs pretrained on chronologically ordered temporal snapshots of corpora. Our analysis reveals that, although social biases are present in all MLMs, most types of social bias remain relatively stable over time (with a few exceptions). To further understand the mechanisms that influence social biases in MLMs, we analyse the temporal corpora used to train the MLMs. Our findings show that some demographic groups, such as male, obtain higher preference over the other, such as female on the training corpora constantly.
[ 0.0509590209, 0.091410853, -0.0504026525, 0.009390776, -0.0106955571, 0.0194852576, 0.0489834882, -0.0015668356, 0.029877672, -0.0712631419, 0.0138719361, -0.0615992285, 0.0275840443, 0.0260563511, 0.0139841037, -0.0558151305, 0.0517780222, 0.0318506472, 0.0109651135, -0.0760664493, 0.019395873, 0.0206597205, 0.0401246808, 0.0224045478, 0.0066170911, 0.003325311, 0.0462272912, -0.0272973198, -0.0003443644, -0.0092307264, 0.051255472, 0.0762384087, -0.0085059628, 0.0580962524, 0.0000017634, -0.0695887879, -0.0065215132, -0.0135236038, 0.0014243309, -0.0004993678, 0.0731405243, -0.0248854551, -0.0149786798, 0.025662683, -0.083723031, 0.0012820206, 0.0146512985, -0.0147298332, 0.0242820494, 0.036808297, -0.0195354111, -0.031943541, -0.0544286892, -0.0331713147, -0.0266292188, -0.0051342673, 0.0565900207, -0.0647957847, -0.0559255145, -0.0194222983, 0.0044361306, 0.0196804553, -0.0070626857, 0.0171170086, 0.0359704755, 0.050877925, 0.0053609037, -0.0167509131, -0.0097628618, 0.0268011354, 0.0024242075, -0.0357360877, 0.0154565722, 0.0046196734, 0.0059637628, 0.0310928579, -0.0111368028, 0.0081253732, 0.0141507164, 0.0342381708, 0.0049686106, 0.0171037894, 0.0400783829, 0.0652161613, -0.0105355782, 0.0791355669, -0.0026206989, -0.0388397872, -0.0161635783, 0.0184067357, 0.0450486876, -0.0565913208, 0.041469451, 0.0050788186, 0.0283175949, 0.0157755744, -0.0564263016, -0.0242264196, 0.0187256541, -0.0891374946, -0.0164549425, 0.0017475779, 0.008812842, 0.0242260862, 0.0062588062, 0.0043547493, 0.0208192337, -0.0103588682, 0.0063358927, -0.0143704871, -0.0197818466, -0.0070683635, 0.0221970621, -0.0092976801, 0.004280901, 0.0579790138, -0.0500068665, -0.0119120441, -0.0438186452, -0.0082110474, -0.0413466282, -0.0050171074, -0.0273935944, 0.0057424796, -0.0471361838, -0.0182490982, -0.0203406475, 0.0102117658, -0.0563317798, -0.0627117828, 0.0212955344, -0.0221981667, 0.0287620407, -0.0469069518, -0.0086157816, 0.0163152684, -0.0151558826, -0.0158739351, -0.0351694115, -0.0210112538, -0.000242544, -0.0280352663, -0.0218466166, -0.0321065411, 0.0341945179, 0.0447243303, 0.0097977426, -0.0196486078, -0.0181640312, 0.0429439805, -0.0809839442, 0.0599250793, 0.0285230968, 0.0317755044, 0.0532611124, 0.0025585878, 0.0257747322, 0.0982198268, 0.0297893714, -0.0163565893, 0.0519640557, -0.0311777908, -0.0045288745, 0.0470039509, 0.0340050273, 0.0317194834, -0.0503838956, -0.0068122111, -0.0075936504, -0.0283658784, 0.0550657921, 0.0234155636, 0.0275530946, -0.0565498546, 0.0574428365, 0.0471426472, -0.0119797625, 0.0202933252, 0.0104222493, 0.0084146941, 0.0018585625, 0.0112730702, -0.0627069548, -0.0189766884, -0.0449736752, -0.0567480214, -0.041238483, 0.056665916, -0.0069419076, 0.0018253222, -0.0120795332, 0.013710239, 0.0747351646, -0.000177987, 0.0224180333, -0.0067704013, 0.01147178, 0.0727601573, 0.050770171, -0.0025702955, 0.0077764075, -0.0176046658, 0.0131677035, 0.0374083258, -0.0249666441, -0.0034518137, 0.0198950134, -0.023501439, -0.0028682672, 0.031208992, 0.0655889362, -0.0064309197, -0.0022653323, -0.0214055683, 0.0120045291, 0.0595135018, 0.0118299546, 0.0140421465, 0.0655504242, 0.0643480569, 0.0017458848, -0.0059336517, -0.0439666919, 0.0300580002, -0.0146142012, -0.0076870914, -0.0192738231, 0.0046146931, 0.0430336893, 0.0255348496, -0.0122390809, -0.0296099428, -0.0140737584, 0.0083855446, -0.0066940091, 0.0352050923, -0.0589914955, -0.0079327244, 0.0326845534, -0.0026002037, -0.0582942702, 0.0741810873, -0.0333387554, 0.0003375969, 0.0808364749, 0.0112980204, 0.0676878542, 0.0017214294, -0.0155914323, -0.0484118611, 0.0601034388, -0.0218228903, 0.0318074487, -0.0407165065, -0.0244653225, -0.0204966534, -0.0289628115, -0.0090112025, -0.0367213525, -0.0031028087, 0.0103111528, 0.0061904732, -0.0255669616, 0.0172990914, -0.0383600965, -0.0480500869, -0.0204532333, -0.0738890171, -0.0421742685, -0.032833185, -0.0335252956, -0.0046197642, -0.0092632016, -0.0385791957, -0.0256033801, -0.0352091566, -0.0087609934, 0.0124531966, 0.0424101166, 0.0105622075, -0.0298657436, 0.0163828302, -0.0591599643, -0.0364669114, -0.0411971882, 0.0690720305, 0.0298322979, -0.0781879351, -0.0112177255, -0.013842281, -0.0556080043, 0.0451071151, -0.0279120002, -0.0143015785, 0.0068024695, 0.0249517672, 0.0420615189, 0.0614878796, 0.0607791133, 0.0483931974, 0.0624474585, -0.0054077888, -0.0591182411, -0.0250582602, -0.0164753422, 0.0132178161, -0.0348634198, -0.0726282746, -0.0085952543, 0.0624785274, 0.0277418885, -0.0145602757, -0.0374614, 0.051245939, -0.0584759302, -0.0528733693, -0.002808169, -0.0123000834, -0.02201996, 0.015415757, -0.0505418666, -0.0846217573, 0.0416893922, 0.0326459073, 0.0130325817, 0.0153726712, -0.0501362793, -0.0288424455, 0.021390805, 0.0363331325, 0.0114648761, 0.0316369273, -0.0172519796, -0.0486050099, -0.0299255401, 0.0217809658, -0.0367692672, -0.0111105377, -0.0121635925, 0.0205305684, 0.0285971556, -0.0142182782, -0.0331418291, -0.1096004173, -0.0466824658, -0.0326529555, -0.0020448503, -0.0250100624, 0.0060948175, -0.0085998429, -0.03214119, -0.0104549183, -0.0258987825, 0.0021224243, 0.0100797564, -0.0175055899, 0.0438080318, 0.0018429811, 0.0254476313, -0.0441642255, 0.0083363885, -0.0112343282, 0.0597361177, -0.0104027214, -0.0207077526, 0.0147018479, 0.0260823388, -0.0173786506, -0.0106305722, 0.0063323253, 0.0354996808, -0.018203469, 0.0432840362, 0.1017255634, 0.0110133113, -0.0448060371, 0.0143303722, 0.0082863225, 0.0267845336, 0.0296166725, 0.0160022639, -0.0769132972, 0.0387555733, 0.0126898754, 0.0317836925, -0.0343089923, -0.0383760408, -0.0397242233, -0.121818766, -0.0089031095, 0.0210069939, -0.0357171819, 0.0243579634, -0.0245192442, 0.0122673996, -0.0260506012, 0.0375159904, -0.0288882125, -0.0017508079, 0.0040238271, 0.0202142298, -0.0696502104, -0.0546106771, 0.025909001, -0.041004926, 0.0712350905, 0.0056823958, 0.0460311286, -0.0281671099, -0.0252767392, 0.0451378152, 0.0485198461, 0.0052551283, -0.0633821413, 0.0583981872, -0.0501729362, -0.0081765279, -0.0081236437, 0.0184163041, 0.0091430666, 0.0090220217, -0.0200281423, 0.009581333, 0.0333387479, -0.0728472471, -0.0238275472, -0.0038635652, 0.0042427853, 0.0657117739, 0.0097600454, -0.0386432111, 0.0128245596, -0.0545562357, 0.0253091007, 0.0087351771, -0.0565445051, -0.0030587481, -0.0172550734, -0.036956612, -0.0157543961, -0.0502936207, -0.0089753512, 0.0164203811, 0.0076856087, -0.020968698, 0.0584172793, -0.0263557173, -0.0537099317, 0.0401120856, -0.0228665788, 0.0336555317, 0.0080749206, -0.0545450076, 0.0053502242, -0.0201182924, -0.001273283, -0.025790384, -0.0746040568, -0.0604752526, 0.0784684047, 0.0135364439, 0.028488135, 0.0731669366, 0.0051246653, -0.0977784991, 0.0790899768, 0.0170984156, -0.0111902552, 0.0422243662, 0.0249079596, 0.0162025727, 0.0192247368, 0.0331465676, -0.0228099041, 0.0202014092, 0.0230861846, -0.0484028831, -0.0583358146, 0.0082886275, -0.0180960428, -0.0239654928, 0.0588341169, -0.0185394716, 0.0040825144, -0.0287616327, -0.0504501499, -0.0103188343, -0.0426985882, 0.0101389596, -0.0475665666, 0.0236661732, 0.0379539058, -0.0463766642, -0.0253839362, -0.0371814743, 0.0144369183, -0.0431258716, 0.0252270866, -0.0065305098, 0.0348330624, 0.0277719013, 0.037208911, 0.0185672548, 0.028475197, -0.0213030186, 0.0163534526, 0.0427939482, 0.0026176728, -0.0023542002, 0.0100862747, -0.0156401694, -0.0111196628, -0.0515742265, -0.0022503026, 0.0087196529, -0.0370772295, 0.031441804, -0.0596941225, 0.0734732822, 0.0265500322, 0.0035641075, 0.0120326448, -0.0064717694, -0.0077533885, -0.0392808765, 0.029100975, -0.0189425778, -0.0370158404, 0.0721036717, 0.0829406157, 0.0460294858, 0.028180059, -0.0038969829, -0.0431822352, 0.0063946126, 0.0138198016, 0.0174317993, 0.0087168952, -0.0046637557, -0.0293851588, -0.0727073103, -0.064850688, 0.0224301703, -0.0490901135, 0.036079593, -0.0019249873, -0.004018418, 0.0531399734, -0.0210411083, -0.0105088474, -0.0317204669, 0.0287887249, 0.0285012722, -0.0376725197, -0.0215809736, -6.519958028e-33, 0.0082455203, -0.0383478701, -0.0407893024, -0.0072446363, -0.0137327947, 0.0075605274, -0.0299682319, 0.0122285681, -0.0072485283, -0.0040286519, -0.0226262473, 0.030782694, 0.0312612057, -0.0118667316, 0.0241639372, -0.0140349632, 0.0471716523, -0.0251529198, 0.0076797828, -0.0332190953, -0.0008642233, 0.0430811606, 0.0407096893, -0.0664629787, 0.0748251826, 0.0217895377, 0.0062619913, 0.0078566559, 0.0273454152, 0.019960789, -0.0215284973, 0.0574364699, 0.0342090651, -0.0184656419, -0.0125769228, 0.0543756336, -0.0471666679, -0.0322752073, 0.0039975084, 0.0396217816, 0.0225117896, -0.015210052, 0.0378510095, 0.0001226728, -0.072948575, 0.0183507986, 0.0538326465, 0.010258982, 0.0322352313, 0.0180374999, -0.0093223918, 0.0449631847, -0.0099055814, 0.0482540205, 0.0006516769, 0.0157280266, 0.0393822305, 0.0308407992, -0.0670358241, 0.0422687866, -0.0026320983, -0.0187343247, 0.0474245362, 0.0390680134, 0.0374173969, 0.0533741415, 0.0679225326, 0.0886339098, -0.0211170278, -0.000423658, 0.0713239983, -0.0432349145, 0.0066617411, 0.0335287973, 0.0300460458, -0.0571562201, -0.0106809055, -0.0241621435, 0.0458270088, -0.018784469, 0.0337442867, -0.0008860836, -0.0476947464, -0.0602437556, -0.0255700275, -0.0614484176, -0.0120644681, 0.0013736547, -0.0049698856, 0.0179107282, -0.033538729, 0.0189211965, 0.0232495517, -0.0473335795, -0.0909115449, -0.028261954, -0.0225569271, -0.0135323433, 0.0276875254, 0.021096671, -0.0644038245, 0.0105574233, -0.0056078457, 0.0207584631, 0.0070845997, -0.0166399498, -0.0171728376, 0.0298917685, -0.0566728562, 0.0006237761, -0.0003858909, -0.0052634603, 0.0190306585, -0.0099198101, 0.048443716, 0.0122127188, -0.0038068728, 0.001999462, 0.0611731894, 0.0177594647, -0.0272068474, 0.0010156559, -0.0142833069, 0.0391857401, -0.0263893604, -0.0271606892, -0.0045699244, 0.0302234124, 0.0734315291, -0.0130840093, 0.0010767739, -0.0595516153, 2.399e-7, 0.0011940299, 0.0852594525, -0.0306072328, 0.0302573349, 0.0441341773, 0.0275763702, 0.0331841521, 0.0383666679, 0.0335775688, -0.0044722478, -0.0571101904, 0.0284498092, 0.0287821386, 0.0318212509, -0.0315858498, -0.0361358449, -0.0690198615, 0.0073237801, -0.0298318341, 0.016544845, -0.0338710658, 0.0614833646, 0.0736165941, -0.0108419778, -0.0554871745, -0.0379600599, 0.0487684757, -0.030064106, -0.0133753335, 0.0122623444, 0.0266774539, 0.0181155913, 0.0074801007, 0.0123765878, -0.0200583413, 0.046220053, -0.018051587, -0.0121932076, -0.0054272148, 0.0218085162, -0.007914301, 0.0036401711, -0.053021457, -0.066121161, 0.0634425133, -0.0098442165, -0.0410082377, -0.0731099099, -0.0103118727, 0.0016093791, 0.0479849502, -0.0105532706, -0.0451163463, 0.0216515753, 0.0264022592, -0.0124043217, -0.0338629484, -0.0831341669, -0.037079107, -0.0255306195, -0.0287452303, -0.0281980466, 0.0000457646, 0.0424254537, 0.004679665, 0.0022625348, 0.0478555523, 1.92678631e-34, 0.019086875, 0.0085095614, -0.0027346897, -0.027775798, 0.0387940258, 0.0210175794, -0.0101029836, 0.0123702222, 0.05799032, -0.0240958072, 0.0193081629 ]
http://arxiv.org/abs/2406.13555v1
http://arxiv.org/pdf/2406.13555v1
BiLD: Bi-directional Logits Difference Loss for Large Language Model Distillation
2024-06-19T13:44:56
2024-06-19T13:44:56
Minchong Li, Feng Zhou, Xiaohui Song
cs.CL
cs.CL, cs.AI
In recent years, large language models (LLMs) have shown exceptional capabilities across various natural language processing (NLP) tasks. However, such impressive performance often comes with the trade-off of an increased parameter size, posing significant challenges for widespread deployment. Knowledge distillation (KD) provides a solution by transferring knowledge from a large teacher model to a smaller student model. In this paper, we explore the task-specific distillation of LLMs at the logit level. Our investigation reveals that the logits of fine-tuned LLMs exhibit a more extreme long-tail distribution than those from vision models, with hidden "noise" in the long tail affecting distillation performance. Furthermore, existing logits distillation methods often struggle to effectively utilize the internal ranking information from the logits. To address these, we propose the Bi-directional Logits Difference (BiLD) loss. The BiLD loss filters out the long-tail noise by utilizing only top-$k$ teacher and student logits, and leverages the internal logits ranking information by constructing logits differences. To evaluate BiLD loss, we conduct comprehensive experiments on 13 datasets using two types of LLMs. Our results show that the BiLD loss, with only the top-8 logits, outperforms supervised fine-tuning (SFT), vanilla KL loss, and five other distillation methods from both NLP and CV fields.
[ 0.0283151101, 0.0500716902, 0.0098488489, 0.0539850257, -0.0008072431, 0.0216275156, -0.0199535619, -0.0064663817, -0.0200705621, -0.0323014855, -0.0172623619, -0.0250357036, 0.0017259454, 0.0111561427, 0.0349221267, -0.0322075151, 0.0223014988, -0.0637208298, -0.0098069292, -0.0047303787, 0.0009252038, 0.0186034702, 0.0003286703, 0.0209556054, 0.0457874462, -0.0137088317, -0.0040849452, 0.0129615972, 0.0450007208, 0.0093825273, 0.0405925326, 0.0433451869, 0.0378377028, 0.0124976616, 0.0000022534, -0.0510747917, 0.014502232, 0.0023710534, -0.0522160977, 0.0383326411, -0.0042225285, -0.0009149403, 0.0092554856, 0.0061843242, -0.0157524124, -0.0007629893, 0.052281905, 0.0153049063, 0.0535932705, 0.0462723784, 0.0192623138, -0.0724373385, 0.0289318506, -0.041607365, -0.0091493707, -0.0343501084, 0.0357376598, -0.0063250316, -0.0485905595, -0.0247243438, -0.030046571, 0.0358344279, -0.0010057939, -0.001660464, -0.0065067341, 0.0285406969, -0.0393229872, -0.0349642299, 0.0049112514, 0.0749864802, -0.0512278117, -0.0001053263, 0.0245889183, -0.0100262901, -0.0035196273, -0.0457029194, -0.0286069009, 0.0179598127, 0.0213566646, 0.034842588, 0.0066304859, -0.01259665, 0.0231908318, 0.0346993953, -0.0327565596, -0.023568863, 0.0013729576, -0.0224705283, 0.0342557542, 0.0236495063, -0.0682813302, -0.0131779872, 0.0158853829, 0.0074850628, 0.0017260757, -0.00850322, -0.0188432746, -0.0155575471, -0.0105743604, 0.0095425723, 0.0451893434, 0.0034180186, 0.0097610839, 0.0418144949, -0.0063895248, 0.0690739155, 0.0211849231, 0.0736846924, -0.0138541181, 0.0052692043, -0.0801678002, 0.0033624643, -0.0090297507, 0.0079366527, -0.0357337035, 0.0135273198, -0.015362801, -0.0136748012, -0.0449085161, -0.0240347274, 0.0723157674, 0.0168603249, -0.0357726887, -0.0044547841, -0.0150336325, 0.0944569409, -0.0077593164, 0.0030283611, 0.0286899693, -0.0376275033, -0.0361387618, 0.0061100563, 0.0050224755, -0.0195366424, 0.0061737527, 0.0310217049, -0.0217281636, -0.0546873137, -0.0247245226, -0.0112913307, -0.0456553362, -0.1004984975, -0.0037739477, -0.0738417581, 0.0598432422, -0.0129252262, 0.0185932741, -0.0725139678, 0.0124421716, -0.0244856328, -0.0159379113, 0.0488589965, 0.006814226, 0.0193143245, 0.0077960542, 0.0232068077, 0.0060768179, 0.0842777342, 0.0228277929, 0.0278029963, 0.0192676075, 0.0093547115, -0.0245683491, 0.0206376165, 0.0153377308, 0.0314777978, -0.042933587, -0.0255043972, -0.0330758952, 0.006171653, 0.0667895526, 0.048245959, -0.0565242991, 0.0008520066, 0.0878689364, 0.00186054, 0.0751402304, -0.0189311188, -0.0003520431, 0.0303455889, 0.0052679032, 0.0090006739, -0.0504793189, -0.0274145119, 0.0180736277, -0.0181733314, 0.061245285, 0.0644511208, -0.0264300965, -0.0462043695, 0.0150236394, -0.0127789117, 0.008954512, 0.0051728035, 0.0481842197, 0.0285759922, 0.0154373758, 0.0771959201, 0.0612876378, -0.0334940329, 0.041745849, -0.0538928807, -0.0360872857, 0.0581408441, 0.0153799755, -0.0195002928, -0.0001485222, -0.0095098792, 0.0155277755, -0.0010039493, 0.0327723511, -0.0192817822, 0.0782610327, -0.0606601313, -0.0314988978, 0.0034242061, 0.0260193497, -0.024741089, 0.0165794548, 0.0234474391, 0.036473643, -0.0802225322, -0.0408872738, 0.0229946356, -0.0342933983, -0.0608654842, -0.0142566729, 0.0068401354, 0.0046269568, -0.0048744455, -0.0175210349, -0.0031564326, 0.0258947685, -0.0301825423, 0.0133164693, -0.0593053289, -0.0135178892, -0.0750631914, 0.0465129763, -0.0184186846, 0.0207769722, 0.0768979862, -0.0790321305, -0.0239234474, 0.0012672393, 0.0167326573, 0.0194681045, -0.0117165428, 0.0408310592, 0.0347578004, 0.0121232206, -0.0410384983, 0.035061039, -0.0254846141, -0.0031060912, -0.0313019529, -0.0314552039, -0.0436096378, 0.0107800169, -0.036706496, 0.0447026975, -0.0359520465, 0.039828416, 0.0089575667, 0.0076048933, -0.0348705202, -0.0523602366, -0.0337213613, 0.0251114722, -0.0469587743, 0.0238711312, 0.02142681, 0.0196811631, 0.013331838, -0.0063457713, -0.0148426509, -0.030860072, -0.0181142148, 0.016736716, -0.0001172296, 0.0178425182, 0.0034703249, -0.0197857376, -0.038792491, 0.0265653245, 0.0302617569, -0.0574772954, 0.005485089, -0.0634696707, 0.0552848428, -0.0329674445, 0.0254672337, -0.000820905, -0.0316994563, -0.0067313723, -0.0253598336, 0.0405604057, 0.0593794473, -0.003609892, 0.0340336896, 0.0700578168, -0.0325770639, -0.0609945245, 0.0078080203, -0.0120638199, -0.026846027, -0.0422498733, -0.0084419344, -0.0389745608, 0.0647921711, -0.0262986161, -0.0157226026, -0.0310945679, 0.0018838057, -0.0051655094, -0.0287334025, -0.0430167094, 0.0253623649, -0.0298248548, 0.0069490373, -0.0268106163, -0.029972313, 0.0316281542, -0.015931353, 0.0236097015, -0.0555343516, -0.0159944911, 0.0000332241, 0.0464422293, 0.0015218578, -0.003775879, -0.0143341767, 0.0021611312, -0.0824554563, -0.0137856789, 0.0252667777, -0.0488242917, 0.0631276518, -0.0728054494, -0.0172067098, -0.0444959253, -0.0193760488, -0.0198252518, -0.0262271203, 0.0077186027, 0.0205432251, 0.0360232703, 0.0040098238, -0.0365774259, -0.0331657492, -0.0030948706, 0.0399429314, -0.0001374044, -0.0008410558, -0.0397976711, 0.0389208831, 0.0480322503, 0.0197894666, 0.0185935926, -0.0256908443, 0.026389502, 0.0669589788, 0.0486849248, 0.0034113284, -0.0101656169, -0.0375096165, 0.0423322991, 0.000449695, -0.0239409078, 0.0132809151, 0.0840234607, -0.0894534886, -0.0031635365, 0.0822839215, -0.0003284364, -0.028166296, 0.0006437976, 0.0729562193, 0.0741693005, 0.0051192152, -0.0209142249, -0.0668046921, -0.0471032895, 0.0078200391, 0.0312544554, 0.023165619, -0.0169891175, -0.0241566822, -0.0928999484, 0.0088240262, 0.0397650711, 0.0168571081, -0.0419025384, -0.0305523276, 0.0063928738, -0.038283959, 0.0243434869, -0.0048518376, -0.0208668429, -0.0028808287, 0.0454644673, -0.0143856974, -0.0810907334, 0.0157442875, -0.0359400101, 0.0327900834, 0.0310480427, 0.035827402, 0.0171269998, -0.0267592371, 0.0248388126, -0.0396559909, -0.0068930807, 0.0116664777, 0.0732129514, 0.0003408957, -0.0155153619, 0.0162279606, 0.015846001, -0.0339162834, -0.015440546, 0.0056086257, 0.0247103609, 0.008441844, -0.0460461453, 0.0096892053, -0.0288613569, 0.0038793881, 0.0709475279, 0.0319494046, -0.0332648605, -0.0599167421, -0.0066748722, -0.0057194722, -0.0042175022, -0.0229415372, -0.0040772841, -0.0165974572, -0.0328975469, -0.0363077335, -0.0101345042, 0.0121651161, 0.0158080906, -0.0195566379, 0.0039062607, 0.0145226084, 0.0177013688, -0.0525239259, 0.0279586874, -0.0418367423, 0.0185138676, -0.058128424, 0.0068167597, 0.001982217, 0.0073090158, -0.0410813652, 0.03658209, -0.1520191133, -0.0987121686, 0.0199316069, 0.0024398353, 0.0157623328, 0.0669685379, -0.0122115863, -0.0743910819, 0.0306368507, 0.0398730002, 0.0083865095, 0.0388443656, 0.0411394015, -0.0313484669, -0.0035656381, 0.0518723838, -0.0329550989, 0.0237089042, 0.0337231345, 0.0420695618, -0.0152801648, -0.0256215837, -0.0234739278, 0.0254209638, 0.0775022656, 0.0080358582, -0.001512213, -0.0393200628, 0.0300195497, 0.0451803133, -0.0002475654, -0.0375223905, -0.0081999879, 0.0629018471, 0.000754141, -0.0081009464, 0.0568895452, 0.0516533293, 0.0002160848, -0.0766063854, 0.005641697, -0.0076792012, -0.0082120616, 0.0620471239, 0.0138369473, -0.0154614989, 0.0357801467, 0.0367555991, 0.0336455368, -0.0325611979, 0.0426320769, 0.0135360761, 0.0265893396, 0.0000701924, 0.046863351, -0.0558804721, -0.0660854504, -0.0444896668, -0.0046617682, 0.0146963419, -0.0070541459, 0.0693857521, -0.0021061832, -0.0189583972, -0.0391022339, -0.0104942098, -0.0182060432, 0.0474668555, 0.0204906054, 0.0184669625, 0.003239959, 0.0320725851, 0.088646166, 0.0292031318, 0.0484988391, -0.0123451026, 0.021283254, -0.0120227644, -0.0414022021, -0.000335392, 0.0235957168, 0.0265643485, 0.0091969827, -0.0002736744, -0.0550778173, -0.0186333805, -0.0514937565, 0.0013533125, -0.0252142083, 0.0273245331, 0.0217609182, -0.0304572731, -0.0189821385, -0.0245105699, -0.0526379198, 0.0347069874, -0.0266192276, 0.0021053087, -7.013034562e-33, -0.0095298616, 0.0436360314, -0.0122850146, 0.0062548942, -0.0433219709, 0.0122621935, 0.0096645709, -0.0096458709, -0.0538240336, 0.0362923965, -0.0017506998, 0.0316876471, 0.0303900354, 0.0395229161, -0.009454878, -0.0260569695, 0.0924777538, 0.0053993436, -0.0123473508, 0.0417136736, 0.0317737199, 0.0295104254, 0.0650716871, -0.0649661198, -0.0036117951, -0.0019825411, -0.0159980245, -0.0004566416, -0.0207316019, 0.03797438, -0.0250822827, 0.0914157405, 0.0163971353, -0.0300075077, -0.0564180911, -0.0107498243, -0.0736333281, -0.0237768311, -0.0033864384, -0.0028441949, -0.0198266078, -0.0220667962, 0.0652530864, 0.0129646352, 0.0098169195, -0.0672230199, 0.0140719935, -0.0232456159, -0.0279141963, -0.0343215056, -0.0236234292, 0.0196190178, -0.0258172192, -0.0666545108, 0.0559301972, -0.0164242778, -0.0109909205, 0.0031514051, -0.0974011645, 0.015804993, 0.06250754, 0.0966470242, 0.0472120009, 0.0299840067, -0.0312686451, 0.0558689535, 0.0171206091, 0.0019608748, 0.0084009869, -0.0682129562, 0.0468555279, 0.0855034292, 0.0104226395, 0.0169960354, 0.0730397552, -0.0180156082, -0.0636672601, -0.0213363506, -0.0323734283, 0.0455844291, 0.0086201131, 0.0201891456, -0.0049225809, -0.0485266708, -0.0616767108, -0.0318816118, -0.0200777836, 0.02876186, 0.0510398597, 0.0349343941, -0.0352711529, -0.0138633726, 0.0058009573, -0.0745656714, -0.0038323496, 0.0360076092, -0.0119041018, -0.0009604234, 0.0030970953, -0.0319174044, -0.0781107545, -0.0226186663, 0.0250572171, 0.0165942572, -0.0036141984, -0.0108872754, 0.0357217565, 0.0241302736, -0.0439808778, -0.0022855736, -0.0448651351, 0.0202208385, 0.0188396387, 0.0512616746, 0.0296905208, -0.0293750297, -0.0098692542, 0.044235684, 0.0467756428, -0.0200037695, -0.0015189138, 0.0194327962, 0.0395324193, 0.0362902582, -0.0131961899, 0.0157849491, -0.0143148601, -0.043259941, 0.055513747, -0.0111685451, -0.012136722, -0.0241756681, 2.904e-7, 0.0285503101, 0.0319450274, -0.0012759365, -0.0387938321, 0.0156568009, 0.0240177661, 0.0053413017, 0.0024335284, 0.0195613131, -0.0420201719, -0.021393735, 0.0508770309, 0.0586498156, 0.0072779367, -0.0517244041, 0.0163554084, -0.0484524071, -0.0057330239, -0.0193683505, -0.0636596605, 0.042864453, 0.0677589402, 0.0103057632, -0.0234231092, -0.0149175543, -0.0204299968, 0.017711632, -0.0132115744, 0.032402698, 0.0411928035, 0.0307955258, -0.0088753188, 0.0140580526, 0.0123363407, -0.0458213538, 0.0157385115, 0.0177626144, 0.0905812308, -0.0295095891, -0.0029343863, -0.011573622, 0.0256758295, 0.0009240487, -0.0447848625, 0.0709677562, -0.0550497063, 0.0106958142, -0.045105055, -0.0263863299, -0.0280850586, 0.0517905876, -0.0189259015, 0.0132380258, 0.0195474885, -0.0097757028, -0.0011669275, -0.0606787838, -0.1074193493, -0.009705212, 0.0092817983, -0.0121339653, -0.0607904755, -0.0318176858, -0.0280812774, -0.0040111258, -0.0193680339, 0.0004536318, 2.630874595e-34, 0.02845826, 0.0116693908, 0.0288319457, -0.0208659973, 0.0281400457, 0.0031271516, -0.0824139863, 0.0273082871, -0.0261238273, -0.0649780408, -0.0070685185 ]
http://arxiv.org/abs/2406.13553v1
http://arxiv.org/pdf/2406.13553v1
Mining United Nations General Assembly Debates
2024-06-19T13:43:27
2024-06-19T13:43:27
Mateusz Grzyb, Mateusz Krzyziński, Bartłomiej Sobieski, Mikołaj Spytek, Bartosz Pieliński, Daniel Dan, Anna Wróblewska
cs.CL
cs.CL, cs.IR
This project explores the application of Natural Language Processing (NLP) techniques to analyse United Nations General Assembly (UNGA) speeches. Using NLP allows for the efficient processing and analysis of large volumes of textual data, enabling the extraction of semantic patterns, sentiment analysis, and topic modelling. Our goal is to deliver a comprehensive dataset and a tool (interface with descriptive statistics and automatically extracted topics) from which political scientists can derive insights into international relations and have the opportunity to have a nuanced understanding of global diplomatic discourse.
[ 0.0610462613, 0.0908798054, 0.0128199384, 0.0446088985, -0.033033438, 0.0308219865, -0.0204445552, -0.0184806734, 0.0118578114, -0.0629347265, 0.0456422195, -0.0156592969, 0.0212959088, 0.0354924761, 0.0066875326, -0.0637709647, 0.0459205173, 0.01118882, 0.0854806975, 0.0205259062, 0.0202408843, 0.011865343, -0.05163344, 0.0418876223, -0.0069829114, 0.0351548195, -0.048576735, -0.0075501883, -0.0100460621, -0.0239762254, -0.0058175316, 0.0190255623, -0.0210256279, -0.0345185474, 0.0000015112, -0.0334121659, -0.0168910939, -0.0303170811, 0.0264005046, -0.001935136, 0.0981567055, -0.0196046904, -0.0386717245, 0.0360910594, -0.0670938343, -0.0012283757, 0.0316166468, 0.0367104188, 0.0597200058, 0.0712935552, -0.0237991847, -0.0454952605, -0.0243931115, 0.0122519191, -0.0614981614, -0.0105313566, 0.0178650841, -0.0236279778, -0.0604351424, 0.012267096, 0.0521928407, -0.0256376378, -0.0755376816, -0.000468926, -0.0387318134, -0.0162309743, -0.0833672583, -0.0243174154, -0.0104018031, 0.0102785723, 0.0606624894, -0.0086604077, 0.0434943214, -0.0101517225, -0.0106654819, 0.0141982967, -0.0088219801, 0.0377143398, -0.0298970249, 0.037966799, 0.0486310683, 0.0398788974, -0.0233979374, 0.0006184905, -0.0144256549, 0.0554035529, -0.0217861328, -0.0287892465, 0.0191005748, 0.0056260503, -0.0145152099, -0.0343348198, 0.0088465093, 0.000498282, 0.0106025701, 0.0390358083, 0.033254303, 0.0014112756, 0.0278687384, -0.08903642, 0.0049329759, 0.004095959, -0.0141301546, 0.0583576486, 0.0661985576, -0.0317570195, 0.0387214608, -0.003534076, 0.0116418414, -0.0251492504, -0.0633312836, -0.0036000668, -0.0091400286, 0.0332243592, -0.0407989994, 0.0070588826, -0.0271123573, -0.0027235171, -0.0022951481, 0.0396754481, 0.0129225077, 0.0095475977, 0.015822785, 0.0328657404, -0.0675103813, 0.0488433726, -0.0406823531, 0.0168150254, -0.0381939448, -0.0328194238, 0.042555213, 0.0199005175, 0.0130088674, 0.0421041846, -0.0047886795, 0.0698523298, 0.0121211121, 0.0014595815, -0.0371823534, -0.0320815034, -0.0105895419, -0.0072030826, 0.0237229038, -0.0561058, 0.049348373, -0.0067225066, -0.01331235, -0.0323419608, 0.013992955, 0.0095247682, -0.0135437492, 0.00701871, -0.0194217656, -0.0017213175, 0.0245865192, -0.0096075926, 0.0525016524, 0.0262004584, -0.0100974217, 0.0052525722, 0.0718856081, -0.019237062, 0.0012014313, 0.0065987767, -0.0381018706, 0.0270491615, -0.0200254451, 0.0066384375, -0.0493306555, -0.0245867334, -0.0136530511, 0.037723884, -0.0037520253, -0.0386808366, 0.0108334413, 0.081626378, -0.0697420835, 0.0291288048, -0.0257240795, 0.0515305214, 0.0380598642, 0.0314727016, 0.0241363831, -0.0226703528, 0.0077055437, -0.0304517951, 0.0494810827, 0.0316028297, 0.0110499999, -0.0643795356, -0.0013603145, -0.0008945037, 0.0370622575, -0.0275173467, 0.0309406724, -0.003535863, -0.0462651774, -0.0180728082, 0.0744621083, -0.0872156993, -0.0318316221, -0.0124153476, 0.0024817083, 0.0203002505, 0.0119047379, -0.0330187827, -0.0414477363, -0.0402656868, 0.0164048281, 0.0501438715, 0.0210353583, -0.0149488198, 0.0036687586, 0.0081966165, -0.0107978061, 0.0153051885, -0.0000625973, 0.0341330357, -0.0304484405, 0.0124342702, -0.0123002054, 0.023072442, -0.0424773581, 0.0472640768, 0.0312747285, -0.0033482413, 0.0118809808, -0.0011201578, 0.0605674423, 0.0610445328, -0.0041302894, -0.0264313873, 0.0327558964, -0.0054489821, 0.0201612432, -0.0043876697, 0.0147485333, 0.0238788538, 0.0334759615, -0.0591514334, -0.0177118201, 0.0081326338, -0.0124974903, -0.0195807852, 0.0725013614, 0.0108648604, 0.0134378606, -0.0024140733, -0.0018365744, -0.0149053419, 0.0039837654, -0.0332248919, 0.0514502116, 0.0199252646, 0.0148852542, -0.0197643992, -0.0565338619, 0.071042724, -0.004314417, -0.0121968389, 0.0269249734, -0.0035072169, 0.0099539841, 0.0605863221, -0.0421539322, -0.0170223173, -0.0323601328, -0.1099451333, 0.0046987846, -0.0110121192, 0.0529248379, 0.0626003891, -0.01790791, -0.0134704513, 0.0376565792, 0.0027729433, -0.0683795437, -0.0074528074, -0.0444889665, 0.0501637533, 0.0236514919, 0.0431534015, -0.0504672825, 0.0102352193, -0.0418489315, 0.0261556357, 0.0198392998, -0.0362304524, -0.005407834, 0.0137247201, -0.0241654441, 0.0310349073, -0.0353711322, -0.0538010597, 0.0346143134, 0.0104392525, -0.0184059013, 0.0316855684, 0.0628347397, 0.0801910087, 0.0257309973, -0.0400304236, -0.0001982135, 0.0051650805, -0.0498558655, 0.0617064349, -0.0290933829, 0.003223038, 0.0655908287, 0.037571609, 0.0297195073, 0.0186926052, 0.0327372663, 0.0239265747, -0.0198441874, 0.0134765767, -0.0371598899, -0.0242067818, 0.0098245405, 0.0327766314, 0.0600143895, 0.0004496727, 0.0304596871, -0.0284598228, 0.0223612245, -0.0896790549, -0.0230476614, -0.0531265959, 0.0646294951, -0.0228926204, -0.0164058115, 0.0052448339, -0.0057313824, 0.0159564056, -0.0703610852, 0.0379002839, -0.0201754998, 0.0108122481, -0.0683651417, 0.00218413, -0.0342411175, -0.0011384977, -0.0030656436, -0.0470571481, -0.0350645892, -0.0012469427, 0.034576986, -0.0332361162, -0.0264162179, 0.0214652494, 0.0370990708, -0.0239326935, 0.0265025906, -0.0014716799, -0.0024373652, 0.0174052119, -0.0082663866, -0.0227831081, -0.0093718935, 0.0367099158, -0.0362337902, 0.0472908504, -0.0751401037, 0.0275229253, -0.0342083797, -0.033445213, 0.0125245638, -0.0273118205, 0.0063390676, -0.0248078685, -0.0038579472, -0.0506430753, 0.0526341237, 0.0758386925, 0.0611991473, -0.0233883858, -0.0062481062, 0.0020981389, -0.0226612091, 0.0006434969, 0.0161435213, -0.0646895394, -0.0023085573, -0.0202187095, -0.0054612802, -0.0939464718, -0.0398533233, -0.0050334954, -0.0642040521, 0.026143223, -0.0065786359, -0.0138145359, -0.0151303448, -0.0539555065, -0.0249465406, -0.0231788047, -0.0354509056, -0.0415157527, 0.0003218652, 0.0155985989, 0.0324515961, -0.1090539247, -0.0552870035, 0.0109150149, 0.0138031123, 0.0154381273, 0.0248451307, 0.09814246, 0.0053604189, 0.0188454874, 0.0357527584, -0.0258247368, -0.0198128391, 0.0008953943, 0.0440608338, 0.0252378602, -0.0482085496, -0.0302966665, 0.0072639864, -0.0302856695, 0.0007362606, 0.0575582869, 0.031958323, -0.0655893683, 0.0382826813, -0.0139456345, 0.0066756005, 0.0423730798, 0.0251304526, -0.0115642976, 0.024542572, -0.0478776768, -0.0295629818, 0.0549748503, -0.0571877733, -0.0594394207, 0.0076480373, -0.0032403586, -0.0406791866, -0.0531878732, -0.0537415855, 0.0203666408, 0.0157829244, -0.0034100765, 0.0117780119, 0.0953103006, 0.0451184623, -0.0397529565, 0.0068695704, -0.0044238353, -0.0098063732, -0.0152075319, -0.1070341766, 0.0038744593, 0.0606319457, -0.0168175008, 0.0466775745, -0.0137683768, -0.0411489233, -0.0134095233, -0.0335457288, 0.0141165648, -0.013376005, 0.014472967, -0.0000551956, -0.0104017146, 0.0427361727, -0.0102710193, -0.0302192457, 0.0318678468, 0.0595751405, 0.0159373302, -0.014590201, 0.0516640432, 0.0101511413, -0.0290039349, -0.0547523983, -0.0519896224, -0.0199276507, 0.011463644, -0.0285133775, 0.0829191729, 0.020320639, -0.068939127, -0.0611837283, -0.0227597896, -0.0376795083, -0.0062071676, -0.0245414153, 0.0166660752, -0.0273332056, -0.009392675, -0.0418908074, 0.0474868119, -0.0906570181, 0.0106120845, 0.0094536599, 0.1098327637, 0.0373840481, 0.0475670062, -0.0118074669, -0.0101471795, -0.0008374959, -0.0200203676, -0.0068110544, 0.0028658097, -0.0118732769, -0.0196514595, 0.0231559463, -0.0029666245, 0.0512553453, 0.0199242495, -0.0177162755, -0.0132786501, -0.0127767641, -0.0000744261, 0.0241664313, -0.0170901325, 0.0105657224, -0.0124157295, 0.0142088151, -0.0114283655, 0.0326842368, -0.0337929167, -0.0334145278, 0.0103366422, -0.0056550037, -0.0819492191, 0.017043449, 0.0437973328, -0.0424008705, -0.0154639157, 0.0958186984, -0.0318918116, -0.0109205749, -0.0674372092, 0.0184425209, -0.0006079108, -0.0106650777, 0.0063620037, -0.0511155017, 0.0196950473, -0.0069675394, -0.0025230416, 0.0215798169, 0.007434593, 0.013098741, 0.0513947308, 0.0023262056, 0.0662306324, -0.1014191434, -0.0091355778, -0.0414685011, -0.0066536614, 0.0062353113, -5.715673038e-33, -0.0186442528, -0.0352429673, -0.0015548141, 0.0439345129, 0.0105297901, -0.0431644358, -0.0149986055, 0.0245047901, -0.0458586924, 0.0101005519, -0.0099664219, 0.0271297209, 0.0333554782, 0.0008846771, 0.0236795153, 0.0060917628, 0.0230018515, 0.013695538, -0.0251063891, 0.0003701424, 0.0878765061, -0.0144016314, 0.0745450407, -0.1298335344, 0.0401306748, 0.0192497373, 0.0026404299, -0.0412399396, 0.0940049663, 0.0056040059, -0.0402852558, 0.0202637389, -0.0024144801, -0.0281070173, -0.0075419792, 0.0355445258, -0.0258572809, -0.0270074047, 0.0145009542, 0.002203604, 0.015166916, -0.0000941594, 0.0112624075, 0.0276407599, -0.0183170997, 0.0292834882, 0.0526577048, -0.0194404703, -0.0011216796, -0.0259809867, -0.0682801232, 0.0578366481, -0.0484625399, 0.0490968525, -0.0144771114, 0.0057228254, 0.0170967262, 0.0102197006, -0.0241350681, 0.0381062143, -0.0242265221, 0.0192639288, -0.0213908385, -0.0512203947, 0.0146805588, 0.0945226476, 0.0110413991, 0.0269627403, -0.0099453423, 0.0212699901, -0.006659898, -0.0041873702, 0.0145392986, 0.0624268539, 0.0618155226, -0.0350383297, -0.1056469902, 0.0100604082, 0.0507110469, 0.0356727913, -0.0077351299, -0.0037179196, 0.0321602374, -0.0118566267, 0.0258340705, -0.0348761939, 0.0117121106, -0.0211579092, -0.0016811889, -0.0417160802, -0.0215419289, 0.0418158062, 0.0254011322, -0.0286464058, 0.0087715834, 0.0375899337, -0.0135824857, 0.0244612768, -0.0120695829, -0.0381958783, -0.0399401486, -0.0385448858, -0.017608555, -0.0046809404, 0.0424335897, -0.0119703896, -0.0241825115, -0.0064137457, -0.0365908332, -0.0036189067, -0.0005476565, 0.0386861525, -0.0314821228, 0.0119303269, -0.0250052512, 0.0145633128, 0.0108043263, 0.032596264, -0.0097490819, 0.0190559644, 0.0250091497, 0.0024487232, -0.0311073326, 0.0027271376, -0.0094087366, -0.0425571427, -0.018144317, 0.0409165733, 0.0037867553, 0.0176214557, 0.0000309895, -0.0453108251, 2.325e-7, 0.0458429009, 0.0763921738, 0.0196278151, -0.0154916327, 0.0015638827, 0.0095357578, -0.0057231667, 0.0362602286, -0.0277541112, -0.0440966599, 0.0114991134, -0.0200262666, 0.0429655649, 0.0755757987, -0.1074938998, -0.0032564304, -0.0085664345, -0.0594134554, -0.0642105192, 0.0473560914, 0.0529937185, 0.0681241155, 0.0268362984, 0.0016915567, -0.0646575615, -0.0065404647, 0.013820298, -0.0205966737, -0.0657521188, 0.0285647195, 0.0615157485, -0.0156389028, 0.0031947736, -0.0085101714, -0.0341061205, 0.0040735435, -0.017028125, 0.0350532793, 0.0046643326, -0.0069758808, -0.0129385469, -0.0247400962, -0.0171073899, 0.0362930298, 0.0441850349, -0.0593079925, -0.0373028554, -0.0510603078, -0.0142401969, 0.0198903196, 0.0099579347, 0.0185022149, -0.0054179346, 0.043121431, -0.0077443249, -0.0544464365, 0.0138231013, -0.044150319, -0.004864932, 0.0356500037, -0.0124115758, -0.0257421527, 0.0349676497, 0.0155620445, 0.0400505885, 0.0218297951, 0.0366412625, 1.624670372e-34, 0.0344240442, -0.004494098, -0.0131393746, 0.0099379057, 0.0579699352, -0.0066886302, -0.0560930669, 0.0043370118, -0.0107066752, -0.0090762442, 0.0412736796 ]
http://arxiv.org/abs/2406.13551v1
http://arxiv.org/pdf/2406.13551v1
Mitigating Social Biases in Language Models through Unlearning
2024-06-19T13:38:34
2024-06-19T13:38:34
Omkar Dige, Diljot Singh, Tsz Fung Yau, Qixuan Zhang, Borna Bolandraftar, Xiaodan Zhu, Faiza Khan Khattak
cs.CL
cs.CL, cs.AI
Mitigating bias in language models (LMs) has become a critical problem due to the widespread deployment of LMs. Numerous approaches revolve around data pre-processing and fine-tuning of language models, tasks that can be both time-consuming and computationally demanding. Consequently, there is a growing interest in machine unlearning techniques given their capacity to induce the forgetting of undesired behaviors of the existing pre-trained or fine-tuned models with lower computational cost. In this work, we explore two unlearning methods, (1) Partitioned Contrastive Gradient Unlearning (PCGU) applied on decoder models and (2) Negation via Task Vector, to reduce social biases in state-of-the-art and open-source LMs such as LLaMA-2 and OPT. We also implement distributed PCGU for large models. It is empirically shown, through quantitative and qualitative analyses, that negation via Task Vector method outperforms PCGU in debiasing with minimum deterioration in performance and perplexity of the models. On LLaMA-27B, negation via Task Vector reduces the bias score by 11.8%
[ 0.0065531586, 0.050779555, -0.0126268771, 0.072348386, -0.013371788, 0.0343867615, 0.0324376039, -0.0273598675, 0.0156675708, -0.015843302, -0.0883895457, -0.0287026968, 0.032625407, 0.0044780881, 0.0280113649, -0.0309891086, 0.0297591146, -0.004039974, 0.0395275019, -0.0651174784, -0.0005365978, 0.0221983995, 0.0023837809, 0.0002889625, 0.0300285257, -0.026268322, 0.012461463, 0.0247919802, -0.005547334, -0.0069762887, 0.0454035737, 0.0588283129, -0.0023342748, 0.034960147, 0.0000019544, -0.0410382859, -0.0162005257, -0.0198936369, -0.0120528303, 0.0134845609, 0.0782030225, -0.0243934672, 0.0003751049, 0.0396772996, -0.043478433, -0.0390790589, 0.0608578064, 0.0312153846, 0.0295058507, 0.0664556101, -0.005508801, -0.0541625433, -0.0348732471, -0.0478029661, -0.0260394104, -0.0120460866, 0.0329924151, -0.0308192447, -0.0678504631, -0.0310925823, -0.0499605015, 0.0510746054, 0.0176510047, 0.0491552763, 0.021232985, 0.0397940688, 0.0010999717, -0.0347751714, -0.0149268406, 0.0748426244, -0.0233843904, -0.045073431, 0.0089836959, -0.0105095683, -0.0111820037, 0.0004617431, -0.0114028379, -0.0122065907, 0.0038405068, 0.0695345998, 0.0437147729, -0.0031940038, 0.0400235765, -0.0069590691, 0.0081025995, 0.0625901446, 0.0254927818, -0.0143268853, 0.0072794799, 0.0395978168, 0.0229612701, -0.0333111249, 0.0197087266, -0.0084504383, -0.0262233336, 0.006592962, -0.0146355405, -0.0416828245, 0.0015374818, -0.0444569029, 0.0383347347, 0.0237722173, -0.0216649119, 0.0292375963, 0.0022753912, -0.0063925912, 0.0021403357, 0.0283500459, -0.0358650014, -0.0104138032, 0.0137958005, -0.0030275867, 0.011084524, 0.0333847664, -0.0401279554, 0.0527929962, 0.0033059698, -0.0100514125, -0.040430367, -0.0328564569, 0.0521197468, 0.0318730064, -0.0672417879, 0.0001942929, -0.0192181282, 0.0507060811, -0.0287594311, 0.0450744815, -0.043282263, -0.1015597358, -0.0195666924, -0.0098692803, 0.0295637064, -0.0362198092, 0.0111912694, 0.0308283512, -0.0357807912, -0.0260300264, -0.0377966389, -0.0090154624, -0.0199115127, -0.0839188397, 0.0123442477, -0.0444006324, 0.0389561057, 0.0111742029, -0.0013274277, -0.0888479128, -0.0204010364, -0.0199049301, -0.0541993044, 0.0506937988, -0.00232103, 0.0119740386, 0.0338125601, 0.0091104396, -0.010372974, 0.0966885015, -0.0264249593, -0.0059420499, 0.0268384498, -0.0022899015, 0.0283499099, 0.0383262597, 0.0748737231, -0.0154011045, -0.0222482085, -0.0351331346, 0.0057318751, -0.0351024307, 0.0896527767, 0.0723187923, -0.0176721979, -0.0558950193, 0.0801969767, -0.0016230366, -0.0207556989, 0.0321834348, -0.0100969393, 0.0193813723, 0.0007550134, 0.0476059541, -0.0536610745, 0.0231710691, -0.031558264, -0.0212360006, 0.0349975154, 0.0483803526, -0.0669234917, -0.0293046907, 0.0524960943, -0.0302569661, 0.0678720847, 0.0188467484, 0.0705029517, 0.0247180182, -0.0425897203, 0.0490735918, 0.0663646013, -0.0558016151, 0.0239904188, -0.0361743979, 0.0575778224, 0.02377134, 0.0432253778, -0.0211749487, -0.018500872, 0.0152026918, -0.02260671, 0.0342086554, 0.0435891636, -0.0288293995, 0.0563883856, -0.075331226, -0.0250433404, 0.0274861343, 0.0192454066, 0.0214594882, 0.036683023, -0.0051516281, 0.0196881834, -0.0473848358, -0.0315671936, 0.0281362534, -0.0176937263, -0.0422727875, 0.0087941699, -0.002452198, 0.0396366343, 0.027911948, -0.0125960652, -0.0052756299, 0.0292844158, -0.0329362638, 0.0205406733, 0.0206112098, -0.0772031397, -0.0868425146, 0.0241183564, -0.0228011478, -0.0016082629, 0.1204748973, -0.03756015, -0.016219154, 0.06592381, -0.0033499745, 0.0631245598, -0.0171432402, 0.0188515279, -0.0394615307, 0.0434557535, -0.0233157091, 0.0481349491, -0.0261403807, -0.0308167096, -0.0036788743, -0.0346363895, -0.028698625, -0.065512754, -0.0326099508, 0.008507885, 0.0131838918, -0.0077177063, -0.0006622061, -0.0310354903, -0.0077390214, 0.007769668, -0.0767912567, -0.039724946, -0.0446054377, 0.0217803512, 0.0098112589, 0.0109949298, 0.005690801, -0.0560987256, -0.0212187953, -0.0036344936, -0.0060783355, 0.0152935479, -0.0123428609, -0.0283854622, -0.0311476439, -0.0396373309, -0.0393832698, -0.0007622786, 0.0356210656, -0.007261904, -0.0254090391, -0.0396104157, 0.0502676703, -0.026509542, 0.0378270634, -0.0037461489, 0.003823508, -0.0109609244, 0.0311379898, 0.0392225571, 0.0892068222, -0.0340292566, 0.008243327, 0.0568593778, -0.002606693, -0.0336865708, -0.0241646226, -0.0153909316, -0.0089525441, -0.0219713617, -0.0436972156, -0.0248862039, 0.0766609833, 0.037142273, -0.0117302658, -0.0497029833, 0.0092893429, -0.0169756524, -0.0725346953, 0.0085035106, -0.012835633, -0.0236840248, 0.0060889171, -0.0564668104, -0.0803871676, 0.0618688241, -0.023917878, -0.0165431835, -0.0578211807, 0.0031971035, -0.0150152743, 0.0286030825, -0.0207409132, 0.0226617623, 0.0025480459, -0.0328145102, -0.0415290743, -0.0457324199, 0.0289216451, -0.0428260304, 0.0240302812, -0.0504005738, -0.0149811599, -0.0129762897, -0.0319673382, -0.0309082195, -0.0341651589, -0.031313248, -0.0160851181, 0.0412320569, -0.0040976838, 0.0299109686, -0.017697392, -0.0174656212, 0.0113461195, -0.01033914, 0.0291891508, -0.0174425654, 0.0346404314, 0.0284520127, -0.0053145327, 0.019201234, -0.0308025517, -0.0143751474, 0.0236847401, 0.0534291156, -0.018581463, -0.0176473763, 0.0091501335, 0.0400304347, 0.0280950237, -0.0131804654, 0.015920857, 0.0498317182, -0.0111171389, -0.0083330804, 0.1091379896, 0.0035770047, -0.0835976228, 0.0123406891, 0.0037449626, 0.0355041586, 0.0122158546, -0.0021936554, -0.0531573929, -0.0293156169, 0.0104236314, 0.0327580906, 0.0254584644, -0.025086306, -0.0038757101, -0.1308173686, 0.0169209931, 0.045863539, -0.0015024694, -0.0388032272, -0.0436428562, -0.0071326899, -0.0466720685, 0.0317327753, 0.0261472948, 0.0073979143, 0.0064709969, 0.0407901853, -0.0385758691, -0.0762355477, 0.006102466, -0.0525464453, 0.1007781848, 0.0441777073, 0.021356849, -0.0287069678, -0.0259260517, 0.0388359986, 0.0100455172, -0.0116734719, -0.0426768735, 0.0444794558, -0.036824882, -0.016559707, -0.013413352, 0.041217085, -0.0342250764, 0.0095347911, -0.0434756465, 0.0522462316, 0.0107794562, -0.0427717976, 0.0109327976, -0.0275529716, 0.0047553475, 0.08983621, 0.0336971618, -0.0216496252, -0.022501003, -0.0080632912, 0.0153069189, 0.0129649332, -0.0031299123, -0.0146440221, 0.0034572694, -0.0480525568, -0.0409214795, -0.0204666443, 0.020876294, 0.0016624338, 0.0155838169, 0.0202226229, 0.0428015999, -0.0070658112, -0.053305842, -0.0143026281, -0.038843479, 0.0250057206, 0.0032937888, -0.0267166551, -0.0003253287, -0.0239836033, -0.0003510533, 0.0004456542, -0.0532074682, -0.099497132, 0.0347421505, 0.0247291494, 0.0222543161, 0.0670520663, -0.0123803159, -0.0828262642, 0.0749801025, 0.0433748029, -0.0162928347, 0.0686984882, 0.0349025391, -0.0282222014, 0.0231868792, 0.0503448397, -0.0374579094, 0.0199139155, 0.048115667, 0.0237831064, -0.0213589668, -0.0101153012, -0.0159199387, -0.006407626, 0.0822848305, -0.0173795037, -0.0058685024, -0.0494496934, -0.0082595963, -0.0213278625, -0.0077455016, -0.0242021102, -0.032345891, 0.0274538696, 0.0327341221, -0.0194987282, 0.0093018431, -0.0349399261, 0.0373283327, -0.0203624256, 0.0255408045, 0.0160088334, 0.0010982229, 0.0007179183, 0.0152911255, -0.0065366328, 0.0220087282, 0.004901574, 0.0247951522, 0.0156356171, 0.0071336888, 0.0130984634, 0.0191365369, -0.0535621494, 0.0219314322, -0.013250852, 0.0000236362, -0.0388155952, -0.0134115303, 0.0472362302, -0.0227794424, 0.0605667271, 0.0316576958, 0.0153812058, -0.0292590875, 0.0038697158, -0.0183420926, 0.0094224429, 0.051131662, -0.0035795951, -0.0400121883, 0.0327623598, 0.1078459099, 0.0061203614, 0.0313851684, -0.0063076373, 0.0087041939, -0.0126986476, -0.0266723968, 0.0235091168, -0.0054516159, -0.0530632809, -0.0220504124, -0.0362619124, -0.0850003287, -0.0129082277, -0.0149725042, 0.0182603449, -0.0320787318, 0.0442206413, 0.0460549779, -0.0463854596, -0.0398574807, -0.0194855873, -0.0148152616, -0.0098303137, -0.0190339703, -0.0213113427, -7.036330656e-33, -0.0111547206, 0.0031406644, -0.0202328954, 0.0025711311, 0.0117546432, 0.003855075, -0.045667246, -0.0063033896, -0.0327312648, 0.0242861137, -0.0167435296, 0.0381618515, 0.0286716595, -0.0062423167, -0.008036688, -0.0223674905, 0.0949780792, -0.0209042598, -0.0178683512, 0.0158131104, 0.0128198722, 0.0446842238, 0.0491836481, -0.0823550895, 0.0307227746, -0.0142027419, -0.0006734894, 0.0216216892, 0.0187249072, -0.0048805801, -0.0480562039, 0.0460760593, 0.0282911565, -0.0388932191, -0.0221672039, 0.0184763428, -0.0740032792, -0.003372045, 0.0160484388, 0.0201230422, -0.0299969949, -0.028089961, 0.0377506912, 0.0343289673, -0.0672464445, 0.0160716921, 0.007255449, 0.016491076, 0.0077908128, 0.0305685867, -0.0422983877, 0.0098432498, -0.0025196846, -0.0239310693, 0.039899569, -0.025512334, -0.004596903, 0.0258518904, -0.0708819032, 0.0268144775, 0.0054007503, -0.0020420298, 0.0886654779, 0.0388625786, 0.0186677352, 0.0543576442, 0.0867815539, 0.0148451803, -0.0123314587, -0.0494297296, 0.0477510691, 0.0145141305, 0.018064823, 0.0224974323, 0.0340029709, -0.0301127937, -0.047329478, 0.0160133243, 0.034476541, 0.0197248459, 0.0349356979, 0.0351999104, -0.0434641354, -0.0640029311, -0.0157686267, -0.0832205266, -0.0151425209, -0.0018090473, 0.0024143911, 0.0283685923, -0.0454468913, 0.0120812505, 0.0322929397, -0.050525941, 0.0029536546, 0.0333293974, 0.0169389602, -0.013578523, 0.0042403187, -0.0167125668, -0.1080577001, 0.0016132734, 0.0134942811, 0.0280436594, -0.0029985146, -0.0047853715, 0.0097339125, 0.0408859625, -0.05138335, 0.0002176939, -0.0333839729, -0.0118167996, 0.0492954403, 0.0489130877, 0.0361194685, 0.0085578775, -0.0037373996, 0.0065932414, 0.0406401828, 0.0251169503, -0.0687147826, 0.0031493388, 0.0049891835, 0.0124125155, -0.0228650812, -0.0260755699, -0.0030369626, -0.0058135926, 0.0490440018, -0.0232322887, -0.0240490083, -0.0175991841, 2.612e-7, 0.0004804894, 0.0481895767, 0.0270378646, 0.0059140418, 0.0288788863, 0.0563830249, -0.0007807353, 0.0441095978, 0.0075401105, -0.0005586131, -0.0016897131, 0.0549239665, 0.0303101093, 0.0309269167, -0.0604855344, 0.0296805277, -0.0725295916, 0.0193443056, -0.0060035991, -0.0551943891, -0.013626351, 0.0993907452, 0.0124416063, -0.0089427568, 0.0032405921, 0.0065768152, 0.0357172415, -0.0213992316, 0.0055535603, 0.0095301326, 0.0168941766, -0.0079600764, 0.0079071652, 0.0169907026, 0.0025923871, 0.0115057426, -0.0114088422, 0.0461693555, -0.0295377411, -0.0567975417, -0.0039517358, 0.0200403538, -0.0236463603, -0.0374292992, 0.07736101, -0.0030300822, -0.0468663834, -0.0137211969, -0.0131507851, 0.018472949, 0.0223058239, 0.0078668268, -0.0249469113, 0.0086625824, 0.0215484463, -0.0135948835, -0.0413488038, -0.0603715815, -0.032351125, -0.0095723746, -0.0246347133, -0.0692762434, 0.0275022518, 0.0468939878, 0.013170355, -0.044910077, 0.0655285567, 2.1887714e-34, 0.0293744504, -0.0049462854, 0.0102735618, 0.0140657527, 0.0083676185, -0.0444970876, -0.0854270831, 0.0073896488, 0.0298427865, -0.0634931326, 0.0070515699 ]
http://arxiv.org/abs/2406.13542v1
http://arxiv.org/pdf/2406.13542v1
Self-play with Execution Feedback: Improving Instruction-following Capabilities of Large Language Models
2024-06-19T13:29:53
2024-06-19T13:29:53
Guanting Dong, Keming Lu, Chengpeng Li, Tingyu Xia, Bowen Yu, Chang Zhou, Jingren Zhou
cs.CL
cs.CL, cs.AI, cs.LG
One core capability of large language models (LLMs) is to follow natural language instructions. However, the issue of automatically constructing high-quality training data to enhance the complex instruction-following abilities of LLMs without manual annotation remains unresolved. In this paper, we introduce AutoIF, the first scalable and reliable method for automatically generating instruction-following training data. AutoIF transforms the validation of instruction-following data quality into code verification, requiring LLMs to generate instructions, the corresponding code to check the correctness of the instruction responses, and unit test samples to verify the code's correctness. Then, execution feedback-based rejection sampling can generate data for Supervised Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF) training. AutoIF achieves significant improvements across three training algorithms, SFT, Offline DPO, and Online DPO, when applied to the top open-source LLMs, Qwen2 and LLaMA3, in self-alignment and strong-to-weak distillation settings. Our code is publicly available at https://github.com/QwenLM/AutoIF.
[ 0.0142989112, 0.041497834, -0.0193108302, 0.0219535921, 0.0073331711, 0.01141176, -0.0472013503, -0.0168803241, 0.0156354066, -0.0226276461, -0.0665123016, 0.0012811164, -0.0039957957, 0.0065831495, 0.048948653, -0.0082180398, 0.0498412922, -0.0647210032, -0.0351244994, -0.0124407001, -0.0055400687, 0.0144703127, -0.0269400328, 0.0282949228, 0.0517074242, -0.0327735916, -0.0297954548, 0.0135438731, -0.0190132502, -0.0644193143, 0.0207240656, 0.0703965724, 0.0314729735, 0.025647331, 0.0000021573, -0.0459039733, -0.0087592676, -0.0137887327, -0.0154552776, 0.0280165244, 0.0141357658, -0.0036780096, -0.0407267995, 0.0424519181, -0.0162196681, 0.0023174176, 0.0433916859, -0.0092175193, 0.1150733903, 0.0890095383, 0.0384599566, -0.0081898803, 0.0291151013, -0.0077067129, 0.0017317639, -0.0087887859, 0.002223195, 0.0320150107, 0.0316948481, 0.0214491263, -0.0227123853, 0.0096420776, 0.0274929535, -0.0087079704, -0.0581310876, 0.0295594055, -0.0343276076, -0.006299255, -0.0244381819, 0.0716969296, -0.00716933, -0.039281182, -0.0051632128, -0.0130914655, -0.011420086, -0.0260585528, -0.0244778339, 0.0329077579, 0.0227282234, 0.0372953936, 0.0237377826, -0.0453728661, 0.0105104679, -0.003441744, 0.0038531781, 0.0650529414, -0.0014492167, -0.048356358, 0.0082157077, 0.0006539575, -0.0274258759, -0.0498957522, -0.0298585072, 0.0411869138, -0.0599081703, 0.0150345936, -0.0696635693, -0.0071516284, 0.0315555073, -0.0037397791, 0.0841988102, 0.0344728418, -0.0158304982, -0.0078178048, -0.0194057673, 0.0641201437, -0.0132583091, 0.0550965406, -0.0138441911, 0.0504907258, -0.0548195317, 0.0149981771, -0.0364527293, 0.042575229, -0.0291157309, 0.0122971181, -0.0570367128, 0.0328554101, -0.0337645784, 0.060371317, 0.0051732874, -0.0159302838, -0.0687989891, 0.0222731344, -0.0328192227, 0.0165190697, -0.0404245891, -0.0194165111, 0.0032447565, -0.0582616702, -0.0120578865, -0.0030599034, -0.0284272619, -0.0230345577, 0.0407751426, 0.0648363456, 0.0041293181, -0.012377182, -0.0387250036, -0.0213302244, -0.0173329897, -0.0686264336, 0.0097100539, -0.0812664032, -0.0009332192, -0.030105114, 0.0062787523, -0.0173121598, 0.0227313787, 0.0218968354, 0.0122214453, 0.0534096472, -0.0226578973, 0.0115428437, -0.0161962826, -0.0335933007, 0.025763832, 0.075331755, 0.0643871725, -0.0138717331, 0.017946953, -0.0199015364, 0.0100228032, 0.048667524, 0.0344731659, 0.0412370451, -0.0154001173, -0.0056078197, -0.0115122581, 0.0389913581, 0.051393494, 0.0412770398, -0.0077391621, 0.009926754, 0.0271597691, 0.0246254448, 0.021318851, -0.0211216789, 0.0548872352, 0.0456919931, -0.0011793317, 0.0155538153, -0.0719274059, 0.0295995381, 0.003973424, 0.0373186395, 0.0200820714, 0.0263892338, -0.0235207081, -0.0529580154, 0.0165223703, -0.0046872399, -0.0120959589, 0.0108943405, 0.0496395752, 0.0174348745, -0.0555906296, -0.0043973471, 0.0555216409, -0.026105633, -0.0051554427, -0.0730916709, 0.0275118109, 0.0579725318, 0.0523726977, -0.0346338898, -0.028593054, -0.0210199151, -0.0009722509, 0.0268924776, 0.0356822796, -0.009691271, -0.0031418318, -0.0170180816, -0.025671931, -0.0251784213, -0.0010408314, 0.0061712158, 0.0253707301, -0.0170301404, -0.0078289276, 0.018902583, -0.0858004987, 0.0635849535, -0.0017286491, -0.0758651346, -0.0028305801, 0.013019681, 0.03852465, 0.0216434766, -0.0114653073, 0.0061964979, 0.041511748, 0.0093126465, 0.0302430633, -0.0463576168, -0.0459739231, -0.0677892864, 0.0382069163, 0.0140664512, -0.0354770347, 0.0320166759, -0.0524100512, -0.0347528271, 0.0056702681, -0.030933734, 0.0040700939, -0.0078564566, 0.0331861787, -0.0082739834, -0.0039739748, -0.0385772362, 0.0121848192, -0.0121733369, 0.0195241887, 0.0073885075, 0.0367124751, 0.0012611675, -0.03499832, -0.0308824535, 0.0094733005, -0.0250854753, 0.025841007, 0.0121096913, 0.0692079365, -0.0476040952, -0.023651842, -0.0525082387, 0.045465339, -0.0380181484, 0.0183161255, 0.0360520035, -0.0027052858, -0.0168688055, -0.0299299937, 0.0004468495, -0.0413372219, 0.0231374893, 0.0017615595, 0.043041423, 0.0095253633, -0.0446384437, -0.0570492186, -0.0228176918, -0.0332584009, -0.017054202, -0.0218990725, 0.0653099492, -0.0950151905, 0.0320098922, -0.0054748924, 0.0710009784, 0.0111188805, -0.0825087726, 0.0517364778, -0.0128618469, -0.0050824108, 0.0972261876, -0.0226947963, 0.0079360595, 0.0707625374, -0.0008893776, -0.0890173987, 0.0326184779, -0.0219999198, -0.0784315616, -0.034487877, -0.0062340135, 0.0215425547, 0.0875899494, 0.0016548247, 0.0055741244, -0.0738155171, -0.0175806209, 0.0016767132, -0.0124238124, 0.0282831993, 0.0021051357, -0.0611546598, -0.0067452248, -0.0264936574, -0.0840910524, 0.093943499, -0.0511487238, -0.0163970813, -0.0407226495, -0.0004546219, -0.006171592, 0.0336330533, 0.0207865071, 0.0032512783, 0.0061333883, -0.0227791648, -0.0398625098, -0.0092483517, 0.0288139991, -0.0418538339, 0.0373197719, -0.0517921038, -0.0090562394, 0.014725754, -0.0339295603, -0.048160959, -0.0097569497, -0.0175908431, -0.0169585235, 0.0168578345, -0.0151219051, 0.0168225858, -0.004965723, 0.0195211098, 0.0381782353, -0.0253169648, -0.0175179876, -0.0525042787, -0.0290431827, 0.0444302484, -0.0043712151, -0.0078825792, -0.0465847142, 0.0283679441, 0.0057268548, 0.0562315173, 0.0093428716, -0.0364886001, 0.0224977247, 0.0331218392, -0.036340639, 0.0088432552, 0.0622872338, 0.0811019316, -0.0627096221, -0.0318839699, 0.1109202355, 0.0344856977, -0.0148177473, 0.0217030477, 0.0037882454, 0.0631923601, 0.0403608158, 0.0654063895, -0.078921847, -0.0290519521, -0.004381469, 0.0799215063, -0.0019868172, -0.0076198108, -0.0081324894, -0.1565995067, 0.030438263, 0.0256543383, -0.0260486789, -0.0607232638, -0.0329357609, -0.000749095, -0.0037521718, 0.01684816, 0.0326027758, -0.0197550561, 0.0052355677, 0.0301127918, -0.0071099796, -0.0433934554, 0.045118928, -0.0622482672, 0.1086375713, 0.1065963581, -0.0000478816, 0.007886176, -0.0219101477, 0.0185560547, -0.0249011945, 0.0022352953, -0.0225032959, 0.0569234416, -0.0255222358, -0.0123616941, 0.0133092701, 0.0539284274, -0.0206634048, 0.0165389534, 0.0135723967, 0.0596011132, -0.0184921511, -0.0153995734, 0.0013305439, 0.0068455744, 0.0098206243, 0.0252699908, 0.0077734175, -0.0467292182, -0.0155579932, -0.0313487798, -0.0229348484, -0.0660792366, -0.0201242343, 0.0123696206, -0.0461327061, 0.0099568302, -0.0559730865, -0.0406734012, 0.0242189504, 0.0366660766, 0.007525851, -0.0213042684, 0.0376847908, -0.0024564113, -0.0052925153, 0.015294739, -0.0373515673, 0.0146228867, -0.0924454331, -0.0417568907, 0.0301952343, 0.0049210596, 0.0068012583, 0.0252375621, -0.0643819794, -0.0761176273, 0.0034968592, 0.1065522656, 0.0122447442, 0.08192157, -0.0088755377, -0.0199870635, -0.017576728, 0.0151129393, -0.0531142056, -0.0013955954, 0.0244516544, 0.0071623735, 0.0044772327, 0.0281455778, -0.0393592007, 0.0304407459, 0.008606269, 0.0419923626, 0.0064852126, -0.0161265098, 0.0432212353, 0.0096711228, 0.0400653929, -0.0244337842, 0.0048382194, -0.0271489322, 0.0213650055, -0.007325198, -0.0173034742, -0.0384306237, 0.0299140289, -0.0037969013, -0.0530386232, 0.0047826618, -0.0308257341, -0.0232577641, 0.020053586, -0.0189238954, 0.0323527642, 0.0074971085, 0.0343307741, 0.0261399057, 0.0132521922, 0.0099634659, 0.042384021, 0.0378808118, 0.0658724383, 0.0046925046, 0.0740850344, 0.0256218109, 0.0240002554, -0.0249837395, 0.0137096737, -0.0139766596, -0.02237189, -0.0479252487, -0.0024862222, 0.0524369739, 0.001253786, 0.0368183032, -0.0116115361, 0.0157021713, 0.0021103893, 0.029622132, -0.0467465594, -0.0011049222, 0.0203844104, 0.0402517505, -0.0016451408, -0.0170598924, 0.0473648012, 0.0184218623, 0.0375144705, 0.0004334156, 0.0390966535, -0.0374300666, -0.0086564692, 0.0141608957, 0.0011178091, -0.0411999263, -0.0112108178, 0.0001327972, -0.0718494803, -0.0405582637, 0.0789140835, 0.0012356822, -0.0261174738, 0.0458662063, 0.0239929855, -0.0183447227, -0.0187911838, -0.0362390317, -0.0088574067, 0.0217624232, -0.0423248373, -0.0089949146, -6.494239681e-33, -0.0590858497, -0.0122556239, 0.0333730616, 0.0035142163, -0.0358821414, -0.0281968527, -0.0437447615, -0.0127082737, 0.0042925132, 0.0018593272, -0.007714876, 0.0166082997, 0.0124011552, -0.0004316533, 0.042514246, 0.0089036478, 0.0514846407, -0.0446399003, -0.0675526708, 0.0310810022, -0.007770062, 0.000971014, 0.0317889154, -0.0375513956, 0.0309773516, 0.0034695482, -0.0126717808, 0.0216372609, -0.034075927, 0.0722530186, 0.018910829, 0.0077678403, -0.0113486368, -0.027177684, -0.0250789225, 0.0005515569, -0.0654684752, -0.0474272221, -0.0009225422, -0.0094019957, -0.0455660447, -0.0058729742, 0.0562424548, -0.0302682333, -0.0447838716, 0.0190555938, 0.0021034768, 0.0060848473, 0.0116946669, 0.0166349038, -0.0608957671, 0.0019793794, -0.0283670388, -0.0547323599, 0.0130090294, 0.0016585618, 0.011351021, -0.0045368266, -0.0104883071, 0.02646745, 0.0621617548, 0.0566879362, 0.0715114921, 0.0214242879, 0.0225804262, 0.0271316897, 0.0033384592, 0.011169265, 0.0252420846, -0.0052489107, 0.0809610635, 0.0330889188, -0.0016718417, 0.0136478562, 0.0287419558, -0.0057193995, -0.0208946131, 0.0106721399, -0.0137682715, 0.0548890084, 0.0070410166, -0.0091385702, -0.0702692494, -0.0092616174, -0.0459427088, -0.0065059233, -0.002966749, -0.0419326574, 0.0450304858, 0.0186048485, -0.0426161028, -0.037000291, 0.0133564398, -0.0323082693, -0.0318779573, -0.0264284816, -0.0476012826, 0.0180413462, -0.0298199486, -0.0012663554, -0.0502143688, -0.0479612909, 0.0021772424, -0.0476100519, 0.0396108963, 0.0120331226, 0.0165429972, 0.0286027528, -0.0825778916, 0.0268077776, -0.0322497636, 0.0355318785, 0.0059968866, -0.0019397119, 0.0195639618, -0.0077989502, 0.0012174938, 0.0650007874, 0.0103248376, -0.0632986203, -0.0543224253, 0.0106197055, 0.010962557, 0.0316063464, -0.0352213681, 0.005920277, -0.0577812865, 0.0405033417, -0.0149349095, -0.0526414067, -0.0224973299, 0.0060531767, 2.906e-7, 0.0240496881, 0.0713243484, 0.0288069062, 0.0507965833, -0.0162758604, 0.0352349132, -0.0392525233, 0.0137942014, 0.0116910096, -0.0192719959, 0.015039633, 0.0420214832, 0.0248391479, 0.0272257067, -0.0467741042, 0.0294567831, -0.0371894203, 0.0273652915, -0.0563412234, -0.0292891357, 0.0022131591, 0.0909250528, 0.004496715, 0.0100602722, 0.0238774922, 0.0023084108, 0.0058389953, 0.0166413151, 0.0143718515, 0.0476955809, -0.0403766669, 0.0098339282, -0.0228066295, -0.0173177719, -0.0282474197, 0.0313107707, -0.0671947226, 0.0761471018, -0.0128042344, 0.0092095546, 0.0253605712, -0.0252032075, 0.0059036636, -0.0324337445, 0.0354966074, -0.0751495138, 0.0097205825, -0.0337199494, 0.0112089282, -0.050498914, 0.0035604041, -0.0457309484, 0.0000788854, 0.0190458428, 0.0126509173, -0.0132113779, -0.0168768261, -0.0381602459, -0.0169476215, 0.0307383705, 0.0004817083, -0.0372797027, -0.0401497856, 0.006117607, -0.0272241384, -0.0585002378, 0.0143073453, 2.885135171e-34, 0.0299897846, -0.0399332196, 0.0410134383, 0.0177910365, 0.0338190272, 0.000547327, -0.0323799141, 0.035642121, 0.0508637652, -0.0295587238, -0.0410515815 ]
http://arxiv.org/abs/2406.13502v1
http://arxiv.org/pdf/2406.13502v1
ManWav: The First Manchu ASR Model
2024-06-19T12:47:34
2024-06-19T12:47:34
Jean Seo, Minha Kang, Sungjoo Byun, Sangah Lee
cs.CL
cs.CL, cs.SD, eess.AS
This study addresses the widening gap in Automatic Speech Recognition (ASR) research between high resource and extremely low resource languages, with a particular focus on Manchu, a critically endangered language. Manchu exemplifies the challenges faced by marginalized linguistic communities in accessing state-of-the-art technologies. In a pioneering effort, we introduce the first-ever Manchu ASR model ManWav, leveraging Wav2Vec2-XLSR-53. The results of the first Manchu ASR is promising, especially when trained with our augmented data. Wav2Vec2-XLSR-53 fine-tuned with augmented data demonstrates a 0.02 drop in CER and 0.13 drop in WER compared to the same base model fine-tuned with original data.
[ -0.0015321505, 0.0464848988, 0.0378339663, 0.0395111777, 0.0229095481, 0.0205256734, 0.0101764509, -0.028416466, -0.0053179525, 0.0180701856, -0.0307008699, -0.0330978557, 0.0736060664, -0.0001577028, 0.0296607856, -0.0242695939, 0.0171312075, -0.0703089386, 0.0133864768, -0.0214342102, 0.0076654898, 0.0068891179, 0.006073609, 0.0437937267, -0.0061973492, 0.0281424094, -0.0046959664, 0.0397933125, 0.0449547507, -0.0209817961, 0.0134431953, 0.0091206394, 0.0086538363, 0.03264587, 0.0000021973, -0.0467204042, -0.0116814431, 0.0075952979, -0.0513017289, 0.0520091541, 0.008603395, -0.0115386341, -0.0546627529, 0.0393852964, -0.0212991443, 0.0013112858, 0.0501544438, 0.0265399609, 0.0189963859, 0.0336726382, -0.0051552625, -0.0359206796, -0.0048181508, 0.0049322061, -0.0451423079, -0.0485103615, 0.0322024859, -0.0307147261, -0.0308732558, -0.0255962107, -0.0136419823, 0.0413076282, 0.0124581503, -0.0094729168, -0.0258294027, 0.0239662416, -0.0596523508, -0.0657675192, -0.0102154473, 0.0549084134, 0.0007156176, -0.0289601982, -0.0025318589, 0.0208410565, -0.0631529987, -0.0240013674, -0.0200546011, -0.018033728, 0.0072751404, -0.0048248181, 0.037950255, 0.0131614087, 0.0185859706, 0.0024398055, 0.0024656418, -0.0078285132, -0.005077349, -0.0226239339, 0.0073864665, -0.0580119342, -0.0026017795, 0.0213830136, 0.039065741, 0.0079588583, -0.0194871761, 0.0027798053, 0.0319371, -0.0077906186, -0.0027491106, -0.0554169007, 0.0180137027, 0.0577690303, -0.0722580776, -0.0028884499, -0.0317114852, 0.0421004966, 0.0038794221, -0.0063644475, -0.0376008973, -0.0300299395, -0.0043972596, -0.0229751132, -0.0649707541, -0.0106518986, -0.0364655033, -0.0090135951, -0.0044205366, -0.0061829304, 0.0026228949, -0.005371531, 0.0443316922, -0.0037801045, -0.0508214943, 0.0137471501, 0.0312298387, 0.0570753813, 0.002154337, 0.0455270857, -0.0171797238, -0.0862120092, -0.0018759238, 0.0136357294, 0.0149599258, -0.0070985053, 0.0134251891, 0.0681462139, -0.0019906794, -0.0226597432, -0.053093642, 0.0498114862, -0.0746811181, -0.0380376466, 0.0129456986, -0.023052495, -0.0057408442, 0.0327727273, 0.0351523906, 0.0098482212, -0.0024717771, -0.0605145916, 0.0285971407, 0.0532050282, -0.0277569164, 0.0080616632, 0.0457444675, -0.0130238105, 0.0284065772, 0.0758909881, 0.0400385745, -0.0221309252, 0.0163380951, -0.0213391501, -0.0206717402, 0.0376227722, -0.022657048, 0.008424174, -0.0225976706, -0.0007545415, 0.022228431, -0.021892162, 0.062056385, 0.0455127619, -0.0172885172, -0.0437302142, 0.0344250277, 0.0330270715, 0.0169615913, 0.0238811467, 0.0095960163, 0.0035212764, -0.0031002313, -0.0091272388, 0.0006900298, 0.0238364004, -0.0445110649, 0.0208972581, 0.0244564284, 0.0383316241, -0.0424114577, -0.0445150807, -0.036792051, 0.0088507729, 0.0396880023, 0.0055087986, 0.0546845868, -0.0066895965, -0.0086622518, -0.0058486802, 0.0420649722, -0.0251631327, 0.0361890793, -0.0801761895, 0.0123948166, 0.0545999929, 0.0379910171, -0.0168864969, 0.0360031687, -0.0146190403, -0.0263325106, 0.0391427316, 0.0561936609, 0.021522142, 0.0594560951, -0.0674655959, -0.026205942, 0.0379512608, -0.0045389719, 0.0705113932, -0.0130676441, 0.0001758864, -0.0023286538, -0.0476102456, -0.0397887491, -0.0144435754, -0.0358484015, -0.0080808168, 0.0229106881, 0.0192419179, 0.0823866576, 0.0627719611, -0.0364071615, 0.0102779055, 0.0308588222, -0.0213109478, -0.0031751771, 0.0378374159, -0.0472322814, -0.0087226564, 0.0716392398, -0.0137995146, 0.0152438581, 0.0417972617, 0.0013975895, -0.0780597925, 0.0121619692, 0.0029314242, 0.0335620753, -0.092656374, 0.0498551056, 0.0392302275, 0.0457704253, 0.0301295295, 0.0173280202, 0.0017095014, -0.0068478137, 0.0345264636, -0.0010851012, 0.0092885103, -0.0679216757, -0.0307770278, -0.0006131851, -0.0031051799, 0.0200357269, 0.012006755, -0.0167242773, 0.0113070607, 0.0351114124, -0.0803440735, -0.031930808, -0.0481398292, -0.0048170942, -0.0489718057, 0.0147698503, -0.0072672125, -0.0234621037, -0.0175794996, -0.0439400636, -0.0717026442, -0.001338903, -0.0424763337, -0.0161678772, -0.0044674361, -0.0187745374, -0.0262693018, 0.0140205575, -0.0354550891, -0.0141657144, -0.0619051121, -0.0405569971, -0.0378761329, 0.0198195037, 0.027005069, -0.0349830687, -0.0675736517, -0.0274707004, 0.0110618956, 0.0304167271, 0.0100039458, 0.0049971803, 0.0281860065, 0.0147246839, 0.0361198187, -0.0060781622, 0.0071972371, 0.0019550992, -0.0110429097, 0.015780665, 0.004636318, -0.0721185356, 0.0563444346, 0.0300060082, 0.0118553732, -0.0459492765, -0.0655734167, -0.01085281, -0.0444249399, -0.0201093089, -0.0191124417, -0.0635007024, -0.0197210256, -0.0473991521, -0.0077800183, 0.0508976281, -0.08775042, -0.0496075414, -0.0567725599, -0.0313546658, -0.0185377933, -0.0046274285, 0.0033974873, -0.0001747082, -0.02579326, -0.0436270647, 0.0056622508, 0.0142509118, -0.0033709332, -0.0495365411, -0.02234165, 0.0039815456, 0.0484463908, -0.0318195596, 0.0085515007, 0.0009875827, 0.0392438732, -0.0521139987, 0.0957060754, 0.0008038031, -0.023617994, 0.0293899886, 0.079130128, 0.0241592471, 0.0774920359, -0.0100073013, 0.0503094904, -0.0579418652, 0.0401434563, 0.0294239037, 0.0446376689, 0.009923731, -0.0292347707, 0.057901822, -0.0262531061, 0.0369241647, 0.0052730008, -0.0197333861, 0.0069352542, 0.0217249282, 0.0214226674, 0.0367053375, -0.0019917684, 0.0604718849, -0.0288440082, 0.0313528553, 0.046133332, 0.0056802216, 0.0061339396, 0.0010094499, 0.0046514045, 0.0494625568, 0.0196652338, -0.0505442545, -0.0743747279, -0.0228104349, 0.0498865284, 0.0570572466, 0.0144388601, 0.043979995, 0.0164719354, -0.1123536229, 0.052553039, 0.0395946763, -0.0431165099, -0.0152947018, -0.0975057483, -0.0242368747, -0.0570701063, 0.0960200578, 0.0315144248, -0.0070732301, -0.0734913796, 0.0570905879, -0.0451992601, -0.0790972635, 0.0137007078, -0.0143364081, 0.0512843952, 0.0474965274, 0.004573415, -0.0239182487, -0.0111318622, 0.0260411743, -0.0191334821, 0.0179473422, -0.0196493343, -0.0009831588, 0.0304915365, -0.0159799661, 0.0086350394, 0.0506286733, 0.0167263374, 0.011840011, 0.0074994331, -0.002028374, -0.0024815029, -0.0299967472, 0.0302917901, -0.007077049, -0.0413867384, 0.0843914673, 0.0312111117, -0.0275263172, 0.0192455109, -0.0061523775, 0.0310895424, 0.0014306143, -0.0247345958, 0.0370683223, -0.0190611742, -0.0781409964, -0.0504374504, -0.0137358233, -0.0063517862, -0.0034201951, 0.0027516142, 0.0315236859, -0.0419499278, 0.0437330753, -0.0492775366, 0.0240909159, 0.0062265238, 0.032354977, -0.0387175344, -0.0097518228, 0.0135823442, -0.0784028843, -0.0132189384, 0.0072937827, -0.0265067108, -0.0694506839, 0.0239485614, 0.0146582462, 0.0197895635, 0.0175416041, -0.016197877, -0.0223990902, 0.043935135, 0.0169742219, -0.017575454, 0.0149985924, 0.0178339817, -0.0046503139, -0.0355201103, -0.0055226921, -0.0205381308, 0.0129525, -0.0426749289, 0.0502278097, -0.0187387522, -0.0175752137, 0.0012394, 0.0059139295, 0.044805184, -0.0346813053, -0.032929346, -0.0493387841, 0.0602382272, 0.0132221403, 0.0571998581, -0.0226282645, -0.0181454755, -0.0143388268, 0.0270720385, -0.0205359757, 0.0223446786, -0.0296928715, -0.0252065808, -0.0191623475, 0.0553014986, 0.0182849895, 0.0696469545, 0.0061940905, -0.0176269934, -0.0234179236, 0.0928315967, 0.0240605492, -0.0130152358, -0.0000975675, 0.0350628048, -0.0216771644, 0.0256961491, 0.0498374961, 0.017773442, -0.0260991082, -0.0645770356, -0.0432898588, 0.0504648052, 0.0311111659, 0.0063555553, 0.0615792274, 0.0057727732, 0.0064410954, -0.0604216792, -0.0207015201, -0.0061271335, 0.0189234484, 0.0069281929, 0.0055758888, -0.037616834, 0.0435133241, 0.0161056705, 0.0305781439, 0.0459403507, -0.0193131808, 0.0557300858, -0.0115582151, -0.0648237839, 0.0299655292, -0.025888931, -0.0723402426, -0.009368225, -0.0193095319, -0.0779169947, -0.0016287152, 0.015378125, 0.0031348534, 0.0170145109, -0.0106034884, -0.0282966513, -0.0675504953, -0.0059972173, 0.0082377438, -0.0645318106, -0.001618107, 0.0015646531, 0.0711495951, -7.087184745e-33, 0.0024778736, 0.0296954792, -0.0098755602, -0.0353209712, 0.0098268874, 0.0047552241, -0.035365358, 0.0034945509, -0.038038522, -0.0317469053, 0.0070246002, -0.0063062408, 0.0488946028, 0.0094030434, -0.0179882348, 0.0246897079, 0.0936306193, 0.008646341, 0.0272694919, -0.044882495, 0.0507097244, 0.0302336086, 0.0134862252, -0.0575112551, 0.0036464797, -0.005919002, -0.0145625202, -0.0131528666, 0.0231321957, 0.0487217829, -0.0088227279, 0.0571699478, -0.0041345037, 0.0086774621, 0.0026245578, -0.0062235366, -0.1536497176, 0.0469735824, 0.0060057212, 0.0473855957, -0.0021793542, -0.0038238061, 0.0023163422, 0.0310218949, -0.0063889776, -0.0116971685, 0.0248695072, -0.0419848077, -0.0216268599, -0.0281324834, 0.0073514795, 0.046079535, -0.0080538727, 0.0018732675, 0.0530790538, 0.0096412953, -0.0470304154, -0.0156413186, -0.0844090208, 0.0004561754, 0.028295733, 0.0618018396, 0.033136908, 0.0377539434, 0.0007466634, -0.0084021362, 0.0738787428, -0.0955683887, 0.0476026498, -0.0612387322, 0.0641003028, -0.0013656651, 0.0065389285, 0.0089543788, 0.0379014127, -0.0616242588, -0.0341912135, -0.0210254937, 0.0496276878, 0.0437310524, 0.0212458875, 0.0169036053, -0.0233744234, 0.0050080917, -0.0176173095, -0.0552392714, -0.0634460002, -0.009220303, 0.0572620593, 0.0249866769, -0.0070505021, -0.0144286212, 0.0576971397, -0.0241378471, 0.0169831812, 0.038216725, 0.0167163834, -0.0289498903, -0.0279454514, 0.034949515, -0.0570829287, -0.0546327233, 0.0372140147, -0.0000284297, -0.0203150287, -0.0261369664, 0.0331208855, 0.0540317073, -0.0326080769, -0.0052017993, 0.003059288, -0.0205124542, 0.0217526387, 0.0656355768, 0.0450150669, -0.0189962834, 0.0119983042, 0.0281644501, 0.0047532842, 0.0373429321, -0.0174615048, 0.004043207, -0.006476691, 0.0373026095, -0.0426805541, 0.0296330377, 0.0438713916, -0.007208691, 0.0066964775, -0.0165231507, -0.0044817789, 0.0080723204, 2.943e-7, -0.0274603292, -0.0157175902, 0.0524888076, -0.0531563982, -0.0085399346, -0.0131889153, -0.0337081812, 0.000328062, -0.0003536961, 0.0217197351, 0.0168793034, 0.0345849469, 0.112668395, 0.008023398, -0.0640582666, -0.0012518413, -0.0571669452, 0.0341493636, -0.0080809528, 0.0456173941, -0.0142563172, 0.0974099636, -0.033426065, -0.0095481789, -0.005979341, -0.0158326384, 0.0169849209, 0.0015873638, 0.0092462655, 0.0046875416, 0.003984069, 0.0002455364, -0.0275905039, -0.0213471223, -0.045459073, 0.0883075371, 0.0247634184, 0.0492134914, -0.0562132113, -0.0889999568, 0.0311491527, 0.0585067235, -0.0248596184, -0.0334152021, 0.0457589626, 0.0448280722, -0.0157942958, 0.0039339941, -0.0377824306, 0.0114799878, 0.0010726099, -0.0151766399, 0.0041241511, 0.0257620588, 0.0094728423, -0.0303581264, -0.032158412, -0.0561216287, -0.0152397789, -0.0204754658, -0.0427150391, -0.0389046445, 0.0096474243, 0.0180173591, 0.0107821682, 0.0268682744, -0.0129519422, 2.0153318e-34, 0.0593414083, -0.0287915338, -0.0293740947, 0.0257465541, -0.0244379546, -0.0525840819, -0.0072157597, 0.0313076377, -0.0430066586, -0.0275242738, -0.0821190849 ]
http://arxiv.org/abs/2406.13476v3
http://arxiv.org/pdf/2406.13476v3
LLMs Are Zero-Shot Context-Aware Simultaneous Translators
2024-06-19T11:57:42
2024-06-25T04:45:19
Roman Koshkin, Katsuhito Sudoh, Satoshi Nakamura
cs.CL
cs.CL
The advent of transformers has fueled progress in machine translation. More recently large language models (LLMs) have come to the spotlight thanks to their generality and strong performance in a wide range of language tasks, including translation. Here we show that open-source LLMs perform on par with or better than some state-of-the-art baselines in simultaneous machine translation (SiMT) tasks, zero-shot. We also demonstrate that injection of minimal background information, which is easy with an LLM, brings further performance gains, especially on challenging technical subject-matter. This highlights LLMs' potential for building next generation of massively multilingual, context-aware and terminologically accurate SiMT systems that require no resource-intensive training or fine-tuning.
[ 0.0035035694, 0.023522649, 0.00771594, 0.0557672456, -0.0305145197, 0.0156230507, 0.0536454432, -0.0211623553, -0.0463401452, -0.0225483067, -0.0761542097, -0.0572063848, -0.0004208824, -0.0278218463, 0.0270528179, -0.0150093529, 0.0303325914, -0.0326362364, -0.0757756457, 0.0019882901, -0.0172961857, 0.0398761332, 0.0164484568, 0.0285687372, 0.0035737257, -0.01483477, 0.0050134389, 0.0522717275, 0.0433887355, -0.0112572899, 0.0000309439, 0.0263026599, 0.0447535738, 0.1047099456, 0.0000019729, -0.0285736788, -0.0504067987, 0.0097451806, 0.0103515089, 0.0385605954, 0.058462739, -0.0596427806, -0.0304179192, 0.0327652693, -0.0185051356, -0.0080097178, 0.0598812625, -0.0118740527, 0.0681476966, 0.0695400238, -0.0166037064, -0.0347413681, 0.0195023026, -0.0756770596, -0.0105069159, -0.0463520102, -0.0025913743, -0.0031892494, -0.0218235571, 0.0314312391, 0.0055690445, 0.0692881569, 0.0288459603, -0.0039038947, -0.049041789, 0.0160118304, -0.0220209323, -0.004979942, -0.0083247349, 0.0646338314, -0.0515872017, -0.0068734265, -0.0148867788, -0.0056438586, -0.0501377247, -0.0372538231, -0.0482142679, 0.035585694, -0.0042802831, 0.0022757447, 0.0384833366, 0.0128420629, 0.0421612412, 0.0009892356, -0.0657909214, 0.0271908194, 0.0564013459, -0.0228945613, -0.0327785276, 0.0195384733, -0.0255218595, -0.032186877, 0.0291137751, 0.0131887645, -0.0180368815, 0.0273568816, -0.0433964767, -0.0466153473, -0.0038785315, -0.0337421298, 0.0073722159, 0.0742166713, -0.0031834284, 0.0602996089, -0.0169117413, 0.0500209369, -0.0664886013, 0.016983252, -0.0754556432, -0.0400158875, -0.0236085113, 0.0217231605, -0.0365976915, -0.0148844225, -0.0729783848, -0.0074074985, -0.027406767, 0.0479192361, 0.016456997, 0.0019660401, 0.0269820075, -0.0435765833, -0.0796475112, -0.0467162952, 0.0416423418, 0.0704554021, 0.02472464, -0.011981247, -0.0192795545, -0.0615047365, -0.0339034311, 0.0302205049, -0.0070722722, -0.0506394506, -0.0104515878, 0.0836664438, -0.0136745851, -0.0521473065, -0.0218634922, -0.0015263612, -0.0008350966, -0.0553757362, -0.0291675832, -0.0576810986, 0.0479733869, 0.0237423684, 0.0445855856, -0.0277380142, 0.0103609692, 0.0112703005, -0.0142642371, 0.0852873921, 0.0191584304, 0.0004510357, 0.0136267468, 0.0071698884, -0.0067374031, 0.0778157339, 0.0253051054, 0.0115090525, 0.0191113763, 0.0154695343, -0.0052392092, 0.0979285762, -0.0064815041, 0.0594261363, -0.0189164355, 0.0005939224, 0.0167752206, 0.0234964006, 0.0340797678, 0.0604177974, -0.0167920589, 0.0129830753, 0.0697400123, 0.0302826948, 0.0123086041, 0.0562333241, 0.0834803656, 0.0138103087, -0.0242024474, -0.017876694, -0.0192309897, 0.0190553144, 0.0029621513, 0.0038863828, 0.0268119238, 0.0345565341, -0.0307152867, 0.0033947579, -0.0229598042, -0.028048791, -0.04802664, -0.0150807379, 0.0605039857, -0.0177020673, -0.0629758835, 0.0685587674, 0.004844788, -0.0589802675, 0.0112538738, -0.0140808998, -0.0373536572, 0.0695451945, 0.0516518764, -0.0034335314, -0.0525958501, -0.0401160121, 0.0147514185, 0.071114786, 0.0604497641, 0.0191258192, 0.0363205783, -0.0448671058, -0.0057539474, -0.0004708093, 0.0156911146, 0.0327832364, 0.0378849208, 0.0356724188, 0.0491143987, 0.0058987984, -0.003539958, 0.024304498, -0.0859293789, -0.0273681171, 0.0244588014, -0.0090184454, 0.0199115798, 0.0115356958, -0.0374543704, -0.0000704481, 0.0210497975, -0.0571764633, -0.015986152, 0.0395672992, -0.0337561853, -0.0376845151, 0.0358670838, -0.0191297866, -0.0072425208, 0.0105510289, -0.0440741479, -0.0400656946, -0.0114046084, -0.007853522, 0.0000281867, -0.0419384837, 0.0296082459, 0.0115958955, 0.0261440463, -0.0329581276, 0.0134652257, 0.0047808751, -0.0066980673, 0.0573156849, -0.0009195929, 0.024688147, -0.0382672735, -0.0513861068, 0.0198031738, 0.022048641, 0.0374070778, 0.0087938346, 0.0222388767, -0.0026661446, -0.0458825901, -0.1016385406, 0.0416473374, -0.0277310275, 0.0369402915, 0.0469418764, 0.0426615775, -0.0038236217, 0.0063078972, -0.0013596099, 0.0025011227, 0.0110607399, 0.0114949234, -0.0078805527, -0.0207107607, -0.0122316526, -0.0191107523, -0.0149013903, 0.0076439437, 0.0411050469, 0.0068941517, -0.0074131992, -0.0622650869, 0.0410996005, -0.0088420454, 0.0099109532, -0.0035333128, -0.0433033481, -0.0130516915, -0.0551152118, 0.0359804146, 0.0279684532, -0.0070896316, 0.0038721981, 0.0262951311, -0.0202095471, -0.0498032942, 0.0119013498, -0.0155570274, -0.0659888163, -0.0300132781, -0.0316833928, -0.0071324878, 0.0755087137, -0.0238193199, -0.0132204182, -0.0586480051, -0.0147807728, -0.0096892817, -0.0107877599, -0.013863137, 0.0244637448, -0.001331432, 0.0224323086, -0.0239558667, -0.0315030701, 0.0439419486, -0.0577687211, -0.0181353111, -0.0304972902, -0.0078851022, -0.0680674762, 0.0589981414, -0.0413014218, 0.0129293445, -0.0322220549, -0.0070582791, -0.0380479582, 0.0289486181, -0.0190025512, -0.0214384291, 0.0481275544, -0.0727125257, 0.0276456308, -0.0410649665, -0.0203291532, -0.0319452733, -0.0088824807, -0.0408310294, 0.0046228324, 0.0149756251, -0.034093786, -0.0423933752, 0.018082194, 0.030814996, 0.0834327489, 0.0001334857, -0.0000341696, -0.0252448041, 0.0326030888, 0.0060875597, -0.0012628185, 0.0001017376, -0.0674264804, 0.0171614289, 0.0283030551, 0.0243853554, -0.0199175868, -0.039173238, -0.0409185253, 0.0454778895, -0.0096646752, -0.0227710232, -0.0415514857, 0.0225816704, -0.0358373597, -0.0093796123, 0.1231147349, 0.0187406652, -0.0844496414, -0.0203354359, -0.0076890546, 0.0146383811, 0.024159776, 0.0302345622, -0.1258237362, -0.0455030017, 0.0010970768, 0.0001418223, 0.0362588577, 0.0113373436, -0.0499321967, -0.0884897262, 0.0159726664, 0.0413249284, -0.066896081, -0.0136554744, 0.0093956748, -0.0194394346, -0.0508538261, 0.017934002, -0.0049356972, 0.015371548, -0.0136458315, -0.0074227001, 0.0504726805, -0.0551428311, 0.0149708241, -0.0422194339, 0.0363022536, 0.0355421528, 0.0043093148, 0.0130344527, -0.0087861037, 0.0488924533, -0.0281112902, -0.0093632052, -0.0113475947, -0.0019491566, -0.0342213176, -0.0239207745, 0.0418157801, -0.0081271585, -0.0659371167, 0.0041147047, 0.0201216433, 0.057146199, 0.0071853329, 0.0332750976, 0.0087464992, -0.0336568169, 0.0010295975, 0.0507454909, -0.0005944613, -0.045154009, -0.0053559784, -0.0264004096, -0.0168485418, -0.0438635908, -0.0223849248, -0.0082309684, -0.0387465619, -0.0793452188, -0.0435781889, -0.0124393236, 0.0201514326, 0.027013056, 0.0165114086, -0.0028407385, 0.0043303589, 0.0025089614, -0.0410153866, 0.0344432555, -0.0589700639, 0.0435337313, -0.0763394907, 0.045637399, 0.0575712398, -0.0331137702, 0.0060289381, 0.0313834623, -0.0999609455, -0.0747119635, -0.023344839, 0.0393012427, 0.0257117003, 0.0295056663, -0.0456192046, -0.0331338979, 0.0155351749, 0.0273693558, -0.0153358802, 0.0244835485, 0.0267301947, 0.0095161553, -0.0101079568, 0.0549586415, -0.0205399711, 0.0130075663, -0.0071643926, 0.0650125444, -0.0234472975, -0.0450613946, 0.0167504773, 0.0004419035, 0.0199654009, -0.0217330866, 0.0186839774, -0.0044247345, 0.0300879609, -0.0279488917, -0.0091018565, -0.0510410517, -0.0184549578, 0.0447271205, -0.0212608054, 0.0076795057, 0.0264763068, -0.0115733333, 0.0089541981, 0.0022708487, -0.0133850938, -0.0410336144, 0.0039487579, 0.0379372984, 0.0196875129, -0.0157807749, 0.0027514864, -0.0116371121, 0.0050328728, -0.0513277017, 0.0456930771, -0.0063818479, -0.0061998321, -0.0036481416, 0.0480448678, -0.0484089814, -0.0214541797, -0.0153901363, 0.0365940928, 0.1073303521, 0.035598103, 0.114190571, -0.0255295616, -0.0210433118, -0.0329622664, 0.0581759177, 0.0072773313, 0.0043501607, -0.0036236655, 0.005170262, 0.0105400048, 0.0339333378, 0.082354106, -0.0080984458, 0.0163741354, -0.016354898, -0.0269376114, -0.0070317551, -0.0173114948, -0.0130541809, -0.0226454809, -0.0190735832, 0.0057626045, -0.0523797944, -0.051244732, 0.0265339836, 0.0140125724, -0.0204085745, -0.0342638642, 0.0039375541, 0.0731633604, -0.0311154556, 0.0207953565, -0.031220099, 0.0250553265, 0.0022436506, -0.0327384248, -0.0196924899, -6.185612905e-33, -0.0220245998, -0.0052756746, 0.0405448303, -0.0232980642, -0.0388369821, 0.0202667359, -0.0368115157, 0.0025668936, 0.0026326627, -0.0102231773, -0.0168206971, 0.0126476064, 0.0139013473, 0.0128830001, -0.0118344026, 0.0009467856, 0.0583571941, 0.0120493993, -0.0026813839, 0.0186473299, 0.0405173339, 0.0201156493, 0.0845521018, -0.0454834439, 0.0187315159, -0.0285772476, -0.0135561358, 0.0168054271, -0.0017357901, 0.0315894261, -0.0013577344, 0.022896409, 0.0082917353, -0.0334115624, -0.0098958323, -0.0224915687, -0.0637634397, 0.041007895, 0.0162947811, 0.0190617163, -0.0011407683, -0.0651664138, 0.0329228714, -0.0269981734, -0.0038606771, -0.0259722676, -0.01180101, -0.0283658244, -0.022444874, -0.0189004168, -0.0541686788, 0.0247640088, 0.0010351051, -0.0105200615, 0.0473576188, 0.0527307875, -0.0013663343, 0.048641976, -0.038999211, 0.0238662679, -0.0029167302, 0.0355935767, 0.1041916013, -0.0019775815, -0.0147405155, 0.0025434436, 0.00581457, -0.0100546693, 0.0114994571, -0.0325634107, 0.0098227467, 0.0165740903, 0.0439377837, 0.0561982282, 0.0146175623, 0.007017436, -0.0429522842, 0.0192950442, 0.0036971387, -0.0017593659, 0.0388635471, 0.0228712987, -0.0073983441, 0.0095639005, -0.0371027328, -0.0147618875, -0.0390401408, -0.016918717, 0.0124462657, 0.0276910383, -0.014525055, 0.0053131226, 0.0848443285, -0.0319853351, 0.025517866, 0.004556566, -0.0163275469, 0.0232275967, -0.03144335, 0.0683356375, -0.0282331463, -0.0312667191, -0.0127428891, 0.0104675367, -0.009194158, -0.0133263208, 0.020847721, 0.0378449708, -0.0342010371, -0.0007595649, -0.0617125072, -0.0060023451, -0.0402459502, 0.0242273957, 0.0138193527, 0.0176944155, -0.0004100051, 0.0518463105, 0.0379227847, -0.0055312347, 0.0032541386, -0.0028257419, 0.0133204171, 0.0412280522, -0.0308532417, 0.0345951542, -0.0169755369, 0.0096597429, 0.057035774, -0.0528639741, -0.0321612619, 0.013020589, 2.644e-7, 0.0521465391, 0.0442483462, 0.0067625418, 0.0190321468, 0.0347020626, 0.03199872, -0.0320024155, 0.0377249792, -0.0039056814, 0.0588262379, 0.0226643197, 0.0366833247, 0.0736970231, 0.0136941662, -0.0815352648, -0.0528179221, -0.0391714014, 0.0458729155, -0.0603106134, 0.011235646, 0.0464702472, 0.1044669971, -0.0025823335, 0.0108632157, -0.0148897739, -0.0363703445, 0.1021264642, -0.0203683767, -0.0251068491, 0.0174739175, 0.0026349281, 0.0238589626, -0.0432772301, -0.018551968, -0.019482227, 0.0128928078, 0.0477494597, 0.1063591316, 0.0262248609, -0.0151679786, 0.036843773, -0.0219095219, -0.0230779555, -0.0312447455, 0.0669268444, -0.0598256402, 0.0091328137, -0.0033680657, -0.02845544, 0.0253963042, 0.0230390653, -0.0332918726, -0.0417337939, 0.0189160686, 0.0458277911, -0.0172847304, -0.0475338697, -0.0447535552, -0.0322856493, -0.0385452062, -0.0337296538, -0.0433730148, -0.0244270824, -0.0149886152, 0.0149110248, -0.0212468132, 0.0126612801, 2.598421768e-34, 0.0583090261, -0.0046817083, 0.0018431371, 0.02063765, 0.009892093, -0.0291398373, -0.0201569311, 0.0071517723, -0.0190304462, -0.0639387071, -0.032019686 ]
http://arxiv.org/abs/2406.13469v1
http://arxiv.org/pdf/2406.13469v1
Encoder vs Decoder: Comparative Analysis of Encoder and Decoder Language Models on Multilingual NLU Tasks
2024-06-19T11:50:09
2024-06-19T11:50:09
Dan Saattrup Nielsen, Kenneth Enevoldsen, Peter Schneider-Kamp
cs.CL
cs.CL, cs.AI, cs.LG, I.2.7
This paper explores the performance of encoder and decoder language models on multilingual Natural Language Understanding (NLU) tasks, with a broad focus on Germanic languages. Building upon the ScandEval benchmark, which initially was restricted to evaluating encoder models, we extend the evaluation framework to include decoder models. We introduce a method for evaluating decoder models on NLU tasks and apply it to the languages Danish, Swedish, Norwegian, Icelandic, Faroese, German, Dutch, and English. Through a series of experiments and analyses, we address key research questions regarding the comparative performance of encoder and decoder models, the impact of NLU task types, and the variation across language resources. Our findings reveal that decoder models can achieve significantly better NLU performance than encoder models, with nuances observed across different tasks and languages. Additionally, we investigate the correlation between decoders and task performance via a UMAP analysis, shedding light on the unique capabilities of decoder and encoder models. This study contributes to a deeper understanding of language model paradigms in NLU tasks and provides valuable insights for model selection and evaluation in multilingual settings.
[ 0.0223760474, 0.023116529, -0.0110152587, 0.0735868067, -0.0249571111, 0.0399739966, 0.0091775153, -0.0646879822, -0.0651540309, -0.0366570093, -0.0071437671, -0.056473814, 0.0364136249, 0.0021303457, 0.0066170106, -0.0659639314, 0.0516225994, -0.074123621, -0.011424806, 0.0059864903, -0.0123334648, -0.0018922052, -0.0115487631, 0.0503438041, 0.0481303893, -0.0084555279, -0.0172473155, 0.0052119219, -0.0073162164, -0.0085427538, -0.0152879516, 0.0159995295, 0.0472220778, 0.0162100643, 0.0000018976, -0.0529567525, 0.0110184178, -0.0249696746, -0.0324324444, 0.0311728828, 0.0580221526, -0.0797707438, 0.0078956671, -0.0041484553, 0.0055335392, -0.0453977808, 0.0427468121, 0.0142986141, 0.0136353057, 0.02304806, 0.0007411066, -0.0575634204, 0.0110365972, -0.0280339941, -0.0523183309, -0.0526334234, -0.0111281294, 0.0635922998, -0.0201171208, -0.0040592868, -0.0768751428, 0.049582988, 0.0174876414, 0.0422731042, -0.0256266799, 0.0278830659, 0.0134652173, -0.0543486625, -0.028029928, 0.0448141284, -0.0398500152, -0.0100762807, -0.0517299995, 0.0102613391, -0.0257497467, 0.0101499595, -0.0340265669, 0.0241873302, -0.0342283882, 0.0289092269, 0.0512733459, 0.024002891, 0.0230188053, -0.0092773624, -0.0105668809, 0.0811447427, 0.0058461912, -0.0191265661, 0.0419127047, 0.031775821, 0.0264956206, -0.0396983624, 0.0158827435, 0.0226849634, 0.0083536124, 0.0210793372, 0.0056366278, -0.0623555966, -0.0039701383, -0.0355198644, 0.0123582957, 0.0591318496, -0.0427035913, 0.0331815518, -0.0193415992, 0.0899536088, -0.0161559023, 0.0004853161, -0.060908895, -0.0407311395, -0.0347372666, -0.0098543717, -0.0209877361, 0.0119281104, -0.0467738695, -0.0020681049, -0.0007829018, -0.0104032522, 0.0433181934, -0.0143013112, 0.0109743811, -0.0196632221, -0.0425899476, 0.0168470945, -0.0203576535, 0.0838881657, -0.0353337079, 0.004184844, -0.0597322583, -0.0591399148, 0.0069991993, 0.0211085174, -0.0029420191, -0.0459295101, 0.0024593552, 0.0573925488, -0.0232406445, -0.015118558, -0.0196525492, 0.0100349793, 0.0077547892, -0.0686466172, 0.0060271537, -0.04445979, 0.0651872158, 0.042797368, 0.0280979928, -0.0616205409, -0.0053957235, -0.0315491594, -0.0367028937, 0.0636768639, -0.0085974392, 0.0443201512, 0.0057030651, -0.0181180518, -0.0111369109, 0.0650385469, -0.0059692897, -0.0217480231, 0.0246531274, -0.0252788533, -0.0041840011, 0.0524709113, -0.0245261043, -0.0299714077, 0.0004340722, 0.0233167261, 0.0029977947, 0.0049494677, 0.080434002, 0.0316972919, -0.0353394188, -0.0025757919, 0.0177773684, 0.0320954509, 0.0078900261, 0.0003296929, 0.0426441431, -0.0085612116, 0.0011323675, 0.014482649, 0.0138021428, 0.0002803069, -0.0037999628, -0.0025656556, 0.0085820276, 0.0397764407, -0.0170649458, -0.0345271379, -0.0059597054, -0.0376456305, 0.0437552072, 0.0191487987, 0.045490928, 0.0088555589, -0.0332511179, 0.0460174829, -0.0047236625, -0.0461810827, 0.0523820408, -0.0076626297, -0.0154863652, 0.070366472, 0.0263449792, 0.0376563109, -0.0353493206, -0.0145377722, -0.0288899392, 0.0229123607, 0.0464344062, -0.0312470775, 0.0612206087, -0.0519380346, -0.0073449677, -0.0422552675, 0.007824054, 0.0697357506, -0.0439424738, 0.0056194351, -0.0098554632, -0.0912811533, -0.0444315337, 0.0231358241, -0.0398450643, -0.0022756357, -0.0296799988, -0.0016538317, -0.0002665049, 0.0431619547, -0.0059547713, 0.013374879, -0.0036221847, -0.0770617649, 0.0241325032, 0.0539724082, -0.0036715588, -0.0812000483, 0.0198723394, -0.0405659825, -0.0245813951, 0.0412185714, -0.0018675867, -0.0513254367, 0.0352528319, -0.0417684205, 0.0153310206, -0.0080816979, -0.0089776069, -0.0309443418, 0.0125059774, -0.0058143046, 0.0655155405, -0.0174583141, 0.0466876626, 0.0238314625, -0.0116353175, 0.0329760015, -0.0360747762, -0.0385593958, 0.0632309243, -0.0220250972, -0.0139679406, 0.0288369376, -0.013194154, 0.0168385282, -0.003836344, -0.0545453504, -0.0010580291, -0.0516608283, 0.0624744631, 0.0482852273, 0.0167307649, -0.0042038318, -0.0393272489, -0.027990913, -0.0389972962, 0.0124820834, 0.026680503, 0.005230071, 0.0029428029, -0.0240879543, -0.0312332604, -0.0181239266, 0.0180907324, 0.0661610216, -0.0029667737, -0.0706212819, -0.0524612777, 0.0454073325, -0.0090421895, -0.0074062999, -0.0157899149, -0.0283692405, 0.0070886146, 0.0419398248, 0.048207134, 0.0314153358, -0.0328601189, 0.0469603464, 0.0307095647, -0.0193521194, -0.0432426371, 0.0009985084, -0.021987183, -0.0287222173, -0.0682264045, -0.071361661, 0.0330078341, 0.0975556448, 0.0270316936, 0.0219987575, -0.059064623, -0.022060357, -0.0489166938, -0.0388088226, -0.050010439, -0.0446150638, 0.0331310816, 0.0934505165, -0.039662499, 0.0038933426, 0.0628492162, -0.0403741486, -0.0379311778, -0.0474171564, 0.014337345, -0.0637554377, 0.060203772, -0.0079483725, 0.0338704623, -0.0252228826, -0.0719776005, 0.0141465785, 0.0258945022, 0.0310118143, -0.0220475737, 0.0333331227, -0.0555836782, -0.0102667334, -0.0108900368, -0.0151224928, -0.0281727836, 0.0197609477, -0.0364650823, 0.0291505456, -0.0090070199, 0.0321299769, -0.0307086874, 0.0567944832, 0.0025309795, -0.0046899705, -0.0046164896, 0.0145597355, -0.0415235497, 0.0239013992, 0.0054525076, 0.0221014824, 0.013914288, -0.0430977382, 0.0289520733, -0.0028301582, 0.0080998167, 0.0063817962, -0.0284605473, 0.0352458768, 0.0519228652, -0.0078318613, -0.053853415, 0.0092016831, 0.0657946393, -0.0574891008, -0.009478597, 0.0864328593, 0.0283929333, -0.002525805, 0.0016388604, -0.0387433395, 0.0073755016, 0.0267577227, 0.0020102204, -0.0488022938, -0.0493066311, -0.0155325811, 0.0176199991, 0.0338848308, -0.019529162, 0.006624592, -0.1023926139, 0.0004076292, 0.0170590971, -0.070160009, -0.0390605181, -0.0578673109, -0.0207272228, -0.0441791564, 0.0406104736, 0.0134683289, 0.0206211228, 0.022788763, 0.0328898951, -0.0330912955, -0.0915269181, 0.0213853177, -0.0312678441, 0.0221243091, 0.0773365274, 0.0192856472, -0.0202989429, -0.0222354978, 0.0155664068, -0.0433965996, 0.0200012941, 0.0005211718, 0.0430351794, 0.0000682126, 0.0013888658, -0.0212331526, 0.0067442115, -0.0679983348, -0.0035763877, -0.0263490062, 0.0582024567, -0.0095307529, -0.035742145, 0.0261403508, -0.0428218432, 0.016475901, 0.0801413059, 0.0310912784, -0.0159704201, -0.058063101, -0.0574755333, 0.0275401641, -0.0595616102, 0.0009828527, 0.0469133146, 0.0398361534, -0.0362722985, -0.0125949346, -0.0797680318, 0.0173148364, -0.0309743546, 0.0453497879, 0.0339845829, 0.0537386574, -0.0252027679, -0.0514849462, 0.0238023493, 0.0124066882, 0.0214186497, -0.0125494907, -0.0003840998, 0.0256501213, 0.0130292512, -0.0046125669, -0.0021225486, -0.0466143861, -0.0550042801, 0.0011299193, 0.0271410383, 0.0262207258, 0.0531082302, -0.0033487941, -0.0431445353, -0.0831649601, -0.0434838347, -0.018261319, 0.0083878962, 0.021537466, 0.0025387285, 0.0026617511, 0.0332713053, -0.0156612508, 0.0161374584, -0.0215077102, 0.0417800844, -0.0031127366, -0.0325653739, 0.0251742322, 0.0390288047, -0.0115146758, -0.017866876, -0.0077286614, -0.0290828142, 0.0047584847, -0.0007789302, 0.00326924, -0.0327426232, -0.0017797014, 0.0599584356, 0.0224379897, 0.006385732, 0.013336896, -0.0067639886, 0.0009975304, -0.0178863648, 0.0434473604, 0.0611403324, 0.0089725116, 0.001276523, 0.0121554537, -0.016205769, 0.038482476, -0.0016355222, 0.0548238605, -0.0304793846, 0.0505108908, -0.0141931036, 0.03131124, 0.0094925892, -0.0038794496, -0.019140156, -0.0268037543, 0.0141768428, -0.0403986573, 0.0404792093, -0.0075186766, 0.088120833, -0.0087039359, 0.0464705043, -0.002521317, 0.0401383229, 0.003587909, -0.0478743501, 0.0642635226, 0.0003935339, -0.0159324892, -0.024190655, 0.0703344345, -0.0185823645, 0.0389337242, -0.0206191316, 0.00648994, -0.020500049, -0.0120551875, -0.0076183733, -0.009404094, -0.04011859, 0.0433303937, -0.0652055591, -0.0208986085, -0.0143191824, -0.0084594078, 0.0242382418, -0.0206761677, 0.0141115068, 0.0694693252, 0.0003933325, -0.0087296488, -0.0389320776, 0.0125041641, -0.0536596403, 0.0027275088, -0.0396898687, -6.004194821e-33, -0.036419794, 0.0144868912, 0.0043337466, -0.0452746823, 0.0042404481, -0.0226496384, -0.0515315719, 0.0035256469, -0.0337674245, -0.0037550635, 0.0334248468, -0.0116724074, 0.0121352794, 0.0128692724, 0.0071915016, -0.0542856194, 0.0476787239, 0.0172181595, -0.0249896217, -0.0301405285, 0.0390671007, 0.0208790246, 0.0708866715, -0.0151517224, 0.0545325056, -0.0057949959, 0.0321546793, 0.0192766991, 0.0553082824, 0.0348387659, -0.0290287789, 0.0374292843, 0.050953608, -0.0383031927, -0.0263009537, 0.0231052823, -0.0953423604, -0.0271388814, 0.0564349033, 0.0757581815, -0.0356652252, -0.0527044795, 0.0135136247, 0.0127017135, -0.0221843552, 0.0244621094, 0.0038723429, -0.0045588692, -0.0066383537, 0.0048383442, -0.0422988944, 0.013123529, -0.0645973831, -0.006521489, 0.0905972719, 0.0812272877, -0.0264285933, -0.0074675945, -0.0707359985, 0.0126278494, -0.0061060251, 0.0099148061, 0.0941695869, -0.0230008289, -0.0276258513, 0.0440663621, -0.0025274695, -0.0139155351, -0.0324741639, 0.0203424674, 0.028576646, 0.0260257665, 0.0217876676, 0.026885068, 0.0500718169, -0.0038450081, -0.0360166766, 0.0134962276, -0.0052225473, 0.0269313231, 0.0128221642, 0.0054107658, -0.0348475762, -0.0402043201, -0.0675623491, -0.0429553278, -0.0186660327, -0.0470237881, 0.0730111077, -0.0443813652, 0.0091053788, -0.0048280335, 0.0776265264, -0.0373531319, 0.0066137849, 0.0161316395, 0.0171043016, 0.0408555977, 0.0032957632, 0.0631338954, -0.0313296951, -0.0262289923, 0.0143398745, 0.0204553101, 0.0358471237, 0.0025519591, 0.0050813667, -0.0118357986, -0.0251355711, -0.0001540824, -0.0558478422, 0.0134002334, -0.0378108956, 0.0315677077, 0.0463311449, 0.0203542393, -0.0460842438, 0.0003247486, 0.0021159193, -0.0180948339, -0.0640120506, -0.0192523152, -0.0045399326, 0.0365860686, -0.0190440286, -0.0099227428, -0.0373257995, -0.0143498154, 0.0348938331, -0.0172270183, -0.0154314395, 0.0502083823, 2.476e-7, 0.0841491893, 0.0397836864, 0.0409657694, -0.0007805141, 0.039176438, 0.0039170883, -0.0390324481, 0.0049444111, 0.0099032093, -0.0361698307, -0.0419829972, 0.0199634973, 0.0305579379, 0.0505636446, -0.0383384638, -0.0186840203, -0.0027053608, 0.0416451469, -0.0344807692, 0.0178491306, 0.065851979, 0.0643928424, -0.0711549446, 0.0215584598, -0.0392399691, -0.0248847622, 0.0662734285, -0.0039790305, 0.0106124338, 0.0270737782, 0.0102757728, 0.0268211029, 0.0377985686, 0.0435242355, 0.0205371585, 0.0186240729, 0.0442660227, 0.0470016189, -0.0164799709, -0.035963431, 0.0079630716, 0.0088864127, -0.0440143496, -0.0703794286, 0.0703905746, -0.0439893529, -0.060294278, 0.0180647857, -0.0332843252, 0.0624088868, -0.0057455162, 0.0069662477, 0.0145917041, 0.0568510406, 0.0442064442, -0.0368381441, -0.031013621, -0.0092861829, -0.0394393355, 0.0347317383, 0.0103152813, -0.0012162058, -0.0217612348, -0.0120422244, 0.0224461891, -0.0544112325, -0.0223471187, 1.606396256e-34, 0.0410036035, 0.0092717446, 0.0227142852, 0.0592456833, 0.0149949733, -0.0595381856, -0.0364776552, 0.0276181512, -0.0292056259, -0.0347093642, -0.0083246185 ]
http://arxiv.org/abs/2406.13444v2
http://arxiv.org/pdf/2406.13444v2
VDebugger: Harnessing Execution Feedback for Debugging Visual Programs
2024-06-19T11:09:16
2024-06-27T17:09:24
Xueqing Wu, Zongyu Lin, Songyan Zhao, Te-Lin Wu, Pan Lu, Nanyun Peng, Kai-Wei Chang
cs.CL
cs.CL, cs.CV
Visual programs are executable code generated by large language models to address visual reasoning problems. They decompose complex questions into multiple reasoning steps and invoke specialized models for each step to solve the problems. However, these programs are prone to logic errors, with our preliminary evaluation showing that 58% of the total errors are caused by program logic errors. Debugging complex visual programs remains a major bottleneck for visual reasoning. To address this, we introduce VDebugger, a novel critic-refiner framework trained to localize and debug visual programs by tracking execution step by step. VDebugger identifies and corrects program errors leveraging detailed execution feedback, improving interpretability and accuracy. The training data is generated through an automated pipeline that injects errors into correct visual programs using a novel mask-best decoding technique. Evaluations on six datasets demonstrate VDebugger's effectiveness, showing performance improvements of up to 3.2% in downstream task accuracy. Further studies show VDebugger's ability to generalize to unseen tasks, bringing a notable improvement of 2.3% on the unseen COVR task. Code, data and models are made publicly available at https://github.com/shirley-wu/vdebugger/
[ 0.0042472202, 0.0423057526, -0.0074828211, 0.0500385053, 0.0211341828, 0.0430901907, -0.0064223344, -0.0065606786, -0.015375929, -0.0356894732, -0.0070403647, 0.0374702141, -0.0028645098, 0.0359674171, 0.0421821959, -0.0705604032, 0.0330710039, -0.0299217217, 0.0263910815, 0.0319480747, 0.0099243456, 0.0029830828, -0.0079690497, 0.0643250123, -0.0351230316, -0.0426725484, -0.0326674767, 0.0337263234, 0.0308715478, -0.0144996615, -0.0277704243, 0.0124715203, 0.0476686582, 0.0131558925, 0.0000021018, 0.0164226908, -0.0187621582, -0.0040032873, -0.011791327, -0.0145101054, -0.0238381252, -0.062174432, -0.0071766758, 0.0272986684, -0.0237761736, -0.0651396289, 0.0347727276, 0.012239865, 0.1020270288, 0.0494573787, 0.0079509234, -0.0064464035, -0.0309323538, -0.00245733, 0.0161734056, -0.0373661481, -0.0206045061, 0.0829260349, -0.0390605927, -0.0233046766, -0.063298136, 0.0191342533, 0.0382007845, -0.0332806371, -0.0023726043, 0.0075850454, -0.0047450201, -0.0378591418, -0.003759183, 0.0348126143, -0.0482558087, -0.0057895756, -0.0096439142, 0.0116153704, 0.0037969593, -0.0441616215, -0.051721666, 0.028654132, -0.0275623649, -0.0071963132, -0.0325557403, -0.0255847573, -0.0080613922, -0.0262738802, -0.0251459479, -0.0257529486, -0.0488423593, 0.0155084943, -0.019117916, 0.0288207568, -0.0414748043, -0.0440241136, -0.0039424943, 0.0334980525, -0.0507323705, 0.0048652841, -0.0288349316, -0.0307121836, -0.0353265181, 0.0233714189, 0.0654689968, 0.0355206355, -0.0190762673, 0.0431541167, -0.016315436, 0.0852790326, -0.0098844524, 0.0489430912, -0.0170568377, -0.0046293596, -0.0498609059, -0.0113540478, -0.0416975915, -0.0239810795, -0.0254448503, 0.004066241, -0.0026933108, 0.0011224758, -0.0417814851, 0.0762499869, -0.0622610301, 0.0192089044, -0.0233698189, 0.0278943926, -0.0283466987, 0.0213835742, -0.030928025, -0.0235508848, -0.00548374, -0.0349267721, -0.0504607968, 0.0274134856, -0.0275148209, -0.021923827, 0.0009520127, 0.0432126559, -0.0089893835, 0.0175356623, -0.0084299631, -0.0469159, 0.0002993175, -0.0367720835, 0.0156616904, -0.0739220977, -0.0002008709, -0.0165995546, 0.0000400913, -0.0382317863, 0.0282506701, 0.0143243065, 0.0042317803, 0.0858518034, -0.0360760503, -0.0255299676, -0.0076109706, 0.0156026566, -0.0098463874, 0.049935922, 0.0136702983, 0.0379045568, 0.0086484998, -0.0210462362, 0.0505634211, -0.0090400083, 0.028315248, -0.0164616723, -0.0592580214, 0.0123016238, -0.0130119603, -0.0000915233, 0.0615853332, 0.0148567725, -0.0519410074, -0.0195815153, -0.0072983699, -0.0050451956, -0.0122810099, -0.0093991021, 0.0674156323, -0.0124829598, 0.0050440733, -0.0002947137, -0.0931502655, 0.0468949154, 0.0263136383, -0.0266150944, -0.0360720493, -0.0129222795, -0.0134613644, -0.0718372092, 0.0123441648, 0.0278516263, 0.0016205983, 0.0126459235, 0.0487876423, 0.0455073565, -0.0311727058, -0.0017592452, -0.0188838206, -0.0147701744, -0.0516211092, -0.0318951756, 0.0403338373, 0.0751610845, 0.0279623102, -0.0169827305, -0.0285792891, -0.0010303243, -0.0033076019, -0.0541703925, 0.057878755, -0.0045198444, 0.0065464322, -0.0281079765, -0.0264716744, -0.0696496964, 0.0174245425, 0.0313821547, 0.0348552652, -0.0211446639, 0.0050858706, -0.0083213132, 0.0013671487, 0.0286188927, 0.095188126, -0.0131033249, -0.0216843504, 0.0054303268, -0.0222100988, -0.0239132978, -0.0203964021, -0.0063211941, 0.0141925486, -0.0215107426, 0.0061915843, 0.0142462617, -0.0147099141, -0.0782016367, 0.0203723647, -0.0614165887, -0.0609006286, 0.0495315902, -0.0742007792, 0.0013662347, 0.0660794601, -0.0290023983, -0.0513047911, 0.0038329025, -0.0021850532, -0.0083628809, -0.0344556682, -0.0335665494, 0.0414689071, -0.0114201922, -0.029878743, -0.0210177507, 0.046547249, 0.0223950315, -0.0396101698, 0.022150496, -0.0178529304, -0.0225525573, 0.001746422, -0.0261547528, 0.0205900483, -0.0306618791, 0.0112836622, -0.076622799, 0.0123908222, -0.0301635694, -0.0105088251, 0.0017427512, -0.035467647, 0.0185666457, -0.0461034514, 0.008951013, 0.0309238099, 0.0213129502, -0.0240086876, 0.0264264699, -0.0029036568, -0.0126236081, -0.0457926989, -0.0157302525, -0.030052945, 0.028361911, 0.0063942671, -0.0043300455, -0.0604991168, 0.0204957668, 0.0069038766, 0.0626993403, -0.0175700709, -0.0006633049, 0.0383514129, -0.012150825, -0.0178144779, 0.0930999294, -0.0573451109, 0.0710769743, 0.0177615639, 0.003337899, -0.0702079386, 0.0451573618, 0.0596771426, -0.0394439287, -0.0002897897, -0.0183575861, -0.0577637404, 0.0682950839, -0.0163406264, 0.01884095, -0.0446139611, 0.0732693598, 0.0020346274, -0.0227442905, -0.0281600691, -0.0287217163, 0.0444116928, 0.0505997352, -0.0474556126, -0.0776595995, 0.0581862107, -0.0088448264, -0.01598645, 0.0335151218, -0.0021559533, -0.0150399078, 0.0878117457, 0.0353495777, 0.0028988614, -0.0205627792, -0.0298665334, -0.0183259752, -0.0218795575, 0.0218252968, -0.0182374418, 0.0699820444, -0.0745351836, -0.0372003801, -0.0231683291, -0.0346330032, -0.0413641408, 0.013500887, -0.0475224219, -0.0198564176, -0.0066331849, -0.0165301785, -0.0219680332, -0.012497535, 0.0047180932, 0.0193885528, 0.0132442703, -0.0411845632, -0.0271294583, -0.039144624, 0.0219926797, 0.0141937807, 0.0094920658, -0.0454501398, 0.0177967269, 0.0804085284, 0.0291803945, 0.0075166109, -0.0778259411, 0.0252271891, -0.0110542281, 0.0432688072, -0.0147169018, -0.0136798685, 0.0971386507, -0.1024164706, -0.0453093648, 0.0377876498, 0.0231465027, -0.0089507392, 0.0044293869, 0.0002892719, 0.0233807527, 0.0815269202, 0.060944479, -0.1026613042, -0.0712682083, 0.0107167158, 0.0419339687, 0.0286264941, 0.0030114197, 0.0005323007, -0.0811996162, 0.0655680075, 0.0082772598, 0.0105215628, -0.0360410661, 0.0014783787, -0.0286247507, -0.0202523116, -0.0225800369, 0.0089489464, 0.0262234993, 0.0376360342, 0.0189945959, 0.016752556, 0.0158979762, 0.030960029, -0.0183436051, 0.0010897774, 0.0641053468, -0.0432776287, 0.0262749642, 0.0018074565, 0.0159457829, 0.0338793658, 0.0324673615, -0.0192465223, 0.0866784006, 0.0090031121, -0.0434767865, 0.0079913689, -0.0083893193, -0.0257533342, -0.037177667, 0.0246701818, 0.049501311, -0.0174501222, -0.0140936095, -0.0230470002, -0.0012520601, -0.0222914312, -0.0134877358, 0.0511068814, 0.0139998496, -0.0884048343, -0.0528144464, -0.0023361298, -0.0993744433, -0.0326184146, 0.0184793957, 0.0373613276, -0.0288453382, -0.0127760544, -0.0124062113, 0.054959666, 0.054440815, -0.0243274644, -0.108279191, -0.0053936229, -0.0015560314, -0.0844800174, 0.0727500767, 0.0050931531, 0.0467945449, 0.0136994999, 0.018357059, -0.0406101421, 0.0164200924, -0.0139961373, 0.0532193966, -0.0579777136, 0.0025311236, -0.0422408506, 0.1041635349, 0.0113705788, 0.0661791191, -0.0132115921, -0.0141113233, -0.0581153631, -0.0140693253, 0.0179913137, -0.0160478037, 0.0239890516, -0.0638501495, 0.0031334283, -0.014572069, -0.0237997398, 0.0069945185, 0.0151528595, -0.0036964472, -0.0243413318, 0.0330837071, 0.0309775919, 0.0015474003, 0.044597581, 0.0263851304, 0.0286029652, 0.0132060144, 0.0216096733, 0.0083608991, -0.0233333837, -0.076610446, 0.0394517668, 0.0191848073, -0.0515839197, 0.0420213193, -0.0252790153, 0.0042931936, 0.0070883152, -0.0331189558, 0.0311797466, 0.0287337676, 0.024007462, 0.0106186932, 0.0165961031, 0.009817319, 0.0291564967, 0.0374682248, 0.0734425858, -0.0024016448, 0.0674777552, 0.0510183647, 0.0389419757, -0.0093508475, -0.0088801067, -0.0184028111, -0.0531659573, 0.022236621, -0.0020028565, 0.0641641244, 0.0229995903, 0.0108233467, 0.01427045, -0.0040345723, 0.0214290097, 0.0230749063, 0.0005225884, -0.0502993278, 0.0254775826, 0.0533257239, 0.0178080313, -0.0838898793, 0.0383028872, -0.0024962989, 0.030080203, -0.0181091353, -0.0299021825, -0.0388474353, -0.0139719108, 0.0282925479, -0.0254037436, 0.0241179187, 0.0057550631, -0.0106413197, -0.0953814611, -0.0165455714, 0.0680232346, 0.0058909995, 0.022725692, 0.0098840762, 0.0229176693, 0.0234496184, -0.0640931576, 0.0054680579, 0.0083040409, 0.0057684649, -0.0269483719, -0.0149020525, -5.439459784e-33, -0.0470467508, -0.0646047816, 0.0405886285, -0.008254665, -0.0238369722, -0.0123905931, -0.0412931256, 0.0221536364, 0.0081518907, 0.0363661423, 0.0225270335, 0.0355676487, 0.0012552864, -0.0188728012, 0.0188898668, -0.0080510844, 0.0449693054, 0.0466931015, -0.0633225143, -0.0028262364, 0.0080278646, 0.0127882306, 0.0273727961, -0.0877806023, -0.0160366539, 0.0442675725, -0.0353685617, 0.0512943454, -0.0057721459, 0.0336330682, 0.0207583942, -0.0093230736, -0.0147044156, -0.0277540553, -0.0315589085, -0.0276008043, -0.093530558, -0.0134088118, -0.0018603508, 0.0768925771, -0.0771866068, -0.0005448017, 0.0309907328, 0.021316709, 0.0340016298, -0.0301949419, 0.0175957456, -0.0195031073, 0.0340731703, 0.0415798537, -0.0277876537, -0.0027624872, -0.0706952363, -0.041344665, 0.0328448191, 0.0334405527, 0.0281330291, -0.0007105347, -0.0503063053, -0.0197776388, 0.0354328528, -0.0211155489, 0.0804129615, 0.0455810986, -0.0084374296, 0.0353683978, 0.0403786898, 0.0114968903, -0.0505162962, 0.0060129026, 0.0047694114, 0.0635758936, 0.0659747571, 0.0110313427, 0.037972562, 0.0301137269, -0.0384648703, 0.0017095626, -0.0728537515, 0.0715541616, -0.0152334739, 0.0003703111, -0.0023893185, -0.0062231096, -0.0448990799, 0.0102687003, -0.0333304852, 0.0038471778, 0.0515230149, 0.0431057513, -0.0130294329, 0.013218672, 0.0033746224, -0.0422192104, 0.029490117, -0.0156303048, -0.0210233349, 0.0160590727, -0.0289169904, 0.0139420005, 0.0101134116, -0.0044043725, 0.0292106681, -0.0012826504, 0.0748110414, 0.0081387255, 0.0668000579, 0.0160524696, -0.033934325, 0.0071065947, -0.0501520224, 0.0412350893, -0.0113989012, 0.0343263224, -0.0041518696, -0.0147350151, -0.0495865121, 0.0163818467, 0.0079253837, -0.0019047627, -0.0233258009, -0.0032407651, 0.0043150098, 0.0120083503, -0.0368447229, -0.0354809836, -0.0369746052, -0.015335002, -0.0057417355, -0.0612435527, -0.0106915701, 0.0350819789, 2.592e-7, 0.0377986953, 0.0414783917, 0.0303107761, 0.0508966818, 0.0061453059, 0.0769546852, 0.0009206188, -0.0137662068, 0.0322138444, -0.0372000188, 0.0024380593, 0.0550057553, 0.0225205608, 0.0357870646, 0.019567281, 0.0307689402, 0.017463807, -0.0083201863, -0.0323267207, 0.0153804086, 0.050192602, 0.0642656684, 0.014934659, -0.0210296512, 0.1025403142, -0.0163291041, 0.0138536133, 0.0147798806, 0.006384247, -0.0179340374, -0.0130012231, 0.0445427559, -0.0019874587, 0.0218075216, -0.00335959, -0.0424156897, -0.02141927, 0.0423050597, -0.0392483436, 0.0163605604, -0.0228401385, 0.0235529616, -0.0007220196, -0.0446550958, 0.0402905755, -0.0531699173, -0.0026618328, 0.0018001979, 0.0051196832, -0.0235973056, 0.0163789, 0.0088425204, 0.0228826702, 0.0108217737, 0.0261186864, -0.0066240188, -0.0171699654, -0.0452305935, -0.0283773802, 0.0081873843, 0.0158205498, 0.0261897855, -0.0255467147, -0.0018223769, -0.0041060271, 0.0096887667, -0.0483197533, 2.422212639e-34, 0.0279677361, 0.0013311594, 0.0234233439, -0.0180402398, 0.0816722587, -0.0165984463, -0.0664306656, 0.0095049059, 0.0325240754, 0.007519328, -0.0377493948 ]
http://arxiv.org/abs/2406.13443v1
http://arxiv.org/pdf/2406.13443v1
Dual-Phase Accelerated Prompt Optimization
2024-06-19T11:08:56
2024-06-19T11:08:56
Muchen Yang, Moxin Li, Yongle Li, Zijun Chen, Chongming Gao, Junqi Zhang, Yangyang Li, Fuli Feng
cs.CL
cs.CL
Gradient-free prompt optimization methods have made significant strides in enhancing the performance of closed-source Large Language Models (LLMs) across a wide range of tasks. However, existing approaches make light of the importance of high-quality prompt initialization and the identification of effective optimization directions, thus resulting in substantial optimization steps to obtain satisfactory performance. In this light, we aim to accelerate prompt optimization process to tackle the challenge of low convergence rate. We propose a dual-phase approach which starts with generating high-quality initial prompts by adopting a well-designed meta-instruction to delve into task-specific information, and iteratively optimize the prompts at the sentence level, leveraging previous tuning experience to expand prompt candidates and accept effective ones. Extensive experiments on eight datasets demonstrate the effectiveness of our proposed method, achieving a consistent accuracy gain over baselines with less than five optimization steps.
[ 0.0465662517, 0.0517733321, -0.0011603301, 0.0273132864, -0.0383759849, -0.0062851757, 0.0313805118, -0.0384832062, -0.0021063569, -0.0223760512, -0.0421046652, -0.0533496924, 0.0259059668, -0.0044642496, 0.0160066169, -0.0195576232, 0.0633281097, -0.0658906475, -0.0190383419, -0.0295740627, 0.008508998, 0.00477657, -0.0178976469, 0.0422167704, 0.0245458148, -0.0378825366, -0.011924183, 0.0284952652, 0.0223005954, -0.022408586, 0.0306980405, 0.0768745169, -0.0137738148, 0.0427633561, 0.0000021421, -0.0572779067, -0.0043947371, -0.0189033207, -0.0516816936, 0.0477690175, 0.055364538, 0.0033479924, -0.0090917042, 0.0457997657, -0.0092568705, -0.0102193803, 0.0276603904, -0.0092937937, 0.0650243759, 0.0712265, 0.0107748853, -0.0021335317, -0.0011130662, -0.0436397828, -0.0233942587, -0.044771608, 0.0415892117, -0.0568012334, 0.0066599897, 0.0320791379, -0.0154380742, 0.0436423868, 0.0016892717, -0.0159429591, 0.0125744818, 0.0163318291, -0.0272300038, -0.0401361287, -0.0579152294, 0.0867421031, -0.0093613425, -0.0103283664, 0.0076980968, -0.0475487746, 0.0067324284, -0.015964536, -0.0135642206, 0.0388208963, -0.0000517306, 0.0097193904, -0.0066303322, -0.0202319939, 0.0042657321, 0.0081322389, -0.0222874936, 0.0747760758, 0.0299975537, -0.0372878872, 0.0449222736, -0.0156501196, -0.0522711277, -0.0424480513, 0.0109271817, 0.0256774202, -0.0901125893, 0.0145793194, -0.0334561281, -0.0381559432, 0.0105649112, 0.0331922695, 0.0874748006, 0.0355264321, -0.0118308691, 0.0399538353, 0.0027422553, 0.0538386442, -0.0058852383, -0.0097149769, -0.0479653031, 0.0221233852, -0.0169623867, 0.007430146, -0.0539774746, 0.0030103317, -0.045268137, -0.0188532341, -0.0189744234, 0.0453053527, 0.0158710033, 0.002303791, 0.0408404022, -0.0085875532, -0.0178428888, -0.0045977081, -0.0045018354, 0.0239550825, -0.0390548781, 0.0185151473, 0.0036075413, -0.0337142944, -0.0195997451, 0.0292511079, 0.0042738914, -0.018170096, -0.0087797465, 0.0027867274, -0.0293856002, -0.0191221517, -0.0151081849, -0.0061088698, -0.0147266509, -0.0637304932, -0.0189923439, -0.0376071073, 0.0236179791, -0.0053610993, -0.0017450344, -0.0023671333, 0.0054332269, 0.0164372325, -0.0124891102, 0.0621443316, -0.0338905416, 0.0342253074, 0.0156899169, -0.0007788572, 0.009747697, 0.0733669847, -0.0012072163, 0.0420365855, 0.0124853337, 0.0095850062, -0.0210455507, 0.0594366603, 0.0297430661, 0.018944487, 0.0119368667, 0.0041555986, 0.039541211, 0.0439237058, 0.0139724994, 0.0550024807, -0.0158685129, 0.0223164167, 0.0601099208, 0.0150609743, -0.0033541047, -0.0200744234, 0.0565407313, 0.0458778888, -0.0031874692, -0.0019946059, -0.0476835184, -0.0334572978, -0.0260986239, 0.0235882159, 0.0341869593, 0.0479029529, -0.0294374172, -0.0093897805, 0.0080630928, -0.003641153, -0.0477650985, 0.0391046181, -0.0049917181, 0.0077261012, -0.0866286084, 0.0046332045, 0.0256875865, -0.0238577537, -0.0136696137, -0.0303575657, 0.0306234807, 0.0643439963, 0.0322411507, -0.012735148, -0.0278448462, -0.0235082339, 0.04626026, 0.0584001169, 0.0188471228, -0.0158211663, 0.0120839169, -0.0753863826, -0.039333649, 0.0285097342, -0.0046404023, 0.0406458154, 0.011648885, -0.0062726373, 0.0317847244, 0.0367128737, -0.0127693247, 0.0344791859, -0.0417988971, -0.0165425502, 0.0352596492, 0.013751776, 0.0247658435, 0.0223872121, -0.0123635009, -0.0037133943, 0.0098217027, -0.0383554287, -0.0048712883, -0.032830283, -0.0765927881, -0.0566117391, 0.0238413867, 0.0091028493, -0.0207583364, 0.0364553966, -0.0224729981, -0.0503206253, -0.0424365774, -0.0084195612, 0.0053887041, -0.0531339385, 0.0361355506, -0.0132399909, 0.0381172672, -0.065107666, 0.0340530984, -0.005817465, 0.0127798654, 0.0924977884, 0.0233305469, -0.0144129852, -0.0611761473, -0.0431944653, -0.0072175357, -0.0021365047, 0.0210761428, 0.0302714054, 0.0343219526, -0.0285112727, -0.0336593464, -0.1060675383, 0.0442638434, -0.0413287468, -0.0066637476, 0.0028125406, 0.0236088224, -0.0480470583, -0.0006772929, -0.0075611509, 0.0129293231, -0.0092843166, 0.0276930369, 0.0232266895, 0.0203585923, -0.0268160366, -0.0250907056, -0.0095018456, 0.0029322421, 0.0119986096, 0.0017574723, 0.0053938115, -0.0424982905, 0.0491240844, 0.0132939657, 0.0143156014, 0.0009039753, -0.0093671335, -0.0229283758, -0.0068240953, 0.08197736, 0.0601547547, 0.0220488422, -0.0168607496, 0.0144530125, 0.002177591, -0.0714108348, 0.0227793455, -0.0377196819, -0.0444318391, -0.0144604836, -0.010079138, 0.0282950234, 0.092780076, 0.0241404101, -0.0192865152, -0.0406429954, 0.0053969189, -0.0110797519, -0.0209883098, -0.0658182129, -0.0042080493, -0.0402094685, 0.0175927393, -0.0232173428, -0.036550995, 0.0805881992, -0.0564489476, -0.0122343739, -0.0413404182, -0.0017742595, -0.0392130353, -0.0051594693, -0.0095649818, -0.021435231, 0.0315370969, -0.0398411341, -0.0391521566, 0.0235027932, 0.0393744782, -0.0085244682, 0.0302971136, -0.00595407, -0.000224674, -0.0275465958, -0.0550953895, -0.0528589301, -0.0770414099, -0.0013997505, 0.0030743501, 0.0335205644, 0.0121456115, -0.0367541425, -0.0014549232, -0.0024991841, 0.0635512248, -0.0517923906, 0.0194775146, -0.0461038053, 0.0157067254, 0.0741507411, 0.0167763345, -0.0082493927, -0.0364892781, 0.0632282943, -0.0153120421, 0.0449215248, 0.0035909507, -0.0200084373, -0.0028418894, 0.0550533421, -0.0297623742, -0.0103740608, 0.0430785567, 0.0521250479, -0.0364377089, -0.0106225852, 0.1197877079, 0.0282942243, -0.0725210831, -0.0158316735, 0.008953834, 0.0526005663, 0.022607306, 0.0134324878, -0.0650608167, -0.0515175164, 0.0196816772, 0.056555327, 0.0021031282, -0.0126089584, -0.0219158661, -0.1340091079, 0.0294114351, -0.0103671458, -0.0070313266, 0.0050548567, -0.0465582535, -0.0003763243, -0.0091143223, 0.0524864979, 0.0341893584, -0.0243270602, 0.0112723252, 0.0102598136, -0.0214719251, -0.0499319434, 0.0073415698, -0.0241548549, 0.0626255423, 0.0805398226, -0.011851741, 0.0183365904, -0.0246293694, 0.0746489242, -0.0138438605, -0.018781215, -0.027739739, -0.0125440117, -0.0259881113, -0.0035587482, -0.0041882191, 0.0473707393, -0.0200103689, -0.0062157819, 0.0472466797, 0.0706506744, -0.0032173651, 0.0087069282, -0.0096712774, 0.0057421611, 0.0659356117, 0.0899836347, 0.0397813916, -0.0931856632, -0.0178037416, -0.0063239285, -0.0111696208, -0.0568678342, -0.0173282735, 0.0231550373, 0.0117259696, 0.0014428055, -0.0427725129, -0.0260935687, 0.0113913259, 0.0311960522, 0.015528691, 0.0159341227, -0.0336231515, 0.0015685766, -0.0379445329, 0.0492260642, -0.0392762907, 0.0170284957, -0.1188094839, -0.008906831, 0.0170392394, -0.0369739085, -0.0203942787, 0.0478814878, -0.0945547968, -0.0745161697, -0.0113976365, 0.036210604, 0.0118204467, 0.0462101512, -0.026795214, -0.0579974465, 0.0635089725, 0.0210109539, -0.0126954308, 0.0056558838, 0.0068779243, 0.0183078721, -0.0300799385, 0.0352060013, -0.0253095794, 0.0248417798, 0.0381380282, 0.0592095815, 0.0370959677, -0.0692901015, 0.0096891634, 0.068371512, 0.0691943243, -0.0352706946, -0.0409806818, -0.0561528169, 0.0352329127, 0.0123486826, -0.0097008143, -0.0330281258, 0.0319823027, 0.0296877492, -0.046455171, 0.0084836232, 0.0112451036, -0.0074866586, 0.0300648585, -0.0696720332, 0.0227823723, -0.0285859127, 0.0268176384, 0.0556648895, -0.0003627636, -0.0061365287, 0.0389559269, 0.0401261747, 0.0019199345, -0.0133723198, 0.0577392206, 0.0317817032, 0.0139394281, -0.0195827708, 0.0292310789, -0.0449394286, -0.0383332409, -0.0190177225, 0.0430455357, 0.0554679483, 0.0240909494, 0.020100221, 0.00812326, -0.0041361144, -0.0509772338, 0.0417704731, 0.0214320198, -0.047421515, 0.0369024351, 0.0122030145, -0.0250822604, 0.0248836856, 0.0625611842, -0.0321574919, 0.0229839329, -0.0051784874, 0.021976009, -0.0658784583, -0.0261172708, -0.006157422, 0.0065839263, -0.0591359995, 0.0141803194, -0.0260959081, -0.0280587506, 0.0169003271, 0.003028268, -0.0298871994, 0.0139036272, 0.0566580892, 0.0335646234, -0.0400765091, -0.0065162606, -0.0360819213, 0.0004724154, -0.0175580811, -0.0400626957, -0.0022357823, -6.463512993e-33, -0.0289871097, 0.0157030281, 0.0130614145, -0.0169457477, -0.0419053063, 0.0118513256, -0.0176809356, 0.0128612556, -0.0024502883, -0.0146609051, -0.0501938164, -0.0130643388, 0.0291308705, 0.0368012339, -0.0253134649, 0.0041660578, 0.0509092622, -0.0138399834, -0.0643277094, 0.0247458816, -0.0051618833, 0.0555524305, -0.0163888168, 0.0235017259, 0.0172760133, -0.011012909, -0.0267414991, 0.0256935712, -0.0025735265, 0.0457485951, -0.0371347144, 0.0570984259, -0.0005850334, -0.071599111, -0.0347593576, 0.0689259619, -0.0519633628, -0.0153170601, 0.0387765318, -0.0000996861, -0.0504377112, -0.0468881838, -0.0274985433, -0.0167029593, -0.029099131, 0.009087136, 0.0222728737, -0.008951325, -0.0293560326, -0.031110948, -0.0331683792, 0.0019974867, -0.0128328726, -0.030289907, 0.0257887896, 0.0453963876, -0.0039907931, 0.0235279091, -0.0036922649, 0.0213170014, 0.021500282, 0.0564659275, 0.0555459149, 0.0534044355, 0.003864503, 0.0238598604, 0.039022103, -0.0006435054, 0.003299817, -0.0090357689, 0.0329980962, -0.0150153209, -0.0029755102, 0.0343523286, -0.0261907391, -0.020223707, -0.0579401515, 0.0122312894, 0.0433219485, -0.0164568648, 0.039594382, -0.0114239193, 0.0097520025, -0.0271786209, -0.0782442093, 0.0043541519, -0.0431635641, 0.0244340356, 0.0496379398, 0.0303533338, -0.0291030034, -0.0311719049, 0.0632101297, -0.0228794087, 0.014457413, 0.0212566834, -0.0018487587, 0.0048254877, -0.0020076337, 0.0550869554, -0.0800292864, -0.0263118912, 0.0137853436, -0.0084613012, 0.0160101019, 0.0106073963, -0.0029932188, 0.0109489691, -0.0610217117, 0.0057540638, -0.0248088427, 0.0473377369, -0.0155586265, 0.0205043051, 0.0350957215, -0.0130919982, 0.007076581, 0.0894639865, 0.0163847227, -0.0214697476, -0.0201605354, -0.0296799745, 0.0092696203, 0.0287356619, -0.01761516, 0.0305902492, 0.0062544825, 0.0102682887, 0.0006782464, -0.0341513045, -0.0102761537, 0.0165519454, 2.682e-7, 0.0090109846, 0.0594901964, 0.0183921009, 0.0381543711, -0.0019492966, 0.0041953297, -0.0115387226, 0.0075151194, -0.0026530924, -0.010355534, 0.0277653746, 0.0122247059, 0.0642596707, -0.0375555493, -0.132350862, 0.001224733, -0.0589438938, 0.04790546, -0.0851571634, 0.0095554609, 0.01389468, 0.0945517942, -0.0215691347, -0.0097120814, -0.01606928, 0.0097928345, 0.0374870375, -0.032355804, -0.0203120783, 0.0536189154, 0.035184104, -0.0254457965, -0.0196330082, 0.0205051601, -0.0072077536, 0.0380202644, -0.0023342087, 0.0851244181, 0.0363965891, -0.0266613811, 0.0047510811, -0.0037744085, -0.0117594581, -0.0263512451, 0.0792675689, -0.0366572328, 0.0042680474, -0.0407625064, -0.0048044859, -0.0476172902, 0.0197921991, -0.0611196309, -0.0000662678, 0.0114342617, 0.0260671731, -0.0015064516, -0.0197883844, -0.0695132092, 0.0108705685, -0.0086953696, -0.0549959168, -0.05283482, -0.0336395539, -0.0074930531, 0.0320343226, -0.0901031792, 0.01172949, 2.71111586e-34, 0.0645188689, -0.0387776271, 0.0260825697, 0.007996154, 0.0097652962, -0.0229156911, -0.0127051612, 0.0166550782, 0.0237364881, -0.1263290793, -0.0427734666 ]
http://arxiv.org/abs/2406.13439v1
http://arxiv.org/pdf/2406.13439v1
Finding Blind Spots in Evaluator LLMs with Interpretable Checklists
2024-06-19T10:59:48
2024-06-19T10:59:48
Sumanth Doddapaneni, Mohammed Safi Ur Rahman Khan, Sshubam Verma, Mitesh M. Khapra
cs.CL
cs.CL
Large Language Models (LLMs) are increasingly relied upon to evaluate text outputs of other LLMs, thereby influencing leaderboards and development decisions. However, concerns persist over the accuracy of these assessments and the potential for misleading conclusions. In this work, we investigate the effectiveness of LLMs as evaluators for text generation tasks. We propose FBI, a novel framework designed to examine the proficiency of Evaluator LLMs in assessing four critical abilities in other LLMs: factual accuracy, instruction following, coherence in long-form writing, and reasoning proficiency. By introducing targeted perturbations in answers generated by LLMs, that clearly impact one of these key capabilities, we test whether an Evaluator LLM can detect these quality drops. By creating a total of 2400 perturbed answers covering 22 perturbation categories, we conduct a comprehensive study using different evaluation strategies on five prominent LLMs commonly used as evaluators in the literature. Our findings reveal significant shortcomings in current Evaluator LLMs, which failed to identify quality drops in over 50\% of cases on average. Single-answer and pairwise evaluations demonstrated notable limitations, whereas reference-based evaluations showed comparatively better performance. These results underscore the unreliable nature of current Evaluator LLMs and advocate for cautious implementation in practical applications. Code and data are available at https://github.com/AI4Bharat/FBI.
[ 0.0153447445, 0.0364791229, -0.012929474, 0.0141716562, -0.0454955772, -0.012109844, 0.0245501716, -0.0126805315, 0.0159161687, -0.0789098144, -0.0074221664, -0.0414070897, 0.0110162571, 0.020253472, 0.0294307489, 0.0029769272, 0.0451703705, -0.0389882512, 0.0303781405, 0.0089198686, 0.001383143, 0.0147359464, -0.0054138992, 0.0398828164, 0.0317709148, -0.0411596932, -0.002480153, -0.0109899454, 0.0219094753, -0.0190210268, 0.0087840194, 0.0624527894, -0.0326720551, 0.0040452108, 0.0000022643, -0.0482678562, -0.0127167189, 0.0011009157, 0.0044937031, 0.0623739995, 0.0085131917, 0.0341581292, -0.0193114094, 0.0322348587, -0.0464484841, 0.006306638, -0.0007633484, -0.0090975566, 0.0914795846, 0.0533662774, 0.0213090684, 0.0293186605, 0.0280950312, 0.002499941, 0.0307045504, -0.0095387865, -0.004521268, 0.0376939178, 0.0226128958, 0.0023878999, -0.0091613214, 0.0173226967, 0.0344363376, -0.0300479326, 0.0230665989, 0.0200689174, -0.0272865742, -0.0180991888, 0.0039642649, 0.0368373692, 0.0030228659, -0.0245759189, -0.0106212422, -0.0208515748, 0.0060514472, -0.0022024005, -0.0342937782, 0.0489921197, -0.0071543264, -0.0059229918, 0.0269876532, 0.0033903562, 0.0195476189, 0.0153586641, -0.0056470851, 0.0658308789, -0.007421914, -0.0404348783, -0.0302123073, 0.0201280136, -0.013111895, -0.0885858312, 0.0206330009, 0.0509420708, -0.0429465584, 0.0252142213, -0.0443927683, 0.0097059095, 0.0554997921, -0.0196719244, 0.0572623126, 0.0129098054, -0.0019079908, 0.0039729541, -0.0363903642, 0.1168514192, 0.025083553, 0.0342988297, -0.0500964671, 0.034077201, -0.0441031866, -0.0377985463, 0.0333061144, 0.033526428, 0.0051675094, -0.0015779865, -0.0658625662, -0.0032009517, -0.0305428654, 0.0325053744, 0.006654663, 0.0096176555, 0.014205344, 0.0168119594, -0.040317893, 0.0164211318, -0.0129972193, 0.0219297912, 0.0366015658, -0.0519890338, 0.0176859684, 0.0315393582, -0.0060654967, -0.0013816038, 0.0126608852, 0.0574939623, -0.01278501, 0.0073906737, -0.0332837328, -0.055422321, -0.0349495821, -0.0766008571, -0.0169429369, -0.0891673788, -0.0261523537, 0.0244978629, -0.0036703362, -0.0490412824, 0.0174973328, 0.0520906933, 0.0289038308, -0.0127230724, -0.0130669428, 0.0164149832, 0.0118472399, 0.0240316838, 0.0007212154, 0.0341055878, 0.0689767525, 0.0292934626, 0.0168089326, -0.0296182185, 0.0388294011, 0.0290793832, 0.0027398763, -0.0152438581, 0.0036708475, 0.0038956814, -0.0296101011, 0.0236099903, 0.0016136926, 0.0606089942, -0.009252931, 0.0495573245, 0.0597288944, 0.0252854154, 0.0353003517, 0.0114634391, 0.0705552697, 0.0188774988, 0.020403862, 0.0312950425, -0.0300817396, 0.0190960392, 0.0005621114, 0.0131043773, 0.0231161881, 0.0363605358, 0.0118522849, -0.0989879742, -0.0107830856, 0.0117648765, -0.003261192, 0.0182750095, 0.0190331861, 0.0100706145, -0.0390436426, 0.0390143096, -0.0192659292, -0.0742258579, 0.0508036911, -0.0446727015, 0.0468306169, 0.0890721157, 0.0667338744, 0.002052729, -0.012200742, -0.0150822392, 0.0021988414, 0.0230427273, 0.0312898532, -0.0053321752, -0.0188572723, -0.0493586995, -0.0042364872, -0.0332770459, 0.0265052225, -0.0076795444, -0.0055135172, 0.0008929571, 0.0507289246, -0.0565397479, -0.0909663439, 0.0398759618, -0.0270604715, -0.0197317954, -0.0088909017, -0.0161264632, 0.0110500054, 0.024548335, -0.0175688248, 0.0547276288, 0.0106923832, -0.0323292799, -0.0045370585, -0.0156622268, -0.0270089339, -0.0091495533, 0.0422090925, -0.0454623289, 0.0110400803, 0.0327516533, -0.0194956549, -0.0451909527, 0.0110332584, -0.0500910282, -0.0198887307, -0.0196308009, 0.0318895914, -0.0158379078, -0.0213482231, -0.0447547212, 0.0554290563, -0.0081151593, 0.048585806, 0.0137287881, 0.0259815212, 0.0165928584, -0.032606326, -0.0205502007, 0.0016882888, -0.0251141004, 0.0314382836, 0.0230184514, 0.057604149, -0.0475552604, -0.047841236, -0.0746856853, 0.0107079167, -0.0274977442, 0.0368600711, 0.0379463546, -0.0498422012, 0.0036127726, 0.0591298863, -0.0649913028, -0.0377804823, 0.0507500507, 0.0032425658, 0.0306351781, -0.0194774289, -0.007852084, -0.0384834968, -0.0106906416, -0.0350784212, 0.0369814895, 0.0460944809, 0.0166682471, -0.0602883622, 0.0530779846, -0.0538323261, -0.0471053682, 0.0193496179, -0.0376698785, 0.0270503182, 0.0079728449, 0.0239329319, 0.0426685959, 0.0249558538, 0.0179590601, 0.0507235043, -0.0387889519, -0.0573646165, -0.0106249182, 0.0267232936, 0.0043293159, -0.0125247566, -0.1033219397, 0.0162911508, 0.0553307384, 0.0331943035, -0.0037336391, -0.0530276857, 0.0432706773, -0.0766524225, -0.0336451158, -0.0230631866, -0.0155478315, -0.0195294116, 0.0484544747, -0.0115350597, -0.0611229688, 0.0635088608, -0.0656111166, 0.0050236578, -0.0275515728, 0.0021279443, -0.0640497133, 0.0327016599, -0.0019180302, 0.0060937684, -0.0094336597, 0.0116077773, -0.0556934327, 0.0143046258, 0.0105497269, -0.0699567348, 0.0378459729, -0.0800460428, -0.0136947893, 0.0001555245, -0.0045659747, -0.0249147844, -0.0248066317, 0.0106671927, 0.0151901422, 0.0265173689, 0.009525694, -0.0131878294, 0.0043952726, 0.0410706252, 0.014606148, -0.0479739681, -0.0016035653, -0.0313349441, 0.0172816366, 0.0460367389, -0.0173519067, 0.0489733256, -0.0656056032, 0.0104137948, 0.0577833727, -0.0028671729, 0.0360952504, -0.0045768898, -0.0024573652, 0.0138350232, -0.0218749885, -0.0308409557, 0.0481319726, 0.0755304992, -0.0808187574, -0.0409460366, 0.1050850749, 0.0292981975, 0.0162317604, 0.0204747021, -0.0190316364, 0.0297701526, 0.017414473, 0.0379087888, -0.0600821115, -0.018440865, -0.0201667454, 0.0638729036, -0.0433780588, -0.0176506937, -0.026218066, -0.1171654314, 0.0512544326, 0.0183400363, 0.0066284039, -0.0040955138, -0.0101077743, -0.0266225282, 0.0039629918, 0.0049790996, 0.0377897024, -0.0066554369, 0.0328659266, 0.0410997793, -0.0700198263, -0.0448184386, 0.0302785616, -0.0109540708, 0.0406097993, 0.064133361, 0.0179420039, -0.0099630347, -0.0535388179, 0.019644497, -0.0548375174, 0.0066791922, 0.0043758294, -0.003736347, 0.0110850316, 0.0203102361, -0.0456508771, 0.0169432759, -0.0159546789, -0.016133897, 0.0402437896, 0.0781204104, -0.0162756499, -0.0263179764, -0.0211570133, 0.0315940976, -0.013909285, 0.0649013221, 0.04925818, -0.0570759773, -0.0624758266, -0.0470298566, -0.0168429296, -0.0870459005, -0.0379321389, 0.0376081914, 0.0103515089, 0.0039528506, -0.0790799558, -0.0489987582, 0.0226496737, 0.0184473265, 0.0065728975, 0.0180215053, -0.0145580526, -0.0265661106, 0.0007870918, 0.0122541264, -0.008684624, 0.0352309868, -0.0601380654, 0.0140558155, -0.0048172101, -0.0342678502, -0.0161999632, 0.0099384887, -0.0721703023, -0.0529593565, -0.0172746032, 0.0618637986, 0.0246568937, -0.0174487773, 0.0078631938, -0.0518772751, 0.0289189406, 0.0122181782, -0.0371641405, 0.0564580858, -0.009261664, -0.0082734693, -0.0014433931, -0.0083925705, -0.0317488648, 0.0107860165, 0.0084597617, 0.0588509738, -0.0066336901, -0.0088893771, 0.0252108797, 0.0418643095, -0.0087575726, -0.0199548621, -0.0022626386, -0.0213158689, 0.0056425272, -0.0271651, -0.0399403349, -0.0475822277, 0.0009651054, 0.0119589027, -0.0331274681, 0.0114385122, 0.0058680652, -0.0372839533, 0.0450703353, -0.0310201924, 0.0509373695, -0.0129456995, 0.0141954236, 0.0101743117, -0.0343106166, -0.0491298772, -0.0042565856, -0.0441709235, 0.0539102033, 0.0283492468, 0.060174033, -0.0210769493, 0.0113424398, 0.0277852714, 0.0379708298, -0.0457758233, -0.037142355, -0.0173338894, 0.0124663375, 0.0345796458, 0.0412947424, 0.0702985525, -0.0200812276, 0.0285260603, -0.0438199826, 0.0344363935, 0.0341513306, -0.0475304052, 0.0176065546, 0.0224076007, -0.0153134698, -0.0492723659, 0.0700472072, 0.017754823, -0.0039983382, -0.0273426119, 0.0007325725, -0.0465655364, -0.0518793501, -0.0155218085, 0.0007622246, -0.0114064869, -0.0353278667, -0.0838972926, -0.0574040413, 0.0156779978, 0.0661276504, 0.0371261425, -0.0486672893, -0.0167743135, 0.0705618188, -0.0294838119, -0.0091676321, -0.0729352087, -0.0179007407, -0.0234989952, 0.0130300149, -0.0353256278, -6.273128459e-33, -0.0524889491, -0.0783723071, 0.0437850058, -0.023348147, -0.0048841261, 0.0293237511, -0.0444227383, 0.016155567, 0.0229407586, -0.0022649162, 0.0086038876, -0.0129260225, 0.0000741002, 0.0247741174, 0.012358224, -0.0173682682, 0.0328602158, 0.0345012583, -0.0708653405, 0.0242613964, 0.0119402083, -0.0236732922, 0.0297254995, -0.0340462476, 0.0522483401, -0.0153707275, -0.0408877283, -0.0141328704, -0.0587093122, 0.0649708286, 0.0152397929, 0.0452875979, 0.0296532772, -0.0329352282, -0.0306406915, 0.0015409882, -0.0144349793, -0.0098881591, 0.034876164, -0.0132763768, -0.0416962206, -0.0492531992, 0.0632994398, 0.0130385114, -0.0475747697, -0.0101336567, 0.0381412394, -0.0262689162, -0.0077075609, -0.0196642596, -0.0509672165, 0.0480979122, -0.0148303322, 0.0004339942, -0.0503341258, 0.1128568724, -0.0285557751, -0.0009322568, -0.0417802632, 0.0265671574, 0.0502632037, 0.0407909714, 0.1068216786, 0.0010213057, -0.031987045, 0.0658113211, -0.0023743121, 0.0142911328, -0.0134769911, -0.0281560458, 0.0182874277, 0.0275357049, 0.0857979953, 0.0597400516, 0.0021865319, -0.0006456991, -0.0562541671, 0.0402448885, 0.0013664563, 0.0261575822, 0.0376485996, -0.0327405632, -0.0403723046, -0.0388056748, -0.0586871058, 0.0388648473, -0.0210661516, -0.0316049419, 0.0658246875, -0.0190596394, -0.0378683396, -0.0457908548, 0.0285793226, -0.0133411577, -0.0085969465, -0.0001424434, -0.0403331555, 0.0564602166, -0.0254078675, 0.0288025308, -0.0668459311, 0.0001225929, 0.0085576447, 0.007465153, 0.0429469012, 0.0200779997, 0.0078095701, -0.0033991651, -0.0411847569, 0.0088840313, -0.0390249863, 0.0306102429, 0.001914854, -0.0035610143, 0.0200108103, -0.024839405, -0.0215834603, 0.0417066216, -0.0096826712, -0.0142356697, -0.0169282984, -0.0285325088, 0.0090621794, 0.0097938543, -0.0492926762, 0.0034335868, -0.0245770961, 0.0301900413, -0.0003205056, -0.025452042, 0.0017310105, 0.027344536, 2.812e-7, 0.0511924811, 0.0516586974, -0.0221305043, 0.0264630597, 0.0171890855, 0.0223592073, -0.008954349, -0.0074740513, 0.0423227027, 0.0027534617, -0.0092876488, 0.0153069338, 0.0622857772, 0.0504011735, -0.0320328884, 0.0209297277, -0.0646510199, 0.0062175184, -0.0571388081, 0.0045424765, 0.0817207247, 0.0070241382, -0.0278896522, -0.0026911569, -0.0060160747, -0.0452329256, 0.0464008078, -0.0014128576, -0.0195417255, 0.0488922521, 0.0416581333, -0.0228562187, 0.0158206206, 0.0383127183, -0.0143248616, -0.023294121, 0.0170577373, 0.0741546676, 0.0180110671, 0.002782576, 0.0087238885, -0.025384983, 0.0035424132, -0.0947611034, 0.0774908066, -0.0193669479, -0.0187445804, -0.0372570902, -0.0247463919, -0.0259272195, 0.0005393098, -0.0119585339, 0.0021461807, 0.0227177851, -0.0100340089, -0.0199389923, -0.011842344, 0.0029583029, -0.0597272627, 0.0042562997, -0.0151741821, -0.0690138191, -0.0732592493, 0.0208863765, -0.0254951045, -0.0813605338, -0.0034144637, 2.975589462e-34, 0.0229216553, -0.0259234924, 0.042183131, -0.0002375269, 0.0536595993, 0.0430002362, -0.0280256737, 0.0128951073, -0.004509801, -0.0466576815, -0.0189421661 ]
http://arxiv.org/abs/2406.13431v2
http://arxiv.org/pdf/2406.13431v2
Children's Speech Recognition through Discrete Token Enhancement
2024-06-19T10:45:12
2024-06-24T15:31:59
Vrunda N. Sukhadia, Shammur Absar Chowdhury
cs.CL
cs.CL, cs.SD, eess.AS
Children's speech recognition is considered a low-resource task mainly due to the lack of publicly available data. There are several reasons for such data scarcity, including expensive data collection and annotation processes, and data privacy, among others. Transforming speech signals into discrete tokens that do not carry sensitive information but capture both linguistic and acoustic information could be a solution for privacy concerns. In this study, we investigate the integration of discrete speech tokens into children's speech recognition systems as input without significantly degrading the ASR performance. Additionally, we explored single-view and multi-view strategies for creating these discrete labels. Furthermore, we tested the models for generalization capabilities with unseen domain and nativity dataset. Results reveal that the discrete token ASR for children achieves nearly equivalent performance with an approximate 83% reduction in parameters.
[ -0.0219840091, 0.0474035405, -0.0043502515, 0.0125892684, -0.014779239, -0.005440467, 0.0962159634, -0.0320720337, -0.0460124426, -0.0205712337, -0.0244776141, -0.0278272964, 0.0290089156, 0.0068559381, -0.0045217657, -0.0627044737, 0.0322071612, -0.0855516121, 0.045289468, -0.008184527, -0.0356334448, 0.0046447036, -0.0162678901, 0.0630981624, -0.0690021217, 0.0071501029, 0.0058581885, 0.0230566077, 0.0271070432, -0.031020768, -0.037239138, 0.006358278, 0.0346922949, 0.0525628999, 0.0000017547, -0.0409866534, -0.0448488817, 0.0360140391, -0.0524776503, -0.0304879807, 0.031836886, 0.0081580216, 0.0080928141, 0.0114894006, 0.0027540913, -0.0284532756, 0.0739636719, 0.0758967772, 0.0207834058, 0.0407755002, -0.0190218575, -0.0368204638, -0.0069898092, 0.0238798466, -0.0099075036, -0.0232615229, -0.0004390427, -0.0462209731, 0.0368122086, -0.0286083538, 0.016121015, 0.0486466624, 0.0049754223, -0.0280910004, 0.0200112239, 0.0054128869, -0.0387483239, -0.0489648953, -0.0351432823, 0.0286646169, 0.0218957216, 0.0067482358, 0.0256915297, -0.0003759807, 0.0011664182, -0.0210934691, -0.0288096201, 0.0138986632, -0.0235786717, 0.0236451142, -0.0336850695, 0.0032394982, 0.0190405436, -0.0216318313, -0.0005496097, 0.0637008548, -0.0132531021, 0.0079174079, -0.0066091651, -0.0362496339, 0.0117564304, -0.0227776431, 0.0483755544, -0.0156636927, 0.0019680299, 0.0092640473, -0.083956331, -0.0405037627, -0.035187941, 0.0104130134, 0.0054722051, 0.0090543628, -0.0609999932, 0.0290424731, 0.0108041801, 0.0353924893, 0.0162427109, 0.0719855577, -0.0436748303, -0.0206686538, -0.0054734317, 0.0031756898, -0.0618837103, 0.1003995016, -0.023385061, -0.0181331113, -0.0289642364, 0.0100894114, -0.0253146514, -0.0141007425, 0.0401926525, 0.0010756108, -0.0238127038, -0.0234929826, 0.0401526429, 0.0057645803, -0.0142489942, 0.0362310149, 0.0116353547, -0.0772841722, -0.0236821808, -0.0347868428, 0.0652976111, 0.0177639369, -0.0309920646, 0.0537489019, 0.0083156768, -0.0085796714, -0.0097969016, -0.0008341742, -0.0186450668, -0.0328773372, 0.0076483153, -0.0607954338, -0.0100358296, -0.0078554768, 0.0088161072, -0.0359238759, 0.0043026102, -0.029346237, 0.0123904925, 0.0402403176, -0.022592213, -0.0098874047, -0.0143975718, 0.0093481811, 0.0254392885, 0.0722248778, 0.0439216234, -0.0520611405, 0.0455376767, -0.0362976268, -0.0167553201, 0.0293841232, -0.0077124531, -0.0162669253, -0.0289873853, -0.0323938318, 0.0170132164, -0.010658022, -0.0169271342, 0.0360594615, -0.0270297658, -0.0251212846, 0.046420671, 0.0741663426, -0.0187757872, 0.0095663015, -0.0093152765, -0.0171508752, 0.0150831416, -0.0084085502, -0.0446363203, 0.0028024826, 0.0577624179, -0.0201816596, 0.0266717616, 0.021219518, -0.0219342615, -0.0215616245, -0.0285631996, -0.0317439437, 0.0039138123, 0.0325491726, 0.0542292036, 0.0015352534, -0.0138998721, 0.0156760644, -0.0130221024, -0.0681903362, 0.0236357022, -0.0671253875, 0.0136560518, 0.0165900644, 0.0013106196, -0.0513126105, -0.0241307542, -0.0016587118, -0.0438978411, 0.0141213443, -0.0429716669, 0.0075798575, 0.0910784826, -0.0075199595, -0.0307639819, 0.0412385203, 0.0249516461, 0.0629677474, -0.0246667713, -0.0057276445, 0.0136235906, -0.0613804981, 0.0480606109, 0.0118728206, 0.0458284616, -0.0149051761, 0.0902895331, 0.0150050167, 0.0619469956, 0.081076853, 0.0074509522, -0.0179755185, 0.0523761138, -0.0034721671, 0.0388888046, 0.0250940211, -0.0295883846, -0.0066478578, 0.0352040678, -0.0469795167, 0.0081155356, 0.0221437123, -0.0174887329, -0.0384540893, 0.0346524268, -0.0402072221, 0.0733697489, -0.0042528445, 0.0348621868, 0.0009755237, -0.0044856318, 0.0238739904, -0.0125573119, 0.0202670544, -0.025928339, -0.0237391535, -0.0564022884, -0.0203644931, -0.07023637, 0.0084003974, -0.0012091129, -0.0549141467, 0.0316206403, 0.0078680841, -0.0609540083, -0.0390509889, 0.0358448364, -0.1036276743, -0.0598012917, -0.001527206, 0.0066393646, -0.0184490159, 0.0069973865, 0.0431167558, -0.0132944956, -0.0201897901, -0.0406701006, -0.0577436797, 0.0304749794, -0.0426484756, -0.0181110092, -0.0864826515, 0.0175370071, 0.0055122408, -0.0056292536, -0.0029582556, -0.0226473622, -0.0595733523, -0.0174251273, -0.0371210352, -0.0159249753, 0.0394668132, -0.0171305388, 0.0395206325, 0.0285490435, 0.0095103933, 0.006468867, 0.0582023226, -0.0301519055, -0.019233726, -0.0012162457, -0.001152033, -0.0434800498, 0.0093343705, 0.0417784564, 0.0431049652, 0.0234349128, 0.010167012, -0.0028199982, 0.0071089878, 0.0342306308, -0.0138439937, -0.0040024966, 0.0165273007, -0.0292991493, -0.0559868813, -0.0487055369, -0.0589691103, -0.0336682238, -0.0109337857, 0.00576805, -0.0324607268, 0.0011353478, -0.0587815046, -0.024366267, -0.0110659357, -0.0329520106, 0.0095710084, 0.0215525348, 0.0012956636, 0.0188495126, 0.0123571875, -0.0634401217, -0.000588575, 0.0041172756, 0.026547838, -0.050455559, 0.0639981776, -0.0071575344, 0.0077977371, -0.0092165638, 0.0003047679, -0.0392122753, -0.0119975181, 0.0154338693, 0.0695576891, -0.0148323746, -0.0393607244, -0.0303753242, 0.0292753745, 0.0307340417, 0.0741336197, -0.0038066418, 0.0334637314, -0.0206023939, 0.0155221233, 0.0201696064, 0.0007795562, -0.0148651386, -0.0091105504, 0.020969484, 0.0277082417, 0.0990941823, 0.0049378937, -0.0058925725, -0.0307164174, 0.0177554842, 0.020472819, -0.0045335805, 0.0265612714, 0.0705122575, -0.0349158347, 0.0124896662, 0.048806455, -0.0006443657, -0.0079869805, -0.0167743657, 0.005182208, -0.0218770839, 0.0080379425, -0.0846404508, -0.0118991565, 0.0078851739, 0.0881552622, 0.0415430814, -0.0192389302, -0.0092096189, -0.0262604505, -0.0407988764, 0.0121263685, 0.0227954667, -0.0697878227, -0.0398961939, -0.0672268942, -0.0008484591, 0.0280187503, 0.0667850673, -0.015044353, -0.0167589262, -0.0730822161, 0.0160214081, -0.0146696419, -0.0374373719, -0.0056569148, -0.0034939703, 0.0684291273, 0.0230801739, 0.0071146358, -0.0209316928, -0.0161199458, 0.0465513356, 0.0527712144, -0.0167711657, -0.0216622502, -0.0081720026, -0.0071668006, 0.0101028532, 0.0466661714, 0.0498210415, 0.0255965572, 0.0088658165, 0.0145973172, 0.0313523449, -0.005180703, 0.0074580689, 0.0110005746, -0.0170074608, -0.0059734154, 0.0562418923, -0.0050601899, -0.0234657377, 0.0199427474, 0.0103006037, 0.0487659872, 0.001865649, 0.0355086662, 0.0155131174, -0.0488549992, -0.0905330703, -0.0642998144, 0.0717826113, 0.0172928609, 0.0702870041, 0.0362546891, 0.008247843, -0.0002721976, 0.0427877009, -0.0181153901, 0.0033362091, -0.0459036827, 0.0096767163, -0.0811016411, -0.0304815285, -0.0300827213, -0.0684436038, -0.0375649072, 0.0131202955, -0.0557965823, -0.0606641285, 0.0213836692, -0.0419904366, 0.022559287, 0.0454308391, -0.0279912315, -0.0261928272, 0.1138688922, 0.0562927052, -0.0122731449, -0.0474256314, 0.0737678483, -0.0058213403, 0.0000235883, 0.010012636, -0.060242597, 0.0292624664, 0.0121298824, -0.0143247005, -0.0235679094, -0.0020191423, -0.0250305589, 0.0361360908, 0.097094439, -0.0121031394, -0.0122626629, -0.0235197954, 0.063206397, -0.0638076738, 0.0612878911, -0.0354385749, -0.0188096315, 0.0088974778, 0.0285339616, 0.0007095616, 0.0024024532, -0.0090025607, -0.0273454245, 0.0179866534, 0.0691648051, 0.0153086865, 0.0285529867, 0.0063802497, -0.0000985944, -0.0542482324, 0.0365924723, 0.0336560346, 0.0068814075, -0.0011350513, -0.0051950174, -0.0108675668, 0.0274964087, -0.0106286155, 0.0435441881, -0.0082504367, -0.0097354185, -0.0412923805, 0.0201252643, -0.021218352, 0.03741863, 0.0049490416, -0.0013987977, 0.0281570274, -0.0457717776, 0.0078088944, 0.0033474874, -0.0386702344, 0.0173730738, -0.0128421085, -0.0082232459, 0.0333226696, 0.0449694321, -0.0100987647, -0.029154731, -0.0537589751, 0.0295098219, -0.0296041388, -0.0244743489, -0.0007715738, 0.0225590505, -0.0196199566, 0.0066681667, 0.0173204057, -0.0483495668, -0.0060330518, -0.0252905246, 0.0027858696, -0.0175061673, 0.0129117761, -0.0212776586, -0.0453870632, -0.0330934636, 0.0157967266, -0.0581316948, 0.0567822941, -0.010114098, 0.0203271657, -5.891161488e-33, -0.0111594675, -0.0207065158, -0.0451626927, 0.0012296409, 0.0026804756, 0.0475161634, 0.0051091821, 0.0366487838, 0.0126295118, -0.0494048223, -0.0155103737, -0.0340084471, 0.0488621034, 0.0137656415, -0.0284907669, -0.0122391721, 0.100773178, -0.0120247686, -0.0071996208, -0.0173496474, 0.0616922192, -0.0042479392, 0.0392225683, -0.0379893929, 0.0140104303, 0.0186895747, -0.0346073844, -0.0012418044, 0.0132948803, 0.0556901656, 0.0249232724, 0.0292929914, 0.0029400305, -0.0338519737, -0.0076878201, 0.0497411601, -0.1006232351, -0.0155324908, 0.0205958895, 0.0416669957, 0.0058158212, -0.052173283, 0.0370651707, 0.0041469983, -0.0088219224, -0.0350318551, 0.0119094495, -0.0030574847, -0.0122316303, -0.0493420847, -0.0027168549, 0.0128855743, 0.0042266385, 0.0244448278, 0.1110480055, 0.0441141315, -0.0207483042, -0.046576988, -0.0626784191, 0.0361187719, 0.0468173064, 0.0305973776, 0.0307161734, 0.0304507688, 0.0231914725, 0.0299060754, 0.1038654894, -0.0714651793, 0.0015161555, -0.0227528978, 0.0307614859, 0.023270797, 0.0264120139, -0.0095093511, 0.0593238622, -0.0161217134, -0.0505965464, -0.0235675443, -0.0146300793, 0.0037651523, 0.052336324, 0.0299452506, -0.0313234553, 0.0419546999, -0.0501781628, -0.0325410217, -0.0504566021, 0.0228696615, 0.0301228277, 0.0205556899, -0.0663767084, -0.0068171294, 0.0536350757, -0.0042299358, -0.0189035796, 0.0107978797, 0.1031453833, 0.0063833753, -0.0147074293, -0.0224117227, -0.0477418117, -0.0350095332, 0.0800423324, -0.0041813985, 0.0310897753, -0.0317751169, 0.039909035, 0.0231470782, -0.0856560171, -0.0175117888, 0.0210219137, 0.05003855, 0.0064572506, 0.0181270614, 0.0735639632, -0.0267896634, -0.009402818, 0.0201915447, 0.00847595, 0.0171776079, -0.004456419, 0.0808773786, -0.0046105748, -0.0088852933, -0.0212818291, -0.0079589365, 0.0251236502, -0.038323082, 0.0535979047, 0.0236680638, -0.0131519521, -0.0013018217, 2.533e-7, -0.101542078, 0.0195993334, 0.0114929527, -0.0501783527, 0.0499014147, 0.0300589427, 0.0201058611, 0.0014246228, 0.0317042395, 0.0070412531, 0.0078247059, -0.0471831448, 0.0664624497, 0.0485221893, -0.1111599058, 0.014294751, 0.0153212193, 0.036734134, -0.0115049733, 0.0546329021, 0.0279131737, 0.0744455755, 0.0225260109, -0.040372178, -0.0009976599, -0.0314063542, -0.0262684338, -0.0340686999, 0.0405835323, -0.0435582176, -0.0160735007, 0.0089320568, 0.0359551273, 0.0350414328, -0.0309950374, 0.0504208207, 0.0064684735, 0.0199664012, -0.0460287742, -0.053076461, -0.0206329841, 0.0353661925, -0.0277470537, -0.0221601911, 0.0877218619, -0.003146223, 0.0001133349, 0.0208979733, -0.0279500149, 0.0016792894, -0.0282357316, 0.010158808, 0.0156363621, 0.0430090018, -0.0047699208, -0.0320422836, -0.0159854144, -0.032194417, 0.0319884755, -0.0592261143, -0.0445086807, -0.055899173, -0.0006031979, 0.0270976238, -0.0496721826, 0.0010708148, 0.0249164831, 1.767739514e-34, 0.0117800673, -0.0724610686, 0.0287132636, -0.0012419332, 0.0090396563, -0.0370703861, -0.0166841988, 0.0027777452, 0.0151268542, -0.0294864625, -0.039375525 ]
http://arxiv.org/abs/2406.13415v1
http://arxiv.org/pdf/2406.13415v1
Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators
2024-06-19T10:11:37
2024-06-19T10:11:37
Matéo Mahaut, Laura Aina, Paula Czarnowska, Momchil Hardalov, Thomas Müller, Lluís Màrquez
cs.CL
cs.CL, cs.LG
Large Language Models (LLMs) tend to be unreliable in the factuality of their answers. To address this problem, NLP researchers have proposed a range of techniques to estimate LLM's confidence over facts. However, due to the lack of a systematic comparison, it is not clear how the different methods compare to one another. To fill this gap, we present a survey and empirical comparison of estimators of factual confidence. We define an experimental framework allowing for fair comparison, covering both fact-verification and question answering. Our experiments across a series of LLMs indicate that trained hidden-state probes provide the most reliable confidence estimates, albeit at the expense of requiring access to weights and training data. We also conduct a deeper assessment of factual confidence by measuring the consistency of model behavior under meaning-preserving variations in the input. We find that the confidence of LLMs is often unstable across semantically equivalent inputs, suggesting that there is much room for improvement of the stability of models' parametric knowledge. Our code is available at (https://github.com/amazon-science/factual-confidence-of-llms).
[ 0.0330364779, 0.0698464736, -0.0006499727, 0.0534785651, -0.048920501, -0.0264759678, -0.0182941481, -0.0076419665, 0.0020986577, -0.058883477, -0.0308330953, -0.0626106858, 0.0248788819, 0.012907532, 0.0285239387, 0.0276596546, 0.0636424646, -0.0434376039, 0.0075279078, -0.0224094931, -0.0173074622, -0.0197268073, -0.0212680046, 0.0280522313, -0.022330828, 0.0000321645, 0.0188748464, -0.0216906331, 0.0092218425, -0.015525437, 0.0188603327, 0.0412079357, 0.030795062, 0.0544178039, 0.0000016394, -0.0494199768, 0.011016543, 0.0011695642, -0.0439777076, 0.0224997308, -0.0096033774, -0.0271115284, -0.0011714048, 0.0257088449, -0.0323955677, 0.0329366252, 0.0131596662, -0.0031458258, 0.0573942922, 0.059298031, 0.0287855957, 0.0045221727, 0.0248933528, -0.002785095, -0.0121121695, -0.0218546987, 0.0547067225, 0.0187822189, -0.0410301015, 0.0224675052, -0.0238119382, 0.0554062948, 0.0192245562, 0.0054273312, -0.0323144831, 0.0553515591, -0.0108700115, -0.0243803486, -0.0046381024, 0.0491608381, 0.019451214, -0.0358162448, -0.0266465861, -0.011721909, -0.0193873066, 0.0152254095, -0.0328365415, 0.0351040661, 0.0062659173, 0.0265147127, 0.006478563, 0.0170312822, 0.0304787811, 0.0281841028, 0.0254249256, 0.1089509502, 0.0168859977, -0.0520435981, -0.0249828678, 0.0212649833, -0.0173876248, -0.0542776436, 0.0086086662, 0.0418536291, -0.0181997623, 0.0698880255, -0.0304194633, -0.0003963051, 0.0449053831, -0.0416699946, 0.0038002839, 0.0355038755, -0.0444619432, 0.0555340722, -0.0255154409, 0.0665231273, 0.0031053771, 0.0091259042, 0.0312182512, -0.022540329, -0.0031980702, 0.0056383009, 0.0113109509, 0.0296894927, 0.0104821976, -0.0079355882, -0.054611519, -0.0035230697, -0.0132084927, 0.0651062578, -0.0070665292, 0.0360246338, 0.0120517975, 0.0003356688, -0.0706148744, 0.0333779603, -0.0093158865, 0.0399242528, 0.0016370413, -0.0759902671, -0.0301939547, 0.0107975136, -0.0137700178, -0.0124233961, 0.0090795374, 0.0005933255, 0.0007973919, -0.0352018252, -0.0338808522, -0.0139096109, -0.0363738425, -0.0697582364, -0.0377529599, -0.0836018026, 0.0219838768, 0.0001209915, 0.0051789279, -0.0602432154, 0.0393065847, 0.0370872207, -0.0103715137, 0.0853179023, 0.0053346241, -0.0089553287, -0.0082979016, 0.0199567322, -0.0155460266, 0.0370541662, 0.0458116755, 0.0060999752, 0.0901328698, 0.0264927316, 0.0195440743, -0.0019608408, 0.0324870721, 0.0074432194, 0.007919848, 0.0378243215, -0.0009237386, 0.0259243269, -0.0021447423, 0.0637560934, -0.0204544049, -0.0678273216, 0.1030444205, 0.0407958664, -0.0224576835, -0.0086572627, 0.0268735066, -0.0190196037, 0.0736729056, 0.0064429427, -0.0267331675, 0.0064863786, -0.0676107258, 0.0219581816, 0.049104806, 0.018755462, -0.0131459115, -0.0692228675, -0.0604655966, -0.0241021998, -0.0244805217, 0.0316124298, 0.0376349464, -0.030766055, -0.0208062921, 0.0377858207, 0.0157334916, -0.0259014983, 0.0121139148, -0.0587605238, 0.0539289452, 0.0216145646, 0.0566946194, -0.0179936308, -0.0104620447, -0.0091908118, -0.0125938263, 0.0361760743, 0.0424761139, 0.0024708181, 0.0488493741, -0.0114613231, 0.0380743593, -0.0289372504, 0.0367087834, -0.0207893178, 0.0486047752, 0.0383290835, 0.0107782884, -0.0704300553, 0.0104912035, 0.0275229067, -0.0022730229, 0.0035747476, 0.0164489672, -0.0390063971, 0.0336626768, -0.0162543226, -0.0252040476, 0.0256713908, 0.0228662379, 0.0297004189, -0.0216522068, -0.0321775228, -0.0083168056, -0.0384342074, 0.0549368113, 0.0033279657, -0.0351493061, 0.0496354699, -0.020565277, -0.0295064114, -0.0042563691, -0.039185442, -0.014332871, -0.0566445887, 0.0214107987, 0.0160462782, 0.0475050807, -0.0397817977, 0.0445014574, -0.023843484, 0.0337488353, -0.014649841, 0.0077417148, 0.0288852025, -0.0322253853, -0.0304999202, 0.0036529026, -0.0003784798, 0.0132134892, 0.0278482474, -0.0353837907, -0.0518169105, -0.0273457598, -0.0534923449, 0.0102752252, -0.0264617987, 0.0321191214, 0.0135731753, -0.0364695638, -0.0018597067, -0.0092086764, -0.0360493362, -0.033189524, 0.0139519013, 0.0057310248, 0.0581540838, -0.0114309229, 0.0060876505, -0.0684849992, 0.0090156458, -0.0324697718, 0.0352228954, -0.0202130079, -0.0226145796, -0.0521918051, 0.0260590445, -0.0544784069, 0.0463373624, -0.0029568786, -0.0435656086, 0.0277674384, 0.0427350737, 0.004247007, 0.0840378329, 0.0246971436, 0.0149783958, 0.0879492685, 0.00872231, -0.042699188, 0.0172728002, -0.0396439098, -0.006711022, -0.024603501, -0.0545486733, 0.0302144475, 0.0323124379, 0.0232470538, -0.0438072756, -0.0287986007, -0.0026346303, -0.0158707201, -0.0329500623, 0.0070380173, 0.0215363167, -0.0371217094, 0.0469156504, -0.0176047646, -0.0361425132, 0.0787731409, -0.0776093751, 0.0075213979, -0.0250133853, -0.0307302848, -0.0228070728, 0.0464784466, 0.0168737844, -0.024197815, 0.0077183261, 0.0309175327, 0.0021994645, -0.0342208035, 0.023570247, -0.0621275678, 0.0196706615, -0.0694344342, 0.0288718808, 0.0299939346, -0.0293216184, -0.0668204948, -0.064659372, -0.0462885164, 0.006145305, -0.0535579734, -0.0355895609, 0.0004794656, -0.0376982987, 0.0596016757, 0.0193796251, -0.0205355082, -0.0203243606, -0.0177246109, 0.0304668359, 0.0824365541, 0.0211407635, 0.0692421496, -0.0020420882, -0.0005336129, 0.093016088, 0.0020396691, 0.0722059086, -0.0485435426, -0.0396009646, 0.0240552556, -0.0104530919, -0.0035041887, 0.0241869651, 0.0510155037, -0.0219840594, -0.033465527, 0.1242369115, 0.0481144935, 0.0053816345, 0.0054213358, 0.0086996751, 0.0147503689, 0.0031019731, 0.0062913736, -0.0738378242, -0.0250524562, -0.0172795057, 0.0338739716, -0.0590757914, -0.0183725134, -0.0335650556, -0.1154575348, -0.008465128, -0.035992261, 0.0204006415, -0.0443957746, -0.0662682429, 0.0690447167, -0.0067857471, 0.0457347333, -0.0081654601, 0.0036338887, 0.0042277058, 0.0302480515, -0.0485360473, -0.0707534179, 0.0335354432, -0.0254212189, 0.0601327568, 0.0308118016, 0.0331825875, -0.0126564503, -0.0571748652, 0.007778849, -0.0169945862, -0.0192005094, -0.0070635206, 0.0353391543, -0.0332324989, -0.0013139715, -0.0200659875, 0.0128208557, -0.0059654536, -0.0323778987, -0.0178377964, 0.0354787596, -0.0180396307, -0.0534924679, -0.0093523655, -0.0011242668, -0.0139613682, 0.0959876105, 0.0282237642, 0.0116549525, -0.0015170767, -0.0359020606, 0.0130574964, 0.0034514826, -0.0290403962, 0.0252456777, 0.0293168649, 0.0209015161, -0.074011527, -0.0056975749, 0.0172279272, 0.0355411246, -0.0530577414, 0.0047012544, 0.0571508072, -0.0119769732, 0.0068560168, 0.0154490145, -0.0762728974, 0.0437783487, -0.0230431892, 0.0230630916, 0.055685319, 0.0045561409, -0.0199409593, -0.0213021692, -0.1135095432, -0.0845062956, 0.0039933478, 0.0392957516, 0.0274129715, 0.0101770405, -0.0459140018, -0.0387787521, 0.02473028, -0.0010856158, -0.0146421781, 0.0238312911, 0.041528143, 0.0110882306, -0.0038269358, 0.0225872342, -0.0219126195, -0.0479769222, 0.0175066795, 0.05515901, -0.0389474221, -0.0606966428, 0.0241415109, 0.0176447332, 0.0350250155, 0.026719315, 0.033250194, 0.0026947467, 0.015889002, -0.0179247186, -0.0074334862, -0.0118495058, 0.0317032076, 0.0238455124, -0.0256232787, -0.0482346155, -0.0263800882, -0.0256950017, 0.0331249796, -0.0153830489, -0.0429573245, 0.0170338545, -0.0014016005, 0.0032661541, -0.0291364826, -0.0633319542, 0.0175207071, -0.0129787121, 0.0635247156, 0.040336255, 0.001301403, 0.0265663695, -0.0548306592, -0.008463989, -0.0238655973, -0.0986815766, 0.0103614684, -0.0095065432, 0.0706176013, 0.0416247845, 0.0231712069, 0.013944814, -0.05546581, -0.006803432, -0.012742809, -0.0067493091, 0.0148690389, 0.0115290284, 0.0636844486, -0.0037044503, -0.01459629, 0.0494469553, 0.0872706845, 0.0259494837, 0.0557426587, -0.0143960733, -0.0394509211, -0.0001131962, -0.0206815507, -0.0482290909, 0.0207711291, -0.0248157959, 0.0339354612, -0.0542660095, -0.0693029091, 0.0189032629, 0.0246991497, 0.0043796399, -0.0440279581, -0.0147991963, 0.0499121025, 0.0454334319, -0.0025323767, -0.0494345836, -0.0015539184, 0.0262372307, 0.0075140907, -0.0371955559, -6.359564763e-33, -0.0160086211, -0.0679171532, -0.0207384173, -0.0126448479, 0.0168727227, 0.0061081499, -0.0223381165, 0.0181323364, -0.051035367, 0.0134315481, -0.0230896026, 0.0265677907, 0.0280530602, 0.0267427973, -0.0272905435, -0.0390826166, 0.002808071, 0.0245984215, -0.0512498692, -0.0451489352, 0.0033978967, -0.0231472068, 0.0702715814, -0.039236661, 0.0576039366, 0.0217204392, -0.0163523741, 0.0688977689, -0.085032098, 0.0518092327, -0.007254201, 0.0624135695, 0.0025562986, -0.0293615852, 0.0055652009, -0.0382441953, -0.0357968174, -0.0570725985, 0.0669882521, 0.0152514409, -0.0502077453, -0.0042894105, 0.0145610953, -0.0153637547, -0.0228987951, 0.0193672869, 0.0054800147, -0.0010964288, -0.024133632, -0.0430556722, -0.0166763626, 0.0338278487, 0.0316647962, -0.0019412595, -0.0288286749, -0.0034922939, 0.0198556408, -0.0088309953, -0.0669818223, -0.0270109195, 0.0098593142, 0.0295475498, 0.0606165379, -0.0222742595, 0.0133815045, 0.0631726533, -0.0254679639, 0.0234586969, -0.0483636968, -0.0395116173, 0.0219852366, -0.0135509968, 0.0559346341, 0.0530655198, 0.0022489214, 0.0228617359, -0.0614842214, -0.0092144767, 0.0600853637, 0.0211280379, 0.0358112082, -0.0071955835, -0.0446460582, -0.0171068311, -0.0704123899, 0.0289627183, -0.0188099761, -0.0039349291, 0.0081820646, 0.0175967757, -0.0206215549, -0.032595139, -0.0078725014, -0.0461670831, -0.0167397838, 0.0109850531, 0.0116314013, 0.0167041738, 0.0070455046, 0.0513066947, -0.0431844331, 0.0250626355, -0.0017090671, -0.004452304, -0.0003967211, -0.0019359809, 0.004581626, -0.0088659683, -0.0405622758, 0.0232382361, -0.035037037, 0.0060332068, -0.0065131462, -0.0470145196, 0.0191796888, 0.011893278, -0.0311295148, 0.0313440636, -0.0170428474, 0.0363054834, -0.0189275891, 0.0128687518, -0.0003464048, 0.0359044597, -0.0376652181, -0.0105922567, -0.0396587178, 0.0214290302, -0.0135260243, -0.0116338134, 0.007670139, 0.0312097352, 2.489e-7, 0.031686116, 0.0418011546, 0.0026511324, 0.0622659884, 0.0313380919, 0.0353813544, -0.0315445885, -0.0170288086, 0.02661076, -0.0784335732, -0.0532073043, 0.0308715496, 0.0501007587, 0.0612260401, -0.0261858292, -0.0371827222, -0.0475134775, -0.0053528235, -0.0171324238, -0.021965811, 0.0178890973, 0.0830467641, 0.0363313816, 0.0182908941, -0.0033244973, -0.028003864, 0.0533557534, 0.0248265043, -0.0391293652, 0.0057738265, 0.0630761757, -0.0006512359, 0.0394137874, 0.0053094355, -0.0053370264, 0.0165845565, -0.0280393437, 0.0417982973, 0.0110472394, -0.0382690206, -0.0458064228, -0.0242332518, 0.0271427929, -0.0518802814, 0.0857356116, -0.0211114697, -0.0165391564, -0.0525768697, 0.0267546922, -0.0150401704, 0.0570381954, -0.0020422579, -0.0264126472, 0.0038891293, 0.0102458093, 0.0162636377, -0.0191637948, -0.0443622544, -0.0339559242, -0.0385652557, -0.0385438502, -0.0781914741, 0.0031026893, -0.012467999, 0.0342245027, -0.0758826733, -0.0107503505, 2.084675176e-34, 0.0357812457, -0.0073264609, 0.0155563941, 0.0245504417, 0.0507788099, 0.0168435313, -0.0078634657, -0.0307915807, 0.0419238359, -0.0684580803, -0.0193232633 ]
http://arxiv.org/abs/2406.13408v1
http://arxiv.org/pdf/2406.13408v1
SQLFixAgent: Towards Semantic-Accurate SQL Generation via Multi-Agent Collaboration
2024-06-19T09:57:19
2024-06-19T09:57:19
Jipeng Cen, Jiaxin Liu, Zhixu Li, Jingjing Wang
cs.CL
cs.CL
While fine-tuned large language models (LLMs) excel in generating grammatically valid SQL in Text-to-SQL parsing, they often struggle to ensure semantic accuracy in queries, leading to user confusion and diminished system usability. To tackle this challenge, we introduce SQLFixAgent, an innovative multi-agent collaborative framework designed for detecting and repairing erroneous SQL. Our framework comprises a core agent, SQLRefiner, alongside two auxiliary agents: SQLReviewer and QueryCrafter. The SQLReviewer agent employs the rubber duck debugging method to identify potential semantic mismatches between SQL statement and user query. If the error is detected, the QueryCrafter agent generates multiple SQL statements as candidate repairs using a fine-tuned SQLTool. Subsequently, leveraging similar repair retrieval and failure memory reflexion, the SQLRefiner agent selects the most fitting SQL statement from the candidates as the final repair. We evaluated our proposed framework on five Text-to-SQL benchmarks. The experimental results show that our method consistently enhances the performance of the baseline model, specifically achieving an execution accuracy improvement of over 3\% on the Bird benchmark. Our framework also has a higher token efficiency compared to other advanced methods, making it more competitive.
[ 0.0487895645, 0.076574333, -0.0027666735, 0.003107856, -0.021431027, 0.0152659873, -0.0392721146, 0.006610957, -0.0034956953, -0.0798627734, 0.0367600508, 0.0085314317, -0.0165779199, -0.0058817999, 0.0286751222, -0.0407598801, 0.0502640717, 0.0128788166, -0.014944545, 0.0318905115, -0.0057353335, 0.0310425851, -0.0054950304, 0.0286324974, -0.0797094554, -0.0159730539, -0.0372966379, 0.0459693521, -0.0201479215, -0.0099288095, 0.0055003241, 0.0327453092, -0.0239596218, 0.0236300901, 0.0000022665, -0.0681954175, -0.04685333, 0.0263974071, -0.0289294999, 0.0214206111, 0.0232002661, -0.0293205827, -0.0057588136, 0.0459852479, -0.0334384739, 0.0071411412, 0.0328739919, 0.0027515355, 0.0585369207, 0.0716545656, 0.0014511326, -0.0058900695, -0.0227550548, 0.0268580131, 0.0323442854, -0.0724449754, 0.0036124045, 0.0348680466, 0.0359381922, -0.0378749296, -0.0019838454, 0.0080969967, -0.0061883875, -0.0557476915, -0.031226391, -0.0275853835, -0.0432048962, -0.0081500681, 0.0001720323, 0.0082259346, 0.010104931, -0.0126202619, 0.0140405279, 0.0143122692, 0.0175605156, 0.0097072357, 0.0059685772, 0.0046335235, -0.0028830417, 0.0029236032, 0.0146464445, -0.0721131563, 0.0333437622, 0.0068535558, -0.0606568046, 0.0563490652, -0.012636913, -0.0067966748, -0.0208651908, -0.009037816, -0.0224088095, -0.0028822264, 0.0258773006, 0.0384101681, -0.1198546514, 0.0210755486, -0.055404529, -0.032426998, 0.0290368292, -0.0535392128, -0.000690497, 0.0454385057, 0.0315931737, 0.0363425426, -0.0160755273, 0.0060195648, 0.040045917, 0.0426514074, -0.0200454853, -0.0471635498, -0.0740890056, 0.0077249929, -0.0689322352, 0.0277251378, -0.0679097176, -0.0186638609, -0.0033575546, 0.0574833602, -0.0130857546, 0.0791723728, 0.0061525614, 0.0173011106, -0.0250566658, -0.0195403211, -0.0543917343, -0.0219540726, -0.0001186256, 0.0080523035, 0.0081255985, -0.11701563, -0.0276422072, 0.0039297761, -0.0072622751, -0.0213885009, -0.0172189921, 0.0529186055, -0.023812633, 0.0258466508, -0.0992389023, -0.1003981382, 0.0091836993, -0.0044537582, -0.0792946145, -0.0492702872, 0.0287394896, -0.00559325, -0.0113662882, -0.0556269139, 0.0195163768, 0.0136719169, 0.0111904088, 0.0503586531, -0.0713762864, 0.0323466137, 0.017019121, -0.0039514326, -0.0010199549, 0.0716043562, 0.0221463721, 0.0326949358, 0.0173994228, 0.0123152332, 0.0054024463, -0.0137410993, -0.0057671708, 0.014266206, -0.0594955534, 0.0338460617, 0.0034108176, 0.0707965866, 0.0027753408, 0.0767307207, 0.0007609692, 0.0093422737, 0.0286687948, -0.009614408, 0.0174367633, 0.0267085284, 0.0622522868, 0.0155566763, -0.0434638262, -0.0252464171, -0.0544409603, -0.015697943, 0.0068681985, -0.0021123693, 0.0030955398, -0.0044412403, -0.0189729575, -0.045815587, 0.0025255254, 0.0030795464, -0.0059651486, -0.0134085109, 0.0199182611, 0.0252366755, -0.0375886708, 0.0612513795, -0.0190560948, -0.0233703144, 0.0067903516, -0.0232180562, -0.0059267962, 0.117068924, 0.0527100712, -0.0412523448, -0.037345428, 0.0063006883, -0.004794322, -0.0170436352, 0.0601020195, -0.0231306981, -0.0385669321, -0.0198445208, -0.0034108432, 0.0457996391, 0.0374955945, 0.0027862969, 0.0194050688, 0.0035044018, 0.0468956456, -0.0058925711, -0.0596840754, 0.0318484157, 0.0169043858, -0.0221379474, -0.0065039727, -0.0026415444, 0.0156001123, 0.0179229341, -0.0241945907, 0.0339173526, 0.0205890033, 0.0304572228, -0.0663746223, 0.0002444051, 0.0119271521, -0.0230529252, 0.0173608568, -0.0037709095, -0.0412123948, -0.0440490991, -0.0544691011, -0.0312798023, 0.0480598882, -0.050656978, 0.0138389831, -0.0343081392, 0.0405357406, 0.0017522839, -0.0594720691, -0.0233172495, 0.0093590422, 0.0178066269, -0.0233928747, -0.0276185665, -0.0118104741, -0.0117514087, -0.0737695023, 0.0426348038, -0.0012517687, 0.0154813435, 0.060894642, -0.0252561811, 0.0161362961, -0.0476343296, -0.0512676165, -0.0473010354, 0.0334818549, -0.0273280963, 0.032052435, 0.0209673606, 0.0364291817, -0.0081694052, -0.006404052, -0.0218750369, -0.0117420005, 0.0128132496, 0.0213369522, 0.0176744368, 0.0123934755, -0.0139043173, -0.0165047999, 0.0071802996, -0.0655162409, 0.0264571663, 0.001984233, -0.0273717623, -0.0397796184, 0.0220078155, -0.0010269503, 0.0148716308, 0.0390640981, -0.0103099598, -0.0108748106, -0.0287658423, -0.0282116644, 0.048167821, -0.0133373793, -0.0057316739, -0.0027130542, -0.033308886, -0.0467168204, 0.010708916, 0.0109310979, -0.0164041612, -0.007148657, -0.0304565355, 0.0212620459, -0.0102662072, -0.0056759287, -0.0228117313, -0.0229727942, 0.0198949203, 0.0174064972, -0.007843798, -0.0150613822, -0.0300639104, 0.0213271584, 0.0172725227, -0.0097630238, 0.0027553826, 0.0531806499, -0.0138748912, 0.0175013728, -0.0414374061, -0.0204354189, -0.0506693684, 0.0433541723, 0.0015709846, 0.0329461694, -0.0564183556, -0.0653741285, -0.0164483543, -0.0475045405, 0.0363255888, -0.0085097812, 0.0837085694, -0.0727931261, 0.0086397184, -0.0076320558, -0.0129461596, -0.0190631784, -0.0208496321, -0.0591625348, 0.0202890765, 0.0607231781, 0.0133875925, -0.029895775, -0.0202725586, -0.020410724, 0.0230659153, 0.0095708743, -0.0448802933, -0.0058321222, -0.0740463957, -0.0131697897, 0.0376961082, 0.0030562314, -0.0160787776, 0.0309624281, 0.0617081597, 0.0418741703, -0.0672046691, -0.0224939995, 0.0013173156, -0.0252041873, -0.0229982845, -0.0023122407, 0.0142002581, -0.0116889356, -0.0781203955, -0.0138046239, 0.0671064928, 0.0309327506, 0.0380022787, 0.009154181, 0.0225901846, 0.0132259969, 0.0249725357, 0.0487549789, -0.0747708306, -0.0436718054, 0.0182302557, 0.0389646702, 0.0366701372, -0.0321137384, 0.0124354288, -0.1157830209, 0.0357204936, -0.0035757474, -0.0069343457, 0.0219889339, -0.0175152458, -0.0280915741, -0.0371285602, 0.0394945405, 0.1048272327, -0.0087884152, 0.0036434319, 0.0283954404, 0.0250203647, -0.0225751791, -0.0182022639, -0.0549636222, 0.0259555746, 0.0724644512, -0.0085535273, 0.0463200361, -0.0144922081, 0.025412377, 0.0168109685, 0.0327315331, -0.0176232811, 0.0564019233, 0.002642869, 0.0045575565, 0.0304302853, -0.0094905626, -0.0562482364, 0.0313337743, 0.0223935265, 0.0700230151, -0.0323311873, 0.0385214239, -0.0054943142, -0.0288970377, -0.0055269217, 0.0315577239, 0.0170887206, 0.0203082971, -0.1117148995, -0.0355964415, -0.0354503542, -0.1069475785, 0.0314176232, 0.0593266748, -0.0369748287, -0.0701335371, -0.0260324385, -0.0502054207, 0.0701965913, 0.0527798682, 0.0132157123, -0.0166144855, 0.0147198169, -0.0153206037, -0.0230916105, -0.026810756, -0.0237892214, 0.0341126844, -0.0244552381, 0.0429229662, -0.0149708623, 0.0056212866, 0.0034382672, -0.0350766219, -0.0189963244, -0.0366596021, 0.0314972065, 0.0231444538, 0.0138270017, -0.0048917951, -0.02102484, -0.0731336549, -0.0540872626, 0.0770852491, -0.0800253004, -0.0277187005, -0.0133299343, -0.0080282334, 0.0045898571, 0.0389181003, -0.0593020245, -0.0463823788, -0.0595674925, 0.0218648501, -0.0474052392, 0.0000459145, 0.0770652741, 0.055005312, -0.0118417582, 0.0582942739, 0.0189399626, 0.0190406349, 0.0393767841, -0.0540797189, -0.0529452376, -0.0211246796, 0.0563795567, -0.0038594352, -0.0171303358, 0.0637557581, -0.0336530246, -0.0171672218, 0.0526679084, 0.0372634046, 0.0000659693, 0.0106075462, -0.0095883105, 0.0319338441, 0.0078132749, -0.0002332482, 0.0178023521, 0.0293393731, 0.0681876689, -0.0063207988, -0.0000908015, 0.0410459861, 0.0183690023, -0.0295356158, -0.025752021, -0.0169370286, -0.0394500121, 0.0338694863, 0.0263269693, 0.0536458418, -0.0003222884, 0.0303836428, -0.0094181672, -0.0207948871, -0.0396289676, 0.0155734336, 0.0458085351, -0.0187501963, 0.0125170099, 0.0079632662, -0.019402368, -0.0868343562, 0.0561021119, -0.0165332109, 0.0338902995, -0.0153170628, -0.0735746995, -0.0139881261, -0.031221265, 0.0162494183, -0.0311397705, -0.0357712545, -0.0675158724, -0.039729435, -0.0222146083, 0.0041554444, 0.061934337, -0.0084797256, -0.0054973033, 0.0273772515, 0.087103121, 0.0627987236, -0.0180523954, -0.0532983504, -0.0047457721, -0.0424211212, -0.0450791419, -0.0084365532, -6.038983576e-33, -0.0457967408, -0.0411665216, 0.0333980285, 0.0035224727, 0.0010903304, -0.0487885587, -0.0390477553, 0.0166065581, 0.0150786107, 0.0439979546, -0.0055500893, 0.0412336439, 0.0286629107, 0.0129192229, 0.0565104224, -0.0061956034, 0.058018744, 0.0240041576, 0.0277269315, -0.0337805673, 0.0649247244, 0.0313531682, -0.0263949577, -0.0376910158, -0.0159043428, 0.0078041926, -0.0060829069, 0.041586224, 0.0007742536, 0.0171393864, 0.0450180694, 0.0131630776, -0.0078063859, 0.0330192633, -0.0280713141, -0.0694299787, -0.037070591, -0.018609317, 0.0076281712, 0.0190438777, 0.0008740061, -0.0387246162, 0.0754951835, -0.0198510792, -0.0447412133, 0.0368284583, -0.0000650125, -0.0224502105, -0.0100970371, -0.0201494489, -0.0279454645, 0.0216998756, 0.0012264763, 0.0006018172, 0.0167752057, -0.0026151945, 0.0235143565, -0.012680836, -0.0529481508, 0.0265904851, -0.0089430818, 0.0510536991, 0.0397471897, 0.0231350586, -0.0191649925, -0.0077397674, 0.0182500537, 0.0292229, -0.0054247282, 0.0746871978, -0.0344506055, 0.0841712505, 0.0110575724, 0.0858551413, -0.0084562348, -0.0570222065, -0.0493876785, 0.0645619482, -0.0268399697, 0.0299856234, -0.0056769946, 0.0450462103, -0.0556651354, -0.0390498266, -0.0377017818, 0.0793548822, -0.0450935923, -0.0277880579, 0.0335008055, 0.0043313256, -0.0012103335, -0.0133153507, -0.0147248665, -0.0233359784, -0.0238325894, -0.0405952781, -0.0481123254, -0.056483686, -0.0356639214, 0.016942244, -0.0057323505, -0.0323813632, 0.0149888191, 0.0315873213, 0.0194341298, 0.0366364084, 0.0246556085, 0.025814034, -0.0514275506, 0.0299357045, -0.0153287826, 0.0318653025, -0.0366625376, -0.0370135941, 0.0208335388, -0.0015550007, 0.0111918328, 0.0165831726, 0.0175291821, -0.0229322333, -0.0138860615, -0.0043568732, 0.008514164, 0.0169545095, -0.0124755036, 0.011135309, -0.0245017521, -0.0279827043, 0.0353862755, -0.0278214961, -0.0136246504, 0.0324038975, 3.004e-7, 0.069079347, 0.0416527912, 0.0200170297, 0.0375470929, 0.009974082, 0.0528620295, 0.0069569624, 0.017088471, 0.0005673246, 0.0133591173, 0.0340211429, -0.0224454813, 0.0364172049, 0.0600212142, -0.0438340157, 0.015082974, -0.0118683772, 0.0039784322, -0.0487167537, -0.0089597842, 0.0410074517, 0.0292633194, -0.0095256818, 0.0047697364, 0.0347953662, -0.0720565096, 0.004002824, -0.0056909644, -0.0509526655, 0.0608994216, 0.0210884213, -0.0017483155, 0.0337661989, 0.0215772223, -0.016311828, -0.0221603923, -0.0148638329, 0.0561667308, -0.0304407757, 0.0279334076, 0.0092725269, -0.077947624, 0.0316943862, -0.0321502574, 0.0186606403, -0.0098989597, 0.0111386692, 0.09490408, -0.017673457, -0.0180324763, 0.0061511588, -0.0044588773, 0.0019347765, -0.0147703476, 0.0351513512, 0.0506508984, -0.0066846479, -0.0219314247, -0.0124479523, 0.0191978123, -0.0380148068, -0.0183184333, 0.0267133899, 0.0444246121, -0.0195968077, -0.0017979394, -0.027302064, 2.701026583e-34, 0.0409705676, 0.0394419916, 0.0247017443, -0.0110299867, 0.1070297956, 0.0296983439, -0.0327950791, 0.0194375888, 0.0057113883, -0.0208886173, -0.0452911928 ]
http://arxiv.org/abs/2406.13397v1
http://arxiv.org/pdf/2406.13397v1
MoreHopQA: More Than Multi-hop Reasoning
2024-06-19T09:38:59
2024-06-19T09:38:59
Julian Schnitzler, Xanh Ho, Jiahao Huang, Florian Boudin, Saku Sugawara, Akiko Aizawa
cs.CL
cs.CL
Most existing multi-hop datasets are extractive answer datasets, where the answers to the questions can be extracted directly from the provided context. This often leads models to use heuristics or shortcuts instead of performing true multi-hop reasoning. In this paper, we propose a new multi-hop dataset, MoreHopQA, which shifts from extractive to generative answers. Our dataset is created by utilizing three existing multi-hop datasets: HotpotQA, 2WikiMultihopQA, and MuSiQue. Instead of relying solely on factual reasoning, we enhance the existing multi-hop questions by adding another layer of questioning that involves one, two, or all three of the following types of reasoning: commonsense, arithmetic, and symbolic. Our dataset is created through a semi-automated process, resulting in a dataset with 1,118 samples that have undergone human verification. We then use our dataset to evaluate five different large language models: Mistral 7B, Gemma 7B, Llama 3 (8B and 70B), and GPT-4. We also design various cases to analyze the reasoning steps in the question-answering process. Our results show that models perform well on initial multi-hop questions but struggle with our extended questions, indicating that our dataset is more challenging than previous ones. Our analysis of question decomposition reveals that although models can correctly answer questions, only a portion - 38.7% for GPT-4 and 33.4% for Llama3-70B - achieve perfect reasoning, where all corresponding sub-questions are answered correctly. Evaluation code and data are available at https://github.com/Alab-NII/morehopqa
[ 0.0325780138, 0.051627215, -0.0198087003, 0.0410743468, -0.048011113, 0.0117654409, -0.0047766767, -0.0218363591, 0.01954698, -0.0196379572, -0.0266065523, 0.0027974802, -0.0151960161, -0.0049958201, 0.0437912345, -0.0309063233, 0.0256605037, -0.0496178046, 0.0149852037, -0.0269742217, -0.0167017505, 0.0453245789, -0.0237071235, 0.02244436, -0.0037395072, -0.0186623782, -0.0230386909, -0.0310041141, 0.0059615714, 0.0108244, -0.0139497556, 0.0514314733, 0.0210956894, -0.0103650121, 0.0000020101, -0.048622366, 0.0278754085, -0.0201161634, -0.0343984663, -0.0354004838, -0.053797584, 0.04474397, 0.0177739579, 0.0393136181, -0.0600672327, 0.0243248567, 0.0044549317, 0.0546952747, 0.0643910915, 0.0574569739, 0.0094754286, -0.0846747532, 0.0231322758, 0.0116816172, 0.0549289584, -0.0397919044, 0.0119749121, 0.0682839677, 0.0486524366, 0.0080683334, -0.0157896578, 0.0239199884, 0.0589319952, 0.0012114728, -0.0566977113, 0.0196101703, -0.0458498746, -0.0357587524, -0.0004892978, 0.1011101604, 0.0196590014, -0.0357809924, -0.0118055549, 0.0218712986, 0.019112207, -0.0023717559, -0.0494782627, 0.0179545749, -0.0195064135, 0.0004146884, 0.0273332056, -0.0083676539, 0.0163624715, -0.0015188321, -0.0140270321, 0.1061245129, -0.0118777473, -0.0290326979, 0.0302595533, -0.0305391271, -0.0099751987, -0.061245732, 0.0067108003, 0.0768809691, -0.0162132233, 0.0320300385, -0.006461178, 0.0487563163, 0.0396919325, -0.0270441901, 0.0126071684, 0.0451121405, -0.021034563, 0.0839585289, -0.0140189724, -0.0086011169, -0.0255745612, 0.0328783095, -0.0357724689, -0.0368537493, -0.0428709351, -0.0262160469, -0.0382431895, 0.0358245969, -0.0451997221, 0.0106415693, -0.0002006406, 0.0034436551, -0.0161366817, 0.0019589232, 0.0365826972, 0.003988517, 0.0210469365, -0.0019523338, -0.0301934779, 0.032435637, -0.1040716097, 0.0658769086, 0.019405283, -0.0535122901, -0.0175831188, 0.0028082263, 0.025891114, -0.0218197946, 0.0378572978, 0.0502366386, -0.0130301183, 0.0018030693, -0.0355211198, -0.0509730838, 0.0151366116, -0.0978325009, -0.0187294893, -0.0775709674, 0.053086333, 0.0068569691, -0.0365350097, -0.0260536261, -0.0013651428, 0.045758646, -0.0207173433, 0.0732318535, 0.0301529039, 0.0330583565, 0.0429645814, 0.0210716203, -0.0403710566, 0.0771733373, 0.0390890986, -0.0123437932, 0.0501057841, -0.0229612608, 0.016041832, 0.0190145373, 0.041853562, -0.0205009766, 0.0092419675, 0.0605565235, -0.0419519804, 0.0161508694, -0.0027073398, 0.0670173243, -0.025618095, -0.0182376225, 0.0181399025, 0.0565536506, 0.0024167572, -0.006518513, 0.0482391715, -0.0144914715, 0.0437942594, 0.0259437282, -0.0485514142, 0.0484498926, -0.0304237697, 0.0047054538, 0.0221328549, 0.0196364187, -0.0357854217, -0.0446081497, -0.0125462888, 0.033728648, 0.0228219666, 0.0520303324, 0.027598653, 0.0214569271, -0.0237442814, 0.0480224229, 0.0122119831, -0.0643573329, -0.0105949687, -0.0604690164, 0.0840254351, 0.0178006273, 0.0313362628, -0.0028289424, -0.0051133065, 0.0029202655, 0.0137383509, -0.0039161816, 0.035450954, -0.0386147834, 0.0070343614, -0.0224244241, -0.0040067332, -0.0152803287, -0.0025301378, -0.014922658, 0.001004804, 0.0071470547, -0.0194373634, -0.048603639, 0.0554009005, 0.0074771927, -0.0518936627, -0.010609502, -0.0370903797, 0.0036681108, 0.0006003674, 0.0484764203, 0.0250037704, 0.0294405296, 0.0413550213, -0.0208212268, -0.0222336836, 0.0101652592, -0.0403040536, -0.060198307, 0.0429415815, -0.0365913697, -0.0262628812, 0.019469928, -0.0236879289, -0.0515559353, 0.0275449622, -0.0148983635, 0.0073642507, -0.0529781953, -0.0205319282, 0.0067288978, -0.0049497406, -0.0079400726, 0.0857339129, -0.0016497902, 0.0291646179, -0.0206387844, 0.0084628798, 0.0303602256, -0.0141701195, 0.0120151127, 0.045734182, -0.0063736574, 0.0081638983, -0.0131294159, 0.01370712, -0.0714504868, -0.0108657433, -0.0706778392, 0.0094365878, -0.0377596319, 0.0266508088, 0.0231626201, 0.0004352776, -0.0176499449, -0.0289115515, -0.081565313, -0.0077536227, 0.0223860778, 0.0125517994, 0.0065109534, 0.0051588365, -0.0068812827, -0.0006307296, -0.0159391519, -0.0137453536, 0.0133607183, -0.0150009077, 0.0410721377, -0.0132452417, -0.0419881381, -0.0718031079, 0.0066994526, 0.0011611298, -0.0148321474, 0.0158559494, -0.0115919318, 0.0271022972, 0.0240650494, -0.0342201628, 0.0010219009, 0.0405719504, -0.008943609, -0.0356608257, 0.0388924479, -0.0185732972, 0.0120790796, -0.0188632496, -0.0444601104, -0.0381505229, 0.0606814623, 0.0306614283, -0.0162694938, -0.0429446176, 0.0388419479, -0.0091670202, -0.0001486164, -0.0619211271, -0.0161314551, -0.0184086524, 0.0927469134, 0.0011514374, -0.0087525463, 0.1072097793, -0.0050638579, -0.0042173839, -0.0699862763, -0.0017541414, -0.0391335376, 0.0784217492, -0.0446115993, 0.0077373516, -0.015206391, -0.0195967685, -0.0645943582, -0.0283710677, 0.0297596604, -0.0565923043, 0.034509901, -0.0485220365, 0.0021905801, -0.0035800962, -0.0514474511, -0.0265321042, 0.0130947046, -0.0392610431, 0.0176826511, -0.0346975252, 0.0033327048, 0.0325705521, -0.0062147304, 0.0131116984, 0.0363421254, -0.0175217949, 0.0005696773, -0.014292378, 0.0668952093, 0.0648941323, 0.0485243089, 0.0187835395, -0.004105805, 0.0367188752, 0.0504255705, 0.041451551, -0.0201244354, 0.046798829, 0.0215126015, 0.0228505563, -0.0065184571, -0.0098989401, 0.025927566, 0.0573250353, -0.0485454313, -0.0180568118, 0.0832320675, 0.0624083392, 0.0060551111, 0.0107276868, -0.0491357036, 0.0170293488, 0.0016771543, 0.0286821034, -0.1047009528, -0.0595781803, 0.0147971855, 0.0145188645, 0.002581175, -0.0144682098, -0.0027555623, -0.1030264571, 0.0369026773, -0.0105239451, -0.0615362749, -0.0359683894, -0.0356915258, -0.0075585451, 0.0015552193, 0.0023859676, 0.0281748995, 0.0126028694, 0.004472252, 0.0048032119, 0.0030805832, -0.0399872474, 0.0759847835, -0.0076821535, 0.0197276529, 0.0343493558, 0.0369422175, 0.0040037981, -0.0784381479, 0.0309837982, -0.0610452332, -0.0223713592, 0.0056739124, 0.0036807584, 0.0335474722, 0.0002636087, -0.0273343492, 0.0791288242, -0.0507268645, -0.0180687122, 0.0390798077, 0.1071751267, -0.015771538, -0.0298069399, -0.0323712602, 0.0344608016, -0.0165201463, 0.0985512137, 0.051341407, -0.0091294628, -0.0340510271, -0.0317817777, -0.0468105599, -0.0613253638, -0.0326173566, 0.0322675072, 0.0235843938, 0.0113821505, -0.0771366954, -0.0535108186, 0.0467639342, 0.047267545, -0.0249981266, 0.0107695451, 0.0134013789, 0.0068381149, -0.0408115089, 0.0074106329, -0.0148676243, 0.0200915039, -0.0232397262, -0.0014953986, 0.011117883, -0.0279697292, -0.0313446559, 0.0058392277, -0.0838479549, -0.0513125286, -0.0178441517, 0.0346055254, 0.0317500643, 0.0204644892, -0.0265420992, -0.0341429748, -0.0021868506, -0.000782678, -0.0181781743, -0.0046517099, 0.0059400843, 0.0001830932, 0.0036371718, 0.046509631, -0.0304787382, 0.0298439357, -0.0180335306, 0.0533559173, -0.0185786989, 0.0209541507, 0.0407123305, 0.0130743207, -0.0062849452, 0.014848941, 0.0339171439, -0.020565521, 0.0314901024, -0.0322434157, -0.0180558022, -0.024397254, 0.0141562214, 0.0156578161, -0.0454049297, -0.0120692998, -0.0462242253, -0.0070471331, 0.0142986188, -0.0323759802, 0.0108830202, 0.0510661751, 0.0122330273, 0.0050791255, -0.0363931619, -0.0098112095, -0.0192482639, -0.0081045032, 0.0605281554, 0.0082067419, 0.0728339329, 0.0265370682, -0.0214103255, -0.0017684093, 0.0059950207, -0.0530379042, -0.0451077931, 0.0322893672, 0.0193901714, 0.0401616693, 0.0290596131, 0.0136523349, 0.0186410025, -0.0179698858, 0.0185116641, 0.0240800548, 0.0260714106, -0.034519475, 0.0698543787, 0.0383682363, -0.0122904535, -0.0083603812, 0.063214533, -0.0683406591, 0.0305004958, -0.0204488114, 0.0136410408, -0.0204076897, -0.029371528, -0.0502310842, -0.0045137703, 0.0009320978, 0.0224189553, -0.0802031606, -0.0900965333, -0.0631865039, 0.0310319681, -0.0117370589, -0.0056663109, 0.0164678581, 0.064322181, 0.0244773235, -0.0575711578, -0.031254109, 0.0202625524, -0.0545568205, -0.0159275308, -0.0043361876, -6.52847375e-33, -0.0108970851, -0.0352895372, 0.0473573282, -0.0381304659, -0.0093056206, -0.038056314, -0.050507538, -0.0150195006, -0.0726718679, 0.0072008139, -0.021817442, 0.0230106264, -0.0011165095, 0.0292064846, 0.0098949363, -0.0485505648, -0.0095151672, 0.0016983723, -0.0441128463, 0.0303754099, 0.0685940161, -0.0238422398, 0.0317806937, -0.0001224119, 0.0314104557, -0.0279154889, -0.0287724566, 0.0508027636, -0.0788389295, 0.0752290711, -0.0087641655, 0.0319913328, 0.0229268186, -0.0279385168, 0.0123302676, 0.0283694565, -0.0921395347, -0.0685243234, 0.0494916551, -0.0126808342, -0.0670136437, -0.0209284201, 0.0186182838, 0.0032364344, 0.0083116991, -0.0099335369, 0.0005293346, -0.0079032565, 0.0242538303, -0.0284948926, -0.0286023524, 0.0051066442, -0.0411221385, -0.0327843875, -0.0361168981, 0.0942270234, -0.0234777313, -0.0099730119, -0.060436476, 0.0228706356, 0.0333929844, -0.0288541745, 0.0567770824, -0.0241982862, 0.0030671372, 0.0101646408, 0.0063323812, -0.052272208, -0.0361378379, 0.0185365211, -0.0043151979, 0.0498750694, 0.0524984673, 0.0259777643, 0.0424703844, -0.0003499885, -0.0590610802, 0.0321702696, 0.01395055, 0.0187736396, 0.0051354244, -0.0219809413, -0.0447434597, -0.0234675873, -0.0449630544, 0.0102143744, -0.0333737954, -0.0363451764, 0.0303930007, -0.0281190593, -0.007670878, -0.0088510346, 0.0197512303, -0.0374326482, 0.0047472054, 0.0398329683, -0.0243664682, 0.0077060796, 0.0196639039, 0.0513548441, -0.027040679, 0.0254478958, 0.0239835698, -0.0032589203, 0.0136554642, 0.032693658, 0.0283099487, 0.0383458324, -0.0526741743, -0.0040074275, -0.0377891287, 0.0325342156, -0.0082646636, 0.0039655371, 0.0429004356, 0.0415253751, -0.0048718969, 0.0306640957, 0.0105469516, 0.0169750713, -0.0418391712, 0.0223425124, -0.020462174, 0.039007552, -0.009760187, 0.0109615587, -0.0458377004, -0.0058902605, -0.0072606686, -0.0485871769, -0.0049152058, 0.0569681227, 2.73e-7, 0.0319285467, 0.0138028655, 0.0000667925, 0.0404132865, 0.0084485561, 0.0233665388, -0.0144542577, 0.0023735315, 0.0149085773, -0.0322809517, -0.0156315807, 0.0281800739, 0.0384670049, 0.0623099133, -0.0944877341, 0.003623443, -0.0498984233, -0.0321053304, -0.047339797, -0.0028753802, 0.094087936, 0.0787248313, 0.0103919907, -0.0152942846, -0.029497955, 0.010783135, 0.0197092295, 0.0043223561, -0.0179875251, -0.0145214032, 0.017211711, -0.0259795394, 0.0393155962, 0.0264798831, -0.0326331444, 0.0250272676, 0.0008391556, 0.0382026583, 0.0119815301, -0.054118868, -0.0236329418, -0.0385000072, 0.0263248514, -0.0629580095, 0.1151208654, -0.0224654134, -0.0547589734, 0.0038904501, -0.0235565268, -0.014860006, 0.0071604159, -0.0149116246, 0.0015971547, -0.0025496846, 0.0153409289, -0.0227455869, 0.0374252312, -0.0694580898, -0.0059239501, 0.0277202874, -0.013060675, -0.0437779538, 0.0143939061, -0.0424261019, 0.0106095979, -0.0652715415, -0.0136982547, 2.215215201e-34, 0.0367898121, -0.0169987772, 0.0243900139, 0.0061516585, 0.0393259749, -0.0219621584, 0.0184699167, -0.0147520304, 0.0310320631, -0.0686240643, -0.0155302472 ]
http://arxiv.org/abs/2406.13381v1
http://arxiv.org/pdf/2406.13381v1
CoAct: A Global-Local Hierarchy for Autonomous Agent Collaboration
2024-06-19T09:23:53
2024-06-19T09:23:53
Xinming Hou, Mingming Yang, Wenxiang Jiao, Xing Wang, Zhaopeng Tu, Wayne Xin Zhao
cs.CL
cs.CL
Existing LLMs exhibit remarkable performance on various NLP tasks, but still struggle with complex real-world tasks, even equipped with advanced strategies like CoT and ReAct. In this work, we propose the CoAct framework, which transfers the hierarchical planning and collaboration patterns in human society to LLM systems. Specifically, our CoAct framework involves two agents: (1) A global planning agent, to comprehend the problem scope, formulate macro-level plans and provide detailed sub-task descriptions to local execution agents, which serves as the initial rendition of a global plan. (2) A local execution agent, to operate within the multi-tier task execution structure, focusing on detailed execution and implementation of specific tasks within the global plan. Experimental results on the WebArena benchmark show that CoAct can re-arrange the process trajectory when facing failures, and achieves superior performance over baseline methods on long-horizon web tasks. Code is available at https://github.com/xmhou2002/CoAct.
[ 0.0718623325, 0.0234706029, -0.0104475478, 0.0078140423, -0.0434793904, -0.0025034132, -0.01025414, -0.006870673, 0.0145455208, -0.0379695818, -0.0205502305, 0.0248042606, -0.0182650015, 0.0501804911, 0.0091123469, -0.0688192174, -0.0089917928, 0.0041452046, -0.0174828563, -0.006024335, 0.0110991988, -0.0131850205, -0.0336346328, 0.0572415292, 0.0028088964, -0.0010649329, -0.0591401234, 0.0157116428, 0.0289986376, -0.0159202795, -0.0168946087, 0.0029530209, 0.0244505163, -0.0066192979, 0.0000019728, -0.0613303632, -0.0079575311, -0.0236138273, -0.0153100481, -0.0768882707, -0.0315126628, 0.0103325127, -0.0243060477, 0.0250276029, -0.0391175002, 0.0601607487, 0.0172297359, 0.046809908, 0.0533625633, 0.0504361875, -0.0022673106, 0.0097682411, 0.0185853671, 0.0205277596, -0.0037955178, -0.0782408863, -0.0028024742, -0.0214582328, 0.0600092635, -0.017539287, 0.0281003248, 0.0028287643, 0.0051413965, -0.027841568, -0.0222185049, 0.00299797, -0.0211685821, -0.0490457527, -0.0322373398, 0.0618490614, 0.0203504059, 0.0285892133, 0.0478096828, 0.0096287495, -0.0040849848, 0.0275155678, -0.0328479521, 0.0526279621, -0.0180981606, -0.0130967963, 0.0080552669, -0.0158280004, -0.0239419788, -0.001646122, -0.0349898115, 0.1086887717, -0.0218572114, 0.0045216507, -0.0253356807, 0.0075800004, 0.0297131818, -0.054232154, 0.0563458279, 0.0795643106, -0.0992881432, 0.0180698335, 0.0257739872, 0.0236098412, 0.0188281592, -0.0258332938, 0.05551311, 0.0372488983, 0.0055444185, 0.0563841388, 0.0100833522, 0.0640617609, -0.000679221, 0.002660939, -0.0217447281, -0.0174392555, -0.1149402484, 0.0297407378, -0.0129779009, 0.046496544, -0.0515048653, -0.0096605793, 0.0036791079, 0.0831394419, -0.0170732085, 0.07558842, 0.0067980755, 0.0140697639, -0.0189718381, -0.0240034591, -0.0824377686, -0.0106363464, -0.0511896871, -0.0096701588, -0.0062681194, -0.0274068993, 0.011076293, 0.0131176133, -0.0023932199, 0.0124713769, -0.0260470398, 0.1166633517, 0.0096388664, 0.0043374882, -0.0314056352, -0.0559439994, 0.036223948, -0.0266068652, -0.0274607595, -0.0515592359, 0.0397853181, -0.0005949799, -0.0350665338, -0.0022625017, 0.0233061109, 0.0203915704, 0.0106484061, 0.0458913594, -0.0165153798, 0.025949141, 0.0176097527, 0.0343332551, -0.0363831036, 0.0416935906, 0.0320972763, 0.0878796652, 0.035235662, 0.0719774216, 0.0319368653, 0.0355779231, -0.0436296016, -0.0005481298, 0.05586363, 0.0065813214, -0.0162094478, 0.0589301847, 0.0063312091, 0.0099190949, 0.0019943798, 0.0110509694, 0.0561070889, 0.0675671846, -0.0058376794, -0.0005227688, 0.0365861133, 0.0727002025, -0.0237572957, -0.030277703, -0.0545444787, 0.043895442, -0.0239668768, -0.0216595642, -0.0260562822, 0.0151113132, -0.0164167434, -0.0290601309, -0.0091170017, -0.0066887736, -0.0206908844, -0.0128103904, 0.0124113578, 0.0216962975, -0.0435921699, 0.0017723324, -0.0294152908, -0.0153536135, 0.0003966328, -0.0521914847, 0.0023862722, 0.0958556086, 0.0599366501, -0.047036346, -0.0761962831, 0.0187108014, -0.0132878236, 0.0156693272, -0.020335529, -0.0388865881, -0.0416360386, -0.0186204892, -0.0957023799, -0.0108346399, -0.0317637734, 0.0021390244, 0.0259854626, -0.0217700675, -0.0462196693, 0.000573585, 0.0050218352, 0.0265859589, -0.0169099439, 0.0166548695, -0.0293118097, 0.0222653467, 0.0458239689, 0.0295490138, -0.0025130101, 0.0041379649, 0.0367407538, -0.0202373415, -0.0811986625, -0.0063381181, 0.0186463837, -0.0273457076, 0.0377728418, -0.0515061021, -0.0043334588, 0.0024987794, -0.0253732484, -0.0398037545, 0.0099494243, -0.0203563794, 0.0064299186, 0.0193195753, 0.0176582281, 0.0227579866, -0.040935766, -0.0414813049, 0.0403285362, -0.007534381, -0.0595097877, 0.0162050314, 0.0371661, -0.0138403159, -0.0280735381, 0.0187785961, 0.0277247988, 0.0348476283, -0.004220834, 0.0328495689, 0.0423787348, -0.0535772033, -0.0465701632, -0.081949845, 0.0238417778, -0.0168349799, 0.0178345181, 0.0009307294, 0.011426921, 0.0000864424, -0.0353243724, -0.0270946119, 0.0810279027, -0.0290248487, 0.0182512291, 0.0470677428, 0.0350537561, -0.0536069758, -0.0165680293, 0.0244780164, -0.0062851226, -0.0288015585, 0.0012858264, -0.0811337158, -0.0684136599, 0.0423876271, -0.0517742895, 0.0098969638, 0.0011713122, -0.0316384248, 0.0170445964, -0.0128971515, 0.0128992414, 0.0095854159, -0.0333149098, 0.0397678018, 0.0437753573, -0.0253756028, -0.0619462281, 0.0181157868, -0.026082864, -0.0357912779, -0.0580228046, 0.0081240227, 0.0023135811, 0.0659390986, -0.020666467, 0.0305320825, -0.0096404105, -0.0396816432, 0.0157735366, -0.008186955, 0.010678486, -0.0305719953, -0.0225134157, 0.0525204875, -0.0272572637, -0.0221526269, 0.0474616401, 0.0190608203, -0.0203235652, -0.0118149007, -0.0511624999, -0.0616112426, 0.0979366824, 0.0105142184, 0.0063843839, -0.0375969782, -0.0431894325, -0.0312269572, 0.035368938, -0.0011350629, -0.0034055491, 0.0201742183, -0.07725624, -0.0037268735, -0.0361764841, -0.0552672409, -0.0276663546, 0.0335782915, -0.0357236937, 0.0311909989, -0.0088026784, -0.0466855876, -0.0422420055, -0.0256268438, 0.0356719196, 0.0318726711, 0.0182372667, -0.0472462289, -0.0521243438, -0.0294115748, 0.0019811278, 0.0562022328, 0.0021903433, 0.0252731703, -0.0071969652, 0.0792868212, 0.0455858484, -0.078240715, -0.0034850552, -0.0092490083, 0.0506197289, -0.0441223122, -0.0288914368, 0.019054208, 0.0378289521, -0.034514524, 0.0157994349, 0.0688490495, 0.0425744504, -0.0515533984, 0.0017388602, -0.0454123989, -0.0010659271, 0.0397344567, 0.0332085714, -0.0290882811, -0.0038663938, 0.0142559065, 0.0042307037, 0.007026602, -0.0704287291, 0.0011097257, -0.0656432137, 0.0434105024, -0.0368387699, 0.031930469, 0.0504728034, -0.0576669239, 0.030951364, 0.0014781656, -0.0090515427, 0.0140341995, 0.006359363, -0.0348959416, 0.0005240066, -0.0643713772, 0.013630501, 0.0004007292, -0.0354305543, 0.057622306, 0.0558137745, 0.0409687385, 0.0367486142, 0.0016396899, 0.0131202945, 0.0556045435, 0.054527726, -0.0413101502, 0.0149793411, -0.0130148474, 0.0198806562, -0.0059475396, 0.0054257819, -0.0794298649, -0.0103532718, 0.0375450253, 0.0886587277, -0.0453106388, 0.0246971957, -0.0229593832, 0.0181936249, 0.0008286694, 0.0482199006, -0.0269198604, -0.0227885991, -0.0619311407, -0.0212734435, -0.04349529, -0.0418525524, -0.01239237, -0.0003081824, -0.0297083315, 0.0174032636, -0.0592297837, -0.0540613644, 0.0743113458, 0.0382026546, 0.0194428768, -0.022488283, 0.0336068571, 0.0264606904, -0.0194817409, -0.0362571068, -0.0124602625, 0.0046906425, -0.0202112924, -0.0211806465, 0.0336403735, -0.0263307802, 0.0198769141, 0.003516532, -0.0452939197, -0.0343410634, 0.005232248, 0.0374482125, 0.0174762327, 0.0015766425, -0.0174181014, -0.0618119314, 0.0357747413, 0.0057130018, -0.0732957944, 0.0182464272, 0.0046957149, 0.0757944211, 0.0041692778, 0.0398198031, -0.0718988925, -0.0056483373, -0.0107620945, 0.0472600497, -0.0531133898, -0.041636955, 0.0093605546, 0.019510705, -0.0237898268, -0.0179443005, -0.0335470214, -0.0009820813, 0.0194089748, 0.0021839226, -0.012908075, -0.0533680171, 0.0445640124, -0.0255329683, -0.0362322889, 0.0842851922, 0.0512302257, -0.011987973, -0.0221167132, 0.0116799437, 0.0373404771, 0.0096062776, -0.0102889827, 0.0276142936, 0.0351569615, -0.0031341033, -0.00718285, 0.0437613316, 0.0409797952, 0.0153717585, 0.019297367, 0.0176087972, -0.0140172094, -0.0279637631, 0.0350465737, -0.0658289194, -0.0780571923, 0.0406739861, 0.0217309184, 0.0688214526, 0.0701297969, 0.0290414263, -0.0570747629, 0.0181426555, 0.0167630054, 0.0016727423, -0.0125430413, -0.0253301561, -0.0066621597, 0.0159699358, 0.0011255866, -0.0039955042, 0.0353105813, -0.0146820508, 0.0188005194, -0.0138911819, -0.0383955315, -0.0595243163, -0.03891287, 0.0107755763, 0.03299243, 0.0004334335, -0.0266254488, -0.0226421636, -0.0028309892, 0.0204344299, 0.0276620779, -0.0234353524, -0.0198665913, 0.0529558249, 0.0209663119, 0.0317821018, -0.0199570265, -0.0481709614, -0.0275682006, 0.0201715827, -0.011859173, -0.0039671962, -5.422325852e-33, -0.0226737484, -0.0823688954, 0.0871185884, 0.0422822461, 0.009198362, -0.0099490294, -0.0365687571, 0.0344324447, 0.0188144054, 0.0250166524, -0.040358033, 0.0079478221, 0.0330378003, -0.0294789933, 0.0246765967, -0.0002548366, 0.0248384196, -0.009205319, -0.0005205232, 0.0008803286, 0.0332496539, 0.0304599889, 0.0352238081, -0.04970311, 0.0151161067, 0.0115522686, -0.001457245, 0.0600477383, 0.0193812959, 0.0385018736, -0.003221551, 0.0393288285, 0.028295625, 0.0158678778, -0.0262258109, -0.0165038481, -0.0398597755, -0.0548460074, -0.007830889, -0.0088061467, -0.0757870674, 0.0045298971, -0.0033738473, 0.0160418004, -0.0400768779, 0.0018033392, 0.0319438204, -0.0002676857, -0.0110936249, 0.0120392544, -0.0478912778, 0.0170523562, 0.0022242675, 0.0010202156, 0.0390571319, -0.0188538581, 0.0346580558, -0.0376933888, -0.0430738516, 0.0155017264, -0.0889049098, 0.0017748454, 0.0709127635, -0.0099232644, -0.0343171731, 0.07326217, 0.0327356681, 0.0606591739, -0.0237213541, 0.0041175159, -0.0551715195, 0.0922886357, -0.0011700477, 0.0260550398, -0.0645603612, 0.0453582332, -0.0052323509, 0.0795291886, 0.0531980991, 0.0605327599, -0.0057808622, 0.0564268827, -0.0297060255, 0.0037849206, 0.0083898613, 0.0501666553, -0.0133863948, -0.0156923942, 0.0009076015, 0.0287146196, 0.0329107828, -0.0002199538, -0.0035443013, -0.0268644132, 0.0053937603, -0.0026429405, -0.0008161049, 0.0156512894, -0.0008760632, -0.000322424, -0.037953075, -0.0374230742, -0.0422663353, 0.0095718075, 0.0269405544, 0.0133513669, -0.0199345425, 0.0231437758, -0.0244551823, 0.0032728808, -0.0602343045, 0.0264583454, 0.0122525105, -0.0427254029, 0.0285611283, -0.0356867947, -0.0226874389, 0.050770279, -0.0049624196, -0.0724231377, 0.0008020439, 0.0254404787, 0.0076263272, -0.0193466749, -0.0355669744, -0.0145675354, -0.042557463, 0.0468993597, 0.0060178, -0.0268951561, -0.0272050779, -0.0008255626, 2.744e-7, -0.0103991283, 0.0553853735, 0.0331548899, 0.0378445014, 0.0386927165, 0.0166019462, -0.0068519656, 0.0169166997, -0.0563318655, -0.015809672, 0.0323333964, 0.0367176794, 0.0178446565, 0.054098729, -0.0878990516, -0.0191444755, 0.0161033776, -0.0154392431, -0.0645569116, 0.0127775334, 0.0481586456, 0.0128669348, 0.0176333226, -0.011722452, 0.0122150788, -0.0267341938, -0.0052767699, -0.0325697139, -0.0210002847, 0.0452168845, -0.0321064331, -0.0122074662, -0.005184955, 0.0068941191, -0.0038056949, -0.0156045146, -0.0077562914, 0.0629581586, 0.0083444165, -0.0457100607, -0.0065155653, -0.0701509267, 0.0358059928, -0.0052012424, 0.0094907675, 0.0073209452, -0.0237831492, 0.0557487309, 0.024955105, -0.0482390858, -0.0442992747, 0.0070777484, 0.0266716816, -0.004459349, -0.0157604907, -0.0121032437, -0.0277389809, -0.0867910385, 0.0375453234, -0.0098798331, -0.0442404151, -0.0553906448, -0.0197116286, 0.0231074765, -0.0121756392, -0.0133519731, -0.0237259269, 2.51069017e-34, -0.031731911, 0.0051062456, -0.0159815699, 0.0784805641, 0.0439976044, 0.0290501285, -0.0701728016, 0.0240292791, 0.0422536992, -0.0300028194, -0.042560678 ]
http://arxiv.org/abs/2406.13375v1
http://arxiv.org/pdf/2406.13375v1
ALiiCE: Evaluating Positional Fine-grained Citation Generation
2024-06-19T09:16:14
2024-06-19T09:16:14
Yilong Xu, Jinhua Gao, Xiaoming Yu, Baolong Bi, Huawei Shen, Xueqi Cheng
cs.CL
cs.CL
Large Language Models (LLMs) can enhance the credibility and verifiability by generating text with citations. However, existing tasks and evaluation methods are predominantly limited to sentence-level statement, neglecting the significance of positional fine-grained citations that can appear anywhere within sentences. To facilitate further exploration of the fine-grained citation generation, we propose ALiiCE, the first automatic evaluation framework for this task. Our framework first parses the sentence claim into atomic claims via dependency analysis and then calculates citation quality at the atomic claim level. ALiiCE introduces three novel metrics for positional fined-grained citation quality assessment, including positional fine-grained citation recall and precision, and coefficient of variation of citation positions. We evaluate the positional fine-grained citation generation performance of several LLMs on two long-form QA datasets. Our experiments and analyses demonstrate the effectiveness and reasonableness of ALiiCE. The results also indicate that existing LLMs still struggle to provide positional fine-grained citations.
[ 0.0622511357, 0.0001648689, -0.0009976253, 0.0173390172, -0.0430723503, -0.0110360235, 0.01984437, -0.0244601723, 0.0295470543, -0.0931987613, 0.0214302931, 0.0108593544, 0.0122460155, -0.0212004203, 0.0469797105, -0.0055025239, 0.0123438295, 0.0182850286, 0.0779595822, -0.0007383039, 0.0130610373, 0.0065052919, 0.0084060784, 0.0471412167, 0.0204703305, -0.0430287682, 0.0304584615, -0.0107364673, 0.0616079532, -0.0428843908, 0.0236431658, 0.0396056771, -0.0413119532, 0.035591308, 0.0000017699, -0.0444150493, 0.0040240334, 0.0463857502, 0.0244017113, 0.0787624642, 0.0156361368, 0.0039782017, -0.0047924398, 0.0140153756, -0.0216118526, 0.0154201025, 0.0114476737, 0.0440310799, 0.0564655028, 0.0210924223, -0.0074512628, -0.0378124714, 0.0505897664, -0.0199655127, -0.0107041774, -0.0169733781, 0.0269689262, 0.0643896759, -0.0014629738, 0.0712564141, 0.0533868074, 0.0159833413, -0.0139624905, -0.0215974804, 0.0324949138, -0.0059050205, -0.0252929851, 0.0229132939, 0.0352275968, 0.040900249, 0.0097568696, -0.0440901145, 0.0261504743, -0.0279238466, 0.0067698914, 0.0381308943, -0.0282921605, 0.0560390987, 0.0048181852, -0.0224292055, 0.0405571871, 0.0141948322, 0.0203317609, 0.0125339003, -0.003357735, 0.0490124486, 0.0135334078, -0.0517392308, -0.0071139117, -0.0219785366, -0.0203489065, -0.058411859, -0.0153107354, 0.0130346036, 0.0168564171, -0.0159175713, -0.0073399497, 0.0047301692, 0.0868756771, -0.0253606942, 0.0109081231, -0.0296310242, -0.0061076363, 0.0246303938, -0.037585739, 0.0081889415, -0.0238342509, -0.0702442005, 0.0284575801, -0.0026224132, -0.0528936125, 0.0041221827, 0.0011498139, 0.0237530395, -0.0582455285, -0.0126882773, -0.0693739355, 0.0030778504, -0.0635511652, 0.0385011025, 0.0029995949, 0.0064391769, 0.0137164034, 0.0071828277, -0.0056919418, 0.002356834, -0.0289729368, 0.0596925206, -0.0015780297, -0.0132992212, 0.0086825974, 0.0379470848, 0.0332095996, -0.033146672, -0.0049815732, 0.0093415361, 0.0361455195, -0.017319249, -0.0461456105, -0.0546495803, -0.0251449309, -0.0566255115, -0.014058168, -0.0936113745, 0.0047447686, 0.0378610864, 0.0089093298, -0.0378081463, 0.0169262569, 0.0448432378, -0.0393930599, -0.0081095733, -0.0126342084, 0.0055782627, -0.0001370338, -0.0182568487, 0.0618545003, 0.0157490764, 0.0511271693, 0.0244064052, 0.0325471945, 0.0263516512, -0.0038130062, 0.0006058403, 0.0175378565, 0.0543683246, 0.0181141812, -0.0138782598, -0.0288827661, 0.0007492056, -0.0142154321, 0.0584657378, -0.0180298928, 0.0405981913, 0.0776230022, -0.0008832684, -0.0041196309, -0.0094823893, 0.0699340329, 0.0087660234, 0.0290080886, -0.0106209284, -0.0058653844, -0.0034165669, -0.0313691646, 0.0159737859, 0.0491841249, 0.0233725999, 0.019175034, -0.0137651069, -0.0061593512, -0.0066639949, -0.0233824123, -0.0315207168, 0.004561712, 0.0001705396, -0.0572533868, 0.0575046949, 0.0151103633, -0.0552963316, 0.004629456, 0.0244695041, 0.0413169898, 0.0040929751, 0.0356990546, 0.0070124217, 0.0193822328, -0.0104593262, -0.0161179062, 0.0291171838, -0.0088045401, -0.0121077234, -0.0277075674, -0.0171124972, -0.0182938091, -0.0230513308, 0.022008365, -0.0296430923, 0.0383328609, 0.001664941, 0.0551016852, -0.0431503654, -0.0581347272, 0.0193108562, 0.0067661353, 0.0056480458, 0.0077805133, -0.0095806755, 0.0408378318, 0.0279024392, -0.0441389047, 0.0357392542, 0.0468117148, -0.0311929137, 0.0068299901, 0.0035659489, 0.0438392684, 0.0300790872, 0.0366484746, -0.0316897146, 0.023130076, -0.014086985, -0.0275991838, -0.0381193087, -0.0044861296, -0.014353605, -0.0389458351, -0.0193428006, 0.0083785364, -0.0085708573, 0.0157047547, -0.0471707769, 0.0922714844, 0.0216779057, 0.0594081953, 0.0150593333, 0.0131855002, 0.0329546332, -0.0295075569, -0.0432385728, -0.0353888907, -0.0169488173, 0.0067458344, 0.0679173172, -0.0272224657, -0.0322591662, -0.0291703697, -0.0634742305, 0.0295812245, 0.01053249, 0.0184115097, 0.011253465, -0.0192933604, 0.0153419208, 0.0333113596, -0.0116559053, -0.0398397632, -0.0025425663, 0.0085031949, 0.0383285694, 0.0064519495, 0.023178041, -0.0445079468, 0.0129730329, -0.0143338274, 0.0491830967, 0.0661938637, 0.0274202228, -0.0801669285, 0.0213196799, -0.0279800463, -0.0214681998, 0.0069606672, -0.0138690639, -0.0045039272, 0.0417919345, 0.0348833613, 0.0395055637, 0.0194730945, -0.0225374531, 0.020888852, 0.0191105064, -0.032934349, -0.0310543198, -0.0071757403, 0.0160569455, -0.0125450408, -0.0571304522, 0.0281899311, 0.0192877036, 0.0157435127, -0.0160293113, -0.0187094212, 0.0272901282, -0.0123011461, 0.0156293437, 0.0156825669, -0.0163905565, -0.0126846451, 0.0482102372, 0.001240343, -0.0194426943, 0.0041368059, -0.0709396973, 0.0288101211, -0.0038995692, 0.0154481754, -0.0375005938, 0.0426647961, 0.0319826156, -0.0074178749, 0.0320114382, 0.033213187, -0.0379302651, -0.0038108407, 0.0261857081, -0.0169608332, 0.0155544877, -0.0136278905, 0.0326260738, -0.019314751, 0.0016377546, -0.008638598, -0.0127701871, -0.0361135565, 0.0313497074, 0.0302814394, -0.0249283332, -0.0160116199, -0.0071828519, 0.0555206574, 0.0066527333, -0.0459395796, -0.0019950562, -0.0443586409, 0.0541854985, 0.0537712537, -0.025302792, 0.0507528, -0.0025064128, -0.0414821133, 0.0317128301, -0.0182904173, 0.0476142801, -0.0612772666, -0.088929005, -0.016943749, -0.0679929852, -0.024073502, 0.0087988824, 0.0532321483, -0.0274509285, 0.0115281837, 0.0981801525, 0.0396398082, 0.0008587135, 0.0002091771, 0.0050341734, 0.0414392501, 0.0156415664, 0.0231547467, -0.1106766909, -0.001857247, -0.015043946, -0.0015349862, -0.0490044281, -0.0352855213, 0.0214690007, -0.1397493184, 0.0658837408, 0.001116082, 0.0603738874, -0.0254432093, -0.0467115827, 0.0170307625, 0.0044531291, -0.0364868008, 0.0280516427, -0.0290357824, 0.004758873, 0.0096955067, -0.0264886916, -0.0532018207, 0.0250884295, -0.0570428707, 0.0285532083, 0.0110377762, 0.0588898808, -0.0224659797, -0.0326738581, 0.0012691357, -0.0885136127, -0.043133866, 0.0353628136, 0.0057155592, 0.0171346795, 0.0172490589, 0.0074470164, 0.0231376607, 0.0112791508, -0.0262322966, 0.050349392, 0.070132181, 0.0025425837, 0.0198784899, -0.0217447355, 0.0235486459, 0.0043696687, 0.0496698208, 0.0390233286, -0.0139591591, -0.0414072759, -0.0053992025, 0.0110120168, -0.0608121976, -0.0210803263, 0.0095749758, -0.0217110328, 0.0128405411, -0.1155155897, -0.029696418, -0.0137037346, -0.0128653552, 0.0355611145, 0.0480738357, 0.0446254984, -0.0152405193, -0.0452518538, 0.0116482563, -0.0330353007, 0.0420450605, -0.0101203518, 0.0234880988, 0.0323180892, -0.0015335024, -0.0296602696, 0.0202340931, 0.010182051, -0.0378959142, -0.0209478568, 0.0259335116, 0.0172829758, 0.0057600988, -0.0370451622, -0.0505611859, 0.03165875, 0.0715790763, -0.023151882, 0.0163570903, 0.0061577274, -0.0488092415, -0.0186507851, -0.0130766211, -0.056267567, 0.0224451311, -0.0456821546, 0.0325148329, 0.0021379122, -0.0524211824, 0.0064757266, 0.0238290094, 0.029931603, -0.0118414387, 0.035443496, 0.0050423024, -0.0049880119, -0.040940389, -0.0409877896, -0.0219031945, 0.0294036437, -0.0010314438, 0.0171937961, -0.0079426477, 0.0213651042, -0.0324373022, 0.0412273593, -0.0170538686, 0.0208398029, -0.0596177876, 0.0576523617, -0.0110992258, -0.0400959402, -0.0425039008, -0.0475708619, -0.0367312804, 0.0407136381, 0.0009718186, 0.0162517447, 0.0083425883, 0.0008977323, -0.0098769693, 0.0151011078, -0.0617194772, 0.0262583047, -0.0247246884, -0.054959517, 0.0297155138, -0.0114128385, 0.0845034942, -0.0267758761, -0.0269949399, -0.0126627302, 0.0572432429, -0.0009921407, 0.000408649, -0.0057154479, -0.000480918, -0.0306305047, 0.0522282235, 0.058117561, 0.0566288009, 0.0180710871, -0.0199941974, -0.0286569353, -0.029503746, -0.0723222941, -0.0701200441, 0.0119641135, -0.0029029974, -0.0346575752, -0.0766271576, -0.0285210069, 0.0253267717, 0.0293421801, 0.0225980859, -0.0245583877, -0.0145100905, 0.0364997648, -0.0004060397, -0.0076682889, -0.0916972011, 0.0210225023, -0.0192764271, -0.0350278653, -0.0288059581, -6.047452278e-33, -0.0058531715, -0.0775728747, -0.0147532234, 0.0117676156, -0.0274128746, 0.0079377359, -0.0511344783, -0.0277426951, -0.0136985993, 0.0467686988, 0.0023170034, -0.0206797738, 0.0019026032, 0.0224569682, 0.0243037194, 0.0631154776, 0.0321743712, 0.0387673192, -0.0248784516, 0.0383382887, 0.0290409885, -0.0251900088, 0.0044569494, -0.0869605318, 0.0806171447, -0.0481358618, -0.0440989435, -0.0468451157, -0.0054705283, 0.0631894693, -0.004933306, -0.0027969701, 0.0154191256, -0.0455173701, 0.0406125337, -0.0010964688, -0.0581069253, 0.0323046707, 0.044680953, -0.0727704987, -0.0292151477, -0.046822615, 0.0392316841, -0.0106293103, -0.0171454344, 0.0010711459, 0.07742998, -0.0530828573, -0.0282918029, -0.1092156991, -0.0776514187, 0.048114147, 0.0028122857, 0.0331771411, -0.0607233681, 0.0411907732, -0.0101718213, 0.1115591824, -0.0338173471, 0.0057305773, -0.0077104662, 0.0112783359, -0.0221576821, -0.0266202521, -0.0145326909, 0.0448385626, -0.0371130779, -0.0159859527, 0.0246513579, -0.0149499197, -0.0303321872, 0.0431100801, 0.0587197952, 0.1056055725, -0.0066967718, 0.0132649699, -0.0970907509, 0.0262363311, -0.0056585101, 0.0276784711, 0.037479315, -0.0559566319, 0.0104306908, 0.0091703236, -0.0516579375, -0.0216492247, -0.0196860116, -0.0011520031, -0.0185800195, 0.0044908472, -0.0534926653, 0.0418145284, 0.0255872179, -0.0406432711, -0.0204813797, 0.0459551886, -0.0537745617, 0.0533404276, 0.0094705503, 0.0047625382, -0.0744810998, -0.0099599259, -0.0176508203, 0.0064616757, 0.0364878848, 0.014041625, 0.0633096695, -0.0235026907, -0.0540041439, 0.0147545021, -0.0057338583, 0.0173544772, -0.0490693003, -0.02965682, -0.0007185863, 0.0270603746, 0.0167401358, 0.0163621251, 0.0324263386, 0.0270346589, 0.0001879125, 0.0020263679, 0.0110586509, 0.0333451852, -0.0159334019, -0.0045682439, -0.0134831043, 0.0746206418, -0.0156438183, -0.0311458036, 0.0159439258, -0.017441418, 2.559e-7, 0.036541339, 0.0511047021, -0.0368984751, -0.0250296649, 0.0073765256, 0.0389321856, 0.0167487711, 0.0266817547, 0.0142212836, 0.0186540429, -0.0323163271, -0.049392771, 0.0050230599, 0.0065476256, -0.0747337341, 0.0124560352, -0.0797610506, -0.0428958349, -0.0227532871, -0.0046661426, -0.0090264985, 0.0293466207, 0.008294235, 0.0110307708, -0.0298142619, -0.0504269488, 0.0967595801, 0.0145721482, -0.0447411798, 0.0542101786, 0.038280569, 0.0074600605, 0.0147679364, -0.0048050839, -0.0210830159, 0.033655867, -0.0194555968, 0.0405706428, 0.0283622183, 0.021243833, 0.00483318, -0.0464810617, 0.031829875, -0.0837458596, 0.0414098091, -0.0475223772, -0.0198603198, -0.0719450712, -0.0931184515, 0.0275859423, -0.014893122, 0.0096543916, -0.0036016591, -0.0001418598, -0.0504998751, 0.0146965468, -0.0384467393, -0.0286256559, -0.0251319669, 0.0539159067, 0.0070365728, -0.0618643165, 0.0266161095, -0.0773832574, 0.0076653329, -0.080194883, 0.0457119308, 2.21015231e-34, 0.0549466573, -0.0246299412, 0.0048649968, -0.0219007656, 0.0629391745, 0.0222238917, -0.0595850609, 0.0510237925, 0.0016224403, -0.0260369778, 0.0249947533 ]
http://arxiv.org/abs/2406.13363v1
http://arxiv.org/pdf/2406.13363v1
Evaluating Structural Generalization in Neural Machine Translation
2024-06-19T09:09:11
2024-06-19T09:09:11
Ryoma Kumon, Daiki Matsuoka, Hitomi Yanaka
cs.CL
cs.CL
Compositional generalization refers to the ability to generalize to novel combinations of previously observed words and syntactic structures. Since it is regarded as a desired property of neural models, recent work has assessed compositional generalization in machine translation as well as semantic parsing. However, previous evaluations with machine translation have focused mostly on lexical generalization (i.e., generalization to unseen combinations of known words). Thus, it remains unclear to what extent models can translate sentences that require structural generalization (i.e., generalization to different sorts of syntactic structures). To address this question, we construct SGET, a machine translation dataset covering various types of compositional generalization with control of words and sentence structures. We evaluate neural machine translation models on SGET and show that they struggle more in structural generalization than in lexical generalization. We also find different performance trends in semantic parsing and machine translation, which indicates the importance of evaluations across various tasks.
[ 0.0396870561, 0.0611432269, -0.0073315874, 0.021255048, 0.0004777622, 0.0434086882, -0.0014221385, -0.0154780541, -0.0411445461, 0.0207238793, -0.009931243, -0.0652466416, 0.0090979002, 0.02266098, 0.0509436652, -0.0563786663, 0.0268401299, 0.0092238849, -0.0237837899, 0.0365188532, 0.003615529, 0.0182982013, 0.0411205478, 0.0350192972, -0.0265692268, -0.0093302457, 0.0052367868, 0.0372078866, 0.026664786, 0.0101212803, 0.0040001567, 0.0093267662, 0.0341103189, 0.0366500653, 0.0000017398, -0.0284351073, -0.0005587494, -0.0078211967, 0.0403041355, -0.0055350121, 0.052425459, -0.0909121335, 0.0084663304, 0.0021944821, -0.0463271812, -0.0429706909, 0.0589283593, 0.0275743231, 0.0650654733, 0.0943793282, -0.0172379408, -0.0759394541, -0.0001105705, -0.0669818446, 0.0213477705, -0.0251970459, -0.0186896548, 0.0034470255, -0.061953783, 0.0065579093, -0.0090948623, 0.0427114554, 0.050772205, -0.0025753763, 0.0039580939, 0.0129986061, -0.0415457673, -0.0376064703, -0.0030493243, 0.0914837793, -0.0209518112, -0.0149802417, -0.0103604039, 0.0000288476, 0.0229492225, -0.0343665145, -0.0381947085, 0.026735682, -0.0155876484, 0.0233004708, 0.0258733705, 0.0092106191, 0.0412167124, -0.0134589151, -0.0416344516, 0.0404468067, 0.022654362, -0.0269895289, -0.0079621868, 0.0163022317, -0.0210038442, -0.0137840072, 0.0186863355, -0.0148089342, -0.0349059217, 0.0144390306, -0.0359170437, -0.0574625283, -0.0188455265, -0.061788559, 0.069779709, 0.067033805, 0.0120932693, 0.0449614748, -0.0440930091, 0.0876783878, -0.077588886, 0.0386528261, -0.1005759761, -0.0071764817, -0.0731691942, 0.0072142556, -0.0433833152, 0.0325972028, -0.0295884572, -0.0391130634, -0.0236570928, 0.0186837576, 0.011211657, 0.0344161168, 0.035495095, -0.0004896079, -0.0779003426, -0.0187781677, 0.0092973048, -0.0072802845, -0.0472615622, -0.0081933346, 0.0213093702, -0.0122234495, -0.0352878496, 0.0117543824, -0.0072034071, -0.0289112385, -0.0109577728, 0.0744344518, -0.020741459, 0.0006583104, -0.0180944651, -0.0191789251, -0.0070985565, -0.0522121266, 0.030140141, -0.0335265733, 0.0952254906, -0.0094952593, 0.0010259206, -0.0199722517, -0.0063446425, 0.0133577278, -0.0226066355, 0.0631600842, 0.030216096, -0.0155008966, -0.0200859364, 0.0047801295, -0.0162414573, 0.0569282658, 0.0154249202, 0.0126755452, -0.0116747785, 0.0123227984, -0.0360099263, 0.0211418867, 0.0045338301, 0.0048290021, -0.0384852327, 0.0145927155, 0.0073929401, 0.0446194969, 0.0093840677, 0.0553918146, -0.057082925, -0.0118490681, 0.0404068455, 0.0320528038, 0.0086151855, 0.0589770675, 0.1048127115, -0.0218531191, -0.0106935669, 0.0367339626, -0.0470170826, 0.004415283, 0.0017477978, 0.0031003442, -0.0255490821, 0.0067885811, -0.0265782848, -0.0313002132, -0.0160275083, -0.017224092, 0.0543261506, -0.0515935495, 0.0316655934, 0.073429957, -0.0326446258, 0.0379104353, 0.0020417634, -0.0711081102, 0.0146058016, 0.0161006004, -0.0030489564, 0.0481856056, 0.0354631841, -0.0067658825, -0.0348002054, -0.0209065769, 0.0032221382, 0.0357639901, 0.0489859022, 0.0047782068, 0.0429679863, -0.0504394919, 0.003216041, -0.0515059903, 0.0271012373, 0.0400621593, 0.0122450767, -0.0134792142, 0.0493927225, -0.0399476103, -0.04226337, 0.0536094867, 0.0107735051, -0.0254434142, 0.0287352446, 0.006332221, 0.0407154895, 0.0025989937, -0.0050598215, 0.0240769722, 0.0116890296, -0.0445547029, -0.0614142194, 0.0171409901, -0.0670596063, -0.0575036108, -0.0003291822, -0.0824553072, -0.0071339626, 0.0083221346, -0.0715975761, -0.0499249585, 0.0382430516, -0.0290379114, 0.0118981926, -0.0154407769, 0.0133293262, 0.0077800527, -0.0092890542, -0.000337874, 0.0577019192, -0.001156559, -0.0174148381, 0.0075587677, -0.0255455319, 0.0121619971, -0.0405368768, -0.0359147266, 0.0389773175, 0.0193983782, -0.0096358666, 0.0226117503, 0.0271460749, -0.0287371911, -0.0178055391, -0.0489018001, 0.0149709554, -0.0173212588, 0.0378878154, 0.0803778544, 0.0349309109, 0.040052481, -0.009457428, -0.0431094766, 0.0225220155, -0.0035839851, 0.0096721919, 0.0326184519, -0.0114339655, 0.003645251, -0.0352072082, -0.0279983412, -0.0252611078, 0.0770464763, -0.0038787476, -0.0247102361, -0.0514972322, 0.0142846555, -0.0415782668, -0.0056881551, -0.0123916483, -0.0776858032, 0.0078912145, -0.0534464009, -0.0047046733, 0.074533388, -0.0422408618, -0.0117275165, 0.0224619713, 0.009201319, -0.0272990577, 0.0125222122, -0.0370656438, 0.0108801508, -0.0317211375, -0.0157446694, -0.004728423, 0.0890852809, 0.0259103011, 0.0008248835, -0.0541349016, 0.0063333283, -0.0232250094, -0.0206813775, -0.0215937328, -0.0050645261, 0.0059796162, 0.0102476524, -0.0493230745, -0.0207917038, 0.0684919432, 0.0188579261, -0.0145777175, -0.0274971612, -0.0031643806, -0.0454788804, 0.0853320658, 0.016600458, 0.017948173, -0.0064515891, -0.0352682285, -0.0420480892, -0.0073385588, 0.002183411, 0.0076445499, 0.0353268459, -0.0478284024, -0.0177925453, -0.0095662093, -0.0150456727, -0.0014906715, 0.0116193993, -0.0013151794, -0.0006363002, 0.0315868072, -0.0191772208, -0.0186485741, -0.0274365339, -0.0112941517, 0.0697165653, -0.0045141936, 0.0070645409, -0.0273363646, 0.014579948, -0.0387857631, -0.0131366197, -0.0080942409, -0.0311012082, 0.0177003555, 0.0280891992, -0.0156154083, -0.0068628914, -0.0704028681, 0.0110352533, 0.0053013358, 0.0109735858, -0.0305181611, -0.0260770693, 0.0471055023, -0.073543027, -0.0327758417, 0.0768213719, 0.0370822437, -0.0140747102, -0.0037238372, 0.0229749028, 0.0256297439, 0.0379247293, 0.0262373555, -0.0783743113, -0.0095942542, 0.0164171532, -0.0339905098, 0.0208258145, -0.0115161408, -0.0251523424, -0.0603018068, -0.0041540479, 0.039828591, -0.079651989, -0.0363815874, 0.0262712464, -0.0327835456, -0.0502824001, 0.0174758919, -0.010257924, 0.0130741894, -0.0136312079, -0.0225949921, 0.0035910464, -0.0295328125, -0.0061996388, -0.0484755039, -0.004971846, 0.1046779603, 0.0415926129, 0.0075736111, -0.0190863684, 0.075759232, 0.0095729679, 0.0153979771, 0.0084978184, 0.0309553836, 0.0216549803, -0.0227291454, 0.0341914259, 0.0175679643, -0.0641085804, 0.0334047042, 0.0005526062, 0.0383007862, 0.0137613183, -0.0289477874, -0.0030616317, 0.0019647535, -0.0309665203, 0.0430407673, 0.0632070601, -0.0313711278, -0.0089209983, -0.0592593178, -0.0251761358, -0.0894871876, 0.0117193302, 0.0414726287, 0.0259038135, 0.0180995148, -0.0988877416, -0.0578596629, 0.00913502, 0.0106841531, 0.0076638181, -0.0166362282, 0.0172884949, -0.0482562445, -0.0124278907, 0.0361428298, -0.0136568025, -0.0001707812, -0.0082494626, 0.009637408, -0.0108365593, -0.0191408452, -0.0247334335, -0.0241730791, -0.1123125926, -0.0705166161, -0.0229503214, 0.076232262, 0.0252213813, 0.0263500065, -0.0513299853, -0.0360672586, 0.0080121122, -0.0063029295, -0.001686633, -0.0058682393, 0.0250799935, 0.0040762601, 0.0324827358, 0.0587946288, -0.0163763613, 0.0057104882, 0.0317374319, 0.0357302204, 0.0310994703, 0.0305720121, 0.0461968184, -0.0066037984, -0.0033256563, 0.0177051108, 0.0428133681, -0.0177843478, 0.0273624677, -0.0204556212, -0.0241262596, -0.0839095116, 0.00131467, 0.0895523727, 0.0109189954, -0.0093745161, -0.0043229372, -0.0192104448, 0.0336581841, -0.0363310017, -0.0402112827, 0.0208725818, -0.0200025067, 0.0175255407, 0.0307005122, -0.0222295057, 0.0460800789, -0.0574830621, -0.0180885233, -0.0318146348, 0.0046504182, 0.0176382028, 0.0350984894, -0.023326043, 0.0100538023, -0.0639108494, -0.0178298485, -0.0145238629, -0.0072352937, 0.0411712602, -0.0065818029, 0.0705833733, 0.0086625023, -0.0126559762, 0.0120791774, 0.0539550707, -0.0034732951, -0.0258034766, 0.0116504971, -0.0065114484, 0.0187586769, -0.0205194801, 0.0951243863, -0.0108050508, 0.0300847441, -0.0113506466, 0.0084194764, -0.0241051987, 0.0166095197, 0.00969382, -0.0007561332, -0.0172254685, -0.0052867867, 0.0130600818, -0.0405459553, -0.0040148119, 0.0216310024, 0.0214064997, 0.0113187395, 0.0256343279, 0.0877125189, -0.0223283414, -0.007364451, -0.0023934005, -0.0580272488, 0.0271384548, -0.0177063979, -0.071415931, -6.040835714e-33, -0.0249483101, 0.0107315555, -0.0098838778, -0.0168462843, -0.020601375, -0.0019988404, -0.0303626228, -0.0198745392, -0.0174415596, 0.0236238353, 0.0115524093, 0.0435644276, 0.000908015, 0.028745465, 0.0434709936, -0.0014704621, 0.0528819822, 0.0019278028, -0.0078243893, -0.0013041307, 0.0164110325, 0.0307723302, 0.1042565331, -0.0376144424, 0.0477094054, 0.0130260689, -0.0281201843, 0.0334594399, -0.0277597178, 0.0351457782, 0.0147208655, -0.0089506526, 0.039159812, 0.0013949584, -0.0433280095, 0.0078514246, -0.0817428753, -0.0183983427, 0.0423180275, 0.00686845, -0.0646383166, -0.0549139157, 0.0490406901, -0.0570825003, 0.0227178391, -0.0340933874, 0.0078074811, -0.0160826035, -0.0196985789, -0.0411790051, -0.0619570203, -0.0080215558, 0.0002740525, 0.0271412972, -0.0295370352, 0.0486055501, -0.0346787572, 0.0281893369, -0.054383602, -0.0032334141, -0.0433892868, 0.0142842457, 0.0134000145, 0.0091954721, 0.0023449811, 0.0043992549, 0.0203292407, -0.0003347169, -0.0502878763, 0.0227891356, -0.0087577114, 0.0148065239, 0.0433822386, 0.0338655412, 0.0445438512, 0.010147946, -0.0534673221, -0.0214521457, -0.0271795169, 0.0343464836, 0.018665852, 0.0217834823, 0.0106312279, 0.0032389339, -0.0712898597, -0.054301668, -0.0380513966, -0.0282487348, 0.0221766215, 0.0394714251, -0.0053656669, -0.0233433694, 0.0288825277, -0.0342393927, 0.0484888889, 0.0219660662, -0.0331053138, -0.0038690004, 0.0114329671, 0.0307340063, -0.0350756459, -0.0655964762, 0.0268001575, 0.0336212441, 0.02756433, -0.0302373357, 0.0838938206, 0.0197669491, -0.022523053, 0.0014107288, -0.0639123991, -0.0245677363, -0.0248175729, 0.0204287041, 0.0545253903, 0.0233791713, -0.0238285698, 0.0743901134, 0.0099694338, 0.0297789611, -0.0163829699, 0.0053226277, 0.0438781381, 0.0583334304, -0.0354474038, 0.0036788736, -0.0170893371, -0.0180952307, 0.0882890895, -0.0306752138, -0.0229366794, 0.0304082893, 2.498e-7, 0.0547153763, 0.0284353718, 0.0154660167, 0.0527494326, 0.0208677799, 0.0100374762, -0.0298551228, 0.0495067611, -0.0252802391, 0.0016743082, 0.021735996, 0.0009122689, 0.0700336471, 0.0155111421, -0.0905785859, -0.0194963068, -0.0837889835, 0.0027665393, -0.0349685997, -0.0037795778, 0.0467199348, 0.1039670929, 0.0028915261, 0.0172922481, 0.0043547279, -0.0734173954, 0.0873167068, -0.0091205239, -0.02240365, -0.0102365017, 0.0027952772, 0.0721033514, -0.0268481709, -0.014800027, -0.0274234731, 0.0283557754, 0.0571035929, 0.0626748279, 0.0168599524, 0.0370875373, 0.0237091016, -0.0387111716, -0.0012820152, -0.0487735346, 0.0430480577, -0.0996442735, 0.004828128, 0.0265526492, 0.0012190735, 0.0289940629, 0.048300378, -0.0369671769, 0.0072971182, 0.01415837, 0.0593660101, -0.0012259117, -0.0165190101, -0.0471850969, -0.0546638109, 0.0173106194, -0.0161869153, 0.0126353595, -0.0232143719, -0.0031821972, 0.0106907766, -0.0266927984, -0.0258670971, 2.10149324e-34, 0.0374448746, -0.0152307283, 0.0270072278, -0.0205347314, 0.0640130192, -0.0452517644, -0.0533620939, -0.0173329785, -0.0060062157, -0.048864536, -0.0333962962 ]
http://arxiv.org/abs/2406.13362v1
http://arxiv.org/pdf/2406.13362v1
VisualRWKV: Exploring Recurrent Neural Networks for Visual Language Models
2024-06-19T09:07:31
2024-06-19T09:07:31
Haowen Hou, Peigen Zeng, Fei Ma, Fei Richard Yu
cs.CV
cs.CV, cs.CL, cs.LG
Visual Language Models (VLMs) have rapidly progressed with the recent success of large language models. However, there have been few attempts to incorporate efficient linear Recurrent Neural Networks (RNNs) architectures into VLMs. In this study, we introduce VisualRWKV, the first application of a linear RNN model to multimodal learning tasks, leveraging the pre-trained RWKV language model. We propose a data-dependent recurrence and sandwich prompts to enhance our modeling capabilities, along with a 2D image scanning mechanism to enrich the processing of visual sequences. Extensive experiments demonstrate that VisualRWKV achieves competitive performance compared to Transformer-based models like LLaVA-1.5 on various benchmarks. To facilitate further research and analysis, we have made the checkpoints and the associated code publicly accessible at the following GitHub repository: \href{https://github.com/howard-hou/VisualRWKV}{https://github.com/howard-hou/VisualRWKV}.
[ 0.0277406499, 0.042777665, -0.0092002321, 0.0463274755, -0.0418613851, -0.0165215731, 0.0119379349, 0.0151149752, 0.0166331027, -0.0582761355, -0.0182753075, -0.0425767526, 0.0183036942, 0.0415412039, 0.0288929045, -0.0852313265, 0.0323130153, -0.0474871024, -0.0106960023, 0.0150370076, -0.0037674981, 0.0084492182, -0.0245735366, 0.0699264854, -0.0256701577, -0.0318647027, -0.0280864276, 0.014812788, -0.0046646199, -0.0443293415, -0.014387711, 0.0507847108, 0.0383210219, 0.0448375233, 0.0000020992, 0.0005426037, 0.0421286635, -0.0186199956, 0.0480593182, 0.0169330537, 0.0397520475, -0.0474765934, 0.0003982789, 0.0063713305, -0.0269325562, -0.0642459542, 0.0725596398, 0.0373299047, 0.0633821338, 0.0450093448, 0.0072182026, -0.0365605727, 0.0075770845, -0.0434788428, 0.0248473398, -0.0121327024, 0.0192548037, -0.0200414266, 0.0099288533, -0.0006346605, -0.0666694939, 0.0817741752, 0.0314138904, -0.0059194439, -0.0207308903, 0.0330884233, 0.0056109433, -0.0535944514, -0.0462278016, 0.0820539892, -0.0766796097, -0.0002653248, 0.0000707134, 0.0128313983, -0.010928221, 0.0110100349, -0.0462395251, 0.0388154648, 0.0032275817, 0.0044375923, -0.072684586, -0.0055691069, 0.025363408, -0.0098813009, 0.0137243839, -0.015745597, 0.0236620605, 0.0282599535, -0.0356475189, -0.0071956967, 0.0104589248, -0.0792795718, -0.0114038754, 0.0550316237, 0.0135829439, 0.013078901, -0.0150936395, -0.0237732064, 0.0117658861, -0.0364498943, 0.0599590018, 0.0242993608, -0.0635494068, 0.031135818, -0.0300425515, 0.0697122663, -0.0364581198, 0.0358851179, 0.0007324872, 0.0027708837, -0.0456618816, -0.00500722, -0.0436191782, -0.0177227389, -0.0361007713, -0.0493500717, -0.0223066751, 0.0142712453, 0.0093399575, -0.0162061434, 0.0178215113, 0.0265879147, -0.0249167047, 0.0007112413, -0.0399685688, 0.0671698973, 0.0193709861, -0.0107435538, -0.0184372794, -0.0516953841, -0.0024914155, 0.0221574232, 0.0089637944, -0.0159402005, -0.0278211534, 0.0787025616, -0.0179873593, -0.0346180536, -0.0404689573, 0.0128673166, -0.045526579, -0.036382392, 0.0485437401, -0.064475134, 0.0219909512, -0.0272365585, -0.0023594033, -0.0195919648, 0.020431716, 0.0255551115, -0.0118009672, 0.0886096209, 0.0134434216, -0.0172363278, 0.0015987526, 0.0038196035, 0.0465083085, 0.0446498506, 0.0437750071, 0.0523345396, 0.0108989859, -0.0220572185, 0.0347498693, 0.0688678473, -0.0307509229, -0.0276111383, -0.085726954, -0.0400897563, 0.0236229692, 0.0505748391, 0.0389261208, 0.0650081336, -0.0288494434, -0.0307907555, 0.0582294092, 0.027040733, 0.037256863, 0.0260806121, 0.0732387006, 0.0074976059, -0.0036622225, -0.0212706104, -0.0437982343, 0.0639197379, -0.0042872895, 0.0121711921, -0.0499630608, 0.0525738671, -0.0450123996, -0.0312571935, -0.0199742969, -0.0109264422, 0.0455113389, -0.0156035908, 0.0537328497, 0.0327733047, -0.0717296824, 0.0016884834, -0.0216711778, -0.0528420396, 0.0018893429, -0.0358538888, 0.0241452288, 0.0703091845, 0.0447944477, -0.0048179072, 0.0094278362, -0.0114582907, 0.0235357303, 0.0363539681, 0.0383214541, 0.0060141794, 0.0300179198, -0.0867147893, -0.0537448451, -0.0016816949, -0.0144146355, 0.0518975928, 0.0023294305, 0.0196513217, -0.0062251305, -0.0239224657, -0.0106037278, 0.043120455, 0.0134252133, -0.0108908257, 0.0021771465, 0.0218242034, 0.0043469639, -0.0134982029, 0.0114316344, 0.0040971758, 0.0396781527, -0.0594574027, 0.0412064977, 0.0254309531, -0.0316066146, -0.0716183931, 0.028369952, -0.0325218029, 0.0234960448, 0.0370025635, -0.0372071378, -0.0114522222, 0.0280359816, -0.0196262505, 0.0192636419, -0.0335525125, -0.0042747203, 0.0217235889, 0.0514211282, -0.0241597723, 0.0156482421, -0.0368216783, -0.0161397122, 0.0002348924, 0.0022384017, -0.0234500952, -0.0374974683, -0.0336099938, 0.0093817506, 0.0018264737, 0.0223619547, -0.0184771642, 0.0320692547, -0.0263274014, -0.0260322038, -0.0644955039, -0.0189798251, -0.0314600319, -0.0407965928, -0.0179245677, 0.0032001135, 0.0230034683, -0.0666177422, -0.0439101979, 0.0316819511, 0.0056639523, 0.0076680519, 0.0423922203, -0.0046986453, -0.0251083635, -0.0245524831, -0.0442227609, 0.0136218397, 0.0515468717, -0.0213135518, -0.0251305401, -0.0178656559, -0.0244438648, -0.0074367058, 0.0293062236, -0.02848926, -0.0319966748, -0.0007944787, -0.0311906878, 0.0557811409, 0.0594051257, 0.0356359072, 0.031957943, 0.0123228533, -0.0536360964, -0.0248471219, 0.017130157, -0.0199077912, -0.0361932926, 0.0125799468, -0.0033866342, -0.0125527568, 0.0646479651, -0.0216710791, 0.0301170126, -0.0790681094, -0.0065397373, 0.0173414201, -0.0254652817, -0.0460082628, 0.0001861923, -0.0022781296, 0.0243367404, -0.0417317078, -0.0552782603, 0.0233333856, -0.0653339773, -0.0323780142, 0.0113989152, 0.0090624318, -0.0324243195, 0.0689182058, 0.0480239838, -0.015874045, -0.0141604394, -0.0111054219, -0.0410137288, -0.0107694045, -0.0305579677, -0.0185339544, 0.0646385476, -0.0562067702, -0.005014698, -0.0101006599, 0.0152810067, -0.0468349718, 0.0043856828, -0.0246855821, -0.0557926856, -0.0464660786, -0.0055683018, -0.0176327322, 0.0502503403, 0.0241971873, 0.0346820056, -0.0125802783, 0.0130199352, -0.0217967518, 0.0502968021, 0.0547463708, 0.0309032891, -0.0101575144, -0.0190720502, 0.0134551432, 0.0382451192, 0.0096222507, 0.0119878463, -0.0672376007, 0.0618115179, 0.0387745872, 0.0258541182, -0.0192954652, 0.0467912406, 0.0357877314, -0.0963102803, -0.015735643, 0.0500489734, 0.0107486015, -0.0360664465, -0.0271690097, 0.0273281205, 0.040532425, 0.0217159912, 0.0149089042, -0.0897925943, -0.049150534, 0.0003104563, -0.0060317572, 0.0364288948, -0.001442374, -0.0244608764, -0.081289947, 0.0548743717, -0.0019241705, -0.0504527912, -0.0058081504, 0.0052309777, -0.0191804357, -0.0071839415, 0.0195254516, 0.0133856935, -0.0297010541, 0.0046401708, 0.0085725477, -0.0046565537, -0.0325056016, 0.0032516094, -0.0362767167, -0.0132402675, 0.0783358216, 0.0137426723, -0.0056035607, -0.087583065, 0.0101330904, -0.0045320489, 0.0344014987, -0.008372562, 0.0407474637, -0.0161239039, -0.0595455877, 0.0089774439, 0.0170795955, -0.0329399556, -0.0296478029, -0.0129077891, 0.0246429872, 0.0100001898, -0.0321869254, -0.0246059746, 0.0066400669, -0.017037617, 0.0389075428, 0.0501721427, -0.0337477252, -0.0587128811, -0.0119923279, 0.0296402797, -0.0831165761, -0.079434365, -0.007029166, 0.003579265, -0.0324016288, -0.0655767471, -0.0364920087, 0.0292973612, 0.0343535095, 0.0006317628, -0.0166188199, -0.0037449868, 0.0223707166, -0.0881135389, 0.0560610555, -0.0203308892, 0.0390603356, -0.0614018627, 0.0155735603, 0.0114218919, -0.03056027, -0.0136864819, 0.0238787849, -0.1132023633, -0.0266310964, -0.0087116659, 0.095266901, 0.0175441038, 0.0513584875, 0.0022719484, -0.0333483368, 0.0265942421, 0.0279364791, 0.0230031684, 0.0090696942, -0.0096305842, -0.0069962768, -0.0018546623, 0.0076357052, -0.0317503437, 0.0190680679, 0.0132799009, 0.0275009926, 0.023900928, -0.0398986191, -0.0240937993, -0.0427132882, 0.0411057509, -0.0038016753, -0.0170533713, -0.01598504, -0.0002244195, 0.0390932783, 0.019846037, -0.0781664476, 0.031629838, 0.0233509447, 0.0151398117, -0.000120211, -0.0135637699, 0.0282335449, -0.0007045947, -0.0205491874, 0.0337324329, 0.035060145, 0.0206141789, 0.0164146088, 0.0263180602, 0.0013916373, 0.0444054082, -0.0251683928, 0.0145640224, -0.0066474713, 0.0510899313, 0.0056049544, -0.0004488009, -0.0469062217, 0.0513735637, -0.0355652794, -0.0256714765, -0.0094623212, 0.0504297353, 0.0631508827, -0.0042441539, 0.028506564, 0.0067614843, 0.0044423975, -0.0222142041, 0.0533512235, 0.0115077142, -0.0236361306, 0.0681848675, 0.0195268746, -0.0137918591, -0.0248268694, 0.0674785897, 0.0023899046, 0.0371982828, 0.0105431825, 0.0350060053, -0.0394339189, -0.0126699246, 0.0327746794, 0.0075819124, -0.0020496838, -0.002903962, -0.0157674197, -0.0606128797, 0.0621045455, 0.0174344666, -0.0108566219, 0.0058599748, 0.0472014658, 0.046387013, 0.0439021103, 0.0154933659, -0.0143970642, -0.0073021208, 0.0329383463, -0.040706642, -0.0001967828, -5.930703281e-33, -0.0165986232, -0.0097002722, 0.0298096053, -0.0002011661, -0.0195495803, -0.0001804501, -0.0316552594, -0.0012606318, 0.0019170882, -0.0149446735, 0.0147327147, -0.0163672734, 0.0273380913, 0.0381564945, 0.0175868552, -0.0040192264, 0.0570580848, 0.0068438733, 0.003654537, -0.0010036869, -0.0053067091, 0.0441447236, 0.0330679081, -0.0042281118, -0.0340614058, 0.0080496557, -0.0061113513, -0.0056587998, 0.0126824435, 0.0755800083, -0.0552806295, 0.0182986297, 0.0192464497, -0.0122968834, -0.0465419926, 0.0441374257, -0.0995986834, -0.0016619292, 0.0044876924, 0.0482731201, -0.1011436284, 0.0033082638, 0.0848085657, -0.0186957847, 0.0048701437, -0.00315656, 0.0539525934, -0.0332409889, -0.0482110977, 0.0073049408, -0.0283055082, -0.0144790718, -0.0059211627, -0.0481372029, 0.06397672, 0.0207273737, -0.0006976983, 0.0425668284, -0.0973506644, 0.0104973577, -0.0215735249, 0.0554145612, 0.0791560784, 0.0701409876, 0.0111243939, 0.0434821546, 0.0447289571, -0.0677574053, -0.0262580793, 0.018309271, 0.0627965182, 0.0364694297, 0.0627300739, 0.0449187234, 0.0159529448, -0.0100415517, -0.0241960343, -0.0063420096, -0.0038548384, 0.0652424917, 0.004554959, -0.0025791393, 0.0328500308, -0.0021681879, -0.0437003821, -0.0477662049, -0.0478923172, -0.0200090092, 0.0728392601, 0.0452385247, 0.0242703538, 0.0053903507, 0.066507332, -0.0073833056, -0.0123203201, 0.0206552763, -0.0199360009, 0.0447776131, -0.0086153811, 0.019990176, -0.0204033311, 0.0036614428, 0.0506588854, -0.0104992716, -0.0089856228, 0.0137205077, 0.0255832523, 0.0242340639, -0.0673571229, -0.0096188076, -0.0336327963, 0.0239215177, 0.0111076562, 0.0557003766, 0.0472261421, -0.0197459217, -0.0374975577, 0.0472317152, -0.0171832107, -0.0296752844, -0.0131530631, -0.0400774032, 0.0020641729, 0.0495252535, -0.046747081, -0.0054918928, -0.040378917, -0.0160565246, -0.0025890057, -0.0596499816, -0.011010658, 0.0373261347, 2.648e-7, 0.0190765765, 0.0257859677, 0.0515620783, -0.0004562963, -0.0067194947, 0.0112437028, -0.0360101014, 0.0058084163, -0.0126358932, -0.0270205438, -0.0092476066, 0.0268631577, 0.0505398139, -0.0274688173, -0.0349294692, 0.0024321789, -0.0542634651, 0.0226742662, -0.0433561206, -0.0143960007, 0.0536599979, 0.1036688015, 0.0194805991, -0.0145752551, 0.0280391462, -0.0198123325, 0.0676410422, -0.0148240812, -0.0009110188, -0.0255200453, 0.0195587613, 0.0148758814, -0.0236990899, -0.0074537573, -0.010968524, -0.0094095981, 0.0262110606, 0.0376855396, -0.0188424699, -0.0347051881, 0.0177122355, 0.0470578223, -0.054619249, -0.0471881032, 0.085354656, -0.0572126657, 0.0190049186, -0.002375429, 0.0096476581, 0.0080239279, 0.0323883146, -0.0348074883, -0.0345610119, 0.0216844995, 0.0534735806, -0.0147592686, -0.0213164575, -0.0912267044, -0.0309127234, -0.0357946046, -0.0490883961, 0.0139972698, -0.1104867756, -0.016993979, 0.0121155884, -0.0136460289, -0.0606612228, 2.221788556e-34, 0.0336934067, -0.0362074412, -0.0001170228, 0.0295085702, -0.0042589279, -0.0055126371, -0.0249674655, 0.0185467079, -0.0153720137, -0.0821011364, -0.0426814519 ]
http://arxiv.org/abs/2406.13361v1
http://arxiv.org/pdf/2406.13361v1
Improving Zero-Shot Cross-Lingual Transfer via Progressive Code-Switching
2024-06-19T09:06:24
2024-06-19T09:06:24
Zhuoran Li, Chunming Hu, Junfan Chen, Zhijun Chen, Xiaohui Guo, Richong Zhang
cs.CL
cs.CL, cs.LG
Code-switching is a data augmentation scheme mixing words from multiple languages into source lingual text. It has achieved considerable generalization performance of cross-lingual transfer tasks by aligning cross-lingual contextual word representations. However, uncontrolled and over-replaced code-switching would augment dirty samples to model training. In other words, the excessive code-switching text samples will negatively hurt the models' cross-lingual transferability. To this end, we propose a Progressive Code-Switching (PCS) method to gradually generate moderately difficult code-switching examples for the model to discriminate from easy to hard. The idea is to incorporate progressively the preceding learned multilingual knowledge using easier code-switching data to guide model optimization on succeeding harder code-switching data. Specifically, we first design a difficulty measurer to measure the impact of replacing each word in a sentence based on the word relevance score. Then a code-switcher generates the code-switching data of increasing difficulty via a controllable temperature variable. In addition, a training scheduler decides when to sample harder code-switching data for model training. Experiments show our model achieves state-of-the-art results on three different zero-shot cross-lingual transfer tasks across ten languages.
[ -0.0180648882, 0.0155121293, 0.0035478559, 0.0428557247, -0.0321488902, 0.0425072685, -0.0099149328, -0.031811092, -0.028768843, -0.0344772562, -0.0570560023, 0.0085715335, -0.0067960629, -0.006055187, 0.0321271457, -0.0340052955, 0.0802189186, -0.0327912644, -0.0353681184, 0.0133829024, -0.0071869828, -0.0078522339, -0.0097580636, -0.0196998119, 0.0307964571, -0.0197819415, 0.0351635553, -0.0027158596, 0.0249857847, -0.0295803323, 0.0012844503, 0.0438791998, 0.0113564301, 0.0175328981, 0.0000019754, -0.0324843936, -0.0403833501, -0.0083055105, -0.026965918, -0.0153579302, 0.0624437071, -0.0857054889, 0.0039450862, 0.0016342013, -0.0190589167, -0.0373517945, 0.0964558199, -0.0053857863, 0.0161590911, 0.0683256835, -0.0163845103, -0.004274609, 0.0014011851, -0.0233265236, 0.0488177799, -0.0598845594, 0.0321862549, 0.0194927808, -0.002474129, 0.0123733664, -0.063236922, 0.0563902259, 0.0077604223, 0.0355989113, 0.015082554, 0.0009085851, -0.0249231458, 0.008740251, -0.0202393197, 0.0649047717, -0.0798199177, -0.0305427238, -0.0308886264, -0.0306405183, -0.0254080556, -0.0518218987, -0.05417189, -0.0023938576, 0.0123345973, 0.0129149957, 0.0117441593, 0.0004082394, 0.0432711616, 0.0039822194, -0.0495700911, 0.0214476865, 0.039805226, -0.0421221294, 0.0498424768, 0.0115064848, 0.0332670361, -0.0253296997, -0.0033409079, 0.0023818195, -0.0369292982, 0.0452611521, -0.052539777, -0.0350562111, 0.011615349, -0.028415801, 0.0460804664, 0.0634267554, -0.0496638902, 0.0522071905, -0.0599713437, 0.0120013859, -0.0024879433, 0.0134767564, -0.0442059115, -0.0350081138, -0.0617257357, 0.0189390276, -0.0340623371, -0.0144170076, -0.0032800427, 0.0018157536, -0.0435757153, 0.0093777468, -0.0248447955, -0.0282906499, 0.007702, -0.0551844314, -0.0399432704, 0.0264531206, 0.0278381258, 0.0417108722, -0.0410309918, -0.0050178454, -0.0136210602, -0.0406054333, -0.0278487969, 0.000517267, 0.0280792397, -0.0693830326, 0.0137294196, 0.0694628581, -0.0715801194, -0.0318512581, -0.0621798858, 0.0410065837, -0.0057287589, -0.0386412628, 0.0231201369, -0.0378969647, 0.0280905254, 0.0047210394, 0.0240071714, -0.0385264754, -0.0161248557, -0.0077315676, -0.0479129516, 0.115833275, -0.0122944359, -0.0317320228, 0.0032436009, -0.0121176755, -0.0438118167, 0.1260332316, 0.0187139586, -0.0381097905, 0.0690208599, -0.0197838843, -0.0102059701, 0.0365513042, 0.0204653963, 0.0351048373, -0.0279523544, -0.0221420079, 0.0885177106, -0.0054725758, 0.0392048508, 0.0051990259, -0.0445748977, 0.0179872438, 0.000190802, -0.0142159034, 0.0388331749, 0.0195256677, 0.0838134736, -0.0064249146, -0.0389826447, 0.0285006836, -0.009397042, 0.0298429746, -0.0156089114, 0.0018080762, 0.0138456468, 0.0384096764, -0.0367626026, 0.0044217855, 0.0218816604, -0.0260221642, 0.0800663158, -0.0163060185, 0.0547886342, 0.0079722237, -0.0249737445, 0.0309131294, 0.0669937283, -0.0364607908, 0.02687262, -0.0114994394, -0.0081229489, 0.0641624779, -0.0198849216, 0.0027384099, -0.0162845254, -0.0143114151, 0.0389395989, -0.0123651801, 0.0517265089, -0.0039844406, 0.0616294071, -0.0662538558, -0.0235943645, -0.0058004195, -0.0087276762, 0.0521689393, 0.0083883349, 0.0524614118, 0.0213222094, 0.0207865685, -0.0075544734, 0.0317881219, -0.0808250457, -0.0140218306, 0.028265873, 0.0007767943, 0.0151048647, -0.0234228875, 0.0057459204, -0.0068846717, -0.0062497421, -0.0514829755, 0.0071068406, 0.0222207028, -0.0346874036, -0.039273873, 0.0148462784, -0.0317437351, 0.0044722175, -0.0069623226, -0.0253176019, -0.0452705026, 0.0353609771, 0.0188771654, 0.0404965393, -0.0064890124, 0.0240738168, -0.0023035728, 0.0428320654, -0.0037643341, 0.0291093476, 0.0450321138, 0.0579276197, 0.0165201891, 0.0080371853, 0.0151183233, -0.0211415924, 0.0110600581, 0.0193889085, -0.0243399963, -0.0151121626, 0.0035287596, 0.0173981749, -0.0533219576, -0.0148048606, -0.0786542967, 0.0127589395, 0.0000954895, 0.0092455298, 0.0086830044, 0.0088643115, -0.0016205125, -0.0075123957, -0.0241422467, 0.033378467, -0.0323980525, 0.0361049362, 0.0041611744, 0.0001908894, 0.0174346473, -0.0341547839, -0.0037836067, 0.0197924804, 0.04315437, -0.0439213663, -0.0234284624, -0.0642295629, 0.0447266325, -0.0173981208, 0.0008125014, -0.0032491528, -0.0392191671, -0.0111511517, 0.0091817668, 0.0421943292, 0.0441775806, -0.0049642012, -0.0467141382, 0.0474737249, -0.077575095, -0.036020752, 0.0052032294, 0.039029941, -0.0437811688, -0.0347353071, -0.0340091772, -0.0142429173, 0.0495414026, -0.0245500822, -0.0172163919, -0.0746742934, -0.0442613885, -0.0506179295, -0.0306135695, 0.0031082195, 0.0162802115, -0.0174632519, 0.014658303, -0.0441774093, -0.0005122977, 0.0354342908, -0.0302387439, -0.0185696352, -0.056598518, -0.0028396812, -0.0208650623, -0.0109772021, -0.0328645185, 0.0233177803, 0.0111127878, 0.0062946407, -0.0562689342, -0.0342761539, 0.0159197822, -0.0070369095, 0.0223081708, -0.0411841236, 0.0052502709, -0.0121883526, -0.0318762064, -0.0005542348, -0.0136497431, 0.0105233518, 0.0072998204, 0.0415591598, -0.0027368981, -0.0208662134, -0.014653095, 0.0376487747, 0.0709989369, -0.0081005422, -0.0029410608, -0.005661285, 0.0056098467, 0.0168595295, -0.0018253468, -0.0198529065, -0.0245225001, 0.0012505719, -0.0051412568, 0.0328340568, 0.0246139839, -0.0095181363, 0.0447614305, 0.0408599302, -0.0100835506, -0.0408393852, -0.0239031222, 0.0309319887, -0.0354573019, -0.0255221091, 0.0585196279, 0.016536722, -0.075691551, -0.0125600807, -0.045429904, 0.0037723624, 0.0387483686, 0.0525479466, -0.0993183851, -0.0311974864, -0.0092289662, 0.0163594391, -0.0127740791, -0.0116040064, -0.0387116261, -0.1011970416, 0.0009281075, 0.0354243442, -0.0925837159, -0.0164004415, -0.0343790129, 0.0080557214, -0.0304953381, 0.0126140444, -0.0356831849, -0.0105672544, -0.0082403887, 0.0081467461, 0.041005224, -0.0381660797, 0.0085691893, -0.0151331173, 0.0560048781, 0.0713280141, 0.013050938, -0.0115060015, -0.0212584101, 0.0254562236, -0.0432935879, -0.0387780815, -0.0370134041, 0.0447736904, -0.0123772025, -0.021492308, 0.0627050549, -0.0019418084, 0.014524864, -0.031840656, 0.0035816601, 0.068491675, 0.0698273852, 0.0050261416, 0.023137711, -0.0076099681, 0.0443916507, 0.0519316792, 0.0183273498, -0.0501158684, 0.0226392243, -0.0078209983, 0.0079471748, -0.0665444583, 0.001844384, 0.0105924997, -0.0745570436, -0.0420684628, -0.0667027831, -0.0293587688, 0.041026026, 0.0562142022, 0.0117108943, 0.0434630178, -0.0419526733, 0.0106117325, -0.0386482067, -0.0324202143, -0.0467611663, 0.0171722583, -0.053412728, -0.0207701903, 0.0304759163, -0.0422757901, 0.0044691744, -0.0213523544, -0.0585766062, -0.0439805873, 0.0112216305, 0.0376097634, 0.0090421159, 0.0575599186, -0.0131895579, -0.0516853929, -0.0017906328, -0.0087931864, -0.0355633795, 0.0320638046, 0.0754270256, 0.0349350125, 0.0062273797, 0.0270087123, -0.0457555093, 0.0079824114, 0.018803509, 0.0355275311, -0.0569336526, 0.0187380593, 0.0004805591, -0.0241855253, -0.0013030338, 0.0075858496, -0.0361522995, -0.025739802, 0.0396187082, 0.0047810692, -0.0147167547, -0.0460348614, -0.025140414, 0.0430412963, -0.0360201672, 0.0035818084, 0.0192696825, -0.0173231568, -0.0044399854, -0.0343117006, 0.0231258739, 0.0383778438, 0.0598116033, 0.0048336484, 0.0366119593, -0.0202966072, 0.0095954156, 0.0167329591, 0.0208450649, -0.0728962272, 0.0420097709, 0.0116880136, -0.0088701164, -0.0052557793, -0.0025421532, -0.0522922277, 0.0221877135, -0.005945533, -0.0072285109, 0.040158961, -0.0148470402, 0.0979389176, 0.0181931946, -0.0282045119, -0.0057655177, 0.0081190588, -0.0353556313, -0.0015453079, 0.0182824545, 0.0243989415, 0.015687719, 0.0057427678, 0.068625778, -0.0079597263, 0.0265026446, -0.0288738925, 0.0032324058, -0.0162799116, 0.0254492424, 0.0762005001, -0.0076971781, 0.0065389145, 0.0000978829, -0.009065886, -0.0640525222, 0.0161181036, -0.0213864464, -0.0026350152, 0.0102027413, 0.0064820498, 0.0855716318, -0.027600104, 0.0286703352, -0.04642592, 0.0062992447, 0.1259070337, -0.0233756118, 0.0023028462, -6.48676721e-33, -0.0357142128, 0.0292771067, 0.0136376424, -0.0280663501, -0.042620495, -0.0130121969, -0.0258767698, -0.0057382039, -0.0303120315, -0.0127112502, 0.0081474697, 0.0026649637, 0.0302645247, 0.0070492211, 0.0349684358, 0.0019601467, 0.0487704687, 0.0049029011, -0.0118231252, 0.0330179371, 0.052942425, 0.0602494366, 0.0612024181, -0.033397045, 0.0431195907, 0.0287238359, 0.023004381, -0.0115620214, 0.0572175831, 0.0347042046, 0.0126370685, 0.0195905473, 0.018633673, -0.0410879366, -0.0166113153, -0.0038584077, -0.0896828324, -0.0377863869, 0.0346751474, 0.0297326259, 0.0104012331, -0.0646105111, 0.0220370479, -0.0412115641, 0.0520414934, -0.017717516, 0.005887134, -0.0553786382, -0.0439333282, 0.0129738282, -0.1202227697, 0.0248701926, -0.0032071364, 0.0013275647, 0.0604528561, 0.0705960914, -0.000644944, 0.0194923896, -0.0585222505, 0.0123286415, -0.0172124375, 0.0420241691, 0.0569430105, 0.0342511199, -0.0181469265, 0.0084312214, 0.0447294265, -0.0302287508, 0.0763316005, -0.0045032231, 0.0838211626, -0.0097929966, 0.0072218501, 0.0750584379, 0.0776613727, -0.0353538953, -0.0382929184, -0.0240509138, 0.0154658202, 0.0125135249, 0.0223802906, 0.0407592282, 0.0114421789, -0.0398460999, -0.0346321538, -0.0450272523, -0.0419091135, -0.0650960281, 0.0358764678, 0.017094655, -0.0318631381, 0.0117074857, 0.0726139098, -0.0098839235, -0.0156348404, 0.0220268834, 0.0108970096, 0.0446128584, 0.0070474348, 0.0385549739, -0.0893442929, -0.0547528788, 0.0259464644, 0.0050650244, 0.0338940062, 0.0063862349, 0.0682922453, 0.0279481597, -0.0477493852, -0.0132367248, -0.0193114541, -0.0083869062, -0.0113240825, 0.0469065122, -0.0008514452, 0.0285914671, -0.0142428586, 0.0188383721, 0.0354503468, -0.0537390783, -0.0120177651, -0.0574540831, -0.007338549, 0.045234073, -0.0202565789, -0.0072285794, -0.0029495216, 0.0416793376, 0.0265300032, -0.0639024749, -0.0118329264, 0.0387002341, 2.804e-7, 0.050658714, 0.0275358818, -0.0499277674, -0.0092673087, -0.0232764836, -0.0096337721, -0.0610310733, 0.0064670038, 0.0237532053, 0.0075444914, -0.0048358287, 0.0469015166, 0.0541307516, 0.062102098, -0.0424951352, -0.0411442928, 0.0340758264, 0.0221180245, -0.0197215397, -0.0070613297, 0.052267395, 0.0867440924, -0.0024560222, 0.0113581009, 0.0284195039, -0.0099440888, 0.0624353401, -0.0429094546, 0.0177500229, -0.0159578696, -0.0449199416, 0.0206243284, -0.023729356, 0.0254153293, -0.0440032743, 0.0080960961, 0.0415374823, 0.026518723, -0.0152465943, -0.03970116, 0.0164379794, 0.0094612399, -0.0379781649, -0.0398884937, 0.0881451368, -0.066806078, 0.0136491526, -0.0114786932, -0.0255604628, 0.0603325441, 0.0344606899, -0.0339215659, -0.0483520515, 0.0117223291, 0.0473313965, 0.0544738919, -0.0731773302, -0.0516356975, 0.0009733927, 0.0136578884, 0.0027852391, -0.0304536279, -0.0440252721, -0.034971647, 0.0099588158, -0.0318803862, 0.0342375189, 2.314084608e-34, 0.0206914768, -0.0126544889, 0.0262128878, 0.0003309973, 0.0033595464, -0.0192708485, 0.0035339263, 0.0303693172, -0.0228524897, -0.0416247733, -0.0110111097 ]
http://arxiv.org/abs/2406.13357v1
http://arxiv.org/pdf/2406.13357v1
Transferable speech-to-text large language model alignment module
2024-06-19T09:04:43
2024-06-19T09:04:43
Boyong Wu, Chao Yan, Haoran Pu
cs.CL
cs.CL, cs.SD, eess.AS
By leveraging the power of Large Language Models(LLMs) and speech foundation models, state of the art speech-text bimodal works can achieve challenging tasks like spoken translation(ST) and question answering(SQA) altogether with much simpler architectures. In this paper, we utilize the capability of Whisper encoder and pre-trained Yi-6B. Empirical results reveal that modal alignment can be achieved with one layer module and hundred hours of speech-text multitask corpus. We further swap the Yi-6B with human preferences aligned version of Yi-6B-Chat during inference, and discover that the alignment capability is applicable as well. In addition, the alignment subspace revealed by singular value decomposition(SVD) also implies linear alignment subspace is sparse, which leaves the possibility to concatenate other features like voice-print or video to expand modality.
[ -0.0118325939, 0.0831439719, 0.0064901249, 0.0567164347, -0.0325461701, -0.0187967923, 0.0376297235, -0.0333029404, -0.0211106502, -0.0278674271, -0.0792991146, -0.0287785158, -0.0063717361, 0.0349682383, 0.045011241, 0.0111895557, 0.0646325201, -0.0334706567, -0.0276548229, 0.0001559451, 0.0462526977, 0.0153327426, -0.0398234949, 0.016196901, -0.0112853562, -0.0381536074, -0.032024879, 0.0025318253, 0.0158900972, -0.0001313774, -0.0068343277, 0.0430359691, 0.0593702719, 0.0523271784, 0.0000017312, -0.0355147421, -0.0113999965, 0.017480446, -0.0315860137, -0.0058554239, 0.0416795164, 0.018587077, -0.0218518544, 0.0160749834, -0.009933617, 0.0109060239, 0.0444479883, 0.030951472, 0.07519418, 0.0793437585, -0.0222617593, -0.0164542664, 0.0498908274, -0.0083617484, -0.0199536365, -0.0672915727, -0.0022973279, -0.0125533799, -0.016485326, 0.0067966226, -0.0137670878, 0.0731462687, -0.0088735484, -0.0167787895, -0.017713936, -0.0152002145, -0.0057331938, -0.0439701006, -0.0134054478, 0.0878353417, 0.0077032032, -0.0114717754, 0.0015894832, 0.0459501073, 0.0037962922, 0.0023394709, -0.0463970676, 0.0071985526, 0.0238973685, 0.0033807065, 0.0050750785, -0.0180063285, 0.00963917, -0.0232298095, 0.0063523315, 0.0033102618, 0.0401172228, 0.0022018794, -0.0396351367, -0.0131878918, -0.0093138656, -0.0354079343, 0.0147006717, 0.0404088534, -0.063410297, -0.0005374225, -0.0742016137, -0.047866337, -0.0294758976, -0.0502890348, 0.024087023, 0.0494236201, -0.049017027, 0.0526231118, 0.0018016369, 0.040472988, -0.0397277437, 0.0269694421, -0.0665660203, -0.0539024994, 0.0221425034, -0.0038151206, -0.0218034089, -0.0104861222, -0.0499892309, -0.0470371544, -0.0359299481, 0.0280188955, -0.0030917604, 0.0248065908, -0.0033925187, 0.0272044614, -0.0370808393, -0.0307985954, 0.0051883138, 0.0651432127, 0.0006356391, 0.0574928299, -0.0057098186, -0.0114822071, -0.0172026232, 0.0562715456, 0.0229168665, -0.0068639396, -0.0166281089, 0.0663585216, -0.0611100644, 0.0096135903, -0.0140369432, 0.0077362377, -0.0186882112, -0.0691462457, 0.0133055737, -0.0378630571, 0.0735602155, -0.0008256726, -0.0227012839, -0.030215973, -0.0069173379, -0.0059690289, -0.0076049068, 0.0857357681, -0.0012864639, 0.0368339196, 0.034979213, -0.0207530577, 0.0050991466, 0.0481895022, 0.0406783074, 0.0103090703, 0.027711153, -0.0316178501, -0.0012131245, 0.0718384236, 0.0293123964, 0.019035425, -0.0260386821, 0.0364153609, 0.0245343111, 0.0229624901, 0.0323570296, 0.031092342, -0.0049653817, -0.0400973707, 0.0777619928, 0.0643544495, 0.0276767164, 0.0280772932, -0.0041068709, 0.0344770066, 0.0001258184, -0.022938244, -0.0505094156, 0.0479744077, -0.0726904869, -0.0009344775, 0.0578897335, 0.0611361749, -0.0421709344, 0.0034511066, 0.0083638523, -0.016425034, 0.0246035848, 0.0310770851, 0.0362347104, -0.0091096228, -0.0432949662, 0.055966869, 0.0197784491, -0.0403888337, -0.0025758266, -0.0194939133, 0.050785251, 0.0170484148, -0.0097031714, -0.0090264203, -0.030665949, -0.0084186904, 0.0023546594, 0.0486812443, -0.0071669086, -0.0096241189, 0.0235406682, -0.0563717671, -0.0020472894, 0.0219225176, -0.0127837546, -0.0193070341, 0.0224787258, 0.0088537922, -0.0101488521, -0.032472305, 0.0076485774, 0.0010505102, -0.0123419492, 0.0217383001, -0.0249132495, 0.0156286154, 0.052220989, 0.0029459354, -0.0238805022, -0.0089813974, 0.0148849357, -0.0291146412, 0.0002152809, 0.0414470546, -0.0409815833, -0.0467756838, 0.0466397852, 0.0061803306, -0.0037339504, 0.0546295717, -0.0190915614, -0.0578849167, 0.0151538607, -0.0486979, -0.0002648579, -0.0460479595, 0.0324338488, 0.0146372616, 0.018098304, -0.0183116589, 0.0094928537, 0.0374850854, -0.0261285249, -0.0080602411, 0.0228709057, 0.0138186039, -0.0157626551, -0.0410341807, 0.0163269788, -0.0202268437, 0.0422160625, -0.0029307404, -0.0341464095, -0.0126108229, -0.0451372042, -0.1163237318, 0.0307630468, -0.0052329809, 0.0345752835, 0.0374023952, 0.0182665847, -0.0038545493, -0.0044152229, -0.0782949328, 0.0297646206, 0.0345546566, -0.0185885858, 0.0286011845, -0.0283062216, -0.0114390329, -0.0528108515, 0.0167506598, 0.0101719676, 0.0188777428, -0.0120426118, 0.0225716233, -0.0577205457, 0.0182349086, -0.0078091999, 0.0437860787, -0.023350697, -0.0796189606, -0.0289673395, 0.0020533679, 0.0475146957, 0.0783991218, 0.0346400663, 0.023002265, -0.001033669, 0.0027649605, -0.045489382, 0.0178602468, -0.0015747489, -0.0083857421, -0.0571447872, 0.0125270765, -0.0203558039, 0.0611980408, -0.0013331289, 0.0234467052, -0.0231234133, -0.0113143399, 0.0320391692, -0.0120437667, 0.0269272458, 0.016951751, -0.0290414449, 0.0262729842, -0.0271062721, -0.0222783815, 0.0468474329, -0.059625458, -0.0493061952, -0.0315404572, -0.0509947091, -0.0345156938, 0.0252586845, -0.028069295, 0.021717513, -0.0162856113, -0.0351106562, -0.0617404841, -0.021382466, 0.0012869294, -0.0501482636, 0.0326760113, -0.0054672104, 0.0311671235, -0.0383748598, -0.0577395037, -0.030470537, -0.0400450118, -0.0389177054, -0.0097194947, -0.0024276611, -0.0413610749, -0.0755814686, 0.024323063, 0.0345991366, 0.0341530889, -0.0139505314, 0.0543655008, -0.0272212941, 0.0537783131, 0.0736130774, 0.0746626034, -0.0310023893, -0.0220511481, 0.0530593991, 0.0373199284, 0.0130619165, 0.0183158666, -0.0455301628, -0.0170224309, 0.050515946, 0.0197790209, 0.0009450716, -0.0128556229, 0.1073993593, -0.0201525353, 0.0100618871, 0.1078743786, -0.018860491, -0.0175493136, -0.0201102514, -0.0043758843, 0.0251736585, 0.0033074594, 0.0217754748, -0.078087084, -0.0611401945, 0.0128211593, 0.0050258012, 0.0474973805, 0.0236453749, -0.0025784303, -0.0956084058, 0.0282196663, 0.0185806155, -0.0547541343, -0.0389111973, 0.0030458679, 0.0217831433, -0.0313528478, 0.0419464558, 0.0121265873, -0.0020327265, -0.035115391, 0.0001904162, 0.0041165454, -0.0061802547, 0.0187987573, -0.0442685373, 0.0743400082, 0.0348836966, 0.0409357212, 0.0071057132, -0.0320923664, 0.018869983, 0.045166295, -0.0418723263, 0.0469667129, 0.0413668863, -0.0434001945, -0.0193490218, -0.0467808694, 0.076974757, -0.0081926771, -0.0014671941, -0.0036233773, 0.0619916022, 0.005093053, 0.0218479447, -0.0086402725, 0.045452185, -0.0151646156, 0.0832386017, -0.0209426042, -0.0617074743, -0.0087299841, 0.0055724038, -0.0189541057, -0.0120743858, -0.0447374247, 0.0090269949, -0.0282287672, 0.0094882175, -0.0585891008, -0.0010653542, 0.018535316, 0.0470129363, 0.0033174481, 0.0141090322, 0.0351678394, -0.0121828495, -0.0277892239, 0.0365360901, -0.0309305638, 0.0227608886, -0.0527877472, 0.0028827169, 0.0466640033, -0.0599088147, 0.0026992497, 0.0021668058, -0.1254453957, -0.0636015758, -0.0412041433, -0.0043661105, 0.0164429471, 0.082344085, -0.0407321192, -0.0112740789, 0.0328079946, -0.0102954311, -0.0814646333, 0.0117593333, 0.0233130455, 0.0137999412, -0.0104849059, 0.0385225266, -0.034496583, -0.0134730795, -0.0107516432, 0.0365988277, -0.0209218711, -0.0804281831, 0.0010357684, 0.0232086387, 0.0079574492, 0.0239087641, 0.0250310469, -0.0380978659, 0.0245187208, -0.0079839369, -0.014688245, -0.048550535, -0.0000936414, 0.0239835102, -0.0221147239, 0.0155829554, 0.0188983418, 0.0223939195, 0.0167277306, -0.025917314, 0.0320453607, 0.0131576695, 0.0061627966, 0.0104363598, 0.0158773307, -0.0148458136, 0.0338999592, 0.0161882788, 0.0563645735, -0.0190513376, 0.0607648045, 0.0169521123, -0.0197750162, -0.0013901163, 0.0277426504, -0.042000927, -0.0639698729, -0.0226603895, 0.0548526496, 0.0474893749, 0.0059771384, 0.0705805197, 0.0169632155, -0.011605816, -0.016103087, 0.0678222924, -0.0406784415, 0.0131827341, 0.0397853442, -0.0034952583, -0.02219663, 0.0254550148, 0.0164889041, 0.019152876, 0.0327863805, -0.0121616488, 0.0161160119, -0.0334969163, -0.0381082222, 0.0429356769, 0.0242705718, -0.0285953674, 0.0032265673, -0.0063484809, -0.0591620132, 0.012873278, -0.0078480961, -0.0420280099, -0.0293051694, 0.0104274238, 0.0543355793, -0.0312696658, -0.0166800134, -0.0100457082, -0.0237823185, 0.0105709741, -0.029989453, 0.0231433325, -6.421861555e-33, -0.0477123372, 0.0075027612, 0.0382975526, -0.0285827164, -0.0637102425, -0.0254322235, -0.029471254, 0.0012932833, -0.0472931303, 0.0023982211, -0.0029508229, -0.007180864, 0.0126128495, 0.0593063831, -0.0057144761, -0.0023355032, 0.0372990333, -0.0167726055, -0.0145919416, -0.0062276078, 0.0321298912, 0.0171468742, 0.0498109199, -0.0804828703, -0.0231543183, -0.0116891805, -0.012566057, 0.0210081637, 0.0087206131, 0.0406996608, -0.0262387898, 0.0119380271, -0.0087310011, -0.0084934421, -0.0057844897, 0.0475653037, -0.0829262137, 0.0461430065, 0.056248866, 0.0402709059, -0.026759373, -0.0127347643, 0.0089860167, -0.0217353888, -0.0012026313, -0.0259882417, 0.02857049, -0.0190345272, 0.0311528724, 0.006100894, -0.0754709542, 0.006766791, -0.0201350525, -0.0675622299, 0.0183913317, 0.0528655834, 0.0070138457, -0.0093824184, -0.0774581209, -0.0121303014, -0.0295987278, 0.0163912736, 0.0887763798, 0.0582801551, -0.0326924846, 0.0492013544, 0.033216618, -0.0639925823, -0.0108273746, -0.0062667956, 0.0109627163, 0.046338249, 0.0127874333, 0.0596365817, -0.0320348591, 0.0118045928, -0.0380601697, -0.0019425781, 0.0182055198, 0.0064101238, 0.0291582476, 0.0324280001, -0.0094577912, -0.0082645873, -0.0518104024, -0.0057163155, -0.032119073, -0.0168283042, 0.0355453007, 0.0036458347, 0.0089286296, 0.006925453, 0.0898992196, -0.0329128318, 0.0172122605, 0.005186901, 0.0014628485, 0.010540463, -0.0359925479, 0.0632649884, -0.0377807878, -0.012006294, 0.0512438267, 0.0023218845, -0.0033994778, 0.0306739975, -0.0038424321, -0.0017469689, -0.0465220883, 0.0055515855, -0.0212988872, -0.0388181917, -0.0233194083, 0.05373336, 0.0431377999, -0.0044904705, -0.0222064741, 0.0769946203, -0.0410881005, 0.0533338413, -0.0381393358, -0.056742534, -0.0113455588, 0.003850614, -0.0495180823, 0.0303279292, -0.0507881269, -0.0315313302, -0.0038960706, -0.0560547262, 0.01003851, 0.0149402823, 2.686e-7, 0.0113777341, 0.001551767, 0.0355696827, -0.0028886634, 0.0085306354, 0.063005127, -0.0156598929, 0.038625259, 0.0363245532, 0.0027448307, -0.0094389776, 0.0129505526, 0.0971163884, 0.0167279877, -0.0601113625, -0.0609411523, -0.0708995163, 0.0019739622, -0.0335547253, 0.0282387994, 0.044218529, 0.1310685277, 0.0120057091, -0.0096059078, 0.0014939398, -0.0424901359, 0.0435754247, -0.0106242187, -0.0494070947, 0.0315212198, -0.0223717224, -0.020805439, -0.0400701761, -0.0135057392, 0.0031572615, 0.0500888079, 0.0262953248, 0.0842675567, -0.0018335348, -0.0529570617, -0.0546260588, 0.0223695263, -0.0192137305, -0.0436753966, 0.0577403866, -0.0430478267, -0.0605307259, -0.0436020233, -0.0418200418, 0.0114887841, -0.0210207105, -0.0007751645, 0.0258198939, 0.0238810908, 0.0360007361, -0.0115285413, -0.0308201592, -0.0605192892, -0.0292772874, -0.004805644, -0.0669753104, -0.0407932326, -0.0114997532, -0.0299035795, 0.0486893617, -0.0671490654, 0.0068373508, 2.001243316e-34, 0.0022745626, -0.0069806334, 0.0224875994, 0.0514687821, 0.0311443508, -0.0251385178, -0.0017051087, 0.0099448757, 0.019091377, -0.0836124048, -0.0241959281 ]